diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000000000000000000000000000000000000..1959488569d930d482fdf2974f2b12ca2d9959ee --- /dev/null +++ b/.dockerignore @@ -0,0 +1,10 @@ +node_modules +dist +.git +.gitignore +.env +README.md +Dockerfile +.dockerignore +.lovable +supabase diff --git a/.env b/.env new file mode 100644 index 0000000000000000000000000000000000000000..3348c321921023fc36e4697395814eb8e9b2c2b2 --- /dev/null +++ b/.env @@ -0,0 +1,3 @@ +VITE_SUPABASE_PROJECT_ID="momxyrzmibxccqkmqbay" +VITE_SUPABASE_PUBLISHABLE_KEY="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Im1vbXh5cnptaWJ4Y2Nxa21xYmF5Iiwicm9sZSI6ImFub24iLCJpYXQiOjE3NzY2MTcwNjksImV4cCI6MjA5MjE5MzA2OX0.en2svoWyapwx4olnlOdlVGVy9_2zC4z_05hh-zL7elI" +VITE_SUPABASE_URL="https://momxyrzmibxccqkmqbay.supabase.co" diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..1a27f83b66f4a225cb1be20ca4df995937669688 Binary files /dev/null and b/.gitignore differ diff --git a/.lovable/plan.md b/.lovable/plan.md new file mode 100644 index 0000000000000000000000000000000000000000..d67e203e2f2a71ca89b03b270b1d5b8e4ed8a018 --- /dev/null +++ b/.lovable/plan.md @@ -0,0 +1,32 @@ + +# Revised Plan — Local Whisper Note + +## The constraint +You want `openai-whisper` (the local Python package) instead of the OpenAI Whisper API for audio/video transcription. + +## Why this can't run inside Lovable's stack +Lovable apps run as **React + Vite (browser)** + **Supabase Edge Functions (Deno runtime)**. There is no Python process, no GPU, and Edge Functions have a ~150s timeout and small memory limits — local Whisper (PyTorch model, multi-GB, CPU/GPU heavy) cannot run there. + +## Two viable paths + +**Option A — Self-hosted Whisper microservice (true local Whisper)** +- You run a tiny FastAPI service somewhere you control (your laptop, a VPS, RunPod, Modal, Fly.io GPU, etc.) that exposes `POST /transcribe`. +- That service does `pip install -U openai-whisper` + `whisper.load_model("base"|"small"|"medium")` and returns `{ text }`. +- Our Supabase Edge Function `ingest` uploads the audio file to that endpoint via its public URL + a shared secret, then stores `raw_text`. +- You give us: `WHISPER_ENDPOINT_URL` + `WHISPER_AUTH_TOKEN` (stored as Lovable Cloud secrets). +- Pros: real local Whisper, zero per-minute cost. Cons: you maintain the box. + +**Option B — Hosted Whisper-compatible API (no API-key vendor lock)** +- Use a provider that runs the same `openai-whisper` model server-side (Replicate, Groq Whisper-large-v3, Deepgram Nova, Fal.ai). One key, no infra. +- Same code path as A, just a different URL. + +## Recommended +Go with **Option A**. I'll wire the Edge Function to call a configurable `WHISPER_ENDPOINT_URL`, and provide you a ready-to-run `whisper_server.py` (FastAPI + openai-whisper) plus a `requirements.txt` and run instructions, so you can `pip install -U openai-whisper && python whisper_server.py` on any machine and it just works. If you'd rather start with a hosted provider for now, swap the URL later — no code change. + +## Plan changes vs. previous +- Remove "OpenAI Whisper API key" from required secrets. +- Add `WHISPER_ENDPOINT_URL` + `WHISPER_AUTH_TOKEN` secrets. +- Slice 5 (Audio sources) deliverables now include: the standalone `whisper_server.py` script + README, plus the Edge Function client that POSTs the audio bytes and handles long-running transcription via the existing `jobs` table + Realtime progress. +- YouTube path unchanged (still needs a transcript API since `yt-dlp` also can't run in Edge Functions). If you'd prefer, the same self-hosted box can run `yt-dlp` + Whisper and we route YouTube through it too — tell me and I'll fold that in. + +Everything else in the previously approved plan (dark UI, Notes/Flashcards/Quiz/Podcast/Chat tabs, pgvector RAG, jobs + Realtime, hash de-dup, Lovable AI Gateway for Gemini) stays the same. diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..c185a9bbab733093073171dc55ae7db6cac32ee9 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,23 @@ +# Build stage +FROM node:20-alpine AS build +WORKDIR /app +COPY package*.json ./ +RUN npm install +COPY . . +# These will be provided by Hugging Face Secrets during build +# Vite automatically picks up VITE_ prefixed variables from the environment +RUN npm run build + +# Production stage +FROM nginx:stable-alpine +COPY --from=build /app/dist /usr/share/nginx/html +RUN echo 'server { \ + listen 7860; \ + location / { \ + root /usr/share/nginx/html; \ + index index.html; \ + try_files $uri $uri/ /index.html; \ + } \ +}' > /etc/nginx/conf.d/default.conf +EXPOSE 7860 +CMD ["nginx", "-g", "daemon off;"] diff --git a/README.md b/README.md new file mode 100644 index 0000000000000000000000000000000000000000..132dcf9ef79193644e1e1dd1515ea1db6655ebc8 --- /dev/null +++ b/README.md @@ -0,0 +1,14 @@ +--- +title: SOURCE.IO +emoji: 🚀 +colorFrom: indigo +colorTo: blue +sdk: docker +app_port: 7860 +--- + +# SOURCE.AI + +SOURCE TO YOUR STUDIES + +This project is a React/Vite application deployed on Hugging Face Spaces. diff --git a/bun.lock b/bun.lock new file mode 100644 index 0000000000000000000000000000000000000000..40757d90b4098a1cad1bd56af3630800e099358c --- /dev/null +++ b/bun.lock @@ -0,0 +1,1555 @@ +{ + "lockfileVersion": 1, + "configVersion": 1, + "workspaces": { + "": { + "name": "vite_react_shadcn_ts", + "dependencies": { + "@hookform/resolvers": "^3.10.0", + "@radix-ui/react-accordion": "^1.2.11", + "@radix-ui/react-alert-dialog": "^1.1.14", + "@radix-ui/react-aspect-ratio": "^1.1.7", + "@radix-ui/react-avatar": "^1.1.10", + "@radix-ui/react-checkbox": "^1.3.2", + "@radix-ui/react-collapsible": "^1.1.11", + "@radix-ui/react-context-menu": "^2.2.15", + "@radix-ui/react-dialog": "^1.1.14", + "@radix-ui/react-dropdown-menu": "^2.1.15", + "@radix-ui/react-hover-card": "^1.1.14", + "@radix-ui/react-label": "^2.1.7", + "@radix-ui/react-menubar": "^1.1.15", + "@radix-ui/react-navigation-menu": "^1.2.13", + "@radix-ui/react-popover": "^1.1.14", + "@radix-ui/react-progress": "^1.1.7", + "@radix-ui/react-radio-group": "^1.3.7", + "@radix-ui/react-scroll-area": "^1.2.9", + "@radix-ui/react-select": "^2.2.5", + "@radix-ui/react-separator": "^1.1.7", + "@radix-ui/react-slider": "^1.3.5", + "@radix-ui/react-slot": "^1.2.3", + "@radix-ui/react-switch": "^1.2.5", + "@radix-ui/react-tabs": "^1.1.12", + "@radix-ui/react-toast": "^1.2.14", + "@radix-ui/react-toggle": "^1.1.9", + "@radix-ui/react-toggle-group": "^1.1.10", + "@radix-ui/react-tooltip": "^1.2.7", + "@supabase/supabase-js": "^2.103.3", + "@tanstack/query-core": "^5.99.2", + "@tanstack/react-query": "^5.83.0", + "class-variance-authority": "^0.7.1", + "clsx": "^2.1.1", + "cmdk": "^1.1.1", + "date-fns": "^3.6.0", + "embla-carousel-react": "^8.6.0", + "input-otp": "^1.4.2", + "katex": "^0.16.45", + "lucide-react": "^0.462.0", + "mammoth": "^1.12.0", + "next-themes": "^0.3.0", + "react": "^18.3.1", + "react-day-picker": "^8.10.1", + "react-dom": "^18.3.1", + "react-dropzone": "^15.0.0", + "react-hook-form": "^7.61.1", + "react-markdown": "^10.1.0", + "react-resizable-panels": "^2.1.9", + "react-router-dom": "^6.30.1", + "recharts": "^2.15.4", + "rehype-katex": "^7.0.1", + "remark-gfm": "^4.0.1", + "remark-math": "^6.0.0", + "sonner": "^1.7.4", + "tailwind-merge": "^2.6.0", + "tailwindcss-animate": "^1.0.7", + "unpdf": "^1.6.0", + "vaul": "^0.9.9", + "zod": "^3.25.76", + "zustand": "^5.0.12", + }, + "devDependencies": { + "@eslint/js": "^9.32.0", + "@tailwindcss/typography": "^0.5.16", + "@testing-library/jest-dom": "^6.6.0", + "@testing-library/react": "^16.0.0", + "@types/node": "^22.16.5", + "@types/react": "^18.3.23", + "@types/react-dom": "^18.3.7", + "@vitejs/plugin-react-swc": "^3.11.0", + "autoprefixer": "^10.4.21", + "eslint": "^9.32.0", + "eslint-plugin-react-hooks": "^5.2.0", + "eslint-plugin-react-refresh": "^0.4.20", + "globals": "^15.15.0", + "jsdom": "^20.0.3", + "lovable-tagger": "^1.1.13", + "postcss": "^8.5.6", + "tailwindcss": "^3.4.17", + "typescript": "^5.8.3", + "typescript-eslint": "^8.38.0", + "vite": "^5.4.19", + "vitest": "^3.2.4", + }, + }, + }, + "packages": { + "@adobe/css-tools": ["@adobe/css-tools@4.4.4", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/@adobe/css-tools/-/css-tools-4.4.4.tgz", {}, "sha512-Elp+iwUx5rN5+Y8xLt5/GRoG20WGoDCQ/1Fb+1LiGtvwbDavuSk0jhD/eZdckHAuzcDzccnkv+rEjyWfRx18gg=="], + + "@alloc/quick-lru": ["@alloc/quick-lru@5.2.0", "", {}, "sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw=="], + + "@babel/code-frame": ["@babel/code-frame@7.29.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/@babel/code-frame/-/code-frame-7.29.0.tgz", { "dependencies": { "@babel/helper-validator-identifier": "^7.28.5", "js-tokens": "^4.0.0", "picocolors": "^1.1.1" } }, "sha512-9NhCeYjq9+3uxgdtp20LSiJXJvN0FeCtNGpJxuMFZ1Kv3cWUNb6DOhJwUvcVCzKGR66cw4njwM6hrJLqgOwbcw=="], + + "@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/@babel/helper-validator-identifier/-/helper-validator-identifier-7.28.5.tgz", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="], + + "@babel/runtime": ["@babel/runtime@7.28.2", "", {}, "sha512-KHp2IflsnGywDjBWDkR9iEqiWSpc8GIi0lgTT3mOElT0PP1tG26P4tmFI2YvAdzgq9RGyoHZQEIEdZy6Ec5xCA=="], + + "@esbuild/aix-ppc64": ["@esbuild/aix-ppc64@0.25.0", "", { "os": "aix", "cpu": "ppc64" }, "sha512-O7vun9Sf8DFjH2UtqK8Ku3LkquL9SZL8OLY1T5NZkA34+wG3OQF7cl4Ql8vdNzM6fzBbYfLaiRLIOZ+2FOCgBQ=="], + + "@esbuild/android-arm": ["@esbuild/android-arm@0.25.0", "", { "os": "android", "cpu": "arm" }, "sha512-PTyWCYYiU0+1eJKmw21lWtC+d08JDZPQ5g+kFyxP0V+es6VPPSUhM6zk8iImp2jbV6GwjX4pap0JFbUQN65X1g=="], + + "@esbuild/android-arm64": ["@esbuild/android-arm64@0.25.0", "", { "os": "android", "cpu": "arm64" }, "sha512-grvv8WncGjDSyUBjN9yHXNt+cq0snxXbDxy5pJtzMKGmmpPxeAmAhWxXI+01lU5rwZomDgD3kJwulEnhTRUd6g=="], + + "@esbuild/android-x64": ["@esbuild/android-x64@0.25.0", "", { "os": "android", "cpu": "x64" }, "sha512-m/ix7SfKG5buCnxasr52+LI78SQ+wgdENi9CqyCXwjVR2X4Jkz+BpC3le3AoBPYTC9NHklwngVXvbJ9/Akhrfg=="], + + "@esbuild/darwin-arm64": ["@esbuild/darwin-arm64@0.25.0", "", { "os": "darwin", "cpu": "arm64" }, "sha512-mVwdUb5SRkPayVadIOI78K7aAnPamoeFR2bT5nszFUZ9P8UpK4ratOdYbZZXYSqPKMHfS1wdHCJk1P1EZpRdvw=="], + + "@esbuild/darwin-x64": ["@esbuild/darwin-x64@0.25.0", "", { "os": "darwin", "cpu": "x64" }, "sha512-DgDaYsPWFTS4S3nWpFcMn/33ZZwAAeAFKNHNa1QN0rI4pUjgqf0f7ONmXf6d22tqTY+H9FNdgeaAa+YIFUn2Rg=="], + + "@esbuild/freebsd-arm64": ["@esbuild/freebsd-arm64@0.25.0", "", { "os": "freebsd", "cpu": "arm64" }, "sha512-VN4ocxy6dxefN1MepBx/iD1dH5K8qNtNe227I0mnTRjry8tj5MRk4zprLEdG8WPyAPb93/e4pSgi1SoHdgOa4w=="], + + "@esbuild/freebsd-x64": ["@esbuild/freebsd-x64@0.25.0", "", { "os": "freebsd", "cpu": "x64" }, "sha512-mrSgt7lCh07FY+hDD1TxiTyIHyttn6vnjesnPoVDNmDfOmggTLXRv8Id5fNZey1gl/V2dyVK1VXXqVsQIiAk+A=="], + + "@esbuild/linux-arm": ["@esbuild/linux-arm@0.25.0", "", { "os": "linux", "cpu": "arm" }, "sha512-vkB3IYj2IDo3g9xX7HqhPYxVkNQe8qTK55fraQyTzTX/fxaDtXiEnavv9geOsonh2Fd2RMB+i5cbhu2zMNWJwg=="], + + "@esbuild/linux-arm64": ["@esbuild/linux-arm64@0.25.0", "", { "os": "linux", "cpu": "arm64" }, "sha512-9QAQjTWNDM/Vk2bgBl17yWuZxZNQIF0OUUuPZRKoDtqF2k4EtYbpyiG5/Dk7nqeK6kIJWPYldkOcBqjXjrUlmg=="], + + "@esbuild/linux-ia32": ["@esbuild/linux-ia32@0.25.0", "", { "os": "linux", "cpu": "ia32" }, "sha512-43ET5bHbphBegyeqLb7I1eYn2P/JYGNmzzdidq/w0T8E2SsYL1U6un2NFROFRg1JZLTzdCoRomg8Rvf9M6W6Gg=="], + + "@esbuild/linux-loong64": ["@esbuild/linux-loong64@0.25.0", "", { "os": "linux", "cpu": "none" }, "sha512-fC95c/xyNFueMhClxJmeRIj2yrSMdDfmqJnyOY4ZqsALkDrrKJfIg5NTMSzVBr5YW1jf+l7/cndBfP3MSDpoHw=="], + + "@esbuild/linux-mips64el": ["@esbuild/linux-mips64el@0.25.0", "", { "os": "linux", "cpu": "none" }, "sha512-nkAMFju7KDW73T1DdH7glcyIptm95a7Le8irTQNO/qtkoyypZAnjchQgooFUDQhNAy4iu08N79W4T4pMBwhPwQ=="], + + "@esbuild/linux-ppc64": ["@esbuild/linux-ppc64@0.25.0", "", { "os": "linux", "cpu": "ppc64" }, "sha512-NhyOejdhRGS8Iwv+KKR2zTq2PpysF9XqY+Zk77vQHqNbo/PwZCzB5/h7VGuREZm1fixhs4Q/qWRSi5zmAiO4Fw=="], + + "@esbuild/linux-riscv64": ["@esbuild/linux-riscv64@0.25.0", "", { "os": "linux", "cpu": "none" }, "sha512-5S/rbP5OY+GHLC5qXp1y/Mx//e92L1YDqkiBbO9TQOvuFXM+iDqUNG5XopAnXoRH3FjIUDkeGcY1cgNvnXp/kA=="], + + "@esbuild/linux-s390x": ["@esbuild/linux-s390x@0.25.0", "", { "os": "linux", "cpu": "s390x" }, "sha512-XM2BFsEBz0Fw37V0zU4CXfcfuACMrppsMFKdYY2WuTS3yi8O1nFOhil/xhKTmE1nPmVyvQJjJivgDT+xh8pXJA=="], + + "@esbuild/linux-x64": ["@esbuild/linux-x64@0.25.0", "", { "os": "linux", "cpu": "x64" }, "sha512-9yl91rHw/cpwMCNytUDxwj2XjFpxML0y9HAOH9pNVQDpQrBxHy01Dx+vaMu0N1CKa/RzBD2hB4u//nfc+Sd3Cw=="], + + "@esbuild/netbsd-arm64": ["@esbuild/netbsd-arm64@0.25.0", "", { "os": "none", "cpu": "arm64" }, "sha512-RuG4PSMPFfrkH6UwCAqBzauBWTygTvb1nxWasEJooGSJ/NwRw7b2HOwyRTQIU97Hq37l3npXoZGYMy3b3xYvPw=="], + + "@esbuild/netbsd-x64": ["@esbuild/netbsd-x64@0.25.0", "", { "os": "none", "cpu": "x64" }, "sha512-jl+qisSB5jk01N5f7sPCsBENCOlPiS/xptD5yxOx2oqQfyourJwIKLRA2yqWdifj3owQZCL2sn6o08dBzZGQzA=="], + + "@esbuild/openbsd-arm64": ["@esbuild/openbsd-arm64@0.25.0", "", { "os": "openbsd", "cpu": "arm64" }, "sha512-21sUNbq2r84YE+SJDfaQRvdgznTD8Xc0oc3p3iW/a1EVWeNj/SdUCbm5U0itZPQYRuRTW20fPMWMpcrciH2EJw=="], + + "@esbuild/openbsd-x64": ["@esbuild/openbsd-x64@0.25.0", "", { "os": "openbsd", "cpu": "x64" }, "sha512-2gwwriSMPcCFRlPlKx3zLQhfN/2WjJ2NSlg5TKLQOJdV0mSxIcYNTMhk3H3ulL/cak+Xj0lY1Ym9ysDV1igceg=="], + + "@esbuild/sunos-x64": ["@esbuild/sunos-x64@0.25.0", "", { "os": "sunos", "cpu": "x64" }, "sha512-bxI7ThgLzPrPz484/S9jLlvUAHYMzy6I0XiU1ZMeAEOBcS0VePBFxh1JjTQt3Xiat5b6Oh4x7UC7IwKQKIJRIg=="], + + "@esbuild/win32-arm64": ["@esbuild/win32-arm64@0.25.0", "", { "os": "win32", "cpu": "arm64" }, "sha512-ZUAc2YK6JW89xTbXvftxdnYy3m4iHIkDtK3CLce8wg8M2L+YZhIvO1DKpxrd0Yr59AeNNkTiic9YLf6FTtXWMw=="], + + "@esbuild/win32-ia32": ["@esbuild/win32-ia32@0.25.0", "", { "os": "win32", "cpu": "ia32" }, "sha512-eSNxISBu8XweVEWG31/JzjkIGbGIJN/TrRoiSVZwZ6pkC6VX4Im/WV2cz559/TXLcYbcrDN8JtKgd9DJVIo8GA=="], + + "@esbuild/win32-x64": ["@esbuild/win32-x64@0.25.0", "", { "os": "win32", "cpu": "x64" }, "sha512-ZENoHJBxA20C2zFzh6AI4fT6RraMzjYw4xKWemRTRmRVtN9c5DcH9r/f2ihEkMjOW5eGgrwCslG/+Y/3bL+DHQ=="], + + "@eslint-community/eslint-utils": ["@eslint-community/eslint-utils@4.7.0", "", { "dependencies": { "eslint-visitor-keys": "^3.4.3" }, "peerDependencies": { "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" } }, "sha512-dyybb3AcajC7uha6CvhdVRJqaKyn7w2YKqKyAN37NKYgZT36w+iRb0Dymmc5qEJ549c/S31cMMSFd75bteCpCw=="], + + "@eslint-community/regexpp": ["@eslint-community/regexpp@4.12.1", "", {}, "sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ=="], + + "@eslint/config-array": ["@eslint/config-array@0.21.0", "", { "dependencies": { "@eslint/object-schema": "^2.1.6", "debug": "^4.3.1", "minimatch": "^3.1.2" } }, "sha512-ENIdc4iLu0d93HeYirvKmrzshzofPw6VkZRKQGe9Nv46ZnWUzcF1xV01dcvEg/1wXUR61OmmlSfyeyO7EvjLxQ=="], + + "@eslint/config-helpers": ["@eslint/config-helpers@0.3.0", "", {}, "sha512-ViuymvFmcJi04qdZeDc2whTHryouGcDlaxPqarTD0ZE10ISpxGUVZGZDx4w01upyIynL3iu6IXH2bS1NhclQMw=="], + + "@eslint/core": ["@eslint/core@0.15.1", "", { "dependencies": { "@types/json-schema": "^7.0.15" } }, "sha512-bkOp+iumZCCbt1K1CmWf0R9pM5yKpDv+ZXtvSyQpudrI9kuFLp+bM2WOPXImuD/ceQuaa8f5pj93Y7zyECIGNA=="], + + "@eslint/eslintrc": ["@eslint/eslintrc@3.3.1", "", { "dependencies": { "ajv": "^6.12.4", "debug": "^4.3.2", "espree": "^10.0.1", "globals": "^14.0.0", "ignore": "^5.2.0", "import-fresh": "^3.2.1", "js-yaml": "^4.1.0", "minimatch": "^3.1.2", "strip-json-comments": "^3.1.1" } }, "sha512-gtF186CXhIl1p4pJNGZw8Yc6RlshoePRvE0X91oPGb3vZ8pM3qOS9W9NGPat9LziaBV7XrJWGylNQXkGcnM3IQ=="], + + "@eslint/js": ["@eslint/js@9.32.0", "", {}, "sha512-BBpRFZK3eX6uMLKz8WxFOBIFFcGFJ/g8XuwjTHCqHROSIsopI+ddn/d5Cfh36+7+e5edVS8dbSHnBNhrLEX0zg=="], + + "@eslint/object-schema": ["@eslint/object-schema@2.1.6", "", {}, "sha512-RBMg5FRL0I0gs51M/guSAj5/e14VQ4tpZnQNWwuDT66P14I43ItmPfIZRhO9fUVIPOAQXU47atlywZ/czoqFPA=="], + + "@eslint/plugin-kit": ["@eslint/plugin-kit@0.3.4", "", { "dependencies": { "@eslint/core": "^0.15.1", "levn": "^0.4.1" } }, "sha512-Ul5l+lHEcw3L5+k8POx6r74mxEYKG5kOb6Xpy2gCRW6zweT6TEhAf8vhxGgjhqrd/VO/Dirhsb+1hNpD1ue9hw=="], + + "@floating-ui/core": ["@floating-ui/core@1.7.2", "", { "dependencies": { "@floating-ui/utils": "^0.2.10" } }, "sha512-wNB5ooIKHQc+Kui96jE/n69rHFWAVoxn5CAzL1Xdd8FG03cgY3MLO+GF9U3W737fYDSgPWA6MReKhBQBop6Pcw=="], + + "@floating-ui/dom": ["@floating-ui/dom@1.7.2", "", { "dependencies": { "@floating-ui/core": "^1.7.2", "@floating-ui/utils": "^0.2.10" } }, "sha512-7cfaOQuCS27HD7DX+6ib2OrnW+b4ZBwDNnCcT0uTyidcmyWb03FnQqJybDBoCnpdxwBSfA94UAYlRCt7mV+TbA=="], + + "@floating-ui/react-dom": ["@floating-ui/react-dom@2.1.4", "", { "dependencies": { "@floating-ui/dom": "^1.7.2" }, "peerDependencies": { "react": ">=16.8.0", "react-dom": ">=16.8.0" } }, "sha512-JbbpPhp38UmXDDAu60RJmbeme37Jbgsm7NrHGgzYYFKmblzRUh6Pa641dII6LsjwF4XlScDrde2UAzDo/b9KPw=="], + + "@floating-ui/utils": ["@floating-ui/utils@0.2.10", "", {}, "sha512-aGTxbpbg8/b5JfU1HXSrbH3wXZuLPJcNEcZQFMxLs3oSzgtVu6nFPkbbGGUvBcUjKV2YyB9Wxxabo+HEH9tcRQ=="], + + "@hookform/resolvers": ["@hookform/resolvers@3.10.0", "", { "peerDependencies": { "react-hook-form": "^7.0.0" } }, "sha512-79Dv+3mDF7i+2ajj7SkypSKHhl1cbln1OGavqrsF7p6mbUv11xpqpacPsGDCTRvCSjEEIez2ef1NveSVL3b0Ag=="], + + "@humanfs/core": ["@humanfs/core@0.19.1", "", {}, "sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA=="], + + "@humanfs/node": ["@humanfs/node@0.16.6", "", { "dependencies": { "@humanfs/core": "^0.19.1", "@humanwhocodes/retry": "^0.3.0" } }, "sha512-YuI2ZHQL78Q5HbhDiBA1X4LmYdXCKCMQIfw0pw7piHJwyREFebJUvrQN4cMssyES6x+vfUbx1CIpaQUKYdQZOw=="], + + "@humanwhocodes/module-importer": ["@humanwhocodes/module-importer@1.0.1", "", {}, "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA=="], + + "@humanwhocodes/retry": ["@humanwhocodes/retry@0.4.3", "", {}, "sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ=="], + + "@isaacs/cliui": ["@isaacs/cliui@8.0.2", "", { "dependencies": { "string-width": "^5.1.2", "string-width-cjs": "npm:string-width@^4.2.0", "strip-ansi": "^7.0.1", "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", "wrap-ansi": "^8.1.0", "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" } }, "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA=="], + + "@jridgewell/gen-mapping": ["@jridgewell/gen-mapping@0.3.5", "", { "dependencies": { "@jridgewell/set-array": "^1.2.1", "@jridgewell/sourcemap-codec": "^1.4.10", "@jridgewell/trace-mapping": "^0.3.24" } }, "sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg=="], + + "@jridgewell/resolve-uri": ["@jridgewell/resolve-uri@3.1.2", "", {}, "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw=="], + + "@jridgewell/set-array": ["@jridgewell/set-array@1.2.1", "", {}, "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A=="], + + "@jridgewell/sourcemap-codec": ["@jridgewell/sourcemap-codec@1.5.5", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz", {}, "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og=="], + + "@jridgewell/trace-mapping": ["@jridgewell/trace-mapping@0.3.25", "", { "dependencies": { "@jridgewell/resolve-uri": "^3.1.0", "@jridgewell/sourcemap-codec": "^1.4.14" } }, "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ=="], + + "@nodelib/fs.scandir": ["@nodelib/fs.scandir@2.1.5", "", { "dependencies": { "@nodelib/fs.stat": "2.0.5", "run-parallel": "^1.1.9" } }, "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g=="], + + "@nodelib/fs.stat": ["@nodelib/fs.stat@2.0.5", "", {}, "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A=="], + + "@nodelib/fs.walk": ["@nodelib/fs.walk@1.2.8", "", { "dependencies": { "@nodelib/fs.scandir": "2.1.5", "fastq": "^1.6.0" } }, "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg=="], + + "@pkgjs/parseargs": ["@pkgjs/parseargs@0.11.0", "", {}, "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg=="], + + "@radix-ui/number": ["@radix-ui/number@1.1.1", "", {}, "sha512-MkKCwxlXTgz6CFoJx3pCwn07GKp36+aZyu/u2Ln2VrA5DcdyCZkASEDBTd8x5whTQQL5CiYf4prXKLcgQdv29g=="], + + "@radix-ui/primitive": ["@radix-ui/primitive@1.1.2", "", {}, "sha512-XnbHrrprsNqZKQhStrSwgRUQzoCI1glLzdw79xiZPoofhGICeZRSQ3dIxAKH1gb3OHfNf4d6f+vAv3kil2eggA=="], + + "@radix-ui/react-accordion": ["@radix-ui/react-accordion@1.2.11", "", { "dependencies": { "@radix-ui/primitive": "1.1.2", "@radix-ui/react-collapsible": "1.1.11", "@radix-ui/react-collection": "1.1.7", "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-context": "1.1.2", "@radix-ui/react-direction": "1.1.1", "@radix-ui/react-id": "1.1.1", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-use-controllable-state": "1.2.2" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-l3W5D54emV2ues7jjeG1xcyN7S3jnK3zE2zHqgn0CmMsy9lNJwmgcrmaxS+7ipw15FAivzKNzH3d5EcGoFKw0A=="], + + "@radix-ui/react-alert-dialog": ["@radix-ui/react-alert-dialog@1.1.14", "", { "dependencies": { "@radix-ui/primitive": "1.1.2", "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-context": "1.1.2", "@radix-ui/react-dialog": "1.1.14", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-slot": "1.2.3" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-IOZfZ3nPvN6lXpJTBCunFQPRSvK8MDgSc1FB85xnIpUKOw9en0dJj8JmCAxV7BiZdtYlUpmrQjoTFkVYtdoWzQ=="], + + "@radix-ui/react-arrow": ["@radix-ui/react-arrow@1.1.7", "", { "dependencies": { "@radix-ui/react-primitive": "2.1.3" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-F+M1tLhO+mlQaOWspE8Wstg+z6PwxwRd8oQ8IXceWz92kfAmalTRf0EjrouQeo7QssEPfCn05B4Ihs1K9WQ/7w=="], + + "@radix-ui/react-aspect-ratio": ["@radix-ui/react-aspect-ratio@1.1.7", "", { "dependencies": { "@radix-ui/react-primitive": "2.1.3" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-Yq6lvO9HQyPwev1onK1daHCHqXVLzPhSVjmsNjCa2Zcxy2f7uJD2itDtxknv6FzAKCwD1qQkeVDmX/cev13n/g=="], + + "@radix-ui/react-avatar": ["@radix-ui/react-avatar@1.1.10", "", { "dependencies": { "@radix-ui/react-context": "1.1.2", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-use-callback-ref": "1.1.1", "@radix-ui/react-use-is-hydrated": "0.1.0", "@radix-ui/react-use-layout-effect": "1.1.1" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-V8piFfWapM5OmNCXTzVQY+E1rDa53zY+MQ4Y7356v4fFz6vqCyUtIz2rUD44ZEdwg78/jKmMJHj07+C/Z/rcog=="], + + "@radix-ui/react-checkbox": ["@radix-ui/react-checkbox@1.3.2", "", { "dependencies": { "@radix-ui/primitive": "1.1.2", "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-context": "1.1.2", "@radix-ui/react-presence": "1.1.4", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-use-controllable-state": "1.2.2", "@radix-ui/react-use-previous": "1.1.1", "@radix-ui/react-use-size": "1.1.1" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-yd+dI56KZqawxKZrJ31eENUwqc1QSqg4OZ15rybGjF2ZNwMO+wCyHzAVLRp9qoYJf7kYy0YpZ2b0JCzJ42HZpA=="], + + "@radix-ui/react-collapsible": ["@radix-ui/react-collapsible@1.1.11", "", { "dependencies": { "@radix-ui/primitive": "1.1.2", "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-context": "1.1.2", "@radix-ui/react-id": "1.1.1", "@radix-ui/react-presence": "1.1.4", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-use-controllable-state": "1.2.2", "@radix-ui/react-use-layout-effect": "1.1.1" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-2qrRsVGSCYasSz1RFOorXwl0H7g7J1frQtgpQgYrt+MOidtPAINHn9CPovQXb83r8ahapdx3Tu0fa/pdFFSdPg=="], + + "@radix-ui/react-collection": ["@radix-ui/react-collection@1.1.7", "", { "dependencies": { "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-context": "1.1.2", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-slot": "1.2.3" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-Fh9rGN0MoI4ZFUNyfFVNU4y9LUz93u9/0K+yLgA2bwRojxM8JU1DyvvMBabnZPBgMWREAJvU2jjVzq+LrFUglw=="], + + "@radix-ui/react-compose-refs": ["@radix-ui/react-compose-refs@1.1.2", "", { "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-z4eqJvfiNnFMHIIvXP3CY57y2WJs5g2v3X0zm9mEJkrkNv4rDxu+sg9Jh8EkXyeqBkB7SOcboo9dMVqhyrACIg=="], + + "@radix-ui/react-context": ["@radix-ui/react-context@1.1.2", "", { "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-jCi/QKUM2r1Ju5a3J64TH2A5SpKAgh0LpknyqdQ4m6DCV0xJ2HG1xARRwNGPQfi1SLdLWZ1OJz6F4OMBBNiGJA=="], + + "@radix-ui/react-context-menu": ["@radix-ui/react-context-menu@2.2.15", "", { "dependencies": { "@radix-ui/primitive": "1.1.2", "@radix-ui/react-context": "1.1.2", "@radix-ui/react-menu": "2.1.15", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-use-callback-ref": "1.1.1", "@radix-ui/react-use-controllable-state": "1.2.2" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-UsQUMjcYTsBjTSXw0P3GO0werEQvUY2plgRQuKoCTtkNr45q1DiL51j4m7gxhABzZ0BadoXNsIbg7F3KwiUBbw=="], + + "@radix-ui/react-dialog": ["@radix-ui/react-dialog@1.1.14", "", { "dependencies": { "@radix-ui/primitive": "1.1.2", "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-context": "1.1.2", "@radix-ui/react-dismissable-layer": "1.1.10", "@radix-ui/react-focus-guards": "1.1.2", "@radix-ui/react-focus-scope": "1.1.7", "@radix-ui/react-id": "1.1.1", "@radix-ui/react-portal": "1.1.9", "@radix-ui/react-presence": "1.1.4", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-slot": "1.2.3", "@radix-ui/react-use-controllable-state": "1.2.2", "aria-hidden": "^1.2.4", "react-remove-scroll": "^2.6.3" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-+CpweKjqpzTmwRwcYECQcNYbI8V9VSQt0SNFKeEBLgfucbsLssU6Ppq7wUdNXEGb573bMjFhVjKVll8rmV6zMw=="], + + "@radix-ui/react-direction": ["@radix-ui/react-direction@1.1.1", "", { "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-1UEWRX6jnOA2y4H5WczZ44gOOjTEmlqv1uNW4GAJEO5+bauCBhv8snY65Iw5/VOS/ghKN9gr2KjnLKxrsvoMVw=="], + + "@radix-ui/react-dismissable-layer": ["@radix-ui/react-dismissable-layer@1.1.10", "", { "dependencies": { "@radix-ui/primitive": "1.1.2", "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-use-callback-ref": "1.1.1", "@radix-ui/react-use-escape-keydown": "1.1.1" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-IM1zzRV4W3HtVgftdQiiOmA0AdJlCtMLe00FXaHwgt3rAnNsIyDqshvkIW3hj/iu5hu8ERP7KIYki6NkqDxAwQ=="], + + "@radix-ui/react-dropdown-menu": ["@radix-ui/react-dropdown-menu@2.1.15", "", { "dependencies": { "@radix-ui/primitive": "1.1.2", "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-context": "1.1.2", "@radix-ui/react-id": "1.1.1", "@radix-ui/react-menu": "2.1.15", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-use-controllable-state": "1.2.2" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-mIBnOjgwo9AH3FyKaSWoSu/dYj6VdhJ7frEPiGTeXCdUFHjl9h3mFh2wwhEtINOmYXWhdpf1rY2minFsmaNgVQ=="], + + "@radix-ui/react-focus-guards": ["@radix-ui/react-focus-guards@1.1.2", "", { "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-fyjAACV62oPV925xFCrH8DR5xWhg9KYtJT4s3u54jxp+L/hbpTY2kIeEFFbFe+a/HCE94zGQMZLIpVTPVZDhaA=="], + + "@radix-ui/react-focus-scope": ["@radix-ui/react-focus-scope@1.1.7", "", { "dependencies": { "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-use-callback-ref": "1.1.1" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-t2ODlkXBQyn7jkl6TNaw/MtVEVvIGelJDCG41Okq/KwUsJBwQ4XVZsHAVUkK4mBv3ewiAS3PGuUWuY2BoK4ZUw=="], + + "@radix-ui/react-hover-card": ["@radix-ui/react-hover-card@1.1.14", "", { "dependencies": { "@radix-ui/primitive": "1.1.2", "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-context": "1.1.2", "@radix-ui/react-dismissable-layer": "1.1.10", "@radix-ui/react-popper": "1.2.7", "@radix-ui/react-portal": "1.1.9", "@radix-ui/react-presence": "1.1.4", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-use-controllable-state": "1.2.2" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-CPYZ24Mhirm+g6D8jArmLzjYu4Eyg3TTUHswR26QgzXBHBe64BO/RHOJKzmF/Dxb4y4f9PKyJdwm/O/AhNkb+Q=="], + + "@radix-ui/react-id": ["@radix-ui/react-id@1.1.1", "", { "dependencies": { "@radix-ui/react-use-layout-effect": "1.1.1" }, "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-kGkGegYIdQsOb4XjsfM97rXsiHaBwco+hFI66oO4s9LU+PLAC5oJ7khdOVFxkhsmlbpUqDAvXw11CluXP+jkHg=="], + + "@radix-ui/react-label": ["@radix-ui/react-label@2.1.7", "", { "dependencies": { "@radix-ui/react-primitive": "2.1.3" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-YT1GqPSL8kJn20djelMX7/cTRp/Y9w5IZHvfxQTVHrOqa2yMl7i/UfMqKRU5V7mEyKTrUVgJXhNQPVCG8PBLoQ=="], + + "@radix-ui/react-menu": ["@radix-ui/react-menu@2.1.15", "", { "dependencies": { "@radix-ui/primitive": "1.1.2", "@radix-ui/react-collection": "1.1.7", "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-context": "1.1.2", "@radix-ui/react-direction": "1.1.1", "@radix-ui/react-dismissable-layer": "1.1.10", "@radix-ui/react-focus-guards": "1.1.2", "@radix-ui/react-focus-scope": "1.1.7", "@radix-ui/react-id": "1.1.1", "@radix-ui/react-popper": "1.2.7", "@radix-ui/react-portal": "1.1.9", "@radix-ui/react-presence": "1.1.4", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-roving-focus": "1.1.10", "@radix-ui/react-slot": "1.2.3", "@radix-ui/react-use-callback-ref": "1.1.1", "aria-hidden": "^1.2.4", "react-remove-scroll": "^2.6.3" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-tVlmA3Vb9n8SZSd+YSbuFR66l87Wiy4du+YE+0hzKQEANA+7cWKH1WgqcEX4pXqxUFQKrWQGHdvEfw00TjFiew=="], + + "@radix-ui/react-menubar": ["@radix-ui/react-menubar@1.1.15", "", { "dependencies": { "@radix-ui/primitive": "1.1.2", "@radix-ui/react-collection": "1.1.7", "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-context": "1.1.2", "@radix-ui/react-direction": "1.1.1", "@radix-ui/react-id": "1.1.1", "@radix-ui/react-menu": "2.1.15", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-roving-focus": "1.1.10", "@radix-ui/react-use-controllable-state": "1.2.2" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-Z71C7LGD+YDYo3TV81paUs8f3Zbmkvg6VLRQpKYfzioOE6n7fOhA3ApK/V/2Odolxjoc4ENk8AYCjohCNayd5A=="], + + "@radix-ui/react-navigation-menu": ["@radix-ui/react-navigation-menu@1.2.13", "", { "dependencies": { "@radix-ui/primitive": "1.1.2", "@radix-ui/react-collection": "1.1.7", "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-context": "1.1.2", "@radix-ui/react-direction": "1.1.1", "@radix-ui/react-dismissable-layer": "1.1.10", "@radix-ui/react-id": "1.1.1", "@radix-ui/react-presence": "1.1.4", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-use-callback-ref": "1.1.1", "@radix-ui/react-use-controllable-state": "1.2.2", "@radix-ui/react-use-layout-effect": "1.1.1", "@radix-ui/react-use-previous": "1.1.1", "@radix-ui/react-visually-hidden": "1.2.3" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-WG8wWfDiJlSF5hELjwfjSGOXcBR/ZMhBFCGYe8vERpC39CQYZeq1PQ2kaYHdye3V95d06H89KGMsVCIE4LWo3g=="], + + "@radix-ui/react-popover": ["@radix-ui/react-popover@1.1.14", "", { "dependencies": { "@radix-ui/primitive": "1.1.2", "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-context": "1.1.2", "@radix-ui/react-dismissable-layer": "1.1.10", "@radix-ui/react-focus-guards": "1.1.2", "@radix-ui/react-focus-scope": "1.1.7", "@radix-ui/react-id": "1.1.1", "@radix-ui/react-popper": "1.2.7", "@radix-ui/react-portal": "1.1.9", "@radix-ui/react-presence": "1.1.4", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-slot": "1.2.3", "@radix-ui/react-use-controllable-state": "1.2.2", "aria-hidden": "^1.2.4", "react-remove-scroll": "^2.6.3" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-ODz16+1iIbGUfFEfKx2HTPKizg2MN39uIOV8MXeHnmdd3i/N9Wt7vU46wbHsqA0xoaQyXVcs0KIlBdOA2Y95bw=="], + + "@radix-ui/react-popper": ["@radix-ui/react-popper@1.2.7", "", { "dependencies": { "@floating-ui/react-dom": "^2.0.0", "@radix-ui/react-arrow": "1.1.7", "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-context": "1.1.2", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-use-callback-ref": "1.1.1", "@radix-ui/react-use-layout-effect": "1.1.1", "@radix-ui/react-use-rect": "1.1.1", "@radix-ui/react-use-size": "1.1.1", "@radix-ui/rect": "1.1.1" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-IUFAccz1JyKcf/RjB552PlWwxjeCJB8/4KxT7EhBHOJM+mN7LdW+B3kacJXILm32xawcMMjb2i0cIZpo+f9kiQ=="], + + "@radix-ui/react-portal": ["@radix-ui/react-portal@1.1.9", "", { "dependencies": { "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-use-layout-effect": "1.1.1" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-bpIxvq03if6UNwXZ+HTK71JLh4APvnXntDc6XOX8UVq4XQOVl7lwok0AvIl+b8zgCw3fSaVTZMpAPPagXbKmHQ=="], + + "@radix-ui/react-presence": ["@radix-ui/react-presence@1.1.4", "", { "dependencies": { "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-use-layout-effect": "1.1.1" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-ueDqRbdc4/bkaQT3GIpLQssRlFgWaL/U2z/S31qRwwLWoxHLgry3SIfCwhxeQNbirEUXFa+lq3RL3oBYXtcmIA=="], + + "@radix-ui/react-primitive": ["@radix-ui/react-primitive@2.1.3", "", { "dependencies": { "@radix-ui/react-slot": "1.2.3" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ=="], + + "@radix-ui/react-progress": ["@radix-ui/react-progress@1.1.7", "", { "dependencies": { "@radix-ui/react-context": "1.1.2", "@radix-ui/react-primitive": "2.1.3" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-vPdg/tF6YC/ynuBIJlk1mm7Le0VgW6ub6J2UWnTQ7/D23KXcPI1qy+0vBkgKgd38RCMJavBXpB83HPNFMTb0Fg=="], + + "@radix-ui/react-radio-group": ["@radix-ui/react-radio-group@1.3.7", "", { "dependencies": { "@radix-ui/primitive": "1.1.2", "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-context": "1.1.2", "@radix-ui/react-direction": "1.1.1", "@radix-ui/react-presence": "1.1.4", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-roving-focus": "1.1.10", "@radix-ui/react-use-controllable-state": "1.2.2", "@radix-ui/react-use-previous": "1.1.1", "@radix-ui/react-use-size": "1.1.1" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-9w5XhD0KPOrm92OTTE0SysH3sYzHsSTHNvZgUBo/VZ80VdYyB5RneDbc0dKpURS24IxkoFRu/hI0i4XyfFwY6g=="], + + "@radix-ui/react-roving-focus": ["@radix-ui/react-roving-focus@1.1.10", "", { "dependencies": { "@radix-ui/primitive": "1.1.2", "@radix-ui/react-collection": "1.1.7", "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-context": "1.1.2", "@radix-ui/react-direction": "1.1.1", "@radix-ui/react-id": "1.1.1", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-use-callback-ref": "1.1.1", "@radix-ui/react-use-controllable-state": "1.2.2" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-dT9aOXUen9JSsxnMPv/0VqySQf5eDQ6LCk5Sw28kamz8wSOW2bJdlX2Bg5VUIIcV+6XlHpWTIuTPCf/UNIyq8Q=="], + + "@radix-ui/react-scroll-area": ["@radix-ui/react-scroll-area@1.2.9", "", { "dependencies": { "@radix-ui/number": "1.1.1", "@radix-ui/primitive": "1.1.2", "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-context": "1.1.2", "@radix-ui/react-direction": "1.1.1", "@radix-ui/react-presence": "1.1.4", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-use-callback-ref": "1.1.1", "@radix-ui/react-use-layout-effect": "1.1.1" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-YSjEfBXnhUELsO2VzjdtYYD4CfQjvao+lhhrX5XsHD7/cyUNzljF1FHEbgTPN7LH2MClfwRMIsYlqTYpKTTe2A=="], + + "@radix-ui/react-select": ["@radix-ui/react-select@2.2.5", "", { "dependencies": { "@radix-ui/number": "1.1.1", "@radix-ui/primitive": "1.1.2", "@radix-ui/react-collection": "1.1.7", "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-context": "1.1.2", "@radix-ui/react-direction": "1.1.1", "@radix-ui/react-dismissable-layer": "1.1.10", "@radix-ui/react-focus-guards": "1.1.2", "@radix-ui/react-focus-scope": "1.1.7", "@radix-ui/react-id": "1.1.1", "@radix-ui/react-popper": "1.2.7", "@radix-ui/react-portal": "1.1.9", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-slot": "1.2.3", "@radix-ui/react-use-callback-ref": "1.1.1", "@radix-ui/react-use-controllable-state": "1.2.2", "@radix-ui/react-use-layout-effect": "1.1.1", "@radix-ui/react-use-previous": "1.1.1", "@radix-ui/react-visually-hidden": "1.2.3", "aria-hidden": "^1.2.4", "react-remove-scroll": "^2.6.3" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-HnMTdXEVuuyzx63ME0ut4+sEMYW6oouHWNGUZc7ddvUWIcfCva/AMoqEW/3wnEllriMWBa0RHspCYnfCWJQYmA=="], + + "@radix-ui/react-separator": ["@radix-ui/react-separator@1.1.7", "", { "dependencies": { "@radix-ui/react-primitive": "2.1.3" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-0HEb8R9E8A+jZjvmFCy/J4xhbXy3TV+9XSnGJ3KvTtjlIUy/YQ/p6UYZvi7YbeoeXdyU9+Y3scizK6hkY37baA=="], + + "@radix-ui/react-slider": ["@radix-ui/react-slider@1.3.5", "", { "dependencies": { "@radix-ui/number": "1.1.1", "@radix-ui/primitive": "1.1.2", "@radix-ui/react-collection": "1.1.7", "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-context": "1.1.2", "@radix-ui/react-direction": "1.1.1", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-use-controllable-state": "1.2.2", "@radix-ui/react-use-layout-effect": "1.1.1", "@radix-ui/react-use-previous": "1.1.1", "@radix-ui/react-use-size": "1.1.1" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-rkfe2pU2NBAYfGaxa3Mqosi7VZEWX5CxKaanRv0vZd4Zhl9fvQrg0VM93dv3xGLGfrHuoTRF3JXH8nb9g+B3fw=="], + + "@radix-ui/react-slot": ["@radix-ui/react-slot@1.2.3", "", { "dependencies": { "@radix-ui/react-compose-refs": "1.1.2" }, "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A=="], + + "@radix-ui/react-switch": ["@radix-ui/react-switch@1.2.5", "", { "dependencies": { "@radix-ui/primitive": "1.1.2", "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-context": "1.1.2", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-use-controllable-state": "1.2.2", "@radix-ui/react-use-previous": "1.1.1", "@radix-ui/react-use-size": "1.1.1" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-5ijLkak6ZMylXsaImpZ8u4Rlf5grRmoc0p0QeX9VJtlrM4f5m3nCTX8tWga/zOA8PZYIR/t0p2Mnvd7InrJ6yQ=="], + + "@radix-ui/react-tabs": ["@radix-ui/react-tabs@1.1.12", "", { "dependencies": { "@radix-ui/primitive": "1.1.2", "@radix-ui/react-context": "1.1.2", "@radix-ui/react-direction": "1.1.1", "@radix-ui/react-id": "1.1.1", "@radix-ui/react-presence": "1.1.4", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-roving-focus": "1.1.10", "@radix-ui/react-use-controllable-state": "1.2.2" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-GTVAlRVrQrSw3cEARM0nAx73ixrWDPNZAruETn3oHCNP6SbZ/hNxdxp+u7VkIEv3/sFoLq1PfcHrl7Pnp0CDpw=="], + + "@radix-ui/react-toast": ["@radix-ui/react-toast@1.2.14", "", { "dependencies": { "@radix-ui/primitive": "1.1.2", "@radix-ui/react-collection": "1.1.7", "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-context": "1.1.2", "@radix-ui/react-dismissable-layer": "1.1.10", "@radix-ui/react-portal": "1.1.9", "@radix-ui/react-presence": "1.1.4", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-use-callback-ref": "1.1.1", "@radix-ui/react-use-controllable-state": "1.2.2", "@radix-ui/react-use-layout-effect": "1.1.1", "@radix-ui/react-visually-hidden": "1.2.3" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-nAP5FBxBJGQ/YfUB+r+O6USFVkWq3gAInkxyEnmvEV5jtSbfDhfa4hwX8CraCnbjMLsE7XSf/K75l9xXY7joWg=="], + + "@radix-ui/react-toggle": ["@radix-ui/react-toggle@1.1.9", "", { "dependencies": { "@radix-ui/primitive": "1.1.2", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-use-controllable-state": "1.2.2" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-ZoFkBBz9zv9GWer7wIjvdRxmh2wyc2oKWw6C6CseWd6/yq1DK/l5lJ+wnsmFwJZbBYqr02mrf8A2q/CVCuM3ZA=="], + + "@radix-ui/react-toggle-group": ["@radix-ui/react-toggle-group@1.1.10", "", { "dependencies": { "@radix-ui/primitive": "1.1.2", "@radix-ui/react-context": "1.1.2", "@radix-ui/react-direction": "1.1.1", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-roving-focus": "1.1.10", "@radix-ui/react-toggle": "1.1.9", "@radix-ui/react-use-controllable-state": "1.2.2" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-kiU694Km3WFLTC75DdqgM/3Jauf3rD9wxeS9XtyWFKsBUeZA337lC+6uUazT7I1DhanZ5gyD5Stf8uf2dbQxOQ=="], + + "@radix-ui/react-tooltip": ["@radix-ui/react-tooltip@1.2.7", "", { "dependencies": { "@radix-ui/primitive": "1.1.2", "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-context": "1.1.2", "@radix-ui/react-dismissable-layer": "1.1.10", "@radix-ui/react-id": "1.1.1", "@radix-ui/react-popper": "1.2.7", "@radix-ui/react-portal": "1.1.9", "@radix-ui/react-presence": "1.1.4", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-slot": "1.2.3", "@radix-ui/react-use-controllable-state": "1.2.2", "@radix-ui/react-visually-hidden": "1.2.3" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-Ap+fNYwKTYJ9pzqW+Xe2HtMRbQ/EeWkj2qykZ6SuEV4iS/o1bZI5ssJbk4D2r8XuDuOBVz/tIx2JObtuqU+5Zw=="], + + "@radix-ui/react-use-callback-ref": ["@radix-ui/react-use-callback-ref@1.1.1", "", { "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-FkBMwD+qbGQeMu1cOHnuGB6x4yzPjho8ap5WtbEJ26umhgqVXbhekKUQO+hZEL1vU92a3wHwdp0HAcqAUF5iDg=="], + + "@radix-ui/react-use-controllable-state": ["@radix-ui/react-use-controllable-state@1.2.2", "", { "dependencies": { "@radix-ui/react-use-effect-event": "0.0.2", "@radix-ui/react-use-layout-effect": "1.1.1" }, "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-BjasUjixPFdS+NKkypcyyN5Pmg83Olst0+c6vGov0diwTEo6mgdqVR6hxcEgFuh4QrAs7Rc+9KuGJ9TVCj0Zzg=="], + + "@radix-ui/react-use-effect-event": ["@radix-ui/react-use-effect-event@0.0.2", "", { "dependencies": { "@radix-ui/react-use-layout-effect": "1.1.1" }, "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-Qp8WbZOBe+blgpuUT+lw2xheLP8q0oatc9UpmiemEICxGvFLYmHm9QowVZGHtJlGbS6A6yJ3iViad/2cVjnOiA=="], + + "@radix-ui/react-use-escape-keydown": ["@radix-ui/react-use-escape-keydown@1.1.1", "", { "dependencies": { "@radix-ui/react-use-callback-ref": "1.1.1" }, "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-Il0+boE7w/XebUHyBjroE+DbByORGR9KKmITzbR7MyQ4akpORYP/ZmbhAr0DG7RmmBqoOnZdy2QlvajJ2QA59g=="], + + "@radix-ui/react-use-is-hydrated": ["@radix-ui/react-use-is-hydrated@0.1.0", "", { "dependencies": { "use-sync-external-store": "^1.5.0" }, "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-U+UORVEq+cTnRIaostJv9AGdV3G6Y+zbVd+12e18jQ5A3c0xL03IhnHuiU4UV69wolOQp5GfR58NW/EgdQhwOA=="], + + "@radix-ui/react-use-layout-effect": ["@radix-ui/react-use-layout-effect@1.1.1", "", { "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-RbJRS4UWQFkzHTTwVymMTUv8EqYhOp8dOOviLj2ugtTiXRaRQS7GLGxZTLL1jWhMeoSCf5zmcZkqTl9IiYfXcQ=="], + + "@radix-ui/react-use-previous": ["@radix-ui/react-use-previous@1.1.1", "", { "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-2dHfToCj/pzca2Ck724OZ5L0EVrr3eHRNsG/b3xQJLA2hZpVCS99bLAX+hm1IHXDEnzU6by5z/5MIY794/a8NQ=="], + + "@radix-ui/react-use-rect": ["@radix-ui/react-use-rect@1.1.1", "", { "dependencies": { "@radix-ui/rect": "1.1.1" }, "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-QTYuDesS0VtuHNNvMh+CjlKJ4LJickCMUAqjlE3+j8w+RlRpwyX3apEQKGFzbZGdo7XNG1tXa+bQqIE7HIXT2w=="], + + "@radix-ui/react-use-size": ["@radix-ui/react-use-size@1.1.1", "", { "dependencies": { "@radix-ui/react-use-layout-effect": "1.1.1" }, "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-ewrXRDTAqAXlkl6t/fkXWNAhFX9I+CkKlw6zjEwk86RSPKwZr3xpBRso655aqYafwtnbpHLj6toFzmd6xdVptQ=="], + + "@radix-ui/react-visually-hidden": ["@radix-ui/react-visually-hidden@1.2.3", "", { "dependencies": { "@radix-ui/react-primitive": "2.1.3" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-pzJq12tEaaIhqjbzpCuv/OypJY/BPavOofm+dbab+MHLajy277+1lLm6JFcGgF5eskJ6mquGirhXY2GD/8u8Ug=="], + + "@radix-ui/rect": ["@radix-ui/rect@1.1.1", "", {}, "sha512-HPwpGIzkl28mWyZqG52jiqDJ12waP11Pa1lGoiyUkIEuMLBP0oeK/C89esbXrxsky5we7dfd8U58nm0SgAWpVw=="], + + "@remix-run/router": ["@remix-run/router@1.23.0", "", {}, "sha512-O3rHJzAQKamUz1fvE0Qaw0xSFqsA/yafi2iqeE0pvdFtCO1viYx8QL6f3Ln/aCCTLxs68SLf0KPM9eSeM8yBnA=="], + + "@rolldown/pluginutils": ["@rolldown/pluginutils@1.0.0-beta.27", "", {}, "sha512-+d0F4MKMCbeVUJwG96uQ4SgAznZNSq93I3V+9NHA4OpvqG8mRCpGdKmK8l/dl02h2CCDHwW2FqilnTyDcAnqjA=="], + + "@rollup/rollup-android-arm-eabi": ["@rollup/rollup-android-arm-eabi@4.24.0", "", { "os": "android", "cpu": "arm" }, "sha512-Q6HJd7Y6xdB48x8ZNVDOqsbh2uByBhgK8PiQgPhwkIw/HC/YX5Ghq2mQY5sRMZWHb3VsFkWooUVOZHKr7DmDIA=="], + + "@rollup/rollup-android-arm64": ["@rollup/rollup-android-arm64@4.24.0", "", { "os": "android", "cpu": "arm64" }, "sha512-ijLnS1qFId8xhKjT81uBHuuJp2lU4x2yxa4ctFPtG+MqEE6+C5f/+X/bStmxapgmwLwiL3ih122xv8kVARNAZA=="], + + "@rollup/rollup-darwin-arm64": ["@rollup/rollup-darwin-arm64@4.24.0", "", { "os": "darwin", "cpu": "arm64" }, "sha512-bIv+X9xeSs1XCk6DVvkO+S/z8/2AMt/2lMqdQbMrmVpgFvXlmde9mLcbQpztXm1tajC3raFDqegsH18HQPMYtA=="], + + "@rollup/rollup-darwin-x64": ["@rollup/rollup-darwin-x64@4.24.0", "", { "os": "darwin", "cpu": "x64" }, "sha512-X6/nOwoFN7RT2svEQWUsW/5C/fYMBe4fnLK9DQk4SX4mgVBiTA9h64kjUYPvGQ0F/9xwJ5U5UfTbl6BEjaQdBQ=="], + + "@rollup/rollup-linux-arm-gnueabihf": ["@rollup/rollup-linux-arm-gnueabihf@4.24.0", "", { "os": "linux", "cpu": "arm" }, "sha512-0KXvIJQMOImLCVCz9uvvdPgfyWo93aHHp8ui3FrtOP57svqrF/roSSR5pjqL2hcMp0ljeGlU4q9o/rQaAQ3AYA=="], + + "@rollup/rollup-linux-arm-musleabihf": ["@rollup/rollup-linux-arm-musleabihf@4.24.0", "", { "os": "linux", "cpu": "arm" }, "sha512-it2BW6kKFVh8xk/BnHfakEeoLPv8STIISekpoF+nBgWM4d55CZKc7T4Dx1pEbTnYm/xEKMgy1MNtYuoA8RFIWw=="], + + "@rollup/rollup-linux-arm64-gnu": ["@rollup/rollup-linux-arm64-gnu@4.24.0", "", { "os": "linux", "cpu": "arm64" }, "sha512-i0xTLXjqap2eRfulFVlSnM5dEbTVque/3Pi4g2y7cxrs7+a9De42z4XxKLYJ7+OhE3IgxvfQM7vQc43bwTgPwA=="], + + "@rollup/rollup-linux-arm64-musl": ["@rollup/rollup-linux-arm64-musl@4.24.0", "", { "os": "linux", "cpu": "arm64" }, "sha512-9E6MKUJhDuDh604Qco5yP/3qn3y7SLXYuiC0Rpr89aMScS2UAmK1wHP2b7KAa1nSjWJc/f/Lc0Wl1L47qjiyQw=="], + + "@rollup/rollup-linux-powerpc64le-gnu": ["@rollup/rollup-linux-powerpc64le-gnu@4.24.0", "", { "os": "linux", "cpu": "ppc64" }, "sha512-2XFFPJ2XMEiF5Zi2EBf4h73oR1V/lycirxZxHZNc93SqDN/IWhYYSYj8I9381ikUFXZrz2v7r2tOVk2NBwxrWw=="], + + "@rollup/rollup-linux-riscv64-gnu": ["@rollup/rollup-linux-riscv64-gnu@4.24.0", "", { "os": "linux", "cpu": "none" }, "sha512-M3Dg4hlwuntUCdzU7KjYqbbd+BLq3JMAOhCKdBE3TcMGMZbKkDdJ5ivNdehOssMCIokNHFOsv7DO4rlEOfyKpg=="], + + "@rollup/rollup-linux-s390x-gnu": ["@rollup/rollup-linux-s390x-gnu@4.24.0", "", { "os": "linux", "cpu": "s390x" }, "sha512-mjBaoo4ocxJppTorZVKWFpy1bfFj9FeCMJqzlMQGjpNPY9JwQi7OuS1axzNIk0nMX6jSgy6ZURDZ2w0QW6D56g=="], + + "@rollup/rollup-linux-x64-gnu": ["@rollup/rollup-linux-x64-gnu@4.24.0", "", { "os": "linux", "cpu": "x64" }, "sha512-ZXFk7M72R0YYFN5q13niV0B7G8/5dcQ9JDp8keJSfr3GoZeXEoMHP/HlvqROA3OMbMdfr19IjCeNAnPUG93b6A=="], + + "@rollup/rollup-linux-x64-musl": ["@rollup/rollup-linux-x64-musl@4.24.0", "", { "os": "linux", "cpu": "x64" }, "sha512-w1i+L7kAXZNdYl+vFvzSZy8Y1arS7vMgIy8wusXJzRrPyof5LAb02KGr1PD2EkRcl73kHulIID0M501lN+vobQ=="], + + "@rollup/rollup-win32-arm64-msvc": ["@rollup/rollup-win32-arm64-msvc@4.24.0", "", { "os": "win32", "cpu": "arm64" }, "sha512-VXBrnPWgBpVDCVY6XF3LEW0pOU51KbaHhccHw6AS6vBWIC60eqsH19DAeeObl+g8nKAz04QFdl/Cefta0xQtUQ=="], + + "@rollup/rollup-win32-ia32-msvc": ["@rollup/rollup-win32-ia32-msvc@4.24.0", "", { "os": "win32", "cpu": "ia32" }, "sha512-xrNcGDU0OxVcPTH/8n/ShH4UevZxKIO6HJFK0e15XItZP2UcaiLFd5kiX7hJnqCbSztUF8Qot+JWBC/QXRPYWQ=="], + + "@rollup/rollup-win32-x64-msvc": ["@rollup/rollup-win32-x64-msvc@4.24.0", "", { "os": "win32", "cpu": "x64" }, "sha512-fbMkAF7fufku0N2dE5TBXcNlg0pt0cJue4xBRE2Qc5Vqikxr4VCgKj/ht6SMdFcOacVA9rqF70APJ8RN/4vMJw=="], + + "@supabase/auth-js": ["@supabase/auth-js@2.104.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/@supabase/auth-js/-/auth-js-2.104.1.tgz", { "dependencies": { "tslib": "2.8.1" } }, "sha512-pqFnDKekq1isqlqnzqzyJ3mzmho+o+FjfVTqhKY3PFlwj2anx3OPznO1kbo1ZEwD8zg1r4EAFf/7pplLyX0ocQ=="], + + "@supabase/functions-js": ["@supabase/functions-js@2.104.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/@supabase/functions-js/-/functions-js-2.104.1.tgz", { "dependencies": { "tslib": "2.8.1" } }, "sha512-JjAH4JN9rZzxh4plQnILPrQZXAG6ccoRS6z9hQAGmXpRSwJA+7CWbsDV2R82I8MROlGDsjqj1Ot/cWpTfdf6xg=="], + + "@supabase/phoenix": ["@supabase/phoenix@0.4.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/@supabase/phoenix/-/phoenix-0.4.0.tgz", {}, "sha512-RHSx8bHS02xwfHdAbX5Lpbo6PXbgyf7lTaXTlwtFDPwOIw64NnVRwFAXGojHhjtVYI+PEPNSWwkL90f4agN3bw=="], + + "@supabase/postgrest-js": ["@supabase/postgrest-js@2.104.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/@supabase/postgrest-js/-/postgrest-js-2.104.1.tgz", { "dependencies": { "tslib": "2.8.1" } }, "sha512-RqlLpvgXsjcc27fLyHNGm3zN0KDWXbkdTdaFtaEdX83RsTEqH7BAmshH7zoUMml5lL04naUeRjS3B81O6jZcJw=="], + + "@supabase/realtime-js": ["@supabase/realtime-js@2.104.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/@supabase/realtime-js/-/realtime-js-2.104.1.tgz", { "dependencies": { "@supabase/phoenix": "^0.4.0", "@types/ws": "^8.18.1", "tslib": "2.8.1", "ws": "^8.18.2" } }, "sha512-dVJHhFB2ErBd0/2qE9G8CedCrGoAtBfL9Q4zbSMXO7b1Cpld916ljSiX21mURUqijPf1WoPQG4Bp/averUzk/g=="], + + "@supabase/storage-js": ["@supabase/storage-js@2.104.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/@supabase/storage-js/-/storage-js-2.104.1.tgz", { "dependencies": { "iceberg-js": "^0.8.1", "tslib": "2.8.1" } }, "sha512-2bQaLbkRshctkUVuqamwYZDEd+0cGSc9DY9sjh92DcA5hu1F/1AP8p6gxGr76sgdK9Ngi0rh+2Kdh+uC4hcnGA=="], + + "@supabase/supabase-js": ["@supabase/supabase-js@2.104.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/@supabase/supabase-js/-/supabase-js-2.104.1.tgz", { "dependencies": { "@supabase/auth-js": "2.104.1", "@supabase/functions-js": "2.104.1", "@supabase/postgrest-js": "2.104.1", "@supabase/realtime-js": "2.104.1", "@supabase/storage-js": "2.104.1" } }, "sha512-E0H/CtVmaGjiAy+ieZ5ZB/1EqxXcGdaFaAc23AE5zaYfz6NtCNDcmaEdoGPYMPFH5pE6drGG6e3ljPmkFoGVxQ=="], + + "@swc/core": ["@swc/core@1.13.2", "", { "dependencies": { "@swc/counter": "^0.1.3", "@swc/types": "^0.1.23" }, "optionalDependencies": { "@swc/core-darwin-arm64": "1.13.2", "@swc/core-darwin-x64": "1.13.2", "@swc/core-linux-arm-gnueabihf": "1.13.2", "@swc/core-linux-arm64-gnu": "1.13.2", "@swc/core-linux-arm64-musl": "1.13.2", "@swc/core-linux-x64-gnu": "1.13.2", "@swc/core-linux-x64-musl": "1.13.2", "@swc/core-win32-arm64-msvc": "1.13.2", "@swc/core-win32-ia32-msvc": "1.13.2", "@swc/core-win32-x64-msvc": "1.13.2" }, "peerDependencies": { "@swc/helpers": ">=0.5.17" }, "optionalPeers": ["@swc/helpers"] }, "sha512-YWqn+0IKXDhqVLKoac4v2tV6hJqB/wOh8/Br8zjqeqBkKa77Qb0Kw2i7LOFzjFNZbZaPH6AlMGlBwNrxaauaAg=="], + + "@swc/core-darwin-arm64": ["@swc/core-darwin-arm64@1.13.2", "", { "os": "darwin", "cpu": "arm64" }, "sha512-44p7ivuLSGFJ15Vly4ivLJjg3ARo4879LtEBAabcHhSZygpmkP8eyjyWxrH3OxkY1eRZSIJe8yRZPFw4kPXFPw=="], + + "@swc/core-darwin-x64": ["@swc/core-darwin-x64@1.13.2", "", { "os": "darwin", "cpu": "x64" }, "sha512-Lb9EZi7X2XDAVmuUlBm2UvVAgSCbD3qKqDCxSI4jEOddzVOpNCnyZ/xEampdngUIyDDhhJLYU9duC+Mcsv5Y+A=="], + + "@swc/core-linux-arm-gnueabihf": ["@swc/core-linux-arm-gnueabihf@1.13.2", "", { "os": "linux", "cpu": "arm" }, "sha512-9TDe/92ee1x57x+0OqL1huG4BeljVx0nWW4QOOxp8CCK67Rpc/HHl2wciJ0Kl9Dxf2NvpNtkPvqj9+BUmM9WVA=="], + + "@swc/core-linux-arm64-gnu": ["@swc/core-linux-arm64-gnu@1.13.2", "", { "os": "linux", "cpu": "arm64" }, "sha512-KJUSl56DBk7AWMAIEcU83zl5mg3vlQYhLELhjwRFkGFMvghQvdqQ3zFOYa4TexKA7noBZa3C8fb24rI5sw9Exg=="], + + "@swc/core-linux-arm64-musl": ["@swc/core-linux-arm64-musl@1.13.2", "", { "os": "linux", "cpu": "arm64" }, "sha512-teU27iG1oyWpNh9CzcGQ48ClDRt/RCem7mYO7ehd2FY102UeTws2+OzLESS1TS1tEZipq/5xwx3FzbVgiolCiQ=="], + + "@swc/core-linux-x64-gnu": ["@swc/core-linux-x64-gnu@1.13.2", "", { "os": "linux", "cpu": "x64" }, "sha512-dRPsyPyqpLD0HMRCRpYALIh4kdOir8pPg4AhNQZLehKowigRd30RcLXGNVZcc31Ua8CiPI4QSgjOIxK+EQe4LQ=="], + + "@swc/core-linux-x64-musl": ["@swc/core-linux-x64-musl@1.13.2", "", { "os": "linux", "cpu": "x64" }, "sha512-CCxETW+KkYEQDqz1SYC15YIWYheqFC+PJVOW76Maa/8yu8Biw+HTAcblKf2isrlUtK8RvrQN94v3UXkC2NzCEw=="], + + "@swc/core-win32-arm64-msvc": ["@swc/core-win32-arm64-msvc@1.13.2", "", { "os": "win32", "cpu": "arm64" }, "sha512-Wv/QTA6PjyRLlmKcN6AmSI4jwSMRl0VTLGs57PHTqYRwwfwd7y4s2fIPJVBNbAlXd795dOEP6d/bGSQSyhOX3A=="], + + "@swc/core-win32-ia32-msvc": ["@swc/core-win32-ia32-msvc@1.13.2", "", { "os": "win32", "cpu": "ia32" }, "sha512-PuCdtNynEkUNbUXX/wsyUC+t4mamIU5y00lT5vJcAvco3/r16Iaxl5UCzhXYaWZSNVZMzPp9qN8NlSL8M5pPxw=="], + + "@swc/core-win32-x64-msvc": ["@swc/core-win32-x64-msvc@1.13.2", "", { "os": "win32", "cpu": "x64" }, "sha512-qlmMkFZJus8cYuBURx1a3YAG2G7IW44i+FEYV5/32ylKkzGNAr9tDJSA53XNnNXkAB5EXSPsOz7bn5C3JlEtdQ=="], + + "@swc/counter": ["@swc/counter@0.1.3", "", {}, "sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ=="], + + "@swc/types": ["@swc/types@0.1.23", "", { "dependencies": { "@swc/counter": "^0.1.3" } }, "sha512-u1iIVZV9Q0jxY+yM2vw/hZGDNudsN85bBpTqzAQ9rzkxW9D+e3aEM4Han+ow518gSewkXgjmEK0BD79ZcNVgPw=="], + + "@tailwindcss/typography": ["@tailwindcss/typography@0.5.16", "", { "dependencies": { "lodash.castarray": "^4.4.0", "lodash.isplainobject": "^4.0.6", "lodash.merge": "^4.6.2", "postcss-selector-parser": "6.0.10" }, "peerDependencies": { "tailwindcss": ">=3.0.0 || insiders || >=4.0.0-alpha.20 || >=4.0.0-beta.1" } }, "sha512-0wDLwCVF5V3x3b1SGXPCDcdsbDHMBe+lkFzBRaHeLvNi+nrrnZ1lA18u+OTWO8iSWU2GxUOCvlXtDuqftc1oiA=="], + + "@tanstack/query-core": ["@tanstack/query-core@5.100.2", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/@tanstack/query-core/-/query-core-5.100.2.tgz", {}, "sha512-HzzOC7xgSfGGzZ1gTsFZqYz6rxGg3tYF77nTPctin+wEYYLNMP7LjwPVFALEGNdjxkHvcewh1EM5ywixeukS4w=="], + + "@tanstack/react-query": ["@tanstack/react-query@5.83.0", "", { "dependencies": { "@tanstack/query-core": "5.83.0" }, "peerDependencies": { "react": "^18 || ^19" } }, "sha512-/XGYhZ3foc5H0VM2jLSD/NyBRIOK4q9kfeml4+0x2DlL6xVuAcVEW+hTlTapAmejObg0i3eNqhkr2dT+eciwoQ=="], + + "@testing-library/dom": ["@testing-library/dom@10.4.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/@testing-library/dom/-/dom-10.4.1.tgz", { "dependencies": { "@babel/code-frame": "^7.10.4", "@babel/runtime": "^7.12.5", "@types/aria-query": "^5.0.1", "aria-query": "5.3.0", "dom-accessibility-api": "^0.5.9", "lz-string": "^1.5.0", "picocolors": "1.1.1", "pretty-format": "^27.0.2" } }, "sha512-o4PXJQidqJl82ckFaXUeoAW+XysPLauYI43Abki5hABd853iMhitooc6znOnczgbTYmEP6U6/y1ZyKAIsvMKGg=="], + + "@testing-library/jest-dom": ["@testing-library/jest-dom@6.9.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/@testing-library/jest-dom/-/jest-dom-6.9.1.tgz", { "dependencies": { "@adobe/css-tools": "^4.4.0", "aria-query": "^5.0.0", "css.escape": "^1.5.1", "dom-accessibility-api": "^0.6.3", "picocolors": "^1.1.1", "redent": "^3.0.0" } }, "sha512-zIcONa+hVtVSSep9UT3jZ5rizo2BsxgyDYU7WFD5eICBE7no3881HGeb/QkGfsJs6JTkY1aQhT7rIPC7e+0nnA=="], + + "@testing-library/react": ["@testing-library/react@16.3.2", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/@testing-library/react/-/react-16.3.2.tgz", { "dependencies": { "@babel/runtime": "^7.12.5" }, "peerDependencies": { "@testing-library/dom": "^10.0.0", "@types/react": "^18.0.0 || ^19.0.0", "@types/react-dom": "^18.0.0 || ^19.0.0", "react": "^18.0.0 || ^19.0.0", "react-dom": "^18.0.0 || ^19.0.0" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-XU5/SytQM+ykqMnAnvB2umaJNIOsLF3PVv//1Ew4CTcpz0/BRyy/af40qqrt7SjKpDdT1saBMc42CUok5gaw+g=="], + + "@tootallnate/once": ["@tootallnate/once@2.0.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/@tootallnate/once/-/once-2.0.0.tgz", {}, "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A=="], + + "@types/aria-query": ["@types/aria-query@5.0.4", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/@types/aria-query/-/aria-query-5.0.4.tgz", {}, "sha512-rfT93uj5s0PRL7EzccGMs3brplhcrghnDoV26NqKhCAS1hVo+WdNsPvE/yb6ilfr5hi2MEk6d5EWJTKdxg8jVw=="], + + "@types/chai": ["@types/chai@5.2.3", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/@types/chai/-/chai-5.2.3.tgz", { "dependencies": { "@types/deep-eql": "*", "assertion-error": "^2.0.1" } }, "sha512-Mw558oeA9fFbv65/y4mHtXDs9bPnFMZAL/jxdPFUpOHHIXX91mcgEHbS5Lahr+pwZFR8A7GQleRWeI6cGFC2UA=="], + + "@types/d3-array": ["@types/d3-array@3.2.1", "", {}, "sha512-Y2Jn2idRrLzUfAKV2LyRImR+y4oa2AntrgID95SHJxuMUrkNXmanDSed71sRNZysveJVt1hLLemQZIady0FpEg=="], + + "@types/d3-color": ["@types/d3-color@3.1.3", "", {}, "sha512-iO90scth9WAbmgv7ogoq57O9YpKmFBbmoEoCHDB2xMBY0+/KVrqAaCDyCE16dUspeOvIxFFRI+0sEtqDqy2b4A=="], + + "@types/d3-ease": ["@types/d3-ease@3.0.2", "", {}, "sha512-NcV1JjO5oDzoK26oMzbILE6HW7uVXOHLQvHshBUW4UMdZGfiY6v5BeQwh9a9tCzv+CeefZQHJt5SRgK154RtiA=="], + + "@types/d3-interpolate": ["@types/d3-interpolate@3.0.4", "", { "dependencies": { "@types/d3-color": "*" } }, "sha512-mgLPETlrpVV1YRJIglr4Ez47g7Yxjl1lj7YKsiMCb27VJH9W8NVM6Bb9d8kkpG/uAQS5AmbA48q2IAolKKo1MA=="], + + "@types/d3-path": ["@types/d3-path@3.1.0", "", {}, "sha512-P2dlU/q51fkOc/Gfl3Ul9kicV7l+ra934qBFXCFhrZMOL6du1TM0pm1ThYvENukyOn5h9v+yMJ9Fn5JK4QozrQ=="], + + "@types/d3-scale": ["@types/d3-scale@4.0.8", "", { "dependencies": { "@types/d3-time": "*" } }, "sha512-gkK1VVTr5iNiYJ7vWDI+yUFFlszhNMtVeneJ6lUTKPjprsvLLI9/tgEGiXJOnlINJA8FyA88gfnQsHbybVZrYQ=="], + + "@types/d3-shape": ["@types/d3-shape@3.1.6", "", { "dependencies": { "@types/d3-path": "*" } }, "sha512-5KKk5aKGu2I+O6SONMYSNflgiP0WfZIQvVUMan50wHsLG1G94JlxEVnCpQARfTtzytuY0p/9PXXZb3I7giofIA=="], + + "@types/d3-time": ["@types/d3-time@3.0.3", "", {}, "sha512-2p6olUZ4w3s+07q3Tm2dbiMZy5pCDfYwtLXXHUnVzXgQlZ/OyPtUz6OL382BkOuGlLXqfT+wqv8Fw2v8/0geBw=="], + + "@types/d3-timer": ["@types/d3-timer@3.0.2", "", {}, "sha512-Ps3T8E8dZDam6fUyNiMkekK3XUsaUEik+idO9/YjPtfj2qruF8tFBXS7XhtE4iIXBLxhmLjP3SXpLhVf21I9Lw=="], + + "@types/debug": ["@types/debug@4.1.13", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/@types/debug/-/debug-4.1.13.tgz", { "dependencies": { "@types/ms": "*" } }, "sha512-KSVgmQmzMwPlmtljOomayoR89W4FynCAi3E8PPs7vmDVPe84hT+vGPKkJfThkmXs0x0jAaa9U8uW8bbfyS2fWw=="], + + "@types/deep-eql": ["@types/deep-eql@4.0.2", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/@types/deep-eql/-/deep-eql-4.0.2.tgz", {}, "sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw=="], + + "@types/estree": ["@types/estree@1.0.6", "", {}, "sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw=="], + + "@types/estree-jsx": ["@types/estree-jsx@1.0.5", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/@types/estree-jsx/-/estree-jsx-1.0.5.tgz", { "dependencies": { "@types/estree": "*" } }, "sha512-52CcUVNFyfb1A2ALocQw/Dd1BQFNmSdkuC3BkZ6iqhdMfQz7JWOFRuJFloOzjk+6WijU56m9oKXFAXc7o3Towg=="], + + "@types/hast": ["@types/hast@3.0.4", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/@types/hast/-/hast-3.0.4.tgz", { "dependencies": { "@types/unist": "*" } }, "sha512-WPs+bbQw5aCj+x6laNGWLH3wviHtoCv/P3+otBhbOhJgG8qtpdAMlTCxLtsTWA7LH1Oh/bFCHsBn0TPS5m30EQ=="], + + "@types/json-schema": ["@types/json-schema@7.0.15", "", {}, "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA=="], + + "@types/katex": ["@types/katex@0.16.8", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/@types/katex/-/katex-0.16.8.tgz", {}, "sha512-trgaNyfU+Xh2Tc+ABIb44a5AYUpicB3uwirOioeOkNPPbmgRNtcWyDeeFRzjPZENO9Vq8gvVqfhaaXWLlevVwg=="], + + "@types/mdast": ["@types/mdast@4.0.4", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/@types/mdast/-/mdast-4.0.4.tgz", { "dependencies": { "@types/unist": "*" } }, "sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA=="], + + "@types/ms": ["@types/ms@2.1.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/@types/ms/-/ms-2.1.0.tgz", {}, "sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA=="], + + "@types/node": ["@types/node@22.16.5", "", { "dependencies": { "undici-types": "~6.21.0" } }, "sha512-bJFoMATwIGaxxx8VJPeM8TonI8t579oRvgAuT8zFugJsJZgzqv0Fu8Mhp68iecjzG7cnN3mO2dJQ5uUM2EFrgQ=="], + + "@types/prop-types": ["@types/prop-types@15.7.13", "", {}, "sha512-hCZTSvwbzWGvhqxp/RqVqwU999pBf2vp7hzIjiYOsl8wqOmUxkQ6ddw1cV3l8811+kdUFus/q4d1Y3E3SyEifA=="], + + "@types/react": ["@types/react@18.3.23", "", { "dependencies": { "@types/prop-types": "*", "csstype": "^3.0.2" } }, "sha512-/LDXMQh55EzZQ0uVAZmKKhfENivEvWz6E+EYzh+/MCjMhNsotd+ZHhBGIjFDTi6+fz0OhQQQLbTgdQIxxCsC0w=="], + + "@types/react-dom": ["@types/react-dom@18.3.7", "", { "peerDependencies": { "@types/react": "^18.0.0" } }, "sha512-MEe3UeoENYVFXzoXEWsvcpg6ZvlrFNlOQ7EOsvhI3CfAXwzPfO8Qwuxd40nepsYKqyyVQnTdEfv68q91yLcKrQ=="], + + "@types/unist": ["@types/unist@3.0.3", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/@types/unist/-/unist-3.0.3.tgz", {}, "sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q=="], + + "@types/ws": ["@types/ws@8.18.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/@types/ws/-/ws-8.18.1.tgz", { "dependencies": { "@types/node": "*" } }, "sha512-ThVF6DCVhA8kUGy+aazFQ4kXQ7E1Ty7A3ypFOe0IcJV8O/M511G99AW24irKrW56Wt44yG9+ij8FaqoBGkuBXg=="], + + "@typescript-eslint/eslint-plugin": ["@typescript-eslint/eslint-plugin@8.38.0", "", { "dependencies": { "@eslint-community/regexpp": "^4.10.0", "@typescript-eslint/scope-manager": "8.38.0", "@typescript-eslint/type-utils": "8.38.0", "@typescript-eslint/utils": "8.38.0", "@typescript-eslint/visitor-keys": "8.38.0", "graphemer": "^1.4.0", "ignore": "^7.0.0", "natural-compare": "^1.4.0", "ts-api-utils": "^2.1.0" }, "peerDependencies": { "@typescript-eslint/parser": "^8.38.0", "eslint": "^8.57.0 || ^9.0.0", "typescript": ">=4.8.4 <5.9.0" } }, "sha512-CPoznzpuAnIOl4nhj4tRr4gIPj5AfKgkiJmGQDaq+fQnRJTYlcBjbX3wbciGmpoPf8DREufuPRe1tNMZnGdanA=="], + + "@typescript-eslint/parser": ["@typescript-eslint/parser@8.38.0", "", { "dependencies": { "@typescript-eslint/scope-manager": "8.38.0", "@typescript-eslint/types": "8.38.0", "@typescript-eslint/typescript-estree": "8.38.0", "@typescript-eslint/visitor-keys": "8.38.0", "debug": "^4.3.4" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0", "typescript": ">=4.8.4 <5.9.0" } }, "sha512-Zhy8HCvBUEfBECzIl1PKqF4p11+d0aUJS1GeUiuqK9WmOug8YCmC4h4bjyBvMyAMI9sbRczmrYL5lKg/YMbrcQ=="], + + "@typescript-eslint/project-service": ["@typescript-eslint/project-service@8.38.0", "", { "dependencies": { "@typescript-eslint/tsconfig-utils": "^8.38.0", "@typescript-eslint/types": "^8.38.0", "debug": "^4.3.4" }, "peerDependencies": { "typescript": ">=4.8.4 <5.9.0" } }, "sha512-dbK7Jvqcb8c9QfH01YB6pORpqX1mn5gDZc9n63Ak/+jD67oWXn3Gs0M6vddAN+eDXBCS5EmNWzbSxsn9SzFWWg=="], + + "@typescript-eslint/scope-manager": ["@typescript-eslint/scope-manager@8.38.0", "", { "dependencies": { "@typescript-eslint/types": "8.38.0", "@typescript-eslint/visitor-keys": "8.38.0" } }, "sha512-WJw3AVlFFcdT9Ri1xs/lg8LwDqgekWXWhH3iAF+1ZM+QPd7oxQ6jvtW/JPwzAScxitILUIFs0/AnQ/UWHzbATQ=="], + + "@typescript-eslint/tsconfig-utils": ["@typescript-eslint/tsconfig-utils@8.38.0", "", { "peerDependencies": { "typescript": ">=4.8.4 <5.9.0" } }, "sha512-Lum9RtSE3EroKk/bYns+sPOodqb2Fv50XOl/gMviMKNvanETUuUcC9ObRbzrJ4VSd2JalPqgSAavwrPiPvnAiQ=="], + + "@typescript-eslint/type-utils": ["@typescript-eslint/type-utils@8.38.0", "", { "dependencies": { "@typescript-eslint/types": "8.38.0", "@typescript-eslint/typescript-estree": "8.38.0", "@typescript-eslint/utils": "8.38.0", "debug": "^4.3.4", "ts-api-utils": "^2.1.0" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0", "typescript": ">=4.8.4 <5.9.0" } }, "sha512-c7jAvGEZVf0ao2z+nnz8BUaHZD09Agbh+DY7qvBQqLiz8uJzRgVPj5YvOh8I8uEiH8oIUGIfHzMwUcGVco/SJg=="], + + "@typescript-eslint/types": ["@typescript-eslint/types@8.38.0", "", {}, "sha512-wzkUfX3plUqij4YwWaJyqhiPE5UCRVlFpKn1oCRn2O1bJ592XxWJj8ROQ3JD5MYXLORW84063z3tZTb/cs4Tyw=="], + + "@typescript-eslint/typescript-estree": ["@typescript-eslint/typescript-estree@8.38.0", "", { "dependencies": { "@typescript-eslint/project-service": "8.38.0", "@typescript-eslint/tsconfig-utils": "8.38.0", "@typescript-eslint/types": "8.38.0", "@typescript-eslint/visitor-keys": "8.38.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", "minimatch": "^9.0.4", "semver": "^7.6.0", "ts-api-utils": "^2.1.0" }, "peerDependencies": { "typescript": ">=4.8.4 <5.9.0" } }, "sha512-fooELKcAKzxux6fA6pxOflpNS0jc+nOQEEOipXFNjSlBS6fqrJOVY/whSn70SScHrcJ2LDsxWrneFoWYSVfqhQ=="], + + "@typescript-eslint/utils": ["@typescript-eslint/utils@8.38.0", "", { "dependencies": { "@eslint-community/eslint-utils": "^4.7.0", "@typescript-eslint/scope-manager": "8.38.0", "@typescript-eslint/types": "8.38.0", "@typescript-eslint/typescript-estree": "8.38.0" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0", "typescript": ">=4.8.4 <5.9.0" } }, "sha512-hHcMA86Hgt+ijJlrD8fX0j1j8w4C92zue/8LOPAFioIno+W0+L7KqE8QZKCcPGc/92Vs9x36w/4MPTJhqXdyvg=="], + + "@typescript-eslint/visitor-keys": ["@typescript-eslint/visitor-keys@8.38.0", "", { "dependencies": { "@typescript-eslint/types": "8.38.0", "eslint-visitor-keys": "^4.2.1" } }, "sha512-pWrTcoFNWuwHlA9CvlfSsGWs14JxfN1TH25zM5L7o0pRLhsoZkDnTsXfQRJBEWJoV5DL0jf+Z+sxiud+K0mq1g=="], + + "@ungap/structured-clone": ["@ungap/structured-clone@1.3.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/@ungap/structured-clone/-/structured-clone-1.3.0.tgz", {}, "sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g=="], + + "@vitejs/plugin-react-swc": ["@vitejs/plugin-react-swc@3.11.0", "", { "dependencies": { "@rolldown/pluginutils": "1.0.0-beta.27", "@swc/core": "^1.12.11" }, "peerDependencies": { "vite": "^4 || ^5 || ^6 || ^7" } }, "sha512-YTJCGFdNMHCMfjODYtxRNVAYmTWQ1Lb8PulP/2/f/oEEtglw8oKxKIZmmRkyXrVrHfsKOaVkAc3NT9/dMutO5w=="], + + "@vitest/expect": ["@vitest/expect@3.2.4", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/@vitest/expect/-/expect-3.2.4.tgz", { "dependencies": { "@types/chai": "^5.2.2", "@vitest/spy": "3.2.4", "@vitest/utils": "3.2.4", "chai": "^5.2.0", "tinyrainbow": "^2.0.0" } }, "sha512-Io0yyORnB6sikFlt8QW5K7slY4OjqNX9jmJQ02QDda8lyM6B5oNgVWoSoKPac8/kgnCUzuHQKrSLtu/uOqqrig=="], + + "@vitest/mocker": ["@vitest/mocker@3.2.4", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/@vitest/mocker/-/mocker-3.2.4.tgz", { "dependencies": { "@vitest/spy": "3.2.4", "estree-walker": "^3.0.3", "magic-string": "^0.30.17" }, "peerDependencies": { "msw": "^2.4.9", "vite": "^5.0.0 || ^6.0.0 || ^7.0.0-0" }, "optionalPeers": ["msw", "vite"] }, "sha512-46ryTE9RZO/rfDd7pEqFl7etuyzekzEhUbTW3BvmeO/BcCMEgq59BKhek3dXDWgAj4oMK6OZi+vRr1wPW6qjEQ=="], + + "@vitest/pretty-format": ["@vitest/pretty-format@3.2.4", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/@vitest/pretty-format/-/pretty-format-3.2.4.tgz", { "dependencies": { "tinyrainbow": "^2.0.0" } }, "sha512-IVNZik8IVRJRTr9fxlitMKeJeXFFFN0JaB9PHPGQ8NKQbGpfjlTx9zO4RefN8gp7eqjNy8nyK3NZmBzOPeIxtA=="], + + "@vitest/runner": ["@vitest/runner@3.2.4", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/@vitest/runner/-/runner-3.2.4.tgz", { "dependencies": { "@vitest/utils": "3.2.4", "pathe": "^2.0.3", "strip-literal": "^3.0.0" } }, "sha512-oukfKT9Mk41LreEW09vt45f8wx7DordoWUZMYdY/cyAk7w5TWkTRCNZYF7sX7n2wB7jyGAl74OxgwhPgKaqDMQ=="], + + "@vitest/snapshot": ["@vitest/snapshot@3.2.4", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/@vitest/snapshot/-/snapshot-3.2.4.tgz", { "dependencies": { "@vitest/pretty-format": "3.2.4", "magic-string": "^0.30.17", "pathe": "^2.0.3" } }, "sha512-dEYtS7qQP2CjU27QBC5oUOxLE/v5eLkGqPE0ZKEIDGMs4vKWe7IjgLOeauHsR0D5YuuycGRO5oSRXnwnmA78fQ=="], + + "@vitest/spy": ["@vitest/spy@3.2.4", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/@vitest/spy/-/spy-3.2.4.tgz", { "dependencies": { "tinyspy": "^4.0.3" } }, "sha512-vAfasCOe6AIK70iP5UD11Ac4siNUNJ9i/9PZ3NKx07sG6sUxeag1LWdNrMWeKKYBLlzuK+Gn65Yd5nyL6ds+nw=="], + + "@vitest/utils": ["@vitest/utils@3.2.4", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/@vitest/utils/-/utils-3.2.4.tgz", { "dependencies": { "@vitest/pretty-format": "3.2.4", "loupe": "^3.1.4", "tinyrainbow": "^2.0.0" } }, "sha512-fB2V0JFrQSMsCo9HiSq3Ezpdv4iYaXRG1Sx8edX3MwxfyNn83mKiGzOcH+Fkxt4MHxr3y42fQi1oeAInqgX2QA=="], + + "@xmldom/xmldom": ["@xmldom/xmldom@0.8.13", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/@xmldom/xmldom/-/xmldom-0.8.13.tgz", {}, "sha512-KRYzxepc14G/CEpEGc3Yn+JKaAeT63smlDr+vjB8jRfgTBBI9wRj/nkQEO+ucV8p8I9bfKLWp37uHgFrbntPvw=="], + + "abab": ["abab@2.0.6", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/abab/-/abab-2.0.6.tgz", {}, "sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA=="], + + "acorn": ["acorn@8.15.0", "", { "bin": "bin/acorn" }, "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg=="], + + "acorn-globals": ["acorn-globals@7.0.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/acorn-globals/-/acorn-globals-7.0.1.tgz", { "dependencies": { "acorn": "^8.1.0", "acorn-walk": "^8.0.2" } }, "sha512-umOSDSDrfHbTNPuNpC2NSnnA3LUrqpevPb4T9jRx4MagXNS0rs+gwiTcAvqCRmsD6utzsrzNt+ebm00SNWiC3Q=="], + + "acorn-jsx": ["acorn-jsx@5.3.2", "", { "peerDependencies": { "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" } }, "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ=="], + + "acorn-walk": ["acorn-walk@8.3.5", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/acorn-walk/-/acorn-walk-8.3.5.tgz", { "dependencies": { "acorn": "^8.11.0" } }, "sha512-HEHNfbars9v4pgpW6SO1KSPkfoS0xVOM/9UzkJltjlsHZmJasxg8aXkuZa7SMf8vKGIBhpUsPluQSqhJFCqebw=="], + + "agent-base": ["agent-base@6.0.2", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/agent-base/-/agent-base-6.0.2.tgz", { "dependencies": { "debug": "4" } }, "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ=="], + + "ajv": ["ajv@6.12.6", "", { "dependencies": { "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", "json-schema-traverse": "^0.4.1", "uri-js": "^4.2.2" } }, "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g=="], + + "ansi-regex": ["ansi-regex@5.0.1", "", {}, "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ=="], + + "ansi-styles": ["ansi-styles@4.3.0", "", { "dependencies": { "color-convert": "^2.0.1" } }, "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg=="], + + "any-promise": ["any-promise@1.3.0", "", {}, "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A=="], + + "anymatch": ["anymatch@3.1.3", "", { "dependencies": { "normalize-path": "^3.0.0", "picomatch": "^2.0.4" } }, "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw=="], + + "arg": ["arg@5.0.2", "", {}, "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg=="], + + "argparse": ["argparse@1.0.10", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/argparse/-/argparse-1.0.10.tgz", { "dependencies": { "sprintf-js": "~1.0.2" } }, "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg=="], + + "aria-hidden": ["aria-hidden@1.2.4", "", { "dependencies": { "tslib": "^2.0.0" } }, "sha512-y+CcFFwelSXpLZk/7fMB2mUbGtX9lKycf1MWJ7CaTIERyitVlyQx6C+sxcROU2BAJ24OiZyK+8wj2i8AlBoS3A=="], + + "aria-query": ["aria-query@5.3.2", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/aria-query/-/aria-query-5.3.2.tgz", {}, "sha512-COROpnaoap1E2F000S62r6A60uHZnmlvomhfyT2DlTcrY1OrBKn2UhH7qn5wTC9zMvD0AY7csdPSNwKP+7WiQw=="], + + "assertion-error": ["assertion-error@2.0.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/assertion-error/-/assertion-error-2.0.1.tgz", {}, "sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA=="], + + "asynckit": ["asynckit@0.4.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/asynckit/-/asynckit-0.4.0.tgz", {}, "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q=="], + + "attr-accept": ["attr-accept@2.2.5", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/attr-accept/-/attr-accept-2.2.5.tgz", {}, "sha512-0bDNnY/u6pPwHDMoF0FieU354oBi0a8rD9FcsLwzcGWbc8KS8KPIi7y+s13OlVY+gMWc/9xEMUgNE6Qm8ZllYQ=="], + + "autoprefixer": ["autoprefixer@10.4.21", "", { "dependencies": { "browserslist": "^4.24.4", "caniuse-lite": "^1.0.30001702", "fraction.js": "^4.3.7", "normalize-range": "^0.1.2", "picocolors": "^1.1.1", "postcss-value-parser": "^4.2.0" }, "peerDependencies": { "postcss": "^8.1.0" }, "bin": "bin/autoprefixer" }, "sha512-O+A6LWV5LDHSJD3LjHYoNi4VLsj/Whi7k6zG12xTYaU4cQ8oxQGckXNX8cRHK5yOZ/ppVHe0ZBXGzSV9jXdVbQ=="], + + "bail": ["bail@2.0.2", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/bail/-/bail-2.0.2.tgz", {}, "sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw=="], + + "balanced-match": ["balanced-match@1.0.2", "", {}, "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="], + + "base64-js": ["base64-js@1.5.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/base64-js/-/base64-js-1.5.1.tgz", {}, "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA=="], + + "binary-extensions": ["binary-extensions@2.3.0", "", {}, "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw=="], + + "bluebird": ["bluebird@3.4.7", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/bluebird/-/bluebird-3.4.7.tgz", {}, "sha512-iD3898SR7sWVRHbiQv+sHUtHnMvC1o3nW5rAcqnq3uOn07DSAppZYUkIGslDz6gXC7HfunPe7YVBgoEJASPcHA=="], + + "brace-expansion": ["brace-expansion@1.1.12", "", { "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" } }, "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg=="], + + "braces": ["braces@3.0.3", "", { "dependencies": { "fill-range": "^7.1.1" } }, "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA=="], + + "browserslist": ["browserslist@4.25.1", "", { "dependencies": { "caniuse-lite": "^1.0.30001726", "electron-to-chromium": "^1.5.173", "node-releases": "^2.0.19", "update-browserslist-db": "^1.1.3" }, "bin": "cli.js" }, "sha512-KGj0KoOMXLpSNkkEI6Z6mShmQy0bc1I+T7K9N81k4WWMrfz+6fQ6es80B/YLAeRoKvjYE1YSHHOW1qe9xIVzHw=="], + + "cac": ["cac@6.7.14", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/cac/-/cac-6.7.14.tgz", {}, "sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ=="], + + "call-bind-apply-helpers": ["call-bind-apply-helpers@1.0.2", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz", { "dependencies": { "es-errors": "^1.3.0", "function-bind": "^1.1.2" } }, "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ=="], + + "callsites": ["callsites@3.1.0", "", {}, "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ=="], + + "camelcase-css": ["camelcase-css@2.0.1", "", {}, "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA=="], + + "caniuse-lite": ["caniuse-lite@1.0.30001727", "", {}, "sha512-pB68nIHmbN6L/4C6MH1DokyR3bYqFwjaSs/sWDHGj4CTcFtQUQMuJftVwWkXq7mNWOybD3KhUv3oWHoGxgP14Q=="], + + "ccount": ["ccount@2.0.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/ccount/-/ccount-2.0.1.tgz", {}, "sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg=="], + + "chai": ["chai@5.3.3", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/chai/-/chai-5.3.3.tgz", { "dependencies": { "assertion-error": "^2.0.1", "check-error": "^2.1.1", "deep-eql": "^5.0.1", "loupe": "^3.1.0", "pathval": "^2.0.0" } }, "sha512-4zNhdJD/iOjSH0A05ea+Ke6MU5mmpQcbQsSOkgdaUMJ9zTlDTD/GYlwohmIE2u0gaxHYiVHEn1Fw9mZ/ktJWgw=="], + + "chalk": ["chalk@4.1.2", "", { "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" } }, "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA=="], + + "character-entities": ["character-entities@2.0.2", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/character-entities/-/character-entities-2.0.2.tgz", {}, "sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ=="], + + "character-entities-html4": ["character-entities-html4@2.1.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/character-entities-html4/-/character-entities-html4-2.1.0.tgz", {}, "sha512-1v7fgQRj6hnSwFpq1Eu0ynr/CDEw0rXo2B61qXrLNdHZmPKgb7fqS1a2JwF0rISo9q77jDI8VMEHoApn8qDoZA=="], + + "character-entities-legacy": ["character-entities-legacy@3.0.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/character-entities-legacy/-/character-entities-legacy-3.0.0.tgz", {}, "sha512-RpPp0asT/6ufRm//AJVwpViZbGM/MkjQFxJccQRHmISF/22NBtsHqAWmL+/pmkPWoIUJdWyeVleTl1wydHATVQ=="], + + "character-reference-invalid": ["character-reference-invalid@2.0.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/character-reference-invalid/-/character-reference-invalid-2.0.1.tgz", {}, "sha512-iBZ4F4wRbyORVsu0jPV7gXkOsGYjGHPmAyv+HiHG8gi5PtC9KI2j1+v8/tlibRvjoWX027ypmG/n0HtO5t7unw=="], + + "check-error": ["check-error@2.1.3", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/check-error/-/check-error-2.1.3.tgz", {}, "sha512-PAJdDJusoxnwm1VwW07VWwUN1sl7smmC3OKggvndJFadxxDRyFJBX/ggnu/KE4kQAB7a3Dp8f/YXC1FlUprWmA=="], + + "chokidar": ["chokidar@3.6.0", "", { "dependencies": { "anymatch": "~3.1.2", "braces": "~3.0.2", "glob-parent": "~5.1.2", "is-binary-path": "~2.1.0", "is-glob": "~4.0.1", "normalize-path": "~3.0.0", "readdirp": "~3.6.0" }, "optionalDependencies": { "fsevents": "~2.3.2" } }, "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw=="], + + "class-variance-authority": ["class-variance-authority@0.7.1", "", { "dependencies": { "clsx": "^2.1.1" } }, "sha512-Ka+9Trutv7G8M6WT6SeiRWz792K5qEqIGEGzXKhAE6xOWAY6pPH8U+9IY3oCMv6kqTmLsv7Xh/2w2RigkePMsg=="], + + "clsx": ["clsx@2.1.1", "", {}, "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA=="], + + "cmdk": ["cmdk@1.1.1", "", { "dependencies": { "@radix-ui/react-compose-refs": "^1.1.1", "@radix-ui/react-dialog": "^1.1.6", "@radix-ui/react-id": "^1.1.0", "@radix-ui/react-primitive": "^2.0.2" }, "peerDependencies": { "react": "^18 || ^19 || ^19.0.0-rc", "react-dom": "^18 || ^19 || ^19.0.0-rc" } }, "sha512-Vsv7kFaXm+ptHDMZ7izaRsP70GgrW9NBNGswt9OZaVBLlE0SNpDq8eu/VGXyF9r7M0azK3Wy7OlYXsuyYLFzHg=="], + + "color-convert": ["color-convert@2.0.1", "", { "dependencies": { "color-name": "~1.1.4" } }, "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ=="], + + "color-name": ["color-name@1.1.4", "", {}, "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="], + + "combined-stream": ["combined-stream@1.0.8", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/combined-stream/-/combined-stream-1.0.8.tgz", { "dependencies": { "delayed-stream": "~1.0.0" } }, "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg=="], + + "comma-separated-tokens": ["comma-separated-tokens@2.0.3", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/comma-separated-tokens/-/comma-separated-tokens-2.0.3.tgz", {}, "sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg=="], + + "commander": ["commander@8.3.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/commander/-/commander-8.3.0.tgz", {}, "sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww=="], + + "concat-map": ["concat-map@0.0.1", "", {}, "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg=="], + + "core-util-is": ["core-util-is@1.0.3", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/core-util-is/-/core-util-is-1.0.3.tgz", {}, "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ=="], + + "cross-spawn": ["cross-spawn@7.0.6", "", { "dependencies": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", "which": "^2.0.1" } }, "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA=="], + + "css.escape": ["css.escape@1.5.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/css.escape/-/css.escape-1.5.1.tgz", {}, "sha512-YUifsXXuknHlUsmlgyY0PKzgPOr7/FjCePfHNt0jxm83wHZi44VDMQ7/fGNkjY3/jV1MC+1CmZbaHzugyeRtpg=="], + + "cssesc": ["cssesc@3.0.0", "", { "bin": "bin/cssesc" }, "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg=="], + + "cssom": ["cssom@0.5.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/cssom/-/cssom-0.5.0.tgz", {}, "sha512-iKuQcq+NdHqlAcwUY0o/HL69XQrUaQdMjmStJ8JFmUaiiQErlhrmuigkg/CU4E2J0IyUKUrMAgl36TvN67MqTw=="], + + "cssstyle": ["cssstyle@2.3.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/cssstyle/-/cssstyle-2.3.0.tgz", { "dependencies": { "cssom": "~0.3.6" } }, "sha512-AZL67abkUzIuvcHqk7c09cezpGNcxUxU4Ioi/05xHk4DQeTkWmGYftIE6ctU6AEt+Gn4n1lDStOtj7FKycP71A=="], + + "csstype": ["csstype@3.1.3", "", {}, "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw=="], + + "d3-array": ["d3-array@3.2.4", "", { "dependencies": { "internmap": "1 - 2" } }, "sha512-tdQAmyA18i4J7wprpYq8ClcxZy3SC31QMeByyCFyRt7BVHdREQZ5lpzoe5mFEYZUWe+oq8HBvk9JjpibyEV4Jg=="], + + "d3-color": ["d3-color@3.1.0", "", {}, "sha512-zg/chbXyeBtMQ1LbD/WSoW2DpC3I0mpmPdW+ynRTj/x2DAWYrIY7qeZIHidozwV24m4iavr15lNwIwLxRmOxhA=="], + + "d3-ease": ["d3-ease@3.0.1", "", {}, "sha512-wR/XK3D3XcLIZwpbvQwQ5fK+8Ykds1ip7A2Txe0yxncXSdq1L9skcG7blcedkOX+ZcgxGAmLX1FrRGbADwzi0w=="], + + "d3-format": ["d3-format@3.1.0", "", {}, "sha512-YyUI6AEuY/Wpt8KWLgZHsIU86atmikuoOmCfommt0LYHiQSPjvX2AcFc38PX0CBpr2RCyZhjex+NS/LPOv6YqA=="], + + "d3-interpolate": ["d3-interpolate@3.0.1", "", { "dependencies": { "d3-color": "1 - 3" } }, "sha512-3bYs1rOD33uo8aqJfKP3JWPAibgw8Zm2+L9vBKEHJ2Rg+viTR7o5Mmv5mZcieN+FRYaAOWX5SJATX6k1PWz72g=="], + + "d3-path": ["d3-path@3.1.0", "", {}, "sha512-p3KP5HCf/bvjBSSKuXid6Zqijx7wIfNW+J/maPs+iwR35at5JCbLUT0LzF1cnjbCHWhqzQTIN2Jpe8pRebIEFQ=="], + + "d3-scale": ["d3-scale@4.0.2", "", { "dependencies": { "d3-array": "2.10.0 - 3", "d3-format": "1 - 3", "d3-interpolate": "1.2.0 - 3", "d3-time": "2.1.1 - 3", "d3-time-format": "2 - 4" } }, "sha512-GZW464g1SH7ag3Y7hXjf8RoUuAFIqklOAq3MRl4OaWabTFJY9PN/E1YklhXLh+OQ3fM9yS2nOkCoS+WLZ6kvxQ=="], + + "d3-shape": ["d3-shape@3.2.0", "", { "dependencies": { "d3-path": "^3.1.0" } }, "sha512-SaLBuwGm3MOViRq2ABk3eLoxwZELpH6zhl3FbAoJ7Vm1gofKx6El1Ib5z23NUEhF9AsGl7y+dzLe5Cw2AArGTA=="], + + "d3-time": ["d3-time@3.1.0", "", { "dependencies": { "d3-array": "2 - 3" } }, "sha512-VqKjzBLejbSMT4IgbmVgDjpkYrNWUYJnbCGo874u7MMKIWsILRX+OpX/gTk8MqjpT1A/c6HY2dCA77ZN0lkQ2Q=="], + + "d3-time-format": ["d3-time-format@4.1.0", "", { "dependencies": { "d3-time": "1 - 3" } }, "sha512-dJxPBlzC7NugB2PDLwo9Q8JiTR3M3e4/XANkreKSUxF8vvXKqm1Yfq4Q5dl8budlunRVlUUaDUgFt7eA8D6NLg=="], + + "d3-timer": ["d3-timer@3.0.1", "", {}, "sha512-ndfJ/JxxMd3nw31uyKoY2naivF+r29V+Lc0svZxe1JvvIRmi8hUsrMvdOwgS1o6uBHmiz91geQ0ylPP0aj1VUA=="], + + "data-urls": ["data-urls@3.0.2", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/data-urls/-/data-urls-3.0.2.tgz", { "dependencies": { "abab": "^2.0.6", "whatwg-mimetype": "^3.0.0", "whatwg-url": "^11.0.0" } }, "sha512-Jy/tj3ldjZJo63sVAvg6LHt2mHvl4V6AgRAmNDtLdm7faqtsx+aJG42rsyCo9JCoRVKwPFzKlIPx3DIibwSIaQ=="], + + "date-fns": ["date-fns@3.6.0", "", {}, "sha512-fRHTG8g/Gif+kSh50gaGEdToemgfj74aRX3swtiouboip5JDLAyDE9F11nHMIcvOaXeOC6D7SpNhi7uFyB7Uww=="], + + "debug": ["debug@4.3.7", "", { "dependencies": { "ms": "^2.1.3" } }, "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ=="], + + "decimal.js": ["decimal.js@10.6.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/decimal.js/-/decimal.js-10.6.0.tgz", {}, "sha512-YpgQiITW3JXGntzdUmyUR1V812Hn8T1YVXhCu+wO3OpS4eU9l4YdD3qjyiKdV6mvV29zapkMeD390UVEf2lkUg=="], + + "decimal.js-light": ["decimal.js-light@2.5.1", "", {}, "sha512-qIMFpTMZmny+MMIitAB6D7iVPEorVw6YQRWkvarTkT4tBeSLLiHzcwj6q0MmYSFCiVpiqPJTJEYIrpcPzVEIvg=="], + + "decode-named-character-reference": ["decode-named-character-reference@1.3.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/decode-named-character-reference/-/decode-named-character-reference-1.3.0.tgz", { "dependencies": { "character-entities": "^2.0.0" } }, "sha512-GtpQYB283KrPp6nRw50q3U9/VfOutZOe103qlN7BPP6Ad27xYnOIWv4lPzo8HCAL+mMZofJ9KEy30fq6MfaK6Q=="], + + "deep-eql": ["deep-eql@5.0.2", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/deep-eql/-/deep-eql-5.0.2.tgz", {}, "sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q=="], + + "deep-is": ["deep-is@0.1.4", "", {}, "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ=="], + + "delayed-stream": ["delayed-stream@1.0.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/delayed-stream/-/delayed-stream-1.0.0.tgz", {}, "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ=="], + + "dequal": ["dequal@2.0.3", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/dequal/-/dequal-2.0.3.tgz", {}, "sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA=="], + + "detect-node-es": ["detect-node-es@1.1.0", "", {}, "sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ=="], + + "devlop": ["devlop@1.1.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/devlop/-/devlop-1.1.0.tgz", { "dependencies": { "dequal": "^2.0.0" } }, "sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA=="], + + "didyoumean": ["didyoumean@1.2.2", "", {}, "sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw=="], + + "dingbat-to-unicode": ["dingbat-to-unicode@1.0.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/dingbat-to-unicode/-/dingbat-to-unicode-1.0.1.tgz", {}, "sha512-98l0sW87ZT58pU4i61wa2OHwxbiYSbuxsCBozaVnYX2iCnr3bLM3fIes1/ej7h1YdOKuKt/MLs706TVnALA65w=="], + + "dlv": ["dlv@1.1.3", "", {}, "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA=="], + + "dom-accessibility-api": ["dom-accessibility-api@0.6.3", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/dom-accessibility-api/-/dom-accessibility-api-0.6.3.tgz", {}, "sha512-7ZgogeTnjuHbo+ct10G9Ffp0mif17idi0IyWNVA/wcwcm7NPOD/WEHVP3n7n3MhXqxoIYm8d6MuZohYWIZ4T3w=="], + + "dom-helpers": ["dom-helpers@5.2.1", "", { "dependencies": { "@babel/runtime": "^7.8.7", "csstype": "^3.0.2" } }, "sha512-nRCa7CK3VTrM2NmGkIy4cbK7IZlgBE/PYMn55rrXefr5xXDP0LdtfPnblFDoVdcAfslJ7or6iqAUnx0CCGIWQA=="], + + "domexception": ["domexception@4.0.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/domexception/-/domexception-4.0.0.tgz", { "dependencies": { "webidl-conversions": "^7.0.0" } }, "sha512-A2is4PLG+eeSfoTMA95/s4pvAoSo2mKtiM5jlHkAVewmiO8ISFTFKZjH7UAM1Atli/OT/7JHOrJRJiMKUZKYBw=="], + + "duck": ["duck@0.1.12", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/duck/-/duck-0.1.12.tgz", { "dependencies": { "underscore": "^1.13.1" } }, "sha512-wkctla1O6VfP89gQ+J/yDesM0S7B7XLXjKGzXxMDVFg7uEn706niAtyYovKbyq1oT9YwDcly721/iUWoc8MVRg=="], + + "dunder-proto": ["dunder-proto@1.0.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/dunder-proto/-/dunder-proto-1.0.1.tgz", { "dependencies": { "call-bind-apply-helpers": "^1.0.1", "es-errors": "^1.3.0", "gopd": "^1.2.0" } }, "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A=="], + + "eastasianwidth": ["eastasianwidth@0.2.0", "", {}, "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA=="], + + "electron-to-chromium": ["electron-to-chromium@1.5.192", "", {}, "sha512-rP8Ez0w7UNw/9j5eSXCe10o1g/8B1P5SM90PCCMVkIRQn2R0LEHWz4Eh9RnxkniuDe1W0cTSOB3MLlkTGDcuCg=="], + + "embla-carousel": ["embla-carousel@8.6.0", "", {}, "sha512-SjWyZBHJPbqxHOzckOfo8lHisEaJWmwd23XppYFYVh10bU66/Pn5tkVkbkCMZVdbUE5eTCI2nD8OyIP4Z+uwkA=="], + + "embla-carousel-react": ["embla-carousel-react@8.6.0", "", { "dependencies": { "embla-carousel": "8.6.0", "embla-carousel-reactive-utils": "8.6.0" }, "peerDependencies": { "react": "^16.8.0 || ^17.0.1 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc" } }, "sha512-0/PjqU7geVmo6F734pmPqpyHqiM99olvyecY7zdweCw+6tKEXnrE90pBiBbMMU8s5tICemzpQ3hi5EpxzGW+JA=="], + + "embla-carousel-reactive-utils": ["embla-carousel-reactive-utils@8.6.0", "", { "peerDependencies": { "embla-carousel": "8.6.0" } }, "sha512-fMVUDUEx0/uIEDM0Mz3dHznDhfX+znCCDCeIophYb1QGVM7YThSWX+wz11zlYwWFOr74b4QLGg0hrGPJeG2s4A=="], + + "emoji-regex": ["emoji-regex@9.2.2", "", {}, "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg=="], + + "entities": ["entities@6.0.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/entities/-/entities-6.0.1.tgz", {}, "sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g=="], + + "es-define-property": ["es-define-property@1.0.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/es-define-property/-/es-define-property-1.0.1.tgz", {}, "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g=="], + + "es-errors": ["es-errors@1.3.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/es-errors/-/es-errors-1.3.0.tgz", {}, "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw=="], + + "es-module-lexer": ["es-module-lexer@1.7.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/es-module-lexer/-/es-module-lexer-1.7.0.tgz", {}, "sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA=="], + + "es-object-atoms": ["es-object-atoms@1.1.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/es-object-atoms/-/es-object-atoms-1.1.1.tgz", { "dependencies": { "es-errors": "^1.3.0" } }, "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA=="], + + "es-set-tostringtag": ["es-set-tostringtag@2.1.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz", { "dependencies": { "es-errors": "^1.3.0", "get-intrinsic": "^1.2.6", "has-tostringtag": "^1.0.2", "hasown": "^2.0.2" } }, "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA=="], + + "esbuild": ["esbuild@0.25.0", "", { "optionalDependencies": { "@esbuild/aix-ppc64": "0.25.0", "@esbuild/android-arm": "0.25.0", "@esbuild/android-arm64": "0.25.0", "@esbuild/android-x64": "0.25.0", "@esbuild/darwin-arm64": "0.25.0", "@esbuild/darwin-x64": "0.25.0", "@esbuild/freebsd-arm64": "0.25.0", "@esbuild/freebsd-x64": "0.25.0", "@esbuild/linux-arm": "0.25.0", "@esbuild/linux-arm64": "0.25.0", "@esbuild/linux-ia32": "0.25.0", "@esbuild/linux-loong64": "0.25.0", "@esbuild/linux-mips64el": "0.25.0", "@esbuild/linux-ppc64": "0.25.0", "@esbuild/linux-riscv64": "0.25.0", "@esbuild/linux-s390x": "0.25.0", "@esbuild/linux-x64": "0.25.0", "@esbuild/netbsd-arm64": "0.25.0", "@esbuild/netbsd-x64": "0.25.0", "@esbuild/openbsd-arm64": "0.25.0", "@esbuild/openbsd-x64": "0.25.0", "@esbuild/sunos-x64": "0.25.0", "@esbuild/win32-arm64": "0.25.0", "@esbuild/win32-ia32": "0.25.0", "@esbuild/win32-x64": "0.25.0" }, "bin": "bin/esbuild" }, "sha512-BXq5mqc8ltbaN34cDqWuYKyNhX8D/Z0J1xdtdQ8UcIIIyJyz+ZMKUt58tF3SrZ85jcfN/PZYhjR5uDQAYNVbuw=="], + + "escalade": ["escalade@3.2.0", "", {}, "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA=="], + + "escape-string-regexp": ["escape-string-regexp@4.0.0", "", {}, "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA=="], + + "escodegen": ["escodegen@2.1.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/escodegen/-/escodegen-2.1.0.tgz", { "dependencies": { "esprima": "^4.0.1", "estraverse": "^5.2.0", "esutils": "^2.0.2" }, "optionalDependencies": { "source-map": "~0.6.1" }, "bin": { "escodegen": "bin/escodegen.js", "esgenerate": "bin/esgenerate.js" } }, "sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w=="], + + "eslint": ["eslint@9.32.0", "", { "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.12.1", "@eslint/config-array": "^0.21.0", "@eslint/config-helpers": "^0.3.0", "@eslint/core": "^0.15.0", "@eslint/eslintrc": "^3.3.1", "@eslint/js": "9.32.0", "@eslint/plugin-kit": "^0.3.4", "@humanfs/node": "^0.16.6", "@humanwhocodes/module-importer": "^1.0.1", "@humanwhocodes/retry": "^0.4.2", "@types/estree": "^1.0.6", "@types/json-schema": "^7.0.15", "ajv": "^6.12.4", "chalk": "^4.0.0", "cross-spawn": "^7.0.6", "debug": "^4.3.2", "escape-string-regexp": "^4.0.0", "eslint-scope": "^8.4.0", "eslint-visitor-keys": "^4.2.1", "espree": "^10.4.0", "esquery": "^1.5.0", "esutils": "^2.0.2", "fast-deep-equal": "^3.1.3", "file-entry-cache": "^8.0.0", "find-up": "^5.0.0", "glob-parent": "^6.0.2", "ignore": "^5.2.0", "imurmurhash": "^0.1.4", "is-glob": "^4.0.0", "json-stable-stringify-without-jsonify": "^1.0.1", "lodash.merge": "^4.6.2", "minimatch": "^3.1.2", "natural-compare": "^1.4.0", "optionator": "^0.9.3" }, "peerDependencies": { "jiti": "*" }, "bin": "bin/eslint.js" }, "sha512-LSehfdpgMeWcTZkWZVIJl+tkZ2nuSkyyB9C27MZqFWXuph7DvaowgcTvKqxvpLW1JZIk8PN7hFY3Rj9LQ7m7lg=="], + + "eslint-plugin-react-hooks": ["eslint-plugin-react-hooks@5.2.0", "", { "peerDependencies": { "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0" } }, "sha512-+f15FfK64YQwZdJNELETdn5ibXEUQmW1DZL6KXhNnc2heoy/sg9VJJeT7n8TlMWouzWqSWavFkIhHyIbIAEapg=="], + + "eslint-plugin-react-refresh": ["eslint-plugin-react-refresh@0.4.20", "", { "peerDependencies": { "eslint": ">=8.40" } }, "sha512-XpbHQ2q5gUF8BGOX4dHe+71qoirYMhApEPZ7sfhF/dNnOF1UXnCMGZf79SFTBO7Bz5YEIT4TMieSlJBWhP9WBA=="], + + "eslint-scope": ["eslint-scope@8.4.0", "", { "dependencies": { "esrecurse": "^4.3.0", "estraverse": "^5.2.0" } }, "sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg=="], + + "eslint-visitor-keys": ["eslint-visitor-keys@4.2.1", "", {}, "sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ=="], + + "espree": ["espree@10.4.0", "", { "dependencies": { "acorn": "^8.15.0", "acorn-jsx": "^5.3.2", "eslint-visitor-keys": "^4.2.1" } }, "sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ=="], + + "esprima": ["esprima@4.0.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/esprima/-/esprima-4.0.1.tgz", { "bin": { "esparse": "./bin/esparse.js", "esvalidate": "./bin/esvalidate.js" } }, "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A=="], + + "esquery": ["esquery@1.6.0", "", { "dependencies": { "estraverse": "^5.1.0" } }, "sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg=="], + + "esrecurse": ["esrecurse@4.3.0", "", { "dependencies": { "estraverse": "^5.2.0" } }, "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag=="], + + "estraverse": ["estraverse@5.3.0", "", {}, "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA=="], + + "estree-util-is-identifier-name": ["estree-util-is-identifier-name@3.0.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/estree-util-is-identifier-name/-/estree-util-is-identifier-name-3.0.0.tgz", {}, "sha512-hFtqIDZTIUZ9BXLb8y4pYGyk6+wekIivNVTcmvk8NoOh+VeRn5y6cEHzbURrWbfp1fIqdVipilzj+lfaadNZmg=="], + + "estree-walker": ["estree-walker@3.0.3", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/estree-walker/-/estree-walker-3.0.3.tgz", { "dependencies": { "@types/estree": "^1.0.0" } }, "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g=="], + + "esutils": ["esutils@2.0.3", "", {}, "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g=="], + + "eventemitter3": ["eventemitter3@4.0.7", "", {}, "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw=="], + + "expect-type": ["expect-type@1.3.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/expect-type/-/expect-type-1.3.0.tgz", {}, "sha512-knvyeauYhqjOYvQ66MznSMs83wmHrCycNEN6Ao+2AeYEfxUIkuiVxdEa1qlGEPK+We3n0THiDciYSsCcgW/DoA=="], + + "extend": ["extend@3.0.2", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/extend/-/extend-3.0.2.tgz", {}, "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g=="], + + "fast-deep-equal": ["fast-deep-equal@3.1.3", "", {}, "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="], + + "fast-equals": ["fast-equals@5.2.2", "", {}, "sha512-V7/RktU11J3I36Nwq2JnZEM7tNm17eBJz+u25qdxBZeCKiX6BkVSZQjwWIr+IobgnZy+ag73tTZgZi7tr0LrBw=="], + + "fast-glob": ["fast-glob@3.3.2", "", { "dependencies": { "@nodelib/fs.stat": "^2.0.2", "@nodelib/fs.walk": "^1.2.3", "glob-parent": "^5.1.2", "merge2": "^1.3.0", "micromatch": "^4.0.4" } }, "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow=="], + + "fast-json-stable-stringify": ["fast-json-stable-stringify@2.1.0", "", {}, "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw=="], + + "fast-levenshtein": ["fast-levenshtein@2.0.6", "", {}, "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw=="], + + "fastq": ["fastq@1.17.1", "", { "dependencies": { "reusify": "^1.0.4" } }, "sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w=="], + + "fdir": ["fdir@6.5.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/fdir/-/fdir-6.5.0.tgz", { "peerDependencies": { "picomatch": "^3 || ^4" }, "optionalPeers": ["picomatch"] }, "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg=="], + + "file-entry-cache": ["file-entry-cache@8.0.0", "", { "dependencies": { "flat-cache": "^4.0.0" } }, "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ=="], + + "file-selector": ["file-selector@2.1.2", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/file-selector/-/file-selector-2.1.2.tgz", { "dependencies": { "tslib": "^2.7.0" } }, "sha512-QgXo+mXTe8ljeqUFaX3QVHc5osSItJ/Km+xpocx0aSqWGMSCf6qYs/VnzZgS864Pjn5iceMRFigeAV7AfTlaig=="], + + "fill-range": ["fill-range@7.1.1", "", { "dependencies": { "to-regex-range": "^5.0.1" } }, "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg=="], + + "find-up": ["find-up@5.0.0", "", { "dependencies": { "locate-path": "^6.0.0", "path-exists": "^4.0.0" } }, "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng=="], + + "flat-cache": ["flat-cache@4.0.1", "", { "dependencies": { "flatted": "^3.2.9", "keyv": "^4.5.4" } }, "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw=="], + + "flatted": ["flatted@3.3.1", "", {}, "sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw=="], + + "foreground-child": ["foreground-child@3.3.0", "", { "dependencies": { "cross-spawn": "^7.0.0", "signal-exit": "^4.0.1" } }, "sha512-Ld2g8rrAyMYFXBhEqMz8ZAHBi4J4uS1i/CxGMDnjyFWddMXLVcDp051DZfu+t7+ab7Wv6SMqpWmyFIj5UbfFvg=="], + + "form-data": ["form-data@4.0.5", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/form-data/-/form-data-4.0.5.tgz", { "dependencies": { "asynckit": "^0.4.0", "combined-stream": "^1.0.8", "es-set-tostringtag": "^2.1.0", "hasown": "^2.0.2", "mime-types": "^2.1.12" } }, "sha512-8RipRLol37bNs2bhoV67fiTEvdTrbMUYcFTiy3+wuuOnUog2QBHCZWXDRijWQfAkhBj2Uf5UnVaiWwA5vdd82w=="], + + "fraction.js": ["fraction.js@4.3.7", "", {}, "sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew=="], + + "fsevents": ["fsevents@2.3.3", "", { "os": "darwin" }, "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw=="], + + "function-bind": ["function-bind@1.1.2", "", {}, "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA=="], + + "get-intrinsic": ["get-intrinsic@1.3.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/get-intrinsic/-/get-intrinsic-1.3.0.tgz", { "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" } }, "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ=="], + + "get-nonce": ["get-nonce@1.0.1", "", {}, "sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q=="], + + "get-proto": ["get-proto@1.0.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/get-proto/-/get-proto-1.0.1.tgz", { "dependencies": { "dunder-proto": "^1.0.1", "es-object-atoms": "^1.0.0" } }, "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g=="], + + "glob": ["glob@10.4.5", "", { "dependencies": { "foreground-child": "^3.1.0", "jackspeak": "^3.1.2", "minimatch": "^9.0.4", "minipass": "^7.1.2", "package-json-from-dist": "^1.0.0", "path-scurry": "^1.11.1" }, "bin": "dist/esm/bin.mjs" }, "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg=="], + + "glob-parent": ["glob-parent@6.0.2", "", { "dependencies": { "is-glob": "^4.0.3" } }, "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A=="], + + "globals": ["globals@15.15.0", "", {}, "sha512-7ACyT3wmyp3I61S4fG682L0VA2RGD9otkqGJIwNUMF1SWUombIIk+af1unuDYgMm082aHYwD+mzJvv9Iu8dsgg=="], + + "gopd": ["gopd@1.2.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/gopd/-/gopd-1.2.0.tgz", {}, "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg=="], + + "graphemer": ["graphemer@1.4.0", "", {}, "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag=="], + + "has-flag": ["has-flag@4.0.0", "", {}, "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ=="], + + "has-symbols": ["has-symbols@1.1.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/has-symbols/-/has-symbols-1.1.0.tgz", {}, "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ=="], + + "has-tostringtag": ["has-tostringtag@1.0.2", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/has-tostringtag/-/has-tostringtag-1.0.2.tgz", { "dependencies": { "has-symbols": "^1.0.3" } }, "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw=="], + + "hasown": ["hasown@2.0.2", "", { "dependencies": { "function-bind": "^1.1.2" } }, "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ=="], + + "hast-util-from-dom": ["hast-util-from-dom@5.0.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/hast-util-from-dom/-/hast-util-from-dom-5.0.1.tgz", { "dependencies": { "@types/hast": "^3.0.0", "hastscript": "^9.0.0", "web-namespaces": "^2.0.0" } }, "sha512-N+LqofjR2zuzTjCPzyDUdSshy4Ma6li7p/c3pA78uTwzFgENbgbUrm2ugwsOdcjI1muO+o6Dgzp9p8WHtn/39Q=="], + + "hast-util-from-html": ["hast-util-from-html@2.0.3", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/hast-util-from-html/-/hast-util-from-html-2.0.3.tgz", { "dependencies": { "@types/hast": "^3.0.0", "devlop": "^1.1.0", "hast-util-from-parse5": "^8.0.0", "parse5": "^7.0.0", "vfile": "^6.0.0", "vfile-message": "^4.0.0" } }, "sha512-CUSRHXyKjzHov8yKsQjGOElXy/3EKpyX56ELnkHH34vDVw1N1XSQ1ZcAvTyAPtGqLTuKP/uxM+aLkSPqF/EtMw=="], + + "hast-util-from-html-isomorphic": ["hast-util-from-html-isomorphic@2.0.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/hast-util-from-html-isomorphic/-/hast-util-from-html-isomorphic-2.0.0.tgz", { "dependencies": { "@types/hast": "^3.0.0", "hast-util-from-dom": "^5.0.0", "hast-util-from-html": "^2.0.0", "unist-util-remove-position": "^5.0.0" } }, "sha512-zJfpXq44yff2hmE0XmwEOzdWin5xwH+QIhMLOScpX91e/NSGPsAzNCvLQDIEPyO2TXi+lBmU6hjLIhV8MwP2kw=="], + + "hast-util-from-parse5": ["hast-util-from-parse5@8.0.3", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/hast-util-from-parse5/-/hast-util-from-parse5-8.0.3.tgz", { "dependencies": { "@types/hast": "^3.0.0", "@types/unist": "^3.0.0", "devlop": "^1.0.0", "hastscript": "^9.0.0", "property-information": "^7.0.0", "vfile": "^6.0.0", "vfile-location": "^5.0.0", "web-namespaces": "^2.0.0" } }, "sha512-3kxEVkEKt0zvcZ3hCRYI8rqrgwtlIOFMWkbclACvjlDw8Li9S2hk/d51OI0nr/gIpdMHNepwgOKqZ/sy0Clpyg=="], + + "hast-util-is-element": ["hast-util-is-element@3.0.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/hast-util-is-element/-/hast-util-is-element-3.0.0.tgz", { "dependencies": { "@types/hast": "^3.0.0" } }, "sha512-Val9mnv2IWpLbNPqc/pUem+a7Ipj2aHacCwgNfTiK0vJKl0LF+4Ba4+v1oPHFpf3bLYmreq0/l3Gud9S5OH42g=="], + + "hast-util-parse-selector": ["hast-util-parse-selector@4.0.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/hast-util-parse-selector/-/hast-util-parse-selector-4.0.0.tgz", { "dependencies": { "@types/hast": "^3.0.0" } }, "sha512-wkQCkSYoOGCRKERFWcxMVMOcYE2K1AaNLU8DXS9arxnLOUEWbOXKXiJUNzEpqZ3JOKpnha3jkFrumEjVliDe7A=="], + + "hast-util-to-jsx-runtime": ["hast-util-to-jsx-runtime@2.3.6", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/hast-util-to-jsx-runtime/-/hast-util-to-jsx-runtime-2.3.6.tgz", { "dependencies": { "@types/estree": "^1.0.0", "@types/hast": "^3.0.0", "@types/unist": "^3.0.0", "comma-separated-tokens": "^2.0.0", "devlop": "^1.0.0", "estree-util-is-identifier-name": "^3.0.0", "hast-util-whitespace": "^3.0.0", "mdast-util-mdx-expression": "^2.0.0", "mdast-util-mdx-jsx": "^3.0.0", "mdast-util-mdxjs-esm": "^2.0.0", "property-information": "^7.0.0", "space-separated-tokens": "^2.0.0", "style-to-js": "^1.0.0", "unist-util-position": "^5.0.0", "vfile-message": "^4.0.0" } }, "sha512-zl6s8LwNyo1P9uw+XJGvZtdFF1GdAkOg8ujOw+4Pyb76874fLps4ueHXDhXWdk6YHQ6OgUtinliG7RsYvCbbBg=="], + + "hast-util-to-text": ["hast-util-to-text@4.0.2", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/hast-util-to-text/-/hast-util-to-text-4.0.2.tgz", { "dependencies": { "@types/hast": "^3.0.0", "@types/unist": "^3.0.0", "hast-util-is-element": "^3.0.0", "unist-util-find-after": "^5.0.0" } }, "sha512-KK6y/BN8lbaq654j7JgBydev7wuNMcID54lkRav1P0CaE1e47P72AWWPiGKXTJU271ooYzcvTAn/Zt0REnvc7A=="], + + "hast-util-whitespace": ["hast-util-whitespace@3.0.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/hast-util-whitespace/-/hast-util-whitespace-3.0.0.tgz", { "dependencies": { "@types/hast": "^3.0.0" } }, "sha512-88JUN06ipLwsnv+dVn+OIYOvAuvBMy/Qoi6O7mQHxdPXpjy+Cd6xRkWwux7DKO+4sYILtLBRIKgsdpS2gQc7qw=="], + + "hastscript": ["hastscript@9.0.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/hastscript/-/hastscript-9.0.1.tgz", { "dependencies": { "@types/hast": "^3.0.0", "comma-separated-tokens": "^2.0.0", "hast-util-parse-selector": "^4.0.0", "property-information": "^7.0.0", "space-separated-tokens": "^2.0.0" } }, "sha512-g7df9rMFX/SPi34tyGCyUBREQoKkapwdY/T04Qn9TDWfHhAYt4/I0gMVirzK5wEzeUqIjEB+LXC/ypb7Aqno5w=="], + + "html-encoding-sniffer": ["html-encoding-sniffer@3.0.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/html-encoding-sniffer/-/html-encoding-sniffer-3.0.0.tgz", { "dependencies": { "whatwg-encoding": "^2.0.0" } }, "sha512-oWv4T4yJ52iKrufjnyZPkrN0CH3QnrUqdB6In1g5Fe1mia8GmF36gnfNySxoZtxD5+NmYw1EElVXiBk93UeskA=="], + + "html-url-attributes": ["html-url-attributes@3.0.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/html-url-attributes/-/html-url-attributes-3.0.1.tgz", {}, "sha512-ol6UPyBWqsrO6EJySPz2O7ZSr856WDrEzM5zMqp+FJJLGMW35cLYmmZnl0vztAZxRUoNZJFTCohfjuIJ8I4QBQ=="], + + "http-proxy-agent": ["http-proxy-agent@5.0.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz", { "dependencies": { "@tootallnate/once": "2", "agent-base": "6", "debug": "4" } }, "sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w=="], + + "https-proxy-agent": ["https-proxy-agent@5.0.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", { "dependencies": { "agent-base": "6", "debug": "4" } }, "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA=="], + + "iceberg-js": ["iceberg-js@0.8.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/iceberg-js/-/iceberg-js-0.8.1.tgz", {}, "sha512-1dhVQZXhcHje7798IVM+xoo/1ZdVfzOMIc8/rgVSijRK38EDqOJoGula9N/8ZI5RD8QTxNQtK/Gozpr+qUqRRA=="], + + "iconv-lite": ["iconv-lite@0.6.3", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/iconv-lite/-/iconv-lite-0.6.3.tgz", { "dependencies": { "safer-buffer": ">= 2.1.2 < 3.0.0" } }, "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw=="], + + "ignore": ["ignore@5.3.2", "", {}, "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g=="], + + "immediate": ["immediate@3.0.6", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/immediate/-/immediate-3.0.6.tgz", {}, "sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ=="], + + "import-fresh": ["import-fresh@3.3.1", "", { "dependencies": { "parent-module": "^1.0.0", "resolve-from": "^4.0.0" } }, "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ=="], + + "imurmurhash": ["imurmurhash@0.1.4", "", {}, "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA=="], + + "indent-string": ["indent-string@4.0.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/indent-string/-/indent-string-4.0.0.tgz", {}, "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg=="], + + "inherits": ["inherits@2.0.4", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/inherits/-/inherits-2.0.4.tgz", {}, "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="], + + "inline-style-parser": ["inline-style-parser@0.2.7", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/inline-style-parser/-/inline-style-parser-0.2.7.tgz", {}, "sha512-Nb2ctOyNR8DqQoR0OwRG95uNWIC0C1lCgf5Naz5H6Ji72KZ8OcFZLz2P5sNgwlyoJ8Yif11oMuYs5pBQa86csA=="], + + "input-otp": ["input-otp@1.4.2", "", { "peerDependencies": { "react": "^16.8 || ^17.0 || ^18.0 || ^19.0.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0.0 || ^19.0.0-rc" } }, "sha512-l3jWwYNvrEa6NTCt7BECfCm48GvwuZzkoeG3gBL2w4CHeOXW3eKFmf9UNYkNfYc3mxMrthMnxjIE07MT0zLBQA=="], + + "internmap": ["internmap@2.0.3", "", {}, "sha512-5Hh7Y1wQbvY5ooGgPbDaL5iYLAPzMTUrjMulskHLH6wnv/A+1q5rgEaiuqEjB+oxGXIVZs1FF+R/KPN3ZSQYYg=="], + + "is-alphabetical": ["is-alphabetical@2.0.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/is-alphabetical/-/is-alphabetical-2.0.1.tgz", {}, "sha512-FWyyY60MeTNyeSRpkM2Iry0G9hpr7/9kD40mD/cGQEuilcZYS4okz8SN2Q6rLCJ8gbCt6fN+rC+6tMGS99LaxQ=="], + + "is-alphanumerical": ["is-alphanumerical@2.0.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/is-alphanumerical/-/is-alphanumerical-2.0.1.tgz", { "dependencies": { "is-alphabetical": "^2.0.0", "is-decimal": "^2.0.0" } }, "sha512-hmbYhX/9MUMF5uh7tOXyK/n0ZvWpad5caBA17GsC6vyuCqaWliRG5K1qS9inmUhEMaOBIW7/whAnSwveW/LtZw=="], + + "is-binary-path": ["is-binary-path@2.1.0", "", { "dependencies": { "binary-extensions": "^2.0.0" } }, "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw=="], + + "is-core-module": ["is-core-module@2.15.1", "", { "dependencies": { "hasown": "^2.0.2" } }, "sha512-z0vtXSwucUJtANQWldhbtbt7BnL0vxiFjIdDLAatwhDYty2bad6s+rijD6Ri4YuYJubLzIJLUidCh09e1djEVQ=="], + + "is-decimal": ["is-decimal@2.0.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/is-decimal/-/is-decimal-2.0.1.tgz", {}, "sha512-AAB9hiomQs5DXWcRB1rqsxGUstbRroFOPPVAomNk/3XHR5JyEZChOyTWe2oayKnsSsr/kcGqF+z6yuH6HHpN0A=="], + + "is-extglob": ["is-extglob@2.1.1", "", {}, "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ=="], + + "is-fullwidth-code-point": ["is-fullwidth-code-point@3.0.0", "", {}, "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg=="], + + "is-glob": ["is-glob@4.0.3", "", { "dependencies": { "is-extglob": "^2.1.1" } }, "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg=="], + + "is-hexadecimal": ["is-hexadecimal@2.0.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/is-hexadecimal/-/is-hexadecimal-2.0.1.tgz", {}, "sha512-DgZQp241c8oO6cA1SbTEWiXeoxV42vlcJxgH+B3hi1AiqqKruZR3ZGF8In3fj4+/y/7rHvlOZLZtgJ/4ttYGZg=="], + + "is-number": ["is-number@7.0.0", "", {}, "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng=="], + + "is-plain-obj": ["is-plain-obj@4.1.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/is-plain-obj/-/is-plain-obj-4.1.0.tgz", {}, "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg=="], + + "is-potential-custom-element-name": ["is-potential-custom-element-name@1.0.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz", {}, "sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ=="], + + "isarray": ["isarray@1.0.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/isarray/-/isarray-1.0.0.tgz", {}, "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ=="], + + "isexe": ["isexe@2.0.0", "", {}, "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw=="], + + "jackspeak": ["jackspeak@3.4.3", "", { "dependencies": { "@isaacs/cliui": "^8.0.2" }, "optionalDependencies": { "@pkgjs/parseargs": "^0.11.0" } }, "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw=="], + + "jiti": ["jiti@1.21.6", "", { "bin": "bin/jiti.js" }, "sha512-2yTgeWTWzMWkHu6Jp9NKgePDaYHbntiwvYuuJLbbN9vl7DC9DvXKOB2BC3ZZ92D3cvV/aflH0osDfwpHepQ53w=="], + + "js-tokens": ["js-tokens@4.0.0", "", {}, "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="], + + "js-yaml": ["js-yaml@4.1.0", "", { "dependencies": { "argparse": "^2.0.1" }, "bin": "bin/js-yaml.js" }, "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA=="], + + "jsdom": ["jsdom@20.0.3", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/jsdom/-/jsdom-20.0.3.tgz", { "dependencies": { "abab": "^2.0.6", "acorn": "^8.8.1", "acorn-globals": "^7.0.0", "cssom": "^0.5.0", "cssstyle": "^2.3.0", "data-urls": "^3.0.2", "decimal.js": "^10.4.2", "domexception": "^4.0.0", "escodegen": "^2.0.0", "form-data": "^4.0.0", "html-encoding-sniffer": "^3.0.0", "http-proxy-agent": "^5.0.0", "https-proxy-agent": "^5.0.1", "is-potential-custom-element-name": "^1.0.1", "nwsapi": "^2.2.2", "parse5": "^7.1.1", "saxes": "^6.0.0", "symbol-tree": "^3.2.4", "tough-cookie": "^4.1.2", "w3c-xmlserializer": "^4.0.0", "webidl-conversions": "^7.0.0", "whatwg-encoding": "^2.0.0", "whatwg-mimetype": "^3.0.0", "whatwg-url": "^11.0.0", "ws": "^8.11.0", "xml-name-validator": "^4.0.0" }, "peerDependencies": { "canvas": "^2.5.0" }, "optionalPeers": ["canvas"] }, "sha512-SYhBvTh89tTfCD/CRdSOm13mOBa42iTaTyfyEWBdKcGdPxPtLFBXuHR8XHb33YNYaP+lLbmSvBTsnoesCNJEsQ=="], + + "json-buffer": ["json-buffer@3.0.1", "", {}, "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ=="], + + "json-schema-traverse": ["json-schema-traverse@0.4.1", "", {}, "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg=="], + + "json-stable-stringify-without-jsonify": ["json-stable-stringify-without-jsonify@1.0.1", "", {}, "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw=="], + + "jszip": ["jszip@3.10.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/jszip/-/jszip-3.10.1.tgz", { "dependencies": { "lie": "~3.3.0", "pako": "~1.0.2", "readable-stream": "~2.3.6", "setimmediate": "^1.0.5" } }, "sha512-xXDvecyTpGLrqFrvkrUSoxxfJI5AH7U8zxxtVclpsUtMCq4JQ290LY8AW5c7Ggnr/Y/oK+bQMbqK2qmtk3pN4g=="], + + "katex": ["katex@0.16.45", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/katex/-/katex-0.16.45.tgz", { "dependencies": { "commander": "^8.3.0" }, "bin": { "katex": "cli.js" } }, "sha512-pQpZbdBu7wCTmQUh7ufPmLr0pFoObnGUoL/yhtwJDgmmQpbkg/0HSVti25Fu4rmd1oCR6NGWe9vqTWuWv3GcNA=="], + + "keyv": ["keyv@4.5.4", "", { "dependencies": { "json-buffer": "3.0.1" } }, "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw=="], + + "levn": ["levn@0.4.1", "", { "dependencies": { "prelude-ls": "^1.2.1", "type-check": "~0.4.0" } }, "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ=="], + + "lie": ["lie@3.3.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/lie/-/lie-3.3.0.tgz", { "dependencies": { "immediate": "~3.0.5" } }, "sha512-UaiMJzeWRlEujzAuw5LokY1L5ecNQYZKfmyZ9L7wDHb/p5etKaxXhohBcrw0EYby+G/NA52vRSN4N39dxHAIwQ=="], + + "lilconfig": ["lilconfig@3.1.3", "", {}, "sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw=="], + + "lines-and-columns": ["lines-and-columns@1.2.4", "", {}, "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg=="], + + "locate-path": ["locate-path@6.0.0", "", { "dependencies": { "p-locate": "^5.0.0" } }, "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw=="], + + "lodash": ["lodash@4.17.21", "", {}, "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="], + + "lodash.castarray": ["lodash.castarray@4.4.0", "", {}, "sha512-aVx8ztPv7/2ULbArGJ2Y42bG1mEQ5mGjpdvrbJcJFU3TbYybe+QlLS4pst9zV52ymy2in1KpFPiZnAOATxD4+Q=="], + + "lodash.isplainobject": ["lodash.isplainobject@4.0.6", "", {}, "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA=="], + + "lodash.merge": ["lodash.merge@4.6.2", "", {}, "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ=="], + + "longest-streak": ["longest-streak@3.1.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/longest-streak/-/longest-streak-3.1.0.tgz", {}, "sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g=="], + + "loose-envify": ["loose-envify@1.4.0", "", { "dependencies": { "js-tokens": "^3.0.0 || ^4.0.0" }, "bin": "cli.js" }, "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q=="], + + "lop": ["lop@0.4.2", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/lop/-/lop-0.4.2.tgz", { "dependencies": { "duck": "^0.1.12", "option": "~0.2.1", "underscore": "^1.13.1" } }, "sha512-RefILVDQ4DKoRZsJ4Pj22TxE3omDO47yFpkIBoDKzkqPRISs5U1cnAdg/5583YPkWPaLIYHOKRMQSvjFsO26cw=="], + + "loupe": ["loupe@3.2.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/loupe/-/loupe-3.2.1.tgz", {}, "sha512-CdzqowRJCeLU72bHvWqwRBBlLcMEtIvGrlvef74kMnV2AolS9Y8xUv1I0U/MNAWMhBlKIoyuEgoJ0t/bbwHbLQ=="], + + "lovable-tagger": ["lovable-tagger@1.1.13", "", { "dependencies": { "esbuild": "^0.25.0", "tailwindcss": "^3.4.17" }, "peerDependencies": { "vite": ">=5.0.0 <8.0.0" } }, "sha512-RBEYDxao7Xf8ya29L0cd+ocE7Gs80xPOIOwwck65Hoie8YDKViuXi3UYV14DoNWIvaJ7WVPf7SG3cc844nFqGA=="], + + "lru-cache": ["lru-cache@10.4.3", "", {}, "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ=="], + + "lucide-react": ["lucide-react@0.462.0", "", { "peerDependencies": { "react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0-rc" } }, "sha512-NTL7EbAao9IFtuSivSZgrAh4fZd09Lr+6MTkqIxuHaH2nnYiYIzXPo06cOxHg9wKLdj6LL8TByG4qpePqwgx/g=="], + + "lz-string": ["lz-string@1.5.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/lz-string/-/lz-string-1.5.0.tgz", { "bin": { "lz-string": "bin/bin.js" } }, "sha512-h5bgJWpxJNswbU7qCrV0tIKQCaS3blPDrqKWx+QxzuzL1zGUzij9XCWLrSLsJPu5t+eWA/ycetzYAO5IOMcWAQ=="], + + "magic-string": ["magic-string@0.30.21", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/magic-string/-/magic-string-0.30.21.tgz", { "dependencies": { "@jridgewell/sourcemap-codec": "^1.5.5" } }, "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ=="], + + "mammoth": ["mammoth@1.12.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/mammoth/-/mammoth-1.12.0.tgz", { "dependencies": { "@xmldom/xmldom": "^0.8.6", "argparse": "~1.0.3", "base64-js": "^1.5.1", "bluebird": "~3.4.0", "dingbat-to-unicode": "^1.0.1", "jszip": "^3.7.1", "lop": "^0.4.2", "path-is-absolute": "^1.0.0", "underscore": "^1.13.1", "xmlbuilder": "^10.0.0" }, "bin": { "mammoth": "bin/mammoth" } }, "sha512-cwnK1RIcRdDMi2HRx2EXGYlxqIEh0Oo3bLhorgnsVJi2UkbX1+jKxuBNR9PC5+JaX7EkmJxFPmo6mjLpqShI2w=="], + + "markdown-table": ["markdown-table@3.0.4", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/markdown-table/-/markdown-table-3.0.4.tgz", {}, "sha512-wiYz4+JrLyb/DqW2hkFJxP7Vd7JuTDm77fvbM8VfEQdmSMqcImWeeRbHwZjBjIFki/VaMK2BhFi7oUUZeM5bqw=="], + + "math-intrinsics": ["math-intrinsics@1.1.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/math-intrinsics/-/math-intrinsics-1.1.0.tgz", {}, "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g=="], + + "mdast-util-find-and-replace": ["mdast-util-find-and-replace@3.0.2", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/mdast-util-find-and-replace/-/mdast-util-find-and-replace-3.0.2.tgz", { "dependencies": { "@types/mdast": "^4.0.0", "escape-string-regexp": "^5.0.0", "unist-util-is": "^6.0.0", "unist-util-visit-parents": "^6.0.0" } }, "sha512-Tmd1Vg/m3Xz43afeNxDIhWRtFZgM2VLyaf4vSTYwudTyeuTneoL3qtWMA5jeLyz/O1vDJmmV4QuScFCA2tBPwg=="], + + "mdast-util-from-markdown": ["mdast-util-from-markdown@2.0.3", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/mdast-util-from-markdown/-/mdast-util-from-markdown-2.0.3.tgz", { "dependencies": { "@types/mdast": "^4.0.0", "@types/unist": "^3.0.0", "decode-named-character-reference": "^1.0.0", "devlop": "^1.0.0", "mdast-util-to-string": "^4.0.0", "micromark": "^4.0.0", "micromark-util-decode-numeric-character-reference": "^2.0.0", "micromark-util-decode-string": "^2.0.0", "micromark-util-normalize-identifier": "^2.0.0", "micromark-util-symbol": "^2.0.0", "micromark-util-types": "^2.0.0", "unist-util-stringify-position": "^4.0.0" } }, "sha512-W4mAWTvSlKvf8L6J+VN9yLSqQ9AOAAvHuoDAmPkz4dHf553m5gVj2ejadHJhoJmcmxEnOv6Pa8XJhpxE93kb8Q=="], + + "mdast-util-gfm": ["mdast-util-gfm@3.1.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/mdast-util-gfm/-/mdast-util-gfm-3.1.0.tgz", { "dependencies": { "mdast-util-from-markdown": "^2.0.0", "mdast-util-gfm-autolink-literal": "^2.0.0", "mdast-util-gfm-footnote": "^2.0.0", "mdast-util-gfm-strikethrough": "^2.0.0", "mdast-util-gfm-table": "^2.0.0", "mdast-util-gfm-task-list-item": "^2.0.0", "mdast-util-to-markdown": "^2.0.0" } }, "sha512-0ulfdQOM3ysHhCJ1p06l0b0VKlhU0wuQs3thxZQagjcjPrlFRqY215uZGHHJan9GEAXd9MbfPjFJz+qMkVR6zQ=="], + + "mdast-util-gfm-autolink-literal": ["mdast-util-gfm-autolink-literal@2.0.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/mdast-util-gfm-autolink-literal/-/mdast-util-gfm-autolink-literal-2.0.1.tgz", { "dependencies": { "@types/mdast": "^4.0.0", "ccount": "^2.0.0", "devlop": "^1.0.0", "mdast-util-find-and-replace": "^3.0.0", "micromark-util-character": "^2.0.0" } }, "sha512-5HVP2MKaP6L+G6YaxPNjuL0BPrq9orG3TsrZ9YXbA3vDw/ACI4MEsnoDpn6ZNm7GnZgtAcONJyPhOP8tNJQavQ=="], + + "mdast-util-gfm-footnote": ["mdast-util-gfm-footnote@2.1.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/mdast-util-gfm-footnote/-/mdast-util-gfm-footnote-2.1.0.tgz", { "dependencies": { "@types/mdast": "^4.0.0", "devlop": "^1.1.0", "mdast-util-from-markdown": "^2.0.0", "mdast-util-to-markdown": "^2.0.0", "micromark-util-normalize-identifier": "^2.0.0" } }, "sha512-sqpDWlsHn7Ac9GNZQMeUzPQSMzR6Wv0WKRNvQRg0KqHh02fpTz69Qc1QSseNX29bhz1ROIyNyxExfawVKTm1GQ=="], + + "mdast-util-gfm-strikethrough": ["mdast-util-gfm-strikethrough@2.0.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/mdast-util-gfm-strikethrough/-/mdast-util-gfm-strikethrough-2.0.0.tgz", { "dependencies": { "@types/mdast": "^4.0.0", "mdast-util-from-markdown": "^2.0.0", "mdast-util-to-markdown": "^2.0.0" } }, "sha512-mKKb915TF+OC5ptj5bJ7WFRPdYtuHv0yTRxK2tJvi+BDqbkiG7h7u/9SI89nRAYcmap2xHQL9D+QG/6wSrTtXg=="], + + "mdast-util-gfm-table": ["mdast-util-gfm-table@2.0.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/mdast-util-gfm-table/-/mdast-util-gfm-table-2.0.0.tgz", { "dependencies": { "@types/mdast": "^4.0.0", "devlop": "^1.0.0", "markdown-table": "^3.0.0", "mdast-util-from-markdown": "^2.0.0", "mdast-util-to-markdown": "^2.0.0" } }, "sha512-78UEvebzz/rJIxLvE7ZtDd/vIQ0RHv+3Mh5DR96p7cS7HsBhYIICDBCu8csTNWNO6tBWfqXPWekRuj2FNOGOZg=="], + + "mdast-util-gfm-task-list-item": ["mdast-util-gfm-task-list-item@2.0.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/mdast-util-gfm-task-list-item/-/mdast-util-gfm-task-list-item-2.0.0.tgz", { "dependencies": { "@types/mdast": "^4.0.0", "devlop": "^1.0.0", "mdast-util-from-markdown": "^2.0.0", "mdast-util-to-markdown": "^2.0.0" } }, "sha512-IrtvNvjxC1o06taBAVJznEnkiHxLFTzgonUdy8hzFVeDun0uTjxxrRGVaNFqkU1wJR3RBPEfsxmU6jDWPofrTQ=="], + + "mdast-util-math": ["mdast-util-math@3.0.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/mdast-util-math/-/mdast-util-math-3.0.0.tgz", { "dependencies": { "@types/hast": "^3.0.0", "@types/mdast": "^4.0.0", "devlop": "^1.0.0", "longest-streak": "^3.0.0", "mdast-util-from-markdown": "^2.0.0", "mdast-util-to-markdown": "^2.1.0", "unist-util-remove-position": "^5.0.0" } }, "sha512-Tl9GBNeG/AhJnQM221bJR2HPvLOSnLE/T9cJI9tlc6zwQk2nPk/4f0cHkOdEixQPC/j8UtKDdITswvLAy1OZ1w=="], + + "mdast-util-mdx-expression": ["mdast-util-mdx-expression@2.0.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/mdast-util-mdx-expression/-/mdast-util-mdx-expression-2.0.1.tgz", { "dependencies": { "@types/estree-jsx": "^1.0.0", "@types/hast": "^3.0.0", "@types/mdast": "^4.0.0", "devlop": "^1.0.0", "mdast-util-from-markdown": "^2.0.0", "mdast-util-to-markdown": "^2.0.0" } }, "sha512-J6f+9hUp+ldTZqKRSg7Vw5V6MqjATc+3E4gf3CFNcuZNWD8XdyI6zQ8GqH7f8169MM6P7hMBRDVGnn7oHB9kXQ=="], + + "mdast-util-mdx-jsx": ["mdast-util-mdx-jsx@3.2.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/mdast-util-mdx-jsx/-/mdast-util-mdx-jsx-3.2.0.tgz", { "dependencies": { "@types/estree-jsx": "^1.0.0", "@types/hast": "^3.0.0", "@types/mdast": "^4.0.0", "@types/unist": "^3.0.0", "ccount": "^2.0.0", "devlop": "^1.1.0", "mdast-util-from-markdown": "^2.0.0", "mdast-util-to-markdown": "^2.0.0", "parse-entities": "^4.0.0", "stringify-entities": "^4.0.0", "unist-util-stringify-position": "^4.0.0", "vfile-message": "^4.0.0" } }, "sha512-lj/z8v0r6ZtsN/cGNNtemmmfoLAFZnjMbNyLzBafjzikOM+glrjNHPlf6lQDOTccj9n5b0PPihEBbhneMyGs1Q=="], + + "mdast-util-mdxjs-esm": ["mdast-util-mdxjs-esm@2.0.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/mdast-util-mdxjs-esm/-/mdast-util-mdxjs-esm-2.0.1.tgz", { "dependencies": { "@types/estree-jsx": "^1.0.0", "@types/hast": "^3.0.0", "@types/mdast": "^4.0.0", "devlop": "^1.0.0", "mdast-util-from-markdown": "^2.0.0", "mdast-util-to-markdown": "^2.0.0" } }, "sha512-EcmOpxsZ96CvlP03NghtH1EsLtr0n9Tm4lPUJUBccV9RwUOneqSycg19n5HGzCf+10LozMRSObtVr3ee1WoHtg=="], + + "mdast-util-phrasing": ["mdast-util-phrasing@4.1.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/mdast-util-phrasing/-/mdast-util-phrasing-4.1.0.tgz", { "dependencies": { "@types/mdast": "^4.0.0", "unist-util-is": "^6.0.0" } }, "sha512-TqICwyvJJpBwvGAMZjj4J2n0X8QWp21b9l0o7eXyVJ25YNWYbJDVIyD1bZXE6WtV6RmKJVYmQAKWa0zWOABz2w=="], + + "mdast-util-to-hast": ["mdast-util-to-hast@13.2.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/mdast-util-to-hast/-/mdast-util-to-hast-13.2.1.tgz", { "dependencies": { "@types/hast": "^3.0.0", "@types/mdast": "^4.0.0", "@ungap/structured-clone": "^1.0.0", "devlop": "^1.0.0", "micromark-util-sanitize-uri": "^2.0.0", "trim-lines": "^3.0.0", "unist-util-position": "^5.0.0", "unist-util-visit": "^5.0.0", "vfile": "^6.0.0" } }, "sha512-cctsq2wp5vTsLIcaymblUriiTcZd0CwWtCbLvrOzYCDZoWyMNV8sZ7krj09FSnsiJi3WVsHLM4k6Dq/yaPyCXA=="], + + "mdast-util-to-markdown": ["mdast-util-to-markdown@2.1.2", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/mdast-util-to-markdown/-/mdast-util-to-markdown-2.1.2.tgz", { "dependencies": { "@types/mdast": "^4.0.0", "@types/unist": "^3.0.0", "longest-streak": "^3.0.0", "mdast-util-phrasing": "^4.0.0", "mdast-util-to-string": "^4.0.0", "micromark-util-classify-character": "^2.0.0", "micromark-util-decode-string": "^2.0.0", "unist-util-visit": "^5.0.0", "zwitch": "^2.0.0" } }, "sha512-xj68wMTvGXVOKonmog6LwyJKrYXZPvlwabaryTjLh9LuvovB/KAH+kvi8Gjj+7rJjsFi23nkUxRQv1KqSroMqA=="], + + "mdast-util-to-string": ["mdast-util-to-string@4.0.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/mdast-util-to-string/-/mdast-util-to-string-4.0.0.tgz", { "dependencies": { "@types/mdast": "^4.0.0" } }, "sha512-0H44vDimn51F0YwvxSJSm0eCDOJTRlmN0R1yBh4HLj9wiV1Dn0QoXGbvFAWj2hSItVTlCmBF1hqKlIyUBVFLPg=="], + + "merge2": ["merge2@1.4.1", "", {}, "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg=="], + + "micromark": ["micromark@4.0.2", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/micromark/-/micromark-4.0.2.tgz", { "dependencies": { "@types/debug": "^4.0.0", "debug": "^4.0.0", "decode-named-character-reference": "^1.0.0", "devlop": "^1.0.0", "micromark-core-commonmark": "^2.0.0", "micromark-factory-space": "^2.0.0", "micromark-util-character": "^2.0.0", "micromark-util-chunked": "^2.0.0", "micromark-util-combine-extensions": "^2.0.0", "micromark-util-decode-numeric-character-reference": "^2.0.0", "micromark-util-encode": "^2.0.0", "micromark-util-normalize-identifier": "^2.0.0", "micromark-util-resolve-all": "^2.0.0", "micromark-util-sanitize-uri": "^2.0.0", "micromark-util-subtokenize": "^2.0.0", "micromark-util-symbol": "^2.0.0", "micromark-util-types": "^2.0.0" } }, "sha512-zpe98Q6kvavpCr1NPVSCMebCKfD7CA2NqZ+rykeNhONIJBpc1tFKt9hucLGwha3jNTNI8lHpctWJWoimVF4PfA=="], + + "micromark-core-commonmark": ["micromark-core-commonmark@2.0.3", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/micromark-core-commonmark/-/micromark-core-commonmark-2.0.3.tgz", { "dependencies": { "decode-named-character-reference": "^1.0.0", "devlop": "^1.0.0", "micromark-factory-destination": "^2.0.0", "micromark-factory-label": "^2.0.0", "micromark-factory-space": "^2.0.0", "micromark-factory-title": "^2.0.0", "micromark-factory-whitespace": "^2.0.0", "micromark-util-character": "^2.0.0", "micromark-util-chunked": "^2.0.0", "micromark-util-classify-character": "^2.0.0", "micromark-util-html-tag-name": "^2.0.0", "micromark-util-normalize-identifier": "^2.0.0", "micromark-util-resolve-all": "^2.0.0", "micromark-util-subtokenize": "^2.0.0", "micromark-util-symbol": "^2.0.0", "micromark-util-types": "^2.0.0" } }, "sha512-RDBrHEMSxVFLg6xvnXmb1Ayr2WzLAWjeSATAoxwKYJV94TeNavgoIdA0a9ytzDSVzBy2YKFK+emCPOEibLeCrg=="], + + "micromark-extension-gfm": ["micromark-extension-gfm@3.0.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/micromark-extension-gfm/-/micromark-extension-gfm-3.0.0.tgz", { "dependencies": { "micromark-extension-gfm-autolink-literal": "^2.0.0", "micromark-extension-gfm-footnote": "^2.0.0", "micromark-extension-gfm-strikethrough": "^2.0.0", "micromark-extension-gfm-table": "^2.0.0", "micromark-extension-gfm-tagfilter": "^2.0.0", "micromark-extension-gfm-task-list-item": "^2.0.0", "micromark-util-combine-extensions": "^2.0.0", "micromark-util-types": "^2.0.0" } }, "sha512-vsKArQsicm7t0z2GugkCKtZehqUm31oeGBV/KVSorWSy8ZlNAv7ytjFhvaryUiCUJYqs+NoE6AFhpQvBTM6Q4w=="], + + "micromark-extension-gfm-autolink-literal": ["micromark-extension-gfm-autolink-literal@2.1.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/micromark-extension-gfm-autolink-literal/-/micromark-extension-gfm-autolink-literal-2.1.0.tgz", { "dependencies": { "micromark-util-character": "^2.0.0", "micromark-util-sanitize-uri": "^2.0.0", "micromark-util-symbol": "^2.0.0", "micromark-util-types": "^2.0.0" } }, "sha512-oOg7knzhicgQ3t4QCjCWgTmfNhvQbDDnJeVu9v81r7NltNCVmhPy1fJRX27pISafdjL+SVc4d3l48Gb6pbRypw=="], + + "micromark-extension-gfm-footnote": ["micromark-extension-gfm-footnote@2.1.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/micromark-extension-gfm-footnote/-/micromark-extension-gfm-footnote-2.1.0.tgz", { "dependencies": { "devlop": "^1.0.0", "micromark-core-commonmark": "^2.0.0", "micromark-factory-space": "^2.0.0", "micromark-util-character": "^2.0.0", "micromark-util-normalize-identifier": "^2.0.0", "micromark-util-sanitize-uri": "^2.0.0", "micromark-util-symbol": "^2.0.0", "micromark-util-types": "^2.0.0" } }, "sha512-/yPhxI1ntnDNsiHtzLKYnE3vf9JZ6cAisqVDauhp4CEHxlb4uoOTxOCJ+9s51bIB8U1N1FJ1RXOKTIlD5B/gqw=="], + + "micromark-extension-gfm-strikethrough": ["micromark-extension-gfm-strikethrough@2.1.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/micromark-extension-gfm-strikethrough/-/micromark-extension-gfm-strikethrough-2.1.0.tgz", { "dependencies": { "devlop": "^1.0.0", "micromark-util-chunked": "^2.0.0", "micromark-util-classify-character": "^2.0.0", "micromark-util-resolve-all": "^2.0.0", "micromark-util-symbol": "^2.0.0", "micromark-util-types": "^2.0.0" } }, "sha512-ADVjpOOkjz1hhkZLlBiYA9cR2Anf8F4HqZUO6e5eDcPQd0Txw5fxLzzxnEkSkfnD0wziSGiv7sYhk/ktvbf1uw=="], + + "micromark-extension-gfm-table": ["micromark-extension-gfm-table@2.1.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/micromark-extension-gfm-table/-/micromark-extension-gfm-table-2.1.1.tgz", { "dependencies": { "devlop": "^1.0.0", "micromark-factory-space": "^2.0.0", "micromark-util-character": "^2.0.0", "micromark-util-symbol": "^2.0.0", "micromark-util-types": "^2.0.0" } }, "sha512-t2OU/dXXioARrC6yWfJ4hqB7rct14e8f7m0cbI5hUmDyyIlwv5vEtooptH8INkbLzOatzKuVbQmAYcbWoyz6Dg=="], + + "micromark-extension-gfm-tagfilter": ["micromark-extension-gfm-tagfilter@2.0.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/micromark-extension-gfm-tagfilter/-/micromark-extension-gfm-tagfilter-2.0.0.tgz", { "dependencies": { "micromark-util-types": "^2.0.0" } }, "sha512-xHlTOmuCSotIA8TW1mDIM6X2O1SiX5P9IuDtqGonFhEK0qgRI4yeC6vMxEV2dgyr2TiD+2PQ10o+cOhdVAcwfg=="], + + "micromark-extension-gfm-task-list-item": ["micromark-extension-gfm-task-list-item@2.1.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/micromark-extension-gfm-task-list-item/-/micromark-extension-gfm-task-list-item-2.1.0.tgz", { "dependencies": { "devlop": "^1.0.0", "micromark-factory-space": "^2.0.0", "micromark-util-character": "^2.0.0", "micromark-util-symbol": "^2.0.0", "micromark-util-types": "^2.0.0" } }, "sha512-qIBZhqxqI6fjLDYFTBIa4eivDMnP+OZqsNwmQ3xNLE4Cxwc+zfQEfbs6tzAo2Hjq+bh6q5F+Z8/cksrLFYWQQw=="], + + "micromark-extension-math": ["micromark-extension-math@3.1.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/micromark-extension-math/-/micromark-extension-math-3.1.0.tgz", { "dependencies": { "@types/katex": "^0.16.0", "devlop": "^1.0.0", "katex": "^0.16.0", "micromark-factory-space": "^2.0.0", "micromark-util-character": "^2.0.0", "micromark-util-symbol": "^2.0.0", "micromark-util-types": "^2.0.0" } }, "sha512-lvEqd+fHjATVs+2v/8kg9i5Q0AP2k85H0WUOwpIVvUML8BapsMvh1XAogmQjOCsLpoKRCVQqEkQBB3NhVBcsOg=="], + + "micromark-factory-destination": ["micromark-factory-destination@2.0.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/micromark-factory-destination/-/micromark-factory-destination-2.0.1.tgz", { "dependencies": { "micromark-util-character": "^2.0.0", "micromark-util-symbol": "^2.0.0", "micromark-util-types": "^2.0.0" } }, "sha512-Xe6rDdJlkmbFRExpTOmRj9N3MaWmbAgdpSrBQvCFqhezUn4AHqJHbaEnfbVYYiexVSs//tqOdY/DxhjdCiJnIA=="], + + "micromark-factory-label": ["micromark-factory-label@2.0.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/micromark-factory-label/-/micromark-factory-label-2.0.1.tgz", { "dependencies": { "devlop": "^1.0.0", "micromark-util-character": "^2.0.0", "micromark-util-symbol": "^2.0.0", "micromark-util-types": "^2.0.0" } }, "sha512-VFMekyQExqIW7xIChcXn4ok29YE3rnuyveW3wZQWWqF4Nv9Wk5rgJ99KzPvHjkmPXF93FXIbBp6YdW3t71/7Vg=="], + + "micromark-factory-space": ["micromark-factory-space@2.0.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/micromark-factory-space/-/micromark-factory-space-2.0.1.tgz", { "dependencies": { "micromark-util-character": "^2.0.0", "micromark-util-types": "^2.0.0" } }, "sha512-zRkxjtBxxLd2Sc0d+fbnEunsTj46SWXgXciZmHq0kDYGnck/ZSGj9/wULTV95uoeYiK5hRXP2mJ98Uo4cq/LQg=="], + + "micromark-factory-title": ["micromark-factory-title@2.0.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/micromark-factory-title/-/micromark-factory-title-2.0.1.tgz", { "dependencies": { "micromark-factory-space": "^2.0.0", "micromark-util-character": "^2.0.0", "micromark-util-symbol": "^2.0.0", "micromark-util-types": "^2.0.0" } }, "sha512-5bZ+3CjhAd9eChYTHsjy6TGxpOFSKgKKJPJxr293jTbfry2KDoWkhBb6TcPVB4NmzaPhMs1Frm9AZH7OD4Cjzw=="], + + "micromark-factory-whitespace": ["micromark-factory-whitespace@2.0.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/micromark-factory-whitespace/-/micromark-factory-whitespace-2.0.1.tgz", { "dependencies": { "micromark-factory-space": "^2.0.0", "micromark-util-character": "^2.0.0", "micromark-util-symbol": "^2.0.0", "micromark-util-types": "^2.0.0" } }, "sha512-Ob0nuZ3PKt/n0hORHyvoD9uZhr+Za8sFoP+OnMcnWK5lngSzALgQYKMr9RJVOWLqQYuyn6ulqGWSXdwf6F80lQ=="], + + "micromark-util-character": ["micromark-util-character@2.1.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/micromark-util-character/-/micromark-util-character-2.1.1.tgz", { "dependencies": { "micromark-util-symbol": "^2.0.0", "micromark-util-types": "^2.0.0" } }, "sha512-wv8tdUTJ3thSFFFJKtpYKOYiGP2+v96Hvk4Tu8KpCAsTMs6yi+nVmGh1syvSCsaxz45J6Jbw+9DD6g97+NV67Q=="], + + "micromark-util-chunked": ["micromark-util-chunked@2.0.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/micromark-util-chunked/-/micromark-util-chunked-2.0.1.tgz", { "dependencies": { "micromark-util-symbol": "^2.0.0" } }, "sha512-QUNFEOPELfmvv+4xiNg2sRYeS/P84pTW0TCgP5zc9FpXetHY0ab7SxKyAQCNCc1eK0459uoLI1y5oO5Vc1dbhA=="], + + "micromark-util-classify-character": ["micromark-util-classify-character@2.0.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/micromark-util-classify-character/-/micromark-util-classify-character-2.0.1.tgz", { "dependencies": { "micromark-util-character": "^2.0.0", "micromark-util-symbol": "^2.0.0", "micromark-util-types": "^2.0.0" } }, "sha512-K0kHzM6afW/MbeWYWLjoHQv1sgg2Q9EccHEDzSkxiP/EaagNzCm7T/WMKZ3rjMbvIpvBiZgwR3dKMygtA4mG1Q=="], + + "micromark-util-combine-extensions": ["micromark-util-combine-extensions@2.0.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/micromark-util-combine-extensions/-/micromark-util-combine-extensions-2.0.1.tgz", { "dependencies": { "micromark-util-chunked": "^2.0.0", "micromark-util-types": "^2.0.0" } }, "sha512-OnAnH8Ujmy59JcyZw8JSbK9cGpdVY44NKgSM7E9Eh7DiLS2E9RNQf0dONaGDzEG9yjEl5hcqeIsj4hfRkLH/Bg=="], + + "micromark-util-decode-numeric-character-reference": ["micromark-util-decode-numeric-character-reference@2.0.2", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/micromark-util-decode-numeric-character-reference/-/micromark-util-decode-numeric-character-reference-2.0.2.tgz", { "dependencies": { "micromark-util-symbol": "^2.0.0" } }, "sha512-ccUbYk6CwVdkmCQMyr64dXz42EfHGkPQlBj5p7YVGzq8I7CtjXZJrubAYezf7Rp+bjPseiROqe7G6foFd+lEuw=="], + + "micromark-util-decode-string": ["micromark-util-decode-string@2.0.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/micromark-util-decode-string/-/micromark-util-decode-string-2.0.1.tgz", { "dependencies": { "decode-named-character-reference": "^1.0.0", "micromark-util-character": "^2.0.0", "micromark-util-decode-numeric-character-reference": "^2.0.0", "micromark-util-symbol": "^2.0.0" } }, "sha512-nDV/77Fj6eH1ynwscYTOsbK7rR//Uj0bZXBwJZRfaLEJ1iGBR6kIfNmlNqaqJf649EP0F3NWNdeJi03elllNUQ=="], + + "micromark-util-encode": ["micromark-util-encode@2.0.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/micromark-util-encode/-/micromark-util-encode-2.0.1.tgz", {}, "sha512-c3cVx2y4KqUnwopcO9b/SCdo2O67LwJJ/UyqGfbigahfegL9myoEFoDYZgkT7f36T0bLrM9hZTAaAyH+PCAXjw=="], + + "micromark-util-html-tag-name": ["micromark-util-html-tag-name@2.0.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/micromark-util-html-tag-name/-/micromark-util-html-tag-name-2.0.1.tgz", {}, "sha512-2cNEiYDhCWKI+Gs9T0Tiysk136SnR13hhO8yW6BGNyhOC4qYFnwF1nKfD3HFAIXA5c45RrIG1ub11GiXeYd1xA=="], + + "micromark-util-normalize-identifier": ["micromark-util-normalize-identifier@2.0.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/micromark-util-normalize-identifier/-/micromark-util-normalize-identifier-2.0.1.tgz", { "dependencies": { "micromark-util-symbol": "^2.0.0" } }, "sha512-sxPqmo70LyARJs0w2UclACPUUEqltCkJ6PhKdMIDuJ3gSf/Q+/GIe3WKl0Ijb/GyH9lOpUkRAO2wp0GVkLvS9Q=="], + + "micromark-util-resolve-all": ["micromark-util-resolve-all@2.0.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/micromark-util-resolve-all/-/micromark-util-resolve-all-2.0.1.tgz", { "dependencies": { "micromark-util-types": "^2.0.0" } }, "sha512-VdQyxFWFT2/FGJgwQnJYbe1jjQoNTS4RjglmSjTUlpUMa95Htx9NHeYW4rGDJzbjvCsl9eLjMQwGeElsqmzcHg=="], + + "micromark-util-sanitize-uri": ["micromark-util-sanitize-uri@2.0.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-2.0.1.tgz", { "dependencies": { "micromark-util-character": "^2.0.0", "micromark-util-encode": "^2.0.0", "micromark-util-symbol": "^2.0.0" } }, "sha512-9N9IomZ/YuGGZZmQec1MbgxtlgougxTodVwDzzEouPKo3qFWvymFHWcnDi2vzV1ff6kas9ucW+o3yzJK9YB1AQ=="], + + "micromark-util-subtokenize": ["micromark-util-subtokenize@2.1.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/micromark-util-subtokenize/-/micromark-util-subtokenize-2.1.0.tgz", { "dependencies": { "devlop": "^1.0.0", "micromark-util-chunked": "^2.0.0", "micromark-util-symbol": "^2.0.0", "micromark-util-types": "^2.0.0" } }, "sha512-XQLu552iSctvnEcgXw6+Sx75GflAPNED1qx7eBJ+wydBb2KCbRZe+NwvIEEMM83uml1+2WSXpBAcp9IUCgCYWA=="], + + "micromark-util-symbol": ["micromark-util-symbol@2.0.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/micromark-util-symbol/-/micromark-util-symbol-2.0.1.tgz", {}, "sha512-vs5t8Apaud9N28kgCrRUdEed4UJ+wWNvicHLPxCa9ENlYuAY31M0ETy5y1vA33YoNPDFTghEbnh6efaE8h4x0Q=="], + + "micromark-util-types": ["micromark-util-types@2.0.2", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/micromark-util-types/-/micromark-util-types-2.0.2.tgz", {}, "sha512-Yw0ECSpJoViF1qTU4DC6NwtC4aWGt1EkzaQB8KPPyCRR8z9TWeV0HbEFGTO+ZY1wB22zmxnJqhPyTpOVCpeHTA=="], + + "micromatch": ["micromatch@4.0.8", "", { "dependencies": { "braces": "^3.0.3", "picomatch": "^2.3.1" } }, "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA=="], + + "mime-db": ["mime-db@1.52.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/mime-db/-/mime-db-1.52.0.tgz", {}, "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg=="], + + "mime-types": ["mime-types@2.1.35", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/mime-types/-/mime-types-2.1.35.tgz", { "dependencies": { "mime-db": "1.52.0" } }, "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw=="], + + "min-indent": ["min-indent@1.0.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/min-indent/-/min-indent-1.0.1.tgz", {}, "sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg=="], + + "minimatch": ["minimatch@3.1.2", "", { "dependencies": { "brace-expansion": "^1.1.7" } }, "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw=="], + + "minipass": ["minipass@7.1.2", "", {}, "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw=="], + + "ms": ["ms@2.1.3", "", {}, "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="], + + "mz": ["mz@2.7.0", "", { "dependencies": { "any-promise": "^1.0.0", "object-assign": "^4.0.1", "thenify-all": "^1.0.0" } }, "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q=="], + + "nanoid": ["nanoid@3.3.11", "", { "bin": "bin/nanoid.cjs" }, "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w=="], + + "natural-compare": ["natural-compare@1.4.0", "", {}, "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw=="], + + "next-themes": ["next-themes@0.3.0", "", { "peerDependencies": { "react": "^16.8 || ^17 || ^18", "react-dom": "^16.8 || ^17 || ^18" } }, "sha512-/QHIrsYpd6Kfk7xakK4svpDI5mmXP0gfvCoJdGpZQ2TOrQZmsW0QxjaiLn8wbIKjtm4BTSqLoix4lxYYOnLJ/w=="], + + "node-releases": ["node-releases@2.0.19", "", {}, "sha512-xxOWJsBKtzAq7DY0J+DTzuz58K8e7sJbdgwkbMWQe8UYB6ekmsQ45q0M/tJDsGaZmbC+l7n57UV8Hl5tHxO9uw=="], + + "normalize-path": ["normalize-path@3.0.0", "", {}, "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA=="], + + "normalize-range": ["normalize-range@0.1.2", "", {}, "sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA=="], + + "nwsapi": ["nwsapi@2.2.23", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/nwsapi/-/nwsapi-2.2.23.tgz", {}, "sha512-7wfH4sLbt4M0gCDzGE6vzQBo0bfTKjU7Sfpqy/7gs1qBfYz2vEJH6vXcBKpO3+6Yu1telwd0t9HpyOoLEQQbIQ=="], + + "object-assign": ["object-assign@4.1.1", "", {}, "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg=="], + + "object-hash": ["object-hash@3.0.0", "", {}, "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw=="], + + "option": ["option@0.2.4", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/option/-/option-0.2.4.tgz", {}, "sha512-pkEqbDyl8ou5cpq+VsnQbe/WlEy5qS7xPzMS1U55OCG9KPvwFD46zDbxQIj3egJSFc3D+XhYOPUzz49zQAVy7A=="], + + "optionator": ["optionator@0.9.4", "", { "dependencies": { "deep-is": "^0.1.3", "fast-levenshtein": "^2.0.6", "levn": "^0.4.1", "prelude-ls": "^1.2.1", "type-check": "^0.4.0", "word-wrap": "^1.2.5" } }, "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g=="], + + "p-limit": ["p-limit@3.1.0", "", { "dependencies": { "yocto-queue": "^0.1.0" } }, "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ=="], + + "p-locate": ["p-locate@5.0.0", "", { "dependencies": { "p-limit": "^3.0.2" } }, "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw=="], + + "package-json-from-dist": ["package-json-from-dist@1.0.1", "", {}, "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw=="], + + "pako": ["pako@1.0.11", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/pako/-/pako-1.0.11.tgz", {}, "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw=="], + + "parent-module": ["parent-module@1.0.1", "", { "dependencies": { "callsites": "^3.0.0" } }, "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g=="], + + "parse-entities": ["parse-entities@4.0.2", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/parse-entities/-/parse-entities-4.0.2.tgz", { "dependencies": { "@types/unist": "^2.0.0", "character-entities-legacy": "^3.0.0", "character-reference-invalid": "^2.0.0", "decode-named-character-reference": "^1.0.0", "is-alphanumerical": "^2.0.0", "is-decimal": "^2.0.0", "is-hexadecimal": "^2.0.0" } }, "sha512-GG2AQYWoLgL877gQIKeRPGO1xF9+eG1ujIb5soS5gPvLQ1y2o8FL90w2QWNdf9I361Mpp7726c+lj3U0qK1uGw=="], + + "parse5": ["parse5@7.3.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/parse5/-/parse5-7.3.0.tgz", { "dependencies": { "entities": "^6.0.0" } }, "sha512-IInvU7fabl34qmi9gY8XOVxhYyMyuH2xUNpb2q8/Y+7552KlejkRvqvD19nMoUW/uQGGbqNpA6Tufu5FL5BZgw=="], + + "path-exists": ["path-exists@4.0.0", "", {}, "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w=="], + + "path-is-absolute": ["path-is-absolute@1.0.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/path-is-absolute/-/path-is-absolute-1.0.1.tgz", {}, "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg=="], + + "path-key": ["path-key@3.1.1", "", {}, "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q=="], + + "path-parse": ["path-parse@1.0.7", "", {}, "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw=="], + + "path-scurry": ["path-scurry@1.11.1", "", { "dependencies": { "lru-cache": "^10.2.0", "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" } }, "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA=="], + + "pathe": ["pathe@2.0.3", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/pathe/-/pathe-2.0.3.tgz", {}, "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w=="], + + "pathval": ["pathval@2.0.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/pathval/-/pathval-2.0.1.tgz", {}, "sha512-//nshmD55c46FuFw26xV/xFAaB5HF9Xdap7HJBBnrKdAd6/GxDBaNA1870O79+9ueg61cZLSVc+OaFlfmObYVQ=="], + + "picocolors": ["picocolors@1.1.1", "", {}, "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA=="], + + "picomatch": ["picomatch@4.0.4", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/picomatch/-/picomatch-4.0.4.tgz", {}, "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A=="], + + "pify": ["pify@2.3.0", "", {}, "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog=="], + + "pirates": ["pirates@4.0.6", "", {}, "sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg=="], + + "postcss": ["postcss@8.5.6", "", { "dependencies": { "nanoid": "^3.3.11", "picocolors": "^1.1.1", "source-map-js": "^1.2.1" } }, "sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg=="], + + "postcss-import": ["postcss-import@15.1.0", "", { "dependencies": { "postcss-value-parser": "^4.0.0", "read-cache": "^1.0.0", "resolve": "^1.1.7" }, "peerDependencies": { "postcss": "^8.0.0" } }, "sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew=="], + + "postcss-js": ["postcss-js@4.0.1", "", { "dependencies": { "camelcase-css": "^2.0.1" }, "peerDependencies": { "postcss": "^8.4.21" } }, "sha512-dDLF8pEO191hJMtlHFPRa8xsizHaM82MLfNkUHdUtVEV3tgTp5oj+8qbEqYM57SLfc74KSbw//4SeJma2LRVIw=="], + + "postcss-load-config": ["postcss-load-config@4.0.2", "", { "dependencies": { "lilconfig": "^3.0.0", "yaml": "^2.3.4" }, "peerDependencies": { "postcss": ">=8.0.9", "ts-node": ">=9.0.0" }, "optionalPeers": ["ts-node"] }, "sha512-bSVhyJGL00wMVoPUzAVAnbEoWyqRxkjv64tUl427SKnPrENtq6hJwUojroMz2VB+Q1edmi4IfrAPpami5VVgMQ=="], + + "postcss-nested": ["postcss-nested@6.2.0", "", { "dependencies": { "postcss-selector-parser": "^6.1.1" }, "peerDependencies": { "postcss": "^8.2.14" } }, "sha512-HQbt28KulC5AJzG+cZtj9kvKB93CFCdLvog1WFLf1D+xmMvPGlBstkpTEZfK5+AN9hfJocyBFCNiqyS48bpgzQ=="], + + "postcss-selector-parser": ["postcss-selector-parser@6.0.10", "", { "dependencies": { "cssesc": "^3.0.0", "util-deprecate": "^1.0.2" } }, "sha512-IQ7TZdoaqbT+LCpShg46jnZVlhWD2w6iQYAcYXfHARZ7X1t/UGhhceQDs5X0cGqKvYlHNOuv7Oa1xmb0oQuA3w=="], + + "postcss-value-parser": ["postcss-value-parser@4.2.0", "", {}, "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ=="], + + "prelude-ls": ["prelude-ls@1.2.1", "", {}, "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g=="], + + "pretty-format": ["pretty-format@27.5.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/pretty-format/-/pretty-format-27.5.1.tgz", { "dependencies": { "ansi-regex": "^5.0.1", "ansi-styles": "^5.0.0", "react-is": "^17.0.1" } }, "sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ=="], + + "process-nextick-args": ["process-nextick-args@2.0.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/process-nextick-args/-/process-nextick-args-2.0.1.tgz", {}, "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag=="], + + "prop-types": ["prop-types@15.8.1", "", { "dependencies": { "loose-envify": "^1.4.0", "object-assign": "^4.1.1", "react-is": "^16.13.1" } }, "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg=="], + + "property-information": ["property-information@7.1.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/property-information/-/property-information-7.1.0.tgz", {}, "sha512-TwEZ+X+yCJmYfL7TPUOcvBZ4QfoT5YenQiJuX//0th53DE6w0xxLEtfK3iyryQFddXuvkIk51EEgrJQ0WJkOmQ=="], + + "psl": ["psl@1.15.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/psl/-/psl-1.15.0.tgz", { "dependencies": { "punycode": "^2.3.1" } }, "sha512-JZd3gMVBAVQkSs6HdNZo9Sdo0LNcQeMNP3CozBJb3JYC/QUYZTnKxP+f8oWRX4rHP5EurWxqAHTSwUCjlNKa1w=="], + + "punycode": ["punycode@2.3.1", "", {}, "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg=="], + + "querystringify": ["querystringify@2.2.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/querystringify/-/querystringify-2.2.0.tgz", {}, "sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ=="], + + "queue-microtask": ["queue-microtask@1.2.3", "", {}, "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A=="], + + "react": ["react@18.3.1", "", { "dependencies": { "loose-envify": "^1.1.0" } }, "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ=="], + + "react-day-picker": ["react-day-picker@8.10.1", "", { "peerDependencies": { "date-fns": "^2.28.0 || ^3.0.0", "react": "^16.8.0 || ^17.0.0 || ^18.0.0" } }, "sha512-TMx7fNbhLk15eqcMt+7Z7S2KF7mfTId/XJDjKE8f+IUcFn0l08/kI4FiYTL/0yuOLmEcbR4Fwe3GJf/NiiMnPA=="], + + "react-dom": ["react-dom@18.3.1", "", { "dependencies": { "loose-envify": "^1.1.0", "scheduler": "^0.23.2" }, "peerDependencies": { "react": "^18.3.1" } }, "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw=="], + + "react-dropzone": ["react-dropzone@15.0.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/react-dropzone/-/react-dropzone-15.0.0.tgz", { "dependencies": { "attr-accept": "^2.2.4", "file-selector": "^2.1.0", "prop-types": "^15.8.1" }, "peerDependencies": { "react": ">= 16.8 || 18.0.0" } }, "sha512-lGjYV/EoqEjEWPnmiSvH4v5IoIAwQM2W4Z1C0Q/Pw2xD0eVzKPS359BQTUMum+1fa0kH2nrKjuavmTPOGhpLPg=="], + + "react-hook-form": ["react-hook-form@7.61.1", "", { "peerDependencies": { "react": "^16.8.0 || ^17 || ^18 || ^19" } }, "sha512-2vbXUFDYgqEgM2RcXcAT2PwDW/80QARi+PKmHy5q2KhuKvOlG8iIYgf7eIlIANR5trW9fJbP4r5aub3a4egsew=="], + + "react-is": ["react-is@18.3.1", "", {}, "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg=="], + + "react-markdown": ["react-markdown@10.1.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/react-markdown/-/react-markdown-10.1.0.tgz", { "dependencies": { "@types/hast": "^3.0.0", "@types/mdast": "^4.0.0", "devlop": "^1.0.0", "hast-util-to-jsx-runtime": "^2.0.0", "html-url-attributes": "^3.0.0", "mdast-util-to-hast": "^13.0.0", "remark-parse": "^11.0.0", "remark-rehype": "^11.0.0", "unified": "^11.0.0", "unist-util-visit": "^5.0.0", "vfile": "^6.0.0" }, "peerDependencies": { "@types/react": ">=18", "react": ">=18" } }, "sha512-qKxVopLT/TyA6BX3Ue5NwabOsAzm0Q7kAPwq6L+wWDwisYs7R8vZ0nRXqq6rkueboxpkjvLGU9fWifiX/ZZFxQ=="], + + "react-remove-scroll": ["react-remove-scroll@2.7.1", "", { "dependencies": { "react-remove-scroll-bar": "^2.3.7", "react-style-singleton": "^2.2.3", "tslib": "^2.1.0", "use-callback-ref": "^1.3.3", "use-sidecar": "^1.1.3" }, "peerDependencies": { "@types/react": "*", "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc" } }, "sha512-HpMh8+oahmIdOuS5aFKKY6Pyog+FNaZV/XyJOq7b4YFwsFHe5yYfdbIalI4k3vU2nSDql7YskmUseHsRrJqIPA=="], + + "react-remove-scroll-bar": ["react-remove-scroll-bar@2.3.8", "", { "dependencies": { "react-style-singleton": "^2.2.2", "tslib": "^2.0.0" }, "peerDependencies": { "@types/react": "*", "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" } }, "sha512-9r+yi9+mgU33AKcj6IbT9oRCO78WriSj6t/cF8DWBZJ9aOGPOTEDvdUDz1FwKim7QXWwmHqtdHnRJfhAxEG46Q=="], + + "react-resizable-panels": ["react-resizable-panels@2.1.9", "", { "peerDependencies": { "react": "^16.14.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", "react-dom": "^16.14.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc" } }, "sha512-z77+X08YDIrgAes4jl8xhnUu1LNIRp4+E7cv4xHmLOxxUPO/ML7PSrE813b90vj7xvQ1lcf7g2uA9GeMZonjhQ=="], + + "react-router": ["react-router@6.30.1", "", { "dependencies": { "@remix-run/router": "1.23.0" }, "peerDependencies": { "react": ">=16.8" } }, "sha512-X1m21aEmxGXqENEPG3T6u0Th7g0aS4ZmoNynhbs+Cn+q+QGTLt+d5IQ2bHAXKzKcxGJjxACpVbnYQSCRcfxHlQ=="], + + "react-router-dom": ["react-router-dom@6.30.1", "", { "dependencies": { "@remix-run/router": "1.23.0", "react-router": "6.30.1" }, "peerDependencies": { "react": ">=16.8", "react-dom": ">=16.8" } }, "sha512-llKsgOkZdbPU1Eg3zK8lCn+sjD9wMRZZPuzmdWWX5SUs8OFkN5HnFVC0u5KMeMaC9aoancFI/KoLuKPqN+hxHw=="], + + "react-smooth": ["react-smooth@4.0.4", "", { "dependencies": { "fast-equals": "^5.0.1", "prop-types": "^15.8.1", "react-transition-group": "^4.4.5" }, "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" } }, "sha512-gnGKTpYwqL0Iii09gHobNolvX4Kiq4PKx6eWBCYYix+8cdw+cGo3do906l1NBPKkSWx1DghC1dlWG9L2uGd61Q=="], + + "react-style-singleton": ["react-style-singleton@2.2.3", "", { "dependencies": { "get-nonce": "^1.0.0", "tslib": "^2.0.0" }, "peerDependencies": { "@types/react": "*", "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc" } }, "sha512-b6jSvxvVnyptAiLjbkWLE/lOnR4lfTtDAl+eUC7RZy+QQWc6wRzIV2CE6xBuMmDxc2qIihtDCZD5NPOFl7fRBQ=="], + + "react-transition-group": ["react-transition-group@4.4.5", "", { "dependencies": { "@babel/runtime": "^7.5.5", "dom-helpers": "^5.0.1", "loose-envify": "^1.4.0", "prop-types": "^15.6.2" }, "peerDependencies": { "react": ">=16.6.0", "react-dom": ">=16.6.0" } }, "sha512-pZcd1MCJoiKiBR2NRxeCRg13uCXbydPnmB4EOeRrY7480qNWO8IIgQG6zlDkm6uRMsURXPuKq0GWtiM59a5Q6g=="], + + "read-cache": ["read-cache@1.0.0", "", { "dependencies": { "pify": "^2.3.0" } }, "sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA=="], + + "readable-stream": ["readable-stream@2.3.8", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/readable-stream/-/readable-stream-2.3.8.tgz", { "dependencies": { "core-util-is": "~1.0.0", "inherits": "~2.0.3", "isarray": "~1.0.0", "process-nextick-args": "~2.0.0", "safe-buffer": "~5.1.1", "string_decoder": "~1.1.1", "util-deprecate": "~1.0.1" } }, "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA=="], + + "readdirp": ["readdirp@3.6.0", "", { "dependencies": { "picomatch": "^2.2.1" } }, "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA=="], + + "recharts": ["recharts@2.15.4", "", { "dependencies": { "clsx": "^2.0.0", "eventemitter3": "^4.0.1", "lodash": "^4.17.21", "react-is": "^18.3.1", "react-smooth": "^4.0.4", "recharts-scale": "^0.4.4", "tiny-invariant": "^1.3.1", "victory-vendor": "^36.6.8" }, "peerDependencies": { "react": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", "react-dom": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" } }, "sha512-UT/q6fwS3c1dHbXv2uFgYJ9BMFHu3fwnd7AYZaEQhXuYQ4hgsxLvsUXzGdKeZrW5xopzDCvuA2N41WJ88I7zIw=="], + + "recharts-scale": ["recharts-scale@0.4.5", "", { "dependencies": { "decimal.js-light": "^2.4.1" } }, "sha512-kivNFO+0OcUNu7jQquLXAxz1FIwZj8nrj+YkOKc5694NbjCvcT6aSZiIzNzd2Kul4o4rTto8QVR9lMNtxD4G1w=="], + + "redent": ["redent@3.0.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/redent/-/redent-3.0.0.tgz", { "dependencies": { "indent-string": "^4.0.0", "strip-indent": "^3.0.0" } }, "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg=="], + + "rehype-katex": ["rehype-katex@7.0.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/rehype-katex/-/rehype-katex-7.0.1.tgz", { "dependencies": { "@types/hast": "^3.0.0", "@types/katex": "^0.16.0", "hast-util-from-html-isomorphic": "^2.0.0", "hast-util-to-text": "^4.0.0", "katex": "^0.16.0", "unist-util-visit-parents": "^6.0.0", "vfile": "^6.0.0" } }, "sha512-OiM2wrZ/wuhKkigASodFoo8wimG3H12LWQaH8qSPVJn9apWKFSH3YOCtbKpBorTVw/eI7cuT21XBbvwEswbIOA=="], + + "remark-gfm": ["remark-gfm@4.0.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/remark-gfm/-/remark-gfm-4.0.1.tgz", { "dependencies": { "@types/mdast": "^4.0.0", "mdast-util-gfm": "^3.0.0", "micromark-extension-gfm": "^3.0.0", "remark-parse": "^11.0.0", "remark-stringify": "^11.0.0", "unified": "^11.0.0" } }, "sha512-1quofZ2RQ9EWdeN34S79+KExV1764+wCUGop5CPL1WGdD0ocPpu91lzPGbwWMECpEpd42kJGQwzRfyov9j4yNg=="], + + "remark-math": ["remark-math@6.0.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/remark-math/-/remark-math-6.0.0.tgz", { "dependencies": { "@types/mdast": "^4.0.0", "mdast-util-math": "^3.0.0", "micromark-extension-math": "^3.0.0", "unified": "^11.0.0" } }, "sha512-MMqgnP74Igy+S3WwnhQ7kqGlEerTETXMvJhrUzDikVZ2/uogJCb+WHUg97hK9/jcfc0dkD73s3LN8zU49cTEtA=="], + + "remark-parse": ["remark-parse@11.0.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/remark-parse/-/remark-parse-11.0.0.tgz", { "dependencies": { "@types/mdast": "^4.0.0", "mdast-util-from-markdown": "^2.0.0", "micromark-util-types": "^2.0.0", "unified": "^11.0.0" } }, "sha512-FCxlKLNGknS5ba/1lmpYijMUzX2esxW5xQqjWxw2eHFfS2MSdaHVINFmhjo+qN1WhZhNimq0dZATN9pH0IDrpA=="], + + "remark-rehype": ["remark-rehype@11.1.2", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/remark-rehype/-/remark-rehype-11.1.2.tgz", { "dependencies": { "@types/hast": "^3.0.0", "@types/mdast": "^4.0.0", "mdast-util-to-hast": "^13.0.0", "unified": "^11.0.0", "vfile": "^6.0.0" } }, "sha512-Dh7l57ianaEoIpzbp0PC9UKAdCSVklD8E5Rpw7ETfbTl3FqcOOgq5q2LVDhgGCkaBv7p24JXikPdvhhmHvKMsw=="], + + "remark-stringify": ["remark-stringify@11.0.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/remark-stringify/-/remark-stringify-11.0.0.tgz", { "dependencies": { "@types/mdast": "^4.0.0", "mdast-util-to-markdown": "^2.0.0", "unified": "^11.0.0" } }, "sha512-1OSmLd3awB/t8qdoEOMazZkNsfVTeY4fTsgzcQFdXNq8ToTN4ZGwrMnlda4K6smTFKD+GRV6O48i6Z4iKgPPpw=="], + + "requires-port": ["requires-port@1.0.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/requires-port/-/requires-port-1.0.0.tgz", {}, "sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ=="], + + "resolve": ["resolve@1.22.8", "", { "dependencies": { "is-core-module": "^2.13.0", "path-parse": "^1.0.7", "supports-preserve-symlinks-flag": "^1.0.0" }, "bin": "bin/resolve" }, "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw=="], + + "resolve-from": ["resolve-from@4.0.0", "", {}, "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g=="], + + "reusify": ["reusify@1.0.4", "", {}, "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw=="], + + "rollup": ["rollup@4.24.0", "", { "dependencies": { "@types/estree": "1.0.6" }, "optionalDependencies": { "@rollup/rollup-android-arm-eabi": "4.24.0", "@rollup/rollup-android-arm64": "4.24.0", "@rollup/rollup-darwin-arm64": "4.24.0", "@rollup/rollup-darwin-x64": "4.24.0", "@rollup/rollup-linux-arm-gnueabihf": "4.24.0", "@rollup/rollup-linux-arm-musleabihf": "4.24.0", "@rollup/rollup-linux-arm64-gnu": "4.24.0", "@rollup/rollup-linux-arm64-musl": "4.24.0", "@rollup/rollup-linux-powerpc64le-gnu": "4.24.0", "@rollup/rollup-linux-riscv64-gnu": "4.24.0", "@rollup/rollup-linux-s390x-gnu": "4.24.0", "@rollup/rollup-linux-x64-gnu": "4.24.0", "@rollup/rollup-linux-x64-musl": "4.24.0", "@rollup/rollup-win32-arm64-msvc": "4.24.0", "@rollup/rollup-win32-ia32-msvc": "4.24.0", "@rollup/rollup-win32-x64-msvc": "4.24.0", "fsevents": "~2.3.2" }, "bin": "dist/bin/rollup" }, "sha512-DOmrlGSXNk1DM0ljiQA+i+o0rSLhtii1je5wgk60j49d1jHT5YYttBv1iWOnYSTG+fZZESUOSNiAl89SIet+Cg=="], + + "run-parallel": ["run-parallel@1.2.0", "", { "dependencies": { "queue-microtask": "^1.2.2" } }, "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA=="], + + "safe-buffer": ["safe-buffer@5.1.2", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/safe-buffer/-/safe-buffer-5.1.2.tgz", {}, "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="], + + "safer-buffer": ["safer-buffer@2.1.2", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/safer-buffer/-/safer-buffer-2.1.2.tgz", {}, "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="], + + "saxes": ["saxes@6.0.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/saxes/-/saxes-6.0.0.tgz", { "dependencies": { "xmlchars": "^2.2.0" } }, "sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA=="], + + "scheduler": ["scheduler@0.23.2", "", { "dependencies": { "loose-envify": "^1.1.0" } }, "sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ=="], + + "semver": ["semver@7.7.2", "", { "bin": "bin/semver.js" }, "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA=="], + + "setimmediate": ["setimmediate@1.0.5", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/setimmediate/-/setimmediate-1.0.5.tgz", {}, "sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA=="], + + "shebang-command": ["shebang-command@2.0.0", "", { "dependencies": { "shebang-regex": "^3.0.0" } }, "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA=="], + + "shebang-regex": ["shebang-regex@3.0.0", "", {}, "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A=="], + + "siginfo": ["siginfo@2.0.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/siginfo/-/siginfo-2.0.0.tgz", {}, "sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g=="], + + "signal-exit": ["signal-exit@4.1.0", "", {}, "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw=="], + + "sonner": ["sonner@1.7.4", "", { "peerDependencies": { "react": "^18.0.0 || ^19.0.0 || ^19.0.0-rc", "react-dom": "^18.0.0 || ^19.0.0 || ^19.0.0-rc" } }, "sha512-DIS8z4PfJRbIyfVFDVnK9rO3eYDtse4Omcm6bt0oEr5/jtLgysmjuBl1frJ9E/EQZrFmKx2A8m/s5s9CRXIzhw=="], + + "source-map": ["source-map@0.6.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/source-map/-/source-map-0.6.1.tgz", {}, "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="], + + "source-map-js": ["source-map-js@1.2.1", "", {}, "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA=="], + + "space-separated-tokens": ["space-separated-tokens@2.0.2", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/space-separated-tokens/-/space-separated-tokens-2.0.2.tgz", {}, "sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q=="], + + "sprintf-js": ["sprintf-js@1.0.3", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/sprintf-js/-/sprintf-js-1.0.3.tgz", {}, "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g=="], + + "stackback": ["stackback@0.0.2", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/stackback/-/stackback-0.0.2.tgz", {}, "sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw=="], + + "std-env": ["std-env@3.10.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/std-env/-/std-env-3.10.0.tgz", {}, "sha512-5GS12FdOZNliM5mAOxFRg7Ir0pWz8MdpYm6AY6VPkGpbA7ZzmbzNcBJQ0GPvvyWgcY7QAhCgf9Uy89I03faLkg=="], + + "string-width": ["string-width@5.1.2", "", { "dependencies": { "eastasianwidth": "^0.2.0", "emoji-regex": "^9.2.2", "strip-ansi": "^7.0.1" } }, "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA=="], + + "string-width-cjs": ["string-width@4.2.3", "", { "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", "strip-ansi": "^6.0.1" } }, "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g=="], + + "string_decoder": ["string_decoder@1.1.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/string_decoder/-/string_decoder-1.1.1.tgz", { "dependencies": { "safe-buffer": "~5.1.0" } }, "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg=="], + + "stringify-entities": ["stringify-entities@4.0.4", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/stringify-entities/-/stringify-entities-4.0.4.tgz", { "dependencies": { "character-entities-html4": "^2.0.0", "character-entities-legacy": "^3.0.0" } }, "sha512-IwfBptatlO+QCJUo19AqvrPNqlVMpW9YEL2LIVY+Rpv2qsjCGxaDLNRgeGsQWJhfItebuJhsGSLjaBbNSQ+ieg=="], + + "strip-ansi": ["strip-ansi@7.1.0", "", { "dependencies": { "ansi-regex": "^6.0.1" } }, "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ=="], + + "strip-ansi-cjs": ["strip-ansi@6.0.1", "", { "dependencies": { "ansi-regex": "^5.0.1" } }, "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A=="], + + "strip-indent": ["strip-indent@3.0.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/strip-indent/-/strip-indent-3.0.0.tgz", { "dependencies": { "min-indent": "^1.0.0" } }, "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ=="], + + "strip-json-comments": ["strip-json-comments@3.1.1", "", {}, "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig=="], + + "strip-literal": ["strip-literal@3.1.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/strip-literal/-/strip-literal-3.1.0.tgz", { "dependencies": { "js-tokens": "^9.0.1" } }, "sha512-8r3mkIM/2+PpjHoOtiAW8Rg3jJLHaV7xPwG+YRGrv6FP0wwk/toTpATxWYOW0BKdWwl82VT2tFYi5DlROa0Mxg=="], + + "style-to-js": ["style-to-js@1.1.21", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/style-to-js/-/style-to-js-1.1.21.tgz", { "dependencies": { "style-to-object": "1.0.14" } }, "sha512-RjQetxJrrUJLQPHbLku6U/ocGtzyjbJMP9lCNK7Ag0CNh690nSH8woqWH9u16nMjYBAok+i7JO1NP2pOy8IsPQ=="], + + "style-to-object": ["style-to-object@1.0.14", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/style-to-object/-/style-to-object-1.0.14.tgz", { "dependencies": { "inline-style-parser": "0.2.7" } }, "sha512-LIN7rULI0jBscWQYaSswptyderlarFkjQ+t79nzty8tcIAceVomEVlLzH5VP4Cmsv6MtKhs7qaAiwlcp+Mgaxw=="], + + "sucrase": ["sucrase@3.35.0", "", { "dependencies": { "@jridgewell/gen-mapping": "^0.3.2", "commander": "^4.0.0", "glob": "^10.3.10", "lines-and-columns": "^1.1.6", "mz": "^2.7.0", "pirates": "^4.0.1", "ts-interface-checker": "^0.1.9" }, "bin": { "sucrase": "bin/sucrase", "sucrase-node": "bin/sucrase-node" } }, "sha512-8EbVDiu9iN/nESwxeSxDKe0dunta1GOlHufmSSXxMD2z2/tMZpDMpvXQGsc+ajGo8y2uYUmixaSRUc/QPoQ0GA=="], + + "supports-color": ["supports-color@7.2.0", "", { "dependencies": { "has-flag": "^4.0.0" } }, "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw=="], + + "supports-preserve-symlinks-flag": ["supports-preserve-symlinks-flag@1.0.0", "", {}, "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w=="], + + "symbol-tree": ["symbol-tree@3.2.4", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/symbol-tree/-/symbol-tree-3.2.4.tgz", {}, "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw=="], + + "tailwind-merge": ["tailwind-merge@2.6.0", "", {}, "sha512-P+Vu1qXfzediirmHOC3xKGAYeZtPcV9g76X+xg2FD4tYgR71ewMA35Y3sCz3zhiN/dwefRpJX0yBcgwi1fXNQA=="], + + "tailwindcss": ["tailwindcss@3.4.17", "", { "dependencies": { "@alloc/quick-lru": "^5.2.0", "arg": "^5.0.2", "chokidar": "^3.6.0", "didyoumean": "^1.2.2", "dlv": "^1.1.3", "fast-glob": "^3.3.2", "glob-parent": "^6.0.2", "is-glob": "^4.0.3", "jiti": "^1.21.6", "lilconfig": "^3.1.3", "micromatch": "^4.0.8", "normalize-path": "^3.0.0", "object-hash": "^3.0.0", "picocolors": "^1.1.1", "postcss": "^8.4.47", "postcss-import": "^15.1.0", "postcss-js": "^4.0.1", "postcss-load-config": "^4.0.2", "postcss-nested": "^6.2.0", "postcss-selector-parser": "^6.1.2", "resolve": "^1.22.8", "sucrase": "^3.35.0" }, "bin": { "tailwind": "lib/cli.js", "tailwindcss": "lib/cli.js" } }, "sha512-w33E2aCvSDP0tW9RZuNXadXlkHXqFzSkQew/aIa2i/Sj8fThxwovwlXHSPXTbAHwEIhBFXAedUhP2tueAKP8Og=="], + + "tailwindcss-animate": ["tailwindcss-animate@1.0.7", "", { "peerDependencies": { "tailwindcss": ">=3.0.0 || insiders" } }, "sha512-bl6mpH3T7I3UFxuvDEXLxy/VuFxBk5bbzplh7tXI68mwMokNYd1t9qPBHlnyTwfa4JGC4zP516I1hYYtQ/vspA=="], + + "thenify": ["thenify@3.3.1", "", { "dependencies": { "any-promise": "^1.0.0" } }, "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw=="], + + "thenify-all": ["thenify-all@1.6.0", "", { "dependencies": { "thenify": ">= 3.1.0 < 4" } }, "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA=="], + + "tiny-invariant": ["tiny-invariant@1.3.3", "", {}, "sha512-+FbBPE1o9QAYvviau/qC5SE3caw21q3xkvWKBtja5vgqOWIHHJ3ioaq1VPfn/Szqctz2bU/oYeKd9/z5BL+PVg=="], + + "tinybench": ["tinybench@2.9.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/tinybench/-/tinybench-2.9.0.tgz", {}, "sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg=="], + + "tinyexec": ["tinyexec@0.3.2", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/tinyexec/-/tinyexec-0.3.2.tgz", {}, "sha512-KQQR9yN7R5+OSwaK0XQoj22pwHoTlgYqmUscPYoknOoWCWfj/5/ABTMRi69FrKU5ffPVh5QcFikpWJI/P1ocHA=="], + + "tinyglobby": ["tinyglobby@0.2.16", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/tinyglobby/-/tinyglobby-0.2.16.tgz", { "dependencies": { "fdir": "^6.5.0", "picomatch": "^4.0.4" } }, "sha512-pn99VhoACYR8nFHhxqix+uvsbXineAasWm5ojXoN8xEwK5Kd3/TrhNn1wByuD52UxWRLy8pu+kRMniEi6Eq9Zg=="], + + "tinypool": ["tinypool@1.1.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/tinypool/-/tinypool-1.1.1.tgz", {}, "sha512-Zba82s87IFq9A9XmjiX5uZA/ARWDrB03OHlq+Vw1fSdt0I+4/Kutwy8BP4Y/y/aORMo61FQ0vIb5j44vSo5Pkg=="], + + "tinyrainbow": ["tinyrainbow@2.0.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/tinyrainbow/-/tinyrainbow-2.0.0.tgz", {}, "sha512-op4nsTR47R6p0vMUUoYl/a+ljLFVtlfaXkLQmqfLR1qHma1h/ysYk4hEXZ880bf2CYgTskvTa/e196Vd5dDQXw=="], + + "tinyspy": ["tinyspy@4.0.4", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/tinyspy/-/tinyspy-4.0.4.tgz", {}, "sha512-azl+t0z7pw/z958Gy9svOTuzqIk6xq+NSheJzn5MMWtWTFywIacg2wUlzKFGtt3cthx0r2SxMK0yzJOR0IES7Q=="], + + "to-regex-range": ["to-regex-range@5.0.1", "", { "dependencies": { "is-number": "^7.0.0" } }, "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ=="], + + "tough-cookie": ["tough-cookie@4.1.4", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/tough-cookie/-/tough-cookie-4.1.4.tgz", { "dependencies": { "psl": "^1.1.33", "punycode": "^2.1.1", "universalify": "^0.2.0", "url-parse": "^1.5.3" } }, "sha512-Loo5UUvLD9ScZ6jh8beX1T6sO1w2/MpCRpEP7V280GKMVUQ0Jzar2U3UJPsrdbziLEMMhu3Ujnq//rhiFuIeag=="], + + "tr46": ["tr46@3.0.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/tr46/-/tr46-3.0.0.tgz", { "dependencies": { "punycode": "^2.1.1" } }, "sha512-l7FvfAHlcmulp8kr+flpQZmVwtu7nfRV7NZujtN0OqES8EL4O4e0qqzL0DC5gAvx/ZC/9lk6rhcUwYvkBnBnYA=="], + + "trim-lines": ["trim-lines@3.0.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/trim-lines/-/trim-lines-3.0.1.tgz", {}, "sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg=="], + + "trough": ["trough@2.2.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/trough/-/trough-2.2.0.tgz", {}, "sha512-tmMpK00BjZiUyVyvrBK7knerNgmgvcV/KLVyuma/SC+TQN167GrMRciANTz09+k3zW8L8t60jWO1GpfkZdjTaw=="], + + "ts-api-utils": ["ts-api-utils@2.1.0", "", { "peerDependencies": { "typescript": ">=4.8.4" } }, "sha512-CUgTZL1irw8u29bzrOD/nH85jqyc74D6SshFgujOIA7osm2Rz7dYH77agkx7H4FBNxDq7Cjf+IjaX/8zwFW+ZQ=="], + + "ts-interface-checker": ["ts-interface-checker@0.1.13", "", {}, "sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA=="], + + "tslib": ["tslib@2.8.0", "", {}, "sha512-jWVzBLplnCmoaTr13V9dYbiQ99wvZRd0vNWaDRg+aVYRcjDF3nDksxFDE/+fkXnKhpnUUkmx5pK/v8mCtLVqZA=="], + + "type-check": ["type-check@0.4.0", "", { "dependencies": { "prelude-ls": "^1.2.1" } }, "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew=="], + + "typescript": ["typescript@5.8.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ=="], + + "typescript-eslint": ["typescript-eslint@8.38.0", "", { "dependencies": { "@typescript-eslint/eslint-plugin": "8.38.0", "@typescript-eslint/parser": "8.38.0", "@typescript-eslint/typescript-estree": "8.38.0", "@typescript-eslint/utils": "8.38.0" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0", "typescript": ">=4.8.4 <5.9.0" } }, "sha512-FsZlrYK6bPDGoLeZRuvx2v6qrM03I0U0SnfCLPs/XCCPCFD80xU9Pg09H/K+XFa68uJuZo7l/Xhs+eDRg2l3hg=="], + + "underscore": ["underscore@1.13.8", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/underscore/-/underscore-1.13.8.tgz", {}, "sha512-DXtD3ZtEQzc7M8m4cXotyHR+FAS18C64asBYY5vqZexfYryNNnDc02W4hKg3rdQuqOYas1jkseX0+nZXjTXnvQ=="], + + "undici-types": ["undici-types@6.21.0", "", {}, "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ=="], + + "unified": ["unified@11.0.5", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/unified/-/unified-11.0.5.tgz", { "dependencies": { "@types/unist": "^3.0.0", "bail": "^2.0.0", "devlop": "^1.0.0", "extend": "^3.0.0", "is-plain-obj": "^4.0.0", "trough": "^2.0.0", "vfile": "^6.0.0" } }, "sha512-xKvGhPWw3k84Qjh8bI3ZeJjqnyadK+GEFtazSfZv/rKeTkTjOJho6mFqh2SM96iIcZokxiOpg78GazTSg8+KHA=="], + + "unist-util-find-after": ["unist-util-find-after@5.0.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/unist-util-find-after/-/unist-util-find-after-5.0.0.tgz", { "dependencies": { "@types/unist": "^3.0.0", "unist-util-is": "^6.0.0" } }, "sha512-amQa0Ep2m6hE2g72AugUItjbuM8X8cGQnFoHk0pGfrFeT9GZhzN5SW8nRsiGKK7Aif4CrACPENkA6P/Lw6fHGQ=="], + + "unist-util-is": ["unist-util-is@6.0.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/unist-util-is/-/unist-util-is-6.0.1.tgz", { "dependencies": { "@types/unist": "^3.0.0" } }, "sha512-LsiILbtBETkDz8I9p1dQ0uyRUWuaQzd/cuEeS1hoRSyW5E5XGmTzlwY1OrNzzakGowI9Dr/I8HVaw4hTtnxy8g=="], + + "unist-util-position": ["unist-util-position@5.0.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/unist-util-position/-/unist-util-position-5.0.0.tgz", { "dependencies": { "@types/unist": "^3.0.0" } }, "sha512-fucsC7HjXvkB5R3kTCO7kUjRdrS0BJt3M/FPxmHMBOm8JQi2BsHAHFsy27E0EolP8rp0NzXsJ+jNPyDWvOJZPA=="], + + "unist-util-remove-position": ["unist-util-remove-position@5.0.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/unist-util-remove-position/-/unist-util-remove-position-5.0.0.tgz", { "dependencies": { "@types/unist": "^3.0.0", "unist-util-visit": "^5.0.0" } }, "sha512-Hp5Kh3wLxv0PHj9m2yZhhLt58KzPtEYKQQ4yxfYFEO7EvHwzyDYnduhHnY1mDxoqr7VUwVuHXk9RXKIiYS1N8Q=="], + + "unist-util-stringify-position": ["unist-util-stringify-position@4.0.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/unist-util-stringify-position/-/unist-util-stringify-position-4.0.0.tgz", { "dependencies": { "@types/unist": "^3.0.0" } }, "sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ=="], + + "unist-util-visit": ["unist-util-visit@5.1.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/unist-util-visit/-/unist-util-visit-5.1.0.tgz", { "dependencies": { "@types/unist": "^3.0.0", "unist-util-is": "^6.0.0", "unist-util-visit-parents": "^6.0.0" } }, "sha512-m+vIdyeCOpdr/QeQCu2EzxX/ohgS8KbnPDgFni4dQsfSCtpz8UqDyY5GjRru8PDKuYn7Fq19j1CQ+nJSsGKOzg=="], + + "unist-util-visit-parents": ["unist-util-visit-parents@6.0.2", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/unist-util-visit-parents/-/unist-util-visit-parents-6.0.2.tgz", { "dependencies": { "@types/unist": "^3.0.0", "unist-util-is": "^6.0.0" } }, "sha512-goh1s1TBrqSqukSc8wrjwWhL0hiJxgA8m4kFxGlQ+8FYQ3C/m11FcTs4YYem7V664AhHVvgoQLk890Ssdsr2IQ=="], + + "universalify": ["universalify@0.2.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/universalify/-/universalify-0.2.0.tgz", {}, "sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg=="], + + "unpdf": ["unpdf@1.6.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/unpdf/-/unpdf-1.6.0.tgz", { "peerDependencies": { "@napi-rs/canvas": "^0.1.69" }, "optionalPeers": ["@napi-rs/canvas"] }, "sha512-DsjbuDe6PDbZzGvAP40QQp0xskrXP3Tm3fd/FLkGObL00Icr7cc28QgrPHYg+6B1lMWydgXwDXauIv5CGyXudA=="], + + "update-browserslist-db": ["update-browserslist-db@1.1.3", "", { "dependencies": { "escalade": "^3.2.0", "picocolors": "^1.1.1" }, "peerDependencies": { "browserslist": ">= 4.21.0" }, "bin": "cli.js" }, "sha512-UxhIZQ+QInVdunkDAaiazvvT/+fXL5Osr0JZlJulepYu6Jd7qJtDZjlur0emRlT71EN3ScPoE7gvsuIKKNavKw=="], + + "uri-js": ["uri-js@4.4.1", "", { "dependencies": { "punycode": "^2.1.0" } }, "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg=="], + + "url-parse": ["url-parse@1.5.10", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/url-parse/-/url-parse-1.5.10.tgz", { "dependencies": { "querystringify": "^2.1.1", "requires-port": "^1.0.0" } }, "sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ=="], + + "use-callback-ref": ["use-callback-ref@1.3.3", "", { "dependencies": { "tslib": "^2.0.0" }, "peerDependencies": { "@types/react": "*", "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc" } }, "sha512-jQL3lRnocaFtu3V00JToYz/4QkNWswxijDaCVNZRiRTO3HQDLsdu1ZtmIUvV4yPp+rvWm5j0y0TG/S61cuijTg=="], + + "use-sidecar": ["use-sidecar@1.1.3", "", { "dependencies": { "detect-node-es": "^1.1.0", "tslib": "^2.0.0" }, "peerDependencies": { "@types/react": "*", "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc" } }, "sha512-Fedw0aZvkhynoPYlA5WXrMCAMm+nSWdZt6lzJQ7Ok8S6Q+VsHmHpRWndVRJ8Be0ZbkfPc5LRYH+5XrzXcEeLRQ=="], + + "use-sync-external-store": ["use-sync-external-store@1.5.0", "", { "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" } }, "sha512-Rb46I4cGGVBmjamjphe8L/UnvJD+uPPtTkNvX5mZgqdbavhI4EbgIWJiIHXJ8bc/i9EQGPRh4DwEURJ552Do0A=="], + + "util-deprecate": ["util-deprecate@1.0.2", "", {}, "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw=="], + + "vaul": ["vaul@0.9.9", "", { "dependencies": { "@radix-ui/react-dialog": "^1.1.1" }, "peerDependencies": { "react": "^16.8 || ^17.0 || ^18.0", "react-dom": "^16.8 || ^17.0 || ^18.0" } }, "sha512-7afKg48srluhZwIkaU+lgGtFCUsYBSGOl8vcc8N/M3YQlZFlynHD15AE+pwrYdc826o7nrIND4lL9Y6b9WWZZQ=="], + + "vfile": ["vfile@6.0.3", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/vfile/-/vfile-6.0.3.tgz", { "dependencies": { "@types/unist": "^3.0.0", "vfile-message": "^4.0.0" } }, "sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q=="], + + "vfile-location": ["vfile-location@5.0.3", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/vfile-location/-/vfile-location-5.0.3.tgz", { "dependencies": { "@types/unist": "^3.0.0", "vfile": "^6.0.0" } }, "sha512-5yXvWDEgqeiYiBe1lbxYF7UMAIm/IcopxMHrMQDq3nvKcjPKIhZklUKL+AE7J7uApI4kwe2snsK+eI6UTj9EHg=="], + + "vfile-message": ["vfile-message@4.0.3", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/vfile-message/-/vfile-message-4.0.3.tgz", { "dependencies": { "@types/unist": "^3.0.0", "unist-util-stringify-position": "^4.0.0" } }, "sha512-QTHzsGd1EhbZs4AsQ20JX1rC3cOlt/IWJruk893DfLRr57lcnOeMaWG4K0JrRta4mIJZKth2Au3mM3u03/JWKw=="], + + "victory-vendor": ["victory-vendor@36.9.2", "", { "dependencies": { "@types/d3-array": "^3.0.3", "@types/d3-ease": "^3.0.0", "@types/d3-interpolate": "^3.0.1", "@types/d3-scale": "^4.0.2", "@types/d3-shape": "^3.1.0", "@types/d3-time": "^3.0.0", "@types/d3-timer": "^3.0.0", "d3-array": "^3.1.6", "d3-ease": "^3.0.1", "d3-interpolate": "^3.0.1", "d3-scale": "^4.0.2", "d3-shape": "^3.1.0", "d3-time": "^3.0.0", "d3-timer": "^3.0.1" } }, "sha512-PnpQQMuxlwYdocC8fIJqVXvkeViHYzotI+NJrCuav0ZYFoq912ZHBk3mCeuj+5/VpodOjPe1z0Fk2ihgzlXqjQ=="], + + "vite": ["vite@5.4.19", "", { "dependencies": { "esbuild": "^0.21.3", "postcss": "^8.4.43", "rollup": "^4.20.0" }, "optionalDependencies": { "fsevents": "~2.3.3" }, "peerDependencies": { "@types/node": "^18.0.0 || >=20.0.0", "less": "*", "lightningcss": "^1.21.0", "sass": "*", "sass-embedded": "*", "stylus": "*", "sugarss": "*", "terser": "^5.4.0" }, "optionalPeers": ["less", "lightningcss", "sass", "sass-embedded", "stylus", "sugarss", "terser"], "bin": "bin/vite.js" }, "sha512-qO3aKv3HoQC8QKiNSTuUM1l9o/XX3+c+VTgLHbJWHZGeTPVAg2XwazI9UWzoxjIJCGCV2zU60uqMzjeLZuULqA=="], + + "vite-node": ["vite-node@3.2.4", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/vite-node/-/vite-node-3.2.4.tgz", { "dependencies": { "cac": "^6.7.14", "debug": "^4.4.1", "es-module-lexer": "^1.7.0", "pathe": "^2.0.3", "vite": "^5.0.0 || ^6.0.0 || ^7.0.0-0" }, "bin": { "vite-node": "vite-node.mjs" } }, "sha512-EbKSKh+bh1E1IFxeO0pg1n4dvoOTt0UDiXMd/qn++r98+jPO1xtJilvXldeuQ8giIB5IkpjCgMleHMNEsGH6pg=="], + + "vitest": ["vitest@3.2.4", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/vitest/-/vitest-3.2.4.tgz", { "dependencies": { "@types/chai": "^5.2.2", "@vitest/expect": "3.2.4", "@vitest/mocker": "3.2.4", "@vitest/pretty-format": "^3.2.4", "@vitest/runner": "3.2.4", "@vitest/snapshot": "3.2.4", "@vitest/spy": "3.2.4", "@vitest/utils": "3.2.4", "chai": "^5.2.0", "debug": "^4.4.1", "expect-type": "^1.2.1", "magic-string": "^0.30.17", "pathe": "^2.0.3", "picomatch": "^4.0.2", "std-env": "^3.9.0", "tinybench": "^2.9.0", "tinyexec": "^0.3.2", "tinyglobby": "^0.2.14", "tinypool": "^1.1.1", "tinyrainbow": "^2.0.0", "vite": "^5.0.0 || ^6.0.0 || ^7.0.0-0", "vite-node": "3.2.4", "why-is-node-running": "^2.3.0" }, "peerDependencies": { "@edge-runtime/vm": "*", "@types/debug": "^4.1.12", "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0", "@vitest/browser": "3.2.4", "@vitest/ui": "3.2.4", "happy-dom": "*", "jsdom": "*" }, "optionalPeers": ["@edge-runtime/vm", "@types/debug", "@types/node", "@vitest/browser", "@vitest/ui", "happy-dom", "jsdom"], "bin": { "vitest": "vitest.mjs" } }, "sha512-LUCP5ev3GURDysTWiP47wRRUpLKMOfPh+yKTx3kVIEiu5KOMeqzpnYNsKyOoVrULivR8tLcks4+lga33Whn90A=="], + + "w3c-xmlserializer": ["w3c-xmlserializer@4.0.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/w3c-xmlserializer/-/w3c-xmlserializer-4.0.0.tgz", { "dependencies": { "xml-name-validator": "^4.0.0" } }, "sha512-d+BFHzbiCx6zGfz0HyQ6Rg69w9k19nviJspaj4yNscGjrHu94sVP+aRm75yEbCh+r2/yR+7q6hux9LVtbuTGBw=="], + + "web-namespaces": ["web-namespaces@2.0.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/web-namespaces/-/web-namespaces-2.0.1.tgz", {}, "sha512-bKr1DkiNa2krS7qxNtdrtHAmzuYGFQLiQ13TsorsdT6ULTkPLKuu5+GsFpDlg6JFjUTwX2DyhMPG2be8uPrqsQ=="], + + "webidl-conversions": ["webidl-conversions@7.0.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/webidl-conversions/-/webidl-conversions-7.0.0.tgz", {}, "sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g=="], + + "whatwg-encoding": ["whatwg-encoding@2.0.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/whatwg-encoding/-/whatwg-encoding-2.0.0.tgz", { "dependencies": { "iconv-lite": "0.6.3" } }, "sha512-p41ogyeMUrw3jWclHWTQg1k05DSVXPLcVxRTYsXUk+ZooOCZLcoYgPZ/HL/D/N+uQPOtcp1me1WhBEaX02mhWg=="], + + "whatwg-mimetype": ["whatwg-mimetype@3.0.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/whatwg-mimetype/-/whatwg-mimetype-3.0.0.tgz", {}, "sha512-nt+N2dzIutVRxARx1nghPKGv1xHikU7HKdfafKkLNLindmPU/ch3U31NOCGGA/dmPcmb1VlofO0vnKAcsm0o/Q=="], + + "whatwg-url": ["whatwg-url@11.0.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/whatwg-url/-/whatwg-url-11.0.0.tgz", { "dependencies": { "tr46": "^3.0.0", "webidl-conversions": "^7.0.0" } }, "sha512-RKT8HExMpoYx4igMiVMY83lN6UeITKJlBQ+vR/8ZJ8OCdSiN3RwCq+9gH0+Xzj0+5IrM6i4j/6LuvzbZIQgEcQ=="], + + "which": ["which@2.0.2", "", { "dependencies": { "isexe": "^2.0.0" }, "bin": { "node-which": "bin/node-which" } }, "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA=="], + + "why-is-node-running": ["why-is-node-running@2.3.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/why-is-node-running/-/why-is-node-running-2.3.0.tgz", { "dependencies": { "siginfo": "^2.0.0", "stackback": "0.0.2" }, "bin": { "why-is-node-running": "cli.js" } }, "sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w=="], + + "word-wrap": ["word-wrap@1.2.5", "", {}, "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA=="], + + "wrap-ansi": ["wrap-ansi@8.1.0", "", { "dependencies": { "ansi-styles": "^6.1.0", "string-width": "^5.0.1", "strip-ansi": "^7.0.1" } }, "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ=="], + + "wrap-ansi-cjs": ["wrap-ansi@7.0.0", "", { "dependencies": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", "strip-ansi": "^6.0.0" } }, "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q=="], + + "ws": ["ws@8.20.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/ws/-/ws-8.20.0.tgz", { "peerDependencies": { "bufferutil": "^4.0.1", "utf-8-validate": ">=5.0.2" }, "optionalPeers": ["bufferutil", "utf-8-validate"] }, "sha512-sAt8BhgNbzCtgGbt2OxmpuryO63ZoDk/sqaB/znQm94T4fCEsy/yV+7CdC1kJhOU9lboAEU7R3kquuycDoibVA=="], + + "xml-name-validator": ["xml-name-validator@4.0.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/xml-name-validator/-/xml-name-validator-4.0.0.tgz", {}, "sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw=="], + + "xmlbuilder": ["xmlbuilder@10.1.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/xmlbuilder/-/xmlbuilder-10.1.1.tgz", {}, "sha512-OyzrcFLL/nb6fMGHbiRDuPup9ljBycsdCypwuyg5AAHvyWzGfChJpCXMG88AGTIMFhGZ9RccFN1e6lhg3hkwKg=="], + + "xmlchars": ["xmlchars@2.2.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/xmlchars/-/xmlchars-2.2.0.tgz", {}, "sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw=="], + + "yaml": ["yaml@2.6.0", "", { "bin": "bin.mjs" }, "sha512-a6ae//JvKDEra2kdi1qzCyrJW/WZCgFi8ydDV+eXExl95t+5R+ijnqHJbz9tmMh8FUjx3iv2fCQ4dclAQlO2UQ=="], + + "yocto-queue": ["yocto-queue@0.1.0", "", {}, "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q=="], + + "zod": ["zod@3.25.76", "", {}, "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ=="], + + "zustand": ["zustand@5.0.12", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/zustand/-/zustand-5.0.12.tgz", { "peerDependencies": { "@types/react": ">=18.0.0", "immer": ">=9.0.6", "react": ">=18.0.0", "use-sync-external-store": ">=1.2.0" }, "optionalPeers": ["@types/react", "immer", "react", "use-sync-external-store"] }, "sha512-i77ae3aZq4dhMlRhJVCYgMLKuSiZAaUPAct2AksxQ+gOtimhGMdXljRT21P5BNpeT4kXlLIckvkPM029OljD7g=="], + + "zwitch": ["zwitch@2.0.4", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/zwitch/-/zwitch-2.0.4.tgz", {}, "sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A=="], + + "@eslint-community/eslint-utils/eslint-visitor-keys": ["eslint-visitor-keys@3.4.3", "", {}, "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag=="], + + "@eslint/eslintrc/globals": ["globals@14.0.0", "", {}, "sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ=="], + + "@humanfs/node/@humanwhocodes/retry": ["@humanwhocodes/retry@0.3.1", "", {}, "sha512-JBxkERygn7Bv/GbN5Rv8Ul6LVknS+5Bp6RgDC/O8gEBU/yeH5Ui5C/OlWrTb6qct7LjjfT6Re2NxB0ln0yYybA=="], + + "@jridgewell/gen-mapping/@jridgewell/sourcemap-codec": ["@jridgewell/sourcemap-codec@1.5.0", "", {}, "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ=="], + + "@jridgewell/trace-mapping/@jridgewell/sourcemap-codec": ["@jridgewell/sourcemap-codec@1.5.0", "", {}, "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ=="], + + "@supabase/auth-js/tslib": ["tslib@2.8.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/tslib/-/tslib-2.8.1.tgz", {}, "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w=="], + + "@supabase/functions-js/tslib": ["tslib@2.8.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/tslib/-/tslib-2.8.1.tgz", {}, "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w=="], + + "@supabase/postgrest-js/tslib": ["tslib@2.8.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/tslib/-/tslib-2.8.1.tgz", {}, "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w=="], + + "@supabase/realtime-js/tslib": ["tslib@2.8.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/tslib/-/tslib-2.8.1.tgz", {}, "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w=="], + + "@supabase/storage-js/tslib": ["tslib@2.8.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/tslib/-/tslib-2.8.1.tgz", {}, "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w=="], + + "@tanstack/react-query/@tanstack/query-core": ["@tanstack/query-core@5.83.0", "", {}, "sha512-0M8dA+amXUkyz5cVUm/B+zSk3xkQAcuXuz5/Q/LveT4ots2rBpPTZOzd7yJa2Utsf8D2Upl5KyjhHRY+9lB/XA=="], + + "@testing-library/dom/aria-query": ["aria-query@5.3.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/aria-query/-/aria-query-5.3.0.tgz", { "dependencies": { "dequal": "^2.0.3" } }, "sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A=="], + + "@testing-library/dom/dom-accessibility-api": ["dom-accessibility-api@0.5.16", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/dom-accessibility-api/-/dom-accessibility-api-0.5.16.tgz", {}, "sha512-X7BJ2yElsnOJ30pZF4uIIDfBEVgF4XEBxL9Bxhy6dnrm5hkzqmsWHGTiHqRiITNhMyFLyAiWndIJP7Z1NTteDg=="], + + "@typescript-eslint/eslint-plugin/ignore": ["ignore@7.0.5", "", {}, "sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg=="], + + "@typescript-eslint/typescript-estree/minimatch": ["minimatch@9.0.5", "", { "dependencies": { "brace-expansion": "^2.0.1" } }, "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow=="], + + "agent-base/debug": ["debug@4.4.3", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/debug/-/debug-4.4.3.tgz", { "dependencies": { "ms": "^2.1.3" } }, "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA=="], + + "anymatch/picomatch": ["picomatch@2.3.1", "", {}, "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA=="], + + "chokidar/glob-parent": ["glob-parent@5.1.2", "", { "dependencies": { "is-glob": "^4.0.1" } }, "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow=="], + + "cssstyle/cssom": ["cssom@0.3.8", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/cssom/-/cssom-0.3.8.tgz", {}, "sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg=="], + + "fast-glob/glob-parent": ["glob-parent@5.1.2", "", { "dependencies": { "is-glob": "^4.0.1" } }, "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow=="], + + "glob/minimatch": ["minimatch@9.0.5", "", { "dependencies": { "brace-expansion": "^2.0.1" } }, "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow=="], + + "http-proxy-agent/debug": ["debug@4.4.3", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/debug/-/debug-4.4.3.tgz", { "dependencies": { "ms": "^2.1.3" } }, "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA=="], + + "https-proxy-agent/debug": ["debug@4.4.3", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/debug/-/debug-4.4.3.tgz", { "dependencies": { "ms": "^2.1.3" } }, "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA=="], + + "js-yaml/argparse": ["argparse@2.0.1", "", {}, "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q=="], + + "mdast-util-find-and-replace/escape-string-regexp": ["escape-string-regexp@5.0.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", {}, "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw=="], + + "micromark/debug": ["debug@4.4.3", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/debug/-/debug-4.4.3.tgz", { "dependencies": { "ms": "^2.1.3" } }, "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA=="], + + "micromatch/picomatch": ["picomatch@2.3.1", "", {}, "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA=="], + + "parse-entities/@types/unist": ["@types/unist@2.0.11", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/@types/unist/-/unist-2.0.11.tgz", {}, "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA=="], + + "postcss-nested/postcss-selector-parser": ["postcss-selector-parser@6.1.2", "", { "dependencies": { "cssesc": "^3.0.0", "util-deprecate": "^1.0.2" } }, "sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg=="], + + "pretty-format/ansi-styles": ["ansi-styles@5.2.0", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/ansi-styles/-/ansi-styles-5.2.0.tgz", {}, "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA=="], + + "pretty-format/react-is": ["react-is@17.0.2", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/react-is/-/react-is-17.0.2.tgz", {}, "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w=="], + + "prop-types/react-is": ["react-is@16.13.1", "", {}, "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ=="], + + "readdirp/picomatch": ["picomatch@2.3.1", "", {}, "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA=="], + + "string-width-cjs/emoji-regex": ["emoji-regex@8.0.0", "", {}, "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="], + + "string-width-cjs/strip-ansi": ["strip-ansi@6.0.1", "", { "dependencies": { "ansi-regex": "^5.0.1" } }, "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A=="], + + "strip-ansi/ansi-regex": ["ansi-regex@6.1.0", "", {}, "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA=="], + + "strip-literal/js-tokens": ["js-tokens@9.0.1", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/js-tokens/-/js-tokens-9.0.1.tgz", {}, "sha512-mxa9E9ITFOt0ban3j6L5MpjwegGz6lBQmM1IJkWeBZGcMxto50+eWdjC/52xDbS2vy0k7vIMK0Fe2wfL9OQSpQ=="], + + "sucrase/commander": ["commander@4.1.1", "", {}, "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA=="], + + "tailwindcss/postcss-selector-parser": ["postcss-selector-parser@6.1.2", "", { "dependencies": { "cssesc": "^3.0.0", "util-deprecate": "^1.0.2" } }, "sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg=="], + + "vite/esbuild": ["esbuild@0.21.5", "", { "optionalDependencies": { "@esbuild/aix-ppc64": "0.21.5", "@esbuild/android-arm": "0.21.5", "@esbuild/android-arm64": "0.21.5", "@esbuild/android-x64": "0.21.5", "@esbuild/darwin-arm64": "0.21.5", "@esbuild/darwin-x64": "0.21.5", "@esbuild/freebsd-arm64": "0.21.5", "@esbuild/freebsd-x64": "0.21.5", "@esbuild/linux-arm": "0.21.5", "@esbuild/linux-arm64": "0.21.5", "@esbuild/linux-ia32": "0.21.5", "@esbuild/linux-loong64": "0.21.5", "@esbuild/linux-mips64el": "0.21.5", "@esbuild/linux-ppc64": "0.21.5", "@esbuild/linux-riscv64": "0.21.5", "@esbuild/linux-s390x": "0.21.5", "@esbuild/linux-x64": "0.21.5", "@esbuild/netbsd-x64": "0.21.5", "@esbuild/openbsd-x64": "0.21.5", "@esbuild/sunos-x64": "0.21.5", "@esbuild/win32-arm64": "0.21.5", "@esbuild/win32-ia32": "0.21.5", "@esbuild/win32-x64": "0.21.5" }, "bin": "bin/esbuild" }, "sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw=="], + + "vite-node/debug": ["debug@4.4.3", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/debug/-/debug-4.4.3.tgz", { "dependencies": { "ms": "^2.1.3" } }, "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA=="], + + "vitest/debug": ["debug@4.4.3", "https://europe-west4-npm.pkg.dev/lovable-core-prod/sandbox-npm-cache/debug/-/debug-4.4.3.tgz", { "dependencies": { "ms": "^2.1.3" } }, "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA=="], + + "wrap-ansi/ansi-styles": ["ansi-styles@6.2.1", "", {}, "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug=="], + + "wrap-ansi-cjs/string-width": ["string-width@4.2.3", "", { "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", "strip-ansi": "^6.0.1" } }, "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g=="], + + "wrap-ansi-cjs/strip-ansi": ["strip-ansi@6.0.1", "", { "dependencies": { "ansi-regex": "^5.0.1" } }, "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A=="], + + "@typescript-eslint/typescript-estree/minimatch/brace-expansion": ["brace-expansion@2.0.2", "", { "dependencies": { "balanced-match": "^1.0.0" } }, "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ=="], + + "glob/minimatch/brace-expansion": ["brace-expansion@2.0.2", "", { "dependencies": { "balanced-match": "^1.0.0" } }, "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ=="], + + "vite/esbuild/@esbuild/aix-ppc64": ["@esbuild/aix-ppc64@0.21.5", "", { "os": "aix", "cpu": "ppc64" }, "sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ=="], + + "vite/esbuild/@esbuild/android-arm": ["@esbuild/android-arm@0.21.5", "", { "os": "android", "cpu": "arm" }, "sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg=="], + + "vite/esbuild/@esbuild/android-arm64": ["@esbuild/android-arm64@0.21.5", "", { "os": "android", "cpu": "arm64" }, "sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A=="], + + "vite/esbuild/@esbuild/android-x64": ["@esbuild/android-x64@0.21.5", "", { "os": "android", "cpu": "x64" }, "sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA=="], + + "vite/esbuild/@esbuild/darwin-arm64": ["@esbuild/darwin-arm64@0.21.5", "", { "os": "darwin", "cpu": "arm64" }, "sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ=="], + + "vite/esbuild/@esbuild/darwin-x64": ["@esbuild/darwin-x64@0.21.5", "", { "os": "darwin", "cpu": "x64" }, "sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw=="], + + "vite/esbuild/@esbuild/freebsd-arm64": ["@esbuild/freebsd-arm64@0.21.5", "", { "os": "freebsd", "cpu": "arm64" }, "sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g=="], + + "vite/esbuild/@esbuild/freebsd-x64": ["@esbuild/freebsd-x64@0.21.5", "", { "os": "freebsd", "cpu": "x64" }, "sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ=="], + + "vite/esbuild/@esbuild/linux-arm": ["@esbuild/linux-arm@0.21.5", "", { "os": "linux", "cpu": "arm" }, "sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA=="], + + "vite/esbuild/@esbuild/linux-arm64": ["@esbuild/linux-arm64@0.21.5", "", { "os": "linux", "cpu": "arm64" }, "sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q=="], + + "vite/esbuild/@esbuild/linux-ia32": ["@esbuild/linux-ia32@0.21.5", "", { "os": "linux", "cpu": "ia32" }, "sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg=="], + + "vite/esbuild/@esbuild/linux-loong64": ["@esbuild/linux-loong64@0.21.5", "", { "os": "linux", "cpu": "none" }, "sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg=="], + + "vite/esbuild/@esbuild/linux-mips64el": ["@esbuild/linux-mips64el@0.21.5", "", { "os": "linux", "cpu": "none" }, "sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg=="], + + "vite/esbuild/@esbuild/linux-ppc64": ["@esbuild/linux-ppc64@0.21.5", "", { "os": "linux", "cpu": "ppc64" }, "sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w=="], + + "vite/esbuild/@esbuild/linux-riscv64": ["@esbuild/linux-riscv64@0.21.5", "", { "os": "linux", "cpu": "none" }, "sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA=="], + + "vite/esbuild/@esbuild/linux-s390x": ["@esbuild/linux-s390x@0.21.5", "", { "os": "linux", "cpu": "s390x" }, "sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A=="], + + "vite/esbuild/@esbuild/linux-x64": ["@esbuild/linux-x64@0.21.5", "", { "os": "linux", "cpu": "x64" }, "sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ=="], + + "vite/esbuild/@esbuild/netbsd-x64": ["@esbuild/netbsd-x64@0.21.5", "", { "os": "none", "cpu": "x64" }, "sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg=="], + + "vite/esbuild/@esbuild/openbsd-x64": ["@esbuild/openbsd-x64@0.21.5", "", { "os": "openbsd", "cpu": "x64" }, "sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow=="], + + "vite/esbuild/@esbuild/sunos-x64": ["@esbuild/sunos-x64@0.21.5", "", { "os": "sunos", "cpu": "x64" }, "sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg=="], + + "vite/esbuild/@esbuild/win32-arm64": ["@esbuild/win32-arm64@0.21.5", "", { "os": "win32", "cpu": "arm64" }, "sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A=="], + + "vite/esbuild/@esbuild/win32-ia32": ["@esbuild/win32-ia32@0.21.5", "", { "os": "win32", "cpu": "ia32" }, "sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA=="], + + "vite/esbuild/@esbuild/win32-x64": ["@esbuild/win32-x64@0.21.5", "", { "os": "win32", "cpu": "x64" }, "sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw=="], + + "wrap-ansi-cjs/string-width/emoji-regex": ["emoji-regex@8.0.0", "", {}, "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="], + } +} diff --git a/components.json b/components.json new file mode 100644 index 0000000000000000000000000000000000000000..62e101166a31ade477811bd31f6be1ae44d45423 --- /dev/null +++ b/components.json @@ -0,0 +1,20 @@ +{ + "$schema": "https://ui.shadcn.com/schema.json", + "style": "default", + "rsc": false, + "tsx": true, + "tailwind": { + "config": "tailwind.config.ts", + "css": "src/index.css", + "baseColor": "slate", + "cssVariables": true, + "prefix": "" + }, + "aliases": { + "components": "@/components", + "utils": "@/lib/utils", + "ui": "@/components/ui", + "lib": "@/lib", + "hooks": "@/hooks" + } +} diff --git a/dist/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 b/dist/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..0acaaff03d4bb7606de02a827aeee338e5a86910 Binary files /dev/null and b/dist/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 differ diff --git a/dist/assets/KaTeX_AMS-Regular-DMm9YOAa.woff b/dist/assets/KaTeX_AMS-Regular-DMm9YOAa.woff new file mode 100644 index 0000000000000000000000000000000000000000..b804d7b33a3fa5b2587d2d1d55006aed678e3eb2 Binary files /dev/null and b/dist/assets/KaTeX_AMS-Regular-DMm9YOAa.woff differ diff --git a/dist/assets/KaTeX_AMS-Regular-DRggAlZN.ttf b/dist/assets/KaTeX_AMS-Regular-DRggAlZN.ttf new file mode 100644 index 0000000000000000000000000000000000000000..c6f9a5e7c03f9e64e9c7b4773a8e37ade8eaf406 Binary files /dev/null and b/dist/assets/KaTeX_AMS-Regular-DRggAlZN.ttf differ diff --git a/dist/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf b/dist/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf new file mode 100644 index 0000000000000000000000000000000000000000..9ff4a5e04421e5107f74c28e27354e0b2a4e7ef8 Binary files /dev/null and b/dist/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf differ diff --git a/dist/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff b/dist/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff new file mode 100644 index 0000000000000000000000000000000000000000..9759710d1d3e16eb10012d56babb73f2479ba9f0 Binary files /dev/null and b/dist/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff differ diff --git a/dist/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 b/dist/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..f390922eceffe1f6dfb81a3dc086a92d98171b02 Binary files /dev/null and b/dist/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 differ diff --git a/dist/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff b/dist/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff new file mode 100644 index 0000000000000000000000000000000000000000..9bdd534fd2beb9b878f0219da9d63ffba56677e2 Binary files /dev/null and b/dist/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff differ diff --git a/dist/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 b/dist/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..75344a1f98e37e2c631e178065854c3a81fb842f Binary files /dev/null and b/dist/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 differ diff --git a/dist/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf b/dist/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf new file mode 100644 index 0000000000000000000000000000000000000000..f522294ff0f3f8c52dfdaef7ebfaa06ebfcfaabf Binary files /dev/null and b/dist/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf differ diff --git a/dist/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf b/dist/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf new file mode 100644 index 0000000000000000000000000000000000000000..4e98259c3b54076d684bf3459baeaeae8dbce97a Binary files /dev/null and b/dist/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf differ diff --git a/dist/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff b/dist/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff new file mode 100644 index 0000000000000000000000000000000000000000..e7730f66275c87c28f26530d89264cffecf90be0 Binary files /dev/null and b/dist/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff differ diff --git a/dist/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 b/dist/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..395f28beac23c7b0f7f3a1e714bd8dac253dd3bc Binary files /dev/null and b/dist/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 differ diff --git a/dist/assets/KaTeX_Fraktur-Regular-CB_wures.ttf b/dist/assets/KaTeX_Fraktur-Regular-CB_wures.ttf new file mode 100644 index 0000000000000000000000000000000000000000..b8461b275fae76efd0d21fd0f1aaa696a5b10f9a Binary files /dev/null and b/dist/assets/KaTeX_Fraktur-Regular-CB_wures.ttf differ diff --git a/dist/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 b/dist/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..735f6948d63c8cc7f8233735bb9c8d843c83d804 Binary files /dev/null and b/dist/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 differ diff --git a/dist/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff b/dist/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff new file mode 100644 index 0000000000000000000000000000000000000000..acab069f90b6fe6301a004e6f8beaf6a0db48bce Binary files /dev/null and b/dist/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff differ diff --git a/dist/assets/KaTeX_Main-Bold-Cx986IdX.woff2 b/dist/assets/KaTeX_Main-Bold-Cx986IdX.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..ab2ad21da6fbe6c171bb869240954d0ead8f68fd Binary files /dev/null and b/dist/assets/KaTeX_Main-Bold-Cx986IdX.woff2 differ diff --git a/dist/assets/KaTeX_Main-Bold-Jm3AIy58.woff b/dist/assets/KaTeX_Main-Bold-Jm3AIy58.woff new file mode 100644 index 0000000000000000000000000000000000000000..f38136ac1cc2dcdc9d9b10b8521487468b1f768c Binary files /dev/null and b/dist/assets/KaTeX_Main-Bold-Jm3AIy58.woff differ diff --git a/dist/assets/KaTeX_Main-Bold-waoOVXN0.ttf b/dist/assets/KaTeX_Main-Bold-waoOVXN0.ttf new file mode 100644 index 0000000000000000000000000000000000000000..4060e627dc341c1854260cbc3f7386e222a4d297 Binary files /dev/null and b/dist/assets/KaTeX_Main-Bold-waoOVXN0.ttf differ diff --git a/dist/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 b/dist/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..5931794de4a2a485fa70099bf2659b145976d043 Binary files /dev/null and b/dist/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 differ diff --git a/dist/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf b/dist/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf new file mode 100644 index 0000000000000000000000000000000000000000..dc007977ee709a236d9e82719cf7d4e5577a81b9 Binary files /dev/null and b/dist/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf differ diff --git a/dist/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff b/dist/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff new file mode 100644 index 0000000000000000000000000000000000000000..67807b0bd4f867853271f5917fb3adf377f93f53 Binary files /dev/null and b/dist/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff differ diff --git a/dist/assets/KaTeX_Main-Italic-3WenGoN9.ttf b/dist/assets/KaTeX_Main-Italic-3WenGoN9.ttf new file mode 100644 index 0000000000000000000000000000000000000000..0e9b0f354ad460202bba554359f5adcc8da666b7 Binary files /dev/null and b/dist/assets/KaTeX_Main-Italic-3WenGoN9.ttf differ diff --git a/dist/assets/KaTeX_Main-Italic-BMLOBm91.woff b/dist/assets/KaTeX_Main-Italic-BMLOBm91.woff new file mode 100644 index 0000000000000000000000000000000000000000..6f43b594b6c1d863a0e3f93b001f8dd503316464 Binary files /dev/null and b/dist/assets/KaTeX_Main-Italic-BMLOBm91.woff differ diff --git a/dist/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 b/dist/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..b50920e138807f385d0b0359f4f0f09891f18406 Binary files /dev/null and b/dist/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 differ diff --git a/dist/assets/KaTeX_Main-Regular-B22Nviop.woff2 b/dist/assets/KaTeX_Main-Regular-B22Nviop.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..eb24a7ba282b03d830fa6c63ee897d92a5188736 Binary files /dev/null and b/dist/assets/KaTeX_Main-Regular-B22Nviop.woff2 differ diff --git a/dist/assets/KaTeX_Main-Regular-Dr94JaBh.woff b/dist/assets/KaTeX_Main-Regular-Dr94JaBh.woff new file mode 100644 index 0000000000000000000000000000000000000000..21f5812968c42392a3eaea9b0c6320870b6b8b38 Binary files /dev/null and b/dist/assets/KaTeX_Main-Regular-Dr94JaBh.woff differ diff --git a/dist/assets/KaTeX_Main-Regular-ypZvNtVU.ttf b/dist/assets/KaTeX_Main-Regular-ypZvNtVU.ttf new file mode 100644 index 0000000000000000000000000000000000000000..dd45e1ed2e18b32c516d9b481ebed3cb8bffa711 Binary files /dev/null and b/dist/assets/KaTeX_Main-Regular-ypZvNtVU.ttf differ diff --git a/dist/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf b/dist/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf new file mode 100644 index 0000000000000000000000000000000000000000..728ce7a1e2cb689df32c3a6c26e1bd072dcf2acb Binary files /dev/null and b/dist/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf differ diff --git a/dist/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 b/dist/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..29657023adc09956249f6295746c8ce4469b50d3 Binary files /dev/null and b/dist/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 differ diff --git a/dist/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff b/dist/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff new file mode 100644 index 0000000000000000000000000000000000000000..0ae390d74c9f665cf8b1e5ea5483395da7513444 Binary files /dev/null and b/dist/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff differ diff --git a/dist/assets/KaTeX_Math-Italic-DA0__PXp.woff b/dist/assets/KaTeX_Math-Italic-DA0__PXp.woff new file mode 100644 index 0000000000000000000000000000000000000000..eb5159d4c1ca83fb92b3190223698427df0e010c Binary files /dev/null and b/dist/assets/KaTeX_Math-Italic-DA0__PXp.woff differ diff --git a/dist/assets/KaTeX_Math-Italic-flOr_0UB.ttf b/dist/assets/KaTeX_Math-Italic-flOr_0UB.ttf new file mode 100644 index 0000000000000000000000000000000000000000..70d559b4e937ca1b805eb39f544cbebe3c58ca6f Binary files /dev/null and b/dist/assets/KaTeX_Math-Italic-flOr_0UB.ttf differ diff --git a/dist/assets/KaTeX_Math-Italic-t53AETM-.woff2 b/dist/assets/KaTeX_Math-Italic-t53AETM-.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..215c143fd7805a5c2b222bd7892a1a2b09610020 Binary files /dev/null and b/dist/assets/KaTeX_Math-Italic-t53AETM-.woff2 differ diff --git a/dist/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf b/dist/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf new file mode 100644 index 0000000000000000000000000000000000000000..2f65a8a3a6d3628d11ea9c26c9077cef672fe427 Binary files /dev/null and b/dist/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf differ diff --git a/dist/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 b/dist/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..cfaa3bda59246b49e94298478d6de3b3208066c8 Binary files /dev/null and b/dist/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 differ diff --git a/dist/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff b/dist/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff new file mode 100644 index 0000000000000000000000000000000000000000..8d47c02d9408d34b2a9d566c0fe0d42bf82fb735 Binary files /dev/null and b/dist/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff differ diff --git a/dist/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 b/dist/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..349c06dc609f896392fd5bc8b364d3bc3efc9330 Binary files /dev/null and b/dist/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 differ diff --git a/dist/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff b/dist/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff new file mode 100644 index 0000000000000000000000000000000000000000..7e02df963621a5e26d53d510f0b4992eebde1c60 Binary files /dev/null and b/dist/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff differ diff --git a/dist/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf b/dist/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf new file mode 100644 index 0000000000000000000000000000000000000000..d5850df98ec19de2eee9ff922ef59586efe471d0 Binary files /dev/null and b/dist/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf differ diff --git a/dist/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf b/dist/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf new file mode 100644 index 0000000000000000000000000000000000000000..537279f6bd2184ed32f1a5168850609147d58ee6 Binary files /dev/null and b/dist/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf differ diff --git a/dist/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff b/dist/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff new file mode 100644 index 0000000000000000000000000000000000000000..31b84829b42edae20d0148eeec0d922dad2108c4 Binary files /dev/null and b/dist/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff differ diff --git a/dist/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 b/dist/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..a90eea85f6f7bded69ff5d40114447a6d8b48cfe Binary files /dev/null and b/dist/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 differ diff --git a/dist/assets/KaTeX_Script-Regular-C5JkGWo-.ttf b/dist/assets/KaTeX_Script-Regular-C5JkGWo-.ttf new file mode 100644 index 0000000000000000000000000000000000000000..fd679bf374af72f2a183b97b40c9c7e9e51fbe5e Binary files /dev/null and b/dist/assets/KaTeX_Script-Regular-C5JkGWo-.ttf differ diff --git a/dist/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 b/dist/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..b3048fc115681ee6c1bc86b0aa158cfbbf59daa3 Binary files /dev/null and b/dist/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 differ diff --git a/dist/assets/KaTeX_Script-Regular-D5yQViql.woff b/dist/assets/KaTeX_Script-Regular-D5yQViql.woff new file mode 100644 index 0000000000000000000000000000000000000000..0e7da821eee0dd05a0a6f0b16c2c1345dc573a84 Binary files /dev/null and b/dist/assets/KaTeX_Script-Regular-D5yQViql.woff differ diff --git a/dist/assets/KaTeX_Size1-Regular-C195tn64.woff b/dist/assets/KaTeX_Size1-Regular-C195tn64.woff new file mode 100644 index 0000000000000000000000000000000000000000..7f292d91184f257054ef77cc1cd3443db757c9cc Binary files /dev/null and b/dist/assets/KaTeX_Size1-Regular-C195tn64.woff differ diff --git a/dist/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf b/dist/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf new file mode 100644 index 0000000000000000000000000000000000000000..871fd7d19d8658f64d8696ed9cdfc82c821ed76d Binary files /dev/null and b/dist/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf differ diff --git a/dist/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 b/dist/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..c5a8462fbfe2c39a7c1857b9e296e62500a8a8a5 Binary files /dev/null and b/dist/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 differ diff --git a/dist/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf b/dist/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf new file mode 100644 index 0000000000000000000000000000000000000000..7a212caf91c0007e826fee2d622bf48acbd30dde Binary files /dev/null and b/dist/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf differ diff --git a/dist/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 b/dist/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..e1bccfe2403a4ed770c1697ae7c15b9e1cd9bc4e Binary files /dev/null and b/dist/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 differ diff --git a/dist/assets/KaTeX_Size2-Regular-oD1tc_U0.woff b/dist/assets/KaTeX_Size2-Regular-oD1tc_U0.woff new file mode 100644 index 0000000000000000000000000000000000000000..d241d9be2d317f7b39b401d96c8b18836acea0fa Binary files /dev/null and b/dist/assets/KaTeX_Size2-Regular-oD1tc_U0.woff differ diff --git a/dist/assets/KaTeX_Size3-Regular-CTq5MqoE.woff b/dist/assets/KaTeX_Size3-Regular-CTq5MqoE.woff new file mode 100644 index 0000000000000000000000000000000000000000..e6e9b658dcf1cd031ac82b6b8f312444c55d4fc0 Binary files /dev/null and b/dist/assets/KaTeX_Size3-Regular-CTq5MqoE.woff differ diff --git a/dist/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf b/dist/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf new file mode 100644 index 0000000000000000000000000000000000000000..00bff3495fa9d2f98c1c9ce436add6a1bcfe87fb Binary files /dev/null and b/dist/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf differ diff --git a/dist/assets/KaTeX_Size4-Regular-BF-4gkZK.woff b/dist/assets/KaTeX_Size4-Regular-BF-4gkZK.woff new file mode 100644 index 0000000000000000000000000000000000000000..e1ec5457664f438ce5a1cc6dd8409bf60ca7804b Binary files /dev/null and b/dist/assets/KaTeX_Size4-Regular-BF-4gkZK.woff differ diff --git a/dist/assets/KaTeX_Size4-Regular-DWFBv043.ttf b/dist/assets/KaTeX_Size4-Regular-DWFBv043.ttf new file mode 100644 index 0000000000000000000000000000000000000000..74f08921f00f71f413ca42c9d1c90202e672ef38 Binary files /dev/null and b/dist/assets/KaTeX_Size4-Regular-DWFBv043.ttf differ diff --git a/dist/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 b/dist/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..680c13085076a2f6c5a7e695935ec3f21cddb65f Binary files /dev/null and b/dist/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 differ diff --git a/dist/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff b/dist/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff new file mode 100644 index 0000000000000000000000000000000000000000..2432419f28936aff53ddfa2a732d027e6a6648fd Binary files /dev/null and b/dist/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff differ diff --git a/dist/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 b/dist/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..771f1af705f5cef5f578b3a1e7d8eff66f9b76b0 Binary files /dev/null and b/dist/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 differ diff --git a/dist/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf b/dist/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf new file mode 100644 index 0000000000000000000000000000000000000000..c83252c5714c71a3e0ec62195884167339a0129b Binary files /dev/null and b/dist/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf differ diff --git a/dist/assets/index-BU1Md7d6.js b/dist/assets/index-BU1Md7d6.js new file mode 100644 index 0000000000000000000000000000000000000000..b3209144915de0cff95a1e5d97a972eb7829cae7 --- /dev/null +++ b/dist/assets/index-BU1Md7d6.js @@ -0,0 +1,844 @@ +var EN=Object.defineProperty;var fw=e=>{throw TypeError(e)};var SN=(e,t,n)=>t in e?EN(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Xo=(e,t,n)=>SN(e,typeof t!="symbol"?t+"":t,n),zm=(e,t,n)=>t.has(e)||fw("Cannot "+n);var pe=(e,t,n)=>(zm(e,t,"read from private field"),n?n.call(e):t.get(e)),nt=(e,t,n)=>t.has(e)?fw("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),$e=(e,t,n,r)=>(zm(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),mn=(e,t,n)=>(zm(e,t,"access private method"),n);var hh=(e,t,n,r)=>({set _(i){$e(e,t,i,n)},get _(){return pe(e,t,r)}});function CN(e,t){for(var n=0;nr[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const a of i)if(a.type==="childList")for(const o of a.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const a={};return i.integrity&&(a.integrity=i.integrity),i.referrerPolicy&&(a.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?a.credentials="include":i.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(i){if(i.ep)return;i.ep=!0;const a=n(i);fetch(i.href,a)}})();var Ke=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Od(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function AN(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var rD={exports:{}},Y0={},iD={exports:{}},et={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Id=Symbol.for("react.element"),UN=Symbol.for("react.portal"),FN=Symbol.for("react.fragment"),RN=Symbol.for("react.strict_mode"),NN=Symbol.for("react.profiler"),ON=Symbol.for("react.provider"),IN=Symbol.for("react.context"),PN=Symbol.for("react.forward_ref"),BN=Symbol.for("react.suspense"),MN=Symbol.for("react.memo"),jN=Symbol.for("react.lazy"),pw=Symbol.iterator;function LN(e){return e===null||typeof e!="object"?null:(e=pw&&e[pw]||e["@@iterator"],typeof e=="function"?e:null)}var aD={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},oD=Object.assign,sD={};function _c(e,t,n){this.props=e,this.context=t,this.refs=sD,this.updater=n||aD}_c.prototype.isReactComponent={};_c.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};_c.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function lD(){}lD.prototype=_c.prototype;function Ny(e,t,n){this.props=e,this.context=t,this.refs=sD,this.updater=n||aD}var Oy=Ny.prototype=new lD;Oy.constructor=Ny;oD(Oy,_c.prototype);Oy.isPureReactComponent=!0;var mw=Array.isArray,cD=Object.prototype.hasOwnProperty,Iy={current:null},uD={key:!0,ref:!0,__self:!0,__source:!0};function dD(e,t,n){var r,i={},a=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(a=""+t.key),t)cD.call(t,r)&&!uD.hasOwnProperty(r)&&(i[r]=t[r]);var s=arguments.length-2;if(s===1)i.children=n;else if(1>>1,V=P[$];if(0>>1;$i(ce,F))mei(fe,ce)?(P[$]=fe,P[me]=F,$=me):(P[$]=ce,P[ne]=F,$=ne);else if(mei(fe,F))P[$]=fe,P[me]=F,$=me;else break e}}return M}function i(P,M){var F=P.sortIndex-M.sortIndex;return F!==0?F:P.id-M.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var l=[],c=[],u=1,d=null,f=3,h=!1,v=!1,p=!1,y=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,g=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function b(P){for(var M=n(c);M!==null;){if(M.callback===null)r(c);else if(M.startTime<=P)r(c),M.sortIndex=M.expirationTime,t(l,M);else break;M=n(c)}}function x(P){if(p=!1,b(P),!v)if(n(l)!==null)v=!0,j(D);else{var M=n(c);M!==null&&z(x,M.startTime-P)}}function D(P,M){v=!1,p&&(p=!1,m(N),N=-1),h=!0;var F=f;try{for(b(M),d=n(l);d!==null&&(!(d.expirationTime>M)||P&&!K());){var $=d.callback;if(typeof $=="function"){d.callback=null,f=d.priorityLevel;var V=$(d.expirationTime<=M);M=e.unstable_now(),typeof V=="function"?d.callback=V:d===n(l)&&r(l),b(M)}else r(l);d=n(l)}if(d!==null)var U=!0;else{var ne=n(c);ne!==null&&z(x,ne.startTime-M),U=!1}return U}finally{d=null,f=F,h=!1}}var w=!1,_=null,N=-1,O=5,B=-1;function K(){return!(e.unstable_now()-BP||125$?(P.sortIndex=F,t(c,P),n(l)===null&&P===n(c)&&(p?(m(N),N=-1):p=!0,z(x,F-$))):(P.sortIndex=V,t(l,P),v||h||(v=!0,j(D))),P},e.unstable_shouldYield=K,e.unstable_wrapCallback=function(P){var M=f;return function(){var F=f;f=M;try{return P.apply(this,arguments)}finally{f=F}}}})(gD);mD.exports=gD;var JN=mD.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var QN=R,Tr=JN;function De(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Tv=Object.prototype.hasOwnProperty,ZN=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,vw={},yw={};function eO(e){return Tv.call(yw,e)?!0:Tv.call(vw,e)?!1:ZN.test(e)?yw[e]=!0:(vw[e]=!0,!1)}function tO(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function nO(e,t,n,r){if(t===null||typeof t>"u"||tO(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Xn(e,t,n,r,i,a,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=o}var xn={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){xn[e]=new Xn(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];xn[t]=new Xn(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){xn[e]=new Xn(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){xn[e]=new Xn(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){xn[e]=new Xn(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){xn[e]=new Xn(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){xn[e]=new Xn(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){xn[e]=new Xn(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){xn[e]=new Xn(e,5,!1,e.toLowerCase(),null,!1,!1)});var My=/[\-:]([a-z])/g;function jy(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(My,jy);xn[t]=new Xn(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(My,jy);xn[t]=new Xn(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(My,jy);xn[t]=new Xn(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){xn[e]=new Xn(e,1,!1,e.toLowerCase(),null,!1,!1)});xn.xlinkHref=new Xn("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){xn[e]=new Xn(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ly(e,t,n,r){var i=xn.hasOwnProperty(t)?xn[t]:null;(i!==null?i.type!==0:r||!(2s||i[o]!==a[s]){var l=` +`+i[o].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=o&&0<=s);break}}}finally{qm=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?du(e):""}function rO(e){switch(e.tag){case 5:return du(e.type);case 16:return du("Lazy");case 13:return du("Suspense");case 19:return du("SuspenseList");case 0:case 2:case 15:return e=Hm(e.type,!1),e;case 11:return e=Hm(e.type.render,!1),e;case 1:return e=Hm(e.type,!0),e;default:return""}}function Av(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case yl:return"Fragment";case vl:return"Portal";case Ev:return"Profiler";case zy:return"StrictMode";case Sv:return"Suspense";case Cv:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case bD:return(e.displayName||"Context")+".Consumer";case yD:return(e._context.displayName||"Context")+".Provider";case Wy:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case $y:return t=e.displayName||null,t!==null?t:Av(e.type)||"Memo";case Ga:t=e._payload,e=e._init;try{return Av(e(t))}catch{}}return null}function iO(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Av(t);case 8:return t===zy?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function ko(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function wD(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function aO(e){var t=wD(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(o){r=""+o,a.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function mh(e){e._valueTracker||(e._valueTracker=aO(e))}function DD(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=wD(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Wf(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Uv(e,t){var n=t.checked;return jt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function xw(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=ko(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function kD(e,t){t=t.checked,t!=null&&Ly(e,"checked",t,!1)}function Fv(e,t){kD(e,t);var n=ko(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Rv(e,t.type,n):t.hasOwnProperty("defaultValue")&&Rv(e,t.type,ko(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function ww(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Rv(e,t,n){(t!=="number"||Wf(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var hu=Array.isArray;function Fl(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=gh.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Mu(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var xu={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},oO=["Webkit","ms","Moz","O"];Object.keys(xu).forEach(function(e){oO.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),xu[t]=xu[e]})});function SD(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||xu.hasOwnProperty(e)&&xu[e]?(""+t).trim():t+"px"}function CD(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=SD(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var sO=jt({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Iv(e,t){if(t){if(sO[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(De(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(De(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(De(61))}if(t.style!=null&&typeof t.style!="object")throw Error(De(62))}}function Pv(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Bv=null;function qy(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Mv=null,Rl=null,Nl=null;function _w(e){if(e=Md(e)){if(typeof Mv!="function")throw Error(De(280));var t=e.stateNode;t&&(t=tp(t),Mv(e.stateNode,e.type,t))}}function AD(e){Rl?Nl?Nl.push(e):Nl=[e]:Rl=e}function UD(){if(Rl){var e=Rl,t=Nl;if(Nl=Rl=null,_w(e),t)for(e=0;e>>=0,e===0?32:31-(yO(e)/bO|0)|0}var vh=64,yh=4194304;function fu(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Vf(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,a=e.pingedLanes,o=n&268435455;if(o!==0){var s=o&~i;s!==0?r=fu(s):(a&=o,a!==0&&(r=fu(a)))}else o=n&~i,o!==0?r=fu(o):a!==0&&(r=fu(a));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,a=t&-t,i>=a||i===16&&(a&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Pd(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-oi(t),e[t]=n}function kO(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Du),Nw=" ",Ow=!1;function YD(e,t){switch(e){case"keyup":return JO.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function JD(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var bl=!1;function ZO(e,t){switch(e){case"compositionend":return JD(t);case"keypress":return t.which!==32?null:(Ow=!0,Nw);case"textInput":return e=t.data,e===Nw&&Ow?null:e;default:return null}}function eI(e,t){if(bl)return e==="compositionend"||!Qy&&YD(e,t)?(e=XD(),xf=Ky=oo=null,bl=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Mw(n)}}function tk(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?tk(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function nk(){for(var e=window,t=Wf();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Wf(e.document)}return t}function Zy(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function cI(e){var t=nk(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&tk(n.ownerDocument.documentElement,n)){if(r!==null&&Zy(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,a=Math.min(r.start,i);r=r.end===void 0?a:Math.min(r.end,i),!e.extend&&a>r&&(i=r,r=a,a=i),i=jw(n,a);var o=jw(n,r);i&&o&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,xl=null,qv=null,_u=null,Hv=!1;function Lw(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Hv||xl==null||xl!==Wf(r)||(r=xl,"selectionStart"in r&&Zy(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),_u&&qu(_u,r)||(_u=r,r=Kf(qv,"onSelect"),0kl||(e.current=Jv[kl],Jv[kl]=null,kl--)}function Tt(e,t){kl++,Jv[kl]=e.current,e.current=t}var _o={},Nn=Oo(_o),rr=Oo(!1),ks=_o;function nc(e,t){var n=e.type.contextTypes;if(!n)return _o;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},a;for(a in n)i[a]=t[a];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function ir(e){return e=e.childContextTypes,e!=null}function Jf(){Ut(rr),Ut(Nn)}function Gw(e,t,n){if(Nn.current!==_o)throw Error(De(168));Tt(Nn,t),Tt(rr,n)}function dk(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(De(108,iO(e)||"Unknown",i));return jt({},n,r)}function Qf(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||_o,ks=Nn.current,Tt(Nn,e),Tt(rr,rr.current),!0}function Xw(e,t,n){var r=e.stateNode;if(!r)throw Error(De(169));n?(e=dk(e,t,ks),r.__reactInternalMemoizedMergedChildContext=e,Ut(rr),Ut(Nn),Tt(Nn,e)):Ut(rr),Tt(rr,n)}var ia=null,np=!1,ag=!1;function hk(e){ia===null?ia=[e]:ia.push(e)}function wI(e){np=!0,hk(e)}function Io(){if(!ag&&ia!==null){ag=!0;var e=0,t=ft;try{var n=ia;for(ft=1;e>=o,i-=o,ca=1<<32-oi(t)+i|n<N?(O=_,_=null):O=_.sibling;var B=f(m,_,b[N],x);if(B===null){_===null&&(_=O);break}e&&_&&B.alternate===null&&t(m,_),g=a(B,g,N),w===null?D=B:w.sibling=B,w=B,_=O}if(N===b.length)return n(m,_),Rt&&ts(m,N),D;if(_===null){for(;NN?(O=_,_=null):O=_.sibling;var K=f(m,_,B.value,x);if(K===null){_===null&&(_=O);break}e&&_&&K.alternate===null&&t(m,_),g=a(K,g,N),w===null?D=K:w.sibling=K,w=K,_=O}if(B.done)return n(m,_),Rt&&ts(m,N),D;if(_===null){for(;!B.done;N++,B=b.next())B=d(m,B.value,x),B!==null&&(g=a(B,g,N),w===null?D=B:w.sibling=B,w=B);return Rt&&ts(m,N),D}for(_=r(m,_);!B.done;N++,B=b.next())B=h(_,m,N,B.value,x),B!==null&&(e&&B.alternate!==null&&_.delete(B.key===null?N:B.key),g=a(B,g,N),w===null?D=B:w.sibling=B,w=B);return e&&_.forEach(function(A){return t(m,A)}),Rt&&ts(m,N),D}function y(m,g,b,x){if(typeof b=="object"&&b!==null&&b.type===yl&&b.key===null&&(b=b.props.children),typeof b=="object"&&b!==null){switch(b.$$typeof){case ph:e:{for(var D=b.key,w=g;w!==null;){if(w.key===D){if(D=b.type,D===yl){if(w.tag===7){n(m,w.sibling),g=i(w,b.props.children),g.return=m,m=g;break e}}else if(w.elementType===D||typeof D=="object"&&D!==null&&D.$$typeof===Ga&&Jw(D)===w.type){n(m,w.sibling),g=i(w,b.props),g.ref=Qc(m,w,b),g.return=m,m=g;break e}n(m,w);break}else t(m,w);w=w.sibling}b.type===yl?(g=xs(b.props.children,m.mode,x,b.key),g.return=m,m=g):(x=Cf(b.type,b.key,b.props,null,m.mode,x),x.ref=Qc(m,g,b),x.return=m,m=x)}return o(m);case vl:e:{for(w=b.key;g!==null;){if(g.key===w)if(g.tag===4&&g.stateNode.containerInfo===b.containerInfo&&g.stateNode.implementation===b.implementation){n(m,g.sibling),g=i(g,b.children||[]),g.return=m,m=g;break e}else{n(m,g);break}else t(m,g);g=g.sibling}g=fg(b,m.mode,x),g.return=m,m=g}return o(m);case Ga:return w=b._init,y(m,g,w(b._payload),x)}if(hu(b))return v(m,g,b,x);if(Gc(b))return p(m,g,b,x);Th(m,b)}return typeof b=="string"&&b!==""||typeof b=="number"?(b=""+b,g!==null&&g.tag===6?(n(m,g.sibling),g=i(g,b),g.return=m,m=g):(n(m,g),g=hg(b,m.mode,x),g.return=m,m=g),o(m)):n(m,g)}return y}var ic=gk(!0),vk=gk(!1),t0=Oo(null),n0=null,El=null,rb=null;function ib(){rb=El=n0=null}function ab(e){var t=t0.current;Ut(t0),e._currentValue=t}function e2(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Il(e,t){n0=e,rb=El=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(nr=!0),e.firstContext=null)}function Hr(e){var t=e._currentValue;if(rb!==e)if(e={context:e,memoizedValue:t,next:null},El===null){if(n0===null)throw Error(De(308));El=e,n0.dependencies={lanes:0,firstContext:e}}else El=El.next=e;return t}var us=null;function ob(e){us===null?us=[e]:us.push(e)}function yk(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,ob(t)):(n.next=i.next,i.next=n),t.interleaved=n,va(e,r)}function va(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Xa=!1;function sb(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function bk(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function da(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function go(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,st&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,va(e,n)}return i=r.interleaved,i===null?(t.next=t,ob(r)):(t.next=i.next,i.next=t),r.interleaved=t,va(e,n)}function Df(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Vy(e,n)}}function Qw(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function r0(e,t,n,r){var i=e.updateQueue;Xa=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var l=s,c=l.next;l.next=null,o===null?a=c:o.next=c,o=l;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=c:s.next=c,u.lastBaseUpdate=l))}if(a!==null){var d=i.baseState;o=0,u=c=l=null,s=a;do{var f=s.lane,h=s.eventTime;if((r&f)===f){u!==null&&(u=u.next={eventTime:h,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var v=e,p=s;switch(f=t,h=n,p.tag){case 1:if(v=p.payload,typeof v=="function"){d=v.call(h,d,f);break e}d=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=p.payload,f=typeof v=="function"?v.call(h,d,f):v,f==null)break e;d=jt({},d,f);break e;case 2:Xa=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,f=i.effects,f===null?i.effects=[s]:f.push(s))}else h={eventTime:h,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(c=u=h,l=d):u=u.next=h,o|=f;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;f=s,s=f.next,f.next=null,i.lastBaseUpdate=f,i.shared.pending=null}}while(!0);if(u===null&&(l=d),i.baseState=l,i.firstBaseUpdate=c,i.lastBaseUpdate=u,t=i.shared.interleaved,t!==null){i=t;do o|=i.lane,i=i.next;while(i!==t)}else a===null&&(i.shared.lanes=0);Es|=o,e.lanes=o,e.memoizedState=d}}function Zw(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=sg.transition;sg.transition={};try{e(!1),t()}finally{ft=n,sg.transition=r}}function Pk(){return Vr().memoizedState}function TI(e,t,n){var r=yo(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Bk(e))Mk(t,n);else if(n=yk(e,t,n,r),n!==null){var i=Hn();si(n,e,r,i),jk(n,t,r)}}function EI(e,t,n){var r=yo(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Bk(e))Mk(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,ci(s,o)){var l=t.interleaved;l===null?(i.next=i,ob(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=yk(e,t,i,r),n!==null&&(i=Hn(),si(n,e,r,i),jk(n,t,r))}}function Bk(e){var t=e.alternate;return e===Mt||t!==null&&t===Mt}function Mk(e,t){Tu=a0=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function jk(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Vy(e,n)}}var o0={readContext:Hr,useCallback:_n,useContext:_n,useEffect:_n,useImperativeHandle:_n,useInsertionEffect:_n,useLayoutEffect:_n,useMemo:_n,useReducer:_n,useRef:_n,useState:_n,useDebugValue:_n,useDeferredValue:_n,useTransition:_n,useMutableSource:_n,useSyncExternalStore:_n,useId:_n,unstable_isNewReconciler:!1},SI={readContext:Hr,useCallback:function(e,t){return Di().memoizedState=[e,t===void 0?null:t],e},useContext:Hr,useEffect:t3,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,_f(4194308,4,Fk.bind(null,t,e),n)},useLayoutEffect:function(e,t){return _f(4194308,4,e,t)},useInsertionEffect:function(e,t){return _f(4,2,e,t)},useMemo:function(e,t){var n=Di();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Di();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=TI.bind(null,Mt,e),[r.memoizedState,e]},useRef:function(e){var t=Di();return e={current:e},t.memoizedState=e},useState:e3,useDebugValue:mb,useDeferredValue:function(e){return Di().memoizedState=e},useTransition:function(){var e=e3(!1),t=e[0];return e=_I.bind(null,e[1]),Di().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Mt,i=Di();if(Rt){if(n===void 0)throw Error(De(407));n=n()}else{if(n=t(),un===null)throw Error(De(349));Ts&30||kk(r,t,n)}i.memoizedState=n;var a={value:n,getSnapshot:t};return i.queue=a,t3(Tk.bind(null,r,a,e),[e]),r.flags|=2048,Qu(9,_k.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=Di(),t=un.identifierPrefix;if(Rt){var n=ua,r=ca;n=(r&~(1<<32-oi(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Yu++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[Ui]=t,e[Gu]=r,Kk(e,t,!1,!1),t.stateNode=e;e:{switch(o=Pv(n,r),n){case"dialog":Ct("cancel",e),Ct("close",e),i=r;break;case"iframe":case"object":case"embed":Ct("load",e),i=r;break;case"video":case"audio":for(i=0;isc&&(t.flags|=128,r=!0,Zc(a,!1),t.lanes=4194304)}else{if(!r)if(e=i0(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Zc(a,!0),a.tail===null&&a.tailMode==="hidden"&&!o.alternate&&!Rt)return Tn(t),null}else 2*Ht()-a.renderingStartTime>sc&&n!==1073741824&&(t.flags|=128,r=!0,Zc(a,!1),t.lanes=4194304);a.isBackwards?(o.sibling=t.child,t.child=o):(n=a.last,n!==null?n.sibling=o:t.child=o,a.last=o)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Ht(),t.sibling=null,n=Pt.current,Tt(Pt,r?n&1|2:n&1),t):(Tn(t),null);case 22:case 23:return wb(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?gr&1073741824&&(Tn(t),t.subtreeFlags&6&&(t.flags|=8192)):Tn(t),null;case 24:return null;case 25:return null}throw Error(De(156,t.tag))}function II(e,t){switch(tb(t),t.tag){case 1:return ir(t.type)&&Jf(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ac(),Ut(rr),Ut(Nn),ub(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return cb(t),null;case 13:if(Ut(Pt),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(De(340));rc()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ut(Pt),null;case 4:return ac(),null;case 10:return ab(t.type._context),null;case 22:case 23:return wb(),null;case 24:return null;default:return null}}var Sh=!1,Cn=!1,PI=typeof WeakSet=="function"?WeakSet:Set,Re=null;function Sl(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){$t(e,t,r)}else n.current=null}function c2(e,t,n){try{n()}catch(r){$t(e,t,r)}}var h3=!1;function BI(e,t){if(Vv=Gf,e=nk(),Zy(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch{n=null;break e}var o=0,s=-1,l=-1,c=0,u=0,d=e,f=null;t:for(;;){for(var h;d!==n||i!==0&&d.nodeType!==3||(s=o+i),d!==a||r!==0&&d.nodeType!==3||(l=o+r),d.nodeType===3&&(o+=d.nodeValue.length),(h=d.firstChild)!==null;)f=d,d=h;for(;;){if(d===e)break t;if(f===n&&++c===i&&(s=o),f===a&&++u===r&&(l=o),(h=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=h}n=s===-1||l===-1?null:{start:s,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Gv={focusedElem:e,selectionRange:n},Gf=!1,Re=t;Re!==null;)if(t=Re,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Re=e;else for(;Re!==null;){t=Re;try{var v=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var p=v.memoizedProps,y=v.memoizedState,m=t.stateNode,g=m.getSnapshotBeforeUpdate(t.elementType===t.type?p:ei(t.type,p),y);m.__reactInternalSnapshotBeforeUpdate=g}break;case 3:var b=t.stateNode.containerInfo;b.nodeType===1?b.textContent="":b.nodeType===9&&b.documentElement&&b.removeChild(b.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(De(163))}}catch(x){$t(t,t.return,x)}if(e=t.sibling,e!==null){e.return=t.return,Re=e;break}Re=t.return}return v=h3,h3=!1,v}function Eu(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var a=i.destroy;i.destroy=void 0,a!==void 0&&c2(t,n,a)}i=i.next}while(i!==r)}}function ap(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function u2(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Qk(e){var t=e.alternate;t!==null&&(e.alternate=null,Qk(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ui],delete t[Gu],delete t[Yv],delete t[bI],delete t[xI])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Zk(e){return e.tag===5||e.tag===3||e.tag===4}function f3(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Zk(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function d2(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Yf));else if(r!==4&&(e=e.child,e!==null))for(d2(e,t,n),e=e.sibling;e!==null;)d2(e,t,n),e=e.sibling}function h2(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(h2(e,t,n),e=e.sibling;e!==null;)h2(e,t,n),e=e.sibling}var yn=null,ii=!1;function Ba(e,t,n){for(n=n.child;n!==null;)e_(e,t,n),n=n.sibling}function e_(e,t,n){if(Ii&&typeof Ii.onCommitFiberUnmount=="function")try{Ii.onCommitFiberUnmount(J0,n)}catch{}switch(n.tag){case 5:Cn||Sl(n,t);case 6:var r=yn,i=ii;yn=null,Ba(e,t,n),yn=r,ii=i,yn!==null&&(ii?(e=yn,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):yn.removeChild(n.stateNode));break;case 18:yn!==null&&(ii?(e=yn,n=n.stateNode,e.nodeType===8?ig(e.parentNode,n):e.nodeType===1&&ig(e,n),Wu(e)):ig(yn,n.stateNode));break;case 4:r=yn,i=ii,yn=n.stateNode.containerInfo,ii=!0,Ba(e,t,n),yn=r,ii=i;break;case 0:case 11:case 14:case 15:if(!Cn&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var a=i,o=a.destroy;a=a.tag,o!==void 0&&(a&2||a&4)&&c2(n,t,o),i=i.next}while(i!==r)}Ba(e,t,n);break;case 1:if(!Cn&&(Sl(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){$t(n,t,s)}Ba(e,t,n);break;case 21:Ba(e,t,n);break;case 22:n.mode&1?(Cn=(r=Cn)||n.memoizedState!==null,Ba(e,t,n),Cn=r):Ba(e,t,n);break;default:Ba(e,t,n)}}function p3(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new PI),t.forEach(function(r){var i=VI.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Jr(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=o),r&=~a}if(r=i,r=Ht()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*jI(r/1960))-r,10e?16:e,so===null)var r=!1;else{if(e=so,so=null,c0=0,st&6)throw Error(De(331));var i=st;for(st|=4,Re=e.current;Re!==null;){var a=Re,o=a.child;if(Re.flags&16){var s=a.deletions;if(s!==null){for(var l=0;lHt()-bb?bs(e,0):yb|=n),ar(e,t)}function l_(e,t){t===0&&(e.mode&1?(t=yh,yh<<=1,!(yh&130023424)&&(yh=4194304)):t=1);var n=Hn();e=va(e,t),e!==null&&(Pd(e,t,n),ar(e,n))}function HI(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),l_(e,n)}function VI(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(De(314))}r!==null&&r.delete(t),l_(e,n)}var c_;c_=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||rr.current)nr=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return nr=!1,NI(e,t,n);nr=!!(e.flags&131072)}else nr=!1,Rt&&t.flags&1048576&&fk(t,e0,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Tf(e,t),e=t.pendingProps;var i=nc(t,Nn.current);Il(t,n),i=hb(null,t,r,e,i,n);var a=fb();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ir(r)?(a=!0,Qf(t)):a=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,sb(t),i.updater=ip,t.stateNode=i,i._reactInternals=t,n2(t,r,e,n),t=a2(null,t,r,!0,a,n)):(t.tag=0,Rt&&a&&eb(t),Ln(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Tf(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=XI(r),e=ei(r,e),i){case 0:t=i2(null,t,r,e,n);break e;case 1:t=c3(null,t,r,e,n);break e;case 11:t=s3(null,t,r,e,n);break e;case 14:t=l3(null,t,r,ei(r.type,e),n);break e}throw Error(De(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ei(r,i),i2(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ei(r,i),c3(e,t,r,i,n);case 3:e:{if(Vk(t),e===null)throw Error(De(387));r=t.pendingProps,a=t.memoizedState,i=a.element,bk(e,t),r0(t,r,null,n);var o=t.memoizedState;if(r=o.element,a.isDehydrated)if(a={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){i=oc(Error(De(423)),t),t=u3(e,t,r,n,i);break e}else if(r!==i){i=oc(Error(De(424)),t),t=u3(e,t,r,n,i);break e}else for(xr=mo(t.stateNode.containerInfo.firstChild),wr=t,Rt=!0,ai=null,n=vk(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(rc(),r===i){t=ya(e,t,n);break e}Ln(e,t,r,n)}t=t.child}return t;case 5:return xk(t),e===null&&Zv(t),r=t.type,i=t.pendingProps,a=e!==null?e.memoizedProps:null,o=i.children,Xv(r,i)?o=null:a!==null&&Xv(r,a)&&(t.flags|=32),Hk(e,t),Ln(e,t,o,n),t.child;case 6:return e===null&&Zv(t),null;case 13:return Gk(e,t,n);case 4:return lb(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=ic(t,null,r,n):Ln(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ei(r,i),s3(e,t,r,i,n);case 7:return Ln(e,t,t.pendingProps,n),t.child;case 8:return Ln(e,t,t.pendingProps.children,n),t.child;case 12:return Ln(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,a=t.memoizedProps,o=i.value,Tt(t0,r._currentValue),r._currentValue=o,a!==null)if(ci(a.value,o)){if(a.children===i.children&&!rr.current){t=ya(e,t,n);break e}}else for(a=t.child,a!==null&&(a.return=t);a!==null;){var s=a.dependencies;if(s!==null){o=a.child;for(var l=s.firstContext;l!==null;){if(l.context===r){if(a.tag===1){l=da(-1,n&-n),l.tag=2;var c=a.updateQueue;if(c!==null){c=c.shared;var u=c.pending;u===null?l.next=l:(l.next=u.next,u.next=l),c.pending=l}}a.lanes|=n,l=a.alternate,l!==null&&(l.lanes|=n),e2(a.return,n,t),s.lanes|=n;break}l=l.next}}else if(a.tag===10)o=a.type===t.type?null:a.child;else if(a.tag===18){if(o=a.return,o===null)throw Error(De(341));o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),e2(o,n,t),o=a.sibling}else o=a.child;if(o!==null)o.return=a;else for(o=a;o!==null;){if(o===t){o=null;break}if(a=o.sibling,a!==null){a.return=o.return,o=a;break}o=o.return}a=o}Ln(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Il(t,n),i=Hr(i),r=r(i),t.flags|=1,Ln(e,t,r,n),t.child;case 14:return r=t.type,i=ei(r,t.pendingProps),i=ei(r.type,i),l3(e,t,r,i,n);case 15:return $k(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ei(r,i),Tf(e,t),t.tag=1,ir(r)?(e=!0,Qf(t)):e=!1,Il(t,n),Lk(t,r,i),n2(t,r,i,n),a2(null,t,r,!0,e,n);case 19:return Xk(e,t,n);case 22:return qk(e,t,n)}throw Error(De(156,t.tag))};function u_(e,t){return BD(e,t)}function GI(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Lr(e,t,n,r){return new GI(e,t,n,r)}function kb(e){return e=e.prototype,!(!e||!e.isReactComponent)}function XI(e){if(typeof e=="function")return kb(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Wy)return 11;if(e===$y)return 14}return 2}function bo(e,t){var n=e.alternate;return n===null?(n=Lr(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Cf(e,t,n,r,i,a){var o=2;if(r=e,typeof e=="function")kb(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case yl:return xs(n.children,i,a,t);case zy:o=8,i|=8;break;case Ev:return e=Lr(12,n,t,i|2),e.elementType=Ev,e.lanes=a,e;case Sv:return e=Lr(13,n,t,i),e.elementType=Sv,e.lanes=a,e;case Cv:return e=Lr(19,n,t,i),e.elementType=Cv,e.lanes=a,e;case xD:return sp(n,i,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case yD:o=10;break e;case bD:o=9;break e;case Wy:o=11;break e;case $y:o=14;break e;case Ga:o=16,r=null;break e}throw Error(De(130,e==null?e:typeof e,""))}return t=Lr(o,n,t,i),t.elementType=e,t.type=r,t.lanes=a,t}function xs(e,t,n,r){return e=Lr(7,e,r,t),e.lanes=n,e}function sp(e,t,n,r){return e=Lr(22,e,r,t),e.elementType=xD,e.lanes=n,e.stateNode={isHidden:!1},e}function hg(e,t,n){return e=Lr(6,e,null,t),e.lanes=n,e}function fg(e,t,n){return t=Lr(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function KI(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Gm(0),this.expirationTimes=Gm(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Gm(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function _b(e,t,n,r,i,a,o,s,l){return e=new KI(e,t,n,s,l),t===1?(t=1,a===!0&&(t|=8)):t=0,a=Lr(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},sb(a),e}function YI(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(p_)}catch(e){console.error(e)}}p_(),pD.exports=Sr;var Ld=pD.exports;const m_=Od(Ld);var g_,D3=Ld;g_=D3.createRoot,D3.hydrateRoot;var hp=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},fs,eo,Vl,V9,tP=(V9=class extends hp{constructor(){super();nt(this,fs);nt(this,eo);nt(this,Vl);$e(this,Vl,t=>{if(typeof window<"u"&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){pe(this,eo)||this.setEventListener(pe(this,Vl))}onUnsubscribe(){var t;this.hasListeners()||((t=pe(this,eo))==null||t.call(this),$e(this,eo,void 0))}setEventListener(t){var n;$e(this,Vl,t),(n=pe(this,eo))==null||n.call(this),$e(this,eo,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){pe(this,fs)!==t&&($e(this,fs,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof pe(this,fs)=="boolean"?pe(this,fs):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},fs=new WeakMap,eo=new WeakMap,Vl=new WeakMap,V9),v_=new tP,nP={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},to,Ry,G9,rP=(G9=class{constructor(){nt(this,to,nP);nt(this,Ry,!1)}setTimeoutProvider(e){$e(this,to,e)}setTimeout(e,t){return pe(this,to).setTimeout(e,t)}clearTimeout(e){pe(this,to).clearTimeout(e)}setInterval(e,t){return pe(this,to).setInterval(e,t)}clearInterval(e){pe(this,to).clearInterval(e)}},to=new WeakMap,Ry=new WeakMap,G9),v2=new rP;function iP(e){setTimeout(e,0)}var aP=typeof window>"u"||"Deno"in globalThis;function ti(){}function oP(e,t){return typeof e=="function"?e(t):e}function sP(e){return typeof e=="number"&&e>=0&&e!==1/0}function lP(e,t){return Math.max(e+(t||0)-Date.now(),0)}function y2(e,t){return typeof e=="function"?e(t):e}function cP(e,t){return typeof e=="function"?e(t):e}function k3(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:a,queryKey:o,stale:s}=e;if(o){if(r){if(t.queryHash!==Cb(o,t.options))return!1}else if(!td(t.queryKey,o))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof s=="boolean"&&t.isStale()!==s||i&&i!==t.state.fetchStatus||a&&!a(t))}function _3(e,t){const{exact:n,status:r,predicate:i,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(ed(t.options.mutationKey)!==ed(a))return!1}else if(!td(t.options.mutationKey,a))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function Cb(e,t){return((t==null?void 0:t.queryKeyHashFn)||ed)(e)}function ed(e){return JSON.stringify(e,(t,n)=>b2(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function td(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>td(e[n],t[n])):!1}var uP=Object.prototype.hasOwnProperty;function y_(e,t,n=0){if(e===t)return e;if(n>500)return t;const r=T3(e)&&T3(t);if(!r&&!(b2(e)&&b2(t)))return t;const a=(r?e:Object.keys(e)).length,o=r?t:Object.keys(t),s=o.length,l=r?new Array(s):{};let c=0;for(let u=0;u{v2.setTimeout(t,e)})}function hP(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?y_(e,t):t}function fP(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function pP(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Ab=Symbol();function b_(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Ab?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function mP(e,t,n){let r=!1,i;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(i??(i=t()),r||(r=!0,i.aborted?n():i.addEventListener("abort",n,{once:!0})),i)}),e}var x_=(()=>{let e=()=>aP;return{isServer(){return e()},setIsServer(t){e=t}}})();function gP(){let e,t;const n=new Promise((i,a)=>{e=i,t=a});n.status="pending",n.catch(()=>{});function r(i){Object.assign(n,i),delete n.resolve,delete n.reject}return n.resolve=i=>{r({status:"fulfilled",value:i}),e(i)},n.reject=i=>{r({status:"rejected",reason:i}),t(i)},n}var vP=iP;function yP(){let e=[],t=0,n=s=>{s()},r=s=>{s()},i=vP;const a=s=>{t?e.push(s):i(()=>{n(s)})},o=()=>{const s=e;e=[],s.length&&i(()=>{r(()=>{s.forEach(l=>{n(l)})})})};return{batch:s=>{let l;t++;try{l=s()}finally{t--,t||o()}return l},batchCalls:s=>(...l)=>{a(()=>{s(...l)})},schedule:a,setNotifyFunction:s=>{n=s},setBatchNotifyFunction:s=>{r=s},setScheduler:s=>{i=s}}}var Wn=yP(),Gl,no,Xl,X9,bP=(X9=class extends hp{constructor(){super();nt(this,Gl,!0);nt(this,no);nt(this,Xl);$e(this,Xl,t=>{if(typeof window<"u"&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){pe(this,no)||this.setEventListener(pe(this,Xl))}onUnsubscribe(){var t;this.hasListeners()||((t=pe(this,no))==null||t.call(this),$e(this,no,void 0))}setEventListener(t){var n;$e(this,Xl,t),(n=pe(this,no))==null||n.call(this),$e(this,no,t(this.setOnline.bind(this)))}setOnline(t){pe(this,Gl)!==t&&($e(this,Gl,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return pe(this,Gl)}},Gl=new WeakMap,no=new WeakMap,Xl=new WeakMap,X9),h0=new bP;function xP(e){return Math.min(1e3*2**e,3e4)}function w_(e){return(e??"online")==="online"?h0.isOnline():!0}var x2=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function D_(e){let t=!1,n=0,r;const i=gP(),a=()=>i.status!=="pending",o=p=>{var y;if(!a()){const m=new x2(p);f(m),(y=e.onCancel)==null||y.call(e,m)}},s=()=>{t=!0},l=()=>{t=!1},c=()=>v_.isFocused()&&(e.networkMode==="always"||h0.isOnline())&&e.canRun(),u=()=>w_(e.networkMode)&&e.canRun(),d=p=>{a()||(r==null||r(),i.resolve(p))},f=p=>{a()||(r==null||r(),i.reject(p))},h=()=>new Promise(p=>{var y;r=m=>{(a()||c())&&p(m)},(y=e.onPause)==null||y.call(e)}).then(()=>{var p;r=void 0,a()||(p=e.onContinue)==null||p.call(e)}),v=()=>{if(a())return;let p;const y=n===0?e.initialPromise:void 0;try{p=y??e.fn()}catch(m){p=Promise.reject(m)}Promise.resolve(p).then(d).catch(m=>{var w;if(a())return;const g=e.retry??(x_.isServer()?0:3),b=e.retryDelay??xP,x=typeof b=="function"?b(n,m):b,D=g===!0||typeof g=="number"&&nc()?void 0:h()).then(()=>{t?f(m):v()})})};return{promise:i,status:()=>i.status,cancel:o,continue:()=>(r==null||r(),i),cancelRetry:s,continueRetry:l,canStart:u,start:()=>(u()?v():h().then(v),i)}}var ps,K9,k_=(K9=class{constructor(){nt(this,ps)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),sP(this.gcTime)&&$e(this,ps,v2.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(x_.isServer()?1/0:5*60*1e3))}clearGcTimeout(){pe(this,ps)!==void 0&&(v2.clearTimeout(pe(this,ps)),$e(this,ps,void 0))}},ps=new WeakMap,K9);function wP(e){return{onFetch:(t,n)=>{var u,d,f,h,v;const r=t.options,i=(f=(d=(u=t.fetchOptions)==null?void 0:u.meta)==null?void 0:d.fetchMore)==null?void 0:f.direction,a=((h=t.state.data)==null?void 0:h.pages)||[],o=((v=t.state.data)==null?void 0:v.pageParams)||[];let s={pages:[],pageParams:[]},l=0;const c=async()=>{let p=!1;const y=b=>{mP(b,()=>t.signal,()=>p=!0)},m=b_(t.options,t.fetchOptions),g=async(b,x,D)=>{if(p)return Promise.reject();if(x==null&&b.pages.length)return Promise.resolve(b);const _=(()=>{const K={client:t.client,queryKey:t.queryKey,pageParam:x,direction:D?"backward":"forward",meta:t.options.meta};return y(K),K})(),N=await m(_),{maxPages:O}=t.options,B=D?pP:fP;return{pages:B(b.pages,N,O),pageParams:B(b.pageParams,x,O)}};if(i&&a.length){const b=i==="backward",x=b?DP:S3,D={pages:a,pageParams:o},w=x(r,D);s=await g(D,w,b)}else{const b=e??a.length;do{const x=l===0?o[0]??r.initialPageParam:S3(r,s);if(l>0&&x==null)break;s=await g(s,x),l++}while(l{var p,y;return(y=(p=t.options).persister)==null?void 0:y.call(p,c,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=c}}}function S3(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function DP(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var Kl,ms,Yl,Ir,gs,sn,Fd,vs,vr,__,ea,Y9,kP=(Y9=class extends k_{constructor(t){super();nt(this,vr);nt(this,Kl);nt(this,ms);nt(this,Yl);nt(this,Ir);nt(this,gs);nt(this,sn);nt(this,Fd);nt(this,vs);$e(this,vs,!1),$e(this,Fd,t.defaultOptions),this.setOptions(t.options),this.observers=[],$e(this,gs,t.client),$e(this,Ir,pe(this,gs).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,$e(this,ms,A3(this.options)),this.state=t.state??pe(this,ms),this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return pe(this,Kl)}get promise(){var t;return(t=pe(this,sn))==null?void 0:t.promise}setOptions(t){if(this.options={...pe(this,Fd),...t},t!=null&&t._type&&$e(this,Kl,t._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const n=A3(this.options);n.data!==void 0&&(this.setState(C3(n.data,n.dataUpdatedAt)),$e(this,ms,n))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&pe(this,Ir).remove(this)}setData(t,n){const r=hP(this.state.data,t,this.options);return mn(this,vr,ea).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t){mn(this,vr,ea).call(this,{type:"setState",state:t})}cancel(t){var r,i;const n=(r=pe(this,sn))==null?void 0:r.promise;return(i=pe(this,sn))==null||i.cancel(t),n?n.then(ti).catch(ti):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return pe(this,ms)}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(t=>cP(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Ab||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>y2(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!lP(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=pe(this,sn))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=pe(this,sn))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),pe(this,Ir).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(pe(this,sn)&&(pe(this,vs)||mn(this,vr,__).call(this)?pe(this,sn).cancel({revert:!0}):pe(this,sn).cancelRetry()),this.scheduleGc()),pe(this,Ir).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||mn(this,vr,ea).call(this,{type:"invalidate"})}async fetch(t,n){var c,u,d,f,h,v,p,y,m,g,b;if(this.state.fetchStatus!=="idle"&&((c=pe(this,sn))==null?void 0:c.status())!=="rejected"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(pe(this,sn))return pe(this,sn).continueRetry(),pe(this,sn).promise}if(t&&this.setOptions(t),!this.options.queryFn){const x=this.observers.find(D=>D.options.queryFn);x&&this.setOptions(x.options)}const r=new AbortController,i=x=>{Object.defineProperty(x,"signal",{enumerable:!0,get:()=>($e(this,vs,!0),r.signal)})},a=()=>{const x=b_(this.options,n),w=(()=>{const _={client:pe(this,gs),queryKey:this.queryKey,meta:this.meta};return i(_),_})();return $e(this,vs,!1),this.options.persister?this.options.persister(x,w,this):x(w)},s=(()=>{const x={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:pe(this,gs),state:this.state,fetchFn:a};return i(x),x})(),l=pe(this,Kl)==="infinite"?wP(this.options.pages):this.options.behavior;l==null||l.onFetch(s,this),$e(this,Yl,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((u=s.fetchOptions)==null?void 0:u.meta))&&mn(this,vr,ea).call(this,{type:"fetch",meta:(d=s.fetchOptions)==null?void 0:d.meta}),$e(this,sn,D_({initialPromise:n==null?void 0:n.initialPromise,fn:s.fetchFn,onCancel:x=>{x instanceof x2&&x.revert&&this.setState({...pe(this,Yl),fetchStatus:"idle"}),r.abort()},onFail:(x,D)=>{mn(this,vr,ea).call(this,{type:"failed",failureCount:x,error:D})},onPause:()=>{mn(this,vr,ea).call(this,{type:"pause"})},onContinue:()=>{mn(this,vr,ea).call(this,{type:"continue"})},retry:s.options.retry,retryDelay:s.options.retryDelay,networkMode:s.options.networkMode,canRun:()=>!0}));try{const x=await pe(this,sn).start();if(x===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(x),(h=(f=pe(this,Ir).config).onSuccess)==null||h.call(f,x,this),(p=(v=pe(this,Ir).config).onSettled)==null||p.call(v,x,this.state.error,this),x}catch(x){if(x instanceof x2){if(x.silent)return pe(this,sn).promise;if(x.revert){if(this.state.data===void 0)throw x;return this.state.data}}throw mn(this,vr,ea).call(this,{type:"error",error:x}),(m=(y=pe(this,Ir).config).onError)==null||m.call(y,x,this),(b=(g=pe(this,Ir).config).onSettled)==null||b.call(g,this.state.data,x,this),x}finally{this.scheduleGc()}}},Kl=new WeakMap,ms=new WeakMap,Yl=new WeakMap,Ir=new WeakMap,gs=new WeakMap,sn=new WeakMap,Fd=new WeakMap,vs=new WeakMap,vr=new WeakSet,__=function(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"},ea=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,..._P(r.data,this.options),fetchMeta:t.meta??null};case"success":const i={...r,...C3(t.data,t.dataUpdatedAt),dataUpdateCount:r.dataUpdateCount+1,...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return $e(this,Yl,t.manual?i:void 0),i;case"error":const a=t.error;return{...r,error:a,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:a,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),Wn.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),pe(this,Ir).notify({query:this,type:"updated",action:t})})},Y9);function _P(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:w_(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function C3(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function A3(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var Rd,Ti,Sn,ys,Ei,Ha,J9,TP=(J9=class extends k_{constructor(t){super();nt(this,Ei);nt(this,Rd);nt(this,Ti);nt(this,Sn);nt(this,ys);$e(this,Rd,t.client),this.mutationId=t.mutationId,$e(this,Sn,t.mutationCache),$e(this,Ti,[]),this.state=t.state||EP(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){pe(this,Ti).includes(t)||(pe(this,Ti).push(t),this.clearGcTimeout(),pe(this,Sn).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){$e(this,Ti,pe(this,Ti).filter(n=>n!==t)),this.scheduleGc(),pe(this,Sn).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){pe(this,Ti).length||(this.state.status==="pending"?this.scheduleGc():pe(this,Sn).remove(this))}continue(){var t;return((t=pe(this,ys))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var o,s,l,c,u,d,f,h,v,p,y,m,g,b,x,D,w,_;const n=()=>{mn(this,Ei,Ha).call(this,{type:"continue"})},r={client:pe(this,Rd),meta:this.options.meta,mutationKey:this.options.mutationKey};$e(this,ys,D_({fn:()=>this.options.mutationFn?this.options.mutationFn(t,r):Promise.reject(new Error("No mutationFn found")),onFail:(N,O)=>{mn(this,Ei,Ha).call(this,{type:"failed",failureCount:N,error:O})},onPause:()=>{mn(this,Ei,Ha).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>pe(this,Sn).canRun(this)}));const i=this.state.status==="pending",a=!pe(this,ys).canStart();try{if(i)n();else{mn(this,Ei,Ha).call(this,{type:"pending",variables:t,isPaused:a}),pe(this,Sn).config.onMutate&&await pe(this,Sn).config.onMutate(t,this,r);const O=await((s=(o=this.options).onMutate)==null?void 0:s.call(o,t,r));O!==this.state.context&&mn(this,Ei,Ha).call(this,{type:"pending",context:O,variables:t,isPaused:a})}const N=await pe(this,ys).start();return await((c=(l=pe(this,Sn).config).onSuccess)==null?void 0:c.call(l,N,t,this.state.context,this,r)),await((d=(u=this.options).onSuccess)==null?void 0:d.call(u,N,t,this.state.context,r)),await((h=(f=pe(this,Sn).config).onSettled)==null?void 0:h.call(f,N,null,this.state.variables,this.state.context,this,r)),await((p=(v=this.options).onSettled)==null?void 0:p.call(v,N,null,t,this.state.context,r)),mn(this,Ei,Ha).call(this,{type:"success",data:N}),N}catch(N){try{await((m=(y=pe(this,Sn).config).onError)==null?void 0:m.call(y,N,t,this.state.context,this,r))}catch(O){Promise.reject(O)}try{await((b=(g=this.options).onError)==null?void 0:b.call(g,N,t,this.state.context,r))}catch(O){Promise.reject(O)}try{await((D=(x=pe(this,Sn).config).onSettled)==null?void 0:D.call(x,void 0,N,this.state.variables,this.state.context,this,r))}catch(O){Promise.reject(O)}try{await((_=(w=this.options).onSettled)==null?void 0:_.call(w,void 0,N,t,this.state.context,r))}catch(O){Promise.reject(O)}throw mn(this,Ei,Ha).call(this,{type:"error",error:N}),N}finally{pe(this,Sn).runNext(this)}}},Rd=new WeakMap,Ti=new WeakMap,Sn=new WeakMap,ys=new WeakMap,Ei=new WeakSet,Ha=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),Wn.batch(()=>{pe(this,Ti).forEach(r=>{r.onMutationUpdate(t)}),pe(this,Sn).notify({mutation:this,type:"updated",action:t})})},J9);function EP(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var oa,ri,Nd,Q9,SP=(Q9=class extends hp{constructor(t={}){super();nt(this,oa);nt(this,ri);nt(this,Nd);this.config=t,$e(this,oa,new Set),$e(this,ri,new Map),$e(this,Nd,0)}build(t,n,r){const i=new TP({client:t,mutationCache:this,mutationId:++hh(this,Nd)._,options:t.defaultMutationOptions(n),state:r});return this.add(i),i}add(t){pe(this,oa).add(t);const n=Uh(t);if(typeof n=="string"){const r=pe(this,ri).get(n);r?r.push(t):pe(this,ri).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(pe(this,oa).delete(t)){const n=Uh(t);if(typeof n=="string"){const r=pe(this,ri).get(n);if(r)if(r.length>1){const i=r.indexOf(t);i!==-1&&r.splice(i,1)}else r[0]===t&&pe(this,ri).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=Uh(t);if(typeof n=="string"){const r=pe(this,ri).get(n),i=r==null?void 0:r.find(a=>a.state.status==="pending");return!i||i===t}else return!0}runNext(t){var r;const n=Uh(t);if(typeof n=="string"){const i=(r=pe(this,ri).get(n))==null?void 0:r.find(a=>a!==t&&a.state.isPaused);return(i==null?void 0:i.continue())??Promise.resolve()}else return Promise.resolve()}clear(){Wn.batch(()=>{pe(this,oa).forEach(t=>{this.notify({type:"removed",mutation:t})}),pe(this,oa).clear(),pe(this,ri).clear()})}getAll(){return Array.from(pe(this,oa))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>_3(n,r))}findAll(t={}){return this.getAll().filter(n=>_3(t,n))}notify(t){Wn.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return Wn.batch(()=>Promise.all(t.map(n=>n.continue().catch(ti))))}},oa=new WeakMap,ri=new WeakMap,Nd=new WeakMap,Q9);function Uh(e){var t;return(t=e.options.scope)==null?void 0:t.id}var Si,Z9,CP=(Z9=class extends hp{constructor(t={}){super();nt(this,Si);this.config=t,$e(this,Si,new Map)}build(t,n,r){const i=n.queryKey,a=n.queryHash??Cb(i,n);let o=this.get(a);return o||(o=new kP({client:t,queryKey:i,queryHash:a,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(i)}),this.add(o)),o}add(t){pe(this,Si).has(t.queryHash)||(pe(this,Si).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=pe(this,Si).get(t.queryHash);n&&(t.destroy(),n===t&&pe(this,Si).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Wn.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return pe(this,Si).get(t)}getAll(){return[...pe(this,Si).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>k3(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>k3(t,r)):n}notify(t){Wn.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Wn.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Wn.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Si=new WeakMap,Z9),zt,ro,io,Jl,Ql,ao,Zl,ec,eD,AP=(eD=class{constructor(e={}){nt(this,zt);nt(this,ro);nt(this,io);nt(this,Jl);nt(this,Ql);nt(this,ao);nt(this,Zl);nt(this,ec);$e(this,zt,e.queryCache||new CP),$e(this,ro,e.mutationCache||new SP),$e(this,io,e.defaultOptions||{}),$e(this,Jl,new Map),$e(this,Ql,new Map),$e(this,ao,0)}mount(){hh(this,ao)._++,pe(this,ao)===1&&($e(this,Zl,v_.subscribe(async e=>{e&&(await this.resumePausedMutations(),pe(this,zt).onFocus())})),$e(this,ec,h0.subscribe(async e=>{e&&(await this.resumePausedMutations(),pe(this,zt).onOnline())})))}unmount(){var e,t;hh(this,ao)._--,pe(this,ao)===0&&((e=pe(this,Zl))==null||e.call(this),$e(this,Zl,void 0),(t=pe(this,ec))==null||t.call(this),$e(this,ec,void 0))}isFetching(e){return pe(this,zt).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return pe(this,ro).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=pe(this,zt).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=pe(this,zt).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(y2(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return pe(this,zt).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),i=pe(this,zt).get(r.queryHash),a=i==null?void 0:i.state.data,o=oP(t,a);if(o!==void 0)return pe(this,zt).build(this,r).setData(o,{...n,manual:!0})}setQueriesData(e,t,n){return Wn.batch(()=>pe(this,zt).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=pe(this,zt).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=pe(this,zt);Wn.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=pe(this,zt);return Wn.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=Wn.batch(()=>pe(this,zt).findAll(e).map(i=>i.cancel(n)));return Promise.all(r).then(ti).catch(ti)}invalidateQueries(e,t={}){return Wn.batch(()=>(pe(this,zt).findAll(e).forEach(n=>{n.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=Wn.batch(()=>pe(this,zt).findAll(e).filter(i=>!i.isDisabled()&&!i.isStatic()).map(i=>{let a=i.fetch(void 0,n);return n.throwOnError||(a=a.catch(ti)),i.state.fetchStatus==="paused"?Promise.resolve():a}));return Promise.all(r).then(ti)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=pe(this,zt).build(this,t);return n.isStaleByTime(y2(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(ti).catch(ti)}fetchInfiniteQuery(e){return e._type="infinite",this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(ti).catch(ti)}ensureInfiniteQueryData(e){return e._type="infinite",this.ensureQueryData(e)}resumePausedMutations(){return h0.isOnline()?pe(this,ro).resumePausedMutations():Promise.resolve()}getQueryCache(){return pe(this,zt)}getMutationCache(){return pe(this,ro)}getDefaultOptions(){return pe(this,io)}setDefaultOptions(e){$e(this,io,e)}setQueryDefaults(e,t){pe(this,Jl).set(ed(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...pe(this,Jl).values()],n={};return t.forEach(r=>{td(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){pe(this,Ql).set(ed(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...pe(this,Ql).values()],n={};return t.forEach(r=>{td(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...pe(this,io).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Cb(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===Ab&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...pe(this,io).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){pe(this,zt).clear(),pe(this,ro).clear()}},zt=new WeakMap,ro=new WeakMap,io=new WeakMap,Jl=new WeakMap,Ql=new WeakMap,ao=new WeakMap,Zl=new WeakMap,ec=new WeakMap,eD),UP=R.createContext(void 0),FP=({client:e,children:t})=>(R.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),E.jsx(UP.Provider,{value:e,children:t}));/** + * @remix-run/router v1.23.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function nd(){return nd=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function T_(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function NP(){return Math.random().toString(36).substr(2,8)}function F3(e,t){return{usr:e.state,key:e.key,idx:t}}function w2(e,t,n,r){return n===void 0&&(n=null),nd({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Sc(t):t,{state:n,key:t&&t.key||r||NP()})}function f0(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function Sc(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function OP(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:a=!1}=r,o=i.history,s=lo.Pop,l=null,c=u();c==null&&(c=0,o.replaceState(nd({},o.state,{idx:c}),""));function u(){return(o.state||{idx:null}).idx}function d(){s=lo.Pop;let y=u(),m=y==null?null:y-c;c=y,l&&l({action:s,location:p.location,delta:m})}function f(y,m){s=lo.Push;let g=w2(p.location,y,m);c=u()+1;let b=F3(g,c),x=p.createHref(g);try{o.pushState(b,"",x)}catch(D){if(D instanceof DOMException&&D.name==="DataCloneError")throw D;i.location.assign(x)}a&&l&&l({action:s,location:p.location,delta:1})}function h(y,m){s=lo.Replace;let g=w2(p.location,y,m);c=u();let b=F3(g,c),x=p.createHref(g);o.replaceState(b,"",x),a&&l&&l({action:s,location:p.location,delta:0})}function v(y){let m=i.location.origin!=="null"?i.location.origin:i.location.href,g=typeof y=="string"?y:f0(y);return g=g.replace(/ $/,"%20"),Vt(m,"No window.location.(origin|href) available to create URL for href: "+g),new URL(g,m)}let p={get action(){return s},get location(){return e(i,o)},listen(y){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(U3,d),l=y,()=>{i.removeEventListener(U3,d),l=null}},createHref(y){return t(i,y)},createURL:v,encodeLocation(y){let m=v(y);return{pathname:m.pathname,search:m.search,hash:m.hash}},push:f,replace:h,go(y){return o.go(y)}};return p}var R3;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(R3||(R3={}));function IP(e,t,n){return n===void 0&&(n="/"),PP(e,t,n,!1)}function PP(e,t,n,r){let i=typeof t=="string"?Sc(t):t,a=Ub(i.pathname||"/",n);if(a==null)return null;let o=E_(e);BP(o);let s=null;for(let l=0;s==null&&l{let l={relativePath:s===void 0?a.path||"":s,caseSensitive:a.caseSensitive===!0,childrenIndex:o,route:a};l.relativePath.startsWith("/")&&(Vt(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let c=xo([r,l.relativePath]),u=n.concat(l);a.children&&a.children.length>0&&(Vt(a.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),E_(a.children,t,u,c)),!(a.path==null&&!a.index)&&t.push({path:c,score:qP(c,a.index),routesMeta:u})};return e.forEach((a,o)=>{var s;if(a.path===""||!((s=a.path)!=null&&s.includes("?")))i(a,o);else for(let l of S_(a.path))i(a,o,l)}),t}function S_(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),a=n.replace(/\?$/,"");if(r.length===0)return i?[a,""]:[a];let o=S_(r.join("/")),s=[];return s.push(...o.map(l=>l===""?a:[a,l].join("/"))),i&&s.push(...o),s.map(l=>e.startsWith("/")&&l===""?"/":l)}function BP(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:HP(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const MP=/^:[\w-]+$/,jP=3,LP=2,zP=1,WP=10,$P=-2,N3=e=>e==="*";function qP(e,t){let n=e.split("/"),r=n.length;return n.some(N3)&&(r+=$P),t&&(r+=LP),n.filter(i=>!N3(i)).reduce((i,a)=>i+(MP.test(a)?jP:a===""?zP:WP),r)}function HP(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function VP(e,t,n){let{routesMeta:r}=e,i={},a="/",o=[];for(let s=0;s{let{paramName:f,isOptional:h}=u;if(f==="*"){let p=s[d]||"";o=a.slice(0,a.length-p.length).replace(/(.)\/+$/,"$1")}const v=s[d];return h&&!v?c[f]=void 0:c[f]=(v||"").replace(/%2F/g,"/"),c},{}),pathname:a,pathnameBase:o,pattern:e}}function GP(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),T_(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,s,l)=>(r.push({paramName:s,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function XP(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return T_(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Ub(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function KP(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?Sc(e):e;return{pathname:n?n.startsWith("/")?n:YP(n,t):t,search:ZP(r),hash:eB(i)}}function YP(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function pg(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function JP(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Fb(e,t){let n=JP(e);return t?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Rb(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=Sc(e):(i=nd({},e),Vt(!i.pathname||!i.pathname.includes("?"),pg("?","pathname","search",i)),Vt(!i.pathname||!i.pathname.includes("#"),pg("#","pathname","hash",i)),Vt(!i.search||!i.search.includes("#"),pg("#","search","hash",i)));let a=e===""||i.pathname==="",o=a?"/":i.pathname,s;if(o==null)s=n;else{let d=t.length-1;if(!r&&o.startsWith("..")){let f=o.split("/");for(;f[0]==="..";)f.shift(),d-=1;i.pathname=f.join("/")}s=d>=0?t[d]:"/"}let l=KP(i,s),c=o&&o!=="/"&&o.endsWith("/"),u=(a||o===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(c||u)&&(l.pathname+="/"),l}const xo=e=>e.join("/").replace(/\/\/+/g,"/"),QP=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),ZP=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,eB=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function tB(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const C_=["post","put","patch","delete"];new Set(C_);const nB=["get",...C_];new Set(nB);/** + * React Router v6.30.1 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function rd(){return rd=Object.assign?Object.assign.bind():function(e){for(var t=1;t{s.current=!0}),R.useCallback(function(c,u){if(u===void 0&&(u={}),!s.current)return;if(typeof c=="number"){r.go(c);return}let d=Rb(c,JSON.parse(o),a,u.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:xo([t,d.pathname])),(u.replace?r.replace:r.push)(d,u.state,u)},[t,r,o,a,e])}const F_=R.createContext(null);function R_(){return R.useContext(F_)}function oB(e){let t=R.useContext(Wi).outlet;return t&&R.createElement(F_.Provider,{value:e},t)}function N_(){let{matches:e}=R.useContext(Wi),t=e[e.length-1];return t?t.params:{}}function O_(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=R.useContext(Po),{matches:i}=R.useContext(Wi),{pathname:a}=Bs(),o=JSON.stringify(Fb(i,r.v7_relativeSplatPath));return R.useMemo(()=>Rb(e,JSON.parse(o),a,n==="path"),[e,o,a,n])}function sB(e,t){return lB(e,t)}function lB(e,t,n,r){Cc()||Vt(!1);let{navigator:i}=R.useContext(Po),{matches:a}=R.useContext(Wi),o=a[a.length-1],s=o?o.params:{};o&&o.pathname;let l=o?o.pathnameBase:"/";o&&o.route;let c=Bs(),u;if(t){var d;let y=typeof t=="string"?Sc(t):t;l==="/"||(d=y.pathname)!=null&&d.startsWith(l)||Vt(!1),u=y}else u=c;let f=u.pathname||"/",h=f;if(l!=="/"){let y=l.replace(/^\//,"").split("/");h="/"+f.replace(/^\//,"").split("/").slice(y.length).join("/")}let v=IP(e,{pathname:h}),p=fB(v&&v.map(y=>Object.assign({},y,{params:Object.assign({},s,y.params),pathname:xo([l,i.encodeLocation?i.encodeLocation(y.pathname).pathname:y.pathname]),pathnameBase:y.pathnameBase==="/"?l:xo([l,i.encodeLocation?i.encodeLocation(y.pathnameBase).pathname:y.pathnameBase])})),a,n,r);return t&&p?R.createElement(fp.Provider,{value:{location:rd({pathname:"/",search:"",hash:"",state:null,key:"default"},u),navigationType:lo.Pop}},p):p}function cB(){let e=vB(),t=tB(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return R.createElement(R.Fragment,null,R.createElement("h2",null,"Unexpected Application Error!"),R.createElement("h3",{style:{fontStyle:"italic"}},t),n?R.createElement("pre",{style:i},n):null,null)}const uB=R.createElement(cB,null);class dB extends R.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?R.createElement(Wi.Provider,{value:this.props.routeContext},R.createElement(A_.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function hB(e){let{routeContext:t,match:n,children:r}=e,i=R.useContext(Nb);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),R.createElement(Wi.Provider,{value:t},r)}function fB(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var a;if(!n)return null;if(n.errors)e=n.matches;else if((a=r)!=null&&a.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,s=(i=n)==null?void 0:i.errors;if(s!=null){let u=o.findIndex(d=>d.route.id&&(s==null?void 0:s[d.route.id])!==void 0);u>=0||Vt(!1),o=o.slice(0,Math.min(o.length,u+1))}let l=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let u=0;u=0?o=o.slice(0,c+1):o=[o[0]];break}}}return o.reduceRight((u,d,f)=>{let h,v=!1,p=null,y=null;n&&(h=s&&d.route.id?s[d.route.id]:void 0,p=d.route.errorElement||uB,l&&(c<0&&f===0?(v=!0,y=null):c===f&&(v=!0,y=d.route.hydrateFallbackElement||null)));let m=t.concat(o.slice(0,f+1)),g=()=>{let b;return h?b=p:v?b=y:d.route.Component?b=R.createElement(d.route.Component,null):d.route.element?b=d.route.element:b=u,R.createElement(hB,{match:d,routeContext:{outlet:u,matches:m,isDataRoute:n!=null},children:b})};return n&&(d.route.ErrorBoundary||d.route.errorElement||f===0)?R.createElement(dB,{location:n.location,revalidation:n.revalidation,component:p,error:h,children:g(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):g()},null)}var I_=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(I_||{}),p0=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(p0||{});function pB(e){let t=R.useContext(Nb);return t||Vt(!1),t}function mB(e){let t=R.useContext(rB);return t||Vt(!1),t}function gB(e){let t=R.useContext(Wi);return t||Vt(!1),t}function P_(e){let t=gB(),n=t.matches[t.matches.length-1];return n.route.id||Vt(!1),n.route.id}function vB(){var e;let t=R.useContext(A_),n=mB(p0.UseRouteError),r=P_(p0.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function yB(){let{router:e}=pB(I_.UseNavigateStable),t=P_(p0.UseNavigateStable),n=R.useRef(!1);return U_(()=>{n.current=!0}),R.useCallback(function(i,a){a===void 0&&(a={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,rd({fromRouteId:t},a)))},[e,t])}function bB(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function xB(e){let{to:t,replace:n,state:r,relative:i}=e;Cc()||Vt(!1);let{future:a,static:o}=R.useContext(Po),{matches:s}=R.useContext(Wi),{pathname:l}=Bs(),c=Ac(),u=Rb(t,Fb(s,a.v7_relativeSplatPath),l,i==="path"),d=JSON.stringify(u);return R.useEffect(()=>c(JSON.parse(d),{replace:n,state:r,relative:i}),[c,d,i,n,r]),null}function wB(e){return oB(e.context)}function rs(e){Vt(!1)}function DB(e){let{basename:t="/",children:n=null,location:r,navigationType:i=lo.Pop,navigator:a,static:o=!1,future:s}=e;Cc()&&Vt(!1);let l=t.replace(/^\/*/,"/"),c=R.useMemo(()=>({basename:l,navigator:a,static:o,future:rd({v7_relativeSplatPath:!1},s)}),[l,s,a,o]);typeof r=="string"&&(r=Sc(r));let{pathname:u="/",search:d="",hash:f="",state:h=null,key:v="default"}=r,p=R.useMemo(()=>{let y=Ub(u,l);return y==null?null:{location:{pathname:y,search:d,hash:f,state:h,key:v},navigationType:i}},[l,u,d,f,h,v,i]);return p==null?null:R.createElement(Po.Provider,{value:c},R.createElement(fp.Provider,{children:n,value:p}))}function kB(e){let{children:t,location:n}=e;return sB(D2(t),n)}new Promise(()=>{});function D2(e,t){t===void 0&&(t=[]);let n=[];return R.Children.forEach(e,(r,i)=>{if(!R.isValidElement(r))return;let a=[...t,i];if(r.type===R.Fragment){n.push.apply(n,D2(r.props.children,a));return}r.type!==rs&&Vt(!1),!r.props.index||!r.props.children||Vt(!1);let o={id:r.props.id||a.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(o.children=D2(r.props.children,a)),n.push(o)}),n}/** + * React Router DOM v6.30.1 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function k2(){return k2=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function TB(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function EB(e,t){return e.button===0&&(!t||t==="_self")&&!TB(e)}const SB=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],CB="6";try{window.__reactRouterVersion=CB}catch{}const AB="startTransition",I3=By[AB];function UB(e){let{basename:t,children:n,future:r,window:i}=e,a=R.useRef();a.current==null&&(a.current=RP({window:i,v5Compat:!0}));let o=a.current,[s,l]=R.useState({action:o.action,location:o.location}),{v7_startTransition:c}=r||{},u=R.useCallback(d=>{c&&I3?I3(()=>l(d)):l(d)},[l,c]);return R.useLayoutEffect(()=>o.listen(u),[o,u]),R.useEffect(()=>bB(r),[r]),R.createElement(DB,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:o,future:r})}const FB=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",RB=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,as=R.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:a,replace:o,state:s,target:l,to:c,preventScrollReset:u,viewTransition:d}=t,f=_B(t,SB),{basename:h}=R.useContext(Po),v,p=!1;if(typeof c=="string"&&RB.test(c)&&(v=c,FB))try{let b=new URL(window.location.href),x=c.startsWith("//")?new URL(b.protocol+c):new URL(c),D=Ub(x.pathname,h);x.origin===b.origin&&D!=null?c=D+x.search+x.hash:p=!0}catch{}let y=iB(c,{relative:i}),m=NB(c,{replace:o,state:s,target:l,preventScrollReset:u,relative:i,viewTransition:d});function g(b){r&&r(b),b.defaultPrevented||m(b)}return R.createElement("a",k2({},f,{href:v||y,onClick:p||a?r:g,ref:n,target:l}))});var P3;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(P3||(P3={}));var B3;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(B3||(B3={}));function NB(e,t){let{target:n,replace:r,state:i,preventScrollReset:a,relative:o,viewTransition:s}=t===void 0?{}:t,l=Ac(),c=Bs(),u=O_(e,{relative:o});return R.useCallback(d=>{if(EB(d,n)){d.preventDefault();let f=r!==void 0?r:f0(c)===f0(u);l(e,{replace:f,state:i,preventScrollReset:a,relative:o,viewTransition:s})}},[c,l,u,r,i,n,e,a,o,s])}var M3=["light","dark"],OB="(prefers-color-scheme: dark)",IB=R.createContext(void 0),PB={setTheme:e=>{},themes:[]},BB=()=>{var e;return(e=R.useContext(IB))!=null?e:PB};R.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:i,defaultTheme:a,value:o,attrs:s,nonce:l})=>{let c=a==="system",u=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${s.map(v=>`'${v}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,d=i?M3.includes(a)&&a?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${a}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",f=(v,p=!1,y=!0)=>{let m=o?o[v]:v,g=p?v+"|| ''":`'${m}'`,b="";return i&&y&&!p&&M3.includes(v)&&(b+=`d.style.colorScheme = '${v}';`),n==="class"?p||m?b+=`c.add(${g})`:b+="null":m&&(b+=`d[s](n,${g})`),b},h=e?`!function(){${u}${f(e)}}()`:r?`!function(){try{${u}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${c})){var t='${OB}',m=window.matchMedia(t);if(m.media!==t||m.matches){${f("dark")}}else{${f("light")}}}else if(e){${o?`var x=${JSON.stringify(o)};`:""}${f(o?"x[e]":"e",!0)}}${c?"":"else{"+f(a,!1,!1)+"}"}${d}}catch(e){}}()`:`!function(){try{${u}var e=localStorage.getItem('${t}');if(e){${o?`var x=${JSON.stringify(o)};`:""}${f(o?"x[e]":"e",!0)}}else{${f(a,!1,!1)};}${d}}catch(t){}}();`;return R.createElement("script",{nonce:l,dangerouslySetInnerHTML:{__html:h}})});var MB=e=>{switch(e){case"success":return zB;case"info":return $B;case"warning":return WB;case"error":return qB;default:return null}},jB=Array(12).fill(0),LB=({visible:e,className:t})=>Ee.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},Ee.createElement("div",{className:"sonner-spinner"},jB.map((n,r)=>Ee.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),zB=Ee.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Ee.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),WB=Ee.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},Ee.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),$B=Ee.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Ee.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),qB=Ee.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Ee.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),HB=Ee.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},Ee.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),Ee.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),VB=()=>{let[e,t]=Ee.useState(document.hidden);return Ee.useEffect(()=>{let n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},_2=1,GB=class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:n,...r}=e,i=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:_2++,a=this.toasts.find(s=>s.id===i),o=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(i)&&this.dismissedToasts.delete(i),a?this.toasts=this.toasts.map(s=>s.id===i?(this.publish({...s,...e,id:i,title:n}),{...s,...e,id:i,dismissible:o,title:n}):s):this.addToast({title:n,...r,dismissible:o,id:i}),i},this.dismiss=e=>(this.dismissedToasts.add(e),e||this.toasts.forEach(t=>{this.subscribers.forEach(n=>n({id:t.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:typeof t.description!="function"?t.description:void 0}));let r=e instanceof Promise?e:e(),i=n!==void 0,a,o=r.then(async l=>{if(a=["resolve",l],Ee.isValidElement(l))i=!1,this.create({id:n,type:"default",message:l});else if(KB(l)&&!l.ok){i=!1;let c=typeof t.error=="function"?await t.error(`HTTP error! status: ${l.status}`):t.error,u=typeof t.description=="function"?await t.description(`HTTP error! status: ${l.status}`):t.description;this.create({id:n,type:"error",message:c,description:u})}else if(t.success!==void 0){i=!1;let c=typeof t.success=="function"?await t.success(l):t.success,u=typeof t.description=="function"?await t.description(l):t.description;this.create({id:n,type:"success",message:c,description:u})}}).catch(async l=>{if(a=["reject",l],t.error!==void 0){i=!1;let c=typeof t.error=="function"?await t.error(l):t.error,u=typeof t.description=="function"?await t.description(l):t.description;this.create({id:n,type:"error",message:c,description:u})}}).finally(()=>{var l;i&&(this.dismiss(n),n=void 0),(l=t.finally)==null||l.call(t)}),s=()=>new Promise((l,c)=>o.then(()=>a[0]==="reject"?c(a[1]):l(a[1])).catch(c));return typeof n!="string"&&typeof n!="number"?{unwrap:s}:Object.assign(n,{unwrap:s})},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||_2++;return this.create({jsx:e(n),id:n,...t}),n},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},Qn=new GB,XB=(e,t)=>{let n=(t==null?void 0:t.id)||_2++;return Qn.addToast({title:e,...t,id:n}),n},KB=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",YB=XB,JB=()=>Qn.toasts,QB=()=>Qn.getActiveToasts();Object.assign(YB,{success:Qn.success,info:Qn.info,warning:Qn.warning,error:Qn.error,custom:Qn.custom,message:Qn.message,promise:Qn.promise,dismiss:Qn.dismiss,loading:Qn.loading},{getHistory:JB,getToasts:QB});function ZB(e,{insertAt:t}={}){if(typeof document>"u")return;let n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",t==="top"&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}ZB(`:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted="true"]){transform:translateY(-10px)}@media (hover: none) and (pointer: coarse){:where([data-sonner-toaster][data-lifted="true"]){transform:none}}:where([data-sonner-toaster][data-x-position="right"]){right:var(--offset-right)}:where([data-sonner-toaster][data-x-position="left"]){left:var(--offset-left)}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:var(--offset-top)}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:var(--offset-bottom)}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:-50%;right:-50%;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y, 0px)) translate(var(--swipe-amount-x, 0px));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-bg-hover: hsl(0, 0%, 12%);--normal-border: hsl(0, 0%, 20%);--normal-border-hover: hsl(0, 0%, 25%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);--error-text: hsl(358, 100%, 81%)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)} +`);function Fh(e){return e.label!==void 0}var eM=3,tM="32px",nM="16px",j3=4e3,rM=356,iM=14,aM=20,oM=200;function Qr(...e){return e.filter(Boolean).join(" ")}function sM(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var lM=e=>{var t,n,r,i,a,o,s,l,c,u,d;let{invert:f,toast:h,unstyled:v,interacting:p,setHeights:y,visibleToasts:m,heights:g,index:b,toasts:x,expanded:D,removeToast:w,defaultRichColors:_,closeButton:N,style:O,cancelButtonStyle:B,actionButtonStyle:K,className:A="",descriptionClassName:q="",duration:T,position:X,gap:j,loadingIcon:z,expandByDefault:P,classNames:M,icons:F,closeButtonAriaLabel:$="Close toast",pauseWhenPageIsHidden:V}=e,[U,ne]=Ee.useState(null),[ce,me]=Ee.useState(null),[fe,Se]=Ee.useState(!1),[Ae,Pe]=Ee.useState(!1),[Me,ae]=Ee.useState(!1),[de,C]=Ee.useState(!1),[le,oe]=Ee.useState(!1),[G,H]=Ee.useState(0),[te,ue]=Ee.useState(0),ge=Ee.useRef(h.duration||T||j3),se=Ee.useRef(null),Y=Ee.useRef(null),ee=b===0,J=b+1<=m,W=h.type,ie=h.dismissible!==!1,he=h.className||"",be=h.descriptionClassName||"",we=Ee.useMemo(()=>g.findIndex(He=>He.toastId===h.id)||0,[g,h.id]),Oe=Ee.useMemo(()=>{var He;return(He=h.closeButton)!=null?He:N},[h.closeButton,N]),Ve=Ee.useMemo(()=>h.duration||T||j3,[h.duration,T]),Le=Ee.useRef(0),lt=Ee.useRef(0),en=Ee.useRef(0),tt=Ee.useRef(null),[Mn,pn]=X.split("-"),Oa=Ee.useMemo(()=>g.reduce((He,gt,Ft)=>Ft>=we?He:He+gt.height,0),[g,we]),Vs=VB(),dh=h.invert||f,Xi=W==="loading";lt.current=Ee.useMemo(()=>we*j+Oa,[we,Oa]),Ee.useEffect(()=>{ge.current=Ve},[Ve]),Ee.useEffect(()=>{Se(!0)},[]),Ee.useEffect(()=>{let He=Y.current;if(He){let gt=He.getBoundingClientRect().height;return ue(gt),y(Ft=>[{toastId:h.id,height:gt,position:h.position},...Ft]),()=>y(Ft=>Ft.filter(Xr=>Xr.toastId!==h.id))}},[y,h.id]),Ee.useLayoutEffect(()=>{if(!fe)return;let He=Y.current,gt=He.style.height;He.style.height="auto";let Ft=He.getBoundingClientRect().height;He.style.height=gt,ue(Ft),y(Xr=>Xr.find(Kr=>Kr.toastId===h.id)?Xr.map(Kr=>Kr.toastId===h.id?{...Kr,height:Ft}:Kr):[{toastId:h.id,height:Ft,position:h.position},...Xr])},[fe,h.title,h.description,y,h.id]);let hr=Ee.useCallback(()=>{Pe(!0),H(lt.current),y(He=>He.filter(gt=>gt.toastId!==h.id)),setTimeout(()=>{w(h)},oM)},[h,w,y,lt]);Ee.useEffect(()=>{if(h.promise&&W==="loading"||h.duration===1/0||h.type==="loading")return;let He;return D||p||V&&Vs?(()=>{if(en.current{var gt;(gt=h.onAutoClose)==null||gt.call(h,h),hr()},ge.current)),()=>clearTimeout(He)},[D,p,h,W,V,Vs,hr]),Ee.useEffect(()=>{h.delete&&hr()},[hr,h.delete]);function TN(){var He,gt,Ft;return F!=null&&F.loading?Ee.createElement("div",{className:Qr(M==null?void 0:M.loader,(He=h==null?void 0:h.classNames)==null?void 0:He.loader,"sonner-loader"),"data-visible":W==="loading"},F.loading):z?Ee.createElement("div",{className:Qr(M==null?void 0:M.loader,(gt=h==null?void 0:h.classNames)==null?void 0:gt.loader,"sonner-loader"),"data-visible":W==="loading"},z):Ee.createElement(LB,{className:Qr(M==null?void 0:M.loader,(Ft=h==null?void 0:h.classNames)==null?void 0:Ft.loader),visible:W==="loading"})}return Ee.createElement("li",{tabIndex:0,ref:Y,className:Qr(A,he,M==null?void 0:M.toast,(t=h==null?void 0:h.classNames)==null?void 0:t.toast,M==null?void 0:M.default,M==null?void 0:M[W],(n=h==null?void 0:h.classNames)==null?void 0:n[W]),"data-sonner-toast":"","data-rich-colors":(r=h.richColors)!=null?r:_,"data-styled":!(h.jsx||h.unstyled||v),"data-mounted":fe,"data-promise":!!h.promise,"data-swiped":le,"data-removed":Ae,"data-visible":J,"data-y-position":Mn,"data-x-position":pn,"data-index":b,"data-front":ee,"data-swiping":Me,"data-dismissible":ie,"data-type":W,"data-invert":dh,"data-swipe-out":de,"data-swipe-direction":ce,"data-expanded":!!(D||P&&fe),style:{"--index":b,"--toasts-before":b,"--z-index":x.length-b,"--offset":`${Ae?G:lt.current}px`,"--initial-height":P?"auto":`${te}px`,...O,...h.style},onDragEnd:()=>{ae(!1),ne(null),tt.current=null},onPointerDown:He=>{Xi||!ie||(se.current=new Date,H(lt.current),He.target.setPointerCapture(He.pointerId),He.target.tagName!=="BUTTON"&&(ae(!0),tt.current={x:He.clientX,y:He.clientY}))},onPointerUp:()=>{var He,gt,Ft,Xr;if(de||!ie)return;tt.current=null;let Kr=Number(((He=Y.current)==null?void 0:He.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Ia=Number(((gt=Y.current)==null?void 0:gt.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Go=new Date().getTime()-((Ft=se.current)==null?void 0:Ft.getTime()),Yr=U==="x"?Kr:Ia,Pa=Math.abs(Yr)/Go;if(Math.abs(Yr)>=aM||Pa>.11){H(lt.current),(Xr=h.onDismiss)==null||Xr.call(h,h),me(U==="x"?Kr>0?"right":"left":Ia>0?"down":"up"),hr(),C(!0),oe(!1);return}ae(!1),ne(null)},onPointerMove:He=>{var gt,Ft,Xr,Kr;if(!tt.current||!ie||((gt=window.getSelection())==null?void 0:gt.toString().length)>0)return;let Ia=He.clientY-tt.current.y,Go=He.clientX-tt.current.x,Yr=(Ft=e.swipeDirections)!=null?Ft:sM(X);!U&&(Math.abs(Go)>1||Math.abs(Ia)>1)&&ne(Math.abs(Go)>Math.abs(Ia)?"x":"y");let Pa={x:0,y:0};U==="y"?(Yr.includes("top")||Yr.includes("bottom"))&&(Yr.includes("top")&&Ia<0||Yr.includes("bottom")&&Ia>0)&&(Pa.y=Ia):U==="x"&&(Yr.includes("left")||Yr.includes("right"))&&(Yr.includes("left")&&Go<0||Yr.includes("right")&&Go>0)&&(Pa.x=Go),(Math.abs(Pa.x)>0||Math.abs(Pa.y)>0)&&oe(!0),(Xr=Y.current)==null||Xr.style.setProperty("--swipe-amount-x",`${Pa.x}px`),(Kr=Y.current)==null||Kr.style.setProperty("--swipe-amount-y",`${Pa.y}px`)}},Oe&&!h.jsx?Ee.createElement("button",{"aria-label":$,"data-disabled":Xi,"data-close-button":!0,onClick:Xi||!ie?()=>{}:()=>{var He;hr(),(He=h.onDismiss)==null||He.call(h,h)},className:Qr(M==null?void 0:M.closeButton,(i=h==null?void 0:h.classNames)==null?void 0:i.closeButton)},(a=F==null?void 0:F.close)!=null?a:HB):null,h.jsx||R.isValidElement(h.title)?h.jsx?h.jsx:typeof h.title=="function"?h.title():h.title:Ee.createElement(Ee.Fragment,null,W||h.icon||h.promise?Ee.createElement("div",{"data-icon":"",className:Qr(M==null?void 0:M.icon,(o=h==null?void 0:h.classNames)==null?void 0:o.icon)},h.promise||h.type==="loading"&&!h.icon?h.icon||TN():null,h.type!=="loading"?h.icon||(F==null?void 0:F[W])||MB(W):null):null,Ee.createElement("div",{"data-content":"",className:Qr(M==null?void 0:M.content,(s=h==null?void 0:h.classNames)==null?void 0:s.content)},Ee.createElement("div",{"data-title":"",className:Qr(M==null?void 0:M.title,(l=h==null?void 0:h.classNames)==null?void 0:l.title)},typeof h.title=="function"?h.title():h.title),h.description?Ee.createElement("div",{"data-description":"",className:Qr(q,be,M==null?void 0:M.description,(c=h==null?void 0:h.classNames)==null?void 0:c.description)},typeof h.description=="function"?h.description():h.description):null),R.isValidElement(h.cancel)?h.cancel:h.cancel&&Fh(h.cancel)?Ee.createElement("button",{"data-button":!0,"data-cancel":!0,style:h.cancelButtonStyle||B,onClick:He=>{var gt,Ft;Fh(h.cancel)&&ie&&((Ft=(gt=h.cancel).onClick)==null||Ft.call(gt,He),hr())},className:Qr(M==null?void 0:M.cancelButton,(u=h==null?void 0:h.classNames)==null?void 0:u.cancelButton)},h.cancel.label):null,R.isValidElement(h.action)?h.action:h.action&&Fh(h.action)?Ee.createElement("button",{"data-button":!0,"data-action":!0,style:h.actionButtonStyle||K,onClick:He=>{var gt,Ft;Fh(h.action)&&((Ft=(gt=h.action).onClick)==null||Ft.call(gt,He),!He.defaultPrevented&&hr())},className:Qr(M==null?void 0:M.actionButton,(d=h==null?void 0:h.classNames)==null?void 0:d.actionButton)},h.action.label):null))};function L3(){if(typeof window>"u"||typeof document>"u")return"ltr";let e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function cM(e,t){let n={};return[e,t].forEach((r,i)=>{let a=i===1,o=a?"--mobile-offset":"--offset",s=a?nM:tM;function l(c){["top","right","bottom","left"].forEach(u=>{n[`${o}-${u}`]=typeof c=="number"?`${c}px`:c})}typeof r=="number"||typeof r=="string"?l(r):typeof r=="object"?["top","right","bottom","left"].forEach(c=>{r[c]===void 0?n[`${o}-${c}`]=s:n[`${o}-${c}`]=typeof r[c]=="number"?`${r[c]}px`:r[c]}):l(s)}),n}var uM=R.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:i=["altKey","KeyT"],expand:a,closeButton:o,className:s,offset:l,mobileOffset:c,theme:u="light",richColors:d,duration:f,style:h,visibleToasts:v=eM,toastOptions:p,dir:y=L3(),gap:m=iM,loadingIcon:g,icons:b,containerAriaLabel:x="Notifications",pauseWhenPageIsHidden:D}=e,[w,_]=Ee.useState([]),N=Ee.useMemo(()=>Array.from(new Set([r].concat(w.filter(V=>V.position).map(V=>V.position)))),[w,r]),[O,B]=Ee.useState([]),[K,A]=Ee.useState(!1),[q,T]=Ee.useState(!1),[X,j]=Ee.useState(u!=="system"?u:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),z=Ee.useRef(null),P=i.join("+").replace(/Key/g,"").replace(/Digit/g,""),M=Ee.useRef(null),F=Ee.useRef(!1),$=Ee.useCallback(V=>{_(U=>{var ne;return(ne=U.find(ce=>ce.id===V.id))!=null&&ne.delete||Qn.dismiss(V.id),U.filter(({id:ce})=>ce!==V.id)})},[]);return Ee.useEffect(()=>Qn.subscribe(V=>{if(V.dismiss){_(U=>U.map(ne=>ne.id===V.id?{...ne,delete:!0}:ne));return}setTimeout(()=>{m_.flushSync(()=>{_(U=>{let ne=U.findIndex(ce=>ce.id===V.id);return ne!==-1?[...U.slice(0,ne),{...U[ne],...V},...U.slice(ne+1)]:[V,...U]})})})}),[]),Ee.useEffect(()=>{if(u!=="system"){j(u);return}if(u==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?j("dark"):j("light")),typeof window>"u")return;let V=window.matchMedia("(prefers-color-scheme: dark)");try{V.addEventListener("change",({matches:U})=>{j(U?"dark":"light")})}catch{V.addListener(({matches:ne})=>{try{j(ne?"dark":"light")}catch(ce){console.error(ce)}})}},[u]),Ee.useEffect(()=>{w.length<=1&&A(!1)},[w]),Ee.useEffect(()=>{let V=U=>{var ne,ce;i.every(me=>U[me]||U.code===me)&&(A(!0),(ne=z.current)==null||ne.focus()),U.code==="Escape"&&(document.activeElement===z.current||(ce=z.current)!=null&&ce.contains(document.activeElement))&&A(!1)};return document.addEventListener("keydown",V),()=>document.removeEventListener("keydown",V)},[i]),Ee.useEffect(()=>{if(z.current)return()=>{M.current&&(M.current.focus({preventScroll:!0}),M.current=null,F.current=!1)}},[z.current]),Ee.createElement("section",{ref:t,"aria-label":`${x} ${P}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},N.map((V,U)=>{var ne;let[ce,me]=V.split("-");return w.length?Ee.createElement("ol",{key:V,dir:y==="auto"?L3():y,tabIndex:-1,ref:z,className:s,"data-sonner-toaster":!0,"data-theme":X,"data-y-position":ce,"data-lifted":K&&w.length>1&&!a,"data-x-position":me,style:{"--front-toast-height":`${((ne=O[0])==null?void 0:ne.height)||0}px`,"--width":`${rM}px`,"--gap":`${m}px`,...h,...cM(l,c)},onBlur:fe=>{F.current&&!fe.currentTarget.contains(fe.relatedTarget)&&(F.current=!1,M.current&&(M.current.focus({preventScroll:!0}),M.current=null))},onFocus:fe=>{fe.target instanceof HTMLElement&&fe.target.dataset.dismissible==="false"||F.current||(F.current=!0,M.current=fe.relatedTarget)},onMouseEnter:()=>A(!0),onMouseMove:()=>A(!0),onMouseLeave:()=>{q||A(!1)},onDragEnd:()=>A(!1),onPointerDown:fe=>{fe.target instanceof HTMLElement&&fe.target.dataset.dismissible==="false"||T(!0)},onPointerUp:()=>T(!1)},w.filter(fe=>!fe.position&&U===0||fe.position===V).map((fe,Se)=>{var Ae,Pe;return Ee.createElement(lM,{key:fe.id,icons:b,index:Se,toast:fe,defaultRichColors:d,duration:(Ae=p==null?void 0:p.duration)!=null?Ae:f,className:p==null?void 0:p.className,descriptionClassName:p==null?void 0:p.descriptionClassName,invert:n,visibleToasts:v,closeButton:(Pe=p==null?void 0:p.closeButton)!=null?Pe:o,interacting:q,position:V,style:p==null?void 0:p.style,unstyled:p==null?void 0:p.unstyled,classNames:p==null?void 0:p.classNames,cancelButtonStyle:p==null?void 0:p.cancelButtonStyle,actionButtonStyle:p==null?void 0:p.actionButtonStyle,removeToast:$,toasts:w.filter(Me=>Me.position==fe.position),heights:O.filter(Me=>Me.position==fe.position),setHeights:B,expandByDefault:a,gap:m,loadingIcon:g,expanded:K,pauseWhenPageIsHidden:D,swipeDirections:e.swipeDirections})})):null}))});const dM=({...e})=>{const{theme:t="system"}=BB();return E.jsx(uM,{theme:t,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...e})},hM=1,fM=1e6;let mg=0;function pM(){return mg=(mg+1)%Number.MAX_SAFE_INTEGER,mg.toString()}const gg=new Map,z3=e=>{if(gg.has(e))return;const t=setTimeout(()=>{gg.delete(e),Au({type:"REMOVE_TOAST",toastId:e})},fM);gg.set(e,t)},mM=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,hM)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n)};case"DISMISS_TOAST":{const{toastId:n}=t;return n?z3(n):e.toasts.forEach(r=>{z3(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===n||n===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(n=>n.id!==t.toastId)}}},Af=[];let Uf={toasts:[]};function Au(e){Uf=mM(Uf,e),Af.forEach(t=>{t(Uf)})}function gM({...e}){const t=pM(),n=i=>Au({type:"UPDATE_TOAST",toast:{...i,id:t}}),r=()=>Au({type:"DISMISS_TOAST",toastId:t});return Au({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:i=>{i||r()}}}),{id:t,dismiss:r,update:n}}function Ms(){const[e,t]=R.useState(Uf);return R.useEffect(()=>(Af.push(t),()=>{const n=Af.indexOf(t);n>-1&&Af.splice(n,1)}),[e]),{...e,toast:gM,dismiss:n=>Au({type:"DISMISS_TOAST",toastId:n})}}function Je(e,t,{checkForDefaultPrevented:n=!0}={}){return function(i){if(e==null||e(i),n===!1||!i.defaultPrevented)return t==null?void 0:t(i)}}function W3(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function B_(...e){return t=>{let n=!1;const r=e.map(i=>{const a=W3(i,t);return!n&&typeof a=="function"&&(n=!0),a});if(n)return()=>{for(let i=0;i{const{children:o,...s}=a,l=R.useMemo(()=>s,Object.values(s));return E.jsx(n.Provider,{value:l,children:o})};r.displayName=e+"Provider";function i(a){const o=R.useContext(n);if(o)return o;if(t!==void 0)return t;throw new Error(`\`${a}\` must be used within \`${e}\``)}return[r,i]}function Bo(e,t=[]){let n=[];function r(a,o){const s=R.createContext(o),l=n.length;n=[...n,o];const c=d=>{var m;const{scope:f,children:h,...v}=d,p=((m=f==null?void 0:f[e])==null?void 0:m[l])||s,y=R.useMemo(()=>v,Object.values(v));return E.jsx(p.Provider,{value:y,children:h})};c.displayName=a+"Provider";function u(d,f){var p;const h=((p=f==null?void 0:f[e])==null?void 0:p[l])||s,v=R.useContext(h);if(v)return v;if(o!==void 0)return o;throw new Error(`\`${d}\` must be used within \`${a}\``)}return[c,u]}const i=()=>{const a=n.map(o=>R.createContext(o));return function(s){const l=(s==null?void 0:s[e])||a;return R.useMemo(()=>({[`__scope${e}`]:{...s,[e]:l}}),[s,l])}};return i.scopeName=e,[r,yM(i,...t)]}function yM(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(a){const o=r.reduce((s,{useScope:l,scopeName:c})=>{const d=l(a)[`__scope${c}`];return{...s,...d}},{});return R.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}function lc(e){const t=xM(e),n=R.forwardRef((r,i)=>{const{children:a,...o}=r,s=R.Children.toArray(a),l=s.find(DM);if(l){const c=l.props.children,u=s.map(d=>d===l?R.Children.count(c)>1?R.Children.only(null):R.isValidElement(c)?c.props.children:null:d);return E.jsx(t,{...o,ref:i,children:R.isValidElement(c)?R.cloneElement(c,void 0,u):null})}return E.jsx(t,{...o,ref:i,children:a})});return n.displayName=`${e}.Slot`,n}var bM=lc("Slot");function xM(e){const t=R.forwardRef((n,r)=>{const{children:i,...a}=n;if(R.isValidElement(i)){const o=_M(i),s=kM(a,i.props);return i.type!==R.Fragment&&(s.ref=r?B_(r,o):o),R.cloneElement(i,s)}return R.Children.count(i)>1?R.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var M_=Symbol("radix.slottable");function wM(e){const t=({children:n})=>E.jsx(E.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=M_,t}function DM(e){return R.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===M_}function kM(e,t){const n={...t};for(const r in t){const i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...s)=>{const l=a(...s);return i(...s),l}:i&&(n[r]=i):r==="style"?n[r]={...i,...a}:r==="className"&&(n[r]=[i,a].filter(Boolean).join(" "))}return{...e,...n}}function _M(e){var r,i;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function j_(e){const t=e+"CollectionProvider",[n,r]=Bo(t),[i,a]=n(t,{collectionRef:{current:null},itemMap:new Map}),o=p=>{const{scope:y,children:m}=p,g=Ee.useRef(null),b=Ee.useRef(new Map).current;return E.jsx(i,{scope:y,itemMap:b,collectionRef:g,children:m})};o.displayName=t;const s=e+"CollectionSlot",l=lc(s),c=Ee.forwardRef((p,y)=>{const{scope:m,children:g}=p,b=a(s,m),x=dn(y,b.collectionRef);return E.jsx(l,{ref:x,children:g})});c.displayName=s;const u=e+"CollectionItemSlot",d="data-radix-collection-item",f=lc(u),h=Ee.forwardRef((p,y)=>{const{scope:m,children:g,...b}=p,x=Ee.useRef(null),D=dn(y,x),w=a(u,m);return Ee.useEffect(()=>(w.itemMap.set(x,{ref:x,...b}),()=>void w.itemMap.delete(x))),E.jsx(f,{[d]:"",ref:D,children:g})});h.displayName=u;function v(p){const y=a(e+"CollectionConsumer",p);return Ee.useCallback(()=>{const g=y.collectionRef.current;if(!g)return[];const b=Array.from(g.querySelectorAll(`[${d}]`));return Array.from(y.itemMap.values()).sort((w,_)=>b.indexOf(w.ref.current)-b.indexOf(_.ref.current))},[y.collectionRef,y.itemMap])}return[{Provider:o,Slot:c,ItemSlot:h},v,r]}var TM=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],mt=TM.reduce((e,t)=>{const n=lc(`Primitive.${t}`),r=R.forwardRef((i,a)=>{const{asChild:o,...s}=i,l=o?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),E.jsx(l,{...s,ref:a})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function L_(e,t){e&&Ld.flushSync(()=>e.dispatchEvent(t))}function ui(e){const t=R.useRef(e);return R.useEffect(()=>{t.current=e}),R.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function EM(e,t=globalThis==null?void 0:globalThis.document){const n=ui(e);R.useEffect(()=>{const r=i=>{i.key==="Escape"&&n(i)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var SM="DismissableLayer",T2="dismissableLayer.update",CM="dismissableLayer.pointerDownOutside",AM="dismissableLayer.focusOutside",$3,z_=R.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),zd=R.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:o,onDismiss:s,...l}=e,c=R.useContext(z_),[u,d]=R.useState(null),f=(u==null?void 0:u.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,h]=R.useState({}),v=dn(t,_=>d(_)),p=Array.from(c.layers),[y]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),m=p.indexOf(y),g=u?p.indexOf(u):-1,b=c.layersWithOutsidePointerEventsDisabled.size>0,x=g>=m,D=FM(_=>{const N=_.target,O=[...c.branches].some(B=>B.contains(N));!x||O||(i==null||i(_),o==null||o(_),_.defaultPrevented||s==null||s())},f),w=RM(_=>{const N=_.target;[...c.branches].some(B=>B.contains(N))||(a==null||a(_),o==null||o(_),_.defaultPrevented||s==null||s())},f);return EM(_=>{g===c.layers.size-1&&(r==null||r(_),!_.defaultPrevented&&s&&(_.preventDefault(),s()))},f),R.useEffect(()=>{if(u)return n&&(c.layersWithOutsidePointerEventsDisabled.size===0&&($3=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(u)),c.layers.add(u),q3(),()=>{n&&c.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=$3)}},[u,f,n,c]),R.useEffect(()=>()=>{u&&(c.layers.delete(u),c.layersWithOutsidePointerEventsDisabled.delete(u),q3())},[u,c]),R.useEffect(()=>{const _=()=>h({});return document.addEventListener(T2,_),()=>document.removeEventListener(T2,_)},[]),E.jsx(mt.div,{...l,ref:v,style:{pointerEvents:b?x?"auto":"none":void 0,...e.style},onFocusCapture:Je(e.onFocusCapture,w.onFocusCapture),onBlurCapture:Je(e.onBlurCapture,w.onBlurCapture),onPointerDownCapture:Je(e.onPointerDownCapture,D.onPointerDownCapture)})});zd.displayName=SM;var UM="DismissableLayerBranch",W_=R.forwardRef((e,t)=>{const n=R.useContext(z_),r=R.useRef(null),i=dn(t,r);return R.useEffect(()=>{const a=r.current;if(a)return n.branches.add(a),()=>{n.branches.delete(a)}},[n.branches]),E.jsx(mt.div,{...e,ref:i})});W_.displayName=UM;function FM(e,t=globalThis==null?void 0:globalThis.document){const n=ui(e),r=R.useRef(!1),i=R.useRef(()=>{});return R.useEffect(()=>{const a=s=>{if(s.target&&!r.current){let l=function(){$_(CM,n,c,{discrete:!0})};const c={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",i.current),i.current=l,t.addEventListener("click",i.current,{once:!0})):l()}else t.removeEventListener("click",i.current);r.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",a),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function RM(e,t=globalThis==null?void 0:globalThis.document){const n=ui(e),r=R.useRef(!1);return R.useEffect(()=>{const i=a=>{a.target&&!r.current&&$_(AM,n,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",i),()=>t.removeEventListener("focusin",i)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function q3(){const e=new CustomEvent(T2);document.dispatchEvent(e)}function $_(e,t,n,{discrete:r}){const i=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?L_(i,a):i.dispatchEvent(a)}var NM=zd,OM=W_,ba=globalThis!=null&&globalThis.document?R.useLayoutEffect:()=>{},IM="Portal",pp=R.forwardRef((e,t)=>{var s;const{container:n,...r}=e,[i,a]=R.useState(!1);ba(()=>a(!0),[]);const o=n||i&&((s=globalThis==null?void 0:globalThis.document)==null?void 0:s.body);return o?m_.createPortal(E.jsx(mt.div,{...r,ref:t}),o):null});pp.displayName=IM;function PM(e,t){return R.useReducer((n,r)=>t[n][r]??n,e)}var Ea=e=>{const{present:t,children:n}=e,r=BM(t),i=typeof n=="function"?n({present:r.isPresent}):R.Children.only(n),a=dn(r.ref,MM(i));return typeof n=="function"||r.isPresent?R.cloneElement(i,{ref:a}):null};Ea.displayName="Presence";function BM(e){const[t,n]=R.useState(),r=R.useRef(null),i=R.useRef(e),a=R.useRef("none"),o=e?"mounted":"unmounted",[s,l]=PM(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return R.useEffect(()=>{const c=Rh(r.current);a.current=s==="mounted"?c:"none"},[s]),ba(()=>{const c=r.current,u=i.current;if(u!==e){const f=a.current,h=Rh(c);e?l("MOUNT"):h==="none"||(c==null?void 0:c.display)==="none"?l("UNMOUNT"):l(u&&f!==h?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,l]),ba(()=>{if(t){let c;const u=t.ownerDocument.defaultView??window,d=h=>{const p=Rh(r.current).includes(h.animationName);if(h.target===t&&p&&(l("ANIMATION_END"),!i.current)){const y=t.style.animationFillMode;t.style.animationFillMode="forwards",c=u.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=y)})}},f=h=>{h.target===t&&(a.current=Rh(r.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{u.clearTimeout(c),t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:R.useCallback(c=>{r.current=c?getComputedStyle(c):null,n(c)},[])}}function Rh(e){return(e==null?void 0:e.animationName)||"none"}function MM(e){var r,i;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var jM=By[" useInsertionEffect ".trim().toString()]||ba;function Wd({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[i,a,o]=LM({defaultProp:t,onChange:n}),s=e!==void 0,l=s?e:i;{const u=R.useRef(e!==void 0);R.useEffect(()=>{const d=u.current;d!==s&&console.warn(`${r} is changing from ${d?"controlled":"uncontrolled"} to ${s?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),u.current=s},[s,r])}const c=R.useCallback(u=>{var d;if(s){const f=zM(u)?u(e):u;f!==e&&((d=o.current)==null||d.call(o,f))}else a(u)},[s,e,a,o]);return[l,c]}function LM({defaultProp:e,onChange:t}){const[n,r]=R.useState(e),i=R.useRef(n),a=R.useRef(t);return jM(()=>{a.current=t},[t]),R.useEffect(()=>{var o;i.current!==n&&((o=a.current)==null||o.call(a,n),i.current=n)},[n,i]),[n,r,a]}function zM(e){return typeof e=="function"}var WM=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),$M="VisuallyHidden",mp=R.forwardRef((e,t)=>E.jsx(mt.span,{...e,ref:t,style:{...WM,...e.style}}));mp.displayName=$M;var qM=mp,Ob="ToastProvider",[Ib,HM,VM]=j_("Toast"),[q_,Zle]=Bo("Toast",[VM]),[GM,gp]=q_(Ob),H_=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:i="right",swipeThreshold:a=50,children:o}=e,[s,l]=R.useState(null),[c,u]=R.useState(0),d=R.useRef(!1),f=R.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${Ob}\`. Expected non-empty \`string\`.`),E.jsx(Ib.Provider,{scope:t,children:E.jsx(GM,{scope:t,label:n,duration:r,swipeDirection:i,swipeThreshold:a,toastCount:c,viewport:s,onViewportChange:l,onToastAdd:R.useCallback(()=>u(h=>h+1),[]),onToastRemove:R.useCallback(()=>u(h=>h-1),[]),isFocusedToastEscapeKeyDownRef:d,isClosePausedRef:f,children:o})})};H_.displayName=Ob;var V_="ToastViewport",XM=["F8"],E2="toast.viewportPause",S2="toast.viewportResume",G_=R.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=XM,label:i="Notifications ({hotkey})",...a}=e,o=gp(V_,n),s=HM(n),l=R.useRef(null),c=R.useRef(null),u=R.useRef(null),d=R.useRef(null),f=dn(t,d,o.onViewportChange),h=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),v=o.toastCount>0;R.useEffect(()=>{const y=m=>{var b;r.length!==0&&r.every(x=>m[x]||m.code===x)&&((b=d.current)==null||b.focus())};return document.addEventListener("keydown",y),()=>document.removeEventListener("keydown",y)},[r]),R.useEffect(()=>{const y=l.current,m=d.current;if(v&&y&&m){const g=()=>{if(!o.isClosePausedRef.current){const w=new CustomEvent(E2);m.dispatchEvent(w),o.isClosePausedRef.current=!0}},b=()=>{if(o.isClosePausedRef.current){const w=new CustomEvent(S2);m.dispatchEvent(w),o.isClosePausedRef.current=!1}},x=w=>{!y.contains(w.relatedTarget)&&b()},D=()=>{y.contains(document.activeElement)||b()};return y.addEventListener("focusin",g),y.addEventListener("focusout",x),y.addEventListener("pointermove",g),y.addEventListener("pointerleave",D),window.addEventListener("blur",g),window.addEventListener("focus",b),()=>{y.removeEventListener("focusin",g),y.removeEventListener("focusout",x),y.removeEventListener("pointermove",g),y.removeEventListener("pointerleave",D),window.removeEventListener("blur",g),window.removeEventListener("focus",b)}}},[v,o.isClosePausedRef]);const p=R.useCallback(({tabbingDirection:y})=>{const g=s().map(b=>{const x=b.ref.current,D=[x,...sj(x)];return y==="forwards"?D:D.reverse()});return(y==="forwards"?g.reverse():g).flat()},[s]);return R.useEffect(()=>{const y=d.current;if(y){const m=g=>{var D,w,_;const b=g.altKey||g.ctrlKey||g.metaKey;if(g.key==="Tab"&&!b){const N=document.activeElement,O=g.shiftKey;if(g.target===y&&O){(D=c.current)==null||D.focus();return}const A=p({tabbingDirection:O?"backwards":"forwards"}),q=A.findIndex(T=>T===N);vg(A.slice(q+1))?g.preventDefault():O?(w=c.current)==null||w.focus():(_=u.current)==null||_.focus()}};return y.addEventListener("keydown",m),()=>y.removeEventListener("keydown",m)}},[s,p]),E.jsxs(OM,{ref:l,role:"region","aria-label":i.replace("{hotkey}",h),tabIndex:-1,style:{pointerEvents:v?void 0:"none"},children:[v&&E.jsx(C2,{ref:c,onFocusFromOutsideViewport:()=>{const y=p({tabbingDirection:"forwards"});vg(y)}}),E.jsx(Ib.Slot,{scope:n,children:E.jsx(mt.ol,{tabIndex:-1,...a,ref:f})}),v&&E.jsx(C2,{ref:u,onFocusFromOutsideViewport:()=>{const y=p({tabbingDirection:"backwards"});vg(y)}})]})});G_.displayName=V_;var X_="ToastFocusProxy",C2=R.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...i}=e,a=gp(X_,n);return E.jsx(mp,{"aria-hidden":!0,tabIndex:0,...i,ref:t,style:{position:"fixed"},onFocus:o=>{var c;const s=o.relatedTarget;!((c=a.viewport)!=null&&c.contains(s))&&r()}})});C2.displayName=X_;var $d="Toast",KM="toast.swipeStart",YM="toast.swipeMove",JM="toast.swipeCancel",QM="toast.swipeEnd",K_=R.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:i,onOpenChange:a,...o}=e,[s,l]=Wd({prop:r,defaultProp:i??!0,onChange:a,caller:$d});return E.jsx(Ea,{present:n||s,children:E.jsx(tj,{open:s,...o,ref:t,onClose:()=>l(!1),onPause:ui(e.onPause),onResume:ui(e.onResume),onSwipeStart:Je(e.onSwipeStart,c=>{c.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:Je(e.onSwipeMove,c=>{const{x:u,y:d}=c.detail.delta;c.currentTarget.setAttribute("data-swipe","move"),c.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${u}px`),c.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${d}px`)}),onSwipeCancel:Je(e.onSwipeCancel,c=>{c.currentTarget.setAttribute("data-swipe","cancel"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),c.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:Je(e.onSwipeEnd,c=>{const{x:u,y:d}=c.detail.delta;c.currentTarget.setAttribute("data-swipe","end"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),c.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${u}px`),c.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${d}px`),l(!1)})})})});K_.displayName=$d;var[ZM,ej]=q_($d,{onClose(){}}),tj=R.forwardRef((e,t)=>{const{__scopeToast:n,type:r="foreground",duration:i,open:a,onClose:o,onEscapeKeyDown:s,onPause:l,onResume:c,onSwipeStart:u,onSwipeMove:d,onSwipeCancel:f,onSwipeEnd:h,...v}=e,p=gp($d,n),[y,m]=R.useState(null),g=dn(t,T=>m(T)),b=R.useRef(null),x=R.useRef(null),D=i||p.duration,w=R.useRef(0),_=R.useRef(D),N=R.useRef(0),{onToastAdd:O,onToastRemove:B}=p,K=ui(()=>{var X;(y==null?void 0:y.contains(document.activeElement))&&((X=p.viewport)==null||X.focus()),o()}),A=R.useCallback(T=>{!T||T===1/0||(window.clearTimeout(N.current),w.current=new Date().getTime(),N.current=window.setTimeout(K,T))},[K]);R.useEffect(()=>{const T=p.viewport;if(T){const X=()=>{A(_.current),c==null||c()},j=()=>{const z=new Date().getTime()-w.current;_.current=_.current-z,window.clearTimeout(N.current),l==null||l()};return T.addEventListener(E2,j),T.addEventListener(S2,X),()=>{T.removeEventListener(E2,j),T.removeEventListener(S2,X)}}},[p.viewport,D,l,c,A]),R.useEffect(()=>{a&&!p.isClosePausedRef.current&&A(D)},[a,D,p.isClosePausedRef,A]),R.useEffect(()=>(O(),()=>B()),[O,B]);const q=R.useMemo(()=>y?nT(y):null,[y]);return p.viewport?E.jsxs(E.Fragment,{children:[q&&E.jsx(nj,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:q}),E.jsx(ZM,{scope:n,onClose:K,children:Ld.createPortal(E.jsx(Ib.ItemSlot,{scope:n,children:E.jsx(NM,{asChild:!0,onEscapeKeyDown:Je(s,()=>{p.isFocusedToastEscapeKeyDownRef.current||K(),p.isFocusedToastEscapeKeyDownRef.current=!1}),children:E.jsx(mt.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":a?"open":"closed","data-swipe-direction":p.swipeDirection,...v,ref:g,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:Je(e.onKeyDown,T=>{T.key==="Escape"&&(s==null||s(T.nativeEvent),T.nativeEvent.defaultPrevented||(p.isFocusedToastEscapeKeyDownRef.current=!0,K()))}),onPointerDown:Je(e.onPointerDown,T=>{T.button===0&&(b.current={x:T.clientX,y:T.clientY})}),onPointerMove:Je(e.onPointerMove,T=>{if(!b.current)return;const X=T.clientX-b.current.x,j=T.clientY-b.current.y,z=!!x.current,P=["left","right"].includes(p.swipeDirection),M=["left","up"].includes(p.swipeDirection)?Math.min:Math.max,F=P?M(0,X):0,$=P?0:M(0,j),V=T.pointerType==="touch"?10:2,U={x:F,y:$},ne={originalEvent:T,delta:U};z?(x.current=U,Nh(YM,d,ne,{discrete:!1})):H3(U,p.swipeDirection,V)?(x.current=U,Nh(KM,u,ne,{discrete:!1}),T.target.setPointerCapture(T.pointerId)):(Math.abs(X)>V||Math.abs(j)>V)&&(b.current=null)}),onPointerUp:Je(e.onPointerUp,T=>{const X=x.current,j=T.target;if(j.hasPointerCapture(T.pointerId)&&j.releasePointerCapture(T.pointerId),x.current=null,b.current=null,X){const z=T.currentTarget,P={originalEvent:T,delta:X};H3(X,p.swipeDirection,p.swipeThreshold)?Nh(QM,h,P,{discrete:!0}):Nh(JM,f,P,{discrete:!0}),z.addEventListener("click",M=>M.preventDefault(),{once:!0})}})})})}),p.viewport)})]}):null}),nj=e=>{const{__scopeToast:t,children:n,...r}=e,i=gp($d,t),[a,o]=R.useState(!1),[s,l]=R.useState(!1);return aj(()=>o(!0)),R.useEffect(()=>{const c=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(c)},[]),s?null:E.jsx(pp,{asChild:!0,children:E.jsx(mp,{...r,children:a&&E.jsxs(E.Fragment,{children:[i.label," ",n]})})})},rj="ToastTitle",Y_=R.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return E.jsx(mt.div,{...r,ref:t})});Y_.displayName=rj;var ij="ToastDescription",J_=R.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return E.jsx(mt.div,{...r,ref:t})});J_.displayName=ij;var Q_="ToastAction",Z_=R.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?E.jsx(tT,{altText:n,asChild:!0,children:E.jsx(Pb,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${Q_}\`. Expected non-empty \`string\`.`),null)});Z_.displayName=Q_;var eT="ToastClose",Pb=R.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,i=ej(eT,n);return E.jsx(tT,{asChild:!0,children:E.jsx(mt.button,{type:"button",...r,ref:t,onClick:Je(e.onClick,i.onClose)})})});Pb.displayName=eT;var tT=R.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...i}=e;return E.jsx(mt.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...i,ref:t})});function nT(e){const t=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),oj(r)){const i=r.ariaHidden||r.hidden||r.style.display==="none",a=r.dataset.radixToastAnnounceExclude==="";if(!i)if(a){const o=r.dataset.radixToastAnnounceAlt;o&&t.push(o)}else t.push(...nT(r))}}),t}function Nh(e,t,n,{discrete:r}){const i=n.originalEvent.currentTarget,a=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?L_(i,a):i.dispatchEvent(a)}var H3=(e,t,n=0)=>{const r=Math.abs(e.x),i=Math.abs(e.y),a=r>i;return t==="left"||t==="right"?a&&r>n:!a&&i>n};function aj(e=()=>{}){const t=ui(e);ba(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function oj(e){return e.nodeType===e.ELEMENT_NODE}function sj(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function vg(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var lj=H_,rT=G_,iT=K_,aT=Y_,oT=J_,sT=Z_,lT=Pb;function cT(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;ttypeof e=="boolean"?`${e}`:e===0?"0":e,G3=uT,qd=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return G3(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:i,defaultVariants:a}=t,o=Object.keys(i).map(c=>{const u=n==null?void 0:n[c],d=a==null?void 0:a[c];if(u===null)return null;const f=V3(u)||V3(d);return i[c][f]}),s=n&&Object.entries(n).reduce((c,u)=>{let[d,f]=u;return f===void 0||(c[d]=f),c},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((c,u)=>{let{class:d,className:f,...h}=u;return Object.entries(h).every(v=>{let[p,y]=v;return Array.isArray(y)?y.includes({...a,...s}[p]):{...a,...s}[p]===y})?[...c,d,f]:c},[]);return G3(e,o,l,n==null?void 0:n.class,n==null?void 0:n.className)};/** + * @license lucide-react v0.462.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const cj=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),dT=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/** + * @license lucide-react v0.462.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */var uj={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** + * @license lucide-react v0.462.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const dj=R.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:i="",children:a,iconNode:o,...s},l)=>R.createElement("svg",{ref:l,...uj,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:dT("lucide",i),...s},[...o.map(([c,u])=>R.createElement(c,u)),...Array.isArray(a)?a:[a]]));/** + * @license lucide-react v0.462.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const wt=(e,t)=>{const n=R.forwardRef(({className:r,...i},a)=>R.createElement(dj,{ref:a,iconNode:t,className:dT(`lucide-${cj(e)}`,r),...i}));return n.displayName=`${e}`,n};/** + * @license lucide-react v0.462.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const hj=wt("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);/** + * @license lucide-react v0.462.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const hT=wt("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/** + * @license lucide-react v0.462.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const fj=wt("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/** + * @license lucide-react v0.462.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const pj=wt("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/** + * @license lucide-react v0.462.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const mj=wt("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/** + * @license lucide-react v0.462.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const gj=wt("CircleX",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);/** + * @license lucide-react v0.462.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Hd=wt("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);/** + * @license lucide-react v0.462.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const X3=wt("FileType2",[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M2 13v-1h6v1",key:"1dh9dg"}],["path",{d:"M5 12v6",key:"150t9c"}],["path",{d:"M4 18h2",key:"1xrofg"}]]);/** + * @license lucide-react v0.462.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Ff=wt("Headphones",[["path",{d:"M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3",key:"1xhozi"}]]);/** + * @license lucide-react v0.462.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const fT=wt("Layers",[["path",{d:"m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z",key:"8b97xw"}],["path",{d:"m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65",key:"dd6zsq"}],["path",{d:"m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65",key:"ep9fru"}]]);/** + * @license lucide-react v0.462.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const pT=wt("ListChecks",[["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"m3 7 2 2 4-4",key:"1obspn"}],["path",{d:"M13 6h8",key:"15sg57"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 18h8",key:"oe0vm4"}]]);/** + * @license lucide-react v0.462.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const qt=wt("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/** + * @license lucide-react v0.462.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const vj=wt("LogOut",[["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}],["polyline",{points:"16 17 21 12 16 7",key:"1gabdz"}],["line",{x1:"21",x2:"9",y1:"12",y2:"12",key:"1uyos4"}]]);/** + * @license lucide-react v0.462.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const mT=wt("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/** + * @license lucide-react v0.462.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const gT=wt("MessagesSquare",[["path",{d:"M14 9a2 2 0 0 1-2 2H6l-4 4V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2z",key:"p1xzt8"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v11l-4-4h-6a2 2 0 0 1-2-2v-1",key:"1cx29u"}]]);/** + * @license lucide-react v0.462.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const yj=wt("Mic",[["path",{d:"M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3Z",key:"131961"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["line",{x1:"12",x2:"12",y1:"19",y2:"22",key:"x3vr5v"}]]);/** + * @license lucide-react v0.462.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const vT=wt("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/** + * @license lucide-react v0.462.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const yg=wt("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);/** + * @license lucide-react v0.462.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const yT=wt("RotateCcw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);/** + * @license lucide-react v0.462.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const bj=wt("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);/** + * @license lucide-react v0.462.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const xj=wt("Shuffle",[["path",{d:"m18 14 4 4-4 4",key:"10pe0f"}],["path",{d:"m18 2 4 4-4 4",key:"pucp1d"}],["path",{d:"M2 18h1.973a4 4 0 0 0 3.3-1.7l5.454-8.6a4 4 0 0 1 3.3-1.7H22",key:"1ailkh"}],["path",{d:"M2 6h1.972a4 4 0 0 1 3.6 2.2",key:"km57vx"}],["path",{d:"M22 18h-6.041a4 4 0 0 1-3.3-1.8l-.359-.45",key:"os18l9"}]]);/** + * @license lucide-react v0.462.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const js=wt("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);/** + * @license lucide-react v0.462.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const wj=wt("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]);/** + * @license lucide-react v0.462.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const K3=wt("Upload",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"17 8 12 3 7 8",key:"t8dd8p"}],["line",{x1:"12",x2:"12",y1:"3",y2:"15",key:"widbto"}]]);/** + * @license lucide-react v0.462.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Dj=wt("Video",[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]]);/** + * @license lucide-react v0.462.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Bb=wt("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/** + * @license lucide-react v0.462.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const bT=wt("Youtube",[["path",{d:"M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.55 0 0 1-16.2 0A2 2 0 0 1 2.5 17",key:"1q2vi4"}],["path",{d:"m10 15 5-3-5-3z",key:"1jp15x"}]]),Mb="-",kj=e=>{const t=Tj(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:o=>{const s=o.split(Mb);return s[0]===""&&s.length!==1&&s.shift(),xT(s,t)||_j(o)},getConflictingClassGroupIds:(o,s)=>{const l=n[o]||[];return s&&r[o]?[...l,...r[o]]:l}}},xT=(e,t)=>{var o;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?xT(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;const a=e.join(Mb);return(o=t.validators.find(({validator:s})=>s(a)))==null?void 0:o.classGroupId},Y3=/^\[(.+)\]$/,_j=e=>{if(Y3.test(e)){const t=Y3.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},Tj=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return Sj(Object.entries(e.classGroups),n).forEach(([a,o])=>{A2(o,r,a,t)}),r},A2=(e,t,n,r)=>{e.forEach(i=>{if(typeof i=="string"){const a=i===""?t:J3(t,i);a.classGroupId=n;return}if(typeof i=="function"){if(Ej(i)){A2(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([a,o])=>{A2(o,J3(t,a),n,r)})})},J3=(e,t)=>{let n=e;return t.split(Mb).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},Ej=e=>e.isThemeGetter,Sj=(e,t)=>t?e.map(([n,r])=>{const i=r.map(a=>typeof a=="string"?t+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([o,s])=>[t+o,s])):a);return[n,i]}):e,Cj=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const i=(a,o)=>{n.set(a,o),t++,t>e&&(t=0,r=n,n=new Map)};return{get(a){let o=n.get(a);if(o!==void 0)return o;if((o=r.get(a))!==void 0)return i(a,o),o},set(a,o){n.has(a)?n.set(a,o):i(a,o)}}},wT="!",Aj=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,i=t[0],a=t.length,o=s=>{const l=[];let c=0,u=0,d;for(let y=0;yu?d-u:void 0;return{modifiers:l,hasImportantModifier:h,baseClassName:v,maybePostfixModifierPosition:p}};return n?s=>n({className:s,parseClassName:o}):o},Uj=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t},Fj=e=>({cache:Cj(e.cacheSize),parseClassName:Aj(e),...kj(e)}),Rj=/\s+/,Nj=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,a=[],o=e.trim().split(Rj);let s="";for(let l=o.length-1;l>=0;l-=1){const c=o[l],{modifiers:u,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:h}=n(c);let v=!!h,p=r(v?f.substring(0,h):f);if(!p){if(!v){s=c+(s.length>0?" "+s:s);continue}if(p=r(f),!p){s=c+(s.length>0?" "+s:s);continue}v=!1}const y=Uj(u).join(":"),m=d?y+wT:y,g=m+p;if(a.includes(g))continue;a.push(g);const b=i(p,v);for(let x=0;x0?" "+s:s)}return s};function Oj(){let e=0,t,n,r="";for(;e{if(typeof e=="string")return e;let t,n="";for(let r=0;rd(u),e());return n=Fj(c),r=n.cache.get,i=n.cache.set,a=s,s(l)}function s(l){const c=r(l);if(c)return c;const u=Nj(l,n);return i(l,u),u}return function(){return a(Oj.apply(null,arguments))}}const St=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},kT=/^\[(?:([a-z-]+):)?(.+)\]$/i,Pj=/^\d+\/\d+$/,Bj=new Set(["px","full","screen"]),Mj=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,jj=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Lj=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,zj=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Wj=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Ki=e=>Bl(e)||Bj.has(e)||Pj.test(e),Ma=e=>Uc(e,"length",Yj),Bl=e=>!!e&&!Number.isNaN(Number(e)),bg=e=>Uc(e,"number",Bl),tu=e=>!!e&&Number.isInteger(Number(e)),$j=e=>e.endsWith("%")&&Bl(e.slice(0,-1)),Ge=e=>kT.test(e),ja=e=>Mj.test(e),qj=new Set(["length","size","percentage"]),Hj=e=>Uc(e,qj,_T),Vj=e=>Uc(e,"position",_T),Gj=new Set(["image","url"]),Xj=e=>Uc(e,Gj,Qj),Kj=e=>Uc(e,"",Jj),nu=()=>!0,Uc=(e,t,n)=>{const r=kT.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},Yj=e=>jj.test(e)&&!Lj.test(e),_T=()=>!1,Jj=e=>zj.test(e),Qj=e=>Wj.test(e),Zj=()=>{const e=St("colors"),t=St("spacing"),n=St("blur"),r=St("brightness"),i=St("borderColor"),a=St("borderRadius"),o=St("borderSpacing"),s=St("borderWidth"),l=St("contrast"),c=St("grayscale"),u=St("hueRotate"),d=St("invert"),f=St("gap"),h=St("gradientColorStops"),v=St("gradientColorStopPositions"),p=St("inset"),y=St("margin"),m=St("opacity"),g=St("padding"),b=St("saturate"),x=St("scale"),D=St("sepia"),w=St("skew"),_=St("space"),N=St("translate"),O=()=>["auto","contain","none"],B=()=>["auto","hidden","clip","visible","scroll"],K=()=>["auto",Ge,t],A=()=>[Ge,t],q=()=>["",Ki,Ma],T=()=>["auto",Bl,Ge],X=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],j=()=>["solid","dashed","dotted","double","none"],z=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],P=()=>["start","end","center","between","around","evenly","stretch"],M=()=>["","0",Ge],F=()=>["auto","avoid","all","avoid-page","page","left","right","column"],$=()=>[Bl,Ge];return{cacheSize:500,separator:":",theme:{colors:[nu],spacing:[Ki,Ma],blur:["none","",ja,Ge],brightness:$(),borderColor:[e],borderRadius:["none","","full",ja,Ge],borderSpacing:A(),borderWidth:q(),contrast:$(),grayscale:M(),hueRotate:$(),invert:M(),gap:A(),gradientColorStops:[e],gradientColorStopPositions:[$j,Ma],inset:K(),margin:K(),opacity:$(),padding:A(),saturate:$(),scale:$(),sepia:M(),skew:$(),space:A(),translate:A()},classGroups:{aspect:[{aspect:["auto","square","video",Ge]}],container:["container"],columns:[{columns:[ja]}],"break-after":[{"break-after":F()}],"break-before":[{"break-before":F()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...X(),Ge]}],overflow:[{overflow:B()}],"overflow-x":[{"overflow-x":B()}],"overflow-y":[{"overflow-y":B()}],overscroll:[{overscroll:O()}],"overscroll-x":[{"overscroll-x":O()}],"overscroll-y":[{"overscroll-y":O()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[p]}],"inset-x":[{"inset-x":[p]}],"inset-y":[{"inset-y":[p]}],start:[{start:[p]}],end:[{end:[p]}],top:[{top:[p]}],right:[{right:[p]}],bottom:[{bottom:[p]}],left:[{left:[p]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",tu,Ge]}],basis:[{basis:K()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Ge]}],grow:[{grow:M()}],shrink:[{shrink:M()}],order:[{order:["first","last","none",tu,Ge]}],"grid-cols":[{"grid-cols":[nu]}],"col-start-end":[{col:["auto",{span:["full",tu,Ge]},Ge]}],"col-start":[{"col-start":T()}],"col-end":[{"col-end":T()}],"grid-rows":[{"grid-rows":[nu]}],"row-start-end":[{row:["auto",{span:[tu,Ge]},Ge]}],"row-start":[{"row-start":T()}],"row-end":[{"row-end":T()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Ge]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Ge]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...P()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...P(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...P(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[g]}],px:[{px:[g]}],py:[{py:[g]}],ps:[{ps:[g]}],pe:[{pe:[g]}],pt:[{pt:[g]}],pr:[{pr:[g]}],pb:[{pb:[g]}],pl:[{pl:[g]}],m:[{m:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],me:[{me:[y]}],mt:[{mt:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-x":[{"space-x":[_]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[_]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Ge,t]}],"min-w":[{"min-w":[Ge,t,"min","max","fit"]}],"max-w":[{"max-w":[Ge,t,"none","full","min","max","fit","prose",{screen:[ja]},ja]}],h:[{h:[Ge,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Ge,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Ge,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Ge,t,"auto","min","max","fit"]}],"font-size":[{text:["base",ja,Ma]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",bg]}],"font-family":[{font:[nu]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",Ge]}],"line-clamp":[{"line-clamp":["none",Bl,bg]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Ki,Ge]}],"list-image":[{"list-image":["none",Ge]}],"list-style-type":[{list:["none","disc","decimal",Ge]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[m]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[m]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...j(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Ki,Ma]}],"underline-offset":[{"underline-offset":["auto",Ki,Ge]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:A()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Ge]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Ge]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[m]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...X(),Vj]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Hj]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Xj]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[v]}],"gradient-via-pos":[{via:[v]}],"gradient-to-pos":[{to:[v]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[m]}],"border-style":[{border:[...j(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[m]}],"divide-style":[{divide:j()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...j()]}],"outline-offset":[{"outline-offset":[Ki,Ge]}],"outline-w":[{outline:[Ki,Ma]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:q()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[m]}],"ring-offset-w":[{"ring-offset":[Ki,Ma]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",ja,Kj]}],"shadow-color":[{shadow:[nu]}],opacity:[{opacity:[m]}],"mix-blend":[{"mix-blend":[...z(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":z()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",ja,Ge]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[d]}],saturate:[{saturate:[b]}],sepia:[{sepia:[D]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[m]}],"backdrop-saturate":[{"backdrop-saturate":[b]}],"backdrop-sepia":[{"backdrop-sepia":[D]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[o]}],"border-spacing-x":[{"border-spacing-x":[o]}],"border-spacing-y":[{"border-spacing-y":[o]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Ge]}],duration:[{duration:$()}],ease:[{ease:["linear","in","out","in-out",Ge]}],delay:[{delay:$()}],animate:[{animate:["none","spin","ping","pulse","bounce",Ge]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[x]}],"scale-x":[{"scale-x":[x]}],"scale-y":[{"scale-y":[x]}],rotate:[{rotate:[tu,Ge]}],"translate-x":[{"translate-x":[N]}],"translate-y":[{"translate-y":[N]}],"skew-x":[{"skew-x":[w]}],"skew-y":[{"skew-y":[w]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Ge]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Ge]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":A()}],"scroll-mx":[{"scroll-mx":A()}],"scroll-my":[{"scroll-my":A()}],"scroll-ms":[{"scroll-ms":A()}],"scroll-me":[{"scroll-me":A()}],"scroll-mt":[{"scroll-mt":A()}],"scroll-mr":[{"scroll-mr":A()}],"scroll-mb":[{"scroll-mb":A()}],"scroll-ml":[{"scroll-ml":A()}],"scroll-p":[{"scroll-p":A()}],"scroll-px":[{"scroll-px":A()}],"scroll-py":[{"scroll-py":A()}],"scroll-ps":[{"scroll-ps":A()}],"scroll-pe":[{"scroll-pe":A()}],"scroll-pt":[{"scroll-pt":A()}],"scroll-pr":[{"scroll-pr":A()}],"scroll-pb":[{"scroll-pb":A()}],"scroll-pl":[{"scroll-pl":A()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Ge]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Ki,Ma,bg]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},eL=Ij(Zj);function ot(...e){return eL(uT(e))}const tL=lj,TT=R.forwardRef(({className:e,...t},n)=>E.jsx(rT,{ref:n,className:ot("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));TT.displayName=rT.displayName;const nL=qd("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),ET=R.forwardRef(({className:e,variant:t,...n},r)=>E.jsx(iT,{ref:r,className:ot(nL({variant:t}),e),...n}));ET.displayName=iT.displayName;const rL=R.forwardRef(({className:e,...t},n)=>E.jsx(sT,{ref:n,className:ot("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors group-[.destructive]:border-muted/40 hover:bg-secondary group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 group-[.destructive]:focus:ring-destructive disabled:pointer-events-none disabled:opacity-50",e),...t}));rL.displayName=sT.displayName;const ST=R.forwardRef(({className:e,...t},n)=>E.jsx(lT,{ref:n,className:ot("absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity group-hover:opacity-100 group-[.destructive]:text-red-300 hover:text-foreground group-[.destructive]:hover:text-red-50 focus:opacity-100 focus:outline-none focus:ring-2 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:E.jsx(Bb,{className:"h-4 w-4"})}));ST.displayName=lT.displayName;const CT=R.forwardRef(({className:e,...t},n)=>E.jsx(aT,{ref:n,className:ot("text-sm font-semibold",e),...t}));CT.displayName=aT.displayName;const AT=R.forwardRef(({className:e,...t},n)=>E.jsx(oT,{ref:n,className:ot("text-sm opacity-90",e),...t}));AT.displayName=oT.displayName;function iL(){const{toasts:e}=Ms();return E.jsxs(tL,{children:[e.map(function({id:t,title:n,description:r,action:i,...a}){return E.jsxs(ET,{...a,children:[E.jsxs("div",{className:"grid gap-1",children:[n&&E.jsx(CT,{children:n}),r&&E.jsx(AT,{children:r})]}),i,E.jsx(ST,{})]},t)}),E.jsx(TT,{})]})}var aL=By[" useId ".trim().toString()]||(()=>{}),oL=0;function Ml(e){const[t,n]=R.useState(aL());return ba(()=>{e||n(r=>r??String(oL++))},[e]),e||(t?`radix-${t}`:"")}const sL=["top","right","bottom","left"],To=Math.min,yr=Math.max,m0=Math.round,Oh=Math.floor,Bi=e=>({x:e,y:e}),lL={left:"right",right:"left",bottom:"top",top:"bottom"},cL={start:"end",end:"start"};function U2(e,t,n){return yr(e,To(t,n))}function xa(e,t){return typeof e=="function"?e(t):e}function wa(e){return e.split("-")[0]}function Fc(e){return e.split("-")[1]}function jb(e){return e==="x"?"y":"x"}function Lb(e){return e==="y"?"height":"width"}const uL=new Set(["top","bottom"]);function Ni(e){return uL.has(wa(e))?"y":"x"}function zb(e){return jb(Ni(e))}function dL(e,t,n){n===void 0&&(n=!1);const r=Fc(e),i=zb(e),a=Lb(i);let o=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(o=g0(o)),[o,g0(o)]}function hL(e){const t=g0(e);return[F2(e),t,F2(t)]}function F2(e){return e.replace(/start|end/g,t=>cL[t])}const Q3=["left","right"],Z3=["right","left"],fL=["top","bottom"],pL=["bottom","top"];function mL(e,t,n){switch(e){case"top":case"bottom":return n?t?Z3:Q3:t?Q3:Z3;case"left":case"right":return t?fL:pL;default:return[]}}function gL(e,t,n,r){const i=Fc(e);let a=mL(wa(e),n==="start",r);return i&&(a=a.map(o=>o+"-"+i),t&&(a=a.concat(a.map(F2)))),a}function g0(e){return e.replace(/left|right|bottom|top/g,t=>lL[t])}function vL(e){return{top:0,right:0,bottom:0,left:0,...e}}function UT(e){return typeof e!="number"?vL(e):{top:e,right:e,bottom:e,left:e}}function v0(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function e5(e,t,n){let{reference:r,floating:i}=e;const a=Ni(t),o=zb(t),s=Lb(o),l=wa(t),c=a==="y",u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2;let h;switch(l){case"top":h={x:u,y:r.y-i.height};break;case"bottom":h={x:u,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:d};break;case"left":h={x:r.x-i.width,y:d};break;default:h={x:r.x,y:r.y}}switch(Fc(t)){case"start":h[o]-=f*(n&&c?-1:1);break;case"end":h[o]+=f*(n&&c?-1:1);break}return h}const yL=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:a=[],platform:o}=n,s=a.filter(Boolean),l=await(o.isRTL==null?void 0:o.isRTL(t));let c=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=e5(c,r,l),f=r,h={},v=0;for(let p=0;p({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:l}=t,{element:c,padding:u=0}=xa(e,t)||{};if(c==null)return{};const d=UT(u),f={x:n,y:r},h=zb(i),v=Lb(h),p=await o.getDimensions(c),y=h==="y",m=y?"top":"left",g=y?"bottom":"right",b=y?"clientHeight":"clientWidth",x=a.reference[v]+a.reference[h]-f[h]-a.floating[v],D=f[h]-a.reference[h],w=await(o.getOffsetParent==null?void 0:o.getOffsetParent(c));let _=w?w[b]:0;(!_||!await(o.isElement==null?void 0:o.isElement(w)))&&(_=s.floating[b]||a.floating[v]);const N=x/2-D/2,O=_/2-p[v]/2-1,B=To(d[m],O),K=To(d[g],O),A=B,q=_-p[v]-K,T=_/2-p[v]/2+N,X=U2(A,T,q),j=!l.arrow&&Fc(i)!=null&&T!==X&&a.reference[v]/2-(TT<=0)){var K,A;const T=(((K=a.flip)==null?void 0:K.index)||0)+1,X=_[T];if(X&&(!(d==="alignment"?g!==Ni(X):!1)||B.every(P=>P.overflows[0]>0&&Ni(P.placement)===g)))return{data:{index:T,overflows:B},reset:{placement:X}};let j=(A=B.filter(z=>z.overflows[0]<=0).sort((z,P)=>z.overflows[1]-P.overflows[1])[0])==null?void 0:A.placement;if(!j)switch(h){case"bestFit":{var q;const z=(q=B.filter(P=>{if(w){const M=Ni(P.placement);return M===g||M==="y"}return!0}).map(P=>[P.placement,P.overflows.filter(M=>M>0).reduce((M,F)=>M+F,0)]).sort((P,M)=>P[1]-M[1])[0])==null?void 0:q[0];z&&(j=z);break}case"initialPlacement":j=s;break}if(i!==j)return{reset:{placement:j}}}return{}}}};function t5(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function n5(e){return sL.some(t=>e[t]>=0)}const wL=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...i}=xa(e,t);switch(r){case"referenceHidden":{const a=await id(t,{...i,elementContext:"reference"}),o=t5(a,n.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:n5(o)}}}case"escaped":{const a=await id(t,{...i,altBoundary:!0}),o=t5(a,n.floating);return{data:{escapedOffsets:o,escaped:n5(o)}}}default:return{}}}}},FT=new Set(["left","top"]);async function DL(e,t){const{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=wa(n),s=Fc(n),l=Ni(n)==="y",c=FT.has(o)?-1:1,u=a&&l?-1:1,d=xa(t,e);let{mainAxis:f,crossAxis:h,alignmentAxis:v}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof v=="number"&&(h=s==="end"?v*-1:v),l?{x:h*u,y:f*c}:{x:f*c,y:h*u}}const kL=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:a,placement:o,middlewareData:s}=t,l=await DL(t,e);return o===((n=s.offset)==null?void 0:n.placement)&&(r=s.arrow)!=null&&r.alignmentOffset?{}:{x:i+l.x,y:a+l.y,data:{...l,placement:o}}}}},_L=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:a=!0,crossAxis:o=!1,limiter:s={fn:y=>{let{x:m,y:g}=y;return{x:m,y:g}}},...l}=xa(e,t),c={x:n,y:r},u=await id(t,l),d=Ni(wa(i)),f=jb(d);let h=c[f],v=c[d];if(a){const y=f==="y"?"top":"left",m=f==="y"?"bottom":"right",g=h+u[y],b=h-u[m];h=U2(g,h,b)}if(o){const y=d==="y"?"top":"left",m=d==="y"?"bottom":"right",g=v+u[y],b=v-u[m];v=U2(g,v,b)}const p=s.fn({...t,[f]:h,[d]:v});return{...p,data:{x:p.x-n,y:p.y-r,enabled:{[f]:a,[d]:o}}}}}},TL=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:i,rects:a,middlewareData:o}=t,{offset:s=0,mainAxis:l=!0,crossAxis:c=!0}=xa(e,t),u={x:n,y:r},d=Ni(i),f=jb(d);let h=u[f],v=u[d];const p=xa(s,t),y=typeof p=="number"?{mainAxis:p,crossAxis:0}:{mainAxis:0,crossAxis:0,...p};if(l){const b=f==="y"?"height":"width",x=a.reference[f]-a.floating[b]+y.mainAxis,D=a.reference[f]+a.reference[b]-y.mainAxis;hD&&(h=D)}if(c){var m,g;const b=f==="y"?"width":"height",x=FT.has(wa(i)),D=a.reference[d]-a.floating[b]+(x&&((m=o.offset)==null?void 0:m[d])||0)+(x?0:y.crossAxis),w=a.reference[d]+a.reference[b]+(x?0:((g=o.offset)==null?void 0:g[d])||0)-(x?y.crossAxis:0);vw&&(v=w)}return{[f]:h,[d]:v}}}},EL=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:i,rects:a,platform:o,elements:s}=t,{apply:l=()=>{},...c}=xa(e,t),u=await id(t,c),d=wa(i),f=Fc(i),h=Ni(i)==="y",{width:v,height:p}=a.floating;let y,m;d==="top"||d==="bottom"?(y=d,m=f===(await(o.isRTL==null?void 0:o.isRTL(s.floating))?"start":"end")?"left":"right"):(m=d,y=f==="end"?"top":"bottom");const g=p-u.top-u.bottom,b=v-u.left-u.right,x=To(p-u[y],g),D=To(v-u[m],b),w=!t.middlewareData.shift;let _=x,N=D;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(N=b),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(_=g),w&&!f){const B=yr(u.left,0),K=yr(u.right,0),A=yr(u.top,0),q=yr(u.bottom,0);h?N=v-2*(B!==0||K!==0?B+K:yr(u.left,u.right)):_=p-2*(A!==0||q!==0?A+q:yr(u.top,u.bottom))}await l({...t,availableWidth:N,availableHeight:_});const O=await o.getDimensions(s.floating);return v!==O.width||p!==O.height?{reset:{rects:!0}}:{}}}};function vp(){return typeof window<"u"}function Rc(e){return RT(e)?(e.nodeName||"").toLowerCase():"#document"}function Dr(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function $i(e){var t;return(t=(RT(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function RT(e){return vp()?e instanceof Node||e instanceof Dr(e).Node:!1}function di(e){return vp()?e instanceof Element||e instanceof Dr(e).Element:!1}function Li(e){return vp()?e instanceof HTMLElement||e instanceof Dr(e).HTMLElement:!1}function r5(e){return!vp()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Dr(e).ShadowRoot}const SL=new Set(["inline","contents"]);function Vd(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=hi(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!SL.has(i)}const CL=new Set(["table","td","th"]);function AL(e){return CL.has(Rc(e))}const UL=[":popover-open",":modal"];function yp(e){return UL.some(t=>{try{return e.matches(t)}catch{return!1}})}const FL=["transform","translate","scale","rotate","perspective"],RL=["transform","translate","scale","rotate","perspective","filter"],NL=["paint","layout","strict","content"];function Wb(e){const t=$b(),n=di(e)?hi(e):e;return FL.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||RL.some(r=>(n.willChange||"").includes(r))||NL.some(r=>(n.contain||"").includes(r))}function OL(e){let t=Eo(e);for(;Li(t)&&!cc(t);){if(Wb(t))return t;if(yp(t))return null;t=Eo(t)}return null}function $b(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const IL=new Set(["html","body","#document"]);function cc(e){return IL.has(Rc(e))}function hi(e){return Dr(e).getComputedStyle(e)}function bp(e){return di(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Eo(e){if(Rc(e)==="html")return e;const t=e.assignedSlot||e.parentNode||r5(e)&&e.host||$i(e);return r5(t)?t.host:t}function NT(e){const t=Eo(e);return cc(t)?e.ownerDocument?e.ownerDocument.body:e.body:Li(t)&&Vd(t)?t:NT(t)}function ad(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=NT(e),a=i===((r=e.ownerDocument)==null?void 0:r.body),o=Dr(i);if(a){const s=R2(o);return t.concat(o,o.visualViewport||[],Vd(i)?i:[],s&&n?ad(s):[])}return t.concat(i,ad(i,[],n))}function R2(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function OT(e){const t=hi(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=Li(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=m0(n)!==a||m0(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function qb(e){return di(e)?e:e.contextElement}function jl(e){const t=qb(e);if(!Li(t))return Bi(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:a}=OT(t);let o=(a?m0(n.width):n.width)/r,s=(a?m0(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}const PL=Bi(0);function IT(e){const t=Dr(e);return!$b()||!t.visualViewport?PL:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function BL(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Dr(e)?!1:t}function Cs(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),a=qb(e);let o=Bi(1);t&&(r?di(r)&&(o=jl(r)):o=jl(e));const s=BL(a,n,r)?IT(a):Bi(0);let l=(i.left+s.x)/o.x,c=(i.top+s.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(a){const f=Dr(a),h=r&&di(r)?Dr(r):r;let v=f,p=R2(v);for(;p&&r&&h!==v;){const y=jl(p),m=p.getBoundingClientRect(),g=hi(p),b=m.left+(p.clientLeft+parseFloat(g.paddingLeft))*y.x,x=m.top+(p.clientTop+parseFloat(g.paddingTop))*y.y;l*=y.x,c*=y.y,u*=y.x,d*=y.y,l+=b,c+=x,v=Dr(p),p=R2(v)}}return v0({width:u,height:d,x:l,y:c})}function Hb(e,t){const n=bp(e).scrollLeft;return t?t.left+n:Cs($i(e)).left+n}function PT(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),i=r.left+t.scrollLeft-(n?0:Hb(e,r)),a=r.top+t.scrollTop;return{x:i,y:a}}function ML(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const a=i==="fixed",o=$i(r),s=t?yp(t.floating):!1;if(r===o||s&&a)return n;let l={scrollLeft:0,scrollTop:0},c=Bi(1);const u=Bi(0),d=Li(r);if((d||!d&&!a)&&((Rc(r)!=="body"||Vd(o))&&(l=bp(r)),Li(r))){const h=Cs(r);c=jl(r),u.x=h.x+r.clientLeft,u.y=h.y+r.clientTop}const f=o&&!d&&!a?PT(o,l,!0):Bi(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+u.x+f.x,y:n.y*c.y-l.scrollTop*c.y+u.y+f.y}}function jL(e){return Array.from(e.getClientRects())}function LL(e){const t=$i(e),n=bp(e),r=e.ownerDocument.body,i=yr(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=yr(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let o=-n.scrollLeft+Hb(e);const s=-n.scrollTop;return hi(r).direction==="rtl"&&(o+=yr(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:o,y:s}}function zL(e,t){const n=Dr(e),r=$i(e),i=n.visualViewport;let a=r.clientWidth,o=r.clientHeight,s=0,l=0;if(i){a=i.width,o=i.height;const c=$b();(!c||c&&t==="fixed")&&(s=i.offsetLeft,l=i.offsetTop)}return{width:a,height:o,x:s,y:l}}const WL=new Set(["absolute","fixed"]);function $L(e,t){const n=Cs(e,!0,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=Li(e)?jl(e):Bi(1),o=e.clientWidth*a.x,s=e.clientHeight*a.y,l=i*a.x,c=r*a.y;return{width:o,height:s,x:l,y:c}}function i5(e,t,n){let r;if(t==="viewport")r=zL(e,n);else if(t==="document")r=LL($i(e));else if(di(t))r=$L(t,n);else{const i=IT(e);r={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return v0(r)}function BT(e,t){const n=Eo(e);return n===t||!di(n)||cc(n)?!1:hi(n).position==="fixed"||BT(n,t)}function qL(e,t){const n=t.get(e);if(n)return n;let r=ad(e,[],!1).filter(s=>di(s)&&Rc(s)!=="body"),i=null;const a=hi(e).position==="fixed";let o=a?Eo(e):e;for(;di(o)&&!cc(o);){const s=hi(o),l=Wb(o);!l&&s.position==="fixed"&&(i=null),(a?!l&&!i:!l&&s.position==="static"&&!!i&&WL.has(i.position)||Vd(o)&&!l&&BT(e,o))?r=r.filter(u=>u!==o):i=s,o=Eo(o)}return t.set(e,r),r}function HL(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=[...n==="clippingAncestors"?yp(t)?[]:qL(t,this._c):[].concat(n),r],s=o[0],l=o.reduce((c,u)=>{const d=i5(t,u,i);return c.top=yr(d.top,c.top),c.right=To(d.right,c.right),c.bottom=To(d.bottom,c.bottom),c.left=yr(d.left,c.left),c},i5(t,s,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function VL(e){const{width:t,height:n}=OT(e);return{width:t,height:n}}function GL(e,t,n){const r=Li(t),i=$i(t),a=n==="fixed",o=Cs(e,!0,a,t);let s={scrollLeft:0,scrollTop:0};const l=Bi(0);function c(){l.x=Hb(i)}if(r||!r&&!a)if((Rc(t)!=="body"||Vd(i))&&(s=bp(t)),r){const h=Cs(t,!0,a,t);l.x=h.x+t.clientLeft,l.y=h.y+t.clientTop}else i&&c();a&&!r&&i&&c();const u=i&&!r&&!a?PT(i,s):Bi(0),d=o.left+s.scrollLeft-l.x-u.x,f=o.top+s.scrollTop-l.y-u.y;return{x:d,y:f,width:o.width,height:o.height}}function xg(e){return hi(e).position==="static"}function a5(e,t){if(!Li(e)||hi(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return $i(e)===n&&(n=n.ownerDocument.body),n}function MT(e,t){const n=Dr(e);if(yp(e))return n;if(!Li(e)){let i=Eo(e);for(;i&&!cc(i);){if(di(i)&&!xg(i))return i;i=Eo(i)}return n}let r=a5(e,t);for(;r&&AL(r)&&xg(r);)r=a5(r,t);return r&&cc(r)&&xg(r)&&!Wb(r)?n:r||OL(e)||n}const XL=async function(e){const t=this.getOffsetParent||MT,n=this.getDimensions,r=await n(e.floating);return{reference:GL(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function KL(e){return hi(e).direction==="rtl"}const YL={convertOffsetParentRelativeRectToViewportRelativeRect:ML,getDocumentElement:$i,getClippingRect:HL,getOffsetParent:MT,getElementRects:XL,getClientRects:jL,getDimensions:VL,getScale:jl,isElement:di,isRTL:KL};function jT(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function JL(e,t){let n=null,r;const i=$i(e);function a(){var s;clearTimeout(r),(s=n)==null||s.disconnect(),n=null}function o(s,l){s===void 0&&(s=!1),l===void 0&&(l=1),a();const c=e.getBoundingClientRect(),{left:u,top:d,width:f,height:h}=c;if(s||t(),!f||!h)return;const v=Oh(d),p=Oh(i.clientWidth-(u+f)),y=Oh(i.clientHeight-(d+h)),m=Oh(u),b={rootMargin:-v+"px "+-p+"px "+-y+"px "+-m+"px",threshold:yr(0,To(1,l))||1};let x=!0;function D(w){const _=w[0].intersectionRatio;if(_!==l){if(!x)return o();_?o(!1,_):r=setTimeout(()=>{o(!1,1e-7)},1e3)}_===1&&!jT(c,e.getBoundingClientRect())&&o(),x=!1}try{n=new IntersectionObserver(D,{...b,root:i.ownerDocument})}catch{n=new IntersectionObserver(D,b)}n.observe(e)}return o(!0),a}function QL(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,c=qb(e),u=i||a?[...c?ad(c):[],...ad(t)]:[];u.forEach(m=>{i&&m.addEventListener("scroll",n,{passive:!0}),a&&m.addEventListener("resize",n)});const d=c&&s?JL(c,n):null;let f=-1,h=null;o&&(h=new ResizeObserver(m=>{let[g]=m;g&&g.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var b;(b=h)==null||b.observe(t)})),n()}),c&&!l&&h.observe(c),h.observe(t));let v,p=l?Cs(e):null;l&&y();function y(){const m=Cs(e);p&&!jT(p,m)&&n(),p=m,v=requestAnimationFrame(y)}return n(),()=>{var m;u.forEach(g=>{i&&g.removeEventListener("scroll",n),a&&g.removeEventListener("resize",n)}),d==null||d(),(m=h)==null||m.disconnect(),h=null,l&&cancelAnimationFrame(v)}}const ZL=kL,ez=_L,tz=xL,nz=EL,rz=wL,o5=bL,iz=TL,az=(e,t,n)=>{const r=new Map,i={platform:YL,...n},a={...i.platform,_c:r};return yL(e,t,{...i,platform:a})};var oz=typeof document<"u",sz=function(){},Rf=oz?R.useLayoutEffect:sz;function y0(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!y0(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){const a=i[r];if(!(a==="_owner"&&e.$$typeof)&&!y0(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function LT(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function s5(e,t){const n=LT(e);return Math.round(t*n)/n}function wg(e){const t=R.useRef(e);return Rf(()=>{t.current=e}),t}function lz(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:a,floating:o}={},transform:s=!0,whileElementsMounted:l,open:c}=e,[u,d]=R.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,h]=R.useState(r);y0(f,r)||h(r);const[v,p]=R.useState(null),[y,m]=R.useState(null),g=R.useCallback(P=>{P!==w.current&&(w.current=P,p(P))},[]),b=R.useCallback(P=>{P!==_.current&&(_.current=P,m(P))},[]),x=a||v,D=o||y,w=R.useRef(null),_=R.useRef(null),N=R.useRef(u),O=l!=null,B=wg(l),K=wg(i),A=wg(c),q=R.useCallback(()=>{if(!w.current||!_.current)return;const P={placement:t,strategy:n,middleware:f};K.current&&(P.platform=K.current),az(w.current,_.current,P).then(M=>{const F={...M,isPositioned:A.current!==!1};T.current&&!y0(N.current,F)&&(N.current=F,Ld.flushSync(()=>{d(F)}))})},[f,t,n,K,A]);Rf(()=>{c===!1&&N.current.isPositioned&&(N.current.isPositioned=!1,d(P=>({...P,isPositioned:!1})))},[c]);const T=R.useRef(!1);Rf(()=>(T.current=!0,()=>{T.current=!1}),[]),Rf(()=>{if(x&&(w.current=x),D&&(_.current=D),x&&D){if(B.current)return B.current(x,D,q);q()}},[x,D,q,B,O]);const X=R.useMemo(()=>({reference:w,floating:_,setReference:g,setFloating:b}),[g,b]),j=R.useMemo(()=>({reference:x,floating:D}),[x,D]),z=R.useMemo(()=>{const P={position:n,left:0,top:0};if(!j.floating)return P;const M=s5(j.floating,u.x),F=s5(j.floating,u.y);return s?{...P,transform:"translate("+M+"px, "+F+"px)",...LT(j.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:M,top:F}},[n,s,j.floating,u.x,u.y]);return R.useMemo(()=>({...u,update:q,refs:X,elements:j,floatingStyles:z}),[u,q,X,j,z])}const cz=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:i}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?o5({element:r.current,padding:i}).fn(n):{}:r?o5({element:r,padding:i}).fn(n):{}}}},uz=(e,t)=>({...ZL(e),options:[e,t]}),dz=(e,t)=>({...ez(e),options:[e,t]}),hz=(e,t)=>({...iz(e),options:[e,t]}),fz=(e,t)=>({...tz(e),options:[e,t]}),pz=(e,t)=>({...nz(e),options:[e,t]}),mz=(e,t)=>({...rz(e),options:[e,t]}),gz=(e,t)=>({...cz(e),options:[e,t]});var vz="Arrow",zT=R.forwardRef((e,t)=>{const{children:n,width:r=10,height:i=5,...a}=e;return E.jsx(mt.svg,{...a,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:E.jsx("polygon",{points:"0,0 30,0 15,10"})})});zT.displayName=vz;var yz=zT;function bz(e){const[t,n]=R.useState(void 0);return ba(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const a=i[0];let o,s;if("borderBoxSize"in a){const l=a.borderBoxSize,c=Array.isArray(l)?l[0]:l;o=c.inlineSize,s=c.blockSize}else o=e.offsetWidth,s=e.offsetHeight;n({width:o,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var Vb="Popper",[WT,xp]=Bo(Vb),[xz,$T]=WT(Vb),qT=e=>{const{__scopePopper:t,children:n}=e,[r,i]=R.useState(null);return E.jsx(xz,{scope:t,anchor:r,onAnchorChange:i,children:n})};qT.displayName=Vb;var HT="PopperAnchor",VT=R.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...i}=e,a=$T(HT,n),o=R.useRef(null),s=dn(t,o);return R.useEffect(()=>{a.onAnchorChange((r==null?void 0:r.current)||o.current)}),r?null:E.jsx(mt.div,{...i,ref:s})});VT.displayName=HT;var Gb="PopperContent",[wz,Dz]=WT(Gb),GT=R.forwardRef((e,t)=>{var fe,Se,Ae,Pe,Me,ae;const{__scopePopper:n,side:r="bottom",sideOffset:i=0,align:a="center",alignOffset:o=0,arrowPadding:s=0,avoidCollisions:l=!0,collisionBoundary:c=[],collisionPadding:u=0,sticky:d="partial",hideWhenDetached:f=!1,updatePositionStrategy:h="optimized",onPlaced:v,...p}=e,y=$T(Gb,n),[m,g]=R.useState(null),b=dn(t,de=>g(de)),[x,D]=R.useState(null),w=bz(x),_=(w==null?void 0:w.width)??0,N=(w==null?void 0:w.height)??0,O=r+(a!=="center"?"-"+a:""),B=typeof u=="number"?u:{top:0,right:0,bottom:0,left:0,...u},K=Array.isArray(c)?c:[c],A=K.length>0,q={padding:B,boundary:K.filter(_z),altBoundary:A},{refs:T,floatingStyles:X,placement:j,isPositioned:z,middlewareData:P}=lz({strategy:"fixed",placement:O,whileElementsMounted:(...de)=>QL(...de,{animationFrame:h==="always"}),elements:{reference:y.anchor},middleware:[uz({mainAxis:i+N,alignmentAxis:o}),l&&dz({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?hz():void 0,...q}),l&&fz({...q}),pz({...q,apply:({elements:de,rects:C,availableWidth:le,availableHeight:oe})=>{const{width:G,height:H}=C.reference,te=de.floating.style;te.setProperty("--radix-popper-available-width",`${le}px`),te.setProperty("--radix-popper-available-height",`${oe}px`),te.setProperty("--radix-popper-anchor-width",`${G}px`),te.setProperty("--radix-popper-anchor-height",`${H}px`)}}),x&&gz({element:x,padding:s}),Tz({arrowWidth:_,arrowHeight:N}),f&&mz({strategy:"referenceHidden",...q})]}),[M,F]=YT(j),$=ui(v);ba(()=>{z&&($==null||$())},[z,$]);const V=(fe=P.arrow)==null?void 0:fe.x,U=(Se=P.arrow)==null?void 0:Se.y,ne=((Ae=P.arrow)==null?void 0:Ae.centerOffset)!==0,[ce,me]=R.useState();return ba(()=>{m&&me(window.getComputedStyle(m).zIndex)},[m]),E.jsx("div",{ref:T.setFloating,"data-radix-popper-content-wrapper":"",style:{...X,transform:z?X.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ce,"--radix-popper-transform-origin":[(Pe=P.transformOrigin)==null?void 0:Pe.x,(Me=P.transformOrigin)==null?void 0:Me.y].join(" "),...((ae=P.hide)==null?void 0:ae.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:E.jsx(wz,{scope:n,placedSide:M,onArrowChange:D,arrowX:V,arrowY:U,shouldHideArrow:ne,children:E.jsx(mt.div,{"data-side":M,"data-align":F,...p,ref:b,style:{...p.style,animation:z?void 0:"none"}})})})});GT.displayName=Gb;var XT="PopperArrow",kz={top:"bottom",right:"left",bottom:"top",left:"right"},KT=R.forwardRef(function(t,n){const{__scopePopper:r,...i}=t,a=Dz(XT,r),o=kz[a.placedSide];return E.jsx("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0},children:E.jsx(yz,{...i,ref:n,style:{...i.style,display:"block"}})})});KT.displayName=XT;function _z(e){return e!==null}var Tz=e=>({name:"transformOrigin",options:e,fn(t){var y,m,g;const{placement:n,rects:r,middlewareData:i}=t,o=((y=i.arrow)==null?void 0:y.centerOffset)!==0,s=o?0:e.arrowWidth,l=o?0:e.arrowHeight,[c,u]=YT(n),d={start:"0%",center:"50%",end:"100%"}[u],f=(((m=i.arrow)==null?void 0:m.x)??0)+s/2,h=(((g=i.arrow)==null?void 0:g.y)??0)+l/2;let v="",p="";return c==="bottom"?(v=o?d:`${f}px`,p=`${-l}px`):c==="top"?(v=o?d:`${f}px`,p=`${r.floating.height+l}px`):c==="right"?(v=`${-l}px`,p=o?d:`${h}px`):c==="left"&&(v=`${r.floating.width+l}px`,p=o?d:`${h}px`),{data:{x:v,y:p}}}});function YT(e){const[t,n="center"]=e.split("-");return[t,n]}var Ez=qT,Xb=VT,JT=GT,QT=KT,[wp,ece]=Bo("Tooltip",[xp]),Kb=xp(),ZT="TooltipProvider",Sz=700,l5="tooltip.open",[Cz,eE]=wp(ZT),tE=e=>{const{__scopeTooltip:t,delayDuration:n=Sz,skipDelayDuration:r=300,disableHoverableContent:i=!1,children:a}=e,o=R.useRef(!0),s=R.useRef(!1),l=R.useRef(0);return R.useEffect(()=>{const c=l.current;return()=>window.clearTimeout(c)},[]),E.jsx(Cz,{scope:t,isOpenDelayedRef:o,delayDuration:n,onOpen:R.useCallback(()=>{window.clearTimeout(l.current),o.current=!1},[]),onClose:R.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>o.current=!0,r)},[r]),isPointerInTransitRef:s,onPointerInTransitChange:R.useCallback(c=>{s.current=c},[]),disableHoverableContent:i,children:a})};tE.displayName=ZT;var nE="Tooltip",[tce,Dp]=wp(nE),N2="TooltipTrigger",Az=R.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=Dp(N2,n),a=eE(N2,n),o=Kb(n),s=R.useRef(null),l=dn(t,s,i.onTriggerChange),c=R.useRef(!1),u=R.useRef(!1),d=R.useCallback(()=>c.current=!1,[]);return R.useEffect(()=>()=>document.removeEventListener("pointerup",d),[d]),E.jsx(Xb,{asChild:!0,...o,children:E.jsx(mt.button,{"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute,...r,ref:l,onPointerMove:Je(e.onPointerMove,f=>{f.pointerType!=="touch"&&!u.current&&!a.isPointerInTransitRef.current&&(i.onTriggerEnter(),u.current=!0)}),onPointerLeave:Je(e.onPointerLeave,()=>{i.onTriggerLeave(),u.current=!1}),onPointerDown:Je(e.onPointerDown,()=>{i.open&&i.onClose(),c.current=!0,document.addEventListener("pointerup",d,{once:!0})}),onFocus:Je(e.onFocus,()=>{c.current||i.onOpen()}),onBlur:Je(e.onBlur,i.onClose),onClick:Je(e.onClick,i.onClose)})})});Az.displayName=N2;var Uz="TooltipPortal",[nce,Fz]=wp(Uz,{forceMount:void 0}),uc="TooltipContent",rE=R.forwardRef((e,t)=>{const n=Fz(uc,e.__scopeTooltip),{forceMount:r=n.forceMount,side:i="top",...a}=e,o=Dp(uc,e.__scopeTooltip);return E.jsx(Ea,{present:r||o.open,children:o.disableHoverableContent?E.jsx(iE,{side:i,...a,ref:t}):E.jsx(Rz,{side:i,...a,ref:t})})}),Rz=R.forwardRef((e,t)=>{const n=Dp(uc,e.__scopeTooltip),r=eE(uc,e.__scopeTooltip),i=R.useRef(null),a=dn(t,i),[o,s]=R.useState(null),{trigger:l,onClose:c}=n,u=i.current,{onPointerInTransitChange:d}=r,f=R.useCallback(()=>{s(null),d(!1)},[d]),h=R.useCallback((v,p)=>{const y=v.currentTarget,m={x:v.clientX,y:v.clientY},g=Bz(m,y.getBoundingClientRect()),b=Mz(m,g),x=jz(p.getBoundingClientRect()),D=zz([...b,...x]);s(D),d(!0)},[d]);return R.useEffect(()=>()=>f(),[f]),R.useEffect(()=>{if(l&&u){const v=y=>h(y,u),p=y=>h(y,l);return l.addEventListener("pointerleave",v),u.addEventListener("pointerleave",p),()=>{l.removeEventListener("pointerleave",v),u.removeEventListener("pointerleave",p)}}},[l,u,h,f]),R.useEffect(()=>{if(o){const v=p=>{const y=p.target,m={x:p.clientX,y:p.clientY},g=(l==null?void 0:l.contains(y))||(u==null?void 0:u.contains(y)),b=!Lz(m,o);g?f():b&&(f(),c())};return document.addEventListener("pointermove",v),()=>document.removeEventListener("pointermove",v)}},[l,u,o,c,f]),E.jsx(iE,{...e,ref:a})}),[Nz,Oz]=wp(nE,{isInside:!1}),Iz=wM("TooltipContent"),iE=R.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":i,onEscapeKeyDown:a,onPointerDownOutside:o,...s}=e,l=Dp(uc,n),c=Kb(n),{onClose:u}=l;return R.useEffect(()=>(document.addEventListener(l5,u),()=>document.removeEventListener(l5,u)),[u]),R.useEffect(()=>{if(l.trigger){const d=f=>{const h=f.target;h!=null&&h.contains(l.trigger)&&u()};return window.addEventListener("scroll",d,{capture:!0}),()=>window.removeEventListener("scroll",d,{capture:!0})}},[l.trigger,u]),E.jsx(zd,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:o,onFocusOutside:d=>d.preventDefault(),onDismiss:u,children:E.jsxs(JT,{"data-state":l.stateAttribute,...c,...s,ref:t,style:{...s.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[E.jsx(Iz,{children:r}),E.jsx(Nz,{scope:n,isInside:!0,children:E.jsx(qM,{id:l.contentId,role:"tooltip",children:i||r})})]})})});rE.displayName=uc;var aE="TooltipArrow",Pz=R.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=Kb(n);return Oz(aE,n).isInside?null:E.jsx(QT,{...i,...r,ref:t})});Pz.displayName=aE;function Bz(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),a=Math.abs(t.left-e.x);switch(Math.min(n,r,i,a)){case a:return"left";case i:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function Mz(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function jz(e){const{top:t,right:n,bottom:r,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:r},{x:i,y:r}]}function Lz(e,t){const{x:n,y:r}=e;let i=!1;for(let a=0,o=t.length-1;ar!=f>r&&n<(d-c)*(r-u)/(f-u)+c&&(i=!i)}return i}function zz(e){const t=e.slice();return t.sort((n,r)=>n.xr.x?1:n.yr.y?1:0),Wz(t)}function Wz(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r=2;){const a=t[t.length-1],o=t[t.length-2];if((a.x-o.x)*(i.y-o.y)>=(a.y-o.y)*(i.x-o.x))t.pop();else break}t.push(i)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const i=e[r];for(;n.length>=2;){const a=n[n.length-1],o=n[n.length-2];if((a.x-o.x)*(i.y-o.y)>=(a.y-o.y)*(i.x-o.x))n.pop();else break}n.push(i)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var $z=tE,oE=rE;const qz=$z,Hz=R.forwardRef(({className:e,sideOffset:t=4,...n},r)=>E.jsx(oE,{ref:r,sideOffset:t,className:ot("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));Hz.displayName=oE.displayName;var Fi=function(){return Fi=Object.assign||function(t){for(var n,r=1,i=arguments.length;re?(...t)=>e(...t):(...t)=>fetch(...t);class Yb extends Error{constructor(t,n="FunctionsError",r){super(t),this.name=n,this.context=r}toJSON(){return{name:this.name,message:this.message,context:this.context}}}class Xz extends Yb{constructor(t){super("Failed to send a request to the Edge Function","FunctionsFetchError",t)}}class c5 extends Yb{constructor(t){super("Relay Error invoking the Edge Function","FunctionsRelayError",t)}}class u5 extends Yb{constructor(t){super("Edge Function returned a non-2xx status code","FunctionsHttpError",t)}}var O2;(function(e){e.Any="any",e.ApNortheast1="ap-northeast-1",e.ApNortheast2="ap-northeast-2",e.ApSouth1="ap-south-1",e.ApSoutheast1="ap-southeast-1",e.ApSoutheast2="ap-southeast-2",e.CaCentral1="ca-central-1",e.EuCentral1="eu-central-1",e.EuWest1="eu-west-1",e.EuWest2="eu-west-2",e.EuWest3="eu-west-3",e.SaEast1="sa-east-1",e.UsEast1="us-east-1",e.UsWest1="us-west-1",e.UsWest2="us-west-2"})(O2||(O2={}));class Kz{constructor(t,{headers:n={},customFetch:r,region:i=O2.Any}={}){this.url=t,this.headers=n,this.region=i,this.fetch=Gz(r)}setAuth(t){this.headers.Authorization=`Bearer ${t}`}invoke(t){return Mo(this,arguments,void 0,function*(n,r={}){var i;let a,o;try{const{headers:s,method:l,body:c,signal:u,timeout:d}=r;let f={},{region:h}=r;h||(h=this.region);const v=new URL(`${this.url}/${n}`);h&&h!=="any"&&(f["x-region"]=h,v.searchParams.set("forceFunctionRegion",h));let p;c&&(s&&!Object.prototype.hasOwnProperty.call(s,"Content-Type")||!s)?typeof Blob<"u"&&c instanceof Blob||c instanceof ArrayBuffer?(f["Content-Type"]="application/octet-stream",p=c):typeof c=="string"?(f["Content-Type"]="text/plain",p=c):typeof FormData<"u"&&c instanceof FormData?p=c:(f["Content-Type"]="application/json",p=JSON.stringify(c)):c&&typeof c!="string"&&!(typeof Blob<"u"&&c instanceof Blob)&&!(c instanceof ArrayBuffer)&&!(typeof FormData<"u"&&c instanceof FormData)?p=JSON.stringify(c):p=c;let y=u;d&&(o=new AbortController,a=setTimeout(()=>o.abort(),d),u?(y=o.signal,u.addEventListener("abort",()=>o.abort())):y=o.signal);const m=yield this.fetch(v.toString(),{method:l||"POST",headers:Object.assign(Object.assign(Object.assign({},f),this.headers),s),body:p,signal:y}).catch(D=>{throw new Xz(D)}),g=m.headers.get("x-relay-error");if(g&&g==="true")throw new c5(m);if(!m.ok)throw new u5(m);let b=((i=m.headers.get("Content-Type"))!==null&&i!==void 0?i:"text/plain").split(";")[0].trim(),x;return b==="application/json"?x=yield m.json():b==="application/octet-stream"||b==="application/pdf"?x=yield m.blob():b==="text/event-stream"?x=m:b==="multipart/form-data"?x=yield m.formData():x=yield m.text(),{data:x,error:null,response:m}}catch(s){return{data:null,error:s,response:s instanceof u5||s instanceof c5?s.context:void 0}}finally{a&&clearTimeout(a)}})}}const sE=3,d5=e=>Math.min(1e3*2**e,3e4),Yz=[520,503],lE=["GET","HEAD","OPTIONS"];var Jz=class extends Error{constructor(e){super(e.message),this.name="PostgrestError",this.details=e.details,this.hint=e.hint,this.code=e.code}toJSON(){return{name:this.name,message:this.message,details:this.details,hint:this.hint,code:this.code}}};function h5(e,t){return new Promise(n=>{if(t!=null&&t.aborted){n();return}const r=setTimeout(()=>{t==null||t.removeEventListener("abort",i),n()},e);function i(){clearTimeout(r),n()}t==null||t.addEventListener("abort",i)})}function Qz(e,t,n,r){return!(!r||n>=sE||!lE.includes(e)||!Yz.includes(t))}var Zz=class{constructor(e){var t,n,r,i,a;this.shouldThrowOnError=!1,this.retryEnabled=!0,this.method=e.method,this.url=e.url,this.headers=new Headers(e.headers),this.schema=e.schema,this.body=e.body,this.shouldThrowOnError=(t=e.shouldThrowOnError)!==null&&t!==void 0?t:!1,this.signal=e.signal,this.isMaybeSingle=(n=e.isMaybeSingle)!==null&&n!==void 0?n:!1,this.shouldStripNulls=(r=e.shouldStripNulls)!==null&&r!==void 0?r:!1,this.urlLengthLimit=(i=e.urlLengthLimit)!==null&&i!==void 0?i:8e3,this.retryEnabled=(a=e.retry)!==null&&a!==void 0?a:!0,e.fetch?this.fetch=e.fetch:this.fetch=fetch}throwOnError(){return this.shouldThrowOnError=!0,this}stripNulls(){if(this.headers.get("Accept")==="text/csv")throw new Error("stripNulls() cannot be used with csv()");return this.shouldStripNulls=!0,this}setHeader(e,t){return this.headers=new Headers(this.headers),this.headers.set(e,t),this}retry(e){return this.retryEnabled=e,this}then(e,t){var n=this;if(this.schema===void 0||(["GET","HEAD"].includes(this.method)?this.headers.set("Accept-Profile",this.schema):this.headers.set("Content-Profile",this.schema)),this.method!=="GET"&&this.method!=="HEAD"&&this.headers.set("Content-Type","application/json"),this.shouldStripNulls){const o=this.headers.get("Accept");o==="application/vnd.pgrst.object+json"?this.headers.set("Accept","application/vnd.pgrst.object+json;nulls=stripped"):(!o||o==="application/json")&&this.headers.set("Accept","application/vnd.pgrst.array+json;nulls=stripped")}const r=this.fetch;let a=(async()=>{let o=0;for(;;){const c=new Headers(n.headers);o>0&&c.set("X-Retry-Count",String(o));let u;try{u=await r(n.url.toString(),{method:n.method,headers:c,body:JSON.stringify(n.body,(d,f)=>typeof f=="bigint"?f.toString():f),signal:n.signal})}catch(d){if((d==null?void 0:d.name)==="AbortError"||(d==null?void 0:d.code)==="ABORT_ERR"||!lE.includes(n.method))throw d;if(n.retryEnabled&&o{var s;let l="",c="",u="";const d=o==null?void 0:o.cause;if(d){var f,h,v,p;const g=(f=d==null?void 0:d.message)!==null&&f!==void 0?f:"",b=(h=d==null?void 0:d.code)!==null&&h!==void 0?h:"";l=`${(v=o==null?void 0:o.name)!==null&&v!==void 0?v:"FetchError"}: ${o==null?void 0:o.message}`,l+=` + +Caused by: ${(p=d==null?void 0:d.name)!==null&&p!==void 0?p:"Error"}: ${g}`,b&&(l+=` (${b})`),d!=null&&d.stack&&(l+=` +${d.stack}`)}else{var y;l=(y=o==null?void 0:o.stack)!==null&&y!==void 0?y:""}const m=this.url.toString().length;return(o==null?void 0:o.name)==="AbortError"||(o==null?void 0:o.code)==="ABORT_ERR"?(u="",c="Request was aborted (timeout or manual cancellation)",m>this.urlLengthLimit&&(c+=`. Note: Your request URL is ${m} characters, which may exceed server limits. If selecting many fields, consider using views. If filtering with large arrays (e.g., .in('id', [many IDs])), consider using an RPC function to pass values server-side.`)):((d==null?void 0:d.name)==="HeadersOverflowError"||(d==null?void 0:d.code)==="UND_ERR_HEADERS_OVERFLOW")&&(u="",c="HTTP headers exceeded server limits (typically 16KB)",m>this.urlLengthLimit&&(c+=`. Your request URL is ${m} characters. If selecting many fields, consider using views. If filtering with large arrays (e.g., .in('id', [200+ IDs])), consider using an RPC function instead.`)),{success:!1,error:{message:`${(s=o==null?void 0:o.name)!==null&&s!==void 0?s:"FetchError"}: ${o==null?void 0:o.message}`,details:l,hint:c,code:u},data:null,count:null,status:0,statusText:""}})),a.then(e,t)}async processResponse(e){var t=this;let n=null,r=null,i=null,a=e.status,o=e.statusText;if(e.ok){var s,l;if(t.method!=="HEAD"){var c;const f=await e.text();f===""||(t.headers.get("Accept")==="text/csv"||t.headers.get("Accept")&&(!((c=t.headers.get("Accept"))===null||c===void 0)&&c.includes("application/vnd.pgrst.plan+text"))?r=f:r=JSON.parse(f))}const u=(s=t.headers.get("Prefer"))===null||s===void 0?void 0:s.match(/count=(exact|planned|estimated)/),d=(l=e.headers.get("content-range"))===null||l===void 0?void 0:l.split("/");u&&d&&d.length>1&&(i=parseInt(d[1])),t.isMaybeSingle&&Array.isArray(r)&&(r.length>1?(n={code:"PGRST116",details:`Results contain ${r.length} rows, application/vnd.pgrst.object+json requires 1 row`,hint:null,message:"JSON object requested, multiple (or no) rows returned"},r=null,i=null,a=406,o="Not Acceptable"):r.length===1?r=r[0]:r=null)}else{const u=await e.text();try{n=JSON.parse(u),Array.isArray(n)&&e.status===404&&(r=[],n=null,a=200,o="OK")}catch{e.status===404&&u===""?(a=204,o="No Content"):n={message:u}}if(n&&t.shouldThrowOnError)throw new Jz(n)}return{success:n===null,error:n,data:r,count:i,status:a,statusText:o}}returns(){return this}overrideTypes(){return this}},eW=class extends Zz{select(e){let t=!1;const n=(e??"*").split("").map(r=>/\s/.test(r)&&!t?"":(r==='"'&&(t=!t),r)).join("");return this.url.searchParams.set("select",n),this.headers.append("Prefer","return=representation"),this}order(e,{ascending:t=!0,nullsFirst:n,foreignTable:r,referencedTable:i=r}={}){const a=i?`${i}.order`:"order",o=this.url.searchParams.get(a);return this.url.searchParams.set(a,`${o?`${o},`:""}${e}.${t?"asc":"desc"}${n===void 0?"":n?".nullsfirst":".nullslast"}`),this}limit(e,{foreignTable:t,referencedTable:n=t}={}){const r=typeof n>"u"?"limit":`${n}.limit`;return this.url.searchParams.set(r,`${e}`),this}range(e,t,{foreignTable:n,referencedTable:r=n}={}){const i=typeof r>"u"?"offset":`${r}.offset`,a=typeof r>"u"?"limit":`${r}.limit`;return this.url.searchParams.set(i,`${e}`),this.url.searchParams.set(a,`${t-e+1}`),this}abortSignal(e){return this.signal=e,this}single(){return this.headers.set("Accept","application/vnd.pgrst.object+json"),this}maybeSingle(){return this.isMaybeSingle=!0,this}csv(){return this.headers.set("Accept","text/csv"),this}geojson(){return this.headers.set("Accept","application/geo+json"),this}explain({analyze:e=!1,verbose:t=!1,settings:n=!1,buffers:r=!1,wal:i=!1,format:a="text"}={}){var o;const s=[e?"analyze":null,t?"verbose":null,n?"settings":null,r?"buffers":null,i?"wal":null].filter(Boolean).join("|"),l=(o=this.headers.get("Accept"))!==null&&o!==void 0?o:"application/json";return this.headers.set("Accept",`application/vnd.pgrst.plan+${a}; for="${l}"; options=${s};`),a==="json"?this:this}rollback(){return this.headers.append("Prefer","tx=rollback"),this}returns(){return this}maxAffected(e){return this.headers.append("Prefer","handling=strict"),this.headers.append("Prefer",`max-affected=${e}`),this}};const f5=new RegExp("[,()]");var hl=class extends eW{eq(e,t){return this.url.searchParams.append(e,`eq.${t}`),this}neq(e,t){return this.url.searchParams.append(e,`neq.${t}`),this}gt(e,t){return this.url.searchParams.append(e,`gt.${t}`),this}gte(e,t){return this.url.searchParams.append(e,`gte.${t}`),this}lt(e,t){return this.url.searchParams.append(e,`lt.${t}`),this}lte(e,t){return this.url.searchParams.append(e,`lte.${t}`),this}like(e,t){return this.url.searchParams.append(e,`like.${t}`),this}likeAllOf(e,t){return this.url.searchParams.append(e,`like(all).{${t.join(",")}}`),this}likeAnyOf(e,t){return this.url.searchParams.append(e,`like(any).{${t.join(",")}}`),this}ilike(e,t){return this.url.searchParams.append(e,`ilike.${t}`),this}ilikeAllOf(e,t){return this.url.searchParams.append(e,`ilike(all).{${t.join(",")}}`),this}ilikeAnyOf(e,t){return this.url.searchParams.append(e,`ilike(any).{${t.join(",")}}`),this}regexMatch(e,t){return this.url.searchParams.append(e,`match.${t}`),this}regexIMatch(e,t){return this.url.searchParams.append(e,`imatch.${t}`),this}is(e,t){return this.url.searchParams.append(e,`is.${t}`),this}isDistinct(e,t){return this.url.searchParams.append(e,`isdistinct.${t}`),this}in(e,t){const n=Array.from(new Set(t)).map(r=>typeof r=="string"&&f5.test(r)?`"${r}"`:`${r}`).join(",");return this.url.searchParams.append(e,`in.(${n})`),this}notIn(e,t){const n=Array.from(new Set(t)).map(r=>typeof r=="string"&&f5.test(r)?`"${r}"`:`${r}`).join(",");return this.url.searchParams.append(e,`not.in.(${n})`),this}contains(e,t){return typeof t=="string"?this.url.searchParams.append(e,`cs.${t}`):Array.isArray(t)?this.url.searchParams.append(e,`cs.{${t.join(",")}}`):this.url.searchParams.append(e,`cs.${JSON.stringify(t)}`),this}containedBy(e,t){return typeof t=="string"?this.url.searchParams.append(e,`cd.${t}`):Array.isArray(t)?this.url.searchParams.append(e,`cd.{${t.join(",")}}`):this.url.searchParams.append(e,`cd.${JSON.stringify(t)}`),this}rangeGt(e,t){return this.url.searchParams.append(e,`sr.${t}`),this}rangeGte(e,t){return this.url.searchParams.append(e,`nxl.${t}`),this}rangeLt(e,t){return this.url.searchParams.append(e,`sl.${t}`),this}rangeLte(e,t){return this.url.searchParams.append(e,`nxr.${t}`),this}rangeAdjacent(e,t){return this.url.searchParams.append(e,`adj.${t}`),this}overlaps(e,t){return typeof t=="string"?this.url.searchParams.append(e,`ov.${t}`):this.url.searchParams.append(e,`ov.{${t.join(",")}}`),this}textSearch(e,t,{config:n,type:r}={}){let i="";r==="plain"?i="pl":r==="phrase"?i="ph":r==="websearch"&&(i="w");const a=n===void 0?"":`(${n})`;return this.url.searchParams.append(e,`${i}fts${a}.${t}`),this}match(e){return Object.entries(e).filter(([t,n])=>n!==void 0).forEach(([t,n])=>{this.url.searchParams.append(t,`eq.${n}`)}),this}not(e,t,n){return this.url.searchParams.append(e,`not.${t}.${n}`),this}or(e,{foreignTable:t,referencedTable:n=t}={}){const r=n?`${n}.or`:"or";return this.url.searchParams.append(r,`(${e})`),this}filter(e,t,n){return this.url.searchParams.append(e,`${t}.${n}`),this}},tW=class{constructor(e,{headers:t={},schema:n,fetch:r,urlLengthLimit:i=8e3,retry:a}){this.url=e,this.headers=new Headers(t),this.schema=n,this.fetch=r,this.urlLengthLimit=i,this.retry=a}cloneRequestState(){return{url:new URL(this.url.toString()),headers:new Headers(this.headers)}}select(e,t){const{head:n=!1,count:r}=t??{},i=n?"HEAD":"GET";let a=!1;const o=(e??"*").split("").map(c=>/\s/.test(c)&&!a?"":(c==='"'&&(a=!a),c)).join(""),{url:s,headers:l}=this.cloneRequestState();return s.searchParams.set("select",o),r&&l.append("Prefer",`count=${r}`),new hl({method:i,url:s,headers:l,schema:this.schema,fetch:this.fetch,urlLengthLimit:this.urlLengthLimit,retry:this.retry})}insert(e,{count:t,defaultToNull:n=!0}={}){var r;const i="POST",{url:a,headers:o}=this.cloneRequestState();if(t&&o.append("Prefer",`count=${t}`),n||o.append("Prefer","missing=default"),Array.isArray(e)){const s=e.reduce((l,c)=>l.concat(Object.keys(c)),[]);if(s.length>0){const l=[...new Set(s)].map(c=>`"${c}"`);a.searchParams.set("columns",l.join(","))}}return new hl({method:i,url:a,headers:o,schema:this.schema,body:e,fetch:(r=this.fetch)!==null&&r!==void 0?r:fetch,urlLengthLimit:this.urlLengthLimit,retry:this.retry})}upsert(e,{onConflict:t,ignoreDuplicates:n=!1,count:r,defaultToNull:i=!0}={}){var a;const o="POST",{url:s,headers:l}=this.cloneRequestState();if(l.append("Prefer",`resolution=${n?"ignore":"merge"}-duplicates`),t!==void 0&&s.searchParams.set("on_conflict",t),r&&l.append("Prefer",`count=${r}`),i||l.append("Prefer","missing=default"),Array.isArray(e)){const c=e.reduce((u,d)=>u.concat(Object.keys(d)),[]);if(c.length>0){const u=[...new Set(c)].map(d=>`"${d}"`);s.searchParams.set("columns",u.join(","))}}return new hl({method:o,url:s,headers:l,schema:this.schema,body:e,fetch:(a=this.fetch)!==null&&a!==void 0?a:fetch,urlLengthLimit:this.urlLengthLimit,retry:this.retry})}update(e,{count:t}={}){var n;const r="PATCH",{url:i,headers:a}=this.cloneRequestState();return t&&a.append("Prefer",`count=${t}`),new hl({method:r,url:i,headers:a,schema:this.schema,body:e,fetch:(n=this.fetch)!==null&&n!==void 0?n:fetch,urlLengthLimit:this.urlLengthLimit,retry:this.retry})}delete({count:e}={}){var t;const n="DELETE",{url:r,headers:i}=this.cloneRequestState();return e&&i.append("Prefer",`count=${e}`),new hl({method:n,url:r,headers:i,schema:this.schema,fetch:(t=this.fetch)!==null&&t!==void 0?t:fetch,urlLengthLimit:this.urlLengthLimit,retry:this.retry})}};function od(e){"@babel/helpers - typeof";return od=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},od(e)}function nW(e,t){if(od(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(od(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function rW(e){var t=nW(e,"string");return od(t)=="symbol"?t:t+""}function iW(e,t,n){return(t=rW(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p5(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Ih(e){for(var t=1;t0?this.fetch=(c,u)=>{const d=new AbortController,f=setTimeout(()=>d.abort(),a),h=u==null?void 0:u.signal;if(h){if(h.aborted)return clearTimeout(f),l(c,u);const v=()=>{clearTimeout(f),d.abort()};return h.addEventListener("abort",v,{once:!0}),l(c,Ih(Ih({},u),{},{signal:d.signal})).finally(()=>{clearTimeout(f),h.removeEventListener("abort",v)})}return l(c,Ih(Ih({},u),{},{signal:d.signal})).finally(()=>clearTimeout(f))}:this.fetch=l,this.retry=s}from(t){if(!t||typeof t!="string"||t.trim()==="")throw new Error("Invalid relation name: relation must be a non-empty string.");return new tW(new URL(`${this.url}/${t}`),{headers:new Headers(this.headers),schema:this.schemaName,fetch:this.fetch,urlLengthLimit:this.urlLengthLimit,retry:this.retry})}schema(t){return new cE(this.url,{headers:this.headers,schema:t,fetch:this.fetch,urlLengthLimit:this.urlLengthLimit,retry:this.retry})}rpc(t,n={},{head:r=!1,get:i=!1,count:a}={}){var o;let s;const l=new URL(`${this.url}/rpc/${t}`);let c;const u=h=>h!==null&&typeof h=="object"&&(!Array.isArray(h)||h.some(u)),d=r&&Object.values(n).some(u);d?(s="POST",c=n):r||i?(s=r?"HEAD":"GET",Object.entries(n).filter(([h,v])=>v!==void 0).map(([h,v])=>[h,Array.isArray(v)?`{${v.join(",")}}`:`${v}`]).forEach(([h,v])=>{l.searchParams.append(h,v)})):(s="POST",c=n);const f=new Headers(this.headers);return d?f.set("Prefer",a?`count=${a},return=minimal`:"return=minimal"):a&&f.set("Prefer",`count=${a}`),new hl({method:s,url:l,headers:f,schema:this.schemaName,body:c,fetch:(o=this.fetch)!==null&&o!==void 0?o:fetch,urlLengthLimit:this.urlLengthLimit,retry:this.retry})}};class oW{constructor(){}static detectEnvironment(){var t;if(typeof WebSocket<"u")return{type:"native",constructor:WebSocket};if(typeof globalThis<"u"&&typeof globalThis.WebSocket<"u")return{type:"native",constructor:globalThis.WebSocket};if(typeof global<"u"&&typeof global.WebSocket<"u")return{type:"native",constructor:global.WebSocket};if(typeof globalThis<"u"&&typeof globalThis.WebSocketPair<"u"&&typeof globalThis.WebSocket>"u")return{type:"cloudflare",error:"Cloudflare Workers detected. WebSocket clients are not supported in Cloudflare Workers.",workaround:"Use Cloudflare Workers WebSocket API for server-side WebSocket handling, or deploy to a different runtime."};if(typeof globalThis<"u"&&globalThis.EdgeRuntime||typeof navigator<"u"&&(!((t=navigator.userAgent)===null||t===void 0)&&t.includes("Vercel-Edge")))return{type:"unsupported",error:"Edge runtime detected (Vercel Edge/Netlify Edge). WebSockets are not supported in edge functions.",workaround:"Use serverless functions or a different deployment target for WebSocket functionality."};const n=globalThis.process;if(n){const r=n.versions;if(r&&r.node){const i=r.node,a=parseInt(i.replace(/^v/,"").split(".")[0]);return a>=22?typeof globalThis.WebSocket<"u"?{type:"native",constructor:globalThis.WebSocket}:{type:"unsupported",error:`Node.js ${a} detected but native WebSocket not found.`,workaround:"Provide a WebSocket implementation via the transport option."}:{type:"unsupported",error:`Node.js ${a} detected without native WebSocket support.`,workaround:`For Node.js < 22, install "ws" package and provide it via the transport option: +import ws from "ws" +new RealtimeClient(url, { transport: ws })`}}}return{type:"unsupported",error:"Unknown JavaScript runtime without WebSocket support.",workaround:"Ensure you're running in a supported environment (browser, Node.js, Deno) or provide a custom WebSocket implementation."}}static getWebSocketConstructor(){const t=this.detectEnvironment();if(t.constructor)return t.constructor;let n=t.error||"WebSocket not supported in this environment.";throw t.workaround&&(n+=` + +Suggested solution: ${t.workaround}`),new Error(n)}static isWebSocketSupported(){try{const t=this.detectEnvironment();return t.type==="native"||t.type==="ws"}catch{return!1}}}const sW="2.104.1",lW=`realtime-js/${sW}`,cW="1.0.0",uE="2.0.0",uW=uE,dW=1e4,hW=100,Qa={closed:"closed",errored:"errored",joined:"joined",joining:"joining",leaving:"leaving"},dE={close:"phx_close",error:"phx_error",join:"phx_join",reply:"phx_reply",leave:"phx_leave",access_token:"access_token"},I2={connecting:"connecting",open:"open",closing:"closing",closed:"closed"};class fW{constructor(t){this.HEADER_LENGTH=1,this.USER_BROADCAST_PUSH_META_LENGTH=6,this.KINDS={userBroadcastPush:3,userBroadcast:4},this.BINARY_ENCODING=0,this.JSON_ENCODING=1,this.BROADCAST_EVENT="broadcast",this.allowedMetadataKeys=[],this.allowedMetadataKeys=t??[]}encode(t,n){if(t.event===this.BROADCAST_EVENT&&!(t.payload instanceof ArrayBuffer)&&typeof t.payload.event=="string")return n(this._binaryEncodeUserBroadcastPush(t));let r=[t.join_ref,t.ref,t.topic,t.event,t.payload];return n(JSON.stringify(r))}_binaryEncodeUserBroadcastPush(t){var n;return this._isArrayBuffer((n=t.payload)===null||n===void 0?void 0:n.payload)?this._encodeBinaryUserBroadcastPush(t):this._encodeJsonUserBroadcastPush(t)}_encodeBinaryUserBroadcastPush(t){var n,r;const i=(r=(n=t.payload)===null||n===void 0?void 0:n.payload)!==null&&r!==void 0?r:new ArrayBuffer(0);return this._encodeUserBroadcastPush(t,this.BINARY_ENCODING,i)}_encodeJsonUserBroadcastPush(t){var n,r;const i=(r=(n=t.payload)===null||n===void 0?void 0:n.payload)!==null&&r!==void 0?r:{},o=new TextEncoder().encode(JSON.stringify(i)).buffer;return this._encodeUserBroadcastPush(t,this.JSON_ENCODING,o)}_encodeUserBroadcastPush(t,n,r){var i,a;const o=t.topic,s=(i=t.ref)!==null&&i!==void 0?i:"",l=(a=t.join_ref)!==null&&a!==void 0?a:"",c=t.payload.event,u=this.allowedMetadataKeys?this._pick(t.payload,this.allowedMetadataKeys):{},d=Object.keys(u).length===0?"":JSON.stringify(u);if(l.length>255)throw new Error(`joinRef length ${l.length} exceeds maximum of 255`);if(s.length>255)throw new Error(`ref length ${s.length} exceeds maximum of 255`);if(o.length>255)throw new Error(`topic length ${o.length} exceeds maximum of 255`);if(c.length>255)throw new Error(`userEvent length ${c.length} exceeds maximum of 255`);if(d.length>255)throw new Error(`metadata length ${d.length} exceeds maximum of 255`);const f=this.USER_BROADCAST_PUSH_META_LENGTH+l.length+s.length+o.length+c.length+d.length,h=new ArrayBuffer(this.HEADER_LENGTH+f);let v=new DataView(h),p=0;v.setUint8(p++,this.KINDS.userBroadcastPush),v.setUint8(p++,l.length),v.setUint8(p++,s.length),v.setUint8(p++,o.length),v.setUint8(p++,c.length),v.setUint8(p++,d.length),v.setUint8(p++,n),Array.from(l,m=>v.setUint8(p++,m.charCodeAt(0))),Array.from(s,m=>v.setUint8(p++,m.charCodeAt(0))),Array.from(o,m=>v.setUint8(p++,m.charCodeAt(0))),Array.from(c,m=>v.setUint8(p++,m.charCodeAt(0))),Array.from(d,m=>v.setUint8(p++,m.charCodeAt(0)));var y=new Uint8Array(h.byteLength+r.byteLength);return y.set(new Uint8Array(h),0),y.set(new Uint8Array(r),h.byteLength),y.buffer}decode(t,n){if(this._isArrayBuffer(t)){let r=this._binaryDecode(t);return n(r)}if(typeof t=="string"){const r=JSON.parse(t),[i,a,o,s,l]=r;return n({join_ref:i,ref:a,topic:o,event:s,payload:l})}return n({})}_binaryDecode(t){const n=new DataView(t),r=n.getUint8(0),i=new TextDecoder;switch(r){case this.KINDS.userBroadcast:return this._decodeUserBroadcast(t,n,i)}}_decodeUserBroadcast(t,n,r){const i=n.getUint8(1),a=n.getUint8(2),o=n.getUint8(3),s=n.getUint8(4);let l=this.HEADER_LENGTH+4;const c=r.decode(t.slice(l,l+i));l=l+i;const u=r.decode(t.slice(l,l+a));l=l+a;const d=r.decode(t.slice(l,l+o));l=l+o;const f=t.slice(l,t.byteLength),h=s===this.JSON_ENCODING?JSON.parse(r.decode(f)):f,v={type:this.BROADCAST_EVENT,event:u,payload:h};return o>0&&(v.meta=JSON.parse(d)),{join_ref:null,ref:null,topic:c,event:this.BROADCAST_EVENT,payload:v}}_isArrayBuffer(t){var n;return t instanceof ArrayBuffer||((n=t==null?void 0:t.constructor)===null||n===void 0?void 0:n.name)==="ArrayBuffer"}_pick(t,n){return!t||typeof t!="object"?{}:Object.fromEntries(Object.entries(t).filter(([r])=>n.includes(r)))}}var kt;(function(e){e.abstime="abstime",e.bool="bool",e.date="date",e.daterange="daterange",e.float4="float4",e.float8="float8",e.int2="int2",e.int4="int4",e.int4range="int4range",e.int8="int8",e.int8range="int8range",e.json="json",e.jsonb="jsonb",e.money="money",e.numeric="numeric",e.oid="oid",e.reltime="reltime",e.text="text",e.time="time",e.timestamp="timestamp",e.timestamptz="timestamptz",e.timetz="timetz",e.tsrange="tsrange",e.tstzrange="tstzrange"})(kt||(kt={}));const m5=(e,t,n={})=>{var r;const i=(r=n.skipTypes)!==null&&r!==void 0?r:[];return t?Object.keys(t).reduce((a,o)=>(a[o]=pW(o,e,t,i),a),{}):{}},pW=(e,t,n,r)=>{const i=t.find(s=>s.name===e),a=i==null?void 0:i.type,o=n[e];return a&&!r.includes(a)?hE(a,o):P2(o)},hE=(e,t)=>{if(e.charAt(0)==="_"){const n=e.slice(1,e.length);return yW(t,n)}switch(e){case kt.bool:return mW(t);case kt.float4:case kt.float8:case kt.int2:case kt.int4:case kt.int8:case kt.numeric:case kt.oid:return gW(t);case kt.json:case kt.jsonb:return vW(t);case kt.timestamp:return bW(t);case kt.abstime:case kt.date:case kt.daterange:case kt.int4range:case kt.int8range:case kt.money:case kt.reltime:case kt.text:case kt.time:case kt.timestamptz:case kt.timetz:case kt.tsrange:case kt.tstzrange:return P2(t);default:return P2(t)}},P2=e=>e,mW=e=>{switch(e){case"t":return!0;case"f":return!1;default:return e}},gW=e=>{if(typeof e=="string"){const t=parseFloat(e);if(!Number.isNaN(t))return t}return e},vW=e=>{if(typeof e=="string")try{return JSON.parse(e)}catch{return e}return e},yW=(e,t)=>{if(typeof e!="string")return e;const n=e.length-1,r=e[n];if(e[0]==="{"&&r==="}"){let a;const o=e.slice(1,n);try{a=JSON.parse("["+o+"]")}catch{a=o?o.split(","):[]}return a.map(s=>hE(t,s))}return e},bW=e=>typeof e=="string"?e.replace(" ","T"):e,fE=e=>{const t=new URL(e);return t.protocol=t.protocol.replace(/^ws/i,"http"),t.pathname=t.pathname.replace(/\/+$/,"").replace(/\/socket\/websocket$/i,"").replace(/\/socket$/i,"").replace(/\/websocket$/i,""),t.pathname===""||t.pathname==="/"?t.pathname="/api/broadcast":t.pathname=t.pathname+"/api/broadcast",t.href};var Uu=e=>typeof e=="function"?e:function(){return e},xW=typeof self<"u"?self:null,fl=typeof window<"u"?window:null,_i=xW||fl||globalThis,wW="2.0.0",DW=1e4,kW=1e3,Ci={connecting:0,open:1,closing:2,closed:3},Yn={closed:"closed",errored:"errored",joined:"joined",joining:"joining",leaving:"leaving"},na={close:"phx_close",error:"phx_error",join:"phx_join",reply:"phx_reply",leave:"phx_leave"},B2={longpoll:"longpoll",websocket:"websocket"},_W={complete:4},M2="base64url.bearer.phx.",Ph=class{constructor(e,t,n,r){this.channel=e,this.event=t,this.payload=n||function(){return{}},this.receivedResp=null,this.timeout=r,this.timeoutTimer=null,this.recHooks=[],this.sent=!1,this.ref=void 0}resend(e){this.timeout=e,this.reset(),this.send()}send(){this.hasReceived("timeout")||(this.startTimeout(),this.sent=!0,this.channel.socket.push({topic:this.channel.topic,event:this.event,payload:this.payload(),ref:this.ref,join_ref:this.channel.joinRef()}))}receive(e,t){return this.hasReceived(e)&&t(this.receivedResp.response),this.recHooks.push({status:e,callback:t}),this}reset(){this.cancelRefEvent(),this.ref=null,this.refEvent=null,this.receivedResp=null,this.sent=!1}destroy(){this.cancelRefEvent(),this.cancelTimeout()}matchReceive({status:e,response:t,_ref:n}){this.recHooks.filter(r=>r.status===e).forEach(r=>r.callback(t))}cancelRefEvent(){this.refEvent&&this.channel.off(this.refEvent)}cancelTimeout(){clearTimeout(this.timeoutTimer),this.timeoutTimer=null}startTimeout(){this.timeoutTimer&&this.cancelTimeout(),this.ref=this.channel.socket.makeRef(),this.refEvent=this.channel.replyEventName(this.ref),this.channel.on(this.refEvent,e=>{this.cancelRefEvent(),this.cancelTimeout(),this.receivedResp=e,this.matchReceive(e)}),this.timeoutTimer=setTimeout(()=>{this.trigger("timeout",{})},this.timeout)}hasReceived(e){return this.receivedResp&&this.receivedResp.status===e}trigger(e,t){this.channel.trigger(this.refEvent,{status:e,response:t})}},pE=class{constructor(e,t){this.callback=e,this.timerCalc=t,this.timer=void 0,this.tries=0}reset(){this.tries=0,clearTimeout(this.timer)}scheduleTimeout(){clearTimeout(this.timer),this.timer=setTimeout(()=>{this.tries=this.tries+1,this.callback()},this.timerCalc(this.tries+1))}},TW=class{constructor(e,t,n){this.state=Yn.closed,this.topic=e,this.params=Uu(t||{}),this.socket=n,this.bindings=[],this.bindingRef=0,this.timeout=this.socket.timeout,this.joinedOnce=!1,this.joinPush=new Ph(this,na.join,this.params,this.timeout),this.pushBuffer=[],this.stateChangeRefs=[],this.rejoinTimer=new pE(()=>{this.socket.isConnected()&&this.rejoin()},this.socket.rejoinAfterMs),this.stateChangeRefs.push(this.socket.onError(()=>this.rejoinTimer.reset())),this.stateChangeRefs.push(this.socket.onOpen(()=>{this.rejoinTimer.reset(),this.isErrored()&&this.rejoin()})),this.joinPush.receive("ok",()=>{this.state=Yn.joined,this.rejoinTimer.reset(),this.pushBuffer.forEach(r=>r.send()),this.pushBuffer=[]}),this.joinPush.receive("error",r=>{this.state=Yn.errored,this.socket.hasLogger()&&this.socket.log("channel",`error ${this.topic}`,r),this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.onClose(()=>{this.rejoinTimer.reset(),this.socket.hasLogger()&&this.socket.log("channel",`close ${this.topic}`),this.state=Yn.closed,this.socket.remove(this)}),this.onError(r=>{this.socket.hasLogger()&&this.socket.log("channel",`error ${this.topic}`,r),this.isJoining()&&this.joinPush.reset(),this.state=Yn.errored,this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.joinPush.receive("timeout",()=>{this.socket.hasLogger()&&this.socket.log("channel",`timeout ${this.topic}`,this.joinPush.timeout),new Ph(this,na.leave,Uu({}),this.timeout).send(),this.state=Yn.errored,this.joinPush.reset(),this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.on(na.reply,(r,i)=>{this.trigger(this.replyEventName(i),r)})}join(e=this.timeout){if(this.joinedOnce)throw new Error("tried to join multiple times. 'join' can only be called a single time per channel instance");return this.timeout=e,this.joinedOnce=!0,this.rejoin(),this.joinPush}teardown(){this.pushBuffer.forEach(e=>e.destroy()),this.pushBuffer=[],this.rejoinTimer.reset(),this.joinPush.destroy(),this.state=Yn.closed,this.bindings=[]}onClose(e){this.on(na.close,e)}onError(e){return this.on(na.error,t=>e(t))}on(e,t){let n=this.bindingRef++;return this.bindings.push({event:e,ref:n,callback:t}),n}off(e,t){this.bindings=this.bindings.filter(n=>!(n.event===e&&(typeof t>"u"||t===n.ref)))}canPush(){return this.socket.isConnected()&&this.isJoined()}push(e,t,n=this.timeout){if(t=t||{},!this.joinedOnce)throw new Error(`tried to push '${e}' to '${this.topic}' before joining. Use channel.join() before pushing events`);let r=new Ph(this,e,function(){return t},n);return this.canPush()?r.send():(r.startTimeout(),this.pushBuffer.push(r)),r}leave(e=this.timeout){this.rejoinTimer.reset(),this.joinPush.cancelTimeout(),this.state=Yn.leaving;let t=()=>{this.socket.hasLogger()&&this.socket.log("channel",`leave ${this.topic}`),this.trigger(na.close,"leave")},n=new Ph(this,na.leave,Uu({}),e);return n.receive("ok",()=>t()).receive("timeout",()=>t()),n.send(),this.canPush()||n.trigger("ok",{}),n}onMessage(e,t,n){return t}filterBindings(e,t,n){return!0}isMember(e,t,n,r){return this.topic!==e?!1:r&&r!==this.joinRef()?(this.socket.hasLogger()&&this.socket.log("channel","dropping outdated message",{topic:e,event:t,payload:n,joinRef:r}),!1):!0}joinRef(){return this.joinPush.ref}rejoin(e=this.timeout){this.isLeaving()||(this.socket.leaveOpenTopic(this.topic),this.state=Yn.joining,this.joinPush.resend(e))}trigger(e,t,n,r){let i=this.onMessage(e,t,n,r);if(t&&!i)throw new Error("channel onMessage callbacks must return the payload, modified or unmodified");let a=this.bindings.filter(o=>o.event===e&&this.filterBindings(o,t,n));for(let o=0;ol.abort(),i),s.signal=l.signal),_i.fetch(t,s).then(c=>c.text()).then(c=>this.parseJSON(c)).then(c=>o&&o(c)).catch(c=>{c.name==="AbortError"&&a?a():o&&o(null)}),l}static xdomainRequest(e,t,n,r,i,a,o){return e.timeout=i,e.open(t,n),e.onload=()=>{let s=this.parseJSON(e.responseText);o&&o(s)},a&&(e.ontimeout=a),e.onprogress=()=>{},e.send(r),e}static xhrRequest(e,t,n,r,i,a,o,s){e.open(t,n,!0),e.timeout=a;for(let[l,c]of Object.entries(r))e.setRequestHeader(l,c);return e.onerror=()=>s&&s(null),e.onreadystatechange=()=>{if(e.readyState===_W.complete&&s){let l=this.parseJSON(e.responseText);s(l)}},o&&(e.ontimeout=o),e.send(i),e}static parseJSON(e){if(!e||e==="")return null;try{return JSON.parse(e)}catch{return console&&console.log("failed to parse JSON response",e),null}}static serialize(e,t){let n=[];for(var r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;let i=t?`${t}[${r}]`:r,a=e[r];typeof a=="object"?n.push(this.serialize(a,i)):n.push(encodeURIComponent(i)+"="+encodeURIComponent(a))}return n.join("&")}static appendParams(e,t){if(Object.keys(t).length===0)return e;let n=e.match(/\?/)?"&":"?";return`${e}${n}${this.serialize(t)}`}},EW=e=>{let t="",n=new Uint8Array(e),r=n.byteLength;for(let i=0;ithis.poll(),0)}normalizeEndpoint(e){return e.replace("ws://","http://").replace("wss://","https://").replace(new RegExp("(.*)/"+B2.websocket),"$1/"+B2.longpoll)}endpointURL(){return b0.appendParams(this.pollEndpoint,{token:this.token})}closeAndRetry(e,t,n){this.close(e,t,n),this.readyState=Ci.connecting}ontimeout(){this.onerror("timeout"),this.closeAndRetry(1005,"timeout",!1)}isActive(){return this.readyState===Ci.open||this.readyState===Ci.connecting}poll(){const e={Accept:"application/json"};this.authToken&&(e["X-Phoenix-AuthToken"]=this.authToken),this.ajax("GET",e,null,()=>this.ontimeout(),t=>{if(t){var{status:n,token:r,messages:i}=t;if(n===410&&this.token!==null){this.onerror(410),this.closeAndRetry(3410,"session_gone",!1);return}this.token=r}else n=0;switch(n){case 200:i.forEach(a=>{setTimeout(()=>this.onmessage({data:a}),0)}),this.poll();break;case 204:this.poll();break;case 410:this.readyState=Ci.open,this.onopen({}),this.poll();break;case 403:this.onerror(403),this.close(1008,"forbidden",!1);break;case 0:case 500:this.onerror(500),this.closeAndRetry(1011,"internal server error",500);break;default:throw new Error(`unhandled poll status ${n}`)}})}send(e){typeof e!="string"&&(e=EW(e)),this.currentBatch?this.currentBatch.push(e):this.awaitingBatchAck?this.batchBuffer.push(e):(this.currentBatch=[e],this.currentBatchTimer=setTimeout(()=>{this.batchSend(this.currentBatch),this.currentBatch=null},0))}batchSend(e){this.awaitingBatchAck=!0,this.ajax("POST",{"Content-Type":"application/x-ndjson"},e.join(` +`),()=>this.onerror("timeout"),t=>{this.awaitingBatchAck=!1,!t||t.status!==200?(this.onerror(t&&t.status),this.closeAndRetry(1011,"internal server error",!1)):this.batchBuffer.length>0&&(this.batchSend(this.batchBuffer),this.batchBuffer=[])})}close(e,t,n){for(let i of this.reqs)i.abort();this.readyState=Ci.closed;let r=Object.assign({code:1e3,reason:void 0,wasClean:!0},{code:e,reason:t,wasClean:n});this.batchBuffer=[],clearTimeout(this.currentBatchTimer),this.currentBatchTimer=null,typeof CloseEvent<"u"?this.onclose(new CloseEvent("close",r)):this.onclose(r)}ajax(e,t,n,r,i){let a,o=()=>{this.reqs.delete(a),r()};a=b0.request(e,this.endpointURL(),t,n,this.timeout,o,s=>{this.reqs.delete(a),this.isActive()&&i(s)}),this.reqs.add(a)}},SW=class mu{constructor(t,n={}){let r=n.events||{state:"presence_state",diff:"presence_diff"};this.state={},this.pendingDiffs=[],this.channel=t,this.joinRef=null,this.caller={onJoin:function(){},onLeave:function(){},onSync:function(){}},this.channel.on(r.state,i=>{let{onJoin:a,onLeave:o,onSync:s}=this.caller;this.joinRef=this.channel.joinRef(),this.state=mu.syncState(this.state,i,a,o),this.pendingDiffs.forEach(l=>{this.state=mu.syncDiff(this.state,l,a,o)}),this.pendingDiffs=[],s()}),this.channel.on(r.diff,i=>{let{onJoin:a,onLeave:o,onSync:s}=this.caller;this.inPendingSyncState()?this.pendingDiffs.push(i):(this.state=mu.syncDiff(this.state,i,a,o),s())})}onJoin(t){this.caller.onJoin=t}onLeave(t){this.caller.onLeave=t}onSync(t){this.caller.onSync=t}list(t){return mu.list(this.state,t)}inPendingSyncState(){return!this.joinRef||this.joinRef!==this.channel.joinRef()}static syncState(t,n,r,i){let a=this.clone(t),o={},s={};return this.map(a,(l,c)=>{n[l]||(s[l]=c)}),this.map(n,(l,c)=>{let u=a[l];if(u){let d=c.metas.map(p=>p.phx_ref),f=u.metas.map(p=>p.phx_ref),h=c.metas.filter(p=>f.indexOf(p.phx_ref)<0),v=u.metas.filter(p=>d.indexOf(p.phx_ref)<0);h.length>0&&(o[l]=c,o[l].metas=h),v.length>0&&(s[l]=this.clone(u),s[l].metas=v)}else o[l]=c}),this.syncDiff(a,{joins:o,leaves:s},r,i)}static syncDiff(t,n,r,i){let{joins:a,leaves:o}=this.clone(n);return r||(r=function(){}),i||(i=function(){}),this.map(a,(s,l)=>{let c=t[s];if(t[s]=this.clone(l),c){let u=t[s].metas.map(f=>f.phx_ref),d=c.metas.filter(f=>u.indexOf(f.phx_ref)<0);t[s].metas.unshift(...d)}r(s,c,l)}),this.map(o,(s,l)=>{let c=t[s];if(!c)return;let u=l.metas.map(d=>d.phx_ref);c.metas=c.metas.filter(d=>u.indexOf(d.phx_ref)<0),i(s,c,l),c.metas.length===0&&delete t[s]}),t}static list(t,n){return n||(n=function(r,i){return i}),this.map(t,(r,i)=>n(r,i))}static map(t,n){return Object.getOwnPropertyNames(t).map(r=>n(r,t[r]))}static clone(t){return JSON.parse(JSON.stringify(t))}},Bh={HEADER_LENGTH:1,META_LENGTH:4,KINDS:{push:0,reply:1,broadcast:2},encode(e,t){if(e.payload.constructor===ArrayBuffer)return t(this.binaryEncode(e));{let n=[e.join_ref,e.ref,e.topic,e.event,e.payload];return t(JSON.stringify(n))}},decode(e,t){if(e.constructor===ArrayBuffer)return t(this.binaryDecode(e));{let[n,r,i,a,o]=JSON.parse(e);return t({join_ref:n,ref:r,topic:i,event:a,payload:o})}},binaryEncode(e){let{join_ref:t,ref:n,event:r,topic:i,payload:a}=e,o=this.META_LENGTH+t.length+n.length+i.length+r.length,s=new ArrayBuffer(this.HEADER_LENGTH+o),l=new DataView(s),c=0;l.setUint8(c++,this.KINDS.push),l.setUint8(c++,t.length),l.setUint8(c++,n.length),l.setUint8(c++,i.length),l.setUint8(c++,r.length),Array.from(t,d=>l.setUint8(c++,d.charCodeAt(0))),Array.from(n,d=>l.setUint8(c++,d.charCodeAt(0))),Array.from(i,d=>l.setUint8(c++,d.charCodeAt(0))),Array.from(r,d=>l.setUint8(c++,d.charCodeAt(0)));var u=new Uint8Array(s.byteLength+a.byteLength);return u.set(new Uint8Array(s),0),u.set(new Uint8Array(a),s.byteLength),u.buffer},binaryDecode(e){let t=new DataView(e),n=t.getUint8(0),r=new TextDecoder;switch(n){case this.KINDS.push:return this.decodePush(e,t,r);case this.KINDS.reply:return this.decodeReply(e,t,r);case this.KINDS.broadcast:return this.decodeBroadcast(e,t,r)}},decodePush(e,t,n){let r=t.getUint8(1),i=t.getUint8(2),a=t.getUint8(3),o=this.HEADER_LENGTH+this.META_LENGTH-1,s=n.decode(e.slice(o,o+r));o=o+r;let l=n.decode(e.slice(o,o+i));o=o+i;let c=n.decode(e.slice(o,o+a));o=o+a;let u=e.slice(o,e.byteLength);return{join_ref:s,ref:null,topic:l,event:c,payload:u}},decodeReply(e,t,n){let r=t.getUint8(1),i=t.getUint8(2),a=t.getUint8(3),o=t.getUint8(4),s=this.HEADER_LENGTH+this.META_LENGTH,l=n.decode(e.slice(s,s+r));s=s+r;let c=n.decode(e.slice(s,s+i));s=s+i;let u=n.decode(e.slice(s,s+a));s=s+a;let d=n.decode(e.slice(s,s+o));s=s+o;let f=e.slice(s,e.byteLength),h={status:d,response:f};return{join_ref:l,ref:c,topic:u,event:na.reply,payload:h}},decodeBroadcast(e,t,n){let r=t.getUint8(1),i=t.getUint8(2),a=this.HEADER_LENGTH+2,o=n.decode(e.slice(a,a+r));a=a+r;let s=n.decode(e.slice(a,a+i));a=a+i;let l=e.slice(a,e.byteLength);return{join_ref:null,ref:null,topic:o,event:s,payload:l}}},CW=class{constructor(e,t={}){this.stateChangeCallbacks={open:[],close:[],error:[],message:[]},this.channels=[],this.sendBuffer=[],this.ref=0,this.fallbackRef=null,this.timeout=t.timeout||DW,this.transport=t.transport||_i.WebSocket||Xs,this.conn=void 0,this.primaryPassedHealthCheck=!1,this.longPollFallbackMs=t.longPollFallbackMs,this.fallbackTimer=null,this.sessionStore=t.sessionStorage||_i&&_i.sessionStorage,this.establishedConnections=0,this.defaultEncoder=Bh.encode.bind(Bh),this.defaultDecoder=Bh.decode.bind(Bh),this.closeWasClean=!0,this.disconnecting=!1,this.binaryType=t.binaryType||"arraybuffer",this.connectClock=1,this.pageHidden=!1,this.encode=void 0,this.decode=void 0,this.transport!==Xs?(this.encode=t.encode||this.defaultEncoder,this.decode=t.decode||this.defaultDecoder):(this.encode=this.defaultEncoder,this.decode=this.defaultDecoder);let n=null;fl&&fl.addEventListener&&(fl.addEventListener("pagehide",r=>{this.conn&&(this.disconnect(),n=this.connectClock)}),fl.addEventListener("pageshow",r=>{n===this.connectClock&&(n=null,this.connect())}),fl.addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"?this.pageHidden=!0:(this.pageHidden=!1,!this.isConnected()&&!this.closeWasClean&&this.teardown(()=>this.connect()))})),this.heartbeatIntervalMs=t.heartbeatIntervalMs||3e4,this.autoSendHeartbeat=t.autoSendHeartbeat??!0,this.heartbeatCallback=t.heartbeatCallback??(()=>{}),this.rejoinAfterMs=r=>t.rejoinAfterMs?t.rejoinAfterMs(r):[1e3,2e3,5e3][r-1]||1e4,this.reconnectAfterMs=r=>t.reconnectAfterMs?t.reconnectAfterMs(r):[10,50,100,150,200,250,500,1e3,2e3][r-1]||5e3,this.logger=t.logger||null,!this.logger&&t.debug&&(this.logger=(r,i,a)=>{console.log(`${r}: ${i}`,a)}),this.longpollerTimeout=t.longpollerTimeout||2e4,this.params=Uu(t.params||{}),this.endPoint=`${e}/${B2.websocket}`,this.vsn=t.vsn||wW,this.heartbeatTimeoutTimer=null,this.heartbeatTimer=null,this.heartbeatSentAt=null,this.pendingHeartbeatRef=null,this.reconnectTimer=new pE(()=>{if(this.pageHidden){this.log("Not reconnecting as page is hidden!"),this.teardown();return}this.teardown(async()=>{t.beforeReconnect&&await t.beforeReconnect(),this.connect()})},this.reconnectAfterMs),this.authToken=t.authToken}getLongPollTransport(){return Xs}replaceTransport(e){this.connectClock++,this.closeWasClean=!0,clearTimeout(this.fallbackTimer),this.reconnectTimer.reset(),this.conn&&(this.conn.close(),this.conn=null),this.transport=e}protocol(){return location.protocol.match(/^https/)?"wss":"ws"}endPointURL(){let e=b0.appendParams(b0.appendParams(this.endPoint,this.params()),{vsn:this.vsn});return e.charAt(0)!=="/"?e:e.charAt(1)==="/"?`${this.protocol()}:${e}`:`${this.protocol()}://${location.host}${e}`}disconnect(e,t,n){this.connectClock++,this.disconnecting=!0,this.closeWasClean=!0,clearTimeout(this.fallbackTimer),this.reconnectTimer.reset(),this.teardown(()=>{this.disconnecting=!1,e&&e()},t,n)}connect(e){e&&(console&&console.log("passing params to connect is deprecated. Instead pass :params to the Socket constructor"),this.params=Uu(e)),!(this.conn&&!this.disconnecting)&&(this.longPollFallbackMs&&this.transport!==Xs?this.connectWithFallback(Xs,this.longPollFallbackMs):this.transportConnect())}log(e,t,n){this.logger&&this.logger(e,t,n)}hasLogger(){return this.logger!==null}onOpen(e){let t=this.makeRef();return this.stateChangeCallbacks.open.push([t,e]),t}onClose(e){let t=this.makeRef();return this.stateChangeCallbacks.close.push([t,e]),t}onError(e){let t=this.makeRef();return this.stateChangeCallbacks.error.push([t,e]),t}onMessage(e){let t=this.makeRef();return this.stateChangeCallbacks.message.push([t,e]),t}onHeartbeat(e){this.heartbeatCallback=e}ping(e){if(!this.isConnected())return!1;let t=this.makeRef(),n=Date.now();this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:t});let r=this.onMessage(i=>{i.ref===t&&(this.off([r]),e(Date.now()-n))});return!0}transportName(e){switch(e){case Xs:return"LongPoll";default:return e.name}}transportConnect(){this.connectClock++,this.closeWasClean=!1;let e;this.authToken&&(e=["phoenix",`${M2}${btoa(this.authToken).replace(/=/g,"")}`]),this.conn=new this.transport(this.endPointURL(),e),this.conn.binaryType=this.binaryType,this.conn.timeout=this.longpollerTimeout,this.conn.onopen=()=>this.onConnOpen(),this.conn.onerror=t=>this.onConnError(t),this.conn.onmessage=t=>this.onConnMessage(t),this.conn.onclose=t=>this.onConnClose(t)}getSession(e){return this.sessionStore&&this.sessionStore.getItem(e)}storeSession(e,t){this.sessionStore&&this.sessionStore.setItem(e,t)}connectWithFallback(e,t=2500){clearTimeout(this.fallbackTimer);let n=!1,r=!0,i,a,o=this.transportName(e),s=l=>{this.log("transport",`falling back to ${o}...`,l),this.off([i,a]),r=!1,this.replaceTransport(e),this.transportConnect()};if(this.getSession(`phx:fallback:${o}`))return s("memorized");this.fallbackTimer=setTimeout(s,t),a=this.onError(l=>{this.log("transport","error",l),r&&!n&&(clearTimeout(this.fallbackTimer),s(l))}),this.fallbackRef&&this.off([this.fallbackRef]),this.fallbackRef=this.onOpen(()=>{if(n=!0,!r){let l=this.transportName(e);return this.primaryPassedHealthCheck||this.storeSession(`phx:fallback:${l}`,"true"),this.log("transport",`established ${l} fallback`)}clearTimeout(this.fallbackTimer),this.fallbackTimer=setTimeout(s,t),this.ping(l=>{this.log("transport","connected to primary after",l),this.primaryPassedHealthCheck=!0,clearTimeout(this.fallbackTimer)})}),this.transportConnect()}clearHeartbeats(){clearTimeout(this.heartbeatTimer),clearTimeout(this.heartbeatTimeoutTimer)}onConnOpen(){this.hasLogger()&&this.log("transport",`connected to ${this.endPointURL()}`),this.closeWasClean=!1,this.disconnecting=!1,this.establishedConnections++,this.flushSendBuffer(),this.reconnectTimer.reset(),this.autoSendHeartbeat&&this.resetHeartbeat(),this.triggerStateCallbacks("open")}heartbeatTimeout(){if(this.pendingHeartbeatRef){this.pendingHeartbeatRef=null,this.heartbeatSentAt=null,this.hasLogger()&&this.log("transport","heartbeat timeout. Attempting to re-establish connection");try{this.heartbeatCallback("timeout")}catch(e){this.log("error","error in heartbeat callback",e)}this.triggerChanError(),this.closeWasClean=!1,this.teardown(()=>this.reconnectTimer.scheduleTimeout(),kW,"heartbeat timeout")}}resetHeartbeat(){this.conn&&this.conn.skipHeartbeat||(this.pendingHeartbeatRef=null,this.clearHeartbeats(),this.heartbeatTimer=setTimeout(()=>this.sendHeartbeat(),this.heartbeatIntervalMs))}teardown(e,t,n){if(!this.conn)return e&&e();const r=this.conn;this.waitForBufferDone(r,()=>{t?r.close(t,n||""):r.close(),this.waitForSocketClosed(r,()=>{this.conn===r&&(this.conn.onopen=function(){},this.conn.onerror=function(){},this.conn.onmessage=function(){},this.conn.onclose=function(){},this.conn=null),e&&e()})})}waitForBufferDone(e,t,n=1){if(n===5||!e.bufferedAmount){t();return}setTimeout(()=>{this.waitForBufferDone(e,t,n+1)},150*n)}waitForSocketClosed(e,t,n=1){if(n===5||e.readyState===Ci.closed){t();return}setTimeout(()=>{this.waitForSocketClosed(e,t,n+1)},150*n)}onConnClose(e){this.conn&&(this.conn.onclose=()=>{}),this.hasLogger()&&this.log("transport","close",e),this.triggerChanError(),this.clearHeartbeats(),this.closeWasClean||this.reconnectTimer.scheduleTimeout(),this.triggerStateCallbacks("close",e)}onConnError(e){this.hasLogger()&&this.log("transport",e);let t=this.transport,n=this.establishedConnections;this.triggerStateCallbacks("error",e,t,n),(t===this.transport||n>0)&&this.triggerChanError()}triggerChanError(){this.channels.forEach(e=>{e.isErrored()||e.isLeaving()||e.isClosed()||e.trigger(na.error)})}connectionState(){switch(this.conn&&this.conn.readyState){case Ci.connecting:return"connecting";case Ci.open:return"open";case Ci.closing:return"closing";default:return"closed"}}isConnected(){return this.connectionState()==="open"}remove(e){this.off(e.stateChangeRefs),this.channels=this.channels.filter(t=>t!==e)}off(e){for(let t in this.stateChangeCallbacks)this.stateChangeCallbacks[t]=this.stateChangeCallbacks[t].filter(([n])=>e.indexOf(n)===-1)}channel(e,t={}){let n=new TW(e,t,this);return this.channels.push(n),n}push(e){if(this.hasLogger()){let{topic:t,event:n,payload:r,ref:i,join_ref:a}=e;this.log("push",`${t} ${n} (${a}, ${i})`,r)}this.isConnected()?this.encode(e,t=>this.conn.send(t)):this.sendBuffer.push(()=>this.encode(e,t=>this.conn.send(t)))}makeRef(){let e=this.ref+1;return e===this.ref?this.ref=0:this.ref=e,this.ref.toString()}sendHeartbeat(){if(!this.isConnected()){try{this.heartbeatCallback("disconnected")}catch(e){this.log("error","error in heartbeat callback",e)}return}if(this.pendingHeartbeatRef){this.heartbeatTimeout();return}this.pendingHeartbeatRef=this.makeRef(),this.heartbeatSentAt=Date.now(),this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:this.pendingHeartbeatRef});try{this.heartbeatCallback("sent")}catch(e){this.log("error","error in heartbeat callback",e)}this.heartbeatTimeoutTimer=setTimeout(()=>this.heartbeatTimeout(),this.heartbeatIntervalMs)}flushSendBuffer(){this.isConnected()&&this.sendBuffer.length>0&&(this.sendBuffer.forEach(e=>e()),this.sendBuffer=[])}onConnMessage(e){this.decode(e.data,t=>{let{topic:n,event:r,payload:i,ref:a,join_ref:o}=t;if(a&&a===this.pendingHeartbeatRef){const s=this.heartbeatSentAt?Date.now()-this.heartbeatSentAt:void 0;this.clearHeartbeats();try{this.heartbeatCallback(i.status==="ok"?"ok":"error",s)}catch(l){this.log("error","error in heartbeat callback",l)}this.pendingHeartbeatRef=null,this.heartbeatSentAt=null,this.autoSendHeartbeat&&(this.heartbeatTimer=setTimeout(()=>this.sendHeartbeat(),this.heartbeatIntervalMs))}this.hasLogger()&&this.log("receive",`${i.status||""} ${n} ${r} ${a&&"("+a+")"||""}`.trim(),i);for(let s=0;s{try{r(...t)}catch(i){this.log("error",`error in ${e} callback`,i)}})}catch(n){this.log("error",`error triggering ${e} callbacks`,n)}}leaveOpenTopic(e){let t=this.channels.find(n=>n.topic===e&&(n.isJoined()||n.isJoining()));t&&(this.hasLogger()&&this.log("transport",`leaving duplicate topic "${e}"`),t.leave())}};class Fu{constructor(t,n){const r=UW(n);this.presence=new SW(t.getChannel(),r),this.presence.onJoin((i,a,o)=>{const s=Fu.onJoinPayload(i,a,o);t.getChannel().trigger("presence",s)}),this.presence.onLeave((i,a,o)=>{const s=Fu.onLeavePayload(i,a,o);t.getChannel().trigger("presence",s)}),this.presence.onSync(()=>{t.getChannel().trigger("presence",{event:"sync"})})}get state(){return Fu.transformState(this.presence.state)}static transformState(t){return t=AW(t),Object.getOwnPropertyNames(t).reduce((n,r)=>{const i=t[r];return n[r]=Nf(i),n},{})}static onJoinPayload(t,n,r){const i=g5(n),a=Nf(r);return{event:"join",key:t,currentPresences:i,newPresences:a}}static onLeavePayload(t,n,r){const i=g5(n),a=Nf(r);return{event:"leave",key:t,currentPresences:i,leftPresences:a}}}function Nf(e){return e.metas.map(t=>(t.presence_ref=t.phx_ref,delete t.phx_ref,delete t.phx_ref_prev,t))}function AW(e){return JSON.parse(JSON.stringify(e))}function UW(e){return(e==null?void 0:e.events)&&{events:e.events}}function g5(e){return e!=null&&e.metas?Nf(e):[]}var v5;(function(e){e.SYNC="sync",e.JOIN="join",e.LEAVE="leave"})(v5||(v5={}));class FW{get state(){return this.presenceAdapter.state}constructor(t,n){this.channel=t,this.presenceAdapter=new Fu(this.channel.channelAdapter,n)}}class RW{constructor(t,n,r){const i=NW(r);this.channel=t.getSocket().channel(n,i),this.socket=t}get state(){return this.channel.state}set state(t){this.channel.state=t}get joinedOnce(){return this.channel.joinedOnce}get joinPush(){return this.channel.joinPush}get rejoinTimer(){return this.channel.rejoinTimer}on(t,n){return this.channel.on(t,n)}off(t,n){this.channel.off(t,n)}subscribe(t){return this.channel.join(t)}unsubscribe(t){return this.channel.leave(t)}teardown(){this.channel.teardown()}onClose(t){this.channel.onClose(t)}onError(t){return this.channel.onError(t)}push(t,n,r){let i;try{i=this.channel.push(t,n,r)}catch{throw new Error(`tried to push '${t}' to '${this.channel.topic}' before joining. Use channel.subscribe() before pushing events`)}if(this.channel.pushBuffer.length>hW){const a=this.channel.pushBuffer.shift();a.cancelTimeout(),this.socket.log("channel",`discarded push due to buffer overflow: ${a.event}`,a.payload())}return i}updateJoinPayload(t){const n=this.channel.joinPush.payload();this.channel.joinPush.payload=()=>Object.assign(Object.assign({},n),t)}canPush(){return this.socket.isConnected()&&this.state===Qa.joined}isJoined(){return this.state===Qa.joined}isJoining(){return this.state===Qa.joining}isClosed(){return this.state===Qa.closed}isLeaving(){return this.state===Qa.leaving}updateFilterBindings(t){this.channel.filterBindings=t}updatePayloadTransform(t){this.channel.onMessage=t}getChannel(){return this.channel}}function NW(e){return{config:Object.assign({broadcast:{ack:!1,self:!1},presence:{key:"",enabled:!1},private:!1},e.config)}}var y5;(function(e){e.ALL="*",e.INSERT="INSERT",e.UPDATE="UPDATE",e.DELETE="DELETE"})(y5||(y5={}));var Al;(function(e){e.BROADCAST="broadcast",e.PRESENCE="presence",e.POSTGRES_CHANGES="postgres_changes",e.SYSTEM="system"})(Al||(Al={}));var ra;(function(e){e.SUBSCRIBED="SUBSCRIBED",e.TIMED_OUT="TIMED_OUT",e.CLOSED="CLOSED",e.CHANNEL_ERROR="CHANNEL_ERROR"})(ra||(ra={}));class Ru{get state(){return this.channelAdapter.state}set state(t){this.channelAdapter.state=t}get joinedOnce(){return this.channelAdapter.joinedOnce}get timeout(){return this.socket.timeout}get joinPush(){return this.channelAdapter.joinPush}get rejoinTimer(){return this.channelAdapter.rejoinTimer}constructor(t,n={config:{}},r){var i,a;if(this.topic=t,this.params=n,this.socket=r,this.bindings={},this.subTopic=t.replace(/^realtime:/i,""),this.params.config=Object.assign({broadcast:{ack:!1,self:!1},presence:{key:"",enabled:!1},private:!1},n.config),this.channelAdapter=new RW(this.socket.socketAdapter,t,this.params),this.presence=new FW(this),this._onClose(()=>{this.socket._remove(this)}),this._updateFilterTransform(),this.broadcastEndpointURL=fE(this.socket.socketAdapter.endPointURL()),this.private=this.params.config.private||!1,!this.private&&(!((a=(i=this.params.config)===null||i===void 0?void 0:i.broadcast)===null||a===void 0)&&a.replay))throw new Error(`tried to use replay on public channel '${this.topic}'. It must be a private channel.`)}subscribe(t,n=this.timeout){var r,i,a;if(this.socket.isConnected()||this.socket.connect(),this.channelAdapter.isClosed()){const{config:{broadcast:o,presence:s,private:l}}=this.params,c=(i=(r=this.bindings.postgres_changes)===null||r===void 0?void 0:r.map(h=>h.filter))!==null&&i!==void 0?i:[],u=!!this.bindings[Al.PRESENCE]&&this.bindings[Al.PRESENCE].length>0||((a=this.params.config.presence)===null||a===void 0?void 0:a.enabled)===!0,d={},f={broadcast:o,presence:Object.assign(Object.assign({},s),{enabled:u}),postgres_changes:c,private:l};this.socket.accessTokenValue&&(d.access_token=this.socket.accessTokenValue),this._onError(h=>{t==null||t(ra.CHANNEL_ERROR,h)}),this._onClose(()=>t==null?void 0:t(ra.CLOSED)),this.updateJoinPayload(Object.assign({config:f},d)),this._updateFilterMessage(),this.channelAdapter.subscribe(n).receive("ok",async({postgres_changes:h})=>{if(this.socket._isManualToken()||this.socket.setAuth(),h===void 0){t==null||t(ra.SUBSCRIBED);return}this._updatePostgresBindings(h,t)}).receive("error",h=>{this.state=Qa.errored,t==null||t(ra.CHANNEL_ERROR,new Error(JSON.stringify(Object.values(h).join(", ")||"error")))}).receive("timeout",()=>{t==null||t(ra.TIMED_OUT)})}return this}_updatePostgresBindings(t,n){var r;const i=this.bindings.postgres_changes,a=(r=i==null?void 0:i.length)!==null&&r!==void 0?r:0,o=[];for(let s=0;s{var o,s,l;const c=this.channelAdapter.push(t.type,t,n.timeout||this.timeout);t.type==="broadcast"&&!(!((l=(s=(o=this.params)===null||o===void 0?void 0:o.config)===null||s===void 0?void 0:s.broadcast)===null||l===void 0)&&l.ack)&&a("ok"),c.receive("ok",()=>a("ok")),c.receive("error",()=>a("error")),c.receive("timeout",()=>a("timed out"))})}updateJoinPayload(t){this.channelAdapter.updateJoinPayload(t)}async unsubscribe(t=this.timeout){return new Promise(n=>{this.channelAdapter.unsubscribe(t).receive("ok",()=>n("ok")).receive("timeout",()=>n("timed out")).receive("error",()=>n("error"))})}teardown(){this.channelAdapter.teardown()}async _fetchWithTimeout(t,n,r){const i=new AbortController,a=setTimeout(()=>i.abort(),r),o=await this.socket.fetch(t,Object.assign(Object.assign({},n),{signal:i.signal}));return clearTimeout(a),o}_on(t,n,r){const i=t.toLocaleLowerCase(),a=this.channelAdapter.on(t,r),o={type:i,filter:n,callback:r,ref:a};return this.bindings[i]?this.bindings[i].push(o):this.bindings[i]=[o],this._updateFilterMessage(),this}_onClose(t){this.channelAdapter.onClose(t)}_onError(t){this.channelAdapter.onError(t)}_updateFilterMessage(){this.channelAdapter.updateFilterBindings((t,n,r)=>{var i,a,o,s,l,c,u;const d=t.event.toLocaleLowerCase();if(this._notThisChannelEvent(d,r))return!1;const f=(i=this.bindings[d])===null||i===void 0?void 0:i.find(h=>h.ref===t.ref);if(!f)return!0;if(["broadcast","presence","postgres_changes"].includes(d))if("id"in f){const h=f.id,v=(a=f.filter)===null||a===void 0?void 0:a.event;return h&&((o=n.ids)===null||o===void 0?void 0:o.includes(h))&&(v==="*"||(v==null?void 0:v.toLocaleLowerCase())===((s=n.data)===null||s===void 0?void 0:s.type.toLocaleLowerCase()))}else{const h=(c=(l=f==null?void 0:f.filter)===null||l===void 0?void 0:l.event)===null||c===void 0?void 0:c.toLocaleLowerCase();return h==="*"||h===((u=n==null?void 0:n.event)===null||u===void 0?void 0:u.toLocaleLowerCase())}else return f.type.toLocaleLowerCase()===d})}_notThisChannelEvent(t,n){const{close:r,error:i,leave:a,join:o}=dE;return n&&[r,i,a,o].includes(t)&&n!==this.joinPush.ref}_updateFilterTransform(){this.channelAdapter.updatePayloadTransform((t,n,r)=>{if(typeof n=="object"&&"ids"in n){const i=n.data,{schema:a,table:o,commit_timestamp:s,type:l,errors:c}=i;return Object.assign(Object.assign({},{schema:a,table:o,commit_timestamp:s,eventType:l,new:{},old:{},errors:c}),this._getPayloadRecords(i))}return n})}copyBindings(t){if(this.joinedOnce)throw new Error("cannot copy bindings into joined channel");for(const n in t.bindings)for(const r of t.bindings[n])this._on(r.type,r.filter,r.callback)}static isFilterValueEqual(t,n){return(t??void 0)===(n??void 0)}_getPayloadRecords(t){const n={new:{},old:{}};return(t.type==="INSERT"||t.type==="UPDATE")&&(n.new=m5(t.columns,t.record)),(t.type==="UPDATE"||t.type==="DELETE")&&(n.old=m5(t.columns,t.old_record)),n}}class OW{constructor(t,n){this.socket=new CW(t,n)}get timeout(){return this.socket.timeout}get endPoint(){return this.socket.endPoint}get transport(){return this.socket.transport}get heartbeatIntervalMs(){return this.socket.heartbeatIntervalMs}get heartbeatCallback(){return this.socket.heartbeatCallback}set heartbeatCallback(t){this.socket.heartbeatCallback=t}get heartbeatTimer(){return this.socket.heartbeatTimer}get pendingHeartbeatRef(){return this.socket.pendingHeartbeatRef}get reconnectTimer(){return this.socket.reconnectTimer}get vsn(){return this.socket.vsn}get encode(){return this.socket.encode}get decode(){return this.socket.decode}get reconnectAfterMs(){return this.socket.reconnectAfterMs}get sendBuffer(){return this.socket.sendBuffer}get stateChangeCallbacks(){return this.socket.stateChangeCallbacks}connect(){this.socket.connect()}disconnect(t,n,r,i=1e4){return new Promise(a=>{setTimeout(()=>a("timeout"),i),this.socket.disconnect(()=>{t(),a("ok")},n,r)})}push(t){this.socket.push(t)}log(t,n,r){this.socket.log(t,n,r)}makeRef(){return this.socket.makeRef()}onOpen(t){this.socket.onOpen(t)}onClose(t){this.socket.onClose(t)}onError(t){this.socket.onError(t)}onMessage(t){this.socket.onMessage(t)}isConnected(){return this.socket.isConnected()}isConnecting(){return this.socket.connectionState()==I2.connecting}isDisconnecting(){return this.socket.connectionState()==I2.closing}connectionState(){return this.socket.connectionState()}endPointURL(){return this.socket.endPointURL()}sendHeartbeat(){this.socket.sendHeartbeat()}getSocket(){return this.socket}}const IW={HEARTBEAT_INTERVAL:25e3,RECONNECT_DELAY:10,HEARTBEAT_TIMEOUT_FALLBACK:100},PW=[1e3,2e3,5e3,1e4],BW=1e4,MW=` + addEventListener("message", (e) => { + if (e.data.event === "start") { + setInterval(() => postMessage({ event: "keepAlive" }), e.data.interval); + } + });`;class jW{get endPoint(){return this.socketAdapter.endPoint}get timeout(){return this.socketAdapter.timeout}get transport(){return this.socketAdapter.transport}get heartbeatCallback(){return this.socketAdapter.heartbeatCallback}get heartbeatIntervalMs(){return this.socketAdapter.heartbeatIntervalMs}get heartbeatTimer(){return this.worker?this._workerHeartbeatTimer:this.socketAdapter.heartbeatTimer}get pendingHeartbeatRef(){return this.worker?this._pendingWorkerHeartbeatRef:this.socketAdapter.pendingHeartbeatRef}get reconnectTimer(){return this.socketAdapter.reconnectTimer}get vsn(){return this.socketAdapter.vsn}get encode(){return this.socketAdapter.encode}get decode(){return this.socketAdapter.decode}get reconnectAfterMs(){return this.socketAdapter.reconnectAfterMs}get sendBuffer(){return this.socketAdapter.sendBuffer}get stateChangeCallbacks(){return this.socketAdapter.stateChangeCallbacks}constructor(t,n){var r;if(this.channels=new Array,this.accessTokenValue=null,this.accessToken=null,this.apiKey=null,this.httpEndpoint="",this.headers={},this.params={},this.ref=0,this.serializer=new fW,this._manuallySetToken=!1,this._authPromise=null,this._workerHeartbeatTimer=void 0,this._pendingWorkerHeartbeatRef=null,this._resolveFetch=a=>a?(...o)=>a(...o):(...o)=>fetch(...o),!(!((r=n==null?void 0:n.params)===null||r===void 0)&&r.apikey))throw new Error("API key is required to connect to Realtime");this.apiKey=n.params.apikey;const i=this._initializeOptions(n);this.socketAdapter=new OW(t,i),this.httpEndpoint=fE(t),this.fetch=this._resolveFetch(n==null?void 0:n.fetch)}connect(){if(!(this.isConnecting()||this.isDisconnecting()||this.isConnected())){this.accessToken&&!this._authPromise&&this._setAuthSafely("connect"),this._setupConnectionHandlers();try{this.socketAdapter.connect()}catch(t){const n=t.message;throw n.includes("Node.js")?new Error(`${n} + +To use Realtime in Node.js, you need to provide a WebSocket implementation: + +Option 1: Use Node.js 22+ which has native WebSocket support +Option 2: Install and provide the "ws" package: + + npm install ws + + import ws from "ws" + const client = new RealtimeClient(url, { + ...options, + transport: ws + })`):new Error(`WebSocket not available: ${n}`)}this._handleNodeJsRaceCondition()}}endpointURL(){return this.socketAdapter.endPointURL()}async disconnect(t,n){return this.isDisconnecting()?"ok":await this.socketAdapter.disconnect(()=>{clearInterval(this._workerHeartbeatTimer),this._terminateWorker()},t,n)}getChannels(){return this.channels}async removeChannel(t){const n=await t.unsubscribe();return n==="ok"&&t.teardown(),this.channels.length===0&&this.disconnect(),n}async removeAllChannels(){const t=this.channels.map(async r=>{const i=await r.unsubscribe();return r.teardown(),i}),n=await Promise.all(t);return this.disconnect(),n}log(t,n,r){this.socketAdapter.log(t,n,r)}connectionState(){return this.socketAdapter.connectionState()||I2.closed}isConnected(){return this.socketAdapter.isConnected()}isConnecting(){return this.socketAdapter.isConnecting()}isDisconnecting(){return this.socketAdapter.isDisconnecting()}channel(t,n={config:{}}){const r=`realtime:${t}`,i=this.getChannels().find(a=>a.topic===r);if(i)return i;{const a=new Ru(`realtime:${t}`,n,this);return this.channels.push(a),a}}push(t){this.socketAdapter.push(t)}async setAuth(t=null){this._authPromise=this._performAuth(t);try{await this._authPromise}finally{this._authPromise=null}}_isManualToken(){return this._manuallySetToken}async sendHeartbeat(){this.socketAdapter.sendHeartbeat()}onHeartbeat(t){this.socketAdapter.heartbeatCallback=this._wrapHeartbeatCallback(t)}_makeRef(){return this.socketAdapter.makeRef()}_remove(t){this.channels=this.channels.filter(n=>n.topic!==t.topic)}async _performAuth(t=null){let n,r=!1;if(t)n=t,r=!0;else if(this.accessToken)try{n=await this.accessToken()}catch(i){this.log("error","Error fetching access token from callback",i),n=this.accessTokenValue}else n=this.accessTokenValue;r?this._manuallySetToken=!0:this.accessToken&&(this._manuallySetToken=!1),this.accessTokenValue!=n&&(this.accessTokenValue=n,this.channels.forEach(i=>{const a={access_token:n,version:lW};n&&i.updateJoinPayload(a),i.joinedOnce&&i.channelAdapter.isJoined()&&i.channelAdapter.push(dE.access_token,{access_token:n})}))}async _waitForAuthIfNeeded(){this._authPromise&&await this._authPromise}_setAuthSafely(t="general"){this._isManualToken()||this.setAuth().catch(n=>{this.log("error",`Error setting auth in ${t}`,n)})}_setupConnectionHandlers(){this.socketAdapter.onOpen(()=>{(this._authPromise||(this.accessToken&&!this.accessTokenValue?this.setAuth():Promise.resolve())).catch(n=>{this.log("error","error waiting for auth on connect",n)}),this.worker&&!this.workerRef&&this._startWorkerHeartbeat()}),this.socketAdapter.onClose(()=>{this.worker&&this.workerRef&&this._terminateWorker()}),this.socketAdapter.onMessage(t=>{t.ref&&t.ref===this._pendingWorkerHeartbeatRef&&(this._pendingWorkerHeartbeatRef=null)})}_handleNodeJsRaceCondition(){this.socketAdapter.isConnected()&&this.socketAdapter.getSocket().onConnOpen()}_wrapHeartbeatCallback(t){return(n,r)=>{n=="sent"&&this._setAuthSafely(),t&&t(n,r)}}_startWorkerHeartbeat(){this.workerUrl?this.log("worker",`starting worker for from ${this.workerUrl}`):this.log("worker","starting default worker");const t=this._workerObjectUrl(this.workerUrl);this.workerRef=new Worker(t),this.workerRef.onerror=n=>{this.log("worker","worker error",n.message),this._terminateWorker(),this.disconnect()},this.workerRef.onmessage=n=>{n.data.event==="keepAlive"&&this.sendHeartbeat()},this.workerRef.postMessage({event:"start",interval:this.heartbeatIntervalMs})}_terminateWorker(){this.workerRef&&(this.log("worker","terminating worker"),this.workerRef.terminate(),this.workerRef=void 0)}_workerObjectUrl(t){let n;if(t)n=t;else{const r=new Blob([MW],{type:"application/javascript"});n=URL.createObjectURL(r)}return n}_initializeOptions(t){var n,r,i,a,o,s,l,c,u;this.worker=(n=t==null?void 0:t.worker)!==null&&n!==void 0?n:!1,this.accessToken=(r=t==null?void 0:t.accessToken)!==null&&r!==void 0?r:null;const d={};d.timeout=(i=t==null?void 0:t.timeout)!==null&&i!==void 0?i:dW,d.heartbeatIntervalMs=(a=t==null?void 0:t.heartbeatIntervalMs)!==null&&a!==void 0?a:IW.HEARTBEAT_INTERVAL,d.transport=(o=t==null?void 0:t.transport)!==null&&o!==void 0?o:oW.getWebSocketConstructor(),d.params=t==null?void 0:t.params,d.logger=t==null?void 0:t.logger,d.heartbeatCallback=this._wrapHeartbeatCallback(t==null?void 0:t.heartbeatCallback),d.reconnectAfterMs=(s=t==null?void 0:t.reconnectAfterMs)!==null&&s!==void 0?s:p=>PW[p-1]||BW;let f,h;const v=(l=t==null?void 0:t.vsn)!==null&&l!==void 0?l:uW;switch(v){case cW:f=(p,y)=>y(JSON.stringify(p)),h=(p,y)=>y(JSON.parse(p));break;case uE:f=this.serializer.encode.bind(this.serializer),h=this.serializer.decode.bind(this.serializer);break;default:throw new Error(`Unsupported serializer version: ${d.vsn}`)}if(d.vsn=v,d.encode=(c=t==null?void 0:t.encode)!==null&&c!==void 0?c:f,d.decode=(u=t==null?void 0:t.decode)!==null&&u!==void 0?u:h,d.beforeReconnect=this._reconnectAuth.bind(this),(t!=null&&t.logLevel||t!=null&&t.log_level)&&(this.logLevel=t.logLevel||t.log_level,d.params=Object.assign(Object.assign({},d.params),{log_level:this.logLevel})),this.worker){if(typeof window<"u"&&!window.Worker)throw new Error("Web Worker is not supported");this.workerUrl=t==null?void 0:t.workerUrl,d.autoSendHeartbeat=!this.worker}return d}async _reconnectAuth(){await this._waitForAuthIfNeeded(),this.isConnected()||this.connect()}}var sd=class extends Error{constructor(e,t){var n;super(e),this.name="IcebergError",this.status=t.status,this.icebergType=t.icebergType,this.icebergCode=t.icebergCode,this.details=t.details,this.isCommitStateUnknown=t.icebergType==="CommitStateUnknownException"||[500,502,504].includes(t.status)&&((n=t.icebergType)==null?void 0:n.includes("CommitState"))===!0}isNotFound(){return this.status===404}isConflict(){return this.status===409}isAuthenticationTimeout(){return this.status===419}};function LW(e,t,n){const r=new URL(t,e);if(n)for(const[i,a]of Object.entries(n))a!==void 0&&r.searchParams.set(i,a);return r.toString()}async function zW(e){return!e||e.type==="none"?{}:e.type==="bearer"?{Authorization:`Bearer ${e.token}`}:e.type==="header"?{[e.name]:e.value}:e.type==="custom"?await e.getHeaders():{}}function WW(e){const t=e.fetchImpl??globalThis.fetch;return{async request({method:n,path:r,query:i,body:a,headers:o}){const s=LW(e.baseUrl,r,i),l=await zW(e.auth),c=await t(s,{method:n,headers:{...a?{"Content-Type":"application/json"}:{},...l,...o},body:a?JSON.stringify(a):void 0}),u=await c.text(),d=(c.headers.get("content-type")||"").includes("application/json"),f=d&&u?JSON.parse(u):u;if(!c.ok){const h=d?f:void 0,v=h==null?void 0:h.error;throw new sd((v==null?void 0:v.message)??`Request failed with status ${c.status}`,{status:c.status,icebergType:v==null?void 0:v.type,icebergCode:v==null?void 0:v.code,details:h})}return{status:c.status,headers:c.headers,data:f}}}}function Mh(e){return e.join("")}var $W=class{constructor(e,t=""){this.client=e,this.prefix=t}async listNamespaces(e){const t=e?{parent:Mh(e.namespace)}:void 0;return(await this.client.request({method:"GET",path:`${this.prefix}/namespaces`,query:t})).data.namespaces.map(r=>({namespace:r}))}async createNamespace(e,t){const n={namespace:e.namespace,properties:t==null?void 0:t.properties};return(await this.client.request({method:"POST",path:`${this.prefix}/namespaces`,body:n})).data}async dropNamespace(e){await this.client.request({method:"DELETE",path:`${this.prefix}/namespaces/${Mh(e.namespace)}`})}async loadNamespaceMetadata(e){return{properties:(await this.client.request({method:"GET",path:`${this.prefix}/namespaces/${Mh(e.namespace)}`})).data.properties}}async namespaceExists(e){try{return await this.client.request({method:"HEAD",path:`${this.prefix}/namespaces/${Mh(e.namespace)}`}),!0}catch(t){if(t instanceof sd&&t.status===404)return!1;throw t}}async createNamespaceIfNotExists(e,t){try{return await this.createNamespace(e,t)}catch(n){if(n instanceof sd&&n.status===409)return;throw n}}};function Ks(e){return e.join("")}var qW=class{constructor(e,t="",n){this.client=e,this.prefix=t,this.accessDelegation=n}async listTables(e){return(await this.client.request({method:"GET",path:`${this.prefix}/namespaces/${Ks(e.namespace)}/tables`})).data.identifiers}async createTable(e,t){const n={};return this.accessDelegation&&(n["X-Iceberg-Access-Delegation"]=this.accessDelegation),(await this.client.request({method:"POST",path:`${this.prefix}/namespaces/${Ks(e.namespace)}/tables`,body:t,headers:n})).data.metadata}async updateTable(e,t){const n=await this.client.request({method:"POST",path:`${this.prefix}/namespaces/${Ks(e.namespace)}/tables/${e.name}`,body:t});return{"metadata-location":n.data["metadata-location"],metadata:n.data.metadata}}async dropTable(e,t){await this.client.request({method:"DELETE",path:`${this.prefix}/namespaces/${Ks(e.namespace)}/tables/${e.name}`,query:{purgeRequested:String((t==null?void 0:t.purge)??!1)}})}async loadTable(e){const t={};return this.accessDelegation&&(t["X-Iceberg-Access-Delegation"]=this.accessDelegation),(await this.client.request({method:"GET",path:`${this.prefix}/namespaces/${Ks(e.namespace)}/tables/${e.name}`,headers:t})).data.metadata}async tableExists(e){const t={};this.accessDelegation&&(t["X-Iceberg-Access-Delegation"]=this.accessDelegation);try{return await this.client.request({method:"HEAD",path:`${this.prefix}/namespaces/${Ks(e.namespace)}/tables/${e.name}`,headers:t}),!0}catch(n){if(n instanceof sd&&n.status===404)return!1;throw n}}async createTableIfNotExists(e,t){try{return await this.createTable(e,t)}catch(n){if(n instanceof sd&&n.status===409)return await this.loadTable({namespace:e.namespace,name:t.name});throw n}}},HW=class{constructor(e){var r;let t="v1";e.catalogName&&(t+=`/${e.catalogName}`);const n=e.baseUrl.endsWith("/")?e.baseUrl:`${e.baseUrl}/`;this.client=WW({baseUrl:n,auth:e.auth,fetchImpl:e.fetch}),this.accessDelegation=(r=e.accessDelegation)==null?void 0:r.join(","),this.namespaceOps=new $W(this.client,t),this.tableOps=new qW(this.client,t,this.accessDelegation)}async listNamespaces(e){return this.namespaceOps.listNamespaces(e)}async createNamespace(e,t){return this.namespaceOps.createNamespace(e,t)}async dropNamespace(e){await this.namespaceOps.dropNamespace(e)}async loadNamespaceMetadata(e){return this.namespaceOps.loadNamespaceMetadata(e)}async listTables(e){return this.tableOps.listTables(e)}async createTable(e,t){return this.tableOps.createTable(e,t)}async updateTable(e,t){return this.tableOps.updateTable(e,t)}async dropTable(e,t){await this.tableOps.dropTable(e,t)}async loadTable(e){return this.tableOps.loadTable(e)}async namespaceExists(e){return this.namespaceOps.namespaceExists(e)}async tableExists(e){return this.tableOps.tableExists(e)}async createNamespaceIfNotExists(e,t){return this.namespaceOps.createNamespaceIfNotExists(e,t)}async createTableIfNotExists(e,t){return this.tableOps.createTableIfNotExists(e,t)}};function ld(e){"@babel/helpers - typeof";return ld=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ld(e)}function VW(e,t){if(ld(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(ld(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function GW(e){var t=VW(e,"string");return ld(t)=="symbol"?t:t+""}function XW(e,t,n){return(t=GW(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b5(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function ze(e){for(var t=1;te?(...t)=>e(...t):(...t)=>fetch(...t),JW=e=>{if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},L2=e=>{if(Array.isArray(e))return e.map(n=>L2(n));if(typeof e=="function"||e!==Object(e))return e;const t={};return Object.entries(e).forEach(([n,r])=>{const i=n.replace(/([-_][a-z])/gi,a=>a.toUpperCase().replace(/[-_]/g,""));t[i]=L2(r)}),t},QW=e=>!e||typeof e!="string"||e.length===0||e.length>100||e.trim()!==e||e.includes("/")||e.includes("\\")?!1:/^[\w!.\*'() &$@=;:+,?-]+$/.test(e),x5=e=>{var t;return e.msg||e.message||e.error_description||(typeof e.error=="string"?e.error:(t=e.error)===null||t===void 0?void 0:t.message)||JSON.stringify(e)},ZW=async(e,t,n,r)=>{if(e!==null&&typeof e=="object"&&typeof e.json=="function"){const i=e;let a=parseInt(i.status,10);Number.isFinite(a)||(a=500),i.json().then(o=>{const s=(o==null?void 0:o.statusCode)||(o==null?void 0:o.code)||a+"";t(new j2(x5(o),a,s,r))}).catch(()=>{const o=a+"";t(new j2(i.statusText||`HTTP ${a} error`,a,o,r))})}else t(new mE(x5(e),e,r))},e$=(e,t,n,r)=>{const i={method:e,headers:(t==null?void 0:t.headers)||{}};if(e==="GET"||e==="HEAD"||!r)return ze(ze({},i),n);if(JW(r)){var a;const o=(t==null?void 0:t.headers)||{};let s;for(const[l,c]of Object.entries(o))l.toLowerCase()==="content-type"&&(s=c);i.headers=Jb(o,"Content-Type",(a=s)!==null&&a!==void 0?a:"application/json"),i.body=JSON.stringify(r)}else i.body=r;return t!=null&&t.duplex&&(i.duplex=t.duplex),ze(ze({},i),n)};async function ru(e,t,n,r,i,a,o){return new Promise((s,l)=>{e(n,e$(t,r,i,a)).then(c=>{if(!c.ok)throw c;if(r!=null&&r.noResolveJson)return c;if(o==="vectors"){const u=c.headers.get("content-type");if(c.headers.get("content-length")==="0"||c.status===204)return{};if(!u||!u.includes("application/json"))return{}}return c.json()}).then(c=>s(c)).catch(c=>ZW(c,l,r,o))})}function gE(e="storage"){return{get:async(t,n,r,i)=>ru(t,"GET",n,r,i,void 0,e),post:async(t,n,r,i,a)=>ru(t,"POST",n,i,a,r,e),put:async(t,n,r,i,a)=>ru(t,"PUT",n,i,a,r,e),head:async(t,n,r,i)=>ru(t,"HEAD",n,ze(ze({},r),{},{noResolveJson:!0}),i,void 0,e),remove:async(t,n,r,i,a)=>ru(t,"DELETE",n,i,a,r,e)}}const t$=gE("storage"),{get:cd,post:ni,put:z2,head:n$,remove:Qb}=t$,br=gE("vectors");var Oc=class{constructor(e,t={},n,r="storage"){this.shouldThrowOnError=!1,this.url=e,this.headers=KW(t),this.fetch=YW(n),this.namespace=r}throwOnError(){return this.shouldThrowOnError=!0,this}setHeader(e,t){return this.headers=Jb(this.headers,e,t),this}async handleOperation(e){var t=this;try{return{data:await e(),error:null}}catch(n){if(t.shouldThrowOnError)throw n;if(_p(n))return{data:null,error:n};throw n}}},r$=class{constructor(e,t){this.downloadFn=e,this.shouldThrowOnError=t}then(e,t){return this.execute().then(e,t)}async execute(){var e=this;try{return{data:(await e.downloadFn()).body,error:null}}catch(t){if(e.shouldThrowOnError)throw t;if(_p(t))return{data:null,error:t};throw t}}};let vE;vE=Symbol.toStringTag;var i$=class{constructor(e,t){this.downloadFn=e,this.shouldThrowOnError=t,this[vE]="BlobDownloadBuilder",this.promise=null}asStream(){return new r$(this.downloadFn,this.shouldThrowOnError)}then(e,t){return this.getPromise().then(e,t)}catch(e){return this.getPromise().catch(e)}finally(e){return this.getPromise().finally(e)}getPromise(){return this.promise||(this.promise=this.execute()),this.promise}async execute(){var e=this;try{return{data:await(await e.downloadFn()).blob(),error:null}}catch(t){if(e.shouldThrowOnError)throw t;if(_p(t))return{data:null,error:t};throw t}}};const a$={limit:100,offset:0,sortBy:{column:"name",order:"asc"}},w5={cacheControl:"3600",contentType:"text/plain;charset=UTF-8",upsert:!1};var o$=class extends Oc{constructor(e,t={},n,r){super(e,t,r,"storage"),this.bucketId=n}async uploadOrUpdate(e,t,n,r){var i=this;return i.handleOperation(async()=>{let a;const o=ze(ze({},w5),r);let s=ze(ze({},i.headers),e==="POST"&&{"x-upsert":String(o.upsert)});const l=o.metadata;if(typeof Blob<"u"&&n instanceof Blob?(a=new FormData,a.append("cacheControl",o.cacheControl),l&&a.append("metadata",i.encodeMetadata(l)),a.append("",n)):typeof FormData<"u"&&n instanceof FormData?(a=n,a.has("cacheControl")||a.append("cacheControl",o.cacheControl),l&&!a.has("metadata")&&a.append("metadata",i.encodeMetadata(l))):(a=n,s["cache-control"]=`max-age=${o.cacheControl}`,s["content-type"]=o.contentType,l&&(s["x-metadata"]=i.toBase64(i.encodeMetadata(l))),(typeof ReadableStream<"u"&&a instanceof ReadableStream||a&&typeof a=="object"&&"pipe"in a&&typeof a.pipe=="function")&&!o.duplex&&(o.duplex="half")),r!=null&&r.headers)for(const[f,h]of Object.entries(r.headers))s=Jb(s,f,h);const c=i._removeEmptyFolders(t),u=i._getFinalPath(c),d=await(e=="PUT"?z2:ni)(i.fetch,`${i.url}/object/${u}`,a,ze({headers:s},o!=null&&o.duplex?{duplex:o.duplex}:{}));return{path:c,id:d.Id,fullPath:d.Key}})}async upload(e,t,n){return this.uploadOrUpdate("POST",e,t,n)}async uploadToSignedUrl(e,t,n,r){var i=this;const a=i._removeEmptyFolders(e),o=i._getFinalPath(a),s=new URL(i.url+`/object/upload/sign/${o}`);return s.searchParams.set("token",t),i.handleOperation(async()=>{let l;const c=ze(ze({},w5),r),u=ze(ze({},i.headers),{"x-upsert":String(c.upsert)});return typeof Blob<"u"&&n instanceof Blob?(l=new FormData,l.append("cacheControl",c.cacheControl),l.append("",n)):typeof FormData<"u"&&n instanceof FormData?(l=n,l.append("cacheControl",c.cacheControl)):(l=n,u["cache-control"]=`max-age=${c.cacheControl}`,u["content-type"]=c.contentType),{path:a,fullPath:(await z2(i.fetch,s.toString(),l,{headers:u})).Key}})}async createSignedUploadUrl(e,t){var n=this;return n.handleOperation(async()=>{let r=n._getFinalPath(e);const i=ze({},n.headers);t!=null&&t.upsert&&(i["x-upsert"]="true");const a=await ni(n.fetch,`${n.url}/object/upload/sign/${r}`,{},{headers:i}),o=new URL(n.url+a.url),s=o.searchParams.get("token");if(!s)throw new kp("No token returned by API");return{signedUrl:o.toString(),path:e,token:s}})}async update(e,t,n){return this.uploadOrUpdate("PUT",e,t,n)}async move(e,t,n){var r=this;return r.handleOperation(async()=>await ni(r.fetch,`${r.url}/object/move`,{bucketId:r.bucketId,sourceKey:e,destinationKey:t,destinationBucket:n==null?void 0:n.destinationBucket},{headers:r.headers}))}async copy(e,t,n){var r=this;return r.handleOperation(async()=>({path:(await ni(r.fetch,`${r.url}/object/copy`,{bucketId:r.bucketId,sourceKey:e,destinationKey:t,destinationBucket:n==null?void 0:n.destinationBucket},{headers:r.headers})).Key}))}async createSignedUrl(e,t,n){var r=this;return r.handleOperation(async()=>{let i=r._getFinalPath(e);const a=typeof(n==null?void 0:n.transform)=="object"&&n.transform!==null&&Object.keys(n.transform).length>0;let o=await ni(r.fetch,`${r.url}/object/sign/${i}`,ze({expiresIn:t},a?{transform:n.transform}:{}),{headers:r.headers});const s=new URLSearchParams;n!=null&&n.download&&s.set("download",n.download===!0?"":n.download),(n==null?void 0:n.cacheNonce)!=null&&s.set("cacheNonce",String(n.cacheNonce));const l=s.toString();return{signedUrl:encodeURI(`${r.url}${o.signedURL}${l?`&${l}`:""}`)}})}async createSignedUrls(e,t,n){var r=this;return r.handleOperation(async()=>{const i=await ni(r.fetch,`${r.url}/object/sign/${r.bucketId}`,{expiresIn:t,paths:e},{headers:r.headers}),a=new URLSearchParams;n!=null&&n.download&&a.set("download",n.download===!0?"":n.download),(n==null?void 0:n.cacheNonce)!=null&&a.set("cacheNonce",String(n.cacheNonce));const o=a.toString();return i.map(s=>ze(ze({},s),{},{signedUrl:s.signedURL?encodeURI(`${r.url}${s.signedURL}${o?`&${o}`:""}`):null}))})}download(e,t,n){const r=typeof(t==null?void 0:t.transform)=="object"&&t.transform!==null&&Object.keys(t.transform).length>0?"render/image/authenticated":"object",i=new URLSearchParams;t!=null&&t.transform&&this.applyTransformOptsToQuery(i,t.transform),(t==null?void 0:t.cacheNonce)!=null&&i.set("cacheNonce",String(t.cacheNonce));const a=i.toString(),o=this._getFinalPath(e),s=()=>cd(this.fetch,`${this.url}/${r}/${o}${a?`?${a}`:""}`,{headers:this.headers,noResolveJson:!0},n);return new i$(s,this.shouldThrowOnError)}async info(e){var t=this;const n=t._getFinalPath(e);return t.handleOperation(async()=>L2(await cd(t.fetch,`${t.url}/object/info/${n}`,{headers:t.headers})))}async exists(e){var t=this;const n=t._getFinalPath(e);try{return await n$(t.fetch,`${t.url}/object/${n}`,{headers:t.headers}),{data:!0,error:null}}catch(i){if(t.shouldThrowOnError)throw i;if(_p(i)){var r;const a=i instanceof j2?i.status:i instanceof mE?(r=i.originalError)===null||r===void 0?void 0:r.status:void 0;if(a!==void 0&&[400,404].includes(a))return{data:!1,error:i}}throw i}}getPublicUrl(e,t){const n=this._getFinalPath(e),r=new URLSearchParams;t!=null&&t.download&&r.set("download",t.download===!0?"":t.download),t!=null&&t.transform&&this.applyTransformOptsToQuery(r,t.transform),(t==null?void 0:t.cacheNonce)!=null&&r.set("cacheNonce",String(t.cacheNonce));const i=r.toString(),a=typeof(t==null?void 0:t.transform)=="object"&&t.transform!==null&&Object.keys(t.transform).length>0?"render/image":"object";return{data:{publicUrl:encodeURI(`${this.url}/${a}/public/${n}`)+(i?`?${i}`:"")}}}async remove(e){var t=this;return t.handleOperation(async()=>await Qb(t.fetch,`${t.url}/object/${t.bucketId}`,{prefixes:e},{headers:t.headers}))}async list(e,t,n){var r=this;return r.handleOperation(async()=>{const i=ze(ze(ze({},a$),t),{},{prefix:e||""});return await ni(r.fetch,`${r.url}/object/list/${r.bucketId}`,i,{headers:r.headers},n)})}async listV2(e,t){var n=this;return n.handleOperation(async()=>{const r=ze({},e);return await ni(n.fetch,`${n.url}/object/list-v2/${n.bucketId}`,r,{headers:n.headers},t)})}encodeMetadata(e){return JSON.stringify(e)}toBase64(e){return typeof Buffer<"u"?Buffer.from(e).toString("base64"):btoa(e)}_getFinalPath(e){return`${this.bucketId}/${e.replace(/^\/+/,"")}`}_removeEmptyFolders(e){return e.replace(/^\/|\/$/g,"").replace(/\/+/g,"/")}applyTransformOptsToQuery(e,t){return t.width&&e.set("width",t.width.toString()),t.height&&e.set("height",t.height.toString()),t.resize&&e.set("resize",t.resize),t.format&&e.set("format",t.format),t.quality&&e.set("quality",t.quality.toString()),e}};const s$="2.104.1",Gd={"X-Client-Info":`storage-js/${s$}`};var l$=class extends Oc{constructor(e,t={},n,r){const i=new URL(e);r!=null&&r.useNewHostname&&/supabase\.(co|in|red)$/.test(i.hostname)&&!i.hostname.includes("storage.supabase.")&&(i.hostname=i.hostname.replace("supabase.","storage.supabase."));const a=i.href.replace(/\/$/,""),o=ze(ze({},Gd),t);super(a,o,n,"storage")}async listBuckets(e){var t=this;return t.handleOperation(async()=>{const n=t.listBucketOptionsToQueryString(e);return await cd(t.fetch,`${t.url}/bucket${n}`,{headers:t.headers})})}async getBucket(e){var t=this;return t.handleOperation(async()=>await cd(t.fetch,`${t.url}/bucket/${e}`,{headers:t.headers}))}async createBucket(e,t={public:!1}){var n=this;return n.handleOperation(async()=>await ni(n.fetch,`${n.url}/bucket`,{id:e,name:e,type:t.type,public:t.public,file_size_limit:t.fileSizeLimit,allowed_mime_types:t.allowedMimeTypes},{headers:n.headers}))}async updateBucket(e,t){var n=this;return n.handleOperation(async()=>await z2(n.fetch,`${n.url}/bucket/${e}`,{id:e,name:e,public:t.public,file_size_limit:t.fileSizeLimit,allowed_mime_types:t.allowedMimeTypes},{headers:n.headers}))}async emptyBucket(e){var t=this;return t.handleOperation(async()=>await ni(t.fetch,`${t.url}/bucket/${e}/empty`,{},{headers:t.headers}))}async deleteBucket(e){var t=this;return t.handleOperation(async()=>await Qb(t.fetch,`${t.url}/bucket/${e}`,{},{headers:t.headers}))}listBucketOptionsToQueryString(e){const t={};return e&&("limit"in e&&(t.limit=String(e.limit)),"offset"in e&&(t.offset=String(e.offset)),e.search&&(t.search=e.search),e.sortColumn&&(t.sortColumn=e.sortColumn),e.sortOrder&&(t.sortOrder=e.sortOrder)),Object.keys(t).length>0?"?"+new URLSearchParams(t).toString():""}},c$=class extends Oc{constructor(e,t={},n){const r=e.replace(/\/$/,""),i=ze(ze({},Gd),t);super(r,i,n,"storage")}async createBucket(e){var t=this;return t.handleOperation(async()=>await ni(t.fetch,`${t.url}/bucket`,{name:e},{headers:t.headers}))}async listBuckets(e){var t=this;return t.handleOperation(async()=>{const n=new URLSearchParams;(e==null?void 0:e.limit)!==void 0&&n.set("limit",e.limit.toString()),(e==null?void 0:e.offset)!==void 0&&n.set("offset",e.offset.toString()),e!=null&&e.sortColumn&&n.set("sortColumn",e.sortColumn),e!=null&&e.sortOrder&&n.set("sortOrder",e.sortOrder),e!=null&&e.search&&n.set("search",e.search);const r=n.toString(),i=r?`${t.url}/bucket?${r}`:`${t.url}/bucket`;return await cd(t.fetch,i,{headers:t.headers})})}async deleteBucket(e){var t=this;return t.handleOperation(async()=>await Qb(t.fetch,`${t.url}/bucket/${e}`,{},{headers:t.headers}))}from(e){var t=this;if(!QW(e))throw new kp("Invalid bucket name: File, folder, and bucket names must follow AWS object key naming guidelines and should avoid the use of any other characters.");const n=new HW({baseUrl:this.url,catalogName:e,auth:{type:"custom",getHeaders:async()=>t.headers},fetch:this.fetch}),r=this.shouldThrowOnError;return new Proxy(n,{get(i,a){const o=i[a];return typeof o!="function"?o:async(...s)=>{try{return{data:await o.apply(i,s),error:null}}catch(l){if(r)throw l;return{data:null,error:l}}}}})}},u$=class extends Oc{constructor(e,t={},n){const r=e.replace(/\/$/,""),i=ze(ze({},Gd),{},{"Content-Type":"application/json"},t);super(r,i,n,"vectors")}async createIndex(e){var t=this;return t.handleOperation(async()=>await br.post(t.fetch,`${t.url}/CreateIndex`,e,{headers:t.headers})||{})}async getIndex(e,t){var n=this;return n.handleOperation(async()=>await br.post(n.fetch,`${n.url}/GetIndex`,{vectorBucketName:e,indexName:t},{headers:n.headers}))}async listIndexes(e){var t=this;return t.handleOperation(async()=>await br.post(t.fetch,`${t.url}/ListIndexes`,e,{headers:t.headers}))}async deleteIndex(e,t){var n=this;return n.handleOperation(async()=>await br.post(n.fetch,`${n.url}/DeleteIndex`,{vectorBucketName:e,indexName:t},{headers:n.headers})||{})}},d$=class extends Oc{constructor(e,t={},n){const r=e.replace(/\/$/,""),i=ze(ze({},Gd),{},{"Content-Type":"application/json"},t);super(r,i,n,"vectors")}async putVectors(e){var t=this;if(e.vectors.length<1||e.vectors.length>500)throw new Error("Vector batch size must be between 1 and 500 items");return t.handleOperation(async()=>await br.post(t.fetch,`${t.url}/PutVectors`,e,{headers:t.headers})||{})}async getVectors(e){var t=this;return t.handleOperation(async()=>await br.post(t.fetch,`${t.url}/GetVectors`,e,{headers:t.headers}))}async listVectors(e){var t=this;if(e.segmentCount!==void 0){if(e.segmentCount<1||e.segmentCount>16)throw new Error("segmentCount must be between 1 and 16");if(e.segmentIndex!==void 0&&(e.segmentIndex<0||e.segmentIndex>=e.segmentCount))throw new Error(`segmentIndex must be between 0 and ${e.segmentCount-1}`)}return t.handleOperation(async()=>await br.post(t.fetch,`${t.url}/ListVectors`,e,{headers:t.headers}))}async queryVectors(e){var t=this;return t.handleOperation(async()=>await br.post(t.fetch,`${t.url}/QueryVectors`,e,{headers:t.headers}))}async deleteVectors(e){var t=this;if(e.keys.length<1||e.keys.length>500)throw new Error("Keys batch size must be between 1 and 500 items");return t.handleOperation(async()=>await br.post(t.fetch,`${t.url}/DeleteVectors`,e,{headers:t.headers})||{})}},h$=class extends Oc{constructor(e,t={},n){const r=e.replace(/\/$/,""),i=ze(ze({},Gd),{},{"Content-Type":"application/json"},t);super(r,i,n,"vectors")}async createBucket(e){var t=this;return t.handleOperation(async()=>await br.post(t.fetch,`${t.url}/CreateVectorBucket`,{vectorBucketName:e},{headers:t.headers})||{})}async getBucket(e){var t=this;return t.handleOperation(async()=>await br.post(t.fetch,`${t.url}/GetVectorBucket`,{vectorBucketName:e},{headers:t.headers}))}async listBuckets(e={}){var t=this;return t.handleOperation(async()=>await br.post(t.fetch,`${t.url}/ListVectorBuckets`,e,{headers:t.headers}))}async deleteBucket(e){var t=this;return t.handleOperation(async()=>await br.post(t.fetch,`${t.url}/DeleteVectorBucket`,{vectorBucketName:e},{headers:t.headers})||{})}},f$=class extends h${constructor(e,t={}){super(e,t.headers||{},t.fetch)}from(e){return new p$(this.url,this.headers,e,this.fetch)}async createBucket(e){var t=()=>super.createBucket,n=this;return t().call(n,e)}async getBucket(e){var t=()=>super.getBucket,n=this;return t().call(n,e)}async listBuckets(e={}){var t=()=>super.listBuckets,n=this;return t().call(n,e)}async deleteBucket(e){var t=()=>super.deleteBucket,n=this;return t().call(n,e)}},p$=class extends u${constructor(e,t,n,r){super(e,t,r),this.vectorBucketName=n}async createIndex(e){var t=()=>super.createIndex,n=this;return t().call(n,ze(ze({},e),{},{vectorBucketName:n.vectorBucketName}))}async listIndexes(e={}){var t=()=>super.listIndexes,n=this;return t().call(n,ze(ze({},e),{},{vectorBucketName:n.vectorBucketName}))}async getIndex(e){var t=()=>super.getIndex,n=this;return t().call(n,n.vectorBucketName,e)}async deleteIndex(e){var t=()=>super.deleteIndex,n=this;return t().call(n,n.vectorBucketName,e)}index(e){return new m$(this.url,this.headers,this.vectorBucketName,e,this.fetch)}},m$=class extends d${constructor(e,t,n,r,i){super(e,t,i),this.vectorBucketName=n,this.indexName=r}async putVectors(e){var t=()=>super.putVectors,n=this;return t().call(n,ze(ze({},e),{},{vectorBucketName:n.vectorBucketName,indexName:n.indexName}))}async getVectors(e){var t=()=>super.getVectors,n=this;return t().call(n,ze(ze({},e),{},{vectorBucketName:n.vectorBucketName,indexName:n.indexName}))}async listVectors(e={}){var t=()=>super.listVectors,n=this;return t().call(n,ze(ze({},e),{},{vectorBucketName:n.vectorBucketName,indexName:n.indexName}))}async queryVectors(e){var t=()=>super.queryVectors,n=this;return t().call(n,ze(ze({},e),{},{vectorBucketName:n.vectorBucketName,indexName:n.indexName}))}async deleteVectors(e){var t=()=>super.deleteVectors,n=this;return t().call(n,ze(ze({},e),{},{vectorBucketName:n.vectorBucketName,indexName:n.indexName}))}},g$=class extends l${constructor(e,t={},n,r){super(e,t,n,r)}from(e){return new o$(this.url,this.headers,e,this.fetch)}get vectors(){return new f$(this.url+"/vector",{headers:this.headers,fetch:this.fetch})}get analytics(){return new c$(this.url+"/iceberg",this.headers,this.fetch)}};const yE="2.104.1",pl=30*1e3,W2=3,Dg=W2*pl,v$="http://localhost:9999",y$="supabase.auth.token",b$={"X-Client-Info":`gotrue-js/${yE}`},$2="X-Supabase-Api-Version",bE={"2024-01-01":{timestamp:Date.parse("2024-01-01T00:00:00.0Z"),name:"2024-01-01"}},x$=/^([a-z0-9_-]{4})*($|[a-z0-9_-]{3}$|[a-z0-9_-]{2}$)$/i,w$=10*60*1e3;class ud extends Error{constructor(t,n,r){super(t),this.__isAuthError=!0,this.name="AuthError",this.status=n,this.code=r}toJSON(){return{name:this.name,message:this.message,status:this.status,code:this.code}}}function Ne(e){return typeof e=="object"&&e!==null&&"__isAuthError"in e}class D$ extends ud{constructor(t,n,r){super(t,n,r),this.name="AuthApiError",this.status=n,this.code=r}}function k$(e){return Ne(e)&&e.name==="AuthApiError"}class os extends ud{constructor(t,n){super(t),this.name="AuthUnknownError",this.originalError=n}}class Sa extends ud{constructor(t,n,r,i){super(t,r,i),this.name=n,this.status=r}}class pr extends Sa{constructor(){super("Auth session missing!","AuthSessionMissingError",400,void 0)}}function jh(e){return Ne(e)&&e.name==="AuthSessionMissingError"}class Ys extends Sa{constructor(){super("Auth session or user missing","AuthInvalidTokenResponseError",500,void 0)}}class Lh extends Sa{constructor(t){super(t,"AuthInvalidCredentialsError",400,void 0)}}class zh extends Sa{constructor(t,n=null){super(t,"AuthImplicitGrantRedirectError",500,void 0),this.details=null,this.details=n}toJSON(){return Object.assign(Object.assign({},super.toJSON()),{details:this.details})}}function _$(e){return Ne(e)&&e.name==="AuthImplicitGrantRedirectError"}class D5 extends Sa{constructor(t,n=null){super(t,"AuthPKCEGrantCodeExchangeError",500,void 0),this.details=null,this.details=n}toJSON(){return Object.assign(Object.assign({},super.toJSON()),{details:this.details})}}class T$ extends Sa{constructor(){super("PKCE code verifier not found in storage. This can happen if the auth flow was initiated in a different browser or device, or if the storage was cleared. For SSR frameworks (Next.js, SvelteKit, etc.), use @supabase/ssr on both the server and client to store the code verifier in cookies.","AuthPKCECodeVerifierMissingError",400,"pkce_code_verifier_not_found")}}class q2 extends Sa{constructor(t,n){super(t,"AuthRetryableFetchError",n,void 0)}}function kg(e){return Ne(e)&&e.name==="AuthRetryableFetchError"}class k5 extends Sa{constructor(t,n,r){super(t,"AuthWeakPasswordError",n,"weak_password"),this.reasons=r}toJSON(){return Object.assign(Object.assign({},super.toJSON()),{reasons:this.reasons})}}class H2 extends Sa{constructor(t){super(t,"AuthInvalidJwtError",400,"invalid_jwt")}}const x0="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".split(""),_5=` +\r=`.split(""),E$=(()=>{const e=new Array(128);for(let t=0;t=6;){const r=t.queue>>t.queuedBits-6&63;n(x0[r]),t.queuedBits-=6}else if(t.queuedBits>0)for(t.queue=t.queue<<6-t.queuedBits,t.queuedBits=6;t.queuedBits>=6;){const r=t.queue>>t.queuedBits-6&63;n(x0[r]),t.queuedBits-=6}}function xE(e,t,n){const r=E$[e];if(r>-1)for(t.queue=t.queue<<6|r,t.queuedBits+=6;t.queuedBits>=8;)n(t.queue>>t.queuedBits-8&255),t.queuedBits-=8;else{if(r===-2)return;throw new Error(`Invalid Base64-URL character "${String.fromCharCode(e)}"`)}}function E5(e){const t=[],n=o=>{t.push(String.fromCodePoint(o))},r={utf8seq:0,codepoint:0},i={queue:0,queuedBits:0},a=o=>{A$(o,r,n)};for(let o=0;o>6),t(128|e&63);return}else if(e<=65535){t(224|e>>12),t(128|e>>6&63),t(128|e&63);return}else if(e<=1114111){t(240|e>>18),t(128|e>>12&63),t(128|e>>6&63),t(128|e&63);return}throw new Error(`Unrecognized Unicode codepoint: ${e.toString(16)}`)}function C$(e,t){for(let n=0;n55295&&r<=56319){const i=(r-55296)*1024&65535;r=(e.charCodeAt(n+1)-56320&65535|i)+65536,n+=1}S$(r,t)}}function A$(e,t,n){if(t.utf8seq===0){if(e<=127){n(e);return}for(let r=1;r<6;r+=1)if(!(e>>7-r&1)){t.utf8seq=r;break}if(t.utf8seq===2)t.codepoint=e&31;else if(t.utf8seq===3)t.codepoint=e&15;else if(t.utf8seq===4)t.codepoint=e&7;else throw new Error("Invalid UTF-8 sequence");t.utf8seq-=1}else if(t.utf8seq>0){if(e<=127)throw new Error("Invalid UTF-8 sequence");t.codepoint=t.codepoint<<6|e&63,t.utf8seq-=1,t.utf8seq===0&&n(t.codepoint)}}function Ll(e){const t=[],n={queue:0,queuedBits:0},r=i=>{t.push(i)};for(let i=0;it.push(n)),new Uint8Array(t)}function hs(e){const t=[],n={queue:0,queuedBits:0},r=i=>{t.push(i)};return e.forEach(i=>T5(i,n,r)),T5(null,n,r),t.join("")}function F$(e){return Math.round(Date.now()/1e3)+e}function R$(){return Symbol("auth-callback")}const vn=()=>typeof window<"u"&&typeof document<"u",Ko={tested:!1,writable:!1},wE=()=>{if(!vn())return!1;try{if(typeof globalThis.localStorage!="object")return!1}catch{return!1}if(Ko.tested)return Ko.writable;const e=`lswt-${Math.random()}${Math.random()}`;try{globalThis.localStorage.setItem(e,e),globalThis.localStorage.removeItem(e),Ko.tested=!0,Ko.writable=!0}catch{Ko.tested=!0,Ko.writable=!1}return Ko.writable};function N$(e){const t={},n=new URL(e);if(n.hash&&n.hash[0]==="#")try{new URLSearchParams(n.hash.substring(1)).forEach((i,a)=>{t[a]=i})}catch{}return n.searchParams.forEach((r,i)=>{t[i]=r}),t}const DE=e=>e?(...t)=>e(...t):(...t)=>fetch(...t),O$=e=>typeof e=="object"&&e!==null&&"status"in e&&"ok"in e&&"json"in e&&typeof e.json=="function",ml=async(e,t,n)=>{await e.setItem(t,JSON.stringify(n))},Yo=async(e,t)=>{const n=await e.getItem(t);if(!n)return null;try{return JSON.parse(n)}catch{return n}},gn=async(e,t)=>{await e.removeItem(t)};class Tp{constructor(){this.promise=new Tp.promiseConstructor((t,n)=>{this.resolve=t,this.reject=n})}}Tp.promiseConstructor=Promise;function Wh(e){const t=e.split(".");if(t.length!==3)throw new H2("Invalid JWT structure");for(let r=0;r{setTimeout(()=>t(null),e)})}function P$(e,t){return new Promise((r,i)=>{(async()=>{for(let a=0;a<1/0;a++)try{const o=await e(a);if(!t(a,null,o)){r(o);return}}catch(o){if(!t(a,o)){i(o);return}}})()})}function B$(e){return("0"+e.toString(16)).substr(-2)}function M$(){const t=new Uint32Array(56);if(typeof crypto>"u"){const n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~",r=n.length;let i="";for(let a=0;a<56;a++)i+=n.charAt(Math.floor(Math.random()*r));return i}return crypto.getRandomValues(t),Array.from(t,B$).join("")}async function j$(e){const n=new TextEncoder().encode(e),r=await crypto.subtle.digest("SHA-256",n),i=new Uint8Array(r);return Array.from(i).map(a=>String.fromCharCode(a)).join("")}async function L$(e){if(!(typeof crypto<"u"&&typeof crypto.subtle<"u"&&typeof TextEncoder<"u"))return console.warn("WebCrypto API is not supported. Code challenge method will default to use plain instead of sha256."),e;const n=await j$(e);return btoa(n).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}async function Js(e,t,n=!1){const r=M$();let i=r;n&&(i+="/recovery"),await ml(e,`${t}-code-verifier`,i);const a=await L$(r);return[a,r===a?"plain":"s256"]}const z$=/^2[0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|1[0-9]|2[0-9]|3[0-1])$/i;function W$(e){const t=e.headers.get($2);if(!t||!t.match(z$))return null;try{return new Date(`${t}T00:00:00.0Z`)}catch{return null}}function $$(e){if(!e)throw new Error("Missing exp claim");const t=Math.floor(Date.now()/1e3);if(e<=t)throw new Error("JWT has expired")}function q$(e){switch(e){case"RS256":return{name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-256"}};case"ES256":return{name:"ECDSA",namedCurve:"P-256",hash:{name:"SHA-256"}};default:throw new Error("Invalid alg claim")}}const H$=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/;function Qs(e){if(!H$.test(e))throw new Error("@supabase/auth-js: Expected parameter to be UUID but is not")}function _g(){const e={};return new Proxy(e,{get:(t,n)=>{if(n==="__isUserNotAvailableProxy")return!0;if(typeof n=="symbol"){const r=n.toString();if(r==="Symbol(Symbol.toPrimitive)"||r==="Symbol(Symbol.toStringTag)"||r==="Symbol(util.inspect.custom)")return}throw new Error(`@supabase/auth-js: client was created with userStorage option and there was no user stored in the user storage. Accessing the "${n}" property of the session object is not supported. Please use getUser() instead.`)},set:(t,n)=>{throw new Error(`@supabase/auth-js: client was created with userStorage option and there was no user stored in the user storage. Setting the "${n}" property of the session object is not supported. Please use getUser() to fetch a user object you can manipulate.`)},deleteProperty:(t,n)=>{throw new Error(`@supabase/auth-js: client was created with userStorage option and there was no user stored in the user storage. Deleting the "${n}" property of the session object is not supported. Please use getUser() to fetch a user object you can manipulate.`)}})}function V$(e,t){return new Proxy(e,{get:(n,r,i)=>{if(r==="__isInsecureUserWarningProxy")return!0;if(typeof r=="symbol"){const a=r.toString();if(a==="Symbol(Symbol.toPrimitive)"||a==="Symbol(Symbol.toStringTag)"||a==="Symbol(util.inspect.custom)"||a==="Symbol(nodejs.util.inspect.custom)")return Reflect.get(n,r,i)}return!t.value&&typeof r=="string"&&(console.warn("Using the user object as returned from supabase.auth.getSession() or from some supabase.auth.onAuthStateChange() events could be insecure! This value comes directly from the storage medium (usually cookies on the server) and may not be authentic. Use supabase.auth.getUser() instead which authenticates the data by contacting the Supabase Auth server."),t.value=!0),Reflect.get(n,r,i)}})}function S5(e){return JSON.parse(JSON.stringify(e))}const is=e=>e.msg||e.message||e.error_description||e.error||JSON.stringify(e),G$=[502,503,504,520,521,522,523,524,530];async function C5(e){var t;if(!O$(e))throw new q2(is(e),0);if(G$.includes(e.status))throw new q2(is(e),e.status);let n;try{n=await e.json()}catch(a){throw new os(is(a),a)}let r;const i=W$(e);if(i&&i.getTime()>=bE["2024-01-01"].timestamp&&typeof n=="object"&&n&&typeof n.code=="string"?r=n.code:typeof n=="object"&&n&&typeof n.error_code=="string"&&(r=n.error_code),r){if(r==="weak_password")throw new k5(is(n),e.status,((t=n.weak_password)===null||t===void 0?void 0:t.reasons)||[]);if(r==="session_not_found")throw new pr}else if(typeof n=="object"&&n&&typeof n.weak_password=="object"&&n.weak_password&&Array.isArray(n.weak_password.reasons)&&n.weak_password.reasons.length&&n.weak_password.reasons.reduce((a,o)=>a&&typeof o=="string",!0))throw new k5(is(n),e.status,n.weak_password.reasons);throw new D$(is(n),e.status||500,r)}const X$=(e,t,n,r)=>{const i={method:e,headers:(t==null?void 0:t.headers)||{}};return e==="GET"?i:(i.headers=Object.assign({"Content-Type":"application/json;charset=UTF-8"},t==null?void 0:t.headers),i.body=JSON.stringify(r),Object.assign(Object.assign({},i),n))};async function Be(e,t,n,r){var i;const a=Object.assign({},r==null?void 0:r.headers);a[$2]||(a[$2]=bE["2024-01-01"].name),r!=null&&r.jwt&&(a.Authorization=`Bearer ${r.jwt}`);const o=(i=r==null?void 0:r.query)!==null&&i!==void 0?i:{};r!=null&&r.redirectTo&&(o.redirect_to=r.redirectTo);const s=Object.keys(o).length?"?"+new URLSearchParams(o).toString():"",l=await K$(e,t,n+s,{headers:a,noResolveJson:r==null?void 0:r.noResolveJson},{},r==null?void 0:r.body);return r!=null&&r.xform?r==null?void 0:r.xform(l):{data:Object.assign({},l),error:null}}async function K$(e,t,n,r,i,a){const o=X$(t,r,i,a);let s;try{s=await e(n,Object.assign({},o))}catch(l){throw console.error(l),new q2(is(l),0)}if(s.ok||await C5(s),r!=null&&r.noResolveJson)return s;try{return await s.json()}catch(l){await C5(l)}}function Zr(e){var t;let n=null;Q$(e)&&(n=Object.assign({},e),e.expires_at||(n.expires_at=F$(e.expires_in)));const r=(t=e.user)!==null&&t!==void 0?t:e;return{data:{session:n,user:r},error:null}}function A5(e){const t=Zr(e);return!t.error&&e.weak_password&&typeof e.weak_password=="object"&&Array.isArray(e.weak_password.reasons)&&e.weak_password.reasons.length&&e.weak_password.message&&typeof e.weak_password.message=="string"&&e.weak_password.reasons.reduce((n,r)=>n&&typeof r=="string",!0)&&(t.data.weak_password=e.weak_password),t}function Za(e){var t;return{data:{user:(t=e.user)!==null&&t!==void 0?t:e},error:null}}function Y$(e){return{data:e,error:null}}function J$(e){const{action_link:t,email_otp:n,hashed_token:r,redirect_to:i,verification_type:a}=e,o=Nc(e,["action_link","email_otp","hashed_token","redirect_to","verification_type"]),s={action_link:t,email_otp:n,hashed_token:r,redirect_to:i,verification_type:a},l=Object.assign({},o);return{data:{properties:s,user:l},error:null}}function U5(e){return e}function Q$(e){return e.access_token&&e.refresh_token&&e.expires_in}const Tg=["global","local","others"];class Z${constructor({url:t="",headers:n={},fetch:r}){this.url=t,this.headers=n,this.fetch=DE(r),this.mfa={listFactors:this._listFactors.bind(this),deleteFactor:this._deleteFactor.bind(this)},this.oauth={listClients:this._listOAuthClients.bind(this),createClient:this._createOAuthClient.bind(this),getClient:this._getOAuthClient.bind(this),updateClient:this._updateOAuthClient.bind(this),deleteClient:this._deleteOAuthClient.bind(this),regenerateClientSecret:this._regenerateOAuthClientSecret.bind(this)},this.customProviders={listProviders:this._listCustomProviders.bind(this),createProvider:this._createCustomProvider.bind(this),getProvider:this._getCustomProvider.bind(this),updateProvider:this._updateCustomProvider.bind(this),deleteProvider:this._deleteCustomProvider.bind(this)}}async signOut(t,n=Tg[0]){if(Tg.indexOf(n)<0)throw new Error(`@supabase/auth-js: Parameter scope must be one of ${Tg.join(", ")}`);try{return await Be(this.fetch,"POST",`${this.url}/logout?scope=${n}`,{headers:this.headers,jwt:t,noResolveJson:!0}),{data:null,error:null}}catch(r){if(Ne(r))return{data:null,error:r};throw r}}async inviteUserByEmail(t,n={}){try{return await Be(this.fetch,"POST",`${this.url}/invite`,{body:{email:t,data:n.data},headers:this.headers,redirectTo:n.redirectTo,xform:Za})}catch(r){if(Ne(r))return{data:{user:null},error:r};throw r}}async generateLink(t){try{const{options:n}=t,r=Nc(t,["options"]),i=Object.assign(Object.assign({},r),n);return"newEmail"in r&&(i.new_email=r==null?void 0:r.newEmail,delete i.newEmail),await Be(this.fetch,"POST",`${this.url}/admin/generate_link`,{body:i,headers:this.headers,xform:J$,redirectTo:n==null?void 0:n.redirectTo})}catch(n){if(Ne(n))return{data:{properties:null,user:null},error:n};throw n}}async createUser(t){try{return await Be(this.fetch,"POST",`${this.url}/admin/users`,{body:t,headers:this.headers,xform:Za})}catch(n){if(Ne(n))return{data:{user:null},error:n};throw n}}async listUsers(t){var n,r,i,a,o,s,l;try{const c={nextPage:null,lastPage:0,total:0},u=await Be(this.fetch,"GET",`${this.url}/admin/users`,{headers:this.headers,noResolveJson:!0,query:{page:(r=(n=t==null?void 0:t.page)===null||n===void 0?void 0:n.toString())!==null&&r!==void 0?r:"",per_page:(a=(i=t==null?void 0:t.perPage)===null||i===void 0?void 0:i.toString())!==null&&a!==void 0?a:""},xform:U5});if(u.error)throw u.error;const d=await u.json(),f=(o=u.headers.get("x-total-count"))!==null&&o!==void 0?o:0,h=(l=(s=u.headers.get("link"))===null||s===void 0?void 0:s.split(","))!==null&&l!==void 0?l:[];return h.length>0&&(h.forEach(v=>{const p=parseInt(v.split(";")[0].split("=")[1].substring(0,1)),y=JSON.parse(v.split(";")[1].split("=")[1]);c[`${y}Page`]=p}),c.total=parseInt(f)),{data:Object.assign(Object.assign({},d),c),error:null}}catch(c){if(Ne(c))return{data:{users:[]},error:c};throw c}}async getUserById(t){Qs(t);try{return await Be(this.fetch,"GET",`${this.url}/admin/users/${t}`,{headers:this.headers,xform:Za})}catch(n){if(Ne(n))return{data:{user:null},error:n};throw n}}async updateUserById(t,n){Qs(t);try{return await Be(this.fetch,"PUT",`${this.url}/admin/users/${t}`,{body:n,headers:this.headers,xform:Za})}catch(r){if(Ne(r))return{data:{user:null},error:r};throw r}}async deleteUser(t,n=!1){Qs(t);try{return await Be(this.fetch,"DELETE",`${this.url}/admin/users/${t}`,{headers:this.headers,body:{should_soft_delete:n},xform:Za})}catch(r){if(Ne(r))return{data:{user:null},error:r};throw r}}async _listFactors(t){Qs(t.userId);try{const{data:n,error:r}=await Be(this.fetch,"GET",`${this.url}/admin/users/${t.userId}/factors`,{headers:this.headers,xform:i=>({data:{factors:i},error:null})});return{data:n,error:r}}catch(n){if(Ne(n))return{data:null,error:n};throw n}}async _deleteFactor(t){Qs(t.userId),Qs(t.id);try{return{data:await Be(this.fetch,"DELETE",`${this.url}/admin/users/${t.userId}/factors/${t.id}`,{headers:this.headers}),error:null}}catch(n){if(Ne(n))return{data:null,error:n};throw n}}async _listOAuthClients(t){var n,r,i,a,o,s,l;try{const c={nextPage:null,lastPage:0,total:0},u=await Be(this.fetch,"GET",`${this.url}/admin/oauth/clients`,{headers:this.headers,noResolveJson:!0,query:{page:(r=(n=t==null?void 0:t.page)===null||n===void 0?void 0:n.toString())!==null&&r!==void 0?r:"",per_page:(a=(i=t==null?void 0:t.perPage)===null||i===void 0?void 0:i.toString())!==null&&a!==void 0?a:""},xform:U5});if(u.error)throw u.error;const d=await u.json(),f=(o=u.headers.get("x-total-count"))!==null&&o!==void 0?o:0,h=(l=(s=u.headers.get("link"))===null||s===void 0?void 0:s.split(","))!==null&&l!==void 0?l:[];return h.length>0&&(h.forEach(v=>{const p=parseInt(v.split(";")[0].split("=")[1].substring(0,1)),y=JSON.parse(v.split(";")[1].split("=")[1]);c[`${y}Page`]=p}),c.total=parseInt(f)),{data:Object.assign(Object.assign({},d),c),error:null}}catch(c){if(Ne(c))return{data:{clients:[]},error:c};throw c}}async _createOAuthClient(t){try{return await Be(this.fetch,"POST",`${this.url}/admin/oauth/clients`,{body:t,headers:this.headers,xform:n=>({data:n,error:null})})}catch(n){if(Ne(n))return{data:null,error:n};throw n}}async _getOAuthClient(t){try{return await Be(this.fetch,"GET",`${this.url}/admin/oauth/clients/${t}`,{headers:this.headers,xform:n=>({data:n,error:null})})}catch(n){if(Ne(n))return{data:null,error:n};throw n}}async _updateOAuthClient(t,n){try{return await Be(this.fetch,"PUT",`${this.url}/admin/oauth/clients/${t}`,{body:n,headers:this.headers,xform:r=>({data:r,error:null})})}catch(r){if(Ne(r))return{data:null,error:r};throw r}}async _deleteOAuthClient(t){try{return await Be(this.fetch,"DELETE",`${this.url}/admin/oauth/clients/${t}`,{headers:this.headers,noResolveJson:!0}),{data:null,error:null}}catch(n){if(Ne(n))return{data:null,error:n};throw n}}async _regenerateOAuthClientSecret(t){try{return await Be(this.fetch,"POST",`${this.url}/admin/oauth/clients/${t}/regenerate_secret`,{headers:this.headers,xform:n=>({data:n,error:null})})}catch(n){if(Ne(n))return{data:null,error:n};throw n}}async _listCustomProviders(t){try{const n={};return t!=null&&t.type&&(n.type=t.type),await Be(this.fetch,"GET",`${this.url}/admin/custom-providers`,{headers:this.headers,query:n,xform:r=>{var i;return{data:{providers:(i=r==null?void 0:r.providers)!==null&&i!==void 0?i:[]},error:null}}})}catch(n){if(Ne(n))return{data:{providers:[]},error:n};throw n}}async _createCustomProvider(t){try{return await Be(this.fetch,"POST",`${this.url}/admin/custom-providers`,{body:t,headers:this.headers,xform:n=>({data:n,error:null})})}catch(n){if(Ne(n))return{data:null,error:n};throw n}}async _getCustomProvider(t){try{return await Be(this.fetch,"GET",`${this.url}/admin/custom-providers/${t}`,{headers:this.headers,xform:n=>({data:n,error:null})})}catch(n){if(Ne(n))return{data:null,error:n};throw n}}async _updateCustomProvider(t,n){try{return await Be(this.fetch,"PUT",`${this.url}/admin/custom-providers/${t}`,{body:n,headers:this.headers,xform:r=>({data:r,error:null})})}catch(r){if(Ne(r))return{data:null,error:r};throw r}}async _deleteCustomProvider(t){try{return await Be(this.fetch,"DELETE",`${this.url}/admin/custom-providers/${t}`,{headers:this.headers,noResolveJson:!0}),{data:null,error:null}}catch(n){if(Ne(n))return{data:null,error:n};throw n}}}function F5(e={}){return{getItem:t=>e[t]||null,setItem:(t,n)=>{e[t]=n},removeItem:t=>{delete e[t]}}}const xi={debug:!!(globalThis&&wE()&&globalThis.localStorage&&globalThis.localStorage.getItem("supabase.gotrue-js.locks.debug")==="true")};class kE extends Error{constructor(t){super(t),this.isAcquireTimeout=!0}}class R5 extends kE{}async function eq(e,t,n){xi.debug&&console.log("@supabase/gotrue-js: navigatorLock: acquire lock",e,t);const r=new globalThis.AbortController;let i;t>0&&(i=setTimeout(()=>{r.abort(),xi.debug&&console.log("@supabase/gotrue-js: navigatorLock acquire timed out",e)},t)),await Promise.resolve();try{return await globalThis.navigator.locks.request(e,t===0?{mode:"exclusive",ifAvailable:!0}:{mode:"exclusive",signal:r.signal},async a=>{if(a){clearTimeout(i),xi.debug&&console.log("@supabase/gotrue-js: navigatorLock: acquired",e,a.name);try{return await n()}finally{xi.debug&&console.log("@supabase/gotrue-js: navigatorLock: released",e,a.name)}}else{if(t===0)throw xi.debug&&console.log("@supabase/gotrue-js: navigatorLock: not immediately available",e),new R5(`Acquiring an exclusive Navigator LockManager lock "${e}" immediately failed`);if(xi.debug)try{const o=await globalThis.navigator.locks.query();console.log("@supabase/gotrue-js: Navigator LockManager state",JSON.stringify(o,null," "))}catch(o){console.warn("@supabase/gotrue-js: Error when querying Navigator LockManager state",o)}return console.warn("@supabase/gotrue-js: Navigator LockManager returned a null lock when using #request without ifAvailable set to true, it appears this browser is not following the LockManager spec https://developer.mozilla.org/en-US/docs/Web/API/LockManager/request"),clearTimeout(i),await n()}})}catch(a){if(t>0&&clearTimeout(i),(a==null?void 0:a.name)==="AbortError"&&t>0){if(r.signal.aborted)return xi.debug&&console.log("@supabase/gotrue-js: navigatorLock: acquire timeout, recovering by stealing lock",e),console.warn(`@supabase/gotrue-js: Lock "${e}" was not released within ${t}ms. This may indicate an orphaned lock from a component unmount (e.g., React Strict Mode). Forcefully acquiring the lock to recover.`),await Promise.resolve().then(()=>globalThis.navigator.locks.request(e,{mode:"exclusive",steal:!0},async o=>{if(o){xi.debug&&console.log("@supabase/gotrue-js: navigatorLock: recovered (stolen)",e,o.name);try{return await n()}finally{xi.debug&&console.log("@supabase/gotrue-js: navigatorLock: released (stolen)",e,o.name)}}else return console.warn("@supabase/gotrue-js: Navigator LockManager returned null lock even with steal: true"),await n()}));throw xi.debug&&console.log("@supabase/gotrue-js: navigatorLock: lock was stolen by another request",e),new R5(`Lock "${e}" was released because another request stole it`)}throw a}}function tq(){if(typeof globalThis!="object")try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__}catch{typeof self<"u"&&(self.globalThis=self)}}function _E(e){if(!/^0x[a-fA-F0-9]{40}$/.test(e))throw new Error(`@supabase/auth-js: Address "${e}" is invalid.`);return e.toLowerCase()}function nq(e){return parseInt(e,16)}function rq(e){const t=new TextEncoder().encode(e);return"0x"+Array.from(t,r=>r.toString(16).padStart(2,"0")).join("")}function iq(e){var t;const{chainId:n,domain:r,expirationTime:i,issuedAt:a=new Date,nonce:o,notBefore:s,requestId:l,resources:c,scheme:u,uri:d,version:f}=e;{if(!Number.isInteger(n))throw new Error(`@supabase/auth-js: Invalid SIWE message field "chainId". Chain ID must be a EIP-155 chain ID. Provided value: ${n}`);if(!r)throw new Error('@supabase/auth-js: Invalid SIWE message field "domain". Domain must be provided.');if(o&&o.length<8)throw new Error(`@supabase/auth-js: Invalid SIWE message field "nonce". Nonce must be at least 8 characters. Provided value: ${o}`);if(!d)throw new Error('@supabase/auth-js: Invalid SIWE message field "uri". URI must be provided.');if(f!=="1")throw new Error(`@supabase/auth-js: Invalid SIWE message field "version". Version must be '1'. Provided value: ${f}`);if(!((t=e.statement)===null||t===void 0)&&t.includes(` +`))throw new Error(`@supabase/auth-js: Invalid SIWE message field "statement". Statement must not include '\\n'. Provided value: ${e.statement}`)}const h=_E(e.address),v=u?`${u}://${r}`:r,p=e.statement?`${e.statement} +`:"",y=`${v} wants you to sign in with your Ethereum account: +${h} + +${p}`;let m=`URI: ${d} +Version: ${f} +Chain ID: ${n}${o?` +Nonce: ${o}`:""} +Issued At: ${a.toISOString()}`;if(i&&(m+=` +Expiration Time: ${i.toISOString()}`),s&&(m+=` +Not Before: ${s.toISOString()}`),l&&(m+=` +Request ID: ${l}`),c){let g=` +Resources:`;for(const b of c){if(!b||typeof b!="string")throw new Error(`@supabase/auth-js: Invalid SIWE message field "resources". Every resource must be a valid string. Provided value: ${b}`);g+=` +- ${b}`}m+=g}return`${y} +${m}`}class Kt extends Error{constructor({message:t,code:n,cause:r,name:i}){var a;super(t,{cause:r}),this.__isWebAuthnError=!0,this.name=(a=i??(r instanceof Error?r.name:void 0))!==null&&a!==void 0?a:"Unknown Error",this.code=n}}class w0 extends Kt{constructor(t,n){super({code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:n,message:t}),this.name="WebAuthnUnknownError",this.originalError=n}}function aq({error:e,options:t}){var n,r,i;const{publicKey:a}=t;if(!a)throw Error("options was missing required publicKey property");if(e.name==="AbortError"){if(t.signal instanceof AbortSignal)return new Kt({message:"Registration ceremony was sent an abort signal",code:"ERROR_CEREMONY_ABORTED",cause:e})}else if(e.name==="ConstraintError"){if(((n=a.authenticatorSelection)===null||n===void 0?void 0:n.requireResidentKey)===!0)return new Kt({message:"Discoverable credentials were required but no available authenticator supported it",code:"ERROR_AUTHENTICATOR_MISSING_DISCOVERABLE_CREDENTIAL_SUPPORT",cause:e});if(t.mediation==="conditional"&&((r=a.authenticatorSelection)===null||r===void 0?void 0:r.userVerification)==="required")return new Kt({message:"User verification was required during automatic registration but it could not be performed",code:"ERROR_AUTO_REGISTER_USER_VERIFICATION_FAILURE",cause:e});if(((i=a.authenticatorSelection)===null||i===void 0?void 0:i.userVerification)==="required")return new Kt({message:"User verification was required but no available authenticator supported it",code:"ERROR_AUTHENTICATOR_MISSING_USER_VERIFICATION_SUPPORT",cause:e})}else{if(e.name==="InvalidStateError")return new Kt({message:"The authenticator was previously registered",code:"ERROR_AUTHENTICATOR_PREVIOUSLY_REGISTERED",cause:e});if(e.name==="NotAllowedError")return new Kt({message:e.message,code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e});if(e.name==="NotSupportedError")return a.pubKeyCredParams.filter(s=>s.type==="public-key").length===0?new Kt({message:'No entry in pubKeyCredParams was of type "public-key"',code:"ERROR_MALFORMED_PUBKEYCREDPARAMS",cause:e}):new Kt({message:"No available authenticator supported any of the specified pubKeyCredParams algorithms",code:"ERROR_AUTHENTICATOR_NO_SUPPORTED_PUBKEYCREDPARAMS_ALG",cause:e});if(e.name==="SecurityError"){const o=window.location.hostname;if(TE(o)){if(a.rp.id!==o)return new Kt({message:`The RP ID "${a.rp.id}" is invalid for this domain`,code:"ERROR_INVALID_RP_ID",cause:e})}else return new Kt({message:`${window.location.hostname} is an invalid domain`,code:"ERROR_INVALID_DOMAIN",cause:e})}else if(e.name==="TypeError"){if(a.user.id.byteLength<1||a.user.id.byteLength>64)return new Kt({message:"User ID was not between 1 and 64 characters",code:"ERROR_INVALID_USER_ID_LENGTH",cause:e})}else if(e.name==="UnknownError")return new Kt({message:"The authenticator was unable to process the specified options, or could not create a new credential",code:"ERROR_AUTHENTICATOR_GENERAL_ERROR",cause:e})}return new Kt({message:"a Non-Webauthn related error has occurred",code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e})}function oq({error:e,options:t}){const{publicKey:n}=t;if(!n)throw Error("options was missing required publicKey property");if(e.name==="AbortError"){if(t.signal instanceof AbortSignal)return new Kt({message:"Authentication ceremony was sent an abort signal",code:"ERROR_CEREMONY_ABORTED",cause:e})}else{if(e.name==="NotAllowedError")return new Kt({message:e.message,code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e});if(e.name==="SecurityError"){const r=window.location.hostname;if(TE(r)){if(n.rpId!==r)return new Kt({message:`The RP ID "${n.rpId}" is invalid for this domain`,code:"ERROR_INVALID_RP_ID",cause:e})}else return new Kt({message:`${window.location.hostname} is an invalid domain`,code:"ERROR_INVALID_DOMAIN",cause:e})}else if(e.name==="UnknownError")return new Kt({message:"The authenticator was unable to process the specified options, or could not create a new assertion signature",code:"ERROR_AUTHENTICATOR_GENERAL_ERROR",cause:e})}return new Kt({message:"a Non-Webauthn related error has occurred",code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e})}class sq{createNewAbortSignal(){if(this.controller){const n=new Error("Cancelling existing WebAuthn API call for new one");n.name="AbortError",this.controller.abort(n)}const t=new AbortController;return this.controller=t,t.signal}cancelCeremony(){if(this.controller){const t=new Error("Manually cancelling existing WebAuthn API call");t.name="AbortError",this.controller.abort(t),this.controller=void 0}}}const lq=new sq;function cq(e){if(!e)throw new Error("Credential creation options are required");if(typeof PublicKeyCredential<"u"&&"parseCreationOptionsFromJSON"in PublicKeyCredential&&typeof PublicKeyCredential.parseCreationOptionsFromJSON=="function")return PublicKeyCredential.parseCreationOptionsFromJSON(e);const{challenge:t,user:n,excludeCredentials:r}=e,i=Nc(e,["challenge","user","excludeCredentials"]),a=Ll(t).buffer,o=Object.assign(Object.assign({},n),{id:Ll(n.id).buffer}),s=Object.assign(Object.assign({},i),{challenge:a,user:o});if(r&&r.length>0){s.excludeCredentials=new Array(r.length);for(let l=0;l0){a.allowCredentials=new Array(n.length);for(let o=0;oi!==null&&typeof i=="object"&&!Array.isArray(i),n=i=>i instanceof ArrayBuffer||ArrayBuffer.isView(i),r={};for(const i of e)if(i)for(const a in i){const o=i[a];if(o!==void 0)if(Array.isArray(o))r[a]=o;else if(n(o))r[a]=o;else if(t(o)){const s=r[a];t(s)?r[a]=D0(s,o):r[a]=D0(o)}else r[a]=o}return r}function vq(e,t){return D0(mq,e,t||{})}function yq(e,t){return D0(gq,e,t||{})}class bq{constructor(t){this.client=t,this.enroll=this._enroll.bind(this),this.challenge=this._challenge.bind(this),this.verify=this._verify.bind(this),this.authenticate=this._authenticate.bind(this),this.register=this._register.bind(this)}async _enroll(t){return this.client.mfa.enroll(Object.assign(Object.assign({},t),{factorType:"webauthn"}))}async _challenge({factorId:t,webauthn:n,friendlyName:r,signal:i},a){var o;try{const{data:s,error:l}=await this.client.mfa.challenge({factorId:t,webauthn:n});if(!s)return{data:null,error:l};const c=i??lq.createNewAbortSignal();if(s.webauthn.type==="create"){const{user:u}=s.webauthn.credential_options.publicKey;if(!u.name){const d=r;if(d)u.name=`${u.id}:${d}`;else{const h=(await this.client.getUser()).data.user,v=((o=h==null?void 0:h.user_metadata)===null||o===void 0?void 0:o.name)||(h==null?void 0:h.email)||(h==null?void 0:h.id)||"User";u.name=`${u.id}:${v}`}}u.displayName||(u.displayName=u.name)}switch(s.webauthn.type){case"create":{const u=vq(s.webauthn.credential_options.publicKey,a==null?void 0:a.create),{data:d,error:f}=await fq({publicKey:u,signal:c});return d?{data:{factorId:t,challengeId:s.id,webauthn:{type:s.webauthn.type,credential_response:d}},error:null}:{data:null,error:f}}case"request":{const u=yq(s.webauthn.credential_options.publicKey,a==null?void 0:a.request),{data:d,error:f}=await pq(Object.assign(Object.assign({},s.webauthn.credential_options),{publicKey:u,signal:c}));return d?{data:{factorId:t,challengeId:s.id,webauthn:{type:s.webauthn.type,credential_response:d}},error:null}:{data:null,error:f}}}}catch(s){return Ne(s)?{data:null,error:s}:{data:null,error:new os("Unexpected error in challenge",s)}}}async _verify({challengeId:t,factorId:n,webauthn:r}){return this.client.mfa.verify({factorId:n,challengeId:t,webauthn:r})}async _authenticate({factorId:t,webauthn:{rpId:n=typeof window<"u"?window.location.hostname:void 0,rpOrigins:r=typeof window<"u"?[window.location.origin]:void 0,signal:i}={}},a){if(!n)return{data:null,error:new ud("rpId is required for WebAuthn authentication")};try{if(!N5())return{data:null,error:new os("Browser does not support WebAuthn",null)};const{data:o,error:s}=await this.challenge({factorId:t,webauthn:{rpId:n,rpOrigins:r},signal:i},{request:a});if(!o)return{data:null,error:s};const{webauthn:l}=o;return this._verify({factorId:t,challengeId:o.challengeId,webauthn:{type:l.type,rpId:n,rpOrigins:r,credential_response:l.credential_response}})}catch(o){return Ne(o)?{data:null,error:o}:{data:null,error:new os("Unexpected error in authenticate",o)}}}async _register({friendlyName:t,webauthn:{rpId:n=typeof window<"u"?window.location.hostname:void 0,rpOrigins:r=typeof window<"u"?[window.location.origin]:void 0,signal:i}={}},a){if(!n)return{data:null,error:new ud("rpId is required for WebAuthn registration")};try{if(!N5())return{data:null,error:new os("Browser does not support WebAuthn",null)};const{data:o,error:s}=await this._enroll({friendlyName:t});if(!o)return await this.client.mfa.listFactors().then(u=>{var d;return(d=u.data)===null||d===void 0?void 0:d.all.find(f=>f.factor_type==="webauthn"&&f.friendly_name===t&&f.status!=="unverified")}).then(u=>u?this.client.mfa.unenroll({factorId:u==null?void 0:u.id}):void 0),{data:null,error:s};const{data:l,error:c}=await this._challenge({factorId:o.id,friendlyName:o.friendly_name,webauthn:{rpId:n,rpOrigins:r},signal:i},{create:a});return l?this._verify({factorId:o.id,challengeId:l.challengeId,webauthn:{rpId:n,rpOrigins:r,type:l.webauthn.type,credential_response:l.webauthn.credential_response}}):{data:null,error:c}}catch(o){return Ne(o)?{data:null,error:o}:{data:null,error:new os("Unexpected error in register",o)}}}}tq();const xq={url:v$,storageKey:y$,autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,headers:b$,flowType:"implicit",debug:!1,hasCustomAuthorizationHeader:!1,throwOnError:!1,lockAcquireTimeout:5e3,skipAutoInitialize:!1};async function O5(e,t,n){return await n()}const Zs={};class dd{get jwks(){var t,n;return(n=(t=Zs[this.storageKey])===null||t===void 0?void 0:t.jwks)!==null&&n!==void 0?n:{keys:[]}}set jwks(t){Zs[this.storageKey]=Object.assign(Object.assign({},Zs[this.storageKey]),{jwks:t})}get jwks_cached_at(){var t,n;return(n=(t=Zs[this.storageKey])===null||t===void 0?void 0:t.cachedAt)!==null&&n!==void 0?n:Number.MIN_SAFE_INTEGER}set jwks_cached_at(t){Zs[this.storageKey]=Object.assign(Object.assign({},Zs[this.storageKey]),{cachedAt:t})}constructor(t){var n,r,i;this.userStorage=null,this.memoryStorage=null,this.stateChangeEmitters=new Map,this.autoRefreshTicker=null,this.autoRefreshTickTimeout=null,this.visibilityChangedCallback=null,this.refreshingDeferred=null,this.initializePromise=null,this.detectSessionInUrl=!0,this.hasCustomAuthorizationHeader=!1,this.suppressGetSessionWarning=!1,this.lockAcquired=!1,this.pendingInLock=[],this.broadcastChannel=null,this.logger=console.log;const a=Object.assign(Object.assign({},xq),t);if(this.storageKey=a.storageKey,this.instanceID=(n=dd.nextInstanceID[this.storageKey])!==null&&n!==void 0?n:0,dd.nextInstanceID[this.storageKey]=this.instanceID+1,this.logDebugMessages=!!a.debug,typeof a.debug=="function"&&(this.logger=a.debug),this.instanceID>0&&vn()){const o=`${this._logPrefix()} Multiple GoTrueClient instances detected in the same browser context. It is not an error, but this should be avoided as it may produce undefined behavior when used concurrently under the same storage key.`;console.warn(o),this.logDebugMessages&&console.trace(o)}if(this.persistSession=a.persistSession,this.autoRefreshToken=a.autoRefreshToken,this.admin=new Z$({url:a.url,headers:a.headers,fetch:a.fetch}),this.url=a.url,this.headers=a.headers,this.fetch=DE(a.fetch),this.lock=a.lock||O5,this.detectSessionInUrl=a.detectSessionInUrl,this.flowType=a.flowType,this.hasCustomAuthorizationHeader=a.hasCustomAuthorizationHeader,this.throwOnError=a.throwOnError,this.lockAcquireTimeout=a.lockAcquireTimeout,a.lock?this.lock=a.lock:this.persistSession&&vn()&&(!((r=globalThis==null?void 0:globalThis.navigator)===null||r===void 0)&&r.locks)?this.lock=eq:this.lock=O5,this.jwks||(this.jwks={keys:[]},this.jwks_cached_at=Number.MIN_SAFE_INTEGER),this.mfa={verify:this._verify.bind(this),enroll:this._enroll.bind(this),unenroll:this._unenroll.bind(this),challenge:this._challenge.bind(this),listFactors:this._listFactors.bind(this),challengeAndVerify:this._challengeAndVerify.bind(this),getAuthenticatorAssuranceLevel:this._getAuthenticatorAssuranceLevel.bind(this),webauthn:new bq(this)},this.oauth={getAuthorizationDetails:this._getAuthorizationDetails.bind(this),approveAuthorization:this._approveAuthorization.bind(this),denyAuthorization:this._denyAuthorization.bind(this),listGrants:this._listOAuthGrants.bind(this),revokeGrant:this._revokeOAuthGrant.bind(this)},this.persistSession?(a.storage?this.storage=a.storage:wE()?this.storage=globalThis.localStorage:(this.memoryStorage={},this.storage=F5(this.memoryStorage)),a.userStorage&&(this.userStorage=a.userStorage)):(this.memoryStorage={},this.storage=F5(this.memoryStorage)),vn()&&globalThis.BroadcastChannel&&this.persistSession&&this.storageKey){try{this.broadcastChannel=new globalThis.BroadcastChannel(this.storageKey)}catch(o){console.error("Failed to create a new BroadcastChannel, multi-tab state changes will not be available",o)}(i=this.broadcastChannel)===null||i===void 0||i.addEventListener("message",async o=>{this._debug("received broadcast notification from other tab or client",o);try{await this._notifyAllSubscribers(o.data.event,o.data.session,!1)}catch(s){this._debug("#broadcastChannel","error",s)}})}a.skipAutoInitialize||this.initialize().catch(o=>{this._debug("#initialize()","error",o)})}isThrowOnErrorEnabled(){return this.throwOnError}_returnResult(t){if(this.throwOnError&&t&&t.error)throw t.error;return t}_logPrefix(){return`GoTrueClient@${this.storageKey}:${this.instanceID} (${yE}) ${new Date().toISOString()}`}_debug(...t){return this.logDebugMessages&&this.logger(this._logPrefix(),...t),this}async initialize(){return this.initializePromise?await this.initializePromise:(this.initializePromise=(async()=>await this._acquireLock(this.lockAcquireTimeout,async()=>await this._initialize()))(),await this.initializePromise)}async _initialize(){var t;try{let n={},r="none";if(vn()&&(n=N$(window.location.href),this._isImplicitGrantCallback(n)?r="implicit":await this._isPKCECallback(n)&&(r="pkce")),vn()&&this.detectSessionInUrl&&r!=="none"){const{data:i,error:a}=await this._getSessionFromURL(n,r);if(a){if(this._debug("#_initialize()","error detecting session from URL",a),_$(a)){const l=(t=a.details)===null||t===void 0?void 0:t.code;if(l==="identity_already_exists"||l==="identity_not_found"||l==="single_identity_not_deletable")return{error:a}}return{error:a}}const{session:o,redirectType:s}=i;return this._debug("#_initialize()","detected session in URL",o,"redirect type",s),await this._saveSession(o),setTimeout(async()=>{s==="recovery"?await this._notifyAllSubscribers("PASSWORD_RECOVERY",o):await this._notifyAllSubscribers("SIGNED_IN",o)},0),{error:null}}return await this._recoverAndRefresh(),{error:null}}catch(n){return Ne(n)?this._returnResult({error:n}):this._returnResult({error:new os("Unexpected error during initialization",n)})}finally{await this._handleVisibilityChange(),this._debug("#_initialize()","end")}}async signInAnonymously(t){var n,r,i;try{const a=await Be(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,body:{data:(r=(n=t==null?void 0:t.options)===null||n===void 0?void 0:n.data)!==null&&r!==void 0?r:{},gotrue_meta_security:{captcha_token:(i=t==null?void 0:t.options)===null||i===void 0?void 0:i.captchaToken}},xform:Zr}),{data:o,error:s}=a;if(s||!o)return this._returnResult({data:{user:null,session:null},error:s});const l=o.session,c=o.user;return o.session&&(await this._saveSession(o.session),await this._notifyAllSubscribers("SIGNED_IN",l)),this._returnResult({data:{user:c,session:l},error:null})}catch(a){if(Ne(a))return this._returnResult({data:{user:null,session:null},error:a});throw a}}async signUp(t){var n,r,i;try{let a;if("email"in t){const{email:u,password:d,options:f}=t;let h=null,v=null;this.flowType==="pkce"&&([h,v]=await Js(this.storage,this.storageKey)),a=await Be(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,redirectTo:f==null?void 0:f.emailRedirectTo,body:{email:u,password:d,data:(n=f==null?void 0:f.data)!==null&&n!==void 0?n:{},gotrue_meta_security:{captcha_token:f==null?void 0:f.captchaToken},code_challenge:h,code_challenge_method:v},xform:Zr})}else if("phone"in t){const{phone:u,password:d,options:f}=t;a=await Be(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,body:{phone:u,password:d,data:(r=f==null?void 0:f.data)!==null&&r!==void 0?r:{},channel:(i=f==null?void 0:f.channel)!==null&&i!==void 0?i:"sms",gotrue_meta_security:{captcha_token:f==null?void 0:f.captchaToken}},xform:Zr})}else throw new Lh("You must provide either an email or phone number and a password");const{data:o,error:s}=a;if(s||!o)return await gn(this.storage,`${this.storageKey}-code-verifier`),this._returnResult({data:{user:null,session:null},error:s});const l=o.session,c=o.user;return o.session&&(await this._saveSession(o.session),await this._notifyAllSubscribers("SIGNED_IN",l)),this._returnResult({data:{user:c,session:l},error:null})}catch(a){if(await gn(this.storage,`${this.storageKey}-code-verifier`),Ne(a))return this._returnResult({data:{user:null,session:null},error:a});throw a}}async signInWithPassword(t){try{let n;if("email"in t){const{email:a,password:o,options:s}=t;n=await Be(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{email:a,password:o,gotrue_meta_security:{captcha_token:s==null?void 0:s.captchaToken}},xform:A5})}else if("phone"in t){const{phone:a,password:o,options:s}=t;n=await Be(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{phone:a,password:o,gotrue_meta_security:{captcha_token:s==null?void 0:s.captchaToken}},xform:A5})}else throw new Lh("You must provide either an email or phone number and a password");const{data:r,error:i}=n;if(i)return this._returnResult({data:{user:null,session:null},error:i});if(!r||!r.session||!r.user){const a=new Ys;return this._returnResult({data:{user:null,session:null},error:a})}return r.session&&(await this._saveSession(r.session),await this._notifyAllSubscribers("SIGNED_IN",r.session)),this._returnResult({data:Object.assign({user:r.user,session:r.session},r.weak_password?{weakPassword:r.weak_password}:null),error:i})}catch(n){if(Ne(n))return this._returnResult({data:{user:null,session:null},error:n});throw n}}async signInWithOAuth(t){var n,r,i,a;return await this._handleProviderSignIn(t.provider,{redirectTo:(n=t.options)===null||n===void 0?void 0:n.redirectTo,scopes:(r=t.options)===null||r===void 0?void 0:r.scopes,queryParams:(i=t.options)===null||i===void 0?void 0:i.queryParams,skipBrowserRedirect:(a=t.options)===null||a===void 0?void 0:a.skipBrowserRedirect})}async exchangeCodeForSession(t){return await this.initializePromise,this._acquireLock(this.lockAcquireTimeout,async()=>this._exchangeCodeForSession(t))}async signInWithWeb3(t){const{chain:n}=t;switch(n){case"ethereum":return await this.signInWithEthereum(t);case"solana":return await this.signInWithSolana(t);default:throw new Error(`@supabase/auth-js: Unsupported chain "${n}"`)}}async signInWithEthereum(t){var n,r,i,a,o,s,l,c,u,d,f;let h,v;if("message"in t)h=t.message,v=t.signature;else{const{chain:p,wallet:y,statement:m,options:g}=t;let b;if(vn())if(typeof y=="object")b=y;else{const O=window;if("ethereum"in O&&typeof O.ethereum=="object"&&"request"in O.ethereum&&typeof O.ethereum.request=="function")b=O.ethereum;else throw new Error("@supabase/auth-js: No compatible Ethereum wallet interface on the window object (window.ethereum) detected. Make sure the user already has a wallet installed and connected for this app. Prefer passing the wallet interface object directly to signInWithWeb3({ chain: 'ethereum', wallet: resolvedUserWallet }) instead.")}else{if(typeof y!="object"||!(g!=null&&g.url))throw new Error("@supabase/auth-js: Both wallet and url must be specified in non-browser environments.");b=y}const x=new URL((n=g==null?void 0:g.url)!==null&&n!==void 0?n:window.location.href),D=await b.request({method:"eth_requestAccounts"}).then(O=>O).catch(()=>{throw new Error("@supabase/auth-js: Wallet method eth_requestAccounts is missing or invalid")});if(!D||D.length===0)throw new Error("@supabase/auth-js: No accounts available. Please ensure the wallet is connected.");const w=_E(D[0]);let _=(r=g==null?void 0:g.signInWithEthereum)===null||r===void 0?void 0:r.chainId;if(!_){const O=await b.request({method:"eth_chainId"});_=nq(O)}const N={domain:x.host,address:w,statement:m,uri:x.href,version:"1",chainId:_,nonce:(i=g==null?void 0:g.signInWithEthereum)===null||i===void 0?void 0:i.nonce,issuedAt:(o=(a=g==null?void 0:g.signInWithEthereum)===null||a===void 0?void 0:a.issuedAt)!==null&&o!==void 0?o:new Date,expirationTime:(s=g==null?void 0:g.signInWithEthereum)===null||s===void 0?void 0:s.expirationTime,notBefore:(l=g==null?void 0:g.signInWithEthereum)===null||l===void 0?void 0:l.notBefore,requestId:(c=g==null?void 0:g.signInWithEthereum)===null||c===void 0?void 0:c.requestId,resources:(u=g==null?void 0:g.signInWithEthereum)===null||u===void 0?void 0:u.resources};h=iq(N),v=await b.request({method:"personal_sign",params:[rq(h),w]})}try{const{data:p,error:y}=await Be(this.fetch,"POST",`${this.url}/token?grant_type=web3`,{headers:this.headers,body:Object.assign({chain:"ethereum",message:h,signature:v},!((d=t.options)===null||d===void 0)&&d.captchaToken?{gotrue_meta_security:{captcha_token:(f=t.options)===null||f===void 0?void 0:f.captchaToken}}:null),xform:Zr});if(y)throw y;if(!p||!p.session||!p.user){const m=new Ys;return this._returnResult({data:{user:null,session:null},error:m})}return p.session&&(await this._saveSession(p.session),await this._notifyAllSubscribers("SIGNED_IN",p.session)),this._returnResult({data:Object.assign({},p),error:y})}catch(p){if(Ne(p))return this._returnResult({data:{user:null,session:null},error:p});throw p}}async signInWithSolana(t){var n,r,i,a,o,s,l,c,u,d,f,h;let v,p;if("message"in t)v=t.message,p=t.signature;else{const{chain:y,wallet:m,statement:g,options:b}=t;let x;if(vn())if(typeof m=="object")x=m;else{const w=window;if("solana"in w&&typeof w.solana=="object"&&("signIn"in w.solana&&typeof w.solana.signIn=="function"||"signMessage"in w.solana&&typeof w.solana.signMessage=="function"))x=w.solana;else throw new Error("@supabase/auth-js: No compatible Solana wallet interface on the window object (window.solana) detected. Make sure the user already has a wallet installed and connected for this app. Prefer passing the wallet interface object directly to signInWithWeb3({ chain: 'solana', wallet: resolvedUserWallet }) instead.")}else{if(typeof m!="object"||!(b!=null&&b.url))throw new Error("@supabase/auth-js: Both wallet and url must be specified in non-browser environments.");x=m}const D=new URL((n=b==null?void 0:b.url)!==null&&n!==void 0?n:window.location.href);if("signIn"in x&&x.signIn){const w=await x.signIn(Object.assign(Object.assign(Object.assign({issuedAt:new Date().toISOString()},b==null?void 0:b.signInWithSolana),{version:"1",domain:D.host,uri:D.href}),g?{statement:g}:null));let _;if(Array.isArray(w)&&w[0]&&typeof w[0]=="object")_=w[0];else if(w&&typeof w=="object"&&"signedMessage"in w&&"signature"in w)_=w;else throw new Error("@supabase/auth-js: Wallet method signIn() returned unrecognized value");if("signedMessage"in _&&"signature"in _&&(typeof _.signedMessage=="string"||_.signedMessage instanceof Uint8Array)&&_.signature instanceof Uint8Array)v=typeof _.signedMessage=="string"?_.signedMessage:new TextDecoder().decode(_.signedMessage),p=_.signature;else throw new Error("@supabase/auth-js: Wallet method signIn() API returned object without signedMessage and signature fields")}else{if(!("signMessage"in x)||typeof x.signMessage!="function"||!("publicKey"in x)||typeof x!="object"||!x.publicKey||!("toBase58"in x.publicKey)||typeof x.publicKey.toBase58!="function")throw new Error("@supabase/auth-js: Wallet does not have a compatible signMessage() and publicKey.toBase58() API");v=[`${D.host} wants you to sign in with your Solana account:`,x.publicKey.toBase58(),...g?["",g,""]:[""],"Version: 1",`URI: ${D.href}`,`Issued At: ${(i=(r=b==null?void 0:b.signInWithSolana)===null||r===void 0?void 0:r.issuedAt)!==null&&i!==void 0?i:new Date().toISOString()}`,...!((a=b==null?void 0:b.signInWithSolana)===null||a===void 0)&&a.notBefore?[`Not Before: ${b.signInWithSolana.notBefore}`]:[],...!((o=b==null?void 0:b.signInWithSolana)===null||o===void 0)&&o.expirationTime?[`Expiration Time: ${b.signInWithSolana.expirationTime}`]:[],...!((s=b==null?void 0:b.signInWithSolana)===null||s===void 0)&&s.chainId?[`Chain ID: ${b.signInWithSolana.chainId}`]:[],...!((l=b==null?void 0:b.signInWithSolana)===null||l===void 0)&&l.nonce?[`Nonce: ${b.signInWithSolana.nonce}`]:[],...!((c=b==null?void 0:b.signInWithSolana)===null||c===void 0)&&c.requestId?[`Request ID: ${b.signInWithSolana.requestId}`]:[],...!((d=(u=b==null?void 0:b.signInWithSolana)===null||u===void 0?void 0:u.resources)===null||d===void 0)&&d.length?["Resources",...b.signInWithSolana.resources.map(_=>`- ${_}`)]:[]].join(` +`);const w=await x.signMessage(new TextEncoder().encode(v),"utf8");if(!w||!(w instanceof Uint8Array))throw new Error("@supabase/auth-js: Wallet signMessage() API returned an recognized value");p=w}}try{const{data:y,error:m}=await Be(this.fetch,"POST",`${this.url}/token?grant_type=web3`,{headers:this.headers,body:Object.assign({chain:"solana",message:v,signature:hs(p)},!((f=t.options)===null||f===void 0)&&f.captchaToken?{gotrue_meta_security:{captcha_token:(h=t.options)===null||h===void 0?void 0:h.captchaToken}}:null),xform:Zr});if(m)throw m;if(!y||!y.session||!y.user){const g=new Ys;return this._returnResult({data:{user:null,session:null},error:g})}return y.session&&(await this._saveSession(y.session),await this._notifyAllSubscribers("SIGNED_IN",y.session)),this._returnResult({data:Object.assign({},y),error:m})}catch(y){if(Ne(y))return this._returnResult({data:{user:null,session:null},error:y});throw y}}async _exchangeCodeForSession(t){const n=await Yo(this.storage,`${this.storageKey}-code-verifier`),[r,i]=(n??"").split("/");try{if(!r&&this.flowType==="pkce")throw new T$;const{data:a,error:o}=await Be(this.fetch,"POST",`${this.url}/token?grant_type=pkce`,{headers:this.headers,body:{auth_code:t,code_verifier:r},xform:Zr});if(await gn(this.storage,`${this.storageKey}-code-verifier`),o)throw o;if(!a||!a.session||!a.user){const s=new Ys;return this._returnResult({data:{user:null,session:null,redirectType:null},error:s})}return a.session&&(await this._saveSession(a.session),await this._notifyAllSubscribers(i==="recovery"?"PASSWORD_RECOVERY":"SIGNED_IN",a.session)),this._returnResult({data:Object.assign(Object.assign({},a),{redirectType:i??null}),error:o})}catch(a){if(await gn(this.storage,`${this.storageKey}-code-verifier`),Ne(a))return this._returnResult({data:{user:null,session:null,redirectType:null},error:a});throw a}}async signInWithIdToken(t){try{const{options:n,provider:r,token:i,access_token:a,nonce:o}=t,s=await Be(this.fetch,"POST",`${this.url}/token?grant_type=id_token`,{headers:this.headers,body:{provider:r,id_token:i,access_token:a,nonce:o,gotrue_meta_security:{captcha_token:n==null?void 0:n.captchaToken}},xform:Zr}),{data:l,error:c}=s;if(c)return this._returnResult({data:{user:null,session:null},error:c});if(!l||!l.session||!l.user){const u=new Ys;return this._returnResult({data:{user:null,session:null},error:u})}return l.session&&(await this._saveSession(l.session),await this._notifyAllSubscribers("SIGNED_IN",l.session)),this._returnResult({data:l,error:c})}catch(n){if(Ne(n))return this._returnResult({data:{user:null,session:null},error:n});throw n}}async signInWithOtp(t){var n,r,i,a,o;try{if("email"in t){const{email:s,options:l}=t;let c=null,u=null;this.flowType==="pkce"&&([c,u]=await Js(this.storage,this.storageKey));const{error:d}=await Be(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{email:s,data:(n=l==null?void 0:l.data)!==null&&n!==void 0?n:{},create_user:(r=l==null?void 0:l.shouldCreateUser)!==null&&r!==void 0?r:!0,gotrue_meta_security:{captcha_token:l==null?void 0:l.captchaToken},code_challenge:c,code_challenge_method:u},redirectTo:l==null?void 0:l.emailRedirectTo});return this._returnResult({data:{user:null,session:null},error:d})}if("phone"in t){const{phone:s,options:l}=t,{data:c,error:u}=await Be(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{phone:s,data:(i=l==null?void 0:l.data)!==null&&i!==void 0?i:{},create_user:(a=l==null?void 0:l.shouldCreateUser)!==null&&a!==void 0?a:!0,gotrue_meta_security:{captcha_token:l==null?void 0:l.captchaToken},channel:(o=l==null?void 0:l.channel)!==null&&o!==void 0?o:"sms"}});return this._returnResult({data:{user:null,session:null,messageId:c==null?void 0:c.message_id},error:u})}throw new Lh("You must provide either an email or phone number.")}catch(s){if(await gn(this.storage,`${this.storageKey}-code-verifier`),Ne(s))return this._returnResult({data:{user:null,session:null},error:s});throw s}}async verifyOtp(t){var n,r;try{let i,a;"options"in t&&(i=(n=t.options)===null||n===void 0?void 0:n.redirectTo,a=(r=t.options)===null||r===void 0?void 0:r.captchaToken);const{data:o,error:s}=await Be(this.fetch,"POST",`${this.url}/verify`,{headers:this.headers,body:Object.assign(Object.assign({},t),{gotrue_meta_security:{captcha_token:a}}),redirectTo:i,xform:Zr});if(s)throw s;if(!o)throw new Error("An error occurred on token verification.");const l=o.session,c=o.user;return l!=null&&l.access_token&&(await this._saveSession(l),await this._notifyAllSubscribers(t.type=="recovery"?"PASSWORD_RECOVERY":"SIGNED_IN",l)),this._returnResult({data:{user:c,session:l},error:null})}catch(i){if(Ne(i))return this._returnResult({data:{user:null,session:null},error:i});throw i}}async signInWithSSO(t){var n,r,i,a,o;try{let s=null,l=null;this.flowType==="pkce"&&([s,l]=await Js(this.storage,this.storageKey));const c=await Be(this.fetch,"POST",`${this.url}/sso`,{body:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},"providerId"in t?{provider_id:t.providerId}:null),"domain"in t?{domain:t.domain}:null),{redirect_to:(r=(n=t.options)===null||n===void 0?void 0:n.redirectTo)!==null&&r!==void 0?r:void 0}),!((i=t==null?void 0:t.options)===null||i===void 0)&&i.captchaToken?{gotrue_meta_security:{captcha_token:t.options.captchaToken}}:null),{skip_http_redirect:!0,code_challenge:s,code_challenge_method:l}),headers:this.headers,xform:Y$});return!((a=c.data)===null||a===void 0)&&a.url&&vn()&&!(!((o=t.options)===null||o===void 0)&&o.skipBrowserRedirect)&&window.location.assign(c.data.url),this._returnResult(c)}catch(s){if(await gn(this.storage,`${this.storageKey}-code-verifier`),Ne(s))return this._returnResult({data:null,error:s});throw s}}async reauthenticate(){return await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>await this._reauthenticate())}async _reauthenticate(){try{return await this._useSession(async t=>{const{data:{session:n},error:r}=t;if(r)throw r;if(!n)throw new pr;const{error:i}=await Be(this.fetch,"GET",`${this.url}/reauthenticate`,{headers:this.headers,jwt:n.access_token});return this._returnResult({data:{user:null,session:null},error:i})})}catch(t){if(Ne(t))return this._returnResult({data:{user:null,session:null},error:t});throw t}}async resend(t){try{const n=`${this.url}/resend`;if("email"in t){const{email:r,type:i,options:a}=t,{error:o}=await Be(this.fetch,"POST",n,{headers:this.headers,body:{email:r,type:i,gotrue_meta_security:{captcha_token:a==null?void 0:a.captchaToken}},redirectTo:a==null?void 0:a.emailRedirectTo});return this._returnResult({data:{user:null,session:null},error:o})}else if("phone"in t){const{phone:r,type:i,options:a}=t,{data:o,error:s}=await Be(this.fetch,"POST",n,{headers:this.headers,body:{phone:r,type:i,gotrue_meta_security:{captcha_token:a==null?void 0:a.captchaToken}}});return this._returnResult({data:{user:null,session:null,messageId:o==null?void 0:o.message_id},error:s})}throw new Lh("You must provide either an email or phone number and a type")}catch(n){if(Ne(n))return this._returnResult({data:{user:null,session:null},error:n});throw n}}async getSession(){return await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>this._useSession(async n=>n))}async _acquireLock(t,n){this._debug("#_acquireLock","begin",t);try{if(this.lockAcquired){const r=this.pendingInLock.length?this.pendingInLock[this.pendingInLock.length-1]:Promise.resolve(),i=(async()=>(await r,await n()))();return this.pendingInLock.push((async()=>{try{await i}catch{}})()),i}return await this.lock(`lock:${this.storageKey}`,t,async()=>{this._debug("#_acquireLock","lock acquired for storage key",this.storageKey);try{this.lockAcquired=!0;const r=n();for(this.pendingInLock.push((async()=>{try{await r}catch{}})()),await r;this.pendingInLock.length;){const i=[...this.pendingInLock];await Promise.all(i),this.pendingInLock.splice(0,i.length)}return await r}finally{this._debug("#_acquireLock","lock released for storage key",this.storageKey),this.lockAcquired=!1}})}finally{this._debug("#_acquireLock","end")}}async _useSession(t){this._debug("#_useSession","begin");try{const n=await this.__loadSession();return await t(n)}finally{this._debug("#_useSession","end")}}async __loadSession(){this._debug("#__loadSession()","begin"),this.lockAcquired||this._debug("#__loadSession()","used outside of an acquired lock!",new Error().stack);try{let t=null;const n=await Yo(this.storage,this.storageKey);if(this._debug("#getSession()","session from storage",n),n!==null&&(this._isValidSession(n)?t=n:(this._debug("#getSession()","session from storage is not valid"),await this._removeSession())),!t)return{data:{session:null},error:null};const r=t.expires_at?t.expires_at*1e3-Date.now()await this._getUser());return n.data.user&&(this.suppressGetSessionWarning=!0),n}async _getUser(t){try{return t?await Be(this.fetch,"GET",`${this.url}/user`,{headers:this.headers,jwt:t,xform:Za}):await this._useSession(async n=>{var r,i,a;const{data:o,error:s}=n;if(s)throw s;return!(!((r=o.session)===null||r===void 0)&&r.access_token)&&!this.hasCustomAuthorizationHeader?{data:{user:null},error:new pr}:await Be(this.fetch,"GET",`${this.url}/user`,{headers:this.headers,jwt:(a=(i=o.session)===null||i===void 0?void 0:i.access_token)!==null&&a!==void 0?a:void 0,xform:Za})})}catch(n){if(Ne(n))return jh(n)&&(await this._removeSession(),await gn(this.storage,`${this.storageKey}-code-verifier`)),this._returnResult({data:{user:null},error:n});throw n}}async updateUser(t,n={}){return await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>await this._updateUser(t,n))}async _updateUser(t,n={}){try{return await this._useSession(async r=>{const{data:i,error:a}=r;if(a)throw a;if(!i.session)throw new pr;const o=i.session;let s=null,l=null;this.flowType==="pkce"&&t.email!=null&&([s,l]=await Js(this.storage,this.storageKey));const{data:c,error:u}=await Be(this.fetch,"PUT",`${this.url}/user`,{headers:this.headers,redirectTo:n==null?void 0:n.emailRedirectTo,body:Object.assign(Object.assign({},t),{code_challenge:s,code_challenge_method:l}),jwt:o.access_token,xform:Za});if(u)throw u;return o.user=c.user,await this._saveSession(o),await this._notifyAllSubscribers("USER_UPDATED",o),this._returnResult({data:{user:o.user},error:null})})}catch(r){if(await gn(this.storage,`${this.storageKey}-code-verifier`),Ne(r))return this._returnResult({data:{user:null},error:r});throw r}}async setSession(t){return await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>await this._setSession(t))}async _setSession(t){try{if(!t.access_token||!t.refresh_token)throw new pr;const n=Date.now()/1e3;let r=n,i=!0,a=null;const{payload:o}=Wh(t.access_token);if(o.exp&&(r=o.exp,i=r<=n),i){const{data:s,error:l}=await this._callRefreshToken(t.refresh_token);if(l)return this._returnResult({data:{user:null,session:null},error:l});if(!s)return{data:{user:null,session:null},error:null};a=s}else{const{data:s,error:l}=await this._getUser(t.access_token);if(l)return this._returnResult({data:{user:null,session:null},error:l});a={access_token:t.access_token,refresh_token:t.refresh_token,user:s.user,token_type:"bearer",expires_in:r-n,expires_at:r},await this._saveSession(a),await this._notifyAllSubscribers("SIGNED_IN",a)}return this._returnResult({data:{user:a.user,session:a},error:null})}catch(n){if(Ne(n))return this._returnResult({data:{session:null,user:null},error:n});throw n}}async refreshSession(t){return await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>await this._refreshSession(t))}async _refreshSession(t){try{return await this._useSession(async n=>{var r;if(!t){const{data:o,error:s}=n;if(s)throw s;t=(r=o.session)!==null&&r!==void 0?r:void 0}if(!(t!=null&&t.refresh_token))throw new pr;const{data:i,error:a}=await this._callRefreshToken(t.refresh_token);return a?this._returnResult({data:{user:null,session:null},error:a}):i?this._returnResult({data:{user:i.user,session:i},error:null}):this._returnResult({data:{user:null,session:null},error:null})})}catch(n){if(Ne(n))return this._returnResult({data:{user:null,session:null},error:n});throw n}}async _getSessionFromURL(t,n){var r;try{if(!vn())throw new zh("No browser detected.");if(t.error||t.error_description||t.error_code)throw new zh(t.error_description||"Error in URL with unspecified error_description",{error:t.error||"unspecified_error",code:t.error_code||"unspecified_code"});switch(n){case"implicit":if(this.flowType==="pkce")throw new D5("Not a valid PKCE flow url.");break;case"pkce":if(this.flowType==="implicit")throw new zh("Not a valid implicit grant flow url.");break;default:}if(n==="pkce"){if(this._debug("#_initialize()","begin","is PKCE flow",!0),!t.code)throw new D5("No code detected.");const{data:b,error:x}=await this._exchangeCodeForSession(t.code);if(x)throw x;const D=new URL(window.location.href);return D.searchParams.delete("code"),window.history.replaceState(window.history.state,"",D.toString()),{data:{session:b.session,redirectType:(r=b.redirectType)!==null&&r!==void 0?r:null},error:null}}const{provider_token:i,provider_refresh_token:a,access_token:o,refresh_token:s,expires_in:l,expires_at:c,token_type:u}=t;if(!o||!l||!s||!u)throw new zh("No session defined in URL");const d=Math.round(Date.now()/1e3),f=parseInt(l);let h=d+f;c&&(h=parseInt(c));const v=h-d;v*1e3<=pl&&console.warn(`@supabase/gotrue-js: Session as retrieved from URL expires in ${v}s, should have been closer to ${f}s`);const p=h-f;d-p>=120?console.warn("@supabase/gotrue-js: Session as retrieved from URL was issued over 120s ago, URL could be stale",p,h,d):d-p<0&&console.warn("@supabase/gotrue-js: Session as retrieved from URL was issued in the future? Check the device clock for skew",p,h,d);const{data:y,error:m}=await this._getUser(o);if(m)throw m;const g={provider_token:i,provider_refresh_token:a,access_token:o,expires_in:f,expires_at:h,refresh_token:s,token_type:u,user:y.user};return window.location.hash="",this._debug("#_getSessionFromURL()","clearing window.location.hash"),this._returnResult({data:{session:g,redirectType:t.type},error:null})}catch(i){if(Ne(i))return this._returnResult({data:{session:null,redirectType:null},error:i});throw i}}_isImplicitGrantCallback(t){return typeof this.detectSessionInUrl=="function"?this.detectSessionInUrl(new URL(window.location.href),t):!!(t.access_token||t.error_description)}async _isPKCECallback(t){const n=await Yo(this.storage,`${this.storageKey}-code-verifier`);return!!(t.code&&n)}async signOut(t={scope:"global"}){return await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>await this._signOut(t))}async _signOut({scope:t}={scope:"global"}){return await this._useSession(async n=>{var r;const{data:i,error:a}=n;if(a&&!jh(a))return this._returnResult({error:a});const o=(r=i.session)===null||r===void 0?void 0:r.access_token;if(o){const{error:s}=await this.admin.signOut(o,t);if(s&&!(k$(s)&&(s.status===404||s.status===401||s.status===403)||jh(s)))return this._returnResult({error:s})}return t!=="others"&&(await this._removeSession(),await gn(this.storage,`${this.storageKey}-code-verifier`)),this._returnResult({error:null})})}onAuthStateChange(t){const n=R$(),r={id:n,callback:t,unsubscribe:()=>{this._debug("#unsubscribe()","state change callback with id removed",n),this.stateChangeEmitters.delete(n)}};return this._debug("#onAuthStateChange()","registered callback with id",n),this.stateChangeEmitters.set(n,r),(async()=>(await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>{this._emitInitialSession(n)})))(),{data:{subscription:r}}}async _emitInitialSession(t){return await this._useSession(async n=>{var r,i;try{const{data:{session:a},error:o}=n;if(o)throw o;await((r=this.stateChangeEmitters.get(t))===null||r===void 0?void 0:r.callback("INITIAL_SESSION",a)),this._debug("INITIAL_SESSION","callback id",t,"session",a)}catch(a){await((i=this.stateChangeEmitters.get(t))===null||i===void 0?void 0:i.callback("INITIAL_SESSION",null)),this._debug("INITIAL_SESSION","callback id",t,"error",a),jh(a)?console.warn(a):console.error(a)}})}async resetPasswordForEmail(t,n={}){let r=null,i=null;this.flowType==="pkce"&&([r,i]=await Js(this.storage,this.storageKey,!0));try{return await Be(this.fetch,"POST",`${this.url}/recover`,{body:{email:t,code_challenge:r,code_challenge_method:i,gotrue_meta_security:{captcha_token:n.captchaToken}},headers:this.headers,redirectTo:n.redirectTo})}catch(a){if(await gn(this.storage,`${this.storageKey}-code-verifier`),Ne(a))return this._returnResult({data:null,error:a});throw a}}async getUserIdentities(){var t;try{const{data:n,error:r}=await this.getUser();if(r)throw r;return this._returnResult({data:{identities:(t=n.user.identities)!==null&&t!==void 0?t:[]},error:null})}catch(n){if(Ne(n))return this._returnResult({data:null,error:n});throw n}}async linkIdentity(t){return"token"in t?this.linkIdentityIdToken(t):this.linkIdentityOAuth(t)}async linkIdentityOAuth(t){var n;try{const{data:r,error:i}=await this._useSession(async a=>{var o,s,l,c,u;const{data:d,error:f}=a;if(f)throw f;const h=await this._getUrlForProvider(`${this.url}/user/identities/authorize`,t.provider,{redirectTo:(o=t.options)===null||o===void 0?void 0:o.redirectTo,scopes:(s=t.options)===null||s===void 0?void 0:s.scopes,queryParams:(l=t.options)===null||l===void 0?void 0:l.queryParams,skipBrowserRedirect:!0});return await Be(this.fetch,"GET",h,{headers:this.headers,jwt:(u=(c=d.session)===null||c===void 0?void 0:c.access_token)!==null&&u!==void 0?u:void 0})});if(i)throw i;return vn()&&!(!((n=t.options)===null||n===void 0)&&n.skipBrowserRedirect)&&window.location.assign(r==null?void 0:r.url),this._returnResult({data:{provider:t.provider,url:r==null?void 0:r.url},error:null})}catch(r){if(Ne(r))return this._returnResult({data:{provider:t.provider,url:null},error:r});throw r}}async linkIdentityIdToken(t){return await this._useSession(async n=>{var r;try{const{error:i,data:{session:a}}=n;if(i)throw i;const{options:o,provider:s,token:l,access_token:c,nonce:u}=t,d=await Be(this.fetch,"POST",`${this.url}/token?grant_type=id_token`,{headers:this.headers,jwt:(r=a==null?void 0:a.access_token)!==null&&r!==void 0?r:void 0,body:{provider:s,id_token:l,access_token:c,nonce:u,link_identity:!0,gotrue_meta_security:{captcha_token:o==null?void 0:o.captchaToken}},xform:Zr}),{data:f,error:h}=d;return h?this._returnResult({data:{user:null,session:null},error:h}):!f||!f.session||!f.user?this._returnResult({data:{user:null,session:null},error:new Ys}):(f.session&&(await this._saveSession(f.session),await this._notifyAllSubscribers("USER_UPDATED",f.session)),this._returnResult({data:f,error:h}))}catch(i){if(await gn(this.storage,`${this.storageKey}-code-verifier`),Ne(i))return this._returnResult({data:{user:null,session:null},error:i});throw i}})}async unlinkIdentity(t){try{return await this._useSession(async n=>{var r,i;const{data:a,error:o}=n;if(o)throw o;return await Be(this.fetch,"DELETE",`${this.url}/user/identities/${t.identity_id}`,{headers:this.headers,jwt:(i=(r=a.session)===null||r===void 0?void 0:r.access_token)!==null&&i!==void 0?i:void 0})})}catch(n){if(Ne(n))return this._returnResult({data:null,error:n});throw n}}async _refreshAccessToken(t){const n=`#_refreshAccessToken(${t.substring(0,5)}...)`;this._debug(n,"begin");try{const r=Date.now();return await P$(async i=>(i>0&&await I$(200*Math.pow(2,i-1)),this._debug(n,"refreshing attempt",i),await Be(this.fetch,"POST",`${this.url}/token?grant_type=refresh_token`,{body:{refresh_token:t},headers:this.headers,xform:Zr})),(i,a)=>{const o=200*Math.pow(2,i);return a&&kg(a)&&Date.now()+o-r{try{await s.callback(t,n)}catch(l){a.push(l)}});if(await Promise.all(o),a.length>0){for(let s=0;sthis._autoRefreshTokenTick(),pl);this.autoRefreshTicker=t,t&&typeof t=="object"&&typeof t.unref=="function"?t.unref():typeof Deno<"u"&&typeof Deno.unrefTimer=="function"&&Deno.unrefTimer(t);const n=setTimeout(async()=>{await this.initializePromise,await this._autoRefreshTokenTick()},0);this.autoRefreshTickTimeout=n,n&&typeof n=="object"&&typeof n.unref=="function"?n.unref():typeof Deno<"u"&&typeof Deno.unrefTimer=="function"&&Deno.unrefTimer(n)}async _stopAutoRefresh(){this._debug("#_stopAutoRefresh()");const t=this.autoRefreshTicker;this.autoRefreshTicker=null,t&&clearInterval(t);const n=this.autoRefreshTickTimeout;this.autoRefreshTickTimeout=null,n&&clearTimeout(n)}async startAutoRefresh(){this._removeVisibilityChangedCallback(),await this._startAutoRefresh()}async stopAutoRefresh(){this._removeVisibilityChangedCallback(),await this._stopAutoRefresh()}async _autoRefreshTokenTick(){this._debug("#_autoRefreshTokenTick()","begin");try{await this._acquireLock(0,async()=>{try{const t=Date.now();try{return await this._useSession(async n=>{const{data:{session:r}}=n;if(!r||!r.refresh_token||!r.expires_at){this._debug("#_autoRefreshTokenTick()","no session");return}const i=Math.floor((r.expires_at*1e3-t)/pl);this._debug("#_autoRefreshTokenTick()",`access token expires in ${i} ticks, a tick lasts ${pl}ms, refresh threshold is ${W2} ticks`),i<=W2&&await this._callRefreshToken(r.refresh_token)})}catch(n){console.error("Auto refresh tick failed with error. This is likely a transient error.",n)}}finally{this._debug("#_autoRefreshTokenTick()","end")}})}catch(t){if(t.isAcquireTimeout||t instanceof kE)this._debug("auto refresh token tick lock not available");else throw t}}async _handleVisibilityChange(){if(this._debug("#_handleVisibilityChange()"),!vn()||!(window!=null&&window.addEventListener))return this.autoRefreshToken&&this.startAutoRefresh(),!1;try{this.visibilityChangedCallback=async()=>{try{await this._onVisibilityChanged(!1)}catch(t){this._debug("#visibilityChangedCallback","error",t)}},window==null||window.addEventListener("visibilitychange",this.visibilityChangedCallback),await this._onVisibilityChanged(!0)}catch(t){console.error("_handleVisibilityChange",t)}}async _onVisibilityChanged(t){const n=`#_onVisibilityChanged(${t})`;this._debug(n,"visibilityState",document.visibilityState),document.visibilityState==="visible"?(this.autoRefreshToken&&this._startAutoRefresh(),t||(await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>{if(document.visibilityState!=="visible"){this._debug(n,"acquired the lock to recover the session, but the browser visibilityState is no longer visible, aborting");return}await this._recoverAndRefresh()}))):document.visibilityState==="hidden"&&this.autoRefreshToken&&this._stopAutoRefresh()}async _getUrlForProvider(t,n,r){const i=[`provider=${encodeURIComponent(n)}`];if(r!=null&&r.redirectTo&&i.push(`redirect_to=${encodeURIComponent(r.redirectTo)}`),r!=null&&r.scopes&&i.push(`scopes=${encodeURIComponent(r.scopes)}`),this.flowType==="pkce"){const[a,o]=await Js(this.storage,this.storageKey),s=new URLSearchParams({code_challenge:`${encodeURIComponent(a)}`,code_challenge_method:`${encodeURIComponent(o)}`});i.push(s.toString())}if(r!=null&&r.queryParams){const a=new URLSearchParams(r.queryParams);i.push(a.toString())}return r!=null&&r.skipBrowserRedirect&&i.push(`skip_http_redirect=${r.skipBrowserRedirect}`),`${t}?${i.join("&")}`}async _unenroll(t){try{return await this._useSession(async n=>{var r;const{data:i,error:a}=n;return a?this._returnResult({data:null,error:a}):await Be(this.fetch,"DELETE",`${this.url}/factors/${t.factorId}`,{headers:this.headers,jwt:(r=i==null?void 0:i.session)===null||r===void 0?void 0:r.access_token})})}catch(n){if(Ne(n))return this._returnResult({data:null,error:n});throw n}}async _enroll(t){try{return await this._useSession(async n=>{var r,i;const{data:a,error:o}=n;if(o)return this._returnResult({data:null,error:o});const s=Object.assign({friendly_name:t.friendlyName,factor_type:t.factorType},t.factorType==="phone"?{phone:t.phone}:t.factorType==="totp"?{issuer:t.issuer}:{}),{data:l,error:c}=await Be(this.fetch,"POST",`${this.url}/factors`,{body:s,headers:this.headers,jwt:(r=a==null?void 0:a.session)===null||r===void 0?void 0:r.access_token});return c?this._returnResult({data:null,error:c}):(t.factorType==="totp"&&l.type==="totp"&&(!((i=l==null?void 0:l.totp)===null||i===void 0)&&i.qr_code)&&(l.totp.qr_code=`data:image/svg+xml;utf-8,${l.totp.qr_code}`),this._returnResult({data:l,error:null}))})}catch(n){if(Ne(n))return this._returnResult({data:null,error:n});throw n}}async _verify(t){return this._acquireLock(this.lockAcquireTimeout,async()=>{try{return await this._useSession(async n=>{var r;const{data:i,error:a}=n;if(a)return this._returnResult({data:null,error:a});const o=Object.assign({challenge_id:t.challengeId},"webauthn"in t?{webauthn:Object.assign(Object.assign({},t.webauthn),{credential_response:t.webauthn.type==="create"?dq(t.webauthn.credential_response):hq(t.webauthn.credential_response)})}:{code:t.code}),{data:s,error:l}=await Be(this.fetch,"POST",`${this.url}/factors/${t.factorId}/verify`,{body:o,headers:this.headers,jwt:(r=i==null?void 0:i.session)===null||r===void 0?void 0:r.access_token});return l?this._returnResult({data:null,error:l}):(await this._saveSession(Object.assign({expires_at:Math.round(Date.now()/1e3)+s.expires_in},s)),await this._notifyAllSubscribers("MFA_CHALLENGE_VERIFIED",s),this._returnResult({data:s,error:l}))})}catch(n){if(Ne(n))return this._returnResult({data:null,error:n});throw n}})}async _challenge(t){return this._acquireLock(this.lockAcquireTimeout,async()=>{try{return await this._useSession(async n=>{var r;const{data:i,error:a}=n;if(a)return this._returnResult({data:null,error:a});const o=await Be(this.fetch,"POST",`${this.url}/factors/${t.factorId}/challenge`,{body:t,headers:this.headers,jwt:(r=i==null?void 0:i.session)===null||r===void 0?void 0:r.access_token});if(o.error)return o;const{data:s}=o;if(s.type!=="webauthn")return{data:s,error:null};switch(s.webauthn.type){case"create":return{data:Object.assign(Object.assign({},s),{webauthn:Object.assign(Object.assign({},s.webauthn),{credential_options:Object.assign(Object.assign({},s.webauthn.credential_options),{publicKey:cq(s.webauthn.credential_options.publicKey)})})}),error:null};case"request":return{data:Object.assign(Object.assign({},s),{webauthn:Object.assign(Object.assign({},s.webauthn),{credential_options:Object.assign(Object.assign({},s.webauthn.credential_options),{publicKey:uq(s.webauthn.credential_options.publicKey)})})}),error:null}}})}catch(n){if(Ne(n))return this._returnResult({data:null,error:n});throw n}})}async _challengeAndVerify(t){const{data:n,error:r}=await this._challenge({factorId:t.factorId});return r?this._returnResult({data:null,error:r}):await this._verify({factorId:t.factorId,challengeId:n.id,code:t.code})}async _listFactors(){var t;const{data:{user:n},error:r}=await this.getUser();if(r)return{data:null,error:r};const i={all:[],phone:[],totp:[],webauthn:[]};for(const a of(t=n==null?void 0:n.factors)!==null&&t!==void 0?t:[])i.all.push(a),a.status==="verified"&&i[a.factor_type].push(a);return{data:i,error:null}}async _getAuthenticatorAssuranceLevel(t){var n,r,i,a;if(t)try{const{payload:h}=Wh(t);let v=null;h.aal&&(v=h.aal);let p=v;const{data:{user:y},error:m}=await this.getUser(t);if(m)return this._returnResult({data:null,error:m});((r=(n=y==null?void 0:y.factors)===null||n===void 0?void 0:n.filter(x=>x.status==="verified"))!==null&&r!==void 0?r:[]).length>0&&(p="aal2");const b=h.amr||[];return{data:{currentLevel:v,nextLevel:p,currentAuthenticationMethods:b},error:null}}catch(h){if(Ne(h))return this._returnResult({data:null,error:h});throw h}const{data:{session:o},error:s}=await this.getSession();if(s)return this._returnResult({data:null,error:s});if(!o)return{data:{currentLevel:null,nextLevel:null,currentAuthenticationMethods:[]},error:null};const{payload:l}=Wh(o.access_token);let c=null;l.aal&&(c=l.aal);let u=c;((a=(i=o.user.factors)===null||i===void 0?void 0:i.filter(h=>h.status==="verified"))!==null&&a!==void 0?a:[]).length>0&&(u="aal2");const f=l.amr||[];return{data:{currentLevel:c,nextLevel:u,currentAuthenticationMethods:f},error:null}}async _getAuthorizationDetails(t){try{return await this._useSession(async n=>{const{data:{session:r},error:i}=n;return i?this._returnResult({data:null,error:i}):r?await Be(this.fetch,"GET",`${this.url}/oauth/authorizations/${t}`,{headers:this.headers,jwt:r.access_token,xform:a=>({data:a,error:null})}):this._returnResult({data:null,error:new pr})})}catch(n){if(Ne(n))return this._returnResult({data:null,error:n});throw n}}async _approveAuthorization(t,n){try{return await this._useSession(async r=>{const{data:{session:i},error:a}=r;if(a)return this._returnResult({data:null,error:a});if(!i)return this._returnResult({data:null,error:new pr});const o=await Be(this.fetch,"POST",`${this.url}/oauth/authorizations/${t}/consent`,{headers:this.headers,jwt:i.access_token,body:{action:"approve"},xform:s=>({data:s,error:null})});return o.data&&o.data.redirect_url&&vn()&&!(n!=null&&n.skipBrowserRedirect)&&window.location.assign(o.data.redirect_url),o})}catch(r){if(Ne(r))return this._returnResult({data:null,error:r});throw r}}async _denyAuthorization(t,n){try{return await this._useSession(async r=>{const{data:{session:i},error:a}=r;if(a)return this._returnResult({data:null,error:a});if(!i)return this._returnResult({data:null,error:new pr});const o=await Be(this.fetch,"POST",`${this.url}/oauth/authorizations/${t}/consent`,{headers:this.headers,jwt:i.access_token,body:{action:"deny"},xform:s=>({data:s,error:null})});return o.data&&o.data.redirect_url&&vn()&&!(n!=null&&n.skipBrowserRedirect)&&window.location.assign(o.data.redirect_url),o})}catch(r){if(Ne(r))return this._returnResult({data:null,error:r});throw r}}async _listOAuthGrants(){try{return await this._useSession(async t=>{const{data:{session:n},error:r}=t;return r?this._returnResult({data:null,error:r}):n?await Be(this.fetch,"GET",`${this.url}/user/oauth/grants`,{headers:this.headers,jwt:n.access_token,xform:i=>({data:i,error:null})}):this._returnResult({data:null,error:new pr})})}catch(t){if(Ne(t))return this._returnResult({data:null,error:t});throw t}}async _revokeOAuthGrant(t){try{return await this._useSession(async n=>{const{data:{session:r},error:i}=n;return i?this._returnResult({data:null,error:i}):r?(await Be(this.fetch,"DELETE",`${this.url}/user/oauth/grants`,{headers:this.headers,jwt:r.access_token,query:{client_id:t.clientId},noResolveJson:!0}),{data:{},error:null}):this._returnResult({data:null,error:new pr})})}catch(n){if(Ne(n))return this._returnResult({data:null,error:n});throw n}}async fetchJwk(t,n={keys:[]}){let r=n.keys.find(s=>s.kid===t);if(r)return r;const i=Date.now();if(r=this.jwks.keys.find(s=>s.kid===t),r&&this.jwks_cached_at+w$>i)return r;const{data:a,error:o}=await Be(this.fetch,"GET",`${this.url}/.well-known/jwks.json`,{headers:this.headers});if(o)throw o;return!a.keys||a.keys.length===0||(this.jwks=a,this.jwks_cached_at=i,r=a.keys.find(s=>s.kid===t),!r)?null:r}async getClaims(t,n={}){try{let r=t;if(!r){const{data:h,error:v}=await this.getSession();if(v||!h.session)return this._returnResult({data:null,error:v});r=h.session.access_token}const{header:i,payload:a,signature:o,raw:{header:s,payload:l}}=Wh(r);n!=null&&n.allowExpired||$$(a.exp);const c=!i.alg||i.alg.startsWith("HS")||!i.kid||!("crypto"in globalThis&&"subtle"in globalThis.crypto)?null:await this.fetchJwk(i.kid,n!=null&&n.keys?{keys:n.keys}:n==null?void 0:n.jwks);if(!c){const{error:h}=await this.getUser(r);if(h)throw h;return{data:{claims:a,header:i,signature:o},error:null}}const u=q$(i.alg),d=await crypto.subtle.importKey("jwk",c,u,!0,["verify"]);if(!await crypto.subtle.verify(u,d,o,U$(`${s}.${l}`)))throw new H2("Invalid JWT signature");return{data:{claims:a,header:i,signature:o},error:null}}catch(r){if(Ne(r))return this._returnResult({data:null,error:r});throw r}}}dd.nextInstanceID={};const wq=dd,Dq="2.104.1";let gu="";typeof Deno<"u"?gu="deno":typeof document<"u"?gu="web":typeof navigator<"u"&&navigator.product==="ReactNative"?gu="react-native":gu="node";const kq={"X-Client-Info":`supabase-js-${gu}/${Dq}`},_q={headers:kq},Tq={schema:"public"},Eq={autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,flowType:"implicit"},Sq={};function hd(e){"@babel/helpers - typeof";return hd=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},hd(e)}function Cq(e,t){if(hd(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(hd(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Aq(e){var t=Cq(e,"string");return hd(t)=="symbol"?t:t+""}function Uq(e,t,n){return(t=Aq(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function I5(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Wt(e){for(var t=1;te?(...t)=>e(...t):(...t)=>fetch(...t),Rq=()=>Headers,Nq=(e,t,n)=>{const r=Fq(n),i=Rq();return async(a,o)=>{var s;const l=(s=await t())!==null&&s!==void 0?s:e;let c=new i(o==null?void 0:o.headers);return c.has("apikey")||c.set("apikey",e),c.has("Authorization")||c.set("Authorization",`Bearer ${l}`),r(a,Wt(Wt({},o),{},{headers:c}))}};function Oq(e){return e.endsWith("/")?e:e+"/"}function Iq(e,t){var n,r;const{db:i,auth:a,realtime:o,global:s}=e,{db:l,auth:c,realtime:u,global:d}=t,f={db:Wt(Wt({},l),i),auth:Wt(Wt({},c),a),realtime:Wt(Wt({},u),o),storage:{},global:Wt(Wt(Wt({},d),s),{},{headers:Wt(Wt({},(n=d==null?void 0:d.headers)!==null&&n!==void 0?n:{}),(r=s==null?void 0:s.headers)!==null&&r!==void 0?r:{})}),accessToken:async()=>""};return e.accessToken?f.accessToken=e.accessToken:delete f.accessToken,f}function Pq(e){const t=e==null?void 0:e.trim();if(!t)throw new Error("supabaseUrl is required.");if(!t.match(/^https?:\/\//i))throw new Error("Invalid supabaseUrl: Must be a valid HTTP or HTTPS URL.");try{return new URL(Oq(t))}catch{throw Error("Invalid supabaseUrl: Provided URL is malformed.")}}var Bq=class extends wq{constructor(e){super(e)}},Mq=class{constructor(e,t,n){var r,i;this.supabaseUrl=e,this.supabaseKey=t;const a=Pq(e);if(!t)throw new Error("supabaseKey is required.");this.realtimeUrl=new URL("realtime/v1",a),this.realtimeUrl.protocol=this.realtimeUrl.protocol.replace("http","ws"),this.authUrl=new URL("auth/v1",a),this.storageUrl=new URL("storage/v1",a),this.functionsUrl=new URL("functions/v1",a);const o=`sb-${a.hostname.split(".")[0]}-auth-token`,s={db:Tq,realtime:Sq,auth:Wt(Wt({},Eq),{},{storageKey:o}),global:_q},l=Iq(n??{},s);if(this.storageKey=(r=l.auth.storageKey)!==null&&r!==void 0?r:"",this.headers=(i=l.global.headers)!==null&&i!==void 0?i:{},l.accessToken)this.accessToken=l.accessToken,this.auth=new Proxy({},{get:(u,d)=>{throw new Error(`@supabase/supabase-js: Supabase Client is configured with the accessToken option, accessing supabase.auth.${String(d)} is not possible`)}});else{var c;this.auth=this._initSupabaseAuthClient((c=l.auth)!==null&&c!==void 0?c:{},this.headers,l.global.fetch)}this.fetch=Nq(t,this._getAccessToken.bind(this),l.global.fetch),this.realtime=this._initRealtimeClient(Wt({headers:this.headers,accessToken:this._getAccessToken.bind(this),fetch:this.fetch},l.realtime)),this.accessToken&&Promise.resolve(this.accessToken()).then(u=>this.realtime.setAuth(u)).catch(u=>console.warn("Failed to set initial Realtime auth token:",u)),this.rest=new aW(new URL("rest/v1",a).href,{headers:this.headers,schema:l.db.schema,fetch:this.fetch,timeout:l.db.timeout,urlLengthLimit:l.db.urlLengthLimit}),this.storage=new g$(this.storageUrl.href,this.headers,this.fetch,n==null?void 0:n.storage),l.accessToken||this._listenForAuthEvents()}get functions(){return new Kz(this.functionsUrl.href,{headers:this.headers,customFetch:this.fetch})}from(e){return this.rest.from(e)}schema(e){return this.rest.schema(e)}rpc(e,t={},n={head:!1,get:!1,count:void 0}){return this.rest.rpc(e,t,n)}channel(e,t={config:{}}){return this.realtime.channel(e,t)}getChannels(){return this.realtime.getChannels()}removeChannel(e){return this.realtime.removeChannel(e)}removeAllChannels(){return this.realtime.removeAllChannels()}async _getAccessToken(){var e=this,t,n;if(e.accessToken)return await e.accessToken();const{data:r}=await e.auth.getSession();return(t=(n=r.session)===null||n===void 0?void 0:n.access_token)!==null&&t!==void 0?t:e.supabaseKey}_initSupabaseAuthClient({autoRefreshToken:e,persistSession:t,detectSessionInUrl:n,storage:r,userStorage:i,storageKey:a,flowType:o,lock:s,debug:l,throwOnError:c},u,d){const f={Authorization:`Bearer ${this.supabaseKey}`,apikey:`${this.supabaseKey}`};return new Bq({url:this.authUrl.href,headers:Wt(Wt({},f),u),storageKey:a,autoRefreshToken:e,persistSession:t,detectSessionInUrl:n,storage:r,userStorage:i,flowType:o,lock:s,debug:l,throwOnError:c,fetch:d,hasCustomAuthorizationHeader:Object.keys(this.headers).some(h=>h.toLowerCase()==="authorization")})}_initRealtimeClient(e){return new jW(this.realtimeUrl.href,Wt(Wt({},e),{},{params:Wt(Wt({},{apikey:this.supabaseKey}),e==null?void 0:e.params)}))}_listenForAuthEvents(){return this.auth.onAuthStateChange((e,t)=>{this._handleTokenChanged(e,"CLIENT",t==null?void 0:t.access_token)})}_handleTokenChanged(e,t,n){(e==="TOKEN_REFRESHED"||e==="SIGNED_IN")&&this.changedAccessToken!==n?(this.changedAccessToken=n,this.realtime.setAuth(n)):e==="SIGNED_OUT"&&(this.realtime.setAuth(),t=="STORAGE"&&this.auth.signOut(),this.changedAccessToken=void 0)}};const jq=(e,t,n)=>new Mq(e,t,n);function Lq(){if(typeof window<"u")return!1;const e=globalThis.process;if(!e)return!1;const t=e.version;if(t==null)return!1;const n=t.match(/^v(\d+)\./);return n?parseInt(n[1],10)<=18:!1}Lq()&&console.warn("⚠️ Node.js 18 and below are deprecated and will no longer be supported in future versions of @supabase/supabase-js. Please upgrade to Node.js 20 or later. For more information, visit: https://github.com/orgs/supabase/discussions/37217");const zq="https://momxyrzmibxccqkmqbay.supabase.co",Wq="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Im1vbXh5cnptaWJ4Y2Nxa21xYmF5Iiwicm9sZSI6ImFub24iLCJpYXQiOjE3NzY2MTcwNjksImV4cCI6MjA5MjE5MzA2OX0.en2svoWyapwx4olnlOdlVGVy9_2zC4z_05hh-zL7elI",rt=jq(zq,Wq,{auth:{storage:localStorage,persistSession:!0,autoRefreshToken:!0}}),EE=R.createContext({user:null,session:null,loading:!0,signOut:async()=>{}});function $q({children:e}){const[t,n]=R.useState(null),[r,i]=R.useState(null),[a,o]=R.useState(!0);R.useEffect(()=>{const{data:l}=rt.auth.onAuthStateChange((c,u)=>{n(u),i((u==null?void 0:u.user)??null)});return rt.auth.getSession().then(({data:{session:c}})=>{n(c),i((c==null?void 0:c.user)??null),o(!1)}),()=>l.subscription.unsubscribe()},[]);const s=async()=>{await rt.auth.signOut()};return E.jsx(EE.Provider,{value:{user:r,session:t,loading:a,signOut:s},children:e})}const Ls=()=>R.useContext(EE);function qq({children:e}){const{user:t,loading:n}=Ls(),r=Bs();return n?E.jsx("div",{className:"min-h-screen flex items-center justify-center",children:E.jsx(qt,{className:"h-5 w-5 animate-spin text-muted-foreground"})}):t?E.jsx(E.Fragment,{children:e}):E.jsx(xB,{to:"/auth",state:{from:r},replace:!0})}const Hq=qd("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),ct=R.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...i},a)=>{const o=r?bM:"button";return E.jsx(o,{className:ot(Hq({variant:t,size:n,className:e})),ref:a,...i})});ct.displayName="Button";const Vq=[{icon:Hd,title:"Rich Notes",desc:"Markdown notes with tables, math and headings — streamed in real time."},{icon:fT,title:"Flashcards",desc:"Spaced-repetition friendly cards generated from your notes."},{icon:pT,title:"Quizzes",desc:"MCQ and short-answer questions with explanations and scoring."},{icon:Ff,title:"Podcasts",desc:"2-speaker audio version of any document, ready to listen on the go."},{icon:gT,title:"RAG Chat",desc:"Ask questions and get answers grounded in your document."}];function Gq(){const{user:e}=Ls();return E.jsxs("main",{className:"min-h-screen bg-background",children:[E.jsx("header",{className:"border-b border-border",children:E.jsxs("div",{className:"max-w-6xl mx-auto px-6 h-14 flex items-center justify-between",children:[E.jsxs(as,{to:"/",className:"flex items-center gap-2",children:[E.jsx("div",{className:"h-7 w-7 rounded-md bg-gradient-primary flex items-center justify-center shadow-glow",children:E.jsx(js,{className:"h-4 w-4 text-primary-foreground"})}),E.jsx("span",{className:"font-semibold tracking-tight",children:"Source.AI"})]}),E.jsx("div",{className:"flex items-center gap-2",children:e?E.jsx(ct,{asChild:!0,size:"sm",children:E.jsx(as,{to:"/app",children:"Open app"})}):E.jsxs(E.Fragment,{children:[E.jsx(ct,{asChild:!0,variant:"ghost",size:"sm",children:E.jsx(as,{to:"/auth",children:"Sign in"})}),E.jsx(ct,{asChild:!0,size:"sm",children:E.jsx(as,{to:"/auth",children:"Get started"})})]})})]})}),E.jsxs("section",{className:"max-w-4xl mx-auto px-6 pt-24 pb-16 text-center",children:[E.jsxs("div",{className:"inline-flex items-center gap-2 px-3 py-1 rounded-full border border-border bg-card text-xs text-muted-foreground mb-6 animate-fade-in",children:[E.jsx("span",{className:"h-1.5 w-1.5 rounded-full bg-primary animate-pulse-slow"}),"SOURCE TO YOUR STUDIES"]}),E.jsxs("h1",{className:"text-4xl sm:text-6xl font-semibold tracking-tight mb-6 animate-fade-in",children:["Turn anything into ",E.jsx("span",{className:"bg-gradient-primary bg-clip-text text-transparent",children:"study material"}),"."]}),E.jsx("p",{className:"text-lg text-muted-foreground max-w-2xl mx-auto mb-8",children:"Drop a PDF, video, audio file, YouTube link or pasted text. Get notes, flashcards, quizzes, a podcast and a chat — instantly."}),E.jsx("div",{className:"flex items-center justify-center gap-3",children:E.jsx(ct,{asChild:!0,size:"lg",className:"shadow-glow",children:E.jsx(as,{to:e?"/app":"/auth",children:e?"Open workspace":"Try it free"})})})]}),E.jsx("section",{className:"max-w-6xl mx-auto px-6 pb-24 grid md:grid-cols-3 gap-4",children:Vq.map(t=>E.jsxs("div",{className:"p-5 rounded-xl border border-border bg-card hover:border-primary/40 transition-colors",children:[E.jsx(t.icon,{className:"h-5 w-5 text-primary mb-3"}),E.jsx("h3",{className:"font-semibold mb-1",children:t.title}),E.jsx("p",{className:"text-sm text-muted-foreground",children:t.desc})]},t.title))}),E.jsx("footer",{className:"border-t border-border py-6 text-center text-xs text-muted-foreground",children:"Built with Lovable Cloud · Dark mode by default"})]})}const ws=R.forwardRef(({className:e,type:t,...n},r)=>E.jsx("input",{type:t,className:ot("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:r,...n}));ws.displayName="Input";var Xq="Label",SE=R.forwardRef((e,t)=>E.jsx(mt.label,{...e,ref:t,onMouseDown:n=>{var i;n.target.closest("button, input, select, textarea")||((i=e.onMouseDown)==null||i.call(e,n),!n.defaultPrevented&&n.detail>1&&n.preventDefault())}}));SE.displayName=Xq;var CE=SE;const Kq=qd("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),wo=R.forwardRef(({className:e,...t},n)=>E.jsx(CE,{ref:n,className:ot(Kq(),e),...t}));wo.displayName=CE.displayName;const AE=R.forwardRef(({className:e,...t},n)=>E.jsx("div",{ref:n,className:ot("rounded-lg border bg-card text-card-foreground shadow-sm",e),...t}));AE.displayName="Card";const Yq=R.forwardRef(({className:e,...t},n)=>E.jsx("div",{ref:n,className:ot("flex flex-col space-y-1.5 p-6",e),...t}));Yq.displayName="CardHeader";const Jq=R.forwardRef(({className:e,...t},n)=>E.jsx("h3",{ref:n,className:ot("text-2xl font-semibold leading-none tracking-tight",e),...t}));Jq.displayName="CardTitle";const Qq=R.forwardRef(({className:e,...t},n)=>E.jsx("p",{ref:n,className:ot("text-sm text-muted-foreground",e),...t}));Qq.displayName="CardDescription";const Zq=R.forwardRef(({className:e,...t},n)=>E.jsx("div",{ref:n,className:ot("p-6 pt-0",e),...t}));Zq.displayName="CardContent";const eH=R.forwardRef(({className:e,...t},n)=>E.jsx("div",{ref:n,className:ot("flex items-center p-6 pt-0",e),...t}));eH.displayName="CardFooter";function tH(){const{user:e,loading:t}=Ls(),n=Ac(),{toast:r}=Ms(),[i,a]=R.useState("signin"),[o,s]=R.useState(""),[l,c]=R.useState(""),[u,d]=R.useState(""),[f,h]=R.useState(!1);R.useEffect(()=>{!t&&e&&n("/app",{replace:!0})},[e,t,n]);const v=async p=>{p.preventDefault(),h(!0);try{if(i==="signup"){const{error:y}=await rt.auth.signUp({email:o,password:l,options:{emailRedirectTo:`${window.location.origin}/app`,data:{display_name:u||o.split("@")[0]}}});if(y)throw y;r({title:"Account created",description:"You're signed in."})}else{const{error:y}=await rt.auth.signInWithPassword({email:o,password:l});if(y)throw y}}catch(y){r({title:"Authentication failed",description:y.message??"Something went wrong.",variant:"destructive"})}finally{h(!1)}};return E.jsx("main",{className:"min-h-screen flex items-center justify-center px-4 bg-background",children:E.jsxs("div",{className:"w-full max-w-md",children:[E.jsxs("div",{className:"flex items-center gap-2 justify-center mb-8",children:[E.jsx("div",{className:"h-9 w-9 rounded-lg bg-gradient-primary flex items-center justify-center shadow-glow",children:E.jsx(js,{className:"h-5 w-5 text-primary-foreground"})}),E.jsx("h1",{className:"text-2xl font-semibold tracking-tight",children:"Source.AI"})]}),E.jsxs(AE,{className:"p-6 bg-card border-border",children:[E.jsx("h2",{className:"text-xl font-semibold mb-1",children:i==="signin"?"Welcome back":"Create your account"}),E.jsx("p",{className:"text-sm text-muted-foreground mb-6",children:i==="signin"?"Sign in to continue to your workspace.":"Start turning content into study assets."}),E.jsxs("form",{onSubmit:v,className:"space-y-4",children:[i==="signup"&&E.jsxs("div",{className:"space-y-1.5",children:[E.jsx(wo,{htmlFor:"name",children:"Display name"}),E.jsx(ws,{id:"name",value:u,onChange:p=>d(p.target.value),placeholder:"Your name"})]}),E.jsxs("div",{className:"space-y-1.5",children:[E.jsx(wo,{htmlFor:"email",children:"Email"}),E.jsx(ws,{id:"email",type:"email",value:o,onChange:p=>s(p.target.value),required:!0,placeholder:"you@example.com"})]}),E.jsxs("div",{className:"space-y-1.5",children:[E.jsx(wo,{htmlFor:"password",children:"Password"}),E.jsx(ws,{id:"password",type:"password",value:l,onChange:p=>c(p.target.value),required:!0,minLength:6,placeholder:"••••••••"})]}),E.jsxs(ct,{type:"submit",className:"w-full",disabled:f,children:[f&&E.jsx(qt,{className:"h-4 w-4 mr-2 animate-spin"}),i==="signin"?"Sign in":"Create account"]})]}),E.jsx("div",{className:"mt-4 text-center text-sm text-muted-foreground",children:i==="signin"?E.jsxs(E.Fragment,{children:["No account?"," ",E.jsx("button",{className:"text-primary hover:underline",onClick:()=>a("signup"),children:"Sign up"})]}):E.jsxs(E.Fragment,{children:["Already have one?"," ",E.jsx("button",{className:"text-primary hover:underline",onClick:()=>a("signin"),children:"Sign in"})]})})]}),E.jsx("p",{className:"text-center text-xs text-muted-foreground mt-6",children:E.jsx(as,{to:"/",className:"hover:underline",children:"← Back to home"})})]})})}const P5=e=>{let t;const n=new Set,r=(c,u)=>{const d=typeof c=="function"?c(t):c;if(!Object.is(d,t)){const f=t;t=u??(typeof d!="object"||d===null)?d:Object.assign({},t,d),n.forEach(h=>h(t,f))}},i=()=>t,s={setState:r,getState:i,getInitialState:()=>l,subscribe:c=>(n.add(c),()=>n.delete(c))},l=t=e(r,i,s);return s},nH=e=>e?P5(e):P5,rH=e=>e;function iH(e,t=rH){const n=Ee.useSyncExternalStore(e.subscribe,Ee.useCallback(()=>t(e.getState()),[e,t]),Ee.useCallback(()=>t(e.getInitialState()),[e,t]));return Ee.useDebugValue(n),n}const B5=e=>{const t=nH(e),n=r=>iH(t,r);return Object.assign(n,t),n},aH=e=>e?B5(e):B5,V2=aH(e=>({documents:[],setDocuments:t=>e({documents:t}),upsertDocument:t=>e(n=>{const r=n.documents.findIndex(a=>a.id===t.id);if(r===-1)return{documents:[t,...n.documents]};const i=[...n.documents];return i[r]=t,{documents:i}}),removeDocument:t=>e(n=>({documents:n.documents.filter(r=>r.id!==t)})),activeDocumentId:null,setActiveDocumentId:t=>e({activeDocumentId:t}),notes:{},flashcards:{},quiz:{},podcast:{},setNote:(t,n)=>e(r=>({notes:{...r.notes,[t]:n}})),setFlashcards:(t,n)=>e(r=>({flashcards:{...r.flashcards,[t]:n}})),setQuiz:(t,n)=>e(r=>({quiz:{...r.quiz,[t]:n}})),setPodcast:(t,n)=>e(r=>({podcast:{...r.podcast,[t]:n}})),reset:()=>e({documents:[],activeDocumentId:null,notes:{},flashcards:{},quiz:{},podcast:{}})})),oH={pdf:X3,docx:X3,text:Hd,audio:yj,video:Dj,youtube:bT};function M5({onNew:e,onNavigate:t}){const{user:n,signOut:r}=Ls(),{documents:i,setDocuments:a,upsertDocument:o,removeDocument:s}=V2(),{docId:l}=N_(),c=Ac(),{toast:u}=Ms();return R.useEffect(()=>{if(!n)return;let d=!0;(async()=>{const{data:h,error:v}=await rt.from("documents").select("id,title,source_type,status,error_code,created_at").order("created_at",{ascending:!1});if(v){u({title:"Failed to load documents",description:v.message,variant:"destructive"});return}d&&h&&a(h)})();const f=rt.channel("documents-sidebar").on("postgres_changes",{event:"*",schema:"public",table:"documents",filter:`user_id=eq.${n.id}`},h=>{if(h.eventType==="DELETE")s(h.old.id);else{const v=h.new;o({id:v.id,title:v.title,source_type:v.source_type,status:v.status,error_code:v.error_code,created_at:v.created_at})}}).subscribe();return()=>{d=!1,rt.removeChannel(f)}},[n,a,o,s,u]),E.jsxs("aside",{className:"w-64 shrink-0 border-r border-sidebar-border bg-sidebar flex flex-col h-screen md:w-64 w-[18rem]",children:[E.jsx("div",{className:"p-3 border-b border-sidebar-border",children:E.jsxs(as,{to:"/app",className:"flex items-center gap-2 px-2 py-1.5",children:[E.jsx("div",{className:"h-7 w-7 rounded-md bg-gradient-primary flex items-center justify-center shadow-glow",children:E.jsx(js,{className:"h-4 w-4 text-primary-foreground"})}),E.jsx("span",{className:"font-semibold tracking-tight",children:"Source.AI"})]})}),E.jsx("div",{className:"p-3",children:E.jsxs(ct,{onClick:e,className:"w-full justify-start",size:"sm",children:[E.jsx(vT,{className:"h-4 w-4 mr-2"})," New document"]})}),E.jsxs("div",{className:"flex-1 overflow-y-auto px-2 pb-2",children:[E.jsx("div",{className:"text-[11px] uppercase tracking-wide text-muted-foreground px-2 py-2",children:"Library"}),i.length===0&&E.jsx("div",{className:"text-xs text-muted-foreground px-2 py-4 text-center",children:"No documents yet."}),E.jsx("ul",{className:"space-y-0.5",children:i.map(d=>{const f=oH[d.source_type]??Hd,h=d.id===l;return E.jsx("li",{children:E.jsxs("button",{onClick:()=>{c(`/app/doc/${d.id}`),t==null||t()},className:ot("w-full flex items-center gap-2 px-2 py-1.5 rounded-md text-sm text-left transition-colors",h?"bg-sidebar-accent text-sidebar-accent-foreground":"hover:bg-sidebar-accent/60 text-sidebar-foreground"),children:[E.jsx(f,{className:"h-3.5 w-3.5 shrink-0 text-muted-foreground"}),E.jsx("span",{className:"truncate flex-1",children:d.title}),d.status!=="ready"&&d.status!=="failed"&&E.jsx(qt,{className:"h-3 w-3 animate-spin text-muted-foreground"}),d.status==="failed"&&E.jsx("span",{className:"h-1.5 w-1.5 rounded-full bg-destructive"})]})},d.id)})})]}),E.jsx("div",{className:"p-2 border-t border-sidebar-border",children:E.jsxs("div",{className:"flex items-center gap-2 px-2 py-1.5",children:[E.jsx("div",{className:"h-7 w-7 rounded-full bg-muted flex items-center justify-center text-xs font-medium",children:((n==null?void 0:n.email)??"?").slice(0,1).toUpperCase()}),E.jsx("div",{className:"flex-1 truncate text-sm",children:n==null?void 0:n.email}),E.jsx(ct,{size:"icon",variant:"ghost",className:"h-7 w-7",onClick:r,title:"Sign out",children:E.jsx(vj,{className:"h-4 w-4"})})]})})]})}var Eg="focusScope.autoFocusOnMount",Sg="focusScope.autoFocusOnUnmount",j5={bubbles:!1,cancelable:!0},sH="FocusScope",Zb=R.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:a,...o}=e,[s,l]=R.useState(null),c=ui(i),u=ui(a),d=R.useRef(null),f=dn(t,p=>l(p)),h=R.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;R.useEffect(()=>{if(r){let p=function(b){if(h.paused||!s)return;const x=b.target;s.contains(x)?d.current=x:Va(d.current,{select:!0})},y=function(b){if(h.paused||!s)return;const x=b.relatedTarget;x!==null&&(s.contains(x)||Va(d.current,{select:!0}))},m=function(b){if(document.activeElement===document.body)for(const D of b)D.removedNodes.length>0&&Va(s)};document.addEventListener("focusin",p),document.addEventListener("focusout",y);const g=new MutationObserver(m);return s&&g.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",p),document.removeEventListener("focusout",y),g.disconnect()}}},[r,s,h.paused]),R.useEffect(()=>{if(s){z5.add(h);const p=document.activeElement;if(!s.contains(p)){const m=new CustomEvent(Eg,j5);s.addEventListener(Eg,c),s.dispatchEvent(m),m.defaultPrevented||(lH(fH(UE(s)),{select:!0}),document.activeElement===p&&Va(s))}return()=>{s.removeEventListener(Eg,c),setTimeout(()=>{const m=new CustomEvent(Sg,j5);s.addEventListener(Sg,u),s.dispatchEvent(m),m.defaultPrevented||Va(p??document.body,{select:!0}),s.removeEventListener(Sg,u),z5.remove(h)},0)}}},[s,c,u,h]);const v=R.useCallback(p=>{if(!n&&!r||h.paused)return;const y=p.key==="Tab"&&!p.altKey&&!p.ctrlKey&&!p.metaKey,m=document.activeElement;if(y&&m){const g=p.currentTarget,[b,x]=cH(g);b&&x?!p.shiftKey&&m===x?(p.preventDefault(),n&&Va(b,{select:!0})):p.shiftKey&&m===b&&(p.preventDefault(),n&&Va(x,{select:!0})):m===g&&p.preventDefault()}},[n,r,h.paused]);return E.jsx(mt.div,{tabIndex:-1,...o,ref:f,onKeyDown:v})});Zb.displayName=sH;function lH(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Va(r,{select:t}),document.activeElement!==n)return}function cH(e){const t=UE(e),n=L5(t,e),r=L5(t.reverse(),e);return[n,r]}function UE(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function L5(e,t){for(const n of e)if(!uH(n,{upTo:t}))return n}function uH(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function dH(e){return e instanceof HTMLInputElement&&"select"in e}function Va(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&dH(e)&&t&&e.select()}}var z5=hH();function hH(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=W5(e,t),e.unshift(t)},remove(t){var n;e=W5(e,t),(n=e[0])==null||n.resume()}}}function W5(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function fH(e){return e.filter(t=>t.tagName!=="A")}var Cg=0;function FE(){R.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??$5()),document.body.insertAdjacentElement("beforeend",e[1]??$5()),Cg++,()=>{Cg===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Cg--}},[])}function $5(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var Of="right-scroll-bar-position",If="width-before-scroll-bar",pH="with-scroll-bars-hidden",mH="--removed-body-scroll-bar-size";function Ag(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function gH(e,t){var n=R.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var i=n.value;i!==r&&(n.value=r,n.callback(r,i))}}}})[0];return n.callback=t,n.facade}var vH=typeof window<"u"?R.useLayoutEffect:R.useEffect,q5=new WeakMap;function yH(e,t){var n=gH(null,function(r){return e.forEach(function(i){return Ag(i,r)})});return vH(function(){var r=q5.get(n);if(r){var i=new Set(r),a=new Set(e),o=n.current;i.forEach(function(s){a.has(s)||Ag(s,null)}),a.forEach(function(s){i.has(s)||Ag(s,o)})}q5.set(n,e)},[e]),n}function bH(e){return e}function xH(e,t){t===void 0&&(t=bH);var n=[],r=!1,i={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(a){var o=t(a,r);return n.push(o),function(){n=n.filter(function(s){return s!==o})}},assignSyncMedium:function(a){for(r=!0;n.length;){var o=n;n=[],o.forEach(a)}n={push:function(s){return a(s)},filter:function(){return n}}},assignMedium:function(a){r=!0;var o=[];if(n.length){var s=n;n=[],s.forEach(a),o=n}var l=function(){var u=o;o=[],u.forEach(a)},c=function(){return Promise.resolve().then(l)};c(),n={push:function(u){o.push(u),c()},filter:function(u){return o=o.filter(u),n}}}};return i}function wH(e){e===void 0&&(e={});var t=xH(null);return t.options=Fi({async:!0,ssr:!1},e),t}var RE=function(e){var t=e.sideCar,n=Nc(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return R.createElement(r,Fi({},n))};RE.isSideCarExport=!0;function DH(e,t){return e.useMedium(t),RE}var NE=wH(),Ug=function(){},Ep=R.forwardRef(function(e,t){var n=R.useRef(null),r=R.useState({onScrollCapture:Ug,onWheelCapture:Ug,onTouchMoveCapture:Ug}),i=r[0],a=r[1],o=e.forwardProps,s=e.children,l=e.className,c=e.removeScrollBar,u=e.enabled,d=e.shards,f=e.sideCar,h=e.noRelative,v=e.noIsolation,p=e.inert,y=e.allowPinchZoom,m=e.as,g=m===void 0?"div":m,b=e.gapMode,x=Nc(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),D=f,w=yH([n,t]),_=Fi(Fi({},x),i);return R.createElement(R.Fragment,null,u&&R.createElement(D,{sideCar:NE,removeScrollBar:c,shards:d,noRelative:h,noIsolation:v,inert:p,setCallbacks:a,allowPinchZoom:!!y,lockRef:n,gapMode:b}),o?R.cloneElement(R.Children.only(s),Fi(Fi({},_),{ref:w})):R.createElement(g,Fi({},_,{className:l,ref:w}),s))});Ep.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Ep.classNames={fullWidth:If,zeroRight:Of};var kH=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function _H(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=kH();return t&&e.setAttribute("nonce",t),e}function TH(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function EH(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var SH=function(){var e=0,t=null;return{add:function(n){e==0&&(t=_H())&&(TH(t,n),EH(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},CH=function(){var e=SH();return function(t,n){R.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},OE=function(){var e=CH(),t=function(n){var r=n.styles,i=n.dynamic;return e(r,i),null};return t},AH={left:0,top:0,right:0,gap:0},Fg=function(e){return parseInt(e||"",10)||0},UH=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],i=t[e==="padding"?"paddingRight":"marginRight"];return[Fg(n),Fg(r),Fg(i)]},FH=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return AH;var t=UH(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},RH=OE(),zl="data-scroll-locked",NH=function(e,t,n,r){var i=e.left,a=e.top,o=e.right,s=e.gap;return n===void 0&&(n="margin"),` + .`.concat(pH,` { + overflow: hidden `).concat(r,`; + padding-right: `).concat(s,"px ").concat(r,`; + } + body[`).concat(zl,`] { + overflow: hidden `).concat(r,`; + overscroll-behavior: contain; + `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&` + padding-left: `.concat(i,`px; + padding-top: `).concat(a,`px; + padding-right: `).concat(o,`px; + margin-left:0; + margin-top:0; + margin-right: `).concat(s,"px ").concat(r,`; + `),n==="padding"&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),` + } + + .`).concat(Of,` { + right: `).concat(s,"px ").concat(r,`; + } + + .`).concat(If,` { + margin-right: `).concat(s,"px ").concat(r,`; + } + + .`).concat(Of," .").concat(Of,` { + right: 0 `).concat(r,`; + } + + .`).concat(If," .").concat(If,` { + margin-right: 0 `).concat(r,`; + } + + body[`).concat(zl,`] { + `).concat(mH,": ").concat(s,`px; + } +`)},H5=function(){var e=parseInt(document.body.getAttribute(zl)||"0",10);return isFinite(e)?e:0},OH=function(){R.useEffect(function(){return document.body.setAttribute(zl,(H5()+1).toString()),function(){var e=H5()-1;e<=0?document.body.removeAttribute(zl):document.body.setAttribute(zl,e.toString())}},[])},IH=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=r===void 0?"margin":r;OH();var a=R.useMemo(function(){return FH(i)},[i]);return R.createElement(RH,{styles:NH(a,!t,i,n?"":"!important")})},G2=!1;if(typeof window<"u")try{var $h=Object.defineProperty({},"passive",{get:function(){return G2=!0,!0}});window.addEventListener("test",$h,$h),window.removeEventListener("test",$h,$h)}catch{G2=!1}var el=G2?{passive:!1}:!1,PH=function(e){return e.tagName==="TEXTAREA"},IE=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!PH(e)&&n[t]==="visible")},BH=function(e){return IE(e,"overflowY")},MH=function(e){return IE(e,"overflowX")},V5=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var i=PE(e,r);if(i){var a=BE(e,r),o=a[1],s=a[2];if(o>s)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},jH=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},LH=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},PE=function(e,t){return e==="v"?BH(t):MH(t)},BE=function(e,t){return e==="v"?jH(t):LH(t)},zH=function(e,t){return e==="h"&&t==="rtl"?-1:1},WH=function(e,t,n,r,i){var a=zH(e,window.getComputedStyle(t).direction),o=a*r,s=n.target,l=t.contains(s),c=!1,u=o>0,d=0,f=0;do{if(!s)break;var h=BE(e,s),v=h[0],p=h[1],y=h[2],m=p-y-a*v;(v||m)&&PE(e,s)&&(d+=m,f+=v);var g=s.parentNode;s=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return(u&&(Math.abs(d)<1||!i)||!u&&(Math.abs(f)<1||!i))&&(c=!0),c},qh=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},G5=function(e){return[e.deltaX,e.deltaY]},X5=function(e){return e&&"current"in e?e.current:e},$H=function(e,t){return e[0]===t[0]&&e[1]===t[1]},qH=function(e){return` + .block-interactivity-`.concat(e,` {pointer-events: none;} + .allow-interactivity-`).concat(e,` {pointer-events: all;} +`)},HH=0,tl=[];function VH(e){var t=R.useRef([]),n=R.useRef([0,0]),r=R.useRef(),i=R.useState(HH++)[0],a=R.useState(OE)[0],o=R.useRef(e);R.useEffect(function(){o.current=e},[e]),R.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var p=Vz([e.lockRef.current],(e.shards||[]).map(X5),!0).filter(Boolean);return p.forEach(function(y){return y.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),p.forEach(function(y){return y.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var s=R.useCallback(function(p,y){if("touches"in p&&p.touches.length===2||p.type==="wheel"&&p.ctrlKey)return!o.current.allowPinchZoom;var m=qh(p),g=n.current,b="deltaX"in p?p.deltaX:g[0]-m[0],x="deltaY"in p?p.deltaY:g[1]-m[1],D,w=p.target,_=Math.abs(b)>Math.abs(x)?"h":"v";if("touches"in p&&_==="h"&&w.type==="range")return!1;var N=V5(_,w);if(!N)return!0;if(N?D=_:(D=_==="v"?"h":"v",N=V5(_,w)),!N)return!1;if(!r.current&&"changedTouches"in p&&(b||x)&&(r.current=D),!D)return!0;var O=r.current||D;return WH(O,y,p,O==="h"?b:x,!0)},[]),l=R.useCallback(function(p){var y=p;if(!(!tl.length||tl[tl.length-1]!==a)){var m="deltaY"in y?G5(y):qh(y),g=t.current.filter(function(D){return D.name===y.type&&(D.target===y.target||y.target===D.shadowParent)&&$H(D.delta,m)})[0];if(g&&g.should){y.cancelable&&y.preventDefault();return}if(!g){var b=(o.current.shards||[]).map(X5).filter(Boolean).filter(function(D){return D.contains(y.target)}),x=b.length>0?s(y,b[0]):!o.current.noIsolation;x&&y.cancelable&&y.preventDefault()}}},[]),c=R.useCallback(function(p,y,m,g){var b={name:p,delta:y,target:m,should:g,shadowParent:GH(m)};t.current.push(b),setTimeout(function(){t.current=t.current.filter(function(x){return x!==b})},1)},[]),u=R.useCallback(function(p){n.current=qh(p),r.current=void 0},[]),d=R.useCallback(function(p){c(p.type,G5(p),p.target,s(p,e.lockRef.current))},[]),f=R.useCallback(function(p){c(p.type,qh(p),p.target,s(p,e.lockRef.current))},[]);R.useEffect(function(){return tl.push(a),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:f}),document.addEventListener("wheel",l,el),document.addEventListener("touchmove",l,el),document.addEventListener("touchstart",u,el),function(){tl=tl.filter(function(p){return p!==a}),document.removeEventListener("wheel",l,el),document.removeEventListener("touchmove",l,el),document.removeEventListener("touchstart",u,el)}},[]);var h=e.removeScrollBar,v=e.inert;return R.createElement(R.Fragment,null,v?R.createElement(a,{styles:qH(i)}):null,h?R.createElement(IH,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function GH(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const XH=DH(NE,VH);var ex=R.forwardRef(function(e,t){return R.createElement(Ep,Fi({},e,{ref:t,sideCar:XH}))});ex.classNames=Ep.classNames;var KH=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},nl=new WeakMap,Hh=new WeakMap,Vh={},Rg=0,ME=function(e){return e&&(e.host||ME(e.parentNode))},YH=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=ME(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},JH=function(e,t,n,r){var i=YH(t,Array.isArray(e)?e:[e]);Vh[n]||(Vh[n]=new WeakMap);var a=Vh[n],o=[],s=new Set,l=new Set(i),c=function(d){!d||s.has(d)||(s.add(d),c(d.parentNode))};i.forEach(c);var u=function(d){!d||l.has(d)||Array.prototype.forEach.call(d.children,function(f){if(s.has(f))u(f);else try{var h=f.getAttribute(r),v=h!==null&&h!=="false",p=(nl.get(f)||0)+1,y=(a.get(f)||0)+1;nl.set(f,p),a.set(f,y),o.push(f),p===1&&v&&Hh.set(f,!0),y===1&&f.setAttribute(n,"true"),v||f.setAttribute(r,"true")}catch(m){console.error("aria-hidden: cannot operate on ",f,m)}})};return u(t),s.clear(),Rg++,function(){o.forEach(function(d){var f=nl.get(d)-1,h=a.get(d)-1;nl.set(d,f),a.set(d,h),f||(Hh.has(d)||d.removeAttribute(r),Hh.delete(d)),h||d.removeAttribute(n)}),Rg--,Rg||(nl=new WeakMap,nl=new WeakMap,Hh=new WeakMap,Vh={})}},jE=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=KH(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live]"))),JH(r,i,n,"aria-hidden")):function(){return null}},Sp="Dialog",[LE,rce]=Bo(Sp),[QH,pi]=LE(Sp),zE=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:i,onOpenChange:a,modal:o=!0}=e,s=R.useRef(null),l=R.useRef(null),[c,u]=Wd({prop:r,defaultProp:i??!1,onChange:a,caller:Sp});return E.jsx(QH,{scope:t,triggerRef:s,contentRef:l,contentId:Ml(),titleId:Ml(),descriptionId:Ml(),open:c,onOpenChange:u,onOpenToggle:R.useCallback(()=>u(d=>!d),[u]),modal:o,children:n})};zE.displayName=Sp;var WE="DialogTrigger",ZH=R.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=pi(WE,n),a=dn(t,i.triggerRef);return E.jsx(mt.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":rx(i.open),...r,ref:a,onClick:Je(e.onClick,i.onOpenToggle)})});ZH.displayName=WE;var tx="DialogPortal",[eV,$E]=LE(tx,{forceMount:void 0}),qE=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:i}=e,a=pi(tx,t);return E.jsx(eV,{scope:t,forceMount:n,children:R.Children.map(r,o=>E.jsx(Ea,{present:n||a.open,children:E.jsx(pp,{asChild:!0,container:i,children:o})}))})};qE.displayName=tx;var k0="DialogOverlay",HE=R.forwardRef((e,t)=>{const n=$E(k0,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,a=pi(k0,e.__scopeDialog);return a.modal?E.jsx(Ea,{present:r||a.open,children:E.jsx(nV,{...i,ref:t})}):null});HE.displayName=k0;var tV=lc("DialogOverlay.RemoveScroll"),nV=R.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=pi(k0,n);return E.jsx(ex,{as:tV,allowPinchZoom:!0,shards:[i.contentRef],children:E.jsx(mt.div,{"data-state":rx(i.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),As="DialogContent",VE=R.forwardRef((e,t)=>{const n=$E(As,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,a=pi(As,e.__scopeDialog);return E.jsx(Ea,{present:r||a.open,children:a.modal?E.jsx(rV,{...i,ref:t}):E.jsx(iV,{...i,ref:t})})});VE.displayName=As;var rV=R.forwardRef((e,t)=>{const n=pi(As,e.__scopeDialog),r=R.useRef(null),i=dn(t,n.contentRef,r);return R.useEffect(()=>{const a=r.current;if(a)return jE(a)},[]),E.jsx(GE,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Je(e.onCloseAutoFocus,a=>{var o;a.preventDefault(),(o=n.triggerRef.current)==null||o.focus()}),onPointerDownOutside:Je(e.onPointerDownOutside,a=>{const o=a.detail.originalEvent,s=o.button===0&&o.ctrlKey===!0;(o.button===2||s)&&a.preventDefault()}),onFocusOutside:Je(e.onFocusOutside,a=>a.preventDefault())})}),iV=R.forwardRef((e,t)=>{const n=pi(As,e.__scopeDialog),r=R.useRef(!1),i=R.useRef(!1);return E.jsx(GE,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:a=>{var o,s;(o=e.onCloseAutoFocus)==null||o.call(e,a),a.defaultPrevented||(r.current||(s=n.triggerRef.current)==null||s.focus(),a.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:a=>{var l,c;(l=e.onInteractOutside)==null||l.call(e,a),a.defaultPrevented||(r.current=!0,a.detail.originalEvent.type==="pointerdown"&&(i.current=!0));const o=a.target;((c=n.triggerRef.current)==null?void 0:c.contains(o))&&a.preventDefault(),a.detail.originalEvent.type==="focusin"&&i.current&&a.preventDefault()}})}),GE=R.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:a,...o}=e,s=pi(As,n),l=R.useRef(null),c=dn(t,l);return FE(),E.jsxs(E.Fragment,{children:[E.jsx(Zb,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:a,children:E.jsx(zd,{role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":rx(s.open),...o,ref:c,onDismiss:()=>s.onOpenChange(!1)})}),E.jsxs(E.Fragment,{children:[E.jsx(aV,{titleId:s.titleId}),E.jsx(sV,{contentRef:l,descriptionId:s.descriptionId})]})]})}),nx="DialogTitle",XE=R.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=pi(nx,n);return E.jsx(mt.h2,{id:i.titleId,...r,ref:t})});XE.displayName=nx;var KE="DialogDescription",YE=R.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=pi(KE,n);return E.jsx(mt.p,{id:i.descriptionId,...r,ref:t})});YE.displayName=KE;var JE="DialogClose",QE=R.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=pi(JE,n);return E.jsx(mt.button,{type:"button",...r,ref:t,onClick:Je(e.onClick,()=>i.onOpenChange(!1))})});QE.displayName=JE;function rx(e){return e?"open":"closed"}var ZE="DialogTitleWarning",[ice,eS]=vM(ZE,{contentName:As,titleName:nx,docsSlug:"dialog"}),aV=({titleId:e})=>{const t=eS(ZE),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users. + +If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component. + +For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return R.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},oV="DialogDescriptionWarning",sV=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${eS(oV).contentName}}.`;return R.useEffect(()=>{var a;const i=(a=e.current)==null?void 0:a.getAttribute("aria-describedby");t&&i&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},tS=zE,nS=qE,Cp=HE,Ap=VE,Up=XE,Fp=YE,rS=QE;const lV=tS,cV=nS,iS=R.forwardRef(({className:e,...t},n)=>E.jsx(Cp,{ref:n,className:ot("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));iS.displayName=Cp.displayName;const aS=R.forwardRef(({className:e,children:t,...n},r)=>E.jsxs(cV,{children:[E.jsx(iS,{}),E.jsxs(Ap,{ref:r,className:ot("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...n,children:[t,E.jsxs(rS,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity data-[state=open]:bg-accent data-[state=open]:text-muted-foreground hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",children:[E.jsx(Bb,{className:"h-4 w-4"}),E.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));aS.displayName=Ap.displayName;const oS=({className:e,...t})=>E.jsx("div",{className:ot("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});oS.displayName="DialogHeader";const sS=R.forwardRef(({className:e,...t},n)=>E.jsx(Up,{ref:n,className:ot("text-lg font-semibold leading-none tracking-tight",e),...t}));sS.displayName=Up.displayName;const uV=R.forwardRef(({className:e,...t},n)=>E.jsx(Fp,{ref:n,className:ot("text-sm text-muted-foreground",e),...t}));uV.displayName=Fp.displayName;var dV=R.createContext(void 0);function lS(e){const t=R.useContext(dV);return e||t||"ltr"}var Ng="rovingFocusGroup.onEntryFocus",hV={bubbles:!1,cancelable:!0},Xd="RovingFocusGroup",[X2,cS,fV]=j_(Xd),[pV,uS]=Bo(Xd,[fV]),[mV,gV]=pV(Xd),dS=R.forwardRef((e,t)=>E.jsx(X2.Provider,{scope:e.__scopeRovingFocusGroup,children:E.jsx(X2.Slot,{scope:e.__scopeRovingFocusGroup,children:E.jsx(vV,{...e,ref:t})})}));dS.displayName=Xd;var vV=R.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:i=!1,dir:a,currentTabStopId:o,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:l,onEntryFocus:c,preventScrollOnEntryFocus:u=!1,...d}=e,f=R.useRef(null),h=dn(t,f),v=lS(a),[p,y]=Wd({prop:o,defaultProp:s??null,onChange:l,caller:Xd}),[m,g]=R.useState(!1),b=ui(c),x=cS(n),D=R.useRef(!1),[w,_]=R.useState(0);return R.useEffect(()=>{const N=f.current;if(N)return N.addEventListener(Ng,b),()=>N.removeEventListener(Ng,b)},[b]),E.jsx(mV,{scope:n,orientation:r,dir:v,loop:i,currentTabStopId:p,onItemFocus:R.useCallback(N=>y(N),[y]),onItemShiftTab:R.useCallback(()=>g(!0),[]),onFocusableItemAdd:R.useCallback(()=>_(N=>N+1),[]),onFocusableItemRemove:R.useCallback(()=>_(N=>N-1),[]),children:E.jsx(mt.div,{tabIndex:m||w===0?-1:0,"data-orientation":r,...d,ref:h,style:{outline:"none",...e.style},onMouseDown:Je(e.onMouseDown,()=>{D.current=!0}),onFocus:Je(e.onFocus,N=>{const O=!D.current;if(N.target===N.currentTarget&&O&&!m){const B=new CustomEvent(Ng,hV);if(N.currentTarget.dispatchEvent(B),!B.defaultPrevented){const K=x().filter(j=>j.focusable),A=K.find(j=>j.active),q=K.find(j=>j.id===p),X=[A,q,...K].filter(Boolean).map(j=>j.ref.current);pS(X,u)}}D.current=!1}),onBlur:Je(e.onBlur,()=>g(!1))})})}),hS="RovingFocusGroupItem",fS=R.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:i=!1,tabStopId:a,children:o,...s}=e,l=Ml(),c=a||l,u=gV(hS,n),d=u.currentTabStopId===c,f=cS(n),{onFocusableItemAdd:h,onFocusableItemRemove:v,currentTabStopId:p}=u;return R.useEffect(()=>{if(r)return h(),()=>v()},[r,h,v]),E.jsx(X2.ItemSlot,{scope:n,id:c,focusable:r,active:i,children:E.jsx(mt.span,{tabIndex:d?0:-1,"data-orientation":u.orientation,...s,ref:t,onMouseDown:Je(e.onMouseDown,y=>{r?u.onItemFocus(c):y.preventDefault()}),onFocus:Je(e.onFocus,()=>u.onItemFocus(c)),onKeyDown:Je(e.onKeyDown,y=>{if(y.key==="Tab"&&y.shiftKey){u.onItemShiftTab();return}if(y.target!==y.currentTarget)return;const m=xV(y,u.orientation,u.dir);if(m!==void 0){if(y.metaKey||y.ctrlKey||y.altKey||y.shiftKey)return;y.preventDefault();let b=f().filter(x=>x.focusable).map(x=>x.ref.current);if(m==="last")b.reverse();else if(m==="prev"||m==="next"){m==="prev"&&b.reverse();const x=b.indexOf(y.currentTarget);b=u.loop?wV(b,x+1):b.slice(x+1)}setTimeout(()=>pS(b))}}),children:typeof o=="function"?o({isCurrentTabStop:d,hasTabStop:p!=null}):o})})});fS.displayName=hS;var yV={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function bV(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function xV(e,t,n){const r=bV(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return yV[r]}function pS(e,t=!1){const n=document.activeElement;for(const r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function wV(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var DV=dS,kV=fS,Rp="Tabs",[_V,ace]=Bo(Rp,[uS]),mS=uS(),[TV,ix]=_V(Rp),gS=R.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,onValueChange:i,defaultValue:a,orientation:o="horizontal",dir:s,activationMode:l="automatic",...c}=e,u=lS(s),[d,f]=Wd({prop:r,onChange:i,defaultProp:a??"",caller:Rp});return E.jsx(TV,{scope:n,baseId:Ml(),value:d,onValueChange:f,orientation:o,dir:u,activationMode:l,children:E.jsx(mt.div,{dir:u,"data-orientation":o,...c,ref:t})})});gS.displayName=Rp;var vS="TabsList",yS=R.forwardRef((e,t)=>{const{__scopeTabs:n,loop:r=!0,...i}=e,a=ix(vS,n),o=mS(n);return E.jsx(DV,{asChild:!0,...o,orientation:a.orientation,dir:a.dir,loop:r,children:E.jsx(mt.div,{role:"tablist","aria-orientation":a.orientation,...i,ref:t})})});yS.displayName=vS;var bS="TabsTrigger",xS=R.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,disabled:i=!1,...a}=e,o=ix(bS,n),s=mS(n),l=kS(o.baseId,r),c=_S(o.baseId,r),u=r===o.value;return E.jsx(kV,{asChild:!0,...s,focusable:!i,active:u,children:E.jsx(mt.button,{type:"button",role:"tab","aria-selected":u,"aria-controls":c,"data-state":u?"active":"inactive","data-disabled":i?"":void 0,disabled:i,id:l,...a,ref:t,onMouseDown:Je(e.onMouseDown,d=>{!i&&d.button===0&&d.ctrlKey===!1?o.onValueChange(r):d.preventDefault()}),onKeyDown:Je(e.onKeyDown,d=>{[" ","Enter"].includes(d.key)&&o.onValueChange(r)}),onFocus:Je(e.onFocus,()=>{const d=o.activationMode!=="manual";!u&&!i&&d&&o.onValueChange(r)})})})});xS.displayName=bS;var wS="TabsContent",DS=R.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,forceMount:i,children:a,...o}=e,s=ix(wS,n),l=kS(s.baseId,r),c=_S(s.baseId,r),u=r===s.value,d=R.useRef(u);return R.useEffect(()=>{const f=requestAnimationFrame(()=>d.current=!1);return()=>cancelAnimationFrame(f)},[]),E.jsx(Ea,{present:i||u,children:({present:f})=>E.jsx(mt.div,{"data-state":u?"active":"inactive","data-orientation":s.orientation,role:"tabpanel","aria-labelledby":l,hidden:!f,id:c,tabIndex:0,...o,ref:t,style:{...e.style,animationDuration:d.current?"0s":void 0},children:f&&a})})});DS.displayName=wS;function kS(e,t){return`${e}-trigger-${t}`}function _S(e,t){return`${e}-content-${t}`}var EV=gS,TS=yS,ES=xS,SS=DS;const CS=EV,ax=R.forwardRef(({className:e,...t},n)=>E.jsx(TS,{ref:n,className:ot("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",e),...t}));ax.displayName=TS.displayName;const sa=R.forwardRef(({className:e,...t},n)=>E.jsx(ES,{ref:n,className:ot("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",e),...t}));sa.displayName=ES.displayName;const la=R.forwardRef(({className:e,...t},n)=>E.jsx(SS,{ref:n,className:ot("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",e),...t}));la.displayName=SS.displayName;const ox=R.forwardRef(({className:e,...t},n)=>E.jsx("textarea",{className:ot("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:n,...t}));ox.displayName="Textarea";var AS={exports:{}},SV="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",CV=SV,AV=CV;function US(){}function FS(){}FS.resetWarningCache=US;var UV=function(){function e(r,i,a,o,s,l){if(l!==AV){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:FS,resetWarningCache:US};return n.PropTypes=n,n};AS.exports=UV();var FV=AS.exports;const yt=Od(FV),RV=new Map([["1km","application/vnd.1000minds.decision-model+xml"],["3dml","text/vnd.in3d.3dml"],["3ds","image/x-3ds"],["3g2","video/3gpp2"],["3gp","video/3gp"],["3gpp","video/3gpp"],["3mf","model/3mf"],["7z","application/x-7z-compressed"],["7zip","application/x-7z-compressed"],["123","application/vnd.lotus-1-2-3"],["aab","application/x-authorware-bin"],["aac","audio/x-acc"],["aam","application/x-authorware-map"],["aas","application/x-authorware-seg"],["abw","application/x-abiword"],["ac","application/vnd.nokia.n-gage.ac+xml"],["ac3","audio/ac3"],["acc","application/vnd.americandynamics.acc"],["ace","application/x-ace-compressed"],["acu","application/vnd.acucobol"],["acutc","application/vnd.acucorp"],["adp","audio/adpcm"],["aep","application/vnd.audiograph"],["afm","application/x-font-type1"],["afp","application/vnd.ibm.modcap"],["ahead","application/vnd.ahead.space"],["ai","application/pdf"],["aif","audio/x-aiff"],["aifc","audio/x-aiff"],["aiff","audio/x-aiff"],["air","application/vnd.adobe.air-application-installer-package+zip"],["ait","application/vnd.dvb.ait"],["ami","application/vnd.amiga.ami"],["amr","audio/amr"],["apk","application/vnd.android.package-archive"],["apng","image/apng"],["appcache","text/cache-manifest"],["application","application/x-ms-application"],["apr","application/vnd.lotus-approach"],["arc","application/x-freearc"],["arj","application/x-arj"],["asc","application/pgp-signature"],["asf","video/x-ms-asf"],["asm","text/x-asm"],["aso","application/vnd.accpac.simply.aso"],["asx","video/x-ms-asf"],["atc","application/vnd.acucorp"],["atom","application/atom+xml"],["atomcat","application/atomcat+xml"],["atomdeleted","application/atomdeleted+xml"],["atomsvc","application/atomsvc+xml"],["atx","application/vnd.antix.game-component"],["au","audio/x-au"],["avi","video/x-msvideo"],["avif","image/avif"],["aw","application/applixware"],["azf","application/vnd.airzip.filesecure.azf"],["azs","application/vnd.airzip.filesecure.azs"],["azv","image/vnd.airzip.accelerator.azv"],["azw","application/vnd.amazon.ebook"],["b16","image/vnd.pco.b16"],["bat","application/x-msdownload"],["bcpio","application/x-bcpio"],["bdf","application/x-font-bdf"],["bdm","application/vnd.syncml.dm+wbxml"],["bdoc","application/x-bdoc"],["bed","application/vnd.realvnc.bed"],["bh2","application/vnd.fujitsu.oasysprs"],["bin","application/octet-stream"],["blb","application/x-blorb"],["blorb","application/x-blorb"],["bmi","application/vnd.bmi"],["bmml","application/vnd.balsamiq.bmml+xml"],["bmp","image/bmp"],["book","application/vnd.framemaker"],["box","application/vnd.previewsystems.box"],["boz","application/x-bzip2"],["bpk","application/octet-stream"],["bpmn","application/octet-stream"],["bsp","model/vnd.valve.source.compiled-map"],["btif","image/prs.btif"],["buffer","application/octet-stream"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["c","text/x-c"],["c4d","application/vnd.clonk.c4group"],["c4f","application/vnd.clonk.c4group"],["c4g","application/vnd.clonk.c4group"],["c4p","application/vnd.clonk.c4group"],["c4u","application/vnd.clonk.c4group"],["c11amc","application/vnd.cluetrust.cartomobile-config"],["c11amz","application/vnd.cluetrust.cartomobile-config-pkg"],["cab","application/vnd.ms-cab-compressed"],["caf","audio/x-caf"],["cap","application/vnd.tcpdump.pcap"],["car","application/vnd.curl.car"],["cat","application/vnd.ms-pki.seccat"],["cb7","application/x-cbr"],["cba","application/x-cbr"],["cbr","application/x-cbr"],["cbt","application/x-cbr"],["cbz","application/x-cbr"],["cc","text/x-c"],["cco","application/x-cocoa"],["cct","application/x-director"],["ccxml","application/ccxml+xml"],["cdbcmsg","application/vnd.contact.cmsg"],["cda","application/x-cdf"],["cdf","application/x-netcdf"],["cdfx","application/cdfx+xml"],["cdkey","application/vnd.mediastation.cdkey"],["cdmia","application/cdmi-capability"],["cdmic","application/cdmi-container"],["cdmid","application/cdmi-domain"],["cdmio","application/cdmi-object"],["cdmiq","application/cdmi-queue"],["cdr","application/cdr"],["cdx","chemical/x-cdx"],["cdxml","application/vnd.chemdraw+xml"],["cdy","application/vnd.cinderella"],["cer","application/pkix-cert"],["cfs","application/x-cfs-compressed"],["cgm","image/cgm"],["chat","application/x-chat"],["chm","application/vnd.ms-htmlhelp"],["chrt","application/vnd.kde.kchart"],["cif","chemical/x-cif"],["cii","application/vnd.anser-web-certificate-issue-initiation"],["cil","application/vnd.ms-artgalry"],["cjs","application/node"],["cla","application/vnd.claymore"],["class","application/octet-stream"],["clkk","application/vnd.crick.clicker.keyboard"],["clkp","application/vnd.crick.clicker.palette"],["clkt","application/vnd.crick.clicker.template"],["clkw","application/vnd.crick.clicker.wordbank"],["clkx","application/vnd.crick.clicker"],["clp","application/x-msclip"],["cmc","application/vnd.cosmocaller"],["cmdf","chemical/x-cmdf"],["cml","chemical/x-cml"],["cmp","application/vnd.yellowriver-custom-menu"],["cmx","image/x-cmx"],["cod","application/vnd.rim.cod"],["coffee","text/coffeescript"],["com","application/x-msdownload"],["conf","text/plain"],["cpio","application/x-cpio"],["cpp","text/x-c"],["cpt","application/mac-compactpro"],["crd","application/x-mscardfile"],["crl","application/pkix-crl"],["crt","application/x-x509-ca-cert"],["crx","application/x-chrome-extension"],["cryptonote","application/vnd.rig.cryptonote"],["csh","application/x-csh"],["csl","application/vnd.citationstyles.style+xml"],["csml","chemical/x-csml"],["csp","application/vnd.commonspace"],["csr","application/octet-stream"],["css","text/css"],["cst","application/x-director"],["csv","text/csv"],["cu","application/cu-seeme"],["curl","text/vnd.curl"],["cww","application/prs.cww"],["cxt","application/x-director"],["cxx","text/x-c"],["dae","model/vnd.collada+xml"],["daf","application/vnd.mobius.daf"],["dart","application/vnd.dart"],["dataless","application/vnd.fdsn.seed"],["davmount","application/davmount+xml"],["dbf","application/vnd.dbf"],["dbk","application/docbook+xml"],["dcr","application/x-director"],["dcurl","text/vnd.curl.dcurl"],["dd2","application/vnd.oma.dd2+xml"],["ddd","application/vnd.fujixerox.ddd"],["ddf","application/vnd.syncml.dmddf+xml"],["dds","image/vnd.ms-dds"],["deb","application/x-debian-package"],["def","text/plain"],["deploy","application/octet-stream"],["der","application/x-x509-ca-cert"],["dfac","application/vnd.dreamfactory"],["dgc","application/x-dgc-compressed"],["dic","text/x-c"],["dir","application/x-director"],["dis","application/vnd.mobius.dis"],["disposition-notification","message/disposition-notification"],["dist","application/octet-stream"],["distz","application/octet-stream"],["djv","image/vnd.djvu"],["djvu","image/vnd.djvu"],["dll","application/octet-stream"],["dmg","application/x-apple-diskimage"],["dmn","application/octet-stream"],["dmp","application/vnd.tcpdump.pcap"],["dms","application/octet-stream"],["dna","application/vnd.dna"],["doc","application/msword"],["docm","application/vnd.ms-word.template.macroEnabled.12"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["dot","application/msword"],["dotm","application/vnd.ms-word.template.macroEnabled.12"],["dotx","application/vnd.openxmlformats-officedocument.wordprocessingml.template"],["dp","application/vnd.osgi.dp"],["dpg","application/vnd.dpgraph"],["dra","audio/vnd.dra"],["drle","image/dicom-rle"],["dsc","text/prs.lines.tag"],["dssc","application/dssc+der"],["dtb","application/x-dtbook+xml"],["dtd","application/xml-dtd"],["dts","audio/vnd.dts"],["dtshd","audio/vnd.dts.hd"],["dump","application/octet-stream"],["dvb","video/vnd.dvb.file"],["dvi","application/x-dvi"],["dwd","application/atsc-dwd+xml"],["dwf","model/vnd.dwf"],["dwg","image/vnd.dwg"],["dxf","image/vnd.dxf"],["dxp","application/vnd.spotfire.dxp"],["dxr","application/x-director"],["ear","application/java-archive"],["ecelp4800","audio/vnd.nuera.ecelp4800"],["ecelp7470","audio/vnd.nuera.ecelp7470"],["ecelp9600","audio/vnd.nuera.ecelp9600"],["ecma","application/ecmascript"],["edm","application/vnd.novadigm.edm"],["edx","application/vnd.novadigm.edx"],["efif","application/vnd.picsel"],["ei6","application/vnd.pg.osasli"],["elc","application/octet-stream"],["emf","image/emf"],["eml","message/rfc822"],["emma","application/emma+xml"],["emotionml","application/emotionml+xml"],["emz","application/x-msmetafile"],["eol","audio/vnd.digital-winds"],["eot","application/vnd.ms-fontobject"],["eps","application/postscript"],["epub","application/epub+zip"],["es","application/ecmascript"],["es3","application/vnd.eszigno3+xml"],["esa","application/vnd.osgi.subsystem"],["esf","application/vnd.epson.esf"],["et3","application/vnd.eszigno3+xml"],["etx","text/x-setext"],["eva","application/x-eva"],["evy","application/x-envoy"],["exe","application/octet-stream"],["exi","application/exi"],["exp","application/express"],["exr","image/aces"],["ext","application/vnd.novadigm.ext"],["ez","application/andrew-inset"],["ez2","application/vnd.ezpix-album"],["ez3","application/vnd.ezpix-package"],["f","text/x-fortran"],["f4v","video/mp4"],["f77","text/x-fortran"],["f90","text/x-fortran"],["fbs","image/vnd.fastbidsheet"],["fcdt","application/vnd.adobe.formscentral.fcdt"],["fcs","application/vnd.isac.fcs"],["fdf","application/vnd.fdf"],["fdt","application/fdt+xml"],["fe_launch","application/vnd.denovo.fcselayout-link"],["fg5","application/vnd.fujitsu.oasysgp"],["fgd","application/x-director"],["fh","image/x-freehand"],["fh4","image/x-freehand"],["fh5","image/x-freehand"],["fh7","image/x-freehand"],["fhc","image/x-freehand"],["fig","application/x-xfig"],["fits","image/fits"],["flac","audio/x-flac"],["fli","video/x-fli"],["flo","application/vnd.micrografx.flo"],["flv","video/x-flv"],["flw","application/vnd.kde.kivio"],["flx","text/vnd.fmi.flexstor"],["fly","text/vnd.fly"],["fm","application/vnd.framemaker"],["fnc","application/vnd.frogans.fnc"],["fo","application/vnd.software602.filler.form+xml"],["for","text/x-fortran"],["fpx","image/vnd.fpx"],["frame","application/vnd.framemaker"],["fsc","application/vnd.fsc.weblaunch"],["fst","image/vnd.fst"],["ftc","application/vnd.fluxtime.clip"],["fti","application/vnd.anser-web-funds-transfer-initiation"],["fvt","video/vnd.fvt"],["fxp","application/vnd.adobe.fxp"],["fxpl","application/vnd.adobe.fxp"],["fzs","application/vnd.fuzzysheet"],["g2w","application/vnd.geoplan"],["g3","image/g3fax"],["g3w","application/vnd.geospace"],["gac","application/vnd.groove-account"],["gam","application/x-tads"],["gbr","application/rpki-ghostbusters"],["gca","application/x-gca-compressed"],["gdl","model/vnd.gdl"],["gdoc","application/vnd.google-apps.document"],["geo","application/vnd.dynageo"],["geojson","application/geo+json"],["gex","application/vnd.geometry-explorer"],["ggb","application/vnd.geogebra.file"],["ggt","application/vnd.geogebra.tool"],["ghf","application/vnd.groove-help"],["gif","image/gif"],["gim","application/vnd.groove-identity-message"],["glb","model/gltf-binary"],["gltf","model/gltf+json"],["gml","application/gml+xml"],["gmx","application/vnd.gmx"],["gnumeric","application/x-gnumeric"],["gpg","application/gpg-keys"],["gph","application/vnd.flographit"],["gpx","application/gpx+xml"],["gqf","application/vnd.grafeq"],["gqs","application/vnd.grafeq"],["gram","application/srgs"],["gramps","application/x-gramps-xml"],["gre","application/vnd.geometry-explorer"],["grv","application/vnd.groove-injector"],["grxml","application/srgs+xml"],["gsf","application/x-font-ghostscript"],["gsheet","application/vnd.google-apps.spreadsheet"],["gslides","application/vnd.google-apps.presentation"],["gtar","application/x-gtar"],["gtm","application/vnd.groove-tool-message"],["gtw","model/vnd.gtw"],["gv","text/vnd.graphviz"],["gxf","application/gxf"],["gxt","application/vnd.geonext"],["gz","application/gzip"],["gzip","application/gzip"],["h","text/x-c"],["h261","video/h261"],["h263","video/h263"],["h264","video/h264"],["hal","application/vnd.hal+xml"],["hbci","application/vnd.hbci"],["hbs","text/x-handlebars-template"],["hdd","application/x-virtualbox-hdd"],["hdf","application/x-hdf"],["heic","image/heic"],["heics","image/heic-sequence"],["heif","image/heif"],["heifs","image/heif-sequence"],["hej2","image/hej2k"],["held","application/atsc-held+xml"],["hh","text/x-c"],["hjson","application/hjson"],["hlp","application/winhlp"],["hpgl","application/vnd.hp-hpgl"],["hpid","application/vnd.hp-hpid"],["hps","application/vnd.hp-hps"],["hqx","application/mac-binhex40"],["hsj2","image/hsj2"],["htc","text/x-component"],["htke","application/vnd.kenameaapp"],["htm","text/html"],["html","text/html"],["hvd","application/vnd.yamaha.hv-dic"],["hvp","application/vnd.yamaha.hv-voice"],["hvs","application/vnd.yamaha.hv-script"],["i2g","application/vnd.intergeo"],["icc","application/vnd.iccprofile"],["ice","x-conference/x-cooltalk"],["icm","application/vnd.iccprofile"],["ico","image/x-icon"],["ics","text/calendar"],["ief","image/ief"],["ifb","text/calendar"],["ifm","application/vnd.shana.informed.formdata"],["iges","model/iges"],["igl","application/vnd.igloader"],["igm","application/vnd.insors.igm"],["igs","model/iges"],["igx","application/vnd.micrografx.igx"],["iif","application/vnd.shana.informed.interchange"],["img","application/octet-stream"],["imp","application/vnd.accpac.simply.imp"],["ims","application/vnd.ms-ims"],["in","text/plain"],["ini","text/plain"],["ink","application/inkml+xml"],["inkml","application/inkml+xml"],["install","application/x-install-instructions"],["iota","application/vnd.astraea-software.iota"],["ipfix","application/ipfix"],["ipk","application/vnd.shana.informed.package"],["irm","application/vnd.ibm.rights-management"],["irp","application/vnd.irepository.package+xml"],["iso","application/x-iso9660-image"],["itp","application/vnd.shana.informed.formtemplate"],["its","application/its+xml"],["ivp","application/vnd.immervision-ivp"],["ivu","application/vnd.immervision-ivu"],["jad","text/vnd.sun.j2me.app-descriptor"],["jade","text/jade"],["jam","application/vnd.jam"],["jar","application/java-archive"],["jardiff","application/x-java-archive-diff"],["java","text/x-java-source"],["jhc","image/jphc"],["jisp","application/vnd.jisp"],["jls","image/jls"],["jlt","application/vnd.hp-jlyt"],["jng","image/x-jng"],["jnlp","application/x-java-jnlp-file"],["joda","application/vnd.joost.joda-archive"],["jp2","image/jp2"],["jpe","image/jpeg"],["jpeg","image/jpeg"],["jpf","image/jpx"],["jpg","image/jpeg"],["jpg2","image/jp2"],["jpgm","video/jpm"],["jpgv","video/jpeg"],["jph","image/jph"],["jpm","video/jpm"],["jpx","image/jpx"],["js","application/javascript"],["json","application/json"],["json5","application/json5"],["jsonld","application/ld+json"],["jsonl","application/jsonl"],["jsonml","application/jsonml+json"],["jsx","text/jsx"],["jxr","image/jxr"],["jxra","image/jxra"],["jxrs","image/jxrs"],["jxs","image/jxs"],["jxsc","image/jxsc"],["jxsi","image/jxsi"],["jxss","image/jxss"],["kar","audio/midi"],["karbon","application/vnd.kde.karbon"],["kdb","application/octet-stream"],["kdbx","application/x-keepass2"],["key","application/x-iwork-keynote-sffkey"],["kfo","application/vnd.kde.kformula"],["kia","application/vnd.kidspiration"],["kml","application/vnd.google-earth.kml+xml"],["kmz","application/vnd.google-earth.kmz"],["kne","application/vnd.kinar"],["knp","application/vnd.kinar"],["kon","application/vnd.kde.kontour"],["kpr","application/vnd.kde.kpresenter"],["kpt","application/vnd.kde.kpresenter"],["kpxx","application/vnd.ds-keypoint"],["ksp","application/vnd.kde.kspread"],["ktr","application/vnd.kahootz"],["ktx","image/ktx"],["ktx2","image/ktx2"],["ktz","application/vnd.kahootz"],["kwd","application/vnd.kde.kword"],["kwt","application/vnd.kde.kword"],["lasxml","application/vnd.las.las+xml"],["latex","application/x-latex"],["lbd","application/vnd.llamagraphics.life-balance.desktop"],["lbe","application/vnd.llamagraphics.life-balance.exchange+xml"],["les","application/vnd.hhe.lesson-player"],["less","text/less"],["lgr","application/lgr+xml"],["lha","application/octet-stream"],["link66","application/vnd.route66.link66+xml"],["list","text/plain"],["list3820","application/vnd.ibm.modcap"],["listafp","application/vnd.ibm.modcap"],["litcoffee","text/coffeescript"],["lnk","application/x-ms-shortcut"],["log","text/plain"],["lostxml","application/lost+xml"],["lrf","application/octet-stream"],["lrm","application/vnd.ms-lrm"],["ltf","application/vnd.frogans.ltf"],["lua","text/x-lua"],["luac","application/x-lua-bytecode"],["lvp","audio/vnd.lucent.voice"],["lwp","application/vnd.lotus-wordpro"],["lzh","application/octet-stream"],["m1v","video/mpeg"],["m2a","audio/mpeg"],["m2v","video/mpeg"],["m3a","audio/mpeg"],["m3u","text/plain"],["m3u8","application/vnd.apple.mpegurl"],["m4a","audio/x-m4a"],["m4p","application/mp4"],["m4s","video/iso.segment"],["m4u","application/vnd.mpegurl"],["m4v","video/x-m4v"],["m13","application/x-msmediaview"],["m14","application/x-msmediaview"],["m21","application/mp21"],["ma","application/mathematica"],["mads","application/mads+xml"],["maei","application/mmt-aei+xml"],["mag","application/vnd.ecowin.chart"],["maker","application/vnd.framemaker"],["man","text/troff"],["manifest","text/cache-manifest"],["map","application/json"],["mar","application/octet-stream"],["markdown","text/markdown"],["mathml","application/mathml+xml"],["mb","application/mathematica"],["mbk","application/vnd.mobius.mbk"],["mbox","application/mbox"],["mc1","application/vnd.medcalcdata"],["mcd","application/vnd.mcd"],["mcurl","text/vnd.curl.mcurl"],["md","text/markdown"],["mdb","application/x-msaccess"],["mdi","image/vnd.ms-modi"],["mdx","text/mdx"],["me","text/troff"],["mesh","model/mesh"],["meta4","application/metalink4+xml"],["metalink","application/metalink+xml"],["mets","application/mets+xml"],["mfm","application/vnd.mfmp"],["mft","application/rpki-manifest"],["mgp","application/vnd.osgeo.mapguide.package"],["mgz","application/vnd.proteus.magazine"],["mid","audio/midi"],["midi","audio/midi"],["mie","application/x-mie"],["mif","application/vnd.mif"],["mime","message/rfc822"],["mj2","video/mj2"],["mjp2","video/mj2"],["mjs","application/javascript"],["mk3d","video/x-matroska"],["mka","audio/x-matroska"],["mkd","text/x-markdown"],["mks","video/x-matroska"],["mkv","video/x-matroska"],["mlp","application/vnd.dolby.mlp"],["mmd","application/vnd.chipnuts.karaoke-mmd"],["mmf","application/vnd.smaf"],["mml","text/mathml"],["mmr","image/vnd.fujixerox.edmics-mmr"],["mng","video/x-mng"],["mny","application/x-msmoney"],["mobi","application/x-mobipocket-ebook"],["mods","application/mods+xml"],["mov","video/quicktime"],["movie","video/x-sgi-movie"],["mp2","audio/mpeg"],["mp2a","audio/mpeg"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mp4a","audio/mp4"],["mp4s","application/mp4"],["mp4v","video/mp4"],["mp21","application/mp21"],["mpc","application/vnd.mophun.certificate"],["mpd","application/dash+xml"],["mpe","video/mpeg"],["mpeg","video/mpeg"],["mpg","video/mpeg"],["mpg4","video/mp4"],["mpga","audio/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["mpm","application/vnd.blueice.multipass"],["mpn","application/vnd.mophun.application"],["mpp","application/vnd.ms-project"],["mpt","application/vnd.ms-project"],["mpy","application/vnd.ibm.minipay"],["mqy","application/vnd.mobius.mqy"],["mrc","application/marc"],["mrcx","application/marcxml+xml"],["ms","text/troff"],["mscml","application/mediaservercontrol+xml"],["mseed","application/vnd.fdsn.mseed"],["mseq","application/vnd.mseq"],["msf","application/vnd.epson.msf"],["msg","application/vnd.ms-outlook"],["msh","model/mesh"],["msi","application/x-msdownload"],["msl","application/vnd.mobius.msl"],["msm","application/octet-stream"],["msp","application/octet-stream"],["msty","application/vnd.muvee.style"],["mtl","model/mtl"],["mts","model/vnd.mts"],["mus","application/vnd.musician"],["musd","application/mmt-usd+xml"],["musicxml","application/vnd.recordare.musicxml+xml"],["mvb","application/x-msmediaview"],["mvt","application/vnd.mapbox-vector-tile"],["mwf","application/vnd.mfer"],["mxf","application/mxf"],["mxl","application/vnd.recordare.musicxml"],["mxmf","audio/mobile-xmf"],["mxml","application/xv+xml"],["mxs","application/vnd.triscape.mxs"],["mxu","video/vnd.mpegurl"],["n-gage","application/vnd.nokia.n-gage.symbian.install"],["n3","text/n3"],["nb","application/mathematica"],["nbp","application/vnd.wolfram.player"],["nc","application/x-netcdf"],["ncx","application/x-dtbncx+xml"],["nfo","text/x-nfo"],["ngdat","application/vnd.nokia.n-gage.data"],["nitf","application/vnd.nitf"],["nlu","application/vnd.neurolanguage.nlu"],["nml","application/vnd.enliven"],["nnd","application/vnd.noblenet-directory"],["nns","application/vnd.noblenet-sealer"],["nnw","application/vnd.noblenet-web"],["npx","image/vnd.net-fpx"],["nq","application/n-quads"],["nsc","application/x-conference"],["nsf","application/vnd.lotus-notes"],["nt","application/n-triples"],["ntf","application/vnd.nitf"],["numbers","application/x-iwork-numbers-sffnumbers"],["nzb","application/x-nzb"],["oa2","application/vnd.fujitsu.oasys2"],["oa3","application/vnd.fujitsu.oasys3"],["oas","application/vnd.fujitsu.oasys"],["obd","application/x-msbinder"],["obgx","application/vnd.openblox.game+xml"],["obj","model/obj"],["oda","application/oda"],["odb","application/vnd.oasis.opendocument.database"],["odc","application/vnd.oasis.opendocument.chart"],["odf","application/vnd.oasis.opendocument.formula"],["odft","application/vnd.oasis.opendocument.formula-template"],["odg","application/vnd.oasis.opendocument.graphics"],["odi","application/vnd.oasis.opendocument.image"],["odm","application/vnd.oasis.opendocument.text-master"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogex","model/vnd.opengex"],["ogg","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["omdoc","application/omdoc+xml"],["onepkg","application/onenote"],["onetmp","application/onenote"],["onetoc","application/onenote"],["onetoc2","application/onenote"],["opf","application/oebps-package+xml"],["opml","text/x-opml"],["oprc","application/vnd.palm"],["opus","audio/ogg"],["org","text/x-org"],["osf","application/vnd.yamaha.openscoreformat"],["osfpvg","application/vnd.yamaha.openscoreformat.osfpvg+xml"],["osm","application/vnd.openstreetmap.data+xml"],["otc","application/vnd.oasis.opendocument.chart-template"],["otf","font/otf"],["otg","application/vnd.oasis.opendocument.graphics-template"],["oth","application/vnd.oasis.opendocument.text-web"],["oti","application/vnd.oasis.opendocument.image-template"],["otp","application/vnd.oasis.opendocument.presentation-template"],["ots","application/vnd.oasis.opendocument.spreadsheet-template"],["ott","application/vnd.oasis.opendocument.text-template"],["ova","application/x-virtualbox-ova"],["ovf","application/x-virtualbox-ovf"],["owl","application/rdf+xml"],["oxps","application/oxps"],["oxt","application/vnd.openofficeorg.extension"],["p","text/x-pascal"],["p7a","application/x-pkcs7-signature"],["p7b","application/x-pkcs7-certificates"],["p7c","application/pkcs7-mime"],["p7m","application/pkcs7-mime"],["p7r","application/x-pkcs7-certreqresp"],["p7s","application/pkcs7-signature"],["p8","application/pkcs8"],["p10","application/x-pkcs10"],["p12","application/x-pkcs12"],["pac","application/x-ns-proxy-autoconfig"],["pages","application/x-iwork-pages-sffpages"],["pas","text/x-pascal"],["paw","application/vnd.pawaafile"],["pbd","application/vnd.powerbuilder6"],["pbm","image/x-portable-bitmap"],["pcap","application/vnd.tcpdump.pcap"],["pcf","application/x-font-pcf"],["pcl","application/vnd.hp-pcl"],["pclxl","application/vnd.hp-pclxl"],["pct","image/x-pict"],["pcurl","application/vnd.curl.pcurl"],["pcx","image/x-pcx"],["pdb","application/x-pilot"],["pde","text/x-processing"],["pdf","application/pdf"],["pem","application/x-x509-user-cert"],["pfa","application/x-font-type1"],["pfb","application/x-font-type1"],["pfm","application/x-font-type1"],["pfr","application/font-tdpfr"],["pfx","application/x-pkcs12"],["pgm","image/x-portable-graymap"],["pgn","application/x-chess-pgn"],["pgp","application/pgp"],["php","application/x-httpd-php"],["php3","application/x-httpd-php"],["php4","application/x-httpd-php"],["phps","application/x-httpd-php-source"],["phtml","application/x-httpd-php"],["pic","image/x-pict"],["pkg","application/octet-stream"],["pki","application/pkixcmp"],["pkipath","application/pkix-pkipath"],["pkpass","application/vnd.apple.pkpass"],["pl","application/x-perl"],["plb","application/vnd.3gpp.pic-bw-large"],["plc","application/vnd.mobius.plc"],["plf","application/vnd.pocketlearn"],["pls","application/pls+xml"],["pm","application/x-perl"],["pml","application/vnd.ctc-posml"],["png","image/png"],["pnm","image/x-portable-anymap"],["portpkg","application/vnd.macports.portpkg"],["pot","application/vnd.ms-powerpoint"],["potm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"],["potx","application/vnd.openxmlformats-officedocument.presentationml.template"],["ppa","application/vnd.ms-powerpoint"],["ppam","application/vnd.ms-powerpoint.addin.macroEnabled.12"],["ppd","application/vnd.cups-ppd"],["ppm","image/x-portable-pixmap"],["pps","application/vnd.ms-powerpoint"],["ppsm","application/vnd.ms-powerpoint.slideshow.macroEnabled.12"],["ppsx","application/vnd.openxmlformats-officedocument.presentationml.slideshow"],["ppt","application/powerpoint"],["pptm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["pqa","application/vnd.palm"],["prc","application/x-pilot"],["pre","application/vnd.lotus-freelance"],["prf","application/pics-rules"],["provx","application/provenance+xml"],["ps","application/postscript"],["psb","application/vnd.3gpp.pic-bw-small"],["psd","application/x-photoshop"],["psf","application/x-font-linux-psf"],["pskcxml","application/pskc+xml"],["pti","image/prs.pti"],["ptid","application/vnd.pvi.ptid1"],["pub","application/x-mspublisher"],["pvb","application/vnd.3gpp.pic-bw-var"],["pwn","application/vnd.3m.post-it-notes"],["pya","audio/vnd.ms-playready.media.pya"],["pyv","video/vnd.ms-playready.media.pyv"],["qam","application/vnd.epson.quickanime"],["qbo","application/vnd.intu.qbo"],["qfx","application/vnd.intu.qfx"],["qps","application/vnd.publishare-delta-tree"],["qt","video/quicktime"],["qwd","application/vnd.quark.quarkxpress"],["qwt","application/vnd.quark.quarkxpress"],["qxb","application/vnd.quark.quarkxpress"],["qxd","application/vnd.quark.quarkxpress"],["qxl","application/vnd.quark.quarkxpress"],["qxt","application/vnd.quark.quarkxpress"],["ra","audio/x-realaudio"],["ram","audio/x-pn-realaudio"],["raml","application/raml+yaml"],["rapd","application/route-apd+xml"],["rar","application/x-rar"],["ras","image/x-cmu-raster"],["rcprofile","application/vnd.ipunplugged.rcprofile"],["rdf","application/rdf+xml"],["rdz","application/vnd.data-vision.rdz"],["relo","application/p2p-overlay+xml"],["rep","application/vnd.businessobjects"],["res","application/x-dtbresource+xml"],["rgb","image/x-rgb"],["rif","application/reginfo+xml"],["rip","audio/vnd.rip"],["ris","application/x-research-info-systems"],["rl","application/resource-lists+xml"],["rlc","image/vnd.fujixerox.edmics-rlc"],["rld","application/resource-lists-diff+xml"],["rm","audio/x-pn-realaudio"],["rmi","audio/midi"],["rmp","audio/x-pn-realaudio-plugin"],["rms","application/vnd.jcp.javame.midlet-rms"],["rmvb","application/vnd.rn-realmedia-vbr"],["rnc","application/relax-ng-compact-syntax"],["rng","application/xml"],["roa","application/rpki-roa"],["roff","text/troff"],["rp9","application/vnd.cloanto.rp9"],["rpm","audio/x-pn-realaudio-plugin"],["rpss","application/vnd.nokia.radio-presets"],["rpst","application/vnd.nokia.radio-preset"],["rq","application/sparql-query"],["rs","application/rls-services+xml"],["rsa","application/x-pkcs7"],["rsat","application/atsc-rsat+xml"],["rsd","application/rsd+xml"],["rsheet","application/urc-ressheet+xml"],["rss","application/rss+xml"],["rtf","text/rtf"],["rtx","text/richtext"],["run","application/x-makeself"],["rusd","application/route-usd+xml"],["rv","video/vnd.rn-realvideo"],["s","text/x-asm"],["s3m","audio/s3m"],["saf","application/vnd.yamaha.smaf-audio"],["sass","text/x-sass"],["sbml","application/sbml+xml"],["sc","application/vnd.ibm.secure-container"],["scd","application/x-msschedule"],["scm","application/vnd.lotus-screencam"],["scq","application/scvp-cv-request"],["scs","application/scvp-cv-response"],["scss","text/x-scss"],["scurl","text/vnd.curl.scurl"],["sda","application/vnd.stardivision.draw"],["sdc","application/vnd.stardivision.calc"],["sdd","application/vnd.stardivision.impress"],["sdkd","application/vnd.solent.sdkm+xml"],["sdkm","application/vnd.solent.sdkm+xml"],["sdp","application/sdp"],["sdw","application/vnd.stardivision.writer"],["sea","application/octet-stream"],["see","application/vnd.seemail"],["seed","application/vnd.fdsn.seed"],["sema","application/vnd.sema"],["semd","application/vnd.semd"],["semf","application/vnd.semf"],["senmlx","application/senml+xml"],["sensmlx","application/sensml+xml"],["ser","application/java-serialized-object"],["setpay","application/set-payment-initiation"],["setreg","application/set-registration-initiation"],["sfd-hdstx","application/vnd.hydrostatix.sof-data"],["sfs","application/vnd.spotfire.sfs"],["sfv","text/x-sfv"],["sgi","image/sgi"],["sgl","application/vnd.stardivision.writer-global"],["sgm","text/sgml"],["sgml","text/sgml"],["sh","application/x-sh"],["shar","application/x-shar"],["shex","text/shex"],["shf","application/shf+xml"],["shtml","text/html"],["sid","image/x-mrsid-image"],["sieve","application/sieve"],["sig","application/pgp-signature"],["sil","audio/silk"],["silo","model/mesh"],["sis","application/vnd.symbian.install"],["sisx","application/vnd.symbian.install"],["sit","application/x-stuffit"],["sitx","application/x-stuffitx"],["siv","application/sieve"],["skd","application/vnd.koan"],["skm","application/vnd.koan"],["skp","application/vnd.koan"],["skt","application/vnd.koan"],["sldm","application/vnd.ms-powerpoint.slide.macroenabled.12"],["sldx","application/vnd.openxmlformats-officedocument.presentationml.slide"],["slim","text/slim"],["slm","text/slim"],["sls","application/route-s-tsid+xml"],["slt","application/vnd.epson.salt"],["sm","application/vnd.stepmania.stepchart"],["smf","application/vnd.stardivision.math"],["smi","application/smil"],["smil","application/smil"],["smv","video/x-smv"],["smzip","application/vnd.stepmania.package"],["snd","audio/basic"],["snf","application/x-font-snf"],["so","application/octet-stream"],["spc","application/x-pkcs7-certificates"],["spdx","text/spdx"],["spf","application/vnd.yamaha.smaf-phrase"],["spl","application/x-futuresplash"],["spot","text/vnd.in3d.spot"],["spp","application/scvp-vp-response"],["spq","application/scvp-vp-request"],["spx","audio/ogg"],["sql","application/x-sql"],["src","application/x-wais-source"],["srt","application/x-subrip"],["sru","application/sru+xml"],["srx","application/sparql-results+xml"],["ssdl","application/ssdl+xml"],["sse","application/vnd.kodak-descriptor"],["ssf","application/vnd.epson.ssf"],["ssml","application/ssml+xml"],["sst","application/octet-stream"],["st","application/vnd.sailingtracker.track"],["stc","application/vnd.sun.xml.calc.template"],["std","application/vnd.sun.xml.draw.template"],["stf","application/vnd.wt.stf"],["sti","application/vnd.sun.xml.impress.template"],["stk","application/hyperstudio"],["stl","model/stl"],["stpx","model/step+xml"],["stpxz","model/step-xml+zip"],["stpz","model/step+zip"],["str","application/vnd.pg.format"],["stw","application/vnd.sun.xml.writer.template"],["styl","text/stylus"],["stylus","text/stylus"],["sub","text/vnd.dvb.subtitle"],["sus","application/vnd.sus-calendar"],["susp","application/vnd.sus-calendar"],["sv4cpio","application/x-sv4cpio"],["sv4crc","application/x-sv4crc"],["svc","application/vnd.dvb.service"],["svd","application/vnd.svd"],["svg","image/svg+xml"],["svgz","image/svg+xml"],["swa","application/x-director"],["swf","application/x-shockwave-flash"],["swi","application/vnd.aristanetworks.swi"],["swidtag","application/swid+xml"],["sxc","application/vnd.sun.xml.calc"],["sxd","application/vnd.sun.xml.draw"],["sxg","application/vnd.sun.xml.writer.global"],["sxi","application/vnd.sun.xml.impress"],["sxm","application/vnd.sun.xml.math"],["sxw","application/vnd.sun.xml.writer"],["t","text/troff"],["t3","application/x-t3vm-image"],["t38","image/t38"],["taglet","application/vnd.mynfc"],["tao","application/vnd.tao.intent-module-archive"],["tap","image/vnd.tencent.tap"],["tar","application/x-tar"],["tcap","application/vnd.3gpp2.tcap"],["tcl","application/x-tcl"],["td","application/urc-targetdesc+xml"],["teacher","application/vnd.smart.teacher"],["tei","application/tei+xml"],["teicorpus","application/tei+xml"],["tex","application/x-tex"],["texi","application/x-texinfo"],["texinfo","application/x-texinfo"],["text","text/plain"],["tfi","application/thraud+xml"],["tfm","application/x-tex-tfm"],["tfx","image/tiff-fx"],["tga","image/x-tga"],["tgz","application/x-tar"],["thmx","application/vnd.ms-officetheme"],["tif","image/tiff"],["tiff","image/tiff"],["tk","application/x-tcl"],["tmo","application/vnd.tmobile-livetv"],["toml","application/toml"],["torrent","application/x-bittorrent"],["tpl","application/vnd.groove-tool-template"],["tpt","application/vnd.trid.tpt"],["tr","text/troff"],["tra","application/vnd.trueapp"],["trig","application/trig"],["trm","application/x-msterminal"],["ts","video/mp2t"],["tsd","application/timestamped-data"],["tsv","text/tab-separated-values"],["ttc","font/collection"],["ttf","font/ttf"],["ttl","text/turtle"],["ttml","application/ttml+xml"],["twd","application/vnd.simtech-mindmapper"],["twds","application/vnd.simtech-mindmapper"],["txd","application/vnd.genomatix.tuxedo"],["txf","application/vnd.mobius.txf"],["txt","text/plain"],["u8dsn","message/global-delivery-status"],["u8hdr","message/global-headers"],["u8mdn","message/global-disposition-notification"],["u8msg","message/global"],["u32","application/x-authorware-bin"],["ubj","application/ubjson"],["udeb","application/x-debian-package"],["ufd","application/vnd.ufdl"],["ufdl","application/vnd.ufdl"],["ulx","application/x-glulx"],["umj","application/vnd.umajin"],["unityweb","application/vnd.unity"],["uoml","application/vnd.uoml+xml"],["uri","text/uri-list"],["uris","text/uri-list"],["urls","text/uri-list"],["usdz","model/vnd.usdz+zip"],["ustar","application/x-ustar"],["utz","application/vnd.uiq.theme"],["uu","text/x-uuencode"],["uva","audio/vnd.dece.audio"],["uvd","application/vnd.dece.data"],["uvf","application/vnd.dece.data"],["uvg","image/vnd.dece.graphic"],["uvh","video/vnd.dece.hd"],["uvi","image/vnd.dece.graphic"],["uvm","video/vnd.dece.mobile"],["uvp","video/vnd.dece.pd"],["uvs","video/vnd.dece.sd"],["uvt","application/vnd.dece.ttml+xml"],["uvu","video/vnd.uvvu.mp4"],["uvv","video/vnd.dece.video"],["uvva","audio/vnd.dece.audio"],["uvvd","application/vnd.dece.data"],["uvvf","application/vnd.dece.data"],["uvvg","image/vnd.dece.graphic"],["uvvh","video/vnd.dece.hd"],["uvvi","image/vnd.dece.graphic"],["uvvm","video/vnd.dece.mobile"],["uvvp","video/vnd.dece.pd"],["uvvs","video/vnd.dece.sd"],["uvvt","application/vnd.dece.ttml+xml"],["uvvu","video/vnd.uvvu.mp4"],["uvvv","video/vnd.dece.video"],["uvvx","application/vnd.dece.unspecified"],["uvvz","application/vnd.dece.zip"],["uvx","application/vnd.dece.unspecified"],["uvz","application/vnd.dece.zip"],["vbox","application/x-virtualbox-vbox"],["vbox-extpack","application/x-virtualbox-vbox-extpack"],["vcard","text/vcard"],["vcd","application/x-cdlink"],["vcf","text/x-vcard"],["vcg","application/vnd.groove-vcard"],["vcs","text/x-vcalendar"],["vcx","application/vnd.vcx"],["vdi","application/x-virtualbox-vdi"],["vds","model/vnd.sap.vds"],["vhd","application/x-virtualbox-vhd"],["vis","application/vnd.visionary"],["viv","video/vnd.vivo"],["vlc","application/videolan"],["vmdk","application/x-virtualbox-vmdk"],["vob","video/x-ms-vob"],["vor","application/vnd.stardivision.writer"],["vox","application/x-authorware-bin"],["vrml","model/vrml"],["vsd","application/vnd.visio"],["vsf","application/vnd.vsf"],["vss","application/vnd.visio"],["vst","application/vnd.visio"],["vsw","application/vnd.visio"],["vtf","image/vnd.valve.source.texture"],["vtt","text/vtt"],["vtu","model/vnd.vtu"],["vxml","application/voicexml+xml"],["w3d","application/x-director"],["wad","application/x-doom"],["wadl","application/vnd.sun.wadl+xml"],["war","application/java-archive"],["wasm","application/wasm"],["wav","audio/x-wav"],["wax","audio/x-ms-wax"],["wbmp","image/vnd.wap.wbmp"],["wbs","application/vnd.criticaltools.wbs+xml"],["wbxml","application/wbxml"],["wcm","application/vnd.ms-works"],["wdb","application/vnd.ms-works"],["wdp","image/vnd.ms-photo"],["weba","audio/webm"],["webapp","application/x-web-app-manifest+json"],["webm","video/webm"],["webmanifest","application/manifest+json"],["webp","image/webp"],["wg","application/vnd.pmi.widget"],["wgt","application/widget"],["wks","application/vnd.ms-works"],["wm","video/x-ms-wm"],["wma","audio/x-ms-wma"],["wmd","application/x-ms-wmd"],["wmf","image/wmf"],["wml","text/vnd.wap.wml"],["wmlc","application/wmlc"],["wmls","text/vnd.wap.wmlscript"],["wmlsc","application/vnd.wap.wmlscriptc"],["wmv","video/x-ms-wmv"],["wmx","video/x-ms-wmx"],["wmz","application/x-msmetafile"],["woff","font/woff"],["woff2","font/woff2"],["word","application/msword"],["wpd","application/vnd.wordperfect"],["wpl","application/vnd.ms-wpl"],["wps","application/vnd.ms-works"],["wqd","application/vnd.wqd"],["wri","application/x-mswrite"],["wrl","model/vrml"],["wsc","message/vnd.wfa.wsc"],["wsdl","application/wsdl+xml"],["wspolicy","application/wspolicy+xml"],["wtb","application/vnd.webturbo"],["wvx","video/x-ms-wvx"],["x3d","model/x3d+xml"],["x3db","model/x3d+fastinfoset"],["x3dbz","model/x3d+binary"],["x3dv","model/x3d-vrml"],["x3dvz","model/x3d+vrml"],["x3dz","model/x3d+xml"],["x32","application/x-authorware-bin"],["x_b","model/vnd.parasolid.transmit.binary"],["x_t","model/vnd.parasolid.transmit.text"],["xaml","application/xaml+xml"],["xap","application/x-silverlight-app"],["xar","application/vnd.xara"],["xav","application/xcap-att+xml"],["xbap","application/x-ms-xbap"],["xbd","application/vnd.fujixerox.docuworks.binder"],["xbm","image/x-xbitmap"],["xca","application/xcap-caps+xml"],["xcs","application/calendar+xml"],["xdf","application/xcap-diff+xml"],["xdm","application/vnd.syncml.dm+xml"],["xdp","application/vnd.adobe.xdp+xml"],["xdssc","application/dssc+xml"],["xdw","application/vnd.fujixerox.docuworks"],["xel","application/xcap-el+xml"],["xenc","application/xenc+xml"],["xer","application/patch-ops-error+xml"],["xfdf","application/vnd.adobe.xfdf"],["xfdl","application/vnd.xfdl"],["xht","application/xhtml+xml"],["xhtml","application/xhtml+xml"],["xhvml","application/xv+xml"],["xif","image/vnd.xiff"],["xl","application/excel"],["xla","application/vnd.ms-excel"],["xlam","application/vnd.ms-excel.addin.macroEnabled.12"],["xlc","application/vnd.ms-excel"],["xlf","application/xliff+xml"],["xlm","application/vnd.ms-excel"],["xls","application/vnd.ms-excel"],["xlsb","application/vnd.ms-excel.sheet.binary.macroEnabled.12"],["xlsm","application/vnd.ms-excel.sheet.macroEnabled.12"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xlt","application/vnd.ms-excel"],["xltm","application/vnd.ms-excel.template.macroEnabled.12"],["xltx","application/vnd.openxmlformats-officedocument.spreadsheetml.template"],["xlw","application/vnd.ms-excel"],["xm","audio/xm"],["xml","application/xml"],["xns","application/xcap-ns+xml"],["xo","application/vnd.olpc-sugar"],["xop","application/xop+xml"],["xpi","application/x-xpinstall"],["xpl","application/xproc+xml"],["xpm","image/x-xpixmap"],["xpr","application/vnd.is-xpr"],["xps","application/vnd.ms-xpsdocument"],["xpw","application/vnd.intercon.formnet"],["xpx","application/vnd.intercon.formnet"],["xsd","application/xml"],["xsl","application/xml"],["xslt","application/xslt+xml"],["xsm","application/vnd.syncml+xml"],["xspf","application/xspf+xml"],["xul","application/vnd.mozilla.xul+xml"],["xvm","application/xv+xml"],["xvml","application/xv+xml"],["xwd","image/x-xwindowdump"],["xyz","chemical/x-xyz"],["xz","application/x-xz"],["yaml","text/yaml"],["yang","application/yang"],["yin","application/yin+xml"],["yml","text/yaml"],["ymp","text/x-suse-ymp"],["z","application/x-compress"],["z1","application/x-zmachine"],["z2","application/x-zmachine"],["z3","application/x-zmachine"],["z4","application/x-zmachine"],["z5","application/x-zmachine"],["z6","application/x-zmachine"],["z7","application/x-zmachine"],["z8","application/x-zmachine"],["zaz","application/vnd.zzazz.deck+xml"],["zip","application/zip"],["zir","application/vnd.zul"],["zirz","application/vnd.zul"],["zmm","application/vnd.handheld-entertainment+xml"],["zsh","text/x-scriptzsh"]]);function dc(e,t,n){const r=NV(e),{webkitRelativePath:i}=e,a=typeof t=="string"?t:typeof i=="string"&&i.length>0?i:`./${e.name}`;return typeof r.path!="string"&&K5(r,"path",a),K5(r,"relativePath",a),r}function NV(e){const{name:t}=e;if(t&&t.lastIndexOf(".")!==-1&&!e.type){const r=t.split(".").pop().toLowerCase(),i=RV.get(r);i&&Object.defineProperty(e,"type",{value:i,writable:!1,configurable:!1,enumerable:!0})}return e}function K5(e,t,n){Object.defineProperty(e,t,{value:n,writable:!1,configurable:!1,enumerable:!0})}const OV=[".DS_Store","Thumbs.db"];function IV(e){return Mo(this,void 0,void 0,function*(){return _0(e)&&PV(e.dataTransfer)?LV(e.dataTransfer,e.type):BV(e)?MV(e):Array.isArray(e)&&e.every(t=>"getFile"in t&&typeof t.getFile=="function")?jV(e):[]})}function PV(e){return _0(e)}function BV(e){return _0(e)&&_0(e.target)}function _0(e){return typeof e=="object"&&e!==null}function MV(e){return K2(e.target.files).map(t=>dc(t))}function jV(e){return Mo(this,void 0,void 0,function*(){return(yield Promise.all(e.map(n=>n.getFile()))).map(n=>dc(n))})}function LV(e,t){return Mo(this,void 0,void 0,function*(){if(e.items){const n=K2(e.items).filter(i=>i.kind==="file");if(t!=="drop")return n;const r=yield Promise.all(n.map(zV));return Y5(RS(r))}return Y5(K2(e.files).map(n=>dc(n)))})}function Y5(e){return e.filter(t=>OV.indexOf(t.name)===-1)}function K2(e){if(e===null)return[];const t=[];for(let n=0;n[...t,...Array.isArray(n)?RS(n):[n]],[])}function J5(e,t){return Mo(this,void 0,void 0,function*(){var n;if(globalThis.isSecureContext&&typeof e.getAsFileSystemHandle=="function"){const a=yield e.getAsFileSystemHandle();if(a===null)throw new Error(`${e} is not a File`);if(a!==void 0){const o=yield a.getFile();return o.handle=a,dc(o)}}const r=e.getAsFile();if(!r)throw new Error(`${e} is not a File`);return dc(r,(n=t==null?void 0:t.fullPath)!==null&&n!==void 0?n:void 0)})}function WV(e){return Mo(this,void 0,void 0,function*(){return e.isDirectory?NS(e):$V(e)})}function NS(e){const t=e.createReader();return new Promise((n,r)=>{const i=[];function a(){t.readEntries(o=>Mo(this,void 0,void 0,function*(){if(o.length){const s=Promise.all(o.map(WV));i.push(s),a()}else try{const s=yield Promise.all(i);n(s)}catch(s){r(s)}}),o=>{r(o)})}a()})}function $V(e){return Mo(this,void 0,void 0,function*(){return new Promise((t,n)=>{e.file(r=>{const i=dc(r,e.fullPath);t(i)},r=>{n(r)})})})}var Og=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(",");if(n.length===0)return!0;var r=e.name||"",i=(e.type||"").toLowerCase(),a=i.replace(/\/.*$/,"");return n.some(function(o){var s=o.trim().toLowerCase();return s.charAt(0)==="."?r.toLowerCase().endsWith(s):s.endsWith("/*")?a===s.replace(/\/.*$/,""):i===s})}return!0};function Q5(e){return VV(e)||HV(e)||IS(e)||qV()}function qV(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function HV(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function VV(e){if(Array.isArray(e))return Y2(e)}function Z5(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function e6(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&arguments[0]!==void 0?arguments[0]:"",n=t.split(","),r=n.length>1?"one of ".concat(n.join(", ")):n[0];return{code:JV,message:"File type must be ".concat(r)}},t6=function(t){return{code:QV,message:"File is larger than ".concat(t," ").concat(t===1?"byte":"bytes")}},n6=function(t){return{code:ZV,message:"File is smaller than ".concat(t," ").concat(t===1?"byte":"bytes")}},nG={code:eG,message:"Too many files"};function rG(e){return e.type===""&&typeof e.getAsFile=="function"}function PS(e,t){var n=e.type==="application/x-moz-file"||YV(e,t)||rG(e);return[n,n?null:tG(t)]}function BS(e,t,n){if(ss(e.size))if(ss(t)&&ss(n)){if(e.size>n)return[!1,t6(n)];if(e.sizen)return[!1,t6(n)]}return[!0,null]}function ss(e){return e!=null}function iG(e){var t=e.files,n=e.accept,r=e.minSize,i=e.maxSize,a=e.multiple,o=e.maxFiles,s=e.validator;return!a&&t.length>1||a&&o>=1&&t.length>o?!1:t.every(function(l){var c=PS(l,n),u=fd(c,1),d=u[0],f=BS(l,r,i),h=fd(f,1),v=h[0],p=s?s(l):null;return d&&v&&!p})}function T0(e){return typeof e.isPropagationStopped=="function"?e.isPropagationStopped():typeof e.cancelBubble<"u"?e.cancelBubble:!1}function iu(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,function(t){return t==="Files"||t==="application/x-moz-file"}):!!e.target&&!!e.target.files}function r6(e){e.preventDefault()}function aG(e){return e.indexOf("MSIE")!==-1||e.indexOf("Trident/")!==-1}function oG(e){return e.indexOf("Edge/")!==-1}function sG(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.navigator.userAgent;return aG(e)||oG(e)}function wi(){for(var e=arguments.length,t=new Array(e),n=0;n1?i-1:0),o=1;oe.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function kG(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var sx=R.forwardRef(function(e,t){var n=e.children,r=E0(e,fG),i=WS(r),a=i.open,o=E0(i,pG);return R.useImperativeHandle(t,function(){return{open:a}},[a]),Ee.createElement(R.Fragment,null,n(At(At({},o),{},{open:a})))});sx.displayName="Dropzone";var zS={disabled:!1,getFilesFromEvent:IV,maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!1,autoFocus:!1};sx.defaultProps=zS;sx.propTypes={children:yt.func,accept:yt.objectOf(yt.arrayOf(yt.string)),multiple:yt.bool,preventDropOnDocument:yt.bool,noClick:yt.bool,noKeyboard:yt.bool,noDrag:yt.bool,noDragEventsBubbling:yt.bool,minSize:yt.number,maxSize:yt.number,maxFiles:yt.number,disabled:yt.bool,getFilesFromEvent:yt.func,onFileDialogCancel:yt.func,onFileDialogOpen:yt.func,useFsAccessApi:yt.bool,autoFocus:yt.bool,onDragEnter:yt.func,onDragLeave:yt.func,onDragOver:yt.func,onDrop:yt.func,onDropAccepted:yt.func,onDropRejected:yt.func,onError:yt.func,validator:yt.func};var Z2={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,isDragGlobal:!1,acceptedFiles:[],fileRejections:[]};function WS(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=At(At({},zS),e),n=t.accept,r=t.disabled,i=t.getFilesFromEvent,a=t.maxSize,o=t.minSize,s=t.multiple,l=t.maxFiles,c=t.onDragEnter,u=t.onDragLeave,d=t.onDragOver,f=t.onDrop,h=t.onDropAccepted,v=t.onDropRejected,p=t.onFileDialogCancel,y=t.onFileDialogOpen,m=t.useFsAccessApi,g=t.autoFocus,b=t.preventDropOnDocument,x=t.noClick,D=t.noKeyboard,w=t.noDrag,_=t.noDragEventsBubbling,N=t.onError,O=t.validator,B=R.useMemo(function(){return uG(n)},[n]),K=R.useMemo(function(){return cG(n)},[n]),A=R.useMemo(function(){return typeof y=="function"?y:o6},[y]),q=R.useMemo(function(){return typeof p=="function"?p:o6},[p]),T=R.useRef(null),X=R.useRef(null),j=R.useReducer(_G,Z2),z=Ig(j,2),P=z[0],M=z[1],F=P.isFocused,$=P.isFileDialogActive,V=R.useRef(typeof window<"u"&&window.isSecureContext&&m&&lG()),U=function(){!V.current&&$&&setTimeout(function(){if(X.current){var W=X.current.files;W.length||(M({type:"closeDialog"}),q())}},300)};R.useEffect(function(){return window.addEventListener("focus",U,!1),function(){window.removeEventListener("focus",U,!1)}},[X,$,q,V]);var ne=R.useRef([]),ce=R.useRef([]),me=function(W){T.current&&T.current.contains(W.target)||(W.preventDefault(),ne.current=[])};R.useEffect(function(){return b&&(document.addEventListener("dragover",r6,!1),document.addEventListener("drop",me,!1)),function(){b&&(document.removeEventListener("dragover",r6),document.removeEventListener("drop",me))}},[T,b]),R.useEffect(function(){var J=function(we){ce.current=[].concat(i6(ce.current),[we.target]),iu(we)&&M({isDragGlobal:!0,type:"setDragGlobal"})},W=function(we){ce.current=ce.current.filter(function(Oe){return Oe!==we.target&&Oe!==null}),!(ce.current.length>0)&&M({isDragGlobal:!1,type:"setDragGlobal"})},ie=function(){ce.current=[],M({isDragGlobal:!1,type:"setDragGlobal"})},he=function(){ce.current=[],M({isDragGlobal:!1,type:"setDragGlobal"})};return document.addEventListener("dragenter",J,!1),document.addEventListener("dragleave",W,!1),document.addEventListener("dragend",ie,!1),document.addEventListener("drop",he,!1),function(){document.removeEventListener("dragenter",J),document.removeEventListener("dragleave",W),document.removeEventListener("dragend",ie),document.removeEventListener("drop",he)}},[T]),R.useEffect(function(){return!r&&g&&T.current&&T.current.focus(),function(){}},[T,g,r]);var fe=R.useCallback(function(J){N?N(J):console.error(J)},[N]),Se=R.useCallback(function(J){J.preventDefault(),J.persist(),ge(J),ne.current=[].concat(i6(ne.current),[J.target]),iu(J)&&Promise.resolve(i(J)).then(function(W){if(!(T0(J)&&!_)){var ie=W.length,he=ie>0&&iG({files:W,accept:B,minSize:o,maxSize:a,multiple:s,maxFiles:l,validator:O}),be=ie>0&&!he;M({isDragAccept:he,isDragReject:be,isDragActive:!0,type:"setDraggedFiles"}),c&&c(J)}}).catch(function(W){return fe(W)})},[i,c,fe,_,B,o,a,s,l,O]),Ae=R.useCallback(function(J){J.preventDefault(),J.persist(),ge(J);var W=iu(J);if(W&&J.dataTransfer)try{J.dataTransfer.dropEffect="copy"}catch{}return W&&d&&d(J),!1},[d,_]),Pe=R.useCallback(function(J){J.preventDefault(),J.persist(),ge(J);var W=ne.current.filter(function(he){return T.current&&T.current.contains(he)}),ie=W.indexOf(J.target);ie!==-1&&W.splice(ie,1),ne.current=W,!(W.length>0)&&(M({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),iu(J)&&u&&u(J))},[T,u,_]),Me=R.useCallback(function(J,W){var ie=[],he=[];J.forEach(function(be){var we=PS(be,B),Oe=Ig(we,2),Ve=Oe[0],Le=Oe[1],lt=BS(be,o,a),en=Ig(lt,2),tt=en[0],Mn=en[1],pn=O?O(be):null;if(Ve&&tt&&!pn)ie.push(be);else{var Oa=[Le,Mn];pn&&(Oa=Oa.concat(pn)),he.push({file:be,errors:Oa.filter(function(Vs){return Vs})})}}),(!s&&ie.length>1||s&&l>=1&&ie.length>l)&&(ie.forEach(function(be){he.push({file:be,errors:[nG]})}),ie.splice(0)),M({acceptedFiles:ie,fileRejections:he,type:"setFiles"}),f&&f(ie,he,W),he.length>0&&v&&v(he,W),ie.length>0&&h&&h(ie,W)},[M,s,B,o,a,l,f,h,v,O]),ae=R.useCallback(function(J){J.preventDefault(),J.persist(),ge(J),ne.current=[],iu(J)&&Promise.resolve(i(J)).then(function(W){T0(J)&&!_||Me(W,J)}).catch(function(W){return fe(W)}),M({type:"reset"})},[i,Me,fe,_]),de=R.useCallback(function(){if(V.current){M({type:"openDialog"}),A();var J={multiple:s,types:K};window.showOpenFilePicker(J).then(function(W){return i(W)}).then(function(W){Me(W,null),M({type:"closeDialog"})}).catch(function(W){dG(W)?(q(W),M({type:"closeDialog"})):hG(W)?(V.current=!1,X.current?(X.current.value=null,X.current.click()):fe(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no was provided."))):fe(W)});return}X.current&&(M({type:"openDialog"}),A(),X.current.value=null,X.current.click())},[M,A,q,m,Me,fe,K,s]),C=R.useCallback(function(J){!T.current||!T.current.isEqualNode(J.target)||(J.key===" "||J.key==="Enter"||J.keyCode===32||J.keyCode===13)&&(J.preventDefault(),de())},[T,de]),le=R.useCallback(function(){M({type:"focus"})},[]),oe=R.useCallback(function(){M({type:"blur"})},[]),G=R.useCallback(function(){x||(sG()?setTimeout(de,0):de())},[x,de]),H=function(W){return r?null:W},te=function(W){return D?null:H(W)},ue=function(W){return w?null:H(W)},ge=function(W){_&&W.stopPropagation()},se=R.useMemo(function(){return function(){var J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},W=J.refKey,ie=W===void 0?"ref":W,he=J.role,be=J.onKeyDown,we=J.onFocus,Oe=J.onBlur,Ve=J.onClick,Le=J.onDragEnter,lt=J.onDragOver,en=J.onDragLeave,tt=J.onDrop,Mn=E0(J,mG);return At(At(Q2({onKeyDown:te(wi(be,C)),onFocus:te(wi(we,le)),onBlur:te(wi(Oe,oe)),onClick:H(wi(Ve,G)),onDragEnter:ue(wi(Le,Se)),onDragOver:ue(wi(lt,Ae)),onDragLeave:ue(wi(en,Pe)),onDrop:ue(wi(tt,ae)),role:typeof he=="string"&&he!==""?he:"presentation"},ie,T),!r&&!D?{tabIndex:0}:{}),Mn)}},[T,C,le,oe,G,Se,Ae,Pe,ae,D,w,r]),Y=R.useCallback(function(J){J.stopPropagation()},[]),ee=R.useMemo(function(){return function(){var J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},W=J.refKey,ie=W===void 0?"ref":W,he=J.onChange,be=J.onClick,we=E0(J,gG),Oe=Q2({accept:B,multiple:s,type:"file",style:{border:0,clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",height:"1px",margin:"0 -1px -1px 0",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"},onChange:H(wi(he,ae)),onClick:H(wi(be,Y)),tabIndex:-1},ie,X);return At(At({},Oe),we)}},[X,n,s,ae,r]);return At(At({},P),{},{isFocused:F&&!r,getRootProps:se,getInputProps:ee,rootRef:T,inputRef:X,open:H(de)})}function _G(e,t){switch(t.type){case"focus":return At(At({},e),{},{isFocused:!0});case"blur":return At(At({},e),{},{isFocused:!1});case"openDialog":return At(At({},Z2),{},{isFileDialogActive:!0});case"closeDialog":return At(At({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return At(At({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return At(At({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections,isDragReject:!1});case"setDragGlobal":return At(At({},e),{},{isDragGlobal:t.isDragGlobal});case"reset":return At({},Z2);default:return e}}function o6(){}const Kd=e=>`https://momxyrzmibxccqkmqbay.supabase.co/functions/v1/${e}`;async function Pg(e){const{data:{session:t}}=await rt.auth.getSession(),n=t==null?void 0:t.access_token;if(!n)throw new Error("Not authenticated");const r=await fetch(Kd("ingest"),{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${n}`},body:JSON.stringify({document_id:e})});if(!r.ok){const i=await r.text();throw new Error(i||`Ingest failed (${r.status})`)}}async function TG(e){const{data:{session:t}}=await rt.auth.getSession(),n=t==null?void 0:t.access_token;if(!n)throw new Error("Not authenticated");const r=await fetch(Kd("embed_chunks"),{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${n}`},body:JSON.stringify({document_id:e})});if(!r.ok){if(r.status===429)throw new Error("Rate limit reached — please wait a moment and try again.");if(r.status===402)throw new Error("Hit the free-tier rate limit — please wait a moment and retry.");const i=await r.text();throw new Error(i||`Embedding failed (${r.status})`)}return await r.json()}async function EG({documentId:e,message:t,onCitations:n,onDelta:r,signal:i}){var v,p,y;const{data:{session:a}}=await rt.auth.getSession(),o=a==null?void 0:a.access_token;if(!o)throw new Error("Not authenticated");const s=await fetch(Kd("chat"),{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${o}`},body:JSON.stringify({document_id:e,message:t}),signal:i});if(!s.ok||!s.body){if(s.status===429)throw new Error("Rate limit reached — please wait a moment and try again.");if(s.status===402)throw new Error("Hit the free-tier rate limit — please wait a moment and retry.");const m=await s.text();throw new Error(m||`Chat failed (${s.status})`)}const l=s.body.getReader(),c=new TextDecoder;let u="",d="",f=null,h=!1;for(;!h;){const{done:m,value:g}=await l.read();if(m)break;u+=c.decode(g,{stream:!0});let b;for(;(b=u.indexOf(` +`))!==-1;){let x=u.slice(0,b);if(u=u.slice(b+1),x.endsWith("\r")&&(x=x.slice(0,-1)),x===""){f=null;continue}if(x.startsWith(":"))continue;if(x.startsWith("event: ")){f=x.slice(7).trim();continue}if(!x.startsWith("data: "))continue;const D=x.slice(6).trim();if(D==="[DONE]"){h=!0;break}try{const w=JSON.parse(D);if(f==="citations"&&Array.isArray(w.citations))n(w.citations);else{const _=(y=(p=(v=w.choices)==null?void 0:v[0])==null?void 0:p.delta)==null?void 0:y.content;_&&(d+=_,r(_))}}catch{u=x+` +`+u;break}}}return d}async function SG(e){const{data:{session:t}}=await rt.auth.getSession(),n=t==null?void 0:t.access_token;if(!n)throw new Error("Not authenticated");const r=await fetch(Kd("generate_derivatives"),{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${n}`},body:JSON.stringify({document_id:e})});if(!r.ok){if(r.status===429)throw new Error("Rate limit reached — please wait a moment and try again.");if(r.status===402)throw new Error("Hit the free-tier rate limit — please wait a moment and retry.");const i=await r.text();throw new Error(i||`Generation failed (${r.status})`)}return await r.json()}async function CG({documentId:e,onDelta:t,signal:n}){var d,f,h,v,p,y;const{data:{session:r}}=await rt.auth.getSession(),i=r==null?void 0:r.access_token;if(!i)throw new Error("Not authenticated");const a=await fetch(Kd("generate_notes"),{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${i}`},body:JSON.stringify({document_id:e}),signal:n});if(!a.ok||!a.body){if(a.status===429)throw new Error("Rate limit reached — please wait a moment and try again.");if(a.status===402)throw new Error("Hit the free-tier rate limit — please wait a moment and retry.");const m=await a.text();throw new Error(m||`Notes generation failed (${a.status})`)}const o=a.body.getReader(),s=new TextDecoder;let l="",c="",u=!1;for(;!u;){const{done:m,value:g}=await o.read();if(m)break;l+=s.decode(g,{stream:!0});let b;for(;(b=l.indexOf(` +`))!==-1;){let x=l.slice(0,b);if(l=l.slice(b+1),x.endsWith("\r")&&(x=x.slice(0,-1)),x.startsWith(":")||x.trim()===""||!x.startsWith("data: "))continue;const D=x.slice(6).trim();if(D==="[DONE]"){u=!0;break}try{const _=(h=(f=(d=JSON.parse(D).choices)==null?void 0:d[0])==null?void 0:f.delta)==null?void 0:h.content;_&&(c+=_,t(_))}catch{l=x+` +`+l;break}}}if(l.trim())for(let m of l.split(` +`)){if(m.endsWith("\r")&&(m=m.slice(0,-1)),!m.startsWith("data: "))continue;const g=m.slice(6).trim();if(g!=="[DONE]")try{const x=(y=(p=(v=JSON.parse(g).choices)==null?void 0:v[0])==null?void 0:p.delta)==null?void 0:y.content;x&&(c+=x,t(x))}catch{}}return c}const AG="modulepreload",UG=function(e){return"/"+e},s6={},FG=function(t,n,r){let i=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),s=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));i=Promise.allSettled(n.map(l=>{if(l=UG(l),l in s6)return;s6[l]=!0;const c=l.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${u}`))return;const d=document.createElement("link");if(d.rel=c?"stylesheet":AG,c||(d.as="script"),d.crossOrigin="",d.href=l,s&&d.setAttribute("nonce",s),document.head.appendChild(d),c)return new Promise((f,h)=>{d.addEventListener("load",f),d.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${l}`)))})}))}function a(o){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=o,window.dispatchEvent(s),!s.defaultPrevented)throw o}return i.then(o=>{for(const s of o||[])s.status==="rejected"&&a(s.reason);return t().catch(a)})};function RG(){typeof globalThis.DOMMatrix<"u"||(globalThis.DOMMatrix=class{constructor(t){Xo(this,"a");Xo(this,"b");Xo(this,"c");Xo(this,"d");Xo(this,"e");Xo(this,"f");Array.isArray(t)&&t.length===6?(this.a=t[0],this.b=t[1],this.c=t[2],this.d=t[3],this.e=t[4],this.f=t[5]):(this.a=1,this.b=0,this.c=0,this.d=1,this.e=0,this.f=0)}translateSelf(t,n=0){return this.e=this.a*t+this.c*n+this.e,this.f=this.b*t+this.d*n+this.f,this}scaleSelf(t,n=t){return this.a*=t,this.b*=t,this.c*=n,this.d*=n,this}})}function NG(){RG()}let S0;var tD,nD;const OG=((nD=(tD=globalThis.process)==null?void 0:tD.release)==null?void 0:nD.name)==="node";async function $S(e,t={}){const{getDocument:n}=await IG();let r={};if(OG)try{const a=import.meta.resolve("pdfjs-dist/package.json");r={disableFontFace:!0,standardFontDataUrl:new URL("./standard_fonts/",a).href}}catch{}return await n({data:e,isEvalSupported:!1,useSystemFonts:!0,...r,...t}).promise}async function IG(){return S0||await qS(),S0}async function qS(e,{reload:t=!1}={}){if(!(S0&&!t)){NG();try{S0=await FG(()=>import("./pdfjs-C0zYhOZa.js"),[])}catch(n){throw new Error(`Serverless PDF.js bundle could not be resolved: ${n}`)}}}function PG(e){return typeof e=="object"&&e!==null&&"_pdfInfo"in e}async function BG(e,t={}){const{mergePages:n=!1}=t,r=PG(e)?e:await $S(e),i=await Promise.all(Array.from({length:r.numPages},(a,o)=>MG(r,o+1)));return{totalPages:r.numPages,text:n?i.join(` +`).replace(/\s+/g," "):i}}async function MG(e,t){return(await(await e.getPage(t)).getTextContent()).items.filter(i=>i.str!=null).map(i=>i.str+(i.hasEOL?` +`:"")).join("")}const jG=async(...e)=>(await qS(),await BG(...e));var mi={},lx="1.13.8",l6=typeof self=="object"&&self.self===self&&self||typeof global=="object"&&global.global===global&&global||Function("return this")()||{},Np=Array.prototype,cx=Object.prototype,c6=typeof Symbol<"u"?Symbol.prototype:null,LG=Np.push,Yd=Np.slice,pd=cx.toString,zG=cx.hasOwnProperty,HS=typeof ArrayBuffer<"u",WG=typeof DataView<"u",$G=Array.isArray,u6=Object.keys,d6=Object.create,h6=HS&&ArrayBuffer.isView,qG=isNaN,HG=isFinite,VS=!{toString:null}.propertyIsEnumerable("toString"),f6=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],VG=Math.pow(2,53)-1;function Vn(e,t){return t=t==null?e.length-1:+t,function(){for(var n=Math.max(arguments.length-t,0),r=Array(n),i=0;i=0&&n<=VG}}function rC(e){return function(t){return t==null?void 0:t[e]}}const C0=rC("byteLength"),YG=nC(C0);var JG=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;function QG(e){return h6?h6(e)&&!md(e):YG(e)&&JG.test(pd.call(e))}const yx=HS?QG:vx(!1),Fn=rC("length");function ZG(e){for(var t={},n=e.length,r=0;r=0))if(r.push(e),i.push(t),n.push(!0),l){if(f=e.length,f!==t.length)return!1;for(;f--;)n.push({a:e[f],b:t[f]})}else{var h=an(e),v;if(f=h.length,an(t).length!==f)return!1;for(;f--;){if(v=h[f],!zo(t,v))return!1;n.push({a:e[v],b:t[v]})}}}return!0}function Ic(e){if(!jo(e))return[];var t=[];for(var n in e)t.push(n);return VS&&iC(e,t),t}function xx(e){var t=Fn(e);return function(n){if(n==null)return!1;var r=Ic(n);if(Fn(r))return!1;for(var i=0;i":">",'"':""","'":"'","`":"`"},EC=_C(TC),rX=kx(TC),SC=_C(rX),CC=ht.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var Bg=/(.)^/,iX={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},aX=/\\|'|\r|\n|\u2028|\u2029/g;function oX(e){return"\\"+iX[e]}var sX=/^\s*(\w|\$)+\s*$/;function AC(e,t,n){!t&&n&&(t=n),t=Ex({},t,ht.templateSettings);var r=RegExp([(t.escape||Bg).source,(t.interpolate||Bg).source,(t.evaluate||Bg).source].join("|")+"|$","g"),i=0,a="__p+='";e.replace(r,function(c,u,d,f,h){return a+=e.slice(i,h).replace(aX,oX),i=h+c.length,u?a+=`'+ +((__t=(`+u+`))==null?'':_.escape(__t))+ +'`:d?a+=`'+ +((__t=(`+d+`))==null?'':__t)+ +'`:f&&(a+=`'; +`+f+` +__p+='`),c}),a+=`'; +`;var o=t.variable;if(o){if(!sX.test(o))throw new Error("variable is not a bare identifier: "+o)}else a=`with(obj||{}){ +`+a+`} +`,o="obj";a=`var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');}; +`+a+`return __p; +`;var s;try{s=new Function(o,"_",a)}catch(c){throw c.source=a,c}var l=function(c){return s.call(this,c,ht)};return l.source="function("+o+`){ +`+a+"}",l}function UC(e,t,n){t=Jd(t);var r=t.length;if(!r)return On(n)?n.call(e):n;for(var i=0;i=o){if(!s.length)break;var l=s.pop();a=l.i,e=l.v,o=Fn(e);continue}var c=e[a++];s.length>=t?r[i++]=c:Ar(c)&&(Lo(c)||Ip(c))?(s.push({i:a,v:e}),a=0,e=c,o=Fn(e)):n||(r[i++]=c)}return r}const OC=Vn(function(e,t){t=Pc(t,!1,!1);var n=t.length;if(n<1)throw new Error("bindAll must be passed function names");for(;n--;){var r=t[n];e[r]=Fx(e[r],e)}return e});function IC(e,t){var n=function(r){var i=n.cache,a=""+(t?t.apply(this,arguments):r);return zo(i,a)||(i[a]=e.apply(this,arguments)),i[a]};return n.cache={},n}const Rx=Vn(function(e,t,n){return setTimeout(function(){return e.apply(null,n)},t)}),PC=Ws(Rx,ht,1);function BC(e,t,n){var r,i,a,o,s=0;n||(n={});var l=function(){s=n.leading===!1?0:fc(),r=null,o=e.apply(i,a),r||(i=a=null)},c=function(){var u=fc();!s&&n.leading===!1&&(s=u);var d=t-(u-s);return i=this,a=arguments,d<=0||d>t?(r&&(clearTimeout(r),r=null),s=u,o=e.apply(i,a),r||(i=a=null)):!r&&n.trailing!==!1&&(r=setTimeout(l,d)),o};return c.cancel=function(){clearTimeout(r),s=0,r=i=a=null},c}function MC(e,t,n){var r,i,a,o,s,l=function(){var u=fc()-i;t>u?r=setTimeout(l,t-u):(r=null,n||(o=e.apply(s,a)),r||(a=s=null))},c=Vn(function(u){return s=this,a=u,i=fc(),r||(r=setTimeout(l,t),n&&(o=e.apply(s,a))),o});return c.cancel=function(){clearTimeout(r),r=a=s=null},c}function jC(e,t){return Ws(t,e)}function jp(e){return function(){return!e.apply(this,arguments)}}function LC(){var e=arguments,t=e.length-1;return function(){for(var n=t,r=e[t].apply(this,arguments);n--;)r=e[n].call(this,r);return r}}function zC(e,t){return function(){if(--e<1)return t.apply(this,arguments)}}function Nx(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}}const WC=Ws(Nx,2);function Ox(e,t,n){t=sr(t,n);for(var r=an(e),i,a=0,o=r.length;a0?0:i-1;a>=0&&a0?o=a>=0?a:Math.max(a+s,o):s=a>=0?Math.min(a+1,s):a+s+1;else if(n&&a&&s)return a=n(r,i),r[a]===i?a:-1;if(i!==i)return a=t(Yd.call(r,o,s),gx),a>=0?a+o:-1;for(a=e>0?o:s-1;a>=0&&a0?0:s-1;for(a||(i=n[o?o[l]:l],l+=e);l>=0&&l=3;return t(n,Qd(r,a,4),i,o)}}const Wl=GC(1),U0=GC(-1);function So(e,t,n){var r=[];return t=sr(t,n),fi(e,function(i,a,o){t(i,a,o)&&r.push(i)}),r}function XC(e,t,n){return So(e,jp(sr(t)),n)}function F0(e,t,n){t=sr(t,n);for(var r=!Ar(e)&&an(e),i=(r||e).length,a=0;a=0}const KC=Vn(function(e,t,n){var r,i;return On(t)?i=t:(t=Jd(t),r=t.slice(0,-1),t=t[t.length-1]),Da(e,function(a){var o=i;if(!o){if(r&&r.length&&(a=Cx(a,r)),a==null)return;o=a[t]}return o==null?o:o.apply(a,n)})});function zp(e,t){return Da(e,Bp(t))}function YC(e,t){return So(e,Us(t))}function Mx(e,t,n){var r=-1/0,i=-1/0,a,o;if(t==null||typeof t=="number"&&typeof e[0]!="object"&&e!=null){e=Ar(e)?e:zs(e);for(var s=0,l=e.length;sr&&(r=a)}else t=sr(t,n),fi(e,function(c,u,d){o=t(c,u,d),(o>i||o===-1/0&&r===-1/0)&&(r=c,i=o)});return r}function JC(e,t,n){var r=1/0,i=1/0,a,o;if(t==null||typeof t=="number"&&typeof e[0]!="object"&&e!=null){e=Ar(e)?e:zs(e);for(var s=0,l=e.length;ss||o===void 0)return 1;if(o1&&(r=Qd(r,t[1])),t=Ic(e)):(r=uX,t=Pc(t,!1,!1),e=Object(e));for(var i=0,a=t.length;i1&&(r=t[1])):(t=Da(Pc(t,!1,!1),String),n=function(i,a){return!$r(t,a)}),zx(e,n,r)});function Wx(e,t,n){return Yd.call(e,0,Math.max(0,e.length-(t==null||n?1:t)))}function $l(e,t,n){return e==null||e.length<1?t==null||n?void 0:[]:t==null||n?e[0]:Wx(e,e.length-t)}function Ds(e,t,n){return Yd.call(e,t==null||n?1:t)}function oA(e,t,n){return e==null||e.length<1?t==null||n?void 0:[]:t==null||n?e[e.length-1]:Ds(e,Math.max(0,e.length-t))}function sA(e){return So(e,Boolean)}function lA(e,t){return Pc(e,t,!1)}const $x=Vn(function(e,t){return t=Pc(t,!0,!0),So(e,function(n){return!$r(t,n)})}),cA=Vn(function(e,t){return $x(e,t)});function yd(e,t,n,r){dx(t)||(r=n,n=t,t=!1),n!=null&&(n=sr(n,r));for(var i=[],a=[],o=0,s=Fn(e);o"u",r={e:{}},i,a=typeof self<"u"?self:typeof window<"u"?window:typeof Ke<"u"||Ke!==void 0?Ke:null;function o(){try{var U=i;return i=null,U.apply(this,arguments)}catch(ne){return r.e=ne,r}}function s(U){return i=U,o}var l=function(U,ne){var ce={}.hasOwnProperty;function me(){this.constructor=U,this.constructor$=ne;for(var fe in ne.prototype)ce.call(ne.prototype,fe)&&fe.charAt(fe.length-1)!=="$"&&(this[fe+"$"]=ne.prototype[fe])}return me.prototype=ne.prototype,U.prototype=new me,U.prototype};function c(U){return U==null||U===!0||U===!1||typeof U=="string"||typeof U=="number"}function u(U){return typeof U=="function"||typeof U=="object"&&U!==null}function d(U){return c(U)?new Error(_(U)):U}function f(U,ne){var ce=U.length,me=new Array(ce+1),fe;for(fe=0;fe1,me=ne.length>0&&!(ne.length===1&&ne[0]==="constructor"),fe=m.test(U+"")&&t.names(U).length>0;if(ce||me||fe)return!0}return!1}catch{return!1}}function b(U){return U}var x=/^[a-z$_][a-z$_0-9]*$/i;function D(U){return x.test(U)}function w(U,ne,ce){for(var me=new Array(U),fe=0;fe10||U[0]>0}(),V.isNode&&V.toFastProperties(process);try{throw new Error}catch(U){V.lastLineError=U}return Mg=V,Mg}var Xh={exports:{}},jg,y6;function fX(){if(y6)return jg;y6=1;var e=Et(),t,n=function(){throw new Error(`No async scheduler available + + See http://goo.gl/MqrFmX +`)},r=e.getNativePromise();if(e.isNode&&typeof MutationObserver>"u"){var i=Ke.setImmediate,a=process.nextTick;t=e.isRecentNode?function(s){i.call(Ke,s)}:function(s){a.call(process,s)}}else if(typeof r=="function"&&typeof r.resolve=="function"){var o=r.resolve();t=function(s){o.then(s)}}else typeof MutationObserver<"u"&&!(typeof window<"u"&&window.navigator&&(window.navigator.standalone||window.cordova))?t=function(){var s=document.createElement("div"),l={attributes:!0},c=!1,u=document.createElement("div"),d=new MutationObserver(function(){s.classList.toggle("foo"),c=!1});d.observe(u,l);var f=function(){c||(c=!0,u.classList.toggle("foo"))};return function(v){var p=new MutationObserver(function(){p.disconnect(),v()});p.observe(s,l),f()}}():typeof setImmediate<"u"?t=function(s){setImmediate(s)}:typeof setTimeout<"u"?t=function(s){setTimeout(s,0)}:t=n;return jg=t,jg}var Lg,b6;function pX(){if(b6)return Lg;b6=1;function e(n,r,i,a,o){for(var s=0;s0;){var c=l.shift();if(typeof c!="function"){c._settlePromises();continue}var u=l.shift(),d=l.shift();c.call(u,d)}},i.prototype._drainQueues=function(){this._drainQueue(this._normalQueue),this._reset(),this._haveDrainedQueues=!0,this._drainQueue(this._lateQueue)},i.prototype._queueTick=function(){this._isTickUsed||(this._isTickUsed=!0,this._schedule(this.drainQueues))},i.prototype._reset=function(){this._isTickUsed=!1},Xh.exports=i,Xh.exports.firstLineError=e,Xh.exports}var zg,w6;function Co(){if(w6)return zg;w6=1;var e=Bc(),t=e.freeze,n=Et(),r=n.inherits,i=n.notEnumerableProp;function a(m,g){function b(x){if(!(this instanceof b))return new b(x);i(this,"message",typeof x=="string"?x:g),i(this,"name",m),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):Error.call(this)}return r(b,Error),b}var o,s,l=a("Warning","warning"),c=a("CancellationError","cancellation error"),u=a("TimeoutError","timeout error"),d=a("AggregateError","aggregate error");try{o=TypeError,s=RangeError}catch{o=a("TypeError","type error"),s=a("RangeError","range error")}for(var f="join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse".split(" "),h=0;h=this._length?(this._resolve(this._values),!0):!1},s.prototype._promiseCancelled=function(){return this._cancel(),!0},s.prototype._promiseRejected=function(l){return this._totalResolved++,this._reject(l),!0},s.prototype._resultCancelled=function(){if(!this._isResolved()){var l=this._values;if(this._cancel(),l instanceof e)l.cancel();else for(var c=0;c=0)return n[o]}return r.CapturedTrace=null,r.create=i,r.deactivateLongStackTraces=function(){},r.activateLongStackTraces=function(){var o=e.prototype._pushContext,s=e.prototype._popContext,l=e._peekContext,c=e.prototype._peekContext,u=e.prototype._promiseCreated;r.deactivateLongStackTraces=function(){e.prototype._pushContext=o,e.prototype._popContext=s,e._peekContext=l,e.prototype._peekContext=c,e.prototype._promiseCreated=u,t=!1},t=!0,e.prototype._pushContext=r.prototype._pushContext,e.prototype._popContext=r.prototype._popContext,e._peekContext=e.prototype._peekContext=a,e.prototype._promiseCreated=function(){var d=this._peekContext();d&&d._promiseCreated==null&&(d._promiseCreated=this)}},r}),qg}var Hg,T6;function bX(){return T6||(T6=1,Hg=function(e,t){var n=e._getDomain,r=e._async,i=Co().Warning,a=Et(),o=a.canAttachTrace,s,l,c=/[\\\/]bluebird[\\\/]js[\\\/](release|debug|instrumented)/,u=/\((?:timers\.js):\d+:\d+\)/,d=/[\/<\(](.+?):(\d+):(\d+)\)?\s*$/,f=null,h=null,v=!1,p,y=!!(a.env("BLUEBIRD_DEBUG")!=0&&(a.env("BLUEBIRD_DEBUG")||a.env("NODE_ENV")==="development")),m=!!(a.env("BLUEBIRD_WARNINGS")!=0&&(y||a.env("BLUEBIRD_WARNINGS"))),g=!!(a.env("BLUEBIRD_LONG_STACK_TRACES")!=0&&(y||a.env("BLUEBIRD_LONG_STACK_TRACES"))),b=a.env("BLUEBIRD_W_FORGOTTEN_RETURN")!=0&&(m||!!a.env("BLUEBIRD_W_FORGOTTEN_RETURN"));e.prototype.suppressUnhandledRejections=function(){var Y=this._target();Y._bitField=Y._bitField&-1048577|524288},e.prototype._ensurePossibleRejectionHandled=function(){this._bitField&524288||(this._setRejectionIsUnhandled(),r.invokeLater(this._notifyUnhandledRejection,this,void 0))},e.prototype._notifyUnhandledRejectionIsHandled=function(){ae("rejectionHandled",s,void 0,this)},e.prototype._setReturnedNonUndefined=function(){this._bitField=this._bitField|268435456},e.prototype._returnedNonUndefined=function(){return(this._bitField&268435456)!==0},e.prototype._notifyUnhandledRejection=function(){if(this._isRejectionUnhandled()){var Y=this._settledValue();this._setUnhandledRejectionIsNotified(),ae("unhandledRejection",l,Y,this)}},e.prototype._setUnhandledRejectionIsNotified=function(){this._bitField=this._bitField|262144},e.prototype._unsetUnhandledRejectionIsNotified=function(){this._bitField=this._bitField&-262145},e.prototype._isUnhandledRejectionNotified=function(){return(this._bitField&262144)>0},e.prototype._setRejectionIsUnhandled=function(){this._bitField=this._bitField|1048576},e.prototype._unsetRejectionIsUnhandled=function(){this._bitField=this._bitField&-1048577,this._isUnhandledRejectionNotified()&&(this._unsetUnhandledRejectionIsNotified(),this._notifyUnhandledRejectionIsHandled())},e.prototype._isRejectionUnhandled=function(){return(this._bitField&1048576)>0},e.prototype._warn=function(Y,ee,J){return ne(Y,ee,J||this)},e.onPossiblyUnhandledRejection=function(Y){var ee=n();l=typeof Y=="function"?ee===null?Y:a.domainBind(ee,Y):void 0},e.onUnhandledRejectionHandled=function(Y){var ee=n();s=typeof Y=="function"?ee===null?Y:a.domainBind(ee,Y):void 0};var x=function(){};e.longStackTraces=function(){if(r.haveItemsQueued()&&!se.longStackTraces)throw new Error(`cannot enable long stack traces after promises have been created + + See http://goo.gl/MqrFmX +`);if(!se.longStackTraces&&le()){var Y=e.prototype._captureStackTrace,ee=e.prototype._attachExtraTrace;se.longStackTraces=!0,x=function(){if(r.haveItemsQueued()&&!se.longStackTraces)throw new Error(`cannot enable long stack traces after promises have been created + + See http://goo.gl/MqrFmX +`);e.prototype._captureStackTrace=Y,e.prototype._attachExtraTrace=ee,t.deactivateLongStackTraces(),r.enableTrampoline(),se.longStackTraces=!1},e.prototype._captureStackTrace=F,e.prototype._attachExtraTrace=$,t.activateLongStackTraces(),r.disableTrampolineIfNecessary()}},e.hasLongStackTraces=function(){return se.longStackTraces&&le()};var D=function(){try{if(typeof CustomEvent=="function"){var Y=new CustomEvent("CustomEvent");return a.global.dispatchEvent(Y),function(ee,J){var W=new CustomEvent(ee.toLowerCase(),{detail:J,cancelable:!0});return!a.global.dispatchEvent(W)}}else if(typeof Event=="function"){var Y=new Event("CustomEvent");return a.global.dispatchEvent(Y),function(J,W){var ie=new Event(J.toLowerCase(),{cancelable:!0});return ie.detail=W,!a.global.dispatchEvent(ie)}}else{var Y=document.createEvent("CustomEvent");return Y.initCustomEvent("testingtheevent",!1,!0,{}),a.global.dispatchEvent(Y),function(J,W){var ie=document.createEvent("CustomEvent");return ie.initCustomEvent(J.toLowerCase(),!1,!0,W),!a.global.dispatchEvent(ie)}}}catch{}return function(){return!1}}(),w=function(){return a.isNode?function(){return process.emit.apply(process,arguments)}:a.global?function(Y){var ee="on"+Y.toLowerCase(),J=a.global[ee];return J?(J.apply(a.global,[].slice.call(arguments,1)),!0):!1}:function(){return!1}}();function _(Y,ee){return{promise:ee}}var N={promiseCreated:_,promiseFulfilled:_,promiseRejected:_,promiseResolved:_,promiseCancelled:_,promiseChained:function(Y,ee,J){return{promise:ee,child:J}},warning:function(Y,ee){return{warning:ee}},unhandledRejection:function(Y,ee,J){return{reason:ee,promise:J}},rejectionHandled:_},O=function(Y){var ee=!1;try{ee=w.apply(null,arguments)}catch(W){r.throwLater(W),ee=!0}var J=!1;try{J=D(Y,N[Y].apply(null,arguments))}catch(W){r.throwLater(W),J=!0}return J||ee};e.config=function(Y){if(Y=Object(Y),"longStackTraces"in Y&&(Y.longStackTraces?e.longStackTraces():!Y.longStackTraces&&e.hasLongStackTraces()&&x()),"warnings"in Y){var ee=Y.warnings;se.warnings=!!ee,b=se.warnings,a.isObject(ee)&&"wForgottenReturn"in ee&&(b=!!ee.wForgottenReturn)}if("cancellation"in Y&&Y.cancellation&&!se.cancellation){if(r.haveItemsQueued())throw new Error("cannot enable cancellation after promises are in use");e.prototype._clearCancellationData=X,e.prototype._propagateFrom=j,e.prototype._onCancel=q,e.prototype._setOnCancel=T,e.prototype._attachCancellationCallback=A,e.prototype._execute=K,P=j,se.cancellation=!0}return"monitoring"in Y&&(Y.monitoring&&!se.monitoring?(se.monitoring=!0,e.prototype._fireEvent=O):!Y.monitoring&&se.monitoring&&(se.monitoring=!1,e.prototype._fireEvent=B)),e};function B(){return!1}e.prototype._fireEvent=B,e.prototype._execute=function(Y,ee,J){try{Y(ee,J)}catch(W){return W}},e.prototype._onCancel=function(){},e.prototype._setOnCancel=function(Y){},e.prototype._attachCancellationCallback=function(Y){},e.prototype._captureStackTrace=function(){},e.prototype._attachExtraTrace=function(){},e.prototype._clearCancellationData=function(){},e.prototype._propagateFrom=function(Y,ee){};function K(Y,ee,J){var W=this;try{Y(ee,J,function(ie){if(typeof ie!="function")throw new TypeError("onCancel must be a function, got: "+a.toString(ie));W._attachCancellationCallback(ie)})}catch(ie){return ie}}function A(Y){if(!this._isCancellable())return this;var ee=this._onCancel();ee!==void 0?a.isArray(ee)?ee.push(Y):this._setOnCancel([ee,Y]):this._setOnCancel(Y)}function q(){return this._onCancelField}function T(Y){this._onCancelField=Y}function X(){this._cancellationParent=void 0,this._onCancelField=void 0}function j(Y,ee){if(ee&1){this._cancellationParent=Y;var J=Y._branchesRemainingToCancel;J===void 0&&(J=0),Y._branchesRemainingToCancel=J+1}ee&2&&Y._isBound()&&this._setBoundTo(Y._boundTo)}function z(Y,ee){ee&2&&Y._isBound()&&this._setBoundTo(Y._boundTo)}var P=z;function M(){var Y=this._boundTo;return Y!==void 0&&Y instanceof e?Y.isFulfilled()?Y.value():void 0:Y}function F(){this._trace=new ue(this._peekContext())}function $(Y,ee){if(o(Y)){var J=this._trace;if(J!==void 0&&ee&&(J=J._parent),J!==void 0)J.attachExtraTrace(Y);else if(!Y.__stackCleaned__){var W=Pe(Y);a.notEnumerableProp(Y,"stack",W.message+` +`+W.stack.join(` +`)),a.notEnumerableProp(Y,"__stackCleaned__",!0)}}}function V(Y,ee,J,W,ie){if(Y===void 0&&ee!==null&&b){if(ie!==void 0&&ie._returnedNonUndefined()||!(W._bitField&65535))return;J&&(J=J+" ");var he="",be="";if(ee._trace){for(var we=ee._trace.stack.split(` +`),Oe=Se(we),Ve=Oe.length-1;Ve>=0;--Ve){var Le=Oe[Ve];if(!u.test(Le)){var lt=Le.match(d);lt&&(he="at "+lt[1]+":"+lt[2]+":"+lt[3]+" ");break}}if(Oe.length>0){for(var en=Oe[0],Ve=0;Ve0&&(be=` +`+we[Ve-1]);break}}}var tt="a promise was created in a "+J+"handler "+he+"but was not returned from it, see http://goo.gl/rRqMUw"+be;W._warn(tt,!0,ee)}}function U(Y,ee){var J=Y+" is deprecated and will be removed in a future version.";return ee&&(J+=" Use "+ee+" instead."),ne(J)}function ne(Y,ee,J){if(se.warnings){var W=new i(Y),ie;if(ee)J._attachExtraTrace(W);else if(se.longStackTraces&&(ie=e._peekContext()))ie.attachExtraTrace(W);else{var he=Pe(W);W.stack=he.message+` +`+he.stack.join(` +`)}O("warning",W)||Me(W,"",!0)}}function ce(Y,ee){for(var J=0;J=0;--we)if(W[we]===he){be=we;break}for(var we=be;we>=0;--we){var Oe=W[we];if(ee[ie]===Oe)ee.pop(),ie--;else break}ee=W}}function Se(Y){for(var ee=[],J=0;J0&&Y.name!="SyntaxError"&&(ee=ee.slice(J)),ee}function Pe(Y){var ee=Y.stack,J=Y.toString();return ee=typeof ee=="string"&&ee.length>0?Ae(Y):[" (No stack trace)"],{message:J,stack:Y.name=="SyntaxError"?ee:Se(ee)}}function Me(Y,ee,J){if(typeof console<"u"){var W;if(a.isObject(Y)){var ie=Y.stack;W=ee+h(ie,Y)}else W=ee+String(Y);typeof p=="function"?p(W,J):(typeof console.log=="function"||typeof console.log=="object")&&console.log(W)}}function ae(Y,ee,J,W){var ie=!1;try{typeof ee=="function"&&(ie=!0,Y==="rejectionHandled"?ee(W):ee(J,W))}catch(he){r.throwLater(he)}Y==="unhandledRejection"?!O(Y,J,W)&&!ie&&Me(J,"Unhandled rejection "):O(Y,W)}function de(Y){var ee;if(typeof Y=="function")ee="[function "+(Y.name||"anonymous")+"]";else{ee=Y&&typeof Y.toString=="function"?Y.toString():a.toString(Y);var J=/\[object [a-zA-Z0-9$_]+\]/;if(J.test(ee))try{var W=JSON.stringify(Y);ee=W}catch{}ee.length===0&&(ee="(empty array)")}return"(<"+C(ee)+">, no stack trace)"}function C(Y){var ee=41;return Y.length=he||(oe=function(Le){if(c.test(Le))return!0;var lt=H(Le);return!!(lt&<.fileName===be&&ie<=lt.line&<.line<=he)})}}function ue(Y){this._parent=Y,this._promisesCreated=0;var ee=this._length=1+(Y===void 0?0:Y._length);ge(this,ue),ee>32&&this.uncycle()}a.inherits(ue,Error),t.CapturedTrace=ue,ue.prototype.uncycle=function(){var Y=this._length;if(!(Y<2)){for(var ee=[],J={},W=0,ie=this;ie!==void 0;++W)ee.push(ie),ie=ie._parent;Y=this._length=W;for(var W=Y-1;W>=0;--W){var he=ee[W].stack;J[he]===void 0&&(J[he]=W)}for(var W=0;W0&&(ee[we-1]._parent=void 0,ee[we-1]._length=1),ee[W]._parent=void 0,ee[W]._length=1;var Oe=W>0?ee[W-1]:this;we=0;--Le)ee[Le]._length=Ve,Ve++;return}}}},ue.prototype.attachExtraTrace=function(Y){if(!Y.__stackCleaned__){this.uncycle();for(var ee=Pe(Y),J=ee.message,W=[ee.stack],ie=this;ie!==void 0;)W.push(Se(ie.stack.split(` +`))),ie=ie._parent;fe(W),me(W),a.notEnumerableProp(Y,"stack",ce(J,W)),a.notEnumerableProp(Y,"__stackCleaned__",!0)}};var ge=function(){var ee=/^\s*at\s*/,J=function(be,we){return typeof be=="string"?be:we.name!==void 0&&we.message!==void 0?we.toString():de(we)};if(typeof Error.stackTraceLimit=="number"&&typeof Error.captureStackTrace=="function"){Error.stackTraceLimit+=6,f=ee,h=J;var W=Error.captureStackTrace;return oe=function(be){return c.test(be)},function(be,we){Error.stackTraceLimit+=6,W(be,we),Error.stackTraceLimit-=6}}var ie=new Error;if(typeof ie.stack=="string"&&ie.stack.split(` +`)[0].indexOf("stackDetection@")>=0)return f=/@/,h=J,v=!0,function(we){we.stack=new Error().stack};var he;try{throw new Error}catch(be){he="stack"in be}return!("stack"in ie)&&he&&typeof Error.stackTraceLimit=="number"?(f=ee,h=J,function(we){Error.stackTraceLimit+=6;try{throw new Error}catch(Oe){we.stack=Oe.stack}Error.stackTraceLimit-=6}):(h=function(be,we){return typeof be=="string"?be:(typeof we=="object"||typeof we=="function")&&we.name!==void 0&&we.message!==void 0?we.toString():de(we)},null)}();typeof console<"u"&&typeof console.warn<"u"&&(p=function(Y){console.warn(Y)},a.isNode&&process.stderr.isTTY?p=function(Y,ee){var J=ee?"\x1B[33m":"\x1B[31m";console.warn(J+Y+`\x1B[0m +`)}:!a.isNode&&typeof new Error().stack=="string"&&(p=function(Y,ee){console.warn("%c"+Y,ee?"color: darkorange":"color: red")}));var se={warnings:m,longStackTraces:!1,cancellation:!1,monitoring:!1};return g&&e.longStackTraces(),{longStackTraces:function(){return se.longStackTraces},warnings:function(){return se.warnings},cancellation:function(){return se.cancellation},monitoring:function(){return se.monitoring},propagateFromFunction:function(){return P},boundValueFunction:function(){return M},checkForgottenReturns:V,setBounds:te,warn:ne,deprecated:U,CapturedTrace:ue,fireDomEvent:D,fireGlobalEvent:w}}),Hg}var Vg,E6;function xX(){return E6||(E6=1,Vg=function(e,t){var n=Et(),r=e.CancellationError,i=n.errorObj;function a(d,f,h){this.promise=d,this.type=f,this.handler=h,this.called=!1,this.cancelPromise=null}a.prototype.isFinallyHandler=function(){return this.type===0};function o(d){this.finallyHandler=d}o.prototype._resultCancelled=function(){s(this.finallyHandler)};function s(d,f){return d.cancelPromise!=null?(arguments.length>1?d.cancelPromise._reject(f):d.cancelPromise._cancel(),d.cancelPromise=null,!0):!1}function l(){return u.call(this,this.promise._target()._settledValue())}function c(d){if(!s(this,d))return i.e=d,i}function u(d){var f=this.promise,h=this.handler;if(!this.called){this.called=!0;var v=this.isFinallyHandler()?h.call(f._boundValue()):h.call(f._boundValue(),d);if(v!==void 0){f._setReturnedNonUndefined();var p=t(v,f);if(p instanceof e){if(this.cancelPromise!=null)if(p._isCancelled()){var y=new r("late cancellation observer");return f._attachExtraTrace(y),i.e=y,i}else p.isPending()&&p._attachCancellationCallback(new o(this));return p._then(l,c,void 0,this,void 0)}}}return f.isRejected()?(s(this),i.e=d,i):(s(this),d)}return e.prototype._passThrough=function(d,f,h,v){return typeof d!="function"?this.then():this._then(h,v,void 0,new a(this,f,d),void 0)},e.prototype.lastly=e.prototype.finally=function(d){return this._passThrough(d,0,u,u)},e.prototype.tap=function(d){return this._passThrough(d,1,u)},a}),Vg}var Gg,S6;function wX(){return S6||(S6=1,Gg=function(e){var t=Et(),n=Bc().keys,r=t.tryCatch,i=t.errorObj;function a(o,s,l){return function(c){var u=l._boundValue();e:for(var d=0;d1){i.deprecated("calling Promise.try with more than 1 argument");var u=arguments[1],d=arguments[2];c=a.isArray(u)?o(s).apply(d,u):o(s).call(d,u)}else c=o(s)();var f=l._popContext();return i.checkForgottenReturns(c,f,"Promise.try",l),l._resolveFromSyncValue(c),l},e.prototype._resolveFromSyncValue=function(s){s===a.errorObj?this._rejectCallback(s.e,!1):this._resolveCallback(s,!0)}}),Kg}var Yg,U6;function kX(){return U6||(U6=1,Yg=function(e,t,n,r){var i=!1,a=function(c,u){this._reject(u)},o=function(c,u){u.promiseRejectionQueued=!0,u.bindingPromise._then(a,a,null,this,c)},s=function(c,u){this._bitField&50397184||this._resolveCallback(u.target)},l=function(c,u){u.promiseRejectionQueued||this._reject(c)};e.prototype.bind=function(c){i||(i=!0,e.prototype._propagateFrom=r.propagateFromFunction(),e.prototype._boundValue=r.boundValueFunction());var u=n(c),d=new e(t);d._propagateFrom(this,1);var f=this._target();if(d._setBoundTo(u),u instanceof e){var h={promiseRejectionQueued:!1,promise:d,target:f,bindingPromise:u};f._then(t,o,void 0,d,h),u._then(s,l,void 0,d,h),d._setOnCancel(u)}else d._resolveCallback(f);return d},e.prototype._setBoundTo=function(c){c!==void 0?(this._bitField=this._bitField|2097152,this._boundTo=c):this._bitField=this._bitField&-2097153},e.prototype._isBound=function(){return(this._bitField&2097152)===2097152},e.bind=function(c,u){return e.resolve(u).bind(c)}}),Yg}var Jg,F6;function _X(){return F6||(F6=1,Jg=function(e,t,n,r){var i=Et(),a=i.tryCatch,o=i.errorObj,s=e._async;e.prototype.break=e.prototype.cancel=function(){if(!r.cancellation())return this._warn("cancellation is disabled");for(var l=this,c=l;l._isCancellable();){if(!l._cancelBy(c)){c._isFollowing()?c._followee().cancel():c._cancelBranched();break}var u=l._cancellationParent;if(u==null||!u._isCancellable()){l._isFollowing()?l._followee().cancel():l._cancelBranched();break}else l._isFollowing()&&l._followee().cancel(),l._setWillBeCancelled(),c=l,l=u}},e.prototype._branchHasCancelled=function(){this._branchesRemainingToCancel--},e.prototype._enoughBranchesHaveCancelled=function(){return this._branchesRemainingToCancel===void 0||this._branchesRemainingToCancel<=0},e.prototype._cancelBy=function(l){return l===this?(this._branchesRemainingToCancel=0,this._invokeOnCancel(),!0):(this._branchHasCancelled(),this._enoughBranchesHaveCancelled()?(this._invokeOnCancel(),!0):!1)},e.prototype._cancelBranched=function(){this._enoughBranchesHaveCancelled()&&this._cancel()},e.prototype._cancel=function(){this._isCancellable()&&(this._setCancelled(),s.invoke(this._cancelPromises,this,void 0))},e.prototype._cancelPromises=function(){this._length()>0&&this._settlePromises()},e.prototype._unsetOnCancel=function(){this._onCancelField=void 0},e.prototype._isCancellable=function(){return this.isPending()&&!this._isCancelled()},e.prototype.isCancellable=function(){return this.isPending()&&!this.isCancelled()},e.prototype._doInvokeOnCancel=function(l,c){if(i.isArray(l))for(var u=0;u0&&typeof arguments[g]=="function"&&(b=arguments[g],g<=8&&s)){var T=new e(r);T._captureStackTrace();for(var x=v[g-1],D=new x(b),w=p,_=0;_=1&&(this._inFlight--,this._drainQueue(),this._isResolved()))return!0}else{if(g>=1&&this._inFlight>=g)return p[v]=h,this._queue.push(v),!1;m!==null&&(m[v]=h);var b=this._promise,x=this._callback,D=b._boundValue();b._pushContext();var w=l(x).call(D,h,v,y),_=b._popContext();if(a.checkForgottenReturns(w,_,m!==null?"Promise.filter":"Promise.map",b),w===c)return this._reject(w.e),!0;var N=r(w,this._promise);if(N instanceof e){N=N._target();var O=N._bitField;if(O&50397184)if(O&33554432)w=N._value();else return O&16777216?(this._reject(N._reason()),!0):(this._cancel(),!0);else return g>=1&&this._inFlight++,p[v]=N,N._proxy(this,(v+1)*-1),!1}p[v]=w}var B=++this._totalResolved;return B>=y?(m!==null?this._filter(p,m):this._resolve(p),!0):!1},d.prototype._drainQueue=function(){for(var h=this._queue,v=this._limit,p=this._values;h.length>0&&this._inFlight=1?m:0,new d(h,v,m,y).promise()}e.prototype.map=function(h,v){return f(this,h,v,null)},e.map=function(h,v,p,y){return f(h,v,p,y)}}),t1}var n1,P6;function AX(){if(P6)return n1;P6=1;var e=Object.create;if(e){var t=e(null),n=e(null);t[" size"]=n[" size"]=0}return n1=function(r){var i=Et(),a=i.canEvaluate,o=i.isIdentifier,s,l;{var c=function(y){return new Function("ensureMethod",` + return function(obj) { + 'use strict' + var len = this.length; + ensureMethod(obj, 'methodName'); + switch(len) { + case 1: return obj.methodName(this[0]); + case 2: return obj.methodName(this[0], this[1]); + case 3: return obj.methodName(this[0], this[1], this[2]); + case 0: return obj.methodName(); + default: + return obj.methodName.apply(obj, this); + } + }; + `.replace(/methodName/g,y))(f)},u=function(y){return new Function("obj",` + 'use strict'; + return obj.propertyName; + `.replace("propertyName",y))},d=function(y,m,g){var b=g[y];if(typeof b!="function"){if(!o(y))return null;if(b=m(y),g[y]=b,g[" size"]++,g[" size"]>512){for(var x=Object.keys(g),D=0;D<256;++D)delete g[x[D]];g[" size"]=x.length-256}}return b};s=function(y){return d(y,c,t)},l=function(y){return d(y,u,n)}}function f(y,m){var g;if(y!=null&&(g=y[m]),typeof g!="function"){var b="Object "+i.classString(y)+" has no method '"+i.toString(m)+"'";throw new r.TypeError(b)}return g}function h(y){var m=this.pop(),g=f(y,m);return g.apply(y,this)}r.prototype.call=function(y){for(var m=arguments.length,g=new Array(Math.max(m-1,0)),b=1;b=w)return _._fulfill();var O=h(b[D++]);if(O instanceof e&&O._isDisposable()){try{O=n(O._getDisposer().tryDispose(x),b.promise)}catch(B){return f(B)}if(O instanceof e)return O._then(N,f,null,null,null)}N()}return N(),_}function p(b,x,D){this._data=b,this._promise=x,this._context=D}p.prototype.data=function(){return this._data},p.prototype.promise=function(){return this._promise},p.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():d},p.prototype.tryDispose=function(b){var x=this.resource(),D=this._context;D!==void 0&&D._pushContext();var w=x!==d?this.doDispose(x,b):null;return D!==void 0&&D._popContext(),this._promise._unsetDisposable(),this._data=null,w},p.isDisposer=function(b){return b!=null&&typeof b.resource=="function"&&typeof b.tryDispose=="function"};function y(b,x,D){this.constructor$(b,x,D)}l(y,p),y.prototype.doDispose=function(b,x){var D=this.data();return D.call(b,b,x)};function m(b){return p.isDisposer(b)?(this.resources[this.index]._setDisposable(b),b.promise()):b}function g(b){this.length=b,this.promise=null,this[b-1]=null}g.prototype._resultCancelled=function(){for(var b=this.length,x=0;x0},e.prototype._getDisposer=function(){return this._disposer},e.prototype._unsetDisposable=function(){this._bitField=this._bitField&-131073,this._disposer=void 0},e.prototype.disposer=function(b){if(typeof b=="function")return new y(b,this,r());throw new s}}),r1}var i1,M6;function FX(){return M6||(M6=1,i1=function(e,t,n){var r=Et(),i=e.TimeoutError;function a(d){this.handle=d}a.prototype._resultCancelled=function(){clearTimeout(this.handle)};var o=function(d){return s(+this).thenReturn(d)},s=e.delay=function(d,f){var h,v;return f!==void 0?(h=e.resolve(f)._then(o,null,null,d,void 0),n.cancellation()&&f instanceof e&&h._setOnCancel(f)):(h=new e(t),v=setTimeout(function(){h._fulfill()},+d),n.cancellation()&&h._setOnCancel(new a(v)),h._captureStackTrace()),h._setAsyncGuaranteed(),h};e.prototype.delay=function(d){return s(d,this)};var l=function(d,f,h){var v;typeof f!="string"?f instanceof Error?v=f:v=new i("operation timed out"):v=new i(f),r.markAsOriginatingFromRejection(v),d._attachExtraTrace(v),d._reject(v),h!=null&&h.cancel()};function c(d){return clearTimeout(this.handle),d}function u(d){throw clearTimeout(this.handle),d}e.prototype.timeout=function(d,f){d=+d;var h,v,p=new a(setTimeout(function(){h.isPending()&&l(h,f,v)},d));return n.cancellation()?(v=this.then(),h=v._then(c,u,void 0,p,void 0),h._setOnCancel(p)):h=this._then(c,u,void 0,p,void 0),h}}),i1}var a1,j6;function RX(){return j6||(j6=1,a1=function(e,t,n,r,i,a){var o=Co(),s=o.TypeError,l=Et(),c=l.errorObj,u=l.tryCatch,d=[];function f(v,p,y){for(var m=0;m=X;--j)T.push(j);for(var j=q+1;j<=3;++j)T.push(j);return T},w=function(q){return r.filledRange(q,"_arg","")},_=function(q){return r.filledRange(Math.max(q,3),"_arg","")},N=function(q){return typeof q.length=="number"?Math.max(Math.min(q.length,1024),0):0};x=function(q,T,X,j,z,P){var M=Math.max(0,N(j)-1),F=D(M),$=typeof q=="string"||T===n;function V(me){var fe=w(me).join(", "),Se=me>0?", ":"",Ae;return $?Ae=`ret = callback.call(this, {{args}}, nodeback); break; +`:Ae=T===void 0?`ret = callback({{args}}, nodeback); break; +`:`ret = callback.call(receiver, {{args}}, nodeback); break; +`,Ae.replace("{{args}}",fe).replace(", ",Se)}function U(){for(var me="",fe=0;fe=this._length){var p;if(this._isMap)p=c(this._values);else{p={};for(var y=this.length(),m=0,g=this.length();m>1};function d(f){var h,v=n(f);if(a(v))v instanceof e?h=v._then(e.props,void 0,void 0,void 0,void 0):h=new u(v).promise();else return r(`cannot await properties of a non-object + + See http://goo.gl/MqrFmX +`);return v instanceof e&&h._propagateFrom(v,2),h}e.prototype.props=function(){return d(this)},e.props=function(f){return d(f)}}),l1}var c1,$6;function PX(){return $6||($6=1,c1=function(e,t,n,r){var i=Et(),a=function(s){return s.then(function(l){return o(l,s)})};function o(s,l){var c=n(s);if(c instanceof e)return a(c);if(s=i.asArray(s),s===null)return r("expecting an array or an iterable object but got "+i.classString(s));var u=new e(t);l!==void 0&&u._propagateFrom(l,3);for(var d=u._fulfill,f=u._reject,h=0,v=s.length;h=this._length?(this._resolve(this._values),!0):!1},a.prototype._promiseFulfilled=function(o,s){var l=new r;return l._bitField=33554432,l._settledValueField=o,this._promiseResolved(s,l)},a.prototype._promiseRejected=function(o,s){var l=new r;return l._bitField=16777216,l._settledValueField=o,this._promiseResolved(s,l)},e.settle=function(o){return n.deprecated(".settle()",".reflect()"),new a(o).promise()},e.prototype.settle=function(){return e.settle(this)}}),d1}var h1,V6;function jX(){return V6||(V6=1,h1=function(e,t,n){var r=Et(),i=Co().RangeError,a=Co().AggregateError,o=r.isArray,s={};function l(u){this.constructor$(u),this._howMany=0,this._unwrap=!1,this._initialized=!1}r.inherits(l,t),l.prototype._init=function(){if(this._initialized){if(this._howMany===0){this._resolve([]);return}this._init$(void 0,-5);var u=o(this._values);!this._isResolved()&&u&&this._howMany>this._canPossiblyFulfill()&&this._reject(this._getRangeError(this.length()))}},l.prototype.init=function(){this._initialized=!0,this._init()},l.prototype.setUnwrap=function(){this._unwrap=!0},l.prototype.howMany=function(){return this._howMany},l.prototype.setHowMany=function(u){this._howMany=u},l.prototype._promiseFulfilled=function(u){return this._addFulfilled(u),this._fulfilled()===this.howMany()?(this._values.length=this.howMany(),this.howMany()===1&&this._unwrap?this._resolve(this._values[0]):this._resolve(this._values),!0):!1},l.prototype._promiseRejected=function(u){return this._addRejected(u),this._checkOutcome()},l.prototype._promiseCancelled=function(){return this._values instanceof e||this._values==null?this._cancel():(this._addRejected(s),this._checkOutcome())},l.prototype._checkOutcome=function(){if(this.howMany()>this._canPossiblyFulfill()){for(var u=new a,d=this.length();d0?this._reject(u):this._cancel(),!0}return!1},l.prototype._fulfilled=function(){return this._totalResolved},l.prototype._rejected=function(){return this._values.length-this.length()},l.prototype._addRejected=function(u){this._values.push(u)},l.prototype._addFulfilled=function(u){this._values[this._totalResolved++]=u},l.prototype._canPossiblyFulfill=function(){return this.length()-this._rejected()},l.prototype._getRangeError=function(u){var d="Input array must contain at least "+this._howMany+" items but contains only "+u+" items";return new i(d)},l.prototype._resolveEmptyArray=function(){this._reject(this._getRangeError(0))};function c(u,d){if((d|0)!==d||d<0)return n(`expecting a positive integer + + See http://goo.gl/MqrFmX +`);var f=new l(u),h=f.promise();return f.setHowMany(d),f.init(),h}e.some=function(u,d){return c(u,d)},e.prototype.some=function(u){return c(this,u)},e._SomePromiseArray=l}),h1}var f1,G6;function LX(){return G6||(G6=1,f1=function(e,t){var n=e.map;e.prototype.filter=function(r,i){return n(this,r,i,t)},e.filter=function(r,i,a){return n(r,i,a,t)}}),f1}var p1,X6;function zX(){return X6||(X6=1,p1=function(e,t){var n=e.reduce,r=e.all;function i(){return r(this)}function a(o,s){return n(o,s,t,t)}e.prototype.each=function(o){return n(this,o,t,0)._then(i,void 0,void 0,this,void 0)},e.prototype.mapSeries=function(o){return n(this,o,t,t)},e.each=function(o,s){return n(o,s,t,0)._then(i,void 0,void 0,o,void 0)},e.mapSeries=a}),p1}var m1,K6;function WX(){return K6||(K6=1,m1=function(e){var t=e._SomePromiseArray;function n(r){var i=new t(r),a=i.promise();return i.setHowMany(1),i.setUnwrap(),i.init(),a}e.any=function(r){return n(r)},e.prototype.any=function(){return n(this)}}),m1}(function(e){e.exports=function(){var t=function(){return new f(`circular promise resolution chain + + See http://goo.gl/MqrFmX +`)},n=function(){return new A.PromiseInspection(this._target())},r=function(j){return A.reject(new f(j))};function i(){}var a={},o=Et(),s;o.isNode?s=function(){var j=process.domain;return j===void 0&&(j=null),j}:s=function(){return null},o.notEnumerableProp(A,"_getDomain",s);var l=Bc(),c=mX(),u=new c;l.defineProperty(A,"_async",{value:u});var d=Co(),f=A.TypeError=d.TypeError;A.RangeError=d.RangeError;var h=A.CancellationError=d.CancellationError;A.TimeoutError=d.TimeoutError,A.OperationalError=d.OperationalError,A.RejectionError=d.OperationalError,A.AggregateError=d.AggregateError;var v=function(){},p={},y={},m=gX()(A,v),g=vX()(A,v,m,r,i),b=yX()(A),x=b.create,D=bX()(A,b);D.CapturedTrace;var w=xX()(A,m),_=wX()(y),N=vA(),O=o.errorObj,B=o.tryCatch;function K(j,z){if(typeof z!="function")throw new f("expecting a function but got "+o.classString(z));if(j.constructor!==A)throw new f(`the promise constructor cannot be invoked directly + + See http://goo.gl/MqrFmX +`)}function A(j){this._bitField=0,this._fulfillmentHandler0=void 0,this._rejectionHandler0=void 0,this._promise0=void 0,this._receiver0=void 0,j!==v&&(K(this,j),this._resolveFromExecutor(j)),this._promiseCreated(),this._fireEvent("promiseCreated",this)}A.prototype.toString=function(){return"[object Promise]"},A.prototype.caught=A.prototype.catch=function(j){var z=arguments.length;if(z>1){var P=new Array(z-1),M=0,F;for(F=0;F0&&typeof j!="function"&&typeof z!="function"){var P=".then() only accepts functions but was passed: "+o.classString(j);arguments.length>1&&(P+=", "+o.classString(z)),this._warn(P)}return this._then(j,z,void 0,void 0,void 0)},A.prototype.done=function(j,z){var P=this._then(j,z,void 0,void 0,void 0);P._setIsFinal()},A.prototype.spread=function(j){return typeof j!="function"?r("expecting a function but got "+o.classString(j)):this.all()._then(j,void 0,void 0,p,void 0)},A.prototype.toJSON=function(){var j={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};return this.isFulfilled()?(j.fulfillmentValue=this.value(),j.isFulfilled=!0):this.isRejected()&&(j.rejectionReason=this.reason(),j.isRejected=!0),j},A.prototype.all=function(){return arguments.length>0&&this._warn(".all() was passed arguments but it does not take any"),new g(this).promise()},A.prototype.error=function(j){return this.caught(o.originatesFromRejection,j)},A.getNewLibraryCopy=e.exports,A.is=function(j){return j instanceof A},A.fromNode=A.fromCallback=function(j){var z=new A(v);z._captureStackTrace();var P=arguments.length>1?!!Object(arguments[1]).multiArgs:!1,M=B(j)(N(z,P));return M===O&&z._rejectCallback(M.e,!0),z._isFateSealed()||z._setAsyncGuaranteed(),z},A.all=function(j){return new g(j).promise()},A.cast=function(j){var z=m(j);return z instanceof A||(z=new A(v),z._captureStackTrace(),z._setFulfilled(),z._rejectionHandler0=j),z},A.resolve=A.fulfilled=A.cast,A.reject=A.rejected=function(j){var z=new A(v);return z._captureStackTrace(),z._rejectCallback(j,!0),z},A.setScheduler=function(j){if(typeof j!="function")throw new f("expecting a function but got "+o.classString(j));return u.setScheduler(j)},A.prototype._then=function(j,z,P,M,F){var $=F!==void 0,V=$?F:new A(v),U=this._target(),ne=U._bitField;$||(V._propagateFrom(this,3),V._captureStackTrace(),M===void 0&&this._bitField&2097152&&(ne&50397184?M=this._boundValue():M=U===this?void 0:this._boundTo),this._fireEvent("promiseChained",this,V));var ce=s();if(ne&50397184){var me,fe,Se=U._settlePromiseCtx;ne&33554432?(fe=U._rejectionHandler0,me=j):ne&16777216?(fe=U._fulfillmentHandler0,me=z,U._unsetRejectionIsUnhandled()):(Se=U._settlePromiseLateCancellationObserver,fe=new h("late cancellation observer"),U._attachExtraTrace(fe),me=z),u.invoke(Se,U,{handler:ce===null?me:typeof me=="function"&&o.domainBind(ce,me),promise:V,receiver:M,value:fe})}else U._addCallbacks(j,z,V,M,ce);return V},A.prototype._length=function(){return this._bitField&65535},A.prototype._isFateSealed=function(){return(this._bitField&117506048)!==0},A.prototype._isFollowing=function(){return(this._bitField&67108864)===67108864},A.prototype._setLength=function(j){this._bitField=this._bitField&-65536|j&65535},A.prototype._setFulfilled=function(){this._bitField=this._bitField|33554432,this._fireEvent("promiseFulfilled",this)},A.prototype._setRejected=function(){this._bitField=this._bitField|16777216,this._fireEvent("promiseRejected",this)},A.prototype._setFollowing=function(){this._bitField=this._bitField|67108864,this._fireEvent("promiseResolved",this)},A.prototype._setIsFinal=function(){this._bitField=this._bitField|4194304},A.prototype._isFinal=function(){return(this._bitField&4194304)>0},A.prototype._unsetCancelled=function(){this._bitField=this._bitField&-65537},A.prototype._setCancelled=function(){this._bitField=this._bitField|65536,this._fireEvent("promiseCancelled",this)},A.prototype._setWillBeCancelled=function(){this._bitField=this._bitField|8388608},A.prototype._setAsyncGuaranteed=function(){u.hasCustomScheduler()||(this._bitField=this._bitField|134217728)},A.prototype._receiverAt=function(j){var z=j===0?this._receiver0:this[j*4-4+3];if(z!==a)return z===void 0&&this._isBound()?this._boundValue():z},A.prototype._promiseAt=function(j){return this[j*4-4+2]},A.prototype._fulfillmentHandlerAt=function(j){return this[j*4-4+0]},A.prototype._rejectionHandlerAt=function(j){return this[j*4-4+1]},A.prototype._boundValue=function(){},A.prototype._migrateCallback0=function(j){j._bitField;var z=j._fulfillmentHandler0,P=j._rejectionHandler0,M=j._promise0,F=j._receiverAt(0);F===void 0&&(F=a),this._addCallbacks(z,P,M,F,null)},A.prototype._migrateCallbackAt=function(j,z){var P=j._fulfillmentHandlerAt(z),M=j._rejectionHandlerAt(z),F=j._promiseAt(z),$=j._receiverAt(z);$===void 0&&($=a),this._addCallbacks(P,M,F,$,null)},A.prototype._addCallbacks=function(j,z,P,M,F){var $=this._length();if($>=65531&&($=0,this._setLength(0)),$===0)this._promise0=P,this._receiver0=M,typeof j=="function"&&(this._fulfillmentHandler0=F===null?j:o.domainBind(F,j)),typeof z=="function"&&(this._rejectionHandler0=F===null?z:o.domainBind(F,z));else{var V=$*4-4;this[V+2]=P,this[V+3]=M,typeof j=="function"&&(this[V+0]=F===null?j:o.domainBind(F,j)),typeof z=="function"&&(this[V+1]=F===null?z:o.domainBind(F,z))}return this._setLength($+1),$},A.prototype._proxy=function(j,z){this._addCallbacks(void 0,void 0,z,j,null)},A.prototype._resolveCallback=function(j,z){if(!(this._bitField&117506048)){if(j===this)return this._rejectCallback(t(),!1);var P=m(j,this);if(!(P instanceof A))return this._fulfill(j);z&&this._propagateFrom(P,2);var M=P._target();if(M===this){this._reject(t());return}var F=M._bitField;if(F&50397184)if(F&33554432)this._fulfill(M._value());else if(F&16777216)this._reject(M._reason());else{var U=new h("late cancellation observer");M._attachExtraTrace(U),this._reject(U)}else{var $=this._length();$>0&&M._migrateCallback0(this);for(var V=1;V<$;++V)M._migrateCallbackAt(this,V);this._setFollowing(),this._setLength(0),this._setFollowee(M)}}},A.prototype._rejectCallback=function(j,z,P){var M=o.ensureErrorObject(j),F=M===j;if(!F&&!P&&D.warnings()){var $="a promise was rejected with a non-error: "+o.classString(j);this._warn($,!0)}this._attachExtraTrace(M,z?F:!1),this._reject(j)},A.prototype._resolveFromExecutor=function(j){var z=this;this._captureStackTrace(),this._pushContext();var P=!0,M=this._execute(j,function(F){z._resolveCallback(F)},function(F){z._rejectCallback(F,P)});P=!1,this._popContext(),M!==void 0&&z._rejectCallback(M,!0)},A.prototype._settlePromiseFromHandler=function(j,z,P,M){var F=M._bitField;if(!(F&65536)){M._pushContext();var $;z===p?!P||typeof P.length!="number"?($=O,$.e=new f("cannot .spread() a non-array: "+o.classString(P))):$=B(j).apply(this._boundValue(),P):$=B(j).call(z,P);var V=M._popContext();F=M._bitField,!(F&65536)&&($===y?M._reject(P):$===O?M._rejectCallback($.e,!1):(D.checkForgottenReturns($,V,"",M,this),M._resolveCallback($)))}},A.prototype._target=function(){for(var j=this;j._isFollowing();)j=j._followee();return j},A.prototype._followee=function(){return this._rejectionHandler0},A.prototype._setFollowee=function(j){this._rejectionHandler0=j},A.prototype._settlePromise=function(j,z,P,M){var F=j instanceof A,$=this._bitField,V=($&134217728)!==0;$&65536?(F&&j._invokeInternalOnCancel(),P instanceof w&&P.isFinallyHandler()?(P.cancelPromise=j,B(z).call(P,M)===O&&j._reject(O.e)):z===n?j._fulfill(n.call(P)):P instanceof i?P._promiseCancelled(j):F||j instanceof g?j._cancel():P.cancel()):typeof z=="function"?F?(V&&j._setAsyncGuaranteed(),this._settlePromiseFromHandler(z,P,M,j)):z.call(P,M,j):P instanceof i?P._isResolved()||($&33554432?P._promiseFulfilled(M,j):P._promiseRejected(M,j)):F&&(V&&j._setAsyncGuaranteed(),$&33554432?j._fulfill(M):j._reject(M))},A.prototype._settlePromiseLateCancellationObserver=function(j){var z=j.handler,P=j.promise,M=j.receiver,F=j.value;typeof z=="function"?P instanceof A?this._settlePromiseFromHandler(z,M,F,P):z.call(M,F,P):P instanceof A&&P._reject(F)},A.prototype._settlePromiseCtx=function(j){this._settlePromise(j.promise,j.handler,j.receiver,j.value)},A.prototype._settlePromise0=function(j,z,P){var M=this._promise0,F=this._receiverAt(0);this._promise0=void 0,this._receiver0=void 0,this._settlePromise(M,j,F,z)},A.prototype._clearCallbackDataAtIndex=function(j){var z=j*4-4;this[z+2]=this[z+3]=this[z+0]=this[z+1]=void 0},A.prototype._fulfill=function(j){var z=this._bitField;if(!((z&117506048)>>>16)){if(j===this){var P=t();return this._attachExtraTrace(P),this._reject(P)}this._setFulfilled(),this._rejectionHandler0=j,(z&65535)>0&&(z&134217728?this._settlePromises():u.settlePromises(this))}},A.prototype._reject=function(j){var z=this._bitField;if(!((z&117506048)>>>16)){if(this._setRejected(),this._fulfillmentHandler0=j,this._isFinal())return u.fatalError(j,o.isNode);(z&65535)>0?u.settlePromises(this):this._ensurePossibleRejectionHandled()}},A.prototype._fulfillPromises=function(j,z){for(var P=1;P0){if(j&16842752){var P=this._fulfillmentHandler0;this._settlePromise0(this._rejectionHandler0,P,j),this._rejectPromises(z,P)}else{var M=this._rejectionHandler0;this._settlePromise0(this._fulfillmentHandler0,M,j),this._fulfillPromises(z,M)}this._setLength(0)}this._clearCancellationData()},A.prototype._settledValue=function(){var j=this._bitField;if(j&33554432)return this._rejectionHandler0;if(j&16777216)return this._fulfillmentHandler0};function q(j){this.promise._resolveCallback(j)}function T(j){this.promise._rejectCallback(j,!1)}A.defer=A.pending=function(){D.deprecated("Promise.defer","new Promise");var j=new A(v);return{promise:j,resolve:q,reject:T}},o.notEnumerableProp(A,"_makeSelfResolutionError",t),DX()(A,v,m,r,D),kX()(A,v,m,D),_X()(A,g,r,D),TX()(A),EX()(A),SX()(A,g,m,v,u,s),A.Promise=A,A.version="3.4.7",CX()(A,g,r,m,v,D),AX()(A),UX()(A,r,m,x,v,D),FX()(A,v,D),RX()(A,r,v,m,i,D),NX()(A),OX()(A,v),IX()(A,g,m,r),PX()(A,v,m,r),BX()(A,g,r,m,v,D),MX()(A,g,D),jX()(A,g,r),LX()(A,v),zX()(A,v),WX()(A),o.toFastProperties(A),o.toFastProperties(A.prototype);function X(j){var z=new A(v);z._fulfillmentHandler0=j,z._rejectionHandler0=j,z._promise0=j,z._receiver0=j}return X({a:1}),X({b:2}),X({c:3}),X(1),X(function(){}),X(void 0),X(!1),X(new A(v)),D.setBounds(c.firstLineError,o.lastLineError),A}})(gA);var $X=gA.exports,qX=Gt,or=$X();fn.defer=HX;fn.when=or.resolve;fn.resolve=or.resolve;fn.all=or.all;fn.props=or.props;fn.reject=or.reject;fn.promisify=or.promisify;fn.mapSeries=or.mapSeries;fn.attempt=or.attempt;fn.nfcall=function(e){var t=Array.prototype.slice.call(arguments,1),n=or.promisify(e);return n.apply(null,t)};or.prototype.fail=or.prototype.caught;or.prototype.also=function(e){return this.then(function(t){var n=qX.extend({},t,e(t));return or.props(n)})};function HX(){var e,t,n=new or.Promise(function(r,i){e=r,t=i});return{resolve:e,reject:t,promise:n}}var it={},VX=Gt,Dn=it.types={document:"document",paragraph:"paragraph",run:"run",text:"text",tab:"tab",checkbox:"checkbox",hyperlink:"hyperlink",noteReference:"noteReference",image:"image",note:"note",commentReference:"commentReference",comment:"comment",table:"table",tableRow:"tableRow",tableCell:"tableCell",break:"break",bookmarkStart:"bookmarkStart"};function GX(e,t){return t=t||{},{type:Dn.document,children:e,notes:t.notes||new $p({}),comments:t.comments||[]}}function XX(e,t){t=t||{};var n=t.indent||{};return{type:Dn.paragraph,children:e,styleId:t.styleId||null,styleName:t.styleName||null,numbering:t.numbering||null,alignment:t.alignment||null,indent:{start:n.start||null,end:n.end||null,firstLine:n.firstLine||null,hanging:n.hanging||null}}}function KX(e,t){return t=t||{},{type:Dn.run,children:e,styleId:t.styleId||null,styleName:t.styleName||null,isBold:!!t.isBold,isUnderline:!!t.isUnderline,isItalic:!!t.isItalic,isStrikethrough:!!t.isStrikethrough,isAllCaps:!!t.isAllCaps,isSmallCaps:!!t.isSmallCaps,verticalAlignment:t.verticalAlignment||yA.baseline,font:t.font||null,fontSize:t.fontSize||null,highlight:t.highlight||null}}var yA={baseline:"baseline",superscript:"superscript",subscript:"subscript"};function YX(e){return{type:Dn.text,value:e}}function JX(){return{type:Dn.tab}}function QX(e){return{type:Dn.checkbox,checked:e.checked}}function ZX(e,t){return{type:Dn.hyperlink,children:e,href:t.href,anchor:t.anchor,targetFrame:t.targetFrame}}function eK(e){return{type:Dn.noteReference,noteType:e.noteType,noteId:e.noteId}}function $p(e){this._notes=VX.indexBy(e,function(t){return bA(t.noteType,t.noteId)})}$p.prototype.resolve=function(e){return this.findNoteByKey(bA(e.noteType,e.noteId))};$p.prototype.findNoteByKey=function(e){return this._notes[e]||null};function tK(e){return{type:Dn.note,noteType:e.noteType,noteId:e.noteId,body:e.body}}function nK(e){return{type:Dn.commentReference,commentId:e.commentId}}function rK(e){return{type:Dn.comment,commentId:e.commentId,body:e.body,authorName:e.authorName,authorInitials:e.authorInitials}}function bA(e,t){return e+"-"+t}function iK(e){return{type:Dn.image,read:function(t){return t?e.readImage(t):e.readImage().then(function(n){return Buffer.from(n)})},readAsArrayBuffer:function(){return e.readImage()},readAsBase64String:function(){return e.readImage("base64")},readAsBuffer:function(){return e.readImage().then(function(t){return Buffer.from(t)})},altText:e.altText,contentType:e.contentType}}function aK(e,t){return t=t||{},{type:Dn.table,children:e,styleId:t.styleId||null,styleName:t.styleName||null}}function oK(e,t){return t=t||{},{type:Dn.tableRow,children:e,isHeader:t.isHeader||!1}}function sK(e,t){return t=t||{},{type:Dn.tableCell,children:e,colSpan:t.colSpan==null?1:t.colSpan,rowSpan:t.rowSpan==null?1:t.rowSpan}}function Gx(e){return{type:Dn.break,breakType:e}}function lK(e){return{type:Dn.bookmarkStart,name:e.name}}it.document=it.Document=GX;it.paragraph=it.Paragraph=XX;it.run=it.Run=KX;it.text=it.Text=YX;it.tab=it.Tab=JX;it.checkbox=it.Checkbox=QX;it.Hyperlink=ZX;it.noteReference=it.NoteReference=eK;it.Notes=$p;it.Note=tK;it.commentReference=nK;it.comment=rK;it.Image=iK;it.Table=aK;it.TableRow=oK;it.TableCell=sK;it.lineBreak=Gx("line");it.pageBreak=Gx("page");it.columnBreak=Gx("column");it.BookmarkStart=lK;it.verticalAlignment=yA;var Ur={},xd=Gt;Ur.Result=zi;Ur.success=cK;Ur.warning=uK;Ur.error=dK;function zi(e,t){this.value=e,this.messages=t||[]}zi.prototype.map=function(e){return new zi(e(this.value),this.messages)};zi.prototype.flatMap=function(e){var t=e(this.value);return new zi(t.value,Xx([this,t]))};zi.prototype.flatMapThen=function(e){var t=this;return e(this.value).then(function(n){return new zi(n.value,Xx([t,n]))})};zi.combine=function(e){var t=xd.flatten(xd.pluck(e,"value")),n=Xx(e);return new zi(t,n)};function cK(e){return new zi(e,[])}function uK(e){return{type:"warning",message:e}}function dK(e){return{type:"error",message:e.message,error:e}}function Xx(e){var t=[];return xd.flatten(xd.pluck(e,"messages"),!0).forEach(function(n){hK(t,n)||t.push(n)}),t}function hK(e,t){return xd.find(e,fK.bind(null,t))!==void 0}function fK(e,t){return e.type===t.type&&e.message===t.message}var Zd={},qp={};qp.byteLength=gK;qp.toByteArray=yK;qp.fromByteArray=wK;var Ri=[],Or=[],pK=typeof Uint8Array<"u"?Uint8Array:Array,g1="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var rl=0,mK=g1.length;rl0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");n===-1&&(n=t);var r=n===t?0:4-n%4;return[n,r]}function gK(e){var t=xA(e),n=t[0],r=t[1];return(n+r)*3/4-r}function vK(e,t,n){return(t+n)*3/4-n}function yK(e){var t,n=xA(e),r=n[0],i=n[1],a=new pK(vK(e,r,i)),o=0,s=i>0?r-4:r,l;for(l=0;l>16&255,a[o++]=t>>8&255,a[o++]=t&255;return i===2&&(t=Or[e.charCodeAt(l)]<<2|Or[e.charCodeAt(l+1)]>>4,a[o++]=t&255),i===1&&(t=Or[e.charCodeAt(l)]<<10|Or[e.charCodeAt(l+1)]<<4|Or[e.charCodeAt(l+2)]>>2,a[o++]=t>>8&255,a[o++]=t&255),a}function bK(e){return Ri[e>>18&63]+Ri[e>>12&63]+Ri[e>>6&63]+Ri[e&63]}function xK(e,t,n){for(var r,i=[],a=t;as?s:o+a));return r===1?(t=e[n-1],i.push(Ri[t>>2]+Ri[t<<4&63]+"==")):r===2&&(t=(e[n-2]<<8)+e[n-1],i.push(Ri[t>>10]+Ri[t>>4&63]+Ri[t<<2&63]+"=")),i.join("")}function Kh(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var wA={exports:{}};/*! + +JSZip v3.10.1 - A JavaScript class for generating and reading zip files + + +(c) 2009-2016 Stuart Knightley +Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown. + +JSZip uses the library pako released under the MIT license : +https://github.com/nodeca/pako/blob/main/LICENSE +*/(function(e,t){(function(n){e.exports=n()})(function(){return function n(r,i,a){function o(c,u){if(!i[c]){if(!r[c]){var d=typeof Kh=="function"&&Kh;if(!u&&d)return d(c,!0);if(s)return s(c,!0);var f=new Error("Cannot find module '"+c+"'");throw f.code="MODULE_NOT_FOUND",f}var h=i[c]={exports:{}};r[c][0].call(h.exports,function(v){var p=r[c][1][v];return o(p||v)},h,h.exports,n,r,i,a)}return i[c].exports}for(var s=typeof Kh=="function"&&Kh,l=0;l>2,h=(3&c)<<4|u>>4,v=1>6:64,p=2>4,u=(15&f)<<4|(h=s.indexOf(l.charAt(p++)))>>2,d=(3&h)<<6|(v=s.indexOf(l.charAt(p++))),g[y++]=c,h!==64&&(g[y++]=u),v!==64&&(g[y++]=d);return g}},{"./support":30,"./utils":32}],2:[function(n,r,i){var a=n("./external"),o=n("./stream/DataWorker"),s=n("./stream/Crc32Probe"),l=n("./stream/DataLengthProbe");function c(u,d,f,h,v){this.compressedSize=u,this.uncompressedSize=d,this.crc32=f,this.compression=h,this.compressedContent=v}c.prototype={getContentWorker:function(){var u=new o(a.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new l("data_length")),d=this;return u.on("end",function(){if(this.streamInfo.data_length!==d.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),u},getCompressedWorker:function(){return new o(a.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},c.createWorkerFrom=function(u,d,f){return u.pipe(new s).pipe(new l("uncompressedSize")).pipe(d.compressWorker(f)).pipe(new l("compressedSize")).withStreamInfo("compression",d)},r.exports=c},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(n,r,i){var a=n("./stream/GenericWorker");i.STORE={magic:"\0\0",compressWorker:function(){return new a("STORE compression")},uncompressWorker:function(){return new a("STORE decompression")}},i.DEFLATE=n("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(n,r,i){var a=n("./utils"),o=function(){for(var s,l=[],c=0;c<256;c++){s=c;for(var u=0;u<8;u++)s=1&s?3988292384^s>>>1:s>>>1;l[c]=s}return l}();r.exports=function(s,l){return s!==void 0&&s.length?a.getTypeOf(s)!=="string"?function(c,u,d,f){var h=o,v=f+d;c^=-1;for(var p=f;p>>8^h[255&(c^u[p])];return-1^c}(0|l,s,s.length,0):function(c,u,d,f){var h=o,v=f+d;c^=-1;for(var p=f;p>>8^h[255&(c^u.charCodeAt(p))];return-1^c}(0|l,s,s.length,0):0}},{"./utils":32}],5:[function(n,r,i){i.base64=!1,i.binary=!1,i.dir=!1,i.createFolders=!0,i.date=null,i.compression=null,i.compressionOptions=null,i.comment=null,i.unixPermissions=null,i.dosPermissions=null},{}],6:[function(n,r,i){var a=null;a=typeof Promise<"u"?Promise:n("lie"),r.exports={Promise:a}},{lie:37}],7:[function(n,r,i){var a=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",o=n("pako"),s=n("./utils"),l=n("./stream/GenericWorker"),c=a?"uint8array":"array";function u(d,f){l.call(this,"FlateWorker/"+d),this._pako=null,this._pakoAction=d,this._pakoOptions=f,this.meta={}}i.magic="\b\0",s.inherits(u,l),u.prototype.processChunk=function(d){this.meta=d.meta,this._pako===null&&this._createPako(),this._pako.push(s.transformTo(c,d.data),!1)},u.prototype.flush=function(){l.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},u.prototype.cleanUp=function(){l.prototype.cleanUp.call(this),this._pako=null},u.prototype._createPako=function(){this._pako=new o[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var d=this;this._pako.onData=function(f){d.push({data:f,meta:d.meta})}},i.compressWorker=function(d){return new u("Deflate",d)},i.uncompressWorker=function(){return new u("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(n,r,i){function a(h,v){var p,y="";for(p=0;p>>=8;return y}function o(h,v,p,y,m,g){var b,x,D=h.file,w=h.compression,_=g!==c.utf8encode,N=s.transformTo("string",g(D.name)),O=s.transformTo("string",c.utf8encode(D.name)),B=D.comment,K=s.transformTo("string",g(B)),A=s.transformTo("string",c.utf8encode(B)),q=O.length!==D.name.length,T=A.length!==B.length,X="",j="",z="",P=D.dir,M=D.date,F={crc32:0,compressedSize:0,uncompressedSize:0};v&&!p||(F.crc32=h.crc32,F.compressedSize=h.compressedSize,F.uncompressedSize=h.uncompressedSize);var $=0;v&&($|=8),_||!q&&!T||($|=2048);var V=0,U=0;P&&(V|=16),m==="UNIX"?(U=798,V|=function(ce,me){var fe=ce;return ce||(fe=me?16893:33204),(65535&fe)<<16}(D.unixPermissions,P)):(U=20,V|=function(ce){return 63&(ce||0)}(D.dosPermissions)),b=M.getUTCHours(),b<<=6,b|=M.getUTCMinutes(),b<<=5,b|=M.getUTCSeconds()/2,x=M.getUTCFullYear()-1980,x<<=4,x|=M.getUTCMonth()+1,x<<=5,x|=M.getUTCDate(),q&&(j=a(1,1)+a(u(N),4)+O,X+="up"+a(j.length,2)+j),T&&(z=a(1,1)+a(u(K),4)+A,X+="uc"+a(z.length,2)+z);var ne="";return ne+=` +\0`,ne+=a($,2),ne+=w.magic,ne+=a(b,2),ne+=a(x,2),ne+=a(F.crc32,4),ne+=a(F.compressedSize,4),ne+=a(F.uncompressedSize,4),ne+=a(N.length,2),ne+=a(X.length,2),{fileRecord:d.LOCAL_FILE_HEADER+ne+N+X,dirRecord:d.CENTRAL_FILE_HEADER+a(U,2)+ne+a(K.length,2)+"\0\0\0\0"+a(V,4)+a(y,4)+N+X+K}}var s=n("../utils"),l=n("../stream/GenericWorker"),c=n("../utf8"),u=n("../crc32"),d=n("../signature");function f(h,v,p,y){l.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=v,this.zipPlatform=p,this.encodeFileName=y,this.streamFiles=h,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}s.inherits(f,l),f.prototype.push=function(h){var v=h.meta.percent||0,p=this.entriesCount,y=this._sources.length;this.accumulate?this.contentBuffer.push(h):(this.bytesWritten+=h.data.length,l.prototype.push.call(this,{data:h.data,meta:{currentFile:this.currentFile,percent:p?(v+100*(p-y-1))/p:100}}))},f.prototype.openedSource=function(h){this.currentSourceOffset=this.bytesWritten,this.currentFile=h.file.name;var v=this.streamFiles&&!h.file.dir;if(v){var p=o(h,v,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:p.fileRecord,meta:{percent:0}})}else this.accumulate=!0},f.prototype.closedSource=function(h){this.accumulate=!1;var v=this.streamFiles&&!h.file.dir,p=o(h,v,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(p.dirRecord),v)this.push({data:function(y){return d.DATA_DESCRIPTOR+a(y.crc32,4)+a(y.compressedSize,4)+a(y.uncompressedSize,4)}(h),meta:{percent:100}});else for(this.push({data:p.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},f.prototype.flush=function(){for(var h=this.bytesWritten,v=0;v=this.index;l--)c=(c<<8)+this.byteAt(l);return this.index+=s,c},readString:function(s){return a.transformTo("string",this.readData(s))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var s=this.readInt(4);return new Date(Date.UTC(1980+(s>>25&127),(s>>21&15)-1,s>>16&31,s>>11&31,s>>5&63,(31&s)<<1))}},r.exports=o},{"../utils":32}],19:[function(n,r,i){var a=n("./Uint8ArrayReader");function o(s){a.call(this,s)}n("../utils").inherits(o,a),o.prototype.readData=function(s){this.checkOffset(s);var l=this.data.slice(this.zero+this.index,this.zero+this.index+s);return this.index+=s,l},r.exports=o},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(n,r,i){var a=n("./DataReader");function o(s){a.call(this,s)}n("../utils").inherits(o,a),o.prototype.byteAt=function(s){return this.data.charCodeAt(this.zero+s)},o.prototype.lastIndexOfSignature=function(s){return this.data.lastIndexOf(s)-this.zero},o.prototype.readAndCheckSignature=function(s){return s===this.readData(4)},o.prototype.readData=function(s){this.checkOffset(s);var l=this.data.slice(this.zero+this.index,this.zero+this.index+s);return this.index+=s,l},r.exports=o},{"../utils":32,"./DataReader":18}],21:[function(n,r,i){var a=n("./ArrayReader");function o(s){a.call(this,s)}n("../utils").inherits(o,a),o.prototype.readData=function(s){if(this.checkOffset(s),s===0)return new Uint8Array(0);var l=this.data.subarray(this.zero+this.index,this.zero+this.index+s);return this.index+=s,l},r.exports=o},{"../utils":32,"./ArrayReader":17}],22:[function(n,r,i){var a=n("../utils"),o=n("../support"),s=n("./ArrayReader"),l=n("./StringReader"),c=n("./NodeBufferReader"),u=n("./Uint8ArrayReader");r.exports=function(d){var f=a.getTypeOf(d);return a.checkSupport(f),f!=="string"||o.uint8array?f==="nodebuffer"?new c(d):o.uint8array?new u(a.transformTo("uint8array",d)):new s(a.transformTo("array",d)):new l(d)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(n,r,i){i.LOCAL_FILE_HEADER="PK",i.CENTRAL_FILE_HEADER="PK",i.CENTRAL_DIRECTORY_END="PK",i.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",i.ZIP64_CENTRAL_DIRECTORY_END="PK",i.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(n,r,i){var a=n("./GenericWorker"),o=n("../utils");function s(l){a.call(this,"ConvertWorker to "+l),this.destType=l}o.inherits(s,a),s.prototype.processChunk=function(l){this.push({data:o.transformTo(this.destType,l.data),meta:l.meta})},r.exports=s},{"../utils":32,"./GenericWorker":28}],25:[function(n,r,i){var a=n("./GenericWorker"),o=n("../crc32");function s(){a.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}n("../utils").inherits(s,a),s.prototype.processChunk=function(l){this.streamInfo.crc32=o(l.data,this.streamInfo.crc32||0),this.push(l)},r.exports=s},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(n,r,i){var a=n("../utils"),o=n("./GenericWorker");function s(l){o.call(this,"DataLengthProbe for "+l),this.propName=l,this.withStreamInfo(l,0)}a.inherits(s,o),s.prototype.processChunk=function(l){if(l){var c=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=c+l.data.length}o.prototype.processChunk.call(this,l)},r.exports=s},{"../utils":32,"./GenericWorker":28}],27:[function(n,r,i){var a=n("../utils"),o=n("./GenericWorker");function s(l){o.call(this,"DataWorker");var c=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,l.then(function(u){c.dataIsReady=!0,c.data=u,c.max=u&&u.length||0,c.type=a.getTypeOf(u),c.isPaused||c._tickAndRepeat()},function(u){c.error(u)})}a.inherits(s,o),s.prototype.cleanUp=function(){o.prototype.cleanUp.call(this),this.data=null},s.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,a.delay(this._tickAndRepeat,[],this)),!0)},s.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(a.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},s.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var l=null,c=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":l=this.data.substring(this.index,c);break;case"uint8array":l=this.data.subarray(this.index,c);break;case"array":case"nodebuffer":l=this.data.slice(this.index,c)}return this.index=c,this.push({data:l,meta:{percent:this.max?this.index/this.max*100:0}})},r.exports=s},{"../utils":32,"./GenericWorker":28}],28:[function(n,r,i){function a(o){this.name=o||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}a.prototype={push:function(o){this.emit("data",o)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(o){this.emit("error",o)}return!0},error:function(o){return!this.isFinished&&(this.isPaused?this.generatedError=o:(this.isFinished=!0,this.emit("error",o),this.previous&&this.previous.error(o),this.cleanUp()),!0)},on:function(o,s){return this._listeners[o].push(s),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(o,s){if(this._listeners[o])for(var l=0;l "+o:o}},r.exports=a},{}],29:[function(n,r,i){var a=n("../utils"),o=n("./ConvertWorker"),s=n("./GenericWorker"),l=n("../base64"),c=n("../support"),u=n("../external"),d=null;if(c.nodestream)try{d=n("../nodejs/NodejsStreamOutputAdapter")}catch{}function f(v,p){return new u.Promise(function(y,m){var g=[],b=v._internalType,x=v._outputType,D=v._mimeType;v.on("data",function(w,_){g.push(w),p&&p(_)}).on("error",function(w){g=[],m(w)}).on("end",function(){try{var w=function(_,N,O){switch(_){case"blob":return a.newBlob(a.transformTo("arraybuffer",N),O);case"base64":return l.encode(N);default:return a.transformTo(_,N)}}(x,function(_,N){var O,B=0,K=null,A=0;for(O=0;O"u")i.blob=!1;else{var a=new ArrayBuffer(0);try{i.blob=new Blob([a],{type:"application/zip"}).size===0}catch{try{var o=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);o.append(a),i.blob=o.getBlob("application/zip").size===0}catch{i.blob=!1}}}try{i.nodestream=!!n("readable-stream").Readable}catch{i.nodestream=!1}},{"readable-stream":16}],31:[function(n,r,i){for(var a=n("./utils"),o=n("./support"),s=n("./nodejsUtils"),l=n("./stream/GenericWorker"),c=new Array(256),u=0;u<256;u++)c[u]=252<=u?6:248<=u?5:240<=u?4:224<=u?3:192<=u?2:1;c[254]=c[254]=1;function d(){l.call(this,"utf-8 decode"),this.leftOver=null}function f(){l.call(this,"utf-8 encode")}i.utf8encode=function(h){return o.nodebuffer?s.newBufferFrom(h,"utf-8"):function(v){var p,y,m,g,b,x=v.length,D=0;for(g=0;g>>6:(y<65536?p[b++]=224|y>>>12:(p[b++]=240|y>>>18,p[b++]=128|y>>>12&63),p[b++]=128|y>>>6&63),p[b++]=128|63&y);return p}(h)},i.utf8decode=function(h){return o.nodebuffer?a.transformTo("nodebuffer",h).toString("utf-8"):function(v){var p,y,m,g,b=v.length,x=new Array(2*b);for(p=y=0;p>10&1023,x[y++]=56320|1023&m)}return x.length!==y&&(x.subarray?x=x.subarray(0,y):x.length=y),a.applyFromCharCode(x)}(h=a.transformTo(o.uint8array?"uint8array":"array",h))},a.inherits(d,l),d.prototype.processChunk=function(h){var v=a.transformTo(o.uint8array?"uint8array":"array",h.data);if(this.leftOver&&this.leftOver.length){if(o.uint8array){var p=v;(v=new Uint8Array(p.length+this.leftOver.length)).set(this.leftOver,0),v.set(p,this.leftOver.length)}else v=this.leftOver.concat(v);this.leftOver=null}var y=function(g,b){var x;for((b=b||g.length)>g.length&&(b=g.length),x=b-1;0<=x&&(192&g[x])==128;)x--;return x<0||x===0?b:x+c[g[x]]>b?x:b}(v),m=v;y!==v.length&&(o.uint8array?(m=v.subarray(0,y),this.leftOver=v.subarray(y,v.length)):(m=v.slice(0,y),this.leftOver=v.slice(y,v.length))),this.push({data:i.utf8decode(m),meta:h.meta})},d.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:i.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},i.Utf8DecodeWorker=d,a.inherits(f,l),f.prototype.processChunk=function(h){this.push({data:i.utf8encode(h.data),meta:h.meta})},i.Utf8EncodeWorker=f},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(n,r,i){var a=n("./support"),o=n("./base64"),s=n("./nodejsUtils"),l=n("./external");function c(p){return p}function u(p,y){for(var m=0;m>8;this.dir=!!(16&this.externalFileAttributes),h==0&&(this.dosPermissions=63&this.externalFileAttributes),h==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var h=a(this.extraFields[1].value);this.uncompressedSize===o.MAX_VALUE_32BITS&&(this.uncompressedSize=h.readInt(8)),this.compressedSize===o.MAX_VALUE_32BITS&&(this.compressedSize=h.readInt(8)),this.localHeaderOffset===o.MAX_VALUE_32BITS&&(this.localHeaderOffset=h.readInt(8)),this.diskNumberStart===o.MAX_VALUE_32BITS&&(this.diskNumberStart=h.readInt(4))}},readExtraFields:function(h){var v,p,y,m=h.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});h.index+4>>6:(h<65536?f[y++]=224|h>>>12:(f[y++]=240|h>>>18,f[y++]=128|h>>>12&63),f[y++]=128|h>>>6&63),f[y++]=128|63&h);return f},i.buf2binstring=function(d){return u(d,d.length)},i.binstring2buf=function(d){for(var f=new a.Buf8(d.length),h=0,v=f.length;h>10&1023,g[v++]=56320|1023&p)}return u(g,v)},i.utf8border=function(d,f){var h;for((f=f||d.length)>d.length&&(f=d.length),h=f-1;0<=h&&(192&d[h])==128;)h--;return h<0||h===0?f:h+l[d[h]]>f?h:f}},{"./common":41}],43:[function(n,r,i){r.exports=function(a,o,s,l){for(var c=65535&a|0,u=a>>>16&65535|0,d=0;s!==0;){for(s-=d=2e3>>1:o>>>1;s[l]=o}return s}();r.exports=function(o,s,l,c){var u=a,d=c+l;o^=-1;for(var f=c;f>>8^u[255&(o^s[f])];return-1^o}},{}],46:[function(n,r,i){var a,o=n("../utils/common"),s=n("./trees"),l=n("./adler32"),c=n("./crc32"),u=n("./messages"),d=0,f=4,h=0,v=-2,p=-1,y=4,m=2,g=8,b=9,x=286,D=30,w=19,_=2*x+1,N=15,O=3,B=258,K=B+O+1,A=42,q=113,T=1,X=2,j=3,z=4;function P(C,le){return C.msg=u[le],le}function M(C){return(C<<1)-(4C.avail_out&&(oe=C.avail_out),oe!==0&&(o.arraySet(C.output,le.pending_buf,le.pending_out,oe,C.next_out),C.next_out+=oe,le.pending_out+=oe,C.total_out+=oe,C.avail_out-=oe,le.pending-=oe,le.pending===0&&(le.pending_out=0))}function V(C,le){s._tr_flush_block(C,0<=C.block_start?C.block_start:-1,C.strstart-C.block_start,le),C.block_start=C.strstart,$(C.strm)}function U(C,le){C.pending_buf[C.pending++]=le}function ne(C,le){C.pending_buf[C.pending++]=le>>>8&255,C.pending_buf[C.pending++]=255&le}function ce(C,le){var oe,G,H=C.max_chain_length,te=C.strstart,ue=C.prev_length,ge=C.nice_match,se=C.strstart>C.w_size-K?C.strstart-(C.w_size-K):0,Y=C.window,ee=C.w_mask,J=C.prev,W=C.strstart+B,ie=Y[te+ue-1],he=Y[te+ue];C.prev_length>=C.good_match&&(H>>=2),ge>C.lookahead&&(ge=C.lookahead);do if(Y[(oe=le)+ue]===he&&Y[oe+ue-1]===ie&&Y[oe]===Y[te]&&Y[++oe]===Y[te+1]){te+=2,oe++;do;while(Y[++te]===Y[++oe]&&Y[++te]===Y[++oe]&&Y[++te]===Y[++oe]&&Y[++te]===Y[++oe]&&Y[++te]===Y[++oe]&&Y[++te]===Y[++oe]&&Y[++te]===Y[++oe]&&Y[++te]===Y[++oe]&&tese&&--H!=0);return ue<=C.lookahead?ue:C.lookahead}function me(C){var le,oe,G,H,te,ue,ge,se,Y,ee,J=C.w_size;do{if(H=C.window_size-C.lookahead-C.strstart,C.strstart>=J+(J-K)){for(o.arraySet(C.window,C.window,J,J,0),C.match_start-=J,C.strstart-=J,C.block_start-=J,le=oe=C.hash_size;G=C.head[--le],C.head[le]=J<=G?G-J:0,--oe;);for(le=oe=J;G=C.prev[--le],C.prev[le]=J<=G?G-J:0,--oe;);H+=J}if(C.strm.avail_in===0)break;if(ue=C.strm,ge=C.window,se=C.strstart+C.lookahead,Y=H,ee=void 0,ee=ue.avail_in,Y=O)for(te=C.strstart-C.insert,C.ins_h=C.window[te],C.ins_h=(C.ins_h<=O&&(C.ins_h=(C.ins_h<=O)if(G=s._tr_tally(C,C.strstart-C.match_start,C.match_length-O),C.lookahead-=C.match_length,C.match_length<=C.max_lazy_match&&C.lookahead>=O){for(C.match_length--;C.strstart++,C.ins_h=(C.ins_h<=O&&(C.ins_h=(C.ins_h<=O&&C.match_length<=C.prev_length){for(H=C.strstart+C.lookahead-O,G=s._tr_tally(C,C.strstart-1-C.prev_match,C.prev_length-O),C.lookahead-=C.prev_length-1,C.prev_length-=2;++C.strstart<=H&&(C.ins_h=(C.ins_h<C.pending_buf_size-5&&(oe=C.pending_buf_size-5);;){if(C.lookahead<=1){if(me(C),C.lookahead===0&&le===d)return T;if(C.lookahead===0)break}C.strstart+=C.lookahead,C.lookahead=0;var G=C.block_start+oe;if((C.strstart===0||C.strstart>=G)&&(C.lookahead=C.strstart-G,C.strstart=G,V(C,!1),C.strm.avail_out===0)||C.strstart-C.block_start>=C.w_size-K&&(V(C,!1),C.strm.avail_out===0))return T}return C.insert=0,le===f?(V(C,!0),C.strm.avail_out===0?j:z):(C.strstart>C.block_start&&(V(C,!1),C.strm.avail_out),T)}),new Ae(4,4,8,4,fe),new Ae(4,5,16,8,fe),new Ae(4,6,32,32,fe),new Ae(4,4,16,16,Se),new Ae(8,16,32,32,Se),new Ae(8,16,128,128,Se),new Ae(8,32,128,256,Se),new Ae(32,128,258,1024,Se),new Ae(32,258,258,4096,Se)],i.deflateInit=function(C,le){return de(C,le,g,15,8,0)},i.deflateInit2=de,i.deflateReset=ae,i.deflateResetKeep=Me,i.deflateSetHeader=function(C,le){return C&&C.state?C.state.wrap!==2?v:(C.state.gzhead=le,h):v},i.deflate=function(C,le){var oe,G,H,te;if(!C||!C.state||5>8&255),U(G,G.gzhead.time>>16&255),U(G,G.gzhead.time>>24&255),U(G,G.level===9?2:2<=G.strategy||G.level<2?4:0),U(G,255&G.gzhead.os),G.gzhead.extra&&G.gzhead.extra.length&&(U(G,255&G.gzhead.extra.length),U(G,G.gzhead.extra.length>>8&255)),G.gzhead.hcrc&&(C.adler=c(C.adler,G.pending_buf,G.pending,0)),G.gzindex=0,G.status=69):(U(G,0),U(G,0),U(G,0),U(G,0),U(G,0),U(G,G.level===9?2:2<=G.strategy||G.level<2?4:0),U(G,3),G.status=q);else{var ue=g+(G.w_bits-8<<4)<<8;ue|=(2<=G.strategy||G.level<2?0:G.level<6?1:G.level===6?2:3)<<6,G.strstart!==0&&(ue|=32),ue+=31-ue%31,G.status=q,ne(G,ue),G.strstart!==0&&(ne(G,C.adler>>>16),ne(G,65535&C.adler)),C.adler=1}if(G.status===69)if(G.gzhead.extra){for(H=G.pending;G.gzindex<(65535&G.gzhead.extra.length)&&(G.pending!==G.pending_buf_size||(G.gzhead.hcrc&&G.pending>H&&(C.adler=c(C.adler,G.pending_buf,G.pending-H,H)),$(C),H=G.pending,G.pending!==G.pending_buf_size));)U(G,255&G.gzhead.extra[G.gzindex]),G.gzindex++;G.gzhead.hcrc&&G.pending>H&&(C.adler=c(C.adler,G.pending_buf,G.pending-H,H)),G.gzindex===G.gzhead.extra.length&&(G.gzindex=0,G.status=73)}else G.status=73;if(G.status===73)if(G.gzhead.name){H=G.pending;do{if(G.pending===G.pending_buf_size&&(G.gzhead.hcrc&&G.pending>H&&(C.adler=c(C.adler,G.pending_buf,G.pending-H,H)),$(C),H=G.pending,G.pending===G.pending_buf_size)){te=1;break}te=G.gzindexH&&(C.adler=c(C.adler,G.pending_buf,G.pending-H,H)),te===0&&(G.gzindex=0,G.status=91)}else G.status=91;if(G.status===91)if(G.gzhead.comment){H=G.pending;do{if(G.pending===G.pending_buf_size&&(G.gzhead.hcrc&&G.pending>H&&(C.adler=c(C.adler,G.pending_buf,G.pending-H,H)),$(C),H=G.pending,G.pending===G.pending_buf_size)){te=1;break}te=G.gzindexH&&(C.adler=c(C.adler,G.pending_buf,G.pending-H,H)),te===0&&(G.status=103)}else G.status=103;if(G.status===103&&(G.gzhead.hcrc?(G.pending+2>G.pending_buf_size&&$(C),G.pending+2<=G.pending_buf_size&&(U(G,255&C.adler),U(G,C.adler>>8&255),C.adler=0,G.status=q)):G.status=q),G.pending!==0){if($(C),C.avail_out===0)return G.last_flush=-1,h}else if(C.avail_in===0&&M(le)<=M(oe)&&le!==f)return P(C,-5);if(G.status===666&&C.avail_in!==0)return P(C,-5);if(C.avail_in!==0||G.lookahead!==0||le!==d&&G.status!==666){var ge=G.strategy===2?function(se,Y){for(var ee;;){if(se.lookahead===0&&(me(se),se.lookahead===0)){if(Y===d)return T;break}if(se.match_length=0,ee=s._tr_tally(se,0,se.window[se.strstart]),se.lookahead--,se.strstart++,ee&&(V(se,!1),se.strm.avail_out===0))return T}return se.insert=0,Y===f?(V(se,!0),se.strm.avail_out===0?j:z):se.last_lit&&(V(se,!1),se.strm.avail_out===0)?T:X}(G,le):G.strategy===3?function(se,Y){for(var ee,J,W,ie,he=se.window;;){if(se.lookahead<=B){if(me(se),se.lookahead<=B&&Y===d)return T;if(se.lookahead===0)break}if(se.match_length=0,se.lookahead>=O&&0se.lookahead&&(se.match_length=se.lookahead)}if(se.match_length>=O?(ee=s._tr_tally(se,1,se.match_length-O),se.lookahead-=se.match_length,se.strstart+=se.match_length,se.match_length=0):(ee=s._tr_tally(se,0,se.window[se.strstart]),se.lookahead--,se.strstart++),ee&&(V(se,!1),se.strm.avail_out===0))return T}return se.insert=0,Y===f?(V(se,!0),se.strm.avail_out===0?j:z):se.last_lit&&(V(se,!1),se.strm.avail_out===0)?T:X}(G,le):a[G.level].func(G,le);if(ge!==j&&ge!==z||(G.status=666),ge===T||ge===j)return C.avail_out===0&&(G.last_flush=-1),h;if(ge===X&&(le===1?s._tr_align(G):le!==5&&(s._tr_stored_block(G,0,0,!1),le===3&&(F(G.head),G.lookahead===0&&(G.strstart=0,G.block_start=0,G.insert=0))),$(C),C.avail_out===0))return G.last_flush=-1,h}return le!==f?h:G.wrap<=0?1:(G.wrap===2?(U(G,255&C.adler),U(G,C.adler>>8&255),U(G,C.adler>>16&255),U(G,C.adler>>24&255),U(G,255&C.total_in),U(G,C.total_in>>8&255),U(G,C.total_in>>16&255),U(G,C.total_in>>24&255)):(ne(G,C.adler>>>16),ne(G,65535&C.adler)),$(C),0=oe.w_size&&(te===0&&(F(oe.head),oe.strstart=0,oe.block_start=0,oe.insert=0),Y=new o.Buf8(oe.w_size),o.arraySet(Y,le,ee-oe.w_size,oe.w_size,0),le=Y,ee=oe.w_size),ue=C.avail_in,ge=C.next_in,se=C.input,C.avail_in=ee,C.next_in=0,C.input=le,me(oe);oe.lookahead>=O;){for(G=oe.strstart,H=oe.lookahead-(O-1);oe.ins_h=(oe.ins_h<>>=O=N>>>24,b-=O,(O=N>>>16&255)===0)X[u++]=65535&N;else{if(!(16&O)){if(!(64&O)){N=x[(65535&N)+(g&(1<>>=O,b-=O),b<15&&(g+=T[l++]<>>=O=N>>>24,b-=O,!(16&(O=N>>>16&255))){if(!(64&O)){N=D[(65535&N)+(g&(1<>>=O,b-=O,(O=u-d)>3,g&=(1<<(b-=B<<3))-1,a.next_in=l,a.next_out=u,a.avail_in=l>>24&255)+(A>>>8&65280)+((65280&A)<<8)+((255&A)<<24)}function g(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new a.Buf16(320),this.work=new a.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function b(A){var q;return A&&A.state?(q=A.state,A.total_in=A.total_out=q.total=0,A.msg="",q.wrap&&(A.adler=1&q.wrap),q.mode=v,q.last=0,q.havedict=0,q.dmax=32768,q.head=null,q.hold=0,q.bits=0,q.lencode=q.lendyn=new a.Buf32(p),q.distcode=q.distdyn=new a.Buf32(y),q.sane=1,q.back=-1,f):h}function x(A){var q;return A&&A.state?((q=A.state).wsize=0,q.whave=0,q.wnext=0,b(A)):h}function D(A,q){var T,X;return A&&A.state?(X=A.state,q<0?(T=0,q=-q):(T=1+(q>>4),q<48&&(q&=15)),q&&(q<8||15=z.wsize?(a.arraySet(z.window,q,T-z.wsize,z.wsize,0),z.wnext=0,z.whave=z.wsize):(X<(j=z.wsize-z.wnext)&&(j=X),a.arraySet(z.window,q,T-X,j,z.wnext),(X-=j)?(a.arraySet(z.window,q,T-X,X,0),z.wnext=X,z.whave=z.wsize):(z.wnext+=j,z.wnext===z.wsize&&(z.wnext=0),z.whave>>8&255,T.check=s(T.check,te,2,0),V=$=0,T.mode=2;break}if(T.flags=0,T.head&&(T.head.done=!1),!(1&T.wrap)||(((255&$)<<8)+($>>8))%31){A.msg="incorrect header check",T.mode=30;break}if((15&$)!=8){A.msg="unknown compression method",T.mode=30;break}if(V-=4,C=8+(15&($>>>=4)),T.wbits===0)T.wbits=C;else if(C>T.wbits){A.msg="invalid window size",T.mode=30;break}T.dmax=1<>8&1),512&T.flags&&(te[0]=255&$,te[1]=$>>>8&255,T.check=s(T.check,te,2,0)),V=$=0,T.mode=3;case 3:for(;V<32;){if(M===0)break e;M--,$+=X[z++]<>>8&255,te[2]=$>>>16&255,te[3]=$>>>24&255,T.check=s(T.check,te,4,0)),V=$=0,T.mode=4;case 4:for(;V<16;){if(M===0)break e;M--,$+=X[z++]<>8),512&T.flags&&(te[0]=255&$,te[1]=$>>>8&255,T.check=s(T.check,te,2,0)),V=$=0,T.mode=5;case 5:if(1024&T.flags){for(;V<16;){if(M===0)break e;M--,$+=X[z++]<>>8&255,T.check=s(T.check,te,2,0)),V=$=0}else T.head&&(T.head.extra=null);T.mode=6;case 6:if(1024&T.flags&&(M<(ce=T.length)&&(ce=M),ce&&(T.head&&(C=T.head.extra_len-T.length,T.head.extra||(T.head.extra=new Array(T.head.extra_len)),a.arraySet(T.head.extra,X,z,ce,C)),512&T.flags&&(T.check=s(T.check,X,ce,z)),M-=ce,z+=ce,T.length-=ce),T.length))break e;T.length=0,T.mode=7;case 7:if(2048&T.flags){if(M===0)break e;for(ce=0;C=X[z+ce++],T.head&&C&&T.length<65536&&(T.head.name+=String.fromCharCode(C)),C&&ce>9&1,T.head.done=!0),A.adler=T.check=0,T.mode=12;break;case 10:for(;V<32;){if(M===0)break e;M--,$+=X[z++]<>>=7&V,V-=7&V,T.mode=27;break}for(;V<3;){if(M===0)break e;M--,$+=X[z++]<>>=1)){case 0:T.mode=14;break;case 1:if(B(T),T.mode=20,q!==6)break;$>>>=2,V-=2;break e;case 2:T.mode=17;break;case 3:A.msg="invalid block type",T.mode=30}$>>>=2,V-=2;break;case 14:for($>>>=7&V,V-=7&V;V<32;){if(M===0)break e;M--,$+=X[z++]<>>16^65535)){A.msg="invalid stored block lengths",T.mode=30;break}if(T.length=65535&$,V=$=0,T.mode=15,q===6)break e;case 15:T.mode=16;case 16:if(ce=T.length){if(M>>=5,V-=5,T.ndist=1+(31&$),$>>>=5,V-=5,T.ncode=4+(15&$),$>>>=4,V-=4,286>>=3,V-=3}for(;T.have<19;)T.lens[ue[T.have++]]=0;if(T.lencode=T.lendyn,T.lenbits=7,oe={bits:T.lenbits},le=c(0,T.lens,0,19,T.lencode,0,T.work,oe),T.lenbits=oe.bits,le){A.msg="invalid code lengths set",T.mode=30;break}T.have=0,T.mode=19;case 19:for(;T.have>>16&255,Pe=65535&H,!((Se=H>>>24)<=V);){if(M===0)break e;M--,$+=X[z++]<>>=Se,V-=Se,T.lens[T.have++]=Pe;else{if(Pe===16){for(G=Se+2;V>>=Se,V-=Se,T.have===0){A.msg="invalid bit length repeat",T.mode=30;break}C=T.lens[T.have-1],ce=3+(3&$),$>>>=2,V-=2}else if(Pe===17){for(G=Se+3;V>>=Se)),$>>>=3,V-=3}else{for(G=Se+7;V>>=Se)),$>>>=7,V-=7}if(T.have+ce>T.nlen+T.ndist){A.msg="invalid bit length repeat",T.mode=30;break}for(;ce--;)T.lens[T.have++]=C}}if(T.mode===30)break;if(T.lens[256]===0){A.msg="invalid code -- missing end-of-block",T.mode=30;break}if(T.lenbits=9,oe={bits:T.lenbits},le=c(u,T.lens,0,T.nlen,T.lencode,0,T.work,oe),T.lenbits=oe.bits,le){A.msg="invalid literal/lengths set",T.mode=30;break}if(T.distbits=6,T.distcode=T.distdyn,oe={bits:T.distbits},le=c(d,T.lens,T.nlen,T.ndist,T.distcode,0,T.work,oe),T.distbits=oe.bits,le){A.msg="invalid distances set",T.mode=30;break}if(T.mode=20,q===6)break e;case 20:T.mode=21;case 21:if(6<=M&&258<=F){A.next_out=P,A.avail_out=F,A.next_in=z,A.avail_in=M,T.hold=$,T.bits=V,l(A,ne),P=A.next_out,j=A.output,F=A.avail_out,z=A.next_in,X=A.input,M=A.avail_in,$=T.hold,V=T.bits,T.mode===12&&(T.back=-1);break}for(T.back=0;Ae=(H=T.lencode[$&(1<>>16&255,Pe=65535&H,!((Se=H>>>24)<=V);){if(M===0)break e;M--,$+=X[z++]<>Me)])>>>16&255,Pe=65535&H,!(Me+(Se=H>>>24)<=V);){if(M===0)break e;M--,$+=X[z++]<>>=Me,V-=Me,T.back+=Me}if($>>>=Se,V-=Se,T.back+=Se,T.length=Pe,Ae===0){T.mode=26;break}if(32&Ae){T.back=-1,T.mode=12;break}if(64&Ae){A.msg="invalid literal/length code",T.mode=30;break}T.extra=15&Ae,T.mode=22;case 22:if(T.extra){for(G=T.extra;V>>=T.extra,V-=T.extra,T.back+=T.extra}T.was=T.length,T.mode=23;case 23:for(;Ae=(H=T.distcode[$&(1<>>16&255,Pe=65535&H,!((Se=H>>>24)<=V);){if(M===0)break e;M--,$+=X[z++]<>Me)])>>>16&255,Pe=65535&H,!(Me+(Se=H>>>24)<=V);){if(M===0)break e;M--,$+=X[z++]<>>=Me,V-=Me,T.back+=Me}if($>>>=Se,V-=Se,T.back+=Se,64&Ae){A.msg="invalid distance code",T.mode=30;break}T.offset=Pe,T.extra=15&Ae,T.mode=24;case 24:if(T.extra){for(G=T.extra;V>>=T.extra,V-=T.extra,T.back+=T.extra}if(T.offset>T.dmax){A.msg="invalid distance too far back",T.mode=30;break}T.mode=25;case 25:if(F===0)break e;if(ce=ne-F,T.offset>ce){if((ce=T.offset-ce)>T.whave&&T.sane){A.msg="invalid distance too far back",T.mode=30;break}me=ce>T.wnext?(ce-=T.wnext,T.wsize-ce):T.wnext-ce,ce>T.length&&(ce=T.length),fe=T.window}else fe=j,me=P-T.offset,ce=T.length;for(F_?(O=me[fe+y[q]],V[U+y[q]]):(O=96,0),g=1<>P)+(b-=g)]=N<<24|O<<16|B|0,b!==0;);for(g=1<>=1;if(g!==0?($&=g-1,$+=g):$=0,q++,--ne[A]==0){if(A===X)break;A=d[f+y[q]]}if(j>>7)]}function U(H,te){H.pending_buf[H.pending++]=255&te,H.pending_buf[H.pending++]=te>>>8&255}function ne(H,te,ue){H.bi_valid>m-ue?(H.bi_buf|=te<>m-H.bi_valid,H.bi_valid+=ue-m):(H.bi_buf|=te<>>=1,ue<<=1,0<--te;);return ue>>>1}function fe(H,te,ue){var ge,se,Y=new Array(y+1),ee=0;for(ge=1;ge<=y;ge++)Y[ge]=ee=ee+ue[ge-1]<<1;for(se=0;se<=te;se++){var J=H[2*se+1];J!==0&&(H[2*se]=me(Y[J]++,J))}}function Se(H){var te;for(te=0;te>1;1<=ue;ue--)Me(H,Y,ue);for(se=W;ue=H.heap[1],H.heap[1]=H.heap[H.heap_len--],Me(H,Y,1),ge=H.heap[1],H.heap[--H.heap_max]=ue,H.heap[--H.heap_max]=ge,Y[2*se]=Y[2*ue]+Y[2*ge],H.depth[se]=(H.depth[ue]>=H.depth[ge]?H.depth[ue]:H.depth[ge])+1,Y[2*ue+1]=Y[2*ge+1]=se,H.heap[1]=se++,Me(H,Y,1),2<=H.heap_len;);H.heap[--H.heap_max]=H.heap[1],function(he,be){var we,Oe,Ve,Le,lt,en,tt=be.dyn_tree,Mn=be.max_code,pn=be.stat_desc.static_tree,Oa=be.stat_desc.has_stree,Vs=be.stat_desc.extra_bits,dh=be.stat_desc.extra_base,Xi=be.stat_desc.max_length,hr=0;for(Le=0;Le<=y;Le++)he.bl_count[Le]=0;for(tt[2*he.heap[he.heap_max]+1]=0,we=he.heap_max+1;we>=7;se>>=1)if(1&ie&&J.dyn_ltree[2*W]!==0)return o;if(J.dyn_ltree[18]!==0||J.dyn_ltree[20]!==0||J.dyn_ltree[26]!==0)return s;for(W=32;W>>3,(Y=H.static_len+3+7>>>3)<=se&&(se=Y)):se=Y=ue+5,ue+4<=se&&te!==-1?G(H,te,ue,ge):H.strategy===4||Y===se?(ne(H,2+(ge?1:0),3),ae(H,K,A)):(ne(H,4+(ge?1:0),3),function(J,W,ie,he){var be;for(ne(J,W-257,5),ne(J,ie-1,5),ne(J,he-4,4),be=0;be>>8&255,H.pending_buf[H.d_buf+2*H.last_lit+1]=255&te,H.pending_buf[H.l_buf+H.last_lit]=255&ue,H.last_lit++,te===0?H.dyn_ltree[2*ue]++:(H.matches++,te--,H.dyn_ltree[2*(T[ue]+d+1)]++,H.dyn_dtree[2*V(te)]++),H.last_lit===H.lit_bufsize-1},i._tr_align=function(H){ne(H,2,3),ce(H,b,K),function(te){te.bi_valid===16?(U(te,te.bi_buf),te.bi_buf=0,te.bi_valid=0):8<=te.bi_valid&&(te.pending_buf[te.pending++]=255&te.bi_buf,te.bi_buf>>=8,te.bi_valid-=8)}(H)}},{"../utils/common":41}],53:[function(n,r,i){r.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(n,r,i){(function(a){(function(o,s){if(!o.setImmediate){var l,c,u,d,f=1,h={},v=!1,p=o.document,y=Object.getPrototypeOf&&Object.getPrototypeOf(o);y=y&&y.setTimeout?y:o,l={}.toString.call(o.process)==="[object process]"?function(x){process.nextTick(function(){g(x)})}:function(){if(o.postMessage&&!o.importScripts){var x=!0,D=o.onmessage;return o.onmessage=function(){x=!1},o.postMessage("","*"),o.onmessage=D,x}}()?(d="setImmediate$"+Math.random()+"$",o.addEventListener?o.addEventListener("message",b,!1):o.attachEvent("onmessage",b),function(x){o.postMessage(d+x,"*")}):o.MessageChannel?((u=new MessageChannel).port1.onmessage=function(x){g(x.data)},function(x){u.port2.postMessage(x)}):p&&"onreadystatechange"in p.createElement("script")?(c=p.documentElement,function(x){var D=p.createElement("script");D.onreadystatechange=function(){g(x),D.onreadystatechange=null,c.removeChild(D),D=null},c.appendChild(D)}):function(x){setTimeout(g,0,x)},y.setImmediate=function(x){typeof x!="function"&&(x=new Function(""+x));for(var D=new Array(arguments.length-1),w=0;w"u"?a===void 0?this:a:self)}).call(this,typeof Ke<"u"?Ke:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})})(wA);var DK=wA.exports,kK=qp,_K=DK;Zd.openArrayBuffer=TK;Zd.splitPath=EK;Zd.joinPath=SK;function TK(e){return _K.loadAsync(e).then(function(t){function n(o){return t.file(o)!==null}function r(o,s){return t.file(o).async("uint8array").then(function(l){if(s==="base64")return kK.fromByteArray(l);if(s){var c=new TextDecoder(s);return c.decode(l)}else return l})}function i(o,s){t.file(o,s)}function a(){return t.generateAsync({type:"arraybuffer"})}return{exists:n,read:r,write:i,toArrayBuffer:a}})}function EK(e){var t=e.lastIndexOf("/");return t===-1?{dirname:"",basename:e}:{dirname:e.substring(0,t),basename:e.substring(t+1)}}function SK(){var e=Array.prototype.filter.call(arguments,function(n){return n}),t=[];return e.forEach(function(n){/^\//.test(n)?t=[n]:t.push(n)}),t.join("/")}var Kx={},Ca={},Mc={},Hp=Gt;Mc.Element=jc;Mc.element=function(e,t,n){return new jc(e,t,n)};Mc.text=function(e){return{type:"text",value:e}};var DA=Mc.emptyElement={first:function(){return null},firstOrEmpty:function(){return DA},attributes:{},children:[]};function jc(e,t,n){this.type="element",this.name=e,this.attributes=t||{},this.children=n||[]}jc.prototype.first=function(e){return Hp.find(this.children,function(t){return t.name===e})};jc.prototype.firstOrEmpty=function(e){return this.first(e)||DA};jc.prototype.getElementsByTagName=function(e){var t=Hp.filter(this.children,function(n){return n.name===e});return kA(t)};jc.prototype.text=function(){if(this.children.length===0)return"";if(this.children.length!==1||this.children[0].type!=="text")throw new Error("Not implemented");return this.children[0].value};var CK={getElementsByTagName:function(e){return kA(Hp.flatten(this.map(function(t){return t.getElementsByTagName(e)},!0)))}};function kA(e){return Hp.extend(e,CK)}var _A={},Yx={},Vp={},gi={},Aa={};function AK(e,t,n){if(n===void 0&&(n=Array.prototype),e&&typeof n.find=="function")return n.find.call(e,t);for(var r=0;r=0&&e=0){for(var i=t.length-1;r0},lookupPrefix:function(e){for(var t=this;t;){var n=t._nsMap;if(n){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)&&n[r]===e)return r}t=t.nodeType==pc?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){for(var t=this;t;){var n=t._nsMap;if(n&&Object.prototype.hasOwnProperty.call(n,e))return n[e];t=t.nodeType==pc?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){var t=this.lookupPrefix(e);return t==null}};function IA(e){return e=="<"&&"<"||e==">"&&">"||e=="&"&&"&"||e=='"'&&"""||"&#"+e.charCodeAt()+";"}eh(cr,pt);eh(cr,pt.prototype);function I0(e,t){return cn(e,null,{enter:function(n){return t(n)?cn.STOP:!0}})===cn.STOP}function cn(e,t,n){for(var r=[{node:e,context:t,phase:cn.ENTER}];r.length>0;){var i=r.pop();if(i.phase===cn.ENTER){var a=n.enter(i.node,i.context);if(a===cn.STOP)return cn.STOP;if(r.push({node:i.node,context:a,phase:cn.EXIT}),a==null)continue;for(var o=i.node.lastChild;o;)r.push({node:o,context:a,phase:cn.ENTER}),o=o.previousSibling}else n.exit&&n.exit(i.node,i.context)}}cn.STOP=Symbol("walkDOM.STOP");cn.ENTER=0;cn.EXIT=1;function th(){this.ownerDocument=this}function MK(e,t,n){e&&e._inc++;var r=n.namespaceURI;r===wd.XMLNS&&(t._nsMap[n.prefix?n.localName:""]=n.value)}function PA(e,t,n,r){e&&e._inc++;var i=n.namespaceURI;i===wd.XMLNS&&delete t._nsMap[n.prefix?n.localName:""]}function t4(e,t,n){if(e&&e._inc){e._inc++;var r=t.childNodes;if(n)r[r.length++]=n;else{for(var i=t.firstChild,a=0;i;)r[a++]=i,i=i.nextSibling;r.length=a,delete r[r.length]}}}function BA(e,t){var n=t.previousSibling,r=t.nextSibling;return n?n.nextSibling=r:e.firstChild=r,r?r.previousSibling=n:e.lastChild=n,t.parentNode=null,t.previousSibling=null,t.nextSibling=null,t4(e.ownerDocument,e),t}function jK(e){return e&&(e.nodeType===pt.DOCUMENT_NODE||e.nodeType===pt.DOCUMENT_FRAGMENT_NODE||e.nodeType===pt.ELEMENT_NODE)}function LK(e){return e&&(ji(e)||n4(e)||ka(e)||e.nodeType===pt.DOCUMENT_FRAGMENT_NODE||e.nodeType===pt.COMMENT_NODE||e.nodeType===pt.PROCESSING_INSTRUCTION_NODE)}function ka(e){return e&&e.nodeType===pt.DOCUMENT_TYPE_NODE}function ji(e){return e&&e.nodeType===pt.ELEMENT_NODE}function n4(e){return e&&e.nodeType===pt.TEXT_NODE}function e8(e,t){var n=e.childNodes||[];if(Mi(n,ji)||ka(t))return!1;var r=Mi(n,ka);return!(t&&r&&n.indexOf(r)>n.indexOf(t))}function t8(e,t){var n=e.childNodes||[];function r(a){return ji(a)&&a!==t}if(Mi(n,r))return!1;var i=Mi(n,ka);return!(t&&i&&n.indexOf(i)>n.indexOf(t))}function zK(e,t,n){if(!jK(e))throw new vt(tr,"Unexpected parent node type "+e.nodeType);if(n&&n.parentNode!==e)throw new vt(RA,"child not in parent");if(!LK(t)||ka(t)&&e.nodeType!==pt.DOCUMENT_NODE)throw new vt(tr,"Unexpected node type "+t.nodeType+" for parent node type "+e.nodeType)}function WK(e,t,n){var r=e.childNodes||[],i=t.childNodes||[];if(t.nodeType===pt.DOCUMENT_FRAGMENT_NODE){var a=i.filter(ji);if(a.length>1||Mi(i,n4))throw new vt(tr,"More than one element or text in fragment");if(a.length===1&&!e8(e,n))throw new vt(tr,"Element in fragment can not be inserted before doctype")}if(ji(t)&&!e8(e,n))throw new vt(tr,"Only one element can be added and only after doctype");if(ka(t)){if(Mi(r,ka))throw new vt(tr,"Only one doctype is allowed");var o=Mi(r,ji);if(n&&r.indexOf(o)1||Mi(i,n4))throw new vt(tr,"More than one element or text in fragment");if(a.length===1&&!t8(e,n))throw new vt(tr,"Element in fragment can not be inserted before doctype")}if(ji(t)&&!t8(e,n))throw new vt(tr,"Only one element can be added and only after doctype");if(ka(t)){if(Mi(r,function(l){return ka(l)&&l!==n}))throw new vt(tr,"Only one doctype is allowed");var o=Mi(r,ji);if(n&&r.indexOf(o)0&&I0(n.documentElement,function(i){if(i!==n&&i.nodeType===qr){var a=i.getAttribute("class");if(a){var o=e===a;if(!o){var s=Y6(a);o=t.every(OK(s))}o&&r.push(i)}}}),r})},createElement:function(e){var t=new Fs;t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.localName=e,t.childNodes=new fa;var n=t.attributes=new O0;return n._ownerElement=t,t},createDocumentFragment:function(){var e=new Xp;return e.ownerDocument=this,e.childNodes=new fa,e},createTextNode:function(e){var t=new r4;return t.ownerDocument=this,t.appendData(e),t},createComment:function(e){var t=new i4;return t.ownerDocument=this,t.appendData(e),t},createCDATASection:function(e){if(e.indexOf("]]>")!==-1)throw new vt(BK,'data contains "]]>"');var t=new a4;return t.ownerDocument=this,t.appendData(e),t},createProcessingInstruction:function(e,t){var n=new s4;return n.ownerDocument=this,n.tagName=n.nodeName=n.target=e,n.nodeValue=n.data=t,n},createAttribute:function(e){var t=new B0;return t.ownerDocument=this,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){var t=new o4;return t.ownerDocument=this,t.nodeName=e,t},createElementNS:function(e,t){var n=new Fs,r=t.split(":"),i=n.attributes=new O0;return n.childNodes=new fa,n.ownerDocument=this,n.nodeName=t,n.tagName=t,n.namespaceURI=e,r.length==2?(n.prefix=r[0],n.localName=r[1]):n.localName=t,i._ownerElement=n,n},createAttributeNS:function(e,t){var n=new B0,r=t.split(":");return n.ownerDocument=this,n.nodeName=t,n.name=t,n.namespaceURI=e,n.specified=!0,r.length==2?(n.prefix=r[0],n.localName=r[1]):n.localName=t,n}};lr(th,pt);function Fs(){this._nsMap={}}Fs.prototype={nodeType:qr,hasAttribute:function(e){return this.getAttributeNode(e)!=null},getAttribute:function(e){var t=this.getAttributeNode(e);return t&&t.value||""},getAttributeNode:function(e){return this.attributes.getNamedItem(e)},setAttribute:function(e,t){var n=this.ownerDocument.createAttribute(e);n.value=n.nodeValue=""+t,this.setAttributeNode(n)},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)},appendChild:function(e){return e.nodeType===ha?this.insertBefore(e,null):$K(this,e)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);n&&this.removeAttributeNode(n)},hasAttributeNS:function(e,t){return this.getAttributeNodeNS(e,t)!=null},getAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);return n&&n.value||""},setAttributeNS:function(e,t,n){var r=this.ownerDocument.createAttributeNS(e,t);r.value=r.nodeValue=""+n,this.setAttributeNode(r)},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByTagName:function(e){return new mc(this,function(t){var n=[];return I0(t,function(r){r!==t&&r.nodeType==qr&&(e==="*"||r.tagName==e)&&n.push(r)}),n})},getElementsByTagNameNS:function(e,t){return new mc(this,function(n){var r=[];return I0(n,function(i){i!==n&&i.nodeType===qr&&(e==="*"||i.namespaceURI===e)&&(t==="*"||i.localName==t)&&r.push(i)}),r})}};th.prototype.getElementsByTagName=Fs.prototype.getElementsByTagName;th.prototype.getElementsByTagNameNS=Fs.prototype.getElementsByTagNameNS;lr(Fs,pt);function B0(){}B0.prototype.nodeType=pc;lr(B0,pt);function nh(){}nh.prototype={data:"",substringData:function(e,t){return this.data.substring(e,e+t)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length},insertData:function(e,t){this.replaceData(e,0,t)},appendChild:function(e){throw new Error(hn[tr])},deleteData:function(e,t){this.replaceData(e,t,"")},replaceData:function(e,t,n){var r=this.data.substring(0,e),i=this.data.substring(e+t);n=r+n+i,this.nodeValue=this.data=n,this.length=n.length}};lr(nh,pt);function r4(){}r4.prototype={nodeName:"#text",nodeType:N0,splitText:function(e){var t=this.data,n=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var r=this.ownerDocument.createTextNode(n);return this.parentNode&&this.parentNode.insertBefore(r,this.nextSibling),r}};lr(r4,nh);function i4(){}i4.prototype={nodeName:"#comment",nodeType:Zx};lr(i4,nh);function a4(){}a4.prototype={nodeName:"#cdata-section",nodeType:CA};lr(a4,nh);function Gp(){}Gp.prototype.nodeType=FA;lr(Gp,pt);function jA(){}jA.prototype.nodeType=PK;lr(jA,pt);function LA(){}LA.prototype.nodeType=IK;lr(LA,pt);function o4(){}o4.prototype.nodeType=AA;lr(o4,pt);function Xp(){}Xp.prototype.nodeName="#document-fragment";Xp.prototype.nodeType=ha;lr(Xp,pt);function s4(){}s4.prototype.nodeType=Qx;lr(s4,pt);function zA(){}zA.prototype.serializeToString=function(e,t,n,r){return WA.call(e,t,n,r)};pt.prototype.toString=WA;function WA(e,t,n){var r=!!n&&!!n.requireWellFormed,i=[],a=this.nodeType==9&&this.documentElement||this,o=a.prefix,s=a.namespaceURI;if(s&&o==null){var o=a.lookupPrefix(s);if(o==null)var l=[{namespace:s,prefix:null}]}return l4(this,i,e,t,l,r),i.join("")}function n8(e,t,n){var r=e.prefix||"",i=e.namespaceURI;if(!i||r==="xml"&&i===wd.XML||i===wd.XMLNS)return!1;for(var a=n.length;a--;){var o=n[a];if(o.prefix===r)return o.namespace!==i}return!0}function Yh(e,t,n){e.push(" ",t,'="',n.replace(/[<>&"\t\n\r]/g,IA),'"')}function l4(e,t,n,r,i,a){i||(i=[]),cn(e,{ns:i,isHTML:n},{enter:function(o,s){var l=s.ns,c=s.isHTML;if(r)if(o=r(o),o){if(typeof o=="string")return t.push(o),null}else return null;switch(o.nodeType){case qr:var u=o.attributes,d=u.length,f=o.tagName;c=wd.isHTML(o.namespaceURI)||c;var h=f;if(!c&&!o.prefix&&o.namespaceURI){for(var v,p=0;p=0;y--){var m=l[y];if(m.prefix===""&&m.namespace===o.namespaceURI){v=m.namespace;break}}if(v!==o.namespaceURI)for(var y=l.length-1;y>=0;y--){var m=l[y];if(m.namespace===o.namespaceURI){m.prefix&&(h=m.prefix+":"+f);break}}}t.push("<",h);for(var g=l.slice(),b=0;b"),c&&/^script$/i.test(f)){for(;O;)O.data?t.push(O.data):l4(O,t,c,r,g.slice(),a),O=O.nextSibling;return t.push(""),null}return{ns:g,isHTML:c,tag:h}}else return t.push("/>"),null;case UA:case ha:return{ns:l.slice(),isHTML:c,tag:null};case pc:return Yh(t,o.name,o.value),null;case N0:return t.push(o.data.replace(/[<&>]/g,IA)),null;case CA:if(a&&o.data.indexOf("]]>")!==-1)throw new vt(il,'The CDATASection data contains "]]>"');return t.push("/g,"]]]]>"),"]]>"),null;case Zx:if(a&&o.data.indexOf("-->")!==-1)throw new vt(il,'The comment node data contains "-->"');return t.push(""),null;case FA:if(a){if(o.publicId&&!/^("[\x20\r\na-zA-Z0-9\-()+,.\/:=?;!*#@$_%']*"|'[\x20\r\na-zA-Z0-9\-()+,.\/:=?;!*#@$_%'"]*')$/.test(o.publicId))throw new vt(il,"DocumentType publicId is not a valid PubidLiteral");if(o.systemId&&!/^("[^"]*"|'[^']*')$/.test(o.systemId))throw new vt(il,"DocumentType systemId is not a valid SystemLiteral");if(o.internalSubset&&o.internalSubset.indexOf("]>")!==-1)throw new vt(il,'DocumentType internalSubset contains "]>"')}var B=o.publicId,K=o.systemId;if(t.push("");else if(K&&K!=".")t.push(" SYSTEM ",K,">");else{var A=o.internalSubset;A&&t.push(" [",A,"]"),t.push(">")}return null;case Qx:if(a&&o.data.indexOf("?>")!==-1)throw new vt(il,'The ProcessingInstruction data contains "?>"');return t.push(""),null;case AA:return t.push("&",o.nodeName,";"),null;default:return t.push("??",o.nodeName),null}},exit:function(o,s){s&&s.tag&&t.push("")}})}function qK(e,t,n){var r;return cn(t,null,{enter:function(i,a){var o=i.cloneNode(!1);o.ownerDocument=e,o.parentNode=null,a===null?r=o:a.appendChild(o);var s=i.nodeType===pc||n;return s?o:null}}),r}function $A(e,t,n){var r;return cn(t,null,{enter:function(i,a){var o=new i.constructor;for(var s in i)if(Object.prototype.hasOwnProperty.call(i,s)){var l=i[s];typeof l!="object"&&l!=o[s]&&(o[s]=l)}i.childNodes&&(o.childNodes=new fa),o.ownerDocument=e;var c=n;switch(o.nodeType){case qr:var u=i.attributes,d=o.attributes=new O0,f=u.length;d._ownerElement=o;for(var h=0;h",lt:"<",quot:'"'}),e.HTML_ENTITIES=t({Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"‵",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"ℬ",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"ℭ",cfr:"𝔠",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"ℂ",copf:"𝕔",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"ℰ",escr:"ℯ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",ExponentialE:"ⅇ",exponentiale:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",Fscr:"ℱ",fscr:"𝒻",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",Gt:"≫",GT:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"𝔥",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"𝕙",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"𝒽",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"𝔦",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"𝒾",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"𝓁",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",Lt:"≪",LT:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",Mscr:"ℳ",mscr:"𝓂",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:` +`,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",Qopf:"ℚ",qopf:"𝕢",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"𝓇",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"𝔷",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"𝕫",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}),e.entityMap=e.HTML_ENTITIES})(HA);var c4={},kd=Aa.NAMESPACE,ny=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,r8=new RegExp("[\\-\\.0-9"+ny.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),i8=new RegExp("^"+ny.source+r8.source+"*(?::"+ny.source+r8.source+"*)?$"),au=0,La=1,al=2,ou=3,ol=4,sl=5,su=6,Jh=7;function gc(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,gc)}gc.prototype=new Error;gc.prototype.name=gc.name;function VA(){}VA.prototype={parse:function(e,t,n){var r=this.domBuilder;r.startDocument(),GA(t,t={}),HK(e,t,n,r,this.errorHandler),r.endDocument()}};function HK(e,t,n,r,i){function a(j){if(j>65535){j-=65536;var z=55296+(j>>10),P=56320+(j&1023);return String.fromCharCode(z,P)}else return String.fromCharCode(j)}function o(j){var z=j.slice(1,-1);return Object.hasOwnProperty.call(n,z)?n[z]:z.charAt(0)==="#"?a(parseInt(z.substr(1).replace("x","0x"))):(i.error("entity not found:"+j),j)}function s(j){if(j>p){var z=e.substring(p,j).replace(/&#?\w+;/g,o);f&&l(p),r.characters(z,0,j-p),p=j}}function l(j,z){for(;j>=u&&(z=d.exec(e));)c=z.index,u=c+z[0].length,f.lineNumber++;f.columnNumber=j-c+1}for(var c=0,u=0,d=/.*(?:\r\n?|\n)|.*$/g,f=r.locator,h=[{currentNSMap:t}],v={},p=0;;){try{var y=e.indexOf("<",p);if(y<0){if(!e.substr(p).match(/^\s*$/)){var m=r.doc,g=m.createTextNode(e.substr(p));m.appendChild(g),r.currentElement=g}return}switch(y>p&&s(y),e.charAt(y+1)){case"/":var K=e.indexOf(">",y+3),b=e.substring(y+2,K).replace(/[ \t\n\r]+$/g,""),x=h.pop();K<0?(b=e.substring(y+2).replace(/[\s<].*/,""),i.error("end tag name: "+b+" is not complete:"+x.tagName),K=y+1+b.length):b.match(/\sp?p=K:s(Math.max(y,p)+1)}}function a8(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function VK(e,t,n,r,i,a){function o(f,h,v){n.attributeNames.hasOwnProperty(f)&&a.fatalError("Attribute "+f+" redefined"),n.addValue(f,h.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,i),v)}for(var s,l,c=++t,u=au;;){var d=e.charAt(c);switch(d){case"=":if(u===La)s=e.slice(t,c),u=ou;else if(u===al)u=ou;else throw new Error("attribute equal must after attrName");break;case"'":case'"':if(u===ou||u===La)if(u===La&&(a.warning('attribute value must after "="'),s=e.slice(t,c)),t=c+1,c=e.indexOf(d,t),c>0)l=e.slice(t,c),o(s,l,t-1),u=sl;else throw new Error("attribute value no end '"+d+"' match");else if(u==ol)l=e.slice(t,c),o(s,l,t),a.warning('attribute "'+s+'" missed start quot('+d+")!!"),t=c+1,u=sl;else throw new Error('attribute value must after "="');break;case"/":switch(u){case au:n.setTagName(e.slice(t,c));case sl:case su:case Jh:u=Jh,n.closed=!0;case ol:case La:break;case al:n.closed=!0;break;default:throw new Error("attribute invalid close char('/')")}break;case"":return a.error("unexpected end of input"),u==au&&n.setTagName(e.slice(t,c)),c;case">":switch(u){case au:n.setTagName(e.slice(t,c));case sl:case su:case Jh:break;case ol:case La:l=e.slice(t,c),l.slice(-1)==="/"&&(n.closed=!0,l=l.slice(0,-1));case al:u===al&&(l=s),u==ol?(a.warning('attribute "'+l+'" missed quot(")!'),o(s,l,t)):((!kd.isHTML(r[""])||!l.match(/^(?:disabled|checked|selected)$/i))&&a.warning('attribute "'+l+'" missed value!! "'+l+'" instead!!'),o(l,l,t));break;case ou:throw new Error("attribute value missed!!")}return c;case"€":d=" ";default:if(d<=" ")switch(u){case au:n.setTagName(e.slice(t,c)),u=su;break;case La:s=e.slice(t,c),u=al;break;case ol:var l=e.slice(t,c);a.warning('attribute "'+l+'" missed quot(")!!'),o(s,l,t);case sl:u=su;break}else switch(u){case al:n.tagName,(!kd.isHTML(r[""])||!s.match(/^(?:disabled|checked|selected)$/i))&&a.warning('attribute "'+s+'" missed value!! "'+s+'" instead2!!'),o(s,s,t),t=c,u=La;break;case sl:a.warning('attribute space is required"'+s+'"!!');case su:u=La,t=c;break;case ou:u=ol,t=c;break;case Jh:throw new Error("elements closed character '/' and '>' must be connected to")}}c++}}function o8(e,t,n){for(var r=e.tagName,i=null,d=e.length;d--;){var a=e[d],o=a.qName,s=a.value,f=o.indexOf(":");if(f>0)var l=a.prefix=o.slice(0,f),c=o.slice(f+1),u=l==="xmlns"&&c;else c=o,l=null,u=o==="xmlns"&&"";a.localName=c,u!==!1&&(i==null&&(i={},GA(n,n={})),n[u]=i[u]=s,a.uri=kd.XMLNS,t.startPrefixMapping(u,s))}for(var d=e.length;d--;){a=e[d];var l=a.prefix;l&&(l==="xml"&&(a.uri=kd.XML),l!=="xmlns"&&(a.uri=n[l||""]))}var f=r.indexOf(":");f>0?(l=e.prefix=r.slice(0,f),c=e.localName=r.slice(f+1)):(l=null,c=e.localName=r);var h=e.uri=n[l||""];if(t.startElement(h,c,r,e),e.closed){if(t.endElement(h,c,r),i)for(l in i)Object.prototype.hasOwnProperty.call(i,l)&&t.endPrefixMapping(l)}else return e.currentNSMap=n,e.localNSMap=i,!0}function GK(e,t,n,r,i){if(/^(?:script|textarea)$/i.test(n)){var a=e.indexOf("",t),o=e.substring(t+1,a);if(/[&<]/.test(o))return/^script$/i.test(n)?(i.characters(o,0,o.length),a):(o=o.replace(/&#?\w+;/g,r),i.characters(o,0,o.length),a)}return t+1}function XK(e,t,n,r){var i=r[n];return i==null&&(i=e.lastIndexOf(""),i",t+4);return a>t?(n.comment(e,t+4,a-t-4),a+3):(r.error("Unclosed comment"),-1)}else return-1;default:if(e.substr(t+3,6)=="CDATA["){var a=e.indexOf("]]>",t+9);return n.startCDATA(),n.characters(e,t+9,a-t-9),n.endCDATA(),a+3}var o=JK(e,t),s=o.length;if(s>1&&/!doctype/i.test(o[0][0])){var l=o[1][0],c=!1,u=!1;s>3&&(/^public$/i.test(o[2][0])?(c=o[3][0],u=s>4&&o[4][0]):/^system$/i.test(o[2][0])&&(u=o[3][0]));var d=o[s-1];return n.startDTD(l,c,u),n.endDTD(),d.index+d[0].length}}return-1}function YK(e,t,n){var r=e.indexOf("?>",t);if(r){var i=e.substring(t,r).match(/^<\?(\S*)\s*([\s\S]*?)$/);return i?(i[0].length,n.processingInstruction(i[1],i[2]),r+2):-1}return-1}function XA(){this.attributeNames={}}XA.prototype={setTagName:function(e){if(!i8.test(e))throw new Error("invalid tagName:"+e);this.tagName=e},addValue:function(e,t,n){if(!i8.test(e))throw new Error("invalid attribute:"+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:t,offset:n}},length:0,getLocalName:function(e){return this[e].localName},getLocator:function(e){return this[e].locator},getQName:function(e){return this[e].qName},getURI:function(e){return this[e].uri},getValue:function(e){return this[e].value}};function JK(e,t){var n,r=[],i=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(i.lastIndex=t,i.exec(e);n=i.exec(e);)if(r.push(n),n[1])return r}c4.XMLReader=VA;c4.ParseError=gc;var QK=Aa,ZK=gi,s8=HA,KA=c4,eY=ZK.DOMImplementation,l8=QK.NAMESPACE,tY=KA.ParseError,nY=KA.XMLReader;function YA(e){return e.replace(/\r[\n\u0085]/g,` +`).replace(/[\r\u0085\u2028]/g,` +`)}function JA(e){this.options=e||{locator:{}}}JA.prototype.parseFromString=function(e,t){var n=this.options,r=new nY,i=n.domBuilder||new rh,a=n.errorHandler,o=n.locator,s=n.xmlns||{},l=/\/x?html?$/.test(t),c=l?s8.HTML_ENTITIES:s8.XML_ENTITIES;o&&i.setDocumentLocator(o),r.errorHandler=rY(a,i,o),r.domBuilder=n.domBuilder||i,l&&(s[""]=l8.HTML),s.xml=s.xml||l8.XML;var u=n.normalizeLineEndings||YA;return e&&typeof e=="string"?r.parse(u(e),s,c):r.errorHandler.error("invalid doc source"),i.doc};function rY(e,t,n){if(!e){if(t instanceof rh)return t;e=t}var r={},i=e instanceof Function;n=n||{};function a(o){var s=e[o];!s&&i&&(s=e.length==2?function(l){e(o,l)}:e),r[o]=s&&function(l){s("[xmldom "+o+"] "+l+ry(n))}||function(){}}return a("warning"),a("error"),a("fatalError"),r}function rh(){this.cdata=!1}function ll(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber}rh.prototype={startDocument:function(){this.doc=new eY().createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(e,t,n,r){var i=this.doc,a=i.createElementNS(e,n||t),o=r.length;Qh(this,a),this.currentElement=a,this.locator&&ll(this.locator,a);for(var s=0;s=t+n||t?new java.lang.String(e,t,n)+"":e}"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(e){rh.prototype[e]=function(){return null}});function Qh(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}Kp.__DOMHandler=rh;Kp.normalizeLineEndings=YA;Kp.DOMParser=JA;var QA=gi;Vp.DOMImplementation=QA.DOMImplementation;Vp.XMLSerializer=QA.XMLSerializer;Vp.DOMParser=Kp.DOMParser;var iY=Vp,aY=gi;function oY(e){var t=null,n=new iY.DOMParser({errorHandler:function(i,a){t={level:i,message:a}}}),r=n.parseFromString(e);if(t===null)return r;throw new Error(t.level+": "+t.message)}Yx.parseFromString=oY;Yx.Node=aY.Node;var v1=fn,u8=Gt,ZA=Yx,eU=Mc,sY=eU.Element;_A.readString=lY;var d8=ZA.Node;function lY(e,t){t=t||{};try{var n=ZA.parseFromString(e,"text/xml")}catch(o){return v1.reject(o)}if(n.documentElement.tagName==="parsererror")return v1.resolve(new Error(n.documentElement.textContent));function r(o){switch(o.nodeType){case d8.ELEMENT_NODE:return i(o);case d8.TEXT_NODE:return eU.text(o.nodeValue)}}function i(o){var s=a(o),l=[];u8.forEach(o.childNodes,function(u){var d=r(u);d&&l.push(d)});var c={};return u8.forEach(o.attributes,function(u){c[a(u)]=u.value}),new sY(s,c,l)}function a(o){if(o.namespaceURI){var s=t[o.namespaceURI],l;return s?l=s+":":l="{"+o.namespaceURI+"}",l+o.localName}else return o.localName}return v1.resolve(r(n.documentElement))}var tU={},vu={},Yi={},h8;function Wo(){return h8||(h8=1,(function(){var e,t,n,r,i,a,o,s=[].slice,l={}.hasOwnProperty;e=function(){var c,u,d,f,h,v;if(v=arguments[0],h=2<=arguments.length?s.call(arguments,1):[],i(Object.assign))Object.assign.apply(null,arguments);else for(c=0,d=h.length;c":"attribute: {"+t+"}, parent: <"+this.parent.name+">"},e}()}).call(Ke)),w1.exports}var p8;function Yp(){return p8||(p8=1,(function(){var e,t,n,r,i,a,o=function(l,c){for(var u in c)s.call(c,u)&&(l[u]=c[u]);function d(){this.constructor=l}return d.prototype=c.prototype,l.prototype=new d,l.__super__=c.prototype,l},s={}.hasOwnProperty;a=Wo(),i=a.isObject,r=a.isFunction,n=a.getValue,t=ur(),e=nU(),x1.exports=function(l){o(c,l);function c(u,d,f){if(c.__super__.constructor.call(this,u),d==null)throw new Error("Missing element name. "+this.debugInfo());this.name=this.stringify.eleName(d),this.attributes={},f!=null&&this.attribute(f),u.isDocument&&(this.isRoot=!0,this.documentObject=u,u.rootObject=this)}return c.prototype.clone=function(){var u,d,f,h;f=Object.create(this),f.isRoot&&(f.documentObject=null),f.attributes={},h=this.attributes;for(d in h)s.call(h,d)&&(u=h[d],f.attributes[d]=u.clone());return f.children=[],this.children.forEach(function(v){var p;return p=v.clone(),p.parent=f,f.children.push(p)}),f},c.prototype.attribute=function(u,d){var f,h;if(u!=null&&(u=n(u)),i(u))for(f in u)s.call(u,f)&&(h=u[f],this.attribute(f,h));else r(d)&&(d=d.apply()),(!this.options.skipNullAttributes||d!=null)&&(this.attributes[u]=new e(this,u,d));return this},c.prototype.removeAttribute=function(u){var d,f,h;if(u==null)throw new Error("Missing attribute name. "+this.debugInfo());if(u=n(u),Array.isArray(u))for(f=0,h=u.length;f0&&this.parent.children[y-1].isDummy;)y=y-1;if(y<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[y-1]},p.prototype.next=function(){var y;for(y=this.parent.children.indexOf(this);y":(g=this.parent)!=null&&g.name?"node: <"+y+">, parent: <"+this.parent.name+">":"node: <"+y+">"},p.prototype.ele=function(y,m,g){return this.element(y,m,g)},p.prototype.nod=function(y,m,g){return this.node(y,m,g)},p.prototype.txt=function(y){return this.text(y)},p.prototype.dat=function(y){return this.cdata(y)},p.prototype.com=function(y){return this.comment(y)},p.prototype.ins=function(y,m){return this.instruction(y,m)},p.prototype.doc=function(){return this.document()},p.prototype.dec=function(y,m,g){return this.declaration(y,m,g)},p.prototype.dtd=function(y,m){return this.doctype(y,m)},p.prototype.e=function(y,m,g){return this.element(y,m,g)},p.prototype.n=function(y,m,g){return this.node(y,m,g)},p.prototype.t=function(y){return this.text(y)},p.prototype.d=function(y){return this.cdata(y)},p.prototype.c=function(y){return this.comment(y)},p.prototype.r=function(y){return this.raw(y)},p.prototype.i=function(y,m){return this.instruction(y,m)},p.prototype.u=function(){return this.up()},p.prototype.importXMLBuilder=function(y){return this.importDocument(y)},p}()}).call(Ke)),b1.exports}var O1={exports:{}},C8;function rU(){return C8||(C8=1,(function(){var e=function(n,r){return function(){return n.apply(r,arguments)}},t={}.hasOwnProperty;O1.exports=function(){function n(r){this.assertLegalChar=e(this.assertLegalChar,this);var i,a,o;r||(r={}),this.noDoubleEncoding=r.noDoubleEncoding,a=r.stringify||{};for(i in a)t.call(a,i)&&(o=a[i],this[i]=o)}return n.prototype.eleName=function(r){return r=""+r||"",this.assertLegalChar(r)},n.prototype.eleText=function(r){return r=""+r||"",this.assertLegalChar(this.elEscape(r))},n.prototype.cdata=function(r){return r=""+r||"",r=r.replace("]]>","]]]]>"),this.assertLegalChar(r)},n.prototype.comment=function(r){if(r=""+r||"",r.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+r);return this.assertLegalChar(r)},n.prototype.raw=function(r){return""+r||""},n.prototype.attName=function(r){return r=""+r||""},n.prototype.attValue=function(r){return r=""+r||"",this.attEscape(r)},n.prototype.insTarget=function(r){return""+r||""},n.prototype.insValue=function(r){if(r=""+r||"",r.match(/\?>/))throw new Error("Invalid processing instruction value: "+r);return r},n.prototype.xmlVersion=function(r){if(r=""+r||"",!r.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+r);return r},n.prototype.xmlEncoding=function(r){if(r=""+r||"",!r.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+r);return r},n.prototype.xmlStandalone=function(r){return r?"yes":"no"},n.prototype.dtdPubID=function(r){return""+r||""},n.prototype.dtdSysID=function(r){return""+r||""},n.prototype.dtdElementValue=function(r){return""+r||""},n.prototype.dtdAttType=function(r){return""+r||""},n.prototype.dtdAttDefault=function(r){return r!=null?""+r||"":r},n.prototype.dtdEntityValue=function(r){return""+r||""},n.prototype.dtdNData=function(r){return""+r||""},n.prototype.convertAttKey="@",n.prototype.convertPIKey="?",n.prototype.convertTextKey="#text",n.prototype.convertCDataKey="#cdata",n.prototype.convertCommentKey="#comment",n.prototype.convertRawKey="#raw",n.prototype.assertLegalChar=function(r){var i;if(i=r.match(/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),i)throw new Error("Invalid character in string: "+r+" at index "+i.index);return r},n.prototype.elEscape=function(r){var i;return i=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,r.replace(i,"&").replace(//g,">").replace(/\r/g," ")},n.prototype.attEscape=function(r){var i;return i=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,r.replace(i,"&").replace(/0?new Array(r).join(this.indent):""):""},t}()}).call(Ke)),P1.exports}var U8;function d4(){return U8||(U8=1,(function(){var e,t,n,r,i,a,o,s,l,c,u,d,f,h,v=function(y,m){for(var g in m)p.call(m,g)&&(y[g]=m[g]);function b(){this.constructor=y}return b.prototype=m.prototype,y.prototype=new b,y.__super__=m.prototype,y},p={}.hasOwnProperty;o=Zp(),s=im(),e=Jp(),t=Qp(),c=Yp(),d=am(),f=om(),u=sm(),l=u4(),n=em(),r=nm(),i=tm(),a=rm(),h=iU(),I1.exports=function(y){v(m,y);function m(g){m.__super__.constructor.call(this,g)}return m.prototype.document=function(g){var b,x,D,w,_;for(this.textispresent=!1,w="",_=g.children,x=0,D=_.length;x"+this.newline},m.prototype.comment=function(g,b){return this.space(b)+""+this.newline},m.prototype.declaration=function(g,b){var x;return x=this.space(b),x+='",x+=this.newline,x},m.prototype.docType=function(g,b){var x,D,w,_,N;if(b||(b=0),_=this.space(b),_+="0){for(_+=" [",_+=this.newline,N=g.children,D=0,w=N.length;D",_+=this.newline,_},m.prototype.element=function(g,b){var x,D,w,_,N,O,B,K,A,q,T,X,j;b||(b=0),j=!1,this.textispresent?(this.newline="",this.pretty=!1):(this.newline=this.newlinedefault,this.pretty=this.prettydefault),X=this.space(b),K="",K+=X+"<"+g.name,A=g.attributes;for(B in A)p.call(A,B)&&(x=A[B],K+=this.attribute(x));if(g.children.length===0||g.children.every(function(z){return z.value===""}))this.allowEmpty?K+=">"+this.newline:K+=this.spacebeforeslash+"/>"+this.newline;else if(this.pretty&&g.children.length===1&&g.children[0].value!=null)K+=">",K+=g.children[0].value,K+=""+this.newline;else{if(this.dontprettytextnodes){for(q=g.children,w=0,N=q.length;w"+this.newline,T=g.children,_=0,O=T.length;_"+this.newline}return K},m.prototype.processingInstruction=function(g,b){var x;return x=this.space(b)+""+this.newline,x},m.prototype.raw=function(g,b){return this.space(b)+g.value+this.newline},m.prototype.text=function(g,b){return this.space(b)+g.value+this.newline},m.prototype.dtdAttList=function(g,b){var x;return x=this.space(b)+""+this.newline,x},m.prototype.dtdElement=function(g,b){return this.space(b)+""+this.newline},m.prototype.dtdEntity=function(g,b){var x;return x=this.space(b)+""+this.newline,x},m.prototype.dtdNotation=function(g,b){var x;return x=this.space(b)+""+this.newline,x},m.prototype.openNode=function(g,b){var x,D,w,_;if(b||(b=0),g instanceof c){w=this.space(b)+"<"+g.name,_=g.attributes;for(D in _)p.call(_,D)&&(x=_[D],w+=this.attribute(x));return w+=(g.children?">":"/>")+this.newline,w}else return w=this.space(b)+"")+this.newline,w},m.prototype.closeNode=function(g,b){switch(b||(b=0),!1){case!(g instanceof c):return this.space(b)+""+this.newline;case!(g instanceof s):return this.space(b)+"]>"+this.newline}},m}(h)}).call(Ke)),I1.exports}var F8;function cY(){return F8||(F8=1,(function(){var e,t,n,r,i=function(o,s){for(var l in s)a.call(s,l)&&(o[l]=s[l]);function c(){this.constructor=o}return c.prototype=s.prototype,o.prototype=new c,o.__super__=s.prototype,o},a={}.hasOwnProperty;r=Wo().isPlainObject,e=ur(),n=rU(),t=d4(),y1.exports=function(o){i(s,o);function s(l){s.__super__.constructor.call(this,null),this.name="?xml",l||(l={}),l.writer||(l.writer=new t),this.options=l,this.stringify=new n(l),this.isDocument=!0}return s.prototype.end=function(l){var c;return l?r(l)&&(c=l,l=this.options.writer.set(c)):l=this.options.writer,l.document(this)},s.prototype.toString=function(l){return this.options.writer.set(l).document(this)},s}(e)}).call(Ke)),y1.exports}var B1={exports:{}},R8;function uY(){return R8||(R8=1,(function(){var e,t,n,r,i,a,o,s,l,c,u,d,f,h,v,p,y,m,g,b,x={}.hasOwnProperty;b=Wo(),m=b.isObject,y=b.isFunction,g=b.isPlainObject,p=b.getValue,c=Yp(),t=Jp(),n=Qp(),d=am(),v=om(),u=sm(),s=Zp(),l=im(),r=em(),a=tm(),i=nm(),o=rm(),e=nU(),h=rU(),f=d4(),B1.exports=function(){function D(w,_,N){var O;this.name="?xml",w||(w={}),w.writer?g(w.writer)&&(O=w.writer,w.writer=new f(O)):w.writer=new f(w),this.options=w,this.writer=w.writer,this.stringify=new h(w),this.onDataCallback=_||function(){},this.onEndCallback=N||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return D.prototype.node=function(w,_,N){var O,B;if(w==null)throw new Error("Missing node name.");if(this.root&&this.currentLevel===-1)throw new Error("Document can only have one root node. "+this.debugInfo(w));return this.openCurrent(),w=p(w),_===null&&N==null&&(O=[{},null],_=O[0],N=O[1]),_==null&&(_={}),_=p(_),m(_)||(B=[_,N],N=B[0],_=B[1]),this.currentNode=new c(this,w,_),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,N!=null&&this.text(N),this},D.prototype.element=function(w,_,N){return this.currentNode&&this.currentNode instanceof l?this.dtdElement.apply(this,arguments):this.node(w,_,N)},D.prototype.attribute=function(w,_){var N,O;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(w));if(w!=null&&(w=p(w)),m(w))for(N in w)x.call(w,N)&&(O=w[N],this.attribute(N,O));else y(_)&&(_=_.apply()),(!this.options.skipNullAttributes||_!=null)&&(this.currentNode.attributes[w]=new e(this,w,_));return this},D.prototype.text=function(w){var _;return this.openCurrent(),_=new v(this,w),this.onData(this.writer.text(_,this.currentLevel+1),this.currentLevel+1),this},D.prototype.cdata=function(w){var _;return this.openCurrent(),_=new t(this,w),this.onData(this.writer.cdata(_,this.currentLevel+1),this.currentLevel+1),this},D.prototype.comment=function(w){var _;return this.openCurrent(),_=new n(this,w),this.onData(this.writer.comment(_,this.currentLevel+1),this.currentLevel+1),this},D.prototype.raw=function(w){var _;return this.openCurrent(),_=new d(this,w),this.onData(this.writer.raw(_,this.currentLevel+1),this.currentLevel+1),this},D.prototype.instruction=function(w,_){var N,O,B,K,A;if(this.openCurrent(),w!=null&&(w=p(w)),_!=null&&(_=p(_)),Array.isArray(w))for(N=0,K=w.length;N=0;)this.up();return this.onEnd()},D.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},D.prototype.openNode=function(w){if(!w.isOpen)return!this.root&&this.currentLevel===0&&w instanceof c&&(this.root=w),this.onData(this.writer.openNode(w,this.currentLevel),this.currentLevel),w.isOpen=!0},D.prototype.closeNode=function(w){if(!w.isClosed)return this.onData(this.writer.closeNode(w,this.currentLevel),this.currentLevel),w.isClosed=!0},D.prototype.onData=function(w,_){return this.documentStarted=!0,this.onDataCallback(w,_+1)},D.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},D.prototype.debugInfo=function(w){return w==null?"":"node: <"+w+">"},D.prototype.ele=function(){return this.element.apply(this,arguments)},D.prototype.nod=function(w,_,N){return this.node(w,_,N)},D.prototype.txt=function(w){return this.text(w)},D.prototype.dat=function(w){return this.cdata(w)},D.prototype.com=function(w){return this.comment(w)},D.prototype.ins=function(w,_){return this.instruction(w,_)},D.prototype.dec=function(w,_,N){return this.declaration(w,_,N)},D.prototype.dtd=function(w,_,N){return this.doctype(w,_,N)},D.prototype.e=function(w,_,N){return this.element(w,_,N)},D.prototype.n=function(w,_,N){return this.node(w,_,N)},D.prototype.t=function(w){return this.text(w)},D.prototype.d=function(w){return this.cdata(w)},D.prototype.c=function(w){return this.comment(w)},D.prototype.r=function(w){return this.raw(w)},D.prototype.i=function(w,_){return this.instruction(w,_)},D.prototype.att=function(){return this.currentNode&&this.currentNode instanceof l?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},D.prototype.a=function(){return this.currentNode&&this.currentNode instanceof l?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},D.prototype.ent=function(w,_){return this.entity(w,_)},D.prototype.pent=function(w,_){return this.pEntity(w,_)},D.prototype.not=function(w,_){return this.notation(w,_)},D}()}).call(Ke)),B1.exports}var M1={exports:{}},N8;function dY(){return N8||(N8=1,(function(){var e,t,n,r,i,a,o,s,l,c,u,d,f,h,v=function(y,m){for(var g in m)p.call(m,g)&&(y[g]=m[g]);function b(){this.constructor=y}return b.prototype=m.prototype,y.prototype=new b,y.__super__=m.prototype,y},p={}.hasOwnProperty;o=Zp(),s=im(),e=Jp(),t=Qp(),c=Yp(),d=am(),f=om(),u=sm(),l=u4(),n=em(),r=nm(),i=tm(),a=rm(),h=iU(),M1.exports=function(y){v(m,y);function m(g,b){m.__super__.constructor.call(this,b),this.stream=g}return m.prototype.document=function(g){var b,x,D,w,_,N,O,B;for(N=g.children,x=0,w=N.length;x"+this.endline(g))},m.prototype.comment=function(g,b){return this.stream.write(this.space(b)+""+this.endline(g))},m.prototype.declaration=function(g,b){return this.stream.write(this.space(b)),this.stream.write('"),this.stream.write(this.endline(g))},m.prototype.docType=function(g,b){var x,D,w,_;if(b||(b=0),this.stream.write(this.space(b)),this.stream.write("0){for(this.stream.write(" ["),this.stream.write(this.endline(g)),_=g.children,D=0,w=_.length;D"),this.stream.write(this.endline(g))},m.prototype.element=function(g,b){var x,D,w,_,N,O,B,K;b||(b=0),K=this.space(b),this.stream.write(K+"<"+g.name),O=g.attributes;for(N in O)p.call(O,N)&&(x=O[N],this.attribute(x));if(g.children.length===0||g.children.every(function(A){return A.value===""}))this.allowEmpty?this.stream.write(">"):this.stream.write(this.spacebeforeslash+"/>");else if(this.pretty&&g.children.length===1&&g.children[0].value!=null)this.stream.write(">"),this.stream.write(g.children[0].value),this.stream.write("");else{for(this.stream.write(">"+this.newline),B=g.children,w=0,_=B.length;w<_;w++)switch(D=B[w],!1){case!(D instanceof e):this.cdata(D,b+1);break;case!(D instanceof t):this.comment(D,b+1);break;case!(D instanceof c):this.element(D,b+1);break;case!(D instanceof d):this.raw(D,b+1);break;case!(D instanceof f):this.text(D,b+1);break;case!(D instanceof u):this.processingInstruction(D,b+1);break;case!(D instanceof l):break;default:throw new Error("Unknown XML node type: "+D.constructor.name)}this.stream.write(K+"")}return this.stream.write(this.endline(g))},m.prototype.processingInstruction=function(g,b){return this.stream.write(this.space(b)+""+this.endline(g))},m.prototype.raw=function(g,b){return this.stream.write(this.space(b)+g.value+this.endline(g))},m.prototype.text=function(g,b){return this.stream.write(this.space(b)+g.value+this.endline(g))},m.prototype.dtdAttList=function(g,b){return this.stream.write(this.space(b)+""+this.endline(g))},m.prototype.dtdElement=function(g,b){return this.stream.write(this.space(b)+""+this.endline(g))},m.prototype.dtdEntity=function(g,b){return this.stream.write(this.space(b)+""+this.endline(g))},m.prototype.dtdNotation=function(g,b){return this.stream.write(this.space(b)+""+this.endline(g))},m.prototype.endline=function(g){return g.isLastRootNode?"":this.newline},m}(h)}).call(Ke)),M1.exports}(function(){var e,t,n,r,i,a,o;o=Wo(),i=o.assign,a=o.isFunction,e=cY(),t=uY(),r=d4(),n=dY(),vu.create=function(s,l,c,u){var d,f;if(s==null)throw new Error("Root element needs a name.");return u=i({},l,c,u),d=new e(u),f=d.element(s),u.headless||(d.declaration(u),(u.pubID!=null||u.sysID!=null)&&d.doctype(u)),f},vu.begin=function(s,l,c){var u;return a(s)&&(u=[s,l],l=u[0],c=u[1],s={}),l?new t(s,l,c):new e(s)},vu.stringWriter=function(s){return new r(s)},vu.streamWriter=function(s,l){return new n(s,l)}}).call(Ke);var O8=Gt,hY=vu;tU.writeString=fY;function fY(e,t){var n=O8.invert(t),r={element:a,text:pY};function i(l,c){return r[c.type](l,c)}function a(l,c){var u=l.element(o(c.name),c.attributes);c.children.forEach(function(d){i(u,d)})}function o(l){var c=/^\{(.*)\}(.*)$/.exec(l);if(c){var u=n[c[1]];return u+(u===""?"":":")+c[2]}else return l}function s(l){var c=hY.create(o(l.name),{version:"1.0",encoding:"UTF-8",standalone:!0});return O8.forEach(t,function(u,d){var f="xmlns"+(d===""?"":":"+d);c.attribute(f,u)}),l.children.forEach(function(u){i(c,u)}),c.end()}return s(e)}function pY(e,t){e.text(t.value)}var lm=Mc;Ca.Element=lm.Element;Ca.element=lm.element;Ca.emptyElement=lm.emptyElement;Ca.text=lm.text;Ca.readString=_A.readString;Ca.writeString=tU.writeString;var mY=Gt,gY=fn,vY=Ca;Kx.read=aU;Kx.readXmlFromZipFile=bY;var yY={"http://schemas.openxmlformats.org/wordprocessingml/2006/main":"w","http://schemas.openxmlformats.org/officeDocument/2006/relationships":"r","http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing":"wp","http://schemas.openxmlformats.org/drawingml/2006/main":"a","http://schemas.openxmlformats.org/drawingml/2006/picture":"pic","http://purl.oclc.org/ooxml/wordprocessingml/main":"w","http://purl.oclc.org/ooxml/officeDocument/relationships":"r","http://purl.oclc.org/ooxml/drawingml/wordprocessingDrawing":"wp","http://purl.oclc.org/ooxml/drawingml/main":"a","http://purl.oclc.org/ooxml/drawingml/picture":"pic","http://schemas.openxmlformats.org/package/2006/content-types":"content-types","http://schemas.openxmlformats.org/package/2006/relationships":"relationships","http://schemas.openxmlformats.org/markup-compatibility/2006":"mc","urn:schemas-microsoft-com:vml":"v","urn:schemas-microsoft-com:office:word":"office-word","http://schemas.microsoft.com/office/word/2010/wordml":"wordml"};function aU(e){return vY.readString(e,yY).then(function(t){return oU(t)[0]})}function bY(e,t){return e.exists(t)?e.read(t,"utf-8").then(xY).then(aU):gY.resolve(null)}function xY(e){return e.replace(/^\uFEFF/g,"")}function oU(e){return e.type==="element"?e.name==="mc:AlternateContent"?e.firstOrEmpty("mc:Fallback").children:(e.children=mY.flatten(e.children.map(oU,!0)),[e]):[e]}var h4={},Do={},f4={};Object.defineProperty(f4,"__esModule",{value:!0});var wY=[{"Typeface name":"Symbol","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Symbol","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"33","Unicode hex":"21"},{"Typeface name":"Symbol","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"8704","Unicode hex":"2200"},{"Typeface name":"Symbol","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"35","Unicode hex":"23"},{"Typeface name":"Symbol","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"8707","Unicode hex":"2203"},{"Typeface name":"Symbol","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"37","Unicode hex":"25"},{"Typeface name":"Symbol","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"38","Unicode hex":"26"},{"Typeface name":"Symbol","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"8717","Unicode hex":"220D"},{"Typeface name":"Symbol","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"40","Unicode hex":"28"},{"Typeface name":"Symbol","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"41","Unicode hex":"29"},{"Typeface name":"Symbol","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"42","Unicode hex":"2A"},{"Typeface name":"Symbol","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"43","Unicode hex":"2B"},{"Typeface name":"Symbol","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"44","Unicode hex":"2C"},{"Typeface name":"Symbol","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"8722","Unicode hex":"2212"},{"Typeface name":"Symbol","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"46","Unicode hex":"2E"},{"Typeface name":"Symbol","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"47","Unicode hex":"2F"},{"Typeface name":"Symbol","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"48","Unicode hex":"30"},{"Typeface name":"Symbol","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"49","Unicode hex":"31"},{"Typeface name":"Symbol","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"50","Unicode hex":"32"},{"Typeface name":"Symbol","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"51","Unicode hex":"33"},{"Typeface name":"Symbol","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"52","Unicode hex":"34"},{"Typeface name":"Symbol","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"53","Unicode hex":"35"},{"Typeface name":"Symbol","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"54","Unicode hex":"36"},{"Typeface name":"Symbol","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"55","Unicode hex":"37"},{"Typeface name":"Symbol","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"56","Unicode hex":"38"},{"Typeface name":"Symbol","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"57","Unicode hex":"39"},{"Typeface name":"Symbol","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"58","Unicode hex":"3A"},{"Typeface name":"Symbol","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"59","Unicode hex":"3B"},{"Typeface name":"Symbol","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"60","Unicode hex":"3C"},{"Typeface name":"Symbol","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"61","Unicode hex":"3D"},{"Typeface name":"Symbol","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"62","Unicode hex":"3E"},{"Typeface name":"Symbol","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"63","Unicode hex":"3F"},{"Typeface name":"Symbol","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"8773","Unicode hex":"2245"},{"Typeface name":"Symbol","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"913","Unicode hex":"391"},{"Typeface name":"Symbol","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"914","Unicode hex":"392"},{"Typeface name":"Symbol","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"935","Unicode hex":"3A7"},{"Typeface name":"Symbol","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"916","Unicode hex":"394"},{"Typeface name":"Symbol","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"917","Unicode hex":"395"},{"Typeface name":"Symbol","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"934","Unicode hex":"3A6"},{"Typeface name":"Symbol","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"915","Unicode hex":"393"},{"Typeface name":"Symbol","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"919","Unicode hex":"397"},{"Typeface name":"Symbol","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"921","Unicode hex":"399"},{"Typeface name":"Symbol","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"977","Unicode hex":"3D1"},{"Typeface name":"Symbol","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"922","Unicode hex":"39A"},{"Typeface name":"Symbol","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"923","Unicode hex":"39B"},{"Typeface name":"Symbol","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"924","Unicode hex":"39C"},{"Typeface name":"Symbol","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"925","Unicode hex":"39D"},{"Typeface name":"Symbol","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"927","Unicode hex":"39F"},{"Typeface name":"Symbol","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"928","Unicode hex":"3A0"},{"Typeface name":"Symbol","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"920","Unicode hex":"398"},{"Typeface name":"Symbol","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"929","Unicode hex":"3A1"},{"Typeface name":"Symbol","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"931","Unicode hex":"3A3"},{"Typeface name":"Symbol","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"932","Unicode hex":"3A4"},{"Typeface name":"Symbol","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"933","Unicode hex":"3A5"},{"Typeface name":"Symbol","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"962","Unicode hex":"3C2"},{"Typeface name":"Symbol","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"937","Unicode hex":"3A9"},{"Typeface name":"Symbol","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"926","Unicode hex":"39E"},{"Typeface name":"Symbol","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"936","Unicode hex":"3A8"},{"Typeface name":"Symbol","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"918","Unicode hex":"396"},{"Typeface name":"Symbol","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"91","Unicode hex":"5B"},{"Typeface name":"Symbol","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"8756","Unicode hex":"2234"},{"Typeface name":"Symbol","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"93","Unicode hex":"5D"},{"Typeface name":"Symbol","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"8869","Unicode hex":"22A5"},{"Typeface name":"Symbol","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"95","Unicode hex":"5F"},{"Typeface name":"Symbol","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"8254","Unicode hex":"203E"},{"Typeface name":"Symbol","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"945","Unicode hex":"3B1"},{"Typeface name":"Symbol","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"946","Unicode hex":"3B2"},{"Typeface name":"Symbol","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"967","Unicode hex":"3C7"},{"Typeface name":"Symbol","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"948","Unicode hex":"3B4"},{"Typeface name":"Symbol","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"949","Unicode hex":"3B5"},{"Typeface name":"Symbol","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"966","Unicode hex":"3C6"},{"Typeface name":"Symbol","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"947","Unicode hex":"3B3"},{"Typeface name":"Symbol","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"951","Unicode hex":"3B7"},{"Typeface name":"Symbol","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"953","Unicode hex":"3B9"},{"Typeface name":"Symbol","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"981","Unicode hex":"3D5"},{"Typeface name":"Symbol","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"954","Unicode hex":"3BA"},{"Typeface name":"Symbol","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"955","Unicode hex":"3BB"},{"Typeface name":"Symbol","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"956","Unicode hex":"3BC"},{"Typeface name":"Symbol","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"957","Unicode hex":"3BD"},{"Typeface name":"Symbol","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"959","Unicode hex":"3BF"},{"Typeface name":"Symbol","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"960","Unicode hex":"3C0"},{"Typeface name":"Symbol","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"952","Unicode hex":"3B8"},{"Typeface name":"Symbol","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"961","Unicode hex":"3C1"},{"Typeface name":"Symbol","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"963","Unicode hex":"3C3"},{"Typeface name":"Symbol","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"964","Unicode hex":"3C4"},{"Typeface name":"Symbol","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"965","Unicode hex":"3C5"},{"Typeface name":"Symbol","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"982","Unicode hex":"3D6"},{"Typeface name":"Symbol","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"969","Unicode hex":"3C9"},{"Typeface name":"Symbol","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"958","Unicode hex":"3BE"},{"Typeface name":"Symbol","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"968","Unicode hex":"3C8"},{"Typeface name":"Symbol","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"950","Unicode hex":"3B6"},{"Typeface name":"Symbol","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"123","Unicode hex":"7B"},{"Typeface name":"Symbol","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"124","Unicode hex":"7C"},{"Typeface name":"Symbol","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"125","Unicode hex":"7D"},{"Typeface name":"Symbol","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"126","Unicode hex":"7E"},{"Typeface name":"Symbol","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"8364","Unicode hex":"20AC"},{"Typeface name":"Symbol","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"978","Unicode hex":"3D2"},{"Typeface name":"Symbol","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"8242","Unicode hex":"2032"},{"Typeface name":"Symbol","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"8804","Unicode hex":"2264"},{"Typeface name":"Symbol","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"8260","Unicode hex":"2044"},{"Typeface name":"Symbol","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"8734","Unicode hex":"221E"},{"Typeface name":"Symbol","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"402","Unicode hex":"192"},{"Typeface name":"Symbol","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"9827","Unicode hex":"2663"},{"Typeface name":"Symbol","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"9830","Unicode hex":"2666"},{"Typeface name":"Symbol","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"9829","Unicode hex":"2665"},{"Typeface name":"Symbol","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"9824","Unicode hex":"2660"},{"Typeface name":"Symbol","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"8596","Unicode hex":"2194"},{"Typeface name":"Symbol","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"8592","Unicode hex":"2190"},{"Typeface name":"Symbol","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"8593","Unicode hex":"2191"},{"Typeface name":"Symbol","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"8594","Unicode hex":"2192"},{"Typeface name":"Symbol","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"8595","Unicode hex":"2193"},{"Typeface name":"Symbol","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"176","Unicode hex":"B0"},{"Typeface name":"Symbol","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"177","Unicode hex":"B1"},{"Typeface name":"Symbol","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"8243","Unicode hex":"2033"},{"Typeface name":"Symbol","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"8805","Unicode hex":"2265"},{"Typeface name":"Symbol","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"215","Unicode hex":"D7"},{"Typeface name":"Symbol","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"8733","Unicode hex":"221D"},{"Typeface name":"Symbol","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"8706","Unicode hex":"2202"},{"Typeface name":"Symbol","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"8226","Unicode hex":"2022"},{"Typeface name":"Symbol","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"247","Unicode hex":"F7"},{"Typeface name":"Symbol","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"8800","Unicode hex":"2260"},{"Typeface name":"Symbol","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"8801","Unicode hex":"2261"},{"Typeface name":"Symbol","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"8776","Unicode hex":"2248"},{"Typeface name":"Symbol","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"8230","Unicode hex":"2026"},{"Typeface name":"Symbol","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"9168","Unicode hex":"23D0"},{"Typeface name":"Symbol","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"9135","Unicode hex":"23AF"},{"Typeface name":"Symbol","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"8629","Unicode hex":"21B5"},{"Typeface name":"Symbol","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"8501","Unicode hex":"2135"},{"Typeface name":"Symbol","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"8465","Unicode hex":"2111"},{"Typeface name":"Symbol","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"8476","Unicode hex":"211C"},{"Typeface name":"Symbol","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"8472","Unicode hex":"2118"},{"Typeface name":"Symbol","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"8855","Unicode hex":"2297"},{"Typeface name":"Symbol","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"8853","Unicode hex":"2295"},{"Typeface name":"Symbol","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"8709","Unicode hex":"2205"},{"Typeface name":"Symbol","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"8745","Unicode hex":"2229"},{"Typeface name":"Symbol","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"8746","Unicode hex":"222A"},{"Typeface name":"Symbol","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"8835","Unicode hex":"2283"},{"Typeface name":"Symbol","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"8839","Unicode hex":"2287"},{"Typeface name":"Symbol","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"8836","Unicode hex":"2284"},{"Typeface name":"Symbol","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"8834","Unicode hex":"2282"},{"Typeface name":"Symbol","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"8838","Unicode hex":"2286"},{"Typeface name":"Symbol","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"8712","Unicode hex":"2208"},{"Typeface name":"Symbol","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"8713","Unicode hex":"2209"},{"Typeface name":"Symbol","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"8736","Unicode hex":"2220"},{"Typeface name":"Symbol","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"8711","Unicode hex":"2207"},{"Typeface name":"Symbol","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"174","Unicode hex":"AE"},{"Typeface name":"Symbol","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"169","Unicode hex":"A9"},{"Typeface name":"Symbol","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"8482","Unicode hex":"2122"},{"Typeface name":"Symbol","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"8719","Unicode hex":"220F"},{"Typeface name":"Symbol","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"8730","Unicode hex":"221A"},{"Typeface name":"Symbol","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"8901","Unicode hex":"22C5"},{"Typeface name":"Symbol","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"172","Unicode hex":"AC"},{"Typeface name":"Symbol","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"8743","Unicode hex":"2227"},{"Typeface name":"Symbol","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"8744","Unicode hex":"2228"},{"Typeface name":"Symbol","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"8660","Unicode hex":"21D4"},{"Typeface name":"Symbol","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"8656","Unicode hex":"21D0"},{"Typeface name":"Symbol","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"8657","Unicode hex":"21D1"},{"Typeface name":"Symbol","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"8658","Unicode hex":"21D2"},{"Typeface name":"Symbol","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"8659","Unicode hex":"21D3"},{"Typeface name":"Symbol","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"9674","Unicode hex":"25CA"},{"Typeface name":"Symbol","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"12296","Unicode hex":"3008"},{"Typeface name":"Symbol","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"174","Unicode hex":"AE"},{"Typeface name":"Symbol","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"169","Unicode hex":"A9"},{"Typeface name":"Symbol","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"8482","Unicode hex":"2122"},{"Typeface name":"Symbol","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"8721","Unicode hex":"2211"},{"Typeface name":"Symbol","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"9115","Unicode hex":"239B"},{"Typeface name":"Symbol","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"9116","Unicode hex":"239C"},{"Typeface name":"Symbol","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"9117","Unicode hex":"239D"},{"Typeface name":"Symbol","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"9121","Unicode hex":"23A1"},{"Typeface name":"Symbol","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"9122","Unicode hex":"23A2"},{"Typeface name":"Symbol","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"9123","Unicode hex":"23A3"},{"Typeface name":"Symbol","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"9127","Unicode hex":"23A7"},{"Typeface name":"Symbol","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"9128","Unicode hex":"23A8"},{"Typeface name":"Symbol","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"9129","Unicode hex":"23A9"},{"Typeface name":"Symbol","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"9130","Unicode hex":"23AA"},{"Typeface name":"Symbol","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"63743","Unicode hex":"F8FF"},{"Typeface name":"Symbol","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"12297","Unicode hex":"3009"},{"Typeface name":"Symbol","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"8747","Unicode hex":"222B"},{"Typeface name":"Symbol","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"8992","Unicode hex":"2320"},{"Typeface name":"Symbol","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"9134","Unicode hex":"23AE"},{"Typeface name":"Symbol","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"8993","Unicode hex":"2321"},{"Typeface name":"Symbol","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"9118","Unicode hex":"239E"},{"Typeface name":"Symbol","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"9119","Unicode hex":"239F"},{"Typeface name":"Symbol","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"9120","Unicode hex":"23A0"},{"Typeface name":"Symbol","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"9124","Unicode hex":"23A4"},{"Typeface name":"Symbol","Dingbat dec":"250","Dingbat hex":"FA","Unicode dec":"9125","Unicode hex":"23A5"},{"Typeface name":"Symbol","Dingbat dec":"251","Dingbat hex":"FB","Unicode dec":"9126","Unicode hex":"23A6"},{"Typeface name":"Symbol","Dingbat dec":"252","Dingbat hex":"FC","Unicode dec":"9131","Unicode hex":"23AB"},{"Typeface name":"Symbol","Dingbat dec":"253","Dingbat hex":"FD","Unicode dec":"9132","Unicode hex":"23AC"},{"Typeface name":"Symbol","Dingbat dec":"254","Dingbat hex":"FE","Unicode dec":"9133","Unicode hex":"23AD"},{"Typeface name":"Webdings","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Webdings","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"128375","Unicode hex":"1F577"},{"Typeface name":"Webdings","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"128376","Unicode hex":"1F578"},{"Typeface name":"Webdings","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"128370","Unicode hex":"1F572"},{"Typeface name":"Webdings","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"128374","Unicode hex":"1F576"},{"Typeface name":"Webdings","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"127942","Unicode hex":"1F3C6"},{"Typeface name":"Webdings","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"127894","Unicode hex":"1F396"},{"Typeface name":"Webdings","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"128391","Unicode hex":"1F587"},{"Typeface name":"Webdings","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"128488","Unicode hex":"1F5E8"},{"Typeface name":"Webdings","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"128489","Unicode hex":"1F5E9"},{"Typeface name":"Webdings","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"128496","Unicode hex":"1F5F0"},{"Typeface name":"Webdings","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"128497","Unicode hex":"1F5F1"},{"Typeface name":"Webdings","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"127798","Unicode hex":"1F336"},{"Typeface name":"Webdings","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"127895","Unicode hex":"1F397"},{"Typeface name":"Webdings","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"128638","Unicode hex":"1F67E"},{"Typeface name":"Webdings","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"128636","Unicode hex":"1F67C"},{"Typeface name":"Webdings","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"128469","Unicode hex":"1F5D5"},{"Typeface name":"Webdings","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"128470","Unicode hex":"1F5D6"},{"Typeface name":"Webdings","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"128471","Unicode hex":"1F5D7"},{"Typeface name":"Webdings","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"9204","Unicode hex":"23F4"},{"Typeface name":"Webdings","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"9205","Unicode hex":"23F5"},{"Typeface name":"Webdings","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"9206","Unicode hex":"23F6"},{"Typeface name":"Webdings","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"9207","Unicode hex":"23F7"},{"Typeface name":"Webdings","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"9194","Unicode hex":"23EA"},{"Typeface name":"Webdings","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"9193","Unicode hex":"23E9"},{"Typeface name":"Webdings","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"9198","Unicode hex":"23EE"},{"Typeface name":"Webdings","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"9197","Unicode hex":"23ED"},{"Typeface name":"Webdings","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"9208","Unicode hex":"23F8"},{"Typeface name":"Webdings","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"9209","Unicode hex":"23F9"},{"Typeface name":"Webdings","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"9210","Unicode hex":"23FA"},{"Typeface name":"Webdings","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"128474","Unicode hex":"1F5DA"},{"Typeface name":"Webdings","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"128499","Unicode hex":"1F5F3"},{"Typeface name":"Webdings","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"128736","Unicode hex":"1F6E0"},{"Typeface name":"Webdings","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"127959","Unicode hex":"1F3D7"},{"Typeface name":"Webdings","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"127960","Unicode hex":"1F3D8"},{"Typeface name":"Webdings","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"127961","Unicode hex":"1F3D9"},{"Typeface name":"Webdings","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"127962","Unicode hex":"1F3DA"},{"Typeface name":"Webdings","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"127964","Unicode hex":"1F3DC"},{"Typeface name":"Webdings","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"127981","Unicode hex":"1F3ED"},{"Typeface name":"Webdings","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"127963","Unicode hex":"1F3DB"},{"Typeface name":"Webdings","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"127968","Unicode hex":"1F3E0"},{"Typeface name":"Webdings","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"127958","Unicode hex":"1F3D6"},{"Typeface name":"Webdings","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"127965","Unicode hex":"1F3DD"},{"Typeface name":"Webdings","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"128739","Unicode hex":"1F6E3"},{"Typeface name":"Webdings","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"128269","Unicode hex":"1F50D"},{"Typeface name":"Webdings","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"127956","Unicode hex":"1F3D4"},{"Typeface name":"Webdings","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"128065","Unicode hex":"1F441"},{"Typeface name":"Webdings","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"128066","Unicode hex":"1F442"},{"Typeface name":"Webdings","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"127966","Unicode hex":"1F3DE"},{"Typeface name":"Webdings","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"127957","Unicode hex":"1F3D5"},{"Typeface name":"Webdings","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"128740","Unicode hex":"1F6E4"},{"Typeface name":"Webdings","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"127967","Unicode hex":"1F3DF"},{"Typeface name":"Webdings","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"128755","Unicode hex":"1F6F3"},{"Typeface name":"Webdings","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"128364","Unicode hex":"1F56C"},{"Typeface name":"Webdings","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"128363","Unicode hex":"1F56B"},{"Typeface name":"Webdings","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"128360","Unicode hex":"1F568"},{"Typeface name":"Webdings","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"128264","Unicode hex":"1F508"},{"Typeface name":"Webdings","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"127892","Unicode hex":"1F394"},{"Typeface name":"Webdings","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"127893","Unicode hex":"1F395"},{"Typeface name":"Webdings","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"128492","Unicode hex":"1F5EC"},{"Typeface name":"Webdings","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"128637","Unicode hex":"1F67D"},{"Typeface name":"Webdings","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"128493","Unicode hex":"1F5ED"},{"Typeface name":"Webdings","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"128490","Unicode hex":"1F5EA"},{"Typeface name":"Webdings","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"128491","Unicode hex":"1F5EB"},{"Typeface name":"Webdings","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"11156","Unicode hex":"2B94"},{"Typeface name":"Webdings","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"10004","Unicode hex":"2714"},{"Typeface name":"Webdings","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"128690","Unicode hex":"1F6B2"},{"Typeface name":"Webdings","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"11036","Unicode hex":"2B1C"},{"Typeface name":"Webdings","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"128737","Unicode hex":"1F6E1"},{"Typeface name":"Webdings","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"128230","Unicode hex":"1F4E6"},{"Typeface name":"Webdings","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"128753","Unicode hex":"1F6F1"},{"Typeface name":"Webdings","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"11035","Unicode hex":"2B1B"},{"Typeface name":"Webdings","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"128657","Unicode hex":"1F691"},{"Typeface name":"Webdings","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"128712","Unicode hex":"1F6C8"},{"Typeface name":"Webdings","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"128745","Unicode hex":"1F6E9"},{"Typeface name":"Webdings","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"128752","Unicode hex":"1F6F0"},{"Typeface name":"Webdings","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"128968","Unicode hex":"1F7C8"},{"Typeface name":"Webdings","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"128372","Unicode hex":"1F574"},{"Typeface name":"Webdings","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"11044","Unicode hex":"2B24"},{"Typeface name":"Webdings","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"128741","Unicode hex":"1F6E5"},{"Typeface name":"Webdings","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"128660","Unicode hex":"1F694"},{"Typeface name":"Webdings","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"128472","Unicode hex":"1F5D8"},{"Typeface name":"Webdings","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"128473","Unicode hex":"1F5D9"},{"Typeface name":"Webdings","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"10067","Unicode hex":"2753"},{"Typeface name":"Webdings","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"128754","Unicode hex":"1F6F2"},{"Typeface name":"Webdings","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"128647","Unicode hex":"1F687"},{"Typeface name":"Webdings","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"128653","Unicode hex":"1F68D"},{"Typeface name":"Webdings","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"9971","Unicode hex":"26F3"},{"Typeface name":"Webdings","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"10680","Unicode hex":"29B8"},{"Typeface name":"Webdings","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"8854","Unicode hex":"2296"},{"Typeface name":"Webdings","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"128685","Unicode hex":"1F6AD"},{"Typeface name":"Webdings","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"128494","Unicode hex":"1F5EE"},{"Typeface name":"Webdings","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"9168","Unicode hex":"23D0"},{"Typeface name":"Webdings","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"128495","Unicode hex":"1F5EF"},{"Typeface name":"Webdings","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"128498","Unicode hex":"1F5F2"},{"Typeface name":"Webdings","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"128697","Unicode hex":"1F6B9"},{"Typeface name":"Webdings","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"128698","Unicode hex":"1F6BA"},{"Typeface name":"Webdings","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"128713","Unicode hex":"1F6C9"},{"Typeface name":"Webdings","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"128714","Unicode hex":"1F6CA"},{"Typeface name":"Webdings","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"128700","Unicode hex":"1F6BC"},{"Typeface name":"Webdings","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"128125","Unicode hex":"1F47D"},{"Typeface name":"Webdings","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"127947","Unicode hex":"1F3CB"},{"Typeface name":"Webdings","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"9975","Unicode hex":"26F7"},{"Typeface name":"Webdings","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"127938","Unicode hex":"1F3C2"},{"Typeface name":"Webdings","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"127948","Unicode hex":"1F3CC"},{"Typeface name":"Webdings","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"127946","Unicode hex":"1F3CA"},{"Typeface name":"Webdings","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"127940","Unicode hex":"1F3C4"},{"Typeface name":"Webdings","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"127949","Unicode hex":"1F3CD"},{"Typeface name":"Webdings","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"127950","Unicode hex":"1F3CE"},{"Typeface name":"Webdings","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"128664","Unicode hex":"1F698"},{"Typeface name":"Webdings","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"128480","Unicode hex":"1F5E0"},{"Typeface name":"Webdings","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"128738","Unicode hex":"1F6E2"},{"Typeface name":"Webdings","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"128176","Unicode hex":"1F4B0"},{"Typeface name":"Webdings","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"127991","Unicode hex":"1F3F7"},{"Typeface name":"Webdings","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"128179","Unicode hex":"1F4B3"},{"Typeface name":"Webdings","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"128106","Unicode hex":"1F46A"},{"Typeface name":"Webdings","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"128481","Unicode hex":"1F5E1"},{"Typeface name":"Webdings","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"128482","Unicode hex":"1F5E2"},{"Typeface name":"Webdings","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"128483","Unicode hex":"1F5E3"},{"Typeface name":"Webdings","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"10031","Unicode hex":"272F"},{"Typeface name":"Webdings","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"128388","Unicode hex":"1F584"},{"Typeface name":"Webdings","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"128389","Unicode hex":"1F585"},{"Typeface name":"Webdings","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"128387","Unicode hex":"1F583"},{"Typeface name":"Webdings","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"128390","Unicode hex":"1F586"},{"Typeface name":"Webdings","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"128441","Unicode hex":"1F5B9"},{"Typeface name":"Webdings","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"128442","Unicode hex":"1F5BA"},{"Typeface name":"Webdings","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"128443","Unicode hex":"1F5BB"},{"Typeface name":"Webdings","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"128373","Unicode hex":"1F575"},{"Typeface name":"Webdings","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"128368","Unicode hex":"1F570"},{"Typeface name":"Webdings","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"128445","Unicode hex":"1F5BD"},{"Typeface name":"Webdings","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"128446","Unicode hex":"1F5BE"},{"Typeface name":"Webdings","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"128203","Unicode hex":"1F4CB"},{"Typeface name":"Webdings","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"128466","Unicode hex":"1F5D2"},{"Typeface name":"Webdings","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"128467","Unicode hex":"1F5D3"},{"Typeface name":"Webdings","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"128366","Unicode hex":"1F56E"},{"Typeface name":"Webdings","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"128218","Unicode hex":"1F4DA"},{"Typeface name":"Webdings","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"128478","Unicode hex":"1F5DE"},{"Typeface name":"Webdings","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"128479","Unicode hex":"1F5DF"},{"Typeface name":"Webdings","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"128451","Unicode hex":"1F5C3"},{"Typeface name":"Webdings","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"128450","Unicode hex":"1F5C2"},{"Typeface name":"Webdings","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"128444","Unicode hex":"1F5BC"},{"Typeface name":"Webdings","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"127917","Unicode hex":"1F3AD"},{"Typeface name":"Webdings","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"127900","Unicode hex":"1F39C"},{"Typeface name":"Webdings","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"127896","Unicode hex":"1F398"},{"Typeface name":"Webdings","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"127897","Unicode hex":"1F399"},{"Typeface name":"Webdings","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"127911","Unicode hex":"1F3A7"},{"Typeface name":"Webdings","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"128191","Unicode hex":"1F4BF"},{"Typeface name":"Webdings","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"127902","Unicode hex":"1F39E"},{"Typeface name":"Webdings","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"128247","Unicode hex":"1F4F7"},{"Typeface name":"Webdings","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"127903","Unicode hex":"1F39F"},{"Typeface name":"Webdings","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"127916","Unicode hex":"1F3AC"},{"Typeface name":"Webdings","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"128253","Unicode hex":"1F4FD"},{"Typeface name":"Webdings","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"128249","Unicode hex":"1F4F9"},{"Typeface name":"Webdings","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"128254","Unicode hex":"1F4FE"},{"Typeface name":"Webdings","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"128251","Unicode hex":"1F4FB"},{"Typeface name":"Webdings","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"127898","Unicode hex":"1F39A"},{"Typeface name":"Webdings","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"127899","Unicode hex":"1F39B"},{"Typeface name":"Webdings","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"128250","Unicode hex":"1F4FA"},{"Typeface name":"Webdings","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"128187","Unicode hex":"1F4BB"},{"Typeface name":"Webdings","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"128421","Unicode hex":"1F5A5"},{"Typeface name":"Webdings","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"128422","Unicode hex":"1F5A6"},{"Typeface name":"Webdings","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"128423","Unicode hex":"1F5A7"},{"Typeface name":"Webdings","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"128377","Unicode hex":"1F579"},{"Typeface name":"Webdings","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"127918","Unicode hex":"1F3AE"},{"Typeface name":"Webdings","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"128379","Unicode hex":"1F57B"},{"Typeface name":"Webdings","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"128380","Unicode hex":"1F57C"},{"Typeface name":"Webdings","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"128223","Unicode hex":"1F4DF"},{"Typeface name":"Webdings","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"128385","Unicode hex":"1F581"},{"Typeface name":"Webdings","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"128384","Unicode hex":"1F580"},{"Typeface name":"Webdings","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"128424","Unicode hex":"1F5A8"},{"Typeface name":"Webdings","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"128425","Unicode hex":"1F5A9"},{"Typeface name":"Webdings","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"128447","Unicode hex":"1F5BF"},{"Typeface name":"Webdings","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"128426","Unicode hex":"1F5AA"},{"Typeface name":"Webdings","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"128476","Unicode hex":"1F5DC"},{"Typeface name":"Webdings","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"128274","Unicode hex":"1F512"},{"Typeface name":"Webdings","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"128275","Unicode hex":"1F513"},{"Typeface name":"Webdings","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"128477","Unicode hex":"1F5DD"},{"Typeface name":"Webdings","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"128229","Unicode hex":"1F4E5"},{"Typeface name":"Webdings","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"128228","Unicode hex":"1F4E4"},{"Typeface name":"Webdings","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"128371","Unicode hex":"1F573"},{"Typeface name":"Webdings","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"127779","Unicode hex":"1F323"},{"Typeface name":"Webdings","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"127780","Unicode hex":"1F324"},{"Typeface name":"Webdings","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"127781","Unicode hex":"1F325"},{"Typeface name":"Webdings","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"127782","Unicode hex":"1F326"},{"Typeface name":"Webdings","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"9729","Unicode hex":"2601"},{"Typeface name":"Webdings","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"127784","Unicode hex":"1F328"},{"Typeface name":"Webdings","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"127783","Unicode hex":"1F327"},{"Typeface name":"Webdings","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"127785","Unicode hex":"1F329"},{"Typeface name":"Webdings","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"127786","Unicode hex":"1F32A"},{"Typeface name":"Webdings","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"127788","Unicode hex":"1F32C"},{"Typeface name":"Webdings","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"127787","Unicode hex":"1F32B"},{"Typeface name":"Webdings","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"127772","Unicode hex":"1F31C"},{"Typeface name":"Webdings","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"127777","Unicode hex":"1F321"},{"Typeface name":"Webdings","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"128715","Unicode hex":"1F6CB"},{"Typeface name":"Webdings","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"128719","Unicode hex":"1F6CF"},{"Typeface name":"Webdings","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"127869","Unicode hex":"1F37D"},{"Typeface name":"Webdings","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"127864","Unicode hex":"1F378"},{"Typeface name":"Webdings","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"128718","Unicode hex":"1F6CE"},{"Typeface name":"Webdings","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"128717","Unicode hex":"1F6CD"},{"Typeface name":"Webdings","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"9413","Unicode hex":"24C5"},{"Typeface name":"Webdings","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"9855","Unicode hex":"267F"},{"Typeface name":"Webdings","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"128710","Unicode hex":"1F6C6"},{"Typeface name":"Webdings","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"128392","Unicode hex":"1F588"},{"Typeface name":"Webdings","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"127891","Unicode hex":"1F393"},{"Typeface name":"Webdings","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"128484","Unicode hex":"1F5E4"},{"Typeface name":"Webdings","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"128485","Unicode hex":"1F5E5"},{"Typeface name":"Webdings","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"128486","Unicode hex":"1F5E6"},{"Typeface name":"Webdings","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"128487","Unicode hex":"1F5E7"},{"Typeface name":"Webdings","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"128746","Unicode hex":"1F6EA"},{"Typeface name":"Webdings","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"128063","Unicode hex":"1F43F"},{"Typeface name":"Webdings","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"128038","Unicode hex":"1F426"},{"Typeface name":"Webdings","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"128031","Unicode hex":"1F41F"},{"Typeface name":"Webdings","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"128021","Unicode hex":"1F415"},{"Typeface name":"Webdings","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"128008","Unicode hex":"1F408"},{"Typeface name":"Webdings","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"128620","Unicode hex":"1F66C"},{"Typeface name":"Webdings","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"128622","Unicode hex":"1F66E"},{"Typeface name":"Webdings","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"128621","Unicode hex":"1F66D"},{"Typeface name":"Webdings","Dingbat dec":"250","Dingbat hex":"FA","Unicode dec":"128623","Unicode hex":"1F66F"},{"Typeface name":"Webdings","Dingbat dec":"251","Dingbat hex":"FB","Unicode dec":"128506","Unicode hex":"1F5FA"},{"Typeface name":"Webdings","Dingbat dec":"252","Dingbat hex":"FC","Unicode dec":"127757","Unicode hex":"1F30D"},{"Typeface name":"Webdings","Dingbat dec":"253","Dingbat hex":"FD","Unicode dec":"127759","Unicode hex":"1F30F"},{"Typeface name":"Webdings","Dingbat dec":"254","Dingbat hex":"FE","Unicode dec":"127758","Unicode hex":"1F30E"},{"Typeface name":"Webdings","Dingbat dec":"255","Dingbat hex":"FF","Unicode dec":"128330","Unicode hex":"1F54A"},{"Typeface name":"Wingdings","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Wingdings","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"128393","Unicode hex":"1F589"},{"Typeface name":"Wingdings","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"9986","Unicode hex":"2702"},{"Typeface name":"Wingdings","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"9985","Unicode hex":"2701"},{"Typeface name":"Wingdings","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"128083","Unicode hex":"1F453"},{"Typeface name":"Wingdings","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"128365","Unicode hex":"1F56D"},{"Typeface name":"Wingdings","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"128366","Unicode hex":"1F56E"},{"Typeface name":"Wingdings","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"128367","Unicode hex":"1F56F"},{"Typeface name":"Wingdings","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"128383","Unicode hex":"1F57F"},{"Typeface name":"Wingdings","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"9990","Unicode hex":"2706"},{"Typeface name":"Wingdings","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"128386","Unicode hex":"1F582"},{"Typeface name":"Wingdings","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"128387","Unicode hex":"1F583"},{"Typeface name":"Wingdings","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"128234","Unicode hex":"1F4EA"},{"Typeface name":"Wingdings","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"128235","Unicode hex":"1F4EB"},{"Typeface name":"Wingdings","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"128236","Unicode hex":"1F4EC"},{"Typeface name":"Wingdings","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"128237","Unicode hex":"1F4ED"},{"Typeface name":"Wingdings","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"128448","Unicode hex":"1F5C0"},{"Typeface name":"Wingdings","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"128449","Unicode hex":"1F5C1"},{"Typeface name":"Wingdings","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"128462","Unicode hex":"1F5CE"},{"Typeface name":"Wingdings","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"128463","Unicode hex":"1F5CF"},{"Typeface name":"Wingdings","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"128464","Unicode hex":"1F5D0"},{"Typeface name":"Wingdings","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"128452","Unicode hex":"1F5C4"},{"Typeface name":"Wingdings","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"8987","Unicode hex":"231B"},{"Typeface name":"Wingdings","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"128430","Unicode hex":"1F5AE"},{"Typeface name":"Wingdings","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"128432","Unicode hex":"1F5B0"},{"Typeface name":"Wingdings","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"128434","Unicode hex":"1F5B2"},{"Typeface name":"Wingdings","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"128435","Unicode hex":"1F5B3"},{"Typeface name":"Wingdings","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"128436","Unicode hex":"1F5B4"},{"Typeface name":"Wingdings","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"128427","Unicode hex":"1F5AB"},{"Typeface name":"Wingdings","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"128428","Unicode hex":"1F5AC"},{"Typeface name":"Wingdings","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"9991","Unicode hex":"2707"},{"Typeface name":"Wingdings","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"9997","Unicode hex":"270D"},{"Typeface name":"Wingdings","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"128398","Unicode hex":"1F58E"},{"Typeface name":"Wingdings","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"9996","Unicode hex":"270C"},{"Typeface name":"Wingdings","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"128399","Unicode hex":"1F58F"},{"Typeface name":"Wingdings","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"128077","Unicode hex":"1F44D"},{"Typeface name":"Wingdings","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"128078","Unicode hex":"1F44E"},{"Typeface name":"Wingdings","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"9756","Unicode hex":"261C"},{"Typeface name":"Wingdings","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"9758","Unicode hex":"261E"},{"Typeface name":"Wingdings","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"9757","Unicode hex":"261D"},{"Typeface name":"Wingdings","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"9759","Unicode hex":"261F"},{"Typeface name":"Wingdings","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"128400","Unicode hex":"1F590"},{"Typeface name":"Wingdings","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"9786","Unicode hex":"263A"},{"Typeface name":"Wingdings","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"128528","Unicode hex":"1F610"},{"Typeface name":"Wingdings","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"9785","Unicode hex":"2639"},{"Typeface name":"Wingdings","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"128163","Unicode hex":"1F4A3"},{"Typeface name":"Wingdings","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"128369","Unicode hex":"1F571"},{"Typeface name":"Wingdings","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"127987","Unicode hex":"1F3F3"},{"Typeface name":"Wingdings","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"127985","Unicode hex":"1F3F1"},{"Typeface name":"Wingdings","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"9992","Unicode hex":"2708"},{"Typeface name":"Wingdings","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"9788","Unicode hex":"263C"},{"Typeface name":"Wingdings","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"127778","Unicode hex":"1F322"},{"Typeface name":"Wingdings","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"10052","Unicode hex":"2744"},{"Typeface name":"Wingdings","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"128326","Unicode hex":"1F546"},{"Typeface name":"Wingdings","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"10014","Unicode hex":"271E"},{"Typeface name":"Wingdings","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"128328","Unicode hex":"1F548"},{"Typeface name":"Wingdings","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"10016","Unicode hex":"2720"},{"Typeface name":"Wingdings","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"10017","Unicode hex":"2721"},{"Typeface name":"Wingdings","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"9770","Unicode hex":"262A"},{"Typeface name":"Wingdings","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"9775","Unicode hex":"262F"},{"Typeface name":"Wingdings","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"128329","Unicode hex":"1F549"},{"Typeface name":"Wingdings","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"9784","Unicode hex":"2638"},{"Typeface name":"Wingdings","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"9800","Unicode hex":"2648"},{"Typeface name":"Wingdings","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"9801","Unicode hex":"2649"},{"Typeface name":"Wingdings","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"9802","Unicode hex":"264A"},{"Typeface name":"Wingdings","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"9803","Unicode hex":"264B"},{"Typeface name":"Wingdings","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"9804","Unicode hex":"264C"},{"Typeface name":"Wingdings","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"9805","Unicode hex":"264D"},{"Typeface name":"Wingdings","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"9806","Unicode hex":"264E"},{"Typeface name":"Wingdings","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"9807","Unicode hex":"264F"},{"Typeface name":"Wingdings","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"9808","Unicode hex":"2650"},{"Typeface name":"Wingdings","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"9809","Unicode hex":"2651"},{"Typeface name":"Wingdings","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"9810","Unicode hex":"2652"},{"Typeface name":"Wingdings","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"9811","Unicode hex":"2653"},{"Typeface name":"Wingdings","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"128624","Unicode hex":"1F670"},{"Typeface name":"Wingdings","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"128629","Unicode hex":"1F675"},{"Typeface name":"Wingdings","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"9899","Unicode hex":"26AB"},{"Typeface name":"Wingdings","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"128318","Unicode hex":"1F53E"},{"Typeface name":"Wingdings","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"9724","Unicode hex":"25FC"},{"Typeface name":"Wingdings","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"128911","Unicode hex":"1F78F"},{"Typeface name":"Wingdings","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"128912","Unicode hex":"1F790"},{"Typeface name":"Wingdings","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"10065","Unicode hex":"2751"},{"Typeface name":"Wingdings","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"10066","Unicode hex":"2752"},{"Typeface name":"Wingdings","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"128927","Unicode hex":"1F79F"},{"Typeface name":"Wingdings","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"10731","Unicode hex":"29EB"},{"Typeface name":"Wingdings","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"9670","Unicode hex":"25C6"},{"Typeface name":"Wingdings","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"10070","Unicode hex":"2756"},{"Typeface name":"Wingdings","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"11049","Unicode hex":"2B29"},{"Typeface name":"Wingdings","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"8999","Unicode hex":"2327"},{"Typeface name":"Wingdings","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"11193","Unicode hex":"2BB9"},{"Typeface name":"Wingdings","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"8984","Unicode hex":"2318"},{"Typeface name":"Wingdings","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"127989","Unicode hex":"1F3F5"},{"Typeface name":"Wingdings","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"127990","Unicode hex":"1F3F6"},{"Typeface name":"Wingdings","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"128630","Unicode hex":"1F676"},{"Typeface name":"Wingdings","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"128631","Unicode hex":"1F677"},{"Typeface name":"Wingdings","Dingbat dec":"127","Dingbat hex":"7F","Unicode dec":"9647","Unicode hex":"25AF"},{"Typeface name":"Wingdings","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"127243","Unicode hex":"1F10B"},{"Typeface name":"Wingdings","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"10112","Unicode hex":"2780"},{"Typeface name":"Wingdings","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"10113","Unicode hex":"2781"},{"Typeface name":"Wingdings","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"10114","Unicode hex":"2782"},{"Typeface name":"Wingdings","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"10115","Unicode hex":"2783"},{"Typeface name":"Wingdings","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"10116","Unicode hex":"2784"},{"Typeface name":"Wingdings","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"10117","Unicode hex":"2785"},{"Typeface name":"Wingdings","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"10118","Unicode hex":"2786"},{"Typeface name":"Wingdings","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"10119","Unicode hex":"2787"},{"Typeface name":"Wingdings","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"10120","Unicode hex":"2788"},{"Typeface name":"Wingdings","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"10121","Unicode hex":"2789"},{"Typeface name":"Wingdings","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"127244","Unicode hex":"1F10C"},{"Typeface name":"Wingdings","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"10122","Unicode hex":"278A"},{"Typeface name":"Wingdings","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"10123","Unicode hex":"278B"},{"Typeface name":"Wingdings","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"10124","Unicode hex":"278C"},{"Typeface name":"Wingdings","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"10125","Unicode hex":"278D"},{"Typeface name":"Wingdings","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"10126","Unicode hex":"278E"},{"Typeface name":"Wingdings","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"10127","Unicode hex":"278F"},{"Typeface name":"Wingdings","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"10128","Unicode hex":"2790"},{"Typeface name":"Wingdings","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"10129","Unicode hex":"2791"},{"Typeface name":"Wingdings","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"10130","Unicode hex":"2792"},{"Typeface name":"Wingdings","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"10131","Unicode hex":"2793"},{"Typeface name":"Wingdings","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"128610","Unicode hex":"1F662"},{"Typeface name":"Wingdings","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"128608","Unicode hex":"1F660"},{"Typeface name":"Wingdings","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"128609","Unicode hex":"1F661"},{"Typeface name":"Wingdings","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"128611","Unicode hex":"1F663"},{"Typeface name":"Wingdings","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"128606","Unicode hex":"1F65E"},{"Typeface name":"Wingdings","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"128604","Unicode hex":"1F65C"},{"Typeface name":"Wingdings","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"128605","Unicode hex":"1F65D"},{"Typeface name":"Wingdings","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"128607","Unicode hex":"1F65F"},{"Typeface name":"Wingdings","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"8729","Unicode hex":"2219"},{"Typeface name":"Wingdings","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"8226","Unicode hex":"2022"},{"Typeface name":"Wingdings","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"11037","Unicode hex":"2B1D"},{"Typeface name":"Wingdings","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"11096","Unicode hex":"2B58"},{"Typeface name":"Wingdings","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"128902","Unicode hex":"1F786"},{"Typeface name":"Wingdings","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"128904","Unicode hex":"1F788"},{"Typeface name":"Wingdings","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"128906","Unicode hex":"1F78A"},{"Typeface name":"Wingdings","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"128907","Unicode hex":"1F78B"},{"Typeface name":"Wingdings","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"128319","Unicode hex":"1F53F"},{"Typeface name":"Wingdings","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"9642","Unicode hex":"25AA"},{"Typeface name":"Wingdings","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"128910","Unicode hex":"1F78E"},{"Typeface name":"Wingdings","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"128961","Unicode hex":"1F7C1"},{"Typeface name":"Wingdings","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"128965","Unicode hex":"1F7C5"},{"Typeface name":"Wingdings","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"9733","Unicode hex":"2605"},{"Typeface name":"Wingdings","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"128971","Unicode hex":"1F7CB"},{"Typeface name":"Wingdings","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"128975","Unicode hex":"1F7CF"},{"Typeface name":"Wingdings","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"128979","Unicode hex":"1F7D3"},{"Typeface name":"Wingdings","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"128977","Unicode hex":"1F7D1"},{"Typeface name":"Wingdings","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"11216","Unicode hex":"2BD0"},{"Typeface name":"Wingdings","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"8982","Unicode hex":"2316"},{"Typeface name":"Wingdings","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"11214","Unicode hex":"2BCE"},{"Typeface name":"Wingdings","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"11215","Unicode hex":"2BCF"},{"Typeface name":"Wingdings","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"11217","Unicode hex":"2BD1"},{"Typeface name":"Wingdings","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"10026","Unicode hex":"272A"},{"Typeface name":"Wingdings","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"10032","Unicode hex":"2730"},{"Typeface name":"Wingdings","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"128336","Unicode hex":"1F550"},{"Typeface name":"Wingdings","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"128337","Unicode hex":"1F551"},{"Typeface name":"Wingdings","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"128338","Unicode hex":"1F552"},{"Typeface name":"Wingdings","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"128339","Unicode hex":"1F553"},{"Typeface name":"Wingdings","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"128340","Unicode hex":"1F554"},{"Typeface name":"Wingdings","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"128341","Unicode hex":"1F555"},{"Typeface name":"Wingdings","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"128342","Unicode hex":"1F556"},{"Typeface name":"Wingdings","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"128343","Unicode hex":"1F557"},{"Typeface name":"Wingdings","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"128344","Unicode hex":"1F558"},{"Typeface name":"Wingdings","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"128345","Unicode hex":"1F559"},{"Typeface name":"Wingdings","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"128346","Unicode hex":"1F55A"},{"Typeface name":"Wingdings","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"128347","Unicode hex":"1F55B"},{"Typeface name":"Wingdings","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"11184","Unicode hex":"2BB0"},{"Typeface name":"Wingdings","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"11185","Unicode hex":"2BB1"},{"Typeface name":"Wingdings","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"11186","Unicode hex":"2BB2"},{"Typeface name":"Wingdings","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"11187","Unicode hex":"2BB3"},{"Typeface name":"Wingdings","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"11188","Unicode hex":"2BB4"},{"Typeface name":"Wingdings","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"11189","Unicode hex":"2BB5"},{"Typeface name":"Wingdings","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"11190","Unicode hex":"2BB6"},{"Typeface name":"Wingdings","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"11191","Unicode hex":"2BB7"},{"Typeface name":"Wingdings","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"128618","Unicode hex":"1F66A"},{"Typeface name":"Wingdings","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"128619","Unicode hex":"1F66B"},{"Typeface name":"Wingdings","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"128597","Unicode hex":"1F655"},{"Typeface name":"Wingdings","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"128596","Unicode hex":"1F654"},{"Typeface name":"Wingdings","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"128599","Unicode hex":"1F657"},{"Typeface name":"Wingdings","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"128598","Unicode hex":"1F656"},{"Typeface name":"Wingdings","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"128592","Unicode hex":"1F650"},{"Typeface name":"Wingdings","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"128593","Unicode hex":"1F651"},{"Typeface name":"Wingdings","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"128594","Unicode hex":"1F652"},{"Typeface name":"Wingdings","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"128595","Unicode hex":"1F653"},{"Typeface name":"Wingdings","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"9003","Unicode hex":"232B"},{"Typeface name":"Wingdings","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"8998","Unicode hex":"2326"},{"Typeface name":"Wingdings","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"11160","Unicode hex":"2B98"},{"Typeface name":"Wingdings","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"11162","Unicode hex":"2B9A"},{"Typeface name":"Wingdings","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"11161","Unicode hex":"2B99"},{"Typeface name":"Wingdings","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"11163","Unicode hex":"2B9B"},{"Typeface name":"Wingdings","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"11144","Unicode hex":"2B88"},{"Typeface name":"Wingdings","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"11146","Unicode hex":"2B8A"},{"Typeface name":"Wingdings","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"11145","Unicode hex":"2B89"},{"Typeface name":"Wingdings","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"11147","Unicode hex":"2B8B"},{"Typeface name":"Wingdings","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"129128","Unicode hex":"1F868"},{"Typeface name":"Wingdings","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"129130","Unicode hex":"1F86A"},{"Typeface name":"Wingdings","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"129129","Unicode hex":"1F869"},{"Typeface name":"Wingdings","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"129131","Unicode hex":"1F86B"},{"Typeface name":"Wingdings","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"129132","Unicode hex":"1F86C"},{"Typeface name":"Wingdings","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"129133","Unicode hex":"1F86D"},{"Typeface name":"Wingdings","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"129135","Unicode hex":"1F86F"},{"Typeface name":"Wingdings","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"129134","Unicode hex":"1F86E"},{"Typeface name":"Wingdings","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"129144","Unicode hex":"1F878"},{"Typeface name":"Wingdings","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"129146","Unicode hex":"1F87A"},{"Typeface name":"Wingdings","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"129145","Unicode hex":"1F879"},{"Typeface name":"Wingdings","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"129147","Unicode hex":"1F87B"},{"Typeface name":"Wingdings","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"129148","Unicode hex":"1F87C"},{"Typeface name":"Wingdings","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"129149","Unicode hex":"1F87D"},{"Typeface name":"Wingdings","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"129151","Unicode hex":"1F87F"},{"Typeface name":"Wingdings","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"129150","Unicode hex":"1F87E"},{"Typeface name":"Wingdings","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"8678","Unicode hex":"21E6"},{"Typeface name":"Wingdings","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"8680","Unicode hex":"21E8"},{"Typeface name":"Wingdings","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"8679","Unicode hex":"21E7"},{"Typeface name":"Wingdings","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"8681","Unicode hex":"21E9"},{"Typeface name":"Wingdings","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"11012","Unicode hex":"2B04"},{"Typeface name":"Wingdings","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"8691","Unicode hex":"21F3"},{"Typeface name":"Wingdings","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"11009","Unicode hex":"2B01"},{"Typeface name":"Wingdings","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"11008","Unicode hex":"2B00"},{"Typeface name":"Wingdings","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"11011","Unicode hex":"2B03"},{"Typeface name":"Wingdings","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"11010","Unicode hex":"2B02"},{"Typeface name":"Wingdings","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"129196","Unicode hex":"1F8AC"},{"Typeface name":"Wingdings","Dingbat dec":"250","Dingbat hex":"FA","Unicode dec":"129197","Unicode hex":"1F8AD"},{"Typeface name":"Wingdings","Dingbat dec":"251","Dingbat hex":"FB","Unicode dec":"128502","Unicode hex":"1F5F6"},{"Typeface name":"Wingdings","Dingbat dec":"252","Dingbat hex":"FC","Unicode dec":"10003","Unicode hex":"2713"},{"Typeface name":"Wingdings","Dingbat dec":"253","Dingbat hex":"FD","Unicode dec":"128503","Unicode hex":"1F5F7"},{"Typeface name":"Wingdings","Dingbat dec":"254","Dingbat hex":"FE","Unicode dec":"128505","Unicode hex":"1F5F9"},{"Typeface name":"Wingdings 2","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Wingdings 2","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"128394","Unicode hex":"1F58A"},{"Typeface name":"Wingdings 2","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"128395","Unicode hex":"1F58B"},{"Typeface name":"Wingdings 2","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"128396","Unicode hex":"1F58C"},{"Typeface name":"Wingdings 2","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"128397","Unicode hex":"1F58D"},{"Typeface name":"Wingdings 2","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"9988","Unicode hex":"2704"},{"Typeface name":"Wingdings 2","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"9984","Unicode hex":"2700"},{"Typeface name":"Wingdings 2","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"128382","Unicode hex":"1F57E"},{"Typeface name":"Wingdings 2","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"128381","Unicode hex":"1F57D"},{"Typeface name":"Wingdings 2","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"128453","Unicode hex":"1F5C5"},{"Typeface name":"Wingdings 2","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"128454","Unicode hex":"1F5C6"},{"Typeface name":"Wingdings 2","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"128455","Unicode hex":"1F5C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"128456","Unicode hex":"1F5C8"},{"Typeface name":"Wingdings 2","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"128457","Unicode hex":"1F5C9"},{"Typeface name":"Wingdings 2","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"128458","Unicode hex":"1F5CA"},{"Typeface name":"Wingdings 2","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"128459","Unicode hex":"1F5CB"},{"Typeface name":"Wingdings 2","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"128460","Unicode hex":"1F5CC"},{"Typeface name":"Wingdings 2","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"128461","Unicode hex":"1F5CD"},{"Typeface name":"Wingdings 2","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"128203","Unicode hex":"1F4CB"},{"Typeface name":"Wingdings 2","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"128465","Unicode hex":"1F5D1"},{"Typeface name":"Wingdings 2","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"128468","Unicode hex":"1F5D4"},{"Typeface name":"Wingdings 2","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"128437","Unicode hex":"1F5B5"},{"Typeface name":"Wingdings 2","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"128438","Unicode hex":"1F5B6"},{"Typeface name":"Wingdings 2","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"128439","Unicode hex":"1F5B7"},{"Typeface name":"Wingdings 2","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"128440","Unicode hex":"1F5B8"},{"Typeface name":"Wingdings 2","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"128429","Unicode hex":"1F5AD"},{"Typeface name":"Wingdings 2","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"128431","Unicode hex":"1F5AF"},{"Typeface name":"Wingdings 2","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"128433","Unicode hex":"1F5B1"},{"Typeface name":"Wingdings 2","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"128402","Unicode hex":"1F592"},{"Typeface name":"Wingdings 2","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"128403","Unicode hex":"1F593"},{"Typeface name":"Wingdings 2","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"128408","Unicode hex":"1F598"},{"Typeface name":"Wingdings 2","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"128409","Unicode hex":"1F599"},{"Typeface name":"Wingdings 2","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"128410","Unicode hex":"1F59A"},{"Typeface name":"Wingdings 2","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"128411","Unicode hex":"1F59B"},{"Typeface name":"Wingdings 2","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"128072","Unicode hex":"1F448"},{"Typeface name":"Wingdings 2","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"128073","Unicode hex":"1F449"},{"Typeface name":"Wingdings 2","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"128412","Unicode hex":"1F59C"},{"Typeface name":"Wingdings 2","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"128413","Unicode hex":"1F59D"},{"Typeface name":"Wingdings 2","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"128414","Unicode hex":"1F59E"},{"Typeface name":"Wingdings 2","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"128415","Unicode hex":"1F59F"},{"Typeface name":"Wingdings 2","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"128416","Unicode hex":"1F5A0"},{"Typeface name":"Wingdings 2","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"128417","Unicode hex":"1F5A1"},{"Typeface name":"Wingdings 2","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"128070","Unicode hex":"1F446"},{"Typeface name":"Wingdings 2","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"128071","Unicode hex":"1F447"},{"Typeface name":"Wingdings 2","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"128418","Unicode hex":"1F5A2"},{"Typeface name":"Wingdings 2","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"128419","Unicode hex":"1F5A3"},{"Typeface name":"Wingdings 2","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"128401","Unicode hex":"1F591"},{"Typeface name":"Wingdings 2","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"128500","Unicode hex":"1F5F4"},{"Typeface name":"Wingdings 2","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"128504","Unicode hex":"1F5F8"},{"Typeface name":"Wingdings 2","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"128501","Unicode hex":"1F5F5"},{"Typeface name":"Wingdings 2","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"9745","Unicode hex":"2611"},{"Typeface name":"Wingdings 2","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"11197","Unicode hex":"2BBD"},{"Typeface name":"Wingdings 2","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"9746","Unicode hex":"2612"},{"Typeface name":"Wingdings 2","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"11198","Unicode hex":"2BBE"},{"Typeface name":"Wingdings 2","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"11199","Unicode hex":"2BBF"},{"Typeface name":"Wingdings 2","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"128711","Unicode hex":"1F6C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"10680","Unicode hex":"29B8"},{"Typeface name":"Wingdings 2","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"128625","Unicode hex":"1F671"},{"Typeface name":"Wingdings 2","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"128628","Unicode hex":"1F674"},{"Typeface name":"Wingdings 2","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"128626","Unicode hex":"1F672"},{"Typeface name":"Wingdings 2","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"128627","Unicode hex":"1F673"},{"Typeface name":"Wingdings 2","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"8253","Unicode hex":"203D"},{"Typeface name":"Wingdings 2","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"128633","Unicode hex":"1F679"},{"Typeface name":"Wingdings 2","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"128634","Unicode hex":"1F67A"},{"Typeface name":"Wingdings 2","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"128635","Unicode hex":"1F67B"},{"Typeface name":"Wingdings 2","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"128614","Unicode hex":"1F666"},{"Typeface name":"Wingdings 2","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"128612","Unicode hex":"1F664"},{"Typeface name":"Wingdings 2","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"128613","Unicode hex":"1F665"},{"Typeface name":"Wingdings 2","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"128615","Unicode hex":"1F667"},{"Typeface name":"Wingdings 2","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"128602","Unicode hex":"1F65A"},{"Typeface name":"Wingdings 2","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"128600","Unicode hex":"1F658"},{"Typeface name":"Wingdings 2","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"128601","Unicode hex":"1F659"},{"Typeface name":"Wingdings 2","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"128603","Unicode hex":"1F65B"},{"Typeface name":"Wingdings 2","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"9450","Unicode hex":"24EA"},{"Typeface name":"Wingdings 2","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"9312","Unicode hex":"2460"},{"Typeface name":"Wingdings 2","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"9313","Unicode hex":"2461"},{"Typeface name":"Wingdings 2","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"9314","Unicode hex":"2462"},{"Typeface name":"Wingdings 2","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"9315","Unicode hex":"2463"},{"Typeface name":"Wingdings 2","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"9316","Unicode hex":"2464"},{"Typeface name":"Wingdings 2","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"9317","Unicode hex":"2465"},{"Typeface name":"Wingdings 2","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"9318","Unicode hex":"2466"},{"Typeface name":"Wingdings 2","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"9319","Unicode hex":"2467"},{"Typeface name":"Wingdings 2","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"9320","Unicode hex":"2468"},{"Typeface name":"Wingdings 2","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"9321","Unicode hex":"2469"},{"Typeface name":"Wingdings 2","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"9471","Unicode hex":"24FF"},{"Typeface name":"Wingdings 2","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"10102","Unicode hex":"2776"},{"Typeface name":"Wingdings 2","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"10103","Unicode hex":"2777"},{"Typeface name":"Wingdings 2","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"10104","Unicode hex":"2778"},{"Typeface name":"Wingdings 2","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"10105","Unicode hex":"2779"},{"Typeface name":"Wingdings 2","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"10106","Unicode hex":"277A"},{"Typeface name":"Wingdings 2","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"10107","Unicode hex":"277B"},{"Typeface name":"Wingdings 2","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"10108","Unicode hex":"277C"},{"Typeface name":"Wingdings 2","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"10109","Unicode hex":"277D"},{"Typeface name":"Wingdings 2","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"10110","Unicode hex":"277E"},{"Typeface name":"Wingdings 2","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"10111","Unicode hex":"277F"},{"Typeface name":"Wingdings 2","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"9737","Unicode hex":"2609"},{"Typeface name":"Wingdings 2","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"127765","Unicode hex":"1F315"},{"Typeface name":"Wingdings 2","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"9789","Unicode hex":"263D"},{"Typeface name":"Wingdings 2","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"9790","Unicode hex":"263E"},{"Typeface name":"Wingdings 2","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"11839","Unicode hex":"2E3F"},{"Typeface name":"Wingdings 2","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"10013","Unicode hex":"271D"},{"Typeface name":"Wingdings 2","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"128327","Unicode hex":"1F547"},{"Typeface name":"Wingdings 2","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"128348","Unicode hex":"1F55C"},{"Typeface name":"Wingdings 2","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"128349","Unicode hex":"1F55D"},{"Typeface name":"Wingdings 2","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"128350","Unicode hex":"1F55E"},{"Typeface name":"Wingdings 2","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"128351","Unicode hex":"1F55F"},{"Typeface name":"Wingdings 2","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"128352","Unicode hex":"1F560"},{"Typeface name":"Wingdings 2","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"128353","Unicode hex":"1F561"},{"Typeface name":"Wingdings 2","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"128354","Unicode hex":"1F562"},{"Typeface name":"Wingdings 2","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"128355","Unicode hex":"1F563"},{"Typeface name":"Wingdings 2","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"128356","Unicode hex":"1F564"},{"Typeface name":"Wingdings 2","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"128357","Unicode hex":"1F565"},{"Typeface name":"Wingdings 2","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"128358","Unicode hex":"1F566"},{"Typeface name":"Wingdings 2","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"128359","Unicode hex":"1F567"},{"Typeface name":"Wingdings 2","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"128616","Unicode hex":"1F668"},{"Typeface name":"Wingdings 2","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"128617","Unicode hex":"1F669"},{"Typeface name":"Wingdings 2","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"8901","Unicode hex":"22C5"},{"Typeface name":"Wingdings 2","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"128900","Unicode hex":"1F784"},{"Typeface name":"Wingdings 2","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"10625","Unicode hex":"2981"},{"Typeface name":"Wingdings 2","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"9679","Unicode hex":"25CF"},{"Typeface name":"Wingdings 2","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"9675","Unicode hex":"25CB"},{"Typeface name":"Wingdings 2","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"128901","Unicode hex":"1F785"},{"Typeface name":"Wingdings 2","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"128903","Unicode hex":"1F787"},{"Typeface name":"Wingdings 2","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"128905","Unicode hex":"1F789"},{"Typeface name":"Wingdings 2","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"8857","Unicode hex":"2299"},{"Typeface name":"Wingdings 2","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"10687","Unicode hex":"29BF"},{"Typeface name":"Wingdings 2","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"128908","Unicode hex":"1F78C"},{"Typeface name":"Wingdings 2","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"128909","Unicode hex":"1F78D"},{"Typeface name":"Wingdings 2","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"9726","Unicode hex":"25FE"},{"Typeface name":"Wingdings 2","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"9632","Unicode hex":"25A0"},{"Typeface name":"Wingdings 2","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"9633","Unicode hex":"25A1"},{"Typeface name":"Wingdings 2","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"128913","Unicode hex":"1F791"},{"Typeface name":"Wingdings 2","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"128914","Unicode hex":"1F792"},{"Typeface name":"Wingdings 2","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"128915","Unicode hex":"1F793"},{"Typeface name":"Wingdings 2","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"128916","Unicode hex":"1F794"},{"Typeface name":"Wingdings 2","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"9635","Unicode hex":"25A3"},{"Typeface name":"Wingdings 2","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"128917","Unicode hex":"1F795"},{"Typeface name":"Wingdings 2","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"128918","Unicode hex":"1F796"},{"Typeface name":"Wingdings 2","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"128919","Unicode hex":"1F797"},{"Typeface name":"Wingdings 2","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"128920","Unicode hex":"1F798"},{"Typeface name":"Wingdings 2","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"11049","Unicode hex":"2B29"},{"Typeface name":"Wingdings 2","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"11045","Unicode hex":"2B25"},{"Typeface name":"Wingdings 2","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"9671","Unicode hex":"25C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"128922","Unicode hex":"1F79A"},{"Typeface name":"Wingdings 2","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"9672","Unicode hex":"25C8"},{"Typeface name":"Wingdings 2","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"128923","Unicode hex":"1F79B"},{"Typeface name":"Wingdings 2","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"128924","Unicode hex":"1F79C"},{"Typeface name":"Wingdings 2","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"128925","Unicode hex":"1F79D"},{"Typeface name":"Wingdings 2","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"128926","Unicode hex":"1F79E"},{"Typeface name":"Wingdings 2","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"11050","Unicode hex":"2B2A"},{"Typeface name":"Wingdings 2","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"11047","Unicode hex":"2B27"},{"Typeface name":"Wingdings 2","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"9674","Unicode hex":"25CA"},{"Typeface name":"Wingdings 2","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"128928","Unicode hex":"1F7A0"},{"Typeface name":"Wingdings 2","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"9686","Unicode hex":"25D6"},{"Typeface name":"Wingdings 2","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"9687","Unicode hex":"25D7"},{"Typeface name":"Wingdings 2","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"11210","Unicode hex":"2BCA"},{"Typeface name":"Wingdings 2","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"11211","Unicode hex":"2BCB"},{"Typeface name":"Wingdings 2","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"11200","Unicode hex":"2BC0"},{"Typeface name":"Wingdings 2","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"11201","Unicode hex":"2BC1"},{"Typeface name":"Wingdings 2","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"11039","Unicode hex":"2B1F"},{"Typeface name":"Wingdings 2","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"11202","Unicode hex":"2BC2"},{"Typeface name":"Wingdings 2","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"11043","Unicode hex":"2B23"},{"Typeface name":"Wingdings 2","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"11042","Unicode hex":"2B22"},{"Typeface name":"Wingdings 2","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"11203","Unicode hex":"2BC3"},{"Typeface name":"Wingdings 2","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"11204","Unicode hex":"2BC4"},{"Typeface name":"Wingdings 2","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"128929","Unicode hex":"1F7A1"},{"Typeface name":"Wingdings 2","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"128930","Unicode hex":"1F7A2"},{"Typeface name":"Wingdings 2","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"128931","Unicode hex":"1F7A3"},{"Typeface name":"Wingdings 2","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"128932","Unicode hex":"1F7A4"},{"Typeface name":"Wingdings 2","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"128933","Unicode hex":"1F7A5"},{"Typeface name":"Wingdings 2","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"128934","Unicode hex":"1F7A6"},{"Typeface name":"Wingdings 2","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"128935","Unicode hex":"1F7A7"},{"Typeface name":"Wingdings 2","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"128936","Unicode hex":"1F7A8"},{"Typeface name":"Wingdings 2","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"128937","Unicode hex":"1F7A9"},{"Typeface name":"Wingdings 2","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"128938","Unicode hex":"1F7AA"},{"Typeface name":"Wingdings 2","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"128939","Unicode hex":"1F7AB"},{"Typeface name":"Wingdings 2","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"128940","Unicode hex":"1F7AC"},{"Typeface name":"Wingdings 2","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"128941","Unicode hex":"1F7AD"},{"Typeface name":"Wingdings 2","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"128942","Unicode hex":"1F7AE"},{"Typeface name":"Wingdings 2","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"128943","Unicode hex":"1F7AF"},{"Typeface name":"Wingdings 2","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"128944","Unicode hex":"1F7B0"},{"Typeface name":"Wingdings 2","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"128945","Unicode hex":"1F7B1"},{"Typeface name":"Wingdings 2","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"128946","Unicode hex":"1F7B2"},{"Typeface name":"Wingdings 2","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"128947","Unicode hex":"1F7B3"},{"Typeface name":"Wingdings 2","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"128948","Unicode hex":"1F7B4"},{"Typeface name":"Wingdings 2","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"128949","Unicode hex":"1F7B5"},{"Typeface name":"Wingdings 2","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"128950","Unicode hex":"1F7B6"},{"Typeface name":"Wingdings 2","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"128951","Unicode hex":"1F7B7"},{"Typeface name":"Wingdings 2","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"128952","Unicode hex":"1F7B8"},{"Typeface name":"Wingdings 2","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"128953","Unicode hex":"1F7B9"},{"Typeface name":"Wingdings 2","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"128954","Unicode hex":"1F7BA"},{"Typeface name":"Wingdings 2","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"128955","Unicode hex":"1F7BB"},{"Typeface name":"Wingdings 2","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"128956","Unicode hex":"1F7BC"},{"Typeface name":"Wingdings 2","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"128957","Unicode hex":"1F7BD"},{"Typeface name":"Wingdings 2","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"128958","Unicode hex":"1F7BE"},{"Typeface name":"Wingdings 2","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"128959","Unicode hex":"1F7BF"},{"Typeface name":"Wingdings 2","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"128960","Unicode hex":"1F7C0"},{"Typeface name":"Wingdings 2","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"128962","Unicode hex":"1F7C2"},{"Typeface name":"Wingdings 2","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"128964","Unicode hex":"1F7C4"},{"Typeface name":"Wingdings 2","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"128966","Unicode hex":"1F7C6"},{"Typeface name":"Wingdings 2","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"128969","Unicode hex":"1F7C9"},{"Typeface name":"Wingdings 2","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"128970","Unicode hex":"1F7CA"},{"Typeface name":"Wingdings 2","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"10038","Unicode hex":"2736"},{"Typeface name":"Wingdings 2","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"128972","Unicode hex":"1F7CC"},{"Typeface name":"Wingdings 2","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"128974","Unicode hex":"1F7CE"},{"Typeface name":"Wingdings 2","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"128976","Unicode hex":"1F7D0"},{"Typeface name":"Wingdings 2","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"128978","Unicode hex":"1F7D2"},{"Typeface name":"Wingdings 2","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"10041","Unicode hex":"2739"},{"Typeface name":"Wingdings 2","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"128963","Unicode hex":"1F7C3"},{"Typeface name":"Wingdings 2","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"128967","Unicode hex":"1F7C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"10031","Unicode hex":"272F"},{"Typeface name":"Wingdings 2","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"128973","Unicode hex":"1F7CD"},{"Typeface name":"Wingdings 2","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"128980","Unicode hex":"1F7D4"},{"Typeface name":"Wingdings 2","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"11212","Unicode hex":"2BCC"},{"Typeface name":"Wingdings 2","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"11213","Unicode hex":"2BCD"},{"Typeface name":"Wingdings 2","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"8251","Unicode hex":"203B"},{"Typeface name":"Wingdings 2","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"8258","Unicode hex":"2042"},{"Typeface name":"Wingdings 3","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Wingdings 3","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"11104","Unicode hex":"2B60"},{"Typeface name":"Wingdings 3","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"11106","Unicode hex":"2B62"},{"Typeface name":"Wingdings 3","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"11105","Unicode hex":"2B61"},{"Typeface name":"Wingdings 3","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"11107","Unicode hex":"2B63"},{"Typeface name":"Wingdings 3","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"11110","Unicode hex":"2B66"},{"Typeface name":"Wingdings 3","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"11111","Unicode hex":"2B67"},{"Typeface name":"Wingdings 3","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"11113","Unicode hex":"2B69"},{"Typeface name":"Wingdings 3","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"11112","Unicode hex":"2B68"},{"Typeface name":"Wingdings 3","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"11120","Unicode hex":"2B70"},{"Typeface name":"Wingdings 3","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"11122","Unicode hex":"2B72"},{"Typeface name":"Wingdings 3","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"11121","Unicode hex":"2B71"},{"Typeface name":"Wingdings 3","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"11123","Unicode hex":"2B73"},{"Typeface name":"Wingdings 3","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"11126","Unicode hex":"2B76"},{"Typeface name":"Wingdings 3","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"11128","Unicode hex":"2B78"},{"Typeface name":"Wingdings 3","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"11131","Unicode hex":"2B7B"},{"Typeface name":"Wingdings 3","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"11133","Unicode hex":"2B7D"},{"Typeface name":"Wingdings 3","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"11108","Unicode hex":"2B64"},{"Typeface name":"Wingdings 3","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"11109","Unicode hex":"2B65"},{"Typeface name":"Wingdings 3","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"11114","Unicode hex":"2B6A"},{"Typeface name":"Wingdings 3","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"11116","Unicode hex":"2B6C"},{"Typeface name":"Wingdings 3","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"11115","Unicode hex":"2B6B"},{"Typeface name":"Wingdings 3","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"11117","Unicode hex":"2B6D"},{"Typeface name":"Wingdings 3","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"11085","Unicode hex":"2B4D"},{"Typeface name":"Wingdings 3","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"11168","Unicode hex":"2BA0"},{"Typeface name":"Wingdings 3","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"11169","Unicode hex":"2BA1"},{"Typeface name":"Wingdings 3","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"11170","Unicode hex":"2BA2"},{"Typeface name":"Wingdings 3","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"11171","Unicode hex":"2BA3"},{"Typeface name":"Wingdings 3","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"11172","Unicode hex":"2BA4"},{"Typeface name":"Wingdings 3","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"11173","Unicode hex":"2BA5"},{"Typeface name":"Wingdings 3","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"11174","Unicode hex":"2BA6"},{"Typeface name":"Wingdings 3","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"11175","Unicode hex":"2BA7"},{"Typeface name":"Wingdings 3","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"11152","Unicode hex":"2B90"},{"Typeface name":"Wingdings 3","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"11153","Unicode hex":"2B91"},{"Typeface name":"Wingdings 3","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"11154","Unicode hex":"2B92"},{"Typeface name":"Wingdings 3","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"11155","Unicode hex":"2B93"},{"Typeface name":"Wingdings 3","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"11136","Unicode hex":"2B80"},{"Typeface name":"Wingdings 3","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"11139","Unicode hex":"2B83"},{"Typeface name":"Wingdings 3","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"11134","Unicode hex":"2B7E"},{"Typeface name":"Wingdings 3","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"11135","Unicode hex":"2B7F"},{"Typeface name":"Wingdings 3","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"11140","Unicode hex":"2B84"},{"Typeface name":"Wingdings 3","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"11142","Unicode hex":"2B86"},{"Typeface name":"Wingdings 3","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"11141","Unicode hex":"2B85"},{"Typeface name":"Wingdings 3","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"11143","Unicode hex":"2B87"},{"Typeface name":"Wingdings 3","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"11151","Unicode hex":"2B8F"},{"Typeface name":"Wingdings 3","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"11149","Unicode hex":"2B8D"},{"Typeface name":"Wingdings 3","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"11150","Unicode hex":"2B8E"},{"Typeface name":"Wingdings 3","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"11148","Unicode hex":"2B8C"},{"Typeface name":"Wingdings 3","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"11118","Unicode hex":"2B6E"},{"Typeface name":"Wingdings 3","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"11119","Unicode hex":"2B6F"},{"Typeface name":"Wingdings 3","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"9099","Unicode hex":"238B"},{"Typeface name":"Wingdings 3","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"8996","Unicode hex":"2324"},{"Typeface name":"Wingdings 3","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"8963","Unicode hex":"2303"},{"Typeface name":"Wingdings 3","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"8997","Unicode hex":"2325"},{"Typeface name":"Wingdings 3","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"9251","Unicode hex":"2423"},{"Typeface name":"Wingdings 3","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"9085","Unicode hex":"237D"},{"Typeface name":"Wingdings 3","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"8682","Unicode hex":"21EA"},{"Typeface name":"Wingdings 3","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"11192","Unicode hex":"2BB8"},{"Typeface name":"Wingdings 3","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"129184","Unicode hex":"1F8A0"},{"Typeface name":"Wingdings 3","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"129185","Unicode hex":"1F8A1"},{"Typeface name":"Wingdings 3","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"129186","Unicode hex":"1F8A2"},{"Typeface name":"Wingdings 3","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"129187","Unicode hex":"1F8A3"},{"Typeface name":"Wingdings 3","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"129188","Unicode hex":"1F8A4"},{"Typeface name":"Wingdings 3","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"129189","Unicode hex":"1F8A5"},{"Typeface name":"Wingdings 3","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"129190","Unicode hex":"1F8A6"},{"Typeface name":"Wingdings 3","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"129191","Unicode hex":"1F8A7"},{"Typeface name":"Wingdings 3","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"129192","Unicode hex":"1F8A8"},{"Typeface name":"Wingdings 3","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"129193","Unicode hex":"1F8A9"},{"Typeface name":"Wingdings 3","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"129194","Unicode hex":"1F8AA"},{"Typeface name":"Wingdings 3","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"129195","Unicode hex":"1F8AB"},{"Typeface name":"Wingdings 3","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"129104","Unicode hex":"1F850"},{"Typeface name":"Wingdings 3","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"129106","Unicode hex":"1F852"},{"Typeface name":"Wingdings 3","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"129105","Unicode hex":"1F851"},{"Typeface name":"Wingdings 3","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"129107","Unicode hex":"1F853"},{"Typeface name":"Wingdings 3","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"129108","Unicode hex":"1F854"},{"Typeface name":"Wingdings 3","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"129109","Unicode hex":"1F855"},{"Typeface name":"Wingdings 3","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"129111","Unicode hex":"1F857"},{"Typeface name":"Wingdings 3","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"129110","Unicode hex":"1F856"},{"Typeface name":"Wingdings 3","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"129112","Unicode hex":"1F858"},{"Typeface name":"Wingdings 3","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"129113","Unicode hex":"1F859"},{"Typeface name":"Wingdings 3","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"9650","Unicode hex":"25B2"},{"Typeface name":"Wingdings 3","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"9660","Unicode hex":"25BC"},{"Typeface name":"Wingdings 3","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"9651","Unicode hex":"25B3"},{"Typeface name":"Wingdings 3","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"9661","Unicode hex":"25BD"},{"Typeface name":"Wingdings 3","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"9664","Unicode hex":"25C0"},{"Typeface name":"Wingdings 3","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"9654","Unicode hex":"25B6"},{"Typeface name":"Wingdings 3","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"9665","Unicode hex":"25C1"},{"Typeface name":"Wingdings 3","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"9655","Unicode hex":"25B7"},{"Typeface name":"Wingdings 3","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"9699","Unicode hex":"25E3"},{"Typeface name":"Wingdings 3","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"9698","Unicode hex":"25E2"},{"Typeface name":"Wingdings 3","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"9700","Unicode hex":"25E4"},{"Typeface name":"Wingdings 3","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"9701","Unicode hex":"25E5"},{"Typeface name":"Wingdings 3","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"128896","Unicode hex":"1F780"},{"Typeface name":"Wingdings 3","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"128898","Unicode hex":"1F782"},{"Typeface name":"Wingdings 3","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"128897","Unicode hex":"1F781"},{"Typeface name":"Wingdings 3","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"128899","Unicode hex":"1F783"},{"Typeface name":"Wingdings 3","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"11205","Unicode hex":"2BC5"},{"Typeface name":"Wingdings 3","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"11206","Unicode hex":"2BC6"},{"Typeface name":"Wingdings 3","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"11207","Unicode hex":"2BC7"},{"Typeface name":"Wingdings 3","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"11208","Unicode hex":"2BC8"},{"Typeface name":"Wingdings 3","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"11164","Unicode hex":"2B9C"},{"Typeface name":"Wingdings 3","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"11166","Unicode hex":"2B9E"},{"Typeface name":"Wingdings 3","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"11165","Unicode hex":"2B9D"},{"Typeface name":"Wingdings 3","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"11167","Unicode hex":"2B9F"},{"Typeface name":"Wingdings 3","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"129040","Unicode hex":"1F810"},{"Typeface name":"Wingdings 3","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"129042","Unicode hex":"1F812"},{"Typeface name":"Wingdings 3","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"129041","Unicode hex":"1F811"},{"Typeface name":"Wingdings 3","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"129043","Unicode hex":"1F813"},{"Typeface name":"Wingdings 3","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"129044","Unicode hex":"1F814"},{"Typeface name":"Wingdings 3","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"129046","Unicode hex":"1F816"},{"Typeface name":"Wingdings 3","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"129045","Unicode hex":"1F815"},{"Typeface name":"Wingdings 3","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"129047","Unicode hex":"1F817"},{"Typeface name":"Wingdings 3","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"129048","Unicode hex":"1F818"},{"Typeface name":"Wingdings 3","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"129050","Unicode hex":"1F81A"},{"Typeface name":"Wingdings 3","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"129049","Unicode hex":"1F819"},{"Typeface name":"Wingdings 3","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"129051","Unicode hex":"1F81B"},{"Typeface name":"Wingdings 3","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"129052","Unicode hex":"1F81C"},{"Typeface name":"Wingdings 3","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"129054","Unicode hex":"1F81E"},{"Typeface name":"Wingdings 3","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"129053","Unicode hex":"1F81D"},{"Typeface name":"Wingdings 3","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"129055","Unicode hex":"1F81F"},{"Typeface name":"Wingdings 3","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"129024","Unicode hex":"1F800"},{"Typeface name":"Wingdings 3","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"129026","Unicode hex":"1F802"},{"Typeface name":"Wingdings 3","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"129025","Unicode hex":"1F801"},{"Typeface name":"Wingdings 3","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"129027","Unicode hex":"1F803"},{"Typeface name":"Wingdings 3","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"129028","Unicode hex":"1F804"},{"Typeface name":"Wingdings 3","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"129030","Unicode hex":"1F806"},{"Typeface name":"Wingdings 3","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"129029","Unicode hex":"1F805"},{"Typeface name":"Wingdings 3","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"129031","Unicode hex":"1F807"},{"Typeface name":"Wingdings 3","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"129032","Unicode hex":"1F808"},{"Typeface name":"Wingdings 3","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"129034","Unicode hex":"1F80A"},{"Typeface name":"Wingdings 3","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"129033","Unicode hex":"1F809"},{"Typeface name":"Wingdings 3","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"129035","Unicode hex":"1F80B"},{"Typeface name":"Wingdings 3","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"129056","Unicode hex":"1F820"},{"Typeface name":"Wingdings 3","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"129058","Unicode hex":"1F822"},{"Typeface name":"Wingdings 3","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"129060","Unicode hex":"1F824"},{"Typeface name":"Wingdings 3","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"129062","Unicode hex":"1F826"},{"Typeface name":"Wingdings 3","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"129064","Unicode hex":"1F828"},{"Typeface name":"Wingdings 3","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"129066","Unicode hex":"1F82A"},{"Typeface name":"Wingdings 3","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"129068","Unicode hex":"1F82C"},{"Typeface name":"Wingdings 3","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"129180","Unicode hex":"1F89C"},{"Typeface name":"Wingdings 3","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"129181","Unicode hex":"1F89D"},{"Typeface name":"Wingdings 3","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"129182","Unicode hex":"1F89E"},{"Typeface name":"Wingdings 3","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"129183","Unicode hex":"1F89F"},{"Typeface name":"Wingdings 3","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"129070","Unicode hex":"1F82E"},{"Typeface name":"Wingdings 3","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"129072","Unicode hex":"1F830"},{"Typeface name":"Wingdings 3","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"129074","Unicode hex":"1F832"},{"Typeface name":"Wingdings 3","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"129076","Unicode hex":"1F834"},{"Typeface name":"Wingdings 3","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"129078","Unicode hex":"1F836"},{"Typeface name":"Wingdings 3","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"129080","Unicode hex":"1F838"},{"Typeface name":"Wingdings 3","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"129082","Unicode hex":"1F83A"},{"Typeface name":"Wingdings 3","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"129081","Unicode hex":"1F839"},{"Typeface name":"Wingdings 3","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"129083","Unicode hex":"1F83B"},{"Typeface name":"Wingdings 3","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"129176","Unicode hex":"1F898"},{"Typeface name":"Wingdings 3","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"129178","Unicode hex":"1F89A"},{"Typeface name":"Wingdings 3","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"129177","Unicode hex":"1F899"},{"Typeface name":"Wingdings 3","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"129179","Unicode hex":"1F89B"},{"Typeface name":"Wingdings 3","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"129084","Unicode hex":"1F83C"},{"Typeface name":"Wingdings 3","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"129086","Unicode hex":"1F83E"},{"Typeface name":"Wingdings 3","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"129085","Unicode hex":"1F83D"},{"Typeface name":"Wingdings 3","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"129087","Unicode hex":"1F83F"},{"Typeface name":"Wingdings 3","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"129088","Unicode hex":"1F840"},{"Typeface name":"Wingdings 3","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"129090","Unicode hex":"1F842"},{"Typeface name":"Wingdings 3","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"129089","Unicode hex":"1F841"},{"Typeface name":"Wingdings 3","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"129091","Unicode hex":"1F843"},{"Typeface name":"Wingdings 3","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"129092","Unicode hex":"1F844"},{"Typeface name":"Wingdings 3","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"129094","Unicode hex":"1F846"},{"Typeface name":"Wingdings 3","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"129093","Unicode hex":"1F845"},{"Typeface name":"Wingdings 3","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"129095","Unicode hex":"1F847"},{"Typeface name":"Wingdings 3","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"11176","Unicode hex":"2BA8"},{"Typeface name":"Wingdings 3","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"11177","Unicode hex":"2BA9"},{"Typeface name":"Wingdings 3","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"11178","Unicode hex":"2BAA"},{"Typeface name":"Wingdings 3","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"11179","Unicode hex":"2BAB"},{"Typeface name":"Wingdings 3","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"11180","Unicode hex":"2BAC"},{"Typeface name":"Wingdings 3","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"11181","Unicode hex":"2BAD"},{"Typeface name":"Wingdings 3","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"11182","Unicode hex":"2BAE"},{"Typeface name":"Wingdings 3","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"11183","Unicode hex":"2BAF"},{"Typeface name":"Wingdings 3","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"129120","Unicode hex":"1F860"},{"Typeface name":"Wingdings 3","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"129122","Unicode hex":"1F862"},{"Typeface name":"Wingdings 3","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"129121","Unicode hex":"1F861"},{"Typeface name":"Wingdings 3","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"129123","Unicode hex":"1F863"},{"Typeface name":"Wingdings 3","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"129124","Unicode hex":"1F864"},{"Typeface name":"Wingdings 3","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"129125","Unicode hex":"1F865"},{"Typeface name":"Wingdings 3","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"129127","Unicode hex":"1F867"},{"Typeface name":"Wingdings 3","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"129126","Unicode hex":"1F866"},{"Typeface name":"Wingdings 3","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"129136","Unicode hex":"1F870"},{"Typeface name":"Wingdings 3","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"129138","Unicode hex":"1F872"},{"Typeface name":"Wingdings 3","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"129137","Unicode hex":"1F871"},{"Typeface name":"Wingdings 3","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"129139","Unicode hex":"1F873"},{"Typeface name":"Wingdings 3","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"129140","Unicode hex":"1F874"},{"Typeface name":"Wingdings 3","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"129141","Unicode hex":"1F875"},{"Typeface name":"Wingdings 3","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"129143","Unicode hex":"1F877"},{"Typeface name":"Wingdings 3","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"129142","Unicode hex":"1F876"},{"Typeface name":"Wingdings 3","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"129152","Unicode hex":"1F880"},{"Typeface name":"Wingdings 3","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"129154","Unicode hex":"1F882"},{"Typeface name":"Wingdings 3","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"129153","Unicode hex":"1F881"},{"Typeface name":"Wingdings 3","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"129155","Unicode hex":"1F883"},{"Typeface name":"Wingdings 3","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"129156","Unicode hex":"1F884"},{"Typeface name":"Wingdings 3","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"129157","Unicode hex":"1F885"},{"Typeface name":"Wingdings 3","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"129159","Unicode hex":"1F887"},{"Typeface name":"Wingdings 3","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"129158","Unicode hex":"1F886"},{"Typeface name":"Wingdings 3","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"129168","Unicode hex":"1F890"},{"Typeface name":"Wingdings 3","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"129170","Unicode hex":"1F892"},{"Typeface name":"Wingdings 3","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"129169","Unicode hex":"1F891"},{"Typeface name":"Wingdings 3","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"129171","Unicode hex":"1F893"},{"Typeface name":"Wingdings 3","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"129172","Unicode hex":"1F894"},{"Typeface name":"Wingdings 3","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"129174","Unicode hex":"1F896"},{"Typeface name":"Wingdings 3","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"129173","Unicode hex":"1F895"},{"Typeface name":"Wingdings 3","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"129175","Unicode hex":"1F897"}];f4.default=wY;var DY=Ke&&Ke.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Do,"__esModule",{value:!0});Do.hex=Do.dec=Do.codePoint=void 0;var kY=DY(f4),sU={},_Y=String.fromCodePoint?String.fromCodePoint:CY;for(var j1=0,I8=kY.default;j10&&(le=r.concat(le),r=[]),wn.map(f(de),u(le),function(oe,G){return new Dt.Paragraph(G,oe)}).insertExtra()},"w:r":function(ae){return wn.map(v(ae.firstOrEmpty("w:rPr")),u(ae.children),function(de,C){var le=N();return le!==null&&(C=[new Dt.Hyperlink(C,le)]),new Dt.Run(C,de)})},"w:fldChar":_,"w:instrText":K,"w:t":function(ae){return fr(new Dt.Text(ae.text()))},"w:tab":function(ae){return fr(new Dt.Tab)},"w:noBreakHyphen":function(){return fr(new Dt.Text("‑"))},"w:softHyphen":function(ae){return fr(new Dt.Text("­"))},"w:sym":A,"w:hyperlink":function(ae){var de=ae.attributes["r:id"],C=ae.attributes["w:anchor"];return u(ae.children).map(function(le){function oe(H){var te=ae.attributes["w:tgtFrame"]||null;return new Dt.Hyperlink(le,Mr.extend({targetFrame:te},H))}if(de){var G=i.findTargetByRelationshipId(de);return C&&(G=L8.replaceFragment(G,C)),oe({href:G})}else return C?oe({anchor:C}):le})},"w:tbl":z,"w:tr":M,"w:tc":F,"w:footnoteReference":q("footnote"),"w:endnoteReference":q("endnote"),"w:commentReference":T,"w:br":function(ae){var de=ae.attributes["w:type"];return de==null||de==="textWrapping"?fr(Dt.lineBreak):de==="page"?fr(Dt.pageBreak):de==="column"?fr(Dt.columnBreak):lu([Ji("Unsupported break type: "+de)])},"w:bookmarkStart":function(ae){var de=ae.attributes["w:name"];return de==="_GoBack"?cl():fr(new Dt.BookmarkStart({name:de}))},"mc:AlternateContent":function(ae){return X(ae.firstOrEmpty("mc:Fallback"))},"w:sdt":function(ae){var de=u(ae.firstOrEmpty("w:sdtContent").children);return de.map(function(C){var le=ae.firstOrEmpty("w:sdtPr").first("wordml:checkbox");if(le){var oe=le.first("wordml:checked"),G=!!oe&&m(oe.attributes["wordml:val"]),H=Dt.checkbox({checked:G}),te=!1,ue=C.map(j8._elementsOfType(Dt.types.text,function(ge){return ge.value.length>0&&!te?(te=!0,H):ge}));return te?ue:H}else return C})},"w:ins":X,"w:object":X,"w:smartTag":X,"w:drawing":X,"w:pict":function(ae){return X(ae).toExtra()},"v:roundrect":X,"v:shape":X,"v:textbox":X,"w:txbxContent":X,"wp:inline":ne,"wp:anchor":ne,"v:imagedata":Se,"v:group":X,"v:rect":X};return{readXmlElement:d,readXmlElements:u};function z(ae){var de=P(ae.firstOrEmpty("w:tblPr"));return u(ae.children).flatMap(V).flatMap(function(C){return de.map(function(le){return Dt.Table(C,le)})})}function P(ae){return D(ae).map(function(de){return{styleId:de.styleId,styleName:de.name}})}function M(ae){var de=ae.firstOrEmpty("w:trPr"),C=!!de.first("w:del");if(C)return cl();var le=!!de.first("w:tblHeader");return u(ae.children).map(function(oe){return Dt.TableRow(oe,{isHeader:le})})}function F(ae){return u(ae.children).map(function(de){var C=ae.firstOrEmpty("w:tcPr"),le=C.firstOrEmpty("w:gridSpan").attributes["w:val"],oe=le?parseInt(le,10):1,G=Dt.TableCell(de,{colSpan:oe});return G._vMerge=$(C),G})}function $(ae){var de=ae.first("w:vMerge");if(de){var C=de.attributes["w:val"];return C==="continue"||!C}else return null}function V(ae){var de=Mr.any(ae,function(oe){return oe.type!==Dt.types.tableRow});if(de)return U(ae),Zh(ae,[Ji("unexpected non-row element in table, cell merging may be incorrect")]);var C=Mr.any(ae,function(oe){return Mr.any(oe.children,function(G){return G.type!==Dt.types.tableCell})});if(C)return U(ae),Zh(ae,[Ji("unexpected non-cell element in table row, cell merging may be incorrect")]);var le={};return ae.forEach(function(oe){var G=0;oe.children.forEach(function(H){H._vMerge&&le[G]?le[G].rowSpan++:(le[G]=H,H._vMerge=!1),G+=H.colSpan})}),ae.forEach(function(oe){oe.children=oe.children.filter(function(G){return!G._vMerge}),oe.children.forEach(function(G){delete G._vMerge})}),fr(ae)}function U(ae){ae.forEach(function(de){var C=j8.getDescendantsOfType(de,Dt.types.tableCell);C.forEach(function(le){delete le._vMerge})})}function ne(ae){var de=ae.getElementsByTagName("a:graphic").getElementsByTagName("a:graphicData").getElementsByTagName("pic:pic").getElementsByTagName("pic:blipFill").getElementsByTagName("a:blip");return W8(de.map(ce.bind(null,ae)))}function ce(ae,de){var C=ae.firstOrEmpty("wp:docPr"),le=C.attributes,oe=me(le.descr)?le.title:le.descr,G=fe(de);return G===null?lu([Ji("Could not find image file for a:blip element")]):Pe(G,oe).map(function(H){var te=C.firstOrEmpty("a:hlinkClick"),ue=te.attributes["r:id"];if(ue){var ge=i.findTargetByRelationshipId(ue);return new Dt.Hyperlink([H],{href:ge})}else return H})}function me(ae){return ae==null||/^\s*$/.test(ae)}function fe(ae){var de=ae.attributes["r:embed"],C=ae.attributes["r:link"];if(de)return Ae(de);if(C){var le=i.findTargetByRelationshipId(C);return{path:le,read:s.read.bind(s,le)}}else return null}function Se(ae){var de=ae.attributes["r:id"];return de?Pe(Ae(de),ae.attributes["o:title"]):lu([Ji("A v:imagedata element without a relationship ID was ignored")])}function Ae(ae){var de=L8.uriToZipEntryName("word",i.findTargetByRelationshipId(ae));return{path:de,read:o.read.bind(o,de)}}function Pe(ae,de){var C=a.findContentType(ae.path),le=Dt.Image({readImage:ae.read,altText:de,contentType:C}),oe=PY[C]?[]:Ji("Image of type "+C+" is unlikely to display in web browsers");return Zh(le,oe)}function Me(ae,de){return Ji(ae+" style with ID "+de+" was referenced but not defined in the document")}}function hU(e,t,n){var r=t.firstOrEmpty("w:ilvl").attributes["w:val"],i=t.firstOrEmpty("w:numId").attributes["w:val"];if(r!==void 0&&i!==void 0)return n.findLevel(i,r);if(e!=null){var a=n.findLevelByParagraphStyleId(e);if(a!=null)return a}return i!==void 0?n.findLevel(i,"0"):null}var PY={"image/png":!0,"image/gif":!0,"image/jpeg":!0,"image/svg+xml":!0,"image/tiff":!0},BY={"office-word:wrap":!0,"v:shadow":!0,"v:shapetype":!0,"w:annotationRef":!0,"w:bookmarkEnd":!0,"w:sectPr":!0,"w:proofErr":!0,"w:lastRenderedPageBreak":!0,"w:commentRangeStart":!0,"w:commentRangeEnd":!0,"w:del":!0,"w:footnoteRef":!0,"w:endnoteRef":!0,"w:pPr":!0,"w:rPr":!0,"w:tblPr":!0,"w:tblGrid":!0,"w:trPr":!0,"w:tcPr":!0};function lu(e){return new wn(null,null,e)}function cl(){return new wn(null)}function fr(e){return new wn(e)}function Zh(e,t){return new wn(e,null,t)}function wn(e,t,n){this.value=e||[],this.extra=t||[],this._result=new dU({element:this.value,extra:t},n),this.messages=this._result.messages}wn.prototype.toExtra=function(){return new wn(null,cm(this.extra,this.value),this.messages)};wn.prototype.insertExtra=function(){var e=this.extra;return e&&e.length?new wn(cm(this.value,e),null,this.messages):this};wn.prototype.map=function(e){var t=this._result.map(function(n){return e(n.element)});return new wn(t.value,this.extra,t.messages)};wn.prototype.flatMap=function(e){var t=this._result.flatMap(function(n){return e(n.element)._result});return new wn(t.value.element,cm(this.extra,t.value.extra),t.messages)};wn.map=function(e,t,n){return new wn(n(e.value,t.value),cm(e.extra,t.extra),e.messages.concat(t.messages))};function W8(e){var t=dU.combine(Mr.pluck(e,"_result"));return new wn(Mr.flatten(Mr.pluck(t.value,"element")),Mr.filter(Mr.flatten(Mr.pluck(t.value,"extra")),MY),t.messages)}function cm(e,t){return Mr.flatten([e,t])}function MY(e){return e}var fU={};fU.DocumentXmlReader=zY;var jY=it,LY=Ur.Result;function zY(e){var t=e.bodyReader;function n(r){var i=r.first("w:body");if(i==null)throw new Error("Could not find the body element: are you sure this is a docx file?");var a=t.readXmlElements(i.children).map(function(o){return new jY.Document(o,{notes:e.notes,comments:e.comments})});return new LY(a.value,a.messages)}return{convertXmlToDocument:n}}var um={};um.readRelationships=WY;um.defaultValue=new v4([]);um.Relationships=v4;function WY(e){var t=[];return e.children.forEach(function(n){if(n.name==="relationships:Relationship"){var r={relationshipId:n.attributes.Id,target:n.attributes.Target,type:n.attributes.Type};t.push(r)}}),new v4(t)}function v4(e){var t={};e.forEach(function(r){t[r.relationshipId]=r.target});var n={};return e.forEach(function(r){n[r.type]||(n[r.type]=[]),n[r.type].push(r.target)}),{findTargetByRelationshipId:function(r){return t[r]},findTargetsByType:function(r){return n[r]||[]}}}var y4={};y4.readContentTypesFromXml=qY;var $Y={png:"png",gif:"gif",jpeg:"jpeg",jpg:"jpeg",tif:"tiff",tiff:"tiff",bmp:"bmp"};y4.defaultContentTypes=pU({},{});function qY(e){var t={},n={};return e.children.forEach(function(r){if(r.name==="content-types:Default"&&(t[r.attributes.Extension]=r.attributes.ContentType),r.name==="content-types:Override"){var i=r.attributes.PartName;i.charAt(0)==="/"&&(i=i.substring(1)),n[i]=r.attributes.ContentType}}),pU(n,t)}function pU(e,t){return{findContentType:function(n){var r=e[n];if(r)return r;var i=n.split("."),a=i[i.length-1];if(t.hasOwnProperty(a))return t[a];var o=$Y[a.toLowerCase()];return o?"image/"+o:null}}}var dm={},ef=Gt;dm.readNumberingXml=HY;dm.Numbering=b4;dm.defaultNumbering=new b4({},{});function b4(e,t,n){var r=ef.flatten(ef.values(t).map(function(s){return ef.values(s.levels)})),i=ef.indexBy(r.filter(function(s){return s.paragraphStyleId!=null}),"paragraphStyleId");function a(s,l){var c=e[s];if(c){var u=t[c.abstractNumId];if(u){if(u.numStyleLink==null)return t[c.abstractNumId].levels[l];var d=n.findNumberingStyleById(u.numStyleLink);return a(d.numId,l)}else return null}else return null}function o(s){return i[s]||null}return{findLevel:a,findLevelByParagraphStyleId:o}}function HY(e,t){if(!t||!t.styles)throw new Error("styles is missing");var n=VY(e),r=XY(e);return new b4(r,n,t.styles)}function VY(e){var t={};return e.getElementsByTagName("w:abstractNum").forEach(function(n){var r=n.attributes["w:abstractNumId"];t[r]=GY(n)}),t}function GY(e){var t={},n=null;e.getElementsByTagName("w:lvl").forEach(function(i){var a=i.attributes["w:ilvl"],o=i.firstOrEmpty("w:numFmt").attributes["w:val"],s=o!=="bullet",l=i.firstOrEmpty("w:pStyle").attributes["w:val"];a===void 0?n={isOrdered:s,level:"0",paragraphStyleId:l}:t[a]={isOrdered:s,level:a,paragraphStyleId:l}}),n!==null&&t[n.level]===void 0&&(t[n.level]=n);var r=e.firstOrEmpty("w:numStyleLink").attributes["w:val"];return{levels:t,numStyleLink:r}}function XY(e){var t={};return e.getElementsByTagName("w:num").forEach(function(n){var r=n.attributes["w:numId"],i=n.first("w:abstractNumId").attributes["w:val"];t[r]={abstractNumId:i}}),t}var hm={};hm.readStylesXml=KY;hm.Styles=_d;hm.defaultStyles=new _d({},{});function _d(e,t,n,r){return{findParagraphStyleById:function(i){return e[i]},findCharacterStyleById:function(i){return t[i]},findTableStyleById:function(i){return n[i]},findNumberingStyleById:function(i){return r[i]}}}_d.EMPTY=new _d({},{},{},{});function KY(e){var t={},n={},r={},i={},a={paragraph:t,character:n,table:r,numbering:i};return e.getElementsByTagName("w:style").forEach(function(o){var s=YY(o),l=a[s.type];l&&l[s.styleId]===void 0&&(l[s.styleId]=s)}),new _d(t,n,r,i)}function YY(e){var t=e.attributes["w:type"];if(t==="numbering")return QY(t,e);var n=mU(e),r=JY(e);return{type:t,styleId:n,name:r}}function JY(e){var t=e.first("w:name");return t?t.attributes["w:val"]:null}function QY(e,t){var n=mU(t),r=t.firstOrEmpty("w:pPr").firstOrEmpty("w:numPr").firstOrEmpty("w:numId").attributes["w:val"];return{type:e,numId:r,styleId:n}}function mU(e){return e.attributes["w:styleId"]}var x4={},ZY=it,eJ=Ur.Result;x4.createFootnotesReader=gU.bind(Ke,"footnote");x4.createEndnotesReader=gU.bind(Ke,"endnote");function gU(e,t){function n(a){return eJ.combine(a.getElementsByTagName("w:"+e).filter(r).map(i))}function r(a){var o=a.attributes["w:type"];return o!=="continuationSeparator"&&o!=="separator"}function i(a){var o=a.attributes["w:id"];return t.readXmlElements(a.children).map(function(s){return ZY.Note({noteType:e,noteId:o,body:s})})}return n}var vU={},tJ=it,nJ=Ur.Result;function rJ(e){function t(r){return nJ.combine(r.getElementsByTagName("w:comment").map(n))}function n(r){var i=r.attributes["w:id"];function a(o){return(r.attributes[o]||"").trim()||null}return e.readXmlElements(r.children).map(function(o){return tJ.comment({commentId:i,body:o,authorName:a("w:author"),authorInitials:a("w:initials")})})}return t}vU.createCommentsReader=rJ;var yU={},iJ=fn;yU.Files=aJ;function aJ(){function e(t){return iJ.reject(new Error("could not open external image: '"+t+`' +cannot open linked files from a web browser`))}return{read:e}}Vx.read=hJ;Vx._findPartPaths=xU;var oJ=fn,sJ=it,z1=Ur.Result,M0=Zd,bU=Kx.readXmlFromZipFile,lJ=h4.createBodyReader,cJ=fU.DocumentXmlReader,vc=um,$8=y4,q8=dm,H8=hm,V8=x4,uJ=vU,dJ=yU.Files;function hJ(e,t,n){t=t||{},n=n||{};var r=new dJ({externalFileAccess:n.externalFileAccess,relativeToFile:t.path});return oJ.props({contentTypes:pJ(e),partPaths:xU(e),docxFile:e,files:r}).also(function(i){return{styles:gJ(e,i.partPaths.styles)}}).also(function(i){return{numbering:mJ(e,i.partPaths.numbering,i.styles)}}).also(function(i){return{footnotes:tf(i.partPaths.footnotes,i,function(a,o){return o?V8.createFootnotesReader(a)(o):new z1([])}),endnotes:tf(i.partPaths.endnotes,i,function(a,o){return o?V8.createEndnotesReader(a)(o):new z1([])}),comments:tf(i.partPaths.comments,i,function(a,o){return o?uJ.createCommentsReader(a)(o):new z1([])})}}).also(function(i){return{notes:i.footnotes.flatMap(function(a){return i.endnotes.map(function(o){return new sJ.Notes(a.concat(o))})})}}).then(function(i){return tf(i.partPaths.mainDocument,i,function(a,o){return i.notes.flatMap(function(s){return i.comments.flatMap(function(l){var c=new cJ({bodyReader:a,notes:s,comments:l});return c.convertXmlToDocument(o)})})})})}function xU(e){return vJ(e).then(function(t){var n=G8({docxFile:e,relationships:t,relationshipType:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",basePath:"",fallbackPath:"word/document.xml"});if(!e.exists(n))throw new Error("Could not find main document part. Are you sure this is a valid .docx file?");return Lc({filename:wU(n),readElement:vc.readRelationships,defaultValue:vc.defaultValue})(e).then(function(r){function i(a){return G8({docxFile:e,relationships:r,relationshipType:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/"+a,basePath:M0.splitPath(n).dirname,fallbackPath:"word/"+a+".xml"})}return{mainDocument:n,comments:i("comments"),endnotes:i("endnotes"),footnotes:i("footnotes"),numbering:i("numbering"),styles:i("styles")}})})}function G8(e){var t=e.docxFile,n=e.relationships,r=e.relationshipType,i=e.basePath,a=e.fallbackPath,o=n.findTargetsByType(r),s=o.map(function(c){return fJ(M0.joinPath(i,c),"/")}),l=s.filter(function(c){return t.exists(c)});return l.length===0?a:l[0]}function fJ(e,t){return e.substring(0,t.length)===t?e.substring(t.length):e}function Lc(e){return function(t){return bU(t,e.filename).then(function(n){return n?e.readElement(n):e.defaultValue})}}function tf(e,t,n){var r=Lc({filename:wU(e),readElement:vc.readRelationships,defaultValue:vc.defaultValue});return r(t.docxFile).then(function(i){var a=new lJ({relationships:i,contentTypes:t.contentTypes,docxFile:t.docxFile,numbering:t.numbering,styles:t.styles,files:t.files});return bU(t.docxFile,e).then(function(o){return n(a,o)})})}function wU(e){var t=M0.splitPath(e);return M0.joinPath(t.dirname,"_rels",t.basename+".rels")}var pJ=Lc({filename:"[Content_Types].xml",readElement:$8.readContentTypesFromXml,defaultValue:$8.defaultContentTypes});function mJ(e,t,n){return Lc({filename:t,readElement:function(r){return q8.readNumberingXml(r,{styles:n})},defaultValue:q8.defaultNumbering})(e)}function gJ(e,t){return Lc({filename:t,readElement:H8.readStylesXml,defaultValue:H8.defaultStyles})(e)}var vJ=Lc({filename:"_rels/.rels",readElement:vc.readRelationships,defaultValue:vc.defaultValue}),w4={},yJ=Gt,bJ=fn,Td=Ca;w4.writeStyleMap=wJ;w4.readStyleMap=_J;var xJ="http://schemas.zwobble.org/mammoth/style-map",j0="mammoth/style-map",DU="/"+j0;function wJ(e,t){return e.write(j0,t),DJ(e).then(function(){return kJ(e)})}function DJ(e){var t="word/_rels/document.xml.rels",n="http://schemas.openxmlformats.org/package/2006/relationships",r="{"+n+"}Relationship";return e.read(t,"utf8").then(Td.readString).then(function(i){var a=i.children;kU(a,r,"Id",{Id:"rMammothStyleMap",Type:xJ,Target:DU});var o={"":n};return e.write(t,Td.writeString(i,o))})}function kJ(e){var t="[Content_Types].xml",n="http://schemas.openxmlformats.org/package/2006/content-types",r="{"+n+"}Override";return e.read(t,"utf8").then(Td.readString).then(function(i){var a=i.children;kU(a,r,"PartName",{PartName:DU,ContentType:"text/prs.mammoth.style-map"});var o={"":n};return e.write(t,Td.writeString(i,o))})}function kU(e,t,n,r){var i=yJ.find(e,function(a){return a.name===t&&a.attributes[n]===r[n]});i?i.attributes=r:e.push(Td.element(t,r))}function _J(e){return e.exists(j0)?e.read(j0,"utf8"):bJ.resolve(null)}var D4={},Jo={},Qi={},za={},X8;function _U(){if(X8)return za;X8=1;var e=pm();function t(l,c,u){return r(e.element(l,c,{fresh:!1}),u)}function n(l,c,u){var d=e.element(l,c,{fresh:!0});return r(d,u)}function r(l,c){return{type:"element",tag:l,children:c||[]}}function i(l){return{type:"text",value:l}}var a={type:"forceWrite"};za.freshElement=n,za.nonFreshElement=t,za.elementWithTag=r,za.text=i,za.forceWrite=a;var o={br:!0,hr:!0,img:!0,input:!0};function s(l){return l.children.length===0&&o[l.tag.tagName]}return za.isVoidElement=s,za}var W1,K8;function TJ(){if(K8)return W1;K8=1;var e=Gt,t=_U();function n(p){return r(c(p))}function r(p){var y=[];return p.map(i).forEach(function(m){l(y,m)}),y}function i(p){return a[p.type](p)}var a={element:o,text:s,forceWrite:s};function o(p){return t.elementWithTag(p.tag,r(p.children))}function s(p){return p}function l(p,y){var m=p[p.length-1];y.type==="element"&&!y.tag.fresh&&m&&m.type==="element"&&y.tag.matchesElement(m.tag)?(y.tag.separator&&l(m.children,t.text(y.tag.separator)),y.children.forEach(function(g){l(m.children,g)})):p.push(y)}function c(p){return u(p,function(y){return d[y.type](y)})}function u(p,y){return e.flatten(e.map(p,y),!0)}var d={element:h,text:v,forceWrite:f};function f(p){return[p]}function h(p){var y=c(p.children);return y.length===0&&!t.isVoidElement(p)?[]:[t.elementWithTag(p.tag,y)]}function v(p){return p.value.length===0?[]:[p]}return W1=n,W1}var Y8;function fm(){if(Y8)return Qi;Y8=1;var e=_U();Qi.freshElement=e.freshElement,Qi.nonFreshElement=e.nonFreshElement,Qi.elementWithTag=e.elementWithTag,Qi.text=e.text,Qi.forceWrite=e.forceWrite,Qi.simplify=TJ();function t(o,s){s.forEach(function(l){n(o,l)})}function n(o,s){r[s.type](o,s)}var r={element:i,text:a,forceWrite:function(){}};function i(o,s){e.isVoidElement(s)?o.selfClosing(s.tag.tagName,s.tag.attributes):(o.open(s.tag.tagName,s.tag.attributes),t(o,s.children),o.close(s.tag.tagName))}function a(o,s){o.text(s.value)}return Qi.write=t,Qi}var J8;function pm(){if(J8)return Jo;J8=1;var e=Gt,t=fm();Jo.topLevelElement=n,Jo.elements=r,Jo.element=a;function n(s,l){return r([a(s,l,{fresh:!0})])}function r(s){return new i(s.map(function(l){return e.isString(l)?a(l):l}))}function i(s){this._elements=s}i.prototype.wrap=function(l){for(var c=l(),u=this._elements.length-1;u>=0;u--)c=this._elements[u].wrapNodes(c);return c};function a(s,l,c){return c=c||{},new o(s,l,c)}function o(s,l,c){var u={};e.isArray(s)?(s.forEach(function(d){u[d]=!0}),s=s[0]):u[s]=!0,this.tagName=s,this.tagNames=u,this.attributes=l||{},this.fresh=c.fresh,this.separator=c.separator}return o.prototype.matchesElement=function(s){return this.tagNames[s.tagName]&&e.isEqual(this.attributes||{},s.attributes||{})},o.prototype.wrap=function(l){return this.wrapNodes(l())},o.prototype.wrapNodes=function(l){return[t.elementWithTag(this,l)]},Jo.empty=r([]),Jo.ignore={wrap:function(){return[]}},Jo}var k4={};(function(e){var t=Gt,n=fn,r=fm();e.imgElement=i;function i(a){return function(o,s){return n.when(a(o)).then(function(l){var c={};return o.altText&&(c.alt=o.altText),t.extend(c,l),[r.freshElement("img",c)]})}}e.inline=e.imgElement,e.dataUri=i(function(a){return a.readAsBase64String().then(function(o){return{src:"data:"+a.contentType+";base64,"+o}})})})(k4);var TU={},EU={},SU=Gt;EU.writer=EJ;function EJ(e){return e=e||{},e.prettyPrint?SJ():CU()}var nf={div:!0,p:!0,ul:!0,li:!0};function SJ(){var e=0,t=" ",n=[],r=!0,i=!1,a=CU();function o(v,p){nf[v]&&f(),n.push(v),a.open(v,p),nf[v]&&e++,r=!1}function s(v){nf[v]&&(e--,f()),n.pop(),a.close(v)}function l(v){d();var p=h()?v:v.replace(` +`,` +`+t);a.text(p)}function c(v,p){f(),a.selfClosing(v,p)}function u(){return n.length===0||nf[n[n.length-1]]}function d(){i||(f(),i=!0)}function f(){if(i=!1,!r&&u()&&!h()){a._append(` +`);for(var v=0;v")}function n(l){e.push("")}function r(l,c){var u=i(c);e.push("<"+l+u+" />")}function i(l){return SU.map(l,function(c,u){return" "+u+'="'+AJ(c)+'"'}).join("")}function a(l){e.push(CJ(l))}function o(l){e.push(l)}function s(){return e.join("")}return{asString:s,open:t,close:n,text:a,selfClosing:r,_append:o}}function CJ(e){return e.replace(/&/g,"&").replace(//g,">")}function AJ(e){return e.replace(/&/g,"&").replace(/"/g,""").replace(//g,">")}var AU={},UJ=Gt;function Q8(e){return L0(e,e)}function L0(e,t){return function(){return{start:e,end:t}}}function FJ(e){var t=e.href||"";return t?{start:"[",end:"]("+t+")",anchorPosition:"before"}:{}}function RJ(e){var t=e.src||"",n=e.alt||"";return t||n?{start:"!["+n+"]("+t+")"}:{}}function Z8(e){return function(t,n){return{start:n?` +`:"",end:n?"":` +`,list:{isOrdered:e.isOrdered,indent:n?n.indent+1:0,count:0}}}}function NJ(e,t,n){t=t||{indent:0,isOrdered:!1,count:0},t.count++,n.hasClosed=!1;var r=t.isOrdered?t.count+".":"-",i=FU(" ",t.indent)+r+" ";return{start:i,end:function(){if(!n.hasClosed)return n.hasClosed=!0,` +`}}}var UU={p:L0("",` + +`),br:L0("",` +`),ul:Z8({isOrdered:!1}),ol:Z8({isOrdered:!0}),li:NJ,strong:Q8("__"),em:Q8("*"),a:FJ,img:RJ};(function(){for(var e=1;e<=6;e++)UU["h"+e]=L0(FU("#",e)+" ",` + +`)})();function FU(e,t){return new Array(t+1).join(e)}function OJ(){var e=[],t=[],n=null,r={};function i(u,d){d=d||{};var f=UU[u]||function(){return{}},h=f(d,n,r);t.push({end:h.end,list:n}),h.list&&(n=h.list);var v=h.anchorPosition==="before";v&&a(d),e.push(h.start||""),v||a(d)}function a(u){u.id&&e.push('')}function o(u){var d=t.pop();n=d.list;var f=UJ.isFunction(d.end)?d.end():d.end;e.push(f||"")}function s(u,d){i(u,d),o()}function l(u){e.push(IJ(u))}function c(){return e.join("")}return{asString:c,open:i,close:o,text:l,selfClosing:s}}AU.writer=OJ;function IJ(e){return e.replace(/\\/g,"\\\\").replace(/([\`\*_\{\}\[\]\(\)\#\+\-\.\!])/g,"\\$1")}var PJ=EU,BJ=AU;TU.writer=MJ;function MJ(e){return e=e||{},e.outputFormat==="markdown"?BJ.writer():PJ.writer(e)}var Ka=Gt,e7=fn,Pf=it,Nr=pm(),iy=Ur,jJ=k4,at=fm(),LJ=TU;D4.DocumentConverter=zJ;function zJ(e){return{convertToHtml:function(t){var n=Ka.indexBy(t.type===Pf.types.document?t.comments:[],"commentId"),r=new WJ(e,n);return r.convertToHtml(t)}}}function WJ(e,t){var n=1,r=[],i=[];e=Ka.extend({ignoreEmptyParagraphs:!0},e);var a=e.idPrefix===void 0?"":e.idPrefix,o=e.ignoreEmptyParagraphs,s=Nr.topLevelElement("p"),l=e.styleMap||[];function c(P){var M=[],F=d(P,M,{}),$=[];RU(F,function(U){U.type==="deferred"&&$.push(U)});var V={};return e7.mapSeries($,function(U){return U.value().then(function(ne){V[U.id]=ne})}).then(function(){function U(ce){return $1(ce,function(me){return me.type==="deferred"?V[me.id]:me.children?[Ka.extend({},me,{children:U(me.children)})]:[me]})}var ne=LJ.writer({prettyPrint:e.prettyPrint,outputFormat:e.outputFormat});return at.write(ne,at.simplify(U(F))),new iy.Result(ne.asString(),M)})}function u(P,M,F){return $1(P,function($){return d($,M,F)})}function d(P,M,F){if(!F)throw new Error("options not set");var $=z[P.type];return $?$(P,M,F):[]}function f(P,M,F){return h(P,M).wrap(function(){var $=u(P.children,M,F);return o?$:[at.forceWrite].concat($)})}function h(P,M){var F=m(P);return F?F.to:(P.styleId&&M.push(t7("paragraph",P)),s)}function v(P,M,F){var $=function(){return u(P.children,M,F)},V=[];if(P.highlight!==null){var U=y({type:"highlight",color:P.highlight});U&&V.push(U)}P.isSmallCaps&&V.push(p("smallCaps")),P.isAllCaps&&V.push(p("allCaps")),P.isStrikethrough&&V.push(p("strikethrough","s")),P.isUnderline&&V.push(p("underline")),P.verticalAlignment===Pf.verticalAlignment.subscript&&V.push(Nr.element("sub",{},{fresh:!1})),P.verticalAlignment===Pf.verticalAlignment.superscript&&V.push(Nr.element("sup",{},{fresh:!1})),P.isItalic&&V.push(p("italic","em")),P.isBold&&V.push(p("bold","strong"));var ne=Nr.empty,ce=m(P);return ce?ne=ce.to:P.styleId&&M.push(t7("run",P)),V.push(ne),V.forEach(function(me){$=me.wrap.bind(me,$)}),$()}function p(P,M){var F=y({type:P});return F||(M?Nr.element(M,{},{fresh:!1}):Nr.empty)}function y(P,M){var F=m(P);return F?F.to:M}function m(P){for(var M=0;Ma){var u=c[1],f=new q1(e[s].name,u,o.range(a,d));return{token:f,endIndex:d}}}}var d=a+1,f=new q1("unrecognisedCharacter",i.substring(a,d),o.range(a,d));return{token:f,endIndex:d}}function r(i,a){return new q1("end",null,a.range(i.length,i.length))}return{tokenise:t}}vi.Parser=IU.Parser;vi.rules=_4;vi.errors=E4;vi.results=T4;vi.StringSource=LU;vi.Token=zU;vi.bottomUp=WU;vi.RegexTokeniser=$U.RegexTokeniser;vi.rule=function(e){var t;return function(n){return t||(t=e()),t(n)}};var kn={};kn.paragraph=JJ;kn.run=QJ;kn.table=ZJ;kn.bold=new yi("bold");kn.italic=new yi("italic");kn.underline=new yi("underline");kn.strikethrough=new yi("strikethrough");kn.allCaps=new yi("allCaps");kn.smallCaps=new yi("smallCaps");kn.highlight=eQ;kn.commentReference=new yi("commentReference");kn.lineBreak=new vm({breakType:"line"});kn.pageBreak=new vm({breakType:"page"});kn.columnBreak=new vm({breakType:"column"});kn.equalTo=nQ;kn.startsWith=rQ;function JJ(e){return new yi("paragraph",e)}function QJ(e){return new yi("run",e)}function ZJ(e){return new yi("table",e)}function eQ(e){return new qU(e)}function yi(e,t){t=t||{},this._elementType=e,this._styleId=t.styleId,this._styleName=t.styleName,t.list&&(this._listIndex=t.list.levelIndex,this._listIsOrdered=t.list.isOrdered)}yi.prototype.matches=function(e){return e.type===this._elementType&&(this._styleId===void 0||e.styleId===this._styleId)&&(this._styleName===void 0||e.styleName&&this._styleName.operator(this._styleName.operand,e.styleName))&&(this._listIndex===void 0||tQ(e,this._listIndex,this._listIsOrdered))&&(this._breakType===void 0||this._breakType===e.breakType)};function qU(e){e=e||{},this._color=e.color}qU.prototype.matches=function(e){return e.type==="highlight"&&(this._color===void 0||e.color===this._color)};function vm(e){e=e||{},this._breakType=e.breakType}vm.prototype.matches=function(e){return e.type==="break"&&(this._breakType===void 0||e.breakType===this._breakType)};function tQ(e,t,n){return e.numbering&&e.numbering.level==t&&e.numbering.isOrdered==n}function nQ(e){return{operator:iQ,operand:e}}function rQ(e){return{operator:aQ,operand:e}}function iQ(e,t){return e.toUpperCase()===t.toUpperCase()}function aQ(e,t){return t.toUpperCase().indexOf(e.toUpperCase())===0}var HU={},oQ=vi,sQ=oQ.RegexTokeniser;HU.tokenise=lQ;var n7="'((?:\\\\.|[^'])*)";function lQ(e){var t="(?:[a-zA-Z\\-_]|\\\\.)",n=new sQ([{name:"identifier",regex:new RegExp("("+t+"(?:"+t+"|[0-9])*)")},{name:"dot",regex:/\./},{name:"colon",regex:/:/},{name:"gt",regex:/>/},{name:"whitespace",regex:/\s+/},{name:"arrow",regex:/=>/},{name:"equals",regex:/=/},{name:"startsWith",regex:/\^=/},{name:"open-paren",regex:/\(/},{name:"close-paren",regex:/\)/},{name:"open-square-bracket",regex:/\[/},{name:"close-square-bracket",regex:/\]/},{name:"string",regex:new RegExp(n7+"'")},{name:"unterminated-string",regex:new RegExp(n7)},{name:"integer",regex:/([0-9]+)/},{name:"choice",regex:/\|/},{name:"bang",regex:/(!)/}]);return n.tokenise(e)}var cQ=Gt,ye=vi,En=kn,Bf=pm(),uQ=HU.tokenise,H1=Ur;mm.readHtmlPath=pQ;mm.readDocumentMatcher=fQ;mm.readStyle=dQ;function dQ(e){return S4(DQ,e)}function hQ(){return ye.rules.sequence(ye.rules.sequence.capture(VU()),ye.rules.tokenOfType("whitespace"),ye.rules.tokenOfType("arrow"),ye.rules.sequence.capture(ye.rules.optional(ye.rules.sequence(ye.rules.tokenOfType("whitespace"),ye.rules.sequence.capture(GU())).head())),ye.rules.tokenOfType("end")).map(function(e,t){return{from:e,to:t.valueOrElse(Bf.empty)}})}function fQ(e){return S4(VU(),e)}function VU(){var e=ye.rules.sequence,t=function(w,_){return ye.rules.then(ye.rules.token("identifier",w),function(){return _})},n=t("p",En.paragraph),r=t("r",En.run),i=ye.rules.firstOf("p or r or table",n,r),a=ye.rules.sequence(ye.rules.tokenOfType("dot"),ye.rules.sequence.cut(),ye.rules.sequence.capture(ym)).map(function(w){return{styleId:w}}),o=ye.rules.firstOf("style name matcher",ye.rules.then(ye.rules.sequence(ye.rules.tokenOfType("equals"),ye.rules.sequence.cut(),ye.rules.sequence.capture(Ul)).head(),function(w){return{styleName:En.equalTo(w)}}),ye.rules.then(ye.rules.sequence(ye.rules.tokenOfType("startsWith"),ye.rules.sequence.cut(),ye.rules.sequence.capture(Ul)).head(),function(w){return{styleName:En.startsWith(w)}})),s=ye.rules.sequence(ye.rules.tokenOfType("open-square-bracket"),ye.rules.sequence.cut(),ye.rules.token("identifier","style-name"),ye.rules.sequence.capture(o),ye.rules.tokenOfType("close-square-bracket")).head(),l=ye.rules.firstOf("list type",t("ordered-list",{isOrdered:!0}),t("unordered-list",{isOrdered:!1})),c=e(ye.rules.tokenOfType("colon"),e.capture(l),e.cut(),ye.rules.tokenOfType("open-paren"),e.capture(mQ),ye.rules.tokenOfType("close-paren")).map(function(w,_){return{list:{isOrdered:w.isOrdered,levelIndex:_-1}}});function u(w){var _=ye.rules.firstOf.apply(ye.rules.firstOf,["matcher suffix"].concat(w)),N=ye.rules.zeroOrMore(_);return ye.rules.then(N,function(O){var B={};return O.forEach(function(K){cQ.extend(B,K)}),B})}var d=e(e.capture(i),e.capture(u([a,s,c]))).map(function(w,_){return w(_)}),f=e(ye.rules.token("identifier","table"),e.capture(u([a,s]))).map(function(w){return En.table(w)}),h=t("b",En.bold),v=t("i",En.italic),p=t("u",En.underline),y=t("strike",En.strikethrough),m=t("all-caps",En.allCaps),g=t("small-caps",En.smallCaps),b=e(ye.rules.token("identifier","highlight"),ye.rules.sequence.capture(ye.rules.optional(ye.rules.sequence(ye.rules.tokenOfType("open-square-bracket"),ye.rules.sequence.cut(),ye.rules.token("identifier","color"),ye.rules.tokenOfType("equals"),ye.rules.sequence.capture(Ul),ye.rules.tokenOfType("close-square-bracket")).head()))).map(function(w){return En.highlight({color:w.valueOrElse(void 0)})}),x=t("comment-reference",En.commentReference),D=e(ye.rules.token("identifier","br"),e.cut(),ye.rules.tokenOfType("open-square-bracket"),ye.rules.token("identifier","type"),ye.rules.tokenOfType("equals"),e.capture(Ul),ye.rules.tokenOfType("close-square-bracket")).map(function(w){switch(w){case"line":return En.lineBreak;case"page":return En.pageBreak;case"column":return En.columnBreak}});return ye.rules.firstOf("element type",d,f,h,v,p,y,m,g,b,x,D)}function pQ(e){return S4(GU(),e)}function GU(){var e=ye.rules.sequence.capture,t=ye.rules.tokenOfType("whitespace"),n=ye.rules.then(ye.rules.optional(ye.rules.sequence(ye.rules.tokenOfType("colon"),ye.rules.token("identifier","fresh"))),function(o){return o.map(function(){return!0}).valueOrElse(!1)}),r=ye.rules.then(ye.rules.optional(ye.rules.sequence(ye.rules.tokenOfType("colon"),ye.rules.token("identifier","separator"),ye.rules.tokenOfType("open-paren"),e(Ul),ye.rules.tokenOfType("close-paren")).head()),function(o){return o.valueOrElse("")}),i=ye.rules.oneOrMoreWithSeparator(ym,ye.rules.tokenOfType("choice")),a=ye.rules.sequence(e(i),e(ye.rules.zeroOrMore(bQ)),e(n),e(r)).map(function(o,s,l,c){var u={},d={};return s.forEach(function(f){f.append&&u[f.name]?u[f.name]+=" "+f.value:u[f.name]=f.value}),l&&(d.fresh=!0),c&&(d.separator=c),Bf.element(o,u,d)});return ye.rules.firstOf("html path",ye.rules.then(ye.rules.tokenOfType("bang"),function(){return Bf.ignore}),ye.rules.then(ye.rules.zeroOrMoreWithSeparator(a,ye.rules.sequence(t,ye.rules.tokenOfType("gt"),t)),Bf.elements))}var ym=ye.rules.then(ye.rules.tokenOfType("identifier"),XU),mQ=ye.rules.tokenOfType("integer"),Ul=ye.rules.then(ye.rules.tokenOfType("string"),XU),gQ={n:` +`,r:"\r",t:" "};function XU(e){return e.replace(/\\(.)/g,function(t,n){return gQ[n]||n})}var vQ=ye.rules.sequence(ye.rules.tokenOfType("open-square-bracket"),ye.rules.sequence.cut(),ye.rules.sequence.capture(ym),ye.rules.tokenOfType("equals"),ye.rules.sequence.capture(Ul),ye.rules.tokenOfType("close-square-bracket")).map(function(e,t){return{name:e,value:t,append:!1}}),yQ=ye.rules.sequence(ye.rules.tokenOfType("dot"),ye.rules.sequence.cut(),ye.rules.sequence.capture(ym)).map(function(e){return{name:"class",value:e,append:!0}}),bQ=ye.rules.firstOf("attribute or class",vQ,yQ);function S4(e,t){var n=uQ(t),r=ye.Parser(),i=r.parseTokens(e,n);return i.isSuccess()?H1.success(i.value()):new H1.Result(null,[H1.warning(xQ(t,i))])}function xQ(e,t){return"Did not understand this style mapping, so ignored it: "+e+` +`+t.errors().map(wQ).join(` +`)}function wQ(e){return"Error was at character number "+e.characterNumber()+": Expected "+e.expected+" but got "+e.actual}var DQ=hQ(),bm={};bm.readOptions=TQ;var KU=Gt,kQ=bm._defaultStyleMap=["p.Heading1 => h1:fresh","p.Heading2 => h2:fresh","p.Heading3 => h3:fresh","p.Heading4 => h4:fresh","p.Heading5 => h5:fresh","p.Heading6 => h6:fresh","p[style-name='Heading 1'] => h1:fresh","p[style-name='Heading 2'] => h2:fresh","p[style-name='Heading 3'] => h3:fresh","p[style-name='Heading 4'] => h4:fresh","p[style-name='Heading 5'] => h5:fresh","p[style-name='Heading 6'] => h6:fresh","p[style-name='heading 1'] => h1:fresh","p[style-name='heading 2'] => h2:fresh","p[style-name='heading 3'] => h3:fresh","p[style-name='heading 4'] => h4:fresh","p[style-name='heading 5'] => h5:fresh","p[style-name='heading 6'] => h6:fresh","p.Heading => h1:fresh","p[style-name='Heading'] => h1:fresh","r[style-name='Strong'] => strong","p[style-name='footnote text'] => p:fresh","r[style-name='footnote reference'] =>","p[style-name='endnote text'] => p:fresh","r[style-name='endnote reference'] =>","p[style-name='annotation text'] => p:fresh","r[style-name='annotation reference'] =>","p[style-name='Footnote'] => p:fresh","r[style-name='Footnote anchor'] =>","p[style-name='Endnote'] => p:fresh","r[style-name='Endnote anchor'] =>","p:unordered-list(1) => ul > li:fresh","p:unordered-list(2) => ul|ol > li > ul > li:fresh","p:unordered-list(3) => ul|ol > li > ul|ol > li > ul > li:fresh","p:unordered-list(4) => ul|ol > li > ul|ol > li > ul|ol > li > ul > li:fresh","p:unordered-list(5) => ul|ol > li > ul|ol > li > ul|ol > li > ul|ol > li > ul > li:fresh","p:ordered-list(1) => ol > li:fresh","p:ordered-list(2) => ul|ol > li > ol > li:fresh","p:ordered-list(3) => ul|ol > li > ul|ol > li > ol > li:fresh","p:ordered-list(4) => ul|ol > li > ul|ol > li > ul|ol > li > ol > li:fresh","p:ordered-list(5) => ul|ol > li > ul|ol > li > ul|ol > li > ul|ol > li > ol > li:fresh","r[style-name='Hyperlink'] =>","p[style-name='Normal'] => p:fresh","p.Body => p:fresh","p[style-name='Body'] => p:fresh"],_Q=bm._standardOptions={externalFileAccess:!1,transformDocument:EQ,includeDefaultStyleMap:!0,includeEmbeddedStyleMap:!0};function TQ(e){return e=e||{},KU.extend({},_Q,e,{customStyleMap:r7(e.styleMap),readStyleMap:function(){var t=this.customStyleMap;return this.includeEmbeddedStyleMap&&(t=t.concat(r7(this.embeddedStyleMap))),this.includeDefaultStyleMap&&(t=t.concat(kQ)),t}})}function r7(e){return e?KU.isString(e)?e.split(` +`).map(function(t){return t.trim()}).filter(function(t){return t!==""&&t.charAt(0)!=="#"}):e:[]}function EQ(e){return e}var YU={},i7=fn,SQ=Zd;YU.openZip=CQ;function CQ(e){return e.arrayBuffer?i7.resolve(SQ.openArrayBuffer(e.arrayBuffer)):i7.reject(new Error("Could not find file in options"))}var JU={},AQ=pm(),UQ=fm();JU.element=FQ;function FQ(e){return function(t){return UQ.elementWithTag(AQ.element(e),[t])}}var RQ=Gt,QU=Vx,C4=w4,NQ=D4.DocumentConverter,OQ=NU.convertElementToRawText,IQ=mm.readStyle,PQ=bm.readOptions,xm=YU,BQ=Ur.Result;mi.convertToHtml=MQ;mi.convertToMarkdown=jQ;mi.convert=A4;mi.extractRawText=$Q;mi.images=k4;mi.transforms=$o;mi.underline=JU;mi.embedStyleMap=qQ;mi.readEmbeddedStyleMap=LQ;function MQ(e,t){return A4(e,t)}function jQ(e,t){var n=Object.create(t||{});return n.outputFormat="markdown",A4(e,n)}function A4(e,t){return t=PQ(t),xm.openZip(e).tap(function(n){return C4.readStyleMap(n).then(function(r){t.embeddedStyleMap=r})}).then(function(n){return QU.read(n,e,t).then(function(r){return r.map(t.transformDocument)}).then(function(r){return zQ(r,t)})})}function LQ(e){return xm.openZip(e).then(C4.readStyleMap)}function zQ(e,t){var n=WQ(t.readStyleMap()),r=RQ.extend({},t,{styleMap:n.value}),i=new NQ(r);return e.flatMapThen(function(a){return n.flatMapThen(function(o){return i.convertToHtml(a)})})}function WQ(e){return BQ.combine((e||[]).map(IQ)).map(function(t){return t.filter(function(n){return!!n})})}function $Q(e){return xm.openZip(e).then(QU.read).then(function(t){return t.map(OQ)})}function qQ(e,t){return xm.openZip(e).tap(function(n){return C4.writeStyleMap(n,t)}).then(function(n){return n.toArrayBuffer()}).then(function(n){return{toArrayBuffer:function(){return n},toBuffer:function(){return Buffer.from(n)}}})}mi.styleMapping=function(){throw new Error(`Use a raw string instead of mammoth.styleMapping e.g. "p[style-name='Title'] => h1" instead of mammoth.styleMapping("p[style-name='Title'] => h1")`)};async function HQ(e){const t=await e.arrayBuffer(),n=await $S(new Uint8Array(t)),{text:r}=await jG(n,{mergePages:!0});return(Array.isArray(r)?r.join(` + +`):String(r??"")).replace(/\s+\n/g,` +`).trim()}async function VQ(e){const t=await e.arrayBuffer();return((await mi.extractRawText({arrayBuffer:t})).value??"").trim()}async function GQ(e){var n;const t=((n=e.name.split(".").pop())==null?void 0:n.toLowerCase())??"";if(t==="pdf")return{text:await HQ(e),sourceType:"pdf"};if(t==="docx"||t==="doc")return{text:await VQ(e),sourceType:"docx"};throw new Error("Unsupported file type for client-side extraction")}const XQ=50*1024*1024,KQ=["mp3","wav","m4a","ogg","flac","webm"],YQ=["mp4","mov","mkv"];function JQ({open:e,onOpenChange:t}){const{user:n}=Ls(),{toast:r}=Ms(),i=Ac(),[a,o]=R.useState(!1),[s,l]=R.useState(""),[c,u]=R.useState(""),[d,f]=R.useState(""),[h,v]=R.useState(null),{getRootProps:p,getInputProps:y,isDragActive:m}=WS({multiple:!1,onDrop:w=>v(w[0]??null)}),g=()=>{l(""),u(""),f(""),v(null)},b=async()=>{if(!(!n||!c.trim())){o(!0);try{const{data:w,error:_}=await rt.from("documents").insert({user_id:n.id,title:s.trim()||"Untitled note",source_type:"text",raw_text:c,status:"ready"}).select("id").single();if(_)throw _;r({title:"Document created"}),g(),t(!1),i(`/app/doc/${w.id}`)}catch(w){r({title:"Failed",description:w.message,variant:"destructive"})}finally{o(!1)}}},x=async()=>{if(!(!n||!d.trim())){o(!0);try{const{data:w,error:_}=await rt.from("documents").insert({user_id:n.id,title:d,source_type:"youtube",source_url:d,status:"pending"}).select("id").single();if(_)throw _;r({title:"YouTube link queued",description:"Fetching transcript…"}),g(),t(!1),i(`/app/doc/${w.id}`),Pg(w.id).catch(N=>r({title:"Transcript failed",description:N.message,variant:"destructive"}))}catch(w){r({title:"Failed",description:w.message,variant:"destructive"})}finally{o(!1)}}},D=async()=>{var w;if(!(!n||!h)){if(h.size>XQ){r({title:"File too large",description:"Maximum 50MB.",variant:"destructive"});return}o(!0);try{const _=((w=h.name.split(".").pop())==null?void 0:w.toLowerCase())??"",N=_==="pdf",O=_==="docx"||_==="doc",B=KQ.includes(_),K=YQ.includes(_);if(N||O){r({title:"Extracting text…",description:"Parsing the document in your browser."});const{text:z,sourceType:P}=await GQ(h);if(!z||z.trim().length<20)throw new Error("Could not extract readable text from this file.");const{data:M,error:F}=await rt.from("documents").insert({user_id:n.id,title:h.name,source_type:P,raw_text:z,status:"pending"}).select("id").single();if(F)throw F;r({title:"Document added",description:"Finalizing…"}),g(),t(!1),i(`/app/doc/${M.id}`),Pg(M.id).catch($=>r({title:"Ingest failed",description:$.message,variant:"destructive"}));return}if(!B&&!K)throw new Error("Unsupported file type. Use PDF, DOCX, audio or video.");const A=B?"audio":"video",q=`${n.id}/${crypto.randomUUID()}-${h.name}`,{error:T}=await rt.storage.from("uploads").upload(q,h);if(T)throw T;const{data:X,error:j}=await rt.from("documents").insert({user_id:n.id,title:h.name,source_type:A,source_url:q,status:"pending"}).select("id").single();if(j)throw j;r({title:"File uploaded",description:"Transcribing…"}),g(),t(!1),i(`/app/doc/${X.id}`),Pg(X.id).catch(z=>r({title:"Ingest failed",description:z.message,variant:"destructive"}))}catch(_){r({title:"Failed",description:_.message,variant:"destructive"})}finally{o(!1)}}};return E.jsx(lV,{open:e,onOpenChange:t,children:E.jsxs(aS,{className:"sm:max-w-lg",children:[E.jsx(oS,{children:E.jsx(sS,{children:"Add a document"})}),E.jsxs(CS,{defaultValue:"file",children:[E.jsxs(ax,{className:"grid grid-cols-3 w-full",children:[E.jsxs(sa,{value:"file",children:[E.jsx(K3,{className:"h-3.5 w-3.5 mr-1.5"})," File"]}),E.jsxs(sa,{value:"youtube",children:[E.jsx(bT,{className:"h-3.5 w-3.5 mr-1.5"})," YouTube"]}),E.jsxs(sa,{value:"text",children:[E.jsx(Hd,{className:"h-3.5 w-3.5 mr-1.5"})," Text"]})]}),E.jsxs(la,{value:"file",className:"space-y-4 pt-4",children:[E.jsxs("div",{...p(),className:`border-2 border-dashed rounded-lg p-8 text-center cursor-pointer transition-colors ${m?"border-primary bg-primary/5":"border-border hover:border-primary/50"}`,children:[E.jsx("input",{...y()}),E.jsx(K3,{className:"h-8 w-8 mx-auto mb-3 text-muted-foreground"}),h?E.jsx("p",{className:"text-sm",children:h.name}):E.jsx("p",{className:"text-sm text-muted-foreground",children:m?"Drop here…":"Drag a PDF, DOCX, audio or video file, or click to browse"})]}),E.jsxs(ct,{onClick:D,disabled:!h||a,className:"w-full",children:[a&&E.jsx(qt,{className:"h-4 w-4 mr-2 animate-spin"})," Upload"]})]}),E.jsxs(la,{value:"youtube",className:"space-y-4 pt-4",children:[E.jsxs("div",{className:"space-y-1.5",children:[E.jsx(wo,{htmlFor:"yt",children:"YouTube URL"}),E.jsx(ws,{id:"yt",value:d,onChange:w=>f(w.target.value),placeholder:"https://youtube.com/watch?v=..."})]}),E.jsxs(ct,{onClick:x,disabled:!d.trim()||a,className:"w-full",children:[a&&E.jsx(qt,{className:"h-4 w-4 mr-2 animate-spin"})," Add link"]})]}),E.jsxs(la,{value:"text",className:"space-y-4 pt-4",children:[E.jsxs("div",{className:"space-y-1.5",children:[E.jsx(wo,{htmlFor:"title",children:"Title"}),E.jsx(ws,{id:"title",value:s,onChange:w=>l(w.target.value),placeholder:"Untitled note"})]}),E.jsxs("div",{className:"space-y-1.5",children:[E.jsx(wo,{htmlFor:"content",children:"Content"}),E.jsx(ox,{id:"content",value:c,onChange:w=>u(w.target.value),rows:8,placeholder:"Paste your text here…"})]}),E.jsxs(ct,{onClick:b,disabled:!c.trim()||a,className:"w-full",children:[a&&E.jsx(qt,{className:"h-4 w-4 mr-2 animate-spin"})," Create"]})]})]})]})})}const QQ=tS,ZQ=nS,ZU=R.forwardRef(({className:e,...t},n)=>E.jsx(Cp,{className:ot("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:n}));ZU.displayName=Cp.displayName;const eZ=qd("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),eF=R.forwardRef(({side:e="right",className:t,children:n,...r},i)=>E.jsxs(ZQ,{children:[E.jsx(ZU,{}),E.jsxs(Ap,{ref:i,className:ot(eZ({side:e}),t),...r,children:[n,E.jsxs(rS,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity data-[state=open]:bg-secondary hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",children:[E.jsx(Bb,{className:"h-4 w-4"}),E.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));eF.displayName=Ap.displayName;const tZ=R.forwardRef(({className:e,...t},n)=>E.jsx(Up,{ref:n,className:ot("text-lg font-semibold text-foreground",e),...t}));tZ.displayName=Up.displayName;const nZ=R.forwardRef(({className:e,...t},n)=>E.jsx(Fp,{ref:n,className:ot("text-sm text-muted-foreground",e),...t}));nZ.displayName=Fp.displayName;function rZ(){const[e,t]=R.useState(!1),[n,r]=R.useState(!1);return E.jsxs("div",{className:"flex h-screen bg-background text-foreground",children:[E.jsx("div",{className:"hidden md:flex",children:E.jsx(M5,{onNew:()=>t(!0)})}),E.jsx(QQ,{open:n,onOpenChange:r,children:E.jsx(eF,{side:"left",className:"p-0 w-[18rem] border-sidebar-border bg-sidebar",children:E.jsx(M5,{onNew:()=>{r(!1),t(!0)},onNavigate:()=>r(!1)})})}),E.jsx("div",{className:"flex-1 overflow-hidden",children:E.jsx(wB,{context:{openUpload:()=>t(!0),openMobileNav:()=>r(!0)}})}),E.jsx(JQ,{open:e,onOpenChange:t})]})}function iZ(){const{openUpload:e,openMobileNav:t}=R_();return E.jsxs("div",{className:"h-full flex flex-col",children:[E.jsxs("div",{className:"md:hidden flex items-center justify-between border-b border-border px-4 py-3",children:[E.jsx(ct,{variant:"ghost",size:"icon",onClick:t,"aria-label":"Open navigation",children:E.jsx(mT,{className:"h-5 w-5"})}),E.jsx("span",{className:"font-semibold tracking-tight",children:"Source.AI"}),E.jsx("div",{className:"w-9"})]}),E.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center text-center px-6",children:[E.jsx("div",{className:"h-12 w-12 rounded-xl bg-gradient-primary flex items-center justify-center mb-4 shadow-glow",children:E.jsx(js,{className:"h-6 w-6 text-primary-foreground"})}),E.jsx("h2",{className:"text-2xl font-semibold mb-2",children:"Your workspace is ready"}),E.jsx("p",{className:"text-muted-foreground mb-6 max-w-md",children:"Add a PDF, audio, video, YouTube link or paste text to generate notes, flashcards, quizzes, a podcast and a chat."}),E.jsxs(ct,{onClick:e,size:"lg",children:[E.jsx(vT,{className:"h-4 w-4 mr-2"})," Add your first document"]})]})]})}const aZ=qd("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function co({className:e,variant:t,...n}){return E.jsx("div",{className:ot(aZ({variant:t}),e),...n})}function a7(e){const t=[],n=String(e||"");let r=n.indexOf(","),i=0,a=!1;for(;!a;){r===-1&&(r=n.length,a=!0);const o=n.slice(i,r).trim();(o||!a)&&t.push(o),i=r+1,r=n.indexOf(",",i)}return t}function oZ(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const sZ=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,lZ=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,cZ={};function o7(e,t){return(cZ.jsx?lZ:sZ).test(e)}const uZ=/[ \t\n\f\r]/g;function dZ(e){return typeof e=="object"?e.type==="text"?s7(e.value):!1:s7(e)}function s7(e){return e.replace(uZ,"")===""}class ih{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}ih.prototype.normal={};ih.prototype.property={};ih.prototype.space=void 0;function tF(e,t){const n={},r={};for(const i of e)Object.assign(n,i.property),Object.assign(r,i.normal);return new ih(n,r,t)}function Ed(e){return e.toLowerCase()}class dr{constructor(t,n){this.attribute=n,this.property=t}}dr.prototype.attribute="";dr.prototype.booleanish=!1;dr.prototype.boolean=!1;dr.prototype.commaOrSpaceSeparated=!1;dr.prototype.commaSeparated=!1;dr.prototype.defined=!1;dr.prototype.mustUseProperty=!1;dr.prototype.number=!1;dr.prototype.overloadedBoolean=!1;dr.prototype.property="";dr.prototype.spaceSeparated=!1;dr.prototype.space=void 0;let hZ=0;const Xe=$s(),Xt=$s(),ay=$s(),Te=$s(),_t=$s(),ql=$s(),mr=$s();function $s(){return 2**++hZ}const oy=Object.freeze(Object.defineProperty({__proto__:null,boolean:Xe,booleanish:Xt,commaOrSpaceSeparated:mr,commaSeparated:ql,number:Te,overloadedBoolean:ay,spaceSeparated:_t},Symbol.toStringTag,{value:"Module"})),V1=Object.keys(oy);class U4 extends dr{constructor(t,n,r,i){let a=-1;if(super(t,n),l7(this,"space",i),typeof r=="number")for(;++a4&&n.slice(0,4)==="data"&&vZ.test(t)){if(t.charAt(4)==="-"){const a=t.slice(5).replace(c7,bZ);r="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=t.slice(4);if(!c7.test(a)){let o=a.replace(gZ,yZ);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}i=U4}return new i(r,t)}function yZ(e){return"-"+e.toLowerCase()}function bZ(e){return e.charAt(1).toUpperCase()}const cF=tF([nF,fZ,aF,oF,sF],"html"),wm=tF([nF,pZ,aF,oF,sF],"svg");function u7(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function xZ(e){return e.join(" ").trim()}var F4={},d7=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,wZ=/\n/g,DZ=/^\s*/,kZ=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,_Z=/^:\s*/,TZ=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,EZ=/^[;\s]*/,SZ=/^\s+|\s+$/g,CZ=` +`,h7="/",f7="*",ls="",AZ="comment",UZ="declaration";function FZ(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function i(v){var p=v.match(wZ);p&&(n+=p.length);var y=v.lastIndexOf(CZ);r=~y?v.length-y:r+v.length}function a(){var v={line:n,column:r};return function(p){return p.position=new o(v),c(),p}}function o(v){this.start=v,this.end={line:n,column:r},this.source=t.source}o.prototype.content=e;function s(v){var p=new Error(t.source+":"+n+":"+r+": "+v);if(p.reason=v,p.filename=t.source,p.line=n,p.column=r,p.source=e,!t.silent)throw p}function l(v){var p=v.exec(e);if(p){var y=p[0];return i(y),e=e.slice(y.length),p}}function c(){l(DZ)}function u(v){var p;for(v=v||[];p=d();)p!==!1&&v.push(p);return v}function d(){var v=a();if(!(h7!=e.charAt(0)||f7!=e.charAt(1))){for(var p=2;ls!=e.charAt(p)&&(f7!=e.charAt(p)||h7!=e.charAt(p+1));)++p;if(p+=2,ls===e.charAt(p-1))return s("End of comment missing");var y=e.slice(2,p-2);return r+=2,i(y),e=e.slice(p),r+=2,v({type:AZ,comment:y})}}function f(){var v=a(),p=l(kZ);if(p){if(d(),!l(_Z))return s("property missing ':'");var y=l(TZ),m=v({type:UZ,property:p7(p[0].replace(d7,ls)),value:y?p7(y[0].replace(d7,ls)):ls});return l(EZ),m}}function h(){var v=[];u(v);for(var p;p=f();)p!==!1&&(v.push(p),u(v));return v}return c(),h()}function p7(e){return e?e.replace(SZ,ls):ls}var RZ=FZ,NZ=Ke&&Ke.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(F4,"__esModule",{value:!0});F4.default=IZ;const OZ=NZ(RZ);function IZ(e,t){let n=null;if(!e||typeof e!="string")return n;const r=(0,OZ.default)(e),i=typeof t=="function";return r.forEach(a=>{if(a.type!=="declaration")return;const{property:o,value:s}=a;i?t(o,s,a):s&&(n=n||{},n[o]=s)}),n}var Dm={};Object.defineProperty(Dm,"__esModule",{value:!0});Dm.camelCase=void 0;var PZ=/^--[a-zA-Z0-9_-]+$/,BZ=/-([a-z])/g,MZ=/^[^-]+$/,jZ=/^-(webkit|moz|ms|o|khtml)-/,LZ=/^-(ms)-/,zZ=function(e){return!e||MZ.test(e)||PZ.test(e)},WZ=function(e,t){return t.toUpperCase()},m7=function(e,t){return"".concat(t,"-")},$Z=function(e,t){return t===void 0&&(t={}),zZ(e)?e:(e=e.toLowerCase(),t.reactCompat?e=e.replace(LZ,m7):e=e.replace(jZ,m7),e.replace(BZ,WZ))};Dm.camelCase=$Z;var qZ=Ke&&Ke.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},HZ=qZ(F4),VZ=Dm;function sy(e,t){var n={};return!e||typeof e!="string"||(0,HZ.default)(e,function(r,i){r&&i&&(n[(0,VZ.camelCase)(r,t)]=i)}),n}sy.default=sy;var GZ=sy;const XZ=Od(GZ),uF=dF("end"),R4=dF("start");function dF(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function KZ(e){const t=R4(e),n=uF(e);if(t&&n)return{start:t,end:n}}function Nu(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?g7(e.position):"start"in e||"end"in e?g7(e):"line"in e||"column"in e?ly(e):""}function ly(e){return v7(e&&e.line)+":"+v7(e&&e.column)}function g7(e){return ly(e&&e.start)+"-"+ly(e&&e.end)}function v7(e){return e&&typeof e=="number"?e:1}class Bn extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",a={},o=!1;if(n&&("line"in n&&"column"in n?a={place:n}:"start"in n&&"end"in n?a={place:n}:"type"in n?a={ancestors:[n],place:n.position}:a={...n}),typeof t=="string"?i=t:!a.cause&&t&&(o=!0,i=t.message,a.cause=t),!a.ruleId&&!a.source&&typeof r=="string"){const l=r.indexOf(":");l===-1?a.ruleId=r:(a.source=r.slice(0,l),a.ruleId=r.slice(l+1))}if(!a.place&&a.ancestors&&a.ancestors){const l=a.ancestors[a.ancestors.length-1];l&&(a.place=l.position)}const s=a.place&&"start"in a.place?a.place.start:a.place;this.ancestors=a.ancestors||void 0,this.cause=a.cause||void 0,this.column=s?s.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=s?s.line:void 0,this.name=Nu(a.place)||"1:1",this.place=a.place||void 0,this.reason=this.message,this.ruleId=a.ruleId||void 0,this.source=a.source||void 0,this.stack=o&&a.cause&&typeof a.cause.stack=="string"?a.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}Bn.prototype.file="";Bn.prototype.name="";Bn.prototype.reason="";Bn.prototype.message="";Bn.prototype.stack="";Bn.prototype.column=void 0;Bn.prototype.line=void 0;Bn.prototype.ancestors=void 0;Bn.prototype.cause=void 0;Bn.prototype.fatal=void 0;Bn.prototype.place=void 0;Bn.prototype.ruleId=void 0;Bn.prototype.source=void 0;const N4={}.hasOwnProperty,YZ=new Map,JZ=/[A-Z]/g,QZ=new Set(["table","tbody","thead","tfoot","tr"]),ZZ=new Set(["td","th"]),hF="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function eee(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=lee(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=see(n,t.jsx,t.jsxs)}const i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?wm:cF,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},a=fF(i,e,void 0);return a&&typeof a!="string"?a:i.create(e,i.Fragment,{children:a||void 0},void 0)}function fF(e,t,n){if(t.type==="element")return tee(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return nee(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return iee(e,t,n);if(t.type==="mdxjsEsm")return ree(e,t);if(t.type==="root")return aee(e,t,n);if(t.type==="text")return oee(e,t)}function tee(e,t,n){const r=e.schema;let i=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(i=wm,e.schema=i),e.ancestors.push(t);const a=mF(e,t.tagName,!1),o=cee(e,t);let s=I4(e,t);return QZ.has(t.tagName)&&(s=s.filter(function(l){return typeof l=="string"?!dZ(l):!0})),pF(e,o,a,t),O4(o,s),e.ancestors.pop(),e.schema=r,e.create(t,a,o,n)}function nee(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}Sd(e,t.position)}function ree(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Sd(e,t.position)}function iee(e,t,n){const r=e.schema;let i=r;t.name==="svg"&&r.space==="html"&&(i=wm,e.schema=i),e.ancestors.push(t);const a=t.name===null?e.Fragment:mF(e,t.name,!0),o=uee(e,t),s=I4(e,t);return pF(e,o,a,t),O4(o,s),e.ancestors.pop(),e.schema=r,e.create(t,a,o,n)}function aee(e,t,n){const r={};return O4(r,I4(e,t)),e.create(t,e.Fragment,r,n)}function oee(e,t){return t.value}function pF(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function O4(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function see(e,t,n){return r;function r(i,a,o,s){const c=Array.isArray(o.children)?n:t;return s?c(a,o,s):c(a,o)}}function lee(e,t){return n;function n(r,i,a,o){const s=Array.isArray(a.children),l=R4(r);return t(i,a,o,s,{columnNumber:l?l.column-1:void 0,fileName:e,lineNumber:l?l.line:void 0},void 0)}}function cee(e,t){const n={};let r,i;for(i in t.properties)if(i!=="children"&&N4.call(t.properties,i)){const a=dee(e,i,t.properties[i]);if(a){const[o,s]=a;e.tableCellAlignToStyle&&o==="align"&&typeof s=="string"&&ZZ.has(t.tagName)?r=s:n[o]=s}}if(r){const a=n.style||(n.style={});a[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function uee(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const a=r.data.estree.body[0];a.type;const o=a.expression;o.type;const s=o.properties[0];s.type,Object.assign(n,e.evaluater.evaluateExpression(s.argument))}else Sd(e,t.position);else{const i=r.name;let a;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const s=r.value.data.estree.body[0];s.type,a=e.evaluater.evaluateExpression(s.expression)}else Sd(e,t.position);else a=r.value===null?!0:r.value;n[i]=a}return n}function I4(e,t){const n=[];let r=-1;const i=e.passKeys?new Map:YZ;for(;++ri?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);a0?(kr(e,e.length,0,t),e):t}const x7={}.hasOwnProperty;function vF(e){const t={};let n=-1;for(;++n13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function li(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const $n=qo(/[A-Za-z]/),Un=qo(/[\dA-Za-z]/),xee=qo(/[#-'*+\--9=?A-Z^-~]/);function z0(e){return e!==null&&(e<32||e===127)}const cy=qo(/\d/),wee=qo(/[\dA-Fa-f]/),Dee=qo(/[!-/:-@[-`{-~]/);function Ie(e){return e!==null&&e<-2}function bt(e){return e!==null&&(e<0||e===32)}function Ze(e){return e===-2||e===-1||e===32}const km=qo(new RegExp("\\p{P}|\\p{S}","u")),Os=qo(/\s/);function qo(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function Wc(e){const t=[];let n=-1,r=0,i=0;for(;++n55295&&a<57344){const s=e.charCodeAt(n+1);a<56320&&s>56319&&s<57344?(o=String.fromCharCode(a,s),i=1):o="�"}else o=String.fromCharCode(a);o&&(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+i+1,o=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function Qe(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let a=0;return o;function o(l){return Ze(l)?(e.enter(n),s(l)):t(l)}function s(l){return Ze(l)&&a++o))return;const _=t.events.length;let N=_,O,B;for(;N--;)if(t.events[N][0]==="exit"&&t.events[N][1].type==="chunkFlow"){if(O){B=t.events[N][1].end;break}O=!0}for(m(r),w=_;wb;){const D=n[x];t.containerState=D[1],D[0].exit.call(t,e)}n.length=b}function g(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function See(e,t,n){return Qe(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function bc(e){if(e===null||bt(e)||Os(e))return 1;if(km(e))return 2}function _m(e,t,n){const r=[];let i=-1;for(;++i1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const d={...e[r][1].end},f={...e[n][1].start};D7(d,-l),D7(f,l),o={type:l>1?"strongSequence":"emphasisSequence",start:d,end:{...e[r][1].end}},s={type:l>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:f},a={type:l>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},i={type:l>1?"strong":"emphasis",start:{...o.start},end:{...s.end}},e[r][1].end={...o.start},e[n][1].start={...s.end},c=[],e[r][1].end.offset-e[r][1].start.offset&&(c=jr(c,[["enter",e[r][1],t],["exit",e[r][1],t]])),c=jr(c,[["enter",i,t],["enter",o,t],["exit",o,t],["enter",a,t]]),c=jr(c,_m(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),c=jr(c,[["exit",a,t],["enter",s,t],["exit",s,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(u=2,c=jr(c,[["enter",e[n][1],t],["exit",e[n][1],t]])):u=0,kr(e,r-1,n-r+3,c),n=r+c.length-u-2;break}}for(n=-1;++n0&&Ze(w)?Qe(e,g,"linePrefix",a+1)(w):g(w)}function g(w){return w===null||Ie(w)?e.check(k7,p,x)(w):(e.enter("codeFlowValue"),b(w))}function b(w){return w===null||Ie(w)?(e.exit("codeFlowValue"),g(w)):(e.consume(w),b)}function x(w){return e.exit("codeFenced"),t(w)}function D(w,_,N){let O=0;return B;function B(X){return w.enter("lineEnding"),w.consume(X),w.exit("lineEnding"),K}function K(X){return w.enter("codeFencedFence"),Ze(X)?Qe(w,A,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(X):A(X)}function A(X){return X===s?(w.enter("codeFencedFenceSequence"),q(X)):N(X)}function q(X){return X===s?(O++,w.consume(X),q):O>=o?(w.exit("codeFencedFenceSequence"),Ze(X)?Qe(w,T,"whitespace")(X):T(X)):N(X)}function T(X){return X===null||Ie(X)?(w.exit("codeFencedFence"),_(X)):N(X)}}}function jee(e,t,n){const r=this;return i;function i(o){return o===null?n(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a)}function a(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}const X1={name:"codeIndented",tokenize:zee},Lee={partial:!0,tokenize:Wee};function zee(e,t,n){const r=this;return i;function i(c){return e.enter("codeIndented"),Qe(e,a,"linePrefix",5)(c)}function a(c){const u=r.events[r.events.length-1];return u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?o(c):n(c)}function o(c){return c===null?l(c):Ie(c)?e.attempt(Lee,o,l)(c):(e.enter("codeFlowValue"),s(c))}function s(c){return c===null||Ie(c)?(e.exit("codeFlowValue"),o(c)):(e.consume(c),s)}function l(c){return e.exit("codeIndented"),t(c)}}function Wee(e,t,n){const r=this;return i;function i(o){return r.parser.lazy[r.now().line]?n(o):Ie(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i):Qe(e,a,"linePrefix",5)(o)}function a(o){const s=r.events[r.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(o):Ie(o)?i(o):n(o)}}const $ee={name:"codeText",previous:Hee,resolve:qee,tokenize:Vee};function qee(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return tthis.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const i=n||0;this.setCursor(Math.trunc(t));const a=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&cu(this.left,r),a.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),cu(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),cu(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}}function kF(e,t,n,r,i,a,o,s,l){const c=l||Number.POSITIVE_INFINITY;let u=0;return d;function d(m){return m===60?(e.enter(r),e.enter(i),e.enter(a),e.consume(m),e.exit(a),f):m===null||m===32||m===41||z0(m)?n(m):(e.enter(r),e.enter(o),e.enter(s),e.enter("chunkString",{contentType:"string"}),p(m))}function f(m){return m===62?(e.enter(a),e.consume(m),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),h(m))}function h(m){return m===62?(e.exit("chunkString"),e.exit(s),f(m)):m===null||m===60||Ie(m)?n(m):(e.consume(m),m===92?v:h)}function v(m){return m===60||m===62||m===92?(e.consume(m),h):h(m)}function p(m){return!u&&(m===null||m===41||bt(m))?(e.exit("chunkString"),e.exit(s),e.exit(o),e.exit(r),t(m)):u999||h===null||h===91||h===93&&!l||h===94&&!s&&"_hiddenFootnoteSupport"in o.parser.constructs?n(h):h===93?(e.exit(a),e.enter(i),e.consume(h),e.exit(i),e.exit(r),t):Ie(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),u):(e.enter("chunkString",{contentType:"string"}),d(h))}function d(h){return h===null||h===91||h===93||Ie(h)||s++>999?(e.exit("chunkString"),u(h)):(e.consume(h),l||(l=!Ze(h)),h===92?f:d)}function f(h){return h===91||h===92||h===93?(e.consume(h),s++,d):d(h)}}function TF(e,t,n,r,i,a){let o;return s;function s(f){return f===34||f===39||f===40?(e.enter(r),e.enter(i),e.consume(f),e.exit(i),o=f===40?41:f,l):n(f)}function l(f){return f===o?(e.enter(i),e.consume(f),e.exit(i),e.exit(r),t):(e.enter(a),c(f))}function c(f){return f===o?(e.exit(a),l(o)):f===null?n(f):Ie(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),Qe(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),u(f))}function u(f){return f===o||f===null||Ie(f)?(e.exit("chunkString"),c(f)):(e.consume(f),f===92?d:u)}function d(f){return f===o||f===92?(e.consume(f),u):u(f)}}function Ou(e,t){let n;return r;function r(i){return Ie(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):Ze(i)?Qe(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}const ete={name:"definition",tokenize:nte},tte={partial:!0,tokenize:rte};function nte(e,t,n){const r=this;let i;return a;function a(h){return e.enter("definition"),o(h)}function o(h){return _F.call(r,e,s,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(h)}function s(h){return i=li(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),h===58?(e.enter("definitionMarker"),e.consume(h),e.exit("definitionMarker"),l):n(h)}function l(h){return bt(h)?Ou(e,c)(h):c(h)}function c(h){return kF(e,u,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(h)}function u(h){return e.attempt(tte,d,d)(h)}function d(h){return Ze(h)?Qe(e,f,"whitespace")(h):f(h)}function f(h){return h===null||Ie(h)?(e.exit("definition"),r.parser.defined.push(i),t(h)):n(h)}}function rte(e,t,n){return r;function r(s){return bt(s)?Ou(e,i)(s):n(s)}function i(s){return TF(e,a,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(s)}function a(s){return Ze(s)?Qe(e,o,"whitespace")(s):o(s)}function o(s){return s===null||Ie(s)?t(s):n(s)}}const ite={name:"hardBreakEscape",tokenize:ate};function ate(e,t,n){return r;function r(a){return e.enter("hardBreakEscape"),e.consume(a),i}function i(a){return Ie(a)?(e.exit("hardBreakEscape"),t(a)):n(a)}}const ote={name:"headingAtx",resolve:ste,tokenize:lte};function ste(e,t){let n=e.length-2,r=3,i,a;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},a={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},kr(e,r,n-r+1,[["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t]])),e}function lte(e,t,n){let r=0;return i;function i(u){return e.enter("atxHeading"),a(u)}function a(u){return e.enter("atxHeadingSequence"),o(u)}function o(u){return u===35&&r++<6?(e.consume(u),o):u===null||bt(u)?(e.exit("atxHeadingSequence"),s(u)):n(u)}function s(u){return u===35?(e.enter("atxHeadingSequence"),l(u)):u===null||Ie(u)?(e.exit("atxHeading"),t(u)):Ze(u)?Qe(e,s,"whitespace")(u):(e.enter("atxHeadingText"),c(u))}function l(u){return u===35?(e.consume(u),l):(e.exit("atxHeadingSequence"),s(u))}function c(u){return u===null||u===35||bt(u)?(e.exit("atxHeadingText"),s(u)):(e.consume(u),c)}}const cte=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],T7=["pre","script","style","textarea"],ute={concrete:!0,name:"htmlFlow",resolveTo:fte,tokenize:pte},dte={partial:!0,tokenize:gte},hte={partial:!0,tokenize:mte};function fte(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function pte(e,t,n){const r=this;let i,a,o,s,l;return c;function c(U){return u(U)}function u(U){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(U),d}function d(U){return U===33?(e.consume(U),f):U===47?(e.consume(U),a=!0,p):U===63?(e.consume(U),i=3,r.interrupt?t:F):$n(U)?(e.consume(U),o=String.fromCharCode(U),y):n(U)}function f(U){return U===45?(e.consume(U),i=2,h):U===91?(e.consume(U),i=5,s=0,v):$n(U)?(e.consume(U),i=4,r.interrupt?t:F):n(U)}function h(U){return U===45?(e.consume(U),r.interrupt?t:F):n(U)}function v(U){const ne="CDATA[";return U===ne.charCodeAt(s++)?(e.consume(U),s===ne.length?r.interrupt?t:A:v):n(U)}function p(U){return $n(U)?(e.consume(U),o=String.fromCharCode(U),y):n(U)}function y(U){if(U===null||U===47||U===62||bt(U)){const ne=U===47,ce=o.toLowerCase();return!ne&&!a&&T7.includes(ce)?(i=1,r.interrupt?t(U):A(U)):cte.includes(o.toLowerCase())?(i=6,ne?(e.consume(U),m):r.interrupt?t(U):A(U)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(U):a?g(U):b(U))}return U===45||Un(U)?(e.consume(U),o+=String.fromCharCode(U),y):n(U)}function m(U){return U===62?(e.consume(U),r.interrupt?t:A):n(U)}function g(U){return Ze(U)?(e.consume(U),g):B(U)}function b(U){return U===47?(e.consume(U),B):U===58||U===95||$n(U)?(e.consume(U),x):Ze(U)?(e.consume(U),b):B(U)}function x(U){return U===45||U===46||U===58||U===95||Un(U)?(e.consume(U),x):D(U)}function D(U){return U===61?(e.consume(U),w):Ze(U)?(e.consume(U),D):b(U)}function w(U){return U===null||U===60||U===61||U===62||U===96?n(U):U===34||U===39?(e.consume(U),l=U,_):Ze(U)?(e.consume(U),w):N(U)}function _(U){return U===l?(e.consume(U),l=null,O):U===null||Ie(U)?n(U):(e.consume(U),_)}function N(U){return U===null||U===34||U===39||U===47||U===60||U===61||U===62||U===96||bt(U)?D(U):(e.consume(U),N)}function O(U){return U===47||U===62||Ze(U)?b(U):n(U)}function B(U){return U===62?(e.consume(U),K):n(U)}function K(U){return U===null||Ie(U)?A(U):Ze(U)?(e.consume(U),K):n(U)}function A(U){return U===45&&i===2?(e.consume(U),j):U===60&&i===1?(e.consume(U),z):U===62&&i===4?(e.consume(U),$):U===63&&i===3?(e.consume(U),F):U===93&&i===5?(e.consume(U),M):Ie(U)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(dte,V,q)(U)):U===null||Ie(U)?(e.exit("htmlFlowData"),q(U)):(e.consume(U),A)}function q(U){return e.check(hte,T,V)(U)}function T(U){return e.enter("lineEnding"),e.consume(U),e.exit("lineEnding"),X}function X(U){return U===null||Ie(U)?q(U):(e.enter("htmlFlowData"),A(U))}function j(U){return U===45?(e.consume(U),F):A(U)}function z(U){return U===47?(e.consume(U),o="",P):A(U)}function P(U){if(U===62){const ne=o.toLowerCase();return T7.includes(ne)?(e.consume(U),$):A(U)}return $n(U)&&o.length<8?(e.consume(U),o+=String.fromCharCode(U),P):A(U)}function M(U){return U===93?(e.consume(U),F):A(U)}function F(U){return U===62?(e.consume(U),$):U===45&&i===2?(e.consume(U),F):A(U)}function $(U){return U===null||Ie(U)?(e.exit("htmlFlowData"),V(U)):(e.consume(U),$)}function V(U){return e.exit("htmlFlow"),t(U)}}function mte(e,t,n){const r=this;return i;function i(o){return Ie(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a):n(o)}function a(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}function gte(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(ah,t,n)}}const vte={name:"htmlText",tokenize:yte};function yte(e,t,n){const r=this;let i,a,o;return s;function s(F){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(F),l}function l(F){return F===33?(e.consume(F),c):F===47?(e.consume(F),D):F===63?(e.consume(F),b):$n(F)?(e.consume(F),N):n(F)}function c(F){return F===45?(e.consume(F),u):F===91?(e.consume(F),a=0,v):$n(F)?(e.consume(F),g):n(F)}function u(F){return F===45?(e.consume(F),h):n(F)}function d(F){return F===null?n(F):F===45?(e.consume(F),f):Ie(F)?(o=d,z(F)):(e.consume(F),d)}function f(F){return F===45?(e.consume(F),h):d(F)}function h(F){return F===62?j(F):F===45?f(F):d(F)}function v(F){const $="CDATA[";return F===$.charCodeAt(a++)?(e.consume(F),a===$.length?p:v):n(F)}function p(F){return F===null?n(F):F===93?(e.consume(F),y):Ie(F)?(o=p,z(F)):(e.consume(F),p)}function y(F){return F===93?(e.consume(F),m):p(F)}function m(F){return F===62?j(F):F===93?(e.consume(F),m):p(F)}function g(F){return F===null||F===62?j(F):Ie(F)?(o=g,z(F)):(e.consume(F),g)}function b(F){return F===null?n(F):F===63?(e.consume(F),x):Ie(F)?(o=b,z(F)):(e.consume(F),b)}function x(F){return F===62?j(F):b(F)}function D(F){return $n(F)?(e.consume(F),w):n(F)}function w(F){return F===45||Un(F)?(e.consume(F),w):_(F)}function _(F){return Ie(F)?(o=_,z(F)):Ze(F)?(e.consume(F),_):j(F)}function N(F){return F===45||Un(F)?(e.consume(F),N):F===47||F===62||bt(F)?O(F):n(F)}function O(F){return F===47?(e.consume(F),j):F===58||F===95||$n(F)?(e.consume(F),B):Ie(F)?(o=O,z(F)):Ze(F)?(e.consume(F),O):j(F)}function B(F){return F===45||F===46||F===58||F===95||Un(F)?(e.consume(F),B):K(F)}function K(F){return F===61?(e.consume(F),A):Ie(F)?(o=K,z(F)):Ze(F)?(e.consume(F),K):O(F)}function A(F){return F===null||F===60||F===61||F===62||F===96?n(F):F===34||F===39?(e.consume(F),i=F,q):Ie(F)?(o=A,z(F)):Ze(F)?(e.consume(F),A):(e.consume(F),T)}function q(F){return F===i?(e.consume(F),i=void 0,X):F===null?n(F):Ie(F)?(o=q,z(F)):(e.consume(F),q)}function T(F){return F===null||F===34||F===39||F===60||F===61||F===96?n(F):F===47||F===62||bt(F)?O(F):(e.consume(F),T)}function X(F){return F===47||F===62||bt(F)?O(F):n(F)}function j(F){return F===62?(e.consume(F),e.exit("htmlTextData"),e.exit("htmlText"),t):n(F)}function z(F){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(F),e.exit("lineEnding"),P}function P(F){return Ze(F)?Qe(e,M,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(F):M(F)}function M(F){return e.enter("htmlTextData"),o(F)}}const M4={name:"labelEnd",resolveAll:Dte,resolveTo:kte,tokenize:_te},bte={tokenize:Tte},xte={tokenize:Ete},wte={tokenize:Ste};function Dte(e){let t=-1;const n=[];for(;++t=3&&(c===null||Ie(c))?(e.exit("thematicBreak"),t(c)):n(c)}function l(c){return c===i?(e.consume(c),r++,l):(e.exit("thematicBreakSequence"),Ze(c)?Qe(e,s,"whitespace")(c):s(c))}}const Jn={continuation:{tokenize:Bte},exit:jte,name:"list",tokenize:Pte},Ote={partial:!0,tokenize:Lte},Ite={partial:!0,tokenize:Mte};function Pte(e,t,n){const r=this,i=r.events[r.events.length-1];let a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,o=0;return s;function s(h){const v=r.containerState.type||(h===42||h===43||h===45?"listUnordered":"listOrdered");if(v==="listUnordered"?!r.containerState.marker||h===r.containerState.marker:cy(h)){if(r.containerState.type||(r.containerState.type=v,e.enter(v,{_container:!0})),v==="listUnordered")return e.enter("listItemPrefix"),h===42||h===45?e.check(Mf,n,c)(h):c(h);if(!r.interrupt||h===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(h)}return n(h)}function l(h){return cy(h)&&++o<10?(e.consume(h),l):(!r.interrupt||o<2)&&(r.containerState.marker?h===r.containerState.marker:h===41||h===46)?(e.exit("listItemValue"),c(h)):n(h)}function c(h){return e.enter("listItemMarker"),e.consume(h),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||h,e.check(ah,r.interrupt?n:u,e.attempt(Ote,f,d))}function u(h){return r.containerState.initialBlankLine=!0,a++,f(h)}function d(h){return Ze(h)?(e.enter("listItemPrefixWhitespace"),e.consume(h),e.exit("listItemPrefixWhitespace"),f):n(h)}function f(h){return r.containerState.size=a+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(h)}}function Bte(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(ah,i,a);function i(s){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Qe(e,t,"listItemIndent",r.containerState.size+1)(s)}function a(s){return r.containerState.furtherBlankLines||!Ze(s)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(s)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Ite,t,o)(s))}function o(s){return r.containerState._closeFlow=!0,r.interrupt=void 0,Qe(e,e.attempt(Jn,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function Mte(e,t,n){const r=this;return Qe(e,i,"listItemIndent",r.containerState.size+1);function i(a){const o=r.events[r.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(a):n(a)}}function jte(e){e.exit(this.containerState.type)}function Lte(e,t,n){const r=this;return Qe(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(a){const o=r.events[r.events.length-1];return!Ze(a)&&o&&o[1].type==="listItemPrefixWhitespace"?t(a):n(a)}}const E7={name:"setextUnderline",resolveTo:zte,tokenize:Wte};function zte(e,t){let n=e.length,r,i,a;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!a&&e[n][1].type==="definition"&&(a=n);const o={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",a?(e.splice(i,0,["enter",o,t]),e.splice(a+1,0,["exit",e[r][1],t]),e[r][1].end={...e[a][1].end}):e[r][1]=o,e.push(["exit",o,t]),e}function Wte(e,t,n){const r=this;let i;return a;function a(c){let u=r.events.length,d;for(;u--;)if(r.events[u][1].type!=="lineEnding"&&r.events[u][1].type!=="linePrefix"&&r.events[u][1].type!=="content"){d=r.events[u][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||d)?(e.enter("setextHeadingLine"),i=c,o(c)):n(c)}function o(c){return e.enter("setextHeadingLineSequence"),s(c)}function s(c){return c===i?(e.consume(c),s):(e.exit("setextHeadingLineSequence"),Ze(c)?Qe(e,l,"lineSuffix")(c):l(c))}function l(c){return c===null||Ie(c)?(e.exit("setextHeadingLine"),t(c)):n(c)}}const $te={tokenize:qte};function qte(e){const t=this,n=e.attempt(ah,r,e.attempt(this.parser.constructs.flowInitial,i,Qe(e,e.attempt(this.parser.constructs.flow,i,e.attempt(Kee,i)),"linePrefix")));return n;function r(a){if(a===null){e.consume(a);return}return e.enter("lineEndingBlank"),e.consume(a),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const Hte={resolveAll:SF()},Vte=EF("string"),Gte=EF("text");function EF(e){return{resolveAll:SF(e==="text"?Xte:void 0),tokenize:t};function t(n){const r=this,i=this.parser.constructs[e],a=n.attempt(i,o,s);return o;function o(u){return c(u)?a(u):s(u)}function s(u){if(u===null){n.consume(u);return}return n.enter("data"),n.consume(u),l}function l(u){return c(u)?(n.exit("data"),a(u)):(n.consume(u),l)}function c(u){if(u===null)return!0;const d=i[u];let f=-1;if(d)for(;++f-1){const s=o[0];typeof s=="string"?o[0]=s.slice(r):o.shift()}a>0&&o.push(e[i].slice(0,a))}return o}function sne(e,t){let n=-1;const r=[];let i;for(;++n0){const Oe=he.tokenStack[he.tokenStack.length-1];(Oe[1]||C7).call(he,void 0,Oe[0])}for(ie.position={start:Wa(W.length>0?W[0][1].start:{line:1,column:1,offset:0}),end:Wa(W.length>0?W[W.length-2][1].end:{line:1,column:1,offset:0})},we=-1;++we0&&(r.className=["language-"+i[0]]);let a={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a=e.applyData(t,a),a={type:"element",tagName:"pre",properties:{},children:[a]},e.patch(t,a),a}function wne(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Dne(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function kne(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),i=Wc(r.toLowerCase()),a=e.footnoteOrder.indexOf(r);let o,s=e.footnoteCounts.get(r);s===void 0?(s=0,e.footnoteOrder.push(r),o=e.footnoteOrder.length):o=a+1,s+=1,e.footnoteCounts.set(r,s);const l={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+i,id:n+"fnref-"+i+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(t,l);const c={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,c),e.applyData(t,c)}function _ne(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Tne(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function UF(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const i=e.all(t),a=i[0];a&&a.type==="text"?a.value="["+a.value:i.unshift({type:"text",value:"["});const o=i[i.length-1];return o&&o.type==="text"?o.value+=r:i.push({type:"text",value:r}),i}function Ene(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return UF(e,t);const i={src:Wc(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);const a={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,a),e.applyData(t,a)}function Sne(e,t){const n={src:Wc(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function Cne(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function Ane(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return UF(e,t);const i={href:Wc(r.url||"")};r.title!==null&&r.title!==void 0&&(i.title=r.title);const a={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function Une(e,t){const n={href:Wc(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Fne(e,t,n){const r=e.all(t),i=n?Rne(n):FF(t),a={},o=[];if(typeof t.checked=="boolean"){const u=r[0];let d;u&&u.type==="element"&&u.tagName==="p"?d=u:(d={type:"element",tagName:"p",properties:{},children:[]},r.unshift(d)),d.children.length>0&&d.children.unshift({type:"text",value:" "}),d.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),a.className=["task-list-item"]}let s=-1;for(;++s1}function Nne(e,t){const n={},r=e.all(t);let i=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++i0){const o={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},s=R4(t.children[1]),l=uF(t.children[t.children.length-1]);s&&l&&(o.position={start:s,end:l}),i.push(o)}const a={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,a),e.applyData(t,a)}function Mne(e,t,n){const r=n?n.children:void 0,a=(r?r.indexOf(t):1)===0?"th":"td",o=n&&n.type==="table"?n.align:void 0,s=o?o.length:t.children.length;let l=-1;const c=[];for(;++l0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return a.push(F7(t.slice(i),i>0,!1)),a.join("")}function F7(e,t,n){let r=0,i=e.length;if(t){let a=e.codePointAt(r);for(;a===A7||a===U7;)r++,a=e.codePointAt(r)}if(n){let a=e.codePointAt(i-1);for(;a===A7||a===U7;)i--,a=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function zne(e,t){const n={type:"text",value:Lne(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function Wne(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const $ne={blockquote:yne,break:bne,code:xne,delete:wne,emphasis:Dne,footnoteReference:kne,heading:_ne,html:Tne,imageReference:Ene,image:Sne,inlineCode:Cne,linkReference:Ane,link:Une,listItem:Fne,list:Nne,paragraph:One,root:Ine,strong:Pne,table:Bne,tableCell:jne,tableRow:Mne,text:zne,thematicBreak:Wne,toml:rf,yaml:rf,definition:rf,footnoteDefinition:rf};function rf(){}const RF=-1,Tm=0,Iu=1,W0=2,j4=3,L4=4,z4=5,W4=6,NF=7,OF=8,R7=typeof self=="object"?self:globalThis,qne=(e,t)=>{const n=(i,a)=>(e.set(a,i),i),r=i=>{if(e.has(i))return e.get(i);const[a,o]=t[i];switch(a){case Tm:case RF:return n(o,i);case Iu:{const s=n([],i);for(const l of o)s.push(r(l));return s}case W0:{const s=n({},i);for(const[l,c]of o)s[r(l)]=r(c);return s}case j4:return n(new Date(o),i);case L4:{const{source:s,flags:l}=o;return n(new RegExp(s,l),i)}case z4:{const s=n(new Map,i);for(const[l,c]of o)s.set(r(l),r(c));return s}case W4:{const s=n(new Set,i);for(const l of o)s.add(r(l));return s}case NF:{const{name:s,message:l}=o;return n(new R7[s](l),i)}case OF:return n(BigInt(o),i);case"BigInt":return n(Object(BigInt(o)),i);case"ArrayBuffer":return n(new Uint8Array(o).buffer,o);case"DataView":{const{buffer:s}=new Uint8Array(o);return n(new DataView(s),o)}}return n(new R7[a](o),i)};return r},N7=e=>qne(new Map,e)(0),ul="",{toString:Hne}={},{keys:Vne}=Object,uu=e=>{const t=typeof e;if(t!=="object"||!e)return[Tm,t];const n=Hne.call(e).slice(8,-1);switch(n){case"Array":return[Iu,ul];case"Object":return[W0,ul];case"Date":return[j4,ul];case"RegExp":return[L4,ul];case"Map":return[z4,ul];case"Set":return[W4,ul];case"DataView":return[Iu,n]}return n.includes("Array")?[Iu,n]:n.includes("Error")?[NF,n]:[W0,n]},af=([e,t])=>e===Tm&&(t==="function"||t==="symbol"),Gne=(e,t,n,r)=>{const i=(o,s)=>{const l=r.push(o)-1;return n.set(s,l),l},a=o=>{if(n.has(o))return n.get(o);let[s,l]=uu(o);switch(s){case Tm:{let u=o;switch(l){case"bigint":s=OF,u=o.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+l);u=null;break;case"undefined":return i([RF],o)}return i([s,u],o)}case Iu:{if(l){let f=o;return l==="DataView"?f=new Uint8Array(o.buffer):l==="ArrayBuffer"&&(f=new Uint8Array(o)),i([l,[...f]],o)}const u=[],d=i([s,u],o);for(const f of o)u.push(a(f));return d}case W0:{if(l)switch(l){case"BigInt":return i([l,o.toString()],o);case"Boolean":case"Number":case"String":return i([l,o.valueOf()],o)}if(t&&"toJSON"in o)return a(o.toJSON());const u=[],d=i([s,u],o);for(const f of Vne(o))(e||!af(uu(o[f])))&&u.push([a(f),a(o[f])]);return d}case j4:return i([s,o.toISOString()],o);case L4:{const{source:u,flags:d}=o;return i([s,{source:u,flags:d}],o)}case z4:{const u=[],d=i([s,u],o);for(const[f,h]of o)(e||!(af(uu(f))||af(uu(h))))&&u.push([a(f),a(h)]);return d}case W4:{const u=[],d=i([s,u],o);for(const f of o)(e||!af(uu(f)))&&u.push(a(f));return d}}const{message:c}=o;return i([s,{name:l,message:c}],o)};return a},O7=(e,{json:t,lossy:n}={})=>{const r=[];return Gne(!(t||n),!!t,new Map,r)(e),r},$0=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?N7(O7(e,t)):structuredClone(e):(e,t)=>N7(O7(e,t));function Xne(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function Kne(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function Yne(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||Xne,r=e.options.footnoteBackLabel||Kne,i=e.options.footnoteLabel||"Footnotes",a=e.options.footnoteLabelTagName||"h2",o=e.options.footnoteLabelProperties||{className:["sr-only"]},s=[];let l=-1;for(;++l0&&v.push({type:"text",value:" "});let g=typeof n=="string"?n:n(l,h);typeof g=="string"&&(g={type:"text",value:g}),v.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+f+(h>1?"-"+h:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(l,h),className:["data-footnote-backref"]},children:Array.isArray(g)?g:[g]})}const y=u[u.length-1];if(y&&y.type==="element"&&y.tagName==="p"){const g=y.children[y.children.length-1];g&&g.type==="text"?g.value+=" ":y.children.push({type:"text",value:" "}),y.children.push(...v)}else u.push(...v);const m={type:"element",tagName:"li",properties:{id:t+"fn-"+f},children:e.wrap(u,!0)};e.patch(c,m),s.push(m)}if(s.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:a,properties:{...$0(o),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:` +`},{type:"element",tagName:"ol",properties:{},children:e.wrap(s,!0)},{type:"text",value:` +`}]}}const oh=function(e){if(e==null)return ere;if(typeof e=="function")return Em(e);if(typeof e=="object")return Array.isArray(e)?Jne(e):Qne(e);if(typeof e=="string")return Zne(e);throw new Error("Expected function, string, or object as test")};function Jne(e){const t=[];let n=-1;for(;++n":""))+")"})}return f;function f(){let h=IF,v,p,y;if((!t||a(l,c,u[u.length-1]||void 0))&&(h=rre(n(l,u)),h[0]===dy))return h;if("children"in l&&l.children){const m=l;if(m.children&&h[0]!==PF)for(p=(r?m.children.length:-1)+o,y=u.concat(m);p>-1&&p0&&n.push({type:"text",value:` +`}),n}function I7(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function P7(e,t){const n=are(e,t),r=n.one(e,void 0),i=Yne(n),a=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&a.children.push({type:"text",value:` +`},i),a}function ure(e,t){return e&&"run"in e?async function(n,r){const i=P7(n,{file:r,...t});await e.run(i,r)}:function(n,r){return P7(n,{file:r,...e||t})}}function B7(e){if(e)throw e}var jf=Object.prototype.hasOwnProperty,BF=Object.prototype.toString,M7=Object.defineProperty,j7=Object.getOwnPropertyDescriptor,L7=function(t){return typeof Array.isArray=="function"?Array.isArray(t):BF.call(t)==="[object Array]"},z7=function(t){if(!t||BF.call(t)!=="[object Object]")return!1;var n=jf.call(t,"constructor"),r=t.constructor&&t.constructor.prototype&&jf.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!r)return!1;var i;for(i in t);return typeof i>"u"||jf.call(t,i)},W7=function(t,n){M7&&n.name==="__proto__"?M7(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},$7=function(t,n){if(n==="__proto__")if(jf.call(t,n)){if(j7)return j7(t,n).value}else return;return t[n]},dre=function e(){var t,n,r,i,a,o,s=arguments[0],l=1,c=arguments.length,u=!1;for(typeof s=="boolean"&&(u=s,s=arguments[1]||{},l=2),(s==null||typeof s!="object"&&typeof s!="function")&&(s={});lo.length;let l;s&&o.push(i);try{l=e.apply(this,o)}catch(c){const u=c;if(s&&n)throw u;return i(u)}s||(l&&l.then&&typeof l.then=="function"?l.then(a,i):l instanceof Error?i(l):a(l))}function i(o,...s){n||(n=!0,t(o,...s))}function a(o){i(null,o)}}const ki={basename:pre,dirname:mre,extname:gre,join:vre,sep:"/"};function pre(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');sh(e);let n=0,r=-1,i=e.length,a;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(a){n=i+1;break}}else r<0&&(a=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let o=-1,s=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(a){n=i+1;break}}else o<0&&(a=!0,o=i+1),s>-1&&(e.codePointAt(i)===t.codePointAt(s--)?s<0&&(r=i):(s=-1,r=o));return n===r?r=o:r<0&&(r=e.length),e.slice(n,r)}function mre(e){if(sh(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function gre(e){sh(e);let t=e.length,n=-1,r=0,i=-1,a=0,o;for(;t--;){const s=e.codePointAt(t);if(s===47){if(o){r=t+1;break}continue}n<0&&(o=!0,n=t+1),s===46?i<0?i=t:a!==1&&(a=1):i>-1&&(a=-1)}return i<0||n<0||a===0||a===1&&i===n-1&&i===r+1?"":e.slice(i,n)}function vre(...e){let t=-1,n;for(;++t0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function bre(e,t){let n="",r=0,i=-1,a=0,o=-1,s,l;for(;++o<=e.length;){if(o2){if(l=n.lastIndexOf("/"),l!==n.length-1){l<0?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),i=o,a=0;continue}}else if(n.length>0){n="",r=0,i=o,a=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,o):n=e.slice(i+1,o),r=o-i-1;i=o,a=0}else s===46&&a>-1?a++:a=-1}return n}function sh(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const xre={cwd:wre};function wre(){return"/"}function py(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function Dre(e){if(typeof e=="string")e=new URL(e);else if(!py(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return kre(e)}function kre(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n0){let[h,...v]=u;const p=r[f][1];fy(p)&&fy(h)&&(h=Y1(!0,p,h)),r[f]=[c,h,...v]}}}}const Sre=new H4().freeze();function ev(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function tv(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function nv(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function H7(e){if(!fy(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function V7(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function of(e){return Cre(e)?e:new MF(e)}function Cre(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function Are(e){return typeof e=="string"||Ure(e)}function Ure(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Fre="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",G7=[],X7={allowDangerousHtml:!0},Rre=/^(https?|ircs?|mailto|xmpp)$/i,Nre=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function Ore(e){const t=Ire(e),n=Pre(e);return Bre(t.runSync(t.parse(n),n),e)}function Ire(e){const t=e.rehypePlugins||G7,n=e.remarkPlugins||G7,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...X7}:X7;return Sre().use(vne).use(n).use(ure,r).use(t)}function Pre(e){const t=e.children||"",n=new MF;return typeof t=="string"&&(n.value=t),n}function Bre(e,t){const n=t.allowedElements,r=t.allowElement,i=t.components,a=t.disallowedElements,o=t.skipHtml,s=t.unwrapDisallowed,l=t.urlTransform||Mre;for(const u of Nre)Object.hasOwn(t,u.from)&&(""+u.from+(u.to?"use `"+u.to+"` instead":"remove it")+Fre+u.id,void 0);return q4(e,c),eee(e,{Fragment:E.Fragment,components:i,ignoreInvalidStyle:!0,jsx:E.jsx,jsxs:E.jsxs,passKeys:!0,passNode:!0});function c(u,d,f){if(u.type==="raw"&&f&&typeof d=="number")return o?f.children.splice(d,1):f.children[d]={type:"text",value:u.value},d;if(u.type==="element"){let h;for(h in G1)if(Object.hasOwn(G1,h)&&Object.hasOwn(u.properties,h)){const v=u.properties[h],p=G1[h];(p===null||p.includes(u.tagName))&&(u.properties[h]=l(String(v||""),h,u))}}if(u.type==="element"){let h=n?!n.includes(u.tagName):a?a.includes(u.tagName):!1;if(!h&&r&&typeof d=="number"&&(h=!r(u,d,f)),h&&f&&typeof d=="number")return s&&u.children?f.children.splice(d,1,...u.children):f.children.splice(d,1),d}}}function Mre(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return t===-1||i!==-1&&t>i||n!==-1&&t>n||r!==-1&&t>r||Rre.test(e.slice(0,t))?e:""}function K7(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}function jre(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function Lre(e,t,n){const i=oh((n||{}).ignore||[]),a=zre(t);let o=-1;for(;++o0?{type:"text",value:w}:void 0),w===!1?f.lastIndex=x+1:(v!==x&&g.push({type:"text",value:c.value.slice(v,x)}),Array.isArray(w)?g.push(...w):w&&g.push(w),v=x+b[0].length,m=!0),!f.global)break;b=f.exec(c.value)}return m?(v?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const i=K7(e,"(");let a=K7(e,")");for(;r!==-1&&i>a;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),a++;return[e,n]}function jF(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||Os(n)||km(n))&&(!t||n!==47)}LF.peek=uie;function nie(){this.buffer()}function rie(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function iie(){this.buffer()}function aie(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function oie(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=li(this.sliceSerialize(e)).toLowerCase(),n.label=t}function sie(e){this.exit(e)}function lie(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=li(this.sliceSerialize(e)).toLowerCase(),n.label=t}function cie(e){this.exit(e)}function uie(){return"["}function LF(e,t,n,r){const i=n.createTracker(r);let a=i.move("[^");const o=n.enter("footnoteReference"),s=n.enter("reference");return a+=i.move(n.safe(n.associationId(e),{after:"]",before:a})),s(),o(),a+=i.move("]"),a}function die(){return{enter:{gfmFootnoteCallString:nie,gfmFootnoteCall:rie,gfmFootnoteDefinitionLabelString:iie,gfmFootnoteDefinition:aie},exit:{gfmFootnoteCallString:oie,gfmFootnoteCall:sie,gfmFootnoteDefinitionLabelString:lie,gfmFootnoteDefinition:cie}}}function hie(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:LF},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function n(r,i,a,o){const s=a.createTracker(o);let l=s.move("[^");const c=a.enter("footnoteDefinition"),u=a.enter("label");return l+=s.move(a.safe(a.associationId(r),{before:l,after:"]"})),u(),l+=s.move("]:"),r.children&&r.children.length>0&&(s.shift(4),l+=s.move((t?` +`:" ")+a.indentLines(a.containerFlow(r,s.current()),t?zF:fie))),c(),l}}function fie(e,t,n){return t===0?e:zF(e,t,n)}function zF(e,t,n){return(n?"":" ")+e}const pie=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];WF.peek=bie;function mie(){return{canContainEols:["delete"],enter:{strikethrough:vie},exit:{strikethrough:yie}}}function gie(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:pie}],handlers:{delete:WF}}}function vie(e){this.enter({type:"delete",children:[]},e)}function yie(e){this.exit(e)}function WF(e,t,n,r){const i=n.createTracker(r),a=n.enter("strikethrough");let o=i.move("~~");return o+=n.containerPhrasing(e,{...i.current(),before:o,after:"~"}),o+=i.move("~~"),a(),o}function bie(){return"~"}function xie(e){return e.length}function wie(e,t){const n=t||{},r=(n.align||[]).concat(),i=n.stringLength||xie,a=[],o=[],s=[],l=[];let c=0,u=-1;for(;++uc&&(c=e[u].length);++ml[m])&&(l[m]=b)}p.push(g)}o[u]=p,s[u]=y}let d=-1;if(typeof r=="object"&&"length"in r)for(;++dl[d]&&(l[d]=g),h[d]=g),f[d]=b}o.splice(1,0,f),s.splice(1,0,h),u=-1;const v=[];for(;++u "),a.shift(2);const o=n.indentLines(n.containerFlow(e,a.current()),_ie);return i(),o}function _ie(e,t,n){return">"+(n?"":" ")+e}function Tie(e,t){return J7(e,t.inConstruct,!0)&&!J7(e,t.notInConstruct,!1)}function J7(e,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++ro&&(o=a):a=1,i=r+t.length,r=n.indexOf(t,i);return o}function Eie(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function Sie(e){const t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function Cie(e,t,n,r){const i=Sie(n),a=e.value||"",o=i==="`"?"GraveAccent":"Tilde";if(Eie(e,n)){const d=n.enter("codeIndented"),f=n.indentLines(a,Aie);return d(),f}const s=n.createTracker(r),l=i.repeat(Math.max($F(a,i)+1,3)),c=n.enter("codeFenced");let u=s.move(l);if(e.lang){const d=n.enter(`codeFencedLang${o}`);u+=s.move(n.safe(e.lang,{before:u,after:" ",encode:["`"],...s.current()})),d()}if(e.lang&&e.meta){const d=n.enter(`codeFencedMeta${o}`);u+=s.move(" "),u+=s.move(n.safe(e.meta,{before:u,after:` +`,encode:["`"],...s.current()})),d()}return u+=s.move(` +`),a&&(u+=s.move(a+` +`)),u+=s.move(l),c(),u}function Aie(e,t,n){return(n?"":" ")+e}function V4(e){const t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function Uie(e,t,n,r){const i=V4(n),a=i==='"'?"Quote":"Apostrophe",o=n.enter("definition");let s=n.enter("label");const l=n.createTracker(r);let c=l.move("[");return c+=l.move(n.safe(n.associationId(e),{before:c,after:"]",...l.current()})),c+=l.move("]: "),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":` +`,...l.current()}))),s(),e.title&&(s=n.enter(`title${a}`),c+=l.move(" "+i),c+=l.move(n.safe(e.title,{before:c,after:i,...l.current()})),c+=l.move(i),s()),o(),c}function Fie(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function Cd(e){return"&#x"+e.toString(16).toUpperCase()+";"}function q0(e,t,n){const r=bc(e),i=bc(t);return r===void 0?i===void 0?n==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:r===1?i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}qF.peek=Rie;function qF(e,t,n,r){const i=Fie(n),a=n.enter("emphasis"),o=n.createTracker(r),s=o.move(i);let l=o.move(n.containerPhrasing(e,{after:i,before:s,...o.current()}));const c=l.charCodeAt(0),u=q0(r.before.charCodeAt(r.before.length-1),c,i);u.inside&&(l=Cd(c)+l.slice(1));const d=l.charCodeAt(l.length-1),f=q0(r.after.charCodeAt(0),d,i);f.inside&&(l=l.slice(0,-1)+Cd(d));const h=o.move(i);return a(),n.attentionEncodeSurroundingInfo={after:f.outside,before:u.outside},s+l+h}function Rie(e,t,n){return n.options.emphasis||"*"}function Nie(e,t){let n=!1;return q4(e,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return n=!0,dy}),!!((!e.depth||e.depth<3)&&P4(e)&&(t.options.setext||n))}function Oie(e,t,n,r){const i=Math.max(Math.min(6,e.depth||1),1),a=n.createTracker(r);if(Nie(e,n)){const u=n.enter("headingSetext"),d=n.enter("phrasing"),f=n.containerPhrasing(e,{...a.current(),before:` +`,after:` +`});return d(),u(),f+` +`+(i===1?"=":"-").repeat(f.length-(Math.max(f.lastIndexOf("\r"),f.lastIndexOf(` +`))+1))}const o="#".repeat(i),s=n.enter("headingAtx"),l=n.enter("phrasing");a.move(o+" ");let c=n.containerPhrasing(e,{before:"# ",after:` +`,...a.current()});return/^[\t ]/.test(c)&&(c=Cd(c.charCodeAt(0))+c.slice(1)),c=c?o+" "+c:o,n.options.closeAtx&&(c+=" "+o),l(),s(),c}HF.peek=Iie;function HF(e){return e.value||""}function Iie(){return"<"}VF.peek=Pie;function VF(e,t,n,r){const i=V4(n),a=i==='"'?"Quote":"Apostrophe",o=n.enter("image");let s=n.enter("label");const l=n.createTracker(r);let c=l.move("![");return c+=l.move(n.safe(e.alt,{before:c,after:"]",...l.current()})),c+=l.move("]("),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),s(),e.title&&(s=n.enter(`title${a}`),c+=l.move(" "+i),c+=l.move(n.safe(e.title,{before:c,after:i,...l.current()})),c+=l.move(i),s()),c+=l.move(")"),o(),c}function Pie(){return"!"}GF.peek=Bie;function GF(e,t,n,r){const i=e.referenceType,a=n.enter("imageReference");let o=n.enter("label");const s=n.createTracker(r);let l=s.move("![");const c=n.safe(e.alt,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),o();const u=n.stack;n.stack=[],o=n.enter("reference");const d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,a(),i==="full"||!c||c!==d?l+=s.move(d+"]"):i==="shortcut"?l=l.slice(0,-1):l+=s.move("]"),l}function Bie(){return"!"}XF.peek=Mie;function XF(e,t,n){let r=e.value||"",i="`",a=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++a\u007F]/.test(e.url))}YF.peek=jie;function YF(e,t,n,r){const i=V4(n),a=i==='"'?"Quote":"Apostrophe",o=n.createTracker(r);let s,l;if(KF(e,n)){const u=n.stack;n.stack=[],s=n.enter("autolink");let d=o.move("<");return d+=o.move(n.containerPhrasing(e,{before:d,after:">",...o.current()})),d+=o.move(">"),s(),n.stack=u,d}s=n.enter("link"),l=n.enter("label");let c=o.move("[");return c+=o.move(n.containerPhrasing(e,{before:c,after:"](",...o.current()})),c+=o.move("]("),l(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(l=n.enter("destinationLiteral"),c+=o.move("<"),c+=o.move(n.safe(e.url,{before:c,after:">",...o.current()})),c+=o.move(">")):(l=n.enter("destinationRaw"),c+=o.move(n.safe(e.url,{before:c,after:e.title?" ":")",...o.current()}))),l(),e.title&&(l=n.enter(`title${a}`),c+=o.move(" "+i),c+=o.move(n.safe(e.title,{before:c,after:i,...o.current()})),c+=o.move(i),l()),c+=o.move(")"),s(),c}function jie(e,t,n){return KF(e,n)?"<":"["}JF.peek=Lie;function JF(e,t,n,r){const i=e.referenceType,a=n.enter("linkReference");let o=n.enter("label");const s=n.createTracker(r);let l=s.move("[");const c=n.containerPhrasing(e,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),o();const u=n.stack;n.stack=[],o=n.enter("reference");const d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,a(),i==="full"||!c||c!==d?l+=s.move(d+"]"):i==="shortcut"?l=l.slice(0,-1):l+=s.move("]"),l}function Lie(){return"["}function G4(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function zie(e){const t=G4(e),n=e.options.bulletOther;if(!n)return t==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function Wie(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function QF(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function $ie(e,t,n,r){const i=n.enter("list"),a=n.bulletCurrent;let o=e.ordered?Wie(n):G4(n);const s=e.ordered?o==="."?")":".":zie(n);let l=t&&n.bulletLastUsed?o===n.bulletLastUsed:!1;if(!e.ordered){const u=e.children?e.children[0]:void 0;if((o==="*"||o==="-")&&u&&(!u.children||!u.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(l=!0),QF(n)===o&&u){let d=-1;for(;++d-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+a);let o=a.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(o=Math.ceil(o/4)*4);const s=n.createTracker(r);s.move(a+" ".repeat(o-a.length)),s.shift(o);const l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,s.current()),u);return l(),c;function u(d,f,h){return f?(h?"":" ".repeat(o))+d:(h?a:a+" ".repeat(o-a.length))+d}}function Vie(e,t,n,r){const i=n.enter("paragraph"),a=n.enter("phrasing"),o=n.containerPhrasing(e,r);return a(),i(),o}const Gie=oh(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function Xie(e,t,n,r){return(e.children.some(function(o){return Gie(o)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function Kie(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}ZF.peek=Yie;function ZF(e,t,n,r){const i=Kie(n),a=n.enter("strong"),o=n.createTracker(r),s=o.move(i+i);let l=o.move(n.containerPhrasing(e,{after:i,before:s,...o.current()}));const c=l.charCodeAt(0),u=q0(r.before.charCodeAt(r.before.length-1),c,i);u.inside&&(l=Cd(c)+l.slice(1));const d=l.charCodeAt(l.length-1),f=q0(r.after.charCodeAt(0),d,i);f.inside&&(l=l.slice(0,-1)+Cd(d));const h=o.move(i+i);return a(),n.attentionEncodeSurroundingInfo={after:f.outside,before:u.outside},s+l+h}function Yie(e,t,n){return n.options.strong||"*"}function Jie(e,t,n,r){return n.safe(e.value,r)}function Qie(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function Zie(e,t,n){const r=(QF(n)+(n.options.ruleSpaces?" ":"")).repeat(Qie(n));return n.options.ruleSpaces?r.slice(0,-1):r}const eR={blockquote:kie,break:Q7,code:Cie,definition:Uie,emphasis:qF,hardBreak:Q7,heading:Oie,html:HF,image:VF,imageReference:GF,inlineCode:XF,link:YF,linkReference:JF,list:$ie,listItem:Hie,paragraph:Vie,root:Xie,strong:ZF,text:Jie,thematicBreak:Zie};function eae(){return{enter:{table:tae,tableData:Z7,tableHeader:Z7,tableRow:rae},exit:{codeText:iae,table:nae,tableData:ov,tableHeader:ov,tableRow:ov}}}function tae(e){const t=e._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}function nae(e){this.exit(e),this.data.inTable=void 0}function rae(e){this.enter({type:"tableRow",children:[]},e)}function ov(e){this.exit(e)}function Z7(e){this.enter({type:"tableCell",children:[]},e)}function iae(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,aae));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function aae(e,t){return t==="|"?t:e}function oae(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,a=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:` +`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:f,table:o,tableCell:l,tableRow:s}};function o(h,v,p,y){return c(u(h,p,y),h.align)}function s(h,v,p,y){const m=d(h,p,y),g=c([m]);return g.slice(0,g.indexOf(` +`))}function l(h,v,p,y){const m=p.enter("tableCell"),g=p.enter("phrasing"),b=p.containerPhrasing(h,{...y,before:a,after:a});return g(),m(),b}function c(h,v){return wie(h,{align:v,alignDelimiters:r,padding:n,stringLength:i})}function u(h,v,p){const y=h.children;let m=-1;const g=[],b=v.enter("table");for(;++m0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const _ae={tokenize:Rae,partial:!0};function Tae(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:Aae,continuation:{tokenize:Uae},exit:Fae}},text:{91:{name:"gfmFootnoteCall",tokenize:Cae},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:Eae,resolveTo:Sae}}}}function Eae(e,t,n){const r=this;let i=r.events.length;const a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o;for(;i--;){const l=r.events[i][1];if(l.type==="labelImage"){o=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return s;function s(l){if(!o||!o._balanced)return n(l);const c=li(r.sliceSerialize({start:o.end,end:r.now()}));return c.codePointAt(0)!==94||!a.includes(c.slice(1))?n(l):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),t(l))}}function Sae(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",a,t],["enter",o,t],["exit",o,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function Cae(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a=0,o;return s;function s(d){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(d),e.exit("gfmFootnoteCallLabelMarker"),l}function l(d){return d!==94?n(d):(e.enter("gfmFootnoteCallMarker"),e.consume(d),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(d){if(a>999||d===93&&!o||d===null||d===91||bt(d))return n(d);if(d===93){e.exit("chunkString");const f=e.exit("gfmFootnoteCallString");return i.includes(li(r.sliceSerialize(f)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(d),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(d)}return bt(d)||(o=!0),a++,e.consume(d),d===92?u:c}function u(d){return d===91||d===92||d===93?(e.consume(d),a++,c):c(d)}}function Aae(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a,o=0,s;return l;function l(v){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(v),e.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(v){return v===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(v),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",u):n(v)}function u(v){if(o>999||v===93&&!s||v===null||v===91||bt(v))return n(v);if(v===93){e.exit("chunkString");const p=e.exit("gfmFootnoteDefinitionLabelString");return a=li(r.sliceSerialize(p)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(v),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),f}return bt(v)||(s=!0),o++,e.consume(v),v===92?d:u}function d(v){return v===91||v===92||v===93?(e.consume(v),o++,u):u(v)}function f(v){return v===58?(e.enter("definitionMarker"),e.consume(v),e.exit("definitionMarker"),i.includes(a)||i.push(a),Qe(e,h,"gfmFootnoteDefinitionWhitespace")):n(v)}function h(v){return t(v)}}function Uae(e,t,n){return e.check(ah,t,e.attempt(_ae,t,n))}function Fae(e){e.exit("gfmFootnoteDefinition")}function Rae(e,t,n){const r=this;return Qe(e,i,"gfmFootnoteDefinitionIndent",5);function i(a){const o=r.events[r.events.length-1];return o&&o[1].type==="gfmFootnoteDefinitionIndent"&&o[2].sliceSerialize(o[1],!0).length===4?t(a):n(a)}}function Nae(e){let n=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:a,resolveAll:i};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function i(o,s){let l=-1;for(;++l1?l(v):(o.consume(v),d++,h);if(d<2&&!n)return l(v);const y=o.exit("strikethroughSequenceTemporary"),m=bc(v);return y._open=!m||m===2&&!!p,y._close=!p||p===2&&!!m,s(v)}}}class Oae{constructor(){this.map=[]}add(t,n,r){Iae(this,t,n,r)}consume(t){if(this.map.sort(function(a,o){return a[0]-o[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push(t.slice()),t.length=0;let i=r.pop();for(;i;){for(const a of i)t.push(a);i=r.pop()}this.map.length=0}}function Iae(e,t,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i-1;){const T=r.events[K][1].type;if(T==="lineEnding"||T==="linePrefix")K--;else break}const A=K>-1?r.events[K][1].type:null,q=A==="tableHead"||A==="tableRow"?w:l;return q===w&&r.parser.lazy[r.now().line]?n(B):q(B)}function l(B){return e.enter("tableHead"),e.enter("tableRow"),c(B)}function c(B){return B===124||(o=!0,a+=1),u(B)}function u(B){return B===null?n(B):Ie(B)?a>1?(a=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(B),e.exit("lineEnding"),h):n(B):Ze(B)?Qe(e,u,"whitespace")(B):(a+=1,o&&(o=!1,i+=1),B===124?(e.enter("tableCellDivider"),e.consume(B),e.exit("tableCellDivider"),o=!0,u):(e.enter("data"),d(B)))}function d(B){return B===null||B===124||bt(B)?(e.exit("data"),u(B)):(e.consume(B),B===92?f:d)}function f(B){return B===92||B===124?(e.consume(B),d):d(B)}function h(B){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(B):(e.enter("tableDelimiterRow"),o=!1,Ze(B)?Qe(e,v,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(B):v(B))}function v(B){return B===45||B===58?y(B):B===124?(o=!0,e.enter("tableCellDivider"),e.consume(B),e.exit("tableCellDivider"),p):D(B)}function p(B){return Ze(B)?Qe(e,y,"whitespace")(B):y(B)}function y(B){return B===58?(a+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(B),e.exit("tableDelimiterMarker"),m):B===45?(a+=1,m(B)):B===null||Ie(B)?x(B):D(B)}function m(B){return B===45?(e.enter("tableDelimiterFiller"),g(B)):D(B)}function g(B){return B===45?(e.consume(B),g):B===58?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(B),e.exit("tableDelimiterMarker"),b):(e.exit("tableDelimiterFiller"),b(B))}function b(B){return Ze(B)?Qe(e,x,"whitespace")(B):x(B)}function x(B){return B===124?v(B):B===null||Ie(B)?!o||i!==a?D(B):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(B)):D(B)}function D(B){return n(B)}function w(B){return e.enter("tableRow"),_(B)}function _(B){return B===124?(e.enter("tableCellDivider"),e.consume(B),e.exit("tableCellDivider"),_):B===null||Ie(B)?(e.exit("tableRow"),t(B)):Ze(B)?Qe(e,_,"whitespace")(B):(e.enter("data"),N(B))}function N(B){return B===null||B===124||bt(B)?(e.exit("data"),_(B)):(e.consume(B),B===92?O:N)}function O(B){return B===92||B===124?(e.consume(B),N):N(B)}}function jae(e,t){let n=-1,r=!0,i=0,a=[0,0,0,0],o=[0,0,0,0],s=!1,l=0,c,u,d;const f=new Oae;for(;++nn[2]+1){const v=n[2]+1,p=n[3]-n[2]-1;e.add(v,p,[])}}e.add(n[3]+1,0,[["exit",d,t]])}return i!==void 0&&(a.end=Object.assign({},gl(t.events,i)),e.add(i,0,[["exit",a,t]]),a=void 0),a}function t9(e,t,n,r,i){const a=[],o=gl(t.events,n);i&&(i.end=Object.assign({},o),a.push(["exit",i,t])),r.end=Object.assign({},o),a.push(["exit",r,t]),e.add(n+1,0,a)}function gl(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const Lae={name:"tasklistCheck",tokenize:Wae};function zae(){return{text:{91:Lae}}}function Wae(e,t,n){const r=this;return i;function i(l){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(l):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),a)}function a(l){return bt(l)?(e.enter("taskListCheckValueUnchecked"),e.consume(l),e.exit("taskListCheckValueUnchecked"),o):l===88||l===120?(e.enter("taskListCheckValueChecked"),e.consume(l),e.exit("taskListCheckValueChecked"),o):n(l)}function o(l){return l===93?(e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(l)}function s(l){return Ie(l)?t(l):Ze(l)?e.check({tokenize:$ae},t,n)(l):n(l)}}function $ae(e,t,n){return Qe(e,r,"whitespace");function r(i){return i===null?n(i):t(i)}}function qae(e){return vF([mae(),Tae(),Nae(e),Bae(),zae()])}const Hae={};function Vae(e){const t=this,n=e||Hae,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),a=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),o=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(qae(n)),a.push(dae()),o.push(hae(n))}function Gae(){return{enter:{mathFlow:e,mathFlowFenceMeta:t,mathText:a},exit:{mathFlow:i,mathFlowFence:r,mathFlowFenceMeta:n,mathFlowValue:s,mathText:o,mathTextData:s}};function e(l){const c={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[c]}},l)}function t(){this.buffer()}function n(){const l=this.resume(),c=this.stack[this.stack.length-1];c.type,c.meta=l}function r(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function i(l){const c=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),u=this.stack[this.stack.length-1];u.type,this.exit(l),u.value=c;const d=u.data.hChildren[0];d.type,d.tagName,d.children.push({type:"text",value:c}),this.data.mathFlowInside=void 0}function a(l){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},l),this.buffer()}function o(l){const c=this.resume(),u=this.stack[this.stack.length-1];u.type,this.exit(l),u.value=c,u.data.hChildren.push({type:"text",value:c})}function s(l){this.config.enter.data.call(this,l),this.config.exit.data.call(this,l)}}function Xae(e){let t=(e||{}).singleDollarTextMath;return t==null&&(t=!0),r.peek=i,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:` +`,inConstruct:"mathFlowMeta"},{character:"$",after:t?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:n,inlineMath:r}};function n(a,o,s,l){const c=a.value||"",u=s.createTracker(l),d="$".repeat(Math.max($F(c,"$")+1,2)),f=s.enter("mathFlow");let h=u.move(d);if(a.meta){const v=s.enter("mathFlowMeta");h+=u.move(s.safe(a.meta,{after:` +`,before:h,encode:["$"],...u.current()})),v()}return h+=u.move(` +`),c&&(h+=u.move(c+` +`)),h+=u.move(d),f(),h}function r(a,o,s){let l=a.value||"",c=1;for(t||c++;new RegExp("(^|[^$])"+"\\$".repeat(c)+"([^$]|$)").test(l);)c++;const u="$".repeat(c);/[^ \r\n]/.test(l)&&(/^[ \r\n]/.test(l)&&/[ \r\n]$/.test(l)||/^\$|\$$/.test(l))&&(l=" "+l+" ");let d=-1;for(;++d15?c="…"+s.slice(i-15,i):c=s.slice(0,i);var u;a+15e.replace(noe,"-$1").toLowerCase(),roe={"&":"&",">":">","<":"<",'"':""","'":"'"},ioe=/[&><"']/g,Rn=e=>String(e).replace(ioe,t=>roe[t]),Lf=e=>e.type==="ordgroup"||e.type==="color"?e.body.length===1?Lf(e.body[0]):e:e.type==="font"?Lf(e.body):e,aoe=new Set(["mathord","textord","atom"]),Fa=e=>aoe.has(Lf(e).type),ooe=e=>{var t=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(e);return t?t[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1])?null:t[1].toLowerCase():"_relative"},gy={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format "},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color ",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:e=>"#"+e},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(e,t)=>(t.push(e),t)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:"--min-rule-thickness ",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:e=>Math.max(0,e),cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:e=>Math.max(0,e),cli:"-e, --max-expand ",cliProcessor:e=>e==="Infinity"?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}};function soe(e){if("default"in e)return e.default;var t=e.type,n=Array.isArray(t)?t[0]:t;if(typeof n!="string")return n.enum[0];switch(n){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class Y4{constructor(t){t===void 0&&(t={}),t=t||{};for(var n of Object.keys(gy)){var r=gy[n],i=t[n];this[n]=i!==void 0?r.processor?r.processor(i):i:soe(r)}}reportNonstrict(t,n,r){var i=this.strict;if(typeof i=="function"&&(i=i(t,n,r)),!(!i||i==="ignore")){if(i===!0||i==="error")throw new ke("LaTeX-incompatible input and strict mode is set to 'error': "+(n+" ["+t+"]"),r);i==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(n+" ["+t+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+i+"': "+n+" ["+t+"]"))}}useStrictBehavior(t,n,r){var i=this.strict;if(typeof i=="function")try{i=i(t,n,r)}catch{i="error"}return!i||i==="ignore"?!1:i===!0||i==="error"?!0:i==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(n+" ["+t+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+i+"': "+n+" ["+t+"]")),!1)}isTrusted(t){if("url"in t&&t.url&&!t.protocol){var n=ooe(t.url);if(n==null)return!1;t.protocol=n}var r=typeof this.trust=="function"?this.trust(t):this.trust;return!!r}}class $a{constructor(t,n,r){this.id=t,this.size=n,this.cramped=r}sup(){return Ai[loe[this.id]]}sub(){return Ai[coe[this.id]]}fracNum(){return Ai[uoe[this.id]]}fracDen(){return Ai[doe[this.id]]}cramp(){return Ai[hoe[this.id]]}text(){return Ai[foe[this.id]]}isTight(){return this.size>=2}}var J4=0,H0=1,Hl=2,pa=3,Ad=4,zr=5,xc=6,qn=7,Ai=[new $a(J4,0,!1),new $a(H0,0,!0),new $a(Hl,1,!1),new $a(pa,1,!0),new $a(Ad,2,!1),new $a(zr,2,!0),new $a(xc,3,!1),new $a(qn,3,!0)],loe=[Ad,zr,Ad,zr,xc,qn,xc,qn],coe=[zr,zr,zr,zr,qn,qn,qn,qn],uoe=[Hl,pa,Ad,zr,xc,qn,xc,qn],doe=[pa,pa,zr,zr,qn,qn,qn,qn],hoe=[H0,H0,pa,pa,zr,zr,qn,qn],foe=[J4,H0,Hl,pa,Hl,pa,Hl,pa],qe={DISPLAY:Ai[J4],TEXT:Ai[Hl],SCRIPT:Ai[Ad],SCRIPTSCRIPT:Ai[xc]},vy=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function poe(e){for(var t=0;t=i[0]&&e<=i[1])return n.name}return null}var zf=[];vy.forEach(e=>e.blocks.forEach(t=>zf.push(...t)));function cR(e){for(var t=0;t=zf[t]&&e<=zf[t+1])return!0;return!1}var tn=e=>e+" "+e,dl=80,moe=function(t,n){return"M95,"+(622+t+n)+` +c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14 +c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54 +c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10 +s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429 +c69,-144,104.5,-217.7,106.5,-221 +l`+t/2.075+" -"+t+` +c5.3,-9.3,12,-14,20,-14 +H400000v`+(40+t)+`H845.2724 +s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7 +c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z +M`+(834+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},goe=function(t,n){return"M263,"+(601+t+n)+`c0.7,0,18,39.7,52,119 +c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120 +c340,-704.7,510.7,-1060.3,512,-1067 +l`+t/2.084+" -"+t+` +c4.7,-7.3,11,-11,19,-11 +H40000v`+(40+t)+`H1012.3 +s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232 +c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1 +s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26 +c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z +M`+(1001+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},voe=function(t,n){return"M983 "+(10+t+n)+` +l`+t/3.13+" -"+t+` +c4,-6.7,10,-10,18,-10 H400000v`+(40+t)+` +H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7 +s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744 +c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30 +c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722 +c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5 +c53.7,-170.3,84.5,-266.8,92.5,-289.5z +M`+(1001+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},yoe=function(t,n){return"M424,"+(2398+t+n)+` +c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514 +c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20 +s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121 +s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081 +l`+t/4.223+" -"+t+`c4,-6.7,10,-10,18,-10 H400000 +v`+(40+t)+`H1014.6 +s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185 +c-2,6,-10,9,-24,9 +c-8,0,-12,-0.7,-12,-2z M`+(1001+t)+" "+n+` +h400000v`+(40+t)+"h-400000z"},boe=function(t,n){return"M473,"+(2713+t+n)+` +c339.3,-1799.3,509.3,-2700,510,-2702 l`+t/5.298+" -"+t+` +c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+t)+`H1017.7 +s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9 +c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200 +c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26 +s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104, +606zM`+(1001+t)+" "+n+"h400000v"+(40+t)+"H1017.7z"},xoe=function(t){var n=t/2;return"M400000 "+t+" H0 L"+n+" 0 l65 45 L145 "+(t-80)+" H400000z"},woe=function(t,n,r){var i=r-54-n-t;return"M702 "+(t+n)+"H400000"+(40+t)+` +H742v`+i+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1 +h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170 +c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667 +219 661 l218 661zM702 `+n+"H400000v"+(40+t)+"H742z"},Doe=function(t,n,r){n=1e3*n;var i="";switch(t){case"sqrtMain":i=moe(n,dl);break;case"sqrtSize1":i=goe(n,dl);break;case"sqrtSize2":i=voe(n,dl);break;case"sqrtSize3":i=yoe(n,dl);break;case"sqrtSize4":i=boe(n,dl);break;case"sqrtTall":i=woe(n,dl,r)}return i},koe=function(t,n){switch(t){case"⎜":return tn("M291 0 H417 V"+n+" H291z");case"∣":return tn("M145 0 H188 V"+n+" H145z");case"∥":return tn("M145 0 H188 V"+n+" H145z")+tn("M367 0 H410 V"+n+" H367z");case"⎟":return tn("M457 0 H583 V"+n+" H457z");case"⎢":return tn("M319 0 H403 V"+n+" H319z");case"⎥":return tn("M263 0 H347 V"+n+" H263z");case"⎪":return tn("M384 0 H504 V"+n+" H384z");case"⏐":return tn("M312 0 H355 V"+n+" H312z");case"‖":return tn("M257 0 H300 V"+n+" H257z")+tn("M478 0 H521 V"+n+" H478z");default:return""}},r9={doubleleftarrow:`M262 157 +l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3 + 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28 + 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5 +c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5 + 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87 +-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7 +-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z +m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l +-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5 + 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88 +-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68 +-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18 +-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782 +c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3 +-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120 + 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8 +-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247 +c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208 + 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3 + 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202 + l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117 +-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7 + 5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13 + 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688 + 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7 +-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80 +H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0 + 435 0h399565z`,leftgroupunder:`M400000 262 +H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219 + 435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3 +-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5 +-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7 +-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5 + 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3 +-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7 +-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z +m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333 + 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5 + 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667 +-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12 + 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7 +-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0 +v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5 +-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3 +-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21 + 71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:tn("M40 281 V428 H0 V94 H40 V241 H400000 v40z"),leftbracketunder:tn("M0 0 h120 V290 H399995 v120 H0z"),leftbracketover:tn("M0 440 h120 V150 H399995 v-120 H0z"),leftmapsto:tn("M40 281 V448H0V74H40V241H400000v40z"),leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23 +-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8 +c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3 + 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:tn("M0 50 h400000 v40H0z m0 194h40000v40H0z"),midbrace:`M200428 334 +c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14 +-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7 + 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11 + 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214 +c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14 + 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3 + 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0 +-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6 +-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z +m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8 +60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8 +-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z +m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2 +c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6 +-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z +m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0 +85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8 +-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z +m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1 +c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128 +-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 + 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 + 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85 +-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5 +-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67 + 151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l +-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5 +s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1 +c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3 + 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237 +-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0 + 3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18 + 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3 +-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2 +-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 + 69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11 +-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7 + 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z +m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8 + 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5 +-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95 +-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8 + 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 + 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3 +-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z +m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3 + 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0 +-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21 + 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:tn("M399960 241 V94 h40 V428 h-40 V281 H0 v-40z"),rightbracketunder:tn("M399995 0 h-120 V290 H0 v120 H400000z"),rightbracketover:tn("M399995 440 h-120 V150 H0 v-120 H399995z"),rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23 + 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32 +-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142 +-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40 + 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69 +-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3 +-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19 +-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101 + 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167 +c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3 + 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42 + 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333 +-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70 + 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7 +-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0 + 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0 + 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128 +-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418 +-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9 + 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114 +c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751 + 181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457 +-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0 + 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697 + 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696 + -338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345 +-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409 + 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9 + 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409 + -175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5 +3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11 +10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63 +-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1 +-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59 +H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359 +c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22 +c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10 +-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10 +-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10 +-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1, +-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10, +-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10, +-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10, +-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202 +c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5 +c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130 +s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47 +121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6 +s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11 +c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z +M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32 +-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0 +13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39 +-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5 +-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5 +-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67 +151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11 +c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17 +c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21 +c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40 +c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z +M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0 +c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199, +-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6 +c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z +M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11 +c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9, +1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7, +-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z +M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0 +c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199, +-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6 +c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z +M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},_oe=function(t,n){switch(t){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+n+` v1759 h347 v-84 +H403z M403 1759 V0 H319 V1759 v`+n+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+n+` v1759 H0 v84 H347z +M347 1759 V0 H263 V1759 v`+n+" v1759 h84z";case"vert":return"M145 15 v585 v"+n+` v585 c2.667,10,9.667,15,21,15 +c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15 +c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+n+" v585 h43z";case"doublevert":return"M145 15 v585 v"+n+` v585 c2.667,10,9.667,15,21,15 +c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15 +c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+n+` v585 h43z +M367 15 v585 v`+n+` v585 c2.667,10,9.667,15,21,15 +c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15 +c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+n+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+n+` v1715 h263 v84 H319z +MM319 602 V0 H403 V602 v`+n+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+n+` v1799 H0 v-84 H319z +MM319 602 V0 H403 V602 v`+n+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+n+` v602 h84z +M403 1759 V0 H319 V1759 v`+n+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+n+` v602 h84z +M347 1759 V0 h-84 V1759 v`+n+" v602 h84z";case"lparen":return`M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1 +c-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349, +-36,557 l0,`+(n+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210, +949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9 +c0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5, +-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189 +l0,-`+(n+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3, +-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z`;case"rparen":return`M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3, +63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5 +c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(n+9)+` +c-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664 +c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11 +c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17 +c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558 +l0,-`+(n+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7, +-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}};class $c{constructor(t){this.children=t,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(t){return this.classes.includes(t)}toNode(){for(var t=document.createDocumentFragment(),n=0;nn.toText();return this.children.map(t).join("")}}var yy={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},Toe={ex:!0,em:!0,mu:!0},uR=function(t){return typeof t!="string"&&(t=t.unit),t in yy||t in Toe||t==="ex"},Bt=function(t,n){var r;if(t.unit in yy)r=yy[t.unit]/n.fontMetrics().ptPerEm/n.sizeMultiplier;else if(t.unit==="mu")r=n.fontMetrics().cssEmPerMu;else{var i;if(n.style.isTight()?i=n.havingStyle(n.style.text()):i=n,t.unit==="ex")r=i.fontMetrics().xHeight;else if(t.unit==="em")r=i.fontMetrics().quad;else throw new ke("Invalid unit: '"+t.unit+"'");i!==n&&(r*=i.sizeMultiplier/n.sizeMultiplier)}return Math.min(t.number*r,n.maxSize)},Ce=function(t){return+t.toFixed(4)+"em"},Ao=function(t){return t.filter(n=>n).join(" ")},dR=function(t,n,r){if(this.classes=t||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=r||{},n){n.style.isTight()&&this.classes.push("mtight");var i=n.getColor();i&&(this.style.color=i)}},hR=function(t){var n=document.createElement(t);n.className=Ao(this.classes);for(var r of Object.keys(this.style))n.style[r]=this.style[r];for(var i of Object.keys(this.attributes))n.setAttribute(i,this.attributes[i]);for(var a=0;a/=\x00-\x1f]/,fR=function(t){var n="<"+t;this.classes.length&&(n+=' class="'+Rn(Ao(this.classes))+'"');var r="";for(var i of Object.keys(this.style))r+=K4(i)+":"+this.style[i]+";";r&&(n+=' style="'+Rn(r)+'"');for(var a of Object.keys(this.attributes)){if(Eoe.test(a))throw new ke("Invalid attribute name '"+a+"'");n+=" "+a+'="'+Rn(this.attributes[a])+'"'}n+=">";for(var o=0;o",n};class qc{constructor(t,n,r,i){dR.call(this,t,r,i),this.children=n||[]}setAttribute(t,n){this.attributes[t]=n}hasClass(t){return this.classes.includes(t)}toNode(){return hR.call(this,"span")}toMarkup(){return fR.call(this,"span")}}class Sm{constructor(t,n,r,i){dR.call(this,n,i),this.children=r||[],this.setAttribute("href",t)}setAttribute(t,n){this.attributes[t]=n}hasClass(t){return this.classes.includes(t)}toNode(){return hR.call(this,"a")}toMarkup(){return fR.call(this,"a")}}class Soe{constructor(t,n,r){this.alt=n,this.src=t,this.classes=["mord"],this.height=0,this.depth=0,this.maxFontSize=0,this.style=r}hasClass(t){return this.classes.includes(t)}toNode(){var t=document.createElement("img");t.src=this.src,t.alt=this.alt,t.className="mord";for(var n of Object.keys(this.style))t.style[n]=this.style[n];return t}toMarkup(){var t=''+Rn(this.alt)+'0&&(n=document.createElement("span"),n.style.marginRight=Ce(this.italic)),this.classes.length>0&&(n=n||document.createElement("span"),n.className=Ao(this.classes));for(var r of Object.keys(this.style))n=n||document.createElement("span"),n.style[r]=this.style[r];return n?(n.appendChild(t),n):t}toMarkup(){var t=!1,n="0&&(r+="margin-right:"+Ce(this.italic)+";");for(var i of Object.keys(this.style))r+=K4(i)+":"+this.style[i]+";";r&&(t=!0,n+=' style="'+Rn(r)+'"');var a=Rn(this.text);return t?(n+=">",n+=a,n+="",n):a}}class _a{constructor(t,n){this.children=t||[],this.attributes=n||{}}toNode(){var t="http://www.w3.org/2000/svg",n=document.createElementNS(t,"svg");for(var r of Object.keys(this.attributes))n.setAttribute(r,this.attributes[r]);for(var i=0;i':''}}class by{constructor(t){this.attributes=t||{}}toNode(){var t="http://www.w3.org/2000/svg",n=document.createElementNS(t,"line");for(var r of Object.keys(this.attributes))n.setAttribute(r,this.attributes[r]);return n}toMarkup(){var t=" but got "+String(e)+".")}var Foe=e=>e instanceof qc||e instanceof Sm||e instanceof $c,Oi={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},lf={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},i9={Å:"A",Ð:"D",Þ:"o",å:"a",ð:"d",þ:"o",А:"A",Б:"B",В:"B",Г:"F",Д:"A",Е:"E",Ж:"K",З:"3",И:"N",Й:"N",К:"K",Л:"N",М:"M",Н:"H",О:"O",П:"N",Р:"P",С:"C",Т:"T",У:"y",Ф:"O",Х:"X",Ц:"U",Ч:"h",Ш:"W",Щ:"W",Ъ:"B",Ы:"X",Ь:"B",Э:"3",Ю:"X",Я:"R",а:"a",б:"b",в:"a",г:"r",д:"y",е:"e",ж:"m",з:"e",и:"n",й:"n",к:"n",л:"n",м:"m",н:"n",о:"o",п:"n",р:"p",с:"c",т:"o",у:"y",ф:"b",х:"x",ц:"n",ч:"n",ш:"w",щ:"w",ъ:"a",ы:"m",ь:"a",э:"e",ю:"m",я:"r"};function Roe(e,t){Oi[e]=t}function Q4(e,t,n){if(!Oi[t])throw new Error("Font metrics not found for font: "+t+".");var r=e.charCodeAt(0),i=Oi[t][r];if(!i&&e[0]in i9&&(r=i9[e[0]].charCodeAt(0),i=Oi[t][r]),!i&&n==="text"&&cR(r)&&(i=Oi[t][77]),i)return{depth:i[0],height:i[1],italic:i[2],skew:i[3],width:i[4]}}var sv={};function Noe(e){var t;if(e>=5?t=0:e>=3?t=1:t=2,!sv[t]){var n=sv[t]={cssEmPerMu:lf.quad[t]/18};for(var r in lf)lf.hasOwnProperty(r)&&(n[r]=lf[r][t])}return sv[t]}var Ooe={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Ioe={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Nt={math:{},text:{}};function k(e,t,n,r,i,a){Nt[e][i]={font:t,group:n,replace:r},a&&r&&(Nt[e][r]=Nt[e][i])}var S="math",ve="text",I="main",Q="ams",Ot="accent-token",Fe="bin",Kn="close",Hc="inner",je="mathord",Zt="op-token",Fr="open",lh="punct",Z="rel",Ra="spacing",re="textord";k(S,I,Z,"≡","\\equiv",!0);k(S,I,Z,"≺","\\prec",!0);k(S,I,Z,"≻","\\succ",!0);k(S,I,Z,"∼","\\sim",!0);k(S,I,Z,"⊥","\\perp");k(S,I,Z,"⪯","\\preceq",!0);k(S,I,Z,"⪰","\\succeq",!0);k(S,I,Z,"≃","\\simeq",!0);k(S,I,Z,"∣","\\mid",!0);k(S,I,Z,"≪","\\ll",!0);k(S,I,Z,"≫","\\gg",!0);k(S,I,Z,"≍","\\asymp",!0);k(S,I,Z,"∥","\\parallel");k(S,I,Z,"⋈","\\bowtie",!0);k(S,I,Z,"⌣","\\smile",!0);k(S,I,Z,"⊑","\\sqsubseteq",!0);k(S,I,Z,"⊒","\\sqsupseteq",!0);k(S,I,Z,"≐","\\doteq",!0);k(S,I,Z,"⌢","\\frown",!0);k(S,I,Z,"∋","\\ni",!0);k(S,I,Z,"∝","\\propto",!0);k(S,I,Z,"⊢","\\vdash",!0);k(S,I,Z,"⊣","\\dashv",!0);k(S,I,Z,"∋","\\owns");k(S,I,lh,".","\\ldotp");k(S,I,lh,"⋅","\\cdotp");k(S,I,lh,"⋅","·");k(ve,I,re,"⋅","·");k(S,I,re,"#","\\#");k(ve,I,re,"#","\\#");k(S,I,re,"&","\\&");k(ve,I,re,"&","\\&");k(S,I,re,"ℵ","\\aleph",!0);k(S,I,re,"∀","\\forall",!0);k(S,I,re,"ℏ","\\hbar",!0);k(S,I,re,"∃","\\exists",!0);k(S,I,re,"∇","\\nabla",!0);k(S,I,re,"♭","\\flat",!0);k(S,I,re,"ℓ","\\ell",!0);k(S,I,re,"♮","\\natural",!0);k(S,I,re,"♣","\\clubsuit",!0);k(S,I,re,"℘","\\wp",!0);k(S,I,re,"♯","\\sharp",!0);k(S,I,re,"♢","\\diamondsuit",!0);k(S,I,re,"ℜ","\\Re",!0);k(S,I,re,"♡","\\heartsuit",!0);k(S,I,re,"ℑ","\\Im",!0);k(S,I,re,"♠","\\spadesuit",!0);k(S,I,re,"§","\\S",!0);k(ve,I,re,"§","\\S");k(S,I,re,"¶","\\P",!0);k(ve,I,re,"¶","\\P");k(S,I,re,"†","\\dag");k(ve,I,re,"†","\\dag");k(ve,I,re,"†","\\textdagger");k(S,I,re,"‡","\\ddag");k(ve,I,re,"‡","\\ddag");k(ve,I,re,"‡","\\textdaggerdbl");k(S,I,Kn,"⎱","\\rmoustache",!0);k(S,I,Fr,"⎰","\\lmoustache",!0);k(S,I,Kn,"⟯","\\rgroup",!0);k(S,I,Fr,"⟮","\\lgroup",!0);k(S,I,Fe,"∓","\\mp",!0);k(S,I,Fe,"⊖","\\ominus",!0);k(S,I,Fe,"⊎","\\uplus",!0);k(S,I,Fe,"⊓","\\sqcap",!0);k(S,I,Fe,"∗","\\ast");k(S,I,Fe,"⊔","\\sqcup",!0);k(S,I,Fe,"◯","\\bigcirc",!0);k(S,I,Fe,"∙","\\bullet",!0);k(S,I,Fe,"‡","\\ddagger");k(S,I,Fe,"≀","\\wr",!0);k(S,I,Fe,"⨿","\\amalg");k(S,I,Fe,"&","\\And");k(S,I,Z,"⟵","\\longleftarrow",!0);k(S,I,Z,"⇐","\\Leftarrow",!0);k(S,I,Z,"⟸","\\Longleftarrow",!0);k(S,I,Z,"⟶","\\longrightarrow",!0);k(S,I,Z,"⇒","\\Rightarrow",!0);k(S,I,Z,"⟹","\\Longrightarrow",!0);k(S,I,Z,"↔","\\leftrightarrow",!0);k(S,I,Z,"⟷","\\longleftrightarrow",!0);k(S,I,Z,"⇔","\\Leftrightarrow",!0);k(S,I,Z,"⟺","\\Longleftrightarrow",!0);k(S,I,Z,"↦","\\mapsto",!0);k(S,I,Z,"⟼","\\longmapsto",!0);k(S,I,Z,"↗","\\nearrow",!0);k(S,I,Z,"↩","\\hookleftarrow",!0);k(S,I,Z,"↪","\\hookrightarrow",!0);k(S,I,Z,"↘","\\searrow",!0);k(S,I,Z,"↼","\\leftharpoonup",!0);k(S,I,Z,"⇀","\\rightharpoonup",!0);k(S,I,Z,"↙","\\swarrow",!0);k(S,I,Z,"↽","\\leftharpoondown",!0);k(S,I,Z,"⇁","\\rightharpoondown",!0);k(S,I,Z,"↖","\\nwarrow",!0);k(S,I,Z,"⇌","\\rightleftharpoons",!0);k(S,Q,Z,"≮","\\nless",!0);k(S,Q,Z,"","\\@nleqslant");k(S,Q,Z,"","\\@nleqq");k(S,Q,Z,"⪇","\\lneq",!0);k(S,Q,Z,"≨","\\lneqq",!0);k(S,Q,Z,"","\\@lvertneqq");k(S,Q,Z,"⋦","\\lnsim",!0);k(S,Q,Z,"⪉","\\lnapprox",!0);k(S,Q,Z,"⊀","\\nprec",!0);k(S,Q,Z,"⋠","\\npreceq",!0);k(S,Q,Z,"⋨","\\precnsim",!0);k(S,Q,Z,"⪹","\\precnapprox",!0);k(S,Q,Z,"≁","\\nsim",!0);k(S,Q,Z,"","\\@nshortmid");k(S,Q,Z,"∤","\\nmid",!0);k(S,Q,Z,"⊬","\\nvdash",!0);k(S,Q,Z,"⊭","\\nvDash",!0);k(S,Q,Z,"⋪","\\ntriangleleft");k(S,Q,Z,"⋬","\\ntrianglelefteq",!0);k(S,Q,Z,"⊊","\\subsetneq",!0);k(S,Q,Z,"","\\@varsubsetneq");k(S,Q,Z,"⫋","\\subsetneqq",!0);k(S,Q,Z,"","\\@varsubsetneqq");k(S,Q,Z,"≯","\\ngtr",!0);k(S,Q,Z,"","\\@ngeqslant");k(S,Q,Z,"","\\@ngeqq");k(S,Q,Z,"⪈","\\gneq",!0);k(S,Q,Z,"≩","\\gneqq",!0);k(S,Q,Z,"","\\@gvertneqq");k(S,Q,Z,"⋧","\\gnsim",!0);k(S,Q,Z,"⪊","\\gnapprox",!0);k(S,Q,Z,"⊁","\\nsucc",!0);k(S,Q,Z,"⋡","\\nsucceq",!0);k(S,Q,Z,"⋩","\\succnsim",!0);k(S,Q,Z,"⪺","\\succnapprox",!0);k(S,Q,Z,"≆","\\ncong",!0);k(S,Q,Z,"","\\@nshortparallel");k(S,Q,Z,"∦","\\nparallel",!0);k(S,Q,Z,"⊯","\\nVDash",!0);k(S,Q,Z,"⋫","\\ntriangleright");k(S,Q,Z,"⋭","\\ntrianglerighteq",!0);k(S,Q,Z,"","\\@nsupseteqq");k(S,Q,Z,"⊋","\\supsetneq",!0);k(S,Q,Z,"","\\@varsupsetneq");k(S,Q,Z,"⫌","\\supsetneqq",!0);k(S,Q,Z,"","\\@varsupsetneqq");k(S,Q,Z,"⊮","\\nVdash",!0);k(S,Q,Z,"⪵","\\precneqq",!0);k(S,Q,Z,"⪶","\\succneqq",!0);k(S,Q,Z,"","\\@nsubseteqq");k(S,Q,Fe,"⊴","\\unlhd");k(S,Q,Fe,"⊵","\\unrhd");k(S,Q,Z,"↚","\\nleftarrow",!0);k(S,Q,Z,"↛","\\nrightarrow",!0);k(S,Q,Z,"⇍","\\nLeftarrow",!0);k(S,Q,Z,"⇏","\\nRightarrow",!0);k(S,Q,Z,"↮","\\nleftrightarrow",!0);k(S,Q,Z,"⇎","\\nLeftrightarrow",!0);k(S,Q,Z,"△","\\vartriangle");k(S,Q,re,"ℏ","\\hslash");k(S,Q,re,"▽","\\triangledown");k(S,Q,re,"◊","\\lozenge");k(S,Q,re,"Ⓢ","\\circledS");k(S,Q,re,"®","\\circledR");k(ve,Q,re,"®","\\circledR");k(S,Q,re,"∡","\\measuredangle",!0);k(S,Q,re,"∄","\\nexists");k(S,Q,re,"℧","\\mho");k(S,Q,re,"Ⅎ","\\Finv",!0);k(S,Q,re,"⅁","\\Game",!0);k(S,Q,re,"‵","\\backprime");k(S,Q,re,"▲","\\blacktriangle");k(S,Q,re,"▼","\\blacktriangledown");k(S,Q,re,"■","\\blacksquare");k(S,Q,re,"⧫","\\blacklozenge");k(S,Q,re,"★","\\bigstar");k(S,Q,re,"∢","\\sphericalangle",!0);k(S,Q,re,"∁","\\complement",!0);k(S,Q,re,"ð","\\eth",!0);k(ve,I,re,"ð","ð");k(S,Q,re,"╱","\\diagup");k(S,Q,re,"╲","\\diagdown");k(S,Q,re,"□","\\square");k(S,Q,re,"□","\\Box");k(S,Q,re,"◊","\\Diamond");k(S,Q,re,"¥","\\yen",!0);k(ve,Q,re,"¥","\\yen",!0);k(S,Q,re,"✓","\\checkmark",!0);k(ve,Q,re,"✓","\\checkmark");k(S,Q,re,"ℶ","\\beth",!0);k(S,Q,re,"ℸ","\\daleth",!0);k(S,Q,re,"ℷ","\\gimel",!0);k(S,Q,re,"ϝ","\\digamma",!0);k(S,Q,re,"ϰ","\\varkappa");k(S,Q,Fr,"┌","\\@ulcorner",!0);k(S,Q,Kn,"┐","\\@urcorner",!0);k(S,Q,Fr,"└","\\@llcorner",!0);k(S,Q,Kn,"┘","\\@lrcorner",!0);k(S,Q,Z,"≦","\\leqq",!0);k(S,Q,Z,"⩽","\\leqslant",!0);k(S,Q,Z,"⪕","\\eqslantless",!0);k(S,Q,Z,"≲","\\lesssim",!0);k(S,Q,Z,"⪅","\\lessapprox",!0);k(S,Q,Z,"≊","\\approxeq",!0);k(S,Q,Fe,"⋖","\\lessdot");k(S,Q,Z,"⋘","\\lll",!0);k(S,Q,Z,"≶","\\lessgtr",!0);k(S,Q,Z,"⋚","\\lesseqgtr",!0);k(S,Q,Z,"⪋","\\lesseqqgtr",!0);k(S,Q,Z,"≑","\\doteqdot");k(S,Q,Z,"≓","\\risingdotseq",!0);k(S,Q,Z,"≒","\\fallingdotseq",!0);k(S,Q,Z,"∽","\\backsim",!0);k(S,Q,Z,"⋍","\\backsimeq",!0);k(S,Q,Z,"⫅","\\subseteqq",!0);k(S,Q,Z,"⋐","\\Subset",!0);k(S,Q,Z,"⊏","\\sqsubset",!0);k(S,Q,Z,"≼","\\preccurlyeq",!0);k(S,Q,Z,"⋞","\\curlyeqprec",!0);k(S,Q,Z,"≾","\\precsim",!0);k(S,Q,Z,"⪷","\\precapprox",!0);k(S,Q,Z,"⊲","\\vartriangleleft");k(S,Q,Z,"⊴","\\trianglelefteq");k(S,Q,Z,"⊨","\\vDash",!0);k(S,Q,Z,"⊪","\\Vvdash",!0);k(S,Q,Z,"⌣","\\smallsmile");k(S,Q,Z,"⌢","\\smallfrown");k(S,Q,Z,"≏","\\bumpeq",!0);k(S,Q,Z,"≎","\\Bumpeq",!0);k(S,Q,Z,"≧","\\geqq",!0);k(S,Q,Z,"⩾","\\geqslant",!0);k(S,Q,Z,"⪖","\\eqslantgtr",!0);k(S,Q,Z,"≳","\\gtrsim",!0);k(S,Q,Z,"⪆","\\gtrapprox",!0);k(S,Q,Fe,"⋗","\\gtrdot");k(S,Q,Z,"⋙","\\ggg",!0);k(S,Q,Z,"≷","\\gtrless",!0);k(S,Q,Z,"⋛","\\gtreqless",!0);k(S,Q,Z,"⪌","\\gtreqqless",!0);k(S,Q,Z,"≖","\\eqcirc",!0);k(S,Q,Z,"≗","\\circeq",!0);k(S,Q,Z,"≜","\\triangleq",!0);k(S,Q,Z,"∼","\\thicksim");k(S,Q,Z,"≈","\\thickapprox");k(S,Q,Z,"⫆","\\supseteqq",!0);k(S,Q,Z,"⋑","\\Supset",!0);k(S,Q,Z,"⊐","\\sqsupset",!0);k(S,Q,Z,"≽","\\succcurlyeq",!0);k(S,Q,Z,"⋟","\\curlyeqsucc",!0);k(S,Q,Z,"≿","\\succsim",!0);k(S,Q,Z,"⪸","\\succapprox",!0);k(S,Q,Z,"⊳","\\vartriangleright");k(S,Q,Z,"⊵","\\trianglerighteq");k(S,Q,Z,"⊩","\\Vdash",!0);k(S,Q,Z,"∣","\\shortmid");k(S,Q,Z,"∥","\\shortparallel");k(S,Q,Z,"≬","\\between",!0);k(S,Q,Z,"⋔","\\pitchfork",!0);k(S,Q,Z,"∝","\\varpropto");k(S,Q,Z,"◀","\\blacktriangleleft");k(S,Q,Z,"∴","\\therefore",!0);k(S,Q,Z,"∍","\\backepsilon");k(S,Q,Z,"▶","\\blacktriangleright");k(S,Q,Z,"∵","\\because",!0);k(S,Q,Z,"⋘","\\llless");k(S,Q,Z,"⋙","\\gggtr");k(S,Q,Fe,"⊲","\\lhd");k(S,Q,Fe,"⊳","\\rhd");k(S,Q,Z,"≂","\\eqsim",!0);k(S,I,Z,"⋈","\\Join");k(S,Q,Z,"≑","\\Doteq",!0);k(S,Q,Fe,"∔","\\dotplus",!0);k(S,Q,Fe,"∖","\\smallsetminus");k(S,Q,Fe,"⋒","\\Cap",!0);k(S,Q,Fe,"⋓","\\Cup",!0);k(S,Q,Fe,"⩞","\\doublebarwedge",!0);k(S,Q,Fe,"⊟","\\boxminus",!0);k(S,Q,Fe,"⊞","\\boxplus",!0);k(S,Q,Fe,"⋇","\\divideontimes",!0);k(S,Q,Fe,"⋉","\\ltimes",!0);k(S,Q,Fe,"⋊","\\rtimes",!0);k(S,Q,Fe,"⋋","\\leftthreetimes",!0);k(S,Q,Fe,"⋌","\\rightthreetimes",!0);k(S,Q,Fe,"⋏","\\curlywedge",!0);k(S,Q,Fe,"⋎","\\curlyvee",!0);k(S,Q,Fe,"⊝","\\circleddash",!0);k(S,Q,Fe,"⊛","\\circledast",!0);k(S,Q,Fe,"⋅","\\centerdot");k(S,Q,Fe,"⊺","\\intercal",!0);k(S,Q,Fe,"⋒","\\doublecap");k(S,Q,Fe,"⋓","\\doublecup");k(S,Q,Fe,"⊠","\\boxtimes",!0);k(S,Q,Z,"⇢","\\dashrightarrow",!0);k(S,Q,Z,"⇠","\\dashleftarrow",!0);k(S,Q,Z,"⇇","\\leftleftarrows",!0);k(S,Q,Z,"⇆","\\leftrightarrows",!0);k(S,Q,Z,"⇚","\\Lleftarrow",!0);k(S,Q,Z,"↞","\\twoheadleftarrow",!0);k(S,Q,Z,"↢","\\leftarrowtail",!0);k(S,Q,Z,"↫","\\looparrowleft",!0);k(S,Q,Z,"⇋","\\leftrightharpoons",!0);k(S,Q,Z,"↶","\\curvearrowleft",!0);k(S,Q,Z,"↺","\\circlearrowleft",!0);k(S,Q,Z,"↰","\\Lsh",!0);k(S,Q,Z,"⇈","\\upuparrows",!0);k(S,Q,Z,"↿","\\upharpoonleft",!0);k(S,Q,Z,"⇃","\\downharpoonleft",!0);k(S,I,Z,"⊶","\\origof",!0);k(S,I,Z,"⊷","\\imageof",!0);k(S,Q,Z,"⊸","\\multimap",!0);k(S,Q,Z,"↭","\\leftrightsquigarrow",!0);k(S,Q,Z,"⇉","\\rightrightarrows",!0);k(S,Q,Z,"⇄","\\rightleftarrows",!0);k(S,Q,Z,"↠","\\twoheadrightarrow",!0);k(S,Q,Z,"↣","\\rightarrowtail",!0);k(S,Q,Z,"↬","\\looparrowright",!0);k(S,Q,Z,"↷","\\curvearrowright",!0);k(S,Q,Z,"↻","\\circlearrowright",!0);k(S,Q,Z,"↱","\\Rsh",!0);k(S,Q,Z,"⇊","\\downdownarrows",!0);k(S,Q,Z,"↾","\\upharpoonright",!0);k(S,Q,Z,"⇂","\\downharpoonright",!0);k(S,Q,Z,"⇝","\\rightsquigarrow",!0);k(S,Q,Z,"⇝","\\leadsto");k(S,Q,Z,"⇛","\\Rrightarrow",!0);k(S,Q,Z,"↾","\\restriction");k(S,I,re,"‘","`");k(S,I,re,"$","\\$");k(ve,I,re,"$","\\$");k(ve,I,re,"$","\\textdollar");k(S,I,re,"%","\\%");k(ve,I,re,"%","\\%");k(S,I,re,"_","\\_");k(ve,I,re,"_","\\_");k(ve,I,re,"_","\\textunderscore");k(S,I,re,"∠","\\angle",!0);k(S,I,re,"∞","\\infty",!0);k(S,I,re,"′","\\prime");k(S,I,re,"△","\\triangle");k(S,I,re,"Γ","\\Gamma",!0);k(S,I,re,"Δ","\\Delta",!0);k(S,I,re,"Θ","\\Theta",!0);k(S,I,re,"Λ","\\Lambda",!0);k(S,I,re,"Ξ","\\Xi",!0);k(S,I,re,"Π","\\Pi",!0);k(S,I,re,"Σ","\\Sigma",!0);k(S,I,re,"Υ","\\Upsilon",!0);k(S,I,re,"Φ","\\Phi",!0);k(S,I,re,"Ψ","\\Psi",!0);k(S,I,re,"Ω","\\Omega",!0);k(S,I,re,"A","Α");k(S,I,re,"B","Β");k(S,I,re,"E","Ε");k(S,I,re,"Z","Ζ");k(S,I,re,"H","Η");k(S,I,re,"I","Ι");k(S,I,re,"K","Κ");k(S,I,re,"M","Μ");k(S,I,re,"N","Ν");k(S,I,re,"O","Ο");k(S,I,re,"P","Ρ");k(S,I,re,"T","Τ");k(S,I,re,"X","Χ");k(S,I,re,"¬","\\neg",!0);k(S,I,re,"¬","\\lnot");k(S,I,re,"⊤","\\top");k(S,I,re,"⊥","\\bot");k(S,I,re,"∅","\\emptyset");k(S,Q,re,"∅","\\varnothing");k(S,I,je,"α","\\alpha",!0);k(S,I,je,"β","\\beta",!0);k(S,I,je,"γ","\\gamma",!0);k(S,I,je,"δ","\\delta",!0);k(S,I,je,"ϵ","\\epsilon",!0);k(S,I,je,"ζ","\\zeta",!0);k(S,I,je,"η","\\eta",!0);k(S,I,je,"θ","\\theta",!0);k(S,I,je,"ι","\\iota",!0);k(S,I,je,"κ","\\kappa",!0);k(S,I,je,"λ","\\lambda",!0);k(S,I,je,"μ","\\mu",!0);k(S,I,je,"ν","\\nu",!0);k(S,I,je,"ξ","\\xi",!0);k(S,I,je,"ο","\\omicron",!0);k(S,I,je,"π","\\pi",!0);k(S,I,je,"ρ","\\rho",!0);k(S,I,je,"σ","\\sigma",!0);k(S,I,je,"τ","\\tau",!0);k(S,I,je,"υ","\\upsilon",!0);k(S,I,je,"ϕ","\\phi",!0);k(S,I,je,"χ","\\chi",!0);k(S,I,je,"ψ","\\psi",!0);k(S,I,je,"ω","\\omega",!0);k(S,I,je,"ε","\\varepsilon",!0);k(S,I,je,"ϑ","\\vartheta",!0);k(S,I,je,"ϖ","\\varpi",!0);k(S,I,je,"ϱ","\\varrho",!0);k(S,I,je,"ς","\\varsigma",!0);k(S,I,je,"φ","\\varphi",!0);k(S,I,Fe,"∗","*",!0);k(S,I,Fe,"+","+");k(S,I,Fe,"−","-",!0);k(S,I,Fe,"⋅","\\cdot",!0);k(S,I,Fe,"∘","\\circ",!0);k(S,I,Fe,"÷","\\div",!0);k(S,I,Fe,"±","\\pm",!0);k(S,I,Fe,"×","\\times",!0);k(S,I,Fe,"∩","\\cap",!0);k(S,I,Fe,"∪","\\cup",!0);k(S,I,Fe,"∖","\\setminus",!0);k(S,I,Fe,"∧","\\land");k(S,I,Fe,"∨","\\lor");k(S,I,Fe,"∧","\\wedge",!0);k(S,I,Fe,"∨","\\vee",!0);k(S,I,re,"√","\\surd");k(S,I,Fr,"⟨","\\langle",!0);k(S,I,Fr,"∣","\\lvert");k(S,I,Fr,"∥","\\lVert");k(S,I,Kn,"?","?");k(S,I,Kn,"!","!");k(S,I,Kn,"⟩","\\rangle",!0);k(S,I,Kn,"∣","\\rvert");k(S,I,Kn,"∥","\\rVert");k(S,I,Z,"=","=");k(S,I,Z,":",":");k(S,I,Z,"≈","\\approx",!0);k(S,I,Z,"≅","\\cong",!0);k(S,I,Z,"≥","\\ge");k(S,I,Z,"≥","\\geq",!0);k(S,I,Z,"←","\\gets");k(S,I,Z,">","\\gt",!0);k(S,I,Z,"∈","\\in",!0);k(S,I,Z,"","\\@not");k(S,I,Z,"⊂","\\subset",!0);k(S,I,Z,"⊃","\\supset",!0);k(S,I,Z,"⊆","\\subseteq",!0);k(S,I,Z,"⊇","\\supseteq",!0);k(S,Q,Z,"⊈","\\nsubseteq",!0);k(S,Q,Z,"⊉","\\nsupseteq",!0);k(S,I,Z,"⊨","\\models");k(S,I,Z,"←","\\leftarrow",!0);k(S,I,Z,"≤","\\le");k(S,I,Z,"≤","\\leq",!0);k(S,I,Z,"<","\\lt",!0);k(S,I,Z,"→","\\rightarrow",!0);k(S,I,Z,"→","\\to");k(S,Q,Z,"≱","\\ngeq",!0);k(S,Q,Z,"≰","\\nleq",!0);k(S,I,Ra," ","\\ ");k(S,I,Ra," ","\\space");k(S,I,Ra," ","\\nobreakspace");k(ve,I,Ra," ","\\ ");k(ve,I,Ra," "," ");k(ve,I,Ra," ","\\space");k(ve,I,Ra," ","\\nobreakspace");k(S,I,Ra,null,"\\nobreak");k(S,I,Ra,null,"\\allowbreak");k(S,I,lh,",",",");k(S,I,lh,";",";");k(S,Q,Fe,"⊼","\\barwedge",!0);k(S,Q,Fe,"⊻","\\veebar",!0);k(S,I,Fe,"⊙","\\odot",!0);k(S,I,Fe,"⊕","\\oplus",!0);k(S,I,Fe,"⊗","\\otimes",!0);k(S,I,re,"∂","\\partial",!0);k(S,I,Fe,"⊘","\\oslash",!0);k(S,Q,Fe,"⊚","\\circledcirc",!0);k(S,Q,Fe,"⊡","\\boxdot",!0);k(S,I,Fe,"△","\\bigtriangleup");k(S,I,Fe,"▽","\\bigtriangledown");k(S,I,Fe,"†","\\dagger");k(S,I,Fe,"⋄","\\diamond");k(S,I,Fe,"⋆","\\star");k(S,I,Fe,"◃","\\triangleleft");k(S,I,Fe,"▹","\\triangleright");k(S,I,Fr,"{","\\{");k(ve,I,re,"{","\\{");k(ve,I,re,"{","\\textbraceleft");k(S,I,Kn,"}","\\}");k(ve,I,re,"}","\\}");k(ve,I,re,"}","\\textbraceright");k(S,I,Fr,"{","\\lbrace");k(S,I,Kn,"}","\\rbrace");k(S,I,Fr,"[","\\lbrack",!0);k(ve,I,re,"[","\\lbrack",!0);k(S,I,Kn,"]","\\rbrack",!0);k(ve,I,re,"]","\\rbrack",!0);k(S,I,Fr,"(","\\lparen",!0);k(S,I,Kn,")","\\rparen",!0);k(ve,I,re,"<","\\textless",!0);k(ve,I,re,">","\\textgreater",!0);k(S,I,Fr,"⌊","\\lfloor",!0);k(S,I,Kn,"⌋","\\rfloor",!0);k(S,I,Fr,"⌈","\\lceil",!0);k(S,I,Kn,"⌉","\\rceil",!0);k(S,I,re,"\\","\\backslash");k(S,I,re,"∣","|");k(S,I,re,"∣","\\vert");k(ve,I,re,"|","\\textbar",!0);k(S,I,re,"∥","\\|");k(S,I,re,"∥","\\Vert");k(ve,I,re,"∥","\\textbardbl");k(ve,I,re,"~","\\textasciitilde");k(ve,I,re,"\\","\\textbackslash");k(ve,I,re,"^","\\textasciicircum");k(S,I,Z,"↑","\\uparrow",!0);k(S,I,Z,"⇑","\\Uparrow",!0);k(S,I,Z,"↓","\\downarrow",!0);k(S,I,Z,"⇓","\\Downarrow",!0);k(S,I,Z,"↕","\\updownarrow",!0);k(S,I,Z,"⇕","\\Updownarrow",!0);k(S,I,Zt,"∐","\\coprod");k(S,I,Zt,"⋁","\\bigvee");k(S,I,Zt,"⋀","\\bigwedge");k(S,I,Zt,"⨄","\\biguplus");k(S,I,Zt,"⋂","\\bigcap");k(S,I,Zt,"⋃","\\bigcup");k(S,I,Zt,"∫","\\int");k(S,I,Zt,"∫","\\intop");k(S,I,Zt,"∬","\\iint");k(S,I,Zt,"∭","\\iiint");k(S,I,Zt,"∏","\\prod");k(S,I,Zt,"∑","\\sum");k(S,I,Zt,"⨂","\\bigotimes");k(S,I,Zt,"⨁","\\bigoplus");k(S,I,Zt,"⨀","\\bigodot");k(S,I,Zt,"∮","\\oint");k(S,I,Zt,"∯","\\oiint");k(S,I,Zt,"∰","\\oiiint");k(S,I,Zt,"⨆","\\bigsqcup");k(S,I,Zt,"∫","\\smallint");k(ve,I,Hc,"…","\\textellipsis");k(S,I,Hc,"…","\\mathellipsis");k(ve,I,Hc,"…","\\ldots",!0);k(S,I,Hc,"…","\\ldots",!0);k(S,I,Hc,"⋯","\\@cdots",!0);k(S,I,Hc,"⋱","\\ddots",!0);k(S,I,re,"⋮","\\varvdots");k(ve,I,re,"⋮","\\varvdots");k(S,I,Ot,"ˊ","\\acute");k(S,I,Ot,"ˋ","\\grave");k(S,I,Ot,"¨","\\ddot");k(S,I,Ot,"~","\\tilde");k(S,I,Ot,"ˉ","\\bar");k(S,I,Ot,"˘","\\breve");k(S,I,Ot,"ˇ","\\check");k(S,I,Ot,"^","\\hat");k(S,I,Ot,"⃗","\\vec");k(S,I,Ot,"˙","\\dot");k(S,I,Ot,"˚","\\mathring");k(S,I,je,"","\\@imath");k(S,I,je,"","\\@jmath");k(S,I,re,"ı","ı");k(S,I,re,"ȷ","ȷ");k(ve,I,re,"ı","\\i",!0);k(ve,I,re,"ȷ","\\j",!0);k(ve,I,re,"ß","\\ss",!0);k(ve,I,re,"æ","\\ae",!0);k(ve,I,re,"œ","\\oe",!0);k(ve,I,re,"ø","\\o",!0);k(ve,I,re,"Æ","\\AE",!0);k(ve,I,re,"Œ","\\OE",!0);k(ve,I,re,"Ø","\\O",!0);k(ve,I,Ot,"ˊ","\\'");k(ve,I,Ot,"ˋ","\\`");k(ve,I,Ot,"ˆ","\\^");k(ve,I,Ot,"˜","\\~");k(ve,I,Ot,"ˉ","\\=");k(ve,I,Ot,"˘","\\u");k(ve,I,Ot,"˙","\\.");k(ve,I,Ot,"¸","\\c");k(ve,I,Ot,"˚","\\r");k(ve,I,Ot,"ˇ","\\v");k(ve,I,Ot,"¨",'\\"');k(ve,I,Ot,"˝","\\H");k(ve,I,Ot,"◯","\\textcircled");var pR={"--":!0,"---":!0,"``":!0,"''":!0};k(ve,I,re,"–","--",!0);k(ve,I,re,"–","\\textendash");k(ve,I,re,"—","---",!0);k(ve,I,re,"—","\\textemdash");k(ve,I,re,"‘","`",!0);k(ve,I,re,"‘","\\textquoteleft");k(ve,I,re,"’","'",!0);k(ve,I,re,"’","\\textquoteright");k(ve,I,re,"“","``",!0);k(ve,I,re,"“","\\textquotedblleft");k(ve,I,re,"”","''",!0);k(ve,I,re,"”","\\textquotedblright");k(S,I,re,"°","\\degree",!0);k(ve,I,re,"°","\\degree");k(ve,I,re,"°","\\textdegree",!0);k(S,I,re,"£","\\pounds");k(S,I,re,"£","\\mathsterling",!0);k(ve,I,re,"£","\\pounds");k(ve,I,re,"£","\\textsterling",!0);k(S,Q,re,"✠","\\maltese");k(ve,Q,re,"✠","\\maltese");var a9='0123456789/@."';for(var lv=0;lv{var n=e.charCodeAt(0),r=e.charCodeAt(1),i=(n-55296)*1024+(r-56320)+65536,a=t==="math"?0:1;if(119808<=i&&i<120484){var o=Math.floor((i-119808)/26);return[df[o][2],df[o][a]]}else if(120782<=i&&i<=120831){var s=Math.floor((i-120782)/10);return[c9[s][2],c9[s][a]]}else{if(i===120485||i===120486)return[df[0][2],df[0][a]];if(1204860)return zn(a,c,i,n,o.concat(u));if(l){var d,f;if(l==="boldsymbol"){var h=Boe(a,i,n,o,r);d=h.fontName,f=[h.fontClass]}else s?(d=wy[l].fontName,f=[l]):(d=hf(l,n.fontWeight,n.fontShape),f=[l,n.fontWeight,n.fontShape]);if(Cm(a,d,i).metrics)return zn(a,d,i,n,o.concat(f));if(pR.hasOwnProperty(a)&&d.slice(0,10)==="Typewriter"){for(var v=[],p=0;p{if(Ao(e.classes)!==Ao(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize||e.italic!==0&&e.hasClass("mathnormal"))return!1;if(e.classes.length===1){var n=e.classes[0];if(n==="mbin"||n==="mord")return!1}for(var r of Object.keys(e.style))if(e.style[r]!==t.style[r])return!1;for(var i of Object.keys(t.style))if(e.style[i]!==t.style[i])return!1;return!0},mR=e=>{for(var t=0;tn&&(n=o.height),o.depth>r&&(r=o.depth),o.maxFontSize>i&&(i=o.maxFontSize)}t.height=n,t.depth=r,t.maxFontSize=i},xe=function(t,n,r,i){var a=new qc(t,n,r,i);return ew(a),a},Fo=(e,t,n,r)=>new qc(e,t,n,r),wc=function(t,n,r){var i=xe([t],[],n);return i.height=Math.max(r||n.fontMetrics().defaultRuleThickness,n.minRuleThickness),i.style.borderBottomWidth=Ce(i.height),i.maxFontSize=1,i},joe=function(t,n,r,i){var a=new Sm(t,n,r,i);return ew(a),a},Na=function(t){var n=new $c(t);return ew(n),n},Dc=function(t,n){return t instanceof $c?xe([],[t],n):t},Loe=function(t){if(t.positionType==="individualShift"){for(var n=t.children,r=[n[0]],i=-n[0].shift-n[0].elem.depth,a=i,o=1;o{var n=xe(["mspace"],[],t),r=Bt(e,t);return n.style.marginRight=Ce(r),n},hf=function(t,n,r){var i="";switch(t){case"amsrm":i="AMS";break;case"textrm":i="Main";break;case"textsf":i="SansSerif";break;case"texttt":i="Typewriter";break;default:i=t}var a;return n==="textbf"&&r==="textit"?a="BoldItalic":n==="textbf"?a="Bold":n==="textit"?a="Italic":a="Regular",i+"-"+a},wy={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathsfit:{variant:"sans-serif-italic",fontName:"SansSerif-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},vR={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},yR=function(t,n){var[r,i,a]=vR[t],o=new Uo(r),s=new _a([o],{width:Ce(i),height:Ce(a),style:"width:"+Ce(i),viewBox:"0 0 "+1e3*i+" "+1e3*a,preserveAspectRatio:"xMinYMin"}),l=Fo(["overlay"],[s],n);return l.height=a,l.style.height=Ce(a),l.style.width=Ce(i),l},It={number:3,unit:"mu"},es={number:4,unit:"mu"},Zi={number:5,unit:"mu"},zoe={mord:{mop:It,mbin:es,mrel:Zi,minner:It},mop:{mord:It,mop:It,mrel:Zi,minner:It},mbin:{mord:es,mop:es,mopen:es,minner:es},mrel:{mord:Zi,mop:Zi,mopen:Zi,minner:Zi},mopen:{},mclose:{mop:It,mbin:es,mrel:Zi,minner:It},mpunct:{mord:It,mop:It,mrel:Zi,mopen:It,mclose:It,mpunct:It,minner:It},minner:{mord:It,mop:It,mbin:es,mrel:Zi,mopen:It,mpunct:It,minner:It}},Woe={mord:{mop:It},mop:{mord:It,mop:It},mbin:{},mrel:{},mopen:{},mclose:{mop:It},mpunct:{},minner:{mop:It}},bR={},G0={},X0={};function Ue(e){for(var{type:t,names:n,props:r,handler:i,htmlBuilder:a,mathmlBuilder:o}=e,s={type:t,numArgs:r.numArgs,argTypes:r.argTypes,allowedInArgument:!!r.allowedInArgument,allowedInText:!!r.allowedInText,allowedInMath:r.allowedInMath===void 0?!0:r.allowedInMath,numOptionalArgs:r.numOptionalArgs||0,infix:!!r.infix,primitive:!!r.primitive,handler:i},l=0;l{var y=p.classes[0],m=v.classes[0];y==="mbin"&&qoe.has(m)?p.classes[0]="mord":m==="mbin"&&$oe.has(y)&&(v.classes[0]="mord")},{node:d},f,h),Dy(a,(v,p)=>{var y,m,g=_y(p),b=_y(v),x=g&&b?v.hasClass("mtight")?(y=Woe[g])==null?void 0:y[b]:(m=zoe[g])==null?void 0:m[b]:null;if(x)return gR(x,c)},{node:d},f,h),a},Dy=function(t,n,r,i,a){i&&t.push(i);for(var o=0;of=>{t.splice(d+1,0,f),o++})(o)}i&&t.pop()},xR=function(t){return t instanceof $c||t instanceof Sm||t instanceof qc&&t.hasClass("enclosing")?t:null},ky=function(t,n){var r=xR(t);if(r){var i=r.children;if(i.length){if(n==="right")return ky(i[i.length-1],"right");if(n==="left")return ky(i[0],"left")}}return t},_y=function(t,n){if(!t)return null;n&&(t=ky(t,n));var r=t.classes[0];return Voe[r]||null},Ud=function(t,n){var r=["nulldelimiter"].concat(t.baseSizingClasses());return xe(n.concat(r))},dt=function(t,n,r){if(!t)return xe();if(G0[t.type]){var i=G0[t.type](t,n);if(r&&n.size!==r.size){i=xe(n.sizingClasses(r),[i],n);var a=n.sizeMultiplier/r.sizeMultiplier;i.height*=a,i.depth*=a}return i}else throw new ke("Got group of unknown type: '"+t.type+"'")};function ff(e,t){var n=xe(["base"],e,t),r=xe(["strut"]);return r.style.height=Ce(n.height+n.depth),n.depth&&(r.style.verticalAlign=Ce(-n.depth)),n.children.unshift(r),n}function Ty(e,t){var n=null;e.length===1&&e[0].type==="tag"&&(n=e[0].tag,e=e[0].body);var r=on(e,t,"root"),i;r.length===2&&r[1].hasClass("tag")&&(i=r.pop());for(var a=[],o=[],s=0;s0&&(a.push(ff(o,t)),o=[]),a.push(r[s]));o.length>0&&a.push(ff(o,t));var c;n?(c=ff(on(n,t,!0),t),c.classes=["tag"],a.push(c)):i&&a.push(i);var u=xe(["katex-html"],a);if(u.setAttribute("aria-hidden","true"),c){var d=c.children[0];d.style.height=Ce(u.height+u.depth),u.depth&&(d.style.verticalAlign=Ce(-u.depth))}return u}function wR(e){return new $c(e)}class _e{constructor(t,n,r){this.type=t,this.attributes={},this.children=n||[],this.classes=r||[]}setAttribute(t,n){this.attributes[t]=n}getAttribute(t){return this.attributes[t]}toNode(){var t=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&t.setAttribute(n,this.attributes[n]);this.classes.length>0&&(t.className=Ao(this.classes));for(var r=0;r0&&(t+=' class ="'+Rn(Ao(this.classes))+'"'),t+=">";for(var r=0;r",t}toText(){return this.children.map(t=>t.toText()).join("")}}class Qt{constructor(t){this.text=t}toNode(){return document.createTextNode(this.text)}toMarkup(){return Rn(this.toText())}toText(){return this.text}}class DR{constructor(t){this.width=t,t>=.05555&&t<=.05556?this.character=" ":t>=.1666&&t<=.1667?this.character=" ":t>=.2222&&t<=.2223?this.character=" ":t>=.2777&&t<=.2778?this.character="  ":t>=-.05556&&t<=-.05555?this.character=" ⁣":t>=-.1667&&t<=-.1666?this.character=" ⁣":t>=-.2223&&t<=-.2222?this.character=" ⁣":t>=-.2778&&t<=-.2777?this.character=" ⁣":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var t=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return t.setAttribute("width",Ce(this.width)),t}toMarkup(){return this.character?""+this.character+"":''}toText(){return this.character?this.character:" "}}var Goe=new Set(["\\imath","\\jmath"]),Xoe=new Set(["mrow","mtable"]),Gr=function(t,n,r){return Nt[n][t]&&Nt[n][t].replace&&t.charCodeAt(0)!==55349&&!(pR.hasOwnProperty(t)&&r&&(r.fontFamily&&r.fontFamily.slice(4,6)==="tt"||r.font&&r.font.slice(4,6)==="tt"))&&(t=Nt[n][t].replace),new Qt(t)},tw=function(t){return t.length===1?t[0]:new _e("mrow",t)},nw=function(t,n){if(n.fontFamily==="texttt")return"monospace";if(n.fontFamily==="textsf")return n.fontShape==="textit"&&n.fontWeight==="textbf"?"sans-serif-bold-italic":n.fontShape==="textit"?"sans-serif-italic":n.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(n.fontShape==="textit"&&n.fontWeight==="textbf")return"bold-italic";if(n.fontShape==="textit")return"italic";if(n.fontWeight==="textbf")return"bold";var r=n.font;if(!r||r==="mathnormal")return null;var i=t.mode;if(r==="mathit")return"italic";if(r==="boldsymbol")return t.type==="textord"?"bold":"bold-italic";if(r==="mathbf")return"bold";if(r==="mathbb")return"double-struck";if(r==="mathsfit")return"sans-serif-italic";if(r==="mathfrak")return"fraktur";if(r==="mathscr"||r==="mathcal")return"script";if(r==="mathsf")return"sans-serif";if(r==="mathtt")return"monospace";var a=t.text;if(Goe.has(a))return null;if(Nt[i][a]){var o=Nt[i][a].replace;o&&(a=o)}var s=wy[r].fontName;return Q4(a,s,i)?wy[r].variant:null};function hv(e){if(!e)return!1;if(e.type==="mi"&&e.children.length===1){var t=e.children[0];return t instanceof Qt&&t.text==="."}else if(e.type==="mo"&&e.children.length===1&&e.getAttribute("separator")==="true"&&e.getAttribute("lspace")==="0em"&&e.getAttribute("rspace")==="0em"){var n=e.children[0];return n instanceof Qt&&n.text===","}else return!1}var Rr=function(t,n,r){if(t.length===1){var i=xt(t[0],n);return r&&i instanceof _e&&i.type==="mo"&&(i.setAttribute("lspace","0em"),i.setAttribute("rspace","0em")),[i]}for(var a=[],o,s=0;s=1&&(o.type==="mn"||hv(o))){var c=l.children[0];c instanceof _e&&c.type==="mn"&&(c.children=[...o.children,...c.children],a.pop())}else if(o.type==="mi"&&o.children.length===1){var u=o.children[0];if(u instanceof Qt&&u.text==="̸"&&(l.type==="mo"||l.type==="mi"||l.type==="mn")){var d=l.children[0];d instanceof Qt&&d.text.length>0&&(d.text=d.text.slice(0,1)+"̸"+d.text.slice(1),a.pop())}}}a.push(l),o=l}return a},Ro=function(t,n,r){return tw(Rr(t,n,r))},xt=function(t,n){if(!t)return new _e("mrow");if(X0[t.type]){var r=X0[t.type](t,n);return r}else throw new ke("Got group of unknown type: '"+t.type+"'")};function u9(e,t,n,r,i){var a=Rr(e,n),o;a.length===1&&a[0]instanceof _e&&Xoe.has(a[0].type)?o=a[0]:o=new _e("mrow",a);var s=new _e("annotation",[new Qt(t)]);s.setAttribute("encoding","application/x-tex");var l=new _e("semantics",[o,s]),c=new _e("math",[l]);c.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),r&&c.setAttribute("display","block");var u=i?"katex":"katex-mathml";return xe([u],[c])}var Koe=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],d9=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],h9=function(t,n){return n.size<2?t:Koe[t-1][n.size-1]};class aa{constructor(t){this.style=t.style,this.color=t.color,this.size=t.size||aa.BASESIZE,this.textSize=t.textSize||this.size,this.phantom=!!t.phantom,this.font=t.font||"",this.fontFamily=t.fontFamily||"",this.fontWeight=t.fontWeight||"",this.fontShape=t.fontShape||"",this.sizeMultiplier=d9[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}extend(t){var n={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};return Object.assign(n,t),new aa(n)}havingStyle(t){return this.style===t?this:this.extend({style:t,size:h9(this.textSize,t)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(t){return this.size===t&&this.textSize===t?this:this.extend({style:this.style.text(),size:t,textSize:t,sizeMultiplier:d9[t-1]})}havingBaseStyle(t){t=t||this.style.text();var n=h9(aa.BASESIZE,t);return this.size===n&&this.textSize===aa.BASESIZE&&this.style===t?this:this.extend({style:t,size:n})}havingBaseSizing(){var t;switch(this.style.id){case 4:case 5:t=3;break;case 6:case 7:t=1;break;default:t=6}return this.extend({style:this.style.text(),size:t})}withColor(t){return this.extend({color:t})}withPhantom(){return this.extend({phantom:!0})}withFont(t){return this.extend({font:t})}withTextFontFamily(t){return this.extend({fontFamily:t,font:""})}withTextFontWeight(t){return this.extend({fontWeight:t,font:""})}withTextFontShape(t){return this.extend({fontShape:t,font:""})}sizingClasses(t){return t.size!==this.size?["sizing","reset-size"+t.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==aa.BASESIZE?["sizing","reset-size"+this.size,"size"+aa.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=Noe(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}aa.BASESIZE=6;var kR=function(t){return new aa({style:t.displayMode?qe.DISPLAY:qe.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},_R=function(t,n){if(n.displayMode){var r=["katex-display"];n.leqno&&r.push("leqno"),n.fleqn&&r.push("fleqn"),t=xe(r,[t])}return t},Yoe=function(t,n,r){var i=kR(r),a;if(r.output==="mathml")return u9(t,n,i,r.displayMode,!0);if(r.output==="html"){var o=Ty(t,i);a=xe(["katex"],[o])}else{var s=u9(t,n,i,r.displayMode,!1),l=Ty(t,i);a=xe(["katex"],[s,l])}return _R(a,r)},Joe=function(t,n,r){var i=kR(r),a=Ty(t,i),o=xe(["katex"],[a]);return _R(o,r)},Qoe={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",underbracket:"⎵",overbracket:"⎴",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},Um=function(t){var n=new _e("mo",[new Qt(Qoe[t.replace(/^\\/,"")])]);return n.setAttribute("stretchy","true"),n},Zoe={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overbracket:[["leftbracketover","rightbracketover"],1.6,440],underbracket:[["leftbracketunder","rightbracketunder"],1.6,410],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},ese=new Set(["widehat","widecheck","widetilde","utilde"]),Fm=function(t,n){function r(){var s=4e5,l=t.label.slice(1);if(ese.has(l)){var c=t,u=c.base.type==="ordgroup"?c.base.body.length:1,d,f,h;if(u>5)l==="widehat"||l==="widecheck"?(d=420,s=2364,h=.42,f=l+"4"):(d=312,s=2340,h=.34,f="tilde4");else{var v=[1,1,2,2,3,3][u];l==="widehat"||l==="widecheck"?(s=[0,1062,2364,2364,2364][v],d=[0,239,300,360,420][v],h=[0,.24,.3,.3,.36,.42][v],f=l+v):(s=[0,600,1033,2339,2340][v],d=[0,260,286,306,312][v],h=[0,.26,.286,.3,.306,.34][v],f="tilde"+v)}var p=new Uo(f),y=new _a([p],{width:"100%",height:Ce(h),viewBox:"0 0 "+s+" "+d,preserveAspectRatio:"none"});return{span:Fo([],[y],n),minWidth:0,height:h}}else{var m=[],g=Zoe[l],[b,x,D]=g,w=D/1e3,_=b.length,N,O;if(_===1){var B=g[3];N=["hide-tail"],O=[B]}else if(_===2)N=["halfarrow-left","halfarrow-right"],O=["xMinYMin","xMaxYMin"];else if(_===3)N=["brace-left","brace-center","brace-right"],O=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support + `+_+" children.");for(var K=0;K<_;K++){var A=new Uo(b[K]),q=new _a([A],{width:"400em",height:Ce(w),viewBox:"0 0 "+s+" "+D,preserveAspectRatio:O[K]+" slice"}),T=Fo([N[K]],[q],n);if(_===1)return{span:T,minWidth:x,height:w};T.style.height=Ce(w),m.push(T)}return{span:xe(["stretchy"],m,n),minWidth:x,height:w}}}var{span:i,minWidth:a,height:o}=r();return i.height=o,i.style.height=Ce(o),a>0&&(i.style.minWidth=Ce(a)),i},tse=function(t,n,r,i,a){var o,s=t.height+t.depth+r+i;if(/fbox|color|angl/.test(n)){if(o=xe(["stretchy",n],[],a),n==="fbox"){var l=a.color&&a.getColor();l&&(o.style.borderColor=l)}}else{var c=[];/^[bx]cancel$/.test(n)&&c.push(new by({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(n)&&c.push(new by({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var u=new _a(c,{width:"100%",height:Ce(s)});o=Fo([],[u],a)}return o.height=s,o.style.height=Ce(s),o};function Ye(e,t){if(!e||e.type!==t)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}function Rm(e){var t=Nm(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function Nm(e){return e&&(e.type==="atom"||Ioe.hasOwnProperty(e.type))?e:null}var TR=e=>{if(e instanceof Er)return e;if(Foe(e)&&e.children.length===1)return TR(e.children[0])},rw=(e,t)=>{var n,r,i;e&&e.type==="supsub"?(r=Ye(e.base,"accent"),n=r.base,e.base=n,i=Uoe(dt(e,t)),e.base=r):(r=Ye(e,"accent"),n=r.base);var a=dt(n,t.havingCrampedStyle()),o=r.isShifty&&Fa(n),s=0;if(o){var l,c;s=(l=(c=TR(a))==null?void 0:c.skew)!=null?l:0}var u=r.label==="\\c",d=u?a.height+a.depth:Math.min(a.height,t.fontMetrics().xHeight),f;if(r.isStretchy)f=Fm(r,t),f=ut({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"elem",elem:f,wrapperClasses:["svg-align"],wrapperStyle:s>0?{width:"calc(100% - "+Ce(2*s)+")",marginLeft:Ce(2*s)}:void 0}]});else{var h,v;r.label==="\\vec"?(h=yR("vec",t),v=vR.vec[1]):(h=Am({type:"textord",mode:r.mode,text:r.label},t,"textord"),h=Aoe(h),h.italic=0,v=h.width,u&&(d+=h.depth)),f=xe(["accent-body"],[h]);var p=r.label==="\\textcircled";p&&(f.classes.push("accent-full"),d=a.height);var y=s;p||(y-=v/2),f.style.left=Ce(y),r.label==="\\textcircled"&&(f.style.top=".2em"),f=ut({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:-d},{type:"elem",elem:f}]})}var m=xe(["mord","accent"],[f],t);return i?(i.children[0]=m,i.height=Math.max(m.height,i.height),i.classes[0]="mord",i):m},ER=(e,t)=>{var n=e.isStretchy?Um(e.label):new _e("mo",[Gr(e.label,e.mode)]),r=new _e("mover",[xt(e.base,t),n]);return r.setAttribute("accent","true"),r},nse=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));Ue({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(e,t)=>{var n=K0(t[0]),r=!nse.test(e.funcName),i=!r||e.funcName==="\\widehat"||e.funcName==="\\widetilde"||e.funcName==="\\widecheck";return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:r,isShifty:i,base:n}},htmlBuilder:rw,mathmlBuilder:ER});Ue({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(e,t)=>{var n=t[0],r=e.parser.mode;return r==="math"&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),r="text"),{type:"accent",mode:r,label:e.funcName,isStretchy:!1,isShifty:!0,base:n}},htmlBuilder:rw,mathmlBuilder:ER});Ue({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0];return{type:"accentUnder",mode:n.mode,label:r,base:i}},htmlBuilder:(e,t)=>{var n=dt(e.base,t),r=Fm(e,t),i=e.label==="\\utilde"?.12:0,a=ut({positionType:"top",positionData:n.height,children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:i},{type:"elem",elem:n}]});return xe(["mord","accentunder"],[a],t)},mathmlBuilder:(e,t)=>{var n=Um(e.label),r=new _e("munder",[xt(e.base,t),n]);return r.setAttribute("accentunder","true"),r}});var pf=e=>{var t=new _e("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};Ue({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){var{parser:r,funcName:i}=e;return{type:"xArrow",mode:r.mode,label:i,body:t[0],below:n[0]}},htmlBuilder(e,t){var n=t.style,r=t.havingStyle(n.sup()),i=Dc(dt(e.body,r,t),t),a=e.label.slice(0,2)==="\\x"?"x":"cd";i.classes.push(a+"-arrow-pad");var o;e.below&&(r=t.havingStyle(n.sub()),o=Dc(dt(e.below,r,t),t),o.classes.push(a+"-arrow-pad"));var s=Fm(e,t),l=-t.fontMetrics().axisHeight+.5*s.height,c=-t.fontMetrics().axisHeight-.5*s.height-.111;(i.depth>.25||e.label==="\\xleftequilibrium")&&(c-=i.depth);var u;if(o){var d=-t.fontMetrics().axisHeight+o.height+.5*s.height+.111;u=ut({positionType:"individualShift",children:[{type:"elem",elem:i,shift:c},{type:"elem",elem:s,shift:l},{type:"elem",elem:o,shift:d}]})}else u=ut({positionType:"individualShift",children:[{type:"elem",elem:i,shift:c},{type:"elem",elem:s,shift:l}]});return u.children[0].children[0].children[1].classes.push("svg-align"),xe(["mrel","x-arrow"],[u],t)},mathmlBuilder(e,t){var n=Um(e.label);n.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var r;if(e.body){var i=pf(xt(e.body,t));if(e.below){var a=pf(xt(e.below,t));r=new _e("munderover",[n,a,i])}else r=new _e("mover",[n,i])}else if(e.below){var o=pf(xt(e.below,t));r=new _e("munder",[n,o])}else r=pf(),r=new _e("mover",[n,r]);return r}});function SR(e,t){var n=on(e.body,t,!0);return xe([e.mclass],n,t)}function CR(e,t){var n,r=Rr(e.body,t);return e.mclass==="minner"?n=new _e("mpadded",r):e.mclass==="mord"?e.isCharacterBox?(n=r[0],n.type="mi"):n=new _e("mi",r):(e.isCharacterBox?(n=r[0],n.type="mo"):n=new _e("mo",r),e.mclass==="mbin"?(n.attributes.lspace="0.22em",n.attributes.rspace="0.22em"):e.mclass==="mpunct"?(n.attributes.lspace="0em",n.attributes.rspace="0.17em"):e.mclass==="mopen"||e.mclass==="mclose"?(n.attributes.lspace="0em",n.attributes.rspace="0em"):e.mclass==="minner"&&(n.attributes.lspace="0.0556em",n.attributes.width="+0.1111em")),n}Ue({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:n,funcName:r}=e,i=t[0];return{type:"mclass",mode:n.mode,mclass:"m"+r.slice(5),body:Jt(i),isCharacterBox:Fa(i)}},htmlBuilder:SR,mathmlBuilder:CR});var Om=e=>{var t=e.type==="ordgroup"&&e.body.length?e.body[0]:e;return t.type==="atom"&&(t.family==="bin"||t.family==="rel")?"m"+t.family:"mord"};Ue({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:n}=e;return{type:"mclass",mode:n.mode,mclass:Om(t[0]),body:Jt(t[1]),isCharacterBox:Fa(t[1])}}});Ue({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var{parser:n,funcName:r}=e,i=t[1],a=t[0],o;r!=="\\stackrel"?o=Om(i):o="mrel";var s={type:"op",mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:r!=="\\stackrel",body:Jt(i)},l={type:"supsub",mode:a.mode,base:s,sup:r==="\\underset"?null:a,sub:r==="\\underset"?a:null};return{type:"mclass",mode:n.mode,mclass:o,body:[l],isCharacterBox:Fa(l)}},htmlBuilder:SR,mathmlBuilder:CR});Ue({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:"pmb",mode:n.mode,mclass:Om(t[0]),body:Jt(t[0])}},htmlBuilder(e,t){var n=on(e.body,t,!0),r=xe([e.mclass],n,t);return r.style.textShadow="0.02em 0.01em 0.04px",r},mathmlBuilder(e,t){var n=Rr(e.body,t),r=new _e("mstyle",n);return r.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),r}});var rse={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},f9=()=>({type:"styling",body:[],mode:"math",style:"display"}),p9=e=>e.type==="textord"&&e.text==="@",ise=(e,t)=>(e.type==="mathord"||e.type==="atom")&&e.text===t;function ase(e,t,n){var r=rse[e];switch(r){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return n.callFunction(r,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":{var i=n.callFunction("\\\\cdleft",[t[0]],[]),a={type:"atom",text:r,mode:"math",family:"rel"},o=n.callFunction("\\Big",[a],[]),s=n.callFunction("\\\\cdright",[t[1]],[]),l={type:"ordgroup",mode:"math",body:[i,o,s]};return n.callFunction("\\\\cdparent",[l],[])}case"\\\\cdlongequal":return n.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var c={type:"textord",text:"\\Vert",mode:"math"};return n.callFunction("\\Big",[c],[])}default:return{type:"textord",text:" ",mode:"math"}}}function ose(e){var t=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var n=e.fetch().text;if(n==="&"||n==="\\\\")e.consume();else if(n==="\\end"){t[t.length-1].length===0&&t.pop();break}else throw new ke("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var r=[],i=[r],a=0;aAV".includes(c))for(var d=0;d<2;d++){for(var f=!0,h=l+1;hAV=|." after @',o[l]);var v=ase(c,u,e),p={type:"styling",body:[v],mode:"math",style:"display"};r.push(p),s=f9()}a%2===0?r.push(s):r.shift(),r=[],i.push(r)}e.gullet.endGroup(),e.gullet.endGroup();var y=new Array(i[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:i,arraystretch:1,addJot:!0,rowGaps:[null],cols:y,colSeparationType:"CD",hLinesBeforeRow:new Array(i.length+1).fill([])}}Ue({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e;return{type:"cdlabel",mode:n.mode,side:r.slice(4),label:t[0]}},htmlBuilder(e,t){var n=t.havingStyle(t.style.sup()),r=Dc(dt(e.label,n,t),t);return r.classes.push("cd-label-"+e.side),r.style.bottom=Ce(.8-r.depth),r.height=0,r.depth=0,r},mathmlBuilder(e,t){var n=new _e("mrow",[xt(e.label,t)]);return n=new _e("mpadded",[n]),n.setAttribute("width","0"),e.side==="left"&&n.setAttribute("lspace","-1width"),n.setAttribute("voffset","0.7em"),n=new _e("mstyle",[n]),n.setAttribute("displaystyle","false"),n.setAttribute("scriptlevel","1"),n}});Ue({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,t){var{parser:n}=e;return{type:"cdlabelparent",mode:n.mode,fragment:t[0]}},htmlBuilder(e,t){var n=Dc(dt(e.fragment,t),t);return n.classes.push("cd-vert-arrow"),n},mathmlBuilder(e,t){return new _e("mrow",[xt(e.fragment,t)])}});Ue({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:n}=e,r=Ye(t[0],"ordgroup"),i=r.body,a="",o=0;o=1114111)throw new ke("\\@char with invalid code point "+a);return l<=65535?c=String.fromCharCode(l):(l-=65536,c=String.fromCharCode((l>>10)+55296,(l&1023)+56320)),{type:"textord",mode:n.mode,text:c}}});var AR=(e,t)=>{var n=on(e.body,t.withColor(e.color),!1);return Na(n)},UR=(e,t)=>{var n=Rr(e.body,t.withColor(e.color)),r=new _e("mstyle",n);return r.setAttribute("mathcolor",e.color),r};Ue({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:n}=e,r=Ye(t[0],"color-token").color,i=t[1];return{type:"color",mode:n.mode,color:r,body:Jt(i)}},htmlBuilder:AR,mathmlBuilder:UR});Ue({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:n,breakOnTokenText:r}=e,i=Ye(t[0],"color-token").color;n.gullet.macros.set("\\current@color",i);var a=n.parseExpression(!0,r);return{type:"color",mode:n.mode,color:i,body:a}},htmlBuilder:AR,mathmlBuilder:UR});Ue({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,n){var{parser:r}=e,i=r.gullet.future().text==="["?r.parseSizeGroup(!0):null,a=!r.settings.displayMode||!r.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:r.mode,newLine:a,size:i&&Ye(i,"size").value}},htmlBuilder(e,t){var n=xe(["mspace"],[],t);return e.newLine&&(n.classes.push("newline"),e.size&&(n.style.marginTop=Ce(Bt(e.size,t)))),n},mathmlBuilder(e,t){var n=new _e("mspace");return e.newLine&&(n.setAttribute("linebreak","newline"),e.size&&n.setAttribute("height",Ce(Bt(e.size,t)))),n}});var Ey={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},FR=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new ke("Expected a control sequence",e);return t},sse=e=>{var t=e.gullet.popToken();return t.text==="="&&(t=e.gullet.popToken(),t.text===" "&&(t=e.gullet.popToken())),t},RR=(e,t,n,r)=>{var i=e.gullet.macros.get(n.text);i==null&&(n.noexpand=!0,i={tokens:[n],numArgs:0,unexpandable:!e.gullet.isExpandable(n.text)}),e.gullet.macros.set(t,i,r)};Ue({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t,funcName:n}=e;t.consumeSpaces();var r=t.fetch();if(Ey[r.text])return(n==="\\global"||n==="\\\\globallong")&&(r.text=Ey[r.text]),Ye(t.parseFunction(),"internal");throw new ke("Invalid token after macro prefix",r)}});Ue({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=t.gullet.popToken(),i=r.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(i))throw new ke("Expected a control sequence",r);for(var a=0,o,s=[[]];t.gullet.future().text!=="{";)if(r=t.gullet.popToken(),r.text==="#"){if(t.gullet.future().text==="{"){o=t.gullet.future(),s[a].push("{");break}if(r=t.gullet.popToken(),!/^[1-9]$/.test(r.text))throw new ke('Invalid argument number "'+r.text+'"');if(parseInt(r.text)!==a+1)throw new ke('Argument number "'+r.text+'" out of order');a++,s.push([])}else{if(r.text==="EOF")throw new ke("Expected a macro definition");s[a].push(r.text)}var{tokens:l}=t.gullet.consumeArg();return o&&l.unshift(o),(n==="\\edef"||n==="\\xdef")&&(l=t.gullet.expandTokens(l),l.reverse()),t.gullet.macros.set(i,{tokens:l,numArgs:a,delimiters:s},n===Ey[n]),{type:"internal",mode:t.mode}}});Ue({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=FR(t.gullet.popToken());t.gullet.consumeSpaces();var i=sse(t);return RR(t,r,i,n==="\\\\globallet"),{type:"internal",mode:t.mode}}});Ue({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=FR(t.gullet.popToken()),i=t.gullet.popToken(),a=t.gullet.popToken();return RR(t,r,a,n==="\\\\globalfuture"),t.gullet.pushToken(a),t.gullet.pushToken(i),{type:"internal",mode:t.mode}}});var yu=function(t,n,r){var i=Nt.math[t]&&Nt.math[t].replace,a=Q4(i||t,n,r);if(!a)throw new Error("Unsupported symbol "+t+" and font size "+n+".");return a},iw=function(t,n,r,i){var a=r.havingBaseStyle(n),o=xe(i.concat(a.sizingClasses(r)),[t],r),s=a.sizeMultiplier/r.sizeMultiplier;return o.height*=s,o.depth*=s,o.maxFontSize=a.sizeMultiplier,o},NR=function(t,n,r){var i=n.havingBaseStyle(r),a=(1-n.sizeMultiplier/i.sizeMultiplier)*n.fontMetrics().axisHeight;t.classes.push("delimcenter"),t.style.top=Ce(a),t.height-=a,t.depth+=a},lse=function(t,n,r,i,a,o){var s=zn(t,"Main-Regular",a,i),l=iw(s,n,i,o);return NR(l,i,n),l},cse=function(t,n,r,i){return zn(t,"Size"+n+"-Regular",r,i)},OR=function(t,n,r,i,a,o){var s=cse(t,n,a,i),l=iw(xe(["delimsizing","size"+n],[s],i),qe.TEXT,i,o);return r&&NR(l,i,qe.TEXT),l},fv=function(t,n,r){var i;n==="Size1-Regular"?i="delim-size1":i="delim-size4";var a=xe(["delimsizinginner",i],[xe([],[zn(t,n,r)])]);return{type:"elem",elem:a}},pv=function(t,n,r){var i=Oi["Size4-Regular"][t.charCodeAt(0)]?Oi["Size4-Regular"][t.charCodeAt(0)][4]:Oi["Size1-Regular"][t.charCodeAt(0)][4],a=new Uo("inner",koe(t,Math.round(1e3*n))),o=new _a([a],{width:Ce(i),height:Ce(n),style:"width:"+Ce(i),viewBox:"0 0 "+1e3*i+" "+Math.round(1e3*n),preserveAspectRatio:"xMinYMin"}),s=Fo([],[o],r);return s.height=n,s.style.height=Ce(n),s.style.width=Ce(i),{type:"elem",elem:s}},Sy=.008,mf={type:"kern",size:-1*Sy},use=new Set(["|","\\lvert","\\rvert","\\vert"]),dse=new Set(["\\|","\\lVert","\\rVert","\\Vert"]),IR=function(t,n,r,i,a,o){var s,l,c,u,d="",f=0;s=c=u=t,l=null;var h="Size1-Regular";t==="\\uparrow"?c=u="⏐":t==="\\Uparrow"?c=u="‖":t==="\\downarrow"?s=c="⏐":t==="\\Downarrow"?s=c="‖":t==="\\updownarrow"?(s="\\uparrow",c="⏐",u="\\downarrow"):t==="\\Updownarrow"?(s="\\Uparrow",c="‖",u="\\Downarrow"):use.has(t)?(c="∣",d="vert",f=333):dse.has(t)?(c="∥",d="doublevert",f=556):t==="["||t==="\\lbrack"?(s="⎡",c="⎢",u="⎣",h="Size4-Regular",d="lbrack",f=667):t==="]"||t==="\\rbrack"?(s="⎤",c="⎥",u="⎦",h="Size4-Regular",d="rbrack",f=667):t==="\\lfloor"||t==="⌊"?(c=s="⎢",u="⎣",h="Size4-Regular",d="lfloor",f=667):t==="\\lceil"||t==="⌈"?(s="⎡",c=u="⎢",h="Size4-Regular",d="lceil",f=667):t==="\\rfloor"||t==="⌋"?(c=s="⎥",u="⎦",h="Size4-Regular",d="rfloor",f=667):t==="\\rceil"||t==="⌉"?(s="⎤",c=u="⎥",h="Size4-Regular",d="rceil",f=667):t==="("||t==="\\lparen"?(s="⎛",c="⎜",u="⎝",h="Size4-Regular",d="lparen",f=875):t===")"||t==="\\rparen"?(s="⎞",c="⎟",u="⎠",h="Size4-Regular",d="rparen",f=875):t==="\\{"||t==="\\lbrace"?(s="⎧",l="⎨",u="⎩",c="⎪",h="Size4-Regular"):t==="\\}"||t==="\\rbrace"?(s="⎫",l="⎬",u="⎭",c="⎪",h="Size4-Regular"):t==="\\lgroup"||t==="⟮"?(s="⎧",u="⎩",c="⎪",h="Size4-Regular"):t==="\\rgroup"||t==="⟯"?(s="⎫",u="⎭",c="⎪",h="Size4-Regular"):t==="\\lmoustache"||t==="⎰"?(s="⎧",u="⎭",c="⎪",h="Size4-Regular"):(t==="\\rmoustache"||t==="⎱")&&(s="⎫",u="⎩",c="⎪",h="Size4-Regular");var v=yu(s,h,a),p=v.height+v.depth,y=yu(c,h,a),m=y.height+y.depth,g=yu(u,h,a),b=g.height+g.depth,x=0,D=1;if(l!==null){var w=yu(l,h,a);x=w.height+w.depth,D=2}var _=p+b+x,N=Math.max(0,Math.ceil((n-_)/(D*m))),O=_+N*D*m,B=i.fontMetrics().axisHeight;r&&(B*=i.sizeMultiplier);var K=O/2-B,A=[];if(d.length>0){var q=O-p-b,T=Math.round(O*1e3),X=_oe(d,Math.round(q*1e3)),j=new Uo(d,X),z=Ce(f/1e3),P=Ce(T/1e3),M=new _a([j],{width:z,height:P,viewBox:"0 0 "+f+" "+T}),F=Fo([],[M],i);F.height=T/1e3,F.style.width=z,F.style.height=P,A.push({type:"elem",elem:F})}else{if(A.push(fv(u,h,a)),A.push(mf),l===null){var $=O-p-b+2*Sy;A.push(pv(c,$,i))}else{var V=(O-p-b-x)/2+2*Sy;A.push(pv(c,V,i)),A.push(mf),A.push(fv(l,h,a)),A.push(mf),A.push(pv(c,V,i))}A.push(mf),A.push(fv(s,h,a))}var U=i.havingBaseStyle(qe.TEXT),ne=ut({positionType:"bottom",positionData:K,children:A});return iw(xe(["delimsizing","mult"],[ne],U),qe.TEXT,i,o)},mv=80,gv=.08,vv=function(t,n,r,i,a){var o=Doe(t,i,r),s=new Uo(t,o),l=new _a([s],{width:"400em",height:Ce(n),viewBox:"0 0 400000 "+r,preserveAspectRatio:"xMinYMin slice"});return Fo(["hide-tail"],[l],a)},hse=function(t,n){var r=n.havingBaseSizing(),i=LR("\\surd",t*r.sizeMultiplier,jR,r),a=r.sizeMultiplier,o=Math.max(0,n.minRuleThickness-n.fontMetrics().sqrtRuleThickness),s,l=0,c=0,u=0,d;return i.type==="small"?(u=1e3+1e3*o+mv,t<1?a=1:t<1.4&&(a=.7),l=(1+o+gv)/a,c=(1+o)/a,s=vv("sqrtMain",l,u,o,n),s.style.minWidth="0.853em",d=.833/a):i.type==="large"?(u=(1e3+mv)*Pu[i.size],c=(Pu[i.size]+o)/a,l=(Pu[i.size]+o+gv)/a,s=vv("sqrtSize"+i.size,l,u,o,n),s.style.minWidth="1.02em",d=1/a):(l=t+o+gv,c=t+o,u=Math.floor(1e3*t+o)+mv,s=vv("sqrtTall",l,u,o,n),s.style.minWidth="0.742em",d=1.056),s.height=c,s.style.height=Ce(l),{span:s,advanceWidth:d,ruleWidth:(n.fontMetrics().sqrtRuleThickness+o)*a}},PR=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"]),fse=new Set(["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"]),BR=new Set(["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"]),Pu=[0,1.2,1.8,2.4,3],MR=function(t,n,r,i,a){if(t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle"),PR.has(t)||BR.has(t))return OR(t,n,!1,r,i,a);if(fse.has(t))return IR(t,Pu[n],!1,r,i,a);throw new ke("Illegal delimiter: '"+t+"'")},pse=[{type:"small",style:qe.SCRIPTSCRIPT},{type:"small",style:qe.SCRIPT},{type:"small",style:qe.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],mse=[{type:"small",style:qe.SCRIPTSCRIPT},{type:"small",style:qe.SCRIPT},{type:"small",style:qe.TEXT},{type:"stack"}],jR=[{type:"small",style:qe.SCRIPTSCRIPT},{type:"small",style:qe.SCRIPT},{type:"small",style:qe.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],gse=function(t){if(t.type==="small")return"Main-Regular";if(t.type==="large")return"Size"+t.size+"-Regular";if(t.type==="stack")return"Size4-Regular";var n=t.type;throw new Error("Add support for delim type '"+n+"' here.")},LR=function(t,n,r,i){for(var a=Math.min(2,3-i.style.size),o=a;on)return s}return r[r.length-1]},Cy=function(t,n,r,i,a,o){t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle");var s;BR.has(t)?s=pse:PR.has(t)?s=jR:s=mse;var l=LR(t,n,s,i);return l.type==="small"?lse(t,l.style,r,i,a,o):l.type==="large"?OR(t,l.size,r,i,a,o):IR(t,n,r,i,a,o)},yv=function(t,n,r,i,a,o){var s=i.fontMetrics().axisHeight*i.sizeMultiplier,l=901,c=5/i.fontMetrics().ptPerEm,u=Math.max(n-s,r+s),d=Math.max(u/500*l,2*u-c);return Cy(t,d,!0,i,a,o)},m9={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},vse=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."]);function Im(e,t){var n=Nm(e);if(n&&vse.has(n.text))return n;throw n?new ke("Invalid delimiter '"+n.text+"' after '"+t.funcName+"'",e):new ke("Invalid delimiter type '"+e.type+"'",e)}Ue({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(e,t)=>{var n=Im(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:m9[e.funcName].size,mclass:m9[e.funcName].mclass,delim:n.text}},htmlBuilder:(e,t)=>e.delim==="."?xe([e.mclass]):MR(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!=="."&&t.push(Gr(e.delim,e.mode));var n=new _e("mo",t);e.mclass==="mopen"||e.mclass==="mclose"?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n.setAttribute("stretchy","true");var r=Ce(Pu[e.size]);return n.setAttribute("minsize",r),n.setAttribute("maxsize",r),n}});function g9(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Ue({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=e.parser.gullet.macros.get("\\current@color");if(n&&typeof n!="string")throw new ke("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:Im(t[0],e).text,color:n}}});Ue({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=Im(t[0],e),r=e.parser;++r.leftrightDepth;var i=r.parseExpression(!1);--r.leftrightDepth,r.expect("\\right",!1);var a=Ye(r.parseFunction(),"leftright-right");return{type:"leftright",mode:r.mode,body:i,left:n.text,right:a.delim,rightColor:a.color}},htmlBuilder:(e,t)=>{g9(e);for(var n=on(e.body,t,!0,["mopen","mclose"]),r=0,i=0,a=!1,o=0;o{g9(e);var n=Rr(e.body,t);if(e.left!=="."){var r=new _e("mo",[Gr(e.left,e.mode)]);r.setAttribute("fence","true"),n.unshift(r)}if(e.right!=="."){var i=new _e("mo",[Gr(e.right,e.mode)]);i.setAttribute("fence","true"),e.rightColor&&i.setAttribute("mathcolor",e.rightColor),n.push(i)}return tw(n)}});Ue({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=Im(t[0],e);if(!e.parser.leftrightDepth)throw new ke("\\middle without preceding \\left",n);return{type:"middle",mode:e.parser.mode,delim:n.text}},htmlBuilder:(e,t)=>{var n;if(e.delim===".")n=Ud(t,[]);else{n=MR(e.delim,1,t,e.mode,[]);var r={delim:e.delim,options:t};n.isMiddle=r}return n},mathmlBuilder:(e,t)=>{var n=e.delim==="\\vert"||e.delim==="|"?Gr("|","text"):Gr(e.delim,e.mode),r=new _e("mo",[n]);return r.setAttribute("fence","true"),r.setAttribute("lspace","0.05em"),r.setAttribute("rspace","0.05em"),r}});var Pm=(e,t)=>{var n=Dc(dt(e.body,t),t),r=e.label.slice(1),i=t.sizeMultiplier,a,o=0,s=Fa(e.body);if(r==="sout")a=xe(["stretchy","sout"]),a.height=t.fontMetrics().defaultRuleThickness/i,o=-.5*t.fontMetrics().xHeight;else if(r==="phase"){var l=Bt({number:.6,unit:"pt"},t),c=Bt({number:.35,unit:"ex"},t),u=t.havingBaseSizing();i=i/u.sizeMultiplier;var d=n.height+n.depth+l+c;n.style.paddingLeft=Ce(d/2+l);var f=Math.floor(1e3*d*i),h=xoe(f),v=new _a([new Uo("phase",h)],{width:"400em",height:Ce(f/1e3),viewBox:"0 0 400000 "+f,preserveAspectRatio:"xMinYMin slice"});a=Fo(["hide-tail"],[v],t),a.style.height=Ce(d),o=n.depth+l+c}else{/cancel/.test(r)?s||n.classes.push("cancel-pad"):r==="angl"?n.classes.push("anglpad"):n.classes.push("boxpad");var p=0,y=0,m=0;/box/.test(r)?(m=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),p=t.fontMetrics().fboxsep+(r==="colorbox"?0:m),y=p):r==="angl"?(m=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),p=4*m,y=Math.max(0,.25-n.depth)):(p=s?.2:0,y=p),a=tse(n,r,p,y,t),/fbox|boxed|fcolorbox/.test(r)?(a.style.borderStyle="solid",a.style.borderWidth=Ce(m)):r==="angl"&&m!==.049&&(a.style.borderTopWidth=Ce(m),a.style.borderRightWidth=Ce(m)),o=n.depth+y,e.backgroundColor&&(a.style.backgroundColor=e.backgroundColor,e.borderColor&&(a.style.borderColor=e.borderColor))}var g;if(e.backgroundColor)g=ut({positionType:"individualShift",children:[{type:"elem",elem:a,shift:o},{type:"elem",elem:n,shift:0}]});else{var b=/cancel|phase/.test(r)?["svg-align"]:[];g=ut({positionType:"individualShift",children:[{type:"elem",elem:n,shift:0},{type:"elem",elem:a,shift:o,wrapperClasses:b}]})}return/cancel/.test(r)&&(g.height=n.height,g.depth=n.depth),/cancel/.test(r)&&!s?xe(["mord","cancel-lap"],[g],t):xe(["mord"],[g],t)},Bm=(e,t)=>{var n=0,r=new _e(e.label.includes("colorbox")?"mpadded":"menclose",[xt(e.body,t)]);switch(e.label){case"\\cancel":r.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":r.setAttribute("notation","downdiagonalstrike");break;case"\\phase":r.setAttribute("notation","phasorangle");break;case"\\sout":r.setAttribute("notation","horizontalstrike");break;case"\\fbox":r.setAttribute("notation","box");break;case"\\angl":r.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(n=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,r.setAttribute("width","+"+2*n+"pt"),r.setAttribute("height","+"+2*n+"pt"),r.setAttribute("lspace",n+"pt"),r.setAttribute("voffset",n+"pt"),e.label==="\\fcolorbox"){var i=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);r.setAttribute("style","border: "+Ce(i)+" solid "+e.borderColor)}break;case"\\xcancel":r.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&r.setAttribute("mathbackground",e.backgroundColor),r};Ue({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,n){var{parser:r,funcName:i}=e,a=Ye(t[0],"color-token").color,o=t[1];return{type:"enclose",mode:r.mode,label:i,backgroundColor:a,body:o}},htmlBuilder:Pm,mathmlBuilder:Bm});Ue({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,n){var{parser:r,funcName:i}=e,a=Ye(t[0],"color-token").color,o=Ye(t[1],"color-token").color,s=t[2];return{type:"enclose",mode:r.mode,label:i,backgroundColor:o,borderColor:a,body:s}},htmlBuilder:Pm,mathmlBuilder:Bm});Ue({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:"enclose",mode:n.mode,label:"\\fbox",body:t[0]}}});Ue({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\phase"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e,i=t[0];return{type:"enclose",mode:n.mode,label:r,body:i}},htmlBuilder:Pm,mathmlBuilder:Bm});Ue({type:"enclose",names:["\\sout"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n,funcName:r}=e;n.mode==="math"&&n.settings.reportNonstrict("mathVsSout","LaTeX's \\sout works only in text mode");var i=t[0];return{type:"enclose",mode:n.mode,label:r,body:i}},htmlBuilder:Pm,mathmlBuilder:Bm});Ue({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,t){var{parser:n}=e;return{type:"enclose",mode:n.mode,label:"\\angl",body:t[0]}}});var zR={};function Hi(e){for(var{type:t,names:n,props:r,handler:i,htmlBuilder:a,mathmlBuilder:o}=e,s={type:t,numArgs:r.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:i},l=0;l{var t=e.parser.settings;if(!t.displayMode)throw new ke("{"+e.envName+"} can be used only in display mode.")},yse=new Set(["gather","gather*"]);function aw(e){if(!e.includes("ed"))return!e.includes("*")}function Ho(e,t,n){var{hskipBeforeAndAfter:r,addJot:i,cols:a,arraystretch:o,colSeparationType:s,autoTag:l,singleRow:c,emptySingleRow:u,maxNumCols:d,leqno:f}=t;if(e.gullet.beginGroup(),c||e.gullet.macros.set("\\cr","\\\\\\relax"),!o){var h=e.gullet.expandMacroAsText("\\arraystretch");if(h==null)o=1;else if(o=parseFloat(h),!o||o<0)throw new ke("Invalid \\arraystretch: "+h)}e.gullet.beginGroup();var v=[],p=[v],y=[],m=[],g=l!=null?[]:void 0;function b(){l&&e.gullet.macros.set("\\@eqnsw","1",!0)}function x(){g&&(e.gullet.macros.get("\\df@tag")?(g.push(e.subparse([new _r("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):g.push(!!l&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(b(),m.push(v9(e));;){var D=e.parseExpression(!1,c?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup();var w={type:"ordgroup",mode:e.mode,body:D};n&&(w={type:"styling",mode:e.mode,style:n,body:[w]}),v.push(w);var _=e.fetch().text;if(_==="&"){if(d&&v.length===d){if(c||s)throw new ke("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if(_==="\\end"){x(),v.length===1&&w.type==="styling"&&w.body.length===1&&w.body[0].type==="ordgroup"&&w.body[0].body.length===0&&(p.length>1||!u)&&p.pop(),m.length0&&(b+=.25),c.push({pos:b,isDashed:he[be]})}for(x(o[0]),r=0;r0&&(K+=g,_he))for(r=0;r=s)){var Ae=void 0;if(i>0||t.hskipBeforeAndAfter){var Pe,Me;Ae=(Pe=(Me=U)==null?void 0:Me.pregap)!=null?Pe:f,Ae!==0&&(X=xe(["arraycolsep"],[]),X.style.width=Ce(Ae),T.push(X))}var ae=[];for(r=0;r0){for(var ge=wc("hline",n,u),se=wc("hdashline",n,u),Y=[{type:"elem",elem:ue,shift:0}];c.length>0;){var ee=c.pop(),J=ee.pos-A;ee.isDashed?Y.push({type:"elem",elem:se,shift:J}):Y.push({type:"elem",elem:ge,shift:J})}ue=ut({positionType:"individualShift",children:Y})}if(z.length===0)return xe(["mord"],[ue],n);var W=ut({positionType:"individualShift",children:z}),ie=xe(["tag"],[W],n);return Na([ue,ie])},bse={c:"center ",l:"left ",r:"right "},Gi=function(t,n){for(var r=[],i=new _e("mtd",[],["mtr-glue"]),a=new _e("mtd",[],["mml-eqn-num"]),o=0;o0){var v=t.cols,p="",y=!1,m=0,g=v.length;v[0].type==="separator"&&(f+="top ",m=1),v[v.length-1].type==="separator"&&(f+="bottom ",g-=1);for(var b=m;b0?"left ":"",f+=O[O.length-1].length>0?"right ":"";for(var B=1;B0&&h&&(y=1),r[v]={type:"align",align:p,pregap:y,postgap:0}}return o.colSeparationType=h?"align":"alignat",o};Hi({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var n=Nm(t[0]),r=n?[t[0]]:Ye(t[0],"ordgroup").body,i=r.map(function(o){var s=Rm(o),l=s.text;if("lcr".includes(l))return{type:"align",align:l};if(l==="|")return{type:"separator",separator:"|"};if(l===":")return{type:"separator",separator:":"};throw new ke("Unknown column alignment: "+l,o)}),a={cols:i,hskipBeforeAndAfter:!0,maxNumCols:i.length};return Ho(e.parser,a,ow(e.envName))},htmlBuilder:Vi,mathmlBuilder:Gi});Hi({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],n="c",r={hskipBeforeAndAfter:!1,cols:[{type:"align",align:n}]};if(e.envName.charAt(e.envName.length-1)==="*"){var i=e.parser;if(i.consumeSpaces(),i.fetch().text==="["){if(i.consume(),i.consumeSpaces(),n=i.fetch().text,!"lcr".includes(n))throw new ke("Expected l or c or r",i.nextToken);i.consume(),i.consumeSpaces(),i.expect("]"),i.consume(),r.cols=[{type:"align",align:n}]}}var a=Ho(e.parser,r,ow(e.envName)),o=Math.max(0,...a.body.map(s=>s.length));return a.cols=new Array(o).fill({type:"align",align:n}),t?{type:"leftright",mode:e.mode,body:[a],left:t[0],right:t[1],rightColor:void 0}:a},htmlBuilder:Vi,mathmlBuilder:Gi});Hi({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t={arraystretch:.5},n=Ho(e.parser,t,"script");return n.colSeparationType="small",n},htmlBuilder:Vi,mathmlBuilder:Gi});Hi({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var n=Nm(t[0]),r=n?[t[0]]:Ye(t[0],"ordgroup").body,i=r.map(function(s){var l=Rm(s),c=l.text;if("lc".includes(c))return{type:"align",align:c};throw new ke("Unknown column alignment: "+c,s)});if(i.length>1)throw new ke("{subarray} can contain only one column");var a={cols:i,hskipBeforeAndAfter:!1,arraystretch:.5},o=Ho(e.parser,a,"script");if(o.body.length>0&&o.body[0].length>1)throw new ke("{subarray} can contain only one column");return o},htmlBuilder:Vi,mathmlBuilder:Gi});Hi({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var t={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},n=Ho(e.parser,t,ow(e.envName));return{type:"leftright",mode:e.mode,body:[n],left:e.envName.includes("r")?".":"\\{",right:e.envName.includes("r")?"\\}":".",rightColor:void 0}},htmlBuilder:Vi,mathmlBuilder:Gi});Hi({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:$R,htmlBuilder:Vi,mathmlBuilder:Gi});Hi({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){yse.has(e.envName)&&Mm(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:aw(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return Ho(e.parser,t,"display")},htmlBuilder:Vi,mathmlBuilder:Gi});Hi({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:$R,htmlBuilder:Vi,mathmlBuilder:Gi});Hi({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){Mm(e);var t={autoTag:aw(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return Ho(e.parser,t,"display")},htmlBuilder:Vi,mathmlBuilder:Gi});Hi({type:"array",names:["CD"],props:{numArgs:0},handler(e){return Mm(e),ose(e.parser)},htmlBuilder:Vi,mathmlBuilder:Gi});L("\\nonumber","\\gdef\\@eqnsw{0}");L("\\notag","\\nonumber");Ue({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new ke(e.funcName+" valid only within array environment")}});var y9=zR;Ue({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){var{parser:n,funcName:r}=e,i=t[0];if(i.type!=="ordgroup")throw new ke("Invalid environment name",i);for(var a="",o=0;o{var n=e.font,r=t.withFont(n);return dt(e.body,r)},HR=(e,t)=>{var n=e.font,r=t.withFont(n);return xt(e.body,r)},b9={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Ue({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=K0(t[0]),a=r;return a in b9&&(a=b9[a]),{type:"font",mode:n.mode,font:a.slice(1),body:i}},htmlBuilder:qR,mathmlBuilder:HR});Ue({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"mclass",mode:n.mode,mclass:Om(r),body:[{type:"font",mode:n.mode,font:"boldsymbol",body:r}],isCharacterBox:Fa(r)}}});Ue({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:n,funcName:r,breakOnTokenText:i}=e,{mode:a}=n,o=n.parseExpression(!0,i),s="math"+r.slice(1);return{type:"font",mode:a,font:s,body:{type:"ordgroup",mode:n.mode,body:o}}},htmlBuilder:qR,mathmlBuilder:HR});var xse=(e,t)=>{var n=t.style,r=n.fracNum(),i=n.fracDen(),a;a=t.havingStyle(r);var o=dt(e.numer,a,t);if(e.continued){var s=8.5/t.fontMetrics().ptPerEm,l=3.5/t.fontMetrics().ptPerEm;o.height=o.height0?v=3*f:v=7*f,p=t.fontMetrics().denom1):(d>0?(h=t.fontMetrics().num2,v=f):(h=t.fontMetrics().num3,v=3*f),p=t.fontMetrics().denom2);var y;if(u){var g=t.fontMetrics().axisHeight;h-o.depth-(g+.5*d){var n=new _e("mfrac",[xt(e.numer,t),xt(e.denom,t)]);if(!e.hasBarLine)n.setAttribute("linethickness","0px");else if(e.barSize){var r=Bt(e.barSize,t);n.setAttribute("linethickness",Ce(r))}if(e.leftDelim!=null||e.rightDelim!=null){var i=[];if(e.leftDelim!=null){var a=new _e("mo",[new Qt(e.leftDelim.replace("\\",""))]);a.setAttribute("fence","true"),i.push(a)}if(i.push(n),e.rightDelim!=null){var o=new _e("mo",[new Qt(e.rightDelim.replace("\\",""))]);o.setAttribute("fence","true"),i.push(o)}return tw(i)}return n},VR=(e,t)=>{if(!t)return e;var n={type:"styling",mode:e.mode,style:t,body:[e]};return n};Ue({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0],a=t[1],o,s=null,l=null;switch(r){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":o=!0;break;case"\\\\atopfrac":o=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":o=!1,s="(",l=")";break;case"\\\\bracefrac":o=!1,s="\\{",l="\\}";break;case"\\\\brackfrac":o=!1,s="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}var c=r==="\\cfrac",u=null;return c||r.startsWith("\\d")?u="display":r.startsWith("\\t")&&(u="text"),VR({type:"genfrac",mode:n.mode,numer:i,denom:a,continued:c,hasBarLine:o,leftDelim:s,rightDelim:l,barSize:null},u)},htmlBuilder:xse,mathmlBuilder:wse});Ue({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var{parser:t,funcName:n,token:r}=e,i;switch(n){case"\\over":i="\\frac";break;case"\\choose":i="\\binom";break;case"\\atop":i="\\\\atopfrac";break;case"\\brace":i="\\\\bracefrac";break;case"\\brack":i="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:t.mode,replaceWith:i,token:r}}});var x9=["display","text","script","scriptscript"],w9=function(t){var n=null;return t.length>0&&(n=t,n=n==="."?null:n),n};Ue({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var{parser:n}=e,r=t[4],i=t[5],a=K0(t[0]),o=a.type==="atom"&&a.family==="open"?w9(a.text):null,s=K0(t[1]),l=s.type==="atom"&&s.family==="close"?w9(s.text):null,c=Ye(t[2],"size"),u,d=null;c.isBlank?u=!0:(d=c.value,u=d.number>0);var f=null,h=t[3];if(h.type==="ordgroup"){if(h.body.length>0){var v=Ye(h.body[0],"textord");f=x9[Number(v.text)]}}else h=Ye(h,"textord"),f=x9[Number(h.text)];return VR({type:"genfrac",mode:n.mode,numer:r,denom:i,continued:!1,hasBarLine:u,barSize:d,leftDelim:o,rightDelim:l},f)}});Ue({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:n,funcName:r,token:i}=e;return{type:"infix",mode:n.mode,replaceWith:"\\\\abovefrac",size:Ye(t[0],"size").value,token:i}}});Ue({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0],a=Ye(t[1],"infix").size;if(!a)throw new Error("\\\\abovefrac expected size, but got "+String(a));var o=t[2],s=a.number>0;return{type:"genfrac",mode:n.mode,numer:i,denom:o,continued:!1,hasBarLine:s,barSize:a,leftDelim:null,rightDelim:null}}});var GR=(e,t)=>{var n=t.style,r,i;e.type==="supsub"?(r=e.sup?dt(e.sup,t.havingStyle(n.sup()),t):dt(e.sub,t.havingStyle(n.sub()),t),i=Ye(e.base,"horizBrace")):i=Ye(e,"horizBrace");var a=dt(i.base,t.havingBaseStyle(qe.DISPLAY)),o=Fm(i,t),s;if(i.isOver?(s=ut({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:.1},{type:"elem",elem:o}]}),s.children[0].children[0].children[1].classes.push("svg-align")):(s=ut({positionType:"bottom",positionData:a.depth+.1+o.height,children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:a}]}),s.children[0].children[0].children[0].classes.push("svg-align")),r){var l=xe(["minner",i.isOver?"mover":"munder"],[s],t);i.isOver?s=ut({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:r}]}):s=ut({positionType:"bottom",positionData:l.depth+.2+r.height+r.depth,children:[{type:"elem",elem:r},{type:"kern",size:.2},{type:"elem",elem:l}]})}return xe(["minner",i.isOver?"mover":"munder"],[s],t)},Dse=(e,t)=>{var n=Um(e.label);return new _e(e.isOver?"mover":"munder",[xt(e.base,t),n])};Ue({type:"horizBrace",names:["\\overbrace","\\underbrace","\\overbracket","\\underbracket"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e;return{type:"horizBrace",mode:n.mode,label:r,isOver:r.includes("\\over"),base:t[0]}},htmlBuilder:GR,mathmlBuilder:Dse});Ue({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[1],i=Ye(t[0],"url").url;return n.settings.isTrusted({command:"\\href",url:i})?{type:"href",mode:n.mode,href:i,body:Jt(r)}:n.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var n=on(e.body,t,!1);return joe(e.href,[],n,t)},mathmlBuilder:(e,t)=>{var n=Ro(e.body,t);return n instanceof _e||(n=new _e("mrow",[n])),n.setAttribute("href",e.href),n}});Ue({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=Ye(t[0],"url").url;if(!n.settings.isTrusted({command:"\\url",url:r}))return n.formatUnsupportedCmd("\\url");for(var i=[],a=0;a{var{parser:n,funcName:r,token:i}=e,a=Ye(t[0],"raw").string,o=t[1];n.settings.strict&&n.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var s,l={};switch(r){case"\\htmlClass":l.class=a,s={command:"\\htmlClass",class:a};break;case"\\htmlId":l.id=a,s={command:"\\htmlId",id:a};break;case"\\htmlStyle":l.style=a,s={command:"\\htmlStyle",style:a};break;case"\\htmlData":{for(var c=a.split(","),u=0;u{var n=on(e.body,t,!1),r=["enclosing"];e.attributes.class&&r.push(...e.attributes.class.trim().split(/\s+/));var i=xe(r,n,t);for(var a in e.attributes)a!=="class"&&e.attributes.hasOwnProperty(a)&&i.setAttribute(a,e.attributes[a]);return i},mathmlBuilder:(e,t)=>Ro(e.body,t)});Ue({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInArgument:!0,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e;return{type:"htmlmathml",mode:n.mode,html:Jt(t[0]),mathml:Jt(t[1])}},htmlBuilder:(e,t)=>{var n=on(e.html,t,!1);return Na(n)},mathmlBuilder:(e,t)=>Ro(e.mathml,t)});var bv=function(t){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(t))return{number:+t,unit:"bp"};var n=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t);if(!n)throw new ke("Invalid size: '"+t+"' in \\includegraphics");var r={number:+(n[1]+n[2]),unit:n[3]};if(!uR(r))throw new ke("Invalid unit: '"+r.unit+"' in \\includegraphics.");return r};Ue({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,n)=>{var{parser:r}=e,i={number:0,unit:"em"},a={number:.9,unit:"em"},o={number:0,unit:"em"},s="";if(n[0])for(var l=Ye(n[0],"raw").string,c=l.split(","),u=0;u{var n=Bt(e.height,t),r=0;e.totalheight.number>0&&(r=Bt(e.totalheight,t)-n);var i=0;e.width.number>0&&(i=Bt(e.width,t));var a={height:Ce(n+r)};i>0&&(a.width=Ce(i)),r>0&&(a.verticalAlign=Ce(-r));var o=new Soe(e.src,e.alt,a);return o.height=n,o.depth=r,o},mathmlBuilder:(e,t)=>{var n=new _e("mglyph",[]);n.setAttribute("alt",e.alt);var r=Bt(e.height,t),i=0;if(e.totalheight.number>0&&(i=Bt(e.totalheight,t)-r,n.setAttribute("valign",Ce(-i))),n.setAttribute("height",Ce(r+i)),e.width.number>0){var a=Bt(e.width,t);n.setAttribute("width",Ce(a))}return n.setAttribute("src",e.src),n}});Ue({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){var{parser:n,funcName:r}=e,i=Ye(t[0],"size");if(n.settings.strict){var a=r[1]==="m",o=i.value.unit==="mu";a?(o||n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" supports only mu units, "+("not "+i.value.unit+" units")),n.mode!=="math"&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" works only in math mode")):o&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" doesn't support mu units")}return{type:"kern",mode:n.mode,dimension:i.value}},htmlBuilder(e,t){return gR(e.dimension,t)},mathmlBuilder(e,t){var n=Bt(e.dimension,t);return new DR(n)}});Ue({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0];return{type:"lap",mode:n.mode,alignment:r.slice(5),body:i}},htmlBuilder:(e,t)=>{var n;e.alignment==="clap"?(n=xe([],[dt(e.body,t)]),n=xe(["inner"],[n],t)):n=xe(["inner"],[dt(e.body,t)]);var r=xe(["fix"],[]),i=xe([e.alignment],[n,r],t),a=xe(["strut"]);return a.style.height=Ce(i.height+i.depth),i.depth&&(a.style.verticalAlign=Ce(-i.depth)),i.children.unshift(a),i=xe(["thinbox"],[i],t),xe(["mord","vbox"],[i],t)},mathmlBuilder:(e,t)=>{var n=new _e("mpadded",[xt(e.body,t)]);if(e.alignment!=="rlap"){var r=e.alignment==="llap"?"-1":"-0.5";n.setAttribute("lspace",r+"width")}return n.setAttribute("width","0px"),n}});Ue({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:n,parser:r}=e,i=r.mode;r.switchMode("math");var a=n==="\\("?"\\)":"$",o=r.parseExpression(!1,a);return r.expect(a),r.switchMode(i),{type:"styling",mode:r.mode,style:"text",body:o}}});Ue({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new ke("Mismatched "+e.funcName)}});var D9=(e,t)=>{switch(t.style.size){case qe.DISPLAY.size:return e.display;case qe.TEXT.size:return e.text;case qe.SCRIPT.size:return e.script;case qe.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};Ue({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:n}=e;return{type:"mathchoice",mode:n.mode,display:Jt(t[0]),text:Jt(t[1]),script:Jt(t[2]),scriptscript:Jt(t[3])}},htmlBuilder:(e,t)=>{var n=D9(e,t),r=on(n,t,!1);return Na(r)},mathmlBuilder:(e,t)=>{var n=D9(e,t);return Ro(n,t)}});var XR=(e,t,n,r,i,a,o)=>{e=xe([],[e]);var s=n&&Fa(n),l,c;if(t){var u=dt(t,r.havingStyle(i.sup()),r);c={elem:u,kern:Math.max(r.fontMetrics().bigOpSpacing1,r.fontMetrics().bigOpSpacing3-u.depth)}}if(n){var d=dt(n,r.havingStyle(i.sub()),r);l={elem:d,kern:Math.max(r.fontMetrics().bigOpSpacing2,r.fontMetrics().bigOpSpacing4-d.height)}}var f;if(c&&l){var h=r.fontMetrics().bigOpSpacing5+l.elem.height+l.elem.depth+l.kern+e.depth+o;f=ut({positionType:"bottom",positionData:h,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:Ce(-a)},{type:"kern",size:l.kern},{type:"elem",elem:e},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:Ce(a)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]})}else if(l){var v=e.height-o;f=ut({positionType:"top",positionData:v,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:Ce(-a)},{type:"kern",size:l.kern},{type:"elem",elem:e}]})}else if(c){var p=e.depth+o;f=ut({positionType:"bottom",positionData:p,children:[{type:"elem",elem:e},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:Ce(a)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]})}else return e;var y=[f];if(l&&a!==0&&!s){var m=xe(["mspace"],[],r);m.style.marginRight=Ce(a),y.unshift(m)}return xe(["mop","op-limits"],y,r)},KR=new Set(["\\smallint"]),Vc=(e,t)=>{var n,r,i=!1,a;e.type==="supsub"?(n=e.sup,r=e.sub,a=Ye(e.base,"op"),i=!0):a=Ye(e,"op");var o=t.style,s=!1;o.size===qe.DISPLAY.size&&a.symbol&&!KR.has(a.name)&&(s=!0);var l;if(a.symbol){var c=s?"Size2-Regular":"Size1-Regular",u="";if((a.name==="\\oiint"||a.name==="\\oiiint")&&(u=a.name.slice(1),a.name=u==="oiint"?"\\iint":"\\iiint"),l=zn(a.name,c,"math",t,["mop","op-symbol",s?"large-op":"small-op"]),u.length>0){var d=l.italic,f=yR(u+"Size"+(s?"2":"1"),t);l=ut({positionType:"individualShift",children:[{type:"elem",elem:l,shift:0},{type:"elem",elem:f,shift:s?.08:0}]}),a.name="\\"+u,l.classes.unshift("mop"),l.italic=d}}else if(a.body){var h=on(a.body,t,!0);h.length===1&&h[0]instanceof Er?(l=h[0],l.classes[0]="mop"):l=xe(["mop"],h,t)}else{for(var v=[],p=1;p{var n;if(e.symbol)n=new _e("mo",[Gr(e.name,e.mode)]),KR.has(e.name)&&n.setAttribute("largeop","false");else if(e.body)n=new _e("mo",Rr(e.body,t));else{n=new _e("mi",[new Qt(e.name.slice(1))]);var r=new _e("mo",[Gr("⁡","text")]);e.parentIsSupSub?n=new _e("mrow",[n,r]):n=wR([n,r])}return n},kse={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};Ue({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=r;return i.length===1&&(i=kse[i]),{type:"op",mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:i}},htmlBuilder:Vc,mathmlBuilder:ch});Ue({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"op",mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Jt(r)}},htmlBuilder:Vc,mathmlBuilder:ch});var _se={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};Ue({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(e){var{parser:t,funcName:n}=e;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:Vc,mathmlBuilder:ch});Ue({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){var{parser:t,funcName:n}=e;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:Vc,mathmlBuilder:ch});Ue({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0,allowedInArgument:!0},handler(e){var{parser:t,funcName:n}=e,r=n;return r.length===1&&(r=_se[r]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:r}},htmlBuilder:Vc,mathmlBuilder:ch});var YR=(e,t)=>{var n,r,i=!1,a;e.type==="supsub"?(n=e.sup,r=e.sub,a=Ye(e.base,"operatorname"),i=!0):a=Ye(e,"operatorname");var o;if(a.body.length>0){for(var s=a.body.map(d=>{var f="text"in d?d.text:void 0;return typeof f=="string"?{type:"textord",mode:d.mode,text:f}:d}),l=on(s,t.withFont("mathrm"),!0),c=0;c{for(var n=Rr(e.body,t.withFont("mathrm")),r=!0,i=0;iu.toText()).join("");n=[new Qt(s)]}var l=new _e("mi",n);l.setAttribute("mathvariant","normal");var c=new _e("mo",[Gr("⁡","text")]);return e.parentIsSupSub?new _e("mrow",[l,c]):wR([l,c])};Ue({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0];return{type:"operatorname",mode:n.mode,body:Jt(i),alwaysHandleSupSub:r==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:YR,mathmlBuilder:Tse});L("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");qs({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?Na(on(e.body,t,!1)):xe(["mord"],on(e.body,t,!0),t)},mathmlBuilder(e,t){return Ro(e.body,t,!0)}});Ue({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){var{parser:n}=e,r=t[0];return{type:"overline",mode:n.mode,body:r}},htmlBuilder(e,t){var n=dt(e.body,t.havingCrampedStyle()),r=wc("overline-line",t),i=t.fontMetrics().defaultRuleThickness,a=ut({positionType:"firstBaseline",children:[{type:"elem",elem:n},{type:"kern",size:3*i},{type:"elem",elem:r},{type:"kern",size:i}]});return xe(["mord","overline"],[a],t)},mathmlBuilder(e,t){var n=new _e("mo",[new Qt("‾")]);n.setAttribute("stretchy","true");var r=new _e("mover",[xt(e.body,t),n]);return r.setAttribute("accent","true"),r}});Ue({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"phantom",mode:n.mode,body:Jt(r)}},htmlBuilder:(e,t)=>{var n=on(e.body,t.withPhantom(),!1);return Na(n)},mathmlBuilder:(e,t)=>{var n=Rr(e.body,t);return new _e("mphantom",n)}});L("\\hphantom","\\smash{\\phantom{#1}}");Ue({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"vphantom",mode:n.mode,body:r}},htmlBuilder:(e,t)=>{var n=xe(["inner"],[dt(e.body,t.withPhantom())]),r=xe(["fix"],[]);return xe(["mord","rlap"],[n,r],t)},mathmlBuilder:(e,t)=>{var n=Rr(Jt(e.body),t),r=new _e("mphantom",n),i=new _e("mpadded",[r]);return i.setAttribute("width","0px"),i}});Ue({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:n}=e,r=Ye(t[0],"size").value,i=t[1];return{type:"raisebox",mode:n.mode,dy:r,body:i}},htmlBuilder(e,t){var n=dt(e.body,t),r=Bt(e.dy,t);return ut({positionType:"shift",positionData:-r,children:[{type:"elem",elem:n}]})},mathmlBuilder(e,t){var n=new _e("mpadded",[xt(e.body,t)]),r=e.dy.number+e.dy.unit;return n.setAttribute("voffset",r),n}});Ue({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}});Ue({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(e,t,n){var{parser:r}=e,i=n[0],a=Ye(t[0],"size"),o=Ye(t[1],"size");return{type:"rule",mode:r.mode,shift:i&&Ye(i,"size").value,width:a.value,height:o.value}},htmlBuilder(e,t){var n=xe(["mord","rule"],[],t),r=Bt(e.width,t),i=Bt(e.height,t),a=e.shift?Bt(e.shift,t):0;return n.style.borderRightWidth=Ce(r),n.style.borderTopWidth=Ce(i),n.style.bottom=Ce(a),n.width=r,n.height=i+a,n.depth=-a,n.maxFontSize=i*1.125*t.sizeMultiplier,n},mathmlBuilder(e,t){var n=Bt(e.width,t),r=Bt(e.height,t),i=e.shift?Bt(e.shift,t):0,a=t.color&&t.getColor()||"black",o=new _e("mspace");o.setAttribute("mathbackground",a),o.setAttribute("width",Ce(n)),o.setAttribute("height",Ce(r));var s=new _e("mpadded",[o]);return i>=0?s.setAttribute("height",Ce(i)):(s.setAttribute("height",Ce(i)),s.setAttribute("depth",Ce(-i))),s.setAttribute("voffset",Ce(i)),s}});function JR(e,t,n){for(var r=on(e,t,!1),i=t.sizeMultiplier/n.sizeMultiplier,a=0;a{var n=t.havingSize(e.size);return JR(e.body,n,t)};Ue({type:"sizing",names:k9,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:n,funcName:r,parser:i}=e,a=i.parseExpression(!1,n);return{type:"sizing",mode:i.mode,size:k9.indexOf(r)+1,body:a}},htmlBuilder:Ese,mathmlBuilder:(e,t)=>{var n=t.havingSize(e.size),r=Rr(e.body,n),i=new _e("mstyle",r);return i.setAttribute("mathsize",Ce(n.sizeMultiplier)),i}});Ue({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,n)=>{var{parser:r}=e,i=!1,a=!1,o=n[0]&&Ye(n[0],"ordgroup");if(o)for(var s="",l=0;l{var n=xe([],[dt(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return n;if(e.smashHeight&&(n.height=0),e.smashDepth&&(n.depth=0),e.smashHeight&&e.smashDepth)return xe(["mord","smash"],[n],t);if(n.children)for(var r=0;r{var n=new _e("mpadded",[xt(e.body,t)]);return e.smashHeight&&n.setAttribute("height","0px"),e.smashDepth&&n.setAttribute("depth","0px"),n}});Ue({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){var{parser:r}=e,i=n[0],a=t[0];return{type:"sqrt",mode:r.mode,body:a,index:i}},htmlBuilder(e,t){var n=dt(e.body,t.havingCrampedStyle());n.height===0&&(n.height=t.fontMetrics().xHeight),n=Dc(n,t);var r=t.fontMetrics(),i=r.defaultRuleThickness,a=i;t.style.idn.height+n.depth+o&&(o=(o+d-n.height-n.depth)/2);var f=l.height-n.height-o-c;n.style.paddingLeft=Ce(u);var h=ut({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+f)},{type:"elem",elem:l},{type:"kern",size:c}]});if(e.index){var v=t.havingStyle(qe.SCRIPTSCRIPT),p=dt(e.index,v,t),y=.6*(h.height-h.depth),m=ut({positionType:"shift",positionData:-y,children:[{type:"elem",elem:p}]}),g=xe(["root"],[m]);return xe(["mord","sqrt"],[g,h],t)}else return xe(["mord","sqrt"],[h],t)},mathmlBuilder(e,t){var{body:n,index:r}=e;return r?new _e("mroot",[xt(n,t),xt(r,t)]):new _e("msqrt",[xt(n,t)])}});var _9={display:qe.DISPLAY,text:qe.TEXT,script:qe.SCRIPT,scriptscript:qe.SCRIPTSCRIPT};Ue({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:n,funcName:r,parser:i}=e,a=i.parseExpression(!0,n),o=r.slice(1,r.length-5);return{type:"styling",mode:i.mode,style:o,body:a}},htmlBuilder(e,t){var n=_9[e.style],r=t.havingStyle(n).withFont("");return JR(e.body,r,t)},mathmlBuilder(e,t){var n=_9[e.style],r=t.havingStyle(n),i=Rr(e.body,r),a=new _e("mstyle",i),o={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},s=o[e.style];return a.setAttribute("scriptlevel",s[0]),a.setAttribute("displaystyle",s[1]),a}});var Sse=function(t,n){var r=t.base;if(r)if(r.type==="op"){var i=r.limits&&(n.style.size===qe.DISPLAY.size||r.alwaysHandleSupSub);return i?Vc:null}else if(r.type==="operatorname"){var a=r.alwaysHandleSupSub&&(n.style.size===qe.DISPLAY.size||r.limits);return a?YR:null}else{if(r.type==="accent")return Fa(r.base)?rw:null;if(r.type==="horizBrace"){var o=!t.sub;return o===r.isOver?GR:null}else return null}else return null};qs({type:"supsub",htmlBuilder(e,t){var n=Sse(e,t);if(n)return n(e,t);var{base:r,sup:i,sub:a}=e,o=dt(r,t),s,l,c=t.fontMetrics(),u=0,d=0,f=r&&Fa(r);if(i){var h=t.havingStyle(t.style.sup());s=dt(i,h,t),f||(u=o.height-h.fontMetrics().supDrop*h.sizeMultiplier/t.sizeMultiplier)}if(a){var v=t.havingStyle(t.style.sub());l=dt(a,v,t),f||(d=o.depth+v.fontMetrics().subDrop*v.sizeMultiplier/t.sizeMultiplier)}var p;t.style===qe.DISPLAY?p=c.sup1:t.style.cramped?p=c.sup3:p=c.sup2;var y=t.sizeMultiplier,m=Ce(.5/c.ptPerEm/y),g=null;if(l){var b=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");(o instanceof Er||b)&&(g=Ce(-o.italic))}var x;if(s&&l){u=Math.max(u,p,s.depth+.25*c.xHeight),d=Math.max(d,c.sub2);var D=c.defaultRuleThickness,w=4*D;if(u-s.depth-(l.height-d)0&&(u+=_,d-=_)}var N=[{type:"elem",elem:l,shift:d,marginRight:m,marginLeft:g},{type:"elem",elem:s,shift:-u,marginRight:m}];x=ut({positionType:"individualShift",children:N})}else if(l){d=Math.max(d,c.sub1,l.height-.8*c.xHeight);var O=[{type:"elem",elem:l,marginLeft:g,marginRight:m}];x=ut({positionType:"shift",positionData:d,children:O})}else if(s)u=Math.max(u,p,s.depth+.25*c.xHeight),x=ut({positionType:"shift",positionData:-u,children:[{type:"elem",elem:s,marginRight:m}]});else throw new Error("supsub must have either sup or sub.");var B=_y(o,"right")||"mord";return xe([B],[o,xe(["msupsub"],[x])],t)},mathmlBuilder(e,t){var n=!1,r,i;e.base&&e.base.type==="horizBrace"&&(i=!!e.sup,i===e.base.isOver&&(n=!0,r=e.base.isOver)),e.base&&(e.base.type==="op"||e.base.type==="operatorname")&&(e.base.parentIsSupSub=!0);var a=[xt(e.base,t)];e.sub&&a.push(xt(e.sub,t)),e.sup&&a.push(xt(e.sup,t));var o;if(n)o=r?"mover":"munder";else if(e.sub)if(e.sup){var c=e.base;c&&c.type==="op"&&c.limits&&t.style===qe.DISPLAY||c&&c.type==="operatorname"&&c.alwaysHandleSupSub&&(t.style===qe.DISPLAY||c.limits)?o="munderover":o="msubsup"}else{var l=e.base;l&&l.type==="op"&&l.limits&&(t.style===qe.DISPLAY||l.alwaysHandleSupSub)||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(l.limits||t.style===qe.DISPLAY)?o="munder":o="msub"}else{var s=e.base;s&&s.type==="op"&&s.limits&&(t.style===qe.DISPLAY||s.alwaysHandleSupSub)||s&&s.type==="operatorname"&&s.alwaysHandleSupSub&&(s.limits||t.style===qe.DISPLAY)?o="mover":o="msup"}return new _e(o,a)}});qs({type:"atom",htmlBuilder(e,t){return Z4(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){var n=new _e("mo",[Gr(e.text,e.mode)]);if(e.family==="bin"){var r=nw(e,t);r==="bold-italic"&&n.setAttribute("mathvariant",r)}else e.family==="punct"?n.setAttribute("separator","true"):(e.family==="open"||e.family==="close")&&n.setAttribute("stretchy","false");return n}});var QR={mi:"italic",mn:"normal",mtext:"normal"};qs({type:"mathord",htmlBuilder(e,t){return Am(e,t,"mathord")},mathmlBuilder(e,t){var n=new _e("mi",[Gr(e.text,e.mode,t)]),r=nw(e,t)||"italic";return r!==QR[n.type]&&n.setAttribute("mathvariant",r),n}});qs({type:"textord",htmlBuilder(e,t){return Am(e,t,"textord")},mathmlBuilder(e,t){var n=Gr(e.text,e.mode,t),r=nw(e,t)||"normal",i;return e.mode==="text"?i=new _e("mtext",[n]):/[0-9]/.test(e.text)?i=new _e("mn",[n]):e.text==="\\prime"?i=new _e("mo",[n]):i=new _e("mi",[n]),r!==QR[i.type]&&i.setAttribute("mathvariant",r),i}});var xv={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},wv={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};qs({type:"spacing",htmlBuilder(e,t){if(wv.hasOwnProperty(e.text)){var n=wv[e.text].className||"";if(e.mode==="text"){var r=Am(e,t,"textord");return r.classes.push(n),r}else return xe(["mspace",n],[Z4(e.text,e.mode,t)],t)}else{if(xv.hasOwnProperty(e.text))return xe(["mspace",xv[e.text]],[],t);throw new ke('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,t){var n;if(wv.hasOwnProperty(e.text))n=new _e("mtext",[new Qt(" ")]);else{if(xv.hasOwnProperty(e.text))return new _e("mspace");throw new ke('Unknown type of space "'+e.text+'"')}return n}});var T9=()=>{var e=new _e("mtd",[]);return e.setAttribute("width","50%"),e};qs({type:"tag",mathmlBuilder(e,t){var n=new _e("mtable",[new _e("mtr",[T9(),new _e("mtd",[Ro(e.body,t)]),T9(),new _e("mtd",[Ro(e.tag,t)])])]);return n.setAttribute("width","100%"),n}});var E9={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},S9={"\\textbf":"textbf","\\textmd":"textmd"},Cse={"\\textit":"textit","\\textup":"textup"},C9=(e,t)=>{var n=e.font;if(n){if(E9[n])return t.withTextFontFamily(E9[n]);if(S9[n])return t.withTextFontWeight(S9[n]);if(n==="\\emph")return t.fontShape==="textit"?t.withTextFontShape("textup"):t.withTextFontShape("textit")}else return t;return t.withTextFontShape(Cse[n])};Ue({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:n,funcName:r}=e,i=t[0];return{type:"text",mode:n.mode,body:Jt(i),font:r}},htmlBuilder(e,t){var n=C9(e,t),r=on(e.body,n,!0);return xe(["mord","text"],r,n)},mathmlBuilder(e,t){var n=C9(e,t);return Ro(e.body,n)}});Ue({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:"underline",mode:n.mode,body:t[0]}},htmlBuilder(e,t){var n=dt(e.body,t),r=wc("underline-line",t),i=t.fontMetrics().defaultRuleThickness,a=ut({positionType:"top",positionData:n.height,children:[{type:"kern",size:i},{type:"elem",elem:r},{type:"kern",size:3*i},{type:"elem",elem:n}]});return xe(["mord","underline"],[a],t)},mathmlBuilder(e,t){var n=new _e("mo",[new Qt("‾")]);n.setAttribute("stretchy","true");var r=new _e("munder",[xt(e.body,t),n]);return r.setAttribute("accentunder","true"),r}});Ue({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(e,t){var{parser:n}=e;return{type:"vcenter",mode:n.mode,body:t[0]}},htmlBuilder(e,t){var n=dt(e.body,t),r=t.fontMetrics().axisHeight,i=.5*(n.height-r-(n.depth+r));return ut({positionType:"shift",positionData:i,children:[{type:"elem",elem:n}]})},mathmlBuilder(e,t){var n=new _e("mpadded",[xt(e.body,t)],["vcenter"]);return new _e("mrow",[n])}});Ue({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,n){throw new ke("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var n=A9(e),r=[],i=t.havingStyle(t.style.text()),a=0;ae.body.replace(/ /g,e.star?"␣":" "),uo=bR,ZR=`[ \r + ]`,Ase="\\\\[a-zA-Z@]+",Use="\\\\[^\uD800-\uDFFF]",Fse="("+Ase+")"+ZR+"*",Rse=`\\\\( +|[ \r ]+ +?)[ \r ]*`,Ay="[̀-ͯ]",Nse=new RegExp(Ay+"+$"),Ose="("+ZR+"+)|"+(Rse+"|")+"([!-\\[\\]-‧‪-퟿豈-￿]"+(Ay+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(Ay+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+Fse)+("|"+Use+")");class U9{constructor(t,n){this.input=t,this.settings=n,this.tokenRegex=new RegExp(Ose,"g"),this.catcodes={"%":14,"~":13}}setCatcode(t,n){this.catcodes[t]=n}lex(){var t=this.input,n=this.tokenRegex.lastIndex;if(n===t.length)return new _r("EOF",new Zn(this,n,n));var r=this.tokenRegex.exec(t);if(r===null||r.index!==n)throw new ke("Unexpected character: '"+t[n]+"'",new _r(t[n],new Zn(this,n,n+1)));var i=r[6]||r[3]||(r[2]?"\\ ":" ");if(this.catcodes[i]===14){var a=t.indexOf(` +`,this.tokenRegex.lastIndex);return a===-1?(this.tokenRegex.lastIndex=t.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=a+1,this.lex()}return new _r(i,new Zn(this,n,this.tokenRegex.lastIndex))}}class Ise{constructor(t,n){t===void 0&&(t={}),n===void 0&&(n={}),this.current=n,this.builtins=t,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new ke("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var t=this.undefStack.pop();for(var n in t)t.hasOwnProperty(n)&&(t[n]==null?delete this.current[n]:this.current[n]=t[n])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(t){return this.current.hasOwnProperty(t)||this.builtins.hasOwnProperty(t)}get(t){return this.current.hasOwnProperty(t)?this.current[t]:this.builtins[t]}set(t,n,r){if(r===void 0&&(r=!1),r){for(var i=0;i0&&(this.undefStack[this.undefStack.length-1][t]=n)}else{var a=this.undefStack[this.undefStack.length-1];a&&!a.hasOwnProperty(t)&&(a[t]=this.current[t])}n==null?delete this.current[t]:this.current[t]=n}}var Pse=WR;L("\\noexpand",function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}});L("\\expandafter",function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}});L("\\@firstoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[0],numArgs:0}});L("\\@secondoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[1],numArgs:0}});L("\\@ifnextchar",function(e){var t=e.consumeArgs(3);e.consumeSpaces();var n=e.future();return t[0].length===1&&t[0][0].text===n.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}});L("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");L("\\TextOrMath",function(e){var t=e.consumeArgs(2);return e.mode==="text"?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var F9={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};L("\\char",function(e){var t=e.popToken(),n,r=0;if(t.text==="'")n=8,t=e.popToken();else if(t.text==='"')n=16,t=e.popToken();else if(t.text==="`")if(t=e.popToken(),t.text[0]==="\\")r=t.text.charCodeAt(1);else{if(t.text==="EOF")throw new ke("\\char` missing argument");r=t.text.charCodeAt(0)}else n=10;if(n){if(r=F9[t.text],r==null||r>=n)throw new ke("Invalid base-"+n+" digit "+t.text);for(var i;(i=F9[e.future().text])!=null&&i{var i=e.consumeArg().tokens;if(i.length!==1)throw new ke("\\newcommand's first argument must be a macro name");var a=i[0].text,o=e.isDefined(a);if(o&&!t)throw new ke("\\newcommand{"+a+"} attempting to redefine "+(a+"; use \\renewcommand"));if(!o&&!n)throw new ke("\\renewcommand{"+a+"} when command "+a+" does not yet exist; use \\newcommand");var s=0;if(i=e.consumeArg().tokens,i.length===1&&i[0].text==="["){for(var l="",c=e.expandNextToken();c.text!=="]"&&c.text!=="EOF";)l+=c.text,c=e.expandNextToken();if(!l.match(/^\s*[0-9]+\s*$/))throw new ke("Invalid number of arguments: "+l);s=parseInt(l),i=e.consumeArg().tokens}return o&&r||e.macros.set(a,{tokens:i,numArgs:s}),""};L("\\newcommand",e=>sw(e,!1,!0,!1));L("\\renewcommand",e=>sw(e,!0,!1,!1));L("\\providecommand",e=>sw(e,!0,!0,!0));L("\\message",e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(n=>n.text).join("")),""});L("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(n=>n.text).join("")),""});L("\\show",e=>{var t=e.popToken(),n=t.text;return console.log(t,e.macros.get(n),uo[n],Nt.math[n],Nt.text[n]),""});L("\\bgroup","{");L("\\egroup","}");L("~","\\nobreakspace");L("\\lq","`");L("\\rq","'");L("\\aa","\\r a");L("\\AA","\\r A");L("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}");L("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");L("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}");L("ℬ","\\mathscr{B}");L("ℰ","\\mathscr{E}");L("ℱ","\\mathscr{F}");L("ℋ","\\mathscr{H}");L("ℐ","\\mathscr{I}");L("ℒ","\\mathscr{L}");L("ℳ","\\mathscr{M}");L("ℛ","\\mathscr{R}");L("ℭ","\\mathfrak{C}");L("ℌ","\\mathfrak{H}");L("ℨ","\\mathfrak{Z}");L("\\Bbbk","\\Bbb{k}");L("\\llap","\\mathllap{\\textrm{#1}}");L("\\rlap","\\mathrlap{\\textrm{#1}}");L("\\clap","\\mathclap{\\textrm{#1}}");L("\\mathstrut","\\vphantom{(}");L("\\underbar","\\underline{\\text{#1}}");L("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}\\nobreak}{\\char"338}');L("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}");L("\\ne","\\neq");L("≠","\\neq");L("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}");L("∉","\\notin");L("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}");L("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}");L("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}");L("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}");L("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}");L("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}");L("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}");L("⟂","\\perp");L("‼","\\mathclose{!\\mkern-0.8mu!}");L("∌","\\notni");L("⌜","\\ulcorner");L("⌝","\\urcorner");L("⌞","\\llcorner");L("⌟","\\lrcorner");L("©","\\copyright");L("®","\\textregistered");L("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');L("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');L("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');L("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');L("\\vdots","{\\varvdots\\rule{0pt}{15pt}}");L("⋮","\\vdots");L("\\varGamma","\\mathit{\\Gamma}");L("\\varDelta","\\mathit{\\Delta}");L("\\varTheta","\\mathit{\\Theta}");L("\\varLambda","\\mathit{\\Lambda}");L("\\varXi","\\mathit{\\Xi}");L("\\varPi","\\mathit{\\Pi}");L("\\varSigma","\\mathit{\\Sigma}");L("\\varUpsilon","\\mathit{\\Upsilon}");L("\\varPhi","\\mathit{\\Phi}");L("\\varPsi","\\mathit{\\Psi}");L("\\varOmega","\\mathit{\\Omega}");L("\\substack","\\begin{subarray}{c}#1\\end{subarray}");L("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");L("\\boxed","\\fbox{$\\displaystyle{#1}$}");L("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");L("\\implies","\\DOTSB\\;\\Longrightarrow\\;");L("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");L("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}");L("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var R9={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"},Bse=new Set(["bin","rel"]);L("\\dots",function(e){var t="\\dotso",n=e.expandAfterFuture().text;return n in R9?t=R9[n]:(n.slice(0,4)==="\\not"||n in Nt.math&&Bse.has(Nt.math[n].group))&&(t="\\dotsb"),t});var lw={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};L("\\dotso",function(e){var t=e.future().text;return t in lw?"\\ldots\\,":"\\ldots"});L("\\dotsc",function(e){var t=e.future().text;return t in lw&&t!==","?"\\ldots\\,":"\\ldots"});L("\\cdots",function(e){var t=e.future().text;return t in lw?"\\@cdots\\,":"\\@cdots"});L("\\dotsb","\\cdots");L("\\dotsm","\\cdots");L("\\dotsi","\\!\\cdots");L("\\dotsx","\\ldots\\,");L("\\DOTSI","\\relax");L("\\DOTSB","\\relax");L("\\DOTSX","\\relax");L("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");L("\\,","\\tmspace+{3mu}{.1667em}");L("\\thinspace","\\,");L("\\>","\\mskip{4mu}");L("\\:","\\tmspace+{4mu}{.2222em}");L("\\medspace","\\:");L("\\;","\\tmspace+{5mu}{.2777em}");L("\\thickspace","\\;");L("\\!","\\tmspace-{3mu}{.1667em}");L("\\negthinspace","\\!");L("\\negmedspace","\\tmspace-{4mu}{.2222em}");L("\\negthickspace","\\tmspace-{5mu}{.277em}");L("\\enspace","\\kern.5em ");L("\\enskip","\\hskip.5em\\relax");L("\\quad","\\hskip1em\\relax");L("\\qquad","\\hskip2em\\relax");L("\\tag","\\@ifstar\\tag@literal\\tag@paren");L("\\tag@paren","\\tag@literal{({#1})}");L("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new ke("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});L("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");L("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");L("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");L("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");L("\\newline","\\\\\\relax");L("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var eN=Ce(Oi["Main-Regular"][84][1]-.7*Oi["Main-Regular"][65][1]);L("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+eN+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");L("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+eN+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");L("\\hspace","\\@ifstar\\@hspacer\\@hspace");L("\\@hspace","\\hskip #1\\relax");L("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");L("\\ordinarycolon",":");L("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");L("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');L("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');L("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');L("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');L("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');L("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');L("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');L("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');L("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');L("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');L("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');L("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');L("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');L("∷","\\dblcolon");L("∹","\\eqcolon");L("≔","\\coloneqq");L("≕","\\eqqcolon");L("⩴","\\Coloneqq");L("\\ratio","\\vcentcolon");L("\\coloncolon","\\dblcolon");L("\\colonequals","\\coloneqq");L("\\coloncolonequals","\\Coloneqq");L("\\equalscolon","\\eqqcolon");L("\\equalscoloncolon","\\Eqqcolon");L("\\colonminus","\\coloneq");L("\\coloncolonminus","\\Coloneq");L("\\minuscolon","\\eqcolon");L("\\minuscoloncolon","\\Eqcolon");L("\\coloncolonapprox","\\Colonapprox");L("\\coloncolonsim","\\Colonsim");L("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");L("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");L("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");L("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");L("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}");L("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");L("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");L("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");L("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");L("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");L("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");L("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");L("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");L("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}");L("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}");L("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}");L("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}");L("\\nleqq","\\html@mathml{\\@nleqq}{≰}");L("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}");L("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}");L("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}");L("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}");L("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}");L("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}");L("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}");L("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}");L("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}");L("\\imath","\\html@mathml{\\@imath}{ı}");L("\\jmath","\\html@mathml{\\@jmath}{ȷ}");L("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}");L("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}");L("⟦","\\llbracket");L("⟧","\\rrbracket");L("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}");L("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}");L("⦃","\\lBrace");L("⦄","\\rBrace");L("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}");L("⦵","\\minuso");L("\\darr","\\downarrow");L("\\dArr","\\Downarrow");L("\\Darr","\\Downarrow");L("\\lang","\\langle");L("\\rang","\\rangle");L("\\uarr","\\uparrow");L("\\uArr","\\Uparrow");L("\\Uarr","\\Uparrow");L("\\N","\\mathbb{N}");L("\\R","\\mathbb{R}");L("\\Z","\\mathbb{Z}");L("\\alef","\\aleph");L("\\alefsym","\\aleph");L("\\Alpha","\\mathrm{A}");L("\\Beta","\\mathrm{B}");L("\\bull","\\bullet");L("\\Chi","\\mathrm{X}");L("\\clubs","\\clubsuit");L("\\cnums","\\mathbb{C}");L("\\Complex","\\mathbb{C}");L("\\Dagger","\\ddagger");L("\\diamonds","\\diamondsuit");L("\\empty","\\emptyset");L("\\Epsilon","\\mathrm{E}");L("\\Eta","\\mathrm{H}");L("\\exist","\\exists");L("\\harr","\\leftrightarrow");L("\\hArr","\\Leftrightarrow");L("\\Harr","\\Leftrightarrow");L("\\hearts","\\heartsuit");L("\\image","\\Im");L("\\infin","\\infty");L("\\Iota","\\mathrm{I}");L("\\isin","\\in");L("\\Kappa","\\mathrm{K}");L("\\larr","\\leftarrow");L("\\lArr","\\Leftarrow");L("\\Larr","\\Leftarrow");L("\\lrarr","\\leftrightarrow");L("\\lrArr","\\Leftrightarrow");L("\\Lrarr","\\Leftrightarrow");L("\\Mu","\\mathrm{M}");L("\\natnums","\\mathbb{N}");L("\\Nu","\\mathrm{N}");L("\\Omicron","\\mathrm{O}");L("\\plusmn","\\pm");L("\\rarr","\\rightarrow");L("\\rArr","\\Rightarrow");L("\\Rarr","\\Rightarrow");L("\\real","\\Re");L("\\reals","\\mathbb{R}");L("\\Reals","\\mathbb{R}");L("\\Rho","\\mathrm{P}");L("\\sdot","\\cdot");L("\\sect","\\S");L("\\spades","\\spadesuit");L("\\sub","\\subset");L("\\sube","\\subseteq");L("\\supe","\\supseteq");L("\\Tau","\\mathrm{T}");L("\\thetasym","\\vartheta");L("\\weierp","\\wp");L("\\Zeta","\\mathrm{Z}");L("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");L("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");L("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");L("\\bra","\\mathinner{\\langle{#1}|}");L("\\ket","\\mathinner{|{#1}\\rangle}");L("\\braket","\\mathinner{\\langle{#1}\\rangle}");L("\\Bra","\\left\\langle#1\\right|");L("\\Ket","\\left|#1\\right\\rangle");var tN=e=>t=>{var n=t.consumeArg().tokens,r=t.consumeArg().tokens,i=t.consumeArg().tokens,a=t.consumeArg().tokens,o=t.macros.get("|"),s=t.macros.get("\\|");t.macros.beginGroup();var l=d=>f=>{e&&(f.macros.set("|",o),i.length&&f.macros.set("\\|",s));var h=d;if(!d&&i.length){var v=f.future();v.text==="|"&&(f.popToken(),h=!0)}return{tokens:h?i:r,numArgs:0}};t.macros.set("|",l(!1)),i.length&&t.macros.set("\\|",l(!0));var c=t.consumeArg().tokens,u=t.expandTokens([...a,...c,...n]);return t.macros.endGroup(),{tokens:u.reverse(),numArgs:0}};L("\\bra@ket",tN(!1));L("\\bra@set",tN(!0));L("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");L("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");L("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");L("\\angln","{\\angl n}");L("\\blue","\\textcolor{##6495ed}{#1}");L("\\orange","\\textcolor{##ffa500}{#1}");L("\\pink","\\textcolor{##ff00af}{#1}");L("\\red","\\textcolor{##df0030}{#1}");L("\\green","\\textcolor{##28ae7b}{#1}");L("\\gray","\\textcolor{gray}{#1}");L("\\purple","\\textcolor{##9d38bd}{#1}");L("\\blueA","\\textcolor{##ccfaff}{#1}");L("\\blueB","\\textcolor{##80f6ff}{#1}");L("\\blueC","\\textcolor{##63d9ea}{#1}");L("\\blueD","\\textcolor{##11accd}{#1}");L("\\blueE","\\textcolor{##0c7f99}{#1}");L("\\tealA","\\textcolor{##94fff5}{#1}");L("\\tealB","\\textcolor{##26edd5}{#1}");L("\\tealC","\\textcolor{##01d1c1}{#1}");L("\\tealD","\\textcolor{##01a995}{#1}");L("\\tealE","\\textcolor{##208170}{#1}");L("\\greenA","\\textcolor{##b6ffb0}{#1}");L("\\greenB","\\textcolor{##8af281}{#1}");L("\\greenC","\\textcolor{##74cf70}{#1}");L("\\greenD","\\textcolor{##1fab54}{#1}");L("\\greenE","\\textcolor{##0d923f}{#1}");L("\\goldA","\\textcolor{##ffd0a9}{#1}");L("\\goldB","\\textcolor{##ffbb71}{#1}");L("\\goldC","\\textcolor{##ff9c39}{#1}");L("\\goldD","\\textcolor{##e07d10}{#1}");L("\\goldE","\\textcolor{##a75a05}{#1}");L("\\redA","\\textcolor{##fca9a9}{#1}");L("\\redB","\\textcolor{##ff8482}{#1}");L("\\redC","\\textcolor{##f9685d}{#1}");L("\\redD","\\textcolor{##e84d39}{#1}");L("\\redE","\\textcolor{##bc2612}{#1}");L("\\maroonA","\\textcolor{##ffbde0}{#1}");L("\\maroonB","\\textcolor{##ff92c6}{#1}");L("\\maroonC","\\textcolor{##ed5fa6}{#1}");L("\\maroonD","\\textcolor{##ca337c}{#1}");L("\\maroonE","\\textcolor{##9e034e}{#1}");L("\\purpleA","\\textcolor{##ddd7ff}{#1}");L("\\purpleB","\\textcolor{##c6b9fc}{#1}");L("\\purpleC","\\textcolor{##aa87ff}{#1}");L("\\purpleD","\\textcolor{##7854ab}{#1}");L("\\purpleE","\\textcolor{##543b78}{#1}");L("\\mintA","\\textcolor{##f5f9e8}{#1}");L("\\mintB","\\textcolor{##edf2df}{#1}");L("\\mintC","\\textcolor{##e0e5cc}{#1}");L("\\grayA","\\textcolor{##f6f7f7}{#1}");L("\\grayB","\\textcolor{##f0f1f2}{#1}");L("\\grayC","\\textcolor{##e3e5e6}{#1}");L("\\grayD","\\textcolor{##d6d8da}{#1}");L("\\grayE","\\textcolor{##babec2}{#1}");L("\\grayF","\\textcolor{##888d93}{#1}");L("\\grayG","\\textcolor{##626569}{#1}");L("\\grayH","\\textcolor{##3b3e40}{#1}");L("\\grayI","\\textcolor{##21242c}{#1}");L("\\kaBlue","\\textcolor{##314453}{#1}");L("\\kaGreen","\\textcolor{##71B307}{#1}");var nN={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class Mse{constructor(t,n,r){this.settings=n,this.expansionCount=0,this.feed(t),this.macros=new Ise(Pse,n.macros),this.mode=r,this.stack=[]}feed(t){this.lexer=new U9(t,this.settings)}switchMode(t){this.mode=t}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(t){this.stack.push(t)}pushTokens(t){this.stack.push(...t)}scanArgument(t){var n,r,i;if(t){if(this.consumeSpaces(),this.future().text!=="[")return null;n=this.popToken(),{tokens:i,end:r}=this.consumeArg(["]"])}else({tokens:i,start:n,end:r}=this.consumeArg());return this.pushToken(new _r("EOF",r.loc)),this.pushTokens(i),new _r("",Zn.range(n,r))}consumeSpaces(){for(;;){var t=this.future();if(t.text===" ")this.stack.pop();else break}}consumeArg(t){var n=[],r=t&&t.length>0;r||this.consumeSpaces();var i=this.future(),a,o=0,s=0;do{if(a=this.popToken(),n.push(a),a.text==="{")++o;else if(a.text==="}"){if(--o,o===-1)throw new ke("Extra }",a)}else if(a.text==="EOF")throw new ke("Unexpected end of input in a macro argument, expected '"+(t&&r?t[s]:"}")+"'",a);if(t&&r)if((o===0||o===1&&t[s]==="{")&&a.text===t[s]){if(++s,s===t.length){n.splice(-s,s);break}}else s=0}while(o!==0||r);return i.text==="{"&&n[n.length-1].text==="}"&&(n.pop(),n.shift()),n.reverse(),{tokens:n,start:i,end:a}}consumeArgs(t,n){if(n){if(n.length!==t+1)throw new ke("The length of delimiters doesn't match the number of args!");for(var r=n[0],i=0;ithis.settings.maxExpand)throw new ke("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(t){var n=this.popToken(),r=n.text,i=n.noexpand?null:this._getExpansion(r);if(i==null||t&&i.unexpandable){if(t&&i==null&&r[0]==="\\"&&!this.isDefined(r))throw new ke("Undefined control sequence: "+r);return this.pushToken(n),!1}this.countExpansion(1);var a=i.tokens,o=this.consumeArgs(i.numArgs,i.delimiters);if(i.numArgs){a=a.slice();for(var s=a.length-1;s>=0;--s){var l=a[s];if(l.text==="#"){if(s===0)throw new ke("Incomplete placeholder at end of macro body",l);if(l=a[--s],l.text==="#")a.splice(s+1,1);else if(/^[1-9]$/.test(l.text))a.splice(s,2,...o[+l.text-1]);else throw new ke("Not a valid argument number",l)}}}return this.pushTokens(a),a.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var t=this.stack.pop();return t.treatAsRelax&&(t.text="\\relax"),t}}expandMacro(t){return this.macros.has(t)?this.expandTokens([new _r(t)]):void 0}expandTokens(t){var n=[],r=this.stack.length;for(this.pushTokens(t);this.stack.length>r;)if(this.expandOnce(!0)===!1){var i=this.stack.pop();i.treatAsRelax&&(i.noexpand=!1,i.treatAsRelax=!1),n.push(i)}return this.countExpansion(n.length),n}expandMacroAsText(t){var n=this.expandMacro(t);return n&&n.map(r=>r.text).join("")}_getExpansion(t){var n=this.macros.get(t);if(n==null)return n;if(t.length===1){var r=this.lexer.catcodes[t];if(r!=null&&r!==13)return}var i=typeof n=="function"?n(this):n;if(typeof i=="string"){var a=0;if(i.includes("#"))for(var o=i.replace(/##/g,"");o.includes("#"+(a+1));)++a;for(var s=new U9(i,this.settings),l=[],c=s.lex();c.text!=="EOF";)l.push(c),c=s.lex();l.reverse();var u={tokens:l,numArgs:a};return u}return i}isDefined(t){return this.macros.has(t)||uo.hasOwnProperty(t)||Nt.math.hasOwnProperty(t)||Nt.text.hasOwnProperty(t)||nN.hasOwnProperty(t)}isExpandable(t){var n=this.macros.get(t);return n!=null?typeof n=="string"||typeof n=="function"||!n.unexpandable:uo.hasOwnProperty(t)&&!uo[t].primitive}}var N9=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,gf=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9","ₐ":"a","ₑ":"e","ₕ":"h","ᵢ":"i","ⱼ":"j","ₖ":"k","ₗ":"l","ₘ":"m","ₙ":"n","ₒ":"o","ₚ":"p","ᵣ":"r","ₛ":"s","ₜ":"t","ᵤ":"u","ᵥ":"v","ₓ":"x","ᵦ":"β","ᵧ":"γ","ᵨ":"ρ","ᵩ":"ϕ","ᵪ":"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9","ᴬ":"A","ᴮ":"B","ᴰ":"D","ᴱ":"E","ᴳ":"G","ᴴ":"H","ᴵ":"I","ᴶ":"J","ᴷ":"K","ᴸ":"L","ᴹ":"M","ᴺ":"N","ᴼ":"O","ᴾ":"P","ᴿ":"R","ᵀ":"T","ᵁ":"U","ⱽ":"V","ᵂ":"W","ᵃ":"a","ᵇ":"b","ᶜ":"c","ᵈ":"d","ᵉ":"e","ᶠ":"f","ᵍ":"g",ʰ:"h","ⁱ":"i",ʲ:"j","ᵏ":"k",ˡ:"l","ᵐ":"m",ⁿ:"n","ᵒ":"o","ᵖ":"p",ʳ:"r",ˢ:"s","ᵗ":"t","ᵘ":"u","ᵛ":"v",ʷ:"w",ˣ:"x",ʸ:"y","ᶻ":"z","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),Dv={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},O9={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class jm{constructor(t,n){this.mode="math",this.gullet=new Mse(t,n,this.mode),this.settings=n,this.leftrightDepth=0,this.nextToken=null}expect(t,n){if(n===void 0&&(n=!0),this.fetch().text!==t)throw new ke("Expected '"+t+"', got '"+this.fetch().text+"'",this.fetch());n&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(t){this.mode=t,this.gullet.switchMode(t)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var t=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),t}finally{this.gullet.endGroups()}}subparse(t){var n=this.nextToken;this.consume(),this.gullet.pushToken(new _r("}")),this.gullet.pushTokens(t);var r=this.parseExpression(!1);return this.expect("}"),this.nextToken=n,r}parseExpression(t,n){for(var r=[];;){this.mode==="math"&&this.consumeSpaces();var i=this.fetch();if(jm.endOfExpression.has(i.text)||n&&i.text===n||t&&uo[i.text]&&uo[i.text].infix)break;var a=this.parseAtom(n);if(a){if(a.type==="internal")continue}else break;r.push(a)}return this.mode==="text"&&this.formLigatures(r),this.handleInfixNodes(r)}handleInfixNodes(t){for(var n=-1,r,i=0;i=128)this.settings.strict&&(cR(n.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+n[0]+'" used in math mode',t):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+n[0]+'"'+(" ("+n.charCodeAt(0)+")"),t)),o={type:"textord",mode:"text",loc:Zn.range(t),text:n};else return null;if(this.consume(),a)for(var d=0;dc&&(c=u):u&&(c!==void 0&&c>-1&&l.push(` +`.repeat(c)||" "),c=-1,l.push(u))}return l.join("")}function cN(e,t,n){return e.type==="element"?mle(e,t,n):e.type==="text"?n.whitespace==="normal"?uN(e,n):gle(e):[]}function mle(e,t,n){const r=dN(e,n),i=e.children||[];let a=-1,o=[];if(fle(e))return o;let s,l;for(Fy(e)||$9(e)&&j9(t,e,$9)?l=` +`:hle(e)?(s=2,l=2):lN(e)&&(s=1,l=1);++a`https://momxyrzmibxccqkmqbay.supabase.co/functions/v1/${e}`;async function Tle(e){const{data:{session:t}}=await rt.auth.getSession(),n=t==null?void 0:t.access_token;if(!n)throw new Error("Not authenticated");const r=await fetch(_le("generate_podcast"),{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${n}`},body:JSON.stringify({document_id:e})});if(!r.ok){if(r.status===429)throw new Error("Rate limit exceeded — try again shortly.");if(r.status===402)throw new Error("Out of AI credits — add funds in Settings → Workspace → Usage.");const i=await r.text();throw new Error(i||`Podcast generation failed (${r.status})`)}return await r.json()}function Ele(e){const t=[...e];for(let n=t.length-1;n>0;n--){const r=Math.floor(Math.random()*(n+1));[t[n],t[r]]=[t[r],t[n]]}return t}function Sle({cards:e}){const[t,n]=R.useState(()=>e.map((d,f)=>f)),[r,i]=R.useState(0),[a,o]=R.useState(!1),s=R.useMemo(()=>t.map(d=>e[d]).filter(Boolean),[t,e]),l=s.length,c=s[r],u=d=>{o(!1),i(f=>Math.max(0,Math.min(l-1,f+d)))};return c?E.jsxs("div",{className:"space-y-4",children:[E.jsxs("div",{className:"flex items-center justify-between",children:[E.jsxs(co,{variant:"outline",className:"text-xs",children:[r+1," / ",l]}),E.jsxs("div",{className:"flex gap-2",children:[E.jsxs(ct,{variant:"outline",size:"sm",onClick:()=>{n(Ele(t)),i(0),o(!1)},children:[E.jsx(xj,{className:"h-3.5 w-3.5 mr-1.5"})," Shuffle"]}),E.jsxs(ct,{variant:"outline",size:"sm",onClick:()=>{n(e.map((d,f)=>f)),i(0),o(!1)},children:[E.jsx(yT,{className:"h-3.5 w-3.5 mr-1.5"})," Reset"]})]})]}),E.jsx("div",{className:"relative w-full h-72 sm:h-80 cursor-pointer select-none",style:{perspective:"1200px"},onClick:()=>o(d=>!d),role:"button","aria-label":"Flip card",children:E.jsxs("div",{className:"absolute inset-0 transition-transform duration-500",style:{transformStyle:"preserve-3d",transform:a?"rotateY(180deg)":"rotateY(0deg)"},children:[E.jsxs("div",{className:"absolute inset-0 rounded-xl border border-border bg-card p-6 sm:p-8 flex flex-col items-center justify-center text-center shadow-sm",style:{backfaceVisibility:"hidden"},children:[E.jsx(co,{variant:"secondary",className:"mb-4 text-[10px] uppercase tracking-wide",children:"Question"}),E.jsx("p",{className:"text-lg sm:text-xl font-medium leading-relaxed",children:c.front}),E.jsx("p",{className:"absolute bottom-3 text-xs text-muted-foreground",children:"Tap to reveal"})]}),E.jsxs("div",{className:"absolute inset-0 rounded-xl border border-primary/30 bg-card p-6 sm:p-8 flex flex-col items-center justify-center text-center shadow-sm",style:{backfaceVisibility:"hidden",transform:"rotateY(180deg)"},children:[E.jsx(co,{className:"mb-4 text-[10px] uppercase tracking-wide bg-primary/20 text-primary border-primary/30",children:"Answer"}),E.jsx("p",{className:"text-base sm:text-lg leading-relaxed",children:c.back})]})]})}),E.jsxs("div",{className:"flex items-center justify-between",children:[E.jsxs(ct,{variant:"outline",onClick:()=>u(-1),disabled:r===0,children:[E.jsx(hT,{className:"h-4 w-4 mr-1"})," Prev"]}),E.jsx("div",{className:"flex-1 mx-4",children:E.jsx("div",{className:"h-1 rounded-full bg-muted overflow-hidden",children:E.jsx("div",{className:"h-full bg-primary transition-all",style:{width:`${(r+1)/l*100}%`}})})}),E.jsxs(ct,{variant:"outline",onClick:()=>u(1),disabled:r===l-1,children:["Next ",E.jsx(fj,{className:"h-4 w-4 ml-1"})]})]})]}):null}function q9(e){return e.toLowerCase().replace(/[^\p{L}\p{N}]+/gu," ").trim()}function _v(e,t,n){if(!e)return!1;if(n==="short_answer"){const r=q9(e),i=q9(t);return!r||!i?!1:r===i||r.includes(i)||i.includes(r)}return e===t}function Cle({quiz:e}){const{user:t}=Ls(),{toast:n}=Ms(),[r,i]=R.useState({}),[a,o]=R.useState(!1),[s,l]=R.useState(!1),c=e.questions.length,u=R.useMemo(()=>e.questions.reduce((v,p)=>v+(_v(r[p.id]??"",p.correct,p.type)?1:0),0),[r,e.questions]),d=e.questions.every(v=>(r[v.id]??"").trim().length>0),f=async()=>{if(o(!0),!!t){l(!0);try{const v=e.questions.map(y=>({question_id:y.id,answer:r[y.id]??"",correct:_v(r[y.id]??"",y.correct,y.type)})),{error:p}=await rt.from("quiz_attempts").insert({user_id:t.id,quiz_id:e.id,answers:v,score:u,total:c});if(p)throw p;n({title:"Attempt saved",description:`Scored ${u} / ${c}`})}catch(v){n({title:"Could not save attempt",description:v.message,variant:"destructive"})}finally{l(!1)}}},h=()=>{i({}),o(!1)};return E.jsxs("div",{className:"space-y-5",children:[a&&E.jsxs("div",{className:"rounded-xl border border-border bg-card p-5 flex items-center justify-between",children:[E.jsxs("div",{children:[E.jsx("div",{className:"text-xs uppercase tracking-wide text-muted-foreground",children:"Your score"}),E.jsxs("div",{className:"text-2xl font-semibold",children:[u," ",E.jsxs("span",{className:"text-muted-foreground text-base font-normal",children:["/ ",c]})]})]}),E.jsxs(ct,{variant:"outline",onClick:h,children:[E.jsx(yT,{className:"h-4 w-4 mr-2"})," Retry"]})]}),e.questions.map((v,p)=>{const y=r[v.id]??"",m=_v(y,v.correct,v.type);return E.jsxs("div",{className:ot("p-5 rounded-xl border bg-card transition-colors",a?m?"border-emerald-500/40":"border-destructive/40":"border-border"),children:[E.jsxs("div",{className:"flex items-start gap-2 mb-3",children:[E.jsx(co,{variant:"outline",className:"mt-0.5 text-[10px]",children:p+1}),E.jsxs("div",{className:"flex-1",children:[E.jsx("div",{className:"font-medium leading-relaxed",children:v.question}),E.jsx("div",{className:"text-[10px] uppercase tracking-wide text-muted-foreground mt-1",children:v.type==="mcq"?"Multiple choice":v.type==="true_false"?"True / False":"Short answer"})]}),a&&(m?E.jsx(mj,{className:"h-5 w-5 text-emerald-500 shrink-0"}):E.jsx(gj,{className:"h-5 w-5 text-destructive shrink-0"}))]}),v.type==="mcq"&&v.choices&&E.jsx("div",{className:"space-y-2",children:v.choices.map((g,b)=>{const x=y===g,D=g===v.correct;return E.jsx("button",{type:"button",onClick:()=>!a&&i(w=>({...w,[v.id]:g})),disabled:a,className:ot("w-full text-left p-3 rounded-lg border transition-colors text-sm",!a&&"hover:border-primary/50 hover:bg-muted/50",x&&!a&&"border-primary bg-primary/10",a&&D&&"border-emerald-500/50 bg-emerald-500/10",a&&x&&!D&&"border-destructive/50 bg-destructive/10",!a&&!x&&"border-border"),children:g},b)})}),v.type==="true_false"&&E.jsx("div",{className:"grid grid-cols-2 gap-2",children:["True","False"].map(g=>{const b=y===g,x=g===v.correct;return E.jsx("button",{type:"button",onClick:()=>!a&&i(D=>({...D,[v.id]:g})),disabled:a,className:ot("p-3 rounded-lg border transition-colors text-sm font-medium",!a&&"hover:border-primary/50 hover:bg-muted/50",b&&!a&&"border-primary bg-primary/10",a&&x&&"border-emerald-500/50 bg-emerald-500/10",a&&b&&!x&&"border-destructive/50 bg-destructive/10",!a&&!b&&"border-border"),children:g},g)})}),v.type==="short_answer"&&E.jsxs("div",{className:"space-y-1.5",children:[E.jsx(wo,{htmlFor:`sa-${v.id}`,className:"sr-only",children:"Your answer"}),E.jsx(ws,{id:`sa-${v.id}`,value:y,onChange:g=>i(b=>({...b,[v.id]:g.target.value})),disabled:a,placeholder:"Type your answer…"})]}),a&&E.jsxs("div",{className:"mt-3 text-sm space-y-1",children:[!m&&E.jsxs("div",{children:[E.jsx("span",{className:"text-muted-foreground",children:"Correct answer: "}),E.jsx("span",{className:"font-medium",children:v.correct})]}),v.explanation&&E.jsx("div",{className:"text-muted-foreground",children:v.explanation})]})]},v.id)}),!a&&E.jsxs("div",{className:"sticky bottom-0 bg-background/80 backdrop-blur py-3 -mx-1 px-1",children:[E.jsxs(ct,{onClick:f,disabled:!d||s,className:"w-full",children:[s&&E.jsx(qt,{className:"h-4 w-4 mr-2 animate-spin"}),"Submit answers"]}),!d&&E.jsxs("p",{className:"text-xs text-muted-foreground text-center mt-2",children:["Answer all ",c," questions to submit."]})]})]})}var Lm="Popover",[fN,sce]=Bo(Lm,[xp]),uh=xp(),[Ale,Vo]=fN(Lm),pN=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:i,onOpenChange:a,modal:o=!1}=e,s=uh(t),l=R.useRef(null),[c,u]=R.useState(!1),[d,f]=Wd({prop:r,defaultProp:i??!1,onChange:a,caller:Lm});return E.jsx(Ez,{...s,children:E.jsx(Ale,{scope:t,contentId:Ml(),triggerRef:l,open:d,onOpenChange:f,onOpenToggle:R.useCallback(()=>f(h=>!h),[f]),hasCustomAnchor:c,onCustomAnchorAdd:R.useCallback(()=>u(!0),[]),onCustomAnchorRemove:R.useCallback(()=>u(!1),[]),modal:o,children:n})})};pN.displayName=Lm;var mN="PopoverAnchor",Ule=R.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,i=Vo(mN,n),a=uh(n),{onCustomAnchorAdd:o,onCustomAnchorRemove:s}=i;return R.useEffect(()=>(o(),()=>s()),[o,s]),E.jsx(Xb,{...a,...r,ref:t})});Ule.displayName=mN;var gN="PopoverTrigger",vN=R.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,i=Vo(gN,n),a=uh(n),o=dn(t,i.triggerRef),s=E.jsx(mt.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":DN(i.open),...r,ref:o,onClick:Je(e.onClick,i.onOpenToggle)});return i.hasCustomAnchor?s:E.jsx(Xb,{asChild:!0,...a,children:s})});vN.displayName=gN;var hw="PopoverPortal",[Fle,Rle]=fN(hw,{forceMount:void 0}),yN=e=>{const{__scopePopover:t,forceMount:n,children:r,container:i}=e,a=Vo(hw,t);return E.jsx(Fle,{scope:t,forceMount:n,children:E.jsx(Ea,{present:n||a.open,children:E.jsx(pp,{asChild:!0,container:i,children:r})})})};yN.displayName=hw;var kc="PopoverContent",bN=R.forwardRef((e,t)=>{const n=Rle(kc,e.__scopePopover),{forceMount:r=n.forceMount,...i}=e,a=Vo(kc,e.__scopePopover);return E.jsx(Ea,{present:r||a.open,children:a.modal?E.jsx(Ole,{...i,ref:t}):E.jsx(Ile,{...i,ref:t})})});bN.displayName=kc;var Nle=lc("PopoverContent.RemoveScroll"),Ole=R.forwardRef((e,t)=>{const n=Vo(kc,e.__scopePopover),r=R.useRef(null),i=dn(t,r),a=R.useRef(!1);return R.useEffect(()=>{const o=r.current;if(o)return jE(o)},[]),E.jsx(ex,{as:Nle,allowPinchZoom:!0,children:E.jsx(xN,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Je(e.onCloseAutoFocus,o=>{var s;o.preventDefault(),a.current||(s=n.triggerRef.current)==null||s.focus()}),onPointerDownOutside:Je(e.onPointerDownOutside,o=>{const s=o.detail.originalEvent,l=s.button===0&&s.ctrlKey===!0,c=s.button===2||l;a.current=c},{checkForDefaultPrevented:!1}),onFocusOutside:Je(e.onFocusOutside,o=>o.preventDefault(),{checkForDefaultPrevented:!1})})})}),Ile=R.forwardRef((e,t)=>{const n=Vo(kc,e.__scopePopover),r=R.useRef(!1),i=R.useRef(!1);return E.jsx(xN,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:a=>{var o,s;(o=e.onCloseAutoFocus)==null||o.call(e,a),a.defaultPrevented||(r.current||(s=n.triggerRef.current)==null||s.focus(),a.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:a=>{var l,c;(l=e.onInteractOutside)==null||l.call(e,a),a.defaultPrevented||(r.current=!0,a.detail.originalEvent.type==="pointerdown"&&(i.current=!0));const o=a.target;((c=n.triggerRef.current)==null?void 0:c.contains(o))&&a.preventDefault(),a.detail.originalEvent.type==="focusin"&&i.current&&a.preventDefault()}})}),xN=R.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:a,disableOutsidePointerEvents:o,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:c,onInteractOutside:u,...d}=e,f=Vo(kc,n),h=uh(n);return FE(),E.jsx(Zb,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:a,children:E.jsx(zd,{asChild:!0,disableOutsidePointerEvents:o,onInteractOutside:u,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:c,onDismiss:()=>f.onOpenChange(!1),children:E.jsx(JT,{"data-state":DN(f.open),role:"dialog",id:f.contentId,...h,...d,ref:t,style:{...d.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),wN="PopoverClose",Ple=R.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,i=Vo(wN,n);return E.jsx(mt.button,{type:"button",...r,ref:t,onClick:Je(e.onClick,()=>i.onOpenChange(!1))})});Ple.displayName=wN;var Ble="PopoverArrow",Mle=R.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,i=uh(n);return E.jsx(QT,{...i,...r,ref:t})});Mle.displayName=Ble;function DN(e){return e?"open":"closed"}var jle=pN,Lle=vN,zle=yN,kN=bN;const Wle=jle,$le=Lle,_N=R.forwardRef(({className:e,align:t="center",sideOffset:n=4,...r},i)=>E.jsx(zle,{children:E.jsx(kN,{ref:i,align:t,sideOffset:n,className:ot("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...r})}));_N.displayName=kN.displayName;function qle({documentId:e,noteReady:t}){const{toast:n}=Ms(),[r,i]=R.useState([]),[a,o]=R.useState(""),[s,l]=R.useState(!1),[c,u]=R.useState(null),[d,f]=R.useState(!1),h=R.useRef(null),v=R.useRef(null);R.useEffect(()=>{let m=!0;return(async()=>{const[{data:g},{count:b}]=await Promise.all([rt.from("chat_messages").select("id,role,content,created_at").eq("document_id",e).order("created_at"),rt.from("document_chunks").select("id",{count:"exact",head:!0}).eq("document_id",e)]);m&&(i((g??[]).map(x=>({id:x.id,role:x.role,content:x.content}))),u(b??0))})(),()=>{m=!1}},[e]),R.useEffect(()=>{t&&c!==null&&(c>0||v.current!==e&&(d||(v.current=e,p())))},[t,c,e]),R.useEffect(()=>{var m;(m=h.current)==null||m.scrollTo({top:h.current.scrollHeight,behavior:"smooth"})},[r]);const p=async()=>{f(!0);try{const m=await TG(e);u(m.chunks??0),m.cached||n({title:"Document indexed",description:`${m.chunks} passages ready for chat.`})}catch(m){const g=m instanceof Error?m.message:String(m);n({title:"Indexing failed",description:g,variant:"destructive"})}finally{f(!1)}},y=async()=>{const m=a.trim();if(!m||s)return;o("");const g={id:crypto.randomUUID(),role:"user",content:m},b=crypto.randomUUID(),x={id:b,role:"assistant",content:"",pending:!0};i(D=>[...D,g,x]),l(!0);try{await EG({documentId:e,message:m,onCitations:D=>{i(w=>w.map(_=>_.id===b?{..._,citations:D}:_))},onDelta:D=>{i(w=>w.map(_=>_.id===b?{..._,content:_.content+D,pending:!1}:_))}})}catch(D){const w=D instanceof Error?D.message:String(D);i(_=>_.map(N=>N.id===b?{...N,content:`_Error: ${w}_`,pending:!1}:N)),n({title:"Chat failed",description:w,variant:"destructive"})}finally{l(!1)}};return t?c===null?E.jsx("div",{className:"flex items-center justify-center py-16",children:E.jsx(qt,{className:"h-5 w-5 animate-spin text-muted-foreground"})}):c===0?E.jsxs("div",{className:"border border-dashed border-border rounded-xl p-10 text-center space-y-3",children:[E.jsx("h3",{className:"font-medium",children:"Index this document for chat"}),E.jsx("p",{className:"text-sm text-muted-foreground",children:"We'll split it into searchable passages so the assistant can cite the source."}),E.jsxs(ct,{onClick:p,disabled:d,children:[d?E.jsx(qt,{className:"h-4 w-4 mr-2 animate-spin"}):E.jsx(js,{className:"h-4 w-4 mr-2"}),"Index for chat"]})]}):E.jsxs("div",{className:"flex flex-col h-[calc(100vh-220px)] min-h-[420px]",children:[E.jsxs("div",{ref:h,className:"flex-1 overflow-y-auto space-y-4 pr-2",children:[r.length===0&&E.jsx("div",{className:"text-center text-sm text-muted-foreground py-12",children:"Ask anything about this document — answers will cite the source passages."}),r.map(m=>E.jsx(Hle,{message:m},m.id))]}),E.jsxs("div",{className:"border-t border-border pt-3 mt-3",children:[E.jsxs("div",{className:"flex items-end gap-2",children:[E.jsx(ox,{value:a,onChange:m=>o(m.target.value),onKeyDown:m=>{m.key==="Enter"&&!m.shiftKey&&(m.preventDefault(),y())},placeholder:"Ask a question about this document…",rows:2,className:"resize-none",disabled:s}),E.jsx(ct,{onClick:y,disabled:s||!a.trim(),size:"icon",className:"h-10 w-10 shrink-0",children:s?E.jsx(qt,{className:"h-4 w-4 animate-spin"}):E.jsx(bj,{className:"h-4 w-4"})})]}),E.jsxs("p",{className:"text-[11px] text-muted-foreground mt-2 flex items-center gap-1",children:[E.jsx(hj,{className:"h-3 w-3"})," Grounded in ",c," indexed passages."]})]})]}):E.jsxs("div",{className:"border border-dashed border-border rounded-xl p-10 text-center",children:[E.jsx("h3",{className:"font-medium mb-1",children:"Chat unavailable"}),E.jsx("p",{className:"text-sm text-muted-foreground",children:"Generate notes first — chat needs the document to be processed."})]})}function Hle({message:e}){const t=e.role==="user";return E.jsx("div",{className:`flex ${t?"justify-end":"justify-start"}`,children:E.jsxs("div",{className:`max-w-[85%] rounded-2xl px-4 py-2.5 ${t?"bg-primary text-primary-foreground":"bg-muted text-foreground border border-border"}`,children:[e.pending&&!e.content?E.jsxs("div",{className:"flex items-center gap-2 text-xs text-muted-foreground",children:[E.jsx(qt,{className:"h-3 w-3 animate-spin"})," Thinking…"]}):t?E.jsx("p",{className:"text-sm whitespace-pre-wrap",children:e.content}):E.jsx("div",{className:"text-sm",children:E.jsx(Vle,{text:e.content,citations:e.citations??[]})}),!t&&e.citations&&e.citations.length>0&&E.jsx("div",{className:"mt-2 pt-2 border-t border-border/50 flex flex-wrap gap-1.5",children:e.citations.map(n=>E.jsx(Gle,{citation:n},n.n))})]})})}function Vle({text:e,citations:t}){const n=new Map(t.map(i=>[i.n,i])),r=e.split(/(\[\d+\])/g);return E.jsx("div",{className:"prose prose-sm prose-invert max-w-none",children:E.jsx(hN,{children:r.map(i=>{const a=i.match(/^\[(\d+)\]$/);return a&&n.has(Number(a[1]))?` **[${a[1]}]**`:i}).join("")})})}function Gle({citation:e}){return E.jsxs(Wle,{children:[E.jsx($le,{asChild:!0,children:E.jsxs("button",{type:"button",className:"inline-flex items-center gap-1 text-[11px] px-2 py-0.5 rounded-full bg-background border border-border hover:bg-accent hover:text-accent-foreground transition-colors",children:[E.jsx(pj,{className:"h-2.5 w-2.5"}),"[",e.n,"] · ",(e.similarity*100).toFixed(0),"%"]})}),E.jsxs(_N,{className:"w-80 text-xs max-h-64 overflow-y-auto",children:[E.jsxs("div",{className:"font-medium mb-1.5 text-muted-foreground",children:["Passage #",e.order_index+1]}),E.jsx("p",{className:"whitespace-pre-wrap leading-relaxed",children:e.text})]})]})}function Xle(){var V;const{docId:e}=N_(),t=Ac(),{user:n}=Ls(),{toast:r}=Ms(),i=R_(),{documents:a,upsertDocument:o,removeDocument:s,notes:l,flashcards:c,quiz:u,podcast:d,setNote:f,setFlashcards:h,setQuiz:v,setPodcast:p}=V2(),y=R.useMemo(()=>a.find(U=>U.id===e),[a,e]),[m,g]=R.useState(!0),[b,x]=R.useState(!1),D=R.useRef(null);R.useEffect(()=>{if(!e||!n)return;let U=!0;g(!0),(async()=>{const{data:ce}=await rt.from("documents").select("id,title,source_type,status,error_code,created_at").eq("id",e).maybeSingle();ce&&U&&o(ce);const[me,fe,Se,Ae]=await Promise.all([rt.from("notes").select("id,document_id,markdown").eq("document_id",e).maybeSingle(),rt.from("flashcards").select("id,document_id,front,back,order_index").eq("document_id",e).order("order_index"),rt.from("quizzes").select("id,document_id,title").eq("document_id",e).maybeSingle(),rt.from("podcasts").select("id,document_id,script,audio_url,status").eq("document_id",e).maybeSingle()]);if(U){if(f(e,me.data??null),h(e,fe.data??[]),Se.data){const Pe=await rt.from("quiz_questions").select("id,quiz_id,question,type,choices,correct,explanation,order_index").eq("quiz_id",Se.data.id).order("order_index");v(e,{...Se.data,questions:Pe.data??[]})}else v(e,null);p(e,Ae.data??null),g(!1)}})();const ne=rt.channel(`doc-${e}`).on("postgres_changes",{event:"UPDATE",schema:"public",table:"documents",filter:`id=eq.${e}`},ce=>o(ce.new)).on("postgres_changes",{event:"*",schema:"public",table:"podcasts",filter:`document_id=eq.${e}`},ce=>p(e,ce.new??null)).subscribe();return()=>{U=!1,rt.removeChannel(ne)}},[e,n,o,f,h,v,p]);const w=e?l[e]??null:null,_=e?(V=a.find(U=>U.id===e))==null?void 0:V.status:void 0,N=async()=>{if(!(!e||b)){x(!0),f(e,{id:"draft",document_id:e,markdown:""});try{const U=await CG({documentId:e,onDelta:ce=>{var fe;const me=(((fe=V2.getState().notes[e])==null?void 0:fe.markdown)??"")+ce;f(e,{id:"draft",document_id:e,markdown:me})}}),{data:ne}=await rt.from("notes").select("id,document_id,markdown").eq("document_id",e).maybeSingle();f(e,ne??{id:"draft",document_id:e,markdown:U})}catch(U){r({title:"Notes generation failed",description:U.message,variant:"destructive"})}finally{x(!1)}}};R.useEffect(()=>{e&&_==="ready"&&!(w!=null&&w.markdown)&&D.current!==e&&!b&&(D.current=e,N())},[e,_,w==null?void 0:w.markdown]);const[O,B]=R.useState(!1),[K,A]=R.useState(!1),q=async()=>{if(!(!e||O)){B(!0);try{await SG(e);const[{data:U},{data:ne}]=await Promise.all([rt.from("flashcards").select("id,document_id,front,back,order_index").eq("document_id",e).order("order_index"),rt.from("quizzes").select("id,document_id,title").eq("document_id",e).maybeSingle()]);if(h(e,U??[]),ne){const{data:ce}=await rt.from("quiz_questions").select("id,quiz_id,question,type,choices,correct,explanation,order_index").eq("quiz_id",ne.id).order("order_index");v(e,{...ne,questions:ce??[]})}else v(e,null);r({title:"Flashcards & quiz ready"})}catch(U){r({title:"Generation failed",description:U.message,variant:"destructive"})}finally{B(!1)}}},T=async()=>{if(!e)return;const{data:U}=await rt.from("podcasts").select("id,document_id,script,audio_url,status").eq("document_id",e).maybeSingle();p(e,U??null)},X=async()=>{if(!(!e||K)){A(!0),p(e,{id:(F==null?void 0:F.id)??"draft",document_id:e,script:(F==null?void 0:F.script)??null,audio_url:null,status:"generating"});try{await Tle(e),await T(),r({title:"Podcast ready",description:"Your audio recap is ready to play."})}catch(U){await T(),r({title:"Podcast generation failed",description:U.message,variant:"destructive"})}finally{A(!1)}}},j=async()=>{if(!e||!confirm("Delete this document and all its assets?"))return;const{error:U}=await rt.from("documents").delete().eq("id",e);if(U){r({title:"Delete failed",description:U.message,variant:"destructive"});return}s(e),t("/app")};if(!y)return E.jsx("div",{className:"h-full flex items-center justify-center",children:m?E.jsx(qt,{className:"h-5 w-5 animate-spin text-muted-foreground"}):E.jsxs("div",{className:"text-center",children:[E.jsx("p",{className:"text-muted-foreground mb-4",children:"Document not found."}),E.jsxs(ct,{variant:"outline",onClick:()=>t("/app"),children:[E.jsx(hT,{className:"h-4 w-4 mr-1"})," Back"]})]})});const z=l[y.id]??null,P=c[y.id]??[],M=u[y.id]??null,F=d[y.id]??null,$=y.status==="pending"||y.status==="processing";return E.jsxs("div",{className:"h-full flex flex-col",children:[E.jsxs("div",{className:"border-b border-border px-4 sm:px-6 py-3 sm:py-4 flex items-start justify-between gap-3",children:[E.jsxs("div",{className:"flex items-start gap-2 min-w-0 flex-1",children:[(i==null?void 0:i.openMobileNav)&&E.jsx(ct,{variant:"ghost",size:"icon",className:"md:hidden -ml-2 mt-0.5 shrink-0",onClick:i.openMobileNav,"aria-label":"Open navigation",children:E.jsx(mT,{className:"h-5 w-5"})}),E.jsxs("div",{className:"min-w-0",children:[E.jsxs("div",{className:"flex items-center gap-2 mb-1 flex-wrap",children:[E.jsx(co,{variant:"outline",className:"text-[10px] uppercase tracking-wide",children:y.source_type}),y.status==="ready"&&E.jsx(co,{variant:"secondary",className:"text-[10px]",children:"Ready"}),$&&E.jsx(co,{className:"text-[10px] bg-primary/20 text-primary border-primary/30",children:"Processing…"}),y.status==="failed"&&E.jsx(co,{variant:"destructive",className:"text-[10px]",children:y.error_code??"Failed"})]}),E.jsx("h1",{className:"text-lg sm:text-xl font-semibold tracking-tight truncate",children:y.title})]})]}),E.jsx(ct,{variant:"ghost",size:"icon",onClick:j,title:"Delete",className:"shrink-0",children:E.jsx(wj,{className:"h-4 w-4"})})]}),E.jsxs(CS,{defaultValue:"notes",className:"flex-1 flex flex-col overflow-hidden",children:[E.jsx("div",{className:"border-b border-border px-2 sm:px-6 overflow-x-auto",children:E.jsxs(ax,{className:"bg-transparent h-11 p-0 gap-1",children:[E.jsxs(sa,{value:"notes",className:"data-[state=active]:bg-muted",children:[E.jsx(Hd,{className:"h-3.5 w-3.5 mr-1.5"})," Notes"]}),E.jsxs(sa,{value:"flashcards",className:"data-[state=active]:bg-muted",children:[E.jsx(fT,{className:"h-3.5 w-3.5 mr-1.5"})," Flashcards"]}),E.jsxs(sa,{value:"quiz",className:"data-[state=active]:bg-muted",children:[E.jsx(pT,{className:"h-3.5 w-3.5 mr-1.5"})," Quiz"]}),E.jsxs(sa,{value:"podcast",className:"data-[state=active]:bg-muted",children:[E.jsx(Ff,{className:"h-3.5 w-3.5 mr-1.5"})," Podcast"]}),E.jsxs(sa,{value:"chat",className:"data-[state=active]:bg-muted",children:[E.jsx(gT,{className:"h-3.5 w-3.5 mr-1.5"})," Chat"]})]})}),E.jsxs("div",{className:"flex-1 overflow-y-auto",children:[E.jsx(la,{value:"notes",className:"m-0 p-4 sm:p-6 max-w-3xl mx-auto animate-fade-in",children:z!=null&&z.markdown?E.jsxs("div",{className:"space-y-4",children:[E.jsx(hN,{children:z.markdown}),b&&E.jsxs("div",{className:"flex items-center gap-2 text-xs text-muted-foreground",children:[E.jsx(qt,{className:"h-3.5 w-3.5 animate-spin"})," Generating…"]})]}):y.status==="ready"?E.jsxs("div",{className:"border border-dashed border-border rounded-xl p-10 text-center space-y-3",children:[E.jsx("h3",{className:"font-medium",children:"Ready to generate"}),E.jsx("p",{className:"text-sm text-muted-foreground",children:"Click below to stream AI-generated study notes."}),E.jsxs(ct,{onClick:N,disabled:b,children:[b?E.jsx(qt,{className:"h-4 w-4 mr-2 animate-spin"}):E.jsx(js,{className:"h-4 w-4 mr-2"}),"Generate notes"]})]}):$?E.jsx(bu,{title:"Extracting content…",desc:"We're parsing your source. Notes will appear here automatically."}):y.status==="failed"?E.jsx(bu,{title:"Ingestion failed",desc:y.error_code??"Something went wrong while parsing the source."}):E.jsx(bu,{title:"No notes yet",desc:"Waiting for the source to be processed."})}),E.jsx(la,{value:"flashcards",className:"m-0 p-4 sm:p-6 max-w-3xl mx-auto animate-fade-in",children:P.length===0?E.jsx(H9,{kind:"flashcards",noteReady:!!(z!=null&&z.markdown),loading:O,onGenerate:q}):E.jsxs("div",{className:"space-y-4",children:[E.jsxs("div",{className:"flex items-center justify-between",children:[E.jsxs("h2",{className:"text-sm font-medium text-muted-foreground",children:[P.length," flashcards"]}),E.jsxs(ct,{variant:"ghost",size:"sm",onClick:q,disabled:O,children:[O?E.jsx(qt,{className:"h-3.5 w-3.5 mr-1.5 animate-spin"}):E.jsx(yg,{className:"h-3.5 w-3.5 mr-1.5"}),"Regenerate"]})]}),E.jsx(Sle,{cards:P})]})}),E.jsx(la,{value:"quiz",className:"m-0 p-4 sm:p-6 max-w-3xl mx-auto animate-fade-in",children:!M||M.questions.length===0?E.jsx(H9,{kind:"quiz",noteReady:!!(z!=null&&z.markdown),loading:O,onGenerate:q}):E.jsxs("div",{className:"space-y-4",children:[E.jsxs("div",{className:"flex items-center justify-between",children:[E.jsxs("h2",{className:"text-sm font-medium text-muted-foreground",children:[M.title," — ",M.questions.length," questions"]}),E.jsxs(ct,{variant:"ghost",size:"sm",onClick:q,disabled:O,children:[O?E.jsx(qt,{className:"h-3.5 w-3.5 mr-1.5 animate-spin"}):E.jsx(yg,{className:"h-3.5 w-3.5 mr-1.5"}),"Regenerate"]})]}),E.jsx(Cle,{quiz:M})]})}),E.jsx(la,{value:"podcast",className:"m-0 p-4 sm:p-6 max-w-3xl mx-auto animate-fade-in",children:z!=null&&z.markdown?F!=null&&F.audio_url?E.jsxs("div",{className:"space-y-4",children:[E.jsxs("div",{className:"flex items-center justify-between gap-3",children:[E.jsxs("div",{children:[E.jsx("h2",{className:"text-sm font-medium",children:"Audio summary ready"}),E.jsx("p",{className:"text-sm text-muted-foreground",children:"Listen now or regenerate it from your latest notes."})]}),E.jsxs(ct,{variant:"ghost",size:"sm",onClick:X,disabled:K,children:[K?E.jsx(qt,{className:"h-3.5 w-3.5 mr-1.5 animate-spin"}):E.jsx(yg,{className:"h-3.5 w-3.5 mr-1.5"}),"Regenerate"]})]}),E.jsx("audio",{controls:!0,src:F.audio_url,className:"w-full"}),F.script?E.jsxs("div",{className:"border border-border rounded-xl p-4 space-y-2",children:[E.jsx("h3",{className:"text-sm font-medium",children:"Script"}),E.jsx("pre",{className:"whitespace-pre-wrap font-sans text-sm text-muted-foreground",children:F.script})]}):null]}):(F==null?void 0:F.status)==="generating"||K?E.jsxs("div",{className:"border border-dashed border-border rounded-xl p-10 text-center space-y-3",children:[E.jsxs("div",{className:"flex items-center justify-center gap-2 text-sm text-muted-foreground",children:[E.jsx(qt,{className:"h-4 w-4 animate-spin"})," Generating podcast audio…"]}),E.jsx("p",{className:"text-sm text-muted-foreground",children:"This can take a minute depending on the script length."})]}):(F==null?void 0:F.status)==="failed"?E.jsxs("div",{className:"border border-dashed border-border rounded-xl p-10 text-center space-y-3",children:[E.jsx("h3",{className:"font-medium",children:"Podcast generation failed"}),E.jsx("p",{className:"text-sm text-muted-foreground",children:"Try again to rebuild the two-host audio version."}),E.jsxs(ct,{onClick:X,disabled:K,children:[K?E.jsx(qt,{className:"h-4 w-4 mr-2 animate-spin"}):E.jsx(Ff,{className:"h-4 w-4 mr-2"}),"Retry podcast"]})]}):E.jsxs("div",{className:"border border-dashed border-border rounded-xl p-10 text-center space-y-3",children:[E.jsx("h3",{className:"font-medium",children:"Generate podcast"}),E.jsx("p",{className:"text-sm text-muted-foreground",children:"Create a two-host audio recap from your generated notes."}),E.jsxs(ct,{onClick:X,disabled:K,children:[K?E.jsx(qt,{className:"h-4 w-4 mr-2 animate-spin"}):E.jsx(Ff,{className:"h-4 w-4 mr-2"}),"Generate podcast"]})]}):E.jsx(bu,{title:"No podcast yet",desc:"Generate notes first, then create a two-host audio recap here."})}),E.jsx(la,{value:"chat",className:"m-0 p-4 sm:p-6 max-w-3xl mx-auto animate-fade-in",children:E.jsx(qle,{documentId:y.id,noteReady:!!(z!=null&&z.markdown)})})]})]})]})}function bu({title:e,desc:t}){return E.jsxs("div",{className:"border border-dashed border-border rounded-xl p-10 text-center",children:[E.jsx("h3",{className:"font-medium mb-1",children:e}),E.jsx("p",{className:"text-sm text-muted-foreground",children:t})]})}function H9({kind:e,noteReady:t,loading:n,onGenerate:r}){return t?E.jsxs("div",{className:"border border-dashed border-border rounded-xl p-10 text-center space-y-3",children:[E.jsxs("h3",{className:"font-medium",children:["Generate ",e]}),E.jsxs("p",{className:"text-sm text-muted-foreground",children:["We'll use your notes to create ",e==="flashcards"?"study flashcards":"a multi-format quiz","."]}),E.jsxs(ct,{onClick:r,disabled:n,children:[n?E.jsx(qt,{className:"h-4 w-4 mr-2 animate-spin"}):E.jsx(js,{className:"h-4 w-4 mr-2"}),"Generate"]})]}):E.jsx(bu,{title:`No ${e} yet`,desc:"Generate notes first, then come back here."})}const Kle=()=>{const e=Bs();return R.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),E.jsx("div",{className:"flex min-h-screen items-center justify-center bg-muted",children:E.jsxs("div",{className:"text-center",children:[E.jsx("h1",{className:"mb-4 text-4xl font-bold",children:"404"}),E.jsx("p",{className:"mb-4 text-xl text-muted-foreground",children:"Oops! Page not found"}),E.jsx("a",{href:"/",className:"text-primary underline hover:text-primary/90",children:"Return to Home"})]})})},Yle=new AP,Jle=()=>E.jsx(FP,{client:Yle,children:E.jsxs(qz,{children:[E.jsx(iL,{}),E.jsx(dM,{}),E.jsx(UB,{children:E.jsx($q,{children:E.jsxs(kB,{children:[E.jsx(rs,{path:"/",element:E.jsx(Gq,{})}),E.jsx(rs,{path:"/auth",element:E.jsx(tH,{})}),E.jsxs(rs,{path:"/app",element:E.jsx(qq,{children:E.jsx(rZ,{})}),children:[E.jsx(rs,{index:!0,element:E.jsx(iZ,{})}),E.jsx(rs,{path:"doc/:docId",element:E.jsx(Xle,{})})]}),E.jsx(rs,{path:"*",element:E.jsx(Kle,{})})]})})})]})});g_(document.getElementById("root")).render(E.jsx(Jle,{})); diff --git a/dist/assets/index-S7Xav86t.css b/dist/assets/index-S7Xav86t.css new file mode 100644 index 0000000000000000000000000000000000000000..21ccbea5597eb8695afd8afab50c92c04a036c40 --- /dev/null +++ b/dist/assets/index-S7Xav86t.css @@ -0,0 +1 @@ +@font-face{font-display:block;font-family:KaTeX_AMS;font-style:normal;font-weight:400;src:url(/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2) format("woff2"),url(/assets/KaTeX_AMS-Regular-DMm9YOAa.woff) format("woff"),url(/assets/KaTeX_AMS-Regular-DRggAlZN.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Caligraphic;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2) format("woff2"),url(/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff) format("woff"),url(/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Caligraphic;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2) format("woff2"),url(/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff) format("woff"),url(/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Fraktur;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2) format("woff2"),url(/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff) format("woff"),url(/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Fraktur;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2) format("woff2"),url(/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff) format("woff"),url(/assets/KaTeX_Fraktur-Regular-CB_wures.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Main-Bold-Cx986IdX.woff2) format("woff2"),url(/assets/KaTeX_Main-Bold-Jm3AIy58.woff) format("woff"),url(/assets/KaTeX_Main-Bold-waoOVXN0.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:italic;font-weight:700;src:url(/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2) format("woff2"),url(/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff) format("woff"),url(/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:italic;font-weight:400;src:url(/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2) format("woff2"),url(/assets/KaTeX_Main-Italic-BMLOBm91.woff) format("woff"),url(/assets/KaTeX_Main-Italic-3WenGoN9.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Main-Regular-B22Nviop.woff2) format("woff2"),url(/assets/KaTeX_Main-Regular-Dr94JaBh.woff) format("woff"),url(/assets/KaTeX_Main-Regular-ypZvNtVU.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Math;font-style:italic;font-weight:700;src:url(/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2) format("woff2"),url(/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff) format("woff"),url(/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Math;font-style:italic;font-weight:400;src:url(/assets/KaTeX_Math-Italic-t53AETM-.woff2) format("woff2"),url(/assets/KaTeX_Math-Italic-DA0__PXp.woff) format("woff"),url(/assets/KaTeX_Math-Italic-flOr_0UB.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_SansSerif;font-style:normal;font-weight:700;src:url(/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2) format("woff2"),url(/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff) format("woff"),url(/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_SansSerif;font-style:italic;font-weight:400;src:url(/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2) format("woff2"),url(/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff) format("woff"),url(/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_SansSerif;font-style:normal;font-weight:400;src:url(/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2) format("woff2"),url(/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff) format("woff"),url(/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Script;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Script-Regular-D3wIWfF6.woff2) format("woff2"),url(/assets/KaTeX_Script-Regular-D5yQViql.woff) format("woff"),url(/assets/KaTeX_Script-Regular-C5JkGWo-.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size1;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2) format("woff2"),url(/assets/KaTeX_Size1-Regular-C195tn64.woff) format("woff"),url(/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size2;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2) format("woff2"),url(/assets/KaTeX_Size2-Regular-oD1tc_U0.woff) format("woff"),url(/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size3;font-style:normal;font-weight:400;src:url(data:font/woff2;base64,d09GMgABAAAAAA4oAA4AAAAAHbQAAA3TAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAABmAAgRQIDgmcDBEICo1oijYBNgIkA14LMgAEIAWJAAeBHAyBHBvbGiMRdnO0IkRRkiYDgr9KsJ1NUAf2kILNxgUmgqIgq1P89vcbIcmsQbRps3vCcXdYOKSWEPEKgZgQkprQQsxIXUgq0DqpGKmIvrgkeVGtEQD9DzAO29fM9jYhxZEsL2FeURH2JN4MIcTdO049NCVdxQ/w9NrSYFEBKTDKpLKfNkCGDc1RwjZLQcm3vqJ2UW9Xfa3tgAHz6ivp6vgC2yD4/6352ndnN0X0TL7seypkjZlMsjmZnf0Mm5Q+JykRWQBKCVCVPbARPXWyQtb5VgLB6Biq7/Uixcj2WGqdI8tGSgkuRG+t910GKP2D7AQH0DB9FMDW/obJZ8giFI3Wg8Cvevz0M+5m0rTh7XDBlvo9Y4vm13EXmfttwI4mBo1EG15fxJhUiCLbiiyCf/ZA6MFAhg3pGIZGdGIVjtPn6UcMk9A/UUr9PhoNsCENw1APAq0gpH73e+M+0ueyHbabc3vkbcdtzcf/fiy+NxQEjf9ud/ELBHAXJ0nk4z+MXH2Ev/kWyV4k7SkvpPc9Qr38F6RPWnM9cN6DJ0AdD1BhtgABtmoRoFCvPsBAumNm6soZG2Gk5GyVTo2sJncSyp0jQTYoR6WDvTwaaEcHsxHfvuWhHA3a6bN7twRKtcGok6NsCi7jYRrM2jExsUFMxMQYuJbMhuWNOumEJy9hi29Dmg5zMp/A5+hhPG19j1vBrq8JTLr8ki5VLPmG/PynJHVul440bxg5xuymHUFPBshC+nA9I1FmwbRBTNHAcik3Oae0cxKoI3MOriM42UrPe51nsaGxJ+WfXubAsP84aabUlQSJ1IiE0iPETLUU4CATgfXSCSpuRFRmCGbO+wSpAnzaeaCYW1VNEysRtuXCEL1kUFUbbtMv3Tilt/1c11jt3Q5bbMa84cpWipp8Elw3MZhOHsOlwwVUQM3lAR35JiFQbaYCRnMF2lxAWoOg2gyoIV4PouX8HytNIfLhqpJtXB4vjiViUI8IJ7bkC4ikkQvKksnOTKICwnqWSZ9YS5f0WCxmpgjbIq7EJcM4aI2nmhLNY2JIUgOjXZFWBHb+x5oh6cwb0Tv1ackHdKi0I9OO2wE9aogIOn540CCCziyhN+IaejtgAONKznHlHyutPrHGwCx9S6B8kfS4Mfi4Eyv7OU730bT1SCBjt834cXsf43zVjPUqqJjgrjeGnBxSG4aYAKFuVbeCfkDIjAqMb6yLNIbCuvXhMH2/+k2vkNpkORhR59N1CkzoOENvneIosjYmuTxlhUzaGEJQ/iWqx4dmwpmKjrwTiTGTCVozNAYqk/zXOndWxuWSmJkQpJw3pK5KX6QrLt5LATMqpmPAQhkhK6PUjzHUn7E0gHE0kPE0iKkolgkUx9SZmVAdDgpffdyJKg3k7VmzYGCwVXGz/tXmkOIp+vcWs+EMuhhvN0h9uhfzWJziBQmCREGSIFmQIkgVpAnSBRmC//6hkLZwaVhwxlrJSOdqlFtOYxlau9F2QN5Y98xmIAsiM1HVp2VFX+DHHGg6Ecjh3vmqtidX3qHI2qycTk/iwxSt5UzTmEP92ZBnEWTk4Mx8Mpl78ZDokxg/KWb+Q0QkvdKVmq3TMW+RXEgrsziSAfNXFMhDc60N5N9jQzjfO0kBKpUZl0ZmwJ41j/B9Hz6wmRaJB84niNmQrzp9eSlQCDDzazGDdVi3P36VZQ+Jy4f9UBNp+3zTjqI4abaFAm+GShVaXlsGdF3FYzZcDI6cori4kMxUECl9IjJZpzkvitAoxKue+90pDMvcKRxLl53TmOKCmV/xRolNKSqqUxc6LStOETmFOiLZZptlZepcKiAzteG8PEdpnQpbOMNcMsR4RR2Bs0cKFEvSmIjAFcnarqwUL4lDhHmnVkwu1IwshbiCcgvOheZuYyOteufZZwlcTlLgnZ3o/WcYdzZHW/WGaqaVfmTZ1aWCceJjkbZqsfbkOtcFlUZM/jy+hXHDbaUobWqqXaeWobbLO99yG5N3U4wxco0rQGGcOLASFMXeJoham8M+/x6O2WywK2l4HGbq1CoUyC/IZikQhdq3SiuNrvAEj0AVu9x2x3lp/xWzahaxidezFVtdcb5uEnzyl0ZmYiuKI0exvCd4Xc9CV1KB0db00z92wDPde0kukbvZIWN6jUWFTmPIC/Y4UPCm8UfDTFZpZNon1qLFTkBhxzB+FjQRA2Q/YRJT8pQigslMaUpFyAG8TMlXigiqmAZX4xgijKjRlGpLE0GdplRfCaJo0JQaSxNBk6ZmMzcya0FmrcisDdn0Q3HI2sWSppYigmlM1XT/kLQZSNpMJG0WkjYbSZuDpM1F0uYhFc1HxU4m1QJjDK6iL0S5uSj5rgXc3RejEigtcRBtqYPQsiTskmO5vosV+q4VGIKbOkDg0jtRrq+Em1YloaTFar3EGr1EUC8R0kus1Uus00usL97ABr2BjXoDm/QGNhuWtMVBKOwg/i78lT7hBsAvDmwHc/ao3vmUbBmhjeYySZNWvGkfZAgISDSaDo1SVpzGDsAEkF8B+gEapViUoZgUWXcRIGFZNm6gWbAKk0bp0k1MHG9fLYtV4iS2SmLEQFARzRcnf9PUS0LVn05/J9MiRRBU3v2IrvW974v4N00L7ZMk0wXP1409CHo/an8zTRHD3eSJ6m8D4YMkZNl3M79sqeuAsr/m3f+8/yl7A50aiAEJgeBeMWzu7ui9UfUBCe2TIqZIoOd/3/udRBOQidQZUERzb2/VwZN1H/Sju82ew2H2Wfr6qvfVf3hqwDvAIpkQVFy4B9Pe9e4/XvPeceu7h3dvO56iJPf0+A6cqA2ip18ER+iFgggiuOkvj24bby0N9j2UHIkgqIt+sVgfodC4YghLSMjSZbH0VR/6dMDrYJeKHilKTemt6v6kvzvn3/RrdWtr0GoN/xL+Sex/cPYLUpepx9cz/D46UPU5KXgAQa+NDps1v6J3xP1i2HtaDB0M9aX2deA7SYff//+gUCovMmIK/qfsFcOk+4Y5ZN97XlG6zebqtMbKgeRFi51vnxTQYBUik2rS/Cn6PC8ADR8FGxsRPB82dzfND90gIcshOcYUkfjherBz53odpm6TP8txlwOZ71xmfHHOvq053qFF/MRlS3jP0ELudrf2OeN8DHvp6ZceLe8qKYvWz/7yp0u4dKPfli3CYq0O13Ih71mylJ80tOi10On8wi+F4+LWgDPeJ30msSQt9/vkmHq9/Lvo2b461mP801v3W4xTcs6CbvF9UDdrSt+A8OUbpSh55qAUFXWznBBfdeJ8a4d7ugT5tvxUza3h9m4H7ptTqiG4z0g5dc0X29OcGlhpGFMpQo9ytTS+NViZpNdvU4kWx+LKxNY10kQ1yqGXrhe4/1nvP7E+nd5A92TtaRplbHSqoIdOqtRWti+fkB5/n1+/VvCmz12pG1kpQWsfi1ftlBobm0bpngs16CHkbIwdLnParxtTV3QYRlfJ0KFskH7pdN/YDn+yRuSd7sNH3aO0DYPggk6uWuXrfOc+fa3VTxFVvKaNxHsiHmsXyCLIE5yuOeN3/Jdf8HBL/5M6shjyhxHx9BjB1O0+4NLOnjLLSxwO7ukN4jMbOIcD879KLSi6Pk61Oqm2377n8079PXEEQ7cy7OKEC9nbpet118fxweTafpt69x/Bt8UqGzNQt7aelpc44dn5cqhwf71+qKp/Zf/+a0zcizOUWpl/iBcSXip0pplkatCchoH5c5aUM8I7/dWxAej8WicPL1URFZ9BDJelUwEwTkGqUhgSlydVes95YdXvhh9Gfz/aeFWvgVb4tuLbcv4+wLdutVZv/cUonwBD/6eDlE0aSiKK/uoH3+J1wDE/jMVqY2ysGufN84oIXB0sPzy8ollX/LegY74DgJXJR57sn+VGza0x3DnuIgABFM15LmajjjsNlYj+JEZGbuRYcAMOWxFkPN2w6Wd46xo4gVWQR/X4lyI/R6K/YK0110GzudPRW7Y+UOBGTfNNzHeYT0fiH0taunBpq9HEW8OKSaBGj21L0MqenEmNRWBAWDWAk4CpNoEZJ2tTaPFgbQYj8HxtFilErs3BTRwT8uO1NXQaWfIotchmPkAF5mMBAliEmZiOGVgCG9LgRzpscMAOOwowlT3JhusdazXGSC/hxR3UlmWVwWHpOIKheqONvjyhSiTHIkVUco5bnji8m//zL7PKaT1Vl5I6UE609f+gkr6MZKVyKc7zJRmCahLsdlyA5fdQkRSan9LgnnLEyGSkaKJCJog0wAgvepWBt80+1yKln1bMVtCljfNWDueKLsWwaEbBSfSPTEmVRsUcYYMnEjcjeyCZzBXK9E9BYBXLKjOSpUDR+nEV3TFSUdQaz+ot98QxgXwx0GQ+EEUAKB2qZPkQQ0GqFD8UPFMqyaCHM24BZmSGic9EYMagKizOw9Hz50DMrDLrqqLkTAhplMictiCAx5S3BIUQdeJeLnBy2CNtMfz6cV4u8XKoFZQesbf9YZiIERiHjaNodDW6LgcirX/mPnJIkBGDUpTBhSa0EIr38D5hCIszhCM8URGBqImoWjpvpt1ebu/v3Gl3qJfMnNM+9V+kiRFyROTPHQWOcs1dNW94/ukKMPZBvDi55i5CttdeJz84DLngLqjcdwEZ87bFFR8CIG35OAkDVN6VRDZ7aq67NteYqZ2lpT8oYB2CytoBd6VuAx4WgiAsnuj3WohG+LugzXiQRDeM3XYXlULv4dp5VFYC) format("woff2"),url(/assets/KaTeX_Size3-Regular-CTq5MqoE.woff) format("woff"),url(/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size4;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2) format("woff2"),url(/assets/KaTeX_Size4-Regular-BF-4gkZK.woff) format("woff"),url(/assets/KaTeX_Size4-Regular-DWFBv043.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Typewriter;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2) format("woff2"),url(/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff) format("woff"),url(/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf) format("truetype")}.katex{font: 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;position:relative;text-indent:0;text-rendering:auto}.katex *{-ms-high-contrast-adjust:none!important;border-color:currentColor}.katex .katex-version:after{content:"0.16.45"}.katex .katex-mathml{clip:rect(1px,1px,1px,1px);border:0;height:1px;overflow:hidden;padding:0;position:absolute;width:1px}.katex .katex-html>.newline{display:block}.katex .base{position:relative;white-space:nowrap;width:-moz-min-content;width:min-content}.katex .base,.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-style:italic;font-weight:700}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathboldfrak,.katex .textboldfrak{font-family:KaTeX_Fraktur;font-weight:700}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathitsf,.katex .mathsfit,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{border-collapse:collapse;display:inline-table;table-layout:fixed}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;position:relative;vertical-align:bottom}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;font-size:1px;min-width:2px;vertical-align:bottom;width:2px}.katex .vbox{align-items:baseline;display:inline-flex;flex-direction:column}.katex .hbox{width:100%}.katex .hbox,.katex .thinbox{display:inline-flex;flex-direction:row}.katex .thinbox{max-width:0;width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline,.katex .hline,.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .rule,.katex .underline .underline-line{min-height:1px}.katex .mspace{display:inline-block}.katex .smash{display:inline;line-height:0}.katex .clap,.katex .llap,.katex .rlap{position:relative;width:0}.katex .clap>.inner,.katex .llap>.inner,.katex .rlap>.inner{position:absolute}.katex .clap>.fix,.katex .llap>.fix,.katex .rlap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .clap>.inner,.katex .rlap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{border:0 solid;display:inline-block;position:relative}.katex .hline,.katex .overline .overline-line,.katex .underline .underline-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline{border-bottom-style:dashed;display:inline-block;width:100%}.katex .sqrt>.root{margin-left:.2777777778em;margin-right:-.5555555556em}.katex .fontsize-ensurer.reset-size1.size1,.katex .sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .sizing.reset-size1.size10{font-size:4.148em}.katex .fontsize-ensurer.reset-size1.size11,.katex .sizing.reset-size1.size11{font-size:4.976em}.katex .fontsize-ensurer.reset-size2.size1,.katex .sizing.reset-size2.size1{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size2.size2,.katex .sizing.reset-size2.size2{font-size:1em}.katex .fontsize-ensurer.reset-size2.size3,.katex .sizing.reset-size2.size3{font-size:1.1666666667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .sizing.reset-size2.size4{font-size:1.3333333333em}.katex .fontsize-ensurer.reset-size2.size5,.katex .sizing.reset-size2.size5{font-size:1.5em}.katex .fontsize-ensurer.reset-size2.size6,.katex .sizing.reset-size2.size6{font-size:1.6666666667em}.katex .fontsize-ensurer.reset-size2.size7,.katex .sizing.reset-size2.size7{font-size:2em}.katex .fontsize-ensurer.reset-size2.size8,.katex .sizing.reset-size2.size8{font-size:2.4em}.katex .fontsize-ensurer.reset-size2.size9,.katex .sizing.reset-size2.size9{font-size:2.88em}.katex .fontsize-ensurer.reset-size2.size10,.katex .sizing.reset-size2.size10{font-size:3.4566666667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .sizing.reset-size2.size11{font-size:4.1466666667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .sizing.reset-size3.size1{font-size:.7142857143em}.katex .fontsize-ensurer.reset-size3.size2,.katex .sizing.reset-size3.size2{font-size:.8571428571em}.katex .fontsize-ensurer.reset-size3.size3,.katex .sizing.reset-size3.size3{font-size:1em}.katex .fontsize-ensurer.reset-size3.size4,.katex .sizing.reset-size3.size4{font-size:1.1428571429em}.katex .fontsize-ensurer.reset-size3.size5,.katex .sizing.reset-size3.size5{font-size:1.2857142857em}.katex .fontsize-ensurer.reset-size3.size6,.katex .sizing.reset-size3.size6{font-size:1.4285714286em}.katex .fontsize-ensurer.reset-size3.size7,.katex .sizing.reset-size3.size7{font-size:1.7142857143em}.katex .fontsize-ensurer.reset-size3.size8,.katex .sizing.reset-size3.size8{font-size:2.0571428571em}.katex .fontsize-ensurer.reset-size3.size9,.katex .sizing.reset-size3.size9{font-size:2.4685714286em}.katex .fontsize-ensurer.reset-size3.size10,.katex .sizing.reset-size3.size10{font-size:2.9628571429em}.katex .fontsize-ensurer.reset-size3.size11,.katex .sizing.reset-size3.size11{font-size:3.5542857143em}.katex .fontsize-ensurer.reset-size4.size1,.katex .sizing.reset-size4.size1{font-size:.625em}.katex .fontsize-ensurer.reset-size4.size2,.katex .sizing.reset-size4.size2{font-size:.75em}.katex .fontsize-ensurer.reset-size4.size3,.katex .sizing.reset-size4.size3{font-size:.875em}.katex .fontsize-ensurer.reset-size4.size4,.katex .sizing.reset-size4.size4{font-size:1em}.katex .fontsize-ensurer.reset-size4.size5,.katex .sizing.reset-size4.size5{font-size:1.125em}.katex .fontsize-ensurer.reset-size4.size6,.katex .sizing.reset-size4.size6{font-size:1.25em}.katex .fontsize-ensurer.reset-size4.size7,.katex .sizing.reset-size4.size7{font-size:1.5em}.katex .fontsize-ensurer.reset-size4.size8,.katex .sizing.reset-size4.size8{font-size:1.8em}.katex .fontsize-ensurer.reset-size4.size9,.katex .sizing.reset-size4.size9{font-size:2.16em}.katex .fontsize-ensurer.reset-size4.size10,.katex .sizing.reset-size4.size10{font-size:2.5925em}.katex .fontsize-ensurer.reset-size4.size11,.katex .sizing.reset-size4.size11{font-size:3.11em}.katex .fontsize-ensurer.reset-size5.size1,.katex .sizing.reset-size5.size1{font-size:.5555555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .sizing.reset-size5.size2{font-size:.6666666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .sizing.reset-size5.size3{font-size:.7777777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .sizing.reset-size5.size4{font-size:.8888888889em}.katex .fontsize-ensurer.reset-size5.size5,.katex .sizing.reset-size5.size5{font-size:1em}.katex .fontsize-ensurer.reset-size5.size6,.katex .sizing.reset-size5.size6{font-size:1.1111111111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .sizing.reset-size5.size7{font-size:1.3333333333em}.katex .fontsize-ensurer.reset-size5.size8,.katex .sizing.reset-size5.size8{font-size:1.6em}.katex .fontsize-ensurer.reset-size5.size9,.katex .sizing.reset-size5.size9{font-size:1.92em}.katex .fontsize-ensurer.reset-size5.size10,.katex .sizing.reset-size5.size10{font-size:2.3044444444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .sizing.reset-size5.size11{font-size:2.7644444444em}.katex .fontsize-ensurer.reset-size6.size1,.katex .sizing.reset-size6.size1{font-size:.5em}.katex .fontsize-ensurer.reset-size6.size2,.katex .sizing.reset-size6.size2{font-size:.6em}.katex .fontsize-ensurer.reset-size6.size3,.katex .sizing.reset-size6.size3{font-size:.7em}.katex .fontsize-ensurer.reset-size6.size4,.katex .sizing.reset-size6.size4{font-size:.8em}.katex .fontsize-ensurer.reset-size6.size5,.katex .sizing.reset-size6.size5{font-size:.9em}.katex .fontsize-ensurer.reset-size6.size6,.katex .sizing.reset-size6.size6{font-size:1em}.katex .fontsize-ensurer.reset-size6.size7,.katex .sizing.reset-size6.size7{font-size:1.2em}.katex .fontsize-ensurer.reset-size6.size8,.katex .sizing.reset-size6.size8{font-size:1.44em}.katex .fontsize-ensurer.reset-size6.size9,.katex .sizing.reset-size6.size9{font-size:1.728em}.katex .fontsize-ensurer.reset-size6.size10,.katex .sizing.reset-size6.size10{font-size:2.074em}.katex .fontsize-ensurer.reset-size6.size11,.katex .sizing.reset-size6.size11{font-size:2.488em}.katex .fontsize-ensurer.reset-size7.size1,.katex .sizing.reset-size7.size1{font-size:.4166666667em}.katex .fontsize-ensurer.reset-size7.size2,.katex .sizing.reset-size7.size2{font-size:.5em}.katex .fontsize-ensurer.reset-size7.size3,.katex .sizing.reset-size7.size3{font-size:.5833333333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .sizing.reset-size7.size4{font-size:.6666666667em}.katex .fontsize-ensurer.reset-size7.size5,.katex .sizing.reset-size7.size5{font-size:.75em}.katex .fontsize-ensurer.reset-size7.size6,.katex .sizing.reset-size7.size6{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size7.size7,.katex .sizing.reset-size7.size7{font-size:1em}.katex .fontsize-ensurer.reset-size7.size8,.katex .sizing.reset-size7.size8{font-size:1.2em}.katex .fontsize-ensurer.reset-size7.size9,.katex .sizing.reset-size7.size9{font-size:1.44em}.katex .fontsize-ensurer.reset-size7.size10,.katex .sizing.reset-size7.size10{font-size:1.7283333333em}.katex .fontsize-ensurer.reset-size7.size11,.katex .sizing.reset-size7.size11{font-size:2.0733333333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .sizing.reset-size8.size1{font-size:.3472222222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .sizing.reset-size8.size2{font-size:.4166666667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .sizing.reset-size8.size3{font-size:.4861111111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .sizing.reset-size8.size4{font-size:.5555555556em}.katex .fontsize-ensurer.reset-size8.size5,.katex .sizing.reset-size8.size5{font-size:.625em}.katex .fontsize-ensurer.reset-size8.size6,.katex .sizing.reset-size8.size6{font-size:.6944444444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .sizing.reset-size8.size7{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size8.size8,.katex .sizing.reset-size8.size8{font-size:1em}.katex .fontsize-ensurer.reset-size8.size9,.katex .sizing.reset-size8.size9{font-size:1.2em}.katex .fontsize-ensurer.reset-size8.size10,.katex .sizing.reset-size8.size10{font-size:1.4402777778em}.katex .fontsize-ensurer.reset-size8.size11,.katex .sizing.reset-size8.size11{font-size:1.7277777778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .sizing.reset-size9.size1{font-size:.2893518519em}.katex .fontsize-ensurer.reset-size9.size2,.katex .sizing.reset-size9.size2{font-size:.3472222222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .sizing.reset-size9.size3{font-size:.4050925926em}.katex .fontsize-ensurer.reset-size9.size4,.katex .sizing.reset-size9.size4{font-size:.462962963em}.katex .fontsize-ensurer.reset-size9.size5,.katex .sizing.reset-size9.size5{font-size:.5208333333em}.katex .fontsize-ensurer.reset-size9.size6,.katex .sizing.reset-size9.size6{font-size:.5787037037em}.katex .fontsize-ensurer.reset-size9.size7,.katex .sizing.reset-size9.size7{font-size:.6944444444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .sizing.reset-size9.size8{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size9.size9,.katex .sizing.reset-size9.size9{font-size:1em}.katex .fontsize-ensurer.reset-size9.size10,.katex .sizing.reset-size9.size10{font-size:1.2002314815em}.katex .fontsize-ensurer.reset-size9.size11,.katex .sizing.reset-size9.size11{font-size:1.4398148148em}.katex .fontsize-ensurer.reset-size10.size1,.katex .sizing.reset-size10.size1{font-size:.2410800386em}.katex .fontsize-ensurer.reset-size10.size2,.katex .sizing.reset-size10.size2{font-size:.2892960463em}.katex .fontsize-ensurer.reset-size10.size3,.katex .sizing.reset-size10.size3{font-size:.337512054em}.katex .fontsize-ensurer.reset-size10.size4,.katex .sizing.reset-size10.size4{font-size:.3857280617em}.katex .fontsize-ensurer.reset-size10.size5,.katex .sizing.reset-size10.size5{font-size:.4339440694em}.katex .fontsize-ensurer.reset-size10.size6,.katex .sizing.reset-size10.size6{font-size:.4821600771em}.katex .fontsize-ensurer.reset-size10.size7,.katex .sizing.reset-size10.size7{font-size:.5785920926em}.katex .fontsize-ensurer.reset-size10.size8,.katex .sizing.reset-size10.size8{font-size:.6943105111em}.katex .fontsize-ensurer.reset-size10.size9,.katex .sizing.reset-size10.size9{font-size:.8331726133em}.katex .fontsize-ensurer.reset-size10.size10,.katex .sizing.reset-size10.size10{font-size:1em}.katex .fontsize-ensurer.reset-size10.size11,.katex .sizing.reset-size10.size11{font-size:1.1996142719em}.katex .fontsize-ensurer.reset-size11.size1,.katex .sizing.reset-size11.size1{font-size:.2009646302em}.katex .fontsize-ensurer.reset-size11.size2,.katex .sizing.reset-size11.size2{font-size:.2411575563em}.katex .fontsize-ensurer.reset-size11.size3,.katex .sizing.reset-size11.size3{font-size:.2813504823em}.katex .fontsize-ensurer.reset-size11.size4,.katex .sizing.reset-size11.size4{font-size:.3215434084em}.katex .fontsize-ensurer.reset-size11.size5,.katex .sizing.reset-size11.size5{font-size:.3617363344em}.katex .fontsize-ensurer.reset-size11.size6,.katex .sizing.reset-size11.size6{font-size:.4019292605em}.katex .fontsize-ensurer.reset-size11.size7,.katex .sizing.reset-size11.size7{font-size:.4823151125em}.katex .fontsize-ensurer.reset-size11.size8,.katex .sizing.reset-size11.size8{font-size:.578778135em}.katex .fontsize-ensurer.reset-size11.size9,.katex .sizing.reset-size11.size9{font-size:.6945337621em}.katex .fontsize-ensurer.reset-size11.size10,.katex .sizing.reset-size11.size10{font-size:.8336012862em}.katex .fontsize-ensurer.reset-size11.size11,.katex .sizing.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{display:inline-block;width:.12em}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .accent>.vlist-t,.katex .op-limits>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{display:inline-block;min-width:1px}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{fill:currentColor;stroke:currentColor;display:block;height:inherit;position:absolute;width:100%}.katex svg path{stroke:none}.katex svg{fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1}.katex img{border-style:none;max-height:none;max-width:none;min-height:0;min-width:0}.katex .stretchy{display:block;overflow:hidden;position:relative;width:100%}.katex .stretchy:after,.katex .stretchy:before{content:""}.katex .hide-tail{overflow:hidden;position:relative;width:100%}.katex .halfarrow-left{left:0;overflow:hidden;position:absolute;width:50.2%}.katex .halfarrow-right{overflow:hidden;position:absolute;right:0;width:50.2%}.katex .brace-left{left:0;overflow:hidden;position:absolute;width:25.1%}.katex .brace-center{left:25%;overflow:hidden;position:absolute;width:50%}.katex .brace-right{overflow:hidden;position:absolute;right:0;width:25.1%}.katex .x-arrow-pad{padding:0 .5em}.katex .cd-arrow-pad{padding:0 .55556em 0 .27778em}.katex .mover,.katex .munder,.katex .x-arrow{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{border:.04em solid;box-sizing:border-box}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex .angl{border-right:.049em solid;border-top:.049em solid;box-sizing:border-box;margin-right:.03889em}.katex .anglpad{padding:0 .03889em}.katex .eqn-num:before{content:"(" counter(katexEqnNo) ")";counter-increment:katexEqnNo}.katex .mml-eqn-num:before{content:"(" counter(mmlEqnNo) ")";counter-increment:mmlEqnNo}.katex .mtr-glue{width:50%}.katex .cd-vert-arrow{display:inline-block;position:relative}.katex .cd-label-left{display:inline-block;position:absolute;right:calc(50% + .3em);text-align:left}.katex .cd-label-right{display:inline-block;left:calc(50% + .3em);position:absolute;text-align:right}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{padding-left:2em;text-align:left}body{counter-reset:katexEqnNo mmlEqnNo}*,:before,:after{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgb(59 130 246 / .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgb(59 130 246 / .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}:root{--background: 0 0% 100%;--foreground: 240 10% 3.9%;--card: 0 0% 100%;--card-foreground: 240 10% 3.9%;--popover: 0 0% 100%;--popover-foreground: 240 10% 3.9%;--primary: 240 5.9% 10%;--primary-foreground: 0 0% 98%;--secondary: 240 4.8% 95.9%;--secondary-foreground: 240 5.9% 10%;--muted: 240 4.8% 95.9%;--muted-foreground: 240 3.8% 46.1%;--accent: 240 4.8% 95.9%;--accent-foreground: 240 5.9% 10%;--destructive: 0 84.2% 60.2%;--destructive-foreground: 0 0% 98%;--border: 240 5.9% 90%;--input: 240 5.9% 90%;--ring: 240 5.9% 10%;--radius: .625rem;--sidebar-background: 0 0% 98%;--sidebar-foreground: 240 5.3% 26.1%;--sidebar-primary: 240 5.9% 10%;--sidebar-primary-foreground: 0 0% 98%;--sidebar-accent: 240 4.8% 95.9%;--sidebar-accent-foreground: 240 5.9% 10%;--sidebar-border: 240 5.9% 90%;--sidebar-ring: 240 5.9% 10%}.dark{--background: 0 0% 4%;--foreground: 0 0% 98%;--card: 0 0% 9%;--card-foreground: 0 0% 98%;--popover: 0 0% 7%;--popover-foreground: 0 0% 98%;--primary: 234 89% 74%;--primary-foreground: 0 0% 100%;--primary-glow: 250 95% 76%;--secondary: 0 0% 12%;--secondary-foreground: 0 0% 98%;--muted: 0 0% 11%;--muted-foreground: 0 0% 63%;--accent: 0 0% 14%;--accent-foreground: 0 0% 98%;--destructive: 0 72% 51%;--destructive-foreground: 0 0% 98%;--success: 142 71% 45%;--warning: 38 92% 50%;--border: 0 0% 14%;--input: 0 0% 14%;--ring: 234 89% 74%;--sidebar-background: 0 0% 6%;--sidebar-foreground: 0 0% 80%;--sidebar-primary: 234 89% 74%;--sidebar-primary-foreground: 0 0% 100%;--sidebar-accent: 0 0% 11%;--sidebar-accent-foreground: 0 0% 98%;--sidebar-border: 0 0% 12%;--sidebar-ring: 234 89% 74%;--gradient-primary: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-glow)));--shadow-glow: 0 0 40px -10px hsl(var(--primary) / .4)}*{border-color:hsl(var(--border))}html,body,#root{height:100%}body{background-color:hsl(var(--background));color:hsl(var(--foreground));-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-feature-settings:"cv11","ss01";font-family:ui-sans-serif,system-ui,-apple-system,Inter,sans-serif}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:hsl(var(--border));border-radius:8px}::-webkit-scrollbar-thumb:hover{background:hsl(var(--muted-foreground) / .4)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.invisible{visibility:hidden}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.inset-x-0{left:0;right:0}.inset-y-0{top:0;bottom:0}.-bottom-12{bottom:-3rem}.-left-12{left:-3rem}.-right-12{right:-3rem}.-top-12{top:-3rem}.bottom-0{bottom:0}.bottom-3{bottom:.75rem}.left-0{left:0}.left-1{left:.25rem}.left-1\/2{left:50%}.left-2{left:.5rem}.left-\[50\%\]{left:50%}.right-0{right:0}.right-1{right:.25rem}.right-2{right:.5rem}.right-3{right:.75rem}.right-4{right:1rem}.top-0{top:0}.top-1\.5{top:.375rem}.top-1\/2{top:50%}.top-2{top:.5rem}.top-3\.5{top:.875rem}.top-4{top:1rem}.top-\[1px\]{top:1px}.top-\[50\%\]{top:50%}.top-\[60\%\]{top:60%}.top-full{top:100%}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-\[100\]{z-index:100}.z-\[1\]{z-index:1}.m-0{margin:0}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-3\.5{margin-left:.875rem;margin-right:.875rem}.mx-4{margin-left:1rem;margin-right:1rem}.mx-auto{margin-left:auto;margin-right:auto}.my-0\.5{margin-top:.125rem;margin-bottom:.125rem}.my-1{margin-top:.25rem;margin-bottom:.25rem}.-ml-2{margin-left:-.5rem}.-ml-4{margin-left:-1rem}.-mt-4{margin-top:-1rem}.mb-1{margin-bottom:.25rem}.mb-1\.5{margin-bottom:.375rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.ml-1{margin-left:.25rem}.ml-auto{margin-left:auto}.mr-1{margin-right:.25rem}.mr-1\.5{margin-right:.375rem}.mr-2{margin-right:.5rem}.mt-0\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-1\.5{margin-top:.375rem}.mt-2{margin-top:.5rem}.mt-24{margin-top:6rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-auto{margin-top:auto}.block{display:block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.aspect-square{aspect-ratio:1 / 1}.aspect-video{aspect-ratio:16 / 9}.size-4{width:1rem;height:1rem}.h-1{height:.25rem}.h-1\.5{height:.375rem}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-72{height:18rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-\[1px\]{height:1px}.h-\[calc\(100vh-220px\)\]{height:calc(100vh - 220px)}.h-\[var\(--radix-navigation-menu-viewport-height\)\]{height:var(--radix-navigation-menu-viewport-height)}.h-\[var\(--radix-select-trigger-height\)\]{height:var(--radix-select-trigger-height)}.h-auto{height:auto}.h-full{height:100%}.h-px{height:1px}.h-screen{height:100vh}.h-svh{height:100svh}.max-h-64{max-height:16rem}.max-h-96{max-height:24rem}.max-h-\[300px\]{max-height:300px}.max-h-screen{max-height:100vh}.min-h-0{min-height:0px}.min-h-\[420px\]{min-height:420px}.min-h-\[80px\]{min-height:80px}.min-h-screen{min-height:100vh}.min-h-svh{min-height:100svh}.w-0{width:0px}.w-1{width:.25rem}.w-1\.5{width:.375rem}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-3\/4{width:75%}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-64{width:16rem}.w-7{width:1.75rem}.w-72{width:18rem}.w-8{width:2rem}.w-80{width:20rem}.w-9{width:2.25rem}.w-\[--sidebar-width\]{width:var(--sidebar-width)}.w-\[100px\]{width:100px}.w-\[18rem\]{width:18rem}.w-\[1px\]{width:1px}.w-auto{width:auto}.w-full{width:100%}.w-max{width:-moz-max-content;width:max-content}.w-px{width:1px}.min-w-0{min-width:0px}.min-w-5{min-width:1.25rem}.min-w-\[12rem\]{min-width:12rem}.min-w-\[8rem\]{min-width:8rem}.min-w-\[var\(--radix-select-trigger-width\)\]{min-width:var(--radix-select-trigger-width)}.max-w-2xl{max-width:42rem}.max-w-3xl{max-width:48rem}.max-w-4xl{max-width:56rem}.max-w-6xl{max-width:72rem}.max-w-\[--skeleton-width\]{max-width:var(--skeleton-width)}.max-w-\[85\%\]{max-width:85%}.max-w-lg{max-width:32rem}.max-w-max{max-width:-moz-max-content;max-width:max-content}.max-w-md{max-width:28rem}.max-w-none{max-width:none}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.grow-0{flex-grow:0}.basis-full{flex-basis:100%}.caption-bottom{caption-side:bottom}.border-collapse{border-collapse:collapse}.-translate-x-1\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-x-px{--tw-translate-x:-1px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-\[-50\%\]{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-px{--tw-translate-x:1px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\[-50\%\]{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-45{--tw-rotate:45deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-90{--tw-rotate:90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes fade-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.animate-fade-in{animation:fade-in .25s ease-out}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes pulse-slow{0%,to{opacity:1}50%{opacity:.5}}.animate-pulse-slow{animation:pulse-slow 2s ease-in-out infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.list-none{list-style-type:none}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-0\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.125rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.125rem * var(--tw-space-y-reverse))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.25rem * var(--tw-space-y-reverse))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.rounded-2xl{border-radius:1rem}.rounded-\[2px\]{border-radius:2px}.rounded-\[inherit\]{border-radius:inherit}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.rounded-xl{border-radius:.75rem}.rounded-t-\[10px\]{border-top-left-radius:10px;border-top-right-radius:10px}.rounded-tl-sm{border-top-left-radius:calc(var(--radius) - 4px)}.border{border-width:1px}.border-2{border-width:2px}.border-\[1\.5px\]{border-width:1.5px}.border-y{border-top-width:1px;border-bottom-width:1px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-\[--color-border\]{border-color:var(--color-border)}.border-border{border-color:hsl(var(--border))}.border-border\/50{border-color:hsl(var(--border) / .5)}.border-destructive{border-color:hsl(var(--destructive))}.border-destructive\/40{border-color:hsl(var(--destructive) / .4)}.border-destructive\/50{border-color:hsl(var(--destructive) / .5)}.border-emerald-500\/40{border-color:#10b98166}.border-emerald-500\/50{border-color:#10b98180}.border-input{border-color:hsl(var(--input))}.border-primary{border-color:hsl(var(--primary))}.border-primary\/30{border-color:hsl(var(--primary) / .3)}.border-sidebar-border{border-color:hsl(var(--sidebar-border))}.border-transparent{border-color:transparent}.border-l-transparent{border-left-color:transparent}.border-t-transparent{border-top-color:transparent}.bg-\[--color-bg\]{background-color:var(--color-bg)}.bg-accent{background-color:hsl(var(--accent))}.bg-background{background-color:hsl(var(--background))}.bg-background\/80{background-color:hsl(var(--background) / .8)}.bg-black\/80{background-color:#000c}.bg-border{background-color:hsl(var(--border))}.bg-card{background-color:hsl(var(--card))}.bg-destructive{background-color:hsl(var(--destructive))}.bg-destructive\/10{background-color:hsl(var(--destructive) / .1)}.bg-emerald-500\/10{background-color:#10b9811a}.bg-foreground{background-color:hsl(var(--foreground))}.bg-muted{background-color:hsl(var(--muted))}.bg-muted\/50{background-color:hsl(var(--muted) / .5)}.bg-popover{background-color:hsl(var(--popover))}.bg-primary{background-color:hsl(var(--primary))}.bg-primary\/10{background-color:hsl(var(--primary) / .1)}.bg-primary\/20{background-color:hsl(var(--primary) / .2)}.bg-primary\/5{background-color:hsl(var(--primary) / .05)}.bg-secondary{background-color:hsl(var(--secondary))}.bg-sidebar{background-color:hsl(var(--sidebar-background))}.bg-sidebar-accent{background-color:hsl(var(--sidebar-accent))}.bg-sidebar-border{background-color:hsl(var(--sidebar-border))}.bg-transparent{background-color:transparent}.bg-gradient-primary{background-image:var(--gradient-primary)}.bg-clip-text{-webkit-background-clip:text;background-clip:text}.fill-current{fill:currentColor}.p-0{padding:0}.p-1{padding:.25rem}.p-10{padding:2.5rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.p-\[1px\]{padding:1px}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-16{padding-top:4rem;padding-bottom:4rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.pb-16{padding-bottom:4rem}.pb-2{padding-bottom:.5rem}.pb-24{padding-bottom:6rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pl-2\.5{padding-left:.625rem}.pl-4{padding-left:1rem}.pl-8{padding-left:2rem}.pr-2{padding-right:.5rem}.pr-2\.5{padding-right:.625rem}.pr-8{padding-right:2rem}.pt-0{padding-top:0}.pt-1{padding-top:.25rem}.pt-2{padding-top:.5rem}.pt-24{padding-top:6rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.text-left{text-align:left}.text-center{text-align:center}.align-middle{vertical-align:middle}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-sans{font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.text-2xl{font-size:1.5rem;line-height:2rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-\[0\.8rem\]{font-size:.8rem}.text-\[10px\]{font-size:10px}.text-\[11px\]{font-size:11px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.leading-none{line-height:1}.leading-relaxed{line-height:1.625}.tracking-tight{letter-spacing:-.025em}.tracking-wide{letter-spacing:.025em}.tracking-widest{letter-spacing:.1em}.text-accent-foreground{color:hsl(var(--accent-foreground))}.text-card-foreground{color:hsl(var(--card-foreground))}.text-current{color:currentColor}.text-destructive{color:hsl(var(--destructive))}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.text-emerald-500{--tw-text-opacity:1;color:rgb(16 185 129 / var(--tw-text-opacity, 1))}.text-foreground{color:hsl(var(--foreground))}.text-foreground\/50{color:hsl(var(--foreground) / .5)}.text-muted-foreground{color:hsl(var(--muted-foreground))}.text-popover-foreground{color:hsl(var(--popover-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-secondary-foreground{color:hsl(var(--secondary-foreground))}.text-sidebar-accent-foreground{color:hsl(var(--sidebar-accent-foreground))}.text-sidebar-foreground{color:hsl(var(--sidebar-foreground))}.text-sidebar-foreground\/70{color:hsl(var(--sidebar-foreground) / .7)}.text-transparent{color:transparent}.underline{text-decoration-line:underline}.underline-offset-4{text-underline-offset:4px}.opacity-0{opacity:0}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-90{opacity:.9}.shadow-\[0_0_0_1px_hsl\(var\(--sidebar-border\)\)\]{--tw-shadow:0 0 0 1px hsl(var(--sidebar-border));--tw-shadow-colored:0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-glow{--tw-shadow:var(--shadow-glow);--tw-shadow-colored:var(--shadow-glow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-none{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.ring-0{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-2{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-ring{--tw-ring-color:hsl(var(--ring))}.ring-sidebar-ring{--tw-ring-color:hsl(var(--sidebar-ring))}.ring-offset-background{--tw-ring-offset-color:hsl(var(--background))}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur{--tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\[left\,right\,width\]{transition-property:left,right,width;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\[margin\,opa\]{transition-property:margin,opa;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\[width\,height\,padding\]{transition-property:width,height,padding;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\[width\]{transition-property:width;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-1000{transition-duration:1s}.duration-200{transition-duration:.2s}.duration-500{transition-duration:.5s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-linear{transition-timing-function:linear}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial}.fade-in-0{--tw-enter-opacity:0}.fade-in-80{--tw-enter-opacity:.8}.zoom-in-95{--tw-enter-scale:.95}.duration-1000{animation-duration:1s}.duration-200{animation-duration:.2s}.duration-500{animation-duration:.5s}.ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}.ease-linear{animation-timing-function:linear}.running{animation-play-state:running}.prose-invert-tight h2{margin-top:1.5rem;margin-bottom:.75rem;font-size:1.25rem;line-height:1.75rem;font-weight:600}.prose-invert-tight h3{margin-top:1.25rem;margin-bottom:.5rem;font-size:1.125rem;line-height:1.75rem;font-weight:600}.prose-invert-tight p{margin-top:.75rem;margin-bottom:.75rem;line-height:1.75rem;color:hsl(var(--foreground) / .9)}.prose-invert-tight ul{margin-top:.75rem;margin-bottom:.75rem;list-style-type:disc}.prose-invert-tight ul>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.prose-invert-tight ul{padding-left:1.5rem}.prose-invert-tight ol{margin-top:.75rem;margin-bottom:.75rem;list-style-type:decimal}.prose-invert-tight ol>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.prose-invert-tight ol{padding-left:1.5rem}.prose-invert-tight code{border-radius:.25rem;background-color:hsl(var(--muted));padding:.125rem .375rem;font-size:.875rem;line-height:1.25rem;color:hsl(var(--foreground) / .9)}.prose-invert-tight pre{margin-top:1rem;margin-bottom:1rem;overflow-x:auto;border-radius:var(--radius);background-color:hsl(var(--muted));padding:1rem}.prose-invert-tight pre code{background-color:transparent;padding:0}.prose-invert-tight table{margin-top:1rem;margin-bottom:1rem;width:100%;border-collapse:collapse}.prose-invert-tight th,.prose-invert-tight td{border-width:1px;border-color:hsl(var(--border));padding:.5rem .75rem;text-align:left}.prose-invert-tight th{background-color:hsl(var(--muted));font-weight:600}.prose-invert-tight strong{font-weight:600;color:hsl(var(--foreground))}.prose-invert-tight a{color:hsl(var(--primary));text-decoration-line:underline;text-underline-offset:2px}.katex .prose-invert-tight a .underline-line{min-height:1px;border-bottom-style:solid;display:inline-block;width:100%}.prose-invert-tight blockquote{margin-top:1rem;margin-bottom:1rem;border-left-width:2px;border-color:hsl(var(--primary) / .5);padding-left:1rem;font-style:italic;color:hsl(var(--muted-foreground))}.file\:border-0::file-selector-button{border-width:0px}.file\:bg-transparent::file-selector-button{background-color:transparent}.file\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\:font-medium::file-selector-button{font-weight:500}.file\:text-foreground::file-selector-button{color:hsl(var(--foreground))}.placeholder\:text-muted-foreground::-moz-placeholder{color:hsl(var(--muted-foreground))}.placeholder\:text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:-inset-2:after{content:var(--tw-content);top:-.5rem;right:-.5rem;bottom:-.5rem;left:-.5rem}.after\:inset-y-0:after{content:var(--tw-content);top:0;bottom:0}.after\:left-1\/2:after{content:var(--tw-content);left:50%}.after\:w-1:after{content:var(--tw-content);width:.25rem}.after\:w-\[2px\]:after{content:var(--tw-content);width:2px}.after\:-translate-x-1\/2:after{content:var(--tw-content);--tw-translate-x:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.first\:rounded-l-md:first-child{border-top-left-radius:calc(var(--radius) - 2px);border-bottom-left-radius:calc(var(--radius) - 2px)}.first\:border-l:first-child{border-left-width:1px}.last\:rounded-r-md:last-child{border-top-right-radius:calc(var(--radius) - 2px);border-bottom-right-radius:calc(var(--radius) - 2px)}.focus-within\:relative:focus-within{position:relative}.focus-within\:z-20:focus-within{z-index:20}.hover\:border-primary\/40:hover{border-color:hsl(var(--primary) / .4)}.hover\:border-primary\/50:hover{border-color:hsl(var(--primary) / .5)}.hover\:bg-accent:hover{background-color:hsl(var(--accent))}.hover\:bg-destructive\/80:hover{background-color:hsl(var(--destructive) / .8)}.hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive) / .9)}.hover\:bg-muted:hover{background-color:hsl(var(--muted))}.hover\:bg-muted\/50:hover{background-color:hsl(var(--muted) / .5)}.hover\:bg-primary:hover{background-color:hsl(var(--primary))}.hover\:bg-primary\/80:hover{background-color:hsl(var(--primary) / .8)}.hover\:bg-primary\/90:hover{background-color:hsl(var(--primary) / .9)}.hover\:bg-secondary:hover{background-color:hsl(var(--secondary))}.hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary) / .8)}.hover\:bg-sidebar-accent:hover{background-color:hsl(var(--sidebar-accent))}.hover\:bg-sidebar-accent\/60:hover{background-color:hsl(var(--sidebar-accent) / .6)}.hover\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\:text-foreground:hover{color:hsl(var(--foreground))}.hover\:text-muted-foreground:hover{color:hsl(var(--muted-foreground))}.hover\:text-primary-foreground:hover{color:hsl(var(--primary-foreground))}.hover\:text-primary\/90:hover{color:hsl(var(--primary) / .9)}.hover\:text-sidebar-accent-foreground:hover{color:hsl(var(--sidebar-accent-foreground))}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-100:hover{opacity:1}.hover\:shadow-\[0_0_0_1px_hsl\(var\(--sidebar-accent\)\)\]:hover{--tw-shadow:0 0 0 1px hsl(var(--sidebar-accent));--tw-shadow-colored:0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:after\:bg-sidebar-border:hover:after{content:var(--tw-content);background-color:hsl(var(--sidebar-border))}.focus\:bg-accent:focus{background-color:hsl(var(--accent))}.focus\:bg-primary:focus{background-color:hsl(var(--primary))}.focus\:text-accent-foreground:focus{color:hsl(var(--accent-foreground))}.focus\:text-primary-foreground:focus{color:hsl(var(--primary-foreground))}.focus\:opacity-100:focus{opacity:1}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-ring:focus{--tw-ring-color:hsl(var(--ring))}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-1:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color:hsl(var(--ring))}.focus-visible\:ring-sidebar-ring:focus-visible{--tw-ring-color:hsl(var(--sidebar-ring))}.focus-visible\:ring-offset-1:focus-visible{--tw-ring-offset-width:1px}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px}.focus-visible\:ring-offset-background:focus-visible{--tw-ring-offset-color:hsl(var(--background))}.active\:bg-sidebar-accent:active{background-color:hsl(var(--sidebar-accent))}.active\:text-sidebar-accent-foreground:active{color:hsl(var(--sidebar-accent-foreground))}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.group\/menu-item:focus-within .group-focus-within\/menu-item\:opacity-100{opacity:1}.group\/menu-item:hover .group-hover\/menu-item\:opacity-100,.group:hover .group-hover\:opacity-100{opacity:1}.group.destructive .group-\[\.destructive\]\:border-muted\/40{border-color:hsl(var(--muted) / .4)}.group.toaster .group-\[\.toaster\]\:border-border{border-color:hsl(var(--border))}.group.toast .group-\[\.toast\]\:bg-muted{background-color:hsl(var(--muted))}.group.toast .group-\[\.toast\]\:bg-primary{background-color:hsl(var(--primary))}.group.toaster .group-\[\.toaster\]\:bg-background{background-color:hsl(var(--background))}.group.destructive .group-\[\.destructive\]\:text-red-300{--tw-text-opacity:1;color:rgb(252 165 165 / var(--tw-text-opacity, 1))}.group.toast .group-\[\.toast\]\:text-muted-foreground{color:hsl(var(--muted-foreground))}.group.toast .group-\[\.toast\]\:text-primary-foreground{color:hsl(var(--primary-foreground))}.group.toaster .group-\[\.toaster\]\:text-foreground{color:hsl(var(--foreground))}.group.toaster .group-\[\.toaster\]\:shadow-lg{--tw-shadow:0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.group.destructive .group-\[\.destructive\]\:hover\:border-destructive\/30:hover{border-color:hsl(var(--destructive) / .3)}.group.destructive .group-\[\.destructive\]\:hover\:bg-destructive:hover{background-color:hsl(var(--destructive))}.group.destructive .group-\[\.destructive\]\:hover\:text-destructive-foreground:hover{color:hsl(var(--destructive-foreground))}.group.destructive .group-\[\.destructive\]\:hover\:text-red-50:hover{--tw-text-opacity:1;color:rgb(254 242 242 / var(--tw-text-opacity, 1))}.group.destructive .group-\[\.destructive\]\:focus\:ring-destructive:focus{--tw-ring-color:hsl(var(--destructive))}.group.destructive .group-\[\.destructive\]\:focus\:ring-red-400:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(248 113 113 / var(--tw-ring-opacity, 1))}.group.destructive .group-\[\.destructive\]\:focus\:ring-offset-red-600:focus{--tw-ring-offset-color:#dc2626}.peer\/menu-button:hover~.peer-hover\/menu-button\:text-sidebar-accent-foreground{color:hsl(var(--sidebar-accent-foreground))}.peer:disabled~.peer-disabled\:cursor-not-allowed{cursor:not-allowed}.peer:disabled~.peer-disabled\:opacity-70{opacity:.7}.has-\[\[data-variant\=inset\]\]\:bg-sidebar:has([data-variant=inset]){background-color:hsl(var(--sidebar-background))}.has-\[\:disabled\]\:opacity-50:has(:disabled){opacity:.5}.group\/menu-item:has([data-sidebar=menu-action]) .group-has-\[\[data-sidebar\=menu-action\]\]\/menu-item\:pr-8{padding-right:2rem}.aria-disabled\:pointer-events-none[aria-disabled=true]{pointer-events:none}.aria-disabled\:opacity-50[aria-disabled=true]{opacity:.5}.aria-selected\:bg-accent[aria-selected=true]{background-color:hsl(var(--accent))}.aria-selected\:bg-accent\/50[aria-selected=true]{background-color:hsl(var(--accent) / .5)}.aria-selected\:text-accent-foreground[aria-selected=true]{color:hsl(var(--accent-foreground))}.aria-selected\:text-muted-foreground[aria-selected=true]{color:hsl(var(--muted-foreground))}.aria-selected\:opacity-100[aria-selected=true]{opacity:1}.aria-selected\:opacity-30[aria-selected=true]{opacity:.3}.data-\[disabled\=true\]\:pointer-events-none[data-disabled=true],.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[panel-group-direction\=vertical\]\:h-px[data-panel-group-direction=vertical]{height:1px}.data-\[panel-group-direction\=vertical\]\:w-full[data-panel-group-direction=vertical]{width:100%}.data-\[side\=bottom\]\:translate-y-1[data-side=bottom]{--tw-translate-y:.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=left\]\:-translate-x-1[data-side=left]{--tw-translate-x:-.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=right\]\:translate-x-1[data-side=right]{--tw-translate-x:.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=top\]\:-translate-y-1[data-side=top]{--tw-translate-y:-.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[state\=checked\]\:translate-x-5[data-state=checked]{--tw-translate-x:1.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[state\=unchecked\]\:translate-x-0[data-state=unchecked],.data-\[swipe\=cancel\]\:translate-x-0[data-swipe=cancel]{--tw-translate-x:0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[swipe\=end\]\:translate-x-\[var\(--radix-toast-swipe-end-x\)\][data-swipe=end]{--tw-translate-x:var(--radix-toast-swipe-end-x);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[swipe\=move\]\:translate-x-\[var\(--radix-toast-swipe-move-x\)\][data-swipe=move]{--tw-translate-x:var(--radix-toast-swipe-move-x);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes accordion-up{0%{height:var(--radix-accordion-content-height)}to{height:0}}.data-\[state\=closed\]\:animate-accordion-up[data-state=closed]{animation:accordion-up .2s ease-out}@keyframes accordion-down{0%{height:0}to{height:var(--radix-accordion-content-height)}}.data-\[state\=open\]\:animate-accordion-down[data-state=open]{animation:accordion-down .2s ease-out}.data-\[panel-group-direction\=vertical\]\:flex-col[data-panel-group-direction=vertical]{flex-direction:column}.data-\[active\=true\]\:bg-sidebar-accent[data-active=true]{background-color:hsl(var(--sidebar-accent))}.data-\[active\]\:bg-accent\/50[data-active]{background-color:hsl(var(--accent) / .5)}.data-\[selected\=\'true\'\]\:bg-accent[data-selected=true]{background-color:hsl(var(--accent))}.data-\[state\=active\]\:bg-background[data-state=active]{background-color:hsl(var(--background))}.data-\[state\=active\]\:bg-muted[data-state=active]{background-color:hsl(var(--muted))}.data-\[state\=checked\]\:bg-primary[data-state=checked]{background-color:hsl(var(--primary))}.data-\[state\=on\]\:bg-accent[data-state=on],.data-\[state\=open\]\:bg-accent[data-state=open]{background-color:hsl(var(--accent))}.data-\[state\=open\]\:bg-accent\/50[data-state=open]{background-color:hsl(var(--accent) / .5)}.data-\[state\=open\]\:bg-secondary[data-state=open]{background-color:hsl(var(--secondary))}.data-\[state\=selected\]\:bg-muted[data-state=selected]{background-color:hsl(var(--muted))}.data-\[state\=unchecked\]\:bg-input[data-state=unchecked]{background-color:hsl(var(--input))}.data-\[active\=true\]\:font-medium[data-active=true]{font-weight:500}.data-\[active\=true\]\:text-sidebar-accent-foreground[data-active=true]{color:hsl(var(--sidebar-accent-foreground))}.data-\[selected\=true\]\:text-accent-foreground[data-selected=true]{color:hsl(var(--accent-foreground))}.data-\[state\=active\]\:text-foreground[data-state=active]{color:hsl(var(--foreground))}.data-\[state\=checked\]\:text-primary-foreground[data-state=checked]{color:hsl(var(--primary-foreground))}.data-\[state\=on\]\:text-accent-foreground[data-state=on],.data-\[state\=open\]\:text-accent-foreground[data-state=open]{color:hsl(var(--accent-foreground))}.data-\[state\=open\]\:text-muted-foreground[data-state=open]{color:hsl(var(--muted-foreground))}.data-\[disabled\=true\]\:opacity-50[data-disabled=true],.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[state\=open\]\:opacity-100[data-state=open]{opacity:1}.data-\[state\=active\]\:shadow-sm[data-state=active]{--tw-shadow:0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.data-\[swipe\=move\]\:transition-none[data-swipe=move]{transition-property:none}.data-\[state\=closed\]\:duration-300[data-state=closed]{transition-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{transition-duration:.5s}.data-\[motion\^\=from-\]\:animate-in[data-motion^=from-],.data-\[state\=open\]\:animate-in[data-state=open],.data-\[state\=visible\]\:animate-in[data-state=visible]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial}.data-\[motion\^\=to-\]\:animate-out[data-motion^=to-],.data-\[state\=closed\]\:animate-out[data-state=closed],.data-\[state\=hidden\]\:animate-out[data-state=hidden],.data-\[swipe\=end\]\:animate-out[data-swipe=end]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity:initial;--tw-exit-scale:initial;--tw-exit-rotate:initial;--tw-exit-translate-x:initial;--tw-exit-translate-y:initial}.data-\[motion\^\=from-\]\:fade-in[data-motion^=from-]{--tw-enter-opacity:0}.data-\[motion\^\=to-\]\:fade-out[data-motion^=to-],.data-\[state\=closed\]\:fade-out-0[data-state=closed]{--tw-exit-opacity:0}.data-\[state\=closed\]\:fade-out-80[data-state=closed]{--tw-exit-opacity:.8}.data-\[state\=hidden\]\:fade-out[data-state=hidden]{--tw-exit-opacity:0}.data-\[state\=open\]\:fade-in-0[data-state=open],.data-\[state\=visible\]\:fade-in[data-state=visible]{--tw-enter-opacity:0}.data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale:.95}.data-\[state\=open\]\:zoom-in-90[data-state=open]{--tw-enter-scale:.9}.data-\[state\=open\]\:zoom-in-95[data-state=open]{--tw-enter-scale:.95}.data-\[motion\=from-end\]\:slide-in-from-right-52[data-motion=from-end]{--tw-enter-translate-x:13rem}.data-\[motion\=from-start\]\:slide-in-from-left-52[data-motion=from-start]{--tw-enter-translate-x:-13rem}.data-\[motion\=to-end\]\:slide-out-to-right-52[data-motion=to-end]{--tw-exit-translate-x:13rem}.data-\[motion\=to-start\]\:slide-out-to-left-52[data-motion=to-start]{--tw-exit-translate-x:-13rem}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y:-.5rem}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x:.5rem}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x:-.5rem}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y:.5rem}.data-\[state\=closed\]\:slide-out-to-bottom[data-state=closed]{--tw-exit-translate-y:100%}.data-\[state\=closed\]\:slide-out-to-left[data-state=closed]{--tw-exit-translate-x:-100%}.data-\[state\=closed\]\:slide-out-to-left-1\/2[data-state=closed]{--tw-exit-translate-x:-50%}.data-\[state\=closed\]\:slide-out-to-right[data-state=closed],.data-\[state\=closed\]\:slide-out-to-right-full[data-state=closed]{--tw-exit-translate-x:100%}.data-\[state\=closed\]\:slide-out-to-top[data-state=closed]{--tw-exit-translate-y:-100%}.data-\[state\=closed\]\:slide-out-to-top-\[48\%\][data-state=closed]{--tw-exit-translate-y:-48%}.data-\[state\=open\]\:slide-in-from-bottom[data-state=open]{--tw-enter-translate-y:100%}.data-\[state\=open\]\:slide-in-from-left[data-state=open]{--tw-enter-translate-x:-100%}.data-\[state\=open\]\:slide-in-from-left-1\/2[data-state=open]{--tw-enter-translate-x:-50%}.data-\[state\=open\]\:slide-in-from-right[data-state=open]{--tw-enter-translate-x:100%}.data-\[state\=open\]\:slide-in-from-top[data-state=open]{--tw-enter-translate-y:-100%}.data-\[state\=open\]\:slide-in-from-top-\[48\%\][data-state=open]{--tw-enter-translate-y:-48%}.data-\[state\=open\]\:slide-in-from-top-full[data-state=open]{--tw-enter-translate-y:-100%}.data-\[state\=closed\]\:duration-300[data-state=closed]{animation-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{animation-duration:.5s}.data-\[panel-group-direction\=vertical\]\:after\:left-0[data-panel-group-direction=vertical]:after{content:var(--tw-content);left:0}.data-\[panel-group-direction\=vertical\]\:after\:h-1[data-panel-group-direction=vertical]:after{content:var(--tw-content);height:.25rem}.data-\[panel-group-direction\=vertical\]\:after\:w-full[data-panel-group-direction=vertical]:after{content:var(--tw-content);width:100%}.data-\[panel-group-direction\=vertical\]\:after\:-translate-y-1\/2[data-panel-group-direction=vertical]:after{content:var(--tw-content);--tw-translate-y:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[panel-group-direction\=vertical\]\:after\:translate-x-0[data-panel-group-direction=vertical]:after{content:var(--tw-content);--tw-translate-x:0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[state\=open\]\:hover\:bg-sidebar-accent:hover[data-state=open]{background-color:hsl(var(--sidebar-accent))}.data-\[state\=open\]\:hover\:text-sidebar-accent-foreground:hover[data-state=open]{color:hsl(var(--sidebar-accent-foreground))}.group[data-collapsible=offcanvas] .group-data-\[collapsible\=offcanvas\]\:left-\[calc\(var\(--sidebar-width\)\*-1\)\]{left:calc(var(--sidebar-width) * -1)}.group[data-collapsible=offcanvas] .group-data-\[collapsible\=offcanvas\]\:right-\[calc\(var\(--sidebar-width\)\*-1\)\]{right:calc(var(--sidebar-width) * -1)}.group[data-side=left] .group-data-\[side\=left\]\:-right-4{right:-1rem}.group[data-side=right] .group-data-\[side\=right\]\:left-0{left:0}.group[data-collapsible=icon] .group-data-\[collapsible\=icon\]\:-mt-8{margin-top:-2rem}.group[data-collapsible=icon] .group-data-\[collapsible\=icon\]\:hidden{display:none}.group[data-collapsible=icon] .group-data-\[collapsible\=icon\]\:\!size-8{width:2rem!important;height:2rem!important}.group[data-collapsible=icon] .group-data-\[collapsible\=icon\]\:w-\[--sidebar-width-icon\]{width:var(--sidebar-width-icon)}.group[data-collapsible=icon] .group-data-\[collapsible\=icon\]\:w-\[calc\(var\(--sidebar-width-icon\)_\+_theme\(spacing\.4\)\)\]{width:calc(var(--sidebar-width-icon) + 1rem)}.group[data-collapsible=icon] .group-data-\[collapsible\=icon\]\:w-\[calc\(var\(--sidebar-width-icon\)_\+_theme\(spacing\.4\)_\+2px\)\]{width:calc(var(--sidebar-width-icon) + 1rem + 2px)}.group[data-collapsible=offcanvas] .group-data-\[collapsible\=offcanvas\]\:w-0{width:0px}.group[data-collapsible=offcanvas] .group-data-\[collapsible\=offcanvas\]\:translate-x-0{--tw-translate-x:0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group[data-side=right] .group-data-\[side\=right\]\:rotate-180,.group[data-state=open] .group-data-\[state\=open\]\:rotate-180{--tw-rotate:180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group[data-collapsible=icon] .group-data-\[collapsible\=icon\]\:overflow-hidden{overflow:hidden}.group[data-variant=floating] .group-data-\[variant\=floating\]\:rounded-lg{border-radius:var(--radius)}.group[data-variant=floating] .group-data-\[variant\=floating\]\:border{border-width:1px}.group[data-side=left] .group-data-\[side\=left\]\:border-r{border-right-width:1px}.group[data-side=right] .group-data-\[side\=right\]\:border-l{border-left-width:1px}.group[data-variant=floating] .group-data-\[variant\=floating\]\:border-sidebar-border{border-color:hsl(var(--sidebar-border))}.group[data-collapsible=icon] .group-data-\[collapsible\=icon\]\:\!p-0{padding:0!important}.group[data-collapsible=icon] .group-data-\[collapsible\=icon\]\:\!p-2{padding:.5rem!important}.group[data-collapsible=icon] .group-data-\[collapsible\=icon\]\:opacity-0{opacity:0}.group[data-variant=floating] .group-data-\[variant\=floating\]\:shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.group[data-collapsible=offcanvas] .group-data-\[collapsible\=offcanvas\]\:after\:left-full:after{content:var(--tw-content);left:100%}.group[data-collapsible=offcanvas] .group-data-\[collapsible\=offcanvas\]\:hover\:bg-sidebar:hover{background-color:hsl(var(--sidebar-background))}.peer\/menu-button[data-size=default]~.peer-data-\[size\=default\]\/menu-button\:top-1\.5{top:.375rem}.peer\/menu-button[data-size=lg]~.peer-data-\[size\=lg\]\/menu-button\:top-2\.5{top:.625rem}.peer\/menu-button[data-size=sm]~.peer-data-\[size\=sm\]\/menu-button\:top-1{top:.25rem}.peer[data-variant=inset]~.peer-data-\[variant\=inset\]\:min-h-\[calc\(100svh-theme\(spacing\.4\)\)\]{min-height:calc(100svh - 1rem)}.peer\/menu-button[data-active=true]~.peer-data-\[active\=true\]\/menu-button\:text-sidebar-accent-foreground{color:hsl(var(--sidebar-accent-foreground))}.dark\:border-destructive:is(.dark *){border-color:hsl(var(--destructive))}@media (min-width: 640px){.sm\:bottom-0{bottom:0}.sm\:right-0{right:0}.sm\:top-auto{top:auto}.sm\:mt-0{margin-top:0}.sm\:flex{display:flex}.sm\:h-80{height:20rem}.sm\:max-w-lg{max-width:32rem}.sm\:max-w-sm{max-width:24rem}.sm\:flex-row{flex-direction:row}.sm\:flex-col{flex-direction:column}.sm\:justify-end{justify-content:flex-end}.sm\:gap-2\.5{gap:.625rem}.sm\:space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}.sm\:rounded-lg{border-radius:var(--radius)}.sm\:p-6{padding:1.5rem}.sm\:p-8{padding:2rem}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\:py-4{padding-top:1rem;padding-bottom:1rem}.sm\:text-left{text-align:left}.sm\:text-6xl{font-size:3.75rem;line-height:1}.sm\:text-lg{font-size:1.125rem;line-height:1.75rem}.sm\:text-xl{font-size:1.25rem;line-height:1.75rem}.data-\[state\=open\]\:sm\:slide-in-from-bottom-full[data-state=open]{--tw-enter-translate-y:100%}}@media (min-width: 768px){.md\:absolute{position:absolute}.md\:block{display:block}.md\:flex{display:flex}.md\:hidden{display:none}.md\:w-64{width:16rem}.md\:w-\[var\(--radix-navigation-menu-viewport-width\)\]{width:var(--radix-navigation-menu-viewport-width)}.md\:w-auto{width:auto}.md\:max-w-\[420px\]{max-width:420px}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:text-sm{font-size:.875rem;line-height:1.25rem}.md\:opacity-0{opacity:0}.after\:md\:hidden:after{content:var(--tw-content);display:none}.peer[data-variant=inset]~.md\:peer-data-\[variant\=inset\]\:m-2{margin:.5rem}.peer[data-state=collapsed][data-variant=inset]~.md\:peer-data-\[state\=collapsed\]\:peer-data-\[variant\=inset\]\:ml-2{margin-left:.5rem}.peer[data-variant=inset]~.md\:peer-data-\[variant\=inset\]\:ml-0{margin-left:0}.peer[data-variant=inset]~.md\:peer-data-\[variant\=inset\]\:rounded-xl{border-radius:.75rem}.peer[data-variant=inset]~.md\:peer-data-\[variant\=inset\]\:shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}}.\[\&\:has\(\[aria-selected\]\)\]\:bg-accent:has([aria-selected]){background-color:hsl(var(--accent))}.first\:\[\&\:has\(\[aria-selected\]\)\]\:rounded-l-md:has([aria-selected]):first-child{border-top-left-radius:calc(var(--radius) - 2px);border-bottom-left-radius:calc(var(--radius) - 2px)}.last\:\[\&\:has\(\[aria-selected\]\)\]\:rounded-r-md:has([aria-selected]):last-child{border-top-right-radius:calc(var(--radius) - 2px);border-bottom-right-radius:calc(var(--radius) - 2px)}.\[\&\:has\(\[aria-selected\]\.day-outside\)\]\:bg-accent\/50:has([aria-selected].day-outside){background-color:hsl(var(--accent) / .5)}.\[\&\:has\(\[aria-selected\]\.day-range-end\)\]\:rounded-r-md:has([aria-selected].day-range-end){border-top-right-radius:calc(var(--radius) - 2px);border-bottom-right-radius:calc(var(--radius) - 2px)}.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]){padding-right:0}.\[\&\>button\]\:hidden>button{display:none}.\[\&\>span\:last-child\]\:truncate>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.\[\&\>span\]\:line-clamp-1>span{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.\[\&\>svg\+div\]\:translate-y-\[-3px\]>svg+div{--tw-translate-y:-3px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\>svg\]\:absolute>svg{position:absolute}.\[\&\>svg\]\:left-4>svg{left:1rem}.\[\&\>svg\]\:top-4>svg{top:1rem}.\[\&\>svg\]\:size-3\.5>svg{width:.875rem;height:.875rem}.\[\&\>svg\]\:size-4>svg{width:1rem;height:1rem}.\[\&\>svg\]\:h-2\.5>svg{height:.625rem}.\[\&\>svg\]\:h-3>svg{height:.75rem}.\[\&\>svg\]\:w-2\.5>svg{width:.625rem}.\[\&\>svg\]\:w-3>svg{width:.75rem}.\[\&\>svg\]\:shrink-0>svg{flex-shrink:0}.\[\&\>svg\]\:text-destructive>svg{color:hsl(var(--destructive))}.\[\&\>svg\]\:text-foreground>svg{color:hsl(var(--foreground))}.\[\&\>svg\]\:text-muted-foreground>svg{color:hsl(var(--muted-foreground))}.\[\&\>svg\]\:text-sidebar-accent-foreground>svg{color:hsl(var(--sidebar-accent-foreground))}.\[\&\>svg\~\*\]\:pl-7>svg~*{padding-left:1.75rem}.\[\&\>tr\]\:last\:border-b-0:last-child>tr{border-bottom-width:0px}.\[\&\[data-panel-group-direction\=vertical\]\>div\]\:rotate-90[data-panel-group-direction=vertical]>div{--tw-rotate:90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\[data-state\=open\]\>svg\]\:rotate-180[data-state=open]>svg{--tw-rotate:180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text{fill:hsl(var(--muted-foreground))}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke="#ccc"]{stroke:hsl(var(--border) / .5)}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:hsl(var(--border))}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke="#fff"]{stroke:transparent}.\[\&_\.recharts-layer\]\:outline-none .recharts-layer{outline:2px solid transparent;outline-offset:2px}.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke="#ccc"]{stroke:hsl(var(--border))}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:hsl(var(--muted))}.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke="#ccc"]{stroke:hsl(var(--border))}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke="#fff"]{stroke:transparent}.\[\&_\.recharts-sector\]\:outline-none .recharts-sector,.\[\&_\.recharts-surface\]\:outline-none .recharts-surface{outline:2px solid transparent;outline-offset:2px}.\[\&_\[cmdk-group-heading\]\]\:px-2 [cmdk-group-heading]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-group-heading\]\]\:py-1\.5 [cmdk-group-heading]{padding-top:.375rem;padding-bottom:.375rem}.\[\&_\[cmdk-group-heading\]\]\:text-xs [cmdk-group-heading]{font-size:.75rem;line-height:1rem}.\[\&_\[cmdk-group-heading\]\]\:font-medium [cmdk-group-heading]{font-weight:500}.\[\&_\[cmdk-group-heading\]\]\:text-muted-foreground [cmdk-group-heading]{color:hsl(var(--muted-foreground))}.\[\&_\[cmdk-group\]\:not\(\[hidden\]\)_\~\[cmdk-group\]\]\:pt-0 [cmdk-group]:not([hidden])~[cmdk-group]{padding-top:0}.\[\&_\[cmdk-group\]\]\:px-2 [cmdk-group]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-input-wrapper\]_svg\]\:h-5 [cmdk-input-wrapper] svg{height:1.25rem}.\[\&_\[cmdk-input-wrapper\]_svg\]\:w-5 [cmdk-input-wrapper] svg{width:1.25rem}.\[\&_\[cmdk-input\]\]\:h-12 [cmdk-input]{height:3rem}.\[\&_\[cmdk-item\]\]\:px-2 [cmdk-item]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-item\]\]\:py-3 [cmdk-item]{padding-top:.75rem;padding-bottom:.75rem}.\[\&_\[cmdk-item\]_svg\]\:h-5 [cmdk-item] svg{height:1.25rem}.\[\&_\[cmdk-item\]_svg\]\:w-5 [cmdk-item] svg{width:1.25rem}.\[\&_p\]\:leading-relaxed p{line-height:1.625}.\[\&_svg\]\:pointer-events-none svg{pointer-events:none}.\[\&_svg\]\:size-4 svg{width:1rem;height:1rem}.\[\&_svg\]\:shrink-0 svg{flex-shrink:0}.\[\&_tr\:last-child\]\:border-0 tr:last-child{border-width:0px}.\[\&_tr\]\:border-b tr{border-bottom-width:1px}[data-side=left][data-collapsible=offcanvas] .\[\[data-side\=left\]\[data-collapsible\=offcanvas\]_\&\]\:-right-2{right:-.5rem}[data-side=left][data-state=collapsed] .\[\[data-side\=left\]\[data-state\=collapsed\]_\&\]\:cursor-e-resize{cursor:e-resize}[data-side=left] .\[\[data-side\=left\]_\&\]\:cursor-w-resize{cursor:w-resize}[data-side=right][data-collapsible=offcanvas] .\[\[data-side\=right\]\[data-collapsible\=offcanvas\]_\&\]\:-left-2{left:-.5rem}[data-side=right][data-state=collapsed] .\[\[data-side\=right\]\[data-state\=collapsed\]_\&\]\:cursor-w-resize{cursor:w-resize}[data-side=right] .\[\[data-side\=right\]_\&\]\:cursor-e-resize{cursor:e-resize} diff --git a/dist/assets/pdfjs-C0zYhOZa.js b/dist/assets/pdfjs-C0zYhOZa.js new file mode 100644 index 0000000000000000000000000000000000000000..18b54ee863fad54e51ad5bbf8bd8a141ff0f9dad --- /dev/null +++ b/dist/assets/pdfjs-C0zYhOZa.js @@ -0,0 +1,107 @@ +var OX=Object.defineProperty;var a_=s=>{throw TypeError(s)};var NX=(s,t,e)=>t in s?OX(s,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[t]=e;var R=(s,t,e)=>NX(s,typeof t!="symbol"?t+"":t,e),L8=(s,t,e)=>t.has(s)||a_("Cannot "+e);var f=(s,t,e)=>(L8(s,t,"read from private field"),e?e.call(s):t.get(s)),T=(s,t,e)=>t.has(s)?a_("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(s):t.set(s,e),x=(s,t,e,i)=>(L8(s,t,"write to private field"),i?i.call(s,e):t.set(s,e),e),S=(s,t,e)=>(L8(s,t,"access private method"),e);var Gs=(s,t,e,i)=>({set _(n){x(s,t,n,e)},get _(){return f(s,t,i)}});var LX=Object.defineProperty,m=(s,t)=>LX(s,"name",{value:t,configurable:!0}),zX=Object.defineProperty,_X=m((s,t,e)=>t in s?zX(s,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[t]=e,"__defNormalProp"),d1=m((s,t,e)=>_X(s,typeof t!="symbol"?t+"":t,e),"__publicField");function r_(){var s;typeof globalThis.DOMMatrix<"u"||(globalThis.DOMMatrix=(s=class{constructor(e){d1(this,"a"),d1(this,"b"),d1(this,"c"),d1(this,"d"),d1(this,"e"),d1(this,"f"),Array.isArray(e)&&e.length===6?(this.a=e[0],this.b=e[1],this.c=e[2],this.d=e[3],this.e=e[4],this.f=e[5]):(this.a=1,this.b=0,this.c=0,this.d=1,this.e=0,this.f=0)}translateSelf(e,i=0){return this.e=this.a*e+this.c*i+this.e,this.f=this.b*e+this.d*i+this.f,this}scaleSelf(e,i=e){return this.a*=e,this.b*=e,this.c*=i,this.d*=i,this}},m(s,"DOMMatrix"),s))}var sd,lU,cU;m(r_,"polyfillDOMMatrix"),r_(),typeof globalThis.FinalizationRegistry>"u"&&(globalThis.FinalizationRegistry=(sd=class{register(){}unregister(){}},m(sd,"FinalizationRegistry"),sd)),globalThis.navigator??(globalThis.navigator={}),(lU=globalThis.navigator).platform??(lU.platform=""),(cU=globalThis.navigator).userAgent??(cU.userAgent=""),typeof Promise.withResolvers>"u"&&(Promise.withResolvers=function(){let s,t;return{promise:new Promise((e,i)=>{s=e,t=i}),resolve:s,reject:t}}),typeof Map.prototype.getOrInsertComputed>"u"&&Object.defineProperty(Map.prototype,"getOrInsertComputed",{value(s,t){if(this.has(s))return this.get(s);const e=t(s);return this.set(s,e),e},writable:!0,configurable:!0}),typeof Uint8Array.prototype.toHex>"u"&&Object.defineProperty(Uint8Array.prototype,"toHex",{value(){let s="";for(let t=0;t=Ag.INFOS&&console.info(`Info: ${s}`)}m(ne,"info$1");function H(s){g8>=Ag.WARNINGS&&console.warn(`Warning: ${s}`)}m(H,"warn$1");function oe(s){throw new Error(s)}m(oe,"unreachable$1");function ss(s,t){s||oe(t)}m(ss,"assert$1");function bU(s){switch(s==null?void 0:s.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}m(bU,"_isValidProtocol$1");function Sg(s,t=null,e=null){var n;if(!s)return null;if(e&&typeof s=="string"&&(e.addDefaultProtocol&&s.startsWith("www.")&&((n=s.match(/\./g))==null?void 0:n.length)>=2&&(s=`http://${s}`),e.tryConvertEncoding))try{s=Xu(s)}catch{}const i=t?URL.parse(s,t):URL.parse(s);return bU(i)?i:null}m(Sg,"createValidAbsoluteUrl$1");function wU(s){return s.substring(s.lastIndexOf("/")+1)}m(wU,"stripPath$1");function mt(s,t,e,i=!1){return Object.defineProperty(s,t,{value:e,enumerable:!i,configurable:!0,writable:!1}),e}m(mt,"shadow$1");const Rn=m(function(){function s(t,e){this.message=t,this.name=e}return m(s,"BaseException"),s.prototype=new Error,s.constructor=s,s},"BaseExceptionClosure")();var id;let cp=(id=class extends Rn{constructor(t,e){super(t,"PasswordException"),this.code=e}},m(id,"PasswordException"),id);var nd;let z8=(nd=class extends Rn{constructor(t,e){super(t,"UnknownErrorException"),this.details=e}},m(nd,"UnknownErrorException"),nd);var ad;let Cg=(ad=class extends Rn{constructor(t){super(t,"InvalidPDFException")}},m(ad,"InvalidPDFException"),ad);var rd;let h_=(rd=class extends Rn{constructor(t,e,i){super(t,"ResponseException"),this.status=e,this.missing=i}},m(rd,"ResponseException"),rd);var od;let tt=(od=class extends Rn{constructor(t){super(t,"FormatError")}},m(od,"FormatError"),od);var ld;let Gi=(ld=class extends Rn{constructor(t){super(t,"AbortException")}},m(ld,"AbortException"),ld);function In(s){(typeof s!="object"||(s==null?void 0:s.length)===void 0)&&oe("Invalid argument for bytesToString");const t=s.length,e=8192;if(t>24&255,s>>16&255,s>>8&255,s&255)}m(Si,"string32$1");function b8(s){return Object.keys(s).length}m(b8,"objectSize");function jU(){const s=new Uint8Array(4);return s[0]=1,new Uint32Array(s.buffer,0,1)[0]===1}m(jU,"isLittleEndian$1");function yU(){try{return new Function(""),!0}catch{return!1}}m(yU,"isEvalSupported$1");var cd;let Ji=(cd=class{static get isLittleEndian(){return mt(this,"isLittleEndian",jU())}static get isEvalSupported(){return mt(this,"isEvalSupported",yU())}static get isOffscreenCanvasSupported(){return mt(this,"isOffscreenCanvasSupported",typeof OffscreenCanvas<"u")}static get isImageDecoderSupported(){return mt(this,"isImageDecoderSupported",typeof ImageDecoder<"u")}static get isFloat16ArraySupported(){return mt(this,"isFloat16ArraySupported",typeof Float16Array<"u")}static get isSanitizerSupported(){return mt(this,"isSanitizerSupported",typeof Sanitizer<"u")}static get platform(){const{platform:t,userAgent:e}=navigator;return mt(this,"platform",{isAndroid:e.includes("Android"),isLinux:t.includes("Linux"),isMac:t.includes("Mac"),isWindows:t.includes("Win"),isFirefox:e.includes("Firefox")})}static get isCSSRoundSupported(){var t,e;return mt(this,"isCSSRoundSupported",(e=(t=globalThis.CSS)==null?void 0:t.supports)==null?void 0:e.call(t,"width: round(1.5px, 1px)"))}},m(cd,"FeatureTest"),cd);const Hm=Array.from(Array(256).keys(),s=>s.toString(16).padStart(2,"0"));var Kl,mf,U9,r7;let Te=(mf=class{static makeHexColor(t,e,i){return`#${Hm[t]}${Hm[e]}${Hm[i]}`}static domMatrixToTransform(t){return[t.a,t.b,t.c,t.d,t.e,t.f]}static scaleMinMax(t,e){let i;t[0]?(t[0]<0&&(i=e[0],e[0]=e[2],e[2]=i),e[0]*=t[0],e[2]*=t[0],t[3]<0&&(i=e[1],e[1]=e[3],e[3]=i),e[1]*=t[3],e[3]*=t[3]):(i=e[0],e[0]=e[1],e[1]=i,i=e[2],e[2]=e[3],e[3]=i,t[1]<0&&(i=e[1],e[1]=e[3],e[3]=i),e[1]*=t[1],e[3]*=t[1],t[2]<0&&(i=e[0],e[0]=e[2],e[2]=i),e[0]*=t[2],e[2]*=t[2]),e[0]+=t[4],e[1]+=t[5],e[2]+=t[4],e[3]+=t[5]}static transform(t,e){return[t[0]*e[0]+t[2]*e[1],t[1]*e[0]+t[3]*e[1],t[0]*e[2]+t[2]*e[3],t[1]*e[2]+t[3]*e[3],t[0]*e[4]+t[2]*e[5]+t[4],t[1]*e[4]+t[3]*e[5]+t[5]]}static multiplyByDOMMatrix(t,e){return[t[0]*e.a+t[2]*e.b,t[1]*e.a+t[3]*e.b,t[0]*e.c+t[2]*e.d,t[1]*e.c+t[3]*e.d,t[0]*e.e+t[2]*e.f+t[4],t[1]*e.e+t[3]*e.f+t[5]]}static applyTransform(t,e,i=0){const n=t[i],a=t[i+1];t[i]=n*e[0]+a*e[2]+e[4],t[i+1]=n*e[1]+a*e[3]+e[5]}static applyTransformToBezier(t,e,i=0){const n=e[0],a=e[1],r=e[2],o=e[3],l=e[4],c=e[5];for(let h=0;h<6;h+=2){const u=t[i+h],d=t[i+h+1];t[i+h]=u*n+d*r+l,t[i+h+1]=u*a+d*o+c}}static applyInverseTransform(t,e){const i=t[0],n=t[1],a=e[0]*e[3]-e[1]*e[2];t[0]=(i*e[3]-n*e[2]+e[2]*e[5]-e[4]*e[3])/a,t[1]=(-i*e[1]+n*e[0]+e[4]*e[1]-e[5]*e[0])/a}static axialAlignedBoundingBox(t,e,i){const n=e[0],a=e[1],r=e[2],o=e[3],l=e[4],c=e[5],h=t[0],u=t[1],d=t[2],p=t[3];let g=n*h+l,b=g,w=n*d+l,y=w,j=o*u+c,k=j,q=o*p+c,A=q;if(a!==0||r!==0){const I=a*h,C=a*d,F=r*u,E=r*p;g+=F,y+=F,w+=E,b+=E,j+=I,A+=I,q+=C,k+=C}i[0]=Math.min(i[0],g,w,b,y),i[1]=Math.min(i[1],j,q,k,A),i[2]=Math.max(i[2],g,w,b,y),i[3]=Math.max(i[3],j,q,k,A)}static inverseTransform(t){const e=t[0]*t[3]-t[1]*t[2];return[t[3]/e,-t[1]/e,-t[2]/e,t[0]/e,(t[2]*t[5]-t[4]*t[3])/e,(t[4]*t[1]-t[5]*t[0])/e]}static singularValueDecompose2dScale(t,e){const i=t[0],n=t[1],a=t[2],r=t[3],o=i**2+n**2,l=i*a+n*r,c=a**2+r**2,h=(o+c)/2,u=Math.sqrt(h**2-(o*c-l**2));e[0]=Math.sqrt(h+u||1),e[1]=Math.sqrt(h-u||1)}static normalizeRect(t){const e=t.slice(0);return t[0]>t[2]&&(e[0]=t[2],e[2]=t[0]),t[1]>t[3]&&(e[1]=t[3],e[3]=t[1]),e}static intersect(t,e){const i=Math.max(Math.min(t[0],t[2]),Math.min(e[0],e[2])),n=Math.min(Math.max(t[0],t[2]),Math.max(e[0],e[2]));if(i>n)return null;const a=Math.max(Math.min(t[1],t[3]),Math.min(e[1],e[3])),r=Math.min(Math.max(t[1],t[3]),Math.max(e[1],e[3]));return a>r?null:[i,a,n,r]}static pointBoundingBox(t,e,i){i[0]=Math.min(i[0],t),i[1]=Math.min(i[1],e),i[2]=Math.max(i[2],t),i[3]=Math.max(i[3],e)}static rectBoundingBox(t,e,i,n,a){a[0]=Math.min(a[0],t,i),a[1]=Math.min(a[1],e,n),a[2]=Math.max(a[2],t,i),a[3]=Math.max(a[3],e,n)}static bezierBoundingBox(t,e,i,n,a,r,o,l,c){c[0]=Math.min(c[0],t,o),c[1]=Math.min(c[1],e,l),c[2]=Math.max(c[2],t,o),c[3]=Math.max(c[3],e,l),S(this,Kl,r7).call(this,t,i,a,o,e,n,r,l,3*(-t+3*(i-a)+o),6*(t-2*i+a),3*(i-t),c),S(this,Kl,r7).call(this,t,i,a,o,e,n,r,l,3*(-e+3*(n-r)+l),6*(e-2*n+r),3*(n-e),c)}},Kl=new WeakSet,U9=function(t,e,i,n,a,r,o,l,c,h){if(c<=0||c>=1)return;const u=1-c,d=c*c,p=d*c,g=u*(u*(u*t+3*c*e)+3*d*i)+p*n,b=u*(u*(u*a+3*c*r)+3*d*o)+p*l;h[0]=Math.min(h[0],g),h[1]=Math.min(h[1],b),h[2]=Math.max(h[2],g),h[3]=Math.max(h[3],b)},r7=function(t,e,i,n,a,r,o,l,c,h,u,d){if(Math.abs(c)<1e-12){Math.abs(h)>=1e-12&&S(this,Kl,U9).call(this,t,e,i,n,a,r,o,l,-u/h,d);return}const p=h**2-4*u*c;if(p<0)return;const g=Math.sqrt(p),b=2*c;S(this,Kl,U9).call(this,t,e,i,n,a,r,o,l,(-h+g)/b,d),S(this,Kl,U9).call(this,t,e,i,n,a,r,o,l,(-h-g)/b,d)},T(mf,Kl),m(mf,"Util"),mf);const VX=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,728,711,710,729,733,731,730,732,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8226,8224,8225,8230,8212,8211,402,8260,8249,8250,8722,8240,8222,8220,8221,8216,8217,8218,8482,64257,64258,321,338,352,376,381,305,322,339,353,382,0,8364];function ce(s,t=!1){if(s[0]>="ï"){let i;if(s[0]==="þ"&&s[1]==="ÿ"?(i="utf-16be",s.length%2===1&&(s=s.slice(0,-1))):s[0]==="ÿ"&&s[1]==="þ"?(i="utf-16le",s.length%2===1&&(s=s.slice(0,-1))):s[0]==="ï"&&s[1]==="»"&&s[2]==="¿"&&(i="utf-8"),i)try{const n=new TextDecoder(i,{fatal:!0}),a=Ki(s),r=n.decode(a);return t||!r.includes("\x1B")?r:r.replaceAll(/\x1b[^\x1b]*(?:\x1b|$)/g,"")}catch(n){H(`stringToPDFString: "${n}".`)}}const e=[];for(let i=0,n=s.length;ie?e.normalize("NFKC"):f_.get(i))}m(vU,"normalizeUnicode$1");const WX="pdfjs_internal_id_";function kU(s,t,e){if(!Array.isArray(e)||e.length<2)return!1;const[i,n,...a]=e;if(!s(i)&&!Number.isInteger(i)||!t(n))return!1;const r=a.length;let o=!0;switch(n.name){case"XYZ":if(r<2||r>3)return!1;break;case"Fit":case"FitB":return r===0;case"FitH":case"FitBH":case"FitV":case"FitBV":if(r>1)return!1;break;case"FitR":if(r!==4)return!1;o=!1;break;default:return!1}for(const l of a)if(!(typeof l=="number"||o&&l===null))return!1;return!0}m(kU,"_isValidExplicitDest$1");const w8=m(()=>[],"makeArr$1"),KX=m(()=>new Map,"makeMap$1"),XX=m(()=>Object.create(null),"makeObj$1");function Ys(s,t,e){return Math.min(Math.max(s,t),e)}m(Ys,"MathClamp$1"),typeof Math.sumPrecise!="function"&&(Math.sumPrecise=function(s){return s.reduce((t,e)=>t+e,0)});const YX=Symbol("CIRCULAR_REF"),Ci=Symbol("EOF");let G9=Object.create(null),$9=Object.create(null),k1=Object.create(null);function qU(){G9=Object.create(null),$9=Object.create(null),k1=Object.create(null)}m(qU,"clearPrimitiveCaches");const K6=class K6{constructor(t){this.name=t}static get(t){return $9[t]||($9[t]=new K6(t))}};m(K6,"Name");let at=K6;const X6=class X6{constructor(t){this.cmd=t}static get(t){return G9[t]||(G9[t]=new X6(t))}};m(X6,"Cmd");let Xs=X6;const xU=m(function(){return xU},"nonSerializableClosure");var an,hd,V9;const Oa=class Oa{constructor(t=null){T(this,hd);R(this,"__nonSerializable__",xU);T(this,an,new Map);R(this,"objId",null);R(this,"suppressEncryption",!1);R(this,"xref");this.xref=t}assignXref(t){this.xref=t}get size(){return f(this,an).size}get(t,e,i){return S(this,hd,V9).call(this,!1,t,e,i)}async getAsync(t,e,i){return S(this,hd,V9).call(this,!0,t,e,i)}getArray(t,e,i){let n=S(this,hd,V9).call(this,!1,t,e,i);if(Array.isArray(n)){n=n.slice();for(let a=0,r=n.length;a{oe("Should not call `set` on the empty dictionary.")},mt(this,"empty",t)}static merge({xref:t,dictArray:e,mergeSubDicts:i=!1}){const n=new Oa(t),a=new Map;for(const r of e)if(r instanceof Oa)for(const[o,l]of r.getRawEntries()){let c=a.get(o);if(c===void 0)c=[],a.set(o,c);else if(!i||!(l instanceof Oa))continue;c.push(l)}for(const[r,o]of a){if(o.length===1||!(o[0]instanceof Oa)){n.set(r,o[0]);continue}const l=new Oa(t);for(const c of o)for(const[h,u]of c.getRawEntries())l.setIfNotExists(h,u);l.size>0&&n.set(r,l)}return a.clear(),n.size>0?n:Oa.empty}clone(){const t=new Oa(this.xref);for(const[e,i]of f(this,an))t.set(e,i);return t}delete(t){f(this,an).delete(t)}};an=new WeakMap,hd=new WeakSet,V9=function(t,e,i,n){let a=f(this,an).get(e);return a===void 0&&i!==void 0&&(a=f(this,an).get(i),a===void 0&&n!==void 0&&(a=f(this,an).get(n))),a instanceof ft&&this.xref?t?this.xref.fetchAsync(a,this.suppressEncryption):this.xref.fetch(a,this.suppressEncryption):a},m(Oa,"Dict");let z=Oa;const tg=class tg{constructor(t,e){this.num=t,this.gen=e}toString(){return this.gen===0?`${this.num}R`:`${this.num}R${this.gen}`}static fromString(t){const e=k1[t];if(e)return e;const i=/^(\d+)R(\d*)$/.exec(t);return!i||i[1]==="0"?null:k1[t]=new tg(parseInt(i[1]),i[2]?parseInt(i[2]):0)}static get(t,e){const i=e===0?`${t}R`:`${t}R${e}`;return k1[i]||(k1[i]=new tg(t,e))}};m(tg,"Ref");let ft=tg;const LF=class LF{constructor(t=null){this._set=new Set(t==null?void 0:t._set)}has(t){return this._set.has(t.toString())}put(t){this._set.add(t.toString())}remove(t){this._set.delete(t.toString())}[Symbol.iterator](){return this._set.values()}clear(){this._set.clear()}};m(LF,"RefSet");let is=LF;const zF=class zF{constructor(){R(this,"_map",new Map)}get size(){return this._map.size}get(t){return this._map.get(t.toString())}has(t){return this._map.has(t.toString())}put(t,e){this._map.set(t.toString(),e)}putAlias(t,e){this._map.set(t.toString(),this.get(e))}[Symbol.iterator](){return this._map.values()}clear(){this._map.clear()}*values(){yield*this._map.values()}*items(){for(const[t,e]of this._map)yield[ft.fromString(t),e]}*keys(){for(const t of this._map.keys())yield ft.fromString(t)}};m(zF,"RefSetCache");let Os=zF;function we(s,t){return s instanceof at&&(t===void 0||s.name===t)}m(we,"isName");function oi(s,t){return s instanceof Xs&&(t===void 0||s.cmd===t)}m(oi,"isCmd");function IT(s,t){return s instanceof z&&(t===void 0||we(s.get("Type"),t))}m(IT,"isDict");function Ig(s,t){return s.num===t.num&&s.gen===t.gen}m(Ig,"isRefsEqual");const _F=class _F{get length(){oe("Abstract getter `length` accessed")}get isEmpty(){oe("Abstract getter `isEmpty` accessed")}get isDataLoaded(){return mt(this,"isDataLoaded",!0)}getByte(){oe("Abstract method `getByte` called")}getBytes(t){oe("Abstract method `getBytes` called")}async getImageData(t,e){return this.getBytes(t,e)}async asyncGetBytes(){oe("Abstract method `asyncGetBytes` called")}get isAsync(){return!1}get isAsyncDecoder(){return!1}get isImageStream(){return!1}get canAsyncDecodeImageFromBuffer(){return!1}async getTransferableImage(){return null}peekByte(){const t=this.getByte();return t!==-1&&this.pos--,t}peekBytes(t){const e=this.getBytes(t);return this.pos-=e.length,e}getUint16(){const t=this.getByte(),e=this.getByte();return t===-1||e===-1?-1:(t<<8)+e}getInt32(){const t=this.getByte(),e=this.getByte(),i=this.getByte(),n=this.getByte();return(t<<24)+(e<<16)+(i<<8)+n}getByteRange(t,e){oe("Abstract method `getByteRange` called")}getString(t){return In(this.getBytes(t))}skip(t){this.pos+=t||1}reset(){oe("Abstract method `reset` called")}moveStart(){oe("Abstract method `moveStart` called")}makeSubStream(t,e,i=null){oe("Abstract method `makeSubStream` called")}getBaseStreams(){return null}getOriginalStream(){var t;return((t=this.stream)==null?void 0:t.getOriginalStream())||this}};m(_F,"BaseStream");let Qt=_F;const AU=/^[1-9]\.\d$/,o7=2**31-1,QX=-2147483648,zr=[1,0,0,1,0,0],l7=["ColorSpace","ExtGState","Font","Pattern","Properties","Shading","XObject"],c7=["ExtGState","Font","Properties","XObject"];function ps(s){let t;return function(){return s&&(t=Object.create(null),s(t),s=null),t}}m(ps,"getLookupTableFactory");const UF=class UF extends Rn{constructor(t,e){super(`Missing data [${t}, ${e})`,"MissingDataException"),this.begin=t,this.end=e}};m(UF,"MissingDataException");let $e=UF;const GF=class GF extends Rn{constructor(t){super(t,"ParserEOFException")}};m(GF,"ParserEOFException");let Tg=GF;const $F=class $F extends Rn{constructor(t){super(t,"XRefEntryException")}};m($F,"XRefEntryException");let Ro=$F;const VF=class VF extends Rn{constructor(t){super(t,"XRefParseException")}};m(VF,"XRefParseException");let _l=VF;function TT(s){const t=s.length;if(t===0)return new Uint8Array(0);if(t===1)return new Uint8Array(s[0]);let e=0;for(let a=0;a0,"The number should be a positive integer.");const e="M".repeat(s/1e3|0)+U8[s%1e3/100|0]+U8[10+(s%100/10|0)]+U8[20+s%10];return t?e.toLowerCase():e}m(CU,"toRomanNumerals");function j8(s){return s>0?Math.ceil(Math.log2(s)):0}m(j8,"log2");function br(s,t){return s[t]<<24>>24}m(br,"readInt8");function Fo(s,t){return(s[t]<<24|s[t+1]<<16)>>16}m(Fo,"readInt16");function fe(s,t){return s[t]<<8|s[t+1]}m(fe,"readUint16");function Pe(s,t){return(s[t]<<24|s[t+1]<<16|s[t+2]<<8|s[t+3])>>>0}m(Pe,"readUint32");function Jn(s){return s===32||s===9||s===13||s===10}m(Jn,"isWhiteSpace");function IU(s,t){return Array.isArray(s)&&s.length===t&&s.every(e=>typeof e=="boolean")}m(IU,"isBooleanArray");function fn(s,t){return Array.isArray(s)?(t===null||s.length===t)&&s.every(e=>typeof e=="number"):ArrayBuffer.isView(s)&&!(s instanceof BigInt64Array||s instanceof BigUint64Array)&&(t===null||s.length===t)}m(fn,"isNumberArray");function Hl(s,t){return fn(s,6)?s:t}m(Hl,"lookupMatrix");function Fg(s,t){return fn(s,4)?s:t}m(Fg,"lookupRect");function Po(s,t){return fn(s,4)?Te.normalizeRect(s):t}m(Po,"lookupNormalRect");function FT(s){const t=/(.+)\[(\d+)\]$/;return s.split(".").map(e=>{const i=e.match(t);return i?{name:i[1],pos:parseInt(i[2],10)}:{name:e,pos:0}})}m(FT,"parseXFAPath");function y8(s){const t=[];let e=0;for(let i=0,n=s.length;i126||a===35||a===40||a===41||a===60||a===62||a===91||a===93||a===123||a===125||a===47||a===37)&&(et===` +`?"\\n":t==="\r"?"\\r":`\\${t}`)}m(Yu,"escapeString");function Eg(s,t,e,i){if(!s)return;let n=null;if(s instanceof ft){if(i.has(s))return;n=s,i.put(n),s=t.fetch(s)}if(Array.isArray(s))for(const a of s)Eg(a,t,e,i);else if(s instanceof z){if(we(s.get("S"),"JavaScript")){const a=s.get("JS");let r;a instanceof Qt?r=a.getString():typeof a=="string"&&(r=a),r&&(r=ce(r,!0).replaceAll("\0","")),r&&e.push(r.trim())}Eg(s.getRaw("Next"),t,e,i)}n&&i.remove(n)}m(Eg,"_collectJS");function n9(s,t,e){const i=Object.create(null),n=Yn({dict:t,key:"AA",stopWhenFound:!1});if(n)for(let a=n.length-1;a>=0;a--){const r=n[a];if(r instanceof z)for(const[o,l]of r.getRawEntries()){const c=e[o];if(!c)continue;const h=new is,u=[];Eg(l,s,u,h),u.length>0&&(i[c]=u)}}if(t.has("A")){const a=t.get("A"),r=new is,o=[];Eg(a,s,o,r),o.length>0&&(i.Action=o)}return b8(i)>0?i:null}m(n9,"collectActions");const JX={60:"<",62:">",38:"&",34:""",39:"'"};function*TU(s){for(let t=0,e=s.length;t55295&&(i<57344||i>65533)&&t++,yield i}}m(TU,"codePointIter");function _u(s){const t=[];let e=0;for(let i=0,n=s.length;i55295&&(a<57344||a>65533)&&i++,e=i+1}return t.length===0?s:(e: ${s}.`),!1;return!0}m(i3,"validateFontName");function FU(s){const t=new Set(["100","200","300","400","500","600","700","800","900","1000","normal","bold","bolder","lighter"]),{fontFamily:e,fontWeight:i,italicAngle:n}=s;if(!i3(e,!0))return!1;const a=i?i.toString():"";s.fontWeight=t.has(a)?a:"400";const r=parseFloat(n);return s.italicAngle=isNaN(r)||r<-90||r>90?"14":n.toString(),!0}m(FU,"validateCSSFont");function ET(s){const t=["app.launchURL","window.open","xfa.host.gotoURL"],e=new RegExp("^\\s*("+t.join("|").replaceAll(".","\\.")+`)\\((?:'|")([^'"]*)(?:'|")(?:,\\s*(\\w+)\\)|\\))`,"i").exec(s);return e!=null&&e[2]?{url:e[2],newWindow:e[1]==="app.launchURL"&&e[3]==="true"}:null}m(ET,"recoverJsURL");function me(s){if(Number.isInteger(s))return s.toString();const t=Math.round(s*100);return t%100===0?(t/100).toString():t%10===0?s.toFixed(1):s.toFixed(2)}m(me,"numberToString");function v8(s){if(!s)return null;const t=new Map;for(const[e,i]of s)e.startsWith(fU)&&t.getOrInsertComputed(i.pageIndex,w8).push(i);return t.size>0?t:null}m(v8,"getNewAnnotationsMap");function Ii(s){return s==null||EU(s)?s:RT(s,!0)}m(Ii,"stringToAsciiOrUTF16BE");function EU(s){return typeof s!="string"?!1:!s||/^[\x00-\x7F]*$/.test(s)}m(EU,"isAscii");function RU(s){const t=[];for(let e=0,i=s.length;e>8&255],Hm[n&255])}return t.join("")}m(RU,"stringToUTF16HexString");function RT(s,t=!1){const e=[];t&&e.push("þÿ");for(let i=0,n=s.length;i>8&255),String.fromCharCode(a&255))}return e.join("")}m(RT,"stringToUTF16String");function Rg(s,t,e){switch(s){case 90:return[0,1,-1,0,t,0];case 180:return[-1,0,0,-1,t,e];case 270:return[0,-1,1,0,0,e];default:throw new Error("Invalid rotation")}}m(Rg,"getRotationMatrix");function f7(s){return Math.ceil(Math.ceil(Math.log2(1+s))/8)}m(f7,"getSizeInBytes");var Hb;const pr=class pr{static get _memoryArray(){const t=f(this,Hb);return t!=null&&t.byteLength?t:x(this,Hb,new Uint8Array(this._memory.buffer))}};Hb=new WeakMap,m(pr,"QCMS"),T(pr,Hb,null),R(pr,"_memory",null),R(pr,"_mustAddAlpha",!1),R(pr,"_destBuffer",null),R(pr,"_destOffset",0),R(pr,"_destLength",0),R(pr,"_cssColor",""),R(pr,"_makeHexColor",null);let ai=pr;function MU(s,t){const{_mustAddAlpha:e,_destBuffer:i,_destOffset:n,_destLength:a,_memoryArray:r}=ai;if(t===a){i.set(r.subarray(s,s+t),n);return}if(e)for(let o=s,l=s+t,c=n;o{throw Error("TextDecoder not available")},"decode")};typeof TextDecoder<"u"&&PU.decode();let tm=null;function MT(){return(tm===null||tm.byteLength===0)&&(tm=new Uint8Array(Tn.memory.buffer)),tm}m(MT,"getUint8ArrayMemory0");function HU(s,t){return s=s>>>0,PU.decode(MT().subarray(s,s+t))}m(HU,"getStringFromWasm0");let BT=0;function DT(s,t){const e=t(s.length*1,1)>>>0;return MT().set(s,e/1),BT=s.length,e}m(DT,"passArray8ToWasm0");function OU(s,t){const e=DT(t,Tn.__wbindgen_malloc),i=BT;Tn.qcms_convert_array(s,e,i)}m(OU,"qcms_convert_array");function NU(s,t,e){Tn.qcms_convert_one(s,t,e)}m(NU,"qcms_convert_one");function LU(s,t,e,i,n){Tn.qcms_convert_three(s,t,e,i,n)}m(LU,"qcms_convert_three");function zU(s,t,e,i,n,a){Tn.qcms_convert_four(s,t,e,i,n,a)}m(zU,"qcms_convert_four");function _U(s,t,e){const i=DT(s,Tn.__wbindgen_malloc),n=BT;return Tn.qcms_transformer_from_memory(i,n,t,e)>>>0}m(_U,"qcms_transformer_from_memory");function UU(s){Tn.qcms_drop_transformer(s)}m(UU,"qcms_drop_transformer");const G8=Object.freeze({RGB8:0,0:"RGB8",RGBA8:1,1:"RGBA8",BGRA8:2,2:"BGRA8",Gray8:3,3:"Gray8",GrayA8:4,4:"GrayA8",CMYK:5,5:"CMYK"}),ZX=Object.freeze({Perceptual:0,0:"Perceptual",RelativeColorimetric:1,1:"RelativeColorimetric",Saturation:2,2:"Saturation",AbsoluteColorimetric:3,3:"AbsoluteColorimetric"});function GU(){const s={};return s.wbg={},s.wbg.__wbg_copyresult_b08ee7d273f295dd=function(t,e){MU(t>>>0,e>>>0)},s.wbg.__wbg_copyrgb_d60ce17bb05d9b67=function(t){BU(t>>>0)},s.wbg.__wbg_makecssRGB_893bf0cd9fdb302d=function(t){DU(t>>>0)},s.wbg.__wbindgen_init_externref_table=function(){const t=Tn.__wbindgen_export_0,e=t.grow(4);t.set(0,void 0),t.set(e+0,void 0),t.set(e+1,null),t.set(e+2,!0),t.set(e+3,!1)},s.wbg.__wbindgen_throw=function(t,e){throw new Error(HU(t,e))},s}m(GU,"__wbg_get_imports");function $U(s,t){return Tn=s.exports,tm=null,Tn.__wbindgen_start(),Tn}m($U,"__wbg_finalize_init");function VU(s){if(Tn!==void 0)return Tn;typeof s<"u"&&(Object.getPrototypeOf(s)===Object.prototype?{module:s}=s:console.warn("using deprecated parameters for `initSync()`; pass a single object instead"));const t=GU();s instanceof WebAssembly.Module||(s=new WebAssembly.Module(s));const e=new WebAssembly.Instance(s,t);return $U(e)}m(VU,"initSync");function WU(s,t,e,i,n,a,r){r=r!==1?0:r;const o=e/n,l=i/a;let c=0,h;const u=new Uint16Array(n),d=e*3;for(let p=0;pt&&(ne("Truncating too long decode map."),s.length=t),!1)}m(PT,"isDefaultDecodeHelper");var Y6;const W1=class W1{constructor(t,e){this.name=t,this.numComps=e}getRgb(t,e,i=new Uint8ClampedArray(3)){return this.getRgbItem(t,e,i,0),i}getRgbHex(t,e){const i=this.getRgb(t,e,f(W1,Y6));return Te.makeHexColor(i[0],i[1],i[2])}getRgbItem(t,e,i,n){oe("Should not call ColorSpace.getRgbItem")}getRgbBuffer(t,e,i,n,a,r,o){oe("Should not call ColorSpace.getRgbBuffer")}getOutputLength(t,e){oe("Should not call ColorSpace.getOutputLength")}isPassthrough(t){return!1}isDefaultDecode(t,e){return W1.isDefaultDecode(t,this.numComps)}fillRgb(t,e,i,n,a,r,o,l,c){const h=e*i;let u=null;const d=1<d&&this.name!=="DeviceGray"&&this.name!=="DeviceRGB"){const g=o<=8?new Uint8Array(d):new Uint16Array(d);for(let w=0;w=.99554525?1:Ys((1+.055)*e**(1/2.4)-.055,0,1)},x1=function(e){return e<0?-S(this,Ve,x1).call(this,-e):e>8?((e+16)/116)**3:e*f(ws,Z6)},JU=function(e,i,n){if(e[0]===0&&e[1]===0&&e[2]===0){n[0]=i[0],n[1]=i[1],n[2]=i[2];return}const a=S(this,Ve,x1).call(this,0),r=a,o=S(this,Ve,x1).call(this,e[0]),l=a,c=S(this,Ve,x1).call(this,e[1]),h=a,u=S(this,Ve,x1).call(this,e[2]),d=(1-r)/(1-o),p=1-d,g=(1-l)/(1-c),b=1-g,w=(1-h)/(1-u),y=1-w;n[0]=i[0]*d+p,n[1]=i[1]*g+b,n[2]=i[2]*w+y},ZU=function(e,i,n){if(e[0]===1&&e[2]===1){n[0]=i[0],n[1]=i[1],n[2]=i[2];return}const a=n;S(this,Ve,q1).call(this,f(ws,Lb),i,a);const r=f(ws,_b);S(this,Ve,YU).call(this,e,a,r),S(this,Ve,q1).call(this,f(ws,zb),r,n)},tG=function(e,i,n){const a=n;S(this,Ve,q1).call(this,f(ws,Lb),i,a);const r=f(ws,_b);S(this,Ve,QU).call(this,e,a,r),S(this,Ve,q1).call(this,f(ws,zb),r,n)},v7=function(e,i,n,a,r){const o=Ys(e[i]*r,0,1),l=Ys(e[i+1]*r,0,1),c=Ys(e[i+2]*r,0,1),h=o===1?1:o**this.GR,u=l===1?1:l**this.GG,d=c===1?1:c**this.GB,p=this.MXA*h+this.MXB*u+this.MXC*d,g=this.MYA*h+this.MYB*u+this.MYC*d,b=this.MZA*h+this.MZB*u+this.MZC*d,w=f(ws,fd);w[0]=p,w[1]=g,w[2]=b;const y=f(ws,Ub);S(this,Ve,ZU).call(this,this.whitePoint,w,y);const j=f(ws,fd);S(this,Ve,JU).call(this,this.blackPoint,y,j);const k=f(ws,Ub);S(this,Ve,tG).call(this,f(ws,J6),j,k);const q=f(ws,fd);S(this,Ve,q1).call(this,f(ws,Q6),k,q),n[a]=S(this,Ve,W9).call(this,q[0])*255,n[a+1]=S(this,Ve,W9).call(this,q[1])*255,n[a+2]=S(this,Ve,W9).call(this,q[2])*255},m(ws,"CalRGBCS"),T(ws,Lb,new Float32Array([.8951,.2664,-.1614,-.7502,1.7135,.0367,.0389,-.0685,1.0296])),T(ws,zb,new Float32Array([.9869929,-.1470543,.1599627,.4323053,.5183603,.0492912,-.0085287,.0400428,.9684867])),T(ws,Q6,new Float32Array([3.2404542,-1.5371385,-.4985314,-.969266,1.8760108,.041556,.0556434,-.2040259,1.0572252])),T(ws,J6,new Float32Array([1,1,1])),T(ws,_b,new Float32Array(3)),T(ws,fd,new Float32Array(3)),T(ws,Ub,new Float32Array(3)),T(ws,Z6,(24/116)**3/8);let y7=ws;var Ta,K9,X9,q7;const eE=class eE extends Qi{constructor(e,i,n){super("Lab",3);T(this,Ta);if(!e)throw new tt("WhitePoint missing - required for color space Lab");if([this.XW,this.YW,this.ZW]=e,[this.amin,this.amax,this.bmin,this.bmax]=n||[-100,100,-100,100],[this.XB,this.YB,this.ZB]=i||[0,0,0],this.XW<0||this.ZW<0||this.YW!==1)throw new tt("Invalid WhitePoint components, no fallback available");(this.XB<0||this.YB<0||this.ZB<0)&&(ne("Invalid BlackPoint, falling back to default"),this.XB=this.YB=this.ZB=0),(this.amin>this.amax||this.bmin>this.bmax)&&(ne("Invalid Range, falling back to defaults"),this.amin=-100,this.amax=100,this.bmin=-100,this.bmax=100)}getRgbItem(e,i,n,a){S(this,Ta,q7).call(this,e,i,!1,n,a)}getRgbBuffer(e,i,n,a,r,o,l){const c=(1<=6/29?e**3:108/841*(e-4/29)},X9=function(e,i,n,a){return n+e*(a-n)/i},q7=function(e,i,n,a,r){let o=e[i],l=e[i+1],c=e[i+2];n!==!1&&(o=S(this,Ta,X9).call(this,o,n,0,100),l=S(this,Ta,X9).call(this,l,n,this.amin,this.amax),c=S(this,Ta,X9).call(this,c,n,this.bmin,this.bmax)),l>this.amax?l=this.amax:lthis.bmax?c=this.bmax:cNU(f(this,io),r[o]*255,l));break;case 3:a=G8.RGB8,x(this,Tc,(r,o,l)=>LU(f(this,io),r[o]*255,r[o+1]*255,r[o+2]*255,l));break;case 4:a=G8.CMYK,x(this,Tc,(r,o,l)=>zU(f(this,io),r[o]*255,r[o+1]*255,r[o+2]*255,r[o+3]*255,l));break;default:throw new Error(`Unsupported number of components: ${n}`)}if(x(this,io,_U(e,a,ZX.Perceptual)),!f(this,io))throw new Error("Failed to create ICC color space");f(mr,Gb)||x(mr,Gb,new FinalizationRegistry(r=>{UU(r)})),f(mr,Gb).register(this,f(this,io))}getRgbHex(e,i){return f(this,Tc).call(this,e,i,!0),ai._cssColor}getRgbItem(e,i,n,a){ai._destBuffer=n,ai._destOffset=a,ai._destLength=3,f(this,Tc).call(this,e,i,!1),ai._destBuffer=null}getRgbBuffer(e,i,n,a,r,o,l){if(e=e.subarray(i,i+n*this.numComps),o!==8){const c=255/((1<=this.end?-1:this.bytes[this.pos++]}getBytes(t){const e=this.bytes,i=this.pos,n=this.end;if(!t)return this.pos=n,e.subarray(i,n);let a=i+t;return a>n&&(a=n),this.pos=a,e.subarray(i,a)}getByteRange(t,e){return t<0&&(t=0),e>this.end&&(e=this.end),this.bytes.subarray(t,e)}reset(){this.pos=this.start}moveStart(){this.start=this.pos}makeSubStream(t,e,i=null){return new sg(this.bytes.buffer,t,e,i)}clone(){return new sg(this.bytes.buffer,this.start,this.end-this.start,this.dict.clone())}};m(sg,"Stream");let Ne=sg;const sE=class sE extends Ne{constructor(t){super(Ki(t))}};m(sE,"StringStream");let Fi=sE;const iE=class iE extends Ne{constructor(){super(new Uint8Array(0))}};m(iE,"NullStream");let Bg=iE;const nE=class nE extends Ne{constructor(e,i,n){super(new Uint8Array(e),0,e,null);R(this,"progressiveDataLength",0);R(this,"_lastSuccessfulEnsureByteChunk",-1);R(this,"_loadedChunks",new Set);this.chunkSize=i,this.numChunks=Math.ceil(e/i),this.manager=n}getMissingChunks(){const e=[];for(let i=0,n=this.numChunks;i=this.end?this.numChunks:Math.floor(i/this.chunkSize);for(let r=n;rthis.numChunks)&&i!==this._lastSuccessfulEnsureByteChunk){if(!this._loadedChunks.has(i))throw new $e(e,e+1);this._lastSuccessfulEnsureByteChunk=i}}ensureRange(e,i){if(e>=i||i<=this.progressiveDataLength)return;const n=Math.floor(e/this.chunkSize);if(n>this.numChunks)return;const a=Math.min(Math.floor((i-1)/this.chunkSize)+1,this.numChunks);for(let r=n;r=this.end?-1:(e>=this.progressiveDataLength&&this.ensureByte(e),this.bytes[this.pos++])}getBytes(e){const i=this.bytes,n=this.pos,a=this.end;if(!e)return a>this.progressiveDataLength&&this.ensureRange(n,a),i.subarray(n,a);let r=n+e;return r>a&&(r=a),r>this.progressiveDataLength&&this.ensureRange(n,r),this.pos=r,i.subarray(n,r)}getByteRange(e,i){return e<0&&(e=0),i>this.end&&(i=this.end),i>this.progressiveDataLength&&this.ensureRange(e,i),this.bytes.subarray(e,i)}makeSubStream(e,i,n=null){i?e+i>this.progressiveDataLength&&this.ensureRange(e,e+i):e>=this.progressiveDataLength&&this.ensureByte(e);function a(){}m(a,"ChunkedStreamSubstream"),a.prototype=Object.create(this),a.prototype.getMissingChunks=function(){const o=this.chunkSize,l=Math.floor(this.start/o),c=Math.floor((this.end-1)/o)+1,h=[];for(let u=l;u0){const r=this.groupChunks(a);for(const o of r){const l=o.beginChunk*this.chunkSize,c=Math.min(o.endChunk*this.chunkSize,this.length);this.sendRequest(l,c).catch(n.reject)}}return n.promise.catch(r=>{if(!this.aborted)throw r})}getStream(){return this.stream}requestRange(t,e){e=Math.min(e,this.length);const i=this.getBeginChunk(t),n=this.getEndChunk(e),a=[];for(let r=i;ri-n),this._requestChunks(e)}groupChunks(t){const e=[];let i=-1,n=-1;for(let a=0,r=t.length;a=0&&n+1!==o&&(e.push({beginChunk:i,endChunk:n+1}),i=o),a+1===t.length&&e.push({beginChunk:i,endChunk:o+1}),n=o}return e}onReceiveData(t){const{chunkSize:e,length:i,stream:n}=this,a=t.chunk,r=t.begin===void 0,o=r?n.progressiveDataLength:t.begin,l=o+a.byteLength,c=Math.floor(o/e),h=l0)&&u.push(g)}}}if(!this.disableAutoFetch&&this._requestsByChunk.size===0){let d;if(n.numChunksLoaded===1){const p=n.numChunks-1;n.hasChunk(p)||(d=p)}else d=n.nextEmptyChunk(h);Number.isInteger(d)&&this._requestChunks([d])}for(const d of u){const p=this._promisesByRequest.get(d);this._promisesByRequest.delete(d),p.resolve()}this.msgHandler.send("DocProgress",{loaded:Ys(n.numChunksLoaded*e,n.progressiveDataLength,i),total:i})}onError(t){this._loadedStreamCapability.reject(t)}getBeginChunk(t){return Math.floor(t/this.chunkSize)}getEndChunk(t){return Math.floor((t-1)/this.chunkSize)+1}abort(t){var e;this.aborted=!0,(e=this.pdfStream)==null||e.cancelAllRequests(t);for(const i of this._promisesByRequest.values())i.reject(t)}};m(aE,"ChunkedStreamManager");let A7=aE;function OT(s){switch(s.kind){case Ai.GRAYSCALE_1BPP:return r3(s);case Ai.RGB_24BPP:return eG(s)}return null}m(OT,"convertToRGBA");function r3({src:s,srcPos:t=0,dest:e,width:i,height:n,nonBlackColor:a=4294967295,inverseDecode:r=!1}){const o=Ji.isLittleEndian?4278190080:255,[l,c]=r?[a,o]:[o,a],h=i>>3,u=i&7,d=l^c,p=s.length;e=new Uint32Array(e.buffer);let g=0;for(let b=0;b>7&1)&d,e[g+1]=l^-(j>>6&1)&d,e[g+2]=l^-(j>>5&1)&d,e[g+3]=l^-(j>>4&1)&d,e[g+4]=l^-(j>>3&1)&d,e[g+5]=l^-(j>>2&1)&d,e[g+6]=l^-(j>>1&1)&d,e[g+7]=l^-(j&1)&d}if(u===0)continue;const w=t>7-y&1)&d}return{srcPos:t,destPos:g}}m(r3,"convertBlackAndWhiteToRGBA$1");function eG({src:s,srcPos:t=0,dest:e,destPos:i=0,width:n,height:a}){let r=0;const o=n*a*3,l=o>>2,c=new Uint32Array(s.buffer,t,l),h=Ji.isLittleEndian?4278190080:255;if(Ji.isLittleEndian){for(;r>>24|d<<8|h,e[i+2]=d>>>16|p<<16|h,e[i+3]=p>>>8|h}for(let u=r*4,d=t+o;u>>8|h,e[i+2]=d<<16|p>>>16|h,e[i+3]=p<<8|h}for(let u=r*4,d=t+o;ui||e>i)return!0;const n=t*e;if(this._hasMaxArea)return n>this.MAX_AREA;if(na}static getReducePowerForJPX(t,e,i){const n=t*e,a=2**30/(i*4);if(!this.needsToBeResized(t,e))return n>a?Math.ceil(Math.log2(n/a)):0;const{MAX_DIM:r,MAX_AREA:o}=this,l=Math.max(t/r,e/r,Math.sqrt(n/Math.min(a,o)));return Math.ceil(Math.log2(l))}static get MAX_DIM(){return mt(this,"MAX_DIM",this._guessMax(u_,tY,0,1))}static get MAX_AREA(){return this._hasMaxArea=!0,mt(this,"MAX_AREA",this._guessMax(f(this,za),this.MAX_DIM,d_,0)**2)}static set MAX_AREA(t){t>=0&&(this._hasMaxArea=!0,mt(this,"MAX_AREA",t))}static setOptions({canvasMaxAreaInBytes:t=-1,isImageDecoderSupported:e=!1}){this._hasMaxArea||(this.MAX_AREA=t>>2),x(this,$b,e)}static _areGoodDims(t,e){try{const i=new OffscreenCanvas(t,e),n=i.getContext("2d");n.fillRect(0,0,1,1);const a=n.getImageData(0,0,1,1).data[3];return i.width=i.height=1,a!==0}catch{return!1}}static _guessMax(t,e,i,n){for(;t+i+1o7){const j=S(this,t4,iG).call(this);if(j)return j}const n=this._encodeBMP();let a,r;await Qo.canUseImageDecoder?(a=new ImageDecoder({data:n,type:"image/bmp",preferAnimation:!1,transfer:[n.buffer]}),r=a.decode().catch(j=>(H(`BMP image decoding failed: ${j}`),createImageBitmap(new Blob([this._encodeBMP().buffer],{type:"image/bmp"})))).finally(()=>{a.close()})):r=createImageBitmap(new Blob([n.buffer],{type:"image/bmp"}));const{MAX_AREA:o,MAX_DIM:l}=Qo,c=Math.max(e/l,i/l,Math.sqrt(e*i/o)),h=Math.max(c,2),u=Math.round(10*(c+1.25))/10/h,d=Math.floor(Math.log2(u)),p=new Array(d+2).fill(2);p[0]=h,p.splice(-1,1,u/(1<>3,w=b+3&-4;if(b!==w){const y=new Uint8Array(w*e);let j=0;for(let k=0,q=e*b;k>o,c=n>>o;let h,u=n;try{h=new Uint8Array(r)}catch{let k=Math.floor(Math.log2(r+1));for(;;)try{h=new Uint8Array(2**k-1);break}catch{k-=1}u=Math.floor((2**k-1)/(i*4));const q=i*u*4;q>o;A>9&127,this.clow=this.clow<<7&65535,this.ct-=7,this.a=32768}byteIn(){const t=this.data;let e=this.bp;t[e]===255?t[e+1]>143?(this.clow+=65280,this.ct=8):(e++,this.clow+=t[e]<<9,this.ct=7,this.bp=e):(e++,this.clow+=e65535&&(this.chigh+=this.clow>>16,this.clow&=65535)}readBit(t,e){let i=t[e]>>1,n=t[e]&1;const a=eY[i],r=a.qe;let o,l=this.a-r;if(this.chigh>15&1,this.clow=this.clow<<1&65535,this.ct--;while(!(l&32768));return this.a=l,t[e]=i<<1|n,o}};m(rE,"ArithmeticDecoder");let S7=rE;const C7=-2,Go=-1,Vo=0,Mi=1,zt=2,Bi=3,Di=4,I7=5,T7=6,nG=7,aG=8,p_=[[-1,-1],[-1,-1],[7,aG],[7,nG],[6,T7],[6,T7],[6,I7],[6,I7],[4,Vo],[4,Vo],[4,Vo],[4,Vo],[4,Vo],[4,Vo],[4,Vo],[4,Vo],[3,Mi],[3,Mi],[3,Mi],[3,Mi],[3,Mi],[3,Mi],[3,Mi],[3,Mi],[3,Mi],[3,Mi],[3,Mi],[3,Mi],[3,Mi],[3,Mi],[3,Mi],[3,Mi],[3,Di],[3,Di],[3,Di],[3,Di],[3,Di],[3,Di],[3,Di],[3,Di],[3,Di],[3,Di],[3,Di],[3,Di],[3,Di],[3,Di],[3,Di],[3,Di],[3,Bi],[3,Bi],[3,Bi],[3,Bi],[3,Bi],[3,Bi],[3,Bi],[3,Bi],[3,Bi],[3,Bi],[3,Bi],[3,Bi],[3,Bi],[3,Bi],[3,Bi],[3,Bi],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt],[1,zt]],m_=[[-1,-1],[12,C7],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[11,1792],[11,1792],[12,1984],[12,2048],[12,2112],[12,2176],[12,2240],[12,2304],[11,1856],[11,1856],[11,1920],[11,1920],[12,2368],[12,2432],[12,2496],[12,2560]],g_=[[-1,-1],[-1,-1],[-1,-1],[-1,-1],[8,29],[8,29],[8,30],[8,30],[8,45],[8,45],[8,46],[8,46],[7,22],[7,22],[7,22],[7,22],[7,23],[7,23],[7,23],[7,23],[8,47],[8,47],[8,48],[8,48],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[7,20],[7,20],[7,20],[7,20],[8,33],[8,33],[8,34],[8,34],[8,35],[8,35],[8,36],[8,36],[8,37],[8,37],[8,38],[8,38],[7,19],[7,19],[7,19],[7,19],[8,31],[8,31],[8,32],[8,32],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[8,53],[8,53],[8,54],[8,54],[7,26],[7,26],[7,26],[7,26],[8,39],[8,39],[8,40],[8,40],[8,41],[8,41],[8,42],[8,42],[8,43],[8,43],[8,44],[8,44],[7,21],[7,21],[7,21],[7,21],[7,28],[7,28],[7,28],[7,28],[8,61],[8,61],[8,62],[8,62],[8,63],[8,63],[8,0],[8,0],[8,320],[8,320],[8,384],[8,384],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[7,27],[7,27],[7,27],[7,27],[8,59],[8,59],[8,60],[8,60],[9,1472],[9,1536],[9,1600],[9,1728],[7,18],[7,18],[7,18],[7,18],[7,24],[7,24],[7,24],[7,24],[8,49],[8,49],[8,50],[8,50],[8,51],[8,51],[8,52],[8,52],[7,25],[7,25],[7,25],[7,25],[8,55],[8,55],[8,56],[8,56],[8,57],[8,57],[8,58],[8,58],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[8,448],[8,448],[8,512],[8,512],[9,704],[9,768],[8,640],[8,640],[8,576],[8,576],[9,832],[9,896],[9,960],[9,1024],[9,1088],[9,1152],[9,1216],[9,1280],[9,1344],[9,1408],[7,256],[7,256],[7,256],[7,256],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,15],[6,15],[6,15],[6,15],[6,15],[6,15],[6,15],[6,15],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7]],b_=[[-1,-1],[-1,-1],[12,C7],[12,C7],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[11,1792],[11,1792],[11,1792],[11,1792],[12,1984],[12,1984],[12,2048],[12,2048],[12,2112],[12,2112],[12,2176],[12,2176],[12,2240],[12,2240],[12,2304],[12,2304],[11,1856],[11,1856],[11,1856],[11,1856],[11,1920],[11,1920],[11,1920],[11,1920],[12,2368],[12,2368],[12,2432],[12,2432],[12,2496],[12,2496],[12,2560],[12,2560],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[12,52],[12,52],[13,640],[13,704],[13,768],[13,832],[12,55],[12,55],[12,56],[12,56],[13,1280],[13,1344],[13,1408],[13,1472],[12,59],[12,59],[12,60],[12,60],[13,1536],[13,1600],[11,24],[11,24],[11,24],[11,24],[11,25],[11,25],[11,25],[11,25],[13,1664],[13,1728],[12,320],[12,320],[12,384],[12,384],[12,448],[12,448],[13,512],[13,576],[12,53],[12,53],[12,54],[12,54],[13,896],[13,960],[13,1024],[13,1088],[13,1152],[13,1216],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64]],w_=[[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[11,23],[11,23],[12,50],[12,51],[12,44],[12,45],[12,46],[12,47],[12,57],[12,58],[12,61],[12,256],[10,16],[10,16],[10,16],[10,16],[10,17],[10,17],[10,17],[10,17],[12,48],[12,49],[12,62],[12,63],[12,30],[12,31],[12,32],[12,33],[12,40],[12,41],[11,22],[11,22],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[12,128],[12,192],[12,26],[12,27],[12,28],[12,29],[11,19],[11,19],[11,20],[11,20],[12,34],[12,35],[12,36],[12,37],[12,38],[12,39],[11,21],[11,21],[12,42],[12,43],[10,0],[10,0],[10,0],[10,0],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12]],j_=[[-1,-1],[-1,-1],[-1,-1],[-1,-1],[6,9],[6,8],[5,7],[5,7],[4,6],[4,6],[4,6],[4,6],[4,5],[4,5],[4,5],[4,5],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2]],oE=class oE{constructor(t,e={K:0,EndOfLine:!1,EncodedByteAlign:!1,Columns:1728,Rows:0,EndOfBlock:!0,BlackIs1:!1}){if(typeof(t==null?void 0:t.next)!="function")throw new Error('CCITTFaxDecoder - invalid "source" parameter.');this.source=t,this.eof=!1,{K:this.encoding,EndOfLine:this.eoline,EncodedByteAlign:this.byteAlign,Columns:this.columns,Rows:this.rows,EndOfBlock:this.eoblock,BlackIs1:this.black}=e,this.codingLine=new Uint32Array(this.columns+1),this.refLine=new Uint32Array(this.columns+2),this.codingLine[0]=this.columns,this.codingPos=0,this.row=0,this.nextLine2D=this.encoding<0,this.inputBits=0,this.inputBuf=0,this.outputBits=0,this.rowsDone=!1;let i;for(;(i=this._lookBits(12))===0;)this._eatBits(1);i===1&&this._eatBits(12),this.encoding>0&&(this.nextLine2D=!this._lookBits(1),this._eatBits(1))}readNextChar(){if(this.eof)return-1;const t=this.refLine,e=this.codingLine,i=this.columns;let n,a,r,o;if(this.outputBits===0){if(this.rowsDone&&(this.eof=!0),this.eof)return-1;this.err=!1;let c,h,u;if(this.nextLine2D){for(o=0;e[o]=64);do h+=u=this._getWhiteCode();while(u>=64)}else{do c+=u=this._getWhiteCode();while(u>=64);do h+=u=this._getBlackCode();while(u>=64)}for(this._addPixels(e[this.codingPos]+c,a),e[this.codingPos]0?--n:++n;t[n]<=e[this.codingPos]&&t[n]0?--n:++n;t[n]<=e[this.codingPos]&&t[n]0?--n:++n;t[n]<=e[this.codingPos]&&t[n]=64);else do c+=u=this._getWhiteCode();while(u>=64);this._addPixels(e[this.codingPos]+c,a),a^=1}let d=!1;if(this.byteAlign&&(this.inputBits&=-8),!this.eoblock&&this.row===this.rows-1)this.rowsDone=!0;else{if(c=this._lookBits(12),this.eoline)for(;c!==Go&&c!==1;)this._eatBits(1),c=this._lookBits(12);else for(;c===0;)this._eatBits(1),c=this._lookBits(12);c===1?(this._eatBits(12),d=!0):c===Go&&(this.eof=!0)}if(!this.eof&&this.encoding>0&&!this.rowsDone&&(this.nextLine2D=!this._lookBits(1),this._eatBits(1)),this.eoblock&&d&&this.byteAlign){if(c=this._lookBits(12),c===1){if(this._eatBits(12),this.encoding>0&&(this._lookBits(1),this._eatBits(1)),this.encoding>=0)for(o=0;o<4;++o)c=this._lookBits(12),c!==1&&ne("bad rtc code: "+c),this._eatBits(12),this.encoding>0&&(this._lookBits(1),this._eatBits(1));this.eof=!0}}else if(this.err&&this.eoline){for(;;){if(c=this._lookBits(13),c===Go)return this.eof=!0,-1;if(c>>1===1)break;this._eatBits(1)}this._eatBits(12),this.encoding>0&&(this._eatBits(1),this.nextLine2D=!(c&1))}this.outputBits=e[0]>0?e[this.codingPos=0]:e[this.codingPos=1],this.row++}let l;if(this.outputBits>=8)l=this.codingPos&1?0:255,this.outputBits-=8,this.outputBits===0&&e[this.codingPos]r?(l<<=r,this.codingPos&1||(l|=255>>8-r),this.outputBits-=r,r=0):(l<<=this.outputBits,this.codingPos&1||(l|=255>>8-this.outputBits),r-=this.outputBits,this.outputBits=0,e[this.codingPos]0&&(l<<=r,r=0))}while(r)}return this.black&&(l^=255),l}_addPixels(t,e){const i=this.codingLine;let n=this.codingPos;t>i[n]&&(t>this.columns&&(ne("row is wrong length"),this.err=!0,t=this.columns),n&1^e&&++n,i[n]=t),this.codingPos=n}_addPixelsNeg(t,e){const i=this.codingLine;let n=this.codingPos;if(t>i[n])t>this.columns&&(ne("row is wrong length"),this.err=!0,t=this.columns),n&1^e&&++n,i[n]=t;else if(t0&&t=a){const l=i[o-a];if(l[0]===r)return this._eatBits(r),[!0,l[1],!0]}}return[!1,0,!1]}_getTwoDimCode(){let t=0,e;if(this.eoblock){if(t=this._lookBits(7),e=p_[t],(e==null?void 0:e[0])>0)return this._eatBits(e[0]),e[1]}else{const i=this._findTableCode(1,7,p_);if(i[0]&&i[2])return i[1]}return ne("Bad two dim code"),Go}_getWhiteCode(){let t=0,e;if(this.eoblock){if(t=this._lookBits(12),t===Go)return 1;if(e=t>>5?g_[t>>3]:m_[t],e[0]>0)return this._eatBits(e[0]),e[1]}else{let i=this._findTableCode(1,9,g_);if(i[0]||(i=this._findTableCode(11,12,m_),i[0]))return i[1]}return ne("bad white code"),this._eatBits(1),1}_getBlackCode(){let t,e;if(this.eoblock){if(t=this._lookBits(13),t===Go)return 1;if(t>>7?!(t>>9)&&t>>7?e=w_[(t>>1)-64]:e=j_[t>>7]:e=b_[t],e[0]>0)return this._eatBits(e[0]),e[1]}else{let i=this._findTableCode(2,6,j_);if(i[0]||(i=this._findTableCode(7,12,w_,64),i[0])||(i=this._findTableCode(10,13,b_),i[0]))return i[1]}return ne("bad black code"),this._eatBits(1),1}_lookBits(t){let e;for(;this.inputBits>16-t;this.inputBuf=this.inputBuf<<8|e,this.inputBits+=8}return this.inputBuf>>this.inputBits-t&65535>>16-t}_eatBits(t){(this.inputBits-=t)<0&&(this.inputBits=0)}};m(oE,"CCITTFaxDecoder");let o3=oE;const lE=class lE extends Rn{constructor(t){super(t,"Jbig2Error")}};m(lE,"Jbig2Error");let hs=lE;const cE=class cE{getContexts(t){return t in this?this[t]:this[t]=new Int8Array(65536)}};m(cE,"ContextCache");let F7=cE;const hE=class hE{constructor(t,e,i){this.data=t,this.start=e,this.end=i}get decoder(){const t=new S7(this.data,this.start,this.end);return mt(this,"decoder",t)}get contextCache(){const t=new F7;return mt(this,"contextCache",t)}};m(hE,"DecodingContext");let Wh=hE;function $i(s,t,e){const i=s.getContexts(t);let n=1;function a(c){let h=0;for(let u=0;u>>0}m(a,"readBits");const r=a(1),o=a(1)?a(1)?a(1)?a(1)?a(1)?a(32)+4436:a(12)+340:a(8)+84:a(6)+20:a(4)+4:a(2);let l;return r===0?l=o:o>0&&(l=-o),l>=QX&&l<=o7?l:null}m($i,"decodeInteger");function NT(s,t,e){const i=s.getContexts("IAID");let n=1;for(let a=0;aCt.y-Tt.y||Ct.x-Tt.x);const c=l.length,h=new Int8Array(c),u=new Int8Array(c),d=[];let p=0,g=0,b=0,w=0,y,j;for(j=0;j=C&&$=F)for(Y=Y<<1&p,j=0;j=0&&rt=0&&(dt=_[V][rt],dt&&(Y|=dt<=s?_<<=1:_=_<<1|q[D][M];for(p=0;p=k||M<0||M>=j?_<<=1:_=_<<1|i[D][M];const G=A.readBit(I,_);F[E]=G}}return q}m(LT,"decodeRefinement");function oG(s,t,e,i,n,a,r,o,l,c,h,u){if(s&&t)throw new hs("symbol refinement with Huffman is not supported");const d=[];let p=0,g=j8(e.length+i);const b=h.decoder,w=h.contextCache;let y,j;for(s&&(y=Ol(1),j=[],g=Math.max(g,1));d.length1)K=zT(s,t,D,p,0,it,1,e.concat(d),g,0,0,1,0,a,l,c,h,0,u);else{const $=NT(w,b,g),V=$i(w,"IARDX",b),rt=$i(w,"IARDY",b),Y=$1&&(G=s?j.readBits(y):$i(C,"IAIT",I));const K=r*F+G,it=s?p.symbolIDTable.decode(j):NT(C,I,l),$=t&&(s?j.readBit():$i(C,"IARI",I));let V=o[it],rt=V[0].length,Y=V.length;if($){const P=$i(C,"IARDW",I),J=$i(C,"IARDH",I),st=$i(C,"IARDX",I),ct=$i(C,"IARDY",I);rt+=P,Y+=J,V=LT(rt,Y,g,V,(P>>1)+st,(J>>1)+ct,!1,b,w)}let dt=0;c?u&1?dt=Y-1:_+=Y-1:u>1?_+=rt-1:dt=rt-1;const et=K-(u&1?0:Y-1),Ct=_-(u&2?rt-1:0);let Tt,Dt,_t;if(c)for(Tt=0;Tt=0;w--)s?M=k8(D,l,c,!0):M=a9(!1,l,c,e,!1,null,F,g),E[w]=M;let _,G,K,it,$,V,rt,Y,dt;for(_=0;_=0;y--)K^=E[y][_][G],it|=K<>8,rt=u+_*d-G*p>>8,V>=0&&V+A<=i&&rt>=0&&rt+I<=n)for(w=0;w=n))for(dt=b[Ct],Y=$[w],y=0;y=0&&et>5&7;const l=[r&31];let c=t+6;if(o===7){o=Pe(s,c-1)&536870911,c+=3;let g=o+8>>3;for(l[0]=s[c++];--g>0;)l.push(s[c++])}else if(o===5||o===6)throw new hs("invalid referred-to flags");e.retainBits=l;let h=4;e.number<=256?h=1:e.number<=65536&&(h=2);const u=[];let d,p;for(d=0;d>>24&255,y[3]=g.height>>16&255,y[4]=g.height>>8&255,y[5]=g.height&255,d=c,p=s.length;d>2&3,u.huffmanDWSelector=d>>4&3,u.bitmapSizeSelector=d>>6&1,u.aggregationInstancesSelector=d>>7&1,u.bitmapCodingContextUsed=!!(d&256),u.bitmapCodingContextRetained=!!(d&512),u.template=d>>10&3,u.refinementTemplate=d>>12&1,a+=2,!u.huffman){for(c=u.template===0?4:1,o=[],l=0;l>2&3,p.stripSize=1<>4&3,p.transposed=!!(g&64),p.combinationOperator=g>>7&3,p.defaultPixelValue=g>>9&1,p.dsOffset=g<<17>>27,p.refinementTemplate=g>>15&1,p.huffman){const C=fe(i,a);a+=2,p.huffmanFS=C&3,p.huffmanDS=C>>2&3,p.huffmanDT=C>>4&3,p.huffmanRefinementDW=C>>6&3,p.huffmanRefinementDH=C>>8&3,p.huffmanRefinementDX=C>>10&3,p.huffmanRefinementDY=C>>12&3,p.huffmanRefinementSizeSelector=!!(C&16384)}if(p.refinement&&!p.refinementTemplate){for(o=[],l=0;l<2;l++)o.push({x:br(i,a),y:br(i,a+1)}),a+=2;p.refinementAt=o}p.numberOfSymbolInstances=Pe(i,a),a+=4,r=[p,e.referredTo,i,a,n];break;case 16:const b={},w=i[a++];b.mmr=!!(w&1),b.template=w>>1&3,b.patternWidth=i[a++],b.patternHeight=i[a++],b.maxPatternIndex=Pe(i,a),a+=4,r=[b,e.number,i,a,n];break;case 22:case 23:const y={};y.info=Om(i,a),a+=Y9;const j=i[a++];y.mmr=!!(j&1),y.template=j>>1&3,y.enableSkip=!!(j&8),y.combinationOperator=j>>4&7,y.defaultPixelValue=j>>7&1,y.gridWidth=Pe(i,a),a+=4,y.gridHeight=Pe(i,a),a+=4,y.gridOffsetX=Pe(i,a)&4294967295,a+=4,y.gridOffsetY=Pe(i,a)&4294967295,a+=4,y.gridVectorX=fe(i,a),a+=2,y.gridVectorY=fe(i,a),a+=2,r=[y,e.referredTo,i,a,n];break;case 38:case 39:const k={};k.info=Om(i,a),a+=Y9;const q=i[a++];if(k.mmr=!!(q&1),k.template=q>>1&3,k.prediction=!!(q&8),!k.mmr){for(c=k.template===0?4:1,o=[],l=0;l>2&1,A.combinationOperator=I>>3&3,A.requiresBuffer=!!(I&32),A.combinationOperatorOverride=!!(I&64),r=[A];break;case 49:break;case 50:break;case 51:break;case 53:r=[e.number,i,a,n];break;case 62:break;default:throw new hs(`segment type ${e.typeName}(${e.type}) is not implemented`)}const h="on"+e.typeName;h in t&&t[h].apply(t,r)}m(uG,"processSegment");function dG(s,t){for(let e=0,i=s.length;e>3,i=new Uint8ClampedArray(e*t.height);t.defaultPixelValue&&i.fill(255),this.buffer=i}drawBitmap(t,e){const i=this.currentPageInfo,n=t.width,a=t.height,r=i.width+7>>3,o=i.combinationOperatorOverride?t.combinationOperator:i.combinationOperator,l=this.buffer,c=128>>(t.x&7);let h=t.y*r+(t.x>>3),u,d,p,g;switch(o){case 0:for(u=0;u>=1,p||(p=128,g++);h+=r}break;case 2:for(u=0;u>=1,p||(p=128,g++);h+=r}break;default:throw new hs(`operator ${o} is not supported`)}}onImmediateGenericRegion(t,e,i,n){const a=t.info,r=new Wh(e,i,n),o=a9(t.mmr,a.width,a.height,t.template,t.prediction,null,t.at,r);this.drawBitmap(a,o)}onImmediateLosslessGenericRegion(){this.onImmediateGenericRegion(...arguments)}onSymbolDictionary(t,e,i,n,a,r){let o,l;t.huffman&&(o=bG(t,i,this.customTables),l=new Ju(n,a,r));const c=this.symbols||(this.symbols={}),h=[];for(const d of i){const p=c[d];p&&h.push(...p)}const u=new Wh(n,a,r);c[e]=oG(t.huffman,t.refinement,h,t.numberOfNewSymbols,t.numberOfExportedSymbols,o,t.template,t.at,t.refinementTemplate,t.refinementAt,u,l)}onImmediateTextRegion(t,e,i,n,a){const r=t.info;let o,l;const c=this.symbols,h=[];for(const g of e){const b=c[g];b&&h.push(...b)}const u=j8(h.length);t.huffman&&(l=new Ju(i,n,a),o=gG(t,e,this.customTables,h.length,l));const d=new Wh(i,n,a),p=zT(t.huffman,t.refinement,r.width,r.height,t.defaultPixelValue,t.numberOfSymbolInstances,t.stripSize,h,u,t.transposed,t.dsOffset,t.referenceCorner,t.combinationOperator,o,t.refinementTemplate,t.refinementAt,d,t.logStripSize,l);this.drawBitmap(r,p)}onImmediateLosslessTextRegion(){this.onImmediateTextRegion(...arguments)}onPatternDictionary(t,e,i,n,a){const r=this.patterns||(this.patterns={}),o=new Wh(i,n,a);r[e]=lG(t.mmr,t.patternWidth,t.patternHeight,t.maxPatternIndex,t.template,o)}onImmediateHalftoneRegion(t,e,i,n,a){const r=this.patterns[e[0]],o=t.info,l=new Wh(i,n,a),c=cG(t.mmr,r,t.template,o.width,o.height,t.defaultPixelValue,t.enableSkip,t.combinationOperator,t.gridWidth,t.gridHeight,t.gridOffsetX,t.gridOffsetY,t.gridVectorX,t.gridVectorY,l);this.drawBitmap(o,c)}onImmediateLosslessHalftoneRegion(){this.onImmediateHalftoneRegion(...arguments)}onTables(t,e,i,n){const a=this.customTables||(this.customTables={});a[t]=mG(e,i,n)}};m(fE,"SimpleSegmentVisitor");let E7=fE;const uE=class uE{constructor(t){t.length===2?(this.isOOB=!0,this.rangeLow=0,this.prefixLength=t[0],this.rangeLength=0,this.prefixCode=t[1],this.isLowerRange=!1):(this.isOOB=!1,this.rangeLow=t[0],this.prefixLength=t[1],this.rangeLength=t[2],this.prefixCode=t[3],this.isLowerRange=t[4]==="lower")}};m(uE,"HuffmanLine");let Mo=uE;const ig=class ig{constructor(t){this.children=[],t?(this.isLeaf=!0,this.rangeLength=t.rangeLength,this.rangeLow=t.rangeLow,this.isLowerRange=t.isLowerRange,this.isOOB=t.isOOB):this.isLeaf=!1}buildTree(t,e){var n;const i=t.prefixCode>>e&1;e<=0?this.children[i]=new ig(t):((n=this.children)[i]||(n[i]=new ig(null))).buildTree(t,e-1)}decodeNode(t){if(this.isLeaf){if(this.isOOB)return null;const i=t.readBits(this.rangeLength);return this.rangeLow+(this.isLowerRange?-i:i)}const e=this.children[t.readBit()];if(!e)throw new hs("invalid Huffman data");return e.decodeNode(t)}};m(ig,"HuffmanTreeNode");let R7=ig;const dE=class dE{constructor(t,e){e||this.assignPrefixCodes(t),this.rootNode=new R7(null);for(let i=0,n=t.length;i0&&this.rootNode.buildTree(a,a.prefixLength-1)}}decode(t){return this.rootNode.decodeNode(t)}assignPrefixCodes(t){const e=t.length;let i=0;for(let h=0;h>1&7)+1,l=(i>>4&7)+1,c=[];let h,u,d=n;do h=r.readBits(o),u=r.readBits(l),c.push(new Mo([d,h,u,0])),d+=1<=this.end)throw new hs("end of data while reading bit");this.currentByte=this.data[this.position++],this.shift=7}const t=this.currentByte>>this.shift&1;return this.shift--,t}readBits(t){let e=0,i;for(i=t-1;i>=0;i--)e|=this.readBit()<=this.end?-1:this.data[this.position++]}};m(pE,"Reader");let Ju=pE;function Ch(s,t,e){let i=0;for(let n=0,a=t.length;n=32){let g,b,w;switch(p){case 32:if(d===0)throw new hs("no previous value in symbol ID table");b=n.readBits(2)+3,g=a[d-1].prefixLength;break;case 33:b=n.readBits(3)+3,g=0;break;case 34:b=n.readBits(7)+11,g=0;break;default:throw new hs("invalid code length in symbol ID table")}for(w=0;w>u&1,u--}if(i&&!l)for(let c=0;c<5&&a.readNextChar()!==-1;c++);return r}m(k8,"decodeMMRBitmap");const mE=class mE{parseChunks(t){return pG(t)}parse(t){throw new Error("Not implemented: Jbig2Image.parse")}};m(mE,"Jbig2Image");let M7=mE;var AT,e4,Vb,s4,i4,n4,ST,nY;const Qr=class Qr{static setOptions({handler:t,useWasm:e,useWorkerFetch:i,wasmUrl:n}){x(this,s4,e),x(this,i4,i),x(this,n4,n),i||x(this,e4,t)}static async decode(t,e,i,n,a){const r=await f(this,Vb);if(!r)throw new hs("JBig2 failed to initialize");let o,l;try{const c=t.length;if(o=r._malloc(c),r.writeArrayToMemory(t,o),a)r._ccitt_decode(o,c,e,i,a.K,a.EndOfLine?1:0,a.EncodedByteAlign?1:0,a.BlackIs1?1:0,a.Columns,a.Rows);else{const u=n?n.length:0;u>0&&(l=r._malloc(u),r.writeArrayToMemory(n,l)),r._jbig2_decode(o,c,e,i,l,u)}if(!r.imageData)throw new hs("Unknown error");const{imageData:h}=r;return r.imageData=null,h}finally{o&&r._free(o),l&&r._free(l)}}static cleanup(){x(this,Vb,null)}};AT=new WeakMap,e4=new WeakMap,Vb=new WeakMap,s4=new WeakMap,i4=new WeakMap,n4=new WeakMap,ST=new WeakSet,nY=async function(t,e,i){},T(Qr,ST),m(Qr,"JBig2CCITTFaxWasmImage"),T(Qr,AT,null),T(Qr,e4,null),T(Qr,Vb,null),T(Qr,s4,!0),T(Qr,i4,!0),T(Qr,n4,null);let up=Qr;const aY=new Uint8Array(0),gE=class gE extends Qt{constructor(t){if(super(),this._rawMinBufferLength=t||0,this.pos=0,this.bufferLength=0,this.eof=!1,this.buffer=aY,this.minBufferLength=512,t)for(;this.minBufferLengtha&&(n=a)}else{for(;!this.eof;)this.readBlock(e);n=this.bufferLength}return this.pos=n,this.buffer.subarray(i,n)}async getImageData(t,e){if(!this.canAsyncDecodeImageFromBuffer)return this.isAsyncDecoder?this.decodeImage(null,t,e):this.getBytes(t,e);const i=await this.stream.asyncGetBytes();return this.decodeImage(i,t,e)}async asyncGetBytesFromDecompressionStream(t){this.stream.reset();const e=this.stream.isAsync?await this.stream.asyncGetBytes():this.stream.getBytes();try{const{readable:i,writable:n}=new DecompressionStream(t),a=n.getWriter();await a.ready,a.write(e).then(async()=>{await a.ready,await a.close()}).catch(()=>{});const r=[];let o=0;for await(const h of i)r.push(h),o+=h.byteLength;const l=new Uint8Array(o);let c=0;for(const h of r)l.set(h,c),c+=h.byteLength;return{decompressed:l,compressed:e}}catch{return{decompressed:null,compressed:e}}}reset(){this.pos=0}makeSubStream(t,e,i=null){if(e===void 0)for(;!this.eof;)this.readBlock();else{const n=t+e;for(;this.bufferLength<=n&&!this.eof;)this.readBlock()}return new Ne(this.buffer,t,e,i)}getBaseStreams(){return this.stream?this.stream.getBaseStreams():null}clone(){for(;!this.eof;)this.readBlock();return new Ne(this.buffer,this.start,this.end-this.start,this.dict.clone())}};m(gE,"DecodeStream");let Ei=gE;const bE=class bE extends Ei{constructor(t,e=null){t=t.filter(n=>n instanceof Qt&&!n.isImageStream);let i=0;for(const n of t)i+=n instanceof Ei?n._rawMinBufferLength:n.length;super(i),this.streams=t,this._onError=e}readBlock(){var r;const t=this.streams;if(t.length===0){this.eof=!0;return}const e=t.shift();let i;try{i=e.getBytes()}catch(o){if(this._onError){this._onError(o,(r=e.dict)==null?void 0:r.objId);return}throw o}const n=this.bufferLength,a=n+i.length;this.ensureBuffer(a).set(i,n),this.bufferLength=a}getBaseStreams(){const t=[];for(const e of this.streams){const i=e.getBaseStreams();i&&t.push(...i)}return t.length>0?t:null}};m(bE,"StreamsSequenceStream");let B7=bE;var Or,em,Q9;const a4=class a4{static parse({cs:t,xref:e,resources:i=null,pdfFunctionFactory:n,globalColorSpaceCache:a,localColorSpaceCache:r,asyncIfNotCached:o=!1}){const l={xref:e,resources:i,pdfFunctionFactory:n,globalColorSpaceCache:a,localColorSpaceCache:r};let c,h,u;if(t instanceof ft){h=t;const d=a.getByRef(h)||r.getByRef(h);if(d)return d;t=e.fetch(t)}if(t instanceof at){c=t.name;const d=r.getByName(c);if(d)return d}try{u=S(this,Or,Q9).call(this,t,l)}catch(d){if(o&&!(d instanceof $e))return Promise.reject(d);throw d}return(c||h)&&(r.set(c,h,u),h&&a.set(null,h,u)),o?Promise.resolve(u):u}static get gray(){return mt(this,"gray",new p7)}static get rgb(){return mt(this,"rgb",new m7)}static get rgba(){return mt(this,"rgba",new g7)}static get cmyk(){if(Mg.isUsable)try{return mt(this,"cmyk",new Mg)}catch{H("CMYK fallback: DeviceCMYK")}return mt(this,"cmyk",new a3)}};Or=new WeakSet,em=function(t,e){const{globalColorSpaceCache:i}=e;let n;if(t instanceof ft){n=t;const r=i.getByRef(n);if(r)return r}const a=S(this,Or,Q9).call(this,t,e);return n&&i.set(null,n,a),a},Q9=function(t,e){const{xref:i,resources:n,pdfFunctionFactory:a,globalColorSpaceCache:r}=e;if(t=i.fetchIfRef(t),t instanceof at)switch(t.name){case"G":case"DeviceGray":return this.gray;case"RGB":case"DeviceRGB":return this.rgb;case"DeviceRGBA":return this.rgba;case"CMYK":case"DeviceCMYK":return this.cmyk;case"Pattern":return new n3(null);default:if(n instanceof z){const o=n.get("ColorSpace");if(o instanceof z){const l=o.get(t.name);if(l){if(l instanceof at)return S(this,Or,Q9).call(this,l,e);t=l;break}}}return H(`Unrecognized ColorSpace: ${t.name}`),this.gray}if(Array.isArray(t)){const o=i.fetchIfRef(t[0]).name;let l,c,h,u,d,p;switch(o){case"G":case"DeviceGray":return this.gray;case"RGB":case"DeviceRGB":return this.rgb;case"CMYK":case"DeviceCMYK":return this.cmyk;case"CalGray":return l=i.fetchIfRef(t[1]),u=l.getArray("WhitePoint"),d=l.getArray("BlackPoint"),p=l.get("Gamma"),new w7(u,d,p);case"CalRGB":l=i.fetchIfRef(t[1]),u=l.getArray("WhitePoint"),d=l.getArray("BlackPoint"),p=l.getArray("Gamma");const g=l.getArray("Matrix");return new y7(u,d,p,g);case"ICCBased":const b=t[1]instanceof ft;if(b){const F=r.getByRef(t[1]);if(F)return F}const w=i.fetchIfRef(t[1]),y=w.dict;if(c=y.get("N"),Qu.isUsable)try{const F=new Qu(w.getBytes(),"ICCBased",c);return b&&r.set(null,t[1],F),F}catch(F){if(F instanceof $e)throw F;H(`ICCBased color space (${t[1]}): "${F}".`)}const j=y.getRaw("Alternate");if(j){const F=S(this,Or,em).call(this,j,e);if(F.numComps===c)return F;H("ICCBased color space: Ignoring incorrect /Alternate entry.")}if(c===1)return this.gray;if(c===3)return this.rgb;if(c===4)return this.cmyk;break;case"Pattern":return h=t[1]||null,h&&(h=S(this,Or,em).call(this,h,e)),new n3(h);case"I":case"Indexed":h=S(this,Or,em).call(this,t[1],e);const k=Ys(i.fetchIfRef(t[2]),0,255),q=i.fetchIfRef(t[3]);return new d7(h,k,q);case"Separation":case"DeviceN":const A=i.fetchIfRef(t[1]);c=Array.isArray(A)?A.length:1,h=S(this,Or,em).call(this,t[2],e);const I=a.create(t[3]);return new u7(c,h,I);case"Lab":l=i.fetchIfRef(t[1]),u=l.getArray("WhitePoint"),d=l.getArray("BlackPoint");const C=l.getArray("Range");return new k7(u,d,C);default:return H(`Unimplemented ColorSpace object: ${o}`),this.gray}}return H(`Unrecognized ColorSpace object: ${t}`),this.gray},T(a4,Or),m(a4,"ColorSpaceUtils");let ke=a4;const wE=class wE extends Rn{constructor(t){super(t,"JpegError")}};m(wE,"JpegError");let Wn=wE;const jE=class jE extends Rn{constructor(t,e){super(t,"DNLMarkerError"),this.scanLines=e}};m(jE,"DNLMarkerError");let Dg=jE;const yE=class yE extends Rn{constructor(t){super(t,"EOIMarkerError")}};m(yE,"EOIMarkerError");let l3=yE;const Nm=new Uint8Array([0,1,8,16,9,2,3,10,17,24,32,25,18,11,4,5,12,19,26,33,40,48,41,34,27,20,13,6,7,14,21,28,35,42,49,56,57,50,43,36,29,22,15,23,30,37,44,51,58,59,52,45,38,31,39,46,53,60,61,54,47,55,62,63]),A9=4017,S9=799,C9=3406,I9=2276,T9=1567,F9=3784,g1=5793,E9=2896;function jG(s,t){let e=0,i,n,a=16;for(;a>0&&!s[a-1];)a--;const r=[{children:[],index:0}];let o=r[0],l;for(i=0;i0;)o=r.pop();for(o.index++,r.push(o);r.length<=i;)r.push(l={children:[],index:0}),o.children[o.index]=l.children,o=l;e++}i+10)return g--,p>>g&1;if(p=s[t++],p===255){const U=s[t++];if(U){if(U===220&&c){t+=2;const P=fe(s,t);if(t+=2,P>0&&P!==e.scanLines)throw new Dg("Found DNL marker (0xFFDC) while parsing scan data",P)}else if(U===217){if(c){const P=M*(e.precision===8?8:0);if(P>0&&Math.round(e.scanLines/P)>=5)throw new Dg("Found EOI marker (0xFFD9) while parsing scan data, possibly caused by incorrect `scanLines` parameter",P)}throw new l3("Found EOI marker (0xFFD9) while parsing scan data")}throw new Wn(`unexpected marker ${(p<<8|U).toString(16)}`)}}return g=7,p>>>7}m(b,"readBit");function w(U){let P=U;for(;;){switch(P=P[b()],typeof P){case"number":return P;case"object":continue}throw new Wn("invalid huffman sequence")}}m(w,"decodeHuffman");function y(U){let P=0;for(;U>0;)P=P<<1|b(),U--;return P}m(y,"receive");function j(U){if(U===1)return b()===1?1:-1;const P=y(U);return P>=1<>4;if(vt===0){if(ot<15)break;ct+=16;continue}ct+=ot;const Bt=Nm[ct];U.blockData[P+Bt]=j(vt),ct++}}m(k,"decodeBaseline");function q(U,P){const J=w(U.huffmanTableDC),st=J===0?0:j(J)<0){I--;return}let J=a;const st=r;for(;J<=st;){const ct=w(U.huffmanTableAC),qt=ct&15,vt=ct>>4;if(qt===0){if(vt<15){I=y(vt)+(1<>4,qt===0)ct<15?(I=y(ct)+(1<0){for($=0;$0?"unexpected":"excessive";H(`decodeScan - ${P} MCU data, current marker is: ${Ct.invalid}`),t=Ct.offset}if(Ct.marker>=65488&&Ct.marker<=65495)t+=2;else break}return t-d}m(yG,"decodeScan");function vG(s,t,e){const i=s.quantizationTable,n=s.blockData;let a,r,o,l,c,h,u,d,p,g,b,w,y,j,k,q,A;if(!i)throw new Wn("missing required Quantization Table.");for(let I=0;I<64;I+=8){if(p=n[t+I],g=n[t+I+1],b=n[t+I+2],w=n[t+I+3],y=n[t+I+4],j=n[t+I+5],k=n[t+I+6],q=n[t+I+7],p*=i[I],(g|b|w|y|j|k|q)===0){A=g1*p+512>>10,e[I]=A,e[I+1]=A,e[I+2]=A,e[I+3]=A,e[I+4]=A,e[I+5]=A,e[I+6]=A,e[I+7]=A;continue}g*=i[I+1],b*=i[I+2],w*=i[I+3],y*=i[I+4],j*=i[I+5],k*=i[I+6],q*=i[I+7],a=g1*p+128>>8,r=g1*y+128>>8,o=b,l=k,c=E9*(g-q)+128>>8,d=E9*(g+q)+128>>8,h=w<<4,u=j<<4,a=a+r+1>>1,r=a-r,A=o*F9+l*T9+128>>8,o=o*T9-l*F9+128>>8,l=A,c=c+u+1>>1,u=c-u,d=d+h+1>>1,h=d-h,a=a+l+1>>1,l=a-l,r=r+o+1>>1,o=r-o,A=c*I9+d*C9+2048>>12,c=c*C9-d*I9+2048>>12,d=A,A=h*S9+u*A9+2048>>12,h=h*A9-u*S9+2048>>12,u=A,e[I]=a+d,e[I+7]=a-d,e[I+1]=r+u,e[I+6]=r-u,e[I+2]=o+h,e[I+5]=o-h,e[I+3]=l+c,e[I+4]=l-c}for(let I=0;I<8;++I){if(p=e[I],g=e[I+8],b=e[I+16],w=e[I+24],y=e[I+32],j=e[I+40],k=e[I+48],q=e[I+56],(g|b|w|y|j|k|q)===0){A=g1*p+8192>>14,A<-2040?A=0:A>=2024?A=255:A=A+2056>>4,n[t+I]=A,n[t+I+8]=A,n[t+I+16]=A,n[t+I+24]=A,n[t+I+32]=A,n[t+I+40]=A,n[t+I+48]=A,n[t+I+56]=A;continue}a=g1*p+2048>>12,r=g1*y+2048>>12,o=b,l=k,c=E9*(g-q)+2048>>12,d=E9*(g+q)+2048>>12,h=w,u=j,a=(a+r+1>>1)+4112,r=a-r,A=o*F9+l*T9+2048>>12,o=o*T9-l*F9+2048>>12,l=A,c=c+u+1>>1,u=c-u,d=d+h+1>>1,h=d-h,a=a+l+1>>1,l=a-l,r=r+o+1>>1,o=r-o,A=c*I9+d*C9+2048>>12,c=c*C9-d*I9+2048>>12,d=A,A=h*S9+u*A9+2048>>12,h=h*A9-u*S9+2048>>12,u=A,p=a+d,q=a-d,g=r+u,k=r-u,b=o+h,j=o-h,w=l+c,y=l-c,p<16?p=0:p>=4080?p=255:p>>=4,g<16?g=0:g>=4080?g=255:g>>=4,b<16?b=0:b>=4080?b=255:b>>=4,w<16?w=0:w>=4080?w=255:w>>=4,y<16?y=0:y>=4080?y=255:y>>=4,j<16?j=0:j>=4080?j=255:j>>=4,k<16?k=0:k>=4080?k=255:k>>=4,q<16?q=0:q>=4080?q=255:q>>=4,n[t+I]=p,n[t+I+8]=g,n[t+I+16]=b,n[t+I+24]=w,n[t+I+32]=y,n[t+I+40]=j,n[t+I+48]=k,n[t+I+56]=q}}m(vG,"quantizeAndInverse");function kG(s,t){const e=t.blocksPerLine,i=t.blocksPerColumn,n=new Int16Array(64);for(let a=0;a=i)return null;const a=fe(s,t);if(a>=65472&&a<=65534)return{invalid:null,marker:a,offset:t};let r=fe(s,n);for(;!(r>=65472&&r<=65534);){if(++n>=i)return null;r=fe(s,n)}return{invalid:a.toString(16),marker:r,offset:n}}m(r9,"findNextFileMarker");function qG(s){const t=Math.ceil(s.samplesPerLine/8/s.maxH),e=Math.ceil(s.scanLines/8/s.maxV);for(const i of s.components){const n=Math.ceil(Math.ceil(s.samplesPerLine/8)*i.h/s.maxH),a=Math.ceil(Math.ceil(s.scanLines/8)*i.v/s.maxV),r=t*i.h,o=64*(e*i.v)*(r+1);i.blockData=new Int16Array(o),i.blocksPerLine=n,i.blocksPerColumn=a}s.mcusPerLine=t,s.mcusPerColumn=e}m(qG,"prepareComponents");function D7(s,t){const e=fe(s,t);t+=2;let i=t+e-2;const n=r9(s,i,t);n!=null&&n.invalid&&(H("readDataBlock - incorrect length, current marker is: "+n.invalid),i=n.offset);const a=s.subarray(t,i);return{appData:a,oldOffset:t,newOffset:t+a.length}}m(D7,"readDataBlock");function xG(s,t){const e=fe(s,t);t+=2;const i=t+e-2,n=r9(s,i,t);return n!=null&&n.invalid?n.offset:i}m(xG,"skipData");const vE=class vE{constructor({decodeTransform:t=null,colorTransform:e=-1}={}){this._decodeTransform=t,this._colorTransform=e}static canUseImageDecoder(t,e=-1){let i=null,n=0,a=null,r=fe(t,n);if(n+=2,r!==65496)throw new Wn("SOI not found");r=fe(t,n),n+=2;t:for(;r!==65497;){switch(r){case 65505:const{appData:o,oldOffset:l,newOffset:c}=D7(t,n);if(n=c,o[0]===69&&o[1]===120&&o[2]===105&&o[3]===102&&o[4]===0&&o[5]===0){if(i)throw new Wn("Duplicate EXIF-blocks found.");i={exifStart:l+6,exifEnd:c}}r=fe(t,n),n+=2;continue;case 65472:case 65473:case 65474:a=t[n+7];break t;case 65535:t[n]!==255&&n--;break}n=xG(t,n),r=fe(t,n),n+=2}return a===4||a===3&&e===0?null:i||{}}parse(t,{dnlScanLines:e=null}={}){let i=0,n=null,a=null,r,o,l=0;const c=[],h=[],u=[];let d=fe(t,i);if(i+=2,d!==65496)throw new Wn("SOI not found");d=fe(t,i),i+=2;t:for(;d!==65497;){let p,g,b;switch(d){case 65504:case 65505:case 65506:case 65507:case 65508:case 65509:case 65510:case 65511:case 65512:case 65513:case 65514:case 65515:case 65516:case 65517:case 65518:case 65519:case 65534:const{appData:w,newOffset:y}=D7(t,i);i=y,d===65504&&w[0]===74&&w[1]===70&&w[2]===73&&w[3]===70&&w[4]===0&&(n={version:{major:w[5],minor:w[6]},densityUnits:w[7],xDensity:w[8]<<8|w[9],yDensity:w[10]<<8|w[11],thumbWidth:w[12],thumbHeight:w[13],thumbData:w.subarray(14,14+3*w[12]*w[13])}),d===65518&&w[0]===65&&w[1]===100&&w[2]===111&&w[3]===98&&w[4]===101&&(a={version:w[5]<<8|w[6],flags0:w[7]<<8|w[8],flags1:w[9]<<8|w[10],transformCode:w[11]});break;case 65499:const j=fe(t,i);i+=2;const k=j+i-2;let q;for(;i>4)if(V>>4===1)for(g=0;g<64;g++)q=Nm[g],rt[q]=fe(t,i),i+=2;else throw new Wn("DQT - invalid table spec");else for(g=0;g<64;g++)q=Nm[g],rt[q]=t[i++];c[V&15]=rt}break;case 65472:case 65473:case 65474:if(r)throw new Wn("Only single frame JPEGs supported");i+=2,r={},r.extended=d===65473,r.progressive=d===65474,r.precision=t[i++];const A=fe(t,i);i+=2,r.scanLines=e||A,r.samplesPerLine=fe(t,i),i+=2,r.components=[],r.componentIds={};const I=t[i++];let C=0,F=0;for(p=0;p>4,Y=t[i+1]&15;C>4?h:u)[V&15]=jG(rt,dt)}break;case 65501:i+=2,o=fe(t,i),i+=2;break;case 65498:const D=++l===1&&!e;i+=2;const M=t[i++],_=[];for(p=0;p>4],Y.huffmanTableAC=h[dt&15],_.push(Y)}const G=t[i++],K=t[i++],it=t[i++];try{const V=yG(t,i,r,_,o,G,K,it>>4,it&15,D);i+=V}catch(V){if(V instanceof Dg)return H(`${V.message} -- attempting to re-parse the JPEG image.`),this.parse(t,{dnlScanLines:V.scanLines});if(V instanceof l3){H(`${V.message} -- ignoring the rest of the image data.`);break t}throw V}break;case 65500:i+=4;break;case 65535:t[i]!==255&&i--;break;default:const $=r9(t,i-2,i-3);if($!=null&&$.invalid){H("JpegImage.parse - unexpected data, current marker is: "+$.invalid),i=$.offset;break}if(!$||i>=t.length-1){H("JpegImage.parse - reached the end of the image data without finding an EOI marker (0xFFD9).");break t}throw new Wn("JpegImage.parse - unknown marker: "+d.toString(16))}d=fe(t,i),i+=2}if(!r)throw new Wn("JpegImage.parse - no frame data found.");this.width=r.samplesPerLine,this.height=r.scanLines,this.jfif=n,this.adobe=a,this.components=[];for(const p of r.components){const g=c[p.quantizationId];g&&(p.quantizationTable=g),this.components.push({index:p.index,output:kG(r,p),scaleX:p.h/r.maxH,scaleY:p.v/r.maxV,blocksPerLine:p.blocksPerLine,blocksPerColumn:p.blocksPerColumn})}this.numComponents=this.components.length}_getLinearizedBlockData(t,e,i=!1){const n=this.width/t,a=this.height/e;let r,o,l,c,h,u,d,p,g,b,w=0,y;const j=this.components.length,k=t*e*j,q=new Uint8ClampedArray(k),A=new Uint32Array(t),I=4294967288;let C;for(d=0;d>8)+F[g+1];return q}get _isColorConversionNeeded(){return this.adobe?!!this.adobe.transformCode:this.numComponents===3?this._colorTransform===0?!1:!(this.components[0].index===82&&this.components[1].index===71&&this.components[2].index===66):this._colorTransform===1}_convertYccToRgb(t){let e,i,n;for(let a=0,r=t.length;a4)throw new Wn("Unsupported color mode");const r=this._getLinearizedBlockData(t,e,a);if(this.numComponents===1&&(i||n)){const o=r.length*(i?4:3),l=new Uint8ClampedArray(o);let c=0;if(i)sG(r,new Uint32Array(l.buffer));else for(const h of r)l[c++]=h,l[c++]=h,l[c++]=h;return l}else if(this.numComponents===3&&this._isColorConversionNeeded){if(i){const o=new Uint8ClampedArray(r.length/3*4);return this._convertYccToRgba(r,o)}return this._convertYccToRgb(r)}else if(this.numComponents===4){if(this._isColorConversionNeeded)return i?this._convertYcckToRgba(r):n?this._convertYcckToRgb(r):this._convertYcckToCmyk(r);if(i)return this._convertCmykToRgba(r);if(n)return this._convertCmykToRgb(r)}return r}};m(vE,"JpegImage");let h3=vE;var Wb,Kb,P7;const ng=class ng extends Ei{constructor(e,i,n){super(i);T(this,Kb);this.stream=e,this.dict=e.dict,this.maybeLength=i,this.params=n}static get canUseImageDecoder(){return mt(this,"canUseImageDecoder",f(this,Wb)?ImageDecoder.isTypeSupported("image/jpeg"):Promise.resolve(!1))}static setOptions({isImageDecoderSupported:e=!1}){x(this,Wb,e)}get bytes(){return mt(this,"bytes",this.stream.getBytes(this.maybeLength))}ensureBuffer(e){}readBlock(){this.decodeImage()}get jpegOptions(){const e={decodeTransform:void 0,colorTransform:void 0},i=this.dict.getArray("D","Decode");if((this.forceRGBA||this.forceRGB)&&Array.isArray(i)){const n=this.dict.get("BPC","BitsPerComponent")||8,a=i.length,r=new Int32Array(a);let o=!1;const l=(1<0&&(e=e.subarray(i));break}return e},m(ng,"JpegStream"),T(ng,Wb,Ji.isImageDecoderSupported);let dp=ng;const kE=class kE extends Rn{constructor(t){super(t,"JpxError")}};m(kE,"JpxError");let L1=kE;var CT,r4,Xb,o4,l4,c4,h4,rY,oY;const Jr=class Jr{static setOptions({handler:t,useWasm:e,useWorkerFetch:i,wasmUrl:n}){x(this,o4,e),x(this,l4,i),x(this,c4,n),i||x(this,r4,t)}static async decode(t,{numComponents:e=4,isIndexedColormap:i=!1,smaskInData:n=!1,reducePower:a=0}={}){const r=await f(this,Xb);if(!r)throw new L1("OpenJPEG failed to initialize");let o;try{const l=t.length;if(o=r._malloc(l),r.writeArrayToMemory(t,o),r._jp2_decode(o,l,e>0?e:0,!!i,!!n,a)){const{errorMessages:h}=r;throw h?(delete r.errorMessages,new L1(h)):new L1("Unknown error")}const{imageData:c}=r;return r.imageData=null,c}finally{o&&r._free(o)}}static cleanup(){x(this,Xb,null)}static parseImageProperties(t){let e=t.getByte();for(;e>=0;){const i=e;if(e=t.getByte(),(i<<8|e)===65361){t.skip(4);const n=t.getInt32()>>>0,a=t.getInt32()>>>0,r=t.getInt32()>>>0,o=t.getInt32()>>>0;t.skip(16);const l=t.getUint16();return{width:n-r,height:a-o,bitsPerComponent:8,componentsCount:l}}}throw new L1("No size marker found in JPX stream")}};CT=new WeakMap,r4=new WeakMap,Xb=new WeakMap,o4=new WeakMap,l4=new WeakMap,c4=new WeakMap,h4=new WeakSet,rY=async function(t){},oY=async function(t,e,i){},T(Jr,h4),m(Jr,"JpxImage"),T(Jr,CT,null),T(Jr,r4,null),T(Jr,Xb,null),T(Jr,o4,!0),T(Jr,l4,!0),T(Jr,c4,null);let pp=Jr;function A1(s,t,e,i,n){let a=s;for(let r=0,o=t.length-1;r1e3&&(c=Math.max(c,d),p+=u+2,d=0,u=0),h.push({transform:q,x:d,y:p,w:A.width,h:A.height}),d+=A.width+2,u=Math.max(u,A.height)}const g=Math.max(c,d)+1,b=p+u+1,w=new Uint8Array(g*b*4),y=g<<2;for(let k=0;k=0;)q[C-4]=q[C],q[C-3]=q[C+1],q[C-2]=q[C+2],q[C-1]=q[C+3],q[C+A]=q[C+A-4],q[C+A+1]=q[C+A-3],q[C+A+2]=q[C+A-2],q[C+A+3]=q[C+A-1],C-=y}const j={width:g,height:b};if(s.isOffscreenCanvasSupported){const k=new OffscreenCanvas(g,b);k.getContext("2d").putImageData(new ImageData(new Uint8ClampedArray(w.buffer),g,b),0,0),j.bitmap=k.transferToImageBitmap(),j.data=null}else j.kind=Ai.RGBA_32BPP,j.data=w;return e.splice(a,l*4,B.paintInlineImageXObjectGroup),i.splice(a,l*4,[j,h]),a+1},"foundInlineImageGroup")),A1(Kh,[B.save,B.transform,B.paintImageMaskXObject,B.restore],null,m(function(s,t){const e=s.fnArray,i=s.iCurr-3,n=(t-i)%4;switch(n){case 0:return e[t]===B.save;case 1:return e[t]===B.transform;case 2:return e[t]===B.paintImageMaskXObject;case 3:return e[t]===B.restore}throw new Error(`iterateImageMaskGroup - invalid pos: ${n}`)},"iterateImageMaskGroup"),m(function(s,t){const e=s.fnArray,i=s.argsArray,n=s.iCurr,a=n-3,r=n-2,o=n-1;let l=Math.floor((t-a)/4);if(l<10)return t-(t-a)%4;let c=!1,h,u;const d=i[o][0],p=i[r][0],g=i[r][1],b=i[r][2],w=i[r][3];if(g===b){c=!0,h=r+4;let y=o+4;for(let j=1;j=4&&e[a-4]===e[r]&&e[a-3]===e[o]&&e[a-2]===e[l]&&e[a-1]===e[c]&&i[a-4][0]===h&&i[a-4][1]===u&&(d++,p-=5);let g=p+4;for(let b=1;b{const t=s.argsArray,e=s.iCurr-1,i=t[e][0];if(i!==B.stroke&&i!==B.closeStroke&&i!==B.fillStroke&&i!==B.eoFillStroke&&i!==B.closeFillStroke&&i!==B.closeEOFillStroke)return!0;const n=s.iCurr-2,a=t[n];return a[0]===1&&a[1]===0&&a[2]===0&&a[3]===1},()=>!1,(s,t)=>{const{fnArray:e,argsArray:i}=s,n=s.iCurr,a=n-3,r=n-2,o=n-1,l=i[o],c=i[r],[,[h],u]=l;if(u){Te.scaleMinMax(c,u);for(let d=0,p=h.length;d=i)break}if(n=(n||Kh)[t[e]],!n||Array.isArray(n)){e++;continue}if(r.iCurr=e,e++,n.checkFn&&!(0,n.checkFn)(r)){n=null;continue}a=n,n=null}this.state=n,this.match=a,this.lastProcessed=e}flush(){for(;this.match;){const t=this.queue.fnArray.length;this.lastProcessed=(0,this.match.processFn)(this.context,t),this.match=null,this.state=null,this._optimize()}}reset(){this.state=null,this.match=null,this.lastProcessed=0}};m(xE,"QueueOptimizer");let H7=xE;const Zr=class Zr{constructor(t=0,e){this._streamSink=e,this.fnArray=[],this.argsArray=[],this.optimizer=e&&!(t&Sn.OPLIST)?new H7(this):new f3(this),this.dependencies=new Set,this._totalLength=0,this.weight=0,this._resolved=e?null:Promise.resolve()}static setOptions({isOffscreenCanvasSupported:t}){this.isOffscreenCanvasSupported=t}get length(){return this.argsArray.length}get ready(){return this._resolved||this._streamSink.ready}get totalLength(){return this._totalLength+this.length}addOp(t,e){this.optimizer.push(t,e),this.weight++,this._streamSink&&(this.weight>=Zr.CHUNK_SIZE?this.flush():this.weight>=Zr.CHUNK_SIZE_ABOUT&&(t===B.restore||t===B.endText)&&this.flush())}addImageOps(t,e,i,n=!1){n&&(this.addOp(B.save),this.addOp(B.setGState,[[["SMask",!1]]])),i!==void 0&&this.addOp(B.beginMarkedContentProps,["OC",i]),this.addOp(t,e),i!==void 0&&this.addOp(B.endMarkedContent,[]),n&&this.addOp(B.restore)}addDependency(t){this.dependencies.has(t)||(this.dependencies.add(t),this.addOp(B.dependency,[t]))}addDependencies(t){for(const e of t)this.addDependency(e)}addOpList(t){if(!(t instanceof Zr)){H('addOpList - ignoring invalid "opList" parameter.');return}for(const e of t.dependencies)this.dependencies.add(e);for(let e=0,i=t.length;e>>0}m(Pi,"hexToInt");function sm(s,t){return t===1?String.fromCharCode(s[0],s[1]):t===3?String.fromCharCode(s[0],s[1],s[2],s[3]):String.fromCharCode(...s.subarray(0,t+1))}m(sm,"hexToStr");function tn(s,t,e){let i=0;for(let n=e;n>=0;n--)i+=s[n]+t[n],s[n]=i&255,i>>=8}m(tn,"addHex");function pc(s,t){let e=1;for(let i=t;i>=0&&e>0;i--)e+=s[i],s[i]=e&255,e>>=8}m(pc,"incHex");const b1=16,lY=19,AE=class AE extends Ne{constructor(e){super(e,0,e.length,null);R(this,"tmpBuf",new Uint8Array(lY))}readNumber(){let e=0,i;do{const n=this.getByte();if(n<0)throw new tt("unexpected EOF in bcmap");i=!(n&128),e=e<<7|n&127}while(!i);return e}readSigned(){const e=this.readNumber();return e&1?~(e>>>1):e>>>1}readHex(e,i){e.set(this.getBytes(i+1))}readHexNumber(e,i){let n;const a=this.tmpBuf;let r=0;do{const h=this.getByte();if(h<0)throw new tt("unexpected EOF in bcmap");n=!(h&128),a[r++]=h&127}while(!n);let o=i,l=0,c=0;for(;o>=0;){for(;c<8&&a.length>0;)l|=a[--r]<>=8,c-=8}}readHexSigned(e,i){this.readHexNumber(e,i);const n=e[i]&1?255:0;let a=0;for(let r=0;r<=i;r++)a=(a&1)<<8|e[r],e[r]=a>>1^n}readString(){const e=this.readNumber(),i=new Array(e);for(let n=0;n=0;){const g=p>>5;if(g===7){switch(p&31){case 0:n.readString();break;case 1:r=n.readString();break}continue}const b=!!(p&16),w=p&15;if(w+1>b1)throw new Error("BinaryCMapReader.process: Invalid dataSize.");const y=1,j=n.readNumber();switch(g){case 0:n.readHex(o,w),n.readHexNumber(l,w),tn(l,o,w),e.addCodespaceRange(w+1,Pi(o,w),Pi(l,w));for(let k=1;k=0;--a)n[i+a]=o&255,o>>=8}}};m(CE,"Ascii85Stream");let L7=CE;const IE=class IE extends Ei{constructor(t,e){e&&(e*=.5),super(e),this.stream=t,this.dict=t.dict,this.firstDigit=-1}readBlock(){const t=this.stream.getBytes(8e3);if(!t.length){this.eof=!0;return}const e=t.length+1>>1,i=this.ensureBuffer(this.bufferLength+e);let n=this.bufferLength,a=this.firstDigit;for(const r of t){let o;if(r>=48&&r<=57)o=r&15;else if(r>=65&&r<=70||r>=97&&r<=102)o=(r&15)+9;else if(r===62){this.eof=!0;break}else continue;a<0?a=o:(i[n++]=a<<4|o,a=-1)}a>=0&&this.eof&&(i[n++]=a<<4,a=-1),this.firstDigit=a,this.bufferLength=n}};m(IE,"AsciiHexStream");let z7=IE,cY=m(()=>{const s=Int32Array.from([256,402,436,468,500,534,566,598,630,662,694,726,758,790,822,854,886,920,952,984,1016,1048,1080]),t=Int32Array.from([1,2,3,4,0,5,17,6,16,7,8,9,10,11,12,13,14,15]),e=Int32Array.from([0,3,2,1,0,0,0,0,0,0,3,3,3,3,3,3]),i=Int32Array.from([0,0,0,0,-1,1,-2,2,-3,3,-1,1,-2,2,-3,3]),n=Int32Array.from([131072,131076,131075,196610,131072,131076,131075,262145,131072,131076,131075,196610,131072,131076,131075,262149]),a=Int32Array.from([1,5,9,13,17,25,33,41,49,65,81,97,113,145,177,209,241,305,369,497,753,1265,2289,4337,8433,16625]),r=Int32Array.from([2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,6,6,7,8,9,10,11,12,13,24]),o=Int16Array.from([0,0,0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,7,8,9,10,12,14,24]),l=Int16Array.from([0,0,0,0,0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,7,8,9,10,24]),c=new Int16Array(2816);p(c);function h(v){let N=-1,L=16,X=v;for(;L>0;){let W=X>>L;W!==0&&(N+=L,X=W),L=L>>1}return N+X}m(h,"log2floor");function u(v,N,L){return 16+N+2*(L<>L)+4,ht=h(W)-1;return((ht-1<<1|W>>ht&1)-1<>6,ht=-4;W>=2&&(W-=2,ht=0);const yt=(170064>>W*2&3)<<3|X>>3&7,Rt=(156228>>W*2&3)<<3|X&7,Kt=L[Rt],te=ht+Math.min(Kt,5)-2,ee=X*4;v[ee]=o[yt]|l[Rt]<<8,v[ee+1]=N[yt],v[ee+2]=L[Rt],v[ee+3]=te}}m(p,"unpackCommandLookupTable");function g(v){const N=v.isLargeWindow;if(v.isLargeWindow=0,v.bitOffset>=16&&(v.accumulator32=v.shortBuffer[v.halfOffset++]<<16|v.accumulator32>>>16,v.bitOffset-=16),gt(v,1)===0)return 16;let L=gt(v,3);return L!==0?17+L:(L=gt(v,3),L!==0?L===1?N===0||(v.isLargeWindow=1,gt(v,1)===1)||(L=gt(v,6),L<10||L>30)?-1:L:8+L:17)}m(g,"decodeWindowBits");function b(v,N){return v.runningState!==1?Re(v,-24):(v.cdNumChunks===0&&(v.cdChunks=new Array(16),v.cdChunkOffsets=new Int32Array(16),v.cdBlockBits=-1),v.cdNumChunks===15?Re(v,-27):(v.cdChunks[v.cdNumChunks]=N,v.cdNumChunks++,v.cdTotalSize+=N.length,v.cdChunkOffsets[v.cdNumChunks]=v.cdTotalSize,0))}m(b,"attachDictionaryChunk");function w(v){if(v.runningState!==0)return Re(v,-26);v.blockTrees=new Int32Array(3091),v.blockTrees[0]=7,v.distRbIdx=3;let N=d(v,2147483644,3,120);if(N<0)return N;const L=N;return v.distExtraBits=new Int8Array(L),v.distOffset=new Int32Array(L),N=Zt(v),N<0?N:(v.runningState=1,0)}m(w,"initState");function y(v){return v.runningState===0?Re(v,-25):(v.runningState>0&&(v.runningState=11),0)}m(y,"close");function j(v){if(v.bitOffset>=16&&(v.accumulator32=v.shortBuffer[v.halfOffset++]<<16|v.accumulator32>>>16,v.bitOffset-=16),gt(v,1)!==0){const N=gt(v,3);return N===0?1:gt(v,N)+(1<=16&&(v.accumulator32=v.shortBuffer[v.halfOffset++]<<16|v.accumulator32>>>16,v.bitOffset-=16),v.inputEnd=gt(v,1),v.metaBlockLength=0,v.isUncompressed=0,v.isMetadata=0,v.inputEnd!==0&>(v,1)!==0)return 0;const N=gt(v,2)+4;if(N===7){if(v.isMetadata=1,gt(v,1)!==0)return Re(v,-6);const L=gt(v,2);if(L===0)return 0;for(let X=0;X=16&&(v.accumulator32=v.shortBuffer[v.halfOffset++]<<16|v.accumulator32>>>16,v.bitOffset-=16);const W=gt(v,8);if(W===0&&X+1===L&&L>1)return Re(v,-8);v.metaBlockLength+=W<=16&&(v.accumulator32=v.shortBuffer[v.halfOffset++]<<16|v.accumulator32>>>16,v.bitOffset-=16);const X=gt(v,4);if(X===0&&L+1===N&&N>4)return Re(v,-8);v.metaBlockLength+=X<>>L.bitOffset;X+=W&255;const ht=v[X]>>16,yt=v[X]&65535;if(ht<=8)return L.bitOffset+=ht,yt;X+=yt;const Rt=(1<>>8,L.bitOffset+=(v[X]>>16)+8,v[X]&65535}m(q,"readSymbol");function A(v,N,L){L.bitOffset>=16&&(L.accumulator32=L.shortBuffer[L.halfOffset++]<<16|L.accumulator32>>>16,L.bitOffset-=16);const X=q(v,N,L),W=r[X];return L.bitOffset>=16&&(L.accumulator32=L.shortBuffer[L.halfOffset++]<<16|L.accumulator32>>>16,L.bitOffset-=16),a[X]+(W<=16?gt(L,W):Ft(L,W))}m(A,"readBlockLength");function I(v,N){let L=N;const X=v[L];for(;L>0;)v[L]=v[L-1],L--;v[0]=X}m(I,"moveToFront");function C(v,N){const L=new Int32Array(256);for(let X=0;X<256;++X)L[X]=X;for(let X=0;X0;){if(X.halfOffset>2030){const xe=Mt(X);if(xe<0)return xe}X.bitOffset>=16&&(X.accumulator32=X.shortBuffer[X.halfOffset++]<<16|X.accumulator32>>>16,X.bitOffset-=16);const he=X.accumulator32>>>X.bitOffset&31;X.bitOffset+=te[he]>>16;const be=te[he]&65535;if(be<16)yt=0,L[W++]=be,be!==0&&(ht=be,Kt-=32768>>be);else{const xe=be-14;let Es=0;be===16&&(Es=ht),Rt!==Es&&(yt=0,Rt=Es);const fr=yt;yt>0&&(yt-=2,yt=yt<=16&&(X.accumulator32=X.shortBuffer[X.halfOffset++]<<16|X.accumulator32>>>16,X.bitOffset-=16),yt+=gt(X,xe)+3;const ea=yt-fr;if(W+ea>N)return Re(X,-2);for(let pi=0;pi=16&&(W.accumulator32=W.shortBuffer[W.halfOffset++]<<16|W.accumulator32>>>16,W.bitOffset-=16);const be=gt(W,Rt);if(be>=N)return Re(W,-15);yt[he]=be}const te=E(W,yt,Kt);if(te<0)return te;let ee=Kt;switch(Kt===4&&(ee+=gt(W,1)),ee){case 1:ht[yt[0]]=1;break;case 2:ht[yt[0]]=1,ht[yt[1]]=1;break;case 3:ht[yt[0]]=1,ht[yt[1]]=2,ht[yt[2]]=2;break;case 4:ht[yt[0]]=2,ht[yt[1]]=2,ht[yt[2]]=2,ht[yt[3]]=2;break;case 5:ht[yt[0]]=1,ht[yt[1]]=2,ht[yt[2]]=3,ht[yt[3]]=3;break}return At(L,X,8,ht,N)}m(D,"readSimpleHuffmanCode");function M(v,N,L,X,W){const ht=new Int32Array(v),yt=new Int32Array(18);let Rt=32,Kt=0;for(let ee=N;ee<18;++ee){const he=t[ee];W.bitOffset>=16&&(W.accumulator32=W.shortBuffer[W.halfOffset++]<<16|W.accumulator32>>>16,W.bitOffset-=16);const be=W.accumulator32>>>W.bitOffset&15;W.bitOffset+=n[be]>>16;const xe=n[be]&65535;if(yt[he]=xe,xe!==0&&(Rt-=32>>xe,Kt++,Rt<=0))break}if(Rt!==0&&Kt!==1)return Re(W,-4);const te=F(yt,v,ht,W);return te<0?te:At(L,X,8,ht,v)}m(M,"readComplexHuffmanCode");function _(v,N,L,X,W){if(W.halfOffset>2030){const yt=Mt(W);if(yt<0)return yt}W.bitOffset>=16&&(W.accumulator32=W.shortBuffer[W.halfOffset++]<<16|W.accumulator32>>>16,W.bitOffset-=16);const ht=gt(W,2);return ht===1?D(v,N,L,X,W):M(N,ht,L,X,W)}m(_,"readHuffmanCode");function G(v,N,L){let X;if(L.halfOffset>2030&&(X=Mt(L),X<0))return X;const W=j(L)+1;if(W===1)return N.fill(0,0,v),W;L.bitOffset>=16&&(L.accumulator32=L.shortBuffer[L.halfOffset++]<<16|L.accumulator32>>>16,L.bitOffset-=16);const ht=gt(L,1);let yt=0;ht!==0&&(yt=gt(L,4)+1);const Rt=W+yt,Kt=s[Rt+31>>5],te=new Int32Array(Kt+1),ee=te.length-1;if(X=_(Rt,Rt,te,ee,L),X<0)return X;let he=0;for(;he2030&&(X=Mt(L),X<0))return X;L.bitOffset>=16&&(L.accumulator32=L.shortBuffer[L.halfOffset++]<<16|L.accumulator32>>>16,L.bitOffset-=16);const be=q(te,ee,L);if(be===0)N[he]=0,he++;else if(be<=yt){L.bitOffset>=16&&(L.accumulator32=L.shortBuffer[L.halfOffset++]<<16|L.accumulator32>>>16,L.bitOffset-=16);let xe=(1<=v)return Re(L,-3);N[he]=0,he++,xe--}}else N[he]=be-yt,he++}return L.bitOffset>=16&&(L.accumulator32=L.shortBuffer[L.halfOffset++]<<16|L.accumulator32>>>16,L.bitOffset-=16),gt(L,1)===1&&C(N,v),W}m(G,"decodeContextMap");function K(v,N,L){const X=v.rings,W=4+N*2;v.bitOffset>=16&&(v.accumulator32=v.shortBuffer[v.halfOffset++]<<16|v.accumulator32>>>16,v.bitOffset-=16);let ht=q(v.blockTrees,2*N,v);const yt=A(v.blockTrees,2*N+1,v);return ht===1?ht=X[W+1]+1:ht===0?ht=X[W]:ht-=2,ht>=L&&(ht-=L),X[W]=X[W+1],X[W+1]=ht,yt}m(K,"decodeBlockTypeAndLength");function it(v){v.literalBlockLength=K(v,0,v.numLiteralBlockTypes);const N=v.rings[5];v.contextMapSlice=N<<6,v.literalTreeIdx=v.contextMap[v.contextMapSlice]&255;const L=v.contextModes[N];v.contextLookupOffset1=L<<9,v.contextLookupOffset2=v.contextLookupOffset1+256}m(it,"decodeLiteralBlockSwitch");function $(v){v.commandBlockLength=K(v,1,v.numCommandBlockTypes),v.commandTreeIdx=v.rings[7]}m($,"decodeCommandBlockSwitch");function V(v){v.distanceBlockLength=K(v,2,v.numDistanceBlockTypes),v.distContextMapSlice=v.rings[9]<<2}m(V,"decodeDistanceBlockSwitch");function rt(v){let N=v.maxRingBufferSize;if(N>v.expectedTotalSize){const ht=v.expectedTotalSize;for(;N>>1>ht;)N=N>>1;v.inputEnd===0&&N<16384&&v.maxRingBufferSize>=16384&&(N=16384)}if(N<=v.ringBufferSize)return;const L=N+37,X=new Int8Array(L),W=v.ringBuffer;W.length!==0&&X.set(W.subarray(0,v.ringBufferSize),0),v.ringBuffer=X,v.ringBufferSize=N}m(rt,"maybeReallocateRingBuffer");function Y(v){if(v.inputEnd!==0)return v.nextRunningState=10,v.runningState=12,0;v.literalTreeGroup=new Int32Array(0),v.commandTreeGroup=new Int32Array(0),v.distanceTreeGroup=new Int32Array(0);let N;if(v.halfOffset>2030&&(N=Mt(v),N<0)||(N=k(v),N<0))return N;if(v.metaBlockLength===0&&v.isMetadata===0)return 0;if(v.isUncompressed!==0||v.isMetadata!==0){if(N=Lt(v),N<0)return N;v.isMetadata===0?v.runningState=6:v.runningState=5}else v.runningState=3;return v.isMetadata!==0||(v.expectedTotalSize+=v.metaBlockLength,v.expectedTotalSize>1<<30&&(v.expectedTotalSize=1<<30),v.ringBufferSize2030&&(N=Mt(v),N<0)))return N;v.bitOffset>=16&&(v.accumulator32=v.shortBuffer[v.halfOffset++]<<16|v.accumulator32>>>16,v.bitOffset-=16),v.distancePostfixBits=gt(v,2),v.numDirectDistanceCodes=gt(v,4)<=16&&(v.accumulator32=v.shortBuffer[v.halfOffset++]<<16|v.accumulator32>>>16,v.bitOffset-=16),v.contextModes[L]=gt(v,2),L++;if(v.halfOffset>2030&&(N=Mt(v),N<0))return N}const X=v.numLiteralBlockTypes<<6;if(v.contextMap=new Int8Array(X),N=G(X,v.contextMap,v),N<0)return N;const W=N;v.trivialLiteralContext=1;for(let Kt=0;Kt>6){v.trivialLiteralContext=0;break}if(v.distContextMap=new Int8Array(v.numDistanceBlockTypes<<2),N=G(v.numDistanceBlockTypes<<2,v.distContextMap,v),N<0)return N;const ht=N;if(v.literalTreeGroup=new Int32Array(_t(256,W)),N=U(256,256,W,v,v.literalTreeGroup),N<0||(v.commandTreeGroup=new Int32Array(_t(704,v.numCommandBlockTypes)),N=U(704,704,v.numCommandBlockTypes,v,v.commandTreeGroup),N<0))return N;let yt=u(v.distancePostfixBits,v.numDirectDistanceCodes,24),Rt=yt;if(v.isLargeWindow===1){if(yt=u(v.distancePostfixBits,v.numDirectDistanceCodes,62),N=d(v,2147483644,v.distancePostfixBits,v.numDirectDistanceCodes),N<0)return N;Rt=N}return v.distanceTreeGroup=new Int32Array(_t(Rt,ht)),N=U(yt,Rt,ht,v,v.distanceTreeGroup),N<0?N:(et(v,Rt),v.contextMapSlice=0,v.distContextMapSlice=0,v.contextLookupOffset1=v.contextModes[0]*512,v.contextLookupOffset2=v.contextLookupOffset1+256,v.literalTreeIdx=0,v.commandTreeIdx=0,v.rings[4]=1,v.rings[5]=0,v.rings[6]=1,v.rings[7]=0,v.rings[8]=1,v.rings[9]=0,0)}m(Ct,"readMetablockHuffmanCodesAndContextMaps");function Tt(v){const N=v.ringBuffer;let L;if(v.metaBlockLength<=0)return L=Vt(v),L<0?L:(v.runningState=2,0);const X=Math.min(v.ringBufferSize-v.pos,v.metaBlockLength);return L=bs(v,N,v.pos,X),L<0?L:(v.metaBlockLength-=X,v.pos+=X,v.pos===v.ringBufferSize?(v.nextRunningState=6,v.runningState=12,0):(L=Vt(v),L<0?L:(v.runningState=2,0)))}m(Tt,"copyUncompressedData");function Dt(v){const N=Math.min(v.outputLength-v.outputUsed,v.ringBufferBytesReady-v.ringBufferBytesWritten);return N!==0&&(v.output.set(v.ringBuffer.subarray(v.ringBufferBytesWritten,v.ringBufferBytesWritten+N),v.outputOffset+v.outputUsed),v.outputUsed+=N,v.ringBufferBytesWritten+=N),v.outputUsed>5];return N+N*L}m(_t,"huffmanTreeGroupAllocSize");function U(v,N,L,X,W){let ht=L;for(let yt=0;yt2147483644)return Re(v,-9);const L=v.distance-v.maxDistance-1-v.cdTotalSize;if(L<0){const X=ct(v,-L-1,v.copyLength);if(X<0)return X;v.runningState=14}else{const X=Mn,W=v.copyLength;if(W>31)return Re(v,-9);const ht=x9[W];if(ht===0)return Re(v,-9);let yt=_o[W];const Rt=(1<>ht;yt+=Kt*W;const ee=Bt;if(te>=ee.numTransforms)return Re(v,-9);const he=Ee(v.ringBuffer,v.pos,X,yt,W,ee,te);if(v.pos+=he,v.metaBlockLength-=he,v.pos>=N)return v.nextRunningState=4,v.runningState=12,0;v.runningState=4}return 0}m(J,"doUseDictionary");function st(v){v.cdBlockMap=new Int8Array(256);let N=8;for(;v.cdTotalSize-1>>N;)N++;N-=8,v.cdBlockBits=N;let L=0,X=0;for(;L>N]=X,L+=1<>v.cdBlockBits];for(;N>=v.cdChunkOffsets[X+1];)X++;return v.cdTotalSize>N+L?Re(v,-9):(v.distRbIdx=v.distRbIdx+1&3,v.rings[v.distRbIdx]=v.distance,v.metaBlockLength-=L,v.cdBrIndex=X,v.cdBrOffset=N-v.cdChunkOffsets[X],v.cdBrLength=L,v.cdBrCopied=0,0)}m(ct,"initializeCompoundDictionaryCopy");function qt(v,N){let L=v.pos;const X=L;for(;v.cdBrLength!==v.cdBrCopied;){const W=N-L,ht=v.cdChunkOffsets[v.cdBrIndex+1]-v.cdChunkOffsets[v.cdBrIndex]-v.cdBrOffset;let yt=v.cdBrLength-v.cdBrCopied;if(yt>ht&&(yt=ht),yt>W&&(yt=W),v.ringBuffer.set(v.cdChunks[v.cdBrIndex].subarray(v.cdBrOffset,v.cdBrOffset+yt),L),L+=yt,v.cdBrOffset+=yt,v.cdBrCopied+=yt,yt===ht&&(v.cdBrIndex++,v.cdBrOffset=0),L>=N)break}return L-X}m(qt,"copyFromCompoundDictionary");function vt(v){let N;if(v.runningState===0)return Re(v,-25);if(v.runningState<0)return Re(v,-28);if(v.runningState===11)return Re(v,-22);if(v.runningState===1){const ht=g(v);if(ht===-1)return Re(v,-11);v.maxRingBufferSize=1<2030&&(N=Mt(v),N<0))return N;v.commandBlockLength===0&&$(v),v.commandBlockLength--,v.bitOffset>=16&&(v.accumulator32=v.shortBuffer[v.halfOffset++]<<16|v.accumulator32>>>16,v.bitOffset-=16);const ht=q(v.commandTreeGroup,v.commandTreeIdx,v)<<2,yt=c[ht],Rt=c[ht+1],Kt=c[ht+2];v.distanceCode=c[ht+3],v.bitOffset>=16&&(v.accumulator32=v.shortBuffer[v.halfOffset++]<<16|v.accumulator32>>>16,v.bitOffset-=16);const te=yt&255;v.insertLength=Rt+(te<=16?gt(v,te):Ft(v,te)),v.bitOffset>=16&&(v.accumulator32=v.shortBuffer[v.halfOffset++]<<16|v.accumulator32>>>16,v.bitOffset-=16);const ee=yt>>8;v.copyLength=Kt+(ee<=16?gt(v,ee):Ft(v,ee)),v.j=0,v.runningState=7;continue;case 7:if(v.trivialLiteralContext!==0)for(;v.j2030&&(N=Mt(v),N<0))return N;if(v.literalBlockLength===0&&it(v),v.literalBlockLength--,v.bitOffset>=16&&(v.accumulator32=v.shortBuffer[v.halfOffset++]<<16|v.accumulator32>>>16,v.bitOffset-=16),W[v.pos]=q(v.literalTreeGroup,v.literalTreeIdx,v),v.pos++,v.j++,v.pos>=L){v.nextRunningState=7,v.runningState=12;break}}else{let pi=W[v.pos-1&X]&255,ie=W[v.pos-2&X]&255;for(;v.j2030&&(N=Mt(v),N<0))return N;v.literalBlockLength===0&&it(v);const sa=ve[v.contextLookupOffset1+pi]|ve[v.contextLookupOffset2+ie],u1=v.contextMap[v.contextMapSlice+sa]&255;if(v.literalBlockLength--,ie=pi,v.bitOffset>=16&&(v.accumulator32=v.shortBuffer[v.halfOffset++]<<16|v.accumulator32>>>16,v.bitOffset-=16),pi=q(v.literalTreeGroup,u1,v),W[v.pos]=pi,v.pos++,v.j++,v.pos>=L){v.nextRunningState=7,v.runningState=12;break}}}if(v.runningState!==7)continue;if(v.metaBlockLength-=v.insertLength,v.metaBlockLength<=0){v.runningState=4;continue}let he=v.distanceCode;if(he<0)v.distance=v.rings[v.distRbIdx];else{if(v.halfOffset>2030&&(N=Mt(v),N<0))return N;v.distanceBlockLength===0&&V(v),v.distanceBlockLength--,v.bitOffset>=16&&(v.accumulator32=v.shortBuffer[v.halfOffset++]<<16|v.accumulator32>>>16,v.bitOffset-=16);const pi=v.distContextMap[v.distContextMapSlice+he]&255;if(he=q(v.distanceTreeGroup,pi,v),he<16){const ie=v.distRbIdx+e[he]&3;if(v.distance=v.rings[ie]+i[he],v.distance<0)return Re(v,-12)}else{const ie=v.distExtraBits[he];let sa;v.bitOffset+ie<=32?sa=gt(v,ie):(v.bitOffset>=16&&(v.accumulator32=v.shortBuffer[v.halfOffset++]<<16|v.accumulator32>>>16,v.bitOffset-=16),sa=ie<=16?gt(v,ie):Ft(v,ie)),v.distance=v.distOffset[he]+(sa<v.maxDistance){v.runningState=9;continue}if(he>0&&(v.distRbIdx=v.distRbIdx+1&3,v.rings[v.distRbIdx]=v.distance),v.copyLength>v.metaBlockLength)return Re(v,-9);v.j=0,v.runningState=8;continue;case 8:let be=v.pos-v.distance&X,xe=v.pos;const Es=v.copyLength-v.j,fr=be+Es,ea=xe+Es;if(frxe&&ea>be){const pi=Es+3>>2;for(let ie=0;ie=L){v.nextRunningState=8,v.runningState=12;break}v.runningState===8&&(v.runningState=4);continue;case 9:if(N=J(v,L),N<0)return N;continue;case 14:if(v.pos+=qt(v,L),v.pos>=L)return v.nextRunningState=14,v.runningState=12,2;v.runningState=4;continue;case 5:for(;v.metaBlockLength>0;){if(v.halfOffset>2030&&(N=Mt(v),N<0))return N;v.bitOffset>=16&&(v.accumulator32=v.shortBuffer[v.halfOffset++]<<16|v.accumulator32>>>16,v.bitOffset-=16),gt(v,8),v.metaBlockLength--}v.runningState=2;continue;case 6:if(N=Tt(v),N<0)return N;continue;case 12:v.ringBufferBytesReady=Math.min(v.pos,v.ringBufferSize),v.runningState=13;continue;case 13:if(N=Dt(v),N!==0)return N;v.pos>=v.maxBackwardDistance&&(v.maxDistance=v.maxBackwardDistance),v.pos>=v.ringBufferSize&&(v.pos>v.ringBufferSize&&W.copyWithin(0,v.ringBufferSize,v.pos),v.pos=v.pos&X,v.ringBufferBytesWritten=0),v.runningState=v.nextRunningState;continue;default:return Re(v,-28)}return v.runningState!==10?Re(v,-29):v.metaBlockLength<0?Re(v,-10):(N=Lt(v),N!==0||(N=St(v,1),N!==0)?N:1)}m(vt,"decompress");function ot(v,N,L){this.numTransforms=0,this.triplets=new Int32Array(0),this.prefixSuffixStorage=new Int8Array(0),this.prefixSuffixHeads=new Int32Array(0),this.params=new Int16Array(0),this.numTransforms=v,this.triplets=new Int32Array(v*3),this.params=new Int16Array(v),this.prefixSuffixStorage=new Int8Array(N),this.prefixSuffixHeads=new Int32Array(L+1)}m(ot,"Transforms");const Bt=new ot(121,167,50);function Wt(v,N,L,X,W){const ht=N8(X),yt=ht.length;let Rt=1,Kt=0;for(let te=0;te# +#]# for # a # that #. # with #'# from # by #. The # on # as # is #ing # + #:#ed #(# at #ly #="# of the #. This #,# not #er #al #='#ful #ive #less #est #ize #ous #`,` !! ! , *! &! " ! ) * * - ! # ! #!*! + ,$ ! - % . / # 0 1 . " 2 3!* 4% ! # / 5 6 7 8 0 1 & $ 9 + : ; < ' != > ?! 4 @ 4 2 & A *# ( B C& ) % ) !*# *-% A +! *. D! %' & E *6 F G% ! *A *% H! D I!+! J!+ K +- *4! A L!*4 M N +6 O!*% +.! K *G P +%( ! G *D +D Q +# *K!*G!+D!+# +G +A +4!+% +K!+4!*D!+K!*K`);function Ee(v,N,L,X,W,ht,yt){let Rt=N;const Kt=ht.triplets,te=ht.prefixSuffixStorage,ee=ht.prefixSuffixHeads,he=3*yt,be=Kt[he],xe=Kt[he+1],Es=Kt[he+2];let fr=ee[be];const ea=ee[be+1];let pi=ee[Es];const ie=ee[Es+1];let sa=xe-11,u1=xe;for((sa<1||sa>9)&&(sa=0),(u1<1||u1>9)&&(u1=0);fr!==ea;)v[Rt++]=te[fr++];let Us=W;sa>Us&&(sa=Us);let HX=X+sa;Us-=sa,Us-=u1;let i_=Us;for(;i_>0;)v[Rt++]=L[HX++],i_--;if(xe===10||xe===11){let Ye=Rt-Us;for(xe===10&&(Us=1);Us>0;){const Nh=v[Ye]&255;Nh<192?(Nh>=97&&Nh<=122&&(v[Ye]=v[Ye]^32),Ye+=1,Us-=1):Nh<224?(v[Ye+1]=v[Ye+1]^32,Ye+=2,Us-=2):(v[Ye+2]=v[Ye+2]^5,Ye+=3,Us-=3)}}else if(xe===21||xe===22){let Ye=Rt-Us;const Nh=ht.params[yt];let Bn=(Nh&32767)+(16777216-(Nh&32768));for(;Us>0;){let cc=1;const Uo=v[Ye]&255;if(Uo<128)Bn+=Uo,v[Ye]=Bn&127;else if(!(Uo<192)){if(Uo<224)if(Us>=2){const hc=v[Ye+1];Bn+=hc&63|(Uo&31)<<6,v[Ye]=192|Bn>>6&31,v[Ye+1]=hc&192|Bn&63,cc=2}else cc=Us;else if(Uo<240)if(Us>=3){const hc=v[Ye+1],Op=v[Ye+2];Bn+=Op&63|(hc&63)<<6|(Uo&15)<<12,v[Ye]=224|Bn>>12&15,v[Ye+1]=hc&192|Bn>>6&63,v[Ye+2]=Op&192|Bn&63,cc=3}else cc=Us;else if(Uo<248)if(Us>=4){const hc=v[Ye+1],Op=v[Ye+2],n_=v[Ye+3];Bn+=n_&63|(Op&63)<<6|(hc&63)<<12|(Uo&7)<<18,v[Ye]=240|Bn>>18&7,v[Ye+1]=hc&192|Bn>>12&63,v[Ye+2]=Op&192|Bn>>6&63,v[Ye+3]=n_&192|Bn&63,cc=4}else cc=Us}Ye+=cc,Us-=cc,xe===21&&(Us=0)}}for(;pi!==ie;)v[Rt++]=te[pi++];return Rt-N}m(Ee,"transformDictionaryWord");function Gt(v,N){let L=1<>1;return(v&L-1)+L}m(Gt,"getNextKey");function wt(v,N,L,X,W){let ht=X;for(;ht>0;)ht-=L,v[N+ht]=W}m(wt,"replicateValue");function xt(v,N,L){let X=N,W=1<0;)wt(v,ht+be,Es,ee,ie<<16|yt[xe++]),be=Gt(be,ie),Rt[ie]--;const fr=he-1;let ea=-1,pi=ht;Es=1;for(let ie=L+1;ie<=15;++ie)for(Es=Es<<1;Rt[ie]>0;)(be&fr)!==ea&&(pi+=ee,te=xt(Rt,ie,L),ee=1<>L),Es,ee,ie-L<<16|yt[xe++]),be=Gt(be,ie),Rt[ie]--;return he}m(At,"buildHuffmanTable");function Mt(v){if(v.endOfStreamReached!==0)return ae(v)>=-2?0:Re(v,-16);const N=v.halfOffset<<1;let L=4096-N;for(v.byteBuffer.copyWithin(0,N,4096),v.halfOffset=0;L<4096;){const X=4096-L,W=Hp(v,v.byteBuffer,L,X);if(W<-1)return W;if(W<=0){v.endOfStreamReached=1,v.tailBytes=L,L+=1;break}L+=W}return Be(v,L),0}m(Mt,"readMoreInput");function St(v,N){if(v.endOfStreamReached===0)return 0;const L=(v.halfOffset<<1)+(v.bitOffset+7>>3)-4;return L>v.tailBytes?Re(v,-13):N!==0&&L!==v.tailBytes?Re(v,-17):0}m(St,"checkHealth");function gt(v,N){const L=v.accumulator32>>>v.bitOffset&(1<>>16,v.bitOffset-=16,L|gt(v,N-16)<<16}m(Ft,"readManyBits");function Zt(v){return v.byteBuffer=new Int8Array(4160),v.accumulator32=0,v.shortBuffer=new Int16Array(2080),v.bitOffset=32,v.halfOffset=2048,v.endOfStreamReached=0,pt(v)}m(Zt,"initBitReader");function pt(v){if(v.halfOffset>2030){const L=Mt(v);if(L!==0)return L}let N=St(v,0);return N!==0?N:(v.accumulator32=v.shortBuffer[v.halfOffset++]<<16|v.accumulator32>>>16,v.bitOffset-=16,v.accumulator32=v.shortBuffer[v.halfOffset++]<<16|v.accumulator32>>>16,v.bitOffset-=16,0)}m(pt,"prepare");function Vt(v){return v.bitOffset===32?pt(v):0}m(Vt,"reload");function Lt(v){const N=32-v.bitOffset&7;return N!==0&>(v,N)!==0?Re(v,-5):0}m(Lt,"jumpToByteBoundary");function ae(v){let N=2048;return v.endOfStreamReached!==0&&(N=v.tailBytes+1>>1),N-v.halfOffset}m(ae,"halfAvailable");function bs(v,N,L,X){let W=L,ht=X;if(v.bitOffset&7)return Re(v,-30);for(;v.bitOffset!==32&&ht!==0;)N[W++]=v.accumulator32>>>v.bitOffset,v.bitOffset+=8,ht--;if(ht===0)return 0;const yt=Math.min(ae(v),ht>>1);if(yt>0){const Rt=v.halfOffset<<1,Kt=yt<<1;N.set(v.byteBuffer.subarray(Rt,Rt+Kt),W),W+=Kt,ht-=Kt,v.halfOffset+=yt}if(ht===0)return 0;if(ae(v)>0){for(v.bitOffset>=16&&(v.accumulator32=v.shortBuffer[v.halfOffset++]<<16|v.accumulator32>>>16,v.bitOffset-=16);ht!==0;)N[W++]=v.accumulator32>>>v.bitOffset,v.bitOffset+=8,ht--;return St(v,0)}for(;ht>0;){const Rt=Hp(v,N,W,ht);if(Rt<-1)return Rt;if(Rt<=0)return Re(v,-16);W+=Rt,ht-=Rt}return 0}m(bs,"copyRawBytes");function Be(v,N){const L=v.byteBuffer,X=N>>1,W=v.shortBuffer;for(let ht=0;ht>2,v[1792+W]=2+(W>>6);for(let W=0;W<128;++W)v[1024+W]=4*(N.charCodeAt(W)-32);for(let W=0;W<64;++W)v[1152+W]=W&1,v[1216+W]=2+(W&1);let X=1280;for(let W=0;W<19;++W){const ht=W&3,yt=L.charCodeAt(W)-32;for(let Rt=0;Rt>1;for(let ee=0;ee!pfwp6s{8-ip<73s{je#+pllmpfbwmlmfwvafyfqlpfmwqffgeb`wjmwldjewkbqn2;s{`bnfkjooalogyllnuljgfbpzqjmdejoosfbhjmjw`lpw0s{8ib`hwbdpajwpqloofgjwhmftmfbq?"..dqltIPLMgvwzMbnfpbofzlv#olwpsbjmibyy`logfzfpejpkttt-qjphwbapsqfu23s{qjpf16s{Aovfgjmd033/abooelqgfbqmtjogal{-ebjqob`hufqpsbjqivmfwf`kje+"sj`hfujo\'+! tbqnolqgglfpsvoo/333jgfbgqbtkvdfpslwevmgavqmkqfe`foohfzpwj`hklvqolppevfo21s{pvjwgfboQPP!bdfgdqfzDFW!fbpfbjnpdjqobjgp;s{8mbuzdqjgwjsp :::tbqpobgz`bqp*8#~sksolpfmvooubpwtjmgQPP#tfbqqfozaffmpbnfgvhfmbpb`bsftjpkdvoeW109kjwppolwdbwfhj`haovqwkfz26s{$$*8*8!=npjftjmpajqgplqwafwbpffhW2;9lqgpwqffnboo53s{ebqnlupalzpX3^-$*8!SLPWafbqhjgp*8~~nbqzwfmg+VH*rvbgyk9\n.pjy....sqls$*8ojewW2:9uj`fbmgzgfaw=QPPsllomf`haoltW259gllqfuboW249ofwpebjolqbosloomlub`lopdfmf#lxplewqlnfwjooqlpp?k0=slvqebgfsjmh?wq=njmj*"+njmfyk9abqpkfbq33*8njoh#..=jqlmeqfggjphtfmwpljosvwp,ip,klozW119JPAMW139bgbnpffp?k1=iplm$/#$`lmwW129#QPPollsbpjbnllm?,s=plvoOJMFelqw`bqwW279?k2=;3s{"..?:s{8W379njhf975Ymj`fjm`kZlqhqj`fyk9\b$**8svqfnbdfsbqbwlmfalmg904Y\\le\\$^*8333/yk9\vwbmhzbqgaltoavpk965YIbub03s{ ~ &@0&907YifeeF[SJ`bpkujpbdloepmltyk9rvfq-`pppj`hnfbwnjm-ajmggfookjqfsj`pqfmw905YKWWS.132elwltloeFMG#{al{967YALGZgj`h8 ~ f{jw906Yubqpafbw$~*8gjfw:::8bmmf~~?,Xj^-Obmdhn.^tjqfwlzpbggppfbobof{8 \n~f`klmjmf-lqd336*wlmziftppbmgofdpqlle333*#133tjmfdfbqgldpallwdbqz`vwpwzofwfnswjlm-{no`l`hdbmd\'+$-63s{Sk-Gnjp`bobmolbmgfphnjofqzbmvmj{gjp`*8~ gvpw`ojs*- 43s{.133GUGp4^=?wbsfgfnlj((*tbdffvqlskjolswpklofEBRpbpjm.15WobapsfwpVQO#avoh`llh8~ KFBGX3^*baaqivbm+2:;ofpkwtjm?,j=plmzdvzpev`hsjsf. "331*mgltX2^8X^8 Old#pbow \n\nabmdwqjnabwk*x 33s{ ~*8hl9\0effpbg=p9,,#X^8wloosovd+*x x #-ip$133sgvboalbw-ISD*8 ~rvlw*8 $*8  ~1327132613251324132;132:13131312131113101317131613151314131;131:130313021301130013071306130513041320132113221323133:133;133413351336133713301331133213332:::2::;2::42::52::62::72::02::12::22::32:;:2:;;2:;42:;52:;62:;72:;02:;12:;22:;32:4:2:4;2:442:452:462:472:402:412:422:432:5:2:5;2:542:552:562:572:502:512:522:532:6:2:6;2:642:652:662:672:602:612:622:632333231720:73333::::`lnln/Mpfpwffpwbsfqlwlglkb`f`bgbb/]lajfmg/Abbp/Aujgb`bpllwqlelqlplollwqb`vbogjilpjgldqbmwjslwfnbgfafbodlrv/Efpwlmbgbwqfpsl`l`bpbabilwlgbpjmlbdvbsvfpvmlpbmwfgj`fovjpfoobnbzlylmbbnlqsjpllaqb`oj`foolgjlpklqb`bpj<[<\\!sbqhpnlvpfNlpw#---?,bnlmdaqbjmalgz#mlmf8abpfg`bqqzgqbewqfefqsbdf\\klnf-nfwfqgfobzgqfbnsqlufiljmw?,wq=gqvdp?"..#bsqjojgfboboofmf{b`welqwk`lgfpoldj`Ujft#pffnpaobmhslqwp#+133pbufg\\ojmhdlbopdqbmwdqffhklnfpqjmdpqbwfg03s{8tklpfsbqpf+*8!#Aol`hojmv{ilmfpsj{fo$*8!=*8je+.ofewgbujgklqpfEl`vpqbjpfal{fpWqb`hfnfmw?,fn=abq!=-pq`>wltfqbow>!`baofkfmqz17s{8pfwvsjwbozpkbqsnjmlqwbpwftbmwpwkjp-qfpfwtkffodjqop,`pp,233&8`ovappwveeajaofulwfp#2333hlqfb~*8 abmgprvfvf>#x~8;3s{8`hjmdx \n\nbkfbg`ol`hjqjpkojhf#qbwjlpwbwpElqn!zbkll*X3^8Balvwejmgp?,k2=gfavdwbphpVQO#>`foop~*+*821s{8sqjnfwfoopwvqmp3{533-isd!psbjmafb`kwb{fpnj`qlbmdfo..=?,djewppwfuf.ojmhalgz-~*8 \nnlvmw#+2::EBR?,qldfqeqbmh@obpp1;s{8effgp?k2=?p`lwwwfpwp11s{8gqjmh*##oftjppkboo 30:8#elq#olufgtbpwf33s{8ib9npjnlm?elmwqfsoznffwpvmwfq`kfbswjdkwAqbmg*#">#gqfpp`ojspqllnplmhfznlajonbjm-Mbnf#sobwfevmmzwqffp`ln,!2-isdtnlgfsbqbnPWBQWofew#jggfm/#132*8 ~ elqn-ujqvp`kbjqwqbmptlqpwSbdfpjwjlmsbw`k?".. l.`b`ejqnpwlvqp/333#bpjbmj((*xbglaf$*X3^jg>23alwk8nfmv#-1-nj-smd!hfujm`lb`k@kjogaqv`f1-isdVQO*(-isdpvjwfpoj`fkbqqz213!#ptffwwq= mbnf>gjfdlsbdf#ptjpp..= eee8!=Old-`ln!wqfbwpkffw*#%%#27s{8poffsmwfmwejofgib9ojg>!`Mbnf!tlqpfpklwp.al{.gfowb %ow8afbqp97;Y?gbwb.qvqbo?,b=#psfmgabhfqpklsp>#!!8sks!=`wjlm20s{8aqjbmkfoolpjyf>l>&1E#iljmnbzaf?jnd#jnd!=/#eipjnd!#!*X3^NWlsAWzsf!mftozGbmph`yf`kwqbjohmltp?,k6=ebr!=yk.`m23*8 .2!*8wzsf>aovfpwqvozgbujp-ip$8= ?"pwffo#zlv#k1= elqn#ifpvp233&#nfmv- \n tbofpqjphpvnfmwggjmda.ojhwfb`kdje!#ufdbpgbmphffpwjpkrjspvlnjplaqfgfpgffmwqfwlglpsvfgfb/]lpfpw/Mwjfmfkbpwblwqlpsbqwfglmgfmvfulkb`fqelqnbnjpnlnfilqnvmglbrv/Ag/Abpp/_olbzvgbef`kbwlgbpwbmwlnfmlpgbwlplwqbppjwjlnv`klbklqbovdbqnbzlqfpwlpklqbpwfmfqbmwfpelwlpfpwbpsb/Apmvfubpbovgelqlpnfgjlrvjfmnfpfpslgfq`kjofpfq/Muf`fpgf`jqilp/Efpwbqufmwbdqvslkf`klfoolpwfmdlbnjdl`lpbpmjufodfmwfnjpnbbjqfpivojlwfnbpkb`jbebulqivmjlojaqfsvmwlavfmlbvwlqbaqjoavfmbwf{wlnbqylpbafqojpwbovfdl`/_nlfmfqlivfdlsfq/Vkbafqfpwlzmvm`bnvifqubolqevfqbojaqldvpwbjdvboulwlp`bplpdv/Absvfglplnlpbujplvpwfggfafmml`kfavp`bebowbfvqlppfqjfgj`kl`vqpl`obuf`bpbpof/_msobylobqdllaqbpujpwbbslzlivmwlwqbwbujpwl`qfbq`bnslkfnlp`jm`l`bqdlsjplplqgfmkb`fm/Mqfbgjp`lsfgql`fq`bsvfgbsbsfonfmlq/Vwjo`obqlilqdf`boofslmfqwbqgfmbgjfnbq`bpjdvffoobppjdol`l`kfnlwlpnbgqf`obpfqfpwlmj/]lrvfgbsbpbqabm`lkjilpujbifsbaol/Epwfujfmfqfjmlgfibqelmgl`bmbomlqwfofwqb`bvpbwlnbqnbmlpovmfpbvwlpujoobufmglsfpbqwjslpwfmdbnbq`loofubsbgqfvmjglubnlpylmbpbnalpabmgbnbqjbbavplnv`kbpvajqqjlibujujqdqbgl`kj`bboo/Ailufmgj`kbfpwbmwbofppbojqpvfolsfplpejmfpoobnbavp`l/Epwboofdbmfdqlsobybkvnlqsbdbqivmwbglaofjpobpalopbab/]lkbaobov`kb/mqfbgj`fmivdbqmlwbpuboofboo/M`bqdbglolqbabilfpw/Edvpwlnfmwfnbqjlejqnb`lpwlej`kbsobwbkldbqbqwfpofzfpbrvfonvpflabpfpsl`lpnjwbg`jfol`kj`lnjfgldbmbqpbmwlfwbsbgfafpsobzbqfgfppjfwf`lqwf`lqfbgvgbpgfpflujfilgfpfbbdvbp%rvlw8glnbjm`lnnlmpwbwvpfufmwpnbpwfqpzpwfnb`wjlmabmmfqqfnlufp`qloovsgbwfdolabonfgjvnejowfqmvnafq`kbmdfqfpvowsvaoj`p`qffm`kllpfmlqnbowqbufojppvfpplvq`fwbqdfwpsqjmdnlgvofnlajofptjw`ksklwlpalqgfqqfdjlmjwpfoepl`jbob`wjuf`lovnmqf`lqgelooltwjwof=fjwkfqofmdwkebnjozeqjfmgobzlvwbvwklq`qfbwfqfujftpvnnfqpfqufqsobzfgsobzfqf{sbmgsloj`zelqnbwglvaofsljmwppfqjfpsfqplmojujmdgfpjdmnlmwkpelq`fpvmjrvftfjdkwsflsoffmfqdzmbwvqfpfbq`kejdvqfkbujmd`vpwlnleepfwofwwfqtjmgltpvanjwqfmgfqdqlvspvsolbgkfbowknfwklgujgflpp`klloevwvqfpkbgltgfabwfubovfpLaif`wlwkfqpqjdkwpofbdvf`kqlnfpjnsofmlwj`fpkbqfgfmgjmdpfbplmqfslqwlmojmfprvbqfavwwlmjnbdfpfmbaofnlujmdobwfpwtjmwfqEqbm`fsfqjlgpwqlmdqfsfbwOlmglmgfwbjoelqnfggfnbmgpf`vqfsbppfgwlddofsob`fpgfuj`fpwbwj``jwjfppwqfbnzfooltbwwb`hpwqffweojdkwkjggfmjmel!=lsfmfgvpfevouboofz`bvpfpofbgfqpf`qfwpf`lmggbnbdfpslqwpf{`fswqbwjmdpjdmfgwkjmdpfeef`wejfogppwbwfpleej`fujpvbofgjwlqulovnfQfslqwnvpfvnnlujfpsbqfmwb``fppnlpwoznlwkfq!#jg>!nbqhfwdqlvmg`kbm`fpvqufzafelqfpznalonlnfmwpsff`knlwjlmjmpjgfnbwwfq@fmwfqlaif`wf{jpwpnjggofFvqlsfdqltwkofdb`znbmmfqfmlvdk`bqffqbmptfqlqjdjmslqwbo`ojfmwpfof`wqbmgln`olpfgwlsj`p`lnjmdebwkfqlswjlmpjnsozqbjpfgfp`bsf`klpfm`kvq`kgfejmfqfbplm`lqmfqlvwsvwnfnlqzjeqbnfsloj`fnlgfopMvnafqgvqjmdleefqppwzofphjoofgojpwfg`boofgpjoufqnbqdjmgfofwfafwwfqaqltpfojnjwpDolabopjmdoftjgdfw`fmwfqavgdfwmltqbs`qfgjw`objnpfmdjmfpbefwz`klj`fpsjqjw.pwzofpsqfbgnbhjmdmffgfgqvppjbsofbpff{wfmwP`qjswaqlhfmbooltp`kbqdfgjujgfeb`wlqnfnafq.abpfgwkflqz`lmejdbqlvmgtlqhfgkfosfg@kvq`kjnsb`wpklvogbotbzpoldl!#alwwlnojpw!=*xubq#sqfej{lqbmdfKfbgfq-svpk+`lvsofdbqgfmaqjgdfobvm`kQfujftwbhjmdujpjlmojwwofgbwjmdAvwwlmafbvwzwkfnfpelqdlwPfbq`kbm`klqbonlpwolbgfg@kbmdfqfwvqmpwqjmdqfolbgNlajofjm`lnfpvssozPlvq`flqgfqpujftfg%maps8`lvqpfBalvw#jpobmg?kwno#`llhjfmbnf>!bnbylmnlgfqmbguj`fjm?,b=9#Wkf#gjboldklvpfpAFDJM#Nf{j`lpwbqwp`fmwqfkfjdkwbggjmdJpobmgbppfwpFnsjqfP`kllofeelqwgjqf`wmfbqoznbmvboPfof`w- Lmfiljmfgnfmv!=SkjojsbtbqgpkbmgofjnslqwLeej`fqfdbqgphjoopmbwjlmPslqwpgfdqfftffhoz#+f-d-afkjmggl`wlqolddfgvmjwfg?,a=?,afdjmpsobmwpbppjpwbqwjpwjppvfg033s{`bmbgbbdfm`zp`kfnfqfnbjmAqbyjopbnsofoldl!=afzlmg.p`bofb``fswpfqufgnbqjmfEllwfq`bnfqb?,k2= \\elqn!ofbufppwqfpp!#,= -dje!#lmolbgolbgfqL{elqgpjpwfqpvqujuojpwfmefnbofGfpjdmpjyf>!bssfbowf{w!=ofufopwkbmhpkjdkfqelq`fgbmjnbobmzlmfBeqj`bbdqffgqf`fmwSflsof?aq#,=tlmgfqsqj`fpwvqmfg#x~8nbjm!=jmojmfpvmgbztqbs!=ebjofg`fmpvpnjmvwfafb`lmrvlwfp263s{fpwbwfqfnlwffnbjo!ojmhfgqjdkw8pjdmboelqnbo2-kwnopjdmvssqjm`feolbw9-smd!#elqvn-B``fppsbsfqpplvmgpf{wfmgKfjdkwpojgfqVWE.;!%bns8#Afelqf-#TjwkpwvgjlltmfqpnbmbdfsqlejwiRvfqzbmmvbosbqbnpalvdkwebnlvpdlldofolmdfqj((*#xjpqbfopbzjmdgf`jgfklnf!=kfbgfqfmpvqfaqbm`ksjf`fpaol`h8pwbwfgwls!=?qb`jmdqfpjyf..%dw8sb`jwzpf{vboavqfbv-isd!#23/333lawbjmwjwofpbnlvmw/#Jm`-`lnfgznfmv!#ozqj`pwlgbz-jmgffg`lvmwz\\oldl-EbnjozollhfgNbqhfwopf#jeSobzfqwvqhfz*8ubq#elqfpwdjujmdfqqlqpGlnbjm~fopfxjmpfqwAold?,ellwfqoldjm-ebpwfqbdfmwp?algz#23s{#3sqbdnbeqjgbzivmjlqgloobqsob`fg`lufqpsovdjm6/333#sbdf!=alpwlm-wfpw+bubwbqwfpwfg\\`lvmwelqvnpp`kfnbjmgf{/ejoofgpkbqfpqfbgfqbofqw+bssfbqPvanjwojmf!=algz!= )#WkfWklvdkpffjmdifqpfzMftp?,ufqjezf{sfqwjmivqztjgwk>@llhjfPWBQW#b`qlpp\\jnbdfwkqfbgmbwjufsl`hfwal{!= Pzpwfn#Gbujg`bm`fqwbaofpsqlufgBsqjo#qfboozgqjufqjwfn!=nlqf!=albqgp`lolqp`bnsvpejqpw##X^8nfgjb-dvjwbqejmjpktjgwk9pkltfgLwkfq#-sks!#bppvnfobzfqptjoplmpwlqfpqfojfeptfgfm@vpwlnfbpjoz#zlvq#Pwqjmd Tkjowbzolq`ofbq9qfplqweqfm`kwklvdk!*#(#!?algz=avzjmdaqbmgpNfnafqmbnf!=lssjmdpf`wlq6s{8!=upsb`fslpwfqnbilq#`leeffnbqwjmnbwvqfkbssfm?,mbu=hbmpbpojmh!=Jnbdfp>ebopftkjof#kpsb`f3%bns8# Jm##sltfqSlophj.`lolqilqgbmAlwwlnPwbqw#.`lvmw1-kwnomftp!=32-isdLmojmf.qjdkwnjoofqpfmjlqJPAM#33/333#dvjgfpubovf*f`wjlmqfsbjq-{no!##qjdkwp-kwno.aol`hqfdF{s9klufqtjwkjmujqdjmsklmfp?,wq=vpjmd# \nubq#=$*8 \n?,wg= ?,wq= abkbpbaqbpjodbofdlnbdzbqslophjpqsphj4]4C5d\bTA\nzk\vBl\bQ\vUmGx\bSM\nmC\bTA wQ\nd}\bW@\bTl\bTF i@ cT\vBM\v|jBV qw cC\bWI\npa fM\n{Z{X\bTF\bVV\bVK mkF []\bPm\bTv\nsI\vpg [I\bQpmx\v_W\n^M\npe\vQ}\vGu\nel\npeChBV\bTA So\nzk\vGL\vxD\nd[JzMY\bQpli\nfl\npC{BNt\vwT i_\bTgQQ\n|p\vXN\bQS\vxDQC\bWZ pD\vVS\bTWNtYh\nzuKjN} wr Ha\n_D j`\vQ}\vWp\nxZ{c ji BU\nbDa| Tn pV\nZd\nmC\vEV{X c} To\bWl\bUd IQ cg\vxs\nXW wR\vek c} ]y Jn\nrp\neg\npV\nz\\{W\npl\nz\\\nzU Pc `{\bV@\nc|\bRw i_\bVb\nwX HvSu\bTF\v_W\vWs\vsIm\nTT\ndc US }f iZ\bWz c}MD Be iD\v@@\bTl\bPv }tSwM`\vnU kW\ved\nqo\vxY A|\bTz\vy`BRBM iaXU\nyun^ fL iI\nXW fD\bWz\bW@ yj m av BN\vb\\ pD\bTf\nY[ Jn\bQy [^\vWc\vyuDlCJ\vWj\vHR `V\vuW Qy\np@\vGuplJm\bW[\nLP\nxC\n`m wQuiR\nbI wQ BZ WVBR\npg cgtiCW\n_y Rg\bQa\vQB\vWc\nYble\ngESu\nL[ Q ea dj\v]W\nb~M` wL\bTV\bVH\nt\npl |bs_\bU|\bTaoQlvSkM`\bTv\vK}\nfl cCoQBR Hk |d\bQp HK BZ\vHR\bPv\vLx\vEZ\bT\bTv iDoDMU\vwBSuk`St\ntC Pl Kg\noi jY\vxYh}\nzk\bWZ m\ve` TB fE\nzk `zYh\nV| HK AJ AJ\bUL p\\ ql\nYcKd\nfyYh [I\vDgJm\n]n\nlb\bUd\n{Z lu fsoQ\bTWJm\vwB eaYhBC sb Tn\nzU\n_y\vxY Q]\ngwmt O\\\ntb\bWW\bQy mI V[\ny\\\naB\vRb wQ\n]QQJ\bWg\vWa\bQj\ntC\bVH\nYm\vxs\bVK\nel\bWI\vxYCq\ntR\vHV\bTl\bVw ay\bQa\bVV }t dj\nr| p\\ wR\n{i\nTT [I i[ AJ\vxs\v_W d{\vQ} cg Tz A| Cj\vLmN}m\nbK dZ p\\ `V sV\np@ iD wQ\vQ}\bTfkaJm\v@@\bV` zp\n@NSw iI cg\noiSu\bVwloCy c}\vb\\ sUBA\bWI\bTf\nxS Vp\nd|\bTV\vbC NoJu\nTC |`\n{Z D]\bU| c}lm\bTl Bv Pl c}\bQp m\nLk kj\n@NSbKO j_ p\\\nzU\bTl\bTg\bWI cfXO\bWW\ndzli BN\nd[\bWOMD\vKC dj I_\bVV\ny\\\vLmxl xB kV\vb\\\vJW\vVS Vx\vxD d{MD\bTa |`\vPzR}\vWsBM\nsICN\bTaJm\npe i_\npV\nrh Rd Hv\n~A\nxR\vWh\vWk\nxS\vAz\vwX\nbIoQ fw\nqI\nV|\nunz\vpg d\\\voA{D i_xB\bT `Vqr TTg]CA\vuR VJ T`\npw\vRb I_\nCxRo\vsICjKh Bv WVBBoD{D\nhcKm\v^R QE\n{I\np@\nc|Gt c}Dl\nzUqN sVk} Hh\v|j\nqou| Q]\vekZM`St\npe dj\bVG\veE m\vWc|I\n[W fL\bT BZSu\vKaCqNtY[\nqI\bTv fM i@ }fB\\ Qy\vBl\bWgXDkc\vx[\bVV Q] a Py\vxD\nfI }foD dj SGls ~DCN\n{Z \\v\n_D\nhc\vx_C[ AJ\nLM VxCI bj c^ cF\ntCSx wrXA\bU\\ |a\vK\\\bTV\bVj\nd| fsCX\ntb\bRw Vx AE A|\bTNt\vDg Vc\bTld@\npo M cF\npe iZ Bo\bSq\nfHl`\bTx\bWf HE\vF{ cO fD\nlm\vfZ\nlm\veU dGBH\bTV SiMW\nwX\nz\\ \\cCX\nd} l}\bQp\bTV F~\bQ `i\ng@nO\bUd\bTl\nL[ wQ ji\ntC |J\nLU\naB\vxYKj AJuN i[\npeSk\vDg\vx]\bVb\bVV\nea kV\nqI\bTaSk\nAO pD\ntb\nts\nyi\bVg i_\v_W\nLkNt yj fMR iI\bTl\vwX sV\vMl\nyu AJ\bVjKO WV\vA}\vW\nrp iD\v|olv\vsIBM d~ CU\bVbeV\npC\vwT j` c}\vxs\vps\vvh WV\vGg\vAe\vVK\v]W rg\vWcF` Br\vb\\ dZ\bQp\nqIkF\nLk\vAR\bWI\bTg bs dw\n{L\n_y iZ\bTA lg\bVV\bTl dk\n`k a{ i_{Awj wN\v@@\bTe i_\n_D wL\nAH\viK\vek\n[] p_ yj\bTv US [r\n{I\npsGt\vVK\nplS}\vWP |dMD\vHV\bTR}M`\bTV\bVHlvCh\bW[Ke R{\v^R ab BZ VA B`\nd|\nhsKe BeOi R{ d\\nB\bWZ dZ VJOs muQ\vhZQ@QQ\nfI\bW[B\\li\nzU\nMdM`\nxS\bVV\n\\}\vxD m\bTpIS\nc| kVi~ V{\vhZ |b\bWt\n@R\voA\vnU\bWI ea B` iD c} TzBR\vQBNj CP [I\bTv `WuN\vpg\vpg\vWc iT bs wL U_ c\\ |h\vKa Nr fL\nq|\nzu\nz\\ Nr\bUg |bm`\bTv\nyd\nrp\bWf UXBV\nzk\nd} wQ }fCe\ved\bTW\bSB\nxU cn\bTb\ne a\\ SG\bU|\npV\nN\\Kn\vnU At pD\v^R\vIrb[ R{ dE\vxD\vWK\vWA\bQL\bW@Su\bUd\nDM PcCADloQ Hswiub\na\bQpOb\nLP\bTlY[\vK} AJ\bQn^\vsA\bSM\nqM\bWZ\n^W\vz{S| fD\bVK\bTv\bPvBB CPdF id\vxsmx\vws cC\ntC ycM`\vW\nrh\bQp\vxD\\o\nsI_k\nzukF fDXsXO jp\bTvBS{B Br\nzQ\nbI c{BDBVnO\bTF caJd fL PV I_\nlK`o wX\npa gu\bP}{^\bWf\n{I BN\npaKl\vpg cn fL\vvhCq\bTl\vnU\bSqCm wR\bUJ\npe\nyd\nYgCy\vKW fD\neaoQ j_ BvnM\vID\bTa\nzApl\n]n\bTa R{ fr\n_y\bUg{Xkk\vxD|Ixl\nfyCe\vwB\nLk\vd]\noi\n}h Q]\npe\bVwHkOQ\nzk AJ\npV\bPv\ny\\ A{Oi\bSBXA\veE jp\nq} iDqN\v^R m iZ Br\bVg\noi\n\\X U_\nc|\vHV\bTf Tn\\N\\N\nuBlv\nyu Td\bTf\bPL\v]W dG\nA`\nw^\ngI\npe dw\nz\\ia\bWZ cFJm\n{Z\bWO_kDfRR d\\\bVV\vxsBNtilm Td ]y\vHV So\v|jXX A|\vZ^\vGu\bTWM`kF\vhZ\vVK dG\vBl ay\nxUqEnO\bVw\nqICX\ne Pl\bWO\vLm dLuHCm dTfn\vwBka\vnU\n@M\nyT Hv \\}Kh d~Yhk}\neR d\\\bWI |b HK iD\bTWMY\npl\bQ_ wr\vAx HE\bTg\bSqvp\vb\\\bWO\nOl\nsI\nfy\vID \\c\n{Z\n^~\npe\nAO TT\vxvk_\bWO\v|j\vwB Qy i@ Pl Ha dZk}ra UT\vJc\ved\np@ QN\nd| kj HkM`\noi wr d\\\nlq\no_\nlb\nL[ acBBBHCm\npl IQ\bVK\vxs\n`e\viK\npaOi US\bTp fD\nPGkkXA\nz\\\neg\vWh wRqN\nqS cnlo\nxS\n^W BU\nt HE p\\ fF fw\bVV\bW@ ak\vVKls VJ\bVV\veE\\o\nyX\nYmM`lL\nd|\nzk A{sE wQXT\nt Pl ]y\vwT{pMD\vb\\ Q]Kj Jn\nAH\vRb BU HK \\c\nfIm\nqM\n@R So\noiBT Hv\n_yKh BZ ]i\bUJ V{Sr\nbI\vGg a_\bTR\nfI\nfl [K IIS|\vuW iI\bWI\nqI\v|jBV\bVg\bWZkF\vx]\bTA ab fr i@ Jd Jd\vps\nAO\bTaxu iD\nzk |d |`\bW[ lP dG\bVV\vw}\vqO i[\bQ\bTz\vVF wNts dw\bTv\neS\ngi NryS\npe\bVV\bSq\n`m yj BZ\vWX\bSB c\\\nUR [J c_nM\bWQ\vAx\nMd Brui\vxY\bSM\vWc\v|j\vxs }Q BO\bPL\bWW fM\nAO Pc\veUe^\bTg\nqI ac\bPv cFoQ Q\vhZka\nz\\ iK BU\n`k CPS|M`\n{I S{_O BZZiSk ps p\\\nYu\n]s\nxC\bWt\nbD kV\vGuyS\nqA [r\neKM` dZlL\bUg\bTl\nbD US\vb\\ pV\nccS\\ ct `z\bPL\vWs\nA`\neg\bSquECR\vDg `W\vz{\vWcSkSk bW\bUg ea\nxZ iI UX VJ\nqn S{\vRb\bTQ\nplGt\vuWuj\npF\nqI fL [I iaXO\nyu\vDg\ved q{VG\bQka Vj kV xB\nd|\np@ QN Pc ps]j kV oU\bTp\nzUnB\vB] a{\bV@\n]nm` cz R{m`\bQa\vwT\bSMMYqN dj~s\vQ}MY\vMB Bv wR\bRg\vQ} ql\vKC\nrmxuCC\vwB\vvh BqXq\npV i_ObuE\nbd\nqo\v{i\nC~ BL\veEuH\bVjEyGz\vzR\v{i cf\n{Z\n]nXA\vGu\vnU hS\vGI\nCc HE\bTA HBBHCj\nCc\bTF HE\nXI A{\bQ c\\\vmO\vWX\nfH\np@MY\bTF\nlK Bt\nzU TTKm\vwT\npV\ndt\vyI Vx Q Rg Td\nzU\bRS\nLM wAnM Tn\ndS ]g\nLc\vwB }t [I CPkX\vFm\vhZm i[\np@\vQ}\vW |d\nMO\nMd f_ fD cJ Hz\vRb io PyY[\nxU ct\v@@ ww\bPvBMFF\ntbv|\vKm Bq BqKh`o\nZdXU i] |` StB\\\bQ\v_W TJ\nqI |a A{\vuPMD Pl\nxR fL\vws c{ d\\\bV`\neg HKkc\nd|\bVV\ny\\kc i]\bVG `V ss I_ AE bs du\nel pD\vW\nqslv\bSMZi\vVKia\vQB Q\n{Z\bPt\vKl\nlK\nhs\ndS\bVKmf\nd^ kV cO\nc|\bVH \\]\bTv\bSq mI\vDg VJ cn\ny\\\bVg\bTv\nyX\bTF ]]\bTp\noi\nhs\veU\nBf djMr\n|p \\g ]r\bVb{D\nd[XN fM O\\s_ cf iZXN\vWc qv\n`m U^oD\nd|\vGg dE\vwflou}\nd|oQ `iOi\vxD\ndZ\nCxYw\nzk\ntb\ngw yj B`\nyX\vps\ntC\vpP\vqw\bPu\bPX Dm\npwNj ss aG\vxs\bPt\noLGz Ok i@ i]eC IQ ii dj\v@J |duh\bWZ\veU\vnU\bTa cCg]\nzkYh\bVK\nLU\np@\ntb\ntR Cj\vNP i@\bP{\n\\}\n{c\nwX fL\bVG c{ |` AJ |C fDln |d bs\nqI{B\vAx\np@\nzk\vRbOs\vWSe^\vD_ Bv\vWd\bVb\vxs\veE\bRw\n]n\n|p\vg| fwkc\bTIka\n\\TSp ju\vps\npeu|\vGr\bVe CU]MXU\vxD\bTa IQ\vWq CU am dj\bSoSw\vnUCh Q]s_\bPt fS\bTa \\}\n@OYc UZ\bTx\npe\vnU\nzU |} iD\nz\\\bSM\vxDBR\nzQ QN]MYh\nLP\vFm\vLXvc\vqlka HK\bVb\ntC\nCy\bTv\nuVoQ `z [I B`\vRb yj sb\vWs\bTl kV\ved\nelL\vxN m\nJn jY\vxD\bVb\bSq\vyu wL\vXL\bTA pg At nDXX wR\npl\nhwyS\nps cO\bW[\v|jXN sV p\\ Be\nb~\nAJ\n]ek`qN dw WV HE\vEVJz id B` zhE] fD\bTgqN\bTa jaCv\bSM\nhc\bUet_ ieg] wQ\nPn\bVB jw\bVg\vbE BZ\vRH\bP{ jp\n\\} a_ cC |a\vD] BZ i[ fD\vxW\no_ d\\\n_D\ntb \\c AJ\nlKoQlo\vLx\vM@\bWZKn\vpg\nTi\nIv\n|r\v@}JzLmWhk}ln\vxD\n]sgc\vps Br\bTW\vBMtZ\nBYDW jf\vSWC}\nqo dE mv IQ\bPP\bUblvBC\nzQ [I\vgl\nig\bUsBT\vbC\bSq sU iW\nJn SY HK rg\npV\vID\v|jKO `S |a`vbmglfmujbqnbgqjgavp`bqjmj`jlwjfnslslqrvf`vfmwbfpwbglsvfgfmivfdlp`lmwqbfpw/Mmmlnaqfwjfmfmsfqejonbmfqbbnjdlp`jvgbg`fmwqlbvmrvfsvfgfpgfmwqlsqjnfqsqf`jlpfd/Vmavfmlpuloufqsvmwlppfnbmbkba/Abbdlpwlmvfulpvmjglp`bqolpfrvjslmj/]lpnv`klpbodvmb`lqqfljnbdfmsbqwjqbqqjabnbq/Abklnaqffnsoflufqgbg`bnajlnv`kbpevfqlmsbpbglo/Amfbsbqf`fmvfubp`vqplpfpwbabrvjfqlojaqlp`vbmwlb``fplnjdvfoubqjlp`vbwqlwjfmfpdqvslppfq/Mmfvqlsbnfgjlpeqfmwfb`fq`bgfn/Mplefqwb`l`kfpnlgfoljwbojbofwqbpbod/Vm`lnsqb`vbofpf{jpwf`vfqslpjfmglsqfmpboofdbqujbifpgjmfqlnvq`jbslgq/Msvfpwlgjbqjlsvfaolrvjfqfnbmvfosqlsjl`qjpjp`jfqwlpfdvqlnvfqwfevfmwf`fqqbqdqbmgffef`wlsbqwfpnfgjgbsqlsjbleqf`fwjfqqbf.nbjoubqjbpelqnbpevwvqllaifwlpfdvjqqjfpdlmlqnbpnjpnlp/Vmj`l`bnjmlpjwjlpqby/_mgfajglsqvfabwlofglwfm/Abifp/Vpfpsfql`l`jmblqjdfmwjfmgb`jfmwl`/Mgjykbaobqpfq/Abobwjmbevfqybfpwjoldvfqqbfmwqbq/E{jwlo/_sfybdfmgbu/Agflfujwbqsbdjmbnfwqlpibujfqsbgqfpe/M`jo`bafyb/Mqfbppbojgbfmu/Alibs/_mbavplpajfmfpwf{wlpoofubqsvfgbmevfqwf`ln/Vm`obpfpkvnbmlwfmjglajoablvmjgbgfpw/Mpfgjwbq`qfbgl2%bns8Kjpwlqz#>#mft#@fmwqbovsgbwfgPsf`jboMfwtlqhqfrvjqf`lnnfmwtbqmjmd@loofdfwlloabqqfnbjmpaf`bvpffof`wfgGfvwp`kejmbm`ftlqhfqprvj`hozafwtffmf{b`wozpfwwjmdgjpfbpfPl`jfwztfbslmpf{kjajw%ow8"..@lmwqlo`obppfp`lufqfglvwojmfbwwb`hpgfuj`fp+tjmgltsvqslpfwjwof>!Nlajof#hjoojmdpkltjmdJwbojbmgqlssfgkfbujozfeef`wp.2$^*8 `lmejqn@vqqfmwbgubm`fpkbqjmdlsfmjmdgqbtjmdajoojlmlqgfqfgDfqnbmzqfobwfg?,elqn=jm`ovgftkfwkfqgfejmfgP`jfm`f`bwboldBqwj`ofavwwlmpobqdfpwvmjelqnilvqmfzpjgfabq@kj`bdlklojgbzDfmfqbosbppbdf/%rvlw8bmjnbwfeffojmdbqqjufgsbppjmdmbwvqboqlvdkoz- Wkf#avw#mlwgfmpjwzAqjwbjm@kjmfpfob`h#lewqjavwfJqfobmg!#gbwb.eb`wlqpqf`fjufwkbw#jpOjaqbqzkvpabmgjm#eb`wbeebjqp@kbqofpqbgj`boaqlvdkwejmgjmdobmgjmd9obmd>!qfwvqm#ofbgfqpsobmmfgsqfnjvnsb`hbdfBnfqj`bFgjwjlm^%rvlw8Nfppbdfmffg#wlubovf>!`lnsof{ollhjmdpwbwjlmafojfufpnboofq.nlajofqf`lqgptbmw#wlhjmg#leEjqfel{zlv#bqfpjnjobqpwvgjfgnb{jnvnkfbgjmdqbsjgoz`ojnbwfhjmdglnfnfqdfgbnlvmwpelvmgfgsjlmffqelqnvobgzmbpwzklt#wl#Pvsslqwqfufmvff`lmlnzQfpvowpaqlwkfqplogjfqobqdfoz`boojmd-%rvlw8B``lvmwFgtbqg#pfdnfmwQlafqw#feelqwpSb`jej`ofbqmfgvs#tjwkkfjdkw9tf#kbufBmdfofpmbwjlmp\\pfbq`kbssojfgb`rvjqfnbppjufdqbmwfg9#ebopfwqfbwfgajddfpwafmfejwgqjujmdPwvgjfpnjmjnvnsfqkbspnlqmjmdpfoojmdjp#vpfgqfufqpfubqjbmw#qlof>!njppjmdb`kjfufsqlnlwfpwvgfmwplnflmff{wqfnfqfpwlqfalwwln9fuloufgboo#wkfpjwfnbsfmdojpktbz#wl##Bvdvpwpznalop@lnsbmznbwwfqpnvpj`bobdbjmpwpfqujmd~*+*8 sbznfmwwqlvaof`lm`fsw`lnsbqfsbqfmwpsobzfqpqfdjlmpnlmjwlq#$$Wkf#tjmmjmdf{solqfbgbswfgDboofqzsqlgv`fbajojwzfmkbm`f`bqffqp*-#Wkf#`loof`wPfbq`k#bm`jfmwf{jpwfgellwfq#kbmgofqsqjmwfg`lmplofFbpwfqmf{slqwptjmgltp@kbmmfojoofdbomfvwqbopvddfpw\\kfbgfqpjdmjmd-kwno!=pfwwofgtfpwfqm`bvpjmd.tfahjw`objnfgIvpwj`f`kbswfquj`wjnpWklnbp#nlyjoobsqlnjpfsbqwjfpfgjwjlmlvwpjgf9ebopf/kvmgqfgLoznsj`\\avwwlmbvwklqpqfb`kfg`kqlmj`gfnbmgppf`lmgpsqlwf`wbglswfgsqfsbqfmfjwkfqdqfbwozdqfbwfqlufqboojnsqluf`lnnbmgpsf`jbopfbq`k-tlqpkjsevmgjmdwklvdkwkjdkfpwjmpwfbgvwjojwzrvbqwfq@vowvqfwfpwjmd`ofbqozf{slpfgAqltpfqojafqbo~#`bw`kSqlif`wf{bnsofkjgf+*8EolqjgbbmptfqpbooltfgFnsfqlqgfefmpfpfqjlvpeqffglnPfufqbo.avwwlmEvqwkfqlvw#le#">#mvoowqbjmfgGfmnbqhuljg+3*,boo-ipsqfufmwQfrvfpwPwfskfm Tkfm#lapfquf?,k1= Nlgfqm#sqlujgf!#bow>!alqgfqp- Elq# Nbmz#bqwjpwpsltfqfgsfqelqnej`wjlmwzsf#lenfgj`bowj`hfwplsslpfg@lvm`jotjwmfppivpwj`fDflqdf#Afodjvn---?,b=wtjwwfqmlwbaoztbjwjmdtbqebqf#Lwkfq#qbmhjmdskqbpfpnfmwjlmpvqujufp`klobq?,s= #@lvmwqzjdmlqfgolpp#leivpw#bpDflqdjbpwqbmdf?kfbg=?pwlssfg2$^*8 jpobmgpmlwbaofalqgfq9ojpw#le`bqqjfg233/333?,k0= #pfufqboaf`lnfppfof`w#tfggjmd33-kwnonlmbq`klee#wkfwfb`kfqkjdkoz#ajloldzojef#lelq#fufmqjpf#le%qbrvl8sovplmfkvmwjmd+wklvdkGlvdobpiljmjmd`jq`ofpElq#wkfBm`jfmwUjfwmbnufkj`ofpv`k#bp`qzpwboubovf#>Tjmgltpfmilzfgb#pnboobppvnfg?b#jg>!elqfjdm#Boo#qjklt#wkfGjpsobzqfwjqfgkltfufqkjggfm8abwwofppffhjmd`bajmfwtbp#mlwollh#bw`lmgv`wdfw#wkfIbmvbqzkbssfmpwvqmjmdb9klufqLmojmf#Eqfm`k#ob`hjmdwzsj`bof{wqb`wfmfnjfpfufm#jedfmfqbwgf`jgfgbqf#mlw,pfbq`kafojfep.jnbdf9ol`bwfgpwbwj`-oldjm!=`lmufqwujlofmwfmwfqfgejqpw!=`jq`vjwEjmobmg`kfnjpwpkf#tbp23s{8!=bp#pv`kgjujgfg?,psbm=tjoo#afojmf#leb#dqfbwnzpwfqz,jmgf{-eboojmdgvf#wl#qbjotbz`loofdfnlmpwfqgfp`fmwjw#tjwkmv`ofbqIftjpk#sqlwfpwAqjwjpkeoltfqpsqfgj`wqfelqnpavwwlm#tkl#tbpof`wvqfjmpwbmwpvj`jgfdfmfqj`sfqjlgpnbqhfwpPl`jbo#ejpkjmd`lnajmfdqbskj`tjmmfqp?aq#,=?az#wkf#MbwvqboSqjub`z`llhjfplvw`lnfqfploufPtfgjpkaqjfeozSfqpjbmpl#nv`k@fmwvqzgfsj`wp`lovnmpklvpjmdp`qjswpmf{w#wlafbqjmdnbssjmdqfujpfgiRvfqz+.tjgwk9wjwof!=wllowjsPf`wjlmgfpjdmpWvqhjpkzlvmdfq-nbw`k+~*+*8 avqmjmdlsfqbwfgfdqffpplvq`f>Qj`kbqg`olpfozsobpwj`fmwqjfp?,wq= `lolq9 vo#jg>!slppfppqloojmdskzpj`pebjojmdf{f`vwf`lmwfpwojmh#wlGfebvow?aq#,= 9#wqvf/`kbqwfqwlvqjpn`obppj`sql`ffgf{sobjm?,k2= lmojmf-<{no#ufkfosjmdgjbnlmgvpf#wkfbjqojmffmg#..=*-bwwq+qfbgfqpklpwjmd eeeeeeqfbojyfUjm`fmwpjdmbop#pq`>!,Sqlgv`wgfpsjwfgjufqpfwfoojmdSvaoj`#kfog#jmIlpfsk#wkfbwqfbeef`wp?pwzof=b#obqdfglfpm$wobwfq/#Fofnfmwebuj`lm`qfbwlqKvmdbqzBjqslqwpff#wkfpl#wkbwNj`kbfoPzpwfnpSqldqbnp/#bmg##tjgwk>f%rvlw8wqbgjmdofew!= sfqplmpDlogfm#Beebjqpdqbnnbqelqnjmdgfpwqlzjgfb#le`bpf#lelogfpw#wkjp#jp-pq`#>#`bqwllmqfdjpwq@lnnlmpNvpojnpTkbw#jpjm#nbmznbqhjmdqfufbopJmgffg/frvbooz,pklt\\blvwgllqfp`bsf+Bvpwqjbdfmfwj`pzpwfn/Jm#wkf#pjwwjmdKf#boplJpobmgpB`bgfnz \n\n?"..Gbmjfo#ajmgjmdaol`h!=jnslpfgvwjojyfBaqbkbn+f{`fswxtjgwk9svwwjmd*-kwno+#X^8 GBWBX#)hjw`kfmnlvmwfgb`wvbo#gjbof`wnbjmoz#\\aobmh$jmpwboof{sfqwpje+wzsfJw#bopl%`lsz8#!=Wfqnpalqm#jmLswjlmpfbpwfqmwbohjmd`lm`fqmdbjmfg#lmdljmdivpwjez`qjwj`peb`wlqzjwp#ltmbppbvowjmujwfgobpwjmdkjp#ltmkqfe>!,!#qfo>!gfufols`lm`fqwgjbdqbngloobqp`ovpwfqsksbo`lklo*8~*+*8vpjmd#b=?psbm=ufppfopqfujuboBggqfppbnbwfvqbmgqljgboofdfgjoomfpptbohjmd`fmwfqprvbojeznbw`kfpvmjejfgf{wjm`wGfefmpfgjfg#jm \n?"..#`vpwlnpojmhjmdOjwwof#Allh#lefufmjmdnjm-iptfbqjmdBoo#Qjd8 ~*+*8qbjpjmd#Bopl/#`qv`jbobalvw!=gf`obqf..= ?p`ejqfel{bp#nv`kbssojfpjmgf{/#p/#avw#wzsf#>#  ?"..wltbqgpQf`lqgpSqjubwfElqfjdmSqfnjfq`klj`fpUjqwvboqfwvqmp@lnnfmwSltfqfgjmojmf8slufqwz`kbnafqOjujmd#ulovnfpBmwklmzoldjm!#QfobwfgF`lmlnzqfb`kfp`vwwjmddqbujwzojef#jm@kbswfq.pkbgltMlwbaof?,wg= #qfwvqmpwbgjvntjgdfwpubqzjmdwqbufopkfog#aztkl#bqftlqh#jmeb`vowzbmdvobqtkl#kbgbjqslqwwltm#le Plnf#$`oj`h$`kbqdfphfztlqgjw#tjoo`jwz#le+wkjp*8Bmgqft#vmjrvf#`kf`hfglq#nlqf033s{8#qfwvqm8qpjlm>!sovdjmptjwkjm#kfqpfoePwbwjlmEfgfqboufmwvqfsvaojpkpfmw#wlwfmpjlmb`wqfpp`lnf#wlejmdfqpGvhf#lesflsof/f{soljwtkbw#jpkbqnlmzb#nbilq!9!kwwsjm#kjp#nfmv!= nlmwkozleej`fq`lvm`jodbjmjmdfufm#jmPvnnbqzgbwf#leolzbowzejwmfppbmg#tbpfnsfqlqpvsqfnfPf`lmg#kfbqjmdQvppjbmolmdfpwBoafqwbobwfqbopfw#le#pnboo!=-bssfmggl#tjwkefgfqboabmh#leafmfbwkGfpsjwf@bsjwbodqlvmgp*/#bmg#sfq`fmwjw#eqln`olpjmd`lmwbjmJmpwfbgejewffmbp#tfoo-zbkll-qfpslmgejdkwfqlap`vqfqfeof`wlqdbmj`>#Nbwk-fgjwjmdlmojmf#sbggjmdb#tkloflmfqqlqzfbq#lefmg#le#abqqjfqtkfm#jwkfbgfq#klnf#leqfpvnfgqfmbnfgpwqlmd=kfbwjmdqfwbjmp`olvgeqtbz#le#Nbq`k#2hmltjmdjm#sbqwAfwtffmofpplmp`olpfpwujqwvboojmhp!=`qlppfgFMG#..=ebnlvp#btbqgfgOj`fmpfKfbowk#ebjqoz#tfbowkznjmjnboBeqj`bm`lnsfwfobafo!=pjmdjmdebqnfqpAqbpjo*gjp`vppqfsob`fDqfdlqzelmw#`lsvqpvfgbssfbqpnbhf#vsqlvmgfgalwk#leaol`hfgpbt#wkfleej`fp`lolvqpje+gl`vtkfm#kffmelq`fsvpk+evBvdvpw#VWE.;!=Ebmwbpzjm#nlpwjmivqfgVpvboozebqnjmd`olpvqflaif`w#gfefm`fvpf#le#Nfgj`bo?algz= fujgfmwaf#vpfghfz@lgfpj{wffmJpobnj` 333333fmwjqf#tjgfoz#b`wjuf#+wzsflelmf#`bm`lolq#>psfbhfqf{wfmgpSkzpj`pwfqqbjm?walgz=evmfqboujftjmdnjggof#`qj`hfwsqlskfwpkjewfggl`wlqpQvppfoo#wbqdfw`lnsb`wbodfaqbpl`jbo.avoh#lenbm#bmg?,wg= #kf#ofew*-ubo+*ebopf*8oldj`boabmhjmdklnf#wlmbnjmd#Bqjylmb`qfgjwp*8 ~*8 elvmgfqjm#wvqm@loojmpafelqf#Avw#wkf`kbqdfgWjwof!=@bswbjmpsfoofgdlggfppWbd#..=Bggjmd9avw#tbpQf`fmw#sbwjfmwab`h#jm>ebopf%Ojm`lomtf#hmlt@lvmwfqIvgbjpnp`qjsw#bowfqfg$^*8 ##kbp#wkfvm`ofbqFufmw$/alwk#jmmlw#boo ?"..#sob`jmdkbqg#wl#`fmwfqplqw#le`ojfmwppwqffwpAfqmbqgbppfqwpwfmg#wlebmwbpzgltm#jmkbqalvqEqffglniftfoqz,balvw--pfbq`kofdfmgpjp#nbgfnlgfqm#lmoz#lmlmoz#wljnbdf!#ojmfbq#sbjmwfqbmg#mlwqbqfoz#b`qlmzngfojufqpklqwfq33%bns8bp#nbmztjgwk>!,)#?"X@wjwof#>le#wkf#oltfpw#sj`hfg#fp`bsfgvpfp#lesflsofp#Svaoj`Nbwwkftwb`wj`pgbnbdfgtbz#elqobtp#lefbpz#wl#tjmgltpwqlmd##pjnsof~`bw`k+pfufmwkjmelal{tfmw#wlsbjmwfg`jwjyfmJ#glm$wqfwqfbw-#Plnf#tt-!*8 alnajmdnbjowl9nbgf#jm-#Nbmz#`bqqjfpx~8tjtlqh#lepzmlmzngfefbwpebulqfglswj`bosbdfWqbvmofpp#pfmgjmdofew!=?`lnP`lqBoo#wkfiRvfqz-wlvqjpw@obppj`ebopf!#Tjokfonpvavqapdfmvjmfajpklsp-psojw+dolabo#elooltpalgz#lemlnjmbo@lmwb`wpf`vobqofew#wl`kjfeoz.kjggfm.abmmfq?,oj= -#Tkfm#jm#alwkgjpnjppF{solqfbotbzp#ujb#wkfpsb/]lotfoebqfqvojmd#bqqbmdf`bswbjmkjp#plmqvof#lekf#wllhjwpfoe/>3%bns8+`boofgpbnsofpwl#nbhf`ln,sbdNbqwjm#Hfmmfgzb``fswpevoo#lekbmgofgAfpjgfp,,..=?,baof#wlwbqdfwpfppfm`fkjn#wl#jwp#az#`lnnlm-njmfqbowl#wbhftbzp#wlp-lqd,obgujpfgsfmbowzpjnsof9je#wkfzOfwwfqpb#pklqwKfqafqwpwqjhfp#dqlvsp-ofmdwkeojdkwplufqobspoltoz#ofppfq#pl`jbo#?,s= \n\njw#jmwlqbmhfg#qbwf#levo= ##bwwfnswsbjq#lenbhf#jwHlmwbhwBmwlmjlkbujmd#qbwjmdp#b`wjufpwqfbnpwqbssfg!*-`pp+klpwjofofbg#wlojwwof#dqlvsp/Sj`wvqf..=  #qltp>!#laif`wjmufqpf?ellwfq@vpwlnU=?_,p`qploujmd@kbnafqpobufqztlvmgfgtkfqfbp">#$vmgelq#boosbqwoz#.qjdkw9Bqbajbmab`hfg#`fmwvqzvmjw#lenlajof.Fvqlsf/jp#klnfqjph#legfpjqfg@ojmwlm`lpw#lebdf#le#af`lnf#mlmf#les%rvlw8Njggof#fbg$*X3@qjwj`ppwvgjlp=%`lsz8dqlvs!=bppfnaonbhjmd#sqfppfgtjgdfw-sp9!#<#qfavjowaz#plnfElqnfq#fgjwlqpgfobzfg@bmlmj`kbg#wkfsvpkjmd`obpp>!avw#bqfsbqwjboAbazolmalwwln#`bqqjfq@lnnbmgjwp#vpfBp#tjwk`lvqpfpb#wkjqggfmlwfpbopl#jmKlvpwlm13s{8!=b``vpfgglvaof#dlbo#leEbnlvp#*-ajmg+sqjfpwp#Lmojmfjm#Ivozpw#(#!d`lmpvowgf`jnbokfosevoqfujufgjp#ufqzq$($jswolpjmd#efnbofpjp#boplpwqjmdpgbzp#lebqqjuboevwvqf#?laif`welq`jmdPwqjmd+!#,= \n\nkfqf#jpfm`lgfg-##Wkf#aboollmglmf#az,`lnnlmad`lolqobt#le#Jmgjbmbbuljgfgavw#wkf1s{#0s{irvfqz-bewfq#bsloj`z-nfm#bmgellwfq.>#wqvf8elq#vpfp`qffm-Jmgjbm#jnbdf#>ebnjoz/kwws9,,#%maps8gqjufqpfwfqmbopbnf#bpmlwj`fgujftfqp~*+*8 #jp#nlqfpfbplmpelqnfq#wkf#mftjp#ivpw`lmpfmw#Pfbq`ktbp#wkftkz#wkfpkjssfgaq=?aq=tjgwk9#kfjdkw>nbgf#le`vjpjmfjp#wkbwb#ufqz#Bgnjqbo#ej{fg8mlqnbo#NjppjlmSqfpp/#lmwbqjl`kbqpfwwqz#wl#jmubgfg>!wqvf!psb`jmdjp#nlpwb#nlqf#wlwboozeboo#le~*8 ##jnnfmpfwjnf#jmpfw#lvwpbwjpezwl#ejmggltm#wlolw#le#Sobzfqpjm#Ivmfrvbmwvnmlw#wkfwjnf#wlgjpwbmwEjmmjpkpq`#>#+pjmdof#kfos#leDfqnbm#obt#bmgobafofgelqfpwp`llhjmdpsb`f!=kfbgfq.tfoo#bpPwbmofzaqjgdfp,dolabo@qlbwjb#Balvw#X3^8 ##jw/#bmgdqlvsfgafjmd#b*xwkqltkf#nbgfojdkwfqfwkj`boEEEEEE!alwwln!ojhf#b#fnsolzpojuf#jmbp#pffmsqjmwfqnlpw#leva.ojmhqfif`wpbmg#vpfjnbdf!=pv``ffgeffgjmdMv`ofbqjmelqnbwl#kfosTlnfm$pMfjwkfqNf{j`bmsqlwfjm?wbaof#az#nbmzkfbowkzobtpvjwgfujpfg-svpk+xpfoofqppjnsoz#Wkqlvdk-`llhjf#Jnbdf+logfq!=vp-ip!=#Pjm`f#vmjufqpobqdfq#lsfm#wl"..#fmgojfp#jm$^*8 ##nbqhfwtkl#jp#+!GLN@lnbmbdfglmf#elqwzsfle#Hjmdglnsqlejwpsqlslpfwl#pklt`fmwfq8nbgf#jwgqfppfgtfqf#jmnj{wvqfsqf`jpfbqjpjmdpq`#>#$nbhf#b#pf`vqfgAbswjpwulwjmd# \n\nubq#Nbq`k#1dqft#vs@ojnbwf-qfnlufphjoofgtbz#wkf?,kfbg=eb`f#leb`wjmd#qjdkw!=wl#tlqhqfgv`fpkbp#kbgfqf`wfgpklt+*8b`wjlm>allh#lebm#bqfb>>#!kww?kfbgfq ?kwno=`lmelqneb`jmd#`llhjf-qfoz#lmklpwfg#-`vpwlnkf#tfmwavw#elqpsqfbg#Ebnjoz#b#nfbmplvw#wkfelqvnp-ellwbdf!=Nlajo@ofnfmwp!#jg>!bp#kjdkjmwfmpf..=?"..efnbof#jp#pffmjnsojfgpfw#wkfb#pwbwfbmg#kjpebpwfpwafpjgfpavwwlm\\alvmgfg!=?jnd#Jmelal{fufmwp/b#zlvmdbmg#bqfMbwjuf#`kfbsfqWjnflvwbmg#kbpfmdjmfptlm#wkf+nlpwozqjdkw9#ejmg#b#.alwwlnSqjm`f#bqfb#lenlqf#lepfbq`k\\mbwvqf/ofdboozsfqjlg/obmg#lelq#tjwkjmgv`fgsqlujmdnjppjofol`boozBdbjmpwwkf#tbzh%rvlw8s{8!= svpkfg#babmglmmvnfqbo@fqwbjmJm#wkjpnlqf#jmlq#plnfmbnf#jpbmg/#jm`qltmfgJPAM#3.`qfbwfpL`wlafqnbz#mlw`fmwfq#obwf#jmGfefm`ffmb`wfgtjpk#wlaqlbgoz`llojmdlmolbg>jw-#Wkfqf`lufqNfnafqpkfjdkw#bppvnfp?kwno= sflsof-jm#lmf#>tjmgltellwfq\\b#dllg#qfhobnblwkfqp/wl#wkjp\\`llhjfsbmfo!=Olmglm/gfejmfp`qvpkfgabswjpn`lbpwbopwbwvp#wjwof!#nluf#wlolpw#jmafwwfq#jnsojfpqjuboqzpfqufqp#PzpwfnSfqkbspfp#bmg#`lmwfmgeoltjmdobpwfg#qjpf#jmDfmfpjpujft#leqjpjmd#pffn#wlavw#jm#ab`hjmdkf#tjoodjufm#bdjujmd#`jwjfp-eolt#le#Obwfq#boo#avwKjdktbzlmoz#azpjdm#lekf#glfpgjeefqpabwwfqz%bns8obpjmdofpwkqfbwpjmwfdfqwbhf#lmqfevpfg`boofg#>VP%bnsPff#wkfmbwjufpaz#wkjppzpwfn-kfbg#le9klufq/ofpajbmpvqmbnfbmg#boo`lnnlm,kfbgfq\\\\sbqbnpKbqubqg,sj{fo-qfnlubopl#olmdqlof#leiljmwozphzp`qbVmj`lgfaq#,= Bwobmwbmv`ofvp@lvmwz/svqfoz#`lvmw!=fbpjoz#avjog#blm`oj`hb#djufmsljmwfqk%rvlw8fufmwp#fopf#x gjwjlmpmlt#wkf/#tjwk#nbm#tkllqd,Tfalmf#bmg`buboqzKf#gjfgpfbwwof33/333#xtjmgltkbuf#wlje+tjmgbmg#jwpplofoz#n%rvlw8qfmftfgGfwqljwbnlmdpwfjwkfq#wkfn#jmPfmbwlqVp?,b=?Hjmd#leEqbm`jp.sqlgv`kf#vpfgbqw#bmgkjn#bmgvpfg#azp`lqjmdbw#klnfwl#kbufqfobwfpjajojwzeb`wjlmAveebolojmh!=?tkbw#kfeqff#wl@jwz#le`lnf#jmpf`wlqp`lvmwfglmf#gbzmfqulvpprvbqf#~8je+dljm#tkbwjnd!#bojp#lmozpfbq`k,wvfpgbzollpfozPlolnlmpf{vbo#.#?b#kqnfgjvn!GL#MLW#Eqbm`f/tjwk#b#tbq#bmgpf`lmg#wbhf#b#=   nbqhfw-kjdktbzglmf#jm`wjujwz!obpw!=laojdfgqjpf#wl!vmgfejnbgf#wl#Fbqoz#sqbjpfgjm#jwp#elq#kjpbwkofwfIvsjwfqZbkll"#wfqnfg#pl#nbmzqfbooz#p-#Wkf#b#tlnbmgjqf`w#qjdkw!#aj`z`ofb`jmd>!gbz#bmgpwbwjmdQbwkfq/kjdkfq#Leej`f#bqf#mltwjnfp/#tkfm#b#sbz#elqlm#wkjp.ojmh!=8alqgfqbqlvmg#bmmvbo#wkf#Mftsvw#wkf-`ln!#wbhjm#wlb#aqjfe+jm#wkfdqlvsp-8#tjgwkfmyznfppjnsof#jm#obwfxqfwvqmwkfqbszb#sljmwabmmjmdjmhp!= +*8!#qfb#sob`f_v330@bbalvw#bwq= \n\n``lvmw#djufp#b?P@QJSWQbjotbzwkfnfp,wlloal{AzJg+!{kvnbmp/tbw`kfpjm#plnf#je#+tj`lnjmd#elqnbwp#Vmgfq#avw#kbpkbmgfg#nbgf#azwkbm#jmefbq#legfmlwfg,jeqbnfofew#jmulowbdfjm#fb`kb%rvlw8abpf#leJm#nbmzvmgfqdlqfdjnfpb`wjlm#?,s= ?vpwlnUb8%dw8?,jnslqwplq#wkbwnlpwoz#%bns8qf#pjyf>!?,b=?,kb#`obppsbppjufKlpw#>#TkfwkfqefqwjofUbqjlvp>X^8+ev`bnfqbp,=?,wg=b`wp#bpJm#plnf=  ?"lqdbmjp#?aq#,=Afjijmd`bwbo/Lgfvwp`kfvqlsfvfvphbqbdbfjodfpufmphbfpsb/]bnfmpbifvpvbqjlwqbabiln/E{j`ls/Mdjmbpjfnsqfpjpwfnbl`wvaqfgvqbmwfb/]bgjqfnsqfpbnlnfmwlmvfpwqlsqjnfqbwqbu/Epdqb`jbpmvfpwqbsql`fplfpwbglp`bojgbgsfqplmbm/Vnfqlb`vfqgln/Vpj`bnjfnaqllefqwbpbodvmlpsb/Apfpfifnsolgfqf`klbgfn/Mpsqjubglbdqfdbqfmob`fpslpjaofklwfofppfujoobsqjnfql/Vowjnlfufmwlpbq`kjul`vowvqbnvifqfpfmwqbgbbmvm`jlfnabqdlnfq`bgldqbmgfpfpwvgjlnfilqfpefaqfqlgjpf/]lwvqjpnl`/_gjdlslqwbgbfpsb`jlebnjojbbmwlmjlsfqnjwfdvbqgbqbodvmbpsqf`jlpbodvjfmpfmwjglujpjwbpw/Awvol`lml`fqpfdvmgl`lmpfileqbm`jbnjmvwlppfdvmgbwfmfnlpfef`wlpn/Mobdbpfpj/_mqfujpwbdqbmbgb`lnsqbqjmdqfpldbq`/Abb``j/_mf`vbglqrvjfmfpjm`ovplgfafq/Mnbwfqjbklnaqfpnvfpwqbslgq/Abnb/]bmb/Vowjnbfpwbnlplej`jbowbnajfmmjmd/Vmpbovglpslgfnlpnfilqbqslpjwjlmavpjmfppklnfsbdfpf`vqjwzobmdvbdfpwbmgbqg`bnsbjdmefbwvqfp`bwfdlqzf{wfqmbo`kjogqfmqfpfqufgqfpfbq`kf{`kbmdfebulqjwfwfnsobwfnjojwbqzjmgvpwqzpfquj`fpnbwfqjbosqlgv`wpy.jmgf{9`lnnfmwpplewtbqf`lnsofwf`bofmgbqsobwelqnbqwj`ofpqfrvjqfgnlufnfmwrvfpwjlmavjogjmdslojwj`pslppjaofqfojdjlmskzpj`boeffgab`hqfdjpwfqsj`wvqfpgjpbaofgsqlwl`lobvgjfm`fpfwwjmdpb`wjujwzfofnfmwpofbqmjmdbmzwkjmdbapwqb`wsqldqfpplufqujftnbdbyjmff`lmlnj`wqbjmjmdsqfppvqfubqjlvp#?pwqlmd=sqlsfqwzpklssjmdwldfwkfqbgubm`fgafkbujlqgltmolbgefbwvqfgellwaboopfof`wfgObmdvbdfgjpwbm`fqfnfnafqwqb`hjmdsbpptlqgnlgjejfgpwvgfmwpgjqf`wozejdkwjmdmlqwkfqmgbwbabpfefpwjuboaqfbhjmdol`bwjlmjmwfqmfwgqlsgltmsqb`wj`ffujgfm`fevm`wjlmnbqqjbdfqfpslmpfsqlaofnpmfdbwjufsqldqbnpbmbozpjpqfofbpfgabmmfq!=svq`kbpfsloj`jfpqfdjlmbo`qfbwjufbqdvnfmwallhnbqhqfefqqfq`kfnj`bogjujpjlm`booab`hpfsbqbwfsqlif`wp`lmeoj`wkbqgtbqfjmwfqfpwgfojufqznlvmwbjmlawbjmfg>#ebopf8elq+ubq#b``fswfg`bsb`jwz`lnsvwfqjgfmwjwzbjq`qbewfnsolzfgsqlslpfgglnfpwj`jm`ovgfpsqlujgfgklpsjwboufqwj`bo`loobspfbssqlb`ksbqwmfqpoldl!=?bgbvdkwfqbvwklq!#`vowvqboebnjojfp,jnbdfp,bppfnaozsltfqevowfb`kjmdejmjpkfggjpwqj`w`qjwj`bo`dj.ajm,svqslpfpqfrvjqfpfof`wjlmaf`lnjmdsqlujgfpb`bgfnj`f{fq`jpfb`wvbooznfgj`jmf`lmpwbmwb``jgfmwNbdbyjmfgl`vnfmwpwbqwjmdalwwln!=lapfqufg9#%rvlw8f{wfmgfgsqfujlvpPlewtbqf`vpwlnfqgf`jpjlmpwqfmdwkgfwbjofgpojdkwozsobmmjmdwf{wbqfb`vqqfm`zfufqzlmfpwqbjdkwwqbmpefqslpjwjufsqlgv`fgkfqjwbdfpkjssjmdbaplovwfqf`fjufgqfofubmwavwwlm!#ujlofm`fbmztkfqfafmfejwpobvm`kfgqf`fmwozboojbm`felooltfgnvowjsofavoofwjmjm`ovgfgl``vqqfgjmwfqmbo\'+wkjp*-qfsvaoj`=?wq=?wg`lmdqfppqf`lqgfgvowjnbwfplovwjlm?vo#jg>!gjp`lufqKlnf?,b=tfapjwfpmfwtlqhpbowklvdkfmwjqfoznfnlqjbonfppbdfp`lmwjmvfb`wjuf!=plnftkbwuj`wlqjbTfpwfqm##wjwof>!Ol`bwjlm`lmwqb`wujpjwlqpGltmolbgtjwklvw#qjdkw!= nfbpvqfptjgwk#>#ubqjbaofjmuloufgujqdjmjbmlqnboozkbssfmfgb``lvmwppwbmgjmdmbwjlmboQfdjpwfqsqfsbqfg`lmwqlopb``vqbwfajqwkgbzpwqbwfdzleej`jbodqbskj`p`qjnjmboslppjaoz`lmpvnfqSfqplmbopsfbhjmdubojgbwfb`kjfufg-isd!#,=nb`kjmfp?,k1= ##hfztlqgpeqjfmgozaqlwkfqp`lnajmfglqjdjmbo`lnslpfgf{sf`wfgbgfrvbwfsbhjpwbmeloolt!#ubovbaof?,obafo=qfobwjufaqjmdjmdjm`qfbpfdlufqmlqsovdjmp,Ojpw#le#Kfbgfq!=!#mbnf>!#+%rvlw8dqbgvbwf?,kfbg= `lnnfq`fnbobzpjbgjqf`wlqnbjmwbjm8kfjdkw9p`kfgvof`kbmdjmdab`h#wl#`bwkloj`sbwwfqmp`lolq9# dqfbwfpwpvssojfpqfojbaof?,vo= \n\n?pfof`w#`jwjyfmp`olwkjmdtbw`kjmd?oj#jg>!psf`jej``bqqzjmdpfmwfm`f?`fmwfq=`lmwqbpwwkjmhjmd`bw`k+f*plvwkfqmNj`kbfo#nfq`kbmw`bqlvpfosbggjmd9jmwfqjlq-psojw+!ojybwjlmL`wlafq#*xqfwvqmjnsqlufg..%dw8 `lufqbdf`kbjqnbm-smd!#,=pvaif`wpQj`kbqg#tkbwfufqsqlabaozqf`lufqzabpfabooivgdnfmw`lmmf`w--`pp!#,=#tfapjwfqfslqwfggfebvow!,=?,b= fof`wqj`p`lwobmg`qfbwjlmrvbmwjwz-#JPAM#3gjg#mlw#jmpwbm`f.pfbq`k.!#obmd>!psfbhfqp@lnsvwfq`lmwbjmpbq`kjufpnjmjpwfqqfb`wjlmgjp`lvmwJwbojbml`qjwfqjbpwqlmdoz9#$kwws9$p`qjsw$`lufqjmdleefqjmdbssfbqfgAqjwjpk#jgfmwjezEb`fallhmvnfqlvpufkj`ofp`lm`fqmpBnfqj`bmkbmgojmdgju#jg>!Tjoojbn#sqlujgfq\\`lmwfmwb``vqb`zpf`wjlm#bmgfqplmeof{jaof@bwfdlqzobtqfm`f?p`qjsw=obzlvw>!bssqlufg#nb{jnvnkfbgfq!=?,wbaof=Pfquj`fpkbnjowlm`vqqfmw#`bmbgjbm`kbmmfop,wkfnfp,,bqwj`oflswjlmboslqwvdboubovf>!!jmwfqubotjqfofppfmwjwofgbdfm`jfpPfbq`k!#nfbpvqfgwklvpbmgpsfmgjmd%kfoojs8mft#Gbwf!#pjyf>!sbdfMbnfnjggof!#!#,=?,b=kjggfm!=pfrvfm`fsfqplmbolufqeoltlsjmjlmpjoojmljpojmhp!= \n?wjwof=ufqpjlmppbwvqgbzwfqnjmbojwfnsqlsfmdjmffqpf`wjlmpgfpjdmfqsqlslpbo>!ebopf!Fpsb/]loqfofbpfppvanjw!#fq%rvlw8bggjwjlmpznswlnplqjfmwfgqfplvq`fqjdkw!=?sofbpvqfpwbwjlmpkjpwlqz-ofbujmd##alqgfq>`lmwfmwp`fmwfq!=- Plnf#gjqf`wfgpvjwbaofavodbqjb-pklt+*8gfpjdmfgDfmfqbo#`lm`fswpF{bnsofptjoojbnpLqjdjmbo!=?psbm=pfbq`k!=lsfqbwlqqfrvfpwpb#%rvlw8booltjmdGl`vnfmwqfujpjlm-# Wkf#zlvqpfoe@lmwb`w#nj`kjdbmFmdojpk#`lovnajbsqjlqjwzsqjmwjmdgqjmhjmdeb`jojwzqfwvqmfg@lmwfmw#leej`fqpQvppjbm#dfmfqbwf.;;6:.2!jmgj`bwfebnjojbq#rvbojwznbqdjm93#`lmwfmwujftslqw`lmwb`wp.wjwof!=slqwbaof-ofmdwk#fojdjaofjmuloufpbwobmwj`lmolbg>!gfebvow-pvssojfgsbznfmwpdolppbqz Bewfq#dvjgbm`f?,wg=?wgfm`lgjmdnjggof!=`bnf#wl#gjpsobzpp`lwwjpkilmbwkbmnbilqjwztjgdfwp-`ojmj`bowkbjobmgwfb`kfqp?kfbg= \nbeef`wfgpvsslqwpsljmwfq8wlPwqjmd?,pnboo=lhobklnbtjoo#af#jmufpwlq3!#bow>!klojgbzpQfplvq`foj`fmpfg#+tkj`k#-#Bewfq#`lmpjgfqujpjwjmdf{solqfqsqjnbqz#pfbq`k!#bmgqljg!rvj`hoz#nffwjmdpfpwjnbwf8qfwvqm#8`lolq9 #kfjdkw>bssqlubo/#%rvlw8#`kf`hfg-njm-ip!nbdmfwj`=?,b=?,kelqf`bpw-#Tkjof#wkvqpgbzgufqwjpf%fb`vwf8kbp@obppfubovbwflqgfqjmdf{jpwjmdsbwjfmwp#Lmojmf#`lolqbglLswjlmp!`bnsafoo?"..#fmg?,psbm=??aq#,= \\slsvspp`jfm`fp/%rvlw8#rvbojwz#Tjmgltp#bppjdmfgkfjdkw9#?a#`obppof%rvlw8#ubovf>!#@lnsbmzf{bnsofp?jeqbnf#afojfufpsqfpfmwpnbqpkboosbqw#le#sqlsfqoz*- Wkf#wb{lmlnznv`k#le#?,psbm= !#gbwb.pqwvdv/Fpp`qlooWl#sqlif`w?kfbg= bwwlqmfzfnskbpjppslmplqpebm`zal{tlqog$p#tjogojef`kf`hfg>pfppjlmpsqldqbnns{8elmw.#Sqlif`wilvqmbopafojfufgub`bwjlmwklnsplmojdkwjmdbmg#wkf#psf`jbo#alqgfq>3`kf`hjmd?,walgz=?avwwlm#@lnsofwf`ofbqej{ ?kfbg= bqwj`of#?pf`wjlmejmgjmdpqlof#jm#slsvobq##L`wlafqtfapjwf#f{slpvqfvpfg#wl##`kbmdfplsfqbwfg`oj`hjmdfmwfqjmd`lnnbmgpjmelqnfg#mvnafqp##?,gju=`qfbwjmdlmPvanjwnbqzobmg`loofdfpbmbozwj`ojpwjmdp`lmwb`w-olddfgJmbgujplqzpjaojmdp`lmwfmw!p%rvlw8*p-#Wkjp#sb`hbdfp`kf`hal{pvddfpwpsqfdmbmwwlnlqqltpsb`jmd>j`lm-smdibsbmfpf`lgfabpfavwwlm!=dbnaojmdpv`k#bp#/#tkjof#?,psbm=#njpplvqjpslqwjmdwls92s{#-?,psbm=wfmpjlmptjgwk>!1obyzolbgmlufnafqvpfg#jm#kfjdkw>!`qjsw!= %maps8?,?wq=?wg#kfjdkw91,sqlgv`w`lvmwqz#jm`ovgf#ellwfq!#%ow8"..#wjwof!=?,irvfqz-?,elqn= +\vBl\bQ*+\vUmGx*kqubwphjjwbojbmlqln/Nm(ow/Pqh/Kf4K4]4C5dwbnaj/Emmlwj`jbpnfmpbifpsfqplmbpgfqf`klpmb`jlmbopfquj`jl`lmwb`wlvpvbqjlpsqldqbnbdlajfqmlfnsqfpbpbmvm`jlpubofm`jb`lolnajbgfpsv/Epgfslqwfpsqlzf`wlsqlgv`wls/Vaoj`lmlplwqlpkjpwlqjbsqfpfmwfnjoolmfpnfgjbmwfsqfdvmwbbmwfqjlqqf`vqplpsqlaofnbpbmwjbdlmvfpwqlplsjmj/_mjnsqjnjqnjfmwqbpbn/Eqj`bufmgfglqpl`jfgbgqfpsf`wlqfbojybqqfdjpwqlsbobaqbpjmwfq/Epfmwlm`fpfpsf`jbonjfnaqlpqfbojgbg`/_qglabybqbdlybs/Mdjmbppl`jbofpaolrvfbqdfpwj/_mborvjofqpjpwfnbp`jfm`jbp`lnsofwlufqpj/_m`lnsofwbfpwvgjlps/Vaoj`blaifwjulboj`bmwfavp`bglq`bmwjgbgfmwqbgbpb``jlmfpbq`kjulppvsfqjlqnbzlq/Abbofnbmjbevm`j/_m/Vowjnlpkb`jfmglbrvfoolpfgj`j/_mefqmbmglbnajfmwfeb`fallhmvfpwqbp`ojfmwfpsql`fplpabpwbmwfsqfpfmwbqfslqwbq`lmdqfplsvaoj`bq`lnfq`jl`lmwqbwli/_ufmfpgjpwqjwlw/E`mj`b`lmivmwlfmfqd/Abwqbabibqbpwvqjbpqf`jfmwfvwjojybqalofw/Ampboubglq`lqqf`wbwqbabilpsqjnfqlpmfdl`jlpojafqwbggfwboofpsbmwboobsq/_{jnlbonfq/Abbmjnbofprvj/Emfp`lqby/_mpf``j/_mavp`bmglls`jlmfpf{wfqjlq`lm`fswlwlgbu/Abdbofq/Abfp`qjajqnfgj`jmboj`fm`jb`lmpvowbbpsf`wlp`q/Awj`bg/_obqfpivpwj`jbgfafq/Mmsfq/Alglmf`fpjwbnbmwfmfqsfrvf/]lqf`jajgbwqjavmbowfmfqjef`bm`j/_m`bmbqjbpgfp`bqdbgjufqplpnboolq`bqfrvjfqfw/E`mj`lgfafq/Abujujfmgbejmbmybpbgfobmwfevm`jlmb`lmpfilpgje/A`jo`jvgbgfpbmwjdvbpbubmybgbw/Eqnjmlvmjgbgfpp/Mm`kfy`bnsb/]bplewlmj`qfujpwbp`lmwjfmfpf`wlqfpnlnfmwlpeb`vowbg`q/Egjwlgjufqpbppvsvfpwleb`wlqfppfdvmglpsfrvf/]b<_!?,pfof`w=Bvpwqbojb!#`obpp>!pjwvbwjlmbvwklqjwzelooltjmdsqjnbqjozlsfqbwjlm`kboofmdfgfufolsfgbmlmznlvpevm`wjlm#evm`wjlmp`lnsbmjfppwqv`wvqfbdqffnfmw!#wjwof>!slwfmwjbofgv`bwjlmbqdvnfmwppf`lmgbqz`lszqjdkwobmdvbdfpf{`ovpjuf`lmgjwjlm?,elqn= pwbwfnfmwbwwfmwjlmAjldqbskz~#fopf#x plovwjlmptkfm#wkf#Bmbozwj`pwfnsobwfpgbmdfqlvppbwfoojwfgl`vnfmwpsvaojpkfqjnslqwbmwsqlwlwzsfjmeovfm`f%qbrvl8?,feef`wjufdfmfqboozwqbmpelqnafbvwjevowqbmpslqwlqdbmjyfgsvaojpkfgsqlnjmfmwvmwjo#wkfwkvnambjoMbwjlmbo#-el`vp+*8lufq#wkf#njdqbwjlmbmmlvm`fgellwfq!= f{`fswjlmofpp#wkbmf{sfmpjufelqnbwjlmeqbnftlqhwfqqjwlqzmgj`bwjlm`vqqfmwoz`obppMbnf`qjwj`jpnwqbgjwjlmfopftkfqfBof{bmgfqbssljmwfgnbwfqjbopaqlbg`bpwnfmwjlmfgbeejojbwf?,lswjlm=wqfbwnfmwgjeefqfmw,gfebvow-Sqfpjgfmwlm`oj`h>!ajldqbskzlwkfqtjpfsfqnbmfmwEqbm/KbjpKlooztllgf{sbmpjlmpwbmgbqgp?,pwzof= qfgv`wjlmGf`fnafq#sqfefqqfg@bnaqjgdflsslmfmwpAvpjmfpp#`lmevpjlm= ?wjwof=sqfpfmwfgf{sobjmfgglfp#mlw#tlqogtjgfjmwfqeb`fslpjwjlmpmftpsbsfq?,wbaof= nlvmwbjmpojhf#wkf#fppfmwjboejmbm`jbopfof`wjlmb`wjlm>!,babmglmfgFgv`bwjlmsbqpfJmw+pwbajojwzvmbaof#wl?,wjwof= qfobwjlmpMlwf#wkbwfeej`jfmwsfqelqnfgwtl#zfbqpPjm`f#wkfwkfqfelqftqbssfq!=bowfqmbwfjm`qfbpfgAbwwof#lesfq`fjufgwqzjmd#wlmf`fppbqzslqwqbzfgfof`wjlmpFojybafwk?,jeqbnf=gjp`lufqzjmpvqbm`fp-ofmdwk8ofdfmgbqzDfldqbskz`bmgjgbwf`lqslqbwfplnfwjnfppfquj`fp-jmkfqjwfg?,pwqlmd=@lnnvmjwzqfojdjlvpol`bwjlmp@lnnjwwffavjogjmdpwkf#tlqogml#olmdfqafdjmmjmdqfefqfm`f`bmmlw#afeqfrvfm`zwzsj`boozjmwl#wkf#qfobwjuf8qf`lqgjmdsqfpjgfmwjmjwjboozwf`kmjrvfwkf#lwkfqjw#`bm#aff{jpwfm`fvmgfqojmfwkjp#wjnfwfofsklmfjwfnp`lsfsqb`wj`fpbgubmwbdf*8qfwvqm#Elq#lwkfqsqlujgjmdgfnl`qb`zalwk#wkf#f{wfmpjufpveefqjmdpvsslqwfg`lnsvwfqp#evm`wjlmsqb`wj`bopbjg#wkbwjw#nbz#afFmdojpk?,eqln#wkf#p`kfgvofggltmolbgp?,obafo= pvpsf`wfgnbqdjm9#3psjqjwvbo?,kfbg= nj`qlplewdqbgvboozgjp`vppfgkf#af`bnff{f`vwjufirvfqz-ipklvpfklog`lmejqnfgsvq`kbpfgojwfqboozgfpwqlzfgvs#wl#wkfubqjbwjlmqfnbjmjmdjw#jp#mlw`fmwvqjfpIbsbmfpf#bnlmd#wkf`lnsofwfgbodlqjwknjmwfqfpwpqfafoojlmvmgfejmfgfm`lvqbdfqfpjybaofjmuloujmdpfmpjwjufvmjufqpbosqlujpjlm+bowklvdkefbwvqjmd`lmgv`wfg*/#tkj`k#`lmwjmvfg.kfbgfq!=Efaqvbqz#mvnfqlvp#lufqeolt9`lnslmfmweqbdnfmwpf{`foofmw`lopsbm>!wf`kmj`bomfbq#wkf#Bgubm`fg#plvq`f#lef{sqfppfgKlmd#Hlmd#Eb`fallhnvowjsof#nf`kbmjpnfofubwjlmleefmpjuf?,elqn= \npslmplqfggl`vnfmw-lq#%rvlw8wkfqf#bqfwklpf#tklnlufnfmwpsql`fppfpgjeej`vowpvanjwwfgqf`lnnfmg`lmujm`fgsqlnlwjmd!#tjgwk>!-qfsob`f+`obppj`bo`lbojwjlmkjp#ejqpwgf`jpjlmpbppjpwbmwjmgj`bwfgfulovwjlm.tqbssfq!fmlvdk#wlbolmd#wkfgfojufqfg..= ?"..Bnfqj`bm#sqlwf`wfgMlufnafq#?,pwzof=?evqmjwvqfJmwfqmfw##lmaovq>!pvpsfmgfgqf`jsjfmwabpfg#lm#Nlqflufq/balojpkfg`loof`wfgtfqf#nbgffnlwjlmbofnfqdfm`zmbqqbwjufbgul`bwfps{8alqgfq`lnnjwwfggjq>!owq!fnsolzffpqfpfbq`k-#pfof`wfgpv``fpplq`vpwlnfqpgjpsobzfgPfswfnafqbgg@obpp+Eb`fallh#pvddfpwfgbmg#obwfqlsfqbwjmdfobalqbwfPlnfwjnfpJmpwjwvwf`fqwbjmozjmpwboofgelooltfqpIfqvpbofnwkfz#kbuf`lnsvwjmddfmfqbwfgsqlujm`fpdvbqbmwffbqajwqbqzqf`ldmjyftbmwfg#wls{8tjgwk9wkflqz#leafkbujlvqTkjof#wkffpwjnbwfgafdbm#wl#jw#af`bnfnbdmjwvgfnvpw#kbufnlqf#wkbmGjqf`wlqzf{wfmpjlmpf`qfwbqzmbwvqboozl``vqqjmdubqjbaofpdjufm#wkfsobwelqn-?,obafo=?ebjofg#wl`lnslvmgphjmgp#le#pl`jfwjfpbolmdpjgf#..%dw8 plvwktfpwwkf#qjdkwqbgjbwjlmnbz#kbuf#vmfp`bsf+pslhfm#jm!#kqfe>!,sqldqbnnflmoz#wkf#`lnf#eqlngjqf`wlqzavqjfg#jmb#pjnjobqwkfz#tfqf?,elmw=?,Mlqtfdjbmpsf`jejfgsqlgv`jmdsbppfmdfq+mft#Gbwfwfnslqbqzej`wjlmboBewfq#wkffrvbwjlmpgltmolbg-qfdvobqozgfufolsfqbaluf#wkfojmhfg#wlskfmlnfmbsfqjlg#lewllowjs!=pvapwbm`fbvwlnbwj`bpsf`w#leBnlmd#wkf`lmmf`wfgfpwjnbwfpBjq#Elq`fpzpwfn#lelaif`wjufjnnfgjbwfnbhjmd#jwsbjmwjmdp`lmrvfqfgbqf#pwjoosql`fgvqfdqltwk#lekfbgfg#azFvqlsfbm#gjujpjlmpnlof`vofpeqbm`kjpfjmwfmwjlmbwwqb`wfg`kjogkllgbopl#vpfggfgj`bwfgpjmdbslqfgfdqff#leebwkfq#le`lmeoj`wp?,b=?,s= `bnf#eqlntfqf#vpfgmlwf#wkbwqf`fjujmdF{f`vwjuffufm#nlqfb``fpp#wl`lnnbmgfqSlojwj`bonvpj`jbmpgfoj`jlvpsqjplmfqpbgufmw#leVWE.;!#,=?"X@GBWBX!=@lmwb`wPlvwkfqm#ad`lolq>!pfqjfp#le-#Jw#tbp#jm#Fvqlsfsfqnjwwfgubojgbwf-bssfbqjmdleej`jboppfqjlvpoz.obmdvbdfjmjwjbwfgf{wfmgjmdolmd.wfqnjmeobwjlmpv`k#wkbwdfw@llhjfnbqhfg#az?,avwwlm=jnsofnfmwavw#jw#jpjm`qfbpfpgltm#wkf#qfrvjqjmdgfsfmgfmw..= ?"..#jmwfqujftTjwk#wkf#`lsjfp#le`lmpfmpvptbp#avjowUfmfyvfob+elqnfqozwkf#pwbwfsfqplmmfopwqbwfdj`ebulvq#lejmufmwjlmTjhjsfgjb`lmwjmfmwujqwvbooztkj`k#tbpsqjm`jsof@lnsofwf#jgfmwj`bopklt#wkbwsqjnjwjufbtbz#eqlnnlof`vobqsqf`jpfozgjpploufgVmgfq#wkfufqpjlm>!=%maps8?,Jw#jp#wkf#Wkjp#jp#tjoo#kbuflqdbmjpnpplnf#wjnfEqjfgqj`ktbp#ejqpwwkf#lmoz#eb`w#wkbwelqn#jg>!sqf`fgjmdWf`kmj`boskzpj`jpwl``vqp#jmmbujdbwlqpf`wjlm!=psbm#jg>!plvdkw#wlafolt#wkfpvqujujmd~?,pwzof=kjp#gfbwkbp#jm#wkf`bvpfg#azsbqwjboozf{jpwjmd#vpjmd#wkftbp#djufmb#ojpw#leofufop#lemlwjlm#leLeej`jbo#gjpnjppfgp`jfmwjpwqfpfnaofpgvsoj`bwff{solpjufqf`lufqfgboo#lwkfqdboofqjfpxsbggjmd9sflsof#leqfdjlm#lebggqfppfpbppl`jbwfjnd#bow>!jm#nlgfqmpklvog#afnfwklg#leqfslqwjmdwjnfpwbnsmffgfg#wlwkf#Dqfbwqfdbqgjmdpffnfg#wlujftfg#bpjnsb`w#lmjgfb#wkbwwkf#Tlqogkfjdkw#lef{sbmgjmdWkfpf#bqf`vqqfmw!=`bqfevooznbjmwbjmp`kbqdf#le@obppj`bobggqfppfgsqfgj`wfgltmfqpkjs?gju#jg>!qjdkw!= qfpjgfm`fofbuf#wkf`lmwfmw!=bqf#lewfm##~*+*8 sqlabaoz#Sqlefpplq.avwwlm!#qfpslmgfgpbzp#wkbwkbg#wl#afsob`fg#jmKvmdbqjbmpwbwvp#lepfqufp#bpVmjufqpbof{f`vwjlmbddqfdbwfelq#tkj`kjmef`wjlmbdqffg#wlkltfufq/#slsvobq!=sob`fg#lm`lmpwqv`wfof`wlqbopznalo#lejm`ovgjmdqfwvqm#wlbq`kjwf`w@kqjpwjbmsqfujlvp#ojujmd#jmfbpjfq#wlsqlefpplq %ow8"..#feef`w#lebmbozwj`ptbp#wbhfmtkfqf#wkfwllh#lufqafojfe#jmBeqjhbbmpbp#ebq#bpsqfufmwfgtlqh#tjwkb#psf`jbo?ejfogpfw@kqjpwnbpQfwqjfufg Jm#wkf#ab`h#jmwlmlqwkfbpwnbdbyjmfp=?pwqlmd=`lnnjwwffdlufqmjmddqlvsp#lepwlqfg#jmfpwbaojpkb#dfmfqbojwp#ejqpwwkfjq#ltmslsvobwfgbm#laif`w@bqjaafbmboolt#wkfgjpwqj`wptjp`lmpjmol`bwjlm-8#tjgwk9#jmkbajwfgPl`jbojpwIbmvbqz#2?,ellwfq=pjnjobqoz`klj`f#lewkf#pbnf#psf`jej`#avpjmfpp#Wkf#ejqpw-ofmdwk8#gfpjqf#wlgfbo#tjwkpjm`f#wkfvpfqBdfmw`lm`fjufgjmgf{-sksbp#%rvlw8fmdbdf#jmqf`fmwoz/eft#zfbqptfqf#bopl ?kfbg= ?fgjwfg#azbqf#hmltm`jwjfp#jmb``fpphfz`lmgfnmfgbopl#kbufpfquj`fp/ebnjoz#leP`kllo#le`lmufqwfgmbwvqf#le#obmdvbdfnjmjpwfqp?,laif`w=wkfqf#jp#b#slsvobqpfrvfm`fpbgul`bwfgWkfz#tfqfbmz#lwkfqol`bwjlm>fmwfq#wkfnv`k#nlqfqfeof`wfgtbp#mbnfglqjdjmbo#b#wzsj`botkfm#wkfzfmdjmffqp`lvog#mlwqfpjgfmwptfgmfpgbzwkf#wkjqg#sqlgv`wpIbmvbqz#1tkbw#wkfzb#`fqwbjmqfb`wjlmpsql`fpplqbewfq#kjpwkf#obpw#`lmwbjmfg!=?,gju= ?,b=?,wg=gfsfmg#lmpfbq`k!= sjf`fp#le`lnsfwjmdQfefqfm`fwfmmfppfftkj`k#kbp#ufqpjlm>?,psbm=#??,kfbgfq=djufp#wkfkjpwlqjbmubovf>!!=sbggjmd93ujft#wkbwwldfwkfq/wkf#nlpw#tbp#elvmgpvapfw#lebwwb`h#lm`kjogqfm/sljmwp#lesfqplmbo#slpjwjlm9boofdfgoz@ofufobmgtbp#obwfqbmg#bewfqbqf#djufmtbp#pwjoop`qloojmdgfpjdm#lenbhfp#wkfnv`k#ofppBnfqj`bmp- Bewfq#/#avw#wkfNvpfvn#leolvjpjbmb+eqln#wkfnjmmfplwbsbqwj`ofpb#sql`fppGlnjmj`bmulovnf#leqfwvqmjmdgfefmpjuf33s{qjdknbgf#eqlnnlvpflufq!#pwzof>!pwbwfp#le+tkj`k#jp`lmwjmvfpEqbm`jp`lavjogjmd#tjwklvw#btjwk#plnftkl#tlvogb#elqn#leb#sbqw#leafelqf#jwhmltm#bp##Pfquj`fpol`bwjlm#bmg#lewfmnfbpvqjmdbmg#jw#jpsbsfqab`hubovfp#le ?wjwof=>#tjmglt-gfwfqnjmffq%rvlw8#sobzfg#azbmg#fbqoz?,`fmwfq=eqln#wkjpwkf#wkqffsltfq#bmgle#%rvlw8jmmfqKWNO?b#kqfe>!z9jmojmf8@kvq`k#lewkf#fufmwufqz#kjdkleej`jbo#.kfjdkw9#`lmwfmw>!,`dj.ajm,wl#`qfbwfbeqjhbbmpfpsfqbmwleqbm/Kbjpobwujf)Mvojfwvuj)_(`f)Mwjmb(af)Mwjmb\fUh\fT{\fTN\n{I\np@Fr\vBl\bQ A{\vUmGx A{ypYA\0zX\bTV\bWl\bUdBM\vB{\npV\v@xB\\\np@DbGz al\npa fM uD\bV~mx\vQ}\ndS p\\\bVK\bS]\bU|oD kV\ved\vHR\nb~M`\nJpoD|Q\nLPSw\bTl\nAI\nxC\bWt BqF`Cm\vLm Kx }t\bPv\ny\\\naB V\nZdXUli fr i@ BHBDBV `V\n[] p_ Tn\n~A\nxR uD `{\bV@ Tn HK AJ\vxsZf\nqIZf\vBM\v|j }t\bSM\nmC\vQ}pfquj`jlpbqw/A`volbqdfmwjmbabq`folmb`vborvjfqsvaoj`bglsqlgv`wlpslo/Awj`bqfpsvfpwbtjhjsfgjbpjdvjfmwfa/Vprvfgb`lnvmjgbgpfdvqjgbgsqjm`jsbosqfdvmwbp`lmwfmjglqfpslmgfqufmfyvfobsqlaofnbpgj`jfnaqfqfob`j/_mmlujfnaqfpjnjobqfpsqlzf`wlpsqldqbnbpjmpwjwvwlb`wjujgbgfm`vfmwqbf`lmln/Abjn/Mdfmfp`lmwb`wbqgfp`bqdbqmf`fpbqjlbwfm`j/_mwfo/Eelml`lnjpj/_m`bm`jlmfp`bsb`jgbgfm`lmwqbqbm/Mojpjpebulqjwlpw/Eqnjmlpsqlujm`jbfwjrvfwbpfofnfmwlpevm`jlmfpqfpvowbgl`bq/M`wfqsqlsjfgbgsqjm`jsjlmf`fpjgbgnvmj`jsbo`qfb`j/_mgfp`bqdbpsqfpfm`jb`lnfq`jbolsjmjlmfpfifq`j`jlfgjwlqjbopbobnbm`bdlmy/Mofygl`vnfmwlsfo/A`vobqf`jfmwfpdfmfqbofpwbqqbdlmbsq/M`wj`bmlufgbgfpsqlsvfpwbsb`jfmwfpw/E`mj`bplaifwjulp`lmwb`wlp\fHB\fIk\fHn\fH^\fHS\fHc\fHU\fId\fHn\fH{\fHC\fHR\fHT\fHR\fHI\fHc\fHY\fHn\fH\\\fHU\fIk\fHy\fIg\fHd\fHy\fIm\fHw\fH\\\fHU\fHR\fH@\fHR\fHJ\fHy\fHU\fHR\fHT\fHA\fIl\fHU\fIm\fHc\fH\\\fHU\fIl\fHB\fId\fHn\fHJ\fHS\fHD\fH@\fHR\fHHgjsolgl`p\fHT\fHB\fHC\fH\\\fIn\fHF\fHD\fHR\fHB\fHF\fHH\fHR\fHG\fHS\fH\\\fHx\fHT\fHH\fHH\fH\\\fHU\fH^\fIg\fH{\fHU\fIm\fHj\fH@\fHR\fH\\\fHJ\fIk\fHZ\fHU\fIm\fHd\fHz\fIk\fH^\fHC\fHJ\fHS\fHy\fHR\fHB\fHY\fIk\fH@\fHH\fIl\fHD\fH@\fIl\fHv\fHB\fI`\fHH\fHT\fHR\fH^\fH^\fIk\fHz\fHp\fIe\fH@\fHB\fHJ\fHJ\fHH\fHI\fHR\fHD\fHU\fIl\fHZ\fHU\fH\\\fHi\fH^\fH{\fHy\fHA\fIl\fHD\fH{\fH\\\fHF\fHR\fHT\fH\\\fHR\fHH\fHy\fHS\fHc\fHe\fHT\fIk\fH{\fHC\fIl\fHU\fIn\fHm\fHj\fH{\fIk\fHs\fIl\fHB\fHz\fIg\fHp\fHy\fHR\fH\\\fHi\fHA\fIl\fH{\fHC\fIk\fHH\fIm\fHB\fHY\fIg\fHs\fHJ\fIk\fHn\fHi\fH{\fH\\\fH|\fHT\fIk\fHB\fIk\fH^\fH^\fH{\fHR\fHU\fHR\fH^\fHf\fHF\fH\\\fHv\fHR\fH\\\fH|\fHT\fHR\fHJ\fIk\fH\\\fHp\fHS\fHT\fHJ\fHS\fH^\fH@\fHn\fHJ\fH@\fHD\fHR\fHU\fIn\fHn\fH^\fHR\fHz\fHp\fIl\fHH\fH@\fHs\fHD\fHB\fHS\fH^\fHk\fHT\fIk\fHj\fHD\fIk\fHD\fHC\fHR\fHy\fIm\fH^\fH^\fIe\fH{\fHA\fHR\fH{\fH\\\fIk\fH^\fHp\fH{\fHU\fH\\\fHR\fHB\fH^\fH{\fIk\fHF\fIk\fHp\fHU\fHR\fHI\fHk\fHT\fIl\fHT\fHU\fIl\fHy\fH^\fHR\fHL\fIl\fHy\fHU\fHR\fHm\fHJ\fIn\fH\\\fHH\fHU\fHH\fHT\fHR\fHH\fHC\fHR\fHJ\fHj\fHC\fHR\fHF\fHR\fHy\fHy\fI`\fHD\fHZ\fHR\fHB\fHJ\fIk\fHz\fHC\fHU\fIl\fH\\\fHR\fHC\fHz\fIm\fHJ\fH^\fH{\fIl`bwfdlqjfpf{sfqjfm`f?,wjwof= @lszqjdkw#ibubp`qjsw`lmgjwjlmpfufqzwkjmd?s#`obpp>!wf`kmloldzab`hdqlvmg?b#`obpp>!nbmbdfnfmw%`lsz8#132ibubP`qjsw`kbqb`wfqpaqfbg`qvnawkfnpfoufpklqjylmwbodlufqmnfmw@bojelqmjbb`wjujwjfpgjp`lufqfgMbujdbwjlmwqbmpjwjlm`lmmf`wjlmmbujdbwjlmbssfbqbm`f?,wjwof=?n`kf`hal{!#wf`kmjrvfpsqlwf`wjlmbssbqfmwozbp#tfoo#bpvmw$/#$VB.qfplovwjlmlsfqbwjlmpwfofujpjlmwqbmpobwfgTbpkjmdwlmmbujdbwlq-#>#tjmglt-jnsqfppjlm%ow8aq%dw8ojwfqbwvqfslsvobwjlmad`lolq>! fpsf`jbooz#`lmwfmw>!sqlgv`wjlmmftpofwwfqsqlsfqwjfpgfejmjwjlmofbgfqpkjsWf`kmloldzSbqojbnfmw`lnsbqjplmvo#`obpp>!-jmgf{Le+!`lm`ovpjlmgjp`vppjlm`lnslmfmwpajloldj`boQfulovwjlm\\`lmwbjmfqvmgfqpwllgmlp`qjsw=?sfqnjppjlmfb`k#lwkfqbwnlpskfqf#lmel`vp>!?elqn#jg>!sql`fppjmdwkjp-ubovfdfmfqbwjlm@lmefqfm`fpvapfrvfmwtfoo.hmltmubqjbwjlmpqfsvwbwjlmskfmlnfmlmgjp`jsojmfoldl-smd!#+gl`vnfmw/alvmgbqjfpf{sqfppjlmpfwwofnfmwAb`hdqlvmglvw#le#wkffmwfqsqjpf+!kwwsp9!#vmfp`bsf+!sbpptlqg!#gfnl`qbwj`?b#kqfe>!,tqbssfq!= nfnafqpkjsojmdvjpwj`s{8sbggjmdskjolplskzbppjpwbm`fvmjufqpjwzeb`jojwjfpqf`ldmjyfgsqfefqfm`fje#+wzsflenbjmwbjmfgul`bavobqzkzslwkfpjp-pvanjw+*8%bns8maps8bmmlwbwjlmafkjmg#wkfElvmgbwjlmsvaojpkfq!bppvnswjlmjmwqlgv`fg`lqqvswjlmp`jfmwjpwpf{soj`jwozjmpwfbg#legjnfmpjlmp#lm@oj`h>!`lmpjgfqfggfsbqwnfmwl``vsbwjlmpllm#bewfqjmufpwnfmwsqlmlvm`fgjgfmwjejfgf{sfqjnfmwNbmbdfnfmwdfldqbskj`!#kfjdkw>!ojmh#qfo>!-qfsob`f+,gfsqfppjlm`lmefqfm`fsvmjpknfmwfojnjmbwfgqfpjpwbm`fbgbswbwjlmlsslpjwjlmtfoo#hmltmpvssofnfmwgfwfqnjmfgk2#`obpp>!3s{8nbqdjmnf`kbmj`bopwbwjpwj`p`fofaqbwfgDlufqmnfmw Gvqjmd#wgfufolsfqpbqwjej`jbofrvjubofmwlqjdjmbwfg@lnnjppjlmbwwb`knfmw?psbm#jg>!wkfqf#tfqfMfgfqobmgpafzlmg#wkfqfdjpwfqfgilvqmbojpweqfrvfmwozboo#le#wkfobmd>!fm!#?,pwzof= baplovwf8#pvsslqwjmdf{wqfnfoz#nbjmpwqfbn?,pwqlmd=#slsvobqjwzfnsolznfmw?,wbaof= #`lopsbm>!?,elqn= ##`lmufqpjlmbalvw#wkf#?,s=?,gju=jmwfdqbwfg!#obmd>!fmSlqwvdvfpfpvapwjwvwfjmgjujgvbojnslppjaofnvowjnfgjbbonlpw#boos{#plojg# bsbqw#eqlnpvaif`w#wljm#Fmdojpk`qjwj`jyfgf{`fsw#elqdvjgfojmfplqjdjmboozqfnbqhbaofwkf#pf`lmgk1#`obpp>!?b#wjwof>!+jm`ovgjmdsbqbnfwfqpsqlkjajwfg>#!kwws9,,gj`wjlmbqzsfq`fswjlmqfulovwjlmelvmgbwjlms{8kfjdkw9pv``fppevopvsslqwfqpnjoofmmjvnkjp#ebwkfqwkf#%rvlw8ml.qfsfbw8`lnnfq`jbojmgvpwqjbofm`lvqbdfgbnlvmw#le#vmleej`jbofeej`jfm`zQfefqfm`fp`llqgjmbwfgjp`objnfqf{sfgjwjlmgfufolsjmd`bo`vobwfgpjnsojejfgofdjwjnbwfpvapwqjmd+3!#`obpp>!`lnsofwfozjoovpwqbwfejuf#zfbqpjmpwqvnfmwSvaojpkjmd2!#`obpp>!spz`kloldz`lmejgfm`fmvnafq#le#bapfm`f#leel`vpfg#lmiljmfg#wkfpwqv`wvqfpsqfujlvpoz=?,jeqbnf=lm`f#bdbjmavw#qbwkfqjnnjdqbmwple#`lvqpf/b#dqlvs#leOjwfqbwvqfVmojhf#wkf?,b=%maps8 evm`wjlm#jw#tbp#wkf@lmufmwjlmbvwlnlajofSqlwfpwbmwbddqfppjufbewfq#wkf#Pjnjobqoz/!#,=?,gju=`loof`wjlm evm`wjlmujpjajojwzwkf#vpf#leulovmwffqpbwwqb`wjlmvmgfq#wkf#wkqfbwfmfg)?"X@GBWBXjnslqwbm`fjm#dfmfqbowkf#obwwfq?,elqn= ?,-jmgf{Le+$j#>#38#j#?gjeefqfm`fgfulwfg#wlwqbgjwjlmppfbq`k#elqvowjnbwfozwlvqmbnfmwbwwqjavwfppl.`boofg#~ ?,pwzof=fubovbwjlmfnskbpjyfgb``fppjaof?,pf`wjlm=pv``fppjlmbolmd#tjwkNfbmtkjof/jmgvpwqjfp?,b=?aq#,=kbp#af`lnfbpsf`wp#leWfofujpjlmpveej`jfmwabphfwabooalwk#pjgfp`lmwjmvjmdbm#bqwj`of?jnd#bow>!bgufmwvqfpkjp#nlwkfqnbm`kfpwfqsqjm`jsofpsbqwj`vobq`lnnfmwbqzfeef`wp#legf`jgfg#wl!=?pwqlmd=svaojpkfqpIlvqmbo#legjeej`vowzeb`jojwbwfb``fswbaofpwzof-`pp!\nevm`wjlm#jmmlubwjlm=@lszqjdkwpjwvbwjlmptlvog#kbufavpjmfppfpGj`wjlmbqzpwbwfnfmwplewfm#vpfgsfqpjpwfmwjm#Ibmvbqz`lnsqjpjmd?,wjwof= \ngjsolnbwj``lmwbjmjmdsfqelqnjmdf{wfmpjlmpnbz#mlw#af`lm`fsw#le#lm`oj`h>!Jw#jp#boplejmbm`jbo#nbhjmd#wkfOv{fnalvqdbggjwjlmbobqf#`boofgfmdbdfg#jm!p`qjsw!*8avw#jw#tbpfof`wqlmj`lmpvanjw>! ?"..#Fmg#fof`wqj`boleej`jboozpvddfpwjlmwls#le#wkfvmojhf#wkfBvpwqbojbmLqjdjmboozqfefqfm`fp ?,kfbg= qf`ldmjpfgjmjwjbojyfojnjwfg#wlBof{bmgqjbqfwjqfnfmwBgufmwvqfpelvq#zfbqp %ow8"..#jm`qfbpjmdgf`lqbwjlmk0#`obpp>!lqjdjmp#lelaojdbwjlmqfdvobwjlm`obppjejfg+evm`wjlm+bgubmwbdfpafjmd#wkf#kjpwlqjbmp?abpf#kqfeqfsfbwfgoztjoojmd#wl`lnsbqbaofgfpjdmbwfgmlnjmbwjlmevm`wjlmbojmpjgf#wkfqfufobwjlmfmg#le#wkfp#elq#wkf#bvwklqjyfgqfevpfg#wlwbhf#sob`fbvwlmlnlvp`lnsqlnjpfslojwj`bo#qfpwbvqbmwwtl#le#wkfEfaqvbqz#1rvbojwz#leptelaif`w-vmgfqpwbmgmfbqoz#bootqjwwfm#azjmwfqujftp!#tjgwk>!2tjwkgqbtboeolbw9ofewjp#vpvbooz`bmgjgbwfpmftpsbsfqpnzpwfqjlvpGfsbqwnfmwafpw#hmltmsbqojbnfmwpvssqfppfg`lmufmjfmwqfnfnafqfggjeefqfmw#pzpwfnbwj`kbp#ofg#wlsqlsbdbmgb`lmwqloofgjmeovfm`fp`fqfnlmjbosql`objnfgSqlwf`wjlmoj#`obpp>!P`jfmwjej``obpp>!ml.wqbgfnbqhpnlqf#wkbm#tjgfpsqfbgOjafqbwjlmwllh#sob`fgbz#le#wkfbp#olmd#bpjnsqjplmfgBggjwjlmbo ?kfbg= ?nObalqbwlqzMlufnafq#1f{`fswjlmpJmgvpwqjboubqjfwz#leeolbw9#ofeGvqjmd#wkfbppfppnfmwkbuf#affm#gfbop#tjwkPwbwjpwj`pl``vqqfm`f,vo=?,gju=`ofbqej{!=wkf#svaoj`nbmz#zfbqptkj`k#tfqflufq#wjnf/pzmlmznlvp`lmwfmw!= sqfpvnbaozkjp#ebnjozvpfqBdfmw-vmf{sf`wfgjm`ovgjmd#`kboofmdfgb#njmlqjwzvmgfejmfg!afolmdp#wlwbhfm#eqlnjm#L`wlafqslpjwjlm9#pbjg#wl#afqfojdjlvp#Efgfqbwjlm#qltpsbm>!lmoz#b#eftnfbmw#wkbwofg#wl#wkf..= ?gju#?ejfogpfw=Bq`kajpkls#`obpp>!mlafjmd#vpfgbssqlb`kfpsqjujofdfpmlp`qjsw= qfpvowp#jmnbz#af#wkfFbpwfq#fddnf`kbmjpnpqfbplmbaofSlsvobwjlm@loof`wjlmpfof`wfg!=mlp`qjsw=,jmgf{-sksbqqjubo#le.ippgh$**8nbmbdfg#wljm`lnsofwf`bpvbowjfp`lnsofwjlm@kqjpwjbmpPfswfnafq#bqjwknfwj`sql`fgvqfpnjdkw#kbufSqlgv`wjlmjw#bssfbqpSkjolplskzeqjfmgpkjsofbgjmd#wldjujmd#wkfwltbqg#wkfdvbqbmwffggl`vnfmwfg`lolq9 333ujgfl#dbnf`lnnjppjlmqfeof`wjmd`kbmdf#wkfbppl`jbwfgpbmp.pfqjelmhfzsqfpp8#sbggjmd9Kf#tbp#wkfvmgfqozjmdwzsj`booz#/#bmg#wkf#pq`Fofnfmwpv``fppjufpjm`f#wkf#pklvog#af#mfwtlqhjmdb``lvmwjmdvpf#le#wkfoltfq#wkbmpkltp#wkbw?,psbm= \n\n`lnsobjmwp`lmwjmvlvprvbmwjwjfpbpwqlmlnfqkf#gjg#mlwgvf#wl#jwpbssojfg#wlbm#bufqbdffeelqwp#wlwkf#evwvqfbwwfnsw#wlWkfqfelqf/`bsbajojwzQfsvaoj`bmtbp#elqnfgFof`wqlmj`hjolnfwfqp`kboofmdfpsvaojpkjmdwkf#elqnfqjmgjdfmlvpgjqf`wjlmppvapjgjbqz`lmpsjqb`zgfwbjop#lebmg#jm#wkfbeelqgbaofpvapwbm`fpqfbplm#elq`lmufmwjlmjwfnwzsf>!baplovwfozpvsslpfgozqfnbjmfg#bbwwqb`wjufwqbufoojmdpfsbqbwfozel`vpfp#lmfofnfmwbqzbssoj`baofelvmg#wkbwpwzofpkffwnbmvp`qjswpwbmgp#elq#ml.qfsfbw+plnfwjnfp@lnnfq`jbojm#Bnfqj`bvmgfqwbhfmrvbqwfq#lebm#f{bnsofsfqplmboozjmgf{-sks!owqOjfvwfmbmw ?gju#jg>!wkfz#tlvogbajojwz#lenbgf#vs#lemlwfg#wkbw`ofbq#wkbwbqdvf#wkbwwl#bmlwkfq`kjogqfm$psvqslpf#leelqnvobwfgabpfg#vslmwkf#qfdjlmpvaif`w#lesbppfmdfqpslppfppjlm- Jm#wkf#Afelqf#wkfbewfqtbqgp`vqqfmwoz#b`qlpp#wkfp`jfmwjej``lnnvmjwz-`bsjwbojpnjm#Dfqnbmzqjdkw.tjmdwkf#pzpwfnPl`jfwz#leslojwj`jbmgjqf`wjlm9tfmw#lm#wlqfnlubo#le#Mft#Zlqh#bsbqwnfmwpjmgj`bwjlmgvqjmd#wkfvmofpp#wkfkjpwlqj`bokbg#affm#bgfejmjwjufjmdqfgjfmwbwwfmgbm`f@fmwfq#elqsqlnjmfm`fqfbgzPwbwfpwqbwfdjfpavw#jm#wkfbp#sbqw#le`lmpwjwvwf`objn#wkbwobalqbwlqz`lnsbwjaofebjovqf#le/#pv`k#bp#afdbm#tjwkvpjmd#wkf#wl#sqlujgfefbwvqf#leeqln#tkj`k,!#`obpp>!dfloldj`bopfufqbo#legfojafqbwfjnslqwbmw#klogp#wkbwjmd%rvlw8#ubojdm>wlswkf#Dfqnbmlvwpjgf#lemfdlwjbwfgkjp#`bqffqpfsbqbwjlmjg>!pfbq`ktbp#`boofgwkf#elvqwkqf`qfbwjlmlwkfq#wkbmsqfufmwjlmtkjof#wkf#fgv`bwjlm/`lmmf`wjmdb``vqbwfoztfqf#avjowtbp#hjoofgbdqffnfmwpnv`k#nlqf#Gvf#wl#wkftjgwk9#233plnf#lwkfqHjmdgln#lewkf#fmwjqfebnlvp#elqwl#`lmmf`wlaif`wjufpwkf#Eqfm`ksflsof#bmgefbwvqfg!=jp#pbjg#wlpwqv`wvqboqfefqfmgvnnlpw#lewfmb#pfsbqbwf.= ?gju#jg#Leej`jbo#tlqogtjgf-bqjb.obafowkf#sobmfwbmg#jw#tbpg!#ubovf>!ollhjmd#bwafmfej`jbobqf#jm#wkfnlmjwlqjmdqfslqwfgozwkf#nlgfqmtlqhjmd#lmbooltfg#wltkfqf#wkf#jmmlubwjuf?,b=?,gju=plvmgwqb`hpfbq`kElqnwfmg#wl#afjmsvw#jg>!lsfmjmd#leqfpwqj`wfgbglswfg#azbggqfppjmdwkfloldjbmnfwklgp#leubqjbmw#le@kqjpwjbm#ufqz#obqdfbvwlnlwjufaz#ebq#wkfqbmdf#eqlnsvqpvjw#leeloolt#wkfaqlvdkw#wljm#Fmdobmgbdqff#wkbwb``vpfg#le`lnfp#eqlnsqfufmwjmdgju#pwzof>kjp#lq#kfqwqfnfmglvpeqffgln#le`lm`fqmjmd3#2fn#2fn8Abphfwaboo,pwzof-`ppbm#fbqojfqfufm#bewfq,!#wjwof>!-`ln,jmgf{wbhjmd#wkfsjwwpavqdk`lmwfmw!=?p`qjsw=+ewvqmfg#lvwkbujmd#wkf?,psbm= #l``bpjlmboaf`bvpf#jwpwbqwfg#wlskzpj`booz=?,gju= ##`qfbwfg#az@vqqfmwoz/#ad`lolq>!wbajmgf{>!gjpbpwqlvpBmbozwj`p#bopl#kbp#b=?gju#jg>!?,pwzof= ?`boofg#elqpjmdfq#bmg-pq`#>#!,,ujlobwjlmpwkjp#sljmw`lmpwbmwozjp#ol`bwfgqf`lqgjmdpg#eqln#wkfmfgfqobmgpslqwvdv/Fp;N;};D;u;F5m4K4]4_7`gfpbqqlool`lnfmwbqjlfgv`b`j/_mpfswjfnaqfqfdjpwqbglgjqf``j/_mvaj`b`j/_msvaoj`jgbgqfpsvfpwbpqfpvowbglpjnslqwbmwfqfpfqubglpbqw/A`volpgjefqfmwfppjdvjfmwfpqfs/Vaoj`bpjwvb`j/_mnjmjpwfqjlsqjub`jgbggjqf`wlqjlelqnb`j/_mslaob`j/_msqfpjgfmwf`lmw','fmjglpb``fplqjlpwf`kmlqbwjsfqplmbofp`bwfdlq/Abfpsf`jbofpgjpslmjaofb`wvbojgbgqfefqfm`jbuboobglojgajaojlwf`bqfob`jlmfp`bofmgbqjlslo/Awj`bpbmwfqjlqfpgl`vnfmwlpmbwvqbofybnbwfqjbofpgjefqfm`jbf`lm/_nj`bwqbmpslqwfqlgq/Advfysbqwj`jsbqfm`vfmwqbmgjp`vpj/_mfpwqv`wvqbevmgb`j/_meqf`vfmwfpsfqnbmfmwfwlwbonfmwf!2s{#plojg# -dje!#bow>!wqbmpsbqfmwjmelqnbwjlmbssoj`bwjlm!#lm`oj`h>!fpwbaojpkfgbgufqwjpjmd-smd!#bow>!fmujqlmnfmwsfqelqnbm`fbssqlsqjbwf%bns8ngbpk8jnnfgjbwfoz?,pwqlmd=?,qbwkfq#wkbmwfnsfqbwvqfgfufolsnfmw`lnsfwjwjlmsob`fklogfqujpjajojwz9`lszqjdkw!=3!#kfjdkw>!fufm#wklvdkqfsob`fnfmwgfpwjmbwjlm@lqslqbwjlm?vo#`obpp>!Bppl`jbwjlmjmgjujgvbopsfqpsf`wjufpfwWjnflvw+vqo+kwws9,,nbwkfnbwj`pnbqdjm.wls9fufmwvbooz#gfp`qjswjlm*#ml.qfsfbw`loof`wjlmp-ISDwkvnasbqwj`jsbwf,kfbg=?algzeolbw9ofew8?oj#`obpp>!kvmgqfgp#le Kltfufq/#`lnslpjwjlm`ofbq9alwk8`llsfqbwjlmtjwkjm#wkf#obafo#elq>!alqgfq.wls9Mft#Yfbobmgqf`lnnfmgfgsklwldqbskzjmwfqfpwjmd%ow8pvs%dw8`lmwqlufqpzMfwkfqobmgpbowfqmbwjufnb{ofmdwk>!ptjwyfqobmgGfufolsnfmwfppfmwjbooz Bowklvdk#?,wf{wbqfb=wkvmgfqajqgqfsqfpfmwfg%bns8mgbpk8psf`vobwjlm`lnnvmjwjfpofdjpobwjlmfof`wqlmj`p \n?gju#jg>!joovpwqbwfgfmdjmffqjmdwfqqjwlqjfpbvwklqjwjfpgjpwqjavwfg5!#kfjdkw>!pbmp.pfqje8`bsbaof#le#gjpbssfbqfgjmwfqb`wjufollhjmd#elqjw#tlvog#afBedkbmjpwbmtbp#`qfbwfgNbwk-eollq+pvqqlvmgjmd`bm#bopl#aflapfqubwjlmnbjmwfmbm`ffm`lvmwfqfg?k1#`obpp>!nlqf#qf`fmwjw#kbp#affmjmubpjlm#le*-dfwWjnf+*evmgbnfmwboGfpsjwf#wkf!=?gju#jg>!jmpsjqbwjlmf{bnjmbwjlmsqfsbqbwjlmf{sobmbwjlm?jmsvw#jg>!?,b=?,psbm=ufqpjlmp#lejmpwqvnfmwpafelqf#wkf##>#$kwws9,,Gfp`qjswjlmqfobwjufoz#-pvapwqjmd+fb`k#le#wkff{sfqjnfmwpjmeovfmwjbojmwfdqbwjlmnbmz#sflsofgvf#wl#wkf#`lnajmbwjlmgl#mlw#kbufNjggof#Fbpw?mlp`qjsw=?`lszqjdkw!#sfqkbsp#wkfjmpwjwvwjlmjm#Gf`fnafqbqqbmdfnfmwnlpw#ebnlvpsfqplmbojwz`qfbwjlm#leojnjwbwjlmpf{`ovpjufozplufqfjdmwz.`lmwfmw!= ?wg#`obpp>!vmgfqdqlvmgsbqboofo#wlgl`wqjmf#lel``vsjfg#azwfqnjmloldzQfmbjppbm`fb#mvnafq#lepvsslqw#elqf{solqbwjlmqf`ldmjwjlmsqfgf`fpplq?jnd#pq`>!,?k2#`obpp>!svaoj`bwjlmnbz#bopl#afpsf`jbojyfg?,ejfogpfw=sqldqfppjufnjoojlmp#lepwbwfp#wkbwfmelq`fnfmwbqlvmg#wkf#lmf#bmlwkfq-sbqfmwMlgfbdqj`vowvqfBowfqmbwjufqfpfbq`kfqpwltbqgp#wkfNlpw#le#wkfnbmz#lwkfq#+fpsf`jbooz?wg#tjgwk>!8tjgwk9233&jmgfsfmgfmw?k0#`obpp>!#lm`kbmdf>!*-bgg@obpp+jmwfqb`wjlmLmf#le#wkf#gbvdkwfq#leb``fpplqjfpaqbm`kfp#le ?gju#jg>!wkf#obqdfpwgf`obqbwjlmqfdvobwjlmpJmelqnbwjlmwqbmpobwjlmgl`vnfmwbqzjm#lqgfq#wl!= ?kfbg= ?!#kfjdkw>!2b`qlpp#wkf#lqjfmwbwjlm*8?,p`qjsw=jnsofnfmwfg`bm#af#pffmwkfqf#tbp#bgfnlmpwqbwf`lmwbjmfq!=`lmmf`wjlmpwkf#Aqjwjpktbp#tqjwwfm"jnslqwbmw8s{8#nbqdjm.elooltfg#azbajojwz#wl#`lnsoj`bwfggvqjmd#wkf#jnnjdqbwjlmbopl#`boofg?k7#`obpp>!gjpwjm`wjlmqfsob`fg#azdlufqmnfmwpol`bwjlm#lejm#Mlufnafqtkfwkfq#wkf?,s= ?,gju=b`rvjpjwjlm`boofg#wkf#sfqpf`vwjlmgfpjdmbwjlmxelmw.pjyf9bssfbqfg#jmjmufpwjdbwff{sfqjfm`fgnlpw#ojhfoztjgfoz#vpfggjp`vppjlmpsqfpfm`f#le#+gl`vnfmw-f{wfmpjufozJw#kbp#affmjw#glfp#mlw`lmwqbqz#wljmkbajwbmwpjnsqlufnfmwp`klobqpkjs`lmpvnswjlmjmpwqv`wjlmelq#f{bnsoflmf#lq#nlqfs{8#sbggjmdwkf#`vqqfmwb#pfqjfp#lebqf#vpvboozqlof#jm#wkfsqfujlvpoz#gfqjubwjufpfujgfm`f#lef{sfqjfm`fp`lolqp`kfnfpwbwfg#wkbw`fqwjej`bwf?,b=?,gju= #pfof`wfg>!kjdk#p`klloqfpslmpf#wl`lnelqwbaofbglswjlm#lewkqff#zfbqpwkf#`lvmwqzjm#Efaqvbqzpl#wkbw#wkfsflsof#tkl#sqlujgfg#az?sbqbn#mbnfbeef`wfg#azjm#wfqnp#lebssljmwnfmwJPL.;;6:.2!tbp#alqm#jmkjpwlqj`bo#qfdbqgfg#bpnfbpvqfnfmwjp#abpfg#lm#bmg#lwkfq#9#evm`wjlm+pjdmjej`bmw`fofaqbwjlmwqbmpnjwwfg,ip,irvfqz-jp#hmltm#bpwkflqfwj`bo#wbajmgf{>!jw#`lvog#af?mlp`qjsw= kbujmd#affm ?kfbg= ?#%rvlw8Wkf#`lnsjobwjlmkf#kbg#affmsqlgv`fg#azskjolplskfq`lmpwqv`wfgjmwfmgfg#wlbnlmd#lwkfq`lnsbqfg#wlwl#pbz#wkbwFmdjmffqjmdb#gjeefqfmwqfefqqfg#wlgjeefqfm`fpafojfe#wkbwsklwldqbskpjgfmwjezjmdKjpwlqz#le#Qfsvaoj`#lemf`fppbqjozsqlabajojwzwf`kmj`boozofbujmd#wkfpsf`wb`vobqeqb`wjlm#lefof`wqj`jwzkfbg#le#wkfqfpwbvqbmwpsbqwmfqpkjsfnskbpjp#lmnlpw#qf`fmwpkbqf#tjwk#pbzjmd#wkbwejoofg#tjwkgfpjdmfg#wljw#jp#lewfm!=?,jeqbnf=bp#elooltp9nfqdfg#tjwkwkqlvdk#wkf`lnnfq`jbo#sljmwfg#lvwlsslqwvmjwzujft#le#wkfqfrvjqfnfmwgjujpjlm#lesqldqbnnjmdkf#qf`fjufgpfwJmwfqubo!=?,psbm=?,jm#Mft#Zlqhbggjwjlmbo#`lnsqfppjlm ?gju#jg>!jm`lqslqbwf8?,p`qjsw=?bwwb`kFufmwaf`bnf#wkf#!#wbqdfw>!\\`bqqjfg#lvwPlnf#le#wkfp`jfm`f#bmgwkf#wjnf#le@lmwbjmfq!=nbjmwbjmjmd@kqjpwlskfqNv`k#le#wkftqjwjmdp#le!#kfjdkw>!1pjyf#le#wkfufqpjlm#le#nj{wvqf#le#afwtffm#wkfF{bnsofp#lefgv`bwjlmbo`lnsfwjwjuf#lmpvanjw>!gjqf`wlq#legjpwjm`wjuf,GWG#[KWNO#qfobwjmd#wlwfmgfm`z#wlsqlujm`f#letkj`k#tlvoggfpsjwf#wkfp`jfmwjej`#ofdjpobwvqf-jmmfqKWNO#boofdbwjlmpBdqj`vowvqftbp#vpfg#jmbssqlb`k#wljmwfoojdfmwzfbqp#obwfq/pbmp.pfqjegfwfqnjmjmdSfqelqnbm`fbssfbqbm`fp/#tkj`k#jp#elvmgbwjlmpbaaqfujbwfgkjdkfq#wkbmp#eqln#wkf#jmgjujgvbo#`lnslpfg#lepvsslpfg#wl`objnp#wkbwbwwqjavwjlmelmw.pjyf92fofnfmwp#leKjpwlqj`bo#kjp#aqlwkfqbw#wkf#wjnfbmmjufqpbqzdlufqmfg#azqfobwfg#wl#vowjnbwfoz#jmmlubwjlmpjw#jp#pwjoo`bm#lmoz#afgfejmjwjlmpwlDNWPwqjmdB#mvnafq#lejnd#`obpp>!Fufmwvbooz/tbp#`kbmdfgl``vqqfg#jmmfjdkalqjmdgjpwjmdvjpktkfm#kf#tbpjmwqlgv`jmdwfqqfpwqjboNbmz#le#wkfbqdvfp#wkbwbm#Bnfqj`bm`lmrvfpw#letjgfpsqfbg#tfqf#hjoofgp`qffm#bmg#Jm#lqgfq#wlf{sf`wfg#wlgfp`fmgbmwpbqf#ol`bwfgofdjpobwjufdfmfqbwjlmp#ab`hdqlvmgnlpw#sflsofzfbqp#bewfqwkfqf#jp#mlwkf#kjdkfpweqfrvfmwoz#wkfz#gl#mlwbqdvfg#wkbwpkltfg#wkbwsqfglnjmbmwwkfloldj`boaz#wkf#wjnf`lmpjgfqjmdpklqw.ojufg?,psbm=?,b=`bm#af#vpfgufqz#ojwwoflmf#le#wkf#kbg#boqfbgzjmwfqsqfwfg`lnnvmj`bwfefbwvqfp#ledlufqmnfmw/?,mlp`qjsw=fmwfqfg#wkf!#kfjdkw>!0Jmgfsfmgfmwslsvobwjlmpobqdf.p`bof-#Bowklvdk#vpfg#jm#wkfgfpwqv`wjlmslppjajojwzpwbqwjmd#jmwtl#lq#nlqff{sqfppjlmppvalqgjmbwfobqdfq#wkbmkjpwlqz#bmg?,lswjlm= @lmwjmfmwbofojnjmbwjmdtjoo#mlw#afsqb`wj`f#lejm#eqlmw#lepjwf#le#wkffmpvqf#wkbwwl#`qfbwf#bnjppjppjssjslwfmwjboozlvwpwbmgjmdafwwfq#wkbmtkbw#jp#mltpjwvbwfg#jmnfwb#mbnf>!WqbgjwjlmbopvddfpwjlmpWqbmpobwjlmwkf#elqn#lebwnlpskfqj`jgfloldj`bofmwfqsqjpfp`bo`vobwjmdfbpw#le#wkfqfnmbmwp#lesovdjmpsbdf,jmgf{-sks!Wkjp#jp#wkf#?b#kqfe>!,slsvobqjyfgjmuloufg#jmbqf#vpfg#wlbmg#pfufqbonbgf#az#wkfpffnp#wl#afojhfoz#wkbwSbofpwjmjbmmbnfg#bewfqjw#kbg#affmnlpw#`lnnlmwl#qfefq#wlavw#wkjp#jp`lmpf`vwjufwfnslqbqjozJm#dfmfqbo/`lmufmwjlmpwbhfp#sob`fpvagjujpjlmwfqqjwlqjbolsfqbwjlmbosfqnbmfmwoztbp#obqdfozlvwaqfbh#lejm#wkf#sbpwelooltjmd#b#{nomp9ld>!=?b#`obpp>!`obpp>!wf{w@lmufqpjlm#nbz#af#vpfgnbmveb`wvqfbewfq#afjmd`ofbqej{!= rvfpwjlm#letbp#fof`wfgwl#af`lnf#baf`bvpf#le#plnf#sflsofjmpsjqfg#azpv``fppevo#b#wjnf#tkfmnlqf#`lnnlmbnlmdpw#wkfbm#leej`jbotjgwk9233&8wf`kmloldz/tbp#bglswfgwl#hffs#wkfpfwwofnfmwpojuf#ajqwkpjmgf{-kwno!@lmmf`wj`vwbppjdmfg#wl%bns8wjnfp8b``lvmw#elqbojdm>qjdkwwkf#`lnsbmzbotbzp#affmqfwvqmfg#wljmuloufnfmwAf`bvpf#wkfwkjp#sfqjlg!#mbnf>!r!#`lmejmfg#wlb#qfpvow#leubovf>!!#,=jp#b`wvboozFmujqlmnfmw ?,kfbg= @lmufqpfoz/= ?gju#jg>!3!#tjgwk>!2jp#sqlabaozkbuf#af`lnf`lmwqloojmdwkf#sqlaofn`jwjyfmp#leslojwj`jbmpqfb`kfg#wkfbp#fbqoz#bp9mlmf8#lufq?wbaof#`fooubojgjwz#legjqf`woz#wllmnlvpfgltmtkfqf#jw#jptkfm#jw#tbpnfnafqp#le#qfobwjlm#wlb``lnnlgbwfbolmd#tjwk#Jm#wkf#obwfwkf#Fmdojpkgfoj`jlvp!=wkjp#jp#mlwwkf#sqfpfmwje#wkfz#bqfbmg#ejmboozb#nbwwfq#le \n?,gju=  ?,p`qjsw=ebpwfq#wkbmnbilqjwz#lebewfq#tkj`k`lnsbqbwjufwl#nbjmwbjmjnsqluf#wkfbtbqgfg#wkffq!#`obpp>!eqbnfalqgfqqfpwlqbwjlmjm#wkf#pbnfbmbozpjp#lewkfjq#ejqpwGvqjmd#wkf#`lmwjmfmwbopfrvfm`f#leevm`wjlm+*xelmw.pjyf9#tlqh#lm#wkf?,p`qjsw= ?afdjmp#tjwkibubp`qjsw9`lmpwjwvfmwtbp#elvmgfgfrvjojaqjvnbppvnf#wkbwjp#djufm#azmffgp#wl#af`llqgjmbwfpwkf#ubqjlvpbqf#sbqw#lelmoz#jm#wkfpf`wjlmp#lejp#b#`lnnlmwkflqjfp#legjp`lufqjfpbppl`jbwjlmfgdf#le#wkfpwqfmdwk#leslpjwjlm#jmsqfpfmw.gbzvmjufqpboozwl#elqn#wkfavw#jmpwfbg`lqslqbwjlmbwwb`kfg#wljp#`lnnlmozqfbplmp#elq#%rvlw8wkf#`bm#af#nbgftbp#baof#wltkj`k#nfbmpavw#gjg#mlwlmNlvpfLufqbp#slppjaoflsfqbwfg#az`lnjmd#eqlnwkf#sqjnbqzbggjwjlm#leelq#pfufqbowqbmpefqqfgb#sfqjlg#lebqf#baof#wlkltfufq/#jwpklvog#kbufnv`k#obqdfq \n?,p`qjsw=bglswfg#wkfsqlsfqwz#legjqf`wfg#azfeef`wjufoztbp#aqlvdkw`kjogqfm#leSqldqbnnjmdolmdfq#wkbmnbmvp`qjswptbq#bdbjmpwaz#nfbmp#lebmg#nlpw#lepjnjobq#wl#sqlsqjfwbqzlqjdjmbwjmdsqfpwjdjlvpdqbnnbwj`bof{sfqjfm`f-wl#nbhf#wkfJw#tbp#bopljp#elvmg#jm`lnsfwjwlqpjm#wkf#V-P-qfsob`f#wkfaqlvdkw#wkf`bo`vobwjlmeboo#le#wkfwkf#dfmfqbosqb`wj`boozjm#klmlq#leqfofbpfg#jmqfpjgfmwjbobmg#plnf#lehjmd#le#wkfqfb`wjlm#wl2pw#Fbqo#le`vowvqf#bmgsqjm`jsbooz?,wjwof= ##wkfz#`bm#afab`h#wl#wkfplnf#le#kjpf{slpvqf#wlbqf#pjnjobqelqn#le#wkfbggEbulqjwf`jwjyfmpkjssbqw#jm#wkfsflsof#tjwkjm#sqb`wj`fwl#`lmwjmvf%bns8njmvp8bssqlufg#az#wkf#ejqpw#booltfg#wkfbmg#elq#wkfevm`wjlmjmdsobzjmd#wkfplovwjlm#wlkfjdkw>!3!#jm#kjp#allhnlqf#wkbm#belooltp#wkf`qfbwfg#wkfsqfpfm`f#jm%maps8?,wg=mbwjlmbojpwwkf#jgfb#leb#`kbqb`wfqtfqf#elq`fg#`obpp>!awmgbzp#le#wkfefbwvqfg#jmpkltjmd#wkfjmwfqfpw#jmjm#sob`f#lewvqm#le#wkfwkf#kfbg#leOlqg#le#wkfslojwj`boozkbp#jwp#ltmFgv`bwjlmbobssqlubo#leplnf#le#wkffb`k#lwkfq/afkbujlq#lebmg#af`bvpfbmg#bmlwkfqbssfbqfg#lmqf`lqgfg#jmaob`h%rvlw8nbz#jm`ovgfwkf#tlqog$p`bm#ofbg#wlqfefqp#wl#balqgfq>!3!#dlufqmnfmw#tjmmjmd#wkfqfpvowfg#jm#tkjof#wkf#Tbpkjmdwlm/wkf#pvaif`w`jwz#jm#wkf=?,gju= \n\nqfeof`w#wkfwl#`lnsofwfaf`bnf#nlqfqbgjlb`wjufqfif`wfg#aztjwklvw#bmzkjp#ebwkfq/tkj`k#`lvog`lsz#le#wkfwl#jmgj`bwfb#slojwj`bob``lvmwp#le`lmpwjwvwfptlqhfg#tjwkfq?,b=?,oj=le#kjp#ojefb``lnsbmjfg`ojfmwTjgwksqfufmw#wkfOfdjpobwjufgjeefqfmwozwldfwkfq#jmkbp#pfufqboelq#bmlwkfqwf{w#le#wkfelvmgfg#wkff#tjwk#wkf#jp#vpfg#elq`kbmdfg#wkfvpvbooz#wkfsob`f#tkfqftkfqfbp#wkf=#?b#kqfe>!!=?b#kqfe>!wkfnpfoufp/bowklvdk#kfwkbw#`bm#afwqbgjwjlmboqlof#le#wkfbp#b#qfpvowqfnluf@kjoggfpjdmfg#aztfpw#le#wkfPlnf#sflsofsqlgv`wjlm/pjgf#le#wkfmftpofwwfqpvpfg#az#wkfgltm#wl#wkfb``fswfg#azojuf#jm#wkfbwwfnswp#wllvwpjgf#wkfeqfrvfm`jfpKltfufq/#jmsqldqbnnfqpbw#ofbpw#jmbssql{jnbwfbowklvdk#jwtbp#sbqw#lebmg#ubqjlvpDlufqmlq#lewkf#bqwj`ofwvqmfg#jmwl=?b#kqfe>!,wkf#f`lmlnzjp#wkf#nlpwnlpw#tjgfoztlvog#obwfqbmg#sfqkbspqjpf#wl#wkfl``vqp#tkfmvmgfq#tkj`k`lmgjwjlmp-wkf#tfpwfqmwkflqz#wkbwjp#sqlgv`fgwkf#`jwz#lejm#tkj`k#kfpffm#jm#wkfwkf#`fmwqboavjogjmd#lenbmz#le#kjpbqfb#le#wkfjp#wkf#lmoznlpw#le#wkfnbmz#le#wkfwkf#TfpwfqmWkfqf#jp#mlf{wfmgfg#wlPwbwjpwj`bo`lopsbm>1#pklqw#pwlqzslppjaof#wlwlsloldj`bo`qjwj`bo#leqfslqwfg#wlb#@kqjpwjbmgf`jpjlm#wljp#frvbo#wlsqlaofnp#leWkjp#`bm#afnfq`kbmgjpfelq#nlpw#leml#fujgfm`ffgjwjlmp#lefofnfmwp#jm%rvlw8-#Wkf`ln,jnbdfp,tkj`k#nbhfpwkf#sql`fppqfnbjmp#wkfojwfqbwvqf/jp#b#nfnafqwkf#slsvobqwkf#bm`jfmwsqlaofnp#jmwjnf#le#wkfgfefbwfg#azalgz#le#wkfb#eft#zfbqpnv`k#le#wkfwkf#tlqh#le@bojelqmjb/pfqufg#bp#bdlufqmnfmw-`lm`fswp#lenlufnfmw#jm\n\n?gju#jg>!jw!#ubovf>!obmdvbdf#lebp#wkfz#bqfsqlgv`fg#jmjp#wkbw#wkff{sobjm#wkfgju=?,gju= Kltfufq#wkfofbg#wl#wkf\n?b#kqfe>!,tbp#dqbmwfgsflsof#kbuf`lmwjmvbooztbp#pffm#bpbmg#qfobwfgwkf#qlof#lesqlslpfg#azle#wkf#afpwfb`k#lwkfq-@lmpwbmwjmfsflsof#eqlngjbof`wp#lewl#qfujpjlmtbp#qfmbnfgb#plvq`f#lewkf#jmjwjboobvm`kfg#jmsqlujgf#wkfwl#wkf#tfpwtkfqf#wkfqfbmg#pjnjobqafwtffm#wtljp#bopl#wkfFmdojpk#bmg`lmgjwjlmp/wkbw#jw#tbpfmwjwofg#wlwkfnpfoufp-rvbmwjwz#leqbmpsbqfm`zwkf#pbnf#bpwl#iljm#wkf`lvmwqz#bmgwkjp#jp#wkfWkjp#ofg#wlb#pwbwfnfmw`lmwqbpw#wlobpwJmgf{Lewkqlvdk#kjpjp#gfpjdmfgwkf#wfqn#jpjp#sqlujgfgsqlwf`w#wkfmd?,b=?,oj=Wkf#`vqqfmwwkf#pjwf#lepvapwbmwjbof{sfqjfm`f/jm#wkf#Tfpwwkfz#pklvogpolufm(ajmb`lnfmwbqjlpvmjufqpjgbg`lmgj`jlmfpb`wjujgbgfpf{sfqjfm`jbwf`mlold/Absqlgv``j/_msvmwvb`j/_mbsoj`b`j/_m`lmwqbpf/]b`bwfdlq/Abpqfdjpwqbqpfsqlefpjlmbowqbwbnjfmwlqfd/Apwqbwfpf`qfwbq/Absqjm`jsbofpsqlwf``j/_mjnslqwbmwfpjnslqwbm`jbslpjajojgbgjmwfqfpbmwf`qf`jnjfmwlmf`fpjgbgfppvp`qjajqpfbpl`jb`j/_mgjpslmjaofpfubovb`j/_mfpwvgjbmwfpqfpslmpbaofqfplov`j/_mdvbgbobibqbqfdjpwqbglplslqwvmjgbg`lnfq`jbofpelwldqbe/Abbvwlqjgbgfpjmdfmjfq/Abwfofujpj/_m`lnsfwfm`jblsfqb`jlmfpfpwbaof`jglpjnsofnfmwfb`wvbonfmwfmbufdb`j/_m`lmelqnjgbgojmf.kfjdkw9elmw.ebnjoz9!#9#!kwws9,,bssoj`bwjlmpojmh!#kqfe>!psf`jej`booz,,?"X@GBWBX Lqdbmjybwjlmgjpwqjavwjlm3s{8#kfjdkw9qfobwjlmpkjsgfuj`f.tjgwk?gju#`obpp>!?obafo#elq>!qfdjpwqbwjlm?,mlp`qjsw= ,jmgf{-kwno!tjmglt-lsfm+#"jnslqwbmw8bssoj`bwjlm,jmgfsfmgfm`f,,ttt-dlldoflqdbmjybwjlmbvwl`lnsofwfqfrvjqfnfmwp`lmpfqubwjuf?elqn#mbnf>!jmwfoof`wvbonbqdjm.ofew92;wk#`fmwvqzbm#jnslqwbmwjmpwjwvwjlmpbaaqfujbwjlm?jnd#`obpp>!lqdbmjpbwjlm`jujojybwjlm2:wk#`fmwvqzbq`kjwf`wvqfjm`lqslqbwfg13wk#`fmwvqz.`lmwbjmfq!=nlpw#mlwbaoz,=?,b=?,gju=mlwjej`bwjlm$vmgfejmfg$*Evqwkfqnlqf/afojfuf#wkbwjmmfqKWNO#>#sqjlq#wl#wkfgqbnbwj`boozqfefqqjmd#wlmfdlwjbwjlmpkfbgrvbqwfqpPlvwk#Beqj`bvmpv``fppevoSfmmpzoubmjbBp#b#qfpvow/?kwno#obmd>!%ow8,pvs%dw8gfbojmd#tjwkskjobgfoskjbkjpwlqj`booz*8?,p`qjsw= sbggjmd.wls9f{sfqjnfmwbodfwBwwqjavwfjmpwqv`wjlmpwf`kmloldjfpsbqw#le#wkf#>evm`wjlm+*xpvap`qjswjlmo-gwg!= ?kwdfldqbskj`bo@lmpwjwvwjlm$/#evm`wjlm+pvsslqwfg#azbdqj`vowvqbo`lmpwqv`wjlmsvaoj`bwjlmpelmw.pjyf9#2b#ubqjfwz#le?gju#pwzof>!Fm`z`olsfgjbjeqbnf#pq`>!gfnlmpwqbwfgb``lnsojpkfgvmjufqpjwjfpGfnldqbskj`p*8?,p`qjsw=?gfgj`bwfg#wlhmltofgdf#lepbwjpeb`wjlmsbqwj`vobqoz?,gju=?,gju=Fmdojpk#+VP*bssfmg@kjog+wqbmpnjppjlmp-#Kltfufq/#jmwfoojdfm`f!#wbajmgf{>!eolbw9qjdkw8@lnnlmtfbowkqbmdjmd#eqlnjm#tkj`k#wkfbw#ofbpw#lmfqfsqlgv`wjlmfm`z`olsfgjb8elmw.pjyf92ivqjpgj`wjlmbw#wkbw#wjnf!=?b#`obpp>!Jm#bggjwjlm/gfp`qjswjlm(`lmufqpbwjlm`lmwb`w#tjwkjp#dfmfqboozq!#`lmwfmw>!qfsqfpfmwjmd%ow8nbwk%dw8sqfpfmwbwjlml``bpjlmbooz?jnd#tjgwk>!mbujdbwjlm!=`lnsfmpbwjlm`kbnsjlmpkjsnfgjb>!boo!#ujlobwjlm#leqfefqfm`f#wlqfwvqm#wqvf8Pwqj`w,,FM!#wqbmpb`wjlmpjmwfqufmwjlmufqjej`bwjlmJmelqnbwjlm#gjeej`vowjfp@kbnsjlmpkjs`bsbajojwjfp?"Xfmgje^..=~ ?,p`qjsw= @kqjpwjbmjwzelq#f{bnsof/Sqlefppjlmboqfpwqj`wjlmppvddfpw#wkbwtbp#qfofbpfg+pv`k#bp#wkfqfnluf@obpp+vmfnsolznfmwwkf#Bnfqj`bmpwqv`wvqf#le,jmgf{-kwno#svaojpkfg#jmpsbm#`obpp>!!=?b#kqfe>!,jmwqlgv`wjlmafolmdjmd#wl`objnfg#wkbw`lmpfrvfm`fp?nfwb#mbnf>!Dvjgf#wl#wkflufqtkfonjmdbdbjmpw#wkf#`lm`fmwqbwfg/ -mlmwlv`k#lapfqubwjlmp?,b= ?,gju= e#+gl`vnfmw-alqgfq9#2s{#xelmw.pjyf92wqfbwnfmw#le3!#kfjdkw>!2nlgjej`bwjlmJmgfsfmgfm`fgjujgfg#jmwldqfbwfq#wkbmb`kjfufnfmwpfpwbaojpkjmdIbubP`qjsw!#mfufqwkfofpppjdmjej`bm`fAqlbg`bpwjmd=%maps8?,wg=`lmwbjmfq!= pv`k#bp#wkf#jmeovfm`f#leb#sbqwj`vobqpq`>$kwws9,,mbujdbwjlm!#kboe#le#wkf#pvapwbmwjbo#%maps8?,gju=bgubmwbdf#legjp`lufqz#leevmgbnfmwbo#nfwqlslojwbmwkf#lsslpjwf!#{no9obmd>!gfojafqbwfozbojdm>`fmwfqfulovwjlm#lesqfpfqubwjlmjnsqlufnfmwpafdjmmjmd#jmIfpvp#@kqjpwSvaoj`bwjlmpgjpbdqffnfmwwf{w.bojdm9q/#evm`wjlm+*pjnjobqjwjfpalgz=?,kwno=jp#`vqqfmwozboskbafwj`bojp#plnfwjnfpwzsf>!jnbdf,nbmz#le#wkf#eolt9kjggfm8bubjobaof#jmgfp`qjaf#wkff{jpwfm`f#leboo#lufq#wkfwkf#Jmwfqmfw\n?vo#`obpp>!jmpwboobwjlmmfjdkalqkllgbqnfg#elq`fpqfgv`jmd#wkf`lmwjmvfp#wlMlmfwkfofpp/wfnsfqbwvqfp \n\n?b#kqfe>!`olpf#wl#wkff{bnsofp#le#jp#balvw#wkf+pff#afolt*-!#jg>!pfbq`ksqlefppjlmbojp#bubjobaofwkf#leej`jbo\n\n?,p`qjsw= \n\n?gju#jg>!b``fofqbwjlmwkqlvdk#wkf#Kboo#le#Ebnfgfp`qjswjlmpwqbmpobwjlmpjmwfqefqfm`f#wzsf>$wf{w,qf`fmw#zfbqpjm#wkf#tlqogufqz#slsvobqxab`hdqlvmg9wqbgjwjlmbo#plnf#le#wkf#`lmmf`wfg#wlf{soljwbwjlmfnfqdfm`f#le`lmpwjwvwjlmB#Kjpwlqz#lepjdmjej`bmw#nbmveb`wvqfgf{sf`wbwjlmp=?mlp`qjsw=?`bm#af#elvmgaf`bvpf#wkf#kbp#mlw#affmmfjdkalvqjmdtjwklvw#wkf#bggfg#wl#wkf\n?oj#`obpp>!jmpwqvnfmwboPlujfw#Vmjlmb`hmltofgdfgtkj`k#`bm#afmbnf#elq#wkfbwwfmwjlm#wlbwwfnswp#wl#gfufolsnfmwpJm#eb`w/#wkf?oj#`obpp>!bjnsoj`bwjlmppvjwbaof#elqnv`k#le#wkf#`lolmjybwjlmsqfpjgfmwjbo`bm`foAvaaof#Jmelqnbwjlmnlpw#le#wkf#jp#gfp`qjafgqfpw#le#wkf#nlqf#lq#ofppjm#PfswfnafqJmwfoojdfm`fpq`>!kwws9,,s{8#kfjdkw9#bubjobaof#wlnbmveb`wvqfqkvnbm#qjdkwpojmh#kqfe>!,bubjobajojwzsqlslqwjlmbolvwpjgf#wkf#bpwqlmlnj`bokvnbm#afjmdpmbnf#le#wkf#bqf#elvmg#jmbqf#abpfg#lmpnboofq#wkbmb#sfqplm#tklf{sbmpjlm#lebqdvjmd#wkbwmlt#hmltm#bpJm#wkf#fbqozjmwfqnfgjbwfgfqjufg#eqlnP`bmgjmbujbm?,b=?,gju= `lmpjgfq#wkfbm#fpwjnbwfgwkf#Mbwjlmbo?gju#jg>!sbdqfpvowjmd#jm`lnnjppjlmfgbmboldlvp#wlbqf#qfrvjqfg,vo= ?,gju= tbp#abpfg#lmbmg#af`bnf#b%maps8%maps8w!#ubovf>!!#tbp#`bswvqfgml#nlqf#wkbmqfpsf`wjufoz`lmwjmvf#wl#= ?kfbg= ?tfqf#`qfbwfgnlqf#dfmfqbojmelqnbwjlm#vpfg#elq#wkfjmgfsfmgfmw#wkf#Jnsfqjbo`lnslmfmw#lewl#wkf#mlqwkjm`ovgf#wkf#@lmpwqv`wjlmpjgf#le#wkf#tlvog#mlw#afelq#jmpwbm`fjmufmwjlm#lenlqf#`lnsof{`loof`wjufozab`hdqlvmg9#wf{w.bojdm9#jwp#lqjdjmbojmwl#b``lvmwwkjp#sql`fppbm#f{wfmpjufkltfufq/#wkfwkfz#bqf#mlwqfif`wfg#wkf`qjwj`jpn#legvqjmd#tkj`ksqlabaoz#wkfwkjp#bqwj`of+evm`wjlm+*xJw#pklvog#afbm#bdqffnfmwb``jgfmwboozgjeefqp#eqlnBq`kjwf`wvqfafwwfq#hmltmbqqbmdfnfmwpjmeovfm`f#lmbwwfmgfg#wkfjgfmwj`bo#wlplvwk#le#wkfsbpp#wkqlvdk{no!#wjwof>!tfjdkw9alog8`qfbwjmd#wkfgjpsobz9mlmfqfsob`fg#wkf?jnd#pq`>!,jkwwsp9,,ttt-Tlqog#Tbq#JJwfpwjnlmjbopelvmg#jm#wkfqfrvjqfg#wl#bmg#wkbw#wkfafwtffm#wkf#tbp#gfpjdmfg`lmpjpwp#le#`lmpjgfqbaozsvaojpkfg#azwkf#obmdvbdf@lmpfqubwjlm`lmpjpwfg#leqfefq#wl#wkfab`h#wl#wkf#`pp!#nfgjb>!Sflsof#eqln#bubjobaof#lmsqlufg#wl#afpvddfpwjlmp!tbp#hmltm#bpubqjfwjfp#leojhfoz#wl#af`lnsqjpfg#lepvsslqw#wkf#kbmgp#le#wkf`lvsofg#tjwk`lmmf`w#bmg#alqgfq9mlmf8sfqelqnbm`fpafelqf#afjmdobwfq#af`bnf`bo`vobwjlmplewfm#`boofgqfpjgfmwp#lenfbmjmd#wkbw=?oj#`obpp>!fujgfm`f#elqf{sobmbwjlmpfmujqlmnfmwp!=?,b=?,gju=tkj`k#booltpJmwqlgv`wjlmgfufolsfg#azb#tjgf#qbmdflm#afkboe#leubojdm>!wls!sqjm`jsof#lebw#wkf#wjnf/?,mlp`qjsw=pbjg#wl#kbufjm#wkf#ejqpwtkjof#lwkfqpkzslwkfwj`boskjolplskfqpsltfq#le#wkf`lmwbjmfg#jmsfqelqnfg#azjmbajojwz#wltfqf#tqjwwfmpsbm#pwzof>!jmsvw#mbnf>!wkf#rvfpwjlmjmwfmgfg#elqqfif`wjlm#lejnsojfp#wkbwjmufmwfg#wkfwkf#pwbmgbqgtbp#sqlabaozojmh#afwtffmsqlefpplq#lejmwfqb`wjlmp`kbmdjmd#wkfJmgjbm#L`fbm#`obpp>!obpwtlqhjmd#tjwk$kwws9,,ttt-zfbqp#afelqfWkjp#tbp#wkfqf`qfbwjlmbofmwfqjmd#wkfnfbpvqfnfmwpbm#f{wqfnfozubovf#le#wkfpwbqw#le#wkf ?,p`qjsw= bm#feelqw#wljm`qfbpf#wkfwl#wkf#plvwkpsb`jmd>!3!=pveej`jfmwozwkf#Fvqlsfbm`lmufqwfg#wl`ofbqWjnflvwgjg#mlw#kbuf`lmpfrvfmwozelq#wkf#mf{wf{wfmpjlm#lef`lmlnj`#bmgbowklvdk#wkfbqf#sqlgv`fgbmg#tjwk#wkfjmpveej`jfmwdjufm#az#wkfpwbwjmd#wkbwf{sfmgjwvqfp?,psbm=?,b= wklvdkw#wkbwlm#wkf#abpjp`foosbggjmd>jnbdf#le#wkfqfwvqmjmd#wljmelqnbwjlm/pfsbqbwfg#azbppbppjmbwfgp!#`lmwfmw>!bvwklqjwz#lemlqwktfpwfqm?,gju= ?gju#!=?,gju= ##`lmpvowbwjlm`lnnvmjwz#lewkf#mbwjlmbojw#pklvog#afsbqwj`jsbmwp#bojdm>!ofewwkf#dqfbwfpwpfof`wjlm#lepvsfqmbwvqbogfsfmgfmw#lmjp#nfmwjlmfgbooltjmd#wkftbp#jmufmwfgb``lnsbmzjmdkjp#sfqplmbobubjobaof#bwpwvgz#le#wkflm#wkf#lwkfqf{f`vwjlm#leKvnbm#Qjdkwpwfqnp#le#wkfbppl`jbwjlmpqfpfbq`k#bmgpv``ffgfg#azgfefbwfg#wkfbmg#eqln#wkfavw#wkfz#bqf`lnnbmgfq#lepwbwf#le#wkfzfbqp#le#bdfwkf#pwvgz#le?vo#`obpp>!psob`f#jm#wkftkfqf#kf#tbp?oj#`obpp>!ewkfqf#bqf#mltkj`k#af`bnfkf#svaojpkfgf{sqfppfg#jmwl#tkj`k#wkf`lnnjppjlmfqelmw.tfjdkw9wfqqjwlqz#lef{wfmpjlmp!=Qlnbm#Fnsjqffrvbo#wl#wkfJm#`lmwqbpw/kltfufq/#bmgjp#wzsj`boozbmg#kjp#tjef+bopl#`boofg=?vo#`obpp>!feef`wjufoz#fuloufg#jmwlpffn#wl#kbuftkj`k#jp#wkfwkfqf#tbp#mlbm#f{`foofmwboo#le#wkfpfgfp`qjafg#azJm#sqb`wj`f/aqlbg`bpwjmd`kbqdfg#tjwkqfeof`wfg#jmpvaif`wfg#wlnjojwbqz#bmgwl#wkf#sljmwf`lmlnj`boozpfwWbqdfwjmdbqf#b`wvboozuj`wlqz#lufq+*8?,p`qjsw=`lmwjmvlvpozqfrvjqfg#elqfulovwjlmbqzbm#feef`wjufmlqwk#le#wkf/#tkj`k#tbp#eqlmw#le#wkflq#lwkfqtjpfplnf#elqn#lekbg#mlw#affmdfmfqbwfg#azjmelqnbwjlm-sfqnjwwfg#wljm`ovgfp#wkfgfufolsnfmw/fmwfqfg#jmwlwkf#sqfujlvp`lmpjpwfmwozbqf#hmltm#bpwkf#ejfog#lewkjp#wzsf#ledjufm#wl#wkfwkf#wjwof#le`lmwbjmp#wkfjmpwbm`fp#lejm#wkf#mlqwkgvf#wl#wkfjqbqf#gfpjdmfg`lqslqbwjlmptbp#wkbw#wkflmf#le#wkfpfnlqf#slsvobqpv``ffgfg#jmpvsslqw#eqlnjm#gjeefqfmwglnjmbwfg#azgfpjdmfg#elqltmfqpkjs#lebmg#slppjaozpwbmgbqgjyfgqfpslmpfWf{wtbp#jmwfmgfgqf`fjufg#wkfbppvnfg#wkbwbqfbp#le#wkfsqjnbqjoz#jmwkf#abpjp#lejm#wkf#pfmpfb``lvmwp#elqgfpwqlzfg#azbw#ofbpw#wtltbp#gf`obqfg`lvog#mlw#afPf`qfwbqz#lebssfbq#wl#afnbqdjm.wls92,]_p(_p(\',df*xwkqlt#f~8wkf#pwbqw#lewtl#pfsbqbwfobmdvbdf#bmgtkl#kbg#affmlsfqbwjlm#legfbwk#le#wkfqfbo#mvnafqp\n?ojmh#qfo>!sqlujgfg#wkfwkf#pwlqz#le`lnsfwjwjlmpfmdojpk#+VH*fmdojpk#+VP*#evm`wjlm+*-isd!#tjgwk>!`lmejdvqbwjlm-smd!#tjgwk>!?algz#`obpp>!Nbwk-qbmgln+*`lmwfnslqbqz#Vmjwfg#Pwbwfp`jq`vnpwbm`fp-bssfmg@kjog+lqdbmjybwjlmp?psbm#`obpp>!!=?jnd#pq`>!,gjpwjmdvjpkfgwklvpbmgp#le#`lnnvmj`bwjlm`ofbq!=?,gju=jmufpwjdbwjlmebuj`lm-j`l!#nbqdjm.qjdkw9abpfg#lm#wkf#Nbppb`kvpfwwpwbaof#alqgfq>jmwfqmbwjlmbobopl#hmltm#bpsqlmvm`jbwjlmab`hdqlvmg9 esbggjmd.ofew9Elq#f{bnsof/#njp`foobmflvp%ow8,nbwk%dw8spz`kloldj`bojm#sbqwj`vobqfbq`k!#wzsf>!elqn#nfwklg>!bp#lsslpfg#wlPvsqfnf#@lvqwl``bpjlmbooz#Bggjwjlmbooz/Mlqwk#Bnfqj`bs{8ab`hdqlvmglsslqwvmjwjfpFmwfqwbjmnfmw-wlOltfq@bpf+nbmveb`wvqjmdsqlefppjlmbo#`lnajmfg#tjwkElq#jmpwbm`f/`lmpjpwjmd#le!#nb{ofmdwk>!qfwvqm#ebopf8`lmp`jlvpmfppNfgjwfqqbmfbmf{wqblqgjmbqzbppbppjmbwjlmpvapfrvfmwoz#avwwlm#wzsf>!wkf#mvnafq#lewkf#lqjdjmbo#`lnsqfkfmpjufqfefqp#wl#wkf?,vo= ?,gju= skjolplskj`bool`bwjlm-kqfetbp#svaojpkfgPbm#Eqbm`jp`l+evm`wjlm+*x ?gju#jg>!nbjmplskjpwj`bwfgnbwkfnbwj`bo#,kfbg= ?algzpvddfpwp#wkbwgl`vnfmwbwjlm`lm`fmwqbwjlmqfobwjlmpkjspnbz#kbuf#affm+elq#f{bnsof/Wkjp#bqwj`of#jm#plnf#`bpfpsbqwp#le#wkf#gfejmjwjlm#leDqfbw#Aqjwbjm#`foosbggjmd>frvjubofmw#wlsob`fklogfq>!8#elmw.pjyf9#ivpwjej`bwjlmafojfufg#wkbwpveefqfg#eqlnbwwfnswfg#wl#ofbgfq#le#wkf`qjsw!#pq`>!,+evm`wjlm+*#xbqf#bubjobaof \n?ojmh#qfo>!#pq`>$kwws9,,jmwfqfpwfg#jm`lmufmwjlmbo#!#bow>!!#,=?,bqf#dfmfqboozkbp#bopl#affmnlpw#slsvobq#`lqqfpslmgjmd`qfgjwfg#tjwkwzof>!alqgfq9?,b=?,psbm=?,-dje!#tjgwk>!?jeqbnf#pq`>!wbaof#`obpp>!jmojmf.aol`h8b``lqgjmd#wl#wldfwkfq#tjwkbssql{jnbwfozsbqojbnfmwbqznlqf#bmg#nlqfgjpsobz9mlmf8wqbgjwjlmboozsqfglnjmbmwoz%maps8%maps8%maps8?,psbm=#`foopsb`jmd>?jmsvw#mbnf>!lq!#`lmwfmw>!`lmwqlufqpjbosqlsfqwz>!ld9,{.pkl`htbuf.gfnlmpwqbwjlmpvqqlvmgfg#azMfufqwkfofpp/tbp#wkf#ejqpw`lmpjgfqbaof#Bowklvdk#wkf#`loobalqbwjlmpklvog#mlw#afsqlslqwjlm#le?psbm#pwzof>!hmltm#bp#wkf#pklqwoz#bewfqelq#jmpwbm`f/gfp`qjafg#bp#,kfbg= ?algz#pwbqwjmd#tjwkjm`qfbpjmdoz#wkf#eb`w#wkbwgjp`vppjlm#lenjggof#le#wkfbm#jmgjujgvbogjeej`vow#wl#sljmw#le#ujftklnlpf{vbojwzb``fswbm`f#le?,psbm=?,gju=nbmveb`wvqfqplqjdjm#le#wkf`lnnlmoz#vpfgjnslqwbm`f#legfmlnjmbwjlmpab`hdqlvmg9# ofmdwk#le#wkfgfwfqnjmbwjlmb#pjdmjej`bmw!#alqgfq>!3!=qfulovwjlmbqzsqjm`jsofp#lejp#`lmpjgfqfgtbp#gfufolsfgJmgl.Fvqlsfbmuvomfqbaof#wlsqlslmfmwp#lebqf#plnfwjnfp`olpfq#wl#wkfMft#Zlqh#@jwz#mbnf>!pfbq`kbwwqjavwfg#wl`lvqpf#le#wkfnbwkfnbwj`jbmaz#wkf#fmg#lebw#wkf#fmg#le!#alqgfq>!3!#wf`kmloldj`bo-qfnluf@obpp+aqbm`k#le#wkffujgfm`f#wkbw"Xfmgje^..= Jmpwjwvwf#le#jmwl#b#pjmdofqfpsf`wjufoz-bmg#wkfqfelqfsqlsfqwjfp#lejp#ol`bwfg#jmplnf#le#tkj`kWkfqf#jp#bopl`lmwjmvfg#wl#bssfbqbm`f#le#%bns8mgbpk8#gfp`qjafp#wkf`lmpjgfqbwjlmbvwklq#le#wkfjmgfsfmgfmwozfrvjssfg#tjwkglfp#mlw#kbuf?,b=?b#kqfe>!`lmevpfg#tjwk?ojmh#kqfe>!,bw#wkf#bdf#lebssfbq#jm#wkfWkfpf#jm`ovgfqfdbqgofpp#le`lvog#af#vpfg#pwzof>%rvlw8pfufqbo#wjnfpqfsqfpfmw#wkfalgz= ?,kwno=wklvdkw#wl#afslsvobwjlm#leslppjajojwjfpsfq`fmwbdf#leb``fpp#wl#wkfbm#bwwfnsw#wlsqlgv`wjlm#leirvfqz,irvfqzwtl#gjeefqfmwafolmd#wl#wkffpwbaojpknfmwqfsob`jmd#wkfgfp`qjswjlm!#gfwfqnjmf#wkfbubjobaof#elqB``lqgjmd#wl#tjgf#qbmdf#le\n?gju#`obpp>!nlqf#`lnnlmozlqdbmjpbwjlmpevm`wjlmbojwztbp#`lnsofwfg#%bns8ngbpk8#sbqwj`jsbwjlmwkf#`kbqb`wfqbm#bggjwjlmbobssfbqp#wl#afeb`w#wkbw#wkfbm#f{bnsof#lepjdmjej`bmwozlmnlvpflufq>!af`bvpf#wkfz#bpzm`#>#wqvf8sqlaofnp#tjwkpffnp#wl#kbufwkf#qfpvow#le#pq`>!kwws9,,ebnjojbq#tjwkslppfppjlm#leevm`wjlm#+*#xwllh#sob`f#jmbmg#plnfwjnfppvapwbmwjbooz?psbm=?,psbm=jp#lewfm#vpfgjm#bm#bwwfnswdqfbw#gfbo#leFmujqlmnfmwbopv``fppevooz#ujqwvbooz#boo13wk#`fmwvqz/sqlefppjlmbopmf`fppbqz#wl#gfwfqnjmfg#az`lnsbwjajojwzaf`bvpf#jw#jpGj`wjlmbqz#lenlgjej`bwjlmpWkf#elooltjmdnbz#qfefq#wl9@lmpfrvfmwoz/Jmwfqmbwjlmbobowklvdk#plnfwkbw#tlvog#aftlqog$p#ejqpw`obppjejfg#bpalwwln#le#wkf+sbqwj`vobqozbojdm>!ofew!#nlpw#`lnnlmozabpjp#elq#wkfelvmgbwjlm#le`lmwqjavwjlmpslsvobqjwz#le`fmwfq#le#wkfwl#qfgv`f#wkfivqjpgj`wjlmpbssql{jnbwjlm#lmnlvpflvw>!Mft#Wfpwbnfmw`loof`wjlm#le?,psbm=?,b=?,jm#wkf#Vmjwfgejon#gjqf`wlq.pwqj`w-gwg!=kbp#affm#vpfgqfwvqm#wl#wkfbowklvdk#wkjp`kbmdf#jm#wkfpfufqbo#lwkfqavw#wkfqf#bqfvmsqf`fgfmwfgjp#pjnjobq#wlfpsf`jbooz#jmtfjdkw9#alog8jp#`boofg#wkf`lnsvwbwjlmbojmgj`bwf#wkbwqfpwqj`wfg#wl\n?nfwb#mbnf>!bqf#wzsj`booz`lmeoj`w#tjwkKltfufq/#wkf#Bm#f{bnsof#le`lnsbqfg#tjwkrvbmwjwjfp#leqbwkfq#wkbm#b`lmpwfoobwjlmmf`fppbqz#elqqfslqwfg#wkbwpsf`jej`bwjlmslojwj`bo#bmg%maps8%maps8?qfefqfm`fp#wlwkf#pbnf#zfbqDlufqmnfmw#ledfmfqbwjlm#lekbuf#mlw#affmpfufqbo#zfbqp`lnnjwnfmw#wl\n\n?vo#`obpp>!ujpvbojybwjlm2:wk#`fmwvqz/sqb`wjwjlmfqpwkbw#kf#tlvogbmg#`lmwjmvfgl``vsbwjlm#lejp#gfejmfg#bp`fmwqf#le#wkfwkf#bnlvmw#le=?gju#pwzof>!frvjubofmw#legjeefqfmwjbwfaqlvdkw#balvwnbqdjm.ofew9#bvwlnbwj`boozwklvdkw#le#bpPlnf#le#wkfpf ?gju#`obpp>!jmsvw#`obpp>!qfsob`fg#tjwkjp#lmf#le#wkffgv`bwjlm#bmgjmeovfm`fg#azqfsvwbwjlm#bp ?nfwb#mbnf>!b``lnnlgbwjlm?,gju= ?,gju=obqdf#sbqw#leJmpwjwvwf#elqwkf#pl.`boofg#bdbjmpw#wkf#Jm#wkjp#`bpf/tbp#bssljmwfg`objnfg#wl#afKltfufq/#wkjpGfsbqwnfmw#lewkf#qfnbjmjmdfeef`w#lm#wkfsbqwj`vobqoz#gfbo#tjwk#wkf ?gju#pwzof>!bonlpw#botbzpbqf#`vqqfmwozf{sqfppjlm#leskjolplskz#leelq#nlqf#wkbm`jujojybwjlmplm#wkf#jpobmgpfof`wfgJmgf{`bm#qfpvow#jm!#ubovf>!!#,=wkf#pwqv`wvqf#,=?,b=?,gju=Nbmz#le#wkfpf`bvpfg#az#wkfle#wkf#Vmjwfgpsbm#`obpp>!n`bm#af#wqb`fgjp#qfobwfg#wlaf`bnf#lmf#lejp#eqfrvfmwozojujmd#jm#wkfwkflqfwj`boozElooltjmd#wkfQfulovwjlmbqzdlufqmnfmw#jmjp#gfwfqnjmfgwkf#slojwj`bojmwqlgv`fg#jmpveej`jfmw#wlgfp`qjswjlm!=pklqw#pwlqjfppfsbqbwjlm#lebp#wl#tkfwkfqhmltm#elq#jwptbp#jmjwjboozgjpsobz9aol`hjp#bm#f{bnsofwkf#sqjm`jsbo`lmpjpwp#le#bqf`ldmjyfg#bp,algz=?,kwno=b#pvapwbmwjboqf`lmpwqv`wfgkfbg#le#pwbwfqfpjpwbm`f#wlvmgfqdqbgvbwfWkfqf#bqf#wtldqbujwbwjlmbobqf#gfp`qjafgjmwfmwjlmboozpfqufg#bp#wkf`obpp>!kfbgfqlsslpjwjlm#wlevmgbnfmwboozglnjmbwfg#wkfbmg#wkf#lwkfqboojbm`f#tjwktbp#elq`fg#wlqfpsf`wjufoz/bmg#slojwj`bojm#pvsslqw#lesflsof#jm#wkf13wk#`fmwvqz-bmg#svaojpkfgolbg@kbqwafbwwl#vmgfqpwbmgnfnafq#pwbwfpfmujqlmnfmwboejqpw#kboe#le`lvmwqjfp#bmgbq`kjwf`wvqboaf#`lmpjgfqfg`kbqb`wfqjyfg`ofbqJmwfqubobvwklqjwbwjufEfgfqbwjlm#letbp#pv``ffgfgbmg#wkfqf#bqfb#`lmpfrvfm`fwkf#Sqfpjgfmwbopl#jm`ovgfgeqff#plewtbqfpv``fppjlm#legfufolsfg#wkftbp#gfpwqlzfgbtbz#eqln#wkf8 ?,p`qjsw= ?bowklvdk#wkfzelooltfg#az#bnlqf#sltfqevoqfpvowfg#jm#bVmjufqpjwz#leKltfufq/#nbmzwkf#sqfpjgfmwKltfufq/#plnfjp#wklvdkw#wlvmwjo#wkf#fmgtbp#bmmlvm`fgbqf#jnslqwbmwbopl#jm`ovgfp=?jmsvw#wzsf>wkf#`fmwfq#le#GL#MLW#BOWFQvpfg#wl#qfefqwkfnfp,wkbw#kbg#affmwkf#abpjp#elqkbp#gfufolsfgjm#wkf#pvnnfq`lnsbqbwjufozgfp`qjafg#wkfpv`k#bp#wklpfwkf#qfpvowjmdjp#jnslppjaofubqjlvp#lwkfqPlvwk#Beqj`bmkbuf#wkf#pbnffeef`wjufmfppjm#tkj`k#`bpf8#wf{w.bojdm9pwqv`wvqf#bmg8#ab`hdqlvmg9qfdbqgjmd#wkfpvsslqwfg#wkfjp#bopl#hmltmpwzof>!nbqdjmjm`ovgjmd#wkfabkbpb#Nfobzvmlqph#alhn/Iomlqph#mzmlqphpolufm)M(ajmbjmwfqmb`jlmbo`bojej`b`j/_m`lnvmj`b`j/_m`lmpwqv``j/_m!=?gju#`obpp>!gjpbnajdvbwjlmGlnbjmMbnf$/#$bgnjmjpwqbwjlmpjnvowbmflvpozwqbmpslqwbwjlmJmwfqmbwjlmbo#nbqdjm.alwwln9qfpslmpjajojwz?"Xfmgje^..= ?,=?nfwb#mbnf>!jnsofnfmwbwjlmjmeqbpwqv`wvqfqfsqfpfmwbwjlmalqgfq.alwwln9?,kfbg= ?algz=>kwws&0B&1E&1E?elqn#nfwklg>!nfwklg>!slpw!#,ebuj`lm-j`l!#~*8 ?,p`qjsw= -pfwBwwqjavwf+Bgnjmjpwqbwjlm>#mft#Bqqbz+*8?"Xfmgje^..= gjpsobz9aol`h8Vmelqwvmbwfoz/!=%maps8?,gju=,ebuj`lm-j`l!=>$pwzofpkffw$#jgfmwjej`bwjlm/#elq#f{bnsof/?oj=?b#kqfe>!,bm#bowfqmbwjufbp#b#qfpvow#lesw!=?,p`qjsw= wzsf>!pvanjw!# +evm`wjlm+*#xqf`lnnfmgbwjlmelqn#b`wjlm>!,wqbmpelqnbwjlmqf`lmpwqv`wjlm-pwzof-gjpsobz#B``lqgjmd#wl#kjggfm!#mbnf>!bolmd#tjwk#wkfgl`vnfmw-algz-bssql{jnbwfoz#@lnnvmj`bwjlmpslpw!#b`wjlm>!nfbmjmd#%rvlw8..?"Xfmgje^..=Sqjnf#Njmjpwfq`kbqb`wfqjpwj`?,b=#?b#`obpp>wkf#kjpwlqz#le#lmnlvpflufq>!wkf#dlufqmnfmwkqfe>!kwwsp9,,tbp#lqjdjmbooztbp#jmwqlgv`fg`obppjej`bwjlmqfsqfpfmwbwjufbqf#`lmpjgfqfg?"Xfmgje^..= gfsfmgp#lm#wkfVmjufqpjwz#le#jm#`lmwqbpw#wl#sob`fklogfq>!jm#wkf#`bpf#lejmwfqmbwjlmbo#`lmpwjwvwjlmbopwzof>!alqgfq.9#evm`wjlm+*#xAf`bvpf#le#wkf.pwqj`w-gwg!= ?wbaof#`obpp>!b``lnsbmjfg#azb``lvmw#le#wkf?p`qjsw#pq`>!,mbwvqf#le#wkf#wkf#sflsof#jm#jm#bggjwjlm#wlp*8#ip-jg#>#jg!#tjgwk>!233&!qfdbqgjmd#wkf#Qlnbm#@bwkloj`bm#jmgfsfmgfmwelooltjmd#wkf#-dje!#tjgwk>!2wkf#elooltjmd#gjp`qjnjmbwjlmbq`kbfloldj`bosqjnf#njmjpwfq-ip!=?,p`qjsw=`lnajmbwjlm#le#nbqdjmtjgwk>!`qfbwfFofnfmw+t-bwwb`kFufmw+?,b=?,wg=?,wq=pq`>!kwwsp9,,bJm#sbqwj`vobq/#bojdm>!ofew!#@yf`k#Qfsvaoj`Vmjwfg#Hjmdgln`lqqfpslmgfm`f`lm`ovgfg#wkbw-kwno!#wjwof>!+evm`wjlm#+*#x`lnfp#eqln#wkfbssoj`bwjlm#le?psbm#`obpp>!pafojfufg#wl#affnfmw+$p`qjsw$?,b= ?,oj= ?ojufqz#gjeefqfmw=?psbm#`obpp>!lswjlm#ubovf>!+bopl#hmltm#bp\n?oj=?b#kqfe>!=?jmsvw#mbnf>!pfsbqbwfg#eqlnqfefqqfg#wl#bp#ubojdm>!wls!=elvmgfq#le#wkfbwwfnswjmd#wl#`bqalm#gjl{jgf ?gju#`obpp>!`obpp>!pfbq`k.,algz= ?,kwno=lsslqwvmjwz#wl`lnnvmj`bwjlmp?,kfbg= ?algz#pwzof>!tjgwk9Wj\rVSmd#Uj\rWkw`kbmdfp#jm#wkfalqgfq.`lolq9 3!#alqgfq>!3!#?,psbm=?,gju=?tbp#gjp`lufqfg!#wzsf>!wf{w!#*8 ?,p`qjsw= Gfsbqwnfmw#le#f``ofpjbpwj`bowkfqf#kbp#affmqfpvowjmd#eqln?,algz=?,kwno=kbp#mfufq#affmwkf#ejqpw#wjnfjm#qfpslmpf#wlbvwlnbwj`booz#?,gju= ?gju#jtbp#`lmpjgfqfgsfq`fmw#le#wkf!#,=?,b=?,gju=`loof`wjlm#le#gfp`fmgfg#eqlnpf`wjlm#le#wkfb``fsw.`kbqpfwwl#af#`lmevpfgnfnafq#le#wkf#sbggjmd.qjdkw9wqbmpobwjlm#lejmwfqsqfwbwjlm#kqfe>$kwws9,,tkfwkfq#lq#mlwWkfqf#bqf#boplwkfqf#bqf#nbmzb#pnboo#mvnafqlwkfq#sbqwp#lejnslppjaof#wl##`obpp>!avwwlmol`bwfg#jm#wkf-#Kltfufq/#wkfbmg#fufmwvboozBw#wkf#fmg#le#af`bvpf#le#jwpqfsqfpfmwp#wkf?elqn#b`wjlm>!#nfwklg>!slpw!jw#jp#slppjaofnlqf#ojhfoz#wlbm#jm`qfbpf#jmkbuf#bopl#affm`lqqfpslmgp#wlbmmlvm`fg#wkbwbojdm>!qjdkw!=nbmz#`lvmwqjfpelq#nbmz#zfbqpfbqojfpw#hmltmaf`bvpf#jw#tbpsw!=?,p`qjsw=#ubojdm>!wls!#jmkbajwbmwp#leelooltjmd#zfbq ?gju#`obpp>!njoojlm#sflsof`lmwqlufqpjbo#`lm`fqmjmd#wkfbqdvf#wkbw#wkfdlufqmnfmw#bmgb#qfefqfm`f#wlwqbmpefqqfg#wlgfp`qjajmd#wkf#pwzof>!`lolq9bowklvdk#wkfqfafpw#hmltm#elqpvanjw!#mbnf>!nvowjsoj`bwjlmnlqf#wkbm#lmf#qf`ldmjwjlm#le@lvm`jo#le#wkffgjwjlm#le#wkf##?nfwb#mbnf>!Fmwfqwbjmnfmw#btbz#eqln#wkf#8nbqdjm.qjdkw9bw#wkf#wjnf#lejmufpwjdbwjlmp`lmmf`wfg#tjwkbmg#nbmz#lwkfqbowklvdk#jw#jpafdjmmjmd#tjwk#?psbm#`obpp>!gfp`fmgbmwp#le?psbm#`obpp>!j#bojdm>!qjdkw!?,kfbg= ?algz#bpsf`wp#le#wkfkbp#pjm`f#affmFvqlsfbm#Vmjlmqfnjmjp`fmw#lenlqf#gjeej`vowUj`f#Sqfpjgfmw`lnslpjwjlm#lesbppfg#wkqlvdknlqf#jnslqwbmwelmw.pjyf922s{f{sobmbwjlm#lewkf#`lm`fsw#letqjwwfm#jm#wkf\n?psbm#`obpp>!jp#lmf#le#wkf#qfpfnaobm`f#wllm#wkf#dqlvmgptkj`k#`lmwbjmpjm`ovgjmd#wkf#gfejmfg#az#wkfsvaoj`bwjlm#lenfbmp#wkbw#wkflvwpjgf#le#wkfpvsslqw#le#wkf?jmsvw#`obpp>!?psbm#`obpp>!w+Nbwk-qbmgln+*nlpw#sqlnjmfmwgfp`qjswjlm#le@lmpwbmwjmlsoftfqf#svaojpkfg?gju#`obpp>!pfbssfbqp#jm#wkf2!#kfjdkw>!2!#nlpw#jnslqwbmwtkj`k#jm`ovgfptkj`k#kbg#affmgfpwqv`wjlm#lewkf#slsvobwjlm \n?gju#`obpp>!slppjajojwz#leplnfwjnfp#vpfgbssfbq#wl#kbufpv``fpp#le#wkfjmwfmgfg#wl#afsqfpfmw#jm#wkfpwzof>!`ofbq9a ?,p`qjsw= ?tbp#elvmgfg#jmjmwfqujft#tjwk\\jg!#`lmwfmw>!`bsjwbo#le#wkf ?ojmh#qfo>!pqfofbpf#le#wkfsljmw#lvw#wkbw{NOKwwsQfrvfpwbmg#pvapfrvfmwpf`lmg#obqdfpwufqz#jnslqwbmwpsf`jej`bwjlmppvqeb`f#le#wkfbssojfg#wl#wkfelqfjdm#sloj`z\\pfwGlnbjmMbnffpwbaojpkfg#jmjp#afojfufg#wlJm#bggjwjlm#wlnfbmjmd#le#wkfjp#mbnfg#bewfqwl#sqlwf`w#wkfjp#qfsqfpfmwfgGf`obqbwjlm#lenlqf#feej`jfmw@obppjej`bwjlmlwkfq#elqnp#lekf#qfwvqmfg#wl?psbm#`obpp>!`sfqelqnbm`f#le+evm`wjlm+*#xje#bmg#lmoz#jeqfdjlmp#le#wkfofbgjmd#wl#wkfqfobwjlmp#tjwkVmjwfg#Mbwjlmppwzof>!kfjdkw9lwkfq#wkbm#wkfzsf!#`lmwfmw>!Bppl`jbwjlm#le ?,kfbg= ?algzol`bwfg#lm#wkfjp#qfefqqfg#wl+jm`ovgjmd#wkf`lm`fmwqbwjlmpwkf#jmgjujgvbobnlmd#wkf#nlpwwkbm#bmz#lwkfq,= ?ojmh#qfo>!#qfwvqm#ebopf8wkf#svqslpf#lewkf#bajojwz#wl8`lolq9 eee~ - ?psbm#`obpp>!wkf#pvaif`w#legfejmjwjlmp#le= ?ojmh#qfo>!`objn#wkbw#wkfkbuf#gfufolsfg?wbaof#tjgwk>!`fofaqbwjlm#leElooltjmd#wkf#wl#gjpwjmdvjpk?psbm#`obpp>!awbhfp#sob`f#jmvmgfq#wkf#mbnfmlwfg#wkbw#wkf=?"Xfmgje^..= pwzof>!nbqdjm.jmpwfbg#le#wkfjmwqlgv`fg#wkfwkf#sql`fpp#lejm`qfbpjmd#wkfgjeefqfm`fp#jmfpwjnbwfg#wkbwfpsf`jbooz#wkf,gju=?gju#jg>!tbp#fufmwvboozwkqlvdklvw#kjpwkf#gjeefqfm`fplnfwkjmd#wkbwpsbm=?,psbm=?,pjdmjej`bmwoz#=?,p`qjsw=  fmujqlmnfmwbo#wl#sqfufmw#wkfkbuf#affm#vpfgfpsf`jbooz#elqvmgfqpwbmg#wkfjp#fppfmwjbooztfqf#wkf#ejqpwjp#wkf#obqdfpwkbuf#affm#nbgf!#pq`>!kwws9,,jmwfqsqfwfg#bppf`lmg#kboe#le`qloojmd>!ml!#jp#`lnslpfg#leJJ/#Kloz#Qlnbmjp#f{sf`wfg#wlkbuf#wkfjq#ltmgfejmfg#bp#wkfwqbgjwjlmbooz#kbuf#gjeefqfmwbqf#lewfm#vpfgwl#fmpvqf#wkbwbdqffnfmw#tjwk`lmwbjmjmd#wkfbqf#eqfrvfmwozjmelqnbwjlm#lmf{bnsof#jp#wkfqfpvowjmd#jm#b?,b=?,oj=?,vo=#`obpp>!ellwfqbmg#fpsf`jboozwzsf>!avwwlm!#?,psbm=?,psbm=tkj`k#jm`ovgfg= ?nfwb#mbnf>!`lmpjgfqfg#wkf`bqqjfg#lvw#azKltfufq/#jw#jpaf`bnf#sbqw#lejm#qfobwjlm#wlslsvobq#jm#wkfwkf#`bsjwbo#letbp#leej`jbooztkj`k#kbp#affmwkf#Kjpwlqz#lebowfqmbwjuf#wlgjeefqfmw#eqlnwl#pvsslqw#wkfpvddfpwfg#wkbwjm#wkf#sql`fpp##?gju#`obpp>!wkf#elvmgbwjlmaf`bvpf#le#kjp`lm`fqmfg#tjwkwkf#vmjufqpjwzlsslpfg#wl#wkfwkf#`lmwf{w#le?psbm#`obpp>!swf{w!#mbnf>!r!\n\n?gju#`obpp>!wkf#p`jfmwjej`qfsqfpfmwfg#aznbwkfnbwj`jbmpfof`wfg#az#wkfwkbw#kbuf#affm=?gju#`obpp>!`gju#jg>!kfbgfqjm#sbqwj`vobq/`lmufqwfg#jmwl*8 ?,p`qjsw= ?skjolplskj`bo#pqsphlkqubwphjwj\rVSmd#Uj\rWkw!kwws9,,!=?psbm#`obpp>!nfnafqp#le#wkf#tjmglt-ol`bwjlmufqwj`bo.bojdm9,b=##?b#kqfe>!?"gl`wzsf#kwno=nfgjb>!p`qffm!#?lswjlm#ubovf>!ebuj`lm-j`l!#,= \n\n?gju#`obpp>!`kbqb`wfqjpwj`p!#nfwklg>!dfw!#,algz= ?,kwno= pklqw`vw#j`lm!#gl`vnfmw-tqjwf+sbggjmd.alwwln9qfsqfpfmwbwjufppvanjw!#ubovf>!bojdm>!`fmwfq!#wkqlvdklvw#wkf#p`jfm`f#ej`wjlm ##?gju#`obpp>!pvanjw!#`obpp>!lmf#le#wkf#nlpw#ubojdm>!wls!=?tbp#fpwbaojpkfg*8 ?,p`qjsw= qfwvqm#ebopf8!=*-pwzof-gjpsobzaf`bvpf#le#wkf#gl`vnfmw-`llhjf?elqn#b`wjlm>!,~algzxnbqdjm938Fm`z`olsfgjb#leufqpjlm#le#wkf#-`qfbwfFofnfmw+mbnf!#`lmwfmw>!?,gju= ?,gju= bgnjmjpwqbwjuf#?,algz= ?,kwno=kjpwlqz#le#wkf#!=?jmsvw#wzsf>!slqwjlm#le#wkf#bp#sbqw#le#wkf#%maps8?b#kqfe>!lwkfq#`lvmwqjfp!= ?gju#`obpp>!?,psbm=?,psbm=?Jm#lwkfq#tlqgp/gjpsobz9#aol`h8`lmwqlo#le#wkf#jmwqlgv`wjlm#le,= ?nfwb#mbnf>!bp#tfoo#bp#wkf#jm#qf`fmw#zfbqp \n?gju#`obpp>!?,gju= \n?,gju= jmpsjqfg#az#wkfwkf#fmg#le#wkf#`lnsbwjaof#tjwkaf`bnf#hmltm#bp#pwzof>!nbqdjm9-ip!=?,p`qjsw=?#Jmwfqmbwjlmbo#wkfqf#kbuf#affmDfqnbm#obmdvbdf#pwzof>!`lolq9 @lnnvmjpw#Sbqwz`lmpjpwfmw#tjwkalqgfq>!3!#`foo#nbqdjmkfjdkw>!wkf#nbilqjwz#le!#bojdm>!`fmwfqqfobwfg#wl#wkf#nbmz#gjeefqfmw#Lqwklgl{#@kvq`kpjnjobq#wl#wkf#,= ?ojmh#qfo>!ptbp#lmf#le#wkf#vmwjo#kjp#gfbwk~*+*8 ?,p`qjsw=lwkfq#obmdvbdfp`lnsbqfg#wl#wkfslqwjlmp#le#wkfwkf#Mfwkfqobmgpwkf#nlpw#`lnnlmab`hdqlvmg9vqo+bqdvfg#wkbw#wkfp`qloojmd>!ml!#jm`ovgfg#jm#wkfMlqwk#Bnfqj`bm#wkf#mbnf#le#wkfjmwfqsqfwbwjlmpwkf#wqbgjwjlmbogfufolsnfmw#le#eqfrvfmwoz#vpfgb#`loof`wjlm#leufqz#pjnjobq#wlpvqqlvmgjmd#wkff{bnsof#le#wkjpbojdm>!`fmwfq!=tlvog#kbuf#affmjnbdf\\`bswjlm#>bwwb`kfg#wl#wkfpvddfpwjmd#wkbwjm#wkf#elqn#le#jmuloufg#jm#wkfjp#gfqjufg#eqlnmbnfg#bewfq#wkfJmwqlgv`wjlm#wlqfpwqj`wjlmp#lm#pwzof>!tjgwk9#`bm#af#vpfg#wl#wkf#`qfbwjlm#lenlpw#jnslqwbmw#jmelqnbwjlm#bmgqfpvowfg#jm#wkf`loobspf#le#wkfWkjp#nfbmp#wkbwfofnfmwp#le#wkftbp#qfsob`fg#azbmbozpjp#le#wkfjmpsjqbwjlm#elqqfdbqgfg#bp#wkfnlpw#pv``fppevohmltm#bp#%rvlw8b#`lnsqfkfmpjufKjpwlqz#le#wkf#tfqf#`lmpjgfqfgqfwvqmfg#wl#wkfbqf#qfefqqfg#wlVmplvq`fg#jnbdf= \n?gju#`obpp>!`lmpjpwp#le#wkfpwlsSqlsbdbwjlmjmwfqfpw#jm#wkfbubjobajojwz#lebssfbqp#wl#kbuffof`wqlnbdmfwj`fmbaofPfquj`fp+evm`wjlm#le#wkfJw#jp#jnslqwbmw?,p`qjsw=?,gju=evm`wjlm+*xubq#qfobwjuf#wl#wkfbp#b#qfpvow#le#wkf#slpjwjlm#leElq#f{bnsof/#jm#nfwklg>!slpw!#tbp#elooltfg#az%bns8ngbpk8#wkfwkf#bssoj`bwjlmip!=?,p`qjsw= vo=?,gju=?,gju=bewfq#wkf#gfbwktjwk#qfpsf`w#wlpwzof>!sbggjmd9jp#sbqwj`vobqozgjpsobz9jmojmf8#wzsf>!pvanjw!#jp#gjujgfg#jmwl\bTA\nzk#+\vBl\bQ*qfpslmpbajojgbgbgnjmjpwqb`j/_mjmwfqmb`jlmbofp`lqqfpslmgjfmwf\fHe\fHF\fHC\fIg\fH{\fHF\fIn\fH\\\fIa\fHY\fHU\fHB\fHR\fH\\\fIk\fH^\fIg\fH{\fIg\fHn\fHv\fIm\fHD\fHR\fHY\fH^\fIk\fHy\fHS\fHD\fHT\fH\\\fHy\fHR\fH\\\fHF\fIm\fH^\fHS\fHT\fHz\fIg\fHp\fIk\fHn\fHv\fHR\fHU\fHS\fHc\fHA\fIk\fHp\fIk\fHn\fHZ\fHR\fHB\fHS\fH^\fHU\fHB\fHR\fH\\\fIl\fHp\fHR\fH{\fH\\\fHO\fH@\fHD\fHR\fHD\fIk\fHy\fIm\fHB\fHR\fH\\\fH@\fIa\fH^\fIe\fH{\fHB\fHR\fH^\fHS\fHy\fHB\fHU\fHS\fH^\fHR\fHF\fIo\fH[\fIa\fHL\fH@\fHN\fHP\fHH\fIk\fHA\fHR\fHp\fHF\fHR\fHy\fIa\fH^\fHS\fHy\fHs\fIa\fH\\\fIk\fHD\fHz\fHS\fH^\fHR\fHG\fHJ\fI`\fH\\\fHR\fHD\fHB\fHR\fHB\fH^\fIk\fHB\fHH\fHJ\fHR\fHD\fH@\fHR\fHp\fHR\fH\\\fHY\fHS\fHy\fHR\fHT\fHy\fIa\fHC\fIg\fHn\fHv\fHR\fHU\fHH\fIk\fHF\fHU\fIm\fHm\fHv\fH@\fHH\fHR\fHC\fHR\fHT\fHn\fHY\fHR\fHJ\fHJ\fIk\fHz\fHD\fIk\fHF\fHS\fHw\fH^\fIk\fHY\fHS\fHZ\fIk\fH[\fH\\\fHR\fHp\fIa\fHC\fHe\fHH\fIa\fHH\fH\\\fHB\fIm\fHn\fH@\fHd\fHJ\fIg\fHD\fIg\fHn\fHe\fHF\fHy\fH\\\fHO\fHF\fHN\fHP\fIk\fHn\fHT\fIa\fHI\fHS\fHH\fHG\fHS\fH^\fIa\fHB\fHB\fIm\fHz\fIa\fHC\fHi\fHv\fIa\fHw\fHR\fHw\fIn\fHs\fHH\fIl\fHT\fHn\fH{\fIl\fHH\fHp\fHR\fHc\fH{\fHR\fHY\fHS\fHA\fHR\fH{\fHt\fHO\fIa\fHs\fIk\fHJ\fIn\fHT\fH\\\fIk\fHJ\fHS\fHD\fIg\fHn\fHU\fHH\fIa\fHC\fHR\fHT\fIk\fHy\fIa\fHT\fH{\fHR\fHn\fHK\fIl\fHY\fHS\fHZ\fIa\fHY\fH\\\fHR\fHH\fIk\fHn\fHJ\fId\fHs\fIa\fHT\fHD\fHy\fIa\fHZ\fHR\fHT\fHR\fHB\fHD\fIk\fHi\fHJ\fHR\fH^\fHH\fH@\fHS\fHp\fH^\fIl\fHF\fIm\fH\\\fIn\fH[\fHU\fHS\fHn\fHJ\fIl\fHB\fHS\fHH\fIa\fH\\\fHy\fHY\fHS\fHH\fHR\fH\\\fIm\fHF\fHC\fIk\fHT\fIa\fHI\fHR\fHD\fHy\fH\\\fIg\fHM\fHP\fHB\fIm\fHy\fIa\fHH\fHC\fIg\fHp\fHD\fHR\fHy\fIo\fHF\fHC\fHR\fHF\fIg\fHT\fIa\fHs\fHt\fH\\\fIk\fH^\fIn\fHy\fHR\fH\\\fIa\fHC\fHY\fHS\fHv\fHR\fH\\\fHT\fIn\fHv\fHD\fHR\fHB\fIn\fH^\fIa\fHC\fHJ\fIk\fHz\fIk\fHn\fHU\fHB\fIk\fHZ\fHR\fHT\fIa\fHy\fIn\fH^\fHB\fId\fHn\fHD\fIk\fHH\fId\fHC\fHR\fH\\\fHp\fHS\fHT\fHy\fIkqpp({no!#wjwof>!.wzsf!#`lmwfmw>!wjwof!#`lmwfmw>!bw#wkf#pbnf#wjnf-ip!=?,p`qjsw= ?!#nfwklg>!slpw!#?,psbm=?,b=?,oj=ufqwj`bo.bojdm9w,irvfqz-njm-ip!=-`oj`h+evm`wjlm+#pwzof>!sbggjmd.~*+*8 ?,p`qjsw= ?,psbm=?b#kqfe>!?b#kqfe>!kwws9,,*8#qfwvqm#ebopf8wf{w.gf`lqbwjlm9#p`qloojmd>!ml!#alqgfq.`loobspf9bppl`jbwfg#tjwk#Abkbpb#JmglmfpjbFmdojpk#obmdvbdf?wf{w#{no9psb`f>-dje!#alqgfq>!3!?,algz= ?,kwno= lufqeolt9kjggfm8jnd#pq`>!kwws9,,bggFufmwOjpwfmfqqfpslmpjaof#elq#p-ip!=?,p`qjsw= ,ebuj`lm-j`l!#,=lsfqbwjmd#pzpwfn!#pwzof>!tjgwk92wbqdfw>!\\aobmh!=Pwbwf#Vmjufqpjwzwf{w.bojdm9ofew8 gl`vnfmw-tqjwf+/#jm`ovgjmd#wkf#bqlvmg#wkf#tlqog*8 ?,p`qjsw= ?!#pwzof>!kfjdkw98lufqeolt9kjggfmnlqf#jmelqnbwjlmbm#jmwfqmbwjlmbob#nfnafq#le#wkf#lmf#le#wkf#ejqpw`bm#af#elvmg#jm#?,gju= \n\n?,gju= gjpsobz9#mlmf8!=!#,= ?ojmh#qfo>! ##+evm`wjlm+*#xwkf#26wk#`fmwvqz-sqfufmwGfebvow+obqdf#mvnafq#le#Azybmwjmf#Fnsjqf-isdwkvnaofewubpw#nbilqjwz#lenbilqjwz#le#wkf##bojdm>!`fmwfq!=Vmjufqpjwz#Sqfppglnjmbwfg#az#wkfPf`lmg#Tlqog#Tbqgjpwqjavwjlm#le#pwzof>!slpjwjlm9wkf#qfpw#le#wkf#`kbqb`wfqjyfg#az#qfo>!mleloolt!=gfqjufp#eqln#wkfqbwkfq#wkbm#wkf#b#`lnajmbwjlm#lepwzof>!tjgwk9233Fmdojpk.psfbhjmd`lnsvwfq#p`jfm`falqgfq>!3!#bow>!wkf#f{jpwfm`f#leGfnl`qbwj`#Sbqwz!#pwzof>!nbqdjm.Elq#wkjp#qfbplm/-ip!=?,p`qjsw= \npAzWbdMbnf+p*X3^ip!=?,p`qjsw= ?-ip!=?,p`qjsw= ojmh#qfo>!j`lm!#$#bow>$$#`obpp>$elqnbwjlm#le#wkfufqpjlmp#le#wkf#?,b=?,gju=?,gju=,sbdf= ##?sbdf= ?gju#`obpp>!`lmwaf`bnf#wkf#ejqpwabkbpb#Jmglmfpjbfmdojpk#+pjnsof*"y"W"W"["Q"U"V"@=i=l<^<\\=n=m!?gju#jg>!ellwfq!=wkf#Vmjwfg#Pwbwfp?jnd#pq`>!kwws9,,-isdqjdkwwkvna-ip!=?,p`qjsw= ?ol`bwjlm-sqlwl`loeqbnfalqgfq>!3!#p!#,= ?nfwb#mbnf>!?,b=?,gju=?,gju=?elmw.tfjdkw9alog8%rvlw8#bmg#%rvlw8gfsfmgjmd#lm#wkf#nbqdjm938sbggjmd9!#qfo>!mleloolt!#Sqfpjgfmw#le#wkf#wtfmwjfwk#`fmwvqzfujpjlm= ##?,sbdfJmwfqmfw#F{solqfqb-bpzm`#>#wqvf8 jmelqnbwjlm#balvw?gju#jg>!kfbgfq!=!#b`wjlm>!kwws9,,?b#kqfe>!kwwsp9,,?gju#jg>!`lmwfmw!?,gju= ?,gju= ?gfqjufg#eqln#wkf#?jnd#pq`>$kwws9,,b``lqgjmd#wl#wkf# ?,algz= ?,kwno= pwzof>!elmw.pjyf9p`qjsw#obmdvbdf>!Bqjbo/#Kfoufwj`b/?,b=?psbm#`obpp>!?,p`qjsw=?p`qjsw#slojwj`bo#sbqwjfpwg=?,wq=?,wbaof=?kqfe>!kwws9,,ttt-jmwfqsqfwbwjlm#leqfo>!pwzofpkffw!#gl`vnfmw-tqjwf+$?`kbqpfw>!vwe.;!= afdjmmjmd#le#wkf#qfufbofg#wkbw#wkfwfofujpjlm#pfqjfp!#qfo>!mleloolt!=#wbqdfw>!\\aobmh!=`objnjmd#wkbw#wkfkwws&0B&1E&1Ettt-nbmjefpwbwjlmp#leSqjnf#Njmjpwfq#lejmeovfm`fg#az#wkf`obpp>!`ofbqej{!=,gju= ?,gju=  wkqff.gjnfmpjlmbo@kvq`k#le#Fmdobmgle#Mlqwk#@bqlojmbprvbqf#hjolnfwqfp-bggFufmwOjpwfmfqgjpwjm`w#eqln#wkf`lnnlmoz#hmltm#bpSklmfwj`#Boskbafwgf`obqfg#wkbw#wkf`lmwqloofg#az#wkfAfmibnjm#Eqbmhojmqlof.sobzjmd#dbnfwkf#Vmjufqpjwz#lejm#Tfpwfqm#Fvqlsfsfqplmbo#`lnsvwfqSqlif`w#Dvwfmafqdqfdbqgofpp#le#wkfkbp#affm#sqlslpfgwldfwkfq#tjwk#wkf=?,oj=?oj#`obpp>!jm#plnf#`lvmwqjfpnjm-ip!=?,p`qjsw=le#wkf#slsvobwjlmleej`jbo#obmdvbdf?jnd#pq`>!jnbdfp,jgfmwjejfg#az#wkfmbwvqbo#qfplvq`fp`obppjej`bwjlm#le`bm#af#`lmpjgfqfgrvbmwvn#nf`kbmj`pMfufqwkfofpp/#wkfnjoojlm#zfbqp#bdl?,algz= ?,kwno="y"W"W"["Q"U"V"@ wbhf#bgubmwbdf#lebmg/#b``lqgjmd#wlbwwqjavwfg#wl#wkfNj`qlplew#Tjmgltpwkf#ejqpw#`fmwvqzvmgfq#wkf#`lmwqlogju#`obpp>!kfbgfqpklqwoz#bewfq#wkfmlwbaof#f{`fswjlmwfmp#le#wklvpbmgppfufqbo#gjeefqfmwbqlvmg#wkf#tlqog-qfb`kjmd#njojwbqzjplobwfg#eqln#wkflsslpjwjlm#wl#wkfwkf#Log#WfpwbnfmwBeqj`bm#Bnfqj`bmpjmpfqwfg#jmwl#wkfpfsbqbwf#eqln#wkfnfwqlslojwbm#bqfbnbhfp#jw#slppjaofb`hmltofgdfg#wkbwbqdvbaoz#wkf#nlpwwzsf>!wf{w,`pp!= wkf#JmwfqmbwjlmboB``lqgjmd#wl#wkf#sf>!wf{w,`pp!#,= `ljm`jgf#tjwk#wkfwtl.wkjqgp#le#wkfGvqjmd#wkjp#wjnf/gvqjmd#wkf#sfqjlgbmmlvm`fg#wkbw#kfwkf#jmwfqmbwjlmbobmg#nlqf#qf`fmwozafojfufg#wkbw#wkf`lmp`jlvpmfpp#bmgelqnfqoz#hmltm#bppvqqlvmgfg#az#wkfejqpw#bssfbqfg#jml``bpjlmbooz#vpfgslpjwjlm9baplovwf8!#wbqdfw>!\\aobmh!#slpjwjlm9qfobwjuf8wf{w.bojdm9`fmwfq8ib{,ojap,irvfqz,2-ab`hdqlvmg.`lolq9 wzsf>!bssoj`bwjlm,bmdvbdf!#`lmwfmw>!?nfwb#kwws.frvju>!Sqjub`z#Sloj`z?,b=f+!&0@p`qjsw#pq`>$!#wbqdfw>!\\aobmh!=Lm#wkf#lwkfq#kbmg/-isdwkvnaqjdkw1?,gju=?gju#`obpp>!?gju#pwzof>!eolbw9mjmfwffmwk#`fmwvqz?,algz= ?,kwno= ?jnd#pq`>!kwws9,,p8wf{w.bojdm9`fmwfqelmw.tfjdkw9#alog8#B``lqgjmd#wl#wkf#gjeefqfm`f#afwtffm!#eqbnfalqgfq>!3!#!#pwzof>!slpjwjlm9ojmh#kqfe>!kwws9,,kwno7,ollpf-gwg!= gvqjmd#wkjp#sfqjlg?,wg=?,wq=?,wbaof=`olpfoz#qfobwfg#wlelq#wkf#ejqpw#wjnf8elmw.tfjdkw9alog8jmsvw#wzsf>!wf{w!#?psbm#pwzof>!elmw.lmqfbgzpwbwf`kbmdf\n?gju#`obpp>!`ofbqgl`vnfmw-ol`bwjlm-#Elq#f{bnsof/#wkf#b#tjgf#ubqjfwz#le#?"GL@WZSF#kwno= ?%maps8%maps8%maps8!=?b#kqfe>!kwws9,,pwzof>!eolbw9ofew8`lm`fqmfg#tjwk#wkf>kwws&0B&1E&1Ettt-jm#slsvobq#`vowvqfwzsf>!wf{w,`pp!#,=jw#jp#slppjaof#wl#Kbqubqg#Vmjufqpjwzwzofpkffw!#kqfe>!,wkf#nbjm#`kbqb`wfqL{elqg#Vmjufqpjwz##mbnf>!hfztlqgp!#`pwzof>!wf{w.bojdm9wkf#Vmjwfg#Hjmdglnefgfqbo#dlufqmnfmw?gju#pwzof>!nbqdjm#gfsfmgjmd#lm#wkf#gfp`qjswjlm#le#wkf?gju#`obpp>!kfbgfq-njm-ip!=?,p`qjsw=gfpwqv`wjlm#le#wkfpojdkwoz#gjeefqfmwjm#b``lqgbm`f#tjwkwfof`lnnvmj`bwjlmpjmgj`bwfp#wkbw#wkfpklqwoz#wkfqfbewfqfpsf`jbooz#jm#wkf#Fvqlsfbm#`lvmwqjfpKltfufq/#wkfqf#bqfpq`>!kwws9,,pwbwj`pvddfpwfg#wkbw#wkf!#pq`>!kwws9,,ttt-b#obqdf#mvnafq#le#Wfof`lnnvmj`bwjlmp!#qfo>!mleloolt!#wKloz#Qlnbm#Fnsfqlqbonlpw#f{`ovpjufoz!#alqgfq>!3!#bow>!Pf`qfwbqz#le#Pwbwf`vonjmbwjmd#jm#wkf@JB#Tlqog#Eb`wallhwkf#nlpw#jnslqwbmwbmmjufqpbqz#le#wkfpwzof>!ab`hdqlvmg.?oj=?fn=?b#kqfe>!,wkf#Bwobmwj`#L`fbmpwqj`woz#psfbhjmd/pklqwoz#afelqf#wkfgjeefqfmw#wzsfp#lewkf#Lwwlnbm#Fnsjqf=?jnd#pq`>!kwws9,,Bm#Jmwqlgv`wjlm#wl`lmpfrvfm`f#le#wkfgfsbqwvqf#eqln#wkf@lmefgfqbwf#Pwbwfpjmgjdfmlvp#sflsofpSql`ffgjmdp#le#wkfjmelqnbwjlm#lm#wkfwkflqjfp#kbuf#affmjmuloufnfmw#jm#wkfgjujgfg#jmwl#wkqffbgib`fmw#`lvmwqjfpjp#qfpslmpjaof#elqgjpplovwjlm#le#wkf`loobalqbwjlm#tjwktjgfoz#qfdbqgfg#bpkjp#`lmwfnslqbqjfpelvmgjmd#nfnafq#leGlnjmj`bm#Qfsvaoj`dfmfqbooz#b``fswfgwkf#slppjajojwz#lebqf#bopl#bubjobaofvmgfq#`lmpwqv`wjlmqfpwlqbwjlm#le#wkfwkf#dfmfqbo#svaoj`jp#bonlpw#fmwjqfozsbppfp#wkqlvdk#wkfkbp#affm#pvddfpwfg`lnsvwfq#bmg#ujgflDfqnbmj`#obmdvbdfp#b``lqgjmd#wl#wkf#gjeefqfmw#eqln#wkfpklqwoz#bewfqtbqgpkqfe>!kwwsp9,,ttt-qf`fmw#gfufolsnfmwAlbqg#le#Gjqf`wlqp?gju#`obpp>!pfbq`k#?b#kqfe>!kwws9,,Jm#sbqwj`vobq/#wkfNvowjsof#ellwmlwfplq#lwkfq#pvapwbm`fwklvpbmgp#le#zfbqpwqbmpobwjlm#le#wkf?,gju= ?,gju=  ?b#kqfe>!jmgf{-skstbp#fpwbaojpkfg#jmnjm-ip!=?,p`qjsw= sbqwj`jsbwf#jm#wkfb#pwqlmd#jmeovfm`fpwzof>!nbqdjm.wls9qfsqfpfmwfg#az#wkfdqbgvbwfg#eqln#wkfWqbgjwjlmbooz/#wkfFofnfmw+!p`qjsw!*8Kltfufq/#pjm`f#wkf,gju= ?,gju= ?gju#ofew8#nbqdjm.ofew9sqlwf`wjlm#bdbjmpw38#ufqwj`bo.bojdm9Vmelqwvmbwfoz/#wkfwzsf>!jnbdf,{.j`lm,gju= ?gju#`obpp>!#`obpp>!`ofbqej{!=?gju#`obpp>!ellwfq\n\n?,gju= \n\n?,gju= wkf#nlwjlm#sj`wvqf<}=f!t0-lqd,2:::,{kwno!=?b#wbqdfw>!\\aobmh!#wf{w,kwno8#`kbqpfw>!#wbqdfw>!\\aobmh!=?wbaof#`foosbggjmd>!bvwl`lnsofwf>!lee!#wf{w.bojdm9#`fmwfq8wl#obpw#ufqpjlm#az#ab`hdqlvmg.`lolq9# !#kqfe>!kwws9,,ttt-,gju=?,gju=?gju#jg>?b#kqfe>! !#`obpp>!!=?jnd#pq`>!kwws9,,`qjsw!#pq`>!kwws9,, ?p`qjsw#obmdvbdf>!,,FM!#!kwws9,,ttt-tfm`lgfVQJ@lnslmfmw+!#kqfe>!ibubp`qjsw9?gju#`obpp>!`lmwfmwgl`vnfmw-tqjwf+$?p`slpjwjlm9#baplovwf8p`qjsw#pq`>!kwws9,,#pwzof>!nbqdjm.wls9-njm-ip!=?,p`qjsw= ?,gju= ?gju#`obpp>!t0-lqd,2:::,{kwno!#  ?,algz= ?,kwno=gjpwjm`wjlm#afwtffm,!#wbqdfw>!\\aobmh!=?ojmh#kqfe>!kwws9,,fm`lgjmd>!vwe.;!<= t-bggFufmwOjpwfmfq!kwws9,,ttt-j`lm!#kqfe>!kwws9,,#pwzof>!ab`hdqlvmg9wzsf>!wf{w,`pp!#,= nfwb#sqlsfqwz>!ld9w?jmsvw#wzsf>!wf{w!##pwzof>!wf{w.bojdm9wkf#gfufolsnfmw#le#wzofpkffw!#wzsf>!wfkwno8#`kbqpfw>vwe.;jp#`lmpjgfqfg#wl#afwbaof#tjgwk>!233&!#Jm#bggjwjlm#wl#wkf#`lmwqjavwfg#wl#wkf#gjeefqfm`fp#afwtffmgfufolsnfmw#le#wkf#Jw#jp#jnslqwbmw#wl#?,p`qjsw= ?p`qjsw##pwzof>!elmw.pjyf92=?,psbm=?psbm#jg>daOjaqbqz#le#@lmdqfpp?jnd#pq`>!kwws9,,jnFmdojpk#wqbmpobwjlmB`bgfnz#le#P`jfm`fpgju#pwzof>!gjpsobz9`lmpwqv`wjlm#le#wkf-dfwFofnfmwAzJg+jg*jm#`lmivm`wjlm#tjwkFofnfmw+$p`qjsw$*8#?nfwb#sqlsfqwz>!ld9<}=f!wf{w!#mbnf>!=Sqjub`z#Sloj`z?,b=bgnjmjpwfqfg#az#wkffmbaofPjmdofQfrvfpwpwzof>%rvlw8nbqdjm9?,gju=?,gju=?,gju=?=?jnd#pq`>!kwws9,,j#pwzof>%rvlw8eolbw9qfefqqfg#wl#bp#wkf#wlwbo#slsvobwjlm#lejm#Tbpkjmdwlm/#G-@-#pwzof>!ab`hdqlvmg.bnlmd#lwkfq#wkjmdp/lqdbmjybwjlm#le#wkfsbqwj`jsbwfg#jm#wkfwkf#jmwqlgv`wjlm#lejgfmwjejfg#tjwk#wkfej`wjlmbo#`kbqb`wfq#L{elqg#Vmjufqpjwz#njpvmgfqpwbmgjmd#leWkfqf#bqf/#kltfufq/pwzofpkffw!#kqfe>!,@lovnajb#Vmjufqpjwzf{sbmgfg#wl#jm`ovgfvpvbooz#qfefqqfg#wljmgj`bwjmd#wkbw#wkfkbuf#pvddfpwfg#wkbwbeejojbwfg#tjwk#wkf`lqqfobwjlm#afwtffmmvnafq#le#gjeefqfmw=?,wg=?,wq=?,wbaof=Qfsvaoj`#le#Jqfobmg ?,p`qjsw= ?p`qjsw#vmgfq#wkf#jmeovfm`f`lmwqjavwjlm#wl#wkfLeej`jbo#tfapjwf#lekfbgrvbqwfqp#le#wkf`fmwfqfg#bqlvmg#wkfjnsoj`bwjlmp#le#wkfkbuf#affm#gfufolsfgEfgfqbo#Qfsvaoj`#leaf`bnf#jm`qfbpjmdoz`lmwjmvbwjlm#le#wkfMlwf/#kltfufq/#wkbwpjnjobq#wl#wkbw#le#`bsbajojwjfp#le#wkfb``lqgbm`f#tjwk#wkfsbqwj`jsbmwp#jm#wkfevqwkfq#gfufolsnfmwvmgfq#wkf#gjqf`wjlmjp#lewfm#`lmpjgfqfgkjp#zlvmdfq#aqlwkfq?,wg=?,wq=?,wbaof=?b#kwws.frvju>![.VB.skzpj`bo#sqlsfqwjfple#Aqjwjpk#@lovnajbkbp#affm#`qjwj`jyfg+tjwk#wkf#f{`fswjlmrvfpwjlmp#balvw#wkfsbppjmd#wkqlvdk#wkf3!#`foosbggjmd>!3!#wklvpbmgp#le#sflsofqfgjqf`wp#kfqf-#Elqkbuf#`kjogqfm#vmgfq&0F&0@,p`qjsw&0F!**8?b#kqfe>!kwws9,,ttt-?oj=?b#kqfe>!kwws9,,pjwf\\mbnf!#`lmwfmw>!wf{w.gf`lqbwjlm9mlmfpwzof>!gjpsobz9#mlmf?nfwb#kwws.frvju>![.mft#Gbwf+*-dfwWjnf+*#wzsf>!jnbdf,{.j`lm!?,psbm=?psbm#`obpp>!obmdvbdf>!ibubp`qjswtjmglt-ol`bwjlm-kqfe?b#kqfe>!ibubp`qjsw9..= ?p`qjsw#wzsf>!w?b#kqfe>$kwws9,,ttt-klqw`vw#j`lm!#kqfe>!?,gju= ?gju#`obpp>!?p`qjsw#pq`>!kwws9,,!#qfo>!pwzofpkffw!#w?,gju= ?p`qjsw#wzsf>,b=#?b#kqfe>!kwws9,,#booltWqbmpsbqfm`z>![.VB.@lnsbwjaof!#`lmqfobwjlmpkjs#afwtffm ?,p`qjsw= ?p`qjsw#?,b=?,oj=?,vo=?,gju=bppl`jbwfg#tjwk#wkf#sqldqbnnjmd#obmdvbdf?,b=?b#kqfe>!kwws9,,?,b=?,oj=?oj#`obpp>!elqn#b`wjlm>!kwws9,,?gju#pwzof>!gjpsobz9wzsf>!wf{w!#mbnf>!r!?wbaof#tjgwk>!233&!#ab`hdqlvmg.slpjwjlm9!#alqgfq>!3!#tjgwk>!qfo>!pklqw`vw#j`lm!#k5=?vo=?oj=?b#kqfe>!##?nfwb#kwws.frvju>!`pp!#nfgjb>!p`qffm!#qfpslmpjaof#elq#wkf#!#wzsf>!bssoj`bwjlm,!#pwzof>!ab`hdqlvmg.kwno8#`kbqpfw>vwe.;!#booltwqbmpsbqfm`z>!pwzofpkffw!#wzsf>!wf ?nfwb#kwws.frvju>!=?,psbm=?psbm#`obpp>!3!#`foopsb`jmd>!3!=8 ?,p`qjsw= ?p`qjsw#plnfwjnfp#`boofg#wkfglfp#mlw#mf`fppbqjozElq#nlqf#jmelqnbwjlmbw#wkf#afdjmmjmd#le#?"GL@WZSF#kwno=?kwnosbqwj`vobqoz#jm#wkf#wzsf>!kjggfm!#mbnf>!ibubp`qjsw9uljg+3*8!feef`wjufmfpp#le#wkf#bvwl`lnsofwf>!lee!#dfmfqbooz#`lmpjgfqfg=?jmsvw#wzsf>!wf{w!#!=?,p`qjsw= ?p`qjswwkqlvdklvw#wkf#tlqog`lnnlm#njp`lm`fswjlmbppl`jbwjlm#tjwk#wkf?,gju= ?,gju= ?gju#`gvqjmd#kjp#ojefwjnf/`lqqfpslmgjmd#wl#wkfwzsf>!jnbdf,{.j`lm!#bm#jm`qfbpjmd#mvnafqgjsolnbwj`#qfobwjlmpbqf#lewfm#`lmpjgfqfgnfwb#`kbqpfw>!vwe.;!#?jmsvw#wzsf>!wf{w!#f{bnsofp#jm`ovgf#wkf!=?jnd#pq`>!kwws9,,jsbqwj`jsbwjlm#jm#wkfwkf#fpwbaojpknfmw#le ?,gju= ?gju#`obpp>!%bns8maps8%bns8maps8wl#gfwfqnjmf#tkfwkfqrvjwf#gjeefqfmw#eqlnnbqhfg#wkf#afdjmmjmdgjpwbm`f#afwtffm#wkf`lmwqjavwjlmp#wl#wkf`lmeoj`w#afwtffm#wkftjgfoz#`lmpjgfqfg#wltbp#lmf#le#wkf#ejqpwtjwk#ubqzjmd#gfdqffpkbuf#psf`vobwfg#wkbw+gl`vnfmw-dfwFofnfmwsbqwj`jsbwjmd#jm#wkflqjdjmbooz#gfufolsfgfwb#`kbqpfw>!vwe.;!=#wzsf>!wf{w,`pp!#,= jmwfq`kbmdfbaoz#tjwknlqf#`olpfoz#qfobwfgpl`jbo#bmg#slojwj`bowkbw#tlvog#lwkfqtjpfsfqsfmgj`vobq#wl#wkfpwzof#wzsf>!wf{w,`ppwzsf>!pvanjw!#mbnf>!ebnjojfp#qfpjgjmd#jmgfufolsjmd#`lvmwqjfp`lnsvwfq#sqldqbnnjmdf`lmlnj`#gfufolsnfmwgfwfqnjmbwjlm#le#wkfelq#nlqf#jmelqnbwjlmlm#pfufqbo#l``bpjlmpslqwvdv/Fp#+Fvqlsfv*VWE.;!#pfwWjnflvw+evm`wjlm+*gjpsobz9jmojmf.aol`h8?jmsvw#wzsf>!pvanjw!#wzsf#>#$wf{w,ibubp`qj?jnd#pq`>!kwws9,,ttt-!#!kwws9,,ttt-t0-lqd,pklqw`vw#j`lm!#kqfe>!!#bvwl`lnsofwf>!lee!#?,b=?,gju=?gju#`obpp>?,b=?,oj= ?oj#`obpp>!`pp!#wzsf>!wf{w,`pp!#?elqn#b`wjlm>!kwws9,,{w,`pp!#kqfe>!kwws9,,ojmh#qfo>!bowfqmbwf!# ?p`qjsw#wzsf>!wf{w,#lm`oj`h>!ibubp`qjsw9+mft#Gbwf*-dfwWjnf+*~kfjdkw>!2!#tjgwk>!2!#Sflsof$p#Qfsvaoj`#le##?b#kqfe>!kwws9,,ttt-wf{w.gf`lqbwjlm9vmgfqwkf#afdjmmjmd#le#wkf#?,gju= ?,gju= ?,gju= fpwbaojpknfmw#le#wkf#?,gju=?,gju=?,gju=?,g ujftslqwxnjm.kfjdkw9 ?p`qjsw#pq`>!kwws9,,lswjlm=?lswjlm#ubovf>lewfm#qfefqqfg#wl#bp#,lswjlm= ?lswjlm#ubov?"GL@WZSF#kwno= ?"..XJmwfqmbwjlmbo#Bjqslqw= ?b#kqfe>!kwws9,,ttt?,b=?b#kqfe>!kwws9,,t\fTL\fT^\fTE\fT^\fUh\fT{\fTN\roI\ro|\roL\ro{\roO\rov\rot\nAOGx\bTA\nzk#+\vUmGx*\fHD\fHS\fH\\\fIa\fHJ\fIk\fHZ\fHM\fHR\fHe\fHD\fH^\fIg\fHM\fHy\fIa\fH[\fIk\fHH\fIa\fH\\\fHp\fHR\fHD\fHy\fHR\fH\\\fIl\fHT\fHn\fH@\fHn\fHK\fHS\fHH\fHT\fIa\fHI\fHR\fHF\fHD\fHR\fHT\fIa\fHY\fIl\fHy\fHR\fH\\\fHT\fHn\fHT\fIa\fHy\fH\\\fHO\fHT\fHR\fHB\fH{\fIa\fH\\\fIl\fHv\fHS\fHs\fIa\fHL\fIg\fHn\fHY\fHS\fHp\fIa\fHr\fHR\fHD\fHi\fHB\fIk\fH\\\fHS\fHy\fHR\fHY\fHS\fHA\fHS\fHD\fIa\fHD\fH{\fHR\fHM\fHS\fHC\fHR\fHm\fHy\fIa\fHC\fIg\fHn\fHy\fHS\fHT\fIm\fH\\\fHy\fIa\fH[\fHR\fHF\fHU\fIm\fHm\fHv\fHH\fIl\fHF\fIa\fH\\\fH@\fHn\fHK\fHD\fHs\fHS\fHF\fIa\fHF\fHO\fIl\fHy\fIa\fH\\\fHS\fHy\fIk\fHs\fHF\fIa\fH\\\fHR\fH\\\fHn\fHA\fHF\fIa\fH\\\fHR\fHF\fIa\fHH\fHB\fHR\fH^\fHS\fHy\fIg\fHn\fH\\\fHG\fHP\fIa\fHH\fHR\fH\\\fHD\fHS\fH\\\fIa\fHB\fHR\fHO\fH^\fHS\fHB\fHS\fHs\fIk\fHMgfp`qjswjlm!#`lmwfmw>!gl`vnfmw-ol`bwjlm-sqlw-dfwFofnfmwpAzWbdMbnf+?"GL@WZSF#kwno= ?kwno#?nfwb#`kbqpfw>!vwe.;!=9vqo!#`lmwfmw>!kwws9,,-`pp!#qfo>!pwzofpkffw!pwzof#wzsf>!wf{w,`pp!=wzsf>!wf{w,`pp!#kqfe>!t0-lqd,2:::,{kwno!#{nowzsf>!wf{w,ibubp`qjsw!#nfwklg>!dfw!#b`wjlm>!ojmh#qfo>!pwzofpkffw!##>#gl`vnfmw-dfwFofnfmwwzsf>!jnbdf,{.j`lm!#,=`foosbggjmd>!3!#`foops-`pp!#wzsf>!wf{w,`pp!#?,b=?,oj=?oj=?b#kqfe>!!#tjgwk>!2!#kfjdkw>!2!!=?b#kqfe>!kwws9,,ttt-pwzof>!gjpsobz9mlmf8!=bowfqmbwf!#wzsf>!bssoj.,,T0@,,GWG#[KWNO#2-3#foopsb`jmd>!3!#`foosbg#wzsf>!kjggfm!#ubovf>!,b=%maps8?psbm#qlof>!p ?jmsvw#wzsf>!kjggfm!#obmdvbdf>!IbubP`qjsw!##gl`vnfmw-dfwFofnfmwpAd>!3!#`foopsb`jmd>!3!#zsf>!wf{w,`pp!#nfgjb>!wzsf>$wf{w,ibubp`qjsw$tjwk#wkf#f{`fswjlm#le#zsf>!wf{w,`pp!#qfo>!pw#kfjdkw>!2!#tjgwk>!2!#>$(fm`lgfVQJ@lnslmfmw+?ojmh#qfo>!bowfqmbwf!# algz/#wq/#jmsvw/#wf{wnfwb#mbnf>!qlalwp!#`lmnfwklg>!slpw!#b`wjlm>!= ?b#kqfe>!kwws9,,ttt-`pp!#qfo>!pwzofpkffw!#?,gju=?,gju=?gju#`obppobmdvbdf>!ibubp`qjsw!=bqjb.kjggfm>!wqvf!=.[?qjsw!#wzsf>!wf{w,ibubpo>38~*+*8 +evm`wjlm+*xab`hdqlvmg.jnbdf9#vqo+,b=?,oj=?oj=?b#kqfe>!k\n\n?oj=?b#kqfe>!kwws9,,bwlq!#bqjb.kjggfm>!wqv=#?b#kqfe>!kwws9,,ttt-obmdvbdf>!ibubp`qjsw!#,lswjlm= ?lswjlm#ubovf,gju=?,gju=?gju#`obpp>qbwlq!#bqjb.kjggfm>!wqf>+mft#Gbwf*-dfwWjnf+*slqwvdv/Fp#+gl#Aqbpjo*!wf{w,?nfwb#kwws.frvju>!@lmwfqbmpjwjlmbo,,FM!#!kwws9?kwno#{nomp>!kwws9,,ttt.,,T0@,,GWG#[KWNO#2-3#WGWG,{kwno2.wqbmpjwjlmbo,,ttt-t0-lqd,WQ,{kwno2,sf#>#$wf{w,ibubp`qjsw$8?nfwb#mbnf>!gfp`qjswjlmsbqfmwMlgf-jmpfqwAfelqf?jmsvw#wzsf>!kjggfm!#mbip!#wzsf>!wf{w,ibubp`qj+gl`vnfmw*-qfbgz+evm`wjp`qjsw#wzsf>!wf{w,ibubpjnbdf!#`lmwfmw>!kwws9,,VB.@lnsbwjaof!#`lmwfmw>wno8#`kbqpfw>vwe.;!#,= ojmh#qfo>!pklqw`vw#j`lm?ojmh#qfo>!pwzofpkffw!#?,p`qjsw= ?p`qjsw#wzsf>>#gl`vnfmw-`qfbwfFofnfm?b#wbqdfw>!\\aobmh!#kqfe>#gl`vnfmw-dfwFofnfmwpAjmsvw#wzsf>!wf{w!#mbnf>b-wzsf#>#$wf{w,ibubp`qjmsvw#wzsf>!kjggfm!#mbnfkwno8#`kbqpfw>vwe.;!#,=gwg!= ?kwno#{nomp>!kwws.,,T0@,,GWG#KWNO#7-32#WfmwpAzWbdMbnf+$p`qjsw$*jmsvw#wzsf>!kjggfm!#mbn?p`qjsw#wzsf>!wf{w,ibubp!#pwzof>!gjpsobz9mlmf8!=gl`vnfmw-dfwFofnfmwAzJg+>gl`vnfmw-`qfbwfFofnfmw+$#wzsf>$wf{w,ibubp`qjsw$jmsvw#wzsf>!wf{w!#mbnf>!g-dfwFofnfmwpAzWbdMbnf+pmj`bo!#kqfe>!kwws9,,ttt-@,,GWG#KWNO#7-32#Wqbmpjw?pwzof#wzsf>!wf{w,`pp!= ?pwzof#wzsf>!wf{w,`pp!=jlmbo-gwg!= ?kwno#{nomp>kwws.frvju>!@lmwfmw.Wzsfgjmd>!3!#`foopsb`jmd>!3!kwno8#`kbqpfw>vwe.;!#,= #pwzof>!gjpsobz9mlmf8!=??oj=?b#kqfe>!kwws9,,ttt-#wzsf>$wf{w,ibubp`qjsw$=&*&'&^&ˆŸా&ƭ&ƒ&)&^&%&'&‚&P&1&±&3&]&m&u&E&t&C&Ï&V&V&/&>&6&ྲྀ᝼o&p&@&E&M&P&x&@&F&e&Ì&7&:&(&D&0&C&)&.&F&-&1&(&L&F&1ɞ*Ϫ⇳&፲&K&;&)&E&H&P&0&?&9&V&&-&v&a&,&E&)&?&=&'&'&B&മ&ԃ&̖*&*8&%&%&&&%,)&š&>&†&7&]&F&2&>&J&6&n&2&%&?&Ž&2&6&J&g&-&0&,&*&J&*&O&)&6&(&<&B&N&.&P&@&2&.&W&M&%Լ„(,(<&,&Ϛ&ᣇ&-&,(%&(&%&(Ļ0&X&D&&j&'&J&(&.&B&3&Z&R&h&3&E&E&<Æ-͠ỳ&%8?&@&,&Z&@&0&J&,&^&x&_&6&C&6&Cܬ⨥&f&-&-&-&-&,&J&2&8&z&8&C&Y&8&-&d&ṸÌ-&7&1&F&7&t&W&7&I&.&.&^&=ྜ᧓&8(>&/&/&ݻ')'ၥ')'%@/&0&%оী*&*@&CԽהɴ׫4෗ܚӑ6඄&/Ÿ̃Z&*%ɆϿ&Ĵ&1¨ҴŴ",Pp,"AAAAKKLLKKKKKJJIHHIHHGGFF"),Mp(Dp,Pp);function f1(v){this.data=new Int8Array(0),this.offset=0,this.data=v}m(f1,"InputStream");function Hp(v,N,L,X){if(v.input===null)return-1;const W=v.input,ht=Math.min(W.offset+X,W.data.length),yt=ht-W.offset;return N.set(W.data.subarray(W.offset,ht),L),W.offset+=yt,yt}m(Hp,"readInput");function t_(v){v.input=new f1(new Int8Array(0))}m(t_,"closeInput");function e_(v){const N=v.length,L=new Int8Array(N);for(let X=0;X=0)return N;throw v.runningState>=0&&(v.runningState=N),new Error("Brotli error code: "+N)}m(Re,"makeError");function s_(v,N){let L=new Js;if(L.input=new f1(v),w(L),N){let Rt=N.customDictionary;Rt&&b(L,Rt)}let X=0,W=[];for(;;){let Rt=new Int8Array(16384);if(W.push(Rt),L.output=Rt,L.outputOffset=0,L.outputLength=16384,L.outputUsed=0,vt(L),X+=L.outputUsed,L.outputUsed<16384)break}y(L),t_(L);let ht=new Int8Array(X),yt=0;for(let Rt=0;Rt>e,this.codeSize=n-=e,r}getCode(e){const i=this.stream,n=e[0],a=e[1];let r=this.codeSize,o=this.codeBuf,l;for(;r>16,u=c&65535;if(h<1||r>h,this.codeSize=r-h,u}generateHuffmanTable(e){const i=e.length;let n=0,a;for(a=0;an&&(n=e[a]);const r=1<>=1;for(a=d;a>=1,i===0){let h;if((h=a.getByte())===-1){S(this,Fc,S1).call(this,"Bad block header in flate stream");return}let u=h;if((h=a.getByte())===-1){S(this,Fc,S1).call(this,"Bad block header in flate stream");return}if(u|=h<<8,(h=a.getByte())===-1){S(this,Fc,S1).call(this,"Bad block header in flate stream");return}let d=h;if((h=a.getByte())===-1){S(this,Fc,S1).call(this,"Bad block header in flate stream");return}if(d|=h<<8,d!==(~u&65535)&&(u!==0||d!==0))throw new tt("Bad uncompressed block length in flate stream");this.codeBuf=0,this.codeSize=0;const p=this.bufferLength,g=p+u;if(e=this.ensureBuffer(g),this.bufferLength=g,u===0)a.peekByte()===-1&&(this.eof=!0);else{const b=a.getBytes(u);e.set(b,p),b.length0;)y[g++]=q}r=this.generateHuffmanTable(y.subarray(0,h)),o=this.generateHuffmanTable(y.subarray(h,w))}else throw new tt("Unknown block type in flate stream");e=this.buffer;let l=e?e.length:0,c=this.bufferLength;for(;;){let h=this.getCode(r);if(h<256){c+1>=l&&(e=this.ensureBuffer(c+1),l=e.length),e[c++]=h;continue}if(h===256){this.bufferLength=c;return}h-=257,h=fY[h];let u=h>>16;u>0&&(u=this.getBits(u)),n=(h&65535)+u,h=this.getCode(o),h=uY[h],u=h>>16,u>0&&(u=this.getBits(u));const d=(h&65535)+u;c+n>=l&&(e=this.ensureBuffer(c+n),l=e.length);for(let p=0;p>>e&(1<0;if(j<256)p[0]=j,g=1;else if(j>=258)if(j=0;i--)p[i]=l[n],n=h[n];else p[g++]=p[0];else if(j===256){u=9,o=258,g=0;continue}else{this.eof=!0,delete this.lzwState;break}if(k&&(h[o]=d,c[o]=c[d]+1,l[o]=p[0],o++,u=o+r&o+r-1?u:Math.min(Math.log(o+r)/.6931471805599453+1,12)|0),d=j,b+=g,t15))throw new tt(`Unsupported predictor: ${n}`);this.readBlock=n===2?this.readBlockTiff:this.readBlockPng,this.stream=t,this.dict=t.dict;const a=this.colors=i.get("Colors")||1,r=this.bits=i.get("BPC","BitsPerComponent")||8,o=this.columns=i.get("Columns")||1;return this.pixBytes=a*r+7>>3,this.rowBytes=o*a*r+7>>3,this}readBlockTiff(){const t=this.rowBytes,e=this.bufferLength,i=this.ensureBuffer(e+t),n=this.bits,a=this.colors,r=this.stream.getBytes(t);if(this.eof=!r.length,this.eof)return;let o=0,l=0,c=0,h=0,u=e,d;if(n===1&&a===1)for(d=0;d>1,p^=p>>2,p^=p>>4,o=(p&1)<<7,i[u++]=p}else if(n===8){for(d=0;d>8&255,i[u++]=g&255}}else{const p=new Uint8Array(a+1),g=(1<>c-n)&g,c-=n,l=l<=8&&(i[w++]=l>>h-8&255,h-=8);h>0&&(i[w++]=(l<<8-h)+(o&(1<<8-h)-1))}this.bufferLength+=t}readBlockPng(){const t=this.rowBytes,e=this.pixBytes,i=this.stream.getByte(),n=this.stream.getBytes(t);if(this.eof=!n.length,this.eof)return;const a=this.bufferLength,r=this.ensureBuffer(a+t);let o=r.subarray(a-t,a);o.length===0&&(o=new Uint8Array(t));let l,c=a,h,u;switch(i){case 0:for(l=0;l>1)+n[l];for(;l>1)+n[l]&255,c++;break;case 4:for(l=0;l0){const a=this.stream.getBytes(n);e.set(a,i),i+=n}}else n=257-n,e=this.ensureBuffer(i+n+1),e.fill(t[1],i,i+n),i+=n;this.bufferLength=i}};m(PE,"RunLengthStream");let V7=PE;const mY=1e3;function AG(s){const t=[],e=s.length;let i=0;for(;i>")&&this.buf1!==Ci;){if(!(this.buf1 instanceof at)){ne("Malformed dictionary: key must be a name object"),this.shift();continue}const a=this.buf1.name;if(this.shift(),this.buf1===Ci)break;n.set(a,this.getObj(t))}if(this.buf1===Ci){if(this.recoveryMode)return n;throw new Tg("End of file inside dictionary.")}return oi(this.buf2,"stream")?this.allowStreams?this.makeStream(n,t):n:(this.shift(),n);default:return e}if(Number.isInteger(e)){if(Number.isInteger(this.buf1)&&oi(this.buf2,"R")){const i=ft.get(e,this.buf1);return this.shift(),this.shift(),i}return e}return typeof e=="string"&&t?t.decryptString(e):e}findDefaultInlineStreamEnd(t){const{knownCommands:e}=this.lexer,i=t.pos,n=15;let a=0,r,o;for(;(r=t.getByte())!==-1;)if(a===0)a=r===69?1:0;else if(a===1)a=r===73?2:0;else if(r===32||r===10||r===13){o=t.pos;const c=t.peekBytes(n),h=c.length;if(h===0)break;for(let p=0;p127)){a=0;break}if(a!==2)continue;if(!e){H("findDefaultInlineStreamEnd - `lexer.knownCommands` is undefined.");continue}const u=new Aa(new Ne(t.peekBytes(5*n)),e);u._hexStringWarn=()=>{};let d=0;for(;;){const p=u.getObj();if(p===Ci){a=0;break}if(p instanceof Xs){const g=e[p.cmd];if(g){if(g.variableArgs?d<=g.numArgs:d===g.numArgs)break}else{a=0;break}d=0;continue}d++}if(a===2)break}else a=0;r===-1&&(H("findDefaultInlineStreamEnd: Reached the end of the stream without finding a valid EI marker"),o&&(H('... trying to recover by using the last "EI" occurrence.'),t.skip(-(t.pos-o))));let l=4;return t.skip(-l),r=t.peekByte(),t.skip(l),Jn(r)||l--,t.pos-l-i}findDCTDecodeInlineStreamEnd(t){const e=t.pos;let i=!1,n,a;for(;(n=t.getByte())!==-1;)if(n===255){switch(t.getByte()){case 0:break;case 255:t.skip(-1);break;case 217:i=!0;break;case 192:case 193:case 194:case 195:case 197:case 198:case 199:case 201:case 202:case 203:case 205:case 206:case 207:case 196:case 204:case 218:case 219:case 220:case 221:case 222:case 223:case 224:case 225:case 226:case 227:case 228:case 229:case 230:case 231:case 232:case 233:case 234:case 235:case 236:case 237:case 238:case 239:case 254:a=t.getUint16(),a>2?t.skip(a-2):t.skip(-2);break}if(i)break}const r=t.pos-e;return n===-1?(H("Inline DCTDecode image stream: EOI marker not found, searching for /EI/ instead."),t.skip(-r),this.findDefaultInlineStreamEnd(t)):(this.inlineStreamSkipEI(t),r)}findASCII85DecodeInlineStreamEnd(t){const e=t.pos;let i;for(;(i=t.getByte())!==-1;)if(i===126){const a=t.pos;for(i=t.peekByte();Jn(i);)t.skip(),i=t.peekByte();if(i===62){t.skip();break}if(t.pos>a){const r=t.peekBytes(2);if(r[0]===69&&r[1]===73)break}}const n=t.pos-e;return i===-1?(H("Inline ASCII85Decode image stream: EOD marker not found, searching for /EI/ instead."),t.skip(-n),this.findDefaultInlineStreamEnd(t)):(this.inlineStreamSkipEI(t),n)}findASCIIHexDecodeInlineStreamEnd(t){const e=t.pos;let i;for(;(i=t.getByte())!==-1&&i!==62;);const n=t.pos-e;return i===-1?(H("Inline ASCIIHexDecode image stream: EOD marker not found, searching for /EI/ instead."),t.skip(-n),this.findDefaultInlineStreamEnd(t)):(this.inlineStreamSkipEI(t),n)}inlineStreamSkipEI(t){let e=0,i;for(;(i=t.getByte())!==-1;)if(e===0)e=i===69?1:0;else if(e===1)e=i===73?2:0;else if(e===2)break}makeInlineImage(t){const e=this.lexer,i=e.stream,n=Object.create(null);let a;for(;!oi(this.buf1,"ID")&&this.buf1!==Ci;){if(!(this.buf1 instanceof at))throw new tt("Dictionary key must be a name object");const p=this.buf1.name;if(this.shift(),this.buf1===Ci)break;n[p]=this.getObj(t)}e.beginInlineImagePos!==-1&&(a=i.pos-e.beginInlineImagePos);const r=this.xref.fetchIfRef(n.F||n.Filter);let o;if(r instanceof at)o=r.name;else if(Array.isArray(r)){const p=this.xref.fetchIfRef(r[0]);p instanceof at&&(o=p.name)}const l=i.pos;let c;switch(o){case"DCT":case"DCTDecode":c=this.findDCTDecodeInlineStreamEnd(i);break;case"A85":case"ASCII85Decode":c=this.findASCII85DecodeInlineStreamEnd(i);break;case"AHx":case"ASCIIHexDecode":c=this.findASCIIHexDecodeInlineStreamEnd(i);break;default:c=this.findDefaultInlineStreamEnd(i)}let h;if(c0){const p=i.pos;i.pos=e.beginInlineImagePos,h=AG(i.getBytes(a+c)),i.pos=p;const g=this.imageCache[h];if(g!==void 0)return this.buf2=Xs.get("EI"),this.shift(),g.reset(),g}const u=new z(this.xref);for(const p in n)u.set(p,n[p]);let d=i.makeSubStream(l,c,u);return t&&(d=t.createStream(d,c)),d=this.filter(d,u,c),d.dict=u,h!==void 0&&(d.cacheKey=`inline_img_${++this._imageId}`,this.imageCache[h]=d),this.buf2=Xs.get("EI"),this.shift(),d}makeStream(t,e){const i=this.lexer;let n=i.stream;i.skipToNextLine();const a=n.pos-1;let r=t.get("Length");if(Number.isInteger(r)||(ne(`Bad length "${r&&r.toString()}" in stream.`),r=0),n.pos=a+r,i.nextChar(),this.tryShift()&&oi(this.buf2,"endstream"))this.shift();else{if(r=S(this,f4,SG).call(this,a),r<0)throw new tt("Missing endstream command.");i.nextChar(),this.shift(),this.shift()}return this.shift(),n=n.makeSubStream(a,r,t),e&&(n=e.createStream(n,r)),n=this.filter(n,t,r),n.dict=t,n}filter(t,e,i){let n=e.get("F","Filter"),a=e.get("DP","DecodeParms");if(n instanceof at)return Array.isArray(a)&&H("/DecodeParms should not be an Array, when /Filter is a Name."),this.makeFilter(t,n.name,i,a);let r=i;if(Array.isArray(n)){const o=n,l=a;for(let c=0,h=o.length;c=r){let p=!1;for(const g of o){const b=g.length;let w=0;for(;w=l){p=!0;break}if(w>=b){const y=c[u+d+w];Jn(y)&&(ne(`Found "${In([...a,...g])}" when searching for endstream command.`),p=!0);break}}if(p)return e.pos+=u,e.pos-t}u++}e.pos+=h}return-1},m(HE,"Parser");let Io=HE;const w1=[1,0,0,0,0,0,0,0,0,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,2,0,0,2,2,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];function J9(s){return s>=48&&s<=57?s&15:s>=65&&s<=70||s>=97&&s<=102?(s&15)+9:-1}m(J9,"toHexDigit");const OE=class OE{constructor(t,e=null){this.stream=t,this.nextChar(),this.strBuf=[],this.knownCommands=e,this._hexStringNumWarn=0,this.beginInlineImagePos=-1}nextChar(){return this.currentChar=this.stream.getByte()}peekChar(){return this.stream.peekByte()}getNumber(){let t=this.currentChar,e=0,i=1;if(t===45?(i=-1,t=this.nextChar(),t===45&&(t=this.nextChar())):t===43&&(t=this.nextChar()),t===10||t===13)do t=this.nextChar();while(t===10||t===13);if(t===46&&(e=10,t=this.nextChar()),t<48||t>57){const a=`Invalid number: ${String.fromCharCode(t)} (charCode ${t})`;if(Jn(t)||t===40||t===60||t===-1)return ne(`Lexer.getNumber - "${a}".`),0;throw new tt(a)}let n=t-48;for(;(t=this.nextChar())>=0;)if(t>=48&&t<=57){const a=t-48;e!==0&&(e*=10),n=n*10+a}else if(t===46)if(e===0)e=1;else break;else if(t===45)H("Badly formatted number: minus sign in the middle");else break;return e!==0&&(n/=e),i*n}getString(){let t=1,e=!1;const i=this.strBuf;i.length=0;let n=this.nextChar();for(;;){let a=!1;switch(n|0){case-1:H("Unterminated string"),e=!0;break;case 40:++t,i.push("(");break;case 41:--t===0?(this.nextChar(),e=!0):i.push(")");break;case 92:switch(n=this.nextChar(),n){case-1:H("Unterminated string"),e=!0;break;case 110:i.push(` +`);break;case 114:i.push("\r");break;case 116:i.push(" ");break;case 98:i.push("\b");break;case 102:i.push("\f");break;case 92:case 40:case 41:i.push(String.fromCharCode(n));break;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:let r=n&15;n=this.nextChar(),a=!0,n>=48&&n<=55&&(r=(r<<3)+(n&15),n=this.nextChar(),n>=48&&n<=55&&(a=!1,r=(r<<3)+(n&15))),i.push(String.fromCharCode(r));break;case 13:this.peekChar()===10&&this.nextChar();break;case 10:break;default:i.push(String.fromCharCode(n));break}break;default:i.push(String.fromCharCode(n));break}if(e)break;a||(n=this.nextChar())}return i.join("")}getName(){let t,e;const i=this.strBuf;for(i.length=0;(t=this.nextChar())>=0&&!w1[t];)if(t===35){if(t=this.nextChar(),w1[t]){H("Lexer_getName: NUMBER SIGN (#) should be followed by a hexadecimal number."),i.push("#");break}const n=J9(t);if(n!==-1){e=t,t=this.nextChar();const a=J9(t);if(a===-1){if(H(`Lexer_getName: Illegal digit (${String.fromCharCode(t)}) in hexadecimal number.`),i.push("#",String.fromCharCode(e)),w1[t])break;i.push(String.fromCharCode(t));continue}i.push(String.fromCharCode(n<<4|a))}else i.push("#",String.fromCharCode(t))}else i.push(String.fromCharCode(t));return i.length>127&&H(`Name token is longer than allowed by the spec: ${i.length}`),at.get(i.join(""))}_hexStringWarn(t){if(this._hexStringNumWarn++===5){H("getHexString - ignoring additional invalid characters.");return}this._hexStringNumWarn>5||H(`getHexString - ignoring invalid character: ${t}`)}getHexString(){const t=this.strBuf;t.length=0;let e=this.currentChar,i=-1,n=-1;for(this._hexStringNumWarn=0;;)if(e<0){H("Unterminated hex string");break}else if(e===62){this.nextChar();break}else if(w1[e]===1){e=this.nextChar();continue}else n=J9(e),n===-1?this._hexStringWarn(e):i===-1?i=n:(t.push(String.fromCharCode(i<<4|n)),i=-1),e=this.nextChar();return i!==-1&&t.push(String.fromCharCode(i<<4)),t.join("")}getObj(){let t=!1,e=this.currentChar;for(;;){if(e<0)return Ci;if(t)(e===10||e===13)&&(t=!1);else if(e===37)t=!0;else if(w1[e]!==1)break;e=this.nextChar()}switch(e|0){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 43:case 45:case 46:return this.getNumber();case 40:return this.getString();case 47:return this.getName();case 91:return this.nextChar(),Xs.get("[");case 93:return this.nextChar(),Xs.get("]");case 60:return e=this.nextChar(),e===60?(this.nextChar(),Xs.get("<<")):this.getHexString();case 62:return e=this.nextChar(),e===62?(this.nextChar(),Xs.get(">>")):Xs.get(">");case 123:return this.nextChar(),Xs.get("{");case 125:return this.nextChar(),Xs.get("}");case 41:throw this.nextChar(),new tt(`Illegal character: ${e}`)}let i=String.fromCharCode(e);if(e<32||e>127){const r=this.peekChar();if(r>=32&&r<=127)return this.nextChar(),Xs.get(i)}const n=this.knownCommands;let a=(n==null?void 0:n[i])!==void 0;for(;(e=this.nextChar())>=0&&!w1[e];){const r=i+String.fromCharCode(e);if(a&&n[r]===void 0)break;if(i.length===128)throw new tt(`Command token too long: ${i.length}`);i=r,a=(n==null?void 0:n[i])!==void 0}return i==="true"?!0:i==="false"?!1:i==="null"?null:(i==="BI"&&(this.beginInlineImagePos=this.stream.pos),Xs.get(i))}skipToNextLine(){let t=this.currentChar;for(;t>=0;){if(t===13){t=this.nextChar(),t===10&&this.nextChar();break}else if(t===10){this.nextChar();break}t=this.nextChar()}}};m(OE,"Lexer");let Aa=OE;const NE=class NE{static create(t){function e(u,d,p=!1){const g=u.get(d);if(Number.isInteger(g)&&(p?g>=0:g>0))return g;throw new Error(`The "${d}" parameter in the linearization dictionary is invalid.`)}m(e,"getInt");function i(u){const d=u.get("H");let p;if(Array.isArray(d)&&((p=d.length)===2||p===4)){for(let g=0;g0))throw new Error(`Hint (${g}) in the linearization dictionary is invalid.`)}return d}throw new Error("Hint array in the linearization dictionary is invalid.")}m(i,"getHints");const n=new Io({lexer:new Aa(t),xref:null}),a=n.getObj(),r=n.getObj(),o=n.getObj(),l=n.getObj();let c,h;if(Number.isInteger(a)&&Number.isInteger(r)&&oi(o,"obj")&&l instanceof z&&typeof(c=l.get("Linearized"))=="number"&&c>0){if((h=e(l,"L"))!==t.length)throw new Error('The "L" parameter in the linearization dictionary does not equal the stream length.')}else return null;return{length:h,hints:i(l),objectNumberFirst:e(l,"O"),endFirst:e(l,"E"),numPages:e(l,"N"),mainXRefEntriesOffset:e(l,"T"),pageFirst:l.has("P")?e(l,"P",!0):0}}};m(NE,"Linearization");let W7=NE;const gY=["Adobe-GB1-UCS2","Adobe-CNS1-UCS2","Adobe-Japan1-UCS2","Adobe-Korea1-UCS2","78-EUC-H","78-EUC-V","78-H","78-RKSJ-H","78-RKSJ-V","78-V","78ms-RKSJ-H","78ms-RKSJ-V","83pv-RKSJ-H","90ms-RKSJ-H","90ms-RKSJ-V","90msp-RKSJ-H","90msp-RKSJ-V","90pv-RKSJ-H","90pv-RKSJ-V","Add-H","Add-RKSJ-H","Add-RKSJ-V","Add-V","Adobe-CNS1-0","Adobe-CNS1-1","Adobe-CNS1-2","Adobe-CNS1-3","Adobe-CNS1-4","Adobe-CNS1-5","Adobe-CNS1-6","Adobe-GB1-0","Adobe-GB1-1","Adobe-GB1-2","Adobe-GB1-3","Adobe-GB1-4","Adobe-GB1-5","Adobe-Japan1-0","Adobe-Japan1-1","Adobe-Japan1-2","Adobe-Japan1-3","Adobe-Japan1-4","Adobe-Japan1-5","Adobe-Japan1-6","Adobe-Korea1-0","Adobe-Korea1-1","Adobe-Korea1-2","B5-H","B5-V","B5pc-H","B5pc-V","CNS-EUC-H","CNS-EUC-V","CNS1-H","CNS1-V","CNS2-H","CNS2-V","ETHK-B5-H","ETHK-B5-V","ETen-B5-H","ETen-B5-V","ETenms-B5-H","ETenms-B5-V","EUC-H","EUC-V","Ext-H","Ext-RKSJ-H","Ext-RKSJ-V","Ext-V","GB-EUC-H","GB-EUC-V","GB-H","GB-V","GBK-EUC-H","GBK-EUC-V","GBK2K-H","GBK2K-V","GBKp-EUC-H","GBKp-EUC-V","GBT-EUC-H","GBT-EUC-V","GBT-H","GBT-V","GBTpc-EUC-H","GBTpc-EUC-V","GBpc-EUC-H","GBpc-EUC-V","H","HKdla-B5-H","HKdla-B5-V","HKdlb-B5-H","HKdlb-B5-V","HKgccs-B5-H","HKgccs-B5-V","HKm314-B5-H","HKm314-B5-V","HKm471-B5-H","HKm471-B5-V","HKscs-B5-H","HKscs-B5-V","Hankaku","Hiragana","KSC-EUC-H","KSC-EUC-V","KSC-H","KSC-Johab-H","KSC-Johab-V","KSC-V","KSCms-UHC-H","KSCms-UHC-HW-H","KSCms-UHC-HW-V","KSCms-UHC-V","KSCpc-EUC-H","KSCpc-EUC-V","Katakana","NWP-H","NWP-V","RKSJ-H","RKSJ-V","Roman","UniCNS-UCS2-H","UniCNS-UCS2-V","UniCNS-UTF16-H","UniCNS-UTF16-V","UniCNS-UTF32-H","UniCNS-UTF32-V","UniCNS-UTF8-H","UniCNS-UTF8-V","UniGB-UCS2-H","UniGB-UCS2-V","UniGB-UTF16-H","UniGB-UTF16-V","UniGB-UTF32-H","UniGB-UTF32-V","UniGB-UTF8-H","UniGB-UTF8-V","UniJIS-UCS2-H","UniJIS-UCS2-HW-H","UniJIS-UCS2-HW-V","UniJIS-UCS2-V","UniJIS-UTF16-H","UniJIS-UTF16-V","UniJIS-UTF32-H","UniJIS-UTF32-V","UniJIS-UTF8-H","UniJIS-UTF8-V","UniJIS2004-UTF16-H","UniJIS2004-UTF16-V","UniJIS2004-UTF32-H","UniJIS2004-UTF32-V","UniJIS2004-UTF8-H","UniJIS2004-UTF8-V","UniJISPro-UCS2-HW-V","UniJISPro-UCS2-V","UniJISPro-UTF8-V","UniJISX0213-UTF32-H","UniJISX0213-UTF32-V","UniJISX02132004-UTF32-H","UniJISX02132004-UTF32-V","UniKS-UCS2-H","UniKS-UCS2-V","UniKS-UTF16-H","UniKS-UTF16-V","UniKS-UTF32-H","UniKS-UTF32-V","UniKS-UTF8-H","UniKS-UTF8-V","V","WP-Symbol"],$8=2**24-1,LE=class LE{constructor(t=!1){this.codespaceRanges=[[],[],[],[]],this.numCodespaceRanges=0,this._map=[],this.name="",this.vertical=!1,this.useCMap=null,this.builtInCMap=t}addCodespaceRange(t,e,i){this.codespaceRanges[t-1].push(e,i),this.numCodespaceRanges++}mapCidRange(t,e,i){if(e-t>$8)throw new Error("mapCidRange - ignoring data above MAX_MAP_RANGE.");for(;t<=e;)this._map[t++]=i++}mapBfRange(t,e,i){if(e-t>$8)throw new Error("mapBfRange - ignoring data above MAX_MAP_RANGE.");const n=i.length-1;for(;t<=e;){this._map[t++]=i;const a=i.charCodeAt(n)+1;if(a>255){i=i.substring(0,n-1)+String.fromCharCode(i.charCodeAt(n-1)+1)+"\0";continue}i=i.substring(0,n)+String.fromCharCode(a)}}mapBfRangeToArray(t,e,i){if(e-t>$8)throw new Error("mapBfRangeToArray - ignoring data above MAX_MAP_RANGE.");const n=i.length;let a=0;for(;t<=e&&a>>0;const l=a[r];for(let c=0,h=l.length;c=u&&n<=d){i.charcode=n,i.length=r+1;return}}}i.charcode=0,i.length=1}getCharCodeLength(t){const e=this.codespaceRanges;for(let i=0,n=e.length;i=l&&t<=c)return i+1}}return 1}get length(){return this._map.length}get isIdentityCMap(){if(!(this.name==="Identity-H"||this.name==="Identity-V")||this._map.length!==65536)return!1;for(let t=0;t<65536;t++)if(this._map[t]!==t)return!1;return!0}};m(LE,"CMap");let Pg=LE;const zE=class zE extends Pg{constructor(t,e){super(),this.vertical=t,this.addCodespaceRange(e,0,65535)}mapCidRange(t,e,i){oe("should not call mapCidRange")}mapBfRange(t,e,i){oe("should not call mapBfRange")}mapBfRangeToArray(t,e,i){oe("should not call mapBfRangeToArray")}mapOne(t,e){oe("should not call mapCidOne")}lookup(t){return Number.isInteger(t)&&t<=65535?t:void 0}contains(t){return Number.isInteger(t)&&t<=65535}forEach(t){for(let e=0;e<=65535;e++)t(e,e)}charCodeOf(t){return Number.isInteger(t)&&t<=65535?t:-1}getMap(){const t=new Array(65536);for(let e=0;e<=65535;e++)t[e]=e;return t}get length(){return 65536}get isIdentityCMap(){oe("should not access .isIdentityCMap")}};m(zE,"IdentityCMap");let Uu=zE;function Zl(s){let t=0;for(let e=0;e>>0}m(Zl,"strToInt");function Eh(s){if(typeof s!="string")throw new tt("Malformed CMap: expected string.")}m(Eh,"expectString");function _T(s){if(!Number.isInteger(s))throw new tt("Malformed CMap: expected int.")}m(_T,"expectInt");function CG(s,t){for(;;){let e=t.getObj();if(e===Ci)break;if(oi(e,"endbfchar"))return;Eh(e);const i=Zl(e);e=t.getObj(),Eh(e);const n=e;s.mapOne(i,n)}}m(CG,"parseBfChar");function IG(s,t){for(;;){let e=t.getObj();if(e===Ci)break;if(oi(e,"endbfrange"))return;Eh(e);const i=Zl(e);e=t.getObj(),Eh(e);const n=Zl(e);if(e=t.getObj(),Number.isInteger(e)||typeof e=="string"){const a=Number.isInteger(e)?String.fromCharCode(e):e;s.mapBfRange(i,n,a)}else if(oi(e,"[")){e=t.getObj();const a=[];for(;!oi(e,"]")&&e!==Ci;)a.push(e),e=t.getObj();s.mapBfRangeToArray(i,n,a)}else break}throw new tt("Invalid bf range.")}m(IG,"parseBfRange");function TG(s,t){for(;;){let e=t.getObj();if(e===Ci)break;if(oi(e,"endcidchar"))return;Eh(e);const i=Zl(e);e=t.getObj(),_T(e);const n=e;s.mapOne(i,n)}}m(TG,"parseCidChar");function FG(s,t){for(;;){let e=t.getObj();if(e===Ci)break;if(oi(e,"endcidrange"))return;Eh(e);const i=Zl(e);e=t.getObj(),Eh(e);const n=Zl(e);e=t.getObj(),_T(e);const a=e;s.mapCidRange(i,n,a)}}m(FG,"parseCidRange");function EG(s,t){for(;;){let e=t.getObj();if(e===Ci)break;if(oi(e,"endcodespacerange"))return;if(typeof e!="string")break;const i=Zl(e);if(e=t.getObj(),typeof e!="string")break;const n=Zl(e);s.addCodespaceRange(e.length,i,n)}throw new tt("Invalid codespace range.")}m(EG,"parseCodespaceRange");function RG(s,t){const e=t.getObj();Number.isInteger(e)&&(s.vertical=!!e)}m(RG,"parseWMode");function MG(s,t){const e=t.getObj();e instanceof at&&(s.name=e.name)}m(MG,"parseCMapName");async function UT(s,t,e,i){let n,a;t:for(;;)try{const r=t.getObj();if(r===Ci)break;if(r instanceof at)r.name==="WMode"?RG(s,t):r.name==="CMapName"&&MG(s,t),n=r;else if(r instanceof Xs)switch(r.cmd){case"endcmap":break t;case"usecmap":n instanceof at&&(a=n.name);break;case"begincodespacerange":EG(s,t);break;case"beginbfchar":CG(s,t);break;case"begincidchar":TG(s,t);break;case"beginbfrange":IG(s,t);break;case"begincidrange":FG(s,t);break}}catch(r){if(r instanceof $e)throw r;H("Invalid cMap data: "+r);continue}return!i&&a&&(i=a),i?GT(s,e,i):s}m(UT,"parseCMap");async function GT(s,t,e){if(s.useCMap=await m3(e,t),s.numCodespaceRanges===0){const i=s.useCMap.codespaceRanges;for(let n=0;nGT(n,t,r));const a=new Aa(new Ne(e));return UT(n,a,t,null)}m(m3,"createBuiltInCMap");const _E=class _E{static async create({encoding:t,fetchBuiltInCMap:e,useCMap:i}){if(t instanceof at)return m3(t.name,e);if(t instanceof Qt){if(t.isAsync){const a=await t.asyncGetBytes();a&&(t=new Ne(a,0,a.length,t.dict))}const n=await UT(new Pg,new Aa(t),e,i);return n.isIdentityCMap?m3(n.name,e):n}throw new Error("Encoding required.")}};m(_E,"CMapFactory");let Xh=_E;var gf;let x_=(gf=class{},m(gf,"CSS_FONT_INFO"),R(gf,"strings",["fontFamily","fontWeight","italicAngle"]),gf);var bf;let A_=(bf=class{},m(bf,"SYSTEM_FONT_INFO"),R(bf,"strings",["css","loadedName","baseFontName","src"]),bf);var ri;let Dn=(ri=class{},m(ri,"FONT_INFO"),R(ri,"bools",["black","bold","disableFontFace","fontExtraProperties","isInvalidPDFjsFont","isType3Font","italic","missingFile","remeasure","vertical"]),R(ri,"numbers",["ascent","defaultWidth","descent"]),R(ri,"strings",["fallbackName","loadedName","mimetype","name"]),R(ri,"OFFSET_NUMBERS",Math.ceil(ri.bools.length*2/8)),R(ri,"OFFSET_BBOX",ri.OFFSET_NUMBERS+ri.numbers.length*8),R(ri,"OFFSET_FONT_MATRIX",ri.OFFSET_BBOX+1+8),R(ri,"OFFSET_DEFAULT_VMETRICS",ri.OFFSET_FONT_MATRIX+1+48),R(ri,"OFFSET_STRINGS",ri.OFFSET_DEFAULT_VMETRICS+1+6),ri);var Nn;let fc=(Nn=class{},m(Nn,"PATTERN_INFO"),R(Nn,"KIND",0),R(Nn,"HAS_BBOX",1),R(Nn,"HAS_BACKGROUND",2),R(Nn,"SHADING_TYPE",3),R(Nn,"N_COORD",4),R(Nn,"N_COLOR",8),R(Nn,"N_STOP",12),R(Nn,"N_FIGURES",16),Nn);function BG(s){const t=new TextEncoder,e={};let i=0;for(const l of x_.strings){const c=t.encode(s[l]);e[l]=c,i+=4+c.length}const n=new ArrayBuffer(i),a=new Uint8Array(n),r=new DataView(n);let o=0;for(const l of x_.strings){const c=e[l],h=c.length;r.setUint32(o,h),a.set(c,o+4),o+=4+h}return ss(o===n.byteLength,"compileCssFontInfo: Buffer overflow"),n}m(BG,"compileCssFontInfo");function DG(s){const t=new TextEncoder,e={};let i=0;for(const u of A_.strings){const d=t.encode(s[u]);e[u]=d,i+=4+d.length}i+=4;let n,a,r=1+i;s.style&&(n=t.encode(s.style.style),a=t.encode(s.style.weight),r+=4+n.length+4+a.length);const o=new ArrayBuffer(r),l=new Uint8Array(o),c=new DataView(o);let h=0;c.setUint8(h++,s.guessFallback?1:0),c.setUint32(h,0),h+=4,i=0;for(const u of A_.strings){const d=e[u],p=d.length;i+=4+p,c.setUint32(h,p),l.set(d,h+4),h+=4+p}return c.setUint32(h-i-4,i),s.style&&(c.setUint32(h,n.length),l.set(n,h+4),h+=4+n.length,c.setUint32(h,a.length),l.set(a,h+4),h+=4+a.length),ss(h<=o.byteLength,"compileSystemFontInfo: Buffer overflow"),o.transferToFixedLength(h)}m(DG,"compileSystemFontInfo");function PG(s){var g;const t=s.systemFontInfo?DG(s.systemFontInfo):null,e=s.cssFontInfo?BG(s.cssFontInfo):null,i=new TextEncoder,n={};let a=0;for(const b of Dn.strings)n[b]=i.encode(s[b]),a+=4+n[b].length;const r=Dn.OFFSET_STRINGS+4+a+4+((t==null?void 0:t.byteLength)??0)+4+((e==null?void 0:e.byteLength)??0)+4+(((g=s.data)==null?void 0:g.length)??0),o=new ArrayBuffer(r),l=new Uint8Array(o),c=new DataView(o);let h=0;const u=Dn.bools.length;let d=0,p=0;for(let b=0;b=65520&&s<=65535?0:s>=62976&&s<=63743?jY()[s]||s:s===173?45:s}m(LG,"mapSpecialUnicodeValues");function Zu(s,t){let e=t[s];if(e!==void 0)return e;if(!s)return-1;if(s[0]==="u"){const i=s.length;let n;if(i===7&&s[1]==="n"&&s[2]==="i")n=s.substring(3);else if(i>=5&&i<=7)n=s.substring(1);else return-1;if(n===n.toUpperCase()&&(e=parseInt(n,16),e>=0))return e}return-1}m(Zu,"getUnicodeForGlyph");const V8=[[0,127],[128,255],[256,383],[384,591],[592,687,7424,7551,7552,7615],[688,767,42752,42783],[768,879,7616,7679],[880,1023],[11392,11519],[1024,1279,1280,1327,11744,11775,42560,42655],[1328,1423],[1424,1535],[42240,42559],[1536,1791,1872,1919],[1984,2047],[2304,2431],[2432,2559],[2560,2687],[2688,2815],[2816,2943],[2944,3071],[3072,3199],[3200,3327],[3328,3455],[3584,3711],[3712,3839],[4256,4351,11520,11567],[6912,7039],[4352,4607],[7680,7935,11360,11391,42784,43007],[7936,8191],[8192,8303,11776,11903],[8304,8351],[8352,8399],[8400,8447],[8448,8527],[8528,8591],[8592,8703,10224,10239,10496,10623,11008,11263],[8704,8959,10752,11007,10176,10223,10624,10751],[8960,9215],[9216,9279],[9280,9311],[9312,9471],[9472,9599],[9600,9631],[9632,9727],[9728,9983],[9984,10175],[12288,12351],[12352,12447],[12448,12543,12784,12799],[12544,12591,12704,12735],[12592,12687],[43072,43135],[12800,13055],[13056,13311],[44032,55215],[55296,57343],[67840,67871],[19968,40959,11904,12031,12032,12255,12272,12287,13312,19903,131072,173791,12688,12703],[57344,63743],[12736,12783,63744,64255,194560,195103],[64256,64335],[64336,65023],[65056,65071],[65040,65055],[65104,65135],[65136,65279],[65280,65519],[65520,65535],[3840,4095],[1792,1871],[1920,1983],[3456,3583],[4096,4255],[4608,4991,4992,5023,11648,11743],[5024,5119],[5120,5759],[5760,5791],[5792,5887],[6016,6143],[6144,6319],[10240,10495],[40960,42127],[5888,5919,5920,5951,5952,5983,5984,6015],[66304,66351],[66352,66383],[66560,66639],[118784,119039,119040,119295,119296,119375],[119808,120831],[1044480,1048573],[65024,65039,917760,917999],[917504,917631],[6400,6479],[6480,6527],[6528,6623],[6656,6687],[11264,11359],[11568,11647],[19904,19967],[43008,43055],[65536,65663,65664,65791,65792,65855],[65856,65935],[66432,66463],[66464,66527],[66640,66687],[66688,66735],[67584,67647],[68096,68191],[119552,119647],[73728,74751,74752,74879],[119648,119679],[7040,7103],[7168,7247],[7248,7295],[43136,43231],[43264,43311],[43312,43359],[43520,43615],[65936,65999],[66e3,66047],[66208,66271,66176,66207,67872,67903],[127024,127135,126976,127023]];function zG(s,t=-1){if(t!==-1){const e=V8[t];for(let i=0,n=e.length;i=e[i]&&s<=e[i+1])return t}for(let e=0,i=V8.length;e=n[a]&&s<=n[a+1])return e}return-1}m(zG,"getUnicodeRangeFor");const yY=new RegExp("^(\\s)|(\\p{Mn})|(\\p{Cf})$","u"),K7=new Map;function _G(s){const t=K7.get(s);if(t)return t;const e=s.match(yY),i={isWhitespace:!!(e!=null&&e[1]),isZeroWidthDiacritic:!!(e!=null&&e[2]),isInvisibleFormatMark:!!(e!=null&&e[3])};return K7.set(s,i),i}m(_G,"getCharUnicodeCategory");function UG(){K7.clear()}m(UG,"clearUnicodeCaches");const J1=!0,Br={FixedPitch:1,Serif:2,Symbolic:4,Nonsymbolic:32},S_=[".notdef",".null","nonmarkingreturn","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quotesingle","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","grave","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","Adieresis","Aring","Ccedilla","Eacute","Ntilde","Odieresis","Udieresis","aacute","agrave","acircumflex","adieresis","atilde","aring","ccedilla","eacute","egrave","ecircumflex","edieresis","iacute","igrave","icircumflex","idieresis","ntilde","oacute","ograve","ocircumflex","odieresis","otilde","uacute","ugrave","ucircumflex","udieresis","dagger","degree","cent","sterling","section","bullet","paragraph","germandbls","registered","copyright","trademark","acute","dieresis","notequal","AE","Oslash","infinity","plusminus","lessequal","greaterequal","yen","mu","partialdiff","summation","product","pi","integral","ordfeminine","ordmasculine","Omega","ae","oslash","questiondown","exclamdown","logicalnot","radical","florin","approxequal","Delta","guillemotleft","guillemotright","ellipsis","nonbreakingspace","Agrave","Atilde","Otilde","OE","oe","endash","emdash","quotedblleft","quotedblright","quoteleft","quoteright","divide","lozenge","ydieresis","Ydieresis","fraction","currency","guilsinglleft","guilsinglright","fi","fl","daggerdbl","periodcentered","quotesinglbase","quotedblbase","perthousand","Acircumflex","Ecircumflex","Aacute","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Oacute","Ocircumflex","apple","Ograve","Uacute","Ucircumflex","Ugrave","dotlessi","circumflex","tilde","macron","breve","dotaccent","ring","cedilla","hungarumlaut","ogonek","caron","Lslash","lslash","Scaron","scaron","Zcaron","zcaron","brokenbar","Eth","eth","Yacute","yacute","Thorn","thorn","minus","multiply","onesuperior","twosuperior","threesuperior","onehalf","onequarter","threequarters","franc","Gbreve","gbreve","Idotaccent","Scedilla","scedilla","Cacute","cacute","Ccaron","ccaron","dcroat"];function KT(s,t){if(t[s]!==void 0)return s;const e=Zu(s,t);if(e!==-1){for(const i in t)if(t[i]===e)return i}return ne("Unable to recover a standard glyph name for: "+s),s}m(KT,"recoverGlyphName");function XT(s,t,e){const i=Object.create(null);let n,a,r;const o=!!(s.flags&Br.Symbolic);if(s.isInternalFont)for(r=t,a=0;a=0?n:0;else if(s.baseEncodingName)for(r=mp(s.baseEncodingName),a=0;a=0?n:0;else if(o)for(a in t)i[a]=t[a];else for(r=Ul,a=0;a=0?n:0;const l=s.differences;let c;if(l)for(a in l){const h=l[a];if(n=e.indexOf(h),n===-1){c||(c=Eo());const u=KT(h,c);u!==h&&(n=e.indexOf(u))}i[a]=n>=0?n:0}return i}m(XT,"type1FontGlyphMapping");function tc(s){return s.replaceAll(/[,_]/g,"-").replaceAll(/\s/g,"")}m(tc,"normalizeFontName");const vY=ps(s=>{s[8211]=65074,s[8212]=65073,s[8229]=65072,s[8230]=65049,s[12289]=65041,s[12290]=65042,s[12296]=65087,s[12297]=65088,s[12298]=65085,s[12299]=65086,s[12300]=65089,s[12301]=65090,s[12302]=65091,s[12303]=65092,s[12304]=65083,s[12305]=65084,s[12308]=65081,s[12309]=65082,s[12310]=65047,s[12311]=65048,s[65103]=65076,s[65281]=65045,s[65288]=65077,s[65289]=65078,s[65292]=65040,s[65306]=65043,s[65307]=65044,s[65311]=65046,s[65339]=65095,s[65341]=65096,s[65343]=65075,s[65371]=65079,s[65373]=65080}),C_=1e3;function GG({data:s,width:t,height:e}){if(t>C_||e>C_)return null;const i=1e3,n=new Uint8Array([0,2,4,0,1,0,5,4,8,10,0,8,0,2,1,0]),a=t+1,r=new Uint8Array(a*(e+1));let o,l,c;const h=t+7&-8,u=new Uint8Array(h*e);let d=0;for(const I of s){let C=128;for(;C>0;)u[d++]=I&C?0:255,C>>=1}let p=0;for(d=0,u[d]!==0&&(r[0]=1,++p),l=1;l>2)+(u[d+1]?4:0)+(u[d-h+1]?8:0),n[I]&&(r[c+l]=n[I],++p),d++;if(u[d-h]!==u[d]&&(r[c+l]=u[d]?2:4,++p),p>i)return null}for(d=h*(e-1),c=o*a,u[d]!==0&&(r[c]=8,++p),l=1;li)return null;const g=new Int32Array([0,a,-1,0,-a,0,0,0,1]),b=[],{a:w,b:y,c:j,d:k,e:q,f:A}=new DOMMatrix().scaleSelf(1/t,-1/e).translateSelf(0,-e);for(o=0;p&&o<=e;o++){let I=o*a;const C=I+t;for(;I>4,r[I]&=M>>2|M<<2),F=I%a,E=I/a|0,b.push(ts.lineTo,w*F+j*E+q,y*F+k*E+A),r[I]||--p}while(D!==I);--o}return[B.rawFillPath,[new Float32Array(b)],new Float32Array([0,0,t,e])]}m(GG,"compileType3Glyph");const kY=[".notdef","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","endash","dagger","daggerdbl","periodcentered","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","questiondown","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","ring","cedilla","hungarumlaut","ogonek","caron","emdash","AE","ordfeminine","Lslash","Oslash","OE","ordmasculine","ae","dotlessi","lslash","oslash","oe","germandbls","onesuperior","logicalnot","mu","trademark","Eth","onehalf","plusminus","Thorn","onequarter","divide","brokenbar","degree","thorn","threequarters","twosuperior","registered","minus","eth","multiply","threesuperior","copyright","Aacute","Acircumflex","Adieresis","Agrave","Aring","Atilde","Ccedilla","Eacute","Ecircumflex","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Ntilde","Oacute","Ocircumflex","Odieresis","Ograve","Otilde","Scaron","Uacute","Ucircumflex","Udieresis","Ugrave","Yacute","Ydieresis","Zcaron","aacute","acircumflex","adieresis","agrave","aring","atilde","ccedilla","eacute","ecircumflex","edieresis","egrave","iacute","icircumflex","idieresis","igrave","ntilde","oacute","ocircumflex","odieresis","ograve","otilde","scaron","uacute","ucircumflex","udieresis","ugrave","yacute","ydieresis","zcaron"],qY=[".notdef","space","exclamsmall","Hungarumlautsmall","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","questionsmall","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","fi","fl","ffi","ffl","parenleftinferior","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","exclamdownsmall","centoldstyle","Lslashsmall","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","Dotaccentsmall","Macronsmall","figuredash","hypheninferior","Ogoneksmall","Ringsmall","Cedillasmall","onequarter","onehalf","threequarters","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall"],xY=[".notdef","space","dollaroldstyle","dollarsuperior","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","fi","fl","ffi","ffl","parenleftinferior","parenrightinferior","hyphensuperior","colonmonetary","onefitted","rupiah","centoldstyle","figuredash","hypheninferior","onequarter","onehalf","threequarters","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior"],AY=10,Z9=[".notdef","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","endash","dagger","daggerdbl","periodcentered","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","questiondown","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","ring","cedilla","hungarumlaut","ogonek","caron","emdash","AE","ordfeminine","Lslash","Oslash","OE","ordmasculine","ae","dotlessi","lslash","oslash","oe","germandbls","onesuperior","logicalnot","mu","trademark","Eth","onehalf","plusminus","Thorn","onequarter","divide","brokenbar","degree","thorn","threequarters","twosuperior","registered","minus","eth","multiply","threesuperior","copyright","Aacute","Acircumflex","Adieresis","Agrave","Aring","Atilde","Ccedilla","Eacute","Ecircumflex","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Ntilde","Oacute","Ocircumflex","Odieresis","Ograve","Otilde","Scaron","Uacute","Ucircumflex","Udieresis","Ugrave","Yacute","Ydieresis","Zcaron","aacute","acircumflex","adieresis","agrave","aring","atilde","ccedilla","eacute","ecircumflex","edieresis","egrave","iacute","icircumflex","idieresis","igrave","ntilde","oacute","ocircumflex","odieresis","ograve","otilde","scaron","uacute","ucircumflex","udieresis","ugrave","yacute","ydieresis","zcaron","exclamsmall","Hungarumlautsmall","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","commasuperior","threequartersemdash","periodsuperior","questionsmall","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","ffi","ffl","parenleftinferior","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","exclamdownsmall","centoldstyle","Lslashsmall","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","Dotaccentsmall","Macronsmall","figuredash","hypheninferior","Ogoneksmall","Ringsmall","Cedillasmall","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall","001.000","001.001","001.002","001.003","Black","Bold","Book","Light","Medium","Regular","Roman","Semibold"],R9=391,j1=[null,{id:"hstem",min:2,stackClearing:!0,stem:!0},null,{id:"vstem",min:2,stackClearing:!0,stem:!0},{id:"vmoveto",min:1,stackClearing:!0},{id:"rlineto",min:2,resetStack:!0},{id:"hlineto",min:1,resetStack:!0},{id:"vlineto",min:1,resetStack:!0},{id:"rrcurveto",min:6,resetStack:!0},null,{id:"callsubr",min:1},{id:"return",min:0},null,null,{id:"endchar",min:0,stackClearing:!0},null,null,null,{id:"hstemhm",min:2,stackClearing:!0,stem:!0},{id:"hintmask",min:0,stackClearing:!0},{id:"cntrmask",min:0,stackClearing:!0},{id:"rmoveto",min:2,stackClearing:!0},{id:"hmoveto",min:1,stackClearing:!0},{id:"vstemhm",min:2,stackClearing:!0,stem:!0},{id:"rcurveline",min:8,resetStack:!0},{id:"rlinecurve",min:8,resetStack:!0},{id:"vvcurveto",min:4,resetStack:!0},{id:"hhcurveto",min:4,resetStack:!0},null,{id:"callgsubr",min:1},{id:"vhcurveto",min:4,resetStack:!0},{id:"hvcurveto",min:4,resetStack:!0}],SY=[null,null,null,{id:"and",min:2,stackDelta:-1},{id:"or",min:2,stackDelta:-1},{id:"not",min:1,stackDelta:0},null,null,null,{id:"abs",min:1,stackDelta:0},{id:"add",min:2,stackDelta:-1,stackFn(s,t){s[t-2]=s[t-2]+s[t-1]}},{id:"sub",min:2,stackDelta:-1,stackFn(s,t){s[t-2]=s[t-2]-s[t-1]}},{id:"div",min:2,stackDelta:-1,stackFn(s,t){s[t-2]=s[t-2]/s[t-1]}},null,{id:"neg",min:1,stackDelta:0,stackFn(s,t){s[t-1]=-s[t-1]}},{id:"eq",min:2,stackDelta:-1},null,null,{id:"drop",min:1,stackDelta:-1},null,{id:"put",min:2,stackDelta:-2},{id:"get",min:1,stackDelta:0},{id:"ifelse",min:4,stackDelta:-3},{id:"random",min:0,stackDelta:1},{id:"mul",min:2,stackDelta:-1,stackFn(s,t){s[t-2]=s[t-2]*s[t-1]}},null,{id:"sqrt",min:1,stackDelta:0},{id:"dup",min:1,stackDelta:1},{id:"exch",min:2,stackDelta:0},{id:"index",min:2,stackDelta:0},{id:"roll",min:3,stackDelta:-2},null,null,null,{id:"hflex",min:7,resetStack:!0},{id:"flex",min:13,resetStack:!0},{id:"hflex1",min:9,resetStack:!0},{id:"flex1",min:11,resetStack:!0}],UE=class UE{constructor(t,e,i){this.bytes=t.getBytes(),this.properties=e,this.seacAnalysisEnabled=!!i}parse(){const t=this.properties,e=new g3;this.cff=e;const i=this.parseHeader(),n=this.parseIndex(i.endPos),a=this.parseIndex(n.endPos),r=this.parseIndex(a.endPos),o=this.parseIndex(r.endPos),l=this.parseDict(a.obj.get(0)),c=this.createDict(Lg,l,e.strings);e.header=i.obj,e.names=this.parseNameIndex(n.obj),e.strings=this.parseStringIndex(r.obj),e.topDict=c,e.globalSubrIndex=o.obj,this.parsePrivateDict(e.topDict),e.isCIDFont=c.hasName("ROS");const h=c.getByName("CharStrings"),u=this.parseIndex(h).obj;e.charStringCount=u.count;const d=c.getByName("FontMatrix");d&&(t.fontMatrix=d);const p=c.getByName("FontBBox");p&&(t.ascent=Math.max(p[3],p[1]),t.descent=Math.min(p[1],p[3]),t.ascentScaled=!0);let g,b;if(e.isCIDFont){const y=this.parseIndex(c.getByName("FDArray")).obj;for(let j=0,k=y.count;j=e)throw new tt("Invalid CFF header");i!==0&&(ne("cff data is shifted"),t=t.subarray(i),this.bytes=t);const n=t[0],a=t[1],r=t[2],o=t[3];return{obj:new b3(n,a,r,o),endPos:r}}parseDict(t){let e=0;function i(){let l=t[e++];return l===30?n():l===28?(l=Fo(t,e),e+=2,l):l===29?(l=t[e++],l=l<<8|t[e++],l=l<<8|t[e++],l=l<<8|t[e++],l):l>=32&&l<=246?l-139:l>=247&&l<=250?(l-247)*256+t[e++]+108:l>=251&&l<=254?-((l-251)*256)-t[e++]-108:(H('CFFParser_parseDict: "'+l+'" is a reserved command.'),NaN)}m(i,"parseOperand");function n(){let l="";const c=["0","1","2","3","4","5","6","7","8","9",".","E","E-",null,"-"],h=t.length;for(;e>4,p=u&15;if(d===15||(l+=c[d],p===15))break;l+=c[p]}return parseFloat(l)}m(n,"parseFloatOperand");let a=[];const r=[];e=0;const o=t.length;for(;eAY)return!1;let a=t.stackSize;const r=t.stack;let o=e.length;for(let l=0;l=4&&(a-=4,this.seacAnalysisEnabled))return t.seac=r.slice(a,a+4),!1;h=j1[c]}else if(c>=32&&c<=246)r[a]=c-139,a++;else if(c>=247&&c<=254)r[a]=c<251?(c-247<<8)+e[l]+108:-(c-251<<8)-e[l]-108,l++,a++;else if(c===255)r[a]=(e[l]<<24|e[l+1]<<16|e[l+2]<<8|e[l+3])/65536,l+=4,a++;else if(c===19||c===20){if(t.hints+=a>>1,t.hints===0){e.copyWithin(l-1,l,-1),l-=1,o-=1;continue}l+=t.hints+7>>3,a%=2,h=j1[c]}else if(c===10||c===29){const u=c===10?i:n;if(!u)return h=j1[c],H("Missing subrsIndex for "+h.id),!1;let d=32768;u.count<1240?d=107:u.count<33900&&(d=1131);const p=r[--a]+d;if(p<0||p>=u.count||isNaN(p))return h=j1[c],H("Out of bounds subrIndex for "+h.id),!1;if(t.stackSize=a,t.callDepth++,!this.parseCharString(t,u.get(p),i,n))return!1;t.callDepth--,a=t.stackSize;continue}else{if(c===11)return t.stackSize=a,!0;if(c===0&&l===e.length)e[l-1]=14,h=j1[14];else if(c===9){e.copyWithin(l-1,l,-1),l-=1,o-=1;continue}else h=j1[c]}if(h){if(h.stem&&(t.hints+=a>>1,c===3||c===23?t.hasVStems=!0:t.hasVStems&&(c===1||c===18)&&(H("CFF stem hints are in wrong order"),e[l-1]=c===1?3:23)),a=2&&h.stem?a%=2:a>1&&H("Found too many parameters for stack-clearing command"),a>0&&(t.width=r[a-1])),"stackDelta"in h?("stackFn"in h&&h.stackFn(r,a),a+=h.stackDelta):(h.stackClearing||h.resetStack)&&(a=0)}}return o=a.length&&(H("Invalid fd index for glyph index."),p=!1),p&&(b=a[w].privateDict,g=b.subrsIndex)}else e&&(g=e);if(p&&(p=this.parseCharString(d,u,g,i)),d.width!==null){const w=b.getByName("nominalWidthX");l[h]=w+d.width}else{const w=b.getByName("defaultWidthX");l[h]=w}d.seac!==null&&(o[h]=d.seac),p||t.set(h,new Uint8Array([14]))}return{charStrings:t,seacs:o,widths:l}}emptyPrivateDictionary(t){const e=this.createDict(zg,[],t.strings);t.setByKey(18,[0,0]),t.privateDict=e}parsePrivateDict(t){if(!t.hasName("Private")){this.emptyPrivateDictionary(t);return}const e=t.getByName("Private");if(!Array.isArray(e)||e.length!==2){t.removeByName("Private");return}const i=e[0],n=e[1];if(i===0||n>=this.bytes.length){this.emptyPrivateDictionary(t);return}const a=n+i,r=this.bytes.subarray(n,a),o=this.parseDict(r),l=this.createDict(zg,o,t.strings);if(t.privateDict=l,l.getByName("ExpansionFactor")===0&&l.setByName("ExpansionFactor",.06),!l.getByName("Subrs"))return;const c=l.getByName("Subrs"),h=n+c;if(c===0||h>=this.bytes.length){this.emptyPrivateDictionary(t);return}const u=this.parseIndex(h);l.subrsIndex=u.obj}parseCharsets(t,e,i,n){if(t===0)return new ff(!0,W8.ISO_ADOBE,kY);if(t===1)return new ff(!0,W8.EXPERT,qY);if(t===2)return new ff(!0,W8.EXPERT_SUBSET,xY);const a=this.bytes,r=t,o=a[t++],l=[n?0:".notdef"];let c,h,u;switch(e-=1,o){case 0:for(u=0;u=65535){H("Not enough space in charstrings to duplicate first glyph.");return}const t=this.charStrings.get(0);this.charStrings.add(t),this.isCIDFont&&this.fdSelect.fdSelect.push(this.fdSelect.fdSelect[0])}hasGlyphId(t){return t<0||t>=this.charStrings.count?!1:this.charStrings.get(t).length>0}};m(GE,"CFF");let g3=GE;const $E=class $E{constructor(t,e,i,n){this.major=t,this.minor=e,this.hdrSize=i,this.offSize=n}};m($E,"CFFHeader");let b3=$E;const VE=class VE{constructor(){R(this,"strings",[])}get(t){return t>=0&&t<=R9-1?Z9[t]:t-R9<=this.strings.length?this.strings[t-R9]:Z9[0]}getSID(t){let e=Z9.indexOf(t);return e!==-1?e:(e=this.strings.indexOf(t),e!==-1?e+R9:-1)}add(t){this.strings.push(t)}get count(){return this.strings.length}};m(VE,"CFFStrings");let Ng=VE;const WE=class WE{constructor(){R(this,"objects",[]);R(this,"length",0)}add(t){this.length+=t.length,this.objects.push(t)}set(t,e){this.length+=e.length-this.objects[t].length,this.objects[t]=e}get(t){return this.objects[t]}get count(){return this.objects.length}};m(WE,"CFFIndex");let Bo=WE;const KE=class KE{constructor(t,e){this.keyToNameMap=t.keyToNameMap,this.nameToKeyMap=t.nameToKeyMap,this.defaults=t.defaults,this.types=t.types,this.opcodes=t.opcodes,this.order=t.order,this.strings=e,this.values=Object.create(null)}setByKey(t,e){if(!(t in this.keyToNameMap))return!1;if(e.length===0)return!0;for(const n of e)if(isNaN(n))return H(`Invalid CFFDict value: "${e}" for key "${t}".`),!0;const i=this.types[t];return(i==="num"||i==="sid"||i==="offset")&&(e=e[0]),this.values[t]=e,!0}setByName(t,e){if(!(t in this.nameToKeyMap))throw new tt(`Invalid dictionary name "${t}"`);this.values[this.nameToKeyMap[t]]=e}hasName(t){return this.nameToKeyMap[t]in this.values}getByName(t){if(!(t in this.nameToKeyMap))throw new tt(`Invalid dictionary name ${t}"`);const e=this.nameToKeyMap[t];return e in this.values?this.values[e]:this.defaults[e]}removeByName(t){delete this.values[this.nameToKeyMap[t]]}static createTables(t){const e={keyToNameMap:{},nameToKeyMap:{},defaults:{},types:{},opcodes:{},order:[]};for(const i of t){const n=Array.isArray(i[0])?(i[0][0]<<8)+i[0][1]:i[0];e.keyToNameMap[n]=i[1],e.nameToKeyMap[i[1]]=n,e.types[n]=i[2],e.defaults[n]=i[3],e.opcodes[n]=Array.isArray(i[0])?i[0]:[i[0]],e.order.push(n)}return e}};m(KE,"CFFDict");let w3=KE;const CY=[[[12,30],"ROS",["sid","sid","num"],null],[[12,20],"SyntheticBase","num",null],[0,"version","sid",null],[1,"Notice","sid",null],[[12,0],"Copyright","sid",null],[2,"FullName","sid",null],[3,"FamilyName","sid",null],[4,"Weight","sid",null],[[12,1],"isFixedPitch","num",0],[[12,2],"ItalicAngle","num",0],[[12,3],"UnderlinePosition","num",-100],[[12,4],"UnderlineThickness","num",50],[[12,5],"PaintType","num",0],[[12,6],"CharstringType","num",2],[[12,7],"FontMatrix",["num","num","num","num","num","num"],[.001,0,0,.001,0,0]],[13,"UniqueID","num",null],[5,"FontBBox",["num","num","num","num"],[0,0,0,0]],[[12,8],"StrokeWidth","num",0],[14,"XUID","array",null],[15,"charset","offset",0],[16,"Encoding","offset",0],[17,"CharStrings","offset",0],[18,"Private",["offset","offset"],null],[[12,21],"PostScript","sid",null],[[12,22],"BaseFontName","sid",null],[[12,23],"BaseFontBlend","delta",null],[[12,31],"CIDFontVersion","num",0],[[12,32],"CIDFontRevision","num",0],[[12,33],"CIDFontType","num",0],[[12,34],"CIDCount","num",8720],[[12,35],"UIDBase","num",null],[[12,37],"FDSelect","offset",null],[[12,36],"FDArray","offset",null],[[12,38],"FontName","sid",null]],u4=class u4 extends w3{static get tables(){return mt(this,"tables",this.createTables(CY))}constructor(t){super(u4.tables,t),this.privateDict=null}};m(u4,"CFFTopDict");let Lg=u4;const IY=[[6,"BlueValues","delta",null],[7,"OtherBlues","delta",null],[8,"FamilyBlues","delta",null],[9,"FamilyOtherBlues","delta",null],[[12,9],"BlueScale","num",.039625],[[12,10],"BlueShift","num",7],[[12,11],"BlueFuzz","num",1],[10,"StdHW","num",null],[11,"StdVW","num",null],[[12,12],"StemSnapH","delta",null],[[12,13],"StemSnapV","delta",null],[[12,14],"ForceBold","num",0],[[12,17],"LanguageGroup","num",0],[[12,18],"ExpansionFactor","num",.06],[[12,19],"initialRandomSeed","num",0],[20,"defaultWidthX","num",0],[21,"nominalWidthX","num",0],[19,"Subrs","offset",null]],d4=class d4 extends w3{static get tables(){return mt(this,"tables",this.createTables(IY))}constructor(t){super(d4.tables,t),this.subrsIndex=null}};m(d4,"CFFPrivateDict");let zg=d4;const W8={ISO_ADOBE:0,EXPERT:1,EXPERT_SUBSET:2},XE=class XE{constructor(t,e,i,n){this.predefined=t,this.format=e,this.charset=i,this.raw=n}};m(XE,"CFFCharset");let ff=XE;const YE=class YE{constructor(t,e,i,n){this.predefined=t,this.format=e,this.encoding=i,this.raw=n}};m(YE,"CFFEncoding");let X7=YE;const QE=class QE{constructor(t,e){this.format=t,this.fdSelect=e}getFDIndex(t){return t<0||t>=this.fdSelect.length?-1:this.fdSelect[t]}};m(QE,"CFFFDSelect");let Y7=QE;const JE=class JE{constructor(){R(this,"offsets",Object.create(null))}isTracking(t){return t in this.offsets}track(t,e){if(t in this.offsets)throw new tt(`Already tracking location of ${t}`);this.offsets[t]=e}offset(t){for(const e in this.offsets)this.offsets[e]+=t}setEntryLocation(t,e,i){if(!(t in this.offsets))throw new tt(`Not tracking location of ${t}`);const n=i.data,a=this.offsets[t],r=5;for(let o=0,l=e.length;o>24&255,n[u]=g>>16&255,n[d]=g>>8&255,n[p]=g&255}}};m(JE,"CFFOffsetTracker");let j3=JE;const p4=class p4{constructor(t){this.cff=t}compile(){var u;const t=this.cff,e={data:[],length:0,add(d){try{this.data.push(...d)}catch{this.data=this.data.concat(d)}this.length=this.data.length}},i=this.compileHeader(t.header);e.add(i);const n=this.compileNameIndex(t.names);if(e.add(n),t.isCIDFont&&t.topDict.hasName("FontMatrix")){const d=t.topDict.getByName("FontMatrix");t.topDict.removeByName("FontMatrix");for(const p of t.fdArray){let g=d.slice(0);p.hasName("FontMatrix")&&(g=Te.transform(g,p.getByName("FontMatrix"))),p.setByName("FontMatrix",g)}}((u=t.topDict.getByName("XUID"))==null?void 0:u.length)>16&&t.topDict.removeByName("XUID"),t.topDict.setByName("charset",0);let a=this.compileTopDicts([t.topDict],e.length,t.isCIDFont);e.add(a.output);const r=a.trackers[0],o=this.compileStringIndex(t.strings.strings);e.add(o);const l=this.compileIndex(t.globalSubrIndex);if(e.add(l),t.encoding&&t.topDict.hasName("Encoding"))if(t.encoding.predefined)r.setEntryLocation("Encoding",[t.encoding.format],e);else{const d=this.compileEncoding(t.encoding);r.setEntryLocation("Encoding",[e.length],e),e.add(d)}const c=this.compileCharset(t.charset,t.charStrings.count,t.strings,t.isCIDFont);r.setEntryLocation("charset",[e.length],e),e.add(c);const h=this.compileCharStrings(t.charStrings);if(r.setEntryLocation("CharStrings",[e.length],e),e.add(h),t.isCIDFont){r.setEntryLocation("FDSelect",[e.length],e);const d=this.compileFDSelect(t.fdSelect);e.add(d),a=this.compileTopDicts(t.fdArray,e.length,!0),r.setEntryLocation("FDArray",[e.length],e),e.add(a.output);const p=a.trackers;this.compilePrivateDicts(t.fdArray,p,e)}return this.compilePrivateDicts([t.topDict],[r],e),e.add([0]),e.data}encodeNumber(t){return Number.isInteger(t)?this.encodeInteger(t):this.encodeFloat(t)}static get EncodeFloatRegExp(){return mt(this,"EncodeFloatRegExp",/\.(\d*?)(?:9{5,20}|0{5,20})\d{0,2}(?:e(.+)|$)/)}encodeFloat(t){let e=t.toString();const i=p4.EncodeFloatRegExp.exec(e);if(i){const l=parseFloat("1e"+((i[2]?+i[2]:0)+i[1].length));e=(Math.round(t*l)/l).toString()}let n="",a,r;for(a=0,r=e.length;a=-107&&t<=107?e=[t+139]:t>=108&&t<=1131?(t-=108,e=[(t>>8)+247,t&255]):t>=-1131&&t<=-108?(t=-t-108,e=[(t>>8)+251,t&255]):t>=-32768&&t<=32767?e=[28,t>>8&255,t&255]:e=[29,t>>24&255,t>>16&255,t>>8&255,t&255],e}compileHeader(t){return[t.major,t.minor,4,t.offSize]}compileNameIndex(t){const e=new Bo;for(const i of t){const n=Math.min(i.length,127);let a=new Array(n);for(let r=0;r"~"||o==="["||o==="]"||o==="("||o===")"||o==="{"||o==="}"||o==="<"||o===">"||o==="/"||o==="%")&&(o="_"),a[r]=o}a=a.join(""),a===""&&(a="Bad_Font_Name"),e.add(Ki(a))}return this.compileIndex(e)}compileTopDicts(t,e,i){const n=[];let a=new Bo;for(const r of t){i&&(r.removeByName("CIDFontVersion"),r.removeByName("CIDFontRevision"),r.removeByName("CIDFontType"),r.removeByName("CIDCount"),r.removeByName("UIDBase"));const o=new j3,l=this.compileDict(r,o);n.push(o),a.add(l),o.offset(e)}return a=this.compileIndex(a,n),{trackers:n,output:a}}compilePrivateDicts(t,e,i){for(let n=0,a=t.length;n>8&255,o&255])}else{const o=1+r*2;a=new Uint8Array(o),a[0]=0;let l=0;const c=t.charset.length;let h=!1;for(let u=1;u>8&255,a[u+1]=d&255}}return this.compileTypedArray(a)}compileEncoding(t){return this.compileTypedArray(t.raw)}compileFDSelect(t){const e=t.format;let i,n;switch(e){case 0:for(i=new Uint8Array(1+t.fdSelect.length),i[0]=e,n=0;n>8&255,a&255,r];for(n=1;n>8&255,n&255,c),r=c)}const l=(o.length-3)/3;o[1]=l>>8&255,o[2]=l&255,o.push(n>>8&255,n&255),i=new Uint8Array(o);break}return this.compileTypedArray(i)}compileTypedArray(t){return Array.from(t)}compileIndex(t,e=[]){const i=t.objects,n=i.length;if(n===0)return[0,0];const a=[n>>8&255,n&255];let r=1,o;for(o=0;o>8&255,c&255):l===3?a.push(c>>16&255,c>>8&255,c&255):a.push(c>>>24&255,c>>16&255,c>>8&255,c&255),i[o]&&(c+=i[o].length);for(o=0;o=this.firstChar&&t<=this.lastChar?t:-1}amend(t){oe("Should not call amend()")}};m(tR,"IdentityToUnicodeMap");let Kn=tR;const eR=class eR{constructor(t,e){this.properties=e;const i=new Og(t,e,J1);this.cff=i.parse(),this.cff.duplicateFirstGlyph();const n=new _g(this.cff);this.seacs=this.cff.seacs;try{this.data=n.compile()}catch{H("Failed to compile font "+e.loadedName),this.data=t}this._createBuiltInEncoding()}get numGlyphs(){return this.cff.charStrings.count}getCharset(){return this.cff.charset.charset}getGlyphMapping(){const t=this.cff,e=this.properties,{cidToGidMap:i,cMap:n}=e,a=t.charset.charset;let r,o;if(e.composite){let c;if((i==null?void 0:i.length)>0){c=Object.create(null);for(let u=0,d=i.length;u=0){const l=i[o];l&&(a[r]=l)}}a.length>0&&(this.properties.builtInEncoding=a)}};m(eR,"CFFFont");let Lm=eR;function mc(s,t){return Fo(s,t)/16384}m(mc,"getFloat214");function y3(s){const t=s.length;let e=32768;return t<1240?e=107:t<33900&&(e=1131),e}m(y3,"getSubroutineBias");function $G(s,t,e){const i=fe(s,t+2)===1?Pe(s,t+8):Pe(s,t+16),n=fe(s,t+i);let a,r,o;if(n===4){fe(s,t+i+2);const l=fe(s,t+i+6)>>1;for(r=t+i+14,a=[],o=0;o2*fe(o,l),"itemDecode"));const a=[];let r=n(t,0);for(let o=i;o>1;e0;)y.push({flags:l})}for(p=0;p>1,w=!0;break;case 3:h+=o.length>>1,w=!0;break;case 4:c+=o.pop(),n(l,c),w=!0;break;case 5:for(;o.length>0;)l+=o.shift(),c+=o.shift(),a(l,c);break;case 6:for(;o.length>0&&(l+=o.shift(),a(l,c),o.length!==0);)c+=o.shift(),a(l,c);break;case 7:for(;o.length>0&&(c+=o.shift(),a(l,c),o.length!==0);)l+=o.shift(),a(l,c);break;case 8:for(;o.length>0;)j=l+o.shift(),q=c+o.shift(),k=j+o.shift(),A=q+o.shift(),l=k+o.shift(),c=A+o.shift(),r(j,q,k,A,l,c);break;case 10:if(E=o.pop(),D=null,e.isCFFCIDFont){const M=e.fdSelect.getFDIndex(i);if(M>=0&&MMath.abs(c-_)?l+=o.shift():c+=o.shift(),r(j,q,k,A,l,c);break;default:throw new tt(`unknown operator: 12 ${y}`)}break;case 14:if(o.length>=4){const M=o.pop(),_=o.pop();c=o.pop(),l=o.pop(),t.save(),t.translate(l,c);let G=Gg(e.cmap,String.fromCharCode(e.glyphNameMap[Ul[M]]));v3(e.glyphs[G.glyphId],t,e,G.glyphId),t.restore(),G=Gg(e.cmap,String.fromCharCode(e.glyphNameMap[Ul[_]])),v3(e.glyphs[G.glyphId],t,e,G.glyphId)}return;case 18:h+=o.length>>1,w=!0;break;case 19:h+=o.length>>1,g+=h+7>>3,w=!0;break;case 20:h+=o.length>>1,g+=h+7>>3,w=!0;break;case 21:c+=o.pop(),l+=o.pop(),n(l,c),w=!0;break;case 22:l+=o.pop(),n(l,c),w=!0;break;case 23:h+=o.length>>1,w=!0;break;case 24:for(;o.length>2;)j=l+o.shift(),q=c+o.shift(),k=j+o.shift(),A=q+o.shift(),l=k+o.shift(),c=A+o.shift(),r(j,q,k,A,l,c);l+=o.shift(),c+=o.shift(),a(l,c);break;case 25:for(;o.length>6;)l+=o.shift(),c+=o.shift(),a(l,c);j=l+o.shift(),q=c+o.shift(),k=j+o.shift(),A=q+o.shift(),l=k+o.shift(),c=A+o.shift(),r(j,q,k,A,l,c);break;case 26:for(o.length%2&&(l+=o.shift());o.length>0;)j=l,q=c+o.shift(),k=j+o.shift(),A=q+o.shift(),l=k,c=A+o.shift(),r(j,q,k,A,l,c);break;case 27:for(o.length%2&&(c+=o.shift());o.length>0;)j=l+o.shift(),q=c,k=j+o.shift(),A=q+o.shift(),l=k+o.shift(),c=A,r(j,q,k,A,l,c);break;case 28:o.push(Fo(p,g)),g+=2;break;case 29:E=o.pop()+e.gsubrsBias,D=e.gsubrs[E],D&&d(D);break;case 30:for(;o.length>0&&(j=l,q=c+o.shift(),k=j+o.shift(),A=q+o.shift(),l=k+o.shift(),c=A+(o.length===1?o.shift():0),r(j,q,k,A,l,c),o.length!==0);)j=l+o.shift(),q=c,k=j+o.shift(),A=q+o.shift(),c=A+o.shift(),l=k+(o.length===1?o.shift():0),r(j,q,k,A,l,c);break;case 31:for(;o.length>0&&(j=l+o.shift(),q=c,k=j+o.shift(),A=q+o.shift(),c=A+o.shift(),l=k+(o.length===1?o.shift():0),r(j,q,k,A,l,c),o.length!==0);)j=l,q=c+o.shift(),k=j+o.shift(),A=q+o.shift(),l=k+o.shift(),c=A+(o.length===1?o.shift():0),r(j,q,k,A,l,c);break;default:if(y<32)throw new tt(`unknown operator: ${y}`);y<247?o.push(y-139):y<251?o.push((y-247)*256+p[g++]+108):y<255?o.push(-(y-251)*256-p[g++]-108):(o.push((p[g]<<24|p[g+1]<<16|p[g+2]<<8|p[g+3])/65536),g+=4);break}w&&(o.length=0)}}m(d,"parse"),d(s)}m(v3,"compileCharString");const sR=class sR{constructor(){R(this,"cmds",[]);R(this,"transformStack",[]);R(this,"currentTransform",[1,0,0,1,0,0])}add(t,e){if(e){const{currentTransform:i}=this;for(let n=0,a=e.length;n=0&&at.getSize()+3&-4))}write(){const t=this.getSize(),e=new DataView(new ArrayBuffer(t)),i=t>131070,n=i?4:2,a=new DataView(new ArrayBuffer((this.glyphs.length+1)*n));i?a.setUint32(0,0):a.setUint16(0,0);let r=0,o=0;for(const l of this.glyphs)r+=l.write(r,e),r=r+3&-4,o+=n,i?a.setUint32(o,r):a.setUint16(o,r>>1);return{isLocationLong:i,loca:new Uint8Array(a.buffer),glyf:new Uint8Array(e.buffer)}}scale(t){for(let e=0,i=this.glyphs.length;ee.getSize()));return this.header.getSize()+t}write(t,e){if(!this.header)return 0;const i=t;if(t+=this.header.write(t,e),this.simple)t+=this.simple.write(t,e);else for(const n of this.composites)t+=n.write(t,e);return t-i}scale(t){if(!this.header)return;const e=(this.header.xMin+this.header.xMax)/2;if(this.header.scale(e,t),this.simple)this.simple.scale(e,t);else for(const i of this.composites)i.scale(e,t)}};m(rg,"Glyph");let q3=rg;const m4=class m4{constructor({numberOfContours:t,xMin:e,yMin:i,xMax:n,yMax:a}){this.numberOfContours=t,this.xMin=e,this.yMin=i,this.xMax=n,this.yMax=a}static parse(t,e){return[10,new m4({numberOfContours:e.getInt16(t),xMin:e.getInt16(t+2),yMin:e.getInt16(t+4),xMax:e.getInt16(t+6),yMax:e.getInt16(t+8)})]}getSize(){return 10}write(t,e){return e.setInt16(t,this.numberOfContours),e.setInt16(t+2,this.xMin),e.setInt16(t+4,this.yMin),e.setInt16(t+6,this.xMax),e.setInt16(t+8,this.yMax),10}scale(t,e){this.xMin=Math.round(t+(this.xMin-t)*e),this.xMax=Math.round(t+(this.xMax-t)*e)}};m(m4,"GlyphHeader");let rj=m4;const oR=class oR{constructor({flags:t,xCoordinates:e,yCoordinates:i}){this.xCoordinates=e,this.yCoordinates=i,this.flags=t}};m(oR,"Contour");let oj=oR;const g4=class g4{constructor({contours:t,instructions:e}){this.contours=t,this.instructions=e}static parse(t,e,i){const n=[];for(let w=0;w255?t+=2:c>0&&(t+=1),e=o,c=Math.abs(l-i),c>255?t+=2:c>0&&(t+=1),i=l}}return t}write(t,e){const i=t,n=[],a=[],r=[];let o=0,l=0;for(const c of this.contours){for(let h=0,u=c.xCoordinates.length;h=0?M9|Np:M9,n.push(w)):n.push(g)}o=p;const b=c.yCoordinates[h];if(g=b-l,g===0)d|=Lp,a.push(0);else{const w=Math.abs(g);w<=255?(d|=g>=0?B9|Lp:B9,a.push(w)):a.push(g)}l=b,r.push(d)}e.setUint16(t,n.length-1),t+=2}e.setUint16(t,this.instructions.length),t+=2,this.instructions.length&&(new Uint8Array(e.buffer,0,e.buffer.byteLength).set(this.instructions,t),t+=this.instructions.length);for(const c of r)e.setUint8(t++,c);for(let c=0,h=n.length;c=-128&&this.argument1<=127&&this.argument2>=-128&&this.argument2<=127||(t+=2):this.argument1>=0&&this.argument1<=255&&this.argument2>=0&&this.argument2<=255||(t+=2),t}write(t,e){const i=t;return this.flags&D9?this.argument1>=-128&&this.argument1<=127&&this.argument2>=-128&&this.argument2<=127||(this.flags|=zp):this.argument1>=0&&this.argument1<=255&&this.argument2>=0&&this.argument2<=255||(this.flags|=zp),e.setUint16(t,this.flags),e.setUint16(t+2,this.glyphIndex),t+=4,this.flags&zp?(this.flags&D9?(e.setInt16(t,this.argument1),e.setInt16(t+2,this.argument2)):(e.setUint16(t,this.argument1),e.setUint16(t+2,this.argument2)),t+=4):(e.setUint8(t,this.argument1),e.setUint8(t+1,this.argument2),t+=2),this.flags&K8&&(e.setUint16(t,this.instructions.length),t+=2,this.instructions.length&&(new Uint8Array(e.buffer,0,e.buffer.byteLength).set(this.instructions,t),t+=this.instructions.length)),t-i}scale(t,e){}};m(b4,"CompositeGlyph");let cj=b4;function im(s,t,e){s[t]=e>>8&255,s[t+1]=e&255}m(im,"writeInt16");function t5(s,t,e){s[t]=e>>24&255,s[t+1]=e>>16&255,s[t+2]=e>>8&255,s[t+3]=e&255}m(t5,"writeInt32");function KG(s,t,e){if(e instanceof Uint8Array)s.set(e,t);else if(typeof e=="string")for(let i=0,n=e.length;ii;)i<<=1,n++;const a=i*e;return{range:a,entry:n,rangeShift:e*t-a}}toArray(){let t=this.sfnt;const e=this.tables,i=Object.keys(e);i.sort();const n=i.length;let a,r,o,l,c,h=F_+n*E_;const u=[h];for(a=0;a>>0;h+=g,u.push(h)}const d=new Uint8Array(h);for(a=0;a>>0}t5(d,h+4,g),t5(d,h+8,u[a]),t5(d,h+12,e[c].length),h+=E_}return d}addTable(t,e){if(t in this.tables)throw new Error("Table "+t+" already exists");this.tables[t]=e}};m(w4,"OpenTypeFileBuilder");let $g=w4;const bn={vmoveto:[4],rlineto:[5],hlineto:[6],vlineto:[7],rrcurveto:[8],flex:[12,35],endchar:[14],rmoveto:[21],hmoveto:[22],vhcurveto:[30],hvcurveto:[31]},lR=class lR{constructor(){R(this,"width",0);R(this,"lsb",0);R(this,"flexing",!1);R(this,"output",[]);R(this,"stack",[])}convert(t,e,i){const n=t.length;let a=!1,r,o,l;for(let c=0;cn)return!0;const a=n-t;for(let r=a;r>8&255,o&255):(o=65536*o|0,this.output.push(255,o>>24&255,o>>16&255,o>>8&255,o&255))}return this.output.push(...e),i?this.stack.splice(a,t):this.stack.length=0,!1}};m(lR,"Type1CharString");let hj=lR;const R_=55665,LY=4330;function jr(s){return s>=48&&s<=57||s>=65&&s<=70||s>=97&&s<=102}m(jr,"isHexDigit");function fj(s,t,e){if(e>=s.length)return new Uint8Array(0);const i=52845,n=22719;let a=t|0,r,o;for(r=0;r>8,a=(h+a)*i+n&65535}return c}m(fj,"decrypt");function XG(s,t,e){let i=t|0;const n=s.length,a=n>>>1,r=new Uint8Array(a);let o,l;for(o=0,l=0;o>8,i=(u+i)*52845+22719&65535}}return r.slice(e,l)}m(XG,"decryptAscii");function uj(s){return s===47||s===91||s===93||s===123||s===125||s===40||s===41}m(uj,"isSpecial");const cR=class cR{constructor(t,e,i){if(e){const n=t.getBytes(),a=!((jr(n[0])||Jn(n[0]))&&jr(n[1])&&jr(n[2])&&jr(n[3])&&jr(n[4])&&jr(n[5])&&jr(n[6])&&jr(n[7]));t=new Ne(a?fj(n,R_,4):XG(n,R_,4))}this.seacAnalysisEnabled=!!i,this.stream=t,this.nextChar()}readNumberArray(){this.getToken();const t=[];for(;;){const e=this.getToken();if(e===null||e==="]"||e==="}")break;t.push(parseFloat(e||0))}return t}readNumber(){const t=this.getToken();return parseFloat(t||0)}readInt(){const t=this.getToken();return parseInt(t||0,10)|0}readBoolean(){return this.getToken()==="true"?1:0}nextChar(){return this.currentChar=this.stream.getByte()}prevChar(){return this.stream.skip(-2),this.currentChar=this.stream.getByte()}getToken(){let t=!1,e=this.currentChar;for(;;){if(e===-1)return null;if(t)(e===10||e===13)&&(t=!1);else if(e===37)t=!0;else if(!Jn(e))break;e=this.nextChar()}if(uj(e))return this.nextChar(),String.fromCharCode(e);let i="";do i+=String.fromCharCode(e),e=this.nextChar();while(e>=0&&!Jn(e)&&!uj(e));return i}readCharStrings(t,e){return e===-1?t:fj(t,LY,e)}extractFontProgram(t){const e=this.stream,i=[],n=[],a=Object.create(null);a.lenIV=4;const r={subrs:[],charstrings:[],properties:{privateData:a}};let o,l,c,h;for(;(o=this.getToken())!==null;)if(o==="/")switch(o=this.getToken(),o){case"CharStrings":for(this.getToken(),this.getToken(),this.getToken(),this.getToken();o=this.getToken(),!(o===null||o==="end");){if(o!=="/")continue;const d=this.getToken();l=this.readInt(),this.getToken(),c=l>0?e.getBytes(l):new Uint8Array(0),h=r.properties.privateData.lenIV;const p=this.readCharStrings(c,h);this.nextChar(),o=this.getToken(),o==="noaccess"?this.getToken():o==="/"&&this.prevChar(),n.push({glyph:d,encoded:p})}break;case"Subrs":for(this.readInt(),this.getToken();this.getToken()==="dup";){const d=this.readInt();l=this.readInt(),this.getToken(),c=l>0?e.getBytes(l):new Uint8Array(0),h=r.properties.privateData.lenIV;const p=this.readCharStrings(c,h);this.nextChar(),o=this.getToken(),o==="noaccess"&&this.getToken(),i[d]=p}break;case"BlueValues":case"OtherBlues":case"FamilyBlues":case"FamilyOtherBlues":const u=this.readNumberArray();u.length>0&&u.length%2;break;case"StemSnapH":case"StemSnapV":r.properties.privateData[o]=this.readNumberArray();break;case"StdHW":case"StdVW":r.properties.privateData[o]=this.readNumberArray()[0];break;case"BlueShift":case"lenIV":case"BlueFuzz":case"BlueScale":case"LanguageGroup":r.properties.privateData[o]=this.readNumber();break;case"ExpansionFactor":r.properties.privateData[o]=this.readNumber()||.06;break;case"ForceBold":r.properties.privateData[o]=this.readBoolean();break}for(const{encoded:u,glyph:d}of n){const p=new hj,g=p.convert(u,i,this.seacAnalysisEnabled);let b=p.output;g&&(b=[14]);const w={glyphName:d,charstring:b,width:p.width,lsb:p.lsb,seac:p.seac};if(d===".notdef"?r.charstrings.unshift(w):r.charstrings.push(w),t.builtInEncoding){const y=t.builtInEncoding.indexOf(d);y>-1&&t.widths[y]===void 0&&y>=t.firstChar&&y<=t.lastChar&&(t.widths[y]=p.width)}}return r}extractFontHeader(t){let e;for(;(e=this.getToken())!==null;)if(e==="/")switch(e=this.getToken(),e){case"FontMatrix":const i=this.readNumberArray();t.fontMatrix=i;break;case"Encoding":const n=this.getToken();let a;if(!/^\d+$/.test(n))a=mp(n);else{a=[];const o=parseInt(n,10)|0;this.getToken();for(let l=0;l=n){for(r+=l;r=0&&(n[o]=a)}return XT(t,n,i)}hasGlyphId(t){return t<0||t>=this.numGlyphs?!1:t===0?!0:this.charstrings[t-1].charstring.length>0}getSeacs(t){const e=[];for(let i=0,n=t.length;i0;k--)j[k]-=j[k-1];g.setByName(y,j)}r.topDict.privateDict=g;const w=new Bo;for(u=0,d=n.length;u0&&s.toUnicode.amend(n)}m(JG,"adjustTrueTypeToUnicode");function ZG(s,t){if(s.isInternalFont||s.hasIncludedToUnicodeMap||t===s.defaultEncoding||s.toUnicode instanceof Kn)return;const e=[],i=Eo();for(const n in t){if(s.hasEncoding&&(s.baseEncodingName||s.differences[n]!==void 0))continue;const a=t[n],r=Zu(a,i);r!==-1&&(e[n]=String.fromCharCode(r))}e.length>0&&s.toUnicode.amend(e)}m(ZG,"adjustType1ToUnicode");function gj(s){if(!s.fallbackToUnicode||s.toUnicode instanceof Kn)return;const t=[];for(const e in s.fallbackToUnicode)s.toUnicode.has(e)||(t[e]=s.fallbackToUnicode[e]);t.length>0&&s.toUnicode.amend(t)}m(gj,"amendFallbackToUnicode");const fR=class fR{constructor(t,e,i,n,a,r,o,l,c){this.originalCharCode=t,this.fontChar=e,this.unicode=i,this.accent=n,this.width=a,this.vmetric=r,this.operatorListId=o,this.isSpace=l,this.isInFont=c}get category(){return mt(this,"category",_G(this.unicode),!0)}};m(fR,"fonts_Glyph");let bj=fR;function Uh(s,t){return(s<<8)+t}m(Uh,"int16");function C1(s,t,e){s[t+1]=e,s[t]=e>>>8}m(C1,"writeSignedInt16");function Pn(s,t){const e=(s<<8)+t;return e&32768?e-65536:e}m(Pn,"signedInt16");function t$(s,t,e){s[t+3]=e&255,s[t+2]=e>>>8,s[t+1]=e>>>16,s[t]=e>>>24}m(t$,"writeUint32");function e$(s,t,e,i){return(s<<24)+(t<<16)+(e<<8)+i}m(e$,"int32");function Me(s){return String.fromCharCode(s>>8&255,s&255)}m(Me,"string16");function gc(s){return s>32767?s=32767:s<-32768&&(s=-32768),String.fromCharCode(s>>8&255,s&255)}m(gc,"safeString16");function s$(s){const t=s.peekBytes(4);return Pe(t,0)===65536||In(t)==="true"}m(s$,"isTrueTypeFile");function JT(s){const t=s.peekBytes(4);return In(t)==="ttcf"}m(JT,"isTrueTypeCollectionFile");function i$(s){const t=s.peekBytes(4);return In(t)==="OTTO"}m(i$,"isOpenTypeFile");function n$(s){const t=s.peekBytes(2);return t[0]===37&&t[1]===33||t[0]===128&&t[1]===1}m(n$,"isType1File");function a$(s){const t=s.peekBytes(4);return t[0]>=1&&t[3]>=1&&t[3]<=4}m(a$,"isCFFFile");function r$(s,{type:t,subtype:e,composite:i}){let n,a;return s$(s)||JT(s)?n=i?"CIDFontType2":"TrueType":i$(s)?n=i?"CIDFontType2":"OpenType":n$(s)?i?n="CIDFontType0":n=t==="MMType1"?"MMType1":"Type1":a$(s)?i?(n="CIDFontType0",a="CIDFontType0C"):(n=t==="MMType1"?"MMType1":"Type1",a="Type1C"):(H("getFontFileType: Unable to detect correct font file Type/Subtype."),n=t,a=e),[n,a]}m(r$,"getFontFileType");function nm(s,t){for(const e in t)s[+e]=t[e]}m(nm,"applyStandardFontGlyphMap");function e5(s,t,e){const i=[];let n;for(let a=0,r=s.length;a$o[0][0]<=p&&p<=$o[0][1]||$o[1][0]<=p&&p<=$o[1][1],"isInPrivateArea");let d=null;for(const p in s){let g=s[p];if(!t(g))continue;if(c>h){if(l++,l>=$o.length){H("Ran out of space in font private use area.");break}c=$o[l][0],h=$o[l][1]}const b=c++;g===0&&(g=e);let w=i.get(p);if(typeof w=="string")if(w.length===1)w=w.codePointAt(0);else{if(!d){d=new Map;for(let y=64256;y<=64335;y++){const j=String.fromCharCode(y).normalize("NFKD");j.length>1&&d.set(j,y)}}w=d.get(w)||w.codePointAt(0)}w&&!u(w)&&!o.has(g)&&(a.set(w,g),o.add(g)),n[b]=g,r[p]=b}return{toFontChar:r,charCodeToGlyphId:n,toUnicodeExtraMap:a,nextAvailableFontCharCode:c}}m(wj,"adjustMapping");function l$(s,t,e){const i=[];for(const r in s)s[r]>=e||i.push({fontCharCode:r|0,glyphId:s[r]});if(t)for(const[r,o]of t)o>=e||i.push({fontCharCode:r,glyphId:o});i.length===0&&i.push({fontCharCode:0,glyphId:0}),i.sort((r,o)=>r.fontCharCode-o.fontCharCode);const n=[],a=i.length;for(let r=0;r65535?2:1;let a="\0\0"+Me(n)+"\0\0"+Si(4+n*8),r,o,l,c;for(r=i.length-1;r>=0&&!(i[r][0]<=65535);--r);const h=r+1;i[r][0]<65535&&i[r][1]===65535&&(i[r][1]=65534);const u=i[r][1]<65535?1:0,d=h+u,p=$g.getSearchParams(d,2);let g="",b="",w="",y="",j="",k=0,q,A,I,C;for(r=0,o=h;r0&&(b+="ÿÿ",g+="ÿÿ",w+="\0",y+="\0\0");const F="\0\0"+Me(2*d)+Me(p.range)+Me(p.entry)+Me(p.rangeShift)+b+"\0\0"+g+w+y+j;let E="",D="";if(n>1){for(a+=`\0\0 +`+Si(4+n*8+4+F.length),E="",r=0,o=i.length;ra||(t.skip(6),t.getUint16()===0)?!1:(s.data[8]=s.data[9]=0,!0)}m(c$,"validateOS2Table");function yj(s,t,e){e||(e={unitsPerEm:0,yMax:0,yMin:0,ascent:0,descent:0});let i=0,n=0,a=0,r=0,o=null,l=0,c=-1;if(t){for(let y in t)if(y|=0,(o>y||!o)&&(o=y),l 123 are reserved for internal usage");l>65535&&(l=65535)}else o=0,l=255;const h=s.bbox||[0,0,0,0],u=e.unitsPerEm||(s.fontMatrix?1/Math.max(...s.fontMatrix.slice(0,4).map(Math.abs)):1e3),d=s.ascentScaled?1:u/_h,p=e.ascent||Math.round(d*(s.ascent||h[3]));let g=e.descent||Math.round(d*(s.descent||h[1]));g>0&&s.descent>0&&h[1]<0&&(g=-g);const b=e.yMax||p,w=-e.yMin||-g;return"\0$ô\0\0\0Š»\0\0\0ŒŠ»\0\0ß\x001\0\0\0\0"+String.fromCharCode(s.fixedPitch?9:0)+"\0\0\0\0\0\0"+Si(i)+Si(n)+Si(a)+Si(r)+"*21*"+Me(s.italicAngle?1:0)+Me(o||s.firstChar)+Me(l||s.lastChar)+Me(p)+Me(g)+"\0d"+Me(b)+Me(w)+"\0\0\0\0\0\0\0\0"+Me(s.xHeight)+Me(s.capHeight)+Me(0)+Me(o||s.firstChar)+"\0"}m(yj,"createOS2Table");function vj(s){const t=Math.floor(s.italicAngle*65536);return"\0\0\0"+Si(t)+"\0\0\0\0"+Si(s.fixedPitch?1:0)+"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}m(vj,"createPostTable");function h$(s){return s.replaceAll(/[^\x21-\x7E]|[[\](){}<>/%]/g,"").slice(0,63)}m(h$,"createPostscriptName");function i5(s,t){t||(t=[[],[]]);const e=[t[0][0]||"Original licence",t[0][1]||s,t[0][2]||"Unknown",t[0][3]||"uniqueID",t[0][4]||s,t[0][5]||"Version 0.11",t[0][6]||h$(s),t[0][7]||"Unknown",t[0][8]||"Unknown",t[0][9]||"Unknown"],i=[];let n,a,r,o,l;for(n=0,a=e.length;n0,(o||l)&&i==="CIDFontType2"&&this.cidEncoding.startsWith("Identity-")){const u=t.cidToGidMap,d=[];if(nm(d,I_()),/Arial-?Black/i.test(e)?nm(d,FY()):/Calibri/i.test(e)&&nm(d,EY()),u){for(const p in d){const g=d[p];u[g]!==void 0&&(d[+p]=u[g])}u.length!==this.toUnicode.length&&t.hasIncludedToUnicodeMap&&this.toUnicode instanceof Kn&&this.toUnicode.forEach(function(p,g){const b=d[p];u[b]===void 0&&(d[+p]=g)})}this.toUnicode instanceof Kn||this.toUnicode.forEach(function(p,g){d[+p]=g}),this.toFontChar=d,this.toUnicode=new uf(d)}else if(/Symbol/i.test(n))this.toFontChar=e5(VT,Eo(),this.differences);else if(/Dingbats/i.test(n))this.toFontChar=e5(WT,wY(),this.differences);else if(o||l){const u=e5(this.defaultEncoding,Eo(),this.differences);i==="CIDFontType2"&&!this.cidEncoding.startsWith("Identity-")&&!(this.toUnicode instanceof Kn)&&this.toUnicode.forEach(function(d,p){u[+d]=p}),this.toFontChar=u}else{const u=Eo(),d=[];this.toUnicode.forEach((p,g)=>{if(!this.composite){const b=this.differences[p]||this.defaultEncoding[p],w=Zu(b,u);w!==-1&&(g=w)}d[+p]=g}),this.composite&&this.toUnicode instanceof Kn&&/Tahoma|Verdana/i.test(e)&&nm(d,I_()),this.toFontChar=d}gj(t),this.loadedName=n.split("-",1)[0]}checkAndRepair(t,e,i){var Dt,_t;const n=["OS/2","cmap","head","hhea","hmtx","maxp","name","post","loca","glyf","fpgm","prep","cvt ","CFF "];function a(U,P){const J=Object.create(null);J["OS/2"]=null,J.cmap=null,J.head=null,J.hhea=null,J.hmtx=null,J.maxp=null,J.name=null,J.post=null;for(let st=0;st>>0,st=U.getInt32()>>>0,ct=U.getInt32()>>>0,qt=U.pos;U.pos=U.start||0,U.skip(st);const vt=U.getBytes(ct);return U.pos=qt,P==="head"&&(vt[8]=vt[9]=vt[10]=vt[11]=0,vt[17]|=32),{tag:P,checksum:J,length:ct,offset:st,data:vt}}m(r,"readTableEntry");function o(U){return{version:U.getString(4),numTables:U.getUint16(),searchRange:U.getUint16(),entrySelector:U.getUint16(),rangeShift:U.getUint16()}}m(o,"readOpenTypeHeader");function l(U){const P=U.getString(4);ss(P==="ttcf","Must be a TrueType Collection font.");const J=U.getUint16(),st=U.getUint16(),ct=U.getInt32()>>>0,qt=[];for(let ot=0;ot>>0);const vt={ttcTag:P,majorVersion:J,minorVersion:st,numFonts:ct,offsetTable:qt};switch(J){case 1:return vt;case 2:return vt.dsigTag=U.getInt32()>>>0,vt.dsigLength=U.getInt32()>>>0,vt.dsigOffset=U.getInt32()>>>0,vt}throw new tt(`Invalid TrueType Collection majorVersion: ${J}.`)}m(l,"readTrueTypeCollectionHeader");function c(U,P){var vt;const{numFonts:J,offsetTable:st}=l(U),ct=P.split("+");let qt;for(let ot=0;ot>>0;let pt=!1;if(!((ot==null?void 0:ot.platformId)===gt&&(ot==null?void 0:ot.encodingId)===Ft)){if(gt===0&&(Ft===0||Ft===1||Ft===3))pt=!0;else if(gt===1&&Ft===0)pt=!0;else if(gt===3&&Ft===1&&(st||!ot))pt=!0,J||(Bt=!0);else if(J&>===3&&Ft===0){pt=!0;let Vt=!0;if(St>3;St.push(pt),gt=Math.max(pt,gt)}const Ft=[];for(let Zt=0;Zt<=gt;Zt++)Ft.push({firstCode:P.getUint16(),entryCount:P.getUint16(),idDelta:Pn(P.getByte(),P.getByte()),idRangePos:P.pos+P.getUint16()});for(let Zt=0;Zt<256;Zt++)if(St[Zt]===0)P.pos=Ft[0].idRangePos+2*Zt,xt=P.getUint16(),Gt.push({charCode:Zt,glyphId:xt});else{const pt=Ft[St[Zt]];for(wt=0;wt>1;P.skip(6);const gt=[];let Ft;for(Ft=0;Ft>1)-(St-Ft),ct.offsetIndex=pt,Zt=Math.max(Zt,pt+ct.end-ct.start+1)}const Vt=[];for(wt=0;wt>>0;for(wt=0;wt>>0,Ft=P.getInt32()>>>0;let Zt=P.getInt32()>>>0;for(let pt=gt;pt<=Ft;pt++)Gt.push({charCode:pt,glyphId:Zt++})}}else return H("cmap table has unsupported format: "+Wt),{platformId:-1,encodingId:-1,mappings:[],hasShortCmap:!1};Gt.sort((St,gt)=>St.charCode-gt.charCode);const At=[],Mt=new Set;for(const St of Gt){const{charCode:gt}=St;Mt.has(gt)||(Mt.add(gt),At.push(St))}return{platformId:ot.platformId,encodingId:ot.encodingId,mappings:At,hasShortCmap:Ee}}m(h,"readCmapTable");function u(U,P,J,st,ct,qt){if(!P){J&&(J.data=null);return}U.pos=(U.start||0)+P.offset,U.pos+=4,U.pos+=2,U.pos+=2,U.pos+=2,U.pos+=2,U.pos+=2,U.pos+=2,U.pos+=2,U.pos+=2,U.pos+=2;const vt=U.getUint16();U.pos+=8,U.pos+=2;let ot=U.getUint16();vt!==0&&(Uh(st.data[44],st.data[45])&2||(P.data[22]=0,P.data[23]=0)),ot>ct&&(ne(`The numOfMetrics (${ot}) should not be greater than the numGlyphs (${ct}).`),ot=ct,P.data[34]=(ot&65280)>>8,P.data[35]=ot&255);const Bt=ct-ot-(J.length-ot*4>>1);if(Bt>0){const Wt=new Uint8Array(J.length+Bt*2);Wt.set(J.data),qt&&(Wt[J.length]=J.data[2],Wt[J.length+1]=J.data[3]),J.data=Wt}}m(u,"sanitizeMetrics");function d(U,P,J,st,ct,qt){const vt={length:0,sizeOfInstructions:0};if(P<0||P>=U.length||J>U.length||J-P<=12)return vt;const ot=U.subarray(P,J),Bt=Pn(ot[2],ot[3]),Wt=Pn(ot[4],ot[5]),Ee=Pn(ot[6],ot[7]),Gt=Pn(ot[8],ot[9]);Bt>Ee&&(C1(ot,2,Ee),C1(ot,6,Bt)),Wt>Gt&&(C1(ot,4,Gt),C1(ot,8,Wt));const wt=Pn(ot[0],ot[1]);if(wt<0)return wt<-1||(st.set(ot,ct),vt.length=ot.length),vt;let xt,At=10,Mt=0;for(xt=0;xtot.length?vt:!qt&>>0?(st.set(ot.subarray(0,St),ct),st.set([0,0],ct+St),st.set(ot.subarray(Ft,pt),ct+St+2),pt-=gt,ot.length-pt>3&&(pt=pt+3&-4),vt.length=pt,vt):ot.length-pt>3?(pt=pt+3&-4,st.set(ot.subarray(0,pt),ct),vt.length=pt,vt):(st.set(ot,ct),vt.length=ot.length,vt)}m(d,"sanitizeGlyph");function p(U,P,J){const st=U.data,ct=e$(st[0],st[1],st[2],st[3]);ct>>16!==1&&(ne("Attempting to fix invalid version in head table: "+ct),st[0]=0,st[1]=1,st[2]=0,st[3]=0);const qt=Uh(st[50],st[51]);if(qt<0||qt>1){ne("Attempting to fix invalid indexToLocFormat in head table: "+qt);const vt=P+1;if(J===vt<<1)st[50]=0,st[51]=0;else if(J===vt<<2)st[50]=0,st[51]=1;else throw new tt("Could not fix indexToLocFormat: "+qt)}}m(p,"sanitizeHead");function g(U,P,J,st,ct,qt,vt){let ot,Bt,Wt;st?(ot=4,Bt=m(function(Lt,ae){return Lt[ae]<<24|Lt[ae+1]<<16|Lt[ae+2]<<8|Lt[ae+3]},"fontItemDecodeLong"),Wt=m(function(Lt,ae,bs){Lt[ae]=bs>>>24&255,Lt[ae+1]=bs>>16&255,Lt[ae+2]=bs>>8&255,Lt[ae+3]=bs&255},"fontItemEncodeLong")):(ot=2,Bt=m(function(Lt,ae){return Lt[ae]<<9|Lt[ae+1]<<1},"fontItemDecode"),Wt=m(function(Lt,ae,bs){Lt[ae]=bs>>9&255,Lt[ae+1]=bs>>1&255},"fontItemEncode"));const Ee=qt?J+1:J,Gt=ot*(1+Ee),wt=new Uint8Array(Gt);wt.set(U.data.subarray(0,Gt)),U.data=wt;const xt=P.data,At=xt.length,Mt=new Uint8Array(At);let St,gt;const Ft=[];for(St=0,gt=0;StAt&&(Lt=At),Ft.push({index:St,offset:Lt,endOffset:0})}for(Ft.sort((Lt,ae)=>Lt.offset-ae.offset),St=0;StLt.index-ae.index),St=0;Stvt&&(vt=Lt.sizeOfInstructions),Vt+=ae,Wt(wt,gt,Vt)}if(Vt===0){const Lt=new Uint8Array([0,1,0,0,0,0,0,0,0,0,0,0,0,0,49,0]);for(St=0,gt=ot;StLt+Vt?P.data=Mt.subarray(0,Lt+Vt):(P.data=new Uint8Array(Lt+Vt),P.data.set(Mt.subarray(0,Vt))),P.data.set(Mt.subarray(0,Lt),Vt),Wt(U.data,wt.length-ot,Vt+Lt)}else P.data=Mt.subarray(0,Vt);return{missingGlyphs:pt,maxSizeOfInstructions:vt}}m(g,"sanitizeGlyphLocations");function b(U,P,J){const st=(e.start||0)+U.offset;e.pos=st;const ct=U.length,qt=st+ct,vt=e.getInt32();e.skip(28);let ot,Bt=!0,Wt;switch(vt){case 65536:ot=S_;break;case 131072:const Ee=e.getUint16();if(Ee!==J){Bt=!1;break}const Gt=[];for(Wt=0;Wt=32768){Bt=!1;break}Gt.push(xt)}if(!Bt)break;const wt=[];for(;e.posqt)continue;e.pos=wt;const xt=Gt.name;if(Gt.encoding){let At="";for(let Mt=0,St=Gt.length;Mt0&&(st+=Vt-1)}if(!Mt&&!gt){let Vt=0;for(pt<=142?Vt=y[pt]:pt>=192&&pt<=223?Vt=-1:pt>=224&&(Vt=-2),pt>=113&&pt<=117&&(qt=Gt.pop(),isNaN(qt)||(Vt=-qt*2));Vt<0&&Gt.length>0;)Gt.pop(),Vt++;for(;Vt>0;)Gt.push(NaN),Vt--}}P.tooComplexToFollowFunctions=At;const Ft=[J];st>J.length&&Ft.push(new Uint8Array(st-J.length)),Ee>Wt&&(H("TT: complementing a missing function tail"),Ft.push(new Uint8Array([34,45]))),q(U,Ft)}m(j,"sanitizeTTProgram");function k(U,P){if(!U.tooComplexToFollowFunctions){if(U.functionsDefined.length>P){H("TT: more functions defined than expected"),U.hintsValid=!1;return}for(let J=0,st=U.functionsUsed.length;JP){H("TT: invalid function id: "+J),U.hintsValid=!1;return}if(U.functionsUsed[J]&&!U.functionsDefined[J]){H("TT: undefined function: "+J),U.hintsValid=!1;return}}}}m(k,"checkInvalidFunctions");function q(U,P){if(P.length>1){let J=0,st,ct;for(st=0,ct=P.length;st=32)D=65536;else throw new tt('"maxp" table has a wrong version number');t$(C.maxp.data,0,D)}let _=Uh(C.head.data[50],C.head.data[51]);if(C.loca){const U=_?(M+1)*4:(M+1)*2;if(C.loca.length!==U){H("Incorrect 'loca' table length -- attempting to fix it.");const P=Object.values(C).filter(Boolean).sort((ct,qt)=>ct.offset-qt.offset),J=P.indexOf(C.loca),st=P[J+1]||null;if(st&&C.loca.offset+U>8&255,qt[ot+1]=Bt&255;const Wt=Math.round(U[vt]*Pn(qt[ot+2],qt[ot+3]));C1(qt,ot+2,Wt)}}let G=M+1,K=!0;G>65535&&(K=!1,G=M,H("Not enough space in glyfs to duplicate first glyph."));let it=0,$=0;D>=65536&&C.maxp.length>=32&&(e.pos+=8,e.getUint16()>2&&(C.maxp.data[14]=0,C.maxp.data[15]=2),e.pos+=4,it=e.getUint16(),e.pos+=4,$=e.getUint16()),C.maxp.data[4]=G>>8,C.maxp.data[5]=G&255;const V=A(C.fpgm,C.prep,C["cvt "],it);if(V||(delete C.fpgm,delete C.prep,delete C["cvt "]),u(e,C.hhea,C.hmtx,C.head,G,K),!C.head)throw new tt('Required "head" table is not found');p(C.head,M,F?C.loca.length:0);let rt=Object.create(null);if(F){const U=g(C.loca,C.glyf,M,_,V,K,$);rt=U.missingGlyphs,D>=65536&&C.maxp.length>=32&&(C.maxp.data[26]=U.maxSizeOfInstructions>>8,C.maxp.data[27]=U.maxSizeOfInstructions&255)}if(!C.hhea)throw new tt('Required "hhea" table is not found');C.hhea.data[10]===0&&C.hhea.data[11]===0&&(C.hhea.data[10]=255,C.hhea.data[11]=255);const Y={unitsPerEm:Uh(C.head.data[18],C.head.data[19]),yMax:Pn(C.head.data[42],C.head.data[43]),yMin:Pn(C.head.data[38],C.head.data[39]),ascent:Pn(C.hhea.data[4],C.hhea.data[5]),descent:Pn(C.hhea.data[6],C.hhea.data[7]),lineGap:Pn(C.hhea.data[8],C.hhea.data[9])};this.ascent=Y.ascent/Y.unitsPerEm,this.descent=Y.descent/Y.unitsPerEm,this.lineGap=Y.lineGap/Y.unitsPerEm,(_t=this.cssFontInfo)!=null&&_t.lineHeight?(this.lineHeight=this.cssFontInfo.metrics.lineHeight,this.lineGap=this.cssFontInfo.metrics.lineGap):this.lineHeight=this.ascent-this.descent+this.lineGap,C.post&&b(C.post,i,M),C.post={tag:"post",data:vj(i)};const dt=Object.create(null);function et(U){return!rt[U]}if(m(et,"hasGlyph"),i.composite){const U=i.cidToGidMap||[],P=U.length===0;i.cMap.forEach(function(J,st){if(typeof st=="string"&&(st=s5(J,st,!0)),st>65535)throw new tt("Max size of CID is 65,535");let ct=-1;P?ct=st:U[st]!==void 0&&(ct=U[st]),ct>=0&&ct=61440&&ot<=61695&&(ot&=255),dt[ot]=vt.glyphId}else for(const vt of st)dt[vt.charCode]=vt.glyphId;if(i.glyphNames&&(ct.length||this.differences.length))for(let vt=0;vt<256;++vt){if(!qt&&dt[vt]!==void 0)continue;const ot=this.differences[vt]||ct[vt];if(!ot)continue;const Bt=i.glyphNames.indexOf(ot);Bt>0&&et(Bt)&&(dt[vt]=Bt)}}dt.length===0&&(dt[0]=0);let Ct=G-1;if(K||(Ct=0),!i.cssFontInfo){const U=wj(dt,et,Ct,this.toUnicode);this.toFontChar=U.toFontChar,C.cmap={tag:"cmap",data:jj(U.charCodeToGlyphId,U.toUnicodeExtraMap,G)},(!C["OS/2"]||!c$(C["OS/2"],e))&&(C["OS/2"]={tag:"OS/2",data:yj(i,U.charCodeToGlyphId,Y)})}if(!C.name)C.name={tag:"name",data:i5(this.name)};else{const[U,P]=w(C.name);C.name.data=i5(t,U),this.psName=U[0][6]||null,i.composite||JG(i,this.isSymbolicFont,P)}const Tt=new $g(I.version);for(const U in C)Tt.addTable(U,C[U].data);return Tt.toArray()}convert(t,e,i){i.fixedPitch=!1,i.builtInEncoding&&ZG(i,i.builtInEncoding);let n=1;e instanceof Lm&&(n=e.numGlyphs-1);const a=e.getGlyphMapping(i);let r=null,o=a,l=null;i.cssFontInfo||(r=wj(a,e.hasGlyphId.bind(e),n,this.toUnicode),this.toFontChar=r.toFontChar,o=r.charCodeToGlyphId,l=r.toUnicodeExtraMap);const c=e.numGlyphs;function h(b,w){let y=null;for(const j in b)w===b[j]&&(y||(y=[])).push(j|0);return y}m(h,"getCharCodes");function u(b,w){for(const y in b)if(w===b[y])return y|0;return r.charCodeToGlyphId[r.nextAvailableFontCharCode]=w,r.nextAvailableFontCharCode++}m(u,"createCharCode");const d=e.seacs;if(r&&J1&&(d!=null&&d.length)){const b=i.fontMatrix||zu,w=e.getCharset(),y=Object.create(null);for(let j in d){j|=0;const k=d[j],q=Ul[k[2]],A=Ul[k[3]],I=w.indexOf(q),C=w.indexOf(A);if(I<0||C<0)continue;const F={x:k[0]*b[0]+k[1]*b[2]+b[4],y:k[0]*b[1]+k[1]*b[3]+b[5]},E=h(a,j);if(E)for(const D of E){const M=r.charCodeToGlyphId,_=u(M,I),G=u(M,C);y[D]={baseFontCharCode:_,accentFontCharCode:G,accentOffset:F}}}i.seacMap=y}const p=i.fontMatrix?1/Math.max(...i.fontMatrix.slice(0,4).map(Math.abs)):1e3,g=new $g("OTTO");return g.addTable("CFF ",e.data),g.addTable("OS/2",yj(i,o)),g.addTable("cmap",jj(o,l,c)),g.addTable("head","\0\0\0\0\0\0\0\0\0\0_<õ\0\0"+gc(p)+"\0\0\0\0ž\v~'\0\0\0\0ž\v~'\0\0"+gc(i.descent)+"ÿ"+gc(i.ascent)+Me(i.italicAngle?2:0)+"\0\0\0\0\0\0\0"),g.addTable("hhea","\0\0\0"+gc(i.ascent)+gc(i.descent)+"\0\0ÿÿ\0\0\0\0\0\0"+gc(i.capHeight)+gc(Math.tan(i.italicAngle)*i.xHeight)+"\0\0\0\0\0\0\0\0\0\0\0\0"+Me(c)),g.addTable("hmtx",m(function(){const b=e.charstrings,w=e.cff?e.cff.widths:null;let y="\0\0\0\0";for(let j=1,k=c;je.length%2===1,"hasCurrentBufErrors"),a=this.toUnicode instanceof Kn?r=>this.toUnicode.charCodeOf(r):r=>this.toUnicode.charCodeOf(String.fromCodePoint(r));for(let r=0,o=t.length;r55295&&(l<57344||l>65533)&&r++,this.toUnicode){const c=a(l);if(c!==-1){n()&&(e.push(i.join("")),i.length=0);const h=this.cMap?this.cMap.getCharCodeLength(c):1;for(let u=h-1;u>=0;u--)i.push(String.fromCharCode(c>>8*u&255));continue}}n()||(e.push(i.join("")),i.length=0),i.push(String.fromCodePoint(l))}return e.push(i.join("")),e}};Jb=new WeakMap,md=new WeakMap,Zb=new WeakSet,kj=function(t){const e=Object.create(null);for(const i of t){const n=this[i];n!==void 0&&(e[i]=n)}return e},m(uR,"Font");let A3=uR;const dR=class dR{constructor(t){this.error=t,this.loadedName="g_font_error",this.missingFile=!0}charsToGlyphs(){return[]}encodeString(t){return[t]}exportData(){return{error:this.error}}};m(dR,"ErrorFont");let S3=dR;const Xn={FUNCTION_BASED:1,AXIAL:2,RADIAL:3,FREE_FORM_MESH:4,LATTICE_FORM_MESH:5,COONS_PATCH_MESH:6,TENSOR_PATCH_MESH:7},pR=class pR{constructor(){oe("Cannot initialize Pattern.")}static parseShading(t,e,i,n,a,r,o=null){const l=t instanceof Qt?t.dict:t,c=l.get("ShadingType");try{switch(c){case Xn.AXIAL:case Xn.RADIAL:return new xj(l,e,i,n,a,r);case Xn.FREE_FORM_MESH:case Xn.LATTICE_FORM_MESH:case Xn.COONS_PATCH_MESH:case Xn.TENSOR_PATCH_MESH:return o==null||o(),new Cj(t,e,i,n,a,r);default:throw new tt("Unsupported ShadingType: "+c)}}catch(h){if(h instanceof $e)throw h;return H(h),new Ij}}};m(pR,"Pattern");let qj=pR;const j4=class j4{getIR(){oe("Abstract method `getIR` called.")}};m(j4,"BaseShading"),R(j4,"SMALL_NUMBER",1e-6);let Gu=j4;const mR=class mR extends Gu{constructor(t,e,i,n,a,r){super(),this.shadingType=t.get("ShadingType");let o=0;if(this.shadingType===Xn.AXIAL?o=4:this.shadingType===Xn.RADIAL&&(o=6),this.coordsArr=t.getArray("Coords"),!fn(this.coordsArr,o))throw new tt("RadialAxialShading: Invalid /Coords array.");const l=ke.parse({cs:t.getRaw("CS")||t.getRaw("ColorSpace"),xref:e,resources:i,pdfFunctionFactory:n,globalColorSpaceCache:a,localColorSpaceCache:r});this.bbox=Po(t.getArray("BBox"),null);let c=0,h=1;const u=t.getArray("Domain");fn(u,2)&&([c,h]=u);let d=!1,p=!1;const g=t.getArray("Extend");IU(g,2)&&([d,p]=g),this.extendStart=d,this.extendEnd=p;const b=t.getRaw("Function"),w=n.create(b,!0),y=840,j=(h-c)/y,k=this.colorStops=[];if(c>=h||j<=0){ne("Bad shading domain.");return}const q=new Float32Array(l.numComps),A=new Float32Array(1);let I=0;A[0]=c,w(A,0,q,0);const C=new Uint8ClampedArray(3);l.getRgb(q,0,C);let[F,E,D]=C;k.push([0,Te.makeHexColor(F,E,D)]);let M=1;A[0]=c+j,w(A,0,q,0),l.getRgb(q,0,C);let[_,G,K]=C,it=_-F+1,$=G-E+1,V=K-D+1,rt=_-F-1,Y=G-E-1,dt=K-D-1;for(let Ct=2;Ct0)return!0;const t=this.stream.getByte();return t<0?!1:(this.buffer=t,this.bufferLength=8,!0)}readBits(t){const{stream:e}=this;let{buffer:i,bufferLength:n}=this;if(t===32){if(n===0)return e.getInt32()>>>0;i=i<<24|e.getByte()<<16|e.getByte()<<8|e.getByte();const a=e.getByte();return this.buffer=a&(1<>n)>>>0}if(t===8&&n===0)return e.getByte();for(;n>n}align(){this.buffer=0,this.bufferLength=0}readFlag(){return this.readBits(this.context.bitsPerFlag)}readCoordinate(){const{bitsPerCoordinate:t,decode:e}=this.context,i=this.readBits(t),n=this.readBits(t),a=t<32?1/((1<o?o:t,e=e>l?l:e,i=ic*n[h]):e;let r=-2,o;const l=[];for(const[c,h]of i.map((u,d)=>[u,d]).sort(([u],[d])=>u-d))c!==-1&&(c===r+1?(o.push(a[h]),r+=1):(r=c,o=[a[h]],l.push(c,o)));return l}m(d$,"getXfaFontWidths");function tF(s){const t=d$(s),e=new z(null);e.set("BaseFont",at.get(s)),e.set("Type",at.get("Font")),e.set("Subtype",at.get("CIDFontType2")),e.set("Encoding",at.get("Identity-H")),e.set("CIDToGIDMap",at.get("Identity")),e.set("W",t),e.set("FirstChar",t[0]),e.set("LastChar",t.at(-2)+t.at(-1).length-1);const i=new z(null);e.set("FontDescriptor",i);const n=new z(null);return n.set("Ordering","Identity"),n.set("Registry","Adobe"),n.set("Supplement",0),e.set("CIDSystemInfo",n),e}m(tF,"getXfaFontDict");const wR=class wR{constructor(t){this.lexer=t,this.operators=[],this.token=null,this.prev=null}nextToken(){this.prev=this.token,this.token=this.lexer.getToken()}accept(t){return this.token.type===t?(this.nextToken(),!0):!1}expect(t){if(this.accept(t))return!0;throw new tt(`Unexpected symbol: found ${this.token.type} expected ${t}.`)}parse(){return this.nextToken(),this.expect(hn.LBRACE),this.parseBlock(),this.expect(hn.RBRACE),this.operators}parseBlock(){for(;;)if(this.accept(hn.NUMBER))this.operators.push(this.prev.value);else if(this.accept(hn.OPERATOR))this.operators.push(this.prev.value);else if(this.accept(hn.LBRACE))this.parseCondition();else return}parseCondition(){const t=this.operators.length;if(this.operators.push(null,null),this.parseBlock(),this.expect(hn.RBRACE),this.accept(hn.IF))this.operators[t]=this.operators.length,this.operators[t+1]="jz";else if(this.accept(hn.LBRACE)){const e=this.operators.length;this.operators.push(null,null);const i=this.operators.length;this.parseBlock(),this.expect(hn.RBRACE),this.expect(hn.IFELSE),this.operators[e]=this.operators.length,this.operators[e+1]="j",this.operators[t]=i,this.operators[t+1]="jz"}else throw new tt("PS Function: error parsing conditional.")}};m(wR,"PostScriptParser");let Fj=wR;const hn={LBRACE:0,RBRACE:1,NUMBER:2,OPERATOR:3,IF:4,IFELSE:5},Jo=class Jo{static get opCache(){return mt(this,"opCache",Object.create(null))}constructor(t,e){this.type=t,this.value=e}static getOperator(t){var e;return(e=Jo.opCache)[t]||(e[t]=new Jo(hn.OPERATOR,t))}static get LBRACE(){return mt(this,"LBRACE",new Jo(hn.LBRACE,"{"))}static get RBRACE(){return mt(this,"RBRACE",new Jo(hn.RBRACE,"}"))}static get IF(){return mt(this,"IF",new Jo(hn.IF,"IF"))}static get IFELSE(){return mt(this,"IFELSE",new Jo(hn.IFELSE,"IFELSE"))}};m(Jo,"PostScriptToken");let jc=Jo;const jR=class jR{constructor(t){this.stream=t,this.nextChar(),this.strBuf=[]}nextChar(){return this.currentChar=this.stream.getByte()}getToken(){let t=!1,e=this.currentChar;for(;;){if(e<0)return Ci;if(t)(e===10||e===13)&&(t=!1);else if(e===37)t=!0;else if(!Jn(e))break;e=this.nextChar()}switch(e|0){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 43:case 45:case 46:return new jc(hn.NUMBER,this.getNumber());case 123:return this.nextChar(),jc.LBRACE;case 125:return this.nextChar(),jc.RBRACE}const i=this.strBuf;for(i.length=0,i[0]=String.fromCharCode(e);(e=this.nextChar())>=0&&(e>=65&&e<=90||e>=97&&e<=122);)i.push(String.fromCharCode(e));const n=i.join("");switch(n.toLowerCase()){case"if":return jc.IF;case"ifelse":return jc.IFELSE;default:return jc.getOperator(n)}}getNumber(){let t=this.currentChar;const e=this.strBuf;for(e.length=0,e[0]=String.fromCharCode(t);(t=this.nextChar())>=0&&(t>=48&&t<=57||t===45||t===46);)e.push(String.fromCharCode(t));const i=parseFloat(e.join(""));if(isNaN(i))throw new tt(`Invalid floating point number: ${i}`);return i}};m(jR,"PostScriptLexer");let Ej=jR;const yR=class yR{constructor(t){this._onlyRefs=(t==null?void 0:t.onlyRefs)===!0,this._onlyRefs||(this._nameRefMap=new Map,this._imageMap=new Map),this._imageCache=new Os}getByName(t){this._onlyRefs&&oe("Should not call `getByName` method.");const e=this._nameRefMap.get(t);return e?this.getByRef(e):this._imageMap.get(t)||null}getByRef(t){return this._imageCache.get(t)||null}set(t,e,i){oe("Abstract method `set` called.")}};m(yR,"BaseLocalCache");let ec=yR;const vR=class vR extends ec{set(t,e=null,i){if(typeof t!="string")throw new Error('LocalImageCache.set - expected "name" argument.');if(e){if(this._imageCache.has(e))return;this._nameRefMap.set(t,e),this._imageCache.put(e,i);return}this._imageMap.has(t)||this._imageMap.set(t,i)}};m(vR,"LocalImageCache");let C3=vR;const kR=class kR extends ec{set(t=null,e=null,i){if(typeof t!="string"&&!e)throw new Error('LocalColorSpaceCache.set - expected "name" and/or "ref" argument.');if(e){if(this._imageCache.has(e))return;t!==null&&this._nameRefMap.set(t,e),this._imageCache.put(e,i);return}this._imageMap.has(t)||this._imageMap.set(t,i)}};m(kR,"LocalColorSpaceCache");let I3=kR;const qR=class qR extends ec{constructor(t){super({onlyRefs:!0})}set(t=null,e,i){if(!e)throw new Error('LocalFunctionCache.set - expected "ref" argument.');this._imageCache.has(e)||this._imageCache.put(e,i)}};m(qR,"LocalFunctionCache");let Rj=qR;const xR=class xR extends ec{set(t,e=null,i){if(typeof t!="string")throw new Error('LocalGStateCache.set - expected "name" argument.');if(e){if(this._imageCache.has(e))return;this._nameRefMap.set(t,e),this._imageCache.put(e,i);return}this._imageMap.has(t)||this._imageMap.set(t,i)}};m(xR,"LocalGStateCache");let T3=xR;const AR=class AR extends ec{constructor(t){super({onlyRefs:!0})}set(t=null,e,i){if(!e)throw new Error('LocalTilingPatternCache.set - expected "ref" argument.');this._imageCache.has(e)||this._imageCache.put(e,i)}};m(AR,"LocalTilingPatternCache");let Mj=AR;const SR=class SR extends ec{constructor(t){super({onlyRefs:!0})}set(t=null,e,i){if(!e)throw new Error('RegionalImageCache.set - expected "ref" argument.');this._imageCache.has(e)||this._imageCache.put(e,i)}};m(SR,"RegionalImageCache");let Bj=SR;const CR=class CR extends ec{constructor(t){super({onlyRefs:!0})}set(t=null,e,i){if(!e)throw new Error('GlobalColorSpaceCache.set - expected "ref" argument.');this._imageCache.has(e)||this._imageCache.put(e,i)}clear(){this._imageCache.clear()}};m(CR,"GlobalColorSpaceCache");let Dj=CR;var gd,o1,p$,Hj;const to=class to{constructor(){T(this,o1);T(this,gd,new is);this._refCache=new Os,this._imageCache=new Os}shouldCache(t,e){let i=this._refCache.get(t);return i||(i=new Set,this._refCache.put(t,i)),i.add(e),!(i.size+t):null}m(ia,"toNumberArray");const TR=class TR{static getSampleArray(t,e,i,n){let a=e;for(const d of t)a*=d;const r=new Array(a);let o=0,l=0;const c=1/(2**i-1),h=n.getBytes((a*i+7)/8);let u=0;for(let d=0;d>o)*c,l&=(1<0?r[b-1]:i[0],y=b>1,c=n.length>>1,h=new Nj(o),u=Object.create(null);let d=2048*4;const p=new Float32Array(c);return m(function(g,b,w,y){let j,k,q="";const A=p;for(j=0;j0&&(d--,u[q]=C),w.set(C,y)},"constructPostScriptFn")}};m(TR,"PDFFunction");let E3=TR;function a5(s){let t;if(s instanceof z)t=s;else if(s instanceof Qt)t=s.dict;else return!1;return t.has("FunctionType")}m(a5,"isPDFFunction");const K1=class K1{constructor(t){this.stack=t?Array.from(t):[]}push(t){if(this.stack.length>=K1.MAX_STACK_SIZE)throw new Error("PostScript function stack overflow.");this.stack.push(t)}pop(){if(this.stack.length<=0)throw new Error("PostScript function stack underflow.");return this.stack.pop()}copy(t){if(this.stack.length+t>=K1.MAX_STACK_SIZE)throw new Error("PostScript function stack overflow.");const e=this.stack;for(let i=e.length-t,n=t-1;n>=0;n--,i++)e.push(e[i])}index(t){this.push(this.stack[this.stack.length-t-1])}roll(t,e){const i=this.stack,n=i.length-t,a=i.length-1,r=n+(e-Math.floor(e/t)*t);for(let o=n,l=a;o0?e.push(o<>l);break;case"ceiling":o=e.pop(),e.push(Math.ceil(o));break;case"copy":o=e.pop(),e.copy(o);break;case"cos":o=e.pop(),e.push(Math.cos(o%360/180*Math.PI));break;case"cvi":o=e.pop()|0,e.push(o);break;case"cvr":break;case"div":l=e.pop(),o=e.pop(),e.push(o/l);break;case"dup":e.copy(1);break;case"eq":l=e.pop(),o=e.pop(),e.push(o===l);break;case"exch":e.roll(2,1);break;case"exp":l=e.pop(),o=e.pop(),e.push(o**l);break;case"false":e.push(!1);break;case"floor":o=e.pop(),e.push(Math.floor(o));break;case"ge":l=e.pop(),o=e.pop(),e.push(o>=l);break;case"gt":l=e.pop(),o=e.pop(),e.push(o>l);break;case"idiv":l=e.pop(),o=e.pop(),e.push(o/l|0);break;case"index":o=e.pop(),e.index(o);break;case"le":l=e.pop(),o=e.pop(),e.push(o<=l);break;case"ln":o=e.pop(),e.push(Math.log(o));break;case"log":o=e.pop(),e.push(Math.log10(o));break;case"lt":l=e.pop(),o=e.pop(),e.push(o=t?new Gl(t):s.max<=t?s:new zj(s,t)}m(w$,"buildMinOperation");const NR=class NR{compile(t,e,i){const n=[],a=[],r=e.length>>1,o=i.length>>1;let l=0,c,h,u,d,p,g,b,w;for(let j=0;jq.min&&(F.unshift("Math.max(",I,", "),F.push(")")),C4?(i=!0,t=0):(i=!1,t=1));const l=[];for(r=0;r=0&&Ce[y]==="ET";--y)Ce[y]="EN";for(let y=r+1;y=0;q--){const A=Ce[q];if(A==="L"){j="L";break}if(A==="R"||A==="EN"||A==="AN"){j="R";break}}let k=u;for(let q=y;qw&&Uj(w)&&(b=w);for(w=g;w>=b;--w){let y=-1;for(r=0,o=l.length;r=0&&(Gj(uc,y,r),y=-1):y<0&&(y=r);y>=0&&Gj(uc,y,l.length)}for(r=0,o=uc.length;r")&&(uc[r]="")}return r5(uc.join(""),i)}m(eF,"bidi");const Pa={style:"normal",weight:"normal"},Yh={style:"normal",weight:"bold"},Qh={style:"italic",weight:"normal"},Jh={style:"italic",weight:"bold"},zm=new Map([["Times-Roman",{local:["Times New Roman","Times-Roman","Times","Liberation Serif","Nimbus Roman","Nimbus Roman L","Tinos","Thorndale","TeX Gyre Termes","FreeSerif","Linux Libertine O","Libertinus Serif","PT Astra Serif","DejaVu Serif","Bitstream Vera Serif","Ubuntu"],style:Pa,ultimate:"serif"}],["Times-Bold",{alias:"Times-Roman",style:Yh,ultimate:"serif"}],["Times-Italic",{alias:"Times-Roman",style:Qh,ultimate:"serif"}],["Times-BoldItalic",{alias:"Times-Roman",style:Jh,ultimate:"serif"}],["Helvetica",{local:["Helvetica","Helvetica Neue","Arial","Arial Nova","Liberation Sans","Arimo","Nimbus Sans","Nimbus Sans L","A030","TeX Gyre Heros","FreeSans","DejaVu Sans","Albany","Bitstream Vera Sans","Arial Unicode MS","Microsoft Sans Serif","Apple Symbols","Cantarell"],path:"LiberationSans-Regular.ttf",style:Pa,ultimate:"sans-serif"}],["Helvetica-Bold",{alias:"Helvetica",path:"LiberationSans-Bold.ttf",style:Yh,ultimate:"sans-serif"}],["Helvetica-Oblique",{alias:"Helvetica",path:"LiberationSans-Italic.ttf",style:Qh,ultimate:"sans-serif"}],["Helvetica-BoldOblique",{alias:"Helvetica",path:"LiberationSans-BoldItalic.ttf",style:Jh,ultimate:"sans-serif"}],["Courier",{local:["Courier","Courier New","Liberation Mono","Nimbus Mono","Nimbus Mono L","Cousine","Cumberland","TeX Gyre Cursor","FreeMono","Linux Libertine Mono O","Libertinus Mono"],style:Pa,ultimate:"monospace"}],["Courier-Bold",{alias:"Courier",style:Yh,ultimate:"monospace"}],["Courier-Oblique",{alias:"Courier",style:Qh,ultimate:"monospace"}],["Courier-BoldOblique",{alias:"Courier",style:Jh,ultimate:"monospace"}],["ArialBlack",{local:["Arial Black"],style:{style:"normal",weight:"900"},fallback:"Helvetica-Bold"}],["ArialBlack-Bold",{alias:"ArialBlack"}],["ArialBlack-Italic",{alias:"ArialBlack",style:{style:"italic",weight:"900"},fallback:"Helvetica-BoldOblique"}],["ArialBlack-BoldItalic",{alias:"ArialBlack-Italic"}],["ArialNarrow",{local:["Arial Narrow","Liberation Sans Narrow","Helvetica Condensed","Nimbus Sans Narrow","TeX Gyre Heros Cn"],style:Pa,fallback:"Helvetica"}],["ArialNarrow-Bold",{alias:"ArialNarrow",style:Yh,fallback:"Helvetica-Bold"}],["ArialNarrow-Italic",{alias:"ArialNarrow",style:Qh,fallback:"Helvetica-Oblique"}],["ArialNarrow-BoldItalic",{alias:"ArialNarrow",style:Jh,fallback:"Helvetica-BoldOblique"}],["Calibri",{local:["Calibri","Carlito"],style:Pa,fallback:"Helvetica"}],["Calibri-Bold",{alias:"Calibri",style:Yh,fallback:"Helvetica-Bold"}],["Calibri-Italic",{alias:"Calibri",style:Qh,fallback:"Helvetica-Oblique"}],["Calibri-BoldItalic",{alias:"Calibri",style:Jh,fallback:"Helvetica-BoldOblique"}],["Wingdings",{local:["Wingdings","URW Dingbats"],style:Pa}],["Wingdings-Regular",{alias:"Wingdings"}],["Wingdings-Bold",{alias:"Wingdings"}],["ËÎÌå",{local:["SimSun","SimSun Regular","NSimSun"],style:Pa,ultimate:"serif"}],["ºÚÌå",{local:["SimHei","SimHei Regular"],style:Pa,ultimate:"sans-serif"}],["¿¬Ìå",{local:["KaiTi","SimKai","SimKai Regular"],style:Pa,ultimate:"sans-serif"}],["·ÂËÎ",{local:["FangSong","SimFang","SimFang Regular"],style:Pa,ultimate:"serif"}],["¿¬Ìå_GB2312",{alias:"¿¬Ìå"}],["·ÂËÎ_GB2312",{alias:"·ÂËÎ"}],["Á¥Êé",{local:["SimLi","SimLi Regular"],style:Pa,ultimate:"serif"}],["ÐÂËÎ",{alias:"ËÎÌå"}]]),xQ=new Map([["Arial-Black","ArialBlack"]]);function v$(s){switch(s){case Yh:return"Bold";case Qh:return"Italic";case Jh:return"Bold Italic";default:if((s==null?void 0:s.weight)==="bold")return"Bold";if((s==null?void 0:s.style)==="italic")return"Italic"}return""}m(v$,"getStyleToAppend");function $j(s){const t=new Set(["thin","extralight","ultralight","demilight","semilight","light","book","regular","normal","medium","demibold","semibold","bold","extrabold","ultrabold","black","heavy","extrablack","ultrablack","roman","italic","oblique","ultracondensed","extracondensed","condensed","semicondensed","normal","semiexpanded","expanded","extraexpanded","ultraexpanded","bolditalic"]);return s.split(/[- ,+]+/g).filter(e=>!t.has(e.toLowerCase())).join(" ")}m($j,"getFamilyName");function D3({alias:s,local:t,path:e,fallback:i,style:n,ultimate:a},r,o,l=!0,c=!0,h=""){const u={style:null,ultimate:null};if(t){const d=h?` ${h}`:"";for(const p of t)r.push(`local(${p}${d})`)}if(s){const d=zm.get(s),p=h||v$(n);Object.assign(u,D3(d,r,o,l&&!i,c&&!e,p))}if(n&&(u.style=n),a&&(u.ultimate=a),l&&i){const d=zm.get(i),{ultimate:p}=D3(d,r,o,l,c&&!e,h);u.ultimate||(u.ultimate=p)}return c&&e&&o&&r.push(`url(${o}${e})`),u}m(D3,"generateFont");function Vj(s,t,e,i,n,a){if(i.startsWith("InvalidPDFjsFont_"))return null;(a==="TrueType"||a==="Type1")&&/^[A-Z]{6}\+/.test(i)&&(i=i.slice(7)),i=tc(i);const r=i;let o=s.get(r);if(o)return o;let l=zm.get(i);if(!l){for(const[w,y]of xQ)if(i.startsWith(w)){i=`${y}${i.substring(w.length)}`,l=zm.get(i);break}}let c=!1;l||(l=zm.get(n),c=!0);const h=`${t.getDocId()}_s${t.createFontId()}`;if(!l){if(!i3(i))return H(`Cannot substitute the font because of its name: ${i}`),s.set(r,null),null;const w=/bold/gi.test(i),y=/oblique|italic/gi.test(i),j=w&&y&&Jh||w&&Yh||y&&Qh||Pa;return o={css:`"${$j(i)}",${h}`,guessFallback:!0,loadedName:h,baseFontName:i,src:`local(${i})`,style:j},s.set(r,o),o}const u=[];c&&i3(i)&&u.push(`local(${i})`);const{style:d,ultimate:p}=D3(l,u,e),g=p===null,b=g?"":`,${p}`;return o={css:`"${$j(i)}",${h}${b}`,guessFallback:g,loadedName:h,baseFontName:i,src:u.join(","),style:d},s.set(r,o),o}m(Vj,"getFontSubstitution");const M_=3285377520,Ma=4294901760,Wr=65535;var bd;let AQ=(bd=class{constructor(t){this.h1=t?t&4294967295:M_,this.h2=t?t&4294967295:M_}update(t){let e,i;if(typeof t=="string"){e=new Uint8Array(t.length*2),i=0;for(let b=0,w=t.length;b>>8,e[i++]=y&255)}}else if(ArrayBuffer.isView(t))e=t.slice(),i=e.byteLength;else throw new Error("Invalid data format, must be a string or TypedArray.");const n=i>>2,a=i-n*4,r=new Uint32Array(e.buffer,0,n);let o=0,l=0,c=this.h1,h=this.h2;const u=3432918353,d=461845907,p=u&Wr,g=d&Wr;for(let b=0;b>>17,o=o*d&Ma|o*g&Wr,c^=o,c=c<<13|c>>>19,c=c*5+3864292196):(l=r[b],l=l*u&Ma|l*p&Wr,l=l<<15|l>>>17,l=l*d&Ma|l*g&Wr,h^=l,h=h<<13|h>>>19,h=h*5+3864292196);switch(o=0,a){case 3:o^=e[n*4+2]<<16;case 2:o^=e[n*4+1]<<8;case 1:o^=e[n*4],o=o*u&Ma|o*p&Wr,o=o<<15|o>>>17,o=o*d&Ma|o*g&Wr,n&1?c^=o:h^=o}this.h1=c,this.h2=h}hexdigest(){let t=this.h1,e=this.h2;return t^=e>>>1,t=t*3981806797&Ma|t*36045&Wr,e=e*4283543511&Ma|((e<<16|t>>>16)*2950163797&Ma)>>>16,t^=e>>>1,t=t*444984403&Ma|t*60499&Wr,e=e*3301882366&Ma|((e<<16|t>>>16)*3120437893&Ma)>>>16,t^=e>>>1,(t>>>0).toString(16).padStart(8,"0")+(e>>>0).toString(16).padStart(8,"0")}},m(bd,"MurmurHash3_64"),bd);var t2,Wj;const ef=class ef{constructor({xref:t,res:e,image:i,isInline:n=!1,smask:a=null,mask:r=null,isMask:o=!1,pdfFunctionFactory:l,globalColorSpaceCache:c,localColorSpaceCache:h}){T(this,t2);var y,j;this.image=i;const u=i.dict,d=u.get("F","Filter");let p;if(d instanceof at)p=d.name;else if(Array.isArray(d)){const k=t.fetchIfRef(d[0]);k instanceof at&&(p=k.name)}switch(p){case"JPXDecode":({width:i.width,height:i.height,componentsCount:i.numComps,bitsPerComponent:i.bitsPerComponent}=pp.parseImageProperties(i.stream)),i.stream.reset();const k=wr.getReducePowerForJPX(i.width,i.height,i.numComps);if(this.jpxDecoderOptions={numComponents:0,isIndexedColormap:!1,smaskInData:u.has("SMaskInData"),reducePower:k},k){const q=2**k;i.width=Math.ceil(i.width/q),i.height=Math.ceil(i.height/q)}break;case"JBIG2Decode":i.bitsPerComponent=1,i.numComps=1;break}let g=u.get("W","Width"),b=u.get("H","Height");if(Number.isInteger(i.width)&&i.width>0&&Number.isInteger(i.height)&&i.height>0&&(i.width!==g||i.height!==b))H("PDFImage - using the Width/Height of the image data, rather than the image dictionary."),g=i.width,b=i.height;else{const k=typeof g=="number"&&g>0,q=typeof b=="number"&&b>0;if(!k||!q){if(!i.fallbackDims)throw new tt(`Invalid image width: ${g} or height: ${b}`);H("PDFImage - using the Width/Height of the parent image, for SMask/Mask data."),k||(g=i.fallbackDims.width),q||(b=i.fallbackDims.height)}}this.width=g,this.height=b,this.interpolate=u.get("I","Interpolate"),this.imageMask=u.get("IM","ImageMask")||!1,this.matte=u.get("Matte")||!1;let w=i.bitsPerComponent;if(!w&&(w=u.get("BPC","BitsPerComponent"),!w))if(this.imageMask)w=1;else throw new tt(`Bits per component missing in image: ${this.imageMask}`);if(this.bpc=w,this.imageMask)this.numComps=1;else{let k=u.getRaw("CS")||u.getRaw("ColorSpace");const q=!!k;if(q)(y=this.jpxDecoderOptions)!=null&&y.smaskInData&&(k=at.get("DeviceRGBA"));else if(this.jpxDecoderOptions)k=at.get("DeviceRGBA");else switch(i.numComps){case 1:k=at.get("DeviceGray");break;case 3:k=at.get("DeviceRGB");break;case 4:k=at.get("DeviceCMYK");break;default:throw new Error(`Images with ${i.numComps} color components not supported.`)}this.colorSpace=ke.parse({cs:k,xref:t,resources:n?e:null,pdfFunctionFactory:l,globalColorSpaceCache:c,localColorSpaceCache:h}),this.numComps=this.colorSpace.numComps,this.jpxDecoderOptions&&(this.jpxDecoderOptions.numComponents=q?this.numComps:0,this.jpxDecoderOptions.isIndexedColormap=this.colorSpace.name==="Indexed")}if(this.decode=u.getArray("D","Decode"),this.needsDecode=!1,this.decode&&(this.colorSpace&&!this.colorSpace.isDefaultDecode(this.decode,w)||o&&!Qi.isDefaultDecode(this.decode,1))){this.needsDecode=!0;const k=(1<0,l=(n+7>>3)*a,c=await t.getImageData(l),h=n===1&&a===1&&o===(c.length===0||!!(c[0]&128));if(h)return{isSingleOpaquePixel:h};if(e){if(wr.needsToBeResized(n,a)){const k=new Uint8ClampedArray(n*a*4);return r3({src:c,dest:k,width:n,height:a,nonBlackColor:0,inverseDecode:o}),wr.createImage({kind:Ai.RGBA_32BPP,data:k,width:n,height:a,interpolate:r})}const b=new OffscreenCanvas(n,a),w=b.getContext("2d"),y=w.createImageData(n,a);r3({src:c,dest:y.data,width:n,height:a,nonBlackColor:0,inverseDecode:o}),w.putImageData(y,0,0);const j=b.transferToImageBitmap();return{data:null,width:n,height:a,interpolate:r,bitmap:j}}const u=c.byteLength,d=l===u;let p;if(t instanceof Ei&&(!o||d)?p=c:o?(p=new Uint8Array(l),p.set(c),p.fill(255,u)):p=new Uint8Array(c),o)for(let b=0;b>7&1,l[u+1]=p>>6&1,l[u+2]=p>>5&1,l[u+3]=p>>4&1,l[u+4]=p>>3&1,l[u+5]=p>>2&1,l[u+6]=p>>1&1,l[u+7]=p&1,u+=8;if(u>=1}}else{let g=0;for(p=0,u=0,d=r;u>b;w<0?w=0:w>h&&(w=h),l[u]=w,p&=(1<this.smask.fillGrayBuffer(o,{...l,destWidth:e,destHeight:i}),"apply");else if(this.mask)if(this.mask instanceof ef)r=m((o,l)=>this.mask.fillGrayBuffer(o,{...l,invertOutput:!0,destWidth:e,destHeight:i}),"apply");else if(Array.isArray(this.mask))r=m((o,{maxRows:l,offset:c,stride:h})=>{for(let u=0,d=e*l;uthis.mask[y+1]){p=255;break}}o[u*h+c]=p}},"apply");else throw new tt("Unknown mask format.");else r=m((o,{maxRows:l,offset:c,stride:h})=>{for(let u=0,d=e*l;u>3,u=e&&wr.needsToBeResized(i,n);if(!this.smask&&!this.mask&&this.colorSpace.name==="DeviceRGBA"){a.kind=Ai.RGBA_32BPP;const A=a.data=await this.getImageBytes(l*o*4,{internal:e&&u});return e?u?wr.createImage(a,!1):this.createBitmap(Ai.RGBA_32BPP,i,n,A):a}if(!t){let A;if(this.colorSpace.name==="DeviceGray"&&c===1?A=Ai.GRAYSCALE_1BPP:this.colorSpace.name==="DeviceRGB"&&c===8&&!this.needsDecode&&(A=Ai.RGB_24BPP),A&&!this.smask&&!this.mask&&i===o&&n===l){const I=await S(this,t2,Wj).call(this,o,l);if(I)return I;const C=await this.getImageBytes(l*h,{internal:e&&u});if(e)return u?wr.createImage({data:C,kind:A,width:i,height:n,interpolate:this.interpolate},this.needsDecode):this.createBitmap(A,o,l,C);if(a.kind=A,a.data=C,this.needsDecode){ss(A===Ai.GRAYSCALE_1BPP,"PDFImage.createImageData: The image must be grayscale.");const F=a.data;for(let E=0,D=F.length;E>3,p=await this.getImageBytes(h*d,{internal:!0}),g=this.getComponents(p),b=e??c,w=i??h,y=b!==c||w!==h,j=a===void 0?w:Math.min(w,a);let k=c,q=0,A=null;if(y){k=b,q=h/w;const F=c/b;A=new Uint32Array(b);for(let E=0;E0&&i[0].count++}m(o5,"addCachedImageOps");const sf=class sf{constructor(){this.reset()}check(){return++this.checked!isFinite(j))&&(d=null);let p,g;c.has("OC")&&(p=await this.parseMarkedContentProps(c.get("OC"),t)),p!==void 0&&n.addOp(B.beginMarkedContentProps,["OC",p]);const b=c.get("Group");if(b){g={matrix:h,bbox:d,smask:i,isolated:!1,knockout:!1};const j=b.get("S");let k=null;if(we(j,"Transparency")&&(g.isolated=b.get("I")||!1,g.knockout=b.get("K")||!1,b.has("CS"))){const q=this._getColorSpace(b.getRaw("CS"),t,o);k=q instanceof Qi?q:await this._handleColorSpace(q)}i!=null&&i.backdrop&&(k||(k=ke.rgb),i.backdrop=k.getRgbHex(i.backdrop,0)),n.addOp(B.beginGroup,[g])}const w=[h&&new Float32Array(h),!b&&d||null];n.addOp(B.paintFormXObjectBegin,w);const y=c.get("Resources");await this.getOperatorList({stream:e,task:a,resources:y instanceof z?y:t,operatorList:n,initialState:r,prevRefs:l}),n.addOp(B.paintFormXObjectEnd,[]),b&&n.addOp(B.endGroup,[g]),p!==void 0&&n.addOp(B.endMarkedContent,[])}_sendImgData(t,e,i=!1){const n=e?[e.bitmap||e.data.buffer]:null;return this.parsingType3Font||i?this.handler.send("commonobj",[t,"Image",e],n):this.handler.send("obj",[t,this.pageIndex,"Image",e],n)}async buildPaintImageXObject({resources:t,image:e,isInline:i=!1,operatorList:n,cacheKey:a,localImageCache:r,localColorSpaceCache:o}){const{maxImageSize:l,ignoreErrors:c,isOffscreenCanvasSupported:h}=this.options,{dict:u}=e,d=u.objId,p=u.get("W","Width"),g=u.get("H","Height");if(!(p&&typeof p=="number")||!(g&&typeof g=="number")){H("Image dimensions are missing, or not numbers.");return}if(l!==-1&&p*g>l){const E="Image exceeded maximum allowed size and was removed.";if(!c)throw new Error(E);H(E);return}let b;u.has("OC")&&(b=await this.parseMarkedContentProps(u.get("OC"),t));const w=u.get("IM","ImageMask")||!1;let y,j,k;if(w){if(y=await _m.createMask({image:e,isOffscreenCanvasSupported:h&&!this.parsingType3Font}),y.isSingleOpaquePixel){if(j=B.paintSolidColorImageMask,k=[],n.addImageOps(j,k,b),a){const D={fn:j,args:k,optionalContent:b};r.set(a,d,D),d&&this._regionalImageCache.set(null,d,D)}return}if(this.parsingType3Font){if(k=GG(y),k){n.addImageOps(B.constructPath,k,b);return}H("Cannot compile Type3 glyph."),n.addImageOps(B.paintImageMaskXObject,[y],b);return}const E=`mask_${this.idFactory.createObjId()}`;if(n.addDependency(E),y.dataLen=y.bitmap?y.width*y.height*4:y.data.length,this._sendImgData(E,y),j=B.paintImageMaskXObject,k=[{data:E,width:y.width,height:y.height,interpolate:y.interpolate,count:1}],n.addImageOps(j,k,b),a){const D={objId:E,fn:j,args:k,optionalContent:b};r.set(a,d,D),d&&this._regionalImageCache.set(null,d,D)}return}const q=200,A=u.has("SMask")||u.has("Mask");if(i&&p+g25e4||A){const E=await this.handler.sendWithPromise("commonobj",[I,"CopyLocalImage",{imageRef:d}]);if(E){this.globalImageCache.setData(d,F),this.globalImageCache.addByteSize(d,E);return}}}if(_m.buildImage({xref:this.xref,res:t,image:e,isInline:i,pdfFunctionFactory:this._pdfFunctionFactory,globalColorSpaceCache:this.globalColorSpaceCache,localColorSpaceCache:o}).then(async E=>(y=await E.createImageData(!1,h),y.dataLen=y.bitmap?y.width*y.height*4:y.data.length,y.ref=d,C&&this.globalImageCache.addByteSize(d,y.dataLen),this._sendImgData(I,y,C))).catch(E=>(H(`Unable to decode image "${I}": "${E}".`),d&&this.globalImageCache.addDecodeFailed(d),this._sendImgData(I,null,C))),a){const E={objId:I,fn:j,args:k,optionalContent:b,hasMask:A};r.set(a,d,E),d&&(this._regionalImageCache.set(null,d,E),C&&(ss(F,"The global cache-data must be available."),this.globalImageCache.setData(d,F)))}}handleSMask(t,e,i,n,a,r,o){const l=t.get("G"),c={subtype:t.get("S").name,backdrop:t.get("BC")},h=t.get("TR");if(a5(h)){const u=this._pdfFunctionFactory.create(h),d=new Uint8Array(256),p=new Float32Array(1);for(let g=0;g<256;g++)p[0]=g/255,u(p,0,p,0),d[g]=p[0]*255|0;c.transferMap=d}return this.buildFormXObject(e,l,c,i,n,a.state.clone({newPath:!0}),r,o)}handleTransferFunction(t){let e;if(Array.isArray(t))e=t,t.length>1&&t.every(r=>r===t[0])&&(e=[t[0]]);else if(a5(t))e=[t];else return null;const i=[];let n=0,a=0;for(const r of e){const o=this.xref.fetchIfRef(r);if(n++,we(o,"Identity")){i.push(null);continue}else if(!a5(o))return null;const l=this._pdfFunctionFactory.create(o),c=new Uint8Array(256),h=new Float32Array(1);for(let u=0;u<256;u++)h[0]=u/255,l(h,0,h,0),c[u]=h[0]*255|0;i.push(c),a++}return!(n===1||n===4)||a===0?null:i}handleTilingType(t,e,i,n,a,r,o,l){const c=new dn,h=z.merge({xref:this.xref,dictArray:[a.get("Resources"),i]});return this.getOperatorList({stream:n,task:o,resources:h,operatorList:c}).then(function(){const u=c.getIR(),d=Tj(u,a,e);r.addDependencies(c.dependencies),r.addOp(t,d),a.objId&&l.set(null,a.objId,{operatorListIR:u,dict:a})}).catch(u=>{if(!(u instanceof Gi)){if(this.options.ignoreErrors){H(`handleTilingType - ignoring pattern: "${u}".`);return}throw u}})}async handleSetFont(t,e,i,n,a,r,o=null,l=null){const c=(e==null?void 0:e[0])instanceof at?e[0].name:null,h=await this.loadFont(c,i,t,a,o,l);return h.font.isType3Font&&n.addDependencies(h.type3Dependencies),r.font=h.font,h.send(this.handler),h.loadedName}handleText(t,e){const i=e.font,n=i.charsToGlyphs(t);return i.data&&(e.textRenderingMode&uU.ADD_TO_PATH_FLAG||e.fillColorSpace.name==="Pattern"||e.strokeColorSpace.name==="Pattern"||i.disableFontFace)&&og.buildFontPaths(i,n,this.handler,this.options),n}ensureStateFont(t){if(t.font)return;const e=new tt("Missing setFont (Tf) operator before text rendering operator.");if(this.options.ignoreErrors){H(`ensureStateFont: "${e}".`);return}throw e}async setGState({resources:t,gState:e,operatorList:i,cacheKey:n,task:a,stateManager:r,localGStateCache:o,localColorSpaceCache:l,seenRefs:c}){const h=e.objId;let u=!0;const d=[];let p=Promise.resolve();for(const[g,b]of e)switch(g){case"Type":break;case"LW":if(typeof b!="number"){H(`Invalid LW (line width): ${b}`);break}d.push([g,Math.abs(b)]);break;case"LC":case"LJ":case"ML":case"D":case"RI":case"FL":case"CA":case"ca":d.push([g,b]);break;case"Font":u=!1,p=p.then(()=>this.handleSetFont(t,null,b[0],i,a,r.state).then(function(y){i.addDependency(y),d.push([g,[y,b[1]]])}));break;case"BM":d.push([g,sF(b)]);break;case"SMask":if(we(b,"None")){d.push([g,!1]);break}b instanceof z?(u=!1,p=p.then(()=>this.handleSMask(b,t,i,a,r,l,c)),d.push([g,!0])):H("Unsupported SMask type");break;case"TR":const w=this.handleTransferFunction(b);d.push([g,w]);break;case"OP":case"op":case"OPM":case"BG":case"BG2":case"UCR":case"UCR2":case"TR2":case"HT":case"SM":case"SA":case"AIS":case"TK":ne("graphic state operator "+g);break;default:ne("Unknown graphic state operator "+g);break}await p,d.length>0&&i.addOp(B.setGState,[d]),u&&o.set(n,h,d)}loadFont(t,e,i,n,a=null,r=null){var w;const o=m(async()=>new Um({loadedName:"g_font_error",font:new S3(`Font "${t}" is not available.`),dict:e}),"errorFont");let l;if(e)e instanceof ft&&(l=e);else{const y=i.get("Font");y&&(l=y.getRaw(t))}if(l){if((w=this.type3FontRefs)!=null&&w.has(l))return o();if(this.fontCache.has(l))return this.fontCache.get(l);try{e=this.xref.fetchIfRef(l)}catch(y){H(`loadFont - lookup failed: "${y}".`)}}if(!(e instanceof z)){if(!this.options.ignoreErrors&&!this.parsingType3Font)return H(`Font "${t}" is not available.`),o();H(`Font "${t}" is not available -- attempting to fallback to a default font.`),e=a||og.fallbackFontDict}if(e.cacheKey&&this.fontCache.has(e.cacheKey))return this.fontCache.get(e.cacheKey);const{promise:c,resolve:h}=Promise.withResolvers();let u;try{u=this.preEvaluateFont(e),u.cssFontInfo=r}catch(y){return H(`loadFont - preEvaluateFont failed: "${y}".`),o()}const{descriptor:d,hash:p}=u,g=l instanceof ft;let b;if(p&&d instanceof z){const y=d.fontAliases||(d.fontAliases=Object.create(null));if(y[p]){const j=y[p].aliasRef;if(g&&j&&this.fontCache.has(j))return this.fontCache.putAlias(l,j),this.fontCache.get(l)}else y[p]={fontID:this.idFactory.createFontId()};g&&(y[p].aliasRef=l),b=y[p].fontID}else b=this.idFactory.createFontId();return ss(b==null?void 0:b.startsWith("f"),'The "fontID" must be (correctly) defined.'),g?this.fontCache.put(l,c):(e.cacheKey=`cacheKey_${b}`,this.fontCache.put(e.cacheKey,c)),e.loadedName=`${this.idFactory.getDocId()}_${b}`,this.translateFont(u).then(async y=>{const j=new Um({loadedName:e.loadedName,font:y,dict:e});if(y.isType3Font)try{await j.loadType3Data(this,i,n)}catch(k){throw new Error(`Type3 font load error: ${k}`)}h(j)}).catch(y=>{H(`loadFont - translateFont failed: "${y}".`),h(new Um({loadedName:e.loadedName,font:new S3(y==null?void 0:y.message),dict:e}))}),c}buildPath(t,e,i){const{pathMinMax:n,pathBuffer:a}=i;switch(t|0){case B.rectangle:{const r=i.currentPointX=e[0],o=i.currentPointY=e[1],l=e[2],c=e[3],h=r+l,u=o+c;l===0||c===0?a.push(ts.moveTo,r,o,ts.lineTo,h,u,ts.closePath):a.push(ts.moveTo,r,o,ts.lineTo,h,o,ts.lineTo,h,u,ts.lineTo,r,u,ts.closePath),Te.rectBoundingBox(r,o,h,u,n);break}case B.moveTo:{const r=i.currentPointX=e[0],o=i.currentPointY=e[1];a.push(ts.moveTo,r,o),Te.pointBoundingBox(r,o,n);break}case B.lineTo:{const r=i.currentPointX=e[0],o=i.currentPointY=e[1];a.push(ts.lineTo,r,o),Te.pointBoundingBox(r,o,n);break}case B.curveTo:{const r=i.currentPointX,o=i.currentPointY,[l,c,h,u,d,p]=e;i.currentPointX=d,i.currentPointY=p,a.push(ts.curveTo,l,c,h,u,d,p),Te.bezierBoundingBox(r,o,l,c,h,u,d,p,n);break}case B.curveTo2:{const r=i.currentPointX,o=i.currentPointY,[l,c,h,u]=e;i.currentPointX=h,i.currentPointY=u,a.push(ts.curveTo,r,o,l,c,h,u),Te.bezierBoundingBox(r,o,r,o,l,c,h,u,n);break}case B.curveTo3:{const r=i.currentPointX,o=i.currentPointY,[l,c,h,u]=e;i.currentPointX=h,i.currentPointY=u,a.push(ts.curveTo,l,c,h,u,h,u),Te.bezierBoundingBox(r,o,l,c,h,u,h,u,n);break}case B.closePath:a.push(ts.closePath);break}}_getColorSpace(t,e,i){return ke.parse({cs:t,xref:this.xref,resources:e,pdfFunctionFactory:this._pdfFunctionFactory,globalColorSpaceCache:this.globalColorSpaceCache,localColorSpaceCache:i,asyncIfNotCached:!0})}async _handleColorSpace(t){try{return await t}catch(e){if(e instanceof Gi)return null;if(this.options.ignoreErrors)return H(`_handleColorSpace - ignoring ColorSpace: "${e}".`),null;throw e}}parseShading({shading:t,resources:e,localColorSpaceCache:i,localShadingPatternCache:n}){let a=n.get(t);if(a)return a;let r;try{r=qj.parseShading(t,this.xref,e,this._pdfFunctionFactory,this.globalColorSpaceCache,i,this.options.prepareWebGPU).getIR()}catch(o){if(o instanceof Gi)return null;if(this.options.ignoreErrors)return H(`parseShading - ignoring shading: "${o}".`),n.set(t,null),null;throw o}if(a=`pattern_${this.idFactory.createObjId()}`,this.parsingType3Font&&(a=`${this.idFactory.getDocId()}_type3_${a}`),n.set(t,a),this.parsingType3Font){const o=HG(r);this.handler.send("commonobj",[a,"Pattern",o],[o])}else this.handler.send("obj",[a,this.pageIndex,"Pattern",r]);return a}handleColorN(t,e,i,n,a,r,o,l,c,h){const u=i.pop();if(u instanceof at){const d=a.getRaw(u.name),p=d instanceof ft&&c.getByRef(d);if(p)try{const b=n.base?n.base.getRgbHex(i,0):null,w=Tj(p.operatorListIR,p.dict,b);t.addOp(e,w);return}catch{}const g=this.xref.fetchIfRef(d);if(g){const b=g instanceof Qt?g.dict:g,w=b.get("PatternType");if(w===B_.TILING){const y=n.base?n.base.getRgbHex(i,0):null;return this.handleTilingType(e,y,r,g,b,t,o,c)}else if(w===B_.SHADING){const y=b.get("Shading"),j=this.parseShading({shading:y,resources:r,localColorSpaceCache:l,localShadingPatternCache:h});if(j){const k=Hl(b.getArray("Matrix"),null);t.addOp(e,["Shading",j,k])}return}throw new tt(`Unknown PatternType: ${w}`)}}throw new tt(`Unknown PatternName: ${u}`)}_parseVisibilityExpression(t,e,i){if(++e>10){H("Visibility expression is too deeply nested");return}const n=t.length,a=this.xref.fetchIfRef(t[0]);if(n<2||!(a instanceof at)){H("Invalid visibility expression");return}switch(a.name){case"And":case"Or":case"Not":i.push(a.name);break;default:H(`Invalid operator ${a.name} in visibility expression`);return}for(let r=1;r0)return{type:"OCMD",expression:l}}const o=i.get("OCGs");if(Array.isArray(o)||o instanceof z){const l=[];if(Array.isArray(o))for(const c of o)l.push(c.toString());else l.push(o.objId);return{type:n,ids:l,policy:i.get("P")instanceof at?i.get("P").name:null,expression:null}}else if(o instanceof ft)return{type:n,id:o.toString()}}return null}async getOperatorList({stream:t,task:e,resources:i,operatorList:n,initialState:a=null,fallbackFontDict:r=null,prevRefs:o=null}){var C;if(t.isAsync){const F=await t.asyncGetBytes();F&&(t=new Ne(F,0,F.length,t.dict))}const l=(C=t.dict)==null?void 0:C.objId,c=new is(o);if(l){if(o!=null&&o.has(l))throw new Error(`getOperatorList - ignoring circular reference: ${l}`);c.put(l)}if(i||(i=z.empty),a||(a=new H3),!n)throw new Error('getOperatorList: missing "operatorList" parameter');const h=this,u=this.xref,d=new C3,p=new I3,g=new T3,b=new Mj,w=new Map,y=i.get("XObject")||z.empty,j=i.get("Pattern")||z.empty,k=new Z1(a),q=new gp(t,u,k),A=new P3;function I(F){for(let E=0,D=q.savedStatesDepth;E{k.state.fillColorSpace=J||ke.gray}));return}case B.setStrokeColorSpace:{const P=h._getColorSpace(Y[0],i,p);if(P instanceof Qi){k.state.strokeColorSpace=P;continue}M(h._handleColorSpace(P).then(J=>{k.state.strokeColorSpace=J||ke.gray}));return}case B.setFillColor:$=k.state.fillColorSpace,Y=[$.getRgbHex(Y,0)],dt=B.setFillRGBColor;break;case B.setStrokeColor:$=k.state.strokeColorSpace,Y=[$.getRgbHex(Y,0)],dt=B.setStrokeRGBColor;break;case B.setFillGray:k.state.fillColorSpace=ke.gray,Y=[ke.gray.getRgbHex(Y,0)],dt=B.setFillRGBColor;break;case B.setStrokeGray:k.state.strokeColorSpace=ke.gray,Y=[ke.gray.getRgbHex(Y,0)],dt=B.setStrokeRGBColor;break;case B.setFillCMYKColor:k.state.fillColorSpace=ke.cmyk,Y=[ke.cmyk.getRgbHex(Y,0)],dt=B.setFillRGBColor;break;case B.setStrokeCMYKColor:k.state.strokeColorSpace=ke.cmyk,Y=[ke.cmyk.getRgbHex(Y,0)],dt=B.setStrokeRGBColor;break;case B.setFillRGBColor:k.state.fillColorSpace=ke.rgb,Y=[ke.rgb.getRgbHex(Y,0)];break;case B.setStrokeRGBColor:k.state.strokeColorSpace=ke.rgb,Y=[ke.rgb.getRgbHex(Y,0)];break;case B.setFillColorN:if($=k.state.patternFillColorSpace,!$){if(fn(Y,null)){Y=[ke.gray.getRgbHex(Y,0)],dt=B.setFillRGBColor;break}Y=[],dt=B.setFillTransparent;break}if($.name==="Pattern"){M(h.handleColorN(n,B.setFillColorN,Y,$,j,i,e,p,b,w));return}Y=[$.getRgbHex(Y,0)],dt=B.setFillRGBColor;break;case B.setStrokeColorN:if($=k.state.patternStrokeColorSpace,!$){if(fn(Y,null)){Y=[ke.gray.getRgbHex(Y,0)],dt=B.setStrokeRGBColor;break}Y=[],dt=B.setStrokeTransparent;break}if($.name==="Pattern"){M(h.handleColorN(n,B.setStrokeColorN,Y,$,j,i,e,p,b,w));return}Y=[$.getRgbHex(Y,0)],dt=B.setStrokeRGBColor;break;case B.shadingFill:let _t;try{const P=i.get("Shading");if(!P)throw new tt("No shading resource found");if(_t=P.get(Y[0].name),!_t)throw new tt("No shading object found")}catch(P){if(P instanceof Gi)continue;if(h.options.ignoreErrors){H(`getOperatorList - ignoring Shading: "${P}".`);continue}throw P}const U=h.parseShading({shading:_t,resources:i,localColorSpaceCache:p,localShadingPatternCache:w});if(!U)continue;Y=[U],dt=B.shadingFill;break;case B.setGState:if(rt=Y[0]instanceof at,V=Y[0].name,rt){const P=g.getByName(V);if(P){P.length>0&&n.addOp(B.setGState,[P]),Y=null;continue}}M(new Promise(function(P,J){if(!rt)throw new tt("GState must be referred to by name.");const st=i.get("ExtGState");if(!(st instanceof z))throw new tt("ExtGState should be a dictionary.");const ct=st.get(V);if(!(ct instanceof z))throw new tt("GState should be a dictionary.");h.setGState({resources:i,gState:ct,operatorList:n,cacheKey:V,task:e,stateManager:k,localGStateCache:g,localColorSpaceCache:p,seenRefs:c}).then(P,J)}).catch(function(P){if(!(P instanceof Gi)){if(h.options.ignoreErrors){H(`getOperatorList - ignoring ExtGState: "${P}".`);return}throw P}}));return;case B.setLineWidth:{const[P]=Y;if(typeof P!="number"){H(`Invalid setLineWidth: ${P}`);continue}Y[0]=Math.abs(P);break}case B.setDash:{const P=Y[1];if(typeof P!="number"){H(`Invalid setDash: ${P}`);continue}const J=Y[0];if(!Array.isArray(J)){H(`Invalid setDash: ${J}`);continue}J.some(st=>typeof st!="number")&&(Y[0]=J.filter(st=>typeof st=="number"));break}case B.moveTo:case B.lineTo:case B.curveTo:case B.curveTo2:case B.curveTo3:case B.closePath:case B.rectangle:h.buildPath(dt,Y,k.state);continue;case B.stroke:case B.closeStroke:case B.fill:case B.eoFill:case B.fillStroke:case B.eoFillStroke:case B.closeFillStroke:case B.closeEOFillStroke:case B.endPath:{const{state:{pathBuffer:P,pathMinMax:J}}=k;(dt===B.closeStroke||dt===B.closeFillStroke||dt===B.closeEOFillStroke)&&P.push(ts.closePath),P.length===0?n.addOp(B.constructPath,[dt,[null],null]):(n.addOp(B.constructPath,[dt,[new Float32Array(P)],J.slice()]),P.length=0,J.set([1/0,1/0,-1/0,-1/0],0));continue}case B.setTextMatrix:n.addOp(dt,[new Float32Array(Y)]);continue;case B.markPoint:case B.markPointProps:case B.beginCompat:case B.endCompat:continue;case B.beginMarkedContentProps:if(!(Y[0]instanceof at)){H(`Expected name for beginMarkedContentProps arg0=${Y[0]}`),n.addOp(B.beginMarkedContentProps,["OC",null]);continue}if(Y[0].name==="OC"){M(h.parseMarkedContentProps(Y[1],i).then(P=>{n.addOp(B.beginMarkedContentProps,["OC",P])}).catch(P=>{if(!(P instanceof Gi)){if(h.options.ignoreErrors){H(`getOperatorList - ignoring beginMarkedContentProps: "${P}".`),n.addOp(B.beginMarkedContentProps,["OC",null]);return}throw P}}));return}Y=[Y[0].name,Y[1]instanceof z?Y[1].get("MCID"):null];break;case B.beginMarkedContent:case B.endMarkedContent:default:if(Y!==null){for(K=0,it=Y.length;K{if(!(F instanceof Gi)){if(this.options.ignoreErrors){H(`getOperatorList - ignoring errors during "${e.name}" task: "${F}".`),I();return}throw F}})}async getTextContent({stream:t,task:e,resources:i,stateManager:n=null,includeMarkedContent:a=!1,sink:r,seenStyles:o=new Set,viewBox:l,lang:c=null,markedContentData:h=null,disableNormalization:u=!1,keepWhiteSpace:d=!1,prevRefs:p=null,intersector:g=null}){var Gt;if(t.isAsync){const wt=await t.asyncGetBytes();wt&&(t=new Ne(wt,0,wt.length,t.dict))}const b=(Gt=t.dict)==null?void 0:Gt.objId,w=new is(p);if(b){if(p!=null&&p.has(b))throw new Error(`getTextContent - ignoring circular reference: ${b}`);w.put(b)}i||(i=z.empty),n||(n=new Z1(new Kj)),a&&(h||(h={level:0}));const y={items:[],styles:Object.create(null),lang:c},j={initialized:!1,str:[],totalWidth:0,totalHeight:0,width:0,height:0,vertical:!1,prevTransform:null,prevTextRise:0,textAdvanceScale:0,spaceInFlowMin:0,spaceInFlowMax:0,trackingSpaceMin:1/0,negativeSpaceMax:-1/0,notASpace:-1/0,transform:null,fontName:null,hasEOL:!1},k=[" "," "];let q=0;function A(wt){const xt=(q+1)%2,At=k[q]!==" "&&k[xt]===" ";return k[q]=wt,q=xt,!d&&At}m(A,"saveLastChar");function I(){return!d&&k[q]!==" "&&k[(q+1)%2]===" "}m(I,"shouldAddWhitepsace");function C(){k[0]=k[1]=" ",q=0}m(C,"resetLastChars");const F=.102,E=.03,D=-.2,M=.102,_=.6,G=.25,K=this,it=this.xref,$=[];let V=null;const rt=new C3,Y=new T3,dt=new gp(t,it,n);let et,Ct;function Tt({width:wt=0,height:xt=0,transform:At=j.prevTransform,fontName:Mt=j.fontName}){g==null||g.addExtraChar(" "),y.items.push({str:" ",dir:"ltr",width:wt,height:xt,transform:At,fontName:Mt,hasEOL:!1})}m(Tt,"pushWhitespace");function Dt(){const wt=et.font,xt=[et.fontSize*et.textHScale,0,0,et.fontSize,0,et.textRise];if(wt.isType3Font&&(et.fontSize<=1||wt.isCharBBox)&&!hp(et.fontMatrix,zu)){const At=wt.bbox[3]-wt.bbox[1];At>0&&(xt[3]*=At*et.fontMatrix[3])}return Te.transform(et.ctm,Te.transform(et.textMatrix,xt))}m(Dt,"getCurrentTextTransform");function _t(){if(j.initialized)return j;const{font:wt,loadedName:xt}=et;if(!o.has(xt)&&(o.add(xt),y.styles[xt]={fontFamily:wt.fallbackName,ascent:wt.ascent,descent:wt.descent,vertical:wt.vertical},K.options.fontExtraProperties&&wt.systemFontInfo)){const Ft=y.styles[xt];Ft.fontSubstitution=wt.systemFontInfo.css,Ft.fontSubstitutionLoadedName=wt.systemFontInfo.loadedName}j.fontName=xt;const At=j.transform=Dt();wt.vertical?(j.width=j.totalWidth=Math.hypot(At[0],At[1]),j.height=j.totalHeight=0,j.vertical=!0):(j.width=j.totalWidth=0,j.height=j.totalHeight=Math.hypot(At[2],At[3]),j.vertical=!1);const Mt=Math.hypot(et.textLineMatrix[0],et.textLineMatrix[1]),St=Math.hypot(et.ctm[0],et.ctm[1]);j.textAdvanceScale=St*Mt;const{fontSize:gt}=et;return j.trackingSpaceMin=gt*F,j.notASpace=gt*E,j.negativeSpaceMax=gt*D,j.spaceInFlowMin=gt*M,j.spaceInFlowMax=gt*_,j.hasEOL=!1,j.initialized=!0,j}m(_t,"ensureTextContentItem");function U(){if(!j.initialized)return;const wt=Math.hypot(et.textLineMatrix[0],et.textLineMatrix[1]),xt=Math.hypot(et.ctm[0],et.ctm[1])*wt;xt!==j.textAdvanceScale&&(j.vertical?(j.totalHeight+=j.height*j.textAdvanceScale,j.height=0):(j.totalWidth+=j.width*j.textAdvanceScale,j.width=0),j.textAdvanceScale=xt)}m(U,"updateAdvanceScale");function P(wt){let xt=wt.str.join("");u||(xt=vU(xt));const At=eF(xt,-1,wt.vertical);return{str:At.str,dir:At.dir,width:Math.abs(wt.totalWidth),height:Math.abs(wt.totalHeight),transform:wt.transform,fontName:wt.fontName,hasEOL:wt.hasEOL}}m(P,"runBidiTransform");async function J(wt,xt){const At=await K.loadFont(wt,xt,i,e);et.loadedName=At.loadedName,et.font=At.font,et.fontMatrix=At.font.fontMatrix||zu}m(J,"handleSetFont");function st(wt,xt,At){const Mt=Math.hypot(At[0],At[1]);return[(At[0]*wt+At[1]*xt)/Mt,(At[2]*wt+At[3]*xt)/Mt]}m(st,"applyInverseRotation");function ct(wt){var bs;const xt=Dt();let At=xt[4],Mt=xt[5];if((bs=et.font)!=null&&bs.vertical){if(Atl[2]||Mt+wtl[3])return!1}else if(At+wtl[2]||Mtl[3])return!1;if(!et.font||!j.prevTransform)return!0;let St=j.prevTransform[4],gt=j.prevTransform[5];if(St===At&>===Mt)return!0;let Ft=-1;switch(xt[0]&&xt[1]===0&&xt[2]===0?Ft=xt[0]>0?0:180:xt[1]&&xt[0]===0&&xt[3]===0&&(Ft=xt[1]>0?90:270),Ft){case 0:break;case 90:[At,Mt]=[Mt,At],[St,gt]=[gt,St];break;case 180:[At,Mt,St,gt]=[-At,-Mt,-St,-gt];break;case 270:[At,Mt]=[-Mt,-At],[St,gt]=[-gt,-St];break;default:[At,Mt]=st(At,Mt,xt),[St,gt]=st(St,gt,j.prevTransform)}if(et.font.vertical){const Be=(gt-Mt)/j.textAdvanceScale,ve=At-St,Zi=Math.sign(j.height||j.totalHeight);return Be.5*j.width?(vt(),!0):(C(),Bt(),!0):Math.abs(ve)>j.width?(vt(),!0):(Be<=Zi*j.notASpace&&C(),Be<=Zi*j.trackingSpaceMin?I()?(C(),Bt(),Tt({height:Math.abs(Be)})):j.height+=Be:ot(Be,j.prevTransform,Zi)||(j.str.length===0?(C(),Tt({height:Math.abs(Be)})):j.height+=Be),Math.abs(ve)>j.width*G&&Bt(),!0)}const Zt=(At-St)/j.textAdvanceScale,pt=Mt-gt,Vt=Math.sign(j.width||j.totalWidth);if(Zt.5*j.height?(vt(),!0):(C(),Bt(),!0);const Lt=et.textRise-j.prevTextRise,ae=Lt===0?pt:pt-xt[3]/et.fontSize*Lt;return Math.abs(ae)>j.height?(vt(),!0):(Zt<=Vt*j.notASpace&&C(),Zt<=Vt*j.trackingSpaceMin?I()?(C(),Bt(),Tt({width:Math.abs(Zt)})):j.width+=Zt:ot(Zt,j.prevTransform,Vt)||(j.str.length===0?(C(),Tt({width:Math.abs(Zt)})):j.width+=Zt),Math.abs(pt)>j.height*G&&Bt(),!0)}m(ct,"compareWithLastPosition");function qt({chars:wt,extraSpacing:xt}){Ct!==et&&(Ct.fontSize!==et.fontSize||Ct.fontName!==et.fontName&&(Ct.font.name!==et.font.name||Ct.font.vertical!==et.font.vertical))&&(Bt(),Ct=et.clone());const At=et.font,Mt=At.vertical?-et.charSpacing:et.charSpacing;if(!wt){const Ft=Mt+xt;Ft&&(At.vertical?et.translateTextMatrix(0,-Ft):et.translateTextMatrix(Ft*et.textHScale,0)),d&&ct(0);return}const St=At.charsToGlyphs(wt),gt=et.fontMatrix[0]*et.fontSize;for(let Ft=0,Zt=St.length;Ft0){const ve=$.join("");$.length=0,qt({chars:ve,extraSpacing:0})}break;case B.showText:if(!n.state.font){K.ensureStateFont(n.state);continue}qt({chars:pt[0],extraSpacing:0});break;case B.nextLineShowText:if(!n.state.font){K.ensureStateFont(n.state);continue}et.carriageReturn(),qt({chars:pt[0],extraSpacing:0});break;case B.nextLineSetSpacingShowText:if(!n.state.font){K.ensureStateFont(n.state);continue}et.wordSpacing=pt[0],et.charSpacing=pt[1],et.carriageReturn(),qt({chars:pt[2],extraSpacing:0});break;case B.paintXObject:if(Bt(),V??(V=i.get("XObject")||z.empty),Zt=pt[0]instanceof at,Ft=pt[0].name,Zt&&rt.getByName(Ft))break;Mt(new Promise(function(ve,Zi){if(!Zt)throw new tt("XObject must be referred to by name.");let Js=V.getRaw(Ft);if(Js instanceof ft){if(rt.getByRef(Js)){ve();return}if(K.globalImageCache.getData(Js,K.pageIndex)){ve();return}Js=it.fetch(Js)}if(!(Js instanceof Qt))throw new tt("XObject should be a stream");const{dict:Mn}=Js,_o=Mn.get("Subtype");if(!(_o instanceof at))throw new tt("XObject should have a Name subtype");if(_o.name!=="Form"){rt.set(Ft,Mn.objId,!0),ve();return}const x9=n.state.clone(),Mp=new Z1(x9),Bp=Hl(Mn.getArray("Matrix"),null);Bp&&Mp.transform(Bp);const Dp=Mn.get("Resources");Wt();const Pp={enqueueInvoked:!1,enqueue(f1,Hp){this.enqueueInvoked=!0,r.enqueue(f1,Hp)},get desiredSize(){return r.desiredSize??0},get ready(){return r.ready}};K.getTextContent({stream:Js,task:e,resources:Dp instanceof z?Dp:i,stateManager:Mp,includeMarkedContent:a,sink:r&&Pp,seenStyles:o,viewBox:l,lang:c,markedContentData:h,disableNormalization:u,keepWhiteSpace:d,prevRefs:w}).then(function(){Pp.enqueueInvoked||rt.set(Ft,Mn.objId,!0),ve()},Zi)}).catch(function(ve){if(!(ve instanceof Gi)){if(K.options.ignoreErrors){H(`getTextContent - ignoring XObject: "${ve}".`);return}throw ve}}));return;case B.setGState:if(Zt=pt[0]instanceof at,Ft=pt[0].name,Zt&&Y.getByName(Ft))break;Mt(new Promise(function(ve,Zi){if(!Zt)throw new tt("GState must be referred to by name.");const Js=i.get("ExtGState");if(!(Js instanceof z))throw new tt("ExtGState should be a dictionary.");const Mn=Js.get(Ft);if(!(Mn instanceof z))throw new tt("GState should be a dictionary.");const _o=Mn.get("Font");if(!_o){Y.set(Ft,Mn.objId,!0),ve();return}Bt(),et.fontName=null,et.fontSize=_o[1],J(null,_o[0]).then(ve,Zi)}).catch(function(ve){if(!(ve instanceof Gi)){if(K.options.ignoreErrors){H(`getTextContent - ignoring ExtGState: "${ve}".`);return}throw ve}}));return;case B.beginMarkedContent:Bt(),a&&(h.level++,y.items.push({type:"beginMarkedContent",tag:pt[0]instanceof at?pt[0].name:null}));break;case B.beginMarkedContentProps:if(Bt(),a){h.level++;let ve=null;pt[1]instanceof z&&(ve=pt[1].get("MCID")),y.items.push({type:"beginMarkedContentProps",id:Number.isInteger(ve)?`${K.idFactory.getPageObjId()}_mc${ve}`:null,tag:pt[0]instanceof at?pt[0].name:null})}break;case B.endMarkedContent:if(Bt(),a){if(h.level===0)break;h.level--,y.items.push({type:"endMarkedContent"})}break}if(y.items.length>=((r==null?void 0:r.desiredSize)??1)){gt=!0;break}}if(gt){Mt(D_);return}Bt(),Wt(),xt()},"promiseBody")).catch(wt=>{if(!(wt instanceof Gi)){if(this.options.ignoreErrors){H(`getTextContent - ignoring errors during "${e.name}" task: "${wt}".`),Bt(),Wt();return}throw wt}})}async extractDataStructures(t,e){var d;const i=this.xref;let n;const a=this.readToUnicode(e.toUnicode);if(e.composite){const p=t.get("CIDSystemInfo");p instanceof z&&!e.cidSystemInfo&&(e.cidSystemInfo={registry:ce(p.get("Registry")),ordering:ce(p.get("Ordering")),supplement:p.get("Supplement")});try{const g=t.get("CIDToGIDMap");g instanceof Qt&&(n=g.getBytes())}catch(g){if(!this.options.ignoreErrors)throw g;H(`extractDataStructures - ignoring CIDToGIDMap data: "${g}".`)}}const r=[];let o=null,l;if(t.has("Encoding")){if(l=t.get("Encoding"),l instanceof z){if(o=l.get("BaseEncoding"),o=o instanceof at?o.name:null,l.has("Differences")){const p=l.get("Differences");let g=0;for(const b of p){const w=i.fetchIfRef(b);if(typeof w=="number")g=w;else if(w instanceof at)r[g++]=w.name;else throw new tt(`Invalid entry in 'Differences' array: ${w}`)}}}else if(l instanceof at)o=l.name;else{const p="Encoding is not a Name nor a Dict";if(!this.options.ignoreErrors)throw new tt(p);H(p)}o!=="MacRomanEncoding"&&o!=="MacExpertEncoding"&&o!=="WinAnsiEncoding"&&(o=null)}const c=!e.file||e.isInternalFont,h=J7()[e.name];if(o&&c&&h&&(o=null),o==="WinAnsiEncoding"&&c&&((d=e.name)==null?void 0:d.charCodeAt(0))>=183){const p=e.name;if(["ËÎÌå","ºÚÌå","¿¬Ìå","·ÂËÎ","¿¬Ìå_GB2312","·ÂËÎ_GB2312","Á¥Êé","ÐÂËÎ","·ÂËÎÌå","С±êËÎ"].includes(p)){o=null,e.defaultEncoding="Adobe-GB1-UCS2",e.composite=!0,e.cidEncoding=at.get("GBK-EUC-H");const g=await Xh.create({encoding:e.cidEncoding,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null});e.cMap=g,e.vertical=e.cMap.vertical,e.cidSystemInfo={registry:"Adobe",ordering:"GB1",supplement:0}}}if(o)e.defaultEncoding=mp(o);else{let p=!!(e.flags&Br.Symbolic);const g=!!(e.flags&Br.Nonsymbolic);e.type==="TrueType"&&p&&g&&r.length!==0&&(e.flags&=-5,p=!1),l=Ul,e.type==="TrueType"&&!g&&(l=Hg),(p||h)&&(l=$T,c&&(/Symbol/i.test(e.name)?l=VT:/Dingbats/i.test(e.name)?l=WT:/Wingdings/i.test(e.name)&&(l=Hg))),e.defaultEncoding=l}e.differences=r,e.baseEncodingName=o,e.hasEncoding=!!o||r.length>0,e.dict=t,e.toUnicode=await a;const u=await this.buildToUnicode(e);return e.toUnicode=u,n&&(e.cidToGidMap=this.readCidToGidMap(n,u)),e}_simpleFontToUnicode(t,e=!1){ss(!t.composite,"Must be a simple font.");const i=[],n=t.defaultEncoding.slice(),a=t.baseEncodingName,r=t.differences;for(const l in r){const c=r[l];c!==".notdef"&&(n[l]=c)}const o=Eo();for(const l in n){let c=n[l];if(c==="")continue;let h=o[c];if(h!==void 0){i[l]=String.fromCharCode(h);continue}let u=0;switch(c[0]){case"G":c.length===3&&(u=parseInt(c.substring(1),16));break;case"g":c.length===5&&(u=parseInt(c.substring(1),16));break;case"C":case"c":if(c.length>=3&&c.length<=4){const d=c.substring(1);if(e){u=parseInt(d,16);break}if(u=+d,Number.isNaN(u)&&Number.isInteger(parseInt(d,16)))return this._simpleFontToUnicode(t,!0)}break;case"u":h=Zu(c,o),h!==-1&&(u=h);break;default:switch(c){case"f_h":case"f_t":case"T_h":i[l]=c.replaceAll("_","");continue}break}if(u>0&&u<=1114111&&Number.isInteger(u)){if(a&&u===+l){const d=mp(a);if(d&&(c=d[l])){i[l]=String.fromCharCode(o[c]);continue}}i[l]=String.fromCodePoint(u)}}return i}async buildToUnicode(t){var e,i;if(t.hasIncludedToUnicodeMap=((e=t.toUnicode)==null?void 0:e.length)>0,t.hasIncludedToUnicodeMap)return!t.composite&&t.hasEncoding&&(t.fallbackToUnicode=this._simpleFontToUnicode(t)),t.toUnicode;if(!t.composite)return new uf(this._simpleFontToUnicode(t));if(t.composite&&(t.cMap.builtInCMap&&!(t.cMap instanceof Uu)||((i=t.cidSystemInfo)==null?void 0:i.registry)==="Adobe"&&(t.cidSystemInfo.ordering==="GB1"||t.cidSystemInfo.ordering==="CNS1"||t.cidSystemInfo.ordering==="Japan1"||t.cidSystemInfo.ordering==="Korea1"))){const{registry:n,ordering:a}=t.cidSystemInfo,r=at.get(`${n}-${a}-UCS2`),o=await Xh.create({encoding:r,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null}),l=[],c=[];return t.cMap.forEach(function(h,u){if(u>65535)throw new tt("Max size of CID is 65,535");const d=o.lookup(u);if(d){c.length=0;for(let p=0,g=d.length;p>1;r===0&&!e.has(o)||(i[o]=r)}return i}extractWidths(t,e,i){const n=this.xref;let a=[],r=0;const o=[];let l;if(i.composite){const u=t.get("DW");r=typeof u=="number"?Math.ceil(u):1e3;const d=t.get("W");if(Array.isArray(d))for(let p=0,g=d.length;p{const q=c.get(k),A=new dn;return r.getOperatorList({stream:q,task:i,resources:h,operatorList:A}).then(()=>{switch(A.fnArray[0]){case B.setCharWidthAndBounds:S(this,Sp,k$).call(this,A,j);break;case B.setCharWidth:j||S(this,Sp,q$).call(this,A);break}u[k]=A.getIR();for(const I of A.dependencies)a.add(I)}).catch(function(I){H(`Type3 font resource "${k}" is not available.`);const C=new dn;u[k]=C.getIR()})});return x(this,wf,l.then(()=>{n.charProcOperatorList=u,this._bbox&&(n.isCharBBox=!0,n.bbox=this._bbox)})),f(this,wf)}};e2=new WeakMap,wf=new WeakMap,Sp=new WeakSet,k$=function(t,e=NaN){const i=Te.normalizeRect(t.argsArray[0].slice(2)),n=i[2]-i[0],a=i[3]-i[1],r=Math.hypot(n,a);n===0||a===0?(t.fnArray.splice(0,1),t.argsArray.splice(0,1)):(e===0||Math.round(r/e)>=10)&&(this._bbox??(this._bbox=[1/0,1/0,-1/0,-1/0]),Te.rectBoundingBox(...i,this._bbox));let o=0,l=t.length;for(;o=B.moveTo&&r<=B.endPath,a.variableArgs)l>o&&ne(`Command ${n}: expected [0, ${o}] args, but received ${l} args.`);else{if(l!==o){const c=this.nonProcessedArgs;for(;l>o;)c.push(e.shift()),l--;for(;lnf.MAX_INVALID_PATH_OPS)throw new tt(`Invalid ${c}`);H(`Skipping ${c}`),e!==null&&(e.length=0);continue}}return this.preprocessCommand(r,e),t.fn=r,t.args=e,!0}if(i===Ci)return!1;if(i!==null&&(e===null&&(e=[]),e.push(i),e.length>33))throw new tt("Too many arguments")}}preprocessCommand(t,e){switch(t|0){case B.save:this.stateManager.save();break;case B.restore:this.stateManager.restore();break;case B.transform:this.stateManager.transform(e);break}}};m(nf,"EvaluatorPreprocessor"),R(nf,"MAX_INVALID_PATH_OPS",10);let gp=nf;const GR=class GR extends gp{constructor(t){super(new Fi(t))}parse(){const t={fn:0,args:[]},e={fontSize:0,fontName:"",fontColor:new Uint8ClampedArray(3)};try{for(;t.args.length=0,!!this.read(t);){if(this.savedStatesDepth!==0)continue;const{fn:i,args:n}=t;switch(i|0){case B.setFont:const[a,r]=n;a instanceof at&&(e.fontName=a.name),typeof r=="number"&&r>0&&(e.fontSize=r);break;case B.setFillRGBColor:ke.rgb.getRgbItem(n,0,e.fontColor,0);break;case B.setFillGray:ke.gray.getRgbItem(n,0,e.fontColor,0);break;case B.setFillCMYKColor:ke.cmyk.getRgbItem(n,0,e.fontColor,0);break}}}catch(i){H(`parseDefaultAppearance - ignoring errors: "${i}".`)}return e}};m(GR,"DefaultAppearanceEvaluator");let Xj=GR;function x8(s){return new Xj(s).parse()}m(x8,"parseDefaultAppearance");const $R=class $R extends gp{constructor(t,e,i,n){var a;super(t),this.stream=t,this.evaluatorOptions=e,this.xref=i,this.globalColorSpaceCache=n,this.resources=(a=t.dict)==null?void 0:a.get("Resources")}parse(){const t={fn:0,args:[]};let e={scaleFactor:1,fontSize:0,fontName:"",fontColor:new Uint8ClampedArray(3),fillColorSpace:ke.gray},i=!1;const n=[];try{for(;t.args.length=0,!(i||!this.read(t));){const{fn:a,args:r}=t;switch(a|0){case B.save:n.push({scaleFactor:e.scaleFactor,fontSize:e.fontSize,fontName:e.fontName,fontColor:e.fontColor.slice(),fillColorSpace:e.fillColorSpace});break;case B.restore:e=n.pop()||e;break;case B.setTextMatrix:e.scaleFactor*=Math.hypot(r[0],r[1]);break;case B.setFont:const[o,l]=r;o instanceof at&&(e.fontName=o.name),typeof l=="number"&&l>0&&(e.fontSize=l*e.scaleFactor);break;case B.setFillColorSpace:e.fillColorSpace=ke.parse({cs:r[0],xref:this.xref,resources:this.resources,pdfFunctionFactory:this._pdfFunctionFactory,globalColorSpaceCache:this.globalColorSpaceCache,localColorSpaceCache:this._localColorSpaceCache});break;case B.setFillColor:e.fillColorSpace.getRgbItem(r,0,e.fontColor,0);break;case B.setFillRGBColor:ke.rgb.getRgbItem(r,0,e.fontColor,0);break;case B.setFillGray:ke.gray.getRgbItem(r,0,e.fontColor,0);break;case B.setFillCMYKColor:ke.cmyk.getRgbItem(r,0,e.fontColor,0);break;case B.showText:case B.showSpacedText:case B.nextLineShowText:case B.nextLineSetSpacingShowText:i=!0;break}}}catch(a){H(`parseAppearanceStream - ignoring errors: "${a}".`)}return this.stream.reset(),delete e.scaleFactor,delete e.fillColorSpace,e}get _localColorSpaceCache(){return mt(this,"_localColorSpaceCache",new I3)}get _pdfFunctionFactory(){const t=new F3({xref:this.xref,isEvalSupported:this.evaluatorOptions.isEvalSupported});return mt(this,"_pdfFunctionFactory",t)}};m($R,"AppearanceStreamEvaluator");let Yj=$R;function x$(s,t,e,i){return new Yj(s,t,e,i).parse()}m(x$,"parseAppearanceStream");function Ur(s,t){if(s[0]===s[1]&&s[1]===s[2]){const e=s[0]/255;return`${me(e)} ${t?"g":"G"}`}return Array.from(s,e=>me(e/255)).join(" ")+` ${t?"rg":"RG"}`}m(Ur,"getPdfColor");function A$({fontSize:s,fontName:t,fontColor:e}){return`/${y8(t)} ${s} Tf ${Ur(e,!0)}`}m(A$,"createDefaultAppearance");var y4;const vc=class vc{constructor(t,e){this.xref=t,this.widths=null,this.firstChar=1/0,this.lastChar=-1/0,this.fontFamily=e;const i=new OffscreenCanvas(1,1);this.ctxMeasure=i.getContext("2d",{willReadFrequently:!0}),this.fontName=at.get(`InvalidPDFjsFont_${e}_${Gs(vc,y4)._++}`)}get fontDescriptorRef(){if(!vc._fontDescriptorRef){const t=new z(this.xref);t.setIfName("Type","FontDescriptor"),t.set("FontName",this.fontName),t.set("FontFamily","MyriadPro Regular"),t.set("FontBBox",[0,0,0,0]),t.setIfName("FontStretch","Normal"),t.set("FontWeight",400),t.set("ItalicAngle",0),vc._fontDescriptorRef=this.xref.getNewPersistentRef(t)}return vc._fontDescriptorRef}get descendantFontRef(){const t=new z(this.xref);t.set("BaseFont",this.fontName),t.setIfName("Type","Font"),t.setIfName("Subtype","CIDFontType0"),t.setIfName("CIDToGIDMap","Identity"),t.set("FirstChar",this.firstChar),t.set("LastChar",this.lastChar),t.set("FontDescriptor",this.fontDescriptorRef),t.set("DW",1e3);const e=[],i=[...this.widths].sort();let n=null,a=null;for(const[o,l]of i){if(!n){n=o,a=[l];continue}o===n+a.length?a.push(l):(e.push(n,a),n=o,a=[l])}n&&e.push(n,a),t.set("W",e);const r=new z(this.xref);return r.set("Ordering","Identity"),r.set("Registry","Adobe"),r.set("Supplement",0),t.set("CIDSystemInfo",r),this.xref.getNewPersistentRef(t)}get baseFontRef(){const t=new z(this.xref);return t.set("BaseFont",this.fontName),t.setIfName("Type","Font"),t.setIfName("Subtype","Type0"),t.setIfName("Encoding","Identity-H"),t.set("DescendantFonts",[this.descendantFontRef]),t.setIfName("ToUnicode","Identity-H"),this.xref.getNewPersistentRef(t)}get resources(){const t=new z(this.xref),e=new z(this.xref);return e.set(this.fontName.name,this.baseFontRef),t.set("Font",e),t}_createContext(){return this.widths=new Map,this.ctxMeasure.font=`1000px ${this.fontFamily}`,this.ctxMeasure}createFontResources(t){const e=this._createContext();for(const i of t.split(/\r\n?|\n/))for(const n of i.split("")){const a=n.charCodeAt(0);if(this.widths.has(a))continue;const r=e.measureText(n),o=Math.ceil(r.width);this.widths.set(a,o),this.firstChar=Math.min(a,this.firstChar),this.lastChar=Math.max(a,this.lastChar)}return this.resources}static getFirstPositionInfo(t,e,i){const[n,a,r,o]=t;let l=r-n,c=o-a;e%180!==0&&([l,c]=[c,l]);const h=zl*i,u=t3*i;return{coords:[0,c+u-h],bbox:[0,0,l,c],matrix:e!==0?Rg(e,c,h):void 0}}createAppearance(t,e,i,n,a,r){const o=this._createContext(),l=[];let c=-1/0;for(const G of t.split(/\r\n?|\n/)){l.push(G);const K=o.measureText(G).width;c=Math.max(c,K);for(const it of TU(G)){const $=String.fromCodePoint(it);let V=this.widths.get(it);if(V===void 0){const rt=o.measureText($);V=Math.ceil(rt.width),this.widths.set(it,V),this.firstChar=Math.min(it,this.firstChar),this.lastChar=Math.max(it,this.lastChar)}}}c*=n/1e3;const[h,u,d,p]=e;let g=d-h,b=p-u;i%180!==0&&([g,b]=[b,g]);let w=1;c>g&&(w=g/c);let y=1;const j=zl*n,k=t3*n,q=j*l.length;q>b&&(y=b/q);const A=Math.min(w,y),I=n*A,C=["q",`0 0 ${me(g)} ${me(b)} re W n`,"BT",`1 0 0 1 0 ${me(b+k)} Tm 0 Tc ${Ur(a,!0)}`,`/${this.fontName.name} ${me(I)} Tf`],{resources:F}=this;if(r=typeof r=="number"&&r>=0&&r<=1?r:1,r!==1){C.push("/R0 gs");const G=new z(this.xref),K=new z(this.xref);K.set("ca",r),K.set("CA",r),K.setIfName("Type","ExtGState"),G.set("R0",K),F.set("ExtGState",G)}const E=me(j);for(const G of l)C.push(`0 -${E} Td <${RU(G)}> Tj`);C.push("ET","Q");const D=C.join(` +`),M=new z(this.xref);if(M.setIfName("Subtype","Form"),M.setIfName("Type","XObject"),M.set("BBox",[0,0,g,b]),M.set("Length",D.length),M.set("Resources",F),i){const G=Rg(i,g,b);M.set("Matrix",G)}const _=new Fi(D);return _.dict=M,_}};y4=new WeakMap,m(vc,"FakeUnicodeFont"),T(vc,y4,1);let Kg=vc;const IQ=["m/d","m/d/yy","mm/dd/yy","mm/yy","d-mmm","d-mmm-yy","dd-mmm-yy","yy-mm-dd","mmm-yy","mmmm-yy","mmm d, yyyy","mmmm d, yyyy","m/d/yy h:MM tt","m/d/yy HH:MM"],TQ=["HH:MM","h:MM tt","HH:MM:ss","h:MM:ss tt"],VR=class VR{constructor(t,e,i){this.root=t,this.xref=e,this._type=i}getAll(t=!1){const e=new Map;if(!this.root)return e;const i=this.xref,n=new is;this.root instanceof ft&&n.put(this.root);const a=[this.root];for(;a.length>0;){const r=i.fetchIfRef(a.shift());if(!(r instanceof z))continue;if(r.has("Kids")){const l=r.get("Kids");if(!Array.isArray(l))continue;for(const c of l){if(c instanceof ft){if(n.has(c))throw new tt(`Duplicate entry in "${this._type}" tree.`);n.put(c)}a.push(c)}continue}const o=r.get(this._type);if(Array.isArray(o))for(let l=0,c=o.length;la)return H(`Search depth limit reached for "${this._type}" tree.`),null;const o=i.get("Kids");if(!Array.isArray(o))return null;let l=0,c=o.length-1;for(;l<=c;){const h=l+c>>1,u=e.fetchIfRef(o[h]),d=u.get("Limits");if(te.fetchIfRef(d[1]))l=h+1;else{i=u;break}}if(l>c)return null}const r=i.get(this._type);if(Array.isArray(r)){let o=0,l=r.length-2;for(;o<=l;){const c=o+l>>1,h=c+(c&1),u=e.fetchIfRef(r[h]);if(tu)o=h+2;else return r[h+1]}}return null}get(t){return this.xref.fetchIfRef(this.getRaw(t))}};m(VR,"NameOrNumberTree");let O3=VR;const WR=class WR extends O3{constructor(t,e){super(t,e,"Names")}};m(WR,"NameTree");let Zo=WR;const KR=class KR extends O3{constructor(t,e){super(t,e,"Nums")}};m(KR,"NumberTree");let t1=KR;function A8(){u$(),qU(),UG(),up.cleanup(),pp.cleanup()}m(A8,"clearGlobalCaches");function Qj(s){if(s instanceof z){for(const t of["UF","F","Unix","Mac","DOS"])if(s.has(t))return s.get(t)}return null}m(Qj,"pickPlatformItem");var s2;const XR=class XR{constructor(t,e=!1){T(this,s2,!1);t instanceof z&&(this.root=t,t.has("FS")&&(this.fs=t.get("FS")),t.has("RF")&&H("Related file specifications are not supported"),e||(t.has("EF")?x(this,s2,!0):H("Non-embedded file specifications are not supported")))}get filename(){const t=Qj(this.root);return t&&typeof t=="string"?ce(t,!0).replaceAll("\\\\","\\").replaceAll("\\/","/").replaceAll("\\","/"):""}get content(){var e;if(!f(this,s2))return null;const t=Qj((e=this.root)==null?void 0:e.get("EF"));return t instanceof Qt?t.getBytes():(H("Embedded file specification points to non-existing/invalid content"),null)}get description(){var e;const t=(e=this.root)==null?void 0:e.get("Desc");return t&&typeof t=="string"?ce(t):""}get serializable(){const{filename:t,content:e,description:i}=this;return{rawFilename:t,filename:wU(t)||"unnamed",content:e,description:i}}};s2=new WeakMap,m(XR,"FileSpec");let Xg=XR;const $n={NoError:0,UnterminatedCdat:-2,UnterminatedXmlDeclaration:-3,UnterminatedDoctypeDeclaration:-4,UnterminatedComment:-5,MalformedElement:-6,UnterminatedElement:-9};function Zh(s,t){const e=s[t];return e===" "||e===` +`||e==="\r"||e===" "}m(Zh,"isWhitespace");function S$(s){for(let t=0,e=s.length;t{if(i.substring(0,2)==="#x")return String.fromCodePoint(parseInt(i.substring(2),16));if(i.substring(0,1)==="#")return String.fromCodePoint(parseInt(i.substring(1),10));switch(i){case"lt":return"<";case"gt":return">";case"amp":return"&";case"quot":return'"';case"apos":return"'"}return this.onResolveEntity(i)})}_parseContent(t,e){const i=[];let n=e;function a(){for(;n"&&t[n]!=="/";)++n;const r=t.substring(e,n);for(a();n"&&t[n]!=="/"&&t[n]!=="?";){a();let o="",l="";for(;n"&&t[i]!=="?"&&t[i]!=="/";)++i;const a=t.substring(e,i);n();const r=i;for(;i");)++i;const o=t.substring(r,i);return{name:a,value:o,parsed:i-e}}parseXml(t){let e=0;for(;e",n),r<0){this.onError($n.UnterminatedElement);return}this.onEndElement(t.substring(n,r)),n=r+1;break;case"?":++n;const o=this._parseProcessingInstruction(t,n);if(t.substring(n+o.parsed,n+o.parsed+2)!=="?>"){this.onError($n.UnterminatedXmlDeclaration);return}this.onPi(o.name,o.value),n+=o.parsed+2;break;case"!":if(t.substring(n+1,n+3)==="--"){if(r=t.indexOf("-->",n+3),r<0){this.onError($n.UnterminatedComment);return}this.onComment(t.substring(n+3,r)),n=r+3}else if(t.substring(n+1,n+8)==="[CDATA["){if(r=t.indexOf("]]>",n+8),r<0){this.onError($n.UnterminatedCdat);return}this.onCdata(t.substring(n+8,r)),n=r+3}else if(t.substring(n+1,n+8)==="DOCTYPE"){const h=t.indexOf("[",n+8);let u=!1;if(r=t.indexOf(">",n+8),r<0){this.onError($n.UnterminatedDoctypeDeclaration);return}if(h>0&&r>h){if(r=t.indexOf("]>",n+8),r<0){this.onError($n.UnterminatedDoctypeDeclaration);return}u=!0}const d=t.substring(n+8,r+(u?1:0));this.onDoctype(d),n=r+(u?2:1)}else{this.onError($n.MalformedElement);return}break;default:const l=this._parseContent(t,n);if(l===null){this.onError($n.MalformedElement);return}let c=!1;if(t.substring(n+l.parsed,n+l.parsed+2)==="/>")c=!0;else if(t.substring(n+l.parsed,n+l.parsed+1)!==">"){this.onError($n.UnterminatedElement);return}this.onBeginElement(l.name,l.attributes,c),n+=l.parsed+(c?2:1);break}}else{for(;nt.textContent).join(""):this.nodeValue||""}get children(){return this.childNodes||[]}hasChildNodes(){var t;return((t=this.childNodes)==null?void 0:t.length)>0}searchNode(t,e){var r;if(e>=t.length)return this;const i=t[e];if(i.name.startsWith("#")&&e0)n.push([a,0]),a=a.childNodes[0];else{if(n.length===0)return null;for(;n.length!==0;){const[o,l]=n.pop(),c=l+1;if(c");for(const e of this.childNodes)e.dump(t);t.push(``)}else this.nodeValue?t.push(`>${_u(this.nodeValue)}`):t.push("/>")}};m(QR,"SimpleDOMNode");let $u=QR;const JR=class JR extends N3{constructor({hasAttributes:t=!1,lowerCaseName:e=!1}){super(),this._currentFragment=null,this._stack=null,this._errorCode=$n.NoError,this._hasAttributes=t,this._lowerCaseName=e}parseFromString(t){if(this._currentFragment=[],this._stack=[],this._errorCode=$n.NoError,this.parseXml(t),this._errorCode!==$n.NoError)return;const[e]=this._currentFragment;if(e)return{documentElement:e}}onText(t){if(S$(t))return;const e=new $u("#text",t);this._currentFragment.push(e)}onCdata(t){const e=new $u("#text",t);this._currentFragment.push(e)}onBeginElement(t,e,i){this._lowerCaseName&&(t=t.toLowerCase());const n=new $u(t);n.childNodes=[],this._hasAttributes&&(n.attributes=e),this._currentFragment.push(n),!i&&(this._stack.push(this._currentFragment),this._currentFragment=n.childNodes)}onEndElement(t){this._currentFragment=this._stack.pop()||[];const e=this._currentFragment.at(-1);if(!e)return null;for(const i of e.childNodes)i.parentNode=e;return e}onError(t){this._errorCode=t}};m(JR,"SimpleXMLParser");let bp=JR;const ZR=class ZR{constructor(t){t=this._repair(t);const e=new bp({lowerCaseName:!0}).parseFromString(t);this._metadataMap=new Map,this._data=t,e&&this._parse(e)}_repair(t){return t.replace(/^[^<]+/,"").replaceAll(/>\\376\\377([^<]+)/g,function(e,i){const n=i.replaceAll(/\\([0-3])([0-7])([0-7])/g,function(r,o,l,c){return String.fromCharCode(o*64+l*8+c*1)}).replaceAll(/&(amp|apos|gt|lt|quot);/g,function(r,o){switch(o){case"amp":return"&";case"apos":return"'";case"gt":return">";case"lt":return"<";case"quot":return'"'}throw new Error(`_repair: ${o} isn't defined.`)}),a=[">"];for(let r=0,o=n.length;r=32&&l<127&&l!==60&&l!==62&&l!==38?a.push(String.fromCharCode(l)):a.push("&#x"+(65536+l).toString(16).substring(1)+";")}return a.join("")})}_getSequence(t){const e=t.nodeName;return e!=="rdf:bag"&&e!=="rdf:seq"&&e!=="rdf:alt"?null:t.childNodes.filter(i=>i.nodeName==="rdf:li")}_parseArray(t){if(!t.hasChildNodes())return;const[e]=t.childNodes,i=this._getSequence(e)||[];this._metadataMap.set(t.nodeName,i.map(n=>n.textContent.trim()))}_parse(t){let e=t.documentElement;if(e.nodeName!=="rdf:rdf")for(e=e.firstChild;e&&e.nodeName!=="rdf:rdf";)e=e.nextSibling;if(!(!e||e.nodeName!=="rdf:rdf"||!e.hasChildNodes())){for(const i of e.childNodes)if(i.nodeName==="rdf:description")for(const n of i.childNodes){const a=n.nodeName;switch(a){case"#text":continue;case"dc:creator":case"dc:subject":this._parseArray(n);continue}this._metadataMap.set(a,n.textContent.trim())}}}get serializable(){return{parsedData:this._metadataMap,rawData:this._data}}};m(ZR,"MetadataParser");let Jj=ZR;const P_=40,qa={PAGE_CONTENT:1,STREAM_CONTENT:2,OBJECT:3,ANNOTATION:4,ELEMENT:5};var v4,C$,lr,Zj,ty,I$,T$;const kc=class kc{constructor(t,e,i){T(this,v4);this.xref=t,this.dict=e,this.ref=i instanceof ft?i:null,this.roleMap=new Map,this.structParentIds=null,this.kidRefToPosition=void 0,this.parentTree=null}getKidPosition(t){if(this.kidRefToPosition===void 0){const e=this.dict.get("K");if(Array.isArray(e)){const i=this.kidRefToPosition=new Map;for(let n=0,a=e.length;n=0||(p.parentTreeId=i++),o=!1)}if(o){for(const h of e.values())for(const u of h)delete u.parentTreeId,delete u.structTreeParent;return!1}return!0}async updateStructureTree({newAnnotationsByPage:t,pdfManager:e,changes:i}){var p;const{ref:n,xref:a}=this,r=this.dict.clone(),o=new Os;o.put(n,r);let l=r.getRaw("ParentTree"),c;l instanceof ft?c=a.fetch(l):(c=l,l=a.getNewTemporaryRef(),r.set("ParentTree",l)),c=c.clone(),o.put(l,c);let h=c.getRaw("Nums"),u=null;h instanceof ft&&(u=h,h=a.fetch(u)),h=h.slice(),u||c.set("Nums",h);const d=await S(p=kc,lr,Zj).call(p,{newAnnotationsByPage:t,structTreeRootRef:n,structTreeRoot:this,kids:null,nums:h,xref:a,pdfManager:e,changes:i,cache:o});if(d!==-1){r.set("ParentTreeNextKey",d),u&&o.put(u,h);for(const[g,b]of o.items())i.put(g,{data:b})}}};v4=new WeakSet,C$=function(t,e,i){if(!(t instanceof ft)||e<0)return;this.structParentIds||(this.structParentIds=new Os);let n=this.structParentIds.get(t);n||(n=[],this.structParentIds.put(t,n)),n.push([e,i])},lr=new WeakSet,Zj=async function({newAnnotationsByPage:t,structTreeRootRef:e,structTreeRoot:i,kids:n,nums:a,xref:r,pdfManager:o,changes:l,cache:c}){var p,g;const h=at.get("OBJR");let u=-1,d;for(const[b,w]of t){const y=await o.getPage(b),{ref:j}=y,k=j instanceof ft;for(const{accessibilityData:q,ref:A,parentTreeId:I,structTreeParent:C}of w){if(!(q!=null&&q.type))continue;const{structParent:F}=q;if(i&&Number.isInteger(F)&&F>=0){let _=(d||(d=new Map)).get(b);_===void 0&&(_=new L3(i,y.pageDict).collectObjects(j),d.set(b,_));const G=_==null?void 0:_.get(F);if(G){const K=r.fetch(G).clone();S(p=kc,lr,ty).call(p,K,q),l.put(G,{data:K});continue}}u=Math.max(u,I);const E=r.getNewTemporaryRef(),D=new z(r);S(g=kc,lr,ty).call(g,D,q),await S(this,lr,T$).call(this,{structTreeParent:C,tagDict:D,newTagRef:E,structTreeRootRef:e,fallbackKids:n,xref:r,cache:c});const M=new z(r);D.set("K",M),M.set("Type",h),k&&M.set("Pg",j),M.set("Obj",A),c.put(E,D),a.push(I,E)}}return u+1},ty=function(t,{type:e,title:i,lang:n,alt:a,expanded:r,actualText:o}){t.set("S",at.get(e)),i&&t.set("T",Ii(i)),n&&t.set("Lang",Ii(n)),a&&t.set("Alt",Ii(a)),r&&t.set("E",Ii(r)),o&&t.set("ActualText",Ii(o))},I$=function({elements:t,xref:e,pageDict:i,numberTree:n}){const a=new Map;for(const c of t)if(c.structTreeParentId){const h=parseInt(c.structTreeParentId.split("_mc")[1],10);a.getOrInsertComputed(h,w8).push(c)}const r=i.get("StructParents");if(!Number.isInteger(r))return;const o=n.get(r),l=m((c,h,u)=>{const d=a.get(c);if(d){const p=h.getRaw("P"),g=e.fetchIfRef(p);if(p instanceof ft&&g instanceof z){const b={ref:u,dict:h};for(const w of d)w.structTreeParent=b}return!0}return!1},"updateElement");for(const c of o){if(!(c instanceof ft))continue;const h=e.fetch(c),u=h.get("K");if(Number.isInteger(u)){l(u,h,c);continue}if(Array.isArray(u))for(let d of u){if(d=e.fetchIfRef(d),Number.isInteger(d)&&l(d,h,c))break;if(!(d instanceof z))continue;if(!we(d.get("Type"),"MCR"))break;const p=d.get("MCID");if(Number.isInteger(p)&&l(p,h,c))break}}},T$=async function({structTreeParent:t,tagDict:e,newTagRef:i,structTreeRootRef:n,fallbackKids:a,xref:r,cache:o}){let l=null,c;t?({ref:l}=t,c=t.dict.getRaw("P")||n):c=n,e.set("P",c);const h=r.fetchIfRef(c);if(!h){a.push(i);return}let u=o.get(c);u||(u=h.clone(),o.put(c,u));const d=u.getRaw("K");let p=d instanceof ft?o.get(d):null;if(!p){p=r.fetchIfRef(d),p=Array.isArray(p)?p.slice():[d];const b=r.getNewTemporaryRef();u.set("K",b),o.put(b,p)}const g=p.indexOf(l);p.splice(g>=0?g+1:p.length,0,i)},T(kc,lr),m(kc,"StructTreeRoot");let Yg=kc;const tM=class tM{constructor(t,e){this.tree=t,this.xref=t.xref,this.dict=e,this.kids=[],this.parseKids()}get role(){const t=this.dict.get("S"),e=t instanceof at?t.name:"",{root:i}=this.tree;return i.roleMap.get(e)??e}get mathML(){let t=this.dict.get("AF")||[];Array.isArray(t)||(t=[t]);for(let i of t){if(i=this.xref.fetchIfRef(i),!(i instanceof z)||!we(i.get("Type"),"Filespec")||!we(i.get("AFRelationship"),"Supplement"))continue;const n=i.get("EF");if(!(n instanceof z))continue;const a=n.get("UF")||n.get("F");if(a instanceof Qt&&we(a.dict.get("Type"),"EmbeddedFile")&&we(a.dict.get("Subtype"),"application/mathml+xml"))return Xu(a.getString())}const e=this.dict.get("A");if(e instanceof z){const i=e.get("O");if(we(i,"MSFT_Office")){const n=e.get("MSFT_MathML");return n?ce(n):null}}return null}parseKids(){let t=null;const e=this.dict.getRaw("Pg");e instanceof ft&&(t=e.toString());const i=this.dict.get("K");if(Array.isArray(i))for(const n of i){const a=this.parseKid(t,this.xref.fetchIfRef(n));a&&this.kids.push(a)}else{const n=this.parseKid(t,i);n&&this.kids.push(n)}}parseKid(t,e){if(Number.isInteger(e))return this.tree.pageDict.objId!==t?null:new z1({type:qa.PAGE_CONTENT,mcid:e,pageObjId:t});if(!(e instanceof z))return null;const i=e.getRaw("Pg");i instanceof ft&&(t=i.toString());const n=e.get("Type")instanceof at?e.get("Type").name:null;if(n==="MCR"){if(this.tree.pageDict.objId!==t)return null;const a=e.getRaw("Stm");return new z1({type:qa.STREAM_CONTENT,refObjId:a instanceof ft?a.toString():null,pageObjId:t,mcid:e.get("MCID")})}if(n==="OBJR"){if(this.tree.pageDict.objId!==t)return null;const a=e.getRaw("Obj");return new z1({type:qa.OBJECT,refObjId:a instanceof ft?a.toString():null,pageObjId:t})}return new z1({type:qa.ELEMENT,dict:e})}};m(tM,"StructElementNode");let ey=tM;const eM=class eM{constructor({type:t,dict:e=null,mcid:i=null,pageObjId:n=null,refObjId:a=null}){this.type=t,this.dict=e,this.mcid=i,this.pageObjId=n,this.refObjId=a,this.parentNode=null}};m(eM,"StructElement");let z1=eM;const sM=class sM{constructor(t,e){this.root=t,this.xref=(t==null?void 0:t.xref)??null,this.rootDict=(t==null?void 0:t.dict)??null,this.pageDict=e,this.nodes=[]}collectObjects(t){var r;if(!this.root||!this.rootDict||!(t instanceof ft))return null;const e=this.rootDict.get("ParentTree");if(!e)return null;const i=(r=this.root.structParentIds)==null?void 0:r.get(t);if(!i)return null;const n=new Map,a=new t1(e,this.xref);for(const[o]of i){const l=a.getRaw(o);l instanceof ft&&n.set(o,l)}return n}parse(t){var r,o;if(!this.root||!this.rootDict||!(t instanceof ft))return;const{parentTree:e}=this.root;if(!e)return;const i=this.pageDict.get("StructParents"),n=(r=this.root.structParentIds)==null?void 0:r.get(t);if(!Number.isInteger(i)&&!n)return;const a=new Map;if(Number.isInteger(i)){const l=e.get(i);if(Array.isArray(l))for(const c of l)c instanceof ft&&this.addNode(this.xref.fetch(c),a)}if(n)for(const[l,c]of n){const h=e.get(l);if(h){const u=this.addNode(this.xref.fetchIfRef(h),a);((o=u==null?void 0:u.kids)==null?void 0:o.length)===1&&u.kids[0].type===qa.OBJECT&&(u.kids[0].type=c)}}}addNode(t,e,i=0){if(i>P_)return H("StructTree MAX_DEPTH reached."),null;if(!(t instanceof z))return null;if(e.has(t))return e.get(t);const n=new ey(this,t);switch(e.set(t,n),n.role){case"L":case"LBody":case"LI":case"Table":case"THead":case"TBody":case"TFoot":case"TR":for(const l of n.kids)l.type===qa.ELEMENT&&this.addNode(l.dict,e,i-1)}const a=t.get("P");if(!(a instanceof z)||we(a.get("Type"),"StructTreeRoot"))return this.addTopLevelNode(t,n)||e.delete(t),n;const r=this.addNode(a,e,i+1);if(!r)return n;let o=!1;for(const l of r.kids)l.type===qa.ELEMENT&&l.dict===t&&(l.parentNode=n,o=!0);return o||e.delete(t),n}addTopLevelNode(t,e){const i=this.root.getKidPosition(t.objId);return isNaN(i)?!1:(i!==-1&&(this.nodes[i]=e),!0)}get serializable(){function t(i,n,a=0){if(a>P_){H("StructTree too deep to be fully serialized.");return}const r=Object.create(null);r.role=i.role,r.children=[],n.children.push(r);let o=i.dict.get("Alt");if(typeof o!="string"&&(o=i.dict.get("ActualText")),typeof o=="string"&&(r.alt=ce(o)),r.role==="Formula"){const{mathML:h}=i;h&&(r.mathML=h)}const l=i.dict.get("A");if(l instanceof z){const h=Po(l.getArray("BBox"),null);if(h)r.bbox=h;else{const u=l.get("Width"),d=l.get("Height");typeof u=="number"&&u>0&&typeof d=="number"&&d>0&&(r.bbox=[0,0,u,d])}}const c=i.dict.get("Lang");typeof c=="string"&&(r.lang=ce(c));for(const h of i.kids){const u=h.type===qa.ELEMENT?h.parentNode:null;if(u){t(u,r,a+1);continue}else h.type===qa.PAGE_CONTENT||h.type===qa.STREAM_CONTENT?r.children.push({type:"content",id:`p${h.pageObjId}_mc${h.mcid}`}):h.type===qa.OBJECT?r.children.push({type:"object",id:h.refObjId}):h.type===qa.ANNOTATION&&r.children.push({type:"annotation",id:`${WX}${h.refObjId}`})}}m(t,"nodeToSerializable");const e=Object.create(null);e.children=[],e.role="Root";for(const i of this.nodes)i&&t(i,e);return e}};m(sM,"StructTreePage");let L3=sM;const FQ=m(s=>s instanceof ft,"isRef"),z3=kU.bind(null,FQ,we);function l5(s){return s instanceof z&&(s=s.get("D")),z3(s)?s:null}m(l5,"fetchDest");function sy(s){let t=s.get("D");if(t){if(t instanceof at&&(t=t.name),typeof t=="string")return ce(t,!0);if(z3(t))return JSON.stringify(t)}return null}m(sy,"fetchRemoteDest");var wd,De,_s,F$,E$,iy,R$,M$,B$,ny,D$,P$,k4,H$;const af=class af{constructor(t,e){T(this,_s);T(this,wd,null);T(this,De,null);R(this,"builtInCMapCache",new Map);R(this,"fontCache",new Os);R(this,"globalColorSpaceCache",new Dj);R(this,"globalImageCache",new Pj);R(this,"nonBlendModesSet",new is);R(this,"pageDictCache",new Os);R(this,"pageIndexCache",new Os);R(this,"pageKidsCountCache",new Os);R(this,"standardFontDataCache",new Map);R(this,"systemFontCache",new Map);if(this.pdfManager=t,this.xref=e,x(this,De,e.getCatalogObj()),!(f(this,De)instanceof z))throw new tt("Catalog object is not a dictionary.");this.toplevelPagesDict}cloneDict(){return f(this,De).clone()}get version(){const t=f(this,De).get("Version");if(t instanceof at){if(AU.test(t.name))return mt(this,"version",t.name);H(`Invalid PDF catalog version: ${t.name}`)}return mt(this,"version",null)}get lang(){const t=f(this,De).get("Lang");return mt(this,"lang",t&&typeof t=="string"?ce(t):null)}get needsRendering(){const t=f(this,De).get("NeedsRendering");return mt(this,"needsRendering",typeof t=="boolean"?t:!1)}get collection(){let t=null;try{const e=f(this,De).get("Collection");e instanceof z&&e.size>0&&(t=e)}catch(e){if(e instanceof $e)throw e;ne("Cannot fetch Collection entry; assuming no collection is present.")}return mt(this,"collection",t)}get acroForm(){let t=null;try{const e=f(this,De).get("AcroForm");e instanceof z&&e.size>0&&(t=e)}catch(e){if(e instanceof $e)throw e;ne("Cannot fetch AcroForm entry; assuming no forms are present.")}return mt(this,"acroForm",t)}get acroFormRef(){const t=f(this,De).getRaw("AcroForm");return mt(this,"acroFormRef",t instanceof ft?t:null)}get metadata(){var i;const t=f(this,De).getRaw("Metadata");if(!(t instanceof ft))return mt(this,"metadata",null);let e=null;try{const n=this.xref.fetch(t,!((i=this.xref.encrypt)!=null&&i.encryptMetadata));if(n instanceof Qt&&n.dict instanceof z){const a=n.dict.get("Type"),r=n.dict.get("Subtype");if(we(a,"Metadata")&&we(r,"XML")){const o=Xu(n.getString());o&&(e=new Jj(o).serializable)}}}catch(n){if(n instanceof $e)throw n;ne(`Skipping invalid Metadata: "${n}".`)}return mt(this,"metadata",e)}get markInfo(){let t=null;try{t=S(this,_s,F$).call(this)}catch(e){if(e instanceof $e)throw e;H("Unable to read mark info.")}return mt(this,"markInfo",t)}get hasStructTree(){return f(this,De).has("StructTreeRoot")}get structTreeRoot(){let t=null;try{t=S(this,_s,E$).call(this)}catch(e){if(e instanceof $e)throw e;H("Unable read to structTreeRoot info.")}return mt(this,"structTreeRoot",t)}get toplevelPagesDict(){const t=f(this,De).get("Pages");if(!(t instanceof z))throw new tt("Invalid top-level pages dictionary.");return mt(this,"toplevelPagesDict",t)}get documentOutline(){let t=null;try{t=S(this,_s,iy).call(this)}catch(e){if(e instanceof $e)throw e;H("Unable to read document outline.")}return mt(this,"documentOutline",t)}get documentOutlineForEditor(){let t=null;try{t=S(this,_s,iy).call(this,{keepRawDict:!0})}catch(e){if(e instanceof $e)throw e;H("Unable to read document outline.")}return mt(this,"documentOutlineForEditor",t)}get permissions(){let t=null;try{t=S(this,_s,R$).call(this)}catch(e){if(e instanceof $e)throw e;H("Unable to read permissions.")}return mt(this,"permissions",t)}get optionalContentConfig(){let t=null;try{const e=f(this,De).get("OCProperties");if(!e)return mt(this,"optionalContentConfig",null);const i=e.get("D");if(!i)return mt(this,"optionalContentConfig",null);const n=e.get("OCGs");if(!Array.isArray(n))return mt(this,"optionalContentConfig",null);const a=new Os;for(const r of n)!(r instanceof ft)||a.has(r)||a.put(r,S(this,_s,M$).call(this,r));t=S(this,_s,B$).call(this,i,a)}catch(e){if(e instanceof $e)throw e;H(`Unable to read optional content config: ${e}`)}return mt(this,"optionalContentConfig",t)}setActualNumPages(t=null){x(this,wd,t)}get hasActualNumPages(){return f(this,wd)!==null}get _pagesCount(){const t=this.toplevelPagesDict.get("Count");if(!Number.isInteger(t))throw new tt("Page count in top-level pages dictionary is not an integer.");return mt(this,"_pagesCount",t)}get numPages(){return f(this,wd)??this._pagesCount}get destinations(){var i;const t=S(this,_s,ny).call(this),e=Object.create(null);for(const n of t)if(n instanceof Zo)for(const[a,r]of n.getAll()){const o=l5(r);o&&(e[ce(a,!0)]=o)}else if(n instanceof z)for(const[a,r]of n){const o=l5(r);o&&(e[i=ce(a,!0)]||(e[i]=o))}return mt(this,"destinations",e)}getDestination(t){if(this.hasOwnProperty("destinations"))return this.destinations[t]??null;const e=S(this,_s,ny).call(this);for(const i of e)if(i instanceof Zo||i instanceof z){const n=l5(i.get(t));if(n)return n}if(e.length){const i=this.destinations[t];if(i)return i}return null}get rawPageLabels(){const t=f(this,De).getRaw("PageLabels");return t?new t1(t,this.xref).getAll():null}get pageLabels(){let t=null;try{t=S(this,_s,D$).call(this)}catch(e){if(e instanceof $e)throw e;H("Unable to read page labels.")}return mt(this,"pageLabels",t)}get pageLayout(){const t=f(this,De).get("PageLayout");let e="";if(t instanceof at)switch(t.name){case"SinglePage":case"OneColumn":case"TwoColumnLeft":case"TwoColumnRight":case"TwoPageLeft":case"TwoPageRight":e=t.name}return mt(this,"pageLayout",e)}get pageMode(){const t=f(this,De).get("PageMode");let e="UseNone";if(t instanceof at)switch(t.name){case"UseNone":case"UseOutlines":case"UseThumbs":case"FullScreen":case"UseOC":case"UseAttachments":e=t.name}return mt(this,"pageMode",e)}get viewerPreferences(){const t=f(this,De).get("ViewerPreferences");if(!(t instanceof z))return mt(this,"viewerPreferences",null);let e=null;for(const[i,n]of t){let a;switch(i){case"HideToolbar":case"HideMenubar":case"HideWindowUI":case"FitWindow":case"CenterWindow":case"DisplayDocTitle":case"PickTrayByPDFSize":typeof n=="boolean"&&(a=n);break;case"NonFullScreenPageMode":if(n instanceof at)switch(n.name){case"UseNone":case"UseOutlines":case"UseThumbs":case"UseOC":a=n.name;break;default:a="UseNone"}break;case"Direction":if(n instanceof at)switch(n.name){case"L2R":case"R2L":a=n.name;break;default:a="L2R"}break;case"ViewArea":case"ViewClip":case"PrintArea":case"PrintClip":if(n instanceof at)switch(n.name){case"MediaBox":case"CropBox":case"BleedBox":case"TrimBox":case"ArtBox":a=n.name;break;default:a="CropBox"}break;case"PrintScaling":if(n instanceof at)switch(n.name){case"None":case"AppDefault":a=n.name;break;default:a="AppDefault"}break;case"Duplex":if(n instanceof at)switch(n.name){case"Simplex":case"DuplexFlipShortEdge":case"DuplexFlipLongEdge":a=n.name;break;default:a="None"}break;case"PrintPageRange":Array.isArray(n)&&n.length%2===0&&n.every((r,o,l)=>Number.isInteger(r)&&r>0&&(o===0||r>=l[o-1])&&r<=this.numPages)&&(a=n);break;case"NumCopies":Number.isInteger(n)&&n>0&&(a=n);break;default:H(`Ignoring non-standard key in ViewerPreferences: ${i}.`);continue}if(a===void 0){H(`Bad value, for key "${i}", in ViewerPreferences: ${n}.`);continue}e??(e=Object.create(null)),e[i]=a}return mt(this,"viewerPreferences",e)}get openAction(){const t=f(this,De).get("OpenAction"),e=Object.create(null);if(t instanceof z){const i=new z(this.xref);i.set("A",t);const n={url:null,dest:null,action:null};af.parseDestDictionary({destDict:i,resultObj:n}),Array.isArray(n.dest)?e.dest=n.dest:n.action&&(e.action=n.action)}else z3(t)&&(e.dest=t);return mt(this,"openAction",b8(e)>0?e:null)}get attachments(){const t=f(this,De).get("Names");let e=null;if(t instanceof z&&t.has("EmbeddedFiles")){const i=new Zo(t.getRaw("EmbeddedFiles"),this.xref);for(const[n,a]of i.getAll()){const r=new Xg(a);e??(e=Object.create(null)),e[ce(n,!0)]=r.serializable}}return mt(this,"attachments",e)}get xfaImages(){const t=f(this,De).get("Names");let e=null;if(t instanceof z&&t.has("XFAImages")){const i=new Zo(t.getRaw("XFAImages"),this.xref);for(const[n,a]of i.getAll())a instanceof Qt&&(e??(e=new Map),e.set(ce(n,!0),a.getBytes()))}return mt(this,"xfaImages",e)}get jsActions(){const t=S(this,_s,P$).call(this);let e=n9(this.xref,f(this,De),GX);if(t){e||(e=Object.create(null));for(const[i,n]of t)i in e?e[i].push(n):e[i]=[n]}return mt(this,"jsActions",e)}async cleanup(t=!1){A8(),this.globalColorSpaceCache.clear(),this.globalImageCache.clear(t),this.pageKidsCountCache.clear(),this.pageIndexCache.clear(),this.pageDictCache.clear(),this.nonBlendModesSet.clear();for(const{dict:e}of await Promise.all(this.fontCache))delete e.cacheKey;this.fontCache.clear(),this.builtInCMapCache.clear(),this.standardFontDataCache.clear(),this.systemFontCache.clear()}async getPageDict(t){const e=[this.toplevelPagesDict],i=new is,n=f(this,De).getRaw("Pages");n instanceof ft&&i.put(n);const a=this.xref,r=this.pageKidsCountCache,o=this.pageIndexCache,l=this.pageDictCache;let c=0;for(;e.length;){const h=e.pop();if(h instanceof ft){const g=r.get(h);if(g>=0&&c+g<=t){c+=g;continue}if(i.has(h))throw new tt("Pages tree contains circular reference.");i.put(h);const b=await(l.get(h)||a.fetchAsync(h));if(b instanceof z){let w=b.getRaw("Type");if(w instanceof ft&&(w=await a.fetchAsync(w)),we(w,"Page")||!b.has("Kids")){if(r.has(h)||r.put(h,1),o.has(h)||o.put(h,c),c===t)return[b,h];c++;continue}}e.push(b);continue}if(!(h instanceof z))throw new tt("Page dictionary kid reference points to wrong type of object.");const{objId:u}=h;let d=h.getRaw("Count");if(d instanceof ft&&(d=await a.fetchAsync(d)),Number.isInteger(d)&&d>=0&&(u&&!r.has(u)&&r.put(u,d),c+d<=t)){c+=d;continue}let p=h.getRaw("Kids");if(p instanceof ft&&(p=await a.fetchAsync(p)),!Array.isArray(p)){let g=h.getRaw("Type");if(g instanceof ft&&(g=await a.fetchAsync(g)),we(g,"Page")||!h.has("Kids")){if(c===t)return[h,null];c++;continue}throw new tt("Page dictionary kids object is not an array.")}for(let g=p.length-1;g>=0;g--){const b=p[g];e.push(b),h===this.toplevelPagesDict&&b instanceof ft&&!l.has(b)&&l.put(b,a.fetchAsync(b))}}throw new Error(`Page index ${t} not found.`)}async getAllPageDicts(t=!1){const{ignoreErrors:e}=this.pdfManager.evaluatorOptions,i=[{currentNode:this.toplevelPagesDict,posInKids:0}],n=new is,a=f(this,De).getRaw("Pages");a instanceof ft&&n.put(a);const r=new Map,o=this.xref,l=this.pageIndexCache;let c=0;function h(d,p){p&&!l.has(p)&&l.put(p,c),r.set(c++,[d,p])}m(h,"addPageDict");function u(d){if(d instanceof Ro&&!t)throw d;t&&e&&c===0&&(H(`getAllPageDicts - Skipping invalid first page: "${d}".`),d=z.empty),r.set(c++,[d,null])}for(m(u,"addPageError");i.length>0;){const d=i.at(-1),{currentNode:p,posInKids:g}=d;let b=p.getRaw("Kids");if(b instanceof ft)try{b=await o.fetchAsync(b)}catch(k){u(k);break}if(!Array.isArray(b)){u(new tt("Page dictionary kids object is not an array."));break}if(g>=b.length){i.pop();continue}const w=b[g];let y;if(w instanceof ft){if(n.has(w)){u(new tt("Pages tree contains circular reference."));break}n.put(w);try{y=await o.fetchAsync(w)}catch(k){u(k);break}}else y=w;if(!(y instanceof z)){u(new tt("Page dictionary kid reference points to wrong type of object."));break}let j=y.getRaw("Type");if(j instanceof ft)try{j=await o.fetchAsync(j)}catch(k){u(k);break}we(j,"Page")||!y.has("Kids")?h(y,w instanceof ft?w:null):i.push({currentNode:y,posInKids:0}),d.posInKids++}return r}getPageIndex(t){const e=this.pageIndexCache.get(t);if(e!==void 0)return Promise.resolve(e);const i=this.xref;function n(o){let l=0,c;return i.fetchAsync(o).then(function(h){if(Ig(o,t)&&!IT(h,"Page")&&!(h instanceof z&&!h.has("Type")&&h.has("Contents")))throw new tt("The reference does not point to a /Page dictionary.");if(!h)return null;if(!(h instanceof z))throw new tt("Node must be a dictionary.");return c=h.getRaw("Parent"),h.getAsync("Parent")}).then(function(h){if(!h)return null;if(!(h instanceof z))throw new tt("Parent must be a dictionary.");return h.getAsync("Kids")}).then(function(h){if(!h)return null;const u=[];let d=!1;for(const p of h){if(!(p instanceof ft))throw new tt("Kid must be a reference.");if(Ig(p,o)){d=!0;break}u.push(i.fetchAsync(p).then(function(g){if(!(g instanceof z))throw new tt("Kid node must be a dictionary.");g.has("Count")?l+=g.get("Count"):l++}))}if(!d)throw new tt("Kid reference not found in parent's kids.");return Promise.all(u).then(()=>[l,c])})}m(n,"pagesBeforeRef");let a=0;const r=m(o=>n(o).then(l=>{if(!l)return this.pageIndexCache.put(t,a),a;const[c,h]=l;return a+=c,r(h)}),"next");return r(t)}get baseUrl(){const t=f(this,De).get("URI");if(t instanceof z){const e=t.get("Base");if(typeof e=="string"){const i=Sg(e,null,{tryConvertEncoding:!0});if(i)return mt(this,"baseUrl",i.href)}}return mt(this,"baseUrl",this.pdfManager.docBaseUrl)}static parseDestDictionary({destDict:t,resultObj:e,docBaseUrl:i=null,docAttachments:n=null}){var l;if(!(t instanceof z)){H("parseDestDictionary: `destDict` must be a dictionary.");return}let a=t.get("A"),r,o;if(a instanceof z||(t.has("Dest")?a=t.get("Dest"):(a=t.get("AA"),a instanceof z&&(a.has("D")?a=a.get("D"):a.has("U")&&(a=a.get("U"))))),a instanceof z){const c=a.get("S");if(!(c instanceof at)){H("parseDestDictionary: Invalid type in Action dictionary.");return}const h=c.name;switch(h){case"ResetForm":const u=a.get("Flags"),d=((typeof u=="number"?u:0)&1)===0,p=[],g=[];for(const M of a.get("Fields")||[])M instanceof ft?g.push(M.toString()):typeof M=="string"&&p.push(ce(M));e.resetForm={fields:p,refs:g,include:d};break;case"URI":r=a.get("URI"),r instanceof at&&(r="/"+r.name);break;case"GoTo":o=a.get("D");break;case"Launch":case"GoToR":const b=a.get("F");if(b instanceof z)({rawFilename:r}=new Xg(b,!0).serializable);else if(typeof b=="string")r=b;else break;const w=sy(a);w&&(r=r.split("#",1)[0]+"#"+w);const y=a.get("NewWindow");typeof y=="boolean"&&(e.newWindow=y);break;case"GoToE":const j=a.get("T");let k;if(n&&j instanceof z){const M=j.get("R"),_=j.get("N");we(M,"C")&&typeof _=="string"&&(k=n[ce(_,!0)])}if(k){e.attachment=k;const M=sy(a);M&&(e.attachmentDest=M)}else H('parseDestDictionary - unimplemented "GoToE" action.');break;case"Named":const q=a.get("N");q instanceof at&&(e.action=q.name);break;case"SetOCGState":const A=a.get("State"),I=a.get("PreserveRB");if(!Array.isArray(A)||A.length===0)break;const C=[];for(const M of A)if(M instanceof at)switch(M.name){case"ON":case"OFF":case"Toggle":C.push(M.name);break}else M instanceof ft&&C.push(M.toString());if(C.length!==A.length)break;e.setOCGState={state:C,preserveRB:typeof I=="boolean"?I:!0};break;case"JavaScript":const F=a.get("JS");let E;F instanceof Qt?E=F.getString():typeof F=="string"&&(E=F);const D=E&&ET(ce(E,!0));if(D){r=D.url,e.newWindow=D.newWindow;break}default:if(h==="JavaScript"||h==="SubmitForm")break;H(`parseDestDictionary - unsupported action: "${h}".`);break}}else t.has("Dest")&&(o=t.get("Dest"));if(typeof r=="string"){const c=Sg(r,i,{addDefaultProtocol:!0,tryConvertEncoding:!0});c&&(e.url=c.href),e.unsafeUrl=r}if(o&&(o instanceof at&&(o=o.name),typeof o=="string"?e.dest=ce(o,!0):z3(o)&&(e.dest=o)),!e.dest&&!e.url&&!e.action&&!e.attachment&&!e.setOCGState&&!e.resetForm){const c=t.getRaw("SE");if(c instanceof ft)try{const h=S(l=af,k4,H$).call(l,t.xref,c);h&&(e.dest=h)}catch(h){if(h instanceof $e)throw h;ne("SE parsing failed.")}}}};wd=new WeakMap,De=new WeakMap,_s=new WeakSet,F$=function(){const t=f(this,De).get("MarkInfo");if(!(t instanceof z))return null;const e={Marked:!1,UserProperties:!1,Suspects:!1};for(const i in e){const n=t.get(i);typeof n=="boolean"&&(e[i]=n)}return e},E$=function(){const t=f(this,De).getRaw("StructTreeRoot"),e=this.xref.fetchIfRef(t);if(!(e instanceof z))return null;const i=new Yg(this.xref,e,t);return i.init(),i},iy=function(t={}){let e=f(this,De).get("Outlines");if(!(e instanceof z)||(e=e.getRaw("First"),!(e instanceof ft)))return null;const i={items:[]},n=[{obj:e,parent:i}],a=new is;a.put(e);const r=this.xref,o=new Uint8ClampedArray(3);for(;n.length>0;){const l=n.shift(),c=r.fetchIfRef(l.obj);if(c===null)continue;c.has("Title")||H("Invalid outline item encountered.");const h={url:null,dest:null,action:null};af.parseDestDictionary({destDict:c,resultObj:h,docBaseUrl:this.baseUrl,docAttachments:this.attachments});const u=c.get("Title"),d=c.get("F")||0,p=c.getArray("C"),g=c.get("Count");let b=o;fn(p,3)&&(p[0]!==0||p[1]!==0||p[2]!==0)&&(b=ke.rgb.getRgb(p,0));const w={action:h.action,attachment:h.attachment,dest:h.dest,url:h.url,unsafeUrl:h.unsafeUrl,newWindow:h.newWindow,setOCGState:h.setOCGState,title:typeof u=="string"?ce(u):"",color:b,count:Number.isInteger(g)?g:void 0,bold:!!(d&2),italic:!!(d&1),items:[]};t.keepRawDict&&(w.rawDict=c),l.parent.items.push(w),e=c.getRaw("First"),e instanceof ft&&!a.has(e)&&(n.push({obj:e,parent:w}),a.put(e)),e=c.getRaw("Next"),e instanceof ft&&!a.has(e)&&(n.push({obj:e,parent:l.parent}),a.put(e))}return i.items.length>0?i.items:null},R$=function(){const t=this.xref.trailer.get("Encrypt");if(!(t instanceof z))return null;let e=t.get("P");if(typeof e!="number")return null;e+=2**32;const i=[];for(const n in l_){const a=l_[n];e&a&&i.push(a)}return i},M$=function(t){const e=this.xref.fetch(t),i={id:t.toString(),name:null,intent:null,usage:{print:null,view:null},rbGroups:[]},n=e.get("Name");typeof n=="string"&&(i.name=ce(n));let a=e.getArray("Intent");Array.isArray(a)||(a=[a]),a.every(h=>h instanceof at)&&(i.intent=a.map(h=>h.name));const r=e.get("Usage");if(!(r instanceof z))return i;const o=i.usage,l=r.get("Print");if(l instanceof z){const h=l.get("PrintState");if(h instanceof at)switch(h.name){case"ON":case"OFF":o.print={printState:h.name}}}const c=r.get("View");if(c instanceof z){const h=c.get("ViewState");if(h instanceof at)switch(h.name){case"ON":case"OFF":o.view={viewState:h.name}}}return i},B$=function(t,e){function i(h){const u=[];if(Array.isArray(h))for(const d of h)d instanceof ft&&e.has(d)&&u.push(d.toString());return u}m(i,"parseOnOff");function n(h,u=0){if(!Array.isArray(h))return null;const d=[];for(const g of h){if(g instanceof ft&&e.has(g)){l.put(g),d.push(g.toString());continue}const b=a(g,u);b&&d.push(b)}if(u>0)return d;const p=[];for(const[g]of e.items())l.has(g)||p.push(g.toString());return p.length&&d.push({name:null,order:p}),d}m(n,"parseOrder");function a(h,u){if(++u>c)return H("parseNestedOrder - reached MAX_NESTED_LEVELS."),null;const d=o.fetchIfRef(h);if(!Array.isArray(d))return null;const p=o.fetchIfRef(d[0]);if(typeof p!="string")return null;const g=n(d.slice(1),u);return g!=null&&g.length?{name:ce(p),order:g}:null}m(a,"parseNestedOrder");function r(h){if(Array.isArray(h))for(const u of h){const d=o.fetchIfRef(u);if(!Array.isArray(d)||!d.length)continue;const p=new Set;for(const g of d)g instanceof ft&&e.has(g)&&!p.has(g.toString())&&(p.add(g.toString()),e.get(g).rbGroups.push(p))}}m(r,"parseRBGroups");const o=this.xref,l=new is,c=10;return r(t.get("RBGroups")),{name:typeof t.get("Name")=="string"?ce(t.get("Name")):null,creator:typeof t.get("Creator")=="string"?ce(t.get("Creator")):null,baseState:t.get("BaseState")instanceof at?t.get("BaseState").name:null,on:i(t.get("ON")),off:i(t.get("OFF")),order:n(t.get("Order")),groups:[...e]}},ny=function(){const t=f(this,De).get("Names"),e=[];return t!=null&&t.has("Dests")&&e.push(new Zo(t.getRaw("Dests"),this.xref)),f(this,De).has("Dests")&&e.push(f(this,De).get("Dests")),e},D$=function(){const t=this.rawPageLabels;if(!t)return null;const e=new Array(this.numPages);let i=null,n="",a="",r=1;for(let o=0,l=this.numPages;o=1))throw new tt("Invalid start in PageLabel dictionary.");r=h}else r=1}switch(i){case"D":a=r;break;case"R":case"r":a=CU(r,i==="r");break;case"A":case"a":const h=26,u=i==="a"?97:65,d=r-1;a=String.fromCharCode(u+d%h).repeat(Math.floor(d/h)+1);break;default:if(i)throw new tt(`Invalid style "${i}" in PageLabel dictionary.`);a=""}e[o]=n+a,r++}return e},P$=function(){const t=f(this,De).get("Names");let e=null;function i(a,r){if(!(r instanceof z)||!we(r.get("S"),"JavaScript"))return;let o=r.get("JS");if(o instanceof Qt)o=o.getString();else if(typeof o!="string")return;o=ce(o,!0).replaceAll("\0",""),o&&(e||(e=new Map)).set(a,o)}if(m(i,"appendIfJavaScriptDict"),t instanceof z&&t.has("JavaScript")){const a=new Zo(t.getRaw("JavaScript"),this.xref);for(const[r,o]of a.getAll())i(ce(r,!0),o)}const n=f(this,De).get("OpenAction");return n&&i("OpenAction",n),e},k4=new WeakSet,H$=function(t,e){const i=t.fetchIfRef(e);if(!(i instanceof z))return null;let n=null;const a=i.getRaw("Pg");if(a instanceof ft&&(n=a),!n){const c=[i];for(;c.length>0&&!n;){const h=c.shift().get("K");let u;if(Array.isArray(h))u=h;else if(h)u=[h];else continue;for(const d of u){const p=t.fetchIfRef(d);if(!(p instanceof z))continue;const g=p.getRaw("Pg");if(g instanceof ft){n=g;break}c.push(p)}}}if(!n){let c=i;for(let h=0;h<40;h++){const u=c.getRaw("P");if(!(u instanceof ft))break;const d=t.fetch(u);if(!(d instanceof z)||we(d.get("Type"),"StructTreeRoot"))break;const p=d.getRaw("Pg");if(p instanceof ft){n=p;break}c=d}}if(!n)return null;let r=null,o=null;const l=i.get("A");if(l instanceof z){const c=Fg(l.getArray("BBox"),null);c&&(r=c[0],o=c[3])}return[n,{name:"XYZ"},r,o,null]},T(af,k4),m(af,"Catalog");let Qg=af;function O$(s){return s instanceof ft||s instanceof z||s instanceof Qt||Array.isArray(s)}m(O$,"mayHaveChildren");function N$(s,t){if(s instanceof z)s=s.getRawValues();else if(s instanceof Qt)s=s.dict.getRawValues();else if(!Array.isArray(s))return;for(const e of s)O$(e)&&t.push(e)}m(N$,"addChildren");var i2,ay;const q4=class q4{constructor(t,e,i){T(this,i2);R(this,"refSet",new is);this.dict=t,this.keys=e,this.xref=i}async load(){const{keys:t,dict:e}=this,i=[];for(const n of t){const a=e.getRaw(n);a!==void 0&&i.push(a)}await S(this,i2,ay).call(this,i),this.refSet=null}static async load(t,e,i){i.stream.isDataLoaded||await new q4(t,e,i).load()}};i2=new WeakSet,ay=async function(t){const e=[],i=[];for(;t.length;){let n=t.pop();if(n instanceof ft){if(this.refSet.has(n))continue;try{this.refSet.put(n),n=this.xref.fetch(n)}catch(a){if(!(a instanceof $e)){H(`ObjectLoader.#walk - requesting all data: "${a}".`),await this.xref.stream.manager.requestAllChunks();return}e.push(n),i.push({begin:a.begin,end:a.end})}}if(n instanceof Qt){const a=n.getBaseStreams();if(a){let r=!1;for(const o of a)o.isDataLoaded||(r=!0,i.push({begin:o.start,end:o.end}));r&&e.push(n)}}N$(n,t)}if(i.length){await this.xref.stream.manager.requestRanges(i);for(const n of e)n instanceof ft&&this.refSet.remove(n);await S(this,i2,ay).call(this,e)}},m(q4,"ObjectLoader");let wp=q4;const S8=Symbol(),Vu=Symbol(),ks=Symbol(),Mh=Symbol(),or=Symbol(),_1=Symbol(),c5=Symbol(),Pr=Symbol(),To=Symbol(),nt=Symbol("content"),ir=Symbol("data"),jp=Symbol(),Q=Symbol("extra"),Ge=Symbol(),o9=Symbol(),ry=Symbol(),L$=Symbol(),Wu=Symbol(),C8=Symbol(),Jg=Symbol(),Gm=Symbol(),iF=Symbol(),Xi=Symbol(),$m=Symbol(),Ti=Symbol(),yp=Symbol(),tl=Symbol(),Ns=Symbol(),Jt=Symbol(),Ps=Symbol(),Ue=Symbol(),Zg=Symbol(),I1=Symbol(),oy=Symbol(),h5=Symbol(),nF=Symbol(),l1=Symbol(),U1=Symbol(),Sc=Symbol(),Vm=Symbol(),$l=Symbol(),sc=Symbol(),tb=Symbol(),eb=Symbol(),EQ=Symbol(),Hs=Symbol("namespaceId"),Se=Symbol("nodeName"),Nl=Symbol(),Do=Symbol(),ly=Symbol(),Vl=Symbol(),Ho=Symbol(),Qn=Symbol(),Tp=Symbol(),Ih=Symbol(),z$=Symbol("root"),am=Symbol(),Ll=Symbol(),cy=Symbol(),_$=Symbol(),Zn=Symbol(),Dr=Symbol(),li=Symbol(),U$=Symbol(),Ut=Symbol(),Wm=Symbol(),qe=Symbol(),Oe=Symbol("uid"),$r=Symbol(),Ls={config:{id:0,check:m(s=>s.startsWith("http://www.xfa.org/schema/xci/"),"check")},connectionSet:{id:1,check:m(s=>s.startsWith("http://www.xfa.org/schema/xfa-connection-set/"),"check")},datasets:{id:2,check:m(s=>s.startsWith("http://www.xfa.org/schema/xfa-data/"),"check")},form:{id:3,check:m(s=>s.startsWith("http://www.xfa.org/schema/xfa-form/"),"check")},localeSet:{id:4,check:m(s=>s.startsWith("http://www.xfa.org/schema/xfa-locale-set/"),"check")},pdf:{id:5,check:m(s=>s==="http://ns.adobe.com/xdp/pdf/","check")},signature:{id:6,check:m(s=>s==="http://www.w3.org/2000/09/xmldsig#","check")},sourceSet:{id:7,check:m(s=>s.startsWith("http://www.xfa.org/schema/xfa-source-set/"),"check")},stylesheet:{id:8,check:m(s=>s==="http://www.w3.org/1999/XSL/Transform","check")},template:{id:9,check:m(s=>s.startsWith("http://www.xfa.org/schema/xfa-template/"),"check")},xdc:{id:10,check:m(s=>s.startsWith("http://www.xfa.org/schema/xdc/"),"check")},xdp:{id:11,check:m(s=>s==="http://ns.adobe.com/xdp/","check")},xfdf:{id:12,check:m(s=>s==="http://ns.adobe.com/xfdf/","check")},xhtml:{id:13,check:m(s=>s==="http://www.w3.org/1999/xhtml","check")},xmpmeta:{id:14,check:m(s=>s==="http://ns.adobe.com/xmpmeta/","check")}},RQ={pt:m(s=>s,"pt"),cm:m(s=>s/2.54*72,"cm"),mm:m(s=>s/(10*2.54)*72,"mm"),in:m(s=>s*72,"in"),px:m(s=>s,"px")},MQ=/([+-]?\d+\.?\d*)(.*)/;function l9(s){return s.startsWith("'")||s.startsWith('"')?s.slice(1,-1):s}m(l9,"stripQuotes");function Yt({data:s,defaultValue:t,validate:e}){if(!s)return t;s=s.trim();const i=parseInt(s,10);return!isNaN(i)&&e(i)?i:t}m(Yt,"getInteger");function sb({data:s,defaultValue:t,validate:e}){if(!s)return t;s=s.trim();const i=parseFloat(s);return!isNaN(i)&&e(i)?i:t}m(sb,"getFloat");function c9({data:s,defaultValue:t,validate:e}){return s?(s=s.trim(),e(s)?s:t):t}m(c9,"getKeyword");function lt(s,t){return c9({data:s,defaultValue:t[0],validate:m(e=>t.includes(e),"validate")})}m(lt,"getStringOption");function It(s,t="0"){if(t||(t="0"),!s)return It(t);const e=s.trim().match(MQ);if(!e)return It(t);const[,i,n]=e,a=parseFloat(i);if(isNaN(a))return It(t);if(a===0)return 0;const r=RQ[n];return r?r(a):a}m(It,"getMeasurement");function hy(s){if(!s)return{num:1,den:1};const t=s.split(":",2).map(n=>parseFloat(n.trim())).filter(n=>!isNaN(n));if(t.length===1&&t.push(1),t.length===0)return{num:1,den:1};const[e,i]=t;return{num:e,den:i}}m(hy,"getRatio");function cr(s){return s?s.trim().split(/\s+/).map(t=>({excluded:t[0]==="-",viewname:t.substring(1)})):[]}m(cr,"getRelevant");function G$(s,t=[0,0,0]){let[e,i,n]=t;if(!s)return{r:e,g:i,b:n};const a=s.split(",",3).map(r=>Ys(parseInt(r.trim(),10),0,255)).map(r=>isNaN(r)?0:r);return a.length<3?{r:e,g:i,b:n}:([e,i,n]=a,{r:e,g:i,b:n})}m(G$,"getColor");function $$(s){if(!s)return{x:-1,y:-1,width:-1,height:-1};const t=s.split(",",4).map(r=>It(r.trim(),"-1"));if(t.length<4||t[2]<0||t[3]<0)return{x:-1,y:-1,width:-1,height:-1};const[e,i,n,a]=t;return{x:e,y:i,width:n,height:a}}m($$,"getBBox");const rf=class rf{static get FAILURE(){return mt(this,"FAILURE",new rf(!1,null,null,null))}static get EMPTY(){return mt(this,"EMPTY",new rf(!0,null,null,null))}constructor(t,e,i,n){this.success=t,this.html=e,this.bbox=i,this.breakNode=n}isBreak(){return!!this.breakNode}static breakNode(t){return new rf(!1,null,null,t)}static success(t,e=null){return new rf(!0,t,e,null)}};m(rf,"HTMLResult");let Ht=rf;const iM=class iM{constructor(t){this.fonts=new Map,this.cache=new Map,this.warned=new Set,this.defaultFont=null,this.add(t)}add(t,e=null){for(const n of t)this.addPdfFont(n);for(const n of this.fonts.values())n.regular||(n.regular=n.italic||n.bold||n.bolditalic);if(!e||e.size===0)return;const i=this.fonts.get("PdfJS-Fallback-PdfJS-XFA");for(const n of e)this.fonts.set(n,i)}addPdfFont(t){var o,l,c;const e=t.cssFontInfo,i=e.fontFamily,n=this.fonts.getOrInsertComputed(i,XX);this.defaultFont??(this.defaultFont=n);let a="";const r=parseFloat(e.fontWeight);parseFloat(e.italicAngle)!==0?a=r>=700?"bolditalic":"italic":r>=700&&(a="bold"),a||((t.name.includes("Bold")||(o=t.psName)!=null&&o.includes("Bold"))&&(a="bold"),(t.name.includes("Italic")||t.name.endsWith("It")||(l=t.psName)!=null&&l.includes("Italic")||(c=t.psName)!=null&&c.endsWith("It"))&&(a+="italic")),a||(a="regular"),n[a]=t}getDefault(){return this.defaultFont}find(t,e=!0){var o,l;let i=this.fonts.get(t)||this.cache.get(t);if(i)return i;const n=/,|-|_| |bolditalic|bold|italic|regular|it/gi;let a=t.replaceAll(n,"");if(i=this.fonts.get(a),i)return this.cache.set(t,i),i;a=a.toLowerCase();const r=[];for(const[c,h]of this.fonts)c.replaceAll(n,"").toLowerCase().startsWith(a)&&r.push(h);if(r.length===0)for(const c of this.fonts.values())(o=c.regular.name)!=null&&o.replaceAll(n,"").toLowerCase().startsWith(a)&&r.push(c);if(r.length===0){a=a.replaceAll(/psmt|mt/gi,"");for(const[c,h]of this.fonts)c.replaceAll(n,"").toLowerCase().startsWith(a)&&r.push(h)}if(r.length===0)for(const c of this.fonts.values())(l=c.regular.name)!=null&&l.replaceAll(n,"").toLowerCase().startsWith(a)&&r.push(c);return r.length>=1?(r.length!==1&&e&&H(`XFA - Too many choices to guess the correct font: ${t}`),this.cache.set(t,r[0]),r[0]):(e&&!this.warned.has(t)&&(this.warned.add(t),H(`XFA - Cannot find the font: ${t}`)),null)}};m(iM,"FontFinder");let fy=iM;function I8(s,t){return s.posture==="italic"?s.weight==="bold"?t.bolditalic:t.italic:s.weight==="bold"?t.bold:t.regular}m(I8,"selectFont");function V$(s,t=!1){let e=null;if(s){const r=l9(s.typeface),o=s[Ue].fontFinder.find(r);e=I8(s,o)}if(!e)return{lineHeight:12,lineGap:2,lineNoGap:10};const i=s.size||10,n=e.lineHeight?Math.max(t?0:1.2,e.lineHeight):1.2,a=e.lineGap===void 0?.2:e.lineGap;return{lineHeight:n*i,lineGap:a*i,lineNoGap:Math.max(1,n-a)*i}}m(V$,"fonts_getMetrics");const BQ=1.02;var jd;let H_=(jd=class{constructor(t,e,i,n){if(this.lineHeight=i,this.paraMargin=e||{top:0,bottom:0,left:0,right:0},!t){[this.pdfFont,this.xfaFont]=this.defaultFont(n);return}this.xfaFont={typeface:t.typeface,posture:t.posture,weight:t.weight,size:t.size,letterSpacing:t.letterSpacing};const a=n.find(t.typeface);if(!a){[this.pdfFont,this.xfaFont]=this.defaultFont(n);return}this.pdfFont=I8(t,a),this.pdfFont||([this.pdfFont,this.xfaFont]=this.defaultFont(n))}defaultFont(t){const e=t.find("Helvetica",!1)||t.find("Myriad Pro",!1)||t.find("Arial",!1)||t.getDefault();if(e!=null&&e.regular){const i=e.regular,n={typeface:i.cssFontInfo.fontFamily,posture:"normal",weight:"normal",size:10,letterSpacing:0};return[i,n]}return[null,{typeface:"Courier",posture:"normal",weight:"normal",size:10,letterSpacing:0}]}},m(jd,"FontInfo"),jd);const nM=class nM{constructor(t,e,i,n){this.fontFinder=n,this.stack=[new H_(t,e,i,n)]}pushData(t,e,i){const n=this.stack.at(-1);for(const r of["typeface","posture","weight","size","letterSpacing"])t[r]||(t[r]=n.xfaFont[r]);for(const r of["top","bottom","left","right"])isNaN(e[r])&&(e[r]=n.paraMargin[r]);const a=new H_(t,e,i||n.lineHeight,this.fontFinder);a.pdfFont||(a.pdfFont=n.pdfFont),this.stack.push(a)}popFont(){this.stack.pop()}topFont(){return this.stack.at(-1)}};m(nM,"FontSelector");let uy=nM;const aM=class aM{constructor(t,e,i,n){this.glyphs=[],this.fontSelector=new uy(t,e,i,n),this.extraHeight=0}pushData(t,e,i){this.fontSelector.pushData(t,e,i)}popFont(t){return this.fontSelector.popFont()}addPara(){const t=this.fontSelector.topFont();this.extraHeight+=t.paraMargin.top+t.paraMargin.bottom}addString(t){if(!t)return;const e=this.fontSelector.topFont(),i=e.xfaFont.size;if(e.pdfFont){const n=e.xfaFont.letterSpacing,a=e.pdfFont,r=a.lineHeight||1.2,o=e.lineHeight||Math.max(1.2,r)*i,l=a.lineGap===void 0?.2:a.lineGap,c=r-l,h=Math.max(1,c)*i,u=i/1e3,d=a.defaultWidth||a.charsToGlyphs(" ")[0].width;for(const p of t.split(/[\u2029\n]/)){const g=a.encodeString(p).join(""),b=a.charsToGlyphs(g);for(const w of b){const y=w.width||d;this.glyphs.push([y*u+n,o,h,w.unicode,!1])}this.glyphs.push([0,0,0,` +`,!0])}this.glyphs.pop();return}for(const n of t.split(/[\u2029\n]/)){for(const a of n.split(""))this.glyphs.push([i,1.2*i,i,a,!1]);this.glyphs.push([0,0,0,` +`,!0])}this.glyphs.pop()}compute(t){let e=-1,i=0,n=0,a=0,r=0,o=0,l=!1,c=!0;for(let h=0,u=this.glyphs.length;ht?(n=Math.max(n,r),r=0,a+=o,o=j,e=-1,i=0,l=!0,c=!1):(o=Math.max(j,o),i=r,r+=d,e=h);continue}if(r+d>t){a+=o,o=j,e!==-1?(h=e,n=Math.max(n,i),r=0,e=-1,i=0):(n=Math.max(n,r),r=d),l=!0,c=!1;continue}r+=d,o=Math.max(j,o)}return n=Math.max(n,r),a+=o+this.extraHeight,{width:BQ*n,height:a,isBroken:l}}};m(aM,"TextMeasure");let dy=aM;const O_=/^[^.[]+/,DQ=/^[^\]]+/,Sa={dot:0,dotDot:1,dotHash:2,dotBracket:3,dotParen:4},W$=new Map([["$data",(s,t)=>s.datasets?s.datasets.data:s],["$record",(s,t)=>(s.datasets?s.datasets.data:s)[Ti]()[0]],["$template",(s,t)=>s.template],["$connectionSet",(s,t)=>s.connectionSet],["$form",(s,t)=>s.form],["$layout",(s,t)=>s.layout],["$host",(s,t)=>s.host],["$dataWindow",(s,t)=>s.dataWindow],["$event",(s,t)=>s.event],["!",(s,t)=>s.datasets],["$xfa",(s,t)=>s],["xfa",(s,t)=>s],["$",(s,t)=>t]]),PQ=new WeakMap;function K$(s){return s=s.trim(),s==="*"?1/0:parseInt(s,10)||0}m(K$,"parseIndex");function aF(s,t,e=!0){let i=s.match(O_);if(!i)return null;let[n]=i;const a=[{name:n,cacheName:"."+n,index:0,js:null,formCalc:null,operator:Sa.dot}];let r=n.length;for(;r0&&g.push(w)}if(g.length===0&&!l&&o===0){if(t=t[Jt](),!t)return null;o=-1,s=[t];continue}s=isFinite(p)?g.filter(b=>pb[p]):g.flat()}return s.length===0?null:s}m(el,"searchNode");function X$(s,t,e){const i=aF(e);if(!i||i.some(r=>r.operator===Sa.dotDot))return null;const n=W$.get(i[0].name);let a=0;n?(s=n(s,t),a=1):s=t||s;for(let r=i.length;at[li]()).join("")}get[y1](){const t=Object.getPrototypeOf(this);if(!t._attributes){const e=t._attributes=new Set;for(const i of Object.getOwnPropertyNames(this)){if(this[i]===null||this[i]instanceof of||this[i]instanceof O)break;e.add(i)}}return mt(this,y1,t._attributes)}[Sc](t){let e=this;for(;e;){if(e===t)return!0;e=e[Jt]()}return!1}[Jt](){return this[er]}[Ns](){return this[Jt]()}[Ti](t=null){return t?this[t]:this[re]}[jp](){const t=Object.create(null);this[nt]&&(t.$content=this[nt]);for(const e of Object.getOwnPropertyNames(this)){const i=this[e];i!==null&&(i instanceof of?t[e]=i[jp]():i instanceof O?i.isEmpty()||(t[e]=i.dump()):t[e]=i)}return t}[qe](){return null}[Ut](){return Ht.EMPTY}*[yp](){for(const t of this[Ti]())yield t}*[N_](t,e){for(const i of this[yp]())if(!t||e===t.has(i[Se])){const n=this[Wu](),a=i[Ut](n);a.success||(this[Q].failingNode=i),yield a}}[o9](){return null}[Vu](t,e){this[Q].children.push(t)}[Wu](){}[Mh]({filter:t=null,include:e=!0}){if(!this[Q].generator)this[Q].generator=this[N_](t,e);else{const i=this[Wu](),n=this[Q].failingNode[Ut](i);if(!n.success)return n;n.html&&this[Vu](n.html,n.bbox),delete this[Q].failingNode}for(;;){const i=this[Q].generator.next();if(i.done)break;const n=i.value;if(!n.success)return n;n.html&&this[Vu](n.html,n.bbox)}return this[Q].generator=null,Ht.EMPTY}[_$](t){this[Qp]=new Set(Object.keys(t))}[L_](t){const e=this[y1],i=this[Qp];return[...t].filter(n=>e.has(n)&&!i.has(n))}[am](t,e=new Set){for(const i of this[re])i[Yp](t,e)}[Yp](t,e){const i=this[Q8](t,e);i?this[P9](i,t,e):this[am](t,e)}[Q8](t,e){const{use:i,usehref:n}=this;if(!i&&!n)return null;let a=null,r=null,o=null,l=i;if(n?(l=n,n.startsWith("#som(")&&n.endsWith(")")?r=n.slice(5,-1):n.startsWith(".#som(")&&n.endsWith(")")?r=n.slice(6,-1):n.startsWith("#")?o=n.slice(1):n.startsWith(".#")&&(o=n.slice(2))):i.startsWith("#")?o=i.slice(1):r=i,this.use=this.usehref="",o?a=t.get(o):(a=el(t.get(z$),this,r,!0,!1),a&&(a=a[0])),!a)return H(`XFA - Invalid prototype reference: ${l}.`),null;if(a[Se]!==this[Se])return H(`XFA - Incompatible prototype: ${a[Se]} !== ${this[Se]}.`),null;if(e.has(a))return H("XFA - Cycle detected in prototypes use."),null;e.add(a);const c=a[Q8](t,e);return c&&a[P9](c,t,e),a[am](t,e),e.delete(a),a}[P9](t,e,i){if(i.has(t)){H("XFA - Cycle detected in prototypes use.");return}!this[nt]&&t[nt]&&(this[nt]=t[nt]),new Set(i).add(t);for(const n of this[L_](t[Qp]))this[n]=t[n],this[Qp]&&this[Qp].add(n);for(const n of Object.getOwnPropertyNames(this)){if(this[y1].has(n))continue;const a=this[n],r=t[n];if(a instanceof O){for(const o of a[re])o[Yp](e,i);for(let o=a[re].length,l=r[re].length;oof[X8](e)):typeof t=="object"&&t!==null?Object.assign({},t):t}[Pr](){const t=Object.create(Object.getPrototypeOf(this));for(const e of Object.getOwnPropertySymbols(this))try{t[e]=this[e]}catch{mt(t,e,this[e])}t[Oe]=`${t[Se]}${py++}`,t[re]=[];for(const e of Object.getOwnPropertyNames(this)){if(this[y1].has(e)){t[e]=of[X8](this[e]);continue}const i=this[e];t[e]=i instanceof O?new O(i[rm]):null}for(const e of this[re]){const i=e[Se],n=e[Pr]();t[re].push(n),n[er]=t,t[i]===null?t[i]=n:t[i][re].push(n)}return t}[Ti](t=null){return t?this[re].filter(e=>e[Se]===t):this[re]}[C8](t){return this[t]}[Jg](t,e,i=!0){return Array.from(this[Gm](t,e,i))}*[Gm](t,e,i=!0){if(t==="parent"){yield this[er];return}for(const n of this[re])n[Se]===t&&(yield n),n.name===t&&(yield n),(e||n[tb]())&&(yield*n[Gm](t,e,!1));i&&this[y1].has(t)&&(yield new ib(this,t,this[t]))}};m(of,"XFAObject");let Z=of;const x4=class x4{constructor(t=1/0){this[rm]=t,this[re]=[]}get isXFAObject(){return!1}get isXFAObjectArray(){return!0}push(t){return this[re].length<=this[rm]?(this[re].push(t),!0):(H(`XFA - node "${t[Se]}" accepts no more than ${this[rm]} children`),!1)}isEmpty(){return this[re].length===0}dump(){return this[re].length===1?this[re][0][jp]():this[re].map(t=>t[jp]())}[Pr](){const t=new x4(this[rm]);return t[re]=this[re].map(e=>e[Pr]()),t}get children(){return this[re]}clear(){this[re].length=0}};m(x4,"XFAObjectArray");let O=x4;const rM=class rM{constructor(t,e,i){this[er]=t,this[Se]=e,this[nt]=i,this[To]=!1,this[Oe]=`attribute${py++}`}[Jt](){return this[er]}[U1](){return!0}[iF](){return this[nt].trim()}[Zn](t){t=t.value||"",this[nt]=t.toString()}[li](){return this[nt]}[Sc](t){return this[er]===t||this[er][Sc](t)}};m(rM,"XFAAttribute");let ib=rM;const lg=class lg extends Z{constructor(t,e,i={}){if(super(t,e),this[nt]="",this[dc]=null,e!=="#text"){const n=new Map;this[Lh]=n;for(const[a,r]of Object.entries(i))n.set(a,new ib(this,a,r));if(i.hasOwnProperty(Nl)){const a=i[Nl].xfa.dataNode;a!==void 0&&(a==="dataGroup"?this[dc]=!1:a==="dataValue"&&(this[dc]=!0))}}this[To]=!1}[Wm](t){const e=this[Se];if(e==="#text"){t.push(_u(this[nt]));return}const i=e3(e),n=this[Hs]===Y$?"xfa:":"";t.push(`<${n}${i}`);for(const[a,r]of this[Lh]){const o=e3(a);t.push(` ${o}="${_u(r[nt])}"`)}if(this[dc]!==null&&(this[dc]?t.push(' xfa:dataNode="dataValue"'):t.push(' xfa:dataNode="dataGroup"')),!this[nt]&&this[re].length===0){t.push("/>");return}if(t.push(">"),this[nt])typeof this[nt]=="string"?t.push(_u(this[nt])):this[nt][Wm](t);else for(const a of this[re])a[Wm](t);t.push(``)}[Do](t){if(this[nt]){const e=new lg(this[Hs],"#text");this[ks](e),e[nt]=this[nt],this[nt]=""}return this[ks](t),!0}[Vl](t){this[nt]+=t}[Ge](){if(this[nt]&&this[re].length>0){const t=new lg(this[Hs],"#text");this[ks](t),t[nt]=this[nt],delete this[nt]}}[Ut](){return this[Se]==="#text"?Ht.success({name:"#text",value:this[nt]}):Ht.EMPTY}[Ti](t=null){return t?this[re].filter(e=>e[Se]===t):this[re]}[L$](){return this[Lh]}[C8](t){const e=this[Lh].get(t);return e!==void 0?e:this[Ti](t)}*[Gm](t,e){const i=this[Lh].get(t);i&&(yield i);for(const n of this[re])n[Se]===t&&(yield n),e&&(yield*n[Gm](t,e))}*[ry](t,e){const i=this[Lh].get(t);i&&(!e||!i[To])&&(yield i);for(const n of this[re])yield*n[ry](t,e)}*[$m](t,e,i){for(const n of this[re])n[Se]===t&&(!i||!n[To])&&(yield n),e&&(yield*n[$m](t,e,i))}[U1](){return this[dc]===null?this[re].length===0||this[re][0][Hs]===Ls.xhtml.id:this[dc]}[iF](){return this[dc]===null?this[re].length===0?this[nt].trim():this[re][0][Hs]===Ls.xhtml.id?this[re][0][li]().trim():null:this[nt].trim()}[Zn](t){t=t.value||"",this[nt]=t.toString()}[jp](t=!1){const e=Object.create(null);t&&(e.$ns=this[Hs]),this[nt]&&(e.$content=this[nt]),e.$name=this[Se],e.children=[];for(const i of this[re])e.children.push(i[jp](t));e.attributes=Object.create(null);for(const[i,n]of this[Lh])e.attributes[i]=n[nt];return e}};m(lg,"XmlObject");let Wl=lg;const oM=class oM extends Z{constructor(t,e){super(t,e),this[nt]=""}[Vl](t){this[nt]+=t}[Ge](){}};m(oM,"ContentObject");let gs=oM;const lM=class lM extends gs{constructor(t,e,i){super(t,e),this[H9]=i}[Ge](){this[nt]=c9({data:this[nt],defaultValue:this[H9][0],validate:m(t=>this[H9].includes(t),"validate")})}[or](t){super[or](t),delete this[H9]}};m(lM,"OptionObject");let Fe=lM;const cM=class cM extends gs{[Ge](){this[nt]=this[nt].trim()}};m(cM,"StringObject");let le=cM;const hM=class hM extends gs{constructor(t,e,i,n){super(t,e),this[Y8]=i,this[Z8]=n}[Ge](){this[nt]=Yt({data:this[nt],defaultValue:this[Y8],validate:this[Z8]})}[or](t){super[or](t),delete this[Y8],delete this[Z8]}};m(hM,"IntegerObject");let Ea=hM;const fM=class fM extends Ea{constructor(t,e){super(t,e,0,i=>i===1)}};m(fM,"Option01");let zs=fM;const uM=class uM extends Ea{constructor(t,e){super(t,e,1,i=>i===0)}};m(uM,"Option10");let _3=uM;function Xt(s){return typeof s=="string"?"0px":Number.isInteger(s)?`${s}px`:`${s.toFixed(2)}px`}m(Xt,"measureToString");const z_={anchorType(s,t){const e=s[Ns]();if(!(!e||e.layout&&e.layout!=="position"))switch("transform"in t||(t.transform=""),s.anchorType){case"bottomCenter":t.transform+="translate(-50%, -100%)";break;case"bottomLeft":t.transform+="translate(0,-100%)";break;case"bottomRight":t.transform+="translate(-100%,-100%)";break;case"middleCenter":t.transform+="translate(-50%,-50%)";break;case"middleLeft":t.transform+="translate(0,-50%)";break;case"middleRight":t.transform+="translate(-100%,-50%)";break;case"topCenter":t.transform+="translate(-50%,0)";break;case"topRight":t.transform+="translate(-100%,0)";break}},dimensions(s,t){var a;const e=s[Ns]();let i=s.w;const n=s.h;if((a=e.layout)!=null&&a.includes("row")){const r=e[Q],o=s.colSpan;let l;o===-1?(l=Math.sumPrecise(r.columnWidths.slice(r.currentColumn)),r.currentColumn=0):(l=Math.sumPrecise(r.columnWidths.slice(r.currentColumn,r.currentColumn+o)),r.currentColumn=(r.currentColumn+s.colSpan)%r.columnWidths.length),isNaN(l)||(i=s.w=l)}t.width=i!==""?Xt(i):"auto",t.height=n!==""?Xt(n):"auto"},position(s,t){const e=s[Ns]();e!=null&&e.layout&&e.layout!=="position"||(t.position="absolute",t.left=Xt(s.x),t.top=Xt(s.y))},rotate(s,t){s.rotate&&("transform"in t||(t.transform=""),t.transform+=`rotate(-${s.rotate}deg)`,t.transformOrigin="top left")},presence(s,t){switch(s.presence){case"invisible":t.visibility="hidden";break;case"hidden":case"inactive":t.display="none";break}},hAlign(s,t){if(s[Se]==="para")switch(s.hAlign){case"justifyAll":t.textAlign="justify-all";break;case"radix":t.textAlign="left";break;default:t.textAlign=s.hAlign}else switch(s.hAlign){case"left":t.alignSelf="start";break;case"center":t.alignSelf="center";break;case"right":t.alignSelf="end";break}},margin(s,t){s.margin&&(t.margin=s.margin[qe]().margin)}};function rF(s,t){s[Ns]().layout==="position"&&(s.minW>0&&(t.minWidth=Xt(s.minW)),s.maxW>0&&(t.maxWidth=Xt(s.maxW)),s.minH>0&&(t.minHeight=Xt(s.minH)),s.maxH>0&&(t.maxHeight=Xt(s.maxH)))}m(rF,"setMinMaxDimensions");function my(s,t,e,i,n,a){const r=new dy(t,e,i,n);return typeof s=="string"?r.addString(s):s[Ho](r),r.compute(a)}m(my,"layoutText");function T8(s,t){let e=null,i=null,n=!1;if((!s.w||!s.h)&&s.value){let a=0,r=0;s.margin&&(a=s.margin.leftInset+s.margin.rightInset,r=s.margin.topInset+s.margin.bottomInset);let o=null,l=null;s.para&&(l=Object.create(null),o=s.para.lineHeight===""?null:s.para.lineHeight,l.top=s.para.spaceAbove===""?0:s.para.spaceAbove,l.bottom=s.para.spaceBelow===""?0:s.para.spaceBelow,l.left=s.para.marginLeft===""?0:s.para.marginLeft,l.right=s.para.marginRight===""?0:s.para.marginRight);let c=s.font;if(!c){const d=s[Ps]();let p=s[Jt]();for(;p&&p!==d;){if(p.font){c=p.font;break}p=p[Jt]()}}const h=(s.w||t.width)-a,u=s[Ue].fontFinder;if(s.value.exData&&s.value.exData[nt]&&s.value.exData.contentType==="text/html"){const d=my(s.value.exData[nt],c,l,o,u,h);i=d.width,e=d.height,n=d.isBroken}else{const d=s.value[li]();if(d){const p=my(d,c,l,o,u,h);i=p.width,e=p.height,n=p.isBroken}}i!==null&&!s.w&&(i+=a),e!==null&&!s.h&&(e+=r)}return{w:i,h:e,isBroken:n}}m(T8,"layoutNode");function oF(s,t,e){let i;if(s.w!==""&&s.h!=="")i=[s.x,s.y,s.w,s.h];else{if(!e)return null;let n=s.w;if(n===""){if(s.maxW===0){const r=s[Ns]();n=r.layout==="position"&&r.w!==""?0:s.minW}else n=Math.min(s.maxW,e.width);t.attributes.style.width=Xt(n)}let a=s.h;if(a===""){if(s.maxH===0){const r=s[Ns]();a=r.layout==="position"&&r.h!==""?0:s.minH}else a=Math.min(s.maxH,e.height);t.attributes.style.height=Xt(a)}i=[s.x,s.y,n,a]}return i}m(oF,"computeBbox");function h9(s){var e;const t=s[Ns]();if((e=t.layout)!=null&&e.includes("row")){const i=t[Q],n=s.colSpan;let a;n===-1?a=Math.sumPrecise(i.columnWidths.slice(i.currentColumn)):a=Math.sumPrecise(i.columnWidths.slice(i.currentColumn,i.currentColumn+n)),isNaN(a)||(s.w=a)}t.layout&&t.layout!=="position"&&(s.x=s.y=0),s.layout==="table"&&s.w===""&&Array.isArray(s.columnWidths)&&(s.w=Math.sumPrecise(s.columnWidths))}m(h9,"fixDimensions");function lF(s){switch(s.layout){case"position":return"xfaPosition";case"lr-tb":return"xfaLrTb";case"rl-row":return"xfaRlRow";case"rl-tb":return"xfaRlTb";case"row":return"xfaRow";case"table":return"xfaTable";case"tb":return"xfaTb";default:return"xfaPosition"}}m(lF,"layoutClass");function gn(s,...t){const e=Object.create(null);for(const i of t){const n=s[i];if(n!==null){if(z_.hasOwnProperty(i)){z_[i](s,e);continue}if(n instanceof Z){const a=n[qe]();a?Object.assign(e,a):H(`(DEBUG) - XFA - style for ${i} not implemented yet`)}}}return e}m(gn,"toStyle");function Th(s,t){const{attributes:e}=t,{style:i}=e,n={name:"div",attributes:{class:["xfaWrapper"],style:Object.create(null)},children:[]};if(e.class.push("xfaWrapped"),s.border){const{widths:a,insets:r}=s.border[Q];let o,l,c=r[0],h=r[3];const u=r[0]+r[2],d=r[1]+r[3];switch(s.border.hand){case"even":c-=a[0]/2,h-=a[3]/2,o=`calc(100% + ${(a[1]+a[3])/2-d}px)`,l=`calc(100% + ${(a[0]+a[2])/2-u}px)`;break;case"left":c-=a[0],h-=a[3],o=`calc(100% + ${a[1]+a[3]-d}px)`,l=`calc(100% + ${a[0]+a[2]-u}px)`;break;case"right":o=d?`calc(100% - ${d}px)`:"100%",l=u?`calc(100% - ${u}px)`:"100%";break}const p=["xfaBorder"];c1(s.border)&&p.push("xfaPrintOnly");const g={name:"div",attributes:{class:p,style:{top:`${c}px`,left:`${h}px`,width:o,height:l}},children:[]};for(const b of["border","borderWidth","borderColor","borderRadius","borderStyle"])i[b]!==void 0&&(g.attributes.style[b]=i[b],delete i[b]);n.children.push(g,t)}else n.children.push(t);for(const a of["background","backgroundClip","top","left","width","height","minWidth","minHeight","maxWidth","maxHeight","transform","transformOrigin","visibility"])i[a]!==void 0&&(n.attributes.style[a]=i[a],delete i[a]);return n.attributes.style.position=i.position==="absolute"?"absolute":"relative",delete i.position,i.alignSelf&&(n.attributes.style.alignSelf=i.alignSelf,delete i.alignSelf),n}m(Th,"createWrapper");function cF(s){const t=It(s.textIndent,"0px");if(t>=0)return;const e="padding"+((s.textAlign==="right"?"right":"left")=="left"?"Left":"Right"),i=It(s[e],"0px");s[e]=`${i-t}px`}m(cF,"fixTextIndent");function F8(s,t){switch(s.access){case"nonInteractive":t.push("xfaNonInteractive");break;case"readOnly":t.push("xfaReadOnly");break;case"protected":t.push("xfaDisabled");break}}m(F8,"setAccess");function c1(s){return s.relevant.length>0&&!s.relevant[0].excluded&&s.relevant[0].viewname==="print"}m(c1,"isPrintOnly");function hF(s){const t=s[Ps]()[Q].paraStack;return t.length?t.at(-1):null}m(hF,"getCurrentPara");function fF(s,t,e){var i;if((i=e.attributes.class)!=null&&i.includes("xfaRich")){t&&(s.h===""&&(t.height="auto"),s.w===""&&(t.width="auto"));const n=hF(s);if(n){const a=e.attributes.style;switch(a.display="flex",a.flexDirection="column",n.vAlign){case"top":a.justifyContent="start";break;case"bottom":a.justifyContent="end";break;case"middle":a.justifyContent="center";break}const r=n[qe]();for(const[o,l]of Object.entries(r))o in a||(a[o]=l)}}}m(fF,"setPara");function uF(s,t,e,i){if(!e){delete i.fontFamily;return}const n=l9(s.typeface);i.fontFamily=`"${n}"`;const a=e.find(n);if(a){const{fontFamily:r}=a.regular.cssFontInfo;r!==n&&(i.fontFamily=`"${r}"`);const o=hF(t);if(o&&o.lineHeight!==""||i.lineHeight)return;const l=I8(s,a);l&&(i.lineHeight=Math.max(1.2,l.lineHeight))}}m(uF,"setFontFamily");function dF(s){const t=Sg(s,null,{addDefaultProtocol:!0,tryConvertEncoding:!0});return t?t.href:null}m(dF,"fixURL");function pF(s,t){return{name:"div",attributes:{class:[s.layout==="lr-tb"?"xfaLr":"xfaRl"]},children:t}}m(pF,"createLine");function mF(s){if(!s[Q])return null;const t={name:"div",attributes:s[Q].attributes,children:s[Q].children};if(s[Q].failingNode){const e=s[Q].failingNode[o9]();e&&(s.layout.endsWith("-tb")?t.children.push(pF(s,[e])):t.children.push(e))}return t.children.length===0?null:t}m(mF,"flushHTML");function gF(s,t,e){const i=s[Q],n=i.availableSpace,[a,r,o,l]=e;switch(s.layout){case"position":{i.width=Math.max(i.width,a+o),i.height=Math.max(i.height,r+l),i.children.push(t);break}case"lr-tb":case"rl-tb":(!i.line||i.attempt===1)&&(i.line=pF(s,[]),i.children.push(i.line),i.numberInLine=0),i.numberInLine+=1,i.line.children.push(t),i.attempt===0?(i.currentWidth+=o,i.height=Math.max(i.height,i.prevHeight+l)):(i.currentWidth=o,i.prevHeight=i.height,i.height+=l,i.attempt=0),i.width=Math.max(i.width,i.currentWidth);break;case"rl-row":case"row":{i.children.push(t),i.width+=o,i.height=Math.max(i.height,l);const c=Xt(i.height);for(const h of i.children)h.attributes.style.height=c;break}case"table":{i.width=Ys(o,i.width,n.width),i.height+=l,i.children.push(t);break}case"tb":{i.width=Ys(o,i.width,n.width),i.height+=l,i.children.push(t);break}}}m(gF,"addHTML");function bF(s){const t=s[Q].availableSpace,e=s.margin?s.margin.topInset+s.margin.bottomInset:0,i=s.margin?s.margin.leftInset+s.margin.rightInset:0;switch(s.layout){case"lr-tb":case"rl-tb":return s[Q].attempt===0?{width:t.width-i-s[Q].currentWidth,height:t.height-e-s[Q].prevHeight}:{width:t.width-i,height:t.height-e-s[Q].height};case"rl-row":case"row":return{width:Math.sumPrecise(s[Q].columnWidths.slice(s[Q].currentColumn)),height:t.height-i};case"table":case"tb":return{width:t.width-i,height:t.height-e-s[Q].height};default:return t}}m(bF,"getAvailableSpace");function Q$(s){let t=s.w===""?NaN:s.w,e=s.h===""?NaN:s.h,[i,n]=[0,0];switch(s.anchorType||""){case"bottomCenter":[i,n]=[t/2,e];break;case"bottomLeft":[i,n]=[0,e];break;case"bottomRight":[i,n]=[t,e];break;case"middleCenter":[i,n]=[t/2,e/2];break;case"middleLeft":[i,n]=[0,e/2];break;case"middleRight":[i,n]=[t,e/2];break;case"topCenter":[i,n]=[t/2,0];break;case"topRight":[i,n]=[t,0];break}let a,r;switch(s.rotate||0){case 0:[a,r]=[-i,-n];break;case 90:[a,r]=[-n,i],[t,e]=[e,-t];break;case 180:[a,r]=[i,n],[t,e]=[-t,-e];break;case 270:[a,r]=[n,-i],[t,e]=[-e,t];break}return[s.x+a+Math.min(0,t),s.y+r+Math.min(0,e),Math.abs(t),Math.abs(e)]}m(Q$,"getTransformedBBox");function f9(s,t){var l;if(s[Ps]()[Q].firstUnsplittable===null||s.w===0||s.h===0)return!0;const e=2,i=s[Ns](),n=((l=i[Q])==null?void 0:l.attempt)||0,[,a,r,o]=Q$(s);switch(i.layout){case"lr-tb":case"rl-tb":return n===0?s[Ps]()[Q].noLayoutFailure?s.w!==""?Math.round(r-t.width)<=e:t.width>e:s.h!==""&&Math.round(o-t.height)>e?!1:s.w!==""?Math.round(r-t.width)<=e?!0:i[Q].numberInLine===0?t.height>e:!1:t.width>e:s[Ps]()[Q].noLayoutFailure?!0:s.h!==""&&Math.round(o-t.height)>e?!1:s.w===""||Math.round(r-t.width)<=e?t.height>e:i[sc]()?!1:t.height>e;case"table":case"tb":return s[Ps]()[Q].noLayoutFailure?!0:s.h!==""&&!s[$l]()?Math.round(o-t.height)<=e:s.w===""||Math.round(r-t.width)<=e?t.height>e:i[sc]()?!1:t.height>e;case"position":if(s[Ps]()[Q].noLayoutFailure||s.h===""||Math.round(o+a-t.height)<=e)return!0;const c=s[Ps]()[Q].currentContentArea;return o+a>c.h;case"rl-row":case"row":return s[Ps]()[Q].noLayoutFailure?!0:s.h!==""?Math.round(o-t.height)<=e:!0;default:return!0}}m(f9,"checkDimensions");const bt=Ls.template.id,Ku="http://www.w3.org/2000/svg",U3=2,HQ=3,OQ=5e3,NQ=/^H(\d+)$/,LQ=new Set(["image/gif","image/jpeg","image/jpg","image/pjpeg","image/png","image/apng","image/x-png","image/bmp","image/x-ms-bmp","image/tiff","image/tif","application/octet-stream"]),zQ=[[[66,77],"image/bmp"],[[255,216,255],"image/jpeg"],[[73,73,42,0],"image/tiff"],[[77,77,0,42],"image/tiff"],[[71,73,70,56,57,97],"image/gif"],[[137,80,78,71,13,10,26,10],"image/png"]];function gy(s){if(!s||!s.border)return{w:0,h:0};const t=s.border[Xi]();return t?{w:t.widths[0]+t.widths[2]+t.insets[0]+t.insets[2],h:t.widths[1]+t.widths[3]+t.insets[1]+t.insets[3]}:{w:0,h:0}}m(gy,"getBorderDims");function E8(s){return s.margin&&(s.margin.topInset||s.margin.rightInset||s.margin.bottomInset||s.margin.leftInset)}m(E8,"hasMargin");function R8(s,t){if(!s.value){const e=new db({});s[ks](e),s.value=e}s.value[Zn](t)}m(R8,"_setValue");function*M8(s){for(const t of s[Ti]()){if(t instanceof hb){yield*t[yp]();continue}yield t}}m(M8,"getContainedChildren");function Fp(s){var t;return((t=s.validate)==null?void 0:t.nullTest)==="error"}m(Fp,"isRequired");function u9(s){for(;s;){if(!s.traversal){s[Dr]=s[Jt]()[Dr];return}if(s[Dr])return;let t=null;for(const n of s.traversal[Ti]())if(n.operation==="next"){t=n;break}if(!t||!t.ref){s[Dr]=s[Jt]()[Dr];return}const e=s[Ps]();s[Dr]=++e[Dr];const i=e[Ll](t.ref,s);if(!i)return;s=i[0]}}m(u9,"setTabIndex");function d9(s,t){var i;const e=s.assist;if(e){const n=e[Ut]();n&&(t.title=n);const a=e.role.match(NQ);if(a){const r="heading",o=a[1];t.role=r,t["aria-level"]=o}}if(s.layout==="table")t.role="table";else if(s.layout==="row")t.role="row";else{const n=s[Jt]();n.layout==="row"&&(t.role=((i=n.assist)==null?void 0:i.role)==="TH"?"columnheader":"cell")}}m(d9,"applyAssist");function Bh(s){if(!s.assist)return null;const t=s.assist;return t.speak&&t.speak[nt]!==""?t.speak[nt]:t.toolTip?t.toolTip[nt]:null}m(Bh,"ariaLabel");function lc(s){return Ht.success({name:"div",attributes:{class:["xfaRich"],style:Object.create(null)},children:[{name:"span",attributes:{style:Object.create(null)},value:s}]})}m(lc,"valueToHtml");function p9(s){const t=s[Ps]();t[Q].firstUnsplittable===null&&(t[Q].firstUnsplittable=s,t[Q].noLayoutFailure=!0)}m(p9,"setFirstUnsplittable");function m9(s){const t=s[Ps]();t[Q].firstUnsplittable===s&&(t[Q].noLayoutFailure=!1)}m(m9,"unsetFirstUnsplittable");function by(s){if(s[Q]||(s[Q]=Object.create(null),s.targetType==="auto"))return!1;const t=s[Ps]();let e=null;if(s.target){if(e=t[Ll](s.target,s[Jt]()),!e)return!1;e=e[0]}const{currentPageArea:i,currentContentArea:n}=t[Q];if(s.targetType==="pageArea")return e instanceof Dh||(e=null),s.startNew?(s[Q].target=e||i,!0):e&&e!==i?(s[Q].target=e,!0):!1;e instanceof ab||(e=null);const a=e&&e[Jt]();let r,o=a;if(s.startNew)if(e){const l=a.contentArea.children,c=l.indexOf(n),h=l.indexOf(e);c!==-1&&cs,i[Q].noLayoutFailure=!0;const r=t[Ut](e);s[Vu](r.html,r.bbox),i[Q].noLayoutFailure=n,t[Ns]=a}m(wy,"handleOverflow");const dM=class dM extends le{constructor(t){super(bt,"appearanceFilter"),this.id=t.id||"",this.type=lt(t.type,["optional","required"]),this.use=t.use||"",this.usehref=t.usehref||""}};m(dM,"AppearanceFilter");let jy=dM;const pM=class pM extends Z{constructor(t){super(bt,"arc",!0),this.circular=Yt({data:t.circular,defaultValue:0,validate:m(e=>e===1,"validate")}),this.hand=lt(t.hand,["even","left","right"]),this.id=t.id||"",this.startAngle=sb({data:t.startAngle,defaultValue:0,validate:m(e=>!0,"validate")}),this.sweepAngle=sb({data:t.sweepAngle,defaultValue:360,validate:m(e=>!0,"validate")}),this.use=t.use||"",this.usehref=t.usehref||"",this.edge=null,this.fill=null}[Ut](){var l;const t=this.edge||new e1({}),e=t[qe](),i=Object.create(null);((l=this.fill)==null?void 0:l.presence)==="visible"?Object.assign(i,this.fill[qe]()):i.fill="transparent",i.strokeWidth=Xt(t.presence==="visible"?t.thickness:0),i.stroke=e.color;let n;const a={xmlns:Ku,style:{width:"100%",height:"100%",overflow:"visible"}};if(this.sweepAngle===360)n={name:"ellipse",attributes:{xmlns:Ku,cx:"50%",cy:"50%",rx:"50%",ry:"50%",style:i}};else{const c=this.startAngle*Math.PI/180,h=this.sweepAngle*Math.PI/180,u=this.sweepAngle>180?1:0,[d,p,g,b]=[50*(1+Math.cos(c)),50*(1-Math.sin(c)),50*(1+Math.cos(c+h)),50*(1-Math.sin(c+h))];n={name:"path",attributes:{xmlns:Ku,d:`M ${d} ${p} A 50 50 0 ${u} 0 ${g} ${b}`,vectorEffect:"non-scaling-stroke",style:i}},Object.assign(a,{viewBox:"0 0 100 100",preserveAspectRatio:"none"})}const r={name:"svg",children:[n],attributes:a},o=this[Jt]()[Jt]();return E8(o)?Ht.success({name:"div",attributes:{style:{display:"inline",width:"100%",height:"100%"}},children:[r]}):(r.attributes.style.position="absolute",Ht.success(r))}};m(pM,"Arc");let G3=pM;const mM=class mM extends Z{constructor(t){super(bt,"area",!0),this.colSpan=Yt({data:t.colSpan,defaultValue:1,validate:m(e=>e>=1||e===-1,"validate")}),this.id=t.id||"",this.name=t.name||"",this.relevant=cr(t.relevant),this.use=t.use||"",this.usehref=t.usehref||"",this.x=It(t.x,"0pt"),this.y=It(t.y,"0pt"),this.desc=null,this.extras=null,this.area=new O,this.draw=new O,this.exObject=new O,this.exclGroup=new O,this.field=new O,this.subform=new O,this.subformSet=new O}*[yp](){yield*M8(this)}[tb](){return!0}[l1](){return!0}[Vu](t,e){const[i,n,a,r]=e;this[Q].width=Math.max(this[Q].width,i+a),this[Q].height=Math.max(this[Q].height,n+r),this[Q].children.push(t)}[Wu](){return this[Q].availableSpace}[Ut](t){const e=gn(this,"position"),i={style:e,id:this[Oe],class:["xfaArea"]};c1(this)&&i.class.push("xfaPrintOnly"),this.name&&(i.xfaName=this.name);const n=[];this[Q]={children:n,width:0,height:0,availableSpace:t};const a=this[Mh]({filter:new Set(["area","draw","field","exclGroup","subform","subformSet"]),include:!0});if(!a.success)return a.isBreak()?a:(delete this[Q],Ht.FAILURE);e.width=Xt(this[Q].width),e.height=Xt(this[Q].height);const r={name:"div",attributes:i,children:n},o=[this.x,this.y,this[Q].width,this[Q].height];return delete this[Q],Ht.success(r,o)}};m(mM,"Area");let yy=mM;const gM=class gM extends Z{constructor(t){super(bt,"assist",!0),this.id=t.id||"",this.role=t.role||"",this.use=t.use||"",this.usehref=t.usehref||"",this.speak=null,this.toolTip=null}[Ut](){var t;return((t=this.toolTip)==null?void 0:t[nt])||null}};m(gM,"Assist");let vy=gM;const bM=class bM extends Z{constructor(t){super(bt,"barcode",!0),this.charEncoding=c9({data:t.charEncoding?t.charEncoding.toLowerCase():"",defaultValue:"",validate:m(e=>["utf-8","big-five","fontspecific","gbk","gb-18030","gb-2312","ksc-5601","none","shift-jis","ucs-2","utf-16"].includes(e)||e.match(/iso-8859-\d{2}/),"validate")}),this.checksum=lt(t.checksum,["none","1mod10","1mod10_1mod11","2mod10","auto"]),this.dataColumnCount=Yt({data:t.dataColumnCount,defaultValue:-1,validate:m(e=>e>=0,"validate")}),this.dataLength=Yt({data:t.dataLength,defaultValue:-1,validate:m(e=>e>=0,"validate")}),this.dataPrep=lt(t.dataPrep,["none","flateCompress"]),this.dataRowCount=Yt({data:t.dataRowCount,defaultValue:-1,validate:m(e=>e>=0,"validate")}),this.endChar=t.endChar||"",this.errorCorrectionLevel=Yt({data:t.errorCorrectionLevel,defaultValue:-1,validate:m(e=>e>=0&&e<=8,"validate")}),this.id=t.id||"",this.moduleHeight=It(t.moduleHeight,"5mm"),this.moduleWidth=It(t.moduleWidth,"0.25mm"),this.printCheckDigit=Yt({data:t.printCheckDigit,defaultValue:0,validate:m(e=>e===1,"validate")}),this.rowColumnRatio=hy(t.rowColumnRatio),this.startChar=t.startChar||"",this.textLocation=lt(t.textLocation,["below","above","aboveEmbedded","belowEmbedded","none"]),this.truncate=Yt({data:t.truncate,defaultValue:0,validate:m(e=>e===1,"validate")}),this.type=lt(t.type?t.type.toLowerCase():"",["aztec","codabar","code2of5industrial","code2of5interleaved","code2of5matrix","code2of5standard","code3of9","code3of9extended","code11","code49","code93","code128","code128a","code128b","code128c","code128sscc","datamatrix","ean8","ean8add2","ean8add5","ean13","ean13add2","ean13add5","ean13pwcd","fim","logmars","maxicode","msi","pdf417","pdf417macro","plessey","postauscust2","postauscust3","postausreplypaid","postausstandard","postukrm4scc","postusdpbc","postusimb","postusstandard","postus5zip","qrcode","rfid","rss14","rss14expanded","rss14limited","rss14stacked","rss14stackedomni","rss14truncated","telepen","ucc128","ucc128random","ucc128sscc","upca","upcaadd2","upcaadd5","upcapwcd","upce","upceadd2","upceadd5","upcean2","upcean5","upsmaxicode"]),this.upsMode=lt(t.upsMode,["usCarrier","internationalCarrier","secureSymbol","standardSymbol"]),this.use=t.use||"",this.usehref=t.usehref||"",this.wideNarrowRatio=hy(t.wideNarrowRatio),this.encrypt=null,this.extras=null}};m(bM,"Barcode");let ky=bM;const wM=class wM extends Z{constructor(t){super(bt,"bind",!0),this.match=lt(t.match,["once","dataRef","global","none"]),this.ref=t.ref||"",this.picture=null}};m(wM,"Bind");let qy=wM;const jM=class jM extends Z{constructor(t){super(bt,"bindItems"),this.connection=t.connection||"",this.labelRef=t.labelRef||"",this.ref=t.ref||"",this.valueRef=t.valueRef||""}};m(jM,"BindItems");let nb=jM;const yM=class yM extends Z{constructor(t){super(bt,"bookend"),this.id=t.id||"",this.leader=t.leader||"",this.trailer=t.trailer||"",this.use=t.use||"",this.usehref=t.usehref||""}};m(yM,"Bookend");let xy=yM;const vM=class vM extends zs{constructor(t){super(bt,"boolean"),this.id=t.id||"",this.name=t.name||"",this.use=t.use||"",this.usehref=t.usehref||""}[Ut](t){return lc(this[nt]===1?"1":"0")}};m(vM,"BooleanElement");let Ay=vM;const kM=class kM extends Z{constructor(t){super(bt,"border",!0),this.break=lt(t.break,["close","open"]),this.hand=lt(t.hand,["even","left","right"]),this.id=t.id||"",this.presence=lt(t.presence,["visible","hidden","inactive","invisible"]),this.relevant=cr(t.relevant),this.use=t.use||"",this.usehref=t.usehref||"",this.corner=new O(4),this.edge=new O(4),this.extras=null,this.fill=null,this.margin=null}[Xi](){if(!this[Q]){const t=this.edge.children.slice();if(t.length<4){const n=t.at(-1)||new e1({});for(let a=t.length;a<4;a++)t.push(n)}const e=t.map(n=>n.thickness),i=[0,0,0,0];this.margin&&(i[0]=this.margin.topInset,i[1]=this.margin.rightInset,i[2]=this.margin.bottomInset,i[3]=this.margin.leftInset),this[Q]={widths:e,insets:i,edges:t}}return this[Q]}[qe](){var n;const{edges:t}=this[Xi](),e=t.map(a=>{const r=a[qe]();return r.color||(r.color="#000000"),r}),i=Object.create(null);if(this.margin&&Object.assign(i,this.margin[qe]()),((n=this.fill)==null?void 0:n.presence)==="visible"&&Object.assign(i,this.fill[qe]()),this.corner.children.some(a=>a.radius!==0)){const a=this.corner.children.map(r=>r[qe]());if(a.length===2||a.length===3){const r=a.at(-1);for(let o=a.length;o<4;o++)a.push(r)}i.borderRadius=a.map(r=>r.radius).join(" ")}switch(this.presence){case"invisible":case"hidden":i.borderStyle="";break;case"inactive":i.borderStyle="none";break;default:i.borderStyle=e.map(a=>a.style).join(" ");break}return i.borderWidth=e.map(a=>a.width).join(" "),i.borderColor=e.map(a=>a.color).join(" "),i}};m(kM,"Border");let $3=kM;const qM=class qM extends Z{constructor(t){super(bt,"break",!0),this.after=lt(t.after,["auto","contentArea","pageArea","pageEven","pageOdd"]),this.afterTarget=t.afterTarget||"",this.before=lt(t.before,["auto","contentArea","pageArea","pageEven","pageOdd"]),this.beforeTarget=t.beforeTarget||"",this.bookendLeader=t.bookendLeader||"",this.bookendTrailer=t.bookendTrailer||"",this.id=t.id||"",this.overflowLeader=t.overflowLeader||"",this.overflowTarget=t.overflowTarget||"",this.overflowTrailer=t.overflowTrailer||"",this.startNew=Yt({data:t.startNew,defaultValue:0,validate:m(e=>e===1,"validate")}),this.use=t.use||"",this.usehref=t.usehref||"",this.extras=null}};m(qM,"Break");let Sy=qM;const xM=class xM extends Z{constructor(t){super(bt,"breakAfter",!0),this.id=t.id||"",this.leader=t.leader||"",this.startNew=Yt({data:t.startNew,defaultValue:0,validate:m(e=>e===1,"validate")}),this.target=t.target||"",this.targetType=lt(t.targetType,["auto","contentArea","pageArea"]),this.trailer=t.trailer||"",this.use=t.use||"",this.usehref=t.usehref||"",this.script=null}};m(xM,"BreakAfter");let V3=xM;const AM=class AM extends Z{constructor(t){super(bt,"breakBefore",!0),this.id=t.id||"",this.leader=t.leader||"",this.startNew=Yt({data:t.startNew,defaultValue:0,validate:m(e=>e===1,"validate")}),this.target=t.target||"",this.targetType=lt(t.targetType,["auto","contentArea","pageArea"]),this.trailer=t.trailer||"",this.use=t.use||"",this.usehref=t.usehref||"",this.script=null}[Ut](t){return this[Q]={},Ht.FAILURE}};m(AM,"BreakBefore");let W3=AM;const SM=class SM extends Z{constructor(t){super(bt,"button",!0),this.highlight=lt(t.highlight,["inverted","none","outline","push"]),this.id=t.id||"",this.use=t.use||"",this.usehref=t.usehref||"",this.extras=null}[Ut](t){const e=this[Jt]()[Jt](),i={name:"button",attributes:{id:this[Oe],class:["xfaButton"],style:{}},children:[]};for(const n of e.event.children){if(n.activity!=="click"||!n.script)continue;const a=ET(n.script[nt]);if(!a)continue;const r=dF(a.url);r&&i.children.push({name:"a",attributes:{id:"link"+this[Oe],href:r,newWindow:a.newWindow,class:["xfaLink"],style:{}},children:[]})}return Ht.success(i)}};m(SM,"Button");let Cy=SM;const CM=class CM extends Z{constructor(t){super(bt,"calculate",!0),this.id=t.id||"",this.override=lt(t.override,["disabled","error","ignore","warning"]),this.use=t.use||"",this.usehref=t.usehref||"",this.extras=null,this.message=null,this.script=null}};m(CM,"Calculate");let Iy=CM;const IM=class IM extends Z{constructor(t){super(bt,"caption",!0),this.id=t.id||"",this.placement=lt(t.placement,["left","bottom","inline","right","top"]),this.presence=lt(t.presence,["visible","hidden","inactive","invisible"]),this.reserve=Math.ceil(It(t.reserve)),this.use=t.use||"",this.usehref=t.usehref||"",this.extras=null,this.font=null,this.margin=null,this.para=null,this.value=null}[Zn](t){R8(this,t)}[Xi](t){if(!this[Q]){let{width:e,height:i}=t;switch(this.placement){case"left":case"right":case"inline":e=this.reserve<=0?e:this.reserve;break;case"top":case"bottom":i=this.reserve<=0?i:this.reserve;break}this[Q]=T8(this,{width:e})}return this[Q]}[Ut](t){if(!this.value)return Ht.EMPTY;this[Tp]();const e=this.value[Ut](t).html;if(!e)return this[Qn](),Ht.EMPTY;const i=this.reserve;if(this.reserve<=0){const{w:r,h:o}=this[Xi](t);switch(this.placement){case"left":case"right":case"inline":this.reserve=r;break;case"top":case"bottom":this.reserve=o;break}}const n=[];typeof e=="string"?n.push({name:"#text",value:e}):n.push(e);const a=gn(this,"font","margin","visibility");switch(this.placement){case"left":case"right":this.reserve>0&&(a.width=Xt(this.reserve));break;case"top":case"bottom":this.reserve>0&&(a.height=Xt(this.reserve));break}return fF(this,null,e),this[Qn](),this.reserve=i,Ht.success({name:"div",attributes:{style:a,class:["xfaCaption"]},children:n})}};m(IM,"Caption");let Ty=IM;const TM=class TM extends le{constructor(t){super(bt,"certificate"),this.id=t.id||"",this.name=t.name||"",this.use=t.use||"",this.usehref=t.usehref||""}};m(TM,"Certificate");let Fy=TM;const FM=class FM extends Z{constructor(t){super(bt,"certificates",!0),this.credentialServerPolicy=lt(t.credentialServerPolicy,["optional","required"]),this.id=t.id||"",this.url=t.url||"",this.urlPolicy=t.urlPolicy||"",this.use=t.use||"",this.usehref=t.usehref||"",this.encryption=null,this.issuers=null,this.keyUsage=null,this.oids=null,this.signing=null,this.subjectDNs=null}};m(FM,"Certificates");let Ey=FM;const EM=class EM extends Z{constructor(t){super(bt,"checkButton",!0),this.id=t.id||"",this.mark=lt(t.mark,["default","check","circle","cross","diamond","square","star"]),this.shape=lt(t.shape,["square","round"]),this.size=It(t.size,"10pt"),this.use=t.use||"",this.usehref=t.usehref||"",this.border=null,this.extras=null,this.margin=null}[Ut](t){var b,w,y;const e=gn(this,"margin"),i=Xt(this.size);e.width=e.height=i;let n,a,r;const o=this[Jt]()[Jt](),l=o.items.children.length&&o.items.children[0][Ut]().html||[],c={on:(l[0]!==void 0?l[0]:"on").toString(),off:(l[1]!==void 0?l[1]:"off").toString()},h=(((b=o.value)==null?void 0:b[li]())||"off")===c.on||void 0,u=o[Ns](),d=o[Oe];let p;u instanceof J3?(r=u[Oe],n="radio",a="xfaRadio",p=((w=u[ir])==null?void 0:w[Oe])||u[Oe]):(n="checkbox",a="xfaCheckbox",p=((y=o[ir])==null?void 0:y[Oe])||o[Oe]);const g={name:"input",attributes:{class:[a],style:e,fieldId:d,dataId:p,type:n,checked:h,xfaOn:c.on,xfaOff:c.off,"aria-label":Bh(o),"aria-required":!1}};return r&&(g.attributes.name=r),Fp(o)&&(g.attributes["aria-required"]=!0,g.attributes.required=!0),Ht.success({name:"label",attributes:{class:["xfaLabel"]},children:[g]})}};m(EM,"CheckButton");let K3=EM;const RM=class RM extends Z{constructor(t){super(bt,"choiceList",!0),this.commitOn=lt(t.commitOn,["select","exit"]),this.id=t.id||"",this.open=lt(t.open,["userControl","always","multiSelect","onEntry"]),this.textEntry=Yt({data:t.textEntry,defaultValue:0,validate:m(e=>e===1,"validate")}),this.use=t.use||"",this.usehref=t.usehref||"",this.border=null,this.extras=null,this.margin=null}[Ut](t){var o,l,c;const e=gn(this,"border","margin"),i=this[Jt]()[Jt](),n={fontSize:`calc(${((o=i.font)==null?void 0:o.size)||10}px * var(--total-scale-factor))`},a=[];if(i.items.children.length>0){const h=i.items;let u=0,d=0;h.children.length===2&&(u=h.children[0].save,d=1-u);const p=h.children[u][Ut]().html,g=h.children[d][Ut]().html;let b=!1;const w=((l=i.value)==null?void 0:l[li]())||"";for(let y=0,j=p.length;ye>=0,"validate")}),this.use=t.use||"",this.usehref=t.usehref||""}};m(BM,"Comb");let My=BM;const DM=class DM extends Z{constructor(t){super(bt,"connect",!0),this.connection=t.connection||"",this.id=t.id||"",this.ref=t.ref||"",this.usage=lt(t.usage,["exportAndImport","exportOnly","importOnly"]),this.use=t.use||"",this.usehref=t.usehref||"",this.picture=null}};m(DM,"Connect");let By=DM;const PM=class PM extends Z{constructor(t){super(bt,"contentArea",!0),this.h=It(t.h),this.id=t.id||"",this.name=t.name||"",this.relevant=cr(t.relevant),this.use=t.use||"",this.usehref=t.usehref||"",this.w=It(t.w),this.x=It(t.x,"0pt"),this.y=It(t.y,"0pt"),this.desc=null,this.extras=null}[Ut](t){const e=Xt(this.x),i=Xt(this.y),n={left:e,top:i,width:Xt(this.w),height:Xt(this.h)},a=["xfaContentarea"];return c1(this)&&a.push("xfaPrintOnly"),Ht.success({name:"div",children:[],attributes:{style:n,class:a,id:this[Oe]}})}};m(PM,"ContentArea");let ab=PM;const HM=class HM extends Z{constructor(t){super(bt,"corner",!0),this.id=t.id||"",this.inverted=Yt({data:t.inverted,defaultValue:0,validate:m(e=>e===1,"validate")}),this.join=lt(t.join,["square","round"]),this.presence=lt(t.presence,["visible","hidden","inactive","invisible"]),this.radius=It(t.radius),this.stroke=lt(t.stroke,["solid","dashDot","dashDotDot","dashed","dotted","embossed","etched","lowered","raised"]),this.thickness=It(t.thickness,"0.5pt"),this.use=t.use||"",this.usehref=t.usehref||"",this.color=null,this.extras=null}[qe](){const t=gn(this,"visibility");return t.radius=Xt(this.join==="square"?0:this.radius),t}};m(HM,"Corner");let Y3=HM;const OM=class OM extends gs{constructor(t){super(bt,"date"),this.id=t.id||"",this.name=t.name||"",this.use=t.use||"",this.usehref=t.usehref||""}[Ge](){const t=this[nt].trim();this[nt]=t?new Date(t):null}[Ut](t){return lc(this[nt]?this[nt].toString():"")}};m(OM,"DateElement");let Dy=OM;const NM=class NM extends gs{constructor(t){super(bt,"dateTime"),this.id=t.id||"",this.name=t.name||"",this.use=t.use||"",this.usehref=t.usehref||""}[Ge](){const t=this[nt].trim();this[nt]=t?new Date(t):null}[Ut](t){return lc(this[nt]?this[nt].toString():"")}};m(NM,"DateTime");let Py=NM;const LM=class LM extends Z{constructor(t){super(bt,"dateTimeEdit",!0),this.hScrollPolicy=lt(t.hScrollPolicy,["auto","off","on"]),this.id=t.id||"",this.picker=lt(t.picker,["host","none"]),this.use=t.use||"",this.usehref=t.usehref||"",this.border=null,this.comb=null,this.extras=null,this.margin=null}[Ut](t){var a;const e=gn(this,"border","font","margin"),i=this[Jt]()[Jt](),n={name:"input",attributes:{type:"text",fieldId:i[Oe],dataId:((a=i[ir])==null?void 0:a[Oe])||i[Oe],class:["xfaTextfield"],style:e,"aria-label":Bh(i),"aria-required":!1}};return Fp(i)&&(n.attributes["aria-required"]=!0,n.attributes.required=!0),Ht.success({name:"label",attributes:{class:["xfaLabel"]},children:[n]})}};m(LM,"DateTimeEdit");let Hy=LM;const zM=class zM extends gs{constructor(t){super(bt,"decimal"),this.fracDigits=Yt({data:t.fracDigits,defaultValue:2,validate:m(e=>!0,"validate")}),this.id=t.id||"",this.leadDigits=Yt({data:t.leadDigits,defaultValue:-1,validate:m(e=>!0,"validate")}),this.name=t.name||"",this.use=t.use||"",this.usehref=t.usehref||""}[Ge](){const t=parseFloat(this[nt].trim());this[nt]=isNaN(t)?null:t}[Ut](t){return lc(this[nt]!==null?this[nt].toString():"")}};m(zM,"Decimal");let Oy=zM;const _M=class _M extends Z{constructor(t){super(bt,"defaultUi",!0),this.id=t.id||"",this.use=t.use||"",this.usehref=t.usehref||"",this.extras=null}};m(_M,"DefaultUi");let Ny=_M;const UM=class UM extends Z{constructor(t){super(bt,"desc",!0),this.id=t.id||"",this.use=t.use||"",this.usehref=t.usehref||"",this.boolean=new O,this.date=new O,this.dateTime=new O,this.decimal=new O,this.exData=new O,this.float=new O,this.image=new O,this.integer=new O,this.text=new O,this.time=new O}};m(UM,"Desc");let Ly=UM;const GM=class GM extends Fe{constructor(t){super(bt,"digestMethod",["","SHA1","SHA256","SHA512","RIPEMD160"]),this.id=t.id||"",this.use=t.use||"",this.usehref=t.usehref||""}};m(GM,"DigestMethod");let zy=GM;const $M=class $M extends Z{constructor(t){super(bt,"digestMethods",!0),this.id=t.id||"",this.type=lt(t.type,["optional","required"]),this.use=t.use||"",this.usehref=t.usehref||"",this.digestMethod=new O}};m($M,"DigestMethods");let _y=$M;const VM=class VM extends Z{constructor(t){super(bt,"draw",!0),this.anchorType=lt(t.anchorType,["topLeft","bottomCenter","bottomLeft","bottomRight","middleCenter","middleLeft","middleRight","topCenter","topRight"]),this.colSpan=Yt({data:t.colSpan,defaultValue:1,validate:m(e=>e>=1||e===-1,"validate")}),this.h=t.h?It(t.h):"",this.hAlign=lt(t.hAlign,["left","center","justify","justifyAll","radix","right"]),this.id=t.id||"",this.locale=t.locale||"",this.maxH=It(t.maxH,"0pt"),this.maxW=It(t.maxW,"0pt"),this.minH=It(t.minH,"0pt"),this.minW=It(t.minW,"0pt"),this.name=t.name||"",this.presence=lt(t.presence,["visible","hidden","inactive","invisible"]),this.relevant=cr(t.relevant),this.rotate=Yt({data:t.rotate,defaultValue:0,validate:m(e=>e%90===0,"validate")}),this.use=t.use||"",this.usehref=t.usehref||"",this.w=t.w?It(t.w):"",this.x=It(t.x,"0pt"),this.y=It(t.y,"0pt"),this.assist=null,this.border=null,this.caption=null,this.desc=null,this.extras=null,this.font=null,this.keep=null,this.margin=null,this.para=null,this.traversal=null,this.ui=null,this.value=null,this.setProperty=new O}[Zn](t){R8(this,t)}[Ut](t){if(u9(this),this.presence==="hidden"||this.presence==="inactive")return Ht.EMPTY;h9(this),this[Tp]();const e=this.w,i=this.h,{w:n,h:a,isBroken:r}=T8(this,t);if(n&&this.w===""){if(r&&this[Ns]()[sc]())return this[Qn](),Ht.FAILURE;this.w=n}if(a&&this.h===""&&(this.h=a),p9(this),!f9(this,t))return this.w=e,this.h=i,this[Qn](),Ht.FAILURE;m9(this);const o=gn(this,"font","hAlign","dimensions","position","presence","rotate","anchorType","border","margin");rF(this,o),o.margin&&(o.padding=o.margin,delete o.margin);const l=["xfaDraw"];this.font&&l.push("xfaFont"),c1(this)&&l.push("xfaPrintOnly");const c={style:o,id:this[Oe],class:l};this.name&&(c.xfaName=this.name);const h={name:"div",attributes:c,children:[]};d9(this,c);const u=oF(this,h,t),d=this.value?this.value[Ut](t).html:null;return d===null?(this.w=e,this.h=i,this[Qn](),Ht.success(Th(this,h),u)):(h.children.push(d),fF(this,o,d),this.w=e,this.h=i,this[Qn](),Ht.success(Th(this,h),u))}};m(VM,"Draw");let Q3=VM;const WM=class WM extends Z{constructor(t){super(bt,"edge",!0),this.cap=lt(t.cap,["square","butt","round"]),this.id=t.id||"",this.presence=lt(t.presence,["visible","hidden","inactive","invisible"]),this.stroke=lt(t.stroke,["solid","dashDot","dashDotDot","dashed","dotted","embossed","etched","lowered","raised"]),this.thickness=It(t.thickness,"0.5pt"),this.use=t.use||"",this.usehref=t.usehref||"",this.color=null,this.extras=null}[qe](){const t=gn(this,"visibility");if(Object.assign(t,{linecap:this.cap,width:Xt(this.thickness),color:this.color?this.color[qe]():"#000000",style:""}),this.presence!=="visible")t.style="none";else switch(this.stroke){case"solid":t.style="solid";break;case"dashDot":t.style="dashed";break;case"dashDotDot":t.style="dashed";break;case"dashed":t.style="dashed";break;case"dotted":t.style="dotted";break;case"embossed":t.style="ridge";break;case"etched":t.style="groove";break;case"lowered":t.style="inset";break;case"raised":t.style="outset";break}return t}};m(WM,"Edge");let e1=WM;const KM=class KM extends Fe{constructor(t){super(bt,"encoding",["adbe.x509.rsa_sha1","adbe.pkcs7.detached","adbe.pkcs7.sha1"]),this.id=t.id||"",this.use=t.use||"",this.usehref=t.usehref||""}};m(KM,"Encoding");let Uy=KM;const XM=class XM extends Z{constructor(t){super(bt,"encodings",!0),this.id=t.id||"",this.type=lt(t.type,["optional","required"]),this.use=t.use||"",this.usehref=t.usehref||"",this.encoding=new O}};m(XM,"Encodings");let Gy=XM;const YM=class YM extends Z{constructor(t){super(bt,"encrypt",!0),this.id=t.id||"",this.use=t.use||"",this.usehref=t.usehref||"",this.certificate=null}};m(YM,"Encrypt");let $y=YM;const QM=class QM extends Z{constructor(t){super(bt,"encryptData",!0),this.id=t.id||"",this.operation=lt(t.operation,["encrypt","decrypt"]),this.target=t.target||"",this.use=t.use||"",this.usehref=t.usehref||"",this.filter=null,this.manifest=null}};m(QM,"EncryptData");let Vy=QM;const JM=class JM extends Z{constructor(t){super(bt,"encryption",!0),this.id=t.id||"",this.type=lt(t.type,["optional","required"]),this.use=t.use||"",this.usehref=t.usehref||"",this.certificate=new O}};m(JM,"Encryption");let Wy=JM;const ZM=class ZM extends Fe{constructor(t){super(bt,"encryptionMethod",["","AES256-CBC","TRIPLEDES-CBC","AES128-CBC","AES192-CBC"]),this.id=t.id||"",this.use=t.use||"",this.usehref=t.usehref||""}};m(ZM,"EncryptionMethod");let Ky=ZM;const tB=class tB extends Z{constructor(t){super(bt,"encryptionMethods",!0),this.id=t.id||"",this.type=lt(t.type,["optional","required"]),this.use=t.use||"",this.usehref=t.usehref||"",this.encryptionMethod=new O}};m(tB,"EncryptionMethods");let Xy=tB;var yd;let _Q=(yd=class extends Z{constructor(t){super(bt,"event",!0),this.activity=lt(t.activity,["click","change","docClose","docReady","enter","exit","full","indexChange","initialize","mouseDown","mouseEnter","mouseExit","mouseUp","postExecute","postOpen","postPrint","postSave","postSign","postSubmit","preExecute","preOpen","prePrint","preSave","preSign","preSubmit","ready","validationState"]),this.id=t.id||"",this.listen=lt(t.listen,["refOnly","refAndDescendents"]),this.name=t.name||"",this.ref=t.ref||"",this.use=t.use||"",this.usehref=t.usehref||"",this.extras=null,this.encryptData=null,this.execute=null,this.script=null,this.signData=null,this.submit=null}},m(yd,"Event"),yd);const eB=class eB extends gs{constructor(t){super(bt,"exData"),this.contentType=t.contentType||"",this.href=t.href||"",this.id=t.id||"",this.maxLength=Yt({data:t.maxLength,defaultValue:-1,validate:m(e=>e>=-1,"validate")}),this.name=t.name||"",this.rid=t.rid||"",this.transferEncoding=lt(t.transferEncoding,["none","base64","package"]),this.use=t.use||"",this.usehref=t.usehref||""}[nF](){return this.contentType==="text/html"}[Do](t){return this.contentType==="text/html"&&t[Hs]===Ls.xhtml.id?(this[nt]=t,!0):this.contentType==="text/xml"?(this[nt]=t,!0):!1}[Ut](t){return this.contentType!=="text/html"||!this[nt]?Ht.EMPTY:this[nt][Ut](t)}};m(eB,"ExData");let Yy=eB;const sB=class sB extends Z{constructor(t){super(bt,"exObject",!0),this.archive=t.archive||"",this.classId=t.classId||"",this.codeBase=t.codeBase||"",this.codeType=t.codeType||"",this.id=t.id||"",this.name=t.name||"",this.use=t.use||"",this.usehref=t.usehref||"",this.extras=null,this.boolean=new O,this.date=new O,this.dateTime=new O,this.decimal=new O,this.exData=new O,this.exObject=new O,this.float=new O,this.image=new O,this.integer=new O,this.text=new O,this.time=new O}};m(sB,"ExObject");let Qy=sB;const iB=class iB extends Z{constructor(t){super(bt,"exclGroup",!0),this.access=lt(t.access,["open","nonInteractive","protected","readOnly"]),this.accessKey=t.accessKey||"",this.anchorType=lt(t.anchorType,["topLeft","bottomCenter","bottomLeft","bottomRight","middleCenter","middleLeft","middleRight","topCenter","topRight"]),this.colSpan=Yt({data:t.colSpan,defaultValue:1,validate:m(e=>e>=1||e===-1,"validate")}),this.h=t.h?It(t.h):"",this.hAlign=lt(t.hAlign,["left","center","justify","justifyAll","radix","right"]),this.id=t.id||"",this.layout=lt(t.layout,["position","lr-tb","rl-row","rl-tb","row","table","tb"]),this.maxH=It(t.maxH,"0pt"),this.maxW=It(t.maxW,"0pt"),this.minH=It(t.minH,"0pt"),this.minW=It(t.minW,"0pt"),this.name=t.name||"",this.presence=lt(t.presence,["visible","hidden","inactive","invisible"]),this.relevant=cr(t.relevant),this.use=t.use||"",this.usehref=t.usehref||"",this.w=t.w?It(t.w):"",this.x=It(t.x,"0pt"),this.y=It(t.y,"0pt"),this.assist=null,this.bind=null,this.border=null,this.calculate=null,this.caption=null,this.desc=null,this.extras=null,this.margin=null,this.para=null,this.traversal=null,this.validate=null,this.connect=new O,this.event=new O,this.field=new O,this.setProperty=new O}[l1](){return!0}[Zg](){return!0}[Zn](t){for(const e of this.field.children){if(!e.value){const i=new db({});e[ks](i),e.value=i}e.value[Zn](t)}}[sc](){return this.layout.endsWith("-tb")&&this[Q].attempt===0&&this[Q].numberInLine>0||this[Jt]()[sc]()}[$l](){var e;const t=this[Ns]();return t[$l]()?this[Q]._isSplittable!==void 0?this[Q]._isSplittable:this.layout==="position"||this.layout.includes("row")?(this[Q]._isSplittable=!1,!1):(e=t.layout)!=null&&e.endsWith("-tb")&&t[Q].numberInLine!==0?!1:(this[Q]._isSplittable=!0,!0):!1}[o9](){return mF(this)}[Vu](t,e){gF(this,t,e)}[Wu](){return bF(this)}[Ut](t){if(u9(this),this.presence==="hidden"||this.presence==="inactive"||this.h===0||this.w===0)return Ht.EMPTY;h9(this);const e=[],i={id:this[Oe],class:[]};F8(this,i.class),this[Q]||(this[Q]=Object.create(null)),Object.assign(this[Q],{children:e,attributes:i,attempt:0,line:null,numberInLine:0,availableSpace:{width:Math.min(this.w||1/0,t.width),height:Math.min(this.h||1/0,t.height)},width:0,height:0,prevHeight:0,currentWidth:0});const n=this[$l]();if(n||p9(this),!f9(this,t))return Ht.FAILURE;const a=new Set(["field"]);if(this.layout.includes("row")){const y=this[Ns]().columnWidths;Array.isArray(y)&&y.length>0&&(this[Q].columnWidths=y,this[Q].currentColumn=0)}const r=gn(this,"anchorType","dimensions","position","presence","border","margin","hAlign"),o=["xfaExclgroup"],l=lF(this);l&&o.push(l),c1(this)&&o.push("xfaPrintOnly"),i.style=r,i.class=o,this.name&&(i.xfaName=this.name),this[Tp]();const c=this.layout==="lr-tb"||this.layout==="rl-tb",h=c?U3:1;for(;this[Q].attempte>=1||e===-1,"validate")}),this.h=t.h?It(t.h):"",this.hAlign=lt(t.hAlign,["left","center","justify","justifyAll","radix","right"]),this.id=t.id||"",this.locale=t.locale||"",this.maxH=It(t.maxH,"0pt"),this.maxW=It(t.maxW,"0pt"),this.minH=It(t.minH,"0pt"),this.minW=It(t.minW,"0pt"),this.name=t.name||"",this.presence=lt(t.presence,["visible","hidden","inactive","invisible"]),this.relevant=cr(t.relevant),this.rotate=Yt({data:t.rotate,defaultValue:0,validate:m(e=>e%90===0,"validate")}),this.use=t.use||"",this.usehref=t.usehref||"",this.w=t.w?It(t.w):"",this.x=It(t.x,"0pt"),this.y=It(t.y,"0pt"),this.assist=null,this.bind=null,this.border=null,this.calculate=null,this.caption=null,this.desc=null,this.extras=null,this.font=null,this.format=null,this.items=new O(2),this.keep=null,this.margin=null,this.para=null,this.traversal=null,this.ui=null,this.validate=null,this.value=null,this.bindItems=new O,this.connect=new O,this.event=new O,this.setProperty=new O}[l1](){return!0}[Zn](t){R8(this,t)}[Ut](t){var y,j,k,q,A;if(u9(this),!this.ui){this.ui=new ub({}),this.ui[Ue]=this[Ue],this[ks](this.ui);let I;switch(this.items.children.length){case 0:I=new i6({}),this.ui.textEdit=I;break;case 1:I=new K3({}),this.ui.checkButton=I;break;case 2:I=new X3({}),this.ui.choiceList=I;break}this.ui[ks](I)}if(!this.ui||this.presence==="hidden"||this.presence==="inactive"||this.h===0||this.w===0)return Ht.EMPTY;this.caption&&delete this.caption[Q],this[Tp]();const e=this.caption?this.caption[Ut](t).html:null,i=this.w,n=this.h;let a=0,r=0;this.margin&&(a=this.margin.leftInset+this.margin.rightInset,r=this.margin.topInset+this.margin.bottomInset);let o=null;if(this.w===""||this.h===""){let I=null,C=null,F=0,E=0;if(this.ui.checkButton)F=E=this.ui.checkButton.size;else{const{w:D,h:M}=T8(this,t);D!==null?(F=D,E=M):E=V$(this.font,!0).lineNoGap}if(o=gy(this.ui[Xi]()),F+=o.w,E+=o.h,this.caption){const{w:D,h:M,isBroken:_}=this.caption[Xi](t);if(_&&this[Ns]()[sc]())return this[Qn](),Ht.FAILURE;switch(I=D,C=M,this.caption.placement){case"left":case"right":case"inline":I+=F;break;case"top":case"bottom":C+=E;break}}else I=F,C=E;I&&this.w===""&&(I+=a,this.w=Math.min(this.maxW<=0?1/0:this.maxW,this.minW+1e>=1&&e<=5,"validate")}),this.appearanceFilter=null,this.certificates=null,this.digestMethods=null,this.encodings=null,this.encryptionMethods=null,this.handler=null,this.lockDocument=null,this.mdp=null,this.reasons=null,this.timeStamp=null}};m(lB,"Filter");let ev=lB;const cB=class cB extends gs{constructor(t){super(bt,"float"),this.id=t.id||"",this.name=t.name||"",this.use=t.use||"",this.usehref=t.usehref||""}[Ge](){const t=parseFloat(this[nt].trim());this[nt]=isNaN(t)?null:t}[Ut](t){return lc(this[nt]!==null?this[nt].toString():"")}};m(cB,"Float");let sv=cB;const hB=class hB extends Z{constructor(t){super(bt,"font",!0),this.baselineShift=It(t.baselineShift),this.fontHorizontalScale=sb({data:t.fontHorizontalScale,defaultValue:100,validate:m(e=>e>=0,"validate")}),this.fontVerticalScale=sb({data:t.fontVerticalScale,defaultValue:100,validate:m(e=>e>=0,"validate")}),this.id=t.id||"",this.kerningMode=lt(t.kerningMode,["none","pair"]),this.letterSpacing=It(t.letterSpacing,"0"),this.lineThrough=Yt({data:t.lineThrough,defaultValue:0,validate:m(e=>e===1||e===2,"validate")}),this.lineThroughPeriod=lt(t.lineThroughPeriod,["all","word"]),this.overline=Yt({data:t.overline,defaultValue:0,validate:m(e=>e===1||e===2,"validate")}),this.overlinePeriod=lt(t.overlinePeriod,["all","word"]),this.posture=lt(t.posture,["normal","italic"]),this.size=It(t.size,"10pt"),this.typeface=t.typeface||"Courier",this.underline=Yt({data:t.underline,defaultValue:0,validate:m(e=>e===1||e===2,"validate")}),this.underlinePeriod=lt(t.underlinePeriod,["all","word"]),this.use=t.use||"",this.usehref=t.usehref||"",this.weight=lt(t.weight,["normal","bold"]),this.extras=null,this.fill=null}[or](t){super[or](t),this[Ue].usedTypefaces.add(this.typeface)}[qe](){const t=gn(this,"fill"),e=t.color;return e&&(e==="#000000"?delete t.color:e.startsWith("#")||(t.background=e,t.backgroundClip="text",t.color="transparent")),this.baselineShift&&(t.verticalAlign=Xt(this.baselineShift)),t.fontKerning=this.kerningMode==="none"?"none":"normal",t.letterSpacing=Xt(this.letterSpacing),this.lineThrough!==0&&(t.textDecoration="line-through",this.lineThrough===2&&(t.textDecorationStyle="double")),this.overline!==0&&(t.textDecoration="overline",this.overline===2&&(t.textDecorationStyle="double")),t.fontStyle=this.posture,t.fontSize=Xt(.99*this.size),uF(this,this,this[Ue].fontFinder,t),this.underline!==0&&(t.textDecoration="underline",this.underline===2&&(t.textDecorationStyle="double")),t.fontWeight=this.weight,t}};m(hB,"template_Font");let iv=hB;const fB=class fB extends Z{constructor(t){super(bt,"format",!0),this.id=t.id||"",this.use=t.use||"",this.usehref=t.usehref||"",this.extras=null,this.picture=null}};m(fB,"Format");let nv=fB;const uB=class uB extends le{constructor(t){super(bt,"handler"),this.id=t.id||"",this.type=lt(t.type,["optional","required"]),this.use=t.use||"",this.usehref=t.usehref||""}};m(uB,"Handler");let av=uB;const dB=class dB extends Z{constructor(t){super(bt,"hyphenation"),this.excludeAllCaps=Yt({data:t.excludeAllCaps,defaultValue:0,validate:m(e=>e===1,"validate")}),this.excludeInitialCap=Yt({data:t.excludeInitialCap,defaultValue:0,validate:m(e=>e===1,"validate")}),this.hyphenate=Yt({data:t.hyphenate,defaultValue:0,validate:m(e=>e===1,"validate")}),this.id=t.id||"",this.pushCharacterCount=Yt({data:t.pushCharacterCount,defaultValue:3,validate:m(e=>e>=0,"validate")}),this.remainCharacterCount=Yt({data:t.remainCharacterCount,defaultValue:3,validate:m(e=>e>=0,"validate")}),this.use=t.use||"",this.usehref=t.usehref||"",this.wordCharacterCount=Yt({data:t.wordCharacterCount,defaultValue:7,validate:m(e=>e>=0,"validate")})}};m(dB,"Hyphenation");let rv=dB;var vd;let J$=(vd=class extends le{constructor(t){super(bt,"image"),this.aspect=lt(t.aspect,["fit","actual","height","none","width"]),this.contentType=t.contentType||"",this.href=t.href||"",this.id=t.id||"",this.name=t.name||"",this.transferEncoding=lt(t.transferEncoding,["base64","none","package"]),this.use=t.use||"",this.usehref=t.usehref||""}[Ut](){var a;if(this.contentType&&!LQ.has(this.contentType.toLowerCase()))return Ht.EMPTY;let t=(a=this[Ue].images)==null?void 0:a.get(this.href);if(!t&&(this.href||!this[nt])||(!t&&this.transferEncoding==="base64"&&(t=Uint8Array.fromBase64(this[nt])),!t))return Ht.EMPTY;if(!this.contentType){for(const[r,o]of zQ)if(t.length>r.length&&r.every((l,c)=>l===t[c])){this.contentType=o;break}if(!this.contentType)return Ht.EMPTY}const e=new Blob([t],{type:this.contentType});let i;switch(this.aspect){case"fit":case"actual":break;case"height":i={height:"100%",objectFit:"fill"};break;case"none":i={width:"100%",height:"100%",objectFit:"fill"};break;case"width":i={width:"100%",objectFit:"fill"};break}const n=this[Jt]();return Ht.success({name:"img",attributes:{class:["xfaImage"],style:i,src:URL.createObjectURL(e),alt:n?Bh(n[Jt]()):null}})}},m(vd,"Image"),vd);const pB=class pB extends Z{constructor(t){super(bt,"imageEdit",!0),this.data=lt(t.data,["link","embed"]),this.id=t.id||"",this.use=t.use||"",this.usehref=t.usehref||"",this.border=null,this.extras=null,this.margin=null}[Ut](t){return this.data==="embed"?Ht.success({name:"div",children:[],attributes:{}}):Ht.EMPTY}};m(pB,"ImageEdit");let ov=pB;const mB=class mB extends gs{constructor(t){super(bt,"integer"),this.id=t.id||"",this.name=t.name||"",this.use=t.use||"",this.usehref=t.usehref||""}[Ge](){const t=parseInt(this[nt].trim(),10);this[nt]=isNaN(t)?null:t}[Ut](t){return lc(this[nt]!==null?this[nt].toString():"")}};m(mB,"Integer");let lv=mB;const gB=class gB extends Z{constructor(t){super(bt,"issuers",!0),this.id=t.id||"",this.type=lt(t.type,["optional","required"]),this.use=t.use||"",this.usehref=t.usehref||"",this.certificate=new O}};m(gB,"Issuers");let cv=gB;const bB=class bB extends Z{constructor(t){super(bt,"items",!0),this.id=t.id||"",this.name=t.name||"",this.presence=lt(t.presence,["visible","hidden","inactive","invisible"]),this.ref=t.ref||"",this.save=Yt({data:t.save,defaultValue:0,validate:m(e=>e===1,"validate")}),this.use=t.use||"",this.usehref=t.usehref||"",this.boolean=new O,this.date=new O,this.dateTime=new O,this.decimal=new O,this.exData=new O,this.float=new O,this.image=new O,this.integer=new O,this.text=new O,this.time=new O}[Ut](){const t=[];for(const e of this[Ti]())t.push(e[li]());return Ht.success(t)}};m(bB,"Items");let ob=bB;const wB=class wB extends Z{constructor(t){super(bt,"keep",!0),this.id=t.id||"";const e=["none","contentArea","pageArea"];this.intact=lt(t.intact,e),this.next=lt(t.next,e),this.previous=lt(t.previous,e),this.use=t.use||"",this.usehref=t.usehref||"",this.extras=null}};m(wB,"Keep");let hv=wB;const jB=class jB extends Z{constructor(t){super(bt,"keyUsage");const e=["","yes","no"];this.crlSign=lt(t.crlSign,e),this.dataEncipherment=lt(t.dataEncipherment,e),this.decipherOnly=lt(t.decipherOnly,e),this.digitalSignature=lt(t.digitalSignature,e),this.encipherOnly=lt(t.encipherOnly,e),this.id=t.id||"",this.keyAgreement=lt(t.keyAgreement,e),this.keyCertSign=lt(t.keyCertSign,e),this.keyEncipherment=lt(t.keyEncipherment,e),this.nonRepudiation=lt(t.nonRepudiation,e),this.type=lt(t.type,["optional","required"]),this.use=t.use||"",this.usehref=t.usehref||""}};m(jB,"KeyUsage");let fv=jB;const yB=class yB extends Z{constructor(t){super(bt,"line",!0),this.hand=lt(t.hand,["even","left","right"]),this.id=t.id||"",this.slope=lt(t.slope,["\\","/"]),this.use=t.use||"",this.usehref=t.usehref||"",this.edge=null}[Ut](){const t=this[Jt]()[Jt](),e=this.edge||new e1({}),i=e[qe](),n=Object.create(null),a=e.presence==="visible"?e.thickness:0;n.strokeWidth=Xt(a),n.stroke=i.color;let r,o,l,c,h="100%",u="100%";t.w<=a?([r,o,l,c]=["50%",0,"50%","100%"],h=n.strokeWidth):t.h<=a?([r,o,l,c]=[0,"50%","100%","50%"],u=n.strokeWidth):this.slope==="\\"?[r,o,l,c]=[0,0,"100%","100%"]:[r,o,l,c]=[0,"100%","100%",0];const d={name:"svg",children:[{name:"line",attributes:{xmlns:Ku,x1:r,y1:o,x2:l,y2:c,style:n}}],attributes:{xmlns:Ku,width:h,height:u,style:{overflow:"visible"}}};return E8(t)?Ht.success({name:"div",attributes:{style:{display:"inline",width:"100%",height:"100%"}},children:[d]}):(d.attributes.style.position="absolute",Ht.success(d))}};m(yB,"Line");let uv=yB;const vB=class vB extends Z{constructor(t){super(bt,"linear",!0),this.id=t.id||"",this.type=lt(t.type,["toRight","toBottom","toLeft","toTop"]),this.use=t.use||"",this.usehref=t.usehref||"",this.color=null,this.extras=null}[qe](t){t=t?t[qe]():"#FFFFFF";const e=this.type.replace(/([RBLT])/," $1").toLowerCase(),i=this.color?this.color[qe]():"#000000";return`linear-gradient(${e}, ${t}, ${i})`}};m(vB,"Linear");let dv=vB;const kB=class kB extends gs{constructor(t){super(bt,"lockDocument"),this.id=t.id||"",this.type=lt(t.type,["optional","required"]),this.use=t.use||"",this.usehref=t.usehref||""}[Ge](){this[nt]=lt(this[nt],["auto","0","1"])}};m(kB,"LockDocument");let pv=kB;const qB=class qB extends Z{constructor(t){super(bt,"manifest",!0),this.action=lt(t.action,["include","all","exclude"]),this.id=t.id||"",this.name=t.name||"",this.use=t.use||"",this.usehref=t.usehref||"",this.extras=null,this.ref=new O}};m(qB,"Manifest");let mv=qB;const xB=class xB extends Z{constructor(t){super(bt,"margin",!0),this.bottomInset=It(t.bottomInset,"0"),this.id=t.id||"",this.leftInset=It(t.leftInset,"0"),this.rightInset=It(t.rightInset,"0"),this.topInset=It(t.topInset,"0"),this.use=t.use||"",this.usehref=t.usehref||"",this.extras=null}[qe](){return{margin:Xt(this.topInset)+" "+Xt(this.rightInset)+" "+Xt(this.bottomInset)+" "+Xt(this.leftInset)}}};m(xB,"Margin");let gv=xB;const AB=class AB extends Z{constructor(t){super(bt,"mdp"),this.id=t.id||"",this.permissions=Yt({data:t.permissions,defaultValue:2,validate:m(e=>e===1||e===3,"validate")}),this.signatureType=lt(t.signatureType,["filler","author"]),this.use=t.use||"",this.usehref=t.usehref||""}};m(AB,"Mdp");let bv=AB;const SB=class SB extends Z{constructor(t){super(bt,"medium"),this.id=t.id||"",this.imagingBBox=$$(t.imagingBBox),this.long=It(t.long),this.orientation=lt(t.orientation,["portrait","landscape"]),this.short=It(t.short),this.stock=t.stock||"",this.trayIn=lt(t.trayIn,["auto","delegate","pageFront"]),this.trayOut=lt(t.trayOut,["auto","delegate"]),this.use=t.use||"",this.usehref=t.usehref||""}};m(SB,"Medium");let wv=SB;const CB=class CB extends Z{constructor(t){super(bt,"message",!0),this.id=t.id||"",this.use=t.use||"",this.usehref=t.usehref||"",this.text=new O}};m(CB,"Message");let jv=CB;const IB=class IB extends Z{constructor(t){super(bt,"numericEdit",!0),this.hScrollPolicy=lt(t.hScrollPolicy,["auto","off","on"]),this.id=t.id||"",this.use=t.use||"",this.usehref=t.usehref||"",this.border=null,this.comb=null,this.extras=null,this.margin=null}[Ut](t){var a;const e=gn(this,"border","font","margin"),i=this[Jt]()[Jt](),n={name:"input",attributes:{type:"text",fieldId:i[Oe],dataId:((a=i[ir])==null?void 0:a[Oe])||i[Oe],class:["xfaTextfield"],style:e,"aria-label":Bh(i),"aria-required":!1}};return Fp(i)&&(n.attributes["aria-required"]=!0,n.attributes.required=!0),Ht.success({name:"label",attributes:{class:["xfaLabel"]},children:[n]})}};m(IB,"NumericEdit");let yv=IB;const TB=class TB extends Z{constructor(t){super(bt,"occur",!0),this.id=t.id||"",this.initial=t.initial!==""?Yt({data:t.initial,defaultValue:"",validate:m(e=>!0,"validate")}):"",this.max=t.max!==""?Yt({data:t.max,defaultValue:-1,validate:m(e=>!0,"validate")}):"",this.min=t.min!==""?Yt({data:t.min,defaultValue:1,validate:m(e=>!0,"validate")}):"",this.use=t.use||"",this.usehref=t.usehref||"",this.extras=null}[or](){const t=this[Jt](),e=this.min;this.min===""&&(this.min=t instanceof Dh||t instanceof lb?0:1),this.max===""&&(e===""?this.max=t instanceof Dh||t instanceof lb?-1:1:this.max=this.min),this.max!==-1&&this.max!0,"validate")}),this.name=t.name||"",this.numbered=Yt({data:t.numbered,defaultValue:1,validate:m(e=>!0,"validate")}),this.oddOrEven=lt(t.oddOrEven,["any","even","odd"]),this.pagePosition=lt(t.pagePosition,["any","first","last","only","rest"]),this.relevant=cr(t.relevant),this.use=t.use||"",this.usehref=t.usehref||"",this.desc=null,this.extras=null,this.medium=null,this.occur=null,this.area=new O,this.contentArea=new O,this.draw=new O,this.exclGroup=new O,this.field=new O,this.subform=new O}[eb](){return this[Q]?!this.occur||this.occur.max===-1||this[Q].numberOfUsea.oddOrEven===e&&a.pagePosition===i);return n||(n=this.pageArea.children.find(a=>a.oddOrEven==="any"&&a.pagePosition===i),n)||(n=this.pageArea.children.find(a=>a.oddOrEven==="any"&&a.pagePosition==="any"),n)?n:this.pageArea.children[0]}};m(A4,"PageSet");let lb=A4;const BB=class BB extends Z{constructor(t){super(bt,"para",!0),this.hAlign=lt(t.hAlign,["left","center","justify","justifyAll","radix","right"]),this.id=t.id||"",this.lineHeight=t.lineHeight?It(t.lineHeight,"0pt"):"",this.marginLeft=t.marginLeft?It(t.marginLeft,"0pt"):"",this.marginRight=t.marginRight?It(t.marginRight,"0pt"):"",this.orphans=Yt({data:t.orphans,defaultValue:0,validate:m(e=>e>=0,"validate")}),this.preserve=t.preserve||"",this.radixOffset=t.radixOffset?It(t.radixOffset,"0pt"):"",this.spaceAbove=t.spaceAbove?It(t.spaceAbove,"0pt"):"",this.spaceBelow=t.spaceBelow?It(t.spaceBelow,"0pt"):"",this.tabDefault=t.tabDefault?It(this.tabDefault):"",this.tabStops=(t.tabStops||"").trim().split(/\s+/).map((e,i)=>i%2===1?It(e):e),this.textIndent=t.textIndent?It(t.textIndent,"0pt"):"",this.use=t.use||"",this.usehref=t.usehref||"",this.vAlign=lt(t.vAlign,["top","bottom","middle"]),this.widows=Yt({data:t.widows,defaultValue:0,validate:m(e=>e>=0,"validate")}),this.hyphenation=null}[qe](){const t=gn(this,"hAlign");return this.marginLeft!==""&&(t.paddingLeft=Xt(this.marginLeft)),this.marginRight!==""&&(t.paddingRight=Xt(this.marginRight)),this.spaceAbove!==""&&(t.paddingTop=Xt(this.spaceAbove)),this.spaceBelow!==""&&(t.paddingBottom=Xt(this.spaceBelow)),this.textIndent!==""&&(t.textIndent=Xt(this.textIndent),cF(t)),this.lineHeight>0&&(t.lineHeight=Xt(this.lineHeight)),this.tabDefault!==""&&(t.tabSize=Xt(this.tabDefault)),this.tabStops.length>0,this.hyphenatation&&Object.assign(t,this.hyphenatation[qe]()),t}};m(BB,"Para");let xv=BB;const DB=class DB extends Z{constructor(t){super(bt,"passwordEdit",!0),this.hScrollPolicy=lt(t.hScrollPolicy,["auto","off","on"]),this.id=t.id||"",this.passwordChar=t.passwordChar||"*",this.use=t.use||"",this.usehref=t.usehref||"",this.border=null,this.extras=null,this.margin=null}};m(DB,"PasswordEdit");let Av=DB;const PB=class PB extends Z{constructor(t){super(bt,"pattern",!0),this.id=t.id||"",this.type=lt(t.type,["crossHatch","crossDiagonal","diagonalLeft","diagonalRight","horizontal","vertical"]),this.use=t.use||"",this.usehref=t.usehref||"",this.color=null,this.extras=null}[qe](t){t=t?t[qe]():"#FFFFFF";const e=this.color?this.color[qe]():"#000000",i=5,n="repeating-linear-gradient",a=`${t},${t} ${i}px,${e} ${i}px,${e} ${2*i}px`;switch(this.type){case"crossHatch":return`${n}(to top,${a}) ${n}(to right,${a})`;case"crossDiagonal":return`${n}(45deg,${a}) ${n}(-45deg,${a})`;case"diagonalLeft":return`${n}(45deg,${a})`;case"diagonalRight":return`${n}(-45deg,${a})`;case"horizontal":return`${n}(to top,${a})`;case"vertical":return`${n}(to right,${a})`}return""}};m(PB,"template_Pattern");let Sv=PB;const HB=class HB extends le{constructor(t){super(bt,"picture"),this.id=t.id||"",this.use=t.use||"",this.usehref=t.usehref||""}};m(HB,"Picture");let Cv=HB;const OB=class OB extends Z{constructor(t){super(bt,"proto",!0),this.appearanceFilter=new O,this.arc=new O,this.area=new O,this.assist=new O,this.barcode=new O,this.bindItems=new O,this.bookend=new O,this.boolean=new O,this.border=new O,this.break=new O,this.breakAfter=new O,this.breakBefore=new O,this.button=new O,this.calculate=new O,this.caption=new O,this.certificate=new O,this.certificates=new O,this.checkButton=new O,this.choiceList=new O,this.color=new O,this.comb=new O,this.connect=new O,this.contentArea=new O,this.corner=new O,this.date=new O,this.dateTime=new O,this.dateTimeEdit=new O,this.decimal=new O,this.defaultUi=new O,this.desc=new O,this.digestMethod=new O,this.digestMethods=new O,this.draw=new O,this.edge=new O,this.encoding=new O,this.encodings=new O,this.encrypt=new O,this.encryptData=new O,this.encryption=new O,this.encryptionMethod=new O,this.encryptionMethods=new O,this.event=new O,this.exData=new O,this.exObject=new O,this.exclGroup=new O,this.execute=new O,this.extras=new O,this.field=new O,this.fill=new O,this.filter=new O,this.float=new O,this.font=new O,this.format=new O,this.handler=new O,this.hyphenation=new O,this.image=new O,this.imageEdit=new O,this.integer=new O,this.issuers=new O,this.items=new O,this.keep=new O,this.keyUsage=new O,this.line=new O,this.linear=new O,this.lockDocument=new O,this.manifest=new O,this.margin=new O,this.mdp=new O,this.medium=new O,this.message=new O,this.numericEdit=new O,this.occur=new O,this.oid=new O,this.oids=new O,this.overflow=new O,this.pageArea=new O,this.pageSet=new O,this.para=new O,this.passwordEdit=new O,this.pattern=new O,this.picture=new O,this.radial=new O,this.reason=new O,this.reasons=new O,this.rectangle=new O,this.ref=new O,this.script=new O,this.setProperty=new O,this.signData=new O,this.signature=new O,this.signing=new O,this.solid=new O,this.speak=new O,this.stipple=new O,this.subform=new O,this.subformSet=new O,this.subjectDN=new O,this.subjectDNs=new O,this.submit=new O,this.text=new O,this.textEdit=new O,this.time=new O,this.timeStamp=new O,this.toolTip=new O,this.traversal=new O,this.traverse=new O,this.ui=new O,this.validate=new O,this.value=new O,this.variables=new O}};m(OB,"Proto");let Iv=OB;const NB=class NB extends Z{constructor(t){super(bt,"radial",!0),this.id=t.id||"",this.type=lt(t.type,["toEdge","toCenter"]),this.use=t.use||"",this.usehref=t.usehref||"",this.color=null,this.extras=null}[qe](t){t=t?t[qe]():"#FFFFFF";const e=this.color?this.color[qe]():"#000000";return`radial-gradient(circle at center, ${this.type==="toEdge"?`${t},${e}`:`${e},${t}`})`}};m(NB,"Radial");let Tv=NB;const LB=class LB extends le{constructor(t){super(bt,"reason"),this.id=t.id||"",this.name=t.name||"",this.use=t.use||"",this.usehref=t.usehref||""}};m(LB,"Reason");let Fv=LB;const zB=class zB extends Z{constructor(t){super(bt,"reasons",!0),this.id=t.id||"",this.type=lt(t.type,["optional","required"]),this.use=t.use||"",this.usehref=t.usehref||"",this.reason=new O}};m(zB,"Reasons");let Ev=zB;const _B=class _B extends Z{constructor(t){super(bt,"rectangle",!0),this.hand=lt(t.hand,["even","left","right"]),this.id=t.id||"",this.use=t.use||"",this.usehref=t.usehref||"",this.corner=new O(4),this.edge=new O(4),this.fill=null}[Ut](){var o;const t=this.edge.children.length?this.edge.children[0]:new e1({}),e=t[qe](),i=Object.create(null);((o=this.fill)==null?void 0:o.presence)==="visible"?Object.assign(i,this.fill[qe]()):i.fill="transparent",i.strokeWidth=Xt(t.presence==="visible"?t.thickness:0),i.stroke=e.color;const n=(this.corner.children.length?this.corner.children[0]:new Y3({}))[qe](),a={name:"svg",children:[{name:"rect",attributes:{xmlns:Ku,width:"100%",height:"100%",x:0,y:0,rx:n.radius,ry:n.radius,style:i}}],attributes:{xmlns:Ku,style:{overflow:"visible"},width:"100%",height:"100%"}},r=this[Jt]()[Jt]();return E8(r)?Ht.success({name:"div",attributes:{style:{display:"inline",width:"100%",height:"100%"}},children:[a]}):(a.attributes.style.position="absolute",Ht.success(a))}};m(_B,"Rectangle");let t6=_B;const UB=class UB extends le{constructor(t){super(bt,"ref"),this.id=t.id||"",this.use=t.use||"",this.usehref=t.usehref||""}};m(UB,"RefElement");let Rv=UB;const GB=class GB extends le{constructor(t){super(bt,"script"),this.binding=t.binding||"",this.contentType=t.contentType||"",this.id=t.id||"",this.name=t.name||"",this.runAt=lt(t.runAt,["client","both","server"]),this.use=t.use||"",this.usehref=t.usehref||""}};m(GB,"Script");let Mv=GB;const $B=class $B extends Z{constructor(t){super(bt,"setProperty"),this.connection=t.connection||"",this.ref=t.ref||"",this.target=t.target||""}};m($B,"SetProperty");let cb=$B;const VB=class VB extends Z{constructor(t){super(bt,"signData",!0),this.id=t.id||"",this.operation=lt(t.operation,["sign","clear","verify"]),this.ref=t.ref||"",this.target=t.target||"",this.use=t.use||"",this.usehref=t.usehref||"",this.filter=null,this.manifest=null}};m(VB,"SignData");let Bv=VB;const WB=class WB extends Z{constructor(t){super(bt,"signature",!0),this.id=t.id||"",this.type=lt(t.type,["PDF1.3","PDF1.6"]),this.use=t.use||"",this.usehref=t.usehref||"",this.border=null,this.extras=null,this.filter=null,this.manifest=null,this.margin=null}};m(WB,"Signature");let Dv=WB;const KB=class KB extends Z{constructor(t){super(bt,"signing",!0),this.id=t.id||"",this.type=lt(t.type,["optional","required"]),this.use=t.use||"",this.usehref=t.usehref||"",this.certificate=new O}};m(KB,"Signing");let Pv=KB;const XB=class XB extends Z{constructor(t){super(bt,"solid",!0),this.id=t.id||"",this.use=t.use||"",this.usehref=t.usehref||"",this.extras=null}[qe](t){return t?t[qe]():"#FFFFFF"}};m(XB,"Solid");let Hv=XB;const YB=class YB extends le{constructor(t){super(bt,"speak"),this.disable=Yt({data:t.disable,defaultValue:0,validate:m(e=>e===1,"validate")}),this.id=t.id||"",this.priority=lt(t.priority,["custom","caption","name","toolTip"]),this.rid=t.rid||"",this.use=t.use||"",this.usehref=t.usehref||""}};m(YB,"Speak");let Ov=YB;const QB=class QB extends Z{constructor(t){super(bt,"stipple",!0),this.id=t.id||"",this.rate=Yt({data:t.rate,defaultValue:50,validate:m(e=>e>=0&&e<=100,"validate")}),this.use=t.use||"",this.usehref=t.usehref||"",this.color=null,this.extras=null}[qe](t){const e=this.rate/100;return Te.makeHexColor(Math.round(t.value.r*(1-e)+this.value.r*e),Math.round(t.value.g*(1-e)+this.value.g*e),Math.round(t.value.b*(1-e)+this.value.b*e))}};m(QB,"Stipple");let Nv=QB;const JB=class JB extends Z{constructor(t){super(bt,"subform",!0),this.access=lt(t.access,["open","nonInteractive","protected","readOnly"]),this.allowMacro=Yt({data:t.allowMacro,defaultValue:0,validate:m(e=>e===1,"validate")}),this.anchorType=lt(t.anchorType,["topLeft","bottomCenter","bottomLeft","bottomRight","middleCenter","middleLeft","middleRight","topCenter","topRight"]),this.colSpan=Yt({data:t.colSpan,defaultValue:1,validate:m(e=>e>=1||e===-1,"validate")}),this.columnWidths=(t.columnWidths||"").trim().split(/\s+/).map(e=>e==="-1"?-1:It(e)),this.h=t.h?It(t.h):"",this.hAlign=lt(t.hAlign,["left","center","justify","justifyAll","radix","right"]),this.id=t.id||"",this.layout=lt(t.layout,["position","lr-tb","rl-row","rl-tb","row","table","tb"]),this.locale=t.locale||"",this.maxH=It(t.maxH,"0pt"),this.maxW=It(t.maxW,"0pt"),this.mergeMode=lt(t.mergeMode,["consumeData","matchTemplate"]),this.minH=It(t.minH,"0pt"),this.minW=It(t.minW,"0pt"),this.name=t.name||"",this.presence=lt(t.presence,["visible","hidden","inactive","invisible"]),this.relevant=cr(t.relevant),this.restoreState=lt(t.restoreState,["manual","auto"]),this.scope=lt(t.scope,["name","none"]),this.use=t.use||"",this.usehref=t.usehref||"",this.w=t.w?It(t.w):"",this.x=It(t.x,"0pt"),this.y=It(t.y,"0pt"),this.assist=null,this.bind=null,this.bookend=null,this.border=null,this.break=null,this.calculate=null,this.desc=null,this.extras=null,this.keep=null,this.margin=null,this.occur=null,this.overflow=null,this.pageSet=null,this.para=null,this.traversal=null,this.validate=null,this.variables=null,this.area=new O,this.breakAfter=new O,this.breakBefore=new O,this.connect=new O,this.draw=new O,this.event=new O,this.exObject=new O,this.exclGroup=new O,this.field=new O,this.proto=new O,this.setProperty=new O,this.subform=new O,this.subformSet=new O}[Ns](){const t=this[Jt]();return t instanceof hb?t[Ns]():t}[l1](){return!0}[sc](){return this.layout.endsWith("-tb")&&this[Q].attempt===0&&this[Q].numberInLine>0||this[Jt]()[sc]()}*[yp](){yield*M8(this)}[o9](){return mF(this)}[Vu](t,e){gF(this,t,e)}[Wu](){return bF(this)}[$l](){var e;const t=this[Ns]();return t[$l]()?this[Q]._isSplittable!==void 0?this[Q]._isSplittable:this.layout==="position"||this.layout.includes("row")?(this[Q]._isSplittable=!1,!1):this.keep&&this.keep.intact!=="none"?(this[Q]._isSplittable=!1,!1):(e=t.layout)!=null&&e.endsWith("-tb")&&t[Q].numberInLine!==0?!1:(this[Q]._isSplittable=!0,!0):!1}[Ut](t){var q;if(u9(this),this.break){if(this.break.after!=="auto"||this.break.afterTarget!==""){const A=new V3({targetType:this.break.after,target:this.break.afterTarget,startNew:this.break.startNew.toString()});A[Ue]=this[Ue],this[ks](A),this.breakAfter.push(A)}if(this.break.before!=="auto"||this.break.beforeTarget!==""){const A=new W3({targetType:this.break.before,target:this.break.beforeTarget,startNew:this.break.startNew.toString()});A[Ue]=this[Ue],this[ks](A),this.breakBefore.push(A)}if(this.break.overflowTarget!==""){const A=new Z3({target:this.break.overflowTarget,leader:this.break.overflowLeader,trailer:this.break.overflowTrailer});A[Ue]=this[Ue],this[ks](A),this.overflow.push(A)}this[Ih](this.break),this.break=null}if(this.presence==="hidden"||this.presence==="inactive")return Ht.EMPTY;if((this.breakBefore.children.length>1||this.breakAfter.children.length>1)&&H("XFA - Several breakBefore or breakAfter in subforms: please file a bug."),this.breakBefore.children.length>=1){const A=this.breakBefore.children[0];if(by(A))return Ht.breakNode(A)}if((q=this[Q])!=null&&q.afterBreakAfter)return Ht.EMPTY;h9(this);const e=[],i={id:this[Oe],class:[]};F8(this,i.class),this[Q]||(this[Q]=Object.create(null)),Object.assign(this[Q],{children:e,line:null,attributes:i,attempt:0,numberInLine:0,availableSpace:{width:Math.min(this.w||1/0,t.width),height:Math.min(this.h||1/0,t.height)},width:0,height:0,prevHeight:0,currentWidth:0});const n=this[Ps](),a=n[Q].noLayoutFailure,r=this[$l]();if(r||p9(this),!f9(this,t))return Ht.FAILURE;const o=new Set(["area","draw","exclGroup","field","subform","subformSet"]);if(this.layout.includes("row")){const A=this[Ns]().columnWidths;Array.isArray(A)&&A.length>0&&(this[Q].columnWidths=A,this[Q].currentColumn=0)}const l=gn(this,"anchorType","dimensions","position","presence","border","margin","hAlign"),c=["xfaSubform"],h=lF(this);if(h&&c.push(h),i.style=l,i.class=c,this.name&&(i.xfaName=this.name),this.overflow){const A=this.overflow[Xi]();A.addLeader&&(A.addLeader=!1,wy(this,A.leader,t))}this[Tp]();const u=this.layout==="lr-tb"||this.layout==="rl-tb",d=u?U3:1;for(;this[Q].attempt=1){const A=this.breakAfter.children[0];if(by(A))return this[Q].afterBreakAfter=k,Ht.breakNode(A)}return delete this[Q],k}};m(JB,"Subform");let e6=JB;const ZB=class ZB extends Z{constructor(t){super(bt,"subformSet",!0),this.id=t.id||"",this.name=t.name||"",this.relation=lt(t.relation,["ordered","choice","unordered"]),this.relevant=cr(t.relevant),this.use=t.use||"",this.usehref=t.usehref||"",this.bookend=null,this.break=null,this.desc=null,this.extras=null,this.occur=null,this.overflow=null,this.breakAfter=new O,this.breakBefore=new O,this.subform=new O,this.subformSet=new O}*[yp](){yield*M8(this)}[Ns](){let t=this[Jt]();for(;!(t instanceof e6);)t=t[Jt]();return t}[l1](){return!0}};m(ZB,"SubformSet");let hb=ZB;const tD=class tD extends gs{constructor(t){super(bt,"subjectDN"),this.delimiter=t.delimiter||",",this.id=t.id||"",this.name=t.name||"",this.use=t.use||"",this.usehref=t.usehref||""}[Ge](){this[nt]=new Map(this[nt].split(this.delimiter).map(t=>(t=t.split("=",2),t[0]=t[0].trim(),t)))}};m(tD,"SubjectDN");let Lv=tD;const eD=class eD extends Z{constructor(t){super(bt,"subjectDNs",!0),this.id=t.id||"",this.type=lt(t.type,["optional","required"]),this.use=t.use||"",this.usehref=t.usehref||"",this.subjectDN=new O}};m(eD,"SubjectDNs");let zv=eD;const sD=class sD extends Z{constructor(t){super(bt,"submit",!0),this.embedPDF=Yt({data:t.embedPDF,defaultValue:0,validate:m(e=>e===1,"validate")}),this.format=lt(t.format,["xdp","formdata","pdf","urlencoded","xfd","xml"]),this.id=t.id||"",this.target=t.target||"",this.textEncoding=c9({data:t.textEncoding?t.textEncoding.toLowerCase():"",defaultValue:"",validate:m(e=>["utf-8","big-five","fontspecific","gbk","gb-18030","gb-2312","ksc-5601","none","shift-jis","ucs-2","utf-16"].includes(e)||e.match(/iso-8859-\d{2}/),"validate")}),this.use=t.use||"",this.usehref=t.usehref||"",this.xdpContent=t.xdpContent||"",this.encrypt=null,this.encryptData=new O,this.signData=new O}};m(sD,"Submit");let _v=sD;const iD=class iD extends Z{constructor(t){super(bt,"template",!0),this.baseProfile=lt(t.baseProfile,["full","interactiveForms"]),this.extras=null,this.subform=new O}[Ge](){this.subform.children.length===0&&H("XFA - No subforms in template node."),this.subform.children.length>=2&&H("XFA - Several subforms in template node: please file a bug."),this[Dr]=OQ}[$l](){return!0}[Ll](t,e){return t.startsWith("#")?[this[I1].get(t.slice(1))]:el(this,e,t,!0,!0)}*[U$](){var g,b,w;if(!this.subform.children.length)return Ht.success({name:"div",children:[]});this[Q]={overflowNode:null,firstUnsplittable:null,currentContentArea:null,currentPageArea:null,noLayoutFailure:!1,pageNumber:1,pagePosition:"first",oddOrEven:"odd",blankOrNotBlank:"nonBlank",paraStack:[]};const t=this.subform.children[0];t.pageSet[_1]();const e=t.pageSet.pageArea.children,i={name:"div",children:[]};let n=null,a=null,r=null;if(t.breakBefore.children.length>=1?(a=t.breakBefore.children[0],r=a.target):t.subform.children.length>=1&&t.subform.children[0].breakBefore.children.length>=1?(a=t.subform.children[0].breakBefore.children[0],r=a.target):(g=t.break)!=null&&g.beforeTarget?(a=t.break,r=a.beforeTarget):t.subform.children.length>=1&&((b=t.subform.children[0].break)!=null&&b.beforeTarget)&&(a=t.subform.children[0].break,r=a.beforeTarget),a){const y=this[Ll](r,a[Jt]());y instanceof Dh&&(n=y,a[Q]={})}n||(n=e[0]),n[Q]={numberOfUse:1};const o=n[Jt]();o[Q]={numberOfUse:1,pageIndex:o.pageArea.children.indexOf(n),pageSetIndex:0};let l,c=null,h=null,u=!0,d=0,p=0;for(;;){if(u)d=0;else if(i.children.pop(),++d===HQ)return H("XFA - Something goes wrong: please file a bug."),i;l=null,this[Q].currentPageArea=n;const y=n[Ut]().html;i.children.push(y),c&&(this[Q].noLayoutFailure=!0,y.children.push(c[Ut](n[Q].space).html),c=null),h&&(this[Q].noLayoutFailure=!0,y.children.push(h[Ut](n[Q].space).html),h=null);const j=n.contentArea.children,k=y.children.filter(A=>A.attributes.class.includes("xfaContentarea"));u=!1,this[Q].firstUnsplittable=null,this[Q].noLayoutFailure=!1;const q=m(A=>{var C;const I=t[o9]();I&&(u||(u=((C=I.children)==null?void 0:C.length)>0),k[A].children.push(I))},"flush");for(let A=p,I=j.length;A0),k[A].children.push(E.html)):!u&&i.children.length>1&&i.children.pop(),i;if(E.isBreak()){const D=E.breakNode;if(q(A),D.targetType==="auto")continue;D.leader&&(c=this[Ll](D.leader,D[Jt]()),c=c?c[0]:null),D.trailer&&(h=this[Ll](D.trailer,D[Jt]()),h=h?h[0]:null),D.targetType==="pageArea"?(l=D[Q].target,A=1/0):D[Q].target?(l=D[Q].target,p=D[Q].index+1,A=1/0):A=D[Q].index;continue}if(this[Q].overflowNode){const D=this[Q].overflowNode;this[Q].overflowNode=null;const M=D[Xi](),_=M.target;M.addLeader=M.leader!==null,M.addTrailer=M.trailer!==null,q(A);const G=A;if(A=1/0,_ instanceof Dh)l=_;else if(_ instanceof ab){const K=j.indexOf(_);K!==-1?K>G?A=K-1:p=K:(l=_[Jt](),p=l.contentArea.children.indexOf(_))}continue}q(A)}this[Q].pageNumber+=1,l&&(l[eb]()?l[Q].numberOfUse+=1:l=null),n=l||n[tl](),yield null}}};m(iD,"Template");let fb=iD;const nD=class nD extends gs{constructor(t){super(bt,"text"),this.id=t.id||"",this.maxChars=Yt({data:t.maxChars,defaultValue:0,validate:m(e=>e>=0,"validate")}),this.name=t.name||"",this.rid=t.rid||"",this.use=t.use||"",this.usehref=t.usehref||""}[S8](){return!0}[Do](t){return t[Hs]===Ls.xhtml.id?(this[nt]=t,!0):(H(`XFA - Invalid content in Text: ${t[Se]}.`),!1)}[Vl](t){this[nt]instanceof Z||super[Vl](t)}[Ge](){typeof this[nt]=="string"&&(this[nt]=this[nt].replaceAll(`\r +`,` +`))}[Xi](){return typeof this[nt]=="string"?this[nt].split(/[\u2029\u2028\n]/).filter(t=>!!t).join(` +`):this[nt][li]()}[Ut](t){if(typeof this[nt]=="string"){const e=lc(this[nt]).html;return this[nt].includes("\u2029")?(e.name="div",e.children=[],this[nt].split("\u2029").map(i=>i.split(/[\u2028\n]/).flatMap(n=>[{name:"span",value:n},{name:"br"}])).forEach(i=>{e.children.push({name:"p",children:i})})):/[\u2028\n]/.test(this[nt])&&(e.name="div",e.children=[],this[nt].split(/[\u2028\n]/).forEach(i=>{e.children.push({name:"span",value:i},{name:"br"})})),Ht.success(e)}return this[nt][Ut](t)}};m(nD,"Text");let s6=nD;const aD=class aD extends Z{constructor(t){super(bt,"textEdit",!0),this.allowRichText=Yt({data:t.allowRichText,defaultValue:0,validate:m(e=>e===1,"validate")}),this.hScrollPolicy=lt(t.hScrollPolicy,["auto","off","on"]),this.id=t.id||"",this.multiLine=Yt({data:t.multiLine,defaultValue:"",validate:m(e=>e===0||e===1,"validate")}),this.use=t.use||"",this.usehref=t.usehref||"",this.vScrollPolicy=lt(t.vScrollPolicy,["auto","off","on"]),this.border=null,this.comb=null,this.extras=null,this.margin=null}[Ut](t){var a,r;const e=gn(this,"border","font","margin");let i;const n=this[Jt]()[Jt]();return this.multiLine===""&&(this.multiLine=n instanceof Q3?1:0),this.multiLine===1?i={name:"textarea",attributes:{dataId:((a=n[ir])==null?void 0:a[Oe])||n[Oe],fieldId:n[Oe],class:["xfaTextfield"],style:e,"aria-label":Bh(n),"aria-required":!1}}:i={name:"input",attributes:{type:"text",dataId:((r=n[ir])==null?void 0:r[Oe])||n[Oe],fieldId:n[Oe],class:["xfaTextfield"],style:e,"aria-label":Bh(n),"aria-required":!1}},Fp(n)&&(i.attributes["aria-required"]=!0,i.attributes.required=!0),Ht.success({name:"label",attributes:{class:["xfaLabel"]},children:[i]})}};m(aD,"TextEdit");let i6=aD;const rD=class rD extends le{constructor(t){super(bt,"time"),this.id=t.id||"",this.name=t.name||"",this.use=t.use||"",this.usehref=t.usehref||""}[Ge](){const t=this[nt].trim();this[nt]=t?new Date(t):null}[Ut](t){return lc(this[nt]?this[nt].toString():"")}};m(rD,"Time");let Uv=rD;const oD=class oD extends Z{constructor(t){super(bt,"timeStamp"),this.id=t.id||"",this.server=t.server||"",this.type=lt(t.type,["optional","required"]),this.use=t.use||"",this.usehref=t.usehref||""}};m(oD,"TimeStamp");let Gv=oD;const lD=class lD extends le{constructor(t){super(bt,"toolTip"),this.id=t.id||"",this.rid=t.rid||"",this.use=t.use||"",this.usehref=t.usehref||""}};m(lD,"ToolTip");let $v=lD;const cD=class cD extends Z{constructor(t){super(bt,"traversal",!0),this.id=t.id||"",this.use=t.use||"",this.usehref=t.usehref||"",this.extras=null,this.traverse=new O}};m(cD,"Traversal");let Vv=cD;const hD=class hD extends Z{constructor(t){super(bt,"traverse",!0),this.id=t.id||"",this.operation=lt(t.operation,["next","back","down","first","left","right","up"]),this.ref=t.ref||"",this.use=t.use||"",this.usehref=t.usehref||"",this.extras=null,this.script=null}get name(){return this.operation}[tb](){return!1}};m(hD,"Traverse");let Wv=hD;const fD=class fD extends Z{constructor(t){super(bt,"ui",!0),this.id=t.id||"",this.use=t.use||"",this.usehref=t.usehref||"",this.extras=null,this.picture=null,this.barcode=null,this.button=null,this.checkButton=null,this.choiceList=null,this.dateTimeEdit=null,this.defaultUi=null,this.imageEdit=null,this.numericEdit=null,this.passwordEdit=null,this.signature=null,this.textEdit=null}[Xi](){if(this[Q]===void 0){for(const t of Object.getOwnPropertyNames(this)){if(t==="extras"||t==="picture")continue;const e=this[t];if(e instanceof Z)return this[Q]=e,e}this[Q]=null}return this[Q]}[Ut](t){const e=this[Xi]();return e?e[Ut](t):Ht.EMPTY}};m(fD,"Ui");let ub=fD;const uD=class uD extends Z{constructor(t){super(bt,"validate",!0),this.formatTest=lt(t.formatTest,["warning","disabled","error"]),this.id=t.id||"",this.nullTest=lt(t.nullTest,["disabled","error","warning"]),this.scriptTest=lt(t.scriptTest,["error","disabled","warning"]),this.use=t.use||"",this.usehref=t.usehref||"",this.extras=null,this.message=null,this.picture=null,this.script=null}};m(uD,"Validate");let Kv=uD;const dD=class dD extends Z{constructor(t){super(bt,"value",!0),this.id=t.id||"",this.override=Yt({data:t.override,defaultValue:0,validate:m(e=>e===1,"validate")}),this.relevant=cr(t.relevant),this.use=t.use||"",this.usehref=t.usehref||"",this.arc=null,this.boolean=null,this.date=null,this.dateTime=null,this.decimal=null,this.exData=null,this.float=null,this.image=null,this.integer=null,this.line=null,this.rectangle=null,this.text=null,this.time=null}[Zn](t){var n;const e=this[Jt]();if(e instanceof rb&&((n=e.ui)!=null&&n.imageEdit)){this.image||(this.image=new J$({}),this[ks](this.image)),this.image[nt]=t[nt];return}const i=t[Se];if(this[i]!==null){this[i][nt]=t[nt];return}for(const a of Object.getOwnPropertyNames(this)){const r=this[a];r instanceof Z&&(this[a]=null,this[Ih](r))}this[t[Se]]=t,this[ks](t)}[li](){if(this.exData)return typeof this.exData[nt]=="string"?this.exData[nt].trim():this.exData[nt][li]().trim();for(const t of Object.getOwnPropertyNames(this)){if(t==="image")continue;const e=this[t];if(e instanceof Z)return(e[nt]||"").toString().trim()}return null}[Ut](t){for(const e of Object.getOwnPropertyNames(this)){const i=this[e];if(i instanceof Z)return i[Ut](t)}return Ht.EMPTY}};m(dD,"Value");let db=dD;const pD=class pD extends Z{constructor(t){super(bt,"variables",!0),this.id=t.id||"",this.use=t.use||"",this.usehref=t.usehref||"",this.boolean=new O,this.date=new O,this.dateTime=new O,this.decimal=new O,this.exData=new O,this.float=new O,this.image=new O,this.integer=new O,this.manifest=new O,this.script=new O,this.text=new O,this.time=new O}[tb](){return!0}};m(pD,"Variables");let Xv=pD;const cg=class cg{static[$r](t,e){if(cg.hasOwnProperty(t)){const i=cg[t](e);return i[_$](e),i}}static appearanceFilter(t){return new jy(t)}static arc(t){return new G3(t)}static area(t){return new yy(t)}static assist(t){return new vy(t)}static barcode(t){return new ky(t)}static bind(t){return new qy(t)}static bindItems(t){return new nb(t)}static bookend(t){return new xy(t)}static boolean(t){return new Ay(t)}static border(t){return new $3(t)}static break(t){return new Sy(t)}static breakAfter(t){return new V3(t)}static breakBefore(t){return new W3(t)}static button(t){return new Cy(t)}static calculate(t){return new Iy(t)}static caption(t){return new Ty(t)}static certificate(t){return new Fy(t)}static certificates(t){return new Ey(t)}static checkButton(t){return new K3(t)}static choiceList(t){return new X3(t)}static color(t){return new Ry(t)}static comb(t){return new My(t)}static connect(t){return new By(t)}static contentArea(t){return new ab(t)}static corner(t){return new Y3(t)}static date(t){return new Dy(t)}static dateTime(t){return new Py(t)}static dateTimeEdit(t){return new Hy(t)}static decimal(t){return new Oy(t)}static defaultUi(t){return new Ny(t)}static desc(t){return new Ly(t)}static digestMethod(t){return new zy(t)}static digestMethods(t){return new _y(t)}static draw(t){return new Q3(t)}static edge(t){return new e1(t)}static encoding(t){return new Uy(t)}static encodings(t){return new Gy(t)}static encrypt(t){return new $y(t)}static encryptData(t){return new Vy(t)}static encryption(t){return new Wy(t)}static encryptionMethod(t){return new Ky(t)}static encryptionMethods(t){return new Xy(t)}static event(t){return new _Q(t)}static exData(t){return new Yy(t)}static exObject(t){return new Qy(t)}static exclGroup(t){return new J3(t)}static execute(t){return new Jy(t)}static extras(t){return new Zy(t)}static field(t){return new rb(t)}static fill(t){return new tv(t)}static filter(t){return new ev(t)}static float(t){return new sv(t)}static font(t){return new iv(t)}static format(t){return new nv(t)}static handler(t){return new av(t)}static hyphenation(t){return new rv(t)}static image(t){return new J$(t)}static imageEdit(t){return new ov(t)}static integer(t){return new lv(t)}static issuers(t){return new cv(t)}static items(t){return new ob(t)}static keep(t){return new hv(t)}static keyUsage(t){return new fv(t)}static line(t){return new uv(t)}static linear(t){return new dv(t)}static lockDocument(t){return new pv(t)}static manifest(t){return new mv(t)}static margin(t){return new gv(t)}static mdp(t){return new bv(t)}static medium(t){return new wv(t)}static message(t){return new jv(t)}static numericEdit(t){return new yv(t)}static occur(t){return new vv(t)}static oid(t){return new kv(t)}static oids(t){return new qv(t)}static overflow(t){return new Z3(t)}static pageArea(t){return new Dh(t)}static pageSet(t){return new lb(t)}static para(t){return new xv(t)}static passwordEdit(t){return new Av(t)}static pattern(t){return new Sv(t)}static picture(t){return new Cv(t)}static proto(t){return new Iv(t)}static radial(t){return new Tv(t)}static reason(t){return new Fv(t)}static reasons(t){return new Ev(t)}static rectangle(t){return new t6(t)}static ref(t){return new Rv(t)}static script(t){return new Mv(t)}static setProperty(t){return new cb(t)}static signData(t){return new Bv(t)}static signature(t){return new Dv(t)}static signing(t){return new Pv(t)}static solid(t){return new Hv(t)}static speak(t){return new Ov(t)}static stipple(t){return new Nv(t)}static subform(t){return new e6(t)}static subformSet(t){return new hb(t)}static subjectDN(t){return new Lv(t)}static subjectDNs(t){return new zv(t)}static submit(t){return new _v(t)}static template(t){return new fb(t)}static text(t){return new s6(t)}static textEdit(t){return new i6(t)}static time(t){return new Uv(t)}static timeStamp(t){return new Gv(t)}static toolTip(t){return new $v(t)}static traversal(t){return new Vv(t)}static traverse(t){return new Wv(t)}static ui(t){return new ub(t)}static validate(t){return new Kv(t)}static value(t){return new db(t)}static variables(t){return new Xv(t)}};m(cg,"TemplateNamespace");let Yv=cg;const __=Ls.datasets.id;function om(s){const t=new s6({});return t[nt]=s,t}m(om,"createText");const mD=class mD{constructor(t){var e;this.root=t,this.datasets=t.datasets,this.data=((e=t.datasets)==null?void 0:e.data)||new Wl(Ls.datasets.id,"data"),this.emptyMerge=this.data[Ti]().length===0,this.root.form=this.form=t.template[Pr]()}_isConsumeData(){return!this.emptyMerge&&this._mergeMode}_isMatchTemplate(){return!this._isConsumeData()}bind(){return this._bindElement(this.form,this.data),this.form}getData(){return this.data}_bindValue(t,e,i){var n,a;if(t[ir]=e,t[Zg]())if(e[U1]()){const r=e[iF]();t[Zn](om(r))}else if(t instanceof rb&&((a=(n=t.ui)==null?void 0:n.choiceList)==null?void 0:a.open)==="multiSelect"){const r=e[Ti]().map(o=>o[nt].trim()).join(` +`);t[Zn](om(r))}else this._isConsumeData()&&H("XFA - Nodes haven't the same type.");else!e[U1]()||this._isMatchTemplate()?this._bindElement(t,e):H("XFA - Nodes haven't the same type.")}_findDataByNameToConsume(t,e,i,n){if(!t)return null;let a,r;for(let o=0;o<3;o++){for(a=i[$m](t,!1,!0);r=a.next().value,!!r;)if(e===r[U1]())return r;if(i[Hs]===Ls.datasets.id&&i[Se]==="data")break;i=i[Jt]()}return n?(a=this.data[$m](t,!0,!1),r=a.next().value,r||(a=this.data[ry](t,!0),r=a.next().value,r==null?void 0:r[U1]())?r:null):null}_setProperties(t,e){if(t.hasOwnProperty("setProperty"))for(const{ref:i,target:n,connection:a}of t.setProperty.children){if(a||!i)continue;const r=el(this.root,e,i,!1,!1);if(!r){H(`XFA - Invalid reference: ${i}.`);continue}const[o]=r;if(!o[Sc](this.data)){H("XFA - Invalid node: must be a data node.");continue}const l=el(this.root,t,n,!1,!1);if(!l){H(`XFA - Invalid target: ${n}.`);continue}const[c]=l;if(!c[Sc](t)){H("XFA - Invalid target: must be a property or subproperty.");continue}const h=c[Jt]();if(c instanceof cb||h instanceof cb){H("XFA - Invalid target: cannot be a setProperty or one of its properties.");continue}if(c instanceof nb||h instanceof nb){H("XFA - Invalid target: cannot be a bindItems or one of its properties.");continue}const u=o[li](),d=c[Se];if(c instanceof ib){const p=Object.create(null);p[d]=u;const g=Reflect.construct(Object.getPrototypeOf(h).constructor,[p]);h[d]=g[d];continue}if(!c.hasOwnProperty(nt)){H("XFA - Invalid node to use in setProperty");continue}c[ir]=o,c[nt]=u,c[Ge]()}}_bindItems(t,e){if(!t.hasOwnProperty("items")||!t.hasOwnProperty("bindItems")||t.bindItems.isEmpty())return;for(const a of t.items.children)t[Ih](a);t.items.clear();const i=new ob({}),n=new ob({});t[ks](i),t.items.push(i),t[ks](n),t.items.push(n);for(const{ref:a,labelRef:r,valueRef:o,connection:l}of t.bindItems.children){if(l||!a)continue;const c=el(this.root,e,a,!1,!1);if(!c){H(`XFA - Invalid reference: ${a}.`);continue}for(const h of c){if(!h[Sc](this.datasets)){H(`XFA - Invalid ref (${a}): must be a datasets child.`);continue}const u=el(this.root,h,r,!0,!1);if(!u){H(`XFA - Invalid label: ${r}.`);continue}const[d]=u;if(!d[Sc](this.datasets)){H("XFA - Invalid label: must be a datasets child.");continue}const p=el(this.root,h,o,!0,!1);if(!p){H(`XFA - Invalid value: ${o}.`);continue}const[g]=p;if(!g[Sc](this.datasets)){H("XFA - Invalid value: must be a datasets child.");continue}const b=om(d[li]()),w=om(g[li]());i[ks](b),i.text.push(b),n[ks](w),n.text.push(w)}}}_bindOccurrences(t,e,i){let n;if(e.length>1&&(n=t[Pr](),n[Ih](n.occur),n.occur=null),this._bindValue(t,e[0],i),this._setProperties(t,e[0]),this._bindItems(t,e[0]),e.length===1)return;const a=t[Jt](),r=t[Se],o=a[oy](t);for(let l=1,c=e.length;ll.name===t.name).length:a=i[n].children.length;const r=i[oy](t)+1,o=e.initial-a;if(o){const l=t[Pr]();l[Ih](l.occur),l.occur=null,i[n].push(l),i[h5](r,l);for(let c=1;c0)this._bindOccurrences(n,[u[0]],null);else if(this.emptyMerge){const d=e[Hs]===__?-1:e[Hs],p=n[ir]=new Wl(d,n.name||"root");e[ks](p),this._bindElement(n,p)}continue}if(!n[l1]())continue;let a=!1,r=null,o=null,l=null;if(n.bind){switch(n.bind.match){case"none":this._setAndBind(n,e);continue;case"global":a=!0;break;case"dataRef":if(!n.bind.ref){H(`XFA - ref is empty in node ${n[Se]}.`),this._setAndBind(n,e);continue}o=n.bind.ref;break}n.bind.picture&&(r=n.bind.picture[nt])}const[c,h]=this._getOccurInfo(n);if(o)if(l=el(this.root,e,o,!0,!1),l===null){if(l=X$(this.data,e,o),!l)continue;this._isConsumeData()&&(l[To]=!0),this._setAndBind(n,l);continue}else this._isConsumeData()&&(l=l.filter(u=>!u[To])),l.length>h?l=l.slice(0,h):l.length===0&&(l=null),l&&this._isConsumeData()&&l.forEach(u=>{u[To]=!0});else{if(!n.name){this._setAndBind(n,e);continue}if(this._isConsumeData()){const u=[];for(;u.length0?u:null}else{if(l=e[$m](n.name,!1,this.emptyMerge).next().value,!l){if(c===0){i.push(n);continue}const u=e[Hs]===__?-1:e[Hs];l=n[ir]=new Wl(u,n.name),this.emptyMerge&&(l[To]=!0),e[ks](l),this._setAndBind(n,l);continue}this.emptyMerge&&(l[To]=!0),l=[l]}}l?this._bindOccurrences(n,l,r):c>0?this._setAndBind(n,e):i.push(n)}i.forEach(n=>n[Jt]()[Ih](n))}};m(mD,"Binder");let Qv=mD;const gD=class gD{constructor(t,e){this.data=e,this.dataset=t.datasets||null}serialize(t){const e=[[-1,this.data[Ti]()]];for(;e.length>0;){const n=e.at(-1),[a,r]=n;if(a+1===r.length){e.pop();continue}const o=r[++n[0]],l=t.get(o[Oe]);if(l)o[Zn](l);else{const h=o[L$]();for(const u of h.values()){const d=t.get(u[Oe]);if(d){u[Zn](d);break}}}const c=o[Ti]();c.length>0&&e.push([-1,c])}const i=[''];if(this.dataset)for(const n of this.dataset[Ti]())n[Se]!=="data"&&n[Wm](i);return this.data[Wm](i),i.push(""),i.join("")}};m(gD,"DataHandler");let Jv=gD;const ut=Ls.config.id,bD=class bD extends Z{constructor(t){super(ut,"acrobat",!0),this.acrobat7=null,this.autoSave=null,this.common=null,this.validate=null,this.validateApprovalSignatures=null,this.submitUrl=new O}};m(bD,"Acrobat");let Zv=bD;const wD=class wD extends Z{constructor(t){super(ut,"acrobat7",!0),this.dynamicRender=null}};m(wD,"Acrobat7");let tk=wD;const jD=class jD extends Fe{constructor(t){super(ut,"ADBE_JSConsole",["delegate","Enable","Disable"])}};m(jD,"ADBE_JSConsole");let ek=jD;const yD=class yD extends Fe{constructor(t){super(ut,"ADBE_JSDebugger",["delegate","Enable","Disable"])}};m(yD,"ADBE_JSDebugger");let sk=yD;const vD=class vD extends zs{constructor(t){super(ut,"addSilentPrint")}};m(vD,"AddSilentPrint");let ik=vD;const kD=class kD extends zs{constructor(t){super(ut,"addViewerPreferences")}};m(kD,"AddViewerPreferences");let nk=kD;const qD=class qD extends _3{constructor(t){super(ut,"adjustData")}};m(qD,"AdjustData");let ak=qD;const xD=class xD extends Ea{constructor(t){super(ut,"adobeExtensionLevel",0,e=>e>=1&&e<=8)}};m(xD,"AdobeExtensionLevel");let rk=xD;const AD=class AD extends Z{constructor(t){super(ut,"agent",!0),this.name=t.name?t.name.trim():"",this.common=new O}};m(AD,"Agent");let ok=AD;const SD=class SD extends gs{constructor(t){super(ut,"alwaysEmbed")}};m(SD,"AlwaysEmbed");let lk=SD;const CD=class CD extends le{constructor(t){super(ut,"amd")}};m(CD,"Amd");let ck=CD;const ID=class ID extends Z{constructor(t){super(ut,"area"),this.level=Yt({data:t.level,defaultValue:0,validate:m(e=>e>=1&&e<=3,"validate")}),this.name=lt(t.name,["","barcode","coreinit","deviceDriver","font","general","layout","merge","script","signature","sourceSet","templateCache"])}};m(ID,"config_Area");let hk=ID;const TD=class TD extends Fe{constructor(t){super(ut,"attributes",["preserve","delegate","ignore"])}};m(TD,"Attributes");let fk=TD;const FD=class FD extends Fe{constructor(t){super(ut,"autoSave",["disabled","enabled"])}};m(FD,"AutoSave");let uk=FD;const ED=class ED extends le{constructor(t){super(ut,"base")}};m(ED,"Base");let dk=ED;const RD=class RD extends Z{constructor(t){super(ut,"batchOutput"),this.format=lt(t.format,["none","concat","zip","zipCompress"])}};m(RD,"BatchOutput");let pk=RD;const MD=class MD extends gs{constructor(t){super(ut,"behaviorOverride")}[Ge](){this[nt]=new Map(this[nt].trim().split(/\s+/).filter(t=>t.includes(":")).map(t=>t.split(":",2)))}};m(MD,"BehaviorOverride");let mk=MD;const BD=class BD extends Z{constructor(t){super(ut,"cache",!0),this.templateCache=null}};m(BD,"Cache");let gk=BD;const DD=class DD extends zs{constructor(t){super(ut,"change")}};m(DD,"Change");let bk=DD;const PD=class PD extends Z{constructor(t){super(ut,"common",!0),this.data=null,this.locale=null,this.localeSet=null,this.messaging=null,this.suppressBanner=null,this.template=null,this.validationMessaging=null,this.versionControl=null,this.log=new O}};m(PD,"Common");let wk=PD;const HD=class HD extends Z{constructor(t){super(ut,"compress"),this.scope=lt(t.scope,["imageOnly","document"])}};m(HD,"Compress");let jk=HD;const OD=class OD extends zs{constructor(t){super(ut,"compressLogicalStructure")}};m(OD,"CompressLogicalStructure");let yk=OD;const ND=class ND extends _3{constructor(t){super(ut,"compressObjectStream")}};m(ND,"CompressObjectStream");let vk=ND;const LD=class LD extends Z{constructor(t){super(ut,"compression",!0),this.compressLogicalStructure=null,this.compressObjectStream=null,this.level=null,this.type=null}};m(LD,"Compression");let kk=LD;const zD=class zD extends Z{constructor(t){super(ut,"config",!0),this.acrobat=null,this.present=null,this.trace=null,this.agent=new O}};m(zD,"Config");let qk=zD;const _D=class _D extends Fe{constructor(t){super(ut,"conformance",["A","B"])}};m(_D,"Conformance");let xk=_D;const UD=class UD extends zs{constructor(t){super(ut,"contentCopy")}};m(UD,"ContentCopy");let Ak=UD;const GD=class GD extends Ea{constructor(t){super(ut,"copies",1,e=>e>=1)}};m(GD,"Copies");let Sk=GD;const $D=class $D extends le{constructor(t){super(ut,"creator")}};m($D,"Creator");let Ck=$D;const VD=class VD extends Ea{constructor(t){super(ut,"currentPage",0,e=>e>=0)}};m(VD,"CurrentPage");let Ik=VD;const WD=class WD extends Z{constructor(t){super(ut,"data",!0),this.adjustData=null,this.attributes=null,this.incrementalLoad=null,this.outputXSL=null,this.range=null,this.record=null,this.startNode=null,this.uri=null,this.window=null,this.xsl=null,this.excludeNS=new O,this.transform=new O}};m(WD,"Data");let Tk=WD;const KD=class KD extends Z{constructor(t){super(ut,"debug",!0),this.uri=null}};m(KD,"Debug");let Fk=KD;const XD=class XD extends gs{constructor(t){super(ut,"defaultTypeface"),this.writingScript=lt(t.writingScript,["*","Arabic","Cyrillic","EastEuropeanRoman","Greek","Hebrew","Japanese","Korean","Roman","SimplifiedChinese","Thai","TraditionalChinese","Vietnamese"])}};m(XD,"DefaultTypeface");let Ek=XD;const YD=class YD extends Fe{constructor(t){super(ut,"destination",["pdf","pcl","ps","webClient","zpl"])}};m(YD,"Destination");let Rk=YD;const QD=class QD extends zs{constructor(t){super(ut,"documentAssembly")}};m(QD,"DocumentAssembly");let Mk=QD;const JD=class JD extends Z{constructor(t){super(ut,"driver",!0),this.name=t.name?t.name.trim():"",this.fontInfo=null,this.xdc=null}};m(JD,"Driver");let Bk=JD;const ZD=class ZD extends Fe{constructor(t){super(ut,"duplexOption",["simplex","duplexFlipLongEdge","duplexFlipShortEdge"])}};m(ZD,"DuplexOption");let Dk=ZD;const tP=class tP extends Fe{constructor(t){super(ut,"dynamicRender",["forbidden","required"])}};m(tP,"DynamicRender");let Pk=tP;const eP=class eP extends zs{constructor(t){super(ut,"embed")}};m(eP,"Embed");let Hk=eP;const sP=class sP extends zs{constructor(t){super(ut,"encrypt")}};m(sP,"config_Encrypt");let Ok=sP;const iP=class iP extends Z{constructor(t){super(ut,"encryption",!0),this.encrypt=null,this.encryptionLevel=null,this.permissions=null}};m(iP,"config_Encryption");let Nk=iP;const nP=class nP extends Fe{constructor(t){super(ut,"encryptionLevel",["40bit","128bit"])}};m(nP,"EncryptionLevel");let Lk=nP;const aP=class aP extends le{constructor(t){super(ut,"enforce")}};m(aP,"Enforce");let zk=aP;const rP=class rP extends Z{constructor(t){super(ut,"equate"),this.force=Yt({data:t.force,defaultValue:1,validate:m(e=>e===0,"validate")}),this.from=t.from||"",this.to=t.to||""}};m(rP,"Equate");let _k=rP;const oP=class oP extends Z{constructor(t){super(ut,"equateRange"),this.from=t.from||"",this.to=t.to||"",this._unicodeRange=t.unicodeRange||""}get unicodeRange(){const t=[],e=/U\+([0-9a-fA-F]+)/,i=this._unicodeRange;for(let n of i.split(",").map(a=>a.trim()).filter(a=>!!a))n=n.split("-",2).map(a=>{const r=a.match(e);return r?parseInt(r[1],16):0}),n.length===1&&n.push(n[0]),t.push(n);return mt(this,"unicodeRange",t)}};m(oP,"EquateRange");let Uk=oP;const lP=class lP extends gs{constructor(t){super(ut,"exclude")}[Ge](){this[nt]=this[nt].trim().split(/\s+/).filter(t=>t&&["calculate","close","enter","exit","initialize","ready","validate"].includes(t))}};m(lP,"Exclude");let Gk=lP;const cP=class cP extends le{constructor(t){super(ut,"excludeNS")}};m(cP,"ExcludeNS");let $k=cP;const hP=class hP extends Fe{constructor(t){super(ut,"flipLabel",["usePrinterSetting","on","off"])}};m(hP,"FlipLabel");let Vk=hP;const fP=class fP extends Z{constructor(t){super(ut,"fontInfo",!0),this.embed=null,this.map=null,this.subsetBelow=null,this.alwaysEmbed=new O,this.defaultTypeface=new O,this.neverEmbed=new O}};m(fP,"config_FontInfo");let Wk=fP;const uP=class uP extends zs{constructor(t){super(ut,"formFieldFilling")}};m(uP,"FormFieldFilling");let Kk=uP;const dP=class dP extends le{constructor(t){super(ut,"groupParent")}};m(dP,"GroupParent");let Xk=dP;const pP=class pP extends Fe{constructor(t){super(ut,"ifEmpty",["dataValue","dataGroup","ignore","remove"])}};m(pP,"IfEmpty");let Yk=pP;const mP=class mP extends le{constructor(t){super(ut,"includeXDPContent")}};m(mP,"IncludeXDPContent");let Qk=mP;const gP=class gP extends Fe{constructor(t){super(ut,"incrementalLoad",["none","forwardOnly"])}};m(gP,"IncrementalLoad");let Jk=gP;const bP=class bP extends zs{constructor(t){super(ut,"incrementalMerge")}};m(bP,"IncrementalMerge");let Zk=bP;const wP=class wP extends zs{constructor(t){super(ut,"interactive")}};m(wP,"Interactive");let tq=wP;const jP=class jP extends Fe{constructor(t){super(ut,"jog",["usePrinterSetting","none","pageSet"])}};m(jP,"Jog");let eq=jP;const yP=class yP extends Z{constructor(t){super(ut,"labelPrinter",!0),this.name=lt(t.name,["zpl","dpl","ipl","tcpl"]),this.batchOutput=null,this.flipLabel=null,this.fontInfo=null,this.xdc=null}};m(yP,"LabelPrinter");let sq=yP;const vP=class vP extends Fe{constructor(t){super(ut,"layout",["paginate","panel"])}};m(vP,"Layout");let iq=vP;const kP=class kP extends Ea{constructor(t){super(ut,"level",0,e=>e>0)}};m(kP,"Level");let nq=kP;const qP=class qP extends zs{constructor(t){super(ut,"linearized")}};m(qP,"Linearized");let aq=qP;const xP=class xP extends le{constructor(t){super(ut,"locale")}};m(xP,"Locale");let rq=xP;const AP=class AP extends le{constructor(t){super(ut,"localeSet")}};m(AP,"LocaleSet");let oq=AP;const SP=class SP extends Z{constructor(t){super(ut,"log",!0),this.mode=null,this.threshold=null,this.to=null,this.uri=null}};m(SP,"Log");let lq=SP;const CP=class CP extends Z{constructor(t){super(ut,"map",!0),this.equate=new O,this.equateRange=new O}};m(CP,"MapElement");let cq=CP;const IP=class IP extends Z{constructor(t){super(ut,"mediumInfo",!0),this.map=null}};m(IP,"MediumInfo");let hq=IP;const TP=class TP extends Z{constructor(t){super(ut,"message",!0),this.msgId=null,this.severity=null}};m(TP,"config_Message");let fq=TP;const FP=class FP extends Z{constructor(t){super(ut,"messaging",!0),this.message=new O}};m(FP,"Messaging");let uq=FP;const EP=class EP extends Fe{constructor(t){super(ut,"mode",["append","overwrite"])}};m(EP,"Mode");let dq=EP;const RP=class RP extends zs{constructor(t){super(ut,"modifyAnnots")}};m(RP,"ModifyAnnots");let pq=RP;const MP=class MP extends Ea{constructor(t){super(ut,"msgId",1,e=>e>=1)}};m(MP,"MsgId");let mq=MP;const BP=class BP extends le{constructor(t){super(ut,"nameAttr")}};m(BP,"NameAttr");let gq=BP;const DP=class DP extends gs{constructor(t){super(ut,"neverEmbed")}};m(DP,"NeverEmbed");let bq=DP;const PP=class PP extends Ea{constructor(t){super(ut,"numberOfCopies",null,e=>e>=2&&e<=5)}};m(PP,"NumberOfCopies");let wq=PP;const HP=class HP extends Z{constructor(t){super(ut,"openAction",!0),this.destination=null}};m(HP,"OpenAction");let jq=HP;const OP=class OP extends Z{constructor(t){super(ut,"output",!0),this.to=null,this.type=null,this.uri=null}};m(OP,"Output");let yq=OP;const NP=class NP extends le{constructor(t){super(ut,"outputBin")}};m(NP,"OutputBin");let vq=NP;const LP=class LP extends Z{constructor(t){super(ut,"outputXSL",!0),this.uri=null}};m(LP,"OutputXSL");let kq=LP;const zP=class zP extends Fe{constructor(t){super(ut,"overprint",["none","both","draw","field"])}};m(zP,"Overprint");let qq=zP;const _P=class _P extends le{constructor(t){super(ut,"packets")}[Ge](){this[nt]!=="*"&&(this[nt]=this[nt].trim().split(/\s+/).filter(t=>["config","datasets","template","xfdf","xslt"].includes(t)))}};m(_P,"Packets");let xq=_P;const UP=class UP extends Z{constructor(t){super(ut,"pageOffset"),this.x=Yt({data:t.x,defaultValue:"useXDCSetting",validate:m(e=>!0,"validate")}),this.y=Yt({data:t.y,defaultValue:"useXDCSetting",validate:m(e=>!0,"validate")})}};m(UP,"PageOffset");let Aq=UP;const GP=class GP extends le{constructor(t){super(ut,"pageRange")}[Ge](){const t=this[nt].trim().split(/\s+/).map(i=>parseInt(i,10)),e=[];for(let i=0,n=t.length;i!1)}};m(WP,"Part");let Tq=WP;const KP=class KP extends Z{constructor(t){super(ut,"pcl",!0),this.name=t.name||"",this.batchOutput=null,this.fontInfo=null,this.jog=null,this.mediumInfo=null,this.outputBin=null,this.pageOffset=null,this.staple=null,this.xdc=null}};m(KP,"Pcl");let Fq=KP;const XP=class XP extends Z{constructor(t){super(ut,"pdf",!0),this.name=t.name||"",this.adobeExtensionLevel=null,this.batchOutput=null,this.compression=null,this.creator=null,this.encryption=null,this.fontInfo=null,this.interactive=null,this.linearized=null,this.openAction=null,this.pdfa=null,this.producer=null,this.renderPolicy=null,this.scriptModel=null,this.silentPrint=null,this.submitFormat=null,this.tagged=null,this.version=null,this.viewerPreferences=null,this.xdc=null}};m(XP,"Pdf");let Eq=XP;const YP=class YP extends Z{constructor(t){super(ut,"pdfa",!0),this.amd=null,this.conformance=null,this.includeXDPContent=null,this.part=null}};m(YP,"Pdfa");let Rq=YP;const QP=class QP extends Z{constructor(t){super(ut,"permissions",!0),this.accessibleContent=null,this.change=null,this.contentCopy=null,this.documentAssembly=null,this.formFieldFilling=null,this.modifyAnnots=null,this.plaintextMetadata=null,this.print=null,this.printHighQuality=null}};m(QP,"Permissions");let Mq=QP;const JP=class JP extends zs{constructor(t){super(ut,"pickTrayByPDFSize")}};m(JP,"PickTrayByPDFSize");let Bq=JP;const ZP=class ZP extends le{constructor(t){super(ut,"picture")}};m(ZP,"config_Picture");let Dq=ZP;const tH=class tH extends zs{constructor(t){super(ut,"plaintextMetadata")}};m(tH,"PlaintextMetadata");let Pq=tH;const eH=class eH extends Fe{constructor(t){super(ut,"presence",["preserve","dissolve","dissolveStructure","ignore","remove"])}};m(eH,"Presence");let Hq=eH;const sH=class sH extends Z{constructor(t){super(ut,"present",!0),this.behaviorOverride=null,this.cache=null,this.common=null,this.copies=null,this.destination=null,this.incrementalMerge=null,this.layout=null,this.output=null,this.overprint=null,this.pagination=null,this.paginationOverride=null,this.script=null,this.validate=null,this.xdp=null,this.driver=new O,this.labelPrinter=new O,this.pcl=new O,this.pdf=new O,this.ps=new O,this.submitUrl=new O,this.webClient=new O,this.zpl=new O}};m(sH,"Present");let Oq=sH;const iH=class iH extends zs{constructor(t){super(ut,"print")}};m(iH,"Print");let Nq=iH;const nH=class nH extends zs{constructor(t){super(ut,"printHighQuality")}};m(nH,"PrintHighQuality");let Lq=nH;const aH=class aH extends Fe{constructor(t){super(ut,"printScaling",["appdefault","noScaling"])}};m(aH,"PrintScaling");let zq=aH;const rH=class rH extends le{constructor(t){super(ut,"printerName")}};m(rH,"PrinterName");let _q=rH;const oH=class oH extends le{constructor(t){super(ut,"producer")}};m(oH,"Producer");let Uq=oH;const lH=class lH extends Z{constructor(t){super(ut,"ps",!0),this.name=t.name||"",this.batchOutput=null,this.fontInfo=null,this.jog=null,this.mediumInfo=null,this.outputBin=null,this.staple=null,this.xdc=null}};m(lH,"Ps");let Gq=lH;var kd;let UQ=(kd=class extends gs{constructor(t){super(ut,"range")}[Ge](){this[nt]=this[nt].split(",",2).map(t=>t.split("-").map(e=>parseInt(e.trim(),10))).filter(t=>t.every(e=>!isNaN(e))).map(t=>(t.length===1&&t.push(t[0]),t))}},m(kd,"Range"),kd);const cH=class cH extends gs{constructor(t){super(ut,"record")}[Ge](){this[nt]=this[nt].trim();const t=parseInt(this[nt],10);!isNaN(t)&&t>=0&&(this[nt]=t)}};m(cH,"Record");let $q=cH;const hH=class hH extends gs{constructor(t){super(ut,"relevant")}[Ge](){this[nt]=this[nt].trim().split(/\s+/)}};m(hH,"Relevant");let Vq=hH;const fH=class fH extends gs{constructor(t){super(ut,"rename")}[Ge](){this[nt]=this[nt].trim(),(this[nt].toLowerCase().startsWith("xml")||new RegExp("[\\p{L}_][\\p{L}\\d._\\p{M}-]*","u").test(this[nt]))&&H("XFA - Rename: invalid XFA name")}};m(fH,"Rename");let Wq=fH;const uH=class uH extends Fe{constructor(t){super(ut,"renderPolicy",["server","client"])}};m(uH,"RenderPolicy");let Kq=uH;const dH=class dH extends Fe{constructor(t){super(ut,"runScripts",["both","client","none","server"])}};m(dH,"RunScripts");let Xq=dH;const pH=class pH extends Z{constructor(t){super(ut,"script",!0),this.currentPage=null,this.exclude=null,this.runScripts=null}};m(pH,"config_Script");let Yq=pH;const mH=class mH extends Fe{constructor(t){super(ut,"scriptModel",["XFA","none"])}};m(mH,"ScriptModel");let Qq=mH;const gH=class gH extends Fe{constructor(t){super(ut,"severity",["ignore","error","information","trace","warning"])}};m(gH,"Severity");let Jq=gH;const bH=class bH extends Z{constructor(t){super(ut,"silentPrint",!0),this.addSilentPrint=null,this.printerName=null}};m(bH,"SilentPrint");let Zq=bH;const wH=class wH extends Z{constructor(t){super(ut,"staple"),this.mode=lt(t.mode,["usePrinterSetting","on","off"])}};m(wH,"Staple");let tx=wH;const jH=class jH extends le{constructor(t){super(ut,"startNode")}};m(jH,"StartNode");let ex=jH;const yH=class yH extends Ea{constructor(t){super(ut,"startPage",0,e=>!0)}};m(yH,"StartPage");let sx=yH;const vH=class vH extends Fe{constructor(t){super(ut,"submitFormat",["html","delegate","fdf","xml","pdf"])}};m(vH,"SubmitFormat");let ix=vH;const kH=class kH extends le{constructor(t){super(ut,"submitUrl")}};m(kH,"SubmitUrl");let nx=kH;const qH=class qH extends Ea{constructor(t){super(ut,"subsetBelow",100,e=>e>=0&&e<=100)}};m(qH,"SubsetBelow");let ax=qH;const xH=class xH extends zs{constructor(t){super(ut,"suppressBanner")}};m(xH,"SuppressBanner");let rx=xH;const AH=class AH extends zs{constructor(t){super(ut,"tagged")}};m(AH,"Tagged");let ox=AH;const SH=class SH extends Z{constructor(t){super(ut,"template",!0),this.base=null,this.relevant=null,this.startPage=null,this.uri=null,this.xsl=null}};m(SH,"config_Template");let lx=SH;const CH=class CH extends Fe{constructor(t){super(ut,"threshold",["trace","error","information","warning"])}};m(CH,"Threshold");let cx=CH;const IH=class IH extends Fe{constructor(t){super(ut,"to",["null","memory","stderr","stdout","system","uri"])}};m(IH,"To");let hx=IH;const TH=class TH extends Z{constructor(t){super(ut,"templateCache"),this.maxEntries=Yt({data:t.maxEntries,defaultValue:5,validate:m(e=>e>=0,"validate")})}};m(TH,"TemplateCache");let fx=TH;const FH=class FH extends Z{constructor(t){super(ut,"trace",!0),this.area=new O}};m(FH,"Trace");let ux=FH;const EH=class EH extends Z{constructor(t){super(ut,"transform",!0),this.groupParent=null,this.ifEmpty=null,this.nameAttr=null,this.picture=null,this.presence=null,this.rename=null,this.whitespace=null}};m(EH,"Transform");let dx=EH;const RH=class RH extends Fe{constructor(t){super(ut,"type",["none","ascii85","asciiHex","ccittfax","flate","lzw","runLength","native","xdp","mergedXDP"])}};m(RH,"Type");let px=RH;const MH=class MH extends le{constructor(t){super(ut,"uri")}};m(MH,"Uri");let mx=MH;const BH=class BH extends Fe{constructor(t){super(ut,"validate",["preSubmit","prePrint","preExecute","preSave"])}};m(BH,"config_Validate");let gx=BH;const DH=class DH extends gs{constructor(t){super(ut,"validateApprovalSignatures")}[Ge](){this[nt]=this[nt].trim().split(/\s+/).filter(t=>["docReady","postSign"].includes(t))}};m(DH,"ValidateApprovalSignatures");let bx=DH;const PH=class PH extends Fe{constructor(t){super(ut,"validationMessaging",["allMessagesIndividually","allMessagesTogether","firstMessageOnly","noMessages"])}};m(PH,"ValidationMessaging");let wx=PH;const HH=class HH extends Fe{constructor(t){super(ut,"version",["1.7","1.6","1.5","1.4","1.3","1.2"])}};m(HH,"Version");let jx=HH;const OH=class OH extends Z{constructor(t){super(ut,"VersionControl"),this.outputBelow=lt(t.outputBelow,["warn","error","update"]),this.sourceAbove=lt(t.sourceAbove,["warn","error"]),this.sourceBelow=lt(t.sourceBelow,["update","maintain"])}};m(OH,"VersionControl");let yx=OH;const NH=class NH extends Z{constructor(t){super(ut,"viewerPreferences",!0),this.ADBE_JSConsole=null,this.ADBE_JSDebugger=null,this.addViewerPreferences=null,this.duplexOption=null,this.enforce=null,this.numberOfCopies=null,this.pageRange=null,this.pickTrayByPDFSize=null,this.printScaling=null}};m(NH,"ViewerPreferences");let vx=NH;const LH=class LH extends Z{constructor(t){super(ut,"webClient",!0),this.name=t.name?t.name.trim():"",this.fontInfo=null,this.xdc=null}};m(LH,"WebClient");let kx=LH;const zH=class zH extends Fe{constructor(t){super(ut,"whitespace",["preserve","ltrim","normalize","rtrim","trim"])}};m(zH,"Whitespace");let qx=zH;const _H=class _H extends gs{constructor(t){super(ut,"window")}[Ge](){const t=this[nt].split(",",2).map(e=>parseInt(e.trim(),10));if(t.some(e=>isNaN(e))){this[nt]=[0,0];return}t.length===1&&t.push(t[0]),this[nt]=t}};m(_H,"Window");let xx=_H;const UH=class UH extends Z{constructor(t){super(ut,"xdc",!0),this.uri=new O,this.xsl=new O}};m(UH,"Xdc");let Ax=UH;const GH=class GH extends Z{constructor(t){super(ut,"xdp",!0),this.packets=null}};m(GH,"Xdp");let Sx=GH;const $H=class $H extends Z{constructor(t){super(ut,"xsl",!0),this.debug=null,this.uri=null}};m($H,"Xsl");let Cx=$H;const VH=class VH extends Z{constructor(t){super(ut,"zpl",!0),this.name=t.name?t.name.trim():"",this.batchOutput=null,this.flipLabel=null,this.fontInfo=null,this.xdc=null}};m(VH,"Zpl");let Ix=VH;const hg=class hg{static[$r](t,e){if(hg.hasOwnProperty(t))return hg[t](e)}static acrobat(t){return new Zv(t)}static acrobat7(t){return new tk(t)}static ADBE_JSConsole(t){return new ek(t)}static ADBE_JSDebugger(t){return new sk(t)}static addSilentPrint(t){return new ik(t)}static addViewerPreferences(t){return new nk(t)}static adjustData(t){return new ak(t)}static adobeExtensionLevel(t){return new rk(t)}static agent(t){return new ok(t)}static alwaysEmbed(t){return new lk(t)}static amd(t){return new ck(t)}static area(t){return new hk(t)}static attributes(t){return new fk(t)}static autoSave(t){return new uk(t)}static base(t){return new dk(t)}static batchOutput(t){return new pk(t)}static behaviorOverride(t){return new mk(t)}static cache(t){return new gk(t)}static change(t){return new bk(t)}static common(t){return new wk(t)}static compress(t){return new jk(t)}static compressLogicalStructure(t){return new yk(t)}static compressObjectStream(t){return new vk(t)}static compression(t){return new kk(t)}static config(t){return new qk(t)}static conformance(t){return new xk(t)}static contentCopy(t){return new Ak(t)}static copies(t){return new Sk(t)}static creator(t){return new Ck(t)}static currentPage(t){return new Ik(t)}static data(t){return new Tk(t)}static debug(t){return new Fk(t)}static defaultTypeface(t){return new Ek(t)}static destination(t){return new Rk(t)}static documentAssembly(t){return new Mk(t)}static driver(t){return new Bk(t)}static duplexOption(t){return new Dk(t)}static dynamicRender(t){return new Pk(t)}static embed(t){return new Hk(t)}static encrypt(t){return new Ok(t)}static encryption(t){return new Nk(t)}static encryptionLevel(t){return new Lk(t)}static enforce(t){return new zk(t)}static equate(t){return new _k(t)}static equateRange(t){return new Uk(t)}static exclude(t){return new Gk(t)}static excludeNS(t){return new $k(t)}static flipLabel(t){return new Vk(t)}static fontInfo(t){return new Wk(t)}static formFieldFilling(t){return new Kk(t)}static groupParent(t){return new Xk(t)}static ifEmpty(t){return new Yk(t)}static includeXDPContent(t){return new Qk(t)}static incrementalLoad(t){return new Jk(t)}static incrementalMerge(t){return new Zk(t)}static interactive(t){return new tq(t)}static jog(t){return new eq(t)}static labelPrinter(t){return new sq(t)}static layout(t){return new iq(t)}static level(t){return new nq(t)}static linearized(t){return new aq(t)}static locale(t){return new rq(t)}static localeSet(t){return new oq(t)}static log(t){return new lq(t)}static map(t){return new cq(t)}static mediumInfo(t){return new hq(t)}static message(t){return new fq(t)}static messaging(t){return new uq(t)}static mode(t){return new dq(t)}static modifyAnnots(t){return new pq(t)}static msgId(t){return new mq(t)}static nameAttr(t){return new gq(t)}static neverEmbed(t){return new bq(t)}static numberOfCopies(t){return new wq(t)}static openAction(t){return new jq(t)}static output(t){return new yq(t)}static outputBin(t){return new vq(t)}static outputXSL(t){return new kq(t)}static overprint(t){return new qq(t)}static packets(t){return new xq(t)}static pageOffset(t){return new Aq(t)}static pageRange(t){return new Sq(t)}static pagination(t){return new Cq(t)}static paginationOverride(t){return new Iq(t)}static part(t){return new Tq(t)}static pcl(t){return new Fq(t)}static pdf(t){return new Eq(t)}static pdfa(t){return new Rq(t)}static permissions(t){return new Mq(t)}static pickTrayByPDFSize(t){return new Bq(t)}static picture(t){return new Dq(t)}static plaintextMetadata(t){return new Pq(t)}static presence(t){return new Hq(t)}static present(t){return new Oq(t)}static print(t){return new Nq(t)}static printHighQuality(t){return new Lq(t)}static printScaling(t){return new zq(t)}static printerName(t){return new _q(t)}static producer(t){return new Uq(t)}static ps(t){return new Gq(t)}static range(t){return new UQ(t)}static record(t){return new $q(t)}static relevant(t){return new Vq(t)}static rename(t){return new Wq(t)}static renderPolicy(t){return new Kq(t)}static runScripts(t){return new Xq(t)}static script(t){return new Yq(t)}static scriptModel(t){return new Qq(t)}static severity(t){return new Jq(t)}static silentPrint(t){return new Zq(t)}static staple(t){return new tx(t)}static startNode(t){return new ex(t)}static startPage(t){return new sx(t)}static submitFormat(t){return new ix(t)}static submitUrl(t){return new nx(t)}static subsetBelow(t){return new ax(t)}static suppressBanner(t){return new rx(t)}static tagged(t){return new ox(t)}static template(t){return new lx(t)}static templateCache(t){return new fx(t)}static threshold(t){return new cx(t)}static to(t){return new hx(t)}static trace(t){return new ux(t)}static transform(t){return new dx(t)}static type(t){return new px(t)}static uri(t){return new mx(t)}static validate(t){return new gx(t)}static validateApprovalSignatures(t){return new bx(t)}static validationMessaging(t){return new wx(t)}static version(t){return new jx(t)}static versionControl(t){return new yx(t)}static viewerPreferences(t){return new vx(t)}static webClient(t){return new kx(t)}static whitespace(t){return new qx(t)}static window(t){return new xx(t)}static xdc(t){return new Ax(t)}static xdp(t){return new Sx(t)}static xsl(t){return new Cx(t)}static zpl(t){return new Ix(t)}};m(hg,"ConfigNamespace");let Tx=hg;const hr=Ls.connectionSet.id,WH=class WH extends Z{constructor(t){super(hr,"connectionSet",!0),this.wsdlConnection=new O,this.xmlConnection=new O,this.xsdConnection=new O}};m(WH,"ConnectionSet");let Fx=WH;const KH=class KH extends Z{constructor(t){super(hr,"effectiveInputPolicy"),this.id=t.id||"",this.name=t.name||"",this.use=t.use||"",this.usehref=t.usehref||""}};m(KH,"EffectiveInputPolicy");let Ex=KH;const XH=class XH extends Z{constructor(t){super(hr,"effectiveOutputPolicy"),this.id=t.id||"",this.name=t.name||"",this.use=t.use||"",this.usehref=t.usehref||""}};m(XH,"EffectiveOutputPolicy");let Rx=XH;const YH=class YH extends le{constructor(t){super(hr,"operation"),this.id=t.id||"",this.input=t.input||"",this.name=t.name||"",this.output=t.output||"",this.use=t.use||"",this.usehref=t.usehref||""}};m(YH,"Operation");let Mx=YH;const QH=class QH extends le{constructor(t){super(hr,"rootElement"),this.id=t.id||"",this.name=t.name||"",this.use=t.use||"",this.usehref=t.usehref||""}};m(QH,"RootElement");let Bx=QH;const JH=class JH extends le{constructor(t){super(hr,"soapAction"),this.id=t.id||"",this.name=t.name||"",this.use=t.use||"",this.usehref=t.usehref||""}};m(JH,"SoapAction");let Dx=JH;const ZH=class ZH extends le{constructor(t){super(hr,"soapAddress"),this.id=t.id||"",this.name=t.name||"",this.use=t.use||"",this.usehref=t.usehref||""}};m(ZH,"SoapAddress");let Px=ZH;const tO=class tO extends le{constructor(t){super(hr,"uri"),this.id=t.id||"",this.name=t.name||"",this.use=t.use||"",this.usehref=t.usehref||""}};m(tO,"connection_set_Uri");let Hx=tO;const eO=class eO extends le{constructor(t){super(hr,"wsdlAddress"),this.id=t.id||"",this.name=t.name||"",this.use=t.use||"",this.usehref=t.usehref||""}};m(eO,"WsdlAddress");let Ox=eO;const sO=class sO extends Z{constructor(t){super(hr,"wsdlConnection",!0),this.dataDescription=t.dataDescription||"",this.name=t.name||"",this.effectiveInputPolicy=null,this.effectiveOutputPolicy=null,this.operation=null,this.soapAction=null,this.soapAddress=null,this.wsdlAddress=null}};m(sO,"WsdlConnection");let Nx=sO;const iO=class iO extends Z{constructor(t){super(hr,"xmlConnection",!0),this.dataDescription=t.dataDescription||"",this.name=t.name||"",this.uri=null}};m(iO,"XmlConnection");let Lx=iO;const nO=class nO extends Z{constructor(t){super(hr,"xsdConnection",!0),this.dataDescription=t.dataDescription||"",this.name=t.name||"",this.rootElement=null,this.uri=null}};m(nO,"XsdConnection");let zx=nO;const fg=class fg{static[$r](t,e){if(fg.hasOwnProperty(t))return fg[t](e)}static connectionSet(t){return new Fx(t)}static effectiveInputPolicy(t){return new Ex(t)}static effectiveOutputPolicy(t){return new Rx(t)}static operation(t){return new Mx(t)}static rootElement(t){return new Bx(t)}static soapAction(t){return new Dx(t)}static soapAddress(t){return new Px(t)}static uri(t){return new Hx(t)}static wsdlAddress(t){return new Ox(t)}static wsdlConnection(t){return new Nx(t)}static xmlConnection(t){return new Lx(t)}static xsdConnection(t){return new zx(t)}};m(fg,"ConnectionSetNamespace");let _x=fg;const Ux=Ls.datasets.id,aO=class aO extends Wl{constructor(t){super(Ux,"data",t)}[Vm](){return!0}};m(aO,"datasets_Data");let Gx=aO;const rO=class rO extends Z{constructor(t){super(Ux,"datasets",!0),this.data=null,this.Signature=null}[Do](t){const e=t[Se];(e==="data"&&t[Hs]===Ux||e==="Signature"&&t[Hs]===Ls.signature.id)&&(this[e]=t),this[ks](t)}};m(rO,"Datasets");let $x=rO;const ug=class ug{static[$r](t,e){if(ug.hasOwnProperty(t))return ug[t](e)}static datasets(t){return new $x(t)}static data(t){return new Gx(t)}};m(ug,"DatasetsNamespace");let Vx=ug;const xs=Ls.localeSet.id,oO=class oO extends Z{constructor(t){super(xs,"calendarSymbols",!0),this.name="gregorian",this.dayNames=new O(2),this.eraNames=null,this.meridiemNames=null,this.monthNames=new O(2)}};m(oO,"CalendarSymbols");let Wx=oO;const lO=class lO extends le{constructor(t){super(xs,"currencySymbol"),this.name=lt(t.name,["symbol","isoname","decimal"])}};m(lO,"CurrencySymbol");let Kx=lO;const cO=class cO extends Z{constructor(t){super(xs,"currencySymbols",!0),this.currencySymbol=new O(3)}};m(cO,"CurrencySymbols");let Xx=cO;const hO=class hO extends le{constructor(t){super(xs,"datePattern"),this.name=lt(t.name,["full","long","med","short"])}};m(hO,"DatePattern");let Yx=hO;const fO=class fO extends Z{constructor(t){super(xs,"datePatterns",!0),this.datePattern=new O(4)}};m(fO,"DatePatterns");let Qx=fO;const uO=class uO extends gs{constructor(t){super(xs,"dateTimeSymbols")}};m(uO,"DateTimeSymbols");let Jx=uO;const dO=class dO extends le{constructor(t){super(xs,"day")}};m(dO,"Day");let Zx=dO;const pO=class pO extends Z{constructor(t){super(xs,"dayNames",!0),this.abbr=Yt({data:t.abbr,defaultValue:0,validate:m(e=>e===1,"validate")}),this.day=new O(7)}};m(pO,"DayNames");let tA=pO;const mO=class mO extends le{constructor(t){super(xs,"era")}};m(mO,"Era");let eA=mO;const gO=class gO extends Z{constructor(t){super(xs,"eraNames",!0),this.era=new O(2)}};m(gO,"EraNames");let sA=gO;const bO=class bO extends Z{constructor(t){super(xs,"locale",!0),this.desc=t.desc||"",this.name="isoname",this.calendarSymbols=null,this.currencySymbols=null,this.datePatterns=null,this.dateTimeSymbols=null,this.numberPatterns=null,this.numberSymbols=null,this.timePatterns=null,this.typeFaces=null}};m(bO,"locale_set_Locale");let iA=bO;const wO=class wO extends Z{constructor(t){super(xs,"localeSet",!0),this.locale=new O}};m(wO,"locale_set_LocaleSet");let nA=wO;const jO=class jO extends le{constructor(t){super(xs,"meridiem")}};m(jO,"Meridiem");let aA=jO;const yO=class yO extends Z{constructor(t){super(xs,"meridiemNames",!0),this.meridiem=new O(2)}};m(yO,"MeridiemNames");let rA=yO;const vO=class vO extends le{constructor(t){super(xs,"month")}};m(vO,"Month");let oA=vO;const kO=class kO extends Z{constructor(t){super(xs,"monthNames",!0),this.abbr=Yt({data:t.abbr,defaultValue:0,validate:m(e=>e===1,"validate")}),this.month=new O(12)}};m(kO,"MonthNames");let lA=kO;const qO=class qO extends le{constructor(t){super(xs,"numberPattern"),this.name=lt(t.name,["full","long","med","short"])}};m(qO,"NumberPattern");let cA=qO;const xO=class xO extends Z{constructor(t){super(xs,"numberPatterns",!0),this.numberPattern=new O(4)}};m(xO,"NumberPatterns");let hA=xO;const AO=class AO extends le{constructor(t){super(xs,"numberSymbol"),this.name=lt(t.name,["decimal","grouping","percent","minus","zero"])}};m(AO,"NumberSymbol");let fA=AO;const SO=class SO extends Z{constructor(t){super(xs,"numberSymbols",!0),this.numberSymbol=new O(5)}};m(SO,"NumberSymbols");let uA=SO;const CO=class CO extends le{constructor(t){super(xs,"timePattern"),this.name=lt(t.name,["full","long","med","short"])}};m(CO,"TimePattern");let dA=CO;const IO=class IO extends Z{constructor(t){super(xs,"timePatterns",!0),this.timePattern=new O(4)}};m(IO,"TimePatterns");let pA=IO;const TO=class TO extends Z{constructor(t){super(xs,"typeFace",!0),this.name=t.name|""}};m(TO,"TypeFace");let mA=TO;const FO=class FO extends Z{constructor(t){super(xs,"typeFaces",!0),this.typeFace=new O}};m(FO,"TypeFaces");let gA=FO;const dg=class dg{static[$r](t,e){if(dg.hasOwnProperty(t))return dg[t](e)}static calendarSymbols(t){return new Wx(t)}static currencySymbol(t){return new Kx(t)}static currencySymbols(t){return new Xx(t)}static datePattern(t){return new Yx(t)}static datePatterns(t){return new Qx(t)}static dateTimeSymbols(t){return new Jx(t)}static day(t){return new Zx(t)}static dayNames(t){return new tA(t)}static era(t){return new eA(t)}static eraNames(t){return new sA(t)}static locale(t){return new iA(t)}static localeSet(t){return new nA(t)}static meridiem(t){return new aA(t)}static meridiemNames(t){return new rA(t)}static month(t){return new oA(t)}static monthNames(t){return new lA(t)}static numberPattern(t){return new cA(t)}static numberPatterns(t){return new hA(t)}static numberSymbol(t){return new fA(t)}static numberSymbols(t){return new uA(t)}static timePattern(t){return new dA(t)}static timePatterns(t){return new pA(t)}static typeFace(t){return new mA(t)}static typeFaces(t){return new gA(t)}};m(dg,"LocaleSetNamespace");let bA=dg;const GQ=Ls.signature.id,EO=class EO extends Z{constructor(t){super(GQ,"signature",!0)}};m(EO,"signature_Signature");let wA=EO;const pg=class pg{static[$r](t,e){if(pg.hasOwnProperty(t))return pg[t](e)}static signature(t){return new wA(t)}};m(pg,"SignatureNamespace");let jA=pg;const $Q=Ls.stylesheet.id,RO=class RO extends Z{constructor(t){super($Q,"stylesheet",!0)}};m(RO,"Stylesheet");let yA=RO;const mg=class mg{static[$r](t,e){if(mg.hasOwnProperty(t))return mg[t](e)}static stylesheet(t){return new yA(t)}};m(mg,"StylesheetNamespace");let vA=mg;const VQ=Ls.xdp.id,MO=class MO extends Z{constructor(t){super(VQ,"xdp",!0),this.uuid=t.uuid||"",this.timeStamp=t.timeStamp||"",this.config=null,this.connectionSet=null,this.datasets=null,this.localeSet=null,this.stylesheet=new O,this.template=null}[ly](t){const e=Ls[t[Se]];return e&&t[Hs]===e.id}};m(MO,"xdp_Xdp");let kA=MO;const gg=class gg{static[$r](t,e){if(gg.hasOwnProperty(t))return gg[t](e)}static xdp(t){return new kA(t)}};m(gg,"XdpNamespace");let qA=gg;const WQ=Ls.xhtml.id,O9=Symbol(),KQ=new Set(["color","font","font-family","font-size","font-stretch","font-style","font-weight","margin","margin-bottom","margin-left","margin-right","margin-top","letter-spacing","line-height","orphans","page-break-after","page-break-before","page-break-inside","tab-interval","tab-stop","text-align","text-decoration","text-indent","vertical-align","widows","kerning-mode","xfa-font-horizontal-scale","xfa-font-vertical-scale","xfa-spacerun","xfa-tab-stops"]),XQ=new Map([["page-break-after","breakAfter"],["page-break-before","breakBefore"],["page-break-inside","breakInside"],["kerning-mode",s=>s==="none"?"none":"normal"],["xfa-font-horizontal-scale",s=>`scaleX(${Math.max(0,parseInt(s)/100).toFixed(2)})`],["xfa-font-vertical-scale",s=>`scaleY(${Math.max(0,parseInt(s)/100).toFixed(2)})`],["xfa-spacerun",""],["xfa-tab-stops",""],["font-size",(s,t)=>(s=t.fontSize=Math.abs(It(s)),Xt(.99*s))],["letter-spacing",s=>Xt(It(s))],["line-height",s=>Xt(It(s))],["margin",s=>Xt(It(s))],["margin-bottom",s=>Xt(It(s))],["margin-left",s=>Xt(It(s))],["margin-right",s=>Xt(It(s))],["margin-top",s=>Xt(It(s))],["text-indent",s=>Xt(It(s))],["font-family",s=>s],["vertical-align",s=>Xt(It(s))]]),YQ=/\s+/g,QQ=/[\r\n]+/g,JQ=/\r\n?/g;function Z$(s,t,e){const i=Object.create(null);if(!s)return i;const n=Object.create(null);for(const[a,r]of s.split(";").map(o=>o.split(":",2))){const o=XQ.get(a);if(o==="")continue;let l=r;o&&(l=typeof o=="string"?o:o(r,n)),a.endsWith("scale")?i.transform=i.transform?`${i[a]} ${l}`:l:i[a.replaceAll(/-([a-zA-Z])/g,(c,h)=>h.toUpperCase())]=l}if(i.fontFamily&&uF({typeface:i.fontFamily,weight:i.fontWeight||"normal",posture:i.fontStyle||"normal",size:n.fontSize||0},t,t[Ue].fontFinder,i),e&&i.verticalAlign&&i.verticalAlign!=="0px"&&i.fontSize){const a=It(i.fontSize);i.fontSize=Xt(a*.583),i.verticalAlign=Xt(Math.sign(It(i.verticalAlign))*a*.333)}return e&&i.fontSize&&(i.fontSize=`calc(${i.fontSize} * var(--total-scale-factor))`),cF(i),i}m(Z$,"mapStyle");function tV(s){return s.style?s.style.split(";").filter(t=>!!t.trim()).map(t=>t.split(":",2).map(e=>e.trim())).filter(([t,e])=>(t==="font-family"&&s[Ue].usedTypefaces.add(e),KQ.has(t))).map(t=>t.join(":")).join(";"):""}m(tV,"checkStyle");const ZQ=new Set(["body","html"]),BO=class BO extends Wl{constructor(t,e){super(WQ,e),this[O9]=!1,this.style=t.style||""}[or](t){super[or](t),this.style=tV(this)}[S8](){return!ZQ.has(this[Se])}[Vl](t,e=!1){e?this[O9]=!0:(t=t.replaceAll(QQ,""),this.style.includes("xfa-spacerun:yes")||(t=t.replaceAll(YQ," "))),t&&(this[nt]+=t)}[Ho](t,e=!0){const i=Object.create(null),n={top:NaN,bottom:NaN,left:NaN,right:NaN};let a=null;for(const[r,o]of this.style.split(";").map(l=>l.split(":",2)))switch(r){case"font-family":i.typeface=l9(o);break;case"font-size":i.size=It(o);break;case"font-weight":i.weight=o;break;case"font-style":i.posture=o;break;case"letter-spacing":i.letterSpacing=It(o);break;case"margin":const l=o.split(/ \t/).map(c=>It(c));switch(l.length){case 1:n.top=n.bottom=n.left=n.right=l[0];break;case 2:n.top=n.bottom=l[0],n.left=n.right=l[1];break;case 3:n.top=l[0],n.bottom=l[2],n.left=n.right=l[1];break;case 4:n.top=l[0],n.left=l[1],n.bottom=l[2],n.right=l[3];break}break;case"margin-top":n.top=It(o);break;case"margin-bottom":n.bottom=It(o);break;case"margin-left":n.left=It(o);break;case"margin-right":n.right=It(o);break;case"line-height":a=It(o);break}if(t.pushData(i,n,a),this[nt])t.addString(this[nt]);else for(const r of this[Ti]()){if(r[Se]==="#text"){t.addString(r[nt]);continue}r[Ho](t)}e&&t.popFont()}[Ut](t){const e=[];if(this[Q]={children:e},this[Mh]({}),e.length===0&&!this[nt])return Ht.EMPTY;let i;return this[O9]?i=this[nt]?this[nt].replaceAll(JQ,` +`):void 0:i=this[nt]||void 0,Ht.success({name:this[Se],attributes:{href:this.href,style:Z$(this.style,this,this[O9])},children:e,value:i})}};m(BO,"XhtmlObject");let En=BO;const DO=class DO extends En{constructor(t){super(t,"a"),this.href=dF(t.href)||""}};m(DO,"A");let xA=DO;const PO=class PO extends En{constructor(t){super(t,"b")}[Ho](t){t.pushFont({weight:"bold"}),super[Ho](t),t.popFont()}};m(PO,"B");let AA=PO;const HO=class HO extends En{constructor(t){super(t,"body")}[Ut](t){const e=super[Ut](t),{html:i}=e;return i?(i.name="div",i.attributes.class=["xfaRich"],e):Ht.EMPTY}};m(HO,"Body");let SA=HO;const OO=class OO extends En{constructor(t){super(t,"br")}[li](){return` +`}[Ho](t){t.addString(` +`)}[Ut](t){return Ht.success({name:"br"})}};m(OO,"Br");let CA=OO;const NO=class NO extends En{constructor(t){super(t,"html")}[Ut](t){var i;const e=[];if(this[Q]={children:e},this[Mh]({}),e.length===0)return Ht.success({name:"div",attributes:{class:["xfaRich"],style:{}},value:this[nt]||""});if(e.length===1){const n=e[0];if((i=n.attributes)!=null&&i.class.includes("xfaRich"))return Ht.success(n)}return Ht.success({name:"div",attributes:{class:["xfaRich"],style:{}},children:e})}};m(NO,"Html");let IA=NO;const LO=class LO extends En{constructor(t){super(t,"i")}[Ho](t){t.pushFont({posture:"italic"}),super[Ho](t),t.popFont()}};m(LO,"I");let TA=LO;const zO=class zO extends En{constructor(t){super(t,"li")}};m(zO,"Li");let FA=zO;const _O=class _O extends En{constructor(t){super(t,"ol")}};m(_O,"Ol");let EA=_O;const UO=class UO extends En{constructor(t){super(t,"p")}[Ho](t){super[Ho](t,!1),t.addString(` +`),t.addPara(),t.popFont()}[li](){return this[Jt]()[Ti]().at(-1)===this?super[li]():super[li]()+` +`}};m(UO,"P");let RA=UO;const GO=class GO extends En{constructor(t){super(t,"span")}};m(GO,"Span");let MA=GO;const $O=class $O extends En{constructor(t){super(t,"sub")}};m($O,"Sub");let BA=$O;const VO=class VO extends En{constructor(t){super(t,"sup")}};m(VO,"Sup");let DA=VO;const WO=class WO extends En{constructor(t){super(t,"ul")}};m(WO,"Ul");let PA=WO;const bg=class bg{static[$r](t,e){if(bg.hasOwnProperty(t))return bg[t](e)}static a(t){return new xA(t)}static b(t){return new AA(t)}static body(t){return new SA(t)}static br(t){return new CA(t)}static html(t){return new IA(t)}static i(t){return new TA(t)}static li(t){return new FA(t)}static ol(t){return new EA(t)}static p(t){return new RA(t)}static span(t){return new MA(t)}static sub(t){return new BA(t)}static sup(t){return new DA(t)}static ul(t){return new PA(t)}};m(bg,"XhtmlNamespace");let pb=bg;const U_={config:Tx,connection:_x,datasets:Vx,localeSet:bA,signature:jA,stylesheet:vA,template:Yv,xdp:qA,xhtml:pb},KO=class KO{constructor(t){this.namespaceId=t}[$r](t,e){return new Wl(this.namespaceId,t,e)}};m(KO,"UnknownNamespace");let n6=KO;const XO=class XO extends Z{constructor(t){super(-1,"root",Object.create(null)),this.element=null,this[I1]=t}[Do](t){return this.element=t,!0}[Ge](){super[Ge](),this.element.template instanceof fb&&(this[I1].set(z$,this.element),this.element.template[am](this[I1]),this.element.template[I1]=this[I1])}};m(XO,"Root");let HA=XO;const YO=class YO extends Z{constructor(){super(-1,"",Object.create(null))}[Do](t){return!1}};m(YO,"Empty");let OA=YO;const QO=class QO{constructor(t=null){this._namespaceStack=[],this._nsAgnosticLevel=0,this._namespacePrefixes=new Map,this._namespaces=new Map,this._nextNsId=Math.max(...Object.values(Ls).map(({id:e})=>e)),this._currentNamespace=t||new n6(++this._nextNsId)}buildRoot(t){return new HA(t)}build({nsPrefix:t,name:e,attributes:i,namespace:n,prefixes:a}){var l;const r=n!==null;if(r&&(this._namespaceStack.push(this._currentNamespace),this._currentNamespace=this._searchNamespace(n)),a&&this._addNamespacePrefix(a),i.hasOwnProperty(Nl)){const c=U_.datasets,h=i[Nl];let u=null;for(const[d,p]of Object.entries(h))if(this._getNamespaceToUse(d)===c){u={xfa:p};break}u?i[Nl]=u:delete i[Nl]}const o=((l=this._getNamespaceToUse(t))==null?void 0:l[$r](e,i))||new OA;return o[Vm]()&&this._nsAgnosticLevel++,(r||a||o[Vm]())&&(o[c5]={hasNamespace:r,prefixes:a,nsAgnostic:o[Vm]()}),o}isNsAgnostic(){return this._nsAgnosticLevel>0}_searchNamespace(t){let e=this._namespaces.get(t);if(e)return e;for(const[i,{check:n}]of Object.entries(Ls))if(n(t)){if(e=U_[i],e)return this._namespaces.set(t,e),e;break}return e=new n6(++this._nextNsId),this._namespaces.set(t,e),e}_addNamespacePrefix(t){for(const{prefix:e,value:i}of t){const n=this._searchNamespace(i);this._namespacePrefixes.getOrInsertComputed(e,w8).push(n)}}_getNamespaceToUse(t){if(!t)return this._currentNamespace;const e=this._namespacePrefixes.get(t);return(e==null?void 0:e.length)>0?e.at(-1):(H(`Unknown namespace prefix: ${t}.`),null)}clean(t){const{hasNamespace:e,prefixes:i,nsAgnostic:n}=t;e&&(this._currentNamespace=this._namespaceStack.pop()),i&&i.forEach(({prefix:a})=>{this._namespacePrefixes.get(a).pop()}),n&&this._nsAgnosticLevel--}};m(QO,"Builder");let NA=QO;const S4=class S4 extends N3{constructor(t=null,e=!1){super(),this._builder=new NA(t),this._stack=[],this._globalData={usedTypefaces:new Set},this._ids=new Map,this._current=this._builder.buildRoot(this._ids),this._errorCode=$n.NoError,this._whiteRegex=/^\s+$/,this._nbsps=/\xa0+/g,this._richText=e}parse(t){if(this.parseXml(t),this._errorCode===$n.NoError)return this._current[Ge](),this._current.element}onText(t){if(t=t.replace(this._nbsps,e=>e.slice(1)+" "),this._richText||this._current[S8]()){this._current[Vl](t,this._richText);return}this._whiteRegex.test(t)||this._current[Vl](t.trim())}onCdata(t){this._current[Vl](t)}_mkAttributes(t,e){let i=null,n=null;const a=Object.create({});for(const{name:r,value:o}of t)if(r==="xmlns")i?H(`XFA - multiple namespace definition in <${e}>`):i=o;else if(r.startsWith("xmlns:")){const l=r.substring(6);n??(n=[]),n.push({prefix:l,value:o})}else{const l=r.indexOf(":");if(l===-1)a[r]=o;else{const c=a[Nl]??(a[Nl]=Object.create(null)),[h,u]=[r.slice(0,l),r.slice(l+1)],d=c[h]||(c[h]=Object.create(null));d[u]=o}}return[i,n,a]}_getNameAndPrefix(t,e){const i=t.indexOf(":");return i===-1?[t,null]:[t.substring(i+1),e?"":t.substring(0,i)]}onBeginElement(t,e,i){const[n,a,r]=this._mkAttributes(e,t),[o,l]=this._getNameAndPrefix(t,this._builder.isNsAgnostic()),c=this._builder.build({nsPrefix:l,name:o,attributes:r,namespace:n,prefixes:a});if(c[Ue]=this._globalData,i){c[Ge](),this._current[Do](c)&&c[cy](this._ids),c[or](this._builder);return}this._stack.push(this._current),this._current=c}onEndElement(t){const e=this._current;if(e[nF]()&&typeof e[nt]=="string"){const i=new S4;i._globalData=this._globalData;const n=i.parse(e[nt]);e[nt]=null,e[Do](n)}e[Ge](),this._current=this._stack.pop(),this._current[Do](e)&&e[cy](this._ids),e[or](this._builder)}onError(t){this._errorCode=t}};m(S4,"XFAParser");let a6=S4;const C4=class C4{constructor(t){try{this.root=new a6().parse(C4._createDocument(t));const e=new Qv(this.root);this.form=e.bind(),this.dataHandler=new Jv(this.root,e.getData()),this.form[Ue].template=this.form}catch(e){H(`XFA - an error occurred during parsing and binding: ${e}`)}}isValid(){return!!(this.root&&this.form)}_createPagesHelper(){const t=this.form[U$]();return new Promise((e,i)=>{const n=m(()=>{try{const a=t.next();a.done?e(a.value):setTimeout(n,0)}catch(a){i(a)}},"nextIteration");setTimeout(n,0)})}async _createPages(){try{this.pages=await this._createPagesHelper(),this.dims=this.pages.children.map(t=>{const{width:e,height:i}=t.attributes.style;return[0,0,parseInt(e),parseInt(i)]})}catch(t){H(`XFA - an error occurred during layout: ${t}`)}}getBoundingBox(t){return this.dims[t]}async getNumPages(){return this.pages||await this._createPages(),this.dims.length}setImages(t){this.form[Ue].images=t}setFonts(t){this.form[Ue].fontFinder=new fy(t);const e=[];for(let i of this.form[Ue].usedTypefaces)i=l9(i),this.form[Ue].fontFinder.find(i)||e.push(i);return e.length>0?e:null}appendFonts(t,e){this.form[Ue].fontFinder.add(t,e)}async getPages(){this.pages||await this._createPages();const t=this.pages;return this.pages=null,t}serializeData(t){return this.dataHandler.serialize(t)}static _createDocument(t){return t["/xdp:xdp"]?Object.values(t).join(""):t["xdp:xdp"]}static getRichTextAsHtml(t){if(!t||typeof t!="string")return null;try{let e=new a6(pb,!0).parse(t);if(!["body","xhtml"].includes(e[Se])){const r=pb.body({});r[ks](e),e=r}const i=e[Ut]();if(!i.success)return null;const{html:n}=i,{attributes:a}=n;return a&&(a.class&&(a.class=a.class.filter(r=>!r.startsWith("xfa"))),a.dir="auto"),{html:n,str:e[li]()}}catch(e){H(`XFA - an error occurred during parsing of rich text: ${e}`)}return null}};m(C4,"XFAFactory");let mb=C4;const JO=class JO{static createGlobals(t){return Promise.all([t.ensureCatalog("acroForm"),t.ensureDoc("xfaDatasets"),t.ensureCatalog("structTreeRoot"),t.ensureCatalog("baseUrl"),t.ensureCatalog("attachments"),t.ensureCatalog("globalColorSpaceCache")]).then(([e,i,n,a,r,o])=>({pdfManager:t,acroForm:e instanceof z?e:z.empty,xfaDatasets:i,structTreeRoot:n,baseUrl:a,attachments:r,globalColorSpaceCache:o}),e=>(H(`createGlobals: "${e}".`),null))}static async create(t,e,i,n,a,r,o,l){const c=a?await this._getPageIndex(t,e,i.pdfManager):null;return i.pdfManager.ensure(this,"_create",[t,e,i,n,a,r,o,c,l])}static _create(t,e,i,n,a=!1,r=null,o=null,l=null,c=null){const h=t.fetchIfRef(e);if(!(h instanceof z))return;let u=h.get("Subtype");if(u=u instanceof at?u.name:null,o&&!o.has(dU[u==null?void 0:u.toUpperCase()]))return null;const{acroForm:d,pdfManager:p}=i,g=e instanceof ft?e.toString():`annot_${n.createObjId()}`,b={xref:t,ref:e,dict:h,subtype:u,id:g,annotationGlobals:i,collectFields:a,orphanFields:r,needAppearances:!a&&d.get("NeedAppearances")===!0,pageIndex:l,evaluatorOptions:p.evaluatorOptions,pageRef:c};switch(u){case"Link":return new $A(b);case"Text":return new GA(b);case"Widget":let w=Yn({dict:h,key:"FT"});switch(w=w instanceof at?w.name:null,w){case"Tx":return new zA(b);case"Btn":return new _A(b);case"Ch":return new UA(b);case"Sig":return new o6(b)}return H(`Unimplemented widget field type "${w}", falling back to base field type.`),new Oo(b);case"Popup":return new gb(b);case"FreeText":return new Km(b);case"Line":return new VA(b);case"Square":return new WA(b);case"Circle":return new KA(b);case"PolyLine":return new l6(b);case"Polygon":return new c6(b);case"Caret":return new XA(b);case"Ink":return new tf(b);case"Highlight":return new Xm(b);case"Underline":return new YA(b);case"Squiggly":return new QA(b);case"StrikeOut":return new JA(b);case"Stamp":return new yc(b);case"FileAttachment":return new ZA(b);default:return a||H(u?`Unimplemented annotation type "${u}", falling back to base annotation.`:"Annotation is missing the required /Subtype."),new s1(b)}}static async _getPageIndex(t,e,i){try{const n=await t.fetchIfRefAsync(e);if(!(n instanceof z))return-1;const a=n.getRaw("P");if(a instanceof ft)try{return await i.ensureCatalog("getPageIndex",[a])}catch(o){ne(`_getPageIndex -- not a valid page reference: "${o}".`)}if(n.has("Kids"))return-1;const r=await i.ensureDoc("numPages");for(let o=0;oe/255)||t}m(Ri,"getPdfColorArray");function Ep(s,t){const e=s.getArray("QuadPoints");if(!fn(e,null)||e.length===0||e.length%8>0)return null;const i=new Float32Array(e.length);for(let n=0,a=e.length;nt[2]||wt[3]))return null;i.set([g,y,b,y,g,w,b,w],n)}return i}m(Ep,"getQuadPoints");function r6(s,t,e){const i=new Float32Array([1/0,1/0,-1/0,-1/0]);Te.axialAlignedBoundingBox(t,e,i);const[n,a,r,o]=i;if(n===r||a===o)return[1,0,0,1,s[0],s[1]];const l=(s[2]-s[0])/(r-n),c=(s[3]-s[1])/(o-a);return[l,0,0,c,s[0]-n*l,s[1]-a*c]}m(r6,"getTransformMatrix");const ZO=class ZO{constructor(t){const{annotationGlobals:e,dict:i,orphanFields:n,ref:a,subtype:r,xref:o}=t,l=n==null?void 0:n.get(a);l&&i.set("Parent",l),this.setTitle(i.get("T")),this.setContents(i.get("Contents")),this.setModificationDate(i.get("M")),this.setFlags(i.get("F")),this.setRectangle(i.getArray("Rect")),this.setColor(i.getArray("C")),this.setBorderStyle(i),this.setAppearance(i),this.setOptionalContent(i);const c=i.get("MK");this.setBorderAndBackgroundColors(c),this.setRotation(c,i),this.ref=t.ref instanceof ft?t.ref:null,this._streams=[],this.appearance&&this._streams.push(this.appearance);const h=!!(this.flags&ni.LOCKED),u=!!(this.flags&ni.LOCKEDCONTENTS);if(this.data={annotationType:dU[r==null?void 0:r.toUpperCase()],annotationFlags:this.flags,borderStyle:this.borderStyle,color:this.color,backgroundColor:this.backgroundColor,borderColor:this.borderColor,rotation:this.rotation,contentsObj:this._contents,hasAppearance:!!this.appearance,id:t.id,modificationDate:this.modificationDate,rect:this.rectangle,subtype:r,hasOwnCanvas:!1,noRotate:!!(this.flags&ni.NOROTATE),noHTML:h&&u,isEditable:!1,structParent:-1},e.structTreeRoot){let p=i.get("StructParent");this.data.structParent=p=Number.isInteger(p)&&p>=0?p:-1,e.structTreeRoot.addAnnotationIdToPage(t.pageRef,p)}if(t.collectFields){const p=i.get("Kids");if(Array.isArray(p)){const g=[];for(const b of p)b instanceof ft&&g.push(b.toString());g.length!==0&&(this.data.kidIds=g)}this.data.actions=n9(o,i,pU),this.data.fieldName=this._constructFieldName(i),this.data.pageIndex=t.pageIndex}const d=i.get("IT");d instanceof at&&(this.data.it=d.name),this._isOffscreenCanvasSupported=t.evaluatorOptions.isOffscreenCanvasSupported,this._fallbackFontDict=null,this._needAppearances=!1}_hasFlag(t,e){return!!(t&e)}_buildFlags(t,e){let{flags:i}=this;return t===void 0?e===void 0?void 0:e?i&-5:i&-3|ni.PRINT:t?(i|=ni.PRINT,e?i&-33|ni.HIDDEN:i&-3|ni.NOVIEW):(i&=-35,e?i&-5:i|ni.PRINT)}_isViewable(t){return!this._hasFlag(t,ni.INVISIBLE)&&!this._hasFlag(t,ni.NOVIEW)}_isPrintable(t){return this._hasFlag(t,ni.PRINT)&&!this._hasFlag(t,ni.HIDDEN)&&!this._hasFlag(t,ni.INVISIBLE)}mustBeViewed(t,e){var n;const i=(n=t==null?void 0:t.get(this.data.id))==null?void 0:n.noView;return i!==void 0?!i:this.viewable&&!this._hasFlag(this.flags,ni.HIDDEN)}mustBePrinted(t){var i;const e=(i=t==null?void 0:t.get(this.data.id))==null?void 0:i.noPrint;return e!==void 0?!e:this.printable}mustBeViewedWhenEditing(t,e=null){return t?!this.data.isEditable:!(e!=null&&e.has(this.data.id))}get viewable(){return this.data.quadPoints===null?!1:this.flags===0?!0:this._isViewable(this.flags)}get printable(){return this.data.quadPoints===null||this.flags===0?!1:this._isPrintable(this.flags)}_parseStringHelper(t){const e=typeof t=="string"?ce(t):"",i=e&&eF(e).dir==="rtl"?"rtl":"ltr";return{str:e,dir:i}}setDefaultAppearance(t){const{dict:e,annotationGlobals:i}=t,n=Yn({dict:e,key:"DA"})||i.acroForm.get("DA");this._defaultAppearance=typeof n=="string"?n:"",this.data.defaultAppearanceData=x8(this._defaultAppearance)}setTitle(t){this._title=this._parseStringHelper(t)}setContents(t){this._contents=this._parseStringHelper(t)}setModificationDate(t){this.modificationDate=typeof t=="string"?t:null}setFlags(t){this.flags=Number.isInteger(t)&&t>0?t:0,this.flags&ni.INVISIBLE&&this.constructor.name!=="Annotation"&&(this.flags^=ni.INVISIBLE)}hasFlag(t){return this._hasFlag(this.flags,t)}setRectangle(t){this.rectangle=Po(t,[0,0,0,0])}setColor(t){this.color=Fh(t)}setLineEndings(t){if(this.lineEndings=["None","None"],Array.isArray(t)&&t.length===2)for(let e=0;e<2;e++){const i=t[e];if(i instanceof at)switch(i.name){case"None":continue;case"Square":case"Circle":case"Diamond":case"OpenArrow":case"ClosedArrow":case"Butt":case"ROpenArrow":case"RClosedArrow":case"Slash":this.lineEndings[e]=i.name;continue}H(`Ignoring invalid lineEnding: ${i}`)}}setRotation(t,e){this.rotation=0;let i=t instanceof z?t.get("R")||0:e.get("Rotate")||0;Number.isInteger(i)&&i!==0&&(i%=360,i<0&&(i+=360),i%90===0&&(this.rotation=i))}setBorderAndBackgroundColors(t){t instanceof z?(this.borderColor=Fh(t.getArray("BC"),null),this.backgroundColor=Fh(t.getArray("BG"),null)):this.borderColor=this.backgroundColor=null}setBorderStyle(t){if(this.borderStyle=new LA,t instanceof z)if(t.has("BS")){const e=t.get("BS");if(e instanceof z){const i=e.get("Type");(!i||we(i,"Border"))&&(this.borderStyle.setWidth(e.get("W"),this.rectangle),this.borderStyle.setStyle(e.get("S")),this.borderStyle.setDashArray(e.getArray("D")))}}else if(t.has("Border")){const e=t.getArray("Border");Array.isArray(e)&&(e.length>=3?(this.borderStyle.setHorizontalCornerRadius(e[0]),this.borderStyle.setVerticalCornerRadius(e[1]),this.borderStyle.setWidth(e[2],this.rectangle),e.length===4&&this.borderStyle.setDashArray(e[3],!0)):e.length===0&&this.borderStyle.setWidth(0))}else this.borderStyle.setWidth(0)}setAppearance(t){this.appearance=null;const e=t.get("AP");if(!(e instanceof z))return;const i=e.get("N");if(i instanceof Qt){this.appearance=i;return}if(!(i instanceof z))return;const n=t.get("AS");if(!(n instanceof at)||!i.has(n.name))return;const a=i.get(n.name);a instanceof Qt&&(this.appearance=a)}setOptionalContent(t){this.oc=null;const e=t.get("OC");e instanceof at?H("setOptionalContent: Support for /Name-entry is not implemented."):e instanceof z&&(this.oc=e)}async loadResources(t,e){const i=await e.dict.getAsync("Resources");return i&&await wp.load(i,t,i.xref),i}async getOperatorList(t,e,i,n){const{hasOwnCanvas:a,id:r,rect:o}=this.data;let l=this.appearance;const c=!!(a&&i&Sn.DISPLAY);if(c&&(this.width===0||this.height===0))return this.data.hasOwnCanvas=!1,{opList:new dn,separateForm:!1,separateCanvas:!1};if(!l){if(!c)return{opList:new dn,separateForm:!1,separateCanvas:!1};l=new Fi(""),l.dict=new z}const h=l.dict,u=await this.loadResources(l7,l),d=Fg(h.getArray("BBox"),[0,0,1,1]),p=Hl(h.getArray("Matrix"),zr),g=r6(o,d,p),b=new dn;let w;return this.oc&&(w=await t.parseMarkedContentProps(this.oc,null)),w!==void 0&&b.addOp(B.beginMarkedContentProps,["OC",w]),b.addOp(B.beginAnnotation,[r,o,g,p,c]),await t.getOperatorList({stream:l,task:e,resources:u,operatorList:b,fallbackFontDict:this._fallbackFontDict}),b.addOp(B.endAnnotation,[]),w!==void 0&&b.addOp(B.endMarkedContent,[]),this.reset(),{opList:b,separateForm:!1,separateCanvas:c}}async save(t,e,i,n){return null}get overlaysTextContent(){return!1}get hasTextContent(){return!1}async extractTextContent(t,e,i){if(!this.appearance)return;const n=await this.loadResources(c7,this.appearance),a=[],r=[];let o=null;const l={desiredSize:Math.Infinity,ready:!0,enqueue(c,h){for(const u of c.items)u.str!==void 0&&(o||(o=u.transform.slice(-2)),r.push(u.str),u.hasEOL&&(a.push(r.join("").trimEnd()),r.length=0))}};if(await t.getTextContent({stream:this.appearance,task:e,resources:n,includeMarkedContent:!0,keepWhiteSpace:!0,sink:l,viewBox:i}),this.reset(),r.length&&a.push(r.join("").trimEnd()),a.length>1||a[0]){const c=this.appearance.dict,h=Fg(c.getArray("BBox"),null),u=Hl(c.getArray("Matrix"),null);this.data.textPosition=this._transformPoint(o,h,u),this.data.textContent=a}}_transformPoint(t,e,i){const{rect:n}=this.data;e||(e=[0,0,1,1]),i||(i=[1,0,0,1,0,0]);const a=r6(n,e,i);a[4]-=n[0],a[5]-=n[1];const r=t.slice();return Te.applyTransform(r,a),Te.applyTransform(r,i),r}getFieldObject(){return this.data.kidIds?{id:this.data.id,actions:this.data.actions,name:this.data.fieldName,strokeColor:this.data.borderColor,fillColor:this.data.backgroundColor,type:"",kidIds:this.data.kidIds,page:this.data.pageIndex,rotation:this.rotation}:null}reset(){for(const t of this._streams)t.reset()}_constructFieldName(t){if(!t.has("T")&&!t.has("Parent"))return H("Unknown field name, falling back to empty field name."),"";if(!t.has("Parent"))return ce(t.get("T"));const e=[];t.has("T")&&e.unshift(ce(t.get("T")));let i=t;const n=new is;for(t.objId&&n.put(t.objId);i.has("Parent")&&(i=i.get("Parent"),!(!(i instanceof z)||i.objId&&n.has(i.objId)));)i.objId&&n.put(i.objId),i.has("T")&&e.unshift(ce(i.get("T")));return e.join(".")}get width(){return this.data.rect[2]-this.data.rect[0]}get height(){return this.data.rect[3]-this.data.rect[1]}};m(ZO,"Annotation");let s1=ZO;const tN=class tN{constructor(){R(this,"width",1);R(this,"rawWidth",1);R(this,"style",m1.SOLID);R(this,"dashArray",[3]);R(this,"horizontalCornerRadius",0);R(this,"verticalCornerRadius",0)}setWidth(t,e=[0,0,0,0]){if(t instanceof at){this.width=0;return}if(typeof t=="number"){if(t>0){this.rawWidth=t;const i=(e[2]-e[0])/2,n=(e[3]-e[1])/2;i>0&&n>0&&(t>i||t>n)&&(H(`AnnotationBorderStyle.setWidth - ignoring width: ${t}`),t=1)}this.width=t}}setStyle(t){if(t instanceof at)switch(t.name){case"S":this.style=m1.SOLID;break;case"D":this.style=m1.DASHED;break;case"B":this.style=m1.BEVELED;break;case"I":this.style=m1.INSET;break;case"U":this.style=m1.UNDERLINE;break}}setDashArray(t,e=!1){if(Array.isArray(t)){let i=!0,n=!0;for(const a of t)if(+a>=0)a>0&&(n=!1);else{i=!1;break}t.length===0||i&&!n?(this.dashArray=t,e&&this.setStyle(at.get("D"))):this.width=0}else t&&(this.width=0)}setHorizontalCornerRadius(t){Number.isInteger(t)&&(this.horizontalCornerRadius=t)}setVerticalCornerRadius(t){Number.isInteger(t)&&(this.verticalCornerRadius=t)}};m(tN,"AnnotationBorderStyle");let LA=tN;const eN=class eN extends s1{constructor(t){super(t);const{dict:e}=t;if(e.has("IRT")){const n=e.getRaw("IRT");this.data.inReplyTo=n instanceof ft?n.toString():null;const a=e.get("RT");this.data.replyType=a instanceof at?a.name:a7.REPLY}let i=null;if(this.data.replyType===a7.GROUP){const n=e.get("IRT");this.setTitle(n.get("T")),this.data.titleObj=this._title,this.setContents(n.get("Contents")),this.data.contentsObj=this._contents,n.has("CreationDate")?(this.setCreationDate(n.get("CreationDate")),this.data.creationDate=this.creationDate):this.data.creationDate=null,n.has("M")?(this.setModificationDate(n.get("M")),this.data.modificationDate=this.modificationDate):this.data.modificationDate=null,i=n.getRaw("Popup"),n.has("C")?(this.setColor(n.getArray("C")),this.data.color=this.color):this.data.color=null}else this.data.titleObj=this._title,this.setCreationDate(e.get("CreationDate")),this.data.creationDate=this.creationDate,i=e.getRaw("Popup"),e.has("C")||(this.data.color=null);this.data.popupRef=i instanceof ft?i.toString():null,e.has("RC")&&(this.data.richText=mb.getRichTextAsHtml(e.get("RC")))}setCreationDate(t){this.creationDate=typeof t=="string"?t:null}_setDefaultAppearance({xref:t,extra:e,strokeColor:i,fillColor:n,blendMode:a,strokeAlpha:r,fillAlpha:o,pointsCallback:l}){const c=this.data.rect=[1/0,1/0,-1/0,-1/0],h=["q"];e&&h.push(e),i&&h.push(`${i[0]} ${i[1]} ${i[2]} RG`),n&&h.push(`${n[0]} ${n[1]} ${n[2]} rg`);const u=this.data.quadPoints||Float32Array.from([this.rectangle[0],this.rectangle[3],this.rectangle[2],this.rectangle[3],this.rectangle[0],this.rectangle[1],this.rectangle[2],this.rectangle[1]]);for(let k=0,q=u.length;ktypeof e=="string").map(e=>ce(e)):t instanceof at?ce(t.name):typeof t=="string"?ce(t):null}hasFieldFlag(t){return!!(this.data.fieldFlags&t)}_isViewable(t){return!0}mustBeViewed(t,e){return e?this.viewable:super.mustBeViewed(t,e)&&!this._hasFlag(this.flags,ni.NOVIEW)}getRotationMatrix(t){var i;let e=(i=t==null?void 0:t.get(this.data.id))==null?void 0:i.rotation;return e===void 0&&(e=this.rotation),e===0?zr:Rg(e,this.width,this.height)}getBorderAndBackgroundAppearances(t){var a;let e=(a=t==null?void 0:t.get(this.data.id))==null?void 0:a.rotation;if(e===void 0&&(e=this.rotation),!this.backgroundColor&&!this.borderColor)return"";const i=e===0||e===180?`0 0 ${this.width} ${this.height} re`:`0 0 ${this.height} ${this.width} re`;let n="";if(this.backgroundColor&&(n=`${Ur(this.backgroundColor,!0)} ${i} f `),this.borderColor){const r=this.borderStyle.width||1;n+=`${r} w ${Ur(this.borderColor,!1)} ${i} S `}return n}async getOperatorList(t,e,i,n){if(i&Sn.ANNOTATIONS_FORMS&&!(this instanceof o6)&&!this.data.noHTML&&!this.data.hasOwnCanvas)return{opList:new dn,separateForm:!0,separateCanvas:!1};if(!this._hasText)return super.getOperatorList(t,e,i,n);const a=await this._getAppearance(t,e,i,n);if(this.appearance&&a===null)return super.getOperatorList(t,e,i,n);const r=new dn;if(!this._defaultAppearance||a===null)return{opList:r,separateForm:!1,separateCanvas:!1};const o=!!(this.data.hasOwnCanvas&&i&Sn.DISPLAY),l=[1,0,0,1,0,0],c=[0,0,this.width,this.height],h=r6(this.data.rect,c,l);let u;this.oc&&(u=await t.parseMarkedContentProps(this.oc,null)),u!==void 0&&r.addOp(B.beginMarkedContentProps,["OC",u]),r.addOp(B.beginAnnotation,[this.data.id,this.data.rect,h,this.getRotationMatrix(n),o]);const d=new Fi(a);return await t.getOperatorList({stream:d,task:e,resources:this._fieldResources.mergedResources,operatorList:r}),r.addOp(B.endAnnotation,[]),u!==void 0&&r.addOp(B.endMarkedContent,[]),{opList:r,separateForm:!1,separateCanvas:o}}_getMKDict(t){const e=new z(null);return t&&e.set("R",t),e.setIfArray("BC",Ri(this.borderColor)),e.setIfArray("BG",Ri(this.backgroundColor)),e.size>0?e:null}amendSavedDict(t,e){}setValue(t,e,i,n){const{dict:a,ref:r}=SU(t,this.ref,i);if(!a)t.set("V",e);else if(!n.has(r)){const o=a.clone();return o.set("V",e),n.put(r,{data:o}),o}return null}async save(t,e,i,n){const a=i==null?void 0:i.get(this.data.id),r=this._buildFlags(a==null?void 0:a.noView,a==null?void 0:a.noPrint);let o=a==null?void 0:a.value,l=a==null?void 0:a.rotation;if(o===this.data.fieldValue||o===void 0){if(!this._hasValueFromXFA&&l===void 0&&r===void 0)return;o||(o=this.data.fieldValue)}if(l===void 0&&!this._hasValueFromXFA&&Array.isArray(o)&&Array.isArray(this.data.fieldValue)&&hp(o,this.data.fieldValue)&&r===void 0)return;l===void 0&&(l=this.rotation);let c=null;if(!this._needAppearances&&(c=await this._getAppearance(t,e,Sn.SAVE,i),c===null&&r===void 0))return;let h=!1;c!=null&&c.needAppearances&&(h=!0,c=null);const{xref:u}=t,d=u.fetchIfRef(this.ref);if(!(d instanceof z))return;const p=new z(u);for(const[y,j]of d.getRawEntries())y!=="AP"&&p.set(y,j);if(r!==void 0&&(p.set("F",r),c===null&&!h)){const y=d.getRaw("AP");y&&p.set("AP",y)}const g={path:this.data.fieldName,value:o},b=this.setValue(p,Array.isArray(o)?o.map(Ii):Ii(o),u,n);this.amendSavedDict(i,b||p);const w=this._getMKDict(l);if(w&&p.set("MK",w),n.put(this.ref,{data:p,xfa:g,needAppearances:h}),c!==null){const y=u.getNewTemporaryRef(),j=new z(u);p.set("AP",j),j.set("N",y);const k=this._getSaveFieldResources(u),q=new Fi(c),A=q.dict=new z(u);A.setIfName("Subtype","Form"),A.set("Resources",k);const I=l%180===0?[0,0,this.width,this.height]:[0,0,this.height,this.width];A.set("BBox",I);const C=this.getRotationMatrix(i);C!==zr&&A.set("Matrix",C),n.put(y,{data:q,xfa:null,needAppearances:!1})}p.set("M",`D:${Jl()}`)}async _getAppearance(t,e,i,n){var M;if(this.data.password)return null;const a=n==null?void 0:n.get(this.data.id);let r,o;if(a&&(r=a.formattedValue||a.value,o=a.rotation),o===void 0&&r===void 0&&!this._needAppearances&&(!this._hasValueFromXFA||this.appearance))return null;const l=this.getBorderAndBackgroundAppearances(n);if(r===void 0&&(r=this.data.fieldValue,!r))return`/Tx BMC q ${l}Q EMC`;if(Array.isArray(r)&&r.length===1&&(r=r[0]),ss(typeof r=="string","Expected `value` to be a string."),r=r.trimEnd(),this.data.combo&&(r=((M=this.data.options.find(({exportValue:_})=>r===_))==null?void 0:M.displayValue)||r),r==="")return`/Tx BMC q ${l}Q EMC`;o===void 0&&(o=this.rotation);let c=-1,h;this.data.multiLine?(h=r.split(/\r\n?|\n/).map(_=>_.normalize("NFC")),c=h.length):h=[r.replace(/\r\n?|\n/,"").normalize("NFC")];const u=1,d=2;let{width:p,height:g}=this;(o===90||o===270)&&([p,g]=[g,p]),this._defaultAppearance||(this.data.defaultAppearanceData=x8(this._defaultAppearance="/Helvetica 0 Tf 0 g"));let b=await wg._getFontData(t,e,this.data.defaultAppearanceData,this._fieldResources.mergedResources),w,y,j;const k=[];let q=!1;for(const _ of h){const G=b.encodeString(_);G.length>1&&(q=!0),k.push(G.join(""))}if(q&&i&Sn.SAVE)return{needAppearances:!0};if(q&&this._isOffscreenCanvasSupported){const _=this.data.comb?"monospace":"sans-serif",G=new Kg(t.xref,_),K=G.createFontResources(h.join("")),it=K.getRaw("Font");if(this._fieldResources.mergedResources.has("Font")){const rt=this._fieldResources.mergedResources.get("Font");for(const[Y,dt]of it.getRawEntries())rt.set(Y,dt)}else this._fieldResources.mergedResources.set("Font",it);const $=G.fontName.name;b=await wg._getFontData(t,e,{fontName:$,fontSize:0},K);for(let rt=0,Y=k.length;rt2)return`/Tx BMC q ${l}BT `+w+` 1 0 0 1 ${me(d)} ${me(F)} Tm (${Yu(k[0])}) Tj ET Q EMC`;const E={shift:0},D=this._renderText(k[0],b,y,p,C,E,d,F);return`/Tx BMC q ${l}BT `+w+` 1 0 0 1 0 0 Tm ${D} ET Q EMC`}static async _getFontData(t,e,i,n){const a=new dn,r={font:null,clone(){return this}},{fontName:o,fontSize:l}=i;return await t.handleSetFont(n,[o&&at.get(o),l],null,a,e,r,null),r.font}_getTextWidth(t,e){return Math.sumPrecise(e.charsToGlyphs(t).map(i=>i.width))/1e3}_computeFontSize(t,e,i,n,a){let{fontSize:r}=this.data.defaultAppearanceData,o=(r||12)*zl,l=Math.round(t/o);if(!r){const c=m(d=>Math.floor(d*100)/100,"roundWithTwoDigits");if(a===-1){const d=this._getTextWidth(i,n);r=c(Math.min(t/zl,e/d)),l=1}else{const d=i.split(/\r\n?|\n/),p=[];for(const b of d){const w=n.encodeString(b).join(""),y=n.charsToGlyphs(w),j=n.getCharPositions(w);p.push({line:w,glyphs:y,positions:j})}const g=m(b=>{let w=0;for(const y of p){const j=this._splitLine(null,n,b,e,y);if(w+=j.length*b,w>t)return!0}return!1},"isTooBig");for(l=Math.max(l,a);;){if(o=t/l,r=c(o/zl),g(r)){l++;continue}break}}const{fontName:h,fontColor:u}=this.data.defaultAppearanceData;this._defaultAppearance=A$({fontSize:r,fontName:h,fontColor:u})}return[this._defaultAppearance,r,t/l]}_renderText(t,e,i,n,a,r,o,l){let c;if(a===1){const u=this._getTextWidth(t,e)*i;c=(n-u)/2}else if(a===2){const u=this._getTextWidth(t,e)*i;c=n-u-o}else c=o;const h=me(c-r.shift);return r.shift=c,l=me(l),`${h} ${l} Td (${Yu(t)}) Tj`}_getSaveFieldResources(t){var r;const{localResources:e,appearanceResources:i,acroFormResources:n}=this._fieldResources,a=(r=this.data.defaultAppearanceData)==null?void 0:r.fontName;if(!a)return e||z.empty;for(const o of[e,i])if(o instanceof z){const l=o.get("Font");if(l instanceof z&&l.has(a))return o}if(n instanceof z){const o=n.get("Font");if(o instanceof z&&o.has(a)){const l=new z(t);l.set(a,o.getRaw(a));const c=new z(t);return c.set("Font",l),z.merge({xref:t,dictArray:[c,e],mergeSubDicts:!0})}}return e||z.empty}getFieldObject(){return null}};m(wg,"WidgetAnnotation");let Oo=wg;const sN=class sN extends Oo{constructor(t){var c,h,u,d,p,g;super(t);const{dict:e}=t;e.has("PMD")&&(this.flags|=ni.HIDDEN,this.data.hidden=!0,H("Barcodes are not supported")),this.data.hasOwnCanvas=this.data.readOnly&&!this.data.noHTML,this._hasText=!0,typeof this.data.fieldValue!="string"&&(this.data.fieldValue="");let i=Yn({dict:e,key:"Q"});(!Number.isInteger(i)||i<0||i>2)&&(i=null),this.data.textAlignment=i;let n=Yn({dict:e,key:"MaxLen"});(!Number.isInteger(n)||n<0)&&(n=0),this.data.maxLen=n,this.data.multiLine=this.hasFieldFlag(Hr.MULTILINE),this.data.comb=this.hasFieldFlag(Hr.COMB)&&!this.data.multiLine&&!this.data.password&&!this.hasFieldFlag(Hr.FILESELECT)&&this.data.maxLen!==0,this.data.doNotScroll=this.hasFieldFlag(Hr.DONOTSCROLL);const{data:{actions:a}}=this;if(!a)return;const r=/^AF(Date|Time)_(?:Keystroke|Format)(?:Ex)?\(['"]?([^'"]+)['"]?\);$/;let o=!1;(((c=a.Format)==null?void 0:c.length)===1&&((h=a.Keystroke)==null?void 0:h.length)===1&&r.test(a.Format[0])&&r.test(a.Keystroke[0])||((u=a.Format)==null?void 0:u.length)===0&&((d=a.Keystroke)==null?void 0:d.length)===1&&r.test(a.Keystroke[0])||((p=a.Keystroke)==null?void 0:p.length)===0&&((g=a.Format)==null?void 0:g.length)===1&&r.test(a.Format[0]))&&(o=!0);const l=[];a.Format&&l.push(...a.Format),a.Keystroke&&l.push(...a.Keystroke),o&&(delete a.Keystroke,a.Format=l);for(const b of l){const w=b.match(r);if(!w)continue;const y=w[1]==="Date";let j=w[2];const k=parseInt(j,10);if(!isNaN(k)&&Math.floor(Math.log10(k))+1===w[2].length&&(j=(y?IQ:TQ)[k]??j),this.data.datetimeFormat=j,!o)break;if(y){/HH|MM|ss|h/.test(j)?(this.data.datetimeType="datetime-local",this.data.timeStep=/ss/.test(j)?1:60):this.data.datetimeType="date";break}this.data.datetimeType="time",this.data.timeStep=/ss/.test(j)?1:60;break}}get hasTextContent(){return!!this.appearance&&!this._needAppearances}_getCombAppearance(t,e,i,n,a,r,o,l,c,h,u){const d=a/this.data.maxLen,p=this.getBorderAndBackgroundAppearances(u),g=[],b=e.getCharPositions(i);for(const[y,j]of b)g.push(`(${Yu(i.substring(y,j))}) Tj`);const w=g.join(` ${me(d)} 0 Td `);return`/Tx BMC q ${p}BT `+t+` 1 0 0 1 ${me(o)} ${me(l+c)} Tm ${w} ET Q EMC`}_getMultilineAppearance(t,e,i,n,a,r,o,l,c,h,u,d){const p=[],g=a-2*l,b={shift:0};for(let j=0,k=e.length;jn?(c.push(t.substring(p,y)),p=y,g=q,h=-1,d=-1):(g+=q,h=y,u=j,d=b):g+q>n?h!==-1?(c.push(t.substring(p,u)),p=u,b=d+1,h=-1,g=0):(c.push(t.substring(p,y)),p=y,g=q):g+=q}return pl?`\\${l}`:"\\s+");new RegExp(`^\\s*${r}\\s*$`).test(this.data.fieldValue)&&(this.data.textContent=this.data.fieldValue.split(` +`))}getFieldObject(){return{id:this.data.id,value:this.data.fieldValue,defaultValue:this.data.defaultFieldValue||"",multiline:this.data.multiLine,password:this.data.password,charLimit:this.data.maxLen,comb:this.data.comb,editable:!this.data.readOnly,hidden:this.data.hidden,name:this.data.fieldName,rect:this.data.rect,actions:this.data.actions,page:this.data.pageIndex,strokeColor:this.data.borderColor,fillColor:this.data.backgroundColor,rotation:this.rotation,datetimeFormat:this.data.datetimeFormat,hasDatetimeHTML:!!this.data.datetimeType,type:"text"}}};m(sN,"TextWidgetAnnotation");let zA=sN;const iN=class iN extends Oo{constructor(t){super(t),this.checkedAppearance=null,this.uncheckedAppearance=null;const e=this.hasFieldFlag(Hr.RADIO),i=this.hasFieldFlag(Hr.PUSHBUTTON);this.data.checkBox=!e&&!i,this.data.radioButton=e&&!i,this.data.pushButton=i,this.data.isTooltipOnly=!1,this.data.checkBox?this._processCheckBox(t):this.data.radioButton?this._processRadioButton(t):this.data.pushButton?(this.data.hasOwnCanvas=!0,this.data.noHTML=!1,this._processPushButton(t)):H("Invalid field flags for button widget annotation")}async getOperatorList(t,e,i,n){if(this.data.pushButton)return super.getOperatorList(t,e,i,!1,n);let a=null,r=null;if(n){const l=n.get(this.data.id);a=l?l.value:null,r=l?l.rotation:null}if(a===null&&this.appearance)return super.getOperatorList(t,e,i,n);a==null&&(a=this.data.checkBox?this.data.fieldValue===this.data.exportValue:this.data.fieldValue===this.data.buttonValue);const o=a?this.checkedAppearance:this.uncheckedAppearance;if(o){const l=this.appearance,c=Hl(o.dict.getArray("Matrix"),zr);r&&o.dict.set("Matrix",this.getRotationMatrix(n)),this.appearance=o;const h=super.getOperatorList(t,e,i,n);return this.appearance=l,o.dict.set("Matrix",c),h}return{opList:new dn,separateForm:!1,separateCanvas:!1}}async save(t,e,i,n){if(this.data.checkBox){this._saveCheckbox(t,e,i,n);return}this.data.radioButton&&this._saveRadioButton(t,e,i,n)}async _saveCheckbox(t,e,i,n){if(!i)return;const a=i.get(this.data.id),r=this._buildFlags(a==null?void 0:a.noView,a==null?void 0:a.noPrint);let o=a==null?void 0:a.rotation,l=a==null?void 0:a.value;if(o===void 0&&r===void 0&&(l===void 0||this.data.fieldValue===this.data.exportValue===l))return;let c=t.xref.fetchIfRef(this.ref);if(!(c instanceof z))return;c=c.clone(),o===void 0&&(o=this.rotation),l===void 0&&(l=this.data.fieldValue===this.data.exportValue);const h={path:this.data.fieldName,value:l?this.data.exportValue:""},u=at.get(l?this.data.exportValue:"Off");this.setValue(c,u,t.xref,n),c.set("AS",u),c.set("M",`D:${Jl()}`),r!==void 0&&c.set("F",r);const d=this._getMKDict(o);d&&c.set("MK",d),n.put(this.ref,{data:c,xfa:h,needAppearances:!1})}async _saveRadioButton(t,e,i,n){if(!i)return;const a=i.get(this.data.id),r=this._buildFlags(a==null?void 0:a.noView,a==null?void 0:a.noPrint);let o=a==null?void 0:a.rotation,l=a==null?void 0:a.value;if(o===void 0&&r===void 0&&(l===void 0||this.data.fieldValue===this.data.buttonValue===l))return;let c=t.xref.fetchIfRef(this.ref);if(!(c instanceof z))return;c=c.clone(),l===void 0&&(l=this.data.fieldValue===this.data.buttonValue),o===void 0&&(o=this.rotation);const h={path:this.data.fieldName,value:l?this.data.buttonValue:""},u=at.get(l?this.data.buttonValue:"Off");l&&this.setValue(c,u,t.xref,n),c.set("AS",u),c.set("M",`D:${Jl()}`),r!==void 0&&c.set("F",r);const d=this._getMKDict(o);d&&c.set("MK",d),n.put(this.ref,{data:c,xfa:h,needAppearances:!1})}_getDefaultCheckedAppearance(t,e){const{width:i,height:n}=this,a=[0,0,i,n],r=Math.min(i,n)*.8;let o,l;e==="check"?(o={width:.755*r,height:.705*r},l="3"):e==="disc"?(o={width:.791*r,height:.705*r},l="l"):oe(`_getDefaultCheckedAppearance - unsupported type: ${e}`);const c=me((i-o.width)/2),h=me((n-o.height)/2),u=`q BT /PdfJsZaDb ${r} Tf 0 g ${c} ${h} Td (${l}) Tj ET Q`,d=new z(t.xref);d.set("FormType",1),d.setIfName("Subtype","Form"),d.setIfName("Type","XObject"),d.set("BBox",a),d.set("Matrix",[1,0,0,1,0,0]),d.set("Length",u.length);const p=new z(t.xref),g=new z(t.xref);g.set("PdfJsZaDb",this.fallbackFontDict),p.set("Font",g),d.set("Resources",p),this.checkedAppearance=new Fi(u),this.checkedAppearance.dict=d,this._streams.push(this.checkedAppearance)}_processCheckBox(t){const e=t.dict.get("AP");if(!(e instanceof z))return;const i=e.get("N");if(!(i instanceof z))return;const n=this._decodeFormValue(t.dict.get("AS"));typeof n=="string"&&(this.data.fieldValue=n);const a=this.data.fieldValue!==null&&this.data.fieldValue!=="Off"?this.data.fieldValue:"Yes",r=this._decodeFormValue([...i.getKeys()]);if(r.length===0)r.push("Off",a);else if(r.length===1)r[0]==="Off"?r.push(a):r.unshift("Off");else if(r.includes(a))r.length=0,r.push("Off",a);else{const c=r.find(h=>h!=="Off");r.length=0,r.push("Off",c)}r.includes(this.data.fieldValue)||(this.data.fieldValue="Off"),this.data.exportValue=r[1];const o=i.get(this.data.exportValue);this.checkedAppearance=o instanceof Qt?o:null;const l=i.get("Off");this.uncheckedAppearance=l instanceof Qt?l:null,this.checkedAppearance?this._streams.push(this.checkedAppearance):this._getDefaultCheckedAppearance(t,"check"),this.uncheckedAppearance&&this._streams.push(this.uncheckedAppearance),this._fallbackFontDict=this.fallbackFontDict,this.data.defaultFieldValue===null&&(this.data.defaultFieldValue="Off")}_processRadioButton(t){this.data.buttonValue=null;const e=t.dict.get("Parent");if(e instanceof z){this.parent=t.dict.getRaw("Parent");const o=e.get("V");o instanceof at&&(this.data.fieldValue=this._decodeFormValue(o))}const i=t.dict.get("AP");if(!(i instanceof z))return;const n=i.get("N");if(!(n instanceof z))return;for(const o of n.getKeys())if(o!=="Off"){this.data.buttonValue=this._decodeFormValue(o);break}const a=n.get(this.data.buttonValue);this.checkedAppearance=a instanceof Qt?a:null;const r=n.get("Off");this.uncheckedAppearance=r instanceof Qt?r:null,this.checkedAppearance?this._streams.push(this.checkedAppearance):this._getDefaultCheckedAppearance(t,"disc"),this.uncheckedAppearance&&this._streams.push(this.uncheckedAppearance),this._fallbackFontDict=this.fallbackFontDict,this.data.defaultFieldValue===null&&(this.data.defaultFieldValue="Off")}_processPushButton(t){const{dict:e,annotationGlobals:i}=t;if(!e.has("A")&&!e.has("AA")&&!this.data.alternativeText){H("Push buttons without action dictionaries are not supported");return}this.data.isTooltipOnly=!e.has("A")&&!e.has("AA"),Qg.parseDestDictionary({destDict:e,resultObj:this.data,docBaseUrl:i.baseUrl,docAttachments:i.attachments})}getFieldObject(){let t="button",e;return this.data.checkBox?(t="checkbox",e=this.data.exportValue):this.data.radioButton&&(t="radiobutton",e=this.data.buttonValue),{id:this.data.id,value:this.data.fieldValue||"Off",defaultValue:this.data.defaultFieldValue,exportValues:e,editable:!this.data.readOnly,name:this.data.fieldName,rect:this.data.rect,hidden:this.data.hidden,actions:this.data.actions,page:this.data.pageIndex,strokeColor:this.data.borderColor,fillColor:this.data.backgroundColor,rotation:this.rotation,type:t}}get fallbackFontDict(){const t=new z;return t.setIfName("BaseFont","ZapfDingbats"),t.setIfName("Type","FallbackType"),t.setIfName("Subtype","FallbackType"),t.setIfName("Encoding","ZapfDingbatsEncoding"),mt(this,"fallbackFontDict",t)}};m(iN,"ButtonWidgetAnnotation");let _A=iN;const nN=class nN extends Oo{constructor(t){var a;super(t);const{dict:e,xref:i}=t;this.indices=e.getArray("I"),this.hasIndices=Array.isArray(this.indices)&&this.indices.length>0,this.data.options=[];const n=Yn({dict:e,key:"Opt"});if(Array.isArray(n))for(let r=0,o=n.length;r=0&&o0&&(this.data.options=this.data.fieldValue.map(r=>({exportValue:r,displayValue:r}))),this.data.combo=this.hasFieldFlag(Hr.COMBO),this.data.multiSelect=this.hasFieldFlag(Hr.MULTISELECT),this._hasText=!0}getFieldObject(){const t=this.data.combo?"combobox":"listbox",e=this.data.fieldValue.length>0?this.data.fieldValue[0]:null;return{id:this.data.id,value:e,defaultValue:this.data.defaultFieldValue,editable:!this.data.readOnly,name:this.data.fieldName,rect:this.data.rect,numItems:this.data.fieldValue.length,multipleSelection:this.data.multiSelect,hidden:this.data.hidden,actions:this.data.actions,items:this.data.options,page:this.data.pageIndex,strokeColor:this.data.borderColor,fillColor:this.data.backgroundColor,rotation:this.rotation,type:t}}amendSavedDict(t,e){var r;if(!this.hasIndices)return;let i=(r=t==null?void 0:t.get(this.data.id))==null?void 0:r.value;Array.isArray(i)||(i=[i]);const n=[],{options:a}=this.data;for(let o=0,l=0,c=a.length;oE&&(E=_,D=M)}[b,w]=this._computeFontSize(F,h-2*c,D,g,-1)}const y=w*zl,j=(y-w)/2,k=Math.floor(u/y);let q=0;if(p.length>0){const F=Math.min(...p),E=Math.max(...p);q=Math.max(0,E-k+1),q>F&&(q=F)}const A=Math.min(q+k+1,d),I=["/Tx BMC q",`1 1 ${h} ${u} re W n`];if(p.length){I.push("0.600006 0.756866 0.854904 rg");for(const F of p)q<=F&&Fu.trimEnd());const{coords:l,bbox:c,matrix:h}=Kg.getFirstPositionInfo(this.rectangle,this.rotation,o);this.data.textPosition=this._transformPoint(l,c,h)}if(this._isOffscreenCanvasSupported){const l=t.dict.get("CA"),c=new Kg(n,"sans-serif");this.appearance=c.createAppearance(this._contents.str,this.rectangle,this.rotation,o,r,l),this._streams.push(this.appearance)}else H("FreeTextAnnotation: OffscreenCanvas is not supported, annotation may not render correctly.")}}get hasTextContent(){return this._hasAppearance}static createNewDict(t,e,{apRef:i,ap:n}){const{color:a,date:r,fontSize:o,oldAnnotation:l,rect:c,rotation:h,user:u,value:d}=t,p=l||new z(e);p.setIfNotExists("Type",at.get("Annot")),p.setIfNotExists("Subtype",at.get("FreeText")),p.set(l?"M":"CreationDate",`D:${Jl(r)}`),l&&p.delete("RC"),p.setIfArray("Rect",c);const g=`/Helv ${o} Tf ${Ur(a,!0)}`;if(p.set("DA",g),p.setIfDefined("Contents",Ii(d)),p.setIfNotExists("F",4),p.setIfNotExists("Border",[0,0,0]),p.setIfNumber("Rotate",h),p.setIfDefined("T",Ii(u)),i||n){const b=new z(e);p.set("AP",b),b.set("N",i||n)}return p}static async createNewAppearanceStream(t,e,i){const{baseFontRef:n,evaluator:a,task:r}=i,{color:o,fontSize:l,rect:c,rotation:h,value:u}=t;if(!o)return null;const d=new z(e),p=new z(e);if(n)p.set("Helv",n);else{const Dt=new z(e);Dt.setIfName("BaseFont","Helvetica"),Dt.setIfName("Type","Font"),Dt.setIfName("Subtype","Type1"),Dt.setIfName("Encoding","WinAnsiEncoding"),p.set("Helv",Dt)}d.set("Font",p);const g=await Oo._getFontData(a,r,{fontName:"Helv",fontSize:l},d),[b,w,y,j]=c;let k=y-b,q=j-w;h%180!==0&&([k,q]=[q,k]);const A=u.split(` +`),I=l/1e3;let C=-1/0;const F=[];for(let Dt of A){const _t=g.encodeString(Dt);if(_t.length>1)return null;Dt=_t.join(""),F.push(Dt);let U=0;const P=g.charsToGlyphs(Dt);for(const J of P)U+=J.width*I;C=Math.max(C,U)}let E=1;C>k&&(E=k/C);let D=1;const M=zl*l,_=(zl-t3)*l,G=M*A.length;G>q&&(D=q/G);const K=Math.min(E,D),it=l*K;let $,V,rt;switch(h){case 0:rt=[1,0,0,1],V=[c[0],c[1],k,q],$=[c[0],c[3]-_];break;case 90:rt=[0,1,-1,0],V=[c[1],-c[2],k,q],$=[c[1],-c[0]-_];break;case 180:rt=[-1,0,0,-1],V=[-c[2],-c[3],k,q],$=[-c[2],-c[1]-_];break;case 270:rt=[0,-1,1,0],V=[-c[3],c[0],k,q],$=[-c[3],c[2]-_];break}const Y=["q",`${rt.join(" ")} 0 0 cm`,`${V.join(" ")} re W n`,"BT",`${Ur(o,!0)}`,`0 Tc /Helv ${me(it)} Tf`];Y.push(`${$.join(" ")} Td (${Yu(F[0])}) Tj`);const dt=me(M);for(let Dt=1,_t=F.length;Dt<_t;Dt++){const U=F[Dt];Y.push(`0 -${dt} Td (${Yu(U)}) Tj`)}Y.push("ET","Q");const et=Y.join(` +`),Ct=new z(e);Ct.set("FormType",1),Ct.setIfName("Subtype","Form"),Ct.setIfName("Type","XObject"),Ct.set("BBox",c),Ct.set("Resources",d),Ct.set("Matrix",[1,0,0,1,-c[0],-c[1]]);const Tt=new Fi(et);return Tt.dict=Ct,Tt}};m(cN,"FreeTextAnnotation");let Km=cN;const hN=class hN extends mn{constructor(t){super(t);const{dict:e,xref:i}=t;this.data.hasOwnCanvas=this.data.noRotate,this.data.noHTML=!1;const n=Fg(e.getArray("L"),[0,0,0,0]);if(this.data.lineCoordinates=Te.normalizeRect(n),this.setLineEndings(e.getArray("LE")),this.data.lineEndings=this.lineEndings,!this.appearance){const a=Ri(this.color,[0,0,0]),r=e.get("CA"),o=Fh(e.getArray("IC"),null),l=Ri(o),c=l?r:null,h=this.borderStyle.width||1,u=2*h,d=[this.data.lineCoordinates[0]-u,this.data.lineCoordinates[1]-u,this.data.lineCoordinates[2]+u,this.data.lineCoordinates[3]+u];Te.intersect(this.rectangle,d)||(this.rectangle=d),this._setDefaultAppearance({xref:i,extra:`${h} w`,strokeColor:a,fillColor:l,strokeAlpha:r,fillAlpha:c,pointsCallback:m((p,g)=>(p.push(`${n[0]} ${n[1]} m`,`${n[2]} ${n[3]} l`,"S"),[g[0]-h,g[7]-h,g[2]+h,g[3]+h]),"pointsCallback")})}}};m(hN,"LineAnnotation");let VA=hN;const fN=class fN extends mn{constructor(t){super(t);const{dict:e,xref:i}=t;if(this.data.hasOwnCanvas=this.data.noRotate,this.data.noHTML=!1,!this.appearance){const n=Ri(this.color,[0,0,0]),a=e.get("CA"),r=Fh(e.getArray("IC"),null),o=Ri(r),l=o?a:null;if(this.borderStyle.width===0&&!o)return;this._setDefaultAppearance({xref:i,extra:`${this.borderStyle.width} w`,strokeColor:n,fillColor:o,strokeAlpha:a,fillAlpha:l,pointsCallback:m((c,h)=>{const u=h[4]+this.borderStyle.width/2,d=h[5]+this.borderStyle.width/2,p=h[6]-h[4]-this.borderStyle.width,g=h[3]-h[7]-this.borderStyle.width;return c.push(`${u} ${d} ${p} ${g} re`),o?c.push("B"):c.push("S"),[h[0],h[7],h[2],h[3]]},"pointsCallback")})}}};m(fN,"SquareAnnotation");let WA=fN;const uN=class uN extends mn{constructor(t){super(t);const{dict:e,xref:i}=t;if(!this.appearance){const n=Ri(this.color,[0,0,0]),a=e.get("CA"),r=Fh(e.getArray("IC"),null),o=Ri(r),l=o?a:null;if(this.borderStyle.width===0&&!o)return;const c=4/3*Math.tan(Math.PI/8);this._setDefaultAppearance({xref:i,extra:`${this.borderStyle.width} w`,strokeColor:n,fillColor:o,strokeAlpha:a,fillAlpha:l,pointsCallback:m((h,u)=>{const d=u[0]+this.borderStyle.width/2,p=u[1]-this.borderStyle.width/2,g=u[6]-this.borderStyle.width/2,b=u[7]+this.borderStyle.width/2,w=d+(g-d)/2,y=p+(b-p)/2,j=(g-d)/2*c,k=(b-p)/2*c;return h.push(`${w} ${b} m`,`${w+j} ${b} ${g} ${y+k} ${g} ${y} c`,`${g} ${y-k} ${w+j} ${p} ${w} ${p} c`,`${w-j} ${p} ${d} ${y-k} ${d} ${y} c`,`${d} ${y+k} ${w-j} ${b} ${w} ${b} c`,"h"),o?h.push("B"):h.push("S"),[u[0],u[7],u[2],u[3]]},"pointsCallback")})}}};m(uN,"CircleAnnotation");let KA=uN;const dN=class dN extends mn{constructor(t){super(t);const{dict:e,xref:i}=t;this.data.hasOwnCanvas=this.data.noRotate,this.data.noHTML=!1,this.data.vertices=null,this instanceof c6||(this.setLineEndings(e.getArray("LE")),this.data.lineEndings=this.lineEndings);const n=e.getArray("Vertices");if(!fn(n,null))return;const a=this.data.vertices=Float32Array.from(n);if(!this.appearance){const r=Ri(this.color,[0,0,0]),o=e.get("CA");let l=Fh(e.getArray("IC"),null);l&&(l=Ri(l));let c;l?this.color?c=l.every((p,g)=>p===r[g])?"f":"B":c="f":c="S";const h=this.borderStyle.width||1,u=2*h,d=[1/0,1/0,-1/0,-1/0];for(let p=0,g=a.length;p{for(let b=0,w=a.length;b{for(const d of this.data.inkLists){for(let p=0,g=d.length;p0){const w=new z(e);b.set("BS",w),w.set("W",p)}if(b.setIfArray("C",Ri(r)),b.setIfNumber("CA",l),n||i){const w=new z(e);b.set("AP",w),w.set("N",i||n)}return b}static async createNewAppearanceStream(t,e,i){if(t.outlines)return this.createNewAppearanceStreamForHighlight(t,e,i);const{color:n,rect:a,paths:r,thickness:o,opacity:l}=t;if(!n)return null;const c=[`${o} w 1 J 1 j`,`${Ur(n,!1)}`];l!==1&&c.push("/R0 gs");for(const p of r.lines){c.push(`${me(p[4])} ${me(p[5])} m`);for(let g=6,b=p.length;g(l.push(`${c[0]} ${c[1]} m`,`${c[2]} ${c[3]} l`,`${c[6]} ${c[7]} l`,`${c[4]} ${c[5]} l`,"f"),[c[0],c[7],c[2],c[3]]),"pointsCallback")})}}else this.data.popupRef=null}get overlaysTextContent(){return!0}static createNewDict(t,e,{apRef:i,ap:n}){const{color:a,date:r,oldAnnotation:o,opacity:l,rect:c,rotation:h,user:u,quadPoints:d}=t,p=o||new z(e);if(p.setIfNotExists("Type",at.get("Annot")),p.setIfNotExists("Subtype",at.get("Highlight")),p.set(o?"M":"CreationDate",`D:${Jl(r)}`),p.setIfArray("Rect",c),p.setIfNotExists("F",4),p.setIfNotExists("Border",[0,0,0]),p.setIfNumber("Rotate",h),p.setIfArray("QuadPoints",d),p.setIfArray("C",Ri(a)),p.setIfNumber("CA",l),p.setIfDefined("T",Ii(u)),i||n){const g=new z(e);p.set("AP",g),g.set("N",i||n)}return p}static async createNewAppearanceStream(t,e,i){const{color:n,rect:a,outlines:r,opacity:o}=t;if(!n)return null;const l=[`${Ur(n,!0)}`,"/R0 gs"],c=[];for(const w of r){c.length=0,c.push(`${me(w[0])} ${me(w[1])} m`);for(let y=2,j=w.length;y(r.push(`${o[4]} ${o[5]+1.3} m`,`${o[6]} ${o[7]+1.3} l`,"S"),[o[0],o[7],o[2],o[3]]),"pointsCallback")})}}else this.data.popupRef=null}get overlaysTextContent(){return!0}};m(wN,"UnderlineAnnotation");let YA=wN;const jN=class jN extends mn{constructor(t){super(t);const{dict:e,xref:i}=t;if(this.data.quadPoints=Ep(e,null)){if(!this.appearance){const n=Ri(this.color,[0,0,0]),a=e.get("CA");this._setDefaultAppearance({xref:i,extra:"[] 0 d 1 w",strokeColor:n,strokeAlpha:a,pointsCallback:m((r,o)=>{const l=(o[1]-o[5])/6;let c=l,h=o[4];const u=o[5],d=o[6];r.push(`${h} ${u+c} m`);do h+=2,c=c===0?l:0,r.push(`${h} ${u+c} l`);while(h(r.push(`${(o[0]+o[4])/2} ${(o[1]+o[5])/2} m`,`${(o[2]+o[6])/2} ${(o[3]+o[7])/2} l`,"S"),[o[0],o[7],o[2],o[3]]),"pointsCallback")})}}else this.data.popupRef=null}get overlaysTextContent(){return!0}};m(yN,"StrikeOutAnnotation");let JA=yN;var jf,I4,eV;const T4=class T4 extends mn{constructor(e){super(e);T(this,jf,null);this.data.hasOwnCanvas=this.data.noRotate,this.data.isEditable=!this.data.noHTML,this.data.noHTML=!1}mustBeViewedWhenEditing(e,i=null){return e?(this.data.isEditable&&(f(this,jf)??x(this,jf,this.data.hasOwnCanvas),this.data.hasOwnCanvas=!0),!0):(f(this,jf)!==null&&(this.data.hasOwnCanvas=f(this,jf),x(this,jf,null)),!(i!=null&&i.has(this.data.id)))}static async createImage(e,i){const{width:n,height:a}=e,r=new OffscreenCanvas(n,a),o=r.getContext("2d",{alpha:!0});o.drawImage(e,0,0);const l=o.getImageData(0,0,n,a).data,c=new Uint32Array(l.buffer),h=c.some(Ji.isLittleEndian?w=>w>>>24!==255:w=>(w&255)!==255);h&&(o.fillStyle="white",o.fillRect(0,0,n,a),o.drawImage(e,0,0));const u=r.convertToBlob({type:"image/jpeg",quality:1}).then(w=>w.bytes()),d=at.get("XObject"),p=at.get("Image"),g=new z(i);g.set("Type",d),g.set("Subtype",p),g.set("BitsPerComponent",8),g.setIfName("ColorSpace","DeviceRGB"),g.setIfName("Filter","DCTDecode"),g.set("BBox",[0,0,n,a]),g.set("Width",n),g.set("Height",a);let b=null;if(h){const w=new Uint8Array(c.length);if(Ji.isLittleEndian)for(let j=0,k=c.length;j>>24;else for(let j=0,k=c.length;j=0&&a<=1?a:null}};m(vN,"FileAttachmentAnnotation");let ZA=vN;const tJ={get r(){return mt(this,"r",new Uint8Array([7,12,17,22,7,12,17,22,7,12,17,22,7,12,17,22,5,9,14,20,5,9,14,20,5,9,14,20,5,9,14,20,4,11,16,23,4,11,16,23,4,11,16,23,4,11,16,23,6,10,15,21,6,10,15,21,6,10,15,21,6,10,15,21]))},get k(){return mt(this,"k",new Int32Array([-680876936,-389564586,606105819,-1044525330,-176418897,1200080426,-1473231341,-45705983,1770035416,-1958414417,-42063,-1990404162,1804603682,-40341101,-1502002290,1236535329,-165796510,-1069501632,643717713,-373897302,-701558691,38016083,-660478335,-405537848,568446438,-1019803690,-187363961,1163531501,-1444681467,-51403784,1735328473,-1926607734,-378558,-2022574463,1839030562,-35309556,-1530992060,1272893353,-155497632,-1094730640,681279174,-358537222,-722521979,76029189,-640364487,-421815835,530742520,-995338651,-198630844,1126891415,-1416354905,-57434055,1700485571,-1894986606,-1051523,-2054922799,1873313359,-30611744,-1560198380,1309151649,-145523070,-1120210379,718787259,-343485551]))}};function sl(s,t,e){let i=1732584193,n=-271733879,a=-1732584194,r=271733878;const o=e+72&-64,l=new Uint8Array(o);let c,h;for(c=0;c>5&255,l[c++]=e>>13&255,l[c++]=e>>21&255,l[c++]=e>>>29&255,c+=3;const d=new Int32Array(16),{k:p,r:g}=tJ;for(c=0;c>>32-C)|0,b=A}i=i+b|0,n=n+w|0,a=a+y|0,r=r+j|0}return new Uint8Array([i&255,i>>8&255,i>>16&255,i>>>24&255,n&255,n>>8&255,n>>16&255,n>>>24&255,a&255,a>>8&255,a>>16&255,a>>>24&255,r&255,r>>8&255,r>>16&255,r>>>24&255])}m(sl,"calculateMD5");function tS(s){try{return Xu(s)}catch(t){return H(`UTF-8 decoding failed: "${t}".`),s}}m(tS,"decodeString");const kN=class kN extends bp{constructor(){super(...arguments);R(this,"node",null)}onEndElement(e){const i=super.onEndElement(e);if(i&&e==="xfa:datasets")throw this.node=i,new Error("Aborting DatasetXMLParser.")}};m(kN,"DatasetXMLParser");let eS=kN;const qN=class qN{constructor(t){if(t.datasets)this.node=new bp({hasAttributes:!0}).parseFromString(t.datasets).documentElement;else{const e=new eS({hasAttributes:!0});try{e.parseFromString(t["xdp:xdp"])}catch{}this.node=e.node}}getValue(t){var i;if(!this.node||!t)return"";const e=this.node.searchNode(FT(t),0);return e?((i=e.firstChild)==null?void 0:i.nodeName)==="value"?e.children.map(n=>tS(n.textContent)):tS(e.textContent):""}};m(qN,"DatasetReader");let sS=qN;var n2,a2,qd,Ec,yf,vf,F4,sV;const xN=class xN{constructor(t){T(this,F4);T(this,n2);R(this,"minX",1/0);R(this,"minY",1/0);R(this,"maxX",-1/0);R(this,"maxY",-1/0);T(this,a2,null);T(this,qd,[]);T(this,Ec,[]);T(this,yf,-1);T(this,vf,!1);x(this,n2,t);const e=t.data.quadPoints;if(!e){[this.minX,this.minY,this.maxX,this.maxY]=t.data.rect;return}for(let i=0,n=e.length;i8&&x(this,a2,e)}addGlyph(t,e,i){return S(this,F4,sV).call(this,t,e)?(f(this,Ec).length>0&&(f(this,qd).push(f(this,Ec).join("")),f(this,Ec).length=0),f(this,qd).push(i),x(this,vf,!0),!0):(this.disableExtraChars(),!1)}addExtraChar(t){f(this,vf)&&f(this,Ec).push(t)}disableExtraChars(){f(this,vf)&&(x(this,vf,!1),f(this,Ec).length=0)}setText(){f(this,n2).data.overlaidText=f(this,qd).join("")}};n2=new WeakMap,a2=new WeakMap,qd=new WeakMap,Ec=new WeakMap,yf=new WeakMap,vf=new WeakMap,F4=new WeakSet,sV=function(t,e){if(this.minX>=t||this.maxX<=t||this.minY>=e||this.maxY<=e)return!1;const i=f(this,a2);if(!i)return!0;if(f(this,yf)>=0){const n=f(this,yf);if(!(i[n]>=t||i[n+2]<=t||i[n+5]>=e||i[n+1]<=e))return!0;x(this,yf,-1)}for(let n=0,a=i.length;n=t||i[n+2]<=t||i[n+5]>=e||i[n+1]<=e))return x(this,yf,n),!0;return!1},m(xN,"SingleIntersector");let iS=xN;const zh=64;var xd,Ad,Sd,r2,Cd,o2,l2,c2,Id,f5;const AN=class AN{constructor(t){T(this,Id);T(this,xd,[]);T(this,Ad,[]);T(this,Sd);T(this,r2);T(this,Cd);T(this,o2);T(this,l2);T(this,c2);let e=1/0,i=1/0,n=-1/0,a=-1/0;const r=f(this,xd);for(const o of t){if(!o.data.quadPoints&&!o.data.rect)continue;const l=new iS(o);r.push(l),e=Math.min(e,l.minX),i=Math.min(i,l.minY),n=Math.max(n,l.maxX),a=Math.max(a,l.maxY)}x(this,Sd,e),x(this,Cd,i),x(this,r2,n),x(this,o2,a),x(this,l2,(zh-1)/(n-e)),x(this,c2,(zh-1)/(a-i));for(const o of r){const l=S(this,Id,f5).call(this,o.minX,o.minY),c=S(this,Id,f5).call(this,o.maxX,o.maxY),h=(c-l)%zh,u=Math.floor((c-l)/zh);for(let d=l;d<=l+u*zh;d+=zh)for(let p=0;p<=h;p++){let g=f(this,Ad)[d+p];g||(f(this,Ad)[d+p]=g=[]),g.push(o)}}}addGlyph(t,e,i,n){const a=t[4]+e/2,r=t[5]+i/2;if(af(this,r2)||r>f(this,o2))return;const o=f(this,Ad)[S(this,Id,f5).call(this,a,r)];if(o)for(const l of o)l.addGlyph(a,r,n)}addExtraChar(t){for(const e of f(this,xd))e.addExtraChar(t)}setText(){for(const t of f(this,xd))t.setText()}};xd=new WeakMap,Ad=new WeakMap,Sd=new WeakMap,r2=new WeakMap,Cd=new WeakMap,o2=new WeakMap,l2=new WeakMap,c2=new WeakMap,Id=new WeakSet,f5=function(t,e){const i=Math.floor((t-f(this,Sd))*f(this,l2)),n=Math.floor((e-f(this,Cd))*f(this,c2));return i+n*zh},m(AN,"Intersector");let nS=AN;const SN=class SN{constructor(t,e){this.high=t|0,this.low=e|0}and(t){this.high&=t.high,this.low&=t.low}xor(t){this.high^=t.high,this.low^=t.low}shiftRight(t){t>=32?(this.low=this.high>>>t-32|0,this.high=0):(this.low=this.low>>>t|this.high<<32-t,this.high=this.high>>>t|0)}rotateRight(t){let e,i;t&32?(i=this.low,e=this.high):(e=this.low,i=this.high),t&=31,this.low=e>>>t|i<<32-t,this.high=i>>>t|e<<32-t}not(){this.high=~this.high,this.low=~this.low}add(t){const e=(this.low>>>0)+(t.low>>>0);let i=(this.high>>>0)+(t.high>>>0);e>4294967295&&(i+=1),this.low=e|0,this.high=i|0}copyTo(t,e){t[e]=this.high>>>24&255,t[e+1]=this.high>>16&255,t[e+2]=this.high>>8&255,t[e+3]=this.high&255,t[e+4]=this.low>>>24&255,t[e+5]=this.low>>16&255,t[e+6]=this.low>>8&255,t[e+7]=this.low&255}assign(t){this.high=t.high,this.low=t.low}};m(SN,"Word64");let jt=SN;const eJ={get k(){return mt(this,"k",[new jt(1116352408,3609767458),new jt(1899447441,602891725),new jt(3049323471,3964484399),new jt(3921009573,2173295548),new jt(961987163,4081628472),new jt(1508970993,3053834265),new jt(2453635748,2937671579),new jt(2870763221,3664609560),new jt(3624381080,2734883394),new jt(310598401,1164996542),new jt(607225278,1323610764),new jt(1426881987,3590304994),new jt(1925078388,4068182383),new jt(2162078206,991336113),new jt(2614888103,633803317),new jt(3248222580,3479774868),new jt(3835390401,2666613458),new jt(4022224774,944711139),new jt(264347078,2341262773),new jt(604807628,2007800933),new jt(770255983,1495990901),new jt(1249150122,1856431235),new jt(1555081692,3175218132),new jt(1996064986,2198950837),new jt(2554220882,3999719339),new jt(2821834349,766784016),new jt(2952996808,2566594879),new jt(3210313671,3203337956),new jt(3336571891,1034457026),new jt(3584528711,2466948901),new jt(113926993,3758326383),new jt(338241895,168717936),new jt(666307205,1188179964),new jt(773529912,1546045734),new jt(1294757372,1522805485),new jt(1396182291,2643833823),new jt(1695183700,2343527390),new jt(1986661051,1014477480),new jt(2177026350,1206759142),new jt(2456956037,344077627),new jt(2730485921,1290863460),new jt(2820302411,3158454273),new jt(3259730800,3505952657),new jt(3345764771,106217008),new jt(3516065817,3606008344),new jt(3600352804,1432725776),new jt(4094571909,1467031594),new jt(275423344,851169720),new jt(430227734,3100823752),new jt(506948616,1363258195),new jt(659060556,3750685593),new jt(883997877,3785050280),new jt(958139571,3318307427),new jt(1322822218,3812723403),new jt(1537002063,2003034995),new jt(1747873779,3602036899),new jt(1955562222,1575990012),new jt(2024104815,1125592928),new jt(2227730452,2716904306),new jt(2361852424,442776044),new jt(2428436474,593698344),new jt(2756734187,3733110249),new jt(3204031479,2999351573),new jt(3329325298,3815920427),new jt(3391569614,3928383900),new jt(3515267271,566280711),new jt(3940187606,3454069534),new jt(4118630271,4000239992),new jt(116418474,1914138554),new jt(174292421,2731055270),new jt(289380356,3203993006),new jt(460393269,320620315),new jt(685471733,587496836),new jt(852142971,1086792851),new jt(1017036298,365543100),new jt(1126000580,2618297676),new jt(1288033470,3409855158),new jt(1501505948,4234509866),new jt(1607167915,987167468),new jt(1816402316,1246189591)])}};function iV(s,t,e,i,n){s.assign(t),s.and(e),n.assign(t),n.not(),n.and(i),s.xor(n)}m(iV,"ch");function nV(s,t,e,i,n){s.assign(t),s.and(e),n.assign(t),n.and(i),s.xor(n),n.assign(e),n.and(i),s.xor(n)}m(nV,"maj");function aV(s,t,e){s.assign(t),s.rotateRight(28),e.assign(t),e.rotateRight(34),s.xor(e),e.assign(t),e.rotateRight(39),s.xor(e)}m(aV,"sigma");function rV(s,t,e){s.assign(t),s.rotateRight(14),e.assign(t),e.rotateRight(18),s.xor(e),e.assign(t),e.rotateRight(41),s.xor(e)}m(rV,"sigmaPrime");function oV(s,t,e){s.assign(t),s.rotateRight(1),e.assign(t),e.rotateRight(8),s.xor(e),e.assign(t),e.shiftRight(7),s.xor(e)}m(oV,"littleSigma");function lV(s,t,e){s.assign(t),s.rotateRight(19),e.assign(t),e.rotateRight(61),s.xor(e),e.assign(t),e.shiftRight(6),s.xor(e)}m(lV,"littleSigmaPrime");function wF(s,t,e,i=!1){let n,a,r,o,l,c,h,u;i?(n=new jt(3418070365,3238371032),a=new jt(1654270250,914150663),r=new jt(2438529370,812702999),o=new jt(355462360,4144912697),l=new jt(1731405415,4290775857),c=new jt(2394180231,1750603025),h=new jt(3675008525,1694076839),u=new jt(1203062813,3204075428)):(n=new jt(1779033703,4089235720),a=new jt(3144134277,2227873595),r=new jt(1013904242,4271175723),o=new jt(2773480762,1595750129),l=new jt(1359893119,2917565137),c=new jt(2600822924,725511199),h=new jt(528734635,4215389547),u=new jt(1541459225,327033209));const d=Math.ceil((e+17)/128)*128,p=new Uint8Array(d);let g,b;for(g=0;g>>29&255,p[g++]=e>>21&255,p[g++]=e>>13&255,p[g++]=e>>5&255,p[g++]=e<<3&255;const y=new Array(80);for(g=0;g<80;g++)y[g]=new jt(0,0);const{k:j}=eJ;let k=new jt(0,0),q=new jt(0,0),A=new jt(0,0),I=new jt(0,0),C=new jt(0,0),F=new jt(0,0),E=new jt(0,0),D=new jt(0,0);const M=new jt(0,0),_=new jt(0,0),G=new jt(0,0),K=new jt(0,0);let it;for(g=0;g>>t|s<<32-t}m(_r,"rotr");function hV(s,t,e){return s&t^~s&e}m(hV,"calculate_sha256_ch");function fV(s,t,e){return s&t^s&e^t&e}m(fV,"calculate_sha256_maj");function uV(s){return _r(s,2)^_r(s,13)^_r(s,22)}m(uV,"calculate_sha256_sigma");function dV(s){return _r(s,6)^_r(s,11)^_r(s,25)}m(dV,"calculate_sha256_sigmaPrime");function pV(s){return _r(s,7)^_r(s,18)^s>>>3}m(pV,"calculate_sha256_littleSigma");function mV(s){return _r(s,17)^_r(s,19)^s>>>10}m(mV,"calculate_sha256_littleSigmaPrime");function h6(s,t,e){let i=1779033703,n=3144134277,a=1013904242,r=2773480762,o=1359893119,l=2600822924,c=528734635,h=1541459225;const u=Math.ceil((e+9)/64)*64,d=new Uint8Array(u);let p,g;for(p=0;p>>29&255,d[p++]=e>>21&255,d[p++]=e>>13&255,d[p++]=e>>5&255,d[p++]=e<<3&255;const w=new Uint32Array(64),{k:y}=sJ;for(p=0;p>24&255,i>>16&255,i>>8&255,i&255,n>>24&255,n>>16&255,n>>8&255,n&255,a>>24&255,a>>16&255,a>>8&255,a&255,r>>24&255,r>>16&255,r>>8&255,r&255,o>>24&255,o>>16&255,o>>8&255,o&255,l>>24&255,l>>16&255,l>>8&255,l&255,c>>24&255,c>>16&255,c>>8&255,c&255,h>>24&255,h>>16&255,h>>8&255,h&255])}m(h6,"calculateSHA256");const G_=512,CN=class CN extends Ei{constructor(t,e,i){super(e),this.stream=t,this.dict=t.dict,this.decrypt=i,this.nextChunk=null,this.initialized=!1}readBlock(){var r;let t;if(this.initialized?t=this.nextChunk:(t=this.stream.getBytes(G_),this.initialized=!0),!(t!=null&&t.length)){this.eof=!0;return}this.nextChunk=this.stream.getBytes(G_);const e=((r=this.nextChunk)==null?void 0:r.length)>0,i=this.decrypt;t=i(t,!e);const n=this.bufferLength,a=n+t.length;this.ensureBuffer(a).set(t,n),this.bufferLength=a}getOriginalStream(){return this}};m(CN,"DecryptStream");let aS=CN;const IN=class IN{constructor(t){R(this,"a",0);R(this,"b",0);const e=new Uint8Array(256),i=t.length;for(let n=0;n<256;++n)e[n]=n;for(let n=0,a=0;n<256;++n){const r=e[n];a=a+r+t[n%i]&255,e[n]=e[a],e[a]=r}this.s=e}encryptBlock(t){let e=this.a,i=this.b;const n=this.s,a=t.length,r=new Uint8Array(a);for(let o=0;oe<128?e<<1:e<<1^27));this.buffer=new Uint8Array(16),this.bufferPosition=0}_expandKey(t){oe("Cannot call `_expandKey` on the base class")}_decrypt(t,e){let i,n,a;const r=new Uint8Array(16);r.set(t);for(let o=0,l=this._keySize;o<16;++o,++l)r[o]^=e[l];for(let o=this._cyclesOfRepetition-1;o>=1;--o){i=r[13],r[13]=r[9],r[9]=r[5],r[5]=r[1],r[1]=i,i=r[14],n=r[10],r[14]=r[6],r[10]=r[2],r[6]=i,r[2]=n,i=r[15],n=r[11],a=r[7],r[15]=r[3],r[11]=i,r[7]=n,r[3]=a;for(let l=0;l<16;++l)r[l]=this._inv_s[r[l]];for(let l=0,c=o*16;l<16;++l,++c)r[l]^=e[c];for(let l=0;l<16;l+=4){const c=this._mix[r[l]],h=this._mix[r[l+1]],u=this._mix[r[l+2]],d=this._mix[r[l+3]];i=c^h>>>8^h<<24^u>>>16^u<<16^d>>>24^d<<8,r[l]=i>>>24&255,r[l+1]=i>>16&255,r[l+2]=i>>8&255,r[l+3]=i&255}}i=r[13],r[13]=r[9],r[9]=r[5],r[5]=r[1],r[1]=i,i=r[14],n=r[10],r[14]=r[6],r[10]=r[2],r[6]=i,r[2]=n,i=r[15],n=r[11],a=r[7],r[15]=r[3],r[11]=i,r[7]=n,r[3]=a;for(let o=0;o<16;++o)r[o]=this._inv_s[r[o]],r[o]^=e[o];return r}_encrypt(t,e){const i=this._s;let n,a,r;const o=new Uint8Array(16);o.set(t);for(let l=0;l<16;++l)o[l]^=e[l];for(let l=1;l=p;--d)if(h[d]!==u){u=0;break}l-=u,r[r.length-1]=h.subarray(0,16-u)}}const c=new Uint8Array(l);for(let h=0,u=0,d=r.length;h=256&&(n=(n^27)&255));for(let u=0;u<4;++u)i[c]=a^=i[c-32],c++,i[c]=r^=i[c-32],c++,i[c]=o^=i[c-32],c++,i[c]=l^=i[c-32],c++}return i}};m(RN,"AES256Cipher");let wb=RN;const MN=class MN{_hash(t,e,i){oe("Abstract method `_hash` called")}checkOwnerPassword(t,e,i,n){const a=new Uint8Array(t.length+56);a.set(t,0),a.set(e,t.length),a.set(i,t.length+e.length);const r=this._hash(t,a,i);return hp(r,n)}checkUserPassword(t,e,i){const n=new Uint8Array(t.length+8);n.set(t,0),n.set(e,t.length);const a=this._hash(t,n,[]);return hp(a,i)}getOwnerKey(t,e,i,n){const a=new Uint8Array(t.length+56);a.set(t,0),a.set(e,t.length),a.set(i,t.length+e.length);const r=this._hash(t,a,i);return new wb(r).decryptBlock(n,!1,new Uint8Array(16))}getUserKey(t,e,i){const n=new Uint8Array(t.length+8);n.set(t,0),n.set(e,t.length);const a=this._hash(t,n,[]);return new wb(a).decryptBlock(i,!1,new Uint8Array(16))}};m(MN,"PDFBase");let u6=MN;const BN=class BN extends u6{_hash(t,e,i){return h6(e,0,e.length)}};m(BN,"PDF17");let oS=BN;const DN=class DN extends u6{_hash(t,e,i){let n=h6(e,0,e.length).subarray(0,32),a=[0],r=0;for(;r<64||a.at(-1)>r-32;){const o=t.length+n.length+i.length,l=new Uint8Array(o);let c=0;l.set(t,c),c+=t.length,l.set(n,c),c+=n.length,l.set(i,c);const h=new Uint8Array(o*64);for(let d=0,p=0;d<64;d++,p+=o)h.set(l,p);a=new f6(n.subarray(0,16)).encrypt(h,n.subarray(16,32));const u=Math.sumPrecise(a.slice(0,16))%3;u===0?n=h6(a,0,a.length):u===1?n=cV(a,0,a.length):u===2&&(n=wF(a,0,a.length)),r++}return n.subarray(0,32)}};m(DN,"PDF20");let lS=DN;const PN=class PN{constructor(t,e){this.StringCipherConstructor=t,this.StreamCipherConstructor=e}createStream(t,e){const i=new this.StreamCipherConstructor;return new aS(t,e,m(function(n,a){return i.decryptBlock(n,a)},"cipherTransformDecryptStream"))}decryptString(t){const e=new this.StringCipherConstructor;let i=Ki(t);return i=e.decryptBlock(i,!0),In(i)}encryptString(t){const e=new this.StringCipherConstructor;if(e instanceof bb){const n=16-t.length%16;t+=String.fromCharCode(n).repeat(n);const a=new Uint8Array(16);crypto.getRandomValues(a);let r=Ki(t);r=e.encrypt(r,a);const o=new Uint8Array(16+r.length);return o.set(a),o.set(r,16),In(o)}let i=Ki(t);return i=e.encrypt(i),In(i)}};m(PN,"CipherTransform");let d6=PN;var pn,gV,hS,bV,u5,fS;const lf=class lf{constructor(t,e,i){T(this,pn);var y;const n=t.get("Filter");if(!we(n,"Standard"))throw new tt("unknown encryption method");this.filterName=n.name,this.dict=t;const a=t.get("V");if(!Number.isInteger(a)||a!==1&&a!==2&&a!==4&&a!==5)throw new tt("unsupported encryption algorithm");this.algorithm=a;let r=t.get("Length");if(!r)if(a<=3)r=40;else{const j=t.get("CF"),k=t.get("StmF");j instanceof z&&k instanceof at&&(j.suppressEncryption=!0,r=((y=j.get(k.name))==null?void 0:y.get("Length"))||128,r<40&&(r<<=3))}if(!Number.isInteger(r)||r<40||r%8!==0)throw new tt("invalid key length");const o=Ki(t.get("O")),l=Ki(t.get("U")),c=o.subarray(0,32),h=l.subarray(0,32),u=t.get("P"),d=t.get("R"),p=(a===4||a===5)&&t.get("EncryptMetadata")!==!1;this.encryptMetadata=p;const g=Ki(e);let b;if(i){if(d===6)try{i=e3(i)}catch{H("CipherTransformFactory: Unable to convert UTF8 encoded password.")}b=Ki(i)}let w;if(a!==5)w=S(this,pn,hS).call(this,g,b,c,h,u,d,r,p);else{const j=o.subarray(32,40),k=o.subarray(40,48),q=l.subarray(0,48),A=l.subarray(32,40),I=l.subarray(40,48),C=Ki(t.get("OE")),F=Ki(t.get("UE")),E=Ki(t.get("Perms"));w=S(this,pn,gV).call(this,d,b,c,j,k,q,h,A,I,C,F,E)}if(!w){if(!i)throw new cp("No password given",c_.NEED_PASSWORD);const j=S(this,pn,bV).call(this,b,c,d,r);w=S(this,pn,hS).call(this,g,j,c,h,u,d,r,p)}if(!w)throw new cp("Incorrect Password",c_.INCORRECT_PASSWORD);if(a===4&&w.length<16?(this.encryptionKey=new Uint8Array(16),this.encryptionKey.set(w)):this.encryptionKey=w,a>=4){const j=t.get("CF");j instanceof z&&(j.suppressEncryption=!0),this.cf=j,this.stmf=t.get("StmF")||at.get("Identity"),this.strf=t.get("StrF")||at.get("Identity"),this.eff=t.get("EFF")||this.stmf}}static get _defaultPasswordBytes(){return mt(this,"_defaultPasswordBytes",new Uint8Array([40,191,78,94,78,117,138,65,100,0,78,86,255,250,1,8,46,46,0,182,208,104,62,128,47,12,169,254,100,83,105,122]))}createCipherTransform(t,e){if(this.algorithm===4||this.algorithm===5)return new d6(S(this,pn,fS).call(this,this.cf,this.strf,t,e,this.encryptionKey),S(this,pn,fS).call(this,this.cf,this.stmf,t,e,this.encryptionKey));const i=S(this,pn,u5).call(this,t,e,this.encryptionKey,!1),n=m(function(){return new Yo(i)},"cipherConstructor");return new d6(n,n)}};pn=new WeakSet,gV=function(t,e,i,n,a,r,o,l,c,h,u,d){if(e){const g=Math.min(127,e.length);e=e.subarray(0,g)}else e=[];const p=t===6?new lS:new oS;return p.checkUserPassword(e,l,o)?p.getUserKey(e,c,u):e.length&&p.checkOwnerPassword(e,n,r,i)?p.getOwnerKey(e,a,r,h):null},hS=function(t,e,i,n,a,r,o,l){const c=40+i.length+t.length,h=new Uint8Array(c);let u=0,d,p;if(e)for(p=Math.min(32,e.length);u>8&255,h[u++]=a>>16&255,h[u++]=a>>>24&255,h.set(t,u),u+=t.length,r>=4&&!l&&(h.fill(255,u,u+4),u+=4);let g=sl(h,0,u);const b=o>>3;if(r>=3)for(d=0;d<50;++d)g=sl(g,0,b);const w=g.subarray(0,b);let y,j;if(r>=3){u=0,h.set(lf._defaultPasswordBytes,u),u+=32,h.set(t,u),u+=t.length,y=new Yo(w),j=y.encryptBlock(sl(h,0,u)),p=w.length;const k=new Uint8Array(p);for(d=1;d<=19;++d){for(let q=0;qn[q]===k)?w:null},bV=function(t,e,i,n){const a=new Uint8Array(32);let r=0;const o=Math.min(32,t.length);for(;r>3;if(i>=3)for(l=0;l<50;++l)c=sl(c,0,c.length);let u,d;if(i>=3){d=e;const p=new Uint8Array(h);for(l=19;l>=0;l--){for(let g=0;g>8&255,r[o++]=t>>16&255,r[o++]=e&255,r[o++]=e>>8&255,n&&(r[o++]=115,r[o++]=65,r[o++]=108,r[o++]=84),sl(r,0,o).subarray(0,Math.min(a+5,16))},fS=function(t,e,i,n,a){var l;if(!(e instanceof at))throw new tt("Invalid crypt filter name.");const r=this,o=(l=t.get(e.name))==null?void 0:l.get("CFM");if(!o||o.name==="None")return function(){return new rS};if(o.name==="V2")return function(){var c;return new Yo(S(c=r,pn,u5).call(c,i,n,a,!1))};if(o.name==="AESV2")return function(){var c;return new f6(S(c=r,pn,u5).call(c,i,n,a,!0))};if(o.name==="AESV3")return function(){return new wb(a)};throw new tt("Unknown crypto method")},m(lf,"CipherTransformFactory");let cS=lf;const HN=class HN{constructor(t,e){this.stream=t,this.pdfManager=e,this.entries=[],this._xrefStms=new Set,this._cacheMap=new Map,this._pendingRefs=new is,this._newPersistentRefNum=null,this._newTemporaryRefNum=null,this._persistentRefsCache=null}getNewPersistentRef(t){this._newPersistentRefNum===null&&(this._newPersistentRefNum=this.entries.length||1);const e=this._newPersistentRefNum++;return this._cacheMap.set(e,t),ft.get(e,0)}getNewTemporaryRef(){if(this._newTemporaryRefNum===null&&(this._newTemporaryRefNum=this.entries.length||1,this._newPersistentRefNum)){this._persistentRefsCache=new Map;for(let t=this._newTemporaryRefNum;t0;){const[o,l]=r;if(!Number.isInteger(o)||!Number.isInteger(l))throw new tt(`Invalid XRef range fields: ${o}, ${l}`);if(!Number.isInteger(i)||!Number.isInteger(n)||!Number.isInteger(a))throw new tt(`Invalid XRef entry fields length: ${o}, ${l}`);for(let c=e.entryNum;c=q.length);)I+=String.fromCharCode(C),C=q[A];return I}m(t,"readToken");function e(q,A,I){const C=I.length,F=q.length;let E=0;for(;A=C)break;A++,E++}return E}m(e,"skipUntil");const i=/\b(endobj|\d+\s+\d+\s+obj|xref|trailer\s*<<)\b/g,n=/\b(startxref|\d+\s+\d+\s+obj)\b/g,a=/^(\d+)\s+(\d+)\s+obj\b/,r=new Uint8Array([116,114,97,105,108,101,114]),o=new Uint8Array([115,116,97,114,116,120,114,101,102]),l=new Uint8Array([47,88,82,101,102]);this.entries.length=0,this._cacheMap.clear();const c=this.stream;c.pos=0;const h=c.getBytes(),u=In(h),d=h.length;let p=c.start;const g=[],b=[];for(;p=d)break;q=h[p]}while(q!==10&&q!==13);continue}const A=t(h,p);let I;if(A.startsWith("xref")&&(A.length===4||/\s/.test(A[4])))p+=e(h,p,r),g.push(p),p+=e(h,p,o);else if(I=a.exec(A)){const C=I[1]|0,F=I[2]|0,E=p+A.length;let D,M=!1;if(!this.entries[C])M=!0;else if(this.entries[C].gen===F)try{new Io({lexer:new Aa(c.makeSubStream(E))}).getObj(),M=!0}catch(it){it instanceof Tg?H(`indexObjects -- checking object (${A}): "${it}".`):M=!0}M&&(this.entries[C]={offset:p-c.start,gen:F,uncompressed:!0}),i.lastIndex=E;const _=i.exec(u);_?(D=i.lastIndex+1-p,_[1]!=="endobj"&&(H(`indexObjects: Found "${_[1]}" inside of another "obj", caused by missing "endobj" -- trying to recover.`),D-=_[1].length+1)):D=d-p;const G=h.subarray(p,p+D),K=e(G,0,l);K0&&e[3]-e[1]>0)return e;H(`Empty, or invalid, /${t} entry.`)}return null}get mediaBox(){return mt(this,"mediaBox",this.getBoundingBox("MediaBox")||iJ)}get cropBox(){return mt(this,"cropBox",this.getBoundingBox("CropBox")||this.mediaBox)}get userUnit(){const t=this.pageDict.get("UserUnit");return mt(this,"userUnit",typeof t=="number"&&t>0?t:1)}get view(){const{cropBox:t,mediaBox:e}=this;if(t!==e&&!hp(t,e)){const i=Te.intersect(t,e);if(i&&i[2]-i[0]>0&&i[3]-i[1]>0)return mt(this,"view",i);H("Empty /CropBox and /MediaBox intersection.")}return mt(this,"view",e)}get rotate(){let t=S(this,Ts,lm).call(this,"Rotate")||0;return t%90!==0?t=0:t>=360?t%=360:t<0&&(t=(t%360+360)%360),mt(this,"rotate",t)}async getContentStream(){const t=await this.pdfManager.ensure(this,"content");if(t instanceof Qt&&!t.isImageStream){if(t.isAsync){const e=await t.asyncGetBytes();if(e)return new Ne(e,0,e.length,t.dict)}return t}if(Array.isArray(t)){const e=[];for(let i=0,n=t.length;i{r&&(t[i]=new Ne(r,0,r.length,a.dict))}))}return e.length>0&&await Promise.all(e),new B7(t,S(this,Ts,wV).bind(this))}return new Bg}get xfaData(){return mt(this,"xfaData",this.xfaFactory?{bbox:this.xfaFactory.getBoundingBox(this.pageIndex)}:null)}async saveNewAnnotations(t,e,i,n,a){if(this.xfaFactory)throw new Error("XFA: Cannot save new annotations.");const r=S(this,Ts,bc).call(this,t),o=new Os,l=new is;await S(this,Ts,dS).call(this,i,o,l);const c=this.pageDict,h=this.annotations.filter(p=>!(p instanceof ft&&o.has(p))),u=await Ca.saveNewAnnotations(r,this.xref,e,i,n,a);for(const{ref:p}of u.annotations)p instanceof ft&&!l.has(p)&&h.push(p);const d=c.clone();d.set("Annots",h),a.put(this.ref,{data:d});for(const p of o)a.put(p,{data:null})}async save(t,e,i,n){const a=S(this,Ts,bc).call(this,t),r=await this._parsedAnnotations,o=[];for(const l of r)o.push(l.save(a,e,i,n).catch(function(c){return H(`save - ignoring annotation data during "${e.name}" task: "${c}".`),null}));return Promise.all(o)}async loadResources(t){await(f(this,E4)??x(this,E4,this.pdfManager.ensure(this,"resources"))),await wp.load(this.resources,t,this.xref)}async getOperatorList({handler:t,sink:e,task:i,intent:n,cacheKey:a,pageIndex:r=this.pageIndex,annotationStorage:o=null,modifiedIds:l=null}){var _;const c=this.getContentStream(),h=this.loadResources(l7),u=S(this,Ts,bc).call(this,t,r),d=(_=this.xfaFactory?null:v8(o))==null?void 0:_.get(this.pageIndex);let p=Promise.resolve(null),g=null;if(d){const G=this.pdfManager.ensureDoc("annotationGlobals");let K;const it=new Set;for(const{bitmapId:V,bitmap:rt}of d)V&&!rt&&!it.has(V)&&it.add(V);const{isOffscreenCanvasSupported:$}=this.evaluatorOptions;if(it.size>0){const V=d.slice();for(const[rt,Y]of o)rt.startsWith(fU)&&Y.bitmap&&it.has(Y.bitmapId)&&V.push(Y);K=Ca.generateImages(V,this.xref,$)}else K=Ca.generateImages(d,this.xref,$);g=new is,p=Promise.all([G,S(this,Ts,dS).call(this,d,g,null)]).then(([V])=>V?Ca.printNewAnnotations(V,u,i,d,K):null)}const b=Promise.all([c,h]).then(async([G])=>{const K=await S(this,Ts,pS).call(this,G.dict,l7),it=new dn(n,e);return t.send("StartRenderPage",{transparency:u.hasBlendModes(K,this.nonBlendModesSet),pageIndex:r,cacheKey:a}),await u.getOperatorList({stream:G,task:i,resources:K,operatorList:it}),it});let[w,y,j]=await Promise.all([b,this._parsedAnnotations,p]);if(j){y=y.filter(G=>!(G.ref&&g.has(G.ref)));for(let G=0,K=j.length;GV.ref&&Ig(V.ref,it.refToReplace));$>=0&&(y.splice($,1,it),j.splice(G--,1),K--)}}y=y.concat(j)}if(y.length===0||n&Sn.ANNOTATIONS_DISABLE)return w.flush(!0),{length:w.totalLength};const k=!!(n&Sn.ANNOTATIONS_FORMS),q=!!(n&Sn.IS_EDITING),A=!!(n&Sn.ANY),I=!!(n&Sn.DISPLAY),C=!!(n&Sn.PRINT),F=[];for(const G of y)(A||I&&G.mustBeViewed(o,k)&&G.mustBeViewedWhenEditing(q,l)||C&&G.mustBePrinted(o))&&F.push(G.getOperatorList(u,i,n,o).catch(function(K){return H(`getOperatorList - ignoring annotation data during "${i.name}" task: "${K}".`),{opList:null,separateForm:!1,separateCanvas:!1}}));const E=await Promise.all(F);let D=!1,M=!1;for(const{opList:G,separateForm:K,separateCanvas:it}of E)w.addOpList(G),D||(D=K),M||(M=it);return w.flush(!0,{form:D,canvas:M}),{length:w.totalLength}}async extractTextContent({handler:t,task:e,includeMarkedContent:i,disableNormalization:n,sink:a,intersector:r=null}){const o=this.getContentStream(),l=this.loadResources(c7),c=this.pdfManager.ensureCatalog("lang"),[h,,u]=await Promise.all([o,l,c]),d=await S(this,Ts,pS).call(this,h.dict,c7);return S(this,Ts,bc).call(this,t).getTextContent({stream:h,task:e,resources:d,includeMarkedContent:i,disableNormalization:n,sink:a,viewBox:this.view,lang:u,intersector:r})}async getStructTree(){const t=await this.pdfManager.ensureCatalog("structTreeRoot");if(!t)return null;await this._parsedAnnotations;try{const e=await this.pdfManager.ensure(this,"_parseStructTree",[t]);return await this.pdfManager.ensure(e,"serializable")}catch(e){return H(`getStructTree: "${e}".`),null}}_parseStructTree(t){const e=new L3(t,this.pageDict);return e.parse(this.ref),e}async getAnnotationsData(t,e,i){const n=await this._parsedAnnotations;if(n.length===0)return n;const a=[],r=[];let o;const l=!!(i&Sn.ANY),c=!!(i&Sn.DISPLAY),h=!!(i&Sn.PRINT),u=[];for(const d of n){const p=l||c&&d.viewable;(p||h&&d.printable)&&a.push(d.data),d.hasTextContent&&p?(o??(o=S(this,Ts,bc).call(this,t)),r.push(d.extractTextContent(o,e,[-1/0,-1/0,1/0,1/0]).catch(function(g){H(`getAnnotationsData - ignoring textContent during "${e.name}" task: "${g}".`)}))):d.overlaysTextContent&&p&&u.push(d)}if(u.length>0){const d=new nS(u);r.push(this.extractTextContent({handler:t,task:e,includeMarkedContent:!1,disableNormalization:!1,sink:null,viewBox:this.view,lang:null,intersector:d}).then(()=>{d.setText()}))}return await Promise.all(r),a}get annotations(){const t=S(this,Ts,lm).call(this,"Annots");return mt(this,"annotations",Array.isArray(t)?t:[])}get _parsedAnnotations(){const t=this.pdfManager.ensure(this,"annotations").then(async e=>{if(e.length===0)return e;const[i,n]=await Promise.all([this.pdfManager.ensureDoc("annotationGlobals"),this.pdfManager.ensureDoc("fieldObjects")]);if(!i)return[];const a=n==null?void 0:n.orphanFields,r=[];for(const h of e)r.push(Ca.create(this.xref,h,i,this._localIdFactory,!1,a,null,this.ref).catch(function(u){return H(`_parsedAnnotations: "${u}".`),null}));const o=[];let l,c;for(const h of await Promise.all(r))if(h){if(h instanceof Oo){(c||(c=[])).push(h);continue}if(h instanceof gb){(l||(l=[])).push(h);continue}o.push(h)}return c&&o.push(...c),l&&o.push(...l),o});return x(this,h2,!0),mt(this,"_parsedAnnotations",t)}get jsActions(){const t=n9(this.xref,this.pageDict,$X);return mt(this,"jsActions",t)}async collectAnnotationsByType(t,e,i,n,a){const{pageIndex:r}=this;if(f(this,h2)){const l=await this._parsedAnnotations;for(const{data:c}of l)(!i||i.has(c.annotationType))&&(c.pageIndex=r,n.push(Promise.resolve(c)));return}const o=await this.pdfManager.ensure(this,"annotations");for(const l of o)n.push(Ca.create(this.xref,l,a,this._localIdFactory,!1,null,i,this.ref).then(async c=>{if(!c)return null;if(c.data.pageIndex=r,c.hasTextContent&&c.viewable){const h=S(this,Ts,bc).call(this,t);await c.extractTextContent(h,e,[-1/0,-1/0,1/0,1/0])}return c.data}).catch(function(c){return H(`collectAnnotationsByType: "${c}".`),null}))}};h2=new WeakMap,E4=new WeakMap,Ts=new WeakSet,bc=function(t,e=this.pageIndex){return new Wg({xref:this.xref,handler:t,pageIndex:e,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,standardFontDataCache:this.standardFontDataCache,globalColorSpaceCache:this.globalColorSpaceCache,globalImageCache:this.globalImageCache,systemFontCache:this.systemFontCache,options:this.evaluatorOptions})},lm=function(t,e=!1){const i=Yn({dict:this.pageDict,key:t,getArray:e,stopWhenFound:!1});return Array.isArray(i)?i.length===1||!(i[0]instanceof z)?i[0]:z.merge({xref:this.xref,dictArray:i}):i},wV=function(t,e){if(this.evaluatorOptions.ignoreErrors){H(`getContentStream - ignoring sub-stream (${e}): "${t}".`);return}throw t},dS=async function(t,e,i){var a;const n=[];for(const r of t)if(r.id){const o=ft.fromString(r.id);if(!o){H(`A non-linked annotation cannot be modified: ${r.id}`);continue}if(r.deleted){if(e.put(o,o),r.popupRef){const l=ft.fromString(r.popupRef);l&&e.put(l,l)}continue}if((a=r.popup)!=null&&a.deleted){const l=ft.fromString(r.popupRef);l&&e.put(l,l)}i==null||i.put(o),r.ref=o,n.push(this.xref.fetchAsync(o).then(l=>{l instanceof z&&(r.oldAnnotation=l.clone())},()=>{H(`Cannot fetch \`oldAnnotation\` for: ${o}.`)})),delete r.id}await Promise.all(n)},pS=async function(t,e){const i=t==null?void 0:t.get("Resources");return i instanceof z&&i.size?(await wp.load(i,e,this.xref),z.merge({xref:this.xref,dictArray:[i,this.resources],mergeSubDicts:!0})):this.resources},m(ON,"Page");let p6=ON;const $_=new Uint8Array([37,80,68,70,45]),V_=new Uint8Array([115,116,97,114,116,120,114,101,102]),nJ=new Uint8Array([101,110,100,111,98,106]);function d5(s,t,e=1024,i=!1){const n=t.length,a=s.peekBytes(e),r=a.length-n;if(r<=0)return!1;if(i){const o=n-1;let l=a.length-1;for(;l>=o;){let c=0;for(;c=n)return s.pos+=l-o,!0;l--}}else{let o=0;for(;o<=r;){let l=0;for(;l=n)return s.pos+=o,!0;o++}}return!1}m(d5,"find");var Rc,f2,ta,mS,jV,yV,vV,gS;const NN=class NN{constructor(t,e){T(this,ta);T(this,Rc,new Map);T(this,f2,null);if(e.length<=0)throw new Cg("The PDF file is empty, i.e. its size is zero bytes.");this.pdfManager=t,this.stream=e,this.xref=new uS(e,t);const i={font:0};this._globalIdFactory=class{static getDocId(){return`g_${t.docId}`}static createFontId(){return`f${++i.font}`}static createObjId(){oe("Abstract method `createObjId` called.")}static getPageObjId(){oe("Abstract method `getPageObjId` called.")}}}parse(t){this.xref.parse(t),this.catalog=new Qg(this.pdfManager,this.xref)}get linearization(){let t=null;try{t=W7.create(this.stream)}catch(e){if(e instanceof $e)throw e;ne(e)}return mt(this,"linearization",t)}get startXRef(){const t=this.stream;let e=0;if(this.linearization){if(t.reset(),d5(t,nJ)){t.skip(6);let i=t.peekByte();for(;Jn(i);)t.pos++,i=t.peekByte();e=t.pos-t.start}}else{const i=V_.length;let n=!1,a=t.end;for(;!n&&a>0;)a-=1024-i,a<0&&(a=0),t.pos=a,n=d5(t,V_,1024,!0);if(n){t.skip(9);let r;do r=t.getByte();while(Jn(r));let o="";for(;r>=32&&r<=57;)o+=String.fromCharCode(r),r=t.getByte();e=parseInt(o,10),isNaN(e)&&(e=0)}}return mt(this,"startXRef",e)}checkHeader(){const t=this.stream;if(t.reset(),!d5(t,$_))return;t.moveStart(),t.skip($_.length);let e="",i;for(;(i=t.getByte())>32&&e.length<7;)e+=String.fromCharCode(i);AU.test(e)?x(this,f2,e):H(`Invalid PDF header version: ${e}`)}parseStartXRef(){this.xref.setStartXRef(this.startXRef)}get numPages(){let t=0;return this.catalog.hasActualNumPages?t=this.catalog.numPages:this.xfaFactory?t=this.xfaFactory.getNumPages():this.linearization?t=this.linearization.numPages:t=this.catalog.numPages,mt(this,"numPages",t)}get _xfaStreams(){const{acroForm:t}=this.catalog;if(!t)return null;const e=t.get("XFA"),i=new Map(["xdp:xdp","template","datasets","config","connectionSet","localeSet","stylesheet","/xdp:xdp"].map(n=>[n,null]));if(e instanceof Qt&&!e.isEmpty)return i.set("xdp:xdp",e),i;if(!Array.isArray(e)||e.length===0)return null;for(let n=0,a=e.length;n{}),S(this,ta,jV).call(this)])}serializeXfaData(t){return this.xfaFactory?this.xfaFactory.serializeData(t):null}get version(){return this.catalog.version||f(this,f2)}get formInfo(){const t={hasFields:!1,hasAcroForm:!1,hasXfa:!1,hasSignatures:!1},{acroForm:e}=this.catalog;if(!e)return mt(this,"formInfo",t);try{const i=e.get("Fields"),n=Array.isArray(i)&&i.length>0;t.hasFields=n;const a=e.get("XFA");t.hasXfa=Array.isArray(a)&&a.length>0||a instanceof Qt&&!a.isEmpty;const r=!!(e.get("SigFlags")&1),o=r&&S(this,ta,mS).call(this,i);t.hasAcroForm=n&&!o,t.hasSignatures=r}catch(i){if(i instanceof $e)throw i;H(`Cannot fetch form information: "${i}".`)}return mt(this,"formInfo",t)}get documentInfo(){var r;const{catalog:t,formInfo:e,xref:i}=this,n={PDFFormatVersion:this.version,Language:t.lang,EncryptFilterName:((r=i.encrypt)==null?void 0:r.filterName)??null,IsLinearized:!!this.linearization,IsAcroFormPresent:e.hasAcroForm,IsXFAPresent:e.hasXfa,IsCollectionPresent:!!t.collection,IsSignaturesPresent:e.hasSignatures};let a;try{a=i.trailer.get("Info")}catch(o){if(o instanceof $e)throw o;ne("The document information dictionary is invalid.")}if(!(a instanceof z))return mt(this,"documentInfo",n);for(const[o,l]of a){switch(o){case"Title":case"Author":case"Subject":case"Keywords":case"Creator":case"Producer":case"CreationDate":case"ModDate":if(typeof l=="string"){n[o]=ce(l);continue}break;case"Trapped":if(l instanceof at){n[o]=l;continue}break;default:let c;switch(typeof l){case"string":c=ce(l);break;case"number":case"boolean":c=l;break;default:l instanceof at&&(c=l);break}if(c===void 0){H(`Bad value, for custom key "${o}", in Info: ${l}.`);continue}n.Custom??(n.Custom=Object.create(null)),n.Custom[o]=c;continue}H(`Bad value, for key "${o}", in Info: ${l}.`)}return mt(this,"documentInfo",n)}get fingerprints(){const t="\0".repeat(16);function e(r){return typeof r=="string"&&r.length===16&&r!==t}m(e,"validate");const i=this.xref.trailer.get("ID");let n,a;return Array.isArray(i)&&e(i[0])?(n=Ki(i[0]),i[1]!==i[0]&&e(i[1])&&(a=Ki(i[1]))):n=sl(this.stream.getByteRange(0,1024),0,1024),mt(this,"fingerprints",[n.toHex(),(a==null?void 0:a.toHex())??null])}getPage(t){const e=f(this,Rc).get(t);if(e)return e;const{catalog:i,linearization:n,xfaFactory:a}=this;let r;return a?r=Promise.resolve([z.empty,null]):(n==null?void 0:n.pageFirst)===t?r=S(this,ta,vV).call(this,t):r=i.getPageDict(t),r=r.then(([o,l])=>new p6({pdfManager:this.pdfManager,xref:this.xref,pageIndex:t,pageDict:o,ref:l,globalIdFactory:this._globalIdFactory,fontCache:i.fontCache,builtInCMapCache:i.builtInCMapCache,standardFontDataCache:i.standardFontDataCache,globalColorSpaceCache:i.globalColorSpaceCache,globalImageCache:i.globalImageCache,systemFontCache:i.systemFontCache,nonBlendModesSet:i.nonBlendModesSet,xfaFactory:a})),f(this,Rc).set(t,r),r}async checkFirstPage(t=!1){if(!t)try{await this.getPage(0)}catch(e){if(e instanceof Ro)throw f(this,Rc).delete(0),await this.cleanup(),new _l}}async checkLastPage(t=!1){const{catalog:e,pdfManager:i}=this;e.setActualNumPages();let n;try{if(await Promise.all([i.ensureDoc("xfaFactory"),i.ensureDoc("linearization"),i.ensureCatalog("numPages")]),this.xfaFactory)return;if(this.linearization?n=this.linearization.numPages:n=e.numPages,Number.isInteger(n)){if(n<=1)return}else throw new tt("Page count is not an integer.");await this.getPage(n-1)}catch(a){if(f(this,Rc).delete(n-1),await this.cleanup(),a instanceof Ro&&!t)throw new _l;H(`checkLastPage - invalid /Pages tree /Count: ${n}.`);let r;try{r=await e.getAllPageDicts(t)}catch(o){if(o instanceof Ro&&!t)throw new _l;e.setActualNumPages(1);return}for(const[o,[l,c]]of r){let h;l instanceof Error?(h=Promise.reject(l),h.catch(()=>{})):h=Promise.resolve(new p6({pdfManager:i,xref:this.xref,pageIndex:o,pageDict:l,ref:c,globalIdFactory:this._globalIdFactory,fontCache:e.fontCache,builtInCMapCache:e.builtInCMapCache,standardFontDataCache:e.standardFontDataCache,globalColorSpaceCache:this.globalColorSpaceCache,globalImageCache:e.globalImageCache,systemFontCache:e.systemFontCache,nonBlendModesSet:e.nonBlendModesSet,xfaFactory:null})),f(this,Rc).set(o,h)}e.setActualNumPages(r.size)}}async fontFallback(t,e){const{catalog:i,pdfManager:n}=this;for(const a of await Promise.all(i.fontCache))if(a.loadedName===t){a.fallback(e,n.evaluatorOptions);return}}async cleanup(t=!1){return this.catalog?this.catalog.cleanup(t):A8()}get fieldObjects(){const t=this.pdfManager.ensureDoc("formInfo").then(async e=>{if(!e.hasFields)return null;const i=await this.annotationGlobals;if(!i)return null;const{acroForm:n}=i,a=new is,r=Object.create(null),o=new Map,l=new Os;for(const h of n.get("Fields"))await S(this,ta,gS).call(this,"",null,h,o,i,a,l);const c=[];for(const[h,u]of o)c.push(Promise.all(u).then(d=>{d=d.filter(p=>!!p),d.length>0&&(r[h]=d)}));return await Promise.all(c),{allFields:b8(r)>0?r:null,orphanFields:l}});return mt(this,"fieldObjects",t)}get hasJSActions(){const t=this.pdfManager.ensureDoc("_parseHasJSActions");return mt(this,"hasJSActions",t)}async _parseHasJSActions(){const[t,e]=await Promise.all([this.pdfManager.ensureCatalog("jsActions"),this.pdfManager.ensureDoc("fieldObjects")]);return t?!0:e!=null&&e.allFields?Object.values(e.allFields).some(i=>i.some(n=>n.actions!==null)):!1}get calculationOrderIds(){var i;const t=(i=this.catalog.acroForm)==null?void 0:i.get("CO");if(!Array.isArray(t)||t.length===0)return mt(this,"calculationOrderIds",null);const e=[];for(const n of t)n instanceof ft&&e.push(n.toString());return mt(this,"calculationOrderIds",e.length?e:null)}get annotationGlobals(){return mt(this,"annotationGlobals",Ca.createGlobals(this.pdfManager))}async toJSObject(t,e=!0){throw new Error("Not implemented: toJSObject")}};Rc=new WeakMap,f2=new WeakMap,ta=new WeakSet,mS=function(t,e=0){return Array.isArray(t)?t.every(i=>{if(i=this.xref.fetchIfRef(i),!(i instanceof z))return!1;if(i.has("Kids"))return++e>10?(H("#hasOnlyDocumentSignatures: maximum recursion depth reached"),!1):S(this,ta,mS).call(this,i.get("Kids"),e);const n=we(i.get("FT"),"Sig"),a=i.get("Rect"),r=Array.isArray(a)&&a.every(o=>o===0);return n&&r}):!1},jV=async function(){const t=await this.pdfManager.ensureCatalog("xfaImages");t&&this.xfaFactory.setImages(t)},yV=async function(t,e){const i=await this.pdfManager.ensureCatalog("acroForm");if(!i)return;const n=await i.getAsync("DR");if(!(n instanceof z))return;await wp.load(n,["Font"],this.xref);const a=n.get("Font");if(!(a instanceof z))return;const r=Object.assign(Object.create(null),this.pdfManager.evaluatorOptions,{useSystemFonts:!1}),{builtInCMapCache:o,fontCache:l,standardFontDataCache:c}=this.catalog,h=new Wg({xref:this.xref,handler:t,pageIndex:-1,idFactory:this._globalIdFactory,fontCache:l,builtInCMapCache:o,standardFontDataCache:c,options:r}),u=new dn,d=[],p={get font(){return d.at(-1)},set font(j){d.push(j)},clone(){return this}},g=m((j,k,q)=>h.handleSetFont(n,[at.get(j),1],null,u,e,p,k,q).catch(A=>(H(`loadXfaFonts: "${A}".`),null)),"parseFont"),b=[];for(const[j,k]of a){const q=k.get("FontDescriptor");if(!(q instanceof z))continue;let A=q.get("FontFamily");A=A.replaceAll(/[ ]+(\d)/g,"$1");const I=q.get("FontWeight"),C=-q.get("ItalicAngle"),F={fontFamily:A,fontWeight:I,italicAngle:C};FU(F)&&b.push(g(j,null,F))}await Promise.all(b);const w=this.xfaFactory.setFonts(d);if(!w)return;r.ignoreErrors=!0,b.length=0,d.length=0;const y=new Set;for(const j of w)q8(`${j}-Regular`)||y.add(j);y.size&&w.push("PdfJS-Fallback");for(const j of w)if(!y.has(j))for(const k of[{name:"Regular",fontWeight:400,italicAngle:0},{name:"Bold",fontWeight:700,italicAngle:0},{name:"Italic",fontWeight:400,italicAngle:12},{name:"BoldItalic",fontWeight:700,italicAngle:12}]){const q=`${j}-${k.name}`;b.push(g(q,tF(q),{fontFamily:j,fontWeight:k.fontWeight,italicAngle:k.italicAngle}))}await Promise.all(b),this.xfaFactory.appendFonts(d,y)},vV=async function(t){const{catalog:e,linearization:i,xref:n}=this,a=ft.get(i.objectNumberFirst,0);try{const r=await n.fetchAsync(a);if(r instanceof z){let o=r.getRaw("Type");if(o instanceof ft&&(o=await n.fetchAsync(o)),we(o,"Page")||!r.has("Type")&&!r.has("Kids")&&r.has("Contents"))return e.pageKidsCountCache.has(a)||e.pageKidsCountCache.put(a,1),e.pageIndexCache.has(a)||e.pageIndexCache.put(a,0),[r,a]}throw new tt("The Linearization dictionary doesn't point to a valid Page dictionary.")}catch(r){return H(`_getLinearizationPage: "${r.message}".`),e.getPageDict(t)}},gS=async function(t,e,i,n,a,r,o){const{xref:l}=this;if(!(i instanceof ft)||r.has(i))return;r.put(i);const c=await l.fetchAsync(i);if(!(c instanceof z))return;let h=await c.getAsync("Subtype");if(h=h instanceof at?h.name:null,h==="Link")return;if(c.has("T")){const d=ce(await c.getAsync("T"));t=t===""?d:`${t}.${d}`}else{let d=c;for(;;){if(d=d.getRaw("Parent")||e,d instanceof ft){if(r.has(d))break;d=await l.fetchAsync(d)}if(!(d instanceof z))break;if(d.has("T")){const p=ce(await d.getAsync("T"));t=t===""?p:`${t}.${p}`;break}}}if(e&&!c.has("Parent")&&we(c.get("Subtype"),"Widget")&&o.put(i,e),n.getOrInsertComputed(t,w8).push(Ca.create(l,i,a,null,!0,o,null,null).then(d=>d==null?void 0:d.getFieldObject()).catch(function(d){return H(`#collectFieldObjects: "${d}".`),null})),!c.has("Kids"))return;const u=await c.getAsync("Kids");if(Array.isArray(u))for(const d of u)await S(this,ta,gS).call(this,t,i,d,n,a,r,o)},m(NN,"PDFDocument");let m6=NN;function kV(s){if(s){const t=Sg(s);if(t)return t.href;H(`Invalid absolute docBaseUrl: "${s}".`)}return null}m(kV,"parseDocBaseUrl");const LN=class LN{constructor({docBaseUrl:t,docId:e,enableXfa:i,evaluatorOptions:n,handler:a,password:r}){if(this._docBaseUrl=kV(t),this._docId=e,this._password=r,this.enableXfa=i,n.isOffscreenCanvasSupported&&(n.isOffscreenCanvasSupported=Ji.isOffscreenCanvasSupported),n.isImageDecoderSupported&&(n.isImageDecoderSupported=Ji.isImageDecoderSupported),n.enableWebGPU){let l=!1;n.prepareWebGPU=()=>{l||(l=!0,a.send("PrepareWebGPU",null))}}delete n.enableWebGPU,this.evaluatorOptions=Object.freeze(n),wr.setOptions(n),dp.setOptions(n),dn.setOptions(n);const o={...n,handler:a};pp.setOptions(o),Qu.setOptions(o),Mg.setOptions(o),up.setOptions(o)}get docId(){return this._docId}get password(){return this._password}get docBaseUrl(){return this._docBaseUrl}ensureDoc(t,e){return this.ensure(this.pdfDocument,t,e)}ensureXRef(t,e){return this.ensure(this.pdfDocument.xref,t,e)}ensureCatalog(t,e){return this.ensure(this.pdfDocument.catalog,t,e)}getPage(t){return this.pdfDocument.getPage(t)}fontFallback(t,e){return this.pdfDocument.fontFallback(t,e)}cleanup(t=!1){return this.pdfDocument.cleanup(t)}async ensure(t,e,i){oe("Abstract method `ensure` called")}requestRange(t,e){oe("Abstract method `requestRange` called")}requestLoadedStream(t=!1){oe("Abstract method `requestLoadedStream` called")}sendProgressiveData(t){oe("Abstract method `sendProgressiveData` called")}updatePassword(t){this._password=t}terminate(t){oe("Abstract method `terminate` called")}};m(LN,"BasePdfManager");let g6=LN;const zN=class zN extends g6{constructor(t){super(t);const e=new Ne(t.source);this.pdfDocument=new m6(this,e),this._loadedStreamPromise=Promise.resolve(e)}async ensure(t,e,i){const n=t[e];return typeof n=="function"?n.apply(t,i):n}requestRange(t,e){return Promise.resolve()}requestLoadedStream(t=!1){return this._loadedStreamPromise}terminate(t){}};m(zN,"LocalPdfManager");let Ym=zN;const _N=class _N extends g6{constructor(t){super(t),this.streamManager=new A7(t.source,{msgHandler:t.handler,length:t.length,disableAutoFetch:t.disableAutoFetch,rangeChunkSize:t.rangeChunkSize}),this.pdfDocument=new m6(this,this.streamManager.getStream())}async ensure(t,e,i){try{const n=t[e];return typeof n=="function"?n.apply(t,i):n}catch(n){if(!(n instanceof $e))throw n;return await this.requestRange(n.begin,n.end),this.ensure(t,e,i)}}requestRange(t,e){return this.streamManager.requestRange(t,e)}requestLoadedStream(t=!1){return this.streamManager.requestAllChunks(t)}sendProgressiveData(t){this.streamManager.onReceiveData({chunk:t})}terminate(t){this.streamManager.abort(t)}};m(_N,"NetworkPdfManager");let bS=_N;const N9={DATA:1,ERROR:2},Zs={CANCEL:1,CANCEL_COMPLETE:2,CLOSE:3,ENQUEUE:4,ERROR:5,PULL:6,PULL_COMPLETE:7,START_COMPLETE:8};function wS(){}m(wS,"onFn$1");function Hn(s){if(s instanceof Gi||s instanceof Cg||s instanceof cp||s instanceof h_||s instanceof z8)return s;switch(s instanceof Error||typeof s=="object"&&s!==null||oe('wrapReason: Expected "reason" to be a (possibly cloned) Error.'),s.name){case"AbortException":return new Gi(s.message);case"InvalidPDFException":return new Cg(s.message);case"PasswordException":return new cp(s.message,s.code);case"ResponseException":return new h_(s.message,s.status,s.missing);case"UnknownErrorException":return new z8(s.message,s.details)}return new z8(s.message,s.toString())}m(Hn,"wrapReason$1");var Td,ar,qV,xV,AV,p5,Fd;let W_=(Fd=class{constructor(t,e,i){T(this,ar);T(this,Td,new AbortController);this.sourceName=t,this.targetName=e,this.comObj=i,this.callbackId=1,this.streamId=1,this.streamSinks=Object.create(null),this.streamControllers=Object.create(null),this.callbackCapabilities=Object.create(null),this.actionHandler=Object.create(null),i.addEventListener("message",S(this,ar,qV).bind(this),{signal:f(this,Td).signal})}on(t,e){const i=this.actionHandler;if(i[t])throw new Error(`There is already an actionName called "${t}"`);i[t]=e}send(t,e,i){this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:t,data:e},i)}sendWithPromise(t,e,i){const n=this.callbackId++,a=Promise.withResolvers();this.callbackCapabilities[n]=a;try{this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:t,callbackId:n,data:e},i)}catch(r){a.reject(r)}return a.promise}sendWithStream(t,e,i,n){const a=this.streamId++,r=this.sourceName,o=this.targetName,l=this.comObj;return new ReadableStream({start:m(c=>{const h=Promise.withResolvers();return this.streamControllers[a]={controller:c,startCall:h,pullCall:null,cancelCall:null,isClosed:!1},l.postMessage({sourceName:r,targetName:o,action:t,streamId:a,data:e,desiredSize:c.desiredSize},n),h.promise},"start"),pull:m(c=>{const h=Promise.withResolvers();return this.streamControllers[a].pullCall=h,l.postMessage({sourceName:r,targetName:o,stream:Zs.PULL,streamId:a,desiredSize:c.desiredSize}),h.promise},"pull"),cancel:m(c=>{ss(c instanceof Error,"cancel must have a valid reason");const h=Promise.withResolvers();return this.streamControllers[a].cancelCall=h,this.streamControllers[a].isClosed=!0,l.postMessage({sourceName:r,targetName:o,stream:Zs.CANCEL,streamId:a,reason:Hn(c)}),h.promise},"cancel")},i)}destroy(){var t;(t=f(this,Td))==null||t.abort(),x(this,Td,null)}},Td=new WeakMap,ar=new WeakSet,qV=function({data:t}){if(t.targetName!==this.sourceName)return;if(t.stream){S(this,ar,AV).call(this,t);return}if(t.callback){const i=t.callbackId,n=this.callbackCapabilities[i];if(!n)throw new Error(`Cannot resolve callback ${i}`);if(delete this.callbackCapabilities[i],t.callback===N9.DATA)n.resolve(t.data);else if(t.callback===N9.ERROR)n.reject(Hn(t.reason));else throw new Error("Unexpected callback case");return}const e=this.actionHandler[t.action];if(!e)throw new Error(`Unknown action from worker: ${t.action}`);if(t.callbackId){const i=this.sourceName,n=t.sourceName,a=this.comObj;Promise.try(e,t.data).then(function(r){a.postMessage({sourceName:i,targetName:n,callback:N9.DATA,callbackId:t.callbackId,data:r})},function(r){a.postMessage({sourceName:i,targetName:n,callback:N9.ERROR,callbackId:t.callbackId,reason:Hn(r)})});return}if(t.streamId){S(this,ar,xV).call(this,t);return}e(t.data)},xV=function(t){const e=t.streamId,i=this.sourceName,n=t.sourceName,a=this.comObj,r=this,o=this.actionHandler[t.action],l={enqueue(c,h=1,u){if(this.isCancelled)return;const d=this.desiredSize;this.desiredSize-=h,d>0&&this.desiredSize<=0&&(this.sinkCapability=Promise.withResolvers(),this.ready=this.sinkCapability.promise),a.postMessage({sourceName:i,targetName:n,stream:Zs.ENQUEUE,streamId:e,chunk:c},u)},close(){this.isCancelled||(this.isCancelled=!0,a.postMessage({sourceName:i,targetName:n,stream:Zs.CLOSE,streamId:e}),delete r.streamSinks[e])},error(c){ss(c instanceof Error,"error must have a valid reason"),!this.isCancelled&&(this.isCancelled=!0,a.postMessage({sourceName:i,targetName:n,stream:Zs.ERROR,streamId:e,reason:Hn(c)}))},sinkCapability:Promise.withResolvers(),onPull:null,onCancel:null,isCancelled:!1,desiredSize:t.desiredSize,ready:null};l.sinkCapability.resolve(),l.ready=l.sinkCapability.promise,this.streamSinks[e]=l,Promise.try(o,t.data,l).then(function(){a.postMessage({sourceName:i,targetName:n,stream:Zs.START_COMPLETE,streamId:e,success:!0})},function(c){a.postMessage({sourceName:i,targetName:n,stream:Zs.START_COMPLETE,streamId:e,reason:Hn(c)})})},AV=function(t){const e=t.streamId,i=this.sourceName,n=t.sourceName,a=this.comObj,r=this.streamControllers[e],o=this.streamSinks[e];switch(t.stream){case Zs.START_COMPLETE:t.success?r.startCall.resolve():r.startCall.reject(Hn(t.reason));break;case Zs.PULL_COMPLETE:t.success?r.pullCall.resolve():r.pullCall.reject(Hn(t.reason));break;case Zs.PULL:if(!o){a.postMessage({sourceName:i,targetName:n,stream:Zs.PULL_COMPLETE,streamId:e,success:!0});break}o.desiredSize<=0&&t.desiredSize>0&&o.sinkCapability.resolve(),o.desiredSize=t.desiredSize,Promise.try(o.onPull||wS).then(function(){a.postMessage({sourceName:i,targetName:n,stream:Zs.PULL_COMPLETE,streamId:e,success:!0})},function(c){a.postMessage({sourceName:i,targetName:n,stream:Zs.PULL_COMPLETE,streamId:e,reason:Hn(c)})});break;case Zs.ENQUEUE:if(ss(r,"enqueue should have stream controller"),r.isClosed)break;r.controller.enqueue(t.chunk);break;case Zs.CLOSE:if(ss(r,"close should have stream controller"),r.isClosed)break;r.isClosed=!0,r.controller.close(),S(this,ar,p5).call(this,r,e);break;case Zs.ERROR:ss(r,"error should have stream controller"),r.controller.error(Hn(t.reason)),S(this,ar,p5).call(this,r,e);break;case Zs.CANCEL_COMPLETE:t.success?r.cancelCall.resolve():r.cancelCall.reject(Hn(t.reason)),S(this,ar,p5).call(this,r,e);break;case Zs.CANCEL:if(!o)break;const l=Hn(t.reason);Promise.try(o.onCancel||wS,l).then(function(){a.postMessage({sourceName:i,targetName:n,stream:Zs.CANCEL_COMPLETE,streamId:e,success:!0})},function(c){a.postMessage({sourceName:i,targetName:n,stream:Zs.CANCEL_COMPLETE,streamId:e,reason:Hn(c)})}),o.sinkCapability.reject(l),o.isCancelled=!0,delete this.streamSinks[e];break;default:throw new Error("Unexpected stream case")}},p5=async function(t,e){var i,n,a;await Promise.allSettled([(i=t.startCall)==null?void 0:i.promise,(n=t.pullCall)==null?void 0:n.promise,(a=t.cancelCall)==null?void 0:a.promise]),delete this.streamControllers[e]},m(Fd,"MessageHandler"),Fd);async function jF(s,t,e,{encrypt:i=null,encryptRef:n=null}){const a=i&&n!==s?i.createCipherTransform(s.num,s.gen):null;e.push(`${s.num} ${s.gen} obj +`),await g9(t,e,a),e.push(` +endobj +`)}m(jF,"writeObject");async function B8(s,t,e){t.push("<<");for(const[i,n]of s.getRawEntries())t.push(` /${y8(i)} `),await g9(n,t,e);t.push(">>")}m(B8,"writeDict");async function SV(s,t,e){s=s.getOriginalStream(),s.reset();let i=s.getBytes();const{dict:n}=s,[a,r]=await Promise.all([n.getAsync("Filter"),n.getAsync("DecodeParms")]),o=Array.isArray(a)?await n.xref.fetchIfRefAsync(a[0]):a,l=we(o,"FlateDecode");if(i.length>=256&&!l)try{const h=new CompressionStream("deflate"),u=h.writable.getWriter();await u.ready,u.write(i).then(async()=>{await u.ready,await u.close()}).catch(()=>{}),i=await new Response(h.readable).bytes();let d,p;a?l||(d=Array.isArray(a)?[at.get("FlateDecode"),...a]:[at.get("FlateDecode"),a],r&&(p=Array.isArray(r)?[null,...r]:[null,r])):d=at.get("FlateDecode"),d&&n.set("Filter",d),p&&n.set("DecodeParms",p)}catch(h){ne(`writeStream - cannot compress data: "${h}".`)}let c=In(i);e&&(c=e.encryptString(c)),n.set("Length",c.length),await B8(n,t,e),t.push(` stream +`,c,` +endstream`)}m(SV,"writeStream");async function CV(s,t,e){t.push("[");for(let i=0,n=s.length;ie-1;n--)i[n]=s&255,s>>=8;return e+t}m(m5,"writeInt");function yF(s,t,e){const i=s.length;for(let n=0;nl.length)),r=new Uint8Array(a);let o=0;for(const l of n)o=yF(l,o,r);return In(sl(r,0,r.length))}m(IV,"computeMD5");function TV(s,t){const e=new bp({hasAttributes:!0}).parseFromString(s);for(const{xfa:n}of t){if(!n)continue;const{path:a,value:r}=n;if(!a)continue;const o=FT(a);let l=e.documentElement.searchNode(o,0);!l&&o.length>1&&(l=e.documentElement.searchNode([o.at(-1)],0)),l?l.childNodes=Array.isArray(r)?r.map(c=>new $u("value",c)):[new $u("#text",r)]:H(`Node not found for path: ${a}`)}const i=[];return e.documentElement.dump(i),i.join("")}m(TV,"writeXFADataForAcroform");async function FV({xref:s,acroForm:t,acroFormRef:e,hasXfa:i,hasXfaDatasetsEntry:n,xfaDatasetsRef:a,needAppearances:r,changes:o}){if(i&&!n&&!a&&H("XFA - Cannot save it"),!r&&(!i||!a||n))return;const l=t.clone();if(i&&!n){const c=t.get("XFA").slice();c.splice(2,0,"datasets"),c.splice(3,0,a),l.set("XFA",c)}r&&l.set("NeedAppearances",!0),o.put(e,{data:l})}m(FV,"updateAcroform");function EV({xfaData:s,xfaDatasetsRef:t,changes:e,xref:i}){if(s===null){const a=i.fetchIfRef(t);s=TV(a.getString(),e)}const n=new Fi(s);n.dict=new z(i),n.dict.setIfName("Type","EmbeddedFile"),e.put(t,{data:n})}m(EV,"updateXFA");async function RV(s,t,e,i,n){n.push(`xref +`);const a=vF(e);let r=0;for(const{ref:o,data:l}of e)o.num===a[r]&&(n.push(`${a[r]} ${a[r+1]} +`),r+=2),l!==null?(n.push(`${t.toString().padStart(10,"0")} ${Math.min(o.gen,65535).toString().padStart(5,"0")} n\r +`),t+=l.length):n.push(`0000000000 ${Math.min(o.gen+1,65535).toString().padStart(5,"0")} f\r +`);kF(t,s,i),n.push(`trailer +`),await B8(i,n,null),n.push(` +startxref +`,t.toString(),` +%%EOF +`)}m(RV,"getXRefTable");function vF(s){const t=[];for(const{ref:e}of s)e.num===t.at(-2)+t.at(-1)?t[t.length-1]+=1:t.push(e.num,1);return t}m(vF,"getIndexes");async function MV(s,t,e,i,n){const a=[];let r=0,o=0;for(const{ref:b,data:w,objStreamRef:y,index:j}of e){let k;r=Math.max(r,t),y?(k=j,a.push([2,y.num,k])):w!==null?(k=Math.min(b.gen,65535),a.push([1,t,k]),t+=w.length):(k=Math.min(b.gen+1,65535),a.push([0,0,k])),o=Math.max(o,k)}i.set("Index",vF(e));const l=f7(r),c=f7(o),h=[1,l,c];i.set("W",h),kF(t,s,i);const u=Math.sumPrecise(h),d=new Uint8Array(u*a.length),p=new Ne(d);p.dict=i;let g=0;for(const[b,w,y]of a)g=m5(b,h[0],g,d),g=m5(w,h[1],g,d),g=m5(y,h[2],g,d);await jF(s.newRef,p,n,{}),n.push(`startxref +`,t.toString(),` +%%EOF +`)}m(MV,"getXRefStreamTable");function kF(s,t,e){if(Array.isArray(t.fileIds)&&t.fileIds.length>0){const i=IV(s,t);e.set("ID",[t.fileIds[0]||i,i])}}m(kF,"computeIDs");function BV(s,t,e){const i=new z(null);i.setIfDefined("Prev",s==null?void 0:s.startXRef);const n=s.newRef;return e?(t.put(n,{data:""}),i.set("Size",n.num+1),i.setIfName("Type","XRef")):i.set("Size",n.num),i.setIfDefined("Root",s==null?void 0:s.rootRef),i.setIfDefined("Info",s==null?void 0:s.infoRef),i.setIfDefined("Encrypt",s==null?void 0:s.encryptRef),i}m(BV,"getTrailerDict");async function DV(s,t,e=[]){const i=[];for(const[n,{data:a,objStreamRef:r,index:o}]of s.items()){if(r){i.push({ref:n,data:a,objStreamRef:r,index:o});continue}if(a===null||typeof a=="string"){i.push({ref:n,data:a});continue}await jF(n,a,e,t),i.push({ref:n,data:e.join("")}),e.length=0}return i.sort((n,a)=>n.ref.num-a.ref.num)}m(DV,"writeChanges");async function qF({originalData:s,xrefInfo:t,changes:e,xref:i=null,hasXfa:n=!1,xfaDatasetsRef:a=null,hasXfaDatasetsEntry:r=!1,needAppearances:o,acroFormRef:l=null,acroForm:c=null,xfaData:h=null,useXrefStream:u=!1}){await FV({xref:i,acroForm:c,acroFormRef:l,hasXfa:n,hasXfaDatasetsEntry:r,xfaDatasetsRef:a,needAppearances:o,changes:e}),n&&EV({xfaData:h,xfaDatasetsRef:a,changes:e,xref:i});const d=BV(t,e,u),p=[],g=await DV(e,i,p);let b=s.length;const w=s.at(-1);w!==10&&w!==13&&(p.push(` +`),b+=1);for(const{data:q}of g)q!==null&&p.push(q);await(u?MV(t,b,g,d,p):RV(t,b,g,d,p));const y=s.length+Math.sumPrecise(p.map(q=>q.length)),j=new Uint8Array(y);j.set(s);let k=s.length;for(const q of p)k=yF(q,k,j);return j}m(qF,"incrementalUpdate");const aJ=16,rJ=64,UN=class UN{constructor(t,e){this.page=t,this.documentData=e,this.annotations=null,this.pointingNamedDestinations=null,e.pagesMap.put(t.ref,this)}};m(UN,"PageData");let jS=UN;const GN=class GN{constructor(t){this.document=t,this.destinations=null,this.pageLabels=null,this.pagesMap=new Os,this.oldRefMapping=new Os,this.dedupNamedDestinations=new Map,this.usedNamedDestinations=new Set,this.postponedRefCopies=new Os,this.usedStructParents=new Set,this.oldStructParentMapping=new Map,this.structTreeRoot=null,this.parentTree=null,this.idTree=null,this.roleMap=null,this.classMap=null,this.namespaces=null,this.structTreeAF=null,this.structTreePronunciationLexicon=[],this.acroForm=null,this.acroFormDefaultAppearance="",this.acroFormDefaultResources=null,this.acroFormQ=0,this.hasSignatureAnnotations=!1,this.fieldToParent=new Os,this.outline=null}};m(GN,"DocumentData");let yS=GN;const $N=class $N{constructor(t,e){this.entries=t,this._getNewRef=e}fetch(t){return t instanceof ft?this.entries[t.num]:t}fetchIfRefAsync(t){return Promise.resolve(this.fetch(t))}fetchIfRef(t){return this.fetch(t)}fetchAsync(t){return Promise.resolve(this.fetch(t))}getNewTemporaryRef(){return this._getNewRef()}};m($N,"XRefWrapper");let vS=$N;var Ed,kt,cm,mi,qS,PV,HV,OV,NV,hm,LV,zV,_V,UV,GV,$V,xS,VV,WV,KV,XV,YV,QV,JV,ZV,tW,eW,sW,iW,nW,aW,fm,rW,oW,lW,cW,hW,fW,uW,dW,pW;const VN=class VN{constructor({useObjectStreams:t=!0,title:e="",author:i=""}={}){T(this,kt);R(this,"hasSingleFile",!1);T(this,Ed,null);R(this,"currentDocument",null);R(this,"oldPages",[]);R(this,"newPages",[]);R(this,"xref",[null]);R(this,"xrefWrapper",new vS(this.xref,()=>this.newRef));R(this,"newRefCount",1);R(this,"namesDict",null);R(this,"version","1.7");R(this,"pageLabels",null);R(this,"namedDestinations",new Map);R(this,"parentTree",new Map);R(this,"structTreeKids",[]);R(this,"idTree",new Map);R(this,"classMap",new z);R(this,"roleMap",new z);R(this,"namespaces",new Map);R(this,"structTreeAF",[]);R(this,"structTreePronunciationLexicon",[]);R(this,"fields",[]);R(this,"acroFormDefaultAppearance","");R(this,"acroFormDefaultResources",null);R(this,"acroFormNeedAppearances",!1);R(this,"acroFormSigFlags",0);R(this,"acroFormCalculationOrder",null);R(this,"acroFormQ",0);R(this,"outlineItems",null);[this.rootRef,this.rootDict]=this.newDict,[this.infoRef,this.infoDict]=this.newDict,[this.pagesRef,this.pagesDict]=this.newDict,this.useObjectStreams=t,this.objStreamRefs=t?new Set:null,this.title=e,this.author=i}get newRef(){return ft.get(this.newRefCount++,0)}get newDict(){const t=this.newRef,e=this.xref[t.num]=new z;return[t,e]}cloneDict(t){const e=t.clone();return e.xref=this.xrefWrapper,e}async extractPages(t,e,i,n){const a=[];let r=0;this.hasSingleFile=t.length===1;const o=[];e&&x(this,Ed,{handler:i,task:n,newAnnotationsByPage:v8(e),imagesPromises:Ca.generateImages(e.values(),this.xrefWrapper,!0)});for(const{document:l,includePages:c,excludePages:h,pageIndices:u}of t){if(!l)continue;u&&(r=-1);const d=new yS(l);o.push(d),a.push(S(this,kt,PV).call(this,d));let p,g,b,w;for(const j of c||[])Array.isArray(j)?(g||(g=[])).push(j):(p||(p=new Set)).add(j);for(const j of h||[])Array.isArray(j)?(w||(w=[])).push(j):(b||(b=new Set)).add(j);let y=0;for(let j=0,k=l.numPages;j=C&&j<=F){I=!0;break}if(I)continue}let q=!1;if(p&&(q=p.has(j)),!q&&g){for(const[I,C]of g)if(j>=I&&j<=C){q=!0;break}}if(!q&&!p&&!g&&(q=!0),!q)continue;let A;if(u&&(A=u[y++]),A===void 0)if(r!==-1)A=r++;else for(A=0;this.oldPages[A]!==void 0;A++);this.oldPages[A]=null,a.push(l.getPage(j).then(I=>{this.oldPages[A]=new jS(I,d)}))}}await Promise.all(a),a.length=0,S(this,kt,zV).call(this,o),S(this,kt,GV).call(this,o),S(this,kt,iW).call(this);for(const l of this.oldPages)a.push(S(this,kt,HV).call(this,l));await Promise.all(a),S(this,kt,_V).call(this),S(this,kt,OV).call(this,o);for(let l=0,c=this.oldPages.length;ll.charCodeAt(0)),250,222,250,206];return qF({originalData:new Uint8Array(o),changes:a,xrefInfo:{startXRef:null,rootRef:this.rootRef,infoRef:this.infoRef,encryptRef:e,newRef:r,fileIds:n||[null,null],infoMap:t},useXrefStream:this.useObjectStreams,xref:{encrypt:i,encryptRef:e}})}};Ed=new WeakMap,kt=new WeakSet,cm=async function(t,e){const i=this.newRef;return this.xref[i.num]=await S(this,kt,mi).call(this,t,!0,e),i},mi=async function(t,e,i){if(t instanceof ft){const{currentDocument:{oldRefMapping:o}}=this;let l=o.get(t);if(l)return l;const c=t;return t=await i.fetchAsync(c),typeof t=="number"?t:(l=this.newRef,o.put(c,l),this.xref[l.num]=await S(this,kt,mi).call(this,t,!0,i),l)}const n=[],{currentDocument:{postponedRefCopies:a}}=this;if(Array.isArray(t)){e&&(t=t.slice());for(let o=0,l=t.length;ot[o]=h);continue}n.push(S(this,kt,mi).call(this,t[o],!0,i).then(h=>t[o]=h))}return await Promise.all(n),t}let r;if(t instanceof Qt?({dict:r}=t=t.getOriginalStream().clone(),r.xref=this.xrefWrapper):t instanceof z&&(e&&(t=t.clone(),t.xref=this.xrefWrapper),r=t),r){for(const[o,l]of r.getRawEntries()){const c=l instanceof ft&&a.get(l);if(c){c.push(h=>r.set(o,h));continue}n.push(S(this,kt,mi).call(this,l,!0,i).then(h=>r.set(o,h)))}await Promise.all(n)}return t},qS=async function(t,e,i,n,a,r,o,l=new is){const{currentDocument:{pagesMap:c,oldRefMapping:h}}=this,u=e.getRaw("Pg");if(u instanceof ft&&!c.has(u))return null;let d;const p=d=e.getRaw("K");if(p instanceof ft){if(l.has(p))return null;d=await i.fetchAsync(p),Array.isArray(d)||(d=[p])}d=Array.isArray(d)?d:[d];const g=[],b=[];for(let I of d){const C=I instanceof ft?I:null;if(C){if(l.has(C))continue;l.put(C),I=await i.fetchAsync(C)}if(typeof I=="number"){g.push(I);continue}if(!(I instanceof z))continue;const F=I.getRaw("Pg");if(F instanceof ft&&!c.has(F))continue;const E=I.get("Type");if(!E||we(E,"StructElem")){let D=!1;if(C&&n.has(C)){if(!we(I.get("S"),"Link"))continue;D=!0}const M=await S(this,kt,qS).call(this,C,I,i,n,a,r,o,l);M&&(b.push(g.length),g.push(M),C&&h.put(C,M),D&&this.xref[M.num].setIfName("S","Span"));continue}if(we(E,"OBJR")){if(!C)continue;const D=h.get(C);if(!D)continue;const M=this.xref[D.num].getRaw("Obj");if(M instanceof ft){const _=this.xref[M.num];if(_ instanceof z&&!_.has("StructParent")&&t){const G=this.parentTree.size;this.parentTree.set(G,[h,t]),_.set("StructParent",G)}}g.push(D);continue}if(we(E,"MCR")){const D=await S(this,kt,mi).call(this,C||I,!0,i);g.push(D);continue}if(C){const D=await S(this,kt,mi).call(this,C,!0,i);g.push(D)}}if(d.length!==0&&g.length===0)return null;const w=this.newRef,y=this.xref[w.num]=this.cloneDict(e);y.delete("ID"),y.delete("C"),y.delete("K"),y.delete("P"),y.delete("S"),await S(this,kt,mi).call(this,y,!1,i);const j=e.get("C");if(j instanceof at){const I=r.get(j.name);I?y.set("C",at.get(I)):y.set("C",j)}else if(Array.isArray(j)){const I=[];for(const C of j)if(C instanceof at){const F=r.get(C.name);F?I.push(at.get(F)):I.push(C)}y.set("C",I)}const k=e.get("S");if(k instanceof at){const I=o.get(k.name);I?y.set("S",at.get(I)):y.set("S",k)}const q=e.get("ID");if(typeof q=="string"){const I=ce(q,!1),C=a.get(I);C?y.set("ID",Ii(C)):y.set("ID",q)}let A=y.get("A");if(A){Array.isArray(A)||(A=[A]);for(let I of A)if(I=this.xrefWrapper.fetch(I),we(I.get("O"),"Table")&&I.has("Headers")){const C=this.xrefWrapper.fetch(I.getRaw("Headers"));if(Array.isArray(C))for(let F=0,E=C.length;F1&&y.set("K",g),w},PV=async function(t){const{document:{pdfManager:e,xref:i}}=t;await Promise.all([e.ensureCatalog("destinations").then(a=>t.destinations=a),e.ensureCatalog("rawPageLabels").then(a=>t.pageLabels=a),e.ensureCatalog("structTreeRoot").then(a=>t.structTreeRoot=a),e.ensureCatalog("acroForm").then(a=>t.acroForm=a),e.ensureCatalog("documentOutlineForEditor").then(a=>t.outline=a)]);const n=t.structTreeRoot;if(n){const a=n.dict,r=a.get("ParentTree");if(r){const c=new t1(r,i);t.parentTree=c.getAll(!0)}const o=a.get("IDTree");if(o){const c=new Zo(o,i);t.idTree=c.getAll(!0)}t.roleMap=a.get("RoleMap")||null,t.classMap=a.get("ClassMap")||null;let l=a.get("Namespaces")||null;l&&!Array.isArray(l)&&(l=[l]),t.namespaces=l,t.structTreeAF=a.get("AF")||null,t.structTreePronunciationLexicon=a.get("PronunciationLexicon")||null}},HV=async function(t){var d;const{page:{xref:e,annotations:i},documentData:{pagesMap:n,destinations:a,usedNamedDestinations:r,fieldToParent:o}}=t;if(!i)return;const l=[];let c=[],h=0,{hasSignatureAnnotations:u}=t.documentData;for(const p of i){const g=h++;l.push(e.fetchIfRefAsync(p).then(async b=>{if(!we(b.get("Subtype"),"Link")){if(we(b.get("Subtype"),"Widget")){u||(u=we(b.get("FT"),"Sig"));const j=b.get("Parent")||null;b.delete("Parent"),o.put(p,j)}c[g]=p;return}const w=b.get("A"),y=w instanceof z?w.get("D"):b.get("Dest");if(!y||Array.isArray(y)&&(!(y[0]instanceof ft)||n.has(y[0])))c[g]=p;else if(typeof y=="string"){const j=ce(y,!0);a.has(j)&&(c[g]=p,r.add(j))}}))}await Promise.all(l),c=c.filter(p=>!!p),t.annotations=c.length>0?c:null,(d=t.documentData).hasSignatureAnnotations||(d.hasSignatureAnnotations=u)},OV=function(t){for(const{postponedRefCopies:e,pagesMap:i}of t)for(const n of i.keys())e.put(n,[])},NV=function(t){for(const{postponedRefCopies:e,oldRefMapping:i}of t){for(const[n,a]of e.items()){const r=i.get(n);for(const o of a)o(r)}e.clear()}},hm=function(t,e,i=new is){if(t instanceof ft){i.has(t)||(i.put(t),S(this,kt,hm).call(this,this.xref[t.num],e,i));return}if(Array.isArray(t)){for(const a of t)S(this,kt,hm).call(this,a,e,i);return}let n;if(t instanceof Qt?{dict:n}=t:t instanceof z&&(n=t),n){e(n);for(const a of n.getRawValues())S(this,kt,hm).call(this,a,e,i)}},LV=async function(t){let e=0;const{parentTree:i}=this;for(let u=0,d=this.newPages.length;u{const I=A.get("StructParent")??A.get("StructParents");if(typeof I!="number")return;w.add(I);let C=p.get(I);const F=C instanceof ft?C:null;if(F){const D=y.fetch(F);Array.isArray(D)&&(C=D)}if(Array.isArray(C)&&C.every(D=>D===null)&&(C=null),!C){A.has("StructParent")?A.delete("StructParent"):A.delete("StructParents");return}let E=b.get(I);E===void 0&&(E=e++,b.set(I,E),i.set(E,[g,C])),A.has("StructParent")?A.set("StructParent",E):A.set("StructParents",E)},q)}const{structTreeKids:n,idTree:a,classMap:r,roleMap:o,namespaces:l,structTreeAF:c,structTreePronunciationLexicon:h}=this;for(const u of t){const{document:{xref:d},oldRefMapping:p,parentTree:g,usedStructParents:b,structTreeRoot:w,idTree:y,classMap:j,roleMap:k,namespaces:q,structTreeAF:A,structTreePronunciationLexicon:I}=u;if(!w)continue;this.currentDocument=u;const C=new is;for(const[_,G]of g||[])!b.has(_)&&G instanceof ft&&C.put(G);const F=new Map;for(const[_,G]of y||[]){let K=_;if(a.has(_))for(let it=1;;it++){const $=`${_}_${it}`;if(!a.has($)){F.set(_,$),K=$;break}}a.set(K,G)}const E=new Map;if((j==null?void 0:j.size)>0)for(let[_,G]of j){if(G=await S(this,kt,mi).call(this,G,!0,d),r.has(_))for(let K=1;;K++){const it=`${_}_${K}`;if(!r.has(it)){E.set(_,it),_=it;break}}r.set(_,G)}const D=new Map;if((k==null?void 0:k.size)>0)for(const[_,G]of k){const K=o.get(_);if(!K){o.set(_,G);continue}if(K!==G)for(let it=1;;it++){const $=`${_}_${it}`;if(!o.has($)){D.set(_,$),o.set($,G);break}}}if((q==null?void 0:q.length)>0)for(const _ of q){const G=await d.fetchIfRefAsync(_);let K=G.get("NS");if(!K||l.has(K))continue;K=ce(K,!1);const it=await S(this,kt,mi).call(this,G,!0,d);l.set(K,it)}if(A)for(const _ of A)c.push(await S(this,kt,mi).call(this,_,!0,d));if(I)for(const _ of I)h.push(await S(this,kt,mi).call(this,_,!0,d));let M=w.dict.get("K");if(M){M=Array.isArray(M)?M:[M];for(let _ of M){const G=_ instanceof ft?_:null;if(G&&C.has(G))continue;_=await d.fetchIfRefAsync(_);const K=await S(this,kt,qS).call(this,G,_,d,C,F,E,D);K&&n.push(K)}for(const[_,G]of y||[]){const K=G instanceof ft&&p.get(G),it=F.get(_)||_;K?a.set(it,K):a.delete(it)}}}for(const[u,[d,p]]of i){if(!p){i.delete(u);continue}if(!Array.isArray(p)){const b=d.get(p);b===void 0?i.delete(u):i.set(u,b);continue}const g=p.map(b=>b instanceof ft&&d.get(b)||null);if(g.length===0||g.every(b=>b===null)){i.delete(u);continue}i.set(u,g)}this.currentDocument=null},zV=function(t){for(const e of t){if(!e.destinations)continue;const{destinations:i,pagesMap:n}=e,a=e.destinations=new Map;for(const[r,o]of Object.entries(i)){const l=o[0],c=l instanceof ft&&n.get(l);c&&((c.pointingNamedDestinations||(c.pointingNamedDestinations=new Set)).add(r),a.set(r,o))}}},_V=function(){const{namedDestinations:t}=this,e=m(i=>{if(!t.has(i))return i;for(let n=1;;n++){const a=`${i}_${n}`;if(!t.has(a))return a}},"getUniqueDestinationName");for(let i=0,n=this.oldPages.length;i{typeof r=="string"&&n.set(a,e.get(ce(r,!0))||r)},"fixDestination");for(const n of t){const a=this.xref[n.num];if(!we(a.get("Subtype"),"Link"))continue;const r=a.get("A");if(r instanceof z&&r.has("D")){const l=r.get("D");i(r,"D",l);continue}const o=a.get("Dest");i(a,"Dest",o)}},GV=function(t){const e=m((i,n,a)=>{for(const r of i)typeof r.dest=="string"&&(n!=null&&n.has(r.dest))&&a.add(r.dest),r.items.length>0&&e(r.items,n,a)},"collect");for(const i of t){const{outline:n,destinations:a,usedNamedDestinations:r}=i;n!=null&&n.length&&e(n,a,r)}},$V=function(t,e){const{dest:i,action:n,url:a,unsafeUrl:r,attachment:o,setOCGState:l}=t;if(n||a||r||o||l)return!0;if(!i)return!1;if(typeof i=="string"){const c=e.dedupNamedDestinations.get(i)||i;return this.namedDestinations.has(c)}return Array.isArray(i)&&i[0]instanceof ft?!!e.oldRefMapping.get(i[0]):!1},xS=function(t,e){const i=[];for(const n of t){const a=S(this,kt,xS).call(this,n.items,e),r=S(this,kt,$V).call(this,n,e);(r||a.length>0)&&i.push({...n,dest:r?n.dest:null,items:a,_documentData:e})}return i},VV=function(t){const e=[];for(const i of t){const{outline:n}=i;n!=null&&n.length&&e.push(...S(this,kt,xS).call(this,n,i))}this.outlineItems=e.length>0?e:null},WV=async function(t,e){const{dest:i,rawDict:n}=e,a=e._documentData;if(i){if(typeof i=="string"){const o=a.dedupNamedDestinations.get(i)||i;t.set("Dest",Ii(o))}else if(Array.isArray(i)){const o=i.slice();o[0]instanceof ft&&(o[0]=a.oldRefMapping.get(o[0])||o[0]),t.set("Dest",o)}return}const r=n==null?void 0:n.get("A");if(r instanceof z){this.currentDocument=a;const o=await S(this,kt,cm).call(this,r,a.document.xref);this.currentDocument=null,t.set("A",o)}},KV=async function(){const{outlineItems:t}=this;if(!(t!=null&&t.length))return;const[e,i]=this.newDict;i.setIfName("Type","Outlines");const n=m(o=>{for(const l of o)[l._ref]=this.newDict,l.items.length>0&&n(l.items)},"assignRefs");n(t);const a=m(async(o,l)=>{let c=0;for(let h=0;h0&&d.set("Prev",o[h-1]._ref),h0){d.set("First",u.items[0]._ref),d.set("Last",u.items.at(-1)._ref);const g=await a(u.items,u._ref);u.count!==void 0&&d.set("Count",u.count<0?-g:g),c+=u.count!==void 0&&u.count<0?1:g+1}else c+=1;await S(this,kt,WV).call(this,d,u);const p=(u.bold?2:0)|(u.italic?1:0);p!==0&&d.set("F",p),u.color&&(u.color[0]!==0||u.color[1]!==0||u.color[2]!==0)&&d.set("C",[u.color[0]/255,u.color[1]/255,u.color[2]/255])}return c},"fillItems"),r=await a(t,e);i.set("First",t[0]._ref),i.set("Last",t.at(-1)._ref),i.set("Count",r),this.rootDict.set("Outlines",e)},XV=async function(t){var i;S(this,kt,QV).call(this,t),S(this,kt,ZV).call(this,t),S(this,kt,YV).call(this,t),await S(this,kt,tW).call(this,t);const e=this.fields;for(const n of t){let a=((i=n.acroForm)==null?void 0:i.get("Fields"))||null;!a&&n.fieldToParent.size>0&&(a=S(this,kt,eW).call(this,n.fieldToParent,n.document.xref)),Array.isArray(a)&&a.length>0&&(this.currentDocument=n,await S(this,kt,sW).call(this,e,a),this.currentDocument=null)}S(this,kt,JV).call(this,t)},YV=function(t){var n;let e=0,i=null;for(const a of t){const r=(n=a.acroForm)==null?void 0:n.get("Q");if(!(typeof r!="number"||r===0)){if((i==null?void 0:i.acroFormQ)>0){a.acroFormQ=r;continue}if(e===0){e=r,i=a;continue}r!==e&&(i.acroFormQ||(i.acroFormQ=e),a.acroFormQ=r,e=0)}}e>0&&(this.acroFormQ=e)},QV=function(t){let e=0,i=!1;for(const n of t){if(!n.acroForm)continue;const a=n.acroForm.get("SigFlags");typeof a=="number"&&n.hasSignatureAnnotations&&(e|=a),n.acroForm.get("NeedAppearances")===!0&&(i=!0)}this.acroFormSigFlags=e,this.acroFormNeedAppearances=i},JV=function(t){var i;const e=[];for(const n of t){const a=((i=n.acroForm)==null?void 0:i.get("CO"))||null;if(!Array.isArray(a))continue;const{oldRefMapping:r}=n;for(const o of a){const l=o instanceof ft&&r.get(o);l&&e.push(l)}}this.acroFormCalculationOrder=e.length>0?e:null},ZV=function(t){var n;let e=null,i=null;for(const a of t){const r=((n=a.acroForm)==null?void 0:n.get("DA"))||null;if(!(!r||typeof r!="string")){if(i!=null&&i.acroFormDefaultAppearance){a.acroFormDefaultAppearance=r;continue}if(!e){e=r,i=a;continue}r!==e&&(i.acroFormDefaultAppearance||(i.acroFormDefaultAppearance=e),a.acroFormDefaultAppearance=r,e=null)}}e&&(this.acroFormDefaultAppearance=e)},tW=async function(t){var a;let e=null,i=null,n=null;for(const r of t){const o=((a=r.acroForm)==null?void 0:a.get("DR"))||null;if(!(!o||!(o instanceof z))){if(n!=null&&n.acroFormDefaultResources){r.acroFormDefaultResources=o;continue}if(!e){e=o,i=r.acroForm.getRaw("DR"),n=r;continue}s3(e,o)||(n.acroFormDefaultResources||(n.acroFormDefaultResources=e),r.acroFormDefaultResources=o,e=null,i=null)}}e&&(this.currentDocument=n,this.acroFormDefaultResources=await S(this,kt,mi).call(this,i,!0,n.document.xref),this.currentDocument=null)},eW=function(t,e){var a;const i=[],n=new is;for(const[r,o]of t){if(!o){i.push(r);continue}let l=o,c=o;for(;l=((a=e.fetchIfRef(l))==null?void 0:a.getRaw("Parent"))||null,!!l;)c=l;c instanceof ft&&!n.has(c)&&(i.push(c),n.put(c))}return i},sW=async function(t,e){const i=new is,n=[{kids:e,newKids:t,pos:0,oldParentRef:null,parentRef:null,parent:null}],{document:{xref:a},oldRefMapping:r,fieldToParent:o,acroFormDefaultAppearance:l,acroFormDefaultResources:c,acroFormQ:h}=this.currentDocument,u=[],d=[];for(;n.length>0;){const g=n.at(-1),{kids:b,newKids:w,parent:y,pos:j}=g;if(j===b.length){if(n.pop(),w.length===0||!y)continue;const C=this.xref[g.parentRef.num]=this.cloneDict(y);if(C.delete("Parent"),C.delete("Kids"),await S(this,kt,mi).call(this,C,!1,a),C.set("Kids",w),n.length>0){const F=n.at(-1);if(!F.parentRef&&F.oldParentRef){const E=F.parentRef=this.newRef;C.set("Parent",E),r.put(F.oldParentRef,E)}F.newKids.push(g.parentRef)}continue}const k=b[g.pos++];if(!(k instanceof ft)||i.has(k))continue;i.put(k);const q=a.fetchIfRef(k);if(q.has("Kids")){const C=q.get("Kids");if(!Array.isArray(C))continue;n.push({kids:C,newKids:[],pos:0,oldParentRef:k,parentRef:null,parent:q});continue}if(!o.has(k))continue;const A=r.get(k);if(!A)continue;w.push(A),!g.parentRef&&g.oldParentRef&&(g.parentRef=this.newRef,r.put(g.oldParentRef,g.parentRef));const I=this.xref[A.num];g.parentRef&&I.set("Parent",g.parentRef),l&&we(I.get("FT"),"Tx")&&!I.has("DA")&&u.push(I),c&&!I.has("Kids")&&I.get("AP")instanceof z&&d.push(I),h&&!I.has("Q")&&I.set("Q",h)}for(const g of u)Yn({dict:g,key:"DA"})||g.set("DA",l);const p=new Map;for(const g of d){const b=g.get("AP");for(const w of b.getValues()){if(!(w instanceof Qt))continue;let y=w.dict.getRaw("Resources");if(!y){const j=await p.getOrInsertComputed(c,()=>S(this,kt,cm).call(this,c,a));w.dict.set("Resources",j);continue}y=a.fetchIfRef(y);for(const[j,k]of c.getRawEntries())if(!y.has(j)){let q=k;k instanceof ft?q=await S(this,kt,mi).call(this,k,!0,a):(k instanceof z||k instanceof Qt||Array.isArray(k))&&(q=await p.getOrInsertComputed(k,()=>S(this,kt,cm).call(this,k,a))),y.set(j,q)}}}},iW=async function(){if(!this.hasSingleFile)return;const{documentData:{document:t,pageLabels:e}}=this.oldPages[0];if(!e)return;const i=t.numPages,n=[],a=new Set(this.oldPages.map(({page:{pageIndex:h}})=>h));let r=null,o=-1;for(let h=0;hC!==h[F])&&g.set(A,I)}const w=e.userUnit;w!==1&&g.set("UserUnit",w),g.setIfDict("Resources",await S(this,kt,mi).call(this,u,!0,l));let y=null;if(n){const A=await S(this,kt,mi).call(this,n,!0,l);S(this,kt,UV).call(this,A,r),Array.isArray(A)&&A.length>0&&(y=A)}const j=(q=(k=f(this,Ed))==null?void 0:k.newAnnotationsByPage)==null?void 0:q.get(t);if(j){const{handler:A,task:I,imagesPromises:C}=f(this,Ed),F=new Os,E=await Ca.saveNewAnnotations(e.createAnnotationEvaluator(A),this.xrefWrapper,I,j,C,F);for(const[D,{data:M}]of F.items())this.xref[D.num]=M;y||(y=[]);for(const{ref:D}of E.annotations)y.push(D)}if(g.setIfArray("Annots",y),this.useObjectStreams){const A=this.newRefCount,I=[];for(let C=b;C0;){const{dict:o,kids:l,parentRef:c}=r.pop();if(l.length<=a){o.set("Kids",l);for(const p of l)this.xref[p.num].set("Parent",c);continue}const h=Math.max(a,Math.ceil(l.length/a)),u=[];for(let p=0;pc.localeCompare(h):([c],[h])=>c-h),n=rJ,[a,r]=this.newDict,o=[{dict:r,entries:i}],l=e?"Names":"Nums";for(;o.length>0;){const{dict:c,entries:h}=o.pop();if(h.length<=n){c.set("Limits",[h[0][0],h.at(-1)[0]]),c.set(l,h.flat());continue}const u=[],d=Math.max(n,Math.ceil(h.length/n));for(let g=0;g0){const a=S(this,kt,fm).call(this,Array.from(this.parentTree.entries()),!1);this.xref[a.num].setIfName("Type","ParentTree"),n.set("ParentTree",a),n.set("ParentTreeNextKey",this.parentTree.size)}if(this.idTree.size>0){const a=S(this,kt,fm).call(this,Array.from(this.idTree.entries()),!0);this.xref[a.num].setIfName("Type","IDTree"),n.set("IDTree",a)}if(this.classMap.size>0){const a=this.newRef;this.xref[a.num]=this.classMap,n.set("ClassMap",a)}if(this.roleMap.size>0){const a=this.newRef;this.xref[a.num]=this.roleMap,n.set("RoleMap",a)}if(this.namespaces.size>0){const a=this.newRef;this.xref[a.num]=Array.from(this.namespaces.values()),n.set("Namespaces",a)}if(this.structTreeAF.length>0){const a=this.newRef;this.xref[a.num]=this.structTreeAF,n.set("AF",a)}if(this.structTreePronunciationLexicon.length>0){const a=this.newRef;this.xref[a.num]=this.structTreePronunciationLexicon,n.set("PronunciationLexicon",a)}e.set("StructTreeRoot",i)},cW=function(){if(this.fields.length===0)return;const{rootDict:t}=this,e=this.newRef,i=this.xref[e.num]=new z;t.set("AcroForm",e),i.set("Fields",this.fields),this.acroFormNeedAppearances&&i.set("NeedAppearances",!0),this.acroFormSigFlags>0&&i.set("SigFlags",this.acroFormSigFlags),i.setIfArray("CO",this.acroFormCalculationOrder),i.setIfDict("DR",this.acroFormDefaultResources),this.acroFormDefaultAppearance&&i.set("DA",this.acroFormDefaultAppearance),this.acroFormQ>0&&i.set("Q",this.acroFormQ)},hW=async function(){const{rootDict:t}=this;t.setIfName("Type","Catalog"),t.setIfName("Version",this.version),S(this,kt,cW).call(this),S(this,kt,aW).call(this),S(this,kt,rW).call(this),S(this,kt,oW).call(this),S(this,kt,lW).call(this),await S(this,kt,KV).call(this)},fW=function(){const t=new Map;if(this.hasSingleFile){const{xref:{trailer:e}}=this.oldPages[0].documentData.document,i=e.get("Info");for(const[n,a]of i||[])typeof a=="string"&&t.set(n,ce(a))}t.delete("ModDate"),t.set("CreationDate",Jl()),t.set("Creator","PDF.js"),t.set("Producer","Firefox"),this.author&&t.set("Author",this.author),this.title&&t.set("Title",this.title);for(const[e,i]of t)this.infoDict.set(e,Ii(i));return t},uW=async function(){if(!this.hasSingleFile)return[null,null,null];const{documentData:t}=this.oldPages[0],{document:{xref:{trailer:e,encrypt:i}}}=t;if(!e.has("Encrypt"))return[null,null,null];const n=e.get("Encrypt");if(!(n instanceof z))return[null,null,null];this.currentDocument=t;const a=[await S(this,kt,cm).call(this,n,e.xref),i,e.get("ID")];return this.currentDocument=null,a},dW=async function(){var e;const t=new Os;t.put(ft.get(0,65535),{data:null});for(let i=1,n=this.xref.length;i{this._contentLength=a.contentLength,this._isStreamingSupported=a.isStreamingSupported,this._isRangeSupported=a.isRangeSupported,this._headersCapability.resolve()},this._headersCapability.reject)}async read(){const{value:e,done:i}=await this._reader.read();return i?{value:void 0,done:!0}:{value:e.buffer,done:!1}}cancel(e){this._reader.cancel(e)}};m(KN,"PDFWorkerStreamReader");let SS=KN;const XN=class XN extends cJ{constructor(e,i,n){super(e,i,n);R(this,"_reader",null);const{msgHandler:a}=e._source,r=a.sendWithStream("GetRangeReader",{begin:i,end:n});this._reader=r.getReader()}async read(){const{value:e,done:i}=await this._reader.read();return i?{value:void 0,done:!0}:{value:e.buffer,done:!1}}cancel(e){this._reader.cancel(e)}};m(XN,"PDFWorkerStreamRangeReader");let CS=XN;const YN=class YN{constructor(t){this.name=t,this.terminated=!1,this._capability=Promise.withResolvers()}get finished(){return this._capability.promise}finish(){this._capability.resolve()}terminate(){this.terminated=!0}ensureNotTerminated(){if(this.terminated)throw new Error("Worker task was terminated")}};m(YN,"WorkerTask");let Ha=YN;const R4=class R4{static setup(t,e){let i=!1;t.on("test",n=>{i||(i=!0,t.send("test",n instanceof Uint8Array))}),t.on("configure",n=>{mU(n.verbosity)}),t.on("GetDocRequest",n=>this.createDocumentHandler(n,e))}static createDocumentHandler(t,e){let i,n=!1,a=null;const r=new Set,o=gU(),{docId:l,apiVersion:c}=t,h="5.6.205";if(c!==h)throw new Error(`The API version "${c}" does not match the Worker version "${h}".`);const u=m((q,A)=>`The \`${q}.prototype\` contains unexpected enumerable property "${A}", thus breaking e.g. \`for...in\` iteration of ${q}s.`,"buildMsg");for(const q in{})throw new Error(u("Object",q));for(const q in[])throw new Error(u("Array",q));const d=l+"_worker";let p=new W_(d,l,e);function g(){if(n)throw new Error("Worker was terminated")}m(g,"ensureNotTerminated");function b(q){r.add(q)}m(b,"startWorkerTask");function w(q){q.finish(),r.delete(q)}m(w,"finishWorkerTask");async function y(q){await i.ensureDoc("checkHeader"),await i.ensureDoc("parseStartXRef"),await i.ensureDoc("parse",[q]),await i.ensureDoc("checkFirstPage",[q]),await i.ensureDoc("checkLastPage",[q]);const A=await i.ensureDoc("isPureXfa");if(A){const E=new Ha("loadXfaResources");b(E),await i.ensureDoc("loadXfaResources",[p,E]),w(E)}const[I,C]=await Promise.all([i.ensureDoc("numPages"),i.ensureDoc("fingerprints")]),F=A?await i.ensureDoc("htmlForXfa"):null;return{numPages:I,fingerprints:C,htmlForXfa:F}}m(y,"loadDocument");async function j({data:q,password:A,disableAutoFetch:I,rangeChunkSize:C,docBaseUrl:F,enableXfa:E,evaluatorOptions:D}){const M={source:null,disableAutoFetch:I,docBaseUrl:F,docId:l,enableXfa:E,evaluatorOptions:D,handler:p,length:0,password:A,rangeChunkSize:C};if(q)return M.source=q,new Ym(M);const _=new AS({msgHandler:p}),G=_.getFullReader(),{promise:K,resolve:it,reject:$}=Promise.withResolvers();let V,rt=[];a=m(dt=>_.cancelAllRequests(dt),"cancelXHRs"),G.headersReady.then(()=>{if(G.isRangeSupported){M.source=_,M.length=G.contentLength,M.disableAutoFetch||(M.disableAutoFetch=G.isStreamingSupported),V=new bS(M);for(const dt of rt)V.sendProgressiveData(dt);rt=null,it(V),a=null}}).catch(dt=>{$(dt),a=null});async function Y(){let dt=0;for(;;){const{value:et,done:Ct}=await G.read();if(g(),Ct)break;dt+=et.byteLength,G.isStreamingSupported||p.send("DocProgress",{loaded:dt,total:G.contentLength}),V?V.sendProgressiveData(et):rt.push(et)}V||(M.source=TT(rt),rt=null,V=new Ym(M),it(V)),a=null}return m(Y,"readData"),Y().catch(dt=>{$(dt),a=null}),K}m(j,"getPdfManager");function k(q){function A(F){g(),p.send("GetDoc",{pdfInfo:F})}m(A,"onSuccess");function I(F){if(!n)if(F instanceof cp){const E=new Ha(`PasswordException: response ${F.code}`);b(E),p.sendWithPromise("PasswordRequest",F).then(function({password:D}){w(E),i.updatePassword(D),C()}).catch(function(){w(E),p.send("DocException",F)})}else p.send("DocException",Hn(F))}m(I,"onFailure");function C(){g(),y(!1).then(A,function(F){if(g(),!(F instanceof _l)){I(F);return}i.requestLoadedStream().then(function(){g(),y(!0).then(A,I)})})}m(C,"pdfManagerReady"),g(),j(q).then(function(F){if(n)throw F.terminate(new Gi("Worker was terminated.")),new Error("Worker was terminated");i=F,i.requestLoadedStream(!0).then(E=>{p.send("DataLoaded",{length:E.bytes.byteLength})})}).then(C,I)}return m(k,"setupDoc"),p.on("GetPage",function(q){return i.getPage(q.pageIndex).then(function(A){return Promise.all([i.ensure(A,"rotate"),i.ensure(A,"ref"),i.ensure(A,"userUnit"),i.ensure(A,"view")]).then(function([I,C,F,E]){return{rotate:I,ref:C,refStr:(C==null?void 0:C.toString())??null,userUnit:F,view:E}})})}),p.on("GetPageIndex",function(q){const A=ft.get(q.num,q.gen);return i.ensureCatalog("getPageIndex",[A])}),p.on("GetDestinations",function(q){return i.ensureCatalog("destinations")}),p.on("GetDestination",function(q){return i.ensureCatalog("getDestination",[q.id])}),p.on("GetPageLabels",function(q){return i.ensureCatalog("pageLabels")}),p.on("GetPageLayout",function(q){return i.ensureCatalog("pageLayout")}),p.on("GetPageMode",function(q){return i.ensureCatalog("pageMode")}),p.on("GetViewerPreferences",function(q){return i.ensureCatalog("viewerPreferences")}),p.on("GetOpenAction",function(q){return i.ensureCatalog("openAction")}),p.on("GetAttachments",function(q){return i.ensureCatalog("attachments")}),p.on("GetDocJSActions",function(q){return i.ensureCatalog("jsActions")}),p.on("GetPageJSActions",function({pageIndex:q}){return i.getPage(q).then(A=>i.ensure(A,"jsActions"))}),p.on("GetAnnotationsByType",async function({types:q,pageIndexesToSkip:A}){const[I,C]=await Promise.all([i.ensureDoc("numPages"),i.ensureDoc("annotationGlobals")]);if(!C)return null;const F=[],E=[];let D=null;try{for(let M=0,_=I;M<_;M++)A!=null&&A.has(M)||(D||(D=new Ha("GetAnnotationsByType"),b(D)),F.push(i.getPage(M).then(async G=>G?G.collectAnnotationsByType(p,D,q,E,C)||[]:[])));return await Promise.all(F),(await Promise.all(E)).filter(M=>!!M)}finally{D&&w(D)}}),p.on("GetOutline",function(q){return i.ensureCatalog("documentOutline")}),p.on("GetOptionalContentConfig",function(q){return i.ensureCatalog("optionalContentConfig")}),p.on("GetPermissions",function(q){return i.ensureCatalog("permissions")}),p.on("GetMetadata",function(q){return Promise.all([i.ensureDoc("documentInfo"),i.ensureCatalog("metadata"),i.ensureCatalog("hasStructTree")])}),p.on("GetMarkInfo",function(q){return i.ensureCatalog("markInfo")}),p.on("GetData",function(q){return i.requestLoadedStream().then(A=>A.bytes)}),p.on("GetAnnotations",function({pageIndex:q,intent:A}){return i.getPage(q).then(function(I){const C=new Ha(`GetAnnotations: page ${q}`);return b(C),I.getAnnotationsData(p,C,A).then(F=>(w(C),F),F=>{throw w(C),F})})}),p.on("GetFieldObjects",function(q){return i.ensureDoc("fieldObjects").then(A=>(A==null?void 0:A.allFields)||null)}),p.on("HasJSActions",function(q){return i.ensureDoc("hasJSActions")}),p.on("GetCalculationOrderIds",function(q){return i.ensureDoc("calculationOrderIds")}),p.on("ExtractPages",async function({pageInfos:q,annotationStorage:A}){if(!q)return H("extractPages: nothing to extract."),null;Array.isArray(q)||(q=[q]);let I=0;for(const F of q)if(F.document===null)F.document=i.pdfDocument;else if(ArrayBuffer.isView(F.document)){const E=new Ym({source:F.document,docId:`${l}_extractPages_${I++}`,handler:p,password:F.password??null,evaluatorOptions:Object.assign({},i.evaluatorOptions)});let D=!1,M=!0;for(;;)try{await E.requestLoadedStream(),await E.ensureDoc("checkHeader"),await E.ensureDoc("parseStartXRef"),await E.ensureDoc("parse",[D]);break}catch(_){if(_ instanceof _l)if(D===!1){D=!0;continue}else M=!1,H("extractPages: XRefParseException.");else if(_ instanceof cp){const G=new Ha(`PasswordException: response ${_.code}`);b(G);try{const{password:K}=await p.sendWithPromise("PasswordRequest",_);E.updatePassword(K)}catch{M=!1,H("extractPages: invalid password.")}finally{w(G)}}else M=!1,H("extractPages: invalid document.");if(!M)break}M||(F.document=null),await E.ensureDoc("isPureXfa")?(F.document=null,H("extractPages does not support pure XFA documents.")):F.document=E.pdfDocument}else H("extractPages: invalid document.");let C;try{const F=new kS;return C=new Ha(`ExtractPages: ${q.length} page(s)`),b(C),await F.extractPages(q,A,p,C)}catch(F){return console.error(F),null}finally{C&&w(C)}}),p.on("SaveDocument",async function({isPureXfa:q,numPages:A,annotationStorage:I,filename:C}){const F=[i.requestLoadedStream(),i.ensureCatalog("acroForm"),i.ensureCatalog("acroFormRef"),i.ensureDoc("startXRef"),i.ensureDoc("xref"),i.ensureCatalog("structTreeRoot")],E=new Os,D=[],M=q?null:v8(I),[_,G,K,it,$,V]=await Promise.all(F),rt=$.trailer.getRaw("Root")||null;let Y;if(M){V?await V.canUpdateStructTree({pdfManager:i,newAnnotationsByPage:M})&&(Y=V):await Yg.canCreateStructureTree({catalogRef:rt,pdfManager:i,newAnnotationsByPage:M})&&(Y=null);const P=Ca.generateImages(I.values(),$,i.evaluatorOptions.isOffscreenCanvasSupported),J=Y===void 0?D:[];for(const[st,ct]of M)J.push(i.getPage(st).then(qt=>{const vt=new Ha(`Save (editor): page ${st}`);return b(vt),qt.saveNewAnnotations(p,vt,ct,P,E).finally(function(){w(vt)})}));Y===null?D.push(Promise.all(J).then(async()=>{await Yg.createStructureTree({newAnnotationsByPage:M,xref:$,catalogRef:rt,pdfManager:i,changes:E})})):Y&&D.push(Promise.all(J).then(async()=>{await Y.updateStructureTree({newAnnotationsByPage:M,pdfManager:i,changes:E})}))}if(q)D.push(i.ensureDoc("serializeXfaData",[I]));else for(let P=0;PP.needAppearances),Tt=G instanceof z&&G.get("XFA")||null;let Dt=null,_t=!1;if(Array.isArray(Tt)){for(let P=0,J=Tt.length;P{$.resetNewTemporaryRef()})}),p.on("GetOperatorList",function(q,A){const{pageId:I,pageIndex:C}=q;i.getPage(I).then(function(F){const E=new Ha(`GetOperatorList: page ${C}`);b(E);const D=o>=Ag.INFOS?Date.now():0;F.getOperatorList({handler:p,sink:A,task:E,intent:q.intent,cacheKey:q.cacheKey,annotationStorage:q.annotationStorage,modifiedIds:q.modifiedIds,pageIndex:C}).then(function(M){w(E),D&&ne(`page=${C+1} - getOperatorList: time=${Date.now()-D}ms, len=${M.length}`),A.close()},function(M){w(E),!E.terminated&&A.error(M)})})}),p.on("GetTextContent",function(q,A){const{pageId:I,pageIndex:C,includeMarkedContent:F,disableNormalization:E}=q;i.getPage(I).then(function(D){const M=new Ha("GetTextContent: page "+C);b(M);const _=o>=Ag.INFOS?Date.now():0;D.extractTextContent({handler:p,task:M,sink:A,includeMarkedContent:F,disableNormalization:E}).then(function(){w(M),_&&ne(`page=${C+1} - getTextContent: time=${Date.now()-_}ms`),A.close()},function(G){w(M),!M.terminated&&A.error(G)})})}),p.on("GetStructTree",function(q){return i.getPage(q.pageIndex).then(A=>i.ensure(A,"getStructTree"))}),p.on("FontFallback",function(q){return i.fontFallback(q.id,p)}),p.on("Cleanup",function(q){return i.cleanup(!0)}),p.on("Terminate",async function(q){n=!0;const A=[];if(i){i.terminate(new Gi("Worker was terminated."));const I=i.cleanup();A.push(I),i=null}else A8();a==null||a(new Gi("Worker was terminated."));for(const I of r)A.push(I.finished),I.terminate();await Promise.all(A),p.destroy(),p=null}),p.on("Ready",function(q){k(t),t=null}),d}static initializeFromPort(t){const e=new W_("worker","main",t);this.setup(e,t),e.send("ready",null)}};m(R4,"WorkerMessageHandler"),typeof window>"u"&&!UX&&typeof self<"u"&&typeof self.postMessage=="function"&&"onmessage"in self&&R4.initializeFromPort(self);let IS=R4;globalThis.pdfjsWorker={WorkerMessageHandler:IS};const sr=typeof process=="object"&&process+""=="[object process]"&&!process.versions.nw&&!(process.versions.electron&&process.type&&process.type!=="browser"),TS=[.001,0,0,.001,0,0],t7=1.35,ka={ANY:1,DISPLAY:2,PRINT:4,ANNOTATIONS_FORMS:16,ANNOTATIONS_STORAGE:32,ANNOTATIONS_DISABLE:64,IS_EDITING:128,OPLIST:256},Cc={DISABLE:0,ENABLE:1,ENABLE_FORMS:2,ENABLE_STORAGE:3},jb="pdfjs_internal_editor_",ue={DISABLE:-1,NONE:0,FREETEXT:3,HIGHLIGHT:9,STAMP:13,INK:15,POPUP:16,SIGNATURE:101,COMMENT:102},He={RESIZE:1,CREATE:2,FREETEXT_SIZE:11,FREETEXT_COLOR:12,FREETEXT_OPACITY:13,INK_COLOR:21,INK_THICKNESS:22,INK_OPACITY:23,HIGHLIGHT_COLOR:31,HIGHLIGHT_THICKNESS:32,HIGHLIGHT_FREE:33,HIGHLIGHT_SHOW_ALL:34,DRAW_STEP:41},hJ={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048},df={TRIANGLES:1,LATTICE:2},hi={FILL:0,STROKE:1,FILL_STROKE:2,INVISIBLE:3,FILL_STROKE_MASK:3,ADD_TO_PATH_FLAG:4},g5={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3},ei={TEXT:1,LINK:2,FREETEXT:3,LINE:4,SQUARE:5,CIRCLE:6,POLYGON:7,POLYLINE:8,HIGHLIGHT:9,UNDERLINE:10,SQUIGGLY:11,STRIKEOUT:12,STAMP:13,CARET:14,INK:15,POPUP:16,FILEATTACHMENT:17,SOUND:18,MOVIE:19,WIDGET:20,SCREEN:21,PRINTERMARK:22,TRAPNET:23,WATERMARK:24,THREED:25,REDACT:26},T1={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5},D8={ERRORS:0,WARNINGS:1,INFOS:5},yb={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotation:80,endAnnotation:81,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91,setStrokeTransparent:92,setFillTransparent:93,rawFillPath:94},Jp={moveTo:0,lineTo:1,curveTo:2,quadraticCurveTo:3,closePath:4},fJ={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};let P8=D8.WARNINGS;function mW(s){Number.isInteger(s)&&(P8=s)}m(mW,"setVerbosityLevel");function gW(){return P8}m(gW,"getVerbosityLevel");function b9(s){P8>=D8.INFOS&&console.info(`Info: ${s}`)}m(b9,"info");function ge(s){P8>=D8.WARNINGS&&console.warn(`Warning: ${s}`)}m(ge,"warn");function We(s){throw new Error(s)}m(We,"unreachable");function qs(s,t){s||We(t)}m(qs,"assert");function bW(s){switch(s==null?void 0:s.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}m(bW,"_isValidProtocol");function xF(s,t=null,e=null){var n;if(!s)return null;if(e&&typeof s=="string"&&(e.addDefaultProtocol&&s.startsWith("www.")&&((n=s.match(/\./g))==null?void 0:n.length)>=2&&(s=`http://${s}`),e.tryConvertEncoding))try{s=kW(s)}catch{}const i=t?URL.parse(s,t):URL.parse(s);return bW(i)?i:null}m(xF,"createValidAbsoluteUrl");function AF(s,t,e=!1){const i=URL.parse(s);return i?(i.hash=t,i.href):e&&xF(s,"http://example.com")?s.split("#",1)[0]+`${t?`#${t}`:""}`:""}m(AF,"updateUrlHash");function b6(s){return s.substring(s.lastIndexOf("/")+1)}m(b6,"stripPath");function pe(s,t,e,i=!1){return Object.defineProperty(s,t,{value:e,enumerable:!i,configurable:!0,writable:!1}),e}m(pe,"shadow");const h1=m(function(){function s(t,e){this.message=t,this.name=e}return m(s,"BaseException"),s.prototype=new Error,s.constructor=s,s},"BaseExceptionClosure")(),QN=class QN extends h1{constructor(t,e){super(t,"PasswordException"),this.code=e}};m(QN,"PasswordException");let w6=QN;const JN=class JN extends h1{constructor(t,e){super(t,"UnknownErrorException"),this.details=e}};m(JN,"UnknownErrorException");let Qm=JN;const ZN=class ZN extends h1{constructor(t){super(t,"InvalidPDFException")}};m(ZN,"InvalidPDFException");let vb=ZN;const tL=class tL extends h1{constructor(t,e,i){super(t,"ResponseException"),this.status=e,this.missing=i}};m(tL,"ResponseException");let vp=tL;const eL=class eL extends h1{constructor(t){super(t,"FormatError")}};m(eL,"FormatError");let FS=eL;const sL=class sL extends h1{constructor(t){super(t,"AbortException")}};m(sL,"AbortException");let No=sL;function wW(s){(typeof s!="object"||(s==null?void 0:s.length)===void 0)&&We("Invalid argument for bytesToString");const t=s.length,e=8192;if(t>24&255,s>>16&255,s>>8&255,s&255)}m(jW,"string32");function yW(){const s=new Uint8Array(4);return s[0]=1,new Uint32Array(s.buffer,0,1)[0]===1}m(yW,"isLittleEndian");function vW(){try{return new Function(""),!0}catch{return!1}}m(vW,"isEvalSupported");const iL=class iL{static get isLittleEndian(){return pe(this,"isLittleEndian",yW())}static get isEvalSupported(){return pe(this,"isEvalSupported",vW())}static get isOffscreenCanvasSupported(){return pe(this,"isOffscreenCanvasSupported",typeof OffscreenCanvas<"u")}static get isImageDecoderSupported(){return pe(this,"isImageDecoderSupported",typeof ImageDecoder<"u")}static get isFloat16ArraySupported(){return pe(this,"isFloat16ArraySupported",typeof Float16Array<"u")}static get isSanitizerSupported(){return pe(this,"isSanitizerSupported",typeof Sanitizer<"u")}static get platform(){const{platform:t,userAgent:e}=navigator;return pe(this,"platform",{isAndroid:e.includes("Android"),isLinux:t.includes("Linux"),isMac:t.includes("Mac"),isWindows:t.includes("Win"),isFirefox:e.includes("Firefox")})}static get isCSSRoundSupported(){var t,e;return pe(this,"isCSSRoundSupported",(e=(t=globalThis.CSS)==null?void 0:t.supports)==null?void 0:e.call(t,"width: round(1.5px, 1px)"))}};m(iL,"FeatureTest");let Qs=iL;const e7=Array.from(Array(256).keys(),s=>s.toString(16).padStart(2,"0"));var Xl,b5,ES;const M4=class M4{static makeHexColor(t,e,i){return`#${e7[t]}${e7[e]}${e7[i]}`}static domMatrixToTransform(t){return[t.a,t.b,t.c,t.d,t.e,t.f]}static scaleMinMax(t,e){let i;t[0]?(t[0]<0&&(i=e[0],e[0]=e[2],e[2]=i),e[0]*=t[0],e[2]*=t[0],t[3]<0&&(i=e[1],e[1]=e[3],e[3]=i),e[1]*=t[3],e[3]*=t[3]):(i=e[0],e[0]=e[1],e[1]=i,i=e[2],e[2]=e[3],e[3]=i,t[1]<0&&(i=e[1],e[1]=e[3],e[3]=i),e[1]*=t[1],e[3]*=t[1],t[2]<0&&(i=e[0],e[0]=e[2],e[2]=i),e[0]*=t[2],e[2]*=t[2]),e[0]+=t[4],e[1]+=t[5],e[2]+=t[4],e[3]+=t[5]}static transform(t,e){return[t[0]*e[0]+t[2]*e[1],t[1]*e[0]+t[3]*e[1],t[0]*e[2]+t[2]*e[3],t[1]*e[2]+t[3]*e[3],t[0]*e[4]+t[2]*e[5]+t[4],t[1]*e[4]+t[3]*e[5]+t[5]]}static multiplyByDOMMatrix(t,e){return[t[0]*e.a+t[2]*e.b,t[1]*e.a+t[3]*e.b,t[0]*e.c+t[2]*e.d,t[1]*e.c+t[3]*e.d,t[0]*e.e+t[2]*e.f+t[4],t[1]*e.e+t[3]*e.f+t[5]]}static applyTransform(t,e,i=0){const n=t[i],a=t[i+1];t[i]=n*e[0]+a*e[2]+e[4],t[i+1]=n*e[1]+a*e[3]+e[5]}static applyTransformToBezier(t,e,i=0){const n=e[0],a=e[1],r=e[2],o=e[3],l=e[4],c=e[5];for(let h=0;h<6;h+=2){const u=t[i+h],d=t[i+h+1];t[i+h]=u*n+d*r+l,t[i+h+1]=u*a+d*o+c}}static applyInverseTransform(t,e){const i=t[0],n=t[1],a=e[0]*e[3]-e[1]*e[2];t[0]=(i*e[3]-n*e[2]+e[2]*e[5]-e[4]*e[3])/a,t[1]=(-i*e[1]+n*e[0]+e[4]*e[1]-e[5]*e[0])/a}static axialAlignedBoundingBox(t,e,i){const n=e[0],a=e[1],r=e[2],o=e[3],l=e[4],c=e[5],h=t[0],u=t[1],d=t[2],p=t[3];let g=n*h+l,b=g,w=n*d+l,y=w,j=o*u+c,k=j,q=o*p+c,A=q;if(a!==0||r!==0){const I=a*h,C=a*d,F=r*u,E=r*p;g+=F,y+=F,w+=E,b+=E,j+=I,A+=I,q+=C,k+=C}i[0]=Math.min(i[0],g,w,b,y),i[1]=Math.min(i[1],j,q,k,A),i[2]=Math.max(i[2],g,w,b,y),i[3]=Math.max(i[3],j,q,k,A)}static inverseTransform(t){const e=t[0]*t[3]-t[1]*t[2];return[t[3]/e,-t[1]/e,-t[2]/e,t[0]/e,(t[2]*t[5]-t[4]*t[3])/e,(t[4]*t[1]-t[5]*t[0])/e]}static singularValueDecompose2dScale(t,e){const i=t[0],n=t[1],a=t[2],r=t[3],o=i**2+n**2,l=i*a+n*r,c=a**2+r**2,h=(o+c)/2,u=Math.sqrt(h**2-(o*c-l**2));e[0]=Math.sqrt(h+u||1),e[1]=Math.sqrt(h-u||1)}static normalizeRect(t){const e=t.slice(0);return t[0]>t[2]&&(e[0]=t[2],e[2]=t[0]),t[1]>t[3]&&(e[1]=t[3],e[3]=t[1]),e}static intersect(t,e){const i=Math.max(Math.min(t[0],t[2]),Math.min(e[0],e[2])),n=Math.min(Math.max(t[0],t[2]),Math.max(e[0],e[2]));if(i>n)return null;const a=Math.max(Math.min(t[1],t[3]),Math.min(e[1],e[3])),r=Math.min(Math.max(t[1],t[3]),Math.max(e[1],e[3]));return a>r?null:[i,a,n,r]}static pointBoundingBox(t,e,i){i[0]=Math.min(i[0],t),i[1]=Math.min(i[1],e),i[2]=Math.max(i[2],t),i[3]=Math.max(i[3],e)}static rectBoundingBox(t,e,i,n,a){a[0]=Math.min(a[0],t,i),a[1]=Math.min(a[1],e,n),a[2]=Math.max(a[2],t,i),a[3]=Math.max(a[3],e,n)}static bezierBoundingBox(t,e,i,n,a,r,o,l,c){c[0]=Math.min(c[0],t,o),c[1]=Math.min(c[1],e,l),c[2]=Math.max(c[2],t,o),c[3]=Math.max(c[3],e,l),S(this,Xl,ES).call(this,t,i,a,o,e,n,r,l,3*(-t+3*(i-a)+o),6*(t-2*i+a),3*(i-t),c),S(this,Xl,ES).call(this,t,i,a,o,e,n,r,l,3*(-e+3*(n-r)+l),6*(e-2*n+r),3*(n-e),c)}};Xl=new WeakSet,b5=function(t,e,i,n,a,r,o,l,c,h){if(c<=0||c>=1)return;const u=1-c,d=c*c,p=d*c,g=u*(u*(u*t+3*c*e)+3*d*i)+p*n,b=u*(u*(u*a+3*c*r)+3*d*o)+p*l;h[0]=Math.min(h[0],g),h[1]=Math.min(h[1],b),h[2]=Math.max(h[2],g),h[3]=Math.max(h[3],b)},ES=function(t,e,i,n,a,r,o,l,c,h,u,d){if(Math.abs(c)<1e-12){Math.abs(h)>=1e-12&&S(this,Xl,b5).call(this,t,e,i,n,a,r,o,l,-u/h,d);return}const p=h**2-4*u*c;if(p<0)return;const g=Math.sqrt(p),b=2*c;S(this,Xl,b5).call(this,t,e,i,n,a,r,o,l,(-h+g)/b,d),S(this,Xl,b5).call(this,t,e,i,n,a,r,o,l,(-h-g)/b,d)},T(M4,Xl),m(M4,"Util");let Et=M4;function kW(s){return decodeURIComponent(escape(s))}m(kW,"stringToUTF8String");let s7=null,K_=null;function qW(s){return s7||(s7=/([\u00a0\u00b5\u037e\u0eb3\u2000-\u200a\u202f\u2126\ufb00-\ufb04\ufb06\ufb20-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufba1\ufba4-\ufba9\ufbae-\ufbb1\ufbd3-\ufbdc\ufbde-\ufbe7\ufbea-\ufbf8\ufbfc-\ufbfd\ufc00-\ufc5d\ufc64-\ufcf1\ufcf5-\ufd3d\ufd88\ufdf4\ufdfa-\ufdfb\ufe71\ufe77\ufe79\ufe7b\ufe7d]+)|(\ufb05+)/gu,K_=new Map([["ſt","ſt"]])),s.replaceAll(s7,(t,e,i)=>e?e.normalize("NFKC"):K_.get(i))}m(qW,"normalizeUnicode");function SF(){if(typeof crypto.randomUUID=="function")return crypto.randomUUID();const s=new Uint8Array(32);return crypto.getRandomValues(s),wW(s)}m(SF,"getUuid");const G1="pdfjs_internal_id_";function xW(s,t,e){if(!Array.isArray(e)||e.length<2)return!1;const[i,n,...a]=e;if(!s(i)&&!Number.isInteger(i)||!t(n))return!1;const r=a.length;let o=!0;switch(n.name){case"XYZ":if(r<2||r>3)return!1;break;case"Fit":case"FitB":return r===0;case"FitH":case"FitBH":case"FitV":case"FitBV":if(r>1)return!1;break;case"FitR":if(r!==4)return!1;o=!1;break;default:return!1}for(const l of a)if(!(typeof l=="number"||o&&l===null))return!1;return!0}m(xW,"_isValidExplicitDest");const CF=m(()=>[],"makeArr"),IF=m(()=>new Map,"makeMap"),RS=m(()=>Object.create(null),"makeObj");function ui(s,t,e){return Math.min(Math.max(s,t),e)}m(ui,"MathClamp"),typeof Math.sumPrecise!="function"&&(Math.sumPrecise=function(s){return s.reduce((t,e)=>t+e,0)});const B4=class B4{static textContent(t){const e=[],i={items:e,styles:Object.create(null)};function n(a){var l;if(!a)return;let r=null;const o=a.name;if(o==="#text")r=a.value;else if(B4.shouldBuildText(o))(l=a==null?void 0:a.attributes)!=null&&l.textContent?r=a.attributes.textContent:a.value&&(r=a.value);else return;if(r!==null&&e.push({str:r}),!!a.children)for(const c of a.children)n(c)}return m(n,"walk"),n(t),i}static shouldBuildText(t){return!(t==="textarea"||t==="input"||t==="option"||t==="select")}};m(B4,"XfaText");let kb=B4;const nL=class nL{static setupStorage(t,e,i,n,a){const r=n.getValue(e,{value:null});switch(i.name){case"textarea":if(r.value!==null&&(t.textContent=r.value),a==="print")break;t.addEventListener("input",o=>{n.setValue(e,{value:o.target.value})});break;case"input":if(i.attributes.type==="radio"||i.attributes.type==="checkbox"){if(r.value===i.attributes.xfaOn?t.setAttribute("checked",!0):r.value===i.attributes.xfaOff&&t.removeAttribute("checked"),a==="print")break;t.addEventListener("change",o=>{n.setValue(e,{value:o.target.checked?o.target.getAttribute("xfaOn"):o.target.getAttribute("xfaOff")})})}else{if(r.value!==null&&t.setAttribute("value",r.value),a==="print")break;t.addEventListener("input",o=>{n.setValue(e,{value:o.target.value})})}break;case"select":if(r.value!==null){t.setAttribute("value",r.value);for(const o of i.children)o.attributes.value===r.value?o.attributes.selected=!0:o.attributes.hasOwnProperty("selected")&&delete o.attributes.selected}t.addEventListener("input",o=>{const l=o.target.options,c=l.selectedIndex===-1?"":l[l.selectedIndex].value;n.setValue(e,{value:c})});break}}static setAttributes({html:t,element:e,storage:i=null,intent:n,linkService:a}){const{attributes:r}=e,o=t instanceof HTMLAnchorElement;r.type==="radio"&&(r.name=`${r.name}-${n}`);for(const[l,c]of Object.entries(r))if(c!=null)switch(l){case"class":c.length&&t.setAttribute(l,c.join(" "));break;case"dataId":break;case"id":t.setAttribute("data-element-id",c);break;case"style":Object.assign(t.style,c);break;case"textContent":t.textContent=c;break;default:(!o||l!=="href"&&l!=="newWindow")&&t.setAttribute(l,c)}o&&a.addLinkAttributes(t,r.href,r.newWindow),i&&r.dataId&&this.setupStorage(t,r.dataId,e,i)}static render(t){var u,d;const e=t.annotationStorage,i=t.linkService,n=t.xfaHtml,a=t.intent||"display",r=document.createElement(n.name);n.attributes&&this.setAttributes({html:r,element:n,intent:a,linkService:i});const o=a!=="richText",l=t.div;if(l.append(r),t.viewport){const p=`matrix(${t.viewport.transform.join(",")})`;l.style.transform=p}o&&l.setAttribute("class","xfaLayer xfaFont");const c=[];if(n.children.length===0){if(n.value){const p=document.createTextNode(n.value);r.append(p),o&&kb.shouldBuildText(n.name)&&c.push(p)}return{textDivs:c}}const h=[[n,-1,r]];for(;h.length>0;){const[p,g,b]=h.at(-1);if(g+1===p.children.length){h.pop();continue}const w=p.children[++h.at(-1)[1]];if(w===null)continue;const{name:y}=w;if(y==="#text"){const k=document.createTextNode(w.value);c.push(k),b.append(k);continue}const j=(u=w==null?void 0:w.attributes)!=null&&u.xmlns?document.createElementNS(w.attributes.xmlns,y):document.createElement(y);if(b.append(j),w.attributes&&this.setAttributes({html:j,element:w,storage:e,intent:a,linkService:i}),((d=w.children)==null?void 0:d.length)>0)h.push([w,-1,j]);else if(w.value){const k=document.createTextNode(w.value);o&&kb.shouldBuildText(y)&&c.push(k),j.append(k)}}for(const p of l.querySelectorAll(".xfaNonInteractive input, .xfaNonInteractive textarea"))p.setAttribute("readOnly",!0);return{textDivs:c}}static update(t){const e=`matrix(${t.viewport.transform.join(",")})`;t.div.style.transform=e,t.div.hidden=!1}};m(nL,"XfaLayer");let j6=nL;const Wo="http://www.w3.org/2000/svg",qc=class qc{};m(qc,"PixelsPerInch"),R(qc,"CSS",96),R(qc,"PDF",72),R(qc,"PDF_TO_CSS_UNITS",qc.CSS/qc.PDF);let Ph=qc;async function H8(s,t="text"){if(td(s,document.baseURI)){const e=await fetch(s);if(!e.ok)throw new Error(e.statusText);switch(t){case"blob":return e.blob();case"bytes":return e.bytes();case"json":return e.json()}return e.text()}return new Promise((e,i)=>{const n=new XMLHttpRequest;n.open("GET",s,!0),n.responseType=t==="bytes"?"arraybuffer":t,n.onreadystatechange=()=>{if(n.readyState===XMLHttpRequest.DONE){if(n.status===200||n.status===0){switch(t){case"bytes":e(new Uint8Array(n.response));return;case"blob":case"json":e(n.response);return}e(n.responseText);return}i(new Error(n.statusText))}},n.send(null)})}m(H8,"fetchData");const D4=class D4{constructor({viewBox:t,userUnit:e,scale:i,rotation:n,offsetX:a=0,offsetY:r=0,dontFlip:o=!1}){this.viewBox=t,this.userUnit=e,this.scale=i,this.rotation=n,this.offsetX=a,this.offsetY=r,i*=e;const l=(t[2]+t[0])/2,c=(t[3]+t[1])/2;let h,u,d,p;switch(n%=360,n<0&&(n+=360),n){case 180:h=-1,u=0,d=0,p=1;break;case 90:h=0,u=1,d=1,p=0;break;case 270:h=0,u=-1,d=-1,p=0;break;case 0:h=1,u=0,d=0,p=-1;break;default:throw new Error("PageViewport: Invalid rotation, must be a multiple of 90 degrees.")}o&&(d=-d,p=-p);let g,b,w,y;h===0?(g=Math.abs(c-t[1])*i+a,b=Math.abs(l-t[0])*i+r,w=(t[3]-t[1])*i,y=(t[2]-t[0])*i):(g=Math.abs(l-t[0])*i+a,b=Math.abs(c-t[1])*i+r,w=(t[2]-t[0])*i,y=(t[3]-t[1])*i),this.transform=[h*i,u*i,d*i,p*i,g-h*i*l-d*i*c,b-u*i*l-p*i*c],this.width=w,this.height=y}get rawDims(){const t=this.viewBox;return pe(this,"rawDims",{pageWidth:t[2]-t[0],pageHeight:t[3]-t[1],pageX:t[0],pageY:t[1]})}clone({scale:t=this.scale,rotation:e=this.rotation,offsetX:i=this.offsetX,offsetY:n=this.offsetY,dontFlip:a=!1}={}){return new D4({viewBox:this.viewBox.slice(),userUnit:this.userUnit,scale:t,rotation:e,offsetX:i,offsetY:n,dontFlip:a})}convertToViewportPoint(t,e){const i=[t,e];return Et.applyTransform(i,this.transform),i}convertToViewportRectangle(t){const e=[t[0],t[1]];Et.applyTransform(e,this.transform);const i=[t[2],t[3]];return Et.applyTransform(i,this.transform),[e[0],e[1],i[0],i[1]]}convertToPdfPoint(t,e){const i=[t,e];return Et.applyInverseTransform(i,this.transform),i}};m(D4,"PageViewport");let qb=D4;const aL=class aL extends h1{constructor(t,e=0){super(t,"RenderingCancelledException"),this.extraDelay=e}};m(aL,"RenderingCancelledException");let xb=aL;function j9(s){const t=s.length;let e=0;for(;e{try{return new URL(r)}catch{try{return new URL(decodeURIComponent(r))}catch{try{return new URL(r,"https://foo.bar")}catch{try{return new URL(decodeURIComponent(r),"https://foo.bar")}catch{return null}}}}},"getURL")(s);if(!e)return t;const i=m(r=>{try{let o=decodeURIComponent(r);return o.includes("/")&&(o=b6(o),/^\.pdf$/i.test(o))?r:o}catch{return r}},"decode"),n=/\.pdf$/i,a=b6(e.pathname);if(n.test(a))return i(a);if(e.searchParams.size>0){const r=m(l=>[...l].findLast(c=>n.test(c)),"getLast"),o=r(e.searchParams.values())??r(e.searchParams.keys());if(o)return i(o)}if(e.hash){const r=/[^/?#=]+\.pdf\b(?!.*\.pdf\b)/i.exec(e.hash);if(r)return i(r[0])}return t}m(SW,"getPdfFilenameFromUrl");var Mc;const rL=class rL{constructor(){T(this,Mc,new Map);R(this,"times",[])}time(t){f(this,Mc).has(t)&&ge(`Timer is already running for ${t}`),f(this,Mc).set(t,Date.now())}timeEnd(t){f(this,Mc).has(t)||ge(`Timer has not been started for ${t}`),this.times.push({name:t,start:f(this,Mc).get(t),end:Date.now()}),f(this,Mc).delete(t)}toString(){const t=Math.max(...this.times.map(e=>e.name.length));return this.times.map(e=>`${e.name.padEnd(t)} ${e.end-e.start}ms +`).join("")}};Mc=new WeakMap,m(rL,"StatTimer");let y6=rL;function td(s,t){const e=t?URL.parse(s,t):URL.parse(s);return/https?:/.test((e==null?void 0:e.protocol)??"")}m(td,"isValidFetchUrl");function Ra(s){s.preventDefault()}m(Ra,"noContextMenu");function Is(s){s.preventDefault(),s.stopPropagation()}m(Is,"stopEvent");function CW(s){console.log("Deprecated API usage: "+s)}m(CW,"deprecated");var p2;const P4=class P4{static toDateObject(t){if(t instanceof Date)return t;if(!t||typeof t!="string")return null;f(this,p2)||x(this,p2,new RegExp("^D:(\\d{4})(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?([Z|+|-])?(\\d{2})?'?(\\d{2})?'?"));const e=f(this,p2).exec(t);if(!e)return null;const i=parseInt(e[1],10);let n=parseInt(e[2],10);n=n>=1&&n<=12?n-1:0;let a=parseInt(e[3],10);a=a>=1&&a<=31?a:1;let r=parseInt(e[4],10);r=r>=0&&r<=23?r:0;let o=parseInt(e[5],10);o=o>=0&&o<=59?o:0;let l=parseInt(e[6],10);l=l>=0&&l<=59?l:0;const c=e[7]||"Z";let h=parseInt(e[8],10);h=h>=0&&h<=23?h:0;let u=parseInt(e[9],10)||0;return u=u>=0&&u<=59?u:0,c==="-"?(r+=h,o+=u):c==="+"&&(r-=h,o-=u),new Date(Date.UTC(i,n,a,r,o,l))}};p2=new WeakMap,m(P4,"PDFDateString"),T(P4,p2);let Ab=P4;function IW(s,{scale:t=1,rotation:e=0}){const{width:i,height:n}=s.attributes.style,a=[0,0,parseInt(i),parseInt(n)];return new qb({viewBox:a,userUnit:1,scale:t,rotation:e})}m(IW,"getXfaPageViewport");function Rp(s){if(s.startsWith("#")){const t=parseInt(s.slice(1),16);return[(t&16711680)>>16,(t&65280)>>8,t&255]}return s.startsWith("rgb(")?s.slice(4,-1).split(",").map(t=>parseInt(t)):s.startsWith("rgba(")?s.slice(5,-1).split(",",3).map(t=>parseInt(t)):(ge(`Not a valid color format: "${s}"`),[0,0,0])}m(Rp,"getRGB");function TW(s){const t=document.createElement("span");t.style.visibility="hidden",t.style.colorScheme="only light",document.body.append(t);for(const e of s.keys()){t.style.color=e;const i=window.getComputedStyle(t).color;s.set(e,Rp(i))}t.remove()}m(TW,"getColorValues");function vs(s){const{a:t,b:e,c:i,d:n,e:a,f:r}=s.getTransform();return[t,e,i,n,a,r]}m(vs,"getCurrentTransform");function ur(s){const{a:t,b:e,c:i,d:n,e:a,f:r}=s.getTransform().invertSelf();return[t,e,i,n,a,r]}m(ur,"getCurrentTransformInverse");function Hh(s,t,e=!1,i=!0){if(t instanceof qb){const{pageWidth:n,pageHeight:a}=t.rawDims,{style:r}=s,o=Qs.isCSSRoundSupported,l=`var(--total-scale-factor) * ${n}px`,c=`var(--total-scale-factor) * ${a}px`,h=o?`round(down, ${l}, var(--scale-round-x))`:`calc(${l})`,u=o?`round(down, ${c}, var(--scale-round-y))`:`calc(${c})`;!e||t.rotation%180===0?(r.width=h,r.height=u):(r.width=u,r.height=h)}i&&s.setAttribute("data-main-rotation",t.rotation)}m(Hh,"setLayerDimensions");const jg=class jg{constructor(){const{pixelRatio:t}=jg;this.sx=t,this.sy=t}get scaled(){return this.sx!==1||this.sy!==1}get symmetric(){return this.sx===this.sy}limitCanvas(t,e,i,n,a=-1){let r=1/0,o=1/0,l=1/0;i=jg.capPixels(i,a),i>0&&(r=Math.sqrt(i/(t*e))),n!==-1&&(o=n/t,l=n/e);const c=Math.min(r,o,l);return this.sx>c||this.sy>c?(this.sx=c,this.sy=c,!0):!1}static get pixelRatio(){return globalThis.devicePixelRatio||1}static capPixels(t,e){if(e>=0){const i=Math.ceil(window.screen.availWidth*window.screen.availHeight*this.pixelRatio**2*(1+e/100));return t>0?Math.min(t,i):i}return t}};m(jg,"OutputScale");let ic=jg;const MS=["image/apng","image/avif","image/bmp","image/gif","image/jpeg","image/png","image/svg+xml","image/webp","image/x-icon"],oL=class oL{static get isDarkMode(){var t;return pe(this,"isDarkMode",!!((t=window==null?void 0:window.matchMedia)!=null&&t.call(window,"(prefers-color-scheme: dark)").matches))}};m(oL,"ColorScheme");let BS=oL;const lL=class lL{static get commentForegroundColor(){const t=document.createElement("span");t.classList.add("comment","sidebar");const{style:e}=t;e.width=e.height="0",e.display="none",e.color="var(--comment-fg-color)",document.body.append(t);const{color:i}=window.getComputedStyle(t);return t.remove(),pe(this,"commentForegroundColor",Rp(i))}};m(lL,"CSSConstants");let DS=lL;function FW(s,t){t=ui(t??1,0,1);const e=255*(1-t);return s.map(i=>Math.round(i*t+e))}m(FW,"applyOpacity");function PS(s,t){const e=s[0]/255,i=s[1]/255,n=s[2]/255,a=Math.max(e,i,n),r=Math.min(e,i,n),o=(a+r)/2;if(a===r)t[0]=t[1]=0;else{const l=a-r;switch(t[1]=o<.5?l/(a+r):l/(2-a-r),a){case e:t[0]=((i-n)/l+(in?(i+.05)/(n+.05):(n+.05)/(i+.05)}m(OS,"contrastRatio");const X_=new Map;function EW(s,t){const e=s[0]+s[1]*256+s[2]*65536+t[0]*16777216+t[1]*4294967296+t[2]*1099511627776;let i=X_.get(e);if(i)return i;const n=new Float32Array(9),a=n.subarray(0,3),r=n.subarray(3,6);PS(s,r);const o=n.subarray(6,9);PS(t,o);const l=o[2]<.5,c=l?12:4.5;if(r[2]=l?Math.sqrt(r[2]):1-Math.sqrt(1-r[2]),OS(r,o,a)d;){const p=r[2]=(h+u)/2;l===OS(r,o,a){e.delete()},{signal:e._signal}),f(this,Ua).append(i)}async addAltText(t){const e=await t.render();S(this,Yi,F1).call(this,e),f(this,Ua).append(e,f(this,Yi,um)),x(this,m2,t)}addComment(t,e=null){if(f(this,Pc))return;const i=t.renderForToolbar();if(!i)return;S(this,Yi,F1).call(this,i);const n=x(this,Dd,f(this,Yi,um));e?(f(this,Ua).insertBefore(i,e),f(this,Ua).insertBefore(n,e)):f(this,Ua).append(i,n),x(this,Pc,t),t.toolbar=this}addColorPicker(t){if(f(this,Dc))return;x(this,Dc,t);const e=t.renderButton();S(this,Yi,F1).call(this,e),f(this,Ua).append(e,f(this,Yi,um))}async addEditSignatureButton(t){const e=x(this,Pd,await t.renderEditButton(f(this,_a)));S(this,Yi,F1).call(this,e),f(this,Ua).append(e,f(this,Yi,um))}removeButton(t){var e,i;t==="comment"&&((e=f(this,Pc))==null||e.removeToolbarCommentButton(),x(this,Pc,null),(i=f(this,Dd))==null||i.remove(),x(this,Dd,null))}async addButton(t,e){switch(t){case"colorPicker":e&&this.addColorPicker(e);break;case"altText":e&&await this.addAltText(e);break;case"editSignature":e&&await this.addEditSignatureButton(e);break;case"delete":this.addDeleteButton();break;case"comment":e&&this.addComment(e);break}}async addButtonBefore(t,e,i){if(!e&&t==="comment")return;const n=f(this,Ua).querySelector(i);n&&t==="comment"&&this.addComment(e,n)}updateEditSignatureButton(t){f(this,Pd)&&(f(this,Pd).title=t)}remove(){var t;f(this,Bc).remove(),(t=f(this,Dc))==null||t.destroy(),x(this,Dc,null)}};Bc=new WeakMap,Dc=new WeakMap,_a=new WeakMap,Ua=new WeakMap,m2=new WeakMap,Pc=new WeakMap,Dd=new WeakMap,Pd=new WeakMap,g2=new WeakMap,H4=new WeakSet,RW=function(t){t.stopPropagation()},Yi=new WeakSet,MW=function(t){f(this,_a)._focusEventsAllowed=!1,Is(t)},BW=function(t){f(this,_a)._focusEventsAllowed=!0,Is(t)},F1=function(t){const e=f(this,_a)._uiManager._signal;return!(e instanceof AbortSignal)||e.aborted?!1:(t.addEventListener("focusin",S(this,Yi,MW).bind(this),{capture:!0,signal:e}),t.addEventListener("focusout",S(this,Yi,BW).bind(this),{capture:!0,signal:e}),t.addEventListener("contextmenu",Ra,{signal:e}),!0)},um=function(){const t=document.createElement("div");return t.className="divider",t},T(eo,H4),m(eo,"EditorToolbar"),T(eo,g2,null);let NS=eo;var b2,kf,il,ac,DW,PW,zS;const cL=class cL{constructor(t){T(this,ac);T(this,b2,null);T(this,kf,null);T(this,il);x(this,il,t)}show(t,e,i){const[n,a]=S(this,ac,PW).call(this,e,i),{style:r}=f(this,kf)||x(this,kf,S(this,ac,DW).call(this));t.append(f(this,kf)),r.insetInlineEnd=`${100*n}%`,r.top=`calc(${100*a}% + var(--editor-toolbar-vert-offset))`}hide(){f(this,kf).remove()}};b2=new WeakMap,kf=new WeakMap,il=new WeakMap,ac=new WeakSet,DW=function(){const t=x(this,kf,document.createElement("div"));t.className="editToolbar",t.setAttribute("role","toolbar");const e=f(this,il)._signal;e instanceof AbortSignal&&!e.aborted&&t.addEventListener("contextmenu",Ra,{signal:e});const i=x(this,b2,document.createElement("div"));return i.className="buttons",t.append(i),f(this,il).hasCommentManager()&&S(this,ac,zS).call(this,"commentButton","pdfjs-comment-floating-button","pdfjs-comment-floating-button-label",()=>{f(this,il).commentSelection("floating_button")}),S(this,ac,zS).call(this,"highlightButton","pdfjs-highlight-floating-button1","pdfjs-highlight-floating-button-label",()=>{f(this,il).highlightSelection("floating_button")}),t},PW=function(t,e){let i=0,n=0;for(const a of t){const r=a.y+a.height;if(ri){n=o,i=r;continue}e?o>n&&(n=o):o=1}static clearPointerType(){x(Qe,Af,null)}static clearPointerIds(){x(Qe,qf,NaN),x(Qe,xf,null)}static clearTimeStamp(){x(Qe,Hd,NaN)}};qf=new WeakMap,xf=new WeakMap,Hd=new WeakMap,Af=new WeakMap,m(Qe,"CurrentPointers"),T(Qe,qf,NaN),T(Qe,xf,null),T(Qe,Hd,NaN),T(Qe,Af,null);let nn=Qe;var O4;const hL=class hL{constructor(){T(this,O4,0)}get id(){return`${jb}${Gs(this,O4)._++}`}};O4=new WeakMap,m(hL,"IdManager");let _S=hL;var Od,w2,rn,Nd,w5;const N4=class N4{constructor(){T(this,Nd);T(this,Od,SF());T(this,w2,0);T(this,rn,null)}static get _isSVGFittingCanvas(){const t='data:image/svg+xml;charset=UTF-8,',e=new OffscreenCanvas(1,3).getContext("2d",{willReadFrequently:!0}),i=new Image;i.src=t;const n=i.decode().then(()=>(e.drawImage(i,0,0,1,1,0,0,1,3),new Uint32Array(e.getImageData(0,0,1,1).data.buffer)[0]===0));return pe(this,"_isSVGFittingCanvas",n)}async getFromFile(t){const{lastModified:e,name:i,size:n,type:a}=t;return S(this,Nd,w5).call(this,`${e}_${i}_${n}_${a}`,t)}async getFromUrl(t){return S(this,Nd,w5).call(this,t,t)}async getFromBlob(t,e){const i=await e;return S(this,Nd,w5).call(this,t,i)}async getFromId(t){f(this,rn)||x(this,rn,new Map);const e=f(this,rn).get(t);if(!e)return null;if(e.bitmap)return e.refCounter+=1,e;if(e.file)return this.getFromFile(e.file);if(e.blobPromise){const{blobPromise:i}=e;return delete e.blobPromise,this.getFromBlob(e.id,i)}return this.getFromUrl(e.url)}getFromCanvas(t,e){f(this,rn)||x(this,rn,new Map);let i=f(this,rn).get(t);if(i!=null&&i.bitmap)return i.refCounter+=1,i;const n=new OffscreenCanvas(e.width,e.height);return n.getContext("2d").drawImage(e,0,0),i={bitmap:n.transferToImageBitmap(),id:`image_${f(this,Od)}_${Gs(this,w2)._++}`,refCounter:1,isSvg:!1},f(this,rn).set(t,i),f(this,rn).set(i.id,i),i}getSvgUrl(t){const e=f(this,rn).get(t);return e!=null&&e.isSvg?e.svgUrl:null}deleteId(t){var n;f(this,rn)||x(this,rn,new Map);const e=f(this,rn).get(t);if(!e||(e.refCounter-=1,e.refCounter!==0))return;const{bitmap:i}=e;if(!e.url&&!e.file){const a=new OffscreenCanvas(i.width,i.height);a.getContext("bitmaprenderer").transferFromImageBitmap(i),e.blobPromise=a.convertToBlob()}(n=i.close)==null||n.call(i),e.bitmap=null}isValidId(t){return t.startsWith(`image_${f(this,Od)}_`)}};Od=new WeakMap,w2=new WeakMap,rn=new WeakMap,Nd=new WeakSet,w5=async function(t,e){f(this,rn)||x(this,rn,new Map);let i=f(this,rn).get(t);if(i===null)return null;if(i!=null&&i.bitmap)return i.refCounter+=1,i;try{i||(i={bitmap:null,id:`image_${f(this,Od)}_${Gs(this,w2)._++}`,refCounter:0,isSvg:!1});let n;if(typeof e=="string"?(i.url=e,n=await H8(e,"blob")):e instanceof File?n=i.file=e:e instanceof Blob&&(n=e),n.type==="image/svg+xml"){const a=N4._isSVGFittingCanvas,r=new FileReader,o=new Image,l=new Promise((c,h)=>{o.onload=()=>{i.bitmap=o,i.isSvg=!0,c()},r.onload=async()=>{const u=i.svgUrl=r.result;o.src=await a?`${u}#svgView(preserveAspectRatio(none))`:u},o.onerror=r.onerror=h});r.readAsDataURL(n),await l}else i.bitmap=await createImageBitmap(n);i.refCounter=1}catch(n){ge(n),i=null}return f(this,rn).set(t,i),i&&f(this,rn).set(i.id,i),i},m(N4,"ImageManager");let US=N4;var $s,Hc,j2,Ss;const fL=class fL{constructor(t=128){T(this,$s,[]);T(this,Hc,!1);T(this,j2);T(this,Ss,-1);x(this,j2,t)}add({cmd:t,undo:e,post:i,mustExec:n,type:a=NaN,overwriteIfSameType:r=!1,keepUndo:o=!1}){if(n&&t(),f(this,Hc))return;const l={cmd:t,undo:e,post:i,type:a};if(f(this,Ss)===-1){f(this,$s).length>0&&(f(this,$s).length=0),x(this,Ss,0),f(this,$s).push(l);return}if(r&&f(this,$s)[f(this,Ss)].type===a){o&&(l.undo=f(this,$s)[f(this,Ss)].undo),f(this,$s)[f(this,Ss)]=l;return}const c=f(this,Ss)+1;c===f(this,j2)?f(this,$s).splice(0,1):(x(this,Ss,c),c=0;e--)if(f(this,$s)[e].type!==t){f(this,$s).splice(e+1,f(this,Ss)-e),x(this,Ss,e);return}f(this,$s).length=0,x(this,Ss,-1)}}destroy(){x(this,$s,null)}};$s=new WeakMap,Hc=new WeakMap,j2=new WeakMap,Ss=new WeakMap,m(fL,"CommandManager");let GS=fL;var L4,HW;const uL=class uL{constructor(t){T(this,L4);this.buffer=[],this.callbacks=new Map,this.allKeys=new Set;const{isMac:e}=Qs.platform;for(const[i,n,a={}]of t)for(const r of i){const o=r.startsWith("mac+");e&&o?(this.callbacks.set(r.slice(4),{callback:n,options:a}),this.allKeys.add(r.split("+").at(-1))):!e&&!o&&(this.callbacks.set(r,{callback:n,options:a}),this.allKeys.add(r.split("+").at(-1)))}}exec(t,e){if(!this.allKeys.has(e.key))return;const i=this.callbacks.get(S(this,L4,HW).call(this,e));if(!i)return;const{callback:n,options:{bubbles:a=!1,args:r=[],checker:o=null}}=i;o&&!o(t,e)||(n.bind(t,...r,e)(),a||Is(e))}};L4=new WeakSet,HW=function(t){t.altKey&&this.buffer.push("alt"),t.ctrlKey&&this.buffer.push("ctrl"),t.metaKey&&this.buffer.push("meta"),t.shiftKey&&this.buffer.push("shift"),this.buffer.push(t.key);const e=this.buffer.join("+");return this.buffer.length=0,e},m(uL,"KeyboardManager");let i1=uL;const yg=class yg{get _colors(){const t=new Map([["CanvasText",null],["Canvas",null]]);return TW(t),pe(this,"_colors",t)}convert(t){const e=Rp(t);if(!window.matchMedia("(forced-colors: active)").matches)return e;for(const[i,n]of this._colors)if(n.every((a,r)=>a===e[r]))return yg._colorsMapping.get(i);return e}getHexCode(t){const e=this._colors.get(t);return e?Et.makeHexColor(...e):t}};m(yg,"ColorManager"),R(yg,"_colorsMapping",new Map([["CanvasText",[0,0,0]],["Canvas",[255,255,255]]]));let $S=yg;var Ld,aa,zd,Rs,Cs,_d,Ud,vn,Gd,Ga,bi,Oc,Nc,Lc,zc,no,$a,Sf,y2,v2,$d,k2,ao,_c,Vd,Uc,ro,z4,nl,Wd,q2,Gc,Cf,Kd,$c,x2,ii,Je,al,Vc,Wc,A2,Xd,S2,Kc,oo,rl,C2,I2,Va,Pt,j5,VS,OW,NW,LW,dm,zW,_W,UW,WS,GW,$W,VW,WW,wn,Ko,KW,XW,KS,YW,pm,XS;const cf=class cf{constructor(t,e,i,n,a,r,o,l,c,h,u,d,p,g,b,w){T(this,Pt);T(this,Ld,new AbortController);T(this,aa,null);T(this,zd,null);T(this,Rs,new Map);T(this,Cs,new Map);T(this,_d,null);T(this,Ud,null);T(this,vn,null);T(this,Gd,null);T(this,Ga,new GS);T(this,bi,null);T(this,Oc,null);T(this,Nc,null);T(this,Lc,0);T(this,zc,new Set);T(this,no,null);T(this,$a,null);T(this,Sf,new Set);R(this,"_editorUndoBar",null);T(this,y2,!1);T(this,v2,!1);T(this,$d,!1);T(this,k2,null);T(this,ao,null);T(this,_c,null);T(this,Vd,null);T(this,Uc,!1);T(this,ro,null);T(this,z4,new _S);T(this,nl,!1);T(this,Wd,!1);T(this,q2,!1);T(this,Gc,null);T(this,Cf,null);T(this,Kd,null);T(this,$c,null);T(this,x2,null);T(this,ii,ue.NONE);T(this,Je,new Set);T(this,al,null);T(this,Vc,null);T(this,Wc,null);T(this,A2,null);T(this,Xd,null);T(this,S2,{isEditing:!1,isEmpty:!0,hasSomethingToUndo:!1,hasSomethingToRedo:!1,hasSelectedEditor:!1,hasSelectedText:!1});T(this,Kc,[0,0]);T(this,oo,null);T(this,rl,null);T(this,C2,null);T(this,I2,null);T(this,Va,null);const y=this._signal=f(this,Ld).signal;x(this,rl,t),x(this,C2,e),x(this,I2,i),x(this,Ud,n),x(this,bi,a),x(this,Vc,r),x(this,Xd,l),this._eventBus=o,o._on("editingaction",this.onEditingAction.bind(this),{signal:y}),o._on("pagechanging",this.onPageChanging.bind(this),{signal:y}),o._on("scalechanging",this.onScaleChanging.bind(this),{signal:y}),o._on("rotationchanging",this.onRotationChanging.bind(this),{signal:y}),o._on("setpreference",this.onSetPreference.bind(this),{signal:y}),o._on("switchannotationeditorparams",j=>this.updateParams(j.type,j.value),{signal:y}),window.addEventListener("pointerdown",()=>{x(this,Wd,!0)},{capture:!0,signal:y}),window.addEventListener("pointerup",()=>{x(this,Wd,!1)},{capture:!0,signal:y}),window.addEventListener("beforeunload",S(this,Pt,OW).bind(this),{capture:!0,signal:y}),S(this,Pt,zW).call(this),S(this,Pt,WW).call(this),S(this,Pt,WS).call(this),x(this,vn,l.annotationStorage),x(this,k2,l.filterFactory),x(this,Wc,c),x(this,Vd,h||null),x(this,y2,u),x(this,v2,d),x(this,$d,p),x(this,x2,g||null),this.viewParameters={realScale:Ph.PDF_TO_CSS_UNITS,rotation:0},this.isShiftKeyDown=!1,this._editorUndoBar=b||null,this._supportsPinchToZoom=w!==!1,a==null||a.setSidebarUiManager(this)}static get _keyboardManager(){const t=cf.prototype,e=m(r=>f(r,rl).contains(document.activeElement)&&document.activeElement.tagName!=="BUTTON"&&r.hasSomethingToControl(),"arrowChecker"),i=m((r,{target:o})=>{if(o instanceof HTMLInputElement){const{type:l}=o;return l!=="text"&&l!=="number"}return!0},"textInputChecker"),n=this.TRANSLATE_SMALL,a=this.TRANSLATE_BIG;return pe(this,"_keyboardManager",new i1([[["ctrl+a","mac+meta+a"],t.selectAll,{checker:i}],[["ctrl+z","mac+meta+z"],t.undo,{checker:i}],[["ctrl+y","ctrl+shift+z","mac+meta+shift+z","ctrl+shift+Z","mac+meta+shift+Z"],t.redo,{checker:i}],[["Backspace","alt+Backspace","ctrl+Backspace","shift+Backspace","mac+Backspace","mac+alt+Backspace","mac+ctrl+Backspace","Delete","ctrl+Delete","shift+Delete","mac+Delete"],t.delete,{checker:i}],[["Enter","mac+Enter"],t.addNewEditorFromKeyboard,{checker:m((r,{target:o})=>!(o instanceof HTMLButtonElement)&&f(r,rl).contains(o)&&!r.isEnterHandled,"checker")}],[[" ","mac+ "],t.addNewEditorFromKeyboard,{checker:m((r,{target:o})=>!(o instanceof HTMLButtonElement)&&f(r,rl).contains(document.activeElement),"checker")}],[["Escape","mac+Escape"],t.unselectAll],[["ArrowLeft","mac+ArrowLeft"],t.translateSelectedEditors,{args:[-n,0],checker:e}],[["ctrl+ArrowLeft","mac+shift+ArrowLeft"],t.translateSelectedEditors,{args:[-a,0],checker:e}],[["ArrowRight","mac+ArrowRight"],t.translateSelectedEditors,{args:[n,0],checker:e}],[["ctrl+ArrowRight","mac+shift+ArrowRight"],t.translateSelectedEditors,{args:[a,0],checker:e}],[["ArrowUp","mac+ArrowUp"],t.translateSelectedEditors,{args:[0,-n],checker:e}],[["ctrl+ArrowUp","mac+shift+ArrowUp"],t.translateSelectedEditors,{args:[0,-a],checker:e}],[["ArrowDown","mac+ArrowDown"],t.translateSelectedEditors,{args:[0,n],checker:e}],[["ctrl+ArrowDown","mac+shift+ArrowDown"],t.translateSelectedEditors,{args:[0,a],checker:e}]]))}destroy(){var t,e,i,n,a,r,o,l,c;(t=f(this,Va))==null||t.resolve(),x(this,Va,null),(e=f(this,Ld))==null||e.abort(),x(this,Ld,null),this._signal=null;for(const h of f(this,Cs).values())h.destroy();f(this,Cs).clear(),f(this,Rs).clear(),f(this,Sf).clear(),(i=f(this,$c))==null||i.clear(),x(this,aa,null),f(this,Je).clear(),f(this,Ga).destroy(),(n=f(this,Ud))==null||n.destroy(),(a=f(this,bi))==null||a.destroy(),(r=f(this,Vc))==null||r.destroy(),(o=f(this,ro))==null||o.hide(),x(this,ro,null),(l=f(this,Kd))==null||l.destroy(),x(this,Kd,null),x(this,zd,null),f(this,ao)&&(clearTimeout(f(this,ao)),x(this,ao,null)),f(this,oo)&&(clearTimeout(f(this,oo)),x(this,oo,null)),(c=this._editorUndoBar)==null||c.destroy(),x(this,Xd,null)}combinedSignal(t){return AbortSignal.any([this._signal,t.signal])}get mlManager(){return f(this,x2)}get useNewAltTextFlow(){return f(this,v2)}get useNewAltTextWhenAddingImage(){return f(this,$d)}get hcmFilter(){return pe(this,"hcmFilter",f(this,Wc)?f(this,k2).addHCMFilter(f(this,Wc).foreground,f(this,Wc).background):"none")}get direction(){return pe(this,"direction",getComputedStyle(f(this,rl)).direction)}get _highlightColors(){return pe(this,"_highlightColors",f(this,Vd)?new Map(f(this,Vd).split(",").map(t=>(t=t.split("=").map(e=>e.trim()),t[1]=t[1].toUpperCase(),t))):null)}get highlightColors(){const{_highlightColors:t}=this;if(!t)return pe(this,"highlightColors",null);const e=new Map,i=!!f(this,Wc);for(const[n,a]of t){const r=n.endsWith("_HCM");if(i&&r){e.set(n.replace("_HCM",""),a);continue}!i&&!r&&e.set(n,a)}return pe(this,"highlightColors",e)}get highlightColorNames(){return pe(this,"highlightColorNames",this.highlightColors?new Map(Array.from(this.highlightColors,t=>t.reverse())):null)}getNonHCMColor(t){if(!this._highlightColors)return t;const e=this.highlightColorNames.get(t);return this._highlightColors.get(e)||t}getNonHCMColorName(t){return this.highlightColorNames.get(t)||t}setCurrentDrawingSession(t){t?(this.unselectAll(),this.disableUserSelect(!0)):this.disableUserSelect(!1),x(this,Nc,t)}setMainHighlightColorPicker(t){x(this,Kd,t)}editAltText(t,e=!1){var i;(i=f(this,Ud))==null||i.editAltText(this,t,e)}hasCommentManager(){return!!f(this,bi)}editComment(t,e,i,n){var a;(a=f(this,bi))==null||a.showDialog(this,t,e,i,n)}selectComment(t,e){var i,n;(n=(i=f(this,Cs).get(t))==null?void 0:i.getEditorByUID(e))==null||n.toggleComment(!0,!0)}updateComment(t){var e;(e=f(this,bi))==null||e.updateComment(t.getData())}updatePopupColor(t){var e;(e=f(this,bi))==null||e.updatePopupColor(t)}removeComment(t){var e;(e=f(this,bi))==null||e.removeComments([t.uid])}deleteComment(t,e){const i=m(()=>{t.comment=e},"undo"),n=m(()=>{var a;(a=this._editorUndoBar)==null||a.show(i,"comment"),this.toggleComment(null),t.comment=null},"cmd");this.addCommands({cmd:n,undo:i,mustExec:!0})}toggleComment(t,e,i=void 0){var n;(n=f(this,bi))==null||n.toggleCommentPopup(t,e,i)}makeCommentColor(t,e){var i;return t&&((i=f(this,bi))==null?void 0:i.makeCommentColor(t,e))||null}getCommentDialogElement(){var t;return((t=f(this,bi))==null?void 0:t.dialogElement)||null}async waitForEditorsRendered(t){if(f(this,Cs).has(t-1))return;const{resolve:e,promise:i}=Promise.withResolvers(),n=m(a=>{a.pageNumber===t&&(this._eventBus._off("editorsrendered",n),e())},"onEditorsRendered");this._eventBus.on("editorsrendered",n),await i}getSignature(t){var e;(e=f(this,Vc))==null||e.getSignature({uiManager:this,editor:t})}get signatureManager(){return f(this,Vc)}switchToMode(t,e){this._eventBus.on("annotationeditormodechanged",e,{once:!0,signal:this._signal}),this._eventBus.dispatch("showannotationeditorui",{source:this,mode:t})}setPreference(t,e){this._eventBus.dispatch("setpreference",{source:this,name:t,value:e})}onSetPreference({name:t,value:e}){t==="enableNewAltTextWhenAddingImage"&&x(this,$d,e)}onPageChanging({pageNumber:t}){x(this,Lc,t-1)}deletePage(t){for(const e of this.getEditors(t))e.remove();f(this,Cs).delete(t),f(this,Lc)===t&&x(this,Lc,0)}focusMainContainer(){f(this,rl).focus()}findParent(t,e){for(const i of f(this,Cs).values()){const{x:n,y:a,width:r,height:o}=i.div.getBoundingClientRect();if(t>=n&&t<=n+r&&e>=a&&e<=a+o)return i}return null}disableUserSelect(t=!1){f(this,C2).classList.toggle("noUserSelect",t)}addShouldRescale(t){f(this,Sf).add(t)}removeShouldRescale(t){f(this,Sf).delete(t)}onScaleChanging({scale:t}){var e;this.commitOrRemove(),this.viewParameters.realScale=t*Ph.PDF_TO_CSS_UNITS;for(const i of f(this,Sf))i.onScaleChanging();(e=f(this,Nc))==null||e.onScaleChanging()}onRotationChanging({pagesRotation:t}){this.commitOrRemove(),this.viewParameters.rotation=t}highlightSelection(t="",e=!1){const i=document.getSelection();if(!i||i.isCollapsed)return;const{anchorNode:n,anchorOffset:a,focusNode:r,focusOffset:o}=i,l=i.toString(),c=S(this,Pt,j5).call(this,i).closest(".textLayer"),h=this.getSelectionBoxes(c);if(!h)return;i.empty();const u=S(this,Pt,VS).call(this,c),d=f(this,ii)===ue.NONE,p=m(()=>{const g=u==null?void 0:u.createAndAddNewEditor({x:0,y:0},!1,{methodOfCreation:t,boxes:h,anchorNode:n,anchorOffset:a,focusNode:r,focusOffset:o,text:l});d&&this.showAllEditors("highlight",!0,!0),e&&(g==null||g.editComment())},"callback");if(d){this.switchToMode(ue.HIGHLIGHT,p);return}p()}commentSelection(t=""){this.highlightSelection(t,!0)}getAndRemoveDataFromAnnotationStorage(t){if(!f(this,vn))return null;const e=`${jb}${t}`,i=f(this,vn).getRawValue(e);return i&&f(this,vn).remove(e),i}addToAnnotationStorage(t){!t.isEmpty()&&f(this,vn)&&!f(this,vn).has(t.id)&&f(this,vn).setValue(t.id,t)}a11yAlert(t,e=null){const i=f(this,I2);i&&(i.setAttribute("data-l10n-id",t),e?i.setAttribute("data-l10n-args",JSON.stringify(e)):i.removeAttribute("data-l10n-args"))}blur(){if(this.isShiftKeyDown=!1,f(this,Uc)&&(x(this,Uc,!1),S(this,Pt,dm).call(this,"main_toolbar")),!this.hasSelection)return;const{activeElement:t}=document;for(const e of f(this,Je))if(e.div.contains(t)){x(this,Cf,[e,t]),e._focusEventsAllowed=!1;break}}focus(){if(!f(this,Cf))return;const[t,e]=f(this,Cf);x(this,Cf,null),e.addEventListener("focusin",()=>{t._focusEventsAllowed=!0},{once:!0,signal:this._signal}),e.focus()}addEditListeners(){S(this,Pt,WS).call(this),this.setEditingState(!0)}removeEditListeners(){S(this,Pt,GW).call(this),this.setEditingState(!1)}dragOver(t){for(const{type:e}of t.dataTransfer.items)for(const i of f(this,$a))if(i.isHandlingMimeForPasting(e)){t.dataTransfer.dropEffect="copy",t.preventDefault();return}}drop(t){for(const e of t.dataTransfer.items)for(const i of f(this,$a))if(i.isHandlingMimeForPasting(e.type)){i.paste(e,this.currentLayer),t.preventDefault();return}}copy(t){var i;if(t.preventDefault(),(i=f(this,aa))==null||i.commitOrRemove(),!this.hasSelection)return;const e=[];for(const n of f(this,Je)){const a=n.serialize(!0);a&&e.push(a)}e.length!==0&&t.clipboardData.setData("application/pdfjs",JSON.stringify(e))}cut(t){this.copy(t),this.delete()}async paste(t){t.preventDefault();const{clipboardData:e}=t;for(const a of e.items)for(const r of f(this,$a))if(r.isHandlingMimeForPasting(a.type)){r.paste(a,this.currentLayer);return}let i=e.getData("application/pdfjs");if(!i)return;try{i=JSON.parse(i)}catch(a){ge(`paste: "${a.message}".`);return}if(!Array.isArray(i))return;this.unselectAll();const n=this.currentLayer;try{const a=[];for(const l of i){const c=await n.deserialize(l);if(!c)return;a.push(c)}const r=m(()=>{for(const l of a)S(this,Pt,KS).call(this,l);S(this,Pt,XS).call(this,a)},"cmd"),o=m(()=>{for(const l of a)l.remove()},"undo");this.addCommands({cmd:r,undo:o,mustExec:!0})}catch(a){ge(`paste: "${a.message}".`)}}keydown(t){!this.isShiftKeyDown&&t.key==="Shift"&&(this.isShiftKeyDown=!0),f(this,ii)!==ue.NONE&&!this.isEditorHandlingKeyboard&&cf._keyboardManager.exec(this,t)}keyup(t){this.isShiftKeyDown&&t.key==="Shift"&&(this.isShiftKeyDown=!1,f(this,Uc)&&(x(this,Uc,!1),S(this,Pt,dm).call(this,"main_toolbar")))}onEditingAction({name:t}){switch(t){case"undo":case"redo":case"delete":case"selectAll":this[t]();break;case"highlightSelection":this.highlightSelection("context_menu");break;case"commentSelection":this.commentSelection("context_menu");break}}updatePageIndex(t,e){for(const n of this.getEditors(t))n.pageIndex=e;const i=f(this,_d).get(t);i&&(i.pageIndex=e,f(this,Cs).set(e,i),f(this,nl)?i.enable():i.disable())}startUpdatePages(){x(this,_d,new Map(f(this,Cs))),f(this,Cs).clear()}endUpdatePages(){x(this,_d,null)}clonePage(t,e){for(const i of this.getEditors(t)){const n=i.serialize(i.mode!==ue.HIGHLIGHT);n&&(n.pageIndex=e,n.id=this.getId(),n.isClone=!0,delete n.popupRef,f(this,vn).setValue(n.id,n))}}findClonesForPage(t){const e=[],{pageIndex:i}=t;for(const[n,a]of f(this,vn))a.pageIndex===i&&a.isClone&&(f(this,vn).remove(n),e.push(t.deserialize(a).then(r=>{r&&(r.isClone=!0,t.addOrRebuild(r))})));return Promise.all(e)}setEditingState(t){t?(S(this,Pt,_W).call(this),S(this,Pt,$W).call(this),S(this,Pt,wn).call(this,{isEditing:f(this,ii)!==ue.NONE,isEmpty:S(this,Pt,pm).call(this),hasSomethingToUndo:f(this,Ga).hasSomethingToUndo(),hasSomethingToRedo:f(this,Ga).hasSomethingToRedo(),hasSelectedEditor:!1})):(S(this,Pt,UW).call(this),S(this,Pt,VW).call(this),S(this,Pt,wn).call(this,{isEditing:!1}),this.disableUserSelect(!1))}registerEditorTypes(t){if(!f(this,$a)){x(this,$a,t);for(const e of f(this,$a))S(this,Pt,Ko).call(this,e.defaultPropertiesToUpdate)}}getId(){return f(this,z4).id}get currentLayer(){return f(this,Cs).get(f(this,Lc))}getLayer(t){return f(this,Cs).get(t)}get currentPageIndex(){return f(this,Lc)}addLayer(t){f(this,Cs).set(t.pageIndex,t),f(this,nl)?t.enable():t.disable()}removeLayer(t){f(this,Cs).delete(t.pageIndex)}async updateMode(t,e=null,i=!1,n=!1,a=!1,r=!1){var o,l,c,h,u,d;if(f(this,ii)!==t&&!(f(this,Va)&&(await f(this,Va).promise,!f(this,Va)))){if(x(this,Va,Promise.withResolvers()),(o=f(this,Nc))==null||o.commitOrRemove(),f(this,ii)===ue.POPUP&&((l=f(this,bi))==null||l.hideSidebar()),(c=f(this,bi))==null||c.destroyPopup(),x(this,ii,t),t===ue.NONE){this.setEditingState(!1),S(this,Pt,XW).call(this);for(const p of f(this,Rs).values())p.hideStandaloneCommentButton();(h=this._editorUndoBar)==null||h.hide(),this.toggleComment(null),f(this,Va).resolve();return}for(const p of f(this,Rs).values())p.addStandaloneCommentButton();t===ue.SIGNATURE&&await((u=f(this,Vc))==null?void 0:u.loadSignatures()),i&&nn.clearPointerType(),this.setEditingState(!0),await S(this,Pt,KW).call(this),this.unselectAll();for(const p of f(this,Cs).values())p.updateMode(t);if(t===ue.POPUP){f(this,zd)||x(this,zd,await f(this,Xd).getAnnotationsByType(new Set(f(this,$a).map(b=>b._editorType))));const p=new Set,g=[];for(const b of f(this,Rs).values()){const{annotationElementId:w,hasComment:y,deleted:j}=b;w&&p.add(w),y&&!j&&g.push(b.getData())}for(const b of f(this,zd)){const{id:w,popupRef:y,contentsObj:j}=b;y&&(j!=null&&j.str)&&!p.has(w)&&!f(this,zc).has(w)&&g.push(b)}(d=f(this,bi))==null||d.showSidebar(g)}if(!e){n&&this.addNewEditorFromKeyboard(),f(this,Va).resolve();return}for(const p of f(this,Rs).values())p.uid===e?(this.setSelected(p),r?p.editComment():a?p.enterInEditMode():p.focus()):p.unselect();f(this,Va).resolve()}}addNewEditorFromKeyboard(){this.currentLayer.canCreateNewEmptyEditor()&&this.currentLayer.addNewEditor()}updateToolbar(t){t.mode!==f(this,ii)&&this._eventBus.dispatch("switchannotationeditormode",{source:this,...t})}updateParams(t,e){if(f(this,$a)){switch(t){case He.CREATE:this.currentLayer.addNewEditor(e);return;case He.HIGHLIGHT_SHOW_ALL:this._eventBus.dispatch("reporttelemetry",{source:this,details:{type:"editing",data:{type:"highlight",action:"toggle_visibility"}}}),(f(this,A2)||x(this,A2,new Map)).set(t,e),this.showAllEditors("highlight",e);break}if(this.hasSelection)for(const i of f(this,Je))i.updateParams(t,e);else for(const i of f(this,$a))i.updateDefaultParams(t,e)}}showAllEditors(t,e,i=!1){var n;for(const a of f(this,Rs).values())a.editorType===t&&a.show(e);(((n=f(this,A2))==null?void 0:n.get(He.HIGHLIGHT_SHOW_ALL))??!0)!==e&&S(this,Pt,Ko).call(this,[[He.HIGHLIGHT_SHOW_ALL,e]])}enableWaiting(t=!1){if(f(this,q2)!==t){x(this,q2,t);for(const e of f(this,Cs).values())t?e.disableClick():e.enableClick(),e.div.classList.toggle("waiting",t)}}*getEditors(t){for(const e of f(this,Rs).values())e.pageIndex===t&&(yield e)}getEditor(t){return f(this,Rs).get(t)}addEditor(t){f(this,Rs).set(t.id,t)}removeEditor(t){var e,i;t.div.contains(document.activeElement)&&(f(this,ao)&&clearTimeout(f(this,ao)),x(this,ao,setTimeout(()=>{this.focusMainContainer(),x(this,ao,null)},0))),f(this,Rs).delete(t.id),t.annotationElementId&&((e=f(this,$c))==null||e.delete(t.annotationElementId)),this.unselect(t),(!t.annotationElementId||!f(this,zc).has(t.annotationElementId))&&((i=f(this,vn))==null||i.remove(t.id))}addDeletedAnnotationElement(t){f(this,zc).add(t.annotationElementId),this.addChangedExistingAnnotation(t),t.deleted=!0}isDeletedAnnotationElement(t){return f(this,zc).has(t)}removeDeletedAnnotationElement(t){f(this,zc).delete(t.annotationElementId),this.removeChangedExistingAnnotation(t),t.deleted=!1}setActiveEditor(t){f(this,aa)!==t&&(x(this,aa,t),t&&S(this,Pt,Ko).call(this,t.propertiesToUpdate))}updateUI(t){f(this,Pt,YW)===t&&S(this,Pt,Ko).call(this,t.propertiesToUpdate)}updateUIForDefaultProperties(t){S(this,Pt,Ko).call(this,t.defaultPropertiesToUpdate)}toggleSelected(t){if(f(this,Je).has(t)){f(this,Je).delete(t),t.unselect(),S(this,Pt,wn).call(this,{hasSelectedEditor:this.hasSelection});return}f(this,Je).add(t),t.select(),S(this,Pt,Ko).call(this,t.propertiesToUpdate),S(this,Pt,wn).call(this,{hasSelectedEditor:!0})}setSelected(t){var e,i;this.updateToolbar({mode:t.mode,editId:t.uid}),(e=f(this,Nc))==null||e.commitOrRemove();for(const n of f(this,Je))n!==t&&n.unselect();(i=f(this,bi))==null||i.destroyPopup(),f(this,Je).clear(),f(this,Je).add(t),t.select(),S(this,Pt,Ko).call(this,t.propertiesToUpdate),S(this,Pt,wn).call(this,{hasSelectedEditor:!0})}isSelected(t){return f(this,Je).has(t)}get firstSelectedEditor(){return f(this,Je).values().next().value}unselect(t){t.unselect(),f(this,Je).delete(t),S(this,Pt,wn).call(this,{hasSelectedEditor:this.hasSelection})}get hasSelection(){return f(this,Je).size!==0}get isEnterHandled(){return f(this,Je).size===1&&this.firstSelectedEditor.isEnterHandled}undo(){var t;f(this,Ga).undo(),S(this,Pt,wn).call(this,{hasSomethingToUndo:f(this,Ga).hasSomethingToUndo(),hasSomethingToRedo:!0,isEmpty:S(this,Pt,pm).call(this)}),(t=this._editorUndoBar)==null||t.hide()}redo(){f(this,Ga).redo(),S(this,Pt,wn).call(this,{hasSomethingToUndo:!0,hasSomethingToRedo:f(this,Ga).hasSomethingToRedo(),isEmpty:S(this,Pt,pm).call(this)})}addCommands(t){f(this,Ga).add(t),S(this,Pt,wn).call(this,{hasSomethingToUndo:!0,hasSomethingToRedo:!1,isEmpty:S(this,Pt,pm).call(this)})}cleanUndoStack(t){f(this,Ga).cleanType(t)}delete(){var a;this.commitOrRemove();const t=(a=this.currentLayer)==null?void 0:a.endDrawingSession(!0);if(!this.hasSelection&&!t)return;const e=t?[t]:[...f(this,Je)],i=m(()=>{var r;(r=this._editorUndoBar)==null||r.show(n,e.length===1?e[0].editorType:e.length);for(const o of e)o.remove()},"cmd"),n=m(()=>{for(const r of e)S(this,Pt,KS).call(this,r)},"undo");this.addCommands({cmd:i,undo:n,mustExec:!0})}commitOrRemove(){var t;(t=f(this,aa))==null||t.commitOrRemove()}hasSomethingToControl(){return f(this,aa)||this.hasSelection}selectAll(){for(const t of f(this,Je))t.commit();S(this,Pt,XS).call(this,f(this,Rs).values())}unselectAll(){var t,e;if(!(f(this,aa)&&(f(this,aa).commitOrRemove(),f(this,ii)!==ue.NONE))&&!((t=f(this,Nc))!=null&&t.commitOrRemove())&&((e=f(this,bi))==null||e.destroyPopup(),!!this.hasSelection)){for(const i of f(this,Je))i.unselect();f(this,Je).clear(),S(this,Pt,wn).call(this,{hasSelectedEditor:!1})}}translateSelectedEditors(t,e,i=!1){if(i||this.commitOrRemove(),!this.hasSelection)return;f(this,Kc)[0]+=t,f(this,Kc)[1]+=e;const[n,a]=f(this,Kc),r=[...f(this,Je)];f(this,oo)&&clearTimeout(f(this,oo)),x(this,oo,setTimeout(()=>{x(this,oo,null),f(this,Kc)[0]=f(this,Kc)[1]=0,this.addCommands({cmd:m(()=>{for(const l of r)f(this,Rs).has(l.id)&&(l.translateInPage(n,a),l.translationDone())},"cmd"),undo:m(()=>{for(const l of r)f(this,Rs).has(l.id)&&(l.translateInPage(-n,-a),l.translationDone())},"undo"),mustExec:!1})},1e3));for(const l of r)l.translateInPage(t,e),l.translationDone()}setUpDragSession(){if(this.hasSelection){this.disableUserSelect(!0),x(this,no,new Map);for(const t of f(this,Je))f(this,no).set(t,{savedX:t.x,savedY:t.y,savedPageIndex:t.pageIndex,newX:0,newY:0,newPageIndex:-1})}}endDragSession(){if(!f(this,no))return!1;this.disableUserSelect(!1);const t=f(this,no);x(this,no,null);let e=!1;for(const[{x:n,y:a,pageIndex:r},o]of t)o.newX=n,o.newY=a,o.newPageIndex=r,e||(e=n!==o.savedX||a!==o.savedY||r!==o.savedPageIndex);if(!e)return!1;const i=m((n,a,r,o)=>{if(f(this,Rs).has(n.id)){const l=f(this,Cs).get(o);l?n._setParentAndPosition(l,a,r):(n.pageIndex=o,n.x=a,n.y=r)}},"move");return this.addCommands({cmd:m(()=>{for(const[n,{newX:a,newY:r,newPageIndex:o}]of t)i(n,a,r,o)},"cmd"),undo:m(()=>{for(const[n,{savedX:a,savedY:r,savedPageIndex:o}]of t)i(n,a,r,o)},"undo"),mustExec:!0}),!0}dragSelectedEditors(t,e){if(f(this,no))for(const i of f(this,no).keys())i.drag(t,e)}rebuild(t){if(t.parent===null){const e=this.getLayer(t.pageIndex);e?(e.changeParent(t),e.addOrRebuild(t)):(this.addEditor(t),this.addToAnnotationStorage(t),t.rebuild())}else t.parent.addOrRebuild(t)}get isEditorHandlingKeyboard(){var t;return((t=this.getActive())==null?void 0:t.shouldGetKeyboardEvents())||f(this,Je).size===1&&this.firstSelectedEditor.shouldGetKeyboardEvents()}isActive(t){return f(this,aa)===t}getActive(){return f(this,aa)}getMode(){return f(this,ii)}isEditingMode(){return f(this,ii)!==ue.NONE}get imageManager(){return pe(this,"imageManager",new US)}getSelectionBoxes(t){if(!t)return null;const e=document.getSelection();for(let c=0,h=e.rangeCount;c({x:(h-n)/r,y:1-(c+u-i)/a,width:d/r,height:u/a}),"rotator");break;case"180":o=m((c,h,u,d)=>({x:1-(c+u-i)/a,y:1-(h+d-n)/r,width:u/a,height:d/r}),"rotator");break;case"270":o=m((c,h,u,d)=>({x:1-(h+d-n)/r,y:(c-i)/a,width:d/r,height:u/a}),"rotator");break;default:o=m((c,h,u,d)=>({x:(c-i)/a,y:(h-n)/r,width:u/a,height:d/r}),"rotator");break}const l=[];for(let c=0,h=e.rangeCount;c{u.type==="pointerup"&&u.button!==0||(l.abort(),o==null||o.toggleDrawing(!0),u.type==="pointerup"&&S(this,Pt,dm).call(this,"main_toolbar"))},"pointerup");window.addEventListener("pointerup",h,{signal:c}),window.addEventListener("blur",h,{signal:c})}else o==null||o.toggleDrawing(!0),S(this,Pt,dm).call(this,"main_toolbar")}},dm=function(t=""){f(this,ii)===ue.HIGHLIGHT?this.highlightSelection(t):f(this,y2)&&S(this,Pt,NW).call(this)},zW=function(){document.addEventListener("selectionchange",S(this,Pt,LW).bind(this),{signal:this._signal})},_W=function(){if(f(this,_c))return;x(this,_c,new AbortController);const t=this.combinedSignal(f(this,_c));window.addEventListener("focus",this.focus.bind(this),{signal:t}),window.addEventListener("blur",this.blur.bind(this),{signal:t})},UW=function(){var t;(t=f(this,_c))==null||t.abort(),x(this,_c,null)},WS=function(){if(f(this,Gc))return;x(this,Gc,new AbortController);const t=this.combinedSignal(f(this,Gc));window.addEventListener("keydown",this.keydown.bind(this),{signal:t}),window.addEventListener("keyup",this.keyup.bind(this),{signal:t})},GW=function(){var t;(t=f(this,Gc))==null||t.abort(),x(this,Gc,null)},$W=function(){if(f(this,Oc))return;x(this,Oc,new AbortController);const t=this.combinedSignal(f(this,Oc));document.addEventListener("copy",this.copy.bind(this),{signal:t}),document.addEventListener("cut",this.cut.bind(this),{signal:t}),document.addEventListener("paste",this.paste.bind(this),{signal:t})},VW=function(){var t;(t=f(this,Oc))==null||t.abort(),x(this,Oc,null)},WW=function(){const t=this._signal;document.addEventListener("dragover",this.dragOver.bind(this),{signal:t}),document.addEventListener("drop",this.drop.bind(this),{signal:t})},wn=function(t){Object.entries(t).some(([e,i])=>f(this,S2)[e]!==i)&&(this._eventBus.dispatch("editingstateschanged",{source:this,details:Object.assign(f(this,S2),t)}),f(this,ii)===ue.HIGHLIGHT&&t.hasSelectedEditor===!1&&S(this,Pt,Ko).call(this,[[He.HIGHLIGHT_FREE,!0]]))},Ko=function(t){this._eventBus.dispatch("annotationeditorparamschanged",{source:this,details:t})},KW=async function(){if(!f(this,nl)){x(this,nl,!0);const t=[];for(const e of f(this,Cs).values())t.push(e.enable());await Promise.all(t);for(const e of f(this,Rs).values())e.enable()}},XW=function(){if(this.unselectAll(),f(this,nl)){x(this,nl,!1);for(const t of f(this,Cs).values())t.disable();for(const t of f(this,Rs).values())t.disable()}},KS=function(t){const e=f(this,Cs).get(t.pageIndex);e?e.addOrRebuild(t):(this.addEditor(t),this.addToAnnotationStorage(t))},YW=function(){let t=null;for(t of f(this,Je));return t},pm=function(){if(f(this,Rs).size===0)return!0;if(f(this,Rs).size===1)for(const t of f(this,Rs).values())return t.isEmpty();return!1},XS=function(t){for(const e of f(this,Je))e.unselect();f(this,Je).clear();for(const e of t)e.isEmpty()||(f(this,Je).add(e),e.select());S(this,Pt,wn).call(this,{hasSelectedEditor:this.hasSelection})},m(cf,"AnnotationEditorUIManager"),R(cf,"TRANSLATE_SMALL",1),R(cf,"TRANSLATE_BIG",10);let n1=cf;var wi,lo,yr,Yd,co,ra,Qd,ho,Ln,ol,If,fo,Xc,Nr,mm,y5;const sn=class sn{constructor(t){T(this,Nr);T(this,wi,null);T(this,lo,!1);T(this,yr,null);T(this,Yd,null);T(this,co,null);T(this,ra,null);T(this,Qd,!1);T(this,ho,null);T(this,Ln,null);T(this,ol,null);T(this,If,null);T(this,fo,!1);x(this,Ln,t),x(this,fo,t._uiManager.useNewAltTextFlow),f(sn,Xc)||x(sn,Xc,Object.freeze({added:"pdfjs-editor-new-alt-text-added-button","added-label":"pdfjs-editor-new-alt-text-added-button-label",missing:"pdfjs-editor-new-alt-text-missing-button","missing-label":"pdfjs-editor-new-alt-text-missing-button-label",review:"pdfjs-editor-new-alt-text-to-review-button","review-label":"pdfjs-editor-new-alt-text-to-review-button-label"}))}static initialize(t){sn._l10n??(sn._l10n=t)}async render(){const t=x(this,yr,document.createElement("button"));t.className="altText",t.tabIndex="0";const e=x(this,Yd,document.createElement("span"));t.append(e),f(this,fo)?(t.classList.add("new"),t.setAttribute("data-l10n-id",f(sn,Xc).missing),e.setAttribute("data-l10n-id",f(sn,Xc)["missing-label"])):(t.setAttribute("data-l10n-id","pdfjs-editor-alt-text-button"),e.setAttribute("data-l10n-id","pdfjs-editor-alt-text-button-label"));const i=f(this,Ln)._uiManager._signal;t.addEventListener("contextmenu",Ra,{signal:i}),t.addEventListener("pointerdown",a=>a.stopPropagation(),{signal:i});const n=m(a=>{a.preventDefault(),f(this,Ln)._uiManager.editAltText(f(this,Ln)),f(this,fo)&&f(this,Ln)._reportTelemetry({action:"pdfjs.image.alt_text.image_status_label_clicked",data:{label:f(this,Nr,mm)}})},"onClick");return t.addEventListener("click",n,{capture:!0,signal:i}),t.addEventListener("keydown",a=>{a.target===t&&a.key==="Enter"&&(x(this,Qd,!0),n(a))},{signal:i}),await S(this,Nr,y5).call(this),t}finish(){f(this,yr)&&(f(this,yr).focus({focusVisible:f(this,Qd)}),x(this,Qd,!1))}isEmpty(){return f(this,fo)?f(this,wi)===null:!f(this,wi)&&!f(this,lo)}hasData(){return f(this,fo)?f(this,wi)!==null||!!f(this,ol):this.isEmpty()}get guessedText(){return f(this,ol)}async setGuessedText(t){f(this,wi)===null&&(x(this,ol,t),x(this,If,await sn._l10n.get("pdfjs-editor-new-alt-text-generated-alt-text-with-disclaimer",{generatedAltText:t})),S(this,Nr,y5).call(this))}toggleAltTextBadge(t=!1){var e;if(!f(this,fo)||f(this,wi)){(e=f(this,ho))==null||e.remove(),x(this,ho,null);return}if(!f(this,ho)){const i=x(this,ho,document.createElement("div"));i.className="noAltTextBadge",f(this,Ln).div.append(i)}f(this,ho).classList.toggle("hidden",!t)}serialize(t){let e=f(this,wi);return!t&&f(this,ol)===e&&(e=f(this,If)),{altText:e,decorative:f(this,lo),guessedText:f(this,ol),textWithDisclaimer:f(this,If)}}get data(){return{altText:f(this,wi),decorative:f(this,lo)}}set data({altText:t,decorative:e,guessedText:i,textWithDisclaimer:n,cancel:a=!1}){i&&(x(this,ol,i),x(this,If,n)),!(f(this,wi)===t&&f(this,lo)===e)&&(a||(x(this,wi,t),x(this,lo,e)),S(this,Nr,y5).call(this))}toggle(t=!1){f(this,yr)&&(!t&&f(this,ra)&&(clearTimeout(f(this,ra)),x(this,ra,null)),f(this,yr).disabled=!t)}shown(){f(this,Ln)._reportTelemetry({action:"pdfjs.image.alt_text.image_status_label_displayed",data:{label:f(this,Nr,mm)}})}destroy(){var t,e;(t=f(this,yr))==null||t.remove(),x(this,yr,null),x(this,Yd,null),x(this,co,null),(e=f(this,ho))==null||e.remove(),x(this,ho,null)}};wi=new WeakMap,lo=new WeakMap,yr=new WeakMap,Yd=new WeakMap,co=new WeakMap,ra=new WeakMap,Qd=new WeakMap,ho=new WeakMap,Ln=new WeakMap,ol=new WeakMap,If=new WeakMap,fo=new WeakMap,Xc=new WeakMap,Nr=new WeakSet,mm=function(){return f(this,wi)&&"added"||f(this,wi)===null&&this.guessedText&&"review"||"missing"},y5=async function(){var i,n,a,r;const t=f(this,yr);if(!t)return;if(f(this,fo)){if(t.classList.toggle("done",!!f(this,wi)),t.setAttribute("data-l10n-id",f(sn,Xc)[f(this,Nr,mm)]),(i=f(this,Yd))==null||i.setAttribute("data-l10n-id",f(sn,Xc)[`${f(this,Nr,mm)}-label`]),!f(this,wi)){(n=f(this,co))==null||n.remove();return}}else{if(!f(this,wi)&&!f(this,lo)){t.classList.remove("done"),(a=f(this,co))==null||a.remove();return}t.classList.add("done"),t.setAttribute("data-l10n-id","pdfjs-editor-alt-text-edit-button")}let e=f(this,co);if(!e){x(this,co,e=document.createElement("span")),e.className="tooltip",e.setAttribute("role","tooltip"),e.id=`alt-text-tooltip-${f(this,Ln).id}`;const o=100,l=f(this,Ln)._uiManager._signal;l.addEventListener("abort",()=>{clearTimeout(f(this,ra)),x(this,ra,null)},{once:!0}),t.addEventListener("mouseenter",()=>{x(this,ra,setTimeout(()=>{x(this,ra,null),f(this,co).classList.add("show"),f(this,Ln)._reportTelemetry({action:"alt_text_tooltip"})},o))},{signal:l}),t.addEventListener("mouseleave",()=>{var c;f(this,ra)&&(clearTimeout(f(this,ra)),x(this,ra,null)),(c=f(this,co))==null||c.classList.remove("show")},{signal:l})}f(this,lo)?e.setAttribute("data-l10n-id","pdfjs-editor-alt-text-decorative-tooltip"):(e.removeAttribute("data-l10n-id"),e.textContent=f(this,wi)),e.parentNode||t.append(e),(r=f(this,Ln).getElementForAltText())==null||r.setAttribute("aria-describedby",e.id)},m(sn,"AltText"),T(sn,Xc,null),R(sn,"_l10n",null);let k6=sn;var Oi,Wa,Tf,ds,T2,Yc,Ka,Qc,Jc,Ff,F2,YS;const dL=class dL{constructor(t){T(this,F2);T(this,Oi,null);T(this,Wa,null);T(this,Tf,!1);T(this,ds,null);T(this,T2,null);T(this,Yc,null);T(this,Ka,null);T(this,Qc,null);T(this,Jc,!1);T(this,Ff,null);x(this,ds,t)}renderForToolbar(){const t=x(this,Wa,document.createElement("button"));return t.className="comment",S(this,F2,YS).call(this,t,!1)}renderForStandalone(){const t=x(this,Oi,document.createElement("button"));t.className="annotationCommentButton";const e=f(this,ds).commentButtonPosition;if(e){const{style:i}=t;i.insetInlineEnd=`calc(${100*(f(this,ds)._uiManager.direction==="ltr"?1-e[0]:e[0])}% - var(--comment-button-dim))`,i.top=`calc(${100*e[1]}% - var(--comment-button-dim))`;const n=f(this,ds).commentButtonColor;n&&(i.backgroundColor=n)}return S(this,F2,YS).call(this,t,!0)}focusButton(){setTimeout(()=>{var t;(t=f(this,Oi)??f(this,Wa))==null||t.focus()},0)}onUpdatedColor(){if(!f(this,Oi))return;const t=f(this,ds).commentButtonColor;t&&(f(this,Oi).style.backgroundColor=t),f(this,ds)._uiManager.updatePopupColor(f(this,ds))}get commentButtonWidth(){var t;return(((t=f(this,Oi))==null?void 0:t.getBoundingClientRect().width)??0)/f(this,ds).parent.boundingClientRect.width}get commentPopupPositionInLayer(){if(f(this,Ff))return f(this,Ff);if(!f(this,Oi))return null;const{x:t,y:e,height:i}=f(this,Oi).getBoundingClientRect(),{x:n,y:a,width:r,height:o}=f(this,ds).parent.boundingClientRect;return[(t-n)/r,(e+i-a)/o]}set commentPopupPositionInLayer(t){x(this,Ff,t)}hasDefaultPopupPosition(){return f(this,Ff)===null}removeStandaloneCommentButton(){var t;(t=f(this,Oi))==null||t.remove(),x(this,Oi,null)}removeToolbarCommentButton(){var t;(t=f(this,Wa))==null||t.remove(),x(this,Wa,null)}setCommentButtonStates({selected:t,hasPopup:e}){f(this,Oi)&&(f(this,Oi).classList.toggle("selected",t),f(this,Oi).ariaExpanded=e)}edit(t){const e=this.commentPopupPositionInLayer;let i,n;if(e)[i,n]=e;else{[i,n]=f(this,ds).commentButtonPosition;const{width:h,height:u,x:d,y:p}=f(this,ds);i=d+i*h,n=p+n*u}const a=f(this,ds).parent.boundingClientRect,{x:r,y:o,width:l,height:c}=a;f(this,ds)._uiManager.editComment(f(this,ds),r+i*l,o+n*c,{...t,parentDimensions:a})}finish(){f(this,Wa)&&(f(this,Wa).focus({focusVisible:f(this,Tf)}),x(this,Tf,!1))}isDeleted(){return f(this,Jc)||f(this,Ka)===""}isEmpty(){return f(this,Ka)===null}hasBeenEdited(){return this.isDeleted()||f(this,Ka)!==f(this,T2)}serialize(){return this.data}get data(){return{text:f(this,Ka),richText:f(this,Yc),date:f(this,Qc),deleted:this.isDeleted()}}set data(t){if(t!==f(this,Ka)&&x(this,Yc,null),t===null){x(this,Ka,""),x(this,Jc,!0);return}x(this,Ka,t),x(this,Qc,new Date),x(this,Jc,!1)}restoreData({text:t,richText:e,date:i}){x(this,Ka,t),x(this,Yc,e),x(this,Qc,i),x(this,Jc,!1)}setInitialText(t,e=null){x(this,T2,t),this.data=t,x(this,Qc,null),x(this,Yc,e)}shown(){}destroy(){var t,e;(t=f(this,Wa))==null||t.remove(),x(this,Wa,null),(e=f(this,Oi))==null||e.remove(),x(this,Oi,null),x(this,Ka,""),x(this,Yc,null),x(this,Qc,null),x(this,ds,null),x(this,Tf,!1),x(this,Jc,!1)}};Oi=new WeakMap,Wa=new WeakMap,Tf=new WeakMap,ds=new WeakMap,T2=new WeakMap,Yc=new WeakMap,Ka=new WeakMap,Qc=new WeakMap,Jc=new WeakMap,Ff=new WeakMap,F2=new WeakSet,YS=function(t,e){if(!f(this,ds)._uiManager.hasCommentManager())return null;t.tabIndex="0",t.ariaHasPopup="dialog",e?(t.ariaControls="commentPopup",t.setAttribute("data-l10n-id","pdfjs-show-comment-button")):(t.ariaControlsElements=[f(this,ds)._uiManager.getCommentDialogElement()],t.setAttribute("data-l10n-id","pdfjs-editor-add-comment-button"));const i=f(this,ds)._uiManager._signal;if(!(i instanceof AbortSignal)||i.aborted)return t;t.addEventListener("contextmenu",Ra,{signal:i}),e&&(t.addEventListener("focusin",a=>{f(this,ds)._focusEventsAllowed=!1,Is(a)},{capture:!0,signal:i}),t.addEventListener("focusout",a=>{f(this,ds)._focusEventsAllowed=!0,Is(a)},{capture:!0,signal:i})),t.addEventListener("pointerdown",a=>a.stopPropagation(),{signal:i});const n=m(a=>{a.preventDefault(),t===f(this,Wa)?this.edit():f(this,ds).toggleComment(!0)},"onClick");return t.addEventListener("click",n,{capture:!0,signal:i}),t.addEventListener("keydown",a=>{a.target===t&&a.key==="Enter"&&(x(this,Tf,!0),n(a))},{signal:i}),t.addEventListener("pointerenter",()=>{f(this,ds).toggleComment(!1,!0)},{signal:i}),t.addEventListener("pointerleave",()=>{f(this,ds).toggleComment(!1,!1)},{signal:i}),t},m(dL,"Comment");let $1=dL;var Jd,Ef,E2,R2,M2,B2,D2,ll,Rf,cl,Mf,hl,Oh,QW,JW,ZW;const _4=class _4{constructor({container:t,isPinchingDisabled:e=null,isPinchingStopped:i=null,onPinchStart:n=null,onPinching:a=null,onPinchEnd:r=null,signal:o}){T(this,Oh);T(this,Jd);T(this,Ef,!1);T(this,E2,null);T(this,R2);T(this,M2);T(this,B2);T(this,D2);T(this,ll,null);T(this,Rf);T(this,cl,null);T(this,Mf);T(this,hl,null);x(this,Jd,t),x(this,E2,i),x(this,R2,e),x(this,M2,n),x(this,B2,a),x(this,D2,r),x(this,Mf,new AbortController),x(this,Rf,AbortSignal.any([o,f(this,Mf).signal])),t.addEventListener("touchstart",S(this,Oh,QW).bind(this),{passive:!1,signal:f(this,Rf)})}get MIN_TOUCH_DISTANCE_TO_PINCH(){return 35/ic.pixelRatio}destroy(){var t,e;(t=f(this,Mf))==null||t.abort(),x(this,Mf,null),(e=f(this,ll))==null||e.abort(),x(this,ll,null)}};Jd=new WeakMap,Ef=new WeakMap,E2=new WeakMap,R2=new WeakMap,M2=new WeakMap,B2=new WeakMap,D2=new WeakMap,ll=new WeakMap,Rf=new WeakMap,cl=new WeakMap,Mf=new WeakMap,hl=new WeakMap,Oh=new WeakSet,QW=function(t){var n,a,r;if((n=f(this,R2))!=null&&n.call(this))return;if(t.touches.length===1){if(f(this,ll))return;const o=x(this,ll,new AbortController),l=AbortSignal.any([f(this,Rf),o.signal]),c=f(this,Jd),h={capture:!0,signal:l,passive:!1},u=m(d=>{var p;d.pointerType==="touch"&&((p=f(this,ll))==null||p.abort(),x(this,ll,null))},"cancelPointerDown");c.addEventListener("pointerdown",d=>{d.pointerType==="touch"&&(Is(d),u(d))},h),c.addEventListener("pointerup",u,h),c.addEventListener("pointercancel",u,h);return}if(!f(this,hl)){x(this,hl,new AbortController);const o=AbortSignal.any([f(this,Rf),f(this,hl).signal]),l=f(this,Jd),c={signal:o,capture:!1,passive:!1};l.addEventListener("touchmove",S(this,Oh,JW).bind(this),c);const h=S(this,Oh,ZW).bind(this);l.addEventListener("touchend",h,c),l.addEventListener("touchcancel",h,c),c.capture=!0,l.addEventListener("pointerdown",Is,c),l.addEventListener("pointermove",Is,c),l.addEventListener("pointercancel",Is,c),l.addEventListener("pointerup",Is,c),(a=f(this,M2))==null||a.call(this)}if(Is(t),t.touches.length!==2||((r=f(this,E2))==null?void 0:r.call(this))){x(this,cl,null);return}let[e,i]=t.touches;e.identifier>i.identifier&&([e,i]=[i,e]),x(this,cl,{touch0X:e.screenX,touch0Y:e.screenY,touch1X:i.screenX,touch1Y:i.screenY})},JW=function(t){var q;if(!f(this,cl)||t.touches.length!==2)return;Is(t);let[e,i]=t.touches;e.identifier>i.identifier&&([e,i]=[i,e]);const{screenX:n,screenY:a}=e,{screenX:r,screenY:o}=i,l=f(this,cl),{touch0X:c,touch0Y:h,touch1X:u,touch1Y:d}=l,p=u-c,g=d-h,b=r-n,w=o-a,y=Math.hypot(b,w)||1,j=Math.hypot(p,g)||1;if(!f(this,Ef)&&Math.abs(j-y)<=_4.MIN_TOUCH_DISTANCE_TO_PINCH)return;if(l.touch0X=n,l.touch0Y=a,l.touch1X=r,l.touch1Y=o,!f(this,Ef)){x(this,Ef,!0);return}const k=[(n+r)/2,(a+o)/2];(q=f(this,B2))==null||q.call(this,k,j,y)},ZW=function(t){var e;t.touches.length>=2||(f(this,hl)&&(f(this,hl).abort(),x(this,hl,null),(e=f(this,D2))==null||e.call(this)),f(this,cl)&&(Is(t),x(this,cl,null),x(this,Ef,!1)))},m(_4,"TouchManager");let q6=_4;var Bf,vr,js,Ze,fl,Zd,Zc,P2,Ni,Df,ul,Xa,th,H2,Pf,oa,O2,Hf,dl,uo,t0,e0,Ya,Of,N2,U4,se,QS,L2,JS,v5,tK,eK,ZS,k5,tC,sK,iK,nK,eC,aK,sC,rK,oK,lK,iC,gm;const de=class de{constructor(t){T(this,se);T(this,Bf,null);T(this,vr,null);T(this,js,null);T(this,Ze,null);T(this,fl,null);T(this,Zd,!1);T(this,Zc,null);T(this,P2,"");T(this,Ni,null);T(this,Df,null);T(this,ul,null);T(this,Xa,null);T(this,th,null);T(this,H2,"");T(this,Pf,!1);T(this,oa,null);T(this,O2,!1);T(this,Hf,!1);T(this,dl,!1);T(this,uo,null);T(this,t0,0);T(this,e0,0);T(this,Ya,null);T(this,Of,null);R(this,"isSelected",!1);R(this,"_isCopy",!1);R(this,"_editToolbar",null);R(this,"_initialOptions",Object.create(null));R(this,"_initialData",null);R(this,"_isVisible",!0);R(this,"_uiManager",null);R(this,"_focusEventsAllowed",!0);T(this,N2,!1);T(this,U4,de._zIndex++);this.parent=t.parent,this.id=t.id,this.width=this.height=null,this.pageIndex=t.parent.pageIndex,this.name=t.name,this.div=null,this._uiManager=t.uiManager,this.annotationElementId=null,this._willKeepAspectRatio=!1,this._initialOptions.isCentered=t.isCentered,this._structTreeParentId=null,this.annotationElementId=t.annotationElementId||null,this.creationDate=t.creationDate||new Date,this.modificationDate=t.modificationDate||null,this.canAddComment=!0;const{rotation:e,rawDims:{pageWidth:i,pageHeight:n,pageX:a,pageY:r}}=this.parent.viewport;this.rotation=e,this.pageRotation=(360+e-this._uiManager.viewParameters.rotation)%360,this.pageDimensions=[i,n],this.pageTranslation=[a,r];const[o,l]=this.parentDimensions;this.x=t.x/o,this.y=t.y/l,this.isAttachedToDOM=!1,this.deleted=!1}static get _resizerKeyboardManager(){const t=de.prototype._resizeWithKeyboard,e=n1.TRANSLATE_SMALL,i=n1.TRANSLATE_BIG;return pe(this,"_resizerKeyboardManager",new i1([[["ArrowLeft","mac+ArrowLeft"],t,{args:[-e,0]}],[["ctrl+ArrowLeft","mac+shift+ArrowLeft"],t,{args:[-i,0]}],[["ArrowRight","mac+ArrowRight"],t,{args:[e,0]}],[["ctrl+ArrowRight","mac+shift+ArrowRight"],t,{args:[i,0]}],[["ArrowUp","mac+ArrowUp"],t,{args:[0,-e]}],[["ctrl+ArrowUp","mac+shift+ArrowUp"],t,{args:[0,-i]}],[["ArrowDown","mac+ArrowDown"],t,{args:[0,e]}],[["ctrl+ArrowDown","mac+shift+ArrowDown"],t,{args:[0,i]}],[["Escape","mac+Escape"],de.prototype._stopResizingWithKeyboard]]))}updatePageIndex(t){this.pageIndex=t}get editorType(){return Object.getPrototypeOf(this).constructor._type}get mode(){return Object.getPrototypeOf(this).constructor._editorType}static get isDrawer(){return!1}static get _defaultLineColor(){return pe(this,"_defaultLineColor",this._colorManager.getHexCode("CanvasText"))}static deleteAnnotationElement(t){const e=new nC({id:t._uiManager.getId(),parent:t.parent,uiManager:t._uiManager});e.annotationElementId=t.annotationElementId,e.deleted=!0,e._uiManager.addToAnnotationStorage(e)}static initialize(t,e){if(de._l10n??(de._l10n=t),de._l10nResizer||(de._l10nResizer=Object.freeze({topLeft:"pdfjs-editor-resizer-top-left",topMiddle:"pdfjs-editor-resizer-top-middle",topRight:"pdfjs-editor-resizer-top-right",middleRight:"pdfjs-editor-resizer-middle-right",bottomRight:"pdfjs-editor-resizer-bottom-right",bottomMiddle:"pdfjs-editor-resizer-bottom-middle",bottomLeft:"pdfjs-editor-resizer-bottom-left",middleLeft:"pdfjs-editor-resizer-middle-left"})),de._borderLineWidth!==-1)return;const i=getComputedStyle(document.documentElement);de._borderLineWidth=parseFloat(i.getPropertyValue("--outline-width"))||0}static updateDefaultParams(t,e){}static get defaultPropertiesToUpdate(){return[]}static isHandlingMimeForPasting(t){return!1}static paste(t,e){We("Not implemented")}get propertiesToUpdate(){return[]}get _isDraggable(){return f(this,N2)}set _isDraggable(t){var e;x(this,N2,t),(e=this.div)==null||e.classList.toggle("draggable",t)}get uid(){return this.annotationElementId||this.id}get isEnterHandled(){return!0}center(){const[t,e]=this.pageDimensions;switch(this.parentRotation){case 90:this.x-=this.height*e/(t*2),this.y+=this.width*t/(e*2);break;case 180:this.x+=this.width/2,this.y+=this.height/2;break;case 270:this.x+=this.height*e/(t*2),this.y-=this.width*t/(e*2);break;default:this.x-=this.width/2,this.y-=this.height/2;break}this.fixAndSetPosition()}addCommands(t){this._uiManager.addCommands(t)}get currentLayer(){return this._uiManager.currentLayer}setInBackground(){this.div.style.zIndex=0}setInForeground(){this.div.style.zIndex=f(this,U4)}setParent(t){var e;t!==null?(this.pageIndex=t.pageIndex,this.pageDimensions=t.pageDimensions):(S(this,se,gm).call(this),(e=f(this,Xa))==null||e.remove(),x(this,Xa,null)),this.parent=t}focusin(t){this._focusEventsAllowed&&(f(this,Pf)?x(this,Pf,!1):this.parent.setSelected(this))}focusout(t){var e,i;!this._focusEventsAllowed||!this.isAttachedToDOM||(e=t.relatedTarget)!=null&&e.closest(`#${this.id}`)||(t.preventDefault(),(i=this.parent)!=null&&i.isMultipleSelection||this.commitOrRemove())}commitOrRemove(){this.isEmpty()?this.remove():this.commit()}commit(){this.isInEditMode()&&this.addToAnnotationStorage()}addToAnnotationStorage(){this._uiManager.addToAnnotationStorage(this)}setAt(t,e,i,n){const[a,r]=this.parentDimensions;[i,n]=this.screenToPageTranslation(i,n),this.x=(t+i)/a,this.y=(e+n)/r,this.fixAndSetPosition()}_moveAfterPaste(t,e){if(this.isClone){delete this.isClone;return}const[i,n]=this.parentDimensions;this.setAt(t*i,e*n,this.width*i,this.height*n),this._onTranslated()}translate(t,e){S(this,se,QS).call(this,this.parentDimensions,t,e)}translateInPage(t,e){f(this,oa)||x(this,oa,[this.x,this.y,this.width,this.height]),S(this,se,QS).call(this,this.pageDimensions,t,e),this.div.scrollIntoView({block:"nearest"})}translationDone(){this._onTranslated(this.x,this.y)}drag(t,e){f(this,oa)||x(this,oa,[this.x,this.y,this.width,this.height]);const{div:i,parentDimensions:[n,a]}=this;if(this.x+=t/n,this.y+=e/a,this.parent&&(this.x<0||this.x>1||this.y<0||this.y>1)){const{x:u,y:d}=this.div.getBoundingClientRect();this.parent.findNewParent(this,u,d)&&(this.x-=Math.floor(this.x),this.y-=Math.floor(this.y))}let{x:r,y:o}=this;const[l,c]=this.getBaseTranslation();r+=l,o+=c;const{style:h}=i;h.left=`${(100*r).toFixed(2)}%`,h.top=`${(100*o).toFixed(2)}%`,this._onTranslating(r,o),i.scrollIntoView({block:"nearest"})}_onTranslating(t,e){}_onTranslated(t,e){}get _hasBeenMoved(){return!!f(this,oa)&&(f(this,oa)[0]!==this.x||f(this,oa)[1]!==this.y)}get _hasBeenResized(){return!!f(this,oa)&&(f(this,oa)[2]!==this.width||f(this,oa)[3]!==this.height)}getBaseTranslation(){const[t,e]=this.parentDimensions,{_borderLineWidth:i}=de,n=i/t,a=i/e;switch(this.rotation){case 90:return[-n,a];case 180:return[n,a];case 270:return[n,-a];default:return[-n,-a]}}get _mustFixPosition(){return!0}fixAndSetPosition(t=this.rotation){const{div:{style:e},pageDimensions:[i,n]}=this;let{x:a,y:r,width:o,height:l}=this;if(o*=i,l*=n,a*=i,r*=n,this._mustFixPosition)switch(t){case 0:a=ui(a,0,i-o),r=ui(r,0,n-l);break;case 90:a=ui(a,0,i-l),r=ui(r,o,n);break;case 180:a=ui(a,o,i),r=ui(r,l,n);break;case 270:a=ui(a,l,i),r=ui(r,0,n-o);break}this.x=a/=i,this.y=r/=n;const[c,h]=this.getBaseTranslation();a+=c,r+=h,e.left=`${(100*a).toFixed(2)}%`,e.top=`${(100*r).toFixed(2)}%`,this.moveInDOM()}screenToPageTranslation(t,e){var i;return S(i=de,L2,JS).call(i,t,e,this.parentRotation)}pageTranslationToScreen(t,e){var i;return S(i=de,L2,JS).call(i,t,e,360-this.parentRotation)}get parentScale(){return this._uiManager.viewParameters.realScale}get parentRotation(){return(this._uiManager.viewParameters.rotation+this.pageRotation)%360}get parentDimensions(){const{parentScale:t,pageDimensions:[e,i]}=this;return[e*t,i*t]}setDims(){const{div:{style:t},width:e,height:i}=this;t.width=`${(100*e).toFixed(2)}%`,t.height=`${(100*i).toFixed(2)}%`}getInitialTranslation(){return[0,0]}_onResized(){}static _round(t){return Math.round(t*1e4)/1e4}_onResizing(){}altTextFinish(){var t;(t=f(this,js))==null||t.finish()}get toolbarButtons(){return null}async addEditToolbar(){if(this._editToolbar||f(this,Hf))return this._editToolbar;this._editToolbar=new NS(this),this.div.append(this._editToolbar.render());const{toolbarButtons:t}=this;if(t)for(const[e,i]of t)await this._editToolbar.addButton(e,i);return this.hasComment||this._editToolbar.addButton("comment",this.addCommentButton()),this._editToolbar.addButton("delete"),this._editToolbar}addCommentButtonInToolbar(){var t;(t=this._editToolbar)==null||t.addButtonBefore("comment",this.addCommentButton(),".deleteButton")}removeCommentButtonFromToolbar(){var t;(t=this._editToolbar)==null||t.removeButton("comment")}removeEditToolbar(){var t,e;(t=this._editToolbar)==null||t.remove(),this._editToolbar=null,(e=f(this,js))==null||e.destroy()}addContainer(t){var i;const e=(i=this._editToolbar)==null?void 0:i.div;e?e.before(t):this.div.append(t)}getClientDimensions(){return this.div.getBoundingClientRect()}createAltText(){return f(this,js)||(k6.initialize(de._l10n),x(this,js,new k6(this)),f(this,Bf)&&(f(this,js).data=f(this,Bf),x(this,Bf,null))),f(this,js)}get altTextData(){var t;return(t=f(this,js))==null?void 0:t.data}set altTextData(t){f(this,js)&&(f(this,js).data=t)}get guessedAltText(){var t;return(t=f(this,js))==null?void 0:t.guessedText}async setGuessedAltText(t){var e;await((e=f(this,js))==null?void 0:e.setGuessedText(t))}serializeAltText(t){var e;return(e=f(this,js))==null?void 0:e.serialize(t)}hasAltText(){return!!f(this,js)&&!f(this,js).isEmpty()}hasAltTextData(){var t;return((t=f(this,js))==null?void 0:t.hasData())??!1}focusCommentButton(){var t;(t=f(this,Ze))==null||t.focusButton()}addCommentButton(){return this.canAddComment?f(this,Ze)||x(this,Ze,new $1(this)):null}addStandaloneCommentButton(){if(this._uiManager.hasCommentManager()){if(f(this,fl)){this._uiManager.isEditingMode()&&f(this,fl).classList.remove("hidden");return}this.hasComment&&(x(this,fl,f(this,Ze).renderForStandalone()),this.div.append(f(this,fl)))}}removeStandaloneCommentButton(){f(this,Ze).removeStandaloneCommentButton(),x(this,fl,null)}hideStandaloneCommentButton(){var t;(t=f(this,fl))==null||t.classList.add("hidden")}get comment(){if(!f(this,Ze))return null;const{data:{richText:t,text:e,date:i,deleted:n}}=f(this,Ze);return{text:e,richText:t,date:i,deleted:n,color:this.getNonHCMColor(),opacity:this.opacity??1}}set comment(t){f(this,Ze)||x(this,Ze,new $1(this)),typeof t=="object"&&t!==null?f(this,Ze).restoreData(t):f(this,Ze).data=t,this.hasComment?(this.removeCommentButtonFromToolbar(),this.addStandaloneCommentButton(),this._uiManager.updateComment(this)):(this.addCommentButtonInToolbar(),this.removeStandaloneCommentButton(),this._uiManager.removeComment(this))}setCommentData({comment:t,popupRef:e,richText:i}){if(!e||(f(this,Ze)||x(this,Ze,new $1(this)),f(this,Ze).setInitialText(t,i),!this.annotationElementId))return;const n=this._uiManager.getAndRemoveDataFromAnnotationStorage(this.annotationElementId);n&&this.updateFromAnnotationLayer(n)}get hasEditedComment(){var t;return(t=f(this,Ze))==null?void 0:t.hasBeenEdited()}get hasDeletedComment(){var t;return(t=f(this,Ze))==null?void 0:t.isDeleted()}get hasComment(){return!!f(this,Ze)&&!f(this,Ze).isEmpty()&&!f(this,Ze).isDeleted()}async editComment(t){f(this,Ze)||x(this,Ze,new $1(this)),f(this,Ze).edit(t)}toggleComment(t,e=void 0){this.hasComment&&this._uiManager.toggleComment(this,t,e)}setSelectedCommentButton(t){f(this,Ze).setSelectedButton(t)}addComment(t){if(this.hasEditedComment){const[,,,e]=t.rect,[i]=this.pageDimensions,[n]=this.pageTranslation,a=n+i+1,r=e-100,o=a+180;t.popup={contents:this.comment.text,deleted:this.comment.deleted,rect:[a,r,o,e]}}}updateFromAnnotationLayer({popup:{contents:t,deleted:e}}){f(this,Ze).data=e?null:t}get parentBoundingClientRect(){return this.parent.boundingClientRect}render(){var r;const t=this.div=document.createElement("div");t.setAttribute("data-editor-rotation",(360-this.rotation)%360),t.className=this.name,t.setAttribute("id",this.id),t.tabIndex=f(this,Zd)?-1:0,t.setAttribute("role","application"),this.defaultL10nId&&t.setAttribute("data-l10n-id",this.defaultL10nId),this._isVisible||t.classList.add("hidden"),this.setInForeground(),S(this,se,sC).call(this);const[e,i]=this.parentDimensions;this.parentRotation%180!==0&&(t.style.maxWidth=`${(100*i/e).toFixed(2)}%`,t.style.maxHeight=`${(100*e/i).toFixed(2)}%`);const[n,a]=this.getInitialTranslation();return this.translate(n,a),EF(this,t,["keydown","pointerdown","dblclick"]),this.isResizable&&this._uiManager._supportsPinchToZoom&&(f(this,Of)||x(this,Of,new q6({container:t,isPinchingDisabled:m(()=>!this.isSelected,"isPinchingDisabled"),onPinchStart:S(this,se,sK).bind(this),onPinching:S(this,se,iK).bind(this),onPinchEnd:S(this,se,nK).bind(this),signal:this._uiManager._signal}))),this.addStandaloneCommentButton(),(r=this._uiManager._editorUndoBar)==null||r.hide(),t}pointerdown(t){const{isMac:e}=Qs.platform;if(t.button!==0||t.ctrlKey&&e){t.preventDefault();return}if(x(this,Pf,!0),this._isDraggable){S(this,se,aK).call(this,t);return}S(this,se,eC).call(this,t)}_onStartDragging(){}_onStopDragging(){}moveInDOM(){f(this,uo)&&clearTimeout(f(this,uo)),x(this,uo,setTimeout(()=>{var t;x(this,uo,null),(t=this.parent)==null||t.moveEditorInDOM(this)},0))}_setParentAndPosition(t,e,i){t.changeParent(this),this.x=e,this.y=i,this.fixAndSetPosition(),this._onTranslated()}getRect(t,e,i=this.rotation){const n=this.parentScale,[a,r]=this.pageDimensions,[o,l]=this.pageTranslation,c=t/n,h=e/n,u=this.x*a,d=this.y*r,p=this.width*a,g=this.height*r;switch(i){case 0:return[u+c+o,r-d-h-g+l,u+c+p+o,r-d-h+l];case 90:return[u+h+o,r-d+c+l,u+h+g+o,r-d+c+p+l];case 180:return[u-c-p+o,r-d+h+l,u-c+o,r-d+h+g+l];case 270:return[u-h-g+o,r-d-c-p+l,u-h+o,r-d-c+l];default:throw new Error("Invalid rotation")}}getRectInCurrentCoords(t,e){const[i,n,a,r]=t,o=a-i,l=r-n;switch(this.rotation){case 0:return[i,e-r,o,l];case 90:return[i,e-n,l,o];case 180:return[a,e-n,o,l];case 270:return[a,e-r,l,o];default:throw new Error("Invalid rotation")}}getPDFRect(){return this.getRect(0,0)}getNonHCMColor(){return this.color&&de._colorManager.convert(this._uiManager.getNonHCMColor(this.color))}onUpdatedColor(){var t;(t=f(this,Ze))==null||t.onUpdatedColor()}getData(){const{comment:{text:t,color:e,date:i,opacity:n,deleted:a,richText:r},uid:o,pageIndex:l,creationDate:c,modificationDate:h}=this;return{id:o,pageIndex:l,rect:this.getPDFRect(),richText:r,contentsObj:{str:t},creationDate:c,modificationDate:i||h,popupRef:!a,color:e,opacity:n}}onceAdded(t){}isEmpty(){return!1}enableEditMode(){return this.isInEditMode()?!1:(this.parent.setEditingState(!1),x(this,Hf,!0),!0)}disableEditMode(){return this.isInEditMode()?(this.parent.setEditingState(!0),x(this,Hf,!1),!0):!1}isInEditMode(){return f(this,Hf)}shouldGetKeyboardEvents(){return f(this,dl)}needsToBeRebuilt(){return this.div&&!this.isAttachedToDOM}get isOnScreen(){const{top:t,left:e,bottom:i,right:n}=this.getClientDimensions(),{innerHeight:a,innerWidth:r}=window;return e0&&t0}rebuild(){S(this,se,sC).call(this)}rotate(t){}resize(){}serializeDeleted(){var t;return{id:this.annotationElementId,deleted:!0,pageIndex:this.pageIndex,popupRef:((t=this._initialData)==null?void 0:t.popupRef)||""}}serialize(t=!1,e=null){var i;return{annotationType:this.mode,pageIndex:this.pageIndex,rect:this.getPDFRect(),rotation:this.rotation,structTreeParentId:this._structTreeParentId,popupRef:((i=this._initialData)==null?void 0:i.popupRef)||""}}static async deserialize(t,e,i){const n=new this.prototype.constructor({parent:e,id:i.getId(),uiManager:i,annotationElementId:t.annotationElementId,creationDate:t.creationDate,modificationDate:t.modificationDate});n.rotation=t.rotation,x(n,Bf,t.accessibilityData),n._isCopy=t.isCopy||!1;const[a,r]=n.pageDimensions,[o,l,c,h]=n.getRectInCurrentCoords(t.rect,r);return n.x=o/a,n.y=l/r,n.width=c/a,n.height=h/r,n}get hasBeenModified(){return!!this.annotationElementId&&(this.deleted||this.serialize()!==null)}remove(){var t,e,i;if((t=f(this,th))==null||t.abort(),x(this,th,null),this.isEmpty()||this.commit(),this.parent?this.parent.remove(this):this._uiManager.removeEditor(this),this.hideCommentPopup(),f(this,uo)&&(clearTimeout(f(this,uo)),x(this,uo,null)),S(this,se,gm).call(this),this.removeEditToolbar(),f(this,Ya)){for(const n of f(this,Ya).values())clearTimeout(n);x(this,Ya,null)}this.parent=null,(e=f(this,Of))==null||e.destroy(),x(this,Of,null),(i=f(this,Xa))==null||i.remove(),x(this,Xa,null)}get isResizable(){return!1}makeResizable(){this.isResizable&&(S(this,se,tK).call(this),f(this,Ni).classList.remove("hidden"))}get toolbarPosition(){return null}get commentButtonPosition(){return this._uiManager.direction==="ltr"?[1,0]:[0,0]}get commentButtonPositionInPage(){const{commentButtonPosition:[t,e]}=this,[i,n,a,r]=this.getPDFRect();return[de._round(i+(a-i)*t),de._round(n+(r-n)*(1-e))]}get commentButtonColor(){return this._uiManager.makeCommentColor(this.getNonHCMColor(),this.opacity)}get commentPopupPosition(){return f(this,Ze).commentPopupPositionInLayer}set commentPopupPosition(t){f(this,Ze).commentPopupPositionInLayer=t}hasDefaultPopupPosition(){return f(this,Ze).hasDefaultPopupPosition()}get commentButtonWidth(){return f(this,Ze).commentButtonWidth}get elementBeforePopup(){return this.div}setCommentButtonStates(t){var e;(e=f(this,Ze))==null||e.setCommentButtonStates(t)}keydown(t){if(!this.isResizable||t.target!==this.div||t.key!=="Enter")return;this._uiManager.setSelected(this),x(this,ul,{savedX:this.x,savedY:this.y,savedWidth:this.width,savedHeight:this.height});const e=f(this,Ni).children;if(!f(this,vr)){x(this,vr,Array.from(e));const r=S(this,se,rK).bind(this),o=S(this,se,oK).bind(this),l=this._uiManager._signal;for(const c of f(this,vr)){const h=c.getAttribute("data-resizer-name");c.setAttribute("role","spinbutton"),c.addEventListener("keydown",r,{signal:l}),c.addEventListener("blur",o,{signal:l}),c.addEventListener("focus",S(this,se,lK).bind(this,h),{signal:l}),c.setAttribute("data-l10n-id",de._l10nResizer[h])}}const i=f(this,vr)[0];let n=0;for(const r of e){if(r===i)break;n++}const a=(360-this.rotation+this.parentRotation)%360/90*(f(this,vr).length/4);if(a!==n){if(an)for(let o=0;o{var n,a;(n=this.div)!=null&&n.classList.contains("selectedEditor")&&((a=this._editToolbar)==null||a.show())});return}(e=this._editToolbar)==null||e.show(),(i=f(this,js))==null||i.toggleAltTextBadge(!1)}focus(){this.div&&!this.div.contains(document.activeElement)&&setTimeout(()=>{var t;return(t=this.div)==null?void 0:t.focus({preventScroll:!0})},0)}unselect(){var t,e,i,n,a;this.isSelected&&(this.isSelected=!1,(t=f(this,Ni))==null||t.classList.add("hidden"),(e=this.div)==null||e.classList.remove("selectedEditor"),(i=this.div)!=null&&i.contains(document.activeElement)&&this._uiManager.currentLayer.div.focus({preventScroll:!0}),(n=this._editToolbar)==null||n.hide(),(a=f(this,js))==null||a.toggleAltTextBadge(!0),this.hideCommentPopup())}hideCommentPopup(){this.hasComment&&this._uiManager.toggleComment(null)}updateParams(t,e){}disableEditing(){}enableEditing(){}get canChangeContent(){return!1}enterInEditMode(){this.canChangeContent&&(this.enableEditMode(),this.div.focus())}dblclick(t){t.target.nodeName!=="BUTTON"&&(this.enterInEditMode(),this.parent.updateToolbar({mode:this.constructor._editorType,editId:this.uid}))}getElementForAltText(){return this.div}get contentDiv(){return this.div}get isEditing(){return f(this,O2)}set isEditing(t){x(this,O2,t),this.parent&&(t?(this.parent.setSelected(this),this.parent.setActiveEditor(this)):this.parent.setActiveEditor(null))}static get MIN_SIZE(){return 16}static canCreateNewEmptyEditor(){return!0}get telemetryInitialData(){return{action:"added"}}get telemetryFinalData(){return null}_reportTelemetry(t,e=!1){if(e){f(this,Ya)||x(this,Ya,new Map);const{action:i}=t;let n=f(this,Ya).get(i);n&&clearTimeout(n),n=setTimeout(()=>{this._reportTelemetry(t),f(this,Ya).delete(i),f(this,Ya).size===0&&x(this,Ya,null)},de._telemetryTimeout),f(this,Ya).set(i,n);return}t.type||(t.type=this.editorType),this._uiManager._eventBus.dispatch("reporttelemetry",{source:this,details:{type:"editing",data:t}})}show(t=this._isVisible){this.div.classList.toggle("hidden",!t),this._isVisible=t}enable(){this.div&&(this.div.tabIndex=0),x(this,Zd,!1)}disable(){this.div&&(this.div.tabIndex=-1),x(this,Zd,!0)}updateFakeAnnotationElement(t){if(!f(this,Xa)&&!this.deleted){x(this,Xa,t.addFakeAnnotation(this));return}if(this.deleted){f(this,Xa).remove(),x(this,Xa,null);return}(this.hasEditedComment||this._hasBeenMoved||this._hasBeenResized)&&f(this,Xa).updateEdited({rect:this.getPDFRect(),popup:this.comment})}renderAnnotationElement(t){if(this.deleted)return t.hide(),null;let e=t.container.querySelector(".annotationContent");if(!e)e=document.createElement("div"),e.classList.add("annotationContent",this.editorType),t.container.prepend(e);else if(e.nodeName==="CANVAS"){const i=e;e=document.createElement("div"),e.classList.add("annotationContent",this.editorType),i.before(e)}return e}resetAnnotationElement(t){const{firstElementChild:e}=t.container;(e==null?void 0:e.nodeName)==="DIV"&&e.classList.contains("annotationContent")&&e.remove()}};Bf=new WeakMap,vr=new WeakMap,js=new WeakMap,Ze=new WeakMap,fl=new WeakMap,Zd=new WeakMap,Zc=new WeakMap,P2=new WeakMap,Ni=new WeakMap,Df=new WeakMap,ul=new WeakMap,Xa=new WeakMap,th=new WeakMap,H2=new WeakMap,Pf=new WeakMap,oa=new WeakMap,O2=new WeakMap,Hf=new WeakMap,dl=new WeakMap,uo=new WeakMap,t0=new WeakMap,e0=new WeakMap,Ya=new WeakMap,Of=new WeakMap,N2=new WeakMap,U4=new WeakMap,se=new WeakSet,QS=function([t,e],i,n){[i,n]=this.screenToPageTranslation(i,n),this.x+=i/t,this.y+=n/e,this._onTranslating(this.x,this.y),this.fixAndSetPosition()},L2=new WeakSet,JS=function(t,e,i){switch(i){case 90:return[e,-t];case 180:return[-t,-e];case 270:return[-e,t];default:return[t,e]}},v5=function(t){switch(t){case 90:{const[e,i]=this.pageDimensions;return[0,-e/i,i/e,0]}case 180:return[-1,0,0,-1];case 270:{const[e,i]=this.pageDimensions;return[0,e/i,-i/e,0]}default:return[1,0,0,1]}},tK=function(){if(f(this,Ni))return;x(this,Ni,document.createElement("div")),f(this,Ni).classList.add("resizers");const t=this._willKeepAspectRatio?["topLeft","topRight","bottomRight","bottomLeft"]:["topLeft","topMiddle","topRight","middleRight","bottomRight","bottomMiddle","bottomLeft","middleLeft"],e=this._uiManager._signal;for(const i of t){const n=document.createElement("div");f(this,Ni).append(n),n.classList.add("resizer",i),n.setAttribute("data-resizer-name",i),n.addEventListener("pointerdown",S(this,se,eK).bind(this,i),{signal:e}),n.addEventListener("contextmenu",Ra,{signal:e}),n.tabIndex=-1}this.div.prepend(f(this,Ni))},eK=function(t,e){var h;e.preventDefault();const{isMac:i}=Qs.platform;if(e.button!==0||e.ctrlKey&&i)return;(h=f(this,js))==null||h.toggle(!1);const n=this._isDraggable;this._isDraggable=!1,x(this,Df,[e.screenX,e.screenY]);const a=new AbortController,r=this._uiManager.combinedSignal(a);this.parent.togglePointerEvents(!1),window.addEventListener("pointermove",S(this,se,tC).bind(this,t),{passive:!0,capture:!0,signal:r}),window.addEventListener("touchmove",Is,{passive:!1,signal:r}),window.addEventListener("contextmenu",Ra,{signal:r}),x(this,ul,{savedX:this.x,savedY:this.y,savedWidth:this.width,savedHeight:this.height});const o=this.parent.div.style.cursor,l=this.div.style.cursor;this.div.style.cursor=this.parent.div.style.cursor=window.getComputedStyle(e.target).cursor;const c=m(()=>{var u;a.abort(),this.parent.togglePointerEvents(!0),(u=f(this,js))==null||u.toggle(!0),this._isDraggable=n,this.parent.div.style.cursor=o,this.div.style.cursor=l,S(this,se,k5).call(this)},"pointerUpCallback");window.addEventListener("pointerup",c,{signal:r}),window.addEventListener("blur",c,{signal:r})},ZS=function(t,e,i,n){this.width=i,this.height=n,this.x=t,this.y=e,this.setDims(),this.fixAndSetPosition(),this._onResized()},k5=function(){if(!f(this,ul))return;const{savedX:t,savedY:e,savedWidth:i,savedHeight:n}=f(this,ul);x(this,ul,null);const a=this.x,r=this.y,o=this.width,l=this.height;a===t&&r===e&&o===i&&l===n||this.addCommands({cmd:S(this,se,ZS).bind(this,a,r,o,l),undo:S(this,se,ZS).bind(this,t,e,i,n),mustExec:!0})},tC=function(t,e){const[i,n]=this.parentDimensions,a=this.x,r=this.y,o=this.width,l=this.height,c=de.MIN_SIZE/i,h=de.MIN_SIZE/n,u=S(this,se,v5).call(this,this.rotation),d=m(($,V)=>[u[0]*$+u[2]*V,u[1]*$+u[3]*V],"transf"),p=S(this,se,v5).call(this,360-this.rotation),g=m(($,V)=>[p[0]*$+p[2]*V,p[1]*$+p[3]*V],"invTransf");let b,w,y=!1,j=!1;switch(t){case"topLeft":y=!0,b=m(($,V)=>[0,0],"getPoint"),w=m(($,V)=>[$,V],"getOpposite");break;case"topMiddle":b=m(($,V)=>[$/2,0],"getPoint"),w=m(($,V)=>[$/2,V],"getOpposite");break;case"topRight":y=!0,b=m(($,V)=>[$,0],"getPoint"),w=m(($,V)=>[0,V],"getOpposite");break;case"middleRight":j=!0,b=m(($,V)=>[$,V/2],"getPoint"),w=m(($,V)=>[0,V/2],"getOpposite");break;case"bottomRight":y=!0,b=m(($,V)=>[$,V],"getPoint"),w=m(($,V)=>[0,0],"getOpposite");break;case"bottomMiddle":b=m(($,V)=>[$/2,V],"getPoint"),w=m(($,V)=>[$/2,0],"getOpposite");break;case"bottomLeft":y=!0,b=m(($,V)=>[0,V],"getPoint"),w=m(($,V)=>[$,0],"getOpposite");break;case"middleLeft":j=!0,b=m(($,V)=>[0,V/2],"getPoint"),w=m(($,V)=>[$,V/2],"getOpposite");break}const k=b(o,l),q=w(o,l);let A=d(...q);const I=de._round(a+A[0]),C=de._round(r+A[1]);let F=1,E=1,D,M;if(e.fromKeyboard)({deltaX:D,deltaY:M}=e);else{const{screenX:$,screenY:V}=e,[rt,Y]=f(this,Df);[D,M]=this.screenToPageTranslation($-rt,V-Y),f(this,Df)[0]=$,f(this,Df)[1]=V}if([D,M]=g(D/i,M/n),y){const $=Math.hypot(o,l);F=E=Math.max(Math.min(Math.hypot(q[0]-k[0]-D,q[1]-k[1]-M)/$,1/o,1/l),c/o,h/l)}else j?F=ui(Math.abs(q[0]-k[0]-D),c,1)/o:E=ui(Math.abs(q[1]-k[1]-M),h,1)/l;const _=de._round(o*F),G=de._round(l*E);A=d(...w(_,G));const K=I-A[0],it=C-A[1];f(this,oa)||x(this,oa,[this.x,this.y,this.width,this.height]),this.width=_,this.height=G,this.x=K,this.y=it,this.setDims(),this.fixAndSetPosition(),this._onResizing()},sK=function(){var t;x(this,ul,{savedX:this.x,savedY:this.y,savedWidth:this.width,savedHeight:this.height}),(t=f(this,js))==null||t.toggle(!1),this.parent.togglePointerEvents(!1)},iK=function(t,e,i){let n=.7*(i/e)+1-.7;if(n===1)return;const a=S(this,se,v5).call(this,this.rotation),r=m((A,I)=>[a[0]*A+a[2]*I,a[1]*A+a[3]*I],"transf"),[o,l]=this.parentDimensions,c=this.x,h=this.y,u=this.width,d=this.height,p=de.MIN_SIZE/o,g=de.MIN_SIZE/l;n=Math.max(Math.min(n,1/u,1/d),p/u,g/d);const b=de._round(u*n),w=de._round(d*n);if(b===u&&w===d)return;f(this,oa)||x(this,oa,[c,h,u,d]);const y=r(u/2,d/2),j=de._round(c+y[0]),k=de._round(h+y[1]),q=r(b/2,w/2);this.x=j-q[0],this.y=k-q[1],this.width=b,this.height=w,this.setDims(),this.fixAndSetPosition(),this._onResizing()},nK=function(){var t;(t=f(this,js))==null||t.toggle(!0),this.parent.togglePointerEvents(!0),S(this,se,k5).call(this)},eC=function(t){const{isMac:e}=Qs.platform;t.ctrlKey&&!e||t.shiftKey||t.metaKey&&e?this.parent.toggleSelected(this):this.parent.setSelected(this)},aK=function(t){const{isSelected:e}=this;this._uiManager.setUpDragSession();let i=!1;const n=new AbortController,a=this._uiManager.combinedSignal(n),r={capture:!0,passive:!1,signal:a},o=m(c=>{n.abort(),x(this,Zc,null),x(this,Pf,!1),this._uiManager.endDragSession()||S(this,se,eC).call(this,c),i&&this._onStopDragging()},"cancelDrag");e&&(x(this,t0,t.clientX),x(this,e0,t.clientY),x(this,Zc,t.pointerId),x(this,P2,t.pointerType),window.addEventListener("pointermove",c=>{i||(i=!0,this._uiManager.toggleComment(this,!0,!1),this._onStartDragging());const{clientX:h,clientY:u,pointerId:d}=c;if(d!==f(this,Zc)){Is(c);return}const[p,g]=this.screenToPageTranslation(h-f(this,t0),u-f(this,e0));x(this,t0,h),x(this,e0,u),this._uiManager.dragSelectedEditors(p,g)},r),window.addEventListener("touchmove",Is,r),window.addEventListener("pointerdown",c=>{c.pointerType===f(this,P2)&&(f(this,Of)||c.isPrimary)&&o(c),Is(c)},r));const l=m(c=>{if(!f(this,Zc)||f(this,Zc)===c.pointerId){o(c);return}Is(c)},"pointerUpCallback");window.addEventListener("pointerup",l,{signal:a}),window.addEventListener("blur",l,{signal:a})},sC=function(){if(f(this,th)||!this.div)return;x(this,th,new AbortController);const t=this._uiManager.combinedSignal(f(this,th));this.div.addEventListener("focusin",this.focusin.bind(this),{signal:t}),this.div.addEventListener("focusout",this.focusout.bind(this),{signal:t})},rK=function(t){de._resizerKeyboardManager.exec(this,t)},oK=function(t){var e;f(this,dl)&&((e=t.relatedTarget)==null?void 0:e.parentNode)!==f(this,Ni)&&S(this,se,gm).call(this)},lK=function(t){x(this,H2,f(this,dl)?t:"")},iC=function(t){if(f(this,vr))for(const e of f(this,vr))e.tabIndex=t},gm=function(){x(this,dl,!1),S(this,se,iC).call(this,-1),S(this,se,k5).call(this)},T(de,L2),m(de,"AnnotationEditor"),R(de,"_l10n",null),R(de,"_l10nResizer",null),R(de,"_borderLineWidth",-1),R(de,"_colorManager",new $S),R(de,"_zIndex",1),R(de,"_telemetryTimeout",1e3);let ms=de;const pL=class pL extends ms{constructor(t){super(t),this.annotationElementId=t.annotationElementId,this.deleted=!0}serialize(){return this.serializeDeleted()}};m(pL,"FakeEditor");let nC=pL;const Y_=3285377520,Ba=4294901760,Kr=65535,mL=class mL{constructor(t){this.h1=t?t&4294967295:Y_,this.h2=t?t&4294967295:Y_}update(t){let e,i;if(typeof t=="string"){e=new Uint8Array(t.length*2),i=0;for(let b=0,w=t.length;b>>8,e[i++]=y&255)}}else if(ArrayBuffer.isView(t))e=t.slice(),i=e.byteLength;else throw new Error("Invalid data format, must be a string or TypedArray.");const n=i>>2,a=i-n*4,r=new Uint32Array(e.buffer,0,n);let o=0,l=0,c=this.h1,h=this.h2;const u=3432918353,d=461845907,p=u&Kr,g=d&Kr;for(let b=0;b>>17,o=o*d&Ba|o*g&Kr,c^=o,c=c<<13|c>>>19,c=c*5+3864292196):(l=r[b],l=l*u&Ba|l*p&Kr,l=l<<15|l>>>17,l=l*d&Ba|l*g&Kr,h^=l,h=h<<13|h>>>19,h=h*5+3864292196);switch(o=0,a){case 3:o^=e[n*4+2]<<16;case 2:o^=e[n*4+1]<<8;case 1:o^=e[n*4],o=o*u&Ba|o*p&Kr,o=o<<15|o>>>17,o=o*d&Ba|o*g&Kr,n&1?c^=o:h^=o}this.h1=c,this.h2=h}hexdigest(){let t=this.h1,e=this.h2;return t^=e>>>1,t=t*3981806797&Ba|t*36045&Kr,e=e*4283543511&Ba|((e<<16|t>>>16)*2950163797&Ba)>>>16,t^=e>>>1,t=t*444984403&Ba|t*60499&Kr,e=e*3301882366&Ba|((e<<16|t>>>16)*3120437893&Ba)>>>16,t^=e>>>1,(t>>>0).toString(16).padStart(8,"0")+(e>>>0).toString(16).padStart(8,"0")}};m(mL,"MurmurHash3_64");let x6=mL;const Sb=Object.freeze({map:null,hash:"",transfer:void 0});var Nf,Lf,pl,Li,G4,cK;const gL=class gL{constructor(){T(this,G4);T(this,Nf,!1);T(this,Lf,null);T(this,pl,null);T(this,Li,new Map);R(this,"onSetModified",null);R(this,"onResetModified",null);R(this,"onAnnotationEditor",null)}getValue(t,e){const i=f(this,Li).get(t);return i===void 0?e:Object.assign(e,i)}getRawValue(t){return f(this,Li).get(t)}remove(t){var i;const e=f(this,Li).get(t);e!==void 0&&(e instanceof ms&&f(this,pl).delete(e.annotationElementId),f(this,Li).delete(t),f(this,Li).size===0&&this.resetModified(),!f(this,Li).values().some(n=>n instanceof ms)&&((i=this.onAnnotationEditor)==null||i.call(this,null)))}setValue(t,e){var a;const i=f(this,Li).get(t);let n=!1;if(i!==void 0)for(const[r,o]of Object.entries(e))i[r]!==o&&(n=!0,i[r]=o);else n=!0,f(this,Li).set(t,e);n&&S(this,G4,cK).call(this),e instanceof ms&&((f(this,pl)||x(this,pl,new Map)).set(e.annotationElementId,e),(a=this.onAnnotationEditor)==null||a.call(this,e.constructor._type))}has(t){return f(this,Li).has(t)}get size(){return f(this,Li).size}resetModified(){var t;f(this,Nf)&&(x(this,Nf,!1),(t=this.onResetModified)==null||t.call(this))}get print(){return new A6(this)}get serializable(){if(f(this,Li).size===0)return Sb;const t=new Map,e=new x6,i=[],n=Object.create(null);let a=!1;for(const[r,o]of f(this,Li)){const l=o instanceof ms?o.serialize(!1,n):o;o.page&&(o.pageIndex=o.page._pageIndex,delete o.page),l&&(t.set(r,l),e.update(`${r}:${JSON.stringify(l)}`),a||(a=!!l.bitmap))}if(a)for(const r of t.values())r.bitmap&&i.push(r.bitmap);return t.size>0?{map:t,hash:e.hexdigest(),transfer:i}:Sb}get editorStats(){let t=null;const e=new Map;let i=0,n=0;for(const a of f(this,Li).values()){if(!(a instanceof ms)){a.popup&&(a.popup.deleted?n+=1:i+=1);continue}a.isCommentDeleted?n+=1:a.hasEditedComment&&(i+=1);const r=a.telemetryFinalData;if(!r)continue;const{type:o}=r;e.has(o)||e.set(o,Object.getPrototypeOf(a).constructor),t||(t=Object.create(null));const l=t[o]||(t[o]=new Map);for(const[c,h]of Object.entries(r)){if(c==="type")continue;const u=l.getOrInsertComputed(c,IF);u.set(h,(u.get(h)??0)+1)}}if((n>0||i>0)&&(t||(t=Object.create(null)),t.comments={deleted:n,edited:i}),!t)return null;for(const[a,r]of e)t[a]=r.computeTelemetryFinalData(t[a]);return t}resetModifiedIds(){x(this,Lf,null)}updateEditor(t,e){var n;const i=(n=f(this,pl))==null?void 0:n.get(t);return i?(i.updateFromAnnotationLayer(e),!0):!1}getEditor(t){var e;return((e=f(this,pl))==null?void 0:e.get(t))||null}get modifiedIds(){if(f(this,Lf))return f(this,Lf);const t=[];if(f(this,pl))for(const e of f(this,pl).values())e.serialize()&&t.push(e.annotationElementId);return x(this,Lf,{ids:new Set(t),hash:t.join(",")})}[Symbol.iterator](){return f(this,Li).entries()}};Nf=new WeakMap,Lf=new WeakMap,pl=new WeakMap,Li=new WeakMap,G4=new WeakSet,cK=function(){var t;f(this,Nf)||(x(this,Nf,!0),(t=this.onSetModified)==null||t.call(this))},m(gL,"AnnotationStorage");let Cb=gL;var z2;const bL=class bL extends Cb{constructor(e){super();T(this,z2,Sb);const{serializable:i}=e;if(i===Sb)return;const{map:n,hash:a,transfer:r}=i,o=structuredClone(n,r?{transfer:r}:null);x(this,z2,{map:o,hash:a,transfer:[]})}get print(){We("Should not call PrintAnnotationStorage.print")}get serializable(){return f(this,z2)}get modifiedIds(){return pe(this,"modifiedIds",{ids:new Set,hash:""})}};z2=new WeakMap,m(bL,"PrintAnnotationStorage");let A6=bL;const v1="__forcedDependency",{floor:Q_,ceil:J_}=Math;function aC(s,t,e,i,n,a){s[t*4+0]=Math.min(s[t*4+0],e),s[t*4+1]=Math.min(s[t*4+1],i),s[t*4+2]=Math.max(s[t*4+2],n),s[t*4+3]=Math.max(s[t*4+3],a)}m(aC,"expandBBox");const rC=new Uint32Array(new Uint8Array([255,255,0,0]).buffer)[0];var s0,eh;const wL=class wL{constructor(t,e){T(this,s0);T(this,eh);x(this,s0,t),x(this,eh,e)}get length(){return f(this,s0).length}isEmpty(t){return f(this,s0)[t]===rC}minX(t){return f(this,eh)[t*4+0]/256}minY(t){return f(this,eh)[t*4+1]/256}maxX(t){return(f(this,eh)[t*4+2]+1)/256}maxY(t){return(f(this,eh)[t*4+3]+1)/256}};s0=new WeakMap,eh=new WeakMap,m(wL,"BBoxReader");let oC=wL;const Z_=m((s,t)=>s==null?void 0:s.getOrInsertComputed(t,()=>({dependencies:new Set,isRenderingOperation:!1})),"ensureDebugMetadata");var ml,Ke,ns,zf,_f,Uf,on,_2,cC;const jL=class jL{constructor(t,e){T(this,_2);T(this,ml,[[1,0,0,1,0,0]]);T(this,Ke,[-1/0,-1/0,1/0,1/0]);T(this,ns,new Float64Array([1/0,1/0,-1/0,-1/0]));R(this,"_pendingBBoxIdx",-1);T(this,zf);T(this,_f);T(this,Uf);T(this,on);R(this,"_savesStack",[]);R(this,"_markedContentStack",[]);x(this,zf,t.width),x(this,_f,t.height),S(this,_2,cC).call(this,e)}growOperationsCount(t){t>=f(this,on).length&&S(this,_2,cC).call(this,t,f(this,on))}get clipBox(){return f(this,Ke)}save(t){return x(this,Ke,{__proto__:f(this,Ke)}),this._savesStack.push(t),this}restore(t,e){const i=Object.getPrototypeOf(f(this,Ke));if(i===null)return this;x(this,Ke,i);const n=this._savesStack.pop();return n!==void 0&&(e==null||e(n,t),f(this,on)[t]=f(this,on)[n]),this}recordOpenMarker(t){return this._savesStack.push(t),this}getOpenMarker(){return this._savesStack.length===0?null:this._savesStack.at(-1)}recordCloseMarker(t,e){const i=this._savesStack.pop();return i!==void 0&&(e==null||e(i,t),f(this,on)[t]=f(this,on)[i]),this}beginMarkedContent(t){return this._markedContentStack.push(t),this}endMarkedContent(t,e){const i=this._markedContentStack.pop();return i!==void 0&&(e==null||e(i,t),f(this,on)[t]=f(this,on)[i]),this}pushBaseTransform(t){return f(this,ml).push(Et.multiplyByDOMMatrix(f(this,ml).at(-1),t.getTransform())),this}popBaseTransform(){return f(this,ml).length>1&&f(this,ml).pop(),this}resetBBox(t){return this._pendingBBoxIdx!==t&&(this._pendingBBoxIdx=t,f(this,ns)[0]=1/0,f(this,ns)[1]=1/0,f(this,ns)[2]=-1/0,f(this,ns)[3]=-1/0),this}recordClipBox(t,e,i,n,a,r){const o=Et.multiplyByDOMMatrix(f(this,ml).at(-1),e.getTransform()),l=[1/0,1/0,-1/0,-1/0];Et.axialAlignedBoundingBox([i,a,n,r],o,l);const c=Et.intersect(f(this,Ke),l);return c?(f(this,Ke)[0]=c[0],f(this,Ke)[1]=c[1],f(this,Ke)[2]=c[2],f(this,Ke)[3]=c[3]):(f(this,Ke)[0]=f(this,Ke)[1]=1/0,f(this,Ke)[2]=f(this,Ke)[3]=-1/0),this}recordBBox(t,e,i,n,a,r){const o=f(this,Ke);if(o[0]===1/0)return this;const l=Et.multiplyByDOMMatrix(f(this,ml).at(-1),e.getTransform());if(o[0]===-1/0)return Et.axialAlignedBoundingBox([i,a,n,r],l,f(this,ns)),this;const c=[1/0,1/0,-1/0,-1/0];return Et.axialAlignedBoundingBox([i,a,n,r],l,c),f(this,ns)[0]=Math.min(f(this,ns)[0],Math.max(c[0],o[0])),f(this,ns)[1]=Math.min(f(this,ns)[1],Math.max(c[1],o[1])),f(this,ns)[2]=Math.max(f(this,ns)[2],Math.min(c[2],o[2])),f(this,ns)[3]=Math.max(f(this,ns)[3],Math.min(c[3],o[3])),this}recordFullPageBBox(t){return f(this,ns)[0]=Math.max(0,f(this,Ke)[0]),f(this,ns)[1]=Math.max(0,f(this,Ke)[1]),f(this,ns)[2]=Math.min(f(this,zf),f(this,Ke)[2]),f(this,ns)[3]=Math.min(f(this,_f),f(this,Ke)[3]),this}recordOperation(t,e=!1,i){if(this._pendingBBoxIdx!==t)return this;const n=Q_(f(this,ns)[0]*256/f(this,zf)),a=Q_(f(this,ns)[1]*256/f(this,_f)),r=J_(f(this,ns)[2]*256/f(this,zf)),o=J_(f(this,ns)[3]*256/f(this,_f));if(aC(f(this,Uf),t,n,a,r,o),i)for(const l of i)for(const c of l)c!==t&&aC(f(this,Uf),c,n,a,r,o);return e||(this._pendingBBoxIdx=-1),this}bboxToClipBoxDropOperation(t){return this._pendingBBoxIdx===t&&(this._pendingBBoxIdx=-1,f(this,Ke)[0]=Math.max(f(this,Ke)[0],f(this,ns)[0]),f(this,Ke)[1]=Math.max(f(this,Ke)[1],f(this,ns)[1]),f(this,Ke)[2]=Math.min(f(this,Ke)[2],f(this,ns)[2]),f(this,Ke)[3]=Math.min(f(this,Ke)[3],f(this,ns)[3])),this}take(){return new oC(f(this,on),f(this,Uf))}takeDebugMetadata(){throw new Error("Unreachable")}recordSimpleData(t,e){return this}recordIncrementalData(t,e){return this}resetIncrementalData(t,e){return this}recordNamedData(t,e){return this}recordSimpleDataFromNamed(t,e,i){return this}recordFutureForcedDependency(t,e){return this}inheritSimpleDataAsFutureForcedDependencies(t){return this}inheritPendingDependenciesAsFutureForcedDependencies(){return this}recordCharacterBBox(t,e,i,n=1,a=0,r=0,o){return this}getSimpleIndex(t){}recordDependencies(t,e){return this}recordNamedDependency(t,e){return this}recordShowTextOperation(t,e=!1){return this}};ml=new WeakMap,Ke=new WeakMap,ns=new WeakMap,zf=new WeakMap,_f=new WeakMap,Uf=new WeakMap,on=new WeakMap,_2=new WeakSet,cC=function(t,e){const i=new ArrayBuffer(t*4);x(this,Uf,new Uint8ClampedArray(i)),x(this,on,new Uint32Array(i)),e&&e.length>0?(f(this,on).set(e),f(this,on).fill(rC,e.length)):f(this,on).fill(rC)},m(jL,"CanvasBBoxTracker");let lC=jL;var zn,_n,Gf,kr,i0,sh,ih,as;const yL=class yL{constructor(t,e=!1){T(this,zn,{__proto__:null});T(this,_n,{__proto__:null,transform:[],moveText:[],sameLineText:[],[v1]:[]});T(this,Gf,new Map);T(this,kr,new Set);T(this,i0,new Map);T(this,sh);T(this,ih);T(this,as);x(this,as,t),e&&(x(this,sh,new Map),x(this,ih,(i,n)=>{Z_(f(this,sh),n).dependencies.add(i)}))}get clipBox(){return f(this,as).clipBox}growOperationsCount(t){f(this,as).growOperationsCount(t)}save(t){return x(this,zn,{__proto__:f(this,zn)}),x(this,_n,{__proto__:f(this,_n),transform:{__proto__:f(this,_n).transform},moveText:{__proto__:f(this,_n).moveText},sameLineText:{__proto__:f(this,_n).sameLineText},[v1]:{__proto__:f(this,_n)[v1]}}),f(this,as).save(t),this}restore(t){f(this,as).restore(t,f(this,ih));const e=Object.getPrototypeOf(f(this,zn));return e===null?this:(x(this,zn,e),x(this,_n,Object.getPrototypeOf(f(this,_n))),this)}recordOpenMarker(t){return f(this,as).recordOpenMarker(t,f(this,ih)),this}getOpenMarker(){return f(this,as).getOpenMarker()}recordCloseMarker(t){return f(this,as).recordCloseMarker(t,f(this,ih)),this}beginMarkedContent(t){return f(this,as).beginMarkedContent(t),this}endMarkedContent(t){return f(this,as).endMarkedContent(t,f(this,ih)),this}pushBaseTransform(t){return f(this,as).pushBaseTransform(t),this}popBaseTransform(){return f(this,as).popBaseTransform(),this}recordSimpleData(t,e){return f(this,zn)[t]=e,this}recordIncrementalData(t,e){return f(this,_n)[t].push(e),this}resetIncrementalData(t,e){return f(this,_n)[t].length=0,this}recordNamedData(t,e){return f(this,Gf).set(t,e),this}recordSimpleDataFromNamed(t,e,i){f(this,zn)[t]=f(this,Gf).get(e)??i}recordFutureForcedDependency(t,e){return this.recordIncrementalData(v1,e),this}inheritSimpleDataAsFutureForcedDependencies(t){for(const e of t)e in f(this,zn)&&this.recordFutureForcedDependency(e,f(this,zn)[e]);return this}inheritPendingDependenciesAsFutureForcedDependencies(){for(const t of f(this,kr))this.recordFutureForcedDependency(v1,t);return this}resetBBox(t){return f(this,as).resetBBox(t),this}recordClipBox(t,e,i,n,a,r){return f(this,as).recordClipBox(t,e,i,n,a,r),this}recordBBox(t,e,i,n,a,r){return f(this,as).recordBBox(t,e,i,n,a,r),this}recordCharacterBBox(t,e,i,n=1,a=0,r=0,o){const l=i.bbox;let c,h;if(l&&(c=l[2]!==l[0]&&l[3]!==l[1]&&f(this,i0).get(i),c!==!1&&(h=[0,0,0,0],Et.axialAlignedBoundingBox(l,i.fontMatrix,h),(n!==1||a!==0||r!==0)&&Et.scaleMinMax([n,0,0,-n,a,r],h),c)))return this.recordBBox(t,e,h[0],h[2],h[1],h[3]);if(!o)return this.recordFullPageBBox(t);const u=o();return l&&h&&c===void 0&&(c=h[0]<=a-u.actualBoundingBoxLeft&&h[2]>=a+u.actualBoundingBoxRight&&h[1]<=r-u.actualBoundingBoxAscent&&h[3]>=r+u.actualBoundingBoxDescent,f(this,i0).set(i,c),c)?this.recordBBox(t,e,h[0],h[2],h[1],h[3]):this.recordBBox(t,e,a-u.actualBoundingBoxLeft,a+u.actualBoundingBoxRight,r-u.actualBoundingBoxAscent,r+u.actualBoundingBoxDescent)}recordFullPageBBox(t){return f(this,as).recordFullPageBBox(t),this}getSimpleIndex(t){return f(this,zn)[t]}recordDependencies(t,e){const i=f(this,kr),n=f(this,zn),a=f(this,_n);for(const r of e)r in f(this,zn)?i.add(n[r]):r in a&&a[r].forEach(i.add,i);return this}recordNamedDependency(t,e){return f(this,Gf).has(e)&&f(this,kr).add(f(this,Gf).get(e)),this}recordOperation(t,e=!1){if(this.recordDependencies(t,[v1]),f(this,sh)){const n=Z_(f(this,sh),t),{dependencies:a}=n;f(this,kr).forEach(a.add,a),f(this,as)._savesStack.forEach(a.add,a),f(this,as)._markedContentStack.forEach(a.add,a),a.delete(t),n.isRenderingOperation=!0}const i=!e&&t===f(this,as)._pendingBBoxIdx;return f(this,as).recordOperation(t,e,[f(this,kr),f(this,as)._savesStack,f(this,as)._markedContentStack]),i&&f(this,kr).clear(),this}recordShowTextOperation(t,e=!1){const i=Array.from(f(this,kr));this.recordOperation(t,e),this.recordIncrementalData("sameLineText",t);for(const n of i)this.recordIncrementalData("sameLineText",n);return this}bboxToClipBoxDropOperation(t,e=!1){const i=!e&&t===f(this,as)._pendingBBoxIdx;return f(this,as).bboxToClipBoxDropOperation(t),i&&f(this,kr).clear(),this}take(){return f(this,i0).clear(),f(this,as).take()}takeDebugMetadata(){return f(this,sh)}};zn=new WeakMap,_n=new WeakMap,Gf=new WeakMap,kr=new WeakMap,i0=new WeakMap,sh=new WeakMap,ih=new WeakMap,as=new WeakMap,m(yL,"CanvasDependencyTracker");let hC=yL;var rs,Ms,qr,n0,a0;const $4=class $4{constructor(t,e,i){T(this,rs);T(this,Ms);T(this,qr);T(this,n0,0);T(this,a0,0);if(t instanceof $4&&f(t,qr)===!!i)return t;x(this,rs,t),x(this,Ms,e),x(this,qr,!!i)}get clipBox(){return f(this,rs).clipBox}growOperationsCount(){throw new Error("Unreachable")}save(t){return Gs(this,a0)._++,f(this,rs).save(f(this,Ms)),this}restore(t){return f(this,a0)>0&&(f(this,rs).restore(f(this,Ms)),Gs(this,a0)._--),this}recordOpenMarker(t){return Gs(this,n0)._++,this}getOpenMarker(){return f(this,n0)>0?f(this,Ms):f(this,rs).getOpenMarker()}recordCloseMarker(t){return Gs(this,n0)._--,this}beginMarkedContent(t){return this}endMarkedContent(t){return this}pushBaseTransform(t){return f(this,rs).pushBaseTransform(t),this}popBaseTransform(){return f(this,rs).popBaseTransform(),this}recordSimpleData(t,e){return f(this,rs).recordSimpleData(t,f(this,Ms)),this}recordIncrementalData(t,e){return f(this,rs).recordIncrementalData(t,f(this,Ms)),this}resetIncrementalData(t,e){return f(this,rs).resetIncrementalData(t,f(this,Ms)),this}recordNamedData(t,e){return this}recordSimpleDataFromNamed(t,e,i){return f(this,rs).recordSimpleDataFromNamed(t,e,f(this,Ms)),this}recordFutureForcedDependency(t,e){return f(this,rs).recordFutureForcedDependency(t,f(this,Ms)),this}inheritSimpleDataAsFutureForcedDependencies(t){return f(this,rs).inheritSimpleDataAsFutureForcedDependencies(t),this}inheritPendingDependenciesAsFutureForcedDependencies(){return f(this,rs).inheritPendingDependenciesAsFutureForcedDependencies(),this}resetBBox(t){return f(this,qr)||f(this,rs).resetBBox(f(this,Ms)),this}recordClipBox(t,e,i,n,a,r){return f(this,qr)||f(this,rs).recordClipBox(f(this,Ms),e,i,n,a,r),this}recordBBox(t,e,i,n,a,r){return f(this,qr)||f(this,rs).recordBBox(f(this,Ms),e,i,n,a,r),this}recordCharacterBBox(t,e,i,n,a,r,o){return f(this,qr)||f(this,rs).recordCharacterBBox(f(this,Ms),e,i,n,a,r,o),this}recordFullPageBBox(t){return f(this,qr)||f(this,rs).recordFullPageBBox(f(this,Ms)),this}getSimpleIndex(t){return f(this,rs).getSimpleIndex(t)}recordDependencies(t,e){return f(this,rs).recordDependencies(f(this,Ms),e),this}recordNamedDependency(t,e){return f(this,rs).recordNamedDependency(f(this,Ms),e),this}recordOperation(t){return f(this,rs).recordOperation(f(this,Ms),!0),this}recordShowTextOperation(t){return f(this,rs).recordShowTextOperation(f(this,Ms),!0),this}bboxToClipBoxDropOperation(t){return f(this,qr)||f(this,rs).bboxToClipBoxDropOperation(f(this,Ms),!0),this}take(){throw new Error("Unreachable")}takeDebugMetadata(){throw new Error("Unreachable")}};rs=new WeakMap,Ms=new WeakMap,qr=new WeakMap,n0=new WeakMap,a0=new WeakMap,m($4,"CanvasNestedDependencyTracker");let S6=$4;const Da={stroke:["path","transform","filter","strokeColor","strokeAlpha","lineWidth","lineCap","lineJoin","miterLimit","dash"],fill:["path","transform","filter","fillColor","fillAlpha","globalCompositeOperation","SMask"],imageXObject:["transform","SMask","filter","fillAlpha","strokeAlpha","globalCompositeOperation"],rawFillPath:["filter","fillColor","fillAlpha"],showText:["transform","leading","charSpacing","wordSpacing","hScale","textRise","moveText","textMatrix","font","fontObj","filter","fillColor","textRenderingMode","SMask","fillAlpha","strokeAlpha","globalCompositeOperation","sameLineText"],transform:["transform"],transformAndFill:["transform","fillColor"]};var $f,Vf,Wf,Kf,Xf,U2;const X1=class X1{constructor(t){T(this,$f);T(this,Vf);T(this,Wf,4);T(this,Kf,0);T(this,Xf,new(f(X1,U2))(f(this,Wf)*6));x(this,$f,t.width),x(this,Vf,t.height)}record(t,e,i,n){if(f(this,Kf)===f(this,Wf)){x(this,Wf,f(this,Wf)*2);const o=new(f(X1,U2))(f(this,Wf)*6);o.set(f(this,Xf)),x(this,Xf,o)}const a=Et.domMatrixToTransform(t.getTransform());let r;if(n[0]!==1/0){const o=[1/0,1/0,-1/0,-1/0];Et.axialAlignedBoundingBox([0,-i,e,0],a,o);const l=Et.intersect(n,o);if(!l)return;const[c,h,u,d]=l;if(c!==o[0]||h!==o[1]||u!==o[2]||d!==o[3]){const p=Math.atan2(a[1],a[0]),g=Math.abs(Math.sin(p)),b=Math.abs(Math.cos(p));if(g<1e-6||b<1e-6||Math.abs(g-b)<1e-6)r=[c,h,c,d,u,h];else{const w=u-c,y=d-h,j=g*g,k=b*b,q=b*g,A=k-j,I=(y*k-w*q)/A,C=(y*q-w*j)/A;r=[c+C,h,c,h+I,u,d-I]}}}r||(r=[0,-i,0,0,e,-i],Et.applyTransform(r,a,0),Et.applyTransform(r,a,2),Et.applyTransform(r,a,4)),r[0]/=f(this,$f),r[1]/=f(this,Vf),r[2]/=f(this,$f),r[3]/=f(this,Vf),r[4]/=f(this,$f),r[5]/=f(this,Vf),f(this,Xf).set(r,f(this,Kf)*6),Gs(this,Kf)._++}take(){return f(this,Xf).subarray(0,f(this,Kf)*6)}};$f=new WeakMap,Vf=new WeakMap,Wf=new WeakMap,Kf=new WeakMap,Xf=new WeakMap,U2=new WeakMap,m(X1,"CanvasImagesTracker"),T(X1,U2,Qs.isFloat16ArraySupported?Float16Array:Float32Array);let fC=X1;var r0;const vL=class vL{constructor({ownerDocument:t=globalThis.document,styleElement:e=null}){T(this,r0,new Set);this._document=t,this.nativeFontFaces=new Set,this.styleElement=null,this.loadingRequests=[],this.loadTestFontId=0}addNativeFontFace(t){this.nativeFontFaces.add(t),this._document.fonts.add(t)}removeNativeFontFace(t){this.nativeFontFaces.delete(t),this._document.fonts.delete(t)}insertRule(t){this.styleElement||(this.styleElement=this._document.createElement("style"),this._document.documentElement.getElementsByTagName("head")[0].append(this.styleElement));const e=this.styleElement.sheet;e.insertRule(t,e.cssRules.length)}clear(){for(const t of this.nativeFontFaces)this._document.fonts.delete(t);this.nativeFontFaces.clear(),f(this,r0).clear(),this.styleElement&&(this.styleElement.remove(),this.styleElement=null)}async loadSystemFont({systemFontInfo:t,disableFontFace:e,_inspectFont:i}){if(!(!t||f(this,r0).has(t.loadedName))){if(qs(!e,"loadSystemFont shouldn't be called when `disableFontFace` is set."),this.isFontLoadingAPISupported){const{loadedName:n,src:a,style:r}=t,o=new FontFace(n,a,r);this.addNativeFontFace(o);try{await o.load(),f(this,r0).add(n),i==null||i(t)}catch{ge(`Cannot load system font: ${t.baseFontName}, installing it could help to improve PDF rendering.`),this.removeNativeFontFace(o)}return}We("Not implemented: loadSystemFont without the Font Loading API.")}}async bind(t){if(t.attached||t.missingFile&&!t.systemFontInfo)return;if(t.attached=!0,t.systemFontInfo){await this.loadSystemFont(t);return}if(this.isFontLoadingAPISupported){const i=t.createNativeFontFace();if(i){this.addNativeFontFace(i);try{await i.loaded}catch(n){throw ge(`Failed to load font '${i.family}': '${n}'.`),t.disableFontFace=!0,n}}return}const e=t.createFontFaceRule();if(e){if(this.insertRule(e),this.isSyncFontLoadingSupported)return;await new Promise(i=>{const n=this._queueLoadingCallback(i);this._prepareFontLoadEvent(t,n)})}}get isFontLoadingAPISupported(){var e;const t=!!((e=this._document)!=null&&e.fonts);return pe(this,"isFontLoadingAPISupported",t)}get isSyncFontLoadingSupported(){return pe(this,"isSyncFontLoadingSupported",sr||Qs.platform.isFirefox)}_queueLoadingCallback(t){function e(){for(qs(!n.done,"completeRequest() cannot be called twice."),n.done=!0;i.length>0&&i[0].done;){const a=i.shift();setTimeout(a.callback,0)}}m(e,"completeRequest");const{loadingRequests:i}=this,n={done:!1,complete:e,callback:t};return i.push(n),n}get _loadTestFont(){const t=atob("T1RUTwALAIAAAwAwQ0ZGIDHtZg4AAAOYAAAAgUZGVE1lkzZwAAAEHAAAABxHREVGABQAFQAABDgAAAAeT1MvMlYNYwkAAAEgAAAAYGNtYXABDQLUAAACNAAAAUJoZWFk/xVFDQAAALwAAAA2aGhlYQdkA+oAAAD0AAAAJGhtdHgD6AAAAAAEWAAAAAZtYXhwAAJQAAAAARgAAAAGbmFtZVjmdH4AAAGAAAAAsXBvc3T/hgAzAAADeAAAACAAAQAAAAEAALZRFsRfDzz1AAsD6AAAAADOBOTLAAAAAM4KHDwAAAAAA+gDIQAAAAgAAgAAAAAAAAABAAADIQAAAFoD6AAAAAAD6AABAAAAAAAAAAAAAAAAAAAAAQAAUAAAAgAAAAQD6AH0AAUAAAKKArwAAACMAooCvAAAAeAAMQECAAACAAYJAAAAAAAAAAAAAQAAAAAAAAAAAAAAAFBmRWQAwAAuAC4DIP84AFoDIQAAAAAAAQAAAAAAAAAAACAAIAABAAAADgCuAAEAAAAAAAAAAQAAAAEAAAAAAAEAAQAAAAEAAAAAAAIAAQAAAAEAAAAAAAMAAQAAAAEAAAAAAAQAAQAAAAEAAAAAAAUAAQAAAAEAAAAAAAYAAQAAAAMAAQQJAAAAAgABAAMAAQQJAAEAAgABAAMAAQQJAAIAAgABAAMAAQQJAAMAAgABAAMAAQQJAAQAAgABAAMAAQQJAAUAAgABAAMAAQQJAAYAAgABWABYAAAAAAAAAwAAAAMAAAAcAAEAAAAAADwAAwABAAAAHAAEACAAAAAEAAQAAQAAAC7//wAAAC7////TAAEAAAAAAAABBgAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAD/gwAyAAAAAQAAAAAAAAAAAAAAAAAAAAABAAQEAAEBAQJYAAEBASH4DwD4GwHEAvgcA/gXBIwMAYuL+nz5tQXkD5j3CBLnEQACAQEBIVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYAAABAQAADwACAQEEE/t3Dov6fAH6fAT+fPp8+nwHDosMCvm1Cvm1DAz6fBQAAAAAAAABAAAAAMmJbzEAAAAAzgTjFQAAAADOBOQpAAEAAAAAAAAADAAUAAQAAAABAAAAAgABAAAAAAAAAAAD6AAAAAAAAA==");return pe(this,"_loadTestFont",t)}_prepareFontLoadEvent(t,e){function i(k,q){return k.charCodeAt(q)<<24|k.charCodeAt(q+1)<<16|k.charCodeAt(q+2)<<8|k.charCodeAt(q+3)&255}m(i,"int32");function n(k,q,A,I){const C=k.substring(0,q),F=k.substring(q+A);return C+I+F}m(n,"spliceString");let a,r;const o=this._document.createElement("canvas");o.width=1,o.height=1;const l=o.getContext("2d");let c=0;function h(k,q){if(++c>30){ge("Load test font never loaded."),q();return}if(l.font="30px "+k,l.fillText(".",0,20),l.getImageData(0,0,1,1).data[3]>0){q();return}setTimeout(h.bind(null,k,q))}m(h,"isFontReady");const u=`lt${Date.now()}${this.loadTestFontId++}`;let d=this._loadTestFont;d=n(d,976,u.length,u);const p=16,g=1482184792;let b=i(d,p);for(a=0,r=u.length-3;a{j.remove(),e.complete()})}};r0=new WeakMap,m(vL,"FontLoader");let uC=vL;var os;const kL=class kL{constructor(t,e=null,i,n){R(this,"compiledGlyphs",Object.create(null));T(this,os);x(this,os,t),this._inspectFont=e,i&&(this.charProcOperatorList=i),n&&Object.assign(this,n)}createNativeFontFace(){var e;if(!this.data||this.disableFontFace)return null;let t;if(!this.cssFontInfo)t=new FontFace(this.loadedName,this.data,{});else{const i={weight:this.cssFontInfo.fontWeight};this.cssFontInfo.italicAngle&&(i.style=`oblique ${this.cssFontInfo.italicAngle}deg`),t=new FontFace(this.cssFontInfo.fontFamily,this.data,i)}return(e=this._inspectFont)==null||e.call(this,this),t}createFontFaceRule(){var i;if(!this.data||this.disableFontFace)return null;const t=`url(data:${this.mimetype};base64,${this.data.toBase64()});`;let e;if(!this.cssFontInfo)e=`@font-face {font-family:"${this.loadedName}";src:${t}}`;else{let n=`font-weight: ${this.cssFontInfo.fontWeight};`;this.cssFontInfo.italicAngle&&(n+=`font-style: oblique ${this.cssFontInfo.italicAngle}deg;`),e=`@font-face {font-family:"${this.cssFontInfo.fontFamily}";${n}src:${t}}`}return(i=this._inspectFont)==null||i.call(this,this,t),e}getPathGenerator(t,e){if(this.compiledGlyphs[e]!==void 0)return this.compiledGlyphs[e];const i=this.loadedName+"_path_"+e;let n;try{n=t.get(i)}catch(r){ge(`getPathGenerator - ignoring character: "${r}".`)}const a=FF(n==null?void 0:n.path);return this.fontExtraProperties||t.delete(i),this.compiledGlyphs[e]=a}get black(){return f(this,os).black}get bold(){return f(this,os).bold}get disableFontFace(){return f(this,os).disableFontFace}set disableFontFace(t){pe(this,"disableFontFace",!!t)}get fontExtraProperties(){return f(this,os).fontExtraProperties}get isInvalidPDFjsFont(){return f(this,os).isInvalidPDFjsFont}get isType3Font(){return f(this,os).isType3Font}get italic(){return f(this,os).italic}get missingFile(){return f(this,os).missingFile}get remeasure(){return f(this,os).remeasure}get vertical(){return f(this,os).vertical}get ascent(){return f(this,os).ascent}get defaultWidth(){return f(this,os).defaultWidth}get descent(){return f(this,os).descent}get bbox(){return f(this,os).bbox}get fontMatrix(){return f(this,os).fontMatrix}get fallbackName(){return f(this,os).fallbackName}get loadedName(){return f(this,os).loadedName}get mimetype(){return f(this,os).mimetype}get name(){return f(this,os).name}get data(){return f(this,os).data}clearData(){f(this,os).clearData()}get cssFontInfo(){return f(this,os).cssFontInfo}get systemFontInfo(){return f(this,os).systemFontInfo}get defaultVMetrics(){return f(this,os).defaultVMetrics}};os=new WeakMap,m(kL,"FontFaceObject");let dC=kL;const V4=class V4{};m(V4,"CSS_FONT_INFO"),R(V4,"strings",["fontFamily","fontWeight","italicAngle"]);let pC=V4;const W4=class W4{};m(W4,"SYSTEM_FONT_INFO"),R(W4,"strings",["css","loadedName","baseFontName","src"]);let mC=W4;const Hi=class Hi{};m(Hi,"FONT_INFO"),R(Hi,"bools",["black","bold","disableFontFace","fontExtraProperties","isInvalidPDFjsFont","isType3Font","italic","missingFile","remeasure","vertical"]),R(Hi,"numbers",["ascent","defaultWidth","descent"]),R(Hi,"strings",["fallbackName","loadedName","mimetype","name"]),R(Hi,"OFFSET_NUMBERS",Math.ceil(Hi.bools.length*2/8)),R(Hi,"OFFSET_BBOX",Hi.OFFSET_NUMBERS+Hi.numbers.length*8),R(Hi,"OFFSET_FONT_MATRIX",Hi.OFFSET_BBOX+1+8),R(Hi,"OFFSET_DEFAULT_VMETRICS",Hi.OFFSET_FONT_MATRIX+1+48),R(Hi,"OFFSET_STRINGS",Hi.OFFSET_DEFAULT_VMETRICS+1+6);let na=Hi;const gr=class gr{};m(gr,"PATTERN_INFO"),R(gr,"KIND",0),R(gr,"HAS_BBOX",1),R(gr,"HAS_BACKGROUND",2),R(gr,"SHADING_TYPE",3),R(gr,"N_COORD",4),R(gr,"N_COLOR",8),R(gr,"N_STOP",12),R(gr,"N_FIGURES",16);let Yr=gr;var G2,K4,o0,l0,q5;const qL=class qL{constructor(t){T(this,l0);T(this,G2);T(this,K4,new TextDecoder);T(this,o0);x(this,G2,t),x(this,o0,new DataView(t))}get fontFamily(){return S(this,l0,q5).call(this,0)}get fontWeight(){return S(this,l0,q5).call(this,1)}get italicAngle(){return S(this,l0,q5).call(this,2)}};G2=new WeakMap,K4=new WeakMap,o0=new WeakMap,l0=new WeakSet,q5=function(t){qs(t>i&3;return n===0?void 0:n===2},x5=function(t){return qs(t0){y=[1/0,1/0,-1/0,-1/0];for(let j=0,k=h.length;jtypeof s=="object"&&Number.isInteger(s==null?void 0:s.num)&&s.num>=0&&Number.isInteger(s==null?void 0:s.gen)&&s.gen>=0,"isRefProxy"),uJ=m(s=>typeof s=="object"&&typeof(s==null?void 0:s.name)=="string","isNameProxy"),dJ=xW.bind(null,kC,uJ);var gl,Y4;const IL=class IL{constructor(){T(this,gl,new Map);T(this,Y4,Promise.resolve())}postMessage(t,e){const i={data:structuredClone(t,e?{transfer:e}:null)};f(this,Y4).then(()=>{for(const[n]of f(this,gl))n.call(this,i)})}addEventListener(t,e,i=null){let n=null;if((i==null?void 0:i.signal)instanceof AbortSignal){const{signal:a}=i;if(a.aborted){ge("LoopbackPort - cannot use an `aborted` signal.");return}const r=m(()=>this.removeEventListener(t,e),"onAbort");n=m(()=>a.removeEventListener("abort",r),"rmAbort"),a.addEventListener("abort",r)}f(this,gl).set(e,n)}removeEventListener(t,e){var i;(i=f(this,gl).get(e))==null||i(),f(this,gl).delete(e)}terminate(){for(const[,t]of f(this,gl))t==null||t();f(this,gl).clear()}};gl=new WeakMap,Y4=new WeakMap,m(IL,"LoopbackPort");let qC=IL;const L9={DATA:1,ERROR:2},ti={CANCEL:1,CANCEL_COMPLETE:2,CLOSE:3,ENQUEUE:4,ERROR:5,PULL:6,PULL_COMPLETE:7,START_COMPLETE:8};function xC(){}m(xC,"onFn");function yn(s){if(s instanceof No||s instanceof vb||s instanceof w6||s instanceof vp||s instanceof Qm)return s;switch(s instanceof Error||typeof s=="object"&&s!==null||We('wrapReason: Expected "reason" to be a (possibly cloned) Error.'),s.name){case"AbortException":return new No(s.message);case"InvalidPDFException":return new vb(s.message);case"PasswordException":return new w6(s.message,s.code);case"ResponseException":return new vp(s.message,s.status,s.missing);case"UnknownErrorException":return new Qm(s.message,s.details)}return new Qm(s.message,s.toString())}m(yn,"wrapReason");var f0,rr,uK,dK,pK,S5;const TL=class TL{constructor(t,e,i){T(this,rr);T(this,f0,new AbortController);this.sourceName=t,this.targetName=e,this.comObj=i,this.callbackId=1,this.streamId=1,this.streamSinks=Object.create(null),this.streamControllers=Object.create(null),this.callbackCapabilities=Object.create(null),this.actionHandler=Object.create(null),i.addEventListener("message",S(this,rr,uK).bind(this),{signal:f(this,f0).signal})}on(t,e){const i=this.actionHandler;if(i[t])throw new Error(`There is already an actionName called "${t}"`);i[t]=e}send(t,e,i){this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:t,data:e},i)}sendWithPromise(t,e,i){const n=this.callbackId++,a=Promise.withResolvers();this.callbackCapabilities[n]=a;try{this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:t,callbackId:n,data:e},i)}catch(r){a.reject(r)}return a.promise}sendWithStream(t,e,i,n){const a=this.streamId++,r=this.sourceName,o=this.targetName,l=this.comObj;return new ReadableStream({start:m(c=>{const h=Promise.withResolvers();return this.streamControllers[a]={controller:c,startCall:h,pullCall:null,cancelCall:null,isClosed:!1},l.postMessage({sourceName:r,targetName:o,action:t,streamId:a,data:e,desiredSize:c.desiredSize},n),h.promise},"start"),pull:m(c=>{const h=Promise.withResolvers();return this.streamControllers[a].pullCall=h,l.postMessage({sourceName:r,targetName:o,stream:ti.PULL,streamId:a,desiredSize:c.desiredSize}),h.promise},"pull"),cancel:m(c=>{qs(c instanceof Error,"cancel must have a valid reason");const h=Promise.withResolvers();return this.streamControllers[a].cancelCall=h,this.streamControllers[a].isClosed=!0,l.postMessage({sourceName:r,targetName:o,stream:ti.CANCEL,streamId:a,reason:yn(c)}),h.promise},"cancel")},i)}destroy(){var t;(t=f(this,f0))==null||t.abort(),x(this,f0,null)}};f0=new WeakMap,rr=new WeakSet,uK=function({data:t}){if(t.targetName!==this.sourceName)return;if(t.stream){S(this,rr,pK).call(this,t);return}if(t.callback){const i=t.callbackId,n=this.callbackCapabilities[i];if(!n)throw new Error(`Cannot resolve callback ${i}`);if(delete this.callbackCapabilities[i],t.callback===L9.DATA)n.resolve(t.data);else if(t.callback===L9.ERROR)n.reject(yn(t.reason));else throw new Error("Unexpected callback case");return}const e=this.actionHandler[t.action];if(!e)throw new Error(`Unknown action from worker: ${t.action}`);if(t.callbackId){const i=this.sourceName,n=t.sourceName,a=this.comObj;Promise.try(e,t.data).then(function(r){a.postMessage({sourceName:i,targetName:n,callback:L9.DATA,callbackId:t.callbackId,data:r})},function(r){a.postMessage({sourceName:i,targetName:n,callback:L9.ERROR,callbackId:t.callbackId,reason:yn(r)})});return}if(t.streamId){S(this,rr,dK).call(this,t);return}e(t.data)},dK=function(t){const e=t.streamId,i=this.sourceName,n=t.sourceName,a=this.comObj,r=this,o=this.actionHandler[t.action],l={enqueue(c,h=1,u){if(this.isCancelled)return;const d=this.desiredSize;this.desiredSize-=h,d>0&&this.desiredSize<=0&&(this.sinkCapability=Promise.withResolvers(),this.ready=this.sinkCapability.promise),a.postMessage({sourceName:i,targetName:n,stream:ti.ENQUEUE,streamId:e,chunk:c},u)},close(){this.isCancelled||(this.isCancelled=!0,a.postMessage({sourceName:i,targetName:n,stream:ti.CLOSE,streamId:e}),delete r.streamSinks[e])},error(c){qs(c instanceof Error,"error must have a valid reason"),!this.isCancelled&&(this.isCancelled=!0,a.postMessage({sourceName:i,targetName:n,stream:ti.ERROR,streamId:e,reason:yn(c)}))},sinkCapability:Promise.withResolvers(),onPull:null,onCancel:null,isCancelled:!1,desiredSize:t.desiredSize,ready:null};l.sinkCapability.resolve(),l.ready=l.sinkCapability.promise,this.streamSinks[e]=l,Promise.try(o,t.data,l).then(function(){a.postMessage({sourceName:i,targetName:n,stream:ti.START_COMPLETE,streamId:e,success:!0})},function(c){a.postMessage({sourceName:i,targetName:n,stream:ti.START_COMPLETE,streamId:e,reason:yn(c)})})},pK=function(t){const e=t.streamId,i=this.sourceName,n=t.sourceName,a=this.comObj,r=this.streamControllers[e],o=this.streamSinks[e];switch(t.stream){case ti.START_COMPLETE:t.success?r.startCall.resolve():r.startCall.reject(yn(t.reason));break;case ti.PULL_COMPLETE:t.success?r.pullCall.resolve():r.pullCall.reject(yn(t.reason));break;case ti.PULL:if(!o){a.postMessage({sourceName:i,targetName:n,stream:ti.PULL_COMPLETE,streamId:e,success:!0});break}o.desiredSize<=0&&t.desiredSize>0&&o.sinkCapability.resolve(),o.desiredSize=t.desiredSize,Promise.try(o.onPull||xC).then(function(){a.postMessage({sourceName:i,targetName:n,stream:ti.PULL_COMPLETE,streamId:e,success:!0})},function(c){a.postMessage({sourceName:i,targetName:n,stream:ti.PULL_COMPLETE,streamId:e,reason:yn(c)})});break;case ti.ENQUEUE:if(qs(r,"enqueue should have stream controller"),r.isClosed)break;r.controller.enqueue(t.chunk);break;case ti.CLOSE:if(qs(r,"close should have stream controller"),r.isClosed)break;r.isClosed=!0,r.controller.close(),S(this,rr,S5).call(this,r,e);break;case ti.ERROR:qs(r,"error should have stream controller"),r.controller.error(yn(t.reason)),S(this,rr,S5).call(this,r,e);break;case ti.CANCEL_COMPLETE:t.success?r.cancelCall.resolve():r.cancelCall.reject(yn(t.reason)),S(this,rr,S5).call(this,r,e);break;case ti.CANCEL:if(!o)break;const l=yn(t.reason);Promise.try(o.onCancel||xC,l).then(function(){a.postMessage({sourceName:i,targetName:n,stream:ti.CANCEL_COMPLETE,streamId:e,success:!0})},function(c){a.postMessage({sourceName:i,targetName:n,stream:ti.CANCEL_COMPLETE,streamId:e,reason:yn(c)})}),o.sinkCapability.reject(l),o.isCancelled=!0,delete this.streamSinks[e];break;default:throw new Error("Unexpected stream case")}},S5=async function(t,e){var i,n,a;await Promise.allSettled([(i=t.startCall)==null?void 0:i.promise,(n=t.pullCall)==null?void 0:n.promise,(a=t.cancelCall)==null?void 0:a.promise]),delete this.streamControllers[e]},m(TL,"MessageHandler");let pf=TL;var Q4;const FL=class FL{constructor({cMapUrl:t=null,standardFontDataUrl:e=null,wasmUrl:i=null}){T(this,Q4,Object.freeze({cMapUrl:"CMap",standardFontDataUrl:"font",wasmUrl:"wasm"}));this.cMapUrl=t,this.standardFontDataUrl=e,this.wasmUrl=i}async fetch({kind:t,filename:e}){switch(t){case"cMapUrl":case"standardFontDataUrl":case"wasmUrl":break;default:We(`Not implemented: ${t}`)}const i=this[t];if(!i)throw new Error(`Ensure that the \`${t}\` API parameter is provided.`);const n=`${i}${e}`;return this._fetch(n,t).catch(a=>{throw new Error(`Unable to load ${f(this,Q4)[t]} data at: ${n}`)})}async _fetch(t,e){We("Abstract method `_fetch` called.")}};Q4=new WeakMap,m(FL,"BaseBinaryDataFactory");let C6=FL;const EL=class EL extends C6{async _fetch(t,e){const i=e==="cMapUrl"&&!t.endsWith(".bcmap")?"text":"bytes",n=await H8(t,i);return n instanceof Uint8Array?n:w9(n)}};m(EL,"DOMBinaryDataFactory");let I6=EL;var $2;const RL=class RL{constructor({enableHWA:t=!1}){T(this,$2,!1);x(this,$2,t)}create(t,e){if(t<=0||e<=0)throw new Error("Invalid canvas size");const i=this._createCanvas(t,e);return{canvas:i,context:i.getContext("2d",{willReadFrequently:!f(this,$2)})}}reset({canvas:t},e,i){if(!t)throw new Error("Canvas is not specified");if(e<=0||i<=0)throw new Error("Invalid canvas size");t.width=e,t.height=i}destroy(t){const{canvas:e}=t;if(!e)throw new Error("Canvas is not specified");e.width=e.height=0,t.canvas=null,t.context=null}_createCanvas(t,e){We("Abstract method `_createCanvas` called.")}};$2=new WeakMap,m(RL,"BaseCanvasFactory");let T6=RL;const ML=class ML extends T6{constructor({ownerDocument:t=globalThis.document,enableHWA:e=!1}){super({enableHWA:e}),this._document=t}_createCanvas(t,e){const i=this._document.createElement("canvas");return i.width=t,i.height=e,i}};m(ML,"DOMCanvasFactory");let AC=ML;const BL=class BL{addFilter(t){return"none"}addHCMFilter(t,e){return"none"}addAlphaFilter(t){return"none"}addLuminosityFilter(t){return"none"}addHighlightHCMFilter(t,e,i,n,a){return"none"}destroy(t=!1){}};m(BL,"BaseFilterFactory");let F6=BL;var Jf,u0,bl,wl,ln,Zf,tu,Nt,en,ym,E1,C5,R1,mK,CC,M1,vm,km,IC,qm;const DL=class DL extends F6{constructor({docId:e,ownerDocument:i=globalThis.document}){super();T(this,Nt);T(this,Jf);T(this,u0);T(this,bl);T(this,wl);T(this,ln);T(this,Zf);T(this,tu,0);x(this,wl,e),x(this,ln,i)}addFilter(e){if(!e)return"none";let i=f(this,Nt,en).get(e);if(i)return i;const[n,a,r]=S(this,Nt,C5).call(this,e),o=e.length===1?n:`${n}${a}${r}`;if(i=f(this,Nt,en).get(o),i)return f(this,Nt,en).set(e,i),i;const l=`g_${f(this,wl)}_transfer_map_${Gs(this,tu)._++}`,c=S(this,Nt,R1).call(this,l);f(this,Nt,en).set(e,c),f(this,Nt,en).set(o,c);const h=S(this,Nt,M1).call(this,l);return S(this,Nt,km).call(this,n,a,r,h),c}addHCMFilter(e,i){var g;const n=`${e}-${i}`,a="base";let r=f(this,Nt,ym).get(a);if((r==null?void 0:r.key)===n||(r?((g=r.filter)==null||g.remove(),r.key=n,r.url="none",r.filter=null):(r={key:n,url:"none",filter:null},f(this,Nt,ym).set(a,r)),!e||!i))return r.url;const o=S(this,Nt,qm).call(this,e);e=Et.makeHexColor(...o);const l=S(this,Nt,qm).call(this,i);if(i=Et.makeHexColor(...l),f(this,Nt,E1).style.color="",e==="#000000"&&i==="#ffffff"||e===i)return r.url;const c=new Array(256);for(let b=0;b<=255;b++){const w=b/255;c[b]=w<=.03928?w/12.92:((w+.055)/1.055)**2.4}const h=c.join(","),u=`g_${f(this,wl)}_hcm_filter`,d=r.filter=S(this,Nt,M1).call(this,u);S(this,Nt,km).call(this,h,h,h,d),S(this,Nt,CC).call(this,d);const p=m((b,w)=>{const y=o[b]/255,j=l[b]/255,k=new Array(w+1);for(let q=0;q<=w;q++)k[q]=y+q/w*(j-y);return k.join(",")},"getSteps");return S(this,Nt,km).call(this,p(0,5),p(1,5),p(2,5),d),r.url=S(this,Nt,R1).call(this,u),r.url}addAlphaFilter(e){let i=f(this,Nt,en).get(e);if(i)return i;const[n]=S(this,Nt,C5).call(this,[e]),a=`alpha_${n}`;if(i=f(this,Nt,en).get(a),i)return f(this,Nt,en).set(e,i),i;const r=`g_${f(this,wl)}_alpha_map_${Gs(this,tu)._++}`,o=S(this,Nt,R1).call(this,r);f(this,Nt,en).set(e,o),f(this,Nt,en).set(a,o);const l=S(this,Nt,M1).call(this,r);return S(this,Nt,IC).call(this,n,l),o}addLuminosityFilter(e){let i=f(this,Nt,en).get(e||"luminosity");if(i)return i;let n,a;if(e?([n]=S(this,Nt,C5).call(this,[e]),a=`luminosity_${n}`):a="luminosity",i=f(this,Nt,en).get(a),i)return f(this,Nt,en).set(e,i),i;const r=`g_${f(this,wl)}_luminosity_map_${Gs(this,tu)._++}`,o=S(this,Nt,R1).call(this,r);f(this,Nt,en).set(e,o),f(this,Nt,en).set(a,o);const l=S(this,Nt,M1).call(this,r);return S(this,Nt,mK).call(this,l),e&&S(this,Nt,IC).call(this,n,l),o}addHighlightHCMFilter(e,i,n,a,r){var j;const o=`${i}-${n}-${a}-${r}`;let l=f(this,Nt,ym).get(e);if((l==null?void 0:l.key)===o||(l?((j=l.filter)==null||j.remove(),l.key=o,l.url="none",l.filter=null):(l={key:o,url:"none",filter:null},f(this,Nt,ym).set(e,l)),!i||!n))return l.url;const[c,h]=[i,n].map(S(this,Nt,qm).bind(this));let u=Math.round(.2126*c[0]+.7152*c[1]+.0722*c[2]),d=Math.round(.2126*h[0]+.7152*h[1]+.0722*h[2]),[p,g]=[a,r].map(S(this,Nt,qm).bind(this));d{const I=new Array(256),C=(d-u)/A,F=k/255,E=(q-k)/(255*A);let D=0;for(let M=0;M<=A;M++){const _=Math.round(u+M*C),G=F+M*E;for(let K=D;K<=_;K++)I[K]=G;D=_+1}for(let M=D;M<256;M++)I[M]=I[D-1];return I.join(",")},"getSteps"),w=`g_${f(this,wl)}_hcm_${e}_filter`,y=l.filter=S(this,Nt,M1).call(this,w);return S(this,Nt,CC).call(this,y),S(this,Nt,km).call(this,b(p[0],g[0],5),b(p[1],g[1],5),b(p[2],g[2],5),y),l.url=S(this,Nt,R1).call(this,w),l.url}destroy(e=!1){var i,n,a,r;e&&((i=f(this,Zf))!=null&&i.size)||((n=f(this,bl))==null||n.parentNode.parentNode.remove(),x(this,bl,null),(a=f(this,u0))==null||a.clear(),x(this,u0,null),(r=f(this,Zf))==null||r.clear(),x(this,Zf,null),x(this,tu,0))}};Jf=new WeakMap,u0=new WeakMap,bl=new WeakMap,wl=new WeakMap,ln=new WeakMap,Zf=new WeakMap,tu=new WeakMap,Nt=new WeakSet,en=function(){return f(this,u0)||x(this,u0,new Map)},ym=function(){return f(this,Zf)||x(this,Zf,new Map)},E1=function(){if(!f(this,bl)){const e=f(this,ln).createElement("div"),{style:i}=e;i.visibility="hidden",i.contain="strict",i.width=i.height=0,i.position="absolute",i.top=i.left=0,i.zIndex=-1;const n=f(this,ln).createElementNS(Wo,"svg");n.setAttribute("width",0),n.setAttribute("height",0),x(this,bl,f(this,ln).createElementNS(Wo,"defs")),e.append(n),n.append(f(this,bl)),f(this,ln).body.append(e)}return f(this,bl)},C5=function(e){if(e.length===1){const c=e[0],h=new Array(256);for(let d=0;d<256;d++)h[d]=c[d]/255;const u=h.join(",");return[u,u,u]}const[i,n,a]=e,r=new Array(256),o=new Array(256),l=new Array(256);for(let c=0;c<256;c++)r[c]=i[c]/255,o[c]=n[c]/255,l[c]=a[c]/255;return[r.join(","),o.join(","),l.join(",")]},R1=function(e){if(f(this,Jf)===void 0){x(this,Jf,"");const i=f(this,ln).URL;i!==f(this,ln).baseURI&&(j9(i)?ge('#createUrl: ignore "data:"-URL for performance reasons.'):x(this,Jf,AF(i,"")))}return`url(${f(this,Jf)}#${e})`},mK=function(e){const i=f(this,ln).createElementNS(Wo,"feColorMatrix");i.setAttribute("type","matrix"),i.setAttribute("values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.3 0.59 0.11 0 0"),e.append(i)},CC=function(e){const i=f(this,ln).createElementNS(Wo,"feColorMatrix");i.setAttribute("type","matrix"),i.setAttribute("values","0.2126 0.7152 0.0722 0 0 0.2126 0.7152 0.0722 0 0 0.2126 0.7152 0.0722 0 0 0 0 0 1 0"),e.append(i)},M1=function(e){const i=f(this,ln).createElementNS(Wo,"filter");return i.setAttribute("color-interpolation-filters","sRGB"),i.setAttribute("id",e),f(this,Nt,E1).append(i),i},vm=function(e,i,n){const a=f(this,ln).createElementNS(Wo,i);a.setAttribute("type","discrete"),a.setAttribute("tableValues",n),e.append(a)},km=function(e,i,n,a){const r=f(this,ln).createElementNS(Wo,"feComponentTransfer");a.append(r),S(this,Nt,vm).call(this,r,"feFuncR",e),S(this,Nt,vm).call(this,r,"feFuncG",i),S(this,Nt,vm).call(this,r,"feFuncB",n)},IC=function(e,i){const n=f(this,ln).createElementNS(Wo,"feComponentTransfer");i.append(n),S(this,Nt,vm).call(this,n,"feFuncA",e)},qm=function(e){return f(this,Nt,E1).style.color=e,Rp(getComputedStyle(f(this,Nt,E1)).getPropertyValue("color"))},m(DL,"DOMFilterFactory");let SC=DL;async function gK(s){const t=await process.getBuiltinModule("fs").promises.readFile(s);return new Uint8Array(t)}m(gK,"node_utils_fetchData");const PL=class PL extends F6{};m(PL,"NodeFilterFactory");let TC=PL;const HL=class HL extends T6{_createCanvas(t,e){return process.getBuiltinModule("module").createRequire(import.meta.url),new Proxy({},{get(i,n){return()=>{throw new Error("@napi-rs/canvas is not available in this environment")}}}).createCanvas(t,e)}};m(HL,"NodeCanvasFactory");let FC=HL;const OL=class OL extends C6{async _fetch(t,e){return gK(t)}};m(OL,"NodeBinaryDataFactory");let EC=OL;const pJ=` +struct Uniforms { + offsetX : f32, + offsetY : f32, + scaleX : f32, + scaleY : f32, + paddedWidth : f32, + paddedHeight : f32, + borderSize : f32, + _pad : f32, +}; + +@group(0) @binding(0) var u : Uniforms; + +struct VertexInput { + @location(0) position : vec2, + @location(1) color : vec4, +}; + +struct VertexOutput { + @builtin(position) position : vec4, + @location(0) color : vec3, +}; + +@vertex +fn vs_main(in : VertexInput) -> VertexOutput { + var out : VertexOutput; + let cx = (in.position.x + u.offsetX) * u.scaleX; + let cy = (in.position.y + u.offsetY) * u.scaleY; + out.position = vec4( + ((cx + u.borderSize) / u.paddedWidth) * 2.0 - 1.0, + 1.0 - ((cy + u.borderSize) / u.paddedHeight) * 2.0, + 0.0, + 1.0 + ); + out.color = in.color.rgb; + return out; +} + +@fragment +fn fs_main(in : VertexOutput) -> @location(0) vec4 { + return vec4(in.color, 1.0); +} +`;var V2,d0,p0,m0,Cp,bK,wK;const NL=class NL{constructor(){T(this,Cp);T(this,V2,null);T(this,d0,null);T(this,p0,null);T(this,m0,null)}init(){f(this,V2)===null&&x(this,V2,S(this,Cp,bK).call(this))}get isReady(){return f(this,d0)!==null}draw(t,e,i,n,a,r){const o=f(this,d0),{offsetX:l,offsetY:c,scaleX:h,scaleY:u}=e,{posData:d,colData:p,vertexCount:g}=S(this,Cp,wK).call(this,t,e),b=o.createBuffer({size:Math.max(d.byteLength,4),usage:GPUBufferUsage.VERTEX|GPUBufferUsage.COPY_DST});d.byteLength>0&&o.queue.writeBuffer(b,0,d);const w=o.createBuffer({size:Math.max(p.byteLength,4),usage:GPUBufferUsage.VERTEX|GPUBufferUsage.COPY_DST});p.byteLength>0&&o.queue.writeBuffer(w,0,p);const y=o.createBuffer({size:32,usage:GPUBufferUsage.UNIFORM|GPUBufferUsage.COPY_DST});o.queue.writeBuffer(y,0,new Float32Array([l,c,h,u,n,a,r,0]));const j=o.createBindGroup({layout:f(this,p0).getBindGroupLayout(0),entries:[{binding:0,resource:{buffer:y}}]}),k=new OffscreenCanvas(n,a),q=k.getContext("webgpu");q.configure({device:o,format:f(this,m0),alphaMode:i?"opaque":"premultiplied"});const A=i?{r:i[0]/255,g:i[1]/255,b:i[2]/255,a:1}:{r:0,g:0,b:0,a:0},I=o.createCommandEncoder(),C=I.beginRenderPass({colorAttachments:[{view:q.getCurrentTexture().createView(),clearValue:A,loadOp:"clear",storeOp:"store"}]});return g>0&&(C.setPipeline(f(this,p0)),C.setBindGroup(0,j),C.setVertexBuffer(0,b),C.setVertexBuffer(1,w),C.draw(g)),C.end(),o.queue.submit([I.finish()]),b.destroy(),w.destroy(),y.destroy(),k.transferToImageBitmap()}};V2=new WeakMap,d0=new WeakMap,p0=new WeakMap,m0=new WeakMap,Cp=new WeakSet,bK=async function(){var t;if(!((t=globalThis.navigator)!=null&&t.gpu))return!1;try{const e=await navigator.gpu.requestAdapter();if(!e)return!1;x(this,m0,navigator.gpu.getPreferredCanvasFormat());const i=x(this,d0,await e.requestDevice()),n=i.createShaderModule({code:pJ});return x(this,p0,i.createRenderPipeline({layout:"auto",vertex:{module:n,entryPoint:"vs_main",buffers:[{arrayStride:8,attributes:[{shaderLocation:0,offset:0,format:"float32x2"}]},{arrayStride:4,attributes:[{shaderLocation:1,offset:0,format:"unorm8x4"}]}]},fragment:{module:n,entryPoint:"fs_main",targets:[{format:f(this,m0)}]},primitive:{topology:"triangle-list"}})),!0}catch{return!1}},wK=function(t,e){const{coords:i,colors:n}=e;let a=0;for(const u of t){const d=u.coords;if(u.type===df.TRIANGLES)a+=d.length;else if(u.type===df.LATTICE){const p=u.verticesPerRow;a+=(Math.floor(d.length/p)-1)*(p-1)*6}}const r=new Float32Array(a*2),o=new Uint8Array(a*4);let l=0,c=0;const h=m((u,d)=>{r[l++]=i[u*2],r[l++]=i[u*2+1],o[c++]=n[d*4],o[c++]=n[d*4+1],o[c++]=n[d*4+2],c++},"addVertex");for(const u of t){const d=u.coords,p=u.colors;if(u.type===df.TRIANGLES)for(let g=0,b=d.length;gthis._r1?!1:Math.hypot(this._p0[0]-this._p1[0],this._p0[1]-this._p1[1])>this._r1}_createGradient(t,e=null){let i,n=this._p0,a=this._p1;if(e&&(n=n.slice(),a=a.slice(),Et.applyTransform(n,e),Et.applyTransform(a,e)),this._type==="axial")i=t.createLinearGradient(n[0],n[1],a[0],a[1]);else if(this._type==="radial"){let r=this._r0,o=this._r1;if(e){const l=new Float32Array(2);Et.singularValueDecompose2dScale(e,l),r*=l[0],o*=l[0]}i=t.createRadialGradient(n[0],n[1],r,a[0],a[1],o)}for(const r of this._colorStops)i.addColorStop(r[0],r[1]);return i}_createReversedGradient(t,e=null){let i=this._p1,n=this._p0;e&&(i=i.slice(),n=n.slice(),Et.applyTransform(i,e),Et.applyTransform(n,e));let a=this._r1,r=this._r0;if(e){const c=new Float32Array(2);Et.singularValueDecompose2dScale(e,c),a*=c[0],r*=c[0]}const o=t.createRadialGradient(i[0],i[1],a,n[0],n[1],r),l=this._colorStops.map(([c,h])=>[1-c,h]).reverse();for(const[c,h]of l)o.addColorStop(c,h);return o}getPattern(t,e,i,n){let a;if(n===Vi.STROKE||n===Vi.FILL){if(this.isOriginBased()){let d=Et.transform(i,e.baseTransform);this.matrix&&(d=Et.transform(d,this.matrix));const p=.001,g=Math.hypot(d[0],d[1]),b=Math.hypot(d[2],d[3]),w=(d[0]*d[2]+d[1]*d[3])/(g*b);if(Math.abs(w)l[i*2+1]&&(d=e,e=i,i=d,d=a,a=r,r=d),l[i*2+1]>l[n*2+1]&&(d=i,i=n,n=d,d=r,r=o,o=d),l[e*2+1]>l[i*2+1]&&(d=e,e=i,i=d,d=a,a=r,r=d);const p=(l[e*2]+t.offsetX)*t.scaleX,g=(l[e*2+1]+t.offsetY)*t.scaleY,b=(l[i*2]+t.offsetX)*t.scaleX,w=(l[i*2+1]+t.offsetY)*t.scaleY,y=(l[n*2]+t.offsetX)*t.scaleX,j=(l[n*2+1]+t.offsetY)*t.scaleY;if(g>=j)return;const k=c[a*4],q=c[a*4+1],A=c[a*4+2],I=c[r*4],C=c[r*4+1],F=c[r*4+2],E=c[o*4],D=c[o*4+1],M=c[o*4+2],_=Math.round(g),G=Math.round(j);let K,it,$,V,rt,Y,dt,et;for(let Ct=_;Ct<=G;Ct++){if(Ctj?P=1:w===j?P=0:P=(w-Ct)/(w-j),K=b-(b-y)*P,it=I-(I-E)*P,$=C-(C-D)*P,V=F-(F-M)*P}let Tt;Ctj?Tt=1:Tt=(g-Ct)/(g-j),rt=p-(p-y)*Tt,Y=k-(k-E)*Tt,dt=q-(q-D)*Tt,et=A-(A-M)*Tt;const Dt=Math.round(Math.min(K,rt)),_t=Math.round(Math.max(K,rt));let U=u*Ct+Dt*4;for(let P=Dt;P<=_t;P++)Tt=(K-P)/(K-rt),Tt<0?Tt=0:Tt>1&&(Tt=1),h[U++]=it-(it-Y)*Tt|0,h[U++]=$-($-dt)*Tt|0,h[U++]=V-(V-et)*Tt|0,h[U++]=255}}m(I5,"drawTriangle");function kK(s,t,e){const i=t.coords,n=t.colors;let a,r;switch(t.type){case df.LATTICE:const o=t.verticesPerRow,l=Math.floor(i.length/o)-1,c=o-1;for(a=0;a=_?I=c:F=!0,M>=G?C=h:E=!0;const K=this.getSizeAndScale(I,this.ctx.canvas.width,q),it=this.getSizeAndScale(C,this.ctx.canvas.height,A),$=t.canvasFactory.create(K.size,it.size),V=$.context,rt=l.createCanvasGraphics(V,e);if(rt.groupLevel=t.groupLevel,this.setFillAndStrokeStyleToContext(rt,a,o),V.translate(-K.scale*u,-it.scale*d),rt.transform(0,K.scale,0,0,it.scale,0,0),V.save(),(Y=rt.dependencyTracker)==null||Y.save(),this.clipBbox(rt,u,d,p,g),rt.baseTransform=vs(rt.ctx),rt.executeOperatorList(n),rt.endDrawing(),(dt=rt.dependencyTracker)==null||dt.restore(),V.restore(),F||E){const et=$.canvas;F&&(I=c),E&&(C=h);const Ct=this.getSizeAndScale(I,this.ctx.canvas.width,q),Tt=this.getSizeAndScale(C,this.ctx.canvas.height,A),Dt=Ct.size,_t=Tt.size,U=t.canvasFactory.create(Dt,_t),P=U.context,J=F?Math.floor(b/c):0,st=E?Math.floor(w/h):0;for(let ct=0;ct<=J;ct++)for(let qt=0;qt<=st;qt++)P.drawImage(et,Dt*ct,_t*qt,Dt,_t,0,0,Dt,_t);return t.canvasFactory.destroy($),{canvas:U.canvas,canvasEntry:U,scaleX:Ct.scale,scaleY:Tt.scale,offsetX:u,offsetY:d}}return{canvas:$.canvas,canvasEntry:$,scaleX:K.scale,scaleY:it.scale,offsetX:u,offsetY:d}}getSizeAndScale(t,e,i){const n=Math.max(vg.MAX_PATTERN_SIZE,e);let a=Math.ceil(t*i);return a>=n?a=n:i=a/t,{scale:i,size:a}}clipBbox(t,e,i,n,a){const r=n-e,o=a-i;t.ctx.rect(e,i,r,o),Et.axialAlignedBoundingBox([e,i,n,a],vs(t.ctx),t.current.minMax),t.clip(),t.endPath()}setFillAndStrokeStyleToContext(t,e,i){const n=t.ctx,a=t.current;switch(e){case tU.COLORED:const{fillStyle:r,strokeStyle:o}=this.ctx;n.fillStyle=a.fillColor=r,n.strokeStyle=a.strokeColor=o;break;case tU.UNCOLORED:n.fillStyle=n.strokeStyle=i,a.fillColor=a.strokeColor=i;break;default:throw new FS(`Unsupported paint type: ${e}`)}}isModifyingCurrentTransform(){return!1}getPattern(t,e,i,n,a){let r=i;n!==Vi.SHADING&&(r=Et.transform(r,e.baseTransform),this.matrix&&(r=Et.transform(r,this.matrix)));const o=this.createPatternCanvas(e,a);let l=new DOMMatrix(r);l=l.translate(o.offsetX,o.offsetY),l=l.scale(1/o.scaleX,1/o.scaleY);const c=t.createPattern(o.canvas,"repeat");return e.canvasFactory.destroy(o.canvasEntry),c.setTransform(l),c}};m(vg,"TilingPattern"),R(vg,"MAX_PATTERN_SIZE",3e3);let PC=vg;function xK({src:s,srcPos:t=0,dest:e,width:i,height:n,nonBlackColor:a=4294967295,inverseDecode:r=!1}){const o=Qs.isLittleEndian?4278190080:255,[l,c]=r?[a,o]:[o,a],h=i>>3,u=i&7,d=l^c,p=s.length;e=new Uint32Array(e.buffer);let g=0;for(let b=0;b>7&1)&d,e[g+1]=l^-(j>>6&1)&d,e[g+2]=l^-(j>>5&1)&d,e[g+3]=l^-(j>>4&1)&d,e[g+4]=l^-(j>>3&1)&d,e[g+5]=l^-(j>>2&1)&d,e[g+6]=l^-(j>>1&1)&d,e[g+7]=l^-(j&1)&d}if(u===0)continue;const w=t>7-y&1)&d}return{srcPos:t,destPos:g}}m(xK,"convertBlackAndWhiteToRGBA");const eU=16,sU=100,mJ=15,iU=10,Vn=16,i7=new DOMMatrix,xa=new Float32Array(2),V1=new Float32Array([1/0,1/0,-1/0,-1/0]);function AK(s,t){if(s._removeMirroring)throw new Error("Context is already forwarding operations.");s.__originalSave=s.save,s.__originalRestore=s.restore,s.__originalRotate=s.rotate,s.__originalScale=s.scale,s.__originalTranslate=s.translate,s.__originalTransform=s.transform,s.__originalSetTransform=s.setTransform,s.__originalResetTransform=s.resetTransform,s.__originalClip=s.clip,s.__originalMoveTo=s.moveTo,s.__originalLineTo=s.lineTo,s.__originalBezierCurveTo=s.bezierCurveTo,s.__originalRect=s.rect,s.__originalClosePath=s.closePath,s.__originalBeginPath=s.beginPath,s._removeMirroring=()=>{s.save=s.__originalSave,s.restore=s.__originalRestore,s.rotate=s.__originalRotate,s.scale=s.__originalScale,s.translate=s.__originalTranslate,s.transform=s.__originalTransform,s.setTransform=s.__originalSetTransform,s.resetTransform=s.__originalResetTransform,s.clip=s.__originalClip,s.moveTo=s.__originalMoveTo,s.lineTo=s.__originalLineTo,s.bezierCurveTo=s.__originalBezierCurveTo,s.rect=s.__originalRect,s.closePath=s.__originalClosePath,s.beginPath=s.__originalBeginPath,delete s._removeMirroring},s.save=function(){t.save(),this.__originalSave()},s.restore=function(){t.restore(),this.__originalRestore()},s.translate=function(e,i){t.translate(e,i),this.__originalTranslate(e,i)},s.scale=function(e,i){t.scale(e,i),this.__originalScale(e,i)},s.transform=function(e,i,n,a,r,o){t.transform(e,i,n,a,r,o),this.__originalTransform(e,i,n,a,r,o)},s.setTransform=function(e,i,n,a,r,o){t.setTransform(e,i,n,a,r,o),this.__originalSetTransform(e,i,n,a,r,o)},s.resetTransform=function(){t.resetTransform(),this.__originalResetTransform()},s.rotate=function(e){t.rotate(e),this.__originalRotate(e)},s.clip=function(e){t.clip(e),this.__originalClip(e)},s.moveTo=function(e,i){t.moveTo(e,i),this.__originalMoveTo(e,i)},s.lineTo=function(e,i){t.lineTo(e,i),this.__originalLineTo(e,i)},s.bezierCurveTo=function(e,i,n,a,r,o){t.bezierCurveTo(e,i,n,a,r,o),this.__originalBezierCurveTo(e,i,n,a,r,o)},s.rect=function(e,i,n,a){t.rect(e,i,n,a),this.__originalRect(e,i,n,a)},s.closePath=function(){t.closePath(),this.__originalClosePath()},s.beginPath=function(){t.beginPath(),this.__originalBeginPath()}}m(AK,"mirrorContextOperations");function xm(s,t,e,i,n,a,r,o,l,c){const[h,u,d,p,g,b]=vs(s);if(u===0&&d===0){const j=r*h+g,k=Math.round(j),q=o*p+b,A=Math.round(q),I=(r+l)*h+g,C=Math.abs(Math.round(I)-k)||1,F=(o+c)*p+b,E=Math.abs(Math.round(F)-A)||1;return s.setTransform(Math.sign(h),0,0,Math.sign(p),k,A),s.drawImage(t,e,i,n,a,0,0,C,E),s.setTransform(h,u,d,p,g,b),[C,E]}if(h===0&&p===0){const j=o*d+g,k=Math.round(j),q=r*u+b,A=Math.round(q),I=(o+c)*d+g,C=Math.abs(Math.round(I)-k)||1,F=(r+l)*u+b,E=Math.abs(Math.round(F)-A)||1;return s.setTransform(0,Math.sign(u),Math.sign(d),0,k,A),s.drawImage(t,e,i,n,a,0,0,E,C),s.setTransform(h,u,d,p,g,b),[E,C]}s.drawImage(t,e,i,n,a,r,o,l,c);const w=Math.hypot(h,u),y=Math.hypot(d,p);return[w*l,y*c]}m(xm,"drawImageAtIntegerCoords");const GL=class GL{constructor(t,e){R(this,"alphaIsShape",!1);R(this,"fontSize",0);R(this,"fontSizeScale",1);R(this,"textMatrix",null);R(this,"textMatrixScale",1);R(this,"fontMatrix",TS);R(this,"leading",0);R(this,"x",0);R(this,"y",0);R(this,"lineX",0);R(this,"lineY",0);R(this,"charSpacing",0);R(this,"wordSpacing",0);R(this,"textHScale",1);R(this,"textRenderingMode",hi.FILL);R(this,"textRise",0);R(this,"fillColor","#000000");R(this,"strokeColor","#000000");R(this,"patternFill",!1);R(this,"patternStroke",!1);R(this,"fillAlpha",1);R(this,"strokeAlpha",1);R(this,"lineWidth",1);R(this,"activeSMask",null);R(this,"transferMaps","none");R(this,"minMax",V1.slice());this.clipBox=new Float32Array([0,0,t,e])}clone(){const t=Object.create(this);return t.clipBox=this.clipBox.slice(),t.minMax=this.minMax.slice(),t}getPathBoundingBox(t=Vi.FILL,e=null){const i=this.minMax.slice();if(t===Vi.STROKE){e||We("Stroke bounding box must include transform."),Et.singularValueDecompose2dScale(e,xa);const n=xa[0]*this.lineWidth/2,a=xa[1]*this.lineWidth/2;i[0]-=n,i[1]-=a,i[2]+=n,i[3]+=a}return i}updateClipFromPath(){const t=Et.intersect(this.clipBox,this.getPathBoundingBox());this.startNewPathAndClipBox(t||[0,0,0,0])}isEmptyClip(){return this.minMax[0]===1/0}startNewPathAndClipBox(t){this.clipBox.set(t,0),this.minMax.set(V1,0)}getClippedPathBoundingBox(t=Vi.FILL,e=null){return Et.intersect(this.clipBox,this.getPathBoundingBox(t,e))}};m(GL,"CanvasExtraState");let E6=GL;function HC(s,t){if(t instanceof ImageData){s.putImageData(t,0,0);return}const e=t.height,i=t.width,n=e%Vn,a=(e-n)/Vn,r=n===0?a:a+1,o=s.createImageData(i,Vn);let l=0,c;const h=t.data,u=o.data;let d,p,g,b;if(t.kind===g5.GRAYSCALE_1BPP){const w=h.byteLength,y=new Uint32Array(u.buffer,0,u.byteLength>>2),j=y.length,k=i+7>>3,q=4294967295,A=Qs.isLittleEndian?4278190080:255;for(d=0;dk?i:I*8-7,E=F&-8;let D=0,M=0;for(;C>=1}for(;c=a&&(g=n,b=i*g),c=0,p=b;p--;)u[c++]=h[l++],u[c++]=h[l++],u[c++]=h[l++],u[c++]=255;s.putImageData(o,0,d*Vn)}else throw new Error(`bad image kind: ${t.kind}`)}m(HC,"putBinaryImageData");function OC(s,t){if(t.bitmap){s.drawImage(t.bitmap,0,0);return}const e=t.height,i=t.width,n=e%Vn,a=(e-n)/Vn,r=n===0?a:a+1,o=s.createImageData(i,Vn);let l=0;const c=t.data,h=o.data;for(let u=0;uiU&&typeof i=="function",u=h?Date.now()+mJ:0;let d=0;const p=this.commonObjs,g=this.objs;let b,w;for(;;){if(n!==void 0){if(l===n.nextBreakPoint)return n.breakIt(l,i),l;if(n.shouldSkip(l)){if(++l===c)return l;continue}}if(!a||a(l))if(b=o[l],w=r[l]??null,b!==yb.dependency)w===null?this[b](l):this[b](l,...w);else for(const j of w){(y=this.dependencyTracker)==null||y.recordNamedData(j,l);const k=j.startsWith("g_")?p:g;if(!k.has(j))return k.get(j,i),l}if(l++,l===c)return l;if(h&&++d>iU){if(Date.now()>u)return i(),l;d=0}}}endDrawing(){S(this,Gr,LC).call(this);for(const t of this.smaskGroupCanvases)this.canvasFactory.destroy(t);this.smaskGroupCanvases.length=0,this.tempSMask=null,this.smaskStack.length=0,this.cachedPatterns.clear();for(const t of this._cachedBitmapsMap.values()){for(const e of t.values())typeof HTMLCanvasElement<"u"&&e instanceof HTMLCanvasElement&&(e.width=e.height=0);t.clear()}this._cachedBitmapsMap.clear(),S(this,Gr,zC).call(this)}_scaleImage(t,e){const i=t.width??t.displayWidth,n=t.height??t.displayHeight,a=Math.max(Math.hypot(e[0],e[1]),1),r=Math.max(Math.hypot(e[2],e[3]),1),o=[];let l=a,c=r,h=i,u=n;for(;l>2&&h>1||c>2&&u>1;){let y=h,j=u;l>2&&h>1&&(y=h>=16384?Math.floor(h/2)-1||1:Math.ceil(h/2),l/=h/y),c>2&&u>1&&(j=u>=16384?Math.floor(u/2)-1||1:Math.ceil(u)/2,c/=u/j),o.push({newWidth:y,newHeight:j}),h=y,u=j}if(o.length===0)return{img:t,paintWidth:i,paintHeight:n,tmpCanvas:null};if(o.length===1){const{newWidth:y,newHeight:j}=o[0],k=this.canvasFactory.create(y,j);return k.context.drawImage(t,0,0,i,n,0,0,y,j),{img:k.canvas,paintWidth:y,paintHeight:j,tmpCanvas:k}}let d=this.canvasFactory.create(1,1),p=this.canvasFactory.create(1,1),g=i,b=n,w=t;for(const{newWidth:y,newHeight:j}of o)this.canvasFactory.reset(p,y,j),p.context.drawImage(w,0,0,g,b,0,0,y,j),[d,p]=[p,d],w=d.canvas,g=y,b=j;return this.canvasFactory.destroy(p),{img:d.canvas,paintWidth:g,paintHeight:b,tmpCanvas:d}}_createMaskCanvas(t,e){var M,_;const i=this.ctx,{width:n,height:a}=e,r=this.current.fillColor,o=this.current.patternFill,l=vs(i);let c,h,u,d;if((e.bitmap||e.data)&&e.count>1){const G=e.bitmap||e.data.buffer;h=JSON.stringify(o?l:[l.slice(0,4),r]),c=this._cachedBitmapsMap.getOrInsertComputed(G,IF);const K=c.get(h);if(K&&!o){const it=Math.round(Math.min(l[0],l[2])+l[4]),$=Math.round(Math.min(l[1],l[3])+l[5]);return(M=this.dependencyTracker)==null||M.recordDependencies(t,Da.transformAndFill),{canvas:K,offsetX:it,offsetY:$}}u=K}u||(d=this.canvasFactory.create(n,a),OC(d.context,e));let p=Et.transform(l,[1/n,0,0,-1/a,0,0]);p=Et.transform(p,[1,0,0,1,0,-a]);const g=V1.slice();Et.axialAlignedBoundingBox([0,0,n,a],p,g);const[b,w,y,j]=g,k=Math.round(y-b)||1,q=Math.round(j-w)||1,A=this.canvasFactory.create(k,q),I=A.context,C=b,F=w;I.translate(-C,-F),I.transform(...p);let E=null;if(!u){const G=this._scaleImage(d.canvas,ur(I));u=G.img,E=G.tmpCanvas,u!==d.canvas&&(this.canvasFactory.destroy(d),d=null),c&&o&&(c.set(h,u),E=null,d=null)}I.imageSmoothingEnabled=NC(vs(I),e.interpolate),xm(I,u,0,0,u.width,u.height,0,0,n,a),E&&this.canvasFactory.destroy(E),d&&this.canvasFactory.destroy(d),I.globalCompositeOperation="source-in";const D=Et.transform(ur(I),[1,0,0,1,-C,-F]);return I.fillStyle=o?r.getPattern(i,this,D,Vi.FILL,t):r,I.fillRect(0,0,n,a),c&&!o&&c.set(h,A.canvas),(_=this.dependencyTracker)==null||_.recordDependencies(t,Da.transformAndFill),{canvas:A.canvas,canvasEntry:c&&!o?null:A,offsetX:Math.round(C),offsetY:Math.round(F)}}setLineWidth(t,e){var i;(i=this.dependencyTracker)==null||i.recordSimpleData("lineWidth",t),e!==this.current.lineWidth&&(this._cachedScaleForStroking[0]=-1),this.current.lineWidth=e,this.ctx.lineWidth=e}setLineCap(t,e){var i;(i=this.dependencyTracker)==null||i.recordSimpleData("lineCap",t),this.ctx.lineCap=gJ[e]}setLineJoin(t,e){var i;(i=this.dependencyTracker)==null||i.recordSimpleData("lineJoin",t),this.ctx.lineJoin=bJ[e]}setMiterLimit(t,e){var i;(i=this.dependencyTracker)==null||i.recordSimpleData("miterLimit",t),this.ctx.miterLimit=e}setDash(t,e,i){var a;(a=this.dependencyTracker)==null||a.recordSimpleData("dash",t);const n=this.ctx;n.setLineDash!==void 0&&(n.setLineDash(e),n.lineDashOffset=i)}setRenderingIntent(t,e){}setFlatness(t,e){}setGState(t,e){var i,n,a,r,o;for(const[l,c]of e)switch(l){case"LW":this.setLineWidth(t,c);break;case"LC":this.setLineCap(t,c);break;case"LJ":this.setLineJoin(t,c);break;case"ML":this.setMiterLimit(t,c);break;case"D":this.setDash(t,c[0],c[1]);break;case"RI":this.setRenderingIntent(t,c);break;case"FL":this.setFlatness(t,c);break;case"Font":this.setFont(t,c[0],c[1]);break;case"CA":(i=this.dependencyTracker)==null||i.recordSimpleData("strokeAlpha",t),this.current.strokeAlpha=c;break;case"ca":(n=this.dependencyTracker)==null||n.recordSimpleData("fillAlpha",t),this.ctx.globalAlpha=this.current.fillAlpha=c;break;case"BM":(a=this.dependencyTracker)==null||a.recordSimpleData("globalCompositeOperation",t),this.ctx.globalCompositeOperation=c;break;case"SMask":(r=this.dependencyTracker)==null||r.recordSimpleData("SMask",t),this.current.activeSMask=c?this.tempSMask:null,this.tempSMask=null,this.checkSMaskState();break;case"TR":(o=this.dependencyTracker)==null||o.recordSimpleData("filter",t),this.ctx.filter=this.current.transferMaps=this.filterFactory.addFilter(c);break}}get inSMaskMode(){return!!this.suspendedCtx}checkSMaskState(){const t=this.inSMaskMode;this.current.activeSMask&&!t?this.beginSMaskMode():!this.current.activeSMask&&t&&this.endSMaskMode()}beginSMaskMode(t){if(this.inSMaskMode)throw new Error("beginSMaskMode called while already in smask mode");const e=this.ctx.canvas.width,i=this.ctx.canvas.height,n=this.canvasFactory.create(e,i);this.smaskScratchCanvas=n,this.suspendedCtx=this.ctx;const a=this.ctx=n.context;a.setTransform(this.suspendedCtx.getTransform()),B1(this.suspendedCtx,a),AK(a,this.suspendedCtx),this.setGState(t,[["BM","source-over"]])}endSMaskMode(){if(!this.inSMaskMode)throw new Error("endSMaskMode called while not in smask mode");this.ctx._removeMirroring(),B1(this.ctx,this.suspendedCtx),this.ctx=this.suspendedCtx,this.suspendedCtx=null,this.canvasFactory.destroy(this.smaskScratchCanvas),this.smaskScratchCanvas=null}compose(t){if(!this.current.activeSMask)return;t?(t[0]=Math.floor(t[0]),t[1]=Math.floor(t[1]),t[2]=Math.ceil(t[2]),t[3]=Math.ceil(t[3])):t=[0,0,this.ctx.canvas.width,this.ctx.canvas.height];const e=this.current.activeSMask,i=this.suspendedCtx;this.composeSMask(i,e,this.ctx,t),this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.clearRect(0,0,this.ctx.canvas.width,this.ctx.canvas.height),this.ctx.restore()}composeSMask(t,e,i,n){const a=n[0],r=n[1],o=n[2]-a,l=n[3]-r;o===0||l===0||(this.genericComposeSMask(e.context,i,o,l,e.subtype,e.backdrop,e.transferMap,a,r,e.offsetX,e.offsetY),t.save(),t.globalAlpha=1,t.globalCompositeOperation="source-over",t.setTransform(1,0,0,1,0,0),t.drawImage(i.canvas,0,0),t.restore())}genericComposeSMask(t,e,i,n,a,r,o,l,c,h,u){let d=t.canvas,p=l-h,g=c-u,b=null;if(r)if(p<0||g<0||p+i>d.width||g+n>d.height){b=this.canvasFactory.create(i,n);const y=b.context;y.drawImage(d,-p,-g),y.globalCompositeOperation="destination-atop",y.fillStyle=r,y.fillRect(0,0,i,n),y.globalCompositeOperation="source-over",d=b.canvas,p=g=0}else{t.save(),t.globalAlpha=1,t.setTransform(1,0,0,1,0,0);const y=new Path2D;y.rect(p,g,i,n),t.clip(y),t.globalCompositeOperation="destination-atop",t.fillStyle=r,t.fillRect(p,g,i,n),t.restore()}e.save(),e.globalAlpha=1,e.setTransform(1,0,0,1,0,0),a==="Alpha"&&o?e.filter=this.filterFactory.addAlphaFilter(o):a==="Luminosity"&&(e.filter=this.filterFactory.addLuminosityFilter(o));const w=new Path2D;w.rect(l,c,i,n),e.clip(w),e.globalCompositeOperation="destination-in",e.drawImage(d,p,g,i,n,l,c,i,n),e.restore(),b&&this.canvasFactory.destroy(b)}save(t){var i;this.inSMaskMode&&B1(this.ctx,this.suspendedCtx),this.ctx.save();const e=this.current;this.stateStack.push(e),this.current=e.clone(),(i=this.dependencyTracker)==null||i.save(t)}restore(t){var e;if((e=this.dependencyTracker)==null||e.restore(t),this.stateStack.length===0){this.inSMaskMode&&this.endSMaskMode();return}this.current=this.stateStack.pop(),this.ctx.restore(),this.inSMaskMode&&B1(this.suspendedCtx,this.ctx),this.checkSMaskState(),this.pendingClip=null,this._cachedScaleForStroking[0]=-1,this._cachedGetSinglePixelWidth=null}transform(t,e,i,n,a,r,o){var l;(l=this.dependencyTracker)==null||l.recordIncrementalData("transform",t),this.ctx.transform(e,i,n,a,r,o),this._cachedScaleForStroking[0]=-1,this._cachedGetSinglePixelWidth=null}constructPath(t,e,i,n){let[a]=i;if(!n){a||(a=i[0]=new Path2D),this[e](t,a);return}if(this.dependencyTracker!==null){const r=e===yb.stroke?this.current.lineWidth/2:0;this.dependencyTracker.resetBBox(t).recordBBox(t,this.ctx,n[0]-r,n[2]+r,n[1]-r,n[3]+r).recordDependencies(t,["transform"])}a instanceof Path2D||(a=i[0]=FF(a)),Et.axialAlignedBoundingBox(n,vs(this.ctx),this.current.minMax),this[e](t,a),this._pathStartIdx=t}closePath(t){this.ctx.closePath()}stroke(t,e,i=!0){var r;const n=this.ctx,a=this.current.strokeColor;if(n.globalAlpha=this.current.strokeAlpha,this.contentVisible)if(typeof a=="object"&&(a!=null&&a.getPattern)){const o=a.isModifyingCurrentTransform()?n.getTransform():null;if(n.save(),n.strokeStyle=a.getPattern(n,this,ur(n),Vi.STROKE,t),o){const l=new Path2D;l.addPath(e,n.getTransform().invertSelf().multiplySelf(o)),e=l}this.rescaleAndStroke(e,!1),n.restore()}else this.rescaleAndStroke(e,!0);(r=this.dependencyTracker)==null||r.recordDependencies(t,Da.stroke),i&&this.consumePath(t,e,this.current.getClippedPathBoundingBox(Vi.STROKE,vs(this.ctx))),n.globalAlpha=this.current.fillAlpha}closeStroke(t,e){this.stroke(t,e)}fill(t,e,i=!0){var c,h,u;const n=this.ctx,a=this.current.fillColor,r=this.current.patternFill;let o=!1;if(r){const d=a.isModifyingCurrentTransform()?n.getTransform():null;if((c=this.dependencyTracker)==null||c.save(t),n.save(),n.fillStyle=a.getPattern(n,this,ur(n),Vi.FILL,t),d){const p=new Path2D;p.addPath(e,n.getTransform().invertSelf().multiplySelf(d)),e=p}o=!0}const l=this.current.getClippedPathBoundingBox();this.contentVisible&&l!==null&&(this.pendingEOFill?(n.fill(e,"evenodd"),this.pendingEOFill=!1):n.fill(e)),(h=this.dependencyTracker)==null||h.recordDependencies(t,Da.fill),o&&(n.restore(),(u=this.dependencyTracker)==null||u.restore(t)),i&&this.consumePath(t,e,l)}eoFill(t,e){this.pendingEOFill=!0,this.fill(t,e)}fillStroke(t,e){this.fill(t,e,!1),this.stroke(t,e,!1),this.consumePath(t,e)}eoFillStroke(t,e){this.pendingEOFill=!0,this.fillStroke(t,e)}closeFillStroke(t,e){this.fillStroke(t,e)}closeEOFillStroke(t,e){this.pendingEOFill=!0,this.fillStroke(t,e)}endPath(t,e){this.consumePath(t,e)}rawFillPath(t,e){var i;this.ctx.fill(e),(i=this.dependencyTracker)==null||i.recordDependencies(t,Da.rawFillPath).recordOperation(t)}clip(t){var e;(e=this.dependencyTracker)==null||e.recordFutureForcedDependency("clipMode",t),this.pendingClip=wJ}eoClip(t){var e;(e=this.dependencyTracker)==null||e.recordFutureForcedDependency("clipMode",t),this.pendingClip=nU}beginText(t){var e;this.current.textMatrix=null,this.current.textMatrixScale=1,this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0,(e=this.dependencyTracker)==null||e.recordOpenMarker(t).resetIncrementalData("sameLineText").resetIncrementalData("moveText",t)}endText(t){const e=this.pendingTextPaths,i=this.ctx;if(this.dependencyTracker){const{dependencyTracker:n}=this;e!==void 0&&n.recordFutureForcedDependency("textClip",n.getOpenMarker()).recordFutureForcedDependency("textClip",t),n.recordCloseMarker(t)}if(e!==void 0){const n=new Path2D,a=i.getTransform().invertSelf();for(const{transform:r,x:o,y:l,fontSize:c,path:h}of e)h&&n.addPath(h,new DOMMatrix(r).preMultiplySelf(a).translate(o,l).scale(c,-c));i.clip(n)}delete this.pendingTextPaths}setCharSpacing(t,e){var i;(i=this.dependencyTracker)==null||i.recordSimpleData("charSpacing",t),this.current.charSpacing=e}setWordSpacing(t,e){var i;(i=this.dependencyTracker)==null||i.recordSimpleData("wordSpacing",t),this.current.wordSpacing=e}setHScale(t,e){var i;(i=this.dependencyTracker)==null||i.recordSimpleData("hScale",t),this.current.textHScale=e/100}setLeading(t,e){var i;(i=this.dependencyTracker)==null||i.recordSimpleData("leading",t),this.current.leading=-e}setFont(t,e,i){var u,d;(u=this.dependencyTracker)==null||u.recordSimpleData("font",t).recordSimpleDataFromNamed("fontObj",e,t);const n=this.commonObjs.get(e),a=this.current;if(!n)throw new Error(`Can't find font for ${e}`);if(a.fontMatrix=n.fontMatrix||TS,(a.fontMatrix[0]===0||a.fontMatrix[3]===0)&&ge("Invalid font matrix for font "+e),i<0?(i=-i,a.fontDirection=-1):a.fontDirection=1,this.current.font=n,this.current.fontSize=i,n.isType3Font)return;const r=n.loadedName||"sans-serif",o=((d=n.systemFontInfo)==null?void 0:d.css)||`"${r}", ${n.fallbackName}`;let l="normal";n.black?l="900":n.bold&&(l="bold");const c=n.italic?"italic":"normal";let h=i;isU&&(h=sU),this.current.fontSizeScale=i/h,this.ctx.font=`${c} ${l} ${h}px ${o}`}setTextRenderingMode(t,e){var i;(i=this.dependencyTracker)==null||i.recordSimpleData("textRenderingMode",t),this.current.textRenderingMode=e}setTextRise(t,e){var i;(i=this.dependencyTracker)==null||i.recordSimpleData("textRise",t),this.current.textRise=e}moveText(t,e,i){var n;(n=this.dependencyTracker)==null||n.resetIncrementalData("sameLineText").recordIncrementalData("moveText",t),this.current.x=this.current.lineX+=e,this.current.y=this.current.lineY+=i}setLeadingMoveText(t,e,i){this.setLeading(t,-i),this.moveText(t,e,i)}setTextMatrix(t,e){var n;(n=this.dependencyTracker)==null||n.resetIncrementalData("sameLineText").recordSimpleData("textMatrix",t);const{current:i}=this;i.textMatrix=e,i.textMatrixScale=Math.hypot(e[0],e[1]),i.x=i.lineX=0,i.y=i.lineY=0}nextLine(t){var e;this.moveText(t,0,this.current.leading),(e=this.dependencyTracker)==null||e.recordIncrementalData("moveText",this.dependencyTracker.getSimpleIndex("leading")??t)}paintChar(t,e,i,n,a,r){var y,j,k,q;const o=this.ctx,l=this.current,c=l.font,h=l.textRenderingMode,u=l.fontSize/l.fontSizeScale,d=h&hi.FILL_STROKE_MASK,p=!!(h&hi.ADD_TO_PATH_FLAG),g=l.patternFill&&!c.missingFile,b=l.patternStroke&&!c.missingFile;let w;if((c.disableFontFace||p||g||b)&&!c.missingFile&&(w=c.getPathGenerator(this.commonObjs,e)),w&&(c.disableFontFace||g||b)){o.save(),o.translate(i,n),o.scale(u,-u),(y=this.dependencyTracker)==null||y.recordCharacterBBox(t,o,c);let A;if(d===hi.FILL||d===hi.FILL_STROKE)if(a){A=o.getTransform(),o.setTransform(...a);const I=S(this,Gr,_C).call(this,w,A,a);o.fill(I)}else o.fill(w);if(d===hi.STROKE||d===hi.FILL_STROKE)if(r){A||(A=o.getTransform()),o.setTransform(...r);const{a:I,b:C,c:F,d:E}=A,D=Et.inverseTransform(r),M=Et.transform([I,C,F,E,0,0],D);Et.singularValueDecompose2dScale(M,xa),o.lineWidth*=Math.max(xa[0],xa[1])/u,o.stroke(S(this,Gr,_C).call(this,w,A,r))}else o.lineWidth/=u,o.stroke(w);o.restore()}else(d===hi.FILL||d===hi.FILL_STROKE)&&(o.fillText(e,i,n),(j=this.dependencyTracker)==null||j.recordCharacterBBox(t,o,c,u,i,n,()=>o.measureText(e))),(d===hi.STROKE||d===hi.FILL_STROKE)&&(this.dependencyTracker&&((k=this.dependencyTracker)==null||k.recordCharacterBBox(t,o,c,u,i,n,()=>o.measureText(e)).recordDependencies(t,Da.stroke)),o.strokeText(e,i,n));p&&((this.pendingTextPaths||(this.pendingTextPaths=[])).push({transform:vs(o),x:i,y:n,fontSize:u,path:w}),(q=this.dependencyTracker)==null||q.recordCharacterBBox(t,o,c,u,i,n))}get isFontSubpixelAAEnabled(){const t=this.canvasFactory.create(10,10),e=t.context;e.scale(1.5,1),e.fillText("I",0,10);const i=e.getImageData(0,0,10,10).data;this.canvasFactory.destroy(t);let n=!1;for(let a=3;a0&&i[a]<255){n=!0;break}return pe(this,"isFontSubpixelAAEnabled",n)}showText(t,e){var M,_,G,K;this.dependencyTracker&&(this.dependencyTracker.recordDependencies(t,Da.showText).resetBBox(t),this.current.textRenderingMode&hi.ADD_TO_PATH_FLAG&&this.dependencyTracker.recordFutureForcedDependency("textClip",t).inheritPendingDependenciesAsFutureForcedDependencies());const i=this.current,n=i.font;if(n.isType3Font){this.showType3Text(t,e),(M=this.dependencyTracker)==null||M.recordShowTextOperation(t);return}const a=i.fontSize;if(a===0){(_=this.dependencyTracker)==null||_.recordOperation(t);return}const r=this.ctx,o=i.fontSizeScale,l=i.charSpacing,c=i.wordSpacing,h=i.fontDirection,u=i.textHScale*h,d=e.length,p=n.vertical,g=p?1:-1,b=n.defaultVMetrics,w=a*i.fontMatrix[0],y=i.textRenderingMode===hi.FILL&&!n.disableFontFace&&!i.patternFill;r.save(),i.textMatrix&&r.transform(...i.textMatrix),r.translate(i.x,i.y+i.textRise),h>0?r.scale(u,-1):r.scale(u,1);let j,k;const q=i.textRenderingMode&hi.FILL_STROKE_MASK,A=q===hi.FILL||q===hi.FILL_STROKE,I=q===hi.STROKE||q===hi.FILL_STROKE;if(A&&i.patternFill){r.save();const it=i.fillColor.getPattern(r,this,ur(r),Vi.FILL,t);j=vs(r),r.restore(),r.fillStyle=it}if(I&&i.patternStroke){r.save();const it=i.strokeColor.getPattern(r,this,ur(r),Vi.STROKE,t);k=vs(r),r.restore(),r.strokeStyle=it}let C=i.lineWidth;const F=i.textMatrixScale;if(F===0||C===0?I&&(C=this.getSinglePixelWidth()):C/=F,o!==1&&(r.scale(o,o),C/=o),r.lineWidth=C,n.isInvalidPDFjsFont){const it=[];let $=0;for(const rt of e)it.push(rt.unicode),$+=rt.width;const V=it.join("");if(r.fillText(V,0,0),this.dependencyTracker!==null){const rt=r.measureText(V);this.dependencyTracker.recordBBox(t,this.ctx,-rt.actualBoundingBoxLeft,rt.actualBoundingBoxRight,-rt.actualBoundingBoxAscent,rt.actualBoundingBoxDescent).recordShowTextOperation(t)}i.x+=$*w*u,r.restore(),this.compose();return}let E=0,D;for(D=0;D0){Tt=r.measureText(rt);const _t=Tt.width*1e3/a*o;if(Ct<_t&&this.isFontSubpixelAAEnabled){const U=Ct/_t;$=!0,r.save(),r.scale(U,1),dt/=U}else Ct!==_t&&(dt+=(Ct-_t)/2e3*a/o)}if(this.contentVisible&&(it.isInFont||n.missingFile)){if(y&&!Y)r.fillText(rt,dt,et),(G=this.dependencyTracker)==null||G.recordCharacterBBox(t,r,Tt?{bbox:null}:n,a/o,dt,et,()=>Tt??r.measureText(rt));else if(this.paintChar(t,rt,dt,et,j,k),Y){const _t=dt+a*Y.offset.x/o,U=et-a*Y.offset.y/o;this.paintChar(t,Y.fontChar,_t,U,j,k)}}const Dt=p?Ct*w-V*h:Ct*w+V*h;E+=Dt,$&&r.restore()}p?i.y-=E:i.x+=E*u,r.restore(),this.compose(),(K=this.dependencyTracker)==null||K.recordShowTextOperation(t)}showType3Text(t,e){const i=this.ctx,n=this.current,a=n.font,r=n.fontSize,o=n.fontDirection,l=a.vertical?1:-1,c=n.charSpacing,h=n.wordSpacing,u=n.textHScale*o,d=n.fontMatrix||TS,p=e.length,g=n.textRenderingMode===hi.INVISIBLE;let b,w,y,j;if(g||r===0)return;this._cachedScaleForStroking[0]=-1,this._cachedGetSinglePixelWidth=null,i.save(),n.textMatrix&&i.transform(...n.textMatrix),i.translate(n.x,n.y+n.textRise),i.scale(u,o);const k=this.dependencyTracker;for(this.dependencyTracker=k?new S6(k,t):null,b=0;bnew J4(r,this.commonObjs,this.objs,this.canvasFactory,this.filterFactory,{optionalContentConfig:this.optionalContentConfig,markedContentStack:this.markedContentStack},void 0,void 0,this.dependencyTracker?new S6(this.dependencyTracker,o,!0):null),"createCanvasGraphics")};i=new PC(e,this.ctx,a,n)}else i=this._getPattern(t,e[1],e[2]);return i}setStrokeColorN(t,...e){var i;(i=this.dependencyTracker)==null||i.recordSimpleData("strokeColor",t),this.current.strokeColor=this.getColorN_Pattern(t,e),this.current.patternStroke=!0}setFillColorN(t,...e){var i;(i=this.dependencyTracker)==null||i.recordSimpleData("fillColor",t),this.current.fillColor=this.getColorN_Pattern(t,e),this.current.patternFill=!0}setStrokeRGBColor(t,e){var i;(i=this.dependencyTracker)==null||i.recordSimpleData("strokeColor",t),this.ctx.strokeStyle=this.current.strokeColor=e,this.current.patternStroke=!1}setStrokeTransparent(t){var e;(e=this.dependencyTracker)==null||e.recordSimpleData("strokeColor",t),this.ctx.strokeStyle=this.current.strokeColor="transparent",this.current.patternStroke=!1}setFillRGBColor(t,e){var i;(i=this.dependencyTracker)==null||i.recordSimpleData("fillColor",t),this.ctx.fillStyle=this.current.fillColor=e,this.current.patternFill=!1}setFillTransparent(t){var e;(e=this.dependencyTracker)==null||e.recordSimpleData("fillColor",t),this.ctx.fillStyle=this.current.fillColor="transparent",this.current.patternFill=!1}_getPattern(t,e,i=null){let n;return this.cachedPatterns.has(e)?n=this.cachedPatterns.get(e):(n=qK(this.getObject(t,e)),this.cachedPatterns.set(e,n)),i&&(n.matrix=i),n}shadingFill(t,e){var r;if(!this.contentVisible)return;const i=this.ctx;this.save(t);const n=this._getPattern(t,e);i.fillStyle=n.getPattern(i,this,ur(i),Vi.SHADING,t);const a=ur(i);if(a){const{width:o,height:l}=i.canvas,c=V1.slice();Et.axialAlignedBoundingBox([0,0,o,l],a,c);const[h,u,d,p]=c;this.ctx.fillRect(h,u,d-h,p-u)}else this.ctx.fillRect(-1e10,-1e10,2e10,2e10);(r=this.dependencyTracker)==null||r.resetBBox(t).recordFullPageBBox(t).recordDependencies(t,Da.transform).recordDependencies(t,Da.fill).recordOperation(t),this.compose(this.current.getClippedPathBoundingBox()),this.restore(t)}beginInlineImage(){We("Should not call beginInlineImage")}beginImageData(){We("Should not call beginImageData")}paintFormXObjectBegin(t,e,i){var n;if(this.contentVisible&&(this.save(t),this.baseTransformStack.push(this.baseTransform),e&&this.transform(t,...e),this.baseTransform=vs(this.ctx),i)){Et.axialAlignedBoundingBox(i,this.baseTransform,this.current.minMax);const[a,r,o,l]=i,c=new Path2D;c.rect(a,r,o-a,l-r),this.ctx.clip(c),(n=this.dependencyTracker)==null||n.recordClipBox(t,this.ctx,a,o,r,l),this.endPath(t)}}paintFormXObjectEnd(t){this.contentVisible&&(this.restore(t),this.baseTransform=this.baseTransformStack.pop())}beginGroup(t,e){var p;if(!this.contentVisible)return;this.save(t),this.inSMaskMode&&(this.endSMaskMode(),this.current.activeSMask=null);const i=this.ctx;e.isolated||b9("TODO: Support non-isolated groups."),e.knockout&&ge("Knockout groups not supported.");const n=vs(i);e.matrix&&i.transform(...e.matrix);const a=[0,0,i.canvas.width,i.canvas.height];let r;e.bbox?(r=V1.slice(),Et.axialAlignedBoundingBox(e.bbox,vs(i),r),r=Et.intersect(r,a)||[0,0,0,0]):r=a;const o=Math.floor(r[0]),l=Math.floor(r[1]),c=Math.max(Math.ceil(r[2])-o,1),h=Math.max(Math.ceil(r[3])-l,1);this.current.startNewPathAndClipBox([0,0,c,h]),e.smask&&this.smaskCounter++;const u=this.canvasFactory.create(c,h);e.smask&&this.smaskGroupCanvases.push(u);const d=u.context;if(d.translate(-o,-l),d.transform(...n),e.bbox){let g=new Path2D;const[b,w,y,j]=e.bbox;if(g.rect(b,w,y-b,j-w),e.matrix){const k=new Path2D;k.addPath(g,new DOMMatrix(e.matrix)),g=k}d.clip(g)}e.smask&&this.smaskStack.push({canvas:u.canvas,context:d,offsetX:o,offsetY:l,subtype:e.smask.subtype,backdrop:e.smask.backdrop,transferMap:e.smask.transferMap||null,startTransformInverse:null}),(!e.smask||this.dependencyTracker)&&(i.setTransform(1,0,0,1,0,0),i.translate(o,l),i.save()),B1(i,d),this.ctx=d,(p=this.dependencyTracker)==null||p.inheritSimpleDataAsFutureForcedDependencies(["fillAlpha","strokeAlpha","globalCompositeOperation"]).pushBaseTransform(i),this.setGState(t,[["BM","source-over"],["ca",1],["CA",1],["TR",null]]),this.groupStack.push(i),this.groupLevel++}endGroup(t,e){var a;if(!this.contentVisible)return;this.groupLevel--;const i=this.ctx,n=this.groupStack.pop();if(this.ctx=n,this.ctx.imageSmoothingEnabled=!1,(a=this.dependencyTracker)==null||a.popBaseTransform(),e.smask)this.tempSMask=this.smaskStack.pop(),this.restore(t),this.dependencyTracker&&this.ctx.restore();else{this.ctx.restore();const r=vs(this.ctx);this.restore(t),this.ctx.save(),this.ctx.setTransform(...r);const o=V1.slice();Et.axialAlignedBoundingBox([0,0,i.canvas.width,i.canvas.height],r,o),this.ctx.drawImage(i.canvas,0,0),this.ctx.restore(),this.canvasFactory.destroy({canvas:i.canvas,context:i}),this.compose(o)}}beginAnnotation(t,e,i,n,a,r){if(S(this,Gr,LC).call(this),Am(this.ctx),this.ctx.save(),this.save(t),this.baseTransform&&this.ctx.setTransform(...this.baseTransform),i){const o=i[2]-i[0],l=i[3]-i[1];if(r&&this.annotationCanvasMap){n=n.slice(),n[4]-=i[0],n[5]-=i[1],i=i.slice(),i[0]=i[1]=0,i[2]=o,i[3]=l,Et.singularValueDecompose2dScale(vs(this.ctx),xa);const{viewportScale:c}=this,h=Math.ceil(o*this.outputScaleX*c),u=Math.ceil(l*this.outputScaleY*c);this.annotationCanvas=this.canvasFactory.create(h,u);const{canvas:d,context:p}=this.annotationCanvas;this.annotationCanvasMap.set(e,d),this.annotationCanvas.savedCtx=this.ctx,this.ctx=p,this.ctx.save(),this.ctx.setTransform(xa[0],0,0,-xa[1],0,l*xa[1]),Am(this.ctx)}else{Am(this.ctx),this.endPath(t);const c=new Path2D;c.rect(i[0],i[1],o,l),this.ctx.clip(c)}}this.current=new E6(this.ctx.canvas.width,this.ctx.canvas.height),this.transform(t,...n),this.transform(t,...a)}endAnnotation(t){this.annotationCanvas&&(this.ctx.restore(),S(this,Gr,zC).call(this),this.ctx=this.annotationCanvas.savedCtx,delete this.annotationCanvas.savedCtx,delete this.annotationCanvas)}paintImageMaskXObject(t,e){var o;if(!this.contentVisible)return;const i=e.count;e=this.getObject(t,e.data,e),e.count=i;const n=this.ctx,a=this._createMaskCanvas(t,e),r=a.canvas;n.save(),n.setTransform(1,0,0,1,0,0),n.drawImage(r,a.offsetX,a.offsetY),(o=this.dependencyTracker)==null||o.resetBBox(t).recordBBox(t,this.ctx,a.offsetX,a.offsetX+r.width,a.offsetY,a.offsetY+r.height).recordOperation(t),n.restore(),a.canvasEntry&&this.canvasFactory.destroy(a.canvasEntry),this.compose()}paintImageMaskXObjectRepeat(t,e,i,n=0,a=0,r,o){var u,d,p;if(!this.contentVisible)return;e=this.getObject(t,e.data,e);const l=this.ctx;l.save();const c=vs(l);l.transform(i,n,a,r,0,0);const h=this._createMaskCanvas(t,e);l.setTransform(1,0,0,1,h.offsetX-c[4],h.offsetY-c[5]),(u=this.dependencyTracker)==null||u.resetBBox(t);for(let g=0,b=o.length;gu?h/u:1,o=c>u?c/u:1}}this._cachedScaleForStroking[0]=r,this._cachedScaleForStroking[1]=o}return this._cachedScaleForStroking}rescaleAndStroke(t,e){const{ctx:i,current:{lineWidth:n}}=this,[a,r]=this.getScaleForStroking();if(a===r){i.lineWidth=(n||1)*a,i.stroke(t);return}const o=i.getLineDash();e&&i.save(),i.scale(a,r),i7.a=1/a,i7.d=1/r;const l=new Path2D;if(l.addPath(t,i7),o.length>0){const c=Math.max(a,r);i.setLineDash(o.map(h=>h/c)),i.lineDashOffset/=c}i.lineWidth=n||1,i.stroke(l),e&&i.restore()}isContentVisible(){for(let t=this.markedContentStack.length-1;t>=0;t--)if(!this.markedContentStack[t].visible)return!1;return!0}};Gr=new WeakSet,LC=function(){for(;this.stateStack.length||this.inSMaskMode;)this.restore();this.current.activeSMask=null,this.ctx.restore(),this.transparentCanvas&&(this.ctx=this.compositeCtx,this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.drawImage(this.transparentCanvas,0,0),this.ctx.restore(),this.canvasFactory.destroy(this.transparentCanvasEntry),this.transparentCanvas=null,this.transparentCanvasEntry=null)},zC=function(){if(this.pageColors){const t=this.filterFactory.addHCMFilter(this.pageColors.foreground,this.pageColors.background);if(t!=="none"){const e=this.ctx.filter;this.ctx.filter=t,this.ctx.drawImage(this.ctx.canvas,0,0),this.ctx.filter=e}}},_C=function(t,e,i){const n=new Path2D;return n.addPath(t,new DOMMatrix(i).invertSelf().multiplySelf(e)),n},m(J4,"CanvasGraphics");let ed=J4;for(const s in yb)ed.prototype[s]!==void 0&&(ed.prototype[yb[s]]=ed.prototype[s]);var W2,K2;const $L=class $L{constructor(t,e,i){T(this,W2,null);T(this,K2,null);R(this,"_fullReader",null);R(this,"_rangeReaders",new Set);R(this,"_source",null);this._source=t,x(this,W2,e),x(this,K2,i)}get _progressiveDataLength(){var t;return((t=this._fullReader)==null?void 0:t._loaded)??0}getFullReader(){return qs(!this._fullReader,"BasePDFStream.getFullReader can only be called once."),this._fullReader=new(f(this,W2))(this)}getRangeReader(t,e){if(e<=this._progressiveDataLength)return null;const i=new(f(this,K2))(this,t,e);return this._rangeReaders.add(i),i}cancelAllRequests(t){var e;(e=this._fullReader)==null||e.cancel(t);for(const i of new Set(this._rangeReaders))i.cancel(t)}};W2=new WeakMap,K2=new WeakMap,m($L,"BasePDFStream");let kp=$L;const VL=class VL{constructor(t){R(this,"onProgress",null);R(this,"_contentLength",0);R(this,"_filename",null);R(this,"_headersCapability",Promise.withResolvers());R(this,"_isRangeSupported",!1);R(this,"_isStreamingSupported",!1);R(this,"_loaded",0);R(this,"_stream",null);this._stream=t}_callOnProgress(){var t;(t=this.onProgress)==null||t.call(this,{loaded:this._loaded,total:this._contentLength})}get headersReady(){return this._headersCapability.promise}get filename(){return this._filename}get contentLength(){return this._contentLength}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}async read(){We("Abstract method `read` called")}cancel(t){We("Abstract method `cancel` called")}};m(VL,"BasePDFStreamReader");let qp=VL;const WL=class WL{constructor(t,e,i){R(this,"_stream",null);this._stream=t}async read(){We("Abstract method `read` called")}cancel(t){We("Abstract method `cancel` called")}};m(WL,"BasePDFStreamRangeReader");let xp=WL;function SK(s){let t=!0,e=i("filename\\*","i").exec(s);if(e){e=e[1];let h=o(e);return h=unescape(h),h=l(h),h=c(h),a(h)}if(e=r(s),e){const h=c(e);return a(h)}if(e=i("filename","i").exec(s),e){e=e[1];let h=o(e);return h=c(h),a(h)}function i(h,u){return new RegExp("(?:^|;)\\s*"+h+'\\s*=\\s*([^";\\s][^;\\s]*|"(?:[^"\\\\]|\\\\"?)+"?)',u)}m(i,"toParamRegExp");function n(h,u){if(h){if(!/^[\x00-\xFF]+$/.test(u))return u;try{const d=new TextDecoder(h,{fatal:!0}),p=w9(u);u=d.decode(p),t=!1}catch{}}return u}m(n,"textdecode");function a(h){return t&&/[\x80-\xff]/.test(h)&&(h=n("utf-8",h),t&&(h=n("iso-8859-1",h))),h}m(a,"fixupEncoding");function r(h){const u=[];let d;const p=i("filename\\*((?!0\\d)\\d+)(\\*?)","ig");for(;(d=p.exec(h))!==null;){let[,b,w,y]=d;if(b=parseInt(b,10),b in u){if(b===0)break;continue}u[b]=[w,y]}const g=[];for(let b=0;b{e._responseOrigin=y9(c.url),OF(c.status,r),this._reader=c.body.getReader();const h=c.headers,{contentLength:u,isRangeSupported:d}=BF({responseHeaders:h,isHttp:!0,rangeChunkSize:a,disableRange:i});this._contentLength=u,this._isRangeSupported=d,this._filename=DF(h),!this._isStreamingSupported&&this._isRangeSupported&&this.cancel(new No("Streaming is disabled.")),this._headersCapability.resolve()}).catch(this._headersCapability.reject)}async read(){await this._headersCapability.promise;const{value:e,done:i}=await this._reader.read();return i?{value:e,done:i}:(this._loaded+=e.byteLength,this._callOnProgress(),{value:k9(e),done:!1})}cancel(e){var i;(i=this._reader)==null||i.cancel(e),this._abortController.abort()}};m(XL,"PDFFetchStreamReader");let GC=XL;const YL=class YL extends xp{constructor(e,i,n){super(e,i,n);R(this,"_abortController",new AbortController);R(this,"_readCapability",Promise.withResolvers());R(this,"_reader",null);const{url:a,withCredentials:r}=e._source,o=new Headers(e.headers);o.append("Range",`bytes=${i}-${n-1}`),HF(a,o,r,this._abortController).then(l=>{const c=y9(l.url);PF(c,e._responseOrigin),OF(l.status,a),this._reader=l.body.getReader(),this._readCapability.resolve()}).catch(this._readCapability.reject)}async read(){await this._readCapability.promise;const{value:e,done:i}=await this._reader.read();return i?{value:e,done:i}:{value:k9(e),done:!1}}cancel(e){var i;(i=this._reader)==null||i.cancel(e),this._abortController.abort()}};m(YL,"PDFFetchStreamRangeReader");let $C=YL;function VC(s){return s instanceof Uint8Array&&s.byteLength===s.buffer.byteLength?s.buffer:new Uint8Array(s).buffer}m(VC,"transport_stream_getArrayBuffer");function q9(){for(const s of this._requests)s.resolve({value:void 0,done:!0});this._requests.length=0}m(q9,"endRequests");var X2,KC;const QL=class QL extends kp{constructor(e){super(e,XC,YC);T(this,X2);R(this,"_progressiveDone",!1);R(this,"_queuedChunks",[]);const{pdfDataRangeTransport:i}=e,{initialData:n,progressiveDone:a}=i;if((n==null?void 0:n.length)>0){const r=VC(n);this._queuedChunks.push(r)}this._progressiveDone=a,i.addRangeListener((r,o)=>{S(this,X2,KC).call(this,r,o)}),i.addProgressiveReadListener(r=>{S(this,X2,KC).call(this,void 0,r)}),i.addProgressiveDoneListener(()=>{var r;(r=this._fullReader)==null||r.progressiveDone(),this._progressiveDone=!0}),i.transportReady()}getFullReader(){const e=super.getFullReader();return this._queuedChunks=null,e}getRangeReader(e,i){const n=super.getRangeReader(e,i);return n&&(n.onDone=()=>this._rangeReaders.delete(n),this._source.pdfDataRangeTransport.requestDataRange(e,i)),n}cancelAllRequests(e){super.cancelAllRequests(e),this._source.pdfDataRangeTransport.abort()}};X2=new WeakSet,KC=function(e,i){const n=VC(i);if(e===void 0)this._fullReader?this._fullReader._enqueue(n):this._queuedChunks.push(n);else{const a=this._rangeReaders.keys().find(r=>r._begin===e);qs(a,"#onReceiveData - no `PDFDataTransportStreamRangeReader` instance found."),a._enqueue(n)}},m(QL,"PDFDataTransportStream");let WC=QL;var Y2;const JL=class JL extends qp{constructor(e){super(e);T(this,Y2,q9.bind(this));R(this,"_done",!1);R(this,"_queuedChunks",null);R(this,"_requests",[]);const{pdfDataRangeTransport:i,disableRange:n,disableStream:a}=e._source,{length:r,contentDispositionFilename:o}=i;this._queuedChunks=e._queuedChunks||[];for(const c of this._queuedChunks)this._loaded+=c.byteLength;this._done=e._progressiveDone,this._contentLength=r,this._isStreamingSupported=!a,this._isRangeSupported=!n,O8(o)&&(this._filename=o),this._headersCapability.resolve();const l=this._loaded;Promise.resolve().then(()=>{l>0&&this._loaded===l&&this._callOnProgress()})}_enqueue(e){this._done||(this._requests.length>0?this._requests.shift().resolve({value:e,done:!1}):this._queuedChunks.push(e),this._loaded+=e.byteLength,this._callOnProgress())}async read(){if(this._queuedChunks.length>0)return{value:this._queuedChunks.shift(),done:!1};if(this._done)return{value:void 0,done:!0};const e=Promise.withResolvers();return this._requests.push(e),e.promise}cancel(e){this._done=!0,f(this,Y2).call(this)}progressiveDone(){this._done||(this._done=!0),this._queuedChunks.length===0&&f(this,Y2).call(this)}};Y2=new WeakMap,m(JL,"PDFDataTransportStreamReader");let XC=JL;var Q2;const ZL=class ZL extends xp{constructor(e,i,n){super(e,i,n);T(this,Q2,q9.bind(this));R(this,"onDone",null);R(this,"_begin",-1);R(this,"_done",!1);R(this,"_queuedChunk",null);R(this,"_requests",[]);this._begin=i}_enqueue(e){var i;this._done||(this._requests.length===0?this._queuedChunk=e:(this._requests.shift().resolve({value:e,done:!1}),f(this,Q2).call(this)),this._done=!0,(i=this.onDone)==null||i.call(this))}async read(){if(this._queuedChunk){const i=this._queuedChunk;return this._queuedChunk=null,{value:i,done:!1}}if(this._done)return{value:void 0,done:!0};const e=Promise.withResolvers();return this._requests.push(e),e.promise}cancel(e){var i;this._done=!0,f(this,Q2).call(this),(i=this.onDone)==null||i.call(this)}};Q2=new WeakMap,m(ZL,"PDFDataTransportStreamRangeReader");let YC=ZL;const n7=200,aU=206;function CK(s){return typeof s!="string"?s:w9(s).buffer}m(CK,"network_getArrayBuffer");var mo,Ip,IK,TK;const tz=class tz extends kp{constructor(e){super(e,JC,ZC);T(this,Ip);T(this,mo,new WeakMap);R(this,"_responseOrigin",null);const{httpHeaders:i,url:n}=e;this.url=n,this.isHttp=/https?:/.test(n.protocol),this.headers=MF(this.isHttp,i)}_request(e){const i=new XMLHttpRequest,n={validateStatus:null,onHeadersReceived:e.onHeadersReceived,onDone:e.onDone,onError:e.onError,onProgress:e.onProgress};f(this,mo).set(i,n),i.open("GET",this.url),i.withCredentials=this._source.withCredentials;for(const[a,r]of this.headers)i.setRequestHeader(a,r);return this.isHttp&&"begin"in e&&"end"in e?(i.setRequestHeader("Range",`bytes=${e.begin}-${e.end-1}`),n.validateStatus=a=>a===aU||a===n7):n.validateStatus=a=>a===n7,i.responseType="arraybuffer",qs(e.onError,"Expected `onError` callback to be provided."),i.onerror=()=>e.onError(i.status),i.onreadystatechange=S(this,Ip,TK).bind(this,i),i.onprogress=S(this,Ip,IK).bind(this,i),i.send(null),i}_abortRequest(e){f(this,mo).has(e)&&(f(this,mo).delete(e),e.abort())}getRangeReader(e,i){const n=super.getRangeReader(e,i);return n&&(n.onClosed=()=>this._rangeReaders.delete(n)),n}};mo=new WeakMap,Ip=new WeakSet,IK=function(e,i){var n,a;(a=(n=f(this,mo).get(e))==null?void 0:n.onProgress)==null||a.call(n,i)},TK=function(e,i){const n=f(this,mo).get(e);if(!n||(e.readyState>=2&&n.onHeadersReceived&&(n.onHeadersReceived(),delete n.onHeadersReceived),e.readyState!==4)||!f(this,mo).has(e))return;if(f(this,mo).delete(e),e.status===0&&this.isHttp){n.onError(e.status);return}const a=e.status||n7;if(!n.validateStatus(a)){n.onError(e.status);return}const r=CK(e.response);if(a===aU){const o=e.getResponseHeader("Content-Range");/bytes (\d+)-(\d+)\/(\d+)/.test(o)?n.onDone(r):(ge('Missing or invalid "Content-Range" header.'),n.onError(0))}else r?n.onDone(r):n.onError(e.status)},m(tz,"PDFNetworkStream");let QC=tz;var J2,Lo,FK,EK,RK,MK;const ez=class ez extends qp{constructor(e){super(e);T(this,Lo);T(this,J2,q9.bind(this));R(this,"_cachedChunks",[]);R(this,"_done",!1);R(this,"_requests",[]);R(this,"_storedError",null);this._fullRequestXhr=e._request({onHeadersReceived:S(this,Lo,FK).bind(this),onDone:S(this,Lo,EK).bind(this),onError:S(this,Lo,RK).bind(this),onProgress:S(this,Lo,MK).bind(this)})}async read(){if(await this._headersCapability.promise,this._storedError)throw this._storedError;if(this._cachedChunks.length>0)return{value:this._cachedChunks.shift(),done:!1};if(this._done)return{value:void 0,done:!0};const e=Promise.withResolvers();return this._requests.push(e),e.promise}cancel(e){this._done=!0,this._headersCapability.reject(e),f(this,J2).call(this),this._stream._abortRequest(this._fullRequestXhr),this._fullRequestXhr=null}};J2=new WeakMap,Lo=new WeakSet,FK=function(){const e=this._stream,{disableRange:i,rangeChunkSize:n}=e._source,a=this._fullRequestXhr;e._responseOrigin=y9(a.responseURL);const r=a.getAllResponseHeaders(),o=new Headers(r?r.trimStart().replace(/[^\S ]+$/,"").split(/[\r\n]+/).map(h=>{const[u,...d]=h.split(": ");return[u,d.join(": ")]}):[]),{contentLength:l,isRangeSupported:c}=BF({responseHeaders:o,isHttp:e.isHttp,rangeChunkSize:n,disableRange:i});this._contentLength=l,this._isRangeSupported=c,this._filename=DF(o),this._isRangeSupported&&e._abortRequest(a),this._headersCapability.resolve()},EK=function(e){this._requests.length>0?this._requests.shift().resolve({value:e,done:!1}):this._cachedChunks.push(e),this._done=!0,this._cachedChunks.length===0&&f(this,J2).call(this)},RK=function(e){this._storedError=v9(e,this._stream.url),this._headersCapability.reject(this._storedError);for(const i of this._requests)i.reject(this._storedError);this._requests.length=0,this._cachedChunks.length=0},MK=function(e){var i;(i=this.onProgress)==null||i.call(this,{loaded:e.loaded,total:e.lengthComputable?e.total:this._contentLength})},m(ez,"PDFNetworkStreamReader");let JC=ez;var Z2,rc,BK,DK,tI;const sz=class sz extends xp{constructor(e,i,n){super(e,i,n);T(this,rc);T(this,Z2,q9.bind(this));R(this,"onClosed",null);R(this,"_done",!1);R(this,"_queuedChunk",null);R(this,"_requests",[]);R(this,"_storedError",null);this._requestXhr=e._request({begin:i,end:n,onHeadersReceived:S(this,rc,BK).bind(this),onDone:S(this,rc,DK).bind(this),onError:S(this,rc,tI).bind(this),onProgress:null})}async read(){if(this._storedError)throw this._storedError;if(this._queuedChunk!==null){const i=this._queuedChunk;return this._queuedChunk=null,{value:i,done:!1}}if(this._done)return{value:void 0,done:!0};const e=Promise.withResolvers();return this._requests.push(e),e.promise}cancel(e){var i;this._done=!0,f(this,Z2).call(this),this._stream._abortRequest(this._requestXhr),(i=this.onClosed)==null||i.call(this)}};Z2=new WeakMap,rc=new WeakSet,BK=function(){var i;const e=y9((i=this._requestXhr)==null?void 0:i.responseURL);try{PF(e,this._stream._responseOrigin)}catch(n){this._storedError=n,S(this,rc,tI).call(this,0)}},DK=function(e){var i;this._requests.length>0?this._requests.shift().resolve({value:e,done:!1}):this._queuedChunk=e,this._done=!0,f(this,Z2).call(this),(i=this.onClosed)==null||i.call(this)},tI=function(e){this._storedError??(this._storedError=v9(e,this._stream.url));for(const i of this._requests)i.reject(this._storedError);this._requests.length=0,this._queuedChunk=null},m(sz,"PDFNetworkStreamRangeReader");let ZC=sz;function NF(s){const{Readable:t}=process.getBuiltinModule("stream");return typeof t.toWeb=="function"?t.toWeb(s):process.getBuiltinModule("module").createRequire(import.meta.url)("node-readable-to-web-readable-stream").makeDefaultReadableStreamFromNodeReadable(s)}m(NF,"getReadableStream");const iz=class iz extends kp{constructor(t){super(t,sI,iI);const{url:e}=t;qs(e.protocol==="file:","PDFNodeStream only supports file:// URLs.")}};m(iz,"PDFNodeStream");let eI=iz;const nz=class nz extends qp{constructor(e){super(e);R(this,"_reader",null);const{disableRange:i,disableStream:n,rangeChunkSize:a,url:r}=e._source;this._isStreamingSupported=!n;const o=process.getBuiltinModule("fs");o.promises.lstat(r).then(l=>{const c=o.createReadStream(r),h=NF(c);this._reader=h.getReader();const{size:u}=l;this._contentLength=u,this._isRangeSupported=!i&&u>2*a,!this._isStreamingSupported&&this._isRangeSupported&&this.cancel(new No("Streaming is disabled.")),this._headersCapability.resolve()}).catch(l=>{l.code==="ENOENT"&&(l=v9(0,r)),this._headersCapability.reject(l)})}async read(){await this._headersCapability.promise;const{value:e,done:i}=await this._reader.read();return i?{value:e,done:i}:(this._loaded+=e.byteLength,this._callOnProgress(),{value:k9(e),done:!1})}cancel(e){var i;(i=this._reader)==null||i.cancel(e)}};m(nz,"PDFNodeStreamReader");let sI=nz;const az=class az extends xp{constructor(e,i,n){super(e,i,n);R(this,"_readCapability",Promise.withResolvers());R(this,"_reader",null);const{url:a}=e._source,r=process.getBuiltinModule("fs");try{const o=r.createReadStream(a,{start:i,end:n-1}),l=NF(o);this._reader=l.getReader(),this._readCapability.resolve()}catch(o){this._readCapability.reject(o)}}async read(){await this._readCapability.promise;const{value:e,done:i}=await this._reader.read();return i?{value:e,done:i}:{value:k9(e),done:!1}}cancel(e){var i;(i=this._reader)==null||i.cancel(e)}};m(az,"PDFNodeStreamRangeReader");let iI=az;function PK(s){return td(s)?UC:sr?eI:QC}m(PK,"getNetworkStream");var tw,ew;const kg=class kg{static get workerPort(){return f(this,tw)}static set workerPort(t){if(!(typeof Worker<"u"&&t instanceof Worker)&&t!==null)throw new Error("Invalid `workerPort` type.");x(this,tw,t)}static get workerSrc(){return f(this,ew)}static set workerSrc(t){if(typeof t!="string")throw new Error("Invalid `workerSrc` type.");x(this,ew,t)}};tw=new WeakMap,ew=new WeakMap,m(kg,"GlobalWorkerOptions"),T(kg,tw,null),T(kg,ew,"");let Pl=kg;var g0,sw;const rz=class rz{constructor({parsedData:t,rawData:e}){T(this,g0);T(this,sw);x(this,g0,t),x(this,sw,e)}getRaw(){return f(this,sw)}get(t){return f(this,g0).get(t)??null}[Symbol.iterator](){return f(this,g0).entries()}};g0=new WeakMap,sw=new WeakMap,m(rz,"Metadata");let nI=rz;const D1=Symbol("INTERNAL");var iw,nw,aw,b0;const oz=class oz{constructor(t,{name:e,intent:i,usage:n,rbGroups:a}){T(this,iw,!1);T(this,nw,!1);T(this,aw,!1);T(this,b0,!0);x(this,iw,!!(t&ka.DISPLAY)),x(this,nw,!!(t&ka.PRINT)),this.name=e,this.intent=i,this.usage=n,this.rbGroups=a}get visible(){if(f(this,aw))return f(this,b0);if(!f(this,b0))return!1;const{print:t,view:e}=this.usage;return f(this,iw)?(e==null?void 0:e.viewState)!=="OFF":f(this,nw)?(t==null?void 0:t.printState)!=="OFF":!0}_setVisible(t,e,i=!1){t!==D1&&We("Internal method `_setVisible` called."),x(this,aw,i),x(this,b0,e)}};iw=new WeakMap,nw=new WeakMap,aw=new WeakMap,b0=new WeakMap,m(oz,"OptionalContentGroup");let aI=oz;var nh,ls,w0,j0,rw,oI;const lz=class lz{constructor(t,e=ka.DISPLAY){T(this,rw);T(this,nh,null);T(this,ls,new Map);T(this,w0,null);T(this,j0,null);if(this.renderingIntent=e,this.name=null,this.creator=null,t!==null){this.name=t.name,this.creator=t.creator,x(this,j0,t.order);for(const i of t.groups)f(this,ls).set(i.id,new aI(e,i));if(t.baseState==="OFF")for(const i of f(this,ls).values())i._setVisible(D1,!1);for(const i of t.on)f(this,ls).get(i)._setVisible(D1,!0);for(const i of t.off)f(this,ls).get(i)._setVisible(D1,!1);x(this,w0,this.getHash())}}isVisible(t){if(f(this,ls).size===0)return!0;if(!t)return b9("Optional content group not defined."),!0;if(t.type==="OCG")return f(this,ls).has(t.id)?f(this,ls).get(t.id).visible:(ge(`Optional content group not found: ${t.id}`),!0);if(t.type==="OCMD"){if(t.expression)return S(this,rw,oI).call(this,t.expression);if(!t.policy||t.policy==="AnyOn"){for(const e of t.ids){if(!f(this,ls).has(e))return ge(`Optional content group not found: ${e}`),!0;if(f(this,ls).get(e).visible)return!0}return!1}else if(t.policy==="AllOn"){for(const e of t.ids){if(!f(this,ls).has(e))return ge(`Optional content group not found: ${e}`),!0;if(!f(this,ls).get(e).visible)return!1}return!0}else if(t.policy==="AnyOff"){for(const e of t.ids){if(!f(this,ls).has(e))return ge(`Optional content group not found: ${e}`),!0;if(!f(this,ls).get(e).visible)return!0}return!1}else if(t.policy==="AllOff"){for(const e of t.ids){if(!f(this,ls).has(e))return ge(`Optional content group not found: ${e}`),!0;if(f(this,ls).get(e).visible)return!1}return!0}return ge(`Unknown optional content policy ${t.policy}.`),!0}return ge(`Unknown group type ${t.type}.`),!0}setVisibility(t,e=!0,i=!0){var a;const n=f(this,ls).get(t);if(!n){ge(`Optional content group not found: ${t}`);return}if(i&&e&&n.rbGroups.length)for(const r of n.rbGroups)for(const o of r)o!==t&&((a=f(this,ls).get(o))==null||a._setVisible(D1,!1,!0));n._setVisible(D1,!!e,!0),x(this,nh,null)}setOCGState({state:t,preserveRB:e}){let i;for(const n of t){switch(n){case"ON":case"OFF":case"Toggle":i=n;continue}const a=f(this,ls).get(n);if(a)switch(i){case"ON":this.setVisibility(n,!0,e);break;case"OFF":this.setVisibility(n,!1,e);break;case"Toggle":this.setVisibility(n,!a.visible,e);break}}x(this,nh,null)}get hasInitialVisibility(){return f(this,w0)===null||this.getHash()===f(this,w0)}getOrder(){return f(this,ls).size?f(this,j0)?f(this,j0).slice():[...f(this,ls).keys()]:null}getGroup(t){return f(this,ls).get(t)||null}getHash(){if(f(this,nh)!==null)return f(this,nh);const t=new x6;for(const[e,i]of f(this,ls))t.update(`${e}:${i.visible}`);return x(this,nh,t.hexdigest())}[Symbol.iterator](){return f(this,ls).entries()}};nh=new WeakMap,ls=new WeakMap,w0=new WeakMap,j0=new WeakMap,rw=new WeakSet,oI=function(t){const e=t.length;if(e<2)return!0;const i=t[0];for(let n=1;nd===p+1)&&x(this,Ws,null)}deletePages(t){S(this,un,Sm).call(this);const e=f(this,Ws),i=S(this,un,Cm).call(this);x(this,go,{pageNumberToId:e.slice(),pagesNumber:f(this,zi),prevPageNumbers:f(this,Ar).slice()});const n=f(this,zi)-t.length;x(this,zi,n);const a=x(this,Ws,new Uint32Array(n));x(this,Ar,new Int32Array(n));let r=0,o=0;for(const l of t){const c=l-1;c!==r&&(a.set(e.subarray(r,c),o),o+=c-r),r=c+1}rf(this,Ws)[e-1])})}cancelCopy(){x(this,eu,null)}pastePages(t){S(this,un,Sm).call(this);const e=f(this,Ws),i=S(this,un,Cm).call(this),{pageNumbers:n,pageIds:a}=f(this,eu),r=f(this,zi)+n.length;x(this,zi,r);const o=x(this,Ws,new Uint32Array(r));x(this,Ar,new Int32Array(r)),o.set(e.subarray(0,t),0),o.set(a,t),o.set(e.subarray(t),t+n.length),S(this,un,T5).call(this,i,null,t,n),x(this,eu,null)}hasBeenAltered(){return f(this,Ws)!==null}getPageMappingForSaving(t=null){t??(t=S(this,un,Cm).call(this));let e=0;for(const n of t.values())e=Math.max(e,n.length);const i=new Array(e);for(let n=0;nr[0]-o[0]);for(let r=0,o=n.length;ri-n);const e=new Map;for(let i=0,n=t.length;i=i&&c({...Promise.withResolvers(),data:P1}),"dataObj");var Qa;const hz=class hz{constructor(){T(this,Qa,new Map)}get(t,e=null){if(e){const n=f(this,Qa).getOrInsertComputed(t,rU);return n.promise.then(()=>e(n.data)),null}const i=f(this,Qa).get(t);if(!i||i.data===P1)throw new Error(`Requesting object that isn't resolved yet ${t}.`);return i.data}has(t){const e=f(this,Qa).get(t);return!!e&&e.data!==P1}delete(t){const e=f(this,Qa).get(t);return!e||e.data===P1?!1:(f(this,Qa).delete(t),!0)}resolve(t,e=null){const i=f(this,Qa).getOrInsertComputed(t,rU);if(i.data!==P1)throw new Error(`Object already resolved ${t}.`);i.data=e,i.resolve()}clear(){var t;for(const{data:e}of f(this,Qa).values())(t=e==null?void 0:e.bitmap)==null||t.close();f(this,Qa).clear()}*[Symbol.iterator](){for(const[t,{data:e}]of f(this,Qa))e!==P1&&(yield[t,e])}};Qa=new WeakMap,m(hz,"PDFObjects");let R6=hz;const jJ=1e5,oU=30;var hU,ah,kn,ow,lw,y0,su,jl,cw,hw,iu,fw,v0,rh,k0,uw,q0,nu,dw,pw,x0,au,mw,A0,S0,oc,HK,OK,cI,Fa,F5,hI,NK,LK;const gi=class gi{constructor({textContentSource:t,images:e,container:i,viewport:n}){T(this,oc);T(this,ah,Promise.withResolvers());T(this,kn,null);T(this,ow,!1);T(this,lw,!!((hU=globalThis.FontInspector)!=null&&hU.enabled));T(this,y0,null);T(this,su,null);T(this,jl,null);T(this,cw,0);T(this,hw,0);T(this,iu,null);T(this,fw,null);T(this,v0,0);T(this,rh,0);T(this,k0,Object.create(null));T(this,uw,[]);T(this,q0,null);T(this,nu,[]);T(this,dw,new WeakMap);T(this,pw,null);var c;if(t instanceof ReadableStream)x(this,q0,t);else if(typeof t=="object")x(this,q0,new ReadableStream({start(h){h.enqueue(t),h.close()}}));else throw new Error('No "textContentSource" parameter specified.');x(this,kn,x(this,fw,i)),x(this,y0,e),x(this,rh,n.scale*ic.pixelRatio),x(this,v0,n.rotation),x(this,jl,{div:null,properties:null,ctx:null});const{pageWidth:a,pageHeight:r,pageX:o,pageY:l}=n.rawDims;x(this,pw,[1,0,0,-1,-o,l+r]),x(this,hw,a),x(this,cw,r),S(c=gi,Fa,NK).call(c),i.style.setProperty("--min-font-size",f(gi,A0)),Hh(i,n),f(this,ah).promise.finally(()=>{f(gi,S0).delete(this),x(this,jl,null),x(this,k0,null)}).catch(()=>{})}static get fontFamilyMap(){const{isWindows:t,isFirefox:e}=Qs.platform;return pe(this,"fontFamilyMap",new Map([["sans-serif",`${t&&e?"Calibri, ":""}sans-serif`],["monospace",`${t&&e?"Lucida Console, ":""}monospace`]]))}render(){f(this,y0)&&f(this,kn).append(f(this,y0).render());const t=m(()=>{f(this,iu).read().then(({value:e,done:i})=>{if(i){f(this,ah).resolve();return}f(this,su)??x(this,su,e.lang),Object.assign(f(this,k0),e.styles),S(this,oc,HK).call(this,e.items),t()},f(this,ah).reject)},"pump");return x(this,iu,f(this,q0).getReader()),f(gi,S0).add(this),t(),f(this,ah).promise}update({viewport:t,onBefore:e=null}){var a;const i=t.scale*ic.pixelRatio,n=t.rotation;if(n!==f(this,v0)&&(e==null||e(),x(this,v0,n),Hh(f(this,fw),{rotation:n})),i!==f(this,rh)){e==null||e(),x(this,rh,i);const r={div:null,properties:null,ctx:S(a=gi,Fa,F5).call(a,f(this,su))};for(const o of f(this,nu))r.properties=f(this,dw).get(o),r.div=o,S(this,oc,cI).call(this,r)}}cancel(){var e;const t=new No("TextLayer task cancelled.");(e=f(this,iu))==null||e.cancel(t).catch(()=>{}),x(this,iu,null),f(this,ah).reject(t)}get textDivs(){return f(this,nu)}get textContentItemsStr(){return f(this,uw)}static cleanup(){if(!(f(this,S0).size>0)){f(this,x0).clear();for(const{canvas:t}of f(this,au).values())t.remove();f(this,au).clear()}}};ah=new WeakMap,kn=new WeakMap,ow=new WeakMap,lw=new WeakMap,y0=new WeakMap,su=new WeakMap,jl=new WeakMap,cw=new WeakMap,hw=new WeakMap,iu=new WeakMap,fw=new WeakMap,v0=new WeakMap,rh=new WeakMap,k0=new WeakMap,uw=new WeakMap,q0=new WeakMap,nu=new WeakMap,dw=new WeakMap,pw=new WeakMap,x0=new WeakMap,au=new WeakMap,mw=new WeakMap,A0=new WeakMap,S0=new WeakMap,oc=new WeakSet,HK=function(t){var n,a;if(f(this,ow))return;(a=f(this,jl)).ctx??(a.ctx=S(n=gi,Fa,F5).call(n,f(this,su)));const e=f(this,nu),i=f(this,uw);for(const r of t){if(e.length>jJ){ge("Ignoring additional textDivs for performance reasons."),x(this,ow,!0);return}if(r.str===void 0){if(r.type==="beginMarkedContentProps"||r.type==="beginMarkedContent"){const o=f(this,kn);x(this,kn,document.createElement("span")),f(this,kn).classList.add("markedContent"),r.id&&f(this,kn).setAttribute("id",`${r.id}`),r.tag==="Artifact"&&(f(this,kn).ariaHidden=!0),o.append(f(this,kn))}else r.type==="endMarkedContent"&&x(this,kn,f(this,kn).parentNode);continue}i.push(r.str),S(this,oc,OK).call(this,r)}},OK=function(t){var g;const e=document.createElement("span"),i={angle:0,canvasWidth:0,hasText:t.str!=="",hasEOL:t.hasEOL,fontSize:0};f(this,nu).push(e);const n=Et.transform(f(this,pw),t.transform);let a=Math.atan2(n[1],n[0]);const r=f(this,k0)[t.fontName];r.vertical&&(a+=Math.PI/2);let o=f(this,lw)&&r.fontSubstitution||r.fontFamily;o=gi.fontFamilyMap.get(o)||o;const l=Math.hypot(n[2],n[3]),c=l*S(g=gi,Fa,LK).call(g,o,r,f(this,su));let h,u;a===0?(h=n[4],u=n[5]-c):(h=n[4]+c*Math.sin(a),u=n[5]-c*Math.cos(a));const d=e.style;d.left=`${(100*h/f(this,hw)).toFixed(2)}%`,d.top=`${(100*u/f(this,cw)).toFixed(2)}%`,d.setProperty("--font-height",`${l.toFixed(2)}px`),d.fontFamily=o,i.fontSize=l,e.setAttribute("role","presentation"),e.textContent=t.str,e.dir=t.dir,f(this,lw)&&(e.dataset.fontName=r.fontSubstitutionLoadedName||t.fontName),a!==0&&(i.angle=a*(180/Math.PI));let p=!1;if(t.str.length>1)p=!0;else if(t.str!==" "&&t.transform[0]!==t.transform[3]){const b=Math.abs(t.transform[0]),w=Math.abs(t.transform[3]);b!==w&&Math.max(b,w)/Math.min(b,w)>1.5&&(p=!0)}if(p&&(i.canvasWidth=r.vertical?t.height:t.width),f(this,dw).set(e,i),f(this,jl).div=e,f(this,jl).properties=i,S(this,oc,cI).call(this,f(this,jl)),i.hasText&&f(this,kn).append(e),i.hasEOL){const b=document.createElement("br");b.setAttribute("role","presentation"),f(this,kn).append(b)}},cI=function(t){var r;const{div:e,properties:i,ctx:n}=t,{style:a}=e;if(i.canvasWidth!==0&&i.hasText){const{fontFamily:o}=a,{canvasWidth:l,fontSize:c}=i;S(r=gi,Fa,hI).call(r,n,c*f(this,rh),o);const{width:h}=n.measureText(e.textContent);h>0&&a.setProperty("--scale-x",l*f(this,rh)/h)}i.angle!==0&&a.setProperty("--rotate",`${i.angle}deg`)},Fa=new WeakSet,F5=function(t=null){let e=f(this,au).get(t||(t=""));if(!e){const i=document.createElement("canvas");i.className="hiddenCanvasElement",i.lang=t,document.body.append(i),e=i.getContext("2d",{alpha:!1,willReadFrequently:!0}),f(this,au).set(t,e),f(this,mw).set(e,{size:0,family:""})}return e},hI=function(t,e,i){const n=f(this,mw).get(t);e===n.size&&i===n.family||(t.font=`${e}px ${i}`,n.size=e,n.family=i)},NK=function(){if(f(this,A0)!==null)return;const t=document.createElement("div");t.style.opacity=0,t.style.lineHeight=1,t.style.fontSize="1px",t.style.position="absolute",t.textContent="X",document.body.append(t),x(this,A0,t.getBoundingClientRect().height),t.remove()},LK=function(t,e,i){const n=f(this,x0).get(t);if(n)return n;const a=S(this,Fa,F5).call(this,i);a.canvas.width=a.canvas.height=oU,S(this,Fa,hI).call(this,a,oU,t);const r=a.measureText(""),o=r.fontBoundingBoxAscent,l=Math.abs(r.fontBoundingBoxDescent);a.canvas.width=a.canvas.height=0;let c=.8;return o?c=o/(o+l):(Qs.platform.isFirefox&&ge("Enable the `dom.textMetrics.fontBoundingBox.enabled` preference in `about:config` to improve TextLayer rendering."),e.ascent?c=e.ascent:e.descent&&(c=1+e.descent)),f(this,x0).set(t,c),c},T(gi,Fa),m(gi,"TextLayer"),T(gi,x0,new Map),T(gi,au,new Map),T(gi,mw,new WeakMap),T(gi,A0,null),T(gi,S0,new Set);let Tb=gi;const yJ=100;function zK(s={}){typeof s=="string"||s instanceof URL?s={url:s}:(s instanceof ArrayBuffer||ArrayBuffer.isView(s))&&(s={data:s});const t=new fI,{docId:e}=t,i=s.url?hK(s.url):null,n=s.data?fK(s.data):null,a=s.httpHeaders||null,r=s.withCredentials===!0,o=s.password??null,l=s.range instanceof M6?s.range:null,c=Number.isInteger(s.rangeChunkSize)&&s.rangeChunkSize>0?s.rangeChunkSize:2**16;let h=s.worker instanceof Fb?s.worker:null;const u=s.verbosity,d=typeof s.docBaseUrl=="string"&&!j9(s.docBaseUrl)?s.docBaseUrl:null,p=jm(s.cMapUrl),g=s.cMapPacked!==!1,b=jm(s.iccUrl),w=jm(s.standardFontDataUrl),y=jm(s.wasmUrl),j=s.stopAtErrors!==!0,k=Number.isInteger(s.maxImageSize)&&s.maxImageSize>-1?s.maxImageSize:-1,q=s.isEvalSupported!==!1,A=typeof s.isOffscreenCanvasSupported=="boolean"?s.isOffscreenCanvasSupported:!sr,I=typeof s.isImageDecoderSupported=="boolean"?s.isImageDecoderSupported:!sr&&(Qs.platform.isFirefox||!globalThis.chrome),C=Number.isInteger(s.canvasMaxAreaInBytes)?s.canvasMaxAreaInBytes:-1,F=typeof s.disableFontFace=="boolean"?s.disableFontFace:sr,E=s.fontExtraProperties===!0,D=s.enableXfa===!0,M=s.ownerDocument||globalThis.document,_=s.disableRange===!0,G=s.disableStream===!0,K=s.disableAutoFetch===!0,it=s.pdfBug===!0,$=s.CanvasFactory||(sr?FC:AC),V=s.FilterFactory||(sr?TC:SC),rt=s.BinaryDataFactory||(sr?EC:I6),Y=s.enableHWA===!0,dt=s.enableWebGPU===!0,et=s.useWasm!==!1,Ct=s.pagesMapper||new lI,Tt=typeof s.useSystemFonts=="boolean"?s.useSystemFonts:!sr&&!F,Dt=typeof s.useWorkerFetch=="boolean"?s.useWorkerFetch:!!(rt===I6&&p&&g&&w&&y&&td(p,document.baseURI)&&td(w,document.baseURI)&&td(y,document.baseURI)),_t=null;mW(u);const U={canvasFactory:new $({ownerDocument:M,enableHWA:Y}),filterFactory:new V({docId:e,ownerDocument:M}),binaryDataFactory:Dt?null:new rt({cMapUrl:p,standardFontDataUrl:w,wasmUrl:y})};h||(h=Fb.create({verbosity:u,port:Pl.workerPort}),t._worker=h);const P={docId:e,apiVersion:"5.6.205",data:n,password:o,disableAutoFetch:K,rangeChunkSize:c,docBaseUrl:d,enableXfa:D,evaluatorOptions:{maxImageSize:k,disableFontFace:F,ignoreErrors:j,isEvalSupported:q,isOffscreenCanvasSupported:A,isImageDecoderSupported:I,canvasMaxAreaInBytes:C,fontExtraProperties:E,useSystemFonts:Tt,useWasm:et,useWorkerFetch:Dt,cMapUrl:p,cMapPacked:g,iccUrl:b,standardFontDataUrl:w,wasmUrl:y,enableWebGPU:dt}},J={ownerDocument:M,pdfBug:it,styleElement:_t,enableHWA:Y,loadingParams:{disableAutoFetch:K,enableXfa:D}};return h.promise.then(function(){if(t.destroyed)throw new Error("Loading aborted");if(h.destroyed)throw new Error("Worker was destroyed");const st=h.messageHandler.sendWithPromise("GetDocRequest",P,n?[n.buffer]:null);let ct;if(!n)if(l)ct=new WC({pdfDataRangeTransport:l,disableRange:_,disableStream:G});else if(i){const qt=PK(i);ct=new qt({url:i,httpHeaders:a,withCredentials:r,rangeChunkSize:c,disableRange:_,disableStream:G})}else throw new Error("getDocument - expected either `data`, `range`, or `url` parameter.");return st.then(qt=>{if(t.destroyed)throw new Error("Loading aborted");if(h.destroyed)throw new Error("Worker was destroyed");const vt=new pf(e,qt,h.port),ot=new pI(vt,t,ct,J,U,Ct);t._transport=ot,vt.send("Ready",null)})}).catch(t._capability.reject),t}m(zK,"getDocument");var Z4;const qg=class qg{constructor(){R(this,"_capability",Promise.withResolvers());R(this,"_transport",null);R(this,"_worker",null);R(this,"docId",`d${Gs(qg,Z4)._++}`);R(this,"destroyed",!1);R(this,"onPassword",null);R(this,"onProgress",null)}get promise(){return this._capability.promise}async destroy(){var t,e,i,n;this.destroyed=!0;try{(t=this._worker)!=null&&t.port&&(this._worker._pendingDestroy=!0),await((e=this._transport)==null?void 0:e.destroy())}catch(a){throw(i=this._worker)!=null&&i.port&&delete this._worker._pendingDestroy,a}this._transport=null,(n=this._worker)==null||n.destroy(),this._worker=null}async getData(){return this._transport.getData()}};Z4=new WeakMap,m(qg,"PDFDocumentLoadingTask"),T(qg,Z4,0);let fI=qg;var C0,gw,bw,ww;const fz=class fz{constructor(t,e,i=!1,n=null){T(this,C0,Promise.withResolvers());T(this,gw,[]);T(this,bw,[]);T(this,ww,[]);this.length=t,this.initialData=e,this.progressiveDone=i,this.contentDispositionFilename=n,Object.defineProperty(this,"onDataProgress",{value:m(()=>{CW("`PDFDataRangeTransport.prototype.onDataProgress` - method was removed, since loading progress is now reported automatically through the `PDFDataTransportStream` class (and related code).")},"value")})}addRangeListener(t){f(this,ww).push(t)}addProgressiveReadListener(t){f(this,bw).push(t)}addProgressiveDoneListener(t){f(this,gw).push(t)}onDataRange(t,e){for(const i of f(this,ww))i(t,e)}onDataProgressiveRead(t){f(this,C0).promise.then(()=>{for(const e of f(this,bw))e(t)})}onDataProgressiveDone(){f(this,C0).promise.then(()=>{for(const t of f(this,gw))t()})}transportReady(){f(this,C0).resolve()}requestDataRange(t,e){We("Abstract method PDFDataRangeTransport.requestDataRange")}abort(){}};C0=new WeakMap,gw=new WeakMap,bw=new WeakMap,ww=new WeakMap,m(fz,"PDFDataRangeTransport");let M6=fz;const uz=class uz{constructor(t,e){this._pdfInfo=t,this._transport=e}get pagesMapper(){return this._transport.pagesMapper}get annotationStorage(){return this._transport.annotationStorage}get canvasFactory(){return this._transport.canvasFactory}get filterFactory(){return this._transport.filterFactory}get numPages(){return this._pdfInfo.numPages}get fingerprints(){return this._pdfInfo.fingerprints}get isPureXfa(){return pe(this,"isPureXfa",!!this._transport._htmlForXfa)}get allXfaHtml(){return this._transport._htmlForXfa}getPage(t){return this._transport.getPage(t)}getPageIndex(t){return this._transport.getPageIndex(t)}getDestinations(){return this._transport.getDestinations()}getDestination(t){return this._transport.getDestination(t)}getPageLabels(){return this._transport.getPageLabels()}getPageLayout(){return this._transport.getPageLayout()}getPageMode(){return this._transport.getPageMode()}getViewerPreferences(){return this._transport.getViewerPreferences()}getOpenAction(){return this._transport.getOpenAction()}getAttachments(){return this._transport.getAttachments()}getAnnotationsByType(t,e){return this._transport.getAnnotationsByType(t,e)}getJSActions(){return this._transport.getDocJSActions()}getOutline(){return this._transport.getOutline()}getOptionalContentConfig({intent:t="display"}={}){const{renderingIntent:e}=this._transport.getRenderingIntent(t);return this._transport.getOptionalContentConfig(e)}getPermissions(){return this._transport.getPermissions()}getMetadata(){return this._transport.getMetadata()}getMarkInfo(){return this._transport.getMarkInfo()}getData(){return this._transport.getData()}saveDocument(){return this._transport.saveDocument()}extractPages(t){return this._transport.extractPages(t)}getDownloadInfo(){return this._transport.downloadInfoCapability.promise}getRawData(t){return this._transport.getRawData(t)}cleanup(t=!1){return this._transport.startCleanup(t||this.isPureXfa)}destroy(){return this.loadingTask.destroy()}cachedPageNumber(t){return this._transport.cachedPageNumber(t)}get loadingParams(){return this._transport.loadingParams}get loadingTask(){return this._transport.loadingTask}getFieldObjects(){return this._transport.getFieldObjects()}hasJSActions(){return this._transport.hasJSActions()}getCalculationOrderIds(){return this._transport.getCalculationOrderIds()}};m(uz,"PDFDocumentProxy");let uI=uz;var yl,ru,ou,Im;const t8=class t8{constructor(t,e,i,n,a=!1){T(this,ou);T(this,yl,!1);T(this,ru,null);this._pageIndex=t,this._pageInfo=e,this._transport=i,this._stats=a?new y6:null,this._pdfBug=a,this.commonObjs=i.commonObjs,this.objs=new R6,this._intentStates=new Map,this.destroyed=!1,this.recordedBBoxes=null,x(this,ru,n),this.imageCoordinates=null}clone(t){const e=new t8(t,this._pageInfo,this._transport,f(this,ru),this._pdfBug);return e.clonedFromIndex=this.clonedFromIndex??this._pageIndex,this._transport.updatePage(e),e}get pageNumber(){return this._pageIndex+1}set pageNumber(t){this._pageIndex=t-1,this._transport.updatePage(this)}get rotate(){return this._pageInfo.rotate}get ref(){return this._pageInfo.ref}get userUnit(){return this._pageInfo.userUnit}get view(){return this._pageInfo.view}getViewport({scale:t,rotation:e=this.rotate,offsetX:i=0,offsetY:n=0,dontFlip:a=!1}={}){return new qb({viewBox:this.view,userUnit:this.userUnit,scale:t,rotation:e,offsetX:i,offsetY:n,dontFlip:a})}getAnnotations({intent:t="display"}={}){const{renderingIntent:e}=this._transport.getRenderingIntent(t);return this._transport.getAnnotations(this._pageIndex,e)}getJSActions(){return this._transport.getPageJSActions(this._pageIndex)}get filterFactory(){return this._transport.filterFactory}get isPureXfa(){return pe(this,"isPureXfa",!!this._transport._htmlForXfa)}async getXfa(){var t;return((t=this._transport._htmlForXfa)==null?void 0:t.children[this._pageIndex])||null}render({canvasContext:t,canvas:e=t.canvas,viewport:i,intent:n="display",annotationMode:a=Cc.ENABLE,transform:r=null,background:o=null,optionalContentConfigPromise:l=null,annotationCanvasMap:c=null,pageColors:h=null,printAnnotationStorage:u=null,isEditing:d=!1,recordImages:p=!1,recordOperations:g=!1,operationsFilter:b=null}){var G,K,it;(G=this._stats)==null||G.time("Overall");const w=this._transport.getRenderingIntent(n,a,u,d),{renderingIntent:y,cacheKey:j}=w;x(this,yl,!1),l||(l=this._transport.getOptionalContentConfig(y));const k=this._intentStates.getOrInsertComputed(j,RS);k.streamReaderCancelTimeout&&(clearTimeout(k.streamReaderCancelTimeout),k.streamReaderCancelTimeout=null);const q=!!(y&ka.PRINT);k.displayReadyCapability||(k.displayReadyCapability=Promise.withResolvers(),k.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},(K=this._stats)==null||K.time("Page Request"),this._pumpOperatorList(w));const A=!!(this._pdfBug&&((it=globalThis.StepperManager)!=null&&it.enabled)),I=!!e&&!this.recordedBBoxes&&(g||A),C=!!e&&!this.imageCoordinates&&p,F=m($=>{var V,rt,Y,dt;if(k.renderTasks.delete(M),I){const et=(V=M.gfx)==null?void 0:V.dependencyTracker.take();et&&((rt=M.stepper)==null||rt.setOperatorBBoxes(et,M.gfx.dependencyTracker.takeDebugMetadata()),g&&(this.recordedBBoxes=et))}C&&!$&&(this.imageCoordinates=(Y=M.gfx)==null?void 0:Y.imagesTracker.take()),q&&x(this,yl,!0),S(this,ou,Im).call(this),$?(M.capability.reject($),this._abortOperatorList({intentState:k,reason:$ instanceof Error?$:new Error($)})):M.capability.resolve(),this._stats&&(this._stats.timeEnd("Rendering"),this._stats.timeEnd("Overall"),(dt=globalThis.Stats)!=null&&dt.enabled&&globalThis.Stats.add(this.pageNumber,this._stats))},"complete");let E=null,D=null;(I||C)&&(D=new lC(e,k.operatorList.length)),I&&(E=new hC(D,A));const M=new gI({callback:F,params:{canvas:e,canvasContext:t,dependencyTracker:E??D,imagesTracker:C?new fC(e):null,viewport:i,transform:r,background:o},objs:this.objs,commonObjs:this.commonObjs,annotationCanvasMap:c,operatorList:k.operatorList,pageIndex:this._pageIndex,canvasFactory:this._transport.canvasFactory,filterFactory:this._transport.filterFactory,useRequestAnimationFrame:!q,pdfBug:this._pdfBug,pageColors:h,enableHWA:this._transport.enableHWA,operationsFilter:b});(k.renderTasks||(k.renderTasks=new Set)).add(M);const _=M.task;return Promise.all([k.displayReadyCapability.promise,l]).then(([$,V])=>{var rt;if(this.destroyed){F();return}if((rt=this._stats)==null||rt.time("Rendering"),!(V.renderingIntent&y))throw new Error("Must use the same `intent`-argument when calling the `PDFPageProxy.render` and `PDFDocumentProxy.getOptionalContentConfig` methods.");M.initializeGraphics({transparency:$,optionalContentConfig:V}),M.operatorListChanged()}).catch(F),_}getOperatorList({intent:t="display",annotationMode:e=Cc.ENABLE,printAnnotationStorage:i=null,isEditing:n=!1}={}){var c;function a(){o.operatorList.lastChunk&&(o.opListReadCapability.resolve(o.operatorList),o.renderTasks.delete(l))}m(a,"operatorListChanged");const r=this._transport.getRenderingIntent(t,e,i,n,!0),o=this._intentStates.getOrInsertComputed(r.cacheKey,RS);let l;return o.opListReadCapability||(l=Object.create(null),l.operatorListChanged=a,o.opListReadCapability=Promise.withResolvers(),(o.renderTasks||(o.renderTasks=new Set)).add(l),o.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},(c=this._stats)==null||c.time("Page Request"),this._pumpOperatorList(r)),o.opListReadCapability.promise}streamTextContent({includeMarkedContent:t=!1,disableNormalization:e=!1}={}){return this._transport.messageHandler.sendWithStream("GetTextContent",{pageId:f(this,ru).getPageId(this._pageIndex+1)-1,pageIndex:this._pageIndex,includeMarkedContent:t===!0,disableNormalization:e===!0},{highWaterMark:100,size(i){return i.items.length}})}async getTextContent(t={}){if(this._transport._htmlForXfa)return this.getXfa().then(n=>kb.textContent(n));const e=this.streamTextContent(t),i={items:[],styles:Object.create(null),lang:null};for await(const n of e)i.lang??(i.lang=n.lang),Object.assign(i.styles,n.styles),i.items.push(...n.items);return i}getStructTree(){return this._transport.getStructTree(this._pageIndex)}_destroy(){this.destroyed=!0;const t=[];for(const e of this._intentStates.values())if(this._abortOperatorList({intentState:e,reason:new Error("Page was destroyed."),force:!0}),!e.opListReadCapability)for(const i of e.renderTasks)t.push(i.completed),i.cancel();return this.objs.clear(),x(this,yl,!1),Promise.all(t)}cleanup(t=!1){x(this,yl,!0);const e=S(this,ou,Im).call(this);return t&&e&&this._stats&&(this._stats=new y6),e}_startRenderPage(t,e){var n,a;const i=this._intentStates.get(e);i&&((n=this._stats)==null||n.timeEnd("Page Request"),(a=i.displayReadyCapability)==null||a.resolve(t))}_renderPageChunk(t,e){for(let i=0,n=t.length;i{o.read().then(({value:h,done:u})=>{if(u){l.streamReader=null;return}this._transport.destroyed||(this._renderPageChunk(h,l),c())},h=>{if(l.streamReader=null,!this._transport.destroyed){if(l.operatorList){l.operatorList.lastChunk=!0;for(const u of l.renderTasks)u.operatorListChanged();S(this,ou,Im).call(this)}if(l.displayReadyCapability)l.displayReadyCapability.reject(h);else if(l.opListReadCapability)l.opListReadCapability.reject(h);else throw h}})},"pump");c()}_abortOperatorList({intentState:t,reason:e,force:i=!1}){if(t.streamReader){if(t.streamReaderCancelTimeout&&(clearTimeout(t.streamReaderCancelTimeout),t.streamReaderCancelTimeout=null),!i){if(t.renderTasks.size>0)return;if(e instanceof xb){let n=yJ;e.extraDelay>0&&e.extraDelay<1e3&&(n+=e.extraDelay),t.streamReaderCancelTimeout=setTimeout(()=>{t.streamReaderCancelTimeout=null,this._abortOperatorList({intentState:t,reason:e,force:!0})},n);return}}if(t.streamReader.cancel(new No(e.message)).catch(()=>{}),t.streamReader=null,!this._transport.destroyed){for(const[n,a]of this._intentStates)if(a===t){this._intentStates.delete(n);break}this.cleanup()}}}get stats(){return this._stats}};yl=new WeakMap,ru=new WeakMap,ou=new WeakSet,Im=function(){if(!f(this,yl)||this.destroyed)return!1;for(const{renderTasks:t,operatorList:e}of this._intentStates.values())if(t.size>0||!e.lastChunk)return!1;return this._intentStates.clear(),this.objs.clear(),x(this,yl,!1),!0},m(t8,"PDFPageProxy");let dI=t8;var oh,Sr,vl,lu,e8,cu,hu,Cn,E5,_K,UK,Tm,I0,R5;const As=class As{constructor({name:t=null,port:e=null,verbosity:i=gW()}={}){T(this,Cn);T(this,oh,Promise.withResolvers());T(this,Sr,null);T(this,vl,null);T(this,lu,null);if(this.name=t,this.destroyed=!1,this.verbosity=i,e){if(f(As,hu).has(e))throw new Error("Cannot use more than one PDFWorker per port.");f(As,hu).set(e,this),S(this,Cn,_K).call(this,e)}else S(this,Cn,UK).call(this)}get promise(){return f(this,oh).promise}get port(){return f(this,vl)}get messageHandler(){return f(this,Sr)}destroy(){var t,e;this.destroyed=!0,(t=f(this,lu))==null||t.terminate(),x(this,lu,null),f(As,hu).delete(f(this,vl)),x(this,vl,null),(e=f(this,Sr))==null||e.destroy(),x(this,Sr,null)}static create(t){const e=f(this,hu).get(t==null?void 0:t.port);if(e){if(e._pendingDestroy)throw new Error("PDFWorker.create - the worker is being destroyed.\nPlease remember to await `PDFDocumentLoadingTask.destroy()`-calls.");return e}return new As(t)}static get workerSrc(){if(Pl.workerSrc)return Pl.workerSrc;throw new Error('No "GlobalWorkerOptions.workerSrc" specified.')}static get _setupFakeWorkerGlobal(){return pe(this,"_setupFakeWorkerGlobal",m(async()=>f(this,I0,R5)?f(this,I0,R5):__pdfjsWorker__.WorkerMessageHandler,"loader")())}};oh=new WeakMap,Sr=new WeakMap,vl=new WeakMap,lu=new WeakMap,e8=new WeakMap,cu=new WeakMap,hu=new WeakMap,Cn=new WeakSet,E5=function(){f(this,oh).resolve(),f(this,Sr).send("configure",{verbosity:this.verbosity})},_K=function(t){x(this,vl,t),x(this,Sr,new pf("main","worker",t)),f(this,Sr).on("ready",()=>{}),S(this,Cn,E5).call(this)},UK=function(){if(f(As,cu)||f(As,I0,R5)){S(this,Cn,Tm).call(this);return}let{workerSrc:t}=As;try{As._isSameOrigin(window.location,t)||(t=As._createCDNWrapper(new URL(t,window.location).href));const e=new Worker(t,{type:"module"}),i=new pf("main","worker",e),n=m(()=>{a.abort(),i.destroy(),e.terminate(),this.destroyed?f(this,oh).reject(new Error("Worker was destroyed")):S(this,Cn,Tm).call(this)},"terminateEarly"),a=new AbortController;e.addEventListener("error",()=>{f(this,lu)||n()},{signal:a.signal}),i.on("test",o=>{if(a.abort(),this.destroyed||!o){n();return}x(this,Sr,i),x(this,vl,e),x(this,lu,e),S(this,Cn,E5).call(this)}),i.on("ready",o=>{if(a.abort(),this.destroyed){n();return}try{r()}catch{S(this,Cn,Tm).call(this)}});const r=m(()=>{const o=new Uint8Array;i.send("test",o,[o.buffer])},"sendTest");r();return}catch{b9("The worker has been disabled.")}S(this,Cn,Tm).call(this)},Tm=function(){f(As,cu)||(ge("Setting up fake worker."),x(As,cu,!0)),As._setupFakeWorkerGlobal.then(t=>{if(this.destroyed){f(this,oh).reject(new Error("Worker was destroyed"));return}const e=new qC;x(this,vl,e);const i=`fake${Gs(As,e8)._++}`,n=new pf(i+"_worker",i,e);t.setup(n,e),x(this,Sr,new pf(i,i+"_worker",e)),S(this,Cn,E5).call(this)}).catch(t=>{f(this,oh).reject(new Error(`Setting up fake worker failed: "${t.message}".`))})},I0=new WeakSet,R5=function(){var t;try{return((t=globalThis.pdfjsWorker)==null?void 0:t.WorkerMessageHandler)||null}catch{return null}},T(As,I0),m(As,"PDFWorker"),T(As,e8,0),T(As,cu,!0),T(As,hu,new WeakMap),sr&&(x(As,cu,!0),Pl.workerSrc||(Pl.workerSrc="./pdf.worker.mjs")),As._isSameOrigin=(t,e)=>{const i=URL.parse(t);if(!(i!=null&&i.origin)||i.origin==="null")return!1;const n=new URL(e,i);return i.origin===n.origin},As._createCDNWrapper=t=>{const e=`await import("${t}");`;return URL.createObjectURL(new Blob([e],{type:"text/javascript"}))};let Fb=As;var la,fu,kl,Cr,uu,T0,ql,Lr,Fm,M5;const dz=class dz{constructor(t,e,i,n,a,r){T(this,Lr);R(this,"downloadInfoCapability",Promise.withResolvers());T(this,la,null);T(this,fu,new Map);T(this,kl,null);T(this,Cr,new Map);T(this,uu,new Map);T(this,T0,new Map);T(this,ql,null);this.messageHandler=t,this.loadingTask=e,x(this,kl,i),this.commonObjs=new R6,this.fontLoader=new uC({ownerDocument:n.ownerDocument,styleElement:n.styleElement}),this.enableHWA=n.enableHWA,this.loadingParams=n.loadingParams,this._params=n,this.canvasFactory=a.canvasFactory,this.filterFactory=a.filterFactory,this.binaryDataFactory=a.binaryDataFactory,this.pagesMapper=r,this.destroyed=!1,this.destroyCapability=null,this.setupMessageHandler()}updatePage(t){const{_pageIndex:e}=t;f(this,Cr).set(e,t),f(this,uu).set(e,Promise.resolve(t))}get annotationStorage(){return pe(this,"annotationStorage",new Cb)}getRenderingIntent(t,e=Cc.ENABLE,i=null,n=!1,a=!1){let r=ka.DISPLAY,o=Sb;switch(t){case"any":r=ka.ANY;break;case"display":break;case"print":r=ka.PRINT;break;default:ge(`getRenderingIntent - invalid intent: ${t}`)}const l=r&ka.PRINT&&i instanceof A6?i:this.annotationStorage;switch(e){case Cc.DISABLE:r+=ka.ANNOTATIONS_DISABLE;break;case Cc.ENABLE:break;case Cc.ENABLE_FORMS:r+=ka.ANNOTATIONS_FORMS;break;case Cc.ENABLE_STORAGE:r+=ka.ANNOTATIONS_STORAGE,o=l.serializable;break;default:ge(`getRenderingIntent - invalid annotationMode: ${e}`)}n&&(r+=ka.IS_EDITING),a&&(r+=ka.OPLIST);const{ids:c,hash:h}=l.modifiedIds,u=[r,o.hash,h];return{renderingIntent:r,cacheKey:u.join("_"),annotationStorageSerializable:o,modifiedIds:c}}destroy(){var i;if(this.destroyCapability)return this.destroyCapability.promise;this.destroyed=!0,this.destroyCapability=Promise.withResolvers(),(i=f(this,ql))==null||i.reject(new Error("Worker was destroyed during onPassword callback"));const t=[];for(const n of f(this,Cr).values())t.push(n._destroy());f(this,Cr).clear(),f(this,uu).clear(),f(this,T0).clear(),this.hasOwnProperty("annotationStorage")&&this.annotationStorage.resetModified();const e=this.messageHandler.sendWithPromise("Terminate",null);return t.push(e),Promise.all(t).then(()=>{var n,a;this.commonObjs.clear(),this.fontLoader.clear(),f(this,fu).clear(),this.filterFactory.destroy(),Tb.cleanup(),(n=f(this,kl))==null||n.cancelAllRequests(new No("Worker was terminated.")),(a=this.messageHandler)==null||a.destroy(),this.messageHandler=null,this.destroyCapability.resolve()},this.destroyCapability.reject),this.destroyCapability.promise}setupMessageHandler(){const{messageHandler:t,loadingTask:e}=this;t.on("GetReader",(i,n)=>{qs(f(this,kl),"GetReader - no `BasePDFStream` instance available."),x(this,la,f(this,kl).getFullReader()),f(this,la).onProgress=a=>S(this,Lr,M5).call(this,a),n.onPull=()=>{f(this,la).read().then(function({value:a,done:r}){if(r){n.close();return}qs(a instanceof ArrayBuffer,"GetReader - expected an ArrayBuffer."),n.enqueue(new Uint8Array(a),1,[a])}).catch(a=>{n.error(a)})},n.onCancel=a=>{f(this,la).cancel(a),n.ready.catch(r=>{if(!this.destroyed)throw r})}}),t.on("ReaderHeadersReady",async i=>{await f(this,la).headersReady;const{isStreamingSupported:n,isRangeSupported:a,contentLength:r}=f(this,la);return n&&a&&(f(this,la).onProgress=null),{isStreamingSupported:n,isRangeSupported:a,contentLength:r}}),t.on("GetRangeReader",(i,n)=>{qs(f(this,kl),"GetRangeReader - no `BasePDFStream` instance available.");const a=f(this,kl).getRangeReader(i.begin,i.end);if(!a){n.close();return}n.onPull=()=>{a.read().then(function({value:r,done:o}){if(o){n.close();return}qs(r instanceof ArrayBuffer,"GetRangeReader - expected an ArrayBuffer."),n.enqueue(new Uint8Array(r),1,[r])}).catch(r=>{n.error(r)})},n.onCancel=r=>{a.cancel(r),n.ready.catch(o=>{if(!this.destroyed)throw o})}}),t.on("GetDoc",({pdfInfo:i})=>{this.pagesMapper.pagesNumber=i.numPages,this._numPages=i.numPages,this._htmlForXfa=i.htmlForXfa,delete i.htmlForXfa,e._capability.resolve(new uI(i,this))}),t.on("DocException",i=>{e._capability.reject(yn(i))}),t.on("PasswordRequest",i=>{x(this,ql,Promise.withResolvers());try{if(!e.onPassword)throw yn(i);const n=m(a=>{a instanceof Error?f(this,ql).reject(a):f(this,ql).resolve({password:a})},"updatePassword");e.onPassword(n,i.code)}catch(n){f(this,ql).reject(n)}return f(this,ql).promise}),t.on("DataLoaded",i=>{S(this,Lr,M5).call(this,{loaded:i.length,total:i.length}),this.downloadInfoCapability.resolve(i)}),t.on("StartRenderPage",i=>{this.destroyed||f(this,Cr).get(i.pageIndex)._startRenderPage(i.transparency,i.cacheKey)}),t.on("commonobj",([i,n,a])=>{var r;if(this.destroyed||this.commonObjs.has(i))return null;switch(n){case"Font":if("error"in a){const d=a.error;ge(`Error during font loading: ${d}`),this.commonObjs.resolve(i,d);break}const o=new wC(a),l=this._params.pdfBug&&((r=globalThis.FontInspector)!=null&&r.enabled)?(d,p)=>globalThis.FontInspector.fontAdded(d,p):null,c=new dC(o,l,a.charProcOperatorList,a.extra);this.fontLoader.bind(c).catch(()=>t.sendWithPromise("FontFallback",{id:i})).finally(()=>{c.fontExtraProperties||c.clearData(),this.commonObjs.resolve(i,c)});break;case"CopyLocalImage":const{imageRef:h}=a;qs(h,"The imageRef must be defined.");for(const d of f(this,Cr).values())for(const[,p]of d.objs)if((p==null?void 0:p.ref)===h)return p.dataLen?(this.commonObjs.resolve(i,structuredClone(p)),p.dataLen):null;break;case"FontPath":this.commonObjs.resolve(i,new vC(a));break;case"Image":this.commonObjs.resolve(i,a);break;case"Pattern":const u=new yC(a);this.commonObjs.resolve(i,u.getIR());break;default:throw new Error(`Got unknown common object type ${n}`)}return null}),t.on("obj",([i,n,a,r])=>{var l;if(this.destroyed)return;const o=f(this,Cr).get(n);if(!o.objs.has(i)){if(o._intentStates.size===0){(l=r==null?void 0:r.bitmap)==null||l.close();return}switch(a){case"Image":case"Pattern":o.objs.resolve(i,r);break;default:throw new Error(`Got unknown object type ${a}`)}}}),t.on("DocProgress",i=>{this.destroyed||S(this,Lr,M5).call(this,i)}),t.on("PrepareWebGPU",()=>{this.destroyed||jK()}),t.on("FetchBinaryData",async i=>{if(this.destroyed)throw new Error("Worker was destroyed.");if(!this.binaryDataFactory)throw new Error("`BinaryDataFactory` not initialized, see the `useWorkerFetch` parameter.");return this.binaryDataFactory.fetch(i)})}getData(){return this.messageHandler.sendWithPromise("GetData",null)}saveDocument(){var i;this.annotationStorage.size<=0&&ge("saveDocument called while `annotationStorage` is empty, please use the getData-method instead.");const{map:t,transfer:e}=this.annotationStorage.serializable;return this.messageHandler.sendWithPromise("SaveDocument",{isPureXfa:!!this._htmlForXfa,numPages:this._numPages,annotationStorage:t,filename:((i=f(this,la))==null?void 0:i.filename)??null},e).finally(()=>{this.annotationStorage.resetModified()})}extractPages(t){const e={pageInfos:t};let i;if(this.annotationStorage.size>0){const{map:n,transfer:a}=this.annotationStorage.serializable;e.annotationStorage=n,i=a}return this.messageHandler.sendWithPromise("ExtractPages",e,i).finally(()=>{this.annotationStorage.resetModified()})}getPage(t){if(!Number.isInteger(t)||t<=0||t>this.pagesMapper.pagesNumber)return Promise.reject(new Error("Invalid page request."));const e=t-1,i=this.pagesMapper.getPageId(t)-1,n=f(this,uu).get(e);if(n)return n;const a=this.messageHandler.sendWithPromise("GetPage",{pageIndex:i}).then(r=>{if(this.destroyed)throw new Error("Transport destroyed");r.refStr&&f(this,T0).set(r.refStr,i);const o=new dI(e,r,this,this.pagesMapper,this._params.pdfBug);return f(this,Cr).set(e,o),o});return f(this,uu).set(e,a),a}async getPageIndex(t){if(!kC(t))throw new Error("Invalid pageIndex request.");const e=await this.messageHandler.sendWithPromise("GetPageIndex",{num:t.num,gen:t.gen}),i=this.pagesMapper.getPageNumber(e+1);if(i===0)throw new Error("GetPageIndex: page has been removed.");return i-1}getAnnotations(t,e){return this.messageHandler.sendWithPromise("GetAnnotations",{pageIndex:this.pagesMapper.getPageId(t+1)-1,intent:e})}getFieldObjects(){return S(this,Lr,Fm).call(this,"GetFieldObjects")}hasJSActions(){return S(this,Lr,Fm).call(this,"HasJSActions")}getCalculationOrderIds(){return this.messageHandler.sendWithPromise("GetCalculationOrderIds",null)}getDestinations(){return this.messageHandler.sendWithPromise("GetDestinations",null)}getDestination(t){return typeof t!="string"?Promise.reject(new Error("Invalid destination request.")):this.messageHandler.sendWithPromise("GetDestination",{id:t})}getPageLabels(){return this.messageHandler.sendWithPromise("GetPageLabels",null)}getPageLayout(){return this.messageHandler.sendWithPromise("GetPageLayout",null)}getPageMode(){return this.messageHandler.sendWithPromise("GetPageMode",null)}getViewerPreferences(){return this.messageHandler.sendWithPromise("GetViewerPreferences",null)}getOpenAction(){return this.messageHandler.sendWithPromise("GetOpenAction",null)}getAttachments(){return this.messageHandler.sendWithPromise("GetAttachments",null)}getAnnotationsByType(t,e){return this.messageHandler.sendWithPromise("GetAnnotationsByType",{types:t,pageIndexesToSkip:e})}getDocJSActions(){return S(this,Lr,Fm).call(this,"GetDocJSActions")}getPageJSActions(t){return this.messageHandler.sendWithPromise("GetPageJSActions",{pageIndex:this.pagesMapper.getPageId(t+1)-1})}getStructTree(t){return this.messageHandler.sendWithPromise("GetStructTree",{pageIndex:this.pagesMapper.getPageId(t+1)-1})}getOutline(){return this.messageHandler.sendWithPromise("GetOutline",null)}getOptionalContentConfig(t){return S(this,Lr,Fm).call(this,"GetOptionalContentConfig").then(e=>new rI(e,t))}getPermissions(){return this.messageHandler.sendWithPromise("GetPermissions",null)}getMetadata(){const t="GetMetadata";return f(this,fu).getOrInsertComputed(t,()=>this.messageHandler.sendWithPromise(t,null).then(e=>{var i,n;return{info:e[0],metadata:e[1]?new nI(e[1]):null,contentDispositionFilename:((i=f(this,la))==null?void 0:i.filename)??null,contentLength:((n=f(this,la))==null?void 0:n.contentLength)??null,hasStructTree:e[2]}}))}getMarkInfo(){return this.messageHandler.sendWithPromise("GetMarkInfo",null)}getRawData(t){return this.messageHandler.sendWithPromise("GetRawData",t)}async startCleanup(t=!1){if(!this.destroyed){await this.messageHandler.sendWithPromise("Cleanup",null);for(const e of f(this,Cr).values())if(!e.cleanup())throw new Error(`startCleanup: Page ${e.pageNumber} is currently rendering.`);this.commonObjs.clear(),t||this.fontLoader.clear(),f(this,fu).clear(),this.filterFactory.destroy(!0),Tb.cleanup()}}cachedPageNumber(t){if(!kC(t))return null;const e=t.gen===0?`${t.num}R`:`${t.num}R${t.gen}`,i=f(this,T0).get(e);if(i>=0){const n=this.pagesMapper.getPageNumber(i+1);if(n!==0)return n}return null}};la=new WeakMap,fu=new WeakMap,kl=new WeakMap,Cr=new WeakMap,uu=new WeakMap,T0=new WeakMap,ql=new WeakMap,Lr=new WeakSet,Fm=function(t,e=null){return f(this,fu).getOrInsertComputed(t,()=>this.messageHandler.sendWithPromise(t,e))},M5=function({loaded:t,total:e}){var i,n;(n=(i=this.loadingTask).onProgress)==null||n.call(i,{loaded:t,total:e,percent:e?ui(Math.round(t/e*100),0,100):NaN})},m(dz,"WorkerTransport");let pI=dz;const pz=class pz{constructor(t){R(this,"_internalRenderTask",null);R(this,"onContinue",null);R(this,"onError",null);this._internalRenderTask=t}get promise(){return this._internalRenderTask.capability.promise}cancel(t=0){this._internalRenderTask.cancel(null,t)}get separateAnnots(){const{separateAnnots:t}=this._internalRenderTask.operatorList;if(!t)return!1;const{annotationCanvasMap:e}=this._internalRenderTask;return t.form||t.canvas&&(e==null?void 0:e.size)>0}get imageCoordinates(){return this._internalRenderTask.imageCoordinates||null}};m(pz,"RenderTask");let mI=pz;var lh,du;const xc=class xc{constructor({callback:t,params:e,objs:i,commonObjs:n,annotationCanvasMap:a,operatorList:r,pageIndex:o,canvasFactory:l,filterFactory:c,useRequestAnimationFrame:h=!1,pdfBug:u=!1,pageColors:d=null,enableHWA:p=!1,operationsFilter:g=null}){T(this,lh,null);this.callback=t,this.params=e,this.objs=i,this.commonObjs=n,this.annotationCanvasMap=a,this.operatorListIdx=null,this.operatorList=r,this._pageIndex=o,this.canvasFactory=l,this.filterFactory=c,this._pdfBug=u,this.pageColors=d,this.running=!1,this.graphicsReadyCallback=null,this.graphicsReady=!1,this._useRequestAnimationFrame=h===!0&&typeof window<"u",this.cancelled=!1,this.capability=Promise.withResolvers(),this.task=new mI(this),this._cancelBound=this.cancel.bind(this),this._continueBound=this._continue.bind(this),this._scheduleNextBound=this._scheduleNext.bind(this),this._nextBound=this._next.bind(this),this._canvas=e.canvas,this._canvasContext=e.canvas?null:e.canvasContext,this._enableHWA=p,this._dependencyTracker=e.dependencyTracker,this._imagesTracker=e.imagesTracker,this._operationsFilter=g}get completed(){return this.capability.promise.catch(function(){})}initializeGraphics({transparency:t=!1,optionalContentConfig:e}){var c,h;if(this.cancelled)return;if(this._canvas){if(f(xc,du).has(this._canvas))throw new Error("Cannot use the same canvas during multiple render() operations. Use different canvas or ensure previous operations were cancelled or completed.");f(xc,du).add(this._canvas)}this._pdfBug&&((c=globalThis.StepperManager)!=null&&c.enabled)&&(this.stepper=globalThis.StepperManager.create(this._pageIndex),this.stepper.init(this.operatorList),this.stepper.nextBreakPoint=this.stepper.getNextBreakPoint());const{viewport:i,transform:n,background:a,dependencyTracker:r,imagesTracker:o}=this.params,l=this._canvasContext||this._canvas.getContext("2d",{alpha:!1,willReadFrequently:!this._enableHWA});this.gfx=new ed(l,this.commonObjs,this.objs,this.canvasFactory,this.filterFactory,{optionalContentConfig:e},this.annotationCanvasMap,this.pageColors,r,o),this.gfx.beginDrawing({transform:n,viewport:i,transparency:t,background:a}),this.operatorListIdx=0,this.graphicsReady=!0,(h=this.graphicsReadyCallback)==null||h.call(this)}cancel(t=null,e=0){var i,n,a;this.running=!1,this.cancelled=!0,(i=this.gfx)==null||i.endDrawing(),f(this,lh)&&(window.cancelAnimationFrame(f(this,lh)),x(this,lh,null)),f(xc,du).delete(this._canvas),t||(t=new xb(`Rendering cancelled, page ${this._pageIndex+1}`,e)),this.callback(t),(a=(n=this.task).onError)==null||a.call(n,t)}operatorListChanged(){var t,e;if(!this.graphicsReady){this.graphicsReadyCallback||(this.graphicsReadyCallback=this._continueBound);return}(t=this.gfx.dependencyTracker)==null||t.growOperationsCount(this.operatorList.fnArray.length),(e=this.stepper)==null||e.updateOperatorList(this.operatorList),!this.running&&this._continue()}_continue(){this.running=!0,!this.cancelled&&(this.task.onContinue?this.task.onContinue(this._scheduleNextBound):this._scheduleNext())}_scheduleNext(){this._useRequestAnimationFrame?x(this,lh,window.requestAnimationFrame(()=>{x(this,lh,null),this._nextBound().catch(this._cancelBound)})):Promise.resolve().then(this._nextBound).catch(this._cancelBound)}async _next(){this.cancelled||(this.operatorListIdx=this.gfx.executeOperatorList(this.operatorList,this.operatorListIdx,this._continueBound,this.stepper,this._operationsFilter),this.operatorListIdx===this.operatorList.argsArray.length&&(this.running=!1,this.operatorList.lastChunk&&(this.gfx.endDrawing(),f(xc,du).delete(this._canvas),this.callback())))}};lh=new WeakMap,du=new WeakMap,m(xc,"InternalRenderTask"),T(xc,du,new WeakSet);let gI=xc;const vJ="5.6.205",kJ="ada343803";var ca,pu,F0,fi,jw,E0,xl,yw,ch,Ir,vw,cs,bI,wI,jI,Gh,GK,wc;const jn=class jn{constructor({editor:t=null,uiManager:e=null}){T(this,cs);T(this,ca,null);T(this,pu,null);T(this,F0);T(this,fi,null);T(this,jw,!1);T(this,E0,!1);T(this,xl,null);T(this,yw);T(this,ch,null);T(this,Ir,null);var i,n;t?(x(this,E0,!1),x(this,xl,t)):x(this,E0,!0),x(this,Ir,(t==null?void 0:t._uiManager)||e),x(this,yw,f(this,Ir)._eventBus),x(this,F0,((i=t==null?void 0:t.color)==null?void 0:i.toUpperCase())||((n=f(this,Ir))==null?void 0:n.highlightColors.values().next().value)||"#FFFF98"),f(jn,vw)||x(jn,vw,Object.freeze({blue:"pdfjs-editor-colorpicker-blue",green:"pdfjs-editor-colorpicker-green",pink:"pdfjs-editor-colorpicker-pink",red:"pdfjs-editor-colorpicker-red",yellow:"pdfjs-editor-colorpicker-yellow"}))}static get _keyboardManager(){return pe(this,"_keyboardManager",new i1([[["Escape","mac+Escape"],jn.prototype._hideDropdownFromKeyboard],[[" ","mac+ "],jn.prototype._colorSelectFromKeyboard],[["ArrowDown","ArrowRight","mac+ArrowDown","mac+ArrowRight"],jn.prototype._moveToNext],[["ArrowUp","ArrowLeft","mac+ArrowUp","mac+ArrowLeft"],jn.prototype._moveToPrevious],[["Home","mac+Home"],jn.prototype._moveToBeginning],[["End","mac+End"],jn.prototype._moveToEnd]]))}renderButton(){const t=x(this,ca,document.createElement("button"));t.className="colorPicker",t.tabIndex="0",t.setAttribute("data-l10n-id","pdfjs-editor-colorpicker-button"),t.ariaHasPopup="true",f(this,xl)&&(t.ariaControls=`${f(this,xl).id}_colorpicker_dropdown`);const e=f(this,Ir)._signal;t.addEventListener("click",S(this,cs,Gh).bind(this),{signal:e}),t.addEventListener("keydown",S(this,cs,jI).bind(this),{signal:e});const i=x(this,pu,document.createElement("span"));return i.className="swatch",i.ariaHidden="true",i.style.backgroundColor=f(this,F0),t.append(i),t}renderMainDropdown(){const t=x(this,fi,S(this,cs,bI).call(this));return t.ariaOrientation="horizontal",t.ariaLabelledBy="highlightColorPickerLabel",t}_colorSelectFromKeyboard(t){if(t.target===f(this,ca)){S(this,cs,Gh).call(this,t);return}const e=t.target.getAttribute("data-color");e&&S(this,cs,wI).call(this,e,t)}_moveToNext(t){var e,i;if(!f(this,cs,wc)){S(this,cs,Gh).call(this,t);return}if(t.target===f(this,ca)){(e=f(this,fi).firstElementChild)==null||e.focus();return}(i=t.target.nextSibling)==null||i.focus()}_moveToPrevious(t){var e,i;if(t.target===((e=f(this,fi))==null?void 0:e.firstElementChild)||t.target===f(this,ca)){f(this,cs,wc)&&this._hideDropdownFromKeyboard();return}f(this,cs,wc)||S(this,cs,Gh).call(this,t),(i=t.target.previousSibling)==null||i.focus()}_moveToBeginning(t){var e;if(!f(this,cs,wc)){S(this,cs,Gh).call(this,t);return}(e=f(this,fi).firstElementChild)==null||e.focus()}_moveToEnd(t){var e;if(!f(this,cs,wc)){S(this,cs,Gh).call(this,t);return}(e=f(this,fi).lastElementChild)==null||e.focus()}hideDropdown(){var t,e;(t=f(this,fi))==null||t.classList.add("hidden"),f(this,ca).ariaExpanded="false",(e=f(this,ch))==null||e.abort(),x(this,ch,null)}_hideDropdownFromKeyboard(){var t;if(!f(this,E0)){if(!f(this,cs,wc)){(t=f(this,xl))==null||t.unselect();return}this.hideDropdown(),f(this,ca).focus({preventScroll:!0,focusVisible:f(this,jw)})}}updateColor(t){if(f(this,pu)&&(f(this,pu).style.backgroundColor=t),!f(this,fi))return;const e=f(this,Ir).highlightColors.values();for(const i of f(this,fi).children)i.ariaSelected=e.next().value===t.toUpperCase()}destroy(){var t,e;(t=f(this,ca))==null||t.remove(),x(this,ca,null),x(this,pu,null),(e=f(this,fi))==null||e.remove(),x(this,fi,null)}};ca=new WeakMap,pu=new WeakMap,F0=new WeakMap,fi=new WeakMap,jw=new WeakMap,E0=new WeakMap,xl=new WeakMap,yw=new WeakMap,ch=new WeakMap,Ir=new WeakMap,vw=new WeakMap,cs=new WeakSet,bI=function(){const t=document.createElement("div"),e=f(this,Ir)._signal;t.addEventListener("contextmenu",Ra,{signal:e}),t.className="dropdown",t.role="listbox",t.ariaMultiSelectable="false",t.ariaOrientation="vertical",t.setAttribute("data-l10n-id","pdfjs-editor-colorpicker-dropdown"),f(this,xl)&&(t.id=`${f(this,xl).id}_colorpicker_dropdown`);for(const[i,n]of f(this,Ir).highlightColors){const a=document.createElement("button");a.tabIndex="0",a.role="option",a.setAttribute("data-color",n),a.title=i,a.setAttribute("data-l10n-id",f(jn,vw)[i]);const r=document.createElement("span");a.append(r),r.className="swatch",r.style.backgroundColor=n,a.ariaSelected=n===f(this,F0),a.addEventListener("click",S(this,cs,wI).bind(this,n),{signal:e}),t.append(a)}return t.addEventListener("keydown",S(this,cs,jI).bind(this),{signal:e}),t},wI=function(t,e){e.stopPropagation(),f(this,yw).dispatch("switchannotationeditorparams",{source:this,type:He.HIGHLIGHT_COLOR,value:t}),this.updateColor(t)},jI=function(t){jn._keyboardManager.exec(this,t)},Gh=function(t){if(f(this,cs,wc)){this.hideDropdown();return}if(x(this,jw,t.detail===0),f(this,ch)||(x(this,ch,new AbortController),window.addEventListener("pointerdown",S(this,cs,GK).bind(this),{signal:f(this,Ir).combinedSignal(f(this,ch))})),f(this,ca).ariaExpanded="true",f(this,fi)){f(this,fi).classList.remove("hidden");return}const e=x(this,fi,S(this,cs,bI).call(this));f(this,ca).append(e)},GK=function(t){var e;(e=f(this,fi))!=null&&e.contains(t.target)||this.hideDropdown()},wc=function(){return f(this,fi)&&!f(this,fi).classList.contains("hidden")},m(jn,"ColorPicker"),T(jn,vw,null);let B6=jn;var bo,kw,R0,qw;const Ac=class Ac{constructor(t){T(this,bo,null);T(this,kw,null);T(this,R0,null);x(this,kw,t),x(this,R0,t._uiManager),f(Ac,qw)||x(Ac,qw,Object.freeze({freetext:"pdfjs-editor-color-picker-free-text-input",ink:"pdfjs-editor-color-picker-ink-input"}))}renderButton(){if(f(this,bo))return f(this,bo);const{editorType:t,colorType:e,color:i}=f(this,kw),n=x(this,bo,document.createElement("input"));return n.type="color",n.value=i||"#000000",n.className="basicColorPicker",n.tabIndex=0,n.setAttribute("data-l10n-id",f(Ac,qw)[t]),n.addEventListener("input",()=>{f(this,R0).updateParams(e,n.value)},{signal:f(this,R0)._signal}),n}update(t){f(this,bo)&&(f(this,bo).value=t)}destroy(){var t;(t=f(this,bo))==null||t.remove(),x(this,bo,null)}hideDropdown(){}};bo=new WeakMap,kw=new WeakMap,R0=new WeakMap,qw=new WeakMap,m(Ac,"BasicColorPicker"),T(Ac,qw,null);let D6=Ac;function yI(s){return Math.floor(Math.max(0,Math.min(1,s))*255).toString(16).padStart(2,"0")}m(yI,"makeColorComp");function H1(s){return Math.max(0,Math.min(255,255*s))}m(H1,"scaleAndClamp");const mz=class mz{static CMYK_G([t,e,i,n]){return["G",1-Math.min(1,.3*t+.59*i+.11*e+n)]}static G_CMYK([t]){return["CMYK",0,0,0,1-t]}static G_RGB([t]){return["RGB",t,t,t]}static G_rgb([t]){return t=H1(t),[t,t,t]}static G_HTML([t]){const e=yI(t);return`#${e}${e}${e}`}static RGB_G([t,e,i]){return["G",.3*t+.59*e+.11*i]}static RGB_rgb(t){return t.map(H1)}static RGB_HTML(t){return`#${t.map(yI).join("")}`}static T_HTML(){return"#00000000"}static T_rgb(){return[null]}static CMYK_RGB([t,e,i,n]){return["RGB",1-Math.min(1,t+n),1-Math.min(1,i+n),1-Math.min(1,e+n)]}static CMYK_rgb([t,e,i,n]){return[H1(1-Math.min(1,t+n)),H1(1-Math.min(1,i+n)),H1(1-Math.min(1,e+n))]}static CMYK_HTML(t){const e=this.CMYK_RGB(t).slice(1);return this.RGB_HTML(e)}static RGB_CMYK([t,e,i]){const n=1-t,a=1-e,r=1-i,o=Math.min(n,a,r);return["CMYK",n,a,r,o]}};m(mz,"ColorConverters");let P6=mz;const gz=class gz{create(t,e,i=!1){if(t<=0||e<=0)throw new Error("Invalid SVG dimensions");const n=this._createSVG("svg:svg");return n.setAttribute("version","1.1"),i||(n.setAttribute("width",`${t}px`),n.setAttribute("height",`${e}px`)),n.setAttribute("preserveAspectRatio","none"),n.setAttribute("viewBox",`0 0 ${t} ${e}`),n}createElement(t){if(typeof t!="string")throw new Error("Invalid SVG element type");return this._createSVG(t)}_createSVG(t){We("Abstract method `_createSVG` called.")}};m(gz,"BaseSVGFactory");let vI=gz;const bz=class bz extends vI{_createSVG(t){return document.createElementNS(Wo,t)}};m(bz,"DOMSVGFactory");let Ap=bz;const qJ=9,a1=new WeakSet,xJ=new Date().getTimezoneOffset()*60*1e3,wz=class wz{static create(t){switch(t.data.annotationType){case ei.LINK:return new Eb(t);case ei.TEXT:return new xI(t);case ei.WIDGET:switch(t.data.fieldType){case"Tx":return new AI(t);case"Btn":return t.data.radioButton?new H6(t):t.data.checkBox?new CI(t):new II(t);case"Ch":return new TI(t);case"Sig":return new SI(t)}return new nc(t);case ei.POPUP:return new Rb(t);case ei.FREETEXT:return new O6(t);case ei.LINE:return new HI(t);case ei.SQUARE:return new OI(t);case ei.CIRCLE:return new NI(t);case ei.POLYLINE:return new N6(t);case ei.CARET:return new zI(t);case ei.INK:return new Mb(t);case ei.POLYGON:return new LI(t);case ei.HIGHLIGHT:return new L6(t);case ei.UNDERLINE:return new UI(t);case ei.SQUIGGLY:return new GI(t);case ei.STRIKEOUT:return new $I(t);case ei.STAMP:return new z6(t);case ei.FILEATTACHMENT:return new VI(t);default:return new Fs(t)}}};m(wz,"AnnotationElementFactory");let Zm=wz;var mu,M0,Ja,xw,kI;const s8=class s8{constructor(t,{isRenderable:e=!1,ignoreBorder:i=!1,createQuadrilaterals:n=!1}={}){T(this,xw);T(this,mu,null);T(this,M0,!1);T(this,Ja,null);this.isRenderable=e,this.data=t.data,this.layer=t.layer,this.linkService=t.linkService,this.downloadManager=t.downloadManager,this.imageResourcesPath=t.imageResourcesPath,this.renderForms=t.renderForms,this.svgFactory=t.svgFactory,this.annotationStorage=t.annotationStorage,this.enableComment=t.enableComment,this.enableScripting=t.enableScripting,this.hasJSActions=t.hasJSActions,this._fieldObjects=t.fieldObjects,this.parent=t.parent,this.hasOwnCommentButton=!1,e&&(this.contentElement=this.container=this._createContainer(i)),n&&this._createQuadrilaterals()}static _hasPopupData({contentsObj:t,richText:e}){return!!(t!=null&&t.str||e!=null&&e.str)}get _isEditable(){return this.data.isEditable}get hasPopupData(){return s8._hasPopupData(this.data)||this.enableComment&&!!this.commentText}get commentData(){var i;const{data:t}=this,e=(i=this.annotationStorage)==null?void 0:i.getEditor(t.id);return e?e.getData():t}get hasCommentButton(){return this.enableComment&&this.hasPopupElement}get commentButtonPosition(){var o;const t=(o=this.annotationStorage)==null?void 0:o.getEditor(this.data.id);if(t)return t.commentButtonPositionInPage;const{quadPoints:e,inkLists:i,rect:n}=this.data;let a=-1/0,r=-1/0;if((e==null?void 0:e.length)>=8){for(let l=0;lr?(r=e[l+1],a=e[l+2]):e[l+1]===r&&(a=Math.max(a,e[l+2]));return[a,r]}if((i==null?void 0:i.length)>=1){for(const l of i)for(let c=0,h=l.length;cr?(r=l[c+1],a=l[c]):l[c+1]===r&&(a=Math.max(a,l[c]));if(a!==1/0)return[a,r]}return n?[n[2],n[3]]:null}_normalizePoint(t){const{page:{view:e},viewport:{rawDims:{pageWidth:i,pageHeight:n,pageX:a,pageY:r}}}=this.parent;return t[1]=e[3]-t[1]+e[1],t[0]=100*(t[0]-a)/i,t[1]=100*(t[1]-r)/n,t}get commentText(){var e,i,n;const{data:t}=this;return((i=(e=this.annotationStorage.getRawValue(`${jb}${t.id}`))==null?void 0:e.popup)==null?void 0:i.contents)||((n=t.contentsObj)==null?void 0:n.str)||""}set commentText(t){const{data:e}=this,i={deleted:!t,contents:t||""};this.annotationStorage.updateEditor(e.id,{popup:i})||this.annotationStorage.setValue(`${jb}${e.id}`,{id:e.id,annotationType:e.annotationType,page:this.parent.page,popup:i,popupRef:e.popupRef,modificationDate:new Date}),t||this.removePopup()}removePopup(){var t,e;(e=((t=f(this,Ja))==null?void 0:t.popup)||this.popup)==null||e.remove(),x(this,Ja,this.popup=null)}updateEdited(t){var a;if(!this.container)return;t.rect&&(f(this,mu)||x(this,mu,{rect:this.data.rect.slice(0)}));const{rect:e,popup:i}=t;e&&S(this,xw,kI).call(this,e);let n=((a=f(this,Ja))==null?void 0:a.popup)||this.popup;!n&&(i!=null&&i.text)&&(this._createPopup(i),n=f(this,Ja).popup),n&&(n.updateEdited(t),i!=null&&i.deleted&&(n.remove(),x(this,Ja,null),this.popup=null))}resetEdited(){var t;f(this,mu)&&(S(this,xw,kI).call(this,f(this,mu).rect),(t=f(this,Ja))==null||t.popup.resetEdited(),x(this,mu,null))}_createContainer(t){const{data:e,parent:{page:i,viewport:n}}=this,a=document.createElement("section");a.setAttribute("data-annotation-id",e.id),!(this instanceof nc)&&!(this instanceof Eb)&&(a.tabIndex=0);const{style:r}=a;if(r.zIndex=this.parent.zIndex,this.parent.zIndex+=2,e.alternativeText&&(a.title=e.alternativeText),e.noRotate&&a.classList.add("norotate"),!e.rect||this instanceof Rb){const{rotation:b}=e;return!e.hasOwnCanvas&&b!==0&&this.setRotation(b,a),a}const{width:o,height:l}=this;if(!t&&e.borderStyle.width>0){r.borderWidth=`${e.borderStyle.width}px`;const b=e.borderStyle.horizontalCornerRadius,w=e.borderStyle.verticalCornerRadius;if(b>0||w>0){const j=`calc(${b}px * var(--total-scale-factor)) / calc(${w}px * var(--total-scale-factor))`;r.borderRadius=j}else if(this instanceof H6){const j=`calc(${o}px * var(--total-scale-factor)) / calc(${l}px * var(--total-scale-factor))`;r.borderRadius=j}switch(e.borderStyle.style){case T1.SOLID:r.borderStyle="solid";break;case T1.DASHED:r.borderStyle="dashed";break;case T1.BEVELED:ge("Unimplemented border style: beveled");break;case T1.INSET:ge("Unimplemented border style: inset");break;case T1.UNDERLINE:r.borderBottomStyle="solid";break}const y=e.borderColor||null;y?(x(this,M0,!0),r.borderColor=Et.makeHexColor(y[0]|0,y[1]|0,y[2]|0)):r.borderWidth=0}const c=Et.normalizeRect([e.rect[0],i.view[3]-e.rect[1]+i.view[1],e.rect[2],i.view[3]-e.rect[3]+i.view[1]]),{pageWidth:h,pageHeight:u,pageX:d,pageY:p}=n.rawDims;r.left=`${100*(c[0]-d)/h}%`,r.top=`${100*(c[1]-p)/u}%`;const{rotation:g}=e;return e.hasOwnCanvas||g===0?(r.width=`${100*o/h}%`,r.height=`${100*l/u}%`):this.setRotation(g,a),a}setRotation(t,e=this.container){if(!this.data.rect)return;const{pageWidth:i,pageHeight:n}=this.parent.viewport.rawDims;let{width:a,height:r}=this;t%180!==0&&([a,r]=[r,a]),e.style.width=`${100*a/i}%`,e.style.height=`${100*r/n}%`,e.setAttribute("data-main-rotation",(360-t)%360)}get _commonActions(){const t=m((e,i,n)=>{const a=n.detail[e],r=a[0],o=a.slice(1);n.target.style[i]=P6[`${r}_HTML`](o),this.annotationStorage.setValue(this.data.id,{[i]:P6[`${r}_rgb`](o)})},"setColor");return pe(this,"_commonActions",{display:m(e=>{const{display:i}=e.detail,n=i%2===1;this.container.style.visibility=n?"hidden":"visible",this.annotationStorage.setValue(this.data.id,{noView:n,noPrint:i===1||i===2})},"display"),print:m(e=>{this.annotationStorage.setValue(this.data.id,{noPrint:!e.detail.print})},"print"),hidden:m(e=>{const{hidden:i}=e.detail;this.container.style.visibility=i?"hidden":"visible",this.annotationStorage.setValue(this.data.id,{noPrint:i,noView:i})},"hidden"),focus:m(e=>{setTimeout(()=>e.target.focus({preventScroll:!1}),0)},"focus"),userName:m(e=>{e.target.title=e.detail.userName},"userName"),readonly:m(e=>{e.target.disabled=e.detail.readonly},"readonly"),required:m(e=>{this._setRequired(e.target,e.detail.required)},"required"),bgColor:m(e=>{t("bgColor","backgroundColor",e)},"bgColor"),fillColor:m(e=>{t("fillColor","backgroundColor",e)},"fillColor"),fgColor:m(e=>{t("fgColor","color",e)},"fgColor"),textColor:m(e=>{t("textColor","color",e)},"textColor"),borderColor:m(e=>{t("borderColor","borderColor",e)},"borderColor"),strokeColor:m(e=>{t("strokeColor","borderColor",e)},"strokeColor"),rotation:m(e=>{const i=e.detail.rotation;this.setRotation(i),this.annotationStorage.setValue(this.data.id,{rotation:i})},"rotation")})}_dispatchEventFromSandbox(t,e){var n;const i=this._commonActions;for(const a of Object.keys(e.detail))(n=t[a]||i[a])==null||n(e)}_setDefaultPropertiesFromJS(t){if(!this.enableScripting)return;const e=this.annotationStorage.getRawValue(this.data.id);if(!e)return;const i=this._commonActions;for(const[n,a]of Object.entries(e)){const r=i[n];if(r){const o={detail:{[n]:a},target:t};r(o),delete e[n]}}}_createQuadrilaterals(){if(!this.container)return;const{quadPoints:t}=this.data;if(!t)return;const[e,i,n,a]=this.data.rect.map(b=>Math.fround(b));if(t.length===8){const[b,w,y,j]=t.subarray(2,6);if(n===b&&a===w&&e===y&&i===j)return}const{style:r}=this.container;let o;if(f(this,M0)){const{borderColor:b,borderWidth:w}=r;r.borderWidth=0,o=["url('data:image/svg+xml;utf8,",'',``],this.container.classList.add("hasBorder")}const l=n-e,c=a-i,{svgFactory:h}=this,u=h.createElement("svg");u.classList.add("quadrilateralsContainer"),u.setAttribute("width",0),u.setAttribute("height",0),u.role="none";const d=h.createElement("defs");u.append(d);const p=h.createElement("clipPath"),g=`clippath_${this.data.id}`;p.setAttribute("id",g),p.setAttribute("clipPathUnits","objectBoundingBox"),d.append(p);for(let b=2,w=t.length;b`)}f(this,M0)&&(o.push("')"),r.backgroundImage=o.join("")),this.container.append(u),this.container.style.clipPath=`url(#${g})`}_createPopup(t=null){const{data:e}=this;let i,n;t?(i={str:t.text},n=t.date):(i=e.contentsObj,n=e.modificationDate),x(this,Ja,new Rb({data:{color:e.color,titleObj:e.titleObj,modificationDate:n,contentsObj:i,richText:e.richText,parentRect:e.rect,borderStyle:0,id:`popup_${e.id}`,rotation:e.rotation,noRotate:!0},linkService:this.linkService,parent:this.parent,elements:[this]}))}get hasPopupElement(){return!!(f(this,Ja)||this.popup||this.data.popupRef)}get extraPopupElement(){return f(this,Ja)}render(){We("Abstract method `AnnotationElement.render` called")}_getElementsByName(t,e=null){const i=[];if(this._fieldObjects){const n=this._fieldObjects[t];if(n)for(const{page:a,id:r,exportValues:o}of n){if(a===-1||r===e)continue;const l=typeof o=="string"?o:null,c=document.querySelector(`[data-element-id="${r}"]`);if(c&&!a1.has(c)){ge(`_getElementsByName - element not allowed: ${r}`);continue}i.push({id:r,exportValue:l,domElement:c})}return i}for(const n of document.getElementsByName(t)){const{exportValue:a}=n,r=n.getAttribute("data-element-id");r!==e&&a1.has(n)&&i.push({id:r,exportValue:a,domElement:n})}return i}show(){var t;this.container&&(this.container.hidden=!1),(t=this.popup)==null||t.maybeShow()}hide(){var t;this.container&&(this.container.hidden=!0),(t=this.popup)==null||t.forceHide()}getElementsToTriggerPopup(){return this.container}addHighlightArea(){const t=this.getElementsToTriggerPopup();if(Array.isArray(t))for(const e of t)e.classList.add("highlightArea");else t.classList.add("highlightArea")}_editOnDoubleClick(){if(!this._isEditable)return;const{annotationEditorType:t,data:{id:e}}=this;this.container.addEventListener("dblclick",()=>{var i;(i=this.linkService.eventBus)==null||i.dispatch("switchannotationeditormode",{source:this,mode:t,editId:e,mustEnterInEditMode:!0})})}get width(){return this.data.rect[2]-this.data.rect[0]}get height(){return this.data.rect[3]-this.data.rect[1]}};mu=new WeakMap,M0=new WeakMap,Ja=new WeakMap,xw=new WeakSet,kI=function(t){const{container:{style:e},data:{rect:i,rotation:n},parent:{viewport:{rawDims:{pageWidth:a,pageHeight:r,pageX:o,pageY:l}}}}=this;i==null||i.splice(0,4,...t),e.left=`${100*(t[0]-o)/a}%`,e.top=`${100*(r-t[3]+l)/r}%`,n===0?(e.width=`${100*(t[2]-t[0])/a}%`,e.height=`${100*(t[3]-t[1])/r}%`):this.setRotation(n)},m(s8,"AnnotationElement");let Fs=s8;const jz=class jz extends Fs{constructor(t){super(t,{isRenderable:!0,ignoreBorder:!0}),this.editor=t.editor}render(){return this.container.className="editorAnnotation",this.container}createOrUpdatePopup(){const{editor:t}=this;t.hasComment&&this._createPopup(t.comment)}get hasCommentButton(){return this.enableComment&&this.editor.hasComment}get commentButtonPosition(){return this.editor.commentButtonPositionInPage}get commentText(){return this.editor.comment.text}set commentText(t){this.editor.comment=t,t||this.removePopup()}get commentData(){return this.editor.getData()}remove(){this.parent.removeAnnotation(this.data.id),this.container.remove(),this.container=null,this.removePopup()}};m(jz,"EditorAnnotationElement");let qI=jz;var Ia,$h,$K,VK;const yz=class yz extends Fs{constructor(e,i=null){super(e,{isRenderable:!0,ignoreBorder:!!(i!=null&&i.ignoreBorder),createQuadrilaterals:!0});T(this,Ia);this.isTooltipOnly=e.data.isTooltipOnly}render(){const{data:e,linkService:i}=this,n=document.createElement("a");n.setAttribute("data-element-id",e.id);let a=!1;return e.url?(i.addLinkAttributes(n,e.url,e.newWindow),a=!0):e.action?(this._bindNamedAction(n,e.action,e.overlaidText),a=!0):e.attachment?(S(this,Ia,$K).call(this,n,e.attachment,e.overlaidText,e.attachmentDest),a=!0):e.setOCGState?(S(this,Ia,VK).call(this,n,e.setOCGState,e.overlaidText),a=!0):e.dest?(this._bindLink(n,e.dest,e.overlaidText),a=!0):(e.actions&&(e.actions.Action||e.actions["Mouse Up"]||e.actions["Mouse Down"])&&this.enableScripting&&this.hasJSActions&&(this._bindJSAction(n,e),a=!0),e.resetForm?(this._bindResetFormAction(n,e.resetForm),a=!0):this.isTooltipOnly&&!a&&(this._bindLink(n,""),a=!0)),this.container.classList.add("linkAnnotation"),a&&(this.contentElement=n,this.container.append(n)),this.container}_bindLink(e,i,n=""){e.href=this.linkService.getDestinationHash(i),e.onclick=()=>(i&&this.linkService.goToDestination(i),!1),(i||i==="")&&S(this,Ia,$h).call(this),n&&(e.title=n)}_bindNamedAction(e,i,n=""){e.href=this.linkService.getAnchorUrl(""),e.onclick=()=>(this.linkService.executeNamedAction(i),!1),n&&(e.title=n),S(this,Ia,$h).call(this)}_bindJSAction(e,i){e.href=this.linkService.getAnchorUrl("");const n=new Map([["Action","onclick"],["Mouse Up","onmouseup"],["Mouse Down","onmousedown"]]);for(const a of Object.keys(i.actions)){const r=n.get(a);r&&(e[r]=()=>{var o;return(o=this.linkService.eventBus)==null||o.dispatch("dispatcheventinsandbox",{source:this,detail:{id:i.id,name:a}}),!1})}i.overlaidText&&(e.title=i.overlaidText),e.onclick||(e.onclick=()=>!1),S(this,Ia,$h).call(this)}_bindResetFormAction(e,i){const n=e.onclick;if(n||(e.href=this.linkService.getAnchorUrl("")),S(this,Ia,$h).call(this),!this._fieldObjects){ge('_bindResetFormAction - "resetForm" action not supported, ensure that the `fieldObjects` parameter is provided.'),n||(e.onclick=()=>!1);return}e.onclick=()=>{var u;n==null||n();const{fields:a,refs:r,include:o}=i,l=[];if(a.length!==0||r.length!==0){const d=new Set(r);for(const p of a){const g=this._fieldObjects[p]||[];for(const{id:b}of g)d.add(b)}for(const p of Object.values(this._fieldObjects))for(const g of p)d.has(g.id)===o&&l.push(g)}else for(const d of Object.values(this._fieldObjects))l.push(...d);const c=this.annotationStorage,h=[];for(const d of l){const{id:p}=d;switch(h.push(p),d.type){case"text":{const b=d.defaultValue||"";c.setValue(p,{value:b});break}case"checkbox":case"radiobutton":{const b=d.defaultValue===d.exportValues;c.setValue(p,{value:b});break}case"combobox":case"listbox":{const b=d.defaultValue||"";c.setValue(p,{value:b});break}default:continue}const g=document.querySelector(`[data-element-id="${p}"]`);if(g){if(!a1.has(g)){ge(`_bindResetFormAction - element not allowed: ${p}`);continue}}else continue;g.dispatchEvent(new Event("resetform"))}return this.enableScripting&&((u=this.linkService.eventBus)==null||u.dispatch("dispatcheventinsandbox",{source:this,detail:{id:"app",ids:h,name:"ResetForm"}})),!1}}};Ia=new WeakSet,$h=function(){this.container.setAttribute("data-internal-link","")},$K=function(e,i,n="",a=null){e.href=this.linkService.getAnchorUrl(""),i.description?e.title=i.description:n&&(e.title=n),e.onclick=()=>{var r;return(r=this.downloadManager)==null||r.openOrDownloadData(i.content,i.filename,a),!1},S(this,Ia,$h).call(this)},VK=function(e,i,n=""){e.href=this.linkService.getAnchorUrl(""),e.onclick=()=>(this.linkService.executeSetOCGState(i),!1),n&&(e.title=n),S(this,Ia,$h).call(this)},m(yz,"LinkAnnotationElement");let Eb=yz;const vz=class vz extends Fs{constructor(t){super(t,{isRenderable:!0})}render(){this.container.classList.add("textAnnotation");const t=document.createElement("img");return t.src=this.imageResourcesPath+"annotation-"+this.data.name.toLowerCase()+".svg",t.setAttribute("data-l10n-id","pdfjs-text-annotation-type"),t.setAttribute("data-l10n-args",JSON.stringify({type:this.data.name})),!this.data.popupRef&&this.hasPopupData&&(this.hasOwnCommentButton=!0,this._createPopup()),this.container.append(t),this.container}};m(vz,"TextAnnotationElement");let xI=vz;const kz=class kz extends Fs{render(){return this.container}showElementAndHideCanvas(t){var e;this.data.hasOwnCanvas&&(((e=t.previousSibling)==null?void 0:e.nodeName)==="CANVAS"&&(t.previousSibling.hidden=!0),t.hidden=!1)}_getKeyModifier(t){return Qs.platform.isMac?t.metaKey:t.ctrlKey}_setEventListener(t,e,i,n,a){i.includes("mouse")?t.addEventListener(i,r=>{var o;(o=this.linkService.eventBus)==null||o.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:n,value:a(r),shift:r.shiftKey,modifier:this._getKeyModifier(r)}})}):t.addEventListener(i,r=>{var o;if(i==="blur"){if(!e.focused||!r.relatedTarget)return;e.focused=!1}else if(i==="focus"){if(e.focused)return;e.focused=!0}a&&((o=this.linkService.eventBus)==null||o.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:n,value:a(r)}}))})}_setEventListeners(t,e,i,n){var a,r,o;for(const[l,c]of i)(c==="Action"||(a=this.data.actions)!=null&&a[c])&&((c==="Focus"||c==="Blur")&&(e||(e={focused:!1})),this._setEventListener(t,e,l,c,n),c==="Focus"&&!((r=this.data.actions)!=null&&r.Blur)?this._setEventListener(t,e,"blur","Blur",null):c==="Blur"&&!((o=this.data.actions)!=null&&o.Focus)&&this._setEventListener(t,e,"focus","Focus",null))}_setBackgroundColor(t){const e=this.data.backgroundColor||null;t.style.backgroundColor=e===null?"transparent":Et.makeHexColor(e[0],e[1],e[2])}_setTextStyle(t){const e=["left","center","right"],{fontColor:i}=this.data.defaultAppearanceData,n=this.data.defaultAppearanceData.fontSize||qJ,a=t.style;let r;const o=2,l=m(c=>Math.round(10*c)/10,"roundToOneDecimal");if(this.data.multiLine){const c=Math.abs(this.data.rect[3]-this.data.rect[1]-o),h=Math.round(c/(t7*n))||1,u=c/h;r=Math.min(n,l(u/t7))}else{const c=Math.abs(this.data.rect[3]-this.data.rect[1]-o);r=Math.min(n,l(c/t7))}a.fontSize=`calc(${r}px * var(--total-scale-factor))`,a.color=Et.makeHexColor(i[0],i[1],i[2]),this.data.textAlignment!==null&&(a.textAlign=e[this.data.textAlignment])}_setRequired(t,e){e?t.setAttribute("required",!0):t.removeAttribute("required"),t.setAttribute("aria-required",e)}};m(kz,"WidgetAnnotationElement");let nc=kz;const qz=class qz extends nc{constructor(t){const e=t.renderForms||t.data.hasOwnCanvas||!t.data.hasAppearance&&!!t.data.fieldValue;super(t,{isRenderable:e})}setPropertyOnSiblings(t,e,i,n){const a=this.annotationStorage;for(const r of this._getElementsByName(t.name,t.id))r.domElement&&(r.domElement[e]=i),a.setValue(r.id,{[n]:i})}render(){var n,a;const t=this.annotationStorage,e=this.data.id;this.container.classList.add("textWidgetAnnotation");let i=null;if(this.renderForms){const r=t.getValue(e,{value:this.data.fieldValue});let o=r.value||"";const l=t.getValue(e,{charLimit:this.data.maxLen}).charLimit;l&&o.length>l&&(o=o.slice(0,l));let c=r.formattedValue||((n=this.data.textContent)==null?void 0:n.join(` +`))||null;c&&this.data.comb&&(c=c.replaceAll(/\s+/g,""));const h={userValue:o,formattedValue:c,lastCommittedValue:null,commitKey:1,focused:!1};this.data.multiLine?(i=document.createElement("textarea"),i.textContent=c??o,this.data.doNotScroll&&(i.style.overflowY="hidden")):(i=document.createElement("input"),i.type=this.data.password?"password":"text",i.setAttribute("value",c??o),this.data.doNotScroll&&(i.style.overflowX="hidden")),this.data.hasOwnCanvas&&(i.hidden=!0),a1.add(i),this.contentElement=i,i.setAttribute("data-element-id",e),i.disabled=this.data.readOnly,i.name=this.data.fieldName,i.tabIndex=0;const{datetimeFormat:u,datetimeType:d,timeStep:p}=this.data,g=!!d&&this.enableScripting;u&&(i.title=u),this._setRequired(i,this.data.required),l&&(i.maxLength=l),i.addEventListener("input",w=>{t.setValue(e,{value:w.target.value}),this.setPropertyOnSiblings(i,"value",w.target.value,"value"),h.formattedValue=null}),i.addEventListener("resetform",w=>{const y=this.data.defaultFieldValue??"";i.value=h.userValue=y,h.formattedValue=null});let b=m(w=>{const{formattedValue:y}=h;y!=null&&(w.target.value=y),w.target.scrollLeft=0},"blurListener");if(this.enableScripting&&this.hasJSActions){i.addEventListener("focus",y=>{var k;if(h.focused)return;const{target:j}=y;if(g&&(j.type=d,p&&(j.step=p)),h.userValue){const q=h.userValue;if(g)if(d==="time"){const A=new Date(q),I=[A.getHours(),A.getMinutes(),A.getSeconds()];j.value=I.map(C=>C.toString().padStart(2,"0")).join(":")}else j.value=new Date(q-xJ).toISOString().split(d==="date"?"T":".",1)[0];else j.value=q}h.lastCommittedValue=j.value,h.commitKey=1,(k=this.data.actions)!=null&&k.Focus||(h.focused=!0)}),i.addEventListener("updatefromsandbox",y=>{this.showElementAndHideCanvas(y.target);const j={value(k){h.userValue=k.detail.value??"",g||t.setValue(e,{value:h.userValue.toString()}),k.target.value=h.userValue},formattedValue(k){const{formattedValue:q}=k.detail;h.formattedValue=q,q!=null&&k.target!==document.activeElement&&(k.target.value=q);const A={formattedValue:q};g&&(A.value=q),t.setValue(e,A)},selRange(k){k.target.setSelectionRange(...k.detail.selRange)},charLimit:m(k=>{var C;const{charLimit:q}=k.detail,{target:A}=k;if(q===0){A.removeAttribute("maxLength");return}A.setAttribute("maxLength",q);let I=h.userValue;!I||I.length<=q||(I=I.slice(0,q),A.value=h.userValue=I,t.setValue(e,{value:I}),(C=this.linkService.eventBus)==null||C.dispatch("dispatcheventinsandbox",{source:this,detail:{id:e,name:"Keystroke",value:I,willCommit:!0,commitKey:1,selStart:A.selectionStart,selEnd:A.selectionEnd}}))},"charLimit")};this._dispatchEventFromSandbox(j,y)}),i.addEventListener("keydown",y=>{var q;h.commitKey=1;let j=-1;if(y.key==="Escape"?j=0:y.key==="Enter"&&!this.data.multiLine?j=2:y.key==="Tab"&&(h.commitKey=3),j===-1)return;const{value:k}=y.target;h.lastCommittedValue!==k&&(h.lastCommittedValue=k,h.userValue=k,(q=this.linkService.eventBus)==null||q.dispatch("dispatcheventinsandbox",{source:this,detail:{id:e,name:"Keystroke",value:k,willCommit:!0,commitKey:j,selStart:y.target.selectionStart,selEnd:y.target.selectionEnd}}))});const w=b;b=null,i.addEventListener("blur",y=>{var q,A;if(!h.focused||!y.relatedTarget)return;(q=this.data.actions)!=null&&q.Blur||(h.focused=!1);const{target:j}=y;let{value:k}=j;if(g){if(k&&d==="time"){const I=k.split(":").map(C=>parseInt(C,10));k=new Date(2e3,0,1,I[0],I[1],I[2]||0).valueOf(),j.step=""}else k.includes("T")||(k=`${k}T00:00`),k=new Date(k).valueOf();j.type="text"}h.userValue=k,h.lastCommittedValue!==k&&((A=this.linkService.eventBus)==null||A.dispatch("dispatcheventinsandbox",{source:this,detail:{id:e,name:"Keystroke",value:k,willCommit:!0,commitKey:h.commitKey,selStart:y.target.selectionStart,selEnd:y.target.selectionEnd}})),w(y)}),(a=this.data.actions)!=null&&a.Keystroke&&i.addEventListener("beforeinput",y=>{var E;h.lastCommittedValue=null;const{data:j,target:k}=y,{value:q,selectionStart:A,selectionEnd:I}=k;let C=A,F=I;switch(y.inputType){case"deleteWordBackward":{const D=q.substring(0,A).match(/\w*[^\w]*$/);D&&(C-=D[0].length);break}case"deleteWordForward":{const D=q.substring(A).match(/^[^\w]*\w*/);D&&(F+=D[0].length);break}case"deleteContentBackward":A===I&&(C-=1);break;case"deleteContentForward":A===I&&(F+=1);break}y.preventDefault(),(E=this.linkService.eventBus)==null||E.dispatch("dispatcheventinsandbox",{source:this,detail:{id:e,name:"Keystroke",value:q,change:j||"",willCommit:!1,selStart:C,selEnd:F}})}),this._setEventListeners(i,h,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],y=>y.target.value)}if(b&&i.addEventListener("blur",b),this.data.comb){const w=(this.data.rect[2]-this.data.rect[0])/l;i.classList.add("comb"),i.style.letterSpacing=`calc(${w}px * var(--total-scale-factor) - 1ch)`}}else i=document.createElement("div"),i.textContent=this.data.fieldValue,i.style.verticalAlign="middle",i.style.display="table-cell",this.data.hasOwnCanvas&&(i.hidden=!0);return this._setTextStyle(i),this._setBackgroundColor(i),this._setDefaultPropertiesFromJS(i),this.container.append(i),this.container}};m(qz,"TextWidgetAnnotationElement");let AI=qz;const xz=class xz extends nc{constructor(t){super(t,{isRenderable:!!t.data.hasOwnCanvas})}};m(xz,"SignatureWidgetAnnotationElement");let SI=xz;const Az=class Az extends nc{constructor(t){super(t,{isRenderable:t.renderForms})}render(){const t=this.annotationStorage,e=this.data,i=e.id;let n=t.getValue(i,{value:e.exportValue===e.fieldValue}).value;typeof n=="string"&&(n=n!=="Off",t.setValue(i,{value:n})),this.container.classList.add("buttonWidgetAnnotation","checkBox");const a=document.createElement("input");return a1.add(a),a.setAttribute("data-element-id",i),a.disabled=e.readOnly,this._setRequired(a,this.data.required),a.type="checkbox",a.name=e.fieldName,n&&a.setAttribute("checked",!0),a.setAttribute("exportValue",e.exportValue),a.tabIndex=0,a.addEventListener("change",r=>{const{name:o,checked:l}=r.target;for(const c of this._getElementsByName(o,i)){const h=l&&c.exportValue===e.exportValue;c.domElement&&(c.domElement.checked=h),t.setValue(c.id,{value:h})}t.setValue(i,{value:l})}),a.addEventListener("resetform",r=>{const o=e.defaultFieldValue||"Off";r.target.checked=o===e.exportValue}),this.enableScripting&&this.hasJSActions&&(a.addEventListener("updatefromsandbox",r=>{const o={value(l){l.target.checked=l.detail.value!=="Off",t.setValue(i,{value:l.target.checked})}};this._dispatchEventFromSandbox(o,r)}),this._setEventListeners(a,null,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],r=>r.target.checked)),this._setBackgroundColor(a),this._setDefaultPropertiesFromJS(a),this.container.append(a),this.container}};m(Az,"CheckboxWidgetAnnotationElement");let CI=Az;const Sz=class Sz extends nc{constructor(t){super(t,{isRenderable:t.renderForms})}render(){this.container.classList.add("buttonWidgetAnnotation","radioButton");const t=this.annotationStorage,e=this.data,i=e.id;let n=t.getValue(i,{value:e.fieldValue===e.buttonValue}).value;if(typeof n=="string"&&(n=n!==e.buttonValue,t.setValue(i,{value:n})),n)for(const r of this._getElementsByName(e.fieldName,i))t.setValue(r.id,{value:!1});const a=document.createElement("input");if(a1.add(a),a.setAttribute("data-element-id",i),a.disabled=e.readOnly,this._setRequired(a,this.data.required),a.type="radio",a.name=e.fieldName,n&&a.setAttribute("checked",!0),a.tabIndex=0,a.addEventListener("change",r=>{const{name:o,checked:l}=r.target;for(const c of this._getElementsByName(o,i))t.setValue(c.id,{value:!1});t.setValue(i,{value:l})}),a.addEventListener("resetform",r=>{const o=e.defaultFieldValue;r.target.checked=o!=null&&o===e.buttonValue}),this.enableScripting&&this.hasJSActions){const r=e.buttonValue;a.addEventListener("updatefromsandbox",o=>{const l={value:m(c=>{const h=r===c.detail.value;for(const u of this._getElementsByName(c.target.name)){const d=h&&u.id===i;u.domElement&&(u.domElement.checked=d),t.setValue(u.id,{value:d})}},"value")};this._dispatchEventFromSandbox(l,o)}),this._setEventListeners(a,null,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],o=>o.target.checked)}return this._setBackgroundColor(a),this._setDefaultPropertiesFromJS(a),this.container.append(a),this.container}};m(Sz,"RadioButtonWidgetAnnotationElement");let H6=Sz;const Cz=class Cz extends Eb{constructor(t){super(t,{ignoreBorder:t.data.hasAppearance})}render(){const t=super.render();t.classList.add("buttonWidgetAnnotation","pushButton");const e=t.lastChild;return this.enableScripting&&this.hasJSActions&&e&&(this._setDefaultPropertiesFromJS(e),e.addEventListener("updatefromsandbox",i=>{this._dispatchEventFromSandbox({},i)})),t}};m(Cz,"PushButtonWidgetAnnotationElement");let II=Cz;const Iz=class Iz extends nc{constructor(t){super(t,{isRenderable:t.renderForms})}render(){this.container.classList.add("choiceWidgetAnnotation");const t=this.annotationStorage,e=this.data.id,i=t.getValue(e,{value:this.data.fieldValue}),n=document.createElement("select");a1.add(n),n.setAttribute("data-element-id",e),n.disabled=this.data.readOnly,this._setRequired(n,this.data.required),n.name=this.data.fieldName,n.tabIndex=0;let a=this.data.combo&&this.data.options.length>0;this.data.combo||(n.size=this.data.options.length,this.data.multiSelect&&(n.multiple=!0)),n.addEventListener("resetform",u=>{const d=this.data.defaultFieldValue;for(const p of n.options)p.selected=p.value===d});const r=m((u,d)=>{const p=d.replaceAll(" "," ");u.textContent=p,p!==d&&u.setAttribute("display-value",d)},"fixDisplayValue");for(const u of this.data.options){const d=document.createElement("option");r(d,u.displayValue),d.value=u.exportValue,i.value.includes(u.exportValue)&&(d.setAttribute("selected",!0),a=!1),n.append(d)}let o=null;if(a){const u=document.createElement("option");u.value=" ",u.setAttribute("hidden",!0),u.setAttribute("selected",!0),n.prepend(u),o=m(()=>{u.remove(),n.removeEventListener("input",o),o=null},"removeEmptyEntry"),n.addEventListener("input",o)}const l=m(u=>{const d=u?"value":"textContent",{options:p,multiple:g}=n;return g?Array.prototype.filter.call(p,b=>b.selected).map(b=>b[d]):p.selectedIndex===-1?null:p[p.selectedIndex][d]},"getValue");let c=l(!1);const h=m(u=>{const d=u.target.options;return Array.prototype.map.call(d,p=>({displayValue:p.getAttribute("display-value")||p.textContent,exportValue:p.value}))},"getItems");return this.enableScripting&&this.hasJSActions?(n.addEventListener("updatefromsandbox",u=>{const d={value(p){o==null||o();const g=p.detail.value,b=new Set(Array.isArray(g)?g:[g]);for(const w of n.options)w.selected=b.has(w.value);t.setValue(e,{value:l(!0)}),c=l(!1)},multipleSelection(p){n.multiple=!0},remove(p){const g=n.options,b=p.detail.remove;g[b].selected=!1,n.remove(b),g.length>0&&Array.prototype.findIndex.call(g,w=>w.selected)===-1&&(g[0].selected=!0),t.setValue(e,{value:l(!0),items:h(p)}),c=l(!1)},clear(p){for(;n.length!==0;)n.remove(0);t.setValue(e,{value:null,items:[]}),c=l(!1)},insert(p){const{index:g,displayValue:b,exportValue:w}=p.detail.insert,y=n.children[g],j=document.createElement("option");r(j,b),j.value=w,y?y.before(j):n.append(j),t.setValue(e,{value:l(!0),items:h(p)}),c=l(!1)},items(p){const{items:g}=p.detail;for(;n.length!==0;)n.remove(0);for(const b of g){const{displayValue:w,exportValue:y}=b,j=document.createElement("option");r(j,w),j.value=y,n.append(j)}n.options.length>0&&(n.options[0].selected=!0),t.setValue(e,{value:l(!0),items:h(p)}),c=l(!1)},indices(p){const g=new Set(p.detail.indices);for(const b of p.target.options)b.selected=g.has(b.index);t.setValue(e,{value:l(!0)}),c=l(!1)},editable(p){p.target.disabled=!p.detail.editable}};this._dispatchEventFromSandbox(d,u)}),n.addEventListener("input",u=>{var g;const d=l(!0),p=l(!1);t.setValue(e,{value:d}),u.preventDefault(),(g=this.linkService.eventBus)==null||g.dispatch("dispatcheventinsandbox",{source:this,detail:{id:e,name:"Keystroke",value:c,change:p,changeEx:d,willCommit:!1,commitKey:1,keyDown:!1}})}),this._setEventListeners(n,null,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"],["input","Action"],["input","Validate"]],u=>u.target.value)):n.addEventListener("input",function(u){t.setValue(e,{value:l(!0)})}),this.data.combo&&this._setTextStyle(n),this._setBackgroundColor(n),this._setDefaultPropertiesFromJS(n),this.container.append(n),this.container}};m(Iz,"ChoiceWidgetAnnotationElement");let TI=Iz;var Aw,FI;const Tz=class Tz extends Fs{constructor(e){const{data:i,elements:n,parent:a}=e,r=!!a._commentManager;super(e,{isRenderable:!r&&Fs._hasPopupData(i)});T(this,Aw);if(this.elements=n,r&&Fs._hasPopupData(i)){const o=this.popup=S(this,Aw,FI).call(this);for(const l of n)l.popup=o}else this.popup=null}render(){const{container:e}=this;e.classList.add("popupAnnotation"),e.role="comment";const i=this.popup=S(this,Aw,FI).call(this),n=[];for(const a of this.elements)a.popup=i,a.container.ariaHasPopup="dialog",n.push(a.data.id),a.addHighlightArea();return this.container.setAttribute("aria-controls",n.map(a=>`${G1}${a}`).join(",")),this.container}};Aw=new WeakSet,FI=function(){return new EI({container:this.container,color:this.data.color,titleObj:this.data.titleObj,modificationDate:this.data.modificationDate||this.data.creationDate,contentsObj:this.data.contentsObj,richText:this.data.richText,rect:this.data.rect,parentRect:this.data.parentRect||null,parent:this.parent,elements:this.elements,open:this.data.open,commentManager:this.parent._commentManager})},m(Tz,"PopupAnnotationElement");let Rb=Tz;var ha,hh,i8,n8,B0,D0,Bs,wo,fh,gu,P0,H0,jo,fa,Al,Sl,Ds,Cl,uh,Sw,Il,O0,bu,dh,ji,ph,ye,B5,RI,MI,BI,D5,DI,WK,KK,XK,YK,P5,H5,PI;const Fz=class Fz{constructor({container:t,color:e,elements:i,titleObj:n,modificationDate:a,contentsObj:r,richText:o,parent:l,rect:c,parentRect:h,open:u,commentManager:d=null}){T(this,ye);T(this,ha,null);T(this,hh,S(this,ye,XK).bind(this));T(this,i8,S(this,ye,PI).bind(this));T(this,n8,S(this,ye,H5).bind(this));T(this,B0,S(this,ye,P5).bind(this));T(this,D0,null);T(this,Bs,null);T(this,wo,null);T(this,fh,null);T(this,gu,null);T(this,P0,null);T(this,H0,null);T(this,jo,!1);T(this,fa,null);T(this,Al,null);T(this,Sl,null);T(this,Ds,null);T(this,Cl,null);T(this,uh,null);T(this,Sw,null);T(this,Il,null);T(this,O0,null);T(this,bu,null);T(this,dh,!1);T(this,ji,null);T(this,ph,null);x(this,Bs,t),x(this,O0,n),x(this,wo,r),x(this,Il,o),x(this,P0,l),x(this,D0,e),x(this,Sw,c),x(this,H0,h),x(this,gu,i),x(this,ha,d),x(this,ji,i[0]),x(this,fh,Ab.toDateObject(a)),this.trigger=i.flatMap(p=>p.getElementsToTriggerPopup()),d||(S(this,ye,B5).call(this),f(this,Bs).hidden=!0,u&&S(this,ye,P5).call(this))}renderCommentButton(){if(f(this,Ds)){f(this,Ds).parentNode||f(this,ji).container.after(f(this,Ds));return}if(f(this,Cl)||S(this,ye,RI).call(this),!f(this,Cl))return;const{signal:t}=x(this,Al,new AbortController),e=f(this,ji).hasOwnCommentButton,i=m(()=>{f(this,ha).toggleCommentPopup(this,!0,void 0,!e)},"togglePopup"),n=m(()=>{f(this,ha).toggleCommentPopup(this,!1,!0,!e)},"showPopup"),a=m(()=>{f(this,ha).toggleCommentPopup(this,!1,!1)},"hidePopup");if(e){x(this,Ds,f(this,ji).container);for(const r of this.trigger)r.ariaHasPopup="dialog",r.ariaControls="commentPopup",r.addEventListener("keydown",f(this,hh),{signal:t}),r.addEventListener("click",i,{signal:t}),r.addEventListener("pointerenter",n,{signal:t}),r.addEventListener("pointerleave",a,{signal:t}),r.classList.add("popupTriggerArea")}else{const r=x(this,Ds,document.createElement("button"));r.className="annotationCommentButton";const o=f(this,ji).container;r.style.zIndex=o.style.zIndex+1,r.tabIndex=0,r.ariaHasPopup="dialog",r.ariaControls="commentPopup",r.setAttribute("data-l10n-id","pdfjs-show-comment-button"),S(this,ye,BI).call(this),S(this,ye,MI).call(this),r.addEventListener("keydown",f(this,hh),{signal:t}),r.addEventListener("click",i,{signal:t}),r.addEventListener("pointerenter",n,{signal:t}),r.addEventListener("pointerleave",a,{signal:t}),o.after(r)}}get commentButtonColor(){const{color:t,opacity:e}=f(this,ji).commentData;return t?f(this,P0)._commentManager.makeCommentColor(t,e):null}focusCommentButton(){setTimeout(()=>{var t;(t=f(this,Ds))==null||t.focus()},0)}getData(){const{richText:t,color:e,opacity:i,creationDate:n,modificationDate:a}=f(this,ji).commentData;return{contentsObj:{str:this.comment},richText:t,color:e,opacity:i,creationDate:n,modificationDate:a}}get elementBeforePopup(){return f(this,Ds)}get comment(){return f(this,ph)||x(this,ph,f(this,ji).commentText),f(this,ph)}set comment(t){t!==this.comment&&(f(this,ji).commentText=x(this,ph,t))}focus(){var t;(t=f(this,ji).container)==null||t.focus()}get parentBoundingClientRect(){return f(this,ji).layer.getBoundingClientRect()}setCommentButtonStates({selected:t,hasPopup:e}){f(this,Ds)&&(f(this,Ds).classList.toggle("selected",t),f(this,Ds).ariaExpanded=e)}setSelectedCommentButton(t){f(this,Ds).classList.toggle("selected",t)}get commentPopupPosition(){if(f(this,uh))return f(this,uh);const{x:t,y:e,height:i}=f(this,Ds).getBoundingClientRect(),{x:n,y:a,width:r,height:o}=f(this,ji).layer.getBoundingClientRect();return[(t-n)/r,(e+i-a)/o]}set commentPopupPosition(t){x(this,uh,t)}hasDefaultPopupPosition(){return f(this,uh)===null}get commentButtonPosition(){return f(this,Cl)}get commentButtonWidth(){return f(this,Ds).getBoundingClientRect().width/this.parentBoundingClientRect.width}editComment(t){const[e,i]=f(this,uh)||this.commentButtonPosition.map(c=>c/100),n=this.parentBoundingClientRect,{x:a,y:r,width:o,height:l}=n;f(this,ha).showDialog(null,this,a+e*o,r+i*l,{...t,parentDimensions:n})}render(){var i,n;if(f(this,fa))return;const t=x(this,fa,document.createElement("div"));if(t.className="popup",f(this,D0)){const a=t.style.outlineColor=Et.makeHexColor(...f(this,D0));t.style.backgroundColor=`color-mix(in srgb, ${a} 30%, white)`}const e=document.createElement("span");if(e.className="header",(i=f(this,O0))==null?void 0:i.str){const a=document.createElement("span");a.className="title",e.append(a),{dir:a.dir,str:a.textContent}=f(this,O0)}if(t.append(e),f(this,fh)){const a=document.createElement("time");a.className="popupDate",a.setAttribute("data-l10n-id","pdfjs-annotation-date-time-string"),a.setAttribute("data-l10n-args",JSON.stringify({dateObj:f(this,fh).valueOf()})),a.dateTime=f(this,fh).toISOString(),e.append(a)}TF({html:f(this,ye,D5)||f(this,wo).str,dir:(n=f(this,wo))==null?void 0:n.dir,className:"popupContent"},t),f(this,Bs).append(t)}updateEdited({rect:t,popup:e,deleted:i}){var n;if(f(this,ha)){i?(this.remove(),x(this,ph,null)):e&&(e.deleted?this.remove():(S(this,ye,BI).call(this),x(this,ph,e.text))),t&&(x(this,Cl,null),S(this,ye,RI).call(this),S(this,ye,MI).call(this));return}if(i||e!=null&&e.deleted){this.remove();return}S(this,ye,B5).call(this),f(this,bu)||x(this,bu,{contentsObj:f(this,wo),richText:f(this,Il)}),t&&x(this,Sl,null),e&&e.text&&(x(this,Il,S(this,ye,KK).call(this,e.text)),x(this,fh,Ab.toDateObject(e.date)),x(this,wo,null)),(n=f(this,fa))==null||n.remove(),x(this,fa,null)}resetEdited(){var t;f(this,bu)&&({contentsObj:Gs(this,wo)._,richText:Gs(this,Il)._}=f(this,bu),x(this,bu,null),(t=f(this,fa))==null||t.remove(),x(this,fa,null),x(this,Sl,null))}remove(){var t,e,i;if((t=f(this,Al))==null||t.abort(),x(this,Al,null),(e=f(this,fa))==null||e.remove(),x(this,fa,null),x(this,dh,!1),x(this,jo,!1),(i=f(this,Ds))==null||i.remove(),x(this,Ds,null),this.trigger)for(const n of this.trigger)n.classList.remove("popupTriggerArea")}forceHide(){x(this,dh,this.isVisible),f(this,dh)&&(f(this,Bs).hidden=!0)}maybeShow(){f(this,ha)||(S(this,ye,B5).call(this),f(this,dh)&&(f(this,fa)||S(this,ye,H5).call(this),x(this,dh,!1),f(this,Bs).hidden=!1))}get isVisible(){return f(this,ha)?!1:f(this,Bs).hidden===!1}};ha=new WeakMap,hh=new WeakMap,i8=new WeakMap,n8=new WeakMap,B0=new WeakMap,D0=new WeakMap,Bs=new WeakMap,wo=new WeakMap,fh=new WeakMap,gu=new WeakMap,P0=new WeakMap,H0=new WeakMap,jo=new WeakMap,fa=new WeakMap,Al=new WeakMap,Sl=new WeakMap,Ds=new WeakMap,Cl=new WeakMap,uh=new WeakMap,Sw=new WeakMap,Il=new WeakMap,O0=new WeakMap,bu=new WeakMap,dh=new WeakMap,ji=new WeakMap,ph=new WeakMap,ye=new WeakSet,B5=function(){var e;if(f(this,Al))return;x(this,Al,new AbortController);const{signal:t}=f(this,Al);for(const i of this.trigger)i.addEventListener("click",f(this,B0),{signal:t}),i.addEventListener("pointerenter",f(this,n8),{signal:t}),i.addEventListener("pointerleave",f(this,i8),{signal:t}),i.classList.add("popupTriggerArea");for(const i of f(this,gu))(e=i.container)==null||e.addEventListener("keydown",f(this,hh),{signal:t})},RI=function(){const t=f(this,gu).find(e=>e.hasCommentButton);t&&x(this,Cl,t._normalizePoint(t.commentButtonPosition))},MI=function(){if(f(this,ji).extraPopupElement&&!f(this,ji).editor)return;f(this,Ds)||this.renderCommentButton();const[t,e]=f(this,Cl),{style:i}=f(this,Ds);i.left=`calc(${t}%)`,i.top=`calc(${e}% - var(--comment-button-dim))`},BI=function(){f(this,ji).extraPopupElement||(f(this,Ds)||this.renderCommentButton(),f(this,Ds).style.backgroundColor=this.commentButtonColor||"")},D5=function(){const t=f(this,Il),e=f(this,wo);return(t==null?void 0:t.str)&&(!(e!=null&&e.str)||e.str===t.str)&&f(this,Il).html||null},DI=function(){var t,e,i;return((i=(e=(t=f(this,ye,D5))==null?void 0:t.attributes)==null?void 0:e.style)==null?void 0:i.fontSize)||0},WK=function(){var t,e,i;return((i=(e=(t=f(this,ye,D5))==null?void 0:t.attributes)==null?void 0:e.style)==null?void 0:i.color)||null},KK=function(t){const e=[],i={str:t,html:{name:"div",attributes:{dir:"auto"},children:[{name:"p",children:e}]}},n={style:{color:f(this,ye,WK),fontSize:f(this,ye,DI)?`calc(${f(this,ye,DI)}px * var(--total-scale-factor))`:""}};for(const a of t.split(` +`))e.push({name:"span",value:a,attributes:n});return i},XK=function(t){t.altKey||t.shiftKey||t.ctrlKey||t.metaKey||(t.key==="Enter"||t.key==="Escape"&&f(this,jo))&&S(this,ye,P5).call(this)},YK=function(){if(f(this,Sl)!==null)return;const{page:{view:t},viewport:{rawDims:{pageWidth:e,pageHeight:i,pageX:n,pageY:a}}}=f(this,P0);let r=!!f(this,H0),o=r?f(this,H0):f(this,Sw);for(const p of f(this,gu))if(!o||Et.intersect(p.data.rect,o)!==null){o=p.data.rect,r=!0;break}const l=Et.normalizeRect([o[0],t[3]-o[1]+t[1],o[2],t[3]-o[3]+t[1]]),c=r?o[2]-o[0]+5:0,h=l[0]+c,u=l[1];x(this,Sl,[100*(h-n)/e,100*(u-a)/i]);const{style:d}=f(this,Bs);d.left=`${f(this,Sl)[0]}%`,d.top=`${f(this,Sl)[1]}%`},P5=function(){if(f(this,ha)){f(this,ha).toggleCommentPopup(this,!1);return}x(this,jo,!f(this,jo)),f(this,jo)?(S(this,ye,H5).call(this),f(this,Bs).addEventListener("click",f(this,B0)),f(this,Bs).addEventListener("keydown",f(this,hh))):(S(this,ye,PI).call(this),f(this,Bs).removeEventListener("click",f(this,B0)),f(this,Bs).removeEventListener("keydown",f(this,hh)))},H5=function(){f(this,fa)||this.render(),this.isVisible?f(this,jo)&&f(this,Bs).classList.add("focused"):(S(this,ye,YK).call(this),f(this,Bs).hidden=!1,f(this,Bs).style.zIndex=parseInt(f(this,Bs).style.zIndex)+1e3)},PI=function(){f(this,Bs).classList.remove("focused"),!(f(this,jo)||!this.isVisible)&&(f(this,Bs).hidden=!0,f(this,Bs).style.zIndex=parseInt(f(this,Bs).style.zIndex)-1e3)},m(Fz,"PopupElement");let EI=Fz;const Ez=class Ez extends Fs{constructor(t){super(t,{isRenderable:!0,ignoreBorder:!0}),this.textContent=t.data.textContent,this.textPosition=t.data.textPosition,this.annotationEditorType=ue.FREETEXT}render(){if(this.container.classList.add("freeTextAnnotation"),this.textContent){const t=this.contentElement=document.createElement("div");t.classList.add("annotationTextContent"),t.setAttribute("role","comment");for(const e of this.textContent){const i=document.createElement("span");i.textContent=e,t.append(i)}this.container.append(t)}return!this.data.popupRef&&this.hasPopupData&&(this.hasOwnCommentButton=!0,this._createPopup()),this._editOnDoubleClick(),this.container}};m(Ez,"FreeTextAnnotationElement");let O6=Ez;var Cw;const Rz=class Rz extends Fs{constructor(e){super(e,{isRenderable:!0,ignoreBorder:!0});T(this,Cw,null)}render(){this.container.classList.add("lineAnnotation");const{data:e,width:i,height:n}=this,a=this.svgFactory.create(i,n,!0),r=x(this,Cw,this.svgFactory.createElement("svg:line"));return r.setAttribute("x1",e.rect[2]-e.lineCoordinates[0]),r.setAttribute("y1",e.rect[3]-e.lineCoordinates[1]),r.setAttribute("x2",e.rect[2]-e.lineCoordinates[2]),r.setAttribute("y2",e.rect[3]-e.lineCoordinates[3]),r.setAttribute("stroke-width",e.borderStyle.width||1),r.setAttribute("stroke","transparent"),r.setAttribute("fill","transparent"),a.append(r),this.container.append(a),!e.popupRef&&this.hasPopupData&&(this.hasOwnCommentButton=!0,this._createPopup()),this.container}getElementsToTriggerPopup(){return f(this,Cw)}addHighlightArea(){this.container.classList.add("highlightArea")}};Cw=new WeakMap,m(Rz,"LineAnnotationElement");let HI=Rz;var Iw;const Mz=class Mz extends Fs{constructor(e){super(e,{isRenderable:!0,ignoreBorder:!0});T(this,Iw,null)}render(){this.container.classList.add("squareAnnotation");const{data:e,width:i,height:n}=this,a=this.svgFactory.create(i,n,!0),r=e.borderStyle.width,o=x(this,Iw,this.svgFactory.createElement("svg:rect"));return o.setAttribute("x",r/2),o.setAttribute("y",r/2),o.setAttribute("width",i-r),o.setAttribute("height",n-r),o.setAttribute("stroke-width",r||1),o.setAttribute("stroke","transparent"),o.setAttribute("fill","transparent"),a.append(o),this.container.append(a),!e.popupRef&&this.hasPopupData&&(this.hasOwnCommentButton=!0,this._createPopup()),this.container}getElementsToTriggerPopup(){return f(this,Iw)}addHighlightArea(){this.container.classList.add("highlightArea")}};Iw=new WeakMap,m(Mz,"SquareAnnotationElement");let OI=Mz;var Tw;const Bz=class Bz extends Fs{constructor(e){super(e,{isRenderable:!0,ignoreBorder:!0});T(this,Tw,null)}render(){this.container.classList.add("circleAnnotation");const{data:e,width:i,height:n}=this,a=this.svgFactory.create(i,n,!0),r=e.borderStyle.width,o=x(this,Tw,this.svgFactory.createElement("svg:ellipse"));return o.setAttribute("cx",i/2),o.setAttribute("cy",n/2),o.setAttribute("rx",i/2-r/2),o.setAttribute("ry",n/2-r/2),o.setAttribute("stroke-width",r||1),o.setAttribute("stroke","transparent"),o.setAttribute("fill","transparent"),a.append(o),this.container.append(a),!e.popupRef&&this.hasPopupData&&(this.hasOwnCommentButton=!0,this._createPopup()),this.container}getElementsToTriggerPopup(){return f(this,Tw)}addHighlightArea(){this.container.classList.add("highlightArea")}};Tw=new WeakMap,m(Bz,"CircleAnnotationElement");let NI=Bz;var Fw;const Dz=class Dz extends Fs{constructor(e){super(e,{isRenderable:!0,ignoreBorder:!0});T(this,Fw,null);this.containerClassName="polylineAnnotation",this.svgElementName="svg:polyline"}render(){this.container.classList.add(this.containerClassName);const{data:{rect:e,vertices:i,borderStyle:n,popupRef:a},width:r,height:o}=this;if(!i)return this.container;const l=this.svgFactory.create(r,o,!0);let c=[];for(let u=0,d=i.length;u=0&&r.setAttribute("stroke-width",i||1),n)for(let o=0,l=f(this,wu).length;o{r.key==="Enter"&&(a?r.metaKey:r.ctrlKey)&&S(this,Bw,WI).call(this)}),!i.popupRef&&this.hasPopupData?(this.hasOwnCommentButton=!0,this._createPopup()):n.classList.add("popupTriggerArea"),e.append(n),e}getElementsToTriggerPopup(){return f(this,Mw)}addHighlightArea(){this.container.classList.add("highlightArea")}};Mw=new WeakMap,Bw=new WeakSet,WI=function(){var e;(e=this.downloadManager)==null||e.openOrDownloadData(this.content,this.filename)},m(Gz,"FileAttachmentAnnotationElement");let VI=Gz;var ju,yu,N0,mh,Dw,vu,ua,Pw,Yl,O5,XI;const a8=class a8{constructor({div:t,accessibilityManager:e,annotationCanvasMap:i,annotationEditorUIManager:n,page:a,viewport:r,structTreeLayer:o,commentManager:l,linkService:c,annotationStorage:h}){T(this,Yl);T(this,ju,null);T(this,yu,null);T(this,N0,null);T(this,mh,new Map);T(this,Dw,null);T(this,vu,null);T(this,ua,[]);T(this,Pw,!1);this.div=t,x(this,ju,e),x(this,yu,i),x(this,Dw,o||null),x(this,vu,c||null),x(this,N0,h||new Cb),this.page=a,this.viewport=r,this.zIndex=0,this._annotationEditorUIManager=n,this._commentManager=l||null}hasEditableAnnotations(){return f(this,mh).size>0}async render(t){var o;const{annotations:e}=t,i=this.div;Hh(i,this.viewport);const n=new Map,a=[],r={data:null,layer:i,linkService:f(this,vu),downloadManager:t.downloadManager,imageResourcesPath:t.imageResourcesPath||"",renderForms:t.renderForms!==!1,svgFactory:new Ap,annotationStorage:f(this,N0),enableComment:t.enableComment===!0,enableScripting:t.enableScripting===!0,hasJSActions:t.hasJSActions,fieldObjects:t.fieldObjects,parent:this,elements:null};for(const l of e){if(l.noHTML)continue;const c=l.annotationType===ei.POPUP;if(c){const d=n.get(l.id);if(!d)continue;if(!this._commentManager){a.push(l);continue}r.elements=d}else if(l.rect[2]===l.rect[0]||l.rect[3]===l.rect[1])continue;r.data=l;const h=Zm.create(r);if(!h.isRenderable)continue;c||(f(this,ua).push(h),l.popupRef&&n.getOrInsertComputed(l.popupRef,CF).push(h));const u=h.render();l.hidden&&(u.style.visibility="hidden"),h._isEditable&&(f(this,mh).set(h.data.id,h),(o=this._annotationEditorUIManager)==null||o.renderAnnotationElement(h))}await S(this,Yl,O5).call(this);for(const l of a){const c=r.elements=n.get(l.id);r.data=l;const h=Zm.create(r);if(!h.isRenderable)continue;const u=h.render();h.contentElement.id=`${G1}${l.id}`,l.hidden&&(u.style.visibility="hidden"),c.at(-1).container.after(u)}S(this,Yl,XI).call(this)}async addLinkAnnotations(t){const e={data:null,layer:this.div,linkService:f(this,vu),svgFactory:new Ap,parent:this};for(const i of t){i.borderStyle||(i.borderStyle=a8._defaultBorderStyle),e.data=i;const n=Zm.create(e);n.isRenderable&&(n.render(),n.contentElement.id=`${G1}${i.id}`,f(this,ua).push(n))}await S(this,Yl,O5).call(this)}update({viewport:t}){const e=this.div;this.viewport=t,Hh(e,{rotation:t.rotation}),S(this,Yl,XI).call(this),e.hidden=!1}getEditableAnnotations(){return f(this,mh).values()}getEditableAnnotation(t){return f(this,mh).get(t)}addFakeAnnotation(t){const{div:e}=this,{id:i,rotation:n}=t,a=new qI({data:{id:i,rect:t.getPDFRect(),rotation:n},editor:t,layer:e,parent:this,enableComment:!!this._commentManager,linkService:f(this,vu),annotationStorage:f(this,N0)});return a.render(),a.contentElement.id=`${G1}${i}`,a.createOrUpdatePopup(),f(this,ua).push(a),a}removeAnnotation(t){var n;const e=f(this,ua).findIndex(a=>a.data.id===t);if(e<0)return;const[i]=f(this,ua).splice(e,1);(n=f(this,ju))==null||n.removePointerInTextLayer(i.contentElement)}updateFakeAnnotations(t){if(t.length!==0){for(const e of t)e.updateFakeAnnotationElement(this);S(this,Yl,O5).call(this)}}togglePointerEvents(t=!1){this.div.classList.toggle("disabled",!t)}static get _defaultBorderStyle(){return pe(this,"_defaultBorderStyle",Object.freeze({width:1,rawWidth:1,style:T1.SOLID,dashArray:[3],horizontalCornerRadius:0,verticalCornerRadius:0}))}};ju=new WeakMap,yu=new WeakMap,N0=new WeakMap,mh=new WeakMap,Dw=new WeakMap,vu=new WeakMap,ua=new WeakMap,Pw=new WeakMap,Yl=new WeakSet,O5=async function(){var i,n,a;if(f(this,ua).length===0)return;this.div.replaceChildren();const t=[];if(!f(this,Pw)){x(this,Pw,!0);for(const{contentElement:r,data:{id:o}}of f(this,ua)){const l=r.id=`${G1}${o}`;t.push((i=f(this,Dw))==null?void 0:i.getAriaAttributes(l).then(c=>{if(c)for(const[h,u]of c)r.setAttribute(h,u)}))}}f(this,ua).sort(({data:{rect:[r,o,l,c]}},{data:{rect:[h,u,d,p]}})=>{if(r===l&&o===c)return 1;if(h===d&&u===p)return-1;const g=c,b=o,w=(o+c)/2,y=p,j=u,k=(u+p)/2;if(w>=y&&k<=b)return-1;if(k>=g&&w<=j)return 1;const q=(r+l)/2,A=(h+d)/2;return q-A});const e=document.createDocumentFragment();for(const r of f(this,ua))e.append(r.container),this._commentManager?(a=((n=r.extraPopupElement)==null?void 0:n.popup)||r.popup)==null||a.renderCommentButton():r.extraPopupElement&&e.append(r.extraPopupElement.render());if(this.div.append(e),await Promise.all(t),f(this,ju))for(const r of f(this,ua))f(this,ju).addPointerInTextLayer(r.contentElement,!1)},XI=function(){var e;if(!f(this,yu))return;const t=this.div;for(const[i,n]of f(this,yu)){const a=t.querySelector(`[data-annotation-id="${i}"]`);if(!a)continue;n.className="annotationContent";const{firstChild:r}=a;r?r.nodeName==="CANVAS"?r.replaceWith(n):r.classList.contains("annotationContent")?r.after(n):r.before(n):a.append(n);const o=f(this,mh).get(i);o&&(o._hasNoCanvas?((e=this._annotationEditorUIManager)==null||e.setMissingCanvas(i,a.id,n),o._hasNoCanvas=!1):o.canvas=n)}f(this,yu).clear()},m(a8,"AnnotationLayer");let KI=a8;const z9=/\r\n?|\n/g;var da,Hw,ku,pa,ci,QK,JK,ZK,N5,Ql,L5,z5,tX,QI,eX;const us=class us extends ms{constructor(e){super({...e,name:"freeTextEditor"});T(this,ci);T(this,da,"");T(this,Hw,`${this.id}-editor`);T(this,ku,null);T(this,pa);R(this,"_colorPicker",null);this.color=e.color||us._defaultColor||ms._defaultLineColor,x(this,pa,e.fontSize||us._defaultFontSize),this.annotationElementId||this._uiManager.a11yAlert("pdfjs-editor-freetext-added-alert"),this.canAddComment=!1}static get _keyboardManager(){const e=us.prototype,i=m(r=>r.isEmpty(),"arrowChecker"),n=n1.TRANSLATE_SMALL,a=n1.TRANSLATE_BIG;return pe(this,"_keyboardManager",new i1([[["ctrl+s","mac+meta+s","ctrl+p","mac+meta+p"],e.commitOrRemove,{bubbles:!0}],[["ctrl+Enter","mac+meta+Enter","Escape","mac+Escape"],e.commitOrRemove],[["ArrowLeft","mac+ArrowLeft"],e._translateEmpty,{args:[-n,0],checker:i}],[["ctrl+ArrowLeft","mac+shift+ArrowLeft"],e._translateEmpty,{args:[-a,0],checker:i}],[["ArrowRight","mac+ArrowRight"],e._translateEmpty,{args:[n,0],checker:i}],[["ctrl+ArrowRight","mac+shift+ArrowRight"],e._translateEmpty,{args:[a,0],checker:i}],[["ArrowUp","mac+ArrowUp"],e._translateEmpty,{args:[0,-n],checker:i}],[["ctrl+ArrowUp","mac+shift+ArrowUp"],e._translateEmpty,{args:[0,-a],checker:i}],[["ArrowDown","mac+ArrowDown"],e._translateEmpty,{args:[0,n],checker:i}],[["ctrl+ArrowDown","mac+shift+ArrowDown"],e._translateEmpty,{args:[0,a],checker:i}]]))}static initialize(e,i){ms.initialize(e,i);const n=getComputedStyle(document.documentElement);this._internalPadding=parseFloat(n.getPropertyValue("--freetext-padding"))}static updateDefaultParams(e,i){switch(e){case He.FREETEXT_SIZE:us._defaultFontSize=i;break;case He.FREETEXT_COLOR:us._defaultColor=i;break}}updateParams(e,i){switch(e){case He.FREETEXT_SIZE:S(this,ci,QK).call(this,i);break;case He.FREETEXT_COLOR:S(this,ci,JK).call(this,i);break}}static get defaultPropertiesToUpdate(){return[[He.FREETEXT_SIZE,us._defaultFontSize],[He.FREETEXT_COLOR,us._defaultColor||ms._defaultLineColor]]}get propertiesToUpdate(){return[[He.FREETEXT_SIZE,f(this,pa)],[He.FREETEXT_COLOR,this.color]]}get toolbarButtons(){return this._colorPicker||(this._colorPicker=new D6(this)),[["colorPicker",this._colorPicker]]}get colorType(){return He.FREETEXT_COLOR}onUpdatedColor(){var e;this.editorDiv.style.color=this.color,(e=this._colorPicker)==null||e.update(this.color),super.onUpdatedColor()}_translateEmpty(e,i){this._uiManager.translateSelectedEditors(e,i,!0)}getInitialTranslation(){const e=this.parentScale;return[-us._internalPadding*e,-(us._internalPadding+f(this,pa))*e]}rebuild(){this.parent&&(super.rebuild(),this.div!==null&&(this.isAttachedToDOM||this.parent.add(this)))}enableEditMode(){if(!super.enableEditMode())return!1;this.overlayDiv.classList.remove("enabled"),this.editorDiv.contentEditable=!0,this._isDraggable=!1,this.div.removeAttribute("aria-activedescendant"),x(this,ku,new AbortController);const e=this._uiManager.combinedSignal(f(this,ku));return this.editorDiv.addEventListener("keydown",this.editorDivKeydown.bind(this),{signal:e}),this.editorDiv.addEventListener("focus",this.editorDivFocus.bind(this),{signal:e}),this.editorDiv.addEventListener("blur",this.editorDivBlur.bind(this),{signal:e}),this.editorDiv.addEventListener("input",this.editorDivInput.bind(this),{signal:e}),this.editorDiv.addEventListener("paste",this.editorDivPaste.bind(this),{signal:e}),!0}disableEditMode(){var e;return super.disableEditMode()?(this.overlayDiv.classList.add("enabled"),this.editorDiv.contentEditable=!1,this.div.setAttribute("aria-activedescendant",f(this,Hw)),this._isDraggable=!0,(e=f(this,ku))==null||e.abort(),x(this,ku,null),this.div.focus({preventScroll:!0}),this.isEditing=!1,this.parent.div.classList.add("freetextEditing"),!0):!1}focusin(e){this._focusEventsAllowed&&(super.focusin(e),e.target!==this.editorDiv&&this.editorDiv.focus())}onceAdded(e){var i;this.width||(this.enableEditMode(),e&&this.editorDiv.focus(),(i=this._initialOptions)!=null&&i.isCentered&&this.center(),this._initialOptions=null)}isEmpty(){return!this.editorDiv||this.editorDiv.innerText.trim()===""}remove(){this.isEditing=!1,this.parent&&(this.parent.setEditingState(!0),this.parent.div.classList.add("freetextEditing")),super.remove()}commit(){if(!this.isInEditMode())return;super.commit(),this.disableEditMode();const e=f(this,da),i=x(this,da,S(this,ci,ZK).call(this).trimEnd());if(e===i)return;const n=m(a=>{if(x(this,da,a),!a){this.remove();return}S(this,ci,z5).call(this),this._uiManager.rebuild(this),S(this,ci,N5).call(this)},"setText");this.addCommands({cmd:m(()=>{n(i)},"cmd"),undo:m(()=>{n(e)},"undo"),mustExec:!1}),S(this,ci,N5).call(this)}shouldGetKeyboardEvents(){return this.isInEditMode()}enterInEditMode(){this.enableEditMode(),this.editorDiv.focus()}keydown(e){e.target===this.div&&e.key==="Enter"&&(this.enterInEditMode(),e.preventDefault())}editorDivKeydown(e){us._keyboardManager.exec(this,e)}editorDivFocus(e){this.isEditing=!0}editorDivBlur(e){this.isEditing=!1}editorDivInput(e){this.parent.div.classList.toggle("freetextEditing",this.isEmpty())}disableEditing(){this.editorDiv.setAttribute("role","comment"),this.editorDiv.removeAttribute("aria-multiline")}enableEditing(){this.editorDiv.setAttribute("role","textbox"),this.editorDiv.setAttribute("aria-multiline",!0)}get canChangeContent(){return!0}render(){if(this.div)return this.div;let e,i;(this._isCopy||this.annotationElementId)&&(e=this.x,i=this.y),super.render(),this.editorDiv=document.createElement("div"),this.editorDiv.className="internal",this.editorDiv.setAttribute("id",f(this,Hw)),this.editorDiv.setAttribute("data-l10n-id","pdfjs-free-text2"),this.editorDiv.setAttribute("data-l10n-attrs","default-content"),this.enableEditing(),this.editorDiv.contentEditable=!0;const{style:n}=this.editorDiv;if(n.fontSize=`calc(${f(this,pa)}px * var(--total-scale-factor))`,n.color=this.color,this.div.append(this.editorDiv),this.overlayDiv=document.createElement("div"),this.overlayDiv.classList.add("overlay","enabled"),this.div.append(this.overlayDiv),this._isCopy||this.annotationElementId){const[a,r]=this.parentDimensions;if(this.annotationElementId){const{position:o}=this._initialData;let[l,c]=this.getInitialTranslation();[l,c]=this.pageTranslationToScreen(l,c);const[h,u]=this.pageDimensions,[d,p]=this.pageTranslation;let g,b;switch(this.rotation){case 0:g=e+(o[0]-d)/h,b=i+this.height-(o[1]-p)/u;break;case 90:g=e+(o[0]-d)/h,b=i-(o[1]-p)/u,[l,c]=[c,-l];break;case 180:g=e-this.width+(o[0]-d)/h,b=i-(o[1]-p)/u,[l,c]=[-l,-c];break;case 270:g=e+(o[0]-d-this.height*u)/h,b=i+(o[1]-p-this.width*h)/u,[l,c]=[-c,l];break}this.setAt(g*a,b*r,l,c)}else this._moveAfterPaste(e,i);S(this,ci,z5).call(this),this._isDraggable=!0,this.editorDiv.contentEditable=!1}else this._isDraggable=!1,this.editorDiv.contentEditable=!0;return this.div}editorDivPaste(e){var g,b,w;const i=e.clipboardData||window.clipboardData,{types:n}=i;if(n.length===1&&n[0]==="text/plain")return;e.preventDefault();const a=S(g=us,Ql,QI).call(g,i.getData("text")||"").replaceAll(z9,` +`);if(!a)return;const r=window.getSelection();if(!r.rangeCount)return;this.editorDiv.normalize(),r.deleteFromDocument();const o=r.getRangeAt(0);if(!a.includes(` +`)){o.insertNode(document.createTextNode(a)),this.editorDiv.normalize(),r.collapseToStart();return}const{startContainer:l,startOffset:c}=o,h=[],u=[];if(l.nodeType===Node.TEXT_NODE){const y=l.parentElement;if(u.push(l.nodeValue.slice(c).replaceAll(z9,"")),y!==this.editorDiv){let j=h;for(const k of this.editorDiv.childNodes){if(k===y){j=u;continue}j.push(S(b=us,Ql,L5).call(b,k))}}h.push(l.nodeValue.slice(0,c).replaceAll(z9,""))}else if(l===this.editorDiv){let y=h,j=0;for(const k of this.editorDiv.childNodes)j++===c&&(y=u),y.push(S(w=us,Ql,L5).call(w,k))}x(this,da,`${h.join(` +`)}${a}${u.join(` +`)}`),S(this,ci,z5).call(this);const d=new Range;let p=Math.sumPrecise(h.map(y=>y.length));for(const{firstChild:y}of this.editorDiv.childNodes)if(y.nodeType===Node.TEXT_NODE){const j=y.nodeValue.length;if(p<=j){d.setStart(y,p),d.setEnd(y,p);break}p-=j}r.removeAllRanges(),r.addRange(d)}get contentDiv(){return this.editorDiv}getPDFRect(){const e=us._internalPadding*this.parentScale;return this.getRect(e,e)}static async deserialize(e,i,n){var o;let a=null;if(e instanceof O6){const{data:{defaultAppearanceData:{fontSize:l,fontColor:c},rect:h,rotation:u,id:d,popupRef:p,richText:g,contentsObj:b,creationDate:w,modificationDate:y},textContent:j,textPosition:k,parent:{page:{pageNumber:q}}}=e;if(!j||j.length===0)return null;a=e={annotationType:ue.FREETEXT,color:Array.from(c),fontSize:l,value:j.join(` +`),position:k,pageIndex:q-1,rect:h.slice(0),rotation:u,annotationElementId:d,id:d,deleted:!1,popupRef:p,comment:(b==null?void 0:b.str)||null,richText:g,creationDate:w,modificationDate:y}}const r=await super.deserialize(e,i,n);return x(r,pa,e.fontSize),r.color=Et.makeHexColor(...e.color),x(r,da,S(o=us,Ql,QI).call(o,e.value)),r._initialData=a,e.comment&&r.setCommentData(e),r}serialize(e=!1){if(this.isEmpty())return null;if(this.deleted)return this.serializeDeleted();const i=ms._colorManager.convert(this.isAttachedToDOM?getComputedStyle(this.editorDiv).color:this.color),n=Object.assign(super.serialize(e),{color:i,fontSize:f(this,pa),value:S(this,ci,tX).call(this)});return this.addComment(n),e?(n.isCopy=!0,n):this.annotationElementId&&!S(this,ci,eX).call(this,n)?null:(n.id=this.annotationElementId,n)}renderAnnotationElement(e){const i=super.renderAnnotationElement(e);if(!i)return null;const{style:n}=i;n.fontSize=`calc(${f(this,pa)}px * var(--total-scale-factor))`,n.color=this.color,i.replaceChildren();for(const a of f(this,da).split(` +`)){const r=document.createElement("div");r.append(a?document.createTextNode(a):document.createElement("br")),i.append(r)}return e.updateEdited({rect:this.getPDFRect(),popup:this._uiManager.hasCommentManager()||this.hasEditedComment?this.comment:{text:f(this,da)}}),i}resetAnnotationElement(e){super.resetAnnotationElement(e),e.resetEdited()}};da=new WeakMap,Hw=new WeakMap,ku=new WeakMap,pa=new WeakMap,ci=new WeakSet,QK=function(e){const i=m(a=>{this.editorDiv.style.fontSize=`calc(${a}px * var(--total-scale-factor))`,this.translate(0,-(a-f(this,pa))*this.parentScale),x(this,pa,a),S(this,ci,N5).call(this)},"setFontsize"),n=f(this,pa);this.addCommands({cmd:i.bind(this,e),undo:i.bind(this,n),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:He.FREETEXT_SIZE,overwriteIfSameType:!0,keepUndo:!0})},JK=function(e){const i=m(a=>{this.color=a,this.onUpdatedColor()},"setColor"),n=this.color;this.addCommands({cmd:i.bind(this,e),undo:i.bind(this,n),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:He.FREETEXT_COLOR,overwriteIfSameType:!0,keepUndo:!0})},ZK=function(){var n;const e=[];this.editorDiv.normalize();let i=null;for(const a of this.editorDiv.childNodes)(i==null?void 0:i.nodeType)===Node.TEXT_NODE&&a.nodeName==="BR"||(e.push(S(n=us,Ql,L5).call(n,a)),i=a);return e.join(` +`)},N5=function(){const[e,i]=this.parentDimensions;let n;if(this.isAttachedToDOM)n=this.div.getBoundingClientRect();else{const{currentLayer:a,div:r}=this,o=r.style.display,l=r.classList.contains("hidden");r.classList.remove("hidden"),r.style.display="hidden",a.div.append(this.div),n=r.getBoundingClientRect(),r.remove(),r.style.display=o,r.classList.toggle("hidden",l)}this.rotation%180===this.parentRotation%180?(this.width=n.width/e,this.height=n.height/i):(this.width=n.height/e,this.height=n.width/i),this.fixAndSetPosition()},Ql=new WeakSet,L5=function(e){return(e.nodeType===Node.TEXT_NODE?e.nodeValue:e.innerText).replaceAll(z9,"")},z5=function(){if(this.editorDiv.replaceChildren(),!!f(this,da))for(const e of f(this,da).split(` +`)){const i=document.createElement("div");i.append(e?document.createTextNode(e):document.createElement("br")),this.editorDiv.append(i)}},tX=function(){return f(this,da).replaceAll(" "," ")},QI=function(e){return e.replaceAll(" "," ")},eX=function(e){const{value:i,fontSize:n,color:a,pageIndex:r}=this._initialData;return this.hasEditedComment||this._hasBeenMoved||e.value!==i||e.fontSize!==n||e.color.some((o,l)=>o!==a[l])||e.pageIndex!==r},T(us,Ql),m(us,"FreeTextEditor"),R(us,"_freeTextDefaultContent",""),R(us,"_internalPadding",0),R(us,"_defaultColor",null),R(us,"_defaultFontSize",10),R(us,"_type","freetext"),R(us,"_editorType",ue.FREETEXT);let YI=us;const r8=class r8{toSVGPath(){We("Abstract method `toSVGPath` must be implemented.")}get box(){We("Abstract getter `box` must be implemented.")}serialize(t,e){We("Abstract method `serialize` must be implemented.")}static _rescale(t,e,i,n,a,r){r||(r=new Float32Array(t.length));for(let o=0,l=t.length;o=6;n-=6)isNaN(e[n])?i.push(`L${e[n+4]} ${e[n+5]}`):i.push(`C${e[n]} ${e[n+1]} ${e[n+2]} ${e[n+3]} ${e[n+4]} ${e[n+5]}`);return S(this,di,iX).call(this,i),i.join(" ")}newFreeDrawOutline(t,e,i,n,a,r){return new U6(t,e,i,n,a,r)}getOutlines(){var u;const t=f(this,yo),e=f(this,Tr),i=f(this,Ae),[n,a,r,o]=f(this,ma),l=new Float32Array((((u=f(this,gh))==null?void 0:u.length)??0)+2);for(let d=0,p=l.length-2;d=6;d-=6)for(let p=0;p<6;p+=2){if(isNaN(e[d+p])){c[h]=c[h+1]=NaN,h+=2;continue}c[h]=e[d+p],c[h+1]=e[d+p+1],h+=2}return S(this,di,rX).call(this,c,h),this.newFreeDrawOutline(c,l,f(this,ma),f(this,_0),f(this,L0),f(this,z0))}};ma=new WeakMap,Tr=new WeakMap,L0=new WeakMap,z0=new WeakMap,yo=new WeakMap,Ae=new WeakMap,qu=new WeakMap,xu=new WeakMap,Ow=new WeakMap,Nw=new WeakMap,_0=new WeakMap,U0=new WeakMap,gh=new WeakMap,Lw=new WeakMap,o8=new WeakMap,l8=new WeakMap,di=new WeakSet,Em=function(){const t=f(this,Ae).subarray(4,6),e=f(this,Ae).subarray(16,18),[i,n,a,r]=f(this,ma);return[(f(this,qu)+(t[0]-e[0])/2-i)/a,(f(this,xu)+(t[1]-e[1])/2-n)/r,(f(this,qu)+(e[0]-t[0])/2-i)/a,(f(this,xu)+(e[1]-t[1])/2-n)/r]},sX=function(){const[t,e,i,n]=f(this,ma),[a,r,o,l]=S(this,di,Em).call(this);return`M${(f(this,Ae)[2]-t)/i} ${(f(this,Ae)[3]-e)/n} L${(f(this,Ae)[4]-t)/i} ${(f(this,Ae)[5]-e)/n} L${a} ${r} L${o} ${l} L${(f(this,Ae)[16]-t)/i} ${(f(this,Ae)[17]-e)/n} L${(f(this,Ae)[14]-t)/i} ${(f(this,Ae)[15]-e)/n} Z`},iX=function(t){const e=f(this,Tr);t.push(`L${e[4]} ${e[5]} Z`)},nX=function(t){const[e,i,n,a]=f(this,ma),r=f(this,Ae).subarray(4,6),o=f(this,Ae).subarray(16,18),[l,c,h,u]=S(this,di,Em).call(this);t.push(`L${(r[0]-e)/n} ${(r[1]-i)/a} L${l} ${c} L${h} ${u} L${(o[0]-e)/n} ${(o[1]-i)/a}`)},aX=function(t){const e=f(this,Ae),[i,n,a,r]=f(this,ma),[o,l,c,h]=S(this,di,Em).call(this),u=new Float32Array(36);return u.set([NaN,NaN,NaN,NaN,(e[2]-i)/a,(e[3]-n)/r,NaN,NaN,NaN,NaN,(e[4]-i)/a,(e[5]-n)/r,NaN,NaN,NaN,NaN,o,l,NaN,NaN,NaN,NaN,c,h,NaN,NaN,NaN,NaN,(e[16]-i)/a,(e[17]-n)/r,NaN,NaN,NaN,NaN,(e[14]-i)/a,(e[15]-n)/r],0),this.newFreeDrawOutline(u,t,f(this,ma),f(this,_0),f(this,L0),f(this,z0))},rX=function(t,e){const i=f(this,Tr);return t.set([NaN,NaN,NaN,NaN,i[4],i[5]],e),e+=6},oX=function(t,e){const i=f(this,Ae).subarray(4,6),n=f(this,Ae).subarray(16,18),[a,r,o,l]=f(this,ma),[c,h,u,d]=S(this,di,Em).call(this);return t.set([NaN,NaN,NaN,NaN,(i[0]-a)/o,(i[1]-r)/l,NaN,NaN,NaN,NaN,c,h,NaN,NaN,NaN,NaN,u,d,NaN,NaN,NaN,NaN,(n[0]-a)/o,(n[1]-r)/l],e),e+=24},m(so,"FreeDrawOutliner"),T(so,Lw,8),T(so,o8,2),T(so,l8,f(so,Lw)+f(so,o8));let _6=so;var G0,Au,Tl,zw,ga,_w,Ks,c8,lX;const $z=class $z extends Ot{constructor(e,i,n,a,r,o){super();T(this,c8);T(this,G0);T(this,Au,new Float32Array(4));T(this,Tl);T(this,zw);T(this,ga);T(this,_w);T(this,Ks);x(this,Ks,e),x(this,ga,i),x(this,G0,n),x(this,_w,a),x(this,Tl,r),x(this,zw,o),this.firstPoint=[NaN,NaN],this.lastPoint=[NaN,NaN],S(this,c8,lX).call(this,o);const[l,c,h,u]=f(this,Au);for(let d=0,p=e.length;dy?(o=w,l=y):l===y&&(o=u(o,w)),hd[1]?(o=d[0],l=d[1]):l===d[1]&&(o=u(o,d[0])),he[0]-i[0]||e[1]-i[1]||e[2]-i[2]);const t=[];for(const e of f(this,bh))e[3]?(t.push(...S(this,Fn,JI).call(this,e)),S(this,Fn,hX).call(this,e)):(S(this,Fn,fX).call(this,e),t.push(...S(this,Fn,JI).call(this,e)));return S(this,Fn,cX).call(this,t)}};Uw=new WeakMap,Gw=new WeakMap,$w=new WeakMap,bh=new WeakMap,Fr=new WeakMap,Fn=new WeakSet,cX=function(t){const e=[],i=new Set;for(const r of t){const[o,l,c]=r;e.push([o,l,r],[o,c,r])}e.sort((r,o)=>r[1]-o[1]||r[0]-o[0]);for(let r=0,o=e.length;r0;){const r=i.values().next().value;let[o,l,c,h,u]=r;i.delete(r);let d=o,p=l;for(a=[o,c],n.push(a);;){let g;if(i.has(h))g=h;else if(i.has(u))g=u;else break;i.delete(g),[o,l,c,h,u]=g,d!==o&&(a.push(d,p,o,p===l?l:c),d=o),p=p===l?c:l}a.push(d,p)}return new ZI(n,f(this,Uw),f(this,Gw),f(this,$w))},_5=function(t){const e=f(this,Fr);let i=0,n=e.length-1;for(;i<=n;){const a=i+n>>1,r=e[a][0];if(r===t)return a;r=0;n--){const[a,r]=f(this,Fr)[n];if(a!==t)break;if(a===t&&r===e){f(this,Fr).splice(n,1);return}}},JI=function(t){const[e,i,n]=t,a=[[e,i,n]],r=S(this,Fn,_5).call(this,n);for(let o=0;o=l){if(p>c)a[h][1]=c;else{if(u===1)return[];a.splice(h,1),h--,u--}continue}a[h][2]=l,p>c&&a.push([e,c,p])}}}return a},m(Vz,"HighlightOutliner");let Bb=Vz;var Vw,$0;const Wz=class Wz extends Ot{constructor(e,i,n,a){super();T(this,Vw);T(this,$0);x(this,$0,e),x(this,Vw,i),this.firstPoint=n,this.lastPoint=a}toSVGPath(){const e=[];for(const i of f(this,$0)){let[n,a]=i;e.push(`M${n} ${a}`);for(let r=2;r-1?(x(this,_i,!0),S(this,je,U5).call(this,e),S(this,je,Vh).call(this)):f(this,Fl)&&(x(this,V0,e.anchorNode),x(this,Ww,e.anchorOffset),x(this,Xw,e.focusNode),x(this,Yw,e.focusOffset),S(this,je,eT).call(this),S(this,je,Vh).call(this),this.rotate(this.rotation)),this.annotationElementId||this._uiManager.a11yAlert("pdfjs-editor-highlight-added-alert")}static get _keyboardManager(){const e=_e.prototype;return pe(this,"_keyboardManager",new i1([[["ArrowLeft","mac+ArrowLeft"],e._moveCaret,{args:[0]}],[["ArrowRight","mac+ArrowRight"],e._moveCaret,{args:[1]}],[["ArrowUp","mac+ArrowUp"],e._moveCaret,{args:[2]}],[["ArrowDown","mac+ArrowDown"],e._moveCaret,{args:[3]}]]))}get telemetryInitialData(){return{action:"added",type:f(this,_i)?"free_highlight":"highlight",color:this._uiManager.getNonHCMColorName(this.color),thickness:f(this,Za),methodOfCreation:f(this,Qw)}}get telemetryFinalData(){return{type:"highlight",color:this._uiManager.getNonHCMColorName(this.color)}}static computeTelemetryFinalData(e){return{numberOfColors:e.get("color").size}}static initialize(e,i){var n;ms.initialize(e,i),_e._defaultColor||(_e._defaultColor=((n=i.highlightColors)==null?void 0:n.values().next().value)||"#fff066")}static updateDefaultParams(e,i){switch(e){case He.HIGHLIGHT_COLOR:_e._defaultColor=i;break;case He.HIGHLIGHT_THICKNESS:_e._defaultThickness=i;break}}translateInPage(e,i){}get toolbarPosition(){return f(this,K0)}get commentButtonPosition(){return f(this,W0)}updateParams(e,i){switch(e){case He.HIGHLIGHT_COLOR:S(this,je,uX).call(this,i);break;case He.HIGHLIGHT_THICKNESS:S(this,je,dX).call(this,i);break}}static get defaultPropertiesToUpdate(){return[[He.HIGHLIGHT_COLOR,_e._defaultColor],[He.HIGHLIGHT_THICKNESS,_e._defaultThickness]]}get propertiesToUpdate(){return[[He.HIGHLIGHT_COLOR,this.color||_e._defaultColor],[He.HIGHLIGHT_THICKNESS,f(this,Za)||_e._defaultThickness],[He.HIGHLIGHT_FREE,f(this,_i)]]}onUpdatedColor(){var e,i;(e=this.parent)==null||e.drawLayer.updateProperties(f(this,wa),{root:{fill:this.color,"fill-opacity":this.opacity}}),(i=f(this,Kw))==null||i.updateColor(this.color),super.onUpdatedColor()}get toolbarButtons(){return this._uiManager.highlightColors?[["colorPicker",x(this,Kw,new B6({editor:this}))]]:super.toolbarButtons}disableEditing(){super.disableEditing(),this.div.classList.toggle("disabled",!0)}enableEditing(){super.enableEditing(),this.div.classList.toggle("disabled",!1)}fixAndSetPosition(){return super.fixAndSetPosition(S(this,je,$5).call(this))}getBaseTranslation(){return[0,0]}getRect(e,i){return super.getRect(e,i,S(this,je,$5).call(this))}onceAdded(e){this.annotationElementId||this.parent.addUndoableEditor(this),e&&this.div.focus()}remove(){S(this,je,sT).call(this),this._reportTelemetry({action:"deleted"}),super.remove()}rebuild(){this.parent&&(super.rebuild(),this.div!==null&&(S(this,je,Vh).call(this),this.isAttachedToDOM||this.parent.add(this)))}setParent(e){var n;let i=!1;this.parent&&!e?S(this,je,sT).call(this):e&&(S(this,je,Vh).call(this,e),i=!this.parent&&((n=this.div)==null?void 0:n.classList.contains("selectedEditor"))),super.setParent(e),this.show(this._isVisible),i&&this.select()}rotate(e){var a,r,o;const{drawLayer:i}=this.parent;let n;f(this,_i)?(e=(e-this.rotation+360)%360,n=S(a=_e,nr,O1).call(a,f(this,ba).box,e)):n=S(r=_e,nr,O1).call(r,[this.x,this.y,this.width,this.height],e),i.updateProperties(f(this,wa),{bbox:n,root:{"data-main-rotation":e}}),i.updateProperties(f(this,cn),{bbox:S(o=_e,nr,O1).call(o,f(this,Un).box,e),root:{"data-main-rotation":e}})}render(){if(this.div)return this.div;const e=super.render();f(this,X0)&&(e.setAttribute("aria-label",f(this,X0)),e.setAttribute("role","mark")),f(this,_i)?e.classList.add("free"):this.div.addEventListener("keydown",S(this,je,mX).bind(this),{signal:this._uiManager._signal});const i=x(this,Cu,document.createElement("div"));return e.append(i),i.setAttribute("aria-hidden","true"),i.className="internal",i.style.clipPath=f(this,Su),this.setDims(),EF(this,f(this,Cu),["pointerover","pointerleave"]),this.enableEditing(),e}pointerover(){var e;this.isSelected||((e=this.parent)==null||e.drawLayer.updateProperties(f(this,cn),{rootClass:{hovered:!0}}))}pointerleave(){var e;this.isSelected||((e=this.parent)==null||e.drawLayer.updateProperties(f(this,cn),{rootClass:{hovered:!1}}))}_moveCaret(e){switch(this.parent.unselect(this),e){case 0:case 2:S(this,je,G5).call(this,!0);break;case 1:case 3:S(this,je,G5).call(this,!1);break}}select(){var e;super.select(),f(this,cn)&&((e=this.parent)==null||e.drawLayer.updateProperties(f(this,cn),{rootClass:{hovered:!1,selected:!0}}))}unselect(){var e;super.unselect(),f(this,cn)&&((e=this.parent)==null||e.drawLayer.updateProperties(f(this,cn),{rootClass:{selected:!1}}),f(this,_i)||S(this,je,G5).call(this,!1))}get _mustFixPosition(){return!f(this,_i)}show(e=this._isVisible){super.show(e),this.parent&&(this.parent.drawLayer.updateProperties(f(this,wa),{rootClass:{hidden:!e}}),this.parent.drawLayer.updateProperties(f(this,cn),{rootClass:{hidden:!e}}))}static startHighlighting(e,i,{target:n,x:a,y:r}){const{x:o,y:l,width:c,height:h}=n.getBoundingClientRect(),u=new AbortController,d=e.combinedSignal(u),p=m(g=>{u.abort(),S(this,nr,jX).call(this,e,g)},"pointerUpCallback");window.addEventListener("blur",p,{signal:d}),window.addEventListener("pointerup",p,{signal:d}),window.addEventListener("pointerdown",Is,{capture:!0,passive:!1,signal:d}),window.addEventListener("contextmenu",Ra,{signal:d}),n.addEventListener("pointermove",S(this,nr,wX).bind(this,e),{signal:d}),this._freeHighlight=new Db({x:a,y:r},[o,l,c,h],e.scale,this._defaultThickness/2,i,.001),{id:this._freeHighlightId,clipPathId:this._freeHighlightClipId}=e.drawLayer.draw({bbox:[0,0,1,1],root:{viewBox:"0 0 1 1",fill:this._defaultColor,"fill-opacity":this._defaultOpacity},rootClass:{highlight:!0,free:!0},path:{d:this._freeHighlight.toSVGPath()}},!0,!0)}static async deserialize(e,i,n){var w,y,j,k;let a=null;if(e instanceof L6){const{data:{quadPoints:q,rect:A,rotation:I,id:C,color:F,opacity:E,popupRef:D,richText:M,contentsObj:_,creationDate:G,modificationDate:K},parent:{page:{pageNumber:it}}}=e;a=e={annotationType:ue.HIGHLIGHT,color:Array.from(F),opacity:E,quadPoints:q,boxes:null,pageIndex:it-1,rect:A.slice(0),rotation:I,annotationElementId:C,id:C,deleted:!1,popupRef:D,richText:M,comment:(_==null?void 0:_.str)||null,creationDate:G,modificationDate:K}}else if(e instanceof Mb){const{data:{inkLists:q,rect:A,rotation:I,id:C,color:F,borderStyle:{rawWidth:E},popupRef:D,richText:M,contentsObj:_,creationDate:G,modificationDate:K},parent:{page:{pageNumber:it}}}=e;a=e={annotationType:ue.HIGHLIGHT,color:Array.from(F),thickness:E,inkLists:q,boxes:null,pageIndex:it-1,rect:A.slice(0),rotation:I,annotationElementId:C,id:C,deleted:!1,popupRef:D,richText:M,comment:(_==null?void 0:_.str)||null,creationDate:G,modificationDate:K}}const{color:r,quadPoints:o,inkLists:l,outlines:c,opacity:h}=e,u=await super.deserialize(e,i,n);u.color=Et.makeHexColor(...r),u.opacity=h||1,l&&x(u,Za,e.thickness),u._initialData=a,e.comment&&u.setCommentData(e);const[d,p]=u.pageDimensions,[g,b]=u.pageTranslation;if(o){const q=x(u,Fl,[]);for(let A=0;A=0)x(this,wa,i),x(this,Su,n),this.parent.drawLayer.finalizeDraw(i,{bbox:e.box,path:{d:e.toSVGPath()}}),x(this,cn,this.parent.drawLayer.drawOutline({rootClass:{highlightOutline:!0,free:!0},bbox:f(this,Un).box,path:{d:f(this,Un).toSVGPath()}},!0));else if(this.parent){const g=this.parent.viewport.rotation;this.parent.drawLayer.updateProperties(f(this,wa),{bbox:S(d=_e,nr,O1).call(d,f(this,ba).box,(g-this.rotation+360)%360),path:{d:e.toSVGPath()}}),this.parent.drawLayer.updateProperties(f(this,cn),{bbox:S(p=_e,nr,O1).call(p,f(this,Un).box,g),path:{d:f(this,Un).toSVGPath()}})}const[r,o,l,c]=e.box;switch(this.rotation){case 0:this.x=r,this.y=o,this.width=l,this.height=c;break;case 90:{const[g,b]=this.parentDimensions;this.x=o,this.y=1-r,this.width=l*b/g,this.height=c*g/b;break}case 180:this.x=1-r,this.y=1-o,this.width=l,this.height=c;break;case 270:{const[g,b]=this.parentDimensions;this.x=1-o,this.y=r,this.width=l*b/g,this.height=c*g/b;break}}const{firstPoint:h}=e;x(this,W0,[(h[0]-r)/l,(h[1]-o)/c]);const{lastPoint:u}=f(this,Un);x(this,K0,[(u[0]-r)/l,(u[1]-o)/c])},uX=function(e){const i=m((r,o)=>{this.color=r,this.opacity=o,this.onUpdatedColor()},"setColorAndOpacity"),n=this.color,a=this.opacity;this.addCommands({cmd:i.bind(this,e,_e._defaultOpacity),undo:i.bind(this,n,a),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:He.HIGHLIGHT_COLOR,overwriteIfSameType:!0,keepUndo:!0}),this._reportTelemetry({action:"color_changed",color:this._uiManager.getNonHCMColorName(e)},!0)},dX=function(e){const i=f(this,Za),n=m(a=>{x(this,Za,a),S(this,je,pX).call(this,a)},"setThickness");this.addCommands({cmd:n.bind(this,e),undo:n.bind(this,i),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:He.INK_THICKNESS,overwriteIfSameType:!0,keepUndo:!0}),this._reportTelemetry({action:"thickness_changed",thickness:e},!0)},pX=function(e){f(this,_i)&&(S(this,je,U5).call(this,{highlightOutlines:f(this,ba).getNewOutline(e/2)}),this.fixAndSetPosition(),this.setDims())},sT=function(){f(this,wa)===null||!this.parent||(this.parent.drawLayer.remove(f(this,wa)),x(this,wa,null),this.parent.drawLayer.remove(f(this,cn)),x(this,cn,null))},Vh=function(e=this.parent){f(this,wa)===null&&({id:Gs(this,wa)._,clipPathId:Gs(this,Su)._}=e.drawLayer.draw({bbox:f(this,ba).box,root:{viewBox:"0 0 1 1",fill:this.color,"fill-opacity":this.opacity},rootClass:{highlight:!0,free:f(this,_i)},path:{d:f(this,ba).toSVGPath()}},!1,!0),x(this,cn,e.drawLayer.drawOutline({rootClass:{highlightOutline:!0,free:f(this,_i)},bbox:f(this,Un).box,path:{d:f(this,Un).toSVGPath()}},f(this,_i))),f(this,Cu)&&(f(this,Cu).style.clipPath=f(this,Su)))},nr=new WeakSet,O1=function([e,i,n,a],r){switch(r){case 90:return[1-i-a,e,a,n];case 180:return[1-e-n,1-i-a,n,a];case 270:return[i,1-e-n,a,n]}return[e,i,n,a]},mX=function(e){_e._keyboardManager.exec(this,e)},G5=function(e){if(!f(this,V0))return;const i=window.getSelection();e?i.setPosition(f(this,V0),f(this,Ww)):i.setPosition(f(this,Xw),f(this,Yw))},$5=function(){return f(this,_i)?this.rotation:0},gX=function(){if(f(this,_i))return null;const[e,i]=this.pageDimensions,[n,a]=this.pageTranslation,r=f(this,Fl),o=new Float32Array(r.length*8);let l=0;for(const{x:c,y:h,width:u,height:d}of r){const p=c*e+n,g=(1-h)*i+a;o[l]=o[l+4]=p,o[l+1]=o[l+3]=g,o[l+2]=o[l+6]=p+u*e,o[l+5]=o[l+7]=g-d*i,l+=8}return o},bX=function(e){return f(this,ba).serialize(e,S(this,je,$5).call(this))},wX=function(e,i){this._freeHighlight.add(i)&&e.drawLayer.updateProperties(this._freeHighlightId,{path:{d:this._freeHighlight.toSVGPath()}})},jX=function(e,i){this._freeHighlight.isEmpty()?e.drawLayer.remove(this._freeHighlightId):e.createAndAddNewEditor(i,!1,{highlightId:this._freeHighlightId,highlightOutlines:this._freeHighlight.getOutlines(),clipPathId:this._freeHighlightClipId,methodOfCreation:"main_toolbar"}),this._freeHighlightId=-1,this._freeHighlight=null,this._freeHighlightClipId=""},yX=function(e){const{color:i}=this._initialData;return this.hasEditedComment||e.color.some((n,a)=>n!==i[a])},T(_e,nr),m(_e,"HighlightEditor"),R(_e,"_defaultColor",null),R(_e,"_defaultOpacity",1),R(_e,"_defaultThickness",12),R(_e,"_type","highlight"),R(_e,"_editorType",ue.HIGHLIGHT),R(_e,"_freeHighlightId",-1),R(_e,"_freeHighlight",null),R(_e,"_freeHighlightClipId","");let G6=_e;var Iu;const Yz=class Yz{constructor(){T(this,Iu,Object.create(null))}updateProperty(t,e){this[t]=e,this.updateSVGProperty(t,e)}updateProperties(t){if(t)for(const[e,i]of Object.entries(t))e.startsWith("_")||this.updateProperty(e,i)}updateSVGProperty(t,e){f(this,Iu)[t]=e}toSVGProperties(){const t=f(this,Iu);return x(this,Iu,Object.create(null)),{root:t}}reset(){x(this,Iu,Object.create(null))}updateAll(t=this){this.updateProperties(t)}clone(){We("Not implemented")}};Iu=new WeakMap,m(Yz,"DrawingOptions");let $6=Yz;var ja,Y0,yi,Tu,Fu,Le,iT,nT,aT,Rm,vX,V5,Mm,N1;const Ie=class Ie extends ms{constructor(e){super(e);T(this,Le);T(this,ja,null);T(this,Y0);R(this,"_colorPicker",null);R(this,"_drawId",null);x(this,Y0,e.mustBeCommitted||!1),this._addOutlines(e)}onUpdatedColor(){var e;(e=this._colorPicker)==null||e.update(this.color),super.onUpdatedColor()}_addOutlines(e){e.drawOutlines&&(S(this,Le,iT).call(this,e),S(this,Le,Rm).call(this))}static _mergeSVGProperties(e,i){const n=new Set(Object.keys(e));for(const[a,r]of Object.entries(i))n.has(a)?Object.assign(e[a],r):e[a]=r;return e}static getDefaultDrawingOptions(e){We("Not implemented")}static get typesMap(){We("Not implemented")}static get isDrawer(){return!0}static get supportMultipleDrawings(){return!1}static updateDefaultParams(e,i){const n=this.typesMap.get(e);n&&this._defaultDrawingOptions.updateProperty(n,i),this._currentParent&&(f(Ie,yi).updateProperty(n,i),this._currentParent.drawLayer.updateProperties(this._currentDrawId,this._defaultDrawingOptions.toSVGProperties()))}updateParams(e,i){const n=this.constructor.typesMap.get(e);n&&this._updateProperty(e,n,i)}static get defaultPropertiesToUpdate(){const e=[],i=this._defaultDrawingOptions;for(const[n,a]of this.typesMap)e.push([n,i[a]]);return e}get propertiesToUpdate(){const e=[],{_drawingOptions:i}=this;for(const[n,a]of this.constructor.typesMap)e.push([n,i[a]]);return e}_updateProperty(e,i,n){const a=this._drawingOptions,r=a[i],o=m(l=>{var h;a.updateProperty(i,l);const c=f(this,ja).updateProperty(i,l);c&&S(this,Le,Mm).call(this,c),(h=this.parent)==null||h.drawLayer.updateProperties(this._drawId,a.toSVGProperties()),e===this.colorType&&this.onUpdatedColor()},"setter");this.addCommands({cmd:o.bind(this,n),undo:o.bind(this,r),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:e,overwriteIfSameType:!0,keepUndo:!0})}_onResizing(){var e;(e=this.parent)==null||e.drawLayer.updateProperties(this._drawId,Ie._mergeSVGProperties(f(this,ja).getPathResizingSVGProperties(S(this,Le,V5).call(this)),{bbox:S(this,Le,N1).call(this)}))}_onResized(){var e;(e=this.parent)==null||e.drawLayer.updateProperties(this._drawId,Ie._mergeSVGProperties(f(this,ja).getPathResizedSVGProperties(S(this,Le,V5).call(this)),{bbox:S(this,Le,N1).call(this)}))}_onTranslating(e,i){var n;(n=this.parent)==null||n.drawLayer.updateProperties(this._drawId,{bbox:S(this,Le,N1).call(this)})}_onTranslated(){var e;(e=this.parent)==null||e.drawLayer.updateProperties(this._drawId,Ie._mergeSVGProperties(f(this,ja).getPathTranslatedSVGProperties(S(this,Le,V5).call(this),this.parentDimensions),{bbox:S(this,Le,N1).call(this)}))}_onStartDragging(){var e;(e=this.parent)==null||e.drawLayer.updateProperties(this._drawId,{rootClass:{moving:!0}})}_onStopDragging(){var e;(e=this.parent)==null||e.drawLayer.updateProperties(this._drawId,{rootClass:{moving:!1}})}commit(){super.commit(),this.disableEditMode(),this.disableEditing()}disableEditing(){super.disableEditing(),this.div.classList.toggle("disabled",!0)}enableEditing(){super.enableEditing(),this.div.classList.toggle("disabled",!1)}getBaseTranslation(){return[0,0]}get isResizable(){return!0}onceAdded(e){this.annotationElementId||this.parent.addUndoableEditor(this),this._isDraggable=!0,f(this,Y0)&&(x(this,Y0,!1),this.commit(),this.parent.setSelected(this),e&&this.isOnScreen&&this.div.focus())}remove(){S(this,Le,aT).call(this),super.remove()}rebuild(){this.parent&&(super.rebuild(),this.div!==null&&(S(this,Le,Rm).call(this),S(this,Le,Mm).call(this,f(this,ja).box),this.isAttachedToDOM||this.parent.add(this)))}setParent(e){var n;let i=!1;this.parent&&!e?(this._uiManager.removeShouldRescale(this),S(this,Le,aT).call(this)):e&&(this._uiManager.addShouldRescale(this),S(this,Le,Rm).call(this,e),i=!this.parent&&((n=this.div)==null?void 0:n.classList.contains("selectedEditor"))),super.setParent(e),i&&this.select()}rotate(){this.parent&&this.parent.drawLayer.updateProperties(this._drawId,Ie._mergeSVGProperties({bbox:S(this,Le,N1).call(this)},f(this,ja).updateRotation((this.parentRotation-this.rotation+360)%360)))}onScaleChanging(){this.parent&&S(this,Le,Mm).call(this,f(this,ja).updateParentDimensions(this.parentDimensions,this.parent.scale))}static onScaleChangingWhenDrawing(){}render(){if(this.div)return this.div;let e,i;this._isCopy&&(e=this.x,i=this.y);const n=super.render();n.classList.add("draw");const a=document.createElement("div");return n.append(a),a.setAttribute("aria-hidden","true"),a.className="internal",this.setDims(),this._uiManager.addShouldRescale(this),this.disableEditing(),this._isCopy&&this._moveAfterPaste(e,i),n}static createDrawerInstance(e,i,n,a,r){We("Not implemented")}static startDrawing(e,i,n,a){var w;const{target:r,offsetX:o,offsetY:l,pointerId:c,pointerType:h}=a;if(nn.isInitializedAndDifferentPointerType(h))return;const{viewport:{rotation:u}}=e,{width:d,height:p}=r.getBoundingClientRect(),g=x(Ie,Tu,new AbortController),b=e.combinedSignal(g);if(nn.setPointer(h,c),window.addEventListener("pointerup",y=>{nn.isSamePointerIdOrRemove(y.pointerId)&&this._endDraw(y)},{signal:b}),window.addEventListener("pointercancel",y=>{nn.isSamePointerIdOrRemove(y.pointerId)&&this._currentParent.endDrawingSession()},{signal:b}),window.addEventListener("pointerdown",y=>{nn.isSamePointerType(y.pointerType)&&(nn.initializeAndAddPointerId(y.pointerId),f(Ie,yi).isCancellable()&&(f(Ie,yi).removeLastElement(),f(Ie,yi).isEmpty()?this._currentParent.endDrawingSession(!0):this._endDraw(null)))},{capture:!0,passive:!1,signal:b}),window.addEventListener("contextmenu",Ra,{signal:b}),r.addEventListener("pointermove",this._drawMove.bind(this),{signal:b}),r.addEventListener("touchmove",y=>{nn.isSameTimeStamp(y.timeStamp)&&Is(y)},{signal:b}),e.toggleDrawing(),(w=i._editorUndoBar)==null||w.hide(),f(Ie,yi)){e.drawLayer.updateProperties(this._currentDrawId,f(Ie,yi).startNew(o,l,d,p,u));return}i.updateUIForDefaultProperties(this),x(Ie,yi,this.createDrawerInstance(o,l,d,p,u)),x(Ie,Fu,this.getDefaultDrawingOptions()),this._currentParent=e,{id:this._currentDrawId}=e.drawLayer.draw(this._mergeSVGProperties(f(Ie,Fu).toSVGProperties(),f(Ie,yi).defaultSVGProperties),!0,!1)}static _drawMove(e){if(nn.isSameTimeStamp(e.timeStamp),!f(Ie,yi))return;const{offsetX:i,offsetY:n,pointerId:a}=e;if(nn.isSamePointerId(a)){if(nn.isUsingMultiplePointers()){this._endDraw(e);return}this._currentParent.drawLayer.updateProperties(this._currentDrawId,f(Ie,yi).add(i,n)),nn.setTimeStamp(e.timeStamp),Is(e)}}static _cleanup(e){e&&(this._currentDrawId=-1,this._currentParent=null,x(Ie,yi,null),x(Ie,Fu,null),nn.clearTimeStamp()),f(Ie,Tu)&&(f(Ie,Tu).abort(),x(Ie,Tu,null),nn.clearPointerIds())}static _endDraw(e){const i=this._currentParent;if(i){if(i.toggleDrawing(!0),this._cleanup(!1),(e==null?void 0:e.target)===i.div&&i.drawLayer.updateProperties(this._currentDrawId,f(Ie,yi).end(e.offsetX,e.offsetY)),this.supportMultipleDrawings){const n=f(Ie,yi),a=this._currentDrawId,r=n.getLastElement();i.addCommands({cmd:m(()=>{i.drawLayer.updateProperties(a,n.setLastElement(r))},"cmd"),undo:m(()=>{i.drawLayer.updateProperties(a,n.removeLastElement())},"undo"),mustExec:!1,type:He.DRAW_STEP});return}this.endDrawing(!1)}}static endDrawing(e){const i=this._currentParent;if(!i)return null;if(i.toggleDrawing(!0),i.cleanUndoStack(He.DRAW_STEP),!f(Ie,yi).isEmpty()){const{pageDimensions:[n,a],scale:r}=i,o=i.createAndAddNewEditor({offsetX:0,offsetY:0},!1,{drawId:this._currentDrawId,drawOutlines:f(Ie,yi).getOutlines(n*r,a*r,r,this._INNER_MARGIN),drawingOptions:f(Ie,Fu),mustBeCommitted:!e});return this._cleanup(!0),o}return i.drawLayer.remove(this._currentDrawId),this._cleanup(!0),null}createDrawingOptions(e){}static deserializeDraw(e,i,n,a,r,o){We("Not implemented")}static async deserialize(e,i,n){var u,d;const{rawDims:{pageWidth:a,pageHeight:r,pageX:o,pageY:l}}=i.viewport,c=this.deserializeDraw(o,l,a,r,this._INNER_MARGIN,e),h=await super.deserialize(e,i,n);return h.createDrawingOptions(e),S(u=h,Le,iT).call(u,{drawOutlines:c}),S(d=h,Le,Rm).call(d),h.onScaleChanging(),h.rotate(),h}serializeDraw(e){const[i,n]=this.pageTranslation,[a,r]=this.pageDimensions;return f(this,ja).serialize([i,n,a,r],e)}renderAnnotationElement(e){return e.updateEdited({rect:this.getPDFRect()}),null}static canCreateNewEmptyEditor(){return!1}};ja=new WeakMap,Y0=new WeakMap,yi=new WeakMap,Tu=new WeakMap,Fu=new WeakMap,Le=new WeakSet,iT=function({drawOutlines:e,drawId:i,drawingOptions:n}){x(this,ja,e),this._drawingOptions||(this._drawingOptions=n),this.annotationElementId||this._uiManager.a11yAlert(`pdfjs-editor-${this.editorType}-added-alert`),i>=0?(this._drawId=i,this.parent.drawLayer.finalizeDraw(i,e.defaultProperties)):this._drawId=S(this,Le,nT).call(this,e,this.parent),S(this,Le,Mm).call(this,e.box)},nT=function(e,i){const{id:n}=i.drawLayer.draw(Ie._mergeSVGProperties(this._drawingOptions.toSVGProperties(),e.defaultSVGProperties),!1,!1);return n},aT=function(){this._drawId===null||!this.parent||(this.parent.drawLayer.remove(this._drawId),this._drawId=null,this._drawingOptions.reset())},Rm=function(e=this.parent){if(!(this._drawId!==null&&this.parent===e)){if(this._drawId!==null){this.parent.drawLayer.updateParent(this._drawId,e.drawLayer);return}this._drawingOptions.updateAll(),this._drawId=S(this,Le,nT).call(this,f(this,ja),e)}},vX=function([e,i,n,a]){const{parentDimensions:[r,o],rotation:l}=this;switch(l){case 90:return[i,1-e,n*(o/r),a*(r/o)];case 180:return[1-e,1-i,n,a];case 270:return[1-i,e,n*(o/r),a*(r/o)];default:return[e,i,n,a]}},V5=function(){const{x:e,y:i,width:n,height:a,parentDimensions:[r,o],rotation:l}=this;switch(l){case 90:return[1-i,e,n*(r/o),a*(o/r)];case 180:return[1-e,1-i,n,a];case 270:return[i,1-e,n*(r/o),a*(o/r)];default:return[e,i,n,a]}},Mm=function(e){[this.x,this.y,this.width,this.height]=S(this,Le,vX).call(this,e),this.div&&(this.fixAndSetPosition(),this.setDims()),this._onResized()},N1=function(){const{x:e,y:i,width:n,height:a,rotation:r,parentRotation:o,parentDimensions:[l,c]}=this;switch((r*4+o)/90){case 1:return[1-i-a,e,a,n];case 2:return[1-e-n,1-i-a,n,a];case 3:return[i,1-e-n,a,n];case 4:return[e,i-n*(l/c),a*(c/l),n*(l/c)];case 5:return[1-i,e,n*(l/c),a*(c/l)];case 6:return[1-e-a*(c/l),1-i,a*(c/l),n*(l/c)];case 7:return[i-n*(l/c),1-e-a*(c/l),n*(l/c),a*(c/l)];case 8:return[e-n,i-a,n,a];case 9:return[1-i,e-n,a,n];case 10:return[1-e,1-i,n,a];case 11:return[i-a,1-e,a,n];case 12:return[e-a*(c/l),i,a*(c/l),n*(l/c)];case 13:return[1-i-n*(l/c),e-a*(c/l),n*(l/c),a*(c/l)];case 14:return[1-e,1-i-n*(l/c),a*(c/l),n*(l/c)];case 15:return[i,1-e,n*(l/c),a*(c/l)];default:return[e,i,n,a]}},m(Ie,"DrawingEditor"),R(Ie,"_currentDrawId",-1),R(Ie,"_currentParent",null),T(Ie,yi,null),T(Ie,Tu,null),T(Ie,Fu,null),R(Ie,"_INNER_MARGIN",3);let V6=Ie;var vo,vi,ki,Eu,Q0,qn,Ui,tr,Ru,Mu,Bu,J0,W5;const Qz=class Qz{constructor(t,e,i,n,a,r){T(this,J0);T(this,vo,new Float64Array(6));T(this,vi);T(this,ki);T(this,Eu);T(this,Q0);T(this,qn);T(this,Ui,"");T(this,tr,0);T(this,Ru,new r1);T(this,Mu);T(this,Bu);x(this,Mu,i),x(this,Bu,n),x(this,Eu,a),x(this,Q0,r),[t,e]=S(this,J0,W5).call(this,t,e);const o=x(this,vi,[NaN,NaN,NaN,NaN,t,e]);x(this,qn,[t,e]),x(this,ki,[{line:o,points:f(this,qn)}]),f(this,vo).set(o,0)}updateProperty(t,e){t==="stroke-width"&&x(this,Q0,e)}isEmpty(){return!f(this,ki)||f(this,ki).length===0}isCancellable(){return f(this,qn).length<=10}add(t,e){[t,e]=S(this,J0,W5).call(this,t,e);const[i,n,a,r]=f(this,vo).subarray(2,6),o=t-a,l=e-r;return Math.hypot(f(this,Mu)*o,f(this,Bu)*l)<=2?null:(f(this,qn).push(t,e),isNaN(i)?(f(this,vo).set([a,r,t,e],2),f(this,vi).push(NaN,NaN,NaN,NaN,t,e),{path:{d:this.toSVGPath()}}):(isNaN(f(this,vo)[0])&&f(this,vi).splice(6,6),f(this,vo).set([i,n,a,r,t,e],0),f(this,vi).push(...Ot.createBezierPoints(i,n,a,r,t,e)),{path:{d:this.toSVGPath()}}))}end(t,e){return this.add(t,e)||(f(this,qn).length===2?{path:{d:this.toSVGPath()}}:null)}startNew(t,e,i,n,a){x(this,Mu,i),x(this,Bu,n),x(this,Eu,a),[t,e]=S(this,J0,W5).call(this,t,e);const r=x(this,vi,[NaN,NaN,NaN,NaN,t,e]);x(this,qn,[t,e]);const o=f(this,ki).at(-1);return o&&(o.line=new Float32Array(o.line),o.points=new Float32Array(o.points)),f(this,ki).push({line:r,points:f(this,qn)}),f(this,vo).set(r,0),x(this,tr,0),this.toSVGPath(),null}getLastElement(){return f(this,ki).at(-1)}setLastElement(t){return f(this,ki)?(f(this,ki).push(t),x(this,vi,t.line),x(this,qn,t.points),x(this,tr,0),{path:{d:this.toSVGPath()}}):f(this,Ru).setLastElement(t)}removeLastElement(){if(!f(this,ki))return f(this,Ru).removeLastElement();f(this,ki).pop(),x(this,Ui,"");for(let t=0,e=f(this,ki).length;tq??NaN),d,p,g,b),points:w(l[j].map(q=>q??NaN),d,p,g,b)});const y=new this.prototype.constructor;return y.build(u,n,a,1,c,h,r),y}get box(){return f(this,xn)}updateProperty(e,i){return e==="stroke-width"?S(this,Wi,xX).call(this,i):null}updateParentDimensions([e,i],n){const[a,r]=S(this,Wi,Xo).call(this);x(this,ko,e),x(this,qo,i),x(this,Z0,n);const[o,l]=S(this,Wi,Xo).call(this),c=o-a,h=l-r,u=f(this,xn);return u[0]-=c,u[1]-=h,u[2]+=2*c,u[3]+=2*h,u}updateRotation(e){return x(this,Jw,e),{path:{transform:this.rotationTransform}}}get viewBox(){return f(this,xn).map(Ot.svgRound).join(" ")}get defaultProperties(){const[e,i]=f(this,xn);return{root:{viewBox:this.viewBox},path:{"transform-origin":`${Ot.svgRound(e)} ${Ot.svgRound(i)}`}}}get rotationTransform(){const[,,e,i]=f(this,xn);let n=0,a=0,r=0,o=0,l=0,c=0;switch(f(this,Jw)){case 90:a=i/e,r=-e/i,l=e;break;case 180:n=-1,o=-1,l=e,c=i;break;case 270:a=-i/e,r=e/i,c=i;break;default:return""}return`matrix(${n} ${a} ${r} ${o} ${Ot.svgRound(l)} ${Ot.svgRound(c)})`}getPathResizingSVGProperties([e,i,n,a]){const[r,o]=S(this,Wi,Xo).call(this),[l,c,h,u]=f(this,xn);if(Math.abs(h-r)<=Ot.PRECISION||Math.abs(u-o)<=Ot.PRECISION){const w=e+n/2-(l+h/2),y=i+a/2-(c+u/2);return{path:{"transform-origin":`${Ot.svgRound(e)} ${Ot.svgRound(i)}`,transform:`${this.rotationTransform} translate(${w} ${y})`}}}const d=(n-2*r)/(h-2*r),p=(a-2*o)/(u-2*o),g=h/n,b=u/a;return{path:{"transform-origin":`${Ot.svgRound(l)} ${Ot.svgRound(c)}`,transform:`${this.rotationTransform} scale(${g} ${b}) translate(${Ot.svgRound(r)} ${Ot.svgRound(o)}) scale(${d} ${p}) translate(${Ot.svgRound(-r)} ${Ot.svgRound(-o)})`}}}getPathResizedSVGProperties([e,i,n,a]){const[r,o]=S(this,Wi,Xo).call(this),l=f(this,xn),[c,h,u,d]=l;if(l[0]=e,l[1]=i,l[2]=n,l[3]=a,Math.abs(u-r)<=Ot.PRECISION||Math.abs(d-o)<=Ot.PRECISION){const y=e+n/2-(c+u/2),j=i+a/2-(h+d/2);for(const{line:k,points:q}of f(this,ya))Ot._translate(k,y,j,k),Ot._translate(q,y,j,q);return{root:{viewBox:this.viewBox},path:{"transform-origin":`${Ot.svgRound(e)} ${Ot.svgRound(i)}`,transform:this.rotationTransform||null,d:this.toSVGPath()}}}const p=(n-2*r)/(u-2*r),g=(a-2*o)/(d-2*o),b=-p*(c+r)+e+r,w=-g*(h+o)+i+o;if(p!==1||g!==1||b!==0||w!==0)for(const{line:y,points:j}of f(this,ya))Ot._rescale(y,b,w,p,g,y),Ot._rescale(j,b,w,p,g,j);return{root:{viewBox:this.viewBox},path:{"transform-origin":`${Ot.svgRound(e)} ${Ot.svgRound(i)}`,transform:this.rotationTransform||null,d:this.toSVGPath()}}}getPathTranslatedSVGProperties([e,i],n){const[a,r]=n,o=f(this,xn),l=e-o[0],c=i-o[1];if(f(this,ko)===a&&f(this,qo)===r)for(const{line:h,points:u}of f(this,ya))Ot._translate(h,l,c,h),Ot._translate(u,l,c,u);else{const h=f(this,ko)/a,u=f(this,qo)/r;x(this,ko,a),x(this,qo,r);for(const{line:d,points:p}of f(this,ya))Ot._rescale(d,l,c,h,u,d),Ot._rescale(p,l,c,h,u,p);o[2]*=h,o[3]*=u}return o[0]=e,o[1]=i,{root:{viewBox:this.viewBox},path:{d:this.toSVGPath(),"transform-origin":`${Ot.svgRound(e)} ${Ot.svgRound(i)}`}}}get defaultSVGProperties(){const e=f(this,xn);return{root:{viewBox:this.viewBox},rootClass:{draw:!0},path:{d:this.toSVGPath(),"transform-origin":`${Ot.svgRound(e[0])} ${Ot.svgRound(e[1])}`,transform:this.rotationTransform||null},bbox:e}}};xn=new WeakMap,Jw=new WeakMap,Zw=new WeakMap,ya=new WeakMap,ko=new WeakMap,qo=new WeakMap,Z0=new WeakMap,tp=new WeakMap,Du=new WeakMap,Wi=new WeakSet,Xo=function(e=f(this,Du)){const i=f(this,Zw)+e/2*f(this,Z0);return f(this,tp)%180===0?[i/f(this,ko),i/f(this,qo)]:[i/f(this,qo),i/f(this,ko)]},kX=function(){const[e,i,n,a]=f(this,xn),[r,o]=S(this,Wi,Xo).call(this,0);return[e+r,i+o,n-2*r,a-2*o]},qX=function(){const e=x(this,xn,new Float32Array([1/0,1/0,-1/0,-1/0]));for(const{line:a}of f(this,ya)){if(a.length<=12){for(let l=4,c=a.length;lo!==i[l])||e.thickness!==n||e.opacity!==a||e.pageIndex!==r},m(hf,"InkEditor"),R(hf,"_type","ink"),R(hf,"_editorType",ue.INK),R(hf,"_defaultDrawingOptions",null);let oT=hf;const Zz=class Zz extends r1{toSVGPath(){let t=super.toSVGPath();return t.endsWith("Z")||(t+="Z"),t}};m(Zz,"ContourDrawOutline");let Pb=Zz;const _9=8,Zp=3;var Pu,Xe,lT,Er,SX,CX,cT,K5,IX,TX,FX,hT,fT,EX;const Y1=class Y1{static extractContoursFromText(t,{fontFamily:e,fontStyle:i,fontWeight:n},a,r,o,l){let c=new OffscreenCanvas(1,1),h=c.getContext("2d",{alpha:!1});const u=200,d=h.font=`${i} ${n} ${u}px ${e}`,{actualBoundingBoxLeft:p,actualBoundingBoxRight:g,actualBoundingBoxAscent:b,actualBoundingBoxDescent:w,fontBoundingBoxAscent:y,fontBoundingBoxDescent:j,width:k}=h.measureText(t),q=1.5,A=Math.ceil(Math.max(Math.abs(p)+Math.abs(g)||0,k)*q),I=Math.ceil(Math.max(Math.abs(b)+Math.abs(w)||u,Math.abs(y)+Math.abs(j)||u)*q);c=new OffscreenCanvas(A,I),h=c.getContext("2d",{alpha:!0,willReadFrequently:!0}),h.font=d,h.filter="grayscale(1)",h.fillStyle="white",h.fillRect(0,0,A,I),h.fillStyle="black",h.fillText(t,A*(q-1)/2,I*(3-q)/2);const C=S(this,Xe,hT).call(this,h.getImageData(0,0,A,I).data),F=S(this,Xe,FX).call(this,C),E=S(this,Xe,fT).call(this,F),D=S(this,Xe,cT).call(this,C,A,I,E);return this.processDrawnLines({lines:{curves:D,width:A,height:I},pageWidth:a,pageHeight:r,rotation:o,innerMargin:l,mustSmooth:!0,areContours:!0})}static process(t,e,i,n,a){const[r,o,l]=S(this,Xe,EX).call(this,t),[c,h]=S(this,Xe,TX).call(this,r,o,l,Math.hypot(o,l)*f(this,Pu).sigmaSFactor,f(this,Pu).sigmaR,f(this,Pu).kernelSize),u=S(this,Xe,fT).call(this,h),d=S(this,Xe,cT).call(this,c,o,l,u);return this.processDrawnLines({lines:{curves:d,width:o,height:l},pageWidth:e,pageHeight:i,rotation:n,innerMargin:a,mustSmooth:!0,areContours:!0})}static processDrawnLines({lines:t,pageWidth:e,pageHeight:i,rotation:n,innerMargin:a,mustSmooth:r,areContours:o}){n%180!==0&&([e,i]=[i,e]);const{curves:l,width:c,height:h}=t,u=t.thickness??0,d=[],p=Math.min(e/c,i/h),g=p/e,b=p/i,w=[];for(const{points:j}of l){const k=r?S(this,Xe,IX).call(this,j):j;if(!k)continue;w.push(k);const q=k.length,A=new Float32Array(q),I=new Float32Array(3*(q===2?2:q-2));if(d.push({line:I,points:A}),q===2){A[0]=k[0]*g,A[1]=k[1]*b,I.set([NaN,NaN,NaN,NaN,A[0],A[1]],0);continue}let[C,F,E,D]=k;C*=g,F*=b,E*=g,D*=b,A.set([C,F,E,D],0),I.set([NaN,NaN,NaN,NaN,C,F],0);for(let M=4;M=-128&&o<=127?c=Int8Array:r>=-32768&&o<=32767?c=Int16Array:c=Int32Array;const h=t.length,u=_9+Zp*h,d=new Uint32Array(u);let p=0;d[p++]=u*Uint32Array.BYTES_PER_ELEMENT+(l-2*h)*c.BYTES_PER_ELEMENT,d[p++]=0,d[p++]=n,d[p++]=a,d[p++]=e?0:1,d[p++]=Math.max(0,Math.floor(i??0)),d[p++]=h,d[p++]=c.BYTES_PER_ELEMENT;for(const y of t)d[p++]=y.length-2,d[p++]=y[0],d[p++]=y[1];const g=new CompressionStream("deflate-raw"),b=g.writable.getWriter();await b.ready,b.write(d);const w=c.prototype.constructor;for(const y of t){const j=new w(y.length-2);for(let k=2,q=y.length;k{await a.ready,await a.close()}).catch(()=>{});let r=null,o=0;for await(const k of i)r||(r=new Uint8Array(new Uint32Array(k.buffer,0,4)[0])),r.set(k,o),o+=k.length;const l=new Uint32Array(r.buffer,0,r.length>>2),c=l[1];if(c!==0)throw new Error(`Invalid version: ${c}`);const h=l[2],u=l[3],d=l[4]===0,p=l[5],g=l[6],b=l[7],w=[],y=(_9+Zp*g)*Uint32Array.BYTES_PER_ELEMENT;let j;switch(b){case Int8Array.BYTES_PER_ELEMENT:j=new Int8Array(r.buffer,y);break;case Int16Array.BYTES_PER_ELEMENT:j=new Int16Array(r.buffer,y);break;case Int32Array.BYTES_PER_ELEMENT:j=new Int32Array(r.buffer,y);break}o=0;for(let k=0;k0?0:4:i===1?n+6:2-n},Er=new WeakMap,SX=function(t,e,i,n,a,r,o){const l=S(this,Xe,lT).call(this,i,n,a,r);for(let c=0;c<8;c++){const h=(-c+l-o+16)%8,u=f(this,Er)[2*h],d=f(this,Er)[2*h+1];if(t[(i+u)*e+(n+d)]!==0)return h}return-1},CX=function(t,e,i,n,a,r,o){const l=S(this,Xe,lT).call(this,i,n,a,r);for(let c=0;c<8;c++){const h=(c+l+o+16)%8,u=f(this,Er)[2*h],d=f(this,Er)[2*h+1];if(t[(i+u)*e+(n+d)]!==0)return h}return-1},cT=function(t,e,i,n){const a=t.length,r=new Int32Array(a);for(let h=0;h=1&&r[d+1]===0)o+=1,b+=1,p>1&&(l=p);else{p!==1&&(l=Math.abs(p));continue}const w=[u,h],y=b===u+1,j={isHole:y,points:w,id:o,parent:0};c.push(j);let k;for(const M of c)if(M.id===l){k=M;break}k?k.isHole?j.parent=y?k.parent:l:j.parent=y?l:k.parent:j.parent=y?l:0;const q=S(this,Xe,SX).call(this,r,e,h,u,g,b,0);if(q===-1){r[d]=-o,r[d]!==1&&(l=Math.abs(r[d]));continue}let A=f(this,Er)[2*q],I=f(this,Er)[2*q+1];const C=h+A,F=u+I;g=C,b=F;let E=h,D=u;for(;;){const M=S(this,Xe,CX).call(this,r,e,E,D,g,b,1);A=f(this,Er)[2*M],I=f(this,Er)[2*M+1];const _=E+A,G=D+I;w.push(G,_);const K=E*e+D;if(r[K+1]===0?r[K]=-o:r[K]===1&&(r[K]=o),_===h&&G===u&&E===C&&D===F){r[d]!==1&&(l=Math.abs(r[d]));break}else g=E,b=D,E=_,D=G}}}return c},K5=function(t,e,i,n){if(i-e<=4){for(let C=e;CA&&(I=C,A=F)}A>(c*q)**2?(S(this,Xe,K5).call(this,t,e,I+2,n),S(this,Xe,K5).call(this,t,I,i,n)):n.push(a,r)},IX=function(t){const e=[],i=t.length;return S(this,Xe,K5).call(this,t,0,i,e),e.push(t[i-2],t[i-1]),e.length<=4?null:e},TX=function(t,e,i,n,a,r){const o=new Float32Array(r**2),l=-2*n**2,c=r>>1;for(let b=0;b=i))for(let F=0;F=e)continue;const D=t[C*e+E],M=o[I*r+F]*h[Math.abs(D-j)];k+=D*M,q+=M}}const A=p[y]=Math.round(k/q);g[A]++}return[p,g]},FX=function(t){const e=new Uint32Array(256);for(const i of t)e[i]++;return e},hT=function(t){const e=t.length,i=new Uint8ClampedArray(e>>2);let n=-1/0,a=1/0;for(let o=0,l=i.length;ol!==0);let r=a,o=a;for(e=a;e<256;e++){const l=t[e];l>i&&(e-r>n&&(n=e-r,o=e-1),i=l,r=e)}for(e=o-1;e>=0&&!(t[e]>t[e+1]);e--);return e},EX=function(t){const e=t,{width:i,height:n}=t,{maxDim:a}=f(this,Pu);let r=i,o=n;if(i>a||n>a){let h=i,u=n,d=Math.log2(Math.max(i,n)/a);const p=Math.floor(d);d=d===p?p-1:p;for(let b=0;b{i==null||i.updateEditSignatureButton(e)}))}getSignaturePreview(){const{newCurves:e,areContours:i,thickness:n,width:a,height:r}=f(this,jh),o=Math.max(a,r),l=Ic.processDrawnLines({lines:{curves:e.map(c=>({points:c})),thickness:n,width:a,height:r},pageWidth:o,pageHeight:o,rotation:0,innerMargin:0,mustSmooth:!1,areContours:i});return{areContours:i,outline:l.outline}}get toolbarButtons(){return this._uiManager.signatureManager?[["editSignature",this._uiManager.signatureManager]]:super.toolbarButtons}addSignature(e,i,n,a){const{x:r,y:o}=this,{outline:l}=x(this,jh,e);x(this,wh,l instanceof Pb),this.description=n;let c;f(this,wh)?c=On.getDefaultDrawingOptions():(c=On._defaultDrawnSignatureOptions.clone(),c.updateProperties({"stroke-width":l.thickness})),this._addOutlines({drawOutlines:l,drawingOptions:c});const[,h]=this.pageDimensions;let u=i/h;u=u>=1?.5:u,this.width*=u/this.height,this.width>=1&&(u*=.9/this.width,this.width=.9),this.height=u,this.setDims(),this.x=r,this.y=o,this.center(),this._onResized(),this.onScaleChanging(),this.rotate(),this._uiManager.addToAnnotationStorage(this),this.setUuid(a),this._reportTelemetry({action:"pdfjs.signature.inserted",data:{hasBeenSaved:!!a,hasDescription:!!n}}),this.div.hidden=!1}getFromImage(e){const{rawDims:{pageWidth:i,pageHeight:n},rotation:a}=this.parent.viewport;return Ic.process(e,i,n,a,On._INNER_MARGIN)}getFromText(e,i){const{rawDims:{pageWidth:n,pageHeight:a},rotation:r}=this.parent.viewport;return Ic.extractContoursFromText(e,i,n,a,r,On._INNER_MARGIN)}getDrawnSignature(e){const{rawDims:{pageWidth:i,pageHeight:n},rotation:a}=this.parent.viewport;return Ic.processDrawnLines({lines:e,pageWidth:i,pageHeight:n,rotation:a,innerMargin:On._INNER_MARGIN,mustSmooth:!1,areContours:!1})}createDrawingOptions({areContours:e,thickness:i}){e?this._drawingOptions=On.getDefaultDrawingOptions():(this._drawingOptions=On._defaultDrawnSignatureOptions.clone(),this._drawingOptions.updateProperties({"stroke-width":i}))}serialize(e=!1){if(this.isEmpty())return null;const{lines:i,points:n}=this.serializeDraw(e),{_drawingOptions:{"stroke-width":a}}=this,r=Object.assign(super.serialize(e),{isSignature:!0,areContours:f(this,wh),color:[0,0,0],thickness:f(this,wh)?0:a});return this.addComment(r),e?(r.paths={lines:i,points:n},r.uuid=f(this,Hu),r.isCopy=!0):r.lines=i,f(this,xo)&&(r.accessibilityData={type:"Figure",alt:f(this,xo)}),r}static deserializeDraw(e,i,n,a,r,o){return o.areContours?Pb.deserialize(e,i,n,a,r,o):r1.deserialize(e,i,n,a,r,o)}static async deserialize(e,i,n){var r;const a=await super.deserialize(e,i,n);return x(a,wh,e.areContours),a.description=((r=e.accessibilityData)==null?void 0:r.alt)||"",x(a,Hu,e.uuid),a}};wh=new WeakMap,xo=new WeakMap,jh=new WeakMap,Hu=new WeakMap,m(On,"SignatureEditor"),R(On,"_type","signature"),R(On,"_editorType",ue.SIGNATURE),R(On,"_defaultDrawingOptions",null);let pT=On;var ys,qi,yh,El,vh,ep,Rl,Ou,Ao,va,sp,ze,Bm,Dm,X5,Y5,Q5,gT,J5,RX;const xg=class xg extends ms{constructor(e){super({...e,name:"stampEditor"});T(this,ze);T(this,ys,null);T(this,qi,null);T(this,yh,null);T(this,El,null);T(this,vh,null);T(this,ep,"");T(this,Rl,null);T(this,Ou,!1);T(this,Ao,null);T(this,va,!1);T(this,sp,!1);x(this,El,e.bitmapUrl),x(this,vh,e.bitmapFile),this.defaultL10nId="pdfjs-editor-stamp-editor"}static initialize(e,i){ms.initialize(e,i)}static isHandlingMimeForPasting(e){return MS.includes(e)}static paste(e,i){i.pasteEditor({mode:ue.STAMP},{bitmapFile:e.getAsFile()})}altTextFinish(){this._uiManager.useNewAltTextFlow&&(this.div.hidden=!1),super.altTextFinish()}get telemetryFinalData(){var e;return{type:"stamp",hasAltText:!!((e=this.altTextData)!=null&&e.altText)}}static computeTelemetryFinalData(e){const i=e.get("hasAltText");return{hasAltText:i.get(!0)??0,hasNoAltText:i.get(!1)??0}}async mlGuessAltText(e=null,i=!0){if(this.hasAltTextData())return null;const{mlManager:n}=this._uiManager;if(!n)throw new Error("No ML.");if(!await n.isEnabledFor("altText"))throw new Error("ML isn't enabled for alt text.");const{data:a,width:r,height:o}=e||this.copyCanvas(null,null,!0).imageData,l=await n.guess({name:"altText",request:{data:a,width:r,height:o,channels:a.length/(r*o)}});if(!l)throw new Error("No response from the AI service.");if(l.error)throw new Error("Error from the AI service.");if(l.cancel)return null;if(!l.output)throw new Error("No valid response from the AI service.");const c=l.output;return await this.setGuessedAltText(c),i&&!this.hasAltTextData()&&(this.altTextData={alt:c,decorative:!1}),c}remove(){var e;f(this,qi)&&(x(this,ys,null),this._uiManager.imageManager.deleteId(f(this,qi)),(e=f(this,Rl))==null||e.remove(),x(this,Rl,null),f(this,Ao)&&(clearTimeout(f(this,Ao)),x(this,Ao,null))),super.remove()}rebuild(){if(!this.parent){f(this,qi)&&S(this,ze,X5).call(this);return}super.rebuild(),this.div!==null&&(f(this,qi)&&f(this,Rl)===null&&S(this,ze,X5).call(this),this.isAttachedToDOM||this.parent.add(this))}onceAdded(e){this._isDraggable=!0,e&&this.div.focus()}isEmpty(){return!(f(this,yh)||f(this,ys)||f(this,El)||f(this,vh)||f(this,qi)||f(this,Ou))}get toolbarButtons(){return[["altText",this.createAltText()]]}get isResizable(){return!0}render(){if(this.div)return this.div;let e,i;return this._isCopy&&(e=this.x,i=this.y),super.render(),this.div.hidden=!0,this.createAltText(),f(this,Ou)||(f(this,ys)?S(this,ze,Y5).call(this):S(this,ze,X5).call(this)),this._isCopy&&this._moveAfterPaste(e,i),this._uiManager.addShouldRescale(this),this.div}setCanvas(e,i){const{id:n,bitmap:a}=this._uiManager.imageManager.getFromCanvas(e,i);i.remove(),n&&this._uiManager.imageManager.isValidId(n)&&(x(this,qi,n),a&&x(this,ys,a),x(this,Ou,!1),S(this,ze,Y5).call(this))}_onResized(){this.onScaleChanging()}onScaleChanging(){if(!this.parent)return;f(this,Ao)!==null&&clearTimeout(f(this,Ao)),x(this,Ao,setTimeout(()=>{x(this,Ao,null),S(this,ze,gT).call(this)},200))}copyCanvas(e,i,n=!1){e||(e=224);const{width:a,height:r}=f(this,ys),o=new ic;let l=f(this,ys),c=a,h=r,u=null;if(i){if(a>i||r>i){const C=Math.min(i/a,i/r);c=Math.floor(a*C),h=Math.floor(r*C)}u=document.createElement("canvas");const p=u.width=Math.ceil(c*o.sx),g=u.height=Math.ceil(h*o.sy);f(this,va)||(l=S(this,ze,Q5).call(this,p,g));const b=u.getContext("2d");b.filter=this._uiManager.hcmFilter;let w="white",y="#cfcfd8";this._uiManager.hcmFilter!=="none"?y="black":BS.isDarkMode&&(w="#8f8f9d",y="#42414d");const j=15,k=j*o.sx,q=j*o.sy,A=new OffscreenCanvas(k*2,q*2),I=A.getContext("2d");I.fillStyle=w,I.fillRect(0,0,k*2,q*2),I.fillStyle=y,I.fillRect(0,0,k,q),I.fillRect(k,q,k,q),b.fillStyle=b.createPattern(A,"repeat"),b.fillRect(0,0,p,g),b.drawImage(l,0,0,l.width,l.height,0,0,p,g)}let d=null;if(n){let p,g;if(o.symmetric&&l.widthe||r>e){const w=Math.min(e/a,e/r);p=Math.floor(a*w),g=Math.floor(r*w),f(this,va)||(l=S(this,ze,Q5).call(this,p,g))}const b=new OffscreenCanvas(p,g).getContext("2d",{willReadFrequently:!0});b.drawImage(l,0,0,l.width,l.height,0,0,p,g),d={width:p,height:g,data:b.getImageData(0,0,p,g).data}}return{canvas:u,width:c,height:h,imageData:d}}static async deserialize(e,i,n){var w;let a=null,r=!1;if(e instanceof z6){const{data:{rect:y,rotation:j,id:k,structParent:q,popupRef:A,richText:I,contentsObj:C,creationDate:F,modificationDate:E},container:D,parent:{page:{pageNumber:M}},canvas:_}=e;let G,K;_?(delete e.canvas,{id:G,bitmap:K}=n.imageManager.getFromCanvas(D.id,_),_.remove()):(r=!0,e._hasNoCanvas=!0);const it=((w=await i._structTree.getAriaAttributes(`${G1}${k}`))==null?void 0:w.get("aria-label"))||"";a=e={annotationType:ue.STAMP,bitmapId:G,bitmap:K,pageIndex:M-1,rect:y.slice(0),rotation:j,annotationElementId:k,id:k,deleted:!1,accessibilityData:{decorative:!1,altText:it},isSvg:!1,structParent:q,popupRef:A,richText:I,comment:(C==null?void 0:C.str)||null,creationDate:F,modificationDate:E}}const o=await super.deserialize(e,i,n),{rect:l,bitmap:c,bitmapUrl:h,bitmapId:u,isSvg:d,accessibilityData:p}=e;r?(n.addMissingCanvas(e.id,o),x(o,Ou,!0)):u&&n.imageManager.isValidId(u)?(x(o,qi,u),c&&x(o,ys,c)):x(o,El,h),x(o,va,d);const[g,b]=o.pageDimensions;return o.width=(l[2]-l[0])/g,o.height=(l[3]-l[1])/b,p&&(o.altTextData=p),o._initialData=a,e.comment&&o.setCommentData(e),x(o,sp,!!a),o}serialize(e=!1,i=null){if(this.isEmpty())return null;if(this.deleted)return this.serializeDeleted();const n=Object.assign(super.serialize(e),{bitmapId:f(this,qi),isSvg:f(this,va)});if(this.addComment(n),e)return n.bitmapUrl=S(this,ze,J5).call(this,!0),n.accessibilityData=this.serializeAltText(!0),n.isCopy=!0,n;const{decorative:a,altText:r}=this.serializeAltText(!1);if(!a&&r&&(n.accessibilityData={type:"Figure",alt:r}),this.annotationElementId){const l=S(this,ze,RX).call(this,n);return l.isSame?null:(l.isSameAltText?delete n.accessibilityData:n.accessibilityData.structParent=this._initialData.structParent??-1,n.id=this.annotationElementId,delete n.bitmapId,n)}if(i===null)return n;i.stamps||(i.stamps=new Map);const o=f(this,va)?(n.rect[2]-n.rect[0])*(n.rect[3]-n.rect[1]):null;if(!i.stamps.has(f(this,qi)))i.stamps.set(f(this,qi),{area:o,serialized:n}),n.bitmap=S(this,ze,J5).call(this,!1);else if(f(this,va)){const l=i.stamps.get(f(this,qi));o>l.area&&(l.area=o,l.serialized.bitmap.close(),l.serialized.bitmap=S(this,ze,J5).call(this,!1))}return n}renderAnnotationElement(e){return this.deleted?(e.hide(),null):(e.updateEdited({rect:this.getPDFRect(),popup:this.comment}),null)}};ys=new WeakMap,qi=new WeakMap,yh=new WeakMap,El=new WeakMap,vh=new WeakMap,ep=new WeakMap,Rl=new WeakMap,Ou=new WeakMap,Ao=new WeakMap,va=new WeakMap,sp=new WeakMap,ze=new WeakSet,Bm=function(e,i=!1){if(!e){this.remove();return}x(this,ys,e.bitmap),i||(x(this,qi,e.id),x(this,va,e.isSvg)),e.file&&x(this,ep,e.file.name),S(this,ze,Y5).call(this)},Dm=function(){if(x(this,yh,null),this._uiManager.enableWaiting(!1),!!f(this,Rl)){if(this._uiManager.useNewAltTextWhenAddingImage&&this._uiManager.useNewAltTextFlow&&f(this,ys)){this.addEditToolbar().then(()=>{this._editToolbar.hide(),this._uiManager.editAltText(this,!0)});return}if(!this._uiManager.useNewAltTextWhenAddingImage&&this._uiManager.useNewAltTextFlow&&f(this,ys)){this._reportTelemetry({action:"pdfjs.image.image_added",data:{alt_text_modal:!1,alt_text_type:"empty"}});try{this.mlGuessAltText()}catch{}}this.div.focus()}},X5=function(){if(f(this,qi)){this._uiManager.enableWaiting(!0),this._uiManager.imageManager.getFromId(f(this,qi)).then(n=>S(this,ze,Bm).call(this,n,!0)).finally(()=>S(this,ze,Dm).call(this));return}if(f(this,El)){const n=f(this,El);x(this,El,null),this._uiManager.enableWaiting(!0),x(this,yh,this._uiManager.imageManager.getFromUrl(n).then(a=>S(this,ze,Bm).call(this,a)).finally(()=>S(this,ze,Dm).call(this)));return}if(f(this,vh)){const n=f(this,vh);x(this,vh,null),this._uiManager.enableWaiting(!0),x(this,yh,this._uiManager.imageManager.getFromFile(n).then(a=>S(this,ze,Bm).call(this,a)).finally(()=>S(this,ze,Dm).call(this)));return}const e=document.createElement("input");e.type="file",e.accept=MS.join(",");const i=this._uiManager._signal;x(this,yh,new Promise(n=>{e.addEventListener("change",async()=>{if(!e.files||e.files.length===0)this.remove();else{this._uiManager.enableWaiting(!0);const a=await this._uiManager.imageManager.getFromFile(e.files[0]);this._reportTelemetry({action:"pdfjs.image.image_selected",data:{alt_text_modal:this._uiManager.useNewAltTextFlow}}),S(this,ze,Bm).call(this,a)}n()},{signal:i}),e.addEventListener("cancel",()=>{this.remove(),n()},{signal:i})}).finally(()=>S(this,ze,Dm).call(this))),e.click()},Y5=function(){var c;const{div:e}=this;let{width:i,height:n}=f(this,ys);const[a,r]=this.pageDimensions,o=.75;if(this.width)i=this.width*a,n=this.height*r;else if(i>o*a||n>o*r){const h=Math.min(o*a/i,o*r/n);i*=h,n*=h}this._uiManager.enableWaiting(!1);const l=x(this,Rl,document.createElement("canvas"));l.setAttribute("role","img"),this.addContainer(l),this.width=i/a,this.height=n/r,this.setDims(),(c=this._initialOptions)!=null&&c.isCentered?this.center():this.fixAndSetPosition(),this._initialOptions=null,(!this._uiManager.useNewAltTextWhenAddingImage||!this._uiManager.useNewAltTextFlow||this.annotationElementId)&&(e.hidden=!1),S(this,ze,gT).call(this),f(this,sp)||(this.parent.addUndoableEditor(this),x(this,sp,!0)),this._reportTelemetry({action:"inserted_image"}),f(this,ep)&&this.div.setAttribute("aria-description",f(this,ep)),this.annotationElementId||this._uiManager.a11yAlert("pdfjs-editor-stamp-added-alert")},Q5=function(e,i){const{width:n,height:a}=f(this,ys);let r=n,o=a,l=f(this,ys);for(;r>2*e||o>2*i;){const c=r,h=o;r>2*e&&(r=r>=16384?Math.floor(r/2)-1:Math.ceil(r/2)),o>2*i&&(o=o>=16384?Math.floor(o/2)-1:Math.ceil(o/2));const u=new OffscreenCanvas(r,o);u.getContext("2d").drawImage(l,0,0,c,h,0,0,r,o),l=u.transferToImageBitmap()}return l},gT=function(){const[e,i]=this.parentDimensions,{width:n,height:a}=this,r=new ic,o=Math.ceil(n*e*r.sx),l=Math.ceil(a*i*r.sy),c=f(this,Rl);if(!c||c.width===o&&c.height===l)return;c.width=o,c.height=l;const h=f(this,va)?f(this,ys):S(this,ze,Q5).call(this,o,l),u=c.getContext("2d");u.filter=this._uiManager.hcmFilter,u.drawImage(h,0,0,h.width,h.height,0,0,o,l)},J5=function(e){if(e){if(f(this,va)){const n=this._uiManager.imageManager.getSvgUrl(f(this,qi));if(n)return n}const i=document.createElement("canvas");return{width:i.width,height:i.height}=f(this,ys),i.getContext("2d").drawImage(f(this,ys),0,0),i.toDataURL()}if(f(this,va)){const[i,n]=this.pageDimensions,a=Math.round(this.width*i*Ph.PDF_TO_CSS_UNITS),r=Math.round(this.height*n*Ph.PDF_TO_CSS_UNITS),o=new OffscreenCanvas(a,r);return o.getContext("2d").drawImage(f(this,ys),0,0,f(this,ys).width,f(this,ys).height,0,0,a,r),o.transferToImageBitmap()}return structuredClone(f(this,ys))},RX=function(e){var o;const{pageIndex:i,accessibilityData:{altText:n}}=this._initialData,a=e.pageIndex===i,r=(((o=e.accessibilityData)==null?void 0:o.alt)||"")===n;return{isSame:!this.hasEditedComment&&!this._hasBeenMoved&&!this._hasBeenResized&&a&&r,isSameAltText:r}},m(xg,"StampEditor"),R(xg,"_type","stamp"),R(xg,"_editorType",ue.STAMP);let mT=xg;var Nu,ip,kh,qh,Ml,Gn,xh,np,ap,Rr,Bl,xi,Dl,Ah,rp,$t,Sh,fs,wT,MX,Xr,jT,yT,Z5;const La=class La{constructor({uiManager:t,pageIndex:e,div:i,structTreeLayer:n,accessibilityManager:a,annotationLayer:r,drawLayer:o,textLayer:l,viewport:c,l10n:h}){T(this,fs);T(this,Nu);T(this,ip,!1);T(this,kh,null);T(this,qh,null);T(this,Ml,null);T(this,Gn,new Map);T(this,xh,!1);T(this,np,!1);T(this,ap,!1);T(this,Rr,null);T(this,Bl,null);T(this,xi,null);T(this,Dl,null);T(this,Ah,null);T(this,rp,-1);T(this,$t);const u=[...f(La,Sh).values()];if(!La._initialized){La._initialized=!0;for(const d of u)d.initialize(h,t)}t.registerEditorTypes(u),x(this,$t,t),this.pageIndex=e,this.div=i,x(this,Nu,a),x(this,kh,r),this.viewport=c,x(this,xi,l),this.drawLayer=o,this._structTree=n,f(this,$t).addLayer(this)}get isEmpty(){return f(this,Gn).size===0}get isInvisible(){return this.isEmpty&&f(this,$t).getMode()===ue.NONE}updateToolbar(t){f(this,$t).updateToolbar(t)}updateMode(t=f(this,$t).getMode()){switch(S(this,fs,Z5).call(this),t){case ue.NONE:this.div.classList.toggle("nonEditing",!0),this.disableTextSelection(),this.togglePointerEvents(!1),this.toggleAnnotationLayerPointerEvents(!0),this.disableClick();return;case ue.INK:this.disableTextSelection(),this.togglePointerEvents(!0),this.enableClick();break;case ue.HIGHLIGHT:this.enableTextSelection(),this.togglePointerEvents(!1),this.disableClick();break;default:this.disableTextSelection(),this.togglePointerEvents(!0),this.enableClick()}this.toggleAnnotationLayerPointerEvents(!1);const{classList:e}=this.div;if(e.toggle("nonEditing",!1),t===ue.POPUP)e.toggle("commentEditing",!0);else{e.toggle("commentEditing",!1);for(const i of f(La,Sh).values())e.toggle(`${i._type}Editing`,t===i._editorType)}this.div.hidden=!1}hasTextLayer(t){var e;return t===((e=f(this,xi))==null?void 0:e.div)}setEditingState(t){f(this,$t).setEditingState(t)}addCommands(t){f(this,$t).addCommands(t)}cleanUndoStack(t){f(this,$t).cleanUndoStack(t)}toggleDrawing(t=!1){this.div.classList.toggle("drawing",!t)}togglePointerEvents(t=!1){this.div.classList.toggle("disabled",!t)}toggleAnnotationLayerPointerEvents(t=!1){var e;(e=f(this,kh))==null||e.togglePointerEvents(t)}async enable(){var i;x(this,ap,!0),this.div.tabIndex=0,this.togglePointerEvents(!0),this.div.classList.toggle("nonEditing",!1),(i=f(this,Ah))==null||i.abort(),x(this,Ah,null);const t=new Set;for(const n of f(this,fs,wT))n.enableEditing(),n.show(!0),n.annotationElementId&&(f(this,$t).removeChangedExistingAnnotation(n),t.add(n.annotationElementId));const e=f(this,kh);if(e)for(const n of e.getEditableAnnotations()){if(n.hide(),f(this,$t).isDeletedAnnotationElement(n.data.id)||t.has(n.data.id))continue;const a=await this.deserialize(n);a&&(this.addOrRebuild(a),a.enableEditing())}x(this,ap,!1),f(this,$t)._eventBus.dispatch("editorsrendered",{source:this,pageNumber:this.pageIndex+1})}disable(){var n;if(x(this,np,!0),this.div.tabIndex=-1,this.togglePointerEvents(!1),this.div.classList.toggle("nonEditing",!0),f(this,xi)&&!f(this,Ah)){x(this,Ah,new AbortController);const a=f(this,$t).combinedSignal(f(this,Ah));f(this,xi).div.addEventListener("pointerdown",r=>{const{clientX:o,clientY:l,timeStamp:c}=r,h=f(this,rp);if(c-h>500){x(this,rp,c);return}x(this,rp,-1);const{classList:u}=this.div;u.toggle("getElements",!0);const d=document.elementsFromPoint(o,l);if(u.toggle("getElements",!1),!this.div.contains(d[0]))return;let p;const g=new RegExp(`^${jb}[0-9]+$`);for(const w of d)if(g.test(w.id)){p=w.id;break}if(!p)return;const b=f(this,Gn).get(p);(b==null?void 0:b.annotationElementId)===null&&(r.stopPropagation(),r.preventDefault(),b.dblclick(r))},{signal:a,capture:!0})}const t=f(this,kh),e=[];if(t){const a=new Map,r=new Map;for(const o of f(this,fs,wT)){if(o.disableEditing(),!o.annotationElementId){e.push(o);continue}if(o.serialize()!==null){a.set(o.annotationElementId,o);continue}else r.set(o.annotationElementId,o);(n=this.getEditableAnnotation(o.annotationElementId))==null||n.show(),o.remove()}for(const o of t.getEditableAnnotations()){const{id:l}=o.data;if(f(this,$t).isDeletedAnnotationElement(l)){o.updateEdited({deleted:!0});continue}let c=r.get(l);if(c){c.resetAnnotationElement(o),c.show(!1),o.show();continue}c=a.get(l),c&&(f(this,$t).addChangedExistingAnnotation(c),c.renderAnnotationElement(o)&&c.show(!1)),o.show()}}S(this,fs,Z5).call(this),this.isEmpty&&(this.div.hidden=!0);const{classList:i}=this.div;for(const a of f(La,Sh).values())i.remove(`${a._type}Editing`);this.disableTextSelection(),this.toggleAnnotationLayerPointerEvents(!0),t==null||t.updateFakeAnnotations(e),x(this,np,!1)}getEditableAnnotation(t){var e;return((e=f(this,kh))==null?void 0:e.getEditableAnnotation(t))||null}setActiveEditor(t){f(this,$t).getActive()!==t&&f(this,$t).setActiveEditor(t)}enableTextSelection(){var t;if(this.div.tabIndex=-1,((t=f(this,xi))==null?void 0:t.div)&&!f(this,Dl)){x(this,Dl,new AbortController);const e=f(this,$t).combinedSignal(f(this,Dl));f(this,xi).div.addEventListener("pointerdown",S(this,fs,MX).bind(this),{signal:e}),f(this,xi).div.classList.add("highlighting")}}disableTextSelection(){var t;this.div.tabIndex=0,(t=f(this,xi))!=null&&t.div&&f(this,Dl)&&(f(this,Dl).abort(),x(this,Dl,null),f(this,xi).div.classList.remove("highlighting"))}enableClick(){if(f(this,qh))return;x(this,qh,new AbortController);const t=f(this,$t).combinedSignal(f(this,qh));this.div.addEventListener("pointerdown",this.pointerdown.bind(this),{signal:t});const e=this.pointerup.bind(this);this.div.addEventListener("pointerup",e,{signal:t}),this.div.addEventListener("pointercancel",e,{signal:t})}disableClick(){var t;(t=f(this,qh))==null||t.abort(),x(this,qh,null)}attach(t){f(this,Gn).set(t.id,t);const{annotationElementId:e}=t;e&&f(this,$t).isDeletedAnnotationElement(e)&&f(this,$t).removeDeletedAnnotationElement(t)}detach(t){var e;f(this,Gn).delete(t.id),(e=f(this,Nu))==null||e.removePointerInTextLayer(t.contentDiv),!f(this,np)&&t.annotationElementId&&f(this,$t).addDeletedAnnotationElement(t)}remove(t){this.detach(t),f(this,$t).removeEditor(t),t.div.remove(),t.isAttachedToDOM=!1}changeParent(t){var e;t.parent!==this&&(t.parent&&t.annotationElementId&&(f(this,$t).addDeletedAnnotationElement(t),ms.deleteAnnotationElement(t),t.annotationElementId=null),this.attach(t),(e=t.parent)==null||e.detach(t),t.setParent(this),t.div&&t.isAttachedToDOM&&(t.div.remove(),this.div.append(t.div)))}add(t){if(!(t.parent===this&&t.isAttachedToDOM)){if(this.changeParent(t),f(this,$t).addEditor(t),this.attach(t),!t.isAttachedToDOM){const e=t.render();this.div.append(e),t.isAttachedToDOM=!0}t.fixAndSetPosition(),t.onceAdded(!f(this,ap)),f(this,$t).addToAnnotationStorage(t),t._reportTelemetry(t.telemetryInitialData)}}moveEditorInDOM(t){var i;if(!t.isAttachedToDOM)return;const{activeElement:e}=document;t.div.contains(e)&&!f(this,Ml)&&(t._focusEventsAllowed=!1,x(this,Ml,setTimeout(()=>{x(this,Ml,null),t.div.contains(document.activeElement)?t._focusEventsAllowed=!0:(t.div.addEventListener("focusin",()=>{t._focusEventsAllowed=!0},{once:!0,signal:f(this,$t)._signal}),e.focus())},0))),t._structTreeParentId=(i=f(this,Nu))==null?void 0:i.moveElementInDOM(this.div,t.div,t.contentDiv,!0)}addOrRebuild(t){t.needsToBeRebuilt()?(t.parent||(t.parent=this),t.rebuild(),t.show()):this.add(t)}addUndoableEditor(t){const e=m(()=>t._uiManager.rebuild(t),"cmd"),i=m(()=>{t.remove()},"undo");this.addCommands({cmd:e,undo:i,mustExec:!1})}getEditorByUID(t){for(const e of f(this,Gn).values())if(e.uid===t)return e;return null}combinedSignal(t){return f(this,$t).combinedSignal(t)}canCreateNewEmptyEditor(){var t;return(t=f(this,fs,Xr))==null?void 0:t.canCreateNewEmptyEditor()}async pasteEditor(t,e){this.updateToolbar(t),await f(this,$t).updateMode(t.mode);const{offsetX:i,offsetY:n}=S(this,fs,yT).call(this),a=f(this,$t).getId(),r=S(this,fs,jT).call(this,{parent:this,id:a,x:i,y:n,uiManager:f(this,$t),isCentered:!0,...e});r&&this.add(r)}async deserialize(t){var e;return await((e=f(La,Sh).get(t.annotationType??t.annotationEditorType))==null?void 0:e.deserialize(t,this,f(this,$t)))||null}createAndAddNewEditor(t,e,i={}){const n=f(this,$t).getId(),a=S(this,fs,jT).call(this,{parent:this,id:n,x:t.offsetX,y:t.offsetY,uiManager:f(this,$t),isCentered:e,...i});return a&&this.add(a),a}get boundingClientRect(){return this.div.getBoundingClientRect()}addNewEditor(t={}){this.createAndAddNewEditor(S(this,fs,yT).call(this),!0,t)}setSelected(t){f(this,$t).setSelected(t)}toggleSelected(t){f(this,$t).toggleSelected(t)}unselect(t){f(this,$t).unselect(t)}pointerup(t){var n;const{isMac:e}=Qs.platform;if(t.button!==0||t.ctrlKey&&e||t.target!==this.div||!f(this,xh)||(x(this,xh,!1),((n=f(this,fs,Xr))==null?void 0:n.isDrawer)&&f(this,fs,Xr).supportMultipleDrawings))return;if(!f(this,ip)){x(this,ip,!0);return}const i=f(this,$t).getMode();if(i===ue.STAMP||i===ue.POPUP||i===ue.SIGNATURE){f(this,$t).unselectAll();return}this.createAndAddNewEditor(t,!1)}pointerdown(t){var n;if(f(this,$t).getMode()===ue.HIGHLIGHT&&this.enableTextSelection(),f(this,xh)){x(this,xh,!1);return}const{isMac:e}=Qs.platform;if(t.button!==0||t.ctrlKey&&e||t.target!==this.div)return;if(x(this,xh,!0),(n=f(this,fs,Xr))==null?void 0:n.isDrawer){this.startDrawingSession(t);return}const i=f(this,$t).getActive();x(this,ip,!i||i.isEmpty())}startDrawingSession(t){if(this.div.focus({preventScroll:!0}),f(this,Rr)){f(this,fs,Xr).startDrawing(this,f(this,$t),!1,t);return}f(this,$t).setCurrentDrawingSession(this),x(this,Rr,new AbortController);const e=f(this,$t).combinedSignal(f(this,Rr));this.div.addEventListener("blur",({relatedTarget:i})=>{i&&!this.div.contains(i)&&(x(this,Bl,null),this.commitOrRemove())},{signal:e}),f(this,fs,Xr).startDrawing(this,f(this,$t),!1,t)}pause(t){if(t){const{activeElement:e}=document;this.div.contains(e)&&x(this,Bl,e);return}f(this,Bl)&&setTimeout(()=>{var e;(e=f(this,Bl))==null||e.focus(),x(this,Bl,null)},0)}endDrawingSession(t=!1){return f(this,Rr)?(f(this,$t).setCurrentDrawingSession(null),f(this,Rr).abort(),x(this,Rr,null),x(this,Bl,null),f(this,fs,Xr).endDrawing(t)):null}findNewParent(t,e,i){const n=f(this,$t).findParent(e,i);return n===null||n===this?!1:(n.changeParent(t),!0)}commitOrRemove(){return f(this,Rr)?(this.endDrawingSession(),!0):!1}onScaleChanging(){f(this,Rr)&&f(this,fs,Xr).onScaleChangingWhenDrawing(this)}destroy(){var t,e;this.commitOrRemove(),((t=f(this,$t).getActive())==null?void 0:t.parent)===this&&(f(this,$t).commitOrRemove(),f(this,$t).setActiveEditor(null)),f(this,Ml)&&(clearTimeout(f(this,Ml)),x(this,Ml,null));for(const i of f(this,Gn).values())(e=f(this,Nu))==null||e.removePointerInTextLayer(i.contentDiv),i.setParent(null),i.isAttachedToDOM=!1,i.div.remove();this.div=null,f(this,Gn).clear(),f(this,$t).removeLayer(this)}async render({viewport:t}){this.viewport=t,Hh(this.div,t);for(const e of f(this,$t).getEditors(this.pageIndex))this.add(e),e.rebuild();await f(this,$t).findClonesForPage(this),this.div.hidden=this.isEmpty,this.updateMode()}update({viewport:t}){f(this,$t).commitOrRemove(),S(this,fs,Z5).call(this);const e=this.viewport.rotation,i=t.rotation;if(this.viewport=t,Hh(this.div,{rotation:i}),e!==i)for(const n of f(this,Gn).values())n.rotate(i)}get pageDimensions(){const{pageWidth:t,pageHeight:e}=this.viewport.rawDims;return[t,e]}get scale(){return f(this,$t).viewParameters.realScale}};Nu=new WeakMap,ip=new WeakMap,kh=new WeakMap,qh=new WeakMap,Ml=new WeakMap,Gn=new WeakMap,xh=new WeakMap,np=new WeakMap,ap=new WeakMap,Rr=new WeakMap,Bl=new WeakMap,xi=new WeakMap,Dl=new WeakMap,Ah=new WeakMap,rp=new WeakMap,$t=new WeakMap,Sh=new WeakMap,fs=new WeakSet,wT=function(){return f(this,Gn).size!==0?f(this,Gn).values():f(this,$t).getEditors(this.pageIndex)},MX=function(t){f(this,$t).unselectAll();const{target:e}=t;if(e===f(this,xi).div||(e.getAttribute("role")==="img"||e.classList.contains("endOfContent"))&&f(this,xi).div.contains(e)){const{isMac:i}=Qs.platform;if(t.button!==0||t.ctrlKey&&i)return;f(this,$t).showAllEditors("highlight",!0,!0),f(this,xi).div.classList.add("free"),this.toggleDrawing(),G6.startHighlighting(this,f(this,$t).direction==="ltr",{target:f(this,xi).div,x:t.x,y:t.y}),f(this,xi).div.addEventListener("pointerup",()=>{f(this,xi).div.classList.remove("free"),this.toggleDrawing(!0)},{once:!0,signal:f(this,$t)._signal}),t.preventDefault()}},Xr=function(){return f(La,Sh).get(f(this,$t).getMode())},jT=function(t){const e=f(this,fs,Xr);return e?new e.prototype.constructor(t):null},yT=function(){const{x:t,y:e,width:i,height:n}=this.boundingClientRect,a=Math.max(0,t),r=Math.max(0,e),o=Math.min(window.innerWidth,t+i),l=Math.min(window.innerHeight,e+n),c=(a+o)/2-t,h=(r+l)/2-e,[u,d]=this.viewport.rotation%180===0?[c,h]:[h,c];return{offsetX:u,offsetY:d}},Z5=function(){for(const t of f(this,Gn).values())t.isEmpty()&&t.remove()},m(La,"AnnotationEditorLayer"),R(La,"_initialized",!1),T(La,Sh,new Map([YI,oT,mT,G6,pT].map(t=>[t._editorType,t])));let bT=La;var Mr,An,Lu,t9,p8,BX,zo,kT,DX,qT;const si=class si{constructor(){T(this,zo);T(this,Mr,null);T(this,An,new Map);T(this,Lu,new Map)}setParent(t){if(!f(this,Mr)){x(this,Mr,t);return}if(f(this,Mr)!==t){if(f(this,An).size>0)for(const e of f(this,An).values())e.remove(),t.append(e);x(this,Mr,t)}}static get _svgFactory(){return pe(this,"_svgFactory",new Ap)}draw(t,e=!1,i=!1){const n=Gs(si,t9)._++,a=S(this,zo,kT).call(this),r=si._svgFactory.createElement("defs");a.append(r);const o=si._svgFactory.createElement("path");r.append(o);const l=`path_${n}`;o.setAttribute("id",l),o.setAttribute("vector-effect","non-scaling-stroke"),e&&f(this,Lu).set(n,o);const c=i?S(this,zo,DX).call(this,r,l):null,h=si._svgFactory.createElement("use");return a.append(h),h.setAttribute("href",`#${l}`),this.updateProperties(a,t),f(this,An).set(n,a),{id:n,clipPathId:`url(#${c})`}}drawOutline(t,e){const i=Gs(si,t9)._++,n=S(this,zo,kT).call(this),a=si._svgFactory.createElement("defs");n.append(a);const r=si._svgFactory.createElement("path");a.append(r);const o=`path_${i}`;r.setAttribute("id",o),r.setAttribute("vector-effect","non-scaling-stroke");let l;if(e){const u=si._svgFactory.createElement("mask");a.append(u),l=`mask_${i}`,u.setAttribute("id",l),u.setAttribute("maskUnits","objectBoundingBox");const d=si._svgFactory.createElement("rect");u.append(d),d.setAttribute("width","1"),d.setAttribute("height","1"),d.setAttribute("fill","white");const p=si._svgFactory.createElement("use");u.append(p),p.setAttribute("href",`#${o}`),p.setAttribute("stroke","none"),p.setAttribute("fill","black"),p.setAttribute("fill-rule","nonzero"),p.classList.add("mask")}const c=si._svgFactory.createElement("use");n.append(c),c.setAttribute("href",`#${o}`),l&&c.setAttribute("mask",`url(#${l})`);const h=c.cloneNode();return n.append(h),c.classList.add("mainOutline"),h.classList.add("secondaryOutline"),this.updateProperties(n,t),f(this,An).set(i,n),i}finalizeDraw(t,e){f(this,Lu).delete(t),this.updateProperties(t,e)}updateProperties(t,e){var l;if(!e)return;const{root:i,bbox:n,rootClass:a,path:r}=e,o=typeof t=="number"?f(this,An).get(t):t;if(o){if(i&&S(this,zo,qT).call(this,o,i),n&&S(l=si,p8,BX).call(l,o,n),a){const{classList:c}=o;for(const[h,u]of Object.entries(a))c.toggle(h,u)}if(r){const c=o.firstElementChild.firstElementChild;S(this,zo,qT).call(this,c,r)}}}updateParent(t,e){if(e===this)return;const i=f(this,An).get(t);i&&(f(e,Mr).append(i),f(this,An).delete(t),f(e,An).set(t,i))}remove(t){f(this,Lu).delete(t),f(this,Mr)!==null&&(f(this,An).get(t).remove(),f(this,An).delete(t))}destroy(){x(this,Mr,null);for(const t of f(this,An).values())t.remove();f(this,An).clear(),f(this,Lu).clear()}};Mr=new WeakMap,An=new WeakMap,Lu=new WeakMap,t9=new WeakMap,p8=new WeakSet,BX=function(t,[e,i,n,a]){const{style:r}=t;r.top=`${100*i}%`,r.left=`${100*e}%`,r.width=`${100*n}%`,r.height=`${100*a}%`},zo=new WeakSet,kT=function(){const t=si._svgFactory.create(1,1,!0);return f(this,Mr).append(t),t.setAttribute("aria-hidden",!0),t},DX=function(t,e){const i=si._svgFactory.createElement("clipPath");t.append(i);const n=`clip_${e}`;i.setAttribute("id",n),i.setAttribute("clipPathUnits","objectBoundingBox");const a=si._svgFactory.createElement("use");return i.append(a),a.setAttribute("href",`#${e}`),a.classList.add("clip"),n},qT=function(t,e){for(const[i,n]of Object.entries(e))n===null?t.removeAttribute(i):t.setAttribute(i,n)},T(si,p8),m(si,"DrawLayer"),T(si,t9,0);let vT=si;function Pm(s){return`${(s*100).toFixed(2)}%`}m(Pm,"percentage");var op,e9,s9,lp,So,Co,i9,m8,PX;const Q1=class Q1{constructor(t,e,i,n){T(this,m8);T(this,op,[]);T(this,e9,new Map);T(this,s9,null);T(this,lp,0);T(this,So,0);T(this,Co,0);x(this,lp,t),x(this,op,e),x(this,So,i.rawDims.pageWidth),x(this,Co,i.rawDims.pageHeight),x(this,s9,n)}render(){const t=document.createElement("div");t.className="textLayerImages";for(let e=0;e{var y;if(!(e.target instanceof HTMLCanvasElement))return;const i=e.target,n=f(this,e9).get(i);if(!n)return;const a=(y=f(Q1,i9))==null?void 0:y.deref();if(a===i)return;a&&(a.width=0,a.height=0),x(Q1,i9,new WeakRef(i));const{inverseTransform:r,x1:o,y1:l,width:c,height:h}=n,u=f(this,s9).call(this),d=Math.ceil(o*u.width),p=Math.ceil(l*u.height),g=Math.floor((o+c/f(this,So))*u.width),b=Math.floor((l+h/f(this,Co))*u.height);i.width=g-d,i.height=b-p;const w=i.getContext("2d");w.setTransform(...r),w.translate(-d,-p),w.drawImage(u,0,0)}),t}};op=new WeakMap,e9=new WeakMap,s9=new WeakMap,lp=new WeakMap,So=new WeakMap,Co=new WeakMap,i9=new WeakMap,m8=new WeakSet,PX=function([t,e,i,n,a,r]){const o=Math.hypot((a-t)*f(this,So),(r-e)*f(this,Co)),l=Math.hypot((i-t)*f(this,So),(n-e)*f(this,Co));if(o + + + + + Source.AI — SOURCE TO YOUR STUDIES + + + + + + + + + + + + + + + + +
+ + diff --git a/dist/placeholder.svg b/dist/placeholder.svg new file mode 100644 index 0000000000000000000000000000000000000000..ea950def0b659458795954fccd0167aaeaf08d2f --- /dev/null +++ b/dist/placeholder.svg @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/robots.txt b/dist/robots.txt new file mode 100644 index 0000000000000000000000000000000000000000..6018e701fc7dd0317cda9eceea390524322e8a05 --- /dev/null +++ b/dist/robots.txt @@ -0,0 +1,14 @@ +User-agent: Googlebot +Allow: / + +User-agent: Bingbot +Allow: / + +User-agent: Twitterbot +Allow: / + +User-agent: facebookexternalhit +Allow: / + +User-agent: * +Allow: / diff --git a/eslint.config.js b/eslint.config.js new file mode 100644 index 0000000000000000000000000000000000000000..40f72cc45a46993d3d02da765842abb2703a64c1 --- /dev/null +++ b/eslint.config.js @@ -0,0 +1,26 @@ +import js from "@eslint/js"; +import globals from "globals"; +import reactHooks from "eslint-plugin-react-hooks"; +import reactRefresh from "eslint-plugin-react-refresh"; +import tseslint from "typescript-eslint"; + +export default tseslint.config( + { ignores: ["dist"] }, + { + extends: [js.configs.recommended, ...tseslint.configs.recommended], + files: ["**/*.{ts,tsx}"], + languageOptions: { + ecmaVersion: 2020, + globals: globals.browser, + }, + plugins: { + "react-hooks": reactHooks, + "react-refresh": reactRefresh, + }, + rules: { + ...reactHooks.configs.recommended.rules, + "react-refresh/only-export-components": ["warn", { allowConstantExport: true }], + "@typescript-eslint/no-unused-vars": "off", + }, + }, +); diff --git a/index.html b/index.html new file mode 100644 index 0000000000000000000000000000000000000000..c06750d3722add1a2f9cfebc4316a4260abae3d8 --- /dev/null +++ b/index.html @@ -0,0 +1,24 @@ + + + + + + Source.AI — SOURCE TO YOUR STUDIES + + + + + + + + + + + + + + +
+ + + diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000000000000000000000000000000000000..166af8d4d6b9313332c5774c31686c74bb7068a3 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,10490 @@ +{ + "name": "vite_react_shadcn_ts", + "version": "0.0.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "vite_react_shadcn_ts", + "version": "0.0.0", + "dependencies": { + "@hookform/resolvers": "^3.10.0", + "@radix-ui/react-accordion": "^1.2.11", + "@radix-ui/react-alert-dialog": "^1.1.14", + "@radix-ui/react-aspect-ratio": "^1.1.7", + "@radix-ui/react-avatar": "^1.1.10", + "@radix-ui/react-checkbox": "^1.3.2", + "@radix-ui/react-collapsible": "^1.1.11", + "@radix-ui/react-context-menu": "^2.2.15", + "@radix-ui/react-dialog": "^1.1.14", + "@radix-ui/react-dropdown-menu": "^2.1.15", + "@radix-ui/react-hover-card": "^1.1.14", + "@radix-ui/react-label": "^2.1.7", + "@radix-ui/react-menubar": "^1.1.15", + "@radix-ui/react-navigation-menu": "^1.2.13", + "@radix-ui/react-popover": "^1.1.14", + "@radix-ui/react-progress": "^1.1.7", + "@radix-ui/react-radio-group": "^1.3.7", + "@radix-ui/react-scroll-area": "^1.2.9", + "@radix-ui/react-select": "^2.2.5", + "@radix-ui/react-separator": "^1.1.7", + "@radix-ui/react-slider": "^1.3.5", + "@radix-ui/react-slot": "^1.2.3", + "@radix-ui/react-switch": "^1.2.5", + "@radix-ui/react-tabs": "^1.1.12", + "@radix-ui/react-toast": "^1.2.14", + "@radix-ui/react-toggle": "^1.1.9", + "@radix-ui/react-toggle-group": "^1.1.10", + "@radix-ui/react-tooltip": "^1.2.7", + "@supabase/supabase-js": "^2.103.3", + "@tanstack/query-core": "^5.99.2", + "@tanstack/react-query": "^5.83.0", + "class-variance-authority": "^0.7.1", + "clsx": "^2.1.1", + "cmdk": "^1.1.1", + "date-fns": "^3.6.0", + "embla-carousel-react": "^8.6.0", + "input-otp": "^1.4.2", + "katex": "^0.16.45", + "lucide-react": "^0.462.0", + "mammoth": "^1.12.0", + "next-themes": "^0.3.0", + "react": "^18.3.1", + "react-day-picker": "^8.10.1", + "react-dom": "^18.3.1", + "react-dropzone": "^15.0.0", + "react-hook-form": "^7.61.1", + "react-markdown": "^10.1.0", + "react-resizable-panels": "^2.1.9", + "react-router-dom": "^6.30.1", + "recharts": "^2.15.4", + "rehype-katex": "^7.0.1", + "remark-gfm": "^4.0.1", + "remark-math": "^6.0.0", + "sonner": "^1.7.4", + "tailwind-merge": "^2.6.0", + "tailwindcss-animate": "^1.0.7", + "tesseract.js": "^7.0.0", + "unpdf": "^1.6.0", + "vaul": "^0.9.9", + "zod": "^3.25.76", + "zustand": "^5.0.12" + }, + "devDependencies": { + "@eslint/js": "^9.32.0", + "@tailwindcss/typography": "^0.5.16", + "@testing-library/jest-dom": "^6.6.0", + "@testing-library/react": "^16.0.0", + "@types/node": "^22.16.5", + "@types/react": "^18.3.23", + "@types/react-dom": "^18.3.7", + "@vitejs/plugin-react-swc": "^3.11.0", + "autoprefixer": "^10.4.21", + "eslint": "^9.32.0", + "eslint-plugin-react-hooks": "^5.2.0", + "eslint-plugin-react-refresh": "^0.4.20", + "globals": "^15.15.0", + "jsdom": "^20.0.3", + "lovable-tagger": "^1.1.13", + "postcss": "^8.5.6", + "tailwindcss": "^3.4.17", + "typescript": "^5.8.3", + "typescript-eslint": "^8.38.0", + "vite": "^5.4.19", + "vitest": "^3.2.4" + } + }, + "node_modules/@adobe/css-tools": { + "version": "4.4.4", + "resolved": "https://registry.npmjs.org/@adobe/css-tools/-/css-tools-4.4.4.tgz", + "integrity": "sha512-Elp+iwUx5rN5+Y8xLt5/GRoG20WGoDCQ/1Fb+1LiGtvwbDavuSk0jhD/eZdckHAuzcDzccnkv+rEjyWfRx18gg==", + "dev": true, + "license": "MIT" + }, + "node_modules/@alloc/quick-lru": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@alloc/quick-lru/-/quick-lru-5.2.0.tgz", + "integrity": "sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@babel/code-frame": { + "version": "7.29.0", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.0.tgz", + "integrity": "sha512-9NhCeYjq9+3uxgdtp20LSiJXJvN0FeCtNGpJxuMFZ1Kv3cWUNb6DOhJwUvcVCzKGR66cw4njwM6hrJLqgOwbcw==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "@babel/helper-validator-identifier": "^7.28.5", + "js-tokens": "^4.0.0", + "picocolors": "^1.1.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-identifier": { + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.28.5.tgz", + "integrity": "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==", + "dev": true, + "license": "MIT", + "peer": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/runtime": { + "version": "7.28.2", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.28.2.tgz", + "integrity": "sha512-KHp2IflsnGywDjBWDkR9iEqiWSpc8GIi0lgTT3mOElT0PP1tG26P4tmFI2YvAdzgq9RGyoHZQEIEdZy6Ec5xCA==", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@esbuild/aix-ppc64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.21.5.tgz", + "integrity": "sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "aix" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-arm": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.21.5.tgz", + "integrity": "sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.21.5.tgz", + "integrity": "sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.21.5.tgz", + "integrity": "sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/darwin-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.21.5.tgz", + "integrity": "sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/darwin-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.21.5.tgz", + "integrity": "sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/freebsd-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.21.5.tgz", + "integrity": "sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/freebsd-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.21.5.tgz", + "integrity": "sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-arm": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.21.5.tgz", + "integrity": "sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.21.5.tgz", + "integrity": "sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-ia32": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.21.5.tgz", + "integrity": "sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-loong64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.21.5.tgz", + "integrity": "sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-mips64el": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.21.5.tgz", + "integrity": "sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==", + "cpu": [ + "mips64el" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-ppc64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.21.5.tgz", + "integrity": "sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-riscv64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.21.5.tgz", + "integrity": "sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-s390x": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.21.5.tgz", + "integrity": "sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.21.5.tgz", + "integrity": "sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/netbsd-arm64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.0.tgz", + "integrity": "sha512-RuG4PSMPFfrkH6UwCAqBzauBWTygTvb1nxWasEJooGSJ/NwRw7b2HOwyRTQIU97Hq37l3npXoZGYMy3b3xYvPw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/netbsd-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.21.5.tgz", + "integrity": "sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/openbsd-arm64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.0.tgz", + "integrity": "sha512-21sUNbq2r84YE+SJDfaQRvdgznTD8Xc0oc3p3iW/a1EVWeNj/SdUCbm5U0itZPQYRuRTW20fPMWMpcrciH2EJw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openbsd-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.21.5.tgz", + "integrity": "sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/sunos-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.21.5.tgz", + "integrity": "sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.21.5.tgz", + "integrity": "sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-ia32": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.21.5.tgz", + "integrity": "sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.21.5.tgz", + "integrity": "sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@eslint-community/eslint-utils": { + "version": "4.7.0", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.7.0.tgz", + "integrity": "sha512-dyybb3AcajC7uha6CvhdVRJqaKyn7w2YKqKyAN37NKYgZT36w+iRb0Dymmc5qEJ549c/S31cMMSFd75bteCpCw==", + "dev": true, + "license": "MIT", + "dependencies": { + "eslint-visitor-keys": "^3.4.3" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" + } + }, + "node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@eslint-community/regexpp": { + "version": "4.12.1", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.1.tgz", + "integrity": "sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.0.0 || ^14.0.0 || >=16.0.0" + } + }, + "node_modules/@eslint/config-array": { + "version": "0.21.0", + "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.21.0.tgz", + "integrity": "sha512-ENIdc4iLu0d93HeYirvKmrzshzofPw6VkZRKQGe9Nv46ZnWUzcF1xV01dcvEg/1wXUR61OmmlSfyeyO7EvjLxQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@eslint/object-schema": "^2.1.6", + "debug": "^4.3.1", + "minimatch": "^3.1.2" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/config-helpers": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.3.0.tgz", + "integrity": "sha512-ViuymvFmcJi04qdZeDc2whTHryouGcDlaxPqarTD0ZE10ISpxGUVZGZDx4w01upyIynL3iu6IXH2bS1NhclQMw==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/core": { + "version": "0.15.1", + "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.15.1.tgz", + "integrity": "sha512-bkOp+iumZCCbt1K1CmWf0R9pM5yKpDv+ZXtvSyQpudrI9kuFLp+bM2WOPXImuD/ceQuaa8f5pj93Y7zyECIGNA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@types/json-schema": "^7.0.15" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/eslintrc": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.3.1.tgz", + "integrity": "sha512-gtF186CXhIl1p4pJNGZw8Yc6RlshoePRvE0X91oPGb3vZ8pM3qOS9W9NGPat9LziaBV7XrJWGylNQXkGcnM3IQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ajv": "^6.12.4", + "debug": "^4.3.2", + "espree": "^10.0.1", + "globals": "^14.0.0", + "ignore": "^5.2.0", + "import-fresh": "^3.2.1", + "js-yaml": "^4.1.0", + "minimatch": "^3.1.2", + "strip-json-comments": "^3.1.1" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@eslint/eslintrc/node_modules/globals": { + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-14.0.0.tgz", + "integrity": "sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@eslint/js": { + "version": "9.32.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.32.0.tgz", + "integrity": "sha512-BBpRFZK3eX6uMLKz8WxFOBIFFcGFJ/g8XuwjTHCqHROSIsopI+ddn/d5Cfh36+7+e5edVS8dbSHnBNhrLEX0zg==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://eslint.org/donate" + } + }, + "node_modules/@eslint/object-schema": { + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-2.1.6.tgz", + "integrity": "sha512-RBMg5FRL0I0gs51M/guSAj5/e14VQ4tpZnQNWwuDT66P14I43ItmPfIZRhO9fUVIPOAQXU47atlywZ/czoqFPA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/plugin-kit": { + "version": "0.3.4", + "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.3.4.tgz", + "integrity": "sha512-Ul5l+lHEcw3L5+k8POx6r74mxEYKG5kOb6Xpy2gCRW6zweT6TEhAf8vhxGgjhqrd/VO/Dirhsb+1hNpD1ue9hw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@eslint/core": "^0.15.1", + "levn": "^0.4.1" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@floating-ui/core": { + "version": "1.7.2", + "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.7.2.tgz", + "integrity": "sha512-wNB5ooIKHQc+Kui96jE/n69rHFWAVoxn5CAzL1Xdd8FG03cgY3MLO+GF9U3W737fYDSgPWA6MReKhBQBop6Pcw==", + "license": "MIT", + "dependencies": { + "@floating-ui/utils": "^0.2.10" + } + }, + "node_modules/@floating-ui/dom": { + "version": "1.7.2", + "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.7.2.tgz", + "integrity": "sha512-7cfaOQuCS27HD7DX+6ib2OrnW+b4ZBwDNnCcT0uTyidcmyWb03FnQqJybDBoCnpdxwBSfA94UAYlRCt7mV+TbA==", + "license": "MIT", + "dependencies": { + "@floating-ui/core": "^1.7.2", + "@floating-ui/utils": "^0.2.10" + } + }, + "node_modules/@floating-ui/react-dom": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@floating-ui/react-dom/-/react-dom-2.1.4.tgz", + "integrity": "sha512-JbbpPhp38UmXDDAu60RJmbeme37Jbgsm7NrHGgzYYFKmblzRUh6Pa641dII6LsjwF4XlScDrde2UAzDo/b9KPw==", + "license": "MIT", + "dependencies": { + "@floating-ui/dom": "^1.7.2" + }, + "peerDependencies": { + "react": ">=16.8.0", + "react-dom": ">=16.8.0" + } + }, + "node_modules/@floating-ui/utils": { + "version": "0.2.10", + "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.10.tgz", + "integrity": "sha512-aGTxbpbg8/b5JfU1HXSrbH3wXZuLPJcNEcZQFMxLs3oSzgtVu6nFPkbbGGUvBcUjKV2YyB9Wxxabo+HEH9tcRQ==", + "license": "MIT" + }, + "node_modules/@hookform/resolvers": { + "version": "3.10.0", + "resolved": "https://registry.npmjs.org/@hookform/resolvers/-/resolvers-3.10.0.tgz", + "integrity": "sha512-79Dv+3mDF7i+2ajj7SkypSKHhl1cbln1OGavqrsF7p6mbUv11xpqpacPsGDCTRvCSjEEIez2ef1NveSVL3b0Ag==", + "license": "MIT", + "peerDependencies": { + "react-hook-form": "^7.0.0" + } + }, + "node_modules/@humanfs/core": { + "version": "0.19.1", + "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.1.tgz", + "integrity": "sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=18.18.0" + } + }, + "node_modules/@humanfs/node": { + "version": "0.16.6", + "resolved": "https://registry.npmjs.org/@humanfs/node/-/node-0.16.6.tgz", + "integrity": "sha512-YuI2ZHQL78Q5HbhDiBA1X4LmYdXCKCMQIfw0pw7piHJwyREFebJUvrQN4cMssyES6x+vfUbx1CIpaQUKYdQZOw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@humanfs/core": "^0.19.1", + "@humanwhocodes/retry": "^0.3.0" + }, + "engines": { + "node": ">=18.18.0" + } + }, + "node_modules/@humanfs/node/node_modules/@humanwhocodes/retry": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.3.1.tgz", + "integrity": "sha512-JBxkERygn7Bv/GbN5Rv8Ul6LVknS+5Bp6RgDC/O8gEBU/yeH5Ui5C/OlWrTb6qct7LjjfT6Re2NxB0ln0yYybA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=18.18" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "node_modules/@humanwhocodes/module-importer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", + "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=12.22" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "node_modules/@humanwhocodes/retry": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.4.3.tgz", + "integrity": "sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=18.18" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "node_modules/@isaacs/cliui": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", + "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", + "license": "ISC", + "dependencies": { + "string-width": "^5.1.2", + "string-width-cjs": "npm:string-width@^4.2.0", + "strip-ansi": "^7.0.1", + "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", + "wrap-ansi": "^8.1.0", + "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@jridgewell/gen-mapping": { + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz", + "integrity": "sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==", + "license": "MIT", + "dependencies": { + "@jridgewell/set-array": "^1.2.1", + "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/trace-mapping": "^0.3.24" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", + "license": "MIT", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/set-array": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz", + "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==", + "license": "MIT", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz", + "integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==", + "license": "MIT" + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.25", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz", + "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==", + "license": "MIT", + "dependencies": { + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" + } + }, + "node_modules/@nodelib/fs.scandir": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", + "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "license": "MIT", + "dependencies": { + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.stat": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", + "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.walk": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", + "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "license": "MIT", + "dependencies": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@pkgjs/parseargs": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", + "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", + "license": "MIT", + "optional": true, + "engines": { + "node": ">=14" + } + }, + "node_modules/@radix-ui/number": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@radix-ui/number/-/number-1.1.1.tgz", + "integrity": "sha512-MkKCwxlXTgz6CFoJx3pCwn07GKp36+aZyu/u2Ln2VrA5DcdyCZkASEDBTd8x5whTQQL5CiYf4prXKLcgQdv29g==", + "license": "MIT" + }, + "node_modules/@radix-ui/primitive": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@radix-ui/primitive/-/primitive-1.1.2.tgz", + "integrity": "sha512-XnbHrrprsNqZKQhStrSwgRUQzoCI1glLzdw79xiZPoofhGICeZRSQ3dIxAKH1gb3OHfNf4d6f+vAv3kil2eggA==", + "license": "MIT" + }, + "node_modules/@radix-ui/react-accordion": { + "version": "1.2.11", + "resolved": "https://registry.npmjs.org/@radix-ui/react-accordion/-/react-accordion-1.2.11.tgz", + "integrity": "sha512-l3W5D54emV2ues7jjeG1xcyN7S3jnK3zE2zHqgn0CmMsy9lNJwmgcrmaxS+7ipw15FAivzKNzH3d5EcGoFKw0A==", + "license": "MIT", + "dependencies": { + "@radix-ui/primitive": "1.1.2", + "@radix-ui/react-collapsible": "1.1.11", + "@radix-ui/react-collection": "1.1.7", + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-direction": "1.1.1", + "@radix-ui/react-id": "1.1.1", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-use-controllable-state": "1.2.2" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-alert-dialog": { + "version": "1.1.14", + "resolved": "https://registry.npmjs.org/@radix-ui/react-alert-dialog/-/react-alert-dialog-1.1.14.tgz", + "integrity": "sha512-IOZfZ3nPvN6lXpJTBCunFQPRSvK8MDgSc1FB85xnIpUKOw9en0dJj8JmCAxV7BiZdtYlUpmrQjoTFkVYtdoWzQ==", + "license": "MIT", + "dependencies": { + "@radix-ui/primitive": "1.1.2", + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-dialog": "1.1.14", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-slot": "1.2.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-arrow": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/@radix-ui/react-arrow/-/react-arrow-1.1.7.tgz", + "integrity": "sha512-F+M1tLhO+mlQaOWspE8Wstg+z6PwxwRd8oQ8IXceWz92kfAmalTRf0EjrouQeo7QssEPfCn05B4Ihs1K9WQ/7w==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-primitive": "2.1.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-aspect-ratio": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/@radix-ui/react-aspect-ratio/-/react-aspect-ratio-1.1.7.tgz", + "integrity": "sha512-Yq6lvO9HQyPwev1onK1daHCHqXVLzPhSVjmsNjCa2Zcxy2f7uJD2itDtxknv6FzAKCwD1qQkeVDmX/cev13n/g==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-primitive": "2.1.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-avatar": { + "version": "1.1.10", + "resolved": "https://registry.npmjs.org/@radix-ui/react-avatar/-/react-avatar-1.1.10.tgz", + "integrity": "sha512-V8piFfWapM5OmNCXTzVQY+E1rDa53zY+MQ4Y7356v4fFz6vqCyUtIz2rUD44ZEdwg78/jKmMJHj07+C/Z/rcog==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-use-callback-ref": "1.1.1", + "@radix-ui/react-use-is-hydrated": "0.1.0", + "@radix-ui/react-use-layout-effect": "1.1.1" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-checkbox": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/@radix-ui/react-checkbox/-/react-checkbox-1.3.2.tgz", + "integrity": "sha512-yd+dI56KZqawxKZrJ31eENUwqc1QSqg4OZ15rybGjF2ZNwMO+wCyHzAVLRp9qoYJf7kYy0YpZ2b0JCzJ42HZpA==", + "license": "MIT", + "dependencies": { + "@radix-ui/primitive": "1.1.2", + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-presence": "1.1.4", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-use-controllable-state": "1.2.2", + "@radix-ui/react-use-previous": "1.1.1", + "@radix-ui/react-use-size": "1.1.1" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-collapsible": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/@radix-ui/react-collapsible/-/react-collapsible-1.1.11.tgz", + "integrity": "sha512-2qrRsVGSCYasSz1RFOorXwl0H7g7J1frQtgpQgYrt+MOidtPAINHn9CPovQXb83r8ahapdx3Tu0fa/pdFFSdPg==", + "license": "MIT", + "dependencies": { + "@radix-ui/primitive": "1.1.2", + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-id": "1.1.1", + "@radix-ui/react-presence": "1.1.4", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-use-controllable-state": "1.2.2", + "@radix-ui/react-use-layout-effect": "1.1.1" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-collection": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/@radix-ui/react-collection/-/react-collection-1.1.7.tgz", + "integrity": "sha512-Fh9rGN0MoI4ZFUNyfFVNU4y9LUz93u9/0K+yLgA2bwRojxM8JU1DyvvMBabnZPBgMWREAJvU2jjVzq+LrFUglw==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-slot": "1.2.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-compose-refs": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.2.tgz", + "integrity": "sha512-z4eqJvfiNnFMHIIvXP3CY57y2WJs5g2v3X0zm9mEJkrkNv4rDxu+sg9Jh8EkXyeqBkB7SOcboo9dMVqhyrACIg==", + "license": "MIT", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-context": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.2.tgz", + "integrity": "sha512-jCi/QKUM2r1Ju5a3J64TH2A5SpKAgh0LpknyqdQ4m6DCV0xJ2HG1xARRwNGPQfi1SLdLWZ1OJz6F4OMBBNiGJA==", + "license": "MIT", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-context-menu": { + "version": "2.2.15", + "resolved": "https://registry.npmjs.org/@radix-ui/react-context-menu/-/react-context-menu-2.2.15.tgz", + "integrity": "sha512-UsQUMjcYTsBjTSXw0P3GO0werEQvUY2plgRQuKoCTtkNr45q1DiL51j4m7gxhABzZ0BadoXNsIbg7F3KwiUBbw==", + "license": "MIT", + "dependencies": { + "@radix-ui/primitive": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-menu": "2.1.15", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-use-callback-ref": "1.1.1", + "@radix-ui/react-use-controllable-state": "1.2.2" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-dialog": { + "version": "1.1.14", + "resolved": "https://registry.npmjs.org/@radix-ui/react-dialog/-/react-dialog-1.1.14.tgz", + "integrity": "sha512-+CpweKjqpzTmwRwcYECQcNYbI8V9VSQt0SNFKeEBLgfucbsLssU6Ppq7wUdNXEGb573bMjFhVjKVll8rmV6zMw==", + "license": "MIT", + "dependencies": { + "@radix-ui/primitive": "1.1.2", + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-dismissable-layer": "1.1.10", + "@radix-ui/react-focus-guards": "1.1.2", + "@radix-ui/react-focus-scope": "1.1.7", + "@radix-ui/react-id": "1.1.1", + "@radix-ui/react-portal": "1.1.9", + "@radix-ui/react-presence": "1.1.4", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-slot": "1.2.3", + "@radix-ui/react-use-controllable-state": "1.2.2", + "aria-hidden": "^1.2.4", + "react-remove-scroll": "^2.6.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-direction": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@radix-ui/react-direction/-/react-direction-1.1.1.tgz", + "integrity": "sha512-1UEWRX6jnOA2y4H5WczZ44gOOjTEmlqv1uNW4GAJEO5+bauCBhv8snY65Iw5/VOS/ghKN9gr2KjnLKxrsvoMVw==", + "license": "MIT", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-dismissable-layer": { + "version": "1.1.10", + "resolved": "https://registry.npmjs.org/@radix-ui/react-dismissable-layer/-/react-dismissable-layer-1.1.10.tgz", + "integrity": "sha512-IM1zzRV4W3HtVgftdQiiOmA0AdJlCtMLe00FXaHwgt3rAnNsIyDqshvkIW3hj/iu5hu8ERP7KIYki6NkqDxAwQ==", + "license": "MIT", + "dependencies": { + "@radix-ui/primitive": "1.1.2", + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-use-callback-ref": "1.1.1", + "@radix-ui/react-use-escape-keydown": "1.1.1" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-dropdown-menu": { + "version": "2.1.15", + "resolved": "https://registry.npmjs.org/@radix-ui/react-dropdown-menu/-/react-dropdown-menu-2.1.15.tgz", + "integrity": "sha512-mIBnOjgwo9AH3FyKaSWoSu/dYj6VdhJ7frEPiGTeXCdUFHjl9h3mFh2wwhEtINOmYXWhdpf1rY2minFsmaNgVQ==", + "license": "MIT", + "dependencies": { + "@radix-ui/primitive": "1.1.2", + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-id": "1.1.1", + "@radix-ui/react-menu": "2.1.15", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-use-controllable-state": "1.2.2" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-focus-guards": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@radix-ui/react-focus-guards/-/react-focus-guards-1.1.2.tgz", + "integrity": "sha512-fyjAACV62oPV925xFCrH8DR5xWhg9KYtJT4s3u54jxp+L/hbpTY2kIeEFFbFe+a/HCE94zGQMZLIpVTPVZDhaA==", + "license": "MIT", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-focus-scope": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/@radix-ui/react-focus-scope/-/react-focus-scope-1.1.7.tgz", + "integrity": "sha512-t2ODlkXBQyn7jkl6TNaw/MtVEVvIGelJDCG41Okq/KwUsJBwQ4XVZsHAVUkK4mBv3ewiAS3PGuUWuY2BoK4ZUw==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-use-callback-ref": "1.1.1" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-hover-card": { + "version": "1.1.14", + "resolved": "https://registry.npmjs.org/@radix-ui/react-hover-card/-/react-hover-card-1.1.14.tgz", + "integrity": "sha512-CPYZ24Mhirm+g6D8jArmLzjYu4Eyg3TTUHswR26QgzXBHBe64BO/RHOJKzmF/Dxb4y4f9PKyJdwm/O/AhNkb+Q==", + "license": "MIT", + "dependencies": { + "@radix-ui/primitive": "1.1.2", + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-dismissable-layer": "1.1.10", + "@radix-ui/react-popper": "1.2.7", + "@radix-ui/react-portal": "1.1.9", + "@radix-ui/react-presence": "1.1.4", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-use-controllable-state": "1.2.2" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-id": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@radix-ui/react-id/-/react-id-1.1.1.tgz", + "integrity": "sha512-kGkGegYIdQsOb4XjsfM97rXsiHaBwco+hFI66oO4s9LU+PLAC5oJ7khdOVFxkhsmlbpUqDAvXw11CluXP+jkHg==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-use-layout-effect": "1.1.1" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-label": { + "version": "2.1.7", + "resolved": "https://registry.npmjs.org/@radix-ui/react-label/-/react-label-2.1.7.tgz", + "integrity": "sha512-YT1GqPSL8kJn20djelMX7/cTRp/Y9w5IZHvfxQTVHrOqa2yMl7i/UfMqKRU5V7mEyKTrUVgJXhNQPVCG8PBLoQ==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-primitive": "2.1.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-menu": { + "version": "2.1.15", + "resolved": "https://registry.npmjs.org/@radix-ui/react-menu/-/react-menu-2.1.15.tgz", + "integrity": "sha512-tVlmA3Vb9n8SZSd+YSbuFR66l87Wiy4du+YE+0hzKQEANA+7cWKH1WgqcEX4pXqxUFQKrWQGHdvEfw00TjFiew==", + "license": "MIT", + "dependencies": { + "@radix-ui/primitive": "1.1.2", + "@radix-ui/react-collection": "1.1.7", + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-direction": "1.1.1", + "@radix-ui/react-dismissable-layer": "1.1.10", + "@radix-ui/react-focus-guards": "1.1.2", + "@radix-ui/react-focus-scope": "1.1.7", + "@radix-ui/react-id": "1.1.1", + "@radix-ui/react-popper": "1.2.7", + "@radix-ui/react-portal": "1.1.9", + "@radix-ui/react-presence": "1.1.4", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-roving-focus": "1.1.10", + "@radix-ui/react-slot": "1.2.3", + "@radix-ui/react-use-callback-ref": "1.1.1", + "aria-hidden": "^1.2.4", + "react-remove-scroll": "^2.6.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-menubar": { + "version": "1.1.15", + "resolved": "https://registry.npmjs.org/@radix-ui/react-menubar/-/react-menubar-1.1.15.tgz", + "integrity": "sha512-Z71C7LGD+YDYo3TV81paUs8f3Zbmkvg6VLRQpKYfzioOE6n7fOhA3ApK/V/2Odolxjoc4ENk8AYCjohCNayd5A==", + "license": "MIT", + "dependencies": { + "@radix-ui/primitive": "1.1.2", + "@radix-ui/react-collection": "1.1.7", + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-direction": "1.1.1", + "@radix-ui/react-id": "1.1.1", + "@radix-ui/react-menu": "2.1.15", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-roving-focus": "1.1.10", + "@radix-ui/react-use-controllable-state": "1.2.2" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-navigation-menu": { + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/@radix-ui/react-navigation-menu/-/react-navigation-menu-1.2.13.tgz", + "integrity": "sha512-WG8wWfDiJlSF5hELjwfjSGOXcBR/ZMhBFCGYe8vERpC39CQYZeq1PQ2kaYHdye3V95d06H89KGMsVCIE4LWo3g==", + "license": "MIT", + "dependencies": { + "@radix-ui/primitive": "1.1.2", + "@radix-ui/react-collection": "1.1.7", + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-direction": "1.1.1", + "@radix-ui/react-dismissable-layer": "1.1.10", + "@radix-ui/react-id": "1.1.1", + "@radix-ui/react-presence": "1.1.4", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-use-callback-ref": "1.1.1", + "@radix-ui/react-use-controllable-state": "1.2.2", + "@radix-ui/react-use-layout-effect": "1.1.1", + "@radix-ui/react-use-previous": "1.1.1", + "@radix-ui/react-visually-hidden": "1.2.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-popover": { + "version": "1.1.14", + "resolved": "https://registry.npmjs.org/@radix-ui/react-popover/-/react-popover-1.1.14.tgz", + "integrity": "sha512-ODz16+1iIbGUfFEfKx2HTPKizg2MN39uIOV8MXeHnmdd3i/N9Wt7vU46wbHsqA0xoaQyXVcs0KIlBdOA2Y95bw==", + "license": "MIT", + "dependencies": { + "@radix-ui/primitive": "1.1.2", + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-dismissable-layer": "1.1.10", + "@radix-ui/react-focus-guards": "1.1.2", + "@radix-ui/react-focus-scope": "1.1.7", + "@radix-ui/react-id": "1.1.1", + "@radix-ui/react-popper": "1.2.7", + "@radix-ui/react-portal": "1.1.9", + "@radix-ui/react-presence": "1.1.4", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-slot": "1.2.3", + "@radix-ui/react-use-controllable-state": "1.2.2", + "aria-hidden": "^1.2.4", + "react-remove-scroll": "^2.6.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-popper": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/@radix-ui/react-popper/-/react-popper-1.2.7.tgz", + "integrity": "sha512-IUFAccz1JyKcf/RjB552PlWwxjeCJB8/4KxT7EhBHOJM+mN7LdW+B3kacJXILm32xawcMMjb2i0cIZpo+f9kiQ==", + "license": "MIT", + "dependencies": { + "@floating-ui/react-dom": "^2.0.0", + "@radix-ui/react-arrow": "1.1.7", + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-use-callback-ref": "1.1.1", + "@radix-ui/react-use-layout-effect": "1.1.1", + "@radix-ui/react-use-rect": "1.1.1", + "@radix-ui/react-use-size": "1.1.1", + "@radix-ui/rect": "1.1.1" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-portal": { + "version": "1.1.9", + "resolved": "https://registry.npmjs.org/@radix-ui/react-portal/-/react-portal-1.1.9.tgz", + "integrity": "sha512-bpIxvq03if6UNwXZ+HTK71JLh4APvnXntDc6XOX8UVq4XQOVl7lwok0AvIl+b8zgCw3fSaVTZMpAPPagXbKmHQ==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-use-layout-effect": "1.1.1" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-presence": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/@radix-ui/react-presence/-/react-presence-1.1.4.tgz", + "integrity": "sha512-ueDqRbdc4/bkaQT3GIpLQssRlFgWaL/U2z/S31qRwwLWoxHLgry3SIfCwhxeQNbirEUXFa+lq3RL3oBYXtcmIA==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-use-layout-effect": "1.1.1" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-primitive": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.3.tgz", + "integrity": "sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-slot": "1.2.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-progress": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/@radix-ui/react-progress/-/react-progress-1.1.7.tgz", + "integrity": "sha512-vPdg/tF6YC/ynuBIJlk1mm7Le0VgW6ub6J2UWnTQ7/D23KXcPI1qy+0vBkgKgd38RCMJavBXpB83HPNFMTb0Fg==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-primitive": "2.1.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-radio-group": { + "version": "1.3.7", + "resolved": "https://registry.npmjs.org/@radix-ui/react-radio-group/-/react-radio-group-1.3.7.tgz", + "integrity": "sha512-9w5XhD0KPOrm92OTTE0SysH3sYzHsSTHNvZgUBo/VZ80VdYyB5RneDbc0dKpURS24IxkoFRu/hI0i4XyfFwY6g==", + "license": "MIT", + "dependencies": { + "@radix-ui/primitive": "1.1.2", + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-direction": "1.1.1", + "@radix-ui/react-presence": "1.1.4", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-roving-focus": "1.1.10", + "@radix-ui/react-use-controllable-state": "1.2.2", + "@radix-ui/react-use-previous": "1.1.1", + "@radix-ui/react-use-size": "1.1.1" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-roving-focus": { + "version": "1.1.10", + "resolved": "https://registry.npmjs.org/@radix-ui/react-roving-focus/-/react-roving-focus-1.1.10.tgz", + "integrity": "sha512-dT9aOXUen9JSsxnMPv/0VqySQf5eDQ6LCk5Sw28kamz8wSOW2bJdlX2Bg5VUIIcV+6XlHpWTIuTPCf/UNIyq8Q==", + "license": "MIT", + "dependencies": { + "@radix-ui/primitive": "1.1.2", + "@radix-ui/react-collection": "1.1.7", + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-direction": "1.1.1", + "@radix-ui/react-id": "1.1.1", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-use-callback-ref": "1.1.1", + "@radix-ui/react-use-controllable-state": "1.2.2" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-scroll-area": { + "version": "1.2.9", + "resolved": "https://registry.npmjs.org/@radix-ui/react-scroll-area/-/react-scroll-area-1.2.9.tgz", + "integrity": "sha512-YSjEfBXnhUELsO2VzjdtYYD4CfQjvao+lhhrX5XsHD7/cyUNzljF1FHEbgTPN7LH2MClfwRMIsYlqTYpKTTe2A==", + "license": "MIT", + "dependencies": { + "@radix-ui/number": "1.1.1", + "@radix-ui/primitive": "1.1.2", + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-direction": "1.1.1", + "@radix-ui/react-presence": "1.1.4", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-use-callback-ref": "1.1.1", + "@radix-ui/react-use-layout-effect": "1.1.1" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-select": { + "version": "2.2.5", + "resolved": "https://registry.npmjs.org/@radix-ui/react-select/-/react-select-2.2.5.tgz", + "integrity": "sha512-HnMTdXEVuuyzx63ME0ut4+sEMYW6oouHWNGUZc7ddvUWIcfCva/AMoqEW/3wnEllriMWBa0RHspCYnfCWJQYmA==", + "license": "MIT", + "dependencies": { + "@radix-ui/number": "1.1.1", + "@radix-ui/primitive": "1.1.2", + "@radix-ui/react-collection": "1.1.7", + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-direction": "1.1.1", + "@radix-ui/react-dismissable-layer": "1.1.10", + "@radix-ui/react-focus-guards": "1.1.2", + "@radix-ui/react-focus-scope": "1.1.7", + "@radix-ui/react-id": "1.1.1", + "@radix-ui/react-popper": "1.2.7", + "@radix-ui/react-portal": "1.1.9", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-slot": "1.2.3", + "@radix-ui/react-use-callback-ref": "1.1.1", + "@radix-ui/react-use-controllable-state": "1.2.2", + "@radix-ui/react-use-layout-effect": "1.1.1", + "@radix-ui/react-use-previous": "1.1.1", + "@radix-ui/react-visually-hidden": "1.2.3", + "aria-hidden": "^1.2.4", + "react-remove-scroll": "^2.6.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-separator": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/@radix-ui/react-separator/-/react-separator-1.1.7.tgz", + "integrity": "sha512-0HEb8R9E8A+jZjvmFCy/J4xhbXy3TV+9XSnGJ3KvTtjlIUy/YQ/p6UYZvi7YbeoeXdyU9+Y3scizK6hkY37baA==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-primitive": "2.1.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-slider": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/@radix-ui/react-slider/-/react-slider-1.3.5.tgz", + "integrity": "sha512-rkfe2pU2NBAYfGaxa3Mqosi7VZEWX5CxKaanRv0vZd4Zhl9fvQrg0VM93dv3xGLGfrHuoTRF3JXH8nb9g+B3fw==", + "license": "MIT", + "dependencies": { + "@radix-ui/number": "1.1.1", + "@radix-ui/primitive": "1.1.2", + "@radix-ui/react-collection": "1.1.7", + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-direction": "1.1.1", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-use-controllable-state": "1.2.2", + "@radix-ui/react-use-layout-effect": "1.1.1", + "@radix-ui/react-use-previous": "1.1.1", + "@radix-ui/react-use-size": "1.1.1" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-slot": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz", + "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.2" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-switch": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/@radix-ui/react-switch/-/react-switch-1.2.5.tgz", + "integrity": "sha512-5ijLkak6ZMylXsaImpZ8u4Rlf5grRmoc0p0QeX9VJtlrM4f5m3nCTX8tWga/zOA8PZYIR/t0p2Mnvd7InrJ6yQ==", + "license": "MIT", + "dependencies": { + "@radix-ui/primitive": "1.1.2", + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-use-controllable-state": "1.2.2", + "@radix-ui/react-use-previous": "1.1.1", + "@radix-ui/react-use-size": "1.1.1" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-tabs": { + "version": "1.1.12", + "resolved": "https://registry.npmjs.org/@radix-ui/react-tabs/-/react-tabs-1.1.12.tgz", + "integrity": "sha512-GTVAlRVrQrSw3cEARM0nAx73ixrWDPNZAruETn3oHCNP6SbZ/hNxdxp+u7VkIEv3/sFoLq1PfcHrl7Pnp0CDpw==", + "license": "MIT", + "dependencies": { + "@radix-ui/primitive": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-direction": "1.1.1", + "@radix-ui/react-id": "1.1.1", + "@radix-ui/react-presence": "1.1.4", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-roving-focus": "1.1.10", + "@radix-ui/react-use-controllable-state": "1.2.2" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-toast": { + "version": "1.2.14", + "resolved": "https://registry.npmjs.org/@radix-ui/react-toast/-/react-toast-1.2.14.tgz", + "integrity": "sha512-nAP5FBxBJGQ/YfUB+r+O6USFVkWq3gAInkxyEnmvEV5jtSbfDhfa4hwX8CraCnbjMLsE7XSf/K75l9xXY7joWg==", + "license": "MIT", + "dependencies": { + "@radix-ui/primitive": "1.1.2", + "@radix-ui/react-collection": "1.1.7", + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-dismissable-layer": "1.1.10", + "@radix-ui/react-portal": "1.1.9", + "@radix-ui/react-presence": "1.1.4", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-use-callback-ref": "1.1.1", + "@radix-ui/react-use-controllable-state": "1.2.2", + "@radix-ui/react-use-layout-effect": "1.1.1", + "@radix-ui/react-visually-hidden": "1.2.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-toggle": { + "version": "1.1.9", + "resolved": "https://registry.npmjs.org/@radix-ui/react-toggle/-/react-toggle-1.1.9.tgz", + "integrity": "sha512-ZoFkBBz9zv9GWer7wIjvdRxmh2wyc2oKWw6C6CseWd6/yq1DK/l5lJ+wnsmFwJZbBYqr02mrf8A2q/CVCuM3ZA==", + "license": "MIT", + "dependencies": { + "@radix-ui/primitive": "1.1.2", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-use-controllable-state": "1.2.2" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-toggle-group": { + "version": "1.1.10", + "resolved": "https://registry.npmjs.org/@radix-ui/react-toggle-group/-/react-toggle-group-1.1.10.tgz", + "integrity": "sha512-kiU694Km3WFLTC75DdqgM/3Jauf3rD9wxeS9XtyWFKsBUeZA337lC+6uUazT7I1DhanZ5gyD5Stf8uf2dbQxOQ==", + "license": "MIT", + "dependencies": { + "@radix-ui/primitive": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-direction": "1.1.1", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-roving-focus": "1.1.10", + "@radix-ui/react-toggle": "1.1.9", + "@radix-ui/react-use-controllable-state": "1.2.2" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-tooltip": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/@radix-ui/react-tooltip/-/react-tooltip-1.2.7.tgz", + "integrity": "sha512-Ap+fNYwKTYJ9pzqW+Xe2HtMRbQ/EeWkj2qykZ6SuEV4iS/o1bZI5ssJbk4D2r8XuDuOBVz/tIx2JObtuqU+5Zw==", + "license": "MIT", + "dependencies": { + "@radix-ui/primitive": "1.1.2", + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-dismissable-layer": "1.1.10", + "@radix-ui/react-id": "1.1.1", + "@radix-ui/react-popper": "1.2.7", + "@radix-ui/react-portal": "1.1.9", + "@radix-ui/react-presence": "1.1.4", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-slot": "1.2.3", + "@radix-ui/react-use-controllable-state": "1.2.2", + "@radix-ui/react-visually-hidden": "1.2.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-use-callback-ref": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.1.1.tgz", + "integrity": "sha512-FkBMwD+qbGQeMu1cOHnuGB6x4yzPjho8ap5WtbEJ26umhgqVXbhekKUQO+hZEL1vU92a3wHwdp0HAcqAUF5iDg==", + "license": "MIT", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-use-controllable-state": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@radix-ui/react-use-controllable-state/-/react-use-controllable-state-1.2.2.tgz", + "integrity": "sha512-BjasUjixPFdS+NKkypcyyN5Pmg83Olst0+c6vGov0diwTEo6mgdqVR6hxcEgFuh4QrAs7Rc+9KuGJ9TVCj0Zzg==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-use-effect-event": "0.0.2", + "@radix-ui/react-use-layout-effect": "1.1.1" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-use-effect-event": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/@radix-ui/react-use-effect-event/-/react-use-effect-event-0.0.2.tgz", + "integrity": "sha512-Qp8WbZOBe+blgpuUT+lw2xheLP8q0oatc9UpmiemEICxGvFLYmHm9QowVZGHtJlGbS6A6yJ3iViad/2cVjnOiA==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-use-layout-effect": "1.1.1" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-use-escape-keydown": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@radix-ui/react-use-escape-keydown/-/react-use-escape-keydown-1.1.1.tgz", + "integrity": "sha512-Il0+boE7w/XebUHyBjroE+DbByORGR9KKmITzbR7MyQ4akpORYP/ZmbhAr0DG7RmmBqoOnZdy2QlvajJ2QA59g==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-use-callback-ref": "1.1.1" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-use-is-hydrated": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-use-is-hydrated/-/react-use-is-hydrated-0.1.0.tgz", + "integrity": "sha512-U+UORVEq+cTnRIaostJv9AGdV3G6Y+zbVd+12e18jQ5A3c0xL03IhnHuiU4UV69wolOQp5GfR58NW/EgdQhwOA==", + "license": "MIT", + "dependencies": { + "use-sync-external-store": "^1.5.0" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-use-layout-effect": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.1.1.tgz", + "integrity": "sha512-RbJRS4UWQFkzHTTwVymMTUv8EqYhOp8dOOviLj2ugtTiXRaRQS7GLGxZTLL1jWhMeoSCf5zmcZkqTl9IiYfXcQ==", + "license": "MIT", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-use-previous": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@radix-ui/react-use-previous/-/react-use-previous-1.1.1.tgz", + "integrity": "sha512-2dHfToCj/pzca2Ck724OZ5L0EVrr3eHRNsG/b3xQJLA2hZpVCS99bLAX+hm1IHXDEnzU6by5z/5MIY794/a8NQ==", + "license": "MIT", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-use-rect": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@radix-ui/react-use-rect/-/react-use-rect-1.1.1.tgz", + "integrity": "sha512-QTYuDesS0VtuHNNvMh+CjlKJ4LJickCMUAqjlE3+j8w+RlRpwyX3apEQKGFzbZGdo7XNG1tXa+bQqIE7HIXT2w==", + "license": "MIT", + "dependencies": { + "@radix-ui/rect": "1.1.1" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-use-size": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@radix-ui/react-use-size/-/react-use-size-1.1.1.tgz", + "integrity": "sha512-ewrXRDTAqAXlkl6t/fkXWNAhFX9I+CkKlw6zjEwk86RSPKwZr3xpBRso655aqYafwtnbpHLj6toFzmd6xdVptQ==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-use-layout-effect": "1.1.1" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-visually-hidden": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-visually-hidden/-/react-visually-hidden-1.2.3.tgz", + "integrity": "sha512-pzJq12tEaaIhqjbzpCuv/OypJY/BPavOofm+dbab+MHLajy277+1lLm6JFcGgF5eskJ6mquGirhXY2GD/8u8Ug==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-primitive": "2.1.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/rect": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@radix-ui/rect/-/rect-1.1.1.tgz", + "integrity": "sha512-HPwpGIzkl28mWyZqG52jiqDJ12waP11Pa1lGoiyUkIEuMLBP0oeK/C89esbXrxsky5we7dfd8U58nm0SgAWpVw==", + "license": "MIT" + }, + "node_modules/@remix-run/router": { + "version": "1.23.0", + "resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.23.0.tgz", + "integrity": "sha512-O3rHJzAQKamUz1fvE0Qaw0xSFqsA/yafi2iqeE0pvdFtCO1viYx8QL6f3Ln/aCCTLxs68SLf0KPM9eSeM8yBnA==", + "license": "MIT", + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@rolldown/pluginutils": { + "version": "1.0.0-beta.27", + "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.0-beta.27.tgz", + "integrity": "sha512-+d0F4MKMCbeVUJwG96uQ4SgAznZNSq93I3V+9NHA4OpvqG8mRCpGdKmK8l/dl02h2CCDHwW2FqilnTyDcAnqjA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@rollup/rollup-android-arm-eabi": { + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.24.0.tgz", + "integrity": "sha512-Q6HJd7Y6xdB48x8ZNVDOqsbh2uByBhgK8PiQgPhwkIw/HC/YX5Ghq2mQY5sRMZWHb3VsFkWooUVOZHKr7DmDIA==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-android-arm64": { + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.24.0.tgz", + "integrity": "sha512-ijLnS1qFId8xhKjT81uBHuuJp2lU4x2yxa4ctFPtG+MqEE6+C5f/+X/bStmxapgmwLwiL3ih122xv8kVARNAZA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-darwin-arm64": { + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.24.0.tgz", + "integrity": "sha512-bIv+X9xeSs1XCk6DVvkO+S/z8/2AMt/2lMqdQbMrmVpgFvXlmde9mLcbQpztXm1tajC3raFDqegsH18HQPMYtA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@rollup/rollup-darwin-x64": { + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.24.0.tgz", + "integrity": "sha512-X6/nOwoFN7RT2svEQWUsW/5C/fYMBe4fnLK9DQk4SX4mgVBiTA9h64kjUYPvGQ0F/9xwJ5U5UfTbl6BEjaQdBQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@rollup/rollup-linux-arm-gnueabihf": { + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.24.0.tgz", + "integrity": "sha512-0KXvIJQMOImLCVCz9uvvdPgfyWo93aHHp8ui3FrtOP57svqrF/roSSR5pjqL2hcMp0ljeGlU4q9o/rQaAQ3AYA==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm-musleabihf": { + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.24.0.tgz", + "integrity": "sha512-it2BW6kKFVh8xk/BnHfakEeoLPv8STIISekpoF+nBgWM4d55CZKc7T4Dx1pEbTnYm/xEKMgy1MNtYuoA8RFIWw==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm64-gnu": { + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.24.0.tgz", + "integrity": "sha512-i0xTLXjqap2eRfulFVlSnM5dEbTVque/3Pi4g2y7cxrs7+a9De42z4XxKLYJ7+OhE3IgxvfQM7vQc43bwTgPwA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm64-musl": { + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.24.0.tgz", + "integrity": "sha512-9E6MKUJhDuDh604Qco5yP/3qn3y7SLXYuiC0Rpr89aMScS2UAmK1wHP2b7KAa1nSjWJc/f/Lc0Wl1L47qjiyQw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-powerpc64le-gnu": { + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.24.0.tgz", + "integrity": "sha512-2XFFPJ2XMEiF5Zi2EBf4h73oR1V/lycirxZxHZNc93SqDN/IWhYYSYj8I9381ikUFXZrz2v7r2tOVk2NBwxrWw==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-riscv64-gnu": { + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.24.0.tgz", + "integrity": "sha512-M3Dg4hlwuntUCdzU7KjYqbbd+BLq3JMAOhCKdBE3TcMGMZbKkDdJ5ivNdehOssMCIokNHFOsv7DO4rlEOfyKpg==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-s390x-gnu": { + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.24.0.tgz", + "integrity": "sha512-mjBaoo4ocxJppTorZVKWFpy1bfFj9FeCMJqzlMQGjpNPY9JwQi7OuS1axzNIk0nMX6jSgy6ZURDZ2w0QW6D56g==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-x64-gnu": { + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.24.0.tgz", + "integrity": "sha512-ZXFk7M72R0YYFN5q13niV0B7G8/5dcQ9JDp8keJSfr3GoZeXEoMHP/HlvqROA3OMbMdfr19IjCeNAnPUG93b6A==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-x64-musl": { + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.24.0.tgz", + "integrity": "sha512-w1i+L7kAXZNdYl+vFvzSZy8Y1arS7vMgIy8wusXJzRrPyof5LAb02KGr1PD2EkRcl73kHulIID0M501lN+vobQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-win32-arm64-msvc": { + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.24.0.tgz", + "integrity": "sha512-VXBrnPWgBpVDCVY6XF3LEW0pOU51KbaHhccHw6AS6vBWIC60eqsH19DAeeObl+g8nKAz04QFdl/Cefta0xQtUQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-ia32-msvc": { + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.24.0.tgz", + "integrity": "sha512-xrNcGDU0OxVcPTH/8n/ShH4UevZxKIO6HJFK0e15XItZP2UcaiLFd5kiX7hJnqCbSztUF8Qot+JWBC/QXRPYWQ==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-x64-msvc": { + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.24.0.tgz", + "integrity": "sha512-fbMkAF7fufku0N2dE5TBXcNlg0pt0cJue4xBRE2Qc5Vqikxr4VCgKj/ht6SMdFcOacVA9rqF70APJ8RN/4vMJw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@supabase/auth-js": { + "version": "2.104.1", + "resolved": "https://registry.npmjs.org/@supabase/auth-js/-/auth-js-2.104.1.tgz", + "integrity": "sha512-pqFnDKekq1isqlqnzqzyJ3mzmho+o+FjfVTqhKY3PFlwj2anx3OPznO1kbo1ZEwD8zg1r4EAFf/7pplLyX0ocQ==", + "license": "MIT", + "dependencies": { + "tslib": "2.8.1" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@supabase/functions-js": { + "version": "2.104.1", + "resolved": "https://registry.npmjs.org/@supabase/functions-js/-/functions-js-2.104.1.tgz", + "integrity": "sha512-JjAH4JN9rZzxh4plQnILPrQZXAG6ccoRS6z9hQAGmXpRSwJA+7CWbsDV2R82I8MROlGDsjqj1Ot/cWpTfdf6xg==", + "license": "MIT", + "dependencies": { + "tslib": "2.8.1" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@supabase/phoenix": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/@supabase/phoenix/-/phoenix-0.4.0.tgz", + "integrity": "sha512-RHSx8bHS02xwfHdAbX5Lpbo6PXbgyf7lTaXTlwtFDPwOIw64NnVRwFAXGojHhjtVYI+PEPNSWwkL90f4agN3bw==", + "license": "MIT" + }, + "node_modules/@supabase/postgrest-js": { + "version": "2.104.1", + "resolved": "https://registry.npmjs.org/@supabase/postgrest-js/-/postgrest-js-2.104.1.tgz", + "integrity": "sha512-RqlLpvgXsjcc27fLyHNGm3zN0KDWXbkdTdaFtaEdX83RsTEqH7BAmshH7zoUMml5lL04naUeRjS3B81O6jZcJw==", + "license": "MIT", + "dependencies": { + "tslib": "2.8.1" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@supabase/realtime-js": { + "version": "2.104.1", + "resolved": "https://registry.npmjs.org/@supabase/realtime-js/-/realtime-js-2.104.1.tgz", + "integrity": "sha512-dVJHhFB2ErBd0/2qE9G8CedCrGoAtBfL9Q4zbSMXO7b1Cpld916ljSiX21mURUqijPf1WoPQG4Bp/averUzk/g==", + "license": "MIT", + "dependencies": { + "@supabase/phoenix": "^0.4.0", + "@types/ws": "^8.18.1", + "tslib": "2.8.1", + "ws": "^8.18.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@supabase/storage-js": { + "version": "2.104.1", + "resolved": "https://registry.npmjs.org/@supabase/storage-js/-/storage-js-2.104.1.tgz", + "integrity": "sha512-2bQaLbkRshctkUVuqamwYZDEd+0cGSc9DY9sjh92DcA5hu1F/1AP8p6gxGr76sgdK9Ngi0rh+2Kdh+uC4hcnGA==", + "license": "MIT", + "dependencies": { + "iceberg-js": "^0.8.1", + "tslib": "2.8.1" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@supabase/supabase-js": { + "version": "2.104.1", + "resolved": "https://registry.npmjs.org/@supabase/supabase-js/-/supabase-js-2.104.1.tgz", + "integrity": "sha512-E0H/CtVmaGjiAy+ieZ5ZB/1EqxXcGdaFaAc23AE5zaYfz6NtCNDcmaEdoGPYMPFH5pE6drGG6e3ljPmkFoGVxQ==", + "license": "MIT", + "dependencies": { + "@supabase/auth-js": "2.104.1", + "@supabase/functions-js": "2.104.1", + "@supabase/postgrest-js": "2.104.1", + "@supabase/realtime-js": "2.104.1", + "@supabase/storage-js": "2.104.1" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@swc/core": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/@swc/core/-/core-1.13.2.tgz", + "integrity": "sha512-YWqn+0IKXDhqVLKoac4v2tV6hJqB/wOh8/Br8zjqeqBkKa77Qb0Kw2i7LOFzjFNZbZaPH6AlMGlBwNrxaauaAg==", + "dev": true, + "hasInstallScript": true, + "license": "Apache-2.0", + "dependencies": { + "@swc/counter": "^0.1.3", + "@swc/types": "^0.1.23" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/swc" + }, + "optionalDependencies": { + "@swc/core-darwin-arm64": "1.13.2", + "@swc/core-darwin-x64": "1.13.2", + "@swc/core-linux-arm-gnueabihf": "1.13.2", + "@swc/core-linux-arm64-gnu": "1.13.2", + "@swc/core-linux-arm64-musl": "1.13.2", + "@swc/core-linux-x64-gnu": "1.13.2", + "@swc/core-linux-x64-musl": "1.13.2", + "@swc/core-win32-arm64-msvc": "1.13.2", + "@swc/core-win32-ia32-msvc": "1.13.2", + "@swc/core-win32-x64-msvc": "1.13.2" + }, + "peerDependencies": { + "@swc/helpers": ">=0.5.17" + }, + "peerDependenciesMeta": { + "@swc/helpers": { + "optional": true + } + } + }, + "node_modules/@swc/core-darwin-arm64": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/@swc/core-darwin-arm64/-/core-darwin-arm64-1.13.2.tgz", + "integrity": "sha512-44p7ivuLSGFJ15Vly4ivLJjg3ARo4879LtEBAabcHhSZygpmkP8eyjyWxrH3OxkY1eRZSIJe8yRZPFw4kPXFPw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "Apache-2.0 AND MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=10" + } + }, + "node_modules/@swc/core-darwin-x64": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/@swc/core-darwin-x64/-/core-darwin-x64-1.13.2.tgz", + "integrity": "sha512-Lb9EZi7X2XDAVmuUlBm2UvVAgSCbD3qKqDCxSI4jEOddzVOpNCnyZ/xEampdngUIyDDhhJLYU9duC+Mcsv5Y+A==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "Apache-2.0 AND MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=10" + } + }, + "node_modules/@swc/core-linux-arm-gnueabihf": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.13.2.tgz", + "integrity": "sha512-9TDe/92ee1x57x+0OqL1huG4BeljVx0nWW4QOOxp8CCK67Rpc/HHl2wciJ0Kl9Dxf2NvpNtkPvqj9+BUmM9WVA==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=10" + } + }, + "node_modules/@swc/core-linux-arm64-gnu": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.13.2.tgz", + "integrity": "sha512-KJUSl56DBk7AWMAIEcU83zl5mg3vlQYhLELhjwRFkGFMvghQvdqQ3zFOYa4TexKA7noBZa3C8fb24rI5sw9Exg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "Apache-2.0 AND MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=10" + } + }, + "node_modules/@swc/core-linux-arm64-musl": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.13.2.tgz", + "integrity": "sha512-teU27iG1oyWpNh9CzcGQ48ClDRt/RCem7mYO7ehd2FY102UeTws2+OzLESS1TS1tEZipq/5xwx3FzbVgiolCiQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "Apache-2.0 AND MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=10" + } + }, + "node_modules/@swc/core-linux-x64-gnu": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.13.2.tgz", + "integrity": "sha512-dRPsyPyqpLD0HMRCRpYALIh4kdOir8pPg4AhNQZLehKowigRd30RcLXGNVZcc31Ua8CiPI4QSgjOIxK+EQe4LQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "Apache-2.0 AND MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=10" + } + }, + "node_modules/@swc/core-linux-x64-musl": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.13.2.tgz", + "integrity": "sha512-CCxETW+KkYEQDqz1SYC15YIWYheqFC+PJVOW76Maa/8yu8Biw+HTAcblKf2isrlUtK8RvrQN94v3UXkC2NzCEw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "Apache-2.0 AND MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=10" + } + }, + "node_modules/@swc/core-win32-arm64-msvc": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.13.2.tgz", + "integrity": "sha512-Wv/QTA6PjyRLlmKcN6AmSI4jwSMRl0VTLGs57PHTqYRwwfwd7y4s2fIPJVBNbAlXd795dOEP6d/bGSQSyhOX3A==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "Apache-2.0 AND MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=10" + } + }, + "node_modules/@swc/core-win32-ia32-msvc": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.13.2.tgz", + "integrity": "sha512-PuCdtNynEkUNbUXX/wsyUC+t4mamIU5y00lT5vJcAvco3/r16Iaxl5UCzhXYaWZSNVZMzPp9qN8NlSL8M5pPxw==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "Apache-2.0 AND MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=10" + } + }, + "node_modules/@swc/core-win32-x64-msvc": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.13.2.tgz", + "integrity": "sha512-qlmMkFZJus8cYuBURx1a3YAG2G7IW44i+FEYV5/32ylKkzGNAr9tDJSA53XNnNXkAB5EXSPsOz7bn5C3JlEtdQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "Apache-2.0 AND MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=10" + } + }, + "node_modules/@swc/counter": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/@swc/counter/-/counter-0.1.3.tgz", + "integrity": "sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==", + "dev": true, + "license": "Apache-2.0" + }, + "node_modules/@swc/types": { + "version": "0.1.23", + "resolved": "https://registry.npmjs.org/@swc/types/-/types-0.1.23.tgz", + "integrity": "sha512-u1iIVZV9Q0jxY+yM2vw/hZGDNudsN85bBpTqzAQ9rzkxW9D+e3aEM4Han+ow518gSewkXgjmEK0BD79ZcNVgPw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@swc/counter": "^0.1.3" + } + }, + "node_modules/@tailwindcss/typography": { + "version": "0.5.16", + "resolved": "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.5.16.tgz", + "integrity": "sha512-0wDLwCVF5V3x3b1SGXPCDcdsbDHMBe+lkFzBRaHeLvNi+nrrnZ1lA18u+OTWO8iSWU2GxUOCvlXtDuqftc1oiA==", + "dev": true, + "license": "MIT", + "dependencies": { + "lodash.castarray": "^4.4.0", + "lodash.isplainobject": "^4.0.6", + "lodash.merge": "^4.6.2", + "postcss-selector-parser": "6.0.10" + }, + "peerDependencies": { + "tailwindcss": ">=3.0.0 || insiders || >=4.0.0-alpha.20 || >=4.0.0-beta.1" + } + }, + "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser": { + "version": "6.0.10", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.10.tgz", + "integrity": "sha512-IQ7TZdoaqbT+LCpShg46jnZVlhWD2w6iQYAcYXfHARZ7X1t/UGhhceQDs5X0cGqKvYlHNOuv7Oa1xmb0oQuA3w==", + "dev": true, + "dependencies": { + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/@tanstack/query-core": { + "version": "5.100.3", + "resolved": "https://registry.npmjs.org/@tanstack/query-core/-/query-core-5.100.3.tgz", + "integrity": "sha512-oMO1imV4qStH+GqddafkI7Q7r2ktPL7/0Mu74W1XEhfHHd3oTIrwP3OOIsbtpnnbe8y/IU+8Lm7Bi2LlMhVdNA==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/tannerlinsley" + } + }, + "node_modules/@tanstack/react-query": { + "version": "5.83.0", + "resolved": "https://registry.npmjs.org/@tanstack/react-query/-/react-query-5.83.0.tgz", + "integrity": "sha512-/XGYhZ3foc5H0VM2jLSD/NyBRIOK4q9kfeml4+0x2DlL6xVuAcVEW+hTlTapAmejObg0i3eNqhkr2dT+eciwoQ==", + "license": "MIT", + "dependencies": { + "@tanstack/query-core": "5.83.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/tannerlinsley" + }, + "peerDependencies": { + "react": "^18 || ^19" + } + }, + "node_modules/@tanstack/react-query/node_modules/@tanstack/query-core": { + "version": "5.83.0", + "resolved": "https://registry.npmjs.org/@tanstack/query-core/-/query-core-5.83.0.tgz", + "integrity": "sha512-0M8dA+amXUkyz5cVUm/B+zSk3xkQAcuXuz5/Q/LveT4ots2rBpPTZOzd7yJa2Utsf8D2Upl5KyjhHRY+9lB/XA==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/tannerlinsley" + } + }, + "node_modules/@testing-library/dom": { + "version": "10.4.1", + "resolved": "https://registry.npmjs.org/@testing-library/dom/-/dom-10.4.1.tgz", + "integrity": "sha512-o4PXJQidqJl82ckFaXUeoAW+XysPLauYI43Abki5hABd853iMhitooc6znOnczgbTYmEP6U6/y1ZyKAIsvMKGg==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "@babel/code-frame": "^7.10.4", + "@babel/runtime": "^7.12.5", + "@types/aria-query": "^5.0.1", + "aria-query": "5.3.0", + "dom-accessibility-api": "^0.5.9", + "lz-string": "^1.5.0", + "picocolors": "1.1.1", + "pretty-format": "^27.0.2" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@testing-library/jest-dom": { + "version": "6.9.1", + "resolved": "https://registry.npmjs.org/@testing-library/jest-dom/-/jest-dom-6.9.1.tgz", + "integrity": "sha512-zIcONa+hVtVSSep9UT3jZ5rizo2BsxgyDYU7WFD5eICBE7no3881HGeb/QkGfsJs6JTkY1aQhT7rIPC7e+0nnA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@adobe/css-tools": "^4.4.0", + "aria-query": "^5.0.0", + "css.escape": "^1.5.1", + "dom-accessibility-api": "^0.6.3", + "picocolors": "^1.1.1", + "redent": "^3.0.0" + }, + "engines": { + "node": ">=14", + "npm": ">=6", + "yarn": ">=1" + } + }, + "node_modules/@testing-library/jest-dom/node_modules/dom-accessibility-api": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/dom-accessibility-api/-/dom-accessibility-api-0.6.3.tgz", + "integrity": "sha512-7ZgogeTnjuHbo+ct10G9Ffp0mif17idi0IyWNVA/wcwcm7NPOD/WEHVP3n7n3MhXqxoIYm8d6MuZohYWIZ4T3w==", + "dev": true, + "license": "MIT" + }, + "node_modules/@testing-library/react": { + "version": "16.3.2", + "resolved": "https://registry.npmjs.org/@testing-library/react/-/react-16.3.2.tgz", + "integrity": "sha512-XU5/SytQM+ykqMnAnvB2umaJNIOsLF3PVv//1Ew4CTcpz0/BRyy/af40qqrt7SjKpDdT1saBMc42CUok5gaw+g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.12.5" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@testing-library/dom": "^10.0.0", + "@types/react": "^18.0.0 || ^19.0.0", + "@types/react-dom": "^18.0.0 || ^19.0.0", + "react": "^18.0.0 || ^19.0.0", + "react-dom": "^18.0.0 || ^19.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@tootallnate/once": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz", + "integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 10" + } + }, + "node_modules/@types/aria-query": { + "version": "5.0.4", + "resolved": "https://registry.npmjs.org/@types/aria-query/-/aria-query-5.0.4.tgz", + "integrity": "sha512-rfT93uj5s0PRL7EzccGMs3brplhcrghnDoV26NqKhCAS1hVo+WdNsPvE/yb6ilfr5hi2MEk6d5EWJTKdxg8jVw==", + "dev": true, + "license": "MIT", + "peer": true + }, + "node_modules/@types/chai": { + "version": "5.2.3", + "resolved": "https://registry.npmjs.org/@types/chai/-/chai-5.2.3.tgz", + "integrity": "sha512-Mw558oeA9fFbv65/y4mHtXDs9bPnFMZAL/jxdPFUpOHHIXX91mcgEHbS5Lahr+pwZFR8A7GQleRWeI6cGFC2UA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/deep-eql": "*", + "assertion-error": "^2.0.1" + } + }, + "node_modules/@types/d3-array": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/@types/d3-array/-/d3-array-3.2.1.tgz", + "integrity": "sha512-Y2Jn2idRrLzUfAKV2LyRImR+y4oa2AntrgID95SHJxuMUrkNXmanDSed71sRNZysveJVt1hLLemQZIady0FpEg==", + "license": "MIT" + }, + "node_modules/@types/d3-color": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/@types/d3-color/-/d3-color-3.1.3.tgz", + "integrity": "sha512-iO90scth9WAbmgv7ogoq57O9YpKmFBbmoEoCHDB2xMBY0+/KVrqAaCDyCE16dUspeOvIxFFRI+0sEtqDqy2b4A==", + "license": "MIT" + }, + "node_modules/@types/d3-ease": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@types/d3-ease/-/d3-ease-3.0.2.tgz", + "integrity": "sha512-NcV1JjO5oDzoK26oMzbILE6HW7uVXOHLQvHshBUW4UMdZGfiY6v5BeQwh9a9tCzv+CeefZQHJt5SRgK154RtiA==", + "license": "MIT" + }, + "node_modules/@types/d3-interpolate": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@types/d3-interpolate/-/d3-interpolate-3.0.4.tgz", + "integrity": "sha512-mgLPETlrpVV1YRJIglr4Ez47g7Yxjl1lj7YKsiMCb27VJH9W8NVM6Bb9d8kkpG/uAQS5AmbA48q2IAolKKo1MA==", + "license": "MIT", + "dependencies": { + "@types/d3-color": "*" + } + }, + "node_modules/@types/d3-path": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@types/d3-path/-/d3-path-3.1.0.tgz", + "integrity": "sha512-P2dlU/q51fkOc/Gfl3Ul9kicV7l+ra934qBFXCFhrZMOL6du1TM0pm1ThYvENukyOn5h9v+yMJ9Fn5JK4QozrQ==", + "license": "MIT" + }, + "node_modules/@types/d3-scale": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/@types/d3-scale/-/d3-scale-4.0.8.tgz", + "integrity": "sha512-gkK1VVTr5iNiYJ7vWDI+yUFFlszhNMtVeneJ6lUTKPjprsvLLI9/tgEGiXJOnlINJA8FyA88gfnQsHbybVZrYQ==", + "license": "MIT", + "dependencies": { + "@types/d3-time": "*" + } + }, + "node_modules/@types/d3-shape": { + "version": "3.1.6", + "resolved": "https://registry.npmjs.org/@types/d3-shape/-/d3-shape-3.1.6.tgz", + "integrity": "sha512-5KKk5aKGu2I+O6SONMYSNflgiP0WfZIQvVUMan50wHsLG1G94JlxEVnCpQARfTtzytuY0p/9PXXZb3I7giofIA==", + "license": "MIT", + "dependencies": { + "@types/d3-path": "*" + } + }, + "node_modules/@types/d3-time": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@types/d3-time/-/d3-time-3.0.3.tgz", + "integrity": "sha512-2p6olUZ4w3s+07q3Tm2dbiMZy5pCDfYwtLXXHUnVzXgQlZ/OyPtUz6OL382BkOuGlLXqfT+wqv8Fw2v8/0geBw==", + "license": "MIT" + }, + "node_modules/@types/d3-timer": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@types/d3-timer/-/d3-timer-3.0.2.tgz", + "integrity": "sha512-Ps3T8E8dZDam6fUyNiMkekK3XUsaUEik+idO9/YjPtfj2qruF8tFBXS7XhtE4iIXBLxhmLjP3SXpLhVf21I9Lw==", + "license": "MIT" + }, + "node_modules/@types/debug": { + "version": "4.1.13", + "resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.13.tgz", + "integrity": "sha512-KSVgmQmzMwPlmtljOomayoR89W4FynCAi3E8PPs7vmDVPe84hT+vGPKkJfThkmXs0x0jAaa9U8uW8bbfyS2fWw==", + "license": "MIT", + "dependencies": { + "@types/ms": "*" + } + }, + "node_modules/@types/deep-eql": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@types/deep-eql/-/deep-eql-4.0.2.tgz", + "integrity": "sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/estree": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.6.tgz", + "integrity": "sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==", + "license": "MIT" + }, + "node_modules/@types/estree-jsx": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/@types/estree-jsx/-/estree-jsx-1.0.5.tgz", + "integrity": "sha512-52CcUVNFyfb1A2ALocQw/Dd1BQFNmSdkuC3BkZ6iqhdMfQz7JWOFRuJFloOzjk+6WijU56m9oKXFAXc7o3Towg==", + "license": "MIT", + "dependencies": { + "@types/estree": "*" + } + }, + "node_modules/@types/hast": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@types/hast/-/hast-3.0.4.tgz", + "integrity": "sha512-WPs+bbQw5aCj+x6laNGWLH3wviHtoCv/P3+otBhbOhJgG8qtpdAMlTCxLtsTWA7LH1Oh/bFCHsBn0TPS5m30EQ==", + "license": "MIT", + "dependencies": { + "@types/unist": "*" + } + }, + "node_modules/@types/json-schema": { + "version": "7.0.15", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", + "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/katex": { + "version": "0.16.8", + "resolved": "https://registry.npmjs.org/@types/katex/-/katex-0.16.8.tgz", + "integrity": "sha512-trgaNyfU+Xh2Tc+ABIb44a5AYUpicB3uwirOioeOkNPPbmgRNtcWyDeeFRzjPZENO9Vq8gvVqfhaaXWLlevVwg==", + "license": "MIT" + }, + "node_modules/@types/mdast": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/@types/mdast/-/mdast-4.0.4.tgz", + "integrity": "sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA==", + "license": "MIT", + "dependencies": { + "@types/unist": "*" + } + }, + "node_modules/@types/ms": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@types/ms/-/ms-2.1.0.tgz", + "integrity": "sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA==", + "license": "MIT" + }, + "node_modules/@types/node": { + "version": "22.16.5", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.16.5.tgz", + "integrity": "sha512-bJFoMATwIGaxxx8VJPeM8TonI8t579oRvgAuT8zFugJsJZgzqv0Fu8Mhp68iecjzG7cnN3mO2dJQ5uUM2EFrgQ==", + "license": "MIT", + "dependencies": { + "undici-types": "~6.21.0" + } + }, + "node_modules/@types/prop-types": { + "version": "15.7.13", + "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.13.tgz", + "integrity": "sha512-hCZTSvwbzWGvhqxp/RqVqwU999pBf2vp7hzIjiYOsl8wqOmUxkQ6ddw1cV3l8811+kdUFus/q4d1Y3E3SyEifA==", + "license": "MIT" + }, + "node_modules/@types/react": { + "version": "18.3.23", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.23.tgz", + "integrity": "sha512-/LDXMQh55EzZQ0uVAZmKKhfENivEvWz6E+EYzh+/MCjMhNsotd+ZHhBGIjFDTi6+fz0OhQQQLbTgdQIxxCsC0w==", + "license": "MIT", + "dependencies": { + "@types/prop-types": "*", + "csstype": "^3.0.2" + } + }, + "node_modules/@types/react-dom": { + "version": "18.3.7", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.3.7.tgz", + "integrity": "sha512-MEe3UeoENYVFXzoXEWsvcpg6ZvlrFNlOQ7EOsvhI3CfAXwzPfO8Qwuxd40nepsYKqyyVQnTdEfv68q91yLcKrQ==", + "devOptional": true, + "license": "MIT", + "peerDependencies": { + "@types/react": "^18.0.0" + } + }, + "node_modules/@types/unist": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-3.0.3.tgz", + "integrity": "sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==", + "license": "MIT" + }, + "node_modules/@types/ws": { + "version": "8.18.1", + "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.18.1.tgz", + "integrity": "sha512-ThVF6DCVhA8kUGy+aazFQ4kXQ7E1Ty7A3ypFOe0IcJV8O/M511G99AW24irKrW56Wt44yG9+ij8FaqoBGkuBXg==", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@typescript-eslint/eslint-plugin": { + "version": "8.38.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.38.0.tgz", + "integrity": "sha512-CPoznzpuAnIOl4nhj4tRr4gIPj5AfKgkiJmGQDaq+fQnRJTYlcBjbX3wbciGmpoPf8DREufuPRe1tNMZnGdanA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@eslint-community/regexpp": "^4.10.0", + "@typescript-eslint/scope-manager": "8.38.0", + "@typescript-eslint/type-utils": "8.38.0", + "@typescript-eslint/utils": "8.38.0", + "@typescript-eslint/visitor-keys": "8.38.0", + "graphemer": "^1.4.0", + "ignore": "^7.0.0", + "natural-compare": "^1.4.0", + "ts-api-utils": "^2.1.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "@typescript-eslint/parser": "^8.38.0", + "eslint": "^8.57.0 || ^9.0.0", + "typescript": ">=4.8.4 <5.9.0" + } + }, + "node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore": { + "version": "7.0.5", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.5.tgz", + "integrity": "sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "node_modules/@typescript-eslint/parser": { + "version": "8.38.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.38.0.tgz", + "integrity": "sha512-Zhy8HCvBUEfBECzIl1PKqF4p11+d0aUJS1GeUiuqK9WmOug8YCmC4h4bjyBvMyAMI9sbRczmrYL5lKg/YMbrcQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/scope-manager": "8.38.0", + "@typescript-eslint/types": "8.38.0", + "@typescript-eslint/typescript-estree": "8.38.0", + "@typescript-eslint/visitor-keys": "8.38.0", + "debug": "^4.3.4" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0", + "typescript": ">=4.8.4 <5.9.0" + } + }, + "node_modules/@typescript-eslint/project-service": { + "version": "8.38.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.38.0.tgz", + "integrity": "sha512-dbK7Jvqcb8c9QfH01YB6pORpqX1mn5gDZc9n63Ak/+jD67oWXn3Gs0M6vddAN+eDXBCS5EmNWzbSxsn9SzFWWg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/tsconfig-utils": "^8.38.0", + "@typescript-eslint/types": "^8.38.0", + "debug": "^4.3.4" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "typescript": ">=4.8.4 <5.9.0" + } + }, + "node_modules/@typescript-eslint/scope-manager": { + "version": "8.38.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.38.0.tgz", + "integrity": "sha512-WJw3AVlFFcdT9Ri1xs/lg8LwDqgekWXWhH3iAF+1ZM+QPd7oxQ6jvtW/JPwzAScxitILUIFs0/AnQ/UWHzbATQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/types": "8.38.0", + "@typescript-eslint/visitor-keys": "8.38.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/tsconfig-utils": { + "version": "8.38.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.38.0.tgz", + "integrity": "sha512-Lum9RtSE3EroKk/bYns+sPOodqb2Fv50XOl/gMviMKNvanETUuUcC9ObRbzrJ4VSd2JalPqgSAavwrPiPvnAiQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "typescript": ">=4.8.4 <5.9.0" + } + }, + "node_modules/@typescript-eslint/type-utils": { + "version": "8.38.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.38.0.tgz", + "integrity": "sha512-c7jAvGEZVf0ao2z+nnz8BUaHZD09Agbh+DY7qvBQqLiz8uJzRgVPj5YvOh8I8uEiH8oIUGIfHzMwUcGVco/SJg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/types": "8.38.0", + "@typescript-eslint/typescript-estree": "8.38.0", + "@typescript-eslint/utils": "8.38.0", + "debug": "^4.3.4", + "ts-api-utils": "^2.1.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0", + "typescript": ">=4.8.4 <5.9.0" + } + }, + "node_modules/@typescript-eslint/types": { + "version": "8.38.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.38.0.tgz", + "integrity": "sha512-wzkUfX3plUqij4YwWaJyqhiPE5UCRVlFpKn1oCRn2O1bJ592XxWJj8ROQ3JD5MYXLORW84063z3tZTb/cs4Tyw==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/typescript-estree": { + "version": "8.38.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.38.0.tgz", + "integrity": "sha512-fooELKcAKzxux6fA6pxOflpNS0jc+nOQEEOipXFNjSlBS6fqrJOVY/whSn70SScHrcJ2LDsxWrneFoWYSVfqhQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/project-service": "8.38.0", + "@typescript-eslint/tsconfig-utils": "8.38.0", + "@typescript-eslint/types": "8.38.0", + "@typescript-eslint/visitor-keys": "8.38.0", + "debug": "^4.3.4", + "fast-glob": "^3.3.2", + "is-glob": "^4.0.3", + "minimatch": "^9.0.4", + "semver": "^7.6.0", + "ts-api-utils": "^2.1.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "typescript": ">=4.8.4 <5.9.0" + } + }, + "node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", + "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@typescript-eslint/utils": { + "version": "8.38.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.38.0.tgz", + "integrity": "sha512-hHcMA86Hgt+ijJlrD8fX0j1j8w4C92zue/8LOPAFioIno+W0+L7KqE8QZKCcPGc/92Vs9x36w/4MPTJhqXdyvg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@eslint-community/eslint-utils": "^4.7.0", + "@typescript-eslint/scope-manager": "8.38.0", + "@typescript-eslint/types": "8.38.0", + "@typescript-eslint/typescript-estree": "8.38.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0", + "typescript": ">=4.8.4 <5.9.0" + } + }, + "node_modules/@typescript-eslint/visitor-keys": { + "version": "8.38.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.38.0.tgz", + "integrity": "sha512-pWrTcoFNWuwHlA9CvlfSsGWs14JxfN1TH25zM5L7o0pRLhsoZkDnTsXfQRJBEWJoV5DL0jf+Z+sxiud+K0mq1g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/types": "8.38.0", + "eslint-visitor-keys": "^4.2.1" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@ungap/structured-clone": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.3.0.tgz", + "integrity": "sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==", + "license": "ISC" + }, + "node_modules/@vitejs/plugin-react-swc": { + "version": "3.11.0", + "resolved": "https://registry.npmjs.org/@vitejs/plugin-react-swc/-/plugin-react-swc-3.11.0.tgz", + "integrity": "sha512-YTJCGFdNMHCMfjODYtxRNVAYmTWQ1Lb8PulP/2/f/oEEtglw8oKxKIZmmRkyXrVrHfsKOaVkAc3NT9/dMutO5w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@rolldown/pluginutils": "1.0.0-beta.27", + "@swc/core": "^1.12.11" + }, + "peerDependencies": { + "vite": "^4 || ^5 || ^6 || ^7" + } + }, + "node_modules/@vitest/expect": { + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-3.2.4.tgz", + "integrity": "sha512-Io0yyORnB6sikFlt8QW5K7slY4OjqNX9jmJQ02QDda8lyM6B5oNgVWoSoKPac8/kgnCUzuHQKrSLtu/uOqqrig==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/chai": "^5.2.2", + "@vitest/spy": "3.2.4", + "@vitest/utils": "3.2.4", + "chai": "^5.2.0", + "tinyrainbow": "^2.0.0" + }, + "funding": { + "url": "https://opencollective.com/vitest" + } + }, + "node_modules/@vitest/mocker": { + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-3.2.4.tgz", + "integrity": "sha512-46ryTE9RZO/rfDd7pEqFl7etuyzekzEhUbTW3BvmeO/BcCMEgq59BKhek3dXDWgAj4oMK6OZi+vRr1wPW6qjEQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@vitest/spy": "3.2.4", + "estree-walker": "^3.0.3", + "magic-string": "^0.30.17" + }, + "funding": { + "url": "https://opencollective.com/vitest" + }, + "peerDependencies": { + "msw": "^2.4.9", + "vite": "^5.0.0 || ^6.0.0 || ^7.0.0-0" + }, + "peerDependenciesMeta": { + "msw": { + "optional": true + }, + "vite": { + "optional": true + } + } + }, + "node_modules/@vitest/pretty-format": { + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-3.2.4.tgz", + "integrity": "sha512-IVNZik8IVRJRTr9fxlitMKeJeXFFFN0JaB9PHPGQ8NKQbGpfjlTx9zO4RefN8gp7eqjNy8nyK3NZmBzOPeIxtA==", + "dev": true, + "license": "MIT", + "dependencies": { + "tinyrainbow": "^2.0.0" + }, + "funding": { + "url": "https://opencollective.com/vitest" + } + }, + "node_modules/@vitest/runner": { + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-3.2.4.tgz", + "integrity": "sha512-oukfKT9Mk41LreEW09vt45f8wx7DordoWUZMYdY/cyAk7w5TWkTRCNZYF7sX7n2wB7jyGAl74OxgwhPgKaqDMQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@vitest/utils": "3.2.4", + "pathe": "^2.0.3", + "strip-literal": "^3.0.0" + }, + "funding": { + "url": "https://opencollective.com/vitest" + } + }, + "node_modules/@vitest/snapshot": { + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-3.2.4.tgz", + "integrity": "sha512-dEYtS7qQP2CjU27QBC5oUOxLE/v5eLkGqPE0ZKEIDGMs4vKWe7IjgLOeauHsR0D5YuuycGRO5oSRXnwnmA78fQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@vitest/pretty-format": "3.2.4", + "magic-string": "^0.30.17", + "pathe": "^2.0.3" + }, + "funding": { + "url": "https://opencollective.com/vitest" + } + }, + "node_modules/@vitest/spy": { + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-3.2.4.tgz", + "integrity": "sha512-vAfasCOe6AIK70iP5UD11Ac4siNUNJ9i/9PZ3NKx07sG6sUxeag1LWdNrMWeKKYBLlzuK+Gn65Yd5nyL6ds+nw==", + "dev": true, + "license": "MIT", + "dependencies": { + "tinyspy": "^4.0.3" + }, + "funding": { + "url": "https://opencollective.com/vitest" + } + }, + "node_modules/@vitest/utils": { + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-3.2.4.tgz", + "integrity": "sha512-fB2V0JFrQSMsCo9HiSq3Ezpdv4iYaXRG1Sx8edX3MwxfyNn83mKiGzOcH+Fkxt4MHxr3y42fQi1oeAInqgX2QA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@vitest/pretty-format": "3.2.4", + "loupe": "^3.1.4", + "tinyrainbow": "^2.0.0" + }, + "funding": { + "url": "https://opencollective.com/vitest" + } + }, + "node_modules/@xmldom/xmldom": { + "version": "0.8.13", + "resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.8.13.tgz", + "integrity": "sha512-KRYzxepc14G/CEpEGc3Yn+JKaAeT63smlDr+vjB8jRfgTBBI9wRj/nkQEO+ucV8p8I9bfKLWp37uHgFrbntPvw==", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/abab": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.6.tgz", + "integrity": "sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==", + "deprecated": "Use your platform's native atob() and btoa() methods instead", + "dev": true, + "license": "BSD-3-Clause" + }, + "node_modules/acorn": { + "version": "8.15.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.15.0.tgz", + "integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==", + "dev": true, + "license": "MIT", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/acorn-globals": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-7.0.1.tgz", + "integrity": "sha512-umOSDSDrfHbTNPuNpC2NSnnA3LUrqpevPb4T9jRx4MagXNS0rs+gwiTcAvqCRmsD6utzsrzNt+ebm00SNWiC3Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "acorn": "^8.1.0", + "acorn-walk": "^8.0.2" + } + }, + "node_modules/acorn-jsx": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", + "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" + } + }, + "node_modules/acorn-walk": { + "version": "8.3.5", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.5.tgz", + "integrity": "sha512-HEHNfbars9v4pgpW6SO1KSPkfoS0xVOM/9UzkJltjlsHZmJasxg8aXkuZa7SMf8vKGIBhpUsPluQSqhJFCqebw==", + "dev": true, + "license": "MIT", + "dependencies": { + "acorn": "^8.11.0" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/agent-base": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", + "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "4" + }, + "engines": { + "node": ">= 6.0.0" + } + }, + "node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/ansi-regex": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", + "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/any-promise": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz", + "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==", + "license": "MIT" + }, + "node_modules/anymatch": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", + "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", + "license": "ISC", + "dependencies": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/arg": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/arg/-/arg-5.0.2.tgz", + "integrity": "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==", + "license": "MIT" + }, + "node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true, + "license": "Python-2.0" + }, + "node_modules/aria-hidden": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/aria-hidden/-/aria-hidden-1.2.4.tgz", + "integrity": "sha512-y+CcFFwelSXpLZk/7fMB2mUbGtX9lKycf1MWJ7CaTIERyitVlyQx6C+sxcROU2BAJ24OiZyK+8wj2i8AlBoS3A==", + "license": "MIT", + "dependencies": { + "tslib": "^2.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/aria-query": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.3.0.tgz", + "integrity": "sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "dequal": "^2.0.3" + } + }, + "node_modules/assertion-error": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-2.0.1.tgz", + "integrity": "sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + } + }, + "node_modules/asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/attr-accept": { + "version": "2.2.5", + "resolved": "https://registry.npmjs.org/attr-accept/-/attr-accept-2.2.5.tgz", + "integrity": "sha512-0bDNnY/u6pPwHDMoF0FieU354oBi0a8rD9FcsLwzcGWbc8KS8KPIi7y+s13OlVY+gMWc/9xEMUgNE6Qm8ZllYQ==", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/autoprefixer": { + "version": "10.4.21", + "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.21.tgz", + "integrity": "sha512-O+A6LWV5LDHSJD3LjHYoNi4VLsj/Whi7k6zG12xTYaU4cQ8oxQGckXNX8cRHK5yOZ/ppVHe0ZBXGzSV9jXdVbQ==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/autoprefixer" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "browserslist": "^4.24.4", + "caniuse-lite": "^1.0.30001702", + "fraction.js": "^4.3.7", + "normalize-range": "^0.1.2", + "picocolors": "^1.1.1", + "postcss-value-parser": "^4.2.0" + }, + "bin": { + "autoprefixer": "bin/autoprefixer" + }, + "engines": { + "node": "^10 || ^12 || >=14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "node_modules/bail": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/bail/-/bail-2.0.2.tgz", + "integrity": "sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "license": "MIT" + }, + "node_modules/base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/binary-extensions": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz", + "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==", + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/bluebird": { + "version": "3.4.7", + "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.4.7.tgz", + "integrity": "sha512-iD3898SR7sWVRHbiQv+sHUtHnMvC1o3nW5rAcqnq3uOn07DSAppZYUkIGslDz6gXC7HfunPe7YVBgoEJASPcHA==", + "license": "MIT" + }, + "node_modules/bmp-js": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/bmp-js/-/bmp-js-0.1.0.tgz", + "integrity": "sha512-vHdS19CnY3hwiNdkaqk93DvjVLfbEcI8mys4UjuWrlX1haDmroo8o4xCzh4wD6DGV6HxRCyauwhHRqMTfERtjw==", + "license": "MIT" + }, + "node_modules/brace-expansion": { + "version": "1.1.12", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", + "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/braces": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", + "license": "MIT", + "dependencies": { + "fill-range": "^7.1.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/browserslist": { + "version": "4.25.1", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.25.1.tgz", + "integrity": "sha512-KGj0KoOMXLpSNkkEI6Z6mShmQy0bc1I+T7K9N81k4WWMrfz+6fQ6es80B/YLAeRoKvjYE1YSHHOW1qe9xIVzHw==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "caniuse-lite": "^1.0.30001726", + "electron-to-chromium": "^1.5.173", + "node-releases": "^2.0.19", + "update-browserslist-db": "^1.1.3" + }, + "bin": { + "browserslist": "cli.js" + }, + "engines": { + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + } + }, + "node_modules/cac": { + "version": "6.7.14", + "resolved": "https://registry.npmjs.org/cac/-/cac-6.7.14.tgz", + "integrity": "sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/call-bind-apply-helpers": { + "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==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/camelcase-css": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/camelcase-css/-/camelcase-css-2.0.1.tgz", + "integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==", + "license": "MIT", + "engines": { + "node": ">= 6" + } + }, + "node_modules/caniuse-lite": { + "version": "1.0.30001727", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001727.tgz", + "integrity": "sha512-pB68nIHmbN6L/4C6MH1DokyR3bYqFwjaSs/sWDHGj4CTcFtQUQMuJftVwWkXq7mNWOybD3KhUv3oWHoGxgP14Q==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "CC-BY-4.0" + }, + "node_modules/ccount": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/ccount/-/ccount-2.0.1.tgz", + "integrity": "sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/chai": { + "version": "5.3.3", + "resolved": "https://registry.npmjs.org/chai/-/chai-5.3.3.tgz", + "integrity": "sha512-4zNhdJD/iOjSH0A05ea+Ke6MU5mmpQcbQsSOkgdaUMJ9zTlDTD/GYlwohmIE2u0gaxHYiVHEn1Fw9mZ/ktJWgw==", + "dev": true, + "license": "MIT", + "dependencies": { + "assertion-error": "^2.0.1", + "check-error": "^2.1.1", + "deep-eql": "^5.0.1", + "loupe": "^3.1.0", + "pathval": "^2.0.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/character-entities": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/character-entities/-/character-entities-2.0.2.tgz", + "integrity": "sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/character-entities-html4": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/character-entities-html4/-/character-entities-html4-2.1.0.tgz", + "integrity": "sha512-1v7fgQRj6hnSwFpq1Eu0ynr/CDEw0rXo2B61qXrLNdHZmPKgb7fqS1a2JwF0rISo9q77jDI8VMEHoApn8qDoZA==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/character-entities-legacy": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/character-entities-legacy/-/character-entities-legacy-3.0.0.tgz", + "integrity": "sha512-RpPp0asT/6ufRm//AJVwpViZbGM/MkjQFxJccQRHmISF/22NBtsHqAWmL+/pmkPWoIUJdWyeVleTl1wydHATVQ==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/character-reference-invalid": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/character-reference-invalid/-/character-reference-invalid-2.0.1.tgz", + "integrity": "sha512-iBZ4F4wRbyORVsu0jPV7gXkOsGYjGHPmAyv+HiHG8gi5PtC9KI2j1+v8/tlibRvjoWX027ypmG/n0HtO5t7unw==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/check-error": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/check-error/-/check-error-2.1.3.tgz", + "integrity": "sha512-PAJdDJusoxnwm1VwW07VWwUN1sl7smmC3OKggvndJFadxxDRyFJBX/ggnu/KE4kQAB7a3Dp8f/YXC1FlUprWmA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 16" + } + }, + "node_modules/chokidar": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", + "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==", + "license": "MIT", + "dependencies": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + }, + "engines": { + "node": ">= 8.10.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/chokidar/node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/class-variance-authority": { + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/class-variance-authority/-/class-variance-authority-0.7.1.tgz", + "integrity": "sha512-Ka+9Trutv7G8M6WT6SeiRWz792K5qEqIGEGzXKhAE6xOWAY6pPH8U+9IY3oCMv6kqTmLsv7Xh/2w2RigkePMsg==", + "dependencies": { + "clsx": "^2.1.1" + }, + "funding": { + "url": "https://polar.sh/cva" + } + }, + "node_modules/clsx": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz", + "integrity": "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/cmdk": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/cmdk/-/cmdk-1.1.1.tgz", + "integrity": "sha512-Vsv7kFaXm+ptHDMZ7izaRsP70GgrW9NBNGswt9OZaVBLlE0SNpDq8eu/VGXyF9r7M0azK3Wy7OlYXsuyYLFzHg==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-compose-refs": "^1.1.1", + "@radix-ui/react-dialog": "^1.1.6", + "@radix-ui/react-id": "^1.1.0", + "@radix-ui/react-primitive": "^2.0.2" + }, + "peerDependencies": { + "react": "^18 || ^19 || ^19.0.0-rc", + "react-dom": "^18 || ^19 || ^19.0.0-rc" + } + }, + "node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "license": "MIT" + }, + "node_modules/combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "dev": true, + "license": "MIT", + "dependencies": { + "delayed-stream": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/comma-separated-tokens": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/comma-separated-tokens/-/comma-separated-tokens-2.0.3.tgz", + "integrity": "sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/commander": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz", + "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==", + "license": "MIT", + "engines": { + "node": ">= 6" + } + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", + "dev": true, + "license": "MIT" + }, + "node_modules/core-util-is": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", + "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==", + "license": "MIT" + }, + "node_modules/cross-spawn": { + "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" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/css.escape": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/css.escape/-/css.escape-1.5.1.tgz", + "integrity": "sha512-YUifsXXuknHlUsmlgyY0PKzgPOr7/FjCePfHNt0jxm83wHZi44VDMQ7/fGNkjY3/jV1MC+1CmZbaHzugyeRtpg==", + "dev": true, + "license": "MIT" + }, + "node_modules/cssesc": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", + "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", + "license": "MIT", + "bin": { + "cssesc": "bin/cssesc" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/cssom": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.5.0.tgz", + "integrity": "sha512-iKuQcq+NdHqlAcwUY0o/HL69XQrUaQdMjmStJ8JFmUaiiQErlhrmuigkg/CU4E2J0IyUKUrMAgl36TvN67MqTw==", + "dev": true, + "license": "MIT" + }, + "node_modules/cssstyle": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-2.3.0.tgz", + "integrity": "sha512-AZL67abkUzIuvcHqk7c09cezpGNcxUxU4Ioi/05xHk4DQeTkWmGYftIE6ctU6AEt+Gn4n1lDStOtj7FKycP71A==", + "dev": true, + "license": "MIT", + "dependencies": { + "cssom": "~0.3.6" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/cssstyle/node_modules/cssom": { + "version": "0.3.8", + "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.3.8.tgz", + "integrity": "sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==", + "dev": true, + "license": "MIT" + }, + "node_modules/csstype": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz", + "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==", + "license": "MIT" + }, + "node_modules/d3-array": { + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/d3-array/-/d3-array-3.2.4.tgz", + "integrity": "sha512-tdQAmyA18i4J7wprpYq8ClcxZy3SC31QMeByyCFyRt7BVHdREQZ5lpzoe5mFEYZUWe+oq8HBvk9JjpibyEV4Jg==", + "license": "ISC", + "dependencies": { + "internmap": "1 - 2" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-color": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/d3-color/-/d3-color-3.1.0.tgz", + "integrity": "sha512-zg/chbXyeBtMQ1LbD/WSoW2DpC3I0mpmPdW+ynRTj/x2DAWYrIY7qeZIHidozwV24m4iavr15lNwIwLxRmOxhA==", + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-ease": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/d3-ease/-/d3-ease-3.0.1.tgz", + "integrity": "sha512-wR/XK3D3XcLIZwpbvQwQ5fK+8Ykds1ip7A2Txe0yxncXSdq1L9skcG7blcedkOX+ZcgxGAmLX1FrRGbADwzi0w==", + "license": "BSD-3-Clause", + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-format": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/d3-format/-/d3-format-3.1.0.tgz", + "integrity": "sha512-YyUI6AEuY/Wpt8KWLgZHsIU86atmikuoOmCfommt0LYHiQSPjvX2AcFc38PX0CBpr2RCyZhjex+NS/LPOv6YqA==", + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-interpolate": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/d3-interpolate/-/d3-interpolate-3.0.1.tgz", + "integrity": "sha512-3bYs1rOD33uo8aqJfKP3JWPAibgw8Zm2+L9vBKEHJ2Rg+viTR7o5Mmv5mZcieN+FRYaAOWX5SJATX6k1PWz72g==", + "license": "ISC", + "dependencies": { + "d3-color": "1 - 3" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-path": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/d3-path/-/d3-path-3.1.0.tgz", + "integrity": "sha512-p3KP5HCf/bvjBSSKuXid6Zqijx7wIfNW+J/maPs+iwR35at5JCbLUT0LzF1cnjbCHWhqzQTIN2Jpe8pRebIEFQ==", + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-scale": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/d3-scale/-/d3-scale-4.0.2.tgz", + "integrity": "sha512-GZW464g1SH7ag3Y7hXjf8RoUuAFIqklOAq3MRl4OaWabTFJY9PN/E1YklhXLh+OQ3fM9yS2nOkCoS+WLZ6kvxQ==", + "license": "ISC", + "dependencies": { + "d3-array": "2.10.0 - 3", + "d3-format": "1 - 3", + "d3-interpolate": "1.2.0 - 3", + "d3-time": "2.1.1 - 3", + "d3-time-format": "2 - 4" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-shape": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/d3-shape/-/d3-shape-3.2.0.tgz", + "integrity": "sha512-SaLBuwGm3MOViRq2ABk3eLoxwZELpH6zhl3FbAoJ7Vm1gofKx6El1Ib5z23NUEhF9AsGl7y+dzLe5Cw2AArGTA==", + "license": "ISC", + "dependencies": { + "d3-path": "^3.1.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-time": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/d3-time/-/d3-time-3.1.0.tgz", + "integrity": "sha512-VqKjzBLejbSMT4IgbmVgDjpkYrNWUYJnbCGo874u7MMKIWsILRX+OpX/gTk8MqjpT1A/c6HY2dCA77ZN0lkQ2Q==", + "license": "ISC", + "dependencies": { + "d3-array": "2 - 3" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-time-format": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/d3-time-format/-/d3-time-format-4.1.0.tgz", + "integrity": "sha512-dJxPBlzC7NugB2PDLwo9Q8JiTR3M3e4/XANkreKSUxF8vvXKqm1Yfq4Q5dl8budlunRVlUUaDUgFt7eA8D6NLg==", + "license": "ISC", + "dependencies": { + "d3-time": "1 - 3" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-timer": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/d3-timer/-/d3-timer-3.0.1.tgz", + "integrity": "sha512-ndfJ/JxxMd3nw31uyKoY2naivF+r29V+Lc0svZxe1JvvIRmi8hUsrMvdOwgS1o6uBHmiz91geQ0ylPP0aj1VUA==", + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/data-urls": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/data-urls/-/data-urls-3.0.2.tgz", + "integrity": "sha512-Jy/tj3ldjZJo63sVAvg6LHt2mHvl4V6AgRAmNDtLdm7faqtsx+aJG42rsyCo9JCoRVKwPFzKlIPx3DIibwSIaQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "abab": "^2.0.6", + "whatwg-mimetype": "^3.0.0", + "whatwg-url": "^11.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/date-fns": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-3.6.0.tgz", + "integrity": "sha512-fRHTG8g/Gif+kSh50gaGEdToemgfj74aRX3swtiouboip5JDLAyDE9F11nHMIcvOaXeOC6D7SpNhi7uFyB7Uww==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/kossnocorp" + } + }, + "node_modules/debug": { + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", + "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", + "license": "MIT", + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/decimal.js": { + "version": "10.6.0", + "resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.6.0.tgz", + "integrity": "sha512-YpgQiITW3JXGntzdUmyUR1V812Hn8T1YVXhCu+wO3OpS4eU9l4YdD3qjyiKdV6mvV29zapkMeD390UVEf2lkUg==", + "dev": true, + "license": "MIT" + }, + "node_modules/decimal.js-light": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/decimal.js-light/-/decimal.js-light-2.5.1.tgz", + "integrity": "sha512-qIMFpTMZmny+MMIitAB6D7iVPEorVw6YQRWkvarTkT4tBeSLLiHzcwj6q0MmYSFCiVpiqPJTJEYIrpcPzVEIvg==", + "license": "MIT" + }, + "node_modules/decode-named-character-reference": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/decode-named-character-reference/-/decode-named-character-reference-1.3.0.tgz", + "integrity": "sha512-GtpQYB283KrPp6nRw50q3U9/VfOutZOe103qlN7BPP6Ad27xYnOIWv4lPzo8HCAL+mMZofJ9KEy30fq6MfaK6Q==", + "license": "MIT", + "dependencies": { + "character-entities": "^2.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/deep-eql": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-5.0.2.tgz", + "integrity": "sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/deep-is": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/dequal": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz", + "integrity": "sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/detect-node-es": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/detect-node-es/-/detect-node-es-1.1.0.tgz", + "integrity": "sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ==", + "license": "MIT" + }, + "node_modules/devlop": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/devlop/-/devlop-1.1.0.tgz", + "integrity": "sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==", + "license": "MIT", + "dependencies": { + "dequal": "^2.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/didyoumean": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/didyoumean/-/didyoumean-1.2.2.tgz", + "integrity": "sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==", + "license": "Apache-2.0" + }, + "node_modules/dingbat-to-unicode": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/dingbat-to-unicode/-/dingbat-to-unicode-1.0.1.tgz", + "integrity": "sha512-98l0sW87ZT58pU4i61wa2OHwxbiYSbuxsCBozaVnYX2iCnr3bLM3fIes1/ej7h1YdOKuKt/MLs706TVnALA65w==", + "license": "BSD-2-Clause" + }, + "node_modules/dlv": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/dlv/-/dlv-1.1.3.tgz", + "integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==", + "license": "MIT" + }, + "node_modules/dom-accessibility-api": { + "version": "0.5.16", + "resolved": "https://registry.npmjs.org/dom-accessibility-api/-/dom-accessibility-api-0.5.16.tgz", + "integrity": "sha512-X7BJ2yElsnOJ30pZF4uIIDfBEVgF4XEBxL9Bxhy6dnrm5hkzqmsWHGTiHqRiITNhMyFLyAiWndIJP7Z1NTteDg==", + "dev": true, + "license": "MIT", + "peer": true + }, + "node_modules/dom-helpers": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/dom-helpers/-/dom-helpers-5.2.1.tgz", + "integrity": "sha512-nRCa7CK3VTrM2NmGkIy4cbK7IZlgBE/PYMn55rrXefr5xXDP0LdtfPnblFDoVdcAfslJ7or6iqAUnx0CCGIWQA==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.8.7", + "csstype": "^3.0.2" + } + }, + "node_modules/domexception": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/domexception/-/domexception-4.0.0.tgz", + "integrity": "sha512-A2is4PLG+eeSfoTMA95/s4pvAoSo2mKtiM5jlHkAVewmiO8ISFTFKZjH7UAM1Atli/OT/7JHOrJRJiMKUZKYBw==", + "deprecated": "Use your platform's native DOMException instead", + "dev": true, + "license": "MIT", + "dependencies": { + "webidl-conversions": "^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/duck": { + "version": "0.1.12", + "resolved": "https://registry.npmjs.org/duck/-/duck-0.1.12.tgz", + "integrity": "sha512-wkctla1O6VfP89gQ+J/yDesM0S7B7XLXjKGzXxMDVFg7uEn706niAtyYovKbyq1oT9YwDcly721/iUWoc8MVRg==", + "license": "BSD", + "dependencies": { + "underscore": "^1.13.1" + } + }, + "node_modules/dunder-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz", + "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.1", + "es-errors": "^1.3.0", + "gopd": "^1.2.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/eastasianwidth": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", + "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", + "license": "MIT" + }, + "node_modules/electron-to-chromium": { + "version": "1.5.192", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.192.tgz", + "integrity": "sha512-rP8Ez0w7UNw/9j5eSXCe10o1g/8B1P5SM90PCCMVkIRQn2R0LEHWz4Eh9RnxkniuDe1W0cTSOB3MLlkTGDcuCg==", + "dev": true, + "license": "ISC" + }, + "node_modules/embla-carousel": { + "version": "8.6.0", + "resolved": "https://registry.npmjs.org/embla-carousel/-/embla-carousel-8.6.0.tgz", + "integrity": "sha512-SjWyZBHJPbqxHOzckOfo8lHisEaJWmwd23XppYFYVh10bU66/Pn5tkVkbkCMZVdbUE5eTCI2nD8OyIP4Z+uwkA==", + "license": "MIT" + }, + "node_modules/embla-carousel-react": { + "version": "8.6.0", + "resolved": "https://registry.npmjs.org/embla-carousel-react/-/embla-carousel-react-8.6.0.tgz", + "integrity": "sha512-0/PjqU7geVmo6F734pmPqpyHqiM99olvyecY7zdweCw+6tKEXnrE90pBiBbMMU8s5tICemzpQ3hi5EpxzGW+JA==", + "license": "MIT", + "dependencies": { + "embla-carousel": "8.6.0", + "embla-carousel-reactive-utils": "8.6.0" + }, + "peerDependencies": { + "react": "^16.8.0 || ^17.0.1 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc" + } + }, + "node_modules/embla-carousel-reactive-utils": { + "version": "8.6.0", + "resolved": "https://registry.npmjs.org/embla-carousel-reactive-utils/-/embla-carousel-reactive-utils-8.6.0.tgz", + "integrity": "sha512-fMVUDUEx0/uIEDM0Mz3dHznDhfX+znCCDCeIophYb1QGVM7YThSWX+wz11zlYwWFOr74b4QLGg0hrGPJeG2s4A==", + "license": "MIT", + "peerDependencies": { + "embla-carousel": "8.6.0" + } + }, + "node_modules/emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", + "license": "MIT" + }, + "node_modules/entities": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/entities/-/entities-6.0.1.tgz", + "integrity": "sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g==", + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "node_modules/es-define-property": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz", + "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-errors": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", + "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-module-lexer": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.7.0.tgz", + "integrity": "sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA==", + "dev": true, + "license": "MIT" + }, + "node_modules/es-object-atoms": { + "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==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-set-tostringtag": { + "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==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.6", + "has-tostringtag": "^1.0.2", + "hasown": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/esbuild": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.21.5.tgz", + "integrity": "sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=12" + }, + "optionalDependencies": { + "@esbuild/aix-ppc64": "0.21.5", + "@esbuild/android-arm": "0.21.5", + "@esbuild/android-arm64": "0.21.5", + "@esbuild/android-x64": "0.21.5", + "@esbuild/darwin-arm64": "0.21.5", + "@esbuild/darwin-x64": "0.21.5", + "@esbuild/freebsd-arm64": "0.21.5", + "@esbuild/freebsd-x64": "0.21.5", + "@esbuild/linux-arm": "0.21.5", + "@esbuild/linux-arm64": "0.21.5", + "@esbuild/linux-ia32": "0.21.5", + "@esbuild/linux-loong64": "0.21.5", + "@esbuild/linux-mips64el": "0.21.5", + "@esbuild/linux-ppc64": "0.21.5", + "@esbuild/linux-riscv64": "0.21.5", + "@esbuild/linux-s390x": "0.21.5", + "@esbuild/linux-x64": "0.21.5", + "@esbuild/netbsd-x64": "0.21.5", + "@esbuild/openbsd-x64": "0.21.5", + "@esbuild/sunos-x64": "0.21.5", + "@esbuild/win32-arm64": "0.21.5", + "@esbuild/win32-ia32": "0.21.5", + "@esbuild/win32-x64": "0.21.5" + } + }, + "node_modules/escalade": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/escodegen": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-2.1.0.tgz", + "integrity": "sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "esprima": "^4.0.1", + "estraverse": "^5.2.0", + "esutils": "^2.0.2" + }, + "bin": { + "escodegen": "bin/escodegen.js", + "esgenerate": "bin/esgenerate.js" + }, + "engines": { + "node": ">=6.0" + }, + "optionalDependencies": { + "source-map": "~0.6.1" + } + }, + "node_modules/eslint": { + "version": "9.32.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.32.0.tgz", + "integrity": "sha512-LSehfdpgMeWcTZkWZVIJl+tkZ2nuSkyyB9C27MZqFWXuph7DvaowgcTvKqxvpLW1JZIk8PN7hFY3Rj9LQ7m7lg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@eslint-community/eslint-utils": "^4.2.0", + "@eslint-community/regexpp": "^4.12.1", + "@eslint/config-array": "^0.21.0", + "@eslint/config-helpers": "^0.3.0", + "@eslint/core": "^0.15.0", + "@eslint/eslintrc": "^3.3.1", + "@eslint/js": "9.32.0", + "@eslint/plugin-kit": "^0.3.4", + "@humanfs/node": "^0.16.6", + "@humanwhocodes/module-importer": "^1.0.1", + "@humanwhocodes/retry": "^0.4.2", + "@types/estree": "^1.0.6", + "@types/json-schema": "^7.0.15", + "ajv": "^6.12.4", + "chalk": "^4.0.0", + "cross-spawn": "^7.0.6", + "debug": "^4.3.2", + "escape-string-regexp": "^4.0.0", + "eslint-scope": "^8.4.0", + "eslint-visitor-keys": "^4.2.1", + "espree": "^10.4.0", + "esquery": "^1.5.0", + "esutils": "^2.0.2", + "fast-deep-equal": "^3.1.3", + "file-entry-cache": "^8.0.0", + "find-up": "^5.0.0", + "glob-parent": "^6.0.2", + "ignore": "^5.2.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "json-stable-stringify-without-jsonify": "^1.0.1", + "lodash.merge": "^4.6.2", + "minimatch": "^3.1.2", + "natural-compare": "^1.4.0", + "optionator": "^0.9.3" + }, + "bin": { + "eslint": "bin/eslint.js" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://eslint.org/donate" + }, + "peerDependencies": { + "jiti": "*" + }, + "peerDependenciesMeta": { + "jiti": { + "optional": true + } + } + }, + "node_modules/eslint-plugin-react-hooks": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-5.2.0.tgz", + "integrity": "sha512-+f15FfK64YQwZdJNELETdn5ibXEUQmW1DZL6KXhNnc2heoy/sg9VJJeT7n8TlMWouzWqSWavFkIhHyIbIAEapg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0" + } + }, + "node_modules/eslint-plugin-react-refresh": { + "version": "0.4.20", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-refresh/-/eslint-plugin-react-refresh-0.4.20.tgz", + "integrity": "sha512-XpbHQ2q5gUF8BGOX4dHe+71qoirYMhApEPZ7sfhF/dNnOF1UXnCMGZf79SFTBO7Bz5YEIT4TMieSlJBWhP9WBA==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "eslint": ">=8.40" + } + }, + "node_modules/eslint-scope": { + "version": "8.4.0", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-8.4.0.tgz", + "integrity": "sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint-visitor-keys": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.1.tgz", + "integrity": "sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/espree": { + "version": "10.4.0", + "resolved": "https://registry.npmjs.org/espree/-/espree-10.4.0.tgz", + "integrity": "sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "acorn": "^8.15.0", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^4.2.1" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "dev": true, + "license": "BSD-2-Clause", + "bin": { + "esparse": "bin/esparse.js", + "esvalidate": "bin/esvalidate.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/esquery": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.6.0.tgz", + "integrity": "sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "estraverse": "^5.1.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "estraverse": "^5.2.0" + }, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/estree-util-is-identifier-name": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/estree-util-is-identifier-name/-/estree-util-is-identifier-name-3.0.0.tgz", + "integrity": "sha512-hFtqIDZTIUZ9BXLb8y4pYGyk6+wekIivNVTcmvk8NoOh+VeRn5y6cEHzbURrWbfp1fIqdVipilzj+lfaadNZmg==", + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/estree-walker": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-3.0.3.tgz", + "integrity": "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree": "^1.0.0" + } + }, + "node_modules/esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/eventemitter3": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", + "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==", + "license": "MIT" + }, + "node_modules/expect-type": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/expect-type/-/expect-type-1.3.0.tgz", + "integrity": "sha512-knvyeauYhqjOYvQ66MznSMs83wmHrCycNEN6Ao+2AeYEfxUIkuiVxdEa1qlGEPK+We3n0THiDciYSsCcgW/DoA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/extend": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", + "license": "MIT" + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/fast-equals": { + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/fast-equals/-/fast-equals-5.2.2.tgz", + "integrity": "sha512-V7/RktU11J3I36Nwq2JnZEM7tNm17eBJz+u25qdxBZeCKiX6BkVSZQjwWIr+IobgnZy+ag73tTZgZi7tr0LrBw==", + "license": "MIT", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/fast-glob": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz", + "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==", + "license": "MIT", + "dependencies": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.4" + }, + "engines": { + "node": ">=8.6.0" + } + }, + "node_modules/fast-glob/node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/fast-json-stable-stringify": { + "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==", + "dev": true, + "license": "MIT" + }, + "node_modules/fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", + "dev": true, + "license": "MIT" + }, + "node_modules/fastq": { + "version": "1.17.1", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz", + "integrity": "sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==", + "license": "ISC", + "dependencies": { + "reusify": "^1.0.4" + } + }, + "node_modules/file-entry-cache": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz", + "integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "flat-cache": "^4.0.0" + }, + "engines": { + "node": ">=16.0.0" + } + }, + "node_modules/file-selector": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/file-selector/-/file-selector-2.1.2.tgz", + "integrity": "sha512-QgXo+mXTe8ljeqUFaX3QVHc5osSItJ/Km+xpocx0aSqWGMSCf6qYs/VnzZgS864Pjn5iceMRFigeAV7AfTlaig==", + "license": "MIT", + "dependencies": { + "tslib": "^2.7.0" + }, + "engines": { + "node": ">= 12" + } + }, + "node_modules/fill-range": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", + "license": "MIT", + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dev": true, + "license": "MIT", + "dependencies": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/flat-cache": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz", + "integrity": "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==", + "dev": true, + "license": "MIT", + "dependencies": { + "flatted": "^3.2.9", + "keyv": "^4.5.4" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/flatted": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.1.tgz", + "integrity": "sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==", + "dev": true, + "license": "ISC" + }, + "node_modules/foreground-child": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.0.tgz", + "integrity": "sha512-Ld2g8rrAyMYFXBhEqMz8ZAHBi4J4uS1i/CxGMDnjyFWddMXLVcDp051DZfu+t7+ab7Wv6SMqpWmyFIj5UbfFvg==", + "license": "ISC", + "dependencies": { + "cross-spawn": "^7.0.0", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/form-data": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.5.tgz", + "integrity": "sha512-8RipRLol37bNs2bhoV67fiTEvdTrbMUYcFTiy3+wuuOnUog2QBHCZWXDRijWQfAkhBj2Uf5UnVaiWwA5vdd82w==", + "dev": true, + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "es-set-tostringtag": "^2.1.0", + "hasown": "^2.0.2", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/fraction.js": { + "version": "4.3.7", + "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.3.7.tgz", + "integrity": "sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew==", + "dev": true, + "license": "MIT", + "engines": { + "node": "*" + }, + "funding": { + "type": "patreon", + "url": "https://github.com/sponsors/rawify" + } + }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/function-bind": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-intrinsic": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz", + "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==", + "dev": true, + "license": "MIT", + "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" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-nonce": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/get-nonce/-/get-nonce-1.0.1.tgz", + "integrity": "sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/get-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz", + "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==", + "dev": true, + "license": "MIT", + "dependencies": { + "dunder-proto": "^1.0.1", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/glob": { + "version": "10.4.5", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", + "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==", + "license": "ISC", + "dependencies": { + "foreground-child": "^3.1.0", + "jackspeak": "^3.1.2", + "minimatch": "^9.0.4", + "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", + "path-scurry": "^1.11.1" + }, + "bin": { + "glob": "dist/esm/bin.mjs" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/glob-parent": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.3" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/glob/node_modules/brace-expansion": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", + "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/glob/node_modules/minimatch": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/globals": { + "version": "15.15.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-15.15.0.tgz", + "integrity": "sha512-7ACyT3wmyp3I61S4fG682L0VA2RGD9otkqGJIwNUMF1SWUombIIk+af1unuDYgMm082aHYwD+mzJvv9Iu8dsgg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/gopd": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", + "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/graphemer": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", + "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", + "dev": true, + "license": "MIT" + }, + "node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/has-symbols": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz", + "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-tostringtag": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", + "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-symbols": "^1.0.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/hasown": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", + "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "license": "MIT", + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/hast-util-from-dom": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/hast-util-from-dom/-/hast-util-from-dom-5.0.1.tgz", + "integrity": "sha512-N+LqofjR2zuzTjCPzyDUdSshy4Ma6li7p/c3pA78uTwzFgENbgbUrm2ugwsOdcjI1muO+o6Dgzp9p8WHtn/39Q==", + "license": "ISC", + "dependencies": { + "@types/hast": "^3.0.0", + "hastscript": "^9.0.0", + "web-namespaces": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/hast-util-from-html": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/hast-util-from-html/-/hast-util-from-html-2.0.3.tgz", + "integrity": "sha512-CUSRHXyKjzHov8yKsQjGOElXy/3EKpyX56ELnkHH34vDVw1N1XSQ1ZcAvTyAPtGqLTuKP/uxM+aLkSPqF/EtMw==", + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0", + "devlop": "^1.1.0", + "hast-util-from-parse5": "^8.0.0", + "parse5": "^7.0.0", + "vfile": "^6.0.0", + "vfile-message": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/hast-util-from-html-isomorphic": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/hast-util-from-html-isomorphic/-/hast-util-from-html-isomorphic-2.0.0.tgz", + "integrity": "sha512-zJfpXq44yff2hmE0XmwEOzdWin5xwH+QIhMLOScpX91e/NSGPsAzNCvLQDIEPyO2TXi+lBmU6hjLIhV8MwP2kw==", + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0", + "hast-util-from-dom": "^5.0.0", + "hast-util-from-html": "^2.0.0", + "unist-util-remove-position": "^5.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/hast-util-from-parse5": { + "version": "8.0.3", + "resolved": "https://registry.npmjs.org/hast-util-from-parse5/-/hast-util-from-parse5-8.0.3.tgz", + "integrity": "sha512-3kxEVkEKt0zvcZ3hCRYI8rqrgwtlIOFMWkbclACvjlDw8Li9S2hk/d51OI0nr/gIpdMHNepwgOKqZ/sy0Clpyg==", + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0", + "@types/unist": "^3.0.0", + "devlop": "^1.0.0", + "hastscript": "^9.0.0", + "property-information": "^7.0.0", + "vfile": "^6.0.0", + "vfile-location": "^5.0.0", + "web-namespaces": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/hast-util-is-element": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/hast-util-is-element/-/hast-util-is-element-3.0.0.tgz", + "integrity": "sha512-Val9mnv2IWpLbNPqc/pUem+a7Ipj2aHacCwgNfTiK0vJKl0LF+4Ba4+v1oPHFpf3bLYmreq0/l3Gud9S5OH42g==", + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/hast-util-parse-selector": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/hast-util-parse-selector/-/hast-util-parse-selector-4.0.0.tgz", + "integrity": "sha512-wkQCkSYoOGCRKERFWcxMVMOcYE2K1AaNLU8DXS9arxnLOUEWbOXKXiJUNzEpqZ3JOKpnha3jkFrumEjVliDe7A==", + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/hast-util-to-jsx-runtime": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/hast-util-to-jsx-runtime/-/hast-util-to-jsx-runtime-2.3.6.tgz", + "integrity": "sha512-zl6s8LwNyo1P9uw+XJGvZtdFF1GdAkOg8ujOw+4Pyb76874fLps4ueHXDhXWdk6YHQ6OgUtinliG7RsYvCbbBg==", + "license": "MIT", + "dependencies": { + "@types/estree": "^1.0.0", + "@types/hast": "^3.0.0", + "@types/unist": "^3.0.0", + "comma-separated-tokens": "^2.0.0", + "devlop": "^1.0.0", + "estree-util-is-identifier-name": "^3.0.0", + "hast-util-whitespace": "^3.0.0", + "mdast-util-mdx-expression": "^2.0.0", + "mdast-util-mdx-jsx": "^3.0.0", + "mdast-util-mdxjs-esm": "^2.0.0", + "property-information": "^7.0.0", + "space-separated-tokens": "^2.0.0", + "style-to-js": "^1.0.0", + "unist-util-position": "^5.0.0", + "vfile-message": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/hast-util-to-text": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/hast-util-to-text/-/hast-util-to-text-4.0.2.tgz", + "integrity": "sha512-KK6y/BN8lbaq654j7JgBydev7wuNMcID54lkRav1P0CaE1e47P72AWWPiGKXTJU271ooYzcvTAn/Zt0REnvc7A==", + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0", + "@types/unist": "^3.0.0", + "hast-util-is-element": "^3.0.0", + "unist-util-find-after": "^5.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/hast-util-whitespace": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/hast-util-whitespace/-/hast-util-whitespace-3.0.0.tgz", + "integrity": "sha512-88JUN06ipLwsnv+dVn+OIYOvAuvBMy/Qoi6O7mQHxdPXpjy+Cd6xRkWwux7DKO+4sYILtLBRIKgsdpS2gQc7qw==", + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/hastscript": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/hastscript/-/hastscript-9.0.1.tgz", + "integrity": "sha512-g7df9rMFX/SPi34tyGCyUBREQoKkapwdY/T04Qn9TDWfHhAYt4/I0gMVirzK5wEzeUqIjEB+LXC/ypb7Aqno5w==", + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0", + "comma-separated-tokens": "^2.0.0", + "hast-util-parse-selector": "^4.0.0", + "property-information": "^7.0.0", + "space-separated-tokens": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/html-encoding-sniffer": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-3.0.0.tgz", + "integrity": "sha512-oWv4T4yJ52iKrufjnyZPkrN0CH3QnrUqdB6In1g5Fe1mia8GmF36gnfNySxoZtxD5+NmYw1EElVXiBk93UeskA==", + "dev": true, + "license": "MIT", + "dependencies": { + "whatwg-encoding": "^2.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/html-url-attributes": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/html-url-attributes/-/html-url-attributes-3.0.1.tgz", + "integrity": "sha512-ol6UPyBWqsrO6EJySPz2O7ZSr856WDrEzM5zMqp+FJJLGMW35cLYmmZnl0vztAZxRUoNZJFTCohfjuIJ8I4QBQ==", + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/http-proxy-agent": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz", + "integrity": "sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@tootallnate/once": "2", + "agent-base": "6", + "debug": "4" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/https-proxy-agent": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", + "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", + "dev": true, + "license": "MIT", + "dependencies": { + "agent-base": "6", + "debug": "4" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/iceberg-js": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/iceberg-js/-/iceberg-js-0.8.1.tgz", + "integrity": "sha512-1dhVQZXhcHje7798IVM+xoo/1ZdVfzOMIc8/rgVSijRK38EDqOJoGula9N/8ZI5RD8QTxNQtK/Gozpr+qUqRRA==", + "license": "MIT", + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/iconv-lite": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "dev": true, + "license": "MIT", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/idb-keyval": { + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/idb-keyval/-/idb-keyval-6.2.2.tgz", + "integrity": "sha512-yjD9nARJ/jb1g+CvD0tlhUHOrJ9Sy0P8T9MF3YaLlHnSRpwPfpTX0XIvpmw3gAJUmEu3FiICLBDPXVwyEvrleg==", + "license": "Apache-2.0" + }, + "node_modules/ignore": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "node_modules/immediate": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz", + "integrity": "sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ==", + "license": "MIT" + }, + "node_modules/import-fresh": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.1.tgz", + "integrity": "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.8.19" + } + }, + "node_modules/indent-string": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", + "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "license": "ISC" + }, + "node_modules/inline-style-parser": { + "version": "0.2.7", + "resolved": "https://registry.npmjs.org/inline-style-parser/-/inline-style-parser-0.2.7.tgz", + "integrity": "sha512-Nb2ctOyNR8DqQoR0OwRG95uNWIC0C1lCgf5Naz5H6Ji72KZ8OcFZLz2P5sNgwlyoJ8Yif11oMuYs5pBQa86csA==", + "license": "MIT" + }, + "node_modules/input-otp": { + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/input-otp/-/input-otp-1.4.2.tgz", + "integrity": "sha512-l3jWwYNvrEa6NTCt7BECfCm48GvwuZzkoeG3gBL2w4CHeOXW3eKFmf9UNYkNfYc3mxMrthMnxjIE07MT0zLBQA==", + "license": "MIT", + "peerDependencies": { + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0.0 || ^19.0.0-rc" + } + }, + "node_modules/internmap": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/internmap/-/internmap-2.0.3.tgz", + "integrity": "sha512-5Hh7Y1wQbvY5ooGgPbDaL5iYLAPzMTUrjMulskHLH6wnv/A+1q5rgEaiuqEjB+oxGXIVZs1FF+R/KPN3ZSQYYg==", + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/is-alphabetical": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-alphabetical/-/is-alphabetical-2.0.1.tgz", + "integrity": "sha512-FWyyY60MeTNyeSRpkM2Iry0G9hpr7/9kD40mD/cGQEuilcZYS4okz8SN2Q6rLCJ8gbCt6fN+rC+6tMGS99LaxQ==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/is-alphanumerical": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-alphanumerical/-/is-alphanumerical-2.0.1.tgz", + "integrity": "sha512-hmbYhX/9MUMF5uh7tOXyK/n0ZvWpad5caBA17GsC6vyuCqaWliRG5K1qS9inmUhEMaOBIW7/whAnSwveW/LtZw==", + "license": "MIT", + "dependencies": { + "is-alphabetical": "^2.0.0", + "is-decimal": "^2.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "license": "MIT", + "dependencies": { + "binary-extensions": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-core-module": { + "version": "2.15.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.15.1.tgz", + "integrity": "sha512-z0vtXSwucUJtANQWldhbtbt7BnL0vxiFjIdDLAatwhDYty2bad6s+rijD6Ri4YuYJubLzIJLUidCh09e1djEVQ==", + "license": "MIT", + "dependencies": { + "hasown": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-decimal": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-decimal/-/is-decimal-2.0.1.tgz", + "integrity": "sha512-AAB9hiomQs5DXWcRB1rqsxGUstbRroFOPPVAomNk/3XHR5JyEZChOyTWe2oayKnsSsr/kcGqF+z6yuH6HHpN0A==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-fullwidth-code-point": { + "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==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "license": "MIT", + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-hexadecimal": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-hexadecimal/-/is-hexadecimal-2.0.1.tgz", + "integrity": "sha512-DgZQp241c8oO6cA1SbTEWiXeoxV42vlcJxgH+B3hi1AiqqKruZR3ZGF8In3fj4+/y/7rHvlOZLZtgJ/4ttYGZg==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "license": "MIT", + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/is-plain-obj": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz", + "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==", + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-potential-custom-element-name": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz", + "integrity": "sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/is-url": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/is-url/-/is-url-1.2.4.tgz", + "integrity": "sha512-ITvGim8FhRiYe4IQ5uHSkj7pVaPDrCTkNd3yq3cV7iZAcJdHTUMPMEHcqSOy9xZ9qFenQCvi+2wjH9a1nXqHww==", + "license": "MIT" + }, + "node_modules/isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==", + "license": "MIT" + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "license": "ISC" + }, + "node_modules/jackspeak": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz", + "integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==", + "license": "BlueOak-1.0.0", + "dependencies": { + "@isaacs/cliui": "^8.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + }, + "optionalDependencies": { + "@pkgjs/parseargs": "^0.11.0" + } + }, + "node_modules/jiti": { + "version": "1.21.6", + "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.6.tgz", + "integrity": "sha512-2yTgeWTWzMWkHu6Jp9NKgePDaYHbntiwvYuuJLbbN9vl7DC9DvXKOB2BC3ZZ92D3cvV/aflH0osDfwpHepQ53w==", + "license": "MIT", + "bin": { + "jiti": "bin/jiti.js" + } + }, + "node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "license": "MIT" + }, + "node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dev": true, + "license": "MIT", + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/jsdom": { + "version": "20.0.3", + "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-20.0.3.tgz", + "integrity": "sha512-SYhBvTh89tTfCD/CRdSOm13mOBa42iTaTyfyEWBdKcGdPxPtLFBXuHR8XHb33YNYaP+lLbmSvBTsnoesCNJEsQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "abab": "^2.0.6", + "acorn": "^8.8.1", + "acorn-globals": "^7.0.0", + "cssom": "^0.5.0", + "cssstyle": "^2.3.0", + "data-urls": "^3.0.2", + "decimal.js": "^10.4.2", + "domexception": "^4.0.0", + "escodegen": "^2.0.0", + "form-data": "^4.0.0", + "html-encoding-sniffer": "^3.0.0", + "http-proxy-agent": "^5.0.0", + "https-proxy-agent": "^5.0.1", + "is-potential-custom-element-name": "^1.0.1", + "nwsapi": "^2.2.2", + "parse5": "^7.1.1", + "saxes": "^6.0.0", + "symbol-tree": "^3.2.4", + "tough-cookie": "^4.1.2", + "w3c-xmlserializer": "^4.0.0", + "webidl-conversions": "^7.0.0", + "whatwg-encoding": "^2.0.0", + "whatwg-mimetype": "^3.0.0", + "whatwg-url": "^11.0.0", + "ws": "^8.11.0", + "xml-name-validator": "^4.0.0" + }, + "engines": { + "node": ">=14" + }, + "peerDependencies": { + "canvas": "^2.5.0" + }, + "peerDependenciesMeta": { + "canvas": { + "optional": true + } + } + }, + "node_modules/json-buffer": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", + "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true, + "license": "MIT" + }, + "node_modules/json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", + "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", + "dev": true, + "license": "MIT" + }, + "node_modules/jszip": { + "version": "3.10.1", + "resolved": "https://registry.npmjs.org/jszip/-/jszip-3.10.1.tgz", + "integrity": "sha512-xXDvecyTpGLrqFrvkrUSoxxfJI5AH7U8zxxtVclpsUtMCq4JQ290LY8AW5c7Ggnr/Y/oK+bQMbqK2qmtk3pN4g==", + "license": "(MIT OR GPL-3.0-or-later)", + "dependencies": { + "lie": "~3.3.0", + "pako": "~1.0.2", + "readable-stream": "~2.3.6", + "setimmediate": "^1.0.5" + } + }, + "node_modules/katex": { + "version": "0.16.45", + "resolved": "https://registry.npmjs.org/katex/-/katex-0.16.45.tgz", + "integrity": "sha512-pQpZbdBu7wCTmQUh7ufPmLr0pFoObnGUoL/yhtwJDgmmQpbkg/0HSVti25Fu4rmd1oCR6NGWe9vqTWuWv3GcNA==", + "funding": [ + "https://opencollective.com/katex", + "https://github.com/sponsors/katex" + ], + "license": "MIT", + "dependencies": { + "commander": "^8.3.0" + }, + "bin": { + "katex": "cli.js" + } + }, + "node_modules/katex/node_modules/commander": { + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-8.3.0.tgz", + "integrity": "sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==", + "license": "MIT", + "engines": { + "node": ">= 12" + } + }, + "node_modules/keyv": { + "version": "4.5.4", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", + "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", + "dev": true, + "license": "MIT", + "dependencies": { + "json-buffer": "3.0.1" + } + }, + "node_modules/levn": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/lie": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/lie/-/lie-3.3.0.tgz", + "integrity": "sha512-UaiMJzeWRlEujzAuw5LokY1L5ecNQYZKfmyZ9L7wDHb/p5etKaxXhohBcrw0EYby+G/NA52vRSN4N39dxHAIwQ==", + "license": "MIT", + "dependencies": { + "immediate": "~3.0.5" + } + }, + "node_modules/lilconfig": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.3.tgz", + "integrity": "sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw==", + "license": "MIT", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/antonk52" + } + }, + "node_modules/lines-and-columns": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", + "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", + "license": "MIT" + }, + "node_modules/locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-locate": "^5.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "license": "MIT" + }, + "node_modules/lodash.castarray": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/lodash.castarray/-/lodash.castarray-4.4.0.tgz", + "integrity": "sha512-aVx8ztPv7/2ULbArGJ2Y42bG1mEQ5mGjpdvrbJcJFU3TbYybe+QlLS4pst9zV52ymy2in1KpFPiZnAOATxD4+Q==", + "dev": true + }, + "node_modules/lodash.isplainobject": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", + "integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==", + "dev": true + }, + "node_modules/lodash.merge": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/longest-streak": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/longest-streak/-/longest-streak-3.1.0.tgz", + "integrity": "sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/loose-envify": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", + "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "license": "MIT", + "dependencies": { + "js-tokens": "^3.0.0 || ^4.0.0" + }, + "bin": { + "loose-envify": "cli.js" + } + }, + "node_modules/lop": { + "version": "0.4.2", + "resolved": "https://registry.npmjs.org/lop/-/lop-0.4.2.tgz", + "integrity": "sha512-RefILVDQ4DKoRZsJ4Pj22TxE3omDO47yFpkIBoDKzkqPRISs5U1cnAdg/5583YPkWPaLIYHOKRMQSvjFsO26cw==", + "license": "BSD-2-Clause", + "dependencies": { + "duck": "^0.1.12", + "option": "~0.2.1", + "underscore": "^1.13.1" + } + }, + "node_modules/loupe": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/loupe/-/loupe-3.2.1.tgz", + "integrity": "sha512-CdzqowRJCeLU72bHvWqwRBBlLcMEtIvGrlvef74kMnV2AolS9Y8xUv1I0U/MNAWMhBlKIoyuEgoJ0t/bbwHbLQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/lovable-tagger": { + "version": "1.1.13", + "resolved": "https://registry.npmjs.org/lovable-tagger/-/lovable-tagger-1.1.13.tgz", + "integrity": "sha512-RBEYDxao7Xf8ya29L0cd+ocE7Gs80xPOIOwwck65Hoie8YDKViuXi3UYV14DoNWIvaJ7WVPf7SG3cc844nFqGA==", + "dev": true, + "license": "MIT", + "dependencies": { + "esbuild": "^0.25.0", + "tailwindcss": "^3.4.17" + }, + "peerDependencies": { + "vite": ">=5.0.0 <8.0.0" + } + }, + "node_modules/lovable-tagger/node_modules/@esbuild/aix-ppc64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.0.tgz", + "integrity": "sha512-O7vun9Sf8DFjH2UtqK8Ku3LkquL9SZL8OLY1T5NZkA34+wG3OQF7cl4Ql8vdNzM6fzBbYfLaiRLIOZ+2FOCgBQ==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "aix" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/lovable-tagger/node_modules/@esbuild/android-arm": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.0.tgz", + "integrity": "sha512-PTyWCYYiU0+1eJKmw21lWtC+d08JDZPQ5g+kFyxP0V+es6VPPSUhM6zk8iImp2jbV6GwjX4pap0JFbUQN65X1g==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/lovable-tagger/node_modules/@esbuild/android-arm64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.0.tgz", + "integrity": "sha512-grvv8WncGjDSyUBjN9yHXNt+cq0snxXbDxy5pJtzMKGmmpPxeAmAhWxXI+01lU5rwZomDgD3kJwulEnhTRUd6g==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/lovable-tagger/node_modules/@esbuild/android-x64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.0.tgz", + "integrity": "sha512-m/ix7SfKG5buCnxasr52+LI78SQ+wgdENi9CqyCXwjVR2X4Jkz+BpC3le3AoBPYTC9NHklwngVXvbJ9/Akhrfg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/lovable-tagger/node_modules/@esbuild/darwin-arm64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.0.tgz", + "integrity": "sha512-mVwdUb5SRkPayVadIOI78K7aAnPamoeFR2bT5nszFUZ9P8UpK4ratOdYbZZXYSqPKMHfS1wdHCJk1P1EZpRdvw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/lovable-tagger/node_modules/@esbuild/darwin-x64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.0.tgz", + "integrity": "sha512-DgDaYsPWFTS4S3nWpFcMn/33ZZwAAeAFKNHNa1QN0rI4pUjgqf0f7ONmXf6d22tqTY+H9FNdgeaAa+YIFUn2Rg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/lovable-tagger/node_modules/@esbuild/freebsd-arm64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.0.tgz", + "integrity": "sha512-VN4ocxy6dxefN1MepBx/iD1dH5K8qNtNe227I0mnTRjry8tj5MRk4zprLEdG8WPyAPb93/e4pSgi1SoHdgOa4w==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/lovable-tagger/node_modules/@esbuild/freebsd-x64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.0.tgz", + "integrity": "sha512-mrSgt7lCh07FY+hDD1TxiTyIHyttn6vnjesnPoVDNmDfOmggTLXRv8Id5fNZey1gl/V2dyVK1VXXqVsQIiAk+A==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/lovable-tagger/node_modules/@esbuild/linux-arm": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.0.tgz", + "integrity": "sha512-vkB3IYj2IDo3g9xX7HqhPYxVkNQe8qTK55fraQyTzTX/fxaDtXiEnavv9geOsonh2Fd2RMB+i5cbhu2zMNWJwg==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/lovable-tagger/node_modules/@esbuild/linux-arm64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.0.tgz", + "integrity": "sha512-9QAQjTWNDM/Vk2bgBl17yWuZxZNQIF0OUUuPZRKoDtqF2k4EtYbpyiG5/Dk7nqeK6kIJWPYldkOcBqjXjrUlmg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/lovable-tagger/node_modules/@esbuild/linux-ia32": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.0.tgz", + "integrity": "sha512-43ET5bHbphBegyeqLb7I1eYn2P/JYGNmzzdidq/w0T8E2SsYL1U6un2NFROFRg1JZLTzdCoRomg8Rvf9M6W6Gg==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/lovable-tagger/node_modules/@esbuild/linux-loong64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.0.tgz", + "integrity": "sha512-fC95c/xyNFueMhClxJmeRIj2yrSMdDfmqJnyOY4ZqsALkDrrKJfIg5NTMSzVBr5YW1jf+l7/cndBfP3MSDpoHw==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/lovable-tagger/node_modules/@esbuild/linux-mips64el": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.0.tgz", + "integrity": "sha512-nkAMFju7KDW73T1DdH7glcyIptm95a7Le8irTQNO/qtkoyypZAnjchQgooFUDQhNAy4iu08N79W4T4pMBwhPwQ==", + "cpu": [ + "mips64el" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/lovable-tagger/node_modules/@esbuild/linux-ppc64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.0.tgz", + "integrity": "sha512-NhyOejdhRGS8Iwv+KKR2zTq2PpysF9XqY+Zk77vQHqNbo/PwZCzB5/h7VGuREZm1fixhs4Q/qWRSi5zmAiO4Fw==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/lovable-tagger/node_modules/@esbuild/linux-riscv64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.0.tgz", + "integrity": "sha512-5S/rbP5OY+GHLC5qXp1y/Mx//e92L1YDqkiBbO9TQOvuFXM+iDqUNG5XopAnXoRH3FjIUDkeGcY1cgNvnXp/kA==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/lovable-tagger/node_modules/@esbuild/linux-s390x": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.0.tgz", + "integrity": "sha512-XM2BFsEBz0Fw37V0zU4CXfcfuACMrppsMFKdYY2WuTS3yi8O1nFOhil/xhKTmE1nPmVyvQJjJivgDT+xh8pXJA==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/lovable-tagger/node_modules/@esbuild/linux-x64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.0.tgz", + "integrity": "sha512-9yl91rHw/cpwMCNytUDxwj2XjFpxML0y9HAOH9pNVQDpQrBxHy01Dx+vaMu0N1CKa/RzBD2hB4u//nfc+Sd3Cw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/lovable-tagger/node_modules/@esbuild/netbsd-x64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.0.tgz", + "integrity": "sha512-jl+qisSB5jk01N5f7sPCsBENCOlPiS/xptD5yxOx2oqQfyourJwIKLRA2yqWdifj3owQZCL2sn6o08dBzZGQzA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/lovable-tagger/node_modules/@esbuild/openbsd-x64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.0.tgz", + "integrity": "sha512-2gwwriSMPcCFRlPlKx3zLQhfN/2WjJ2NSlg5TKLQOJdV0mSxIcYNTMhk3H3ulL/cak+Xj0lY1Ym9ysDV1igceg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/lovable-tagger/node_modules/@esbuild/sunos-x64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.0.tgz", + "integrity": "sha512-bxI7ThgLzPrPz484/S9jLlvUAHYMzy6I0XiU1ZMeAEOBcS0VePBFxh1JjTQt3Xiat5b6Oh4x7UC7IwKQKIJRIg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/lovable-tagger/node_modules/@esbuild/win32-arm64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.0.tgz", + "integrity": "sha512-ZUAc2YK6JW89xTbXvftxdnYy3m4iHIkDtK3CLce8wg8M2L+YZhIvO1DKpxrd0Yr59AeNNkTiic9YLf6FTtXWMw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/lovable-tagger/node_modules/@esbuild/win32-ia32": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.0.tgz", + "integrity": "sha512-eSNxISBu8XweVEWG31/JzjkIGbGIJN/TrRoiSVZwZ6pkC6VX4Im/WV2cz559/TXLcYbcrDN8JtKgd9DJVIo8GA==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/lovable-tagger/node_modules/@esbuild/win32-x64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.0.tgz", + "integrity": "sha512-ZENoHJBxA20C2zFzh6AI4fT6RraMzjYw4xKWemRTRmRVtN9c5DcH9r/f2ihEkMjOW5eGgrwCslG/+Y/3bL+DHQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/lovable-tagger/node_modules/esbuild": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.0.tgz", + "integrity": "sha512-BXq5mqc8ltbaN34cDqWuYKyNhX8D/Z0J1xdtdQ8UcIIIyJyz+ZMKUt58tF3SrZ85jcfN/PZYhjR5uDQAYNVbuw==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=18" + }, + "optionalDependencies": { + "@esbuild/aix-ppc64": "0.25.0", + "@esbuild/android-arm": "0.25.0", + "@esbuild/android-arm64": "0.25.0", + "@esbuild/android-x64": "0.25.0", + "@esbuild/darwin-arm64": "0.25.0", + "@esbuild/darwin-x64": "0.25.0", + "@esbuild/freebsd-arm64": "0.25.0", + "@esbuild/freebsd-x64": "0.25.0", + "@esbuild/linux-arm": "0.25.0", + "@esbuild/linux-arm64": "0.25.0", + "@esbuild/linux-ia32": "0.25.0", + "@esbuild/linux-loong64": "0.25.0", + "@esbuild/linux-mips64el": "0.25.0", + "@esbuild/linux-ppc64": "0.25.0", + "@esbuild/linux-riscv64": "0.25.0", + "@esbuild/linux-s390x": "0.25.0", + "@esbuild/linux-x64": "0.25.0", + "@esbuild/netbsd-arm64": "0.25.0", + "@esbuild/netbsd-x64": "0.25.0", + "@esbuild/openbsd-arm64": "0.25.0", + "@esbuild/openbsd-x64": "0.25.0", + "@esbuild/sunos-x64": "0.25.0", + "@esbuild/win32-arm64": "0.25.0", + "@esbuild/win32-ia32": "0.25.0", + "@esbuild/win32-x64": "0.25.0" + } + }, + "node_modules/lru-cache": { + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", + "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", + "license": "ISC" + }, + "node_modules/lucide-react": { + "version": "0.462.0", + "resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-0.462.0.tgz", + "integrity": "sha512-NTL7EbAao9IFtuSivSZgrAh4fZd09Lr+6MTkqIxuHaH2nnYiYIzXPo06cOxHg9wKLdj6LL8TByG4qpePqwgx/g==", + "peerDependencies": { + "react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0-rc" + } + }, + "node_modules/lz-string": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/lz-string/-/lz-string-1.5.0.tgz", + "integrity": "sha512-h5bgJWpxJNswbU7qCrV0tIKQCaS3blPDrqKWx+QxzuzL1zGUzij9XCWLrSLsJPu5t+eWA/ycetzYAO5IOMcWAQ==", + "dev": true, + "license": "MIT", + "peer": true, + "bin": { + "lz-string": "bin/bin.js" + } + }, + "node_modules/magic-string": { + "version": "0.30.21", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.21.tgz", + "integrity": "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.5.5" + } + }, + "node_modules/mammoth": { + "version": "1.12.0", + "resolved": "https://registry.npmjs.org/mammoth/-/mammoth-1.12.0.tgz", + "integrity": "sha512-cwnK1RIcRdDMi2HRx2EXGYlxqIEh0Oo3bLhorgnsVJi2UkbX1+jKxuBNR9PC5+JaX7EkmJxFPmo6mjLpqShI2w==", + "license": "BSD-2-Clause", + "dependencies": { + "@xmldom/xmldom": "^0.8.6", + "argparse": "~1.0.3", + "base64-js": "^1.5.1", + "bluebird": "~3.4.0", + "dingbat-to-unicode": "^1.0.1", + "jszip": "^3.7.1", + "lop": "^0.4.2", + "path-is-absolute": "^1.0.0", + "underscore": "^1.13.1", + "xmlbuilder": "^10.0.0" + }, + "bin": { + "mammoth": "bin/mammoth" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/mammoth/node_modules/argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "license": "MIT", + "dependencies": { + "sprintf-js": "~1.0.2" + } + }, + "node_modules/markdown-table": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/markdown-table/-/markdown-table-3.0.4.tgz", + "integrity": "sha512-wiYz4+JrLyb/DqW2hkFJxP7Vd7JuTDm77fvbM8VfEQdmSMqcImWeeRbHwZjBjIFki/VaMK2BhFi7oUUZeM5bqw==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/math-intrinsics": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz", + "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/mdast-util-find-and-replace": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/mdast-util-find-and-replace/-/mdast-util-find-and-replace-3.0.2.tgz", + "integrity": "sha512-Tmd1Vg/m3Xz43afeNxDIhWRtFZgM2VLyaf4vSTYwudTyeuTneoL3qtWMA5jeLyz/O1vDJmmV4QuScFCA2tBPwg==", + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "escape-string-regexp": "^5.0.0", + "unist-util-is": "^6.0.0", + "unist-util-visit-parents": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-find-and-replace/node_modules/escape-string-regexp": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", + "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==", + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/mdast-util-from-markdown": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/mdast-util-from-markdown/-/mdast-util-from-markdown-2.0.3.tgz", + "integrity": "sha512-W4mAWTvSlKvf8L6J+VN9yLSqQ9AOAAvHuoDAmPkz4dHf553m5gVj2ejadHJhoJmcmxEnOv6Pa8XJhpxE93kb8Q==", + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "@types/unist": "^3.0.0", + "decode-named-character-reference": "^1.0.0", + "devlop": "^1.0.0", + "mdast-util-to-string": "^4.0.0", + "micromark": "^4.0.0", + "micromark-util-decode-numeric-character-reference": "^2.0.0", + "micromark-util-decode-string": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0", + "unist-util-stringify-position": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/mdast-util-gfm/-/mdast-util-gfm-3.1.0.tgz", + "integrity": "sha512-0ulfdQOM3ysHhCJ1p06l0b0VKlhU0wuQs3thxZQagjcjPrlFRqY215uZGHHJan9GEAXd9MbfPjFJz+qMkVR6zQ==", + "license": "MIT", + "dependencies": { + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-gfm-autolink-literal": "^2.0.0", + "mdast-util-gfm-footnote": "^2.0.0", + "mdast-util-gfm-strikethrough": "^2.0.0", + "mdast-util-gfm-table": "^2.0.0", + "mdast-util-gfm-task-list-item": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm-autolink-literal": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/mdast-util-gfm-autolink-literal/-/mdast-util-gfm-autolink-literal-2.0.1.tgz", + "integrity": "sha512-5HVP2MKaP6L+G6YaxPNjuL0BPrq9orG3TsrZ9YXbA3vDw/ACI4MEsnoDpn6ZNm7GnZgtAcONJyPhOP8tNJQavQ==", + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "ccount": "^2.0.0", + "devlop": "^1.0.0", + "mdast-util-find-and-replace": "^3.0.0", + "micromark-util-character": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm-footnote": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/mdast-util-gfm-footnote/-/mdast-util-gfm-footnote-2.1.0.tgz", + "integrity": "sha512-sqpDWlsHn7Ac9GNZQMeUzPQSMzR6Wv0WKRNvQRg0KqHh02fpTz69Qc1QSseNX29bhz1ROIyNyxExfawVKTm1GQ==", + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "devlop": "^1.1.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm-strikethrough": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/mdast-util-gfm-strikethrough/-/mdast-util-gfm-strikethrough-2.0.0.tgz", + "integrity": "sha512-mKKb915TF+OC5ptj5bJ7WFRPdYtuHv0yTRxK2tJvi+BDqbkiG7h7u/9SI89nRAYcmap2xHQL9D+QG/6wSrTtXg==", + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm-table": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/mdast-util-gfm-table/-/mdast-util-gfm-table-2.0.0.tgz", + "integrity": "sha512-78UEvebzz/rJIxLvE7ZtDd/vIQ0RHv+3Mh5DR96p7cS7HsBhYIICDBCu8csTNWNO6tBWfqXPWekRuj2FNOGOZg==", + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "devlop": "^1.0.0", + "markdown-table": "^3.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm-task-list-item": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/mdast-util-gfm-task-list-item/-/mdast-util-gfm-task-list-item-2.0.0.tgz", + "integrity": "sha512-IrtvNvjxC1o06taBAVJznEnkiHxLFTzgonUdy8hzFVeDun0uTjxxrRGVaNFqkU1wJR3RBPEfsxmU6jDWPofrTQ==", + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "devlop": "^1.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-math": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mdast-util-math/-/mdast-util-math-3.0.0.tgz", + "integrity": "sha512-Tl9GBNeG/AhJnQM221bJR2HPvLOSnLE/T9cJI9tlc6zwQk2nPk/4f0cHkOdEixQPC/j8UtKDdITswvLAy1OZ1w==", + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0", + "@types/mdast": "^4.0.0", + "devlop": "^1.0.0", + "longest-streak": "^3.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.1.0", + "unist-util-remove-position": "^5.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-mdx-expression": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/mdast-util-mdx-expression/-/mdast-util-mdx-expression-2.0.1.tgz", + "integrity": "sha512-J6f+9hUp+ldTZqKRSg7Vw5V6MqjATc+3E4gf3CFNcuZNWD8XdyI6zQ8GqH7f8169MM6P7hMBRDVGnn7oHB9kXQ==", + "license": "MIT", + "dependencies": { + "@types/estree-jsx": "^1.0.0", + "@types/hast": "^3.0.0", + "@types/mdast": "^4.0.0", + "devlop": "^1.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-mdx-jsx": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/mdast-util-mdx-jsx/-/mdast-util-mdx-jsx-3.2.0.tgz", + "integrity": "sha512-lj/z8v0r6ZtsN/cGNNtemmmfoLAFZnjMbNyLzBafjzikOM+glrjNHPlf6lQDOTccj9n5b0PPihEBbhneMyGs1Q==", + "license": "MIT", + "dependencies": { + "@types/estree-jsx": "^1.0.0", + "@types/hast": "^3.0.0", + "@types/mdast": "^4.0.0", + "@types/unist": "^3.0.0", + "ccount": "^2.0.0", + "devlop": "^1.1.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0", + "parse-entities": "^4.0.0", + "stringify-entities": "^4.0.0", + "unist-util-stringify-position": "^4.0.0", + "vfile-message": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-mdxjs-esm": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/mdast-util-mdxjs-esm/-/mdast-util-mdxjs-esm-2.0.1.tgz", + "integrity": "sha512-EcmOpxsZ96CvlP03NghtH1EsLtr0n9Tm4lPUJUBccV9RwUOneqSycg19n5HGzCf+10LozMRSObtVr3ee1WoHtg==", + "license": "MIT", + "dependencies": { + "@types/estree-jsx": "^1.0.0", + "@types/hast": "^3.0.0", + "@types/mdast": "^4.0.0", + "devlop": "^1.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-phrasing": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/mdast-util-phrasing/-/mdast-util-phrasing-4.1.0.tgz", + "integrity": "sha512-TqICwyvJJpBwvGAMZjj4J2n0X8QWp21b9l0o7eXyVJ25YNWYbJDVIyD1bZXE6WtV6RmKJVYmQAKWa0zWOABz2w==", + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "unist-util-is": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-to-hast": { + "version": "13.2.1", + "resolved": "https://registry.npmjs.org/mdast-util-to-hast/-/mdast-util-to-hast-13.2.1.tgz", + "integrity": "sha512-cctsq2wp5vTsLIcaymblUriiTcZd0CwWtCbLvrOzYCDZoWyMNV8sZ7krj09FSnsiJi3WVsHLM4k6Dq/yaPyCXA==", + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0", + "@types/mdast": "^4.0.0", + "@ungap/structured-clone": "^1.0.0", + "devlop": "^1.0.0", + "micromark-util-sanitize-uri": "^2.0.0", + "trim-lines": "^3.0.0", + "unist-util-position": "^5.0.0", + "unist-util-visit": "^5.0.0", + "vfile": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-to-markdown": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/mdast-util-to-markdown/-/mdast-util-to-markdown-2.1.2.tgz", + "integrity": "sha512-xj68wMTvGXVOKonmog6LwyJKrYXZPvlwabaryTjLh9LuvovB/KAH+kvi8Gjj+7rJjsFi23nkUxRQv1KqSroMqA==", + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "@types/unist": "^3.0.0", + "longest-streak": "^3.0.0", + "mdast-util-phrasing": "^4.0.0", + "mdast-util-to-string": "^4.0.0", + "micromark-util-classify-character": "^2.0.0", + "micromark-util-decode-string": "^2.0.0", + "unist-util-visit": "^5.0.0", + "zwitch": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-to-string": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/mdast-util-to-string/-/mdast-util-to-string-4.0.0.tgz", + "integrity": "sha512-0H44vDimn51F0YwvxSJSm0eCDOJTRlmN0R1yBh4HLj9wiV1Dn0QoXGbvFAWj2hSItVTlCmBF1hqKlIyUBVFLPg==", + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/merge2": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "node_modules/micromark": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/micromark/-/micromark-4.0.2.tgz", + "integrity": "sha512-zpe98Q6kvavpCr1NPVSCMebCKfD7CA2NqZ+rykeNhONIJBpc1tFKt9hucLGwha3jNTNI8lHpctWJWoimVF4PfA==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "@types/debug": "^4.0.0", + "debug": "^4.0.0", + "decode-named-character-reference": "^1.0.0", + "devlop": "^1.0.0", + "micromark-core-commonmark": "^2.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-combine-extensions": "^2.0.0", + "micromark-util-decode-numeric-character-reference": "^2.0.0", + "micromark-util-encode": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-resolve-all": "^2.0.0", + "micromark-util-sanitize-uri": "^2.0.0", + "micromark-util-subtokenize": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-core-commonmark": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/micromark-core-commonmark/-/micromark-core-commonmark-2.0.3.tgz", + "integrity": "sha512-RDBrHEMSxVFLg6xvnXmb1Ayr2WzLAWjeSATAoxwKYJV94TeNavgoIdA0a9ytzDSVzBy2YKFK+emCPOEibLeCrg==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "decode-named-character-reference": "^1.0.0", + "devlop": "^1.0.0", + "micromark-factory-destination": "^2.0.0", + "micromark-factory-label": "^2.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-factory-title": "^2.0.0", + "micromark-factory-whitespace": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-classify-character": "^2.0.0", + "micromark-util-html-tag-name": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-resolve-all": "^2.0.0", + "micromark-util-subtokenize": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-extension-gfm": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm/-/micromark-extension-gfm-3.0.0.tgz", + "integrity": "sha512-vsKArQsicm7t0z2GugkCKtZehqUm31oeGBV/KVSorWSy8ZlNAv7ytjFhvaryUiCUJYqs+NoE6AFhpQvBTM6Q4w==", + "license": "MIT", + "dependencies": { + "micromark-extension-gfm-autolink-literal": "^2.0.0", + "micromark-extension-gfm-footnote": "^2.0.0", + "micromark-extension-gfm-strikethrough": "^2.0.0", + "micromark-extension-gfm-table": "^2.0.0", + "micromark-extension-gfm-tagfilter": "^2.0.0", + "micromark-extension-gfm-task-list-item": "^2.0.0", + "micromark-util-combine-extensions": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-autolink-literal": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-autolink-literal/-/micromark-extension-gfm-autolink-literal-2.1.0.tgz", + "integrity": "sha512-oOg7knzhicgQ3t4QCjCWgTmfNhvQbDDnJeVu9v81r7NltNCVmhPy1fJRX27pISafdjL+SVc4d3l48Gb6pbRypw==", + "license": "MIT", + "dependencies": { + "micromark-util-character": "^2.0.0", + "micromark-util-sanitize-uri": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-footnote": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-footnote/-/micromark-extension-gfm-footnote-2.1.0.tgz", + "integrity": "sha512-/yPhxI1ntnDNsiHtzLKYnE3vf9JZ6cAisqVDauhp4CEHxlb4uoOTxOCJ+9s51bIB8U1N1FJ1RXOKTIlD5B/gqw==", + "license": "MIT", + "dependencies": { + "devlop": "^1.0.0", + "micromark-core-commonmark": "^2.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-sanitize-uri": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-strikethrough": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-strikethrough/-/micromark-extension-gfm-strikethrough-2.1.0.tgz", + "integrity": "sha512-ADVjpOOkjz1hhkZLlBiYA9cR2Anf8F4HqZUO6e5eDcPQd0Txw5fxLzzxnEkSkfnD0wziSGiv7sYhk/ktvbf1uw==", + "license": "MIT", + "dependencies": { + "devlop": "^1.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-classify-character": "^2.0.0", + "micromark-util-resolve-all": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-table": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-table/-/micromark-extension-gfm-table-2.1.1.tgz", + "integrity": "sha512-t2OU/dXXioARrC6yWfJ4hqB7rct14e8f7m0cbI5hUmDyyIlwv5vEtooptH8INkbLzOatzKuVbQmAYcbWoyz6Dg==", + "license": "MIT", + "dependencies": { + "devlop": "^1.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-tagfilter": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-tagfilter/-/micromark-extension-gfm-tagfilter-2.0.0.tgz", + "integrity": "sha512-xHlTOmuCSotIA8TW1mDIM6X2O1SiX5P9IuDtqGonFhEK0qgRI4yeC6vMxEV2dgyr2TiD+2PQ10o+cOhdVAcwfg==", + "license": "MIT", + "dependencies": { + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-task-list-item": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-task-list-item/-/micromark-extension-gfm-task-list-item-2.1.0.tgz", + "integrity": "sha512-qIBZhqxqI6fjLDYFTBIa4eivDMnP+OZqsNwmQ3xNLE4Cxwc+zfQEfbs6tzAo2Hjq+bh6q5F+Z8/cksrLFYWQQw==", + "license": "MIT", + "dependencies": { + "devlop": "^1.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-math": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-math/-/micromark-extension-math-3.1.0.tgz", + "integrity": "sha512-lvEqd+fHjATVs+2v/8kg9i5Q0AP2k85H0WUOwpIVvUML8BapsMvh1XAogmQjOCsLpoKRCVQqEkQBB3NhVBcsOg==", + "license": "MIT", + "dependencies": { + "@types/katex": "^0.16.0", + "devlop": "^1.0.0", + "katex": "^0.16.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-factory-destination": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-destination/-/micromark-factory-destination-2.0.1.tgz", + "integrity": "sha512-Xe6rDdJlkmbFRExpTOmRj9N3MaWmbAgdpSrBQvCFqhezUn4AHqJHbaEnfbVYYiexVSs//tqOdY/DxhjdCiJnIA==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-factory-label": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-label/-/micromark-factory-label-2.0.1.tgz", + "integrity": "sha512-VFMekyQExqIW7xIChcXn4ok29YE3rnuyveW3wZQWWqF4Nv9Wk5rgJ99KzPvHjkmPXF93FXIbBp6YdW3t71/7Vg==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "devlop": "^1.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-factory-space": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-space/-/micromark-factory-space-2.0.1.tgz", + "integrity": "sha512-zRkxjtBxxLd2Sc0d+fbnEunsTj46SWXgXciZmHq0kDYGnck/ZSGj9/wULTV95uoeYiK5hRXP2mJ98Uo4cq/LQg==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-character": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-factory-title": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-title/-/micromark-factory-title-2.0.1.tgz", + "integrity": "sha512-5bZ+3CjhAd9eChYTHsjy6TGxpOFSKgKKJPJxr293jTbfry2KDoWkhBb6TcPVB4NmzaPhMs1Frm9AZH7OD4Cjzw==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-factory-whitespace": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-whitespace/-/micromark-factory-whitespace-2.0.1.tgz", + "integrity": "sha512-Ob0nuZ3PKt/n0hORHyvoD9uZhr+Za8sFoP+OnMcnWK5lngSzALgQYKMr9RJVOWLqQYuyn6ulqGWSXdwf6F80lQ==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-character": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/micromark-util-character/-/micromark-util-character-2.1.1.tgz", + "integrity": "sha512-wv8tdUTJ3thSFFFJKtpYKOYiGP2+v96Hvk4Tu8KpCAsTMs6yi+nVmGh1syvSCsaxz45J6Jbw+9DD6g97+NV67Q==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-chunked": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-chunked/-/micromark-util-chunked-2.0.1.tgz", + "integrity": "sha512-QUNFEOPELfmvv+4xiNg2sRYeS/P84pTW0TCgP5zc9FpXetHY0ab7SxKyAQCNCc1eK0459uoLI1y5oO5Vc1dbhA==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-symbol": "^2.0.0" + } + }, + "node_modules/micromark-util-classify-character": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-classify-character/-/micromark-util-classify-character-2.0.1.tgz", + "integrity": "sha512-K0kHzM6afW/MbeWYWLjoHQv1sgg2Q9EccHEDzSkxiP/EaagNzCm7T/WMKZ3rjMbvIpvBiZgwR3dKMygtA4mG1Q==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-combine-extensions": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-combine-extensions/-/micromark-util-combine-extensions-2.0.1.tgz", + "integrity": "sha512-OnAnH8Ujmy59JcyZw8JSbK9cGpdVY44NKgSM7E9Eh7DiLS2E9RNQf0dONaGDzEG9yjEl5hcqeIsj4hfRkLH/Bg==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-chunked": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-decode-numeric-character-reference": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/micromark-util-decode-numeric-character-reference/-/micromark-util-decode-numeric-character-reference-2.0.2.tgz", + "integrity": "sha512-ccUbYk6CwVdkmCQMyr64dXz42EfHGkPQlBj5p7YVGzq8I7CtjXZJrubAYezf7Rp+bjPseiROqe7G6foFd+lEuw==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-symbol": "^2.0.0" + } + }, + "node_modules/micromark-util-decode-string": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-decode-string/-/micromark-util-decode-string-2.0.1.tgz", + "integrity": "sha512-nDV/77Fj6eH1ynwscYTOsbK7rR//Uj0bZXBwJZRfaLEJ1iGBR6kIfNmlNqaqJf649EP0F3NWNdeJi03elllNUQ==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "decode-named-character-reference": "^1.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-decode-numeric-character-reference": "^2.0.0", + "micromark-util-symbol": "^2.0.0" + } + }, + "node_modules/micromark-util-encode": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-encode/-/micromark-util-encode-2.0.1.tgz", + "integrity": "sha512-c3cVx2y4KqUnwopcO9b/SCdo2O67LwJJ/UyqGfbigahfegL9myoEFoDYZgkT7f36T0bLrM9hZTAaAyH+PCAXjw==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT" + }, + "node_modules/micromark-util-html-tag-name": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-html-tag-name/-/micromark-util-html-tag-name-2.0.1.tgz", + "integrity": "sha512-2cNEiYDhCWKI+Gs9T0Tiysk136SnR13hhO8yW6BGNyhOC4qYFnwF1nKfD3HFAIXA5c45RrIG1ub11GiXeYd1xA==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT" + }, + "node_modules/micromark-util-normalize-identifier": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-normalize-identifier/-/micromark-util-normalize-identifier-2.0.1.tgz", + "integrity": "sha512-sxPqmo70LyARJs0w2UclACPUUEqltCkJ6PhKdMIDuJ3gSf/Q+/GIe3WKl0Ijb/GyH9lOpUkRAO2wp0GVkLvS9Q==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-symbol": "^2.0.0" + } + }, + "node_modules/micromark-util-resolve-all": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-resolve-all/-/micromark-util-resolve-all-2.0.1.tgz", + "integrity": "sha512-VdQyxFWFT2/FGJgwQnJYbe1jjQoNTS4RjglmSjTUlpUMa95Htx9NHeYW4rGDJzbjvCsl9eLjMQwGeElsqmzcHg==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-sanitize-uri": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-2.0.1.tgz", + "integrity": "sha512-9N9IomZ/YuGGZZmQec1MbgxtlgougxTodVwDzzEouPKo3qFWvymFHWcnDi2vzV1ff6kas9ucW+o3yzJK9YB1AQ==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-character": "^2.0.0", + "micromark-util-encode": "^2.0.0", + "micromark-util-symbol": "^2.0.0" + } + }, + "node_modules/micromark-util-subtokenize": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-util-subtokenize/-/micromark-util-subtokenize-2.1.0.tgz", + "integrity": "sha512-XQLu552iSctvnEcgXw6+Sx75GflAPNED1qx7eBJ+wydBb2KCbRZe+NwvIEEMM83uml1+2WSXpBAcp9IUCgCYWA==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "devlop": "^1.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-symbol": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-symbol/-/micromark-util-symbol-2.0.1.tgz", + "integrity": "sha512-vs5t8Apaud9N28kgCrRUdEed4UJ+wWNvicHLPxCa9ENlYuAY31M0ETy5y1vA33YoNPDFTghEbnh6efaE8h4x0Q==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT" + }, + "node_modules/micromark-util-types": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/micromark-util-types/-/micromark-util-types-2.0.2.tgz", + "integrity": "sha512-Yw0ECSpJoViF1qTU4DC6NwtC4aWGt1EkzaQB8KPPyCRR8z9TWeV0HbEFGTO+ZY1wB22zmxnJqhPyTpOVCpeHTA==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT" + }, + "node_modules/micromatch": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", + "license": "MIT", + "dependencies": { + "braces": "^3.0.3", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "dev": true, + "license": "MIT", + "dependencies": { + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/min-indent": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz", + "integrity": "sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/minipass": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "license": "MIT" + }, + "node_modules/mz": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz", + "integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==", + "license": "MIT", + "dependencies": { + "any-promise": "^1.0.0", + "object-assign": "^4.0.1", + "thenify-all": "^1.0.0" + } + }, + "node_modules/nanoid": { + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz", + "integrity": "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "node_modules/natural-compare": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", + "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", + "dev": true, + "license": "MIT" + }, + "node_modules/next-themes": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/next-themes/-/next-themes-0.3.0.tgz", + "integrity": "sha512-/QHIrsYpd6Kfk7xakK4svpDI5mmXP0gfvCoJdGpZQ2TOrQZmsW0QxjaiLn8wbIKjtm4BTSqLoix4lxYYOnLJ/w==", + "license": "MIT", + "peerDependencies": { + "react": "^16.8 || ^17 || ^18", + "react-dom": "^16.8 || ^17 || ^18" + } + }, + "node_modules/node-fetch": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", + "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", + "license": "MIT", + "dependencies": { + "whatwg-url": "^5.0.0" + }, + "engines": { + "node": "4.x || >=6.0.0" + }, + "peerDependencies": { + "encoding": "^0.1.0" + }, + "peerDependenciesMeta": { + "encoding": { + "optional": true + } + } + }, + "node_modules/node-fetch/node_modules/tr46": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", + "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", + "license": "MIT" + }, + "node_modules/node-fetch/node_modules/webidl-conversions": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", + "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", + "license": "BSD-2-Clause" + }, + "node_modules/node-fetch/node_modules/whatwg-url": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", + "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", + "license": "MIT", + "dependencies": { + "tr46": "~0.0.3", + "webidl-conversions": "^3.0.0" + } + }, + "node_modules/node-releases": { + "version": "2.0.19", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.19.tgz", + "integrity": "sha512-xxOWJsBKtzAq7DY0J+DTzuz58K8e7sJbdgwkbMWQe8UYB6ekmsQ45q0M/tJDsGaZmbC+l7n57UV8Hl5tHxO9uw==", + "dev": true, + "license": "MIT" + }, + "node_modules/normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/normalize-range": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz", + "integrity": "sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/nwsapi": { + "version": "2.2.23", + "resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.23.tgz", + "integrity": "sha512-7wfH4sLbt4M0gCDzGE6vzQBo0bfTKjU7Sfpqy/7gs1qBfYz2vEJH6vXcBKpO3+6Yu1telwd0t9HpyOoLEQQbIQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-hash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz", + "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==", + "license": "MIT", + "engines": { + "node": ">= 6" + } + }, + "node_modules/opencollective-postinstall": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/opencollective-postinstall/-/opencollective-postinstall-2.0.3.tgz", + "integrity": "sha512-8AV/sCtuzUeTo8gQK5qDZzARrulB3egtLzFgteqB2tcT4Mw7B8Kt7JcDHmltjz6FOAHsvTevk70gZEbhM4ZS9Q==", + "license": "MIT", + "bin": { + "opencollective-postinstall": "index.js" + } + }, + "node_modules/option": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/option/-/option-0.2.4.tgz", + "integrity": "sha512-pkEqbDyl8ou5cpq+VsnQbe/WlEy5qS7xPzMS1U55OCG9KPvwFD46zDbxQIj3egJSFc3D+XhYOPUzz49zQAVy7A==", + "license": "BSD-2-Clause" + }, + "node_modules/optionator": { + "version": "0.9.4", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz", + "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==", + "dev": true, + "license": "MIT", + "dependencies": { + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0", + "word-wrap": "^1.2.5" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "yocto-queue": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-limit": "^3.0.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/package-json-from-dist": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz", + "integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==", + "license": "BlueOak-1.0.0" + }, + "node_modules/pako": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz", + "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==", + "license": "(MIT AND Zlib)" + }, + "node_modules/parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "dev": true, + "license": "MIT", + "dependencies": { + "callsites": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/parse-entities": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/parse-entities/-/parse-entities-4.0.2.tgz", + "integrity": "sha512-GG2AQYWoLgL877gQIKeRPGO1xF9+eG1ujIb5soS5gPvLQ1y2o8FL90w2QWNdf9I361Mpp7726c+lj3U0qK1uGw==", + "license": "MIT", + "dependencies": { + "@types/unist": "^2.0.0", + "character-entities-legacy": "^3.0.0", + "character-reference-invalid": "^2.0.0", + "decode-named-character-reference": "^1.0.0", + "is-alphanumerical": "^2.0.0", + "is-decimal": "^2.0.0", + "is-hexadecimal": "^2.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/parse-entities/node_modules/@types/unist": { + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.11.tgz", + "integrity": "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==", + "license": "MIT" + }, + "node_modules/parse5": { + "version": "7.3.0", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.3.0.tgz", + "integrity": "sha512-IInvU7fabl34qmi9gY8XOVxhYyMyuH2xUNpb2q8/Y+7552KlejkRvqvD19nMoUW/uQGGbqNpA6Tufu5FL5BZgw==", + "license": "MIT", + "dependencies": { + "entities": "^6.0.0" + }, + "funding": { + "url": "https://github.com/inikulin/parse5?sponsor=1" + } + }, + "node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", + "license": "MIT" + }, + "node_modules/path-scurry": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz", + "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==", + "license": "BlueOak-1.0.0", + "dependencies": { + "lru-cache": "^10.2.0", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" + }, + "engines": { + "node": ">=16 || 14 >=14.18" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/pathe": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/pathe/-/pathe-2.0.3.tgz", + "integrity": "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==", + "dev": true, + "license": "MIT" + }, + "node_modules/pathval": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/pathval/-/pathval-2.0.1.tgz", + "integrity": "sha512-//nshmD55c46FuFw26xV/xFAaB5HF9Xdap7HJBBnrKdAd6/GxDBaNA1870O79+9ueg61cZLSVc+OaFlfmObYVQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 14.16" + } + }, + "node_modules/picocolors": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", + "license": "ISC" + }, + "node_modules/picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "license": "MIT", + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/pirates": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.6.tgz", + "integrity": "sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==", + "license": "MIT", + "engines": { + "node": ">= 6" + } + }, + "node_modules/postcss": { + "version": "8.5.6", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.6.tgz", + "integrity": "sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "nanoid": "^3.3.11", + "picocolors": "^1.1.1", + "source-map-js": "^1.2.1" + }, + "engines": { + "node": "^10 || ^12 || >=14" + } + }, + "node_modules/postcss-import": { + "version": "15.1.0", + "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-15.1.0.tgz", + "integrity": "sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==", + "license": "MIT", + "dependencies": { + "postcss-value-parser": "^4.0.0", + "read-cache": "^1.0.0", + "resolve": "^1.1.7" + }, + "engines": { + "node": ">=14.0.0" + }, + "peerDependencies": { + "postcss": "^8.0.0" + } + }, + "node_modules/postcss-js": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/postcss-js/-/postcss-js-4.0.1.tgz", + "integrity": "sha512-dDLF8pEO191hJMtlHFPRa8xsizHaM82MLfNkUHdUtVEV3tgTp5oj+8qbEqYM57SLfc74KSbw//4SeJma2LRVIw==", + "license": "MIT", + "dependencies": { + "camelcase-css": "^2.0.1" + }, + "engines": { + "node": "^12 || ^14 || >= 16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + "peerDependencies": { + "postcss": "^8.4.21" + } + }, + "node_modules/postcss-load-config": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-4.0.2.tgz", + "integrity": "sha512-bSVhyJGL00wMVoPUzAVAnbEoWyqRxkjv64tUl427SKnPrENtq6hJwUojroMz2VB+Q1edmi4IfrAPpami5VVgMQ==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "lilconfig": "^3.0.0", + "yaml": "^2.3.4" + }, + "engines": { + "node": ">= 14" + }, + "peerDependencies": { + "postcss": ">=8.0.9", + "ts-node": ">=9.0.0" + }, + "peerDependenciesMeta": { + "postcss": { + "optional": true + }, + "ts-node": { + "optional": true + } + } + }, + "node_modules/postcss-nested": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-6.2.0.tgz", + "integrity": "sha512-HQbt28KulC5AJzG+cZtj9kvKB93CFCdLvog1WFLf1D+xmMvPGlBstkpTEZfK5+AN9hfJocyBFCNiqyS48bpgzQ==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "postcss-selector-parser": "^6.1.1" + }, + "engines": { + "node": ">=12.0" + }, + "peerDependencies": { + "postcss": "^8.2.14" + } + }, + "node_modules/postcss-selector-parser": { + "version": "6.1.2", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.2.tgz", + "integrity": "sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg==", + "license": "MIT", + "dependencies": { + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/postcss-value-parser": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", + "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==", + "license": "MIT" + }, + "node_modules/prelude-ls": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/pretty-format": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-27.5.1.tgz", + "integrity": "sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "ansi-regex": "^5.0.1", + "ansi-styles": "^5.0.0", + "react-is": "^17.0.1" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "node_modules/pretty-format/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "license": "MIT", + "peer": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/pretty-format/node_modules/ansi-styles": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", + "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", + "dev": true, + "license": "MIT", + "peer": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/pretty-format/node_modules/react-is": { + "version": "17.0.2", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", + "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", + "dev": true, + "license": "MIT", + "peer": true + }, + "node_modules/process-nextick-args": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", + "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", + "license": "MIT" + }, + "node_modules/prop-types": { + "version": "15.8.1", + "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz", + "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==", + "license": "MIT", + "dependencies": { + "loose-envify": "^1.4.0", + "object-assign": "^4.1.1", + "react-is": "^16.13.1" + } + }, + "node_modules/prop-types/node_modules/react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", + "license": "MIT" + }, + "node_modules/property-information": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/property-information/-/property-information-7.1.0.tgz", + "integrity": "sha512-TwEZ+X+yCJmYfL7TPUOcvBZ4QfoT5YenQiJuX//0th53DE6w0xxLEtfK3iyryQFddXuvkIk51EEgrJQ0WJkOmQ==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/psl": { + "version": "1.15.0", + "resolved": "https://registry.npmjs.org/psl/-/psl-1.15.0.tgz", + "integrity": "sha512-JZd3gMVBAVQkSs6HdNZo9Sdo0LNcQeMNP3CozBJb3JYC/QUYZTnKxP+f8oWRX4rHP5EurWxqAHTSwUCjlNKa1w==", + "dev": true, + "license": "MIT", + "dependencies": { + "punycode": "^2.3.1" + }, + "funding": { + "url": "https://github.com/sponsors/lupomontero" + } + }, + "node_modules/punycode": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/querystringify": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.2.0.tgz", + "integrity": "sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/queue-microtask": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", + "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/react": { + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz", + "integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==", + "license": "MIT", + "dependencies": { + "loose-envify": "^1.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/react-day-picker": { + "version": "8.10.1", + "resolved": "https://registry.npmjs.org/react-day-picker/-/react-day-picker-8.10.1.tgz", + "integrity": "sha512-TMx7fNbhLk15eqcMt+7Z7S2KF7mfTId/XJDjKE8f+IUcFn0l08/kI4FiYTL/0yuOLmEcbR4Fwe3GJf/NiiMnPA==", + "license": "MIT", + "funding": { + "type": "individual", + "url": "https://github.com/sponsors/gpbl" + }, + "peerDependencies": { + "date-fns": "^2.28.0 || ^3.0.0", + "react": "^16.8.0 || ^17.0.0 || ^18.0.0" + } + }, + "node_modules/react-dom": { + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz", + "integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==", + "license": "MIT", + "dependencies": { + "loose-envify": "^1.1.0", + "scheduler": "^0.23.2" + }, + "peerDependencies": { + "react": "^18.3.1" + } + }, + "node_modules/react-dropzone": { + "version": "15.0.0", + "resolved": "https://registry.npmjs.org/react-dropzone/-/react-dropzone-15.0.0.tgz", + "integrity": "sha512-lGjYV/EoqEjEWPnmiSvH4v5IoIAwQM2W4Z1C0Q/Pw2xD0eVzKPS359BQTUMum+1fa0kH2nrKjuavmTPOGhpLPg==", + "license": "MIT", + "dependencies": { + "attr-accept": "^2.2.4", + "file-selector": "^2.1.0", + "prop-types": "^15.8.1" + }, + "engines": { + "node": ">= 10.13" + }, + "peerDependencies": { + "react": ">= 16.8 || 18.0.0" + } + }, + "node_modules/react-hook-form": { + "version": "7.61.1", + "resolved": "https://registry.npmjs.org/react-hook-form/-/react-hook-form-7.61.1.tgz", + "integrity": "sha512-2vbXUFDYgqEgM2RcXcAT2PwDW/80QARi+PKmHy5q2KhuKvOlG8iIYgf7eIlIANR5trW9fJbP4r5aub3a4egsew==", + "license": "MIT", + "engines": { + "node": ">=18.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/react-hook-form" + }, + "peerDependencies": { + "react": "^16.8.0 || ^17 || ^18 || ^19" + } + }, + "node_modules/react-is": { + "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==", + "license": "MIT" + }, + "node_modules/react-markdown": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/react-markdown/-/react-markdown-10.1.0.tgz", + "integrity": "sha512-qKxVopLT/TyA6BX3Ue5NwabOsAzm0Q7kAPwq6L+wWDwisYs7R8vZ0nRXqq6rkueboxpkjvLGU9fWifiX/ZZFxQ==", + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0", + "@types/mdast": "^4.0.0", + "devlop": "^1.0.0", + "hast-util-to-jsx-runtime": "^2.0.0", + "html-url-attributes": "^3.0.0", + "mdast-util-to-hast": "^13.0.0", + "remark-parse": "^11.0.0", + "remark-rehype": "^11.0.0", + "unified": "^11.0.0", + "unist-util-visit": "^5.0.0", + "vfile": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + }, + "peerDependencies": { + "@types/react": ">=18", + "react": ">=18" + } + }, + "node_modules/react-remove-scroll": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/react-remove-scroll/-/react-remove-scroll-2.7.1.tgz", + "integrity": "sha512-HpMh8+oahmIdOuS5aFKKY6Pyog+FNaZV/XyJOq7b4YFwsFHe5yYfdbIalI4k3vU2nSDql7YskmUseHsRrJqIPA==", + "license": "MIT", + "dependencies": { + "react-remove-scroll-bar": "^2.3.7", + "react-style-singleton": "^2.2.3", + "tslib": "^2.1.0", + "use-callback-ref": "^1.3.3", + "use-sidecar": "^1.1.3" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/react-remove-scroll-bar": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/react-remove-scroll-bar/-/react-remove-scroll-bar-2.3.8.tgz", + "integrity": "sha512-9r+yi9+mgU33AKcj6IbT9oRCO78WriSj6t/cF8DWBZJ9aOGPOTEDvdUDz1FwKim7QXWwmHqtdHnRJfhAxEG46Q==", + "license": "MIT", + "dependencies": { + "react-style-singleton": "^2.2.2", + "tslib": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/react-resizable-panels": { + "version": "2.1.9", + "resolved": "https://registry.npmjs.org/react-resizable-panels/-/react-resizable-panels-2.1.9.tgz", + "integrity": "sha512-z77+X08YDIrgAes4jl8xhnUu1LNIRp4+E7cv4xHmLOxxUPO/ML7PSrE813b90vj7xvQ1lcf7g2uA9GeMZonjhQ==", + "license": "MIT", + "peerDependencies": { + "react": "^16.14.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "react-dom": "^16.14.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc" + } + }, + "node_modules/react-router": { + "version": "6.30.1", + "resolved": "https://registry.npmjs.org/react-router/-/react-router-6.30.1.tgz", + "integrity": "sha512-X1m21aEmxGXqENEPG3T6u0Th7g0aS4ZmoNynhbs+Cn+q+QGTLt+d5IQ2bHAXKzKcxGJjxACpVbnYQSCRcfxHlQ==", + "license": "MIT", + "dependencies": { + "@remix-run/router": "1.23.0" + }, + "engines": { + "node": ">=14.0.0" + }, + "peerDependencies": { + "react": ">=16.8" + } + }, + "node_modules/react-router-dom": { + "version": "6.30.1", + "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-6.30.1.tgz", + "integrity": "sha512-llKsgOkZdbPU1Eg3zK8lCn+sjD9wMRZZPuzmdWWX5SUs8OFkN5HnFVC0u5KMeMaC9aoancFI/KoLuKPqN+hxHw==", + "license": "MIT", + "dependencies": { + "@remix-run/router": "1.23.0", + "react-router": "6.30.1" + }, + "engines": { + "node": ">=14.0.0" + }, + "peerDependencies": { + "react": ">=16.8", + "react-dom": ">=16.8" + } + }, + "node_modules/react-smooth": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/react-smooth/-/react-smooth-4.0.4.tgz", + "integrity": "sha512-gnGKTpYwqL0Iii09gHobNolvX4Kiq4PKx6eWBCYYix+8cdw+cGo3do906l1NBPKkSWx1DghC1dlWG9L2uGd61Q==", + "license": "MIT", + "dependencies": { + "fast-equals": "^5.0.1", + "prop-types": "^15.8.1", + "react-transition-group": "^4.4.5" + }, + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", + "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" + } + }, + "node_modules/react-style-singleton": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/react-style-singleton/-/react-style-singleton-2.2.3.tgz", + "integrity": "sha512-b6jSvxvVnyptAiLjbkWLE/lOnR4lfTtDAl+eUC7RZy+QQWc6wRzIV2CE6xBuMmDxc2qIihtDCZD5NPOFl7fRBQ==", + "license": "MIT", + "dependencies": { + "get-nonce": "^1.0.0", + "tslib": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/react-transition-group": { + "version": "4.4.5", + "resolved": "https://registry.npmjs.org/react-transition-group/-/react-transition-group-4.4.5.tgz", + "integrity": "sha512-pZcd1MCJoiKiBR2NRxeCRg13uCXbydPnmB4EOeRrY7480qNWO8IIgQG6zlDkm6uRMsURXPuKq0GWtiM59a5Q6g==", + "license": "BSD-3-Clause", + "dependencies": { + "@babel/runtime": "^7.5.5", + "dom-helpers": "^5.0.1", + "loose-envify": "^1.4.0", + "prop-types": "^15.6.2" + }, + "peerDependencies": { + "react": ">=16.6.0", + "react-dom": ">=16.6.0" + } + }, + "node_modules/read-cache": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz", + "integrity": "sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==", + "license": "MIT", + "dependencies": { + "pify": "^2.3.0" + } + }, + "node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "license": "MIT", + "dependencies": { + "picomatch": "^2.2.1" + }, + "engines": { + "node": ">=8.10.0" + } + }, + "node_modules/recharts": { + "version": "2.15.4", + "resolved": "https://registry.npmjs.org/recharts/-/recharts-2.15.4.tgz", + "integrity": "sha512-UT/q6fwS3c1dHbXv2uFgYJ9BMFHu3fwnd7AYZaEQhXuYQ4hgsxLvsUXzGdKeZrW5xopzDCvuA2N41WJ88I7zIw==", + "license": "MIT", + "dependencies": { + "clsx": "^2.0.0", + "eventemitter3": "^4.0.1", + "lodash": "^4.17.21", + "react-is": "^18.3.1", + "react-smooth": "^4.0.4", + "recharts-scale": "^0.4.4", + "tiny-invariant": "^1.3.1", + "victory-vendor": "^36.6.8" + }, + "engines": { + "node": ">=14" + }, + "peerDependencies": { + "react": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", + "react-dom": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" + } + }, + "node_modules/recharts-scale": { + "version": "0.4.5", + "resolved": "https://registry.npmjs.org/recharts-scale/-/recharts-scale-0.4.5.tgz", + "integrity": "sha512-kivNFO+0OcUNu7jQquLXAxz1FIwZj8nrj+YkOKc5694NbjCvcT6aSZiIzNzd2Kul4o4rTto8QVR9lMNtxD4G1w==", + "license": "MIT", + "dependencies": { + "decimal.js-light": "^2.4.1" + } + }, + "node_modules/redent": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz", + "integrity": "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==", + "dev": true, + "license": "MIT", + "dependencies": { + "indent-string": "^4.0.0", + "strip-indent": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/regenerator-runtime": { + "version": "0.13.11", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz", + "integrity": "sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==", + "license": "MIT" + }, + "node_modules/rehype-katex": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/rehype-katex/-/rehype-katex-7.0.1.tgz", + "integrity": "sha512-OiM2wrZ/wuhKkigASodFoo8wimG3H12LWQaH8qSPVJn9apWKFSH3YOCtbKpBorTVw/eI7cuT21XBbvwEswbIOA==", + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0", + "@types/katex": "^0.16.0", + "hast-util-from-html-isomorphic": "^2.0.0", + "hast-util-to-text": "^4.0.0", + "katex": "^0.16.0", + "unist-util-visit-parents": "^6.0.0", + "vfile": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/remark-gfm": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/remark-gfm/-/remark-gfm-4.0.1.tgz", + "integrity": "sha512-1quofZ2RQ9EWdeN34S79+KExV1764+wCUGop5CPL1WGdD0ocPpu91lzPGbwWMECpEpd42kJGQwzRfyov9j4yNg==", + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "mdast-util-gfm": "^3.0.0", + "micromark-extension-gfm": "^3.0.0", + "remark-parse": "^11.0.0", + "remark-stringify": "^11.0.0", + "unified": "^11.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/remark-math": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/remark-math/-/remark-math-6.0.0.tgz", + "integrity": "sha512-MMqgnP74Igy+S3WwnhQ7kqGlEerTETXMvJhrUzDikVZ2/uogJCb+WHUg97hK9/jcfc0dkD73s3LN8zU49cTEtA==", + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "mdast-util-math": "^3.0.0", + "micromark-extension-math": "^3.0.0", + "unified": "^11.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/remark-parse": { + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/remark-parse/-/remark-parse-11.0.0.tgz", + "integrity": "sha512-FCxlKLNGknS5ba/1lmpYijMUzX2esxW5xQqjWxw2eHFfS2MSdaHVINFmhjo+qN1WhZhNimq0dZATN9pH0IDrpA==", + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "mdast-util-from-markdown": "^2.0.0", + "micromark-util-types": "^2.0.0", + "unified": "^11.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/remark-rehype": { + "version": "11.1.2", + "resolved": "https://registry.npmjs.org/remark-rehype/-/remark-rehype-11.1.2.tgz", + "integrity": "sha512-Dh7l57ianaEoIpzbp0PC9UKAdCSVklD8E5Rpw7ETfbTl3FqcOOgq5q2LVDhgGCkaBv7p24JXikPdvhhmHvKMsw==", + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0", + "@types/mdast": "^4.0.0", + "mdast-util-to-hast": "^13.0.0", + "unified": "^11.0.0", + "vfile": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/remark-stringify": { + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/remark-stringify/-/remark-stringify-11.0.0.tgz", + "integrity": "sha512-1OSmLd3awB/t8qdoEOMazZkNsfVTeY4fTsgzcQFdXNq8ToTN4ZGwrMnlda4K6smTFKD+GRV6O48i6Z4iKgPPpw==", + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "mdast-util-to-markdown": "^2.0.0", + "unified": "^11.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/requires-port": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz", + "integrity": "sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/resolve": { + "version": "1.22.8", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", + "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", + "license": "MIT", + "dependencies": { + "is-core-module": "^2.13.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + }, + "bin": { + "resolve": "bin/resolve" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/reusify": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", + "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", + "license": "MIT", + "engines": { + "iojs": ">=1.0.0", + "node": ">=0.10.0" + } + }, + "node_modules/rollup": { + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.24.0.tgz", + "integrity": "sha512-DOmrlGSXNk1DM0ljiQA+i+o0rSLhtii1je5wgk60j49d1jHT5YYttBv1iWOnYSTG+fZZESUOSNiAl89SIet+Cg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree": "1.0.6" + }, + "bin": { + "rollup": "dist/bin/rollup" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.0.0" + }, + "optionalDependencies": { + "@rollup/rollup-android-arm-eabi": "4.24.0", + "@rollup/rollup-android-arm64": "4.24.0", + "@rollup/rollup-darwin-arm64": "4.24.0", + "@rollup/rollup-darwin-x64": "4.24.0", + "@rollup/rollup-linux-arm-gnueabihf": "4.24.0", + "@rollup/rollup-linux-arm-musleabihf": "4.24.0", + "@rollup/rollup-linux-arm64-gnu": "4.24.0", + "@rollup/rollup-linux-arm64-musl": "4.24.0", + "@rollup/rollup-linux-powerpc64le-gnu": "4.24.0", + "@rollup/rollup-linux-riscv64-gnu": "4.24.0", + "@rollup/rollup-linux-s390x-gnu": "4.24.0", + "@rollup/rollup-linux-x64-gnu": "4.24.0", + "@rollup/rollup-linux-x64-musl": "4.24.0", + "@rollup/rollup-win32-arm64-msvc": "4.24.0", + "@rollup/rollup-win32-ia32-msvc": "4.24.0", + "@rollup/rollup-win32-x64-msvc": "4.24.0", + "fsevents": "~2.3.2" + } + }, + "node_modules/run-parallel": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", + "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "queue-microtask": "^1.2.2" + } + }, + "node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "license": "MIT" + }, + "node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", + "dev": true, + "license": "MIT" + }, + "node_modules/saxes": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/saxes/-/saxes-6.0.0.tgz", + "integrity": "sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA==", + "dev": true, + "license": "ISC", + "dependencies": { + "xmlchars": "^2.2.0" + }, + "engines": { + "node": ">=v12.22.7" + } + }, + "node_modules/scheduler": { + "version": "0.23.2", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz", + "integrity": "sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==", + "license": "MIT", + "dependencies": { + "loose-envify": "^1.1.0" + } + }, + "node_modules/semver": { + "version": "7.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", + "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/setimmediate": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", + "integrity": "sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==", + "license": "MIT" + }, + "node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "license": "MIT", + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/siginfo": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/siginfo/-/siginfo-2.0.0.tgz", + "integrity": "sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==", + "dev": true, + "license": "ISC" + }, + "node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "license": "ISC", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/sonner": { + "version": "1.7.4", + "resolved": "https://registry.npmjs.org/sonner/-/sonner-1.7.4.tgz", + "integrity": "sha512-DIS8z4PfJRbIyfVFDVnK9rO3eYDtse4Omcm6bt0oEr5/jtLgysmjuBl1frJ9E/EQZrFmKx2A8m/s5s9CRXIzhw==", + "license": "MIT", + "peerDependencies": { + "react": "^18.0.0 || ^19.0.0 || ^19.0.0-rc", + "react-dom": "^18.0.0 || ^19.0.0 || ^19.0.0-rc" + } + }, + "node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, + "license": "BSD-3-Clause", + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/source-map-js": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", + "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/space-separated-tokens": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/space-separated-tokens/-/space-separated-tokens-2.0.2.tgz", + "integrity": "sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/sprintf-js": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", + "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", + "license": "BSD-3-Clause" + }, + "node_modules/stackback": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/stackback/-/stackback-0.0.2.tgz", + "integrity": "sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==", + "dev": true, + "license": "MIT" + }, + "node_modules/std-env": { + "version": "3.10.0", + "resolved": "https://registry.npmjs.org/std-env/-/std-env-3.10.0.tgz", + "integrity": "sha512-5GS12FdOZNliM5mAOxFRg7Ir0pWz8MdpYm6AY6VPkGpbA7ZzmbzNcBJQ0GPvvyWgcY7QAhCgf9Uy89I03faLkg==", + "dev": true, + "license": "MIT" + }, + "node_modules/string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, + "node_modules/string-width": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "license": "MIT", + "dependencies": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/string-width-cjs": { + "name": "string-width", + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/string-width-cjs/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/string-width-cjs/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "license": "MIT" + }, + "node_modules/string-width-cjs/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/stringify-entities": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/stringify-entities/-/stringify-entities-4.0.4.tgz", + "integrity": "sha512-IwfBptatlO+QCJUo19AqvrPNqlVMpW9YEL2LIVY+Rpv2qsjCGxaDLNRgeGsQWJhfItebuJhsGSLjaBbNSQ+ieg==", + "license": "MIT", + "dependencies": { + "character-entities-html4": "^2.0.0", + "character-entities-legacy": "^3.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "license": "MIT", + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, + "node_modules/strip-ansi-cjs": { + "name": "strip-ansi", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi-cjs/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-indent": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz", + "integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "min-indent": "^1.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-json-comments": { + "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==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/strip-literal": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/strip-literal/-/strip-literal-3.1.0.tgz", + "integrity": "sha512-8r3mkIM/2+PpjHoOtiAW8Rg3jJLHaV7xPwG+YRGrv6FP0wwk/toTpATxWYOW0BKdWwl82VT2tFYi5DlROa0Mxg==", + "dev": true, + "license": "MIT", + "dependencies": { + "js-tokens": "^9.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/antfu" + } + }, + "node_modules/strip-literal/node_modules/js-tokens": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-9.0.1.tgz", + "integrity": "sha512-mxa9E9ITFOt0ban3j6L5MpjwegGz6lBQmM1IJkWeBZGcMxto50+eWdjC/52xDbS2vy0k7vIMK0Fe2wfL9OQSpQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/style-to-js": { + "version": "1.1.21", + "resolved": "https://registry.npmjs.org/style-to-js/-/style-to-js-1.1.21.tgz", + "integrity": "sha512-RjQetxJrrUJLQPHbLku6U/ocGtzyjbJMP9lCNK7Ag0CNh690nSH8woqWH9u16nMjYBAok+i7JO1NP2pOy8IsPQ==", + "license": "MIT", + "dependencies": { + "style-to-object": "1.0.14" + } + }, + "node_modules/style-to-object": { + "version": "1.0.14", + "resolved": "https://registry.npmjs.org/style-to-object/-/style-to-object-1.0.14.tgz", + "integrity": "sha512-LIN7rULI0jBscWQYaSswptyderlarFkjQ+t79nzty8tcIAceVomEVlLzH5VP4Cmsv6MtKhs7qaAiwlcp+Mgaxw==", + "license": "MIT", + "dependencies": { + "inline-style-parser": "0.2.7" + } + }, + "node_modules/sucrase": { + "version": "3.35.0", + "resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.35.0.tgz", + "integrity": "sha512-8EbVDiu9iN/nESwxeSxDKe0dunta1GOlHufmSSXxMD2z2/tMZpDMpvXQGsc+ajGo8y2uYUmixaSRUc/QPoQ0GA==", + "license": "MIT", + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.2", + "commander": "^4.0.0", + "glob": "^10.3.10", + "lines-and-columns": "^1.1.6", + "mz": "^2.7.0", + "pirates": "^4.0.1", + "ts-interface-checker": "^0.1.9" + }, + "bin": { + "sucrase": "bin/sucrase", + "sucrase-node": "bin/sucrase-node" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/supports-preserve-symlinks-flag": { + "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==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/symbol-tree": { + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz", + "integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==", + "dev": true, + "license": "MIT" + }, + "node_modules/tailwind-merge": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/tailwind-merge/-/tailwind-merge-2.6.0.tgz", + "integrity": "sha512-P+Vu1qXfzediirmHOC3xKGAYeZtPcV9g76X+xg2FD4tYgR71ewMA35Y3sCz3zhiN/dwefRpJX0yBcgwi1fXNQA==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/dcastil" + } + }, + "node_modules/tailwindcss": { + "version": "3.4.17", + "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.17.tgz", + "integrity": "sha512-w33E2aCvSDP0tW9RZuNXadXlkHXqFzSkQew/aIa2i/Sj8fThxwovwlXHSPXTbAHwEIhBFXAedUhP2tueAKP8Og==", + "license": "MIT", + "dependencies": { + "@alloc/quick-lru": "^5.2.0", + "arg": "^5.0.2", + "chokidar": "^3.6.0", + "didyoumean": "^1.2.2", + "dlv": "^1.1.3", + "fast-glob": "^3.3.2", + "glob-parent": "^6.0.2", + "is-glob": "^4.0.3", + "jiti": "^1.21.6", + "lilconfig": "^3.1.3", + "micromatch": "^4.0.8", + "normalize-path": "^3.0.0", + "object-hash": "^3.0.0", + "picocolors": "^1.1.1", + "postcss": "^8.4.47", + "postcss-import": "^15.1.0", + "postcss-js": "^4.0.1", + "postcss-load-config": "^4.0.2", + "postcss-nested": "^6.2.0", + "postcss-selector-parser": "^6.1.2", + "resolve": "^1.22.8", + "sucrase": "^3.35.0" + }, + "bin": { + "tailwind": "lib/cli.js", + "tailwindcss": "lib/cli.js" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/tailwindcss-animate": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/tailwindcss-animate/-/tailwindcss-animate-1.0.7.tgz", + "integrity": "sha512-bl6mpH3T7I3UFxuvDEXLxy/VuFxBk5bbzplh7tXI68mwMokNYd1t9qPBHlnyTwfa4JGC4zP516I1hYYtQ/vspA==", + "license": "MIT", + "peerDependencies": { + "tailwindcss": ">=3.0.0 || insiders" + } + }, + "node_modules/tesseract.js": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/tesseract.js/-/tesseract.js-7.0.0.tgz", + "integrity": "sha512-exPBkd+z+wM1BuMkx/Bjv43OeLBxhL5kKWsz/9JY+DXcXdiBjiAch0V49QR3oAJqCaL5qURE0vx9Eo+G5YE7mA==", + "hasInstallScript": true, + "license": "Apache-2.0", + "dependencies": { + "bmp-js": "^0.1.0", + "idb-keyval": "^6.2.0", + "is-url": "^1.2.4", + "node-fetch": "^2.6.9", + "opencollective-postinstall": "^2.0.3", + "regenerator-runtime": "^0.13.3", + "tesseract.js-core": "^7.0.0", + "wasm-feature-detect": "^1.8.0", + "zlibjs": "^0.3.1" + } + }, + "node_modules/tesseract.js-core": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/tesseract.js-core/-/tesseract.js-core-7.0.0.tgz", + "integrity": "sha512-WnNH518NzmbSq9zgTPeoF8c+xmilS8rFIl1YKbk/ptuuc7p6cLNELNuPAzcmsYw450ca6bLa8j3t0VAtq435Vw==", + "license": "Apache-2.0" + }, + "node_modules/thenify": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz", + "integrity": "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==", + "license": "MIT", + "dependencies": { + "any-promise": "^1.0.0" + } + }, + "node_modules/thenify-all": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz", + "integrity": "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==", + "license": "MIT", + "dependencies": { + "thenify": ">= 3.1.0 < 4" + }, + "engines": { + "node": ">=0.8" + } + }, + "node_modules/tiny-invariant": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.3.3.tgz", + "integrity": "sha512-+FbBPE1o9QAYvviau/qC5SE3caw21q3xkvWKBtja5vgqOWIHHJ3ioaq1VPfn/Szqctz2bU/oYeKd9/z5BL+PVg==", + "license": "MIT" + }, + "node_modules/tinybench": { + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/tinybench/-/tinybench-2.9.0.tgz", + "integrity": "sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==", + "dev": true, + "license": "MIT" + }, + "node_modules/tinyexec": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-0.3.2.tgz", + "integrity": "sha512-KQQR9yN7R5+OSwaK0XQoj22pwHoTlgYqmUscPYoknOoWCWfj/5/ABTMRi69FrKU5ffPVh5QcFikpWJI/P1ocHA==", + "dev": true, + "license": "MIT" + }, + "node_modules/tinyglobby": { + "version": "0.2.16", + "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.16.tgz", + "integrity": "sha512-pn99VhoACYR8nFHhxqix+uvsbXineAasWm5ojXoN8xEwK5Kd3/TrhNn1wByuD52UxWRLy8pu+kRMniEi6Eq9Zg==", + "dev": true, + "license": "MIT", + "dependencies": { + "fdir": "^6.5.0", + "picomatch": "^4.0.4" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/SuperchupuDev" + } + }, + "node_modules/tinyglobby/node_modules/fdir": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", + "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "picomatch": "^3 || ^4" + }, + "peerDependenciesMeta": { + "picomatch": { + "optional": true + } + } + }, + "node_modules/tinyglobby/node_modules/picomatch": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.4.tgz", + "integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/tinypool": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/tinypool/-/tinypool-1.1.1.tgz", + "integrity": "sha512-Zba82s87IFq9A9XmjiX5uZA/ARWDrB03OHlq+Vw1fSdt0I+4/Kutwy8BP4Y/y/aORMo61FQ0vIb5j44vSo5Pkg==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^18.0.0 || >=20.0.0" + } + }, + "node_modules/tinyrainbow": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/tinyrainbow/-/tinyrainbow-2.0.0.tgz", + "integrity": "sha512-op4nsTR47R6p0vMUUoYl/a+ljLFVtlfaXkLQmqfLR1qHma1h/ysYk4hEXZ880bf2CYgTskvTa/e196Vd5dDQXw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/tinyspy": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/tinyspy/-/tinyspy-4.0.4.tgz", + "integrity": "sha512-azl+t0z7pw/z958Gy9svOTuzqIk6xq+NSheJzn5MMWtWTFywIacg2wUlzKFGtt3cthx0r2SxMK0yzJOR0IES7Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/to-regex-range": { + "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==", + "license": "MIT", + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/tough-cookie": { + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.1.4.tgz", + "integrity": "sha512-Loo5UUvLD9ScZ6jh8beX1T6sO1w2/MpCRpEP7V280GKMVUQ0Jzar2U3UJPsrdbziLEMMhu3Ujnq//rhiFuIeag==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "psl": "^1.1.33", + "punycode": "^2.1.1", + "universalify": "^0.2.0", + "url-parse": "^1.5.3" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/tr46": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-3.0.0.tgz", + "integrity": "sha512-l7FvfAHlcmulp8kr+flpQZmVwtu7nfRV7NZujtN0OqES8EL4O4e0qqzL0DC5gAvx/ZC/9lk6rhcUwYvkBnBnYA==", + "dev": true, + "license": "MIT", + "dependencies": { + "punycode": "^2.1.1" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/trim-lines": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/trim-lines/-/trim-lines-3.0.1.tgz", + "integrity": "sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/trough": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/trough/-/trough-2.2.0.tgz", + "integrity": "sha512-tmMpK00BjZiUyVyvrBK7knerNgmgvcV/KLVyuma/SC+TQN167GrMRciANTz09+k3zW8L8t60jWO1GpfkZdjTaw==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/ts-api-utils": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.1.0.tgz", + "integrity": "sha512-CUgTZL1irw8u29bzrOD/nH85jqyc74D6SshFgujOIA7osm2Rz7dYH77agkx7H4FBNxDq7Cjf+IjaX/8zwFW+ZQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18.12" + }, + "peerDependencies": { + "typescript": ">=4.8.4" + } + }, + "node_modules/ts-interface-checker": { + "version": "0.1.13", + "resolved": "https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz", + "integrity": "sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==", + "license": "Apache-2.0" + }, + "node_modules/tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "license": "0BSD" + }, + "node_modules/type-check": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", + "dev": true, + "license": "MIT", + "dependencies": { + "prelude-ls": "^1.2.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/typescript": { + "version": "5.8.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.3.tgz", + "integrity": "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, + "node_modules/typescript-eslint": { + "version": "8.38.0", + "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.38.0.tgz", + "integrity": "sha512-FsZlrYK6bPDGoLeZRuvx2v6qrM03I0U0SnfCLPs/XCCPCFD80xU9Pg09H/K+XFa68uJuZo7l/Xhs+eDRg2l3hg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/eslint-plugin": "8.38.0", + "@typescript-eslint/parser": "8.38.0", + "@typescript-eslint/typescript-estree": "8.38.0", + "@typescript-eslint/utils": "8.38.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0", + "typescript": ">=4.8.4 <5.9.0" + } + }, + "node_modules/underscore": { + "version": "1.13.8", + "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.13.8.tgz", + "integrity": "sha512-DXtD3ZtEQzc7M8m4cXotyHR+FAS18C64asBYY5vqZexfYryNNnDc02W4hKg3rdQuqOYas1jkseX0+nZXjTXnvQ==", + "license": "MIT" + }, + "node_modules/undici-types": { + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz", + "integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==", + "license": "MIT" + }, + "node_modules/unified": { + "version": "11.0.5", + "resolved": "https://registry.npmjs.org/unified/-/unified-11.0.5.tgz", + "integrity": "sha512-xKvGhPWw3k84Qjh8bI3ZeJjqnyadK+GEFtazSfZv/rKeTkTjOJho6mFqh2SM96iIcZokxiOpg78GazTSg8+KHA==", + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0", + "bail": "^2.0.0", + "devlop": "^1.0.0", + "extend": "^3.0.0", + "is-plain-obj": "^4.0.0", + "trough": "^2.0.0", + "vfile": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-find-after": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/unist-util-find-after/-/unist-util-find-after-5.0.0.tgz", + "integrity": "sha512-amQa0Ep2m6hE2g72AugUItjbuM8X8cGQnFoHk0pGfrFeT9GZhzN5SW8nRsiGKK7Aif4CrACPENkA6P/Lw6fHGQ==", + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0", + "unist-util-is": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-is": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-6.0.1.tgz", + "integrity": "sha512-LsiILbtBETkDz8I9p1dQ0uyRUWuaQzd/cuEeS1hoRSyW5E5XGmTzlwY1OrNzzakGowI9Dr/I8HVaw4hTtnxy8g==", + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-position": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/unist-util-position/-/unist-util-position-5.0.0.tgz", + "integrity": "sha512-fucsC7HjXvkB5R3kTCO7kUjRdrS0BJt3M/FPxmHMBOm8JQi2BsHAHFsy27E0EolP8rp0NzXsJ+jNPyDWvOJZPA==", + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-remove-position": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/unist-util-remove-position/-/unist-util-remove-position-5.0.0.tgz", + "integrity": "sha512-Hp5Kh3wLxv0PHj9m2yZhhLt58KzPtEYKQQ4yxfYFEO7EvHwzyDYnduhHnY1mDxoqr7VUwVuHXk9RXKIiYS1N8Q==", + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0", + "unist-util-visit": "^5.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-stringify-position": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-4.0.0.tgz", + "integrity": "sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ==", + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-visit": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-5.1.0.tgz", + "integrity": "sha512-m+vIdyeCOpdr/QeQCu2EzxX/ohgS8KbnPDgFni4dQsfSCtpz8UqDyY5GjRru8PDKuYn7Fq19j1CQ+nJSsGKOzg==", + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0", + "unist-util-is": "^6.0.0", + "unist-util-visit-parents": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-visit-parents": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-6.0.2.tgz", + "integrity": "sha512-goh1s1TBrqSqukSc8wrjwWhL0hiJxgA8m4kFxGlQ+8FYQ3C/m11FcTs4YYem7V664AhHVvgoQLk890Ssdsr2IQ==", + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0", + "unist-util-is": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/universalify": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.2.0.tgz", + "integrity": "sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, + "node_modules/unpdf": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/unpdf/-/unpdf-1.6.0.tgz", + "integrity": "sha512-DsjbuDe6PDbZzGvAP40QQp0xskrXP3Tm3fd/FLkGObL00Icr7cc28QgrPHYg+6B1lMWydgXwDXauIv5CGyXudA==", + "license": "MIT", + "peerDependencies": { + "@napi-rs/canvas": "^0.1.69" + }, + "peerDependenciesMeta": { + "@napi-rs/canvas": { + "optional": true + } + } + }, + "node_modules/update-browserslist-db": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.3.tgz", + "integrity": "sha512-UxhIZQ+QInVdunkDAaiazvvT/+fXL5Osr0JZlJulepYu6Jd7qJtDZjlur0emRlT71EN3ScPoE7gvsuIKKNavKw==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "escalade": "^3.2.0", + "picocolors": "^1.1.1" + }, + "bin": { + "update-browserslist-db": "cli.js" + }, + "peerDependencies": { + "browserslist": ">= 4.21.0" + } + }, + "node_modules/uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "punycode": "^2.1.0" + } + }, + "node_modules/url-parse": { + "version": "1.5.10", + "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.10.tgz", + "integrity": "sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "querystringify": "^2.1.1", + "requires-port": "^1.0.0" + } + }, + "node_modules/use-callback-ref": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/use-callback-ref/-/use-callback-ref-1.3.3.tgz", + "integrity": "sha512-jQL3lRnocaFtu3V00JToYz/4QkNWswxijDaCVNZRiRTO3HQDLsdu1ZtmIUvV4yPp+rvWm5j0y0TG/S61cuijTg==", + "license": "MIT", + "dependencies": { + "tslib": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/use-sidecar": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/use-sidecar/-/use-sidecar-1.1.3.tgz", + "integrity": "sha512-Fedw0aZvkhynoPYlA5WXrMCAMm+nSWdZt6lzJQ7Ok8S6Q+VsHmHpRWndVRJ8Be0ZbkfPc5LRYH+5XrzXcEeLRQ==", + "license": "MIT", + "dependencies": { + "detect-node-es": "^1.1.0", + "tslib": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/use-sync-external-store": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.5.0.tgz", + "integrity": "sha512-Rb46I4cGGVBmjamjphe8L/UnvJD+uPPtTkNvX5mZgqdbavhI4EbgIWJiIHXJ8bc/i9EQGPRh4DwEURJ552Do0A==", + "license": "MIT", + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" + } + }, + "node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", + "license": "MIT" + }, + "node_modules/vaul": { + "version": "0.9.9", + "resolved": "https://registry.npmjs.org/vaul/-/vaul-0.9.9.tgz", + "integrity": "sha512-7afKg48srluhZwIkaU+lgGtFCUsYBSGOl8vcc8N/M3YQlZFlynHD15AE+pwrYdc826o7nrIND4lL9Y6b9WWZZQ==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-dialog": "^1.1.1" + }, + "peerDependencies": { + "react": "^16.8 || ^17.0 || ^18.0", + "react-dom": "^16.8 || ^17.0 || ^18.0" + } + }, + "node_modules/vfile": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/vfile/-/vfile-6.0.3.tgz", + "integrity": "sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==", + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0", + "vfile-message": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/vfile-location": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/vfile-location/-/vfile-location-5.0.3.tgz", + "integrity": "sha512-5yXvWDEgqeiYiBe1lbxYF7UMAIm/IcopxMHrMQDq3nvKcjPKIhZklUKL+AE7J7uApI4kwe2snsK+eI6UTj9EHg==", + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0", + "vfile": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/vfile-message": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-4.0.3.tgz", + "integrity": "sha512-QTHzsGd1EhbZs4AsQ20JX1rC3cOlt/IWJruk893DfLRr57lcnOeMaWG4K0JrRta4mIJZKth2Au3mM3u03/JWKw==", + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0", + "unist-util-stringify-position": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/victory-vendor": { + "version": "36.9.2", + "resolved": "https://registry.npmjs.org/victory-vendor/-/victory-vendor-36.9.2.tgz", + "integrity": "sha512-PnpQQMuxlwYdocC8fIJqVXvkeViHYzotI+NJrCuav0ZYFoq912ZHBk3mCeuj+5/VpodOjPe1z0Fk2ihgzlXqjQ==", + "license": "MIT AND ISC", + "dependencies": { + "@types/d3-array": "^3.0.3", + "@types/d3-ease": "^3.0.0", + "@types/d3-interpolate": "^3.0.1", + "@types/d3-scale": "^4.0.2", + "@types/d3-shape": "^3.1.0", + "@types/d3-time": "^3.0.0", + "@types/d3-timer": "^3.0.0", + "d3-array": "^3.1.6", + "d3-ease": "^3.0.1", + "d3-interpolate": "^3.0.1", + "d3-scale": "^4.0.2", + "d3-shape": "^3.1.0", + "d3-time": "^3.0.0", + "d3-timer": "^3.0.1" + } + }, + "node_modules/vite": { + "version": "5.4.19", + "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.19.tgz", + "integrity": "sha512-qO3aKv3HoQC8QKiNSTuUM1l9o/XX3+c+VTgLHbJWHZGeTPVAg2XwazI9UWzoxjIJCGCV2zU60uqMzjeLZuULqA==", + "dev": true, + "license": "MIT", + "dependencies": { + "esbuild": "^0.21.3", + "postcss": "^8.4.43", + "rollup": "^4.20.0" + }, + "bin": { + "vite": "bin/vite.js" + }, + "engines": { + "node": "^18.0.0 || >=20.0.0" + }, + "funding": { + "url": "https://github.com/vitejs/vite?sponsor=1" + }, + "optionalDependencies": { + "fsevents": "~2.3.3" + }, + "peerDependencies": { + "@types/node": "^18.0.0 || >=20.0.0", + "less": "*", + "lightningcss": "^1.21.0", + "sass": "*", + "sass-embedded": "*", + "stylus": "*", + "sugarss": "*", + "terser": "^5.4.0" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "less": { + "optional": true + }, + "lightningcss": { + "optional": true + }, + "sass": { + "optional": true + }, + "sass-embedded": { + "optional": true + }, + "stylus": { + "optional": true + }, + "sugarss": { + "optional": true + }, + "terser": { + "optional": true + } + } + }, + "node_modules/vite-node": { + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/vite-node/-/vite-node-3.2.4.tgz", + "integrity": "sha512-EbKSKh+bh1E1IFxeO0pg1n4dvoOTt0UDiXMd/qn++r98+jPO1xtJilvXldeuQ8giIB5IkpjCgMleHMNEsGH6pg==", + "dev": true, + "license": "MIT", + "dependencies": { + "cac": "^6.7.14", + "debug": "^4.4.1", + "es-module-lexer": "^1.7.0", + "pathe": "^2.0.3", + "vite": "^5.0.0 || ^6.0.0 || ^7.0.0-0" + }, + "bin": { + "vite-node": "vite-node.mjs" + }, + "engines": { + "node": "^18.0.0 || ^20.0.0 || >=22.0.0" + }, + "funding": { + "url": "https://opencollective.com/vitest" + } + }, + "node_modules/vitest": { + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/vitest/-/vitest-3.2.4.tgz", + "integrity": "sha512-LUCP5ev3GURDysTWiP47wRRUpLKMOfPh+yKTx3kVIEiu5KOMeqzpnYNsKyOoVrULivR8tLcks4+lga33Whn90A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/chai": "^5.2.2", + "@vitest/expect": "3.2.4", + "@vitest/mocker": "3.2.4", + "@vitest/pretty-format": "^3.2.4", + "@vitest/runner": "3.2.4", + "@vitest/snapshot": "3.2.4", + "@vitest/spy": "3.2.4", + "@vitest/utils": "3.2.4", + "chai": "^5.2.0", + "debug": "^4.4.1", + "expect-type": "^1.2.1", + "magic-string": "^0.30.17", + "pathe": "^2.0.3", + "picomatch": "^4.0.2", + "std-env": "^3.9.0", + "tinybench": "^2.9.0", + "tinyexec": "^0.3.2", + "tinyglobby": "^0.2.14", + "tinypool": "^1.1.1", + "tinyrainbow": "^2.0.0", + "vite": "^5.0.0 || ^6.0.0 || ^7.0.0-0", + "vite-node": "3.2.4", + "why-is-node-running": "^2.3.0" + }, + "bin": { + "vitest": "vitest.mjs" + }, + "engines": { + "node": "^18.0.0 || ^20.0.0 || >=22.0.0" + }, + "funding": { + "url": "https://opencollective.com/vitest" + }, + "peerDependencies": { + "@edge-runtime/vm": "*", + "@types/debug": "^4.1.12", + "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0", + "@vitest/browser": "3.2.4", + "@vitest/ui": "3.2.4", + "happy-dom": "*", + "jsdom": "*" + }, + "peerDependenciesMeta": { + "@edge-runtime/vm": { + "optional": true + }, + "@types/debug": { + "optional": true + }, + "@types/node": { + "optional": true + }, + "@vitest/browser": { + "optional": true + }, + "@vitest/ui": { + "optional": true + }, + "happy-dom": { + "optional": true + }, + "jsdom": { + "optional": true + } + } + }, + "node_modules/vitest/node_modules/picomatch": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.4.tgz", + "integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/w3c-xmlserializer": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/w3c-xmlserializer/-/w3c-xmlserializer-4.0.0.tgz", + "integrity": "sha512-d+BFHzbiCx6zGfz0HyQ6Rg69w9k19nviJspaj4yNscGjrHu94sVP+aRm75yEbCh+r2/yR+7q6hux9LVtbuTGBw==", + "dev": true, + "license": "MIT", + "dependencies": { + "xml-name-validator": "^4.0.0" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/wasm-feature-detect": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/wasm-feature-detect/-/wasm-feature-detect-1.8.0.tgz", + "integrity": "sha512-zksaLKM2fVlnB5jQQDqKXXwYHLQUVH9es+5TOOHwGOVJOCeRBCiPjwSg+3tN2AdTCzjgli4jijCH290kXb/zWQ==", + "license": "Apache-2.0" + }, + "node_modules/web-namespaces": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/web-namespaces/-/web-namespaces-2.0.1.tgz", + "integrity": "sha512-bKr1DkiNa2krS7qxNtdrtHAmzuYGFQLiQ13TsorsdT6ULTkPLKuu5+GsFpDlg6JFjUTwX2DyhMPG2be8uPrqsQ==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/webidl-conversions": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-7.0.0.tgz", + "integrity": "sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=12" + } + }, + "node_modules/whatwg-encoding": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-2.0.0.tgz", + "integrity": "sha512-p41ogyeMUrw3jWclHWTQg1k05DSVXPLcVxRTYsXUk+ZooOCZLcoYgPZ/HL/D/N+uQPOtcp1me1WhBEaX02mhWg==", + "deprecated": "Use @exodus/bytes instead for a more spec-conformant and faster implementation", + "dev": true, + "license": "MIT", + "dependencies": { + "iconv-lite": "0.6.3" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/whatwg-mimetype": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-3.0.0.tgz", + "integrity": "sha512-nt+N2dzIutVRxARx1nghPKGv1xHikU7HKdfafKkLNLindmPU/ch3U31NOCGGA/dmPcmb1VlofO0vnKAcsm0o/Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + } + }, + "node_modules/whatwg-url": { + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-11.0.0.tgz", + "integrity": "sha512-RKT8HExMpoYx4igMiVMY83lN6UeITKJlBQ+vR/8ZJ8OCdSiN3RwCq+9gH0+Xzj0+5IrM6i4j/6LuvzbZIQgEcQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "tr46": "^3.0.0", + "webidl-conversions": "^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/why-is-node-running": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/why-is-node-running/-/why-is-node-running-2.3.0.tgz", + "integrity": "sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w==", + "dev": true, + "license": "MIT", + "dependencies": { + "siginfo": "^2.0.0", + "stackback": "0.0.2" + }, + "bin": { + "why-is-node-running": "cli.js" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/word-wrap": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", + "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/wrap-ansi": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", + "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", + "license": "MIT", + "dependencies": { + "ansi-styles": "^6.1.0", + "string-width": "^5.0.1", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs": { + "name": "wrap-ansi", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "license": "MIT" + }, + "node_modules/wrap-ansi-cjs/node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi/node_modules/ansi-styles": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", + "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/ws": { + "version": "8.20.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.20.0.tgz", + "integrity": "sha512-sAt8BhgNbzCtgGbt2OxmpuryO63ZoDk/sqaB/znQm94T4fCEsy/yV+7CdC1kJhOU9lboAEU7R3kquuycDoibVA==", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": ">=5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "node_modules/xml-name-validator": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-4.0.0.tgz", + "integrity": "sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=12" + } + }, + "node_modules/xmlbuilder": { + "version": "10.1.1", + "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-10.1.1.tgz", + "integrity": "sha512-OyzrcFLL/nb6fMGHbiRDuPup9ljBycsdCypwuyg5AAHvyWzGfChJpCXMG88AGTIMFhGZ9RccFN1e6lhg3hkwKg==", + "license": "MIT", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/xmlchars": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/xmlchars/-/xmlchars-2.2.0.tgz", + "integrity": "sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==", + "dev": true, + "license": "MIT" + }, + "node_modules/yaml": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.6.0.tgz", + "integrity": "sha512-a6ae//JvKDEra2kdi1qzCyrJW/WZCgFi8ydDV+eXExl95t+5R+ijnqHJbz9tmMh8FUjx3iv2fCQ4dclAQlO2UQ==", + "license": "ISC", + "bin": { + "yaml": "bin.mjs" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/zlibjs": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/zlibjs/-/zlibjs-0.3.1.tgz", + "integrity": "sha512-+J9RrgTKOmlxFSDHo0pI1xM6BLVUv+o0ZT9ANtCxGkjIVCCUdx9alUF8Gm+dGLKbkkkidWIHFDZHDMpfITt4+w==", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "node_modules/zod": { + "version": "3.25.76", + "resolved": "https://registry.npmjs.org/zod/-/zod-3.25.76.tgz", + "integrity": "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/colinhacks" + } + }, + "node_modules/zustand": { + "version": "5.0.12", + "resolved": "https://registry.npmjs.org/zustand/-/zustand-5.0.12.tgz", + "integrity": "sha512-i77ae3aZq4dhMlRhJVCYgMLKuSiZAaUPAct2AksxQ+gOtimhGMdXljRT21P5BNpeT4kXlLIckvkPM029OljD7g==", + "license": "MIT", + "engines": { + "node": ">=12.20.0" + }, + "peerDependencies": { + "@types/react": ">=18.0.0", + "immer": ">=9.0.6", + "react": ">=18.0.0", + "use-sync-external-store": ">=1.2.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "immer": { + "optional": true + }, + "react": { + "optional": true + }, + "use-sync-external-store": { + "optional": true + } + } + }, + "node_modules/zwitch": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/zwitch/-/zwitch-2.0.4.tgz", + "integrity": "sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000000000000000000000000000000000000..866689988950a6725b08010c62baf405a16a4284 --- /dev/null +++ b/package.json @@ -0,0 +1,101 @@ +{ + "name": "vite_react_shadcn_ts", + "private": true, + "version": "0.0.0", + "type": "module", + "scripts": { + "dev": "vite", + "build": "vite build", + "build:dev": "vite build --mode development", + "lint": "eslint .", + "preview": "vite preview", + "test": "vitest run", + "test:watch": "vitest" + }, + "dependencies": { + "@hookform/resolvers": "^3.10.0", + "@radix-ui/react-accordion": "^1.2.11", + "@radix-ui/react-alert-dialog": "^1.1.14", + "@radix-ui/react-aspect-ratio": "^1.1.7", + "@radix-ui/react-avatar": "^1.1.10", + "@radix-ui/react-checkbox": "^1.3.2", + "@radix-ui/react-collapsible": "^1.1.11", + "@radix-ui/react-context-menu": "^2.2.15", + "@radix-ui/react-dialog": "^1.1.14", + "@radix-ui/react-dropdown-menu": "^2.1.15", + "@radix-ui/react-hover-card": "^1.1.14", + "@radix-ui/react-label": "^2.1.7", + "@radix-ui/react-menubar": "^1.1.15", + "@radix-ui/react-navigation-menu": "^1.2.13", + "@radix-ui/react-popover": "^1.1.14", + "@radix-ui/react-progress": "^1.1.7", + "@radix-ui/react-radio-group": "^1.3.7", + "@radix-ui/react-scroll-area": "^1.2.9", + "@radix-ui/react-select": "^2.2.5", + "@radix-ui/react-separator": "^1.1.7", + "@radix-ui/react-slider": "^1.3.5", + "@radix-ui/react-slot": "^1.2.3", + "@radix-ui/react-switch": "^1.2.5", + "@radix-ui/react-tabs": "^1.1.12", + "@radix-ui/react-toast": "^1.2.14", + "@radix-ui/react-toggle": "^1.1.9", + "@radix-ui/react-toggle-group": "^1.1.10", + "@radix-ui/react-tooltip": "^1.2.7", + "@supabase/supabase-js": "^2.103.3", + "@tanstack/query-core": "^5.99.2", + "@tanstack/react-query": "^5.83.0", + "class-variance-authority": "^0.7.1", + "clsx": "^2.1.1", + "cmdk": "^1.1.1", + "date-fns": "^3.6.0", + "embla-carousel-react": "^8.6.0", + "input-otp": "^1.4.2", + "katex": "^0.16.45", + "lucide-react": "^0.462.0", + "mammoth": "^1.12.0", + "next-themes": "^0.3.0", + "react": "^18.3.1", + "react-day-picker": "^8.10.1", + "react-dom": "^18.3.1", + "react-dropzone": "^15.0.0", + "react-hook-form": "^7.61.1", + "react-markdown": "^10.1.0", + "react-resizable-panels": "^2.1.9", + "react-router-dom": "^6.30.1", + "recharts": "^2.15.4", + "rehype-katex": "^7.0.1", + "remark-gfm": "^4.0.1", + "remark-math": "^6.0.0", + "sonner": "^1.7.4", + "tailwind-merge": "^2.6.0", + "tailwindcss-animate": "^1.0.7", + "tesseract.js": "^7.0.0", + "unpdf": "^1.6.0", + "vaul": "^0.9.9", + "zod": "^3.25.76", + "zustand": "^5.0.12" + }, + "devDependencies": { + "@eslint/js": "^9.32.0", + "@tailwindcss/typography": "^0.5.16", + "@testing-library/jest-dom": "^6.6.0", + "@testing-library/react": "^16.0.0", + "@types/node": "^22.16.5", + "@types/react": "^18.3.23", + "@types/react-dom": "^18.3.7", + "@vitejs/plugin-react-swc": "^3.11.0", + "autoprefixer": "^10.4.21", + "eslint": "^9.32.0", + "eslint-plugin-react-hooks": "^5.2.0", + "eslint-plugin-react-refresh": "^0.4.20", + "globals": "^15.15.0", + "jsdom": "^20.0.3", + "lovable-tagger": "^1.1.13", + "postcss": "^8.5.6", + "tailwindcss": "^3.4.17", + "typescript": "^5.8.3", + "typescript-eslint": "^8.38.0", + "vite": "^5.4.19", + "vitest": "^3.2.4" + } +} diff --git a/postcss.config.js b/postcss.config.js new file mode 100644 index 0000000000000000000000000000000000000000..2aa7205d4b402a1bdfbe07110c61df920b370066 --- /dev/null +++ b/postcss.config.js @@ -0,0 +1,6 @@ +export default { + plugins: { + tailwindcss: {}, + autoprefixer: {}, + }, +}; diff --git a/public/favicon.ico b/public/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..3c01d69713f9c184e92b74f5799e6dff2f500825 Binary files /dev/null and b/public/favicon.ico differ diff --git a/public/placeholder.svg b/public/placeholder.svg new file mode 100644 index 0000000000000000000000000000000000000000..ea950def0b659458795954fccd0167aaeaf08d2f --- /dev/null +++ b/public/placeholder.svg @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/robots.txt b/public/robots.txt new file mode 100644 index 0000000000000000000000000000000000000000..6018e701fc7dd0317cda9eceea390524322e8a05 --- /dev/null +++ b/public/robots.txt @@ -0,0 +1,14 @@ +User-agent: Googlebot +Allow: / + +User-agent: Bingbot +Allow: / + +User-agent: Twitterbot +Allow: / + +User-agent: facebookexternalhit +Allow: / + +User-agent: * +Allow: / diff --git a/src/App.css b/src/App.css new file mode 100644 index 0000000000000000000000000000000000000000..b9d355df2a5956b526c004531b7b0ffe412461e0 --- /dev/null +++ b/src/App.css @@ -0,0 +1,42 @@ +#root { + max-width: 1280px; + margin: 0 auto; + padding: 2rem; + text-align: center; +} + +.logo { + height: 6em; + padding: 1.5em; + will-change: filter; + transition: filter 300ms; +} +.logo:hover { + filter: drop-shadow(0 0 2em #646cffaa); +} +.logo.react:hover { + filter: drop-shadow(0 0 2em #61dafbaa); +} + +@keyframes logo-spin { + from { + transform: rotate(0deg); + } + to { + transform: rotate(360deg); + } +} + +@media (prefers-reduced-motion: no-preference) { + a:nth-of-type(2) .logo { + animation: logo-spin infinite 20s linear; + } +} + +.card { + padding: 2em; +} + +.read-the-docs { + color: #888; +} diff --git a/src/App.tsx b/src/App.tsx new file mode 100644 index 0000000000000000000000000000000000000000..939f666480a6e67ea6114a87cfa163a7c411c3ef --- /dev/null +++ b/src/App.tsx @@ -0,0 +1,46 @@ +import { QueryClient, QueryClientProvider } from "@tanstack/react-query"; +import { BrowserRouter, Route, Routes } from "react-router-dom"; +import { Toaster as Sonner } from "@/components/ui/sonner"; +import { Toaster } from "@/components/ui/toaster"; +import { TooltipProvider } from "@/components/ui/tooltip"; +import { AuthProvider } from "@/hooks/useAuth"; +import RequireAuth from "@/components/RequireAuth"; +import Index from "./pages/Index"; +import Auth from "./pages/Auth"; +import AppHome from "./pages/AppHome"; +import AppEmpty from "./pages/AppEmpty"; +import DocumentWorkspace from "./pages/DocumentWorkspace"; +import NotFound from "./pages/NotFound"; + +const queryClient = new QueryClient(); + +const App = () => ( + + + + + + + + } /> + } /> + + + + } + > + } /> + } /> + + } /> + + + + + +); + +export default App; diff --git a/src/components/AppSidebar.tsx b/src/components/AppSidebar.tsx new file mode 100644 index 0000000000000000000000000000000000000000..1e965cb5ca894f687fc478528b46b3fa520fa354 --- /dev/null +++ b/src/components/AppSidebar.tsx @@ -0,0 +1,138 @@ +import { useEffect } from "react"; +import { Link, useNavigate, useParams } from "react-router-dom"; +import { supabase } from "@/integrations/supabase/client"; +import { useAuth } from "@/hooks/useAuth"; +import { useWorkspace, DocumentRow } from "@/store/workspace"; +import { Button } from "@/components/ui/button"; +import { Sparkles, Plus, FileText, Mic, Video, Youtube, FileType2, LogOut, Loader2 } from "lucide-react"; +import { cn } from "@/lib/utils"; +import { useToast } from "@/hooks/use-toast"; + +const sourceIcon = { + pdf: FileType2, + docx: FileType2, + text: FileText, + audio: Mic, + video: Video, + youtube: Youtube, +} as const; + +export default function AppSidebar({ onNew, onNavigate }: { onNew: () => void; onNavigate?: () => void }) { + const { user, signOut } = useAuth(); + const { documents, setDocuments, upsertDocument, removeDocument } = useWorkspace(); + const { docId } = useParams(); + const navigate = useNavigate(); + const { toast } = useToast(); + + useEffect(() => { + if (!user) return; + let mounted = true; + + (async () => { + const { data, error } = await supabase + .from("documents") + .select("id,title,source_type,status,error_code,created_at") + .order("created_at", { ascending: false }); + if (error) { + toast({ title: "Failed to load documents", description: error.message, variant: "destructive" }); + return; + } + if (mounted && data) setDocuments(data as DocumentRow[]); + })(); + + const channel = supabase + .channel("documents-sidebar") + .on( + "postgres_changes", + { event: "*", schema: "public", table: "documents", filter: `user_id=eq.${user.id}` }, + (payload) => { + if (payload.eventType === "DELETE") { + removeDocument((payload.old as any).id); + } else { + const row = payload.new as any; + upsertDocument({ + id: row.id, + title: row.title, + source_type: row.source_type, + status: row.status, + error_code: row.error_code, + created_at: row.created_at, + }); + } + } + ) + .subscribe(); + + return () => { + mounted = false; + supabase.removeChannel(channel); + }; + }, [user, setDocuments, upsertDocument, removeDocument, toast]); + + return ( + + ); +} diff --git a/src/components/ChatPanel.tsx b/src/components/ChatPanel.tsx new file mode 100644 index 0000000000000000000000000000000000000000..ac62731109e45c37e5a70c8f985b8b08b26dc552 --- /dev/null +++ b/src/components/ChatPanel.tsx @@ -0,0 +1,286 @@ +import { useEffect, useRef, useState } from "react"; +import { supabase } from "@/integrations/supabase/client"; +import { Button } from "@/components/ui/button"; +import { Textarea } from "@/components/ui/textarea"; +import { useToast } from "@/hooks/use-toast"; +import { Loader2, Send, Sparkles, BookOpen, AlertCircle } from "lucide-react"; +import MarkdownView from "@/components/MarkdownView"; +import { embedChunks, streamChat, type Citation } from "@/lib/pipeline"; +import { + Popover, PopoverContent, PopoverTrigger, +} from "@/components/ui/popover"; + +type ChatMessage = { + id: string; + role: "user" | "assistant"; + content: string; + citations?: Citation[]; + pending?: boolean; +}; + +export default function ChatPanel({ + documentId, + noteReady, +}: { documentId: string; noteReady: boolean }) { + const { toast } = useToast(); + const [messages, setMessages] = useState([]); + const [input, setInput] = useState(""); + const [sending, setSending] = useState(false); + const [chunkCount, setChunkCount] = useState(null); + const [indexing, setIndexing] = useState(false); + const scrollRef = useRef(null); + const autoIndexedRef = useRef(null); + + // Load history + chunk count on mount. + useEffect(() => { + let mounted = true; + (async () => { + const [{ data: msgs }, { count }] = await Promise.all([ + supabase + .from("chat_messages") + .select("id,role,content,created_at") + .eq("document_id", documentId) + .order("created_at"), + supabase + .from("document_chunks") + .select("id", { count: "exact", head: true }) + .eq("document_id", documentId), + ]); + if (!mounted) return; + setMessages( + (msgs ?? []).map((m) => ({ + id: m.id, + role: m.role as "user" | "assistant", + content: m.content, + })), + ); + setChunkCount(count ?? 0); + })(); + return () => { mounted = false; }; + }, [documentId]); + + // Auto-index once notes are ready. + useEffect(() => { + if (!noteReady) return; + if (chunkCount === null) return; + if (chunkCount > 0) return; + if (autoIndexedRef.current === documentId) return; + if (indexing) return; + autoIndexedRef.current = documentId; + void runIndex(); + // eslint-disable-next-line react-hooks/exhaustive-deps + }, [noteReady, chunkCount, documentId]); + + // Autoscroll on new content. + useEffect(() => { + scrollRef.current?.scrollTo({ top: scrollRef.current.scrollHeight, behavior: "smooth" }); + }, [messages]); + + const runIndex = async () => { + setIndexing(true); + try { + const r = await embedChunks(documentId); + setChunkCount(r.chunks ?? 0); + if (!r.cached) toast({ title: "Document indexed", description: `${r.chunks} passages ready for chat.` }); + } catch (e: unknown) { + const msg = e instanceof Error ? e.message : String(e); + toast({ title: "Indexing failed", description: msg, variant: "destructive" }); + } finally { + setIndexing(false); + } + }; + + const send = async () => { + const text = input.trim(); + if (!text || sending) return; + setInput(""); + const userMsg: ChatMessage = { id: crypto.randomUUID(), role: "user", content: text }; + const assistantId = crypto.randomUUID(); + const assistantMsg: ChatMessage = { id: assistantId, role: "assistant", content: "", pending: true }; + setMessages((prev) => [...prev, userMsg, assistantMsg]); + setSending(true); + + try { + await streamChat({ + documentId, + message: text, + onCitations: (cites) => { + setMessages((prev) => + prev.map((m) => (m.id === assistantId ? { ...m, citations: cites } : m)), + ); + }, + onDelta: (chunk) => { + setMessages((prev) => + prev.map((m) => + m.id === assistantId ? { ...m, content: m.content + chunk, pending: false } : m, + ), + ); + }, + }); + } catch (e: unknown) { + const msg = e instanceof Error ? e.message : String(e); + setMessages((prev) => + prev.map((m) => + m.id === assistantId + ? { ...m, content: `_Error: ${msg}_`, pending: false } + : m, + ), + ); + toast({ title: "Chat failed", description: msg, variant: "destructive" }); + } finally { + setSending(false); + } + }; + + if (!noteReady) { + return ( +
+

Chat unavailable

+

+ Generate notes first — chat needs the document to be processed. +

+
+ ); + } + + if (chunkCount === null) { + return ( +
+ +
+ ); + } + + if (chunkCount === 0) { + return ( +
+

Index this document for chat

+

+ We'll split it into searchable passages so the assistant can cite the source. +

+ +
+ ); + } + + return ( +
+
+ {messages.length === 0 && ( +
+ Ask anything about this document — answers will cite the source passages. +
+ )} + {messages.map((m) => ( + + ))} +
+ +
+
+