From 254ee618633af43f6f1fbc96e4fe4cdf73114fbe Mon Sep 17 00:00:00 2001 From: tcely Date: Sat, 14 Mar 2026 19:48:58 -0400 Subject: [PATCH 01/48] Remove bun.lock --- bun.lock | 225 ------------------------------------------------------- 1 file changed, 225 deletions(-) delete mode 100644 bun.lock diff --git a/bun.lock b/bun.lock deleted file mode 100644 index 78c06a16..00000000 --- a/bun.lock +++ /dev/null @@ -1,225 +0,0 @@ -{ - "lockfileVersion": 1, - "configVersion": 0, - "workspaces": { - "": { - "name": "setup-bun", - "dependencies": { - "@actions/cache": "^5.0.5", - "@actions/core": "^2.0.3", - "@actions/exec": "^2.0.0", - "@actions/glob": "^0.5.0", - "@actions/io": "^2.0.0", - "@actions/tool-cache": "^3.0.0", - "@iarna/toml": "^2.2.5", - "compare-versions": "^6.1.1", - }, - "devDependencies": { - "@types/bun": "^1.3.10", - "@types/node": "^24.0.0", - "esbuild": "^0.19.12", - "prettier": "^3.8.1", - "typescript": "^4.9.5", - }, - }, - }, - "patchedDependencies": { - "compare-versions@6.1.1": "patches/compare-versions@6.1.1.patch", - }, - "overrides": { - "form-data": "^4.0.4", - }, - "packages": { - "@actions/cache": ["@actions/cache@5.0.5", "", { "dependencies": { "@actions/core": "^2.0.0", "@actions/exec": "^2.0.0", "@actions/glob": "^0.5.1", "@actions/http-client": "^3.0.2", "@actions/io": "^2.0.0", "@azure/abort-controller": "^1.1.0", "@azure/core-rest-pipeline": "^1.22.0", "@azure/storage-blob": "^12.29.1", "@protobuf-ts/runtime-rpc": "^2.11.1", "semver": "^6.3.1" } }, "sha512-jiQSg0gfd+C2KPgcmdCOq7dCuCIQQWQ4b1YfGIRaaA9w7PJbRwTOcCz4LiFEUnqZGf0ha/8OKL3BeNwetHzYsQ=="], - - "@actions/core": ["@actions/core@2.0.3", "", { "dependencies": { "@actions/exec": "^2.0.0", "@actions/http-client": "^3.0.2" } }, "sha512-Od9Thc3T1mQJYddvVPM4QGiLUewdh+3txmDYHHxoNdkqysR1MbCT+rFOtNUxYAz+7+6RIsqipVahY2GJqGPyxA=="], - - "@actions/exec": ["@actions/exec@2.0.0", "", { "dependencies": { "@actions/io": "^2.0.0" } }, "sha512-k8ngrX2voJ/RIN6r9xB82NVqKpnMRtxDoiO+g3olkIUpQNqjArXrCQceduQZCQj3P3xm32pChRLqRrtXTlqhIw=="], - - "@actions/glob": ["@actions/glob@0.5.1", "", { "dependencies": { "@actions/core": "^2.0.3", "minimatch": "^3.0.4" } }, "sha512-+dv/t2aKQdKp9WWSp+1yIXVJzH5Q38M0Mta26pzIbeec14EcIleMB7UU6N7sNgbEuYfyuVGpE5pOKjl6j1WXkA=="], - - "@actions/http-client": ["@actions/http-client@3.0.2", "", { "dependencies": { "tunnel": "^0.0.6", "undici": "^6.23.0" } }, "sha512-JP38FYYpyqvUsz+Igqlc/JG6YO9PaKuvqjM3iGvaLqFnJ7TFmcLyy2IDrY0bI0qCQug8E9K+elv5ZNfw62ZJzA=="], - - "@actions/io": ["@actions/io@2.0.0", "", {}, "sha512-Jv33IN09XLO+0HS79aaODsvIRyduiF7NY/F6LYeK5oeUmrsz7aFdRphQjFoESF4jS7lMauDOttKALcpapVDIAg=="], - - "@actions/tool-cache": ["@actions/tool-cache@3.0.1", "", { "dependencies": { "@actions/core": "^2.0.1", "@actions/exec": "^2.0.0", "@actions/http-client": "^3.0.2", "@actions/io": "^2.0.0", "semver": "^6.1.0" } }, "sha512-euK7sID37jMg1yWGkdXkLPI5Te7x/+2QMUPeHXogcpzUZ81mqlDZ+CgYhQo3LtB8LpVnnQyjs+hTTU0Ir4Y0RQ=="], - - "@azure/abort-controller": ["@azure/abort-controller@1.1.0", "", { "dependencies": { "tslib": "^2.2.0" } }, ""], - - "@azure/core-auth": ["@azure/core-auth@1.10.1", "", { "dependencies": { "@azure/abort-controller": "^2.1.2", "@azure/core-util": "^1.13.0", "tslib": "^2.6.2" } }, "sha512-ykRMW8PjVAn+RS6ww5cmK9U2CyH9p4Q88YJwvUslfuMmN98w/2rdGRLPqJYObapBCdzBVeDgYWdJnFPFb7qzpg=="], - - "@azure/core-client": ["@azure/core-client@1.10.1", "", { "dependencies": { "@azure/abort-controller": "^2.1.2", "@azure/core-auth": "^1.10.0", "@azure/core-rest-pipeline": "^1.22.0", "@azure/core-tracing": "^1.3.0", "@azure/core-util": "^1.13.0", "@azure/logger": "^1.3.0", "tslib": "^2.6.2" } }, "sha512-Nh5PhEOeY6PrnxNPsEHRr9eimxLwgLlpmguQaHKBinFYA/RU9+kOYVOQqOrTsCL+KSxrLLl1gD8Dk5BFW/7l/w=="], - - "@azure/core-http-compat": ["@azure/core-http-compat@2.3.2", "", { "dependencies": { "@azure/abort-controller": "^2.1.2" }, "peerDependencies": { "@azure/core-client": "^1.10.0", "@azure/core-rest-pipeline": "^1.22.0" } }, "sha512-Tf6ltdKzOJEgxZeWLCjMxrxbodB/ZeCbzzA1A2qHbhzAjzjHoBVSUeSl/baT/oHAxhc4qdqVaDKnc2+iE932gw=="], - - "@azure/core-lro": ["@azure/core-lro@2.5.4", "", { "dependencies": { "@azure/abort-controller": "^1.0.0", "@azure/core-util": "^1.2.0", "@azure/logger": "^1.0.0", "tslib": "^2.2.0" } }, ""], - - "@azure/core-paging": ["@azure/core-paging@1.6.2", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-YKWi9YuCU04B55h25cnOYZHxXYtEvQEbKST5vqRga7hWY9ydd3FZHdeQF8pyh+acWZvppw13M/LMGx0LABUVMA=="], - - "@azure/core-rest-pipeline": ["@azure/core-rest-pipeline@1.23.0", "", { "dependencies": { "@azure/abort-controller": "^2.1.2", "@azure/core-auth": "^1.10.0", "@azure/core-tracing": "^1.3.0", "@azure/core-util": "^1.13.0", "@azure/logger": "^1.3.0", "@typespec/ts-http-runtime": "^0.3.4", "tslib": "^2.6.2" } }, "sha512-Evs1INHo+jUjwHi1T6SG6Ua/LHOQBCLuKEEE6efIpt4ZOoNonaT1kP32GoOcdNDbfqsD2445CPri3MubBy5DEQ=="], - - "@azure/core-tracing": ["@azure/core-tracing@1.3.1", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-9MWKevR7Hz8kNzzPLfX4EAtGM2b8mr50HPDBvio96bURP/9C+HjdH3sBlLSNNrvRAr5/k/svoH457gB5IKpmwQ=="], - - "@azure/core-util": ["@azure/core-util@1.13.1", "", { "dependencies": { "@azure/abort-controller": "^2.1.2", "@typespec/ts-http-runtime": "^0.3.0", "tslib": "^2.6.2" } }, "sha512-XPArKLzsvl0Hf0CaGyKHUyVgF7oDnhKoP85Xv6M4StF/1AhfORhZudHtOyf2s+FcbuQ9dPRAjB8J2KvRRMUK2A=="], - - "@azure/core-xml": ["@azure/core-xml@1.5.0", "", { "dependencies": { "fast-xml-parser": "^5.0.7", "tslib": "^2.8.1" } }, "sha512-D/sdlJBMJfx7gqoj66PKVmhDDaU6TKA49ptcolxdas29X7AfvLTmfAGLjAcIMBK7UZ2o4lygHIqVckOlQU3xWw=="], - - "@azure/logger": ["@azure/logger@1.3.0", "", { "dependencies": { "@typespec/ts-http-runtime": "^0.3.0", "tslib": "^2.6.2" } }, "sha512-fCqPIfOcLE+CGqGPd66c8bZpwAji98tZ4JI9i/mlTNTlsIWslCfpg48s/ypyLxZTump5sypjrKn2/kY7q8oAbA=="], - - "@azure/storage-blob": ["@azure/storage-blob@12.31.0", "", { "dependencies": { "@azure/abort-controller": "^2.1.2", "@azure/core-auth": "^1.9.0", "@azure/core-client": "^1.9.3", "@azure/core-http-compat": "^2.2.0", "@azure/core-lro": "^2.2.0", "@azure/core-paging": "^1.6.2", "@azure/core-rest-pipeline": "^1.19.1", "@azure/core-tracing": "^1.2.0", "@azure/core-util": "^1.11.0", "@azure/core-xml": "^1.4.5", "@azure/logger": "^1.1.4", "@azure/storage-common": "^12.3.0", "events": "^3.0.0", "tslib": "^2.8.1" } }, "sha512-DBgNv10aCSxopt92DkTDD0o9xScXeBqPKGmR50FPZQaEcH4JLQ+GEOGEDv19V5BMkB7kxr+m4h6il/cCDPvmHg=="], - - "@azure/storage-common": ["@azure/storage-common@12.3.0", "", { "dependencies": { "@azure/abort-controller": "^2.1.2", "@azure/core-auth": "^1.9.0", "@azure/core-http-compat": "^2.2.0", "@azure/core-rest-pipeline": "^1.19.1", "@azure/core-tracing": "^1.2.0", "@azure/core-util": "^1.11.0", "@azure/logger": "^1.1.4", "events": "^3.3.0", "tslib": "^2.8.1" } }, "sha512-/OFHhy86aG5Pe8dP5tsp+BuJ25JOAl9yaMU3WZbkeoiFMHFtJ7tu5ili7qEdBXNW9G5lDB19trwyI6V49F/8iQ=="], - - "@esbuild/aix-ppc64": ["@esbuild/aix-ppc64@0.19.12", "", { "os": "aix", "cpu": "ppc64" }, "sha512-bmoCYyWdEL3wDQIVbcyzRyeKLgk2WtWLTWz1ZIAZF/EGbNOwSA6ew3PftJ1PqMiOOGu0OyFMzG53L0zqIpPeNA=="], - - "@esbuild/android-arm": ["@esbuild/android-arm@0.19.12", "", { "os": "android", "cpu": "arm" }, "sha512-qg/Lj1mu3CdQlDEEiWrlC4eaPZ1KztwGJ9B6J+/6G+/4ewxJg7gqj8eVYWvao1bXrqGiW2rsBZFSX3q2lcW05w=="], - - "@esbuild/android-arm64": ["@esbuild/android-arm64@0.19.12", "", { "os": "android", "cpu": "arm64" }, "sha512-P0UVNGIienjZv3f5zq0DP3Nt2IE/3plFzuaS96vihvD0Hd6H/q4WXUGpCxD/E8YrSXfNyRPbpTq+T8ZQioSuPA=="], - - "@esbuild/android-x64": ["@esbuild/android-x64@0.19.12", "", { "os": "android", "cpu": "x64" }, "sha512-3k7ZoUW6Q6YqhdhIaq/WZ7HwBpnFBlW905Fa4s4qWJyiNOgT1dOqDiVAQFwBH7gBRZr17gLrlFCRzF6jFh7Kew=="], - - "@esbuild/darwin-arm64": ["@esbuild/darwin-arm64@0.19.12", "", { "os": "darwin", "cpu": "arm64" }, "sha512-B6IeSgZgtEzGC42jsI+YYu9Z3HKRxp8ZT3cqhvliEHovq8HSX2YX8lNocDn79gCKJXOSaEot9MVYky7AKjCs8g=="], - - "@esbuild/darwin-x64": ["@esbuild/darwin-x64@0.19.12", "", { "os": "darwin", "cpu": "x64" }, "sha512-hKoVkKzFiToTgn+41qGhsUJXFlIjxI/jSYeZf3ugemDYZldIXIxhvwN6erJGlX4t5h417iFuheZ7l+YVn05N3A=="], - - "@esbuild/freebsd-arm64": ["@esbuild/freebsd-arm64@0.19.12", "", { "os": "freebsd", "cpu": "arm64" }, "sha512-4aRvFIXmwAcDBw9AueDQ2YnGmz5L6obe5kmPT8Vd+/+x/JMVKCgdcRwH6APrbpNXsPz+K653Qg8HB/oXvXVukA=="], - - "@esbuild/freebsd-x64": ["@esbuild/freebsd-x64@0.19.12", "", { "os": "freebsd", "cpu": "x64" }, "sha512-EYoXZ4d8xtBoVN7CEwWY2IN4ho76xjYXqSXMNccFSx2lgqOG/1TBPW0yPx1bJZk94qu3tX0fycJeeQsKovA8gg=="], - - "@esbuild/linux-arm": ["@esbuild/linux-arm@0.19.12", "", { "os": "linux", "cpu": "arm" }, "sha512-J5jPms//KhSNv+LO1S1TX1UWp1ucM6N6XuL6ITdKWElCu8wXP72l9MM0zDTzzeikVyqFE6U8YAV9/tFyj0ti+w=="], - - "@esbuild/linux-arm64": ["@esbuild/linux-arm64@0.19.12", "", { "os": "linux", "cpu": "arm64" }, "sha512-EoTjyYyLuVPfdPLsGVVVC8a0p1BFFvtpQDB/YLEhaXyf/5bczaGeN15QkR+O4S5LeJ92Tqotve7i1jn35qwvdA=="], - - "@esbuild/linux-ia32": ["@esbuild/linux-ia32@0.19.12", "", { "os": "linux", "cpu": "ia32" }, "sha512-Thsa42rrP1+UIGaWz47uydHSBOgTUnwBwNq59khgIwktK6x60Hivfbux9iNR0eHCHzOLjLMLfUMLCypBkZXMHA=="], - - "@esbuild/linux-loong64": ["@esbuild/linux-loong64@0.19.12", "", { "os": "linux", "cpu": "none" }, "sha512-LiXdXA0s3IqRRjm6rV6XaWATScKAXjI4R4LoDlvO7+yQqFdlr1Bax62sRwkVvRIrwXxvtYEHHI4dm50jAXkuAA=="], - - "@esbuild/linux-mips64el": ["@esbuild/linux-mips64el@0.19.12", "", { "os": "linux", "cpu": "none" }, "sha512-fEnAuj5VGTanfJ07ff0gOA6IPsvrVHLVb6Lyd1g2/ed67oU1eFzL0r9WL7ZzscD+/N6i3dWumGE1Un4f7Amf+w=="], - - "@esbuild/linux-ppc64": ["@esbuild/linux-ppc64@0.19.12", "", { "os": "linux", "cpu": "ppc64" }, "sha512-nYJA2/QPimDQOh1rKWedNOe3Gfc8PabU7HT3iXWtNUbRzXS9+vgB0Fjaqr//XNbd82mCxHzik2qotuI89cfixg=="], - - "@esbuild/linux-riscv64": ["@esbuild/linux-riscv64@0.19.12", "", { "os": "linux", "cpu": "none" }, "sha512-2MueBrlPQCw5dVJJpQdUYgeqIzDQgw3QtiAHUC4RBz9FXPrskyyU3VI1hw7C0BSKB9OduwSJ79FTCqtGMWqJHg=="], - - "@esbuild/linux-s390x": ["@esbuild/linux-s390x@0.19.12", "", { "os": "linux", "cpu": "s390x" }, "sha512-+Pil1Nv3Umes4m3AZKqA2anfhJiVmNCYkPchwFJNEJN5QxmTs1uzyy4TvmDrCRNT2ApwSari7ZIgrPeUx4UZDg=="], - - "@esbuild/linux-x64": ["@esbuild/linux-x64@0.19.12", "", { "os": "linux", "cpu": "x64" }, "sha512-B71g1QpxfwBvNrfyJdVDexenDIt1CiDN1TIXLbhOw0KhJzE78KIFGX6OJ9MrtC0oOqMWf+0xop4qEU8JrJTwCg=="], - - "@esbuild/netbsd-x64": ["@esbuild/netbsd-x64@0.19.12", "", { "os": "none", "cpu": "x64" }, "sha512-3ltjQ7n1owJgFbuC61Oj++XhtzmymoCihNFgT84UAmJnxJfm4sYCiSLTXZtE00VWYpPMYc+ZQmB6xbSdVh0JWA=="], - - "@esbuild/openbsd-x64": ["@esbuild/openbsd-x64@0.19.12", "", { "os": "openbsd", "cpu": "x64" }, "sha512-RbrfTB9SWsr0kWmb9srfF+L933uMDdu9BIzdA7os2t0TXhCRjrQyCeOt6wVxr79CKD4c+p+YhCj31HBkYcXebw=="], - - "@esbuild/sunos-x64": ["@esbuild/sunos-x64@0.19.12", "", { "os": "sunos", "cpu": "x64" }, "sha512-HKjJwRrW8uWtCQnQOz9qcU3mUZhTUQvi56Q8DPTLLB+DawoiQdjsYq+j+D3s9I8VFtDr+F9CjgXKKC4ss89IeA=="], - - "@esbuild/win32-arm64": ["@esbuild/win32-arm64@0.19.12", "", { "os": "win32", "cpu": "arm64" }, "sha512-URgtR1dJnmGvX864pn1B2YUYNzjmXkuJOIqG2HdU62MVS4EHpU2946OZoTMnRUHklGtJdJZ33QfzdjGACXhn1A=="], - - "@esbuild/win32-ia32": ["@esbuild/win32-ia32@0.19.12", "", { "os": "win32", "cpu": "ia32" }, "sha512-+ZOE6pUkMOJfmxmBZElNOx72NKpIa/HFOMGzu8fqzQJ5kgf6aTGrcJaFsNiVMH4JKpMipyK+7k0n2UXN7a8YKQ=="], - - "@esbuild/win32-x64": ["@esbuild/win32-x64@0.19.12", "", { "os": "win32", "cpu": "x64" }, "sha512-T1QyPSDCyMXaO3pzBkF96E8xMkiRYbUEZADd29SyPGabqxMViNoii+NcK7eWJAEoU6RZyEm5lVSIjTmcdoB9HA=="], - - "@iarna/toml": ["@iarna/toml@2.2.5", "", {}, "sha512-trnsAYxU3xnS1gPHPyU961coFyLkh4gAD/0zQ5mymY4yOZ+CYvsPqUbOFSw0aDM4y0tV7tiFxL/1XfXPNC6IPg=="], - - "@protobuf-ts/runtime": ["@protobuf-ts/runtime@2.11.1", "", {}, "sha512-KuDaT1IfHkugM2pyz+FwiY80ejWrkH1pAtOBOZFuR6SXEFTsnb/jiQWQ1rCIrcKx2BtyxnxW6BWwsVSA/Ie+WQ=="], - - "@protobuf-ts/runtime-rpc": ["@protobuf-ts/runtime-rpc@2.11.1", "", { "dependencies": { "@protobuf-ts/runtime": "^2.11.1" } }, "sha512-4CqqUmNA+/uMz00+d3CYKgElXO9VrEbucjnBFEjqI4GuDrEQ32MaI3q+9qPBvIGOlL4PmHXrzM32vBPWRhQKWQ=="], - - "@types/bun": ["@types/bun@1.3.10", "", { "dependencies": { "bun-types": "1.3.10" } }, "sha512-0+rlrUrOrTSskibryHbvQkDOWRJwJZqZlxrUs1u4oOoTln8+WIXBPmAuCF35SWB2z4Zl3E84Nl/D0P7803nigQ=="], - - "@types/node": ["@types/node@24.12.0", "", { "dependencies": { "undici-types": "~7.16.0" } }, "sha512-GYDxsZi3ChgmckRT9HPU0WEhKLP08ev/Yfcq2AstjrDASOYCSXeyjDsHg4v5t4jOj7cyDX3vmprafKlWIG9MXQ=="], - - "@typespec/ts-http-runtime": ["@typespec/ts-http-runtime@0.3.4", "", { "dependencies": { "http-proxy-agent": "^7.0.0", "https-proxy-agent": "^7.0.0", "tslib": "^2.6.2" } }, "sha512-CI0NhTrz4EBaa0U+HaaUZrJhPoso8sG7ZFya8uQoBA57fjzrjRSv87ekCjLZOFExN+gXE/z0xuN2QfH4H2HrLQ=="], - - "agent-base": ["agent-base@7.1.4", "", {}, "sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ=="], - - "balanced-match": ["balanced-match@1.0.2", "", {}, ""], - - "brace-expansion": ["brace-expansion@1.1.11", "", { "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" } }, ""], - - "bun-types": ["bun-types@1.3.10", "", { "dependencies": { "@types/node": "*" } }, "sha512-tcpfCCl6XWo6nCVnpcVrxQ+9AYN1iqMIzgrSKYMB/fjLtV2eyAVEg7AxQJuCq/26R6HpKWykQXuSOq/21RYcbg=="], - - "compare-versions": ["compare-versions@6.1.1", "", {}, "sha512-4hm4VPpIecmlg59CHXnRDnqGplJFrbLG4aFEl5vl6cK1u76ws3LLvX7ikFnTDl5vo39sjWD6AaDPYodJp/NNHg=="], - - "concat-map": ["concat-map@0.0.1", "", {}, ""], - - "debug": ["debug@4.4.3", "", { "dependencies": { "ms": "^2.1.3" } }, "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA=="], - - "esbuild": ["esbuild@0.19.12", "", { "optionalDependencies": { "@esbuild/aix-ppc64": "0.19.12", "@esbuild/android-arm": "0.19.12", "@esbuild/android-arm64": "0.19.12", "@esbuild/android-x64": "0.19.12", "@esbuild/darwin-arm64": "0.19.12", "@esbuild/darwin-x64": "0.19.12", "@esbuild/freebsd-arm64": "0.19.12", "@esbuild/freebsd-x64": "0.19.12", "@esbuild/linux-arm": "0.19.12", "@esbuild/linux-arm64": "0.19.12", "@esbuild/linux-ia32": "0.19.12", "@esbuild/linux-loong64": "0.19.12", "@esbuild/linux-mips64el": "0.19.12", "@esbuild/linux-ppc64": "0.19.12", "@esbuild/linux-riscv64": "0.19.12", "@esbuild/linux-s390x": "0.19.12", "@esbuild/linux-x64": "0.19.12", "@esbuild/netbsd-x64": "0.19.12", "@esbuild/openbsd-x64": "0.19.12", "@esbuild/sunos-x64": "0.19.12", "@esbuild/win32-arm64": "0.19.12", "@esbuild/win32-ia32": "0.19.12", "@esbuild/win32-x64": "0.19.12" }, "bin": { "esbuild": "bin/esbuild" } }, "sha512-aARqgq8roFBj054KvQr5f1sFu0D65G+miZRCuJyJ0G13Zwx7vRar5Zhn2tkQNzIXcBrNVsv/8stehpj+GAjgbg=="], - - "events": ["events@3.3.0", "", {}, ""], - - "fast-xml-builder": ["fast-xml-builder@1.1.1", "", { "dependencies": { "path-expression-matcher": "^1.1.3" } }, "sha512-t2IsJo7bUteacw/QxmvjAJUGRWZZJHfj1/0tP3+tm5DteIIXEJb0rcasgFD81cxk4lhzcSzTBgTKlwfcKlB5tA=="], - - "fast-xml-parser": ["fast-xml-parser@5.5.2", "", { "dependencies": { "fast-xml-builder": "^1.1.1", "path-expression-matcher": "^1.1.3", "strnum": "^2.1.2" }, "bin": { "fxparser": "src/cli/cli.js" } }, "sha512-kA6Txdt1cHsk+/qWKuV1jZUHBD6QUXWKhWVBuSmfP5YElW5HvJ/yC7eFCS+DQg7LphBPuUoEBMQ+m1z6UlF24w=="], - - "http-proxy-agent": ["http-proxy-agent@7.0.2", "", { "dependencies": { "agent-base": "^7.1.0", "debug": "^4.3.4" } }, "sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig=="], - - "https-proxy-agent": ["https-proxy-agent@7.0.6", "", { "dependencies": { "agent-base": "^7.1.2", "debug": "4" } }, "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw=="], - - "minimatch": ["minimatch@3.0.8", "", { "dependencies": { "brace-expansion": "^1.1.7" } }, ""], - - "ms": ["ms@2.1.3", "", {}, "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="], - - "path-expression-matcher": ["path-expression-matcher@1.1.3", "", {}, "sha512-qdVgY8KXmVdJZRSS1JdEPOKPdTiEK/pi0RkcT2sw1RhXxohdujUlJFPuS1TSkevZ9vzd3ZlL7ULl1MHGTApKzQ=="], - - "prettier": ["prettier@3.8.1", "", { "bin": { "prettier": "bin/prettier.cjs" } }, "sha512-UOnG6LftzbdaHZcKoPFtOcCKztrQ57WkHDeRD9t/PTQtmT0NHSeWWepj6pS0z/N7+08BHFDQVUrfmfMRcZwbMg=="], - - "semver": ["semver@6.3.1", "", { "bin": "bin/semver.js" }, ""], - - "strnum": ["strnum@2.2.0", "", {}, "sha512-Y7Bj8XyJxnPAORMZj/xltsfo55uOiyHcU2tnAVzHUnSJR/KsEX+9RoDeXEnsXtl/CX4fAcrt64gZ13aGaWPeBg=="], - - "tslib": ["tslib@2.6.2", "", {}, ""], - - "tunnel": ["tunnel@0.0.6", "", {}, ""], - - "typescript": ["typescript@4.9.5", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, ""], - - "undici": ["undici@6.23.0", "", {}, "sha512-VfQPToRA5FZs/qJxLIinmU59u0r7LXqoJkCzinq3ckNJp3vKEh7jTWN589YQ5+aoAC/TGRLyJLCPKcLQbM8r9g=="], - - "undici-types": ["undici-types@7.16.0", "", {}, "sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw=="], - - "@azure/core-auth/@azure/abort-controller": ["@azure/abort-controller@2.1.2", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-nBrLsEWm4J2u5LpAPjxADTlq3trDgVZZXHNKabeXZtpq3d3AbN/KGO82R87rdDz5/lYB024rtEf10/q0urNgsA=="], - - "@azure/core-auth/tslib": ["tslib@2.8.1", "", {}, "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w=="], - - "@azure/core-client/@azure/abort-controller": ["@azure/abort-controller@2.1.2", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-nBrLsEWm4J2u5LpAPjxADTlq3trDgVZZXHNKabeXZtpq3d3AbN/KGO82R87rdDz5/lYB024rtEf10/q0urNgsA=="], - - "@azure/core-client/tslib": ["tslib@2.8.1", "", {}, "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w=="], - - "@azure/core-http-compat/@azure/abort-controller": ["@azure/abort-controller@2.1.2", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-nBrLsEWm4J2u5LpAPjxADTlq3trDgVZZXHNKabeXZtpq3d3AbN/KGO82R87rdDz5/lYB024rtEf10/q0urNgsA=="], - - "@azure/core-lro/@azure/core-util": ["@azure/core-util@1.4.0", "", { "dependencies": { "@azure/abort-controller": "^1.0.0", "tslib": "^2.2.0" } }, ""], - - "@azure/core-lro/@azure/logger": ["@azure/logger@1.0.4", "", { "dependencies": { "tslib": "^2.2.0" } }, ""], - - "@azure/core-paging/tslib": ["tslib@2.8.1", "", {}, "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w=="], - - "@azure/core-rest-pipeline/@azure/abort-controller": ["@azure/abort-controller@2.1.2", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-nBrLsEWm4J2u5LpAPjxADTlq3trDgVZZXHNKabeXZtpq3d3AbN/KGO82R87rdDz5/lYB024rtEf10/q0urNgsA=="], - - "@azure/core-rest-pipeline/tslib": ["tslib@2.8.1", "", {}, "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w=="], - - "@azure/core-tracing/tslib": ["tslib@2.8.1", "", {}, "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w=="], - - "@azure/core-util/@azure/abort-controller": ["@azure/abort-controller@2.1.2", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-nBrLsEWm4J2u5LpAPjxADTlq3trDgVZZXHNKabeXZtpq3d3AbN/KGO82R87rdDz5/lYB024rtEf10/q0urNgsA=="], - - "@azure/core-util/tslib": ["tslib@2.8.1", "", {}, "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w=="], - - "@azure/core-xml/tslib": ["tslib@2.8.1", "", {}, "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w=="], - - "@azure/logger/tslib": ["tslib@2.8.1", "", {}, "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w=="], - - "@azure/storage-blob/@azure/abort-controller": ["@azure/abort-controller@2.1.2", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-nBrLsEWm4J2u5LpAPjxADTlq3trDgVZZXHNKabeXZtpq3d3AbN/KGO82R87rdDz5/lYB024rtEf10/q0urNgsA=="], - - "@azure/storage-blob/tslib": ["tslib@2.8.1", "", {}, "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w=="], - - "@azure/storage-common/@azure/abort-controller": ["@azure/abort-controller@2.1.2", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-nBrLsEWm4J2u5LpAPjxADTlq3trDgVZZXHNKabeXZtpq3d3AbN/KGO82R87rdDz5/lYB024rtEf10/q0urNgsA=="], - - "@azure/storage-common/tslib": ["tslib@2.8.1", "", {}, "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w=="], - - "@typespec/ts-http-runtime/tslib": ["tslib@2.8.1", "", {}, "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w=="], - - "bun-types/@types/node": ["@types/node@20.19.35", "", { "dependencies": { "undici-types": "~6.21.0" } }, "sha512-Uarfe6J91b9HAUXxjvSOdiO2UPOKLm07Q1oh0JHxoZ1y8HoqxDAu3gVrsrOHeiio0kSsoVBt4wFrKOm0dKxVPQ=="], - - "@azure/core-http-compat/@azure/abort-controller/tslib": ["tslib@2.8.1", "", {}, "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w=="], - - "bun-types/@types/node/undici-types": ["undici-types@6.21.0", "", {}, "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ=="], - } -} From 68f6c7a6dd3b7428935bc4bdfed8ce8916737f35 Mon Sep 17 00:00:00 2001 From: tcely Date: Sat, 14 Mar 2026 19:49:02 -0400 Subject: [PATCH 02/48] Create filesystem-cache.ts --- src/filesystem-cache.ts | 57 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 src/filesystem-cache.ts diff --git a/src/filesystem-cache.ts b/src/filesystem-cache.ts new file mode 100644 index 00000000..88f0f87c --- /dev/null +++ b/src/filesystem-cache.ts @@ -0,0 +1,57 @@ +import { join } from "node:path"; +import { tmpdir } from "node:os"; +import { + existsSync, + readFileSync, + writeFileSync, + statSync, + mkdirSync, +} from "node:fs"; +import { createHash } from "node:crypto"; +import { debug } from "@actions/core"; + +const CACHE_DIR = process.env.RUNNER_TEMP || tmpdir(); +const FS_CACHE_TIMEOUT = 1000 * 60 * 60 * 12; // hours + +function cacheDebug(operation: string, key: string, error: unknown): void { + const message = error instanceof Error ? error.message : String(error); + debug(`filesystem-cache: ${operation} failed for key "${key}": ${message}`); +} + +function getCachePath(key: string): string { + const hash = createHash("sha1").update(key).digest("hex"); + return join(CACHE_DIR, `setup-bun-${hash}.json`); +} + +/** + * Retrieves data from the filesystem cache if it exists and is under 12 hours old. + */ +export function getCache(key: string): string | null { + const path = getCachePath(key); + try { + if (existsSync(path)) { + const stats = statSync(path); + if (FS_CACHE_TIMEOUT > Date.now() - stats.mtimeMs) { + return readFileSync(path, "utf8"); + } + } + } catch (error) { + cacheDebug("getCache", key, error); + } + return null; +} + +/** + * Saves data to the filesystem cache. + */ +export function setCache(key: string, value: string): void { + const path = getCachePath(key); + try { + if (!existsSync(CACHE_DIR)) { + mkdirSync(CACHE_DIR, { recursive: true }); + } + writeFileSync(path, value, "utf8"); + } catch (error) { + cacheDebug("setCache", key, error); + } +} From a440ee152aefb036668ab547cdb7a247bff786b5 Mon Sep 17 00:00:00 2001 From: tcely Date: Sat, 14 Mar 2026 19:49:05 -0400 Subject: [PATCH 03/48] Create response-storage.ts --- src/response-storage.ts | 72 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 src/response-storage.ts diff --git a/src/response-storage.ts b/src/response-storage.ts new file mode 100644 index 00000000..d83ee35f --- /dev/null +++ b/src/response-storage.ts @@ -0,0 +1,72 @@ +import path from "node:path"; +import { URL } from "node:url"; +import { getCache, setCache } from "./filesystem-cache"; + +/** + * Determines if the URL is metadata eligible for storage (e.g., GitHub API). + */ +function isMetadata(url: string): boolean { + const urlObj = new URL(url); + const { pathname } = urlObj; + const pathObj = path.parse(pathname); + + const isSecure = "https:" === urlObj.protocol; + const isGitHub = "github.com" === urlObj.hostname; + const isGitHubApi = "api.github.com" === urlObj.hostname; + + let extension = pathObj.ext; + if (".asc" === extension) { + extension = path.parse(pathObj.name).ext; + } + + const secureApi = isSecure && isGitHubApi; + const smallish = isSecure && isGitHub && ".txt" === extension; + + return secureApi || smallish; +} + +/** + * Retrieves a stored Response from the filesystem if available. + */ +export function getStoredResponse(url: string): Response | undefined { + if (!isMetadata(url)) { + return undefined; + } + + const data = getCache(url); + if (null !== data) { + const host = new URL(url).hostname; + const contentType = + "api.github.com" === host + ? "application/json" + : "text/plain; charset=utf-8"; + return new Response(data, { + status: 200, + headers: { + "Content-Type": contentType, + "X-Storage-Hit": "true", + }, + }); + } + return undefined; +} + +/** + * Clones the response and persists its body to storage. + */ +export async function setStoredResponse( + url: string, + res: Response, +): Promise { + if (!isMetadata(url) || !res.ok) { + return; + } + + try { + // We clone so the original stream remains readable by the caller + const body = await res.clone().text(); + setCache(url, body); + } catch { + // Fail silently to avoid breaking the main execution flow + } +} From 22419e8a39934d6331a314d2ac8f772d0e634242 Mon Sep 17 00:00:00 2001 From: tcely Date: Sat, 14 Mar 2026 19:49:08 -0400 Subject: [PATCH 04/48] Create url.ts --- src/url.ts | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 src/url.ts diff --git a/src/url.ts b/src/url.ts new file mode 100644 index 00000000..3505dc46 --- /dev/null +++ b/src/url.ts @@ -0,0 +1,72 @@ +import { URL } from "node:url"; + +type Protocol = "http" | "https"; +const DEFAULT_PORTS: Record = { http: "80", https: "443" }; + +export function buildUrl( + hostname: string, + pathname: string, + protocol: Protocol = "https", + port?: string | number, + params?: Record, +): string { + const url = new URL(`${protocol}://${hostname}`); + url.port = port?.toString() || DEFAULT_PORTS[protocol]; + url.pathname = `/${pathname.replace(/^\/+/, "")}`; + + if (params) { + for (const [key, value] of Object.entries(params)) { + url.searchParams.set(key, value); + } + } + return url.href; +} + +export function gitHubAssetDownloadUrl( + owner: string, + repo: string, + tag: string, + asset: string, +): string { + const rawOpts: string[] = [owner, repo, "releases", "download", tag, asset]; + const encoded = rawOpts.map(encodeURIComponent); + return buildUrl("github.com", encoded.join("/"), "https"); +} + +export function isGitHub(url: string, api: boolean = false): boolean { + const parsedUrl = new URL(url); + if (api) { + return "api.github.com" === parsedUrl.hostname; + } + + return "github.com" === parsedUrl.hostname; +} + +export const getVksUrl = (host: string, fp: string) => + buildUrl( + host, + `/vks/v1/by-fingerprint/${fp.replace(/\s/g, "").toUpperCase()}`, + ); + +export const getHkpUrl = (host: string, fp: string, port?: number) => + buildUrl(host, "/pks/lookup", port === 11371 ? "http" : "https", port, { + op: "get", + options: "mr", + search: `0x${fp.replace(/\s/g, "").toLowerCase()}`, + }); + +export const getGitHubGpgUrl = (user: string) => + buildUrl("github.com", `/${user.replace(/^@/, "")}.gpg`); + +export const getGitHubManifestUrl = ( + owner: string, + repo: string, + tag: string, + asset: string, +) => + buildUrl( + "github.com", + [owner, repo, "releases", "download", tag, asset] + .map(encodeURIComponent) + .join("/"), + ); From 084e26c09a04ea30ac2b7ff88078d6a409d9fd23 Mon Sep 17 00:00:00 2001 From: tcely Date: Sat, 14 Mar 2026 19:49:11 -0400 Subject: [PATCH 05/48] Update download-url.ts --- src/download-url.ts | 46 ++++++++++++++++++++++----------------------- 1 file changed, 22 insertions(+), 24 deletions(-) diff --git a/src/download-url.ts b/src/download-url.ts index dc0b9ea7..c9b89b59 100644 --- a/src/download-url.ts +++ b/src/download-url.ts @@ -5,6 +5,8 @@ import { validateStrict, } from "compare-versions"; import { Input } from "./action"; +import { addGitHubApiHeaders } from "./github-api"; +import { buildUrl, gitHubAssetDownloadUrl } from "./url"; import { getArchitecture, getAvx2, getPlatform, request } from "./utils"; export async function getDownloadUrl(options: Input): Promise { @@ -25,12 +27,14 @@ async function getSemverDownloadUrl(options: Input): Promise { } if (!tag) { + const apiUrl = buildUrl( + "api.github.com", + "repos/oven-sh/bun/git/refs/tags", + "https", + ); + const headers = addGitHubApiHeaders(apiUrl, {}, options.token); const res = (await ( - await request("https://api.github.com/repos/oven-sh/bun/git/refs/tags", { - headers: options.token - ? { "Authorization": `Bearer ${options.token}` } - : {}, - }) + await request(apiUrl, { headers: headers }) ).json()) as { ref: string }[]; let tags = res @@ -62,23 +66,17 @@ async function getSemverDownloadUrl(options: Input): Promise { } const resolvedTag = tag ?? version; - const eversion = encodeURIComponent(resolvedTag); - const eos = encodeURIComponent(os ?? getPlatform()); - const earch = encodeURIComponent( - getArchitecture(os ?? getPlatform(), arch ?? process.arch, resolvedTag), - ); - const eavx2 = encodeURIComponent( - getAvx2(os ?? getPlatform(), arch ?? process.arch, avx2, resolvedTag) === - false - ? "-baseline" - : "", - ); - const eprofile = encodeURIComponent(profile === true ? "-profile" : ""); - - const { href } = new URL( - `${eversion}/bun-${eos}-${earch}${eavx2}${eprofile}.zip`, - "https://github.com/oven-sh/bun/releases/download/", - ); - - return href; + const inputArch = arch ?? process.arch; + const resolvedOs = os ?? getPlatform(); + const resolvedArch = getArchitecture(resolvedOs, inputArch, resolvedTag); + const isAvx2 = getAvx2(resolvedOs, inputArch, avx2, resolvedTag); + const assetParts: string[] = [ + "bun", + resolvedOs, + resolvedArch, + isAvx2 ? "" : "baseline", + profile ? "profile" : "", + ]; + const assetName = assetParts.filter((p) => "" !== p).join("-") + ".zip"; + return gitHubAssetDownloadUrl("oven-sh", "bun", resolvedTag, assetName); } From 6af71749a1f750ae4306c4d7495cbdab2200f538 Mon Sep 17 00:00:00 2001 From: tcely Date: Sat, 14 Mar 2026 19:49:13 -0400 Subject: [PATCH 06/48] Update download-url.spec.ts --- tests/download-url.spec.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/download-url.spec.ts b/tests/download-url.spec.ts index 14cecca5..975297c0 100644 --- a/tests/download-url.spec.ts +++ b/tests/download-url.spec.ts @@ -234,9 +234,13 @@ describe("getDownloadUrl", () => { }); expect(requestSpy).toHaveBeenCalledWith( - expect.stringContaining("api.github.com"), + expect.stringContaining("https://api.github.com/"), expect.objectContaining({ - headers: { Authorization: "Bearer my-secret-token" }, + headers: { + Authorization: "Bearer my-secret-token", + Accept: "application/vnd.github+json", + "X-GitHub-Api-Version": "2022-11-28", + }, }), ); }); From fc77a15fe65be31447a5075b09fb116867683e08 Mon Sep 17 00:00:00 2001 From: tcely Date: Sat, 14 Mar 2026 19:49:16 -0400 Subject: [PATCH 07/48] Create github-api.ts --- src/github-api.ts | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 src/github-api.ts diff --git a/src/github-api.ts b/src/github-api.ts new file mode 100644 index 00000000..12ef97a2 --- /dev/null +++ b/src/github-api.ts @@ -0,0 +1,28 @@ +import { URL } from "node:url"; + +/** + * The date GitHub began providing mandatory digests for all release assets. + */ +export const GITHUB_DIGEST_THRESHOLD = new Date("2025-07-01"); + +export function addGitHubApiHeaders( + url: string, + currentHeaders: Record, + token?: string, +) { + const urlObj = new URL(url); + + const isGitHubApi = "api.github.com" === urlObj.hostname; + const isSecure = "https:" === urlObj.protocol; + + if (isGitHubApi && isSecure && token) { + return { + ...currentHeaders, + "Authorization": `Bearer ${token}`, + "X-GitHub-Api-Version": "2022-11-28", + "Accept": "application/vnd.github+json", + }; + } + + return currentHeaders; +} From 02836b5321a6103e7ba6a3ee18fe272dd1ba0253 Mon Sep 17 00:00:00 2001 From: tcely Date: Sat, 14 Mar 2026 19:49:19 -0400 Subject: [PATCH 08/48] Create github-asset.ts --- src/github-asset.ts | 142 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 142 insertions(+) create mode 100644 src/github-asset.ts diff --git a/src/github-asset.ts b/src/github-asset.ts new file mode 100644 index 00000000..70ee4c81 --- /dev/null +++ b/src/github-asset.ts @@ -0,0 +1,142 @@ +import { URL } from "node:url"; +import { addGitHubApiHeaders } from "./github-api"; +import { buildUrl } from "./url"; +import { request } from "./utils"; + +/** + * Maps known GitHub digest algorithms to their expected hex lengths. + */ +const DIGEST_CONFIG = { + sha256: 64, + sha512: 128, +} as const; + +type DigestAlgorithm = keyof typeof DIGEST_CONFIG; + +/** + * Represents a GitHub digest string in the format "algorithm:hex" + */ +export type GitHubDigest = `${DigestAlgorithm}:${string}`; + +/** + * Metadata extracted solely from the Download URL. + */ +export interface UrlAssetMetadata { + owner: string; + repo: string; + tag: string; + name: string; + latest: boolean; +} + +/** + * Complete metadata retrieved from the GitHub API. + */ +export interface AssetMetadata extends UrlAssetMetadata { + digest?: GitHubDigest; + updated_at: Date; +} + +/** + * Validates the algorithm and hex length, returning the clean hex string. + */ +export function getHexFromDigest(digest: GitHubDigest): string { + const parts = digest.toLowerCase().split(":"); + if (parts.length !== 2 || !parts[0] || !parts[1]) { + throw new Error(`Invalid digest format: ${digest}`); + } + + const [algorithm, hex] = parts; + const expectedLength = DIGEST_CONFIG[algorithm as DigestAlgorithm]; + + if (!expectedLength) { + throw new Error(`Unsupported digest algorithm: ${algorithm}`); + } + + if (hex.length !== expectedLength || !/^[a-f0-9]+$/.test(hex)) { + throw new Error( + `Invalid ${algorithm} hex format. Expected ${expectedLength} chars, got ${hex.length}`, + ); + } + + return hex; +} + +/** + * Decomposes a GitHub download URL into metadata components. + * Pattern: https://github.com/{owner}/{repo}/releases/download/{tag}/{filename} + * Latest: https://github.com/oven-sh/bun/releases/latest/download/bun-darwin-aarch64.zip + */ +function parseAssetUrl(downloadUrl: string): UrlAssetMetadata { + const urlObj = new URL(downloadUrl); + if ("github.com" !== urlObj.hostname) { + throw new Error(`Expected a github.com URL, got: ${urlObj.hostname}`); + } + + // Remove leading slash so index 0 is 'owner' + const parts = urlObj.pathname.slice(1).split("/").map(decodeURIComponent); + if (parts.length !== 6) { + throw new Error(`Unsupported GitHub asset URL format: ${downloadUrl}`); + } + + const expectedStructure = + "releases" === parts[2] && + (("latest" === parts[3] && "download" === parts[4]) || + "download" === parts[3]); + + const owner = parts[0]; + const repo = parts[1]; + let tag = parts[4]; + const name = parts[5]; + + if (!expectedStructure || !owner || !repo || !tag || !name) { + throw new Error( + `Failed to parse GitHub asset metadata from: ${downloadUrl}`, + ); + } + + const latest = "latest" === parts[3] && "download" === tag; + if (latest) { + tag = ""; + } + + return { owner, repo, tag, name, latest }; +} + +/** + * Enriches asset metadata with the official GitHub 'digest' and 'updated_at' from the API. + */ +export async function fetchAssetMetadata( + downloadUrl: string, + token?: string, +): Promise { + const base = parseAssetUrl(downloadUrl); + + // Use buildUrl for the API request: /repos/{owner}/{repo}/releases/tags/{tag} + const releasePath = base.latest + ? "latest" + : `tags/${encodeURIComponent(base.tag)}`; + const apiUrl = buildUrl( + "api.github.com", + `/repos/${base.owner}/${base.repo}/releases/${releasePath}`, + ); + + const headers = addGitHubApiHeaders(apiUrl, {}, token); + const response = await request(apiUrl, { headers: headers }); + + const release = await response.json(); + if (release && base.latest) { + base.tag = release.tag_name; + } + + const asset = release.assets?.find((a: any) => a.name === base.name); + if (!asset) { + throw new Error(`Asset ${base.name} not found in release ${base.tag}`); + } + + return { + ...base, + digest: asset.digest as GitHubDigest | undefined, + updated_at: new Date(asset.updated_at), + }; +} From 135f29cf998abcce9996f7622a0807a05c0bef2c Mon Sep 17 00:00:00 2001 From: tcely Date: Sat, 14 Mar 2026 19:49:22 -0400 Subject: [PATCH 09/48] Update utils.ts --- src/utils.ts | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/src/utils.ts b/src/utils.ts index 80b8d276..e0b81ec1 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -5,6 +5,8 @@ import { existsSync, readFileSync, renameSync } from "node:fs"; import { resolve, basename } from "node:path"; import { compareVersions, validate } from "compare-versions"; +import { getStoredResponse, setStoredResponse } from "./response-storage"; + // First Bun version that ships native Windows ARM64 binaries. const WINDOWS_ARM64_MIN_VERSION = "1.3.10"; @@ -26,6 +28,14 @@ export async function request( headers.set("User-Agent", "@oven-sh/setup-bun"); } + const canUseResponseCache = "GET" === (init?.method ?? "GET").toUpperCase(); + if (canUseResponseCache) { + const stored = getStoredResponse(url); + if (stored) { + return stored; + } + } + const res = await fetch(url, { ...init, headers, @@ -37,6 +47,10 @@ export async function request( ); } + if (canUseResponseCache) { + await setStoredResponse(url, res); + } + return res; } @@ -178,3 +192,20 @@ export function readVersionFromFile( } } } + +/** + * Returns the URL with query-string and fragment removed. + * Safe to call on any string; returns the original on parse failure. + */ +export function stripUrlCredentials(url: string): string { + try { + const u = new URL(url); + u.username = ""; + u.password = ""; + u.search = ""; + u.hash = ""; + return u.toString(); + } catch { + return url; + } +} From a07396725d92948e4ab622b6e2841059b90cf129 Mon Sep 17 00:00:00 2001 From: tcely Date: Sat, 14 Mar 2026 19:49:24 -0400 Subject: [PATCH 10/48] Create quick-checksum.ts --- src/quick-checksum.ts | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 src/quick-checksum.ts diff --git a/src/quick-checksum.ts b/src/quick-checksum.ts new file mode 100644 index 00000000..e5ecaab1 --- /dev/null +++ b/src/quick-checksum.ts @@ -0,0 +1,35 @@ +import { statSync, openSync, readSync, closeSync } from "node:fs"; +import { createHash } from "node:crypto"; + +const BINARY_PARTIAL_SIZE = 1024 * 256; // KiB + +export function quickFingerprint(filePath: string): string { + const { size, mtimeMs, ino } = statSync(filePath); + + const headBuf = Buffer.alloc(BINARY_PARTIAL_SIZE); + const tailBuf = Buffer.alloc(BINARY_PARTIAL_SIZE); + + const fd = openSync(filePath, "r"); + let headRead: number; + let tailRead: number; + try { + headRead = readSync(fd, headBuf, 0, BINARY_PARTIAL_SIZE, 0); + const tailOffset = Math.max(0, size - BINARY_PARTIAL_SIZE); + tailRead = readSync(fd, tailBuf, 0, BINARY_PARTIAL_SIZE, tailOffset); + } finally { + closeSync(fd); + } + + const headHash = createHash("sha512") + .update(headBuf.subarray(0, headRead)) + .digest("hex"); + const tailHash = createHash("sha512") + .update(tailBuf.subarray(0, tailRead)) + .digest("hex"); + + const combined = + `size:${size}|mtimeMs:${mtimeMs}|ino:${ino}` + + `|head:${headHash}|tail:${tailHash}`; + + return "sha512:" + createHash("sha512").update(combined).digest("hex"); +} From afc25ddbd26309bfc4d71f80fe20f3379509f0c3 Mon Sep 17 00:00:00 2001 From: tcely Date: Sat, 14 Mar 2026 19:49:27 -0400 Subject: [PATCH 11/48] Create signing-key.ts --- src/signing-key.ts | 75 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 src/signing-key.ts diff --git a/src/signing-key.ts b/src/signing-key.ts new file mode 100644 index 00000000..716fcfdc --- /dev/null +++ b/src/signing-key.ts @@ -0,0 +1,75 @@ +import * as openpgp from "openpgp"; +import { info } from "@actions/core"; +import { addGitHubApiHeaders } from "./github-api"; +import { getCache, setCache } from "./filesystem-cache"; +import { request } from "./utils"; +import { getVksUrl, getHkpUrl, getGitHubGpgUrl } from "./url"; + +const ROBOBUN_FP = "F3DCC08A8572C0749B3E18888EAB4D40A7B22B59"; +const ROBOBUN_STORAGE_KEY = `gpg-public-key-${ROBOBUN_FP}`; + +/** + * Validates the armored key and returns a clean, re-armored string. + */ +async function getCleanArmoredKey(input: string): Promise { + const key = await openpgp.readKey({ armoredKey: input }); + const actualFp = key.getFingerprint().toUpperCase(); + + if (actualFp !== ROBOBUN_FP) { + throw new Error( + `Fingerprint mismatch: expected ${ROBOBUN_FP}, got ${actualFp}`, + ); + } + + return key.armor(); +} + +/** + * Retrieves the robobun public key from the 12-hour filesystem storage or the pool. + */ +export async function getSigningKey(token?: string): Promise { + // 1. Check Filesystem Storage + const storedKey = getCache(ROBOBUN_STORAGE_KEY); + if (storedKey) { + try { + const cleanKey = await getCleanArmoredKey(storedKey); + info(`Retrieved verified public key from filesystem storage.`); + return await openpgp.readKey({ armoredKey: cleanKey }); + } catch { + // Fall through to fetch fresh if stored data is corrupted + } + } + + // 2. Resolve via Pool (VKS -> HKP -> GitHub) + const sources = [ + getVksUrl("keys.openpgp.org", ROBOBUN_FP), + getHkpUrl("keyserver.ubuntu.com", ROBOBUN_FP), + getGitHubGpgUrl("robobun"), + ]; + + for (const url of sources) { + try { + const parsedUrl = new URL(url); + + const headers = addGitHubApiHeaders(url, {}, token); + const res = await request(url, { headers: headers }); + const rawText = await res.text(); + + if (rawText.includes("-----BEGIN PGP PUBLIC KEY BLOCK-----")) { + const cleanKey = await getCleanArmoredKey(rawText); + + // 3. Persist the sanitized armored block to the filesystem + setCache(ROBOBUN_STORAGE_KEY, cleanKey); + + info(`Retrieved verified public key from ${parsedUrl.hostname}.`); + return await openpgp.readKey({ armoredKey: cleanKey }); + } + } catch { + continue; + } + } + + throw new Error( + `Failed to retrieve verified public key for ${ROBOBUN_FP} from all sources.`, + ); +} From c25a3bae0723e79fe0af5ea836e6fe4ab75fad4e Mon Sep 17 00:00:00 2001 From: tcely Date: Sat, 14 Mar 2026 19:49:30 -0400 Subject: [PATCH 12/48] Create manifest.ts --- src/manifest.ts | 196 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 196 insertions(+) create mode 100644 src/manifest.ts diff --git a/src/manifest.ts b/src/manifest.ts new file mode 100644 index 00000000..8aad7d88 --- /dev/null +++ b/src/manifest.ts @@ -0,0 +1,196 @@ +import * as openpgp from "openpgp"; +import { info, error } from "@actions/core"; +import { request } from "./utils"; +import { getSigningKey } from "./signing-key"; + +/** + * Extracts the creation date from an OpenPGP v6 signature object. + */ +async function getSignatureDate(signature: any): Promise { + if (null === signature) return null; + + try { + // 1. Official v6 async getter + if ("function" === typeof signature.getCreationTime) { + const date = await signature.getCreationTime(); + if (date instanceof Date) return date; + } + + const sigPacket = signature.signaturePacket; + if (null !== sigPacket && undefined !== sigPacket) { + // 2. Search Hashed Subpackets (Spec Type 2: Signature Creation Time) + const subpackets = [ + ...(sigPacket.hashedSubpackets || []), + ...(sigPacket.subpackets || []), + ]; + + const creationSub = subpackets.find( + (p) => 2 === p?.type || undefined !== p?.creationTime, + ); + if ( + undefined !== creationSub && + creationSub?.creationTime instanceof Date + ) { + return creationSub.creationTime; + } + // 2b. v6 internal subpacket search (Type 2 is Creation Time) + // We convert to Array because v6 subpackets can be an Iterable/Map + const hashed = sigPacket.hashedSubpackets || []; + const unhashed = sigPacket.unhashedSubpackets || []; + const allSubpackets = [...hashed, ...unhashed]; + + for (const p of allSubpackets) { + if (2 === p?.type && p?.creationTime instanceof Date) { + return p.creationTime; + } + } + + // 3. Check for the synchronous 'created' property + if (sigPacket.created instanceof Date) { + return sigPacket.created; + } + + // 4. Try the packet-level getter + if ("function" === typeof sigPacket.getCreationTime) { + const date = await sigPacket.getCreationTime(); + if (date instanceof Date) return date; + } + } + + // 5. Deep Search in 'packets' array + const packets = signature.packets || []; + if (Array.isArray(packets)) { + for (const p of packets) { + if ("function" === typeof p.getCreationTime) { + const date = await p.getCreationTime(); + if (date instanceof Date) return date; + } + } + } + } catch (err) { + // Silently continue + } + + return null; +} + +/** + * Fetches the clearsigned manifest (.asc) and returns the verified text content. + */ +export async function getVerifiedManifest( + downloadUrl: string, + token?: string, +): Promise { + const ascUrl = `${downloadUrl}.asc`; + const parsedUrl = new URL(ascUrl); + + /** + * Scoping the token to github.com prevents leaking credentials to + * third-party servers while allowing for higher rate limits and + * access to private repositories. + */ + const isGitHub = "github.com" === parsedUrl.hostname; + + const res = await request(ascUrl, { + headers: isGitHub && token ? { "Authorization": `Bearer ${token}` } : {}, + }); + + const armoredSignedMessage = await res.text(); + + /** + * We run these in parallel to avoid "waterfalling" the async work: + * 1. getSigningKey: Resolves/validates the 'robobun' public key from storage or pool. + * 2. readCleartextMessage: Parses the raw string into an OpenPGP message object. + */ + const [publicKey, message] = await Promise.all([ + getSigningKey(token), + openpgp.readCleartextMessage({ cleartextMessage: armoredSignedMessage }), + ]); + + const fingerprint = publicKey.getFingerprint().toUpperCase(); + + /** + * 'verification' holds a result object that includes the unverified data + * and an array of signature metadata. The actual validity of the bytes + * hasn't been checked yet. + */ + const verification = await openpgp.verify({ + message, + verificationKeys: publicKey, + format: "utf8", + }); + + const trustedKeyID = publicKey.getKeyID().toHex().toLowerCase(); + + info(`Trusted Key ID: ${trustedKeyID}`); + info(`Trusted Fingerprint: ${fingerprint}`); + + /** + * Filter for the signature that matches our trusted robobun fingerprint. + * This ensures we aren't misled by other signatures that might be present. + */ + const signature = verification.signatures.find((sig) => { + const sigKeyID = sig.keyID.toHex().toLowerCase(); + + const sigFingerprint = sig.signingKey?.getFingerprint().toUpperCase(); + if ( + (sigFingerprint && sigFingerprint === fingerprint) || + sigKeyID === trustedKeyID + ) { + return true; + } + + const signingSubkey = publicKey.getCommonKeys(sig.keyID)[0]; + if (signingSubkey) { + return signingSubkey.getFingerprint().toUpperCase() === fingerprint; + } + + return false; + }); + + if (!signature) { + throw new Error(`No PGP signatures from ${fingerprint} found in ${ascUrl}`); + } + + /** + * Log the signature details immediately. This allows us to see the + * identity claims before the cryptographic verification is attempted. + */ + // In v6, the creation time might be in the signature object directly + // or inside the internal packets. + const creationDate = await getSignatureDate(signature); + info("Checking PGP signature..."); + info( + `- Signed On: ${creationDate instanceof Date ? creationDate.toISOString() : "Unknown"}`, + ); + info(`- Key ID: ${signature.keyID.toHex().toLowerCase()}`); + info(`- Fingerprint: ${fingerprint}\n`); + + const { verified, data } = signature; + + try { + /** + * MUST await 'verified' to perform the cryptographic check. + * If the signature is invalid or tampered with, this throws. + */ + await verified; + info("Signature verified successfully."); + } catch (err: unknown) { + const message = (err as Error).message; + error(`PGP Signature verification failed: ${message}`); + throw new Error( + `PGP Signature verification failed for ${ascUrl}: ${message}`, + ); + } + + /** + * In v6, signature.data is undefined for cleartext. + * Use the 'message' object which is the CleartextMessage. + */ + const text = message.getText(); + if (!text) { + throw new Error("Verified manifest text is empty or undefined."); + } + + return text; +} From 44bbd277f2c448bb39d1b5c86e73e5d6cd032951 Mon Sep 17 00:00:00 2001 From: tcely Date: Sat, 14 Mar 2026 19:49:33 -0400 Subject: [PATCH 13/48] Create verify.ts --- src/verify.ts | 210 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 210 insertions(+) create mode 100644 src/verify.ts diff --git a/src/verify.ts b/src/verify.ts new file mode 100644 index 00000000..bf230a0e --- /dev/null +++ b/src/verify.ts @@ -0,0 +1,210 @@ +import { createHash } from "node:crypto"; +import { readFileSync, unlinkSync } from "node:fs"; +import { info, warning } from "@actions/core"; +import { GITHUB_DIGEST_THRESHOLD } from "./github-api"; +import { fetchAssetMetadata, getHexFromDigest } from "./github-asset"; +import { getVerifiedManifest } from "./manifest"; +import { getGitHubManifestUrl } from "./url"; + +class DigestVerificationError extends Error {} +class UnsupportedAlgorithmError extends Error {} + +interface AlgorithmConfig { + readonly manifestFile: string; +} + +type SupportedAlgorithmNames = "sha256"; + +const supportedAlgorithms = { + "sha256": { "manifestFile": "SHASUMS256.txt" }, +} as const satisfies Record; + +/** + * Type Guard: Checks if a string is a valid key in our dictionary + */ +function isSupportedAlgorithm( + algoName: string, +): algoName is SupportedAlgorithmNames { + return algoName in supportedAlgorithms; +} + +function getManifest(algoName: string): string { + // Use the Type Guard to narrow the string to a valid key + if (isSupportedAlgorithm(algoName)) { + // TypeScript now allows this access safely + return supportedAlgorithms[algoName].manifestFile; + } + + throw new UnsupportedAlgorithmError(`Unsupported algorithm: ${algoName}`); +} + +/** + * Orchestrates the full integrity check: + * Local Hash -> GitHub API Digest (if available) -> PGP Manifest. + * + * Unlinks (deletes) the zipPath if any digest comparison fails to prevent + * processing of untrusted binaries. + */ +export async function verifyAsset( + zipPath: string, + downloadUrl: string, + token?: string, + algorithm: SupportedAlgorithmNames = "sha256", +): Promise { + const manifestFile = getManifest(algorithm); + const urlObj = new URL(downloadUrl); + + const rawAssetName = urlObj.pathname.split("/").pop(); + if (!rawAssetName) { + throw new Error( + `Could not determine asset filename from URL: ${downloadUrl}`, + ); + } + + let assetName: string = rawAssetName; + + /** + * 1. Establish the Local Baseline. + * We hash the file immediately after download. If this doesn't match + * subsequent checks, the file on disk is either corrupted or tampered with. + */ + const fileBuffer = readFileSync(zipPath); + const actualHash = createHash(algorithm) + .update(fileBuffer) + .digest("hex") + .toLowerCase(); + + /** + * 2. Optional GitHub API Digest check. + * Only meaningful for official github.com release URLs; skipped silently + * for custom/mirror URLs where parseAssetUrl() cannot resolve metadata. + * Real security mismatches are always re-thrown. + */ + let digest_matched = false; + let manifestBaseUrl = ""; + try { + const metadata = await fetchAssetMetadata(downloadUrl, token); + assetName = metadata.name; + manifestBaseUrl = getGitHubManifestUrl( + metadata.owner, + metadata.repo, + metadata.tag, + manifestFile, + ); + const updatedAt = new Date(metadata.updated_at); + if (Number.isNaN(updatedAt.getTime())) { + silentUnlink(zipPath); + throw new DigestVerificationError( + `Invalid updated_at for asset ${assetName}`, + ); + } + + /** + * GitHub began providing immutable 'digests' for release assets in June 2025. + * For assets updated after our threshold, we cross-reference our local hash + * with GitHub's infrastructure hash. + */ + if (updatedAt >= GITHUB_DIGEST_THRESHOLD) { + info(`Verifying via asset metadata: ${assetName}`); + if (metadata.digest) { + const githubHash = getHexFromDigest(metadata.digest); + if (githubHash !== actualHash) { + silentUnlink(zipPath); + throw new DigestVerificationError( + `Security Mismatch: GitHub API digest (${githubHash}) differs from local hash (${actualHash})!`, + ); + } + digest_matched = true; + info(`GitHub API digest matched! (${metadata.digest})`); + } else { + warning( + `GitHub digest missing for asset updated on ${updatedAt.toISOString()}`, + ); + } + } + } catch (err) { + if (err instanceof DigestVerificationError) { + throw err; // always propagate real mismatches + } + const message = err instanceof Error ? err.message : String(err); + warning( + `Skipping GitHub API digest check for: ${downloadUrl} (${message})`, + ); + } + + /** + * Derive the asset filename and the manifest URL directly from the + * download URL — no GitHub API required for this step. + * e.g. .../bun-v1.x/bun-linux-x64.zip -> .../bun-v1.x/SHASUMS256.txt + */ + if (!manifestBaseUrl) { + const parsedDownloadUrl = new URL(downloadUrl); + const urlParts = parsedDownloadUrl.pathname.split("/"); + const lastSegment = urlParts[urlParts.length - 1] ?? ""; + + // Bun archives always follow the pattern: bun-.zip + if (!lastSegment.startsWith("bun-") || !lastSegment.endsWith(".zip")) { + throw new Error( + `Cannot derive manifest URL: "${downloadUrl}" ` + + `does not appear to be a direct Bun archive URL. ` + + `The path was expected to end with a filename matching "bun-*.zip".`, + ); + } + + urlParts[urlParts.length - 1] = manifestFile; + parsedDownloadUrl.pathname = urlParts.join("/"); + manifestBaseUrl = parsedDownloadUrl.href; + } + + /** + * 3. Fetch and Verify Mandatory PGP Manifest. + * getVerifiedManifest appends ".asc" internally to fetch SHASUMS256.txt.asc. + * For non-GitHub hosts the token is NOT forwarded (safe; manifest.ts checks + * hostname). If the manifest cannot be fetched, this throws — intentionally. + */ + const verifiedText = await getVerifiedManifest(manifestBaseUrl, token); + + /** + * Find the specific hash for this asset filename within the verified + * cleartext of the SHASUMS256.txt file. + */ + const manifestMatch = verifiedText + .split(/\r?\n/) + .map((line) => line.match(/^([A-Fa-f0-9]+) [* ](.+)$/)) + .find( + (m): m is RegExpMatchArray => Boolean(m) && m[2].trim() === assetName, + ); + + if (!manifestMatch) { + silentUnlink(zipPath); + throw new Error( + `No verified hash found for ${assetName} in the signed manifest.`, + ); + } + + /** + * index [1] contains the first capture group (the 64-char hex string) + */ + const manifestHash = manifestMatch[1].toLowerCase(); + + /** + * Final cross-check: The local file hash must exactly match the + * hash that was cryptographically signed by robobun. + */ + if (actualHash !== manifestHash) { + silentUnlink(zipPath); + throw new Error( + `Integrity Failure: Local hash (${actualHash}) does not match manifest (${manifestHash})`, + ); + } + + info(`Successfully verified ${assetName} (PGP + SHA256)`); +} + +function silentUnlink(filePath: string): void { + try { + unlinkSync(filePath); + } catch { + // preserve original verification error path + } +} From 39c33841fd5ed9ebddda90a417a0b3e254eef383 Mon Sep 17 00:00:00 2001 From: tcely Date: Sat, 14 Mar 2026 19:49:35 -0400 Subject: [PATCH 14/48] Update action.ts --- src/action.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/action.ts b/src/action.ts index da3665fd..98f4ea5d 100644 --- a/src/action.ts +++ b/src/action.ts @@ -18,6 +18,7 @@ import { saveState } from "@actions/core"; import { addExtension, extractVersionFromUrl, getCacheKey } from "./utils"; import { getDownloadUrl } from "./download-url"; import { cwd } from "node:process"; +import { verifyAsset } from "./verify"; export type Input = { customUrl?: string; @@ -121,7 +122,7 @@ export default async (options: Input): Promise => { if (!cacheHit) { info(`Downloading a new version of Bun: ${url}`); - revision = await downloadBun(url, bunPath); + revision = await downloadBun(url, bunPath, options.token); } } @@ -177,9 +178,15 @@ function isVersionMatch( async function downloadBun( url: string, bunPath: string, + token?: string, ): Promise { // Workaround for https://github.com/oven-sh/setup-bun/issues/79 and https://github.com/actions/toolkit/issues/1179 const zipPath = addExtension(await downloadTool(url), ".zip"); + + // INTEGRITY CHECK: Verify the download before extraction. + // This checks the Local Hash, GitHub Asset Digest, and the robobun PGP Signature. + await verifyAsset(zipPath, url, token); + const extractedZipPath = await extractZip(zipPath); const extractedBunPath = await extractBun(extractedZipPath); try { From cb80bdc5f2c8d64878b86a4e6b4031e13176cd90 Mon Sep 17 00:00:00 2001 From: tcely Date: Sat, 14 Mar 2026 19:49:38 -0400 Subject: [PATCH 15/48] Update dependencies --- package-lock.json | 1183 +++++++++++++++++++++++++++++++++++++++++++++ package.json | 17 +- 2 files changed, 1192 insertions(+), 8 deletions(-) create mode 100644 package-lock.json diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 00000000..2555021e --- /dev/null +++ b/package-lock.json @@ -0,0 +1,1183 @@ +{ + "name": "setup-bun", + "version": "2.1.3", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "setup-bun", + "version": "2.1.3", + "license": "MIT", + "dependencies": { + "@actions/cache": "^5.0.0", + "@actions/core": "^2.0.0", + "@actions/exec": "^2.0.0", + "@actions/glob": "^0.5.0", + "@actions/io": "^2.0.0", + "@actions/tool-cache": "^3.0.0", + "@iarna/toml": "^2.0.0", + "compare-versions": "6.1.1", + "openpgp": "^6.0.0" + }, + "devDependencies": { + "@types/bun": "^1.0.0", + "@types/node": "^20.0.0", + "esbuild": "^0.27.0", + "prettier": "^3.0.0", + "typescript": "^5.0.0" + } + }, + "node_modules/@actions/cache": { + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/@actions/cache/-/cache-5.0.5.tgz", + "integrity": "sha512-jiQSg0gfd+C2KPgcmdCOq7dCuCIQQWQ4b1YfGIRaaA9w7PJbRwTOcCz4LiFEUnqZGf0ha/8OKL3BeNwetHzYsQ==", + "license": "MIT", + "dependencies": { + "@actions/core": "^2.0.0", + "@actions/exec": "^2.0.0", + "@actions/glob": "^0.5.1", + "@actions/http-client": "^3.0.2", + "@actions/io": "^2.0.0", + "@azure/abort-controller": "^1.1.0", + "@azure/core-rest-pipeline": "^1.22.0", + "@azure/storage-blob": "^12.29.1", + "@protobuf-ts/runtime-rpc": "^2.11.1", + "semver": "^6.3.1" + } + }, + "node_modules/@actions/core": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@actions/core/-/core-2.0.3.tgz", + "integrity": "sha512-Od9Thc3T1mQJYddvVPM4QGiLUewdh+3txmDYHHxoNdkqysR1MbCT+rFOtNUxYAz+7+6RIsqipVahY2GJqGPyxA==", + "license": "MIT", + "dependencies": { + "@actions/exec": "^2.0.0", + "@actions/http-client": "^3.0.2" + } + }, + "node_modules/@actions/exec": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@actions/exec/-/exec-2.0.0.tgz", + "integrity": "sha512-k8ngrX2voJ/RIN6r9xB82NVqKpnMRtxDoiO+g3olkIUpQNqjArXrCQceduQZCQj3P3xm32pChRLqRrtXTlqhIw==", + "license": "MIT", + "dependencies": { + "@actions/io": "^2.0.0" + } + }, + "node_modules/@actions/glob": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/@actions/glob/-/glob-0.5.1.tgz", + "integrity": "sha512-+dv/t2aKQdKp9WWSp+1yIXVJzH5Q38M0Mta26pzIbeec14EcIleMB7UU6N7sNgbEuYfyuVGpE5pOKjl6j1WXkA==", + "license": "MIT", + "dependencies": { + "@actions/core": "^2.0.3", + "minimatch": "^3.0.4" + } + }, + "node_modules/@actions/http-client": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-3.0.2.tgz", + "integrity": "sha512-JP38FYYpyqvUsz+Igqlc/JG6YO9PaKuvqjM3iGvaLqFnJ7TFmcLyy2IDrY0bI0qCQug8E9K+elv5ZNfw62ZJzA==", + "license": "MIT", + "dependencies": { + "tunnel": "^0.0.6", + "undici": "^6.23.0" + } + }, + "node_modules/@actions/io": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@actions/io/-/io-2.0.0.tgz", + "integrity": "sha512-Jv33IN09XLO+0HS79aaODsvIRyduiF7NY/F6LYeK5oeUmrsz7aFdRphQjFoESF4jS7lMauDOttKALcpapVDIAg==", + "license": "MIT" + }, + "node_modules/@actions/tool-cache": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@actions/tool-cache/-/tool-cache-3.0.1.tgz", + "integrity": "sha512-euK7sID37jMg1yWGkdXkLPI5Te7x/+2QMUPeHXogcpzUZ81mqlDZ+CgYhQo3LtB8LpVnnQyjs+hTTU0Ir4Y0RQ==", + "license": "MIT", + "dependencies": { + "@actions/core": "^2.0.1", + "@actions/exec": "^2.0.0", + "@actions/http-client": "^3.0.2", + "@actions/io": "^2.0.0", + "semver": "^6.1.0" + } + }, + "node_modules/@azure/abort-controller": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@azure/abort-controller/-/abort-controller-1.1.0.tgz", + "integrity": "sha512-TrRLIoSQVzfAJX9H1JeFjzAoDGcoK1IYX1UImfceTZpsyYfWr09Ss1aHW1y5TrrR3iq6RZLBwJ3E24uwPhwahw==", + "license": "MIT", + "dependencies": { + "tslib": "^2.2.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/@azure/core-auth": { + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/@azure/core-auth/-/core-auth-1.10.1.tgz", + "integrity": "sha512-ykRMW8PjVAn+RS6ww5cmK9U2CyH9p4Q88YJwvUslfuMmN98w/2rdGRLPqJYObapBCdzBVeDgYWdJnFPFb7qzpg==", + "license": "MIT", + "dependencies": { + "@azure/abort-controller": "^2.1.2", + "@azure/core-util": "^1.13.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@azure/core-auth/node_modules/@azure/abort-controller": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/@azure/abort-controller/-/abort-controller-2.1.2.tgz", + "integrity": "sha512-nBrLsEWm4J2u5LpAPjxADTlq3trDgVZZXHNKabeXZtpq3d3AbN/KGO82R87rdDz5/lYB024rtEf10/q0urNgsA==", + "license": "MIT", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@azure/core-client": { + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/@azure/core-client/-/core-client-1.10.1.tgz", + "integrity": "sha512-Nh5PhEOeY6PrnxNPsEHRr9eimxLwgLlpmguQaHKBinFYA/RU9+kOYVOQqOrTsCL+KSxrLLl1gD8Dk5BFW/7l/w==", + "license": "MIT", + "dependencies": { + "@azure/abort-controller": "^2.1.2", + "@azure/core-auth": "^1.10.0", + "@azure/core-rest-pipeline": "^1.22.0", + "@azure/core-tracing": "^1.3.0", + "@azure/core-util": "^1.13.0", + "@azure/logger": "^1.3.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@azure/core-client/node_modules/@azure/abort-controller": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/@azure/abort-controller/-/abort-controller-2.1.2.tgz", + "integrity": "sha512-nBrLsEWm4J2u5LpAPjxADTlq3trDgVZZXHNKabeXZtpq3d3AbN/KGO82R87rdDz5/lYB024rtEf10/q0urNgsA==", + "license": "MIT", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@azure/core-http-compat": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/@azure/core-http-compat/-/core-http-compat-2.3.2.tgz", + "integrity": "sha512-Tf6ltdKzOJEgxZeWLCjMxrxbodB/ZeCbzzA1A2qHbhzAjzjHoBVSUeSl/baT/oHAxhc4qdqVaDKnc2+iE932gw==", + "license": "MIT", + "dependencies": { + "@azure/abort-controller": "^2.1.2" + }, + "engines": { + "node": ">=20.0.0" + }, + "peerDependencies": { + "@azure/core-client": "^1.10.0", + "@azure/core-rest-pipeline": "^1.22.0" + } + }, + "node_modules/@azure/core-http-compat/node_modules/@azure/abort-controller": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/@azure/abort-controller/-/abort-controller-2.1.2.tgz", + "integrity": "sha512-nBrLsEWm4J2u5LpAPjxADTlq3trDgVZZXHNKabeXZtpq3d3AbN/KGO82R87rdDz5/lYB024rtEf10/q0urNgsA==", + "license": "MIT", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@azure/core-lro": { + "version": "2.7.2", + "resolved": "https://registry.npmjs.org/@azure/core-lro/-/core-lro-2.7.2.tgz", + "integrity": "sha512-0YIpccoX8m/k00O7mDDMdJpbr6mf1yWo2dfmxt5A8XVZVVMz2SSKaEbMCeJRvgQ0IaSlqhjT47p4hVIRRy90xw==", + "license": "MIT", + "dependencies": { + "@azure/abort-controller": "^2.0.0", + "@azure/core-util": "^1.2.0", + "@azure/logger": "^1.0.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@azure/core-lro/node_modules/@azure/abort-controller": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/@azure/abort-controller/-/abort-controller-2.1.2.tgz", + "integrity": "sha512-nBrLsEWm4J2u5LpAPjxADTlq3trDgVZZXHNKabeXZtpq3d3AbN/KGO82R87rdDz5/lYB024rtEf10/q0urNgsA==", + "license": "MIT", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@azure/core-paging": { + "version": "1.6.2", + "resolved": "https://registry.npmjs.org/@azure/core-paging/-/core-paging-1.6.2.tgz", + "integrity": "sha512-YKWi9YuCU04B55h25cnOYZHxXYtEvQEbKST5vqRga7hWY9ydd3FZHdeQF8pyh+acWZvppw13M/LMGx0LABUVMA==", + "license": "MIT", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@azure/core-rest-pipeline": { + "version": "1.22.2", + "resolved": "https://registry.npmjs.org/@azure/core-rest-pipeline/-/core-rest-pipeline-1.22.2.tgz", + "integrity": "sha512-MzHym+wOi8CLUlKCQu12de0nwcq9k9Kuv43j4Wa++CsCpJwps2eeBQwD2Bu8snkxTtDKDx4GwjuR9E8yC8LNrg==", + "license": "MIT", + "dependencies": { + "@azure/abort-controller": "^2.1.2", + "@azure/core-auth": "^1.10.0", + "@azure/core-tracing": "^1.3.0", + "@azure/core-util": "^1.13.0", + "@azure/logger": "^1.3.0", + "@typespec/ts-http-runtime": "^0.3.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@azure/core-rest-pipeline/node_modules/@azure/abort-controller": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/@azure/abort-controller/-/abort-controller-2.1.2.tgz", + "integrity": "sha512-nBrLsEWm4J2u5LpAPjxADTlq3trDgVZZXHNKabeXZtpq3d3AbN/KGO82R87rdDz5/lYB024rtEf10/q0urNgsA==", + "license": "MIT", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@azure/core-tracing": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/@azure/core-tracing/-/core-tracing-1.3.1.tgz", + "integrity": "sha512-9MWKevR7Hz8kNzzPLfX4EAtGM2b8mr50HPDBvio96bURP/9C+HjdH3sBlLSNNrvRAr5/k/svoH457gB5IKpmwQ==", + "license": "MIT", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@azure/core-util": { + "version": "1.13.1", + "resolved": "https://registry.npmjs.org/@azure/core-util/-/core-util-1.13.1.tgz", + "integrity": "sha512-XPArKLzsvl0Hf0CaGyKHUyVgF7oDnhKoP85Xv6M4StF/1AhfORhZudHtOyf2s+FcbuQ9dPRAjB8J2KvRRMUK2A==", + "license": "MIT", + "dependencies": { + "@azure/abort-controller": "^2.1.2", + "@typespec/ts-http-runtime": "^0.3.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@azure/core-util/node_modules/@azure/abort-controller": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/@azure/abort-controller/-/abort-controller-2.1.2.tgz", + "integrity": "sha512-nBrLsEWm4J2u5LpAPjxADTlq3trDgVZZXHNKabeXZtpq3d3AbN/KGO82R87rdDz5/lYB024rtEf10/q0urNgsA==", + "license": "MIT", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@azure/core-xml": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@azure/core-xml/-/core-xml-1.5.0.tgz", + "integrity": "sha512-D/sdlJBMJfx7gqoj66PKVmhDDaU6TKA49ptcolxdas29X7AfvLTmfAGLjAcIMBK7UZ2o4lygHIqVckOlQU3xWw==", + "license": "MIT", + "dependencies": { + "fast-xml-parser": "^5.0.7", + "tslib": "^2.8.1" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@azure/logger": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@azure/logger/-/logger-1.3.0.tgz", + "integrity": "sha512-fCqPIfOcLE+CGqGPd66c8bZpwAji98tZ4JI9i/mlTNTlsIWslCfpg48s/ypyLxZTump5sypjrKn2/kY7q8oAbA==", + "license": "MIT", + "dependencies": { + "@typespec/ts-http-runtime": "^0.3.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@azure/storage-blob": { + "version": "12.31.0", + "resolved": "https://registry.npmjs.org/@azure/storage-blob/-/storage-blob-12.31.0.tgz", + "integrity": "sha512-DBgNv10aCSxopt92DkTDD0o9xScXeBqPKGmR50FPZQaEcH4JLQ+GEOGEDv19V5BMkB7kxr+m4h6il/cCDPvmHg==", + "license": "MIT", + "dependencies": { + "@azure/abort-controller": "^2.1.2", + "@azure/core-auth": "^1.9.0", + "@azure/core-client": "^1.9.3", + "@azure/core-http-compat": "^2.2.0", + "@azure/core-lro": "^2.2.0", + "@azure/core-paging": "^1.6.2", + "@azure/core-rest-pipeline": "^1.19.1", + "@azure/core-tracing": "^1.2.0", + "@azure/core-util": "^1.11.0", + "@azure/core-xml": "^1.4.5", + "@azure/logger": "^1.1.4", + "@azure/storage-common": "^12.3.0", + "events": "^3.0.0", + "tslib": "^2.8.1" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@azure/storage-blob/node_modules/@azure/abort-controller": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/@azure/abort-controller/-/abort-controller-2.1.2.tgz", + "integrity": "sha512-nBrLsEWm4J2u5LpAPjxADTlq3trDgVZZXHNKabeXZtpq3d3AbN/KGO82R87rdDz5/lYB024rtEf10/q0urNgsA==", + "license": "MIT", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@azure/storage-common": { + "version": "12.3.0", + "resolved": "https://registry.npmjs.org/@azure/storage-common/-/storage-common-12.3.0.tgz", + "integrity": "sha512-/OFHhy86aG5Pe8dP5tsp+BuJ25JOAl9yaMU3WZbkeoiFMHFtJ7tu5ili7qEdBXNW9G5lDB19trwyI6V49F/8iQ==", + "license": "MIT", + "dependencies": { + "@azure/abort-controller": "^2.1.2", + "@azure/core-auth": "^1.9.0", + "@azure/core-http-compat": "^2.2.0", + "@azure/core-rest-pipeline": "^1.19.1", + "@azure/core-tracing": "^1.2.0", + "@azure/core-util": "^1.11.0", + "@azure/logger": "^1.1.4", + "events": "^3.3.0", + "tslib": "^2.8.1" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@azure/storage-common/node_modules/@azure/abort-controller": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/@azure/abort-controller/-/abort-controller-2.1.2.tgz", + "integrity": "sha512-nBrLsEWm4J2u5LpAPjxADTlq3trDgVZZXHNKabeXZtpq3d3AbN/KGO82R87rdDz5/lYB024rtEf10/q0urNgsA==", + "license": "MIT", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@esbuild/aix-ppc64": { + "version": "0.27.3", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.27.3.tgz", + "integrity": "sha512-9fJMTNFTWZMh5qwrBItuziu834eOCUcEqymSH7pY+zoMVEZg3gcPuBNxH1EvfVYe9h0x/Ptw8KBzv7qxb7l8dg==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "aix" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-arm": { + "version": "0.27.3", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.27.3.tgz", + "integrity": "sha512-i5D1hPY7GIQmXlXhs2w8AWHhenb00+GxjxRncS2ZM7YNVGNfaMxgzSGuO8o8SJzRc/oZwU2bcScvVERk03QhzA==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-arm64": { + "version": "0.27.3", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.27.3.tgz", + "integrity": "sha512-YdghPYUmj/FX2SYKJ0OZxf+iaKgMsKHVPF1MAq/P8WirnSpCStzKJFjOjzsW0QQ7oIAiccHdcqjbHmJxRb/dmg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-x64": { + "version": "0.27.3", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.27.3.tgz", + "integrity": "sha512-IN/0BNTkHtk8lkOM8JWAYFg4ORxBkZQf9zXiEOfERX/CzxW3Vg1ewAhU7QSWQpVIzTW+b8Xy+lGzdYXV6UZObQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/darwin-arm64": { + "version": "0.27.3", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.27.3.tgz", + "integrity": "sha512-Re491k7ByTVRy0t3EKWajdLIr0gz2kKKfzafkth4Q8A5n1xTHrkqZgLLjFEHVD+AXdUGgQMq+Godfq45mGpCKg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/darwin-x64": { + "version": "0.27.3", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.27.3.tgz", + "integrity": "sha512-vHk/hA7/1AckjGzRqi6wbo+jaShzRowYip6rt6q7VYEDX4LEy1pZfDpdxCBnGtl+A5zq8iXDcyuxwtv3hNtHFg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/freebsd-arm64": { + "version": "0.27.3", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.27.3.tgz", + "integrity": "sha512-ipTYM2fjt3kQAYOvo6vcxJx3nBYAzPjgTCk7QEgZG8AUO3ydUhvelmhrbOheMnGOlaSFUoHXB6un+A7q4ygY9w==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/freebsd-x64": { + "version": "0.27.3", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.27.3.tgz", + "integrity": "sha512-dDk0X87T7mI6U3K9VjWtHOXqwAMJBNN2r7bejDsc+j03SEjtD9HrOl8gVFByeM0aJksoUuUVU9TBaZa2rgj0oA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-arm": { + "version": "0.27.3", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.27.3.tgz", + "integrity": "sha512-s6nPv2QkSupJwLYyfS+gwdirm0ukyTFNl3KTgZEAiJDd+iHZcbTPPcWCcRYH+WlNbwChgH2QkE9NSlNrMT8Gfw==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-arm64": { + "version": "0.27.3", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.27.3.tgz", + "integrity": "sha512-sZOuFz/xWnZ4KH3YfFrKCf1WyPZHakVzTiqji3WDc0BCl2kBwiJLCXpzLzUBLgmp4veFZdvN5ChW4Eq/8Fc2Fg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-ia32": { + "version": "0.27.3", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.27.3.tgz", + "integrity": "sha512-yGlQYjdxtLdh0a3jHjuwOrxQjOZYD/C9PfdbgJJF3TIZWnm/tMd/RcNiLngiu4iwcBAOezdnSLAwQDPqTmtTYg==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-loong64": { + "version": "0.27.3", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.27.3.tgz", + "integrity": "sha512-WO60Sn8ly3gtzhyjATDgieJNet/KqsDlX5nRC5Y3oTFcS1l0KWba+SEa9Ja1GfDqSF1z6hif/SkpQJbL63cgOA==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-mips64el": { + "version": "0.27.3", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.27.3.tgz", + "integrity": "sha512-APsymYA6sGcZ4pD6k+UxbDjOFSvPWyZhjaiPyl/f79xKxwTnrn5QUnXR5prvetuaSMsb4jgeHewIDCIWljrSxw==", + "cpu": [ + "mips64el" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-ppc64": { + "version": "0.27.3", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.27.3.tgz", + "integrity": "sha512-eizBnTeBefojtDb9nSh4vvVQ3V9Qf9Df01PfawPcRzJH4gFSgrObw+LveUyDoKU3kxi5+9RJTCWlj4FjYXVPEA==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-riscv64": { + "version": "0.27.3", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.27.3.tgz", + "integrity": "sha512-3Emwh0r5wmfm3ssTWRQSyVhbOHvqegUDRd0WhmXKX2mkHJe1SFCMJhagUleMq+Uci34wLSipf8Lagt4LlpRFWQ==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-s390x": { + "version": "0.27.3", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.27.3.tgz", + "integrity": "sha512-pBHUx9LzXWBc7MFIEEL0yD/ZVtNgLytvx60gES28GcWMqil8ElCYR4kvbV2BDqsHOvVDRrOxGySBM9Fcv744hw==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-x64": { + "version": "0.27.3", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.27.3.tgz", + "integrity": "sha512-Czi8yzXUWIQYAtL/2y6vogER8pvcsOsk5cpwL4Gk5nJqH5UZiVByIY8Eorm5R13gq+DQKYg0+JyQoytLQas4dA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/netbsd-arm64": { + "version": "0.27.3", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.27.3.tgz", + "integrity": "sha512-sDpk0RgmTCR/5HguIZa9n9u+HVKf40fbEUt+iTzSnCaGvY9kFP0YKBWZtJaraonFnqef5SlJ8/TiPAxzyS+UoA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/netbsd-x64": { + "version": "0.27.3", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.27.3.tgz", + "integrity": "sha512-P14lFKJl/DdaE00LItAukUdZO5iqNH7+PjoBm+fLQjtxfcfFE20Xf5CrLsmZdq5LFFZzb5JMZ9grUwvtVYzjiA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openbsd-arm64": { + "version": "0.27.3", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.27.3.tgz", + "integrity": "sha512-AIcMP77AvirGbRl/UZFTq5hjXK+2wC7qFRGoHSDrZ5v5b8DK/GYpXW3CPRL53NkvDqb9D+alBiC/dV0Fb7eJcw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openbsd-x64": { + "version": "0.27.3", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.27.3.tgz", + "integrity": "sha512-DnW2sRrBzA+YnE70LKqnM3P+z8vehfJWHXECbwBmH/CU51z6FiqTQTHFenPlHmo3a8UgpLyH3PT+87OViOh1AQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openharmony-arm64": { + "version": "0.27.3", + "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.27.3.tgz", + "integrity": "sha512-NinAEgr/etERPTsZJ7aEZQvvg/A6IsZG/LgZy+81wON2huV7SrK3e63dU0XhyZP4RKGyTm7aOgmQk0bGp0fy2g==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openharmony" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/sunos-x64": { + "version": "0.27.3", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.27.3.tgz", + "integrity": "sha512-PanZ+nEz+eWoBJ8/f8HKxTTD172SKwdXebZ0ndd953gt1HRBbhMsaNqjTyYLGLPdoWHy4zLU7bDVJztF5f3BHA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-arm64": { + "version": "0.27.3", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.27.3.tgz", + "integrity": "sha512-B2t59lWWYrbRDw/tjiWOuzSsFh1Y/E95ofKz7rIVYSQkUYBjfSgf6oeYPNWHToFRr2zx52JKApIcAS/D5TUBnA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-ia32": { + "version": "0.27.3", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.27.3.tgz", + "integrity": "sha512-QLKSFeXNS8+tHW7tZpMtjlNb7HKau0QDpwm49u0vUp9y1WOF+PEzkU84y9GqYaAVW8aH8f3GcBck26jh54cX4Q==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-x64": { + "version": "0.27.3", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.27.3.tgz", + "integrity": "sha512-4uJGhsxuptu3OcpVAzli+/gWusVGwZZHTlS63hh++ehExkVT8SgiEf7/uC/PclrPPkLhZqGgCTjd0VWLo6xMqA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@iarna/toml": { + "version": "2.2.5", + "resolved": "https://registry.npmjs.org/@iarna/toml/-/toml-2.2.5.tgz", + "integrity": "sha512-trnsAYxU3xnS1gPHPyU961coFyLkh4gAD/0zQ5mymY4yOZ+CYvsPqUbOFSw0aDM4y0tV7tiFxL/1XfXPNC6IPg==", + "license": "ISC" + }, + "node_modules/@protobuf-ts/runtime": { + "version": "2.11.1", + "resolved": "https://registry.npmjs.org/@protobuf-ts/runtime/-/runtime-2.11.1.tgz", + "integrity": "sha512-KuDaT1IfHkugM2pyz+FwiY80ejWrkH1pAtOBOZFuR6SXEFTsnb/jiQWQ1rCIrcKx2BtyxnxW6BWwsVSA/Ie+WQ==", + "license": "(Apache-2.0 AND BSD-3-Clause)" + }, + "node_modules/@protobuf-ts/runtime-rpc": { + "version": "2.11.1", + "resolved": "https://registry.npmjs.org/@protobuf-ts/runtime-rpc/-/runtime-rpc-2.11.1.tgz", + "integrity": "sha512-4CqqUmNA+/uMz00+d3CYKgElXO9VrEbucjnBFEjqI4GuDrEQ32MaI3q+9qPBvIGOlL4PmHXrzM32vBPWRhQKWQ==", + "license": "Apache-2.0", + "dependencies": { + "@protobuf-ts/runtime": "^2.11.1" + } + }, + "node_modules/@types/bun": { + "version": "1.3.10", + "resolved": "https://registry.npmjs.org/@types/bun/-/bun-1.3.10.tgz", + "integrity": "sha512-0+rlrUrOrTSskibryHbvQkDOWRJwJZqZlxrUs1u4oOoTln8+WIXBPmAuCF35SWB2z4Zl3E84Nl/D0P7803nigQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "bun-types": "1.3.10" + } + }, + "node_modules/@types/node": { + "version": "20.19.35", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.19.35.tgz", + "integrity": "sha512-Uarfe6J91b9HAUXxjvSOdiO2UPOKLm07Q1oh0JHxoZ1y8HoqxDAu3gVrsrOHeiio0kSsoVBt4wFrKOm0dKxVPQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "undici-types": "~6.21.0" + } + }, + "node_modules/@typespec/ts-http-runtime": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@typespec/ts-http-runtime/-/ts-http-runtime-0.3.3.tgz", + "integrity": "sha512-91fp6CAAJSRtH5ja95T1FHSKa8aPW9/Zw6cta81jlZTUw/+Vq8jM/AfF/14h2b71wwR84JUTW/3Y8QPhDAawFA==", + "license": "MIT", + "dependencies": { + "http-proxy-agent": "^7.0.0", + "https-proxy-agent": "^7.0.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/agent-base": { + "version": "7.1.4", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.4.tgz", + "integrity": "sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ==", + "license": "MIT", + "engines": { + "node": ">= 14" + } + }, + "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/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==", + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/bun-types": { + "version": "1.3.10", + "resolved": "https://registry.npmjs.org/bun-types/-/bun-types-1.3.10.tgz", + "integrity": "sha512-tcpfCCl6XWo6nCVnpcVrxQ+9AYN1iqMIzgrSKYMB/fjLtV2eyAVEg7AxQJuCq/26R6HpKWykQXuSOq/21RYcbg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/compare-versions": { + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/compare-versions/-/compare-versions-6.1.1.tgz", + "integrity": "sha512-4hm4VPpIecmlg59CHXnRDnqGplJFrbLG4aFEl5vl6cK1u76ws3LLvX7ikFnTDl5vo39sjWD6AaDPYodJp/NNHg==", + "license": "MIT" + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", + "license": "MIT" + }, + "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/esbuild": { + "version": "0.27.3", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.27.3.tgz", + "integrity": "sha512-8VwMnyGCONIs6cWue2IdpHxHnAjzxnw2Zr7MkVxB2vjmQ2ivqGFb4LEG3SMnv0Gb2F/G/2yA8zUaiL1gywDCCg==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=18" + }, + "optionalDependencies": { + "@esbuild/aix-ppc64": "0.27.3", + "@esbuild/android-arm": "0.27.3", + "@esbuild/android-arm64": "0.27.3", + "@esbuild/android-x64": "0.27.3", + "@esbuild/darwin-arm64": "0.27.3", + "@esbuild/darwin-x64": "0.27.3", + "@esbuild/freebsd-arm64": "0.27.3", + "@esbuild/freebsd-x64": "0.27.3", + "@esbuild/linux-arm": "0.27.3", + "@esbuild/linux-arm64": "0.27.3", + "@esbuild/linux-ia32": "0.27.3", + "@esbuild/linux-loong64": "0.27.3", + "@esbuild/linux-mips64el": "0.27.3", + "@esbuild/linux-ppc64": "0.27.3", + "@esbuild/linux-riscv64": "0.27.3", + "@esbuild/linux-s390x": "0.27.3", + "@esbuild/linux-x64": "0.27.3", + "@esbuild/netbsd-arm64": "0.27.3", + "@esbuild/netbsd-x64": "0.27.3", + "@esbuild/openbsd-arm64": "0.27.3", + "@esbuild/openbsd-x64": "0.27.3", + "@esbuild/openharmony-arm64": "0.27.3", + "@esbuild/sunos-x64": "0.27.3", + "@esbuild/win32-arm64": "0.27.3", + "@esbuild/win32-ia32": "0.27.3", + "@esbuild/win32-x64": "0.27.3" + } + }, + "node_modules/events": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", + "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", + "license": "MIT", + "engines": { + "node": ">=0.8.x" + } + }, + "node_modules/fast-xml-builder": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fast-xml-builder/-/fast-xml-builder-1.0.0.tgz", + "integrity": "sha512-fpZuDogrAgnyt9oDDz+5DBz0zgPdPZz6D4IR7iESxRXElrlGTRkHJ9eEt+SACRJwT0FNFrt71DFQIUFBJfX/uQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/NaturalIntelligence" + } + ], + "license": "MIT" + }, + "node_modules/fast-xml-parser": { + "version": "5.4.2", + "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.4.2.tgz", + "integrity": "sha512-pw/6pIl4k0CSpElPEJhDppLzaixDEuWui2CUQQBH/ECDf7+y6YwA4Gf7Tyb0Rfe4DIMuZipYj4AEL0nACKglvQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/NaturalIntelligence" + } + ], + "license": "MIT", + "dependencies": { + "fast-xml-builder": "^1.0.0", + "strnum": "^2.1.2" + }, + "bin": { + "fxparser": "src/cli/cli.js" + } + }, + "node_modules/http-proxy-agent": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz", + "integrity": "sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==", + "license": "MIT", + "dependencies": { + "agent-base": "^7.1.0", + "debug": "^4.3.4" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/https-proxy-agent": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz", + "integrity": "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==", + "license": "MIT", + "dependencies": { + "agent-base": "^7.1.2", + "debug": "4" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/minimatch": { + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz", + "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==", + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "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/openpgp": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/openpgp/-/openpgp-6.3.0.tgz", + "integrity": "sha512-pLzCU8IgyKXPSO11eeharQkQ4GzOKNWhXq79pQarIRZEMt1/ssyr+MIuWBv1mNoenJLg04gvPx+fi4gcKZ4bag==", + "license": "LGPL-3.0+", + "engines": { + "node": ">= 18.0.0" + } + }, + "node_modules/prettier": { + "version": "3.8.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.8.1.tgz", + "integrity": "sha512-UOnG6LftzbdaHZcKoPFtOcCKztrQ57WkHDeRD9t/PTQtmT0NHSeWWepj6pS0z/N7+08BHFDQVUrfmfMRcZwbMg==", + "dev": true, + "license": "MIT", + "bin": { + "prettier": "bin/prettier.cjs" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + }, + "node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/strnum": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/strnum/-/strnum-2.2.0.tgz", + "integrity": "sha512-Y7Bj8XyJxnPAORMZj/xltsfo55uOiyHcU2tnAVzHUnSJR/KsEX+9RoDeXEnsXtl/CX4fAcrt64gZ13aGaWPeBg==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/NaturalIntelligence" + } + ], + "license": "MIT" + }, + "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/tunnel": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.6.tgz", + "integrity": "sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg==", + "license": "MIT", + "engines": { + "node": ">=0.6.11 <=0.7.0 || >=0.7.3" + } + }, + "node_modules/typescript": { + "version": "5.9.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz", + "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, + "node_modules/undici": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/undici/-/undici-6.23.0.tgz", + "integrity": "sha512-VfQPToRA5FZs/qJxLIinmU59u0r7LXqoJkCzinq3ckNJp3vKEh7jTWN589YQ5+aoAC/TGRLyJLCPKcLQbM8r9g==", + "license": "MIT", + "engines": { + "node": ">=18.17" + } + }, + "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==", + "dev": true, + "license": "MIT" + } + } +} diff --git a/package.json b/package.json index 2cc92a5c..584d2aaa 100644 --- a/package.json +++ b/package.json @@ -22,21 +22,22 @@ "start": "npm run build && node dist/setup/index.js" }, "dependencies": { - "@actions/cache": "^5.0.5", - "@actions/core": "^2.0.3", + "@actions/cache": "^5.0.0", + "@actions/core": "^2.0.0", "@actions/exec": "^2.0.0", "@actions/glob": "^0.5.0", "@actions/io": "^2.0.0", "@actions/tool-cache": "^3.0.0", - "@iarna/toml": "^2.2.5", - "compare-versions": "^6.1.1" + "@iarna/toml": "^2.0.0", + "compare-versions": "6.1.1", + "openpgp": "^6.0.0" }, "devDependencies": { - "@types/bun": "^1.3.10", + "@types/bun": "^1.0.0", "@types/node": "^24.0.0", - "esbuild": "^0.19.12", - "prettier": "^3.8.1", - "typescript": "^4.9.5" + "esbuild": "^0.27.0", + "prettier": "^3.0.0", + "typescript": "^5.0.0" }, "patchedDependencies": { "compare-versions@6.1.1": "patches/compare-versions@6.1.1.patch" From 8c28d41e29750a7e0df3eb268f7dcc62a8e841d5 Mon Sep 17 00:00:00 2001 From: tcely Date: Sat, 14 Mar 2026 19:49:41 -0400 Subject: [PATCH 16/48] Adjust build script for openpgp --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 584d2aaa..d0fdb38f 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "author": "xHyroM", "scripts": { "format": "prettier --write src *.yml *.json *.md", - "build": "esbuild --target=node24 --outfile=dist/setup/index.js --bundle --keep-names --minify --platform=node --format=cjs src/index.ts && esbuild --target=node24 --outfile=dist/cache-save/index.js --bundle --keep-names --minify --platform=node --format=cjs src/cache-save.ts", + "build": "esbuild --target=node24 --outfile=dist/setup/index.js --bundle --keep-names --minify --platform=node --format=cjs --banner:js=\"var import_meta_url = require('url').pathToFileURL(__filename).href;\" --define:import.meta.url=import_meta_url src/index.ts && esbuild --target=node24 --outfile=dist/cache-save/index.js --bundle --keep-names --minify --platform=node --format=cjs --banner:js=\"var import_meta_url = require('url').pathToFileURL(__filename).href;\" --define:import.meta.url=import_meta_url src/cache-save.ts", "start": "npm run build && node dist/setup/index.js" }, "dependencies": { From 12545bd766064033e319e9954401bd20dee5ae6b Mon Sep 17 00:00:00 2001 From: tcely Date: Sat, 14 Mar 2026 19:49:44 -0400 Subject: [PATCH 17/48] Update test.yml --- .github/workflows/test.yml | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c5b564b2..a7093277 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -225,6 +225,25 @@ jobs: - windows-latest steps: + - name: Normalize runner details + id: normalized + shell: bash + run: | + runner_arch="$(case '${{ runner.arch }}' in + (X64) printf x64 ;; + (ARM64) printf aarch64 ;; + (*) echo "Unsupported runner.arch: ${{ runner.arch }}" >&2; exit 1 ;; + esac)" + runner_os="$(case '${{ runner.os }}' in + (macOS) printf darwin ;; + (Linux) printf linux ;; + (Windows) printf windows ;; + (*) echo "Unsupported runner.os: ${{ runner.os }}" >&2; exit 1 ;; + esac)" + printf >> "${GITHUB_OUTPUT}" -- '%s=%s\n' \ + runner_arch "${runner_arch}" \ + runner_os "${runner_os}" + - name: 📥 Checkout uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 @@ -232,7 +251,7 @@ jobs: uses: ./ id: setup_bun with: - bun-download-url: "https://github.com/oven-sh/bun/releases/latest/download/bun-${{runner.os == 'macOS' && 'darwin' || runner.os}}-${{ runner.arch == 'X64' && 'x64' || 'aarch64' }}.zip" + bun-download-url: "https://github.com/oven-sh/bun/releases/latest/download/bun-${{ steps.normalized.outputs.runner_os }}-${{ steps.normalized.outputs.runner_arch }}.zip" - name: ▶️ Run Bun id: run_bun From ed0aa9a333746a9088a3454209632d2d852aa131 Mon Sep 17 00:00:00 2001 From: tcely Date: Sat, 14 Mar 2026 19:49:47 -0400 Subject: [PATCH 18/48] Patch node_modules --- package-lock.json | 759 ++++++++++++++++++++++++++- package.json | 8 +- patches/compare-versions+6.1.1.patch | 359 +++++++++++++ patches/compare-versions@6.1.1.patch | 67 --- 4 files changed, 1113 insertions(+), 80 deletions(-) create mode 100644 patches/compare-versions+6.1.1.patch delete mode 100644 patches/compare-versions@6.1.1.patch diff --git a/package-lock.json b/package-lock.json index 2555021e..a86274a8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23,6 +23,7 @@ "@types/bun": "^1.0.0", "@types/node": "^20.0.0", "esbuild": "^0.27.0", + "patch-package": "^8.0.0", "prettier": "^3.0.0", "typescript": "^5.0.0" } @@ -239,9 +240,9 @@ } }, "node_modules/@azure/core-rest-pipeline": { - "version": "1.22.2", - "resolved": "https://registry.npmjs.org/@azure/core-rest-pipeline/-/core-rest-pipeline-1.22.2.tgz", - "integrity": "sha512-MzHym+wOi8CLUlKCQu12de0nwcq9k9Kuv43j4Wa++CsCpJwps2eeBQwD2Bu8snkxTtDKDx4GwjuR9E8yC8LNrg==", + "version": "1.23.0", + "resolved": "https://registry.npmjs.org/@azure/core-rest-pipeline/-/core-rest-pipeline-1.23.0.tgz", + "integrity": "sha512-Evs1INHo+jUjwHi1T6SG6Ua/LHOQBCLuKEEE6efIpt4ZOoNonaT1kP32GoOcdNDbfqsD2445CPri3MubBy5DEQ==", "license": "MIT", "dependencies": { "@azure/abort-controller": "^2.1.2", @@ -249,7 +250,7 @@ "@azure/core-tracing": "^1.3.0", "@azure/core-util": "^1.13.0", "@azure/logger": "^1.3.0", - "@typespec/ts-http-runtime": "^0.3.0", + "@typespec/ts-http-runtime": "^0.3.4", "tslib": "^2.6.2" }, "engines": { @@ -875,9 +876,9 @@ } }, "node_modules/@types/node": { - "version": "20.19.35", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.19.35.tgz", - "integrity": "sha512-Uarfe6J91b9HAUXxjvSOdiO2UPOKLm07Q1oh0JHxoZ1y8HoqxDAu3gVrsrOHeiio0kSsoVBt4wFrKOm0dKxVPQ==", + "version": "20.19.37", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.19.37.tgz", + "integrity": "sha512-8kzdPJ3FsNsVIurqBs7oodNnCEVbni9yUEkaHbgptDACOPW04jimGagZ51E6+lXUwJjgnBw+hyko/lkFWCldqw==", "dev": true, "license": "MIT", "dependencies": { @@ -885,9 +886,9 @@ } }, "node_modules/@typespec/ts-http-runtime": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/@typespec/ts-http-runtime/-/ts-http-runtime-0.3.3.tgz", - "integrity": "sha512-91fp6CAAJSRtH5ja95T1FHSKa8aPW9/Zw6cta81jlZTUw/+Vq8jM/AfF/14h2b71wwR84JUTW/3Y8QPhDAawFA==", + "version": "0.3.4", + "resolved": "https://registry.npmjs.org/@typespec/ts-http-runtime/-/ts-http-runtime-0.3.4.tgz", + "integrity": "sha512-CI0NhTrz4EBaa0U+HaaUZrJhPoso8sG7ZFya8uQoBA57fjzrjRSv87ekCjLZOFExN+gXE/z0xuN2QfH4H2HrLQ==", "license": "MIT", "dependencies": { "http-proxy-agent": "^7.0.0", @@ -898,6 +899,13 @@ "node": ">=20.0.0" } }, + "node_modules/@yarnpkg/lockfile": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@yarnpkg/lockfile/-/lockfile-1.1.0.tgz", + "integrity": "sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ==", + "dev": true, + "license": "BSD-2-Clause" + }, "node_modules/agent-base": { "version": "7.1.4", "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.4.tgz", @@ -907,6 +915,22 @@ "node": ">= 14" } }, + "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==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, "node_modules/balanced-match": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", @@ -923,6 +947,19 @@ "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==", + "dev": true, + "license": "MIT", + "dependencies": { + "fill-range": "^7.1.1" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/bun-types": { "version": "1.3.10", "resolved": "https://registry.npmjs.org/bun-types/-/bun-types-1.3.10.tgz", @@ -933,6 +970,109 @@ "@types/node": "*" } }, + "node_modules/call-bind": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.8.tgz", + "integrity": "sha512-oKlSFMcMwpUg2ednkhQ454wfWiU/ul3CkJe/PEHcTKuiX6RpbehUiFMXu13HalGZxfUwCQzZG747YXBn1im9ww==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.0", + "es-define-property": "^1.0.0", + "get-intrinsic": "^1.2.4", + "set-function-length": "^1.2.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "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/call-bound": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/call-bound/-/call-bound-1.0.4.tgz", + "integrity": "sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.2", + "get-intrinsic": "^1.3.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "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/ci-info": { + "version": "3.9.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.9.0.tgz", + "integrity": "sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/sibiraj-s" + } + ], + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "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==", + "dev": true, + "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==", + "dev": true, + "license": "MIT" + }, "node_modules/compare-versions": { "version": "6.1.1", "resolved": "https://registry.npmjs.org/compare-versions/-/compare-versions-6.1.1.tgz", @@ -945,6 +1085,21 @@ "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", "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==", + "dev": true, + "license": "MIT", + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, "node_modules/debug": { "version": "4.4.3", "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", @@ -962,6 +1117,72 @@ } } }, + "node_modules/define-data-property": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", + "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "gopd": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "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/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-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/esbuild": { "version": "0.27.3", "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.27.3.tgz", @@ -1044,6 +1265,162 @@ "fxparser": "src/cli/cli.js" } }, + "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==", + "dev": true, + "license": "MIT", + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/find-yarn-workspace-root": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/find-yarn-workspace-root/-/find-yarn-workspace-root-2.0.0.tgz", + "integrity": "sha512-1IMnbjt4KzsQfnhnzNd8wUEgXZ44IzZaZmnLYx7D5FZlaHt2gW20Cri8Q+E/t5tIj4+epTBub+2Zxu/vNILzqQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "micromatch": "^4.0.2" + } + }, + "node_modules/fs-extra": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz", + "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "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==", + "dev": true, + "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-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/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/graceful-fs": { + "version": "4.2.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", + "dev": true, + "license": "ISC" + }, + "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-property-descriptors": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", + "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-define-property": "^1.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "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/hasown": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", + "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/http-proxy-agent": { "version": "7.0.2", "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz", @@ -1070,6 +1447,136 @@ "node": ">= 14" } }, + "node_modules/is-docker": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", + "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==", + "dev": true, + "license": "MIT", + "bin": { + "is-docker": "cli.js" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "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==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/is-wsl": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", + "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-docker": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/isarray": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", + "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==", + "dev": true, + "license": "MIT" + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "dev": true, + "license": "ISC" + }, + "node_modules/json-stable-stringify": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/json-stable-stringify/-/json-stable-stringify-1.3.0.tgz", + "integrity": "sha512-qtYiSSFlwot9XHtF9bD9c7rwKjr+RecWT//ZnPvSmEjpV5mmPOCN4j8UjY5hbjNkOwZ/jQv3J6R1/pL7RwgMsg==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.8", + "call-bound": "^1.0.4", + "isarray": "^2.0.5", + "jsonify": "^0.0.1", + "object-keys": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/jsonfile": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.2.0.tgz", + "integrity": "sha512-FGuPw30AdOIUTRMC2OMRtQV+jkVj2cfPqSeWXv1NEAJ1qZ5zb1X6z1mFhbfOB/iy3ssJCD+3KuZ8r8C3uVFlAg==", + "dev": true, + "license": "MIT", + "dependencies": { + "universalify": "^2.0.0" + }, + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "node_modules/jsonify": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/jsonify/-/jsonify-0.0.1.tgz", + "integrity": "sha512-2/Ki0GcmuqSrgFyelQq9M05y7PS0mEwuIzrf3f1fPqkVDVRvZrPZtVSMHxdgo8Aq0sxAOb/cr2aqqA3LeWHVPg==", + "dev": true, + "license": "Public Domain", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/klaw-sync": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/klaw-sync/-/klaw-sync-6.0.0.tgz", + "integrity": "sha512-nIeuVSzdCCs6TDPTqI8w1Yre34sSq7AkZ4B3sfOBbI2CgVSB4Du4aLQijFU2+lhAFCwt9+42Hel6lQNIv6AntQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.11" + } + }, + "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/micromatch": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", + "dev": true, + "license": "MIT", + "dependencies": { + "braces": "^3.0.3", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=8.6" + } + }, "node_modules/minimatch": { "version": "3.1.5", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz", @@ -1082,12 +1589,49 @@ "node": "*" } }, + "node_modules/minimist": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "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/object-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/open": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/open/-/open-7.4.2.tgz", + "integrity": "sha512-MVHddDVweXZF3awtlAS+6pgKLlm/JgxZ90+/NBurBoQctVOOB/zDdVjcyPzQ+0laDGbsWgrRkflI65sQeOgT9Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-docker": "^2.0.0", + "is-wsl": "^2.1.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/openpgp": { "version": "6.3.0", "resolved": "https://registry.npmjs.org/openpgp/-/openpgp-6.3.0.tgz", @@ -1097,6 +1641,72 @@ "node": ">= 18.0.0" } }, + "node_modules/patch-package": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/patch-package/-/patch-package-8.0.1.tgz", + "integrity": "sha512-VsKRIA8f5uqHQ7NGhwIna6Bx6D9s/1iXlA1hthBVBEbkq+t4kXD0HHt+rJhf/Z+Ci0F/HCB2hvn0qLdLG+Qxlw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@yarnpkg/lockfile": "^1.1.0", + "chalk": "^4.1.2", + "ci-info": "^3.7.0", + "cross-spawn": "^7.0.3", + "find-yarn-workspace-root": "^2.0.0", + "fs-extra": "^10.0.0", + "json-stable-stringify": "^1.0.2", + "klaw-sync": "^6.0.0", + "minimist": "^1.2.6", + "open": "^7.4.2", + "semver": "^7.5.3", + "slash": "^2.0.0", + "tmp": "^0.2.4", + "yaml": "^2.2.2" + }, + "bin": { + "patch-package": "index.js" + }, + "engines": { + "node": ">=14", + "npm": ">5" + } + }, + "node_modules/patch-package/node_modules/semver": { + "version": "7.7.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.4.tgz", + "integrity": "sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "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==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, "node_modules/prettier": { "version": "3.8.1", "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.8.1.tgz", @@ -1122,6 +1732,57 @@ "semver": "bin/semver.js" } }, + "node_modules/set-function-length": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", + "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", + "dev": true, + "license": "MIT", + "dependencies": { + "define-data-property": "^1.1.4", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "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==", + "dev": true, + "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==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/slash": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz", + "integrity": "sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, "node_modules/strnum": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/strnum/-/strnum-2.2.0.tgz", @@ -1134,6 +1795,42 @@ ], "license": "MIT" }, + "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/tmp": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.5.tgz", + "integrity": "sha512-voyz6MApa1rQGUxT3E+BK7/ROe8itEx7vD8/HEvt4xwXucvQ5G5oeEiHkmHZJuBO21RpOf+YYm9MOivj709jow==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14.14" + } + }, + "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==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, "node_modules/tslib": { "version": "2.8.1", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", @@ -1178,6 +1875,48 @@ "integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==", "dev": true, "license": "MIT" + }, + "node_modules/universalify": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", + "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 10.0.0" + } + }, + "node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/yaml": { + "version": "2.8.2", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.2.tgz", + "integrity": "sha512-mplynKqc1C2hTVYxd0PU2xQAc22TI1vShAYGksCCfxbn/dFwnHTNi1bvYsBTkhdUNtGIf5xNOg938rrSSYvS9A==", + "dev": true, + "license": "ISC", + "bin": { + "yaml": "bin.mjs" + }, + "engines": { + "node": ">= 14.6" + }, + "funding": { + "url": "https://github.com/sponsors/eemeli" + } } } } diff --git a/package.json b/package.json index d0fdb38f..555dd50c 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,10 @@ "author": "xHyroM", "scripts": { "format": "prettier --write src *.yml *.json *.md", + "modules:lock": "npm install --no-fund --package-lock-only", + "modules:clean": "npm ci --no-fund", + "modules:patch": "npm x patch-package", + "modules": "npm run modules:clean && npm run modules:patch", "build": "esbuild --target=node24 --outfile=dist/setup/index.js --bundle --keep-names --minify --platform=node --format=cjs --banner:js=\"var import_meta_url = require('url').pathToFileURL(__filename).href;\" --define:import.meta.url=import_meta_url src/index.ts && esbuild --target=node24 --outfile=dist/cache-save/index.js --bundle --keep-names --minify --platform=node --format=cjs --banner:js=\"var import_meta_url = require('url').pathToFileURL(__filename).href;\" --define:import.meta.url=import_meta_url src/cache-save.ts", "start": "npm run build && node dist/setup/index.js" }, @@ -36,12 +40,10 @@ "@types/bun": "^1.0.0", "@types/node": "^24.0.0", "esbuild": "^0.27.0", + "patch-package": "^8.0.0", "prettier": "^3.0.0", "typescript": "^5.0.0" }, - "patchedDependencies": { - "compare-versions@6.1.1": "patches/compare-versions@6.1.1.patch" - }, "overrides": { "form-data": "^4.0.4" } diff --git a/patches/compare-versions+6.1.1.patch b/patches/compare-versions+6.1.1.patch new file mode 100644 index 00000000..8057c38e --- /dev/null +++ b/patches/compare-versions+6.1.1.patch @@ -0,0 +1,359 @@ +diff --git a/node_modules/compare-versions/lib/esm/compare.d.ts b/node_modules/compare-versions/lib/esm/compare.d.ts +index 9d1ec98..5d57039 100644 +--- a/node_modules/compare-versions/lib/esm/compare.d.ts ++++ b/node_modules/compare-versions/lib/esm/compare.d.ts +@@ -1,4 +1,4 @@ +-import { CompareOperator } from './utils.js'; ++import { type CompareOperator } from './utils.js'; + /** + * Compare [semver](https://semver.org/) version strings using the specified operator. + * +@@ -17,3 +17,4 @@ import { CompareOperator } from './utils.js'; + * ``` + */ + export declare const compare: (v1: string, v2: string, operator: CompareOperator) => boolean; ++//# sourceMappingURL=compare.d.ts.map +\ No newline at end of file +diff --git a/node_modules/compare-versions/lib/esm/compare.d.ts.map b/node_modules/compare-versions/lib/esm/compare.d.ts.map +new file mode 100644 +index 0000000..8da340c +--- /dev/null ++++ b/node_modules/compare-versions/lib/esm/compare.d.ts.map +@@ -0,0 +1 @@ ++{"version":3,"file":"compare.d.ts","sourceRoot":"","sources":["../../src/compare.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,YAAY,CAAC;AAElD;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,OAAO,GAAI,IAAI,MAAM,EAAE,IAAI,MAAM,EAAE,UAAU,eAAe,YASxE,CAAC"} +\ No newline at end of file +diff --git a/node_modules/compare-versions/lib/esm/compare.js b/node_modules/compare-versions/lib/esm/compare.js +index c8e769b..bb7306b 100644 +--- a/node_modules/compare-versions/lib/esm/compare.js ++++ b/node_modules/compare-versions/lib/esm/compare.js +@@ -1,4 +1,5 @@ + import { compareVersions } from './compareVersions.js'; ++import {} from './utils.js'; + /** + * Compare [semver](https://semver.org/) version strings using the specified operator. + * +diff --git a/node_modules/compare-versions/lib/esm/compare.js.map b/node_modules/compare-versions/lib/esm/compare.js.map +index d0501e1..5923d8e 100644 +--- a/node_modules/compare-versions/lib/esm/compare.js.map ++++ b/node_modules/compare-versions/lib/esm/compare.js.map +@@ -1 +1 @@ +-{"version":3,"file":"compare.js","sourceRoot":"","sources":["../../src/compare.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAGvD;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,EAAU,EAAE,EAAU,EAAE,QAAyB,EAAE,EAAE;IAC3E,0BAA0B;IAC1B,mBAAmB,CAAC,QAAQ,CAAC,CAAC;IAE9B,2DAA2D;IAC3D,6CAA6C;IAC7C,MAAM,GAAG,GAAG,eAAe,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;IAEpC,OAAO,cAAc,CAAC,Q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EAAE,EAAE,CAAC,CAAC;IAEpC,OAAO,cAAc,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;AAChD,CAAC,CAAC;AAEF,MAAM,cAAc,GAAG;IACrB,GAAG,EAAE,CAAC,CAAC,CAAC;IACR,IAAI,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;IACZ,GAAG,EAAE,CAAC,CAAC,CAAC;IACR,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;IACb,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC;IACT,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;CACd,CAAC;AAEF,MAAM,gBAAgB,GAAG,MAAM,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;AAErD,MAAM,mBAAmB,GAAG,CAAC,EAAU,EAAE,EAAE;IACzC,IAAI,OAAO,EAAE,KAAK,QAAQ,EAAE,CAAC;QAC3B,MAAM,IAAI,SAAS,CACjB,kDAAkD,OAAO,EAAE,EAAE,CAC9D,CAAC;IACJ,CAAC;IACD,IAAI,gBAAgB,CAAC,OAAO,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC;QACxC,MAAM,IAAI,KAAK,CACb,qCAAqC,gBAAgB,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAClE,CAAC;IACJ,CAAC;AACH,CAAC,CAAC"} +\ No newline at end of file +diff --git a/node_modules/compare-versions/lib/esm/compareVersions.d.ts b/node_modules/compare-versions/lib/esm/compareVersions.d.ts +index 5af3761..2a14e01 100644 +--- a/node_modules/compare-versions/lib/esm/compareVersions.d.ts ++++ b/node_modules/compare-versions/lib/esm/compareVersions.d.ts +@@ -6,3 +6,4 @@ + * @returns Numeric value compatible with the [Array.sort(fn) interface](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#Parameters). + */ + export declare const compareVersions: (v1: string, v2: string) => 0 | 1 | -1; ++//# sourceMappingURL=compareVersions.d.ts.map +\ No newline at end of file +diff --git a/node_modules/compare-versions/lib/esm/compareVersions.d.ts.map b/node_modules/compare-versions/lib/esm/compareVersions.d.ts.map +new file mode 100644 +index 0000000..c8dec99 +--- /dev/null ++++ b/node_modules/compare-versions/lib/esm/compareVersions.d.ts.map +@@ -0,0 +1 @@ ++{"version":3,"file":"compareVersions.d.ts","sourceRoot":"","sources":["../../src/compareVersions.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,GAAI,IAAI,MAAM,EAAE,IAAI,MAAM,eAqBrD,CAAC"} +\ No newline at end of file +diff --git a/node_modules/compare-versions/lib/esm/index.d.ts b/node_modules/compare-versions/lib/esm/index.d.ts +index b2f8aab..9eea193 100644 +--- a/node_modules/compare-versions/lib/esm/index.d.ts ++++ b/node_modules/compare-versions/lib/esm/index.d.ts +@@ -1,5 +1,6 @@ + export { compare } from './compare.js'; + export { compareVersions } from './compareVersions.js'; + export { satisfies } from './satisfies.js'; +-export { CompareOperator } from './utils.js'; ++export type { CompareOperator } from './utils.js'; + export { validate, validateStrict } from './validate.js'; ++//# sourceMappingURL=index.d.ts.map +\ No newline at end of file +diff --git a/node_modules/compare-versions/lib/esm/index.d.ts.map b/node_modules/compare-versions/lib/esm/index.d.ts.map +new file mode 100644 +index 0000000..cfe9372 +--- /dev/null ++++ b/node_modules/compare-versions/lib/esm/index.d.ts.map +@@ -0,0 +1 @@ ++{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,YAAY,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC"} +\ No newline at end of file +diff --git a/node_modules/compare-versions/lib/esm/satisfies.d.ts b/node_modules/compare-versions/lib/esm/satisfies.d.ts +index ef5fe98..dbc01d5 100644 +--- a/node_modules/compare-versions/lib/esm/satisfies.d.ts ++++ b/node_modules/compare-versions/lib/esm/satisfies.d.ts +@@ -12,3 +12,4 @@ + * ``` + */ + export declare const satisfies: (version: string, range: string) => boolean; ++//# sourceMappingURL=satisfies.d.ts.map +\ No newline at end of file +diff --git a/node_modules/compare-versions/lib/esm/satisfies.d.ts.map b/node_modules/compare-versions/lib/esm/satisfies.d.ts.map +new file mode 100644 +index 0000000..96f030b +--- /dev/null ++++ b/node_modules/compare-versions/lib/esm/satisfies.d.ts.map +@@ -0,0 +1 @@ ++{"version":3,"file":"satisfies.d.ts","sourceRoot":"","sources":["../../src/satisfies.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,SAAS,GAAI,SAAS,MAAM,EAAE,OAAO,MAAM,KAAG,OAoD1D,CAAC"} +\ No newline at end of file +diff --git a/node_modules/compare-versions/lib/esm/satisfies.js b/node_modules/compare-versions/lib/esm/satisfies.js +index 7586b71..8b38a9b 100644 +--- a/node_modules/compare-versions/lib/esm/satisfies.js ++++ b/node_modules/compare-versions/lib/esm/satisfies.js +@@ -40,7 +40,7 @@ export const satisfies = (version, range) => { + // else range of either "~" or "^" is assumed + const [v1, v2, v3, , vp] = validateAndParse(version); + const [r1, r2, r3, , rp] = validateAndParse(range); +- const v = [v1, v2, v3]; ++ const v = [v1, v2 !== null && v2 !== void 0 ? v2 : 'x', v3 !== null && v3 !== void 0 ? v3 : 'x']; + const r = [r1, r2 !== null && r2 !== void 0 ? r2 : 'x', r3 !== null && r3 !== void 0 ? r3 : 'x']; + // validate pre-release + if (rp) { +diff --git a/node_modules/compare-versions/lib/esm/satisfies.js.map b/node_modules/compare-versions/lib/esm/satisfies.js.map +index d97d380..9bc0729 100644 +--- a/node_modules/compare-versions/lib/esm/satisfies.js.map ++++ b/node_modules/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E,EAAE,aAAF,EAAE,cAAF,EAAE,GAAI,GAAG,CAAC,CAAC;IAErC,uBAAuB;IACvB,IAAI,EAAE,EAAE,CAAC;QACP,IAAI,CAAC,EAAE;YAAE,OAAO,KAAK,CAAC;QACtB,IAAI,eAAe,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC;YAAE,OAAO,KAAK,CAAC;QAC9C,IAAI,eAAe,CAAC,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC;YAAE,OAAO,KAAK,CAAC;IACzE,CAAC;IAED,wBAAwB;IACxB,MAAM,OAAO,GAAG,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,KAAK,GAAG,CAAC,GAAG,CAAC,CAAC;IAElD,sCAAsC;IACtC,MAAM,CAAC,GAAG,EAAE,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,GAAG,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;IAErD,+BAA+B;IAC/B,IAAI,eAAe,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC;QAAE,OAAO,KAAK,CAAC;IAEtE,2BAA2B;IAC3B,IAAI,eAAe,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;QAAE,OAAO,KAAK,CAAC;IAEjE,OAAO,IAAI,CAAC;AACd,CAAC,CAAC"} +\ No newline at end of file +diff --git a/node_modules/compare-versions/lib/esm/utils.d.ts b/node_modules/compare-versions/lib/esm/utils.d.ts +index 4f809dc..30a780b 100644 +--- a/node_modules/compare-versions/lib/esm/utils.d.ts ++++ b/node_modules/compare-versions/lib/esm/utils.d.ts +@@ -5,3 +5,4 @@ export type CompareOperator = '>' | '>=' | '=' | '<' | '<=' | '!='; + export declare const semver: RegExp; + export declare const validateAndParse: (version: string) => RegExpMatchArray; + export declare const compareSegments: (a: string | string[] | RegExpMatchArray, b: string | string[] | RegExpMatchArray) => 0 | 1 | -1; ++//# sourceMappingURL=utils.d.ts.map +\ No newline at end of file +diff --git a/node_modules/compare-versions/lib/esm/utils.d.ts.map b/node_modules/compare-versions/lib/esm/utils.d.ts.map +new file mode 100644 +index 0000000..06191db +--- /dev/null ++++ b/node_modules/compare-versions/lib/esm/utils.d.ts.map +@@ -0,0 +1 @@ ++{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/utils.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,GAAG,GAAG,IAAI,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,GAAG,IAAI,CAAC;AAEnE,eAAO,MAAM,MAAM,QAC2H,CAAC;AAE/I,eAAO,MAAM,gBAAgB,GAAI,SAAS,MAAM,qBAY/C,CAAC;AAsBF,eAAO,MAAM,eAAe,GAC1B,GAAG,MAAM,GAAG,MAAM,EAAE,GAAG,gBAAgB,EACvC,GAAG,MAAM,GAAG,MAAM,EAAE,GAAG,gBAAgB,eAOxC,CAAC"} +\ No newline at end of file +diff --git a/node_modules/compare-versions/lib/esm/utils.js b/node_modules/compare-versions/lib/esm/utils.js +index b5cc8b9..ab568f3 100644 +--- a/node_modules/compare-versions/lib/esm/utils.js ++++ b/node_modules/compare-versions/lib/esm/utils.js +@@ -20,15 +20,17 @@ const compareStrings = (a, b) => { + if (isWildcard(a) || isWildcard(b)) + return 0; + const [ap, bp] = forceType(tryParse(a), tryParse(b)); +- if (ap > bp) +- return 1; +- if (ap < bp) +- return -1; ++ if (ap !== undefined && bp !== undefined) { ++ if (ap > bp) ++ return 1; ++ if (ap < bp) ++ return -1; ++ } + return 0; + }; + export const compareSegments = (a, b) => { + for (let i = 0; i < Math.max(a.length, b.length); i++) { +- const r = compareStrings(a[i] || '0', b[i] || '0'); ++ const r = compareStrings(a[i] || 'x', b[i] || 'x'); + if (r !== 0) + return r; + } +diff --git a/node_modules/compare-versions/lib/esm/utils.js.map b/node_modules/compare-versions/lib/esm/utils.js.map +index 207b40a..3f57e96 100644 +--- a/node_modules/compare-versions/lib/esm/utils.js.map ++++ b/node_modules/compare-versions/lib/esm/utils.js.map +@@ -1 +1 @@ +-{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/utils.ts"],"names":[],"mappings":"AAKA,MAAM,CAAC,MAAM,MAAM,GACjB,4IAA4I,CAAC;AAE/I,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,OAAe,EAAE,EAAE;IAClD,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE,CAAC;QAChC,MAAM,IAAI,SAAS,CAAC,kCAAkC,CAAC,CAAC;IAC1D,CAAC;IACD,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACpC,IAAI,CAAC,KAAK,EAAE,CAAC;QACX,MAAM,IAAI,KAAK,CACb,uCAAuC,OAAO,aAAa,CAC5D,CAAC;IACJ,CAAC;IACD,KAAK,CAAC,KAAK,EAAE,CAAC;IACd,OAAO,KAAK,CAAC;AACf,CAAC,CAAC;AAEF,MAAM,UAAU,GAAG,CAAC,CAAS,EAAE,EAAE,CAAC,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,GAAG,CAAC;AAEtE,MAAM,QAAQ,GAAG,CAAC,CAAS,EAAE,EAAE;IAC7B,MAAM,CAAC,GAAG,QAAQ,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IAC1B,OAAO,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAC1B,CAAC,CAAC;AAEF,MAAM,SAAS,GAAG,CAAC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,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC;IACrD,IAAI,EAAE,KAAK,SAAS,IAAI,EAAE,KAAK,SAAS,EAAE,CAAC;QACzC,IAAI,EAAE,GAAG,EAAE;YAAE,OAAO,CAAC,CAAC;QACtB,IAAI,EAAE,GAAG,EAAE;YAAE,OAAO,CAAC,CAAC,CAAC;IACzB,CAAC;IACD,OAAO,CAAC,CAAC;AACX,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAG,CAC7B,CAAuC,EACvC,CAAuC,EACvC,EAAE;IACF,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;QACtD,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,GAAG,CAAC,CAAC;QACnD,IAAI,CAAC,KAAK,CAAC;YAAE,OAAO,CAAC,CAAC;IACxB,CAAC;IACD,OAAO,CAAC,CAAC;AACX,CAAC,CAAC"} +\ No newline at end of file +diff --git a/node_modules/compare-versions/lib/esm/validate.d.ts b/node_modules/compare-versions/lib/esm/validate.d.ts +index 1479cee..ea2afe0 100644 +--- a/node_modules/compare-versions/lib/esm/validate.d.ts ++++ b/node_modules/compare-versions/lib/esm/validate.d.ts +@@ -26,3 +26,4 @@ export declare const validate: (version: string) => boolean; + * ``` + */ + export declare const validateStrict: (version: string) => boolean; ++//# sourceMappingURL=validate.d.ts.map +\ No newline at end of file +diff --git a/node_modules/compare-versions/lib/esm/validate.d.ts.map b/node_modules/compare-versions/lib/esm/validate.d.ts.map +new file mode 100644 +index 0000000..dba2667 +--- /dev/null ++++ b/node_modules/compare-versions/lib/esm/validate.d.ts.map +@@ -0,0 +1 @@ ++{"version":3,"file":"validate.d.ts","sourceRoot":"","sources":["../../src/validate.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,QAAQ,GAAI,SAAS,MAAM,YACuC,CAAC;AAEhF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,cAAc,GAAI,SAAS,MAAM,YAI3C,CAAC"} +\ No newline at end of file +diff --git a/node_modules/compare-versions/lib/umd/index.js b/node_modules/compare-versions/lib/umd/index.js +index 2cfef26..e3bbc58 100644 +--- a/node_modules/compare-versions/lib/umd/index.js ++++ b/node_modules/compare-versions/lib/umd/index.js +@@ -26,15 +26,17 @@ + if (isWildcard(a) || isWildcard(b)) + return 0; + const [ap, bp] = forceType(tryParse(a), tryParse(b)); +- if (ap > bp) +- return 1; +- if (ap < bp) +- return -1; ++ if (ap !== undefined && bp !== undefined) { ++ if (ap > bp) ++ return 1; ++ if (ap < bp) ++ return -1; ++ } + return 0; + }; + const compareSegments = (a, b) => { + for (let i = 0; i < Math.max(a.length, b.length); i++) { +- const r = compareStrings(a[i] || '0', b[i] || '0'); ++ const r = compareStrings(a[i] || 'x', b[i] || 'x'); + if (r !== 0) + return r; + } +@@ -152,7 +154,7 @@ + // else range of either "~" or "^" is assumed + const [v1, v2, v3, , vp] = validateAndParse(version); + const [r1, r2, r3, , rp] = validateAndParse(range); +- const v = [v1, v2, v3]; ++ const v = [v1, v2 !== null && v2 !== void 0 ? v2 : 'x', v3 !== null && v3 !== void 0 ? v3 : 'x']; + const r = [r1, r2 !== null && r2 !== void 0 ? r2 : 'x', r3 !== null && r3 !== void 0 ? r3 : 'x']; + // validate pre-release + if (rp) { +diff --git a/node_modules/compare-versions/lib/umd/index.js.map b/node_modules/compare-versions/lib/umd/index.js.map +index ab9acc9..746de4d 100644 +--- a/node_modules/compare-versions/lib/umd/index.js.map ++++ b/node_modules/compare-versions/lib/umd/index.js.map +@@ -1 +1 @@ +-{"version":3,"file":"index.js","sources":["../esm/utils.js","../esm/compareVersions.js","../esm/compare.js","../esm/satisfies.js","../esm/validate.js"],"sourcesContent":["export const semver = /^[v^~<>=]*?(\\d+)(?:\\.([x*]|\\d+)(?:\\.([x*]|\\d+)(?:\\.([x*]|\\d+))?(?:-([\\da-z\\-]+(?:\\.[\\da-z\\-]+)*))?(?:\\+[\\da-z\\-]+(?:\\.[\\da-z\\-]+)*)?)?)?$/i;\nexport const validateAndParse = (version) => {\n if (typeof version !== 'string') {\n throw new TypeError('Invalid argument expected string');\n }\n const match = version.match(semver);\n if (!match) {\n throw new Error(`Invalid argument not valid semver ('${version}' received)`);\n }\n match.shift();\n return match;\n};\nconst isWildcard = (s) => s === '*' || s === 'x' || s === 'X';\nconst tryParse = (v) => {\n const n = parseInt(v, 10);\n return isNaN(n) ? v : n;\n};\nconst forceType = (a, b) => typeof a !== typeof b ? [String(a), String(b)] : [a, b];\nconst compareStrings = (a, b) => {\n if (isWildcard(a) || isWildcard(b))\n return 0;\n const [ap, bp] = forceType(tryParse(a), tryParse(b));\n if (ap > bp)\n return 1;\n if (ap < bp)\n return -1;\n return 0;\n};\nexport const compareSegments = (a, b) => {\n for (let i = 0; i < Math.max(a.length, b.length); i++) {\n const r = compareStrings(a[i] || '0', b[i] || '0');\n if (r !== 0)\n return r;\n }\n return 0;\n};\n//# sourceMappingURL=utils.js.map","import { compareSegments, validateAndParse } from './utils.js';\n/**\n * Compare [semver](https://semver.org/) version strings to find greater, equal or lesser.\n * This library supports the full semver specification, including comparing versions with different number of digits like `1.0.0`, `1.0`, `1`, and pre-release versions like `1.0.0-alpha`.\n * @param v1 - First version to compare\n * @param v2 - Second version to compare\n * @returns Numeric value compatible with the [Array.sort(fn) interface](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#Parameters).\n */\nexport const compareVersions = (v1, v2) => {\n // validate input and split into segments\n const n1 = validateAndParse(v1);\n const n2 = validateAndParse(v2);\n // pop off the patch\n const p1 = n1.pop();\n const p2 = n2.pop();\n // validate numbers\n const r = compareSegments(n1, n2);\n if (r !== 0)\n return r;\n // validate pre-release\n if (p1 && p2) {\n return compareSegments(p1.split('.'), p2.split('.'));\n }\n else if (p1 || p2) {\n return p1 ? -1 : 1;\n }\n return 0;\n};\n//# sourceMappingURL=compareVersions.js.map","import { compareVersions } from './compareVersions.js';\n/**\n * Compare [semver](https://semver.org/) version strings using the specified operator.\n *\n * @param v1 First version to compare\n * @param v2 Second version to compare\n * @param operator Allowed arithmetic operator to use\n * @returns `true` if the comparison between the firstVersion and the secondVersion satisfies the operator, `false` otherwise.\n *\n * @example\n * ```\n * compare('10.1.8', '10.0.4', '>'); // return true\n * compare('10.0.1', '10.0.1', '='); // return true\n * compare('10.1.1', '10.2.2', '<'); // return true\n * compare('10.1.1', '10.2.2', '<='); // return true\n * compare('10.1.1', '10.2.2', '>='); // return false\n * ```\n */\nexport const compare = (v1, v2, operator) => {\n // validate input operator\n assertValidOperator(operator);\n // since result of compareVersions can only be -1 or 0 or 1\n // a simple map can be used to replace switch\n const res = compareVersions(v1, v2);\n return operatorResMap[operator].includes(res);\n};\nconst operatorResMap = {\n '>': [1],\n '>=': [0, 1],\n '=': [0],\n '<=': [-1, 0],\n '<': [-1],\n '!=': [-1, 1],\n};\nconst allowedOperators = Object.keys(operatorResMap);\nconst assertValidOperator = (op) => {\n if (typeof op !== 'string') {\n throw new TypeError(`Invalid operator type, expected string but got ${typeof op}`);\n }\n if (allowedOperators.indexOf(op) === -1) {\n throw new Error(`Invalid operator, expected one of ${allowedOperators.join('|')}`);\n }\n};\n//# sourceMappingURL=compare.js.map","import { compare } from './compare.js';\nimport { compareSegments, validateAndParse } from './utils.js';\n/**\n * Match [npm semver](https://docs.npmjs.com/cli/v6/using-npm/semver) version range.\n *\n * @param version Version number to match\n * @param range Range pattern for version\n * @returns `true` if the version number is within the range, `false` otherwise.\n *\n * @example\n * ```\n * satisfies('1.1.0', '^1.0.0'); // return true\n * satisfies('1.1.0', '~1.0.0'); // return false\n * ```\n */\nexport const satisfies = (version, range) => {\n // clean input\n range = range.replace(/([><=]+)\\s+/g, '$1');\n // handle multiple comparators\n if (range.includes('||')) {\n return range.split('||').some((r) => satisfies(version, r));\n }\n else if (range.includes(' - ')) {\n const [a, b] = range.split(' - ', 2);\n return satisfies(version, `>=${a} <=${b}`);\n }\n else if (range.includes(' ')) {\n return range\n .trim()\n .replace(/\\s{2,}/g, ' ')\n .split(' ')\n .every((r) => satisfies(version, r));\n }\n // if no range operator then \"=\"\n const m = range.match(/^([<>=~^]+)/);\n const op = m ? m[1] : '=';\n // if gt/lt/eq then operator compare\n if (op !== '^' && op !== '~')\n return compare(version, range, op);\n // else range of either \"~\" or \"^\" is assumed\n const [v1, v2, v3, , vp] = validateAndParse(version);\n const [r1, r2, r3, , rp] = validateAndParse(range);\n const v = [v1, v2, v3];\n const r = [r1, r2 !== null && r2 !== void 0 ? r2 : 'x', r3 !== null && r3 !== void 0 ? r3 : 'x'];\n // validate pre-release\n if (rp) {\n if (!vp)\n return false;\n if (compareSegments(v, r) !== 0)\n return false;\n if (compareSegments(vp.split('.'), rp.split('.')) === -1)\n return false;\n }\n // first non-zero number\n const nonZero = r.findIndex((v) => v !== '0') + 1;\n // pointer to where segments can be >=\n const i = op === '~' ? 2 : nonZero > 1 ? nonZero : 1;\n // before pointer must be equal\n if (compareSegments(v.slice(0, i), r.slice(0, i)) !== 0)\n return false;\n // after pointer must be >=\n if (compareSegments(v.slice(i), r.slice(i)) === -1)\n return false;\n return true;\n};\n//# sourceMappingURL=satisfies.js.map","import { semver } from './utils.js';\n/**\n * Validate [semver](https://semver.org/) version strings.\n *\n * @param version Version number to validate\n * @returns `true` if the version number is a valid semver version number, `false` otherwise.\n *\n * @example\n * ```\n * validate('1.0.0-rc.1'); // return true\n * validate('1.0-rc.1'); // return false\n * validate('foo'); // return false\n * ```\n */\nexport const validate = (version) => typeof version === 'string' && /^[v\\d]/.test(version) && semver.test(version);\n/**\n * Validate [semver](https://semver.org/) version strings strictly. Will not accept wildcards and version ranges.\n *\n * @param version Version number to validate\n * @returns `true` if the version number is a valid semver version number `false` otherwise\n *\n * @example\n * ```\n * validate('1.0.0-rc.1'); // return true\n * validate('1.0-rc.1'); // return false\n * validate('foo'); // return false\n * ```\n */\nexport const validateStrict = (version) => typeof version === 'string' &&\n /^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$/.test(version);\n//# sourceMappingURL=validate.js.map"],"names":[],"mappings":";;;;;;IAAO,MAAM,MAAM,GAAG,4IAA4I,CAAC;IAC5J,MAAM,gBAAgB,GAAG,CAAC,OAAO,KAAK;IAC7C,IAAI,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE;IACrC,QAAQ,MAAM,IAAI,SAAS,CAAC,kCAAkC,CAAC,CAAC;IAChE,KAAK;IACL,IAAI,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACxC,IAAI,IAAI,CAAC,KAAK,EAAE;IAChB,QAAQ,MAAM,IAAI,KAAK,CAAC,CAAC,oCAAoC,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;IACrF,KAAK;IACL,IAAI,KAAK,CAAC,KAAK,EAAE,CAAC;IAClB,IAAI,OAAO,KAAK,CAAC;IACjB,CAAC,CAAC;IACF,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,GAAG,CAAC;IAC9D,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK;IACxB,IAAI,MAAM,CAAC,GAAG,QAAQ,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IAC9B,IAAI,OAAO,KAAK,CAAC,CAAC,CAAC,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AAK,OAAO,OAAO,KAAK,QAAQ,IAAI,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE;IACnH;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;AACY,UAAC,cAAc,GAAG,CAAC,OAAO,KAAK,OAAO,OAAO,KAAK,QAAQ;IACtE,IAAI,qLAAqL,CAAC,IAAI,CAAC,OAAO;;;;;;;;;;;;"} +\ No newline at end of file ++{"version":3,"file":"index.js","sources":["../esm/utils.js","../esm/compareVersions.js","../esm/compare.js","../esm/satisfies.js","../esm/validate.js"],"sourcesContent":["export const semver = /^[v^~<>=]*?(\\d+)(?:\\.([x*]|\\d+)(?:\\.([x*]|\\d+)(?:\\.([x*]|\\d+))?(?:-([\\da-z\\-]+(?:\\.[\\da-z\\-]+)*))?(?:\\+[\\da-z\\-]+(?:\\.[\\da-z\\-]+)*)?)?)?$/i;\nexport const validateAndParse = (version) => {\n if (typeof version !== 'string') {\n throw new TypeError('Invalid argument expected string');\n }\n const match = version.match(semver);\n if (!match) {\n throw new Error(`Invalid argument not valid semver ('${version}' received)`);\n }\n match.shift();\n return match;\n};\nconst isWildcard = (s) => s === '*' || s === 'x' || s === 'X';\nconst tryParse = (v) => {\n const n = parseInt(v, 10);\n return isNaN(n) ? v : n;\n};\nconst forceType = (a, b) => typeof a !== typeof b ? [String(a), String(b)] : [a, b];\nconst compareStrings = (a, b) => {\n if (isWildcard(a) || isWildcard(b))\n return 0;\n const [ap, bp] = forceType(tryParse(a), tryParse(b));\n if (ap !== undefined && bp !== undefined) {\n if (ap > bp)\n return 1;\n if (ap < bp)\n return -1;\n }\n return 0;\n};\nexport const compareSegments = (a, b) => {\n for (let i = 0; i < Math.max(a.length, b.length); i++) {\n const r = compareStrings(a[i] || 'x', b[i] || 'x');\n if (r !== 0)\n return r;\n }\n return 0;\n};\n//# sourceMappingURL=utils.js.map","import { compareSegments, validateAndParse } from './utils.js';\n/**\n * Compare [semver](https://semver.org/) version strings to find greater, equal or lesser.\n * This library supports the full semver specification, including comparing versions with different number of digits like `1.0.0`, `1.0`, `1`, and pre-release versions like `1.0.0-alpha`.\n * @param v1 - First version to compare\n * @param v2 - Second version to compare\n * @returns Numeric value compatible with the [Array.sort(fn) interface](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#Parameters).\n */\nexport const compareVersions = (v1, v2) => {\n // validate input and split into segments\n const n1 = validateAndParse(v1);\n const n2 = validateAndParse(v2);\n // pop off the patch\n const p1 = n1.pop();\n const p2 = n2.pop();\n // validate numbers\n const r = compareSegments(n1, n2);\n if (r !== 0)\n return r;\n // validate pre-release\n if (p1 && p2) {\n return compareSegments(p1.split('.'), p2.split('.'));\n }\n else if (p1 || p2) {\n return p1 ? -1 : 1;\n }\n return 0;\n};\n//# sourceMappingURL=compareVersions.js.map","import { compareVersions } from './compareVersions.js';\nimport {} from './utils.js';\n/**\n * Compare [semver](https://semver.org/) version strings using the specified operator.\n *\n * @param v1 First version to compare\n * @param v2 Second version to compare\n * @param operator Allowed arithmetic operator to use\n * @returns `true` if the comparison between the firstVersion and the secondVersion satisfies the operator, `false` otherwise.\n *\n * @example\n * ```\n * compare('10.1.8', '10.0.4', '>'); // return true\n * compare('10.0.1', '10.0.1', '='); // return true\n * compare('10.1.1', '10.2.2', '<'); // return true\n * compare('10.1.1', '10.2.2', '<='); // return true\n * compare('10.1.1', '10.2.2', '>='); // return false\n * ```\n */\nexport const compare = (v1, v2, operator) => {\n // validate input operator\n assertValidOperator(operator);\n // since result of compareVersions can only be -1 or 0 or 1\n // a simple map can be used to replace switch\n const res = compareVersions(v1, v2);\n return operatorResMap[operator].includes(res);\n};\nconst operatorResMap = {\n '>': [1],\n '>=': [0, 1],\n '=': [0],\n '<=': [-1, 0],\n '<': [-1],\n '!=': [-1, 1],\n};\nconst allowedOperators = Object.keys(operatorResMap);\nconst assertValidOperator = (op) => {\n if (typeof op !== 'string') {\n throw new TypeError(`Invalid operator type, expected string but got ${typeof op}`);\n }\n if (allowedOperators.indexOf(op) === -1) {\n throw new Error(`Invalid operator, expected one of ${allowedOperators.join('|')}`);\n }\n};\n//# sourceMappingURL=compare.js.map","import { compare } from './compare.js';\nimport { compareSegments, validateAndParse } from './utils.js';\n/**\n * Match [npm semver](https://docs.npmjs.com/cli/v6/using-npm/semver) version range.\n *\n * @param version Version number to match\n * @param range Range pattern for version\n * @returns `true` if the version number is within the range, `false` otherwise.\n *\n * @example\n * ```\n * satisfies('1.1.0', '^1.0.0'); // return true\n * satisfies('1.1.0', '~1.0.0'); // return false\n * ```\n */\nexport const satisfies = (version, range) => {\n // clean input\n range = range.replace(/([><=]+)\\s+/g, '$1');\n // handle multiple comparators\n if (range.includes('||')) {\n return range.split('||').some((r) => satisfies(version, r));\n }\n else if (range.includes(' - ')) {\n const [a, b] = range.split(' - ', 2);\n return satisfies(version, `>=${a} <=${b}`);\n }\n else if (range.includes(' ')) {\n return range\n .trim()\n .replace(/\\s{2,}/g, ' ')\n .split(' ')\n .every((r) => satisfies(version, r));\n }\n // if no range operator then \"=\"\n const m = range.match(/^([<>=~^]+)/);\n const op = m ? m[1] : '=';\n // if gt/lt/eq then operator compare\n if (op !== '^' && op !== '~')\n return compare(version, range, op);\n // else range of either \"~\" or \"^\" is assumed\n const [v1, v2, v3, , vp] = validateAndParse(version);\n const [r1, r2, r3, , rp] = validateAndParse(range);\n const v = [v1, v2 !== null && v2 !== void 0 ? v2 : 'x', v3 !== null && v3 !== void 0 ? v3 : 'x'];\n const r = [r1, r2 !== null && r2 !== void 0 ? r2 : 'x', r3 !== null && r3 !== void 0 ? r3 : 'x'];\n // validate pre-release\n if (rp) {\n if (!vp)\n return false;\n if (compareSegments(v, r) !== 0)\n return false;\n if (compareSegments(vp.split('.'), rp.split('.')) === -1)\n return false;\n }\n // first non-zero number\n const nonZero = r.findIndex((v) => v !== '0') + 1;\n // pointer to where segments can be >=\n const i = op === '~' ? 2 : nonZero > 1 ? nonZero : 1;\n // before pointer must be equal\n if (compareSegments(v.slice(0, i), r.slice(0, i)) !== 0)\n return false;\n // after pointer must be >=\n if (compareSegments(v.slice(i), r.slice(i)) === -1)\n return false;\n return true;\n};\n//# sourceMappingURL=satisfies.js.map","import { semver } from './utils.js';\n/**\n * Validate [semver](https://semver.org/) version strings.\n *\n * @param version Version number to validate\n * @returns `true` if the version number is a valid semver version number, `false` otherwise.\n *\n * @example\n * ```\n * validate('1.0.0-rc.1'); // return true\n * validate('1.0-rc.1'); // return false\n * validate('foo'); // return false\n * ```\n */\nexport const validate = (version) => typeof version === 'string' && /^[v\\d]/.test(version) && semver.test(version);\n/**\n * Validate [semver](https://semver.org/) version strings strictly. Will not accept wildcards and version ranges.\n *\n * @param version Version number to validate\n * @returns `true` if the version number is a valid semver version number `false` otherwise\n *\n * @example\n * ```\n * validate('1.0.0-rc.1'); // return true\n * validate('1.0-rc.1'); // return false\n * validate('foo'); // return false\n * ```\n */\nexport const validateStrict = (version) => typeof version === 'string' &&\n /^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$/.test(version);\n//# sourceMappingURL=validate.js.map"],"names":[],"mappings":";;;;;;IAAO,MAAM,MAAM,GAAG,4IAA4I;IAC3J,MAAM,gBAAgB,GAAG,CAAC,OAAO,KAAK;IAC7C,IAAI,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE;IACrC,QAAQ,MAAM,IAAI,SAAS,CAAC,kCAAkC,CAAC;IAC/D,IAAI;IACJ,IAAI,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC;IACvC,IAAI,IAAI,CAAC,KAAK,EAAE;IAChB,QAAQ,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AC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,EAAE;IACtD,QAAQ,OAAO,KAAK;IACpB,IAAI,OAAO,IAAI;IACf;;IC/DA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;AACY,UAAC,QAAQ,GAAG,CAAC,OAAO,KAAK,OAAO,OAAO,KAAK,QAAQ,IAAI,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,OAAO;IACjH;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;AACY,UAAC,cAAc,GAAG,CAAC,OAAO,KAAK,OAAO,OAAO,KAAK,QAAQ;IACtE,IAAI,qLAAqL,CAAC,IAAI,CAAC,OAAO;;;;;;;;;;;;"} +\ No newline at end of file +diff --git a/node_modules/compare-versions/src/compare.ts b/node_modules/compare-versions/src/compare.ts +index 0b63734..a6a9af5 100644 +--- a/node_modules/compare-versions/src/compare.ts ++++ b/node_modules/compare-versions/src/compare.ts +@@ -1,5 +1,5 @@ + import { compareVersions } from './compareVersions.js'; +-import { CompareOperator } from './utils.js'; ++import { type CompareOperator } from './utils.js'; + + /** + * Compare [semver](https://semver.org/) version strings using the specified operator. +diff --git a/node_modules/compare-versions/src/index.ts b/node_modules/compare-versions/src/index.ts +index b2f8aab..8e30b2d 100644 +--- a/node_modules/compare-versions/src/index.ts ++++ b/node_modules/compare-versions/src/index.ts +@@ -1,5 +1,5 @@ + export { compare } from './compare.js'; + export { compareVersions } from './compareVersions.js'; + export { satisfies } from './satisfies.js'; +-export { CompareOperator } from './utils.js'; ++export type { CompareOperator } from './utils.js'; + export { validate, validateStrict } from './validate.js'; +diff --git a/node_modules/compare-versions/src/satisfies.ts b/node_modules/compare-versions/src/satisfies.ts +index 66cb171..0828ae3 100644 +--- a/node_modules/compare-versions/src/satisfies.ts ++++ b/node_modules/compare-versions/src/satisfies.ts +@@ -1,5 +1,5 @@ + import { compare } from './compare.js'; +-import { CompareOperator, compareSegments, validateAndParse } from './utils.js'; ++import { type CompareOperator, compareSegments, validateAndParse } from './utils.js'; + + /** + * Match [npm semver](https://docs.npmjs.com/cli/v6/using-npm/semver) version range. +@@ -43,7 +43,7 @@ export const satisfies = (version: string, range: string): boolean => { + // else range of either "~" or "^" is assumed + const [v1, v2, v3, , vp] = validateAndParse(version); + const [r1, r2, r3, , rp] = validateAndParse(range); +- const v = [v1, v2, v3]; ++ const v = [v1, v2 ?? 'x', v3 ?? 'x']; + const r = [r1, r2 ?? 'x', r3 ?? 'x']; + + // validate pre-release +diff --git a/node_modules/compare-versions/src/utils.ts b/node_modules/compare-versions/src/utils.ts +index c7ae849..0261a9c 100644 +--- a/node_modules/compare-versions/src/utils.ts ++++ b/node_modules/compare-versions/src/utils.ts +@@ -33,8 +33,10 @@ const forceType = (a: string | number, b: string | number) => + const compareStrings = (a: string, b: string) => { + if (isWildcard(a) || isWildcard(b)) return 0; + const [ap, bp] = forceType(tryParse(a), tryParse(b)); +- if (ap > bp) return 1; +- if (ap < bp) return -1; ++ if (ap !== undefined && bp !== undefined) { ++ if (ap > bp) return 1; ++ if (ap < bp) return -1; ++ } + return 0; + }; + +@@ -43,7 +45,7 @@ export const compareSegments = ( + b: string | string[] | RegExpMatchArray + ) => { + for (let i = 0; i < Math.max(a.length, b.length); i++) { +- const r = compareStrings(a[i] || '0', b[i] || '0'); ++ const r = compareStrings(a[i] || 'x', b[i] || 'x'); + if (r !== 0) return r; + } + return 0; +diff --git a/node_modules/compare-versions/tsconfig.json b/node_modules/compare-versions/tsconfig.json +new file mode 100644 +index 0000000..d9037da +--- /dev/null ++++ b/node_modules/compare-versions/tsconfig.json +@@ -0,0 +1,46 @@ ++{ ++ // Visit https://aka.ms/tsconfig to read more about this file ++ "compilerOptions": { ++ // File Layout ++ // "rootDir": "./src", ++ "outDir": "lib/esm", ++ ++ // Environment Settings ++ // See also https://aka.ms/tsconfig/module ++ "module": "esnext", ++ "target": "es2017", ++ "types": [], ++ // For nodejs: ++ // "lib": ["esnext"], ++ // "types": ["node"], ++ // and npm install -D @types/node ++ ++ // Other Outputs ++ "sourceMap": true, ++ "declaration": true, ++ "declarationMap": true, ++ ++ // Stricter Typechecking Options ++ "noUncheckedIndexedAccess": true, ++ "exactOptionalPropertyTypes": true, ++ ++ // Style Options ++ // "noImplicitReturns": true, ++ // "noImplicitOverride": true, ++ // "noUnusedLocals": true, ++ // "noUnusedParameters": true, ++ // "noFallthroughCasesInSwitch": true, ++ // "noPropertyAccessFromIndexSignature": true, ++ ++ // Recommended Options ++ "strict": true, ++ "jsx": "react-jsx", ++ "verbatimModuleSyntax": true, ++ "isolatedModules": true, ++ "noUncheckedSideEffectImports": true, ++ "moduleDetection": "force", ++ "skipLibCheck": true, ++ ++ "project": ".", ++ } ++} diff --git a/patches/compare-versions@6.1.1.patch b/patches/compare-versions@6.1.1.patch deleted file mode 100644 index c5615649..00000000 --- a/patches/compare-versions@6.1.1.patch +++ /dev/null @@ -1,67 +0,0 @@ -diff --git a/lib/esm/satisfies.js b/lib/esm/satisfies.js -index 7586b71657332f855431c4dd4f05e9394fd9aac3..a6ec29bfc98907c67ed4af71fca73bd8bff88798 100644 ---- a/lib/esm/satisfies.js -+++ b/lib/esm/satisfies.js -@@ -40,8 +40,9 @@ export const satisfies = (version, range) => { - // else range of either "~" or "^" is assumed - const [v1, v2, v3, , vp] = validateAndParse(version); - const [r1, r2, r3, , rp] = validateAndParse(range); -- const v = [v1, v2, v3]; -+ const v = [v1, v2 !== null && v2 !== void 0 ? v2 : 'x', v3 !== null && v3 !== void 0 ? v3 : 'x']; - const r = [r1, r2 !== null && r2 !== void 0 ? r2 : 'x', r3 !== null && r3 !== void 0 ? r3 : 'x']; -+ - // validate pre-release - if (rp) { - if (!vp) -diff --git a/lib/esm/utils.js b/lib/esm/utils.js -index b5cc8b9927ab38fc67032c133b531e95ec4cec15..ec56105fd2d806aa922f1488a27b02c56aff1865 100644 ---- a/lib/esm/utils.js -+++ b/lib/esm/utils.js -@@ -28,7 +28,7 @@ const compareStrings = (a, b) => { - }; - export const compareSegments = (a, b) => { - for (let i = 0; i < Math.max(a.length, b.length); i++) { -- const r = compareStrings(a[i] || '0', b[i] || '0'); -+ const r = compareStrings(a[i] || 'x', b[i] || 'x'); - if (r !== 0) - return r; - } -diff --git a/lib/umd/index.js b/lib/umd/index.js -index 2cfef261bca520e21ed41fc14950732b8aa6339b..1059784db86635f3aaaba83b5a72c5015e1d8490 100644 ---- a/lib/umd/index.js -+++ b/lib/umd/index.js -@@ -152,7 +152,7 @@ - // else range of either "~" or "^" is assumed - const [v1, v2, v3, , vp] = validateAndParse(version); - const [r1, r2, r3, , rp] = validateAndParse(range); -- const v = [v1, v2, v3]; -+ const v = [v1, v2 !== null && v2 !== void 0 ? v2 : 'x', v3 !== null && v3 !== void 0 ? v3 : 'x']; - const r = [r1, r2 !== null && r2 !== void 0 ? r2 : 'x', r3 !== null && r3 !== void 0 ? r3 : 'x']; - // validate pre-release - if (rp) { -diff --git a/package.json b/package.json -index b05b3daf706d7ba4e594233f8791fc3007a8e2cd..e51e76b86f95e9ebf0b5dba3b82aeb119628528d 100644 ---- a/package.json -+++ b/package.json -@@ -26,7 +26,7 @@ - "prepublishOnly": "npm run build", - "test": "c8 --reporter=lcov mocha" - }, -- "main": "./lib/umd/index.js", -+ "main": "./lib/src/index.ts", - "module": "./lib/esm/index.js", - "types": "./lib/esm/index.d.ts", - "sideEffects": false, -diff --git a/src/satisfies.ts b/src/satisfies.ts -index 66cb171d7f32e68fdda6929d2da223b97a053737..6b4973f037843f264338a01efdc4ace5dcf042cd 100644 ---- a/src/satisfies.ts -+++ b/src/satisfies.ts -@@ -43,7 +43,7 @@ export const satisfies = (version: string, range: string): boolean => { - // else range of either "~" or "^" is assumed - const [v1, v2, v3, , vp] = validateAndParse(version); - const [r1, r2, r3, , rp] = validateAndParse(range); -- const v = [v1, v2, v3]; -+ const v = [v1, v2 ?? 'x', v3 ?? 'x']; - const r = [r1, r2 ?? 'x', r3 ?? 'x']; - - // validate pre-release From 5a086524e220e1d40d39a8f52a6fe130a4dd7ef2 Mon Sep 17 00:00:00 2001 From: tcely Date: Sat, 14 Mar 2026 19:49:49 -0400 Subject: [PATCH 19/48] Add output: `bun-download-checksum` --- README.md | 15 ++++++++------- action.yml | 2 ++ src/verify.ts | 8 ++++---- 3 files changed, 14 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 3bc42ea9..d0137882 100644 --- a/README.md +++ b/README.md @@ -90,10 +90,11 @@ If you need to override the download URL, you can use the `bun-download-url` inp ## Outputs -| Name | Description | Example | -| ------------------ | ------------------------------------------ | ------------------------------------------------------------------ | -| `bun-version` | The output from `bun --version`. | `1.0.0` | -| `bun-revision` | The output from `bun --revision`. | `1.0.0+822a00c4` | -| `bun-path` | The path to the Bun executable. | `/path/to/bun` | -| `bun-download-url` | The URL from which Bun was downloaded. | `https://bun.sh/download/latest/linux/x64?avx2=true&profile=false` | -| `cache-hit` | If the Bun executable was read from cache. | `true` | +| Name | Description | Example | +| ----------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `bun-version` | The output from `bun --version`. | `1.0.0` | +| `bun-revision` | The output from `bun --revision`. | `1.0.0+822a00c4` | +| `bun-path` | The path to the Bun executable. | `/path/to/bun` | +| `bun-download-checksum` | The verified checksum of the archive from which Bun was extracted. May be empty on cache hits from previous action versions. | `sha256:a7bc4cdea1ef255a83adbf39c7aafcd30e09f2b8f74deec4b10ee318bc024d1f` | +| `bun-download-url` | The URL from which Bun was downloaded. | `https://github.com/oven-sh/bun/releases/latest/download/bun-linux-x64-musl-baseline.zip` | +| `cache-hit` | If the Bun executable was read from cache. | `true` | diff --git a/action.yml b/action.yml index bee9fcda..791f9d7a 100644 --- a/action.yml +++ b/action.yml @@ -51,6 +51,8 @@ outputs: description: The revision of Bun that was installed. bun-path: description: The path to the Bun executable. + bun-download-checksum: + description: The verified checksum of the archive from which Bun was extracted. May be empty on cache hits from previous action versions. bun-download-url: description: The URL from which Bun was downloaded. cache-hit: diff --git a/src/verify.ts b/src/verify.ts index bf230a0e..42d12805 100644 --- a/src/verify.ts +++ b/src/verify.ts @@ -1,6 +1,6 @@ import { createHash } from "node:crypto"; import { readFileSync, unlinkSync } from "node:fs"; -import { info, warning } from "@actions/core"; +import { info, warning, setOutput } from "@actions/core"; import { GITHUB_DIGEST_THRESHOLD } from "./github-api"; import { fetchAssetMetadata, getHexFromDigest } from "./github-asset"; import { getVerifiedManifest } from "./manifest"; @@ -80,7 +80,6 @@ export async function verifyAsset( * for custom/mirror URLs where parseAssetUrl() cannot resolve metadata. * Real security mismatches are always re-thrown. */ - let digest_matched = false; let manifestBaseUrl = ""; try { const metadata = await fetchAssetMetadata(downloadUrl, token); @@ -114,8 +113,8 @@ export async function verifyAsset( `Security Mismatch: GitHub API digest (${githubHash}) differs from local hash (${actualHash})!`, ); } - digest_matched = true; info(`GitHub API digest matched! (${metadata.digest})`); + setOutput("bun-download-checksum", `${metadata.digest}`); } else { warning( `GitHub digest missing for asset updated on ${updatedAt.toISOString()}`, @@ -198,7 +197,8 @@ export async function verifyAsset( ); } - info(`Successfully verified ${assetName} (PGP + SHA256)`); + info(`Successfully verified ${assetName} (PGP + ${manifestFile})`); + setOutput("bun-download-checksum", `${algorithm}:${manifestHash}`); } function silentUnlink(filePath: string): void { From 1b9e70cb279e0ebc10ef5ae59188e3de0015b3b8 Mon Sep 17 00:00:00 2001 From: tcely Date: Sat, 14 Mar 2026 19:49:52 -0400 Subject: [PATCH 20/48] Create atomic-write.ts --- src/atomic-write.ts | 64 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 src/atomic-write.ts diff --git a/src/atomic-write.ts b/src/atomic-write.ts new file mode 100644 index 00000000..c6ecbcb1 --- /dev/null +++ b/src/atomic-write.ts @@ -0,0 +1,64 @@ +import { randomBytes } from "node:crypto"; +import { renameSync, rmSync, statSync, writeFileSync } from "node:fs"; +import type { WriteFileOptions } from "node:fs"; +import { basename } from "node:path"; +import { debug } from "@actions/core"; + +/** + * Generates an 8-character base36 string from 6 random bytes. + * 6 bytes (48 bits) ensures we have enough entropy to fill 8 characters. + */ +const getTempExt = () => { + const bytes = randomBytes(6); + // Convert Buffer to a BigInt, then to base36 + const id = BigInt(`0x${bytes.toString("hex")}`).toString(36); + return `.${id.slice(0, 8)}.tmp`; +}; + +function writeDebug(operation: string, key: string, error: unknown): void { + const message = error instanceof Error ? error.message : String(error); + debug(`atomic-write: ${operation} failed for key "${key}": ${message}`); +} + +export function atomicWriteFileSync( + path: string, + value: string | Buffer | DataView, + options?: string | Omit, "flag" | "flush">, +): void { + const normalizedOpts = + "string" === typeof options ? { encoding: options } : (options ?? {}); + const optObj: WriteFileOptions = { + ...normalizedOpts, + encoding: normalizedOpts?.encoding ?? "utf8", + flag: "wx", + flush: true, + mode: normalizedOpts?.mode ?? 0o666, + }; + const tmpPath = `${path}${getTempExt()}`; + const tmpFilename = basename(tmpPath); + + try { + const mode = 0o777 & statSync(path).mode; + if (mode) { + optObj.mode = mode; + } + } catch { + // destination may not exist yet + } + + try { + writeFileSync(tmpPath, value, optObj); + renameSync(tmpPath, path); + } catch (error) { + if ( + !(error instanceof Error && "code" in error && "EEXIST" === error.code) + ) { + try { + rmSync(tmpPath, { force: true }); + } catch (e) { + writeDebug("cleanup", tmpFilename, e); + } + } + throw error; + } +} From 9aded43b73e064c273e258fc2578f095c3ee23f1 Mon Sep 17 00:00:00 2001 From: tcely Date: Sat, 14 Mar 2026 19:49:55 -0400 Subject: [PATCH 21/48] Tests for atomic-write.ts --- .gitignore | 1 + package.json | 2 + tests/atomic-write.test.ts | 201 +++++++++++++++++++++++++++++++++++++ tests/bundled.suite.ts | 7 ++ 4 files changed, 211 insertions(+) create mode 100644 tests/atomic-write.test.ts create mode 100644 tests/bundled.suite.ts diff --git a/.gitignore b/.gitignore index 69682676..8a5ef283 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .DS_Store node_modules/ +tests/build/ diff --git a/package.json b/package.json index 555dd50c..0394daec 100644 --- a/package.json +++ b/package.json @@ -23,6 +23,8 @@ "modules:patch": "npm x patch-package", "modules": "npm run modules:clean && npm run modules:patch", "build": "esbuild --target=node24 --outfile=dist/setup/index.js --bundle --keep-names --minify --platform=node --format=cjs --banner:js=\"var import_meta_url = require('url').pathToFileURL(__filename).href;\" --define:import.meta.url=import_meta_url src/index.ts && esbuild --target=node24 --outfile=dist/cache-save/index.js --bundle --keep-names --minify --platform=node --format=cjs --banner:js=\"var import_meta_url = require('url').pathToFileURL(__filename).href;\" --define:import.meta.url=import_meta_url src/cache-save.ts", + "build:tests": "esbuild --bundle --platform=node --format=esm --target=node24 --outfile=tests/build/tests.mjs --external:node:* --packages=external tests/bundled.suite.ts", + "tests:bundle": "node --test tests/build/tests.mjs", "start": "npm run build && node dist/setup/index.js" }, "dependencies": { diff --git a/tests/atomic-write.test.ts b/tests/atomic-write.test.ts new file mode 100644 index 00000000..630582c3 --- /dev/null +++ b/tests/atomic-write.test.ts @@ -0,0 +1,201 @@ +import { test, describe } from "node:test"; +import assert from "node:assert"; +import { + readFileSync, + writeFileSync, + rmSync, + statSync, + mkdirSync, + existsSync, + symlinkSync, +} from "node:fs"; +import { join } from "node:path"; +import { tmpdir } from "node:os"; +import { atomicWriteFileSync } from "../src/atomic-write"; + +export function register() { + describe("atomicWriteFileSync", () => { + const testDir = join(tmpdir(), `atomic-write-${Date.now()}`); + + // Setup: Create a clean temp directory + try { + mkdirSync(testDir, { recursive: true }); + } catch (e) { + /* ignored */ + } + + test("standard write: creates a new file with string content", () => { + const dest = join(testDir, "test.txt"); + const content = "atomic content"; + atomicWriteFileSync(dest, content); + assert.strictEqual(readFileSync(dest, "utf8"), content); + }); + + test("binary write: handles Uint8Array/Buffer correctly", () => { + const dest = join(testDir, "binary.bin"); + const data = new Uint8Array([72, 101, 108, 108, 111]); // "Hello" + atomicWriteFileSync(dest, data); + const result = readFileSync(dest); + assert.deepStrictEqual(new Uint8Array(result), data); + }); + + test("initial write: creates a new file with restricted 0o600 permissions", () => { + const dest = join(testDir, "new-restricted-file.conf"); + assert.strictEqual(existsSync(dest), false); + + try { + // Act: Create new file with 0o600 (required for bunfig.ts) + atomicWriteFileSync(dest, "data", { mode: 0o600 }); + + // Assert: Verify permissions + const stats = statSync(dest); + assert.strictEqual(stats.mode & 0o777, 0o600); + } finally { + try { + rmSync(dest, { force: true }); + } catch {} + } + }); + + test("initial binary write: DataView correctly respects 0o600 permissions", () => { + const dest = join(testDir, "binary-restricted.dat"); + const buffer = new ArrayBuffer(4); + const view = new DataView(buffer); + view.setUint32(0, 0xdeadbeef); + + assert.strictEqual(existsSync(dest), false); + + try { + // Act: Create new file with DataView and 0o600 + atomicWriteFileSync(dest, view, { mode: 0o600 }); + + // Assert: Verify permissions and content + const stats = statSync(dest); + const result = readFileSync(dest); + + assert.strictEqual(stats.mode & 0o777, 0o600); + // Note: readFileSync returns a Buffer, we check the uint32 value + assert.strictEqual(result.readUInt32BE(0), 0xdeadbeef); + } finally { + try { + rmSync(dest, { force: true }); + } catch {} + } + }); + + test("permissions: preserves existing mode on overwrite", () => { + const dest = join(testDir, "mode-preserve.txt"); + // Initial file with 0o400 (read-only for owner) + writeFileSync(dest, "old", { mode: 0o400 }); + + atomicWriteFileSync(dest, "new"); + + const stats = statSync(dest); + assert.strictEqual(readFileSync(dest, "utf8"), "new"); + // Masking with 0o777 to ignore file-type bits + assert.strictEqual(stats.mode & 0o777, 0o400); + }); + + test("encoding: handles string shorthand (hex)", () => { + const dest = join(testDir, "hex.txt"); + // "world" in hex + atomicWriteFileSync(dest, "776f726c64", "hex"); + assert.strictEqual(readFileSync(dest, "utf8"), "world"); + }); + + test("safety: fails but does not crash when writing to a directory path", () => { + // Attempting to write a file where a directory already exists + assert.throws(() => { + atomicWriteFileSync(testDir, "should fail"); + }); + }); + + test("path errors: respects OS ENOTDIR for trailing slashes on files", () => { + const dest = join(testDir, "not-a-dir.txt"); + writeFileSync(dest, "content"); + + assert.throws( + () => { + atomicWriteFileSync(`${dest}/`, "data"); + }, + (err: any) => err.code === "ENOTDIR" || err.code === "ENOENT", + ); + }); + + test("concurrency: handles 50 simultaneous writes to the same path", async () => { + const dest = join(testDir, "race-condition.txt"); + const writes = Array.from({ length: 50 }, (_, i) => { + return new Promise((resolve, reject) => { + // Randomize timing slightly to increase chance of overlap + setTimeout(() => { + try { + atomicWriteFileSync(dest, `write-${i}`); + resolve(); + } catch (e: any) { + // EEXIST is expected "wx" behavior during a temp-file rename race + if (e?.code === "EEXIST") { + resolve(); + } else { + reject(e); + } + } + }, Math.random() * 10); + }); + }); + + await Promise.all(writes); + assert.ok(existsSync(dest), "Final file should exist after race"); + }); + + test("DataView: correctly writes a slice of an ArrayBuffer", () => { + const dest = join(testDir, "dataview-slice.bin"); + const buffer = new ArrayBuffer(10); + const fullView = new Uint8Array(buffer); + fullView.fill(0); // Fill with zeros + + // Put specific data in the middle + fullView[4] = 0xde; + fullView[5] = 0xad; + + // Create a 2-byte DataView starting at offset 4 + const slicedView = new DataView(buffer, 4, 2); + + atomicWriteFileSync(dest, slicedView); + + const result = readFileSync(dest); + assert.strictEqual(result.length, 2, "Should only write 2 bytes"); + assert.strictEqual(result[0], 0xde); + assert.strictEqual(result[1], 0xad); + }); + + test("Broken Symlink: handles rename over broken link", () => { + const linkPath = join(testDir, "broken-link"); + const targetPath = join(testDir, "non-existent-target"); + + // Only skip when the OS actively refuses symlink creation + try { + symlinkSync(targetPath, linkPath); + } catch (e: any) { + if (e?.code === "EPERM" || e?.code === "ENOSYS") { + return; // platform doesn't support symlinks — skip + } + throw e; // unexpected setup failure + } + + // Symlinks are supported — let any failure surface from here on + atomicWriteFileSync(linkPath, "recovered"); + + assert.strictEqual(readFileSync(linkPath, "utf8"), "recovered"); + assert.ok( + statSync(linkPath).isFile(), + "Should have replaced link with real file", + ); + }); + + test("cleanup", () => { + try { + rmSync(testDir, { recursive: true, force: true }); + } catch {} + }); + }); +} diff --git a/tests/bundled.suite.ts b/tests/bundled.suite.ts new file mode 100644 index 00000000..476e31a3 --- /dev/null +++ b/tests/bundled.suite.ts @@ -0,0 +1,7 @@ +// tests/bundled.suite.ts +import { register as registerAtomicTests } from "./atomic-write.test"; +// import { register as registerChecksumTests } from "./checksum.test"; + +// Register all sub-suites +registerAtomicTests(); +// registerChecksumTests(); From 5c3a85c1aa80492497410f5cbfa0c100ed71ef1d Mon Sep 17 00:00:00 2001 From: tcely Date: Sat, 14 Mar 2026 19:49:58 -0400 Subject: [PATCH 22/48] Update bunfig.ts --- src/bunfig.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/bunfig.ts b/src/bunfig.ts index cfa11587..5d3ef45b 100644 --- a/src/bunfig.ts +++ b/src/bunfig.ts @@ -1,6 +1,7 @@ -import { existsSync, readFileSync, writeFileSync } from "node:fs"; +import { existsSync, readFileSync } from "node:fs"; import { info } from "@actions/core"; import { parse, stringify } from "@iarna/toml"; +import { atomicWriteFileSync } from "./atomic-write"; import { Registry } from "./registry"; type BunfigConfig = { @@ -77,5 +78,5 @@ export function writeBunfig(path: string, registries: Registry[]): void { delete config.install.scopes; } - writeFileSync(path, stringify(config), { encoding: "utf8" }); + atomicWriteFileSync(path, stringify(config), { mode: 0o600 }); } From 4dc817554f1b0427b85a32cbbdfac85dad3286ec Mon Sep 17 00:00:00 2001 From: tcely Date: Sat, 14 Mar 2026 19:50:00 -0400 Subject: [PATCH 23/48] Update filesystem-cache.ts --- src/filesystem-cache.ts | 106 ++++++++++++++++++++++++++++++++++------ 1 file changed, 92 insertions(+), 14 deletions(-) diff --git a/src/filesystem-cache.ts b/src/filesystem-cache.ts index 88f0f87c..e21cab63 100644 --- a/src/filesystem-cache.ts +++ b/src/filesystem-cache.ts @@ -2,36 +2,113 @@ import { join } from "node:path"; import { tmpdir } from "node:os"; import { existsSync, + mkdirSync, readFileSync, - writeFileSync, + realpathSync, + rmSync, statSync, - mkdirSync, } from "node:fs"; import { createHash } from "node:crypto"; import { debug } from "@actions/core"; -const CACHE_DIR = process.env.RUNNER_TEMP || tmpdir(); -const FS_CACHE_TIMEOUT = 1000 * 60 * 60 * 12; // hours +import { atomicWriteFileSync } from "./atomic-write"; + +const temporaryDir = process.env.RUNNER_TEMP || tmpdir(); +const CACHE_DIR = join( + (() => { + try { + return realpathSync(temporaryDir); + } catch { + return temporaryDir; + } + })(), + "setup-bun", +); +export const CACHE_MAX_SIZE = 1024 * 1024 * 512; // MiB +const FS_CACHE_TIMEOUT = 1000 * 60 * 60 * 24 * 2; // days + +export function getCacheTtl(): number { + if (process.env["FS_CACHE_FORCE_STALE"]) { + return 1000 * 60 * 1; // minutes + } else { + return FS_CACHE_TIMEOUT; + } +} function cacheDebug(operation: string, key: string, error: unknown): void { const message = error instanceof Error ? error.message : String(error); debug(`filesystem-cache: ${operation} failed for key "${key}": ${message}`); } -function getCachePath(key: string): string { +/** + * Logic: + * - Current & Previous: Keep for "sliding window" cache hits at month boundaries. + * - Next: Delete to prevent the cache from growing indefinitely. + */ +const getCacheDirs = (m = new Date().getMonth()) => { + const pad = (n: number) => (1 + n).toString().padStart(3, "0"); + + return { + previousMonthDir: pad((11 + m) % 12), + monthDir: pad(m), + nextMonthDir: pad((1 + m) % 12), + }; +}; + +const cleanupFutureCache = (root: string = CACHE_DIR) => { + const { nextMonthDir } = getCacheDirs(); + const nextMonthPath = join(root, nextMonthDir); + + try { + if (existsSync(nextMonthPath)) { + rmSync(nextMonthPath, { recursive: true, force: true }); + } + } catch (error) { + cacheDebug("cleanupFutureCache", nextMonthDir, error); + } +}; + +/** + * Helper to find a file in the current or previous month's cache directory. + * Returns the full path if found, or undefined if neither exists. + */ +const findInCache = ( + fileName: string, + root: string = CACHE_DIR, +): string | undefined => { + const { monthDir, previousMonthDir } = getCacheDirs(); + + const currentPath = join(root, monthDir, fileName); + if (existsSync(currentPath)) return currentPath; + + const previousPath = join(root, previousMonthDir, fileName); + if (existsSync(previousPath)) return previousPath; + + return undefined; +}; + +function getCacheFileName(key: string): string { const hash = createHash("sha1").update(key).digest("hex"); - return join(CACHE_DIR, `setup-bun-${hash}.json`); + return `${hash}.json`; +} + +function getWriteCachePath(key: string): string { + const { monthDir } = getCacheDirs(); + const monthPath = join(CACHE_DIR, monthDir); + mkdirSync(monthPath, { recursive: true }); + + return join(monthPath, getCacheFileName(key)); } /** - * Retrieves data from the filesystem cache if it exists and is under 12 hours old. + * Retrieves data from the filesystem cache if it exists and is fresh. */ export function getCache(key: string): string | null { - const path = getCachePath(key); try { - if (existsSync(path)) { + const path = findInCache(getCacheFileName(key)); + if (path) { const stats = statSync(path); - if (FS_CACHE_TIMEOUT > Date.now() - stats.mtimeMs) { + if (getCacheTtl() > Date.now() - stats.mtimeMs) { return readFileSync(path, "utf8"); } } @@ -45,12 +122,13 @@ export function getCache(key: string): string | null { * Saves data to the filesystem cache. */ export function setCache(key: string, value: string): void { - const path = getCachePath(key); try { - if (!existsSync(CACHE_DIR)) { - mkdirSync(CACHE_DIR, { recursive: true }); + if (Buffer.byteLength(value, "utf8") > CACHE_MAX_SIZE) { + throw new Error("cache entry exceeds CACHE_MAX_SIZE"); } - writeFileSync(path, value, "utf8"); + + atomicWriteFileSync(getWriteCachePath(key), value); + cleanupFutureCache(); } catch (error) { cacheDebug("setCache", key, error); } From f507129c2f32b672f1212a2814f504b3717e6e33 Mon Sep 17 00:00:00 2001 From: tcely Date: Sat, 14 Mar 2026 19:50:03 -0400 Subject: [PATCH 24/48] Tests for filesystem-cache.ts --- tests/bundled.suite.ts | 6 ++- tests/filesystem-cache.test.ts | 91 ++++++++++++++++++++++++++++++++++ tests/init.suite.ts | 7 +++ 3 files changed, 102 insertions(+), 2 deletions(-) create mode 100644 tests/filesystem-cache.test.ts create mode 100644 tests/init.suite.ts diff --git a/tests/bundled.suite.ts b/tests/bundled.suite.ts index 476e31a3..8e5eec34 100644 --- a/tests/bundled.suite.ts +++ b/tests/bundled.suite.ts @@ -1,7 +1,9 @@ // tests/bundled.suite.ts +import "./init.suite"; + import { register as registerAtomicTests } from "./atomic-write.test"; -// import { register as registerChecksumTests } from "./checksum.test"; +import { register as registerFilesystemTests } from "./filesystem-cache.test"; // Register all sub-suites registerAtomicTests(); -// registerChecksumTests(); +registerFilesystemTests(); diff --git a/tests/filesystem-cache.test.ts b/tests/filesystem-cache.test.ts new file mode 100644 index 00000000..75485a0e --- /dev/null +++ b/tests/filesystem-cache.test.ts @@ -0,0 +1,91 @@ +import { test, describe, after } from "node:test"; +import assert from "node:assert"; +import { + existsSync, + mkdirSync, + realpathSync, + rmSync, + writeFileSync, +} from "node:fs"; +import { join } from "node:path"; +import { getCache, setCache, CACHE_MAX_SIZE } from "../src/filesystem-cache"; + +export function register() { + describe("Filesystem Cache", () => { + // Reference the path set in the bundle entry point + const rawTemp = process.env.RUNNER_TEMP!; + const TEST_ROOT = (() => { + try { + return realpathSync(rawTemp); + } catch { + return rawTemp; + } + })(); + + after(() => { + // Safety check: only delete if we are in the isolated test root + if (TEST_ROOT.includes("setup-bun-integration-test")) { + rmSync(TEST_ROOT, { recursive: true, force: true }); + } + }); + + test("should use TEST_ROOT directory", () => { + assert.ok( + TEST_ROOT.includes("setup-bun-integration-test"), + `Using unexpected TEST_ROOT: ${TEST_ROOT}`, + ); + }); + + test("should persist and retrieve data within the same month", () => { + const key = "test-key"; + const value = "test-value"; + + setCache(key, value); + const retrieved = getCache(key); + + assert.strictEqual( + retrieved, + value, + "Value should be retrievable after set", + ); + }); + + test("should respect CACHE_MAX_SIZE (metadata check)", () => { + // Verify the exported constant matches src/filesystem-cache.ts (512 MiB) + assert.strictEqual(CACHE_MAX_SIZE, 1024 * 1024 * 512); + }); + + test("should handle missing keys gracefully", () => { + const result = getCache("missing-" + Date.now()); + assert.strictEqual(result, null, "Missing keys should return null"); + }); + + test("should cleanup 'future' month directories on write", () => { + const m = new Date().getMonth(); + + // Match exactly the pad logic from src/filesystem-cache.ts: (1 + n).padStart(3, "0") + // Logic for nextMonthDir: pad((1 + m) % 12) + const nextMonthIdx = (1 + m) % 12; + const nextMonthDirName = (nextMonthIdx + 1).toString().padStart(3, "0"); + + const futurePath = join(TEST_ROOT, "setup-bun", nextMonthDirName); + + mkdirSync(futurePath, { recursive: true }); + writeFileSync(join(futurePath, "stale.json"), "{}"); + + assert.ok( + existsSync(futurePath), + "Setup failed: Future directory should exist before trigger", + ); + + // setCache triggers internal cleanupFutureCache() + setCache("trigger-cleanup", "data"); + + assert.strictEqual( + existsSync(futurePath), + false, + `Future directory ${nextMonthDirName} should have been purged`, + ); + }); + }); +} diff --git a/tests/init.suite.ts b/tests/init.suite.ts new file mode 100644 index 00000000..521460dd --- /dev/null +++ b/tests/init.suite.ts @@ -0,0 +1,7 @@ +import { join } from "node:path"; +import { tmpdir } from "node:os"; + +const previousEnvVars = { ...process.env }; + +// This is a side-effect only file +process.env["RUNNER_TEMP"] = join(tmpdir(), "setup-bun-integration-test"); From bc1dacefa3dc0b86c3902408a306d34c688c6c4a Mon Sep 17 00:00:00 2001 From: tcely Date: Sat, 14 Mar 2026 19:50:06 -0400 Subject: [PATCH 25/48] Create download-bun.ts --- src/download-bun.ts | 112 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 112 insertions(+) create mode 100644 src/download-bun.ts diff --git a/src/download-bun.ts b/src/download-bun.ts new file mode 100644 index 00000000..3344ee34 --- /dev/null +++ b/src/download-bun.ts @@ -0,0 +1,112 @@ +import { renameSync, rmSync } from "node:fs"; +import { basename, dirname, join, resolve } from "node:path"; +import { debug, error, info, warning } from "@actions/core"; +import type { AnnotationProperties } from "@actions/core"; +import { downloadTool, extractZip } from "@actions/tool-cache"; +import { addExtension, extractBun, getCacheKey } from "./utils"; +import { verifyAsset } from "./verify"; + +// This type covers info, debug, notice, warning, and error +type Logger = + | ((message: string | Error) => void) + | ((message: string | Error, properties?: AnnotationProperties) => void); + +function downloadLog( + f: Logger, + preface: string, + error: unknown, + prefix: string = "download-bun", +): void { + if (error instanceof Error) { + // Prepends your context to the error message without losing the Error object properties + error.message = `${prefix}: ${preface}: ${error.message}`; + f(error); + } else { + f(`${prefix}: ${preface}: ${String(error)}`); + } +} + +export async function downloadBun( + url: string, + bunPath: string, + token?: string, +): Promise<{ binPath: string; checksum: string; url: string }> { + const extracted: { zipPath?: string; bunPath?: string } = {}; + + // Workaround for https://github.com/oven-sh/setup-bun/issues/79 and https://github.com/actions/toolkit/issues/1179 + const zipPath = addExtension(await downloadTool(url), ".zip"); + + // INTEGRITY CHECK: Verify the download before extraction. + // This checks the Local Hash, GitHub Asset Digest, and the robobun PGP Signature. + const checksum = await verifyAsset(zipPath, url, token); + + // Temporarily set RUNNER_TEMP to a directory next to bunPath + // This allows for rename to work for atomic replacement + const parentDir = resolve(dirname(bunPath)); + const temporaryDir = join( + parentDir, + `${getCacheKey(url).replace(/[^A-Za-z0-9-]/g, "")}.tmp`, + ); + const savedRunnerTemp = process.env["RUNNER_TEMP"] || ""; + + try { + process.env["RUNNER_TEMP"] = temporaryDir; + + try { + extracted.zipPath = await extractZip(zipPath); + } catch (err) { + downloadLog( + error, + `could not unzip: ${basename(zipPath)}`, + err, + "downloadBun", + ); + throw err; + } + + try { + extracted.bunPath = await extractBun(extracted.zipPath!); + } catch (err) { + downloadLog( + error, + `could not extract bun from: ${extracted.zipPath}`, + err, + "downloadBun", + ); + throw err; + } + + try { + renameSync(extracted.bunPath!, bunPath); + } catch (err) { + downloadLog( + error, + `could not rename: ${extracted.bunPath} => ${bunPath}`, + err, + "downloadBun", + ); + throw err; + } + } finally { + // Restore RUNNER_TEMP to the previous value + process.env["RUNNER_TEMP"] = savedRunnerTemp; + + // Clean up the extracted files + try { + rmSync(temporaryDir, { force: true, recursive: true }); + } catch (err) { + downloadLog( + warning, + `failed to remove: ${basename(temporaryDir)}`, + err, + "downloadBun", + ); + } + } + + return { + binPath: bunPath, + checksum: checksum, + url: url, + }; +} From 9cbe7775e9cbe17d2b44827e7c0daea6c92ccd80 Mon Sep 17 00:00:00 2001 From: tcely Date: Sat, 14 Mar 2026 19:50:08 -0400 Subject: [PATCH 26/48] Review and update the manifest verification - Cache headers with the response --- src/manifest.ts | 183 +++++++++++++++------------------------- src/response-storage.ts | 58 ++++++++++++- src/utils.ts | 2 +- 3 files changed, 123 insertions(+), 120 deletions(-) diff --git a/src/manifest.ts b/src/manifest.ts index 8aad7d88..94b22284 100644 --- a/src/manifest.ts +++ b/src/manifest.ts @@ -4,74 +4,26 @@ import { request } from "./utils"; import { getSigningKey } from "./signing-key"; /** - * Extracts the creation date from an OpenPGP v6 signature object. + * Returns the 'Last-Modified' Date only if it is valid and falls + * between 'created' and now. Otherwise returns undefined. */ -async function getSignatureDate(signature: any): Promise { - if (null === signature) return null; - - try { - // 1. Official v6 async getter - if ("function" === typeof signature.getCreationTime) { - const date = await signature.getCreationTime(); - if (date instanceof Date) return date; - } - - const sigPacket = signature.signaturePacket; - if (null !== sigPacket && undefined !== sigPacket) { - // 2. Search Hashed Subpackets (Spec Type 2: Signature Creation Time) - const subpackets = [ - ...(sigPacket.hashedSubpackets || []), - ...(sigPacket.subpackets || []), - ]; - - const creationSub = subpackets.find( - (p) => 2 === p?.type || undefined !== p?.creationTime, - ); - if ( - undefined !== creationSub && - creationSub?.creationTime instanceof Date - ) { - return creationSub.creationTime; - } - // 2b. v6 internal subpacket search (Type 2 is Creation Time) - // We convert to Array because v6 subpackets can be an Iterable/Map - const hashed = sigPacket.hashedSubpackets || []; - const unhashed = sigPacket.unhashedSubpackets || []; - const allSubpackets = [...hashed, ...unhashed]; - - for (const p of allSubpackets) { - if (2 === p?.type && p?.creationTime instanceof Date) { - return p.creationTime; - } - } - - // 3. Check for the synchronous 'created' property - if (sigPacket.created instanceof Date) { - return sigPacket.created; - } - - // 4. Try the packet-level getter - if ("function" === typeof sigPacket.getCreationTime) { - const date = await sigPacket.getCreationTime(); - if (date instanceof Date) return date; - } - } - - // 5. Deep Search in 'packets' array - const packets = signature.packets || []; - if (Array.isArray(packets)) { - for (const p of packets) { - if ("function" === typeof p.getCreationTime) { - const date = await p.getCreationTime(); - if (date instanceof Date) return date; - } - } - } - } catch (err) { - // Silently continue - } - - return null; +export function getValidatedLastModified( + res: Response, + created: Date, +): Date | undefined { + const headerValue = res.headers.get("Last-Modified"); + if (!headerValue) return undefined; + + const mtime = new Date(headerValue); + const mtimeNum = mtime.getTime(); + + // 1. Check for 'Invalid Date' (NaN) + // 2. Ensure it isn't before the 'created' bound + // 3. Ensure it isn't in the future (server clock drift) + const isValid = + !isNaN(mtimeNum) && mtimeNum > created.getTime() && mtimeNum < Date.now(); + + return isValid ? mtime : undefined; } /** @@ -81,33 +33,37 @@ export async function getVerifiedManifest( downloadUrl: string, token?: string, ): Promise { - const ascUrl = `${downloadUrl}.asc`; - const parsedUrl = new URL(ascUrl); + const parsedUrl = new URL(downloadUrl); + parsedUrl.pathname = `${parsedUrl.pathname}.asc`; + const ascUrl = parsedUrl.href; /** * Scoping the token to github.com prevents leaking credentials to * third-party servers while allowing for higher rate limits and * access to private repositories. */ - const isGitHub = "github.com" === parsedUrl.hostname; + const isGitHub = + "github.com" === parsedUrl.hostname && "https:" === parsedUrl.protocol; const res = await request(ascUrl, { headers: isGitHub && token ? { "Authorization": `Bearer ${token}` } : {}, }); - const armoredSignedMessage = await res.text(); - - /** - * We run these in parallel to avoid "waterfalling" the async work: - * 1. getSigningKey: Resolves/validates the 'robobun' public key from storage or pool. - * 2. readCleartextMessage: Parses the raw string into an OpenPGP message object. - */ - const [publicKey, message] = await Promise.all([ + const [armoredSignedMessage, publicKey] = await Promise.all([ + res.text(), getSigningKey(token), - openpgp.readCleartextMessage({ cleartextMessage: armoredSignedMessage }), ]); + // This must wait for armoredSignedMessage to be available. + const cleartextMessage = await openpgp.readCleartextMessage({ + cleartextMessage: armoredSignedMessage, + }); + const created = publicKey.getCreationTime(); const fingerprint = publicKey.getFingerprint().toUpperCase(); + const trustedKeyID = publicKey.getKeyID().toHex().toLowerCase(); + + info(`Trusted Key ID: ${trustedKeyID}`); + info(`Trusted Fingerprint: ${fingerprint}`); /** * 'verification' holds a result object that includes the unverified data @@ -115,34 +71,28 @@ export async function getVerifiedManifest( * hasn't been checked yet. */ const verification = await openpgp.verify({ - message, + message: cleartextMessage, verificationKeys: publicKey, + date: getValidatedLastModified(res, created) ?? new Date(), + expectSigned: true, format: "utf8", }); - const trustedKeyID = publicKey.getKeyID().toHex().toLowerCase(); - - info(`Trusted Key ID: ${trustedKeyID}`); - info(`Trusted Fingerprint: ${fingerprint}`); - /** * Filter for the signature that matches our trusted robobun fingerprint. * This ensures we aren't misled by other signatures that might be present. */ const signature = verification.signatures.find((sig) => { - const sigKeyID = sig.keyID.toHex().toLowerCase(); - - const sigFingerprint = sig.signingKey?.getFingerprint().toUpperCase(); - if ( - (sigFingerprint && sigFingerprint === fingerprint) || - sigKeyID === trustedKeyID - ) { + const signingKey = publicKey.getKeys(sig.keyID)[0]; + if (signingKey && publicKey.hasSameFingerprintAs(signingKey)) { return true; } - const signingSubkey = publicKey.getCommonKeys(sig.keyID)[0]; - if (signingSubkey) { - return signingSubkey.getFingerprint().toUpperCase() === fingerprint; + const signingSubkeys = publicKey.getSubkeys(sig.keyID); + for (const subKey of signingSubkeys) { + if (subKey.mainKey.hasSameFingerprintAs(publicKey)) { + return true; + } } return false; @@ -156,41 +106,40 @@ export async function getVerifiedManifest( * Log the signature details immediately. This allows us to see the * identity claims before the cryptographic verification is attempted. */ - // In v6, the creation time might be in the signature object directly - // or inside the internal packets. - const creationDate = await getSignatureDate(signature); info("Checking PGP signature..."); - info( - `- Signed On: ${creationDate instanceof Date ? creationDate.toISOString() : "Unknown"}`, - ); - info(`- Key ID: ${signature.keyID.toHex().toLowerCase()}`); - info(`- Fingerprint: ${fingerprint}\n`); - - const { verified, data } = signature; + info(` - Key ID\t: ${signature.keyID.toHex().toLowerCase()}`); + const signatureKey = publicKey.getKeys(signature.keyID)[0]; + info(` - Fingerprint\t: ${signatureKey.getFingerprint().toUpperCase()}`); try { /** * MUST await 'verified' to perform the cryptographic check. * If the signature is invalid or tampered with, this throws. */ - await verified; - info("Signature verified successfully."); + const [verifyObj, sigObj] = await Promise.all([ + signature.verified, + signature.signature, + ]); + + const creationDate = sigObj.packets[0]?.created; + info( + ` - Signed On\t: ${creationDate instanceof Date ? creationDate.toISOString() : "Unknown"}`, + ); + + if (true === verifyObj) { + info("\nSignature verified successfully."); + } } catch (err: unknown) { - const message = (err as Error).message; - error(`PGP Signature verification failed: ${message}`); + const errMessage = (err as Error).message; + error(`PGP Signature verification failed: ${errMessage}`); throw new Error( - `PGP Signature verification failed for ${ascUrl}: ${message}`, + `PGP Signature verification failed for ${ascUrl}: ${errMessage}`, ); } - /** - * In v6, signature.data is undefined for cleartext. - * Use the 'message' object which is the CleartextMessage. - */ - const text = message.getText(); - if (!text) { + if (!verification.data) { throw new Error("Verified manifest text is empty or undefined."); } - return text; + return verification.data; } diff --git a/src/response-storage.ts b/src/response-storage.ts index d83ee35f..69d91162 100644 --- a/src/response-storage.ts +++ b/src/response-storage.ts @@ -1,6 +1,22 @@ import path from "node:path"; +import { createHash } from "node:crypto"; import { URL } from "node:url"; -import { getCache, setCache } from "./filesystem-cache"; +import { getCacheTtl, getCache, setCache } from "./filesystem-cache"; + +const ENVELOPE_SENTINEL = "__envelope"; + +// Extracts the type of the 'method' property from RequestInit +type FetchMethod = NonNullable; + +function makeEnvelopeValue( + method: string, + url: string, + status: number, +): string { + return createHash("sha1") + .update(JSON.stringify({ method, url, status })) + .digest("hex"); +} /** * Determines if the URL is metadata eligible for storage (e.g., GitHub API). @@ -35,15 +51,41 @@ export function getStoredResponse(url: string): Response | undefined { const data = getCache(url); if (null !== data) { + try { + const parsed = JSON.parse(data); + + if ( + parsed && + "object" === typeof parsed && + ENVELOPE_SENTINEL in parsed && + parsed[ENVELOPE_SENTINEL] === + makeEnvelopeValue(parsed.method, url, parsed.status) + ) { + return new Response(parsed.body, { + status: parsed.status, + headers: { + ...parsed.headers, + "X-Storage-Hit": "true", + }, + }); + } + } catch { + /* Not JSON or not an envelope; Fall through to legacy handler */ + } + const host = new URL(url).hostname; const contentType = "api.github.com" === host ? "application/json" : "text/plain; charset=utf-8"; + // Legacy/Raw Handler: Synthetic Last-Modified + // (now - TTL) is the oldest possible age for this data + const lastModified = new Date(Date.now() - getCacheTtl()).toUTCString(); return new Response(data, { status: 200, headers: { "Content-Type": contentType, + "Last-Modified": lastModified, "X-Storage-Hit": "true", }, }); @@ -57,6 +99,7 @@ export function getStoredResponse(url: string): Response | undefined { export async function setStoredResponse( url: string, res: Response, + method: FetchMethod = "GET", ): Promise { if (!isMetadata(url) || !res.ok) { return; @@ -65,7 +108,18 @@ export async function setStoredResponse( try { // We clone so the original stream remains readable by the caller const body = await res.clone().text(); - setCache(url, body); + const headers = Object.fromEntries(res.headers.entries()); + const envelope = JSON.stringify({ + [ENVELOPE_SENTINEL]: makeEnvelopeValue(method, url, res.status), + body, + headers, + ok: res.ok, + method: method, + status: res.status, + statusText: res.statusText, + url: res.url, + }); + setCache(url, envelope); } catch { // Fail silently to avoid breaking the main execution flow } diff --git a/src/utils.ts b/src/utils.ts index e0b81ec1..665b1a79 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -48,7 +48,7 @@ export async function request( } if (canUseResponseCache) { - await setStoredResponse(url, res); + await setStoredResponse(url, res, (init?.method ?? "GET").toUpperCase()); } return res; From ecb6dc0bd656000abfeb4cd4bff2aa3ed24cc02c Mon Sep 17 00:00:00 2001 From: tcely Date: Sat, 14 Mar 2026 19:50:11 -0400 Subject: [PATCH 27/48] Migrate functions --- src/action.ts | 123 ++++++++---------------------------------------- src/manifest.ts | 25 +--------- src/utils.ts | 110 ++++++++++++++++++++++++++++++++++++++++--- 3 files changed, 124 insertions(+), 134 deletions(-) diff --git a/src/action.ts b/src/action.ts index 98f4ea5d..58c1fde3 100644 --- a/src/action.ts +++ b/src/action.ts @@ -1,24 +1,21 @@ +import { mkdirSync, symlinkSync, existsSync, readFileSync } from "node:fs"; import { homedir } from "node:os"; import { join } from "node:path"; -import { - mkdirSync, - readdirSync, - symlinkSync, - renameSync, - copyFileSync, - existsSync, -} from "node:fs"; -import { addPath, info, warning } from "@actions/core"; +import { cwd } from "node:process"; import { isFeatureAvailable, restoreCache } from "@actions/cache"; -import { downloadTool, extractZip } from "@actions/tool-cache"; -import { getExecOutput } from "@actions/exec"; -import { Registry } from "./registry"; +import { addPath, saveState, info, warning } from "@actions/core"; +import { atomicWriteFileSync } from "./atomic-write"; import { writeBunfig } from "./bunfig"; -import { saveState } from "@actions/core"; -import { addExtension, extractVersionFromUrl, getCacheKey } from "./utils"; +import { downloadBun } from "./download-bun"; import { getDownloadUrl } from "./download-url"; -import { cwd } from "node:process"; -import { verifyAsset } from "./verify"; +import { Registry } from "./registry"; +import { + exe, + extractVersionFromUrl, + getCacheKey, + getRevision, + isVersionMatch, +} from "./utils"; export type Input = { customUrl?: string; @@ -64,8 +61,6 @@ export default async (options: Input): Promise => { } addPath(binPath); - const exe = (name: string) => - process.platform === "win32" ? `${name}.exe` : name; const bunPath = join(binPath, exe("bun")); try { symlinkSync(bunPath, join(binPath, exe("bunx"))); @@ -122,7 +117,13 @@ export default async (options: Input): Promise => { if (!cacheHit) { info(`Downloading a new version of Bun: ${url}`); - revision = await downloadBun(url, bunPath, options.token); + const result = await downloadBun(url, bunPath, options.token); + cacheState.cacheHit = false; + checksum = result.checksum; + cacheState.checksum = checksum; + + revision = await getRevision(bunPath); + cacheState.revision = revision; } } @@ -152,54 +153,6 @@ export default async (options: Input): Promise => { }; }; -function isVersionMatch( - existingRevision: string, - requestedVersion?: string, -): boolean { - // If no version specified, default is "latest" - don't match existing - if (!requestedVersion) { - return false; - } - - // Non-pinned versions should never match existing installations - if (/^(latest|canary|action)$/i.test(requestedVersion)) { - return false; - } - - const [existingVersion] = existingRevision.split("+"); - - const normalizeVersion = (v: string) => v.replace(/^v/i, ""); - - return ( - normalizeVersion(existingVersion) === normalizeVersion(requestedVersion) - ); -} - -async function downloadBun( - url: string, - bunPath: string, - token?: string, -): Promise { - // Workaround for https://github.com/oven-sh/setup-bun/issues/79 and https://github.com/actions/toolkit/issues/1179 - const zipPath = addExtension(await downloadTool(url), ".zip"); - - // INTEGRITY CHECK: Verify the download before extraction. - // This checks the Local Hash, GitHub Asset Digest, and the robobun PGP Signature. - await verifyAsset(zipPath, url, token); - - const extractedZipPath = await extractZip(zipPath); - const extractedBunPath = await extractBun(extractedZipPath); - try { - renameSync(extractedBunPath, bunPath); - } catch { - // If mv does not work, try to copy the file instead. - // For example: EXDEV: cross-device link not permitted - copyFileSync(extractedBunPath, bunPath); - } - - return await getRevision(bunPath); -} - function isCacheEnabled(options: Input): boolean { const { customUrl, version, noCache } = options; if (noCache) { @@ -213,39 +166,3 @@ function isCacheEnabled(options: Input): boolean { } return isFeatureAvailable(); } - -async function extractBun(path: string): Promise { - for (const entry of readdirSync(path, { withFileTypes: true })) { - const { name } = entry; - const entryPath = join(path, name); - if (entry.isFile()) { - if (name === "bun" || name === "bun.exe") { - return entryPath; - } - if (/^bun.*\.zip/.test(name)) { - const extractedPath = await extractZip(entryPath); - return extractBun(extractedPath); - } - } - if (/^bun/.test(name) && entry.isDirectory()) { - return extractBun(entryPath); - } - } - throw new Error("Could not find executable: bun"); -} - -async function getRevision(exe: string): Promise { - const revision = await getExecOutput(exe, ["--revision"], { - ignoreReturnCode: true, - }); - if (revision.exitCode === 0 && /^\d+\.\d+\.\d+/.test(revision.stdout)) { - return revision.stdout.trim(); - } - const version = await getExecOutput(exe, ["--version"], { - ignoreReturnCode: true, - }); - if (version.exitCode === 0 && /^\d+\.\d+\.\d+/.test(version.stdout)) { - return version.stdout.trim(); - } - return undefined; -} diff --git a/src/manifest.ts b/src/manifest.ts index 94b22284..ffda9254 100644 --- a/src/manifest.ts +++ b/src/manifest.ts @@ -1,31 +1,8 @@ import * as openpgp from "openpgp"; import { info, error } from "@actions/core"; -import { request } from "./utils"; +import { getValidatedLastModified, request } from "./utils"; import { getSigningKey } from "./signing-key"; -/** - * Returns the 'Last-Modified' Date only if it is valid and falls - * between 'created' and now. Otherwise returns undefined. - */ -export function getValidatedLastModified( - res: Response, - created: Date, -): Date | undefined { - const headerValue = res.headers.get("Last-Modified"); - if (!headerValue) return undefined; - - const mtime = new Date(headerValue); - const mtimeNum = mtime.getTime(); - - // 1. Check for 'Invalid Date' (NaN) - // 2. Ensure it isn't before the 'created' bound - // 3. Ensure it isn't in the future (server clock drift) - const isValid = - !isNaN(mtimeNum) && mtimeNum > created.getTime() && mtimeNum < Date.now(); - - return isValid ? mtime : undefined; -} - /** * Fetches the clearsigned manifest (.asc) and returns the verified text content. */ diff --git a/src/utils.ts b/src/utils.ts index 665b1a79..e15bfa43 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -1,8 +1,16 @@ -import { debug, warning } from "@actions/core"; import { info } from "node:console"; import { createHash } from "node:crypto"; -import { existsSync, readFileSync, renameSync } from "node:fs"; -import { resolve, basename } from "node:path"; +import { + copyFileSync, + existsSync, + readdirSync, + readFileSync, + renameSync, +} from "node:fs"; +import { join, resolve, basename } from "node:path"; +import { debug, warning } from "@actions/core"; +import { getExecOutput } from "@actions/exec"; +import { extractZip } from "@actions/tool-cache"; import { compareVersions, validate } from "compare-versions"; import { getStoredResponse, setStoredResponse } from "./response-storage"; @@ -10,6 +18,14 @@ import { getStoredResponse, setStoredResponse } from "./response-storage"; // First Bun version that ships native Windows ARM64 binaries. const WINDOWS_ARM64_MIN_VERSION = "1.3.10"; +export const exe = (name: string) => + "windows" === getPlatform() ? `${name}.exe` : name; + +const normalizeVersion = (v: string) => v.replace(/^v/i, ""); + +const windows_arm = (os: string, arch: string) => + "windows" === os && ("aarch64" === arch || "arm64" === arch); + export function getCacheKey(url: string): string { return `bun-${createHash("sha1").update(url).digest("base64")}`; } @@ -65,7 +81,7 @@ export function addExtension(path: string, ext: string): string { export function getPlatform(): string { const platform = process.platform; - if (platform === "win32") return "windows"; + if ("win32" === platform) return "windows"; return platform; } @@ -83,7 +99,7 @@ export function getArchitecture( arch: string, version?: string, ): string { - if (os === "windows" && (arch === "aarch64" || arch === "arm64")) { + if (windows_arm(os, arch)) { if (!hasNativeWindowsArm64(version)) { warning( [ @@ -98,7 +114,7 @@ export function getArchitecture( } } - if (arch === "arm64") return "aarch64"; + if ("arm64" === arch) return "aarch64"; return arch; } @@ -109,7 +125,7 @@ export function getAvx2( version?: string, ): boolean { // Workaround for absence of arm64 builds on Windows before 1.3.10 (#130) - if (os === "windows" && (arch === "aarch64" || arch === "arm64")) { + if (windows_arm(os, arch)) { if (!hasNativeWindowsArm64(version)) { return false; } @@ -193,6 +209,86 @@ export function readVersionFromFile( } } +export function isVersionMatch( + existingRevision: string, + requestedVersion?: string, +): boolean { + // If no version specified, default is "latest" - don't match existing + if (!requestedVersion) { + return false; + } + + // Non-pinned versions should never match existing installations + if (/^(latest|canary|action)$/i.test(requestedVersion)) { + return false; + } + + const [existingVersion] = existingRevision.split("+"); + + return ( + normalizeVersion(existingVersion) === normalizeVersion(requestedVersion) + ); +} + +export async function extractBun(path: string): Promise { + for (const entry of readdirSync(path, { withFileTypes: true })) { + const { name } = entry; + const entryPath = join(path, name); + if (entry.isFile()) { + if ("bun" === name || "bun.exe" === name) { + return entryPath; + } + if (/^bun.*\.zip/.test(name)) { + const extractedPath = await extractZip(entryPath); + return extractBun(extractedPath); + } + } + if (/^bun/.test(name) && entry.isDirectory()) { + return extractBun(entryPath); + } + } + throw new Error("Could not find executable: bun"); +} + +export async function getRevision(exe: string): Promise { + const revision = await getExecOutput(exe, ["--revision"], { + ignoreReturnCode: true, + }); + if (0 === revision.exitCode && /^\d+\.\d+\.\d+/.test(revision.stdout)) { + return revision.stdout.trim(); + } + const version = await getExecOutput(exe, ["--version"], { + ignoreReturnCode: true, + }); + if (0 === version.exitCode && /^\d+\.\d+\.\d+/.test(version.stdout)) { + return version.stdout.trim(); + } + return undefined; +} + +/** + * Returns the 'Last-Modified' Date only if it is valid and falls + * between 'created' and now. Otherwise returns undefined. + */ +export function getValidatedLastModified( + res: Response, + created: Date, +): Date | undefined { + const headerValue = res.headers.get("Last-Modified"); + if (!headerValue) return undefined; + + const mtime = new Date(headerValue); + const mtimeNum = mtime.getTime(); + + // 1. Check for 'Invalid Date' (NaN) + // 2. Ensure it isn't before the 'created' bound + // 3. Ensure it isn't in the future (server clock drift) + const isValid = + !isNaN(mtimeNum) && mtimeNum > created.getTime() && mtimeNum < Date.now(); + + return isValid ? mtime : undefined; +} + /** * Returns the URL with query-string and fragment removed. * Safe to call on any string; returns the original on parse failure. From 00e5cc93c920d32a46b0ccb8dfcb18f6afe1fe2e Mon Sep 17 00:00:00 2001 From: tcely Date: Sat, 14 Mar 2026 19:50:14 -0400 Subject: [PATCH 28/48] Save the cache state along with the binary --- src/action.ts | 195 +++++++++++++++++++++++++++++++++++++--------- src/cache-save.ts | 14 +++- src/index.ts | 3 +- src/verify.ts | 32 ++++---- 4 files changed, 190 insertions(+), 54 deletions(-) diff --git a/src/action.ts b/src/action.ts index 58c1fde3..eee4395b 100644 --- a/src/action.ts +++ b/src/action.ts @@ -1,6 +1,6 @@ import { mkdirSync, symlinkSync, existsSync, readFileSync } from "node:fs"; import { homedir } from "node:os"; -import { join } from "node:path"; +import { dirname, join } from "node:path"; import { cwd } from "node:process"; import { isFeatureAvailable, restoreCache } from "@actions/cache"; import { addPath, saveState, info, warning } from "@actions/core"; @@ -8,13 +8,16 @@ import { atomicWriteFileSync } from "./atomic-write"; import { writeBunfig } from "./bunfig"; import { downloadBun } from "./download-bun"; import { getDownloadUrl } from "./download-url"; +import { quickFingerprint } from "./quick-checksum"; import { Registry } from "./registry"; +import { isGitHub } from "./url"; import { exe, extractVersionFromUrl, getCacheKey, getRevision, isVersionMatch, + stripUrlCredentials, } from "./utils"; export type Input = { @@ -34,6 +37,7 @@ export type Output = { revision: string; bunPath: string; url: string; + checksum?: string; cacheHit: boolean; }; @@ -42,54 +46,147 @@ export type CacheState = { cacheHit: boolean; bunPath: string; url: string; + checksum?: string; + binaryFingerprint?: string; + revision?: string; }; export default async (options: Input): Promise => { const bunfigPath = join(cwd(), "bunfig.toml"); writeBunfig(bunfigPath, options.registries); - const url = await getDownloadUrl(options); const cacheEnabled = isCacheEnabled(options); + const url = await getDownloadUrl(options); + const sUrl = isGitHub(url) ? url : stripUrlCredentials(url); const binPath = join(homedir(), ".bun", "bin"); try { mkdirSync(binPath, { recursive: true }); } catch (error) { - if (error.code !== "EEXIST") { + if ("EEXIST" !== error.code) { throw error; } } - addPath(binPath); const bunPath = join(binPath, exe("bun")); try { symlinkSync(bunPath, join(binPath, exe("bunx"))); } catch (error) { - if (error.code !== "EEXIST") { + if ("EEXIST" !== error.code) { throw error; } } + let checksum: string | undefined; let revision: string | undefined; let cacheHit = false; + const cacheState: CacheState = { + cacheEnabled, + cacheHit, + bunPath, + url: sUrl, + checksum, + revision, + }; + + const cacheKey = getCacheKey(url); + const statePath = join(homedir(), ".bun", "bun.json"); + if (cacheEnabled) { + if (existsSync(statePath)) { + try { + const state = JSON.parse(readFileSync(statePath, "utf8")) as CacheState; + if (state.url !== sUrl) { + throw new Error("The URL did not match."); + } + + if ("string" === typeof state.checksum) { + checksum = state.checksum; + } + if ("string" === typeof state.binaryFingerprint) { + cacheState.binaryFingerprint = state.binaryFingerprint; + } + if ("string" === typeof state.bunPath) { + cacheState.bunPath = state.bunPath; + } + if ("string" === typeof state.revision) { + cacheState.revision = state.revision; + } + } catch { + warning(`Ignoring metadata from: ${statePath}`); + } + if (checksum) { + cacheState.cacheHit = true; + cacheState.checksum = checksum; + } + } + } + // Check if Bun executable already exists and matches requested version - if (!options.customUrl && existsSync(bunPath)) { - const existingRevision = await getRevision(bunPath); - if (existingRevision && isVersionMatch(existingRevision, options.version)) { - revision = existingRevision; - cacheHit = true; // Treat as cache hit to avoid unnecessary network requests - info(`Using existing Bun installation: ${revision}`); + if ( + !options.customUrl && + cacheState.revision && + existsSync(cacheState.bunPath) + ) { + if (isVersionMatch(cacheState.revision, options.version)) { + if (cacheState.binaryFingerprint) { + try { + const livePrint = quickFingerprint(cacheState.bunPath); + if (livePrint === cacheState.binaryFingerprint) { + revision = cacheState.revision; + // Treat as cache hit to avoid unnecessary network requests + cacheHit = cacheState.cacheHit; + info(`Using existing Bun installation: ${revision}`); + } else { + info( + `Binary at ${cacheState.bunPath} does not match stored fingerprint; re-downloading.`, + ); + } + } catch { + info( + `Could not verify binary at ${cacheState.bunPath}; re-downloading.`, + ); + } + } + // No fingerprint in sidecar (first run after adding this feature): + // fall through to re-download which will compute and persist it. } } + const cachePaths = [cacheState.bunPath, statePath]; if (!revision) { if (cacheEnabled) { - const cacheKey = getCacheKey(url); - - const cacheRestored = await restoreCache([bunPath], cacheKey); + const cacheRestored = await restoreCache(cachePaths, cacheKey); if (cacheRestored) { - revision = await getRevision(bunPath); + if (existsSync(statePath)) { + try { + const state = JSON.parse( + readFileSync(statePath, "utf8"), + ) as CacheState; + if (state.url !== sUrl) { + throw new Error("The URL did not match."); + } + + if ("string" === typeof state.checksum) { + checksum = state.checksum; + cacheState.checksum = checksum; + } + if ("string" === typeof state.binaryFingerprint) { + // There was a fingerprint, but restoring always invalidates it. + cacheState.binaryFingerprint = "restored"; + } + if ("string" === typeof state.bunPath) { + cacheState.bunPath = state.bunPath; + } + if ("string" === typeof state.revision) { + revision = state.revision; + cacheState.revision = revision; + } + } catch { + warning(`Ignoring cached metadata from: ${statePath}`); + } + } + if (revision) { const expectedVersion = extractVersionFromUrl(url); const [actualVersion] = revision.split("+"); @@ -103,28 +200,50 @@ export default async (options: Input): Promise => { `Cached Bun version ${revision} does not match expected version ${expectedVersion}. Re-downloading.`, ); revision = undefined; - } else { + } else if (cacheState.checksum) { cacheHit = true; + cacheState.cacheHit = cacheHit; + // Refresh fingerprint so the local fast-path works on the next run + try { + if ("restored" === cacheState.binaryFingerprint) { + cacheState.binaryFingerprint = quickFingerprint( + cacheState.bunPath, + ); + atomicWriteFileSync(statePath, JSON.stringify(cacheState)); + } + } catch { + // non-critical; next run will just fall back to restoreCache + } info(`Using a cached version of Bun: ${revision}`); } } else { warning( - `Found a cached version of Bun: ${revision} (but it appears to be corrupted?)`, + `Found a Bun binary (with an unknown version) at: ${cacheState.bunPath}`, ); } } } + } - if (!cacheHit) { - info(`Downloading a new version of Bun: ${url}`); - const result = await downloadBun(url, bunPath, options.token); - cacheState.cacheHit = false; - checksum = result.checksum; - cacheState.checksum = checksum; + if (!cacheHit) { + cacheState.cacheHit = false; - revision = await getRevision(bunPath); - cacheState.revision = revision; + info(`Downloading a new version of Bun: ${url}`); + const result = await downloadBun(url, bunPath, options.token); + + checksum = result.checksum; + cacheState.bunPath = result.binPath; + cacheState.checksum = checksum; + cacheState.url = result.url; + + try { + cacheState.binaryFingerprint = quickFingerprint(result.binPath); + } catch { + warning(`Could not fingerprint: ${result.binPath}`); } + + revision = await getRevision(result.binPath); + cacheState.revision = revision; } if (!revision) { @@ -135,20 +254,25 @@ export default async (options: Input): Promise => { const [version] = revision.split("+"); - const cacheState: CacheState = { - cacheEnabled, - cacheHit, - bunPath, - url, - }; - - saveState("cache", JSON.stringify(cacheState)); + cacheState.cacheHit = cacheHit; + cacheState.checksum = checksum; + cacheState.revision = revision; + const stateValue = JSON.stringify({ + ...cacheState, + url: stripUrlCredentials(cacheState.url), + }); + if (cacheEnabled && !cacheHit) { + atomicWriteFileSync(statePath, stateValue); + } + saveState("cache", stateValue); + addPath(dirname(cacheState.bunPath)); return { version, revision, - bunPath, - url, + bunPath: cacheState.bunPath, + url: cacheState.url, + checksum, cacheHit, }; }; @@ -156,6 +280,7 @@ export default async (options: Input): Promise => { function isCacheEnabled(options: Input): boolean { const { customUrl, version, noCache } = options; if (noCache) { + process.env["FS_CACHE_FORCE_STALE"] = "1"; return false; } if (customUrl) { diff --git a/src/cache-save.ts b/src/cache-save.ts index c03ec7b9..8cb5e6e3 100644 --- a/src/cache-save.ts +++ b/src/cache-save.ts @@ -1,14 +1,24 @@ +import { homedir } from "node:os"; +import { join } from "node:path"; import { saveCache } from "@actions/cache"; import { getState, warning } from "@actions/core"; import { CacheState } from "./action"; import { getCacheKey } from "./utils"; (async () => { - const state: CacheState = JSON.parse(getState("cache")); + const rawState = getState("cache"); + if (!rawState) { + process.exit(0); + } + + const state: CacheState = JSON.parse(rawState); if (state.cacheEnabled && !state.cacheHit) { + const bunPath = state.bunPath; + const statePath = join(homedir(), ".bun", "bun.json"); const cacheKey = getCacheKey(state.url); + const cachePaths = [bunPath, statePath]; try { - await saveCache([state.bunPath], cacheKey); + await saveCache(cachePaths, cacheKey); process.exit(0); } catch (error) { warning("Failed to save Bun to cache."); diff --git a/src/index.ts b/src/index.ts index ee20cce2..941732d2 100644 --- a/src/index.ts +++ b/src/index.ts @@ -33,11 +33,12 @@ runAction({ noCache: getBooleanInput("no-cache") || false, token: getInput("token"), }) - .then(({ version, revision, bunPath, url, cacheHit }) => { + .then(({ version, revision, bunPath, url, checksum, cacheHit }) => { setOutput("bun-version", version); setOutput("bun-revision", revision); setOutput("bun-path", bunPath); setOutput("bun-download-url", url); + setOutput("bun-download-checksum", checksum ?? ""); setOutput("cache-hit", cacheHit); process.exit(0); }) diff --git a/src/verify.ts b/src/verify.ts index 42d12805..894157e3 100644 --- a/src/verify.ts +++ b/src/verify.ts @@ -50,7 +50,7 @@ export async function verifyAsset( downloadUrl: string, token?: string, algorithm: SupportedAlgorithmNames = "sha256", -): Promise { +): Promise { const manifestFile = getManifest(algorithm); const urlObj = new URL(downloadUrl); @@ -80,9 +80,18 @@ export async function verifyAsset( * for custom/mirror URLs where parseAssetUrl() cannot resolve metadata. * Real security mismatches are always re-thrown. */ - let manifestBaseUrl = ""; + let metadata: Awaited> | undefined; try { - const metadata = await fetchAssetMetadata(downloadUrl, token); + metadata = await fetchAssetMetadata(downloadUrl, token); + } catch (err) { + const message = err instanceof Error ? err.message : String(err); + warning( + `Skipping GitHub API digest check for: ${downloadUrl} (${message})`, + ); + } + + let manifestBaseUrl = ""; + if (metadata) { assetName = metadata.name; manifestBaseUrl = getGitHubManifestUrl( metadata.owner, @@ -90,8 +99,7 @@ export async function verifyAsset( metadata.tag, manifestFile, ); - const updatedAt = new Date(metadata.updated_at); - if (Number.isNaN(updatedAt.getTime())) { + if (Number.isNaN(metadata.updated_at.getTime())) { silentUnlink(zipPath); throw new DigestVerificationError( `Invalid updated_at for asset ${assetName}`, @@ -103,7 +111,7 @@ export async function verifyAsset( * For assets updated after our threshold, we cross-reference our local hash * with GitHub's infrastructure hash. */ - if (updatedAt >= GITHUB_DIGEST_THRESHOLD) { + if (metadata.updated_at >= GITHUB_DIGEST_THRESHOLD) { info(`Verifying via asset metadata: ${assetName}`); if (metadata.digest) { const githubHash = getHexFromDigest(metadata.digest); @@ -117,18 +125,10 @@ export async function verifyAsset( setOutput("bun-download-checksum", `${metadata.digest}`); } else { warning( - `GitHub digest missing for asset updated on ${updatedAt.toISOString()}`, + `GitHub digest missing for asset updated on ${metadata.updated_at.toISOString()}`, ); } } - } catch (err) { - if (err instanceof DigestVerificationError) { - throw err; // always propagate real mismatches - } - const message = err instanceof Error ? err.message : String(err); - warning( - `Skipping GitHub API digest check for: ${downloadUrl} (${message})`, - ); } /** @@ -198,7 +198,7 @@ export async function verifyAsset( } info(`Successfully verified ${assetName} (PGP + ${manifestFile})`); - setOutput("bun-download-checksum", `${algorithm}:${manifestHash}`); + return `${algorithm}:${manifestHash}`; } function silentUnlink(filePath: string): void { From 0056e30d0c622d1591e7219e2953ccfd2d5ca45c Mon Sep 17 00:00:00 2001 From: tcely Date: Sat, 14 Mar 2026 19:50:17 -0400 Subject: [PATCH 29/48] Update cache using ETag --- src/response-storage.ts | 127 ++++++++++++++++++++++++++++++++-------- src/utils.ts | 28 +++++++-- 2 files changed, 127 insertions(+), 28 deletions(-) diff --git a/src/response-storage.ts b/src/response-storage.ts index 69d91162..c8dc3ab8 100644 --- a/src/response-storage.ts +++ b/src/response-storage.ts @@ -1,9 +1,19 @@ import path from "node:path"; import { createHash } from "node:crypto"; import { URL } from "node:url"; -import { getCacheTtl, getCache, setCache } from "./filesystem-cache"; +import { + CACHE_MAX_SIZE, + getCacheTtl, + getCache, + setCache, +} from "./filesystem-cache"; const ENVELOPE_SENTINEL = "__envelope"; +const MEMORY_LIMIT_BYTES = 1024 * 1024 * 256; // MiB +export const MAX_CACHE_SIZE_BYTES = Math.min( + CACHE_MAX_SIZE, + MEMORY_LIMIT_BYTES, +); // Extracts the type of the 'method' property from RequestInit type FetchMethod = NonNullable; @@ -41,10 +51,15 @@ function isMetadata(url: string): boolean { return secureApi || smallish; } +export interface StoredResponse { + isRevivalNeeded: boolean; + response: Response; +} + /** * Retrieves a stored Response from the filesystem if available. */ -export function getStoredResponse(url: string): Response | undefined { +export function getStoredResponse(url: string): StoredResponse | undefined { if (!isMetadata(url)) { return undefined; } @@ -54,20 +69,41 @@ export function getStoredResponse(url: string): Response | undefined { try { const parsed = JSON.parse(data); - if ( - parsed && - "object" === typeof parsed && - ENVELOPE_SENTINEL in parsed && - parsed[ENVELOPE_SENTINEL] === + if (parsed && "object" === typeof parsed && ENVELOPE_SENTINEL in parsed) { + if ( + parsed[ENVELOPE_SENTINEL] !== makeEnvelopeValue(parsed.method, url, parsed.status) - ) { - return new Response(parsed.body, { - status: parsed.status, - headers: { - ...parsed.headers, - "X-Storage-Hit": "true", + ) { + return undefined; + } + + const response = new Response( + "base64" === parsed.encoding + ? Buffer.from(parsed.body, "base64") + : parsed.body, + { + status: parsed.status, + headers: { ...parsed.headers, "X-Storage-Hit": "true" }, }, - }); + ); + + const fetchedTime = + "number" === typeof parsed.storedAt + ? parsed.storedAt + : new Date(response.headers.get("Date") || 0).getTime(); + + let isRevivalNeeded = false; + if (!isNaN(fetchedTime)) { + const age = Date.now() - fetchedTime; + const percentTTL = (getCacheTtl() / 100) * 25; + // If the data is older than 25% of its TTL, signal for revival + isRevivalNeeded = age > percentTTL; + } + + return { + isRevivalNeeded: isRevivalNeeded, + response: response, + }; } } catch { /* Not JSON or not an envelope; Fall through to legacy handler */ @@ -81,15 +117,19 @@ export function getStoredResponse(url: string): Response | undefined { // Legacy/Raw Handler: Synthetic Last-Modified // (now - TTL) is the oldest possible age for this data const lastModified = new Date(Date.now() - getCacheTtl()).toUTCString(); - return new Response(data, { - status: 200, - headers: { - "Content-Type": contentType, - "Last-Modified": lastModified, - "X-Storage-Hit": "true", - }, - }); + return { + isRevivalNeeded: false, + response: new Response(data, { + status: 200, + headers: { + "Content-Type": contentType, + "Last-Modified": lastModified, + "X-Storage-Hit": "true", + }, + }), + }; } + return undefined; } @@ -101,13 +141,49 @@ export async function setStoredResponse( res: Response, method: FetchMethod = "GET", ): Promise { - if (!isMetadata(url) || !res.ok) { + if ( + "GET" !== method.toUpperCase() || + !isMetadata(url) || + !res.ok || + res.bodyUsed + ) { + return; + } + + const contentLength = parseInt(res.headers.get("content-length") || "0", 10); + if (contentLength > MAX_CACHE_SIZE_BYTES) { return; } try { // We clone so the original stream remains readable by the caller - const body = await res.clone().text(); + const clonedRes = res.clone(); + const azureMd5 = res.headers.get("x-ms-blob-content-md5"); + + let body: string; + let encoding: "utf8" | "base64"; + + if (azureMd5) { + encoding = "base64"; + + // Trust the server: MD5 presence implies binary-safe path is needed + const buffer = await clonedRes.arrayBuffer(); + if (buffer.byteLength > MAX_CACHE_SIZE_BYTES) return; + + const bodyBuffer = Buffer.from(buffer); + const hash = createHash("md5").update(bodyBuffer).digest("base64"); + + if (hash !== azureMd5) return; + + body = bodyBuffer.toString(encoding); + } else { + encoding = "utf8"; + + // No MD5: Default to efficient text path + body = await clonedRes.text(); + if (Buffer.byteLength(body, "utf8") > MAX_CACHE_SIZE_BYTES) return; + } + const headers = Object.fromEntries(res.headers.entries()); const envelope = JSON.stringify({ [ENVELOPE_SENTINEL]: makeEnvelopeValue(method, url, res.status), @@ -118,7 +194,10 @@ export async function setStoredResponse( status: res.status, statusText: res.statusText, url: res.url, + encoding: encoding, + storedAt: res.storedAt ?? Date.now(), // for testing }); + setCache(url, envelope); } catch { // Fail silently to avoid breaking the main execution flow diff --git a/src/utils.ts b/src/utils.ts index e15bfa43..13af230f 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -44,11 +44,23 @@ export async function request( headers.set("User-Agent", "@oven-sh/setup-bun"); } - const canUseResponseCache = "GET" === (init?.method ?? "GET").toUpperCase(); + const method = (init?.method ?? "GET").toUpperCase(); + const canUseResponseCache = "GET" === method; + const stored = getStoredResponse(url); if (canUseResponseCache) { - const stored = getStoredResponse(url); if (stored) { - return stored; + if (stored.isRevivalNeeded) { + const etag = stored.response.headers.get("ETag"); + if (etag) { + headers.set("If-None-Match", etag); + } + const lastModified = stored.response.headers.get("Last-Modified"); + if (lastModified) { + headers.set("If-Modified-Since", lastModified); + } + } else { + return stored.response; + } } } @@ -56,6 +68,14 @@ export async function request( ...init, headers, }); + + if (304 === res.status && canUseResponseCache && stored) { + // We re-save the cached response to update the modification time + // to 'now' effectively resetting the TTL. + await setStoredResponse(url, stored.response, method); + return stored.response; + } + if (!res.ok) { const body = await res.text().catch(() => ""); throw new Error( @@ -64,7 +84,7 @@ export async function request( } if (canUseResponseCache) { - await setStoredResponse(url, res, (init?.method ?? "GET").toUpperCase()); + await setStoredResponse(url, res, method); } return res; From 82fc4cb2e0a09faa4d5c9718e5b5b16473bf63ce Mon Sep 17 00:00:00 2001 From: tcely Date: Sat, 14 Mar 2026 19:50:19 -0400 Subject: [PATCH 30/48] Tests for response-storage.ts --- tests/bundled.suite.ts | 2 + tests/response-storage.test.ts | 151 +++++++++++++++++++++++++++++++++ 2 files changed, 153 insertions(+) create mode 100644 tests/response-storage.test.ts diff --git a/tests/bundled.suite.ts b/tests/bundled.suite.ts index 8e5eec34..c9981855 100644 --- a/tests/bundled.suite.ts +++ b/tests/bundled.suite.ts @@ -3,7 +3,9 @@ import "./init.suite"; import { register as registerAtomicTests } from "./atomic-write.test"; import { register as registerFilesystemTests } from "./filesystem-cache.test"; +import { register as registerResponseTests } from "./response-storage.test"; // Register all sub-suites registerAtomicTests(); registerFilesystemTests(); +registerResponseTests(); diff --git a/tests/response-storage.test.ts b/tests/response-storage.test.ts new file mode 100644 index 00000000..071e58b1 --- /dev/null +++ b/tests/response-storage.test.ts @@ -0,0 +1,151 @@ +import { test, describe } from "node:test"; +import assert from "node:assert"; +import { createHash } from "node:crypto"; +import { setStoredResponse, getStoredResponse } from "../src/response-storage"; +import { setCache, getCacheTtl } from "../src/filesystem-cache"; + +export function register() { + describe("Response Storage", () => { + // URLs that pass isMetadata check (https + github.com + .txt or .txt.asc) + const baseUri = "https://github.com/bun/setup-bun/raw/main/test"; + const binUri = `${baseUri}-bin.txt`; + const mismatchUri = `${baseUri}-mismatch.txt`; + const limitUri = `${baseUri}-limit.txt`; + const fallbackUri = `${baseUri}-fallback.txt`; + const legacyUri = `${baseUri}-legacy.txt`; + const ascUri = `${baseUri}-sig.txt.asc`; + const revivalUri = `${baseUri}-revival.txt`; + + test("should store as base64 when x-ms-blob-content-md5 matches", async () => { + const content = Buffer.from([0x00, 0xff, 0x00, 0xff]); + const md5 = createHash("md5").update(content).digest("base64"); + + const res = new Response(content, { + headers: { "x-ms-blob-content-md5": md5 }, + }); + + await setStoredResponse(binUri, res); + const stored = getStoredResponse(binUri); + + assert.ok(stored, "Response should be cached"); + const buffer = await stored.response.arrayBuffer(); + assert.deepStrictEqual(Buffer.from(buffer), content); + }); + + test("should not store in cache if MD5 does not match", async () => { + const content = Buffer.from("correct content"); + const badMd5 = createHash("md5") + .update(Buffer.from("wrong")) + .digest("base64"); + + const res = new Response(content, { + headers: { "x-ms-blob-content-md5": badMd5 }, + }); + + await setStoredResponse(mismatchUri, res); + const stored = getStoredResponse(mismatchUri); + + assert.strictEqual(stored, undefined, "Mismatch should abort caching"); + }); + + test("should enforce 256 MiB limit via content-length header", async () => { + const oversized = 1024 * 1024 * 257; // 257 MiB + + const res = new Response(null, { + headers: { "content-length": oversized.toString() }, + }); + + await setStoredResponse(limitUri, res); + const stored = getStoredResponse(limitUri); + + assert.strictEqual( + stored, + undefined, + "Oversized file should not be cached", + ); + }); + + test("should fallback to utf8 when no MD5 header is present", async () => { + const content = "plain text data"; + + const res = new Response(content); + await setStoredResponse(fallbackUri, res); + + const stored = getStoredResponse(fallbackUri); + assert.ok(stored, "Text response should be cached"); + + const text = await stored.response.text(); + assert.strictEqual(text, content); + }); + + test("should correctly handle .asc extensions via isMetadata logic", async () => { + // .asc files look at the extension of the base filename (e.g., .txt.asc -> .txt) + const content = "signature data"; + const res = new Response(content); + + await setStoredResponse(ascUri, res); + const stored = getStoredResponse(ascUri); + + assert.ok(stored, "ASC file with .txt base should be cached"); + const text = await stored.response.text(); + assert.strictEqual(text, content); + }); + + test("revival: signals true when data age > 25% of TTL", async () => { + const ttl = getCacheTtl(); // 2 days (172,800,000 ms) + const twentySixPercentAge = (ttl / 100) * 26; + + // Create a Date header representing 26% age + const oldDate = new Date(Date.now() - twentySixPercentAge); + + const res = new Response("old content", { + headers: { "Date": oldDate.toUTCString() }, + }); + res.storedAt = oldDate.getTime(); + + await setStoredResponse(revivalUri, res); + const stored = getStoredResponse(revivalUri); + + assert.ok(stored); + assert.strictEqual( + stored.isRevivalNeeded, + true, + "Should signal revival at 26% age", + ); + }); + + test("revival: signals false when data age < 25% of TTL", async () => { + const ttl = getCacheTtl(); + const tenPercentAge = (ttl / 100) * 10; + + const newDate = new Date(Date.now() - tenPercentAge).toUTCString(); + + const res = new Response("new content", { + headers: { "Date": newDate }, + }); + + await setStoredResponse(revivalUri, res); + const stored = getStoredResponse(revivalUri); + + assert.ok(stored); + assert.strictEqual( + stored.isRevivalNeeded, + false, + "Should not signal revival at 10% age", + ); + }); + + test("should handle legacy non-envelope cache hits", async () => { + const rawData = "raw un-enveloped data"; + + setCache(legacyUri, rawData); + + const stored = getStoredResponse(legacyUri); + assert.ok(stored, "Legacy data should be retrieved"); + + const text = await stored.response.text(); + assert.strictEqual(text, rawData); + assert.strictEqual(stored.response.headers.get("X-Storage-Hit"), "true"); + }); + }); +} From 2be0e705492938c70b6bf330054ff31174ff6ccd Mon Sep 17 00:00:00 2001 From: tcely Date: Sat, 14 Mar 2026 19:50:22 -0400 Subject: [PATCH 31/48] Create bundled.spec.ts --- tests/bundled.spec.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tests/bundled.spec.ts diff --git a/tests/bundled.spec.ts b/tests/bundled.spec.ts new file mode 100644 index 00000000..89b48866 --- /dev/null +++ b/tests/bundled.spec.ts @@ -0,0 +1,11 @@ +import { describe } from "bun:test"; + +import { register as registerAtomicTests } from "./atomic-write.test"; +import { register as registerFilesystemTests } from "./filesystem-cache.test"; +import { register as registerResponseTests } from "./response-storage.test"; + +describe("bundled", () => { + describe("src/atomic-write.ts", registerAtomicTests); + describe("src/filesystem-cache.ts", registerFilesystemTests); + describe("src/response-storage.ts", registerResponseTests); +}); From 7612c7b39bae2e7f8df0fef83597cb4291991371 Mon Sep 17 00:00:00 2001 From: tcely Date: Sat, 14 Mar 2026 19:50:25 -0400 Subject: [PATCH 32/48] Setup preload for bun test --- bunfig.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bunfig.toml b/bunfig.toml index 7868d6b1..6a0d15e2 100644 --- a/bunfig.toml +++ b/bunfig.toml @@ -1,2 +1,4 @@ [install] saveTextLockfile = true +[test] +preload = ["./tests/init.suite.ts"] From 2094357ae4ac671b54ee8e712be34cb28143ee3e Mon Sep 17 00:00:00 2001 From: tcely Date: Sat, 14 Mar 2026 19:50:28 -0400 Subject: [PATCH 33/48] Remove a duplicate function --- src/url.ts | 13 ------------- src/verify.ts | 4 ++-- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/src/url.ts b/src/url.ts index 3505dc46..606606d7 100644 --- a/src/url.ts +++ b/src/url.ts @@ -57,16 +57,3 @@ export const getHkpUrl = (host: string, fp: string, port?: number) => export const getGitHubGpgUrl = (user: string) => buildUrl("github.com", `/${user.replace(/^@/, "")}.gpg`); - -export const getGitHubManifestUrl = ( - owner: string, - repo: string, - tag: string, - asset: string, -) => - buildUrl( - "github.com", - [owner, repo, "releases", "download", tag, asset] - .map(encodeURIComponent) - .join("/"), - ); diff --git a/src/verify.ts b/src/verify.ts index 894157e3..260cef54 100644 --- a/src/verify.ts +++ b/src/verify.ts @@ -4,7 +4,7 @@ import { info, warning, setOutput } from "@actions/core"; import { GITHUB_DIGEST_THRESHOLD } from "./github-api"; import { fetchAssetMetadata, getHexFromDigest } from "./github-asset"; import { getVerifiedManifest } from "./manifest"; -import { getGitHubManifestUrl } from "./url"; +import { gitHubAssetDownloadUrl } from "./url"; class DigestVerificationError extends Error {} class UnsupportedAlgorithmError extends Error {} @@ -93,7 +93,7 @@ export async function verifyAsset( let manifestBaseUrl = ""; if (metadata) { assetName = metadata.name; - manifestBaseUrl = getGitHubManifestUrl( + manifestBaseUrl = gitHubAssetDownloadUrl( metadata.owner, metadata.repo, metadata.tag, From fdada7bace50f10f560c63a2d1ba8ac920ea8fd9 Mon Sep 17 00:00:00 2001 From: tcely Date: Sat, 14 Mar 2026 19:50:30 -0400 Subject: [PATCH 34/48] Adjust scripts --- .github/workflows/format.yml | 9 ++++++++- .github/workflows/test.yml | 9 ++++++++- bunfig.toml | 1 + package.json | 20 +++++++++++++------- 4 files changed, 30 insertions(+), 9 deletions(-) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index cbd35e38..204ed2cb 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -21,7 +21,14 @@ jobs: uses: ./ - name: 📦 Install Dependencies - run: bun install + run: | + mkdir -p dist + bun run bun_as:npm + bun run bun_as:npx + echo "$(realpath -e dist)" >> "${GITHUB_PATH}" + PATH="${PATH}:$(realpath -e dist)" + test -s bun.lock || bun run 'modules:lock' + bun install --frozen-lockfile - name: 🧹 Format run: | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a7093277..afcaa6a5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -36,7 +36,14 @@ jobs: no-cache: true - name: Install dependencies - run: bun install + run: | + mkdir -p dist + bun run bun_as:npm + bun run bun_as:npx + echo "$(realpath -e dist)" >> "${GITHUB_PATH}" + PATH="${PATH}:$(realpath -e dist)" + test -s bun.lock || bun run 'modules:lock' + bun install --frozen-lockfile - name: Run tests run: bun test --coverage diff --git a/bunfig.toml b/bunfig.toml index 6a0d15e2..d5489f53 100644 --- a/bunfig.toml +++ b/bunfig.toml @@ -1,4 +1,5 @@ [install] +linker = "hoisted" saveTextLockfile = true [test] preload = ["./tests/init.suite.ts"] diff --git a/package.json b/package.json index 0394daec..8d93a815 100644 --- a/package.json +++ b/package.json @@ -17,14 +17,20 @@ "license": "MIT", "author": "xHyroM", "scripts": { - "format": "prettier --write src *.yml *.json *.md", - "modules:lock": "npm install --no-fund --package-lock-only", + "postinstall": "npx -- patch-package", + "bun_as:npm": "printf >| dist/npm -- '%s\\n' '#!/usr/bin/env sh' '' 'exec bunx --bun -- npm \"$@\"' && chmod a+rx dist/npm", + "bun_as:npx": "printf >| dist/npx -- '%s\\n' '#!/usr/bin/env sh' '' 'exec bunx --bun --package=npm -- \"npx\" \"$@\"' && chmod a+rx dist/npx", + "format": "npx -- prettier --write src *.yml *.json *.md", "modules:clean": "npm ci --no-fund", - "modules:patch": "npm x patch-package", - "modules": "npm run modules:clean && npm run modules:patch", - "build": "esbuild --target=node24 --outfile=dist/setup/index.js --bundle --keep-names --minify --platform=node --format=cjs --banner:js=\"var import_meta_url = require('url').pathToFileURL(__filename).href;\" --define:import.meta.url=import_meta_url src/index.ts && esbuild --target=node24 --outfile=dist/cache-save/index.js --bundle --keep-names --minify --platform=node --format=cjs --banner:js=\"var import_meta_url = require('url').pathToFileURL(__filename).href;\" --define:import.meta.url=import_meta_url src/cache-save.ts", - "build:tests": "esbuild --bundle --platform=node --format=esm --target=node24 --outfile=tests/build/tests.mjs --external:node:* --packages=external tests/bundled.suite.ts", - "tests:bundle": "node --test tests/build/tests.mjs", + "modules:lock:npm": "npm install --no-fund --ignore-scripts --package-lock-only", + "modules:lock:bun": "rm -f bun.lock; bun install --lockfile-only", + "modules:lock": "npm run modules:lock:npm && npm run modules:lock:bun", + "modules": "npm run modules:lock:npm && npm run modules:clean", + "build:cache-save": "npx -- esbuild --target=node24 --outfile=dist/cache-save/index.js --bundle --keep-names --minify --platform=node --format=cjs src/cache-save.ts", + "build:setup": "npx -- esbuild --target=node24 --outfile=dist/setup/index.js --bundle --keep-names --minify --platform=node --format=cjs --banner:js=\"var import_meta_url = require('url').pathToFileURL(__filename).href;\" --define:import.meta.url=import_meta_url src/index.ts", + "build:tests": "npx -- esbuild --bundle --platform=node --format=esm --target=node24 --outfile=tests/build/tests.mjs --external:node:* --packages=external tests/bundled.suite.ts", + "build": "npm run build:cache-save && npm run build:setup", + "tests:bundle": "npm run build:tests && node --test tests/build/tests.mjs", "start": "npm run build && node dist/setup/index.js" }, "dependencies": { From 372f34d83a18762f5b26dabcd00a59f5127b3bd9 Mon Sep 17 00:00:00 2001 From: tcely Date: Sat, 14 Mar 2026 19:50:33 -0400 Subject: [PATCH 35/48] Add the `redactUrlForLogs` function --- src/utils.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/utils.ts b/src/utils.ts index 13af230f..295a09f4 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -309,6 +309,18 @@ export function getValidatedLastModified( return isValid ? mtime : undefined; } +export function redactUrlForLogs(url: string): string { + try { + const u = new URL(url); + u.username = ""; + u.password = ""; + if (u.search) u.search = "?redacted"; + return u.toString(); + } catch { + return url.replace(/\/\/[^@]+@/g, "//***@"); + } +} + /** * Returns the URL with query-string and fragment removed. * Safe to call on any string; returns the original on parse failure. From 4f1ce51cf0600574cd825cb480131e92002145c8 Mon Sep 17 00:00:00 2001 From: tcely Date: Sat, 14 Mar 2026 19:50:36 -0400 Subject: [PATCH 36/48] Use `redactUrlForLogs` --- src/verify.ts | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/verify.ts b/src/verify.ts index 260cef54..f03e6158 100644 --- a/src/verify.ts +++ b/src/verify.ts @@ -5,6 +5,7 @@ import { GITHUB_DIGEST_THRESHOLD } from "./github-api"; import { fetchAssetMetadata, getHexFromDigest } from "./github-asset"; import { getVerifiedManifest } from "./manifest"; import { gitHubAssetDownloadUrl } from "./url"; +import { redactUrlForLogs } from "./utils"; class DigestVerificationError extends Error {} class UnsupportedAlgorithmError extends Error {} @@ -52,13 +53,12 @@ export async function verifyAsset( algorithm: SupportedAlgorithmNames = "sha256", ): Promise { const manifestFile = getManifest(algorithm); + const safeUrl = redactUrlForLogs(downloadUrl); const urlObj = new URL(downloadUrl); const rawAssetName = urlObj.pathname.split("/").pop(); if (!rawAssetName) { - throw new Error( - `Could not determine asset filename from URL: ${downloadUrl}`, - ); + throw new Error(`Could not determine asset filename from URL: ${safeUrl}`); } let assetName: string = rawAssetName; @@ -85,9 +85,7 @@ export async function verifyAsset( metadata = await fetchAssetMetadata(downloadUrl, token); } catch (err) { const message = err instanceof Error ? err.message : String(err); - warning( - `Skipping GitHub API digest check for: ${downloadUrl} (${message})`, - ); + warning(`Skipping GitHub API digest check for: ${safeUrl} (${message})`); } let manifestBaseUrl = ""; @@ -144,7 +142,7 @@ export async function verifyAsset( // Bun archives always follow the pattern: bun-.zip if (!lastSegment.startsWith("bun-") || !lastSegment.endsWith(".zip")) { throw new Error( - `Cannot derive manifest URL: "${downloadUrl}" ` + + `Cannot derive manifest URL: "${safeUrl}" ` + `does not appear to be a direct Bun archive URL. ` + `The path was expected to end with a filename matching "bun-*.zip".`, ); From 82d68e7628c3098d1b52511c783a8cc5a5bc5b96 Mon Sep 17 00:00:00 2001 From: tcely Date: Sat, 14 Mar 2026 19:50:39 -0400 Subject: [PATCH 37/48] `isGitHub(url)` rejects invalid URLs --- src/url.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/url.ts b/src/url.ts index 606606d7..6889475d 100644 --- a/src/url.ts +++ b/src/url.ts @@ -34,7 +34,13 @@ export function gitHubAssetDownloadUrl( } export function isGitHub(url: string, api: boolean = false): boolean { - const parsedUrl = new URL(url); + let parsedUrl: URL; + try { + parsedUrl = new URL(url); + } catch { + return false; + } + if (api) { return "api.github.com" === parsedUrl.hostname; } From a1d7c45f373b5d8e440f19d3d2217c335ce1bcf4 Mon Sep 17 00:00:00 2001 From: tcely Date: Sat, 14 Mar 2026 19:50:41 -0400 Subject: [PATCH 38/48] debug logging for signing key failures --- src/signing-key.ts | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/signing-key.ts b/src/signing-key.ts index 716fcfdc..eb116e05 100644 --- a/src/signing-key.ts +++ b/src/signing-key.ts @@ -1,5 +1,5 @@ import * as openpgp from "openpgp"; -import { info } from "@actions/core"; +import { debug, info } from "@actions/core"; import { addGitHubApiHeaders } from "./github-api"; import { getCache, setCache } from "./filesystem-cache"; import { request } from "./utils"; @@ -35,7 +35,10 @@ export async function getSigningKey(token?: string): Promise { const cleanKey = await getCleanArmoredKey(storedKey); info(`Retrieved verified public key from filesystem storage.`); return await openpgp.readKey({ armoredKey: cleanKey }); - } catch { + } catch (err) { + debug( + `Failed to parse cached signing key [${ROBOBUN_STORAGE_KEY}]: ${err instanceof Error ? err.message : String(err)}`, + ); // Fall through to fetch fresh if stored data is corrupted } } @@ -64,7 +67,10 @@ export async function getSigningKey(token?: string): Promise { info(`Retrieved verified public key from ${parsedUrl.hostname}.`); return await openpgp.readKey({ armoredKey: cleanKey }); } - } catch { + } catch (err) { + debug( + `Failed to fetch signing key from ${url}: ${err instanceof Error ? err.message : String(err)}`, + ); continue; } } From 3b562651f9851f20654104b77652bab906dbe515 Mon Sep 17 00:00:00 2001 From: tcely Date: Sat, 14 Mar 2026 19:50:44 -0400 Subject: [PATCH 39/48] Pass a derived error in `downloadLog` --- src/download-bun.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/download-bun.ts b/src/download-bun.ts index 3344ee34..da8951f3 100644 --- a/src/download-bun.ts +++ b/src/download-bun.ts @@ -18,9 +18,12 @@ function downloadLog( prefix: string = "download-bun", ): void { if (error instanceof Error) { - // Prepends your context to the error message without losing the Error object properties - error.message = `${prefix}: ${preface}: ${error.message}`; - f(error); + // Create a new Error so the original isn't mutated + const derived = new Error(`${prefix}: ${preface}: ${error.message}`, { + cause: error, + }); + derived.stack = error.stack; + f(derived); } else { f(`${prefix}: ${preface}: ${String(error)}`); } From 3cbcb5b37513e87289e0863b1582fc497e3cd4ac Mon Sep 17 00:00:00 2001 From: tcely Date: Sat, 14 Mar 2026 19:50:47 -0400 Subject: [PATCH 40/48] Try to revive legacy cached responses --- src/response-storage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/response-storage.ts b/src/response-storage.ts index c8dc3ab8..b81cdb85 100644 --- a/src/response-storage.ts +++ b/src/response-storage.ts @@ -118,7 +118,7 @@ export function getStoredResponse(url: string): StoredResponse | undefined { // (now - TTL) is the oldest possible age for this data const lastModified = new Date(Date.now() - getCacheTtl()).toUTCString(); return { - isRevivalNeeded: false, + isRevivalNeeded: true, response: new Response(data, { status: 200, headers: { From 337ee85b0c0d203bf4400dd4f060ea536eb810e2 Mon Sep 17 00:00:00 2001 From: tcely Date: Sat, 14 Mar 2026 19:50:50 -0400 Subject: [PATCH 41/48] Move StoredResponse interface before functions --- src/response-storage.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/response-storage.ts b/src/response-storage.ts index b81cdb85..aa54f5cb 100644 --- a/src/response-storage.ts +++ b/src/response-storage.ts @@ -18,6 +18,11 @@ export const MAX_CACHE_SIZE_BYTES = Math.min( // Extracts the type of the 'method' property from RequestInit type FetchMethod = NonNullable; +export interface StoredResponse { + isRevivalNeeded: boolean; + response: Response; +} + function makeEnvelopeValue( method: string, url: string, @@ -51,11 +56,6 @@ function isMetadata(url: string): boolean { return secureApi || smallish; } -export interface StoredResponse { - isRevivalNeeded: boolean; - response: Response; -} - /** * Retrieves a stored Response from the filesystem if available. */ From 59f5637d76145fbbba112c22aa53eaa75fbe9493 Mon Sep 17 00:00:00 2001 From: tcely Date: Sat, 14 Mar 2026 19:50:53 -0400 Subject: [PATCH 42/48] escape ts error --- src/response-storage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/response-storage.ts b/src/response-storage.ts index aa54f5cb..8aba7cc6 100644 --- a/src/response-storage.ts +++ b/src/response-storage.ts @@ -195,7 +195,7 @@ export async function setStoredResponse( statusText: res.statusText, url: res.url, encoding: encoding, - storedAt: res.storedAt ?? Date.now(), // for testing + storedAt: (res as any).storedAt ?? Date.now(), // for testing }); setCache(url, envelope); From 5b522d11b31fbc19dbfb7b4ec0c6cd87fe92d657 Mon Sep 17 00:00:00 2001 From: tcely Date: Sat, 14 Mar 2026 20:17:04 -0400 Subject: [PATCH 43/48] Create extract-bun.ts --- src/extract-bun.ts | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 src/extract-bun.ts diff --git a/src/extract-bun.ts b/src/extract-bun.ts new file mode 100644 index 00000000..b30cb542 --- /dev/null +++ b/src/extract-bun.ts @@ -0,0 +1,32 @@ +import { readdirSync } from "node:fs"; +import { join } from "node:path"; + +import { extractZip } from "@actions/tool-cache"; + +export async function extractBun(path: string): Promise { + for (const entry of readdirSync(path, { withFileTypes: true })) { + const { name } = entry; + const entryPath = join(path, name); + if (entry.isFile()) { + if ("bun" === name || "bun.exe" === name) { + return entryPath; + } + if (/^bun.*\.zip/.test(name)) { + const extractedPath = await extractZip(entryPath); + try { + return await extractBun(extractedPath); + } catch { + // keep searching sibling entries + } + } + } + if (/^bun/.test(name) && entry.isDirectory()) { + try { + return await extractBun(entryPath); + } catch { + // keep searching sibling entries + } + } + } + throw new Error("Could not find executable: bun"); +} From 5018e2b09272785445a84c005b92152b1ddc65bd Mon Sep 17 00:00:00 2001 From: tcely Date: Sat, 14 Mar 2026 20:17:08 -0400 Subject: [PATCH 44/48] Migrate and improve `extractBun` --- src/download-bun.ts | 5 ++++- src/utils.ts | 32 +++----------------------------- 2 files changed, 7 insertions(+), 30 deletions(-) diff --git a/src/download-bun.ts b/src/download-bun.ts index da8951f3..05aa0163 100644 --- a/src/download-bun.ts +++ b/src/download-bun.ts @@ -1,9 +1,12 @@ import { renameSync, rmSync } from "node:fs"; import { basename, dirname, join, resolve } from "node:path"; + import { debug, error, info, warning } from "@actions/core"; import type { AnnotationProperties } from "@actions/core"; import { downloadTool, extractZip } from "@actions/tool-cache"; -import { addExtension, extractBun, getCacheKey } from "./utils"; + +import { extractBun } from "./extract-bun"; +import { addExtension, getCacheKey } from "./utils"; import { verifyAsset } from "./verify"; // This type covers info, debug, notice, warning, and error diff --git a/src/utils.ts b/src/utils.ts index 295a09f4..6f90815c 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -1,16 +1,10 @@ import { info } from "node:console"; import { createHash } from "node:crypto"; -import { - copyFileSync, - existsSync, - readdirSync, - readFileSync, - renameSync, -} from "node:fs"; -import { join, resolve, basename } from "node:path"; +import { copyFileSync, existsSync, readFileSync, renameSync } from "node:fs"; +import { resolve, basename } from "node:path"; + import { debug, warning } from "@actions/core"; import { getExecOutput } from "@actions/exec"; -import { extractZip } from "@actions/tool-cache"; import { compareVersions, validate } from "compare-versions"; import { getStoredResponse, setStoredResponse } from "./response-storage"; @@ -250,26 +244,6 @@ export function isVersionMatch( ); } -export async function extractBun(path: string): Promise { - for (const entry of readdirSync(path, { withFileTypes: true })) { - const { name } = entry; - const entryPath = join(path, name); - if (entry.isFile()) { - if ("bun" === name || "bun.exe" === name) { - return entryPath; - } - if (/^bun.*\.zip/.test(name)) { - const extractedPath = await extractZip(entryPath); - return extractBun(extractedPath); - } - } - if (/^bun/.test(name) && entry.isDirectory()) { - return extractBun(entryPath); - } - } - throw new Error("Could not find executable: bun"); -} - export async function getRevision(exe: string): Promise { const revision = await getExecOutput(exe, ["--revision"], { ignoreReturnCode: true, From 86bb306ee9eec85923efc8e7550debf3591d10b5 Mon Sep 17 00:00:00 2001 From: tcely Date: Sat, 14 Mar 2026 20:31:48 -0400 Subject: [PATCH 45/48] debugging tests --- .github/workflows/test.yml | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index afcaa6a5..ced72050 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -287,24 +287,35 @@ jobs: https://registry.npmjs.org @types:https://registry.yarnpkg.com + - name: 🔎 Display registry configurations + run: cat -v bunfig.toml + - name: ▶️ Install from default registry + shell: bash run: | - output=$(bun add is-odd --verbose --force 2>&1) + status=0 + output=$(bun add is-odd --verbose --force 2>&1) || status=$? - if echo "$output" | grep -q "HTTP/1.1 GET https://registry.npmjs.org/is-odd"; then + if [ 0 -eq "${status}" ] && grep <<<"$output" -q "HTTP/1.1 GET https://registry.npmjs.org/is-odd"; then echo "Successfully installed from default registry" else + echo "${output}" + echo "Return code: ${status}" echo "Failed to install from default registry" exit 1 fi - name: ▶️ Install from @types registry + shell: bash run: | - output=$(bun add @types/bun --verbose --force 2>&1) + status=0 + output=$(bun add @types/bun --verbose --force 2>&1) || status=$? - if echo "$output" | grep -q "HTTP/1.1 GET https://registry.yarnpkg.com/@types%2fbun"; then + if [ 0 -eq "${status}" ] && grep <<<"$output" -q "HTTP/1.1 GET https://registry.yarnpkg.com/@types%2fbun"; then echo "Successfully installed from @types registry" else + echo "${output}" + echo "Return code: ${status}" echo "Failed to install from @types registry" exit 1 fi From 4c26bf915b6b42a034392703998c901cfe4c12e6 Mon Sep 17 00:00:00 2001 From: tcely Date: Sat, 14 Mar 2026 20:31:50 -0400 Subject: [PATCH 46/48] Update both lock files First, `package-lock.json` then `bun.lock` by reading that file. Used: bun run modules:lock --- bun.lock | 316 ++++++++++++++++++++++++++++++++++++++++++++++ package-lock.json | 276 +++++++++++++++++++++------------------- 2 files changed, 464 insertions(+), 128 deletions(-) create mode 100644 bun.lock diff --git a/bun.lock b/bun.lock new file mode 100644 index 00000000..d3c5c0d9 --- /dev/null +++ b/bun.lock @@ -0,0 +1,316 @@ +{ + "lockfileVersion": 1, + "configVersion": 0, + "workspaces": { + "": { + "name": "setup-bun", + "dependencies": { + "@actions/cache": "^5.0.0", + "@actions/core": "^2.0.0", + "@actions/exec": "^2.0.0", + "@actions/glob": "^0.5.0", + "@actions/io": "^2.0.0", + "@actions/tool-cache": "^3.0.0", + "@iarna/toml": "^2.0.0", + "compare-versions": "6.1.1", + "openpgp": "^6.0.0", + }, + "devDependencies": { + "@types/bun": "^1.0.0", + "@types/node": "^24.0.0", + "esbuild": "^0.27.0", + "patch-package": "^8.0.0", + "prettier": "^3.0.0", + "typescript": "^5.0.0", + }, + }, + }, + "overrides": { + "form-data": "^4.0.4", + }, + "packages": { + "@actions/cache": ["@actions/cache@5.0.5", "", { "dependencies": { "@actions/core": "^2.0.0", "@actions/exec": "^2.0.0", "@actions/glob": "^0.5.1", "@actions/http-client": "^3.0.2", "@actions/io": "^2.0.0", "@azure/abort-controller": "^1.1.0", "@azure/core-rest-pipeline": "^1.22.0", "@azure/storage-blob": "^12.29.1", "@protobuf-ts/runtime-rpc": "^2.11.1", "semver": "^6.3.1" } }, "sha512-jiQSg0gfd+C2KPgcmdCOq7dCuCIQQWQ4b1YfGIRaaA9w7PJbRwTOcCz4LiFEUnqZGf0ha/8OKL3BeNwetHzYsQ=="], + + "@actions/core": ["@actions/core@2.0.3", "", { "dependencies": { "@actions/exec": "^2.0.0", "@actions/http-client": "^3.0.2" } }, "sha512-Od9Thc3T1mQJYddvVPM4QGiLUewdh+3txmDYHHxoNdkqysR1MbCT+rFOtNUxYAz+7+6RIsqipVahY2GJqGPyxA=="], + + "@actions/exec": ["@actions/exec@2.0.0", "", { "dependencies": { "@actions/io": "^2.0.0" } }, "sha512-k8ngrX2voJ/RIN6r9xB82NVqKpnMRtxDoiO+g3olkIUpQNqjArXrCQceduQZCQj3P3xm32pChRLqRrtXTlqhIw=="], + + "@actions/glob": ["@actions/glob@0.5.1", "", { "dependencies": { "@actions/core": "^2.0.3", "minimatch": "^3.0.4" } }, "sha512-+dv/t2aKQdKp9WWSp+1yIXVJzH5Q38M0Mta26pzIbeec14EcIleMB7UU6N7sNgbEuYfyuVGpE5pOKjl6j1WXkA=="], + + "@actions/http-client": ["@actions/http-client@3.0.2", "", { "dependencies": { "tunnel": "^0.0.6", "undici": "^6.23.0" } }, "sha512-JP38FYYpyqvUsz+Igqlc/JG6YO9PaKuvqjM3iGvaLqFnJ7TFmcLyy2IDrY0bI0qCQug8E9K+elv5ZNfw62ZJzA=="], + + "@actions/io": ["@actions/io@2.0.0", "", {}, "sha512-Jv33IN09XLO+0HS79aaODsvIRyduiF7NY/F6LYeK5oeUmrsz7aFdRphQjFoESF4jS7lMauDOttKALcpapVDIAg=="], + + "@actions/tool-cache": ["@actions/tool-cache@3.0.1", "", { "dependencies": { "@actions/core": "^2.0.1", "@actions/exec": "^2.0.0", "@actions/http-client": "^3.0.2", "@actions/io": "^2.0.0", "semver": "^6.1.0" } }, "sha512-euK7sID37jMg1yWGkdXkLPI5Te7x/+2QMUPeHXogcpzUZ81mqlDZ+CgYhQo3LtB8LpVnnQyjs+hTTU0Ir4Y0RQ=="], + + "@azure/abort-controller": ["@azure/abort-controller@1.1.0", "", { "dependencies": { "tslib": "^2.2.0" } }, "sha512-TrRLIoSQVzfAJX9H1JeFjzAoDGcoK1IYX1UImfceTZpsyYfWr09Ss1aHW1y5TrrR3iq6RZLBwJ3E24uwPhwahw=="], + + "@azure/core-auth": ["@azure/core-auth@1.10.1", "", { "dependencies": { "@azure/abort-controller": "^2.1.2", "@azure/core-util": "^1.13.0", "tslib": "^2.6.2" } }, "sha512-ykRMW8PjVAn+RS6ww5cmK9U2CyH9p4Q88YJwvUslfuMmN98w/2rdGRLPqJYObapBCdzBVeDgYWdJnFPFb7qzpg=="], + + "@azure/core-client": ["@azure/core-client@1.10.1", "", { "dependencies": { "@azure/abort-controller": "^2.1.2", "@azure/core-auth": "^1.10.0", "@azure/core-rest-pipeline": "^1.22.0", "@azure/core-tracing": "^1.3.0", "@azure/core-util": "^1.13.0", "@azure/logger": "^1.3.0", "tslib": "^2.6.2" } }, "sha512-Nh5PhEOeY6PrnxNPsEHRr9eimxLwgLlpmguQaHKBinFYA/RU9+kOYVOQqOrTsCL+KSxrLLl1gD8Dk5BFW/7l/w=="], + + "@azure/core-http-compat": ["@azure/core-http-compat@2.3.2", "", { "dependencies": { "@azure/abort-controller": "^2.1.2" }, "peerDependencies": { "@azure/core-client": "^1.10.0", "@azure/core-rest-pipeline": "^1.22.0" } }, "sha512-Tf6ltdKzOJEgxZeWLCjMxrxbodB/ZeCbzzA1A2qHbhzAjzjHoBVSUeSl/baT/oHAxhc4qdqVaDKnc2+iE932gw=="], + + "@azure/core-lro": ["@azure/core-lro@2.7.2", "", { "dependencies": { "@azure/abort-controller": "^2.0.0", "@azure/core-util": "^1.2.0", "@azure/logger": "^1.0.0", "tslib": "^2.6.2" } }, "sha512-0YIpccoX8m/k00O7mDDMdJpbr6mf1yWo2dfmxt5A8XVZVVMz2SSKaEbMCeJRvgQ0IaSlqhjT47p4hVIRRy90xw=="], + + "@azure/core-paging": ["@azure/core-paging@1.6.2", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-YKWi9YuCU04B55h25cnOYZHxXYtEvQEbKST5vqRga7hWY9ydd3FZHdeQF8pyh+acWZvppw13M/LMGx0LABUVMA=="], + + "@azure/core-rest-pipeline": ["@azure/core-rest-pipeline@1.23.0", "", { "dependencies": { "@azure/abort-controller": "^2.1.2", "@azure/core-auth": "^1.10.0", "@azure/core-tracing": "^1.3.0", "@azure/core-util": "^1.13.0", "@azure/logger": "^1.3.0", "@typespec/ts-http-runtime": "^0.3.4", "tslib": "^2.6.2" } }, "sha512-Evs1INHo+jUjwHi1T6SG6Ua/LHOQBCLuKEEE6efIpt4ZOoNonaT1kP32GoOcdNDbfqsD2445CPri3MubBy5DEQ=="], + + "@azure/core-tracing": ["@azure/core-tracing@1.3.1", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-9MWKevR7Hz8kNzzPLfX4EAtGM2b8mr50HPDBvio96bURP/9C+HjdH3sBlLSNNrvRAr5/k/svoH457gB5IKpmwQ=="], + + "@azure/core-util": ["@azure/core-util@1.13.1", "", { "dependencies": { "@azure/abort-controller": "^2.1.2", "@typespec/ts-http-runtime": "^0.3.0", "tslib": "^2.6.2" } }, "sha512-XPArKLzsvl0Hf0CaGyKHUyVgF7oDnhKoP85Xv6M4StF/1AhfORhZudHtOyf2s+FcbuQ9dPRAjB8J2KvRRMUK2A=="], + + "@azure/core-xml": ["@azure/core-xml@1.5.0", "", { "dependencies": { "fast-xml-parser": "^5.0.7", "tslib": "^2.8.1" } }, "sha512-D/sdlJBMJfx7gqoj66PKVmhDDaU6TKA49ptcolxdas29X7AfvLTmfAGLjAcIMBK7UZ2o4lygHIqVckOlQU3xWw=="], + + "@azure/logger": ["@azure/logger@1.3.0", "", { "dependencies": { "@typespec/ts-http-runtime": "^0.3.0", "tslib": "^2.6.2" } }, "sha512-fCqPIfOcLE+CGqGPd66c8bZpwAji98tZ4JI9i/mlTNTlsIWslCfpg48s/ypyLxZTump5sypjrKn2/kY7q8oAbA=="], + + "@azure/storage-blob": ["@azure/storage-blob@12.31.0", "", { "dependencies": { "@azure/abort-controller": "^2.1.2", "@azure/core-auth": "^1.9.0", "@azure/core-client": "^1.9.3", "@azure/core-http-compat": "^2.2.0", "@azure/core-lro": "^2.2.0", "@azure/core-paging": "^1.6.2", "@azure/core-rest-pipeline": "^1.19.1", "@azure/core-tracing": "^1.2.0", "@azure/core-util": "^1.11.0", "@azure/core-xml": "^1.4.5", "@azure/logger": "^1.1.4", "@azure/storage-common": "^12.3.0", "events": "^3.0.0", "tslib": "^2.8.1" } }, "sha512-DBgNv10aCSxopt92DkTDD0o9xScXeBqPKGmR50FPZQaEcH4JLQ+GEOGEDv19V5BMkB7kxr+m4h6il/cCDPvmHg=="], + + "@azure/storage-common": ["@azure/storage-common@12.3.0", "", { "dependencies": { "@azure/abort-controller": "^2.1.2", "@azure/core-auth": "^1.9.0", "@azure/core-http-compat": "^2.2.0", "@azure/core-rest-pipeline": "^1.19.1", "@azure/core-tracing": "^1.2.0", "@azure/core-util": "^1.11.0", "@azure/logger": "^1.1.4", "events": "^3.3.0", "tslib": "^2.8.1" } }, "sha512-/OFHhy86aG5Pe8dP5tsp+BuJ25JOAl9yaMU3WZbkeoiFMHFtJ7tu5ili7qEdBXNW9G5lDB19trwyI6V49F/8iQ=="], + + "@esbuild/aix-ppc64": ["@esbuild/aix-ppc64@0.27.4", "", { "os": "aix", "cpu": "ppc64" }, "sha512-cQPwL2mp2nSmHHJlCyoXgHGhbEPMrEEU5xhkcy3Hs/O7nGZqEpZ2sUtLaL9MORLtDfRvVl2/3PAuEkYZH0Ty8Q=="], + + "@esbuild/android-arm": ["@esbuild/android-arm@0.27.4", "", { "os": "android", "cpu": "arm" }, "sha512-X9bUgvxiC8CHAGKYufLIHGXPJWnr0OCdR0anD2e21vdvgCI8lIfqFbnoeOz7lBjdrAGUhqLZLcQo6MLhTO2DKQ=="], + + "@esbuild/android-arm64": ["@esbuild/android-arm64@0.27.4", "", { "os": "android", "cpu": "arm64" }, "sha512-gdLscB7v75wRfu7QSm/zg6Rx29VLdy9eTr2t44sfTW7CxwAtQghZ4ZnqHk3/ogz7xao0QAgrkradbBzcqFPasw=="], + + "@esbuild/android-x64": ["@esbuild/android-x64@0.27.4", "", { "os": "android", "cpu": "x64" }, "sha512-PzPFnBNVF292sfpfhiyiXCGSn9HZg5BcAz+ivBuSsl6Rk4ga1oEXAamhOXRFyMcjwr2DVtm40G65N3GLeH1Lvw=="], + + "@esbuild/darwin-arm64": ["@esbuild/darwin-arm64@0.27.4", "", { "os": "darwin", "cpu": "arm64" }, "sha512-b7xaGIwdJlht8ZFCvMkpDN6uiSmnxxK56N2GDTMYPr2/gzvfdQN8rTfBsvVKmIVY/X7EM+/hJKEIbbHs9oA4tQ=="], + + "@esbuild/darwin-x64": ["@esbuild/darwin-x64@0.27.4", "", { "os": "darwin", "cpu": "x64" }, "sha512-sR+OiKLwd15nmCdqpXMnuJ9W2kpy0KigzqScqHI3Hqwr7IXxBp3Yva+yJwoqh7rE8V77tdoheRYataNKL4QrPw=="], + + "@esbuild/freebsd-arm64": ["@esbuild/freebsd-arm64@0.27.4", "", { "os": "freebsd", "cpu": "arm64" }, "sha512-jnfpKe+p79tCnm4GVav68A7tUFeKQwQyLgESwEAUzyxk/TJr4QdGog9sqWNcUbr/bZt/O/HXouspuQDd9JxFSw=="], + + "@esbuild/freebsd-x64": ["@esbuild/freebsd-x64@0.27.4", "", { "os": "freebsd", "cpu": "x64" }, "sha512-2kb4ceA/CpfUrIcTUl1wrP/9ad9Atrp5J94Lq69w7UwOMolPIGrfLSvAKJp0RTvkPPyn6CIWrNy13kyLikZRZQ=="], + + "@esbuild/linux-arm": ["@esbuild/linux-arm@0.27.4", "", { "os": "linux", "cpu": "arm" }, "sha512-aBYgcIxX/wd5n2ys0yESGeYMGF+pv6g0DhZr3G1ZG4jMfruU9Tl1i2Z+Wnj9/KjGz1lTLCcorqE2viePZqj4Eg=="], + + "@esbuild/linux-arm64": ["@esbuild/linux-arm64@0.27.4", "", { "os": "linux", "cpu": "arm64" }, "sha512-7nQOttdzVGth1iz57kxg9uCz57dxQLHWxopL6mYuYthohPKEK0vU0C3O21CcBK6KDlkYVcnDXY099HcCDXd9dA=="], + + "@esbuild/linux-ia32": ["@esbuild/linux-ia32@0.27.4", "", { "os": "linux", "cpu": "ia32" }, "sha512-oPtixtAIzgvzYcKBQM/qZ3R+9TEUd1aNJQu0HhGyqtx6oS7qTpvjheIWBbes4+qu1bNlo2V4cbkISr8q6gRBFA=="], + + "@esbuild/linux-loong64": ["@esbuild/linux-loong64@0.27.4", "", { "os": "linux", "cpu": "none" }, "sha512-8mL/vh8qeCoRcFH2nM8wm5uJP+ZcVYGGayMavi8GmRJjuI3g1v6Z7Ni0JJKAJW+m0EtUuARb6Lmp4hMjzCBWzA=="], + + "@esbuild/linux-mips64el": ["@esbuild/linux-mips64el@0.27.4", "", { "os": "linux", "cpu": "none" }, "sha512-1RdrWFFiiLIW7LQq9Q2NES+HiD4NyT8Itj9AUeCl0IVCA459WnPhREKgwrpaIfTOe+/2rdntisegiPWn/r/aAw=="], + + "@esbuild/linux-ppc64": ["@esbuild/linux-ppc64@0.27.4", "", { "os": "linux", "cpu": "ppc64" }, "sha512-tLCwNG47l3sd9lpfyx9LAGEGItCUeRCWeAx6x2Jmbav65nAwoPXfewtAdtbtit/pJFLUWOhpv0FpS6GQAmPrHA=="], + + "@esbuild/linux-riscv64": ["@esbuild/linux-riscv64@0.27.4", "", { "os": "linux", "cpu": "none" }, "sha512-BnASypppbUWyqjd1KIpU4AUBiIhVr6YlHx/cnPgqEkNoVOhHg+YiSVxM1RLfiy4t9cAulbRGTNCKOcqHrEQLIw=="], + + "@esbuild/linux-s390x": ["@esbuild/linux-s390x@0.27.4", "", { "os": "linux", "cpu": "s390x" }, "sha512-+eUqgb/Z7vxVLezG8bVB9SfBie89gMueS+I0xYh2tJdw3vqA/0ImZJ2ROeWwVJN59ihBeZ7Tu92dF/5dy5FttA=="], + + "@esbuild/linux-x64": ["@esbuild/linux-x64@0.27.4", "", { "os": "linux", "cpu": "x64" }, "sha512-S5qOXrKV8BQEzJPVxAwnryi2+Iq5pB40gTEIT69BQONqR7JH1EPIcQ/Uiv9mCnn05jff9umq/5nqzxlqTOg9NA=="], + + "@esbuild/netbsd-arm64": ["@esbuild/netbsd-arm64@0.27.4", "", { "os": "none", "cpu": "arm64" }, "sha512-xHT8X4sb0GS8qTqiwzHqpY00C95DPAq7nAwX35Ie/s+LO9830hrMd3oX0ZMKLvy7vsonee73x0lmcdOVXFzd6Q=="], + + "@esbuild/netbsd-x64": ["@esbuild/netbsd-x64@0.27.4", "", { "os": "none", "cpu": "x64" }, "sha512-RugOvOdXfdyi5Tyv40kgQnI0byv66BFgAqjdgtAKqHoZTbTF2QqfQrFwa7cHEORJf6X2ht+l9ABLMP0dnKYsgg=="], + + "@esbuild/openbsd-arm64": ["@esbuild/openbsd-arm64@0.27.4", "", { "os": "openbsd", "cpu": "arm64" }, "sha512-2MyL3IAaTX+1/qP0O1SwskwcwCoOI4kV2IBX1xYnDDqthmq5ArrW94qSIKCAuRraMgPOmG0RDTA74mzYNQA9ow=="], + + "@esbuild/openbsd-x64": ["@esbuild/openbsd-x64@0.27.4", "", { "os": "openbsd", "cpu": "x64" }, "sha512-u8fg/jQ5aQDfsnIV6+KwLOf1CmJnfu1ShpwqdwC0uA7ZPwFws55Ngc12vBdeUdnuWoQYx/SOQLGDcdlfXhYmXQ=="], + + "@esbuild/openharmony-arm64": ["@esbuild/openharmony-arm64@0.27.4", "", { "os": "none", "cpu": "arm64" }, "sha512-JkTZrl6VbyO8lDQO3yv26nNr2RM2yZzNrNHEsj9bm6dOwwu9OYN28CjzZkH57bh4w0I2F7IodpQvUAEd1mbWXg=="], + + "@esbuild/sunos-x64": ["@esbuild/sunos-x64@0.27.4", "", { "os": "sunos", "cpu": "x64" }, "sha512-/gOzgaewZJfeJTlsWhvUEmUG4tWEY2Spp5M20INYRg2ZKl9QPO3QEEgPeRtLjEWSW8FilRNacPOg8R1uaYkA6g=="], + + "@esbuild/win32-arm64": ["@esbuild/win32-arm64@0.27.4", "", { "os": "win32", "cpu": "arm64" }, "sha512-Z9SExBg2y32smoDQdf1HRwHRt6vAHLXcxD2uGgO/v2jK7Y718Ix4ndsbNMU/+1Qiem9OiOdaqitioZwxivhXYg=="], + + "@esbuild/win32-ia32": ["@esbuild/win32-ia32@0.27.4", "", { "os": "win32", "cpu": "ia32" }, "sha512-DAyGLS0Jz5G5iixEbMHi5KdiApqHBWMGzTtMiJ72ZOLhbu/bzxgAe8Ue8CTS3n3HbIUHQz/L51yMdGMeoxXNJw=="], + + "@esbuild/win32-x64": ["@esbuild/win32-x64@0.27.4", "", { "os": "win32", "cpu": "x64" }, "sha512-+knoa0BDoeXgkNvvV1vvbZX4+hizelrkwmGJBdT17t8FNPwG2lKemmuMZlmaNQ3ws3DKKCxpb4zRZEIp3UxFCg=="], + + "@iarna/toml": ["@iarna/toml@2.2.5", "", {}, "sha512-trnsAYxU3xnS1gPHPyU961coFyLkh4gAD/0zQ5mymY4yOZ+CYvsPqUbOFSw0aDM4y0tV7tiFxL/1XfXPNC6IPg=="], + + "@protobuf-ts/runtime": ["@protobuf-ts/runtime@2.11.1", "", {}, "sha512-KuDaT1IfHkugM2pyz+FwiY80ejWrkH1pAtOBOZFuR6SXEFTsnb/jiQWQ1rCIrcKx2BtyxnxW6BWwsVSA/Ie+WQ=="], + + "@protobuf-ts/runtime-rpc": ["@protobuf-ts/runtime-rpc@2.11.1", "", { "dependencies": { "@protobuf-ts/runtime": "^2.11.1" } }, "sha512-4CqqUmNA+/uMz00+d3CYKgElXO9VrEbucjnBFEjqI4GuDrEQ32MaI3q+9qPBvIGOlL4PmHXrzM32vBPWRhQKWQ=="], + + "@types/bun": ["@types/bun@1.3.10", "", { "dependencies": { "bun-types": "1.3.10" } }, "sha512-0+rlrUrOrTSskibryHbvQkDOWRJwJZqZlxrUs1u4oOoTln8+WIXBPmAuCF35SWB2z4Zl3E84Nl/D0P7803nigQ=="], + + "@types/node": ["@types/node@24.12.0", "", { "dependencies": { "undici-types": "~7.16.0" } }, "sha512-GYDxsZi3ChgmckRT9HPU0WEhKLP08ev/Yfcq2AstjrDASOYCSXeyjDsHg4v5t4jOj7cyDX3vmprafKlWIG9MXQ=="], + + "@typespec/ts-http-runtime": ["@typespec/ts-http-runtime@0.3.4", "", { "dependencies": { "http-proxy-agent": "^7.0.0", "https-proxy-agent": "^7.0.0", "tslib": "^2.6.2" } }, "sha512-CI0NhTrz4EBaa0U+HaaUZrJhPoso8sG7ZFya8uQoBA57fjzrjRSv87ekCjLZOFExN+gXE/z0xuN2QfH4H2HrLQ=="], + + "@yarnpkg/lockfile": ["@yarnpkg/lockfile@1.1.0", "", {}, "sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ=="], + + "agent-base": ["agent-base@7.1.4", "", {}, "sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ=="], + + "ansi-styles": ["ansi-styles@4.3.0", "", { "dependencies": { "color-convert": "^2.0.1" } }, "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg=="], + + "balanced-match": ["balanced-match@1.0.2", "", {}, "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="], + + "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=="], + + "bun-types": ["bun-types@1.3.10", "", { "dependencies": { "@types/node": "*" } }, "sha512-tcpfCCl6XWo6nCVnpcVrxQ+9AYN1iqMIzgrSKYMB/fjLtV2eyAVEg7AxQJuCq/26R6HpKWykQXuSOq/21RYcbg=="], + + "call-bind": ["call-bind@1.0.8", "", { "dependencies": { "call-bind-apply-helpers": "^1.0.0", "es-define-property": "^1.0.0", "get-intrinsic": "^1.2.4", "set-function-length": "^1.2.2" } }, "sha512-oKlSFMcMwpUg2ednkhQ454wfWiU/ul3CkJe/PEHcTKuiX6RpbehUiFMXu13HalGZxfUwCQzZG747YXBn1im9ww=="], + + "call-bind-apply-helpers": ["call-bind-apply-helpers@1.0.2", "", { "dependencies": { "es-errors": "^1.3.0", "function-bind": "^1.1.2" } }, "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ=="], + + "call-bound": ["call-bound@1.0.4", "", { "dependencies": { "call-bind-apply-helpers": "^1.0.2", "get-intrinsic": "^1.3.0" } }, "sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg=="], + + "chalk": ["chalk@4.1.2", "", { "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" } }, "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA=="], + + "ci-info": ["ci-info@3.9.0", "", {}, "sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ=="], + + "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=="], + + "compare-versions": ["compare-versions@6.1.1", "", {}, "sha512-4hm4VPpIecmlg59CHXnRDnqGplJFrbLG4aFEl5vl6cK1u76ws3LLvX7ikFnTDl5vo39sjWD6AaDPYodJp/NNHg=="], + + "concat-map": ["concat-map@0.0.1", "", {}, "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg=="], + + "cross-spawn": ["cross-spawn@7.0.6", "", { "dependencies": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", "which": "^2.0.1" } }, "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA=="], + + "debug": ["debug@4.4.3", "", { "dependencies": { "ms": "^2.1.3" } }, "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA=="], + + "define-data-property": ["define-data-property@1.1.4", "", { "dependencies": { "es-define-property": "^1.0.0", "es-errors": "^1.3.0", "gopd": "^1.0.1" } }, "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A=="], + + "dunder-proto": ["dunder-proto@1.0.1", "", { "dependencies": { "call-bind-apply-helpers": "^1.0.1", "es-errors": "^1.3.0", "gopd": "^1.2.0" } }, "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A=="], + + "es-define-property": ["es-define-property@1.0.1", "", {}, "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g=="], + + "es-errors": ["es-errors@1.3.0", "", {}, "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw=="], + + "es-object-atoms": ["es-object-atoms@1.1.1", "", { "dependencies": { "es-errors": "^1.3.0" } }, "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA=="], + + "esbuild": ["esbuild@0.27.4", "", { "optionalDependencies": { "@esbuild/aix-ppc64": "0.27.4", "@esbuild/android-arm": "0.27.4", "@esbuild/android-arm64": "0.27.4", "@esbuild/android-x64": "0.27.4", "@esbuild/darwin-arm64": "0.27.4", "@esbuild/darwin-x64": "0.27.4", "@esbuild/freebsd-arm64": "0.27.4", "@esbuild/freebsd-x64": "0.27.4", "@esbuild/linux-arm": "0.27.4", "@esbuild/linux-arm64": "0.27.4", "@esbuild/linux-ia32": "0.27.4", "@esbuild/linux-loong64": "0.27.4", "@esbuild/linux-mips64el": "0.27.4", "@esbuild/linux-ppc64": "0.27.4", "@esbuild/linux-riscv64": "0.27.4", "@esbuild/linux-s390x": "0.27.4", "@esbuild/linux-x64": "0.27.4", "@esbuild/netbsd-arm64": "0.27.4", "@esbuild/netbsd-x64": "0.27.4", "@esbuild/openbsd-arm64": "0.27.4", "@esbuild/openbsd-x64": "0.27.4", "@esbuild/openharmony-arm64": "0.27.4", "@esbuild/sunos-x64": "0.27.4", "@esbuild/win32-arm64": "0.27.4", "@esbuild/win32-ia32": "0.27.4", "@esbuild/win32-x64": "0.27.4" }, "bin": "bin/esbuild" }, "sha512-Rq4vbHnYkK5fws5NF7MYTU68FPRE1ajX7heQ/8QXXWqNgqqJ/GkmmyxIzUnf2Sr/bakf8l54716CcMGHYhMrrQ=="], + + "events": ["events@3.3.0", "", {}, "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q=="], + + "fast-xml-builder": ["fast-xml-builder@1.1.3", "", { "dependencies": { "path-expression-matcher": "^1.1.3" } }, "sha512-1o60KoFw2+LWKQu3IdcfcFlGTW4dpqEWmjhYec6H82AYZU2TVBXep6tMl8Z1Y+wM+ZrzCwe3BZ9Vyd9N2rIvmg=="], + + "fast-xml-parser": ["fast-xml-parser@5.5.5", "", { "dependencies": { "fast-xml-builder": "^1.1.3", "path-expression-matcher": "^1.1.3", "strnum": "^2.1.2" }, "bin": { "fxparser": "src/cli/cli.js" } }, "sha512-NLY+V5NNbdmiEszx9n14mZBseJTC50bRq1VHsaxOmR72JDuZt+5J1Co+dC/4JPnyq+WrIHNM69r0sqf7BMb3Mg=="], + + "fill-range": ["fill-range@7.1.1", "", { "dependencies": { "to-regex-range": "^5.0.1" } }, "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg=="], + + "find-yarn-workspace-root": ["find-yarn-workspace-root@2.0.0", "", { "dependencies": { "micromatch": "^4.0.2" } }, "sha512-1IMnbjt4KzsQfnhnzNd8wUEgXZ44IzZaZmnLYx7D5FZlaHt2gW20Cri8Q+E/t5tIj4+epTBub+2Zxu/vNILzqQ=="], + + "fs-extra": ["fs-extra@10.1.0", "", { "dependencies": { "graceful-fs": "^4.2.0", "jsonfile": "^6.0.1", "universalify": "^2.0.0" } }, "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ=="], + + "function-bind": ["function-bind@1.1.2", "", {}, "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA=="], + + "get-intrinsic": ["get-intrinsic@1.3.0", "", { "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-proto": ["get-proto@1.0.1", "", { "dependencies": { "dunder-proto": "^1.0.1", "es-object-atoms": "^1.0.0" } }, "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g=="], + + "gopd": ["gopd@1.2.0", "", {}, "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg=="], + + "graceful-fs": ["graceful-fs@4.2.11", "", {}, "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ=="], + + "has-flag": ["has-flag@4.0.0", "", {}, "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ=="], + + "has-property-descriptors": ["has-property-descriptors@1.0.2", "", { "dependencies": { "es-define-property": "^1.0.0" } }, "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg=="], + + "has-symbols": ["has-symbols@1.1.0", "", {}, "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ=="], + + "hasown": ["hasown@2.0.2", "", { "dependencies": { "function-bind": "^1.1.2" } }, "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ=="], + + "http-proxy-agent": ["http-proxy-agent@7.0.2", "", { "dependencies": { "agent-base": "^7.1.0", "debug": "^4.3.4" } }, "sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig=="], + + "https-proxy-agent": ["https-proxy-agent@7.0.6", "", { "dependencies": { "agent-base": "^7.1.2", "debug": "4" } }, "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw=="], + + "is-docker": ["is-docker@2.2.1", "", { "bin": "cli.js" }, "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ=="], + + "is-number": ["is-number@7.0.0", "", {}, "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng=="], + + "is-wsl": ["is-wsl@2.2.0", "", { "dependencies": { "is-docker": "^2.0.0" } }, "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww=="], + + "isarray": ["isarray@2.0.5", "", {}, "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw=="], + + "isexe": ["isexe@2.0.0", "", {}, "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw=="], + + "json-stable-stringify": ["json-stable-stringify@1.3.0", "", { "dependencies": { "call-bind": "^1.0.8", "call-bound": "^1.0.4", "isarray": "^2.0.5", "jsonify": "^0.0.1", "object-keys": "^1.1.1" } }, "sha512-qtYiSSFlwot9XHtF9bD9c7rwKjr+RecWT//ZnPvSmEjpV5mmPOCN4j8UjY5hbjNkOwZ/jQv3J6R1/pL7RwgMsg=="], + + "jsonfile": ["jsonfile@6.2.0", "", { "dependencies": { "universalify": "^2.0.0" }, "optionalDependencies": { "graceful-fs": "^4.1.6" } }, "sha512-FGuPw30AdOIUTRMC2OMRtQV+jkVj2cfPqSeWXv1NEAJ1qZ5zb1X6z1mFhbfOB/iy3ssJCD+3KuZ8r8C3uVFlAg=="], + + "jsonify": ["jsonify@0.0.1", "", {}, "sha512-2/Ki0GcmuqSrgFyelQq9M05y7PS0mEwuIzrf3f1fPqkVDVRvZrPZtVSMHxdgo8Aq0sxAOb/cr2aqqA3LeWHVPg=="], + + "klaw-sync": ["klaw-sync@6.0.0", "", { "dependencies": { "graceful-fs": "^4.1.11" } }, "sha512-nIeuVSzdCCs6TDPTqI8w1Yre34sSq7AkZ4B3sfOBbI2CgVSB4Du4aLQijFU2+lhAFCwt9+42Hel6lQNIv6AntQ=="], + + "math-intrinsics": ["math-intrinsics@1.1.0", "", {}, "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g=="], + + "micromatch": ["micromatch@4.0.8", "", { "dependencies": { "braces": "^3.0.3", "picomatch": "^2.3.1" } }, "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA=="], + + "minimatch": ["minimatch@3.1.5", "", { "dependencies": { "brace-expansion": "^1.1.7" } }, "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w=="], + + "minimist": ["minimist@1.2.8", "", {}, "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA=="], + + "ms": ["ms@2.1.3", "", {}, "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="], + + "object-keys": ["object-keys@1.1.1", "", {}, "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA=="], + + "open": ["open@7.4.2", "", { "dependencies": { "is-docker": "^2.0.0", "is-wsl": "^2.1.1" } }, "sha512-MVHddDVweXZF3awtlAS+6pgKLlm/JgxZ90+/NBurBoQctVOOB/zDdVjcyPzQ+0laDGbsWgrRkflI65sQeOgT9Q=="], + + "openpgp": ["openpgp@6.3.0", "", {}, "sha512-pLzCU8IgyKXPSO11eeharQkQ4GzOKNWhXq79pQarIRZEMt1/ssyr+MIuWBv1mNoenJLg04gvPx+fi4gcKZ4bag=="], + + "patch-package": ["patch-package@8.0.1", "", { "dependencies": { "@yarnpkg/lockfile": "^1.1.0", "chalk": "^4.1.2", "ci-info": "^3.7.0", "cross-spawn": "^7.0.3", "find-yarn-workspace-root": "^2.0.0", "fs-extra": "^10.0.0", "json-stable-stringify": "^1.0.2", "klaw-sync": "^6.0.0", "minimist": "^1.2.6", "open": "^7.4.2", "semver": "^7.5.3", "slash": "^2.0.0", "tmp": "^0.2.4", "yaml": "^2.2.2" }, "bin": "index.js" }, "sha512-VsKRIA8f5uqHQ7NGhwIna6Bx6D9s/1iXlA1hthBVBEbkq+t4kXD0HHt+rJhf/Z+Ci0F/HCB2hvn0qLdLG+Qxlw=="], + + "path-expression-matcher": ["path-expression-matcher@1.1.3", "", {}, "sha512-qdVgY8KXmVdJZRSS1JdEPOKPdTiEK/pi0RkcT2sw1RhXxohdujUlJFPuS1TSkevZ9vzd3ZlL7ULl1MHGTApKzQ=="], + + "path-key": ["path-key@3.1.1", "", {}, "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q=="], + + "picomatch": ["picomatch@2.3.1", "", {}, "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA=="], + + "prettier": ["prettier@3.8.1", "", { "bin": "bin/prettier.cjs" }, "sha512-UOnG6LftzbdaHZcKoPFtOcCKztrQ57WkHDeRD9t/PTQtmT0NHSeWWepj6pS0z/N7+08BHFDQVUrfmfMRcZwbMg=="], + + "semver": ["semver@7.7.4", "", { "bin": "bin/semver.js" }, "sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA=="], + + "set-function-length": ["set-function-length@1.2.2", "", { "dependencies": { "define-data-property": "^1.1.4", "es-errors": "^1.3.0", "function-bind": "^1.1.2", "get-intrinsic": "^1.2.4", "gopd": "^1.0.1", "has-property-descriptors": "^1.0.2" } }, "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg=="], + + "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=="], + + "slash": ["slash@2.0.0", "", {}, "sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A=="], + + "strnum": ["strnum@2.2.0", "", {}, "sha512-Y7Bj8XyJxnPAORMZj/xltsfo55uOiyHcU2tnAVzHUnSJR/KsEX+9RoDeXEnsXtl/CX4fAcrt64gZ13aGaWPeBg=="], + + "supports-color": ["supports-color@7.2.0", "", { "dependencies": { "has-flag": "^4.0.0" } }, "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw=="], + + "tmp": ["tmp@0.2.5", "", {}, "sha512-voyz6MApa1rQGUxT3E+BK7/ROe8itEx7vD8/HEvt4xwXucvQ5G5oeEiHkmHZJuBO21RpOf+YYm9MOivj709jow=="], + + "to-regex-range": ["to-regex-range@5.0.1", "", { "dependencies": { "is-number": "^7.0.0" } }, "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ=="], + + "tslib": ["tslib@2.8.1", "", {}, "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w=="], + + "tunnel": ["tunnel@0.0.6", "", {}, "sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg=="], + + "typescript": ["typescript@5.9.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw=="], + + "undici": ["undici@6.24.1", "", {}, "sha512-sC+b0tB1whOCzbtlx20fx3WgCXwkW627p4EA9uM+/tNNPkSS+eSEld6pAs9nDv7WbY1UUljBMYPtu9BCOrCWKA=="], + + "undici-types": ["undici-types@7.16.0", "", {}, "sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw=="], + + "universalify": ["universalify@2.0.1", "", {}, "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw=="], + + "which": ["which@2.0.2", "", { "dependencies": { "isexe": "^2.0.0" }, "bin": { "node-which": "bin/node-which" } }, "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA=="], + + "yaml": ["yaml@2.8.2", "", { "bin": "bin.mjs" }, "sha512-mplynKqc1C2hTVYxd0PU2xQAc22TI1vShAYGksCCfxbn/dFwnHTNi1bvYsBTkhdUNtGIf5xNOg938rrSSYvS9A=="], + + "@actions/cache/semver": ["semver@6.3.1", "", { "bin": "bin/semver.js" }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="], + + "@actions/tool-cache/semver": ["semver@6.3.1", "", { "bin": "bin/semver.js" }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="], + + "@azure/core-auth/@azure/abort-controller": ["@azure/abort-controller@2.1.2", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-nBrLsEWm4J2u5LpAPjxADTlq3trDgVZZXHNKabeXZtpq3d3AbN/KGO82R87rdDz5/lYB024rtEf10/q0urNgsA=="], + + "@azure/core-client/@azure/abort-controller": ["@azure/abort-controller@2.1.2", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-nBrLsEWm4J2u5LpAPjxADTlq3trDgVZZXHNKabeXZtpq3d3AbN/KGO82R87rdDz5/lYB024rtEf10/q0urNgsA=="], + + "@azure/core-http-compat/@azure/abort-controller": ["@azure/abort-controller@2.1.2", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-nBrLsEWm4J2u5LpAPjxADTlq3trDgVZZXHNKabeXZtpq3d3AbN/KGO82R87rdDz5/lYB024rtEf10/q0urNgsA=="], + + "@azure/core-lro/@azure/abort-controller": ["@azure/abort-controller@2.1.2", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-nBrLsEWm4J2u5LpAPjxADTlq3trDgVZZXHNKabeXZtpq3d3AbN/KGO82R87rdDz5/lYB024rtEf10/q0urNgsA=="], + + "@azure/core-rest-pipeline/@azure/abort-controller": ["@azure/abort-controller@2.1.2", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-nBrLsEWm4J2u5LpAPjxADTlq3trDgVZZXHNKabeXZtpq3d3AbN/KGO82R87rdDz5/lYB024rtEf10/q0urNgsA=="], + + "@azure/core-util/@azure/abort-controller": ["@azure/abort-controller@2.1.2", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-nBrLsEWm4J2u5LpAPjxADTlq3trDgVZZXHNKabeXZtpq3d3AbN/KGO82R87rdDz5/lYB024rtEf10/q0urNgsA=="], + + "@azure/storage-blob/@azure/abort-controller": ["@azure/abort-controller@2.1.2", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-nBrLsEWm4J2u5LpAPjxADTlq3trDgVZZXHNKabeXZtpq3d3AbN/KGO82R87rdDz5/lYB024rtEf10/q0urNgsA=="], + + "@azure/storage-common/@azure/abort-controller": ["@azure/abort-controller@2.1.2", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-nBrLsEWm4J2u5LpAPjxADTlq3trDgVZZXHNKabeXZtpq3d3AbN/KGO82R87rdDz5/lYB024rtEf10/q0urNgsA=="], + } +} diff --git a/package-lock.json b/package-lock.json index a86274a8..96a6ab68 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,13 @@ { "name": "setup-bun", - "version": "2.1.3", + "version": "2.2.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "setup-bun", - "version": "2.1.3", + "version": "2.2.0", + "hasInstallScript": true, "license": "MIT", "dependencies": { "@actions/cache": "^5.0.0", @@ -21,7 +22,7 @@ }, "devDependencies": { "@types/bun": "^1.0.0", - "@types/node": "^20.0.0", + "@types/node": "^24.0.0", "esbuild": "^0.27.0", "patch-package": "^8.0.0", "prettier": "^3.0.0", @@ -403,9 +404,9 @@ } }, "node_modules/@esbuild/aix-ppc64": { - "version": "0.27.3", - "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.27.3.tgz", - "integrity": "sha512-9fJMTNFTWZMh5qwrBItuziu834eOCUcEqymSH7pY+zoMVEZg3gcPuBNxH1EvfVYe9h0x/Ptw8KBzv7qxb7l8dg==", + "version": "0.27.4", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.27.4.tgz", + "integrity": "sha512-cQPwL2mp2nSmHHJlCyoXgHGhbEPMrEEU5xhkcy3Hs/O7nGZqEpZ2sUtLaL9MORLtDfRvVl2/3PAuEkYZH0Ty8Q==", "cpu": [ "ppc64" ], @@ -420,9 +421,9 @@ } }, "node_modules/@esbuild/android-arm": { - "version": "0.27.3", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.27.3.tgz", - "integrity": "sha512-i5D1hPY7GIQmXlXhs2w8AWHhenb00+GxjxRncS2ZM7YNVGNfaMxgzSGuO8o8SJzRc/oZwU2bcScvVERk03QhzA==", + "version": "0.27.4", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.27.4.tgz", + "integrity": "sha512-X9bUgvxiC8CHAGKYufLIHGXPJWnr0OCdR0anD2e21vdvgCI8lIfqFbnoeOz7lBjdrAGUhqLZLcQo6MLhTO2DKQ==", "cpu": [ "arm" ], @@ -437,9 +438,9 @@ } }, "node_modules/@esbuild/android-arm64": { - "version": "0.27.3", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.27.3.tgz", - "integrity": "sha512-YdghPYUmj/FX2SYKJ0OZxf+iaKgMsKHVPF1MAq/P8WirnSpCStzKJFjOjzsW0QQ7oIAiccHdcqjbHmJxRb/dmg==", + "version": "0.27.4", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.27.4.tgz", + "integrity": "sha512-gdLscB7v75wRfu7QSm/zg6Rx29VLdy9eTr2t44sfTW7CxwAtQghZ4ZnqHk3/ogz7xao0QAgrkradbBzcqFPasw==", "cpu": [ "arm64" ], @@ -454,9 +455,9 @@ } }, "node_modules/@esbuild/android-x64": { - "version": "0.27.3", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.27.3.tgz", - "integrity": "sha512-IN/0BNTkHtk8lkOM8JWAYFg4ORxBkZQf9zXiEOfERX/CzxW3Vg1ewAhU7QSWQpVIzTW+b8Xy+lGzdYXV6UZObQ==", + "version": "0.27.4", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.27.4.tgz", + "integrity": "sha512-PzPFnBNVF292sfpfhiyiXCGSn9HZg5BcAz+ivBuSsl6Rk4ga1oEXAamhOXRFyMcjwr2DVtm40G65N3GLeH1Lvw==", "cpu": [ "x64" ], @@ -471,9 +472,9 @@ } }, "node_modules/@esbuild/darwin-arm64": { - "version": "0.27.3", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.27.3.tgz", - "integrity": "sha512-Re491k7ByTVRy0t3EKWajdLIr0gz2kKKfzafkth4Q8A5n1xTHrkqZgLLjFEHVD+AXdUGgQMq+Godfq45mGpCKg==", + "version": "0.27.4", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.27.4.tgz", + "integrity": "sha512-b7xaGIwdJlht8ZFCvMkpDN6uiSmnxxK56N2GDTMYPr2/gzvfdQN8rTfBsvVKmIVY/X7EM+/hJKEIbbHs9oA4tQ==", "cpu": [ "arm64" ], @@ -488,9 +489,9 @@ } }, "node_modules/@esbuild/darwin-x64": { - "version": "0.27.3", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.27.3.tgz", - "integrity": "sha512-vHk/hA7/1AckjGzRqi6wbo+jaShzRowYip6rt6q7VYEDX4LEy1pZfDpdxCBnGtl+A5zq8iXDcyuxwtv3hNtHFg==", + "version": "0.27.4", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.27.4.tgz", + "integrity": "sha512-sR+OiKLwd15nmCdqpXMnuJ9W2kpy0KigzqScqHI3Hqwr7IXxBp3Yva+yJwoqh7rE8V77tdoheRYataNKL4QrPw==", "cpu": [ "x64" ], @@ -505,9 +506,9 @@ } }, "node_modules/@esbuild/freebsd-arm64": { - "version": "0.27.3", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.27.3.tgz", - "integrity": "sha512-ipTYM2fjt3kQAYOvo6vcxJx3nBYAzPjgTCk7QEgZG8AUO3ydUhvelmhrbOheMnGOlaSFUoHXB6un+A7q4ygY9w==", + "version": "0.27.4", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.27.4.tgz", + "integrity": "sha512-jnfpKe+p79tCnm4GVav68A7tUFeKQwQyLgESwEAUzyxk/TJr4QdGog9sqWNcUbr/bZt/O/HXouspuQDd9JxFSw==", "cpu": [ "arm64" ], @@ -522,9 +523,9 @@ } }, "node_modules/@esbuild/freebsd-x64": { - "version": "0.27.3", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.27.3.tgz", - "integrity": "sha512-dDk0X87T7mI6U3K9VjWtHOXqwAMJBNN2r7bejDsc+j03SEjtD9HrOl8gVFByeM0aJksoUuUVU9TBaZa2rgj0oA==", + "version": "0.27.4", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.27.4.tgz", + "integrity": "sha512-2kb4ceA/CpfUrIcTUl1wrP/9ad9Atrp5J94Lq69w7UwOMolPIGrfLSvAKJp0RTvkPPyn6CIWrNy13kyLikZRZQ==", "cpu": [ "x64" ], @@ -539,9 +540,9 @@ } }, "node_modules/@esbuild/linux-arm": { - "version": "0.27.3", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.27.3.tgz", - "integrity": "sha512-s6nPv2QkSupJwLYyfS+gwdirm0ukyTFNl3KTgZEAiJDd+iHZcbTPPcWCcRYH+WlNbwChgH2QkE9NSlNrMT8Gfw==", + "version": "0.27.4", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.27.4.tgz", + "integrity": "sha512-aBYgcIxX/wd5n2ys0yESGeYMGF+pv6g0DhZr3G1ZG4jMfruU9Tl1i2Z+Wnj9/KjGz1lTLCcorqE2viePZqj4Eg==", "cpu": [ "arm" ], @@ -556,9 +557,9 @@ } }, "node_modules/@esbuild/linux-arm64": { - "version": "0.27.3", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.27.3.tgz", - "integrity": "sha512-sZOuFz/xWnZ4KH3YfFrKCf1WyPZHakVzTiqji3WDc0BCl2kBwiJLCXpzLzUBLgmp4veFZdvN5ChW4Eq/8Fc2Fg==", + "version": "0.27.4", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.27.4.tgz", + "integrity": "sha512-7nQOttdzVGth1iz57kxg9uCz57dxQLHWxopL6mYuYthohPKEK0vU0C3O21CcBK6KDlkYVcnDXY099HcCDXd9dA==", "cpu": [ "arm64" ], @@ -573,9 +574,9 @@ } }, "node_modules/@esbuild/linux-ia32": { - "version": "0.27.3", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.27.3.tgz", - "integrity": "sha512-yGlQYjdxtLdh0a3jHjuwOrxQjOZYD/C9PfdbgJJF3TIZWnm/tMd/RcNiLngiu4iwcBAOezdnSLAwQDPqTmtTYg==", + "version": "0.27.4", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.27.4.tgz", + "integrity": "sha512-oPtixtAIzgvzYcKBQM/qZ3R+9TEUd1aNJQu0HhGyqtx6oS7qTpvjheIWBbes4+qu1bNlo2V4cbkISr8q6gRBFA==", "cpu": [ "ia32" ], @@ -590,9 +591,9 @@ } }, "node_modules/@esbuild/linux-loong64": { - "version": "0.27.3", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.27.3.tgz", - "integrity": "sha512-WO60Sn8ly3gtzhyjATDgieJNet/KqsDlX5nRC5Y3oTFcS1l0KWba+SEa9Ja1GfDqSF1z6hif/SkpQJbL63cgOA==", + "version": "0.27.4", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.27.4.tgz", + "integrity": "sha512-8mL/vh8qeCoRcFH2nM8wm5uJP+ZcVYGGayMavi8GmRJjuI3g1v6Z7Ni0JJKAJW+m0EtUuARb6Lmp4hMjzCBWzA==", "cpu": [ "loong64" ], @@ -607,9 +608,9 @@ } }, "node_modules/@esbuild/linux-mips64el": { - "version": "0.27.3", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.27.3.tgz", - "integrity": "sha512-APsymYA6sGcZ4pD6k+UxbDjOFSvPWyZhjaiPyl/f79xKxwTnrn5QUnXR5prvetuaSMsb4jgeHewIDCIWljrSxw==", + "version": "0.27.4", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.27.4.tgz", + "integrity": "sha512-1RdrWFFiiLIW7LQq9Q2NES+HiD4NyT8Itj9AUeCl0IVCA459WnPhREKgwrpaIfTOe+/2rdntisegiPWn/r/aAw==", "cpu": [ "mips64el" ], @@ -624,9 +625,9 @@ } }, "node_modules/@esbuild/linux-ppc64": { - "version": "0.27.3", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.27.3.tgz", - "integrity": "sha512-eizBnTeBefojtDb9nSh4vvVQ3V9Qf9Df01PfawPcRzJH4gFSgrObw+LveUyDoKU3kxi5+9RJTCWlj4FjYXVPEA==", + "version": "0.27.4", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.27.4.tgz", + "integrity": "sha512-tLCwNG47l3sd9lpfyx9LAGEGItCUeRCWeAx6x2Jmbav65nAwoPXfewtAdtbtit/pJFLUWOhpv0FpS6GQAmPrHA==", "cpu": [ "ppc64" ], @@ -641,9 +642,9 @@ } }, "node_modules/@esbuild/linux-riscv64": { - "version": "0.27.3", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.27.3.tgz", - "integrity": "sha512-3Emwh0r5wmfm3ssTWRQSyVhbOHvqegUDRd0WhmXKX2mkHJe1SFCMJhagUleMq+Uci34wLSipf8Lagt4LlpRFWQ==", + "version": "0.27.4", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.27.4.tgz", + "integrity": "sha512-BnASypppbUWyqjd1KIpU4AUBiIhVr6YlHx/cnPgqEkNoVOhHg+YiSVxM1RLfiy4t9cAulbRGTNCKOcqHrEQLIw==", "cpu": [ "riscv64" ], @@ -658,9 +659,9 @@ } }, "node_modules/@esbuild/linux-s390x": { - "version": "0.27.3", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.27.3.tgz", - "integrity": "sha512-pBHUx9LzXWBc7MFIEEL0yD/ZVtNgLytvx60gES28GcWMqil8ElCYR4kvbV2BDqsHOvVDRrOxGySBM9Fcv744hw==", + "version": "0.27.4", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.27.4.tgz", + "integrity": "sha512-+eUqgb/Z7vxVLezG8bVB9SfBie89gMueS+I0xYh2tJdw3vqA/0ImZJ2ROeWwVJN59ihBeZ7Tu92dF/5dy5FttA==", "cpu": [ "s390x" ], @@ -675,9 +676,9 @@ } }, "node_modules/@esbuild/linux-x64": { - "version": "0.27.3", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.27.3.tgz", - "integrity": "sha512-Czi8yzXUWIQYAtL/2y6vogER8pvcsOsk5cpwL4Gk5nJqH5UZiVByIY8Eorm5R13gq+DQKYg0+JyQoytLQas4dA==", + "version": "0.27.4", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.27.4.tgz", + "integrity": "sha512-S5qOXrKV8BQEzJPVxAwnryi2+Iq5pB40gTEIT69BQONqR7JH1EPIcQ/Uiv9mCnn05jff9umq/5nqzxlqTOg9NA==", "cpu": [ "x64" ], @@ -692,9 +693,9 @@ } }, "node_modules/@esbuild/netbsd-arm64": { - "version": "0.27.3", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.27.3.tgz", - "integrity": "sha512-sDpk0RgmTCR/5HguIZa9n9u+HVKf40fbEUt+iTzSnCaGvY9kFP0YKBWZtJaraonFnqef5SlJ8/TiPAxzyS+UoA==", + "version": "0.27.4", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.27.4.tgz", + "integrity": "sha512-xHT8X4sb0GS8qTqiwzHqpY00C95DPAq7nAwX35Ie/s+LO9830hrMd3oX0ZMKLvy7vsonee73x0lmcdOVXFzd6Q==", "cpu": [ "arm64" ], @@ -709,9 +710,9 @@ } }, "node_modules/@esbuild/netbsd-x64": { - "version": "0.27.3", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.27.3.tgz", - "integrity": "sha512-P14lFKJl/DdaE00LItAukUdZO5iqNH7+PjoBm+fLQjtxfcfFE20Xf5CrLsmZdq5LFFZzb5JMZ9grUwvtVYzjiA==", + "version": "0.27.4", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.27.4.tgz", + "integrity": "sha512-RugOvOdXfdyi5Tyv40kgQnI0byv66BFgAqjdgtAKqHoZTbTF2QqfQrFwa7cHEORJf6X2ht+l9ABLMP0dnKYsgg==", "cpu": [ "x64" ], @@ -726,9 +727,9 @@ } }, "node_modules/@esbuild/openbsd-arm64": { - "version": "0.27.3", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.27.3.tgz", - "integrity": "sha512-AIcMP77AvirGbRl/UZFTq5hjXK+2wC7qFRGoHSDrZ5v5b8DK/GYpXW3CPRL53NkvDqb9D+alBiC/dV0Fb7eJcw==", + "version": "0.27.4", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.27.4.tgz", + "integrity": "sha512-2MyL3IAaTX+1/qP0O1SwskwcwCoOI4kV2IBX1xYnDDqthmq5ArrW94qSIKCAuRraMgPOmG0RDTA74mzYNQA9ow==", "cpu": [ "arm64" ], @@ -743,9 +744,9 @@ } }, "node_modules/@esbuild/openbsd-x64": { - "version": "0.27.3", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.27.3.tgz", - "integrity": "sha512-DnW2sRrBzA+YnE70LKqnM3P+z8vehfJWHXECbwBmH/CU51z6FiqTQTHFenPlHmo3a8UgpLyH3PT+87OViOh1AQ==", + "version": "0.27.4", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.27.4.tgz", + "integrity": "sha512-u8fg/jQ5aQDfsnIV6+KwLOf1CmJnfu1ShpwqdwC0uA7ZPwFws55Ngc12vBdeUdnuWoQYx/SOQLGDcdlfXhYmXQ==", "cpu": [ "x64" ], @@ -760,9 +761,9 @@ } }, "node_modules/@esbuild/openharmony-arm64": { - "version": "0.27.3", - "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.27.3.tgz", - "integrity": "sha512-NinAEgr/etERPTsZJ7aEZQvvg/A6IsZG/LgZy+81wON2huV7SrK3e63dU0XhyZP4RKGyTm7aOgmQk0bGp0fy2g==", + "version": "0.27.4", + "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.27.4.tgz", + "integrity": "sha512-JkTZrl6VbyO8lDQO3yv26nNr2RM2yZzNrNHEsj9bm6dOwwu9OYN28CjzZkH57bh4w0I2F7IodpQvUAEd1mbWXg==", "cpu": [ "arm64" ], @@ -777,9 +778,9 @@ } }, "node_modules/@esbuild/sunos-x64": { - "version": "0.27.3", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.27.3.tgz", - "integrity": "sha512-PanZ+nEz+eWoBJ8/f8HKxTTD172SKwdXebZ0ndd953gt1HRBbhMsaNqjTyYLGLPdoWHy4zLU7bDVJztF5f3BHA==", + "version": "0.27.4", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.27.4.tgz", + "integrity": "sha512-/gOzgaewZJfeJTlsWhvUEmUG4tWEY2Spp5M20INYRg2ZKl9QPO3QEEgPeRtLjEWSW8FilRNacPOg8R1uaYkA6g==", "cpu": [ "x64" ], @@ -794,9 +795,9 @@ } }, "node_modules/@esbuild/win32-arm64": { - "version": "0.27.3", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.27.3.tgz", - "integrity": "sha512-B2t59lWWYrbRDw/tjiWOuzSsFh1Y/E95ofKz7rIVYSQkUYBjfSgf6oeYPNWHToFRr2zx52JKApIcAS/D5TUBnA==", + "version": "0.27.4", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.27.4.tgz", + "integrity": "sha512-Z9SExBg2y32smoDQdf1HRwHRt6vAHLXcxD2uGgO/v2jK7Y718Ix4ndsbNMU/+1Qiem9OiOdaqitioZwxivhXYg==", "cpu": [ "arm64" ], @@ -811,9 +812,9 @@ } }, "node_modules/@esbuild/win32-ia32": { - "version": "0.27.3", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.27.3.tgz", - "integrity": "sha512-QLKSFeXNS8+tHW7tZpMtjlNb7HKau0QDpwm49u0vUp9y1WOF+PEzkU84y9GqYaAVW8aH8f3GcBck26jh54cX4Q==", + "version": "0.27.4", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.27.4.tgz", + "integrity": "sha512-DAyGLS0Jz5G5iixEbMHi5KdiApqHBWMGzTtMiJ72ZOLhbu/bzxgAe8Ue8CTS3n3HbIUHQz/L51yMdGMeoxXNJw==", "cpu": [ "ia32" ], @@ -828,9 +829,9 @@ } }, "node_modules/@esbuild/win32-x64": { - "version": "0.27.3", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.27.3.tgz", - "integrity": "sha512-4uJGhsxuptu3OcpVAzli+/gWusVGwZZHTlS63hh++ehExkVT8SgiEf7/uC/PclrPPkLhZqGgCTjd0VWLo6xMqA==", + "version": "0.27.4", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.27.4.tgz", + "integrity": "sha512-+knoa0BDoeXgkNvvV1vvbZX4+hizelrkwmGJBdT17t8FNPwG2lKemmuMZlmaNQ3ws3DKKCxpb4zRZEIp3UxFCg==", "cpu": [ "x64" ], @@ -876,13 +877,13 @@ } }, "node_modules/@types/node": { - "version": "20.19.37", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.19.37.tgz", - "integrity": "sha512-8kzdPJ3FsNsVIurqBs7oodNnCEVbni9yUEkaHbgptDACOPW04jimGagZ51E6+lXUwJjgnBw+hyko/lkFWCldqw==", + "version": "24.12.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-24.12.0.tgz", + "integrity": "sha512-GYDxsZi3ChgmckRT9HPU0WEhKLP08ev/Yfcq2AstjrDASOYCSXeyjDsHg4v5t4jOj7cyDX3vmprafKlWIG9MXQ==", "dev": true, "license": "MIT", "dependencies": { - "undici-types": "~6.21.0" + "undici-types": "~7.16.0" } }, "node_modules/@typespec/ts-http-runtime": { @@ -1184,9 +1185,9 @@ } }, "node_modules/esbuild": { - "version": "0.27.3", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.27.3.tgz", - "integrity": "sha512-8VwMnyGCONIs6cWue2IdpHxHnAjzxnw2Zr7MkVxB2vjmQ2ivqGFb4LEG3SMnv0Gb2F/G/2yA8zUaiL1gywDCCg==", + "version": "0.27.4", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.27.4.tgz", + "integrity": "sha512-Rq4vbHnYkK5fws5NF7MYTU68FPRE1ajX7heQ/8QXXWqNgqqJ/GkmmyxIzUnf2Sr/bakf8l54716CcMGHYhMrrQ==", "dev": true, "hasInstallScript": true, "license": "MIT", @@ -1197,32 +1198,32 @@ "node": ">=18" }, "optionalDependencies": { - "@esbuild/aix-ppc64": "0.27.3", - "@esbuild/android-arm": "0.27.3", - "@esbuild/android-arm64": "0.27.3", - "@esbuild/android-x64": "0.27.3", - "@esbuild/darwin-arm64": "0.27.3", - "@esbuild/darwin-x64": "0.27.3", - "@esbuild/freebsd-arm64": "0.27.3", - "@esbuild/freebsd-x64": "0.27.3", - "@esbuild/linux-arm": "0.27.3", - "@esbuild/linux-arm64": "0.27.3", - "@esbuild/linux-ia32": "0.27.3", - "@esbuild/linux-loong64": "0.27.3", - "@esbuild/linux-mips64el": "0.27.3", - "@esbuild/linux-ppc64": "0.27.3", - "@esbuild/linux-riscv64": "0.27.3", - "@esbuild/linux-s390x": "0.27.3", - "@esbuild/linux-x64": "0.27.3", - "@esbuild/netbsd-arm64": "0.27.3", - "@esbuild/netbsd-x64": "0.27.3", - "@esbuild/openbsd-arm64": "0.27.3", - "@esbuild/openbsd-x64": "0.27.3", - "@esbuild/openharmony-arm64": "0.27.3", - "@esbuild/sunos-x64": "0.27.3", - "@esbuild/win32-arm64": "0.27.3", - "@esbuild/win32-ia32": "0.27.3", - "@esbuild/win32-x64": "0.27.3" + "@esbuild/aix-ppc64": "0.27.4", + "@esbuild/android-arm": "0.27.4", + "@esbuild/android-arm64": "0.27.4", + "@esbuild/android-x64": "0.27.4", + "@esbuild/darwin-arm64": "0.27.4", + "@esbuild/darwin-x64": "0.27.4", + "@esbuild/freebsd-arm64": "0.27.4", + "@esbuild/freebsd-x64": "0.27.4", + "@esbuild/linux-arm": "0.27.4", + "@esbuild/linux-arm64": "0.27.4", + "@esbuild/linux-ia32": "0.27.4", + "@esbuild/linux-loong64": "0.27.4", + "@esbuild/linux-mips64el": "0.27.4", + "@esbuild/linux-ppc64": "0.27.4", + "@esbuild/linux-riscv64": "0.27.4", + "@esbuild/linux-s390x": "0.27.4", + "@esbuild/linux-x64": "0.27.4", + "@esbuild/netbsd-arm64": "0.27.4", + "@esbuild/netbsd-x64": "0.27.4", + "@esbuild/openbsd-arm64": "0.27.4", + "@esbuild/openbsd-x64": "0.27.4", + "@esbuild/openharmony-arm64": "0.27.4", + "@esbuild/sunos-x64": "0.27.4", + "@esbuild/win32-arm64": "0.27.4", + "@esbuild/win32-ia32": "0.27.4", + "@esbuild/win32-x64": "0.27.4" } }, "node_modules/events": { @@ -1235,21 +1236,24 @@ } }, "node_modules/fast-xml-builder": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fast-xml-builder/-/fast-xml-builder-1.0.0.tgz", - "integrity": "sha512-fpZuDogrAgnyt9oDDz+5DBz0zgPdPZz6D4IR7iESxRXElrlGTRkHJ9eEt+SACRJwT0FNFrt71DFQIUFBJfX/uQ==", + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/fast-xml-builder/-/fast-xml-builder-1.1.3.tgz", + "integrity": "sha512-1o60KoFw2+LWKQu3IdcfcFlGTW4dpqEWmjhYec6H82AYZU2TVBXep6tMl8Z1Y+wM+ZrzCwe3BZ9Vyd9N2rIvmg==", "funding": [ { "type": "github", "url": "https://github.com/sponsors/NaturalIntelligence" } ], - "license": "MIT" + "license": "MIT", + "dependencies": { + "path-expression-matcher": "^1.1.3" + } }, "node_modules/fast-xml-parser": { - "version": "5.4.2", - "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.4.2.tgz", - "integrity": "sha512-pw/6pIl4k0CSpElPEJhDppLzaixDEuWui2CUQQBH/ECDf7+y6YwA4Gf7Tyb0Rfe4DIMuZipYj4AEL0nACKglvQ==", + "version": "5.5.5", + "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.5.5.tgz", + "integrity": "sha512-NLY+V5NNbdmiEszx9n14mZBseJTC50bRq1VHsaxOmR72JDuZt+5J1Co+dC/4JPnyq+WrIHNM69r0sqf7BMb3Mg==", "funding": [ { "type": "github", @@ -1258,7 +1262,8 @@ ], "license": "MIT", "dependencies": { - "fast-xml-builder": "^1.0.0", + "fast-xml-builder": "^1.1.3", + "path-expression-matcher": "^1.1.3", "strnum": "^2.1.2" }, "bin": { @@ -1684,6 +1689,21 @@ "node": ">=10" } }, + "node_modules/path-expression-matcher": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/path-expression-matcher/-/path-expression-matcher-1.1.3.tgz", + "integrity": "sha512-qdVgY8KXmVdJZRSS1JdEPOKPdTiEK/pi0RkcT2sw1RhXxohdujUlJFPuS1TSkevZ9vzd3ZlL7ULl1MHGTApKzQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/NaturalIntelligence" + } + ], + "license": "MIT", + "engines": { + "node": ">=14.0.0" + } + }, "node_modules/path-key": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", @@ -1861,18 +1881,18 @@ } }, "node_modules/undici": { - "version": "6.23.0", - "resolved": "https://registry.npmjs.org/undici/-/undici-6.23.0.tgz", - "integrity": "sha512-VfQPToRA5FZs/qJxLIinmU59u0r7LXqoJkCzinq3ckNJp3vKEh7jTWN589YQ5+aoAC/TGRLyJLCPKcLQbM8r9g==", + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/undici/-/undici-6.24.1.tgz", + "integrity": "sha512-sC+b0tB1whOCzbtlx20fx3WgCXwkW627p4EA9uM+/tNNPkSS+eSEld6pAs9nDv7WbY1UUljBMYPtu9BCOrCWKA==", "license": "MIT", "engines": { "node": ">=18.17" } }, "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==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.16.0.tgz", + "integrity": "sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==", "dev": true, "license": "MIT" }, From 7d54eafe0efed7a30f81f4ba6717e98e3dc6096d Mon Sep 17 00:00:00 2001 From: tcely Date: Sat, 14 Mar 2026 20:31:53 -0400 Subject: [PATCH 47/48] bun run build --- dist/cache-save/index.js | 166 ++++++++++++++-------------- dist/setup/index.js | 230 +++++++++++++++++++++++---------------- 2 files changed, 217 insertions(+), 179 deletions(-) diff --git a/dist/cache-save/index.js b/dist/cache-save/index.js index ff8183ba..7d2719c4 100644 --- a/dist/cache-save/index.js +++ b/dist/cache-save/index.js @@ -1,118 +1,116 @@ -var k8=Object.create;var _l=Object.defineProperty;var L8=Object.getOwnPropertyDescriptor;var F8=Object.getOwnPropertyNames;var U8=Object.getPrototypeOf,q8=Object.prototype.hasOwnProperty;var o=(t,e)=>_l(t,"name",{value:e,configurable:!0});var Wu=(t,e)=>()=>(t&&(e=t(t=0)),e);var h=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Ku=(t,e)=>{for(var r in e)_l(t,r,{get:e[r],enumerable:!0})},qv=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of F8(e))!q8.call(t,i)&&i!==r&&_l(t,i,{get:()=>e[i],enumerable:!(n=L8(e,i))||n.enumerable});return t};var Uy=(t,e,r)=>(r=t!=null?k8(U8(t)):{},qv(e||!t||!t.__esModule?_l(r,"default",{value:t,enumerable:!0}):r,t)),Wt=t=>qv(_l({},"__esModule",{value:!0}),t);var Xu=h($u=>{"use strict";Object.defineProperty($u,"__esModule",{value:!0});$u.toCommandValue=H8;$u.toCommandProperties=z8;function H8(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(H8,"toCommandValue");function z8(t){return Object.keys(t).length?{title:t.title,file:t.file,line:t.startLine,endLine:t.endLine,col:t.startColumn,endColumn:t.endColumn}:{}}o(z8,"toCommandProperties")});var Gv=h($n=>{"use strict";var j8=$n&&$n.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),G8=$n&&$n.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),Y8=$n&&$n.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i0){e+=" ";let r=!0;for(let n in this.properties)if(this.properties.hasOwnProperty(n)){let i=this.properties[n];i&&(r?r=!1:e+=",",e+=`${n}=${K8(i)}`)}}return e+=`${Hv}${W8(this.message)}`,e}};function W8(t){return(0,zv.toCommandValue)(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(W8,"escapeData");function K8(t){return(0,zv.toCommandValue)(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(K8,"escapeProperty")});var Vv=h(Xn=>{"use strict";var $8=Xn&&Xn.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),X8=Xn&&Xn.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),zy=Xn&&Xn.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i{"use strict";Object.defineProperty(ed,"__esModule",{value:!0});ed.getProxyUrl=r4;ed.checkBypass=Wv;function r4(t){let e=t.protocol==="https:";if(Wv(t))return;let r=e?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY;if(r)try{return new Zu(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new Zu(`http://${r}`)}else return}o(r4,"getProxyUrl");function Wv(t){if(!t.hostname)return!1;let e=t.hostname;if(n4(e))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let n;t.port?n=Number(t.port):t.protocol==="http:"?n=80:t.protocol==="https:"&&(n=443);let i=[t.hostname.toUpperCase()];typeof n=="number"&&i.push(`${i[0]}:${n}`);for(let s of r.split(",").map(a=>a.trim().toUpperCase()).filter(a=>a))if(s==="*"||i.some(a=>a===s||a.endsWith(`.${s}`)||s.startsWith(".")&&a.endsWith(`${s}`)))return!0;return!1}o(Wv,"checkBypass");function n4(t){let e=t.toLowerCase();return e==="localhost"||e.startsWith("127.")||e.startsWith("[::1]")||e.startsWith("[0:0:0:0:0:0:0:1]")}o(n4,"isLoopbackAddress");var Zu=class extends URL{static{o(this,"DecodedURL")}constructor(e,r){super(e,r),this._decodedUsername=decodeURIComponent(super.username),this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}}});var eR=h(oa=>{"use strict";var aUe=require("net"),i4=require("tls"),jy=require("http"),$v=require("https"),s4=require("events"),cUe=require("assert"),o4=require("util");oa.httpOverHttp=a4;oa.httpsOverHttp=c4;oa.httpOverHttps=l4;oa.httpsOverHttps=A4;function a4(t){var e=new Ti(t);return e.request=jy.request,e}o(a4,"httpOverHttp");function c4(t){var e=new Ti(t);return e.request=jy.request,e.createSocket=Xv,e.defaultPort=443,e}o(c4,"httpsOverHttp");function l4(t){var e=new Ti(t);return e.request=$v.request,e}o(l4,"httpOverHttps");function A4(t){var e=new Ti(t);return e.request=$v.request,e.createSocket=Xv,e.defaultPort=443,e}o(A4,"httpsOverHttps");function Ti(t){var e=this;e.options=t||{},e.proxyOptions=e.options.proxy||{},e.maxSockets=e.options.maxSockets||jy.Agent.defaultMaxSockets,e.requests=[],e.sockets=[],e.on("free",o(function(n,i,s,a){for(var c=Zv(i,s,a),l=0,A=e.requests.length;l=this.maxSockets){s.requests.push(a);return}s.createSocket(a,function(c){c.on("free",l),c.on("close",A),c.on("agentRemove",A),e.onSocket(c);function l(){s.emit("free",c,a)}o(l,"onFree");function A(u){s.removeSocket(c),c.removeListener("free",l),c.removeListener("close",A),c.removeListener("agentRemove",A)}o(A,"onCloseOrRemove")})},"addRequest");Ti.prototype.createSocket=o(function(e,r){var n=this,i={};n.sockets.push(i);var s=Gy({},n.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1,headers:{host:e.host+":"+e.port}});e.localAddress&&(s.localAddress=e.localAddress),s.proxyAuth&&(s.headers=s.headers||{},s.headers["Proxy-Authorization"]="Basic "+new Buffer(s.proxyAuth).toString("base64")),as("making CONNECT request");var a=n.request(s);a.useChunkedEncodingByDefault=!1,a.once("response",c),a.once("upgrade",l),a.once("connect",A),a.once("error",u),a.end();function c(d){d.upgrade=!0}o(c,"onResponse");function l(d,g,f){process.nextTick(function(){A(d,g,f)})}o(l,"onUpgrade");function A(d,g,f){if(a.removeAllListeners(),g.removeAllListeners(),d.statusCode!==200){as("tunneling socket could not be established, statusCode=%d",d.statusCode),g.destroy();var C=new Error("tunneling socket could not be established, statusCode="+d.statusCode);C.code="ECONNRESET",e.request.emit("error",C),n.removeSocket(i);return}if(f.length>0){as("got illegal response body from proxy"),g.destroy();var C=new Error("got illegal response body from proxy");C.code="ECONNRESET",e.request.emit("error",C),n.removeSocket(i);return}return as("tunneling connection has established"),n.sockets[n.sockets.indexOf(i)]=g,r(g)}o(A,"onConnect");function u(d){a.removeAllListeners(),as(`tunneling socket could not be established, cause=%s -`,d.message,d.stack);var g=new Error("tunneling socket could not be established, cause="+d.message);g.code="ECONNRESET",e.request.emit("error",g),n.removeSocket(i)}o(u,"onError")},"createSocket");Ti.prototype.removeSocket=o(function(e){var r=this.sockets.indexOf(e);if(r!==-1){this.sockets.splice(r,1);var n=this.requests.shift();n&&this.createSocket(n,function(i){n.request.onSocket(i)})}},"removeSocket");function Xv(t,e){var r=this;Ti.prototype.createSocket.call(r,t,function(n){var i=t.request.getHeader("host"),s=Gy({},r.options,{socket:n,servername:i?i.replace(/:.*$/,""):t.host}),a=i4.connect(0,s);r.sockets[r.sockets.indexOf(n)]=a,e(a)})}o(Xv,"createSecureSocket");function Zv(t,e,r){return typeof t=="string"?{host:t,port:e,localAddress:r}:t}o(Zv,"toOptions");function Gy(t){for(var e=1,r=arguments.length;e{tR.exports=eR()});var tt=h((dUe,nR)=>{nR.exports={kClose:Symbol("close"),kDestroy:Symbol("destroy"),kDispatch:Symbol("dispatch"),kUrl:Symbol("url"),kWriting:Symbol("writing"),kResuming:Symbol("resuming"),kQueue:Symbol("queue"),kConnect:Symbol("connect"),kConnecting:Symbol("connecting"),kKeepAliveDefaultTimeout:Symbol("default keep alive timeout"),kKeepAliveMaxTimeout:Symbol("max keep alive timeout"),kKeepAliveTimeoutThreshold:Symbol("keep alive timeout threshold"),kKeepAliveTimeoutValue:Symbol("keep alive timeout"),kKeepAlive:Symbol("keep alive"),kHeadersTimeout:Symbol("headers timeout"),kBodyTimeout:Symbol("body timeout"),kServerName:Symbol("server name"),kLocalAddress:Symbol("local address"),kHost:Symbol("host"),kNoRef:Symbol("no ref"),kBodyUsed:Symbol("used"),kBody:Symbol("abstracted request body"),kRunning:Symbol("running"),kBlocking:Symbol("blocking"),kPending:Symbol("pending"),kSize:Symbol("size"),kBusy:Symbol("busy"),kQueued:Symbol("queued"),kFree:Symbol("free"),kConnected:Symbol("connected"),kClosed:Symbol("closed"),kNeedDrain:Symbol("need drain"),kReset:Symbol("reset"),kDestroyed:Symbol.for("nodejs.stream.destroyed"),kResume:Symbol("resume"),kOnError:Symbol("on error"),kMaxHeadersSize:Symbol("max headers size"),kRunningIdx:Symbol("running index"),kPendingIdx:Symbol("pending index"),kError:Symbol("error"),kClients:Symbol("clients"),kClient:Symbol("client"),kParser:Symbol("parser"),kOnDestroyed:Symbol("destroy callbacks"),kPipelining:Symbol("pipelining"),kSocket:Symbol("socket"),kHostHeader:Symbol("host header"),kConnector:Symbol("connector"),kStrictContentLength:Symbol("strict content length"),kMaxRedirections:Symbol("maxRedirections"),kMaxRequests:Symbol("maxRequestsPerClient"),kProxy:Symbol("proxy agent options"),kCounter:Symbol("socket request counter"),kInterceptors:Symbol("dispatch interceptors"),kMaxResponseSize:Symbol("max response size"),kHTTP2Session:Symbol("http2Session"),kHTTP2SessionState:Symbol("http2Session state"),kRetryHandlerDefaultRetry:Symbol("retry agent default retry"),kConstruct:Symbol("constructable"),kListeners:Symbol("listeners"),kHTTPContext:Symbol("http context"),kMaxConcurrentStreams:Symbol("max concurrent streams"),kNoProxyAgent:Symbol("no proxy agent"),kHttpProxyAgent:Symbol("http proxy agent"),kHttpsProxyAgent:Symbol("https proxy agent")}});var _e=h((pUe,SR)=>{"use strict";var iR=Symbol.for("undici.error.UND_ERR"),ct=class extends Error{static{o(this,"UndiciError")}constructor(e){super(e),this.name="UndiciError",this.code="UND_ERR"}static[Symbol.hasInstance](e){return e&&e[iR]===!0}[iR]=!0},sR=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT"),Yy=class extends ct{static{o(this,"ConnectTimeoutError")}constructor(e){super(e),this.name="ConnectTimeoutError",this.message=e||"Connect Timeout Error",this.code="UND_ERR_CONNECT_TIMEOUT"}static[Symbol.hasInstance](e){return e&&e[sR]===!0}[sR]=!0},oR=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT"),Jy=class extends ct{static{o(this,"HeadersTimeoutError")}constructor(e){super(e),this.name="HeadersTimeoutError",this.message=e||"Headers Timeout Error",this.code="UND_ERR_HEADERS_TIMEOUT"}static[Symbol.hasInstance](e){return e&&e[oR]===!0}[oR]=!0},aR=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW"),Vy=class extends ct{static{o(this,"HeadersOverflowError")}constructor(e){super(e),this.name="HeadersOverflowError",this.message=e||"Headers Overflow Error",this.code="UND_ERR_HEADERS_OVERFLOW"}static[Symbol.hasInstance](e){return e&&e[aR]===!0}[aR]=!0},cR=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT"),Wy=class extends ct{static{o(this,"BodyTimeoutError")}constructor(e){super(e),this.name="BodyTimeoutError",this.message=e||"Body Timeout Error",this.code="UND_ERR_BODY_TIMEOUT"}static[Symbol.hasInstance](e){return e&&e[cR]===!0}[cR]=!0},lR=Symbol.for("undici.error.UND_ERR_RESPONSE_STATUS_CODE"),Ky=class extends ct{static{o(this,"ResponseStatusCodeError")}constructor(e,r,n,i){super(e),this.name="ResponseStatusCodeError",this.message=e||"Response Status Code Error",this.code="UND_ERR_RESPONSE_STATUS_CODE",this.body=i,this.status=r,this.statusCode=r,this.headers=n}static[Symbol.hasInstance](e){return e&&e[lR]===!0}[lR]=!0},AR=Symbol.for("undici.error.UND_ERR_INVALID_ARG"),$y=class extends ct{static{o(this,"InvalidArgumentError")}constructor(e){super(e),this.name="InvalidArgumentError",this.message=e||"Invalid Argument Error",this.code="UND_ERR_INVALID_ARG"}static[Symbol.hasInstance](e){return e&&e[AR]===!0}[AR]=!0},uR=Symbol.for("undici.error.UND_ERR_INVALID_RETURN_VALUE"),Xy=class extends ct{static{o(this,"InvalidReturnValueError")}constructor(e){super(e),this.name="InvalidReturnValueError",this.message=e||"Invalid Return Value Error",this.code="UND_ERR_INVALID_RETURN_VALUE"}static[Symbol.hasInstance](e){return e&&e[uR]===!0}[uR]=!0},dR=Symbol.for("undici.error.UND_ERR_ABORT"),td=class extends ct{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError",this.message=e||"The operation was aborted",this.code="UND_ERR_ABORT"}static[Symbol.hasInstance](e){return e&&e[dR]===!0}[dR]=!0},pR=Symbol.for("undici.error.UND_ERR_ABORTED"),Zy=class extends td{static{o(this,"RequestAbortedError")}constructor(e){super(e),this.name="AbortError",this.message=e||"Request aborted",this.code="UND_ERR_ABORTED"}static[Symbol.hasInstance](e){return e&&e[pR]===!0}[pR]=!0},mR=Symbol.for("undici.error.UND_ERR_INFO"),eC=class extends ct{static{o(this,"InformationalError")}constructor(e){super(e),this.name="InformationalError",this.message=e||"Request information",this.code="UND_ERR_INFO"}static[Symbol.hasInstance](e){return e&&e[mR]===!0}[mR]=!0},gR=Symbol.for("undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"),tC=class extends ct{static{o(this,"RequestContentLengthMismatchError")}constructor(e){super(e),this.name="RequestContentLengthMismatchError",this.message=e||"Request body length does not match content-length header",this.code="UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](e){return e&&e[gR]===!0}[gR]=!0},fR=Symbol.for("undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH"),rC=class extends ct{static{o(this,"ResponseContentLengthMismatchError")}constructor(e){super(e),this.name="ResponseContentLengthMismatchError",this.message=e||"Response body length does not match content-length header",this.code="UND_ERR_RES_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](e){return e&&e[fR]===!0}[fR]=!0},hR=Symbol.for("undici.error.UND_ERR_DESTROYED"),nC=class extends ct{static{o(this,"ClientDestroyedError")}constructor(e){super(e),this.name="ClientDestroyedError",this.message=e||"The client is destroyed",this.code="UND_ERR_DESTROYED"}static[Symbol.hasInstance](e){return e&&e[hR]===!0}[hR]=!0},yR=Symbol.for("undici.error.UND_ERR_CLOSED"),iC=class extends ct{static{o(this,"ClientClosedError")}constructor(e){super(e),this.name="ClientClosedError",this.message=e||"The client is closed",this.code="UND_ERR_CLOSED"}static[Symbol.hasInstance](e){return e&&e[yR]===!0}[yR]=!0},CR=Symbol.for("undici.error.UND_ERR_SOCKET"),sC=class extends ct{static{o(this,"SocketError")}constructor(e,r){super(e),this.name="SocketError",this.message=e||"Socket error",this.code="UND_ERR_SOCKET",this.socket=r}static[Symbol.hasInstance](e){return e&&e[CR]===!0}[CR]=!0},ER=Symbol.for("undici.error.UND_ERR_NOT_SUPPORTED"),oC=class extends ct{static{o(this,"NotSupportedError")}constructor(e){super(e),this.name="NotSupportedError",this.message=e||"Not supported error",this.code="UND_ERR_NOT_SUPPORTED"}static[Symbol.hasInstance](e){return e&&e[ER]===!0}[ER]=!0},BR=Symbol.for("undici.error.UND_ERR_BPL_MISSING_UPSTREAM"),aC=class extends ct{static{o(this,"BalancedPoolMissingUpstreamError")}constructor(e){super(e),this.name="MissingUpstreamError",this.message=e||"No upstream has been added to the BalancedPool",this.code="UND_ERR_BPL_MISSING_UPSTREAM"}static[Symbol.hasInstance](e){return e&&e[BR]===!0}[BR]=!0},IR=Symbol.for("undici.error.UND_ERR_HTTP_PARSER"),cC=class extends Error{static{o(this,"HTTPParserError")}constructor(e,r,n){super(e),this.name="HTTPParserError",this.code=r?`HPE_${r}`:void 0,this.data=n?n.toString():void 0}static[Symbol.hasInstance](e){return e&&e[IR]===!0}[IR]=!0},bR=Symbol.for("undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE"),lC=class extends ct{static{o(this,"ResponseExceededMaxSizeError")}constructor(e){super(e),this.name="ResponseExceededMaxSizeError",this.message=e||"Response content exceeded max size",this.code="UND_ERR_RES_EXCEEDED_MAX_SIZE"}static[Symbol.hasInstance](e){return e&&e[bR]===!0}[bR]=!0},QR=Symbol.for("undici.error.UND_ERR_REQ_RETRY"),AC=class extends ct{static{o(this,"RequestRetryError")}constructor(e,r,{headers:n,data:i}){super(e),this.name="RequestRetryError",this.message=e||"Request retry error",this.code="UND_ERR_REQ_RETRY",this.statusCode=r,this.data=i,this.headers=n}static[Symbol.hasInstance](e){return e&&e[QR]===!0}[QR]=!0},wR=Symbol.for("undici.error.UND_ERR_RESPONSE"),uC=class extends ct{static{o(this,"ResponseError")}constructor(e,r,{headers:n,data:i}){super(e),this.name="ResponseError",this.message=e||"Response error",this.code="UND_ERR_RESPONSE",this.statusCode=r,this.data=i,this.headers=n}static[Symbol.hasInstance](e){return e&&e[wR]===!0}[wR]=!0},NR=Symbol.for("undici.error.UND_ERR_PRX_TLS"),dC=class extends ct{static{o(this,"SecureProxyConnectionError")}constructor(e,r,n){super(r,{cause:e,...n??{}}),this.name="SecureProxyConnectionError",this.message=r||"Secure Proxy Connection failed",this.code="UND_ERR_PRX_TLS",this.cause=e}static[Symbol.hasInstance](e){return e&&e[NR]===!0}[NR]=!0};SR.exports={AbortError:td,HTTPParserError:cC,UndiciError:ct,HeadersTimeoutError:Jy,HeadersOverflowError:Vy,BodyTimeoutError:Wy,RequestContentLengthMismatchError:tC,ConnectTimeoutError:Yy,ResponseStatusCodeError:Ky,InvalidArgumentError:$y,InvalidReturnValueError:Xy,RequestAbortedError:Zy,ClientDestroyedError:nC,ClientClosedError:iC,InformationalError:eC,SocketError:sC,NotSupportedError:oC,ResponseContentLengthMismatchError:rC,BalancedPoolMissingUpstreamError:aC,ResponseExceededMaxSizeError:lC,RequestRetryError:AC,ResponseError:uC,SecureProxyConnectionError:dC}});var nd=h((gUe,xR)=>{"use strict";var rd={},pC=["Accept","Accept-Encoding","Accept-Language","Accept-Ranges","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Age","Allow","Alt-Svc","Alt-Used","Authorization","Cache-Control","Clear-Site-Data","Connection","Content-Disposition","Content-Encoding","Content-Language","Content-Length","Content-Location","Content-Range","Content-Security-Policy","Content-Security-Policy-Report-Only","Content-Type","Cookie","Cross-Origin-Embedder-Policy","Cross-Origin-Opener-Policy","Cross-Origin-Resource-Policy","Date","Device-Memory","Downlink","ECT","ETag","Expect","Expect-CT","Expires","Forwarded","From","Host","If-Match","If-Modified-Since","If-None-Match","If-Range","If-Unmodified-Since","Keep-Alive","Last-Modified","Link","Location","Max-Forwards","Origin","Permissions-Policy","Pragma","Proxy-Authenticate","Proxy-Authorization","RTT","Range","Referer","Referrer-Policy","Refresh","Retry-After","Sec-WebSocket-Accept","Sec-WebSocket-Extensions","Sec-WebSocket-Key","Sec-WebSocket-Protocol","Sec-WebSocket-Version","Server","Server-Timing","Service-Worker-Allowed","Service-Worker-Navigation-Preload","Set-Cookie","SourceMap","Strict-Transport-Security","Supports-Loading-Mode","TE","Timing-Allow-Origin","Trailer","Transfer-Encoding","Upgrade","Upgrade-Insecure-Requests","User-Agent","Vary","Via","WWW-Authenticate","X-Content-Type-Options","X-DNS-Prefetch-Control","X-Frame-Options","X-Permitted-Cross-Domain-Policies","X-Powered-By","X-Requested-With","X-XSS-Protection"];for(let t=0;t{"use strict";var{wellknownHeaderNames:vR,headerNameLowerCasedRecord:u4}=nd(),mC=class t{static{o(this,"TstNode")}value=null;left=null;middle=null;right=null;code;constructor(e,r,n){if(n===void 0||n>=e.length)throw new TypeError("Unreachable");if((this.code=e.charCodeAt(n))>127)throw new TypeError("key must be ascii string");e.length!==++n?this.middle=new t(e,r,n):this.value=r}add(e,r){let n=e.length;if(n===0)throw new TypeError("Unreachable");let i=0,s=this;for(;;){let a=e.charCodeAt(i);if(a>127)throw new TypeError("key must be ascii string");if(s.code===a)if(n===++i){s.value=r;break}else if(s.middle!==null)s=s.middle;else{s.middle=new t(e,r,i);break}else if(s.code=65&&(s|=32);i!==null;){if(s===i.code){if(r===++n)return i;i=i.middle;break}i=i.code{"use strict";var Pl=require("node:assert"),{kDestroyed:TR,kBodyUsed:aa,kListeners:gC,kBody:DR}=tt(),{IncomingMessage:d4}=require("node:http"),ad=require("node:stream"),p4=require("node:net"),{Blob:m4}=require("node:buffer"),g4=require("node:util"),{stringify:f4}=require("node:querystring"),{EventEmitter:h4}=require("node:events"),{InvalidArgumentError:kt}=_e(),{headerNameLowerCasedRecord:y4}=nd(),{tree:OR}=PR(),[C4,E4]=process.versions.node.split(".").map(t=>Number(t)),od=class{static{o(this,"BodyAsyncIterable")}constructor(e){this[DR]=e,this[aa]=!1}async*[Symbol.asyncIterator](){Pl(!this[aa],"disturbed"),this[aa]=!0,yield*this[DR]}};function B4(t){return cd(t)?(UR(t)===0&&t.on("data",function(){Pl(!1)}),typeof t.readableDidRead!="boolean"&&(t[aa]=!1,h4.prototype.on.call(t,"data",function(){this[aa]=!0})),t):t&&typeof t.pipeTo=="function"?new od(t):t&&typeof t!="string"&&!ArrayBuffer.isView(t)&&FR(t)?new od(t):t}o(B4,"wrapRequestBody");function I4(){}o(I4,"nop");function cd(t){return t&&typeof t=="object"&&typeof t.pipe=="function"&&typeof t.on=="function"}o(cd,"isStream");function MR(t){if(t===null)return!1;if(t instanceof m4)return!0;if(typeof t!="object")return!1;{let e=t[Symbol.toStringTag];return(e==="Blob"||e==="File")&&("stream"in t&&typeof t.stream=="function"||"arrayBuffer"in t&&typeof t.arrayBuffer=="function")}}o(MR,"isBlobLike");function b4(t,e){if(t.includes("?")||t.includes("#"))throw new Error('Query params cannot be passed when url already contains "?" or "#".');let r=f4(e);return r&&(t+="?"+r),t}o(b4,"buildURL");function kR(t){let e=parseInt(t,10);return e===Number(t)&&e>=0&&e<=65535}o(kR,"isValidPort");function sd(t){return t!=null&&t[0]==="h"&&t[1]==="t"&&t[2]==="t"&&t[3]==="p"&&(t[4]===":"||t[4]==="s"&&t[5]===":")}o(sd,"isHttpOrHttpsPrefixed");function LR(t){if(typeof t=="string"){if(t=new URL(t),!sd(t.origin||t.protocol))throw new kt("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}if(!t||typeof t!="object")throw new kt("Invalid URL: The URL argument must be a non-null object.");if(!(t instanceof URL)){if(t.port!=null&&t.port!==""&&kR(t.port)===!1)throw new kt("Invalid URL: port must be a valid integer or a string representation of an integer.");if(t.path!=null&&typeof t.path!="string")throw new kt("Invalid URL path: the path must be a string or null/undefined.");if(t.pathname!=null&&typeof t.pathname!="string")throw new kt("Invalid URL pathname: the pathname must be a string or null/undefined.");if(t.hostname!=null&&typeof t.hostname!="string")throw new kt("Invalid URL hostname: the hostname must be a string or null/undefined.");if(t.origin!=null&&typeof t.origin!="string")throw new kt("Invalid URL origin: the origin must be a string or null/undefined.");if(!sd(t.origin||t.protocol))throw new kt("Invalid URL protocol: the URL must start with `http:` or `https:`.");let e=t.port!=null?t.port:t.protocol==="https:"?443:80,r=t.origin!=null?t.origin:`${t.protocol||""}//${t.hostname||""}:${e}`,n=t.path!=null?t.path:`${t.pathname||""}${t.search||""}`;return r[r.length-1]==="/"&&(r=r.slice(0,r.length-1)),n&&n[0]!=="/"&&(n=`/${n}`),new URL(`${r}${n}`)}if(!sd(t.origin||t.protocol))throw new kt("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}o(LR,"parseURL");function Q4(t){if(t=LR(t),t.pathname!=="/"||t.search||t.hash)throw new kt("invalid url");return t}o(Q4,"parseOrigin");function w4(t){if(t[0]==="["){let r=t.indexOf("]");return Pl(r!==-1),t.substring(1,r)}let e=t.indexOf(":");return e===-1?t:t.substring(0,e)}o(w4,"getHostname");function N4(t){if(!t)return null;Pl(typeof t=="string");let e=w4(t);return p4.isIP(e)?"":e}o(N4,"getServerName");function S4(t){return JSON.parse(JSON.stringify(t))}o(S4,"deepClone");function x4(t){return t!=null&&typeof t[Symbol.asyncIterator]=="function"}o(x4,"isAsyncIterable");function FR(t){return t!=null&&(typeof t[Symbol.iterator]=="function"||typeof t[Symbol.asyncIterator]=="function")}o(FR,"isIterable");function UR(t){if(t==null)return 0;if(cd(t)){let e=t._readableState;return e&&e.objectMode===!1&&e.ended===!0&&Number.isFinite(e.length)?e.length:null}else{if(MR(t))return t.size!=null?t.size:null;if(zR(t))return t.byteLength}return null}o(UR,"bodyLength");function qR(t){return t&&!!(t.destroyed||t[TR]||ad.isDestroyed?.(t))}o(qR,"isDestroyed");function v4(t,e){t==null||!cd(t)||qR(t)||(typeof t.destroy=="function"?(Object.getPrototypeOf(t).constructor===d4&&(t.socket=null),t.destroy(e)):e&&queueMicrotask(()=>{t.emit("error",e)}),t.destroyed!==!0&&(t[TR]=!0))}o(v4,"destroy");var R4=/timeout=(\d+)/;function _4(t){let e=t.toString().match(R4);return e?parseInt(e[1],10)*1e3:null}o(_4,"parseKeepAliveTimeout");function HR(t){return typeof t=="string"?y4[t]??t.toLowerCase():OR.lookup(t)??t.toString("latin1").toLowerCase()}o(HR,"headerNameToString");function P4(t){return OR.lookup(t)??t.toString("latin1").toLowerCase()}o(P4,"bufferToLowerCasedHeaderName");function D4(t,e){e===void 0&&(e={});for(let r=0;ra.toString("utf8")):s.toString("utf8")}}return"content-length"in e&&"content-disposition"in e&&(e["content-disposition"]=Buffer.from(e["content-disposition"]).toString("latin1")),e}o(D4,"parseHeaders");function T4(t){let e=t.length,r=new Array(e),n=!1,i=-1,s,a,c=0;for(let l=0;l{r.close(),r.byobRequest?.respond(0)});else{let s=Buffer.isBuffer(i)?i:Buffer.from(i);s.byteLength&&r.enqueue(new Uint8Array(s))}return r.desiredSize>0},async cancel(r){await e.return()},type:"bytes"})}o(U4,"ReadableStreamFrom");function q4(t){return t&&typeof t=="object"&&typeof t.append=="function"&&typeof t.delete=="function"&&typeof t.get=="function"&&typeof t.getAll=="function"&&typeof t.has=="function"&&typeof t.set=="function"&&t[Symbol.toStringTag]==="FormData"}o(q4,"isFormDataLike");function H4(t,e){return"addEventListener"in t?(t.addEventListener("abort",e,{once:!0}),()=>t.removeEventListener("abort",e)):(t.addListener("abort",e),()=>t.removeListener("abort",e))}o(H4,"addAbortListener");var z4=typeof String.prototype.toWellFormed=="function",j4=typeof String.prototype.isWellFormed=="function";function jR(t){return z4?`${t}`.toWellFormed():g4.toUSVString(t)}o(jR,"toUSVString");function G4(t){return j4?`${t}`.isWellFormed():jR(t)===`${t}`}o(G4,"isUSVString");function GR(t){switch(t){case 34:case 40:case 41:case 44:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 123:case 125:return!1;default:return t>=33&&t<=126}}o(GR,"isTokenCharCode");function Y4(t){if(t.length===0)return!1;for(let e=0;e{"use strict";var Oe=require("node:diagnostics_channel"),yC=require("node:util"),ld=yC.debuglog("undici"),hC=yC.debuglog("fetch"),to=yC.debuglog("websocket"),WR=!1,Z4={beforeConnect:Oe.channel("undici:client:beforeConnect"),connected:Oe.channel("undici:client:connected"),connectError:Oe.channel("undici:client:connectError"),sendHeaders:Oe.channel("undici:client:sendHeaders"),create:Oe.channel("undici:request:create"),bodySent:Oe.channel("undici:request:bodySent"),headers:Oe.channel("undici:request:headers"),trailers:Oe.channel("undici:request:trailers"),error:Oe.channel("undici:request:error"),open:Oe.channel("undici:websocket:open"),close:Oe.channel("undici:websocket:close"),socketError:Oe.channel("undici:websocket:socket_error"),ping:Oe.channel("undici:websocket:ping"),pong:Oe.channel("undici:websocket:pong")};if(ld.enabled||hC.enabled){let t=hC.enabled?hC:ld;Oe.channel("undici:client:beforeConnect").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:i,host:s}}=e;t("connecting to %s using %s%s",`${s}${i?`:${i}`:""}`,n,r)}),Oe.channel("undici:client:connected").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:i,host:s}}=e;t("connected to %s using %s%s",`${s}${i?`:${i}`:""}`,n,r)}),Oe.channel("undici:client:connectError").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:i,host:s},error:a}=e;t("connection to %s using %s%s errored - %s",`${s}${i?`:${i}`:""}`,n,r,a.message)}),Oe.channel("undici:client:sendHeaders").subscribe(e=>{let{request:{method:r,path:n,origin:i}}=e;t("sending request to %s %s/%s",r,i,n)}),Oe.channel("undici:request:headers").subscribe(e=>{let{request:{method:r,path:n,origin:i},response:{statusCode:s}}=e;t("received response to %s %s/%s - HTTP %d",r,i,n,s)}),Oe.channel("undici:request:trailers").subscribe(e=>{let{request:{method:r,path:n,origin:i}}=e;t("trailers received from %s %s/%s",r,i,n)}),Oe.channel("undici:request:error").subscribe(e=>{let{request:{method:r,path:n,origin:i},error:s}=e;t("request to %s %s/%s errored - %s",r,i,n,s.message)}),WR=!0}if(to.enabled){if(!WR){let t=ld.enabled?ld:to;Oe.channel("undici:client:beforeConnect").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:i,host:s}}=e;t("connecting to %s%s using %s%s",s,i?`:${i}`:"",n,r)}),Oe.channel("undici:client:connected").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:i,host:s}}=e;t("connected to %s%s using %s%s",s,i?`:${i}`:"",n,r)}),Oe.channel("undici:client:connectError").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:i,host:s},error:a}=e;t("connection to %s%s using %s%s errored - %s",s,i?`:${i}`:"",n,r,a.message)}),Oe.channel("undici:client:sendHeaders").subscribe(e=>{let{request:{method:r,path:n,origin:i}}=e;t("sending request to %s %s/%s",r,i,n)})}Oe.channel("undici:websocket:open").subscribe(t=>{let{address:{address:e,port:r}}=t;to("connection opened %s%s",e,r?`:${r}`:"")}),Oe.channel("undici:websocket:close").subscribe(t=>{let{websocket:e,code:r,reason:n}=t;to("closed connection to %s - %s %s",e.url,r,n)}),Oe.channel("undici:websocket:socket_error").subscribe(t=>{to("connection errored - %s",t.message)}),Oe.channel("undici:websocket:ping").subscribe(t=>{to("ping received")}),Oe.channel("undici:websocket:pong").subscribe(t=>{to("pong received")})}KR.exports={channels:Z4}});var t_=h((BUe,e_)=>{"use strict";var{InvalidArgumentError:lt,NotSupportedError:e5}=_e(),Oi=require("node:assert"),{isValidHTTPToken:ZR,isValidHeaderValue:$R,isStream:t5,destroy:r5,isBuffer:n5,isFormDataLike:i5,isIterable:s5,isBlobLike:o5,buildURL:a5,validateHandler:c5,getServerName:l5,normalizedMethodRecords:A5}=Ee(),{channels:Zn}=ca(),{headerNameLowerCasedRecord:XR}=nd(),u5=/[^\u0021-\u00ff]/,sn=Symbol("handler"),CC=class{static{o(this,"Request")}constructor(e,{path:r,method:n,body:i,headers:s,query:a,idempotent:c,blocking:l,upgrade:A,headersTimeout:u,bodyTimeout:d,reset:g,throwOnError:f,expectContinue:C,servername:Q},x){if(typeof r!="string")throw new lt("path must be a string");if(r[0]!=="/"&&!(r.startsWith("http://")||r.startsWith("https://"))&&n!=="CONNECT")throw new lt("path must be an absolute URL or start with a slash");if(u5.test(r))throw new lt("invalid request path");if(typeof n!="string")throw new lt("method must be a string");if(A5[n]===void 0&&!ZR(n))throw new lt("invalid request method");if(A&&typeof A!="string")throw new lt("upgrade must be a string");if(u!=null&&(!Number.isFinite(u)||u<0))throw new lt("invalid headersTimeout");if(d!=null&&(!Number.isFinite(d)||d<0))throw new lt("invalid bodyTimeout");if(g!=null&&typeof g!="boolean")throw new lt("invalid reset");if(C!=null&&typeof C!="boolean")throw new lt("invalid expectContinue");if(this.headersTimeout=u,this.bodyTimeout=d,this.throwOnError=f===!0,this.method=n,this.abort=null,i==null)this.body=null;else if(t5(i)){this.body=i;let w=this.body._readableState;(!w||!w.autoDestroy)&&(this.endHandler=o(function(){r5(this)},"autoDestroy"),this.body.on("end",this.endHandler)),this.errorHandler=v=>{this.abort?this.abort(v):this.error=v},this.body.on("error",this.errorHandler)}else if(n5(i))this.body=i.byteLength?i:null;else if(ArrayBuffer.isView(i))this.body=i.buffer.byteLength?Buffer.from(i.buffer,i.byteOffset,i.byteLength):null;else if(i instanceof ArrayBuffer)this.body=i.byteLength?Buffer.from(i):null;else if(typeof i=="string")this.body=i.length?Buffer.from(i):null;else if(i5(i)||s5(i)||o5(i))this.body=i;else throw new lt("body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable");if(this.completed=!1,this.aborted=!1,this.upgrade=A||null,this.path=a?a5(r,a):r,this.origin=e,this.idempotent=c??(n==="HEAD"||n==="GET"),this.blocking=l??!1,this.reset=g??null,this.host=null,this.contentLength=null,this.contentType=null,this.headers=[],this.expectContinue=C??!1,Array.isArray(s)){if(s.length%2!==0)throw new lt("headers array must be even");for(let w=0;w{"use strict";var d5=require("node:events"),ud=class extends d5{static{o(this,"Dispatcher")}dispatch(){throw new Error("not implemented")}close(){throw new Error("not implemented")}destroy(){throw new Error("not implemented")}compose(...e){let r=Array.isArray(e[0])?e[0]:e,n=this.dispatch.bind(this);for(let i of r)if(i!=null){if(typeof i!="function")throw new TypeError(`invalid interceptor, expected function received ${typeof i}`);if(n=i(n),n==null||typeof n!="function"||n.length!==2)throw new TypeError("invalid interceptor")}return new EC(this,n)}},EC=class extends ud{static{o(this,"ComposedDispatcher")}#e=null;#t=null;constructor(e,r){super(),this.#e=e,this.#t=r}dispatch(...e){this.#t(...e)}close(...e){return this.#e.close(...e)}destroy(...e){return this.#e.destroy(...e)}};r_.exports=ud});var da=h((wUe,n_)=>{"use strict";var p5=Dl(),{ClientDestroyedError:BC,ClientClosedError:m5,InvalidArgumentError:la}=_e(),{kDestroy:g5,kClose:f5,kClosed:Tl,kDestroyed:Aa,kDispatch:IC,kInterceptors:ro}=tt(),Mi=Symbol("onDestroyed"),ua=Symbol("onClosed"),dd=Symbol("Intercepted Dispatch"),bC=class extends p5{static{o(this,"DispatcherBase")}constructor(){super(),this[Aa]=!1,this[Mi]=null,this[Tl]=!1,this[ua]=[]}get destroyed(){return this[Aa]}get closed(){return this[Tl]}get interceptors(){return this[ro]}set interceptors(e){if(e){for(let r=e.length-1;r>=0;r--)if(typeof this[ro][r]!="function")throw new la("interceptor must be an function")}this[ro]=e}close(e){if(e===void 0)return new Promise((n,i)=>{this.close((s,a)=>s?i(s):n(a))});if(typeof e!="function")throw new la("invalid callback");if(this[Aa]){queueMicrotask(()=>e(new BC,null));return}if(this[Tl]){this[ua]?this[ua].push(e):queueMicrotask(()=>e(null,null));return}this[Tl]=!0,this[ua].push(e);let r=o(()=>{let n=this[ua];this[ua]=null;for(let i=0;ithis.destroy()).then(()=>{queueMicrotask(r)})}destroy(e,r){if(typeof e=="function"&&(r=e,e=null),r===void 0)return new Promise((i,s)=>{this.destroy(e,(a,c)=>a?s(a):i(c))});if(typeof r!="function")throw new la("invalid callback");if(this[Aa]){this[Mi]?this[Mi].push(r):queueMicrotask(()=>r(null,null));return}e||(e=new BC),this[Aa]=!0,this[Mi]=this[Mi]||[],this[Mi].push(r);let n=o(()=>{let i=this[Mi];this[Mi]=null;for(let s=0;s{queueMicrotask(n)})}[dd](e,r){if(!this[ro]||this[ro].length===0)return this[dd]=this[IC],this[IC](e,r);let n=this[IC].bind(this);for(let i=this[ro].length-1;i>=0;i--)n=this[ro][i](n);return this[dd]=n,n(e,r)}dispatch(e,r){if(!r||typeof r!="object")throw new la("handler must be an object");try{if(!e||typeof e!="object")throw new la("opts must be an object.");if(this[Aa]||this[Mi])throw new BC;if(this[Tl])throw new m5;return this[dd](e,r)}catch(n){if(typeof r.onError!="function")throw new la("invalid onError method");return r.onError(n),!1}}};n_.exports=bC});var RC=h((SUe,a_)=>{"use strict";var pa=0,QC=1e3,wC=(QC>>1)-1,ki,NC=Symbol("kFastTimer"),Li=[],SC=-2,xC=-1,s_=0,i_=1;function vC(){pa+=wC;let t=0,e=Li.length;for(;t=r._idleStart+r._idleTimeout&&(r._state=xC,r._idleStart=-1,r._onTimeout(r._timerArg)),r._state===xC?(r._state=SC,--e!==0&&(Li[t]=Li[e])):++t}Li.length=e,Li.length!==0&&o_()}o(vC,"onTick");function o_(){ki?ki.refresh():(clearTimeout(ki),ki=setTimeout(vC,wC),ki.unref&&ki.unref())}o(o_,"refreshTimeout");var pd=class{static{o(this,"FastTimer")}[NC]=!0;_state=SC;_idleTimeout=-1;_idleStart=-1;_onTimeout;_timerArg;constructor(e,r,n){this._onTimeout=e,this._idleTimeout=r,this._timerArg=n,this.refresh()}refresh(){this._state===SC&&Li.push(this),(!ki||Li.length===1)&&o_(),this._state=s_}clear(){this._state=xC,this._idleStart=-1}};a_.exports={setTimeout(t,e,r){return e<=QC?setTimeout(t,e,r):new pd(t,e,r)},clearTimeout(t){t[NC]?t.clear():clearTimeout(t)},setFastTimeout(t,e,r){return new pd(t,e,r)},clearFastTimeout(t){t.clear()},now(){return pa},tick(t=0){pa+=t-QC+1,vC(),vC()},reset(){pa=0,Li.length=0,clearTimeout(ki),ki=null},kFastTimer:NC}});var Ol=h((_Ue,d_)=>{"use strict";var h5=require("node:net"),c_=require("node:assert"),u_=Ee(),{InvalidArgumentError:y5,ConnectTimeoutError:C5}=_e(),md=RC();function l_(){}o(l_,"noop");var _C,PC;global.FinalizationRegistry&&!(process.env.NODE_V8_COVERAGE||process.env.UNDICI_NO_FG)?PC=class{static{o(this,"WeakSessionCache")}constructor(e){this._maxCachedSessions=e,this._sessionCache=new Map,this._sessionRegistry=new global.FinalizationRegistry(r=>{if(this._sessionCache.size=this._maxCachedSessions){let{value:n}=this._sessionCache.keys().next();this._sessionCache.delete(n)}this._sessionCache.set(e,r)}}};function E5({allowH2:t,maxCachedSessions:e,socketPath:r,timeout:n,session:i,...s}){if(e!=null&&(!Number.isInteger(e)||e<0))throw new y5("maxCachedSessions must be a positive integer or zero");let a={path:r,...s},c=new PC(e??100);return n=n??1e4,t=t??!1,o(function({hostname:A,host:u,protocol:d,port:g,servername:f,localAddress:C,httpSocket:Q},x){let w;if(d==="https:"){_C||(_C=require("node:tls")),f=f||a.servername||u_.getServerName(u)||null;let T=f||A;c_(T);let L=i||c.get(T)||null;g=g||443,w=_C.connect({highWaterMark:16384,...a,servername:f,session:L,localAddress:C,ALPNProtocols:t?["http/1.1","h2"]:["http/1.1"],socket:Q,port:g,host:A}),w.on("session",function(W){c.set(T,W)})}else c_(!Q,"httpSocket can only be sent on TLS update"),g=g||80,w=h5.connect({highWaterMark:64*1024,...a,localAddress:C,port:g,host:A});if(a.keepAlive==null||a.keepAlive){let T=a.keepAliveInitialDelay===void 0?6e4:a.keepAliveInitialDelay;w.setKeepAlive(!0,T)}let v=B5(new WeakRef(w),{timeout:n,hostname:A,port:g});return w.setNoDelay(!0).once(d==="https:"?"secureConnect":"connect",function(){if(queueMicrotask(v),x){let T=x;x=null,T(null,this)}}).on("error",function(T){if(queueMicrotask(v),x){let L=x;x=null,L(T)}}),w},"connect")}o(E5,"buildConnector");var B5=process.platform==="win32"?(t,e)=>{if(!e.timeout)return l_;let r=null,n=null,i=md.setFastTimeout(()=>{r=setImmediate(()=>{n=setImmediate(()=>A_(t.deref(),e))})},e.timeout);return()=>{md.clearFastTimeout(i),clearImmediate(r),clearImmediate(n)}}:(t,e)=>{if(!e.timeout)return l_;let r=null,n=md.setFastTimeout(()=>{r=setImmediate(()=>{A_(t.deref(),e)})},e.timeout);return()=>{md.clearFastTimeout(n),clearImmediate(r)}};function A_(t,e){if(t==null)return;let r="Connect Timeout Error";Array.isArray(t.autoSelectFamilyAttemptedAddresses)?r+=` (attempted addresses: ${t.autoSelectFamilyAttemptedAddresses.join(", ")},`:r+=` (attempted address: ${e.hostname}:${e.port},`,r+=` timeout: ${e.timeout}ms)`,u_.destroy(t,new C5(r))}o(A_,"onConnectTimeout");d_.exports=E5});var p_=h(gd=>{"use strict";Object.defineProperty(gd,"__esModule",{value:!0});gd.enumToMap=void 0;function I5(t){let e={};return Object.keys(t).forEach(r=>{let n=t[r];typeof n=="number"&&(e[r]=n)}),e}o(I5,"enumToMap");gd.enumToMap=I5});var m_=h(j=>{"use strict";Object.defineProperty(j,"__esModule",{value:!0});j.SPECIAL_HEADERS=j.HEADER_STATE=j.MINOR=j.MAJOR=j.CONNECTION_TOKEN_CHARS=j.HEADER_CHARS=j.TOKEN=j.STRICT_TOKEN=j.HEX=j.URL_CHAR=j.STRICT_URL_CHAR=j.USERINFO_CHARS=j.MARK=j.ALPHANUM=j.NUM=j.HEX_MAP=j.NUM_MAP=j.ALPHA=j.FINISH=j.H_METHOD_MAP=j.METHOD_MAP=j.METHODS_RTSP=j.METHODS_ICE=j.METHODS_HTTP=j.METHODS=j.LENIENT_FLAGS=j.FLAGS=j.TYPE=j.ERROR=void 0;var b5=p_(),Q5;(function(t){t[t.OK=0]="OK",t[t.INTERNAL=1]="INTERNAL",t[t.STRICT=2]="STRICT",t[t.LF_EXPECTED=3]="LF_EXPECTED",t[t.UNEXPECTED_CONTENT_LENGTH=4]="UNEXPECTED_CONTENT_LENGTH",t[t.CLOSED_CONNECTION=5]="CLOSED_CONNECTION",t[t.INVALID_METHOD=6]="INVALID_METHOD",t[t.INVALID_URL=7]="INVALID_URL",t[t.INVALID_CONSTANT=8]="INVALID_CONSTANT",t[t.INVALID_VERSION=9]="INVALID_VERSION",t[t.INVALID_HEADER_TOKEN=10]="INVALID_HEADER_TOKEN",t[t.INVALID_CONTENT_LENGTH=11]="INVALID_CONTENT_LENGTH",t[t.INVALID_CHUNK_SIZE=12]="INVALID_CHUNK_SIZE",t[t.INVALID_STATUS=13]="INVALID_STATUS",t[t.INVALID_EOF_STATE=14]="INVALID_EOF_STATE",t[t.INVALID_TRANSFER_ENCODING=15]="INVALID_TRANSFER_ENCODING",t[t.CB_MESSAGE_BEGIN=16]="CB_MESSAGE_BEGIN",t[t.CB_HEADERS_COMPLETE=17]="CB_HEADERS_COMPLETE",t[t.CB_MESSAGE_COMPLETE=18]="CB_MESSAGE_COMPLETE",t[t.CB_CHUNK_HEADER=19]="CB_CHUNK_HEADER",t[t.CB_CHUNK_COMPLETE=20]="CB_CHUNK_COMPLETE",t[t.PAUSED=21]="PAUSED",t[t.PAUSED_UPGRADE=22]="PAUSED_UPGRADE",t[t.PAUSED_H2_UPGRADE=23]="PAUSED_H2_UPGRADE",t[t.USER=24]="USER"})(Q5=j.ERROR||(j.ERROR={}));var w5;(function(t){t[t.BOTH=0]="BOTH",t[t.REQUEST=1]="REQUEST",t[t.RESPONSE=2]="RESPONSE"})(w5=j.TYPE||(j.TYPE={}));var N5;(function(t){t[t.CONNECTION_KEEP_ALIVE=1]="CONNECTION_KEEP_ALIVE",t[t.CONNECTION_CLOSE=2]="CONNECTION_CLOSE",t[t.CONNECTION_UPGRADE=4]="CONNECTION_UPGRADE",t[t.CHUNKED=8]="CHUNKED",t[t.UPGRADE=16]="UPGRADE",t[t.CONTENT_LENGTH=32]="CONTENT_LENGTH",t[t.SKIPBODY=64]="SKIPBODY",t[t.TRAILING=128]="TRAILING",t[t.TRANSFER_ENCODING=512]="TRANSFER_ENCODING"})(N5=j.FLAGS||(j.FLAGS={}));var S5;(function(t){t[t.HEADERS=1]="HEADERS",t[t.CHUNKED_LENGTH=2]="CHUNKED_LENGTH",t[t.KEEP_ALIVE=4]="KEEP_ALIVE"})(S5=j.LENIENT_FLAGS||(j.LENIENT_FLAGS={}));var ne;(function(t){t[t.DELETE=0]="DELETE",t[t.GET=1]="GET",t[t.HEAD=2]="HEAD",t[t.POST=3]="POST",t[t.PUT=4]="PUT",t[t.CONNECT=5]="CONNECT",t[t.OPTIONS=6]="OPTIONS",t[t.TRACE=7]="TRACE",t[t.COPY=8]="COPY",t[t.LOCK=9]="LOCK",t[t.MKCOL=10]="MKCOL",t[t.MOVE=11]="MOVE",t[t.PROPFIND=12]="PROPFIND",t[t.PROPPATCH=13]="PROPPATCH",t[t.SEARCH=14]="SEARCH",t[t.UNLOCK=15]="UNLOCK",t[t.BIND=16]="BIND",t[t.REBIND=17]="REBIND",t[t.UNBIND=18]="UNBIND",t[t.ACL=19]="ACL",t[t.REPORT=20]="REPORT",t[t.MKACTIVITY=21]="MKACTIVITY",t[t.CHECKOUT=22]="CHECKOUT",t[t.MERGE=23]="MERGE",t[t["M-SEARCH"]=24]="M-SEARCH",t[t.NOTIFY=25]="NOTIFY",t[t.SUBSCRIBE=26]="SUBSCRIBE",t[t.UNSUBSCRIBE=27]="UNSUBSCRIBE",t[t.PATCH=28]="PATCH",t[t.PURGE=29]="PURGE",t[t.MKCALENDAR=30]="MKCALENDAR",t[t.LINK=31]="LINK",t[t.UNLINK=32]="UNLINK",t[t.SOURCE=33]="SOURCE",t[t.PRI=34]="PRI",t[t.DESCRIBE=35]="DESCRIBE",t[t.ANNOUNCE=36]="ANNOUNCE",t[t.SETUP=37]="SETUP",t[t.PLAY=38]="PLAY",t[t.PAUSE=39]="PAUSE",t[t.TEARDOWN=40]="TEARDOWN",t[t.GET_PARAMETER=41]="GET_PARAMETER",t[t.SET_PARAMETER=42]="SET_PARAMETER",t[t.REDIRECT=43]="REDIRECT",t[t.RECORD=44]="RECORD",t[t.FLUSH=45]="FLUSH"})(ne=j.METHODS||(j.METHODS={}));j.METHODS_HTTP=[ne.DELETE,ne.GET,ne.HEAD,ne.POST,ne.PUT,ne.CONNECT,ne.OPTIONS,ne.TRACE,ne.COPY,ne.LOCK,ne.MKCOL,ne.MOVE,ne.PROPFIND,ne.PROPPATCH,ne.SEARCH,ne.UNLOCK,ne.BIND,ne.REBIND,ne.UNBIND,ne.ACL,ne.REPORT,ne.MKACTIVITY,ne.CHECKOUT,ne.MERGE,ne["M-SEARCH"],ne.NOTIFY,ne.SUBSCRIBE,ne.UNSUBSCRIBE,ne.PATCH,ne.PURGE,ne.MKCALENDAR,ne.LINK,ne.UNLINK,ne.PRI,ne.SOURCE];j.METHODS_ICE=[ne.SOURCE];j.METHODS_RTSP=[ne.OPTIONS,ne.DESCRIBE,ne.ANNOUNCE,ne.SETUP,ne.PLAY,ne.PAUSE,ne.TEARDOWN,ne.GET_PARAMETER,ne.SET_PARAMETER,ne.REDIRECT,ne.RECORD,ne.FLUSH,ne.GET,ne.POST];j.METHOD_MAP=b5.enumToMap(ne);j.H_METHOD_MAP={};Object.keys(j.METHOD_MAP).forEach(t=>{/^H/.test(t)&&(j.H_METHOD_MAP[t]=j.METHOD_MAP[t])});var x5;(function(t){t[t.SAFE=0]="SAFE",t[t.SAFE_WITH_CB=1]="SAFE_WITH_CB",t[t.UNSAFE=2]="UNSAFE"})(x5=j.FINISH||(j.FINISH={}));j.ALPHA=[];for(let t=65;t<=90;t++)j.ALPHA.push(String.fromCharCode(t)),j.ALPHA.push(String.fromCharCode(t+32));j.NUM_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9};j.HEX_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15};j.NUM=["0","1","2","3","4","5","6","7","8","9"];j.ALPHANUM=j.ALPHA.concat(j.NUM);j.MARK=["-","_",".","!","~","*","'","(",")"];j.USERINFO_CHARS=j.ALPHANUM.concat(j.MARK).concat(["%",";",":","&","=","+","$",","]);j.STRICT_URL_CHAR=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(j.ALPHANUM);j.URL_CHAR=j.STRICT_URL_CHAR.concat([" ","\f"]);for(let t=128;t<=255;t++)j.URL_CHAR.push(t);j.HEX=j.NUM.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]);j.STRICT_TOKEN=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(j.ALPHANUM);j.TOKEN=j.STRICT_TOKEN.concat([" "]);j.HEADER_CHARS=[" "];for(let t=32;t<=255;t++)t!==127&&j.HEADER_CHARS.push(t);j.CONNECTION_TOKEN_CHARS=j.HEADER_CHARS.filter(t=>t!==44);j.MAJOR=j.NUM_MAP;j.MINOR=j.MAJOR;var ma;(function(t){t[t.GENERAL=0]="GENERAL",t[t.CONNECTION=1]="CONNECTION",t[t.CONTENT_LENGTH=2]="CONTENT_LENGTH",t[t.TRANSFER_ENCODING=3]="TRANSFER_ENCODING",t[t.UPGRADE=4]="UPGRADE",t[t.CONNECTION_KEEP_ALIVE=5]="CONNECTION_KEEP_ALIVE",t[t.CONNECTION_CLOSE=6]="CONNECTION_CLOSE",t[t.CONNECTION_UPGRADE=7]="CONNECTION_UPGRADE",t[t.TRANSFER_ENCODING_CHUNKED=8]="TRANSFER_ENCODING_CHUNKED"})(ma=j.HEADER_STATE||(j.HEADER_STATE={}));j.SPECIAL_HEADERS={connection:ma.CONNECTION,"content-length":ma.CONTENT_LENGTH,"proxy-connection":ma.CONNECTION,"transfer-encoding":ma.TRANSFER_ENCODING,upgrade:ma.UPGRADE}});var DC=h((MUe,g_)=>{"use strict";var{Buffer:v5}=require("node:buffer");g_.exports=v5.from("AGFzbQEAAAABJwdgAX8Bf2ADf39/AX9gAX8AYAJ/fwBgBH9/f38Bf2AAAGADf39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQAEA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAAy0sBQYAAAIAAAAAAAACAQIAAgICAAADAAAAAAMDAwMBAQEBAQEBAQEAAAIAAAAEBQFwARISBQMBAAIGCAF/AUGA1AQLB9EFIgZtZW1vcnkCAAtfaW5pdGlhbGl6ZQAIGV9faW5kaXJlY3RfZnVuY3Rpb25fdGFibGUBAAtsbGh0dHBfaW5pdAAJGGxsaHR0cF9zaG91bGRfa2VlcF9hbGl2ZQAvDGxsaHR0cF9hbGxvYwALBm1hbGxvYwAxC2xsaHR0cF9mcmVlAAwEZnJlZQAMD2xsaHR0cF9nZXRfd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sgASAERgRAQYABIQMMrQILIAEtAABB2QBHDW4gAUEBaiEBQQgMcAsgASAERgRAQYEBIQMMrAILAkACQCABLQAAQc4Aaw4DAG8BbwsgAUEBaiEBQesAIQMMkwILIAFBAWohAUHsACEDDJICCyABIARGBEBBggEhAwyrAgsCQAJAIAEtAABByABrDggAbm5ubm5uAW4LIAFBAWohAUHqACEDDJICCyABQQFqIQFB7QAhAwyRAgtBgwEhAyABIARGDakCIAIoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQYDPAGotAABHDWwgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADKoCCyACQQA2AgAgBkEBaiEBQQAMbQtBhAEhAyABIARGDagCIAIoAgAiACAEIAFraiEFIAEgAGtBBGohBgJAA0AgAS0AACAAQYPPAGotAABHDWsgAEEERg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADKkCCyACQQA2AgAgBkEBaiEBQSMMbAsgASAERgRAQYUBIQMMqAILAkACQCABLQAAQcwAaw4IAGtra2trawFrCyABQQFqIQFB7wAhAwyPAgsgAUEBaiEBQfAAIQMMjgILIAEgBEYEQEGGASEDDKcCCyABLQAAQcUARw1oIAFBAWohAQxgC0GHASEDIAEgBEYNpQIgAigCACIAIAQgAWtqIQUgASAAa0EDaiEGAkADQCABLQAAIABBiM8Aai0AAEcNaCAAQQNGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAMpgILIAJBADYCACAGQQFqIQFBLQxpC0GIASEDIAEgBEYNpAIgAigCACIAIAQgAWtqIQUgASAAa0EIaiEGAkADQCABLQAAIABB0M8Aai0AAEcNZyAAQQhGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAMpQILIAJBADYCACAGQQFqIQFBKQxoCyABIARGBEBBiQEhAwykAgtBASABLQAAQd8ARw1nGiABQQFqIQEMXgtBigEhAyABIARGDaICIAIoAgAiACAEIAFraiEFIAEgAGtBAWohBgNAIAEtAAAgAEGMzwBqLQAARw1kIABBAUYN+gEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAMogILQYsBIQMgASAERg2hAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGOzwBqLQAARw1kIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyiAgsgAkEANgIAIAZBAWohAUECDGULQYwBIQMgASAERg2gAiACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHwzwBqLQAARw1jIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyhAgsgAkEANgIAIAZBAWohAUEfDGQLQY0BIQMgASAERg2fAiACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHyzwBqLQAARw1iIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAygAgsgAkEANgIAIAZBAWohAUEJDGMLIAEgBEYEQEGOASEDDJ8CCwJAAkAgAS0AAEHJAGsOBwBiYmJiYgFiCyABQQFqIQFB+AAhAwyGAgsgAUEBaiEBQfkAIQMMhQILQY8BIQMgASAERg2dAiACKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEGRzwBqLQAARw1gIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyeAgsgAkEANgIAIAZBAWohAUEYDGELQZABIQMgASAERg2cAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGXzwBqLQAARw1fIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAydAgsgAkEANgIAIAZBAWohAUEXDGALQZEBIQMgASAERg2bAiACKAIAIgAgBCABa2ohBSABIABrQQZqIQYCQANAIAEtAAAgAEGazwBqLQAARw1eIABBBkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAycAgsgAkEANgIAIAZBAWohAUEVDF8LQZIBIQMgASAERg2aAiACKAIAIgAgB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c2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAkHSADYCHCACIAE2AhQgAiAANgIMQQAhAwykAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQAgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwyjAQtB1QAhAwyJAQsgAEEVRwRAIAJBADYCHCACIAE2AhQgAkG5DTYCECACQRo2AgxBACEDDKIBCyACQeQANgIcIAIgATYCFCACQeMXNgIQIAJBFTYCDEEAIQMMoQELIAJBADYCACAGQQFqIQEgAi0AKSIAQSNrQQtJDQQCQCAAQQZLDQBBASAAdEHKAHFFDQAMBQtBACEDIAJBADYCHCACIAE2AhQgAkH3CTYCECACQQg2AgwMoAELIAJBADYCACAGQQFqIQEgAi0AKUEhRg0DIAJBADYCHCACIAE2AhQgAkGbCjYCECACQQg2AgxBACEDDJ8BCyACQQA2AgALQQAhAyACQQA2AhwgAiABNgIUIAJBkDM2AhAgAkEINgIMDJ0BCyACQQA2AgAgBkEBaiEBIAItAClBI0kNACACQQA2AhwgAiABNgIUIAJB0wk2AhAgAkEINgIMQQAhAwycAQtB0QAhAwyCAQsgAS0AAEEwayIAQf8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AwykAgtBASABLQAAQd8ARw1nGiABQQFqIQEMXgtBigEhAyABIARGDaICIAIoAgAiACAEIAFraiEFIAEgAGtBAWohBgNAIAEtAAAgAEGMzwBqLQAARw1kIABBAUYN+gEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAMogILQYsBIQMgASAERg2hAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGOzwBqLQAARw1kIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyiAgsgAkEANgIAIAZBAWohAUECDGULQYwBIQMgASAERg2gAiACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHwzwBqLQAARw1jIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyhAgsgAkEANgIAIAZBAWohAUEfDGQLQY0BIQMgASAERg2fAiACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHyzwBqLQAARw1iIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAygAgsgAkEANgIAIAZBAWohAUEJDGMLIAEgBEYEQEGOASEDDJ8CCwJAAkAgAS0AAEHJAGsOBwBiYmJiYgFiCyABQQFqIQFB+AAhAwyGAgsgAUEBaiEBQfkAIQMMhQILQY8BIQMgASAERg2dAiACKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEGRzwBqLQAARw1gIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyeAgsgAkEANgIAIAZBAWohAUEYDGELQZABIQMgASAERg2cAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGXzwBqLQAARw1fIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAydAgsgAkEANgIAIAZBAWohAUEXDGALQZEBIQMgASAERg2bAiACKAIAIgAgBCABa2ohBSABIABrQQZqIQYCQANAIAEtAAAgAEGazwBqLQAARw1eIABBB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AhwgAiABNgIUIAIgADYCDEEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAkHSADYCHCACIAE2AhQgAiAANgIMQQAhAwykAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQAgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwyjAQtB1QAhAwyJAQsgAEEVRwRAIAJBADYCHCACIAE2AhQgAkG5DTYCECACQRo2AgxBACEDDKIBCyACQeQANgIcIAIgATYCFCACQeMXNgIQIAJBFTYCDEEAIQMMoQELIAJBADYCACAGQQFqIQEgAi0AKSIAQSNrQQtJDQQCQCAAQQZLDQBBASAAdEHKAHFFDQAMBQtBACEDIAJBADYCHCACIAE2AhQgAkH3CTYCECACQQg2AgwMoAELIAJBADYCACAGQQFqIQEgAi0AKUEhRg0DIAJBADYCHCACIAE2AhQgAkGbCjYCECACQQg2AgxBACEDDJ8BCyACQQA2AgALQQAhAyACQQA2AhwgAiABNgIUIAJBkDM2AhAgAkEINgIMDJ0BCyACQQA2AgAg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AQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQBB+sgACwQBAAACAEGQyQALXwMEAAAEBAQEBAQEBAQEBAUEBAQEBAQEBAQEBAQABAAGBwQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEAAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAEAEH6ygALBAEAAAEAQZDLAAsBAQBBqssAC0ECAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwBB+swACwQBAAABAEGQzQALAQEAQZrNAAsGAgAAAAACAEGxzQALOgMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAQfDOAAuWAU5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw==","base64")});var Ml=h((LUe,w_)=>{"use strict";var y_=["GET","HEAD","POST"],_5=new Set(y_),P5=[101,204,205,304],C_=[301,302,303,307,308],D5=new Set(C_),E_=["1","7","9","11","13","15","17","19","20","21","22","23","25","37","42","43","53","69","77","79","87","95","101","102","103","104","109","110","111","113","115","117","119","123","135","137","139","143","161","179","389","427","465","512","513","514","515","526","530","531","532","540","548","554","556","563","587","601","636","989","990","993","995","1719","1720","1723","2049","3659","4045","4190","5060","5061","6000","6566","6665","6666","6667","6668","6669","6679","6697","10080"],T5=new Set(E_),B_=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],O5=new Set(B_),M5=["follow","manual","error"],I_=["GET","HEAD","OPTIONS","TRACE"],k5=new Set(I_),L5=["navigate","same-origin","no-cors","cors"],F5=["omit","same-origin","include"],U5=["default","no-store","reload","no-cache","force-cache","only-if-cached"],q5=["content-encoding","content-language","content-location","content-type","content-length"],H5=["half"],b_=["CONNECT","TRACE","TRACK"],z5=new Set(b_),Q_=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""],j5=new Set(Q_);w_.exports={subresource:Q_,forbiddenMethods:b_,requestBodyHeader:q5,referrerPolicy:B_,requestRedirect:M5,requestMode:L5,requestCredentials:F5,requestCache:U5,redirectStatus:C_,corsSafeListedMethods:y_,nullBodyStatus:P5,safeMethods:I_,badPorts:E_,requestDuplex:H5,subresourceSet:j5,badPortsSet:T5,redirectStatusSet:D5,corsSafeListedMethodsSet:_5,safeMethodsSet:k5,forbiddenMethodsSet:z5,referrerPolicySet:O5}});var OC=h((FUe,N_)=>{"use strict";var TC=Symbol.for("undici.globalOrigin.1");function G5(){return globalThis[TC]}o(G5,"getGlobalOrigin");function Y5(t){if(t===void 0){Object.defineProperty(globalThis,TC,{value:void 0,writable:!0,enumerable:!1,configurable:!1});return}let e=new URL(t);if(e.protocol!=="http:"&&e.protocol!=="https:")throw new TypeError(`Only http & https urls are allowed, received ${e.protocol}`);Object.defineProperty(globalThis,TC,{value:e,writable:!0,enumerable:!1,configurable:!1})}o(Y5,"setGlobalOrigin");N_.exports={getGlobalOrigin:G5,setGlobalOrigin:Y5}});var hr=h((qUe,D_)=>{"use strict";var hd=require("node:assert"),J5=new TextEncoder,kl=/^[!#$%&'*+\-.^_|~A-Za-z0-9]+$/,V5=/[\u000A\u000D\u0009\u0020]/,W5=/[\u0009\u000A\u000C\u000D\u0020]/g,K5=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function $5(t){hd(t.protocol==="data:");let e=v_(t,!0);e=e.slice(5);let r={position:0},n=ga(",",e,r),i=n.length;if(n=nX(n,!0,!0),r.position>=e.length)return"failure";r.position++;let s=e.slice(i+1),a=R_(s);if(/;(\u0020){0,}base64$/i.test(n)){let l=P_(a);if(a=Z5(l),a==="failure")return"failure";n=n.slice(0,-6),n=n.replace(/(\u0020)+$/,""),n=n.slice(0,-1)}n.startsWith(";")&&(n="text/plain"+n);let c=MC(n);return c==="failure"&&(c=MC("text/plain;charset=US-ASCII")),{mimeType:c,body:a}}o($5,"dataURLProcessor");function v_(t,e=!1){if(!e)return t.href;let r=t.href,n=t.hash.length,i=n===0?r:r.substring(0,r.length-n);return!n&&r.endsWith("#")?i.slice(0,-1):i}o(v_,"URLSerializer");function yd(t,e,r){let n="";for(;r.position=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}o(S_,"isHexCharByte");function x_(t){return t>=48&&t<=57?t-48:(t&223)-55}o(x_,"hexByteToNumber");function X5(t){let e=t.length,r=new Uint8Array(e),n=0;for(let i=0;it.length)return"failure";e.position++;let n=ga(";",t,e);if(n=fd(n,!1,!0),n.length===0||!kl.test(n))return"failure";let i=r.toLowerCase(),s=n.toLowerCase(),a={type:i,subtype:s,parameters:new Map,essence:`${i}/${s}`};for(;e.positionV5.test(A),t,e);let c=yd(A=>A!==";"&&A!=="=",t,e);if(c=c.toLowerCase(),e.positiont.length)break;let l=null;if(t[e.position]==='"')l=__(t,e,!0),ga(";",t,e);else if(l=ga(";",t,e),l=fd(l,!1,!0),l.length===0)continue;c.length!==0&&kl.test(c)&&(l.length===0||K5.test(l))&&!a.parameters.has(c)&&a.parameters.set(c,l)}return a}o(MC,"parseMIMEType");function Z5(t){t=t.replace(W5,"");let e=t.length;if(e%4===0&&t.charCodeAt(e-1)===61&&(--e,t.charCodeAt(e-1)===61&&--e),e%4===1||/[^+/0-9A-Za-z]/.test(t.length===e?t:t.substring(0,e)))return"failure";let r=Buffer.from(t,"base64");return new Uint8Array(r.buffer,r.byteOffset,r.byteLength)}o(Z5,"forgivingBase64");function __(t,e,r){let n=e.position,i="";for(hd(t[e.position]==='"'),e.position++;i+=yd(a=>a!=='"'&&a!=="\\",t,e),!(e.position>=t.length);){let s=t[e.position];if(e.position++,s==="\\"){if(e.position>=t.length){i+="\\";break}i+=t[e.position],e.position++}else{hd(s==='"');break}}return r?i:t.slice(n,e.position)}o(__,"collectAnHTTPQuotedString");function eX(t){hd(t!=="failure");let{parameters:e,essence:r}=t,n=r;for(let[i,s]of e.entries())n+=";",n+=i,n+="=",kl.test(s)||(s=s.replace(/(\\|")/g,"\\$1"),s='"'+s,s+='"'),n+=s;return n}o(eX,"serializeAMimeType");function tX(t){return t===13||t===10||t===9||t===32}o(tX,"isHTTPWhiteSpace");function fd(t,e=!0,r=!0){return kC(t,e,r,tX)}o(fd,"removeHTTPWhitespace");function rX(t){return t===13||t===10||t===9||t===12||t===32}o(rX,"isASCIIWhitespace");function nX(t,e=!0,r=!0){return kC(t,e,r,rX)}o(nX,"removeASCIIWhitespace");function kC(t,e,r,n){let i=0,s=t.length-1;if(e)for(;i0&&n(t.charCodeAt(s));)s--;return i===0&&s===t.length-1?t:t.slice(i,s+1)}o(kC,"removeChars");function P_(t){let e=t.length;if(65535>e)return String.fromCharCode.apply(null,t);let r="",n=0,i=65535;for(;ne&&(i=e-n),r+=String.fromCharCode.apply(null,t.subarray(n,n+=i));return r}o(P_,"isomorphicDecode");function iX(t){switch(t.essence){case"application/ecmascript":case"application/javascript":case"application/x-ecmascript":case"application/x-javascript":case"text/ecmascript":case"text/javascript":case"text/javascript1.0":case"text/javascript1.1":case"text/javascript1.2":case"text/javascript1.3":case"text/javascript1.4":case"text/javascript1.5":case"text/jscript":case"text/livescript":case"text/x-ecmascript":case"text/x-javascript":return"text/javascript";case"application/json":case"text/json":return"application/json";case"image/svg+xml":return"image/svg+xml";case"text/xml":case"application/xml":return"application/xml"}return t.subtype.endsWith("+json")?"application/json":t.subtype.endsWith("+xml")?"application/xml":""}o(iX,"minimizeSupportedMimeType");D_.exports={dataURLProcessor:$5,URLSerializer:v_,collectASequenceOfCodePoints:yd,collectASequenceOfCodePointsFast:ga,stringPercentDecode:R_,parseMIMEType:MC,collectAnHTTPQuotedString:__,serializeAMimeType:eX,removeChars:kC,removeHTTPWhitespace:fd,minimizeSupportedMimeType:iX,HTTP_TOKEN_CODEPOINTS:kl,isomorphicDecode:P_}});var Yt=h((zUe,T_)=>{"use strict";var{types:ei,inspect:sX}=require("node:util"),{markAsUncloneable:oX}=require("node:worker_threads"),{toUSVString:aX}=Ee(),z={};z.converters={};z.util={};z.errors={};z.errors.exception=function(t){return new TypeError(`${t.header}: ${t.message}`)};z.errors.conversionFailed=function(t){let e=t.types.length===1?"":" one of",r=`${t.argument} could not be converted to${e}: ${t.types.join(", ")}.`;return z.errors.exception({header:t.prefix,message:r})};z.errors.invalidArgument=function(t){return z.errors.exception({header:t.prefix,message:`"${t.value}" is an invalid ${t.type}.`})};z.brandCheck=function(t,e,r){if(r?.strict!==!1){if(!(t instanceof e)){let n=new TypeError("Illegal invocation");throw n.code="ERR_INVALID_THIS",n}}else if(t?.[Symbol.toStringTag]!==e.prototype[Symbol.toStringTag]){let n=new TypeError("Illegal invocation");throw n.code="ERR_INVALID_THIS",n}};z.argumentLengthCheck=function({length:t},e,r){if(t{});z.util.ConvertToInt=function(t,e,r,n){let i,s;e===64?(i=Math.pow(2,53)-1,r==="unsigned"?s=0:s=Math.pow(-2,53)+1):r==="unsigned"?(s=0,i=Math.pow(2,e)-1):(s=Math.pow(-2,e)-1,i=Math.pow(2,e-1)-1);let a=Number(t);if(a===0&&(a=0),n?.enforceRange===!0){if(Number.isNaN(a)||a===Number.POSITIVE_INFINITY||a===Number.NEGATIVE_INFINITY)throw z.errors.exception({header:"Integer conversion",message:`Could not convert ${z.util.Stringify(t)} to an integer.`});if(a=z.util.IntegerPart(a),ai)throw z.errors.exception({header:"Integer conversion",message:`Value must be between ${s}-${i}, got ${a}.`});return a}return!Number.isNaN(a)&&n?.clamp===!0?(a=Math.min(Math.max(a,s),i),Math.floor(a)%2===0?a=Math.floor(a):a=Math.ceil(a),a):Number.isNaN(a)||a===0&&Object.is(0,a)||a===Number.POSITIVE_INFINITY||a===Number.NEGATIVE_INFINITY?0:(a=z.util.IntegerPart(a),a=a%Math.pow(2,e),r==="signed"&&a>=Math.pow(2,e)-1?a-Math.pow(2,e):a)};z.util.IntegerPart=function(t){let e=Math.floor(Math.abs(t));return t<0?-1*e:e};z.util.Stringify=function(t){switch(z.util.Type(t)){case"Symbol":return`Symbol(${t.description})`;case"Object":return sX(t);case"String":return`"${t}"`;default:return`${t}`}};z.sequenceConverter=function(t){return(e,r,n,i)=>{if(z.util.Type(e)!=="Object")throw z.errors.exception({header:r,message:`${n} (${z.util.Stringify(e)}) is not iterable.`});let s=typeof i=="function"?i():e?.[Symbol.iterator]?.(),a=[],c=0;if(s===void 0||typeof s.next!="function")throw z.errors.exception({header:r,message:`${n} is not iterable.`});for(;;){let{done:l,value:A}=s.next();if(l)break;a.push(t(A,r,`${n}[${c++}]`))}return a}};z.recordConverter=function(t,e){return(r,n,i)=>{if(z.util.Type(r)!=="Object")throw z.errors.exception({header:n,message:`${i} ("${z.util.Type(r)}") is not an Object.`});let s={};if(!ei.isProxy(r)){let c=[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)];for(let l of c){let A=t(l,n,i),u=e(r[l],n,i);s[A]=u}return s}let a=Reflect.ownKeys(r);for(let c of a)if(Reflect.getOwnPropertyDescriptor(r,c)?.enumerable){let A=t(c,n,i),u=e(r[c],n,i);s[A]=u}return s}};z.interfaceConverter=function(t){return(e,r,n,i)=>{if(i?.strict!==!1&&!(e instanceof t))throw z.errors.exception({header:r,message:`Expected ${n} ("${z.util.Stringify(e)}") to be an instance of ${t.name}.`});return e}};z.dictionaryConverter=function(t){return(e,r,n)=>{let i=z.util.Type(e),s={};if(i==="Null"||i==="Undefined")return s;if(i!=="Object")throw z.errors.exception({header:r,message:`Expected ${e} to be one of: Null, Undefined, Object.`});for(let a of t){let{key:c,defaultValue:l,required:A,converter:u}=a;if(A===!0&&!Object.hasOwn(e,c))throw z.errors.exception({header:r,message:`Missing required key "${c}".`});let d=e[c],g=Object.hasOwn(a,"defaultValue");if(g&&d!==null&&(d??=l()),A||g||d!==void 0){if(d=u(d,r,`${n}.${c}`),a.allowedValues&&!a.allowedValues.includes(d))throw z.errors.exception({header:r,message:`${d} is not an accepted type. Expected one of ${a.allowedValues.join(", ")}.`});s[c]=d}}return s}};z.nullableConverter=function(t){return(e,r,n)=>e===null?e:t(e,r,n)};z.converters.DOMString=function(t,e,r,n){if(t===null&&n?.legacyNullToEmptyString)return"";if(typeof t=="symbol")throw z.errors.exception({header:e,message:`${r} is a symbol, which cannot be converted to a DOMString.`});return String(t)};z.converters.ByteString=function(t,e,r){let n=z.converters.DOMString(t,e,r);for(let i=0;i255)throw new TypeError(`Cannot convert argument to a ByteString because the character at index ${i} has a value of ${n.charCodeAt(i)} which is greater than 255.`);return n};z.converters.USVString=aX;z.converters.boolean=function(t){return!!t};z.converters.any=function(t){return t};z.converters["long long"]=function(t,e,r){return z.util.ConvertToInt(t,64,"signed",void 0,e,r)};z.converters["unsigned long long"]=function(t,e,r){return z.util.ConvertToInt(t,64,"unsigned",void 0,e,r)};z.converters["unsigned long"]=function(t,e,r){return z.util.ConvertToInt(t,32,"unsigned",void 0,e,r)};z.converters["unsigned short"]=function(t,e,r,n){return z.util.ConvertToInt(t,16,"unsigned",n,e,r)};z.converters.ArrayBuffer=function(t,e,r,n){if(z.util.Type(t)!=="Object"||!ei.isAnyArrayBuffer(t))throw z.errors.conversionFailed({prefix:e,argument:`${r} ("${z.util.Stringify(t)}")`,types:["ArrayBuffer"]});if(n?.allowShared===!1&&ei.isSharedArrayBuffer(t))throw z.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.resizable||t.growable)throw z.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};z.converters.TypedArray=function(t,e,r,n,i){if(z.util.Type(t)!=="Object"||!ei.isTypedArray(t)||t.constructor.name!==e.name)throw z.errors.conversionFailed({prefix:r,argument:`${n} ("${z.util.Stringify(t)}")`,types:[e.name]});if(i?.allowShared===!1&&ei.isSharedArrayBuffer(t.buffer))throw z.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.buffer.resizable||t.buffer.growable)throw z.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};z.converters.DataView=function(t,e,r,n){if(z.util.Type(t)!=="Object"||!ei.isDataView(t))throw z.errors.exception({header:e,message:`${r} is not a DataView.`});if(n?.allowShared===!1&&ei.isSharedArrayBuffer(t.buffer))throw z.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.buffer.resizable||t.buffer.growable)throw z.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};z.converters.BufferSource=function(t,e,r,n){if(ei.isAnyArrayBuffer(t))return z.converters.ArrayBuffer(t,e,r,{...n,allowShared:!1});if(ei.isTypedArray(t))return z.converters.TypedArray(t,t.constructor,e,r,{...n,allowShared:!1});if(ei.isDataView(t))return z.converters.DataView(t,e,r,{...n,allowShared:!1});throw z.errors.conversionFailed({prefix:e,argument:`${r} ("${z.util.Stringify(t)}")`,types:["BufferSource"]})};z.converters["sequence"]=z.sequenceConverter(z.converters.ByteString);z.converters["sequence>"]=z.sequenceConverter(z.converters["sequence"]);z.converters["record"]=z.recordConverter(z.converters.ByteString,z.converters.ByteString);T_.exports={webidl:z}});var Tr=h((jUe,V_)=>{"use strict";var{Transform:cX}=require("node:stream"),O_=require("node:zlib"),{redirectStatusSet:lX,referrerPolicySet:AX,badPortsSet:uX}=Ml(),{getGlobalOrigin:M_}=OC(),{collectASequenceOfCodePoints:no,collectAnHTTPQuotedString:dX,removeChars:pX,parseMIMEType:mX}=hr(),{performance:gX}=require("node:perf_hooks"),{isBlobLike:fX,ReadableStreamFrom:hX,isValidHTTPToken:k_,normalizedMethodRecordsBase:yX}=Ee(),io=require("node:assert"),{isUint8Array:CX}=require("node:util/types"),{webidl:Ll}=Yt(),L_=[],Ed;try{Ed=require("node:crypto");let t=["sha256","sha384","sha512"];L_=Ed.getHashes().filter(e=>t.includes(e))}catch{}function F_(t){let e=t.urlList,r=e.length;return r===0?null:e[r-1].toString()}o(F_,"responseURL");function EX(t,e){if(!lX.has(t.status))return null;let r=t.headersList.get("location",!0);return r!==null&&q_(r)&&(U_(r)||(r=BX(r)),r=new URL(r,F_(t))),r&&!r.hash&&(r.hash=e),r}o(EX,"responseLocationURL");function U_(t){for(let e=0;e126||r<32)return!1}return!0}o(U_,"isValidEncodedURL");function BX(t){return Buffer.from(t,"binary").toString("utf8")}o(BX,"normalizeBinaryStringToUtf8");function Ul(t){return t.urlList[t.urlList.length-1]}o(Ul,"requestCurrentURL");function IX(t){let e=Ul(t);return Y_(e)&&uX.has(e.port)?"blocked":"allowed"}o(IX,"requestBadPort");function bX(t){return t instanceof Error||t?.constructor?.name==="Error"||t?.constructor?.name==="DOMException"}o(bX,"isErrorLike");function QX(t){for(let e=0;e=32&&r<=126||r>=128&&r<=255))return!1}return!0}o(QX,"isValidReasonPhrase");var wX=k_;function q_(t){return(t[0]===" "||t[0]===" "||t[t.length-1]===" "||t[t.length-1]===" "||t.includes(` -`)||t.includes("\r")||t.includes("\0"))===!1}o(q_,"isValidHeaderValue");function NX(t,e){let{headersList:r}=e,n=(r.get("referrer-policy",!0)??"").split(","),i="";if(n.length>0)for(let s=n.length;s!==0;s--){let a=n[s-1].trim();if(AX.has(a)){i=a;break}}i!==""&&(t.referrerPolicy=i)}o(NX,"setRequestReferrerPolicyOnRedirect");function SX(){return"allowed"}o(SX,"crossOriginResourcePolicyCheck");function xX(){return"success"}o(xX,"corsCheck");function vX(){return"success"}o(vX,"TAOCheck");function RX(t){let e=null;e=t.mode,t.headersList.set("sec-fetch-mode",e,!0)}o(RX,"appendFetchMetadata");function _X(t){let e=t.origin;if(!(e==="client"||e===void 0)){if(t.responseTainting==="cors"||t.mode==="websocket")t.headersList.append("origin",e,!0);else if(t.method!=="GET"&&t.method!=="HEAD"){switch(t.referrerPolicy){case"no-referrer":e=null;break;case"no-referrer-when-downgrade":case"strict-origin":case"strict-origin-when-cross-origin":t.origin&&FC(t.origin)&&!FC(Ul(t))&&(e=null);break;case"same-origin":Bd(t,Ul(t))||(e=null);break;default:}t.headersList.append("origin",e,!0)}}}o(_X,"appendRequestOriginHeader");function fa(t,e){return t}o(fa,"coarsenTime");function PX(t,e,r){return!t?.startTime||t.startTime4096&&(n=i);let s=Bd(t,n),a=Fl(n)&&!Fl(t.url);switch(e){case"origin":return i??LC(r,!0);case"unsafe-url":return n;case"same-origin":return s?i:"no-referrer";case"origin-when-cross-origin":return s?n:i;case"strict-origin-when-cross-origin":{let c=Ul(t);return Bd(n,c)?n:Fl(n)&&!Fl(c)?"no-referrer":i}case"strict-origin":case"no-referrer-when-downgrade":default:return a?"no-referrer":i}}o(MX,"determineRequestsReferrer");function LC(t,e){return io(t instanceof URL),t=new URL(t),t.protocol==="file:"||t.protocol==="about:"||t.protocol==="blank:"?"no-referrer":(t.username="",t.password="",t.hash="",e&&(t.pathname="",t.search=""),t)}o(LC,"stripURLForReferrer");function Fl(t){if(!(t instanceof URL))return!1;if(t.href==="about:blank"||t.href==="about:srcdoc"||t.protocol==="data:"||t.protocol==="file:")return!0;return e(t.origin);function e(r){if(r==null||r==="null")return!1;let n=new URL(r);return!!(n.protocol==="https:"||n.protocol==="wss:"||/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(n.hostname)||n.hostname==="localhost"||n.hostname.includes("localhost.")||n.hostname.endsWith(".localhost"))}}o(Fl,"isURLPotentiallyTrustworthy");function kX(t,e){if(Ed===void 0)return!0;let r=z_(e);if(r==="no metadata"||r.length===0)return!0;let n=FX(r),i=UX(r,n);for(let s of i){let a=s.algo,c=s.hash,l=Ed.createHash(a).update(t).digest("base64");if(l[l.length-1]==="="&&(l[l.length-2]==="="?l=l.slice(0,-2):l=l.slice(0,-1)),qX(l,c))return!0}return!1}o(kX,"bytesMatch");var LX=/(?sha256|sha384|sha512)-((?[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function z_(t){let e=[],r=!0;for(let n of t.split(" ")){r=!1;let i=LX.exec(n);if(i===null||i.groups===void 0||i.groups.algo===void 0)continue;let s=i.groups.algo.toLowerCase();L_.includes(s)&&e.push(i.groups)}return r===!0?"no metadata":e}o(z_,"parseMetadata");function FX(t){let e=t[0].algo;if(e[3]==="5")return e;for(let r=1;r{t=n,e=i}),resolve:t,reject:e}}o(zX,"createDeferredPromise");function jX(t){return t.controller.state==="aborted"}o(jX,"isAborted");function GX(t){return t.controller.state==="aborted"||t.controller.state==="terminated"}o(GX,"isCancelled");function YX(t){return yX[t.toLowerCase()]??t}o(YX,"normalizeMethod");function JX(t){let e=JSON.stringify(t);if(e===void 0)throw new TypeError("Value is not JSON serializable");return io(typeof e=="string"),e}o(JX,"serializeJavascriptValueToJSONString");var VX=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function j_(t,e,r=0,n=1){class i{static{o(this,"FastIterableIterator")}#e;#t;#i;constructor(a,c){this.#e=a,this.#t=c,this.#i=0}next(){if(typeof this!="object"||this===null||!(#e in this))throw new TypeError(`'next' called on an object that does not implement interface ${t} Iterator.`);let a=this.#i,c=this.#e[e],l=c.length;if(a>=l)return{value:void 0,done:!0};let{[r]:A,[n]:u}=c[a];this.#i=a+1;let d;switch(this.#t){case"key":d=A;break;case"value":d=u;break;case"key+value":d=[A,u];break}return{value:d,done:!1}}}return delete i.prototype.constructor,Object.setPrototypeOf(i.prototype,VX),Object.defineProperties(i.prototype,{[Symbol.toStringTag]:{writable:!1,enumerable:!1,configurable:!0,value:`${t} Iterator`},next:{writable:!0,enumerable:!0,configurable:!0}}),function(s,a){return new i(s,a)}}o(j_,"createIterator");function WX(t,e,r,n=0,i=1){let s=j_(t,r,n,i),a={keys:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return Ll.brandCheck(this,e),s(this,"key")},"keys")},values:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return Ll.brandCheck(this,e),s(this,"value")},"values")},entries:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return Ll.brandCheck(this,e),s(this,"key+value")},"entries")},forEach:{writable:!0,enumerable:!0,configurable:!0,value:o(function(l,A=globalThis){if(Ll.brandCheck(this,e),Ll.argumentLengthCheck(arguments,1,`${t}.forEach`),typeof l!="function")throw new TypeError(`Failed to execute 'forEach' on '${t}': parameter 1 is not of type 'Function'.`);for(let{0:u,1:d}of s(this,"key+value"))l.call(A,d,u,this)},"forEach")}};return Object.defineProperties(e.prototype,{...a,[Symbol.iterator]:{writable:!0,enumerable:!1,configurable:!0,value:a.entries.value}})}o(WX,"iteratorMixin");async function KX(t,e,r){let n=e,i=r,s;try{s=t.stream.getReader()}catch(a){i(a);return}try{n(await G_(s))}catch(a){i(a)}}o(KX,"fullyReadBody");function $X(t){return t instanceof ReadableStream||t[Symbol.toStringTag]==="ReadableStream"&&typeof t.tee=="function"}o($X,"isReadableStreamLike");function XX(t){try{t.close(),t.byobRequest?.respond(0)}catch(e){if(!e.message.includes("Controller is already closed")&&!e.message.includes("ReadableStream is already closed"))throw e}}o(XX,"readableStreamClose");var ZX=/[^\x00-\xFF]/;function Cd(t){return io(!ZX.test(t)),t}o(Cd,"isomorphicEncode");async function G_(t){let e=[],r=0;for(;;){let{done:n,value:i}=await t.read();if(n)return Buffer.concat(e,r);if(!CX(i))throw new TypeError("Received non-Uint8Array chunk");e.push(i),r+=i.length}}o(G_,"readAllBytes");function e9(t){io("protocol"in t);let e=t.protocol;return e==="about:"||e==="blob:"||e==="data:"}o(e9,"urlIsLocal");function FC(t){return typeof t=="string"&&t[5]===":"&&t[0]==="h"&&t[1]==="t"&&t[2]==="t"&&t[3]==="p"&&t[4]==="s"||t.protocol==="https:"}o(FC,"urlHasHttpsScheme");function Y_(t){io("protocol"in t);let e=t.protocol;return e==="http:"||e==="https:"}o(Y_,"urlIsHttpHttpsScheme");function t9(t,e){let r=t;if(!r.startsWith("bytes"))return"failure";let n={position:5};if(e&&no(l=>l===" "||l===" ",r,n),r.charCodeAt(n.position)!==61)return"failure";n.position++,e&&no(l=>l===" "||l===" ",r,n);let i=no(l=>{let A=l.charCodeAt(0);return A>=48&&A<=57},r,n),s=i.length?Number(i):null;if(e&&no(l=>l===" "||l===" ",r,n),r.charCodeAt(n.position)!==45)return"failure";n.position++,e&&no(l=>l===" "||l===" ",r,n);let a=no(l=>{let A=l.charCodeAt(0);return A>=48&&A<=57},r,n),c=a.length?Number(a):null;return n.positionc?"failure":{rangeStartValue:s,rangeEndValue:c}}o(t9,"simpleRangeHeaderValue");function r9(t,e,r){let n="bytes ";return n+=Cd(`${t}`),n+="-",n+=Cd(`${e}`),n+="/",n+=Cd(`${r}`),n}o(r9,"buildContentRange");var UC=class extends cX{static{o(this,"InflateStream")}#e;constructor(e){super(),this.#e=e}_transform(e,r,n){if(!this._inflateStream){if(e.length===0){n();return}this._inflateStream=(e[0]&15)===8?O_.createInflate(this.#e):O_.createInflateRaw(this.#e),this._inflateStream.on("data",this.push.bind(this)),this._inflateStream.on("end",()=>this.push(null)),this._inflateStream.on("error",i=>this.destroy(i))}this._inflateStream.write(e,r,n)}_final(e){this._inflateStream&&(this._inflateStream.end(),this._inflateStream=null),e()}};function n9(t){return new UC(t)}o(n9,"createInflate");function i9(t){let e=null,r=null,n=null,i=J_("content-type",t);if(i===null)return"failure";for(let s of i){let a=mX(s);a==="failure"||a.essence==="*/*"||(n=a,n.essence!==r?(e=null,n.parameters.has("charset")&&(e=n.parameters.get("charset")),r=n.essence):!n.parameters.has("charset")&&e!==null&&n.parameters.set("charset",e))}return n??"failure"}o(i9,"extractMimeType");function s9(t){let e=t,r={position:0},n=[],i="";for(;r.positions!=='"'&&s!==",",e,r),r.positions===9||s===32),n.push(i),i=""}return n}o(s9,"gettingDecodingSplitting");function J_(t,e){let r=e.get(t,!0);return r===null?null:s9(r)}o(J_,"getDecodeSplit");var o9=new TextDecoder;function a9(t){return t.length===0?"":(t[0]===239&&t[1]===187&&t[2]===191&&(t=t.subarray(3)),o9.decode(t))}o(a9,"utf8DecodeBytes");var qC=class{static{o(this,"EnvironmentSettingsObjectBase")}get baseUrl(){return M_()}get origin(){return this.baseUrl?.origin}policyContainer=H_()},HC=class{static{o(this,"EnvironmentSettingsObject")}settingsObject=new qC},c9=new HC;V_.exports={isAborted:jX,isCancelled:GX,isValidEncodedURL:U_,createDeferredPromise:zX,ReadableStreamFrom:hX,tryUpgradeRequestToAPotentiallyTrustworthyURL:HX,clampAndCoarsenConnectionTimingInfo:PX,coarsenedSharedCurrentTime:DX,determineRequestsReferrer:MX,makePolicyContainer:H_,clonePolicyContainer:OX,appendFetchMetadata:RX,appendRequestOriginHeader:_X,TAOCheck:vX,corsCheck:xX,crossOriginResourcePolicyCheck:SX,createOpaqueTimingInfo:TX,setRequestReferrerPolicyOnRedirect:NX,isValidHTTPToken:k_,requestBadPort:IX,requestCurrentURL:Ul,responseURL:F_,responseLocationURL:EX,isBlobLike:fX,isURLPotentiallyTrustworthy:Fl,isValidReasonPhrase:QX,sameOrigin:Bd,normalizeMethod:YX,serializeJavascriptValueToJSONString:JX,iteratorMixin:WX,createIterator:j_,isValidHeaderName:wX,isValidHeaderValue:q_,isErrorLike:bX,fullyReadBody:KX,bytesMatch:kX,isReadableStreamLike:$X,readableStreamClose:XX,isomorphicEncode:Cd,urlIsLocal:e9,urlHasHttpsScheme:FC,urlIsHttpHttpsScheme:Y_,readAllBytes:G_,simpleRangeHeaderValue:t9,buildContentRange:r9,parseMetadata:z_,createInflate:n9,extractMimeType:i9,getDecodeSplit:J_,utf8DecodeBytes:a9,environmentSettingsObject:c9}});var cs=h((YUe,W_)=>{"use strict";W_.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kDispatcher:Symbol("dispatcher")}});var jC=h((JUe,K_)=>{"use strict";var{Blob:l9,File:A9}=require("node:buffer"),{kState:Fi}=cs(),{webidl:ti}=Yt(),zC=class t{static{o(this,"FileLike")}constructor(e,r,n={}){let i=r,s=n.type,a=n.lastModified??Date.now();this[Fi]={blobLike:e,name:i,type:s,lastModified:a}}stream(...e){return ti.brandCheck(this,t),this[Fi].blobLike.stream(...e)}arrayBuffer(...e){return ti.brandCheck(this,t),this[Fi].blobLike.arrayBuffer(...e)}slice(...e){return ti.brandCheck(this,t),this[Fi].blobLike.slice(...e)}text(...e){return ti.brandCheck(this,t),this[Fi].blobLike.text(...e)}get size(){return ti.brandCheck(this,t),this[Fi].blobLike.size}get type(){return ti.brandCheck(this,t),this[Fi].blobLike.type}get name(){return ti.brandCheck(this,t),this[Fi].name}get lastModified(){return ti.brandCheck(this,t),this[Fi].lastModified}get[Symbol.toStringTag](){return"File"}};ti.converters.Blob=ti.interfaceConverter(l9);function u9(t){return t instanceof A9||t&&(typeof t.stream=="function"||typeof t.arrayBuffer=="function")&&t[Symbol.toStringTag]==="File"}o(u9,"isFileLike");K_.exports={FileLike:zC,isFileLike:u9}});var Hl=h((WUe,tP)=>{"use strict";var{isBlobLike:Id,iteratorMixin:d9}=Tr(),{kState:lr}=cs(),{kEnumerableProperty:ha}=Ee(),{FileLike:$_,isFileLike:p9}=jC(),{webidl:Je}=Yt(),{File:eP}=require("node:buffer"),X_=require("node:util"),Z_=globalThis.File??eP,ql=class t{static{o(this,"FormData")}constructor(e){if(Je.util.markAsUncloneable(this),e!==void 0)throw Je.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]});this[lr]=[]}append(e,r,n=void 0){Je.brandCheck(this,t);let i="FormData.append";if(Je.argumentLengthCheck(arguments,2,i),arguments.length===3&&!Id(r))throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'");e=Je.converters.USVString(e,i,"name"),r=Id(r)?Je.converters.Blob(r,i,"value",{strict:!1}):Je.converters.USVString(r,i,"value"),n=arguments.length===3?Je.converters.USVString(n,i,"filename"):void 0;let s=GC(e,r,n);this[lr].push(s)}delete(e){Je.brandCheck(this,t);let r="FormData.delete";Je.argumentLengthCheck(arguments,1,r),e=Je.converters.USVString(e,r,"name"),this[lr]=this[lr].filter(n=>n.name!==e)}get(e){Je.brandCheck(this,t);let r="FormData.get";Je.argumentLengthCheck(arguments,1,r),e=Je.converters.USVString(e,r,"name");let n=this[lr].findIndex(i=>i.name===e);return n===-1?null:this[lr][n].value}getAll(e){Je.brandCheck(this,t);let r="FormData.getAll";return Je.argumentLengthCheck(arguments,1,r),e=Je.converters.USVString(e,r,"name"),this[lr].filter(n=>n.name===e).map(n=>n.value)}has(e){Je.brandCheck(this,t);let r="FormData.has";return Je.argumentLengthCheck(arguments,1,r),e=Je.converters.USVString(e,r,"name"),this[lr].findIndex(n=>n.name===e)!==-1}set(e,r,n=void 0){Je.brandCheck(this,t);let i="FormData.set";if(Je.argumentLengthCheck(arguments,2,i),arguments.length===3&&!Id(r))throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'");e=Je.converters.USVString(e,i,"name"),r=Id(r)?Je.converters.Blob(r,i,"name",{strict:!1}):Je.converters.USVString(r,i,"name"),n=arguments.length===3?Je.converters.USVString(n,i,"name"):void 0;let s=GC(e,r,n),a=this[lr].findIndex(c=>c.name===e);a!==-1?this[lr]=[...this[lr].slice(0,a),s,...this[lr].slice(a+1).filter(c=>c.name!==e)]:this[lr].push(s)}[X_.inspect.custom](e,r){let n=this[lr].reduce((s,a)=>(s[a.name]?Array.isArray(s[a.name])?s[a.name].push(a.value):s[a.name]=[s[a.name],a.value]:s[a.name]=a.value,s),{__proto__:null});r.depth??=e,r.colors??=!0;let i=X_.formatWithOptions(r,n);return`FormData ${i.slice(i.indexOf("]")+2)}`}};d9("FormData",ql,lr,"name","value");Object.defineProperties(ql.prototype,{append:ha,delete:ha,get:ha,getAll:ha,has:ha,set:ha,[Symbol.toStringTag]:{value:"FormData",configurable:!0}});function GC(t,e,r){if(typeof e!="string"){if(p9(e)||(e=e instanceof Blob?new Z_([e],"blob",{type:e.type}):new $_(e,"blob",{type:e.type})),r!==void 0){let n={type:e.type,lastModified:e.lastModified};e=e instanceof eP?new Z_([e],r,n):new $_(e,r,n)}}return{name:t,value:e}}o(GC,"makeEntry");tP.exports={FormData:ql,makeEntry:GC}});var aP=h(($Ue,oP)=>{"use strict";var{isUSVString:rP,bufferToLowerCasedHeaderName:m9}=Ee(),{utf8DecodeBytes:g9}=Tr(),{HTTP_TOKEN_CODEPOINTS:f9,isomorphicDecode:nP}=hr(),{isFileLike:h9}=jC(),{makeEntry:y9}=Hl(),bd=require("node:assert"),{File:C9}=require("node:buffer"),E9=globalThis.File??C9,B9=Buffer.from('form-data; name="'),iP=Buffer.from("; filename"),I9=Buffer.from("--"),b9=Buffer.from(`--\r -`);function Q9(t){for(let e=0;e70)return!1;for(let r=0;r=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122||n===39||n===45||n===95))return!1}return!0}o(w9,"validateBoundary");function N9(t,e){bd(e!=="failure"&&e.essence==="multipart/form-data");let r=e.parameters.get("boundary");if(r===void 0)return"failure";let n=Buffer.from(`--${r}`,"utf8"),i=[],s={position:0};for(;t[s.position]===13&&t[s.position+1]===10;)s.position+=2;let a=t.length;for(;t[a-1]===10&&t[a-2]===13;)a-=2;for(a!==t.length&&(t=t.subarray(0,a));;){if(t.subarray(s.position,s.position+n.length).equals(n))s.position+=n.length;else return"failure";if(s.position===t.length-2&&Qd(t,I9,s)||s.position===t.length-4&&Qd(t,b9,s))return i;if(t[s.position]!==13||t[s.position+1]!==10)return"failure";s.position+=2;let c=S9(t,s);if(c==="failure")return"failure";let{name:l,filename:A,contentType:u,encoding:d}=c;s.position+=2;let g;{let C=t.indexOf(n.subarray(2),s.position);if(C===-1)return"failure";g=t.subarray(s.position,C-4),s.position+=g.length,d==="base64"&&(g=Buffer.from(g.toString(),"base64"))}if(t[s.position]!==13||t[s.position+1]!==10)return"failure";s.position+=2;let f;A!==null?(u??="text/plain",Q9(u)||(u=""),f=new E9([g],A,{type:u})):f=g9(Buffer.from(g)),bd(rP(l)),bd(typeof f=="string"&&rP(f)||h9(f)),i.push(y9(l,f,A))}}o(N9,"multipartFormDataParser");function S9(t,e){let r=null,n=null,i=null,s=null;for(;;){if(t[e.position]===13&&t[e.position+1]===10)return r===null?"failure":{name:r,filename:n,contentType:i,encoding:s};let a=ya(c=>c!==10&&c!==13&&c!==58,t,e);if(a=YC(a,!0,!0,c=>c===9||c===32),!f9.test(a.toString())||t[e.position]!==58)return"failure";switch(e.position++,ya(c=>c===32||c===9,t,e),m9(a)){case"content-disposition":{if(r=n=null,!Qd(t,B9,e)||(e.position+=17,r=sP(t,e),r===null))return"failure";if(Qd(t,iP,e)){let c=e.position+iP.length;if(t[c]===42&&(e.position+=1,c+=1),t[c]!==61||t[c+1]!==34||(e.position+=12,n=sP(t,e),n===null))return"failure"}break}case"content-type":{let c=ya(l=>l!==10&&l!==13,t,e);c=YC(c,!1,!0,l=>l===9||l===32),i=nP(c);break}case"content-transfer-encoding":{let c=ya(l=>l!==10&&l!==13,t,e);c=YC(c,!1,!0,l=>l===9||l===32),s=nP(c);break}default:ya(c=>c!==10&&c!==13,t,e)}if(t[e.position]!==13&&t[e.position+1]!==10)return"failure";e.position+=2}}o(S9,"parseMultipartFormDataHeaders");function sP(t,e){bd(t[e.position-1]===34);let r=ya(n=>n!==10&&n!==13&&n!==34,t,e);return t[e.position]!==34?null:(e.position++,r=new TextDecoder().decode(r).replace(/%0A/ig,` -`).replace(/%0D/ig,"\r").replace(/%22/g,'"'),r)}o(sP,"parseMultipartFormDataName");function ya(t,e,r){let n=r.position;for(;n0&&n(t[s]);)s--;return i===0&&s===t.length-1?t:t.subarray(i,s+1)}o(YC,"removeChars");function Qd(t,e,r){if(t.length{"use strict";var zl=Ee(),{ReadableStreamFrom:x9,isBlobLike:cP,isReadableStreamLike:v9,readableStreamClose:R9,createDeferredPromise:_9,fullyReadBody:P9,extractMimeType:D9,utf8DecodeBytes:uP}=Tr(),{FormData:lP}=Hl(),{kState:Ea}=cs(),{webidl:T9}=Yt(),{Blob:O9}=require("node:buffer"),JC=require("node:assert"),{isErrored:dP,isDisturbed:M9}=require("node:stream"),{isArrayBuffer:k9}=require("node:util/types"),{serializeAMimeType:L9}=hr(),{multipartFormDataParser:F9}=aP(),VC;try{let t=require("node:crypto");VC=o(e=>t.randomInt(0,e),"random")}catch{VC=o(t=>Math.floor(Math.random(t)),"random")}var wd=new TextEncoder;function U9(){}o(U9,"noop");var pP=globalThis.FinalizationRegistry&&process.version.indexOf("v18")!==0,mP;pP&&(mP=new FinalizationRegistry(t=>{let e=t.deref();e&&!e.locked&&!M9(e)&&!dP(e)&&e.cancel("Response object has been garbage collected").catch(U9)}));function gP(t,e=!1){let r=null;t instanceof ReadableStream?r=t:cP(t)?r=t.stream():r=new ReadableStream({async pull(l){let A=typeof i=="string"?wd.encode(i):i;A.byteLength&&l.enqueue(A),queueMicrotask(()=>R9(l))},start(){},type:"bytes"}),JC(v9(r));let n=null,i=null,s=null,a=null;if(typeof t=="string")i=t,a="text/plain;charset=UTF-8";else if(t instanceof URLSearchParams)i=t.toString(),a="application/x-www-form-urlencoded;charset=UTF-8";else if(k9(t))i=new Uint8Array(t.slice());else if(ArrayBuffer.isView(t))i=new Uint8Array(t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength));else if(zl.isFormDataLike(t)){let l=`----formdata-undici-0${`${VC(1e11)}`.padStart(11,"0")}`,A=`--${l}\r -Content-Disposition: form-data`;let u=o(x=>x.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22"),"escape"),d=o(x=>x.replace(/\r?\n|\r/g,`\r -`),"normalizeLinefeeds"),g=[],f=new Uint8Array([13,10]);s=0;let C=!1;for(let[x,w]of t)if(typeof w=="string"){let v=wd.encode(A+`; name="${u(d(x))}"\r +var JK=Object.create;var kl=Object.defineProperty;var VK=Object.getOwnPropertyDescriptor;var WK=Object.getOwnPropertyNames;var KK=Object.getPrototypeOf,$K=Object.prototype.hasOwnProperty;var s=(t,e)=>kl(t,"name",{value:e,configurable:!0});var XK=(t,e)=>()=>(t&&(e=t(t=0)),e);var f=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),ZK=(t,e)=>{for(var r in e)kl(t,r,{get:e[r],enumerable:!0})},NR=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of WK(e))!$K.call(t,i)&&i!==r&&kl(t,i,{get:()=>e[i],enumerable:!(n=VK(e,i))||n.enumerable});return t};var ma=(t,e,r)=>(r=t!=null?JK(KK(t)):{},NR(e||!t||!t.__esModule?kl(r,"default",{value:t,enumerable:!0}):r,t)),Xt=t=>NR(kl({},"__esModule",{value:!0}),t);var id=f(nd=>{"use strict";Object.defineProperty(nd,"__esModule",{value:!0});nd.toCommandValue=e$;nd.toCommandProperties=t$;function e$(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}s(e$,"toCommandValue");function t$(t){return Object.keys(t).length?{title:t.title,file:t.file,line:t.startLine,endLine:t.endLine,col:t.startColumn,endColumn:t.endColumn}:{}}s(t$,"toCommandProperties")});var RR=f(ei=>{"use strict";var r$=ei&&ei.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:s(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),n$=ei&&ei.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),i$=ei&&ei.__importStar||(function(){var t=s(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i0){e+=" ";let r=!0;for(let n in this.properties)if(this.properties.hasOwnProperty(n)){let i=this.properties[n];i&&(r?r=!1:e+=",",e+=`${n}=${c$(i)}`)}}return e+=`${wR}${a$(this.message)}`,e}};function a$(t){return(0,SR.toCommandValue)(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}s(a$,"escapeData");function c$(t){return(0,SR.toCommandValue)(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}s(c$,"escapeProperty")});var _R=f(ti=>{"use strict";var l$=ti&&ti.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:s(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),A$=ti&&ti.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),Uy=ti&&ti.__importStar||(function(){var t=s(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i{"use strict";Object.defineProperty(od,"__esModule",{value:!0});od.getProxyUrl=m$;od.checkBypass=DR;function m$(t){let e=t.protocol==="https:";if(DR(t))return;let r=e?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY;if(r)try{return new sd(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new sd(`http://${r}`)}else return}s(m$,"getProxyUrl");function DR(t){if(!t.hostname)return!1;let e=t.hostname;if(g$(e))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let n;t.port?n=Number(t.port):t.protocol==="http:"?n=80:t.protocol==="https:"&&(n=443);let i=[t.hostname.toUpperCase()];typeof n=="number"&&i.push(`${i[0]}:${n}`);for(let o of r.split(",").map(a=>a.trim().toUpperCase()).filter(a=>a))if(o==="*"||i.some(a=>a===o||a.endsWith(`.${o}`)||o.startsWith(".")&&a.endsWith(`${o}`)))return!0;return!1}s(DR,"checkBypass");function g$(t){let e=t.toLowerCase();return e==="localhost"||e.startsWith("127.")||e.startsWith("[::1]")||e.startsWith("[0:0:0:0:0:0:0:1]")}s(g$,"isLoopbackAddress");var sd=class extends URL{static{s(this,"DecodedURL")}constructor(e,r){super(e,r),this._decodedUsername=decodeURIComponent(super.username),this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}}});var LR=f(ga=>{"use strict";var Kke=require("net"),h$=require("tls"),qy=require("http"),OR=require("https"),f$=require("events"),$ke=require("assert"),y$=require("util");ga.httpOverHttp=C$;ga.httpsOverHttp=E$;ga.httpOverHttps=B$;ga.httpsOverHttps=I$;function C$(t){var e=new Mi(t);return e.request=qy.request,e}s(C$,"httpOverHttp");function E$(t){var e=new Mi(t);return e.request=qy.request,e.createSocket=MR,e.defaultPort=443,e}s(E$,"httpsOverHttp");function B$(t){var e=new Mi(t);return e.request=OR.request,e}s(B$,"httpOverHttps");function I$(t){var e=new Mi(t);return e.request=OR.request,e.createSocket=MR,e.defaultPort=443,e}s(I$,"httpsOverHttps");function Mi(t){var e=this;e.options=t||{},e.proxyOptions=e.options.proxy||{},e.maxSockets=e.options.maxSockets||qy.Agent.defaultMaxSockets,e.requests=[],e.sockets=[],e.on("free",s(function(n,i,o,a){for(var c=kR(i,o,a),l=0,A=e.requests.length;l=this.maxSockets){o.requests.push(a);return}o.createSocket(a,function(c){c.on("free",l),c.on("close",A),c.on("agentRemove",A),e.onSocket(c);function l(){o.emit("free",c,a)}s(l,"onFree");function A(u){o.removeSocket(c),c.removeListener("free",l),c.removeListener("close",A),c.removeListener("agentRemove",A)}s(A,"onCloseOrRemove")})},"addRequest");Mi.prototype.createSocket=s(function(e,r){var n=this,i={};n.sockets.push(i);var o=Hy({},n.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1,headers:{host:e.host+":"+e.port}});e.localAddress&&(o.localAddress=e.localAddress),o.proxyAuth&&(o.headers=o.headers||{},o.headers["Proxy-Authorization"]="Basic "+new Buffer(o.proxyAuth).toString("base64")),ls("making CONNECT request");var a=n.request(o);a.useChunkedEncodingByDefault=!1,a.once("response",c),a.once("upgrade",l),a.once("connect",A),a.once("error",u),a.end();function c(d){d.upgrade=!0}s(c,"onResponse");function l(d,g,y){process.nextTick(function(){A(d,g,y)})}s(l,"onUpgrade");function A(d,g,y){if(a.removeAllListeners(),g.removeAllListeners(),d.statusCode!==200){ls("tunneling socket could not be established, statusCode=%d",d.statusCode),g.destroy();var B=new Error("tunneling socket could not be established, statusCode="+d.statusCode);B.code="ECONNRESET",e.request.emit("error",B),n.removeSocket(i);return}if(y.length>0){ls("got illegal response body from proxy"),g.destroy();var B=new Error("got illegal response body from proxy");B.code="ECONNRESET",e.request.emit("error",B),n.removeSocket(i);return}return ls("tunneling connection has established"),n.sockets[n.sockets.indexOf(i)]=g,r(g)}s(A,"onConnect");function u(d){a.removeAllListeners(),ls(`tunneling socket could not be established, cause=%s +`,d.message,d.stack);var g=new Error("tunneling socket could not be established, cause="+d.message);g.code="ECONNRESET",e.request.emit("error",g),n.removeSocket(i)}s(u,"onError")},"createSocket");Mi.prototype.removeSocket=s(function(e){var r=this.sockets.indexOf(e);if(r!==-1){this.sockets.splice(r,1);var n=this.requests.shift();n&&this.createSocket(n,function(i){n.request.onSocket(i)})}},"removeSocket");function MR(t,e){var r=this;Mi.prototype.createSocket.call(r,t,function(n){var i=t.request.getHeader("host"),o=Hy({},r.options,{socket:n,servername:i?i.replace(/:.*$/,""):t.host}),a=h$.connect(0,o);r.sockets[r.sockets.indexOf(n)]=a,e(a)})}s(MR,"createSecureSocket");function kR(t,e,r){return typeof t=="string"?{host:t,port:e,localAddress:r}:t}s(kR,"toOptions");function Hy(t){for(var e=1,r=arguments.length;e{FR.exports=LR()});var et=f((tLe,qR)=>{qR.exports={kClose:Symbol("close"),kDestroy:Symbol("destroy"),kDispatch:Symbol("dispatch"),kUrl:Symbol("url"),kWriting:Symbol("writing"),kResuming:Symbol("resuming"),kQueue:Symbol("queue"),kConnect:Symbol("connect"),kConnecting:Symbol("connecting"),kKeepAliveDefaultTimeout:Symbol("default keep alive timeout"),kKeepAliveMaxTimeout:Symbol("max keep alive timeout"),kKeepAliveTimeoutThreshold:Symbol("keep alive timeout threshold"),kKeepAliveTimeoutValue:Symbol("keep alive timeout"),kKeepAlive:Symbol("keep alive"),kHeadersTimeout:Symbol("headers timeout"),kBodyTimeout:Symbol("body timeout"),kServerName:Symbol("server name"),kLocalAddress:Symbol("local address"),kHost:Symbol("host"),kNoRef:Symbol("no ref"),kBodyUsed:Symbol("used"),kBody:Symbol("abstracted request body"),kRunning:Symbol("running"),kBlocking:Symbol("blocking"),kPending:Symbol("pending"),kSize:Symbol("size"),kBusy:Symbol("busy"),kQueued:Symbol("queued"),kFree:Symbol("free"),kConnected:Symbol("connected"),kClosed:Symbol("closed"),kNeedDrain:Symbol("need drain"),kReset:Symbol("reset"),kDestroyed:Symbol.for("nodejs.stream.destroyed"),kResume:Symbol("resume"),kOnError:Symbol("on error"),kMaxHeadersSize:Symbol("max headers size"),kRunningIdx:Symbol("running index"),kPendingIdx:Symbol("pending index"),kError:Symbol("error"),kClients:Symbol("clients"),kClient:Symbol("client"),kParser:Symbol("parser"),kOnDestroyed:Symbol("destroy callbacks"),kPipelining:Symbol("pipelining"),kSocket:Symbol("socket"),kHostHeader:Symbol("host header"),kConnector:Symbol("connector"),kStrictContentLength:Symbol("strict content length"),kMaxRedirections:Symbol("maxRedirections"),kMaxRequests:Symbol("maxRequestsPerClient"),kProxy:Symbol("proxy agent options"),kCounter:Symbol("socket request counter"),kInterceptors:Symbol("dispatch interceptors"),kMaxResponseSize:Symbol("max response size"),kHTTP2Session:Symbol("http2Session"),kHTTP2SessionState:Symbol("http2Session state"),kRetryHandlerDefaultRetry:Symbol("retry agent default retry"),kConstruct:Symbol("constructable"),kListeners:Symbol("listeners"),kHTTPContext:Symbol("http context"),kMaxConcurrentStreams:Symbol("max concurrent streams"),kNoProxyAgent:Symbol("no proxy agent"),kHttpProxyAgent:Symbol("http proxy agent"),kHttpsProxyAgent:Symbol("https proxy agent")}});var Pe=f((rLe,dv)=>{"use strict";var HR=Symbol.for("undici.error.UND_ERR"),tt=class extends Error{static{s(this,"UndiciError")}constructor(e){super(e),this.name="UndiciError",this.code="UND_ERR"}static[Symbol.hasInstance](e){return e&&e[HR]===!0}[HR]=!0},zR=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT"),zy=class extends tt{static{s(this,"ConnectTimeoutError")}constructor(e){super(e),this.name="ConnectTimeoutError",this.message=e||"Connect Timeout Error",this.code="UND_ERR_CONNECT_TIMEOUT"}static[Symbol.hasInstance](e){return e&&e[zR]===!0}[zR]=!0},GR=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT"),Gy=class extends tt{static{s(this,"HeadersTimeoutError")}constructor(e){super(e),this.name="HeadersTimeoutError",this.message=e||"Headers Timeout Error",this.code="UND_ERR_HEADERS_TIMEOUT"}static[Symbol.hasInstance](e){return e&&e[GR]===!0}[GR]=!0},jR=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW"),jy=class extends tt{static{s(this,"HeadersOverflowError")}constructor(e){super(e),this.name="HeadersOverflowError",this.message=e||"Headers Overflow Error",this.code="UND_ERR_HEADERS_OVERFLOW"}static[Symbol.hasInstance](e){return e&&e[jR]===!0}[jR]=!0},YR=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT"),Yy=class extends tt{static{s(this,"BodyTimeoutError")}constructor(e){super(e),this.name="BodyTimeoutError",this.message=e||"Body Timeout Error",this.code="UND_ERR_BODY_TIMEOUT"}static[Symbol.hasInstance](e){return e&&e[YR]===!0}[YR]=!0},JR=Symbol.for("undici.error.UND_ERR_RESPONSE_STATUS_CODE"),Jy=class extends tt{static{s(this,"ResponseStatusCodeError")}constructor(e,r,n,i){super(e),this.name="ResponseStatusCodeError",this.message=e||"Response Status Code Error",this.code="UND_ERR_RESPONSE_STATUS_CODE",this.body=i,this.status=r,this.statusCode=r,this.headers=n}static[Symbol.hasInstance](e){return e&&e[JR]===!0}[JR]=!0},VR=Symbol.for("undici.error.UND_ERR_INVALID_ARG"),Vy=class extends tt{static{s(this,"InvalidArgumentError")}constructor(e){super(e),this.name="InvalidArgumentError",this.message=e||"Invalid Argument Error",this.code="UND_ERR_INVALID_ARG"}static[Symbol.hasInstance](e){return e&&e[VR]===!0}[VR]=!0},WR=Symbol.for("undici.error.UND_ERR_INVALID_RETURN_VALUE"),Wy=class extends tt{static{s(this,"InvalidReturnValueError")}constructor(e){super(e),this.name="InvalidReturnValueError",this.message=e||"Invalid Return Value Error",this.code="UND_ERR_INVALID_RETURN_VALUE"}static[Symbol.hasInstance](e){return e&&e[WR]===!0}[WR]=!0},KR=Symbol.for("undici.error.UND_ERR_ABORT"),ad=class extends tt{static{s(this,"AbortError")}constructor(e){super(e),this.name="AbortError",this.message=e||"The operation was aborted",this.code="UND_ERR_ABORT"}static[Symbol.hasInstance](e){return e&&e[KR]===!0}[KR]=!0},$R=Symbol.for("undici.error.UND_ERR_ABORTED"),Ky=class extends ad{static{s(this,"RequestAbortedError")}constructor(e){super(e),this.name="AbortError",this.message=e||"Request aborted",this.code="UND_ERR_ABORTED"}static[Symbol.hasInstance](e){return e&&e[$R]===!0}[$R]=!0},XR=Symbol.for("undici.error.UND_ERR_INFO"),$y=class extends tt{static{s(this,"InformationalError")}constructor(e){super(e),this.name="InformationalError",this.message=e||"Request information",this.code="UND_ERR_INFO"}static[Symbol.hasInstance](e){return e&&e[XR]===!0}[XR]=!0},ZR=Symbol.for("undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"),Xy=class extends tt{static{s(this,"RequestContentLengthMismatchError")}constructor(e){super(e),this.name="RequestContentLengthMismatchError",this.message=e||"Request body length does not match content-length header",this.code="UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](e){return e&&e[ZR]===!0}[ZR]=!0},ev=Symbol.for("undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH"),Zy=class extends tt{static{s(this,"ResponseContentLengthMismatchError")}constructor(e){super(e),this.name="ResponseContentLengthMismatchError",this.message=e||"Response body length does not match content-length header",this.code="UND_ERR_RES_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](e){return e&&e[ev]===!0}[ev]=!0},tv=Symbol.for("undici.error.UND_ERR_DESTROYED"),eC=class extends tt{static{s(this,"ClientDestroyedError")}constructor(e){super(e),this.name="ClientDestroyedError",this.message=e||"The client is destroyed",this.code="UND_ERR_DESTROYED"}static[Symbol.hasInstance](e){return e&&e[tv]===!0}[tv]=!0},rv=Symbol.for("undici.error.UND_ERR_CLOSED"),tC=class extends tt{static{s(this,"ClientClosedError")}constructor(e){super(e),this.name="ClientClosedError",this.message=e||"The client is closed",this.code="UND_ERR_CLOSED"}static[Symbol.hasInstance](e){return e&&e[rv]===!0}[rv]=!0},nv=Symbol.for("undici.error.UND_ERR_SOCKET"),rC=class extends tt{static{s(this,"SocketError")}constructor(e,r){super(e),this.name="SocketError",this.message=e||"Socket error",this.code="UND_ERR_SOCKET",this.socket=r}static[Symbol.hasInstance](e){return e&&e[nv]===!0}[nv]=!0},iv=Symbol.for("undici.error.UND_ERR_NOT_SUPPORTED"),nC=class extends tt{static{s(this,"NotSupportedError")}constructor(e){super(e),this.name="NotSupportedError",this.message=e||"Not supported error",this.code="UND_ERR_NOT_SUPPORTED"}static[Symbol.hasInstance](e){return e&&e[iv]===!0}[iv]=!0},sv=Symbol.for("undici.error.UND_ERR_BPL_MISSING_UPSTREAM"),iC=class extends tt{static{s(this,"BalancedPoolMissingUpstreamError")}constructor(e){super(e),this.name="MissingUpstreamError",this.message=e||"No upstream has been added to the BalancedPool",this.code="UND_ERR_BPL_MISSING_UPSTREAM"}static[Symbol.hasInstance](e){return e&&e[sv]===!0}[sv]=!0},ov=Symbol.for("undici.error.UND_ERR_HTTP_PARSER"),sC=class extends Error{static{s(this,"HTTPParserError")}constructor(e,r,n){super(e),this.name="HTTPParserError",this.code=r?`HPE_${r}`:void 0,this.data=n?n.toString():void 0}static[Symbol.hasInstance](e){return e&&e[ov]===!0}[ov]=!0},av=Symbol.for("undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE"),oC=class extends tt{static{s(this,"ResponseExceededMaxSizeError")}constructor(e){super(e),this.name="ResponseExceededMaxSizeError",this.message=e||"Response content exceeded max size",this.code="UND_ERR_RES_EXCEEDED_MAX_SIZE"}static[Symbol.hasInstance](e){return e&&e[av]===!0}[av]=!0},cv=Symbol.for("undici.error.UND_ERR_REQ_RETRY"),aC=class extends tt{static{s(this,"RequestRetryError")}constructor(e,r,{headers:n,data:i}){super(e),this.name="RequestRetryError",this.message=e||"Request retry error",this.code="UND_ERR_REQ_RETRY",this.statusCode=r,this.data=i,this.headers=n}static[Symbol.hasInstance](e){return e&&e[cv]===!0}[cv]=!0},lv=Symbol.for("undici.error.UND_ERR_RESPONSE"),cC=class extends tt{static{s(this,"ResponseError")}constructor(e,r,{headers:n,data:i}){super(e),this.name="ResponseError",this.message=e||"Response error",this.code="UND_ERR_RESPONSE",this.statusCode=r,this.data=i,this.headers=n}static[Symbol.hasInstance](e){return e&&e[lv]===!0}[lv]=!0},Av=Symbol.for("undici.error.UND_ERR_PRX_TLS"),lC=class extends tt{static{s(this,"SecureProxyConnectionError")}constructor(e,r,n){super(r,{cause:e,...n??{}}),this.name="SecureProxyConnectionError",this.message=r||"Secure Proxy Connection failed",this.code="UND_ERR_PRX_TLS",this.cause=e}static[Symbol.hasInstance](e){return e&&e[Av]===!0}[Av]=!0},uv=Symbol.for("undici.error.UND_ERR_WS_MESSAGE_SIZE_EXCEEDED"),AC=class extends tt{static{s(this,"MessageSizeExceededError")}constructor(e){super(e),this.name="MessageSizeExceededError",this.message=e||"Max decompressed message size exceeded",this.code="UND_ERR_WS_MESSAGE_SIZE_EXCEEDED"}static[Symbol.hasInstance](e){return e&&e[uv]===!0}get[uv](){return!0}};dv.exports={AbortError:ad,HTTPParserError:sC,UndiciError:tt,HeadersTimeoutError:Gy,HeadersOverflowError:jy,BodyTimeoutError:Yy,RequestContentLengthMismatchError:Xy,ConnectTimeoutError:zy,ResponseStatusCodeError:Jy,InvalidArgumentError:Vy,InvalidReturnValueError:Wy,RequestAbortedError:Ky,ClientDestroyedError:eC,ClientClosedError:tC,InformationalError:$y,SocketError:rC,NotSupportedError:nC,ResponseContentLengthMismatchError:Zy,BalancedPoolMissingUpstreamError:iC,ResponseExceededMaxSizeError:oC,RequestRetryError:aC,ResponseError:cC,SecureProxyConnectionError:lC,MessageSizeExceededError:AC}});var ld=f((iLe,pv)=>{"use strict";var cd={},uC=["Accept","Accept-Encoding","Accept-Language","Accept-Ranges","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Age","Allow","Alt-Svc","Alt-Used","Authorization","Cache-Control","Clear-Site-Data","Connection","Content-Disposition","Content-Encoding","Content-Language","Content-Length","Content-Location","Content-Range","Content-Security-Policy","Content-Security-Policy-Report-Only","Content-Type","Cookie","Cross-Origin-Embedder-Policy","Cross-Origin-Opener-Policy","Cross-Origin-Resource-Policy","Date","Device-Memory","Downlink","ECT","ETag","Expect","Expect-CT","Expires","Forwarded","From","Host","If-Match","If-Modified-Since","If-None-Match","If-Range","If-Unmodified-Since","Keep-Alive","Last-Modified","Link","Location","Max-Forwards","Origin","Permissions-Policy","Pragma","Proxy-Authenticate","Proxy-Authorization","RTT","Range","Referer","Referrer-Policy","Refresh","Retry-After","Sec-WebSocket-Accept","Sec-WebSocket-Extensions","Sec-WebSocket-Key","Sec-WebSocket-Protocol","Sec-WebSocket-Version","Server","Server-Timing","Service-Worker-Allowed","Service-Worker-Navigation-Preload","Set-Cookie","SourceMap","Strict-Transport-Security","Supports-Loading-Mode","TE","Timing-Allow-Origin","Trailer","Transfer-Encoding","Upgrade","Upgrade-Insecure-Requests","User-Agent","Vary","Via","WWW-Authenticate","X-Content-Type-Options","X-DNS-Prefetch-Control","X-Frame-Options","X-Permitted-Cross-Domain-Policies","X-Powered-By","X-Requested-With","X-XSS-Protection"];for(let t=0;t{"use strict";var{wellknownHeaderNames:mv,headerNameLowerCasedRecord:b$}=ld(),dC=class t{static{s(this,"TstNode")}value=null;left=null;middle=null;right=null;code;constructor(e,r,n){if(n===void 0||n>=e.length)throw new TypeError("Unreachable");if((this.code=e.charCodeAt(n))>127)throw new TypeError("key must be ascii string");e.length!==++n?this.middle=new t(e,r,n):this.value=r}add(e,r){let n=e.length;if(n===0)throw new TypeError("Unreachable");let i=0,o=this;for(;;){let a=e.charCodeAt(i);if(a>127)throw new TypeError("key must be ascii string");if(o.code===a)if(n===++i){o.value=r;break}else if(o.middle!==null)o=o.middle;else{o.middle=new t(e,r,i);break}else if(o.code=65&&(o|=32);i!==null;){if(o===i.code){if(r===++n)return i;i=i.middle;break}i=i.code{"use strict";var Ll=require("node:assert"),{kDestroyed:Cv,kBodyUsed:ha,kListeners:pC,kBody:yv}=et(),{IncomingMessage:Q$}=require("node:http"),pd=require("node:stream"),N$=require("node:net"),{Blob:w$}=require("node:buffer"),S$=require("node:util"),{stringify:x$}=require("node:querystring"),{EventEmitter:R$}=require("node:events"),{InvalidArgumentError:Ut}=Pe(),{headerNameLowerCasedRecord:v$}=ld(),{tree:Ev}=fv(),[P$,_$]=process.versions.node.split(".").map(t=>Number(t)),dd=class{static{s(this,"BodyAsyncIterable")}constructor(e){this[yv]=e,this[ha]=!1}async*[Symbol.asyncIterator](){Ll(!this[ha],"disturbed"),this[ha]=!0,yield*this[yv]}};function D$(t){return md(t)?(Nv(t)===0&&t.on("data",function(){Ll(!1)}),typeof t.readableDidRead!="boolean"&&(t[ha]=!1,R$.prototype.on.call(t,"data",function(){this[ha]=!0})),t):t&&typeof t.pipeTo=="function"?new dd(t):t&&typeof t!="string"&&!ArrayBuffer.isView(t)&&Qv(t)?new dd(t):t}s(D$,"wrapRequestBody");function T$(){}s(T$,"nop");function md(t){return t&&typeof t=="object"&&typeof t.pipe=="function"&&typeof t.on=="function"}s(md,"isStream");function Bv(t){if(t===null)return!1;if(t instanceof w$)return!0;if(typeof t!="object")return!1;{let e=t[Symbol.toStringTag];return(e==="Blob"||e==="File")&&("stream"in t&&typeof t.stream=="function"||"arrayBuffer"in t&&typeof t.arrayBuffer=="function")}}s(Bv,"isBlobLike");function O$(t,e){if(t.includes("?")||t.includes("#"))throw new Error('Query params cannot be passed when url already contains "?" or "#".');let r=x$(e);return r&&(t+="?"+r),t}s(O$,"buildURL");function Iv(t){let e=parseInt(t,10);return e===Number(t)&&e>=0&&e<=65535}s(Iv,"isValidPort");function ud(t){return t!=null&&t[0]==="h"&&t[1]==="t"&&t[2]==="t"&&t[3]==="p"&&(t[4]===":"||t[4]==="s"&&t[5]===":")}s(ud,"isHttpOrHttpsPrefixed");function bv(t){if(typeof t=="string"){if(t=new URL(t),!ud(t.origin||t.protocol))throw new Ut("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}if(!t||typeof t!="object")throw new Ut("Invalid URL: The URL argument must be a non-null object.");if(!(t instanceof URL)){if(t.port!=null&&t.port!==""&&Iv(t.port)===!1)throw new Ut("Invalid URL: port must be a valid integer or a string representation of an integer.");if(t.path!=null&&typeof t.path!="string")throw new Ut("Invalid URL path: the path must be a string or null/undefined.");if(t.pathname!=null&&typeof t.pathname!="string")throw new Ut("Invalid URL pathname: the pathname must be a string or null/undefined.");if(t.hostname!=null&&typeof t.hostname!="string")throw new Ut("Invalid URL hostname: the hostname must be a string or null/undefined.");if(t.origin!=null&&typeof t.origin!="string")throw new Ut("Invalid URL origin: the origin must be a string or null/undefined.");if(!ud(t.origin||t.protocol))throw new Ut("Invalid URL protocol: the URL must start with `http:` or `https:`.");let e=t.port!=null?t.port:t.protocol==="https:"?443:80,r=t.origin!=null?t.origin:`${t.protocol||""}//${t.hostname||""}:${e}`,n=t.path!=null?t.path:`${t.pathname||""}${t.search||""}`;return r[r.length-1]==="/"&&(r=r.slice(0,r.length-1)),n&&n[0]!=="/"&&(n=`/${n}`),new URL(`${r}${n}`)}if(!ud(t.origin||t.protocol))throw new Ut("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}s(bv,"parseURL");function M$(t){if(t=bv(t),t.pathname!=="/"||t.search||t.hash)throw new Ut("invalid url");return t}s(M$,"parseOrigin");function k$(t){if(t[0]==="["){let r=t.indexOf("]");return Ll(r!==-1),t.substring(1,r)}let e=t.indexOf(":");return e===-1?t:t.substring(0,e)}s(k$,"getHostname");function L$(t){if(!t)return null;Ll(typeof t=="string");let e=k$(t);return N$.isIP(e)?"":e}s(L$,"getServerName");function F$(t){return JSON.parse(JSON.stringify(t))}s(F$,"deepClone");function U$(t){return t!=null&&typeof t[Symbol.asyncIterator]=="function"}s(U$,"isAsyncIterable");function Qv(t){return t!=null&&(typeof t[Symbol.iterator]=="function"||typeof t[Symbol.asyncIterator]=="function")}s(Qv,"isIterable");function Nv(t){if(t==null)return 0;if(md(t)){let e=t._readableState;return e&&e.objectMode===!1&&e.ended===!0&&Number.isFinite(e.length)?e.length:null}else{if(Bv(t))return t.size!=null?t.size:null;if(xv(t))return t.byteLength}return null}s(Nv,"bodyLength");function wv(t){return t&&!!(t.destroyed||t[Cv]||pd.isDestroyed?.(t))}s(wv,"isDestroyed");function q$(t,e){t==null||!md(t)||wv(t)||(typeof t.destroy=="function"?(Object.getPrototypeOf(t).constructor===Q$&&(t.socket=null),t.destroy(e)):e&&queueMicrotask(()=>{t.emit("error",e)}),t.destroyed!==!0&&(t[Cv]=!0))}s(q$,"destroy");var H$=/timeout=(\d+)/;function z$(t){let e=t.toString().match(H$);return e?parseInt(e[1],10)*1e3:null}s(z$,"parseKeepAliveTimeout");function Sv(t){return typeof t=="string"?v$[t]??t.toLowerCase():Ev.lookup(t)??t.toString("latin1").toLowerCase()}s(Sv,"headerNameToString");function G$(t){return Ev.lookup(t)??t.toString("latin1").toLowerCase()}s(G$,"bufferToLowerCasedHeaderName");function j$(t,e){e===void 0&&(e={});for(let r=0;ra.toString("utf8")):o.toString("utf8")}}return"content-length"in e&&"content-disposition"in e&&(e["content-disposition"]=Buffer.from(e["content-disposition"]).toString("latin1")),e}s(j$,"parseHeaders");function Y$(t){let e=t.length,r=new Array(e),n=!1,i=-1,o,a,c=0;for(let l=0;l{r.close(),r.byobRequest?.respond(0)});else{let o=Buffer.isBuffer(i)?i:Buffer.from(i);o.byteLength&&r.enqueue(new Uint8Array(o))}return r.desiredSize>0},async cancel(r){await e.return()},type:"bytes"})}s(X$,"ReadableStreamFrom");function Z$(t){return t&&typeof t=="object"&&typeof t.append=="function"&&typeof t.delete=="function"&&typeof t.get=="function"&&typeof t.getAll=="function"&&typeof t.has=="function"&&typeof t.set=="function"&&t[Symbol.toStringTag]==="FormData"}s(Z$,"isFormDataLike");function e4(t,e){return"addEventListener"in t?(t.addEventListener("abort",e,{once:!0}),()=>t.removeEventListener("abort",e)):(t.addListener("abort",e),()=>t.removeListener("abort",e))}s(e4,"addAbortListener");var t4=typeof String.prototype.toWellFormed=="function",r4=typeof String.prototype.isWellFormed=="function";function Rv(t){return t4?`${t}`.toWellFormed():S$.toUSVString(t)}s(Rv,"toUSVString");function n4(t){return r4?`${t}`.isWellFormed():Rv(t)===`${t}`}s(n4,"isUSVString");function vv(t){switch(t){case 34:case 40:case 41:case 44:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 123:case 125:return!1;default:return t>=33&&t<=126}}s(vv,"isTokenCharCode");function i4(t){if(t.length===0)return!1;for(let e=0;e{"use strict";var Te=require("node:diagnostics_channel"),hC=require("node:util"),gd=hC.debuglog("undici"),gC=hC.debuglog("fetch"),ao=hC.debuglog("websocket"),Tv=!1,u4={beforeConnect:Te.channel("undici:client:beforeConnect"),connected:Te.channel("undici:client:connected"),connectError:Te.channel("undici:client:connectError"),sendHeaders:Te.channel("undici:client:sendHeaders"),create:Te.channel("undici:request:create"),bodySent:Te.channel("undici:request:bodySent"),headers:Te.channel("undici:request:headers"),trailers:Te.channel("undici:request:trailers"),error:Te.channel("undici:request:error"),open:Te.channel("undici:websocket:open"),close:Te.channel("undici:websocket:close"),socketError:Te.channel("undici:websocket:socket_error"),ping:Te.channel("undici:websocket:ping"),pong:Te.channel("undici:websocket:pong")};if(gd.enabled||gC.enabled){let t=gC.enabled?gC:gd;Te.channel("undici:client:beforeConnect").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:i,host:o}}=e;t("connecting to %s using %s%s",`${o}${i?`:${i}`:""}`,n,r)}),Te.channel("undici:client:connected").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:i,host:o}}=e;t("connected to %s using %s%s",`${o}${i?`:${i}`:""}`,n,r)}),Te.channel("undici:client:connectError").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:i,host:o},error:a}=e;t("connection to %s using %s%s errored - %s",`${o}${i?`:${i}`:""}`,n,r,a.message)}),Te.channel("undici:client:sendHeaders").subscribe(e=>{let{request:{method:r,path:n,origin:i}}=e;t("sending request to %s %s/%s",r,i,n)}),Te.channel("undici:request:headers").subscribe(e=>{let{request:{method:r,path:n,origin:i},response:{statusCode:o}}=e;t("received response to %s %s/%s - HTTP %d",r,i,n,o)}),Te.channel("undici:request:trailers").subscribe(e=>{let{request:{method:r,path:n,origin:i}}=e;t("trailers received from %s %s/%s",r,i,n)}),Te.channel("undici:request:error").subscribe(e=>{let{request:{method:r,path:n,origin:i},error:o}=e;t("request to %s %s/%s errored - %s",r,i,n,o.message)}),Tv=!0}if(ao.enabled){if(!Tv){let t=gd.enabled?gd:ao;Te.channel("undici:client:beforeConnect").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:i,host:o}}=e;t("connecting to %s%s using %s%s",o,i?`:${i}`:"",n,r)}),Te.channel("undici:client:connected").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:i,host:o}}=e;t("connected to %s%s using %s%s",o,i?`:${i}`:"",n,r)}),Te.channel("undici:client:connectError").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:i,host:o},error:a}=e;t("connection to %s%s using %s%s errored - %s",o,i?`:${i}`:"",n,r,a.message)}),Te.channel("undici:client:sendHeaders").subscribe(e=>{let{request:{method:r,path:n,origin:i}}=e;t("sending request to %s %s/%s",r,i,n)})}Te.channel("undici:websocket:open").subscribe(t=>{let{address:{address:e,port:r}}=t;ao("connection opened %s%s",e,r?`:${r}`:"")}),Te.channel("undici:websocket:close").subscribe(t=>{let{websocket:e,code:r,reason:n}=t;ao("closed connection to %s - %s %s",e.url,r,n)}),Te.channel("undici:websocket:socket_error").subscribe(t=>{ao("connection errored - %s",t.message)}),Te.channel("undici:websocket:ping").subscribe(t=>{ao("ping received")}),Te.channel("undici:websocket:pong").subscribe(t=>{ao("pong received")})}Ov.exports={channels:u4}});var Fv=f((ALe,Lv)=>{"use strict";var{InvalidArgumentError:Ye,NotSupportedError:d4}=Pe(),ki=require("node:assert"),{isValidHTTPToken:kv,isValidHeaderValue:fC,isStream:p4,destroy:m4,isBuffer:g4,isFormDataLike:h4,isIterable:f4,isBlobLike:y4,buildURL:C4,validateHandler:E4,getServerName:B4,normalizedMethodRecords:I4}=Ce(),{channels:ri}=fa(),{headerNameLowerCasedRecord:Mv}=ld(),b4=/[^\u0021-\u00ff]/,ln=Symbol("handler"),yC=class{static{s(this,"Request")}constructor(e,{path:r,method:n,body:i,headers:o,query:a,idempotent:c,blocking:l,upgrade:A,headersTimeout:u,bodyTimeout:d,reset:g,throwOnError:y,expectContinue:B,servername:w},x){if(typeof r!="string")throw new Ye("path must be a string");if(r[0]!=="/"&&!(r.startsWith("http://")||r.startsWith("https://"))&&n!=="CONNECT")throw new Ye("path must be an absolute URL or start with a slash");if(b4.test(r))throw new Ye("invalid request path");if(typeof n!="string")throw new Ye("method must be a string");if(I4[n]===void 0&&!kv(n))throw new Ye("invalid request method");if(A&&typeof A!="string")throw new Ye("upgrade must be a string");if(A&&!fC(A))throw new Ye("invalid upgrade header");if(u!=null&&(!Number.isFinite(u)||u<0))throw new Ye("invalid headersTimeout");if(d!=null&&(!Number.isFinite(d)||d<0))throw new Ye("invalid bodyTimeout");if(g!=null&&typeof g!="boolean")throw new Ye("invalid reset");if(B!=null&&typeof B!="boolean")throw new Ye("invalid expectContinue");if(this.headersTimeout=u,this.bodyTimeout=d,this.throwOnError=y===!0,this.method=n,this.abort=null,i==null)this.body=null;else if(p4(i)){this.body=i;let S=this.body._readableState;(!S||!S.autoDestroy)&&(this.endHandler=s(function(){m4(this)},"autoDestroy"),this.body.on("end",this.endHandler)),this.errorHandler=R=>{this.abort?this.abort(R):this.error=R},this.body.on("error",this.errorHandler)}else if(g4(i))this.body=i.byteLength?i:null;else if(ArrayBuffer.isView(i))this.body=i.buffer.byteLength?Buffer.from(i.buffer,i.byteOffset,i.byteLength):null;else if(i instanceof ArrayBuffer)this.body=i.byteLength?Buffer.from(i):null;else if(typeof i=="string")this.body=i.length?Buffer.from(i):null;else if(h4(i)||f4(i)||y4(i))this.body=i;else throw new Ye("body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable");if(this.completed=!1,this.aborted=!1,this.upgrade=A||null,this.path=a?C4(r,a):r,this.origin=e,this.idempotent=c??(n==="HEAD"||n==="GET"),this.blocking=l??!1,this.reset=g??null,this.host=null,this.contentLength=null,this.contentType=null,this.headers=[],this.expectContinue=B??!1,Array.isArray(o)){if(o.length%2!==0)throw new Ye("headers array must be even");for(let S=0;S{"use strict";var Q4=require("node:events"),fd=class extends Q4{static{s(this,"Dispatcher")}dispatch(){throw new Error("not implemented")}close(){throw new Error("not implemented")}destroy(){throw new Error("not implemented")}compose(...e){let r=Array.isArray(e[0])?e[0]:e,n=this.dispatch.bind(this);for(let i of r)if(i!=null){if(typeof i!="function")throw new TypeError(`invalid interceptor, expected function received ${typeof i}`);if(n=i(n),n==null||typeof n!="function"||n.length!==2)throw new TypeError("invalid interceptor")}return new CC(this,n)}},CC=class extends fd{static{s(this,"ComposedDispatcher")}#e=null;#t=null;constructor(e,r){super(),this.#e=e,this.#t=r}dispatch(...e){this.#t(...e)}close(...e){return this.#e.close(...e)}destroy(...e){return this.#e.destroy(...e)}};Uv.exports=fd});var Ba=f((mLe,qv)=>{"use strict";var N4=Fl(),{ClientDestroyedError:EC,ClientClosedError:w4,InvalidArgumentError:ya}=Pe(),{kDestroy:S4,kClose:x4,kClosed:Ul,kDestroyed:Ca,kDispatch:BC,kInterceptors:co}=et(),Li=Symbol("onDestroyed"),Ea=Symbol("onClosed"),yd=Symbol("Intercepted Dispatch"),IC=class extends N4{static{s(this,"DispatcherBase")}constructor(){super(),this[Ca]=!1,this[Li]=null,this[Ul]=!1,this[Ea]=[]}get destroyed(){return this[Ca]}get closed(){return this[Ul]}get interceptors(){return this[co]}set interceptors(e){if(e){for(let r=e.length-1;r>=0;r--)if(typeof this[co][r]!="function")throw new ya("interceptor must be an function")}this[co]=e}close(e){if(e===void 0)return new Promise((n,i)=>{this.close((o,a)=>o?i(o):n(a))});if(typeof e!="function")throw new ya("invalid callback");if(this[Ca]){queueMicrotask(()=>e(new EC,null));return}if(this[Ul]){this[Ea]?this[Ea].push(e):queueMicrotask(()=>e(null,null));return}this[Ul]=!0,this[Ea].push(e);let r=s(()=>{let n=this[Ea];this[Ea]=null;for(let i=0;ithis.destroy()).then(()=>{queueMicrotask(r)})}destroy(e,r){if(typeof e=="function"&&(r=e,e=null),r===void 0)return new Promise((i,o)=>{this.destroy(e,(a,c)=>a?o(a):i(c))});if(typeof r!="function")throw new ya("invalid callback");if(this[Ca]){this[Li]?this[Li].push(r):queueMicrotask(()=>r(null,null));return}e||(e=new EC),this[Ca]=!0,this[Li]=this[Li]||[],this[Li].push(r);let n=s(()=>{let i=this[Li];this[Li]=null;for(let o=0;o{queueMicrotask(n)})}[yd](e,r){if(!this[co]||this[co].length===0)return this[yd]=this[BC],this[BC](e,r);let n=this[BC].bind(this);for(let i=this[co].length-1;i>=0;i--)n=this[co][i](n);return this[yd]=n,n(e,r)}dispatch(e,r){if(!r||typeof r!="object")throw new ya("handler must be an object");try{if(!e||typeof e!="object")throw new ya("opts must be an object.");if(this[Ca]||this[Li])throw new EC;if(this[Ul])throw new w4;return this[yd](e,r)}catch(n){if(typeof r.onError!="function")throw new ya("invalid onError method");return r.onError(n),!1}}};qv.exports=IC});var RC=f((hLe,jv)=>{"use strict";var Ia=0,bC=1e3,QC=(bC>>1)-1,Fi,NC=Symbol("kFastTimer"),Ui=[],wC=-2,SC=-1,zv=0,Hv=1;function xC(){Ia+=QC;let t=0,e=Ui.length;for(;t=r._idleStart+r._idleTimeout&&(r._state=SC,r._idleStart=-1,r._onTimeout(r._timerArg)),r._state===SC?(r._state=wC,--e!==0&&(Ui[t]=Ui[e])):++t}Ui.length=e,Ui.length!==0&&Gv()}s(xC,"onTick");function Gv(){Fi?Fi.refresh():(clearTimeout(Fi),Fi=setTimeout(xC,QC),Fi.unref&&Fi.unref())}s(Gv,"refreshTimeout");var Cd=class{static{s(this,"FastTimer")}[NC]=!0;_state=wC;_idleTimeout=-1;_idleStart=-1;_onTimeout;_timerArg;constructor(e,r,n){this._onTimeout=e,this._idleTimeout=r,this._timerArg=n,this.refresh()}refresh(){this._state===wC&&Ui.push(this),(!Fi||Ui.length===1)&&Gv(),this._state=zv}clear(){this._state=SC,this._idleStart=-1}};jv.exports={setTimeout(t,e,r){return e<=bC?setTimeout(t,e,r):new Cd(t,e,r)},clearTimeout(t){t[NC]?t.clear():clearTimeout(t)},setFastTimeout(t,e,r){return new Cd(t,e,r)},clearFastTimeout(t){t.clear()},now(){return Ia},tick(t=0){Ia+=t-bC+1,xC(),xC()},reset(){Ia=0,Ui.length=0,clearTimeout(Fi),Fi=null},kFastTimer:NC}});var ql=f((ELe,Kv)=>{"use strict";var R4=require("node:net"),Yv=require("node:assert"),Wv=Ce(),{InvalidArgumentError:v4,ConnectTimeoutError:P4}=Pe(),Ed=RC();function Jv(){}s(Jv,"noop");var vC,PC;global.FinalizationRegistry&&!(process.env.NODE_V8_COVERAGE||process.env.UNDICI_NO_FG)?PC=class{static{s(this,"WeakSessionCache")}constructor(e){this._maxCachedSessions=e,this._sessionCache=new Map,this._sessionRegistry=new global.FinalizationRegistry(r=>{if(this._sessionCache.size=this._maxCachedSessions){let{value:n}=this._sessionCache.keys().next();this._sessionCache.delete(n)}this._sessionCache.set(e,r)}}};function _4({allowH2:t,maxCachedSessions:e,socketPath:r,timeout:n,session:i,...o}){if(e!=null&&(!Number.isInteger(e)||e<0))throw new v4("maxCachedSessions must be a positive integer or zero");let a={path:r,...o},c=new PC(e??100);return n=n??1e4,t=t??!1,s(function({hostname:A,host:u,protocol:d,port:g,servername:y,localAddress:B,httpSocket:w},x){let S;if(d==="https:"){vC||(vC=require("node:tls")),y=y||a.servername||Wv.getServerName(u)||null;let D=y||A;Yv(D);let L=i||c.get(D)||null;g=g||443,S=vC.connect({highWaterMark:16384,...a,servername:y,session:L,localAddress:B,ALPNProtocols:t?["http/1.1","h2"]:["http/1.1"],socket:w,port:g,host:A}),S.on("session",function(K){c.set(D,K)})}else Yv(!w,"httpSocket can only be sent on TLS update"),g=g||80,S=R4.connect({highWaterMark:64*1024,...a,localAddress:B,port:g,host:A});if(a.keepAlive==null||a.keepAlive){let D=a.keepAliveInitialDelay===void 0?6e4:a.keepAliveInitialDelay;S.setKeepAlive(!0,D)}let R=D4(new WeakRef(S),{timeout:n,hostname:A,port:g});return S.setNoDelay(!0).once(d==="https:"?"secureConnect":"connect",function(){if(queueMicrotask(R),x){let D=x;x=null,D(null,this)}}).on("error",function(D){if(queueMicrotask(R),x){let L=x;x=null,L(D)}}),S},"connect")}s(_4,"buildConnector");var D4=process.platform==="win32"?(t,e)=>{if(!e.timeout)return Jv;let r=null,n=null,i=Ed.setFastTimeout(()=>{r=setImmediate(()=>{n=setImmediate(()=>Vv(t.deref(),e))})},e.timeout);return()=>{Ed.clearFastTimeout(i),clearImmediate(r),clearImmediate(n)}}:(t,e)=>{if(!e.timeout)return Jv;let r=null,n=Ed.setFastTimeout(()=>{r=setImmediate(()=>{Vv(t.deref(),e)})},e.timeout);return()=>{Ed.clearFastTimeout(n),clearImmediate(r)}};function Vv(t,e){if(t==null)return;let r="Connect Timeout Error";Array.isArray(t.autoSelectFamilyAttemptedAddresses)?r+=` (attempted addresses: ${t.autoSelectFamilyAttemptedAddresses.join(", ")},`:r+=` (attempted address: ${e.hostname}:${e.port},`,r+=` timeout: ${e.timeout}ms)`,Wv.destroy(t,new P4(r))}s(Vv,"onConnectTimeout");Kv.exports=_4});var $v=f(Bd=>{"use strict";Object.defineProperty(Bd,"__esModule",{value:!0});Bd.enumToMap=void 0;function T4(t){let e={};return Object.keys(t).forEach(r=>{let n=t[r];typeof n=="number"&&(e[r]=n)}),e}s(T4,"enumToMap");Bd.enumToMap=T4});var Xv=f(G=>{"use strict";Object.defineProperty(G,"__esModule",{value:!0});G.SPECIAL_HEADERS=G.HEADER_STATE=G.MINOR=G.MAJOR=G.CONNECTION_TOKEN_CHARS=G.HEADER_CHARS=G.TOKEN=G.STRICT_TOKEN=G.HEX=G.URL_CHAR=G.STRICT_URL_CHAR=G.USERINFO_CHARS=G.MARK=G.ALPHANUM=G.NUM=G.HEX_MAP=G.NUM_MAP=G.ALPHA=G.FINISH=G.H_METHOD_MAP=G.METHOD_MAP=G.METHODS_RTSP=G.METHODS_ICE=G.METHODS_HTTP=G.METHODS=G.LENIENT_FLAGS=G.FLAGS=G.TYPE=G.ERROR=void 0;var O4=$v(),M4;(function(t){t[t.OK=0]="OK",t[t.INTERNAL=1]="INTERNAL",t[t.STRICT=2]="STRICT",t[t.LF_EXPECTED=3]="LF_EXPECTED",t[t.UNEXPECTED_CONTENT_LENGTH=4]="UNEXPECTED_CONTENT_LENGTH",t[t.CLOSED_CONNECTION=5]="CLOSED_CONNECTION",t[t.INVALID_METHOD=6]="INVALID_METHOD",t[t.INVALID_URL=7]="INVALID_URL",t[t.INVALID_CONSTANT=8]="INVALID_CONSTANT",t[t.INVALID_VERSION=9]="INVALID_VERSION",t[t.INVALID_HEADER_TOKEN=10]="INVALID_HEADER_TOKEN",t[t.INVALID_CONTENT_LENGTH=11]="INVALID_CONTENT_LENGTH",t[t.INVALID_CHUNK_SIZE=12]="INVALID_CHUNK_SIZE",t[t.INVALID_STATUS=13]="INVALID_STATUS",t[t.INVALID_EOF_STATE=14]="INVALID_EOF_STATE",t[t.INVALID_TRANSFER_ENCODING=15]="INVALID_TRANSFER_ENCODING",t[t.CB_MESSAGE_BEGIN=16]="CB_MESSAGE_BEGIN",t[t.CB_HEADERS_COMPLETE=17]="CB_HEADERS_COMPLETE",t[t.CB_MESSAGE_COMPLETE=18]="CB_MESSAGE_COMPLETE",t[t.CB_CHUNK_HEADER=19]="CB_CHUNK_HEADER",t[t.CB_CHUNK_COMPLETE=20]="CB_CHUNK_COMPLETE",t[t.PAUSED=21]="PAUSED",t[t.PAUSED_UPGRADE=22]="PAUSED_UPGRADE",t[t.PAUSED_H2_UPGRADE=23]="PAUSED_H2_UPGRADE",t[t.USER=24]="USER"})(M4=G.ERROR||(G.ERROR={}));var k4;(function(t){t[t.BOTH=0]="BOTH",t[t.REQUEST=1]="REQUEST",t[t.RESPONSE=2]="RESPONSE"})(k4=G.TYPE||(G.TYPE={}));var L4;(function(t){t[t.CONNECTION_KEEP_ALIVE=1]="CONNECTION_KEEP_ALIVE",t[t.CONNECTION_CLOSE=2]="CONNECTION_CLOSE",t[t.CONNECTION_UPGRADE=4]="CONNECTION_UPGRADE",t[t.CHUNKED=8]="CHUNKED",t[t.UPGRADE=16]="UPGRADE",t[t.CONTENT_LENGTH=32]="CONTENT_LENGTH",t[t.SKIPBODY=64]="SKIPBODY",t[t.TRAILING=128]="TRAILING",t[t.TRANSFER_ENCODING=512]="TRANSFER_ENCODING"})(L4=G.FLAGS||(G.FLAGS={}));var F4;(function(t){t[t.HEADERS=1]="HEADERS",t[t.CHUNKED_LENGTH=2]="CHUNKED_LENGTH",t[t.KEEP_ALIVE=4]="KEEP_ALIVE"})(F4=G.LENIENT_FLAGS||(G.LENIENT_FLAGS={}));var se;(function(t){t[t.DELETE=0]="DELETE",t[t.GET=1]="GET",t[t.HEAD=2]="HEAD",t[t.POST=3]="POST",t[t.PUT=4]="PUT",t[t.CONNECT=5]="CONNECT",t[t.OPTIONS=6]="OPTIONS",t[t.TRACE=7]="TRACE",t[t.COPY=8]="COPY",t[t.LOCK=9]="LOCK",t[t.MKCOL=10]="MKCOL",t[t.MOVE=11]="MOVE",t[t.PROPFIND=12]="PROPFIND",t[t.PROPPATCH=13]="PROPPATCH",t[t.SEARCH=14]="SEARCH",t[t.UNLOCK=15]="UNLOCK",t[t.BIND=16]="BIND",t[t.REBIND=17]="REBIND",t[t.UNBIND=18]="UNBIND",t[t.ACL=19]="ACL",t[t.REPORT=20]="REPORT",t[t.MKACTIVITY=21]="MKACTIVITY",t[t.CHECKOUT=22]="CHECKOUT",t[t.MERGE=23]="MERGE",t[t["M-SEARCH"]=24]="M-SEARCH",t[t.NOTIFY=25]="NOTIFY",t[t.SUBSCRIBE=26]="SUBSCRIBE",t[t.UNSUBSCRIBE=27]="UNSUBSCRIBE",t[t.PATCH=28]="PATCH",t[t.PURGE=29]="PURGE",t[t.MKCALENDAR=30]="MKCALENDAR",t[t.LINK=31]="LINK",t[t.UNLINK=32]="UNLINK",t[t.SOURCE=33]="SOURCE",t[t.PRI=34]="PRI",t[t.DESCRIBE=35]="DESCRIBE",t[t.ANNOUNCE=36]="ANNOUNCE",t[t.SETUP=37]="SETUP",t[t.PLAY=38]="PLAY",t[t.PAUSE=39]="PAUSE",t[t.TEARDOWN=40]="TEARDOWN",t[t.GET_PARAMETER=41]="GET_PARAMETER",t[t.SET_PARAMETER=42]="SET_PARAMETER",t[t.REDIRECT=43]="REDIRECT",t[t.RECORD=44]="RECORD",t[t.FLUSH=45]="FLUSH"})(se=G.METHODS||(G.METHODS={}));G.METHODS_HTTP=[se.DELETE,se.GET,se.HEAD,se.POST,se.PUT,se.CONNECT,se.OPTIONS,se.TRACE,se.COPY,se.LOCK,se.MKCOL,se.MOVE,se.PROPFIND,se.PROPPATCH,se.SEARCH,se.UNLOCK,se.BIND,se.REBIND,se.UNBIND,se.ACL,se.REPORT,se.MKACTIVITY,se.CHECKOUT,se.MERGE,se["M-SEARCH"],se.NOTIFY,se.SUBSCRIBE,se.UNSUBSCRIBE,se.PATCH,se.PURGE,se.MKCALENDAR,se.LINK,se.UNLINK,se.PRI,se.SOURCE];G.METHODS_ICE=[se.SOURCE];G.METHODS_RTSP=[se.OPTIONS,se.DESCRIBE,se.ANNOUNCE,se.SETUP,se.PLAY,se.PAUSE,se.TEARDOWN,se.GET_PARAMETER,se.SET_PARAMETER,se.REDIRECT,se.RECORD,se.FLUSH,se.GET,se.POST];G.METHOD_MAP=O4.enumToMap(se);G.H_METHOD_MAP={};Object.keys(G.METHOD_MAP).forEach(t=>{/^H/.test(t)&&(G.H_METHOD_MAP[t]=G.METHOD_MAP[t])});var U4;(function(t){t[t.SAFE=0]="SAFE",t[t.SAFE_WITH_CB=1]="SAFE_WITH_CB",t[t.UNSAFE=2]="UNSAFE"})(U4=G.FINISH||(G.FINISH={}));G.ALPHA=[];for(let t=65;t<=90;t++)G.ALPHA.push(String.fromCharCode(t)),G.ALPHA.push(String.fromCharCode(t+32));G.NUM_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9};G.HEX_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15};G.NUM=["0","1","2","3","4","5","6","7","8","9"];G.ALPHANUM=G.ALPHA.concat(G.NUM);G.MARK=["-","_",".","!","~","*","'","(",")"];G.USERINFO_CHARS=G.ALPHANUM.concat(G.MARK).concat(["%",";",":","&","=","+","$",","]);G.STRICT_URL_CHAR=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(G.ALPHANUM);G.URL_CHAR=G.STRICT_URL_CHAR.concat([" ","\f"]);for(let t=128;t<=255;t++)G.URL_CHAR.push(t);G.HEX=G.NUM.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]);G.STRICT_TOKEN=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(G.ALPHANUM);G.TOKEN=G.STRICT_TOKEN.concat([" "]);G.HEADER_CHARS=[" "];for(let t=32;t<=255;t++)t!==127&&G.HEADER_CHARS.push(t);G.CONNECTION_TOKEN_CHARS=G.HEADER_CHARS.filter(t=>t!==44);G.MAJOR=G.NUM_MAP;G.MINOR=G.MAJOR;var ba;(function(t){t[t.GENERAL=0]="GENERAL",t[t.CONNECTION=1]="CONNECTION",t[t.CONTENT_LENGTH=2]="CONTENT_LENGTH",t[t.TRANSFER_ENCODING=3]="TRANSFER_ENCODING",t[t.UPGRADE=4]="UPGRADE",t[t.CONNECTION_KEEP_ALIVE=5]="CONNECTION_KEEP_ALIVE",t[t.CONNECTION_CLOSE=6]="CONNECTION_CLOSE",t[t.CONNECTION_UPGRADE=7]="CONNECTION_UPGRADE",t[t.TRANSFER_ENCODING_CHUNKED=8]="TRANSFER_ENCODING_CHUNKED"})(ba=G.HEADER_STATE||(G.HEADER_STATE={}));G.SPECIAL_HEADERS={connection:ba.CONNECTION,"content-length":ba.CONTENT_LENGTH,"proxy-connection":ba.CONNECTION,"transfer-encoding":ba.TRANSFER_ENCODING,upgrade:ba.UPGRADE}});var _C=f((NLe,Zv)=>{"use strict";var{Buffer:q4}=require("node:buffer");Zv.exports=q4.from("AGFzbQEAAAABJwdgAX8Bf2ADf39/AX9gAX8AYAJ/fwBgBH9/f38Bf2AAAGADf39/AALLAQgDZW52GHdhc21fb25fa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ADIAdyNgIAIAEgADYCGCABIAE2AgggASABNgIMDAELIARBGSACQQF2a0EAIAJBH0cbdCECIAAoAgAhAAJAA0AgACIDKAIEQXhxIARGDQEgAkEddiEAIAJBAXQhAiADIABBBHFqQRBqIgcoAgAiAA0ACyAHIAE2AgAgASADNgIYIAEgATYCDCABIAE2AggMAQsgAygCCCIAIAE2AgwgAyABNgIIIAFBADYCGCABIAM2AgwgASAANgIIC0Gs0ABBrNAAKAIAQQFrIgBBfyAAGzYCAAsLBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LQAEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABAwIAAgBDYCOCAAIAM6ACggACACOgAtIAAgATYCGAu74gECB38DfiABIAJqIQQCQCAAIgIoAgwiAA0AIAIoAgQEQCACIAE2AgQLIwBBEGsiCCQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIAIoAhwiA0EBaw7dAdoBAdkBAgMEBQYHCAkKCwwN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AJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAgJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCADDsYBAAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHyAhIyUmKCorLC8wMTIzNDU2Nzk6Ozw9lANAQkRFRklLTk9QUVJTVFVWWFpbXF1eX2BhYmNkZWZnaGpsb3Bxc3V2eHl6e3x/gAGBAYIBgwGEAYUBhgGHAYgBiQGKAYsBjAGNAY4BjwGQAZEB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CABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEHtzwBqLQAARw1IIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyGAgsgAkEANgIAIAZBAWohAUERDEkLQagBIQMgASAERg2EAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEHCzwBqLQAARw1HIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyFAgsgAkEANgIAIAZBAWohAUEsDEgLQakBIQMgASAERg2DAiACKAIAIgAgBCABa2ohBSABIABrQQRqIQYCQANAIAEtAAAgAEHFzwBqLQAARw1GIABBBEYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyEAgsgAkEANgIAIAZBAWohAUErDEcLQaoBIQMgASAERg2CAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEHKzwBqLQAARw1FIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyDAgsgAkEANgIAIAZBAWohAUEUDEYLIAEgBEYEQEGrASEDDIICCwJAAkACQAJAIAEtAABBwgBrDg8AAQJHR0dHR0dHR0dHRwNHCyABQQFqIQFBkwEhAwzrAQsgAUEBaiEBQZQBIQMM6gELIAFBAWohAUGVASEDDOkBCyABQQFqIQFBlgEhAwzoAQsgASAERgRAQawBIQMMgQILIAEtAABBxQBHDUIgAUEBaiEBDD0LQa0BIQMgASAERg3/ASACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEHNzwBqLQAARw1CIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyAAgsgAkEANgIAIAZBAWohAUEODEMLIAEgBEYEQEGuASEDDP8BCyABLQAAQdAARw1AIAFBAWohAUElDEILQa8BIQMgASAERg39ASACKAIAIgAgBCABa2ohBSABIABrQQhqIQYCQANAIAEtAAAgAEHQzwBqLQAARw1AIABBCEYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBT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gAkEANgIcIAIgATYCFCACQcMPNgIQIAJBBzYCDEEAIQMMtQELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0RIAJB5QA2AhwgAiABNgIUIAIgADYCDEEAIQMMtAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0gIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMswELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0iIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMsgELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0OIAJB5QA2AhwgAiABNgIUIAIgADYCDEEAIQMMsQELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0dIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMsAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0fIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAkHSADYCHCACIAE2AhQgAiAANgIMQ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3ZBAXEgAEEBdGtBPmohAgsgASACNgIcIAFCADcCECACQQJ0QbzSAGohAAJAQZDQACgCACIDQQEgAnQiB3FFBEAgACABNgIAQZDQACADIAdyNgIAIAEgADYCGCABIAE2AgggASABNgIMDAELIARBGSACQQF2a0EAIAJBH0cbdCECIAAoAgAhAAJAA0AgACIDKAIEQXhxIARGDQEgAkEddiEAIAJBAXQhAiADIABBBHFqQRBqIgcoAgAiAA0ACyAHIAE2AgAgASADNgIYIAEgATYCDCABIAE2AggMAQsgAygCCCIAIAE2AgwgAyABNgIIIAFBADYCGCABIAM2AgwgASAANgIIC0Gs0ABBrNAAKAIAQQFrIgBBfyAAGzYCAAsLBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LQAEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABAwIAAgBDYCOCAAIAM6ACggACACOgAtIAAgATYCGAu74gECB38DfiABIAJqIQQCQCAAIgIoAgwiAA0AIAIoAgQEQCACIAE2AgQLIwBBEGsiCCQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQA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AJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAgJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCADDsYBAAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHyAhIyUmKCorLC8wMTIzNDU2Nzk6Ozw9lANAQkRFRklLTk9QUVJTVF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QMM8AELIAFBAWohAUGKASEDDO8BCyABQQFqIQFBjwEhAwzuAQsgAUEBaiEBQZEBIQMM7QELQacBIQMgASAERg2FAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEHtzwBqLQAARw1IIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyGAgsgAkEANgIAIAZBAWohAUERDEkLQagBIQMgASAERg2EAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEHCzwBqLQAARw1HIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyFAgsgAkEANgIAIAZBAWohAUEsDEgLQakBIQMgASAERg2DAiACKAIAIgAgBCABa2ohBSABIABrQQRqIQYCQANAIAEtAAAgAEHFzwBqLQAARw1GIABBBEYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyEAgsgAkEANgIAIAZBAWohAUErDEcLQaoBIQMgASAERg2CAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEHKzwBqLQAARw1FIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyDAgsgAkEANgIAIAZBAWohAUEUDEYLIAEgBEYEQEGrASEDDIICCwJAAkACQAJAIAEtAABBwgBrDg8AAQJHR0dHR0dHR0dHRwNHCyABQQFqIQFBkwEhAwzrAQsgAUEBaiEBQZQBIQMM6gELIAFBAWohAUGVASEDDOkBCyABQQFqIQFBlgEhAwzoAQsgASAERgRAQawBIQMMgQILIAEtAABBxQBHDUIgAUEBaiEBDD0LQa0BIQMgASAERg3/ASACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEHNzwBqLQAARw1CIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyAAgsgAkEANgIAIAZBAWohAUEODEMLIAEgBEYEQEGuASEDDP8BCyABLQAAQdAARw1AIAFBAWohAUElDEILQa8BIQMgASAERg39ASACKA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ELIAJBADYCHCACIAE2AhQgAkGMHDYCECACQQc2AgxBACEDDLcBCyACQQA2AhwgAiABNgIUIAJBww82AhAgAkEHNgIMQQAhAwy2AQsgAkEANgIcIAIgATYCFCACQcMPNgIQIAJBBzYCDEEAIQMMtQELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0RIAJB5QA2AhwgAiABNgIUIAIgADYCDEEAIQMMtAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0gIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMswELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0iIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMsgELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0OIAJB5QA2AhwgAiABNgIUIAIgADYCDEEAIQMMsQELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0dIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMsAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0fIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkH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JVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw==","base64")});var Hl=f((SLe,lP)=>{"use strict";var rP=["GET","HEAD","POST"],z4=new Set(rP),G4=[101,204,205,304],nP=[301,302,303,307,308],j4=new Set(nP),iP=["1","7","9","11","13","15","17","19","20","21","22","23","25","37","42","43","53","69","77","79","87","95","101","102","103","104","109","110","111","113","115","117","119","123","135","137","139","143","161","179","389","427","465","512","513","514","515","526","530","531","532","540","548","554","556","563","587","601","636","989","990","993","995","1719","1720","1723","2049","3659","4045","4190","5060","5061","6000","6566","6665","6666","6667","6668","6669","6679","6697","10080"],Y4=new Set(iP),sP=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],J4=new Set(sP),V4=["follow","manual","error"],oP=["GET","HEAD","OPTIONS","TRACE"],W4=new Set(oP),K4=["navigate","same-origin","no-cors","cors"],$4=["omit","same-origin","include"],X4=["default","no-store","reload","no-cache","force-cache","only-if-cached"],Z4=["content-encoding","content-language","content-location","content-type","content-length"],e8=["half"],aP=["CONNECT","TRACE","TRACK"],t8=new Set(aP),cP=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""],r8=new Set(cP);lP.exports={subresource:cP,forbiddenMethods:aP,requestBodyHeader:Z4,referrerPolicy:sP,requestRedirect:V4,requestMode:K4,requestCredentials:$4,requestCache:X4,redirectStatus:nP,corsSafeListedMethods:rP,nullBodyStatus:G4,safeMethods:oP,badPorts:iP,requestDuplex:e8,subresourceSet:r8,badPortsSet:Y4,redirectStatusSet:j4,corsSafeListedMethodsSet:z4,safeMethodsSet:W4,forbiddenMethodsSet:t8,referrerPolicySet:J4}});var TC=f((xLe,AP)=>{"use strict";var DC=Symbol.for("undici.globalOrigin.1");function n8(){return globalThis[DC]}s(n8,"getGlobalOrigin");function i8(t){if(t===void 0){Object.defineProperty(globalThis,DC,{value:void 0,writable:!0,enumerable:!1,configurable:!1});return}let e=new URL(t);if(e.protocol!=="http:"&&e.protocol!=="https:")throw new TypeError(`Only http & https urls are allowed, received ${e.protocol}`);Object.defineProperty(globalThis,DC,{value:e,writable:!0,enumerable:!1,configurable:!1})}s(i8,"setGlobalOrigin");AP.exports={getGlobalOrigin:n8,setGlobalOrigin:i8}});var Ir=f((vLe,fP)=>{"use strict";var bd=require("node:assert"),s8=new TextEncoder,zl=/^[!#$%&'*+\-.^_|~A-Za-z0-9]+$/,o8=/[\u000A\u000D\u0009\u0020]/,a8=/[\u0009\u000A\u000C\u000D\u0020]/g,c8=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function l8(t){bd(t.protocol==="data:");let e=pP(t,!0);e=e.slice(5);let r={position:0},n=Qa(",",e,r),i=n.length;if(n=g8(n,!0,!0),r.position>=e.length)return"failure";r.position++;let o=e.slice(i+1),a=mP(o);if(/;(\u0020){0,}base64$/i.test(n)){let l=hP(a);if(a=u8(l),a==="failure")return"failure";n=n.slice(0,-6),n=n.replace(/(\u0020)+$/,""),n=n.slice(0,-1)}n.startsWith(";")&&(n="text/plain"+n);let c=OC(n);return c==="failure"&&(c=OC("text/plain;charset=US-ASCII")),{mimeType:c,body:a}}s(l8,"dataURLProcessor");function pP(t,e=!1){if(!e)return t.href;let r=t.href,n=t.hash.length,i=n===0?r:r.substring(0,r.length-n);return!n&&r.endsWith("#")?i.slice(0,-1):i}s(pP,"URLSerializer");function Qd(t,e,r){let n="";for(;r.position=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}s(uP,"isHexCharByte");function dP(t){return t>=48&&t<=57?t-48:(t&223)-55}s(dP,"hexByteToNumber");function A8(t){let e=t.length,r=new Uint8Array(e),n=0;for(let i=0;it.length)return"failure";e.position++;let n=Qa(";",t,e);if(n=Id(n,!1,!0),n.length===0||!zl.test(n))return"failure";let i=r.toLowerCase(),o=n.toLowerCase(),a={type:i,subtype:o,parameters:new Map,essence:`${i}/${o}`};for(;e.positiono8.test(A),t,e);let c=Qd(A=>A!==";"&&A!=="=",t,e);if(c=c.toLowerCase(),e.positiont.length)break;let l=null;if(t[e.position]==='"')l=gP(t,e,!0),Qa(";",t,e);else if(l=Qa(";",t,e),l=Id(l,!1,!0),l.length===0)continue;c.length!==0&&zl.test(c)&&(l.length===0||c8.test(l))&&!a.parameters.has(c)&&a.parameters.set(c,l)}return a}s(OC,"parseMIMEType");function u8(t){t=t.replace(a8,"");let e=t.length;if(e%4===0&&t.charCodeAt(e-1)===61&&(--e,t.charCodeAt(e-1)===61&&--e),e%4===1||/[^+/0-9A-Za-z]/.test(t.length===e?t:t.substring(0,e)))return"failure";let r=Buffer.from(t,"base64");return new Uint8Array(r.buffer,r.byteOffset,r.byteLength)}s(u8,"forgivingBase64");function gP(t,e,r){let n=e.position,i="";for(bd(t[e.position]==='"'),e.position++;i+=Qd(a=>a!=='"'&&a!=="\\",t,e),!(e.position>=t.length);){let o=t[e.position];if(e.position++,o==="\\"){if(e.position>=t.length){i+="\\";break}i+=t[e.position],e.position++}else{bd(o==='"');break}}return r?i:t.slice(n,e.position)}s(gP,"collectAnHTTPQuotedString");function d8(t){bd(t!=="failure");let{parameters:e,essence:r}=t,n=r;for(let[i,o]of e.entries())n+=";",n+=i,n+="=",zl.test(o)||(o=o.replace(/(\\|")/g,"\\$1"),o='"'+o,o+='"'),n+=o;return n}s(d8,"serializeAMimeType");function p8(t){return t===13||t===10||t===9||t===32}s(p8,"isHTTPWhiteSpace");function Id(t,e=!0,r=!0){return MC(t,e,r,p8)}s(Id,"removeHTTPWhitespace");function m8(t){return t===13||t===10||t===9||t===12||t===32}s(m8,"isASCIIWhitespace");function g8(t,e=!0,r=!0){return MC(t,e,r,m8)}s(g8,"removeASCIIWhitespace");function MC(t,e,r,n){let i=0,o=t.length-1;if(e)for(;i0&&n(t.charCodeAt(o));)o--;return i===0&&o===t.length-1?t:t.slice(i,o+1)}s(MC,"removeChars");function hP(t){let e=t.length;if(65535>e)return String.fromCharCode.apply(null,t);let r="",n=0,i=65535;for(;ne&&(i=e-n),r+=String.fromCharCode.apply(null,t.subarray(n,n+=i));return r}s(hP,"isomorphicDecode");function h8(t){switch(t.essence){case"application/ecmascript":case"application/javascript":case"application/x-ecmascript":case"application/x-javascript":case"text/ecmascript":case"text/javascript":case"text/javascript1.0":case"text/javascript1.1":case"text/javascript1.2":case"text/javascript1.3":case"text/javascript1.4":case"text/javascript1.5":case"text/jscript":case"text/livescript":case"text/x-ecmascript":case"text/x-javascript":return"text/javascript";case"application/json":case"text/json":return"application/json";case"image/svg+xml":return"image/svg+xml";case"text/xml":case"application/xml":return"application/xml"}return t.subtype.endsWith("+json")?"application/json":t.subtype.endsWith("+xml")?"application/xml":""}s(h8,"minimizeSupportedMimeType");fP.exports={dataURLProcessor:l8,URLSerializer:pP,collectASequenceOfCodePoints:Qd,collectASequenceOfCodePointsFast:Qa,stringPercentDecode:mP,parseMIMEType:OC,collectAnHTTPQuotedString:gP,serializeAMimeType:d8,removeChars:MC,removeHTTPWhitespace:Id,minimizeSupportedMimeType:h8,HTTP_TOKEN_CODEPOINTS:zl,isomorphicDecode:hP}});var Zt=f((_Le,yP)=>{"use strict";var{types:ni,inspect:f8}=require("node:util"),{markAsUncloneable:y8}=require("node:worker_threads"),{toUSVString:C8}=Ce(),z={};z.converters={};z.util={};z.errors={};z.errors.exception=function(t){return new TypeError(`${t.header}: ${t.message}`)};z.errors.conversionFailed=function(t){let e=t.types.length===1?"":" one of",r=`${t.argument} could not be converted to${e}: ${t.types.join(", ")}.`;return z.errors.exception({header:t.prefix,message:r})};z.errors.invalidArgument=function(t){return z.errors.exception({header:t.prefix,message:`"${t.value}" is an invalid ${t.type}.`})};z.brandCheck=function(t,e,r){if(r?.strict!==!1){if(!(t instanceof e)){let n=new TypeError("Illegal invocation");throw n.code="ERR_INVALID_THIS",n}}else if(t?.[Symbol.toStringTag]!==e.prototype[Symbol.toStringTag]){let n=new TypeError("Illegal invocation");throw n.code="ERR_INVALID_THIS",n}};z.argumentLengthCheck=function({length:t},e,r){if(t{});z.util.ConvertToInt=function(t,e,r,n){let i,o;e===64?(i=Math.pow(2,53)-1,r==="unsigned"?o=0:o=Math.pow(-2,53)+1):r==="unsigned"?(o=0,i=Math.pow(2,e)-1):(o=Math.pow(-2,e)-1,i=Math.pow(2,e-1)-1);let a=Number(t);if(a===0&&(a=0),n?.enforceRange===!0){if(Number.isNaN(a)||a===Number.POSITIVE_INFINITY||a===Number.NEGATIVE_INFINITY)throw z.errors.exception({header:"Integer conversion",message:`Could not convert ${z.util.Stringify(t)} to an integer.`});if(a=z.util.IntegerPart(a),ai)throw z.errors.exception({header:"Integer conversion",message:`Value must be between ${o}-${i}, got ${a}.`});return a}return!Number.isNaN(a)&&n?.clamp===!0?(a=Math.min(Math.max(a,o),i),Math.floor(a)%2===0?a=Math.floor(a):a=Math.ceil(a),a):Number.isNaN(a)||a===0&&Object.is(0,a)||a===Number.POSITIVE_INFINITY||a===Number.NEGATIVE_INFINITY?0:(a=z.util.IntegerPart(a),a=a%Math.pow(2,e),r==="signed"&&a>=Math.pow(2,e)-1?a-Math.pow(2,e):a)};z.util.IntegerPart=function(t){let e=Math.floor(Math.abs(t));return t<0?-1*e:e};z.util.Stringify=function(t){switch(z.util.Type(t)){case"Symbol":return`Symbol(${t.description})`;case"Object":return f8(t);case"String":return`"${t}"`;default:return`${t}`}};z.sequenceConverter=function(t){return(e,r,n,i)=>{if(z.util.Type(e)!=="Object")throw z.errors.exception({header:r,message:`${n} (${z.util.Stringify(e)}) is not iterable.`});let o=typeof i=="function"?i():e?.[Symbol.iterator]?.(),a=[],c=0;if(o===void 0||typeof o.next!="function")throw z.errors.exception({header:r,message:`${n} is not iterable.`});for(;;){let{done:l,value:A}=o.next();if(l)break;a.push(t(A,r,`${n}[${c++}]`))}return a}};z.recordConverter=function(t,e){return(r,n,i)=>{if(z.util.Type(r)!=="Object")throw z.errors.exception({header:n,message:`${i} ("${z.util.Type(r)}") is not an Object.`});let o={};if(!ni.isProxy(r)){let c=[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)];for(let l of c){let A=t(l,n,i),u=e(r[l],n,i);o[A]=u}return o}let a=Reflect.ownKeys(r);for(let c of a)if(Reflect.getOwnPropertyDescriptor(r,c)?.enumerable){let A=t(c,n,i),u=e(r[c],n,i);o[A]=u}return o}};z.interfaceConverter=function(t){return(e,r,n,i)=>{if(i?.strict!==!1&&!(e instanceof t))throw z.errors.exception({header:r,message:`Expected ${n} ("${z.util.Stringify(e)}") to be an instance of ${t.name}.`});return e}};z.dictionaryConverter=function(t){return(e,r,n)=>{let i=z.util.Type(e),o={};if(i==="Null"||i==="Undefined")return o;if(i!=="Object")throw z.errors.exception({header:r,message:`Expected ${e} to be one of: Null, Undefined, Object.`});for(let a of t){let{key:c,defaultValue:l,required:A,converter:u}=a;if(A===!0&&!Object.hasOwn(e,c))throw z.errors.exception({header:r,message:`Missing required key "${c}".`});let d=e[c],g=Object.hasOwn(a,"defaultValue");if(g&&d!==null&&(d??=l()),A||g||d!==void 0){if(d=u(d,r,`${n}.${c}`),a.allowedValues&&!a.allowedValues.includes(d))throw z.errors.exception({header:r,message:`${d} is not an accepted type. Expected one of ${a.allowedValues.join(", ")}.`});o[c]=d}}return o}};z.nullableConverter=function(t){return(e,r,n)=>e===null?e:t(e,r,n)};z.converters.DOMString=function(t,e,r,n){if(t===null&&n?.legacyNullToEmptyString)return"";if(typeof t=="symbol")throw z.errors.exception({header:e,message:`${r} is a symbol, which cannot be converted to a DOMString.`});return String(t)};z.converters.ByteString=function(t,e,r){let n=z.converters.DOMString(t,e,r);for(let i=0;i255)throw new TypeError(`Cannot convert argument to a ByteString because the character at index ${i} has a value of ${n.charCodeAt(i)} which is greater than 255.`);return n};z.converters.USVString=C8;z.converters.boolean=function(t){return!!t};z.converters.any=function(t){return t};z.converters["long long"]=function(t,e,r){return z.util.ConvertToInt(t,64,"signed",void 0,e,r)};z.converters["unsigned long long"]=function(t,e,r){return z.util.ConvertToInt(t,64,"unsigned",void 0,e,r)};z.converters["unsigned long"]=function(t,e,r){return z.util.ConvertToInt(t,32,"unsigned",void 0,e,r)};z.converters["unsigned short"]=function(t,e,r,n){return z.util.ConvertToInt(t,16,"unsigned",n,e,r)};z.converters.ArrayBuffer=function(t,e,r,n){if(z.util.Type(t)!=="Object"||!ni.isAnyArrayBuffer(t))throw z.errors.conversionFailed({prefix:e,argument:`${r} ("${z.util.Stringify(t)}")`,types:["ArrayBuffer"]});if(n?.allowShared===!1&&ni.isSharedArrayBuffer(t))throw z.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.resizable||t.growable)throw z.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};z.converters.TypedArray=function(t,e,r,n,i){if(z.util.Type(t)!=="Object"||!ni.isTypedArray(t)||t.constructor.name!==e.name)throw z.errors.conversionFailed({prefix:r,argument:`${n} ("${z.util.Stringify(t)}")`,types:[e.name]});if(i?.allowShared===!1&&ni.isSharedArrayBuffer(t.buffer))throw z.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.buffer.resizable||t.buffer.growable)throw z.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};z.converters.DataView=function(t,e,r,n){if(z.util.Type(t)!=="Object"||!ni.isDataView(t))throw z.errors.exception({header:e,message:`${r} is not a DataView.`});if(n?.allowShared===!1&&ni.isSharedArrayBuffer(t.buffer))throw z.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.buffer.resizable||t.buffer.growable)throw z.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};z.converters.BufferSource=function(t,e,r,n){if(ni.isAnyArrayBuffer(t))return z.converters.ArrayBuffer(t,e,r,{...n,allowShared:!1});if(ni.isTypedArray(t))return z.converters.TypedArray(t,t.constructor,e,r,{...n,allowShared:!1});if(ni.isDataView(t))return z.converters.DataView(t,e,r,{...n,allowShared:!1});throw z.errors.conversionFailed({prefix:e,argument:`${r} ("${z.util.Stringify(t)}")`,types:["BufferSource"]})};z.converters["sequence"]=z.sequenceConverter(z.converters.ByteString);z.converters["sequence>"]=z.sequenceConverter(z.converters["sequence"]);z.converters["record"]=z.recordConverter(z.converters.ByteString,z.converters.ByteString);yP.exports={webidl:z}});var Fr=f((DLe,_P)=>{"use strict";var{Transform:E8}=require("node:stream"),CP=require("node:zlib"),{redirectStatusSet:B8,referrerPolicySet:I8,badPortsSet:b8}=Hl(),{getGlobalOrigin:EP}=TC(),{collectASequenceOfCodePoints:lo,collectAnHTTPQuotedString:Q8,removeChars:N8,parseMIMEType:w8}=Ir(),{performance:S8}=require("node:perf_hooks"),{isBlobLike:x8,ReadableStreamFrom:R8,isValidHTTPToken:BP,normalizedMethodRecordsBase:v8}=Ce(),Ao=require("node:assert"),{isUint8Array:P8}=require("node:util/types"),{webidl:Gl}=Zt(),IP=[],wd;try{wd=require("node:crypto");let t=["sha256","sha384","sha512"];IP=wd.getHashes().filter(e=>t.includes(e))}catch{}function bP(t){let e=t.urlList,r=e.length;return r===0?null:e[r-1].toString()}s(bP,"responseURL");function _8(t,e){if(!B8.has(t.status))return null;let r=t.headersList.get("location",!0);return r!==null&&NP(r)&&(QP(r)||(r=D8(r)),r=new URL(r,bP(t))),r&&!r.hash&&(r.hash=e),r}s(_8,"responseLocationURL");function QP(t){for(let e=0;e126||r<32)return!1}return!0}s(QP,"isValidEncodedURL");function D8(t){return Buffer.from(t,"binary").toString("utf8")}s(D8,"normalizeBinaryStringToUtf8");function Yl(t){return t.urlList[t.urlList.length-1]}s(Yl,"requestCurrentURL");function T8(t){let e=Yl(t);return vP(e)&&b8.has(e.port)?"blocked":"allowed"}s(T8,"requestBadPort");function O8(t){return t instanceof Error||t?.constructor?.name==="Error"||t?.constructor?.name==="DOMException"}s(O8,"isErrorLike");function M8(t){for(let e=0;e=32&&r<=126||r>=128&&r<=255))return!1}return!0}s(M8,"isValidReasonPhrase");var k8=BP;function NP(t){return(t[0]===" "||t[0]===" "||t[t.length-1]===" "||t[t.length-1]===" "||t.includes(` +`)||t.includes("\r")||t.includes("\0"))===!1}s(NP,"isValidHeaderValue");function L8(t,e){let{headersList:r}=e,n=(r.get("referrer-policy",!0)??"").split(","),i="";if(n.length>0)for(let o=n.length;o!==0;o--){let a=n[o-1].trim();if(I8.has(a)){i=a;break}}i!==""&&(t.referrerPolicy=i)}s(L8,"setRequestReferrerPolicyOnRedirect");function F8(){return"allowed"}s(F8,"crossOriginResourcePolicyCheck");function U8(){return"success"}s(U8,"corsCheck");function q8(){return"success"}s(q8,"TAOCheck");function H8(t){let e=null;e=t.mode,t.headersList.set("sec-fetch-mode",e,!0)}s(H8,"appendFetchMetadata");function z8(t){let e=t.origin;if(!(e==="client"||e===void 0)){if(t.responseTainting==="cors"||t.mode==="websocket")t.headersList.append("origin",e,!0);else if(t.method!=="GET"&&t.method!=="HEAD"){switch(t.referrerPolicy){case"no-referrer":e=null;break;case"no-referrer-when-downgrade":case"strict-origin":case"strict-origin-when-cross-origin":t.origin&&LC(t.origin)&&!LC(Yl(t))&&(e=null);break;case"same-origin":Sd(t,Yl(t))||(e=null);break;default:}t.headersList.append("origin",e,!0)}}}s(z8,"appendRequestOriginHeader");function Na(t,e){return t}s(Na,"coarsenTime");function G8(t,e,r){return!t?.startTime||t.startTime4096&&(n=i);let o=Sd(t,n),a=jl(n)&&!jl(t.url);switch(e){case"origin":return i??kC(r,!0);case"unsafe-url":return n;case"same-origin":return o?i:"no-referrer";case"origin-when-cross-origin":return o?n:i;case"strict-origin-when-cross-origin":{let c=Yl(t);return Sd(n,c)?n:jl(n)&&!jl(c)?"no-referrer":i}default:return a?"no-referrer":i}}s(V8,"determineRequestsReferrer");function kC(t,e){return Ao(t instanceof URL),t=new URL(t),t.protocol==="file:"||t.protocol==="about:"||t.protocol==="blank:"?"no-referrer":(t.username="",t.password="",t.hash="",e&&(t.pathname="",t.search=""),t)}s(kC,"stripURLForReferrer");function jl(t){if(!(t instanceof URL))return!1;if(t.href==="about:blank"||t.href==="about:srcdoc"||t.protocol==="data:"||t.protocol==="file:")return!0;return e(t.origin);function e(r){if(r==null||r==="null")return!1;let n=new URL(r);return!!(n.protocol==="https:"||n.protocol==="wss:"||/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(n.hostname)||n.hostname==="localhost"||n.hostname.includes("localhost.")||n.hostname.endsWith(".localhost"))}}s(jl,"isURLPotentiallyTrustworthy");function W8(t,e){if(wd===void 0)return!0;let r=SP(e);if(r==="no metadata"||r.length===0)return!0;let n=$8(r),i=X8(r,n);for(let o of i){let a=o.algo,c=o.hash,l=wd.createHash(a).update(t).digest("base64");if(l[l.length-1]==="="&&(l[l.length-2]==="="?l=l.slice(0,-2):l=l.slice(0,-1)),Z8(l,c))return!0}return!1}s(W8,"bytesMatch");var K8=/(?sha256|sha384|sha512)-((?[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function SP(t){let e=[],r=!0;for(let n of t.split(" ")){r=!1;let i=K8.exec(n);if(i===null||i.groups===void 0||i.groups.algo===void 0)continue;let o=i.groups.algo.toLowerCase();IP.includes(o)&&e.push(i.groups)}return r===!0?"no metadata":e}s(SP,"parseMetadata");function $8(t){let e=t[0].algo;if(e[3]==="5")return e;for(let r=1;r{t=n,e=i}),resolve:t,reject:e}}s(t5,"createDeferredPromise");function r5(t){return t.controller.state==="aborted"}s(r5,"isAborted");function n5(t){return t.controller.state==="aborted"||t.controller.state==="terminated"}s(n5,"isCancelled");function i5(t){return v8[t.toLowerCase()]??t}s(i5,"normalizeMethod");function s5(t){let e=JSON.stringify(t);if(e===void 0)throw new TypeError("Value is not JSON serializable");return Ao(typeof e=="string"),e}s(s5,"serializeJavascriptValueToJSONString");var o5=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function xP(t,e,r=0,n=1){class i{static{s(this,"FastIterableIterator")}#e;#t;#i;constructor(a,c){this.#e=a,this.#t=c,this.#i=0}next(){if(typeof this!="object"||this===null||!(#e in this))throw new TypeError(`'next' called on an object that does not implement interface ${t} Iterator.`);let a=this.#i,c=this.#e[e],l=c.length;if(a>=l)return{value:void 0,done:!0};let{[r]:A,[n]:u}=c[a];this.#i=a+1;let d;switch(this.#t){case"key":d=A;break;case"value":d=u;break;case"key+value":d=[A,u];break}return{value:d,done:!1}}}return delete i.prototype.constructor,Object.setPrototypeOf(i.prototype,o5),Object.defineProperties(i.prototype,{[Symbol.toStringTag]:{writable:!1,enumerable:!1,configurable:!0,value:`${t} Iterator`},next:{writable:!0,enumerable:!0,configurable:!0}}),function(o,a){return new i(o,a)}}s(xP,"createIterator");function a5(t,e,r,n=0,i=1){let o=xP(t,r,n,i),a={keys:{writable:!0,enumerable:!0,configurable:!0,value:s(function(){return Gl.brandCheck(this,e),o(this,"key")},"keys")},values:{writable:!0,enumerable:!0,configurable:!0,value:s(function(){return Gl.brandCheck(this,e),o(this,"value")},"values")},entries:{writable:!0,enumerable:!0,configurable:!0,value:s(function(){return Gl.brandCheck(this,e),o(this,"key+value")},"entries")},forEach:{writable:!0,enumerable:!0,configurable:!0,value:s(function(l,A=globalThis){if(Gl.brandCheck(this,e),Gl.argumentLengthCheck(arguments,1,`${t}.forEach`),typeof l!="function")throw new TypeError(`Failed to execute 'forEach' on '${t}': parameter 1 is not of type 'Function'.`);for(let{0:u,1:d}of o(this,"key+value"))l.call(A,d,u,this)},"forEach")}};return Object.defineProperties(e.prototype,{...a,[Symbol.iterator]:{writable:!0,enumerable:!1,configurable:!0,value:a.entries.value}})}s(a5,"iteratorMixin");async function c5(t,e,r){let n=e,i=r,o;try{o=t.stream.getReader()}catch(a){i(a);return}try{n(await RP(o))}catch(a){i(a)}}s(c5,"fullyReadBody");function l5(t){return t instanceof ReadableStream||t[Symbol.toStringTag]==="ReadableStream"&&typeof t.tee=="function"}s(l5,"isReadableStreamLike");function A5(t){try{t.close(),t.byobRequest?.respond(0)}catch(e){if(!e.message.includes("Controller is already closed")&&!e.message.includes("ReadableStream is already closed"))throw e}}s(A5,"readableStreamClose");var u5=/[^\x00-\xFF]/;function Nd(t){return Ao(!u5.test(t)),t}s(Nd,"isomorphicEncode");async function RP(t){let e=[],r=0;for(;;){let{done:n,value:i}=await t.read();if(n)return Buffer.concat(e,r);if(!P8(i))throw new TypeError("Received non-Uint8Array chunk");e.push(i),r+=i.length}}s(RP,"readAllBytes");function d5(t){Ao("protocol"in t);let e=t.protocol;return e==="about:"||e==="blob:"||e==="data:"}s(d5,"urlIsLocal");function LC(t){return typeof t=="string"&&t[5]===":"&&t[0]==="h"&&t[1]==="t"&&t[2]==="t"&&t[3]==="p"&&t[4]==="s"||t.protocol==="https:"}s(LC,"urlHasHttpsScheme");function vP(t){Ao("protocol"in t);let e=t.protocol;return e==="http:"||e==="https:"}s(vP,"urlIsHttpHttpsScheme");function p5(t,e){let r=t;if(!r.startsWith("bytes"))return"failure";let n={position:5};if(e&&lo(l=>l===" "||l===" ",r,n),r.charCodeAt(n.position)!==61)return"failure";n.position++,e&&lo(l=>l===" "||l===" ",r,n);let i=lo(l=>{let A=l.charCodeAt(0);return A>=48&&A<=57},r,n),o=i.length?Number(i):null;if(e&&lo(l=>l===" "||l===" ",r,n),r.charCodeAt(n.position)!==45)return"failure";n.position++,e&&lo(l=>l===" "||l===" ",r,n);let a=lo(l=>{let A=l.charCodeAt(0);return A>=48&&A<=57},r,n),c=a.length?Number(a):null;return n.positionc?"failure":{rangeStartValue:o,rangeEndValue:c}}s(p5,"simpleRangeHeaderValue");function m5(t,e,r){let n="bytes ";return n+=Nd(`${t}`),n+="-",n+=Nd(`${e}`),n+="/",n+=Nd(`${r}`),n}s(m5,"buildContentRange");var FC=class extends E8{static{s(this,"InflateStream")}#e;constructor(e){super(),this.#e=e}_transform(e,r,n){if(!this._inflateStream){if(e.length===0){n();return}this._inflateStream=(e[0]&15)===8?CP.createInflate(this.#e):CP.createInflateRaw(this.#e),this._inflateStream.on("data",this.push.bind(this)),this._inflateStream.on("end",()=>this.push(null)),this._inflateStream.on("error",i=>this.destroy(i))}this._inflateStream.write(e,r,n)}_final(e){this._inflateStream&&(this._inflateStream.end(),this._inflateStream=null),e()}};function g5(t){return new FC(t)}s(g5,"createInflate");function h5(t){let e=null,r=null,n=null,i=PP("content-type",t);if(i===null)return"failure";for(let o of i){let a=w8(o);a==="failure"||a.essence==="*/*"||(n=a,n.essence!==r?(e=null,n.parameters.has("charset")&&(e=n.parameters.get("charset")),r=n.essence):!n.parameters.has("charset")&&e!==null&&n.parameters.set("charset",e))}return n??"failure"}s(h5,"extractMimeType");function f5(t){let e=t,r={position:0},n=[],i="";for(;r.positiono!=='"'&&o!==",",e,r),r.positiono===9||o===32),n.push(i),i=""}return n}s(f5,"gettingDecodingSplitting");function PP(t,e){let r=e.get(t,!0);return r===null?null:f5(r)}s(PP,"getDecodeSplit");var y5=new TextDecoder;function C5(t){return t.length===0?"":(t[0]===239&&t[1]===187&&t[2]===191&&(t=t.subarray(3)),y5.decode(t))}s(C5,"utf8DecodeBytes");var UC=class{static{s(this,"EnvironmentSettingsObjectBase")}get baseUrl(){return EP()}get origin(){return this.baseUrl?.origin}policyContainer=wP()},qC=class{static{s(this,"EnvironmentSettingsObject")}settingsObject=new UC},E5=new qC;_P.exports={isAborted:r5,isCancelled:n5,isValidEncodedURL:QP,createDeferredPromise:t5,ReadableStreamFrom:R8,tryUpgradeRequestToAPotentiallyTrustworthyURL:e5,clampAndCoarsenConnectionTimingInfo:G8,coarsenedSharedCurrentTime:j8,determineRequestsReferrer:V8,makePolicyContainer:wP,clonePolicyContainer:J8,appendFetchMetadata:H8,appendRequestOriginHeader:z8,TAOCheck:q8,corsCheck:U8,crossOriginResourcePolicyCheck:F8,createOpaqueTimingInfo:Y8,setRequestReferrerPolicyOnRedirect:L8,isValidHTTPToken:BP,requestBadPort:T8,requestCurrentURL:Yl,responseURL:bP,responseLocationURL:_8,isBlobLike:x8,isURLPotentiallyTrustworthy:jl,isValidReasonPhrase:M8,sameOrigin:Sd,normalizeMethod:i5,serializeJavascriptValueToJSONString:s5,iteratorMixin:a5,createIterator:xP,isValidHeaderName:k8,isValidHeaderValue:NP,isErrorLike:O8,fullyReadBody:c5,bytesMatch:W8,isReadableStreamLike:l5,readableStreamClose:A5,isomorphicEncode:Nd,urlIsLocal:d5,urlHasHttpsScheme:LC,urlIsHttpHttpsScheme:vP,readAllBytes:RP,simpleRangeHeaderValue:p5,buildContentRange:m5,parseMetadata:SP,createInflate:g5,extractMimeType:h5,getDecodeSplit:PP,utf8DecodeBytes:C5,environmentSettingsObject:E5}});var As=f((OLe,DP)=>{"use strict";DP.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kDispatcher:Symbol("dispatcher")}});var zC=f((MLe,TP)=>{"use strict";var{Blob:B5,File:I5}=require("node:buffer"),{kState:qi}=As(),{webidl:ii}=Zt(),HC=class t{static{s(this,"FileLike")}constructor(e,r,n={}){let i=r,o=n.type,a=n.lastModified??Date.now();this[qi]={blobLike:e,name:i,type:o,lastModified:a}}stream(...e){return ii.brandCheck(this,t),this[qi].blobLike.stream(...e)}arrayBuffer(...e){return ii.brandCheck(this,t),this[qi].blobLike.arrayBuffer(...e)}slice(...e){return ii.brandCheck(this,t),this[qi].blobLike.slice(...e)}text(...e){return ii.brandCheck(this,t),this[qi].blobLike.text(...e)}get size(){return ii.brandCheck(this,t),this[qi].blobLike.size}get type(){return ii.brandCheck(this,t),this[qi].blobLike.type}get name(){return ii.brandCheck(this,t),this[qi].name}get lastModified(){return ii.brandCheck(this,t),this[qi].lastModified}get[Symbol.toStringTag](){return"File"}};ii.converters.Blob=ii.interfaceConverter(B5);function b5(t){return t instanceof I5||t&&(typeof t.stream=="function"||typeof t.arrayBuffer=="function")&&t[Symbol.toStringTag]==="File"}s(b5,"isFileLike");TP.exports={FileLike:HC,isFileLike:b5}});var Vl=f((LLe,FP)=>{"use strict";var{isBlobLike:xd,iteratorMixin:Q5}=Fr(),{kState:pr}=As(),{kEnumerableProperty:wa}=Ce(),{FileLike:OP,isFileLike:N5}=zC(),{webidl:Je}=Zt(),{File:LP}=require("node:buffer"),MP=require("node:util"),kP=globalThis.File??LP,Jl=class t{static{s(this,"FormData")}constructor(e){if(Je.util.markAsUncloneable(this),e!==void 0)throw Je.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]});this[pr]=[]}append(e,r,n=void 0){Je.brandCheck(this,t);let i="FormData.append";if(Je.argumentLengthCheck(arguments,2,i),arguments.length===3&&!xd(r))throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'");e=Je.converters.USVString(e,i,"name"),r=xd(r)?Je.converters.Blob(r,i,"value",{strict:!1}):Je.converters.USVString(r,i,"value"),n=arguments.length===3?Je.converters.USVString(n,i,"filename"):void 0;let o=GC(e,r,n);this[pr].push(o)}delete(e){Je.brandCheck(this,t);let r="FormData.delete";Je.argumentLengthCheck(arguments,1,r),e=Je.converters.USVString(e,r,"name"),this[pr]=this[pr].filter(n=>n.name!==e)}get(e){Je.brandCheck(this,t);let r="FormData.get";Je.argumentLengthCheck(arguments,1,r),e=Je.converters.USVString(e,r,"name");let n=this[pr].findIndex(i=>i.name===e);return n===-1?null:this[pr][n].value}getAll(e){Je.brandCheck(this,t);let r="FormData.getAll";return Je.argumentLengthCheck(arguments,1,r),e=Je.converters.USVString(e,r,"name"),this[pr].filter(n=>n.name===e).map(n=>n.value)}has(e){Je.brandCheck(this,t);let r="FormData.has";return Je.argumentLengthCheck(arguments,1,r),e=Je.converters.USVString(e,r,"name"),this[pr].findIndex(n=>n.name===e)!==-1}set(e,r,n=void 0){Je.brandCheck(this,t);let i="FormData.set";if(Je.argumentLengthCheck(arguments,2,i),arguments.length===3&&!xd(r))throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'");e=Je.converters.USVString(e,i,"name"),r=xd(r)?Je.converters.Blob(r,i,"name",{strict:!1}):Je.converters.USVString(r,i,"name"),n=arguments.length===3?Je.converters.USVString(n,i,"name"):void 0;let o=GC(e,r,n),a=this[pr].findIndex(c=>c.name===e);a!==-1?this[pr]=[...this[pr].slice(0,a),o,...this[pr].slice(a+1).filter(c=>c.name!==e)]:this[pr].push(o)}[MP.inspect.custom](e,r){let n=this[pr].reduce((o,a)=>(o[a.name]?Array.isArray(o[a.name])?o[a.name].push(a.value):o[a.name]=[o[a.name],a.value]:o[a.name]=a.value,o),{__proto__:null});r.depth??=e,r.colors??=!0;let i=MP.formatWithOptions(r,n);return`FormData ${i.slice(i.indexOf("]")+2)}`}};Q5("FormData",Jl,pr,"name","value");Object.defineProperties(Jl.prototype,{append:wa,delete:wa,get:wa,getAll:wa,has:wa,set:wa,[Symbol.toStringTag]:{value:"FormData",configurable:!0}});function GC(t,e,r){if(typeof e!="string"){if(N5(e)||(e=e instanceof Blob?new kP([e],"blob",{type:e.type}):new OP(e,"blob",{type:e.type})),r!==void 0){let n={type:e.type,lastModified:e.lastModified};e=e instanceof LP?new kP([e],r,n):new OP(e,r,n)}}return{name:t,value:e}}s(GC,"makeEntry");FP.exports={FormData:Jl,makeEntry:GC}});var jP=f((ULe,GP)=>{"use strict";var{isUSVString:UP,bufferToLowerCasedHeaderName:w5}=Ce(),{utf8DecodeBytes:S5}=Fr(),{HTTP_TOKEN_CODEPOINTS:x5,isomorphicDecode:qP}=Ir(),{isFileLike:R5}=zC(),{makeEntry:v5}=Vl(),Rd=require("node:assert"),{File:P5}=require("node:buffer"),_5=globalThis.File??P5,D5=Buffer.from('form-data; name="'),HP=Buffer.from("; filename"),T5=Buffer.from("--"),O5=Buffer.from(`--\r +`);function M5(t){for(let e=0;e70)return!1;for(let r=0;r=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122||n===39||n===45||n===95))return!1}return!0}s(k5,"validateBoundary");function L5(t,e){Rd(e!=="failure"&&e.essence==="multipart/form-data");let r=e.parameters.get("boundary");if(r===void 0)return"failure";let n=Buffer.from(`--${r}`,"utf8"),i=[],o={position:0};for(;t[o.position]===13&&t[o.position+1]===10;)o.position+=2;let a=t.length;for(;t[a-1]===10&&t[a-2]===13;)a-=2;for(a!==t.length&&(t=t.subarray(0,a));;){if(t.subarray(o.position,o.position+n.length).equals(n))o.position+=n.length;else return"failure";if(o.position===t.length-2&&vd(t,T5,o)||o.position===t.length-4&&vd(t,O5,o))return i;if(t[o.position]!==13||t[o.position+1]!==10)return"failure";o.position+=2;let c=F5(t,o);if(c==="failure")return"failure";let{name:l,filename:A,contentType:u,encoding:d}=c;o.position+=2;let g;{let B=t.indexOf(n.subarray(2),o.position);if(B===-1)return"failure";g=t.subarray(o.position,B-4),o.position+=g.length,d==="base64"&&(g=Buffer.from(g.toString(),"base64"))}if(t[o.position]!==13||t[o.position+1]!==10)return"failure";o.position+=2;let y;A!==null?(u??="text/plain",M5(u)||(u=""),y=new _5([g],A,{type:u})):y=S5(Buffer.from(g)),Rd(UP(l)),Rd(typeof y=="string"&&UP(y)||R5(y)),i.push(v5(l,y,A))}}s(L5,"multipartFormDataParser");function F5(t,e){let r=null,n=null,i=null,o=null;for(;;){if(t[e.position]===13&&t[e.position+1]===10)return r===null?"failure":{name:r,filename:n,contentType:i,encoding:o};let a=Sa(c=>c!==10&&c!==13&&c!==58,t,e);if(a=jC(a,!0,!0,c=>c===9||c===32),!x5.test(a.toString())||t[e.position]!==58)return"failure";switch(e.position++,Sa(c=>c===32||c===9,t,e),w5(a)){case"content-disposition":{if(r=n=null,!vd(t,D5,e)||(e.position+=17,r=zP(t,e),r===null))return"failure";if(vd(t,HP,e)){let c=e.position+HP.length;if(t[c]===42&&(e.position+=1,c+=1),t[c]!==61||t[c+1]!==34||(e.position+=12,n=zP(t,e),n===null))return"failure"}break}case"content-type":{let c=Sa(l=>l!==10&&l!==13,t,e);c=jC(c,!1,!0,l=>l===9||l===32),i=qP(c);break}case"content-transfer-encoding":{let c=Sa(l=>l!==10&&l!==13,t,e);c=jC(c,!1,!0,l=>l===9||l===32),o=qP(c);break}default:Sa(c=>c!==10&&c!==13,t,e)}if(t[e.position]!==13&&t[e.position+1]!==10)return"failure";e.position+=2}}s(F5,"parseMultipartFormDataHeaders");function zP(t,e){Rd(t[e.position-1]===34);let r=Sa(n=>n!==10&&n!==13&&n!==34,t,e);return t[e.position]!==34?null:(e.position++,r=new TextDecoder().decode(r).replace(/%0A/ig,` +`).replace(/%0D/ig,"\r").replace(/%22/g,'"'),r)}s(zP,"parseMultipartFormDataName");function Sa(t,e,r){let n=r.position;for(;n0&&n(t[o]);)o--;return i===0&&o===t.length-1?t:t.subarray(i,o+1)}s(jC,"removeChars");function vd(t,e,r){if(t.length{"use strict";var Wl=Ce(),{ReadableStreamFrom:U5,isBlobLike:YP,isReadableStreamLike:q5,readableStreamClose:H5,createDeferredPromise:z5,fullyReadBody:G5,extractMimeType:j5,utf8DecodeBytes:WP}=Fr(),{FormData:JP}=Vl(),{kState:Ra}=As(),{webidl:Y5}=Zt(),{Blob:J5}=require("node:buffer"),YC=require("node:assert"),{isErrored:KP,isDisturbed:V5}=require("node:stream"),{isArrayBuffer:W5}=require("node:util/types"),{serializeAMimeType:K5}=Ir(),{multipartFormDataParser:$5}=jP(),JC;try{let t=require("node:crypto");JC=s(e=>t.randomInt(0,e),"random")}catch{JC=s(t=>Math.floor(Math.random(t)),"random")}var Pd=new TextEncoder;function X5(){}s(X5,"noop");var $P=globalThis.FinalizationRegistry&&process.version.indexOf("v18")!==0,XP;$P&&(XP=new FinalizationRegistry(t=>{let e=t.deref();e&&!e.locked&&!V5(e)&&!KP(e)&&e.cancel("Response object has been garbage collected").catch(X5)}));function ZP(t,e=!1){let r=null;t instanceof ReadableStream?r=t:YP(t)?r=t.stream():r=new ReadableStream({async pull(l){let A=typeof i=="string"?Pd.encode(i):i;A.byteLength&&l.enqueue(A),queueMicrotask(()=>H5(l))},start(){},type:"bytes"}),YC(q5(r));let n=null,i=null,o=null,a=null;if(typeof t=="string")i=t,a="text/plain;charset=UTF-8";else if(t instanceof URLSearchParams)i=t.toString(),a="application/x-www-form-urlencoded;charset=UTF-8";else if(W5(t))i=new Uint8Array(t.slice());else if(ArrayBuffer.isView(t))i=new Uint8Array(t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength));else if(Wl.isFormDataLike(t)){let l=`----formdata-undici-0${`${JC(1e11)}`.padStart(11,"0")}`,A=`--${l}\r +Content-Disposition: form-data`;let u=s(x=>x.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22"),"escape"),d=s(x=>x.replace(/\r?\n|\r/g,`\r +`),"normalizeLinefeeds"),g=[],y=new Uint8Array([13,10]);o=0;let B=!1;for(let[x,S]of t)if(typeof S=="string"){let R=Pd.encode(A+`; name="${u(d(x))}"\r \r -${d(w)}\r -`);g.push(v),s+=v.byteLength}else{let v=wd.encode(`${A}; name="${u(d(x))}"`+(w.name?`; filename="${u(w.name)}"`:"")+`\r -Content-Type: ${w.type||"application/octet-stream"}\r +${d(S)}\r +`);g.push(R),o+=R.byteLength}else{let R=Pd.encode(`${A}; name="${u(d(x))}"`+(S.name?`; filename="${u(S.name)}"`:"")+`\r +Content-Type: ${S.type||"application/octet-stream"}\r \r -`);g.push(v,w,f),typeof w.size=="number"?s+=v.byteLength+w.size+f.byteLength:C=!0}let Q=wd.encode(`--${l}--\r -`);g.push(Q),s+=Q.byteLength,C&&(s=null),i=t,n=o(async function*(){for(let x of g)x.stream?yield*x.stream():yield x},"action"),a=`multipart/form-data; boundary=${l}`}else if(cP(t))i=t,s=t.size,t.type&&(a=t.type);else if(typeof t[Symbol.asyncIterator]=="function"){if(e)throw new TypeError("keepalive");if(zl.isDisturbed(t)||t.locked)throw new TypeError("Response body object should not be disturbed or locked");r=t instanceof ReadableStream?t:x9(t)}if((typeof i=="string"||zl.isBuffer(i))&&(s=Buffer.byteLength(i)),n!=null){let l;r=new ReadableStream({async start(){l=n(t)[Symbol.asyncIterator]()},async pull(A){let{value:u,done:d}=await l.next();if(d)queueMicrotask(()=>{A.close(),A.byobRequest?.respond(0)});else if(!dP(r)){let g=new Uint8Array(u);g.byteLength&&A.enqueue(g)}return A.desiredSize>0},async cancel(A){await l.return()},type:"bytes"})}return[{stream:r,source:i,length:s},a]}o(gP,"extractBody");function q9(t,e=!1){return t instanceof ReadableStream&&(JC(!zl.isDisturbed(t),"The body has already been consumed."),JC(!t.locked,"The stream is locked.")),gP(t,e)}o(q9,"safelyExtractBody");function H9(t,e){let[r,n]=e.stream.tee();return e.stream=r,{stream:n,length:e.length,source:e.source}}o(H9,"cloneBody");function z9(t){if(t.aborted)throw new DOMException("The operation was aborted.","AbortError")}o(z9,"throwIfAborted");function j9(t){return{blob(){return Ca(this,r=>{let n=AP(this);return n===null?n="":n&&(n=L9(n)),new O9([r],{type:n})},t)},arrayBuffer(){return Ca(this,r=>new Uint8Array(r).buffer,t)},text(){return Ca(this,uP,t)},json(){return Ca(this,Y9,t)},formData(){return Ca(this,r=>{let n=AP(this);if(n!==null)switch(n.essence){case"multipart/form-data":{let i=F9(r,n);if(i==="failure")throw new TypeError("Failed to parse body as FormData.");let s=new lP;return s[Ea]=i,s}case"application/x-www-form-urlencoded":{let i=new URLSearchParams(r.toString()),s=new lP;for(let[a,c]of i)s.append(a,c);return s}}throw new TypeError('Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".')},t)},bytes(){return Ca(this,r=>new Uint8Array(r),t)}}}o(j9,"bodyMixinMethods");function G9(t){Object.assign(t.prototype,j9(t))}o(G9,"mixinBody");async function Ca(t,e,r){if(T9.brandCheck(t,r),fP(t))throw new TypeError("Body is unusable: Body has already been read");z9(t[Ea]);let n=_9(),i=o(a=>n.reject(a),"errorSteps"),s=o(a=>{try{n.resolve(e(a))}catch(c){i(c)}},"successSteps");return t[Ea].body==null?(s(Buffer.allocUnsafe(0)),n.promise):(await P9(t[Ea].body,s,i),n.promise)}o(Ca,"consumeBody");function fP(t){let e=t[Ea].body;return e!=null&&(e.stream.locked||zl.isDisturbed(e.stream))}o(fP,"bodyUnusable");function Y9(t){return JSON.parse(uP(t))}o(Y9,"parseJSONFromBytes");function AP(t){let e=t[Ea].headersList,r=D9(e);return r==="failure"?null:r}o(AP,"bodyMimeType");hP.exports={extractBody:gP,safelyExtractBody:q9,cloneBody:H9,mixinBody:G9,streamRegistry:mP,hasFinalizationRegistry:pP,bodyUnusable:fP}});var xP=h((tqe,SP)=>{"use strict";var oe=require("node:assert"),pe=Ee(),{channels:yP}=ca(),WC=RC(),{RequestContentLengthMismatchError:so,ResponseContentLengthMismatchError:J9,RequestAbortedError:QP,HeadersTimeoutError:V9,HeadersOverflowError:W9,SocketError:_d,InformationalError:Ia,BodyTimeoutError:K9,HTTPParserError:$9,ResponseExceededMaxSizeError:X9}=_e(),{kUrl:wP,kReset:yr,kClient:ZC,kParser:dt,kBlocking:Yl,kRunning:Kt,kPending:Z9,kSize:CP,kWriting:As,kQueue:Pn,kNoRef:jl,kKeepAliveDefaultTimeout:e6,kHostHeader:t6,kPendingIdx:r6,kRunningIdx:on,kError:an,kPipelining:vd,kSocket:ba,kKeepAliveTimeoutValue:Pd,kMaxHeadersSize:KC,kKeepAliveMaxTimeout:n6,kKeepAliveTimeoutThreshold:i6,kHeadersTimeout:s6,kBodyTimeout:o6,kStrictContentLength:eE,kMaxRequests:EP,kCounter:a6,kMaxResponseSize:c6,kOnError:l6,kResume:ls,kHTTPContext:NP}=tt(),ri=m_(),A6=Buffer.alloc(0),Nd=Buffer[Symbol.species],Sd=pe.addListener,u6=pe.removeAllListeners,$C;async function d6(){let t=process.env.JEST_WORKER_ID?DC():void 0,e;try{e=await WebAssembly.compile(h_())}catch{e=await WebAssembly.compile(t||DC())}return await WebAssembly.instantiate(e,{env:{wasm_on_url:(r,n,i)=>0,wasm_on_status:(r,n,i)=>{oe(_t.ptr===r);let s=n-ii+ni.byteOffset;return _t.onStatus(new Nd(ni.buffer,s,i))||0},wasm_on_message_begin:r=>(oe(_t.ptr===r),_t.onMessageBegin()||0),wasm_on_header_field:(r,n,i)=>{oe(_t.ptr===r);let s=n-ii+ni.byteOffset;return _t.onHeaderField(new Nd(ni.buffer,s,i))||0},wasm_on_header_value:(r,n,i)=>{oe(_t.ptr===r);let s=n-ii+ni.byteOffset;return _t.onHeaderValue(new Nd(ni.buffer,s,i))||0},wasm_on_headers_complete:(r,n,i,s)=>(oe(_t.ptr===r),_t.onHeadersComplete(n,!!i,!!s)||0),wasm_on_body:(r,n,i)=>{oe(_t.ptr===r);let s=n-ii+ni.byteOffset;return _t.onBody(new Nd(ni.buffer,s,i))||0},wasm_on_message_complete:r=>(oe(_t.ptr===r),_t.onMessageComplete()||0)}})}o(d6,"lazyllhttp");var XC=null,tE=d6();tE.catch();var _t=null,ni=null,xd=0,ii=null,p6=0,Gl=1,Qa=2|Gl,Rd=4|Gl,rE=8|p6,nE=class{static{o(this,"Parser")}constructor(e,r,{exports:n}){oe(Number.isFinite(e[KC])&&e[KC]>0),this.llhttp=n,this.ptr=this.llhttp.llhttp_alloc(ri.TYPE.RESPONSE),this.client=e,this.socket=r,this.timeout=null,this.timeoutValue=null,this.timeoutType=null,this.statusCode=null,this.statusText="",this.upgrade=!1,this.headers=[],this.headersSize=0,this.headersMaxSize=e[KC],this.shouldKeepAlive=!1,this.paused=!1,this.resume=this.resume.bind(this),this.bytesRead=0,this.keepAlive="",this.contentLength="",this.connection="",this.maxResponseSize=e[c6]}setTimeout(e,r){e!==this.timeoutValue||r&Gl^this.timeoutType&Gl?(this.timeout&&(WC.clearTimeout(this.timeout),this.timeout=null),e&&(r&Gl?this.timeout=WC.setFastTimeout(BP,e,new WeakRef(this)):(this.timeout=setTimeout(BP,e,new WeakRef(this)),this.timeout.unref())),this.timeoutValue=e):this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.timeoutType=r}resume(){this.socket.destroyed||!this.paused||(oe(this.ptr!=null),oe(_t==null),this.llhttp.llhttp_resume(this.ptr),oe(this.timeoutType===Rd),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.paused=!1,this.execute(this.socket.read()||A6),this.readMore())}readMore(){for(;!this.paused&&this.ptr;){let e=this.socket.read();if(e===null)break;this.execute(e)}}execute(e){oe(this.ptr!=null),oe(_t==null),oe(!this.paused);let{socket:r,llhttp:n}=this;e.length>xd&&(ii&&n.free(ii),xd=Math.ceil(e.length/4096)*4096,ii=n.malloc(xd)),new Uint8Array(n.memory.buffer,ii,xd).set(e);try{let i;try{ni=e,_t=this,i=n.llhttp_execute(this.ptr,ii,e.length)}catch(a){throw a}finally{_t=null,ni=null}let s=n.llhttp_get_error_pos(this.ptr)-ii;if(i===ri.ERROR.PAUSED_UPGRADE)this.onUpgrade(e.slice(s));else if(i===ri.ERROR.PAUSED)this.paused=!0,r.unshift(e.slice(s));else if(i!==ri.ERROR.OK){let a=n.llhttp_get_error_reason(this.ptr),c="";if(a){let l=new Uint8Array(n.memory.buffer,a).indexOf(0);c="Response does not match the HTTP/1.1 protocol ("+Buffer.from(n.memory.buffer,a,l).toString()+")"}throw new $9(c,ri.ERROR[i],e.slice(s))}}catch(i){pe.destroy(r,i)}}destroy(){oe(this.ptr!=null),oe(_t==null),this.llhttp.llhttp_free(this.ptr),this.ptr=null,this.timeout&&WC.clearTimeout(this.timeout),this.timeout=null,this.timeoutValue=null,this.timeoutType=null,this.paused=!1}onStatus(e){this.statusText=e.toString()}onMessageBegin(){let{socket:e,client:r}=this;if(e.destroyed)return-1;let n=r[Pn][r[on]];if(!n)return-1;n.onResponseStarted()}onHeaderField(e){let r=this.headers.length;r&1?this.headers[r-1]=Buffer.concat([this.headers[r-1],e]):this.headers.push(e),this.trackHeader(e.length)}onHeaderValue(e){let r=this.headers.length;(r&1)===1?(this.headers.push(e),r+=1):this.headers[r-1]=Buffer.concat([this.headers[r-1],e]);let n=this.headers[r-2];if(n.length===10){let i=pe.bufferToLowerCasedHeaderName(n);i==="keep-alive"?this.keepAlive+=e.toString():i==="connection"&&(this.connection+=e.toString())}else n.length===14&&pe.bufferToLowerCasedHeaderName(n)==="content-length"&&(this.contentLength+=e.toString());this.trackHeader(e.length)}trackHeader(e){this.headersSize+=e,this.headersSize>=this.headersMaxSize&&pe.destroy(this.socket,new W9)}onUpgrade(e){let{upgrade:r,client:n,socket:i,headers:s,statusCode:a}=this;oe(r),oe(n[ba]===i),oe(!i.destroyed),oe(!this.paused),oe((s.length&1)===0);let c=n[Pn][n[on]];oe(c),oe(c.upgrade||c.method==="CONNECT"),this.statusCode=null,this.statusText="",this.shouldKeepAlive=null,this.headers=[],this.headersSize=0,i.unshift(e),i[dt].destroy(),i[dt]=null,i[ZC]=null,i[an]=null,u6(i),n[ba]=null,n[NP]=null,n[Pn][n[on]++]=null,n.emit("disconnect",n[wP],[n],new Ia("upgrade"));try{c.onUpgrade(a,s,i)}catch(l){pe.destroy(i,l)}n[ls]()}onHeadersComplete(e,r,n){let{client:i,socket:s,headers:a,statusText:c}=this;if(s.destroyed)return-1;let l=i[Pn][i[on]];if(!l)return-1;if(oe(!this.upgrade),oe(this.statusCode<200),e===100)return pe.destroy(s,new _d("bad response",pe.getSocketInfo(s))),-1;if(r&&!l.upgrade)return pe.destroy(s,new _d("bad upgrade",pe.getSocketInfo(s))),-1;if(oe(this.timeoutType===Qa),this.statusCode=e,this.shouldKeepAlive=n||l.method==="HEAD"&&!s[yr]&&this.connection.toLowerCase()==="keep-alive",this.statusCode>=200){let u=l.bodyTimeout!=null?l.bodyTimeout:i[o6];this.setTimeout(u,Rd)}else this.timeout&&this.timeout.refresh&&this.timeout.refresh();if(l.method==="CONNECT")return oe(i[Kt]===1),this.upgrade=!0,2;if(r)return oe(i[Kt]===1),this.upgrade=!0,2;if(oe((this.headers.length&1)===0),this.headers=[],this.headersSize=0,this.shouldKeepAlive&&i[vd]){let u=this.keepAlive?pe.parseKeepAliveTimeout(this.keepAlive):null;if(u!=null){let d=Math.min(u-i[i6],i[n6]);d<=0?s[yr]=!0:i[Pd]=d}else i[Pd]=i[e6]}else s[yr]=!0;let A=l.onHeaders(e,a,this.resume,c)===!1;return l.aborted?-1:l.method==="HEAD"||e<200?1:(s[Yl]&&(s[Yl]=!1,i[ls]()),A?ri.ERROR.PAUSED:0)}onBody(e){let{client:r,socket:n,statusCode:i,maxResponseSize:s}=this;if(n.destroyed)return-1;let a=r[Pn][r[on]];if(oe(a),oe(this.timeoutType===Rd),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),oe(i>=200),s>-1&&this.bytesRead+e.length>s)return pe.destroy(n,new X9),-1;if(this.bytesRead+=e.length,a.onData(e)===!1)return ri.ERROR.PAUSED}onMessageComplete(){let{client:e,socket:r,statusCode:n,upgrade:i,headers:s,contentLength:a,bytesRead:c,shouldKeepAlive:l}=this;if(r.destroyed&&(!n||l))return-1;if(i)return;oe(n>=100),oe((this.headers.length&1)===0);let A=e[Pn][e[on]];if(oe(A),this.statusCode=null,this.statusText="",this.bytesRead=0,this.contentLength="",this.keepAlive="",this.connection="",this.headers=[],this.headersSize=0,!(n<200)){if(A.method!=="HEAD"&&a&&c!==parseInt(a,10))return pe.destroy(r,new J9),-1;if(A.onComplete(s),e[Pn][e[on]++]=null,r[As])return oe(e[Kt]===0),pe.destroy(r,new Ia("reset")),ri.ERROR.PAUSED;if(l){if(r[yr]&&e[Kt]===0)return pe.destroy(r,new Ia("reset")),ri.ERROR.PAUSED;e[vd]==null||e[vd]===1?setImmediate(()=>e[ls]()):e[ls]()}else return pe.destroy(r,new Ia("reset")),ri.ERROR.PAUSED}}};function BP(t){let{socket:e,timeoutType:r,client:n,paused:i}=t.deref();r===Qa?(!e[As]||e.writableNeedDrain||n[Kt]>1)&&(oe(!i,"cannot be paused while waiting for headers"),pe.destroy(e,new V9)):r===Rd?i||pe.destroy(e,new K9):r===rE&&(oe(n[Kt]===0&&n[Pd]),pe.destroy(e,new Ia("socket idle timeout")))}o(BP,"onParserTimeout");async function m6(t,e){t[ba]=e,XC||(XC=await tE,tE=null),e[jl]=!1,e[As]=!1,e[yr]=!1,e[Yl]=!1,e[dt]=new nE(t,e,XC),Sd(e,"error",function(n){oe(n.code!=="ERR_TLS_CERT_ALTNAME_INVALID");let i=this[dt];if(n.code==="ECONNRESET"&&i.statusCode&&!i.shouldKeepAlive){i.onMessageComplete();return}this[an]=n,this[ZC][l6](n)}),Sd(e,"readable",function(){let n=this[dt];n&&n.readMore()}),Sd(e,"end",function(){let n=this[dt];if(n.statusCode&&!n.shouldKeepAlive){n.onMessageComplete();return}pe.destroy(this,new _d("other side closed",pe.getSocketInfo(this)))}),Sd(e,"close",function(){let n=this[ZC],i=this[dt];i&&(!this[an]&&i.statusCode&&!i.shouldKeepAlive&&i.onMessageComplete(),this[dt].destroy(),this[dt]=null);let s=this[an]||new _d("closed",pe.getSocketInfo(this));if(n[ba]=null,n[NP]=null,n.destroyed){oe(n[Z9]===0);let a=n[Pn].splice(n[on]);for(let c=0;c0&&s.code!=="UND_ERR_INFO"){let a=n[Pn][n[on]];n[Pn][n[on]++]=null,pe.errorRequest(n,a,s)}n[r6]=n[on],oe(n[Kt]===0),n.emit("disconnect",n[wP],[n],s),n[ls]()});let r=!1;return e.on("close",()=>{r=!0}),{version:"h1",defaultPipelining:1,write(...n){return h6(t,...n)},resume(){g6(t)},destroy(n,i){r?queueMicrotask(i):e.destroy(n).on("close",i)},get destroyed(){return e.destroyed},busy(n){return!!(e[As]||e[yr]||e[Yl]||n&&(t[Kt]>0&&!n.idempotent||t[Kt]>0&&(n.upgrade||n.method==="CONNECT")||t[Kt]>0&&pe.bodyLength(n.body)!==0&&(pe.isStream(n.body)||pe.isAsyncIterable(n.body)||pe.isFormDataLike(n.body))))}}}o(m6,"connectH1");function g6(t){let e=t[ba];if(e&&!e.destroyed){if(t[CP]===0?!e[jl]&&e.unref&&(e.unref(),e[jl]=!0):e[jl]&&e.ref&&(e.ref(),e[jl]=!1),t[CP]===0)e[dt].timeoutType!==rE&&e[dt].setTimeout(t[Pd],rE);else if(t[Kt]>0&&e[dt].statusCode<200&&e[dt].timeoutType!==Qa){let r=t[Pn][t[on]],n=r.headersTimeout!=null?r.headersTimeout:t[s6];e[dt].setTimeout(n,Qa)}}}o(g6,"resumeH1");function f6(t){return t!=="GET"&&t!=="HEAD"&&t!=="OPTIONS"&&t!=="TRACE"&&t!=="CONNECT"}o(f6,"shouldSendContentLength");function h6(t,e){let{method:r,path:n,host:i,upgrade:s,blocking:a,reset:c}=e,{body:l,headers:A,contentLength:u}=e,d=r==="PUT"||r==="POST"||r==="PATCH"||r==="QUERY"||r==="PROPFIND"||r==="PROPPATCH";if(pe.isFormDataLike(l)){$C||($C=Ba().extractBody);let[x,w]=$C(l);e.contentType==null&&A.push("content-type",w),l=x.stream,u=x.length}else pe.isBlobLike(l)&&e.contentType==null&&l.type&&A.push("content-type",l.type);l&&typeof l.read=="function"&&l.read(0);let g=pe.bodyLength(l);if(u=g??u,u===null&&(u=e.contentLength),u===0&&!d&&(u=null),f6(r)&&u>0&&e.contentLength!==null&&e.contentLength!==u){if(t[eE])return pe.errorRequest(t,e,new so),!1;process.emitWarning(new so)}let f=t[ba],C=o(x=>{e.aborted||e.completed||(pe.errorRequest(t,e,x||new QP),pe.destroy(l),pe.destroy(f,new Ia("aborted")))},"abort");try{e.onConnect(C)}catch(x){pe.errorRequest(t,e,x)}if(e.aborted)return!1;r==="HEAD"&&(f[yr]=!0),(s||r==="CONNECT")&&(f[yr]=!0),c!=null&&(f[yr]=c),t[EP]&&f[a6]++>=t[EP]&&(f[yr]=!0),a&&(f[Yl]=!0);let Q=`${r} ${n} HTTP/1.1\r -`;if(typeof i=="string"?Q+=`host: ${i}\r -`:Q+=t[t6],s?Q+=`connection: upgrade\r -upgrade: ${s}\r -`:t[vd]&&!f[yr]?Q+=`connection: keep-alive\r -`:Q+=`connection: close\r -`,Array.isArray(A))for(let x=0;x{e.removeListener("error",f)}),!l){let C=new QP;queueMicrotask(()=>f(C))}},"onClose"),f=o(function(C){if(!l){if(l=!0,oe(i.destroyed||i[As]&&r[Kt]<=1),i.off("drain",d).off("error",f),e.removeListener("data",u).removeListener("end",f).removeListener("close",g),!C)try{A.end()}catch(Q){C=Q}A.destroy(C),C&&(C.code!=="UND_ERR_INFO"||C.message!=="reset")?pe.destroy(e,C):pe.destroy(e)}},"onFinished");e.on("data",u).on("end",f).on("error",f).on("close",g),e.resume&&e.resume(),i.on("drain",d).on("error",f),e.errorEmitted??e.errored?setImmediate(()=>f(e.errored)):(e.endEmitted??e.readableEnded)&&setImmediate(()=>f(null)),(e.closeEmitted??e.closed)&&setImmediate(g)}o(y6,"writeStream");function IP(t,e,r,n,i,s,a,c){try{e?pe.isBuffer(e)&&(oe(s===e.byteLength,"buffer body must have content length"),i.cork(),i.write(`${a}content-length: ${s}\r +`);g.push(R,S,y),typeof S.size=="number"?o+=R.byteLength+S.size+y.byteLength:B=!0}let w=Pd.encode(`--${l}--\r +`);g.push(w),o+=w.byteLength,B&&(o=null),i=t,n=s(async function*(){for(let x of g)x.stream?yield*x.stream():yield x},"action"),a=`multipart/form-data; boundary=${l}`}else if(YP(t))i=t,o=t.size,t.type&&(a=t.type);else if(typeof t[Symbol.asyncIterator]=="function"){if(e)throw new TypeError("keepalive");if(Wl.isDisturbed(t)||t.locked)throw new TypeError("Response body object should not be disturbed or locked");r=t instanceof ReadableStream?t:U5(t)}if((typeof i=="string"||Wl.isBuffer(i))&&(o=Buffer.byteLength(i)),n!=null){let l;r=new ReadableStream({async start(){l=n(t)[Symbol.asyncIterator]()},async pull(A){let{value:u,done:d}=await l.next();if(d)queueMicrotask(()=>{A.close(),A.byobRequest?.respond(0)});else if(!KP(r)){let g=new Uint8Array(u);g.byteLength&&A.enqueue(g)}return A.desiredSize>0},async cancel(A){await l.return()},type:"bytes"})}return[{stream:r,source:i,length:o},a]}s(ZP,"extractBody");function Z5(t,e=!1){return t instanceof ReadableStream&&(YC(!Wl.isDisturbed(t),"The body has already been consumed."),YC(!t.locked,"The stream is locked.")),ZP(t,e)}s(Z5,"safelyExtractBody");function eX(t,e){let[r,n]=e.stream.tee();return e.stream=r,{stream:n,length:e.length,source:e.source}}s(eX,"cloneBody");function tX(t){if(t.aborted)throw new DOMException("The operation was aborted.","AbortError")}s(tX,"throwIfAborted");function rX(t){return{blob(){return xa(this,r=>{let n=VP(this);return n===null?n="":n&&(n=K5(n)),new J5([r],{type:n})},t)},arrayBuffer(){return xa(this,r=>new Uint8Array(r).buffer,t)},text(){return xa(this,WP,t)},json(){return xa(this,iX,t)},formData(){return xa(this,r=>{let n=VP(this);if(n!==null)switch(n.essence){case"multipart/form-data":{let i=$5(r,n);if(i==="failure")throw new TypeError("Failed to parse body as FormData.");let o=new JP;return o[Ra]=i,o}case"application/x-www-form-urlencoded":{let i=new URLSearchParams(r.toString()),o=new JP;for(let[a,c]of i)o.append(a,c);return o}}throw new TypeError('Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".')},t)},bytes(){return xa(this,r=>new Uint8Array(r),t)}}}s(rX,"bodyMixinMethods");function nX(t){Object.assign(t.prototype,rX(t))}s(nX,"mixinBody");async function xa(t,e,r){if(Y5.brandCheck(t,r),e_(t))throw new TypeError("Body is unusable: Body has already been read");tX(t[Ra]);let n=z5(),i=s(a=>n.reject(a),"errorSteps"),o=s(a=>{try{n.resolve(e(a))}catch(c){i(c)}},"successSteps");return t[Ra].body==null?(o(Buffer.allocUnsafe(0)),n.promise):(await G5(t[Ra].body,o,i),n.promise)}s(xa,"consumeBody");function e_(t){let e=t[Ra].body;return e!=null&&(e.stream.locked||Wl.isDisturbed(e.stream))}s(e_,"bodyUnusable");function iX(t){return JSON.parse(WP(t))}s(iX,"parseJSONFromBytes");function VP(t){let e=t[Ra].headersList,r=j5(e);return r==="failure"?null:r}s(VP,"bodyMimeType");t_.exports={extractBody:ZP,safelyExtractBody:Z5,cloneBody:eX,mixinBody:nX,streamRegistry:XP,hasFinalizationRegistry:$P,bodyUnusable:e_}});var d_=f((GLe,u_)=>{"use strict";var ce=require("node:assert"),pe=Ce(),{channels:r_}=fa(),VC=RC(),{RequestContentLengthMismatchError:uo,ResponseContentLengthMismatchError:sX,RequestAbortedError:c_,HeadersTimeoutError:oX,HeadersOverflowError:aX,SocketError:kd,InformationalError:Pa,BodyTimeoutError:cX,HTTPParserError:lX,ResponseExceededMaxSizeError:AX}=Pe(),{kUrl:l_,kReset:br,kClient:XC,kParser:pt,kBlocking:Xl,kRunning:tr,kPending:uX,kSize:n_,kWriting:ds,kQueue:Mn,kNoRef:Kl,kKeepAliveDefaultTimeout:dX,kHostHeader:pX,kPendingIdx:mX,kRunningIdx:An,kError:un,kPipelining:Od,kSocket:_a,kKeepAliveTimeoutValue:Ld,kMaxHeadersSize:WC,kKeepAliveMaxTimeout:gX,kKeepAliveTimeoutThreshold:hX,kHeadersTimeout:fX,kBodyTimeout:yX,kStrictContentLength:ZC,kMaxRequests:i_,kCounter:CX,kMaxResponseSize:EX,kOnError:BX,kResume:us,kHTTPContext:A_}=et(),si=Xv(),IX=Buffer.alloc(0),_d=Buffer[Symbol.species],Dd=pe.addListener,bX=pe.removeAllListeners,KC;async function QX(){let t=process.env.JEST_WORKER_ID?_C():void 0,e;try{e=await WebAssembly.compile(tP())}catch{e=await WebAssembly.compile(t||_C())}return await WebAssembly.instantiate(e,{env:{wasm_on_url:s((r,n,i)=>0,"wasm_on_url"),wasm_on_status:s((r,n,i)=>{ce(Dt.ptr===r);let o=n-ai+oi.byteOffset;return Dt.onStatus(new _d(oi.buffer,o,i))||0},"wasm_on_status"),wasm_on_message_begin:s(r=>(ce(Dt.ptr===r),Dt.onMessageBegin()||0),"wasm_on_message_begin"),wasm_on_header_field:s((r,n,i)=>{ce(Dt.ptr===r);let o=n-ai+oi.byteOffset;return Dt.onHeaderField(new _d(oi.buffer,o,i))||0},"wasm_on_header_field"),wasm_on_header_value:s((r,n,i)=>{ce(Dt.ptr===r);let o=n-ai+oi.byteOffset;return Dt.onHeaderValue(new _d(oi.buffer,o,i))||0},"wasm_on_header_value"),wasm_on_headers_complete:s((r,n,i,o)=>(ce(Dt.ptr===r),Dt.onHeadersComplete(n,!!i,!!o)||0),"wasm_on_headers_complete"),wasm_on_body:s((r,n,i)=>{ce(Dt.ptr===r);let o=n-ai+oi.byteOffset;return Dt.onBody(new _d(oi.buffer,o,i))||0},"wasm_on_body"),wasm_on_message_complete:s(r=>(ce(Dt.ptr===r),Dt.onMessageComplete()||0),"wasm_on_message_complete")}})}s(QX,"lazyllhttp");var $C=null,eE=QX();eE.catch();var Dt=null,oi=null,Td=0,ai=null,NX=0,$l=1,Da=2|$l,Md=4|$l,tE=8|NX,rE=class{static{s(this,"Parser")}constructor(e,r,{exports:n}){ce(Number.isFinite(e[WC])&&e[WC]>0),this.llhttp=n,this.ptr=this.llhttp.llhttp_alloc(si.TYPE.RESPONSE),this.client=e,this.socket=r,this.timeout=null,this.timeoutValue=null,this.timeoutType=null,this.statusCode=null,this.statusText="",this.upgrade=!1,this.headers=[],this.headersSize=0,this.headersMaxSize=e[WC],this.shouldKeepAlive=!1,this.paused=!1,this.resume=this.resume.bind(this),this.bytesRead=0,this.keepAlive="",this.contentLength="",this.connection="",this.maxResponseSize=e[EX]}setTimeout(e,r){e!==this.timeoutValue||r&$l^this.timeoutType&$l?(this.timeout&&(VC.clearTimeout(this.timeout),this.timeout=null),e&&(r&$l?this.timeout=VC.setFastTimeout(s_,e,new WeakRef(this)):(this.timeout=setTimeout(s_,e,new WeakRef(this)),this.timeout.unref())),this.timeoutValue=e):this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.timeoutType=r}resume(){this.socket.destroyed||!this.paused||(ce(this.ptr!=null),ce(Dt==null),this.llhttp.llhttp_resume(this.ptr),ce(this.timeoutType===Md),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.paused=!1,this.execute(this.socket.read()||IX),this.readMore())}readMore(){for(;!this.paused&&this.ptr;){let e=this.socket.read();if(e===null)break;this.execute(e)}}execute(e){ce(this.ptr!=null),ce(Dt==null),ce(!this.paused);let{socket:r,llhttp:n}=this;e.length>Td&&(ai&&n.free(ai),Td=Math.ceil(e.length/4096)*4096,ai=n.malloc(Td)),new Uint8Array(n.memory.buffer,ai,Td).set(e);try{let i;try{oi=e,Dt=this,i=n.llhttp_execute(this.ptr,ai,e.length)}catch(a){throw a}finally{Dt=null,oi=null}let o=n.llhttp_get_error_pos(this.ptr)-ai;if(i===si.ERROR.PAUSED_UPGRADE)this.onUpgrade(e.slice(o));else if(i===si.ERROR.PAUSED)this.paused=!0,r.unshift(e.slice(o));else if(i!==si.ERROR.OK){let a=n.llhttp_get_error_reason(this.ptr),c="";if(a){let l=new Uint8Array(n.memory.buffer,a).indexOf(0);c="Response does not match the HTTP/1.1 protocol ("+Buffer.from(n.memory.buffer,a,l).toString()+")"}throw new lX(c,si.ERROR[i],e.slice(o))}}catch(i){pe.destroy(r,i)}}destroy(){ce(this.ptr!=null),ce(Dt==null),this.llhttp.llhttp_free(this.ptr),this.ptr=null,this.timeout&&VC.clearTimeout(this.timeout),this.timeout=null,this.timeoutValue=null,this.timeoutType=null,this.paused=!1}onStatus(e){this.statusText=e.toString()}onMessageBegin(){let{socket:e,client:r}=this;if(e.destroyed)return-1;let n=r[Mn][r[An]];if(!n)return-1;n.onResponseStarted()}onHeaderField(e){let r=this.headers.length;(r&1)===0?this.headers.push(e):this.headers[r-1]=Buffer.concat([this.headers[r-1],e]),this.trackHeader(e.length)}onHeaderValue(e){let r=this.headers.length;(r&1)===1?(this.headers.push(e),r+=1):this.headers[r-1]=Buffer.concat([this.headers[r-1],e]);let n=this.headers[r-2];if(n.length===10){let i=pe.bufferToLowerCasedHeaderName(n);i==="keep-alive"?this.keepAlive+=e.toString():i==="connection"&&(this.connection+=e.toString())}else n.length===14&&pe.bufferToLowerCasedHeaderName(n)==="content-length"&&(this.contentLength+=e.toString());this.trackHeader(e.length)}trackHeader(e){this.headersSize+=e,this.headersSize>=this.headersMaxSize&&pe.destroy(this.socket,new aX)}onUpgrade(e){let{upgrade:r,client:n,socket:i,headers:o,statusCode:a}=this;ce(r),ce(n[_a]===i),ce(!i.destroyed),ce(!this.paused),ce((o.length&1)===0);let c=n[Mn][n[An]];ce(c),ce(c.upgrade||c.method==="CONNECT"),this.statusCode=null,this.statusText="",this.shouldKeepAlive=null,this.headers=[],this.headersSize=0,i.unshift(e),i[pt].destroy(),i[pt]=null,i[XC]=null,i[un]=null,bX(i),n[_a]=null,n[A_]=null,n[Mn][n[An]++]=null,n.emit("disconnect",n[l_],[n],new Pa("upgrade"));try{c.onUpgrade(a,o,i)}catch(l){pe.destroy(i,l)}n[us]()}onHeadersComplete(e,r,n){let{client:i,socket:o,headers:a,statusText:c}=this;if(o.destroyed)return-1;let l=i[Mn][i[An]];if(!l)return-1;if(ce(!this.upgrade),ce(this.statusCode<200),e===100)return pe.destroy(o,new kd("bad response",pe.getSocketInfo(o))),-1;if(r&&!l.upgrade)return pe.destroy(o,new kd("bad upgrade",pe.getSocketInfo(o))),-1;if(ce(this.timeoutType===Da),this.statusCode=e,this.shouldKeepAlive=n||l.method==="HEAD"&&!o[br]&&this.connection.toLowerCase()==="keep-alive",this.statusCode>=200){let u=l.bodyTimeout!=null?l.bodyTimeout:i[yX];this.setTimeout(u,Md)}else this.timeout&&this.timeout.refresh&&this.timeout.refresh();if(l.method==="CONNECT")return ce(i[tr]===1),this.upgrade=!0,2;if(r)return ce(i[tr]===1),this.upgrade=!0,2;if(ce((this.headers.length&1)===0),this.headers=[],this.headersSize=0,this.shouldKeepAlive&&i[Od]){let u=this.keepAlive?pe.parseKeepAliveTimeout(this.keepAlive):null;if(u!=null){let d=Math.min(u-i[hX],i[gX]);d<=0?o[br]=!0:i[Ld]=d}else i[Ld]=i[dX]}else o[br]=!0;let A=l.onHeaders(e,a,this.resume,c)===!1;return l.aborted?-1:l.method==="HEAD"||e<200?1:(o[Xl]&&(o[Xl]=!1,i[us]()),A?si.ERROR.PAUSED:0)}onBody(e){let{client:r,socket:n,statusCode:i,maxResponseSize:o}=this;if(n.destroyed)return-1;let a=r[Mn][r[An]];if(ce(a),ce(this.timeoutType===Md),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),ce(i>=200),o>-1&&this.bytesRead+e.length>o)return pe.destroy(n,new AX),-1;if(this.bytesRead+=e.length,a.onData(e)===!1)return si.ERROR.PAUSED}onMessageComplete(){let{client:e,socket:r,statusCode:n,upgrade:i,headers:o,contentLength:a,bytesRead:c,shouldKeepAlive:l}=this;if(r.destroyed&&(!n||l))return-1;if(i)return;ce(n>=100),ce((this.headers.length&1)===0);let A=e[Mn][e[An]];if(ce(A),this.statusCode=null,this.statusText="",this.bytesRead=0,this.contentLength="",this.keepAlive="",this.connection="",this.headers=[],this.headersSize=0,!(n<200)){if(A.method!=="HEAD"&&a&&c!==parseInt(a,10))return pe.destroy(r,new sX),-1;if(A.onComplete(o),e[Mn][e[An]++]=null,r[ds])return ce(e[tr]===0),pe.destroy(r,new Pa("reset")),si.ERROR.PAUSED;if(l){if(r[br]&&e[tr]===0)return pe.destroy(r,new Pa("reset")),si.ERROR.PAUSED;e[Od]==null||e[Od]===1?setImmediate(()=>e[us]()):e[us]()}else return pe.destroy(r,new Pa("reset")),si.ERROR.PAUSED}}};function s_(t){let{socket:e,timeoutType:r,client:n,paused:i}=t.deref();r===Da?(!e[ds]||e.writableNeedDrain||n[tr]>1)&&(ce(!i,"cannot be paused while waiting for headers"),pe.destroy(e,new oX)):r===Md?i||pe.destroy(e,new cX):r===tE&&(ce(n[tr]===0&&n[Ld]),pe.destroy(e,new Pa("socket idle timeout")))}s(s_,"onParserTimeout");async function wX(t,e){t[_a]=e,$C||($C=await eE,eE=null),e[Kl]=!1,e[ds]=!1,e[br]=!1,e[Xl]=!1,e[pt]=new rE(t,e,$C),Dd(e,"error",function(n){ce(n.code!=="ERR_TLS_CERT_ALTNAME_INVALID");let i=this[pt];if(n.code==="ECONNRESET"&&i.statusCode&&!i.shouldKeepAlive){i.onMessageComplete();return}this[un]=n,this[XC][BX](n)}),Dd(e,"readable",function(){let n=this[pt];n&&n.readMore()}),Dd(e,"end",function(){let n=this[pt];if(n.statusCode&&!n.shouldKeepAlive){n.onMessageComplete();return}pe.destroy(this,new kd("other side closed",pe.getSocketInfo(this)))}),Dd(e,"close",function(){let n=this[XC],i=this[pt];i&&(!this[un]&&i.statusCode&&!i.shouldKeepAlive&&i.onMessageComplete(),this[pt].destroy(),this[pt]=null);let o=this[un]||new kd("closed",pe.getSocketInfo(this));if(n[_a]=null,n[A_]=null,n.destroyed){ce(n[uX]===0);let a=n[Mn].splice(n[An]);for(let c=0;c0&&o.code!=="UND_ERR_INFO"){let a=n[Mn][n[An]];n[Mn][n[An]++]=null,pe.errorRequest(n,a,o)}n[mX]=n[An],ce(n[tr]===0),n.emit("disconnect",n[l_],[n],o),n[us]()});let r=!1;return e.on("close",()=>{r=!0}),{version:"h1",defaultPipelining:1,write(...n){return RX(t,...n)},resume(){SX(t)},destroy(n,i){r?queueMicrotask(i):e.destroy(n).on("close",i)},get destroyed(){return e.destroyed},busy(n){return!!(e[ds]||e[br]||e[Xl]||n&&(t[tr]>0&&!n.idempotent||t[tr]>0&&(n.upgrade||n.method==="CONNECT")||t[tr]>0&&pe.bodyLength(n.body)!==0&&(pe.isStream(n.body)||pe.isAsyncIterable(n.body)||pe.isFormDataLike(n.body))))}}}s(wX,"connectH1");function SX(t){let e=t[_a];if(e&&!e.destroyed){if(t[n_]===0?!e[Kl]&&e.unref&&(e.unref(),e[Kl]=!0):e[Kl]&&e.ref&&(e.ref(),e[Kl]=!1),t[n_]===0)e[pt].timeoutType!==tE&&e[pt].setTimeout(t[Ld],tE);else if(t[tr]>0&&e[pt].statusCode<200&&e[pt].timeoutType!==Da){let r=t[Mn][t[An]],n=r.headersTimeout!=null?r.headersTimeout:t[fX];e[pt].setTimeout(n,Da)}}}s(SX,"resumeH1");function xX(t){return t!=="GET"&&t!=="HEAD"&&t!=="OPTIONS"&&t!=="TRACE"&&t!=="CONNECT"}s(xX,"shouldSendContentLength");function RX(t,e){let{method:r,path:n,host:i,upgrade:o,blocking:a,reset:c}=e,{body:l,headers:A,contentLength:u}=e,d=r==="PUT"||r==="POST"||r==="PATCH"||r==="QUERY"||r==="PROPFIND"||r==="PROPPATCH";if(pe.isFormDataLike(l)){KC||(KC=va().extractBody);let[x,S]=KC(l);e.contentType==null&&A.push("content-type",S),l=x.stream,u=x.length}else pe.isBlobLike(l)&&e.contentType==null&&l.type&&A.push("content-type",l.type);l&&typeof l.read=="function"&&l.read(0);let g=pe.bodyLength(l);if(u=g??u,u===null&&(u=e.contentLength),u===0&&!d&&(u=null),xX(r)&&u>0&&e.contentLength!==null&&e.contentLength!==u){if(t[ZC])return pe.errorRequest(t,e,new uo),!1;process.emitWarning(new uo)}let y=t[_a],B=s(x=>{e.aborted||e.completed||(pe.errorRequest(t,e,x||new c_),pe.destroy(l),pe.destroy(y,new Pa("aborted")))},"abort");try{e.onConnect(B)}catch(x){pe.errorRequest(t,e,x)}if(e.aborted)return!1;r==="HEAD"&&(y[br]=!0),(o||r==="CONNECT")&&(y[br]=!0),c!=null&&(y[br]=c),t[i_]&&y[CX]++>=t[i_]&&(y[br]=!0),a&&(y[Xl]=!0);let w=`${r} ${n} HTTP/1.1\r +`;if(typeof i=="string"?w+=`host: ${i}\r +`:w+=t[pX],o?w+=`connection: upgrade\r +upgrade: ${o}\r +`:t[Od]&&!y[br]?w+=`connection: keep-alive\r +`:w+=`connection: close\r +`,Array.isArray(A))for(let x=0;x{e.removeListener("error",y)}),!l){let B=new c_;queueMicrotask(()=>y(B))}},"onClose"),y=s(function(B){if(!l){if(l=!0,ce(i.destroyed||i[ds]&&r[tr]<=1),i.off("drain",d).off("error",y),e.removeListener("data",u).removeListener("end",y).removeListener("close",g),!B)try{A.end()}catch(w){B=w}A.destroy(B),B&&(B.code!=="UND_ERR_INFO"||B.message!=="reset")?pe.destroy(e,B):pe.destroy(e)}},"onFinished");e.on("data",u).on("end",y).on("error",y).on("close",g),e.resume&&e.resume(),i.on("drain",d).on("error",y),e.errorEmitted??e.errored?setImmediate(()=>y(e.errored)):(e.endEmitted??e.readableEnded)&&setImmediate(()=>y(null)),(e.closeEmitted??e.closed)&&setImmediate(g)}s(vX,"writeStream");function o_(t,e,r,n,i,o,a,c){try{e?pe.isBuffer(e)&&(ce(o===e.byteLength,"buffer body must have content length"),i.cork(),i.write(`${a}content-length: ${o}\r \r -`,"latin1"),i.write(e),i.uncork(),n.onBodySent(e),!c&&n.reset!==!1&&(i[yr]=!0)):s===0?i.write(`${a}content-length: 0\r +`,"latin1"),i.write(e),i.uncork(),n.onBodySent(e),!c&&n.reset!==!1&&(i[br]=!0)):o===0?i.write(`${a}content-length: 0\r \r -`,"latin1"):(oe(s===null,"no body must not have content length"),i.write(`${a}\r -`,"latin1")),n.onRequestSent(),r[ls]()}catch(l){t(l)}}o(IP,"writeBuffer");async function C6(t,e,r,n,i,s,a,c){oe(s===e.size,"blob body must have content length");try{if(s!=null&&s!==e.size)throw new so;let l=Buffer.from(await e.arrayBuffer());i.cork(),i.write(`${a}content-length: ${s}\r +`,"latin1"):(ce(o===null,"no body must not have content length"),i.write(`${a}\r +`,"latin1")),n.onRequestSent(),r[us]()}catch(l){t(l)}}s(o_,"writeBuffer");async function PX(t,e,r,n,i,o,a,c){ce(o===e.size,"blob body must have content length");try{if(o!=null&&o!==e.size)throw new uo;let l=Buffer.from(await e.arrayBuffer());i.cork(),i.write(`${a}content-length: ${o}\r \r -`,"latin1"),i.write(l),i.uncork(),n.onBodySent(l),n.onRequestSent(),!c&&n.reset!==!1&&(i[yr]=!0),r[ls]()}catch(l){t(l)}}o(C6,"writeBlob");async function bP(t,e,r,n,i,s,a,c){oe(s!==0||r[Kt]===0,"iterator body cannot be pipelined");let l=null;function A(){if(l){let g=l;l=null,g()}}o(A,"onDrain");let u=o(()=>new Promise((g,f)=>{oe(l===null),i[an]?f(i[an]):l=g}),"waitForDrain");i.on("close",A).on("drain",A);let d=new Dd({abort:t,socket:i,request:n,contentLength:s,client:r,expectsPayload:c,header:a});try{for await(let g of e){if(i[an])throw i[an];d.write(g)||await u()}d.end()}catch(g){d.destroy(g)}finally{i.off("close",A).off("drain",A)}}o(bP,"writeIterable");var Dd=class{static{o(this,"AsyncWriter")}constructor({abort:e,socket:r,request:n,contentLength:i,client:s,expectsPayload:a,header:c}){this.socket=r,this.request=n,this.contentLength=i,this.client=s,this.bytesWritten=0,this.expectsPayload=a,this.header=c,this.abort=e,r[As]=!0}write(e){let{socket:r,request:n,contentLength:i,client:s,bytesWritten:a,expectsPayload:c,header:l}=this;if(r[an])throw r[an];if(r.destroyed)return!1;let A=Buffer.byteLength(e);if(!A)return!0;if(i!==null&&a+A>i){if(s[eE])throw new so;process.emitWarning(new so)}r.cork(),a===0&&(!c&&n.reset!==!1&&(r[yr]=!0),i===null?r.write(`${l}transfer-encoding: chunked\r +`,"latin1"),i.write(l),i.uncork(),n.onBodySent(l),n.onRequestSent(),!c&&n.reset!==!1&&(i[br]=!0),r[us]()}catch(l){t(l)}}s(PX,"writeBlob");async function a_(t,e,r,n,i,o,a,c){ce(o!==0||r[tr]===0,"iterator body cannot be pipelined");let l=null;function A(){if(l){let g=l;l=null,g()}}s(A,"onDrain");let u=s(()=>new Promise((g,y)=>{ce(l===null),i[un]?y(i[un]):l=g}),"waitForDrain");i.on("close",A).on("drain",A);let d=new Fd({abort:t,socket:i,request:n,contentLength:o,client:r,expectsPayload:c,header:a});try{for await(let g of e){if(i[un])throw i[un];d.write(g)||await u()}d.end()}catch(g){d.destroy(g)}finally{i.off("close",A).off("drain",A)}}s(a_,"writeIterable");var Fd=class{static{s(this,"AsyncWriter")}constructor({abort:e,socket:r,request:n,contentLength:i,client:o,expectsPayload:a,header:c}){this.socket=r,this.request=n,this.contentLength=i,this.client=o,this.bytesWritten=0,this.expectsPayload=a,this.header=c,this.abort=e,r[ds]=!0}write(e){let{socket:r,request:n,contentLength:i,client:o,bytesWritten:a,expectsPayload:c,header:l}=this;if(r[un])throw r[un];if(r.destroyed)return!1;let A=Buffer.byteLength(e);if(!A)return!0;if(i!==null&&a+A>i){if(o[ZC])throw new uo;process.emitWarning(new uo)}r.cork(),a===0&&(!c&&n.reset!==!1&&(r[br]=!0),i===null?r.write(`${l}transfer-encoding: chunked\r `,"latin1"):r.write(`${l}content-length: ${i}\r \r `,"latin1")),i===null&&r.write(`\r ${A.toString(16)}\r -`,"latin1"),this.bytesWritten+=A;let u=r.write(e);return r.uncork(),n.onBodySent(e),u||r[dt].timeout&&r[dt].timeoutType===Qa&&r[dt].timeout.refresh&&r[dt].timeout.refresh(),u}end(){let{socket:e,contentLength:r,client:n,bytesWritten:i,expectsPayload:s,header:a,request:c}=this;if(c.onRequestSent(),e[As]=!1,e[an])throw e[an];if(!e.destroyed){if(i===0?s?e.write(`${a}content-length: 0\r +`,"latin1"),this.bytesWritten+=A;let u=r.write(e);return r.uncork(),n.onBodySent(e),u||r[pt].timeout&&r[pt].timeoutType===Da&&r[pt].timeout.refresh&&r[pt].timeout.refresh(),u}end(){let{socket:e,contentLength:r,client:n,bytesWritten:i,expectsPayload:o,header:a,request:c}=this;if(c.onRequestSent(),e[ds]=!1,e[un])throw e[un];if(!e.destroyed){if(i===0?o?e.write(`${a}content-length: 0\r \r `,"latin1"):e.write(`${a}\r `,"latin1"):r===null&&e.write(`\r 0\r \r -`,"latin1"),r!==null&&i!==r){if(n[eE])throw new so;process.emitWarning(new so)}e[dt].timeout&&e[dt].timeoutType===Qa&&e[dt].timeout.refresh&&e[dt].timeout.refresh(),n[ls]()}}destroy(e){let{socket:r,client:n,abort:i}=this;r[As]=!1,e&&(oe(n[Kt]<=1,"pipeline should only contain this request"),i(e))}};SP.exports=m6});var MP=h((nqe,OP)=>{"use strict";var cn=require("node:assert"),{pipeline:E6}=require("node:stream"),we=Ee(),{RequestContentLengthMismatchError:iE,RequestAbortedError:vP,SocketError:Jl,InformationalError:sE}=_e(),{kUrl:Td,kReset:Md,kClient:wa,kRunning:kd,kPending:B6,kQueue:us,kPendingIdx:oE,kRunningIdx:Dn,kError:On,kSocket:Lt,kStrictContentLength:I6,kOnError:aE,kMaxConcurrentStreams:TP,kHTTP2Session:Tn,kResume:ds,kSize:b6,kHTTPContext:Q6}=tt(),Ui=Symbol("open streams"),RP,_P=!1,Od;try{Od=require("node:http2")}catch{Od={constants:{}}}var{constants:{HTTP2_HEADER_AUTHORITY:w6,HTTP2_HEADER_METHOD:N6,HTTP2_HEADER_PATH:S6,HTTP2_HEADER_SCHEME:x6,HTTP2_HEADER_CONTENT_LENGTH:v6,HTTP2_HEADER_EXPECT:R6,HTTP2_HEADER_STATUS:_6}}=Od;function P6(t){let e=[];for(let[r,n]of Object.entries(t))if(Array.isArray(n))for(let i of n)e.push(Buffer.from(r),Buffer.from(i));else e.push(Buffer.from(r),Buffer.from(n));return e}o(P6,"parseH2Headers");async function D6(t,e){t[Lt]=e,_P||(_P=!0,process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"}));let r=Od.connect(t[Td],{createConnection:()=>e,peerMaxConcurrentStreams:t[TP]});r[Ui]=0,r[wa]=t,r[Lt]=e,we.addListener(r,"error",O6),we.addListener(r,"frameError",M6),we.addListener(r,"end",k6),we.addListener(r,"goaway",L6),we.addListener(r,"close",function(){let{[wa]:i}=this,{[Lt]:s}=i,a=this[Lt][On]||this[On]||new Jl("closed",we.getSocketInfo(s));if(i[Tn]=null,i.destroyed){cn(i[B6]===0);let c=i[us].splice(i[Dn]);for(let l=0;l{n=!0}),{version:"h2",defaultPipelining:1/0,write(...i){return U6(t,...i)},resume(){T6(t)},destroy(i,s){n?queueMicrotask(s):e.destroy(i).on("close",s)},get destroyed(){return e.destroyed},busy(){return!1}}}o(D6,"connectH2");function T6(t){let e=t[Lt];e?.destroyed===!1&&(t[b6]===0&&t[TP]===0?(e.unref(),t[Tn].unref()):(e.ref(),t[Tn].ref()))}o(T6,"resumeH2");function O6(t){cn(t.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[Lt][On]=t,this[wa][aE](t)}o(O6,"onHttp2SessionError");function M6(t,e,r){if(r===0){let n=new sE(`HTTP/2: "frameError" received - type ${t}, code ${e}`);this[Lt][On]=n,this[wa][aE](n)}}o(M6,"onHttp2FrameError");function k6(){let t=new Jl("other side closed",we.getSocketInfo(this[Lt]));this.destroy(t),we.destroy(this[Lt],t)}o(k6,"onHttp2SessionEnd");function L6(t){let e=this[On]||new Jl(`HTTP/2: "GOAWAY" frame received with code ${t}`,we.getSocketInfo(this)),r=this[wa];if(r[Lt]=null,r[Q6]=null,this[Tn]!=null&&(this[Tn].destroy(e),this[Tn]=null),we.destroy(this[Lt],e),r[Dn]{e.aborted||e.completed||(L=L||new vP,we.errorRequest(t,e,L),g!=null&&we.destroy(g,L),we.destroy(u,L),t[us][t[Dn]++]=null,t[ds]())},"abort");try{e.onConnect(Q)}catch(L){we.errorRequest(t,e,L)}if(e.aborted)return!1;if(n==="CONNECT")return r.ref(),g=r.request(d,{endStream:!1,signal:l}),g.id&&!g.pending?(e.onUpgrade(null,null,g),++r[Ui],t[us][t[Dn]++]=null):g.once("ready",()=>{e.onUpgrade(null,null,g),++r[Ui],t[us][t[Dn]++]=null}),g.once("close",()=>{r[Ui]-=1,r[Ui]===0&&r.unref()}),!0;d[S6]=i,d[x6]="https";let x=n==="PUT"||n==="POST"||n==="PATCH";u&&typeof u.read=="function"&&u.read(0);let w=we.bodyLength(u);if(we.isFormDataLike(u)){RP??=Ba().extractBody;let[L,W]=RP(u);d["content-type"]=W,u=L.stream,w=L.length}if(w==null&&(w=e.contentLength),(w===0||!x)&&(w=null),F6(n)&&w>0&&e.contentLength!=null&&e.contentLength!==w){if(t[I6])return we.errorRequest(t,e,new iE),!1;process.emitWarning(new iE)}w!=null&&(cn(u,"no body must not have content length"),d[v6]=`${w}`),r.ref();let v=n==="GET"||n==="HEAD"||u===null;return c?(d[R6]="100-continue",g=r.request(d,{endStream:v,signal:l}),g.once("continue",T)):(g=r.request(d,{endStream:v,signal:l}),T()),++r[Ui],g.once("response",L=>{let{[_6]:W,...de}=L;if(e.onResponseStarted(),e.aborted){let le=new vP;we.errorRequest(t,e,le),we.destroy(g,le);return}e.onHeaders(Number(W),P6(de),g.resume.bind(g),"")===!1&&g.pause(),g.on("data",le=>{e.onData(le)===!1&&g.pause()})}),g.once("end",()=>{(g.state?.state==null||g.state.state<6)&&e.onComplete([]),r[Ui]===0&&r.unref(),Q(new sE("HTTP/2: stream half-closed (remote)")),t[us][t[Dn]++]=null,t[oE]=t[Dn],t[ds]()}),g.once("close",()=>{r[Ui]-=1,r[Ui]===0&&r.unref()}),g.once("error",function(L){Q(L)}),g.once("frameError",(L,W)=>{Q(new sE(`HTTP/2: "frameError" received - type ${L}, code ${W}`))}),!0;function T(){!u||w===0?PP(Q,g,null,t,e,t[Lt],w,x):we.isBuffer(u)?PP(Q,g,u,t,e,t[Lt],w,x):we.isBlobLike(u)?typeof u.stream=="function"?DP(Q,g,u.stream(),t,e,t[Lt],w,x):H6(Q,g,u,t,e,t[Lt],w,x):we.isStream(u)?q6(Q,t[Lt],x,g,u,t,e,w):we.isIterable(u)?DP(Q,g,u,t,e,t[Lt],w,x):cn(!1)}o(T,"writeBodyH2")}o(U6,"writeH2");function PP(t,e,r,n,i,s,a,c){try{r!=null&&we.isBuffer(r)&&(cn(a===r.byteLength,"buffer body must have content length"),e.cork(),e.write(r),e.uncork(),e.end(),i.onBodySent(r)),c||(s[Md]=!0),i.onRequestSent(),n[ds]()}catch(l){t(l)}}o(PP,"writeBuffer");function q6(t,e,r,n,i,s,a,c){cn(c!==0||s[kd]===0,"stream body cannot be pipelined");let l=E6(i,n,u=>{u?(we.destroy(l,u),t(u)):(we.removeAllListeners(l),a.onRequestSent(),r||(e[Md]=!0),s[ds]())});we.addListener(l,"data",A);function A(u){a.onBodySent(u)}o(A,"onPipeData")}o(q6,"writeStream");async function H6(t,e,r,n,i,s,a,c){cn(a===r.size,"blob body must have content length");try{if(a!=null&&a!==r.size)throw new iE;let l=Buffer.from(await r.arrayBuffer());e.cork(),e.write(l),e.uncork(),e.end(),i.onBodySent(l),i.onRequestSent(),c||(s[Md]=!0),n[ds]()}catch(l){t(l)}}o(H6,"writeBlob");async function DP(t,e,r,n,i,s,a,c){cn(a!==0||n[kd]===0,"iterator body cannot be pipelined");let l=null;function A(){if(l){let d=l;l=null,d()}}o(A,"onDrain");let u=o(()=>new Promise((d,g)=>{cn(l===null),s[On]?g(s[On]):l=d}),"waitForDrain");e.on("close",A).on("drain",A);try{for await(let d of r){if(s[On])throw s[On];let g=e.write(d);i.onBodySent(d),g||await u()}e.end(),i.onRequestSent(),c||(s[Md]=!0),n[ds]()}catch(d){t(d)}finally{e.off("close",A).off("drain",A)}}o(DP,"writeIterable");OP.exports=D6});var Fd=h((sqe,FP)=>{"use strict";var si=Ee(),{kBodyUsed:Vl}=tt(),lE=require("node:assert"),{InvalidArgumentError:z6}=_e(),j6=require("node:events"),G6=[300,301,302,303,307,308],kP=Symbol("body"),Ld=class{static{o(this,"BodyAsyncIterable")}constructor(e){this[kP]=e,this[Vl]=!1}async*[Symbol.asyncIterator](){lE(!this[Vl],"disturbed"),this[Vl]=!0,yield*this[kP]}},cE=class{static{o(this,"RedirectHandler")}constructor(e,r,n,i){if(r!=null&&(!Number.isInteger(r)||r<0))throw new z6("maxRedirections must be a positive number");si.validateHandler(i,n.method,n.upgrade),this.dispatch=e,this.location=null,this.abort=null,this.opts={...n,maxRedirections:0},this.maxRedirections=r,this.handler=i,this.history=[],this.redirectionLimitReached=!1,si.isStream(this.opts.body)?(si.bodyLength(this.opts.body)===0&&this.opts.body.on("data",function(){lE(!1)}),typeof this.opts.body.readableDidRead!="boolean"&&(this.opts.body[Vl]=!1,j6.prototype.on.call(this.opts.body,"data",function(){this[Vl]=!0}))):this.opts.body&&typeof this.opts.body.pipeTo=="function"?this.opts.body=new Ld(this.opts.body):this.opts.body&&typeof this.opts.body!="string"&&!ArrayBuffer.isView(this.opts.body)&&si.isIterable(this.opts.body)&&(this.opts.body=new Ld(this.opts.body))}onConnect(e){this.abort=e,this.handler.onConnect(e,{history:this.history})}onUpgrade(e,r,n){this.handler.onUpgrade(e,r,n)}onError(e){this.handler.onError(e)}onHeaders(e,r,n,i){if(this.location=this.history.length>=this.maxRedirections||si.isDisturbed(this.opts.body)?null:Y6(e,r),this.opts.throwOnMaxRedirect&&this.history.length>=this.maxRedirections){this.request&&this.request.abort(new Error("max redirects")),this.redirectionLimitReached=!0,this.abort(new Error("max redirects"));return}if(this.opts.origin&&this.history.push(new URL(this.opts.path,this.opts.origin)),!this.location)return this.handler.onHeaders(e,r,n,i);let{origin:s,pathname:a,search:c}=si.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin))),l=c?`${a}${c}`:a;this.opts.headers=J6(this.opts.headers,e===303,this.opts.origin!==s),this.opts.path=l,this.opts.origin=s,this.opts.maxRedirections=0,this.opts.query=null,e===303&&this.opts.method!=="HEAD"&&(this.opts.method="GET",this.opts.body=null)}onData(e){if(!this.location)return this.handler.onData(e)}onComplete(e){this.location?(this.location=null,this.abort=null,this.dispatch(this.opts,this)):this.handler.onComplete(e)}onBodySent(e){this.handler.onBodySent&&this.handler.onBodySent(e)}};function Y6(t,e){if(G6.indexOf(t)===-1)return null;for(let r=0;r{"use strict";var V6=Fd();function W6({maxRedirections:t}){return e=>o(function(n,i){let{maxRedirections:s=t}=n;if(!s)return e(n,i);let a=new V6(e,s,n,i);return n={...n,maxRedirections:0},e(n,a)},"Intercept")}o(W6,"createRedirectInterceptor");UP.exports=W6});var xa=h((lqe,KP)=>{"use strict";var qi=require("node:assert"),YP=require("node:net"),K6=require("node:http"),oo=Ee(),{channels:Na}=ca(),$6=t_(),X6=da(),{InvalidArgumentError:Bt,InformationalError:Z6,ClientDestroyedError:eZ}=_e(),tZ=Ol(),{kUrl:oi,kServerName:ps,kClient:rZ,kBusy:AE,kConnect:nZ,kResuming:ao,kRunning:Zl,kPending:eA,kSize:Xl,kQueue:Mn,kConnected:iZ,kConnecting:Sa,kNeedDrain:gs,kKeepAliveDefaultTimeout:qP,kHostHeader:sZ,kPendingIdx:kn,kRunningIdx:Hi,kError:oZ,kPipelining:qd,kKeepAliveTimeoutValue:aZ,kMaxHeadersSize:cZ,kKeepAliveMaxTimeout:lZ,kKeepAliveTimeoutThreshold:AZ,kHeadersTimeout:uZ,kBodyTimeout:dZ,kStrictContentLength:pZ,kConnector:Wl,kMaxRedirections:mZ,kMaxRequests:uE,kCounter:gZ,kClose:fZ,kDestroy:hZ,kDispatch:yZ,kInterceptors:HP,kLocalAddress:Kl,kMaxResponseSize:CZ,kOnError:EZ,kHTTPContext:It,kMaxConcurrentStreams:BZ,kResume:$l}=tt(),IZ=xP(),bZ=MP(),zP=!1,ms=Symbol("kClosedResolve"),jP=o(()=>{},"noop");function JP(t){return t[qd]??t[It]?.defaultPipelining??1}o(JP,"getPipelining");var dE=class extends X6{static{o(this,"Client")}constructor(e,{interceptors:r,maxHeaderSize:n,headersTimeout:i,socketTimeout:s,requestTimeout:a,connectTimeout:c,bodyTimeout:l,idleTimeout:A,keepAlive:u,keepAliveTimeout:d,maxKeepAliveTimeout:g,keepAliveMaxTimeout:f,keepAliveTimeoutThreshold:C,socketPath:Q,pipelining:x,tls:w,strictContentLength:v,maxCachedSessions:T,maxRedirections:L,connect:W,maxRequestsPerClient:de,localAddress:le,maxResponseSize:De,autoSelectFamily:Te,autoSelectFamilyAttemptTimeout:qe,maxConcurrentStreams:$e,allowH2:ge}={}){if(super(),u!==void 0)throw new Bt("unsupported keepAlive, use pipelining=0 instead");if(s!==void 0)throw new Bt("unsupported socketTimeout, use headersTimeout & bodyTimeout instead");if(a!==void 0)throw new Bt("unsupported requestTimeout, use headersTimeout & bodyTimeout instead");if(A!==void 0)throw new Bt("unsupported idleTimeout, use keepAliveTimeout instead");if(g!==void 0)throw new Bt("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead");if(n!=null&&!Number.isFinite(n))throw new Bt("invalid maxHeaderSize");if(Q!=null&&typeof Q!="string")throw new Bt("invalid socketPath");if(c!=null&&(!Number.isFinite(c)||c<0))throw new Bt("invalid connectTimeout");if(d!=null&&(!Number.isFinite(d)||d<=0))throw new Bt("invalid keepAliveTimeout");if(f!=null&&(!Number.isFinite(f)||f<=0))throw new Bt("invalid keepAliveMaxTimeout");if(C!=null&&!Number.isFinite(C))throw new Bt("invalid keepAliveTimeoutThreshold");if(i!=null&&(!Number.isInteger(i)||i<0))throw new Bt("headersTimeout must be a positive integer or zero");if(l!=null&&(!Number.isInteger(l)||l<0))throw new Bt("bodyTimeout must be a positive integer or zero");if(W!=null&&typeof W!="function"&&typeof W!="object")throw new Bt("connect must be a function or an object");if(L!=null&&(!Number.isInteger(L)||L<0))throw new Bt("maxRedirections must be a positive number");if(de!=null&&(!Number.isInteger(de)||de<0))throw new Bt("maxRequestsPerClient must be a positive number");if(le!=null&&(typeof le!="string"||YP.isIP(le)===0))throw new Bt("localAddress must be valid string IP address");if(De!=null&&(!Number.isInteger(De)||De<-1))throw new Bt("maxResponseSize must be a positive number");if(qe!=null&&(!Number.isInteger(qe)||qe<-1))throw new Bt("autoSelectFamilyAttemptTimeout must be a positive number");if(ge!=null&&typeof ge!="boolean")throw new Bt("allowH2 must be a valid boolean value");if($e!=null&&(typeof $e!="number"||$e<1))throw new Bt("maxConcurrentStreams must be a positive integer, greater than 0");typeof W!="function"&&(W=tZ({...w,maxCachedSessions:T,allowH2:ge,socketPath:Q,timeout:c,...Te?{autoSelectFamily:Te,autoSelectFamilyAttemptTimeout:qe}:void 0,...W})),r?.Client&&Array.isArray(r.Client)?(this[HP]=r.Client,zP||(zP=!0,process.emitWarning("Client.Options#interceptor is deprecated. Use Dispatcher#compose instead.",{code:"UNDICI-CLIENT-INTERCEPTOR-DEPRECATED"}))):this[HP]=[QZ({maxRedirections:L})],this[oi]=oo.parseOrigin(e),this[Wl]=W,this[qd]=x??1,this[cZ]=n||K6.maxHeaderSize,this[qP]=d??4e3,this[lZ]=f??6e5,this[AZ]=C??2e3,this[aZ]=this[qP],this[ps]=null,this[Kl]=le??null,this[ao]=0,this[gs]=0,this[sZ]=`host: ${this[oi].hostname}${this[oi].port?`:${this[oi].port}`:""}\r -`,this[dZ]=l??3e5,this[uZ]=i??3e5,this[pZ]=v??!0,this[mZ]=L,this[uE]=de,this[ms]=null,this[CZ]=De>-1?De:-1,this[BZ]=$e??100,this[It]=null,this[Mn]=[],this[Hi]=0,this[kn]=0,this[$l]=je=>pE(this,je),this[EZ]=je=>VP(this,je)}get pipelining(){return this[qd]}set pipelining(e){this[qd]=e,this[$l](!0)}get[eA](){return this[Mn].length-this[kn]}get[Zl](){return this[kn]-this[Hi]}get[Xl](){return this[Mn].length-this[Hi]}get[iZ](){return!!this[It]&&!this[Sa]&&!this[It].destroyed}get[AE](){return!!(this[It]?.busy(null)||this[Xl]>=(JP(this)||1)||this[eA]>0)}[nZ](e){WP(this),this.once("connect",e)}[yZ](e,r){let n=e.origin||this[oi].origin,i=new $6(n,e,r);return this[Mn].push(i),this[ao]||(oo.bodyLength(i.body)==null&&oo.isIterable(i.body)?(this[ao]=1,queueMicrotask(()=>pE(this))):this[$l](!0)),this[ao]&&this[gs]!==2&&this[AE]&&(this[gs]=2),this[gs]<2}async[fZ](){return new Promise(e=>{this[Xl]?this[ms]=e:e(null)})}async[hZ](e){return new Promise(r=>{let n=this[Mn].splice(this[kn]);for(let s=0;s{this[ms]&&(this[ms](),this[ms]=null),r(null)},"callback");this[It]?(this[It].destroy(e,i),this[It]=null):queueMicrotask(i),this[$l]()})}},QZ=Ud();function VP(t,e){if(t[Zl]===0&&e.code!=="UND_ERR_INFO"&&e.code!=="UND_ERR_SOCKET"){qi(t[kn]===t[Hi]);let r=t[Mn].splice(t[Hi]);for(let n=0;n{t[Wl]({host:e,hostname:r,protocol:n,port:i,servername:t[ps],localAddress:t[Kl]},(l,A)=>{l?c(l):a(A)})});if(t.destroyed){oo.destroy(s.on("error",jP),new eZ);return}qi(s);try{t[It]=s.alpnProtocol==="h2"?await bZ(t,s):await IZ(t,s)}catch(a){throw s.destroy().on("error",jP),a}t[Sa]=!1,s[gZ]=0,s[uE]=t[uE],s[rZ]=t,s[oZ]=null,Na.connected.hasSubscribers&&Na.connected.publish({connectParams:{host:e,hostname:r,protocol:n,port:i,version:t[It]?.version,servername:t[ps],localAddress:t[Kl]},connector:t[Wl],socket:s}),t.emit("connect",t[oi],[t])}catch(s){if(t.destroyed)return;if(t[Sa]=!1,Na.connectError.hasSubscribers&&Na.connectError.publish({connectParams:{host:e,hostname:r,protocol:n,port:i,version:t[It]?.version,servername:t[ps],localAddress:t[Kl]},connector:t[Wl],error:s}),s.code==="ERR_TLS_CERT_ALTNAME_INVALID")for(qi(t[Zl]===0);t[eA]>0&&t[Mn][t[kn]].servername===t[ps];){let a=t[Mn][t[kn]++];oo.errorRequest(t,a,s)}else VP(t,s);t.emit("connectionError",t[oi],[t],s)}t[$l]()}o(WP,"connect");function GP(t){t[gs]=0,t.emit("drain",t[oi],[t])}o(GP,"emitDrain");function pE(t,e){t[ao]!==2&&(t[ao]=2,wZ(t,e),t[ao]=0,t[Hi]>256&&(t[Mn].splice(0,t[Hi]),t[kn]-=t[Hi],t[Hi]=0))}o(pE,"resume");function wZ(t,e){for(;;){if(t.destroyed){qi(t[eA]===0);return}if(t[ms]&&!t[Xl]){t[ms](),t[ms]=null;return}if(t[It]&&t[It].resume(),t[AE])t[gs]=2;else if(t[gs]===2){e?(t[gs]=1,queueMicrotask(()=>GP(t))):GP(t);continue}if(t[eA]===0||t[Zl]>=(JP(t)||1))return;let r=t[Mn][t[kn]];if(t[oi].protocol==="https:"&&t[ps]!==r.servername){if(t[Zl]>0)return;t[ps]=r.servername,t[It]?.destroy(new Z6("servername changed"),()=>{t[It]=null,pE(t)})}if(t[Sa])return;if(!t[It]){WP(t);return}if(t[It].destroyed||t[It].busy(r))return;!r.aborted&&t[It].write(r)?t[kn]++:t[Mn].splice(t[kn],1)}}o(wZ,"_resume");KP.exports=dE});var mE=h((dqe,$P)=>{"use strict";var Hd=class{static{o(this,"FixedCircularBuffer")}constructor(){this.bottom=0,this.top=0,this.list=new Array(2048),this.next=null}isEmpty(){return this.top===this.bottom}isFull(){return(this.top+1&2047)===this.bottom}push(e){this.list[this.top]=e,this.top=this.top+1&2047}shift(){let e=this.list[this.bottom];return e===void 0?null:(this.list[this.bottom]=void 0,this.bottom=this.bottom+1&2047,e)}};$P.exports=class{static{o(this,"FixedQueue")}constructor(){this.head=this.tail=new Hd}isEmpty(){return this.head.isEmpty()}push(e){this.head.isFull()&&(this.head=this.head.next=new Hd),this.head.push(e)}shift(){let e=this.tail,r=e.shift();return e.isEmpty()&&e.next!==null&&(this.tail=e.next),r}}});var ZP=h((mqe,XP)=>{var{kFree:NZ,kConnected:SZ,kPending:xZ,kQueued:vZ,kRunning:RZ,kSize:_Z}=tt(),co=Symbol("pool"),gE=class{static{o(this,"PoolStats")}constructor(e){this[co]=e}get connected(){return this[co][SZ]}get free(){return this[co][NZ]}get pending(){return this[co][xZ]}get queued(){return this[co][vZ]}get running(){return this[co][RZ]}get size(){return this[co][_Z]}};XP.exports=gE});var BE=h((fqe,lD)=>{"use strict";var PZ=da(),DZ=mE(),{kConnected:fE,kSize:eD,kRunning:tD,kPending:rD,kQueued:tA,kBusy:TZ,kFree:OZ,kUrl:MZ,kClose:kZ,kDestroy:LZ,kDispatch:FZ}=tt(),UZ=ZP(),Cr=Symbol("clients"),Ar=Symbol("needDrain"),rA=Symbol("queue"),hE=Symbol("closed resolve"),yE=Symbol("onDrain"),nD=Symbol("onConnect"),iD=Symbol("onDisconnect"),sD=Symbol("onConnectionError"),CE=Symbol("get dispatcher"),aD=Symbol("add client"),cD=Symbol("remove client"),oD=Symbol("stats"),EE=class extends PZ{static{o(this,"PoolBase")}constructor(){super(),this[rA]=new DZ,this[Cr]=[],this[tA]=0;let e=this;this[yE]=o(function(n,i){let s=e[rA],a=!1;for(;!a;){let c=s.shift();if(!c)break;e[tA]--,a=!this.dispatch(c.opts,c.handler)}this[Ar]=a,!this[Ar]&&e[Ar]&&(e[Ar]=!1,e.emit("drain",n,[e,...i])),e[hE]&&s.isEmpty()&&Promise.all(e[Cr].map(c=>c.close())).then(e[hE])},"onDrain"),this[nD]=(r,n)=>{e.emit("connect",r,[e,...n])},this[iD]=(r,n,i)=>{e.emit("disconnect",r,[e,...n],i)},this[sD]=(r,n,i)=>{e.emit("connectionError",r,[e,...n],i)},this[oD]=new UZ(this)}get[TZ](){return this[Ar]}get[fE](){return this[Cr].filter(e=>e[fE]).length}get[OZ](){return this[Cr].filter(e=>e[fE]&&!e[Ar]).length}get[rD](){let e=this[tA];for(let{[rD]:r}of this[Cr])e+=r;return e}get[tD](){let e=0;for(let{[tD]:r}of this[Cr])e+=r;return e}get[eD](){let e=this[tA];for(let{[eD]:r}of this[Cr])e+=r;return e}get stats(){return this[oD]}async[kZ](){this[rA].isEmpty()?await Promise.all(this[Cr].map(e=>e.close())):await new Promise(e=>{this[hE]=e})}async[LZ](e){for(;;){let r=this[rA].shift();if(!r)break;r.handler.onError(e)}await Promise.all(this[Cr].map(r=>r.destroy(e)))}[FZ](e,r){let n=this[CE]();return n?n.dispatch(e,r)||(n[Ar]=!0,this[Ar]=!this[CE]()):(this[Ar]=!0,this[rA].push({opts:e,handler:r}),this[tA]++),!this[Ar]}[aD](e){return e.on("drain",this[yE]).on("connect",this[nD]).on("disconnect",this[iD]).on("connectionError",this[sD]),this[Cr].push(e),this[Ar]&&queueMicrotask(()=>{this[Ar]&&this[yE](e[MZ],[this,e])}),this}[cD](e){e.close(()=>{let r=this[Cr].indexOf(e);r!==-1&&this[Cr].splice(r,1)}),this[Ar]=this[Cr].some(r=>!r[Ar]&&r.closed!==!0&&r.destroyed!==!0)}};lD.exports={PoolBase:EE,kClients:Cr,kNeedDrain:Ar,kAddClient:aD,kRemoveClient:cD,kGetDispatcher:CE}});var va=h((yqe,pD)=>{"use strict";var{PoolBase:qZ,kClients:zd,kNeedDrain:HZ,kAddClient:zZ,kGetDispatcher:jZ}=BE(),GZ=xa(),{InvalidArgumentError:IE}=_e(),AD=Ee(),{kUrl:uD,kInterceptors:YZ}=tt(),JZ=Ol(),bE=Symbol("options"),QE=Symbol("connections"),dD=Symbol("factory");function VZ(t,e){return new GZ(t,e)}o(VZ,"defaultFactory");var wE=class extends qZ{static{o(this,"Pool")}constructor(e,{connections:r,factory:n=VZ,connect:i,connectTimeout:s,tls:a,maxCachedSessions:c,socketPath:l,autoSelectFamily:A,autoSelectFamilyAttemptTimeout:u,allowH2:d,...g}={}){if(super(),r!=null&&(!Number.isFinite(r)||r<0))throw new IE("invalid connections");if(typeof n!="function")throw new IE("factory must be a function.");if(i!=null&&typeof i!="function"&&typeof i!="object")throw new IE("connect must be a function or an object");typeof i!="function"&&(i=JZ({...a,maxCachedSessions:c,allowH2:d,socketPath:l,timeout:s,...A?{autoSelectFamily:A,autoSelectFamilyAttemptTimeout:u}:void 0,...i})),this[YZ]=g.interceptors?.Pool&&Array.isArray(g.interceptors.Pool)?g.interceptors.Pool:[],this[QE]=r||null,this[uD]=AD.parseOrigin(e),this[bE]={...AD.deepClone(g),connect:i,allowH2:d},this[bE].interceptors=g.interceptors?{...g.interceptors}:void 0,this[dD]=n,this.on("connectionError",(f,C,Q)=>{for(let x of C){let w=this[zd].indexOf(x);w!==-1&&this[zd].splice(w,1)}})}[jZ](){for(let e of this[zd])if(!e[HZ])return e;if(!this[QE]||this[zd].length{"use strict";var{BalancedPoolMissingUpstreamError:WZ,InvalidArgumentError:KZ}=_e(),{PoolBase:$Z,kClients:$t,kNeedDrain:nA,kAddClient:XZ,kRemoveClient:ZZ,kGetDispatcher:e7}=BE(),t7=va(),{kUrl:NE,kInterceptors:r7}=tt(),{parseOrigin:mD}=Ee(),gD=Symbol("factory"),jd=Symbol("options"),fD=Symbol("kGreatestCommonDivisor"),lo=Symbol("kCurrentWeight"),Ao=Symbol("kIndex"),ln=Symbol("kWeight"),Gd=Symbol("kMaxWeightPerServer"),Yd=Symbol("kErrorPenalty");function n7(t,e){if(t===0)return e;for(;e!==0;){let r=e;e=t%e,t=r}return t}o(n7,"getGreatestCommonDivisor");function i7(t,e){return new t7(t,e)}o(i7,"defaultFactory");var SE=class extends $Z{static{o(this,"BalancedPool")}constructor(e=[],{factory:r=i7,...n}={}){if(super(),this[jd]=n,this[Ao]=-1,this[lo]=0,this[Gd]=this[jd].maxWeightPerServer||100,this[Yd]=this[jd].errorPenalty||15,Array.isArray(e)||(e=[e]),typeof r!="function")throw new KZ("factory must be a function.");this[r7]=n.interceptors?.BalancedPool&&Array.isArray(n.interceptors.BalancedPool)?n.interceptors.BalancedPool:[],this[gD]=r;for(let i of e)this.addUpstream(i);this._updateBalancedPoolStats()}addUpstream(e){let r=mD(e).origin;if(this[$t].find(i=>i[NE].origin===r&&i.closed!==!0&&i.destroyed!==!0))return this;let n=this[gD](r,Object.assign({},this[jd]));this[XZ](n),n.on("connect",()=>{n[ln]=Math.min(this[Gd],n[ln]+this[Yd])}),n.on("connectionError",()=>{n[ln]=Math.max(1,n[ln]-this[Yd]),this._updateBalancedPoolStats()}),n.on("disconnect",(...i)=>{let s=i[2];s&&s.code==="UND_ERR_SOCKET"&&(n[ln]=Math.max(1,n[ln]-this[Yd]),this._updateBalancedPoolStats())});for(let i of this[$t])i[ln]=this[Gd];return this._updateBalancedPoolStats(),this}_updateBalancedPoolStats(){let e=0;for(let r=0;ri[NE].origin===r&&i.closed!==!0&&i.destroyed!==!0);return n&&this[ZZ](n),this}get upstreams(){return this[$t].filter(e=>e.closed!==!0&&e.destroyed!==!0).map(e=>e[NE].origin)}[e7](){if(this[$t].length===0)throw new WZ;if(!this[$t].find(s=>!s[nA]&&s.closed!==!0&&s.destroyed!==!0)||this[$t].map(s=>s[nA]).reduce((s,a)=>s&&a,!0))return;let n=0,i=this[$t].findIndex(s=>!s[nA]);for(;n++this[$t][i][ln]&&!s[nA]&&(i=this[Ao]),this[Ao]===0&&(this[lo]=this[lo]-this[fD],this[lo]<=0&&(this[lo]=this[Gd])),s[ln]>=this[lo]&&!s[nA])return s}return this[lo]=this[$t][i][ln],this[Ao]=i,this[$t][i]}};hD.exports=SE});var Ra=h((Iqe,wD)=>{"use strict";var{InvalidArgumentError:Jd}=_e(),{kClients:fs,kRunning:CD,kClose:s7,kDestroy:o7,kDispatch:a7,kInterceptors:c7}=tt(),l7=da(),A7=va(),u7=xa(),d7=Ee(),p7=Ud(),ED=Symbol("onConnect"),BD=Symbol("onDisconnect"),ID=Symbol("onConnectionError"),m7=Symbol("maxRedirections"),bD=Symbol("onDrain"),QD=Symbol("factory"),xE=Symbol("options");function g7(t,e){return e&&e.connections===1?new u7(t,e):new A7(t,e)}o(g7,"defaultFactory");var vE=class extends l7{static{o(this,"Agent")}constructor({factory:e=g7,maxRedirections:r=0,connect:n,...i}={}){if(super(),typeof e!="function")throw new Jd("factory must be a function.");if(n!=null&&typeof n!="function"&&typeof n!="object")throw new Jd("connect must be a function or an object");if(!Number.isInteger(r)||r<0)throw new Jd("maxRedirections must be a positive number");n&&typeof n!="function"&&(n={...n}),this[c7]=i.interceptors?.Agent&&Array.isArray(i.interceptors.Agent)?i.interceptors.Agent:[p7({maxRedirections:r})],this[xE]={...d7.deepClone(i),connect:n},this[xE].interceptors=i.interceptors?{...i.interceptors}:void 0,this[m7]=r,this[QD]=e,this[fs]=new Map,this[bD]=(s,a)=>{this.emit("drain",s,[this,...a])},this[ED]=(s,a)=>{this.emit("connect",s,[this,...a])},this[BD]=(s,a,c)=>{this.emit("disconnect",s,[this,...a],c)},this[ID]=(s,a,c)=>{this.emit("connectionError",s,[this,...a],c)}}get[CD](){let e=0;for(let r of this[fs].values())e+=r[CD];return e}[a7](e,r){let n;if(e.origin&&(typeof e.origin=="string"||e.origin instanceof URL))n=String(e.origin);else throw new Jd("opts.origin must be a non-empty string or URL.");let i=this[fs].get(n);return i||(i=this[QD](e.origin,this[xE]).on("drain",this[bD]).on("connect",this[ED]).on("disconnect",this[BD]).on("connectionError",this[ID]),this[fs].set(n,i)),i.dispatch(e,r)}async[s7](){let e=[];for(let r of this[fs].values())e.push(r.close());this[fs].clear(),await Promise.all(e)}async[o7](e){let r=[];for(let n of this[fs].values())r.push(n.destroy(e));this[fs].clear(),await Promise.all(r)}};wD.exports=vE});var TE=h((Qqe,MD)=>{"use strict";var{kProxy:RE,kClose:_D,kDestroy:PD,kDispatch:ND,kInterceptors:f7}=tt(),{URL:uo}=require("node:url"),h7=Ra(),DD=va(),TD=da(),{InvalidArgumentError:_a,RequestAbortedError:y7,SecureProxyConnectionError:C7}=_e(),SD=Ol(),OD=xa(),Vd=Symbol("proxy agent"),Wd=Symbol("proxy client"),hs=Symbol("proxy headers"),_E=Symbol("request tls settings"),xD=Symbol("proxy tls settings"),vD=Symbol("connect endpoint function"),RD=Symbol("tunnel proxy");function E7(t){return t==="https:"?443:80}o(E7,"defaultProtocolPort");function B7(t,e){return new DD(t,e)}o(B7,"defaultFactory");var I7=o(()=>{},"noop");function b7(t,e){return e.connections===1?new OD(t,e):new DD(t,e)}o(b7,"defaultAgentFactory");var PE=class extends TD{static{o(this,"Http1ProxyWrapper")}#e;constructor(e,{headers:r={},connect:n,factory:i}){if(super(),!e)throw new _a("Proxy URL is mandatory");this[hs]=r,i?this.#e=i(e,{connect:n}):this.#e=new OD(e,{connect:n})}[ND](e,r){let n=r.onHeaders;r.onHeaders=function(c,l,A){if(c===407){typeof r.onError=="function"&&r.onError(new _a("Proxy Authentication Required (407)"));return}n&&n.call(this,c,l,A)};let{origin:i,path:s="/",headers:a={}}=e;if(e.path=i+s,!("host"in a)&&!("Host"in a)){let{host:c}=new uo(i);a.host=c}return e.headers={...this[hs],...a},this.#e[ND](e,r)}async[_D](){return this.#e.close()}async[PD](e){return this.#e.destroy(e)}},DE=class extends TD{static{o(this,"ProxyAgent")}constructor(e){if(super(),!e||typeof e=="object"&&!(e instanceof uo)&&!e.uri)throw new _a("Proxy uri is mandatory");let{clientFactory:r=B7}=e;if(typeof r!="function")throw new _a("Proxy opts.clientFactory must be a function.");let{proxyTunnel:n=!0}=e,i=this.#e(e),{href:s,origin:a,port:c,protocol:l,username:A,password:u,hostname:d}=i;if(this[RE]={uri:s,protocol:l},this[f7]=e.interceptors?.ProxyAgent&&Array.isArray(e.interceptors.ProxyAgent)?e.interceptors.ProxyAgent:[],this[_E]=e.requestTls,this[xD]=e.proxyTls,this[hs]=e.headers||{},this[RD]=n,e.auth&&e.token)throw new _a("opts.auth cannot be used in combination with opts.token");e.auth?this[hs]["proxy-authorization"]=`Basic ${e.auth}`:e.token?this[hs]["proxy-authorization"]=e.token:A&&u&&(this[hs]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(A)}:${decodeURIComponent(u)}`).toString("base64")}`);let g=SD({...e.proxyTls});this[vD]=SD({...e.requestTls});let f=e.factory||b7,C=o((Q,x)=>{let{protocol:w}=new uo(Q);return!this[RD]&&w==="http:"&&this[RE].protocol==="http:"?new PE(this[RE].uri,{headers:this[hs],connect:g,factory:f}):f(Q,x)},"factory");this[Wd]=r(i,{connect:g}),this[Vd]=new h7({...e,factory:C,connect:async(Q,x)=>{let w=Q.host;Q.port||(w+=`:${E7(Q.protocol)}`);try{let{socket:v,statusCode:T}=await this[Wd].connect({origin:a,port:c,path:w,signal:Q.signal,headers:{...this[hs],host:Q.host},servername:this[xD]?.servername||d});if(T!==200&&(v.on("error",I7).destroy(),x(new y7(`Proxy response (${T}) !== 200 when HTTP Tunneling`))),Q.protocol!=="https:"){x(null,v);return}let L;this[_E]?L=this[_E].servername:L=Q.servername,this[vD]({...Q,servername:L,httpSocket:v},x)}catch(v){v.code==="ERR_TLS_CERT_ALTNAME_INVALID"?x(new C7(v)):x(v)}}})}dispatch(e,r){let n=Q7(e.headers);if(w7(n),n&&!("host"in n)&&!("Host"in n)){let{host:i}=new uo(e.origin);n.host=i}return this[Vd].dispatch({...e,headers:n},r)}#e(e){return typeof e=="string"?new uo(e):e instanceof uo?e:new uo(e.uri)}async[_D](){await this[Vd].close(),await this[Wd].close()}async[PD](){await this[Vd].destroy(),await this[Wd].destroy()}};function Q7(t){if(Array.isArray(t)){let e={};for(let r=0;rr.toLowerCase()==="proxy-authorization"))throw new _a("Proxy-Authorization should be sent in ProxyAgent constructor")}o(w7,"throwIfProxyAuthIsSent");MD.exports=DE});var HD=h((Nqe,qD)=>{"use strict";var N7=da(),{kClose:S7,kDestroy:x7,kClosed:kD,kDestroyed:LD,kDispatch:v7,kNoProxyAgent:iA,kHttpProxyAgent:ys,kHttpsProxyAgent:po}=tt(),FD=TE(),R7=Ra(),_7={"http:":80,"https:":443},UD=!1,OE=class extends N7{static{o(this,"EnvHttpProxyAgent")}#e=null;#t=null;#i=null;constructor(e={}){super(),this.#i=e,UD||(UD=!0,process.emitWarning("EnvHttpProxyAgent is experimental, expect them to change at any time.",{code:"UNDICI-EHPA"}));let{httpProxy:r,httpsProxy:n,noProxy:i,...s}=e;this[iA]=new R7(s);let a=r??process.env.http_proxy??process.env.HTTP_PROXY;a?this[ys]=new FD({...s,uri:a}):this[ys]=this[iA];let c=n??process.env.https_proxy??process.env.HTTPS_PROXY;c?this[po]=new FD({...s,uri:c}):this[po]=this[ys],this.#s()}[v7](e,r){let n=new URL(e.origin);return this.#n(n).dispatch(e,r)}async[S7](){await this[iA].close(),this[ys][kD]||await this[ys].close(),this[po][kD]||await this[po].close()}async[x7](e){await this[iA].destroy(e),this[ys][LD]||await this[ys].destroy(e),this[po][LD]||await this[po].destroy(e)}#n(e){let{protocol:r,host:n,port:i}=e;return n=n.replace(/:\d*$/,"").toLowerCase(),i=Number.parseInt(i,10)||_7[r]||0,this.#r(n,i)?r==="https:"?this[po]:this[ys]:this[iA]}#r(e,r){if(this.#o&&this.#s(),this.#t.length===0)return!0;if(this.#e==="*")return!1;for(let n=0;n{"use strict";var Pa=require("node:assert"),{kRetryHandlerDefaultRetry:zD}=tt(),{RequestRetryError:sA}=_e(),{isDisturbed:jD,parseHeaders:P7,parseRangeHeader:GD,wrapRequestBody:D7}=Ee();function T7(t){let e=Date.now();return new Date(t).getTime()-e}o(T7,"calculateRetryAfterHeader");var ME=class t{static{o(this,"RetryHandler")}constructor(e,r){let{retryOptions:n,...i}=e,{retry:s,maxRetries:a,maxTimeout:c,minTimeout:l,timeoutFactor:A,methods:u,errorCodes:d,retryAfter:g,statusCodes:f}=n??{};this.dispatch=r.dispatch,this.handler=r.handler,this.opts={...i,body:D7(e.body)},this.abort=null,this.aborted=!1,this.retryOpts={retry:s??t[zD],retryAfter:g??!0,maxTimeout:c??30*1e3,minTimeout:l??500,timeoutFactor:A??2,maxRetries:a??5,methods:u??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE"],statusCodes:f??[500,502,503,504,429],errorCodes:d??["ECONNRESET","ECONNREFUSED","ENOTFOUND","ENETDOWN","ENETUNREACH","EHOSTDOWN","EHOSTUNREACH","EPIPE","UND_ERR_SOCKET"]},this.retryCount=0,this.retryCountCheckpoint=0,this.start=0,this.end=null,this.etag=null,this.resume=null,this.handler.onConnect(C=>{this.aborted=!0,this.abort?this.abort(C):this.reason=C})}onRequestSent(){this.handler.onRequestSent&&this.handler.onRequestSent()}onUpgrade(e,r,n){this.handler.onUpgrade&&this.handler.onUpgrade(e,r,n)}onConnect(e){this.aborted?e(this.reason):this.abort=e}onBodySent(e){if(this.handler.onBodySent)return this.handler.onBodySent(e)}static[zD](e,{state:r,opts:n},i){let{statusCode:s,code:a,headers:c}=e,{method:l,retryOptions:A}=n,{maxRetries:u,minTimeout:d,maxTimeout:g,timeoutFactor:f,statusCodes:C,errorCodes:Q,methods:x}=A,{counter:w}=r;if(a&&a!=="UND_ERR_REQ_RETRY"&&!Q.includes(a)){i(e);return}if(Array.isArray(x)&&!x.includes(l)){i(e);return}if(s!=null&&Array.isArray(C)&&!C.includes(s)){i(e);return}if(w>u){i(e);return}let v=c?.["retry-after"];v&&(v=Number(v),v=Number.isNaN(v)?T7(v):v*1e3);let T=v>0?Math.min(v,g):Math.min(d*f**(w-1),g);setTimeout(()=>i(null),T)}onHeaders(e,r,n,i){let s=P7(r);if(this.retryCount+=1,e>=300)return this.retryOpts.statusCodes.includes(e)===!1?this.handler.onHeaders(e,r,n,i):(this.abort(new sA("Request failed",e,{headers:s,data:{count:this.retryCount}})),!1);if(this.resume!=null){if(this.resume=null,e!==206&&(this.start>0||e!==200))return this.abort(new sA("server does not support the range header and the payload was partially consumed",e,{headers:s,data:{count:this.retryCount}})),!1;let c=GD(s["content-range"]);if(!c)return this.abort(new sA("Content-Range mismatch",e,{headers:s,data:{count:this.retryCount}})),!1;if(this.etag!=null&&this.etag!==s.etag)return this.abort(new sA("ETag mismatch",e,{headers:s,data:{count:this.retryCount}})),!1;let{start:l,size:A,end:u=A-1}=c;return Pa(this.start===l,"content-range mismatch"),Pa(this.end==null||this.end===u,"content-range mismatch"),this.resume=n,!0}if(this.end==null){if(e===206){let c=GD(s["content-range"]);if(c==null)return this.handler.onHeaders(e,r,n,i);let{start:l,size:A,end:u=A-1}=c;Pa(l!=null&&Number.isFinite(l),"content-range mismatch"),Pa(u!=null&&Number.isFinite(u),"invalid content-length"),this.start=l,this.end=u}if(this.end==null){let c=s["content-length"];this.end=c!=null?Number(c)-1:null}return Pa(Number.isFinite(this.start)),Pa(this.end==null||Number.isFinite(this.end),"invalid content-length"),this.resume=n,this.etag=s.etag!=null?s.etag:null,this.etag!=null&&this.etag.startsWith("W/")&&(this.etag=null),this.handler.onHeaders(e,r,n,i)}let a=new sA("Request failed",e,{headers:s,data:{count:this.retryCount}});return this.abort(a),!1}onData(e){return this.start+=e.length,this.handler.onData(e)}onComplete(e){return this.retryCount=0,this.handler.onComplete(e)}onError(e){if(this.aborted||jD(this.opts.body))return this.handler.onError(e);this.retryCount-this.retryCountCheckpoint>0?this.retryCount=this.retryCountCheckpoint+(this.retryCount-this.retryCountCheckpoint):this.retryCount+=1,this.retryOpts.retry(e,{state:{counter:this.retryCount},opts:{retryOptions:this.retryOpts,...this.opts}},r.bind(this));function r(n){if(n!=null||this.aborted||jD(this.opts.body))return this.handler.onError(n);if(this.start!==0){let i={range:`bytes=${this.start}-${this.end??""}`};this.etag!=null&&(i["if-match"]=this.etag),this.opts={...this.opts,headers:{...this.opts.headers,...i}}}try{this.retryCountCheckpoint=this.retryCount,this.dispatch(this.opts,this)}catch(i){this.handler.onError(i)}}o(r,"onRetry")}};YD.exports=ME});var VD=h((Rqe,JD)=>{"use strict";var O7=Dl(),M7=Kd(),kE=class extends O7{static{o(this,"RetryAgent")}#e=null;#t=null;constructor(e,r={}){super(r),this.#e=e,this.#t=r}dispatch(e,r){let n=new M7({...e,retryOptions:this.#t},{dispatch:this.#e.dispatch.bind(this.#e),handler:r});return this.#e.dispatch(e,n)}close(){return this.#e.close()}destroy(){return this.#e.destroy()}};JD.exports=kE});var zE=h((Pqe,nT)=>{"use strict";var ZD=require("node:assert"),{Readable:k7}=require("node:stream"),{RequestAbortedError:eT,NotSupportedError:L7,InvalidArgumentError:F7,AbortError:LE}=_e(),tT=Ee(),{ReadableStreamFrom:U7}=Ee(),Or=Symbol("kConsume"),oA=Symbol("kReading"),Cs=Symbol("kBody"),WD=Symbol("kAbort"),rT=Symbol("kContentType"),KD=Symbol("kContentLength"),q7=o(()=>{},"noop"),FE=class extends k7{static{o(this,"BodyReadable")}constructor({resume:e,abort:r,contentType:n="",contentLength:i,highWaterMark:s=64*1024}){super({autoDestroy:!0,read:e,highWaterMark:s}),this._readableState.dataEmitted=!1,this[WD]=r,this[Or]=null,this[Cs]=null,this[rT]=n,this[KD]=i,this[oA]=!1}destroy(e){return!e&&!this._readableState.endEmitted&&(e=new eT),e&&this[WD](),super.destroy(e)}_destroy(e,r){this[oA]?r(e):setImmediate(()=>{r(e)})}on(e,...r){return(e==="data"||e==="readable")&&(this[oA]=!0),super.on(e,...r)}addListener(e,...r){return this.on(e,...r)}off(e,...r){let n=super.off(e,...r);return(e==="data"||e==="readable")&&(this[oA]=this.listenerCount("data")>0||this.listenerCount("readable")>0),n}removeListener(e,...r){return this.off(e,...r)}push(e){return this[Or]&&e!==null?(qE(this[Or],e),this[oA]?super.push(e):!0):super.push(e)}async text(){return aA(this,"text")}async json(){return aA(this,"json")}async blob(){return aA(this,"blob")}async bytes(){return aA(this,"bytes")}async arrayBuffer(){return aA(this,"arrayBuffer")}async formData(){throw new L7}get bodyUsed(){return tT.isDisturbed(this)}get body(){return this[Cs]||(this[Cs]=U7(this),this[Or]&&(this[Cs].getReader(),ZD(this[Cs].locked))),this[Cs]}async dump(e){let r=Number.isFinite(e?.limit)?e.limit:131072,n=e?.signal;if(n!=null&&(typeof n!="object"||!("aborted"in n)))throw new F7("signal must be an AbortSignal");return n?.throwIfAborted(),this._readableState.closeEmitted?null:await new Promise((i,s)=>{this[KD]>r&&this.destroy(new LE);let a=o(()=>{this.destroy(n.reason??new LE)},"onAbort");n?.addEventListener("abort",a),this.on("close",function(){n?.removeEventListener("abort",a),n?.aborted?s(n.reason??new LE):i(null)}).on("error",q7).on("data",function(c){r-=c.length,r<=0&&this.destroy()}).resume()})}};function H7(t){return t[Cs]&&t[Cs].locked===!0||t[Or]}o(H7,"isLocked");function z7(t){return tT.isDisturbed(t)||H7(t)}o(z7,"isUnusable");async function aA(t,e){return ZD(!t[Or]),new Promise((r,n)=>{if(z7(t)){let i=t._readableState;i.destroyed&&i.closeEmitted===!1?t.on("error",s=>{n(s)}).on("close",()=>{n(new TypeError("unusable"))}):n(i.errored??new TypeError("unusable"))}else queueMicrotask(()=>{t[Or]={type:e,stream:t,resolve:r,reject:n,length:0,body:[]},t.on("error",function(i){HE(this[Or],i)}).on("close",function(){this[Or].body!==null&&HE(this[Or],new eT)}),j7(t[Or])})})}o(aA,"consume");function j7(t){if(t.body===null)return;let{_readableState:e}=t.stream;if(e.bufferIndex){let r=e.bufferIndex,n=e.buffer.length;for(let i=r;i2&&r[0]===239&&r[1]===187&&r[2]===191?3:0;return r.utf8Slice(i,n)}o(UE,"chunksDecode");function $D(t,e){if(t.length===0||e===0)return new Uint8Array(0);if(t.length===1)return new Uint8Array(t[0]);let r=new Uint8Array(Buffer.allocUnsafeSlow(e).buffer),n=0;for(let i=0;i{var G7=require("node:assert"),{ResponseStatusCodeError:iT}=_e(),{chunksDecode:sT}=zE(),Y7=128*1024;async function J7({callback:t,body:e,contentType:r,statusCode:n,statusMessage:i,headers:s}){G7(e);let a=[],c=0;try{for await(let d of e)if(a.push(d),c+=d.length,c>Y7){a=[],c=0;break}}catch{a=[],c=0}let l=`Response status code ${n}${i?`: ${i}`:""}`;if(n===204||!r||!c){queueMicrotask(()=>t(new iT(l,n,s)));return}let A=Error.stackTraceLimit;Error.stackTraceLimit=0;let u;try{oT(r)?u=JSON.parse(sT(a,c)):aT(r)&&(u=sT(a,c))}catch{}finally{Error.stackTraceLimit=A}queueMicrotask(()=>t(new iT(l,n,s,u)))}o(J7,"getResolveErrorBodyCallback");var oT=o(t=>t.length>15&&t[11]==="/"&&t[0]==="a"&&t[1]==="p"&&t[2]==="p"&&t[3]==="l"&&t[4]==="i"&&t[5]==="c"&&t[6]==="a"&&t[7]==="t"&&t[8]==="i"&&t[9]==="o"&&t[10]==="n"&&t[12]==="j"&&t[13]==="s"&&t[14]==="o"&&t[15]==="n","isContentTypeApplicationJson"),aT=o(t=>t.length>4&&t[4]==="/"&&t[0]==="t"&&t[1]==="e"&&t[2]==="x"&&t[3]==="t","isContentTypeText");cT.exports={getResolveErrorBodyCallback:J7,isContentTypeApplicationJson:oT,isContentTypeText:aT}});var uT=h((Mqe,GE)=>{"use strict";var V7=require("node:assert"),{Readable:W7}=zE(),{InvalidArgumentError:Da,RequestAbortedError:lT}=_e(),Mr=Ee(),{getResolveErrorBodyCallback:K7}=jE(),{AsyncResource:$7}=require("node:async_hooks"),$d=class extends $7{static{o(this,"RequestHandler")}constructor(e,r){if(!e||typeof e!="object")throw new Da("invalid opts");let{signal:n,method:i,opaque:s,body:a,onInfo:c,responseHeaders:l,throwOnError:A,highWaterMark:u}=e;try{if(typeof r!="function")throw new Da("invalid callback");if(u&&(typeof u!="number"||u<0))throw new Da("invalid highWaterMark");if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new Da("signal must be an EventEmitter or EventTarget");if(i==="CONNECT")throw new Da("invalid method");if(c&&typeof c!="function")throw new Da("invalid onInfo callback");super("UNDICI_REQUEST")}catch(d){throw Mr.isStream(a)&&Mr.destroy(a.on("error",Mr.nop),d),d}this.method=i,this.responseHeaders=l||null,this.opaque=s||null,this.callback=r,this.res=null,this.abort=null,this.body=a,this.trailers={},this.context=null,this.onInfo=c||null,this.throwOnError=A,this.highWaterMark=u,this.signal=n,this.reason=null,this.removeAbortListener=null,Mr.isStream(a)&&a.on("error",d=>{this.onError(d)}),this.signal&&(this.signal.aborted?this.reason=this.signal.reason??new lT:this.removeAbortListener=Mr.addAbortListener(this.signal,()=>{this.reason=this.signal.reason??new lT,this.res?Mr.destroy(this.res.on("error",Mr.nop),this.reason):this.abort&&this.abort(this.reason),this.removeAbortListener&&(this.res?.off("close",this.removeAbortListener),this.removeAbortListener(),this.removeAbortListener=null)}))}onConnect(e,r){if(this.reason){e(this.reason);return}V7(this.callback),this.abort=e,this.context=r}onHeaders(e,r,n,i){let{callback:s,opaque:a,abort:c,context:l,responseHeaders:A,highWaterMark:u}=this,d=A==="raw"?Mr.parseRawHeaders(r):Mr.parseHeaders(r);if(e<200){this.onInfo&&this.onInfo({statusCode:e,headers:d});return}let g=A==="raw"?Mr.parseHeaders(r):d,f=g["content-type"],C=g["content-length"],Q=new W7({resume:n,abort:c,contentType:f,contentLength:this.method!=="HEAD"&&C?Number(C):null,highWaterMark:u});this.removeAbortListener&&Q.on("close",this.removeAbortListener),this.callback=null,this.res=Q,s!==null&&(this.throwOnError&&e>=400?this.runInAsyncScope(K7,null,{callback:s,body:Q,contentType:f,statusCode:e,statusMessage:i,headers:d}):this.runInAsyncScope(s,null,null,{statusCode:e,headers:d,trailers:this.trailers,opaque:a,body:Q,context:l}))}onData(e){return this.res.push(e)}onComplete(e){Mr.parseHeaders(e,this.trailers),this.res.push(null)}onError(e){let{res:r,callback:n,body:i,opaque:s}=this;n&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(n,null,e,{opaque:s})})),r&&(this.res=null,queueMicrotask(()=>{Mr.destroy(r,e)})),i&&(this.body=null,Mr.destroy(i,e)),this.removeAbortListener&&(r?.off("close",this.removeAbortListener),this.removeAbortListener(),this.removeAbortListener=null)}};function AT(t,e){if(e===void 0)return new Promise((r,n)=>{AT.call(this,t,(i,s)=>i?n(i):r(s))});try{this.dispatch(t,new $d(t,e))}catch(r){if(typeof e!="function")throw r;let n=t?.opaque;queueMicrotask(()=>e(r,{opaque:n}))}}o(AT,"request");GE.exports=AT;GE.exports.RequestHandler=$d});var cA=h((Lqe,mT)=>{var{addAbortListener:X7}=Ee(),{RequestAbortedError:Z7}=_e(),Ta=Symbol("kListener"),ai=Symbol("kSignal");function dT(t){t.abort?t.abort(t[ai]?.reason):t.reason=t[ai]?.reason??new Z7,pT(t)}o(dT,"abort");function eee(t,e){if(t.reason=null,t[ai]=null,t[Ta]=null,!!e){if(e.aborted){dT(t);return}t[ai]=e,t[Ta]=()=>{dT(t)},X7(t[ai],t[Ta])}}o(eee,"addSignal");function pT(t){t[ai]&&("removeEventListener"in t[ai]?t[ai].removeEventListener("abort",t[Ta]):t[ai].removeListener("abort",t[Ta]),t[ai]=null,t[Ta]=null)}o(pT,"removeSignal");mT.exports={addSignal:eee,removeSignal:pT}});var yT=h((Uqe,hT)=>{"use strict";var tee=require("node:assert"),{finished:ree,PassThrough:nee}=require("node:stream"),{InvalidArgumentError:Oa,InvalidReturnValueError:iee}=_e(),Ln=Ee(),{getResolveErrorBodyCallback:see}=jE(),{AsyncResource:oee}=require("node:async_hooks"),{addSignal:aee,removeSignal:gT}=cA(),YE=class extends oee{static{o(this,"StreamHandler")}constructor(e,r,n){if(!e||typeof e!="object")throw new Oa("invalid opts");let{signal:i,method:s,opaque:a,body:c,onInfo:l,responseHeaders:A,throwOnError:u}=e;try{if(typeof n!="function")throw new Oa("invalid callback");if(typeof r!="function")throw new Oa("invalid factory");if(i&&typeof i.on!="function"&&typeof i.addEventListener!="function")throw new Oa("signal must be an EventEmitter or EventTarget");if(s==="CONNECT")throw new Oa("invalid method");if(l&&typeof l!="function")throw new Oa("invalid onInfo callback");super("UNDICI_STREAM")}catch(d){throw Ln.isStream(c)&&Ln.destroy(c.on("error",Ln.nop),d),d}this.responseHeaders=A||null,this.opaque=a||null,this.factory=r,this.callback=n,this.res=null,this.abort=null,this.context=null,this.trailers=null,this.body=c,this.onInfo=l||null,this.throwOnError=u||!1,Ln.isStream(c)&&c.on("error",d=>{this.onError(d)}),aee(this,i)}onConnect(e,r){if(this.reason){e(this.reason);return}tee(this.callback),this.abort=e,this.context=r}onHeaders(e,r,n,i){let{factory:s,opaque:a,context:c,callback:l,responseHeaders:A}=this,u=A==="raw"?Ln.parseRawHeaders(r):Ln.parseHeaders(r);if(e<200){this.onInfo&&this.onInfo({statusCode:e,headers:u});return}this.factory=null;let d;if(this.throwOnError&&e>=400){let C=(A==="raw"?Ln.parseHeaders(r):u)["content-type"];d=new nee,this.callback=null,this.runInAsyncScope(see,null,{callback:l,body:d,contentType:C,statusCode:e,statusMessage:i,headers:u})}else{if(s===null)return;if(d=this.runInAsyncScope(s,null,{statusCode:e,headers:u,opaque:a,context:c}),!d||typeof d.write!="function"||typeof d.end!="function"||typeof d.on!="function")throw new iee("expected Writable");ree(d,{readable:!1},f=>{let{callback:C,res:Q,opaque:x,trailers:w,abort:v}=this;this.res=null,(f||!Q.readable)&&Ln.destroy(Q,f),this.callback=null,this.runInAsyncScope(C,null,f||null,{opaque:x,trailers:w}),f&&v()})}return d.on("drain",n),this.res=d,(d.writableNeedDrain!==void 0?d.writableNeedDrain:d._writableState?.needDrain)!==!0}onData(e){let{res:r}=this;return r?r.write(e):!0}onComplete(e){let{res:r}=this;gT(this),r&&(this.trailers=Ln.parseHeaders(e),r.end())}onError(e){let{res:r,callback:n,opaque:i,body:s}=this;gT(this),this.factory=null,r?(this.res=null,Ln.destroy(r,e)):n&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(n,null,e,{opaque:i})})),s&&(this.body=null,Ln.destroy(s,e))}};function fT(t,e,r){if(r===void 0)return new Promise((n,i)=>{fT.call(this,t,e,(s,a)=>s?i(s):n(a))});try{this.dispatch(t,new YE(t,e,r))}catch(n){if(typeof r!="function")throw n;let i=t?.opaque;queueMicrotask(()=>r(n,{opaque:i}))}}o(fT,"stream");hT.exports=fT});var IT=h((Hqe,BT)=>{"use strict";var{Readable:ET,Duplex:cee,PassThrough:lee}=require("node:stream"),{InvalidArgumentError:lA,InvalidReturnValueError:Aee,RequestAbortedError:JE}=_e(),An=Ee(),{AsyncResource:uee}=require("node:async_hooks"),{addSignal:dee,removeSignal:pee}=cA(),CT=require("node:assert"),Ma=Symbol("resume"),VE=class extends ET{static{o(this,"PipelineRequest")}constructor(){super({autoDestroy:!0}),this[Ma]=null}_read(){let{[Ma]:e}=this;e&&(this[Ma]=null,e())}_destroy(e,r){this._read(),r(e)}},WE=class extends ET{static{o(this,"PipelineResponse")}constructor(e){super({autoDestroy:!0}),this[Ma]=e}_read(){this[Ma]()}_destroy(e,r){!e&&!this._readableState.endEmitted&&(e=new JE),r(e)}},KE=class extends uee{static{o(this,"PipelineHandler")}constructor(e,r){if(!e||typeof e!="object")throw new lA("invalid opts");if(typeof r!="function")throw new lA("invalid handler");let{signal:n,method:i,opaque:s,onInfo:a,responseHeaders:c}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new lA("signal must be an EventEmitter or EventTarget");if(i==="CONNECT")throw new lA("invalid method");if(a&&typeof a!="function")throw new lA("invalid onInfo callback");super("UNDICI_PIPELINE"),this.opaque=s||null,this.responseHeaders=c||null,this.handler=r,this.abort=null,this.context=null,this.onInfo=a||null,this.req=new VE().on("error",An.nop),this.ret=new cee({readableObjectMode:e.objectMode,autoDestroy:!0,read:()=>{let{body:l}=this;l?.resume&&l.resume()},write:(l,A,u)=>{let{req:d}=this;d.push(l,A)||d._readableState.destroyed?u():d[Ma]=u},destroy:(l,A)=>{let{body:u,req:d,res:g,ret:f,abort:C}=this;!l&&!f._readableState.endEmitted&&(l=new JE),C&&l&&C(),An.destroy(u,l),An.destroy(d,l),An.destroy(g,l),pee(this),A(l)}}).on("prefinish",()=>{let{req:l}=this;l.push(null)}),this.res=null,dee(this,n)}onConnect(e,r){let{ret:n,res:i}=this;if(this.reason){e(this.reason);return}CT(!i,"pipeline cannot be retried"),CT(!n.destroyed),this.abort=e,this.context=r}onHeaders(e,r,n){let{opaque:i,handler:s,context:a}=this;if(e<200){if(this.onInfo){let l=this.responseHeaders==="raw"?An.parseRawHeaders(r):An.parseHeaders(r);this.onInfo({statusCode:e,headers:l})}return}this.res=new WE(n);let c;try{this.handler=null;let l=this.responseHeaders==="raw"?An.parseRawHeaders(r):An.parseHeaders(r);c=this.runInAsyncScope(s,null,{statusCode:e,headers:l,opaque:i,body:this.res,context:a})}catch(l){throw this.res.on("error",An.nop),l}if(!c||typeof c.on!="function")throw new Aee("expected Readable");c.on("data",l=>{let{ret:A,body:u}=this;!A.push(l)&&u.pause&&u.pause()}).on("error",l=>{let{ret:A}=this;An.destroy(A,l)}).on("end",()=>{let{ret:l}=this;l.push(null)}).on("close",()=>{let{ret:l}=this;l._readableState.ended||An.destroy(l,new JE)}),this.body=c}onData(e){let{res:r}=this;return r.push(e)}onComplete(e){let{res:r}=this;r.push(null)}onError(e){let{ret:r}=this;this.handler=null,An.destroy(r,e)}};function mee(t,e){try{let r=new KE(t,e);return this.dispatch({...t,body:r.req},r),r.ret}catch(r){return new lee().destroy(r)}}o(mee,"pipeline");BT.exports=mee});var xT=h((jqe,ST)=>{"use strict";var{InvalidArgumentError:$E,SocketError:gee}=_e(),{AsyncResource:fee}=require("node:async_hooks"),bT=Ee(),{addSignal:hee,removeSignal:QT}=cA(),wT=require("node:assert"),XE=class extends fee{static{o(this,"UpgradeHandler")}constructor(e,r){if(!e||typeof e!="object")throw new $E("invalid opts");if(typeof r!="function")throw new $E("invalid callback");let{signal:n,opaque:i,responseHeaders:s}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new $E("signal must be an EventEmitter or EventTarget");super("UNDICI_UPGRADE"),this.responseHeaders=s||null,this.opaque=i||null,this.callback=r,this.abort=null,this.context=null,hee(this,n)}onConnect(e,r){if(this.reason){e(this.reason);return}wT(this.callback),this.abort=e,this.context=null}onHeaders(){throw new gee("bad upgrade",null)}onUpgrade(e,r,n){wT(e===101);let{callback:i,opaque:s,context:a}=this;QT(this),this.callback=null;let c=this.responseHeaders==="raw"?bT.parseRawHeaders(r):bT.parseHeaders(r);this.runInAsyncScope(i,null,null,{headers:c,socket:n,opaque:s,context:a})}onError(e){let{callback:r,opaque:n}=this;QT(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:n})}))}};function NT(t,e){if(e===void 0)return new Promise((r,n)=>{NT.call(this,t,(i,s)=>i?n(i):r(s))});try{let r=new XE(t,e);this.dispatch({...t,method:t.method||"GET",upgrade:t.protocol||"Websocket"},r)}catch(r){if(typeof e!="function")throw r;let n=t?.opaque;queueMicrotask(()=>e(r,{opaque:n}))}}o(NT,"upgrade");ST.exports=NT});var DT=h((Yqe,PT)=>{"use strict";var yee=require("node:assert"),{AsyncResource:Cee}=require("node:async_hooks"),{InvalidArgumentError:ZE,SocketError:Eee}=_e(),vT=Ee(),{addSignal:Bee,removeSignal:RT}=cA(),eB=class extends Cee{static{o(this,"ConnectHandler")}constructor(e,r){if(!e||typeof e!="object")throw new ZE("invalid opts");if(typeof r!="function")throw new ZE("invalid callback");let{signal:n,opaque:i,responseHeaders:s}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new ZE("signal must be an EventEmitter or EventTarget");super("UNDICI_CONNECT"),this.opaque=i||null,this.responseHeaders=s||null,this.callback=r,this.abort=null,Bee(this,n)}onConnect(e,r){if(this.reason){e(this.reason);return}yee(this.callback),this.abort=e,this.context=r}onHeaders(){throw new Eee("bad connect",null)}onUpgrade(e,r,n){let{callback:i,opaque:s,context:a}=this;RT(this),this.callback=null;let c=r;c!=null&&(c=this.responseHeaders==="raw"?vT.parseRawHeaders(r):vT.parseHeaders(r)),this.runInAsyncScope(i,null,null,{statusCode:e,headers:c,socket:n,opaque:s,context:a})}onError(e){let{callback:r,opaque:n}=this;RT(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:n})}))}};function _T(t,e){if(e===void 0)return new Promise((r,n)=>{_T.call(this,t,(i,s)=>i?n(i):r(s))});try{let r=new eB(t,e);this.dispatch({...t,method:"CONNECT"},r)}catch(r){if(typeof e!="function")throw r;let n=t?.opaque;queueMicrotask(()=>e(r,{opaque:n}))}}o(_T,"connect");PT.exports=_T});var TT=h((Vqe,ka)=>{"use strict";ka.exports.request=uT();ka.exports.stream=yT();ka.exports.pipeline=IT();ka.exports.upgrade=xT();ka.exports.connect=DT()});var rB=h((Wqe,MT)=>{"use strict";var{UndiciError:Iee}=_e(),OT=Symbol.for("undici.error.UND_MOCK_ERR_MOCK_NOT_MATCHED"),tB=class t extends Iee{static{o(this,"MockNotMatchedError")}constructor(e){super(e),Error.captureStackTrace(this,t),this.name="MockNotMatchedError",this.message=e||"The request does not match any registered mock dispatches",this.code="UND_MOCK_ERR_MOCK_NOT_MATCHED"}static[Symbol.hasInstance](e){return e&&e[OT]===!0}[OT]=!0};MT.exports={MockNotMatchedError:tB}});var La=h(($qe,kT)=>{"use strict";kT.exports={kAgent:Symbol("agent"),kOptions:Symbol("options"),kFactory:Symbol("factory"),kDispatches:Symbol("dispatches"),kDispatchKey:Symbol("dispatch key"),kDefaultHeaders:Symbol("default headers"),kDefaultTrailers:Symbol("default trailers"),kContentLength:Symbol("content length"),kMockAgent:Symbol("mock agent"),kMockAgentSet:Symbol("mock agent set"),kMockAgentGet:Symbol("mock agent get"),kMockDispatch:Symbol("mock dispatch"),kClose:Symbol("close"),kOriginalClose:Symbol("original agent close"),kOrigin:Symbol("origin"),kIsMockActive:Symbol("is mock active"),kNetConnect:Symbol("net connect"),kGetNetConnect:Symbol("get net connect"),kConnected:Symbol("connected")}});var AA=h((Xqe,VT)=>{"use strict";var{MockNotMatchedError:mo}=rB(),{kDispatches:Xd,kMockAgent:bee,kOriginalDispatch:Qee,kOrigin:wee,kGetNetConnect:Nee}=La(),{buildURL:See}=Ee(),{STATUS_CODES:xee}=require("node:http"),{types:{isPromise:vee}}=require("node:util");function zi(t,e){return typeof t=="string"?t===e:t instanceof RegExp?t.test(e):typeof t=="function"?t(e)===!0:!1}o(zi,"matchValue");function FT(t){return Object.fromEntries(Object.entries(t).map(([e,r])=>[e.toLocaleLowerCase(),r]))}o(FT,"lowerCaseEntries");function UT(t,e){if(Array.isArray(t)){for(let r=0;r"u")return!0;if(typeof e!="object"||typeof t.headers!="object")return!1;for(let[r,n]of Object.entries(t.headers)){let i=UT(e,r);if(!zi(n,i))return!1}return!0}o(qT,"matchHeaders");function LT(t){if(typeof t!="string")return t;let e=t.split("?");if(e.length!==2)return t;let r=new URLSearchParams(e.pop());return r.sort(),[...e,r.toString()].join("?")}o(LT,"safeUrl");function Ree(t,{path:e,method:r,body:n,headers:i}){let s=zi(t.path,e),a=zi(t.method,r),c=typeof t.body<"u"?zi(t.body,n):!0,l=qT(t,i);return s&&a&&c&&l}o(Ree,"matchKey");function HT(t){return Buffer.isBuffer(t)||t instanceof Uint8Array||t instanceof ArrayBuffer?t:typeof t=="object"?JSON.stringify(t):t.toString()}o(HT,"getResponseData");function zT(t,e){let r=e.query?See(e.path,e.query):e.path,n=typeof r=="string"?LT(r):r,i=t.filter(({consumed:s})=>!s).filter(({path:s})=>zi(LT(s),n));if(i.length===0)throw new mo(`Mock dispatch not matched for path '${n}'`);if(i=i.filter(({method:s})=>zi(s,e.method)),i.length===0)throw new mo(`Mock dispatch not matched for method '${e.method}' on path '${n}'`);if(i=i.filter(({body:s})=>typeof s<"u"?zi(s,e.body):!0),i.length===0)throw new mo(`Mock dispatch not matched for body '${e.body}' on path '${n}'`);if(i=i.filter(s=>qT(s,e.headers)),i.length===0){let s=typeof e.headers=="object"?JSON.stringify(e.headers):e.headers;throw new mo(`Mock dispatch not matched for headers '${s}' on path '${n}'`)}return i[0]}o(zT,"getMockDispatch");function _ee(t,e,r){let n={timesInvoked:0,times:1,persist:!1,consumed:!1},i=typeof r=="function"?{callback:r}:{...r},s={...n,...e,pending:!0,data:{error:null,...i}};return t.push(s),s}o(_ee,"addMockDispatch");function nB(t,e){let r=t.findIndex(n=>n.consumed?Ree(n,e):!1);r!==-1&&t.splice(r,1)}o(nB,"deleteMockDispatch");function jT(t){let{path:e,method:r,body:n,headers:i,query:s}=t;return{path:e,method:r,body:n,headers:i,query:s}}o(jT,"buildKey");function iB(t){let e=Object.keys(t),r=[];for(let n=0;n=g,n.pending=d0?setTimeout(()=>{f(this[Xd])},A):f(this[Xd]);function f(Q,x=s){let w=Array.isArray(t.headers)?sB(t.headers):t.headers,v=typeof x=="function"?x({...t,headers:w}):x;if(vee(v)){v.then(de=>f(Q,de));return}let T=HT(v),L=iB(a),W=iB(c);e.onConnect?.(de=>e.onError(de),null),e.onHeaders?.(i,L,C,GT(i)),e.onData?.(Buffer.from(T)),e.onComplete?.(W),nB(Q,r)}o(f,"handleReply");function C(){}return o(C,"resume"),!0}o(YT,"mockDispatch");function Dee(){let t=this[bee],e=this[wee],r=this[Qee];return o(function(i,s){if(t.isMockActive)try{YT.call(this,i,s)}catch(a){if(a instanceof mo){let c=t[Nee]();if(c===!1)throw new mo(`${a.message}: subsequent request to origin ${e} was not allowed (net.connect disabled)`);if(JT(c,e))r.call(this,i,s);else throw new mo(`${a.message}: subsequent request to origin ${e} was not allowed (net.connect is not enabled for this origin)`)}else throw a}else r.call(this,i,s)},"dispatch")}o(Dee,"buildMockDispatch");function JT(t,e){let r=new URL(e);return t===!0?!0:!!(Array.isArray(t)&&t.some(n=>zi(n,r.host)))}o(JT,"checkNetConnect");function Tee(t){if(t){let{agent:e,...r}=t;return r}}o(Tee,"buildMockOptions");VT.exports={getResponseData:HT,getMockDispatch:zT,addMockDispatch:_ee,deleteMockDispatch:nB,buildKey:jT,generateKeyValues:iB,matchValue:zi,getResponse:Pee,getStatusText:GT,mockDispatch:YT,buildMockDispatch:Dee,checkNetConnect:JT,buildMockOptions:Tee,getHeaderByName:UT,buildHeadersFromArray:sB}});var dB=h((e1e,uB)=>{"use strict";var{getResponseData:Oee,buildKey:Mee,addMockDispatch:oB}=AA(),{kDispatches:Zd,kDispatchKey:ep,kDefaultHeaders:aB,kDefaultTrailers:cB,kContentLength:lB,kMockDispatch:tp}=La(),{InvalidArgumentError:ci}=_e(),{buildURL:kee}=Ee(),Fa=class{static{o(this,"MockScope")}constructor(e){this[tp]=e}delay(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new ci("waitInMs must be a valid integer > 0");return this[tp].delay=e,this}persist(){return this[tp].persist=!0,this}times(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new ci("repeatTimes must be a valid integer > 0");return this[tp].times=e,this}},AB=class{static{o(this,"MockInterceptor")}constructor(e,r){if(typeof e!="object")throw new ci("opts must be an object");if(typeof e.path>"u")throw new ci("opts.path must be defined");if(typeof e.method>"u"&&(e.method="GET"),typeof e.path=="string")if(e.query)e.path=kee(e.path,e.query);else{let n=new URL(e.path,"data://");e.path=n.pathname+n.search}typeof e.method=="string"&&(e.method=e.method.toUpperCase()),this[ep]=Mee(e),this[Zd]=r,this[aB]={},this[cB]={},this[lB]=!1}createMockScopeDispatchData({statusCode:e,data:r,responseOptions:n}){let i=Oee(r),s=this[lB]?{"content-length":i.length}:{},a={...this[aB],...s,...n.headers},c={...this[cB],...n.trailers};return{statusCode:e,data:r,headers:a,trailers:c}}validateReplyParameters(e){if(typeof e.statusCode>"u")throw new ci("statusCode must be defined");if(typeof e.responseOptions!="object"||e.responseOptions===null)throw new ci("responseOptions must be an object")}reply(e){if(typeof e=="function"){let s=o(c=>{let l=e(c);if(typeof l!="object"||l===null)throw new ci("reply options callback must return an object");let A={data:"",responseOptions:{},...l};return this.validateReplyParameters(A),{...this.createMockScopeDispatchData(A)}},"wrappedDefaultsCallback"),a=oB(this[Zd],this[ep],s);return new Fa(a)}let r={statusCode:e,data:arguments[1]===void 0?"":arguments[1],responseOptions:arguments[2]===void 0?{}:arguments[2]};this.validateReplyParameters(r);let n=this.createMockScopeDispatchData(r),i=oB(this[Zd],this[ep],n);return new Fa(i)}replyWithError(e){if(typeof e>"u")throw new ci("error must be defined");let r=oB(this[Zd],this[ep],{error:e});return new Fa(r)}defaultReplyHeaders(e){if(typeof e>"u")throw new ci("headers must be defined");return this[aB]=e,this}defaultReplyTrailers(e){if(typeof e>"u")throw new ci("trailers must be defined");return this[cB]=e,this}replyContentLength(){return this[lB]=!0,this}};uB.exports.MockInterceptor=AB;uB.exports.MockScope=Fa});var gB=h((r1e,tO)=>{"use strict";var{promisify:Lee}=require("node:util"),Fee=xa(),{buildMockDispatch:Uee}=AA(),{kDispatches:WT,kMockAgent:KT,kClose:$T,kOriginalClose:XT,kOrigin:ZT,kOriginalDispatch:qee,kConnected:pB}=La(),{MockInterceptor:Hee}=dB(),eO=tt(),{InvalidArgumentError:zee}=_e(),mB=class extends Fee{static{o(this,"MockClient")}constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new zee("Argument opts.agent must implement Agent");this[KT]=r.agent,this[ZT]=e,this[WT]=[],this[pB]=1,this[qee]=this.dispatch,this[XT]=this.close.bind(this),this.dispatch=Uee.call(this),this.close=this[$T]}get[eO.kConnected](){return this[pB]}intercept(e){return new Hee(e,this[WT])}async[$T](){await Lee(this[XT])(),this[pB]=0,this[KT][eO.kClients].delete(this[ZT])}};tO.exports=mB});var yB=h((i1e,cO)=>{"use strict";var{promisify:jee}=require("node:util"),Gee=va(),{buildMockDispatch:Yee}=AA(),{kDispatches:rO,kMockAgent:nO,kClose:iO,kOriginalClose:sO,kOrigin:oO,kOriginalDispatch:Jee,kConnected:fB}=La(),{MockInterceptor:Vee}=dB(),aO=tt(),{InvalidArgumentError:Wee}=_e(),hB=class extends Gee{static{o(this,"MockPool")}constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new Wee("Argument opts.agent must implement Agent");this[nO]=r.agent,this[oO]=e,this[rO]=[],this[fB]=1,this[Jee]=this.dispatch,this[sO]=this.close.bind(this),this.dispatch=Yee.call(this),this.close=this[iO]}get[aO.kConnected](){return this[fB]}intercept(e){return new Vee(e,this[rO])}async[iO](){await jee(this[sO])(),this[fB]=0,this[nO][aO.kClients].delete(this[oO])}};cO.exports=hB});var AO=h((a1e,lO)=>{"use strict";var Kee={pronoun:"it",is:"is",was:"was",this:"this"},$ee={pronoun:"they",is:"are",was:"were",this:"these"};lO.exports=class{static{o(this,"Pluralizer")}constructor(e,r){this.singular=e,this.plural=r}pluralize(e){let r=e===1,n=r?Kee:$ee,i=r?this.singular:this.plural;return{...n,count:e,noun:i}}}});var dO=h((A1e,uO)=>{"use strict";var{Transform:Xee}=require("node:stream"),{Console:Zee}=require("node:console"),ete=process.versions.icu?"\u2705":"Y ",tte=process.versions.icu?"\u274C":"N ";uO.exports=class{static{o(this,"PendingInterceptorsFormatter")}constructor({disableColors:e}={}){this.transform=new Xee({transform(r,n,i){i(null,r)}}),this.logger=new Zee({stdout:this.transform,inspectOptions:{colors:!e&&!process.env.CI}})}format(e){let r=e.map(({method:n,path:i,data:{statusCode:s},persist:a,times:c,timesInvoked:l,origin:A})=>({Method:n,Origin:A,Path:i,"Status code":s,Persistent:a?ete:tte,Invocations:l,Remaining:a?1/0:c-l}));return this.logger.table(r),this.transform.read().toString()}}});var fO=h((d1e,gO)=>{"use strict";var{kClients:go}=tt(),rte=Ra(),{kAgent:CB,kMockAgentSet:rp,kMockAgentGet:pO,kDispatches:EB,kIsMockActive:np,kNetConnect:fo,kGetNetConnect:nte,kOptions:ip,kFactory:sp}=La(),ite=gB(),ste=yB(),{matchValue:ote,buildMockOptions:ate}=AA(),{InvalidArgumentError:mO,UndiciError:cte}=_e(),lte=Dl(),Ate=AO(),ute=dO(),BB=class extends lte{static{o(this,"MockAgent")}constructor(e){if(super(e),this[fo]=!0,this[np]=!0,e?.agent&&typeof e.agent.dispatch!="function")throw new mO("Argument opts.agent must implement Agent");let r=e?.agent?e.agent:new rte(e);this[CB]=r,this[go]=r[go],this[ip]=ate(e)}get(e){let r=this[pO](e);return r||(r=this[sp](e),this[rp](e,r)),r}dispatch(e,r){return this.get(e.origin),this[CB].dispatch(e,r)}async close(){await this[CB].close(),this[go].clear()}deactivate(){this[np]=!1}activate(){this[np]=!0}enableNetConnect(e){if(typeof e=="string"||typeof e=="function"||e instanceof RegExp)Array.isArray(this[fo])?this[fo].push(e):this[fo]=[e];else if(typeof e>"u")this[fo]=!0;else throw new mO("Unsupported matcher. Must be one of String|Function|RegExp.")}disableNetConnect(){this[fo]=!1}get isMockActive(){return this[np]}[rp](e,r){this[go].set(e,r)}[sp](e){let r=Object.assign({agent:this},this[ip]);return this[ip]&&this[ip].connections===1?new ite(e,r):new ste(e,r)}[pO](e){let r=this[go].get(e);if(r)return r;if(typeof e!="string"){let n=this[sp]("http://localhost:9999");return this[rp](e,n),n}for(let[n,i]of Array.from(this[go]))if(i&&typeof n!="string"&&ote(n,e)){let s=this[sp](e);return this[rp](e,s),s[EB]=i[EB],s}}[nte](){return this[fo]}pendingInterceptors(){let e=this[go];return Array.from(e.entries()).flatMap(([r,n])=>n[EB].map(i=>({...i,origin:r}))).filter(({pending:r})=>r)}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new ute}={}){let r=this.pendingInterceptors();if(r.length===0)return;let n=new Ate("interceptor","interceptors").pluralize(r.length);throw new cte(` +`,"latin1"),r!==null&&i!==r){if(n[ZC])throw new uo;process.emitWarning(new uo)}e[pt].timeout&&e[pt].timeoutType===Da&&e[pt].timeout.refresh&&e[pt].timeout.refresh(),n[us]()}}destroy(e){let{socket:r,client:n,abort:i}=this;r[ds]=!1,e&&(ce(n[tr]<=1,"pipeline should only contain this request"),i(e))}};u_.exports=wX});var E_=f((YLe,C_)=>{"use strict";var dn=require("node:assert"),{pipeline:_X}=require("node:stream"),we=Ce(),{RequestContentLengthMismatchError:nE,RequestAbortedError:p_,SocketError:Zl,InformationalError:iE}=Pe(),{kUrl:Ud,kReset:Hd,kClient:Ta,kRunning:zd,kPending:DX,kQueue:ps,kPendingIdx:sE,kRunningIdx:kn,kError:Fn,kSocket:qt,kStrictContentLength:TX,kOnError:oE,kMaxConcurrentStreams:y_,kHTTP2Session:Ln,kResume:ms,kSize:OX,kHTTPContext:MX}=et(),Hi=Symbol("open streams"),m_,g_=!1,qd;try{qd=require("node:http2")}catch{qd={constants:{}}}var{constants:{HTTP2_HEADER_AUTHORITY:kX,HTTP2_HEADER_METHOD:LX,HTTP2_HEADER_PATH:FX,HTTP2_HEADER_SCHEME:UX,HTTP2_HEADER_CONTENT_LENGTH:qX,HTTP2_HEADER_EXPECT:HX,HTTP2_HEADER_STATUS:zX}}=qd;function GX(t){let e=[];for(let[r,n]of Object.entries(t))if(Array.isArray(n))for(let i of n)e.push(Buffer.from(r),Buffer.from(i));else e.push(Buffer.from(r),Buffer.from(n));return e}s(GX,"parseH2Headers");async function jX(t,e){t[qt]=e,g_||(g_=!0,process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"}));let r=qd.connect(t[Ud],{createConnection:s(()=>e,"createConnection"),peerMaxConcurrentStreams:t[y_]});r[Hi]=0,r[Ta]=t,r[qt]=e,we.addListener(r,"error",JX),we.addListener(r,"frameError",VX),we.addListener(r,"end",WX),we.addListener(r,"goaway",KX),we.addListener(r,"close",function(){let{[Ta]:i}=this,{[qt]:o}=i,a=this[qt][Fn]||this[Fn]||new Zl("closed",we.getSocketInfo(o));if(i[Ln]=null,i.destroyed){dn(i[DX]===0);let c=i[ps].splice(i[kn]);for(let l=0;l{n=!0}),{version:"h2",defaultPipelining:1/0,write(...i){return XX(t,...i)},resume(){YX(t)},destroy(i,o){n?queueMicrotask(o):e.destroy(i).on("close",o)},get destroyed(){return e.destroyed},busy(){return!1}}}s(jX,"connectH2");function YX(t){let e=t[qt];e?.destroyed===!1&&(t[OX]===0&&t[y_]===0?(e.unref(),t[Ln].unref()):(e.ref(),t[Ln].ref()))}s(YX,"resumeH2");function JX(t){dn(t.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[qt][Fn]=t,this[Ta][oE](t)}s(JX,"onHttp2SessionError");function VX(t,e,r){if(r===0){let n=new iE(`HTTP/2: "frameError" received - type ${t}, code ${e}`);this[qt][Fn]=n,this[Ta][oE](n)}}s(VX,"onHttp2FrameError");function WX(){let t=new Zl("other side closed",we.getSocketInfo(this[qt]));this.destroy(t),we.destroy(this[qt],t)}s(WX,"onHttp2SessionEnd");function KX(t){let e=this[Fn]||new Zl(`HTTP/2: "GOAWAY" frame received with code ${t}`,we.getSocketInfo(this)),r=this[Ta];if(r[qt]=null,r[MX]=null,this[Ln]!=null&&(this[Ln].destroy(e),this[Ln]=null),we.destroy(this[qt],e),r[kn]{e.aborted||e.completed||(L=L||new p_,we.errorRequest(t,e,L),g!=null&&we.destroy(g,L),we.destroy(u,L),t[ps][t[kn]++]=null,t[ms]())},"abort");try{e.onConnect(w)}catch(L){we.errorRequest(t,e,L)}if(e.aborted)return!1;if(n==="CONNECT")return r.ref(),g=r.request(d,{endStream:!1,signal:l}),g.id&&!g.pending?(e.onUpgrade(null,null,g),++r[Hi],t[ps][t[kn]++]=null):g.once("ready",()=>{e.onUpgrade(null,null,g),++r[Hi],t[ps][t[kn]++]=null}),g.once("close",()=>{r[Hi]-=1,r[Hi]===0&&r.unref()}),!0;d[FX]=i,d[UX]="https";let x=n==="PUT"||n==="POST"||n==="PATCH";u&&typeof u.read=="function"&&u.read(0);let S=we.bodyLength(u);if(we.isFormDataLike(u)){m_??=va().extractBody;let[L,K]=m_(u);d["content-type"]=K,u=L.stream,S=L.length}if(S==null&&(S=e.contentLength),(S===0||!x)&&(S=null),$X(n)&&S>0&&e.contentLength!=null&&e.contentLength!==S){if(t[TX])return we.errorRequest(t,e,new nE),!1;process.emitWarning(new nE)}S!=null&&(dn(u,"no body must not have content length"),d[qX]=`${S}`),r.ref();let R=n==="GET"||n==="HEAD"||u===null;return c?(d[HX]="100-continue",g=r.request(d,{endStream:R,signal:l}),g.once("continue",D)):(g=r.request(d,{endStream:R,signal:l}),D()),++r[Hi],g.once("response",L=>{let{[zX]:K,...W}=L;if(e.onResponseStarted(),e.aborted){let ne=new p_;we.errorRequest(t,e,ne),we.destroy(g,ne);return}e.onHeaders(Number(K),GX(W),g.resume.bind(g),"")===!1&&g.pause(),g.on("data",ne=>{e.onData(ne)===!1&&g.pause()})}),g.once("end",()=>{(g.state?.state==null||g.state.state<6)&&e.onComplete([]),r[Hi]===0&&r.unref(),w(new iE("HTTP/2: stream half-closed (remote)")),t[ps][t[kn]++]=null,t[sE]=t[kn],t[ms]()}),g.once("close",()=>{r[Hi]-=1,r[Hi]===0&&r.unref()}),g.once("error",function(L){w(L)}),g.once("frameError",(L,K)=>{w(new iE(`HTTP/2: "frameError" received - type ${L}, code ${K}`))}),!0;function D(){!u||S===0?h_(w,g,null,t,e,t[qt],S,x):we.isBuffer(u)?h_(w,g,u,t,e,t[qt],S,x):we.isBlobLike(u)?typeof u.stream=="function"?f_(w,g,u.stream(),t,e,t[qt],S,x):e9(w,g,u,t,e,t[qt],S,x):we.isStream(u)?ZX(w,t[qt],x,g,u,t,e,S):we.isIterable(u)?f_(w,g,u,t,e,t[qt],S,x):dn(!1)}s(D,"writeBodyH2")}s(XX,"writeH2");function h_(t,e,r,n,i,o,a,c){try{r!=null&&we.isBuffer(r)&&(dn(a===r.byteLength,"buffer body must have content length"),e.cork(),e.write(r),e.uncork(),e.end(),i.onBodySent(r)),c||(o[Hd]=!0),i.onRequestSent(),n[ms]()}catch(l){t(l)}}s(h_,"writeBuffer");function ZX(t,e,r,n,i,o,a,c){dn(c!==0||o[zd]===0,"stream body cannot be pipelined");let l=_X(i,n,u=>{u?(we.destroy(l,u),t(u)):(we.removeAllListeners(l),a.onRequestSent(),r||(e[Hd]=!0),o[ms]())});we.addListener(l,"data",A);function A(u){a.onBodySent(u)}s(A,"onPipeData")}s(ZX,"writeStream");async function e9(t,e,r,n,i,o,a,c){dn(a===r.size,"blob body must have content length");try{if(a!=null&&a!==r.size)throw new nE;let l=Buffer.from(await r.arrayBuffer());e.cork(),e.write(l),e.uncork(),e.end(),i.onBodySent(l),i.onRequestSent(),c||(o[Hd]=!0),n[ms]()}catch(l){t(l)}}s(e9,"writeBlob");async function f_(t,e,r,n,i,o,a,c){dn(a!==0||n[zd]===0,"iterator body cannot be pipelined");let l=null;function A(){if(l){let d=l;l=null,d()}}s(A,"onDrain");let u=s(()=>new Promise((d,g)=>{dn(l===null),o[Fn]?g(o[Fn]):l=d}),"waitForDrain");e.on("close",A).on("drain",A);try{for await(let d of r){if(o[Fn])throw o[Fn];let g=e.write(d);i.onBodySent(d),g||await u()}e.end(),i.onRequestSent(),c||(o[Hd]=!0),n[ms]()}catch(d){t(d)}finally{e.off("close",A).off("drain",A)}}s(f_,"writeIterable");C_.exports=jX});var jd=f((VLe,b_)=>{"use strict";var ci=Ce(),{kBodyUsed:eA}=et(),cE=require("node:assert"),{InvalidArgumentError:t9}=Pe(),r9=require("node:events"),n9=[300,301,302,303,307,308],B_=Symbol("body"),Gd=class{static{s(this,"BodyAsyncIterable")}constructor(e){this[B_]=e,this[eA]=!1}async*[Symbol.asyncIterator](){cE(!this[eA],"disturbed"),this[eA]=!0,yield*this[B_]}},aE=class{static{s(this,"RedirectHandler")}constructor(e,r,n,i){if(r!=null&&(!Number.isInteger(r)||r<0))throw new t9("maxRedirections must be a positive number");ci.validateHandler(i,n.method,n.upgrade),this.dispatch=e,this.location=null,this.abort=null,this.opts={...n,maxRedirections:0},this.maxRedirections=r,this.handler=i,this.history=[],this.redirectionLimitReached=!1,ci.isStream(this.opts.body)?(ci.bodyLength(this.opts.body)===0&&this.opts.body.on("data",function(){cE(!1)}),typeof this.opts.body.readableDidRead!="boolean"&&(this.opts.body[eA]=!1,r9.prototype.on.call(this.opts.body,"data",function(){this[eA]=!0}))):this.opts.body&&typeof this.opts.body.pipeTo=="function"?this.opts.body=new Gd(this.opts.body):this.opts.body&&typeof this.opts.body!="string"&&!ArrayBuffer.isView(this.opts.body)&&ci.isIterable(this.opts.body)&&(this.opts.body=new Gd(this.opts.body))}onConnect(e){this.abort=e,this.handler.onConnect(e,{history:this.history})}onUpgrade(e,r,n){this.handler.onUpgrade(e,r,n)}onError(e){this.handler.onError(e)}onHeaders(e,r,n,i){if(this.location=this.history.length>=this.maxRedirections||ci.isDisturbed(this.opts.body)?null:i9(e,r),this.opts.throwOnMaxRedirect&&this.history.length>=this.maxRedirections){this.request&&this.request.abort(new Error("max redirects")),this.redirectionLimitReached=!0,this.abort(new Error("max redirects"));return}if(this.opts.origin&&this.history.push(new URL(this.opts.path,this.opts.origin)),!this.location)return this.handler.onHeaders(e,r,n,i);let{origin:o,pathname:a,search:c}=ci.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin))),l=c?`${a}${c}`:a;this.opts.headers=s9(this.opts.headers,e===303,this.opts.origin!==o),this.opts.path=l,this.opts.origin=o,this.opts.maxRedirections=0,this.opts.query=null,e===303&&this.opts.method!=="HEAD"&&(this.opts.method="GET",this.opts.body=null)}onData(e){if(!this.location)return this.handler.onData(e)}onComplete(e){this.location?(this.location=null,this.abort=null,this.dispatch(this.opts,this)):this.handler.onComplete(e)}onBodySent(e){this.handler.onBodySent&&this.handler.onBodySent(e)}};function i9(t,e){if(n9.indexOf(t)===-1)return null;for(let r=0;r{"use strict";var o9=jd();function a9({maxRedirections:t}){return e=>s(function(n,i){let{maxRedirections:o=t}=n;if(!o)return e(n,i);let a=new o9(e,o,n,i);return n={...n,maxRedirections:0},e(n,a)},"Intercept")}s(a9,"createRedirectInterceptor");Q_.exports=a9});var ka=f((XLe,T_)=>{"use strict";var zi=require("node:assert"),v_=require("node:net"),c9=require("node:http"),po=Ce(),{channels:Oa}=fa(),l9=Fv(),A9=Ba(),{InvalidArgumentError:It,InformationalError:u9,ClientDestroyedError:d9}=Pe(),p9=ql(),{kUrl:li,kServerName:gs,kClient:m9,kBusy:lE,kConnect:g9,kResuming:mo,kRunning:sA,kPending:oA,kSize:iA,kQueue:Un,kConnected:h9,kConnecting:Ma,kNeedDrain:fs,kKeepAliveDefaultTimeout:N_,kHostHeader:f9,kPendingIdx:qn,kRunningIdx:Gi,kError:y9,kPipelining:Jd,kKeepAliveTimeoutValue:C9,kMaxHeadersSize:E9,kKeepAliveMaxTimeout:B9,kKeepAliveTimeoutThreshold:I9,kHeadersTimeout:b9,kBodyTimeout:Q9,kStrictContentLength:N9,kConnector:tA,kMaxRedirections:w9,kMaxRequests:AE,kCounter:S9,kClose:x9,kDestroy:R9,kDispatch:v9,kInterceptors:w_,kLocalAddress:rA,kMaxResponseSize:P9,kOnError:_9,kHTTPContext:bt,kMaxConcurrentStreams:D9,kResume:nA}=et(),T9=d_(),O9=E_(),S_=!1,hs=Symbol("kClosedResolve"),x_=s(()=>{},"noop");function P_(t){return t[Jd]??t[bt]?.defaultPipelining??1}s(P_,"getPipelining");var uE=class extends A9{static{s(this,"Client")}constructor(e,{interceptors:r,maxHeaderSize:n,headersTimeout:i,socketTimeout:o,requestTimeout:a,connectTimeout:c,bodyTimeout:l,idleTimeout:A,keepAlive:u,keepAliveTimeout:d,maxKeepAliveTimeout:g,keepAliveMaxTimeout:y,keepAliveTimeoutThreshold:B,socketPath:w,pipelining:x,tls:S,strictContentLength:R,maxCachedSessions:D,maxRedirections:L,connect:K,maxRequestsPerClient:W,localAddress:ne,maxResponseSize:be,autoSelectFamily:He,autoSelectFamilyAttemptTimeout:ut,maxConcurrentStreams:je,allowH2:Ie}={}){if(super(),u!==void 0)throw new It("unsupported keepAlive, use pipelining=0 instead");if(o!==void 0)throw new It("unsupported socketTimeout, use headersTimeout & bodyTimeout instead");if(a!==void 0)throw new It("unsupported requestTimeout, use headersTimeout & bodyTimeout instead");if(A!==void 0)throw new It("unsupported idleTimeout, use keepAliveTimeout instead");if(g!==void 0)throw new It("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead");if(n!=null&&!Number.isFinite(n))throw new It("invalid maxHeaderSize");if(w!=null&&typeof w!="string")throw new It("invalid socketPath");if(c!=null&&(!Number.isFinite(c)||c<0))throw new It("invalid connectTimeout");if(d!=null&&(!Number.isFinite(d)||d<=0))throw new It("invalid keepAliveTimeout");if(y!=null&&(!Number.isFinite(y)||y<=0))throw new It("invalid keepAliveMaxTimeout");if(B!=null&&!Number.isFinite(B))throw new It("invalid keepAliveTimeoutThreshold");if(i!=null&&(!Number.isInteger(i)||i<0))throw new It("headersTimeout must be a positive integer or zero");if(l!=null&&(!Number.isInteger(l)||l<0))throw new It("bodyTimeout must be a positive integer or zero");if(K!=null&&typeof K!="function"&&typeof K!="object")throw new It("connect must be a function or an object");if(L!=null&&(!Number.isInteger(L)||L<0))throw new It("maxRedirections must be a positive number");if(W!=null&&(!Number.isInteger(W)||W<0))throw new It("maxRequestsPerClient must be a positive number");if(ne!=null&&(typeof ne!="string"||v_.isIP(ne)===0))throw new It("localAddress must be valid string IP address");if(be!=null&&(!Number.isInteger(be)||be<-1))throw new It("maxResponseSize must be a positive number");if(ut!=null&&(!Number.isInteger(ut)||ut<-1))throw new It("autoSelectFamilyAttemptTimeout must be a positive number");if(Ie!=null&&typeof Ie!="boolean")throw new It("allowH2 must be a valid boolean value");if(je!=null&&(typeof je!="number"||je<1))throw new It("maxConcurrentStreams must be a positive integer, greater than 0");typeof K!="function"&&(K=p9({...S,maxCachedSessions:D,allowH2:Ie,socketPath:w,timeout:c,...He?{autoSelectFamily:He,autoSelectFamilyAttemptTimeout:ut}:void 0,...K})),r?.Client&&Array.isArray(r.Client)?(this[w_]=r.Client,S_||(S_=!0,process.emitWarning("Client.Options#interceptor is deprecated. Use Dispatcher#compose instead.",{code:"UNDICI-CLIENT-INTERCEPTOR-DEPRECATED"}))):this[w_]=[M9({maxRedirections:L})],this[li]=po.parseOrigin(e),this[tA]=K,this[Jd]=x??1,this[E9]=n||c9.maxHeaderSize,this[N_]=d??4e3,this[B9]=y??6e5,this[I9]=B??2e3,this[C9]=this[N_],this[gs]=null,this[rA]=ne??null,this[mo]=0,this[fs]=0,this[f9]=`host: ${this[li].hostname}${this[li].port?`:${this[li].port}`:""}\r +`,this[Q9]=l??3e5,this[b9]=i??3e5,this[N9]=R??!0,this[w9]=L,this[AE]=W,this[hs]=null,this[P9]=be>-1?be:-1,this[D9]=je??100,this[bt]=null,this[Un]=[],this[Gi]=0,this[qn]=0,this[nA]=lt=>dE(this,lt),this[_9]=lt=>__(this,lt)}get pipelining(){return this[Jd]}set pipelining(e){this[Jd]=e,this[nA](!0)}get[oA](){return this[Un].length-this[qn]}get[sA](){return this[qn]-this[Gi]}get[iA](){return this[Un].length-this[Gi]}get[h9](){return!!this[bt]&&!this[Ma]&&!this[bt].destroyed}get[lE](){return!!(this[bt]?.busy(null)||this[iA]>=(P_(this)||1)||this[oA]>0)}[g9](e){D_(this),this.once("connect",e)}[v9](e,r){let n=e.origin||this[li].origin,i=new l9(n,e,r);return this[Un].push(i),this[mo]||(po.bodyLength(i.body)==null&&po.isIterable(i.body)?(this[mo]=1,queueMicrotask(()=>dE(this))):this[nA](!0)),this[mo]&&this[fs]!==2&&this[lE]&&(this[fs]=2),this[fs]<2}async[x9](){return new Promise(e=>{this[iA]?this[hs]=e:e(null)})}async[R9](e){return new Promise(r=>{let n=this[Un].splice(this[qn]);for(let o=0;o{this[hs]&&(this[hs](),this[hs]=null),r(null)},"callback");this[bt]?(this[bt].destroy(e,i),this[bt]=null):queueMicrotask(i),this[nA]()})}},M9=Yd();function __(t,e){if(t[sA]===0&&e.code!=="UND_ERR_INFO"&&e.code!=="UND_ERR_SOCKET"){zi(t[qn]===t[Gi]);let r=t[Un].splice(t[Gi]);for(let n=0;n{t[tA]({host:e,hostname:r,protocol:n,port:i,servername:t[gs],localAddress:t[rA]},(l,A)=>{l?c(l):a(A)})});if(t.destroyed){po.destroy(o.on("error",x_),new d9);return}zi(o);try{t[bt]=o.alpnProtocol==="h2"?await O9(t,o):await T9(t,o)}catch(a){throw o.destroy().on("error",x_),a}t[Ma]=!1,o[S9]=0,o[AE]=t[AE],o[m9]=t,o[y9]=null,Oa.connected.hasSubscribers&&Oa.connected.publish({connectParams:{host:e,hostname:r,protocol:n,port:i,version:t[bt]?.version,servername:t[gs],localAddress:t[rA]},connector:t[tA],socket:o}),t.emit("connect",t[li],[t])}catch(o){if(t.destroyed)return;if(t[Ma]=!1,Oa.connectError.hasSubscribers&&Oa.connectError.publish({connectParams:{host:e,hostname:r,protocol:n,port:i,version:t[bt]?.version,servername:t[gs],localAddress:t[rA]},connector:t[tA],error:o}),o.code==="ERR_TLS_CERT_ALTNAME_INVALID")for(zi(t[sA]===0);t[oA]>0&&t[Un][t[qn]].servername===t[gs];){let a=t[Un][t[qn]++];po.errorRequest(t,a,o)}else __(t,o);t.emit("connectionError",t[li],[t],o)}t[nA]()}s(D_,"connect");function R_(t){t[fs]=0,t.emit("drain",t[li],[t])}s(R_,"emitDrain");function dE(t,e){t[mo]!==2&&(t[mo]=2,k9(t,e),t[mo]=0,t[Gi]>256&&(t[Un].splice(0,t[Gi]),t[qn]-=t[Gi],t[Gi]=0))}s(dE,"resume");function k9(t,e){for(;;){if(t.destroyed){zi(t[oA]===0);return}if(t[hs]&&!t[iA]){t[hs](),t[hs]=null;return}if(t[bt]&&t[bt].resume(),t[lE])t[fs]=2;else if(t[fs]===2){e?(t[fs]=1,queueMicrotask(()=>R_(t))):R_(t);continue}if(t[oA]===0||t[sA]>=(P_(t)||1))return;let r=t[Un][t[qn]];if(t[li].protocol==="https:"&&t[gs]!==r.servername){if(t[sA]>0)return;t[gs]=r.servername,t[bt]?.destroy(new u9("servername changed"),()=>{t[bt]=null,dE(t)})}if(t[Ma])return;if(!t[bt]){D_(t);return}if(t[bt].destroyed||t[bt].busy(r))return;!r.aborted&&t[bt].write(r)?t[qn]++:t[Un].splice(t[qn],1)}}s(k9,"_resume");T_.exports=uE});var pE=f((tFe,O_)=>{"use strict";var Vd=class{static{s(this,"FixedCircularBuffer")}constructor(){this.bottom=0,this.top=0,this.list=new Array(2048),this.next=null}isEmpty(){return this.top===this.bottom}isFull(){return(this.top+1&2047)===this.bottom}push(e){this.list[this.top]=e,this.top=this.top+1&2047}shift(){let e=this.list[this.bottom];return e===void 0?null:(this.list[this.bottom]=void 0,this.bottom=this.bottom+1&2047,e)}};O_.exports=class{static{s(this,"FixedQueue")}constructor(){this.head=this.tail=new Vd}isEmpty(){return this.head.isEmpty()}push(e){this.head.isFull()&&(this.head=this.head.next=new Vd),this.head.push(e)}shift(){let e=this.tail,r=e.shift();return e.isEmpty()&&e.next!==null&&(this.tail=e.next),r}}});var k_=f((nFe,M_)=>{var{kFree:L9,kConnected:F9,kPending:U9,kQueued:q9,kRunning:H9,kSize:z9}=et(),go=Symbol("pool"),mE=class{static{s(this,"PoolStats")}constructor(e){this[go]=e}get connected(){return this[go][F9]}get free(){return this[go][L9]}get pending(){return this[go][U9]}get queued(){return this[go][q9]}get running(){return this[go][H9]}get size(){return this[go][z9]}};M_.exports=mE});var EE=f((sFe,J_)=>{"use strict";var G9=Ba(),j9=pE(),{kConnected:gE,kSize:L_,kRunning:F_,kPending:U_,kQueued:aA,kBusy:Y9,kFree:J9,kUrl:V9,kClose:W9,kDestroy:K9,kDispatch:$9}=et(),X9=k_(),Qr=Symbol("clients"),mr=Symbol("needDrain"),cA=Symbol("queue"),hE=Symbol("closed resolve"),fE=Symbol("onDrain"),q_=Symbol("onConnect"),H_=Symbol("onDisconnect"),z_=Symbol("onConnectionError"),yE=Symbol("get dispatcher"),j_=Symbol("add client"),Y_=Symbol("remove client"),G_=Symbol("stats"),CE=class extends G9{static{s(this,"PoolBase")}constructor(){super(),this[cA]=new j9,this[Qr]=[],this[aA]=0;let e=this;this[fE]=s(function(n,i){let o=e[cA],a=!1;for(;!a;){let c=o.shift();if(!c)break;e[aA]--,a=!this.dispatch(c.opts,c.handler)}this[mr]=a,!this[mr]&&e[mr]&&(e[mr]=!1,e.emit("drain",n,[e,...i])),e[hE]&&o.isEmpty()&&Promise.all(e[Qr].map(c=>c.close())).then(e[hE])},"onDrain"),this[q_]=(r,n)=>{e.emit("connect",r,[e,...n])},this[H_]=(r,n,i)=>{e.emit("disconnect",r,[e,...n],i)},this[z_]=(r,n,i)=>{e.emit("connectionError",r,[e,...n],i)},this[G_]=new X9(this)}get[Y9](){return this[mr]}get[gE](){return this[Qr].filter(e=>e[gE]).length}get[J9](){return this[Qr].filter(e=>e[gE]&&!e[mr]).length}get[U_](){let e=this[aA];for(let{[U_]:r}of this[Qr])e+=r;return e}get[F_](){let e=0;for(let{[F_]:r}of this[Qr])e+=r;return e}get[L_](){let e=this[aA];for(let{[L_]:r}of this[Qr])e+=r;return e}get stats(){return this[G_]}async[W9](){this[cA].isEmpty()?await Promise.all(this[Qr].map(e=>e.close())):await new Promise(e=>{this[hE]=e})}async[K9](e){for(;;){let r=this[cA].shift();if(!r)break;r.handler.onError(e)}await Promise.all(this[Qr].map(r=>r.destroy(e)))}[$9](e,r){let n=this[yE]();return n?n.dispatch(e,r)||(n[mr]=!0,this[mr]=!this[yE]()):(this[mr]=!0,this[cA].push({opts:e,handler:r}),this[aA]++),!this[mr]}[j_](e){return e.on("drain",this[fE]).on("connect",this[q_]).on("disconnect",this[H_]).on("connectionError",this[z_]),this[Qr].push(e),this[mr]&&queueMicrotask(()=>{this[mr]&&this[fE](e[V9],[this,e])}),this}[Y_](e){e.close(()=>{let r=this[Qr].indexOf(e);r!==-1&&this[Qr].splice(r,1)}),this[mr]=this[Qr].some(r=>!r[mr]&&r.closed!==!0&&r.destroyed!==!0)}};J_.exports={PoolBase:CE,kClients:Qr,kNeedDrain:mr,kAddClient:j_,kRemoveClient:Y_,kGetDispatcher:yE}});var La=f((aFe,$_)=>{"use strict";var{PoolBase:Z9,kClients:Wd,kNeedDrain:e6,kAddClient:t6,kGetDispatcher:r6}=EE(),n6=ka(),{InvalidArgumentError:BE}=Pe(),V_=Ce(),{kUrl:W_,kInterceptors:i6}=et(),s6=ql(),IE=Symbol("options"),bE=Symbol("connections"),K_=Symbol("factory");function o6(t,e){return new n6(t,e)}s(o6,"defaultFactory");var QE=class extends Z9{static{s(this,"Pool")}constructor(e,{connections:r,factory:n=o6,connect:i,connectTimeout:o,tls:a,maxCachedSessions:c,socketPath:l,autoSelectFamily:A,autoSelectFamilyAttemptTimeout:u,allowH2:d,...g}={}){if(super(),r!=null&&(!Number.isFinite(r)||r<0))throw new BE("invalid connections");if(typeof n!="function")throw new BE("factory must be a function.");if(i!=null&&typeof i!="function"&&typeof i!="object")throw new BE("connect must be a function or an object");typeof i!="function"&&(i=s6({...a,maxCachedSessions:c,allowH2:d,socketPath:l,timeout:o,...A?{autoSelectFamily:A,autoSelectFamilyAttemptTimeout:u}:void 0,...i})),this[i6]=g.interceptors?.Pool&&Array.isArray(g.interceptors.Pool)?g.interceptors.Pool:[],this[bE]=r||null,this[W_]=V_.parseOrigin(e),this[IE]={...V_.deepClone(g),connect:i,allowH2:d},this[IE].interceptors=g.interceptors?{...g.interceptors}:void 0,this[K_]=n,this.on("connectionError",(y,B,w)=>{for(let x of B){let S=this[Wd].indexOf(x);S!==-1&&this[Wd].splice(S,1)}})}[r6](){for(let e of this[Wd])if(!e[e6])return e;if(!this[bE]||this[Wd].length{"use strict";var{BalancedPoolMissingUpstreamError:a6,InvalidArgumentError:c6}=Pe(),{PoolBase:l6,kClients:rr,kNeedDrain:lA,kAddClient:A6,kRemoveClient:u6,kGetDispatcher:d6}=EE(),p6=La(),{kUrl:NE,kInterceptors:m6}=et(),{parseOrigin:X_}=Ce(),Z_=Symbol("factory"),Kd=Symbol("options"),eD=Symbol("kGreatestCommonDivisor"),ho=Symbol("kCurrentWeight"),fo=Symbol("kIndex"),pn=Symbol("kWeight"),$d=Symbol("kMaxWeightPerServer"),Xd=Symbol("kErrorPenalty");function g6(t,e){if(t===0)return e;for(;e!==0;){let r=e;e=t%e,t=r}return t}s(g6,"getGreatestCommonDivisor");function h6(t,e){return new p6(t,e)}s(h6,"defaultFactory");var wE=class extends l6{static{s(this,"BalancedPool")}constructor(e=[],{factory:r=h6,...n}={}){if(super(),this[Kd]=n,this[fo]=-1,this[ho]=0,this[$d]=this[Kd].maxWeightPerServer||100,this[Xd]=this[Kd].errorPenalty||15,Array.isArray(e)||(e=[e]),typeof r!="function")throw new c6("factory must be a function.");this[m6]=n.interceptors?.BalancedPool&&Array.isArray(n.interceptors.BalancedPool)?n.interceptors.BalancedPool:[],this[Z_]=r;for(let i of e)this.addUpstream(i);this._updateBalancedPoolStats()}addUpstream(e){let r=X_(e).origin;if(this[rr].find(i=>i[NE].origin===r&&i.closed!==!0&&i.destroyed!==!0))return this;let n=this[Z_](r,Object.assign({},this[Kd]));this[A6](n),n.on("connect",()=>{n[pn]=Math.min(this[$d],n[pn]+this[Xd])}),n.on("connectionError",()=>{n[pn]=Math.max(1,n[pn]-this[Xd]),this._updateBalancedPoolStats()}),n.on("disconnect",(...i)=>{let o=i[2];o&&o.code==="UND_ERR_SOCKET"&&(n[pn]=Math.max(1,n[pn]-this[Xd]),this._updateBalancedPoolStats())});for(let i of this[rr])i[pn]=this[$d];return this._updateBalancedPoolStats(),this}_updateBalancedPoolStats(){let e=0;for(let r=0;ri[NE].origin===r&&i.closed!==!0&&i.destroyed!==!0);return n&&this[u6](n),this}get upstreams(){return this[rr].filter(e=>e.closed!==!0&&e.destroyed!==!0).map(e=>e[NE].origin)}[d6](){if(this[rr].length===0)throw new a6;if(!this[rr].find(o=>!o[lA]&&o.closed!==!0&&o.destroyed!==!0)||this[rr].map(o=>o[lA]).reduce((o,a)=>o&&a,!0))return;let n=0,i=this[rr].findIndex(o=>!o[lA]);for(;n++this[rr][i][pn]&&!o[lA]&&(i=this[fo]),this[fo]===0&&(this[ho]=this[ho]-this[eD],this[ho]<=0&&(this[ho]=this[$d])),o[pn]>=this[ho]&&!o[lA])return o}return this[ho]=this[rr][i][pn],this[fo]=i,this[rr][i]}};tD.exports=wE});var Fa=f((uFe,lD)=>{"use strict";var{InvalidArgumentError:Zd}=Pe(),{kClients:ys,kRunning:nD,kClose:f6,kDestroy:y6,kDispatch:C6,kInterceptors:E6}=et(),B6=Ba(),I6=La(),b6=ka(),Q6=Ce(),N6=Yd(),iD=Symbol("onConnect"),sD=Symbol("onDisconnect"),oD=Symbol("onConnectionError"),w6=Symbol("maxRedirections"),aD=Symbol("onDrain"),cD=Symbol("factory"),SE=Symbol("options");function S6(t,e){return e&&e.connections===1?new b6(t,e):new I6(t,e)}s(S6,"defaultFactory");var xE=class extends B6{static{s(this,"Agent")}constructor({factory:e=S6,maxRedirections:r=0,connect:n,...i}={}){if(super(),typeof e!="function")throw new Zd("factory must be a function.");if(n!=null&&typeof n!="function"&&typeof n!="object")throw new Zd("connect must be a function or an object");if(!Number.isInteger(r)||r<0)throw new Zd("maxRedirections must be a positive number");n&&typeof n!="function"&&(n={...n}),this[E6]=i.interceptors?.Agent&&Array.isArray(i.interceptors.Agent)?i.interceptors.Agent:[N6({maxRedirections:r})],this[SE]={...Q6.deepClone(i),connect:n},this[SE].interceptors=i.interceptors?{...i.interceptors}:void 0,this[w6]=r,this[cD]=e,this[ys]=new Map,this[aD]=(o,a)=>{this.emit("drain",o,[this,...a])},this[iD]=(o,a)=>{this.emit("connect",o,[this,...a])},this[sD]=(o,a,c)=>{this.emit("disconnect",o,[this,...a],c)},this[oD]=(o,a,c)=>{this.emit("connectionError",o,[this,...a],c)}}get[nD](){let e=0;for(let r of this[ys].values())e+=r[nD];return e}[C6](e,r){let n;if(e.origin&&(typeof e.origin=="string"||e.origin instanceof URL))n=String(e.origin);else throw new Zd("opts.origin must be a non-empty string or URL.");let i=this[ys].get(n);return i||(i=this[cD](e.origin,this[SE]).on("drain",this[aD]).on("connect",this[iD]).on("disconnect",this[sD]).on("connectionError",this[oD]),this[ys].set(n,i)),i.dispatch(e,r)}async[f6](){let e=[];for(let r of this[ys].values())e.push(r.close());this[ys].clear(),await Promise.all(e)}async[y6](e){let r=[];for(let n of this[ys].values())r.push(n.destroy(e));this[ys].clear(),await Promise.all(r)}};lD.exports=xE});var DE=f((pFe,ED)=>{"use strict";var{kProxy:RE,kClose:gD,kDestroy:hD,kDispatch:AD,kInterceptors:x6}=et(),{URL:yo}=require("node:url"),R6=Fa(),fD=La(),yD=Ba(),{InvalidArgumentError:Ua,RequestAbortedError:v6,SecureProxyConnectionError:P6}=Pe(),uD=ql(),CD=ka(),ep=Symbol("proxy agent"),tp=Symbol("proxy client"),Cs=Symbol("proxy headers"),vE=Symbol("request tls settings"),dD=Symbol("proxy tls settings"),pD=Symbol("connect endpoint function"),mD=Symbol("tunnel proxy");function _6(t){return t==="https:"?443:80}s(_6,"defaultProtocolPort");function D6(t,e){return new fD(t,e)}s(D6,"defaultFactory");var T6=s(()=>{},"noop");function O6(t,e){return e.connections===1?new CD(t,e):new fD(t,e)}s(O6,"defaultAgentFactory");var PE=class extends yD{static{s(this,"Http1ProxyWrapper")}#e;constructor(e,{headers:r={},connect:n,factory:i}){if(super(),!e)throw new Ua("Proxy URL is mandatory");this[Cs]=r,i?this.#e=i(e,{connect:n}):this.#e=new CD(e,{connect:n})}[AD](e,r){let n=r.onHeaders;r.onHeaders=function(c,l,A){if(c===407){typeof r.onError=="function"&&r.onError(new Ua("Proxy Authentication Required (407)"));return}n&&n.call(this,c,l,A)};let{origin:i,path:o="/",headers:a={}}=e;if(e.path=i+o,!("host"in a)&&!("Host"in a)){let{host:c}=new yo(i);a.host=c}return e.headers={...this[Cs],...a},this.#e[AD](e,r)}async[gD](){return this.#e.close()}async[hD](e){return this.#e.destroy(e)}},_E=class extends yD{static{s(this,"ProxyAgent")}constructor(e){if(super(),!e||typeof e=="object"&&!(e instanceof yo)&&!e.uri)throw new Ua("Proxy uri is mandatory");let{clientFactory:r=D6}=e;if(typeof r!="function")throw new Ua("Proxy opts.clientFactory must be a function.");let{proxyTunnel:n=!0}=e,i=this.#e(e),{href:o,origin:a,port:c,protocol:l,username:A,password:u,hostname:d}=i;if(this[RE]={uri:o,protocol:l},this[x6]=e.interceptors?.ProxyAgent&&Array.isArray(e.interceptors.ProxyAgent)?e.interceptors.ProxyAgent:[],this[vE]=e.requestTls,this[dD]=e.proxyTls,this[Cs]=e.headers||{},this[mD]=n,e.auth&&e.token)throw new Ua("opts.auth cannot be used in combination with opts.token");e.auth?this[Cs]["proxy-authorization"]=`Basic ${e.auth}`:e.token?this[Cs]["proxy-authorization"]=e.token:A&&u&&(this[Cs]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(A)}:${decodeURIComponent(u)}`).toString("base64")}`);let g=uD({...e.proxyTls});this[pD]=uD({...e.requestTls});let y=e.factory||O6,B=s((w,x)=>{let{protocol:S}=new yo(w);return!this[mD]&&S==="http:"&&this[RE].protocol==="http:"?new PE(this[RE].uri,{headers:this[Cs],connect:g,factory:y}):y(w,x)},"factory");this[tp]=r(i,{connect:g}),this[ep]=new R6({...e,factory:B,connect:s(async(w,x)=>{let S=w.host;w.port||(S+=`:${_6(w.protocol)}`);try{let{socket:R,statusCode:D}=await this[tp].connect({origin:a,port:c,path:S,signal:w.signal,headers:{...this[Cs],host:w.host},servername:this[dD]?.servername||d});if(D!==200&&(R.on("error",T6).destroy(),x(new v6(`Proxy response (${D}) !== 200 when HTTP Tunneling`))),w.protocol!=="https:"){x(null,R);return}let L;this[vE]?L=this[vE].servername:L=w.servername,this[pD]({...w,servername:L,httpSocket:R},x)}catch(R){R.code==="ERR_TLS_CERT_ALTNAME_INVALID"?x(new P6(R)):x(R)}},"connect")})}dispatch(e,r){let n=M6(e.headers);if(k6(n),n&&!("host"in n)&&!("Host"in n)){let{host:i}=new yo(e.origin);n.host=i}return this[ep].dispatch({...e,headers:n},r)}#e(e){return typeof e=="string"?new yo(e):e instanceof yo?e:new yo(e.uri)}async[gD](){await this[ep].close(),await this[tp].close()}async[hD](){await this[ep].destroy(),await this[tp].destroy()}};function M6(t){if(Array.isArray(t)){let e={};for(let r=0;rr.toLowerCase()==="proxy-authorization"))throw new Ua("Proxy-Authorization should be sent in ProxyAgent constructor")}s(k6,"throwIfProxyAuthIsSent");ED.exports=_E});var wD=f((gFe,ND)=>{"use strict";var L6=Ba(),{kClose:F6,kDestroy:U6,kClosed:BD,kDestroyed:ID,kDispatch:q6,kNoProxyAgent:AA,kHttpProxyAgent:Es,kHttpsProxyAgent:Co}=et(),bD=DE(),H6=Fa(),z6={"http:":80,"https:":443},QD=!1,TE=class extends L6{static{s(this,"EnvHttpProxyAgent")}#e=null;#t=null;#i=null;constructor(e={}){super(),this.#i=e,QD||(QD=!0,process.emitWarning("EnvHttpProxyAgent is experimental, expect them to change at any time.",{code:"UNDICI-EHPA"}));let{httpProxy:r,httpsProxy:n,noProxy:i,...o}=e;this[AA]=new H6(o);let a=r??process.env.http_proxy??process.env.HTTP_PROXY;a?this[Es]=new bD({...o,uri:a}):this[Es]=this[AA];let c=n??process.env.https_proxy??process.env.HTTPS_PROXY;c?this[Co]=new bD({...o,uri:c}):this[Co]=this[Es],this.#s()}[q6](e,r){let n=new URL(e.origin);return this.#n(n).dispatch(e,r)}async[F6](){await this[AA].close(),this[Es][BD]||await this[Es].close(),this[Co][BD]||await this[Co].close()}async[U6](e){await this[AA].destroy(e),this[Es][ID]||await this[Es].destroy(e),this[Co][ID]||await this[Co].destroy(e)}#n(e){let{protocol:r,host:n,port:i}=e;return n=n.replace(/:\d*$/,"").toLowerCase(),i=Number.parseInt(i,10)||z6[r]||0,this.#r(n,i)?r==="https:"?this[Co]:this[Es]:this[AA]}#r(e,r){if(this.#o&&this.#s(),this.#t.length===0)return!0;if(this.#e==="*")return!1;for(let n=0;n{"use strict";var qa=require("node:assert"),{kRetryHandlerDefaultRetry:SD}=et(),{RequestRetryError:uA}=Pe(),{isDisturbed:xD,parseHeaders:G6,parseRangeHeader:RD,wrapRequestBody:j6}=Ce();function Y6(t){let e=Date.now();return new Date(t).getTime()-e}s(Y6,"calculateRetryAfterHeader");var OE=class t{static{s(this,"RetryHandler")}constructor(e,r){let{retryOptions:n,...i}=e,{retry:o,maxRetries:a,maxTimeout:c,minTimeout:l,timeoutFactor:A,methods:u,errorCodes:d,retryAfter:g,statusCodes:y}=n??{};this.dispatch=r.dispatch,this.handler=r.handler,this.opts={...i,body:j6(e.body)},this.abort=null,this.aborted=!1,this.retryOpts={retry:o??t[SD],retryAfter:g??!0,maxTimeout:c??30*1e3,minTimeout:l??500,timeoutFactor:A??2,maxRetries:a??5,methods:u??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE"],statusCodes:y??[500,502,503,504,429],errorCodes:d??["ECONNRESET","ECONNREFUSED","ENOTFOUND","ENETDOWN","ENETUNREACH","EHOSTDOWN","EHOSTUNREACH","EPIPE","UND_ERR_SOCKET"]},this.retryCount=0,this.retryCountCheckpoint=0,this.start=0,this.end=null,this.etag=null,this.resume=null,this.handler.onConnect(B=>{this.aborted=!0,this.abort?this.abort(B):this.reason=B})}onRequestSent(){this.handler.onRequestSent&&this.handler.onRequestSent()}onUpgrade(e,r,n){this.handler.onUpgrade&&this.handler.onUpgrade(e,r,n)}onConnect(e){this.aborted?e(this.reason):this.abort=e}onBodySent(e){if(this.handler.onBodySent)return this.handler.onBodySent(e)}static[SD](e,{state:r,opts:n},i){let{statusCode:o,code:a,headers:c}=e,{method:l,retryOptions:A}=n,{maxRetries:u,minTimeout:d,maxTimeout:g,timeoutFactor:y,statusCodes:B,errorCodes:w,methods:x}=A,{counter:S}=r;if(a&&a!=="UND_ERR_REQ_RETRY"&&!w.includes(a)){i(e);return}if(Array.isArray(x)&&!x.includes(l)){i(e);return}if(o!=null&&Array.isArray(B)&&!B.includes(o)){i(e);return}if(S>u){i(e);return}let R=c?.["retry-after"];R&&(R=Number(R),R=Number.isNaN(R)?Y6(R):R*1e3);let D=R>0?Math.min(R,g):Math.min(d*y**(S-1),g);setTimeout(()=>i(null),D)}onHeaders(e,r,n,i){let o=G6(r);if(this.retryCount+=1,e>=300)return this.retryOpts.statusCodes.includes(e)===!1?this.handler.onHeaders(e,r,n,i):(this.abort(new uA("Request failed",e,{headers:o,data:{count:this.retryCount}})),!1);if(this.resume!=null){if(this.resume=null,e!==206&&(this.start>0||e!==200))return this.abort(new uA("server does not support the range header and the payload was partially consumed",e,{headers:o,data:{count:this.retryCount}})),!1;let c=RD(o["content-range"]);if(!c)return this.abort(new uA("Content-Range mismatch",e,{headers:o,data:{count:this.retryCount}})),!1;if(this.etag!=null&&this.etag!==o.etag)return this.abort(new uA("ETag mismatch",e,{headers:o,data:{count:this.retryCount}})),!1;let{start:l,size:A,end:u=A-1}=c;return qa(this.start===l,"content-range mismatch"),qa(this.end==null||this.end===u,"content-range mismatch"),this.resume=n,!0}if(this.end==null){if(e===206){let c=RD(o["content-range"]);if(c==null)return this.handler.onHeaders(e,r,n,i);let{start:l,size:A,end:u=A-1}=c;qa(l!=null&&Number.isFinite(l),"content-range mismatch"),qa(u!=null&&Number.isFinite(u),"invalid content-length"),this.start=l,this.end=u}if(this.end==null){let c=o["content-length"];this.end=c!=null?Number(c)-1:null}return qa(Number.isFinite(this.start)),qa(this.end==null||Number.isFinite(this.end),"invalid content-length"),this.resume=n,this.etag=o.etag!=null?o.etag:null,this.etag!=null&&this.etag.startsWith("W/")&&(this.etag=null),this.handler.onHeaders(e,r,n,i)}let a=new uA("Request failed",e,{headers:o,data:{count:this.retryCount}});return this.abort(a),!1}onData(e){return this.start+=e.length,this.handler.onData(e)}onComplete(e){return this.retryCount=0,this.handler.onComplete(e)}onError(e){if(this.aborted||xD(this.opts.body))return this.handler.onError(e);this.retryCount-this.retryCountCheckpoint>0?this.retryCount=this.retryCountCheckpoint+(this.retryCount-this.retryCountCheckpoint):this.retryCount+=1,this.retryOpts.retry(e,{state:{counter:this.retryCount},opts:{retryOptions:this.retryOpts,...this.opts}},r.bind(this));function r(n){if(n!=null||this.aborted||xD(this.opts.body))return this.handler.onError(n);if(this.start!==0){let i={range:`bytes=${this.start}-${this.end??""}`};this.etag!=null&&(i["if-match"]=this.etag),this.opts={...this.opts,headers:{...this.opts.headers,...i}}}try{this.retryCountCheckpoint=this.retryCount,this.dispatch(this.opts,this)}catch(i){this.handler.onError(i)}}s(r,"onRetry")}};vD.exports=OE});var _D=f((CFe,PD)=>{"use strict";var J6=Fl(),V6=rp(),ME=class extends J6{static{s(this,"RetryAgent")}#e=null;#t=null;constructor(e,r={}){super(r),this.#e=e,this.#t=r}dispatch(e,r){let n=new V6({...e,retryOptions:this.#t},{dispatch:this.#e.dispatch.bind(this.#e),handler:r});return this.#e.dispatch(e,n)}close(){return this.#e.close()}destroy(){return this.#e.destroy()}};PD.exports=ME});var HE=f((BFe,qD)=>{"use strict";var kD=require("node:assert"),{Readable:W6}=require("node:stream"),{RequestAbortedError:LD,NotSupportedError:K6,InvalidArgumentError:$6,AbortError:kE}=Pe(),FD=Ce(),{ReadableStreamFrom:X6}=Ce(),Ur=Symbol("kConsume"),dA=Symbol("kReading"),Bs=Symbol("kBody"),DD=Symbol("kAbort"),UD=Symbol("kContentType"),TD=Symbol("kContentLength"),Z6=s(()=>{},"noop"),LE=class extends W6{static{s(this,"BodyReadable")}constructor({resume:e,abort:r,contentType:n="",contentLength:i,highWaterMark:o=64*1024}){super({autoDestroy:!0,read:e,highWaterMark:o}),this._readableState.dataEmitted=!1,this[DD]=r,this[Ur]=null,this[Bs]=null,this[UD]=n,this[TD]=i,this[dA]=!1}destroy(e){return!e&&!this._readableState.endEmitted&&(e=new LD),e&&this[DD](),super.destroy(e)}_destroy(e,r){this[dA]?r(e):setImmediate(()=>{r(e)})}on(e,...r){return(e==="data"||e==="readable")&&(this[dA]=!0),super.on(e,...r)}addListener(e,...r){return this.on(e,...r)}off(e,...r){let n=super.off(e,...r);return(e==="data"||e==="readable")&&(this[dA]=this.listenerCount("data")>0||this.listenerCount("readable")>0),n}removeListener(e,...r){return this.off(e,...r)}push(e){return this[Ur]&&e!==null?(UE(this[Ur],e),this[dA]?super.push(e):!0):super.push(e)}async text(){return pA(this,"text")}async json(){return pA(this,"json")}async blob(){return pA(this,"blob")}async bytes(){return pA(this,"bytes")}async arrayBuffer(){return pA(this,"arrayBuffer")}async formData(){throw new K6}get bodyUsed(){return FD.isDisturbed(this)}get body(){return this[Bs]||(this[Bs]=X6(this),this[Ur]&&(this[Bs].getReader(),kD(this[Bs].locked))),this[Bs]}async dump(e){let r=Number.isFinite(e?.limit)?e.limit:131072,n=e?.signal;if(n!=null&&(typeof n!="object"||!("aborted"in n)))throw new $6("signal must be an AbortSignal");return n?.throwIfAborted(),this._readableState.closeEmitted?null:await new Promise((i,o)=>{this[TD]>r&&this.destroy(new kE);let a=s(()=>{this.destroy(n.reason??new kE)},"onAbort");n?.addEventListener("abort",a),this.on("close",function(){n?.removeEventListener("abort",a),n?.aborted?o(n.reason??new kE):i(null)}).on("error",Z6).on("data",function(c){r-=c.length,r<=0&&this.destroy()}).resume()})}};function eZ(t){return t[Bs]&&t[Bs].locked===!0||t[Ur]}s(eZ,"isLocked");function tZ(t){return FD.isDisturbed(t)||eZ(t)}s(tZ,"isUnusable");async function pA(t,e){return kD(!t[Ur]),new Promise((r,n)=>{if(tZ(t)){let i=t._readableState;i.destroyed&&i.closeEmitted===!1?t.on("error",o=>{n(o)}).on("close",()=>{n(new TypeError("unusable"))}):n(i.errored??new TypeError("unusable"))}else queueMicrotask(()=>{t[Ur]={type:e,stream:t,resolve:r,reject:n,length:0,body:[]},t.on("error",function(i){qE(this[Ur],i)}).on("close",function(){this[Ur].body!==null&&qE(this[Ur],new LD)}),rZ(t[Ur])})})}s(pA,"consume");function rZ(t){if(t.body===null)return;let{_readableState:e}=t.stream;if(e.bufferIndex){let r=e.bufferIndex,n=e.buffer.length;for(let i=r;i2&&r[0]===239&&r[1]===187&&r[2]===191?3:0;return r.utf8Slice(i,n)}s(FE,"chunksDecode");function OD(t,e){if(t.length===0||e===0)return new Uint8Array(0);if(t.length===1)return new Uint8Array(t[0]);let r=new Uint8Array(Buffer.allocUnsafeSlow(e).buffer),n=0;for(let i=0;i{var nZ=require("node:assert"),{ResponseStatusCodeError:HD}=Pe(),{chunksDecode:zD}=HE(),iZ=128*1024;async function sZ({callback:t,body:e,contentType:r,statusCode:n,statusMessage:i,headers:o}){nZ(e);let a=[],c=0;try{for await(let d of e)if(a.push(d),c+=d.length,c>iZ){a=[],c=0;break}}catch{a=[],c=0}let l=`Response status code ${n}${i?`: ${i}`:""}`;if(n===204||!r||!c){queueMicrotask(()=>t(new HD(l,n,o)));return}let A=Error.stackTraceLimit;Error.stackTraceLimit=0;let u;try{GD(r)?u=JSON.parse(zD(a,c)):jD(r)&&(u=zD(a,c))}catch{}finally{Error.stackTraceLimit=A}queueMicrotask(()=>t(new HD(l,n,o,u)))}s(sZ,"getResolveErrorBodyCallback");var GD=s(t=>t.length>15&&t[11]==="/"&&t[0]==="a"&&t[1]==="p"&&t[2]==="p"&&t[3]==="l"&&t[4]==="i"&&t[5]==="c"&&t[6]==="a"&&t[7]==="t"&&t[8]==="i"&&t[9]==="o"&&t[10]==="n"&&t[12]==="j"&&t[13]==="s"&&t[14]==="o"&&t[15]==="n","isContentTypeApplicationJson"),jD=s(t=>t.length>4&&t[4]==="/"&&t[0]==="t"&&t[1]==="e"&&t[2]==="x"&&t[3]==="t","isContentTypeText");YD.exports={getResolveErrorBodyCallback:sZ,isContentTypeApplicationJson:GD,isContentTypeText:jD}});var WD=f((NFe,GE)=>{"use strict";var oZ=require("node:assert"),{Readable:aZ}=HE(),{InvalidArgumentError:Ha,RequestAbortedError:JD}=Pe(),qr=Ce(),{getResolveErrorBodyCallback:cZ}=zE(),{AsyncResource:lZ}=require("node:async_hooks"),np=class extends lZ{static{s(this,"RequestHandler")}constructor(e,r){if(!e||typeof e!="object")throw new Ha("invalid opts");let{signal:n,method:i,opaque:o,body:a,onInfo:c,responseHeaders:l,throwOnError:A,highWaterMark:u}=e;try{if(typeof r!="function")throw new Ha("invalid callback");if(u&&(typeof u!="number"||u<0))throw new Ha("invalid highWaterMark");if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new Ha("signal must be an EventEmitter or EventTarget");if(i==="CONNECT")throw new Ha("invalid method");if(c&&typeof c!="function")throw new Ha("invalid onInfo callback");super("UNDICI_REQUEST")}catch(d){throw qr.isStream(a)&&qr.destroy(a.on("error",qr.nop),d),d}this.method=i,this.responseHeaders=l||null,this.opaque=o||null,this.callback=r,this.res=null,this.abort=null,this.body=a,this.trailers={},this.context=null,this.onInfo=c||null,this.throwOnError=A,this.highWaterMark=u,this.signal=n,this.reason=null,this.removeAbortListener=null,qr.isStream(a)&&a.on("error",d=>{this.onError(d)}),this.signal&&(this.signal.aborted?this.reason=this.signal.reason??new JD:this.removeAbortListener=qr.addAbortListener(this.signal,()=>{this.reason=this.signal.reason??new JD,this.res?qr.destroy(this.res.on("error",qr.nop),this.reason):this.abort&&this.abort(this.reason),this.removeAbortListener&&(this.res?.off("close",this.removeAbortListener),this.removeAbortListener(),this.removeAbortListener=null)}))}onConnect(e,r){if(this.reason){e(this.reason);return}oZ(this.callback),this.abort=e,this.context=r}onHeaders(e,r,n,i){let{callback:o,opaque:a,abort:c,context:l,responseHeaders:A,highWaterMark:u}=this,d=A==="raw"?qr.parseRawHeaders(r):qr.parseHeaders(r);if(e<200){this.onInfo&&this.onInfo({statusCode:e,headers:d});return}let g=A==="raw"?qr.parseHeaders(r):d,y=g["content-type"],B=g["content-length"],w=new aZ({resume:n,abort:c,contentType:y,contentLength:this.method!=="HEAD"&&B?Number(B):null,highWaterMark:u});this.removeAbortListener&&w.on("close",this.removeAbortListener),this.callback=null,this.res=w,o!==null&&(this.throwOnError&&e>=400?this.runInAsyncScope(cZ,null,{callback:o,body:w,contentType:y,statusCode:e,statusMessage:i,headers:d}):this.runInAsyncScope(o,null,null,{statusCode:e,headers:d,trailers:this.trailers,opaque:a,body:w,context:l}))}onData(e){return this.res.push(e)}onComplete(e){qr.parseHeaders(e,this.trailers),this.res.push(null)}onError(e){let{res:r,callback:n,body:i,opaque:o}=this;n&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(n,null,e,{opaque:o})})),r&&(this.res=null,queueMicrotask(()=>{qr.destroy(r,e)})),i&&(this.body=null,qr.destroy(i,e)),this.removeAbortListener&&(r?.off("close",this.removeAbortListener),this.removeAbortListener(),this.removeAbortListener=null)}};function VD(t,e){if(e===void 0)return new Promise((r,n)=>{VD.call(this,t,(i,o)=>i?n(i):r(o))});try{this.dispatch(t,new np(t,e))}catch(r){if(typeof e!="function")throw r;let n=t?.opaque;queueMicrotask(()=>e(r,{opaque:n}))}}s(VD,"request");GE.exports=VD;GE.exports.RequestHandler=np});var mA=f((SFe,XD)=>{var{addAbortListener:AZ}=Ce(),{RequestAbortedError:uZ}=Pe(),za=Symbol("kListener"),Ai=Symbol("kSignal");function KD(t){t.abort?t.abort(t[Ai]?.reason):t.reason=t[Ai]?.reason??new uZ,$D(t)}s(KD,"abort");function dZ(t,e){if(t.reason=null,t[Ai]=null,t[za]=null,!!e){if(e.aborted){KD(t);return}t[Ai]=e,t[za]=()=>{KD(t)},AZ(t[Ai],t[za])}}s(dZ,"addSignal");function $D(t){t[Ai]&&("removeEventListener"in t[Ai]?t[Ai].removeEventListener("abort",t[za]):t[Ai].removeListener("abort",t[za]),t[Ai]=null,t[za]=null)}s($D,"removeSignal");XD.exports={addSignal:dZ,removeSignal:$D}});var rT=f((RFe,tT)=>{"use strict";var pZ=require("node:assert"),{finished:mZ,PassThrough:gZ}=require("node:stream"),{InvalidArgumentError:Ga,InvalidReturnValueError:hZ}=Pe(),Hn=Ce(),{getResolveErrorBodyCallback:fZ}=zE(),{AsyncResource:yZ}=require("node:async_hooks"),{addSignal:CZ,removeSignal:ZD}=mA(),jE=class extends yZ{static{s(this,"StreamHandler")}constructor(e,r,n){if(!e||typeof e!="object")throw new Ga("invalid opts");let{signal:i,method:o,opaque:a,body:c,onInfo:l,responseHeaders:A,throwOnError:u}=e;try{if(typeof n!="function")throw new Ga("invalid callback");if(typeof r!="function")throw new Ga("invalid factory");if(i&&typeof i.on!="function"&&typeof i.addEventListener!="function")throw new Ga("signal must be an EventEmitter or EventTarget");if(o==="CONNECT")throw new Ga("invalid method");if(l&&typeof l!="function")throw new Ga("invalid onInfo callback");super("UNDICI_STREAM")}catch(d){throw Hn.isStream(c)&&Hn.destroy(c.on("error",Hn.nop),d),d}this.responseHeaders=A||null,this.opaque=a||null,this.factory=r,this.callback=n,this.res=null,this.abort=null,this.context=null,this.trailers=null,this.body=c,this.onInfo=l||null,this.throwOnError=u||!1,Hn.isStream(c)&&c.on("error",d=>{this.onError(d)}),CZ(this,i)}onConnect(e,r){if(this.reason){e(this.reason);return}pZ(this.callback),this.abort=e,this.context=r}onHeaders(e,r,n,i){let{factory:o,opaque:a,context:c,callback:l,responseHeaders:A}=this,u=A==="raw"?Hn.parseRawHeaders(r):Hn.parseHeaders(r);if(e<200){this.onInfo&&this.onInfo({statusCode:e,headers:u});return}this.factory=null;let d;if(this.throwOnError&&e>=400){let B=(A==="raw"?Hn.parseHeaders(r):u)["content-type"];d=new gZ,this.callback=null,this.runInAsyncScope(fZ,null,{callback:l,body:d,contentType:B,statusCode:e,statusMessage:i,headers:u})}else{if(o===null)return;if(d=this.runInAsyncScope(o,null,{statusCode:e,headers:u,opaque:a,context:c}),!d||typeof d.write!="function"||typeof d.end!="function"||typeof d.on!="function")throw new hZ("expected Writable");mZ(d,{readable:!1},y=>{let{callback:B,res:w,opaque:x,trailers:S,abort:R}=this;this.res=null,(y||!w.readable)&&Hn.destroy(w,y),this.callback=null,this.runInAsyncScope(B,null,y||null,{opaque:x,trailers:S}),y&&R()})}return d.on("drain",n),this.res=d,(d.writableNeedDrain!==void 0?d.writableNeedDrain:d._writableState?.needDrain)!==!0}onData(e){let{res:r}=this;return r?r.write(e):!0}onComplete(e){let{res:r}=this;ZD(this),r&&(this.trailers=Hn.parseHeaders(e),r.end())}onError(e){let{res:r,callback:n,opaque:i,body:o}=this;ZD(this),this.factory=null,r?(this.res=null,Hn.destroy(r,e)):n&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(n,null,e,{opaque:i})})),o&&(this.body=null,Hn.destroy(o,e))}};function eT(t,e,r){if(r===void 0)return new Promise((n,i)=>{eT.call(this,t,e,(o,a)=>o?i(o):n(a))});try{this.dispatch(t,new jE(t,e,r))}catch(n){if(typeof r!="function")throw n;let i=t?.opaque;queueMicrotask(()=>r(n,{opaque:i}))}}s(eT,"stream");tT.exports=eT});var oT=f((PFe,sT)=>{"use strict";var{Readable:iT,Duplex:EZ,PassThrough:BZ}=require("node:stream"),{InvalidArgumentError:gA,InvalidReturnValueError:IZ,RequestAbortedError:YE}=Pe(),mn=Ce(),{AsyncResource:bZ}=require("node:async_hooks"),{addSignal:QZ,removeSignal:NZ}=mA(),nT=require("node:assert"),ja=Symbol("resume"),JE=class extends iT{static{s(this,"PipelineRequest")}constructor(){super({autoDestroy:!0}),this[ja]=null}_read(){let{[ja]:e}=this;e&&(this[ja]=null,e())}_destroy(e,r){this._read(),r(e)}},VE=class extends iT{static{s(this,"PipelineResponse")}constructor(e){super({autoDestroy:!0}),this[ja]=e}_read(){this[ja]()}_destroy(e,r){!e&&!this._readableState.endEmitted&&(e=new YE),r(e)}},WE=class extends bZ{static{s(this,"PipelineHandler")}constructor(e,r){if(!e||typeof e!="object")throw new gA("invalid opts");if(typeof r!="function")throw new gA("invalid handler");let{signal:n,method:i,opaque:o,onInfo:a,responseHeaders:c}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new gA("signal must be an EventEmitter or EventTarget");if(i==="CONNECT")throw new gA("invalid method");if(a&&typeof a!="function")throw new gA("invalid onInfo callback");super("UNDICI_PIPELINE"),this.opaque=o||null,this.responseHeaders=c||null,this.handler=r,this.abort=null,this.context=null,this.onInfo=a||null,this.req=new JE().on("error",mn.nop),this.ret=new EZ({readableObjectMode:e.objectMode,autoDestroy:!0,read:s(()=>{let{body:l}=this;l?.resume&&l.resume()},"read"),write:s((l,A,u)=>{let{req:d}=this;d.push(l,A)||d._readableState.destroyed?u():d[ja]=u},"write"),destroy:s((l,A)=>{let{body:u,req:d,res:g,ret:y,abort:B}=this;!l&&!y._readableState.endEmitted&&(l=new YE),B&&l&&B(),mn.destroy(u,l),mn.destroy(d,l),mn.destroy(g,l),NZ(this),A(l)},"destroy")}).on("prefinish",()=>{let{req:l}=this;l.push(null)}),this.res=null,QZ(this,n)}onConnect(e,r){let{ret:n,res:i}=this;if(this.reason){e(this.reason);return}nT(!i,"pipeline cannot be retried"),nT(!n.destroyed),this.abort=e,this.context=r}onHeaders(e,r,n){let{opaque:i,handler:o,context:a}=this;if(e<200){if(this.onInfo){let l=this.responseHeaders==="raw"?mn.parseRawHeaders(r):mn.parseHeaders(r);this.onInfo({statusCode:e,headers:l})}return}this.res=new VE(n);let c;try{this.handler=null;let l=this.responseHeaders==="raw"?mn.parseRawHeaders(r):mn.parseHeaders(r);c=this.runInAsyncScope(o,null,{statusCode:e,headers:l,opaque:i,body:this.res,context:a})}catch(l){throw this.res.on("error",mn.nop),l}if(!c||typeof c.on!="function")throw new IZ("expected Readable");c.on("data",l=>{let{ret:A,body:u}=this;!A.push(l)&&u.pause&&u.pause()}).on("error",l=>{let{ret:A}=this;mn.destroy(A,l)}).on("end",()=>{let{ret:l}=this;l.push(null)}).on("close",()=>{let{ret:l}=this;l._readableState.ended||mn.destroy(l,new YE)}),this.body=c}onData(e){let{res:r}=this;return r.push(e)}onComplete(e){let{res:r}=this;r.push(null)}onError(e){let{ret:r}=this;this.handler=null,mn.destroy(r,e)}};function wZ(t,e){try{let r=new WE(t,e);return this.dispatch({...t,body:r.req},r),r.ret}catch(r){return new BZ().destroy(r)}}s(wZ,"pipeline");sT.exports=wZ});var dT=f((DFe,uT)=>{"use strict";var{InvalidArgumentError:KE,SocketError:SZ}=Pe(),{AsyncResource:xZ}=require("node:async_hooks"),aT=Ce(),{addSignal:RZ,removeSignal:cT}=mA(),lT=require("node:assert"),$E=class extends xZ{static{s(this,"UpgradeHandler")}constructor(e,r){if(!e||typeof e!="object")throw new KE("invalid opts");if(typeof r!="function")throw new KE("invalid callback");let{signal:n,opaque:i,responseHeaders:o}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new KE("signal must be an EventEmitter or EventTarget");super("UNDICI_UPGRADE"),this.responseHeaders=o||null,this.opaque=i||null,this.callback=r,this.abort=null,this.context=null,RZ(this,n)}onConnect(e,r){if(this.reason){e(this.reason);return}lT(this.callback),this.abort=e,this.context=null}onHeaders(){throw new SZ("bad upgrade",null)}onUpgrade(e,r,n){lT(e===101);let{callback:i,opaque:o,context:a}=this;cT(this),this.callback=null;let c=this.responseHeaders==="raw"?aT.parseRawHeaders(r):aT.parseHeaders(r);this.runInAsyncScope(i,null,null,{headers:c,socket:n,opaque:o,context:a})}onError(e){let{callback:r,opaque:n}=this;cT(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:n})}))}};function AT(t,e){if(e===void 0)return new Promise((r,n)=>{AT.call(this,t,(i,o)=>i?n(i):r(o))});try{let r=new $E(t,e);this.dispatch({...t,method:t.method||"GET",upgrade:t.protocol||"Websocket"},r)}catch(r){if(typeof e!="function")throw r;let n=t?.opaque;queueMicrotask(()=>e(r,{opaque:n}))}}s(AT,"upgrade");uT.exports=AT});var fT=f((OFe,hT)=>{"use strict";var vZ=require("node:assert"),{AsyncResource:PZ}=require("node:async_hooks"),{InvalidArgumentError:XE,SocketError:_Z}=Pe(),pT=Ce(),{addSignal:DZ,removeSignal:mT}=mA(),ZE=class extends PZ{static{s(this,"ConnectHandler")}constructor(e,r){if(!e||typeof e!="object")throw new XE("invalid opts");if(typeof r!="function")throw new XE("invalid callback");let{signal:n,opaque:i,responseHeaders:o}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new XE("signal must be an EventEmitter or EventTarget");super("UNDICI_CONNECT"),this.opaque=i||null,this.responseHeaders=o||null,this.callback=r,this.abort=null,DZ(this,n)}onConnect(e,r){if(this.reason){e(this.reason);return}vZ(this.callback),this.abort=e,this.context=r}onHeaders(){throw new _Z("bad connect",null)}onUpgrade(e,r,n){let{callback:i,opaque:o,context:a}=this;mT(this),this.callback=null;let c=r;c!=null&&(c=this.responseHeaders==="raw"?pT.parseRawHeaders(r):pT.parseHeaders(r)),this.runInAsyncScope(i,null,null,{statusCode:e,headers:c,socket:n,opaque:o,context:a})}onError(e){let{callback:r,opaque:n}=this;mT(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:n})}))}};function gT(t,e){if(e===void 0)return new Promise((r,n)=>{gT.call(this,t,(i,o)=>i?n(i):r(o))});try{let r=new ZE(t,e);this.dispatch({...t,method:"CONNECT"},r)}catch(r){if(typeof e!="function")throw r;let n=t?.opaque;queueMicrotask(()=>e(r,{opaque:n}))}}s(gT,"connect");hT.exports=gT});var yT=f((kFe,Ya)=>{"use strict";Ya.exports.request=WD();Ya.exports.stream=rT();Ya.exports.pipeline=oT();Ya.exports.upgrade=dT();Ya.exports.connect=fT()});var tB=f((LFe,ET)=>{"use strict";var{UndiciError:TZ}=Pe(),CT=Symbol.for("undici.error.UND_MOCK_ERR_MOCK_NOT_MATCHED"),eB=class t extends TZ{static{s(this,"MockNotMatchedError")}constructor(e){super(e),Error.captureStackTrace(this,t),this.name="MockNotMatchedError",this.message=e||"The request does not match any registered mock dispatches",this.code="UND_MOCK_ERR_MOCK_NOT_MATCHED"}static[Symbol.hasInstance](e){return e&&e[CT]===!0}[CT]=!0};ET.exports={MockNotMatchedError:eB}});var Ja=f((UFe,BT)=>{"use strict";BT.exports={kAgent:Symbol("agent"),kOptions:Symbol("options"),kFactory:Symbol("factory"),kDispatches:Symbol("dispatches"),kDispatchKey:Symbol("dispatch key"),kDefaultHeaders:Symbol("default headers"),kDefaultTrailers:Symbol("default trailers"),kContentLength:Symbol("content length"),kMockAgent:Symbol("mock agent"),kMockAgentSet:Symbol("mock agent set"),kMockAgentGet:Symbol("mock agent get"),kMockDispatch:Symbol("mock dispatch"),kClose:Symbol("close"),kOriginalClose:Symbol("original agent close"),kOrigin:Symbol("origin"),kIsMockActive:Symbol("is mock active"),kNetConnect:Symbol("net connect"),kGetNetConnect:Symbol("get net connect"),kConnected:Symbol("connected")}});var hA=f((qFe,_T)=>{"use strict";var{MockNotMatchedError:Eo}=tB(),{kDispatches:ip,kMockAgent:OZ,kOriginalDispatch:MZ,kOrigin:kZ,kGetNetConnect:LZ}=Ja(),{buildURL:FZ}=Ce(),{STATUS_CODES:UZ}=require("node:http"),{types:{isPromise:qZ}}=require("node:util");function ji(t,e){return typeof t=="string"?t===e:t instanceof RegExp?t.test(e):typeof t=="function"?t(e)===!0:!1}s(ji,"matchValue");function bT(t){return Object.fromEntries(Object.entries(t).map(([e,r])=>[e.toLocaleLowerCase(),r]))}s(bT,"lowerCaseEntries");function QT(t,e){if(Array.isArray(t)){for(let r=0;r"u")return!0;if(typeof e!="object"||typeof t.headers!="object")return!1;for(let[r,n]of Object.entries(t.headers)){let i=QT(e,r);if(!ji(n,i))return!1}return!0}s(NT,"matchHeaders");function IT(t){if(typeof t!="string")return t;let e=t.split("?");if(e.length!==2)return t;let r=new URLSearchParams(e.pop());return r.sort(),[...e,r.toString()].join("?")}s(IT,"safeUrl");function HZ(t,{path:e,method:r,body:n,headers:i}){let o=ji(t.path,e),a=ji(t.method,r),c=typeof t.body<"u"?ji(t.body,n):!0,l=NT(t,i);return o&&a&&c&&l}s(HZ,"matchKey");function wT(t){return Buffer.isBuffer(t)||t instanceof Uint8Array||t instanceof ArrayBuffer?t:typeof t=="object"?JSON.stringify(t):t.toString()}s(wT,"getResponseData");function ST(t,e){let r=e.query?FZ(e.path,e.query):e.path,n=typeof r=="string"?IT(r):r,i=t.filter(({consumed:o})=>!o).filter(({path:o})=>ji(IT(o),n));if(i.length===0)throw new Eo(`Mock dispatch not matched for path '${n}'`);if(i=i.filter(({method:o})=>ji(o,e.method)),i.length===0)throw new Eo(`Mock dispatch not matched for method '${e.method}' on path '${n}'`);if(i=i.filter(({body:o})=>typeof o<"u"?ji(o,e.body):!0),i.length===0)throw new Eo(`Mock dispatch not matched for body '${e.body}' on path '${n}'`);if(i=i.filter(o=>NT(o,e.headers)),i.length===0){let o=typeof e.headers=="object"?JSON.stringify(e.headers):e.headers;throw new Eo(`Mock dispatch not matched for headers '${o}' on path '${n}'`)}return i[0]}s(ST,"getMockDispatch");function zZ(t,e,r){let n={timesInvoked:0,times:1,persist:!1,consumed:!1},i=typeof r=="function"?{callback:r}:{...r},o={...n,...e,pending:!0,data:{error:null,...i}};return t.push(o),o}s(zZ,"addMockDispatch");function rB(t,e){let r=t.findIndex(n=>n.consumed?HZ(n,e):!1);r!==-1&&t.splice(r,1)}s(rB,"deleteMockDispatch");function xT(t){let{path:e,method:r,body:n,headers:i,query:o}=t;return{path:e,method:r,body:n,headers:i,query:o}}s(xT,"buildKey");function nB(t){let e=Object.keys(t),r=[];for(let n=0;n=g,n.pending=d0?setTimeout(()=>{y(this[ip])},A):y(this[ip]);function y(w,x=o){let S=Array.isArray(t.headers)?iB(t.headers):t.headers,R=typeof x=="function"?x({...t,headers:S}):x;if(qZ(R)){R.then(W=>y(w,W));return}let D=wT(R),L=nB(a),K=nB(c);e.onConnect?.(W=>e.onError(W),null),e.onHeaders?.(i,L,B,RT(i)),e.onData?.(Buffer.from(D)),e.onComplete?.(K),rB(w,r)}s(y,"handleReply");function B(){}return s(B,"resume"),!0}s(vT,"mockDispatch");function jZ(){let t=this[OZ],e=this[kZ],r=this[MZ];return s(function(i,o){if(t.isMockActive)try{vT.call(this,i,o)}catch(a){if(a instanceof Eo){let c=t[LZ]();if(c===!1)throw new Eo(`${a.message}: subsequent request to origin ${e} was not allowed (net.connect disabled)`);if(PT(c,e))r.call(this,i,o);else throw new Eo(`${a.message}: subsequent request to origin ${e} was not allowed (net.connect is not enabled for this origin)`)}else throw a}else r.call(this,i,o)},"dispatch")}s(jZ,"buildMockDispatch");function PT(t,e){let r=new URL(e);return t===!0?!0:!!(Array.isArray(t)&&t.some(n=>ji(n,r.host)))}s(PT,"checkNetConnect");function YZ(t){if(t){let{agent:e,...r}=t;return r}}s(YZ,"buildMockOptions");_T.exports={getResponseData:wT,getMockDispatch:ST,addMockDispatch:zZ,deleteMockDispatch:rB,buildKey:xT,generateKeyValues:nB,matchValue:ji,getResponse:GZ,getStatusText:RT,mockDispatch:vT,buildMockDispatch:jZ,checkNetConnect:PT,buildMockOptions:YZ,getHeaderByName:QT,buildHeadersFromArray:iB}});var uB=f((zFe,AB)=>{"use strict";var{getResponseData:JZ,buildKey:VZ,addMockDispatch:sB}=hA(),{kDispatches:sp,kDispatchKey:op,kDefaultHeaders:oB,kDefaultTrailers:aB,kContentLength:cB,kMockDispatch:ap}=Ja(),{InvalidArgumentError:ui}=Pe(),{buildURL:WZ}=Ce(),Va=class{static{s(this,"MockScope")}constructor(e){this[ap]=e}delay(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new ui("waitInMs must be a valid integer > 0");return this[ap].delay=e,this}persist(){return this[ap].persist=!0,this}times(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new ui("repeatTimes must be a valid integer > 0");return this[ap].times=e,this}},lB=class{static{s(this,"MockInterceptor")}constructor(e,r){if(typeof e!="object")throw new ui("opts must be an object");if(typeof e.path>"u")throw new ui("opts.path must be defined");if(typeof e.method>"u"&&(e.method="GET"),typeof e.path=="string")if(e.query)e.path=WZ(e.path,e.query);else{let n=new URL(e.path,"data://");e.path=n.pathname+n.search}typeof e.method=="string"&&(e.method=e.method.toUpperCase()),this[op]=VZ(e),this[sp]=r,this[oB]={},this[aB]={},this[cB]=!1}createMockScopeDispatchData({statusCode:e,data:r,responseOptions:n}){let i=JZ(r),o=this[cB]?{"content-length":i.length}:{},a={...this[oB],...o,...n.headers},c={...this[aB],...n.trailers};return{statusCode:e,data:r,headers:a,trailers:c}}validateReplyParameters(e){if(typeof e.statusCode>"u")throw new ui("statusCode must be defined");if(typeof e.responseOptions!="object"||e.responseOptions===null)throw new ui("responseOptions must be an object")}reply(e){if(typeof e=="function"){let o=s(c=>{let l=e(c);if(typeof l!="object"||l===null)throw new ui("reply options callback must return an object");let A={data:"",responseOptions:{},...l};return this.validateReplyParameters(A),{...this.createMockScopeDispatchData(A)}},"wrappedDefaultsCallback"),a=sB(this[sp],this[op],o);return new Va(a)}let r={statusCode:e,data:arguments[1]===void 0?"":arguments[1],responseOptions:arguments[2]===void 0?{}:arguments[2]};this.validateReplyParameters(r);let n=this.createMockScopeDispatchData(r),i=sB(this[sp],this[op],n);return new Va(i)}replyWithError(e){if(typeof e>"u")throw new ui("error must be defined");let r=sB(this[sp],this[op],{error:e});return new Va(r)}defaultReplyHeaders(e){if(typeof e>"u")throw new ui("headers must be defined");return this[oB]=e,this}defaultReplyTrailers(e){if(typeof e>"u")throw new ui("trailers must be defined");return this[aB]=e,this}replyContentLength(){return this[cB]=!0,this}};AB.exports.MockInterceptor=lB;AB.exports.MockScope=Va});var mB=f((jFe,FT)=>{"use strict";var{promisify:KZ}=require("node:util"),$Z=ka(),{buildMockDispatch:XZ}=hA(),{kDispatches:DT,kMockAgent:TT,kClose:OT,kOriginalClose:MT,kOrigin:kT,kOriginalDispatch:ZZ,kConnected:dB}=Ja(),{MockInterceptor:e7}=uB(),LT=et(),{InvalidArgumentError:t7}=Pe(),pB=class extends $Z{static{s(this,"MockClient")}constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new t7("Argument opts.agent must implement Agent");this[TT]=r.agent,this[kT]=e,this[DT]=[],this[dB]=1,this[ZZ]=this.dispatch,this[MT]=this.close.bind(this),this.dispatch=XZ.call(this),this.close=this[OT]}get[LT.kConnected](){return this[dB]}intercept(e){return new e7(e,this[DT])}async[OT](){await KZ(this[MT])(),this[dB]=0,this[TT][LT.kClients].delete(this[kT])}};FT.exports=pB});var fB=f((JFe,YT)=>{"use strict";var{promisify:r7}=require("node:util"),n7=La(),{buildMockDispatch:i7}=hA(),{kDispatches:UT,kMockAgent:qT,kClose:HT,kOriginalClose:zT,kOrigin:GT,kOriginalDispatch:s7,kConnected:gB}=Ja(),{MockInterceptor:o7}=uB(),jT=et(),{InvalidArgumentError:a7}=Pe(),hB=class extends n7{static{s(this,"MockPool")}constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new a7("Argument opts.agent must implement Agent");this[qT]=r.agent,this[GT]=e,this[UT]=[],this[gB]=1,this[s7]=this.dispatch,this[zT]=this.close.bind(this),this.dispatch=i7.call(this),this.close=this[HT]}get[jT.kConnected](){return this[gB]}intercept(e){return new o7(e,this[UT])}async[HT](){await r7(this[zT])(),this[gB]=0,this[qT][jT.kClients].delete(this[GT])}};YT.exports=hB});var VT=f((KFe,JT)=>{"use strict";var c7={pronoun:"it",is:"is",was:"was",this:"this"},l7={pronoun:"they",is:"are",was:"were",this:"these"};JT.exports=class{static{s(this,"Pluralizer")}constructor(e,r){this.singular=e,this.plural=r}pluralize(e){let r=e===1,n=r?c7:l7,i=r?this.singular:this.plural;return{...n,count:e,noun:i}}}});var KT=f((ZFe,WT)=>{"use strict";var{Transform:A7}=require("node:stream"),{Console:u7}=require("node:console"),d7=process.versions.icu?"\u2705":"Y ",p7=process.versions.icu?"\u274C":"N ";WT.exports=class{static{s(this,"PendingInterceptorsFormatter")}constructor({disableColors:e}={}){this.transform=new A7({transform(r,n,i){i(null,r)}}),this.logger=new u7({stdout:this.transform,inspectOptions:{colors:!e&&!process.env.CI}})}format(e){let r=e.map(({method:n,path:i,data:{statusCode:o},persist:a,times:c,timesInvoked:l,origin:A})=>({Method:n,Origin:A,Path:i,"Status code":o,Persistent:a?d7:p7,Invocations:l,Remaining:a?1/0:c-l}));return this.logger.table(r),this.transform.read().toString()}}});var eO=f((tUe,ZT)=>{"use strict";var{kClients:Bo}=et(),m7=Fa(),{kAgent:yB,kMockAgentSet:cp,kMockAgentGet:$T,kDispatches:CB,kIsMockActive:lp,kNetConnect:Io,kGetNetConnect:g7,kOptions:Ap,kFactory:up}=Ja(),h7=mB(),f7=fB(),{matchValue:y7,buildMockOptions:C7}=hA(),{InvalidArgumentError:XT,UndiciError:E7}=Pe(),B7=Fl(),I7=VT(),b7=KT(),EB=class extends B7{static{s(this,"MockAgent")}constructor(e){if(super(e),this[Io]=!0,this[lp]=!0,e?.agent&&typeof e.agent.dispatch!="function")throw new XT("Argument opts.agent must implement Agent");let r=e?.agent?e.agent:new m7(e);this[yB]=r,this[Bo]=r[Bo],this[Ap]=C7(e)}get(e){let r=this[$T](e);return r||(r=this[up](e),this[cp](e,r)),r}dispatch(e,r){return this.get(e.origin),this[yB].dispatch(e,r)}async close(){await this[yB].close(),this[Bo].clear()}deactivate(){this[lp]=!1}activate(){this[lp]=!0}enableNetConnect(e){if(typeof e=="string"||typeof e=="function"||e instanceof RegExp)Array.isArray(this[Io])?this[Io].push(e):this[Io]=[e];else if(typeof e>"u")this[Io]=!0;else throw new XT("Unsupported matcher. Must be one of String|Function|RegExp.")}disableNetConnect(){this[Io]=!1}get isMockActive(){return this[lp]}[cp](e,r){this[Bo].set(e,r)}[up](e){let r=Object.assign({agent:this},this[Ap]);return this[Ap]&&this[Ap].connections===1?new h7(e,r):new f7(e,r)}[$T](e){let r=this[Bo].get(e);if(r)return r;if(typeof e!="string"){let n=this[up]("http://localhost:9999");return this[cp](e,n),n}for(let[n,i]of Array.from(this[Bo]))if(i&&typeof n!="string"&&y7(n,e)){let o=this[up](e);return this[cp](e,o),o[CB]=i[CB],o}}[g7](){return this[Io]}pendingInterceptors(){let e=this[Bo];return Array.from(e.entries()).flatMap(([r,n])=>n[CB].map(i=>({...i,origin:r}))).filter(({pending:r})=>r)}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new b7}={}){let r=this.pendingInterceptors();if(r.length===0)return;let n=new I7("interceptor","interceptors").pluralize(r.length);throw new E7(` ${n.count} ${n.noun} ${n.is} pending: ${e.format(r)} -`.trim())}};gO.exports=BB});var op=h((m1e,EO)=>{"use strict";var hO=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:dte}=_e(),pte=Ra();CO()===void 0&&yO(new pte);function yO(t){if(!t||typeof t.dispatch!="function")throw new dte("Argument agent must implement Agent");Object.defineProperty(globalThis,hO,{value:t,writable:!0,enumerable:!1,configurable:!1})}o(yO,"setGlobalDispatcher");function CO(){return globalThis[hO]}o(CO,"getGlobalDispatcher");EO.exports={setGlobalDispatcher:yO,getGlobalDispatcher:CO}});var ap=h((h1e,BO)=>{"use strict";BO.exports=class{static{o(this,"DecoratorHandler")}#e;constructor(e){if(typeof e!="object"||e===null)throw new TypeError("handler must be an object");this.#e=e}onConnect(...e){return this.#e.onConnect?.(...e)}onError(...e){return this.#e.onError?.(...e)}onUpgrade(...e){return this.#e.onUpgrade?.(...e)}onResponseStarted(...e){return this.#e.onResponseStarted?.(...e)}onHeaders(...e){return this.#e.onHeaders?.(...e)}onData(...e){return this.#e.onData?.(...e)}onComplete(...e){return this.#e.onComplete?.(...e)}onBodySent(...e){return this.#e.onBodySent?.(...e)}}});var bO=h((C1e,IO)=>{"use strict";var mte=Fd();IO.exports=t=>{let e=t?.maxRedirections;return r=>o(function(i,s){let{maxRedirections:a=e,...c}=i;if(!a)return r(i,s);let l=new mte(r,a,i,s);return r(c,l)},"redirectInterceptor")}});var wO=h((B1e,QO)=>{"use strict";var gte=Kd();QO.exports=t=>e=>o(function(n,i){return e(n,new gte({...n,retryOptions:{...t,...n.retryOptions}},{handler:i,dispatch:e}))},"retryInterceptor")});var SO=h((b1e,NO)=>{"use strict";var fte=Ee(),{InvalidArgumentError:hte,RequestAbortedError:yte}=_e(),Cte=ap(),IB=class extends Cte{static{o(this,"DumpHandler")}#e=1024*1024;#t=null;#i=!1;#n=!1;#r=0;#s=null;#o=null;constructor({maxSize:e},r){if(super(r),e!=null&&(!Number.isFinite(e)||e<1))throw new hte("maxSize must be a number greater than 0");this.#e=e??this.#e,this.#o=r}onConnect(e){this.#t=e,this.#o.onConnect(this.#a.bind(this))}#a(e){this.#n=!0,this.#s=e}onHeaders(e,r,n,i){let a=fte.parseHeaders(r)["content-length"];if(a!=null&&a>this.#e)throw new yte(`Response size (${a}) larger than maxSize (${this.#e})`);return this.#n?!0:this.#o.onHeaders(e,r,n,i)}onError(e){this.#i||(e=this.#s??e,this.#o.onError(e))}onData(e){return this.#r=this.#r+e.length,this.#r>=this.#e&&(this.#i=!0,this.#n?this.#o.onError(this.#s):this.#o.onComplete([])),!0}onComplete(e){if(!this.#i){if(this.#n){this.#o.onError(this.reason);return}this.#o.onComplete(e)}}};function Ete({maxSize:t}={maxSize:1024*1024}){return e=>o(function(n,i){let{dumpMaxSize:s=t}=n,a=new IB({maxSize:s},i);return e(n,a)},"Intercept")}o(Ete,"createDumpInterceptor");NO.exports=Ete});var RO=h((w1e,vO)=>{"use strict";var{isIP:Bte}=require("node:net"),{lookup:Ite}=require("node:dns"),bte=ap(),{InvalidArgumentError:Ua,InformationalError:Qte}=_e(),xO=Math.pow(2,31)-1,bB=class{static{o(this,"DNSInstance")}#e=0;#t=0;#i=new Map;dualStack=!0;affinity=null;lookup=null;pick=null;constructor(e){this.#e=e.maxTTL,this.#t=e.maxItems,this.dualStack=e.dualStack,this.affinity=e.affinity,this.lookup=e.lookup??this.#n,this.pick=e.pick??this.#r}get full(){return this.#i.size===this.#t}runLookup(e,r,n){let i=this.#i.get(e.hostname);if(i==null&&this.full){n(null,e.origin);return}let s={affinity:this.affinity,dualStack:this.dualStack,lookup:this.lookup,pick:this.pick,...r.dns,maxTTL:this.#e,maxItems:this.#t};if(i==null)this.lookup(e,s,(a,c)=>{if(a||c==null||c.length===0){n(a??new Qte("No DNS entries found"));return}this.setRecords(e,c);let l=this.#i.get(e.hostname),A=this.pick(e,l,s.affinity),u;typeof A.port=="number"?u=`:${A.port}`:e.port!==""?u=`:${e.port}`:u="",n(null,`${e.protocol}//${A.family===6?`[${A.address}]`:A.address}${u}`)});else{let a=this.pick(e,i,s.affinity);if(a==null){this.#i.delete(e.hostname),this.runLookup(e,r,n);return}let c;typeof a.port=="number"?c=`:${a.port}`:e.port!==""?c=`:${e.port}`:c="",n(null,`${e.protocol}//${a.family===6?`[${a.address}]`:a.address}${c}`)}}#n(e,r,n){Ite(e.hostname,{all:!0,family:this.dualStack===!1?this.affinity:0,order:"ipv4first"},(i,s)=>{if(i)return n(i);let a=new Map;for(let c of s)a.set(`${c.address}:${c.family}`,c);n(null,a.values())})}#r(e,r,n){let i=null,{records:s,offset:a}=r,c;if(this.dualStack?(n==null&&(a==null||a===xO?(r.offset=0,n=4):(r.offset++,n=(r.offset&1)===1?6:4)),s[n]!=null&&s[n].ips.length>0?c=s[n]:c=s[n===4?6:4]):c=s[n],c==null||c.ips.length===0)return i;c.offset==null||c.offset===xO?c.offset=0:c.offset++;let l=c.offset%c.ips.length;return i=c.ips[l]??null,i==null?i:Date.now()-i.timestamp>i.ttl?(c.ips.splice(l,1),this.pick(e,r,n)):i}setRecords(e,r){let n=Date.now(),i={records:{4:null,6:null}};for(let s of r){s.timestamp=n,typeof s.ttl=="number"?s.ttl=Math.min(s.ttl,this.#e):s.ttl=this.#e;let a=i.records[s.family]??{ips:[]};a.ips.push(s),i.records[s.family]=a}this.#i.set(e.hostname,i)}getHandler(e,r){return new QB(this,e,r)}},QB=class extends bte{static{o(this,"DNSDispatchHandler")}#e=null;#t=null;#i=null;#n=null;#r=null;constructor(e,{origin:r,handler:n,dispatch:i},s){super(n),this.#r=r,this.#n=n,this.#t={...s},this.#e=e,this.#i=i}onError(e){switch(e.code){case"ETIMEDOUT":case"ECONNREFUSED":{if(this.#e.dualStack){this.#e.runLookup(this.#r,this.#t,(r,n)=>{if(r)return this.#n.onError(r);let i={...this.#t,origin:n};this.#i(i,this)});return}this.#n.onError(e);return}case"ENOTFOUND":this.#e.deleteRecord(this.#r);default:this.#n.onError(e);break}}};vO.exports=t=>{if(t?.maxTTL!=null&&(typeof t?.maxTTL!="number"||t?.maxTTL<0))throw new Ua("Invalid maxTTL. Must be a positive number");if(t?.maxItems!=null&&(typeof t?.maxItems!="number"||t?.maxItems<1))throw new Ua("Invalid maxItems. Must be a positive number and greater than zero");if(t?.affinity!=null&&t?.affinity!==4&&t?.affinity!==6)throw new Ua("Invalid affinity. Must be either 4 or 6");if(t?.dualStack!=null&&typeof t?.dualStack!="boolean")throw new Ua("Invalid dualStack. Must be a boolean");if(t?.lookup!=null&&typeof t?.lookup!="function")throw new Ua("Invalid lookup. Must be a function");if(t?.pick!=null&&typeof t?.pick!="function")throw new Ua("Invalid pick. Must be a function");let e=t?.dualStack??!0,r;e?r=t?.affinity??null:r=t?.affinity??4;let n={maxTTL:t?.maxTTL??1e4,lookup:t?.lookup??null,pick:t?.pick??null,dualStack:e,affinity:r,maxItems:t?.maxItems??1/0},i=new bB(n);return s=>o(function(c,l){let A=c.origin.constructor===URL?c.origin:new URL(c.origin);return Bte(A.hostname)!==0?s(c,l):(i.runLookup(A,c,(u,d)=>{if(u)return l.onError(u);let g=null;g={...c,servername:A.hostname,origin:d,headers:{host:A.hostname,...c.headers}},s(g,i.getHandler({origin:A,dispatch:s,handler:l},c))}),!0)},"dnsInterceptor")}});var ho=h((S1e,kO)=>{"use strict";var{kConstruct:wte}=tt(),{kEnumerableProperty:qa}=Ee(),{iteratorMixin:Nte,isValidHeaderName:uA,isValidHeaderValue:PO}=Tr(),{webidl:xe}=Yt(),wB=require("node:assert"),cp=require("node:util"),Nt=Symbol("headers map"),kr=Symbol("headers map sorted");function _O(t){return t===10||t===13||t===9||t===32}o(_O,"isHTTPWhiteSpaceCharCode");function DO(t){let e=0,r=t.length;for(;r>e&&_O(t.charCodeAt(r-1));)--r;for(;r>e&&_O(t.charCodeAt(e));)++e;return e===0&&r===t.length?t:t.substring(e,r)}o(DO,"headerValueNormalize");function TO(t,e){if(Array.isArray(e))for(let r=0;r>","record"]})}o(TO,"fill");function NB(t,e,r){if(r=DO(r),uA(e)){if(!PO(r))throw xe.errors.invalidArgument({prefix:"Headers.append",value:r,type:"header value"})}else throw xe.errors.invalidArgument({prefix:"Headers.append",value:e,type:"header name"});if(MO(t)==="immutable")throw new TypeError("immutable");return SB(t).append(e,r,!1)}o(NB,"appendHeader");function OO(t,e){return t[0]>1),r[A][0]<=u[0]?l=A+1:c=A;if(s!==A){for(a=s;a>l;)r[a]=r[--a];r[l]=u}}if(!n.next().done)throw new TypeError("Unreachable");return r}else{let n=0;for(let{0:i,1:{value:s}}of this[Nt])r[n++]=[i,s],wB(s!==null);return r.sort(OO)}}},Fn=class t{static{o(this,"Headers")}#e;#t;constructor(e=void 0){xe.util.markAsUncloneable(this),e!==wte&&(this.#t=new lp,this.#e="none",e!==void 0&&(e=xe.converters.HeadersInit(e,"Headers contructor","init"),TO(this,e)))}append(e,r){xe.brandCheck(this,t),xe.argumentLengthCheck(arguments,2,"Headers.append");let n="Headers.append";return e=xe.converters.ByteString(e,n,"name"),r=xe.converters.ByteString(r,n,"value"),NB(this,e,r)}delete(e){if(xe.brandCheck(this,t),xe.argumentLengthCheck(arguments,1,"Headers.delete"),e=xe.converters.ByteString(e,"Headers.delete","name"),!uA(e))throw xe.errors.invalidArgument({prefix:"Headers.delete",value:e,type:"header name"});if(this.#e==="immutable")throw new TypeError("immutable");this.#t.contains(e,!1)&&this.#t.delete(e,!1)}get(e){xe.brandCheck(this,t),xe.argumentLengthCheck(arguments,1,"Headers.get");let r="Headers.get";if(e=xe.converters.ByteString(e,r,"name"),!uA(e))throw xe.errors.invalidArgument({prefix:r,value:e,type:"header name"});return this.#t.get(e,!1)}has(e){xe.brandCheck(this,t),xe.argumentLengthCheck(arguments,1,"Headers.has");let r="Headers.has";if(e=xe.converters.ByteString(e,r,"name"),!uA(e))throw xe.errors.invalidArgument({prefix:r,value:e,type:"header name"});return this.#t.contains(e,!1)}set(e,r){xe.brandCheck(this,t),xe.argumentLengthCheck(arguments,2,"Headers.set");let n="Headers.set";if(e=xe.converters.ByteString(e,n,"name"),r=xe.converters.ByteString(r,n,"value"),r=DO(r),uA(e)){if(!PO(r))throw xe.errors.invalidArgument({prefix:n,value:r,type:"header value"})}else throw xe.errors.invalidArgument({prefix:n,value:e,type:"header name"});if(this.#e==="immutable")throw new TypeError("immutable");this.#t.set(e,r,!1)}getSetCookie(){xe.brandCheck(this,t);let e=this.#t.cookies;return e?[...e]:[]}get[kr](){if(this.#t[kr])return this.#t[kr];let e=[],r=this.#t.toSortedArray(),n=this.#t.cookies;if(n===null||n.length===1)return this.#t[kr]=r;for(let i=0;i>"](t,e,r,n.bind(t)):xe.converters["record"](t,e,r)}throw xe.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence>","record"]})};kO.exports={fill:TO,compareHeaderName:OO,Headers:Fn,HeadersList:lp,getHeadersGuard:MO,setHeadersGuard:Ste,setHeadersList:xte,getHeadersList:SB}});var pA=h((v1e,WO)=>{"use strict";var{Headers:zO,HeadersList:LO,fill:vte,getHeadersGuard:Rte,setHeadersGuard:jO,setHeadersList:GO}=ho(),{extractBody:FO,cloneBody:_te,mixinBody:Pte,hasFinalizationRegistry:YO,streamRegistry:JO,bodyUnusable:Dte}=Ba(),xB=Ee(),UO=require("node:util"),{kEnumerableProperty:Lr}=xB,{isValidReasonPhrase:Tte,isCancelled:Ote,isAborted:Mte,isBlobLike:kte,serializeJavascriptValueToJSONString:Lte,isErrorLike:Fte,isomorphicEncode:Ute,environmentSettingsObject:qte}=Tr(),{redirectStatusSet:Hte,nullBodyStatus:zte}=Ml(),{kState:rt,kHeaders:ji}=cs(),{webidl:fe}=Yt(),{FormData:jte}=Hl(),{URLSerializer:qO}=hr(),{kConstruct:up}=tt(),vB=require("node:assert"),{types:Gte}=require("node:util"),Yte=new TextEncoder("utf-8"),yo=class t{static{o(this,"Response")}static error(){return dA(dp(),"immutable")}static json(e,r={}){fe.argumentLengthCheck(arguments,1,"Response.json"),r!==null&&(r=fe.converters.ResponseInit(r));let n=Yte.encode(Lte(e)),i=FO(n),s=dA(Ha({}),"response");return HO(s,r,{body:i[0],type:"application/json"}),s}static redirect(e,r=302){fe.argumentLengthCheck(arguments,1,"Response.redirect"),e=fe.converters.USVString(e),r=fe.converters["unsigned short"](r);let n;try{n=new URL(e,qte.settingsObject.baseUrl)}catch(a){throw new TypeError(`Failed to parse URL from ${e}`,{cause:a})}if(!Hte.has(r))throw new RangeError(`Invalid status code ${r}`);let i=dA(Ha({}),"immutable");i[rt].status=r;let s=Ute(qO(n));return i[rt].headersList.append("location",s,!0),i}constructor(e=null,r={}){if(fe.util.markAsUncloneable(this),e===up)return;e!==null&&(e=fe.converters.BodyInit(e)),r=fe.converters.ResponseInit(r),this[rt]=Ha({}),this[ji]=new zO(up),jO(this[ji],"response"),GO(this[ji],this[rt].headersList);let n=null;if(e!=null){let[i,s]=FO(e);n={body:i,type:s}}HO(this,r,n)}get type(){return fe.brandCheck(this,t),this[rt].type}get url(){fe.brandCheck(this,t);let e=this[rt].urlList,r=e[e.length-1]??null;return r===null?"":qO(r,!0)}get redirected(){return fe.brandCheck(this,t),this[rt].urlList.length>1}get status(){return fe.brandCheck(this,t),this[rt].status}get ok(){return fe.brandCheck(this,t),this[rt].status>=200&&this[rt].status<=299}get statusText(){return fe.brandCheck(this,t),this[rt].statusText}get headers(){return fe.brandCheck(this,t),this[ji]}get body(){return fe.brandCheck(this,t),this[rt].body?this[rt].body.stream:null}get bodyUsed(){return fe.brandCheck(this,t),!!this[rt].body&&xB.isDisturbed(this[rt].body.stream)}clone(){if(fe.brandCheck(this,t),Dte(this))throw fe.errors.exception({header:"Response.clone",message:"Body has already been consumed."});let e=RB(this[rt]);return YO&&this[rt].body?.stream&&JO.register(this,new WeakRef(this[rt].body.stream)),dA(e,Rte(this[ji]))}[UO.inspect.custom](e,r){r.depth===null&&(r.depth=2),r.colors??=!0;let n={status:this.status,statusText:this.statusText,headers:this.headers,body:this.body,bodyUsed:this.bodyUsed,ok:this.ok,redirected:this.redirected,type:this.type,url:this.url};return`Response ${UO.formatWithOptions(r,n)}`}};Pte(yo);Object.defineProperties(yo.prototype,{type:Lr,url:Lr,status:Lr,ok:Lr,redirected:Lr,statusText:Lr,headers:Lr,clone:Lr,body:Lr,bodyUsed:Lr,[Symbol.toStringTag]:{value:"Response",configurable:!0}});Object.defineProperties(yo,{json:Lr,redirect:Lr,error:Lr});function RB(t){if(t.internalResponse)return VO(RB(t.internalResponse),t.type);let e=Ha({...t,body:null});return t.body!=null&&(e.body=_te(e,t.body)),e}o(RB,"cloneResponse");function Ha(t){return{aborted:!1,rangeRequested:!1,timingAllowPassed:!1,requestIncludesCredentials:!1,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...t,headersList:t?.headersList?new LO(t?.headersList):new LO,urlList:t?.urlList?[...t.urlList]:[]}}o(Ha,"makeResponse");function dp(t){let e=Fte(t);return Ha({type:"error",status:0,error:e?t:new Error(t&&String(t)),aborted:t&&t.name==="AbortError"})}o(dp,"makeNetworkError");function Jte(t){return t.type==="error"&&t.status===0}o(Jte,"isNetworkError");function Ap(t,e){return e={internalResponse:t,...e},new Proxy(t,{get(r,n){return n in e?e[n]:r[n]},set(r,n,i){return vB(!(n in e)),r[n]=i,!0}})}o(Ap,"makeFilteredResponse");function VO(t,e){if(e==="basic")return Ap(t,{type:"basic",headersList:t.headersList});if(e==="cors")return Ap(t,{type:"cors",headersList:t.headersList});if(e==="opaque")return Ap(t,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null});if(e==="opaqueredirect")return Ap(t,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null});vB(!1)}o(VO,"filterResponse");function Vte(t,e=null){return vB(Ote(t)),Mte(t)?dp(Object.assign(new DOMException("The operation was aborted.","AbortError"),{cause:e})):dp(Object.assign(new DOMException("Request was cancelled."),{cause:e}))}o(Vte,"makeAppropriateNetworkError");function HO(t,e,r){if(e.status!==null&&(e.status<200||e.status>599))throw new RangeError('init["status"] must be in the range of 200 to 599, inclusive.');if("statusText"in e&&e.statusText!=null&&!Tte(String(e.statusText)))throw new TypeError("Invalid statusText");if("status"in e&&e.status!=null&&(t[rt].status=e.status),"statusText"in e&&e.statusText!=null&&(t[rt].statusText=e.statusText),"headers"in e&&e.headers!=null&&vte(t[ji],e.headers),r){if(zte.includes(t.status))throw fe.errors.exception({header:"Response constructor",message:`Invalid response status code ${t.status}`});t[rt].body=r.body,r.type!=null&&!t[rt].headersList.contains("content-type",!0)&&t[rt].headersList.append("content-type",r.type,!0)}}o(HO,"initializeResponse");function dA(t,e){let r=new yo(up);return r[rt]=t,r[ji]=new zO(up),GO(r[ji],t.headersList),jO(r[ji],e),YO&&t.body?.stream&&JO.register(r,new WeakRef(t.body.stream)),r}o(dA,"fromInnerResponse");fe.converters.ReadableStream=fe.interfaceConverter(ReadableStream);fe.converters.FormData=fe.interfaceConverter(jte);fe.converters.URLSearchParams=fe.interfaceConverter(URLSearchParams);fe.converters.XMLHttpRequestBodyInit=function(t,e,r){return typeof t=="string"?fe.converters.USVString(t,e,r):kte(t)?fe.converters.Blob(t,e,r,{strict:!1}):ArrayBuffer.isView(t)||Gte.isArrayBuffer(t)?fe.converters.BufferSource(t,e,r):xB.isFormDataLike(t)?fe.converters.FormData(t,e,r,{strict:!1}):t instanceof URLSearchParams?fe.converters.URLSearchParams(t,e,r):fe.converters.DOMString(t,e,r)};fe.converters.BodyInit=function(t,e,r){return t instanceof ReadableStream?fe.converters.ReadableStream(t,e,r):t?.[Symbol.asyncIterator]?t:fe.converters.XMLHttpRequestBodyInit(t,e,r)};fe.converters.ResponseInit=fe.dictionaryConverter([{key:"status",converter:fe.converters["unsigned short"],defaultValue:()=>200},{key:"statusText",converter:fe.converters.ByteString,defaultValue:()=>""},{key:"headers",converter:fe.converters.HeadersInit}]);WO.exports={isNetworkError:Jte,makeNetworkError:dp,makeResponse:Ha,makeAppropriateNetworkError:Vte,filterResponse:VO,Response:yo,cloneResponse:RB,fromInnerResponse:dA}});var ZO=h((_1e,XO)=>{"use strict";var{kConnected:KO,kSize:$O}=tt(),_B=class{static{o(this,"CompatWeakRef")}constructor(e){this.value=e}deref(){return this.value[KO]===0&&this.value[$O]===0?void 0:this.value}},PB=class{static{o(this,"CompatFinalizer")}constructor(e){this.finalizer=e}register(e,r){e.on&&e.on("disconnect",()=>{e[KO]===0&&e[$O]===0&&this.finalizer(r)})}unregister(e){}};XO.exports=function(){return process.env.NODE_V8_COVERAGE&&process.version.startsWith("v18")?(process._rawDebug("Using compatibility WeakRef and FinalizationRegistry"),{WeakRef:_B,FinalizationRegistry:PB}):{WeakRef,FinalizationRegistry}}});var za=h((D1e,mM)=>{"use strict";var{extractBody:Wte,mixinBody:Kte,cloneBody:$te,bodyUnusable:eM}=Ba(),{Headers:lM,fill:Xte,HeadersList:fp,setHeadersGuard:TB,getHeadersGuard:Zte,setHeadersList:AM,getHeadersList:tM}=ho(),{FinalizationRegistry:ere}=ZO()(),mp=Ee(),rM=require("node:util"),{isValidHTTPToken:tre,sameOrigin:nM,environmentSettingsObject:pp}=Tr(),{forbiddenMethodsSet:rre,corsSafeListedMethodsSet:nre,referrerPolicy:ire,requestRedirect:sre,requestMode:ore,requestCredentials:are,requestCache:cre,requestDuplex:lre}=Ml(),{kEnumerableProperty:St,normalizedMethodRecordsBase:Are,normalizedMethodRecords:ure}=mp,{kHeaders:Fr,kSignal:gp,kState:Xe,kDispatcher:DB}=cs(),{webidl:ae}=Yt(),{URLSerializer:dre}=hr(),{kConstruct:hp}=tt(),pre=require("node:assert"),{getMaxListeners:iM,setMaxListeners:sM,getEventListeners:mre,defaultMaxListeners:oM}=require("node:events"),gre=Symbol("abortController"),uM=new ere(({signal:t,abort:e})=>{t.removeEventListener("abort",e)}),yp=new WeakMap;function aM(t){return e;function e(){let r=t.deref();if(r!==void 0){uM.unregister(e),this.removeEventListener("abort",e),r.abort(this.reason);let n=yp.get(r.signal);if(n!==void 0){if(n.size!==0){for(let i of n){let s=i.deref();s!==void 0&&s.abort(this.reason)}n.clear()}yp.delete(r.signal)}}}}o(aM,"buildAbort");var cM=!1,Es=class t{static{o(this,"Request")}constructor(e,r={}){if(ae.util.markAsUncloneable(this),e===hp)return;let n="Request constructor";ae.argumentLengthCheck(arguments,1,n),e=ae.converters.RequestInfo(e,n,"input"),r=ae.converters.RequestInit(r,n,"init");let i=null,s=null,a=pp.settingsObject.baseUrl,c=null;if(typeof e=="string"){this[DB]=r.dispatcher;let w;try{w=new URL(e,a)}catch(v){throw new TypeError("Failed to parse URL from "+e,{cause:v})}if(w.username||w.password)throw new TypeError("Request cannot be constructed from a URL that includes credentials: "+e);i=Cp({urlList:[w]}),s="cors"}else this[DB]=r.dispatcher||e[DB],pre(e instanceof t),i=e[Xe],c=e[gp];let l=pp.settingsObject.origin,A="client";if(i.window?.constructor?.name==="EnvironmentSettingsObject"&&nM(i.window,l)&&(A=i.window),r.window!=null)throw new TypeError(`'window' option '${A}' must be null`);"window"in r&&(A="no-window"),i=Cp({method:i.method,headersList:i.headersList,unsafeRequest:i.unsafeRequest,client:pp.settingsObject,window:A,priority:i.priority,origin:i.origin,referrer:i.referrer,referrerPolicy:i.referrerPolicy,mode:i.mode,credentials:i.credentials,cache:i.cache,redirect:i.redirect,integrity:i.integrity,keepalive:i.keepalive,reloadNavigation:i.reloadNavigation,historyNavigation:i.historyNavigation,urlList:[...i.urlList]});let u=Object.keys(r).length!==0;if(u&&(i.mode==="navigate"&&(i.mode="same-origin"),i.reloadNavigation=!1,i.historyNavigation=!1,i.origin="client",i.referrer="client",i.referrerPolicy="",i.url=i.urlList[i.urlList.length-1],i.urlList=[i.url]),r.referrer!==void 0){let w=r.referrer;if(w==="")i.referrer="no-referrer";else{let v;try{v=new URL(w,a)}catch(T){throw new TypeError(`Referrer "${w}" is not a valid URL.`,{cause:T})}v.protocol==="about:"&&v.hostname==="client"||l&&!nM(v,pp.settingsObject.baseUrl)?i.referrer="client":i.referrer=v}}r.referrerPolicy!==void 0&&(i.referrerPolicy=r.referrerPolicy);let d;if(r.mode!==void 0?d=r.mode:d=s,d==="navigate")throw ae.errors.exception({header:"Request constructor",message:"invalid request mode navigate."});if(d!=null&&(i.mode=d),r.credentials!==void 0&&(i.credentials=r.credentials),r.cache!==void 0&&(i.cache=r.cache),i.cache==="only-if-cached"&&i.mode!=="same-origin")throw new TypeError("'only-if-cached' can be set only with 'same-origin' mode");if(r.redirect!==void 0&&(i.redirect=r.redirect),r.integrity!=null&&(i.integrity=String(r.integrity)),r.keepalive!==void 0&&(i.keepalive=!!r.keepalive),r.method!==void 0){let w=r.method,v=ure[w];if(v!==void 0)i.method=v;else{if(!tre(w))throw new TypeError(`'${w}' is not a valid HTTP method.`);let T=w.toUpperCase();if(rre.has(T))throw new TypeError(`'${w}' HTTP method is unsupported.`);w=Are[T]??w,i.method=w}!cM&&i.method==="patch"&&(process.emitWarning("Using `patch` is highly likely to result in a `405 Method Not Allowed`. `PATCH` is much more likely to succeed.",{code:"UNDICI-FETCH-patch"}),cM=!0)}r.signal!==void 0&&(c=r.signal),this[Xe]=i;let g=new AbortController;if(this[gp]=g.signal,c!=null){if(!c||typeof c.aborted!="boolean"||typeof c.addEventListener!="function")throw new TypeError("Failed to construct 'Request': member signal is not of type AbortSignal.");if(c.aborted)g.abort(c.reason);else{this[gre]=g;let w=new WeakRef(g),v=aM(w);try{(typeof iM=="function"&&iM(c)===oM||mre(c,"abort").length>=oM)&&sM(1500,c)}catch{}mp.addAbortListener(c,v),uM.register(g,{signal:c,abort:v},v)}}if(this[Fr]=new lM(hp),AM(this[Fr],i.headersList),TB(this[Fr],"request"),d==="no-cors"){if(!nre.has(i.method))throw new TypeError(`'${i.method} is unsupported in no-cors mode.`);TB(this[Fr],"request-no-cors")}if(u){let w=tM(this[Fr]),v=r.headers!==void 0?r.headers:new fp(w);if(w.clear(),v instanceof fp){for(let{name:T,value:L}of v.rawValues())w.append(T,L,!1);w.cookies=v.cookies}else Xte(this[Fr],v)}let f=e instanceof t?e[Xe].body:null;if((r.body!=null||f!=null)&&(i.method==="GET"||i.method==="HEAD"))throw new TypeError("Request with GET/HEAD method cannot have body.");let C=null;if(r.body!=null){let[w,v]=Wte(r.body,i.keepalive);C=w,v&&!tM(this[Fr]).contains("content-type",!0)&&this[Fr].append("content-type",v)}let Q=C??f;if(Q!=null&&Q.source==null){if(C!=null&&r.duplex==null)throw new TypeError("RequestInit: duplex option is required when sending a body.");if(i.mode!=="same-origin"&&i.mode!=="cors")throw new TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"');i.useCORSPreflightFlag=!0}let x=Q;if(C==null&&f!=null){if(eM(e))throw new TypeError("Cannot construct a Request with a Request object that has already been used.");let w=new TransformStream;f.stream.pipeThrough(w),x={source:f.source,length:f.length,stream:w.readable}}this[Xe].body=x}get method(){return ae.brandCheck(this,t),this[Xe].method}get url(){return ae.brandCheck(this,t),dre(this[Xe].url)}get headers(){return ae.brandCheck(this,t),this[Fr]}get destination(){return ae.brandCheck(this,t),this[Xe].destination}get referrer(){return ae.brandCheck(this,t),this[Xe].referrer==="no-referrer"?"":this[Xe].referrer==="client"?"about:client":this[Xe].referrer.toString()}get referrerPolicy(){return ae.brandCheck(this,t),this[Xe].referrerPolicy}get mode(){return ae.brandCheck(this,t),this[Xe].mode}get credentials(){return this[Xe].credentials}get cache(){return ae.brandCheck(this,t),this[Xe].cache}get redirect(){return ae.brandCheck(this,t),this[Xe].redirect}get integrity(){return ae.brandCheck(this,t),this[Xe].integrity}get keepalive(){return ae.brandCheck(this,t),this[Xe].keepalive}get isReloadNavigation(){return ae.brandCheck(this,t),this[Xe].reloadNavigation}get isHistoryNavigation(){return ae.brandCheck(this,t),this[Xe].historyNavigation}get signal(){return ae.brandCheck(this,t),this[gp]}get body(){return ae.brandCheck(this,t),this[Xe].body?this[Xe].body.stream:null}get bodyUsed(){return ae.brandCheck(this,t),!!this[Xe].body&&mp.isDisturbed(this[Xe].body.stream)}get duplex(){return ae.brandCheck(this,t),"half"}clone(){if(ae.brandCheck(this,t),eM(this))throw new TypeError("unusable");let e=dM(this[Xe]),r=new AbortController;if(this.signal.aborted)r.abort(this.signal.reason);else{let n=yp.get(this.signal);n===void 0&&(n=new Set,yp.set(this.signal,n));let i=new WeakRef(r);n.add(i),mp.addAbortListener(r.signal,aM(i))}return pM(e,r.signal,Zte(this[Fr]))}[rM.inspect.custom](e,r){r.depth===null&&(r.depth=2),r.colors??=!0;let n={method:this.method,url:this.url,headers:this.headers,destination:this.destination,referrer:this.referrer,referrerPolicy:this.referrerPolicy,mode:this.mode,credentials:this.credentials,cache:this.cache,redirect:this.redirect,integrity:this.integrity,keepalive:this.keepalive,isReloadNavigation:this.isReloadNavigation,isHistoryNavigation:this.isHistoryNavigation,signal:this.signal};return`Request ${rM.formatWithOptions(r,n)}`}};Kte(Es);function Cp(t){return{method:t.method??"GET",localURLsOnly:t.localURLsOnly??!1,unsafeRequest:t.unsafeRequest??!1,body:t.body??null,client:t.client??null,reservedClient:t.reservedClient??null,replacesClientId:t.replacesClientId??"",window:t.window??"client",keepalive:t.keepalive??!1,serviceWorkers:t.serviceWorkers??"all",initiator:t.initiator??"",destination:t.destination??"",priority:t.priority??null,origin:t.origin??"client",policyContainer:t.policyContainer??"client",referrer:t.referrer??"client",referrerPolicy:t.referrerPolicy??"",mode:t.mode??"no-cors",useCORSPreflightFlag:t.useCORSPreflightFlag??!1,credentials:t.credentials??"same-origin",useCredentials:t.useCredentials??!1,cache:t.cache??"default",redirect:t.redirect??"follow",integrity:t.integrity??"",cryptoGraphicsNonceMetadata:t.cryptoGraphicsNonceMetadata??"",parserMetadata:t.parserMetadata??"",reloadNavigation:t.reloadNavigation??!1,historyNavigation:t.historyNavigation??!1,userActivation:t.userActivation??!1,taintedOrigin:t.taintedOrigin??!1,redirectCount:t.redirectCount??0,responseTainting:t.responseTainting??"basic",preventNoCacheCacheControlHeaderModification:t.preventNoCacheCacheControlHeaderModification??!1,done:t.done??!1,timingAllowFailed:t.timingAllowFailed??!1,urlList:t.urlList,url:t.urlList[0],headersList:t.headersList?new fp(t.headersList):new fp}}o(Cp,"makeRequest");function dM(t){let e=Cp({...t,body:null});return t.body!=null&&(e.body=$te(e,t.body)),e}o(dM,"cloneRequest");function pM(t,e,r){let n=new Es(hp);return n[Xe]=t,n[gp]=e,n[Fr]=new lM(hp),AM(n[Fr],t.headersList),TB(n[Fr],r),n}o(pM,"fromInnerRequest");Object.defineProperties(Es.prototype,{method:St,url:St,headers:St,redirect:St,clone:St,signal:St,duplex:St,destination:St,body:St,bodyUsed:St,isHistoryNavigation:St,isReloadNavigation:St,keepalive:St,integrity:St,cache:St,credentials:St,attribute:St,referrerPolicy:St,referrer:St,mode:St,[Symbol.toStringTag]:{value:"Request",configurable:!0}});ae.converters.Request=ae.interfaceConverter(Es);ae.converters.RequestInfo=function(t,e,r){return typeof t=="string"?ae.converters.USVString(t,e,r):t instanceof Es?ae.converters.Request(t,e,r):ae.converters.USVString(t,e,r)};ae.converters.AbortSignal=ae.interfaceConverter(AbortSignal);ae.converters.RequestInit=ae.dictionaryConverter([{key:"method",converter:ae.converters.ByteString},{key:"headers",converter:ae.converters.HeadersInit},{key:"body",converter:ae.nullableConverter(ae.converters.BodyInit)},{key:"referrer",converter:ae.converters.USVString},{key:"referrerPolicy",converter:ae.converters.DOMString,allowedValues:ire},{key:"mode",converter:ae.converters.DOMString,allowedValues:ore},{key:"credentials",converter:ae.converters.DOMString,allowedValues:are},{key:"cache",converter:ae.converters.DOMString,allowedValues:cre},{key:"redirect",converter:ae.converters.DOMString,allowedValues:sre},{key:"integrity",converter:ae.converters.DOMString},{key:"keepalive",converter:ae.converters.boolean},{key:"signal",converter:ae.nullableConverter(t=>ae.converters.AbortSignal(t,"RequestInit","signal",{strict:!1}))},{key:"window",converter:ae.converters.any},{key:"duplex",converter:ae.converters.DOMString,allowedValues:lre},{key:"dispatcher",converter:ae.converters.any}]);mM.exports={Request:Es,makeRequest:Cp,fromInnerRequest:pM,cloneRequest:dM}});var gA=h((O1e,vM)=>{"use strict";var{makeNetworkError:He,makeAppropriateNetworkError:Ep,filterResponse:OB,makeResponse:Bp,fromInnerResponse:fre}=pA(),{HeadersList:gM}=ho(),{Request:hre,cloneRequest:yre}=za(),Bs=require("node:zlib"),{bytesMatch:Cre,makePolicyContainer:Ere,clonePolicyContainer:Bre,requestBadPort:Ire,TAOCheck:bre,appendRequestOriginHeader:Qre,responseLocationURL:wre,requestCurrentURL:li,setRequestReferrerPolicyOnRedirect:Nre,tryUpgradeRequestToAPotentiallyTrustworthyURL:Sre,createOpaqueTimingInfo:UB,appendFetchMetadata:xre,corsCheck:vre,crossOriginResourcePolicyCheck:Rre,determineRequestsReferrer:_re,coarsenedSharedCurrentTime:mA,createDeferredPromise:Pre,isBlobLike:Dre,sameOrigin:FB,isCancelled:Co,isAborted:fM,isErrorLike:Tre,fullyReadBody:Ore,readableStreamClose:Mre,isomorphicEncode:Ip,urlIsLocal:kre,urlIsHttpHttpsScheme:qB,urlHasHttpsScheme:Lre,clampAndCoarsenConnectionTimingInfo:Fre,simpleRangeHeaderValue:Ure,buildContentRange:qre,createInflate:Hre,extractMimeType:zre}=Tr(),{kState:EM,kDispatcher:jre}=cs(),Eo=require("node:assert"),{safelyExtractBody:HB,extractBody:hM}=Ba(),{redirectStatusSet:BM,nullBodyStatus:IM,safeMethodsSet:Gre,requestBodyHeader:Yre,subresourceSet:Jre}=Ml(),Vre=require("node:events"),{Readable:Wre,pipeline:Kre,finished:$re}=require("node:stream"),{addAbortListener:Xre,isErrored:Zre,isReadable:bp,bufferToLowerCasedHeaderName:yM}=Ee(),{dataURLProcessor:ene,serializeAMimeType:tne,minimizeSupportedMimeType:rne}=hr(),{getGlobalDispatcher:nne}=op(),{webidl:ine}=Yt(),{STATUS_CODES:sne}=require("node:http"),one=["GET","HEAD"],ane=typeof __UNDICI_IS_NODE__<"u"||typeof esbuildDetection<"u"?"node":"undici",MB,Qp=class extends Vre{static{o(this,"Fetch")}constructor(e){super(),this.dispatcher=e,this.connection=null,this.dump=!1,this.state="ongoing"}terminate(e){this.state==="ongoing"&&(this.state="terminated",this.connection?.destroy(e),this.emit("terminated",e))}abort(e){this.state==="ongoing"&&(this.state="aborted",e||(e=new DOMException("The operation was aborted.","AbortError")),this.serializedAbortReason=e,this.connection?.destroy(e),this.emit("terminated",e))}};function cne(t){bM(t,"fetch")}o(cne,"handleFetchDone");function lne(t,e=void 0){ine.argumentLengthCheck(arguments,1,"globalThis.fetch");let r=Pre(),n;try{n=new hre(t,e)}catch(u){return r.reject(u),r.promise}let i=n[EM];if(n.signal.aborted)return kB(r,i,null,n.signal.reason),r.promise;i.client.globalObject?.constructor?.name==="ServiceWorkerGlobalScope"&&(i.serviceWorkers="none");let a=null,c=!1,l=null;return Xre(n.signal,()=>{c=!0,Eo(l!=null),l.abort(n.signal.reason);let u=a?.deref();kB(r,i,u,n.signal.reason)}),l=wM({request:i,processResponseEndOfBody:cne,processResponse:o(u=>{if(!c){if(u.aborted){kB(r,i,a,l.serializedAbortReason);return}if(u.type==="error"){r.reject(new TypeError("fetch failed",{cause:u.error}));return}a=new WeakRef(fre(u,"immutable")),r.resolve(a.deref()),r=null}},"processResponse"),dispatcher:n[jre]}),r.promise}o(lne,"fetch");function bM(t,e="other"){if(t.type==="error"&&t.aborted||!t.urlList?.length)return;let r=t.urlList[0],n=t.timingInfo,i=t.cacheState;qB(r)&&n!==null&&(t.timingAllowPassed||(n=UB({startTime:n.startTime}),i=""),n.endTime=mA(),t.timingInfo=n,QM(n,r.href,e,globalThis,i))}o(bM,"finalizeAndReportTiming");var QM=performance.markResourceTiming;function kB(t,e,r,n){if(t&&t.reject(n),e.body!=null&&bp(e.body?.stream)&&e.body.stream.cancel(n).catch(s=>{if(s.code!=="ERR_INVALID_STATE")throw s}),r==null)return;let i=r[EM];i.body!=null&&bp(i.body?.stream)&&i.body.stream.cancel(n).catch(s=>{if(s.code!=="ERR_INVALID_STATE")throw s})}o(kB,"abortFetch");function wM({request:t,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:n,processResponseEndOfBody:i,processResponseConsumeBody:s,useParallelQueue:a=!1,dispatcher:c=nne()}){Eo(c);let l=null,A=!1;t.client!=null&&(l=t.client.globalObject,A=t.client.crossOriginIsolatedCapability);let u=mA(A),d=UB({startTime:u}),g={controller:new Qp(c),request:t,timingInfo:d,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:n,processResponseConsumeBody:s,processResponseEndOfBody:i,taskDestination:l,crossOriginIsolatedCapability:A};return Eo(!t.body||t.body.stream),t.window==="client"&&(t.window=t.client?.globalObject?.constructor?.name==="Window"?t.client:"no-window"),t.origin==="client"&&(t.origin=t.client.origin),t.policyContainer==="client"&&(t.client!=null?t.policyContainer=Bre(t.client.policyContainer):t.policyContainer=Ere()),t.headersList.contains("accept",!0)||t.headersList.append("accept","*/*",!0),t.headersList.contains("accept-language",!0)||t.headersList.append("accept-language","*",!0),t.priority,Jre.has(t.destination),NM(g).catch(f=>{g.controller.terminate(f)}),g.controller}o(wM,"fetching");async function NM(t,e=!1){let r=t.request,n=null;if(r.localURLsOnly&&!kre(li(r))&&(n=He("local URLs only")),Sre(r),Ire(r)==="blocked"&&(n=He("bad port")),r.referrerPolicy===""&&(r.referrerPolicy=r.policyContainer.referrerPolicy),r.referrer!=="no-referrer"&&(r.referrer=_re(r)),n===null&&(n=await(async()=>{let s=li(r);return FB(s,r.url)&&r.responseTainting==="basic"||s.protocol==="data:"||r.mode==="navigate"||r.mode==="websocket"?(r.responseTainting="basic",await CM(t)):r.mode==="same-origin"?He('request mode cannot be "same-origin"'):r.mode==="no-cors"?r.redirect!=="follow"?He('redirect mode cannot be "follow" for "no-cors" request'):(r.responseTainting="opaque",await CM(t)):qB(li(r))?(r.responseTainting="cors",await SM(t)):He("URL scheme must be a HTTP(S) scheme")})()),e)return n;n.status!==0&&!n.internalResponse&&(r.responseTainting,r.responseTainting==="basic"?n=OB(n,"basic"):r.responseTainting==="cors"?n=OB(n,"cors"):r.responseTainting==="opaque"?n=OB(n,"opaque"):Eo(!1));let i=n.status===0?n:n.internalResponse;if(i.urlList.length===0&&i.urlList.push(...r.urlList),r.timingAllowFailed||(n.timingAllowPassed=!0),n.type==="opaque"&&i.status===206&&i.rangeRequested&&!r.headers.contains("range",!0)&&(n=i=He()),n.status!==0&&(r.method==="HEAD"||r.method==="CONNECT"||IM.includes(i.status))&&(i.body=null,t.controller.dump=!0),r.integrity){let s=o(c=>LB(t,He(c)),"processBodyError");if(r.responseTainting==="opaque"||n.body==null){s(n.error);return}let a=o(c=>{if(!Cre(c,r.integrity)){s("integrity mismatch");return}n.body=HB(c)[0],LB(t,n)},"processBody");await Ore(n.body,a,s)}else LB(t,n)}o(NM,"mainFetch");function CM(t){if(Co(t)&&t.request.redirectCount===0)return Promise.resolve(Ep(t));let{request:e}=t,{protocol:r}=li(e);switch(r){case"about:":return Promise.resolve(He("about scheme is not supported"));case"blob:":{MB||(MB=require("node:buffer").resolveObjectURL);let n=li(e);if(n.search.length!==0)return Promise.resolve(He("NetworkError when attempting to fetch resource."));let i=MB(n.toString());if(e.method!=="GET"||!Dre(i))return Promise.resolve(He("invalid method"));let s=Bp(),a=i.size,c=Ip(`${a}`),l=i.type;if(e.headersList.contains("range",!0)){s.rangeRequested=!0;let A=e.headersList.get("range",!0),u=Ure(A,!0);if(u==="failure")return Promise.resolve(He("failed to fetch the data URL"));let{rangeStartValue:d,rangeEndValue:g}=u;if(d===null)d=a-g,g=d+g-1;else{if(d>=a)return Promise.resolve(He("Range start is greater than the blob's size."));(g===null||g>=a)&&(g=a-1)}let f=i.slice(d,g,l),C=hM(f);s.body=C[0];let Q=Ip(`${f.size}`),x=qre(d,g,a);s.status=206,s.statusText="Partial Content",s.headersList.set("content-length",Q,!0),s.headersList.set("content-type",l,!0),s.headersList.set("content-range",x,!0)}else{let A=hM(i);s.statusText="OK",s.body=A[0],s.headersList.set("content-length",c,!0),s.headersList.set("content-type",l,!0)}return Promise.resolve(s)}case"data:":{let n=li(e),i=ene(n);if(i==="failure")return Promise.resolve(He("failed to fetch the data URL"));let s=tne(i.mimeType);return Promise.resolve(Bp({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:s}]],body:HB(i.body)[0]}))}case"file:":return Promise.resolve(He("not implemented... yet..."));case"http:":case"https:":return SM(t).catch(n=>He(n));default:return Promise.resolve(He("unknown scheme"))}}o(CM,"schemeFetch");function Ane(t,e){t.request.done=!0,t.processResponseDone!=null&&queueMicrotask(()=>t.processResponseDone(e))}o(Ane,"finalizeResponse");function LB(t,e){let r=t.timingInfo,n=o(()=>{let s=Date.now();t.request.destination==="document"&&(t.controller.fullTimingInfo=r),t.controller.reportTimingSteps=()=>{if(t.request.url.protocol!=="https:")return;r.endTime=s;let c=e.cacheState,l=e.bodyInfo;e.timingAllowPassed||(r=UB(r),c="");let A=0;if(t.request.mode!=="navigator"||!e.hasCrossOriginRedirects){A=e.status;let u=zre(e.headersList);u!=="failure"&&(l.contentType=rne(u))}t.request.initiatorType!=null&&QM(r,t.request.url.href,t.request.initiatorType,globalThis,c,l,A)};let a=o(()=>{t.request.done=!0,t.processResponseEndOfBody!=null&&queueMicrotask(()=>t.processResponseEndOfBody(e)),t.request.initiatorType!=null&&t.controller.reportTimingSteps()},"processResponseEndOfBodyTask");queueMicrotask(()=>a())},"processResponseEndOfBody");t.processResponse!=null&&queueMicrotask(()=>{t.processResponse(e),t.processResponse=null});let i=e.type==="error"?e:e.internalResponse??e;i.body==null?n():$re(i.body.stream,()=>{n()})}o(LB,"fetchFinale");async function SM(t){let e=t.request,r=null,n=null,i=t.timingInfo;if(e.serviceWorkers,r===null){if(e.redirect==="follow"&&(e.serviceWorkers="none"),n=r=await xM(t),e.responseTainting==="cors"&&vre(e,r)==="failure")return He("cors failure");bre(e,r)==="failure"&&(e.timingAllowFailed=!0)}return(e.responseTainting==="opaque"||r.type==="opaque")&&Rre(e.origin,e.client,e.destination,n)==="blocked"?He("blocked"):(BM.has(n.status)&&(e.redirect!=="manual"&&t.controller.connection.destroy(void 0,!1),e.redirect==="error"?r=He("unexpected redirect"):e.redirect==="manual"?r=n:e.redirect==="follow"?r=await une(t,r):Eo(!1)),r.timingInfo=i,r)}o(SM,"httpFetch");function une(t,e){let r=t.request,n=e.internalResponse?e.internalResponse:e,i;try{if(i=wre(n,li(r).hash),i==null)return e}catch(a){return Promise.resolve(He(a))}if(!qB(i))return Promise.resolve(He("URL scheme must be a HTTP(S) scheme"));if(r.redirectCount===20)return Promise.resolve(He("redirect count exceeded"));if(r.redirectCount+=1,r.mode==="cors"&&(i.username||i.password)&&!FB(r,i))return Promise.resolve(He('cross origin not allowed for request mode "cors"'));if(r.responseTainting==="cors"&&(i.username||i.password))return Promise.resolve(He('URL cannot contain credentials for request mode "cors"'));if(n.status!==303&&r.body!=null&&r.body.source==null)return Promise.resolve(He());if([301,302].includes(n.status)&&r.method==="POST"||n.status===303&&!one.includes(r.method)){r.method="GET",r.body=null;for(let a of Yre)r.headersList.delete(a)}FB(li(r),i)||(r.headersList.delete("authorization",!0),r.headersList.delete("proxy-authorization",!0),r.headersList.delete("cookie",!0),r.headersList.delete("host",!0)),r.body!=null&&(Eo(r.body.source!=null),r.body=HB(r.body.source)[0]);let s=t.timingInfo;return s.redirectEndTime=s.postRedirectStartTime=mA(t.crossOriginIsolatedCapability),s.redirectStartTime===0&&(s.redirectStartTime=s.startTime),r.urlList.push(i),Nre(r,n),NM(t,!0)}o(une,"httpRedirectFetch");async function xM(t,e=!1,r=!1){let n=t.request,i=null,s=null,a=null,c=null,l=!1;n.window==="no-window"&&n.redirect==="error"?(i=t,s=n):(s=yre(n),i={...t},i.request=s);let A=n.credentials==="include"||n.credentials==="same-origin"&&n.responseTainting==="basic",u=s.body?s.body.length:null,d=null;if(s.body==null&&["POST","PUT"].includes(s.method)&&(d="0"),u!=null&&(d=Ip(`${u}`)),d!=null&&s.headersList.append("content-length",d,!0),u!=null&&s.keepalive,s.referrer instanceof URL&&s.headersList.append("referer",Ip(s.referrer.href),!0),Qre(s),xre(s),s.headersList.contains("user-agent",!0)||s.headersList.append("user-agent",ane),s.cache==="default"&&(s.headersList.contains("if-modified-since",!0)||s.headersList.contains("if-none-match",!0)||s.headersList.contains("if-unmodified-since",!0)||s.headersList.contains("if-match",!0)||s.headersList.contains("if-range",!0))&&(s.cache="no-store"),s.cache==="no-cache"&&!s.preventNoCacheCacheControlHeaderModification&&!s.headersList.contains("cache-control",!0)&&s.headersList.append("cache-control","max-age=0",!0),(s.cache==="no-store"||s.cache==="reload")&&(s.headersList.contains("pragma",!0)||s.headersList.append("pragma","no-cache",!0),s.headersList.contains("cache-control",!0)||s.headersList.append("cache-control","no-cache",!0)),s.headersList.contains("range",!0)&&s.headersList.append("accept-encoding","identity",!0),s.headersList.contains("accept-encoding",!0)||(Lre(li(s))?s.headersList.append("accept-encoding","br, gzip, deflate",!0):s.headersList.append("accept-encoding","gzip, deflate",!0)),s.headersList.delete("host",!0),c==null&&(s.cache="no-store"),s.cache!=="no-store"&&s.cache,a==null){if(s.cache==="only-if-cached")return He("only if cached");let g=await dne(i,A,r);!Gre.has(s.method)&&g.status>=200&&g.status<=399,l&&g.status,a==null&&(a=g)}if(a.urlList=[...s.urlList],s.headersList.contains("range",!0)&&(a.rangeRequested=!0),a.requestIncludesCredentials=A,a.status===407)return n.window==="no-window"?He():Co(t)?Ep(t):He("proxy authentication required");if(a.status===421&&!r&&(n.body==null||n.body.source!=null)){if(Co(t))return Ep(t);t.controller.connection.destroy(),a=await xM(t,e,!0)}return a}o(xM,"httpNetworkOrCacheFetch");async function dne(t,e=!1,r=!1){Eo(!t.controller.connection||t.controller.connection.destroyed),t.controller.connection={abort:null,destroyed:!1,destroy(C,Q=!0){this.destroyed||(this.destroyed=!0,Q&&this.abort?.(C??new DOMException("The operation was aborted.","AbortError")))}};let n=t.request,i=null,s=t.timingInfo;null==null&&(n.cache="no-store");let c=r?"yes":"no";n.mode;let l=null;if(n.body==null&&t.processRequestEndOfBody)queueMicrotask(()=>t.processRequestEndOfBody());else if(n.body!=null){let C=o(async function*(w){Co(t)||(yield w,t.processRequestBodyChunkLength?.(w.byteLength))},"processBodyChunk"),Q=o(()=>{Co(t)||t.processRequestEndOfBody&&t.processRequestEndOfBody()},"processEndOfBody"),x=o(w=>{Co(t)||(w.name==="AbortError"?t.controller.abort():t.controller.terminate(w))},"processBodyError");l=async function*(){try{for await(let w of n.body.stream)yield*C(w);Q()}catch(w){x(w)}}()}try{let{body:C,status:Q,statusText:x,headersList:w,socket:v}=await f({body:l});if(v)i=Bp({status:Q,statusText:x,headersList:w,socket:v});else{let T=C[Symbol.asyncIterator]();t.controller.next=()=>T.next(),i=Bp({status:Q,statusText:x,headersList:w})}}catch(C){return C.name==="AbortError"?(t.controller.connection.destroy(),Ep(t,C)):He(C)}let A=o(async()=>{await t.controller.resume()},"pullAlgorithm"),u=o(C=>{Co(t)||t.controller.abort(C)},"cancelAlgorithm"),d=new ReadableStream({async start(C){t.controller.controller=C},async pull(C){await A(C)},async cancel(C){await u(C)},type:"bytes"});i.body={stream:d,source:null,length:null},t.controller.onAborted=g,t.controller.on("terminated",g),t.controller.resume=async()=>{for(;;){let C,Q;try{let{done:w,value:v}=await t.controller.next();if(fM(t))break;C=w?void 0:v}catch(w){t.controller.ended&&!s.encodedBodySize?C=void 0:(C=w,Q=!0)}if(C===void 0){Mre(t.controller.controller),Ane(t,i);return}if(s.decodedBodySize+=C?.byteLength??0,Q){t.controller.terminate(C);return}let x=new Uint8Array(C);if(x.byteLength&&t.controller.controller.enqueue(x),Zre(d)){t.controller.terminate();return}if(t.controller.controller.desiredSize<=0)return}};function g(C){fM(t)?(i.aborted=!0,bp(d)&&t.controller.controller.error(t.controller.serializedAbortReason)):bp(d)&&t.controller.controller.error(new TypeError("terminated",{cause:Tre(C)?C:void 0})),t.controller.connection.destroy()}return o(g,"onAborted"),i;function f({body:C}){let Q=li(n),x=t.controller.dispatcher;return new Promise((w,v)=>x.dispatch({path:Q.pathname+Q.search,origin:Q.origin,method:n.method,body:x.isMockActive?n.body&&(n.body.source||n.body.stream):C,headers:n.headersList.entries,maxRedirections:0,upgrade:n.mode==="websocket"?"websocket":void 0},{body:null,abort:null,onConnect(T){let{connection:L}=t.controller;s.finalConnectionTimingInfo=Fre(void 0,s.postRedirectStartTime,t.crossOriginIsolatedCapability),L.destroyed?T(new DOMException("The operation was aborted.","AbortError")):(t.controller.on("terminated",T),this.abort=L.abort=T),s.finalNetworkRequestStartTime=mA(t.crossOriginIsolatedCapability)},onResponseStarted(){s.finalNetworkResponseStartTime=mA(t.crossOriginIsolatedCapability)},onHeaders(T,L,W,de){if(T<200)return;let le="",De=new gM;for(let ge=0;geWn)return v(new Error(`too many content-encodings in response: ${je.length}, maximum allowed is ${Wn}`)),!0;for(let _i=je.length-1;_i>=0;--_i){let Pi=je[_i].trim();if(Pi==="x-gzip"||Pi==="gzip")Te.push(Bs.createGunzip({flush:Bs.constants.Z_SYNC_FLUSH,finishFlush:Bs.constants.Z_SYNC_FLUSH}));else if(Pi==="deflate")Te.push(Hre({flush:Bs.constants.Z_SYNC_FLUSH,finishFlush:Bs.constants.Z_SYNC_FLUSH}));else if(Pi==="br")Te.push(Bs.createBrotliDecompress({flush:Bs.constants.BROTLI_OPERATION_FLUSH,finishFlush:Bs.constants.BROTLI_OPERATION_FLUSH}));else{Te.length=0;break}}}let $e=this.onError.bind(this);return w({status:T,statusText:de,headersList:De,body:Te.length?Kre(this.body,...Te,ge=>{ge&&this.onError(ge)}).on("error",$e):this.body.on("error",$e)}),!0},onData(T){if(t.controller.dump)return;let L=T;return s.encodedBodySize+=L.byteLength,this.body.push(L)},onComplete(){this.abort&&t.controller.off("terminated",this.abort),t.controller.onAborted&&t.controller.off("terminated",t.controller.onAborted),t.controller.ended=!0,this.body.push(null)},onError(T){this.abort&&t.controller.off("terminated",this.abort),this.body?.destroy(T),t.controller.terminate(T),v(T)},onUpgrade(T,L,W){if(T!==101)return;let de=new gM;for(let le=0;le{"use strict";RM.exports={kState:Symbol("FileReader state"),kResult:Symbol("FileReader result"),kError:Symbol("FileReader error"),kLastProgressEventFired:Symbol("FileReader last progress event fired timestamp"),kEvents:Symbol("FileReader events"),kAborted:Symbol("FileReader aborted")}});var PM=h((L1e,_M)=>{"use strict";var{webidl:Ur}=Yt(),wp=Symbol("ProgressEvent state"),jB=class t extends Event{static{o(this,"ProgressEvent")}constructor(e,r={}){e=Ur.converters.DOMString(e,"ProgressEvent constructor","type"),r=Ur.converters.ProgressEventInit(r??{}),super(e,r),this[wp]={lengthComputable:r.lengthComputable,loaded:r.loaded,total:r.total}}get lengthComputable(){return Ur.brandCheck(this,t),this[wp].lengthComputable}get loaded(){return Ur.brandCheck(this,t),this[wp].loaded}get total(){return Ur.brandCheck(this,t),this[wp].total}};Ur.converters.ProgressEventInit=Ur.dictionaryConverter([{key:"lengthComputable",converter:Ur.converters.boolean,defaultValue:()=>!1},{key:"loaded",converter:Ur.converters["unsigned long long"],defaultValue:()=>0},{key:"total",converter:Ur.converters["unsigned long long"],defaultValue:()=>0},{key:"bubbles",converter:Ur.converters.boolean,defaultValue:()=>!1},{key:"cancelable",converter:Ur.converters.boolean,defaultValue:()=>!1},{key:"composed",converter:Ur.converters.boolean,defaultValue:()=>!1}]);_M.exports={ProgressEvent:jB}});var TM=h((U1e,DM)=>{"use strict";function pne(t){if(!t)return"failure";switch(t.trim().toLowerCase()){case"unicode-1-1-utf-8":case"unicode11utf8":case"unicode20utf8":case"utf-8":case"utf8":case"x-unicode20utf8":return"UTF-8";case"866":case"cp866":case"csibm866":case"ibm866":return"IBM866";case"csisolatin2":case"iso-8859-2":case"iso-ir-101":case"iso8859-2":case"iso88592":case"iso_8859-2":case"iso_8859-2:1987":case"l2":case"latin2":return"ISO-8859-2";case"csisolatin3":case"iso-8859-3":case"iso-ir-109":case"iso8859-3":case"iso88593":case"iso_8859-3":case"iso_8859-3:1988":case"l3":case"latin3":return"ISO-8859-3";case"csisolatin4":case"iso-8859-4":case"iso-ir-110":case"iso8859-4":case"iso88594":case"iso_8859-4":case"iso_8859-4:1988":case"l4":case"latin4":return"ISO-8859-4";case"csisolatincyrillic":case"cyrillic":case"iso-8859-5":case"iso-ir-144":case"iso8859-5":case"iso88595":case"iso_8859-5":case"iso_8859-5:1988":return"ISO-8859-5";case"arabic":case"asmo-708":case"csiso88596e":case"csiso88596i":case"csisolatinarabic":case"ecma-114":case"iso-8859-6":case"iso-8859-6-e":case"iso-8859-6-i":case"iso-ir-127":case"iso8859-6":case"iso88596":case"iso_8859-6":case"iso_8859-6:1987":return"ISO-8859-6";case"csisolatingreek":case"ecma-118":case"elot_928":case"greek":case"greek8":case"iso-8859-7":case"iso-ir-126":case"iso8859-7":case"iso88597":case"iso_8859-7":case"iso_8859-7:1987":case"sun_eu_greek":return"ISO-8859-7";case"csiso88598e":case"csisolatinhebrew":case"hebrew":case"iso-8859-8":case"iso-8859-8-e":case"iso-ir-138":case"iso8859-8":case"iso88598":case"iso_8859-8":case"iso_8859-8:1988":case"visual":return"ISO-8859-8";case"csiso88598i":case"iso-8859-8-i":case"logical":return"ISO-8859-8-I";case"csisolatin6":case"iso-8859-10":case"iso-ir-157":case"iso8859-10":case"iso885910":case"l6":case"latin6":return"ISO-8859-10";case"iso-8859-13":case"iso8859-13":case"iso885913":return"ISO-8859-13";case"iso-8859-14":case"iso8859-14":case"iso885914":return"ISO-8859-14";case"csisolatin9":case"iso-8859-15":case"iso8859-15":case"iso885915":case"iso_8859-15":case"l9":return"ISO-8859-15";case"iso-8859-16":return"ISO-8859-16";case"cskoi8r":case"koi":case"koi8":case"koi8-r":case"koi8_r":return"KOI8-R";case"koi8-ru":case"koi8-u":return"KOI8-U";case"csmacintosh":case"mac":case"macintosh":case"x-mac-roman":return"macintosh";case"iso-8859-11":case"iso8859-11":case"iso885911":case"tis-620":case"windows-874":return"windows-874";case"cp1250":case"windows-1250":case"x-cp1250":return"windows-1250";case"cp1251":case"windows-1251":case"x-cp1251":return"windows-1251";case"ansi_x3.4-1968":case"ascii":case"cp1252":case"cp819":case"csisolatin1":case"ibm819":case"iso-8859-1":case"iso-ir-100":case"iso8859-1":case"iso88591":case"iso_8859-1":case"iso_8859-1:1987":case"l1":case"latin1":case"us-ascii":case"windows-1252":case"x-cp1252":return"windows-1252";case"cp1253":case"windows-1253":case"x-cp1253":return"windows-1253";case"cp1254":case"csisolatin5":case"iso-8859-9":case"iso-ir-148":case"iso8859-9":case"iso88599":case"iso_8859-9":case"iso_8859-9:1989":case"l5":case"latin5":case"windows-1254":case"x-cp1254":return"windows-1254";case"cp1255":case"windows-1255":case"x-cp1255":return"windows-1255";case"cp1256":case"windows-1256":case"x-cp1256":return"windows-1256";case"cp1257":case"windows-1257":case"x-cp1257":return"windows-1257";case"cp1258":case"windows-1258":case"x-cp1258":return"windows-1258";case"x-mac-cyrillic":case"x-mac-ukrainian":return"x-mac-cyrillic";case"chinese":case"csgb2312":case"csiso58gb231280":case"gb2312":case"gb_2312":case"gb_2312-80":case"gbk":case"iso-ir-58":case"x-gbk":return"GBK";case"gb18030":return"gb18030";case"big5":case"big5-hkscs":case"cn-big5":case"csbig5":case"x-x-big5":return"Big5";case"cseucpkdfmtjapanese":case"euc-jp":case"x-euc-jp":return"EUC-JP";case"csiso2022jp":case"iso-2022-jp":return"ISO-2022-JP";case"csshiftjis":case"ms932":case"ms_kanji":case"shift-jis":case"shift_jis":case"sjis":case"windows-31j":case"x-sjis":return"Shift_JIS";case"cseuckr":case"csksc56011987":case"euc-kr":case"iso-ir-149":case"korean":case"ks_c_5601-1987":case"ks_c_5601-1989":case"ksc5601":case"ksc_5601":case"windows-949":return"EUC-KR";case"csiso2022kr":case"hz-gb-2312":case"iso-2022-cn":case"iso-2022-cn-ext":case"iso-2022-kr":case"replacement":return"replacement";case"unicodefffe":case"utf-16be":return"UTF-16BE";case"csunicode":case"iso-10646-ucs-2":case"ucs-2":case"unicode":case"unicodefeff":case"utf-16":case"utf-16le":return"UTF-16LE";case"x-user-defined":return"x-user-defined";default:return"failure"}}o(pne,"getEncoding");DM.exports={getEncoding:pne}});var HM=h((H1e,qM)=>{"use strict";var{kState:ja,kError:GB,kResult:OM,kAborted:fA,kLastProgressEventFired:YB}=zB(),{ProgressEvent:mne}=PM(),{getEncoding:MM}=TM(),{serializeAMimeType:gne,parseMIMEType:kM}=hr(),{types:fne}=require("node:util"),{StringDecoder:LM}=require("string_decoder"),{btoa:FM}=require("node:buffer"),hne={enumerable:!0,writable:!1,configurable:!1};function yne(t,e,r,n){if(t[ja]==="loading")throw new DOMException("Invalid state","InvalidStateError");t[ja]="loading",t[OM]=null,t[GB]=null;let s=e.stream().getReader(),a=[],c=s.read(),l=!0;(async()=>{for(;!t[fA];)try{let{done:A,value:u}=await c;if(l&&!t[fA]&&queueMicrotask(()=>{Is("loadstart",t)}),l=!1,!A&&fne.isUint8Array(u))a.push(u),(t[YB]===void 0||Date.now()-t[YB]>=50)&&!t[fA]&&(t[YB]=Date.now(),queueMicrotask(()=>{Is("progress",t)})),c=s.read();else if(A){queueMicrotask(()=>{t[ja]="done";try{let d=Cne(a,r,e.type,n);if(t[fA])return;t[OM]=d,Is("load",t)}catch(d){t[GB]=d,Is("error",t)}t[ja]!=="loading"&&Is("loadend",t)});break}}catch(A){if(t[fA])return;queueMicrotask(()=>{t[ja]="done",t[GB]=A,Is("error",t),t[ja]!=="loading"&&Is("loadend",t)});break}})()}o(yne,"readOperation");function Is(t,e){let r=new mne(t,{bubbles:!1,cancelable:!1});e.dispatchEvent(r)}o(Is,"fireAProgressEvent");function Cne(t,e,r,n){switch(e){case"DataURL":{let i="data:",s=kM(r||"application/octet-stream");s!=="failure"&&(i+=gne(s)),i+=";base64,";let a=new LM("latin1");for(let c of t)i+=FM(a.write(c));return i+=FM(a.end()),i}case"Text":{let i="failure";if(n&&(i=MM(n)),i==="failure"&&r){let s=kM(r);s!=="failure"&&(i=MM(s.parameters.get("charset")))}return i==="failure"&&(i="UTF-8"),Ene(t,i)}case"ArrayBuffer":return UM(t).buffer;case"BinaryString":{let i="",s=new LM("latin1");for(let a of t)i+=s.write(a);return i+=s.end(),i}}}o(Cne,"packageData");function Ene(t,e){let r=UM(t),n=Bne(r),i=0;n!==null&&(e=n,i=n==="UTF-8"?3:2);let s=r.slice(i);return new TextDecoder(e).decode(s)}o(Ene,"decode");function Bne(t){let[e,r,n]=t;return e===239&&r===187&&n===191?"UTF-8":e===254&&r===255?"UTF-16BE":e===255&&r===254?"UTF-16LE":null}o(Bne,"BOMSniffing");function UM(t){let e=t.reduce((n,i)=>n+i.byteLength,0),r=0;return t.reduce((n,i)=>(n.set(i,r),r+=i.byteLength,n),new Uint8Array(e))}o(UM,"combineByteSequences");qM.exports={staticPropertyDescriptors:hne,readOperation:yne,fireAProgressEvent:Is}});var YM=h((j1e,GM)=>{"use strict";var{staticPropertyDescriptors:Ga,readOperation:Np,fireAProgressEvent:zM}=HM(),{kState:Bo,kError:jM,kResult:Sp,kEvents:Pe,kAborted:Ine}=zB(),{webidl:Ge}=Yt(),{kEnumerableProperty:Er}=Ee(),Un=class t extends EventTarget{static{o(this,"FileReader")}constructor(){super(),this[Bo]="empty",this[Sp]=null,this[jM]=null,this[Pe]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(e){Ge.brandCheck(this,t),Ge.argumentLengthCheck(arguments,1,"FileReader.readAsArrayBuffer"),e=Ge.converters.Blob(e,{strict:!1}),Np(this,e,"ArrayBuffer")}readAsBinaryString(e){Ge.brandCheck(this,t),Ge.argumentLengthCheck(arguments,1,"FileReader.readAsBinaryString"),e=Ge.converters.Blob(e,{strict:!1}),Np(this,e,"BinaryString")}readAsText(e,r=void 0){Ge.brandCheck(this,t),Ge.argumentLengthCheck(arguments,1,"FileReader.readAsText"),e=Ge.converters.Blob(e,{strict:!1}),r!==void 0&&(r=Ge.converters.DOMString(r,"FileReader.readAsText","encoding")),Np(this,e,"Text",r)}readAsDataURL(e){Ge.brandCheck(this,t),Ge.argumentLengthCheck(arguments,1,"FileReader.readAsDataURL"),e=Ge.converters.Blob(e,{strict:!1}),Np(this,e,"DataURL")}abort(){if(this[Bo]==="empty"||this[Bo]==="done"){this[Sp]=null;return}this[Bo]==="loading"&&(this[Bo]="done",this[Sp]=null),this[Ine]=!0,zM("abort",this),this[Bo]!=="loading"&&zM("loadend",this)}get readyState(){switch(Ge.brandCheck(this,t),this[Bo]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){return Ge.brandCheck(this,t),this[Sp]}get error(){return Ge.brandCheck(this,t),this[jM]}get onloadend(){return Ge.brandCheck(this,t),this[Pe].loadend}set onloadend(e){Ge.brandCheck(this,t),this[Pe].loadend&&this.removeEventListener("loadend",this[Pe].loadend),typeof e=="function"?(this[Pe].loadend=e,this.addEventListener("loadend",e)):this[Pe].loadend=null}get onerror(){return Ge.brandCheck(this,t),this[Pe].error}set onerror(e){Ge.brandCheck(this,t),this[Pe].error&&this.removeEventListener("error",this[Pe].error),typeof e=="function"?(this[Pe].error=e,this.addEventListener("error",e)):this[Pe].error=null}get onloadstart(){return Ge.brandCheck(this,t),this[Pe].loadstart}set onloadstart(e){Ge.brandCheck(this,t),this[Pe].loadstart&&this.removeEventListener("loadstart",this[Pe].loadstart),typeof e=="function"?(this[Pe].loadstart=e,this.addEventListener("loadstart",e)):this[Pe].loadstart=null}get onprogress(){return Ge.brandCheck(this,t),this[Pe].progress}set onprogress(e){Ge.brandCheck(this,t),this[Pe].progress&&this.removeEventListener("progress",this[Pe].progress),typeof e=="function"?(this[Pe].progress=e,this.addEventListener("progress",e)):this[Pe].progress=null}get onload(){return Ge.brandCheck(this,t),this[Pe].load}set onload(e){Ge.brandCheck(this,t),this[Pe].load&&this.removeEventListener("load",this[Pe].load),typeof e=="function"?(this[Pe].load=e,this.addEventListener("load",e)):this[Pe].load=null}get onabort(){return Ge.brandCheck(this,t),this[Pe].abort}set onabort(e){Ge.brandCheck(this,t),this[Pe].abort&&this.removeEventListener("abort",this[Pe].abort),typeof e=="function"?(this[Pe].abort=e,this.addEventListener("abort",e)):this[Pe].abort=null}};Un.EMPTY=Un.prototype.EMPTY=0;Un.LOADING=Un.prototype.LOADING=1;Un.DONE=Un.prototype.DONE=2;Object.defineProperties(Un.prototype,{EMPTY:Ga,LOADING:Ga,DONE:Ga,readAsArrayBuffer:Er,readAsBinaryString:Er,readAsText:Er,readAsDataURL:Er,abort:Er,readyState:Er,result:Er,error:Er,onloadstart:Er,onprogress:Er,onload:Er,onabort:Er,onerror:Er,onloadend:Er,[Symbol.toStringTag]:{value:"FileReader",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(Un,{EMPTY:Ga,LOADING:Ga,DONE:Ga});GM.exports={FileReader:Un}});var xp=h((Y1e,JM)=>{"use strict";JM.exports={kConstruct:tt().kConstruct}});var KM=h((J1e,WM)=>{"use strict";var bne=require("node:assert"),{URLSerializer:VM}=hr(),{isValidHeaderName:Qne}=Tr();function wne(t,e,r=!1){let n=VM(t,r),i=VM(e,r);return n===i}o(wne,"urlEquals");function Nne(t){bne(t!==null);let e=[];for(let r of t.split(","))r=r.trim(),Qne(r)&&e.push(r);return e}o(Nne,"getFieldValues");WM.exports={urlEquals:wne,getFieldValues:Nne}});var ZM=h((W1e,XM)=>{"use strict";var{kConstruct:Sne}=xp(),{urlEquals:xne,getFieldValues:JB}=KM(),{kEnumerableProperty:Io,isDisturbed:vne}=Ee(),{webidl:te}=Yt(),{Response:Rne,cloneResponse:_ne,fromInnerResponse:Pne}=pA(),{Request:Gi,fromInnerRequest:Dne}=za(),{kState:qn}=cs(),{fetching:Tne}=gA(),{urlIsHttpHttpsScheme:vp,createDeferredPromise:Ya,readAllBytes:One}=Tr(),VB=require("node:assert"),Rp=class t{static{o(this,"Cache")}#e;constructor(){arguments[0]!==Sne&&te.illegalConstructor(),te.util.markAsUncloneable(this),this.#e=arguments[1]}async match(e,r={}){te.brandCheck(this,t);let n="Cache.match";te.argumentLengthCheck(arguments,1,n),e=te.converters.RequestInfo(e,n,"request"),r=te.converters.CacheQueryOptions(r,n,"options");let i=this.#r(e,r,1);if(i.length!==0)return i[0]}async matchAll(e=void 0,r={}){te.brandCheck(this,t);let n="Cache.matchAll";return e!==void 0&&(e=te.converters.RequestInfo(e,n,"request")),r=te.converters.CacheQueryOptions(r,n,"options"),this.#r(e,r)}async add(e){te.brandCheck(this,t);let r="Cache.add";te.argumentLengthCheck(arguments,1,r),e=te.converters.RequestInfo(e,r,"request");let n=[e];return await this.addAll(n)}async addAll(e){te.brandCheck(this,t);let r="Cache.addAll";te.argumentLengthCheck(arguments,1,r);let n=[],i=[];for(let g of e){if(g===void 0)throw te.errors.conversionFailed({prefix:r,argument:"Argument 1",types:["undefined is not allowed"]});if(g=te.converters.RequestInfo(g),typeof g=="string")continue;let f=g[qn];if(!vp(f.url)||f.method!=="GET")throw te.errors.exception({header:r,message:"Expected http/s scheme when method is not GET."})}let s=[];for(let g of e){let f=new Gi(g)[qn];if(!vp(f.url))throw te.errors.exception({header:r,message:"Expected http/s scheme."});f.initiator="fetch",f.destination="subresource",i.push(f);let C=Ya();s.push(Tne({request:f,processResponse(Q){if(Q.type==="error"||Q.status===206||Q.status<200||Q.status>299)C.reject(te.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}));else if(Q.headersList.contains("vary")){let x=JB(Q.headersList.get("vary"));for(let w of x)if(w==="*"){C.reject(te.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(let v of s)v.abort();return}}},processResponseEndOfBody(Q){if(Q.aborted){C.reject(new DOMException("aborted","AbortError"));return}C.resolve(Q)}})),n.push(C.promise)}let c=await Promise.all(n),l=[],A=0;for(let g of c){let f={type:"put",request:i[A],response:g};l.push(f),A++}let u=Ya(),d=null;try{this.#t(l)}catch(g){d=g}return queueMicrotask(()=>{d===null?u.resolve(void 0):u.reject(d)}),u.promise}async put(e,r){te.brandCheck(this,t);let n="Cache.put";te.argumentLengthCheck(arguments,2,n),e=te.converters.RequestInfo(e,n,"request"),r=te.converters.Response(r,n,"response");let i=null;if(e instanceof Gi?i=e[qn]:i=new Gi(e)[qn],!vp(i.url)||i.method!=="GET")throw te.errors.exception({header:n,message:"Expected an http/s scheme when method is not GET"});let s=r[qn];if(s.status===206)throw te.errors.exception({header:n,message:"Got 206 status"});if(s.headersList.contains("vary")){let f=JB(s.headersList.get("vary"));for(let C of f)if(C==="*")throw te.errors.exception({header:n,message:"Got * vary field value"})}if(s.body&&(vne(s.body.stream)||s.body.stream.locked))throw te.errors.exception({header:n,message:"Response body is locked or disturbed"});let a=_ne(s),c=Ya();if(s.body!=null){let C=s.body.stream.getReader();One(C).then(c.resolve,c.reject)}else c.resolve(void 0);let l=[],A={type:"put",request:i,response:a};l.push(A);let u=await c.promise;a.body!=null&&(a.body.source=u);let d=Ya(),g=null;try{this.#t(l)}catch(f){g=f}return queueMicrotask(()=>{g===null?d.resolve():d.reject(g)}),d.promise}async delete(e,r={}){te.brandCheck(this,t);let n="Cache.delete";te.argumentLengthCheck(arguments,1,n),e=te.converters.RequestInfo(e,n,"request"),r=te.converters.CacheQueryOptions(r,n,"options");let i=null;if(e instanceof Gi){if(i=e[qn],i.method!=="GET"&&!r.ignoreMethod)return!1}else VB(typeof e=="string"),i=new Gi(e)[qn];let s=[],a={type:"delete",request:i,options:r};s.push(a);let c=Ya(),l=null,A;try{A=this.#t(s)}catch(u){l=u}return queueMicrotask(()=>{l===null?c.resolve(!!A?.length):c.reject(l)}),c.promise}async keys(e=void 0,r={}){te.brandCheck(this,t);let n="Cache.keys";e!==void 0&&(e=te.converters.RequestInfo(e,n,"request")),r=te.converters.CacheQueryOptions(r,n,"options");let i=null;if(e!==void 0)if(e instanceof Gi){if(i=e[qn],i.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(i=new Gi(e)[qn]);let s=Ya(),a=[];if(e===void 0)for(let c of this.#e)a.push(c[0]);else{let c=this.#i(i,r);for(let l of c)a.push(l[0])}return queueMicrotask(()=>{let c=[];for(let l of a){let A=Dne(l,new AbortController().signal,"immutable");c.push(A)}s.resolve(Object.freeze(c))}),s.promise}#t(e){let r=this.#e,n=[...r],i=[],s=[];try{for(let a of e){if(a.type!=="delete"&&a.type!=="put")throw te.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'});if(a.type==="delete"&&a.response!=null)throw te.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"});if(this.#i(a.request,a.options,i).length)throw new DOMException("???","InvalidStateError");let c;if(a.type==="delete"){if(c=this.#i(a.request,a.options),c.length===0)return[];for(let l of c){let A=r.indexOf(l);VB(A!==-1),r.splice(A,1)}}else if(a.type==="put"){if(a.response==null)throw te.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"});let l=a.request;if(!vp(l.url))throw te.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"});if(l.method!=="GET")throw te.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"});if(a.options!=null)throw te.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"});c=this.#i(a.request);for(let A of c){let u=r.indexOf(A);VB(u!==-1),r.splice(u,1)}r.push([a.request,a.response]),i.push([a.request,a.response])}s.push([a.request,a.response])}return s}catch(a){throw this.#e.length=0,this.#e=n,a}}#i(e,r,n){let i=[],s=n??this.#e;for(let a of s){let[c,l]=a;this.#n(e,c,l,r)&&i.push(a)}return i}#n(e,r,n=null,i){let s=new URL(e.url),a=new URL(r.url);if(i?.ignoreSearch&&(a.search="",s.search=""),!xne(s,a,!0))return!1;if(n==null||i?.ignoreVary||!n.headersList.contains("vary"))return!0;let c=JB(n.headersList.get("vary"));for(let l of c){if(l==="*")return!1;let A=r.headersList.get(l),u=e.headersList.get(l);if(A!==u)return!1}return!0}#r(e,r,n=1/0){let i=null;if(e!==void 0)if(e instanceof Gi){if(i=e[qn],i.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(i=new Gi(e)[qn]);let s=[];if(e===void 0)for(let c of this.#e)s.push(c[1]);else{let c=this.#i(i,r);for(let l of c)s.push(l[1])}let a=[];for(let c of s){let l=Pne(c,"immutable");if(a.push(l.clone()),a.length>=n)break}return Object.freeze(a)}};Object.defineProperties(Rp.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:!0},match:Io,matchAll:Io,add:Io,addAll:Io,put:Io,delete:Io,keys:Io});var $M=[{key:"ignoreSearch",converter:te.converters.boolean,defaultValue:()=>!1},{key:"ignoreMethod",converter:te.converters.boolean,defaultValue:()=>!1},{key:"ignoreVary",converter:te.converters.boolean,defaultValue:()=>!1}];te.converters.CacheQueryOptions=te.dictionaryConverter($M);te.converters.MultiCacheQueryOptions=te.dictionaryConverter([...$M,{key:"cacheName",converter:te.converters.DOMString}]);te.converters.Response=te.interfaceConverter(Rne);te.converters["sequence"]=te.sequenceConverter(te.converters.RequestInfo);XM.exports={Cache:Rp}});var tk=h(($1e,ek)=>{"use strict";var{kConstruct:hA}=xp(),{Cache:_p}=ZM(),{webidl:Xt}=Yt(),{kEnumerableProperty:yA}=Ee(),Pp=class t{static{o(this,"CacheStorage")}#e=new Map;constructor(){arguments[0]!==hA&&Xt.illegalConstructor(),Xt.util.markAsUncloneable(this)}async match(e,r={}){if(Xt.brandCheck(this,t),Xt.argumentLengthCheck(arguments,1,"CacheStorage.match"),e=Xt.converters.RequestInfo(e),r=Xt.converters.MultiCacheQueryOptions(r),r.cacheName!=null){if(this.#e.has(r.cacheName)){let n=this.#e.get(r.cacheName);return await new _p(hA,n).match(e,r)}}else for(let n of this.#e.values()){let s=await new _p(hA,n).match(e,r);if(s!==void 0)return s}}async has(e){Xt.brandCheck(this,t);let r="CacheStorage.has";return Xt.argumentLengthCheck(arguments,1,r),e=Xt.converters.DOMString(e,r,"cacheName"),this.#e.has(e)}async open(e){Xt.brandCheck(this,t);let r="CacheStorage.open";if(Xt.argumentLengthCheck(arguments,1,r),e=Xt.converters.DOMString(e,r,"cacheName"),this.#e.has(e)){let i=this.#e.get(e);return new _p(hA,i)}let n=[];return this.#e.set(e,n),new _p(hA,n)}async delete(e){Xt.brandCheck(this,t);let r="CacheStorage.delete";return Xt.argumentLengthCheck(arguments,1,r),e=Xt.converters.DOMString(e,r,"cacheName"),this.#e.delete(e)}async keys(){return Xt.brandCheck(this,t),[...this.#e.keys()]}};Object.defineProperties(Pp.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:!0},match:yA,has:yA,open:yA,delete:yA,keys:yA});ek.exports={CacheStorage:Pp}});var nk=h((Z1e,rk)=>{"use strict";rk.exports={maxAttributeValueSize:1024,maxNameValuePairSize:4096}});var WB=h((eHe,ck)=>{"use strict";function Mne(t){for(let e=0;e=0&&r<=8||r>=10&&r<=31||r===127)return!0}return!1}o(Mne,"isCTLExcludingHtab");function ik(t){for(let e=0;e126||r===34||r===40||r===41||r===60||r===62||r===64||r===44||r===59||r===58||r===92||r===47||r===91||r===93||r===63||r===61||r===123||r===125)throw new Error("Invalid cookie name")}}o(ik,"validateCookieName");function sk(t){let e=t.length,r=0;if(t[0]==='"'){if(e===1||t[e-1]!=='"')throw new Error("Invalid cookie value");--e,++r}for(;r126||n===34||n===44||n===59||n===92)throw new Error("Invalid cookie value")}}o(sk,"validateCookieValue");function ok(t){for(let e=0;ee.toString().padStart(2,"0"));function ak(t){return typeof t=="number"&&(t=new Date(t)),`${Lne[t.getUTCDay()]}, ${Dp[t.getUTCDate()]} ${Fne[t.getUTCMonth()]} ${t.getUTCFullYear()} ${Dp[t.getUTCHours()]}:${Dp[t.getUTCMinutes()]}:${Dp[t.getUTCSeconds()]} GMT`}o(ak,"toIMFDate");function Une(t){if(t<0)throw new Error("Invalid cookie max-age")}o(Une,"validateCookieMaxAge");function qne(t){if(t.name.length===0)return null;ik(t.name),sk(t.value);let e=[`${t.name}=${t.value}`];t.name.startsWith("__Secure-")&&(t.secure=!0),t.name.startsWith("__Host-")&&(t.secure=!0,t.domain=null,t.path="/"),t.secure&&e.push("Secure"),t.httpOnly&&e.push("HttpOnly"),typeof t.maxAge=="number"&&(Une(t.maxAge),e.push(`Max-Age=${t.maxAge}`)),t.domain&&(kne(t.domain),e.push(`Domain=${t.domain}`)),t.path&&(ok(t.path),e.push(`Path=${t.path}`)),t.expires&&t.expires.toString()!=="Invalid Date"&&e.push(`Expires=${ak(t.expires)}`),t.sameSite&&e.push(`SameSite=${t.sameSite}`);for(let r of t.unparsed){if(!r.includes("="))throw new Error("Invalid unparsed");let[n,...i]=r.split("=");e.push(`${n.trim()}=${i.join("=")}`)}return e.join("; ")}o(qne,"stringify");ck.exports={isCTLExcludingHtab:Mne,validateCookieName:ik,validateCookiePath:ok,validateCookieValue:sk,toIMFDate:ak,stringify:qne}});var Ak=h((rHe,lk)=>{"use strict";var{maxNameValuePairSize:Hne,maxAttributeValueSize:zne}=nk(),{isCTLExcludingHtab:jne}=WB(),{collectASequenceOfCodePointsFast:Tp}=hr(),Gne=require("node:assert");function Yne(t){if(jne(t))return null;let e="",r="",n="",i="";if(t.includes(";")){let s={position:0};e=Tp(";",t,s),r=t.slice(s.position)}else e=t;if(!e.includes("="))i=e;else{let s={position:0};n=Tp("=",e,s),i=e.slice(s.position+1)}return n=n.trim(),i=i.trim(),n.length+i.length>Hne?null:{name:n,value:i,...Ja(r)}}o(Yne,"parseSetCookie");function Ja(t,e={}){if(t.length===0)return e;Gne(t[0]===";"),t=t.slice(1);let r="";t.includes(";")?(r=Tp(";",t,{position:0}),t=t.slice(r.length)):(r=t,t="");let n="",i="";if(r.includes("=")){let a={position:0};n=Tp("=",r,a),i=r.slice(a.position+1)}else n=r;if(n=n.trim(),i=i.trim(),i.length>zne)return Ja(t,e);let s=n.toLowerCase();if(s==="expires"){let a=new Date(i);e.expires=a}else if(s==="max-age"){let a=i.charCodeAt(0);if((a<48||a>57)&&i[0]!=="-"||!/^\d+$/.test(i))return Ja(t,e);let c=Number(i);e.maxAge=c}else if(s==="domain"){let a=i;a[0]==="."&&(a=a.slice(1)),a=a.toLowerCase(),e.domain=a}else if(s==="path"){let a="";i.length===0||i[0]!=="/"?a="/":a=i,e.path=a}else if(s==="secure")e.secure=!0;else if(s==="httponly")e.httpOnly=!0;else if(s==="samesite"){let a="Default",c=i.toLowerCase();c.includes("none")&&(a="None"),c.includes("strict")&&(a="Strict"),c.includes("lax")&&(a="Lax"),e.sameSite=a}else e.unparsed??=[],e.unparsed.push(`${n}=${i}`);return Ja(t,e)}o(Ja,"parseUnparsedAttributes");lk.exports={parseSetCookie:Yne,parseUnparsedAttributes:Ja}});var pk=h((iHe,dk)=>{"use strict";var{parseSetCookie:Jne}=Ak(),{stringify:Vne}=WB(),{webidl:Ne}=Yt(),{Headers:Op}=ho();function Wne(t){Ne.argumentLengthCheck(arguments,1,"getCookies"),Ne.brandCheck(t,Op,{strict:!1});let e=t.get("cookie"),r={};if(!e)return r;for(let n of e.split(";")){let[i,...s]=n.split("=");r[i.trim()]=s.join("=")}return r}o(Wne,"getCookies");function Kne(t,e,r){Ne.brandCheck(t,Op,{strict:!1});let n="deleteCookie";Ne.argumentLengthCheck(arguments,2,n),e=Ne.converters.DOMString(e,n,"name"),r=Ne.converters.DeleteCookieAttributes(r),uk(t,{name:e,value:"",expires:new Date(0),...r})}o(Kne,"deleteCookie");function $ne(t){Ne.argumentLengthCheck(arguments,1,"getSetCookies"),Ne.brandCheck(t,Op,{strict:!1});let e=t.getSetCookie();return e?e.map(r=>Jne(r)):[]}o($ne,"getSetCookies");function uk(t,e){Ne.argumentLengthCheck(arguments,2,"setCookie"),Ne.brandCheck(t,Op,{strict:!1}),e=Ne.converters.Cookie(e);let r=Vne(e);r&&t.append("Set-Cookie",r)}o(uk,"setCookie");Ne.converters.DeleteCookieAttributes=Ne.dictionaryConverter([{converter:Ne.nullableConverter(Ne.converters.DOMString),key:"path",defaultValue:()=>null},{converter:Ne.nullableConverter(Ne.converters.DOMString),key:"domain",defaultValue:()=>null}]);Ne.converters.Cookie=Ne.dictionaryConverter([{converter:Ne.converters.DOMString,key:"name"},{converter:Ne.converters.DOMString,key:"value"},{converter:Ne.nullableConverter(t=>typeof t=="number"?Ne.converters["unsigned long long"](t):new Date(t)),key:"expires",defaultValue:()=>null},{converter:Ne.nullableConverter(Ne.converters["long long"]),key:"maxAge",defaultValue:()=>null},{converter:Ne.nullableConverter(Ne.converters.DOMString),key:"domain",defaultValue:()=>null},{converter:Ne.nullableConverter(Ne.converters.DOMString),key:"path",defaultValue:()=>null},{converter:Ne.nullableConverter(Ne.converters.boolean),key:"secure",defaultValue:()=>null},{converter:Ne.nullableConverter(Ne.converters.boolean),key:"httpOnly",defaultValue:()=>null},{converter:Ne.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:Ne.sequenceConverter(Ne.converters.DOMString),key:"unparsed",defaultValue:()=>new Array(0)}]);dk.exports={getCookies:Wne,deleteCookie:Kne,getSetCookies:$ne,setCookie:uk}});var Wa=h((oHe,gk)=>{"use strict";var{webidl:ee}=Yt(),{kEnumerableProperty:Br}=Ee(),{kConstruct:mk}=tt(),{MessagePort:Xne}=require("node:worker_threads"),Va=class t extends Event{static{o(this,"MessageEvent")}#e;constructor(e,r={}){if(e===mk){super(arguments[1],arguments[2]),ee.util.markAsUncloneable(this);return}let n="MessageEvent constructor";ee.argumentLengthCheck(arguments,1,n),e=ee.converters.DOMString(e,n,"type"),r=ee.converters.MessageEventInit(r,n,"eventInitDict"),super(e,r),this.#e=r,ee.util.markAsUncloneable(this)}get data(){return ee.brandCheck(this,t),this.#e.data}get origin(){return ee.brandCheck(this,t),this.#e.origin}get lastEventId(){return ee.brandCheck(this,t),this.#e.lastEventId}get source(){return ee.brandCheck(this,t),this.#e.source}get ports(){return ee.brandCheck(this,t),Object.isFrozen(this.#e.ports)||Object.freeze(this.#e.ports),this.#e.ports}initMessageEvent(e,r=!1,n=!1,i=null,s="",a="",c=null,l=[]){return ee.brandCheck(this,t),ee.argumentLengthCheck(arguments,1,"MessageEvent.initMessageEvent"),new t(e,{bubbles:r,cancelable:n,data:i,origin:s,lastEventId:a,source:c,ports:l})}static createFastMessageEvent(e,r){let n=new t(mk,e,r);return n.#e=r,n.#e.data??=null,n.#e.origin??="",n.#e.lastEventId??="",n.#e.source??=null,n.#e.ports??=[],n}},{createFastMessageEvent:Zne}=Va;delete Va.createFastMessageEvent;var Mp=class t extends Event{static{o(this,"CloseEvent")}#e;constructor(e,r={}){let n="CloseEvent constructor";ee.argumentLengthCheck(arguments,1,n),e=ee.converters.DOMString(e,n,"type"),r=ee.converters.CloseEventInit(r),super(e,r),this.#e=r,ee.util.markAsUncloneable(this)}get wasClean(){return ee.brandCheck(this,t),this.#e.wasClean}get code(){return ee.brandCheck(this,t),this.#e.code}get reason(){return ee.brandCheck(this,t),this.#e.reason}},kp=class t extends Event{static{o(this,"ErrorEvent")}#e;constructor(e,r){let n="ErrorEvent constructor";ee.argumentLengthCheck(arguments,1,n),super(e,r),ee.util.markAsUncloneable(this),e=ee.converters.DOMString(e,n,"type"),r=ee.converters.ErrorEventInit(r??{}),this.#e=r}get message(){return ee.brandCheck(this,t),this.#e.message}get filename(){return ee.brandCheck(this,t),this.#e.filename}get lineno(){return ee.brandCheck(this,t),this.#e.lineno}get colno(){return ee.brandCheck(this,t),this.#e.colno}get error(){return ee.brandCheck(this,t),this.#e.error}};Object.defineProperties(Va.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:!0},data:Br,origin:Br,lastEventId:Br,source:Br,ports:Br,initMessageEvent:Br});Object.defineProperties(Mp.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:!0},reason:Br,code:Br,wasClean:Br});Object.defineProperties(kp.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:!0},message:Br,filename:Br,lineno:Br,colno:Br,error:Br});ee.converters.MessagePort=ee.interfaceConverter(Xne);ee.converters["sequence"]=ee.sequenceConverter(ee.converters.MessagePort);var KB=[{key:"bubbles",converter:ee.converters.boolean,defaultValue:()=>!1},{key:"cancelable",converter:ee.converters.boolean,defaultValue:()=>!1},{key:"composed",converter:ee.converters.boolean,defaultValue:()=>!1}];ee.converters.MessageEventInit=ee.dictionaryConverter([...KB,{key:"data",converter:ee.converters.any,defaultValue:()=>null},{key:"origin",converter:ee.converters.USVString,defaultValue:()=>""},{key:"lastEventId",converter:ee.converters.DOMString,defaultValue:()=>""},{key:"source",converter:ee.nullableConverter(ee.converters.MessagePort),defaultValue:()=>null},{key:"ports",converter:ee.converters["sequence"],defaultValue:()=>new Array(0)}]);ee.converters.CloseEventInit=ee.dictionaryConverter([...KB,{key:"wasClean",converter:ee.converters.boolean,defaultValue:()=>!1},{key:"code",converter:ee.converters["unsigned short"],defaultValue:()=>0},{key:"reason",converter:ee.converters.USVString,defaultValue:()=>""}]);ee.converters.ErrorEventInit=ee.dictionaryConverter([...KB,{key:"message",converter:ee.converters.DOMString,defaultValue:()=>""},{key:"filename",converter:ee.converters.USVString,defaultValue:()=>""},{key:"lineno",converter:ee.converters["unsigned long"],defaultValue:()=>0},{key:"colno",converter:ee.converters["unsigned long"],defaultValue:()=>0},{key:"error",converter:ee.converters.any}]);gk.exports={MessageEvent:Va,CloseEvent:Mp,ErrorEvent:kp,createFastMessageEvent:Zne}});var bo=h((cHe,fk)=>{"use strict";var eie="258EAFA5-E914-47DA-95CA-C5AB0DC85B11",tie={enumerable:!0,writable:!1,configurable:!1},rie={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3},nie={NOT_SENT:0,PROCESSING:1,SENT:2},iie={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10},sie=2**16-1,oie={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4},aie=Buffer.allocUnsafe(0),cie={string:1,typedArray:2,arrayBuffer:3,blob:4};fk.exports={uid:eie,sentCloseFrameState:nie,staticPropertyDescriptors:tie,states:rie,opcodes:iie,maxUnsigned16Bit:sie,parserStates:oie,emptyBuffer:aie,sendHints:cie}});var CA=h((lHe,hk)=>{"use strict";hk.exports={kWebSocketURL:Symbol("url"),kReadyState:Symbol("ready state"),kController:Symbol("controller"),kResponse:Symbol("response"),kBinaryType:Symbol("binary type"),kSentClose:Symbol("sent close"),kReceivedClose:Symbol("received close"),kByteParser:Symbol("byte parser")}});var IA=h((AHe,Nk)=>{"use strict";var{kReadyState:EA,kController:lie,kResponse:Aie,kBinaryType:uie,kWebSocketURL:die}=CA(),{states:BA,opcodes:bs}=bo(),{ErrorEvent:pie,createFastMessageEvent:mie}=Wa(),{isUtf8:gie}=require("node:buffer"),{collectASequenceOfCodePointsFast:fie,removeHTTPWhitespace:yk}=hr();function hie(t){return t[EA]===BA.CONNECTING}o(hie,"isConnecting");function yie(t){return t[EA]===BA.OPEN}o(yie,"isEstablished");function Cie(t){return t[EA]===BA.CLOSING}o(Cie,"isClosing");function Eie(t){return t[EA]===BA.CLOSED}o(Eie,"isClosed");function $B(t,e,r=(i,s)=>new Event(i,s),n={}){let i=r(t,n);e.dispatchEvent(i)}o($B,"fireEvent");function Bie(t,e,r){if(t[EA]!==BA.OPEN)return;let n;if(e===bs.TEXT)try{n=wk(r)}catch{Ek(t,"Received invalid UTF-8 in text frame.");return}else e===bs.BINARY&&(t[uie]==="blob"?n=new Blob([r]):n=Iie(r));$B("message",t,mie,{origin:t[die].origin,data:n})}o(Bie,"websocketMessageReceived");function Iie(t){return t.byteLength===t.buffer.byteLength?t.buffer:t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength)}o(Iie,"toArrayBuffer");function bie(t){if(t.length===0)return!1;for(let e=0;e126||r===34||r===40||r===41||r===44||r===47||r===58||r===59||r===60||r===61||r===62||r===63||r===64||r===91||r===92||r===93||r===123||r===125)return!1}return!0}o(bie,"isValidSubprotocol");function Qie(t){return t>=1e3&&t<1015?t!==1004&&t!==1005&&t!==1006:t>=3e3&&t<=4999}o(Qie,"isValidStatusCode");function Ek(t,e){let{[lie]:r,[Aie]:n}=t;r.abort(),n?.socket&&!n.socket.destroyed&&n.socket.destroy(),e&&$B("error",t,(i,s)=>new pie(i,s),{error:new Error(e),message:e})}o(Ek,"failWebsocketConnection");function Bk(t){return t===bs.CLOSE||t===bs.PING||t===bs.PONG}o(Bk,"isControlFrame");function Ik(t){return t===bs.CONTINUATION}o(Ik,"isContinuationFrame");function bk(t){return t===bs.TEXT||t===bs.BINARY}o(bk,"isTextBinaryFrame");function wie(t){return bk(t)||Ik(t)||Bk(t)}o(wie,"isValidOpcode");function Nie(t){let e={position:0},r=new Map;for(;e.position57)return!1}return!0}o(Sie,"isValidClientWindowBits");var Qk=typeof process.versions.icu=="string",Ck=Qk?new TextDecoder("utf-8",{fatal:!0}):void 0,wk=Qk?Ck.decode.bind(Ck):function(t){if(gie(t))return t.toString("utf-8");throw new TypeError("Invalid utf-8 received.")};Nk.exports={isConnecting:hie,isEstablished:yie,isClosing:Cie,isClosed:Eie,fireEvent:$B,isValidSubprotocol:bie,isValidStatusCode:Qie,failWebsocketConnection:Ek,websocketMessageReceived:Bie,utf8Decode:wk,isControlFrame:Bk,isContinuationFrame:Ik,isTextBinaryFrame:bk,isValidOpcode:wie,parseExtensions:Nie,isValidClientWindowBits:Sie}});var Fp=h((dHe,Sk)=>{"use strict";var{maxUnsigned16Bit:xie}=bo(),Lp=16386,XB,bA=null,Ka=Lp;try{XB=require("node:crypto")}catch{XB={randomFillSync:o(function(e,r,n){for(let i=0;ixie?(a+=8,s=127):i>125&&(a+=2,s=126);let c=Buffer.allocUnsafe(i+a);c[0]=c[1]=0,c[0]|=128,c[0]=(c[0]&240)+e;c[a-4]=n[0],c[a-3]=n[1],c[a-2]=n[2],c[a-1]=n[3],c[1]=s,s===126?c.writeUInt16BE(i,2):s===127&&(c[2]=c[3]=0,c.writeUIntBE(i,4,6)),c[1]|=128;for(let l=0;l{"use strict";var{uid:Rie,states:QA,sentCloseFrameState:Up,emptyBuffer:_ie,opcodes:Pie}=bo(),{kReadyState:wA,kSentClose:qp,kByteParser:vk,kReceivedClose:xk,kResponse:Rk}=CA(),{fireEvent:Die,failWebsocketConnection:Qs,isClosing:Tie,isClosed:Oie,isEstablished:Mie,parseExtensions:kie}=IA(),{channels:$a}=ca(),{CloseEvent:Lie}=Wa(),{makeRequest:Fie}=za(),{fetching:Uie}=gA(),{Headers:qie,getHeadersList:Hie}=ho(),{getDecodeSplit:zie}=Tr(),{WebsocketFrameSend:jie}=Fp(),eI;try{eI=require("node:crypto")}catch{}function Gie(t,e,r,n,i,s){let a=t;a.protocol=t.protocol==="ws:"?"http:":"https:";let c=Fie({urlList:[a],client:r,serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(s.headers){let d=Hie(new qie(s.headers));c.headersList=d}let l=eI.randomBytes(16).toString("base64");c.headersList.append("sec-websocket-key",l),c.headersList.append("sec-websocket-version","13");for(let d of e)c.headersList.append("sec-websocket-protocol",d);return c.headersList.append("sec-websocket-extensions","permessage-deflate; client_max_window_bits"),Uie({request:c,useParallelQueue:!0,dispatcher:s.dispatcher,processResponse(d){if(d.type==="error"||d.status!==101){Qs(n,"Received network error or non-101 status code.");return}if(e.length!==0&&!d.headersList.get("Sec-WebSocket-Protocol")){Qs(n,"Server did not respond with sent protocols.");return}if(d.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){Qs(n,'Server did not set Upgrade header to "websocket".');return}if(d.headersList.get("Connection")?.toLowerCase()!=="upgrade"){Qs(n,'Server did not set Connection header to "upgrade".');return}let g=d.headersList.get("Sec-WebSocket-Accept"),f=eI.createHash("sha1").update(l+Rie).digest("base64");if(g!==f){Qs(n,"Incorrect hash received in Sec-WebSocket-Accept header.");return}let C=d.headersList.get("Sec-WebSocket-Extensions"),Q;if(C!==null&&(Q=kie(C),!Q.has("permessage-deflate"))){Qs(n,"Sec-WebSocket-Extensions header does not match.");return}let x=d.headersList.get("Sec-WebSocket-Protocol");if(x!==null&&!zie("sec-websocket-protocol",c.headersList).includes(x)){Qs(n,"Protocol was not set in the opening handshake.");return}d.socket.on("data",_k),d.socket.on("close",Pk),d.socket.on("error",Dk),$a.open.hasSubscribers&&$a.open.publish({address:d.socket.address(),protocol:x,extensions:C}),i(d,Q)}})}o(Gie,"establishWebSocketConnection");function Yie(t,e,r,n){if(!(Tie(t)||Oie(t)))if(!Mie(t))Qs(t,"Connection was closed before it was established."),t[wA]=QA.CLOSING;else if(t[qp]===Up.NOT_SENT){t[qp]=Up.PROCESSING;let i=new jie;e!==void 0&&r===void 0?(i.frameData=Buffer.allocUnsafe(2),i.frameData.writeUInt16BE(e,0)):e!==void 0&&r!==void 0?(i.frameData=Buffer.allocUnsafe(2+n),i.frameData.writeUInt16BE(e,0),i.frameData.write(r,2,"utf-8")):i.frameData=_ie,t[Rk].socket.write(i.createFrame(Pie.CLOSE)),t[qp]=Up.SENT,t[wA]=QA.CLOSING}else t[wA]=QA.CLOSING}o(Yie,"closeWebSocketConnection");function _k(t){this.ws[vk].write(t)||this.pause()}o(_k,"onSocketData");function Pk(){let{ws:t}=this,{[Rk]:e}=t;e.socket.off("data",_k),e.socket.off("close",Pk),e.socket.off("error",Dk);let r=t[qp]===Up.SENT&&t[xk],n=1005,i="",s=t[vk].closingInfo;s&&!s.error?(n=s.code??1005,i=s.reason):t[xk]||(n=1006),t[wA]=QA.CLOSED,Die("close",t,(a,c)=>new Lie(a,c),{wasClean:r,code:n,reason:i}),$a.close.hasSubscribers&&$a.close.publish({websocket:t,code:n,reason:i})}o(Pk,"onSocketClose");function Dk(t){let{ws:e}=this;e[wA]=QA.CLOSING,$a.socketError.hasSubscribers&&$a.socketError.publish(t),this.destroy()}o(Dk,"onSocketError");Tk.exports={establishWebSocketConnection:Gie,closeWebSocketConnection:Yie}});var Mk=h((fHe,Ok)=>{"use strict";var{createInflateRaw:Jie,Z_DEFAULT_WINDOWBITS:Vie}=require("node:zlib"),{isValidClientWindowBits:Wie}=IA(),Kie=Buffer.from([0,0,255,255]),Hp=Symbol("kBuffer"),zp=Symbol("kLength"),rI=class{static{o(this,"PerMessageDeflate")}#e;#t={};constructor(e){this.#t.serverNoContextTakeover=e.has("server_no_context_takeover"),this.#t.serverMaxWindowBits=e.get("server_max_window_bits")}decompress(e,r,n){if(!this.#e){let i=Vie;if(this.#t.serverMaxWindowBits){if(!Wie(this.#t.serverMaxWindowBits)){n(new Error("Invalid server_max_window_bits"));return}i=Number.parseInt(this.#t.serverMaxWindowBits)}this.#e=Jie({windowBits:i}),this.#e[Hp]=[],this.#e[zp]=0,this.#e.on("data",s=>{this.#e[Hp].push(s),this.#e[zp]+=s.length}),this.#e.on("error",s=>{this.#e=null,n(s)})}this.#e.write(e),r&&this.#e.write(Kie),this.#e.flush(()=>{let i=Buffer.concat(this.#e[Hp],this.#e[zp]);this.#e[Hp].length=0,this.#e[zp]=0,n(null,i)})}};Ok.exports={PerMessageDeflate:rI}});var Jk=h((yHe,Yk)=>{"use strict";var{Writable:$ie}=require("node:stream"),Xie=require("node:assert"),{parserStates:Ir,opcodes:Xa,states:Zie,emptyBuffer:kk,sentCloseFrameState:Lk}=bo(),{kReadyState:ese,kSentClose:Fk,kResponse:Uk,kReceivedClose:qk}=CA(),{channels:jp}=ca(),{isValidStatusCode:tse,isValidOpcode:rse,failWebsocketConnection:un,websocketMessageReceived:Hk,utf8Decode:nse,isControlFrame:zk,isTextBinaryFrame:nI,isContinuationFrame:ise}=IA(),{WebsocketFrameSend:jk}=Fp(),{closeWebSocketConnection:Gk}=tI(),{PerMessageDeflate:sse}=Mk(),iI=class extends $ie{static{o(this,"ByteParser")}#e=[];#t=0;#i=!1;#n=Ir.INFO;#r={};#s=[];#o;constructor(e,r){super(),this.ws=e,this.#o=r??new Map,this.#o.has("permessage-deflate")&&this.#o.set("permessage-deflate",new sse(r))}_write(e,r,n){this.#e.push(e),this.#t+=e.length,this.#i=!0,this.run(n)}run(e){for(;this.#i;)if(this.#n===Ir.INFO){if(this.#t<2)return e();let r=this.consume(2),n=(r[0]&128)!==0,i=r[0]&15,s=(r[1]&128)===128,a=!n&&i!==Xa.CONTINUATION,c=r[1]&127,l=r[0]&64,A=r[0]&32,u=r[0]&16;if(!rse(i))return un(this.ws,"Invalid opcode received"),e();if(s)return un(this.ws,"Frame cannot be masked"),e();if(l!==0&&!this.#o.has("permessage-deflate")){un(this.ws,"Expected RSV1 to be clear.");return}if(A!==0||u!==0){un(this.ws,"RSV1, RSV2, RSV3 must be clear");return}if(a&&!nI(i)){un(this.ws,"Invalid frame type was fragmented.");return}if(nI(i)&&this.#s.length>0){un(this.ws,"Expected continuation frame");return}if(this.#r.fragmented&&a){un(this.ws,"Fragmented frame exceeded 125 bytes.");return}if((c>125||a)&&zk(i)){un(this.ws,"Control frame either too large or fragmented");return}if(ise(i)&&this.#s.length===0&&!this.#r.compressed){un(this.ws,"Unexpected continuation frame");return}c<=125?(this.#r.payloadLength=c,this.#n=Ir.READ_DATA):c===126?this.#n=Ir.PAYLOADLENGTH_16:c===127&&(this.#n=Ir.PAYLOADLENGTH_64),nI(i)&&(this.#r.binaryType=i,this.#r.compressed=l!==0),this.#r.opcode=i,this.#r.masked=s,this.#r.fin=n,this.#r.fragmented=a}else if(this.#n===Ir.PAYLOADLENGTH_16){if(this.#t<2)return e();let r=this.consume(2);this.#r.payloadLength=r.readUInt16BE(0),this.#n=Ir.READ_DATA}else if(this.#n===Ir.PAYLOADLENGTH_64){if(this.#t<8)return e();let r=this.consume(8),n=r.readUInt32BE(0);if(n>2**31-1){un(this.ws,"Received payload length > 2^31 bytes.");return}let i=r.readUInt32BE(4);this.#r.payloadLength=(n<<8)+i,this.#n=Ir.READ_DATA}else if(this.#n===Ir.READ_DATA){if(this.#t{if(n){Gk(this.ws,1007,n.message,n.message.length);return}if(this.#s.push(i),!this.#r.fin){this.#n=Ir.INFO,this.#i=!0,this.run(e);return}Hk(this.ws,this.#r.binaryType,Buffer.concat(this.#s)),this.#i=!0,this.#n=Ir.INFO,this.#s.length=0,this.run(e)}),this.#i=!1;break}else{if(this.#s.push(r),!this.#r.fragmented&&this.#r.fin){let n=Buffer.concat(this.#s);Hk(this.ws,this.#r.binaryType,n),this.#s.length=0}this.#n=Ir.INFO}}}consume(e){if(e>this.#t)throw new Error("Called consume() before buffers satiated.");if(e===0)return kk;if(this.#e[0].length===e)return this.#t-=this.#e[0].length,this.#e.shift();let r=Buffer.allocUnsafe(e),n=0;for(;n!==e;){let i=this.#e[0],{length:s}=i;if(s+n===e){r.set(this.#e.shift(),n);break}else if(s+n>e){r.set(i.subarray(0,e-n),n),this.#e[0]=i.subarray(e-n);break}else r.set(this.#e.shift(),n),n+=i.length}return this.#t-=e,r}parseCloseBody(e){Xie(e.length!==1);let r;if(e.length>=2&&(r=e.readUInt16BE(0)),r!==void 0&&!tse(r))return{code:1002,reason:"Invalid status code",error:!0};let n=e.subarray(2);n[0]===239&&n[1]===187&&n[2]===191&&(n=n.subarray(3));try{n=nse(n)}catch{return{code:1007,reason:"Invalid UTF-8",error:!0}}return{code:r,reason:n,error:!1}}parseControlFrame(e){let{opcode:r,payloadLength:n}=this.#r;if(r===Xa.CLOSE){if(n===1)return un(this.ws,"Received close frame with a 1-byte body."),!1;if(this.#r.closeInfo=this.parseCloseBody(e),this.#r.closeInfo.error){let{code:i,reason:s}=this.#r.closeInfo;return Gk(this.ws,i,s,s.length),un(this.ws,s),!1}if(this.ws[Fk]!==Lk.SENT){let i=kk;this.#r.closeInfo.code&&(i=Buffer.allocUnsafe(2),i.writeUInt16BE(this.#r.closeInfo.code,0));let s=new jk(i);this.ws[Uk].socket.write(s.createFrame(Xa.CLOSE),a=>{a||(this.ws[Fk]=Lk.SENT)})}return this.ws[ese]=Zie.CLOSING,this.ws[qk]=!0,!1}else if(r===Xa.PING){if(!this.ws[qk]){let i=new jk(e);this.ws[Uk].socket.write(i.createFrame(Xa.PONG)),jp.ping.hasSubscribers&&jp.ping.publish({payload:e})}}else r===Xa.PONG&&jp.pong.hasSubscribers&&jp.pong.publish({payload:e});return!0}get closingInfo(){return this.#r.closeInfo}};Yk.exports={ByteParser:iI}});var Xk=h((EHe,$k)=>{"use strict";var{WebsocketFrameSend:ose}=Fp(),{opcodes:Vk,sendHints:Za}=bo(),ase=mE(),Wk=Buffer[Symbol.species],sI=class{static{o(this,"SendQueue")}#e=new ase;#t=!1;#i;constructor(e){this.#i=e}add(e,r,n){if(n!==Za.blob){let s=Kk(e,n);if(!this.#t)this.#i.write(s,r);else{let a={promise:null,callback:r,frame:s};this.#e.push(a)}return}let i={promise:e.arrayBuffer().then(s=>{i.promise=null,i.frame=Kk(s,n)}),callback:r,frame:null};this.#e.push(i),this.#t||this.#n()}async#n(){this.#t=!0;let e=this.#e;for(;!e.isEmpty();){let r=e.shift();r.promise!==null&&await r.promise,this.#i.write(r.frame,r.callback),r.callback=r.frame=null}this.#t=!1}};function Kk(t,e){return new ose(cse(t,e)).createFrame(e===Za.string?Vk.TEXT:Vk.BINARY)}o(Kk,"createFrame");function cse(t,e){switch(e){case Za.string:return Buffer.from(t);case Za.arrayBuffer:case Za.blob:return new Wk(t);case Za.typedArray:return new Wk(t.buffer,t.byteOffset,t.byteLength)}}o(cse,"toBuffer");$k.exports={SendQueue:sI}});var aL=h((IHe,oL)=>{"use strict";var{webidl:Ae}=Yt(),{URLSerializer:lse}=hr(),{environmentSettingsObject:Zk}=Tr(),{staticPropertyDescriptors:ws,states:NA,sentCloseFrameState:Ase,sendHints:Gp}=bo(),{kWebSocketURL:eL,kReadyState:oI,kController:use,kBinaryType:Yp,kResponse:tL,kSentClose:dse,kByteParser:pse}=CA(),{isConnecting:mse,isEstablished:gse,isClosing:fse,isValidSubprotocol:hse,fireEvent:rL}=IA(),{establishWebSocketConnection:yse,closeWebSocketConnection:nL}=tI(),{ByteParser:Cse}=Jk(),{kEnumerableProperty:dn,isBlobLike:iL}=Ee(),{getGlobalDispatcher:Ese}=op(),{types:sL}=require("node:util"),{ErrorEvent:Bse,CloseEvent:Ise}=Wa(),{SendQueue:bse}=Xk(),qr=class t extends EventTarget{static{o(this,"WebSocket")}#e={open:null,error:null,close:null,message:null};#t=0;#i="";#n="";#r;constructor(e,r=[]){super(),Ae.util.markAsUncloneable(this);let n="WebSocket constructor";Ae.argumentLengthCheck(arguments,1,n);let i=Ae.converters["DOMString or sequence or WebSocketInit"](r,n,"options");e=Ae.converters.USVString(e,n,"url"),r=i.protocols;let s=Zk.settingsObject.baseUrl,a;try{a=new URL(e,s)}catch(l){throw new DOMException(l,"SyntaxError")}if(a.protocol==="http:"?a.protocol="ws:":a.protocol==="https:"&&(a.protocol="wss:"),a.protocol!=="ws:"&&a.protocol!=="wss:")throw new DOMException(`Expected a ws: or wss: protocol, got ${a.protocol}`,"SyntaxError");if(a.hash||a.href.endsWith("#"))throw new DOMException("Got fragment","SyntaxError");if(typeof r=="string"&&(r=[r]),r.length!==new Set(r.map(l=>l.toLowerCase())).size)throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");if(r.length>0&&!r.every(l=>hse(l)))throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");this[eL]=new URL(a.href);let c=Zk.settingsObject;this[use]=yse(a,r,c,this,(l,A)=>this.#s(l,A),i),this[oI]=t.CONNECTING,this[dse]=Ase.NOT_SENT,this[Yp]="blob"}close(e=void 0,r=void 0){Ae.brandCheck(this,t);let n="WebSocket.close";if(e!==void 0&&(e=Ae.converters["unsigned short"](e,n,"code",{clamp:!0})),r!==void 0&&(r=Ae.converters.USVString(r,n,"reason")),e!==void 0&&e!==1e3&&(e<3e3||e>4999))throw new DOMException("invalid code","InvalidAccessError");let i=0;if(r!==void 0&&(i=Buffer.byteLength(r),i>123))throw new DOMException(`Reason must be less than 123 bytes; received ${i}`,"SyntaxError");nL(this,e,r,i)}send(e){Ae.brandCheck(this,t);let r="WebSocket.send";if(Ae.argumentLengthCheck(arguments,1,r),e=Ae.converters.WebSocketSendData(e,r,"data"),mse(this))throw new DOMException("Sent before connected.","InvalidStateError");if(!(!gse(this)||fse(this)))if(typeof e=="string"){let n=Buffer.byteLength(e);this.#t+=n,this.#r.add(e,()=>{this.#t-=n},Gp.string)}else sL.isArrayBuffer(e)?(this.#t+=e.byteLength,this.#r.add(e,()=>{this.#t-=e.byteLength},Gp.arrayBuffer)):ArrayBuffer.isView(e)?(this.#t+=e.byteLength,this.#r.add(e,()=>{this.#t-=e.byteLength},Gp.typedArray)):iL(e)&&(this.#t+=e.size,this.#r.add(e,()=>{this.#t-=e.size},Gp.blob))}get readyState(){return Ae.brandCheck(this,t),this[oI]}get bufferedAmount(){return Ae.brandCheck(this,t),this.#t}get url(){return Ae.brandCheck(this,t),lse(this[eL])}get extensions(){return Ae.brandCheck(this,t),this.#n}get protocol(){return Ae.brandCheck(this,t),this.#i}get onopen(){return Ae.brandCheck(this,t),this.#e.open}set onopen(e){Ae.brandCheck(this,t),this.#e.open&&this.removeEventListener("open",this.#e.open),typeof e=="function"?(this.#e.open=e,this.addEventListener("open",e)):this.#e.open=null}get onerror(){return Ae.brandCheck(this,t),this.#e.error}set onerror(e){Ae.brandCheck(this,t),this.#e.error&&this.removeEventListener("error",this.#e.error),typeof e=="function"?(this.#e.error=e,this.addEventListener("error",e)):this.#e.error=null}get onclose(){return Ae.brandCheck(this,t),this.#e.close}set onclose(e){Ae.brandCheck(this,t),this.#e.close&&this.removeEventListener("close",this.#e.close),typeof e=="function"?(this.#e.close=e,this.addEventListener("close",e)):this.#e.close=null}get onmessage(){return Ae.brandCheck(this,t),this.#e.message}set onmessage(e){Ae.brandCheck(this,t),this.#e.message&&this.removeEventListener("message",this.#e.message),typeof e=="function"?(this.#e.message=e,this.addEventListener("message",e)):this.#e.message=null}get binaryType(){return Ae.brandCheck(this,t),this[Yp]}set binaryType(e){Ae.brandCheck(this,t),e!=="blob"&&e!=="arraybuffer"?this[Yp]="blob":this[Yp]=e}#s(e,r){this[tL]=e;let n=new Cse(this,r);n.on("drain",Qse),n.on("error",wse.bind(this)),e.socket.ws=this,this[pse]=n,this.#r=new bse(e.socket),this[oI]=NA.OPEN;let i=e.headersList.get("sec-websocket-extensions");i!==null&&(this.#n=i);let s=e.headersList.get("sec-websocket-protocol");s!==null&&(this.#i=s),rL("open",this)}};qr.CONNECTING=qr.prototype.CONNECTING=NA.CONNECTING;qr.OPEN=qr.prototype.OPEN=NA.OPEN;qr.CLOSING=qr.prototype.CLOSING=NA.CLOSING;qr.CLOSED=qr.prototype.CLOSED=NA.CLOSED;Object.defineProperties(qr.prototype,{CONNECTING:ws,OPEN:ws,CLOSING:ws,CLOSED:ws,url:dn,readyState:dn,bufferedAmount:dn,onopen:dn,onerror:dn,onclose:dn,close:dn,onmessage:dn,binaryType:dn,send:dn,extensions:dn,protocol:dn,[Symbol.toStringTag]:{value:"WebSocket",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(qr,{CONNECTING:ws,OPEN:ws,CLOSING:ws,CLOSED:ws});Ae.converters["sequence"]=Ae.sequenceConverter(Ae.converters.DOMString);Ae.converters["DOMString or sequence"]=function(t,e,r){return Ae.util.Type(t)==="Object"&&Symbol.iterator in t?Ae.converters["sequence"](t):Ae.converters.DOMString(t,e,r)};Ae.converters.WebSocketInit=Ae.dictionaryConverter([{key:"protocols",converter:Ae.converters["DOMString or sequence"],defaultValue:()=>new Array(0)},{key:"dispatcher",converter:Ae.converters.any,defaultValue:()=>Ese()},{key:"headers",converter:Ae.nullableConverter(Ae.converters.HeadersInit)}]);Ae.converters["DOMString or sequence or WebSocketInit"]=function(t){return Ae.util.Type(t)==="Object"&&!(Symbol.iterator in t)?Ae.converters.WebSocketInit(t):{protocols:Ae.converters["DOMString or sequence"](t)}};Ae.converters.WebSocketSendData=function(t){if(Ae.util.Type(t)==="Object"){if(iL(t))return Ae.converters.Blob(t,{strict:!1});if(ArrayBuffer.isView(t)||sL.isArrayBuffer(t))return Ae.converters.BufferSource(t)}return Ae.converters.USVString(t)};function Qse(){this.ws[tL].socket.resume()}o(Qse,"onParserDrain");function wse(t){let e,r;t instanceof Ise?(e=t.reason,r=t.code):e=t.message,rL("error",this,()=>new Bse("error",{error:t,message:e})),nL(this,r)}o(wse,"onParserError");oL.exports={WebSocket:qr}});var aI=h((QHe,cL)=>{"use strict";function Nse(t){return t.indexOf("\0")===-1}o(Nse,"isValidLastEventId");function Sse(t){if(t.length===0)return!1;for(let e=0;e57)return!1;return!0}o(Sse,"isASCIINumber");function xse(t){return new Promise(e=>{setTimeout(e,t).unref()})}o(xse,"delay");cL.exports={isValidLastEventId:Nse,isASCIINumber:Sse,delay:xse}});var dL=h((NHe,uL)=>{"use strict";var{Transform:vse}=require("node:stream"),{isASCIINumber:lL,isValidLastEventId:AL}=aI(),Yi=[239,187,191],cI=10,Jp=13,Rse=58,_se=32,lI=class extends vse{static{o(this,"EventSourceStream")}state=null;checkBOM=!0;crlfCheck=!1;eventEndCheck=!1;buffer=null;pos=0;event={data:void 0,event:void 0,id:void 0,retry:void 0};constructor(e={}){e.readableObjectMode=!0,super(e),this.state=e.eventSourceSettings||{},e.push&&(this.push=e.push)}_transform(e,r,n){if(e.length===0){n();return}if(this.buffer?this.buffer=Buffer.concat([this.buffer,e]):this.buffer=e,this.checkBOM)switch(this.buffer.length){case 1:if(this.buffer[0]===Yi[0]){n();return}this.checkBOM=!1,n();return;case 2:if(this.buffer[0]===Yi[0]&&this.buffer[1]===Yi[1]){n();return}this.checkBOM=!1;break;case 3:if(this.buffer[0]===Yi[0]&&this.buffer[1]===Yi[1]&&this.buffer[2]===Yi[2]){this.buffer=Buffer.alloc(0),this.checkBOM=!1,n();return}this.checkBOM=!1;break;default:this.buffer[0]===Yi[0]&&this.buffer[1]===Yi[1]&&this.buffer[2]===Yi[2]&&(this.buffer=this.buffer.subarray(3)),this.checkBOM=!1;break}for(;this.pos0&&(r[i]=s);break}}processEvent(e){e.retry&&lL(e.retry)&&(this.state.reconnectionTime=parseInt(e.retry,10)),e.id&&AL(e.id)&&(this.state.lastEventId=e.id),e.data!==void 0&&this.push({type:e.event||"message",options:{data:e.data,lastEventId:this.state.lastEventId,origin:this.state.origin}})}clearEvent(){this.event={data:void 0,event:void 0,id:void 0,retry:void 0}}};uL.exports={EventSourceStream:lI}});var EL=h((xHe,CL)=>{"use strict";var{pipeline:Pse}=require("node:stream"),{fetching:Dse}=gA(),{makeRequest:Tse}=za(),{webidl:Ji}=Yt(),{EventSourceStream:Ose}=dL(),{parseMIMEType:Mse}=hr(),{createFastMessageEvent:kse}=Wa(),{isNetworkError:pL}=pA(),{delay:Lse}=aI(),{kEnumerableProperty:Qo}=Ee(),{environmentSettingsObject:mL}=Tr(),gL=!1,fL=3e3,SA=0,hL=1,xA=2,Fse="anonymous",Use="use-credentials",ec=class t extends EventTarget{static{o(this,"EventSource")}#e={open:null,error:null,message:null};#t=null;#i=!1;#n=SA;#r=null;#s=null;#o;#a;constructor(e,r={}){super(),Ji.util.markAsUncloneable(this);let n="EventSource constructor";Ji.argumentLengthCheck(arguments,1,n),gL||(gL=!0,process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})),e=Ji.converters.USVString(e,n,"url"),r=Ji.converters.EventSourceInitDict(r,n,"eventSourceInitDict"),this.#o=r.dispatcher,this.#a={lastEventId:"",reconnectionTime:fL};let i=mL,s;try{s=new URL(e,i.settingsObject.baseUrl),this.#a.origin=s.origin}catch(l){throw new DOMException(l,"SyntaxError")}this.#t=s.href;let a=Fse;r.withCredentials&&(a=Use,this.#i=!0);let c={redirect:"follow",keepalive:!0,mode:"cors",credentials:a==="anonymous"?"same-origin":"omit",referrer:"no-referrer"};c.client=mL.settingsObject,c.headersList=[["accept",{name:"accept",value:"text/event-stream"}]],c.cache="no-store",c.initiator="other",c.urlList=[new URL(this.#t)],this.#r=Tse(c),this.#c()}get readyState(){return this.#n}get url(){return this.#t}get withCredentials(){return this.#i}#c(){if(this.#n===xA)return;this.#n=SA;let e={request:this.#r,dispatcher:this.#o},r=o(n=>{pL(n)&&(this.dispatchEvent(new Event("error")),this.close()),this.#l()},"processEventSourceEndOfBody");e.processResponseEndOfBody=r,e.processResponse=n=>{if(pL(n))if(n.aborted){this.close(),this.dispatchEvent(new Event("error"));return}else{this.#l();return}let i=n.headersList.get("content-type",!0),s=i!==null?Mse(i):"failure",a=s!=="failure"&&s.essence==="text/event-stream";if(n.status!==200||a===!1){this.close(),this.dispatchEvent(new Event("error"));return}this.#n=hL,this.dispatchEvent(new Event("open")),this.#a.origin=n.urlList[n.urlList.length-1].origin;let c=new Ose({eventSourceSettings:this.#a,push:l=>{this.dispatchEvent(kse(l.type,l.options))}});Pse(n.body.stream,c,l=>{l?.aborted===!1&&(this.close(),this.dispatchEvent(new Event("error")))})},this.#s=Dse(e)}async#l(){this.#n!==xA&&(this.#n=SA,this.dispatchEvent(new Event("error")),await Lse(this.#a.reconnectionTime),this.#n===SA&&(this.#a.lastEventId.length&&this.#r.headersList.set("last-event-id",this.#a.lastEventId,!0),this.#c()))}close(){Ji.brandCheck(this,t),this.#n!==xA&&(this.#n=xA,this.#s.abort(),this.#r=null)}get onopen(){return this.#e.open}set onopen(e){this.#e.open&&this.removeEventListener("open",this.#e.open),typeof e=="function"?(this.#e.open=e,this.addEventListener("open",e)):this.#e.open=null}get onmessage(){return this.#e.message}set onmessage(e){this.#e.message&&this.removeEventListener("message",this.#e.message),typeof e=="function"?(this.#e.message=e,this.addEventListener("message",e)):this.#e.message=null}get onerror(){return this.#e.error}set onerror(e){this.#e.error&&this.removeEventListener("error",this.#e.error),typeof e=="function"?(this.#e.error=e,this.addEventListener("error",e)):this.#e.error=null}},yL={CONNECTING:{__proto__:null,configurable:!1,enumerable:!0,value:SA,writable:!1},OPEN:{__proto__:null,configurable:!1,enumerable:!0,value:hL,writable:!1},CLOSED:{__proto__:null,configurable:!1,enumerable:!0,value:xA,writable:!1}};Object.defineProperties(ec,yL);Object.defineProperties(ec.prototype,yL);Object.defineProperties(ec.prototype,{close:Qo,onerror:Qo,onmessage:Qo,onopen:Qo,readyState:Qo,url:Qo,withCredentials:Qo});Ji.converters.EventSourceInitDict=Ji.dictionaryConverter([{key:"withCredentials",converter:Ji.converters.boolean,defaultValue:()=>!1},{key:"dispatcher",converter:Ji.converters.any}]);CL.exports={EventSource:ec,defaultReconnectionTime:fL}});var QL=h((RHe,ce)=>{"use strict";var qse=xa(),BL=Dl(),Hse=va(),zse=yD(),jse=Ra(),Gse=TE(),Yse=HD(),Jse=VD(),IL=_e(),Wp=Ee(),{InvalidArgumentError:Vp}=IL,tc=TT(),Vse=Ol(),Wse=gB(),Kse=fO(),$se=yB(),Xse=rB(),Zse=Kd(),{getGlobalDispatcher:bL,setGlobalDispatcher:eoe}=op(),toe=ap(),roe=Fd(),noe=Ud();Object.assign(BL.prototype,tc);ce.exports.Dispatcher=BL;ce.exports.Client=qse;ce.exports.Pool=Hse;ce.exports.BalancedPool=zse;ce.exports.Agent=jse;ce.exports.ProxyAgent=Gse;ce.exports.EnvHttpProxyAgent=Yse;ce.exports.RetryAgent=Jse;ce.exports.RetryHandler=Zse;ce.exports.DecoratorHandler=toe;ce.exports.RedirectHandler=roe;ce.exports.createRedirectInterceptor=noe;ce.exports.interceptors={redirect:bO(),retry:wO(),dump:SO(),dns:RO()};ce.exports.buildConnector=Vse;ce.exports.errors=IL;ce.exports.util={parseHeaders:Wp.parseHeaders,headerNameToString:Wp.headerNameToString};function vA(t){return(e,r,n)=>{if(typeof r=="function"&&(n=r,r=null),!e||typeof e!="string"&&typeof e!="object"&&!(e instanceof URL))throw new Vp("invalid url");if(r!=null&&typeof r!="object")throw new Vp("invalid opts");if(r&&r.path!=null){if(typeof r.path!="string")throw new Vp("invalid opts.path");let a=r.path;r.path.startsWith("/")||(a=`/${a}`),e=new URL(Wp.parseOrigin(e).origin+a)}else r||(r=typeof e=="object"?e:{}),e=Wp.parseURL(e);let{agent:i,dispatcher:s=bL()}=r;if(i)throw new Vp("unsupported opts.agent. Did you mean opts.client?");return t.call(s,{...r,origin:e.origin,path:e.search?`${e.pathname}${e.search}`:e.pathname,method:r.method||(r.body?"PUT":"GET")},n)}}o(vA,"makeDispatcher");ce.exports.setGlobalDispatcher=eoe;ce.exports.getGlobalDispatcher=bL;var ioe=gA().fetch;ce.exports.fetch=o(async function(e,r=void 0){try{return await ioe(e,r)}catch(n){throw n&&typeof n=="object"&&Error.captureStackTrace(n),n}},"fetch");ce.exports.Headers=ho().Headers;ce.exports.Response=pA().Response;ce.exports.Request=za().Request;ce.exports.FormData=Hl().FormData;ce.exports.File=globalThis.File??require("node:buffer").File;ce.exports.FileReader=YM().FileReader;var{setGlobalOrigin:soe,getGlobalOrigin:ooe}=OC();ce.exports.setGlobalOrigin=soe;ce.exports.getGlobalOrigin=ooe;var{CacheStorage:aoe}=tk(),{kConstruct:coe}=xp();ce.exports.caches=new aoe(coe);var{deleteCookie:loe,getCookies:Aoe,getSetCookies:uoe,setCookie:doe}=pk();ce.exports.deleteCookie=loe;ce.exports.getCookies=Aoe;ce.exports.getSetCookies=uoe;ce.exports.setCookie=doe;var{parseMIMEType:poe,serializeAMimeType:moe}=hr();ce.exports.parseMIMEType=poe;ce.exports.serializeAMimeType=moe;var{CloseEvent:goe,ErrorEvent:foe,MessageEvent:hoe}=Wa();ce.exports.WebSocket=aL().WebSocket;ce.exports.CloseEvent=goe;ce.exports.ErrorEvent=foe;ce.exports.MessageEvent=hoe;ce.exports.request=vA(tc.request);ce.exports.stream=vA(tc.stream);ce.exports.pipeline=vA(tc.pipeline);ce.exports.connect=vA(tc.connect);ce.exports.upgrade=vA(tc.upgrade);ce.exports.MockClient=Wse;ce.exports.MockPool=$se;ce.exports.MockAgent=Kse;ce.exports.mockErrors=Xse;var{EventSource:yoe}=EL();ce.exports.EventSource=yoe});var wo=h(nt=>{"use strict";var Coe=nt&&nt.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),Eoe=nt&&nt.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),Zp=nt&&nt.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;ibt(this,void 0,void 0,function*(){let r=Buffer.alloc(0);this.message.on("data",n=>{r=Buffer.concat([r,n])}),this.message.on("end",()=>{e(r.toString())})}))})}readBodyBuffer(){return bt(this,void 0,void 0,function*(){return new Promise(e=>bt(this,void 0,void 0,function*(){let r=[];this.message.on("data",n=>{r.push(n)}),this.message.on("end",()=>{e(Buffer.concat(r))})}))})}};nt.HttpClientResponse=Xp;function xoe(t){return new URL(t).protocol==="https:"}o(xoe,"isHttps");var dI=class{static{o(this,"HttpClient")}constructor(e,r,n){this._ignoreSslError=!1,this._allowRedirects=!0,this._allowRedirectDowngrade=!1,this._maxRedirects=50,this._allowRetries=!1,this._maxRetries=1,this._keepAlive=!1,this._disposed=!1,this.userAgent=this._getUserAgentWithOrchestrationId(e),this.handlers=r||[],this.requestOptions=n,n&&(n.ignoreSslError!=null&&(this._ignoreSslError=n.ignoreSslError),this._socketTimeout=n.socketTimeout,n.allowRedirects!=null&&(this._allowRedirects=n.allowRedirects),n.allowRedirectDowngrade!=null&&(this._allowRedirectDowngrade=n.allowRedirectDowngrade),n.maxRedirects!=null&&(this._maxRedirects=Math.max(n.maxRedirects,0)),n.keepAlive!=null&&(this._keepAlive=n.keepAlive),n.allowRetries!=null&&(this._allowRetries=n.allowRetries),n.maxRetries!=null&&(this._maxRetries=n.maxRetries))}options(e,r){return bt(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return bt(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return bt(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,n){return bt(this,void 0,void 0,function*(){return this.request("POST",e,r,n||{})})}patch(e,r,n){return bt(this,void 0,void 0,function*(){return this.request("PATCH",e,r,n||{})})}put(e,r,n){return bt(this,void 0,void 0,function*(){return this.request("PUT",e,r,n||{})})}head(e,r){return bt(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,n,i){return bt(this,void 0,void 0,function*(){return this.request(e,r,n,i)})}getJson(e){return bt(this,arguments,void 0,function*(r,n={}){n[ur.Accept]=this._getExistingOrDefaultHeader(n,ur.Accept,Vi.ApplicationJson);let i=yield this.get(r,n);return this._processResponse(i,this.requestOptions)})}postJson(e,r){return bt(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[ur.Accept]=this._getExistingOrDefaultHeader(s,ur.Accept,Vi.ApplicationJson),s[ur.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,Vi.ApplicationJson);let c=yield this.post(n,a,s);return this._processResponse(c,this.requestOptions)})}putJson(e,r){return bt(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[ur.Accept]=this._getExistingOrDefaultHeader(s,ur.Accept,Vi.ApplicationJson),s[ur.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,Vi.ApplicationJson);let c=yield this.put(n,a,s);return this._processResponse(c,this.requestOptions)})}patchJson(e,r){return bt(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[ur.Accept]=this._getExistingOrDefaultHeader(s,ur.Accept,Vi.ApplicationJson),s[ur.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,Vi.ApplicationJson);let c=yield this.patch(n,a,s);return this._processResponse(c,this.requestOptions)})}request(e,r,n,i){return bt(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let s=new URL(r),a=this._prepareRequest(e,s,i),c=this._allowRetries&&woe.includes(e)?this._maxRetries+1:1,l=0,A;do{if(A=yield this.requestRaw(a,n),A&&A.message&&A.message.statusCode===pn.Unauthorized){let d;for(let g of this.handlers)if(g.canHandleAuthentication(A)){d=g;break}return d?d.handleAuthentication(this,a,n):A}let u=this._maxRedirects;for(;A.message.statusCode&&boe.includes(A.message.statusCode)&&this._allowRedirects&&u>0;){let d=A.message.headers.location;if(!d)break;let g=new URL(d);if(s.protocol==="https:"&&s.protocol!==g.protocol&&!this._allowRedirectDowngrade)throw new Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.");if(yield A.readBody(),g.hostname!==s.hostname)for(let f in i)f.toLowerCase()==="authorization"&&delete i[f];a=this._prepareRequest(e,g,i),A=yield this.requestRaw(a,n),u--}if(!A.message.statusCode||!Qoe.includes(A.message.statusCode))return A;l+=1,l{function s(a,c){a?i(a):c?n(c):i(new Error("Unknown error"))}o(s,"callbackForResult"),this.requestRawWithCallback(e,r,s)})})}requestRawWithCallback(e,r,n){typeof r=="string"&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(r,"utf8"));let i=!1;function s(l,A){i||(i=!0,n(l,A))}o(s,"handleResult");let a=e.httpModule.request(e.options,l=>{let A=new Xp(l);s(void 0,A)}),c;a.on("socket",l=>{c=l}),a.setTimeout(this._socketTimeout||3*6e4,()=>{c&&c.end(),s(new Error(`Request timeout: ${e.options.path}`))}),a.on("error",function(l){s(l)}),r&&typeof r=="string"&&a.write(r,"utf8"),r&&typeof r!="string"?(r.on("close",function(){a.end()}),r.pipe(a)):a.end()}getAgent(e){let r=new URL(e);return this._getAgent(r)}getAgentDispatcher(e){let r=new URL(e),n=uI.getProxyUrl(r);if(n&&n.hostname)return this._getProxyAgentDispatcher(r,n)}_prepareRequest(e,r,n){let i={};i.parsedUrl=r;let s=i.parsedUrl.protocol==="https:";i.httpModule=s?wL:AI;let a=s?443:80;if(i.options={},i.options.host=i.parsedUrl.hostname,i.options.port=i.parsedUrl.port?parseInt(i.parsedUrl.port):a,i.options.path=(i.parsedUrl.pathname||"")+(i.parsedUrl.search||""),i.options.method=e,i.options.headers=this._mergeHeaders(n),this.userAgent!=null&&(i.options.headers["user-agent"]=this.userAgent),i.options.agent=this._getAgent(i.parsedUrl),this.handlers)for(let c of this.handlers)c.prepareRequest(i.options);return i}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},RA(this.requestOptions.headers),RA(e||{})):RA(e||{})}_getExistingOrDefaultHeader(e,r,n){let i;if(this.requestOptions&&this.requestOptions.headers){let a=RA(this.requestOptions.headers)[r];a&&(i=typeof a=="number"?a.toString():a)}let s=e[r];return s!==void 0?typeof s=="number"?s.toString():s:i!==void 0?i:n}_getExistingOrDefaultContentTypeHeader(e,r){let n;if(this.requestOptions&&this.requestOptions.headers){let s=RA(this.requestOptions.headers)[ur.ContentType];s&&(typeof s=="number"?n=String(s):Array.isArray(s)?n=s.join(", "):n=s)}let i=e[ur.ContentType];return i!==void 0?typeof i=="number"?String(i):Array.isArray(i)?i.join(", "):i:n!==void 0?n:r}_getAgent(e){let r,n=uI.getProxyUrl(e),i=n&&n.hostname;if(this._keepAlive&&i&&(r=this._proxyAgent),i||(r=this._agent),r)return r;let s=e.protocol==="https:",a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||AI.globalAgent.maxSockets),n&&n.hostname){let c={maxSockets:a,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(n.username||n.password)&&{proxyAuth:`${n.username}:${n.password}`}),{host:n.hostname,port:n.port})},l,A=n.protocol==="https:";s?l=A?Kp.httpsOverHttps:Kp.httpsOverHttp:l=A?Kp.httpOverHttps:Kp.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=s?new wL.Agent(c):new AI.Agent(c),this._agent=r}return s&&this._ignoreSslError&&(r.options=Object.assign(r.options||{},{rejectUnauthorized:!1})),r}_getProxyAgentDispatcher(e,r){let n;if(this._keepAlive&&(n=this._proxyAgentDispatcher),n)return n;let i=e.protocol==="https:";return n=new Boe.ProxyAgent(Object.assign({uri:r.href,pipelining:this._keepAlive?1:0},(r.username||r.password)&&{token:`Basic ${Buffer.from(`${r.username}:${r.password}`).toString("base64")}`})),this._proxyAgentDispatcher=n,i&&this._ignoreSslError&&(n.options=Object.assign(n.options.requestTls||{},{rejectUnauthorized:!1})),n}_getUserAgentWithOrchestrationId(e){let r=e||"actions/http-client",n=process.env.ACTIONS_ORCHESTRATION_ID;if(n){let i=n.replace(/[^a-z0-9_.-]/gi,"_");return`${r} actions_orchestration_id/${i}`}return r}_performExponentialBackoff(e){return bt(this,void 0,void 0,function*(){e=Math.min(Noe,e);let r=Soe*Math.pow(2,e);return new Promise(n=>setTimeout(()=>n(),r))})}_processResponse(e,r){return bt(this,void 0,void 0,function*(){return new Promise((n,i)=>bt(this,void 0,void 0,function*(){let s=e.message.statusCode||0,a={statusCode:s,result:null,headers:{}};s===pn.NotFound&&n(a);function c(u,d){if(typeof d=="string"){let g=new Date(d);if(!isNaN(g.valueOf()))return g}return d}o(c,"dateTimeDeserializer");let l,A;try{A=yield e.readBody(),A&&A.length>0&&(r&&r.deserializeDates?l=JSON.parse(A,c):l=JSON.parse(A),a.result=l),a.headers=e.message.headers}catch{}if(s>299){let u;l&&l.message?u=l.message:A&&A.length>0?u=A:u=`Failed request: (${s})`;let d=new $p(u,s);d.result=a.result,i(d)}else n(a)}))})}};nt.HttpClient=dI;var RA=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys")});var em=h(Ai=>{"use strict";var fI=Ai&&Ai.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(Ai,"__esModule",{value:!0});Ai.PersonalAccessTokenCredentialHandler=Ai.BearerCredentialHandler=Ai.BasicCredentialHandler=void 0;var pI=class{static{o(this,"BasicCredentialHandler")}constructor(e,r){this.username=e,this.password=r}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization=`Basic ${Buffer.from(`${this.username}:${this.password}`).toString("base64")}`}canHandleAuthentication(){return!1}handleAuthentication(){return fI(this,void 0,void 0,function*(){throw new Error("not implemented")})}};Ai.BasicCredentialHandler=pI;var mI=class{static{o(this,"BearerCredentialHandler")}constructor(e){this.token=e}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization=`Bearer ${this.token}`}canHandleAuthentication(){return!1}handleAuthentication(){return fI(this,void 0,void 0,function*(){throw new Error("not implemented")})}};Ai.BearerCredentialHandler=mI;var gI=class{static{o(this,"PersonalAccessTokenCredentialHandler")}constructor(e){this.token=e}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization=`Basic ${Buffer.from(`PAT:${this.token}`).toString("base64")}`}canHandleAuthentication(){return!1}handleAuthentication(){return fI(this,void 0,void 0,function*(){throw new Error("not implemented")})}};Ai.PersonalAccessTokenCredentialHandler=gI});var xL=h(rc=>{"use strict";var NL=rc&&rc.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(rc,"__esModule",{value:!0});rc.OidcClient=void 0;var voe=wo(),Roe=em(),SL=Zt(),hI=class t{static{o(this,"OidcClient")}static createHttpClient(e=!0,r=10){let n={allowRetries:e,maxRetries:r};return new voe.HttpClient("actions/oidc-client",[new Roe.BearerCredentialHandler(t.getRequestToken())],n)}static getRequestToken(){let e=process.env.ACTIONS_ID_TOKEN_REQUEST_TOKEN;if(!e)throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable");return e}static getIDTokenUrl(){let e=process.env.ACTIONS_ID_TOKEN_REQUEST_URL;if(!e)throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable");return e}static getCall(e){return NL(this,void 0,void 0,function*(){var r;let s=(r=(yield t.createHttpClient().getJson(e).catch(a=>{throw new Error(`Failed to get ID Token. +`.trim())}};ZT.exports=EB});var dp=f((nUe,iO)=>{"use strict";var tO=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:Q7}=Pe(),N7=Fa();nO()===void 0&&rO(new N7);function rO(t){if(!t||typeof t.dispatch!="function")throw new Q7("Argument agent must implement Agent");Object.defineProperty(globalThis,tO,{value:t,writable:!0,enumerable:!1,configurable:!1})}s(rO,"setGlobalDispatcher");function nO(){return globalThis[tO]}s(nO,"getGlobalDispatcher");iO.exports={setGlobalDispatcher:rO,getGlobalDispatcher:nO}});var pp=f((oUe,sO)=>{"use strict";sO.exports=class{static{s(this,"DecoratorHandler")}#e;constructor(e){if(typeof e!="object"||e===null)throw new TypeError("handler must be an object");this.#e=e}onConnect(...e){return this.#e.onConnect?.(...e)}onError(...e){return this.#e.onError?.(...e)}onUpgrade(...e){return this.#e.onUpgrade?.(...e)}onResponseStarted(...e){return this.#e.onResponseStarted?.(...e)}onHeaders(...e){return this.#e.onHeaders?.(...e)}onData(...e){return this.#e.onData?.(...e)}onComplete(...e){return this.#e.onComplete?.(...e)}onBodySent(...e){return this.#e.onBodySent?.(...e)}}});var aO=f((cUe,oO)=>{"use strict";var w7=jd();oO.exports=t=>{let e=t?.maxRedirections;return r=>s(function(i,o){let{maxRedirections:a=e,...c}=i;if(!a)return r(i,o);let l=new w7(r,a,i,o);return r(c,l)},"redirectInterceptor")}});var lO=f((AUe,cO)=>{"use strict";var S7=rp();cO.exports=t=>e=>s(function(n,i){return e(n,new S7({...n,retryOptions:{...t,...n.retryOptions}},{handler:i,dispatch:e}))},"retryInterceptor")});var uO=f((dUe,AO)=>{"use strict";var x7=Ce(),{InvalidArgumentError:R7,RequestAbortedError:v7}=Pe(),P7=pp(),BB=class extends P7{static{s(this,"DumpHandler")}#e=1024*1024;#t=null;#i=!1;#n=!1;#r=0;#s=null;#o=null;constructor({maxSize:e},r){if(super(r),e!=null&&(!Number.isFinite(e)||e<1))throw new R7("maxSize must be a number greater than 0");this.#e=e??this.#e,this.#o=r}onConnect(e){this.#t=e,this.#o.onConnect(this.#a.bind(this))}#a(e){this.#n=!0,this.#s=e}onHeaders(e,r,n,i){let a=x7.parseHeaders(r)["content-length"];if(a!=null&&a>this.#e)throw new v7(`Response size (${a}) larger than maxSize (${this.#e})`);return this.#n?!0:this.#o.onHeaders(e,r,n,i)}onError(e){this.#i||(e=this.#s??e,this.#o.onError(e))}onData(e){return this.#r=this.#r+e.length,this.#r>=this.#e&&(this.#i=!0,this.#n?this.#o.onError(this.#s):this.#o.onComplete([])),!0}onComplete(e){if(!this.#i){if(this.#n){this.#o.onError(this.reason);return}this.#o.onComplete(e)}}};function _7({maxSize:t}={maxSize:1024*1024}){return e=>s(function(n,i){let{dumpMaxSize:o=t}=n,a=new BB({maxSize:o},i);return e(n,a)},"Intercept")}s(_7,"createDumpInterceptor");AO.exports=_7});var mO=f((mUe,pO)=>{"use strict";var{isIP:D7}=require("node:net"),{lookup:T7}=require("node:dns"),O7=pp(),{InvalidArgumentError:Wa,InformationalError:M7}=Pe(),dO=Math.pow(2,31)-1,IB=class{static{s(this,"DNSInstance")}#e=0;#t=0;#i=new Map;dualStack=!0;affinity=null;lookup=null;pick=null;constructor(e){this.#e=e.maxTTL,this.#t=e.maxItems,this.dualStack=e.dualStack,this.affinity=e.affinity,this.lookup=e.lookup??this.#n,this.pick=e.pick??this.#r}get full(){return this.#i.size===this.#t}runLookup(e,r,n){let i=this.#i.get(e.hostname);if(i==null&&this.full){n(null,e.origin);return}let o={affinity:this.affinity,dualStack:this.dualStack,lookup:this.lookup,pick:this.pick,...r.dns,maxTTL:this.#e,maxItems:this.#t};if(i==null)this.lookup(e,o,(a,c)=>{if(a||c==null||c.length===0){n(a??new M7("No DNS entries found"));return}this.setRecords(e,c);let l=this.#i.get(e.hostname),A=this.pick(e,l,o.affinity),u;typeof A.port=="number"?u=`:${A.port}`:e.port!==""?u=`:${e.port}`:u="",n(null,`${e.protocol}//${A.family===6?`[${A.address}]`:A.address}${u}`)});else{let a=this.pick(e,i,o.affinity);if(a==null){this.#i.delete(e.hostname),this.runLookup(e,r,n);return}let c;typeof a.port=="number"?c=`:${a.port}`:e.port!==""?c=`:${e.port}`:c="",n(null,`${e.protocol}//${a.family===6?`[${a.address}]`:a.address}${c}`)}}#n(e,r,n){T7(e.hostname,{all:!0,family:this.dualStack===!1?this.affinity:0,order:"ipv4first"},(i,o)=>{if(i)return n(i);let a=new Map;for(let c of o)a.set(`${c.address}:${c.family}`,c);n(null,a.values())})}#r(e,r,n){let i=null,{records:o,offset:a}=r,c;if(this.dualStack?(n==null&&(a==null||a===dO?(r.offset=0,n=4):(r.offset++,n=(r.offset&1)===1?6:4)),o[n]!=null&&o[n].ips.length>0?c=o[n]:c=o[n===4?6:4]):c=o[n],c==null||c.ips.length===0)return i;c.offset==null||c.offset===dO?c.offset=0:c.offset++;let l=c.offset%c.ips.length;return i=c.ips[l]??null,i==null?i:Date.now()-i.timestamp>i.ttl?(c.ips.splice(l,1),this.pick(e,r,n)):i}setRecords(e,r){let n=Date.now(),i={records:{4:null,6:null}};for(let o of r){o.timestamp=n,typeof o.ttl=="number"?o.ttl=Math.min(o.ttl,this.#e):o.ttl=this.#e;let a=i.records[o.family]??{ips:[]};a.ips.push(o),i.records[o.family]=a}this.#i.set(e.hostname,i)}getHandler(e,r){return new bB(this,e,r)}},bB=class extends O7{static{s(this,"DNSDispatchHandler")}#e=null;#t=null;#i=null;#n=null;#r=null;constructor(e,{origin:r,handler:n,dispatch:i},o){super(n),this.#r=r,this.#n=n,this.#t={...o},this.#e=e,this.#i=i}onError(e){switch(e.code){case"ETIMEDOUT":case"ECONNREFUSED":{if(this.#e.dualStack){this.#e.runLookup(this.#r,this.#t,(r,n)=>{if(r)return this.#n.onError(r);let i={...this.#t,origin:n};this.#i(i,this)});return}this.#n.onError(e);return}case"ENOTFOUND":this.#e.deleteRecord(this.#r);default:this.#n.onError(e);break}}};pO.exports=t=>{if(t?.maxTTL!=null&&(typeof t?.maxTTL!="number"||t?.maxTTL<0))throw new Wa("Invalid maxTTL. Must be a positive number");if(t?.maxItems!=null&&(typeof t?.maxItems!="number"||t?.maxItems<1))throw new Wa("Invalid maxItems. Must be a positive number and greater than zero");if(t?.affinity!=null&&t?.affinity!==4&&t?.affinity!==6)throw new Wa("Invalid affinity. Must be either 4 or 6");if(t?.dualStack!=null&&typeof t?.dualStack!="boolean")throw new Wa("Invalid dualStack. Must be a boolean");if(t?.lookup!=null&&typeof t?.lookup!="function")throw new Wa("Invalid lookup. Must be a function");if(t?.pick!=null&&typeof t?.pick!="function")throw new Wa("Invalid pick. Must be a function");let e=t?.dualStack??!0,r;e?r=t?.affinity??null:r=t?.affinity??4;let n={maxTTL:t?.maxTTL??1e4,lookup:t?.lookup??null,pick:t?.pick??null,dualStack:e,affinity:r,maxItems:t?.maxItems??1/0},i=new IB(n);return o=>s(function(c,l){let A=c.origin.constructor===URL?c.origin:new URL(c.origin);return D7(A.hostname)!==0?o(c,l):(i.runLookup(A,c,(u,d)=>{if(u)return l.onError(u);let g=null;g={...c,servername:A.hostname,origin:d,headers:{host:A.hostname,...c.headers}},o(g,i.getHandler({origin:A,dispatch:o,handler:l},c))}),!0)},"dnsInterceptor")}});var bo=f((hUe,BO)=>{"use strict";var{kConstruct:k7}=et(),{kEnumerableProperty:Ka}=Ce(),{iteratorMixin:L7,isValidHeaderName:fA,isValidHeaderValue:hO}=Fr(),{webidl:Re}=Zt(),QB=require("node:assert"),mp=require("node:util"),St=Symbol("headers map"),Hr=Symbol("headers map sorted");function gO(t){return t===10||t===13||t===9||t===32}s(gO,"isHTTPWhiteSpaceCharCode");function fO(t){let e=0,r=t.length;for(;r>e&&gO(t.charCodeAt(r-1));)--r;for(;r>e&&gO(t.charCodeAt(e));)++e;return e===0&&r===t.length?t:t.substring(e,r)}s(fO,"headerValueNormalize");function yO(t,e){if(Array.isArray(e))for(let r=0;r>","record"]})}s(yO,"fill");function NB(t,e,r){if(r=fO(r),fA(e)){if(!hO(r))throw Re.errors.invalidArgument({prefix:"Headers.append",value:r,type:"header value"})}else throw Re.errors.invalidArgument({prefix:"Headers.append",value:e,type:"header name"});if(EO(t)==="immutable")throw new TypeError("immutable");return wB(t).append(e,r,!1)}s(NB,"appendHeader");function CO(t,e){return t[0]>1),r[A][0]<=u[0]?l=A+1:c=A;if(o!==A){for(a=o;a>l;)r[a]=r[--a];r[l]=u}}if(!n.next().done)throw new TypeError("Unreachable");return r}else{let n=0;for(let{0:i,1:{value:o}}of this[St])r[n++]=[i,o],QB(o!==null);return r.sort(CO)}}},zn=class t{static{s(this,"Headers")}#e;#t;constructor(e=void 0){Re.util.markAsUncloneable(this),e!==k7&&(this.#t=new gp,this.#e="none",e!==void 0&&(e=Re.converters.HeadersInit(e,"Headers contructor","init"),yO(this,e)))}append(e,r){Re.brandCheck(this,t),Re.argumentLengthCheck(arguments,2,"Headers.append");let n="Headers.append";return e=Re.converters.ByteString(e,n,"name"),r=Re.converters.ByteString(r,n,"value"),NB(this,e,r)}delete(e){if(Re.brandCheck(this,t),Re.argumentLengthCheck(arguments,1,"Headers.delete"),e=Re.converters.ByteString(e,"Headers.delete","name"),!fA(e))throw Re.errors.invalidArgument({prefix:"Headers.delete",value:e,type:"header name"});if(this.#e==="immutable")throw new TypeError("immutable");this.#t.contains(e,!1)&&this.#t.delete(e,!1)}get(e){Re.brandCheck(this,t),Re.argumentLengthCheck(arguments,1,"Headers.get");let r="Headers.get";if(e=Re.converters.ByteString(e,r,"name"),!fA(e))throw Re.errors.invalidArgument({prefix:r,value:e,type:"header name"});return this.#t.get(e,!1)}has(e){Re.brandCheck(this,t),Re.argumentLengthCheck(arguments,1,"Headers.has");let r="Headers.has";if(e=Re.converters.ByteString(e,r,"name"),!fA(e))throw Re.errors.invalidArgument({prefix:r,value:e,type:"header name"});return this.#t.contains(e,!1)}set(e,r){Re.brandCheck(this,t),Re.argumentLengthCheck(arguments,2,"Headers.set");let n="Headers.set";if(e=Re.converters.ByteString(e,n,"name"),r=Re.converters.ByteString(r,n,"value"),r=fO(r),fA(e)){if(!hO(r))throw Re.errors.invalidArgument({prefix:n,value:r,type:"header value"})}else throw Re.errors.invalidArgument({prefix:n,value:e,type:"header name"});if(this.#e==="immutable")throw new TypeError("immutable");this.#t.set(e,r,!1)}getSetCookie(){Re.brandCheck(this,t);let e=this.#t.cookies;return e?[...e]:[]}get[Hr](){if(this.#t[Hr])return this.#t[Hr];let e=[],r=this.#t.toSortedArray(),n=this.#t.cookies;if(n===null||n.length===1)return this.#t[Hr]=r;for(let i=0;i>"](t,e,r,n.bind(t)):Re.converters["record"](t,e,r)}throw Re.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence>","record"]})};BO.exports={fill:yO,compareHeaderName:CO,Headers:zn,HeadersList:gp,getHeadersGuard:EO,setHeadersGuard:F7,setHeadersList:U7,getHeadersList:wB}});var CA=f((yUe,DO)=>{"use strict";var{Headers:SO,HeadersList:IO,fill:q7,getHeadersGuard:H7,setHeadersGuard:xO,setHeadersList:RO}=bo(),{extractBody:bO,cloneBody:z7,mixinBody:G7,hasFinalizationRegistry:vO,streamRegistry:PO,bodyUnusable:j7}=va(),SB=Ce(),QO=require("node:util"),{kEnumerableProperty:zr}=SB,{isValidReasonPhrase:Y7,isCancelled:J7,isAborted:V7,isBlobLike:W7,serializeJavascriptValueToJSONString:K7,isErrorLike:$7,isomorphicEncode:X7,environmentSettingsObject:Z7}=Fr(),{redirectStatusSet:eee,nullBodyStatus:tee}=Hl(),{kState:rt,kHeaders:Yi}=As(),{webidl:ge}=Zt(),{FormData:ree}=Vl(),{URLSerializer:NO}=Ir(),{kConstruct:fp}=et(),xB=require("node:assert"),{types:nee}=require("node:util"),iee=new TextEncoder("utf-8"),Qo=class t{static{s(this,"Response")}static error(){return yA(yp(),"immutable")}static json(e,r={}){ge.argumentLengthCheck(arguments,1,"Response.json"),r!==null&&(r=ge.converters.ResponseInit(r));let n=iee.encode(K7(e)),i=bO(n),o=yA($a({}),"response");return wO(o,r,{body:i[0],type:"application/json"}),o}static redirect(e,r=302){ge.argumentLengthCheck(arguments,1,"Response.redirect"),e=ge.converters.USVString(e),r=ge.converters["unsigned short"](r);let n;try{n=new URL(e,Z7.settingsObject.baseUrl)}catch(a){throw new TypeError(`Failed to parse URL from ${e}`,{cause:a})}if(!eee.has(r))throw new RangeError(`Invalid status code ${r}`);let i=yA($a({}),"immutable");i[rt].status=r;let o=X7(NO(n));return i[rt].headersList.append("location",o,!0),i}constructor(e=null,r={}){if(ge.util.markAsUncloneable(this),e===fp)return;e!==null&&(e=ge.converters.BodyInit(e)),r=ge.converters.ResponseInit(r),this[rt]=$a({}),this[Yi]=new SO(fp),xO(this[Yi],"response"),RO(this[Yi],this[rt].headersList);let n=null;if(e!=null){let[i,o]=bO(e);n={body:i,type:o}}wO(this,r,n)}get type(){return ge.brandCheck(this,t),this[rt].type}get url(){ge.brandCheck(this,t);let e=this[rt].urlList,r=e[e.length-1]??null;return r===null?"":NO(r,!0)}get redirected(){return ge.brandCheck(this,t),this[rt].urlList.length>1}get status(){return ge.brandCheck(this,t),this[rt].status}get ok(){return ge.brandCheck(this,t),this[rt].status>=200&&this[rt].status<=299}get statusText(){return ge.brandCheck(this,t),this[rt].statusText}get headers(){return ge.brandCheck(this,t),this[Yi]}get body(){return ge.brandCheck(this,t),this[rt].body?this[rt].body.stream:null}get bodyUsed(){return ge.brandCheck(this,t),!!this[rt].body&&SB.isDisturbed(this[rt].body.stream)}clone(){if(ge.brandCheck(this,t),j7(this))throw ge.errors.exception({header:"Response.clone",message:"Body has already been consumed."});let e=RB(this[rt]);return vO&&this[rt].body?.stream&&PO.register(this,new WeakRef(this[rt].body.stream)),yA(e,H7(this[Yi]))}[QO.inspect.custom](e,r){r.depth===null&&(r.depth=2),r.colors??=!0;let n={status:this.status,statusText:this.statusText,headers:this.headers,body:this.body,bodyUsed:this.bodyUsed,ok:this.ok,redirected:this.redirected,type:this.type,url:this.url};return`Response ${QO.formatWithOptions(r,n)}`}};G7(Qo);Object.defineProperties(Qo.prototype,{type:zr,url:zr,status:zr,ok:zr,redirected:zr,statusText:zr,headers:zr,clone:zr,body:zr,bodyUsed:zr,[Symbol.toStringTag]:{value:"Response",configurable:!0}});Object.defineProperties(Qo,{json:zr,redirect:zr,error:zr});function RB(t){if(t.internalResponse)return _O(RB(t.internalResponse),t.type);let e=$a({...t,body:null});return t.body!=null&&(e.body=z7(e,t.body)),e}s(RB,"cloneResponse");function $a(t){return{aborted:!1,rangeRequested:!1,timingAllowPassed:!1,requestIncludesCredentials:!1,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...t,headersList:t?.headersList?new IO(t?.headersList):new IO,urlList:t?.urlList?[...t.urlList]:[]}}s($a,"makeResponse");function yp(t){let e=$7(t);return $a({type:"error",status:0,error:e?t:new Error(t&&String(t)),aborted:t&&t.name==="AbortError"})}s(yp,"makeNetworkError");function see(t){return t.type==="error"&&t.status===0}s(see,"isNetworkError");function hp(t,e){return e={internalResponse:t,...e},new Proxy(t,{get(r,n){return n in e?e[n]:r[n]},set(r,n,i){return xB(!(n in e)),r[n]=i,!0}})}s(hp,"makeFilteredResponse");function _O(t,e){if(e==="basic")return hp(t,{type:"basic",headersList:t.headersList});if(e==="cors")return hp(t,{type:"cors",headersList:t.headersList});if(e==="opaque")return hp(t,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null});if(e==="opaqueredirect")return hp(t,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null});xB(!1)}s(_O,"filterResponse");function oee(t,e=null){return xB(J7(t)),V7(t)?yp(Object.assign(new DOMException("The operation was aborted.","AbortError"),{cause:e})):yp(Object.assign(new DOMException("Request was cancelled."),{cause:e}))}s(oee,"makeAppropriateNetworkError");function wO(t,e,r){if(e.status!==null&&(e.status<200||e.status>599))throw new RangeError('init["status"] must be in the range of 200 to 599, inclusive.');if("statusText"in e&&e.statusText!=null&&!Y7(String(e.statusText)))throw new TypeError("Invalid statusText");if("status"in e&&e.status!=null&&(t[rt].status=e.status),"statusText"in e&&e.statusText!=null&&(t[rt].statusText=e.statusText),"headers"in e&&e.headers!=null&&q7(t[Yi],e.headers),r){if(tee.includes(t.status))throw ge.errors.exception({header:"Response constructor",message:`Invalid response status code ${t.status}`});t[rt].body=r.body,r.type!=null&&!t[rt].headersList.contains("content-type",!0)&&t[rt].headersList.append("content-type",r.type,!0)}}s(wO,"initializeResponse");function yA(t,e){let r=new Qo(fp);return r[rt]=t,r[Yi]=new SO(fp),RO(r[Yi],t.headersList),xO(r[Yi],e),vO&&t.body?.stream&&PO.register(r,new WeakRef(t.body.stream)),r}s(yA,"fromInnerResponse");ge.converters.ReadableStream=ge.interfaceConverter(ReadableStream);ge.converters.FormData=ge.interfaceConverter(ree);ge.converters.URLSearchParams=ge.interfaceConverter(URLSearchParams);ge.converters.XMLHttpRequestBodyInit=function(t,e,r){return typeof t=="string"?ge.converters.USVString(t,e,r):W7(t)?ge.converters.Blob(t,e,r,{strict:!1}):ArrayBuffer.isView(t)||nee.isArrayBuffer(t)?ge.converters.BufferSource(t,e,r):SB.isFormDataLike(t)?ge.converters.FormData(t,e,r,{strict:!1}):t instanceof URLSearchParams?ge.converters.URLSearchParams(t,e,r):ge.converters.DOMString(t,e,r)};ge.converters.BodyInit=function(t,e,r){return t instanceof ReadableStream?ge.converters.ReadableStream(t,e,r):t?.[Symbol.asyncIterator]?t:ge.converters.XMLHttpRequestBodyInit(t,e,r)};ge.converters.ResponseInit=ge.dictionaryConverter([{key:"status",converter:ge.converters["unsigned short"],defaultValue:s(()=>200,"defaultValue")},{key:"statusText",converter:ge.converters.ByteString,defaultValue:s(()=>"","defaultValue")},{key:"headers",converter:ge.converters.HeadersInit}]);DO.exports={isNetworkError:see,makeNetworkError:yp,makeResponse:$a,makeAppropriateNetworkError:oee,filterResponse:_O,Response:Qo,cloneResponse:RB,fromInnerResponse:yA}});var kO=f((EUe,MO)=>{"use strict";var{kConnected:TO,kSize:OO}=et(),vB=class{static{s(this,"CompatWeakRef")}constructor(e){this.value=e}deref(){return this.value[TO]===0&&this.value[OO]===0?void 0:this.value}},PB=class{static{s(this,"CompatFinalizer")}constructor(e){this.finalizer=e}register(e,r){e.on&&e.on("disconnect",()=>{e[TO]===0&&e[OO]===0&&this.finalizer(r)})}unregister(e){}};MO.exports=function(){return process.env.NODE_V8_COVERAGE&&process.version.startsWith("v18")?(process._rawDebug("Using compatibility WeakRef and FinalizationRegistry"),{WeakRef:vB,FinalizationRegistry:PB}):{WeakRef,FinalizationRegistry}}});var Xa=f((IUe,XO)=>{"use strict";var{extractBody:aee,mixinBody:cee,cloneBody:lee,bodyUnusable:LO}=va(),{Headers:JO,fill:Aee,HeadersList:Ip,setHeadersGuard:DB,getHeadersGuard:uee,setHeadersList:VO,getHeadersList:FO}=bo(),{FinalizationRegistry:dee}=kO()(),Ep=Ce(),UO=require("node:util"),{isValidHTTPToken:pee,sameOrigin:qO,environmentSettingsObject:Cp}=Fr(),{forbiddenMethodsSet:mee,corsSafeListedMethodsSet:gee,referrerPolicy:hee,requestRedirect:fee,requestMode:yee,requestCredentials:Cee,requestCache:Eee,requestDuplex:Bee}=Hl(),{kEnumerableProperty:xt,normalizedMethodRecordsBase:Iee,normalizedMethodRecords:bee}=Ep,{kHeaders:Gr,kSignal:Bp,kState:$e,kDispatcher:_B}=As(),{webidl:le}=Zt(),{URLSerializer:Qee}=Ir(),{kConstruct:bp}=et(),Nee=require("node:assert"),{getMaxListeners:HO,setMaxListeners:zO,getEventListeners:wee,defaultMaxListeners:GO}=require("node:events"),See=Symbol("abortController"),WO=new dee(({signal:t,abort:e})=>{t.removeEventListener("abort",e)}),Qp=new WeakMap;function jO(t){return e;function e(){let r=t.deref();if(r!==void 0){WO.unregister(e),this.removeEventListener("abort",e),r.abort(this.reason);let n=Qp.get(r.signal);if(n!==void 0){if(n.size!==0){for(let i of n){let o=i.deref();o!==void 0&&o.abort(this.reason)}n.clear()}Qp.delete(r.signal)}}}}s(jO,"buildAbort");var YO=!1,Is=class t{static{s(this,"Request")}constructor(e,r={}){if(le.util.markAsUncloneable(this),e===bp)return;let n="Request constructor";le.argumentLengthCheck(arguments,1,n),e=le.converters.RequestInfo(e,n,"input"),r=le.converters.RequestInit(r,n,"init");let i=null,o=null,a=Cp.settingsObject.baseUrl,c=null;if(typeof e=="string"){this[_B]=r.dispatcher;let S;try{S=new URL(e,a)}catch(R){throw new TypeError("Failed to parse URL from "+e,{cause:R})}if(S.username||S.password)throw new TypeError("Request cannot be constructed from a URL that includes credentials: "+e);i=Np({urlList:[S]}),o="cors"}else this[_B]=r.dispatcher||e[_B],Nee(e instanceof t),i=e[$e],c=e[Bp];let l=Cp.settingsObject.origin,A="client";if(i.window?.constructor?.name==="EnvironmentSettingsObject"&&qO(i.window,l)&&(A=i.window),r.window!=null)throw new TypeError(`'window' option '${A}' must be null`);"window"in r&&(A="no-window"),i=Np({method:i.method,headersList:i.headersList,unsafeRequest:i.unsafeRequest,client:Cp.settingsObject,window:A,priority:i.priority,origin:i.origin,referrer:i.referrer,referrerPolicy:i.referrerPolicy,mode:i.mode,credentials:i.credentials,cache:i.cache,redirect:i.redirect,integrity:i.integrity,keepalive:i.keepalive,reloadNavigation:i.reloadNavigation,historyNavigation:i.historyNavigation,urlList:[...i.urlList]});let u=Object.keys(r).length!==0;if(u&&(i.mode==="navigate"&&(i.mode="same-origin"),i.reloadNavigation=!1,i.historyNavigation=!1,i.origin="client",i.referrer="client",i.referrerPolicy="",i.url=i.urlList[i.urlList.length-1],i.urlList=[i.url]),r.referrer!==void 0){let S=r.referrer;if(S==="")i.referrer="no-referrer";else{let R;try{R=new URL(S,a)}catch(D){throw new TypeError(`Referrer "${S}" is not a valid URL.`,{cause:D})}R.protocol==="about:"&&R.hostname==="client"||l&&!qO(R,Cp.settingsObject.baseUrl)?i.referrer="client":i.referrer=R}}r.referrerPolicy!==void 0&&(i.referrerPolicy=r.referrerPolicy);let d;if(r.mode!==void 0?d=r.mode:d=o,d==="navigate")throw le.errors.exception({header:"Request constructor",message:"invalid request mode navigate."});if(d!=null&&(i.mode=d),r.credentials!==void 0&&(i.credentials=r.credentials),r.cache!==void 0&&(i.cache=r.cache),i.cache==="only-if-cached"&&i.mode!=="same-origin")throw new TypeError("'only-if-cached' can be set only with 'same-origin' mode");if(r.redirect!==void 0&&(i.redirect=r.redirect),r.integrity!=null&&(i.integrity=String(r.integrity)),r.keepalive!==void 0&&(i.keepalive=!!r.keepalive),r.method!==void 0){let S=r.method,R=bee[S];if(R!==void 0)i.method=R;else{if(!pee(S))throw new TypeError(`'${S}' is not a valid HTTP method.`);let D=S.toUpperCase();if(mee.has(D))throw new TypeError(`'${S}' HTTP method is unsupported.`);S=Iee[D]??S,i.method=S}!YO&&i.method==="patch"&&(process.emitWarning("Using `patch` is highly likely to result in a `405 Method Not Allowed`. `PATCH` is much more likely to succeed.",{code:"UNDICI-FETCH-patch"}),YO=!0)}r.signal!==void 0&&(c=r.signal),this[$e]=i;let g=new AbortController;if(this[Bp]=g.signal,c!=null){if(!c||typeof c.aborted!="boolean"||typeof c.addEventListener!="function")throw new TypeError("Failed to construct 'Request': member signal is not of type AbortSignal.");if(c.aborted)g.abort(c.reason);else{this[See]=g;let S=new WeakRef(g),R=jO(S);try{(typeof HO=="function"&&HO(c)===GO||wee(c,"abort").length>=GO)&&zO(1500,c)}catch{}Ep.addAbortListener(c,R),WO.register(g,{signal:c,abort:R},R)}}if(this[Gr]=new JO(bp),VO(this[Gr],i.headersList),DB(this[Gr],"request"),d==="no-cors"){if(!gee.has(i.method))throw new TypeError(`'${i.method} is unsupported in no-cors mode.`);DB(this[Gr],"request-no-cors")}if(u){let S=FO(this[Gr]),R=r.headers!==void 0?r.headers:new Ip(S);if(S.clear(),R instanceof Ip){for(let{name:D,value:L}of R.rawValues())S.append(D,L,!1);S.cookies=R.cookies}else Aee(this[Gr],R)}let y=e instanceof t?e[$e].body:null;if((r.body!=null||y!=null)&&(i.method==="GET"||i.method==="HEAD"))throw new TypeError("Request with GET/HEAD method cannot have body.");let B=null;if(r.body!=null){let[S,R]=aee(r.body,i.keepalive);B=S,R&&!FO(this[Gr]).contains("content-type",!0)&&this[Gr].append("content-type",R)}let w=B??y;if(w!=null&&w.source==null){if(B!=null&&r.duplex==null)throw new TypeError("RequestInit: duplex option is required when sending a body.");if(i.mode!=="same-origin"&&i.mode!=="cors")throw new TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"');i.useCORSPreflightFlag=!0}let x=w;if(B==null&&y!=null){if(LO(e))throw new TypeError("Cannot construct a Request with a Request object that has already been used.");let S=new TransformStream;y.stream.pipeThrough(S),x={source:y.source,length:y.length,stream:S.readable}}this[$e].body=x}get method(){return le.brandCheck(this,t),this[$e].method}get url(){return le.brandCheck(this,t),Qee(this[$e].url)}get headers(){return le.brandCheck(this,t),this[Gr]}get destination(){return le.brandCheck(this,t),this[$e].destination}get referrer(){return le.brandCheck(this,t),this[$e].referrer==="no-referrer"?"":this[$e].referrer==="client"?"about:client":this[$e].referrer.toString()}get referrerPolicy(){return le.brandCheck(this,t),this[$e].referrerPolicy}get mode(){return le.brandCheck(this,t),this[$e].mode}get credentials(){return this[$e].credentials}get cache(){return le.brandCheck(this,t),this[$e].cache}get redirect(){return le.brandCheck(this,t),this[$e].redirect}get integrity(){return le.brandCheck(this,t),this[$e].integrity}get keepalive(){return le.brandCheck(this,t),this[$e].keepalive}get isReloadNavigation(){return le.brandCheck(this,t),this[$e].reloadNavigation}get isHistoryNavigation(){return le.brandCheck(this,t),this[$e].historyNavigation}get signal(){return le.brandCheck(this,t),this[Bp]}get body(){return le.brandCheck(this,t),this[$e].body?this[$e].body.stream:null}get bodyUsed(){return le.brandCheck(this,t),!!this[$e].body&&Ep.isDisturbed(this[$e].body.stream)}get duplex(){return le.brandCheck(this,t),"half"}clone(){if(le.brandCheck(this,t),LO(this))throw new TypeError("unusable");let e=KO(this[$e]),r=new AbortController;if(this.signal.aborted)r.abort(this.signal.reason);else{let n=Qp.get(this.signal);n===void 0&&(n=new Set,Qp.set(this.signal,n));let i=new WeakRef(r);n.add(i),Ep.addAbortListener(r.signal,jO(i))}return $O(e,r.signal,uee(this[Gr]))}[UO.inspect.custom](e,r){r.depth===null&&(r.depth=2),r.colors??=!0;let n={method:this.method,url:this.url,headers:this.headers,destination:this.destination,referrer:this.referrer,referrerPolicy:this.referrerPolicy,mode:this.mode,credentials:this.credentials,cache:this.cache,redirect:this.redirect,integrity:this.integrity,keepalive:this.keepalive,isReloadNavigation:this.isReloadNavigation,isHistoryNavigation:this.isHistoryNavigation,signal:this.signal};return`Request ${UO.formatWithOptions(r,n)}`}};cee(Is);function Np(t){return{method:t.method??"GET",localURLsOnly:t.localURLsOnly??!1,unsafeRequest:t.unsafeRequest??!1,body:t.body??null,client:t.client??null,reservedClient:t.reservedClient??null,replacesClientId:t.replacesClientId??"",window:t.window??"client",keepalive:t.keepalive??!1,serviceWorkers:t.serviceWorkers??"all",initiator:t.initiator??"",destination:t.destination??"",priority:t.priority??null,origin:t.origin??"client",policyContainer:t.policyContainer??"client",referrer:t.referrer??"client",referrerPolicy:t.referrerPolicy??"",mode:t.mode??"no-cors",useCORSPreflightFlag:t.useCORSPreflightFlag??!1,credentials:t.credentials??"same-origin",useCredentials:t.useCredentials??!1,cache:t.cache??"default",redirect:t.redirect??"follow",integrity:t.integrity??"",cryptoGraphicsNonceMetadata:t.cryptoGraphicsNonceMetadata??"",parserMetadata:t.parserMetadata??"",reloadNavigation:t.reloadNavigation??!1,historyNavigation:t.historyNavigation??!1,userActivation:t.userActivation??!1,taintedOrigin:t.taintedOrigin??!1,redirectCount:t.redirectCount??0,responseTainting:t.responseTainting??"basic",preventNoCacheCacheControlHeaderModification:t.preventNoCacheCacheControlHeaderModification??!1,done:t.done??!1,timingAllowFailed:t.timingAllowFailed??!1,urlList:t.urlList,url:t.urlList[0],headersList:t.headersList?new Ip(t.headersList):new Ip}}s(Np,"makeRequest");function KO(t){let e=Np({...t,body:null});return t.body!=null&&(e.body=lee(e,t.body)),e}s(KO,"cloneRequest");function $O(t,e,r){let n=new Is(bp);return n[$e]=t,n[Bp]=e,n[Gr]=new JO(bp),VO(n[Gr],t.headersList),DB(n[Gr],r),n}s($O,"fromInnerRequest");Object.defineProperties(Is.prototype,{method:xt,url:xt,headers:xt,redirect:xt,clone:xt,signal:xt,duplex:xt,destination:xt,body:xt,bodyUsed:xt,isHistoryNavigation:xt,isReloadNavigation:xt,keepalive:xt,integrity:xt,cache:xt,credentials:xt,attribute:xt,referrerPolicy:xt,referrer:xt,mode:xt,[Symbol.toStringTag]:{value:"Request",configurable:!0}});le.converters.Request=le.interfaceConverter(Is);le.converters.RequestInfo=function(t,e,r){return typeof t=="string"?le.converters.USVString(t,e,r):t instanceof Is?le.converters.Request(t,e,r):le.converters.USVString(t,e,r)};le.converters.AbortSignal=le.interfaceConverter(AbortSignal);le.converters.RequestInit=le.dictionaryConverter([{key:"method",converter:le.converters.ByteString},{key:"headers",converter:le.converters.HeadersInit},{key:"body",converter:le.nullableConverter(le.converters.BodyInit)},{key:"referrer",converter:le.converters.USVString},{key:"referrerPolicy",converter:le.converters.DOMString,allowedValues:hee},{key:"mode",converter:le.converters.DOMString,allowedValues:yee},{key:"credentials",converter:le.converters.DOMString,allowedValues:Cee},{key:"cache",converter:le.converters.DOMString,allowedValues:Eee},{key:"redirect",converter:le.converters.DOMString,allowedValues:fee},{key:"integrity",converter:le.converters.DOMString},{key:"keepalive",converter:le.converters.boolean},{key:"signal",converter:le.nullableConverter(t=>le.converters.AbortSignal(t,"RequestInit","signal",{strict:!1}))},{key:"window",converter:le.converters.any},{key:"duplex",converter:le.converters.DOMString,allowedValues:Bee},{key:"dispatcher",converter:le.converters.any}]);XO.exports={Request:Is,makeRequest:Np,fromInnerRequest:$O,cloneRequest:KO}});var BA=f((QUe,pM)=>{"use strict";var{makeNetworkError:Ue,makeAppropriateNetworkError:wp,filterResponse:TB,makeResponse:Sp,fromInnerResponse:xee}=CA(),{HeadersList:ZO}=bo(),{Request:Ree,cloneRequest:vee}=Xa(),bs=require("node:zlib"),{bytesMatch:Pee,makePolicyContainer:_ee,clonePolicyContainer:Dee,requestBadPort:Tee,TAOCheck:Oee,appendRequestOriginHeader:Mee,responseLocationURL:kee,requestCurrentURL:di,setRequestReferrerPolicyOnRedirect:Lee,tryUpgradeRequestToAPotentiallyTrustworthyURL:Fee,createOpaqueTimingInfo:FB,appendFetchMetadata:Uee,corsCheck:qee,crossOriginResourcePolicyCheck:Hee,determineRequestsReferrer:zee,coarsenedSharedCurrentTime:EA,createDeferredPromise:Gee,isBlobLike:jee,sameOrigin:LB,isCancelled:No,isAborted:eM,isErrorLike:Yee,fullyReadBody:Jee,readableStreamClose:Vee,isomorphicEncode:xp,urlIsLocal:Wee,urlIsHttpHttpsScheme:UB,urlHasHttpsScheme:Kee,clampAndCoarsenConnectionTimingInfo:$ee,simpleRangeHeaderValue:Xee,buildContentRange:Zee,createInflate:ete,extractMimeType:tte}=Fr(),{kState:iM,kDispatcher:rte}=As(),wo=require("node:assert"),{safelyExtractBody:qB,extractBody:tM}=va(),{redirectStatusSet:sM,nullBodyStatus:oM,safeMethodsSet:nte,requestBodyHeader:ite,subresourceSet:ste}=Hl(),ote=require("node:events"),{Readable:ate,pipeline:cte,finished:lte}=require("node:stream"),{addAbortListener:Ate,isErrored:ute,isReadable:Rp,bufferToLowerCasedHeaderName:rM}=Ce(),{dataURLProcessor:dte,serializeAMimeType:pte,minimizeSupportedMimeType:mte}=Ir(),{getGlobalDispatcher:gte}=dp(),{webidl:hte}=Zt(),{STATUS_CODES:fte}=require("node:http"),yte=["GET","HEAD"],Cte=typeof __UNDICI_IS_NODE__<"u"||typeof esbuildDetection<"u"?"node":"undici",OB,vp=class extends ote{static{s(this,"Fetch")}constructor(e){super(),this.dispatcher=e,this.connection=null,this.dump=!1,this.state="ongoing"}terminate(e){this.state==="ongoing"&&(this.state="terminated",this.connection?.destroy(e),this.emit("terminated",e))}abort(e){this.state==="ongoing"&&(this.state="aborted",e||(e=new DOMException("The operation was aborted.","AbortError")),this.serializedAbortReason=e,this.connection?.destroy(e),this.emit("terminated",e))}};function Ete(t){aM(t,"fetch")}s(Ete,"handleFetchDone");function Bte(t,e=void 0){hte.argumentLengthCheck(arguments,1,"globalThis.fetch");let r=Gee(),n;try{n=new Ree(t,e)}catch(u){return r.reject(u),r.promise}let i=n[iM];if(n.signal.aborted)return MB(r,i,null,n.signal.reason),r.promise;i.client.globalObject?.constructor?.name==="ServiceWorkerGlobalScope"&&(i.serviceWorkers="none");let a=null,c=!1,l=null;return Ate(n.signal,()=>{c=!0,wo(l!=null),l.abort(n.signal.reason);let u=a?.deref();MB(r,i,u,n.signal.reason)}),l=lM({request:i,processResponseEndOfBody:Ete,processResponse:s(u=>{if(!c){if(u.aborted){MB(r,i,a,l.serializedAbortReason);return}if(u.type==="error"){r.reject(new TypeError("fetch failed",{cause:u.error}));return}a=new WeakRef(xee(u,"immutable")),r.resolve(a.deref()),r=null}},"processResponse"),dispatcher:n[rte]}),r.promise}s(Bte,"fetch");function aM(t,e="other"){if(t.type==="error"&&t.aborted||!t.urlList?.length)return;let r=t.urlList[0],n=t.timingInfo,i=t.cacheState;UB(r)&&n!==null&&(t.timingAllowPassed||(n=FB({startTime:n.startTime}),i=""),n.endTime=EA(),t.timingInfo=n,cM(n,r.href,e,globalThis,i))}s(aM,"finalizeAndReportTiming");var cM=performance.markResourceTiming;function MB(t,e,r,n){if(t&&t.reject(n),e.body!=null&&Rp(e.body?.stream)&&e.body.stream.cancel(n).catch(o=>{if(o.code!=="ERR_INVALID_STATE")throw o}),r==null)return;let i=r[iM];i.body!=null&&Rp(i.body?.stream)&&i.body.stream.cancel(n).catch(o=>{if(o.code!=="ERR_INVALID_STATE")throw o})}s(MB,"abortFetch");function lM({request:t,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:n,processResponseEndOfBody:i,processResponseConsumeBody:o,useParallelQueue:a=!1,dispatcher:c=gte()}){wo(c);let l=null,A=!1;t.client!=null&&(l=t.client.globalObject,A=t.client.crossOriginIsolatedCapability);let u=EA(A),d=FB({startTime:u}),g={controller:new vp(c),request:t,timingInfo:d,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:n,processResponseConsumeBody:o,processResponseEndOfBody:i,taskDestination:l,crossOriginIsolatedCapability:A};return wo(!t.body||t.body.stream),t.window==="client"&&(t.window=t.client?.globalObject?.constructor?.name==="Window"?t.client:"no-window"),t.origin==="client"&&(t.origin=t.client.origin),t.policyContainer==="client"&&(t.client!=null?t.policyContainer=Dee(t.client.policyContainer):t.policyContainer=_ee()),t.headersList.contains("accept",!0)||t.headersList.append("accept","*/*",!0),t.headersList.contains("accept-language",!0)||t.headersList.append("accept-language","*",!0),t.priority,ste.has(t.destination),AM(g).catch(y=>{g.controller.terminate(y)}),g.controller}s(lM,"fetching");async function AM(t,e=!1){let r=t.request,n=null;if(r.localURLsOnly&&!Wee(di(r))&&(n=Ue("local URLs only")),Fee(r),Tee(r)==="blocked"&&(n=Ue("bad port")),r.referrerPolicy===""&&(r.referrerPolicy=r.policyContainer.referrerPolicy),r.referrer!=="no-referrer"&&(r.referrer=zee(r)),n===null&&(n=await(async()=>{let o=di(r);return LB(o,r.url)&&r.responseTainting==="basic"||o.protocol==="data:"||r.mode==="navigate"||r.mode==="websocket"?(r.responseTainting="basic",await nM(t)):r.mode==="same-origin"?Ue('request mode cannot be "same-origin"'):r.mode==="no-cors"?r.redirect!=="follow"?Ue('redirect mode cannot be "follow" for "no-cors" request'):(r.responseTainting="opaque",await nM(t)):UB(di(r))?(r.responseTainting="cors",await uM(t)):Ue("URL scheme must be a HTTP(S) scheme")})()),e)return n;n.status!==0&&!n.internalResponse&&(r.responseTainting,r.responseTainting==="basic"?n=TB(n,"basic"):r.responseTainting==="cors"?n=TB(n,"cors"):r.responseTainting==="opaque"?n=TB(n,"opaque"):wo(!1));let i=n.status===0?n:n.internalResponse;if(i.urlList.length===0&&i.urlList.push(...r.urlList),r.timingAllowFailed||(n.timingAllowPassed=!0),n.type==="opaque"&&i.status===206&&i.rangeRequested&&!r.headers.contains("range",!0)&&(n=i=Ue()),n.status!==0&&(r.method==="HEAD"||r.method==="CONNECT"||oM.includes(i.status))&&(i.body=null,t.controller.dump=!0),r.integrity){let o=s(c=>kB(t,Ue(c)),"processBodyError");if(r.responseTainting==="opaque"||n.body==null){o(n.error);return}let a=s(c=>{if(!Pee(c,r.integrity)){o("integrity mismatch");return}n.body=qB(c)[0],kB(t,n)},"processBody");await Jee(n.body,a,o)}else kB(t,n)}s(AM,"mainFetch");function nM(t){if(No(t)&&t.request.redirectCount===0)return Promise.resolve(wp(t));let{request:e}=t,{protocol:r}=di(e);switch(r){case"about:":return Promise.resolve(Ue("about scheme is not supported"));case"blob:":{OB||(OB=require("node:buffer").resolveObjectURL);let n=di(e);if(n.search.length!==0)return Promise.resolve(Ue("NetworkError when attempting to fetch resource."));let i=OB(n.toString());if(e.method!=="GET"||!jee(i))return Promise.resolve(Ue("invalid method"));let o=Sp(),a=i.size,c=xp(`${a}`),l=i.type;if(e.headersList.contains("range",!0)){o.rangeRequested=!0;let A=e.headersList.get("range",!0),u=Xee(A,!0);if(u==="failure")return Promise.resolve(Ue("failed to fetch the data URL"));let{rangeStartValue:d,rangeEndValue:g}=u;if(d===null)d=a-g,g=d+g-1;else{if(d>=a)return Promise.resolve(Ue("Range start is greater than the blob's size."));(g===null||g>=a)&&(g=a-1)}let y=i.slice(d,g,l),B=tM(y);o.body=B[0];let w=xp(`${y.size}`),x=Zee(d,g,a);o.status=206,o.statusText="Partial Content",o.headersList.set("content-length",w,!0),o.headersList.set("content-type",l,!0),o.headersList.set("content-range",x,!0)}else{let A=tM(i);o.statusText="OK",o.body=A[0],o.headersList.set("content-length",c,!0),o.headersList.set("content-type",l,!0)}return Promise.resolve(o)}case"data:":{let n=di(e),i=dte(n);if(i==="failure")return Promise.resolve(Ue("failed to fetch the data URL"));let o=pte(i.mimeType);return Promise.resolve(Sp({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:o}]],body:qB(i.body)[0]}))}case"file:":return Promise.resolve(Ue("not implemented... yet..."));case"http:":case"https:":return uM(t).catch(n=>Ue(n));default:return Promise.resolve(Ue("unknown scheme"))}}s(nM,"schemeFetch");function Ite(t,e){t.request.done=!0,t.processResponseDone!=null&&queueMicrotask(()=>t.processResponseDone(e))}s(Ite,"finalizeResponse");function kB(t,e){let r=t.timingInfo,n=s(()=>{let o=Date.now();t.request.destination==="document"&&(t.controller.fullTimingInfo=r),t.controller.reportTimingSteps=()=>{if(t.request.url.protocol!=="https:")return;r.endTime=o;let c=e.cacheState,l=e.bodyInfo;e.timingAllowPassed||(r=FB(r),c="");let A=0;if(t.request.mode!=="navigator"||!e.hasCrossOriginRedirects){A=e.status;let u=tte(e.headersList);u!=="failure"&&(l.contentType=mte(u))}t.request.initiatorType!=null&&cM(r,t.request.url.href,t.request.initiatorType,globalThis,c,l,A)};let a=s(()=>{t.request.done=!0,t.processResponseEndOfBody!=null&&queueMicrotask(()=>t.processResponseEndOfBody(e)),t.request.initiatorType!=null&&t.controller.reportTimingSteps()},"processResponseEndOfBodyTask");queueMicrotask(()=>a())},"processResponseEndOfBody");t.processResponse!=null&&queueMicrotask(()=>{t.processResponse(e),t.processResponse=null});let i=e.type==="error"?e:e.internalResponse??e;i.body==null?n():lte(i.body.stream,()=>{n()})}s(kB,"fetchFinale");async function uM(t){let e=t.request,r=null,n=null,i=t.timingInfo;if(e.serviceWorkers,r===null){if(e.redirect==="follow"&&(e.serviceWorkers="none"),n=r=await dM(t),e.responseTainting==="cors"&&qee(e,r)==="failure")return Ue("cors failure");Oee(e,r)==="failure"&&(e.timingAllowFailed=!0)}return(e.responseTainting==="opaque"||r.type==="opaque")&&Hee(e.origin,e.client,e.destination,n)==="blocked"?Ue("blocked"):(sM.has(n.status)&&(e.redirect!=="manual"&&t.controller.connection.destroy(void 0,!1),e.redirect==="error"?r=Ue("unexpected redirect"):e.redirect==="manual"?r=n:e.redirect==="follow"?r=await bte(t,r):wo(!1)),r.timingInfo=i,r)}s(uM,"httpFetch");function bte(t,e){let r=t.request,n=e.internalResponse?e.internalResponse:e,i;try{if(i=kee(n,di(r).hash),i==null)return e}catch(a){return Promise.resolve(Ue(a))}if(!UB(i))return Promise.resolve(Ue("URL scheme must be a HTTP(S) scheme"));if(r.redirectCount===20)return Promise.resolve(Ue("redirect count exceeded"));if(r.redirectCount+=1,r.mode==="cors"&&(i.username||i.password)&&!LB(r,i))return Promise.resolve(Ue('cross origin not allowed for request mode "cors"'));if(r.responseTainting==="cors"&&(i.username||i.password))return Promise.resolve(Ue('URL cannot contain credentials for request mode "cors"'));if(n.status!==303&&r.body!=null&&r.body.source==null)return Promise.resolve(Ue());if([301,302].includes(n.status)&&r.method==="POST"||n.status===303&&!yte.includes(r.method)){r.method="GET",r.body=null;for(let a of ite)r.headersList.delete(a)}LB(di(r),i)||(r.headersList.delete("authorization",!0),r.headersList.delete("proxy-authorization",!0),r.headersList.delete("cookie",!0),r.headersList.delete("host",!0)),r.body!=null&&(wo(r.body.source!=null),r.body=qB(r.body.source)[0]);let o=t.timingInfo;return o.redirectEndTime=o.postRedirectStartTime=EA(t.crossOriginIsolatedCapability),o.redirectStartTime===0&&(o.redirectStartTime=o.startTime),r.urlList.push(i),Lee(r,n),AM(t,!0)}s(bte,"httpRedirectFetch");async function dM(t,e=!1,r=!1){let n=t.request,i=null,o=null,a=null,c=null,l=!1;n.window==="no-window"&&n.redirect==="error"?(i=t,o=n):(o=vee(n),i={...t},i.request=o);let A=n.credentials==="include"||n.credentials==="same-origin"&&n.responseTainting==="basic",u=o.body?o.body.length:null,d=null;if(o.body==null&&["POST","PUT"].includes(o.method)&&(d="0"),u!=null&&(d=xp(`${u}`)),d!=null&&o.headersList.append("content-length",d,!0),u!=null&&o.keepalive,o.referrer instanceof URL&&o.headersList.append("referer",xp(o.referrer.href),!0),Mee(o),Uee(o),o.headersList.contains("user-agent",!0)||o.headersList.append("user-agent",Cte),o.cache==="default"&&(o.headersList.contains("if-modified-since",!0)||o.headersList.contains("if-none-match",!0)||o.headersList.contains("if-unmodified-since",!0)||o.headersList.contains("if-match",!0)||o.headersList.contains("if-range",!0))&&(o.cache="no-store"),o.cache==="no-cache"&&!o.preventNoCacheCacheControlHeaderModification&&!o.headersList.contains("cache-control",!0)&&o.headersList.append("cache-control","max-age=0",!0),(o.cache==="no-store"||o.cache==="reload")&&(o.headersList.contains("pragma",!0)||o.headersList.append("pragma","no-cache",!0),o.headersList.contains("cache-control",!0)||o.headersList.append("cache-control","no-cache",!0)),o.headersList.contains("range",!0)&&o.headersList.append("accept-encoding","identity",!0),o.headersList.contains("accept-encoding",!0)||(Kee(di(o))?o.headersList.append("accept-encoding","br, gzip, deflate",!0):o.headersList.append("accept-encoding","gzip, deflate",!0)),o.headersList.delete("host",!0),c==null&&(o.cache="no-store"),o.cache!=="no-store"&&o.cache,a==null){if(o.cache==="only-if-cached")return Ue("only if cached");let g=await Qte(i,A,r);!nte.has(o.method)&&g.status>=200&&g.status<=399,l&&g.status,a==null&&(a=g)}if(a.urlList=[...o.urlList],o.headersList.contains("range",!0)&&(a.rangeRequested=!0),a.requestIncludesCredentials=A,a.status===407)return n.window==="no-window"?Ue():No(t)?wp(t):Ue("proxy authentication required");if(a.status===421&&!r&&(n.body==null||n.body.source!=null)){if(No(t))return wp(t);t.controller.connection.destroy(),a=await dM(t,e,!0)}return a}s(dM,"httpNetworkOrCacheFetch");async function Qte(t,e=!1,r=!1){wo(!t.controller.connection||t.controller.connection.destroyed),t.controller.connection={abort:null,destroyed:!1,destroy(B,w=!0){this.destroyed||(this.destroyed=!0,w&&this.abort?.(B??new DOMException("The operation was aborted.","AbortError")))}};let n=t.request,i=null,o=t.timingInfo;null==null&&(n.cache="no-store");let c=r?"yes":"no";n.mode;let l=null;if(n.body==null&&t.processRequestEndOfBody)queueMicrotask(()=>t.processRequestEndOfBody());else if(n.body!=null){let B=s(async function*(S){No(t)||(yield S,t.processRequestBodyChunkLength?.(S.byteLength))},"processBodyChunk"),w=s(()=>{No(t)||t.processRequestEndOfBody&&t.processRequestEndOfBody()},"processEndOfBody"),x=s(S=>{No(t)||(S.name==="AbortError"?t.controller.abort():t.controller.terminate(S))},"processBodyError");l=(async function*(){try{for await(let S of n.body.stream)yield*B(S);w()}catch(S){x(S)}})()}try{let{body:B,status:w,statusText:x,headersList:S,socket:R}=await y({body:l});if(R)i=Sp({status:w,statusText:x,headersList:S,socket:R});else{let D=B[Symbol.asyncIterator]();t.controller.next=()=>D.next(),i=Sp({status:w,statusText:x,headersList:S})}}catch(B){return B.name==="AbortError"?(t.controller.connection.destroy(),wp(t,B)):Ue(B)}let A=s(async()=>{await t.controller.resume()},"pullAlgorithm"),u=s(B=>{No(t)||t.controller.abort(B)},"cancelAlgorithm"),d=new ReadableStream({async start(B){t.controller.controller=B},async pull(B){await A(B)},async cancel(B){await u(B)},type:"bytes"});i.body={stream:d,source:null,length:null},t.controller.onAborted=g,t.controller.on("terminated",g),t.controller.resume=async()=>{for(;;){let B,w;try{let{done:S,value:R}=await t.controller.next();if(eM(t))break;B=S?void 0:R}catch(S){t.controller.ended&&!o.encodedBodySize?B=void 0:(B=S,w=!0)}if(B===void 0){Vee(t.controller.controller),Ite(t,i);return}if(o.decodedBodySize+=B?.byteLength??0,w){t.controller.terminate(B);return}let x=new Uint8Array(B);if(x.byteLength&&t.controller.controller.enqueue(x),ute(d)){t.controller.terminate();return}if(t.controller.controller.desiredSize<=0)return}};function g(B){eM(t)?(i.aborted=!0,Rp(d)&&t.controller.controller.error(t.controller.serializedAbortReason)):Rp(d)&&t.controller.controller.error(new TypeError("terminated",{cause:Yee(B)?B:void 0})),t.controller.connection.destroy()}return s(g,"onAborted"),i;function y({body:B}){let w=di(n),x=t.controller.dispatcher;return new Promise((S,R)=>x.dispatch({path:w.pathname+w.search,origin:w.origin,method:n.method,body:x.isMockActive?n.body&&(n.body.source||n.body.stream):B,headers:n.headersList.entries,maxRedirections:0,upgrade:n.mode==="websocket"?"websocket":void 0},{body:null,abort:null,onConnect(D){let{connection:L}=t.controller;o.finalConnectionTimingInfo=$ee(void 0,o.postRedirectStartTime,t.crossOriginIsolatedCapability),L.destroyed?D(new DOMException("The operation was aborted.","AbortError")):(t.controller.on("terminated",D),this.abort=L.abort=D),o.finalNetworkRequestStartTime=EA(t.crossOriginIsolatedCapability)},onResponseStarted(){o.finalNetworkResponseStartTime=EA(t.crossOriginIsolatedCapability)},onHeaders(D,L,K,W){if(D<200)return;let ne="",be=new ZO;for(let Ie=0;IeLt)return R(new Error(`too many content-encodings in response: ${lt.length}, maximum allowed is ${Lt}`)),!0;for(let Ti=lt.length-1;Ti>=0;--Ti){let dt=lt[Ti].trim();if(dt==="x-gzip"||dt==="gzip")He.push(bs.createGunzip({flush:bs.constants.Z_SYNC_FLUSH,finishFlush:bs.constants.Z_SYNC_FLUSH}));else if(dt==="deflate")He.push(ete({flush:bs.constants.Z_SYNC_FLUSH,finishFlush:bs.constants.Z_SYNC_FLUSH}));else if(dt==="br")He.push(bs.createBrotliDecompress({flush:bs.constants.BROTLI_OPERATION_FLUSH,finishFlush:bs.constants.BROTLI_OPERATION_FLUSH}));else{He.length=0;break}}}let je=this.onError.bind(this);return S({status:D,statusText:W,headersList:be,body:He.length?cte(this.body,...He,Ie=>{Ie&&this.onError(Ie)}).on("error",je):this.body.on("error",je)}),!0},onData(D){if(t.controller.dump)return;let L=D;return o.encodedBodySize+=L.byteLength,this.body.push(L)},onComplete(){this.abort&&t.controller.off("terminated",this.abort),t.controller.onAborted&&t.controller.off("terminated",t.controller.onAborted),t.controller.ended=!0,this.body.push(null)},onError(D){this.abort&&t.controller.off("terminated",this.abort),this.body?.destroy(D),t.controller.terminate(D),R(D)},onUpgrade(D,L,K){if(D!==101)return;let W=new ZO;for(let ne=0;ne{"use strict";mM.exports={kState:Symbol("FileReader state"),kResult:Symbol("FileReader result"),kError:Symbol("FileReader error"),kLastProgressEventFired:Symbol("FileReader last progress event fired timestamp"),kEvents:Symbol("FileReader events"),kAborted:Symbol("FileReader aborted")}});var hM=f((SUe,gM)=>{"use strict";var{webidl:jr}=Zt(),Pp=Symbol("ProgressEvent state"),zB=class t extends Event{static{s(this,"ProgressEvent")}constructor(e,r={}){e=jr.converters.DOMString(e,"ProgressEvent constructor","type"),r=jr.converters.ProgressEventInit(r??{}),super(e,r),this[Pp]={lengthComputable:r.lengthComputable,loaded:r.loaded,total:r.total}}get lengthComputable(){return jr.brandCheck(this,t),this[Pp].lengthComputable}get loaded(){return jr.brandCheck(this,t),this[Pp].loaded}get total(){return jr.brandCheck(this,t),this[Pp].total}};jr.converters.ProgressEventInit=jr.dictionaryConverter([{key:"lengthComputable",converter:jr.converters.boolean,defaultValue:s(()=>!1,"defaultValue")},{key:"loaded",converter:jr.converters["unsigned long long"],defaultValue:s(()=>0,"defaultValue")},{key:"total",converter:jr.converters["unsigned long long"],defaultValue:s(()=>0,"defaultValue")},{key:"bubbles",converter:jr.converters.boolean,defaultValue:s(()=>!1,"defaultValue")},{key:"cancelable",converter:jr.converters.boolean,defaultValue:s(()=>!1,"defaultValue")},{key:"composed",converter:jr.converters.boolean,defaultValue:s(()=>!1,"defaultValue")}]);gM.exports={ProgressEvent:zB}});var yM=f((RUe,fM)=>{"use strict";function Nte(t){if(!t)return"failure";switch(t.trim().toLowerCase()){case"unicode-1-1-utf-8":case"unicode11utf8":case"unicode20utf8":case"utf-8":case"utf8":case"x-unicode20utf8":return"UTF-8";case"866":case"cp866":case"csibm866":case"ibm866":return"IBM866";case"csisolatin2":case"iso-8859-2":case"iso-ir-101":case"iso8859-2":case"iso88592":case"iso_8859-2":case"iso_8859-2:1987":case"l2":case"latin2":return"ISO-8859-2";case"csisolatin3":case"iso-8859-3":case"iso-ir-109":case"iso8859-3":case"iso88593":case"iso_8859-3":case"iso_8859-3:1988":case"l3":case"latin3":return"ISO-8859-3";case"csisolatin4":case"iso-8859-4":case"iso-ir-110":case"iso8859-4":case"iso88594":case"iso_8859-4":case"iso_8859-4:1988":case"l4":case"latin4":return"ISO-8859-4";case"csisolatincyrillic":case"cyrillic":case"iso-8859-5":case"iso-ir-144":case"iso8859-5":case"iso88595":case"iso_8859-5":case"iso_8859-5:1988":return"ISO-8859-5";case"arabic":case"asmo-708":case"csiso88596e":case"csiso88596i":case"csisolatinarabic":case"ecma-114":case"iso-8859-6":case"iso-8859-6-e":case"iso-8859-6-i":case"iso-ir-127":case"iso8859-6":case"iso88596":case"iso_8859-6":case"iso_8859-6:1987":return"ISO-8859-6";case"csisolatingreek":case"ecma-118":case"elot_928":case"greek":case"greek8":case"iso-8859-7":case"iso-ir-126":case"iso8859-7":case"iso88597":case"iso_8859-7":case"iso_8859-7:1987":case"sun_eu_greek":return"ISO-8859-7";case"csiso88598e":case"csisolatinhebrew":case"hebrew":case"iso-8859-8":case"iso-8859-8-e":case"iso-ir-138":case"iso8859-8":case"iso88598":case"iso_8859-8":case"iso_8859-8:1988":case"visual":return"ISO-8859-8";case"csiso88598i":case"iso-8859-8-i":case"logical":return"ISO-8859-8-I";case"csisolatin6":case"iso-8859-10":case"iso-ir-157":case"iso8859-10":case"iso885910":case"l6":case"latin6":return"ISO-8859-10";case"iso-8859-13":case"iso8859-13":case"iso885913":return"ISO-8859-13";case"iso-8859-14":case"iso8859-14":case"iso885914":return"ISO-8859-14";case"csisolatin9":case"iso-8859-15":case"iso8859-15":case"iso885915":case"iso_8859-15":case"l9":return"ISO-8859-15";case"iso-8859-16":return"ISO-8859-16";case"cskoi8r":case"koi":case"koi8":case"koi8-r":case"koi8_r":return"KOI8-R";case"koi8-ru":case"koi8-u":return"KOI8-U";case"csmacintosh":case"mac":case"macintosh":case"x-mac-roman":return"macintosh";case"iso-8859-11":case"iso8859-11":case"iso885911":case"tis-620":case"windows-874":return"windows-874";case"cp1250":case"windows-1250":case"x-cp1250":return"windows-1250";case"cp1251":case"windows-1251":case"x-cp1251":return"windows-1251";case"ansi_x3.4-1968":case"ascii":case"cp1252":case"cp819":case"csisolatin1":case"ibm819":case"iso-8859-1":case"iso-ir-100":case"iso8859-1":case"iso88591":case"iso_8859-1":case"iso_8859-1:1987":case"l1":case"latin1":case"us-ascii":case"windows-1252":case"x-cp1252":return"windows-1252";case"cp1253":case"windows-1253":case"x-cp1253":return"windows-1253";case"cp1254":case"csisolatin5":case"iso-8859-9":case"iso-ir-148":case"iso8859-9":case"iso88599":case"iso_8859-9":case"iso_8859-9:1989":case"l5":case"latin5":case"windows-1254":case"x-cp1254":return"windows-1254";case"cp1255":case"windows-1255":case"x-cp1255":return"windows-1255";case"cp1256":case"windows-1256":case"x-cp1256":return"windows-1256";case"cp1257":case"windows-1257":case"x-cp1257":return"windows-1257";case"cp1258":case"windows-1258":case"x-cp1258":return"windows-1258";case"x-mac-cyrillic":case"x-mac-ukrainian":return"x-mac-cyrillic";case"chinese":case"csgb2312":case"csiso58gb231280":case"gb2312":case"gb_2312":case"gb_2312-80":case"gbk":case"iso-ir-58":case"x-gbk":return"GBK";case"gb18030":return"gb18030";case"big5":case"big5-hkscs":case"cn-big5":case"csbig5":case"x-x-big5":return"Big5";case"cseucpkdfmtjapanese":case"euc-jp":case"x-euc-jp":return"EUC-JP";case"csiso2022jp":case"iso-2022-jp":return"ISO-2022-JP";case"csshiftjis":case"ms932":case"ms_kanji":case"shift-jis":case"shift_jis":case"sjis":case"windows-31j":case"x-sjis":return"Shift_JIS";case"cseuckr":case"csksc56011987":case"euc-kr":case"iso-ir-149":case"korean":case"ks_c_5601-1987":case"ks_c_5601-1989":case"ksc5601":case"ksc_5601":case"windows-949":return"EUC-KR";case"csiso2022kr":case"hz-gb-2312":case"iso-2022-cn":case"iso-2022-cn-ext":case"iso-2022-kr":case"replacement":return"replacement";case"unicodefffe":case"utf-16be":return"UTF-16BE";case"csunicode":case"iso-10646-ucs-2":case"ucs-2":case"unicode":case"unicodefeff":case"utf-16":case"utf-16le":return"UTF-16LE";case"x-user-defined":return"x-user-defined";default:return"failure"}}s(Nte,"getEncoding");fM.exports={getEncoding:Nte}});var wM=f((PUe,NM)=>{"use strict";var{kState:Za,kError:GB,kResult:CM,kAborted:IA,kLastProgressEventFired:jB}=HB(),{ProgressEvent:wte}=hM(),{getEncoding:EM}=yM(),{serializeAMimeType:Ste,parseMIMEType:BM}=Ir(),{types:xte}=require("node:util"),{StringDecoder:IM}=require("string_decoder"),{btoa:bM}=require("node:buffer"),Rte={enumerable:!0,writable:!1,configurable:!1};function vte(t,e,r,n){if(t[Za]==="loading")throw new DOMException("Invalid state","InvalidStateError");t[Za]="loading",t[CM]=null,t[GB]=null;let o=e.stream().getReader(),a=[],c=o.read(),l=!0;(async()=>{for(;!t[IA];)try{let{done:A,value:u}=await c;if(l&&!t[IA]&&queueMicrotask(()=>{Qs("loadstart",t)}),l=!1,!A&&xte.isUint8Array(u))a.push(u),(t[jB]===void 0||Date.now()-t[jB]>=50)&&!t[IA]&&(t[jB]=Date.now(),queueMicrotask(()=>{Qs("progress",t)})),c=o.read();else if(A){queueMicrotask(()=>{t[Za]="done";try{let d=Pte(a,r,e.type,n);if(t[IA])return;t[CM]=d,Qs("load",t)}catch(d){t[GB]=d,Qs("error",t)}t[Za]!=="loading"&&Qs("loadend",t)});break}}catch(A){if(t[IA])return;queueMicrotask(()=>{t[Za]="done",t[GB]=A,Qs("error",t),t[Za]!=="loading"&&Qs("loadend",t)});break}})()}s(vte,"readOperation");function Qs(t,e){let r=new wte(t,{bubbles:!1,cancelable:!1});e.dispatchEvent(r)}s(Qs,"fireAProgressEvent");function Pte(t,e,r,n){switch(e){case"DataURL":{let i="data:",o=BM(r||"application/octet-stream");o!=="failure"&&(i+=Ste(o)),i+=";base64,";let a=new IM("latin1");for(let c of t)i+=bM(a.write(c));return i+=bM(a.end()),i}case"Text":{let i="failure";if(n&&(i=EM(n)),i==="failure"&&r){let o=BM(r);o!=="failure"&&(i=EM(o.parameters.get("charset")))}return i==="failure"&&(i="UTF-8"),_te(t,i)}case"ArrayBuffer":return QM(t).buffer;case"BinaryString":{let i="",o=new IM("latin1");for(let a of t)i+=o.write(a);return i+=o.end(),i}}}s(Pte,"packageData");function _te(t,e){let r=QM(t),n=Dte(r),i=0;n!==null&&(e=n,i=n==="UTF-8"?3:2);let o=r.slice(i);return new TextDecoder(e).decode(o)}s(_te,"decode");function Dte(t){let[e,r,n]=t;return e===239&&r===187&&n===191?"UTF-8":e===254&&r===255?"UTF-16BE":e===255&&r===254?"UTF-16LE":null}s(Dte,"BOMSniffing");function QM(t){let e=t.reduce((n,i)=>n+i.byteLength,0),r=0;return t.reduce((n,i)=>(n.set(i,r),r+=i.byteLength,n),new Uint8Array(e))}s(QM,"combineByteSequences");NM.exports={staticPropertyDescriptors:Rte,readOperation:vte,fireAProgressEvent:Qs}});var vM=f((DUe,RM)=>{"use strict";var{staticPropertyDescriptors:ec,readOperation:_p,fireAProgressEvent:SM}=wM(),{kState:So,kError:xM,kResult:Dp,kEvents:De,kAborted:Tte}=HB(),{webidl:ze}=Zt(),{kEnumerableProperty:Nr}=Ce(),Gn=class t extends EventTarget{static{s(this,"FileReader")}constructor(){super(),this[So]="empty",this[Dp]=null,this[xM]=null,this[De]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(e){ze.brandCheck(this,t),ze.argumentLengthCheck(arguments,1,"FileReader.readAsArrayBuffer"),e=ze.converters.Blob(e,{strict:!1}),_p(this,e,"ArrayBuffer")}readAsBinaryString(e){ze.brandCheck(this,t),ze.argumentLengthCheck(arguments,1,"FileReader.readAsBinaryString"),e=ze.converters.Blob(e,{strict:!1}),_p(this,e,"BinaryString")}readAsText(e,r=void 0){ze.brandCheck(this,t),ze.argumentLengthCheck(arguments,1,"FileReader.readAsText"),e=ze.converters.Blob(e,{strict:!1}),r!==void 0&&(r=ze.converters.DOMString(r,"FileReader.readAsText","encoding")),_p(this,e,"Text",r)}readAsDataURL(e){ze.brandCheck(this,t),ze.argumentLengthCheck(arguments,1,"FileReader.readAsDataURL"),e=ze.converters.Blob(e,{strict:!1}),_p(this,e,"DataURL")}abort(){if(this[So]==="empty"||this[So]==="done"){this[Dp]=null;return}this[So]==="loading"&&(this[So]="done",this[Dp]=null),this[Tte]=!0,SM("abort",this),this[So]!=="loading"&&SM("loadend",this)}get readyState(){switch(ze.brandCheck(this,t),this[So]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){return ze.brandCheck(this,t),this[Dp]}get error(){return ze.brandCheck(this,t),this[xM]}get onloadend(){return ze.brandCheck(this,t),this[De].loadend}set onloadend(e){ze.brandCheck(this,t),this[De].loadend&&this.removeEventListener("loadend",this[De].loadend),typeof e=="function"?(this[De].loadend=e,this.addEventListener("loadend",e)):this[De].loadend=null}get onerror(){return ze.brandCheck(this,t),this[De].error}set onerror(e){ze.brandCheck(this,t),this[De].error&&this.removeEventListener("error",this[De].error),typeof e=="function"?(this[De].error=e,this.addEventListener("error",e)):this[De].error=null}get onloadstart(){return ze.brandCheck(this,t),this[De].loadstart}set onloadstart(e){ze.brandCheck(this,t),this[De].loadstart&&this.removeEventListener("loadstart",this[De].loadstart),typeof e=="function"?(this[De].loadstart=e,this.addEventListener("loadstart",e)):this[De].loadstart=null}get onprogress(){return ze.brandCheck(this,t),this[De].progress}set onprogress(e){ze.brandCheck(this,t),this[De].progress&&this.removeEventListener("progress",this[De].progress),typeof e=="function"?(this[De].progress=e,this.addEventListener("progress",e)):this[De].progress=null}get onload(){return ze.brandCheck(this,t),this[De].load}set onload(e){ze.brandCheck(this,t),this[De].load&&this.removeEventListener("load",this[De].load),typeof e=="function"?(this[De].load=e,this.addEventListener("load",e)):this[De].load=null}get onabort(){return ze.brandCheck(this,t),this[De].abort}set onabort(e){ze.brandCheck(this,t),this[De].abort&&this.removeEventListener("abort",this[De].abort),typeof e=="function"?(this[De].abort=e,this.addEventListener("abort",e)):this[De].abort=null}};Gn.EMPTY=Gn.prototype.EMPTY=0;Gn.LOADING=Gn.prototype.LOADING=1;Gn.DONE=Gn.prototype.DONE=2;Object.defineProperties(Gn.prototype,{EMPTY:ec,LOADING:ec,DONE:ec,readAsArrayBuffer:Nr,readAsBinaryString:Nr,readAsText:Nr,readAsDataURL:Nr,abort:Nr,readyState:Nr,result:Nr,error:Nr,onloadstart:Nr,onprogress:Nr,onload:Nr,onabort:Nr,onerror:Nr,onloadend:Nr,[Symbol.toStringTag]:{value:"FileReader",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(Gn,{EMPTY:ec,LOADING:ec,DONE:ec});RM.exports={FileReader:Gn}});var Tp=f((OUe,PM)=>{"use strict";PM.exports={kConstruct:et().kConstruct}});var TM=f((MUe,DM)=>{"use strict";var Ote=require("node:assert"),{URLSerializer:_M}=Ir(),{isValidHeaderName:Mte}=Fr();function kte(t,e,r=!1){let n=_M(t,r),i=_M(e,r);return n===i}s(kte,"urlEquals");function Lte(t){Ote(t!==null);let e=[];for(let r of t.split(","))r=r.trim(),Mte(r)&&e.push(r);return e}s(Lte,"getFieldValues");DM.exports={urlEquals:kte,getFieldValues:Lte}});var kM=f((LUe,MM)=>{"use strict";var{kConstruct:Fte}=Tp(),{urlEquals:Ute,getFieldValues:YB}=TM(),{kEnumerableProperty:xo,isDisturbed:qte}=Ce(),{webidl:re}=Zt(),{Response:Hte,cloneResponse:zte,fromInnerResponse:Gte}=CA(),{Request:Ji,fromInnerRequest:jte}=Xa(),{kState:jn}=As(),{fetching:Yte}=BA(),{urlIsHttpHttpsScheme:Op,createDeferredPromise:tc,readAllBytes:Jte}=Fr(),JB=require("node:assert"),Mp=class t{static{s(this,"Cache")}#e;constructor(){arguments[0]!==Fte&&re.illegalConstructor(),re.util.markAsUncloneable(this),this.#e=arguments[1]}async match(e,r={}){re.brandCheck(this,t);let n="Cache.match";re.argumentLengthCheck(arguments,1,n),e=re.converters.RequestInfo(e,n,"request"),r=re.converters.CacheQueryOptions(r,n,"options");let i=this.#r(e,r,1);if(i.length!==0)return i[0]}async matchAll(e=void 0,r={}){re.brandCheck(this,t);let n="Cache.matchAll";return e!==void 0&&(e=re.converters.RequestInfo(e,n,"request")),r=re.converters.CacheQueryOptions(r,n,"options"),this.#r(e,r)}async add(e){re.brandCheck(this,t);let r="Cache.add";re.argumentLengthCheck(arguments,1,r),e=re.converters.RequestInfo(e,r,"request");let n=[e];return await this.addAll(n)}async addAll(e){re.brandCheck(this,t);let r="Cache.addAll";re.argumentLengthCheck(arguments,1,r);let n=[],i=[];for(let g of e){if(g===void 0)throw re.errors.conversionFailed({prefix:r,argument:"Argument 1",types:["undefined is not allowed"]});if(g=re.converters.RequestInfo(g),typeof g=="string")continue;let y=g[jn];if(!Op(y.url)||y.method!=="GET")throw re.errors.exception({header:r,message:"Expected http/s scheme when method is not GET."})}let o=[];for(let g of e){let y=new Ji(g)[jn];if(!Op(y.url))throw re.errors.exception({header:r,message:"Expected http/s scheme."});y.initiator="fetch",y.destination="subresource",i.push(y);let B=tc();o.push(Yte({request:y,processResponse(w){if(w.type==="error"||w.status===206||w.status<200||w.status>299)B.reject(re.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}));else if(w.headersList.contains("vary")){let x=YB(w.headersList.get("vary"));for(let S of x)if(S==="*"){B.reject(re.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(let R of o)R.abort();return}}},processResponseEndOfBody(w){if(w.aborted){B.reject(new DOMException("aborted","AbortError"));return}B.resolve(w)}})),n.push(B.promise)}let c=await Promise.all(n),l=[],A=0;for(let g of c){let y={type:"put",request:i[A],response:g};l.push(y),A++}let u=tc(),d=null;try{this.#t(l)}catch(g){d=g}return queueMicrotask(()=>{d===null?u.resolve(void 0):u.reject(d)}),u.promise}async put(e,r){re.brandCheck(this,t);let n="Cache.put";re.argumentLengthCheck(arguments,2,n),e=re.converters.RequestInfo(e,n,"request"),r=re.converters.Response(r,n,"response");let i=null;if(e instanceof Ji?i=e[jn]:i=new Ji(e)[jn],!Op(i.url)||i.method!=="GET")throw re.errors.exception({header:n,message:"Expected an http/s scheme when method is not GET"});let o=r[jn];if(o.status===206)throw re.errors.exception({header:n,message:"Got 206 status"});if(o.headersList.contains("vary")){let y=YB(o.headersList.get("vary"));for(let B of y)if(B==="*")throw re.errors.exception({header:n,message:"Got * vary field value"})}if(o.body&&(qte(o.body.stream)||o.body.stream.locked))throw re.errors.exception({header:n,message:"Response body is locked or disturbed"});let a=zte(o),c=tc();if(o.body!=null){let B=o.body.stream.getReader();Jte(B).then(c.resolve,c.reject)}else c.resolve(void 0);let l=[],A={type:"put",request:i,response:a};l.push(A);let u=await c.promise;a.body!=null&&(a.body.source=u);let d=tc(),g=null;try{this.#t(l)}catch(y){g=y}return queueMicrotask(()=>{g===null?d.resolve():d.reject(g)}),d.promise}async delete(e,r={}){re.brandCheck(this,t);let n="Cache.delete";re.argumentLengthCheck(arguments,1,n),e=re.converters.RequestInfo(e,n,"request"),r=re.converters.CacheQueryOptions(r,n,"options");let i=null;if(e instanceof Ji){if(i=e[jn],i.method!=="GET"&&!r.ignoreMethod)return!1}else JB(typeof e=="string"),i=new Ji(e)[jn];let o=[],a={type:"delete",request:i,options:r};o.push(a);let c=tc(),l=null,A;try{A=this.#t(o)}catch(u){l=u}return queueMicrotask(()=>{l===null?c.resolve(!!A?.length):c.reject(l)}),c.promise}async keys(e=void 0,r={}){re.brandCheck(this,t);let n="Cache.keys";e!==void 0&&(e=re.converters.RequestInfo(e,n,"request")),r=re.converters.CacheQueryOptions(r,n,"options");let i=null;if(e!==void 0)if(e instanceof Ji){if(i=e[jn],i.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(i=new Ji(e)[jn]);let o=tc(),a=[];if(e===void 0)for(let c of this.#e)a.push(c[0]);else{let c=this.#i(i,r);for(let l of c)a.push(l[0])}return queueMicrotask(()=>{let c=[];for(let l of a){let A=jte(l,new AbortController().signal,"immutable");c.push(A)}o.resolve(Object.freeze(c))}),o.promise}#t(e){let r=this.#e,n=[...r],i=[],o=[];try{for(let a of e){if(a.type!=="delete"&&a.type!=="put")throw re.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'});if(a.type==="delete"&&a.response!=null)throw re.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"});if(this.#i(a.request,a.options,i).length)throw new DOMException("???","InvalidStateError");let c;if(a.type==="delete"){if(c=this.#i(a.request,a.options),c.length===0)return[];for(let l of c){let A=r.indexOf(l);JB(A!==-1),r.splice(A,1)}}else if(a.type==="put"){if(a.response==null)throw re.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"});let l=a.request;if(!Op(l.url))throw re.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"});if(l.method!=="GET")throw re.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"});if(a.options!=null)throw re.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"});c=this.#i(a.request);for(let A of c){let u=r.indexOf(A);JB(u!==-1),r.splice(u,1)}r.push([a.request,a.response]),i.push([a.request,a.response])}o.push([a.request,a.response])}return o}catch(a){throw this.#e.length=0,this.#e=n,a}}#i(e,r,n){let i=[],o=n??this.#e;for(let a of o){let[c,l]=a;this.#n(e,c,l,r)&&i.push(a)}return i}#n(e,r,n=null,i){let o=new URL(e.url),a=new URL(r.url);if(i?.ignoreSearch&&(a.search="",o.search=""),!Ute(o,a,!0))return!1;if(n==null||i?.ignoreVary||!n.headersList.contains("vary"))return!0;let c=YB(n.headersList.get("vary"));for(let l of c){if(l==="*")return!1;let A=r.headersList.get(l),u=e.headersList.get(l);if(A!==u)return!1}return!0}#r(e,r,n=1/0){let i=null;if(e!==void 0)if(e instanceof Ji){if(i=e[jn],i.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(i=new Ji(e)[jn]);let o=[];if(e===void 0)for(let c of this.#e)o.push(c[1]);else{let c=this.#i(i,r);for(let l of c)o.push(l[1])}let a=[];for(let c of o){let l=Gte(c,"immutable");if(a.push(l.clone()),a.length>=n)break}return Object.freeze(a)}};Object.defineProperties(Mp.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:!0},match:xo,matchAll:xo,add:xo,addAll:xo,put:xo,delete:xo,keys:xo});var OM=[{key:"ignoreSearch",converter:re.converters.boolean,defaultValue:s(()=>!1,"defaultValue")},{key:"ignoreMethod",converter:re.converters.boolean,defaultValue:s(()=>!1,"defaultValue")},{key:"ignoreVary",converter:re.converters.boolean,defaultValue:s(()=>!1,"defaultValue")}];re.converters.CacheQueryOptions=re.dictionaryConverter(OM);re.converters.MultiCacheQueryOptions=re.dictionaryConverter([...OM,{key:"cacheName",converter:re.converters.DOMString}]);re.converters.Response=re.interfaceConverter(Hte);re.converters["sequence"]=re.sequenceConverter(re.converters.RequestInfo);MM.exports={Cache:Mp}});var FM=f((UUe,LM)=>{"use strict";var{kConstruct:bA}=Tp(),{Cache:kp}=kM(),{webidl:nr}=Zt(),{kEnumerableProperty:QA}=Ce(),Lp=class t{static{s(this,"CacheStorage")}#e=new Map;constructor(){arguments[0]!==bA&&nr.illegalConstructor(),nr.util.markAsUncloneable(this)}async match(e,r={}){if(nr.brandCheck(this,t),nr.argumentLengthCheck(arguments,1,"CacheStorage.match"),e=nr.converters.RequestInfo(e),r=nr.converters.MultiCacheQueryOptions(r),r.cacheName!=null){if(this.#e.has(r.cacheName)){let n=this.#e.get(r.cacheName);return await new kp(bA,n).match(e,r)}}else for(let n of this.#e.values()){let o=await new kp(bA,n).match(e,r);if(o!==void 0)return o}}async has(e){nr.brandCheck(this,t);let r="CacheStorage.has";return nr.argumentLengthCheck(arguments,1,r),e=nr.converters.DOMString(e,r,"cacheName"),this.#e.has(e)}async open(e){nr.brandCheck(this,t);let r="CacheStorage.open";if(nr.argumentLengthCheck(arguments,1,r),e=nr.converters.DOMString(e,r,"cacheName"),this.#e.has(e)){let i=this.#e.get(e);return new kp(bA,i)}let n=[];return this.#e.set(e,n),new kp(bA,n)}async delete(e){nr.brandCheck(this,t);let r="CacheStorage.delete";return nr.argumentLengthCheck(arguments,1,r),e=nr.converters.DOMString(e,r,"cacheName"),this.#e.delete(e)}async keys(){return nr.brandCheck(this,t),[...this.#e.keys()]}};Object.defineProperties(Lp.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:!0},match:QA,has:QA,open:QA,delete:QA,keys:QA});LM.exports={CacheStorage:Lp}});var qM=f((HUe,UM)=>{"use strict";UM.exports={maxAttributeValueSize:1024,maxNameValuePairSize:4096}});var VB=f((zUe,YM)=>{"use strict";function Vte(t){for(let e=0;e=0&&r<=8||r>=10&&r<=31||r===127)return!0}return!1}s(Vte,"isCTLExcludingHtab");function HM(t){for(let e=0;e126||r===34||r===40||r===41||r===60||r===62||r===64||r===44||r===59||r===58||r===92||r===47||r===91||r===93||r===63||r===61||r===123||r===125)throw new Error("Invalid cookie name")}}s(HM,"validateCookieName");function zM(t){let e=t.length,r=0;if(t[0]==='"'){if(e===1||t[e-1]!=='"')throw new Error("Invalid cookie value");--e,++r}for(;r126||n===34||n===44||n===59||n===92)throw new Error("Invalid cookie value")}}s(zM,"validateCookieValue");function GM(t){for(let e=0;ee.toString().padStart(2,"0"));function jM(t){return typeof t=="number"&&(t=new Date(t)),`${Kte[t.getUTCDay()]}, ${Fp[t.getUTCDate()]} ${$te[t.getUTCMonth()]} ${t.getUTCFullYear()} ${Fp[t.getUTCHours()]}:${Fp[t.getUTCMinutes()]}:${Fp[t.getUTCSeconds()]} GMT`}s(jM,"toIMFDate");function Xte(t){if(t<0)throw new Error("Invalid cookie max-age")}s(Xte,"validateCookieMaxAge");function Zte(t){if(t.name.length===0)return null;HM(t.name),zM(t.value);let e=[`${t.name}=${t.value}`];t.name.startsWith("__Secure-")&&(t.secure=!0),t.name.startsWith("__Host-")&&(t.secure=!0,t.domain=null,t.path="/"),t.secure&&e.push("Secure"),t.httpOnly&&e.push("HttpOnly"),typeof t.maxAge=="number"&&(Xte(t.maxAge),e.push(`Max-Age=${t.maxAge}`)),t.domain&&(Wte(t.domain),e.push(`Domain=${t.domain}`)),t.path&&(GM(t.path),e.push(`Path=${t.path}`)),t.expires&&t.expires.toString()!=="Invalid Date"&&e.push(`Expires=${jM(t.expires)}`),t.sameSite&&e.push(`SameSite=${t.sameSite}`);for(let r of t.unparsed){if(!r.includes("="))throw new Error("Invalid unparsed");let[n,...i]=r.split("=");e.push(`${n.trim()}=${i.join("=")}`)}return e.join("; ")}s(Zte,"stringify");YM.exports={isCTLExcludingHtab:Vte,validateCookieName:HM,validateCookiePath:GM,validateCookieValue:zM,toIMFDate:jM,stringify:Zte}});var VM=f((jUe,JM)=>{"use strict";var{maxNameValuePairSize:ere,maxAttributeValueSize:tre}=qM(),{isCTLExcludingHtab:rre}=VB(),{collectASequenceOfCodePointsFast:Up}=Ir(),nre=require("node:assert");function ire(t){if(rre(t))return null;let e="",r="",n="",i="";if(t.includes(";")){let o={position:0};e=Up(";",t,o),r=t.slice(o.position)}else e=t;if(!e.includes("="))i=e;else{let o={position:0};n=Up("=",e,o),i=e.slice(o.position+1)}return n=n.trim(),i=i.trim(),n.length+i.length>ere?null:{name:n,value:i,...rc(r)}}s(ire,"parseSetCookie");function rc(t,e={}){if(t.length===0)return e;nre(t[0]===";"),t=t.slice(1);let r="";t.includes(";")?(r=Up(";",t,{position:0}),t=t.slice(r.length)):(r=t,t="");let n="",i="";if(r.includes("=")){let a={position:0};n=Up("=",r,a),i=r.slice(a.position+1)}else n=r;if(n=n.trim(),i=i.trim(),i.length>tre)return rc(t,e);let o=n.toLowerCase();if(o==="expires"){let a=new Date(i);e.expires=a}else if(o==="max-age"){let a=i.charCodeAt(0);if((a<48||a>57)&&i[0]!=="-"||!/^\d+$/.test(i))return rc(t,e);let c=Number(i);e.maxAge=c}else if(o==="domain"){let a=i;a[0]==="."&&(a=a.slice(1)),a=a.toLowerCase(),e.domain=a}else if(o==="path"){let a="";i.length===0||i[0]!=="/"?a="/":a=i,e.path=a}else if(o==="secure")e.secure=!0;else if(o==="httponly")e.httpOnly=!0;else if(o==="samesite"){let a="Default",c=i.toLowerCase();c.includes("none")&&(a="None"),c.includes("strict")&&(a="Strict"),c.includes("lax")&&(a="Lax"),e.sameSite=a}else e.unparsed??=[],e.unparsed.push(`${n}=${i}`);return rc(t,e)}s(rc,"parseUnparsedAttributes");JM.exports={parseSetCookie:ire,parseUnparsedAttributes:rc}});var $M=f((JUe,KM)=>{"use strict";var{parseSetCookie:sre}=VM(),{stringify:ore}=VB(),{webidl:Se}=Zt(),{Headers:qp}=bo();function are(t){Se.argumentLengthCheck(arguments,1,"getCookies"),Se.brandCheck(t,qp,{strict:!1});let e=t.get("cookie"),r={};if(!e)return r;for(let n of e.split(";")){let[i,...o]=n.split("=");r[i.trim()]=o.join("=")}return r}s(are,"getCookies");function cre(t,e,r){Se.brandCheck(t,qp,{strict:!1});let n="deleteCookie";Se.argumentLengthCheck(arguments,2,n),e=Se.converters.DOMString(e,n,"name"),r=Se.converters.DeleteCookieAttributes(r),WM(t,{name:e,value:"",expires:new Date(0),...r})}s(cre,"deleteCookie");function lre(t){Se.argumentLengthCheck(arguments,1,"getSetCookies"),Se.brandCheck(t,qp,{strict:!1});let e=t.getSetCookie();return e?e.map(r=>sre(r)):[]}s(lre,"getSetCookies");function WM(t,e){Se.argumentLengthCheck(arguments,2,"setCookie"),Se.brandCheck(t,qp,{strict:!1}),e=Se.converters.Cookie(e);let r=ore(e);r&&t.append("Set-Cookie",r)}s(WM,"setCookie");Se.converters.DeleteCookieAttributes=Se.dictionaryConverter([{converter:Se.nullableConverter(Se.converters.DOMString),key:"path",defaultValue:s(()=>null,"defaultValue")},{converter:Se.nullableConverter(Se.converters.DOMString),key:"domain",defaultValue:s(()=>null,"defaultValue")}]);Se.converters.Cookie=Se.dictionaryConverter([{converter:Se.converters.DOMString,key:"name"},{converter:Se.converters.DOMString,key:"value"},{converter:Se.nullableConverter(t=>typeof t=="number"?Se.converters["unsigned long long"](t):new Date(t)),key:"expires",defaultValue:s(()=>null,"defaultValue")},{converter:Se.nullableConverter(Se.converters["long long"]),key:"maxAge",defaultValue:s(()=>null,"defaultValue")},{converter:Se.nullableConverter(Se.converters.DOMString),key:"domain",defaultValue:s(()=>null,"defaultValue")},{converter:Se.nullableConverter(Se.converters.DOMString),key:"path",defaultValue:s(()=>null,"defaultValue")},{converter:Se.nullableConverter(Se.converters.boolean),key:"secure",defaultValue:s(()=>null,"defaultValue")},{converter:Se.nullableConverter(Se.converters.boolean),key:"httpOnly",defaultValue:s(()=>null,"defaultValue")},{converter:Se.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:Se.sequenceConverter(Se.converters.DOMString),key:"unparsed",defaultValue:s(()=>new Array(0),"defaultValue")}]);KM.exports={getCookies:are,deleteCookie:cre,getSetCookies:lre,setCookie:WM}});var ic=f((WUe,ZM)=>{"use strict";var{webidl:te}=Zt(),{kEnumerableProperty:wr}=Ce(),{kConstruct:XM}=et(),{MessagePort:Are}=require("node:worker_threads"),nc=class t extends Event{static{s(this,"MessageEvent")}#e;constructor(e,r={}){if(e===XM){super(arguments[1],arguments[2]),te.util.markAsUncloneable(this);return}let n="MessageEvent constructor";te.argumentLengthCheck(arguments,1,n),e=te.converters.DOMString(e,n,"type"),r=te.converters.MessageEventInit(r,n,"eventInitDict"),super(e,r),this.#e=r,te.util.markAsUncloneable(this)}get data(){return te.brandCheck(this,t),this.#e.data}get origin(){return te.brandCheck(this,t),this.#e.origin}get lastEventId(){return te.brandCheck(this,t),this.#e.lastEventId}get source(){return te.brandCheck(this,t),this.#e.source}get ports(){return te.brandCheck(this,t),Object.isFrozen(this.#e.ports)||Object.freeze(this.#e.ports),this.#e.ports}initMessageEvent(e,r=!1,n=!1,i=null,o="",a="",c=null,l=[]){return te.brandCheck(this,t),te.argumentLengthCheck(arguments,1,"MessageEvent.initMessageEvent"),new t(e,{bubbles:r,cancelable:n,data:i,origin:o,lastEventId:a,source:c,ports:l})}static createFastMessageEvent(e,r){let n=new t(XM,e,r);return n.#e=r,n.#e.data??=null,n.#e.origin??="",n.#e.lastEventId??="",n.#e.source??=null,n.#e.ports??=[],n}},{createFastMessageEvent:ure}=nc;delete nc.createFastMessageEvent;var Hp=class t extends Event{static{s(this,"CloseEvent")}#e;constructor(e,r={}){let n="CloseEvent constructor";te.argumentLengthCheck(arguments,1,n),e=te.converters.DOMString(e,n,"type"),r=te.converters.CloseEventInit(r),super(e,r),this.#e=r,te.util.markAsUncloneable(this)}get wasClean(){return te.brandCheck(this,t),this.#e.wasClean}get code(){return te.brandCheck(this,t),this.#e.code}get reason(){return te.brandCheck(this,t),this.#e.reason}},zp=class t extends Event{static{s(this,"ErrorEvent")}#e;constructor(e,r){let n="ErrorEvent constructor";te.argumentLengthCheck(arguments,1,n),super(e,r),te.util.markAsUncloneable(this),e=te.converters.DOMString(e,n,"type"),r=te.converters.ErrorEventInit(r??{}),this.#e=r}get message(){return te.brandCheck(this,t),this.#e.message}get filename(){return te.brandCheck(this,t),this.#e.filename}get lineno(){return te.brandCheck(this,t),this.#e.lineno}get colno(){return te.brandCheck(this,t),this.#e.colno}get error(){return te.brandCheck(this,t),this.#e.error}};Object.defineProperties(nc.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:!0},data:wr,origin:wr,lastEventId:wr,source:wr,ports:wr,initMessageEvent:wr});Object.defineProperties(Hp.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:!0},reason:wr,code:wr,wasClean:wr});Object.defineProperties(zp.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:!0},message:wr,filename:wr,lineno:wr,colno:wr,error:wr});te.converters.MessagePort=te.interfaceConverter(Are);te.converters["sequence"]=te.sequenceConverter(te.converters.MessagePort);var WB=[{key:"bubbles",converter:te.converters.boolean,defaultValue:s(()=>!1,"defaultValue")},{key:"cancelable",converter:te.converters.boolean,defaultValue:s(()=>!1,"defaultValue")},{key:"composed",converter:te.converters.boolean,defaultValue:s(()=>!1,"defaultValue")}];te.converters.MessageEventInit=te.dictionaryConverter([...WB,{key:"data",converter:te.converters.any,defaultValue:s(()=>null,"defaultValue")},{key:"origin",converter:te.converters.USVString,defaultValue:s(()=>"","defaultValue")},{key:"lastEventId",converter:te.converters.DOMString,defaultValue:s(()=>"","defaultValue")},{key:"source",converter:te.nullableConverter(te.converters.MessagePort),defaultValue:s(()=>null,"defaultValue")},{key:"ports",converter:te.converters["sequence"],defaultValue:s(()=>new Array(0),"defaultValue")}]);te.converters.CloseEventInit=te.dictionaryConverter([...WB,{key:"wasClean",converter:te.converters.boolean,defaultValue:s(()=>!1,"defaultValue")},{key:"code",converter:te.converters["unsigned short"],defaultValue:s(()=>0,"defaultValue")},{key:"reason",converter:te.converters.USVString,defaultValue:s(()=>"","defaultValue")}]);te.converters.ErrorEventInit=te.dictionaryConverter([...WB,{key:"message",converter:te.converters.DOMString,defaultValue:s(()=>"","defaultValue")},{key:"filename",converter:te.converters.USVString,defaultValue:s(()=>"","defaultValue")},{key:"lineno",converter:te.converters["unsigned long"],defaultValue:s(()=>0,"defaultValue")},{key:"colno",converter:te.converters["unsigned long"],defaultValue:s(()=>0,"defaultValue")},{key:"error",converter:te.converters.any}]);ZM.exports={MessageEvent:nc,CloseEvent:Hp,ErrorEvent:zp,createFastMessageEvent:ure}});var Ro=f(($Ue,ek)=>{"use strict";var dre="258EAFA5-E914-47DA-95CA-C5AB0DC85B11",pre={enumerable:!0,writable:!1,configurable:!1},mre={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3},gre={NOT_SENT:0,PROCESSING:1,SENT:2},hre={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10},fre=2**16-1,yre={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4},Cre=Buffer.allocUnsafe(0),Ere={string:1,typedArray:2,arrayBuffer:3,blob:4};ek.exports={uid:dre,sentCloseFrameState:gre,staticPropertyDescriptors:pre,states:mre,opcodes:hre,maxUnsigned16Bit:fre,parserStates:yre,emptyBuffer:Cre,sendHints:Ere}});var NA=f((XUe,tk)=>{"use strict";tk.exports={kWebSocketURL:Symbol("url"),kReadyState:Symbol("ready state"),kController:Symbol("controller"),kResponse:Symbol("response"),kBinaryType:Symbol("binary type"),kSentClose:Symbol("sent close"),kReceivedClose:Symbol("received close"),kByteParser:Symbol("byte parser")}});var xA=f((ZUe,Ak)=>{"use strict";var{kReadyState:wA,kController:Bre,kResponse:Ire,kBinaryType:bre,kWebSocketURL:Qre}=NA(),{states:SA,opcodes:Ns}=Ro(),{ErrorEvent:Nre,createFastMessageEvent:wre}=ic(),{isUtf8:Sre}=require("node:buffer"),{collectASequenceOfCodePointsFast:xre,removeHTTPWhitespace:rk}=Ir();function Rre(t){return t[wA]===SA.CONNECTING}s(Rre,"isConnecting");function vre(t){return t[wA]===SA.OPEN}s(vre,"isEstablished");function Pre(t){return t[wA]===SA.CLOSING}s(Pre,"isClosing");function _re(t){return t[wA]===SA.CLOSED}s(_re,"isClosed");function KB(t,e,r=(i,o)=>new Event(i,o),n={}){let i=r(t,n);e.dispatchEvent(i)}s(KB,"fireEvent");function Dre(t,e,r){if(t[wA]!==SA.OPEN)return;let n;if(e===Ns.TEXT)try{n=lk(r)}catch{ik(t,"Received invalid UTF-8 in text frame.");return}else e===Ns.BINARY&&(t[bre]==="blob"?n=new Blob([r]):n=Tre(r));KB("message",t,wre,{origin:t[Qre].origin,data:n})}s(Dre,"websocketMessageReceived");function Tre(t){return t.byteLength===t.buffer.byteLength?t.buffer:t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength)}s(Tre,"toArrayBuffer");function Ore(t){if(t.length===0)return!1;for(let e=0;e126||r===34||r===40||r===41||r===44||r===47||r===58||r===59||r===60||r===61||r===62||r===63||r===64||r===91||r===92||r===93||r===123||r===125)return!1}return!0}s(Ore,"isValidSubprotocol");function Mre(t){return t>=1e3&&t<1015?t!==1004&&t!==1005&&t!==1006:t>=3e3&&t<=4999}s(Mre,"isValidStatusCode");function ik(t,e){let{[Bre]:r,[Ire]:n}=t;r.abort(),n?.socket&&!n.socket.destroyed&&n.socket.destroy(),e&&KB("error",t,(i,o)=>new Nre(i,o),{error:new Error(e),message:e})}s(ik,"failWebsocketConnection");function sk(t){return t===Ns.CLOSE||t===Ns.PING||t===Ns.PONG}s(sk,"isControlFrame");function ok(t){return t===Ns.CONTINUATION}s(ok,"isContinuationFrame");function ak(t){return t===Ns.TEXT||t===Ns.BINARY}s(ak,"isTextBinaryFrame");function kre(t){return ak(t)||ok(t)||sk(t)}s(kre,"isValidOpcode");function Lre(t){let e={position:0},r=new Map;for(;e.position57)return!1}let e=Number.parseInt(t,10);return e>=8&&e<=15}s(Fre,"isValidClientWindowBits");var ck=typeof process.versions.icu=="string",nk=ck?new TextDecoder("utf-8",{fatal:!0}):void 0,lk=ck?nk.decode.bind(nk):function(t){if(Sre(t))return t.toString("utf-8");throw new TypeError("Invalid utf-8 received.")};Ak.exports={isConnecting:Rre,isEstablished:vre,isClosing:Pre,isClosed:_re,fireEvent:KB,isValidSubprotocol:Ore,isValidStatusCode:Mre,failWebsocketConnection:ik,websocketMessageReceived:Dre,utf8Decode:lk,isControlFrame:sk,isContinuationFrame:ok,isTextBinaryFrame:ak,isValidOpcode:kre,parseExtensions:Lre,isValidClientWindowBits:Fre}});var jp=f((tqe,uk)=>{"use strict";var{maxUnsigned16Bit:Ure}=Ro(),Gp=16386,$B,RA=null,sc=Gp;try{$B=require("node:crypto")}catch{$B={randomFillSync:s(function(e,r,n){for(let i=0;iUre?(a+=8,o=127):i>125&&(a+=2,o=126);let c=Buffer.allocUnsafe(i+a);c[0]=c[1]=0,c[0]|=128,c[0]=(c[0]&240)+e;c[a-4]=n[0],c[a-3]=n[1],c[a-2]=n[2],c[a-1]=n[3],c[1]=o,o===126?c.writeUInt16BE(i,2):o===127&&(c[2]=c[3]=0,c.writeUIntBE(i,4,6)),c[1]|=128;for(let l=0;l{"use strict";var{uid:Hre,states:vA,sentCloseFrameState:Yp,emptyBuffer:zre,opcodes:Gre}=Ro(),{kReadyState:PA,kSentClose:Jp,kByteParser:pk,kReceivedClose:dk,kResponse:mk}=NA(),{fireEvent:jre,failWebsocketConnection:ws,isClosing:Yre,isClosed:Jre,isEstablished:Vre,parseExtensions:Wre}=xA(),{channels:oc}=fa(),{CloseEvent:Kre}=ic(),{makeRequest:$re}=Xa(),{fetching:Xre}=BA(),{Headers:Zre,getHeadersList:ene}=bo(),{getDecodeSplit:tne}=Fr(),{WebsocketFrameSend:rne}=jp(),ZB;try{ZB=require("node:crypto")}catch{}function nne(t,e,r,n,i,o){let a=t;a.protocol=t.protocol==="ws:"?"http:":"https:";let c=$re({urlList:[a],client:r,serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(o.headers){let d=ene(new Zre(o.headers));c.headersList=d}let l=ZB.randomBytes(16).toString("base64");c.headersList.append("sec-websocket-key",l),c.headersList.append("sec-websocket-version","13");for(let d of e)c.headersList.append("sec-websocket-protocol",d);return c.headersList.append("sec-websocket-extensions","permessage-deflate; client_max_window_bits"),Xre({request:c,useParallelQueue:!0,dispatcher:o.dispatcher,processResponse(d){if(d.type==="error"||d.status!==101){ws(n,"Received network error or non-101 status code.");return}if(e.length!==0&&!d.headersList.get("Sec-WebSocket-Protocol")){ws(n,"Server did not respond with sent protocols.");return}if(d.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){ws(n,'Server did not set Upgrade header to "websocket".');return}if(d.headersList.get("Connection")?.toLowerCase()!=="upgrade"){ws(n,'Server did not set Connection header to "upgrade".');return}let g=d.headersList.get("Sec-WebSocket-Accept"),y=ZB.createHash("sha1").update(l+Hre).digest("base64");if(g!==y){ws(n,"Incorrect hash received in Sec-WebSocket-Accept header.");return}let B=d.headersList.get("Sec-WebSocket-Extensions"),w;if(B!==null&&(w=Wre(B),!w.has("permessage-deflate"))){ws(n,"Sec-WebSocket-Extensions header does not match.");return}let x=d.headersList.get("Sec-WebSocket-Protocol");if(x!==null&&!tne("sec-websocket-protocol",c.headersList).includes(x)){ws(n,"Protocol was not set in the opening handshake.");return}d.socket.on("data",gk),d.socket.on("close",hk),d.socket.on("error",fk),oc.open.hasSubscribers&&oc.open.publish({address:d.socket.address(),protocol:x,extensions:B}),i(d,w)}})}s(nne,"establishWebSocketConnection");function ine(t,e,r,n){if(!(Yre(t)||Jre(t)))if(!Vre(t))ws(t,"Connection was closed before it was established."),t[PA]=vA.CLOSING;else if(t[Jp]===Yp.NOT_SENT){t[Jp]=Yp.PROCESSING;let i=new rne;e!==void 0&&r===void 0?(i.frameData=Buffer.allocUnsafe(2),i.frameData.writeUInt16BE(e,0)):e!==void 0&&r!==void 0?(i.frameData=Buffer.allocUnsafe(2+n),i.frameData.writeUInt16BE(e,0),i.frameData.write(r,2,"utf-8")):i.frameData=zre,t[mk].socket.write(i.createFrame(Gre.CLOSE)),t[Jp]=Yp.SENT,t[PA]=vA.CLOSING}else t[PA]=vA.CLOSING}s(ine,"closeWebSocketConnection");function gk(t){this.ws[pk].write(t)||this.pause()}s(gk,"onSocketData");function hk(){let{ws:t}=this,{[mk]:e}=t;e.socket.off("data",gk),e.socket.off("close",hk),e.socket.off("error",fk);let r=t[Jp]===Yp.SENT&&t[dk],n=1005,i="",o=t[pk].closingInfo;o&&!o.error?(n=o.code??1005,i=o.reason):t[dk]||(n=1006),t[PA]=vA.CLOSED,jre("close",t,(a,c)=>new Kre(a,c),{wasClean:r,code:n,reason:i}),oc.close.hasSubscribers&&oc.close.publish({websocket:t,code:n,reason:i})}s(hk,"onSocketClose");function fk(t){let{ws:e}=this;e[PA]=vA.CLOSING,oc.socketError.hasSubscribers&&oc.socketError.publish(t),this.destroy()}s(fk,"onSocketError");yk.exports={establishWebSocketConnection:nne,closeWebSocketConnection:ine}});var Bk=f((sqe,Ek)=>{"use strict";var{createInflateRaw:sne,Z_DEFAULT_WINDOWBITS:one}=require("node:zlib"),{isValidClientWindowBits:ane}=xA(),{MessageSizeExceededError:Ck}=Pe(),cne=Buffer.from([0,0,255,255]),Vp=Symbol("kBuffer"),_A=Symbol("kLength"),lne=4*1024*1024,tI=class{static{s(this,"PerMessageDeflate")}#e;#t={};#i=!1;#n=null;constructor(e){this.#t.serverNoContextTakeover=e.has("server_no_context_takeover"),this.#t.serverMaxWindowBits=e.get("server_max_window_bits")}decompress(e,r,n){if(this.#i){n(new Ck);return}if(!this.#e){let i=one;if(this.#t.serverMaxWindowBits){if(!ane(this.#t.serverMaxWindowBits)){n(new Error("Invalid server_max_window_bits"));return}i=Number.parseInt(this.#t.serverMaxWindowBits)}try{this.#e=sne({windowBits:i})}catch(o){n(o);return}this.#e[Vp]=[],this.#e[_A]=0,this.#e.on("data",o=>{if(!this.#i){if(this.#e[_A]+=o.length,this.#e[_A]>lne){if(this.#i=!0,this.#e.removeAllListeners(),this.#e.destroy(),this.#e=null,this.#n){let a=this.#n;this.#n=null,a(new Ck)}return}this.#e[Vp].push(o)}}),this.#e.on("error",o=>{this.#e=null,n(o)})}this.#n=n,this.#e.write(e),r&&this.#e.write(cne),this.#e.flush(()=>{if(this.#i||!this.#e)return;let i=Buffer.concat(this.#e[Vp],this.#e[_A]);this.#e[Vp].length=0,this.#e[_A]=0,this.#n=null,n(null,i)})}};Ek.exports={PerMessageDeflate:tI}});var Pk=f((aqe,vk)=>{"use strict";var{Writable:Ane}=require("node:stream"),une=require("node:assert"),{parserStates:Sr,opcodes:ac,states:dne,emptyBuffer:Ik,sentCloseFrameState:bk}=Ro(),{kReadyState:pne,kSentClose:Qk,kResponse:Nk,kReceivedClose:wk}=NA(),{channels:Wp}=fa(),{isValidStatusCode:mne,isValidOpcode:gne,failWebsocketConnection:Yr,websocketMessageReceived:Sk,utf8Decode:hne,isControlFrame:xk,isTextBinaryFrame:rI,isContinuationFrame:fne}=xA(),{WebsocketFrameSend:Rk}=jp(),{closeWebSocketConnection:yne}=eI(),{PerMessageDeflate:Cne}=Bk(),nI=class extends Ane{static{s(this,"ByteParser")}#e=[];#t=0;#i=!1;#n=Sr.INFO;#r={};#s=[];#o;constructor(e,r){super(),this.ws=e,this.#o=r??new Map,this.#o.has("permessage-deflate")&&this.#o.set("permessage-deflate",new Cne(r))}_write(e,r,n){this.#e.push(e),this.#t+=e.length,this.#i=!0,this.run(n)}run(e){for(;this.#i;)if(this.#n===Sr.INFO){if(this.#t<2)return e();let r=this.consume(2),n=(r[0]&128)!==0,i=r[0]&15,o=(r[1]&128)===128,a=!n&&i!==ac.CONTINUATION,c=r[1]&127,l=r[0]&64,A=r[0]&32,u=r[0]&16;if(!gne(i))return Yr(this.ws,"Invalid opcode received"),e();if(o)return Yr(this.ws,"Frame cannot be masked"),e();if(l!==0&&!this.#o.has("permessage-deflate")){Yr(this.ws,"Expected RSV1 to be clear.");return}if(A!==0||u!==0){Yr(this.ws,"RSV1, RSV2, RSV3 must be clear");return}if(a&&!rI(i)){Yr(this.ws,"Invalid frame type was fragmented.");return}if(rI(i)&&this.#s.length>0){Yr(this.ws,"Expected continuation frame");return}if(this.#r.fragmented&&a){Yr(this.ws,"Fragmented frame exceeded 125 bytes.");return}if((c>125||a)&&xk(i)){Yr(this.ws,"Control frame either too large or fragmented");return}if(fne(i)&&this.#s.length===0&&!this.#r.compressed){Yr(this.ws,"Unexpected continuation frame");return}c<=125?(this.#r.payloadLength=c,this.#n=Sr.READ_DATA):c===126?this.#n=Sr.PAYLOADLENGTH_16:c===127&&(this.#n=Sr.PAYLOADLENGTH_64),rI(i)&&(this.#r.binaryType=i,this.#r.compressed=l!==0),this.#r.opcode=i,this.#r.masked=o,this.#r.fin=n,this.#r.fragmented=a}else if(this.#n===Sr.PAYLOADLENGTH_16){if(this.#t<2)return e();let r=this.consume(2);this.#r.payloadLength=r.readUInt16BE(0),this.#n=Sr.READ_DATA}else if(this.#n===Sr.PAYLOADLENGTH_64){if(this.#t<8)return e();let r=this.consume(8),n=r.readUInt32BE(0),i=r.readUInt32BE(4);if(n!==0||i>2**31-1){Yr(this.ws,"Received payload length > 2^31 bytes.");return}this.#r.payloadLength=i,this.#n=Sr.READ_DATA}else if(this.#n===Sr.READ_DATA){if(this.#t{if(n){Yr(this.ws,n.message);return}if(this.#s.push(i),!this.#r.fin){this.#n=Sr.INFO,this.#i=!0,this.run(e);return}Sk(this.ws,this.#r.binaryType,Buffer.concat(this.#s)),this.#i=!0,this.#n=Sr.INFO,this.#s.length=0,this.run(e)}),this.#i=!1;break}else{if(this.#s.push(r),!this.#r.fragmented&&this.#r.fin){let n=Buffer.concat(this.#s);Sk(this.ws,this.#r.binaryType,n),this.#s.length=0}this.#n=Sr.INFO}}}consume(e){if(e>this.#t)throw new Error("Called consume() before buffers satiated.");if(e===0)return Ik;if(this.#e[0].length===e)return this.#t-=this.#e[0].length,this.#e.shift();let r=Buffer.allocUnsafe(e),n=0;for(;n!==e;){let i=this.#e[0],{length:o}=i;if(o+n===e){r.set(this.#e.shift(),n);break}else if(o+n>e){r.set(i.subarray(0,e-n),n),this.#e[0]=i.subarray(e-n);break}else r.set(this.#e.shift(),n),n+=i.length}return this.#t-=e,r}parseCloseBody(e){une(e.length!==1);let r;if(e.length>=2&&(r=e.readUInt16BE(0)),r!==void 0&&!mne(r))return{code:1002,reason:"Invalid status code",error:!0};let n=e.subarray(2);n[0]===239&&n[1]===187&&n[2]===191&&(n=n.subarray(3));try{n=hne(n)}catch{return{code:1007,reason:"Invalid UTF-8",error:!0}}return{code:r,reason:n,error:!1}}parseControlFrame(e){let{opcode:r,payloadLength:n}=this.#r;if(r===ac.CLOSE){if(n===1)return Yr(this.ws,"Received close frame with a 1-byte body."),!1;if(this.#r.closeInfo=this.parseCloseBody(e),this.#r.closeInfo.error){let{code:i,reason:o}=this.#r.closeInfo;return yne(this.ws,i,o,o.length),Yr(this.ws,o),!1}if(this.ws[Qk]!==bk.SENT){let i=Ik;this.#r.closeInfo.code&&(i=Buffer.allocUnsafe(2),i.writeUInt16BE(this.#r.closeInfo.code,0));let o=new Rk(i);this.ws[Nk].socket.write(o.createFrame(ac.CLOSE),a=>{a||(this.ws[Qk]=bk.SENT)})}return this.ws[pne]=dne.CLOSING,this.ws[wk]=!0,!1}else if(r===ac.PING){if(!this.ws[wk]){let i=new Rk(e);this.ws[Nk].socket.write(i.createFrame(ac.PONG)),Wp.ping.hasSubscribers&&Wp.ping.publish({payload:e})}}else r===ac.PONG&&Wp.pong.hasSubscribers&&Wp.pong.publish({payload:e});return!0}get closingInfo(){return this.#r.closeInfo}};vk.exports={ByteParser:nI}});var Mk=f((lqe,Ok)=>{"use strict";var{WebsocketFrameSend:Ene}=jp(),{opcodes:_k,sendHints:cc}=Ro(),Bne=pE(),Dk=Buffer[Symbol.species],iI=class{static{s(this,"SendQueue")}#e=new Bne;#t=!1;#i;constructor(e){this.#i=e}add(e,r,n){if(n!==cc.blob){let o=Tk(e,n);if(!this.#t)this.#i.write(o,r);else{let a={promise:null,callback:r,frame:o};this.#e.push(a)}return}let i={promise:e.arrayBuffer().then(o=>{i.promise=null,i.frame=Tk(o,n)}),callback:r,frame:null};this.#e.push(i),this.#t||this.#n()}async#n(){this.#t=!0;let e=this.#e;for(;!e.isEmpty();){let r=e.shift();r.promise!==null&&await r.promise,this.#i.write(r.frame,r.callback),r.callback=r.frame=null}this.#t=!1}};function Tk(t,e){return new Ene(Ine(t,e)).createFrame(e===cc.string?_k.TEXT:_k.BINARY)}s(Tk,"createFrame");function Ine(t,e){switch(e){case cc.string:return Buffer.from(t);case cc.arrayBuffer:case cc.blob:return new Dk(t);case cc.typedArray:return new Dk(t.buffer,t.byteOffset,t.byteLength)}}s(Ine,"toBuffer");Ok.exports={SendQueue:iI}});var jk=f((uqe,Gk)=>{"use strict";var{webidl:ue}=Zt(),{URLSerializer:bne}=Ir(),{environmentSettingsObject:kk}=Fr(),{staticPropertyDescriptors:Ss,states:DA,sentCloseFrameState:Qne,sendHints:Kp}=Ro(),{kWebSocketURL:Lk,kReadyState:sI,kController:Nne,kBinaryType:$p,kResponse:Fk,kSentClose:wne,kByteParser:Sne}=NA(),{isConnecting:xne,isEstablished:Rne,isClosing:vne,isValidSubprotocol:Pne,fireEvent:Uk}=xA(),{establishWebSocketConnection:_ne,closeWebSocketConnection:qk}=eI(),{ByteParser:Dne}=Pk(),{kEnumerableProperty:gn,isBlobLike:Hk}=Ce(),{getGlobalDispatcher:Tne}=dp(),{types:zk}=require("node:util"),{ErrorEvent:One,CloseEvent:Mne}=ic(),{SendQueue:kne}=Mk(),Jr=class t extends EventTarget{static{s(this,"WebSocket")}#e={open:null,error:null,close:null,message:null};#t=0;#i="";#n="";#r;constructor(e,r=[]){super(),ue.util.markAsUncloneable(this);let n="WebSocket constructor";ue.argumentLengthCheck(arguments,1,n);let i=ue.converters["DOMString or sequence or WebSocketInit"](r,n,"options");e=ue.converters.USVString(e,n,"url"),r=i.protocols;let o=kk.settingsObject.baseUrl,a;try{a=new URL(e,o)}catch(l){throw new DOMException(l,"SyntaxError")}if(a.protocol==="http:"?a.protocol="ws:":a.protocol==="https:"&&(a.protocol="wss:"),a.protocol!=="ws:"&&a.protocol!=="wss:")throw new DOMException(`Expected a ws: or wss: protocol, got ${a.protocol}`,"SyntaxError");if(a.hash||a.href.endsWith("#"))throw new DOMException("Got fragment","SyntaxError");if(typeof r=="string"&&(r=[r]),r.length!==new Set(r.map(l=>l.toLowerCase())).size)throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");if(r.length>0&&!r.every(l=>Pne(l)))throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");this[Lk]=new URL(a.href);let c=kk.settingsObject;this[Nne]=_ne(a,r,c,this,(l,A)=>this.#s(l,A),i),this[sI]=t.CONNECTING,this[wne]=Qne.NOT_SENT,this[$p]="blob"}close(e=void 0,r=void 0){ue.brandCheck(this,t);let n="WebSocket.close";if(e!==void 0&&(e=ue.converters["unsigned short"](e,n,"code",{clamp:!0})),r!==void 0&&(r=ue.converters.USVString(r,n,"reason")),e!==void 0&&e!==1e3&&(e<3e3||e>4999))throw new DOMException("invalid code","InvalidAccessError");let i=0;if(r!==void 0&&(i=Buffer.byteLength(r),i>123))throw new DOMException(`Reason must be less than 123 bytes; received ${i}`,"SyntaxError");qk(this,e,r,i)}send(e){ue.brandCheck(this,t);let r="WebSocket.send";if(ue.argumentLengthCheck(arguments,1,r),e=ue.converters.WebSocketSendData(e,r,"data"),xne(this))throw new DOMException("Sent before connected.","InvalidStateError");if(!(!Rne(this)||vne(this)))if(typeof e=="string"){let n=Buffer.byteLength(e);this.#t+=n,this.#r.add(e,()=>{this.#t-=n},Kp.string)}else zk.isArrayBuffer(e)?(this.#t+=e.byteLength,this.#r.add(e,()=>{this.#t-=e.byteLength},Kp.arrayBuffer)):ArrayBuffer.isView(e)?(this.#t+=e.byteLength,this.#r.add(e,()=>{this.#t-=e.byteLength},Kp.typedArray)):Hk(e)&&(this.#t+=e.size,this.#r.add(e,()=>{this.#t-=e.size},Kp.blob))}get readyState(){return ue.brandCheck(this,t),this[sI]}get bufferedAmount(){return ue.brandCheck(this,t),this.#t}get url(){return ue.brandCheck(this,t),bne(this[Lk])}get extensions(){return ue.brandCheck(this,t),this.#n}get protocol(){return ue.brandCheck(this,t),this.#i}get onopen(){return ue.brandCheck(this,t),this.#e.open}set onopen(e){ue.brandCheck(this,t),this.#e.open&&this.removeEventListener("open",this.#e.open),typeof e=="function"?(this.#e.open=e,this.addEventListener("open",e)):this.#e.open=null}get onerror(){return ue.brandCheck(this,t),this.#e.error}set onerror(e){ue.brandCheck(this,t),this.#e.error&&this.removeEventListener("error",this.#e.error),typeof e=="function"?(this.#e.error=e,this.addEventListener("error",e)):this.#e.error=null}get onclose(){return ue.brandCheck(this,t),this.#e.close}set onclose(e){ue.brandCheck(this,t),this.#e.close&&this.removeEventListener("close",this.#e.close),typeof e=="function"?(this.#e.close=e,this.addEventListener("close",e)):this.#e.close=null}get onmessage(){return ue.brandCheck(this,t),this.#e.message}set onmessage(e){ue.brandCheck(this,t),this.#e.message&&this.removeEventListener("message",this.#e.message),typeof e=="function"?(this.#e.message=e,this.addEventListener("message",e)):this.#e.message=null}get binaryType(){return ue.brandCheck(this,t),this[$p]}set binaryType(e){ue.brandCheck(this,t),e!=="blob"&&e!=="arraybuffer"?this[$p]="blob":this[$p]=e}#s(e,r){this[Fk]=e;let n=new Dne(this,r);n.on("drain",Lne),n.on("error",Fne.bind(this)),e.socket.ws=this,this[Sne]=n,this.#r=new kne(e.socket),this[sI]=DA.OPEN;let i=e.headersList.get("sec-websocket-extensions");i!==null&&(this.#n=i);let o=e.headersList.get("sec-websocket-protocol");o!==null&&(this.#i=o),Uk("open",this)}};Jr.CONNECTING=Jr.prototype.CONNECTING=DA.CONNECTING;Jr.OPEN=Jr.prototype.OPEN=DA.OPEN;Jr.CLOSING=Jr.prototype.CLOSING=DA.CLOSING;Jr.CLOSED=Jr.prototype.CLOSED=DA.CLOSED;Object.defineProperties(Jr.prototype,{CONNECTING:Ss,OPEN:Ss,CLOSING:Ss,CLOSED:Ss,url:gn,readyState:gn,bufferedAmount:gn,onopen:gn,onerror:gn,onclose:gn,close:gn,onmessage:gn,binaryType:gn,send:gn,extensions:gn,protocol:gn,[Symbol.toStringTag]:{value:"WebSocket",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(Jr,{CONNECTING:Ss,OPEN:Ss,CLOSING:Ss,CLOSED:Ss});ue.converters["sequence"]=ue.sequenceConverter(ue.converters.DOMString);ue.converters["DOMString or sequence"]=function(t,e,r){return ue.util.Type(t)==="Object"&&Symbol.iterator in t?ue.converters["sequence"](t):ue.converters.DOMString(t,e,r)};ue.converters.WebSocketInit=ue.dictionaryConverter([{key:"protocols",converter:ue.converters["DOMString or sequence"],defaultValue:s(()=>new Array(0),"defaultValue")},{key:"dispatcher",converter:ue.converters.any,defaultValue:s(()=>Tne(),"defaultValue")},{key:"headers",converter:ue.nullableConverter(ue.converters.HeadersInit)}]);ue.converters["DOMString or sequence or WebSocketInit"]=function(t){return ue.util.Type(t)==="Object"&&!(Symbol.iterator in t)?ue.converters.WebSocketInit(t):{protocols:ue.converters["DOMString or sequence"](t)}};ue.converters.WebSocketSendData=function(t){if(ue.util.Type(t)==="Object"){if(Hk(t))return ue.converters.Blob(t,{strict:!1});if(ArrayBuffer.isView(t)||zk.isArrayBuffer(t))return ue.converters.BufferSource(t)}return ue.converters.USVString(t)};function Lne(){this.ws[Fk].socket.resume()}s(Lne,"onParserDrain");function Fne(t){let e,r;t instanceof Mne?(e=t.reason,r=t.code):e=t.message,Uk("error",this,()=>new One("error",{error:t,message:e})),qk(this,r)}s(Fne,"onParserError");Gk.exports={WebSocket:Jr}});var oI=f((pqe,Yk)=>{"use strict";function Une(t){return t.indexOf("\0")===-1}s(Une,"isValidLastEventId");function qne(t){if(t.length===0)return!1;for(let e=0;e57)return!1;return!0}s(qne,"isASCIINumber");function Hne(t){return new Promise(e=>{setTimeout(e,t).unref()})}s(Hne,"delay");Yk.exports={isValidLastEventId:Une,isASCIINumber:qne,delay:Hne}});var Kk=f((gqe,Wk)=>{"use strict";var{Transform:zne}=require("node:stream"),{isASCIINumber:Jk,isValidLastEventId:Vk}=oI(),Vi=[239,187,191],aI=10,Xp=13,Gne=58,jne=32,cI=class extends zne{static{s(this,"EventSourceStream")}state=null;checkBOM=!0;crlfCheck=!1;eventEndCheck=!1;buffer=null;pos=0;event={data:void 0,event:void 0,id:void 0,retry:void 0};constructor(e={}){e.readableObjectMode=!0,super(e),this.state=e.eventSourceSettings||{},e.push&&(this.push=e.push)}_transform(e,r,n){if(e.length===0){n();return}if(this.buffer?this.buffer=Buffer.concat([this.buffer,e]):this.buffer=e,this.checkBOM)switch(this.buffer.length){case 1:if(this.buffer[0]===Vi[0]){n();return}this.checkBOM=!1,n();return;case 2:if(this.buffer[0]===Vi[0]&&this.buffer[1]===Vi[1]){n();return}this.checkBOM=!1;break;case 3:if(this.buffer[0]===Vi[0]&&this.buffer[1]===Vi[1]&&this.buffer[2]===Vi[2]){this.buffer=Buffer.alloc(0),this.checkBOM=!1,n();return}this.checkBOM=!1;break;default:this.buffer[0]===Vi[0]&&this.buffer[1]===Vi[1]&&this.buffer[2]===Vi[2]&&(this.buffer=this.buffer.subarray(3)),this.checkBOM=!1;break}for(;this.pos0&&(r[i]=o);break}}processEvent(e){e.retry&&Jk(e.retry)&&(this.state.reconnectionTime=parseInt(e.retry,10)),e.id&&Vk(e.id)&&(this.state.lastEventId=e.id),e.data!==void 0&&this.push({type:e.event||"message",options:{data:e.data,lastEventId:this.state.lastEventId,origin:this.state.origin}})}clearEvent(){this.event={data:void 0,event:void 0,id:void 0,retry:void 0}}};Wk.exports={EventSourceStream:cI}});var iL=f((fqe,nL)=>{"use strict";var{pipeline:Yne}=require("node:stream"),{fetching:Jne}=BA(),{makeRequest:Vne}=Xa(),{webidl:Wi}=Zt(),{EventSourceStream:Wne}=Kk(),{parseMIMEType:Kne}=Ir(),{createFastMessageEvent:$ne}=ic(),{isNetworkError:$k}=CA(),{delay:Xne}=oI(),{kEnumerableProperty:vo}=Ce(),{environmentSettingsObject:Xk}=Fr(),Zk=!1,eL=3e3,TA=0,tL=1,OA=2,Zne="anonymous",eie="use-credentials",lc=class t extends EventTarget{static{s(this,"EventSource")}#e={open:null,error:null,message:null};#t=null;#i=!1;#n=TA;#r=null;#s=null;#o;#a;constructor(e,r={}){super(),Wi.util.markAsUncloneable(this);let n="EventSource constructor";Wi.argumentLengthCheck(arguments,1,n),Zk||(Zk=!0,process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})),e=Wi.converters.USVString(e,n,"url"),r=Wi.converters.EventSourceInitDict(r,n,"eventSourceInitDict"),this.#o=r.dispatcher,this.#a={lastEventId:"",reconnectionTime:eL};let i=Xk,o;try{o=new URL(e,i.settingsObject.baseUrl),this.#a.origin=o.origin}catch(l){throw new DOMException(l,"SyntaxError")}this.#t=o.href;let a=Zne;r.withCredentials&&(a=eie,this.#i=!0);let c={redirect:"follow",keepalive:!0,mode:"cors",credentials:a==="anonymous"?"same-origin":"omit",referrer:"no-referrer"};c.client=Xk.settingsObject,c.headersList=[["accept",{name:"accept",value:"text/event-stream"}]],c.cache="no-store",c.initiator="other",c.urlList=[new URL(this.#t)],this.#r=Vne(c),this.#c()}get readyState(){return this.#n}get url(){return this.#t}get withCredentials(){return this.#i}#c(){if(this.#n===OA)return;this.#n=TA;let e={request:this.#r,dispatcher:this.#o},r=s(n=>{$k(n)&&(this.dispatchEvent(new Event("error")),this.close()),this.#l()},"processEventSourceEndOfBody");e.processResponseEndOfBody=r,e.processResponse=n=>{if($k(n))if(n.aborted){this.close(),this.dispatchEvent(new Event("error"));return}else{this.#l();return}let i=n.headersList.get("content-type",!0),o=i!==null?Kne(i):"failure",a=o!=="failure"&&o.essence==="text/event-stream";if(n.status!==200||a===!1){this.close(),this.dispatchEvent(new Event("error"));return}this.#n=tL,this.dispatchEvent(new Event("open")),this.#a.origin=n.urlList[n.urlList.length-1].origin;let c=new Wne({eventSourceSettings:this.#a,push:s(l=>{this.dispatchEvent($ne(l.type,l.options))},"push")});Yne(n.body.stream,c,l=>{l?.aborted===!1&&(this.close(),this.dispatchEvent(new Event("error")))})},this.#s=Jne(e)}async#l(){this.#n!==OA&&(this.#n=TA,this.dispatchEvent(new Event("error")),await Xne(this.#a.reconnectionTime),this.#n===TA&&(this.#a.lastEventId.length&&this.#r.headersList.set("last-event-id",this.#a.lastEventId,!0),this.#c()))}close(){Wi.brandCheck(this,t),this.#n!==OA&&(this.#n=OA,this.#s.abort(),this.#r=null)}get onopen(){return this.#e.open}set onopen(e){this.#e.open&&this.removeEventListener("open",this.#e.open),typeof e=="function"?(this.#e.open=e,this.addEventListener("open",e)):this.#e.open=null}get onmessage(){return this.#e.message}set onmessage(e){this.#e.message&&this.removeEventListener("message",this.#e.message),typeof e=="function"?(this.#e.message=e,this.addEventListener("message",e)):this.#e.message=null}get onerror(){return this.#e.error}set onerror(e){this.#e.error&&this.removeEventListener("error",this.#e.error),typeof e=="function"?(this.#e.error=e,this.addEventListener("error",e)):this.#e.error=null}},rL={CONNECTING:{__proto__:null,configurable:!1,enumerable:!0,value:TA,writable:!1},OPEN:{__proto__:null,configurable:!1,enumerable:!0,value:tL,writable:!1},CLOSED:{__proto__:null,configurable:!1,enumerable:!0,value:OA,writable:!1}};Object.defineProperties(lc,rL);Object.defineProperties(lc.prototype,rL);Object.defineProperties(lc.prototype,{close:vo,onerror:vo,onmessage:vo,onopen:vo,readyState:vo,url:vo,withCredentials:vo});Wi.converters.EventSourceInitDict=Wi.dictionaryConverter([{key:"withCredentials",converter:Wi.converters.boolean,defaultValue:s(()=>!1,"defaultValue")},{key:"dispatcher",converter:Wi.converters.any}]);nL.exports={EventSource:lc,defaultReconnectionTime:eL}});var cL=f((Cqe,Ae)=>{"use strict";var tie=ka(),sL=Fl(),rie=La(),nie=rD(),iie=Fa(),sie=DE(),oie=wD(),aie=_D(),oL=Pe(),em=Ce(),{InvalidArgumentError:Zp}=oL,Ac=yT(),cie=ql(),lie=mB(),Aie=eO(),uie=fB(),die=tB(),pie=rp(),{getGlobalDispatcher:aL,setGlobalDispatcher:mie}=dp(),gie=pp(),hie=jd(),fie=Yd();Object.assign(sL.prototype,Ac);Ae.exports.Dispatcher=sL;Ae.exports.Client=tie;Ae.exports.Pool=rie;Ae.exports.BalancedPool=nie;Ae.exports.Agent=iie;Ae.exports.ProxyAgent=sie;Ae.exports.EnvHttpProxyAgent=oie;Ae.exports.RetryAgent=aie;Ae.exports.RetryHandler=pie;Ae.exports.DecoratorHandler=gie;Ae.exports.RedirectHandler=hie;Ae.exports.createRedirectInterceptor=fie;Ae.exports.interceptors={redirect:aO(),retry:lO(),dump:uO(),dns:mO()};Ae.exports.buildConnector=cie;Ae.exports.errors=oL;Ae.exports.util={parseHeaders:em.parseHeaders,headerNameToString:em.headerNameToString};function MA(t){return(e,r,n)=>{if(typeof r=="function"&&(n=r,r=null),!e||typeof e!="string"&&typeof e!="object"&&!(e instanceof URL))throw new Zp("invalid url");if(r!=null&&typeof r!="object")throw new Zp("invalid opts");if(r&&r.path!=null){if(typeof r.path!="string")throw new Zp("invalid opts.path");let a=r.path;r.path.startsWith("/")||(a=`/${a}`),e=new URL(em.parseOrigin(e).origin+a)}else r||(r=typeof e=="object"?e:{}),e=em.parseURL(e);let{agent:i,dispatcher:o=aL()}=r;if(i)throw new Zp("unsupported opts.agent. Did you mean opts.client?");return t.call(o,{...r,origin:e.origin,path:e.search?`${e.pathname}${e.search}`:e.pathname,method:r.method||(r.body?"PUT":"GET")},n)}}s(MA,"makeDispatcher");Ae.exports.setGlobalDispatcher=mie;Ae.exports.getGlobalDispatcher=aL;var yie=BA().fetch;Ae.exports.fetch=s(async function(e,r=void 0){try{return await yie(e,r)}catch(n){throw n&&typeof n=="object"&&Error.captureStackTrace(n),n}},"fetch");Ae.exports.Headers=bo().Headers;Ae.exports.Response=CA().Response;Ae.exports.Request=Xa().Request;Ae.exports.FormData=Vl().FormData;Ae.exports.File=globalThis.File??require("node:buffer").File;Ae.exports.FileReader=vM().FileReader;var{setGlobalOrigin:Cie,getGlobalOrigin:Eie}=TC();Ae.exports.setGlobalOrigin=Cie;Ae.exports.getGlobalOrigin=Eie;var{CacheStorage:Bie}=FM(),{kConstruct:Iie}=Tp();Ae.exports.caches=new Bie(Iie);var{deleteCookie:bie,getCookies:Qie,getSetCookies:Nie,setCookie:wie}=$M();Ae.exports.deleteCookie=bie;Ae.exports.getCookies=Qie;Ae.exports.getSetCookies=Nie;Ae.exports.setCookie=wie;var{parseMIMEType:Sie,serializeAMimeType:xie}=Ir();Ae.exports.parseMIMEType=Sie;Ae.exports.serializeAMimeType=xie;var{CloseEvent:Rie,ErrorEvent:vie,MessageEvent:Pie}=ic();Ae.exports.WebSocket=jk().WebSocket;Ae.exports.CloseEvent=Rie;Ae.exports.ErrorEvent=vie;Ae.exports.MessageEvent=Pie;Ae.exports.request=MA(Ac.request);Ae.exports.stream=MA(Ac.stream);Ae.exports.pipeline=MA(Ac.pipeline);Ae.exports.connect=MA(Ac.connect);Ae.exports.upgrade=MA(Ac.upgrade);Ae.exports.MockClient=lie;Ae.exports.MockPool=uie;Ae.exports.MockAgent=Aie;Ae.exports.mockErrors=die;var{EventSource:_ie}=iL();Ae.exports.EventSource=_ie});var Po=f(nt=>{"use strict";var Die=nt&&nt.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:s(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Tie=nt&&nt.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),im=nt&&nt.__importStar||(function(){var t=s(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;iQt(this,void 0,void 0,function*(){let r=Buffer.alloc(0);this.message.on("data",n=>{r=Buffer.concat([r,n])}),this.message.on("end",()=>{e(r.toString())})}))})}readBodyBuffer(){return Qt(this,void 0,void 0,function*(){return new Promise(e=>Qt(this,void 0,void 0,function*(){let r=[];this.message.on("data",n=>{r.push(n)}),this.message.on("end",()=>{e(Buffer.concat(r))})}))})}};nt.HttpClientResponse=nm;function Hie(t){return new URL(t).protocol==="https:"}s(Hie,"isHttps");var uI=class{static{s(this,"HttpClient")}constructor(e,r,n){this._ignoreSslError=!1,this._allowRedirects=!0,this._allowRedirectDowngrade=!1,this._maxRedirects=50,this._allowRetries=!1,this._maxRetries=1,this._keepAlive=!1,this._disposed=!1,this.userAgent=this._getUserAgentWithOrchestrationId(e),this.handlers=r||[],this.requestOptions=n,n&&(n.ignoreSslError!=null&&(this._ignoreSslError=n.ignoreSslError),this._socketTimeout=n.socketTimeout,n.allowRedirects!=null&&(this._allowRedirects=n.allowRedirects),n.allowRedirectDowngrade!=null&&(this._allowRedirectDowngrade=n.allowRedirectDowngrade),n.maxRedirects!=null&&(this._maxRedirects=Math.max(n.maxRedirects,0)),n.keepAlive!=null&&(this._keepAlive=n.keepAlive),n.allowRetries!=null&&(this._allowRetries=n.allowRetries),n.maxRetries!=null&&(this._maxRetries=n.maxRetries))}options(e,r){return Qt(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return Qt(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return Qt(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,n){return Qt(this,void 0,void 0,function*(){return this.request("POST",e,r,n||{})})}patch(e,r,n){return Qt(this,void 0,void 0,function*(){return this.request("PATCH",e,r,n||{})})}put(e,r,n){return Qt(this,void 0,void 0,function*(){return this.request("PUT",e,r,n||{})})}head(e,r){return Qt(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,n,i){return Qt(this,void 0,void 0,function*(){return this.request(e,r,n,i)})}getJson(e){return Qt(this,arguments,void 0,function*(r,n={}){n[gr.Accept]=this._getExistingOrDefaultHeader(n,gr.Accept,Ki.ApplicationJson);let i=yield this.get(r,n);return this._processResponse(i,this.requestOptions)})}postJson(e,r){return Qt(this,arguments,void 0,function*(n,i,o={}){let a=JSON.stringify(i,null,2);o[gr.Accept]=this._getExistingOrDefaultHeader(o,gr.Accept,Ki.ApplicationJson),o[gr.ContentType]=this._getExistingOrDefaultContentTypeHeader(o,Ki.ApplicationJson);let c=yield this.post(n,a,o);return this._processResponse(c,this.requestOptions)})}putJson(e,r){return Qt(this,arguments,void 0,function*(n,i,o={}){let a=JSON.stringify(i,null,2);o[gr.Accept]=this._getExistingOrDefaultHeader(o,gr.Accept,Ki.ApplicationJson),o[gr.ContentType]=this._getExistingOrDefaultContentTypeHeader(o,Ki.ApplicationJson);let c=yield this.put(n,a,o);return this._processResponse(c,this.requestOptions)})}patchJson(e,r){return Qt(this,arguments,void 0,function*(n,i,o={}){let a=JSON.stringify(i,null,2);o[gr.Accept]=this._getExistingOrDefaultHeader(o,gr.Accept,Ki.ApplicationJson),o[gr.ContentType]=this._getExistingOrDefaultContentTypeHeader(o,Ki.ApplicationJson);let c=yield this.patch(n,a,o);return this._processResponse(c,this.requestOptions)})}request(e,r,n,i){return Qt(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let o=new URL(r),a=this._prepareRequest(e,o,i),c=this._allowRetries&&Fie.includes(e)?this._maxRetries+1:1,l=0,A;do{if(A=yield this.requestRaw(a,n),A&&A.message&&A.message.statusCode===hn.Unauthorized){let d;for(let g of this.handlers)if(g.canHandleAuthentication(A)){d=g;break}return d?d.handleAuthentication(this,a,n):A}let u=this._maxRedirects;for(;A.message.statusCode&&kie.includes(A.message.statusCode)&&this._allowRedirects&&u>0;){let d=A.message.headers.location;if(!d)break;let g=new URL(d);if(o.protocol==="https:"&&o.protocol!==g.protocol&&!this._allowRedirectDowngrade)throw new Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.");if(yield A.readBody(),g.hostname!==o.hostname)for(let y in i)y.toLowerCase()==="authorization"&&delete i[y];a=this._prepareRequest(e,g,i),A=yield this.requestRaw(a,n),u--}if(!A.message.statusCode||!Lie.includes(A.message.statusCode))return A;l+=1,l{function o(a,c){a?i(a):c?n(c):i(new Error("Unknown error"))}s(o,"callbackForResult"),this.requestRawWithCallback(e,r,o)})})}requestRawWithCallback(e,r,n){typeof r=="string"&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(r,"utf8"));let i=!1;function o(l,A){i||(i=!0,n(l,A))}s(o,"handleResult");let a=e.httpModule.request(e.options,l=>{let A=new nm(l);o(void 0,A)}),c;a.on("socket",l=>{c=l}),a.setTimeout(this._socketTimeout||3*6e4,()=>{c&&c.end(),o(new Error(`Request timeout: ${e.options.path}`))}),a.on("error",function(l){o(l)}),r&&typeof r=="string"&&a.write(r,"utf8"),r&&typeof r!="string"?(r.on("close",function(){a.end()}),r.pipe(a)):a.end()}getAgent(e){let r=new URL(e);return this._getAgent(r)}getAgentDispatcher(e){let r=new URL(e),n=AI.getProxyUrl(r);if(n&&n.hostname)return this._getProxyAgentDispatcher(r,n)}_prepareRequest(e,r,n){let i={};i.parsedUrl=r;let o=i.parsedUrl.protocol==="https:";i.httpModule=o?lL:lI;let a=o?443:80;if(i.options={},i.options.host=i.parsedUrl.hostname,i.options.port=i.parsedUrl.port?parseInt(i.parsedUrl.port):a,i.options.path=(i.parsedUrl.pathname||"")+(i.parsedUrl.search||""),i.options.method=e,i.options.headers=this._mergeHeaders(n),this.userAgent!=null&&(i.options.headers["user-agent"]=this.userAgent),i.options.agent=this._getAgent(i.parsedUrl),this.handlers)for(let c of this.handlers)c.prepareRequest(i.options);return i}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},kA(this.requestOptions.headers),kA(e||{})):kA(e||{})}_getExistingOrDefaultHeader(e,r,n){let i;if(this.requestOptions&&this.requestOptions.headers){let a=kA(this.requestOptions.headers)[r];a&&(i=typeof a=="number"?a.toString():a)}let o=e[r];return o!==void 0?typeof o=="number"?o.toString():o:i!==void 0?i:n}_getExistingOrDefaultContentTypeHeader(e,r){let n;if(this.requestOptions&&this.requestOptions.headers){let o=kA(this.requestOptions.headers)[gr.ContentType];o&&(typeof o=="number"?n=String(o):Array.isArray(o)?n=o.join(", "):n=o)}let i=e[gr.ContentType];return i!==void 0?typeof i=="number"?String(i):Array.isArray(i)?i.join(", "):i:n!==void 0?n:r}_getAgent(e){let r,n=AI.getProxyUrl(e),i=n&&n.hostname;if(this._keepAlive&&i&&(r=this._proxyAgent),i||(r=this._agent),r)return r;let o=e.protocol==="https:",a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||lI.globalAgent.maxSockets),n&&n.hostname){let c={maxSockets:a,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(n.username||n.password)&&{proxyAuth:`${n.username}:${n.password}`}),{host:n.hostname,port:n.port})},l,A=n.protocol==="https:";o?l=A?tm.httpsOverHttps:tm.httpsOverHttp:l=A?tm.httpOverHttps:tm.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=o?new lL.Agent(c):new lI.Agent(c),this._agent=r}return o&&this._ignoreSslError&&(r.options=Object.assign(r.options||{},{rejectUnauthorized:!1})),r}_getProxyAgentDispatcher(e,r){let n;if(this._keepAlive&&(n=this._proxyAgentDispatcher),n)return n;let i=e.protocol==="https:";return n=new Oie.ProxyAgent(Object.assign({uri:r.href,pipelining:this._keepAlive?1:0},(r.username||r.password)&&{token:`Basic ${Buffer.from(`${r.username}:${r.password}`).toString("base64")}`})),this._proxyAgentDispatcher=n,i&&this._ignoreSslError&&(n.options=Object.assign(n.options.requestTls||{},{rejectUnauthorized:!1})),n}_getUserAgentWithOrchestrationId(e){let r=e||"actions/http-client",n=process.env.ACTIONS_ORCHESTRATION_ID;if(n){let i=n.replace(/[^a-z0-9_.-]/gi,"_");return`${r} actions_orchestration_id/${i}`}return r}_performExponentialBackoff(e){return Qt(this,void 0,void 0,function*(){e=Math.min(Uie,e);let r=qie*Math.pow(2,e);return new Promise(n=>setTimeout(()=>n(),r))})}_processResponse(e,r){return Qt(this,void 0,void 0,function*(){return new Promise((n,i)=>Qt(this,void 0,void 0,function*(){let o=e.message.statusCode||0,a={statusCode:o,result:null,headers:{}};o===hn.NotFound&&n(a);function c(u,d){if(typeof d=="string"){let g=new Date(d);if(!isNaN(g.valueOf()))return g}return d}s(c,"dateTimeDeserializer");let l,A;try{A=yield e.readBody(),A&&A.length>0&&(r&&r.deserializeDates?l=JSON.parse(A,c):l=JSON.parse(A),a.result=l),a.headers=e.message.headers}catch{}if(o>299){let u;l&&l.message?u=l.message:A&&A.length>0?u=A:u=`Failed request: (${o})`;let d=new rm(u,o);d.result=a.result,i(d)}else n(a)}))})}};nt.HttpClient=uI;var kA=s(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys")});var sm=f(pi=>{"use strict";var gI=pi&&pi.__awaiter||function(t,e,r,n){function i(o){return o instanceof r?o:new r(function(a){a(o)})}return s(i,"adopt"),new(r||(r=Promise))(function(o,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}s(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}s(l,"rejected");function A(u){u.done?o(u.value):i(u.value).then(c,l)}s(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(pi,"__esModule",{value:!0});pi.PersonalAccessTokenCredentialHandler=pi.BearerCredentialHandler=pi.BasicCredentialHandler=void 0;var dI=class{static{s(this,"BasicCredentialHandler")}constructor(e,r){this.username=e,this.password=r}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization=`Basic ${Buffer.from(`${this.username}:${this.password}`).toString("base64")}`}canHandleAuthentication(){return!1}handleAuthentication(){return gI(this,void 0,void 0,function*(){throw new Error("not implemented")})}};pi.BasicCredentialHandler=dI;var pI=class{static{s(this,"BearerCredentialHandler")}constructor(e){this.token=e}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization=`Bearer ${this.token}`}canHandleAuthentication(){return!1}handleAuthentication(){return gI(this,void 0,void 0,function*(){throw new Error("not implemented")})}};pi.BearerCredentialHandler=pI;var mI=class{static{s(this,"PersonalAccessTokenCredentialHandler")}constructor(e){this.token=e}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization=`Basic ${Buffer.from(`PAT:${this.token}`).toString("base64")}`}canHandleAuthentication(){return!1}handleAuthentication(){return gI(this,void 0,void 0,function*(){throw new Error("not implemented")})}};pi.PersonalAccessTokenCredentialHandler=mI});var dL=f(uc=>{"use strict";var AL=uc&&uc.__awaiter||function(t,e,r,n){function i(o){return o instanceof r?o:new r(function(a){a(o)})}return s(i,"adopt"),new(r||(r=Promise))(function(o,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}s(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}s(l,"rejected");function A(u){u.done?o(u.value):i(u.value).then(c,l)}s(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(uc,"__esModule",{value:!0});uc.OidcClient=void 0;var zie=Po(),Gie=sm(),uL=Ht(),hI=class t{static{s(this,"OidcClient")}static createHttpClient(e=!0,r=10){let n={allowRetries:e,maxRetries:r};return new zie.HttpClient("actions/oidc-client",[new Gie.BearerCredentialHandler(t.getRequestToken())],n)}static getRequestToken(){let e=process.env.ACTIONS_ID_TOKEN_REQUEST_TOKEN;if(!e)throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable");return e}static getIDTokenUrl(){let e=process.env.ACTIONS_ID_TOKEN_REQUEST_URL;if(!e)throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable");return e}static getCall(e){return AL(this,void 0,void 0,function*(){var r;let o=(r=(yield t.createHttpClient().getJson(e).catch(a=>{throw new Error(`Failed to get ID Token. Error Code : ${a.statusCode} - Error Message: ${a.message}`)})).result)===null||r===void 0?void 0:r.value;if(!s)throw new Error("Response json body do not have ID Token field");return s})}static getIDToken(e){return NL(this,void 0,void 0,function*(){try{let r=t.getIDTokenUrl();if(e){let i=encodeURIComponent(e);r=`${r}&audience=${i}`}(0,SL.debug)(`ID token url is ${r}`);let n=yield t.getCall(r);return(0,SL.setSecret)(n),n}catch(r){throw new Error(`Error message: ${r.message}`)}})}};rc.OidcClient=hI});var BI=h(br=>{"use strict";var yI=br&&br.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(br,"__esModule",{value:!0});br.summary=br.markdownSummary=br.SUMMARY_DOCS_URL=br.SUMMARY_ENV_VAR=void 0;var _oe=require("os"),CI=require("fs"),{access:Poe,appendFile:Doe,writeFile:Toe}=CI.promises;br.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";br.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";var EI=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return yI(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[br.SUMMARY_ENV_VAR];if(!e)throw new Error(`Unable to find environment variable for $${br.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);try{yield Poe(e,CI.constants.R_OK|CI.constants.W_OK)}catch{throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}return this._filePath=e,this._filePath})}wrap(e,r,n={}){let i=Object.entries(n).map(([s,a])=>` ${s}="${a}"`).join("");return r?`<${e}${i}>${r}`:`<${e}${i}>`}write(e){return yI(this,void 0,void 0,function*(){let r=!!e?.overwrite,n=yield this.filePath();return yield(r?Toe:Doe)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return yI(this,void 0,void 0,function*(){return this.emptyBuffer().write({overwrite:!0})})}stringify(){return this._buffer}isEmptyBuffer(){return this._buffer.length===0}emptyBuffer(){return this._buffer="",this}addRaw(e,r=!1){return this._buffer+=e,r?this.addEOL():this}addEOL(){return this.addRaw(_oe.EOL)}addCodeBlock(e,r){let n=Object.assign({},r&&{lang:r}),i=this.wrap("pre",this.wrap("code",e),n);return this.addRaw(i).addEOL()}addList(e,r=!1){let n=r?"ol":"ul",i=e.map(a=>this.wrap("li",a)).join(""),s=this.wrap(n,i);return this.addRaw(s).addEOL()}addTable(e){let r=e.map(i=>{let s=i.map(a=>{if(typeof a=="string")return this.wrap("td",a);let{header:c,data:l,colspan:A,rowspan:u}=a,d=c?"th":"td",g=Object.assign(Object.assign({},A&&{colspan:A}),u&&{rowspan:u});return this.wrap(d,l,g)}).join("");return this.wrap("tr",s)}).join(""),n=this.wrap("table",r);return this.addRaw(n).addEOL()}addDetails(e,r){let n=this.wrap("details",this.wrap("summary",e)+r);return this.addRaw(n).addEOL()}addImage(e,r,n){let{width:i,height:s}=n||{},a=Object.assign(Object.assign({},i&&{width:i}),s&&{height:s}),c=this.wrap("img",null,Object.assign({src:e,alt:r},a));return this.addRaw(c).addEOL()}addHeading(e,r){let n=`h${r}`,i=["h1","h2","h3","h4","h5","h6"].includes(n)?n:"h1",s=this.wrap(i,e);return this.addRaw(s).addEOL()}addSeparator(){let e=this.wrap("hr",null);return this.addRaw(e).addEOL()}addBreak(){let e=this.wrap("br",null);return this.addRaw(e).addEOL()}addQuote(e,r){let n=Object.assign({},r&&{cite:r}),i=this.wrap("blockquote",e,n);return this.addRaw(i).addEOL()}addLink(e,r){let n=this.wrap("a",e,{href:r});return this.addRaw(n).addEOL()}},vL=new EI;br.markdownSummary=vL;br.summary=vL});var RL=h(Hn=>{"use strict";var Ooe=Hn&&Hn.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),Moe=Hn&&Hn.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),koe=Hn&&Hn.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i{"use strict";var Hoe=X&&X.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),zoe=X&&X.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),PL=X&&X.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;is.toUpperCase()===i))return t}else if(_L(r))return t}let n=t;for(let i of e){t=n+i,r=void 0;try{r=yield(0,X.stat)(t)}catch(s){s.code!=="ENOENT"&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${s}`)}if(r&&r.isFile()){if(X.IS_WINDOWS){try{let s=tm.dirname(t),a=tm.basename(t).toUpperCase();for(let c of yield(0,X.readdir)(s))if(a===c.toUpperCase()){t=tm.join(s,c);break}}catch(s){console.log(`Unexpected error attempting to determine the actual case of the file '${t}': ${s}`)}return t}else if(_L(r))return t}}return""})}o(Voe,"tryGetExecutablePath");function Woe(t){return t=t||"",X.IS_WINDOWS?(t=t.replace(/\//g,"\\"),t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}o(Woe,"normalizeSeparators");function _L(t){return(t.mode&1)>0||(t.mode&8)>0&&process.getgid!==void 0&&t.gid===process.getgid()||(t.mode&64)>0&&process.getuid!==void 0&&t.uid===process.getuid()}o(_L,"isUnixExecutable");function Koe(){var t;return(t=process.env.COMSPEC)!==null&&t!==void 0?t:"cmd.exe"}o(Koe,"getCmdPath")});var nm=h(er=>{"use strict";var $oe=er&&er.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),Xoe=er&&er.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),DL=er&&er.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i|]/.test(t))throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows');try{yield Me.rm(t,{force:!0,maxRetries:3,recursive:!0,retryDelay:300})}catch(e){throw new Error(`File was unable to be removed ${e}`)}})}o(TL,"rmRF");function QI(t){return Ns(this,void 0,void 0,function*(){(0,Zoe.ok)(t,"a path argument must be provided"),yield Me.mkdir(t,{recursive:!0})})}o(QI,"mkdirP");function OL(t,e){return Ns(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");if(e){let n=yield OL(t,!1);if(!n)throw Me.IS_WINDOWS?new Error(`Unable to locate executable file: ${t}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.`):new Error(`Unable to locate executable file: ${t}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`);return n}let r=yield ML(t);return r&&r.length>0?r[0]:""})}o(OL,"which");function ML(t){return Ns(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");let e=[];if(Me.IS_WINDOWS&&process.env.PATHEXT)for(let i of process.env.PATHEXT.split(ui.delimiter))i&&e.push(i);if(Me.isRooted(t)){let i=yield Me.tryGetExecutablePath(t,e);return i?[i]:[]}if(t.includes(ui.sep))return[];let r=[];if(process.env.PATH)for(let i of process.env.PATH.split(ui.delimiter))i&&r.push(i);let n=[];for(let i of r){let s=yield Me.tryGetExecutablePath(ui.join(i,t),e);s&&n.push(s)}return n})}o(ML,"findInPath");function rae(t){let e=t.force==null?!0:t.force,r=!!t.recursive,n=t.copySourceDirectory==null?!0:!!t.copySourceDirectory;return{force:e,recursive:r,copySourceDirectory:n}}o(rae,"readCopyOptions");function kL(t,e,r,n){return Ns(this,void 0,void 0,function*(){if(r>=255)return;r++,yield QI(e);let i=yield Me.readdir(t);for(let s of i){let a=`${t}/${s}`,c=`${e}/${s}`;(yield Me.lstat(a)).isDirectory()?yield kL(a,c,r,n):yield LL(a,c,n)}yield Me.chmod(e,(yield Me.stat(t)).mode)})}o(kL,"cpDirRecursive");function LL(t,e,r){return Ns(this,void 0,void 0,function*(){if((yield Me.lstat(t)).isSymbolicLink()){try{yield Me.lstat(e),yield Me.unlink(e)}catch(i){i.code==="EPERM"&&(yield Me.chmod(e,"0666"),yield Me.unlink(e))}let n=yield Me.readlink(t);yield Me.symlink(n,e,Me.IS_WINDOWS?"junction":null)}else(!(yield Me.exists(e))||r)&&(yield Me.copyFile(t,e))})}o(LL,"copyFile")});var HL=h(zr=>{"use strict";var nae=zr&&zr.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),iae=zr&&zr.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),nc=zr&&zr.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i-1;){let a=i.substring(0,s);n(a),i=i.substring(s+im.EOL.length),s=i.indexOf(im.EOL)}return i}catch(i){return this._debug(`error processing line. Failed with error ${i}`),""}}_getSpawnFileName(){return sm&&this._isCmdFile()?process.env.COMSPEC||"cmd.exe":this.toolPath}_getSpawnArgs(e){if(sm&&this._isCmdFile()){let r=`/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`;for(let n of this.args)r+=" ",r+=e.windowsVerbatimArguments?n:this._windowsQuoteCmdArg(n);return r+='"',[r]}return this.args}_endsWith(e,r){return e.endsWith(r)}_isCmdFile(){let e=this.toolPath.toUpperCase();return this._endsWith(e,".CMD")||this._endsWith(e,".BAT")}_windowsQuoteCmdArg(e){if(!this._isCmdFile())return this._uvQuoteCmdArg(e);if(!e)return'""';let r=[" "," ","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'],n=!1;for(let a of e)if(r.some(c=>c===a)){n=!0;break}if(!n)return e;let i='"',s=!0;for(let a=e.length;a>0;a--)i+=e[a-1],s&&e[a-1]==="\\"?i+="\\":e[a-1]==='"'?(s=!0,i+='"'):s=!1;return i+='"',i.split("").reverse().join("")}_uvQuoteCmdArg(e){if(!e)return'""';if(!e.includes(" ")&&!e.includes(" ")&&!e.includes('"'))return e;if(!e.includes('"')&&!e.includes("\\"))return`"${e}"`;let r='"',n=!0;for(let i=e.length;i>0;i--)r+=e[i-1],n&&e[i-1]==="\\"?r+="\\":e[i-1]==='"'?(n=!0,r+="\\"):n=!1;return r+='"',r.split("").reverse().join("")}_cloneExecOptions(e){e=e||{};let r={cwd:e.cwd||process.cwd(),env:e.env||process.env,silent:e.silent||!1,windowsVerbatimArguments:e.windowsVerbatimArguments||!1,failOnStdErr:e.failOnStdErr||!1,ignoreReturnCode:e.ignoreReturnCode||!1,delay:e.delay||1e4};return r.outStream=e.outStream||process.stdout,r.errStream=e.errStream||process.stderr,r}_getSpawnOptions(e,r){e=e||{};let n={};return n.cwd=e.cwd,n.env=e.env,n.windowsVerbatimArguments=e.windowsVerbatimArguments||this._isCmdFile(),e.windowsVerbatimArguments&&(n.argv0=`"${r}"`),n}exec(){return FL(this,void 0,void 0,function*(){return!UL.isRooted(this.toolPath)&&(this.toolPath.includes("/")||sm&&this.toolPath.includes("\\"))&&(this.toolPath=oae.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)),this.toolPath=yield aae.which(this.toolPath,!0),new Promise((e,r)=>FL(this,void 0,void 0,function*(){this._debug(`exec tool: ${this.toolPath}`),this._debug("arguments:");for(let A of this.args)this._debug(` ${A}`);let n=this._cloneExecOptions(this.options);!n.silent&&n.outStream&&n.outStream.write(this._getCommandString(n)+im.EOL);let i=new NI(n,this.toolPath);if(i.on("debug",A=>{this._debug(A)}),this.options.cwd&&!(yield UL.exists(this.options.cwd)))return r(new Error(`The cwd: ${this.options.cwd} does not exist!`));let s=this._getSpawnFileName(),a=sae.spawn(s,this._getSpawnArgs(n),this._getSpawnOptions(this.options,s)),c="";a.stdout&&a.stdout.on("data",A=>{this.options.listeners&&this.options.listeners.stdout&&this.options.listeners.stdout(A),!n.silent&&n.outStream&&n.outStream.write(A),c=this._processLineBuffer(A,c,u=>{this.options.listeners&&this.options.listeners.stdline&&this.options.listeners.stdline(u)})});let l="";if(a.stderr&&a.stderr.on("data",A=>{i.processStderr=!0,this.options.listeners&&this.options.listeners.stderr&&this.options.listeners.stderr(A),!n.silent&&n.errStream&&n.outStream&&(n.failOnStdErr?n.errStream:n.outStream).write(A),l=this._processLineBuffer(A,l,u=>{this.options.listeners&&this.options.listeners.errline&&this.options.listeners.errline(u)})}),a.on("error",A=>{i.processError=A.message,i.processExited=!0,i.processClosed=!0,i.CheckComplete()}),a.on("exit",A=>{i.processExitCode=A,i.processExited=!0,this._debug(`Exit code ${A} received from tool '${this.toolPath}'`),i.CheckComplete()}),a.on("close",A=>{i.processExitCode=A,i.processExited=!0,i.processClosed=!0,this._debug(`STDIO streams have closed for tool '${this.toolPath}'`),i.CheckComplete()}),i.on("done",(A,u)=>{c.length>0&&this.emit("stdline",c),l.length>0&&this.emit("errline",l),a.removeAllListeners(),A?r(A):e(u)}),this.options.input){if(!a.stdin)throw new Error("child process missing stdin");a.stdin.end(this.options.input)}}))})}};zr.ToolRunner=wI;function lae(t){let e=[],r=!1,n=!1,i="";function s(a){n&&a!=='"'&&(i+="\\"),i+=a,n=!1}o(s,"append");for(let a=0;a0&&(e.push(i),i="");continue}s(c)}return i.length>0&&e.push(i.trim()),e}o(lae,"argStringToArray");var NI=class t extends qL.EventEmitter{static{o(this,"ExecState")}constructor(e,r){if(super(),this.processClosed=!1,this.processError="",this.processExitCode=0,this.processExited=!1,this.processStderr=!1,this.delay=1e4,this.done=!1,this.timeout=null,!r)throw new Error("toolPath must not be empty");this.options=e,this.toolPath=r,e.delay&&(this.delay=e.delay)}CheckComplete(){this.done||(this.processClosed?this._setResult():this.processExited&&(this.timeout=(0,cae.setTimeout)(t.HandleTimeout,this.delay,this)))}_debug(e){this.emit("debug",e)}_setResult(){let e;this.processExited&&(this.processError?e=new Error(`There was an error when attempting to execute the process '${this.toolPath}'. This may indicate the process failed to start. Error: ${this.processError}`):this.processExitCode!==0&&!this.options.ignoreReturnCode?e=new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`):this.processStderr&&this.options.failOnStdErr&&(e=new Error(`The process '${this.toolPath}' failed because one or more lines were written to the STDERR stream`))),this.timeout&&(clearTimeout(this.timeout),this.timeout=null),this.done=!0,this.emit("done",e,this.processExitCode)}static HandleTimeout(e){if(!e.done){if(!e.processClosed&&e.processExited){let r=`The STDIO streams did not close within ${e.delay/1e3} seconds of the exit event from process '${e.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`;e._debug(r)}e._setResult()}}}});var om=h(mn=>{"use strict";var Aae=mn&&mn.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),uae=mn&&mn.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),dae=mn&&mn.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i{a+=l.write(Q),u&&u(Q)},"stdErrListener"),g=o(Q=>{s+=c.write(Q),A&&A(Q)},"stdOutListener"),f=Object.assign(Object.assign({},r?.listeners),{stdout:g,stderr:d}),C=yield YL(t,e,Object.assign(Object.assign({},r),{listeners:f}));return s+=c.end(),a+=l.end(),{exitCode:C,stdout:s,stderr:a}})}o(pae,"getExecOutput")});var VL=h(ve=>{"use strict";var mae=ve&&ve.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),gae=ve&&ve.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),fae=ve&&ve.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;icm(void 0,void 0,void 0,function*(){let{stdout:t}=yield am.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Version"',void 0,{silent:!0}),{stdout:e}=yield am.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Caption"',void 0,{silent:!0});return{name:e.trim(),version:t.trim()}}),"getWindowsInfo"),Cae=o(()=>cm(void 0,void 0,void 0,function*(){var t,e,r,n;let{stdout:i}=yield am.getExecOutput("sw_vers",void 0,{silent:!0}),s=(e=(t=i.match(/ProductVersion:\s*(.+)/))===null||t===void 0?void 0:t[1])!==null&&e!==void 0?e:"";return{name:(n=(r=i.match(/ProductName:\s*(.+)/))===null||r===void 0?void 0:r[1])!==null&&n!==void 0?n:"",version:s}}),"getMacOsInfo"),Eae=o(()=>cm(void 0,void 0,void 0,function*(){let{stdout:t}=yield am.getExecOutput("lsb_release",["-i","-r","-s"],{silent:!0}),[e,r]=t.trim().split(` -`);return{name:e,version:r}}),"getLinuxInfo");ve.platform=JL.default.platform();ve.arch=JL.default.arch();ve.isWindows=ve.platform==="win32";ve.isMacOS=ve.platform==="darwin";ve.isLinux=ve.platform==="linux";function Bae(){return cm(this,void 0,void 0,function*(){return Object.assign(Object.assign({},yield ve.isWindows?yae():ve.isMacOS?Cae():Eae()),{platform:ve.platform,arch:ve.arch,isWindows:ve.isWindows,isMacOS:ve.isMacOS,isLinux:ve.isLinux})})}o(Bae,"getDetails")});var Zt=h(me=>{"use strict";var Iae=me&&me.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),bae=me&&me.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),xI=me&&me.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;in!=="");return e&&e.trimWhitespace===!1?r:r.map(n=>n.trim())}o(vae,"getMultilineInput");function Rae(t,e){let r=["true","True","TRUE"],n=["false","False","FALSE"],i=vI(t,e);if(r.includes(i))return!0;if(n.includes(i))return!1;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${t} -Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}o(Rae,"getBooleanInput");function _ae(t,e){if(process.env.GITHUB_OUTPUT||"")return(0,No.issueFileCommand)("OUTPUT",(0,No.prepareKeyValueMessage)(t,e));process.stdout.write(KL.EOL),(0,gn.issueCommand)("set-output",{name:t},(0,ic.toCommandValue)(e))}o(_ae,"setOutput");function Pae(t){(0,gn.issue)("echo",t?"on":"off")}o(Pae,"setCommandEcho");function Dae(t){process.exitCode=SI.Failure,$L(t)}o(Dae,"setFailed");function Tae(){return process.env.RUNNER_DEBUG==="1"}o(Tae,"isDebug");function Oae(t){(0,gn.issueCommand)("debug",{},t)}o(Oae,"debug");function $L(t,e={}){(0,gn.issueCommand)("error",(0,ic.toCommandProperties)(e),t instanceof Error?t.toString():t)}o($L,"error");function Mae(t,e={}){(0,gn.issueCommand)("warning",(0,ic.toCommandProperties)(e),t instanceof Error?t.toString():t)}o(Mae,"warning");function kae(t,e={}){(0,gn.issueCommand)("notice",(0,ic.toCommandProperties)(e),t instanceof Error?t.toString():t)}o(kae,"notice");function Lae(t){process.stdout.write(t+KL.EOL)}o(Lae,"info");function XL(t){(0,gn.issue)("group",t)}o(XL,"startGroup");function ZL(){(0,gn.issue)("endgroup")}o(ZL,"endGroup");function Fae(t,e){return WL(this,void 0,void 0,function*(){XL(t);let r;try{r=yield e()}finally{ZL()}return r})}o(Fae,"group");function Uae(t,e){if(process.env.GITHUB_STATE||"")return(0,No.issueFileCommand)("STATE",(0,No.prepareKeyValueMessage)(t,e));(0,gn.issueCommand)("save-state",{name:t},(0,ic.toCommandValue)(e))}o(Uae,"saveState");function qae(t){return process.env[`STATE_${t}`]||""}o(qae,"getState");function Hae(t){return WL(this,void 0,void 0,function*(){return yield wae.OidcClient.getIDToken(t)})}o(Hae,"getIDToken");var zae=BI();Object.defineProperty(me,"summary",{enumerable:!0,get:function(){return zae.summary}});var jae=BI();Object.defineProperty(me,"markdownSummary",{enumerable:!0,get:function(){return jae.markdownSummary}});var RI=RL();Object.defineProperty(me,"toPosixPath",{enumerable:!0,get:function(){return RI.toPosixPath}});Object.defineProperty(me,"toWin32Path",{enumerable:!0,get:function(){return RI.toWin32Path}});Object.defineProperty(me,"toPlatformPath",{enumerable:!0,get:function(){return RI.toPlatformPath}});me.platform=xI(VL())});var eF=h(Wi=>{"use strict";var Gae=Wi&&Wi.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),Yae=Wi&&Wi.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),Jae=Wi&&Wi.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i{"use strict";var Wae=tr&&tr.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),Kae=tr&&tr.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),$ae=tr&&tr.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i{"use strict";Object.defineProperty(um,"__esModule",{value:!0});um.MatchKind=void 0;var tF;(function(t){t[t.None=0]="None",t[t.Directory=1]="Directory",t[t.File=2]="File",t[t.All=3]="All"})(tF||(um.MatchKind=tF={}))});var iF=h(zn=>{"use strict";var rce=zn&&zn.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),nce=zn&&zn.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),ice=zn&&zn.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i!n.negate);let e={};for(let n of t){let i=nF?n.searchPath.toUpperCase():n.searchPath;e[i]="candidate"}let r=[];for(let n of t){let i=nF?n.searchPath.toUpperCase():n.searchPath;if(e[i]==="included")continue;let s=!1,a=i,c=rF.dirname(a);for(;c!==a;){if(e[c]){s=!0;break}a=c,c=rF.dirname(a)}s||(r.push(n.searchPath),e[i]="included")}return r}o(oce,"getSearchPaths");function ace(t,e){let r=sce.MatchKind.None;for(let n of t)n.negate?r&=~n.match(e):r|=n.match(e);return r}o(ace,"match");function cce(t,e){return t.some(r=>!r.negate&&r.partialMatch(e))}o(cce,"partialMatch")});var oF=h((a2e,sF)=>{sF.exports=function(t,e){for(var r=[],n=0;n{"use strict";AF.exports=cF;function cF(t,e,r){t instanceof RegExp&&(t=aF(t,r)),e instanceof RegExp&&(e=aF(e,r));var n=lF(t,e,r);return n&&{start:n[0],end:n[1],pre:r.slice(0,n[0]),body:r.slice(n[0]+t.length,n[1]),post:r.slice(n[1]+e.length)}}o(cF,"balanced");function aF(t,e){var r=e.match(t);return r?r[0]:null}o(aF,"maybeMatch");cF.range=lF;function lF(t,e,r){var n,i,s,a,c,l=r.indexOf(t),A=r.indexOf(e,l+1),u=l;if(l>=0&&A>0){if(t===e)return[l,A];for(n=[],s=r.length;u>=0&&!c;)u==l?(n.push(u),l=r.indexOf(t,u+1)):n.length==1?c=[n.pop(),A]:(i=n.pop(),i=0?l:A;n.length&&(c=[s,a])}return c}o(lF,"range")});var CF=h((A2e,yF)=>{var Ace=oF(),dF=uF();yF.exports=pce;var pF="\0SLASH"+Math.random()+"\0",mF="\0OPEN"+Math.random()+"\0",TI="\0CLOSE"+Math.random()+"\0",gF="\0COMMA"+Math.random()+"\0",fF="\0PERIOD"+Math.random()+"\0";function DI(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}o(DI,"numeric");function uce(t){return t.split("\\\\").join(pF).split("\\{").join(mF).split("\\}").join(TI).split("\\,").join(gF).split("\\.").join(fF)}o(uce,"escapeBraces");function dce(t){return t.split(pF).join("\\").split(mF).join("{").split(TI).join("}").split(gF).join(",").split(fF).join(".")}o(dce,"unescapeBraces");function hF(t){if(!t)return[""];var e=[],r=dF("{","}",t);if(!r)return t.split(",");var n=r.pre,i=r.body,s=r.post,a=n.split(",");a[a.length-1]+="{"+i+"}";var c=hF(s);return s.length&&(a[a.length-1]+=c.shift(),a.push.apply(a,c)),e.push.apply(e,a),e}o(hF,"parseCommaParts");function pce(t){return t?(t.substr(0,2)==="{}"&&(t="\\{\\}"+t.substr(2)),sc(uce(t),!0).map(dce)):[]}o(pce,"expandTop");function mce(t){return"{"+t+"}"}o(mce,"embrace");function gce(t){return/^-?0\d/.test(t)}o(gce,"isPadded");function fce(t,e){return t<=e}o(fce,"lte");function hce(t,e){return t>=e}o(hce,"gte");function sc(t,e){var r=[],n=dF("{","}",t);if(!n||/\$$/.test(n.pre))return[t];var i=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(n.body),s=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(n.body),a=i||s,c=n.body.indexOf(",")>=0;if(!a&&!c)return n.post.match(/,.*\}/)?(t=n.pre+"{"+n.body+TI+n.post,sc(t)):[t];var l;if(a)l=n.body.split(/\.\./);else if(l=hF(n.body),l.length===1&&(l=sc(l[0],!1).map(mce),l.length===1)){var u=n.post.length?sc(n.post,!1):[""];return u.map(function($e){return n.pre+l[0]+$e})}var A=n.pre,u=n.post.length?sc(n.post,!1):[""],d;if(a){var g=DI(l[0]),f=DI(l[1]),C=Math.max(l[0].length,l[1].length),Q=l.length==3?Math.abs(DI(l[2])):1,x=fce,w=f0){var de=new Array(W+1).join("0");T<0?L="-"+de+L.slice(1):L=de+L}}d.push(L)}}else d=Ace(l,function(qe){return sc(qe,!1)});for(var le=0;le{QF.exports=jr;jr.Minimatch=Jt;var DA=function(){try{return require("path")}catch{}}()||{sep:"/"};jr.sep=DA.sep;var kI=jr.GLOBSTAR=Jt.GLOBSTAR={},yce=CF(),EF={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},OI="[^/]",MI=OI+"*?",Cce="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",Ece="(?:(?!(?:\\/|^)\\.).)*?",BF=Bce("().*{}+?[]^$\\!");function Bce(t){return t.split("").reduce(function(e,r){return e[r]=!0,e},{})}o(Bce,"charSet");var IF=/\/+/;jr.filter=Ice;function Ice(t,e){return e=e||{},function(r,n,i){return jr(r,t,e)}}o(Ice,"filter");function xs(t,e){e=e||{};var r={};return Object.keys(t).forEach(function(n){r[n]=t[n]}),Object.keys(e).forEach(function(n){r[n]=e[n]}),r}o(xs,"ext");jr.defaults=function(t){if(!t||typeof t!="object"||!Object.keys(t).length)return jr;var e=jr,r=o(function(i,s,a){return e(i,s,xs(t,a))},"minimatch");return r.Minimatch=o(function(i,s){return new e.Minimatch(i,xs(t,s))},"Minimatch"),r.Minimatch.defaults=o(function(i){return e.defaults(xs(t,i)).Minimatch},"defaults"),r.filter=o(function(i,s){return e.filter(i,xs(t,s))},"filter"),r.defaults=o(function(i){return e.defaults(xs(t,i))},"defaults"),r.makeRe=o(function(i,s){return e.makeRe(i,xs(t,s))},"makeRe"),r.braceExpand=o(function(i,s){return e.braceExpand(i,xs(t,s))},"braceExpand"),r.match=function(n,i,s){return e.match(n,i,xs(t,s))},r};Jt.defaults=function(t){return jr.defaults(t).Minimatch};function jr(t,e,r){return mm(e),r||(r={}),!r.nocomment&&e.charAt(0)==="#"?!1:new Jt(e,r).match(t)}o(jr,"minimatch");function Jt(t,e){if(!(this instanceof Jt))return new Jt(t,e);mm(t),e||(e={}),t=t.trim(),DA.sep!=="/"&&(t=t.split(DA.sep).join("/")),this.options=e,this.set=[],this.pattern=t,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!e.partial,this.make()}o(Jt,"Minimatch");Jt.prototype.debug=function(){};Jt.prototype.make=bce;function bce(){var t=this.pattern,e=this.options;if(!e.nocomment&&t.charAt(0)==="#"){this.comment=!0;return}if(!t){this.empty=!0;return}this.parseNegate();var r=this.globSet=this.braceExpand();e.debug&&(this.debug=o(function(){console.error.apply(console,arguments)},"debug")),this.debug(this.pattern,r),r=this.globParts=r.map(function(n){return n.split(IF)}),this.debug(this.pattern,r),r=r.map(function(n,i,s){return n.map(this.parse,this)},this),this.debug(this.pattern,r),r=r.filter(function(n){return n.indexOf(!1)===-1}),this.debug(this.pattern,r),this.set=r}o(bce,"make");Jt.prototype.parseNegate=Qce;function Qce(){var t=this.pattern,e=!1,r=this.options,n=0;if(!r.nonegate){for(var i=0,s=t.length;i"u"?this.pattern:t,mm(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:yce(t)}o(bF,"braceExpand");var wce=1024*64,mm=o(function(t){if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>wce)throw new TypeError("pattern is too long")},"assertValidPattern");Jt.prototype.parse=Nce;var pm={};function Nce(t,e){mm(t);var r=this.options;if(t==="**")if(r.noglobstar)t="*";else return kI;if(t==="")return"";var n="",i=!!r.nocase,s=!1,a=[],c=[],l,A=!1,u=-1,d=-1,g=t.charAt(0)==="."?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",f=this;function C(){if(l){switch(l){case"*":n+=MI,i=!0;break;case"?":n+=OI,i=!0;break;default:n+="\\"+l;break}f.debug("clearStateChar %j %j",l,n),l=!1}}o(C,"clearStateChar");for(var Q=0,x=t.length,w;Q-1;De--){var Te=c[De],qe=n.slice(0,Te.reStart),$e=n.slice(Te.reStart,Te.reEnd-8),ge=n.slice(Te.reEnd-8,Te.reEnd),je=n.slice(Te.reEnd);ge+=je;var Wn=qe.split("(").length-1,_i=je;for(Q=0;Q"u"&&(r=this.partial),this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return e==="";if(e==="/"&&r)return!0;var n=this.options;DA.sep!=="/"&&(e=e.split(DA.sep).join("/")),e=e.split(IF),this.debug(this.pattern,"split",e);var i=this.set;this.debug(this.pattern,"set",i);var s,a;for(a=e.length-1;a>=0&&(s=e[a],!s);a--);for(a=0;a>> no match, partial?`,t,u,e,d),u===a))}var f;if(typeof l=="string"?(f=A===l,this.debug("string match",l,A,f)):(f=A.match(l),this.debug("pattern match",l,A,f)),!f)return!1}if(i===a&&s===c)return!0;if(i===a)return r;if(s===c)return i===a-1&&t[i]==="";throw new Error("wtf?")};function xce(t){return t.replace(/\\(.)/g,"$1")}o(xce,"globUnescape");function vce(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}o(vce,"regExpEscape")});var SF=h(fn=>{"use strict";var Rce=fn&&fn.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),_ce=fn&&fn.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),NF=fn&&fn.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i0,"Parameter 'itemPath' must not be an empty array");for(let r=0;r{"use strict";var Tce=hn&&hn.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),Oce=hn&&hn.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),qI=hn&&hn.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;it.getLiteral(A)).filter(A=>!a&&!(a=A===""));this.searchPath=new gm.Path(c).toString(),this.rootRegExp=new RegExp(t.regExpEscape(c[0]),Ki?"i":""),this.isImplicitPattern=r;let l={dot:!0,nobrace:!0,nocase:Ki,nocomment:!0,noext:!0,nonegate:!0};s=Ki?s.replace(/\\/g,"/"):s,this.minimatch=new Lce.Minimatch(s,l)}match(e){return this.segments[this.segments.length-1]==="**"?(e=Qr.normalizeSeparators(e),!e.endsWith(MA.sep)&&this.isImplicitPattern===!1&&(e=`${e}${MA.sep}`)):e=Qr.safeTrimTrailingSeparator(e),this.minimatch.match(e)?this.trailingSeparator?FI.MatchKind.Directory:FI.MatchKind.All:FI.MatchKind.None}partialMatch(e){return e=Qr.safeTrimTrailingSeparator(e),Qr.dirname(e)===e?this.rootRegExp.test(e):this.minimatch.matchOne(e.split(Ki?/\\+/:/\/+/),this.minimatch.set[0],!0)}static globEscape(e){return(Ki?e:e.replace(/\\/g,"\\\\")).replace(/(\[)(?=[^/]+\])/g,"[[]").replace(/\?/g,"[?]").replace(/\*/g,"[*]")}static fixupPattern(e,r){(0,xo.default)(e,"pattern cannot be empty");let n=new gm.Path(e).segments.map(i=>t.getLiteral(i));if((0,xo.default)(n.every((i,s)=>(i!=="."||s===0)&&i!==".."),`Invalid pattern '${e}'. Relative pathing '.' and '..' is not allowed.`),(0,xo.default)(!Qr.hasRoot(e)||n[0],`Invalid pattern '${e}'. Root segment must not contain globs.`),e=Qr.normalizeSeparators(e),e==="."||e.startsWith(`.${MA.sep}`))e=t.globEscape(process.cwd())+e.substr(1);else if(e==="~"||e.startsWith(`~${MA.sep}`))r=r||kce.homedir(),(0,xo.default)(r,"Unable to determine HOME directory"),(0,xo.default)(Qr.hasAbsoluteRoot(r),`Expected HOME directory to be a rooted path. Actual '${r}'`),e=t.globEscape(r)+e.substr(1);else if(Ki&&(e.match(/^[A-Z]:$/i)||e.match(/^[A-Z]:[^\\]/i))){let i=Qr.ensureAbsoluteRoot("C:\\dummy-root",e.substr(0,2));e.length>2&&!i.endsWith("\\")&&(i+="\\"),e=t.globEscape(i)+e.substr(2)}else if(Ki&&(e==="\\"||e.match(/^\\[^\\]/))){let i=Qr.ensureAbsoluteRoot("C:\\dummy-root","\\");i.endsWith("\\")||(i+="\\"),e=t.globEscape(i)+e.substr(1)}else e=Qr.ensureAbsoluteRoot(t.globEscape(process.cwd()),e);return Qr.normalizeSeparators(e)}static getLiteral(e){let r="";for(let n=0;n=0){if(s.length>1)return"";if(s){r+=s,n=a;continue}}}}r+=i}return r}static regExpEscape(e){return e.replace(/[[\\^$.|?*+()]/g,"\\$&")}};hn.Pattern=UI});var vF=h(fm=>{"use strict";Object.defineProperty(fm,"__esModule",{value:!0});fm.SearchState=void 0;var HI=class{static{o(this,"SearchState")}constructor(e,r){this.path=e,this.level=r}};fm.SearchState=HI});var OF=h(Ft=>{"use strict";var Fce=Ft&&Ft.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),Uce=Ft&&Ft.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),LA=Ft&&Ft.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i1||l(f,Q)})},C&&(i[f]=C(i[f])))}function l(f,C){try{A(n[f](C))}catch(Q){g(s[0][3],Q)}}function A(f){f.value instanceof Rs?Promise.resolve(f.value.v).then(u,d):g(s[0][2],f)}function u(f){l("next",f)}function d(f){l("throw",f)}function g(f,C){f(C),s.shift(),s.length&&l(s[0][0],s[0][1])}};Object.defineProperty(Ft,"__esModule",{value:!0});Ft.DefaultGlobber=void 0;var jI=LA(Zt()),kA=LA(require("fs")),RF=LA(eF()),_F=LA(require("path")),hm=LA(iF()),PF=dm(),DF=xF(),TF=vF(),zce=process.platform==="win32",GI=class t{static{o(this,"DefaultGlobber")}constructor(e){this.patterns=[],this.searchPaths=[],this.options=RF.getOptions(e)}getSearchPaths(){return this.searchPaths.slice()}glob(){return zI(this,void 0,void 0,function*(){var e,r,n,i;let s=[];try{for(var a=!0,c=qce(this.globGenerator()),l;l=yield c.next(),e=l.done,!e;a=!0){i=l.value,a=!1;let A=i;s.push(A)}}catch(A){r={error:A}}finally{try{!a&&!e&&(n=c.return)&&(yield n.call(c))}finally{if(r)throw r.error}}return s})}globGenerator(){return Hce(this,arguments,o(function*(){let r=RF.getOptions(this.options),n=[];for(let a of this.patterns)n.push(a),r.implicitDescendants&&(a.trailingSeparator||a.segments[a.segments.length-1]!=="**")&&n.push(new DF.Pattern(a.negate,!0,a.segments.concat("**")));let i=[];for(let a of hm.getSearchPaths(n)){jI.debug(`Search path '${a}'`);try{yield Rs(kA.promises.lstat(a))}catch(c){if(c.code==="ENOENT")continue;throw c}i.unshift(new TF.SearchState(a,1))}let s=[];for(;i.length;){let a=i.pop(),c=hm.match(n,a.path),l=!!c||hm.partialMatch(n,a.path);if(!c&&!l)continue;let A=yield Rs(t.stat(a,r,s));if(A&&!(r.excludeHiddenFiles&&_F.basename(a.path).match(/^\./)))if(A.isDirectory()){if(c&PF.MatchKind.Directory&&r.matchDirectories)yield yield Rs(a.path);else if(!l)continue;let u=a.level+1,d=(yield Rs(kA.promises.readdir(a.path))).map(g=>new TF.SearchState(_F.join(a.path,g),u));i.push(...d.reverse())}else c&PF.MatchKind.File&&(yield yield Rs(a.path))}},"globGenerator_1"))}static create(e,r){return zI(this,void 0,void 0,function*(){let n=new t(r);zce&&(e=e.replace(/\r\n/g,` + Error Message: ${a.message}`)})).result)===null||r===void 0?void 0:r.value;if(!o)throw new Error("Response json body do not have ID Token field");return o})}static getIDToken(e){return AL(this,void 0,void 0,function*(){try{let r=t.getIDTokenUrl();if(e){let i=encodeURIComponent(e);r=`${r}&audience=${i}`}(0,uL.debug)(`ID token url is ${r}`);let n=yield t.getCall(r);return(0,uL.setSecret)(n),n}catch(r){throw new Error(`Error message: ${r.message}`)}})}};uc.OidcClient=hI});var EI=f(xr=>{"use strict";var fI=xr&&xr.__awaiter||function(t,e,r,n){function i(o){return o instanceof r?o:new r(function(a){a(o)})}return s(i,"adopt"),new(r||(r=Promise))(function(o,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}s(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}s(l,"rejected");function A(u){u.done?o(u.value):i(u.value).then(c,l)}s(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(xr,"__esModule",{value:!0});xr.summary=xr.markdownSummary=xr.SUMMARY_DOCS_URL=xr.SUMMARY_ENV_VAR=void 0;var jie=require("os"),yI=require("fs"),{access:Yie,appendFile:Jie,writeFile:Vie}=yI.promises;xr.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";xr.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";var CI=class{static{s(this,"Summary")}constructor(){this._buffer=""}filePath(){return fI(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[xr.SUMMARY_ENV_VAR];if(!e)throw new Error(`Unable to find environment variable for $${xr.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);try{yield Yie(e,yI.constants.R_OK|yI.constants.W_OK)}catch{throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}return this._filePath=e,this._filePath})}wrap(e,r,n={}){let i=Object.entries(n).map(([o,a])=>` ${o}="${a}"`).join("");return r?`<${e}${i}>${r}`:`<${e}${i}>`}write(e){return fI(this,void 0,void 0,function*(){let r=!!e?.overwrite,n=yield this.filePath();return yield(r?Vie:Jie)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return fI(this,void 0,void 0,function*(){return this.emptyBuffer().write({overwrite:!0})})}stringify(){return this._buffer}isEmptyBuffer(){return this._buffer.length===0}emptyBuffer(){return this._buffer="",this}addRaw(e,r=!1){return this._buffer+=e,r?this.addEOL():this}addEOL(){return this.addRaw(jie.EOL)}addCodeBlock(e,r){let n=Object.assign({},r&&{lang:r}),i=this.wrap("pre",this.wrap("code",e),n);return this.addRaw(i).addEOL()}addList(e,r=!1){let n=r?"ol":"ul",i=e.map(a=>this.wrap("li",a)).join(""),o=this.wrap(n,i);return this.addRaw(o).addEOL()}addTable(e){let r=e.map(i=>{let o=i.map(a=>{if(typeof a=="string")return this.wrap("td",a);let{header:c,data:l,colspan:A,rowspan:u}=a,d=c?"th":"td",g=Object.assign(Object.assign({},A&&{colspan:A}),u&&{rowspan:u});return this.wrap(d,l,g)}).join("");return this.wrap("tr",o)}).join(""),n=this.wrap("table",r);return this.addRaw(n).addEOL()}addDetails(e,r){let n=this.wrap("details",this.wrap("summary",e)+r);return this.addRaw(n).addEOL()}addImage(e,r,n){let{width:i,height:o}=n||{},a=Object.assign(Object.assign({},i&&{width:i}),o&&{height:o}),c=this.wrap("img",null,Object.assign({src:e,alt:r},a));return this.addRaw(c).addEOL()}addHeading(e,r){let n=`h${r}`,i=["h1","h2","h3","h4","h5","h6"].includes(n)?n:"h1",o=this.wrap(i,e);return this.addRaw(o).addEOL()}addSeparator(){let e=this.wrap("hr",null);return this.addRaw(e).addEOL()}addBreak(){let e=this.wrap("br",null);return this.addRaw(e).addEOL()}addQuote(e,r){let n=Object.assign({},r&&{cite:r}),i=this.wrap("blockquote",e,n);return this.addRaw(i).addEOL()}addLink(e,r){let n=this.wrap("a",e,{href:r});return this.addRaw(n).addEOL()}},pL=new CI;xr.markdownSummary=pL;xr.summary=pL});var mL=f(Yn=>{"use strict";var Wie=Yn&&Yn.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:s(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Kie=Yn&&Yn.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),$ie=Yn&&Yn.__importStar||(function(){var t=s(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i{"use strict";var rse=Z&&Z.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:s(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),nse=Z&&Z.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),hL=Z&&Z.__importStar||(function(){var t=s(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;io.toUpperCase()===i))return t}else if(gL(r))return t}let n=t;for(let i of e){t=n+i,r=void 0;try{r=yield(0,Z.stat)(t)}catch(o){o.code!=="ENOENT"&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${o}`)}if(r&&r.isFile()){if(Z.IS_WINDOWS){try{let o=om.dirname(t),a=om.basename(t).toUpperCase();for(let c of yield(0,Z.readdir)(o))if(a===c.toUpperCase()){t=om.join(o,c);break}}catch(o){console.log(`Unexpected error attempting to determine the actual case of the file '${t}': ${o}`)}return t}else if(gL(r))return t}}return""})}s(cse,"tryGetExecutablePath");function lse(t){return t=t||"",Z.IS_WINDOWS?(t=t.replace(/\//g,"\\"),t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}s(lse,"normalizeSeparators");function gL(t){return(t.mode&1)>0||(t.mode&8)>0&&process.getgid!==void 0&&t.gid===process.getgid()||(t.mode&64)>0&&process.getuid!==void 0&&t.uid===process.getuid()}s(gL,"isUnixExecutable");function Ase(){var t;return(t=process.env.COMSPEC)!==null&&t!==void 0?t:"cmd.exe"}s(Ase,"getCmdPath")});var cm=f(ir=>{"use strict";var use=ir&&ir.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:s(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),dse=ir&&ir.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),fL=ir&&ir.__importStar||(function(){var t=s(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i|]/.test(t))throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows');try{yield Oe.rm(t,{force:!0,maxRetries:3,recursive:!0,retryDelay:300})}catch(e){throw new Error(`File was unable to be removed ${e}`)}})}s(yL,"rmRF");function bI(t){return xs(this,void 0,void 0,function*(){(0,pse.ok)(t,"a path argument must be provided"),yield Oe.mkdir(t,{recursive:!0})})}s(bI,"mkdirP");function CL(t,e){return xs(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");if(e){let n=yield CL(t,!1);if(!n)throw Oe.IS_WINDOWS?new Error(`Unable to locate executable file: ${t}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.`):new Error(`Unable to locate executable file: ${t}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`);return n}let r=yield EL(t);return r&&r.length>0?r[0]:""})}s(CL,"which");function EL(t){return xs(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");let e=[];if(Oe.IS_WINDOWS&&process.env.PATHEXT)for(let i of process.env.PATHEXT.split(mi.delimiter))i&&e.push(i);if(Oe.isRooted(t)){let i=yield Oe.tryGetExecutablePath(t,e);return i?[i]:[]}if(t.includes(mi.sep))return[];let r=[];if(process.env.PATH)for(let i of process.env.PATH.split(mi.delimiter))i&&r.push(i);let n=[];for(let i of r){let o=yield Oe.tryGetExecutablePath(mi.join(i,t),e);o&&n.push(o)}return n})}s(EL,"findInPath");function hse(t){let e=t.force==null?!0:t.force,r=!!t.recursive,n=t.copySourceDirectory==null?!0:!!t.copySourceDirectory;return{force:e,recursive:r,copySourceDirectory:n}}s(hse,"readCopyOptions");function BL(t,e,r,n){return xs(this,void 0,void 0,function*(){if(r>=255)return;r++,yield bI(e);let i=yield Oe.readdir(t);for(let o of i){let a=`${t}/${o}`,c=`${e}/${o}`;(yield Oe.lstat(a)).isDirectory()?yield BL(a,c,r,n):yield IL(a,c,n)}yield Oe.chmod(e,(yield Oe.stat(t)).mode)})}s(BL,"cpDirRecursive");function IL(t,e,r){return xs(this,void 0,void 0,function*(){if((yield Oe.lstat(t)).isSymbolicLink()){try{yield Oe.lstat(e),yield Oe.unlink(e)}catch(i){i.code==="EPERM"&&(yield Oe.chmod(e,"0666"),yield Oe.unlink(e))}let n=yield Oe.readlink(t);yield Oe.symlink(n,e,Oe.IS_WINDOWS?"junction":null)}else(!(yield Oe.exists(e))||r)&&(yield Oe.copyFile(t,e))})}s(IL,"copyFile")});var wL=f(Wr=>{"use strict";var fse=Wr&&Wr.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:s(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),yse=Wr&&Wr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),dc=Wr&&Wr.__importStar||(function(){var t=s(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i-1;){let a=i.substring(0,o);n(a),i=i.substring(o+lm.EOL.length),o=i.indexOf(lm.EOL)}return i}catch(i){return this._debug(`error processing line. Failed with error ${i}`),""}}_getSpawnFileName(){return Am&&this._isCmdFile()?process.env.COMSPEC||"cmd.exe":this.toolPath}_getSpawnArgs(e){if(Am&&this._isCmdFile()){let r=`/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`;for(let n of this.args)r+=" ",r+=e.windowsVerbatimArguments?n:this._windowsQuoteCmdArg(n);return r+='"',[r]}return this.args}_endsWith(e,r){return e.endsWith(r)}_isCmdFile(){let e=this.toolPath.toUpperCase();return this._endsWith(e,".CMD")||this._endsWith(e,".BAT")}_windowsQuoteCmdArg(e){if(!this._isCmdFile())return this._uvQuoteCmdArg(e);if(!e)return'""';let r=[" "," ","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'],n=!1;for(let a of e)if(r.some(c=>c===a)){n=!0;break}if(!n)return e;let i='"',o=!0;for(let a=e.length;a>0;a--)i+=e[a-1],o&&e[a-1]==="\\"?i+="\\":e[a-1]==='"'?(o=!0,i+='"'):o=!1;return i+='"',i.split("").reverse().join("")}_uvQuoteCmdArg(e){if(!e)return'""';if(!e.includes(" ")&&!e.includes(" ")&&!e.includes('"'))return e;if(!e.includes('"')&&!e.includes("\\"))return`"${e}"`;let r='"',n=!0;for(let i=e.length;i>0;i--)r+=e[i-1],n&&e[i-1]==="\\"?r+="\\":e[i-1]==='"'?(n=!0,r+="\\"):n=!1;return r+='"',r.split("").reverse().join("")}_cloneExecOptions(e){e=e||{};let r={cwd:e.cwd||process.cwd(),env:e.env||process.env,silent:e.silent||!1,windowsVerbatimArguments:e.windowsVerbatimArguments||!1,failOnStdErr:e.failOnStdErr||!1,ignoreReturnCode:e.ignoreReturnCode||!1,delay:e.delay||1e4};return r.outStream=e.outStream||process.stdout,r.errStream=e.errStream||process.stderr,r}_getSpawnOptions(e,r){e=e||{};let n={};return n.cwd=e.cwd,n.env=e.env,n.windowsVerbatimArguments=e.windowsVerbatimArguments||this._isCmdFile(),e.windowsVerbatimArguments&&(n.argv0=`"${r}"`),n}exec(){return bL(this,void 0,void 0,function*(){return!QL.isRooted(this.toolPath)&&(this.toolPath.includes("/")||Am&&this.toolPath.includes("\\"))&&(this.toolPath=Ese.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)),this.toolPath=yield Bse.which(this.toolPath,!0),new Promise((e,r)=>bL(this,void 0,void 0,function*(){this._debug(`exec tool: ${this.toolPath}`),this._debug("arguments:");for(let A of this.args)this._debug(` ${A}`);let n=this._cloneExecOptions(this.options);!n.silent&&n.outStream&&n.outStream.write(this._getCommandString(n)+lm.EOL);let i=new NI(n,this.toolPath);if(i.on("debug",A=>{this._debug(A)}),this.options.cwd&&!(yield QL.exists(this.options.cwd)))return r(new Error(`The cwd: ${this.options.cwd} does not exist!`));let o=this._getSpawnFileName(),a=Cse.spawn(o,this._getSpawnArgs(n),this._getSpawnOptions(this.options,o)),c="";a.stdout&&a.stdout.on("data",A=>{this.options.listeners&&this.options.listeners.stdout&&this.options.listeners.stdout(A),!n.silent&&n.outStream&&n.outStream.write(A),c=this._processLineBuffer(A,c,u=>{this.options.listeners&&this.options.listeners.stdline&&this.options.listeners.stdline(u)})});let l="";if(a.stderr&&a.stderr.on("data",A=>{i.processStderr=!0,this.options.listeners&&this.options.listeners.stderr&&this.options.listeners.stderr(A),!n.silent&&n.errStream&&n.outStream&&(n.failOnStdErr?n.errStream:n.outStream).write(A),l=this._processLineBuffer(A,l,u=>{this.options.listeners&&this.options.listeners.errline&&this.options.listeners.errline(u)})}),a.on("error",A=>{i.processError=A.message,i.processExited=!0,i.processClosed=!0,i.CheckComplete()}),a.on("exit",A=>{i.processExitCode=A,i.processExited=!0,this._debug(`Exit code ${A} received from tool '${this.toolPath}'`),i.CheckComplete()}),a.on("close",A=>{i.processExitCode=A,i.processExited=!0,i.processClosed=!0,this._debug(`STDIO streams have closed for tool '${this.toolPath}'`),i.CheckComplete()}),i.on("done",(A,u)=>{c.length>0&&this.emit("stdline",c),l.length>0&&this.emit("errline",l),a.removeAllListeners(),A?r(A):e(u)}),this.options.input){if(!a.stdin)throw new Error("child process missing stdin");a.stdin.end(this.options.input)}}))})}};Wr.ToolRunner=QI;function bse(t){let e=[],r=!1,n=!1,i="";function o(a){n&&a!=='"'&&(i+="\\"),i+=a,n=!1}s(o,"append");for(let a=0;a0&&(e.push(i),i="");continue}o(c)}return i.length>0&&e.push(i.trim()),e}s(bse,"argStringToArray");var NI=class t extends NL.EventEmitter{static{s(this,"ExecState")}constructor(e,r){if(super(),this.processClosed=!1,this.processError="",this.processExitCode=0,this.processExited=!1,this.processStderr=!1,this.delay=1e4,this.done=!1,this.timeout=null,!r)throw new Error("toolPath must not be empty");this.options=e,this.toolPath=r,e.delay&&(this.delay=e.delay)}CheckComplete(){this.done||(this.processClosed?this._setResult():this.processExited&&(this.timeout=(0,Ise.setTimeout)(t.HandleTimeout,this.delay,this)))}_debug(e){this.emit("debug",e)}_setResult(){let e;this.processExited&&(this.processError?e=new Error(`There was an error when attempting to execute the process '${this.toolPath}'. This may indicate the process failed to start. Error: ${this.processError}`):this.processExitCode!==0&&!this.options.ignoreReturnCode?e=new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`):this.processStderr&&this.options.failOnStdErr&&(e=new Error(`The process '${this.toolPath}' failed because one or more lines were written to the STDERR stream`))),this.timeout&&(clearTimeout(this.timeout),this.timeout=null),this.done=!0,this.emit("done",e,this.processExitCode)}static HandleTimeout(e){if(!e.done){if(!e.processClosed&&e.processExited){let r=`The STDIO streams did not close within ${e.delay/1e3} seconds of the exit event from process '${e.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`;e._debug(r)}e._setResult()}}}});var LA=f(fn=>{"use strict";var Qse=fn&&fn.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:s(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Nse=fn&&fn.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),wse=fn&&fn.__importStar||(function(){var t=s(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i{a+=l.write(w),u&&u(w)},"stdErrListener"),g=s(w=>{o+=c.write(w),A&&A(w)},"stdOutListener"),y=Object.assign(Object.assign({},r?.listeners),{stdout:g,stderr:d}),B=yield vL(t,e,Object.assign(Object.assign({},r),{listeners:y}));return o+=c.end(),a+=l.end(),{exitCode:B,stdout:o,stderr:a}})}s(Sse,"getExecOutput")});var _L=f(ve=>{"use strict";var xse=ve&&ve.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:s(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Rse=ve&&ve.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),vse=ve&&ve.__importStar||(function(){var t=s(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;idm(void 0,void 0,void 0,function*(){let{stdout:t}=yield um.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Version"',void 0,{silent:!0}),{stdout:e}=yield um.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Caption"',void 0,{silent:!0});return{name:e.trim(),version:t.trim()}}),"getWindowsInfo"),Dse=s(()=>dm(void 0,void 0,void 0,function*(){var t,e,r,n;let{stdout:i}=yield um.getExecOutput("sw_vers",void 0,{silent:!0}),o=(e=(t=i.match(/ProductVersion:\s*(.+)/))===null||t===void 0?void 0:t[1])!==null&&e!==void 0?e:"";return{name:(n=(r=i.match(/ProductName:\s*(.+)/))===null||r===void 0?void 0:r[1])!==null&&n!==void 0?n:"",version:o}}),"getMacOsInfo"),Tse=s(()=>dm(void 0,void 0,void 0,function*(){let{stdout:t}=yield um.getExecOutput("lsb_release",["-i","-r","-s"],{silent:!0}),[e,r]=t.trim().split(` +`);return{name:e,version:r}}),"getLinuxInfo");ve.platform=PL.default.platform();ve.arch=PL.default.arch();ve.isWindows=ve.platform==="win32";ve.isMacOS=ve.platform==="darwin";ve.isLinux=ve.platform==="linux";function Ose(){return dm(this,void 0,void 0,function*(){return Object.assign(Object.assign({},yield ve.isWindows?_se():ve.isMacOS?Dse():Tse()),{platform:ve.platform,arch:ve.arch,isWindows:ve.isWindows,isMacOS:ve.isMacOS,isLinux:ve.isLinux})})}s(Ose,"getDetails")});var Ht=f(me=>{"use strict";var Mse=me&&me.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:s(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),kse=me&&me.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),SI=me&&me.__importStar||(function(){var t=s(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;in!=="");return e&&e.trimWhitespace===!1?r:r.map(n=>n.trim())}s(zse,"getMultilineInput");function Gse(t,e){let r=["true","True","TRUE"],n=["false","False","FALSE"],i=xI(t,e);if(r.includes(i))return!0;if(n.includes(i))return!1;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${t} +Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}s(Gse,"getBooleanInput");function jse(t,e){if(process.env.GITHUB_OUTPUT||"")return(0,_o.issueFileCommand)("OUTPUT",(0,_o.prepareKeyValueMessage)(t,e));process.stdout.write(TL.EOL),(0,yn.issueCommand)("set-output",{name:t},(0,pc.toCommandValue)(e))}s(jse,"setOutput");function Yse(t){(0,yn.issue)("echo",t?"on":"off")}s(Yse,"setCommandEcho");function Jse(t){process.exitCode=wI.Failure,OL(t)}s(Jse,"setFailed");function Vse(){return process.env.RUNNER_DEBUG==="1"}s(Vse,"isDebug");function Wse(t){(0,yn.issueCommand)("debug",{},t)}s(Wse,"debug");function OL(t,e={}){(0,yn.issueCommand)("error",(0,pc.toCommandProperties)(e),t instanceof Error?t.toString():t)}s(OL,"error");function Kse(t,e={}){(0,yn.issueCommand)("warning",(0,pc.toCommandProperties)(e),t instanceof Error?t.toString():t)}s(Kse,"warning");function $se(t,e={}){(0,yn.issueCommand)("notice",(0,pc.toCommandProperties)(e),t instanceof Error?t.toString():t)}s($se,"notice");function Xse(t){process.stdout.write(t+TL.EOL)}s(Xse,"info");function ML(t){(0,yn.issue)("group",t)}s(ML,"startGroup");function kL(){(0,yn.issue)("endgroup")}s(kL,"endGroup");function Zse(t,e){return DL(this,void 0,void 0,function*(){ML(t);let r;try{r=yield e()}finally{kL()}return r})}s(Zse,"group");function eoe(t,e){if(process.env.GITHUB_STATE||"")return(0,_o.issueFileCommand)("STATE",(0,_o.prepareKeyValueMessage)(t,e));(0,yn.issueCommand)("save-state",{name:t},(0,pc.toCommandValue)(e))}s(eoe,"saveState");function toe(t){return process.env[`STATE_${t}`]||""}s(toe,"getState");function roe(t){return DL(this,void 0,void 0,function*(){return yield Fse.OidcClient.getIDToken(t)})}s(roe,"getIDToken");var noe=EI();Object.defineProperty(me,"summary",{enumerable:!0,get:s(function(){return noe.summary},"get")});var ioe=EI();Object.defineProperty(me,"markdownSummary",{enumerable:!0,get:s(function(){return ioe.markdownSummary},"get")});var RI=mL();Object.defineProperty(me,"toPosixPath",{enumerable:!0,get:s(function(){return RI.toPosixPath},"get")});Object.defineProperty(me,"toWin32Path",{enumerable:!0,get:s(function(){return RI.toWin32Path},"get")});Object.defineProperty(me,"toPlatformPath",{enumerable:!0,get:s(function(){return RI.toPlatformPath},"get")});me.platform=SI(_L())});var LL=f($i=>{"use strict";var soe=$i&&$i.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:s(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),ooe=$i&&$i.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),aoe=$i&&$i.__importStar||(function(){var t=s(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i{"use strict";var loe=sr&&sr.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:s(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Aoe=sr&&sr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),uoe=sr&&sr.__importStar||(function(){var t=s(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i{"use strict";Object.defineProperty(gm,"__esModule",{value:!0});gm.MatchKind=void 0;var FL;(function(t){t[t.None=0]="None",t[t.Directory=1]="Directory",t[t.File=2]="File",t[t.All=3]="All"})(FL||(gm.MatchKind=FL={}))});var HL=f(Jn=>{"use strict";var hoe=Jn&&Jn.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:s(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),foe=Jn&&Jn.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),yoe=Jn&&Jn.__importStar||(function(){var t=s(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i!n.negate);let e={};for(let n of t){let i=qL?n.searchPath.toUpperCase():n.searchPath;e[i]="candidate"}let r=[];for(let n of t){let i=qL?n.searchPath.toUpperCase():n.searchPath;if(e[i]==="included")continue;let o=!1,a=i,c=UL.dirname(a);for(;c!==a;){if(e[c]){o=!0;break}a=c,c=UL.dirname(a)}o||(r.push(n.searchPath),e[i]="included")}return r}s(Eoe,"getSearchPaths");function Boe(t,e){let r=Coe.MatchKind.None;for(let n of t)n.negate?r&=~n.match(e):r|=n.match(e);return r}s(Boe,"match");function Ioe(t,e){return t.some(r=>!r.negate&&r.partialMatch(e))}s(Ioe,"partialMatch")});var GL=f((Kqe,zL)=>{zL.exports=function(t,e){for(var r=[],n=0;n{"use strict";VL.exports=YL;function YL(t,e,r){t instanceof RegExp&&(t=jL(t,r)),e instanceof RegExp&&(e=jL(e,r));var n=JL(t,e,r);return n&&{start:n[0],end:n[1],pre:r.slice(0,n[0]),body:r.slice(n[0]+t.length,n[1]),post:r.slice(n[1]+e.length)}}s(YL,"balanced");function jL(t,e){var r=e.match(t);return r?r[0]:null}s(jL,"maybeMatch");YL.range=JL;function JL(t,e,r){var n,i,o,a,c,l=r.indexOf(t),A=r.indexOf(e,l+1),u=l;if(l>=0&&A>0){if(t===e)return[l,A];for(n=[],o=r.length;u>=0&&!c;)u==l?(n.push(u),l=r.indexOf(t,u+1)):n.length==1?c=[n.pop(),A]:(i=n.pop(),i=0?l:A;n.length&&(c=[o,a])}return c}s(JL,"range")});var nF=f((Zqe,rF)=>{var Qoe=GL(),KL=WL();rF.exports=Soe;var $L="\0SLASH"+Math.random()+"\0",XL="\0OPEN"+Math.random()+"\0",DI="\0CLOSE"+Math.random()+"\0",ZL="\0COMMA"+Math.random()+"\0",eF="\0PERIOD"+Math.random()+"\0";function _I(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}s(_I,"numeric");function Noe(t){return t.split("\\\\").join($L).split("\\{").join(XL).split("\\}").join(DI).split("\\,").join(ZL).split("\\.").join(eF)}s(Noe,"escapeBraces");function woe(t){return t.split($L).join("\\").split(XL).join("{").split(DI).join("}").split(ZL).join(",").split(eF).join(".")}s(woe,"unescapeBraces");function tF(t){if(!t)return[""];var e=[],r=KL("{","}",t);if(!r)return t.split(",");var n=r.pre,i=r.body,o=r.post,a=n.split(",");a[a.length-1]+="{"+i+"}";var c=tF(o);return o.length&&(a[a.length-1]+=c.shift(),a.push.apply(a,c)),e.push.apply(e,a),e}s(tF,"parseCommaParts");function Soe(t){return t?(t.substr(0,2)==="{}"&&(t="\\{\\}"+t.substr(2)),mc(Noe(t),!0).map(woe)):[]}s(Soe,"expandTop");function xoe(t){return"{"+t+"}"}s(xoe,"embrace");function Roe(t){return/^-?0\d/.test(t)}s(Roe,"isPadded");function voe(t,e){return t<=e}s(voe,"lte");function Poe(t,e){return t>=e}s(Poe,"gte");function mc(t,e){var r=[],n=KL("{","}",t);if(!n||/\$$/.test(n.pre))return[t];var i=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(n.body),o=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(n.body),a=i||o,c=n.body.indexOf(",")>=0;if(!a&&!c)return n.post.match(/,(?!,).*\}/)?(t=n.pre+"{"+n.body+DI+n.post,mc(t)):[t];var l;if(a)l=n.body.split(/\.\./);else if(l=tF(n.body),l.length===1&&(l=mc(l[0],!1).map(xoe),l.length===1)){var u=n.post.length?mc(n.post,!1):[""];return u.map(function(je){return n.pre+l[0]+je})}var A=n.pre,u=n.post.length?mc(n.post,!1):[""],d;if(a){var g=_I(l[0]),y=_I(l[1]),B=Math.max(l[0].length,l[1].length),w=l.length==3?Math.abs(_I(l[2])):1,x=voe,S=y0){var W=new Array(K+1).join("0");D<0?L="-"+W+L.slice(1):L=W+L}}d.push(L)}}else d=Qoe(l,function(ut){return mc(ut,!1)});for(var ne=0;ne{cF.exports=Kr;Kr.Minimatch=Rt;var qA=(function(){try{return require("path")}catch{}})()||{sep:"/"};Kr.sep=qA.sep;var To=Kr.GLOBSTAR=Rt.GLOBSTAR={},_oe=nF(),iF={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},TI="[^/]",OI=TI+"*?",Doe="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",Toe="(?:(?!(?:\\/|^)\\.).)*?",sF=Ooe("().*{}+?[]^$\\!");function Ooe(t){return t.split("").reduce(function(e,r){return e[r]=!0,e},{})}s(Ooe,"charSet");var oF=/\/+/;Kr.filter=Moe;function Moe(t,e){return e=e||{},function(r,n,i){return Kr(r,t,e)}}s(Moe,"filter");function vs(t,e){e=e||{};var r={};return Object.keys(t).forEach(function(n){r[n]=t[n]}),Object.keys(e).forEach(function(n){r[n]=e[n]}),r}s(vs,"ext");Kr.defaults=function(t){if(!t||typeof t!="object"||!Object.keys(t).length)return Kr;var e=Kr,r=s(function(i,o,a){return e(i,o,vs(t,a))},"minimatch");return r.Minimatch=s(function(i,o){return new e.Minimatch(i,vs(t,o))},"Minimatch"),r.Minimatch.defaults=s(function(i){return e.defaults(vs(t,i)).Minimatch},"defaults"),r.filter=s(function(i,o){return e.filter(i,vs(t,o))},"filter"),r.defaults=s(function(i){return e.defaults(vs(t,i))},"defaults"),r.makeRe=s(function(i,o){return e.makeRe(i,vs(t,o))},"makeRe"),r.braceExpand=s(function(i,o){return e.braceExpand(i,vs(t,o))},"braceExpand"),r.match=function(n,i,o){return e.match(n,i,vs(t,o))},r};Rt.defaults=function(t){return Kr.defaults(t).Minimatch};function Kr(t,e,r){return ym(e),r||(r={}),!r.nocomment&&e.charAt(0)==="#"?!1:new Rt(e,r).match(t)}s(Kr,"minimatch");function Rt(t,e){if(!(this instanceof Rt))return new Rt(t,e);ym(t),e||(e={}),t=t.trim(),!e.allowWindowsEscape&&qA.sep!=="/"&&(t=t.split(qA.sep).join("/")),this.options=e,this.maxGlobstarRecursion=e.maxGlobstarRecursion!==void 0?e.maxGlobstarRecursion:200,this.set=[],this.pattern=t,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!e.partial,this.make()}s(Rt,"Minimatch");Rt.prototype.debug=function(){};Rt.prototype.make=koe;function koe(){var t=this.pattern,e=this.options;if(!e.nocomment&&t.charAt(0)==="#"){this.comment=!0;return}if(!t){this.empty=!0;return}this.parseNegate();var r=this.globSet=this.braceExpand();e.debug&&(this.debug=s(function(){console.error.apply(console,arguments)},"debug")),this.debug(this.pattern,r),r=this.globParts=r.map(function(n){return n.split(oF)}),this.debug(this.pattern,r),r=r.map(function(n,i,o){return n.map(this.parse,this)},this),this.debug(this.pattern,r),r=r.filter(function(n){return n.indexOf(!1)===-1}),this.debug(this.pattern,r),this.set=r}s(koe,"make");Rt.prototype.parseNegate=Loe;function Loe(){var t=this.pattern,e=!1,r=this.options,n=0;if(!r.nonegate){for(var i=0,o=t.length;i"u"?this.pattern:t,ym(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:_oe(t)}s(aF,"braceExpand");var Foe=1024*64,ym=s(function(t){if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>Foe)throw new TypeError("pattern is too long")},"assertValidPattern");Rt.prototype.parse=Uoe;var fm={};function Uoe(t,e){ym(t);var r=this.options;if(t==="**")if(r.noglobstar)t="*";else return To;if(t==="")return"";var n="",i=!!r.nocase,o=!1,a=[],c=[],l,A=!1,u=-1,d=-1,g=t.charAt(0)==="."?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",y=this;function B(){if(l){switch(l){case"*":n+=OI,i=!0;break;case"?":n+=TI,i=!0;break;default:n+="\\"+l;break}y.debug("clearStateChar %j %j",l,n),l=!1}}s(B,"clearStateChar");for(var w=0,x=t.length,S;w-1;be--){var He=c[be],ut=n.slice(0,He.reStart),je=n.slice(He.reStart,He.reEnd-8),Ie=n.slice(He.reEnd-8,He.reEnd),lt=n.slice(He.reEnd);Ie+=lt;var Lt=ut.split("(").length-1,Ti=lt;for(w=0;w"u"&&(r=this.partial),this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return e==="";if(e==="/"&&r)return!0;var n=this.options;qA.sep!=="/"&&(e=e.split(qA.sep).join("/")),e=e.split(oF),this.debug(this.pattern,"split",e);var i=this.set;this.debug(this.pattern,"set",i);var o,a;for(a=e.length-1;a>=0&&(o=e[a],!o);a--);for(a=0;a=0;o--)if(e[o]===To){c=o;break}var l=e.slice(i,a),A=r?e.slice(a+1):e.slice(a+1,c),u=r?[]:e.slice(c+1);if(l.length){var d=t.slice(n,n+l.length);if(!this._matchOne(d,l,r,0,0))return!1;n+=l.length}var g=0;if(u.length){if(u.length+n>t.length)return!1;var y=t.length-u.length;if(this._matchOne(t,u,r,y,0))g=u.length;else{if(t[t.length-1]!==""||n+u.length===t.length||(y--,!this._matchOne(t,u,r,y,0)))return!1;g=u.length+1}}if(!A.length){var B=!!g;for(o=n;o{"use strict";var Goe=Cn&&Cn.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:s(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),joe=Cn&&Cn.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),AF=Cn&&Cn.__importStar||(function(){var t=s(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i0,"Parameter 'itemPath' must not be an empty array");for(let r=0;r{"use strict";var Voe=En&&En.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:s(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Woe=En&&En.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),FI=En&&En.__importStar||(function(){var t=s(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;it.getLiteral(A)).filter(A=>!a&&!(a=A===""));this.searchPath=new Cm.Path(c).toString(),this.rootRegExp=new RegExp(t.regExpEscape(c[0]),Xi?"i":""),this.isImplicitPattern=r;let l={dot:!0,nobrace:!0,nocase:Xi,nocomment:!0,noext:!0,nonegate:!0};o=Xi?o.replace(/\\/g,"/"):o,this.minimatch=new Xoe.Minimatch(o,l)}match(e){return this.segments[this.segments.length-1]==="**"?(e=Rr.normalizeSeparators(e),!e.endsWith(GA.sep)&&this.isImplicitPattern===!1&&(e=`${e}${GA.sep}`)):e=Rr.safeTrimTrailingSeparator(e),this.minimatch.match(e)?this.trailingSeparator?kI.MatchKind.Directory:kI.MatchKind.All:kI.MatchKind.None}partialMatch(e){return e=Rr.safeTrimTrailingSeparator(e),Rr.dirname(e)===e?this.rootRegExp.test(e):this.minimatch.matchOne(e.split(Xi?/\\+/:/\/+/),this.minimatch.set[0],!0)}static globEscape(e){return(Xi?e:e.replace(/\\/g,"\\\\")).replace(/(\[)(?=[^/]+\])/g,"[[]").replace(/\?/g,"[?]").replace(/\*/g,"[*]")}static fixupPattern(e,r){(0,Oo.default)(e,"pattern cannot be empty");let n=new Cm.Path(e).segments.map(i=>t.getLiteral(i));if((0,Oo.default)(n.every((i,o)=>(i!=="."||o===0)&&i!==".."),`Invalid pattern '${e}'. Relative pathing '.' and '..' is not allowed.`),(0,Oo.default)(!Rr.hasRoot(e)||n[0],`Invalid pattern '${e}'. Root segment must not contain globs.`),e=Rr.normalizeSeparators(e),e==="."||e.startsWith(`.${GA.sep}`))e=t.globEscape(process.cwd())+e.substr(1);else if(e==="~"||e.startsWith(`~${GA.sep}`))r=r||$oe.homedir(),(0,Oo.default)(r,"Unable to determine HOME directory"),(0,Oo.default)(Rr.hasAbsoluteRoot(r),`Expected HOME directory to be a rooted path. Actual '${r}'`),e=t.globEscape(r)+e.substr(1);else if(Xi&&(e.match(/^[A-Z]:$/i)||e.match(/^[A-Z]:[^\\]/i))){let i=Rr.ensureAbsoluteRoot("C:\\dummy-root",e.substr(0,2));e.length>2&&!i.endsWith("\\")&&(i+="\\"),e=t.globEscape(i)+e.substr(2)}else if(Xi&&(e==="\\"||e.match(/^\\[^\\]/))){let i=Rr.ensureAbsoluteRoot("C:\\dummy-root","\\");i.endsWith("\\")||(i+="\\"),e=t.globEscape(i)+e.substr(1)}else e=Rr.ensureAbsoluteRoot(t.globEscape(process.cwd()),e);return Rr.normalizeSeparators(e)}static getLiteral(e){let r="";for(let n=0;n=0){if(o.length>1)return"";if(o){r+=o,n=a;continue}}}}r+=i}return r}static regExpEscape(e){return e.replace(/[[\\^$.|?*+()]/g,"\\$&")}};En.Pattern=LI});var pF=f(Em=>{"use strict";Object.defineProperty(Em,"__esModule",{value:!0});Em.SearchState=void 0;var UI=class{static{s(this,"SearchState")}constructor(e,r){this.path=e,this.level=r}};Em.SearchState=UI});var CF=f(zt=>{"use strict";var Zoe=zt&&zt.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:s(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),eae=zt&&zt.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),YA=zt&&zt.__importStar||(function(){var t=s(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i1||l(y,w)})},B&&(i[y]=B(i[y])))}function l(y,B){try{A(n[y](B))}catch(w){g(o[0][3],w)}}function A(y){y.value instanceof _s?Promise.resolve(y.value.v).then(u,d):g(o[0][2],y)}function u(y){l("next",y)}function d(y){l("throw",y)}function g(y,B){y(B),o.shift(),o.length&&l(o[0][0],o[0][1])}};Object.defineProperty(zt,"__esModule",{value:!0});zt.DefaultGlobber=void 0;var HI=YA(Ht()),jA=YA(require("fs")),mF=YA(LL()),gF=YA(require("path")),Bm=YA(HL()),hF=hm(),fF=dF(),yF=pF(),nae=process.platform==="win32",zI=class t{static{s(this,"DefaultGlobber")}constructor(e){this.patterns=[],this.searchPaths=[],this.options=mF.getOptions(e)}getSearchPaths(){return this.searchPaths.slice()}glob(){return qI(this,void 0,void 0,function*(){var e,r,n,i;let o=[];try{for(var a=!0,c=tae(this.globGenerator()),l;l=yield c.next(),e=l.done,!e;a=!0){i=l.value,a=!1;let A=i;o.push(A)}}catch(A){r={error:A}}finally{try{!a&&!e&&(n=c.return)&&(yield n.call(c))}finally{if(r)throw r.error}}return o})}globGenerator(){return rae(this,arguments,s(function*(){let r=mF.getOptions(this.options),n=[];for(let a of this.patterns)n.push(a),r.implicitDescendants&&(a.trailingSeparator||a.segments[a.segments.length-1]!=="**")&&n.push(new fF.Pattern(a.negate,!0,a.segments.concat("**")));let i=[];for(let a of Bm.getSearchPaths(n)){HI.debug(`Search path '${a}'`);try{yield _s(jA.promises.lstat(a))}catch(c){if(c.code==="ENOENT")continue;throw c}i.unshift(new yF.SearchState(a,1))}let o=[];for(;i.length;){let a=i.pop(),c=Bm.match(n,a.path),l=!!c||Bm.partialMatch(n,a.path);if(!c&&!l)continue;let A=yield _s(t.stat(a,r,o));if(A&&!(r.excludeHiddenFiles&&gF.basename(a.path).match(/^\./)))if(A.isDirectory()){if(c&hF.MatchKind.Directory&&r.matchDirectories)yield yield _s(a.path);else if(!l)continue;let u=a.level+1,d=(yield _s(jA.promises.readdir(a.path))).map(g=>new yF.SearchState(gF.join(a.path,g),u));i.push(...d.reverse())}else c&hF.MatchKind.File&&(yield yield _s(a.path))}},"globGenerator_1"))}static create(e,r){return qI(this,void 0,void 0,function*(){let n=new t(r);nae&&(e=e.replace(/\r\n/g,` `),e=e.replace(/\r/g,` `));let i=e.split(` -`).map(s=>s.trim());for(let s of i)!s||s.startsWith("#")||n.patterns.push(new DF.Pattern(s));return n.searchPaths.push(...hm.getSearchPaths(n.patterns)),n})}static stat(e,r,n){return zI(this,void 0,void 0,function*(){let i;if(r.followSymbolicLinks)try{i=yield kA.promises.stat(e.path)}catch(s){if(s.code==="ENOENT"){if(r.omitBrokenSymbolicLinks){jI.debug(`Broken symlink '${e.path}'`);return}throw new Error(`No information found for the path '${e.path}'. This may indicate a broken symbolic link.`)}throw s}else i=yield kA.promises.lstat(e.path);if(i.isDirectory()&&r.followSymbolicLinks){let s=yield kA.promises.realpath(e.path);for(;n.length>=e.level;)n.pop();if(n.some(a=>a===s)){jI.debug(`Symlink cycle detected for path '${e.path}' and realpath '${s}'`);return}n.push(s)}return i})}};Ft.DefaultGlobber=GI});var FF=h(Gr=>{"use strict";var jce=Gr&&Gr.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),Gce=Gr&&Gr.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),oc=Gr&&Gr.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i{"use strict";var UF=ac&&ac.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(ac,"__esModule",{value:!0});ac.create=qF;ac.hashFiles=ele;var Xce=OF(),Zce=FF();function qF(t,e){return UF(this,void 0,void 0,function*(){return yield Xce.DefaultGlobber.create(t,e)})}o(qF,"create");function ele(t){return UF(this,arguments,void 0,function*(e,r="",n,i=!1){let s=!0;n&&typeof n.followSymbolicLinks=="boolean"&&(s=n.followSymbolicLinks);let a=yield qF(e,{followSymbolicLinks:s});return(0,Zce.hashFiles)(a,r,i)})}o(ele,"hashFiles")});var VF=h((ue,JF)=>{ue=JF.exports=Ce;var Le;typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?Le=o(function(){var t=Array.prototype.slice.call(arguments,0);t.unshift("SEMVER"),console.log.apply(console,t)},"debug"):Le=o(function(){},"debug");ue.SEMVER_SPEC_VERSION="2.0.0";var FA=256,ym=Number.MAX_SAFE_INTEGER||9007199254740991,YI=16,tle=FA-6,cc=ue.re=[],ke=ue.safeRe=[],F=ue.src=[],O=ue.tokens={},GF=0;function Be(t){O[t]=GF++}o(Be,"tok");var VI="[a-zA-Z0-9-]",JI=[["\\s",1],["\\d",FA],[VI,tle]];function qA(t){for(var e=0;e)?=?)";Be("XRANGEIDENTIFIERLOOSE");F[O.XRANGEIDENTIFIERLOOSE]=F[O.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*";Be("XRANGEIDENTIFIER");F[O.XRANGEIDENTIFIER]=F[O.NUMERICIDENTIFIER]+"|x|X|\\*";Be("XRANGEPLAIN");F[O.XRANGEPLAIN]="[v=\\s]*("+F[O.XRANGEIDENTIFIER]+")(?:\\.("+F[O.XRANGEIDENTIFIER]+")(?:\\.("+F[O.XRANGEIDENTIFIER]+")(?:"+F[O.PRERELEASE]+")?"+F[O.BUILD]+"?)?)?";Be("XRANGEPLAINLOOSE");F[O.XRANGEPLAINLOOSE]="[v=\\s]*("+F[O.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+F[O.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+F[O.XRANGEIDENTIFIERLOOSE]+")(?:"+F[O.PRERELEASELOOSE]+")?"+F[O.BUILD]+"?)?)?";Be("XRANGE");F[O.XRANGE]="^"+F[O.GTLT]+"\\s*"+F[O.XRANGEPLAIN]+"$";Be("XRANGELOOSE");F[O.XRANGELOOSE]="^"+F[O.GTLT]+"\\s*"+F[O.XRANGEPLAINLOOSE]+"$";Be("COERCE");F[O.COERCE]="(^|[^\\d])(\\d{1,"+YI+"})(?:\\.(\\d{1,"+YI+"}))?(?:\\.(\\d{1,"+YI+"}))?(?:$|[^\\d])";Be("COERCERTL");cc[O.COERCERTL]=new RegExp(F[O.COERCE],"g");ke[O.COERCERTL]=new RegExp(qA(F[O.COERCE]),"g");Be("LONETILDE");F[O.LONETILDE]="(?:~>?)";Be("TILDETRIM");F[O.TILDETRIM]="(\\s*)"+F[O.LONETILDE]+"\\s+";cc[O.TILDETRIM]=new RegExp(F[O.TILDETRIM],"g");ke[O.TILDETRIM]=new RegExp(qA(F[O.TILDETRIM]),"g");var rle="$1~";Be("TILDE");F[O.TILDE]="^"+F[O.LONETILDE]+F[O.XRANGEPLAIN]+"$";Be("TILDELOOSE");F[O.TILDELOOSE]="^"+F[O.LONETILDE]+F[O.XRANGEPLAINLOOSE]+"$";Be("LONECARET");F[O.LONECARET]="(?:\\^)";Be("CARETTRIM");F[O.CARETTRIM]="(\\s*)"+F[O.LONECARET]+"\\s+";cc[O.CARETTRIM]=new RegExp(F[O.CARETTRIM],"g");ke[O.CARETTRIM]=new RegExp(qA(F[O.CARETTRIM]),"g");var nle="$1^";Be("CARET");F[O.CARET]="^"+F[O.LONECARET]+F[O.XRANGEPLAIN]+"$";Be("CARETLOOSE");F[O.CARETLOOSE]="^"+F[O.LONECARET]+F[O.XRANGEPLAINLOOSE]+"$";Be("COMPARATORLOOSE");F[O.COMPARATORLOOSE]="^"+F[O.GTLT]+"\\s*("+F[O.LOOSEPLAIN]+")$|^$";Be("COMPARATOR");F[O.COMPARATOR]="^"+F[O.GTLT]+"\\s*("+F[O.FULLPLAIN]+")$|^$";Be("COMPARATORTRIM");F[O.COMPARATORTRIM]="(\\s*)"+F[O.GTLT]+"\\s*("+F[O.LOOSEPLAIN]+"|"+F[O.XRANGEPLAIN]+")";cc[O.COMPARATORTRIM]=new RegExp(F[O.COMPARATORTRIM],"g");ke[O.COMPARATORTRIM]=new RegExp(qA(F[O.COMPARATORTRIM]),"g");var ile="$1$2$3";Be("HYPHENRANGE");F[O.HYPHENRANGE]="^\\s*("+F[O.XRANGEPLAIN]+")\\s+-\\s+("+F[O.XRANGEPLAIN]+")\\s*$";Be("HYPHENRANGELOOSE");F[O.HYPHENRANGELOOSE]="^\\s*("+F[O.XRANGEPLAINLOOSE]+")\\s+-\\s+("+F[O.XRANGEPLAINLOOSE]+")\\s*$";Be("STAR");F[O.STAR]="(<|>)?=?\\s*\\*";for(di=0;diFA)return null;var r=e.loose?ke[O.LOOSE]:ke[O.FULL];if(!r.test(t))return null;try{return new Ce(t,e)}catch{return null}}o(Ro,"parse");ue.valid=sle;function sle(t,e){var r=Ro(t,e);return r?r.version:null}o(sle,"valid");ue.clean=ole;function ole(t,e){var r=Ro(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null}o(ole,"clean");ue.SemVer=Ce;function Ce(t,e){if((!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1}),t instanceof Ce){if(t.loose===e.loose)return t;t=t.version}else if(typeof t!="string")throw new TypeError("Invalid Version: "+t);if(t.length>FA)throw new TypeError("version is longer than "+FA+" characters");if(!(this instanceof Ce))return new Ce(t,e);Le("SemVer",t,e),this.options=e,this.loose=!!e.loose;var r=t.trim().match(e.loose?ke[O.LOOSE]:ke[O.FULL]);if(!r)throw new TypeError("Invalid Version: "+t);if(this.raw=t,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>ym||this.major<0)throw new TypeError("Invalid major version");if(this.minor>ym||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>ym||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(function(n){if(/^[0-9]+$/.test(n)){var i=+n;if(i>=0&&i=0;)typeof this.prerelease[r]=="number"&&(this.prerelease[r]++,r=-2);r===-1&&this.prerelease.push(0)}e&&(this.prerelease[0]===e?isNaN(this.prerelease[1])&&(this.prerelease=[e,0]):this.prerelease=[e,0]);break;default:throw new Error("invalid increment argument: "+t)}return this.format(),this.raw=this.version,this};ue.inc=ale;function ale(t,e,r,n){typeof r=="string"&&(n=r,r=void 0);try{return new Ce(t,r).inc(e,n).version}catch{return null}}o(ale,"inc");ue.diff=cle;function cle(t,e){if(WI(t,e))return null;var r=Ro(t),n=Ro(e),i="";if(r.prerelease.length||n.prerelease.length){i="pre";var s="prerelease"}for(var a in r)if((a==="major"||a==="minor"||a==="patch")&&r[a]!==n[a])return i+a;return s}o(cle,"diff");ue.compareIdentifiers=vo;var zF=/^[0-9]+$/;function vo(t,e){var r=zF.test(t),n=zF.test(e);return r&&n&&(t=+t,e=+e),t===e?0:r&&!n?-1:n&&!r?1:t0}o(UA,"gt");ue.lt=Cm;function Cm(t,e,r){return $i(t,e,r)<0}o(Cm,"lt");ue.eq=WI;function WI(t,e,r){return $i(t,e,r)===0}o(WI,"eq");ue.neq=YF;function YF(t,e,r){return $i(t,e,r)!==0}o(YF,"neq");ue.gte=KI;function KI(t,e,r){return $i(t,e,r)>=0}o(KI,"gte");ue.lte=$I;function $I(t,e,r){return $i(t,e,r)<=0}o($I,"lte");ue.cmp=Em;function Em(t,e,r,n){switch(e){case"===":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t===r;case"!==":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t!==r;case"":case"=":case"==":return WI(t,r,n);case"!=":return YF(t,r,n);case">":return UA(t,r,n);case">=":return KI(t,r,n);case"<":return Cm(t,r,n);case"<=":return $I(t,r,n);default:throw new TypeError("Invalid operator: "+e)}}o(Em,"cmp");ue.Comparator=yn;function yn(t,e){if((!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1}),t instanceof yn){if(t.loose===!!e.loose)return t;t=t.value}if(!(this instanceof yn))return new yn(t,e);t=t.trim().split(/\s+/).join(" "),Le("comparator",t,e),this.options=e,this.loose=!!e.loose,this.parse(t),this.semver===lc?this.value="":this.value=this.operator+this.semver.version,Le("comp",this)}o(yn,"Comparator");var lc={};yn.prototype.parse=function(t){var e=this.options.loose?ke[O.COMPARATORLOOSE]:ke[O.COMPARATOR],r=t.match(e);if(!r)throw new TypeError("Invalid comparator: "+t);this.operator=r[1]!==void 0?r[1]:"",this.operator==="="&&(this.operator=""),r[2]?this.semver=new Ce(r[2],this.options.loose):this.semver=lc};yn.prototype.toString=function(){return this.value};yn.prototype.test=function(t){if(Le("Comparator.test",t,this.options.loose),this.semver===lc||t===lc)return!0;if(typeof t=="string")try{t=new Ce(t,this.options)}catch{return!1}return Em(t,this.operator,this.semver,this.options)};yn.prototype.intersects=function(t,e){if(!(t instanceof yn))throw new TypeError("a Comparator is required");(!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1});var r;if(this.operator==="")return this.value===""?!0:(r=new At(t.value,e),Bm(this.value,r,e));if(t.operator==="")return t.value===""?!0:(r=new At(this.value,e),Bm(t.semver,r,e));var n=(this.operator===">="||this.operator===">")&&(t.operator===">="||t.operator===">"),i=(this.operator==="<="||this.operator==="<")&&(t.operator==="<="||t.operator==="<"),s=this.semver.version===t.semver.version,a=(this.operator===">="||this.operator==="<=")&&(t.operator===">="||t.operator==="<="),c=Em(this.semver,"<",t.semver,e)&&(this.operator===">="||this.operator===">")&&(t.operator==="<="||t.operator==="<"),l=Em(this.semver,">",t.semver,e)&&(this.operator==="<="||this.operator==="<")&&(t.operator===">="||t.operator===">");return n||i||s&&a||c||l};ue.Range=At;function At(t,e){if((!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1}),t instanceof At)return t.loose===!!e.loose&&t.includePrerelease===!!e.includePrerelease?t:new At(t.raw,e);if(t instanceof yn)return new At(t.value,e);if(!(this instanceof At))return new At(t,e);if(this.options=e,this.loose=!!e.loose,this.includePrerelease=!!e.includePrerelease,this.raw=t.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(function(r){return this.parseRange(r.trim())},this).filter(function(r){return r.length}),!this.set.length)throw new TypeError("Invalid SemVer Range: "+this.raw);this.format()}o(At,"Range");At.prototype.format=function(){return this.range=this.set.map(function(t){return t.join(" ").trim()}).join("||").trim(),this.range};At.prototype.toString=function(){return this.range};At.prototype.parseRange=function(t){var e=this.options.loose,r=e?ke[O.HYPHENRANGELOOSE]:ke[O.HYPHENRANGE];t=t.replace(r,Sle),Le("hyphen replace",t),t=t.replace(ke[O.COMPARATORTRIM],ile),Le("comparator trim",t,ke[O.COMPARATORTRIM]),t=t.replace(ke[O.TILDETRIM],rle),t=t.replace(ke[O.CARETTRIM],nle),t=t.split(/\s+/).join(" ");var n=e?ke[O.COMPARATORLOOSE]:ke[O.COMPARATOR],i=t.split(" ").map(function(s){return Cle(s,this.options)},this).join(" ").split(/\s+/);return this.options.loose&&(i=i.filter(function(s){return!!s.match(n)})),i=i.map(function(s){return new yn(s,this.options)},this),i};At.prototype.intersects=function(t,e){if(!(t instanceof At))throw new TypeError("a Range is required");return this.set.some(function(r){return jF(r,e)&&t.set.some(function(n){return jF(n,e)&&r.every(function(i){return n.every(function(s){return i.intersects(s,e)})})})})};function jF(t,e){for(var r=!0,n=t.slice(),i=n.pop();r&&n.length;)r=n.every(function(s){return i.intersects(s,e)}),i=n.pop();return r}o(jF,"isSatisfiable");ue.toComparators=yle;function yle(t,e){return new At(t,e).set.map(function(r){return r.map(function(n){return n.value}).join(" ").trim().split(" ")})}o(yle,"toComparators");function Cle(t,e){return Le("comp",t,e),t=Ile(t,e),Le("caret",t),t=Ele(t,e),Le("tildes",t),t=Qle(t,e),Le("xrange",t),t=Nle(t,e),Le("stars",t),t}o(Cle,"parseComparator");function dr(t){return!t||t.toLowerCase()==="x"||t==="*"}o(dr,"isX");function Ele(t,e){return t.trim().split(/\s+/).map(function(r){return Ble(r,e)}).join(" ")}o(Ele,"replaceTildes");function Ble(t,e){var r=e.loose?ke[O.TILDELOOSE]:ke[O.TILDE];return t.replace(r,function(n,i,s,a,c){Le("tilde",t,n,i,s,a,c);var l;return dr(i)?l="":dr(s)?l=">="+i+".0.0 <"+(+i+1)+".0.0":dr(a)?l=">="+i+"."+s+".0 <"+i+"."+(+s+1)+".0":c?(Le("replaceTilde pr",c),l=">="+i+"."+s+"."+a+"-"+c+" <"+i+"."+(+s+1)+".0"):l=">="+i+"."+s+"."+a+" <"+i+"."+(+s+1)+".0",Le("tilde return",l),l})}o(Ble,"replaceTilde");function Ile(t,e){return t.trim().split(/\s+/).map(function(r){return ble(r,e)}).join(" ")}o(Ile,"replaceCarets");function ble(t,e){Le("caret",t,e);var r=e.loose?ke[O.CARETLOOSE]:ke[O.CARET];return t.replace(r,function(n,i,s,a,c){Le("caret",t,n,i,s,a,c);var l;return dr(i)?l="":dr(s)?l=">="+i+".0.0 <"+(+i+1)+".0.0":dr(a)?i==="0"?l=">="+i+"."+s+".0 <"+i+"."+(+s+1)+".0":l=">="+i+"."+s+".0 <"+(+i+1)+".0.0":c?(Le("replaceCaret pr",c),i==="0"?s==="0"?l=">="+i+"."+s+"."+a+"-"+c+" <"+i+"."+s+"."+(+a+1):l=">="+i+"."+s+"."+a+"-"+c+" <"+i+"."+(+s+1)+".0":l=">="+i+"."+s+"."+a+"-"+c+" <"+(+i+1)+".0.0"):(Le("no pr"),i==="0"?s==="0"?l=">="+i+"."+s+"."+a+" <"+i+"."+s+"."+(+a+1):l=">="+i+"."+s+"."+a+" <"+i+"."+(+s+1)+".0":l=">="+i+"."+s+"."+a+" <"+(+i+1)+".0.0"),Le("caret return",l),l})}o(ble,"replaceCaret");function Qle(t,e){return Le("replaceXRanges",t,e),t.split(/\s+/).map(function(r){return wle(r,e)}).join(" ")}o(Qle,"replaceXRanges");function wle(t,e){t=t.trim();var r=e.loose?ke[O.XRANGELOOSE]:ke[O.XRANGE];return t.replace(r,function(n,i,s,a,c,l){Le("xRange",t,n,i,s,a,c,l);var A=dr(s),u=A||dr(a),d=u||dr(c),g=d;return i==="="&&g&&(i=""),l=e.includePrerelease?"-0":"",A?i===">"||i==="<"?n="<0.0.0-0":n="*":i&&g?(u&&(a=0),c=0,i===">"?(i=">=",u?(s=+s+1,a=0,c=0):(a=+a+1,c=0)):i==="<="&&(i="<",u?s=+s+1:a=+a+1),n=i+s+"."+a+"."+c+l):u?n=">="+s+".0.0"+l+" <"+(+s+1)+".0.0"+l:d&&(n=">="+s+"."+a+".0"+l+" <"+s+"."+(+a+1)+".0"+l),Le("xRange return",n),n})}o(wle,"replaceXRange");function Nle(t,e){return Le("replaceStars",t,e),t.trim().replace(ke[O.STAR],"")}o(Nle,"replaceStars");function Sle(t,e,r,n,i,s,a,c,l,A,u,d,g){return dr(r)?e="":dr(n)?e=">="+r+".0.0":dr(i)?e=">="+r+"."+n+".0":e=">="+e,dr(l)?c="":dr(A)?c="<"+(+l+1)+".0.0":dr(u)?c="<"+l+"."+(+A+1)+".0":d?c="<="+l+"."+A+"."+u+"-"+d:c="<="+c,(e+" "+c).trim()}o(Sle,"hyphenReplace");At.prototype.test=function(t){if(!t)return!1;if(typeof t=="string")try{t=new Ce(t,this.options)}catch{return!1}for(var e=0;e0){var i=t[n].semver;if(i.major===e.major&&i.minor===e.minor&&i.patch===e.patch)return!0}return!1}return!0}o(xle,"testSet");ue.satisfies=Bm;function Bm(t,e,r){try{e=new At(e,r)}catch{return!1}return e.test(t)}o(Bm,"satisfies");ue.maxSatisfying=vle;function vle(t,e,r){var n=null,i=null;try{var s=new At(e,r)}catch{return null}return t.forEach(function(a){s.test(a)&&(!n||i.compare(a)===-1)&&(n=a,i=new Ce(n,r))}),n}o(vle,"maxSatisfying");ue.minSatisfying=Rle;function Rle(t,e,r){var n=null,i=null;try{var s=new At(e,r)}catch{return null}return t.forEach(function(a){s.test(a)&&(!n||i.compare(a)===1)&&(n=a,i=new Ce(n,r))}),n}o(Rle,"minSatisfying");ue.minVersion=_le;function _le(t,e){t=new At(t,e);var r=new Ce("0.0.0");if(t.test(r)||(r=new Ce("0.0.0-0"),t.test(r)))return r;r=null;for(var n=0;n":a.prerelease.length===0?a.patch++:a.prerelease.push(0),a.raw=a.format();case"":case">=":(!r||UA(r,a))&&(r=a);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+s.operator)}})}return r&&t.test(r)?r:null}o(_le,"minVersion");ue.validRange=Ple;function Ple(t,e){try{return new At(t,e).range||"*"}catch{return null}}o(Ple,"validRange");ue.ltr=Dle;function Dle(t,e,r){return XI(t,e,"<",r)}o(Dle,"ltr");ue.gtr=Tle;function Tle(t,e,r){return XI(t,e,">",r)}o(Tle,"gtr");ue.outside=XI;function XI(t,e,r,n){t=new Ce(t,n),e=new At(e,n);var i,s,a,c,l;switch(r){case">":i=UA,s=$I,a=Cm,c=">",l=">=";break;case"<":i=Cm,s=KI,a=UA,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(Bm(t,e,n))return!1;for(var A=0;A=0.0.0")),d=d||f,g=g||f,i(f.semver,d.semver,n)?d=f:a(f.semver,g.semver,n)&&(g=f)}),d.operator===c||d.operator===l||(!g.operator||g.operator===c)&&s(t,g.semver))return!1;if(g.operator===l&&a(t,g.semver))return!1}return!0}o(XI,"outside");ue.prerelease=Ole;function Ole(t,e){var r=Ro(t,e);return r&&r.prerelease.length?r.prerelease:null}o(Ole,"prerelease");ue.intersects=Mle;function Mle(t,e,r){return t=new At(t,r),e=new At(e,r),t.intersects(e)}o(Mle,"intersects");ue.coerce=kle;function kle(t,e){if(t instanceof Ce)return t;if(typeof t=="number"&&(t=String(t)),typeof t!="string")return null;e=e||{};var r=null;if(!e.rtl)r=t.match(ke[O.COERCE]);else{for(var n;(n=ke[O.COERCERTL].exec(t))&&(!r||r.index+r[0].length!==t.length);)(!r||n.index+n[0].length!==r.index+r[0].length)&&(r=n),ke[O.COERCERTL].lastIndex=n.index+n[1].length+n[2].length;ke[O.COERCERTL].lastIndex=-1}return r===null?null:Ro(r[2]+"."+(r[3]||"0")+"."+(r[4]||"0"),e)}o(kle,"coerce")});var HA=h(it=>{"use strict";Object.defineProperty(it,"__esModule",{value:!0});it.CacheFileSizeLimit=it.ManifestFilename=it.TarFilename=it.SystemTarPathOnWindows=it.GnuTarPathOnWindows=it.SocketTimeout=it.DefaultRetryDelay=it.DefaultRetryAttempts=it.ArchiveToolType=it.CompressionMethod=it.CacheFilename=void 0;var WF;(function(t){t.Gzip="cache.tgz",t.Zstd="cache.tzst"})(WF||(it.CacheFilename=WF={}));var KF;(function(t){t.Gzip="gzip",t.ZstdWithoutLong="zstd-without-long",t.Zstd="zstd"})(KF||(it.CompressionMethod=KF={}));var $F;(function(t){t.GNU="gnu",t.BSD="bsd"})($F||(it.ArchiveToolType=$F={}));it.DefaultRetryAttempts=2;it.DefaultRetryDelay=5e3;it.SocketTimeout=5e3;it.GnuTarPathOnWindows=`${process.env.PROGRAMFILES}\\Git\\usr\\bin\\tar.exe`;it.SystemTarPathOnWindows=`${process.env.SYSTEMDRIVE}\\Windows\\System32\\tar.exe`;it.TarFilename="cache.tar";it.ManifestFilename="manifest.txt";it.CacheFileSizeLimit=10*Math.pow(1024,3)});var uc=h(pt=>{"use strict";var Lle=pt&&pt.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),Fle=pt&&pt.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),Xi=pt&&pt.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;in+=i.toString(),stderr:i=>n+=i.toString()}})}catch(i){zA.debug(i.message)}return n=n.trim(),zA.debug(n),n})}o(eU,"getVersion");function Kle(){return Ac(this,void 0,void 0,function*(){let t=yield eU("zstd",["--quiet"]),e=zle.clean(t);return zA.debug(`zstd version: ${e}`),t===""?_o.CompressionMethod.Gzip:_o.CompressionMethod.ZstdWithoutLong})}o(Kle,"getCompressionMethod");function $le(t){return t===_o.CompressionMethod.Gzip?_o.CacheFilename.Gzip:_o.CacheFilename.Zstd}o($le,"getCacheFileName");function Xle(){return Ac(this,void 0,void 0,function*(){return ZI.existsSync(_o.GnuTarPathOnWindows)?_o.GnuTarPathOnWindows:(yield eU("tar")).toLowerCase().includes("gnu tar")?XF.which("tar"):""})}o(Xle,"getGnuTarPathOnWindows");function Zle(t,e){if(e===void 0)throw Error(`Expected ${t} but value was undefiend`);return e}o(Zle,"assertDefined");function eAe(t,e,r=!1){let n=t.slice();return e&&n.push(e),process.platform==="win32"&&!r&&n.push("windows-only"),n.push(Gle),ZF.createHash("sha256").update(n.join("|")).digest("hex")}o(eAe,"getCacheVersion");function tAe(){let t=process.env.ACTIONS_RUNTIME_TOKEN;if(!t)throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable");return t}o(tAe,"getRuntimeToken")});var Yr={};Ku(Yr,{__addDisposableResource:()=>wU,__assign:()=>bm,__asyncDelegator:()=>hU,__asyncGenerator:()=>fU,__asyncValues:()=>yU,__await:()=>dc,__awaiter:()=>AU,__classPrivateFieldGet:()=>IU,__classPrivateFieldIn:()=>QU,__classPrivateFieldSet:()=>bU,__createBinding:()=>wm,__decorate:()=>nU,__disposeResources:()=>NU,__esDecorate:()=>sU,__exportStar:()=>dU,__extends:()=>tU,__generator:()=>uU,__importDefault:()=>BU,__importStar:()=>EU,__makeTemplateObject:()=>CU,__metadata:()=>lU,__param:()=>iU,__propKey:()=>aU,__read:()=>rb,__rest:()=>rU,__rewriteRelativeImportExtension:()=>SU,__runInitializers:()=>oU,__setFunctionName:()=>cU,__spread:()=>pU,__spreadArray:()=>gU,__spreadArrays:()=>mU,__values:()=>Qm,default:()=>iAe});function tU(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");eb(t,e);function r(){this.constructor=t}o(r,"__"),t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}function rU(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(t);i=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s}function iU(t,e){return function(r,n){e(r,n,t)}}function sU(t,e,r,n,i,s){function a(w){if(w!==void 0&&typeof w!="function")throw new TypeError("Function expected");return w}o(a,"accept");for(var c=n.kind,l=c==="getter"?"get":c==="setter"?"set":"value",A=!e&&t?n.static?t:t.prototype:null,u=e||(A?Object.getOwnPropertyDescriptor(A,n.name):{}),d,g=!1,f=r.length-1;f>=0;f--){var C={};for(var Q in n)C[Q]=Q==="access"?{}:n[Q];for(var Q in n.access)C.access[Q]=n.access[Q];C.addInitializer=function(w){if(g)throw new TypeError("Cannot add initializers after decoration has completed");s.push(a(w||null))};var x=(0,r[f])(c==="accessor"?{get:u.get,set:u.set}:u[l],C);if(c==="accessor"){if(x===void 0)continue;if(x===null||typeof x!="object")throw new TypeError("Object expected");(d=a(x.get))&&(u.get=d),(d=a(x.set))&&(u.set=d),(d=a(x.init))&&i.unshift(d)}else(d=a(x))&&(c==="field"?i.unshift(d):u[l]=d)}A&&Object.defineProperty(A,n.name,u),g=!0}function oU(t,e,r){for(var n=arguments.length>2,i=0;i0&&s[s.length-1])&&(A[0]===6||A[0]===2)){r=0;continue}if(A[0]===3&&(!s||A[1]>s[0]&&A[1]=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function rb(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,s=[],a;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)s.push(i.value)}catch(c){a={error:c}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(a)throw a.error}}return s}function pU(){for(var t=[],e=0;e1||l(f,Q)})},C&&(i[f]=C(i[f])))}function l(f,C){try{A(n[f](C))}catch(Q){g(s[0][3],Q)}}function A(f){f.value instanceof dc?Promise.resolve(f.value.v).then(u,d):g(s[0][2],f)}function u(f){l("next",f)}function d(f){l("throw",f)}function g(f,C){f(C),s.shift(),s.length&&l(s[0][0],s[0][1])}}function hU(t){var e,r;return e={},n("next"),n("throw",function(i){throw i}),n("return"),e[Symbol.iterator]=function(){return this},e;function n(i,s){e[i]=t[i]?function(a){return(r=!r)?{value:dc(t[i](a)),done:!1}:s?s(a):a}:s}}function yU(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof Qm=="function"?Qm(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(s){r[s]=t[s]&&function(a){return new Promise(function(c,l){a=t[s](a),i(c,l,a.done,a.value)})}}function i(s,a,c,l){Promise.resolve(l).then(function(A){s({value:A,done:c})},a)}}function CU(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function EU(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r=tb(t),n=0;n{eb=o(function(t,e){return eb=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},eb(t,e)},"extendStatics");o(tU,"__extends");bm=o(function(){return bm=Object.assign||o(function(e){for(var r,n=1,i=arguments.length;n{var ib=Object.defineProperty,sAe=Object.getOwnPropertyDescriptor,oAe=Object.getOwnPropertyNames,aAe=Object.prototype.hasOwnProperty,cAe=o((t,e)=>{for(var r in e)ib(t,r,{get:e[r],enumerable:!0})},"__export"),lAe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of oAe(e))!aAe.call(t,i)&&i!==r&&ib(t,i,{get:()=>e[i],enumerable:!(n=sAe(e,i))||n.enumerable});return t},"__copyProps"),AAe=o(t=>lAe(ib({},"__esModule",{value:!0}),t),"__toCommonJS"),xU={};cAe(xU,{AbortError:()=>nb});vU.exports=AAe(xU);var nb=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}}});var TU=h((D2e,DU)=>{var uAe=Object.create,Nm=Object.defineProperty,dAe=Object.getOwnPropertyDescriptor,pAe=Object.getOwnPropertyNames,mAe=Object.getPrototypeOf,gAe=Object.prototype.hasOwnProperty,fAe=o((t,e)=>{for(var r in e)Nm(t,r,{get:e[r],enumerable:!0})},"__export"),RU=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of pAe(e))!gAe.call(t,i)&&i!==r&&Nm(t,i,{get:()=>e[i],enumerable:!(n=dAe(e,i))||n.enumerable});return t},"__copyProps"),_U=o((t,e,r)=>(r=t!=null?uAe(mAe(t)):{},RU(e||!t||!t.__esModule?Nm(r,"default",{value:t,enumerable:!0}):r,t)),"__toESM"),hAe=o(t=>RU(Nm({},"__esModule",{value:!0}),t),"__toCommonJS"),PU={};fAe(PU,{log:()=>BAe});DU.exports=hAe(PU);var yAe=require("node:os"),CAe=_U(require("node:util")),EAe=_U(require("node:process"));function BAe(t,...e){EAe.default.stderr.write(`${CAe.default.format(t,...e)}${yAe.EOL}`)}o(BAe,"log")});var HU=h((O2e,qU)=>{var ab=Object.defineProperty,IAe=Object.getOwnPropertyDescriptor,bAe=Object.getOwnPropertyNames,QAe=Object.prototype.hasOwnProperty,wAe=o((t,e)=>{for(var r in e)ab(t,r,{get:e[r],enumerable:!0})},"__export"),NAe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of bAe(e))!QAe.call(t,i)&&i!==r&&ab(t,i,{get:()=>e[i],enumerable:!(n=IAe(e,i))||n.enumerable});return t},"__copyProps"),SAe=o(t=>NAe(ab({},"__esModule",{value:!0}),t),"__toCommonJS"),kU={};wAe(kU,{default:()=>PAe});qU.exports=SAe(kU);var xAe=TU(),OU=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,LU,sb=[],ob=[],Sm=[];OU&&cb(OU);var FU=Object.assign(t=>UU(t),{enable:cb,enabled:lb,disable:vAe,log:xAe.log});function cb(t){LU=t,sb=[],ob=[];let e=t.split(",").map(r=>r.trim());for(let r of e)r.startsWith("-")?ob.push(r.substring(1)):sb.push(r);for(let r of Sm)r.enabled=lb(r.namespace)}o(cb,"enable");function lb(t){if(t.endsWith("*"))return!0;for(let e of ob)if(MU(t,e))return!1;for(let e of sb)if(MU(t,e))return!0;return!1}o(lb,"enabled");function MU(t,e){if(e.indexOf("*")===-1)return t===e;let r=e;if(e.indexOf("**")!==-1){let g=[],f="";for(let C of e)C==="*"&&f==="*"||(f=C,g.push(C));r=g.join("")}let n=0,i=0,s=r.length,a=t.length,c=-1,l=-1;for(;n=0){if(i=c+1,n=l+1,n===a)return!1;for(;t[n]!==r[i];)if(n++,n===a)return!1;l=n,n++,i++;continue}else return!1;let A=n===t.length,u=i===r.length,d=i===r.length-1&&r[i]==="*";return A&&(u||d)}o(MU,"namespaceMatches");function vAe(){let t=LU||"";return cb(""),t}o(vAe,"disable");function UU(t){let e=Object.assign(r,{enabled:lb(t),destroy:RAe,log:FU.log,namespace:t,extend:_Ae});function r(...n){e.enabled&&(n.length>0&&(n[0]=`${t} ${n[0]}`),e.log(...n))}return o(r,"debug"),Sm.push(e),e}o(UU,"createDebugger");function RAe(){let t=Sm.indexOf(this);return t>=0?(Sm.splice(t,1),!0):!1}o(RAe,"destroy");function _Ae(t){let e=UU(`${this.namespace}:${t}`);return e.log=this.log,e}o(_Ae,"extend");var PAe=FU});var YA=h((k2e,WU)=>{var DAe=Object.create,xm=Object.defineProperty,TAe=Object.getOwnPropertyDescriptor,OAe=Object.getOwnPropertyNames,MAe=Object.getPrototypeOf,kAe=Object.prototype.hasOwnProperty,LAe=o((t,e)=>{for(var r in e)xm(t,r,{get:e[r],enumerable:!0})},"__export"),YU=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of OAe(e))!kAe.call(t,i)&&i!==r&&xm(t,i,{get:()=>e[i],enumerable:!(n=TAe(e,i))||n.enumerable});return t},"__copyProps"),FAe=o((t,e,r)=>(r=t!=null?DAe(MAe(t)):{},YU(e||!t||!t.__esModule?xm(r,"default",{value:t,enumerable:!0}):r,t)),"__toESM"),UAe=o(t=>YU(xm({},"__esModule",{value:!0}),t),"__toCommonJS"),JU={};LAe(JU,{TypeSpecRuntimeLogger:()=>qAe,createClientLogger:()=>jAe,createLoggerContext:()=>VU,getLogLevel:()=>zAe,setLogLevel:()=>HAe});WU.exports=UAe(JU);var GA=FAe(HU()),Ab=["verbose","info","warning","error"],zU={verbose:400,info:300,warning:200,error:100};function jU(t,e){e.log=(...r)=>{t.log(...r)}}o(jU,"patchLogMethod");function GU(t){return Ab.includes(t)}o(GU,"isTypeSpecRuntimeLogLevel");function VU(t){let e=new Set,r=typeof process<"u"&&process.env&&process.env[t.logLevelEnvVarName]||void 0,n,i=(0,GA.default)(t.namespace);i.log=(...u)=>{GA.default.log(...u)};function s(u){if(u&&!GU(u))throw new Error(`Unknown log level '${u}'. Acceptable values: ${Ab.join(",")}`);n=u;let d=[];for(let g of e)a(g)&&d.push(g.namespace);GA.default.enable(d.join(","))}o(s,"contextSetLogLevel"),r&&(GU(r)?s(r):console.error(`${t.logLevelEnvVarName} set to unknown log level '${r}'; logging is not enabled. Acceptable values: ${Ab.join(", ")}.`));function a(u){return!!(n&&zU[u.level]<=zU[n])}o(a,"shouldEnable");function c(u,d){let g=Object.assign(u.extend(d),{level:d});if(jU(u,g),a(g)){let f=GA.default.disable();GA.default.enable(f+","+g.namespace)}return e.add(g),g}o(c,"createLogger");function l(){return n}o(l,"contextGetLogLevel");function A(u){let d=i.extend(u);return jU(i,d),{error:c(d,"error"),warning:c(d,"warning"),info:c(d,"info"),verbose:c(d,"verbose")}}return o(A,"contextCreateClientLogger"),{setLogLevel:s,getLogLevel:l,createClientLogger:A,logger:i}}o(VU,"createLoggerContext");var vm=VU({logLevelEnvVarName:"TYPESPEC_RUNTIME_LOG_LEVEL",namespace:"typeSpecRuntime"}),qAe=vm.logger;function HAe(t){vm.setLogLevel(t)}o(HAe,"setLogLevel");function zAe(){return vm.getLogLevel()}o(zAe,"getLogLevel");function jAe(t){return vm.createClientLogger(t)}o(jAe,"createClientLogger")});var _s=h((F2e,$U)=>{var db=Object.defineProperty,GAe=Object.getOwnPropertyDescriptor,YAe=Object.getOwnPropertyNames,JAe=Object.prototype.hasOwnProperty,VAe=o((t,e)=>{for(var r in e)db(t,r,{get:e[r],enumerable:!0})},"__export"),WAe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of YAe(e))!JAe.call(t,i)&&i!==r&&db(t,i,{get:()=>e[i],enumerable:!(n=GAe(e,i))||n.enumerable});return t},"__copyProps"),KAe=o(t=>WAe(db({},"__esModule",{value:!0}),t),"__toCommonJS"),KU={};VAe(KU,{createHttpHeaders:()=>XAe});$U.exports=KAe(KU);function Rm(t){return t.toLowerCase()}o(Rm,"normalizeName");function*$Ae(t){for(let e of t.values())yield[e.name,e.value]}o($Ae,"headerIterator");var ub=class{static{o(this,"HttpHeadersImpl")}_headersMap;constructor(e){if(this._headersMap=new Map,e)for(let r of Object.keys(e))this.set(r,e[r])}set(e,r){this._headersMap.set(Rm(e),{name:e,value:String(r).trim()})}get(e){return this._headersMap.get(Rm(e))?.value}has(e){return this._headersMap.has(Rm(e))}delete(e){this._headersMap.delete(Rm(e))}toJSON(e={}){let r={};if(e.preserveCase)for(let n of this._headersMap.values())r[n.name]=n.value;else for(let[n,i]of this._headersMap)r[n]=i.value;return r}toString(){return JSON.stringify(this.toJSON({preserveCase:!0}))}[Symbol.iterator](){return $Ae(this._headersMap)}};function XAe(t){return new ub(t)}o(XAe,"createHttpHeaders")});var _m=h((q2e,ZU)=>{var pb=Object.defineProperty,ZAe=Object.getOwnPropertyDescriptor,eue=Object.getOwnPropertyNames,tue=Object.prototype.hasOwnProperty,rue=o((t,e)=>{for(var r in e)pb(t,r,{get:e[r],enumerable:!0})},"__export"),nue=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of eue(e))!tue.call(t,i)&&i!==r&&pb(t,i,{get:()=>e[i],enumerable:!(n=ZAe(e,i))||n.enumerable});return t},"__copyProps"),iue=o(t=>nue(pb({},"__esModule",{value:!0}),t),"__toCommonJS"),XU={};rue(XU,{randomUUID:()=>sue});ZU.exports=iue(XU);function sue(){return crypto.randomUUID()}o(sue,"randomUUID")});var fb=h((z2e,tq)=>{var gb=Object.defineProperty,oue=Object.getOwnPropertyDescriptor,aue=Object.getOwnPropertyNames,cue=Object.prototype.hasOwnProperty,lue=o((t,e)=>{for(var r in e)gb(t,r,{get:e[r],enumerable:!0})},"__export"),Aue=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of aue(e))!cue.call(t,i)&&i!==r&&gb(t,i,{get:()=>e[i],enumerable:!(n=oue(e,i))||n.enumerable});return t},"__copyProps"),uue=o(t=>Aue(gb({},"__esModule",{value:!0}),t),"__toCommonJS"),eq={};lue(eq,{createPipelineRequest:()=>mue});tq.exports=uue(eq);var due=_s(),pue=_m(),mb=class{static{o(this,"PipelineRequestImpl")}url;method;headers;timeout;withCredentials;body;multipartBody;formData;streamResponseStatusCodes;enableBrowserStreams;proxySettings;disableKeepAlive;abortSignal;requestId;allowInsecureConnection;onUploadProgress;onDownloadProgress;requestOverrides;authSchemes;constructor(e){this.url=e.url,this.body=e.body,this.headers=e.headers??(0,due.createHttpHeaders)(),this.method=e.method??"GET",this.timeout=e.timeout??0,this.multipartBody=e.multipartBody,this.formData=e.formData,this.disableKeepAlive=e.disableKeepAlive??!1,this.proxySettings=e.proxySettings,this.streamResponseStatusCodes=e.streamResponseStatusCodes,this.withCredentials=e.withCredentials??!1,this.abortSignal=e.abortSignal,this.onUploadProgress=e.onUploadProgress,this.onDownloadProgress=e.onDownloadProgress,this.requestId=e.requestId||(0,pue.randomUUID)(),this.allowInsecureConnection=e.allowInsecureConnection??!1,this.enableBrowserStreams=e.enableBrowserStreams??!1,this.requestOverrides=e.requestOverrides,this.authSchemes=e.authSchemes}};function mue(t){return new mb(t)}o(mue,"createPipelineRequest")});var Cb=h((G2e,iq)=>{var yb=Object.defineProperty,gue=Object.getOwnPropertyDescriptor,fue=Object.getOwnPropertyNames,hue=Object.prototype.hasOwnProperty,yue=o((t,e)=>{for(var r in e)yb(t,r,{get:e[r],enumerable:!0})},"__export"),Cue=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of fue(e))!hue.call(t,i)&&i!==r&&yb(t,i,{get:()=>e[i],enumerable:!(n=gue(e,i))||n.enumerable});return t},"__copyProps"),Eue=o(t=>Cue(yb({},"__esModule",{value:!0}),t),"__toCommonJS"),nq={};yue(nq,{createEmptyPipeline:()=>Bue});iq.exports=Eue(nq);var rq=new Set(["Deserialize","Serialize","Retry","Sign"]),hb=class t{static{o(this,"HttpPipeline")}_policies=[];_orderedPolicies;constructor(e){this._policies=e?.slice(0)??[],this._orderedPolicies=void 0}addPolicy(e,r={}){if(r.phase&&r.afterPhase)throw new Error("Policies inside a phase cannot specify afterPhase.");if(r.phase&&!rq.has(r.phase))throw new Error(`Invalid phase name: ${r.phase}`);if(r.afterPhase&&!rq.has(r.afterPhase))throw new Error(`Invalid afterPhase name: ${r.afterPhase}`);this._policies.push({policy:e,options:r}),this._orderedPolicies=void 0}removePolicy(e){let r=[];return this._policies=this._policies.filter(n=>e.name&&n.policy.name===e.name||e.phase&&n.options.phase===e.phase?(r.push(n.policy),!1):!0),this._orderedPolicies=void 0,r}sendRequest(e,r){return this.getOrderedPolicies().reduceRight((s,a)=>c=>a.sendRequest(c,s),s=>e.sendRequest(s))(r)}getOrderedPolicies(){return this._orderedPolicies||(this._orderedPolicies=this.orderPolicies()),this._orderedPolicies}clone(){return new t(this._policies)}static create(){return new t}orderPolicies(){let e=[],r=new Map;function n(C){return{name:C,policies:new Set,hasRun:!1,hasAfterPolicies:!1}}o(n,"createPhase");let i=n("Serialize"),s=n("None"),a=n("Deserialize"),c=n("Retry"),l=n("Sign"),A=[i,s,a,c,l];function u(C){return C==="Retry"?c:C==="Serialize"?i:C==="Deserialize"?a:C==="Sign"?l:s}o(u,"getPhase");for(let C of this._policies){let Q=C.policy,x=C.options,w=Q.name;if(r.has(w))throw new Error("Duplicate policy names not allowed in pipeline");let v={policy:Q,dependsOn:new Set,dependants:new Set};x.afterPhase&&(v.afterPhase=u(x.afterPhase),v.afterPhase.hasAfterPolicies=!0),r.set(w,v),u(x.phase).policies.add(v)}for(let C of this._policies){let{policy:Q,options:x}=C,w=Q.name,v=r.get(w);if(!v)throw new Error(`Missing node for policy ${w}`);if(x.afterPolicies)for(let T of x.afterPolicies){let L=r.get(T);L&&(v.dependsOn.add(L),L.dependants.add(v))}if(x.beforePolicies)for(let T of x.beforePolicies){let L=r.get(T);L&&(L.dependsOn.add(v),v.dependants.add(L))}}function d(C){C.hasRun=!0;for(let Q of C.policies)if(!(Q.afterPhase&&(!Q.afterPhase.hasRun||Q.afterPhase.policies.size))&&Q.dependsOn.size===0){e.push(Q.policy);for(let x of Q.dependants)x.dependsOn.delete(Q);r.delete(Q.policy.name),C.policies.delete(Q)}}o(d,"walkPhase");function g(){for(let C of A){if(d(C),C.policies.size>0&&C!==s){s.hasRun||d(s);return}C.hasAfterPolicies&&d(s)}}o(g,"walkPhases");let f=0;for(;r.size>0;){f++;let C=e.length;if(g(),e.length<=C&&f>1)throw new Error("Cannot satisfy policy dependencies due to requirements cycle.")}return e}};function Bue(){return hb.create()}o(Bue,"createEmptyPipeline")});var Pm=h((J2e,oq)=>{var Eb=Object.defineProperty,Iue=Object.getOwnPropertyDescriptor,bue=Object.getOwnPropertyNames,Que=Object.prototype.hasOwnProperty,wue=o((t,e)=>{for(var r in e)Eb(t,r,{get:e[r],enumerable:!0})},"__export"),Nue=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of bue(e))!Que.call(t,i)&&i!==r&&Eb(t,i,{get:()=>e[i],enumerable:!(n=Iue(e,i))||n.enumerable});return t},"__copyProps"),Sue=o(t=>Nue(Eb({},"__esModule",{value:!0}),t),"__toCommonJS"),sq={};wue(sq,{isObject:()=>xue});oq.exports=Sue(sq);function xue(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}o(xue,"isObject")});var Ib=h((W2e,cq)=>{var Bb=Object.defineProperty,vue=Object.getOwnPropertyDescriptor,Rue=Object.getOwnPropertyNames,_ue=Object.prototype.hasOwnProperty,Pue=o((t,e)=>{for(var r in e)Bb(t,r,{get:e[r],enumerable:!0})},"__export"),Due=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Rue(e))!_ue.call(t,i)&&i!==r&&Bb(t,i,{get:()=>e[i],enumerable:!(n=vue(e,i))||n.enumerable});return t},"__copyProps"),Tue=o(t=>Due(Bb({},"__esModule",{value:!0}),t),"__toCommonJS"),aq={};Pue(aq,{isError:()=>Mue});cq.exports=Tue(aq);var Oue=Pm();function Mue(t){if((0,Oue.isObject)(t)){let e=typeof t.name=="string",r=typeof t.message=="string";return e&&r}return!1}o(Mue,"isError")});var uq=h(($2e,Aq)=>{var bb=Object.defineProperty,kue=Object.getOwnPropertyDescriptor,Lue=Object.getOwnPropertyNames,Fue=Object.prototype.hasOwnProperty,Uue=o((t,e)=>{for(var r in e)bb(t,r,{get:e[r],enumerable:!0})},"__export"),que=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Lue(e))!Fue.call(t,i)&&i!==r&&bb(t,i,{get:()=>e[i],enumerable:!(n=kue(e,i))||n.enumerable});return t},"__copyProps"),Hue=o(t=>que(bb({},"__esModule",{value:!0}),t),"__toCommonJS"),lq={};Uue(lq,{custom:()=>jue});Aq.exports=Hue(lq);var zue=require("node:util"),jue=zue.inspect.custom});var JA=h((Z2e,pq)=>{var Nb=Object.defineProperty,Gue=Object.getOwnPropertyDescriptor,Yue=Object.getOwnPropertyNames,Jue=Object.prototype.hasOwnProperty,Vue=o((t,e)=>{for(var r in e)Nb(t,r,{get:e[r],enumerable:!0})},"__export"),Wue=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Yue(e))!Jue.call(t,i)&&i!==r&&Nb(t,i,{get:()=>e[i],enumerable:!(n=Gue(e,i))||n.enumerable});return t},"__copyProps"),Kue=o(t=>Wue(Nb({},"__esModule",{value:!0}),t),"__toCommonJS"),dq={};Vue(dq,{Sanitizer:()=>wb});pq.exports=Kue(dq);var $ue=Pm(),Qb="REDACTED",Xue=["x-ms-client-request-id","x-ms-return-client-request-id","x-ms-useragent","x-ms-correlation-request-id","x-ms-request-id","client-request-id","ms-cv","return-client-request-id","traceparent","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Origin","Accept","Accept-Encoding","Cache-Control","Connection","Content-Length","Content-Type","Date","ETag","Expires","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","Last-Modified","Pragma","Request-Id","Retry-After","Server","Transfer-Encoding","User-Agent","WWW-Authenticate"],Zue=["api-version"],wb=class{static{o(this,"Sanitizer")}allowedHeaderNames;allowedQueryParameters;constructor({additionalAllowedHeaderNames:e=[],additionalAllowedQueryParameters:r=[]}={}){e=Xue.concat(e),r=Zue.concat(r),this.allowedHeaderNames=new Set(e.map(n=>n.toLowerCase())),this.allowedQueryParameters=new Set(r.map(n=>n.toLowerCase()))}sanitize(e){let r=new Set;return JSON.stringify(e,(n,i)=>{if(i instanceof Error)return{...i,name:i.name,message:i.message};if(n==="headers")return this.sanitizeHeaders(i);if(n==="url")return this.sanitizeUrl(i);if(n==="query")return this.sanitizeQuery(i);if(n==="body")return;if(n==="response")return;if(n==="operationSpec")return;if(Array.isArray(i)||(0,$ue.isObject)(i)){if(r.has(i))return"[Circular]";r.add(i)}return i},2)}sanitizeUrl(e){if(typeof e!="string"||e===null||e==="")return e;let r=new URL(e);if(!r.search)return e;for(let[n]of r.searchParams)this.allowedQueryParameters.has(n.toLowerCase())||r.searchParams.set(n,Qb);return r.toString()}sanitizeHeaders(e){let r={};for(let n of Object.keys(e))this.allowedHeaderNames.has(n.toLowerCase())?r[n]=e[n]:r[n]=Qb;return r}sanitizeQuery(e){if(typeof e!="object"||e===null)return e;let r={};for(let n of Object.keys(e))this.allowedQueryParameters.has(n.toLowerCase())?r[n]=e[n]:r[n]=Qb;return r}}});var pc=h((tze,gq)=>{var Sb=Object.defineProperty,ede=Object.getOwnPropertyDescriptor,tde=Object.getOwnPropertyNames,rde=Object.prototype.hasOwnProperty,nde=o((t,e)=>{for(var r in e)Sb(t,r,{get:e[r],enumerable:!0})},"__export"),ide=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of tde(e))!rde.call(t,i)&&i!==r&&Sb(t,i,{get:()=>e[i],enumerable:!(n=ede(e,i))||n.enumerable});return t},"__copyProps"),sde=o(t=>ide(Sb({},"__esModule",{value:!0}),t),"__toCommonJS"),mq={};nde(mq,{RestError:()=>Dm,isRestError:()=>Ade});gq.exports=sde(mq);var ode=Ib(),ade=uq(),cde=JA(),lde=new cde.Sanitizer,Dm=class t extends Error{static{o(this,"RestError")}static REQUEST_SEND_ERROR="REQUEST_SEND_ERROR";static PARSE_ERROR="PARSE_ERROR";code;statusCode;request;response;details;constructor(e,r={}){super(e),this.name="RestError",this.code=r.code,this.statusCode=r.statusCode,Object.defineProperty(this,"request",{value:r.request,enumerable:!1}),Object.defineProperty(this,"response",{value:r.response,enumerable:!1});let n=this.request?.agent?{maxFreeSockets:this.request.agent.maxFreeSockets,maxSockets:this.request.agent.maxSockets}:void 0;Object.defineProperty(this,ade.custom,{value:()=>`RestError: ${this.message} - ${lde.sanitize({...this,request:{...this.request,agent:n},response:this.response})}`,enumerable:!1}),Object.setPrototypeOf(this,t.prototype)}};function Ade(t){return t instanceof Dm?!0:(0,ode.isError)(t)&&t.name==="RestError"}o(Ade,"isRestError")});var Po=h((nze,hq)=>{var xb=Object.defineProperty,ude=Object.getOwnPropertyDescriptor,dde=Object.getOwnPropertyNames,pde=Object.prototype.hasOwnProperty,mde=o((t,e)=>{for(var r in e)xb(t,r,{get:e[r],enumerable:!0})},"__export"),gde=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of dde(e))!pde.call(t,i)&&i!==r&&xb(t,i,{get:()=>e[i],enumerable:!(n=ude(e,i))||n.enumerable});return t},"__copyProps"),fde=o(t=>gde(xb({},"__esModule",{value:!0}),t),"__toCommonJS"),fq={};mde(fq,{stringToUint8Array:()=>yde,uint8ArrayToString:()=>hde});hq.exports=fde(fq);function hde(t,e){return Buffer.from(t).toString(e)}o(hde,"uint8ArrayToString");function yde(t,e){return Buffer.from(t,e)}o(yde,"stringToUint8Array")});var mc=h((sze,Cq)=>{var vb=Object.defineProperty,Cde=Object.getOwnPropertyDescriptor,Ede=Object.getOwnPropertyNames,Bde=Object.prototype.hasOwnProperty,Ide=o((t,e)=>{for(var r in e)vb(t,r,{get:e[r],enumerable:!0})},"__export"),bde=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ede(e))!Bde.call(t,i)&&i!==r&&vb(t,i,{get:()=>e[i],enumerable:!(n=Cde(e,i))||n.enumerable});return t},"__copyProps"),Qde=o(t=>bde(vb({},"__esModule",{value:!0}),t),"__toCommonJS"),yq={};Ide(yq,{logger:()=>Nde});Cq.exports=Qde(yq);var wde=YA(),Nde=(0,wde.createClientLogger)("ts-http-runtime")});var xq=h((aze,Sq)=>{var Sde=Object.create,Om=Object.defineProperty,xde=Object.getOwnPropertyDescriptor,vde=Object.getOwnPropertyNames,Rde=Object.getPrototypeOf,_de=Object.prototype.hasOwnProperty,Pde=o((t,e)=>{for(var r in e)Om(t,r,{get:e[r],enumerable:!0})},"__export"),bq=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of vde(e))!_de.call(t,i)&&i!==r&&Om(t,i,{get:()=>e[i],enumerable:!(n=xde(e,i))||n.enumerable});return t},"__copyProps"),Db=o((t,e,r)=>(r=t!=null?Sde(Rde(t)):{},bq(e||!t||!t.__esModule?Om(r,"default",{value:t,enumerable:!0}):r,t)),"__toESM"),Dde=o(t=>bq(Om({},"__esModule",{value:!0}),t),"__toCommonJS"),Qq={};Pde(Qq,{createNodeHttpClient:()=>qde,getBodyLength:()=>Nq});Sq.exports=Dde(Qq);var Rb=Db(require("node:http")),_b=Db(require("node:https")),Eq=Db(require("node:zlib")),Tde=require("node:stream"),Bq=jA(),Ode=_s(),WA=pc(),gc=mc(),Mde=JA(),kde={};function VA(t){return t&&typeof t.pipe=="function"}o(VA,"isReadableStream");function Iq(t){return t.readable===!1?Promise.resolve():new Promise(e=>{let r=o(()=>{e(),t.removeListener("close",r),t.removeListener("end",r),t.removeListener("error",r)},"handler");t.on("close",r),t.on("end",r),t.on("error",r)})}o(Iq,"isStreamComplete");function wq(t){return t&&typeof t.byteLength=="number"}o(wq,"isArrayBuffer");var Tm=class extends Tde.Transform{static{o(this,"ReportTransform")}loadedBytes=0;progressCallback;_transform(e,r,n){this.push(e),this.loadedBytes+=e.length;try{this.progressCallback({loadedBytes:this.loadedBytes}),n()}catch(i){n(i)}}constructor(e){super(),this.progressCallback=e}},Pb=class{static{o(this,"NodeHttpClient")}cachedHttpAgent;cachedHttpsAgents=new WeakMap;async sendRequest(e){let r=new AbortController,n;if(e.abortSignal){if(e.abortSignal.aborted)throw new Bq.AbortError("The operation was aborted. Request has already been canceled.");n=o(A=>{A.type==="abort"&&r.abort()},"abortListener"),e.abortSignal.addEventListener("abort",n)}let i;e.timeout>0&&(i=setTimeout(()=>{let A=new Mde.Sanitizer;gc.logger.info(`request to '${A.sanitizeUrl(e.url)}' timed out. canceling...`),r.abort()},e.timeout));let s=e.headers.get("Accept-Encoding"),a=s?.includes("gzip")||s?.includes("deflate"),c=typeof e.body=="function"?e.body():e.body;if(c&&!e.headers.has("Content-Length")){let A=Nq(c);A!==null&&e.headers.set("Content-Length",A)}let l;try{if(c&&e.onUploadProgress){let C=e.onUploadProgress,Q=new Tm(C);Q.on("error",x=>{gc.logger.error("Error in upload progress",x)}),VA(c)?c.pipe(Q):Q.end(c),c=Q}let A=await this.makeRequest(e,r,c);i!==void 0&&clearTimeout(i);let u=Lde(A),g={status:A.statusCode??0,headers:u,request:e};if(e.method==="HEAD")return A.resume(),g;l=a?Fde(A,u):A;let f=e.onDownloadProgress;if(f){let C=new Tm(f);C.on("error",Q=>{gc.logger.error("Error in download progress",Q)}),l.pipe(C),l=C}return e.streamResponseStatusCodes?.has(Number.POSITIVE_INFINITY)||e.streamResponseStatusCodes?.has(g.status)?g.readableStreamBody=l:g.bodyAsText=await Ude(l),g}finally{if(e.abortSignal&&n){let A=Promise.resolve();VA(c)&&(A=Iq(c));let u=Promise.resolve();VA(l)&&(u=Iq(l)),Promise.all([A,u]).then(()=>{n&&e.abortSignal?.removeEventListener("abort",n)}).catch(d=>{gc.logger.warning("Error when cleaning up abortListener on httpRequest",d)})}}}makeRequest(e,r,n){let i=new URL(e.url),s=i.protocol!=="https:";if(s&&!e.allowInsecureConnection)throw new Error(`Cannot connect to ${e.url} while allowInsecureConnection is false.`);let c={agent:e.agent??this.getOrCreateAgent(e,s),hostname:i.hostname,path:`${i.pathname}${i.search}`,port:i.port,method:e.method,headers:e.headers.toJSON({preserveCase:!0}),...e.requestOverrides};return new Promise((l,A)=>{let u=s?Rb.default.request(c,l):_b.default.request(c,l);u.once("error",d=>{A(new WA.RestError(d.message,{code:d.code??WA.RestError.REQUEST_SEND_ERROR,request:e}))}),r.signal.addEventListener("abort",()=>{let d=new Bq.AbortError("The operation was aborted. Rejecting from abort signal callback while making request.");u.destroy(d),A(d)}),n&&VA(n)?n.pipe(u):n?typeof n=="string"||Buffer.isBuffer(n)?u.end(n):wq(n)?u.end(ArrayBuffer.isView(n)?Buffer.from(n.buffer):Buffer.from(n)):(gc.logger.error("Unrecognized body type",n),A(new WA.RestError("Unrecognized body type"))):u.end()})}getOrCreateAgent(e,r){let n=e.disableKeepAlive;if(r)return n?Rb.default.globalAgent:(this.cachedHttpAgent||(this.cachedHttpAgent=new Rb.default.Agent({keepAlive:!0})),this.cachedHttpAgent);{if(n&&!e.tlsSettings)return _b.default.globalAgent;let i=e.tlsSettings??kde,s=this.cachedHttpsAgents.get(i);return s&&s.options.keepAlive===!n||(gc.logger.info("No cached TLS Agent exist, creating a new Agent"),s=new _b.default.Agent({keepAlive:!n,...i}),this.cachedHttpsAgents.set(i,s)),s}}};function Lde(t){let e=(0,Ode.createHttpHeaders)();for(let r of Object.keys(t.headers)){let n=t.headers[r];Array.isArray(n)?n.length>0&&e.set(r,n[0]):n&&e.set(r,n)}return e}o(Lde,"getResponseHeaders");function Fde(t,e){let r=e.get("Content-Encoding");if(r==="gzip"){let n=Eq.default.createGunzip();return t.pipe(n),n}else if(r==="deflate"){let n=Eq.default.createInflate();return t.pipe(n),n}return t}o(Fde,"getDecodedResponseStream");function Ude(t){return new Promise((e,r)=>{let n=[];t.on("data",i=>{Buffer.isBuffer(i)?n.push(i):n.push(Buffer.from(i))}),t.on("end",()=>{e(Buffer.concat(n).toString("utf8"))}),t.on("error",i=>{i&&i?.name==="AbortError"?r(i):r(new WA.RestError(`Error reading response as text: ${i.message}`,{code:WA.RestError.PARSE_ERROR}))})})}o(Ude,"streamToText");function Nq(t){return t?Buffer.isBuffer(t)?t.length:VA(t)?null:wq(t)?t.byteLength:typeof t=="string"?Buffer.from(t).length:null:0}o(Nq,"getBodyLength");function qde(){return new Pb}o(qde,"createNodeHttpClient")});var Ob=h((lze,Rq)=>{var Tb=Object.defineProperty,Hde=Object.getOwnPropertyDescriptor,zde=Object.getOwnPropertyNames,jde=Object.prototype.hasOwnProperty,Gde=o((t,e)=>{for(var r in e)Tb(t,r,{get:e[r],enumerable:!0})},"__export"),Yde=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of zde(e))!jde.call(t,i)&&i!==r&&Tb(t,i,{get:()=>e[i],enumerable:!(n=Hde(e,i))||n.enumerable});return t},"__copyProps"),Jde=o(t=>Yde(Tb({},"__esModule",{value:!0}),t),"__toCommonJS"),vq={};Gde(vq,{createDefaultHttpClient:()=>Wde});Rq.exports=Jde(vq);var Vde=xq();function Wde(){return(0,Vde.createNodeHttpClient)()}o(Wde,"createDefaultHttpClient")});var kb=h((uze,Dq)=>{var Mb=Object.defineProperty,Kde=Object.getOwnPropertyDescriptor,$de=Object.getOwnPropertyNames,Xde=Object.prototype.hasOwnProperty,Zde=o((t,e)=>{for(var r in e)Mb(t,r,{get:e[r],enumerable:!0})},"__export"),epe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of $de(e))!Xde.call(t,i)&&i!==r&&Mb(t,i,{get:()=>e[i],enumerable:!(n=Kde(e,i))||n.enumerable});return t},"__copyProps"),tpe=o(t=>epe(Mb({},"__esModule",{value:!0}),t),"__toCommonJS"),_q={};Zde(_q,{logPolicy:()=>ipe,logPolicyName:()=>Pq});Dq.exports=tpe(_q);var rpe=mc(),npe=JA(),Pq="logPolicy";function ipe(t={}){let e=t.logger??rpe.logger.info,r=new npe.Sanitizer({additionalAllowedHeaderNames:t.additionalAllowedHeaderNames,additionalAllowedQueryParameters:t.additionalAllowedQueryParameters});return{name:Pq,async sendRequest(n,i){if(!e.enabled)return i(n);e(`Request: ${r.sanitize(n)}`);let s=await i(n);return e(`Response status code: ${s.status}`),e(`Headers: ${r.sanitize(s.headers)}`),s}}}o(ipe,"logPolicy")});var Fb=h((pze,Lq)=>{var Lb=Object.defineProperty,spe=Object.getOwnPropertyDescriptor,ope=Object.getOwnPropertyNames,ape=Object.prototype.hasOwnProperty,cpe=o((t,e)=>{for(var r in e)Lb(t,r,{get:e[r],enumerable:!0})},"__export"),lpe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of ope(e))!ape.call(t,i)&&i!==r&&Lb(t,i,{get:()=>e[i],enumerable:!(n=spe(e,i))||n.enumerable});return t},"__copyProps"),Ape=o(t=>lpe(Lb({},"__esModule",{value:!0}),t),"__toCommonJS"),Oq={};cpe(Oq,{redirectPolicy:()=>dpe,redirectPolicyName:()=>Mq});Lq.exports=Ape(Oq);var upe=mc(),Mq="redirectPolicy",Tq=["GET","HEAD"];function dpe(t={}){let{maxRetries:e=20,allowCrossOriginRedirects:r=!1}=t;return{name:Mq,async sendRequest(n,i){let s=await i(n);return kq(i,s,e,r)}}}o(dpe,"redirectPolicy");async function kq(t,e,r,n,i=0){let{request:s,status:a,headers:c}=e,l=c.get("location");if(l&&(a===300||a===301&&Tq.includes(s.method)||a===302&&Tq.includes(s.method)||a===303&&s.method==="POST"||a===307)&&i{var ppe=Object.create,Mm=Object.defineProperty,mpe=Object.getOwnPropertyDescriptor,gpe=Object.getOwnPropertyNames,fpe=Object.getPrototypeOf,hpe=Object.prototype.hasOwnProperty,ype=o((t,e)=>{for(var r in e)Mm(t,r,{get:e[r],enumerable:!0})},"__export"),Fq=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of gpe(e))!hpe.call(t,i)&&i!==r&&Mm(t,i,{get:()=>e[i],enumerable:!(n=mpe(e,i))||n.enumerable});return t},"__copyProps"),Uq=o((t,e,r)=>(r=t!=null?ppe(fpe(t)):{},Fq(e||!t||!t.__esModule?Mm(r,"default",{value:t,enumerable:!0}):r,t)),"__toESM"),Cpe=o(t=>Fq(Mm({},"__esModule",{value:!0}),t),"__toCommonJS"),qq={};ype(qq,{getHeaderName:()=>Epe,setPlatformSpecificData:()=>Bpe});Hq.exports=Cpe(qq);var Ub=Uq(require("node:os")),qb=Uq(require("node:process"));function Epe(){return"User-Agent"}o(Epe,"getHeaderName");async function Bpe(t){if(qb.default&&qb.default.versions){let e=`${Ub.default.type()} ${Ub.default.release()}; ${Ub.default.arch()}`,r=qb.default.versions;r.bun?t.set("Bun",`${r.bun} (${e})`):r.deno?t.set("Deno",`${r.deno} (${e})`):r.node&&t.set("Node",`${r.node} (${e})`)}}o(Bpe,"setPlatformSpecificData")});var Do=h((hze,Gq)=>{var Hb=Object.defineProperty,Ipe=Object.getOwnPropertyDescriptor,bpe=Object.getOwnPropertyNames,Qpe=Object.prototype.hasOwnProperty,wpe=o((t,e)=>{for(var r in e)Hb(t,r,{get:e[r],enumerable:!0})},"__export"),Npe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of bpe(e))!Qpe.call(t,i)&&i!==r&&Hb(t,i,{get:()=>e[i],enumerable:!(n=Ipe(e,i))||n.enumerable});return t},"__copyProps"),Spe=o(t=>Npe(Hb({},"__esModule",{value:!0}),t),"__toCommonJS"),jq={};wpe(jq,{DEFAULT_RETRY_POLICY_COUNT:()=>vpe,SDK_VERSION:()=>xpe});Gq.exports=Spe(jq);var xpe="0.3.4",vpe=3});var Wq=h((Cze,Vq)=>{var zb=Object.defineProperty,Rpe=Object.getOwnPropertyDescriptor,_pe=Object.getOwnPropertyNames,Ppe=Object.prototype.hasOwnProperty,Dpe=o((t,e)=>{for(var r in e)zb(t,r,{get:e[r],enumerable:!0})},"__export"),Tpe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of _pe(e))!Ppe.call(t,i)&&i!==r&&zb(t,i,{get:()=>e[i],enumerable:!(n=Rpe(e,i))||n.enumerable});return t},"__copyProps"),Ope=o(t=>Tpe(zb({},"__esModule",{value:!0}),t),"__toCommonJS"),Yq={};Dpe(Yq,{getUserAgentHeaderName:()=>Lpe,getUserAgentValue:()=>Fpe});Vq.exports=Ope(Yq);var Jq=zq(),Mpe=Do();function kpe(t){let e=[];for(let[r,n]of t){let i=n?`${r}/${n}`:r;e.push(i)}return e.join(" ")}o(kpe,"getUserAgentString");function Lpe(){return(0,Jq.getHeaderName)()}o(Lpe,"getUserAgentHeaderName");async function Fpe(t){let e=new Map;e.set("ts-http-runtime",Mpe.SDK_VERSION),await(0,Jq.setPlatformSpecificData)(e);let r=kpe(e);return t?`${t} ${r}`:r}o(Fpe,"getUserAgentValue")});var Gb=h((Bze,e1)=>{var jb=Object.defineProperty,Upe=Object.getOwnPropertyDescriptor,qpe=Object.getOwnPropertyNames,Hpe=Object.prototype.hasOwnProperty,zpe=o((t,e)=>{for(var r in e)jb(t,r,{get:e[r],enumerable:!0})},"__export"),jpe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of qpe(e))!Hpe.call(t,i)&&i!==r&&jb(t,i,{get:()=>e[i],enumerable:!(n=Upe(e,i))||n.enumerable});return t},"__copyProps"),Gpe=o(t=>jpe(jb({},"__esModule",{value:!0}),t),"__toCommonJS"),$q={};zpe($q,{userAgentPolicy:()=>Ype,userAgentPolicyName:()=>Zq});e1.exports=Gpe($q);var Xq=Wq(),Kq=(0,Xq.getUserAgentHeaderName)(),Zq="userAgentPolicy";function Ype(t={}){let e=(0,Xq.getUserAgentValue)(t.userAgentPrefix);return{name:Zq,async sendRequest(r,n){return r.headers.has(Kq)||r.headers.set(Kq,await e),n(r)}}}o(Ype,"userAgentPolicy")});var Jb=h((bze,n1)=>{var Yb=Object.defineProperty,Jpe=Object.getOwnPropertyDescriptor,Vpe=Object.getOwnPropertyNames,Wpe=Object.prototype.hasOwnProperty,Kpe=o((t,e)=>{for(var r in e)Yb(t,r,{get:e[r],enumerable:!0})},"__export"),$pe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Vpe(e))!Wpe.call(t,i)&&i!==r&&Yb(t,i,{get:()=>e[i],enumerable:!(n=Jpe(e,i))||n.enumerable});return t},"__copyProps"),Xpe=o(t=>$pe(Yb({},"__esModule",{value:!0}),t),"__toCommonJS"),t1={};Kpe(t1,{decompressResponsePolicy:()=>Zpe,decompressResponsePolicyName:()=>r1});n1.exports=Xpe(t1);var r1="decompressResponsePolicy";function Zpe(){return{name:r1,async sendRequest(t,e){return t.method!=="HEAD"&&t.headers.set("Accept-Encoding","gzip,deflate"),e(t)}}}o(Zpe,"decompressResponsePolicy")});var Wb=h((wze,s1)=>{var Vb=Object.defineProperty,eme=Object.getOwnPropertyDescriptor,tme=Object.getOwnPropertyNames,rme=Object.prototype.hasOwnProperty,nme=o((t,e)=>{for(var r in e)Vb(t,r,{get:e[r],enumerable:!0})},"__export"),ime=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of tme(e))!rme.call(t,i)&&i!==r&&Vb(t,i,{get:()=>e[i],enumerable:!(n=eme(e,i))||n.enumerable});return t},"__copyProps"),sme=o(t=>ime(Vb({},"__esModule",{value:!0}),t),"__toCommonJS"),i1={};nme(i1,{getRandomIntegerInclusive:()=>ome});s1.exports=sme(i1);function ome(t,e){return t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t+1))+t}o(ome,"getRandomIntegerInclusive")});var $b=h((Sze,a1)=>{var Kb=Object.defineProperty,ame=Object.getOwnPropertyDescriptor,cme=Object.getOwnPropertyNames,lme=Object.prototype.hasOwnProperty,Ame=o((t,e)=>{for(var r in e)Kb(t,r,{get:e[r],enumerable:!0})},"__export"),ume=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of cme(e))!lme.call(t,i)&&i!==r&&Kb(t,i,{get:()=>e[i],enumerable:!(n=ame(e,i))||n.enumerable});return t},"__copyProps"),dme=o(t=>ume(Kb({},"__esModule",{value:!0}),t),"__toCommonJS"),o1={};Ame(o1,{calculateRetryDelay:()=>mme});a1.exports=dme(o1);var pme=Wb();function mme(t,e){let r=e.retryDelayInMs*Math.pow(2,t),n=Math.min(e.maxRetryDelayInMs,r);return{retryAfterInMs:n/2+(0,pme.getRandomIntegerInclusive)(0,n/2)}}o(mme,"calculateRetryDelay")});var Zb=h((vze,l1)=>{var Xb=Object.defineProperty,gme=Object.getOwnPropertyDescriptor,fme=Object.getOwnPropertyNames,hme=Object.prototype.hasOwnProperty,yme=o((t,e)=>{for(var r in e)Xb(t,r,{get:e[r],enumerable:!0})},"__export"),Cme=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of fme(e))!hme.call(t,i)&&i!==r&&Xb(t,i,{get:()=>e[i],enumerable:!(n=gme(e,i))||n.enumerable});return t},"__copyProps"),Eme=o(t=>Cme(Xb({},"__esModule",{value:!0}),t),"__toCommonJS"),c1={};yme(c1,{delay:()=>bme,parseHeaderValueAsNumber:()=>Qme});l1.exports=Eme(c1);var Bme=jA(),Ime="The operation was aborted.";function bme(t,e,r){return new Promise((n,i)=>{let s,a,c=o(()=>i(new Bme.AbortError(r?.abortErrorMsg?r?.abortErrorMsg:Ime)),"rejectOnAbort"),l=o(()=>{r?.abortSignal&&a&&r.abortSignal.removeEventListener("abort",a)},"removeListeners");if(a=o(()=>(s&&clearTimeout(s),l(),c()),"onAborted"),r?.abortSignal&&r.abortSignal.aborted)return c();s=setTimeout(()=>{l(),n(e)},t),r?.abortSignal&&r.abortSignal.addEventListener("abort",a)})}o(bme,"delay");function Qme(t,e){let r=t.headers.get(e);if(!r)return;let n=Number(r);if(!Number.isNaN(n))return n}o(Qme,"parseHeaderValueAsNumber")});var km=h((_ze,d1)=>{var tQ=Object.defineProperty,wme=Object.getOwnPropertyDescriptor,Nme=Object.getOwnPropertyNames,Sme=Object.prototype.hasOwnProperty,xme=o((t,e)=>{for(var r in e)tQ(t,r,{get:e[r],enumerable:!0})},"__export"),vme=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Nme(e))!Sme.call(t,i)&&i!==r&&tQ(t,i,{get:()=>e[i],enumerable:!(n=wme(e,i))||n.enumerable});return t},"__copyProps"),Rme=o(t=>vme(tQ({},"__esModule",{value:!0}),t),"__toCommonJS"),A1={};xme(A1,{isThrottlingRetryResponse:()=>Dme,throttlingRetryStrategy:()=>Tme});d1.exports=Rme(A1);var _me=Zb(),eQ="Retry-After",Pme=["retry-after-ms","x-ms-retry-after-ms",eQ];function u1(t){if(t&&[429,503].includes(t.status))try{for(let i of Pme){let s=(0,_me.parseHeaderValueAsNumber)(t,i);if(s===0||s)return s*(i===eQ?1e3:1)}let e=t.headers.get(eQ);if(!e)return;let n=Date.parse(e)-Date.now();return Number.isFinite(n)?Math.max(0,n):void 0}catch{return}}o(u1,"getRetryAfterInMs");function Dme(t){return Number.isFinite(u1(t))}o(Dme,"isThrottlingRetryResponse");function Tme(){return{name:"throttlingRetryStrategy",retry({response:t}){let e=u1(t);return Number.isFinite(e)?{retryAfterInMs:e}:{skipStrategy:!0}}}}o(Tme,"throttlingRetryStrategy")});var Lm=h((Dze,f1)=>{var rQ=Object.defineProperty,Ome=Object.getOwnPropertyDescriptor,Mme=Object.getOwnPropertyNames,kme=Object.prototype.hasOwnProperty,Lme=o((t,e)=>{for(var r in e)rQ(t,r,{get:e[r],enumerable:!0})},"__export"),Fme=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Mme(e))!kme.call(t,i)&&i!==r&&rQ(t,i,{get:()=>e[i],enumerable:!(n=Ome(e,i))||n.enumerable});return t},"__copyProps"),Ume=o(t=>Fme(rQ({},"__esModule",{value:!0}),t),"__toCommonJS"),p1={};Lme(p1,{exponentialRetryStrategy:()=>Gme,isExponentialRetryResponse:()=>m1,isSystemError:()=>g1});f1.exports=Ume(p1);var qme=$b(),Hme=km(),zme=1e3,jme=1e3*64;function Gme(t={}){let e=t.retryDelayInMs??zme,r=t.maxRetryDelayInMs??jme;return{name:"exponentialRetryStrategy",retry({retryCount:n,response:i,responseError:s}){let a=g1(s),c=a&&t.ignoreSystemErrors,l=m1(i),A=l&&t.ignoreHttpStatusCodes;return i&&((0,Hme.isThrottlingRetryResponse)(i)||!l)||A||c?{skipStrategy:!0}:s&&!a&&!l?{errorToThrow:s}:(0,qme.calculateRetryDelay)(n,{retryDelayInMs:e,maxRetryDelayInMs:r})}}}o(Gme,"exponentialRetryStrategy");function m1(t){return!!(t&&t.status!==void 0&&(t.status>=500||t.status===408)&&t.status!==501&&t.status!==505)}o(m1,"isExponentialRetryResponse");function g1(t){return t?t.code==="ETIMEDOUT"||t.code==="ESOCKETTIMEDOUT"||t.code==="ECONNREFUSED"||t.code==="ECONNRESET"||t.code==="ENOENT"||t.code==="ENOTFOUND":!1}o(g1,"isSystemError")});var fc=h((Oze,C1)=>{var nQ=Object.defineProperty,Yme=Object.getOwnPropertyDescriptor,Jme=Object.getOwnPropertyNames,Vme=Object.prototype.hasOwnProperty,Wme=o((t,e)=>{for(var r in e)nQ(t,r,{get:e[r],enumerable:!0})},"__export"),Kme=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Jme(e))!Vme.call(t,i)&&i!==r&&nQ(t,i,{get:()=>e[i],enumerable:!(n=Yme(e,i))||n.enumerable});return t},"__copyProps"),$me=o(t=>Kme(nQ({},"__esModule",{value:!0}),t),"__toCommonJS"),y1={};Wme(y1,{retryPolicy:()=>nge});C1.exports=$me(y1);var Xme=Zb(),Zme=jA(),ege=YA(),h1=Do(),tge=(0,ege.createClientLogger)("ts-http-runtime retryPolicy"),rge="retryPolicy";function nge(t,e={maxRetries:h1.DEFAULT_RETRY_POLICY_COUNT}){let r=e.logger||tge;return{name:rge,async sendRequest(n,i){let s,a,c=-1;e:for(;;){c+=1,s=void 0,a=void 0;try{r.info(`Retry ${c}: Attempting to send request`,n.requestId),s=await i(n),r.info(`Retry ${c}: Received a response from request`,n.requestId)}catch(l){if(r.error(`Retry ${c}: Received an error from request`,n.requestId),a=l,!l||a.name!=="RestError")throw l;s=a.response}if(n.abortSignal?.aborted)throw r.error(`Retry ${c}: Request aborted.`),new Zme.AbortError;if(c>=(e.maxRetries??h1.DEFAULT_RETRY_POLICY_COUNT)){if(r.info(`Retry ${c}: Maximum retries reached. Returning the last received response, or throwing the last received error.`),a)throw a;if(s)return s;throw new Error("Maximum retries reached with no response or error to throw")}r.info(`Retry ${c}: Processing ${t.length} retry strategies.`);t:for(let l of t){let A=l.logger||r;A.info(`Retry ${c}: Processing retry strategy ${l.name}.`);let u=l.retry({retryCount:c,response:s,responseError:a});if(u.skipStrategy){A.info(`Retry ${c}: Skipped.`);continue t}let{errorToThrow:d,retryAfterInMs:g,redirectTo:f}=u;if(d)throw A.error(`Retry ${c}: Retry strategy ${l.name} throws error:`,d),d;if(g||g===0){A.info(`Retry ${c}: Retry strategy ${l.name} retries after ${g}`),await(0,Xme.delay)(g,void 0,{abortSignal:n.abortSignal});continue e}if(f){A.info(`Retry ${c}: Retry strategy ${l.name} redirects to ${f}`),n.url=f;continue e}}if(a)throw r.info("None of the retry strategies could work with the received error. Throwing it."),a;if(s)return r.info("None of the retry strategies could work with the received response. Returning it."),s}}}}o(nge,"retryPolicy")});var sQ=h((kze,I1)=>{var iQ=Object.defineProperty,ige=Object.getOwnPropertyDescriptor,sge=Object.getOwnPropertyNames,oge=Object.prototype.hasOwnProperty,age=o((t,e)=>{for(var r in e)iQ(t,r,{get:e[r],enumerable:!0})},"__export"),cge=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of sge(e))!oge.call(t,i)&&i!==r&&iQ(t,i,{get:()=>e[i],enumerable:!(n=ige(e,i))||n.enumerable});return t},"__copyProps"),lge=o(t=>cge(iQ({},"__esModule",{value:!0}),t),"__toCommonJS"),E1={};age(E1,{defaultRetryPolicy:()=>mge,defaultRetryPolicyName:()=>B1});I1.exports=lge(E1);var Age=Lm(),uge=km(),dge=fc(),pge=Do(),B1="defaultRetryPolicy";function mge(t={}){return{name:B1,sendRequest:(0,dge.retryPolicy)([(0,uge.throttlingRetryStrategy)(),(0,Age.exponentialRetryStrategy)(t)],{maxRetries:t.maxRetries??pge.DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}o(mge,"defaultRetryPolicy")});var KA=h((Fze,S1)=>{var oQ=Object.defineProperty,gge=Object.getOwnPropertyDescriptor,fge=Object.getOwnPropertyNames,hge=Object.prototype.hasOwnProperty,yge=o((t,e)=>{for(var r in e)oQ(t,r,{get:e[r],enumerable:!0})},"__export"),Cge=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of fge(e))!hge.call(t,i)&&i!==r&&oQ(t,i,{get:()=>e[i],enumerable:!(n=gge(e,i))||n.enumerable});return t},"__copyProps"),Ege=o(t=>Cge(oQ({},"__esModule",{value:!0}),t),"__toCommonJS"),b1={};yge(b1,{isBrowser:()=>Bge,isBun:()=>w1,isDeno:()=>Q1,isNodeLike:()=>N1,isNodeRuntime:()=>bge,isReactNative:()=>Qge,isWebWorker:()=>Ige});S1.exports=Ege(b1);var Bge=typeof window<"u"&&typeof window.document<"u",Ige=typeof self=="object"&&typeof self?.importScripts=="function"&&(self.constructor?.name==="DedicatedWorkerGlobalScope"||self.constructor?.name==="ServiceWorkerGlobalScope"||self.constructor?.name==="SharedWorkerGlobalScope"),Q1=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",w1=typeof Bun<"u"&&typeof Bun.version<"u",N1=typeof globalThis.process<"u"&&!!globalThis.process.version&&!!globalThis.process.versions?.node,bge=N1&&!w1&&!Q1,Qge=typeof navigator<"u"&&navigator?.product==="ReactNative"});var cQ=h((qze,_1)=>{var aQ=Object.defineProperty,wge=Object.getOwnPropertyDescriptor,Nge=Object.getOwnPropertyNames,Sge=Object.prototype.hasOwnProperty,xge=o((t,e)=>{for(var r in e)aQ(t,r,{get:e[r],enumerable:!0})},"__export"),vge=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Nge(e))!Sge.call(t,i)&&i!==r&&aQ(t,i,{get:()=>e[i],enumerable:!(n=wge(e,i))||n.enumerable});return t},"__copyProps"),Rge=o(t=>vge(aQ({},"__esModule",{value:!0}),t),"__toCommonJS"),v1={};xge(v1,{formDataPolicy:()=>Tge,formDataPolicyName:()=>R1});_1.exports=Rge(v1);var _ge=Po(),Pge=KA(),x1=_s(),R1="formDataPolicy";function Dge(t){let e={};for(let[r,n]of t.entries())e[r]??=[],e[r].push(n);return e}o(Dge,"formDataToFormDataMap");function Tge(){return{name:R1,async sendRequest(t,e){if(Pge.isNodeLike&&typeof FormData<"u"&&t.body instanceof FormData&&(t.formData=Dge(t.body),t.body=void 0),t.formData){let r=t.headers.get("Content-Type");r&&r.indexOf("application/x-www-form-urlencoded")!==-1?t.body=Oge(t.formData):await Mge(t.formData,t),t.formData=void 0}return e(t)}}}o(Tge,"formDataPolicy");function Oge(t){let e=new URLSearchParams;for(let[r,n]of Object.entries(t))if(Array.isArray(n))for(let i of n)e.append(r,i.toString());else e.append(r,n.toString());return e.toString()}o(Oge,"wwwFormUrlEncode");async function Mge(t,e){let r=e.headers.get("Content-Type");if(r&&!r.startsWith("multipart/form-data"))return;e.headers.set("Content-Type",r??"multipart/form-data");let n=[];for(let[i,s]of Object.entries(t))for(let a of Array.isArray(s)?s:[s])if(typeof a=="string")n.push({headers:(0,x1.createHttpHeaders)({"Content-Disposition":`form-data; name="${i}"`}),body:(0,_ge.stringToUint8Array)(a,"utf-8")});else{if(a==null||typeof a!="object")throw new Error(`Unexpected value for key ${i}: ${a}. Value should be serialized to string first.`);{let c=a.name||"blob",l=(0,x1.createHttpHeaders)();l.set("Content-Disposition",`form-data; name="${i}"; filename="${c}"`),l.set("Content-Type",a.type||"application/octet-stream"),n.push({headers:l,body:a})}}e.multipartBody={parts:n}}o(Mge,"prepareFormData")});var D1=h((zze,P1)=>{var hc=1e3,yc=hc*60,Cc=yc*60,To=Cc*24,kge=To*7,Lge=To*365.25;P1.exports=function(t,e){e=e||{};var r=typeof t;if(r==="string"&&t.length>0)return Fge(t);if(r==="number"&&isFinite(t))return e.long?qge(t):Uge(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function Fge(t){if(t=String(t),!(t.length>100)){var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(e){var r=parseFloat(e[1]),n=(e[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return r*Lge;case"weeks":case"week":case"w":return r*kge;case"days":case"day":case"d":return r*To;case"hours":case"hour":case"hrs":case"hr":case"h":return r*Cc;case"minutes":case"minute":case"mins":case"min":case"m":return r*yc;case"seconds":case"second":case"secs":case"sec":case"s":return r*hc;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}o(Fge,"parse");function Uge(t){var e=Math.abs(t);return e>=To?Math.round(t/To)+"d":e>=Cc?Math.round(t/Cc)+"h":e>=yc?Math.round(t/yc)+"m":e>=hc?Math.round(t/hc)+"s":t+"ms"}o(Uge,"fmtShort");function qge(t){var e=Math.abs(t);return e>=To?Fm(t,e,To,"day"):e>=Cc?Fm(t,e,Cc,"hour"):e>=yc?Fm(t,e,yc,"minute"):e>=hc?Fm(t,e,hc,"second"):t+" ms"}o(qge,"fmtLong");function Fm(t,e,r,n){var i=e>=r*1.5;return Math.round(t/r)+" "+n+(i?"s":"")}o(Fm,"plural")});var lQ=h((Gze,T1)=>{function Hge(t){r.debug=r,r.default=r,r.coerce=l,r.disable=a,r.enable=i,r.enabled=c,r.humanize=D1(),r.destroy=A,Object.keys(t).forEach(u=>{r[u]=t[u]}),r.names=[],r.skips=[],r.formatters={};function e(u){let d=0;for(let g=0;g{if(de==="%%")return"%";L++;let De=r.formatters[le];if(typeof De=="function"){let Te=x[L];de=De.call(w,Te),x.splice(L,1),L--}return de}),r.formatArgs.call(w,x),(w.log||r.log).apply(w,x)}return o(Q,"debug"),Q.namespace=u,Q.useColors=r.useColors(),Q.color=r.selectColor(u),Q.extend=n,Q.destroy=r.destroy,Object.defineProperty(Q,"enabled",{enumerable:!0,configurable:!1,get:()=>g!==null?g:(f!==r.namespaces&&(f=r.namespaces,C=r.enabled(u)),C),set:x=>{g=x}}),typeof r.init=="function"&&r.init(Q),Q}o(r,"createDebug");function n(u,d){let g=r(this.namespace+(typeof d>"u"?":":d)+u);return g.log=this.log,g}o(n,"extend");function i(u){r.save(u),r.namespaces=u,r.names=[],r.skips=[];let d=(typeof u=="string"?u:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(let g of d)g[0]==="-"?r.skips.push(g.slice(1)):r.names.push(g)}o(i,"enable");function s(u,d){let g=0,f=0,C=-1,Q=0;for(;g"-"+d)].join(",");return r.enable(""),u}o(a,"disable");function c(u){for(let d of r.skips)if(s(u,d))return!1;for(let d of r.names)if(s(u,d))return!0;return!1}o(c,"enabled");function l(u){return u instanceof Error?u.stack||u.message:u}o(l,"coerce");function A(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return o(A,"destroy"),r.enable(r.load()),r}o(Hge,"setup");T1.exports=Hge});var O1=h((wr,Um)=>{wr.formatArgs=jge;wr.save=Gge;wr.load=Yge;wr.useColors=zge;wr.storage=Jge();wr.destroy=(()=>{let t=!1;return()=>{t||(t=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();wr.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function zge(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let t;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(t=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(t[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}o(zge,"useColors");function jge(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+Um.exports.humanize(this.diff),!this.useColors)return;let e="color: "+this.color;t.splice(1,0,e,"color: inherit");let r=0,n=0;t[0].replace(/%[a-zA-Z%]/g,i=>{i!=="%%"&&(r++,i==="%c"&&(n=r))}),t.splice(n,0,e)}o(jge,"formatArgs");wr.log=console.debug||console.log||(()=>{});function Gge(t){try{t?wr.storage.setItem("debug",t):wr.storage.removeItem("debug")}catch{}}o(Gge,"save");function Yge(){let t;try{t=wr.storage.getItem("debug")||wr.storage.getItem("DEBUG")}catch{}return!t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t}o(Yge,"load");function Jge(){try{return localStorage}catch{}}o(Jge,"localstorage");Um.exports=lQ()(wr);var{formatters:Vge}=Um.exports;Vge.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var k1=h((Ut,Hm)=>{var Wge=require("tty"),qm=require("util");Ut.init=rfe;Ut.log=Zge;Ut.formatArgs=$ge;Ut.save=efe;Ut.load=tfe;Ut.useColors=Kge;Ut.destroy=qm.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");Ut.colors=[6,2,3,4,5,1];try{let t=require("supports-color");t&&(t.stderr||t).level>=2&&(Ut.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}Ut.inspectOpts=Object.keys(process.env).filter(t=>/^debug_/i.test(t)).reduce((t,e)=>{let r=e.substring(6).toLowerCase().replace(/_([a-z])/g,(i,s)=>s.toUpperCase()),n=process.env[e];return/^(yes|on|true|enabled)$/i.test(n)?n=!0:/^(no|off|false|disabled)$/i.test(n)?n=!1:n==="null"?n=null:n=Number(n),t[r]=n,t},{});function Kge(){return"colors"in Ut.inspectOpts?!!Ut.inspectOpts.colors:Wge.isatty(process.stderr.fd)}o(Kge,"useColors");function $ge(t){let{namespace:e,useColors:r}=this;if(r){let n=this.color,i="\x1B[3"+(n<8?n:"8;5;"+n),s=` ${i};1m${e} \x1B[0m`;t[0]=s+t[0].split(` +`).map(o=>o.trim());for(let o of i)!o||o.startsWith("#")||n.patterns.push(new fF.Pattern(o));return n.searchPaths.push(...Bm.getSearchPaths(n.patterns)),n})}static stat(e,r,n){return qI(this,void 0,void 0,function*(){let i;if(r.followSymbolicLinks)try{i=yield jA.promises.stat(e.path)}catch(o){if(o.code==="ENOENT"){if(r.omitBrokenSymbolicLinks){HI.debug(`Broken symlink '${e.path}'`);return}throw new Error(`No information found for the path '${e.path}'. This may indicate a broken symbolic link.`)}throw o}else i=yield jA.promises.lstat(e.path);if(i.isDirectory()&&r.followSymbolicLinks){let o=yield jA.promises.realpath(e.path);for(;n.length>=e.level;)n.pop();if(n.some(a=>a===o)){HI.debug(`Symlink cycle detected for path '${e.path}' and realpath '${o}'`);return}n.push(o)}return i})}};zt.DefaultGlobber=zI});var bF=f($r=>{"use strict";var iae=$r&&$r.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:s(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),sae=$r&&$r.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),gc=$r&&$r.__importStar||(function(){var t=s(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i{"use strict";var QF=hc&&hc.__awaiter||function(t,e,r,n){function i(o){return o instanceof r?o:new r(function(a){a(o)})}return s(i,"adopt"),new(r||(r=Promise))(function(o,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}s(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}s(l,"rejected");function A(u){u.done?o(u.value):i(u.value).then(c,l)}s(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(hc,"__esModule",{value:!0});hc.create=NF;hc.hashFiles=mae;var dae=CF(),pae=bF();function NF(t,e){return QF(this,void 0,void 0,function*(){return yield dae.DefaultGlobber.create(t,e)})}s(NF,"create");function mae(t){return QF(this,arguments,void 0,function*(e,r="",n,i=!1){let o=!0;n&&typeof n.followSymbolicLinks=="boolean"&&(o=n.followSymbolicLinks);let a=yield NF(e,{followSymbolicLinks:o});return(0,pae.hashFiles)(a,r,i)})}s(mae,"hashFiles")});var _F=f((de,PF)=>{de=PF.exports=ye;var ke;typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?ke=s(function(){var t=Array.prototype.slice.call(arguments,0);t.unshift("SEMVER"),console.log.apply(console,t)},"debug"):ke=s(function(){},"debug");de.SEMVER_SPEC_VERSION="2.0.0";var JA=256,Im=Number.MAX_SAFE_INTEGER||9007199254740991,GI=16,gae=JA-6,fc=de.re=[],Me=de.safeRe=[],F=de.src=[],O=de.tokens={},RF=0;function Ee(t){O[t]=RF++}s(Ee,"tok");var YI="[a-zA-Z0-9-]",jI=[["\\s",1],["\\d",JA],[YI,gae]];function WA(t){for(var e=0;e)?=?)";Ee("XRANGEIDENTIFIERLOOSE");F[O.XRANGEIDENTIFIERLOOSE]=F[O.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*";Ee("XRANGEIDENTIFIER");F[O.XRANGEIDENTIFIER]=F[O.NUMERICIDENTIFIER]+"|x|X|\\*";Ee("XRANGEPLAIN");F[O.XRANGEPLAIN]="[v=\\s]*("+F[O.XRANGEIDENTIFIER]+")(?:\\.("+F[O.XRANGEIDENTIFIER]+")(?:\\.("+F[O.XRANGEIDENTIFIER]+")(?:"+F[O.PRERELEASE]+")?"+F[O.BUILD]+"?)?)?";Ee("XRANGEPLAINLOOSE");F[O.XRANGEPLAINLOOSE]="[v=\\s]*("+F[O.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+F[O.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+F[O.XRANGEIDENTIFIERLOOSE]+")(?:"+F[O.PRERELEASELOOSE]+")?"+F[O.BUILD]+"?)?)?";Ee("XRANGE");F[O.XRANGE]="^"+F[O.GTLT]+"\\s*"+F[O.XRANGEPLAIN]+"$";Ee("XRANGELOOSE");F[O.XRANGELOOSE]="^"+F[O.GTLT]+"\\s*"+F[O.XRANGEPLAINLOOSE]+"$";Ee("COERCE");F[O.COERCE]="(^|[^\\d])(\\d{1,"+GI+"})(?:\\.(\\d{1,"+GI+"}))?(?:\\.(\\d{1,"+GI+"}))?(?:$|[^\\d])";Ee("COERCERTL");fc[O.COERCERTL]=new RegExp(F[O.COERCE],"g");Me[O.COERCERTL]=new RegExp(WA(F[O.COERCE]),"g");Ee("LONETILDE");F[O.LONETILDE]="(?:~>?)";Ee("TILDETRIM");F[O.TILDETRIM]="(\\s*)"+F[O.LONETILDE]+"\\s+";fc[O.TILDETRIM]=new RegExp(F[O.TILDETRIM],"g");Me[O.TILDETRIM]=new RegExp(WA(F[O.TILDETRIM]),"g");var hae="$1~";Ee("TILDE");F[O.TILDE]="^"+F[O.LONETILDE]+F[O.XRANGEPLAIN]+"$";Ee("TILDELOOSE");F[O.TILDELOOSE]="^"+F[O.LONETILDE]+F[O.XRANGEPLAINLOOSE]+"$";Ee("LONECARET");F[O.LONECARET]="(?:\\^)";Ee("CARETTRIM");F[O.CARETTRIM]="(\\s*)"+F[O.LONECARET]+"\\s+";fc[O.CARETTRIM]=new RegExp(F[O.CARETTRIM],"g");Me[O.CARETTRIM]=new RegExp(WA(F[O.CARETTRIM]),"g");var fae="$1^";Ee("CARET");F[O.CARET]="^"+F[O.LONECARET]+F[O.XRANGEPLAIN]+"$";Ee("CARETLOOSE");F[O.CARETLOOSE]="^"+F[O.LONECARET]+F[O.XRANGEPLAINLOOSE]+"$";Ee("COMPARATORLOOSE");F[O.COMPARATORLOOSE]="^"+F[O.GTLT]+"\\s*("+F[O.LOOSEPLAIN]+")$|^$";Ee("COMPARATOR");F[O.COMPARATOR]="^"+F[O.GTLT]+"\\s*("+F[O.FULLPLAIN]+")$|^$";Ee("COMPARATORTRIM");F[O.COMPARATORTRIM]="(\\s*)"+F[O.GTLT]+"\\s*("+F[O.LOOSEPLAIN]+"|"+F[O.XRANGEPLAIN]+")";fc[O.COMPARATORTRIM]=new RegExp(F[O.COMPARATORTRIM],"g");Me[O.COMPARATORTRIM]=new RegExp(WA(F[O.COMPARATORTRIM]),"g");var yae="$1$2$3";Ee("HYPHENRANGE");F[O.HYPHENRANGE]="^\\s*("+F[O.XRANGEPLAIN]+")\\s+-\\s+("+F[O.XRANGEPLAIN]+")\\s*$";Ee("HYPHENRANGELOOSE");F[O.HYPHENRANGELOOSE]="^\\s*("+F[O.XRANGEPLAINLOOSE]+")\\s+-\\s+("+F[O.XRANGEPLAINLOOSE]+")\\s*$";Ee("STAR");F[O.STAR]="(<|>)?=?\\s*\\*";for(gi=0;giJA)return null;var r=e.loose?Me[O.LOOSE]:Me[O.FULL];if(!r.test(t))return null;try{return new ye(t,e)}catch{return null}}s(ko,"parse");de.valid=Cae;function Cae(t,e){var r=ko(t,e);return r?r.version:null}s(Cae,"valid");de.clean=Eae;function Eae(t,e){var r=ko(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null}s(Eae,"clean");de.SemVer=ye;function ye(t,e){if((!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1}),t instanceof ye){if(t.loose===e.loose)return t;t=t.version}else if(typeof t!="string")throw new TypeError("Invalid Version: "+t);if(t.length>JA)throw new TypeError("version is longer than "+JA+" characters");if(!(this instanceof ye))return new ye(t,e);ke("SemVer",t,e),this.options=e,this.loose=!!e.loose;var r=t.trim().match(e.loose?Me[O.LOOSE]:Me[O.FULL]);if(!r)throw new TypeError("Invalid Version: "+t);if(this.raw=t,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>Im||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Im||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Im||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(function(n){if(/^[0-9]+$/.test(n)){var i=+n;if(i>=0&&i=0;)typeof this.prerelease[r]=="number"&&(this.prerelease[r]++,r=-2);r===-1&&this.prerelease.push(0)}e&&(this.prerelease[0]===e?isNaN(this.prerelease[1])&&(this.prerelease=[e,0]):this.prerelease=[e,0]);break;default:throw new Error("invalid increment argument: "+t)}return this.format(),this.raw=this.version,this};de.inc=Bae;function Bae(t,e,r,n){typeof r=="string"&&(n=r,r=void 0);try{return new ye(t,r).inc(e,n).version}catch{return null}}s(Bae,"inc");de.diff=Iae;function Iae(t,e){if(JI(t,e))return null;var r=ko(t),n=ko(e),i="";if(r.prerelease.length||n.prerelease.length){i="pre";var o="prerelease"}for(var a in r)if((a==="major"||a==="minor"||a==="patch")&&r[a]!==n[a])return i+a;return o}s(Iae,"diff");de.compareIdentifiers=Mo;var SF=/^[0-9]+$/;function Mo(t,e){var r=SF.test(t),n=SF.test(e);return r&&n&&(t=+t,e=+e),t===e?0:r&&!n?-1:n&&!r?1:t0}s(VA,"gt");de.lt=bm;function bm(t,e,r){return Zi(t,e,r)<0}s(bm,"lt");de.eq=JI;function JI(t,e,r){return Zi(t,e,r)===0}s(JI,"eq");de.neq=vF;function vF(t,e,r){return Zi(t,e,r)!==0}s(vF,"neq");de.gte=VI;function VI(t,e,r){return Zi(t,e,r)>=0}s(VI,"gte");de.lte=WI;function WI(t,e,r){return Zi(t,e,r)<=0}s(WI,"lte");de.cmp=Qm;function Qm(t,e,r,n){switch(e){case"===":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t===r;case"!==":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t!==r;case"":case"=":case"==":return JI(t,r,n);case"!=":return vF(t,r,n);case">":return VA(t,r,n);case">=":return VI(t,r,n);case"<":return bm(t,r,n);case"<=":return WI(t,r,n);default:throw new TypeError("Invalid operator: "+e)}}s(Qm,"cmp");de.Comparator=Bn;function Bn(t,e){if((!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1}),t instanceof Bn){if(t.loose===!!e.loose)return t;t=t.value}if(!(this instanceof Bn))return new Bn(t,e);t=t.trim().split(/\s+/).join(" "),ke("comparator",t,e),this.options=e,this.loose=!!e.loose,this.parse(t),this.semver===yc?this.value="":this.value=this.operator+this.semver.version,ke("comp",this)}s(Bn,"Comparator");var yc={};Bn.prototype.parse=function(t){var e=this.options.loose?Me[O.COMPARATORLOOSE]:Me[O.COMPARATOR],r=t.match(e);if(!r)throw new TypeError("Invalid comparator: "+t);this.operator=r[1]!==void 0?r[1]:"",this.operator==="="&&(this.operator=""),r[2]?this.semver=new ye(r[2],this.options.loose):this.semver=yc};Bn.prototype.toString=function(){return this.value};Bn.prototype.test=function(t){if(ke("Comparator.test",t,this.options.loose),this.semver===yc||t===yc)return!0;if(typeof t=="string")try{t=new ye(t,this.options)}catch{return!1}return Qm(t,this.operator,this.semver,this.options)};Bn.prototype.intersects=function(t,e){if(!(t instanceof Bn))throw new TypeError("a Comparator is required");(!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1});var r;if(this.operator==="")return this.value===""?!0:(r=new At(t.value,e),Nm(this.value,r,e));if(t.operator==="")return t.value===""?!0:(r=new At(this.value,e),Nm(t.semver,r,e));var n=(this.operator===">="||this.operator===">")&&(t.operator===">="||t.operator===">"),i=(this.operator==="<="||this.operator==="<")&&(t.operator==="<="||t.operator==="<"),o=this.semver.version===t.semver.version,a=(this.operator===">="||this.operator==="<=")&&(t.operator===">="||t.operator==="<="),c=Qm(this.semver,"<",t.semver,e)&&(this.operator===">="||this.operator===">")&&(t.operator==="<="||t.operator==="<"),l=Qm(this.semver,">",t.semver,e)&&(this.operator==="<="||this.operator==="<")&&(t.operator===">="||t.operator===">");return n||i||o&&a||c||l};de.Range=At;function At(t,e){if((!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1}),t instanceof At)return t.loose===!!e.loose&&t.includePrerelease===!!e.includePrerelease?t:new At(t.raw,e);if(t instanceof Bn)return new At(t.value,e);if(!(this instanceof At))return new At(t,e);if(this.options=e,this.loose=!!e.loose,this.includePrerelease=!!e.includePrerelease,this.raw=t.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(function(r){return this.parseRange(r.trim())},this).filter(function(r){return r.length}),!this.set.length)throw new TypeError("Invalid SemVer Range: "+this.raw);this.format()}s(At,"Range");At.prototype.format=function(){return this.range=this.set.map(function(t){return t.join(" ").trim()}).join("||").trim(),this.range};At.prototype.toString=function(){return this.range};At.prototype.parseRange=function(t){var e=this.options.loose,r=e?Me[O.HYPHENRANGELOOSE]:Me[O.HYPHENRANGE];t=t.replace(r,qae),ke("hyphen replace",t),t=t.replace(Me[O.COMPARATORTRIM],yae),ke("comparator trim",t,Me[O.COMPARATORTRIM]),t=t.replace(Me[O.TILDETRIM],hae),t=t.replace(Me[O.CARETTRIM],fae),t=t.split(/\s+/).join(" ");var n=e?Me[O.COMPARATORLOOSE]:Me[O.COMPARATOR],i=t.split(" ").map(function(o){return Dae(o,this.options)},this).join(" ").split(/\s+/);return this.options.loose&&(i=i.filter(function(o){return!!o.match(n)})),i=i.map(function(o){return new Bn(o,this.options)},this),i};At.prototype.intersects=function(t,e){if(!(t instanceof At))throw new TypeError("a Range is required");return this.set.some(function(r){return xF(r,e)&&t.set.some(function(n){return xF(n,e)&&r.every(function(i){return n.every(function(o){return i.intersects(o,e)})})})})};function xF(t,e){for(var r=!0,n=t.slice(),i=n.pop();r&&n.length;)r=n.every(function(o){return i.intersects(o,e)}),i=n.pop();return r}s(xF,"isSatisfiable");de.toComparators=_ae;function _ae(t,e){return new At(t,e).set.map(function(r){return r.map(function(n){return n.value}).join(" ").trim().split(" ")})}s(_ae,"toComparators");function Dae(t,e){return ke("comp",t,e),t=Mae(t,e),ke("caret",t),t=Tae(t,e),ke("tildes",t),t=Lae(t,e),ke("xrange",t),t=Uae(t,e),ke("stars",t),t}s(Dae,"parseComparator");function hr(t){return!t||t.toLowerCase()==="x"||t==="*"}s(hr,"isX");function Tae(t,e){return t.trim().split(/\s+/).map(function(r){return Oae(r,e)}).join(" ")}s(Tae,"replaceTildes");function Oae(t,e){var r=e.loose?Me[O.TILDELOOSE]:Me[O.TILDE];return t.replace(r,function(n,i,o,a,c){ke("tilde",t,n,i,o,a,c);var l;return hr(i)?l="":hr(o)?l=">="+i+".0.0 <"+(+i+1)+".0.0":hr(a)?l=">="+i+"."+o+".0 <"+i+"."+(+o+1)+".0":c?(ke("replaceTilde pr",c),l=">="+i+"."+o+"."+a+"-"+c+" <"+i+"."+(+o+1)+".0"):l=">="+i+"."+o+"."+a+" <"+i+"."+(+o+1)+".0",ke("tilde return",l),l})}s(Oae,"replaceTilde");function Mae(t,e){return t.trim().split(/\s+/).map(function(r){return kae(r,e)}).join(" ")}s(Mae,"replaceCarets");function kae(t,e){ke("caret",t,e);var r=e.loose?Me[O.CARETLOOSE]:Me[O.CARET];return t.replace(r,function(n,i,o,a,c){ke("caret",t,n,i,o,a,c);var l;return hr(i)?l="":hr(o)?l=">="+i+".0.0 <"+(+i+1)+".0.0":hr(a)?i==="0"?l=">="+i+"."+o+".0 <"+i+"."+(+o+1)+".0":l=">="+i+"."+o+".0 <"+(+i+1)+".0.0":c?(ke("replaceCaret pr",c),i==="0"?o==="0"?l=">="+i+"."+o+"."+a+"-"+c+" <"+i+"."+o+"."+(+a+1):l=">="+i+"."+o+"."+a+"-"+c+" <"+i+"."+(+o+1)+".0":l=">="+i+"."+o+"."+a+"-"+c+" <"+(+i+1)+".0.0"):(ke("no pr"),i==="0"?o==="0"?l=">="+i+"."+o+"."+a+" <"+i+"."+o+"."+(+a+1):l=">="+i+"."+o+"."+a+" <"+i+"."+(+o+1)+".0":l=">="+i+"."+o+"."+a+" <"+(+i+1)+".0.0"),ke("caret return",l),l})}s(kae,"replaceCaret");function Lae(t,e){return ke("replaceXRanges",t,e),t.split(/\s+/).map(function(r){return Fae(r,e)}).join(" ")}s(Lae,"replaceXRanges");function Fae(t,e){t=t.trim();var r=e.loose?Me[O.XRANGELOOSE]:Me[O.XRANGE];return t.replace(r,function(n,i,o,a,c,l){ke("xRange",t,n,i,o,a,c,l);var A=hr(o),u=A||hr(a),d=u||hr(c),g=d;return i==="="&&g&&(i=""),l=e.includePrerelease?"-0":"",A?i===">"||i==="<"?n="<0.0.0-0":n="*":i&&g?(u&&(a=0),c=0,i===">"?(i=">=",u?(o=+o+1,a=0,c=0):(a=+a+1,c=0)):i==="<="&&(i="<",u?o=+o+1:a=+a+1),n=i+o+"."+a+"."+c+l):u?n=">="+o+".0.0"+l+" <"+(+o+1)+".0.0"+l:d&&(n=">="+o+"."+a+".0"+l+" <"+o+"."+(+a+1)+".0"+l),ke("xRange return",n),n})}s(Fae,"replaceXRange");function Uae(t,e){return ke("replaceStars",t,e),t.trim().replace(Me[O.STAR],"")}s(Uae,"replaceStars");function qae(t,e,r,n,i,o,a,c,l,A,u,d,g){return hr(r)?e="":hr(n)?e=">="+r+".0.0":hr(i)?e=">="+r+"."+n+".0":e=">="+e,hr(l)?c="":hr(A)?c="<"+(+l+1)+".0.0":hr(u)?c="<"+l+"."+(+A+1)+".0":d?c="<="+l+"."+A+"."+u+"-"+d:c="<="+c,(e+" "+c).trim()}s(qae,"hyphenReplace");At.prototype.test=function(t){if(!t)return!1;if(typeof t=="string")try{t=new ye(t,this.options)}catch{return!1}for(var e=0;e0){var i=t[n].semver;if(i.major===e.major&&i.minor===e.minor&&i.patch===e.patch)return!0}return!1}return!0}s(Hae,"testSet");de.satisfies=Nm;function Nm(t,e,r){try{e=new At(e,r)}catch{return!1}return e.test(t)}s(Nm,"satisfies");de.maxSatisfying=zae;function zae(t,e,r){var n=null,i=null;try{var o=new At(e,r)}catch{return null}return t.forEach(function(a){o.test(a)&&(!n||i.compare(a)===-1)&&(n=a,i=new ye(n,r))}),n}s(zae,"maxSatisfying");de.minSatisfying=Gae;function Gae(t,e,r){var n=null,i=null;try{var o=new At(e,r)}catch{return null}return t.forEach(function(a){o.test(a)&&(!n||i.compare(a)===1)&&(n=a,i=new ye(n,r))}),n}s(Gae,"minSatisfying");de.minVersion=jae;function jae(t,e){t=new At(t,e);var r=new ye("0.0.0");if(t.test(r)||(r=new ye("0.0.0-0"),t.test(r)))return r;r=null;for(var n=0;n":a.prerelease.length===0?a.patch++:a.prerelease.push(0),a.raw=a.format();case"":case">=":(!r||VA(r,a))&&(r=a);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+o.operator)}})}return r&&t.test(r)?r:null}s(jae,"minVersion");de.validRange=Yae;function Yae(t,e){try{return new At(t,e).range||"*"}catch{return null}}s(Yae,"validRange");de.ltr=Jae;function Jae(t,e,r){return KI(t,e,"<",r)}s(Jae,"ltr");de.gtr=Vae;function Vae(t,e,r){return KI(t,e,">",r)}s(Vae,"gtr");de.outside=KI;function KI(t,e,r,n){t=new ye(t,n),e=new At(e,n);var i,o,a,c,l;switch(r){case">":i=VA,o=WI,a=bm,c=">",l=">=";break;case"<":i=bm,o=VI,a=VA,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(Nm(t,e,n))return!1;for(var A=0;A=0.0.0")),d=d||y,g=g||y,i(y.semver,d.semver,n)?d=y:a(y.semver,g.semver,n)&&(g=y)}),d.operator===c||d.operator===l||(!g.operator||g.operator===c)&&o(t,g.semver))return!1;if(g.operator===l&&a(t,g.semver))return!1}return!0}s(KI,"outside");de.prerelease=Wae;function Wae(t,e){var r=ko(t,e);return r&&r.prerelease.length?r.prerelease:null}s(Wae,"prerelease");de.intersects=Kae;function Kae(t,e,r){return t=new At(t,r),e=new At(e,r),t.intersects(e)}s(Kae,"intersects");de.coerce=$ae;function $ae(t,e){if(t instanceof ye)return t;if(typeof t=="number"&&(t=String(t)),typeof t!="string")return null;e=e||{};var r=null;if(!e.rtl)r=t.match(Me[O.COERCE]);else{for(var n;(n=Me[O.COERCERTL].exec(t))&&(!r||r.index+r[0].length!==t.length);)(!r||n.index+n[0].length!==r.index+r[0].length)&&(r=n),Me[O.COERCERTL].lastIndex=n.index+n[1].length+n[2].length;Me[O.COERCERTL].lastIndex=-1}return r===null?null:ko(r[2]+"."+(r[3]||"0")+"."+(r[4]||"0"),e)}s($ae,"coerce")});var KA=f(it=>{"use strict";Object.defineProperty(it,"__esModule",{value:!0});it.CacheFileSizeLimit=it.ManifestFilename=it.TarFilename=it.SystemTarPathOnWindows=it.GnuTarPathOnWindows=it.SocketTimeout=it.DefaultRetryDelay=it.DefaultRetryAttempts=it.ArchiveToolType=it.CompressionMethod=it.CacheFilename=void 0;var DF;(function(t){t.Gzip="cache.tgz",t.Zstd="cache.tzst"})(DF||(it.CacheFilename=DF={}));var TF;(function(t){t.Gzip="gzip",t.ZstdWithoutLong="zstd-without-long",t.Zstd="zstd"})(TF||(it.CompressionMethod=TF={}));var OF;(function(t){t.GNU="gnu",t.BSD="bsd"})(OF||(it.ArchiveToolType=OF={}));it.DefaultRetryAttempts=2;it.DefaultRetryDelay=5e3;it.SocketTimeout=5e3;it.GnuTarPathOnWindows=`${process.env.PROGRAMFILES}\\Git\\usr\\bin\\tar.exe`;it.SystemTarPathOnWindows=`${process.env.SYSTEMDRIVE}\\Windows\\System32\\tar.exe`;it.TarFilename="cache.tar";it.ManifestFilename="manifest.txt";it.CacheFileSizeLimit=10*Math.pow(1024,3)});var Ec=f(mt=>{"use strict";var Xae=mt&&mt.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:s(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Zae=mt&&mt.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),es=mt&&mt.__importStar||(function(){var t=s(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;in+=i.toString(),"stdout"),stderr:s(i=>n+=i.toString(),"stderr")}})}catch(i){$A.debug(i.message)}return n=n.trim(),$A.debug(n),n})}s(LF,"getVersion");function Ace(){return Cc(this,void 0,void 0,function*(){let t=yield LF("zstd",["--quiet"]),e=nce.clean(t);return $A.debug(`zstd version: ${e}`),t===""?Lo.CompressionMethod.Gzip:Lo.CompressionMethod.ZstdWithoutLong})}s(Ace,"getCompressionMethod");function uce(t){return t===Lo.CompressionMethod.Gzip?Lo.CacheFilename.Gzip:Lo.CacheFilename.Zstd}s(uce,"getCacheFileName");function dce(){return Cc(this,void 0,void 0,function*(){return $I.existsSync(Lo.GnuTarPathOnWindows)?Lo.GnuTarPathOnWindows:(yield LF("tar")).toLowerCase().includes("gnu tar")?MF.which("tar"):""})}s(dce,"getGnuTarPathOnWindows");function pce(t,e){if(e===void 0)throw Error(`Expected ${t} but value was undefiend`);return e}s(pce,"assertDefined");function mce(t,e,r=!1){let n=t.slice();return e&&n.push(e),process.platform==="win32"&&!r&&n.push("windows-only"),n.push(sce),kF.createHash("sha256").update(n.join("|")).digest("hex")}s(mce,"getCacheVersion");function gce(){let t=process.env.ACTIONS_RUNTIME_TOKEN;if(!t)throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable");return t}s(gce,"getRuntimeToken")});var Gt={};ZK(Gt,{__addDisposableResource:()=>lU,__assign:()=>Sm,__asyncDelegator:()=>tU,__asyncGenerator:()=>eU,__asyncValues:()=>rU,__await:()=>Bc,__awaiter:()=>VF,__classPrivateFieldGet:()=>oU,__classPrivateFieldIn:()=>cU,__classPrivateFieldSet:()=>aU,__createBinding:()=>Rm,__decorate:()=>qF,__disposeResources:()=>AU,__esDecorate:()=>zF,__exportStar:()=>KF,__extends:()=>FF,__generator:()=>WF,__importDefault:()=>sU,__importStar:()=>iU,__makeTemplateObject:()=>nU,__metadata:()=>JF,__param:()=>HF,__propKey:()=>jF,__read:()=>eb,__rest:()=>UF,__rewriteRelativeImportExtension:()=>uU,__runInitializers:()=>GF,__setFunctionName:()=>YF,__spread:()=>$F,__spreadArray:()=>ZF,__spreadArrays:()=>XF,__values:()=>xm,default:()=>yce});function FF(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");XI(t,e);function r(){this.constructor=t}s(r,"__"),t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}function UF(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(t);i=0;c--)(a=t[c])&&(o=(i<3?a(o):i>3?a(e,r,o):a(e,r))||o);return i>3&&o&&Object.defineProperty(e,r,o),o}function HF(t,e){return function(r,n){e(r,n,t)}}function zF(t,e,r,n,i,o){function a(S){if(S!==void 0&&typeof S!="function")throw new TypeError("Function expected");return S}s(a,"accept");for(var c=n.kind,l=c==="getter"?"get":c==="setter"?"set":"value",A=!e&&t?n.static?t:t.prototype:null,u=e||(A?Object.getOwnPropertyDescriptor(A,n.name):{}),d,g=!1,y=r.length-1;y>=0;y--){var B={};for(var w in n)B[w]=w==="access"?{}:n[w];for(var w in n.access)B.access[w]=n.access[w];B.addInitializer=function(S){if(g)throw new TypeError("Cannot add initializers after decoration has completed");o.push(a(S||null))};var x=(0,r[y])(c==="accessor"?{get:u.get,set:u.set}:u[l],B);if(c==="accessor"){if(x===void 0)continue;if(x===null||typeof x!="object")throw new TypeError("Object expected");(d=a(x.get))&&(u.get=d),(d=a(x.set))&&(u.set=d),(d=a(x.init))&&i.unshift(d)}else(d=a(x))&&(c==="field"?i.unshift(d):u[l]=d)}A&&Object.defineProperty(A,n.name,u),g=!0}function GF(t,e,r){for(var n=arguments.length>2,i=0;i0&&o[o.length-1])&&(A[0]===6||A[0]===2)){r=0;continue}if(A[0]===3&&(!o||A[1]>o[0]&&A[1]=t.length&&(t=void 0),{value:t&&t[n++],done:!t}},"next")};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function eb(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,o=[],a;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)o.push(i.value)}catch(c){a={error:c}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(a)throw a.error}}return o}function $F(){for(var t=[],e=0;e1||l(y,w)})},B&&(i[y]=B(i[y])))}function l(y,B){try{A(n[y](B))}catch(w){g(o[0][3],w)}}function A(y){y.value instanceof Bc?Promise.resolve(y.value.v).then(u,d):g(o[0][2],y)}function u(y){l("next",y)}function d(y){l("throw",y)}function g(y,B){y(B),o.shift(),o.length&&l(o[0][0],o[0][1])}}function tU(t){var e,r;return e={},n("next"),n("throw",function(i){throw i}),n("return"),e[Symbol.iterator]=function(){return this},e;function n(i,o){e[i]=t[i]?function(a){return(r=!r)?{value:Bc(t[i](a)),done:!1}:o?o(a):a}:o}}function rU(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof xm=="function"?xm(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(o){r[o]=t[o]&&function(a){return new Promise(function(c,l){a=t[o](a),i(c,l,a.done,a.value)})}}function i(o,a,c,l){Promise.resolve(l).then(function(A){o({value:A,done:c})},a)}}function nU(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function iU(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r=ZI(t),n=0;n{XI=s(function(t,e){return XI=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},XI(t,e)},"extendStatics");s(FF,"__extends");Sm=s(function(){return Sm=Object.assign||s(function(e){for(var r,n=1,i=arguments.length;n{var rb=Object.defineProperty,Cce=Object.getOwnPropertyDescriptor,Ece=Object.getOwnPropertyNames,Bce=Object.prototype.hasOwnProperty,Ice=s((t,e)=>{for(var r in e)rb(t,r,{get:e[r],enumerable:!0})},"__export"),bce=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ece(e))!Bce.call(t,i)&&i!==r&&rb(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=Cce(e,i))||n.enumerable});return t},"__copyProps"),Qce=s(t=>bce(rb({},"__esModule",{value:!0}),t),"__toCommonJS"),dU={};Ice(dU,{AbortError:s(()=>tb,"AbortError")});pU.exports=Qce(dU);var tb=class extends Error{static{s(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}}});var yU=f((I1e,fU)=>{var Nce=Object.create,vm=Object.defineProperty,wce=Object.getOwnPropertyDescriptor,Sce=Object.getOwnPropertyNames,xce=Object.getPrototypeOf,Rce=Object.prototype.hasOwnProperty,vce=s((t,e)=>{for(var r in e)vm(t,r,{get:e[r],enumerable:!0})},"__export"),mU=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Sce(e))!Rce.call(t,i)&&i!==r&&vm(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=wce(e,i))||n.enumerable});return t},"__copyProps"),gU=s((t,e,r)=>(r=t!=null?Nce(xce(t)):{},mU(e||!t||!t.__esModule?vm(r,"default",{value:t,enumerable:!0}):r,t)),"__toESM"),Pce=s(t=>mU(vm({},"__esModule",{value:!0}),t),"__toCommonJS"),hU={};vce(hU,{log:s(()=>Oce,"log")});fU.exports=Pce(hU);var _ce=require("node:os"),Dce=gU(require("node:util")),Tce=gU(require("node:process"));function Oce(t,...e){Tce.default.stderr.write(`${Dce.default.format(t,...e)}${_ce.EOL}`)}s(Oce,"log")});var wU=f((Q1e,NU)=>{var sb=Object.defineProperty,Mce=Object.getOwnPropertyDescriptor,kce=Object.getOwnPropertyNames,Lce=Object.prototype.hasOwnProperty,Fce=s((t,e)=>{for(var r in e)sb(t,r,{get:e[r],enumerable:!0})},"__export"),Uce=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of kce(e))!Lce.call(t,i)&&i!==r&&sb(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=Mce(e,i))||n.enumerable});return t},"__copyProps"),qce=s(t=>Uce(sb({},"__esModule",{value:!0}),t),"__toCommonJS"),BU={};Fce(BU,{default:s(()=>Yce,"default")});NU.exports=qce(BU);var Hce=yU(),CU=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,IU,nb=[],ib=[],Pm=[];CU&&ob(CU);var bU=Object.assign(t=>QU(t),{enable:ob,enabled:ab,disable:zce,log:Hce.log});function ob(t){IU=t,nb=[],ib=[];let e=t.split(",").map(r=>r.trim());for(let r of e)r.startsWith("-")?ib.push(r.substring(1)):nb.push(r);for(let r of Pm)r.enabled=ab(r.namespace)}s(ob,"enable");function ab(t){if(t.endsWith("*"))return!0;for(let e of ib)if(EU(t,e))return!1;for(let e of nb)if(EU(t,e))return!0;return!1}s(ab,"enabled");function EU(t,e){if(e.indexOf("*")===-1)return t===e;let r=e;if(e.indexOf("**")!==-1){let g=[],y="";for(let B of e)B==="*"&&y==="*"||(y=B,g.push(B));r=g.join("")}let n=0,i=0,o=r.length,a=t.length,c=-1,l=-1;for(;n=0){if(i=c+1,n=l+1,n===a)return!1;for(;t[n]!==r[i];)if(n++,n===a)return!1;l=n,n++,i++;continue}else return!1;let A=n===t.length,u=i===r.length,d=i===r.length-1&&r[i]==="*";return A&&(u||d)}s(EU,"namespaceMatches");function zce(){let t=IU||"";return ob(""),t}s(zce,"disable");function QU(t){let e=Object.assign(r,{enabled:ab(t),destroy:Gce,log:bU.log,namespace:t,extend:jce});function r(...n){e.enabled&&(n.length>0&&(n[0]=`${t} ${n[0]}`),e.log(...n))}return s(r,"debug"),Pm.push(e),e}s(QU,"createDebugger");function Gce(){let t=Pm.indexOf(this);return t>=0?(Pm.splice(t,1),!0):!1}s(Gce,"destroy");function jce(t){let e=QU(`${this.namespace}:${t}`);return e.log=this.log,e}s(jce,"extend");var Yce=bU});var eu=f((w1e,DU)=>{var Jce=Object.create,_m=Object.defineProperty,Vce=Object.getOwnPropertyDescriptor,Wce=Object.getOwnPropertyNames,Kce=Object.getPrototypeOf,$ce=Object.prototype.hasOwnProperty,Xce=s((t,e)=>{for(var r in e)_m(t,r,{get:e[r],enumerable:!0})},"__export"),vU=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Wce(e))!$ce.call(t,i)&&i!==r&&_m(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=Vce(e,i))||n.enumerable});return t},"__copyProps"),Zce=s((t,e,r)=>(r=t!=null?Jce(Kce(t)):{},vU(e||!t||!t.__esModule?_m(r,"default",{value:t,enumerable:!0}):r,t)),"__toESM"),ele=s(t=>vU(_m({},"__esModule",{value:!0}),t),"__toCommonJS"),PU={};Xce(PU,{TypeSpecRuntimeLogger:s(()=>tle,"TypeSpecRuntimeLogger"),createClientLogger:s(()=>ile,"createClientLogger"),createLoggerContext:s(()=>_U,"createLoggerContext"),getLogLevel:s(()=>nle,"getLogLevel"),setLogLevel:s(()=>rle,"setLogLevel")});DU.exports=ele(PU);var ZA=Zce(wU()),cb=["verbose","info","warning","error"],SU={verbose:400,info:300,warning:200,error:100};function xU(t,e){e.log=(...r)=>{t.log(...r)}}s(xU,"patchLogMethod");function RU(t){return cb.includes(t)}s(RU,"isTypeSpecRuntimeLogLevel");function _U(t){let e=new Set,r=typeof process<"u"&&process.env&&process.env[t.logLevelEnvVarName]||void 0,n,i=(0,ZA.default)(t.namespace);i.log=(...u)=>{ZA.default.log(...u)};function o(u){if(u&&!RU(u))throw new Error(`Unknown log level '${u}'. Acceptable values: ${cb.join(",")}`);n=u;let d=[];for(let g of e)a(g)&&d.push(g.namespace);ZA.default.enable(d.join(","))}s(o,"contextSetLogLevel"),r&&(RU(r)?o(r):console.error(`${t.logLevelEnvVarName} set to unknown log level '${r}'; logging is not enabled. Acceptable values: ${cb.join(", ")}.`));function a(u){return!!(n&&SU[u.level]<=SU[n])}s(a,"shouldEnable");function c(u,d){let g=Object.assign(u.extend(d),{level:d});if(xU(u,g),a(g)){let y=ZA.default.disable();ZA.default.enable(y+","+g.namespace)}return e.add(g),g}s(c,"createLogger");function l(){return n}s(l,"contextGetLogLevel");function A(u){let d=i.extend(u);return xU(i,d),{error:c(d,"error"),warning:c(d,"warning"),info:c(d,"info"),verbose:c(d,"verbose")}}return s(A,"contextCreateClientLogger"),{setLogLevel:o,getLogLevel:l,createClientLogger:A,logger:i}}s(_U,"createLoggerContext");var Dm=_U({logLevelEnvVarName:"TYPESPEC_RUNTIME_LOG_LEVEL",namespace:"typeSpecRuntime"}),tle=Dm.logger;function rle(t){Dm.setLogLevel(t)}s(rle,"setLogLevel");function nle(){return Dm.getLogLevel()}s(nle,"getLogLevel");function ile(t){return Dm.createClientLogger(t)}s(ile,"createClientLogger")});var Ds=f((x1e,OU)=>{var Ab=Object.defineProperty,sle=Object.getOwnPropertyDescriptor,ole=Object.getOwnPropertyNames,ale=Object.prototype.hasOwnProperty,cle=s((t,e)=>{for(var r in e)Ab(t,r,{get:e[r],enumerable:!0})},"__export"),lle=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of ole(e))!ale.call(t,i)&&i!==r&&Ab(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=sle(e,i))||n.enumerable});return t},"__copyProps"),Ale=s(t=>lle(Ab({},"__esModule",{value:!0}),t),"__toCommonJS"),TU={};cle(TU,{createHttpHeaders:s(()=>dle,"createHttpHeaders")});OU.exports=Ale(TU);function Tm(t){return t.toLowerCase()}s(Tm,"normalizeName");function*ule(t){for(let e of t.values())yield[e.name,e.value]}s(ule,"headerIterator");var lb=class{static{s(this,"HttpHeadersImpl")}_headersMap;constructor(e){if(this._headersMap=new Map,e)for(let r of Object.keys(e))this.set(r,e[r])}set(e,r){this._headersMap.set(Tm(e),{name:e,value:String(r).trim()})}get(e){return this._headersMap.get(Tm(e))?.value}has(e){return this._headersMap.has(Tm(e))}delete(e){this._headersMap.delete(Tm(e))}toJSON(e={}){let r={};if(e.preserveCase)for(let n of this._headersMap.values())r[n.name]=n.value;else for(let[n,i]of this._headersMap)r[n]=i.value;return r}toString(){return JSON.stringify(this.toJSON({preserveCase:!0}))}[Symbol.iterator](){return ule(this._headersMap)}};function dle(t){return new lb(t)}s(dle,"createHttpHeaders")});var Om=f((v1e,kU)=>{var ub=Object.defineProperty,ple=Object.getOwnPropertyDescriptor,mle=Object.getOwnPropertyNames,gle=Object.prototype.hasOwnProperty,hle=s((t,e)=>{for(var r in e)ub(t,r,{get:e[r],enumerable:!0})},"__export"),fle=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of mle(e))!gle.call(t,i)&&i!==r&&ub(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=ple(e,i))||n.enumerable});return t},"__copyProps"),yle=s(t=>fle(ub({},"__esModule",{value:!0}),t),"__toCommonJS"),MU={};hle(MU,{randomUUID:s(()=>Cle,"randomUUID")});kU.exports=yle(MU);function Cle(){return crypto.randomUUID()}s(Cle,"randomUUID")});var mb=f((_1e,FU)=>{var pb=Object.defineProperty,Ele=Object.getOwnPropertyDescriptor,Ble=Object.getOwnPropertyNames,Ile=Object.prototype.hasOwnProperty,ble=s((t,e)=>{for(var r in e)pb(t,r,{get:e[r],enumerable:!0})},"__export"),Qle=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ble(e))!Ile.call(t,i)&&i!==r&&pb(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=Ele(e,i))||n.enumerable});return t},"__copyProps"),Nle=s(t=>Qle(pb({},"__esModule",{value:!0}),t),"__toCommonJS"),LU={};ble(LU,{createPipelineRequest:s(()=>xle,"createPipelineRequest")});FU.exports=Nle(LU);var wle=Ds(),Sle=Om(),db=class{static{s(this,"PipelineRequestImpl")}url;method;headers;timeout;withCredentials;body;multipartBody;formData;streamResponseStatusCodes;enableBrowserStreams;proxySettings;disableKeepAlive;abortSignal;requestId;allowInsecureConnection;onUploadProgress;onDownloadProgress;requestOverrides;authSchemes;constructor(e){this.url=e.url,this.body=e.body,this.headers=e.headers??(0,wle.createHttpHeaders)(),this.method=e.method??"GET",this.timeout=e.timeout??0,this.multipartBody=e.multipartBody,this.formData=e.formData,this.disableKeepAlive=e.disableKeepAlive??!1,this.proxySettings=e.proxySettings,this.streamResponseStatusCodes=e.streamResponseStatusCodes,this.withCredentials=e.withCredentials??!1,this.abortSignal=e.abortSignal,this.onUploadProgress=e.onUploadProgress,this.onDownloadProgress=e.onDownloadProgress,this.requestId=e.requestId||(0,Sle.randomUUID)(),this.allowInsecureConnection=e.allowInsecureConnection??!1,this.enableBrowserStreams=e.enableBrowserStreams??!1,this.requestOverrides=e.requestOverrides,this.authSchemes=e.authSchemes}};function xle(t){return new db(t)}s(xle,"createPipelineRequest")});var fb=f((T1e,HU)=>{var hb=Object.defineProperty,Rle=Object.getOwnPropertyDescriptor,vle=Object.getOwnPropertyNames,Ple=Object.prototype.hasOwnProperty,_le=s((t,e)=>{for(var r in e)hb(t,r,{get:e[r],enumerable:!0})},"__export"),Dle=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of vle(e))!Ple.call(t,i)&&i!==r&&hb(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=Rle(e,i))||n.enumerable});return t},"__copyProps"),Tle=s(t=>Dle(hb({},"__esModule",{value:!0}),t),"__toCommonJS"),qU={};_le(qU,{createEmptyPipeline:s(()=>Ole,"createEmptyPipeline")});HU.exports=Tle(qU);var UU=new Set(["Deserialize","Serialize","Retry","Sign"]),gb=class t{static{s(this,"HttpPipeline")}_policies=[];_orderedPolicies;constructor(e){this._policies=e?.slice(0)??[],this._orderedPolicies=void 0}addPolicy(e,r={}){if(r.phase&&r.afterPhase)throw new Error("Policies inside a phase cannot specify afterPhase.");if(r.phase&&!UU.has(r.phase))throw new Error(`Invalid phase name: ${r.phase}`);if(r.afterPhase&&!UU.has(r.afterPhase))throw new Error(`Invalid afterPhase name: ${r.afterPhase}`);this._policies.push({policy:e,options:r}),this._orderedPolicies=void 0}removePolicy(e){let r=[];return this._policies=this._policies.filter(n=>e.name&&n.policy.name===e.name||e.phase&&n.options.phase===e.phase?(r.push(n.policy),!1):!0),this._orderedPolicies=void 0,r}sendRequest(e,r){return this.getOrderedPolicies().reduceRight((o,a)=>c=>a.sendRequest(c,o),o=>e.sendRequest(o))(r)}getOrderedPolicies(){return this._orderedPolicies||(this._orderedPolicies=this.orderPolicies()),this._orderedPolicies}clone(){return new t(this._policies)}static create(){return new t}orderPolicies(){let e=[],r=new Map;function n(B){return{name:B,policies:new Set,hasRun:!1,hasAfterPolicies:!1}}s(n,"createPhase");let i=n("Serialize"),o=n("None"),a=n("Deserialize"),c=n("Retry"),l=n("Sign"),A=[i,o,a,c,l];function u(B){return B==="Retry"?c:B==="Serialize"?i:B==="Deserialize"?a:B==="Sign"?l:o}s(u,"getPhase");for(let B of this._policies){let w=B.policy,x=B.options,S=w.name;if(r.has(S))throw new Error("Duplicate policy names not allowed in pipeline");let R={policy:w,dependsOn:new Set,dependants:new Set};x.afterPhase&&(R.afterPhase=u(x.afterPhase),R.afterPhase.hasAfterPolicies=!0),r.set(S,R),u(x.phase).policies.add(R)}for(let B of this._policies){let{policy:w,options:x}=B,S=w.name,R=r.get(S);if(!R)throw new Error(`Missing node for policy ${S}`);if(x.afterPolicies)for(let D of x.afterPolicies){let L=r.get(D);L&&(R.dependsOn.add(L),L.dependants.add(R))}if(x.beforePolicies)for(let D of x.beforePolicies){let L=r.get(D);L&&(L.dependsOn.add(R),R.dependants.add(L))}}function d(B){B.hasRun=!0;for(let w of B.policies)if(!(w.afterPhase&&(!w.afterPhase.hasRun||w.afterPhase.policies.size))&&w.dependsOn.size===0){e.push(w.policy);for(let x of w.dependants)x.dependsOn.delete(w);r.delete(w.policy.name),B.policies.delete(w)}}s(d,"walkPhase");function g(){for(let B of A){if(d(B),B.policies.size>0&&B!==o){o.hasRun||d(o);return}B.hasAfterPolicies&&d(o)}}s(g,"walkPhases");let y=0;for(;r.size>0;){y++;let B=e.length;if(g(),e.length<=B&&y>1)throw new Error("Cannot satisfy policy dependencies due to requirements cycle.")}return e}};function Ole(){return gb.create()}s(Ole,"createEmptyPipeline")});var Mm=f((M1e,GU)=>{var yb=Object.defineProperty,Mle=Object.getOwnPropertyDescriptor,kle=Object.getOwnPropertyNames,Lle=Object.prototype.hasOwnProperty,Fle=s((t,e)=>{for(var r in e)yb(t,r,{get:e[r],enumerable:!0})},"__export"),Ule=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of kle(e))!Lle.call(t,i)&&i!==r&&yb(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=Mle(e,i))||n.enumerable});return t},"__copyProps"),qle=s(t=>Ule(yb({},"__esModule",{value:!0}),t),"__toCommonJS"),zU={};Fle(zU,{isObject:s(()=>Hle,"isObject")});GU.exports=qle(zU);function Hle(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}s(Hle,"isObject")});var Eb=f((L1e,YU)=>{var Cb=Object.defineProperty,zle=Object.getOwnPropertyDescriptor,Gle=Object.getOwnPropertyNames,jle=Object.prototype.hasOwnProperty,Yle=s((t,e)=>{for(var r in e)Cb(t,r,{get:e[r],enumerable:!0})},"__export"),Jle=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Gle(e))!jle.call(t,i)&&i!==r&&Cb(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=zle(e,i))||n.enumerable});return t},"__copyProps"),Vle=s(t=>Jle(Cb({},"__esModule",{value:!0}),t),"__toCommonJS"),jU={};Yle(jU,{isError:s(()=>Kle,"isError")});YU.exports=Vle(jU);var Wle=Mm();function Kle(t){if((0,Wle.isObject)(t)){let e=typeof t.name=="string",r=typeof t.message=="string";return e&&r}return!1}s(Kle,"isError")});var WU=f((U1e,VU)=>{var Bb=Object.defineProperty,$le=Object.getOwnPropertyDescriptor,Xle=Object.getOwnPropertyNames,Zle=Object.prototype.hasOwnProperty,eAe=s((t,e)=>{for(var r in e)Bb(t,r,{get:e[r],enumerable:!0})},"__export"),tAe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Xle(e))!Zle.call(t,i)&&i!==r&&Bb(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=$le(e,i))||n.enumerable});return t},"__copyProps"),rAe=s(t=>tAe(Bb({},"__esModule",{value:!0}),t),"__toCommonJS"),JU={};eAe(JU,{custom:s(()=>iAe,"custom")});VU.exports=rAe(JU);var nAe=require("node:util"),iAe=nAe.inspect.custom});var tu=f((H1e,$U)=>{var Qb=Object.defineProperty,sAe=Object.getOwnPropertyDescriptor,oAe=Object.getOwnPropertyNames,aAe=Object.prototype.hasOwnProperty,cAe=s((t,e)=>{for(var r in e)Qb(t,r,{get:e[r],enumerable:!0})},"__export"),lAe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of oAe(e))!aAe.call(t,i)&&i!==r&&Qb(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=sAe(e,i))||n.enumerable});return t},"__copyProps"),AAe=s(t=>lAe(Qb({},"__esModule",{value:!0}),t),"__toCommonJS"),KU={};cAe(KU,{Sanitizer:s(()=>bb,"Sanitizer")});$U.exports=AAe(KU);var uAe=Mm(),Ib="REDACTED",dAe=["x-ms-client-request-id","x-ms-return-client-request-id","x-ms-useragent","x-ms-correlation-request-id","x-ms-request-id","client-request-id","ms-cv","return-client-request-id","traceparent","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Origin","Accept","Accept-Encoding","Cache-Control","Connection","Content-Length","Content-Type","Date","ETag","Expires","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","Last-Modified","Pragma","Request-Id","Retry-After","Server","Transfer-Encoding","User-Agent","WWW-Authenticate"],pAe=["api-version"],bb=class{static{s(this,"Sanitizer")}allowedHeaderNames;allowedQueryParameters;constructor({additionalAllowedHeaderNames:e=[],additionalAllowedQueryParameters:r=[]}={}){e=dAe.concat(e),r=pAe.concat(r),this.allowedHeaderNames=new Set(e.map(n=>n.toLowerCase())),this.allowedQueryParameters=new Set(r.map(n=>n.toLowerCase()))}sanitize(e){let r=new Set;return JSON.stringify(e,(n,i)=>{if(i instanceof Error)return{...i,name:i.name,message:i.message};if(n==="headers")return this.sanitizeHeaders(i);if(n==="url")return this.sanitizeUrl(i);if(n==="query")return this.sanitizeQuery(i);if(n==="body")return;if(n==="response")return;if(n==="operationSpec")return;if(Array.isArray(i)||(0,uAe.isObject)(i)){if(r.has(i))return"[Circular]";r.add(i)}return i},2)}sanitizeUrl(e){if(typeof e!="string"||e===null||e==="")return e;let r=new URL(e);if(!r.search)return e;for(let[n]of r.searchParams)this.allowedQueryParameters.has(n.toLowerCase())||r.searchParams.set(n,Ib);return r.toString()}sanitizeHeaders(e){let r={};for(let n of Object.keys(e))this.allowedHeaderNames.has(n.toLowerCase())?r[n]=e[n]:r[n]=Ib;return r}sanitizeQuery(e){if(typeof e!="object"||e===null)return e;let r={};for(let n of Object.keys(e))this.allowedQueryParameters.has(n.toLowerCase())?r[n]=e[n]:r[n]=Ib;return r}}});var Ic=f((G1e,ZU)=>{var Nb=Object.defineProperty,mAe=Object.getOwnPropertyDescriptor,gAe=Object.getOwnPropertyNames,hAe=Object.prototype.hasOwnProperty,fAe=s((t,e)=>{for(var r in e)Nb(t,r,{get:e[r],enumerable:!0})},"__export"),yAe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of gAe(e))!hAe.call(t,i)&&i!==r&&Nb(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=mAe(e,i))||n.enumerable});return t},"__copyProps"),CAe=s(t=>yAe(Nb({},"__esModule",{value:!0}),t),"__toCommonJS"),XU={};fAe(XU,{RestError:s(()=>km,"RestError"),isRestError:s(()=>QAe,"isRestError")});ZU.exports=CAe(XU);var EAe=Eb(),BAe=WU(),IAe=tu(),bAe=new IAe.Sanitizer,km=class t extends Error{static{s(this,"RestError")}static REQUEST_SEND_ERROR="REQUEST_SEND_ERROR";static PARSE_ERROR="PARSE_ERROR";code;statusCode;request;response;details;constructor(e,r={}){super(e),this.name="RestError",this.code=r.code,this.statusCode=r.statusCode,Object.defineProperty(this,"request",{value:r.request,enumerable:!1}),Object.defineProperty(this,"response",{value:r.response,enumerable:!1});let n=this.request?.agent?{maxFreeSockets:this.request.agent.maxFreeSockets,maxSockets:this.request.agent.maxSockets}:void 0;Object.defineProperty(this,BAe.custom,{value:s(()=>`RestError: ${this.message} + ${bAe.sanitize({...this,request:{...this.request,agent:n},response:this.response})}`,"value"),enumerable:!1}),Object.setPrototypeOf(this,t.prototype)}};function QAe(t){return t instanceof km?!0:(0,EAe.isError)(t)&&t.name==="RestError"}s(QAe,"isRestError")});var Fo=f((Y1e,tq)=>{var wb=Object.defineProperty,NAe=Object.getOwnPropertyDescriptor,wAe=Object.getOwnPropertyNames,SAe=Object.prototype.hasOwnProperty,xAe=s((t,e)=>{for(var r in e)wb(t,r,{get:e[r],enumerable:!0})},"__export"),RAe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of wAe(e))!SAe.call(t,i)&&i!==r&&wb(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=NAe(e,i))||n.enumerable});return t},"__copyProps"),vAe=s(t=>RAe(wb({},"__esModule",{value:!0}),t),"__toCommonJS"),eq={};xAe(eq,{stringToUint8Array:s(()=>_Ae,"stringToUint8Array"),uint8ArrayToString:s(()=>PAe,"uint8ArrayToString")});tq.exports=vAe(eq);function PAe(t,e){return Buffer.from(t).toString(e)}s(PAe,"uint8ArrayToString");function _Ae(t,e){return Buffer.from(t,e)}s(_Ae,"stringToUint8Array")});var bc=f((V1e,nq)=>{var Sb=Object.defineProperty,DAe=Object.getOwnPropertyDescriptor,TAe=Object.getOwnPropertyNames,OAe=Object.prototype.hasOwnProperty,MAe=s((t,e)=>{for(var r in e)Sb(t,r,{get:e[r],enumerable:!0})},"__export"),kAe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of TAe(e))!OAe.call(t,i)&&i!==r&&Sb(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=DAe(e,i))||n.enumerable});return t},"__copyProps"),LAe=s(t=>kAe(Sb({},"__esModule",{value:!0}),t),"__toCommonJS"),rq={};MAe(rq,{logger:s(()=>UAe,"logger")});nq.exports=LAe(rq);var FAe=eu(),UAe=(0,FAe.createClientLogger)("ts-http-runtime")});var dq=f((K1e,uq)=>{var qAe=Object.create,Fm=Object.defineProperty,HAe=Object.getOwnPropertyDescriptor,zAe=Object.getOwnPropertyNames,GAe=Object.getPrototypeOf,jAe=Object.prototype.hasOwnProperty,YAe=s((t,e)=>{for(var r in e)Fm(t,r,{get:e[r],enumerable:!0})},"__export"),aq=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of zAe(e))!jAe.call(t,i)&&i!==r&&Fm(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=HAe(e,i))||n.enumerable});return t},"__copyProps"),Pb=s((t,e,r)=>(r=t!=null?qAe(GAe(t)):{},aq(e||!t||!t.__esModule?Fm(r,"default",{value:t,enumerable:!0}):r,t)),"__toESM"),JAe=s(t=>aq(Fm({},"__esModule",{value:!0}),t),"__toCommonJS"),cq={};YAe(cq,{createNodeHttpClient:s(()=>tue,"createNodeHttpClient"),getBodyLength:s(()=>Aq,"getBodyLength")});uq.exports=JAe(cq);var xb=Pb(require("node:http")),Rb=Pb(require("node:https")),iq=Pb(require("node:zlib")),VAe=require("node:stream"),sq=XA(),WAe=Ds(),nu=Ic(),Qc=bc(),KAe=tu(),$Ae={};function ru(t){return t&&typeof t.pipe=="function"}s(ru,"isReadableStream");function oq(t){return t.readable===!1?Promise.resolve():new Promise(e=>{let r=s(()=>{e(),t.removeListener("close",r),t.removeListener("end",r),t.removeListener("error",r)},"handler");t.on("close",r),t.on("end",r),t.on("error",r)})}s(oq,"isStreamComplete");function lq(t){return t&&typeof t.byteLength=="number"}s(lq,"isArrayBuffer");var Lm=class extends VAe.Transform{static{s(this,"ReportTransform")}loadedBytes=0;progressCallback;_transform(e,r,n){this.push(e),this.loadedBytes+=e.length;try{this.progressCallback({loadedBytes:this.loadedBytes}),n()}catch(i){n(i)}}constructor(e){super(),this.progressCallback=e}},vb=class{static{s(this,"NodeHttpClient")}cachedHttpAgent;cachedHttpsAgents=new WeakMap;async sendRequest(e){let r=new AbortController,n;if(e.abortSignal){if(e.abortSignal.aborted)throw new sq.AbortError("The operation was aborted. Request has already been canceled.");n=s(A=>{A.type==="abort"&&r.abort()},"abortListener"),e.abortSignal.addEventListener("abort",n)}let i;e.timeout>0&&(i=setTimeout(()=>{let A=new KAe.Sanitizer;Qc.logger.info(`request to '${A.sanitizeUrl(e.url)}' timed out. canceling...`),r.abort()},e.timeout));let o=e.headers.get("Accept-Encoding"),a=o?.includes("gzip")||o?.includes("deflate"),c=typeof e.body=="function"?e.body():e.body;if(c&&!e.headers.has("Content-Length")){let A=Aq(c);A!==null&&e.headers.set("Content-Length",A)}let l;try{if(c&&e.onUploadProgress){let B=e.onUploadProgress,w=new Lm(B);w.on("error",x=>{Qc.logger.error("Error in upload progress",x)}),ru(c)?c.pipe(w):w.end(c),c=w}let A=await this.makeRequest(e,r,c);i!==void 0&&clearTimeout(i);let u=XAe(A),g={status:A.statusCode??0,headers:u,request:e};if(e.method==="HEAD")return A.resume(),g;l=a?ZAe(A,u):A;let y=e.onDownloadProgress;if(y){let B=new Lm(y);B.on("error",w=>{Qc.logger.error("Error in download progress",w)}),l.pipe(B),l=B}return e.streamResponseStatusCodes?.has(Number.POSITIVE_INFINITY)||e.streamResponseStatusCodes?.has(g.status)?g.readableStreamBody=l:g.bodyAsText=await eue(l),g}finally{if(e.abortSignal&&n){let A=Promise.resolve();ru(c)&&(A=oq(c));let u=Promise.resolve();ru(l)&&(u=oq(l)),Promise.all([A,u]).then(()=>{n&&e.abortSignal?.removeEventListener("abort",n)}).catch(d=>{Qc.logger.warning("Error when cleaning up abortListener on httpRequest",d)})}}}makeRequest(e,r,n){let i=new URL(e.url),o=i.protocol!=="https:";if(o&&!e.allowInsecureConnection)throw new Error(`Cannot connect to ${e.url} while allowInsecureConnection is false.`);let c={agent:e.agent??this.getOrCreateAgent(e,o),hostname:i.hostname,path:`${i.pathname}${i.search}`,port:i.port,method:e.method,headers:e.headers.toJSON({preserveCase:!0}),...e.requestOverrides};return new Promise((l,A)=>{let u=o?xb.default.request(c,l):Rb.default.request(c,l);u.once("error",d=>{A(new nu.RestError(d.message,{code:d.code??nu.RestError.REQUEST_SEND_ERROR,request:e}))}),r.signal.addEventListener("abort",()=>{let d=new sq.AbortError("The operation was aborted. Rejecting from abort signal callback while making request.");u.destroy(d),A(d)}),n&&ru(n)?n.pipe(u):n?typeof n=="string"||Buffer.isBuffer(n)?u.end(n):lq(n)?u.end(ArrayBuffer.isView(n)?Buffer.from(n.buffer):Buffer.from(n)):(Qc.logger.error("Unrecognized body type",n),A(new nu.RestError("Unrecognized body type"))):u.end()})}getOrCreateAgent(e,r){let n=e.disableKeepAlive;if(r)return n?xb.default.globalAgent:(this.cachedHttpAgent||(this.cachedHttpAgent=new xb.default.Agent({keepAlive:!0})),this.cachedHttpAgent);{if(n&&!e.tlsSettings)return Rb.default.globalAgent;let i=e.tlsSettings??$Ae,o=this.cachedHttpsAgents.get(i);return o&&o.options.keepAlive===!n||(Qc.logger.info("No cached TLS Agent exist, creating a new Agent"),o=new Rb.default.Agent({keepAlive:!n,...i}),this.cachedHttpsAgents.set(i,o)),o}}};function XAe(t){let e=(0,WAe.createHttpHeaders)();for(let r of Object.keys(t.headers)){let n=t.headers[r];Array.isArray(n)?n.length>0&&e.set(r,n[0]):n&&e.set(r,n)}return e}s(XAe,"getResponseHeaders");function ZAe(t,e){let r=e.get("Content-Encoding");if(r==="gzip"){let n=iq.default.createGunzip();return t.pipe(n),n}else if(r==="deflate"){let n=iq.default.createInflate();return t.pipe(n),n}return t}s(ZAe,"getDecodedResponseStream");function eue(t){return new Promise((e,r)=>{let n=[];t.on("data",i=>{Buffer.isBuffer(i)?n.push(i):n.push(Buffer.from(i))}),t.on("end",()=>{e(Buffer.concat(n).toString("utf8"))}),t.on("error",i=>{i&&i?.name==="AbortError"?r(i):r(new nu.RestError(`Error reading response as text: ${i.message}`,{code:nu.RestError.PARSE_ERROR}))})})}s(eue,"streamToText");function Aq(t){return t?Buffer.isBuffer(t)?t.length:ru(t)?null:lq(t)?t.byteLength:typeof t=="string"?Buffer.from(t).length:null:0}s(Aq,"getBodyLength");function tue(){return new vb}s(tue,"createNodeHttpClient")});var Db=f((X1e,mq)=>{var _b=Object.defineProperty,rue=Object.getOwnPropertyDescriptor,nue=Object.getOwnPropertyNames,iue=Object.prototype.hasOwnProperty,sue=s((t,e)=>{for(var r in e)_b(t,r,{get:e[r],enumerable:!0})},"__export"),oue=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of nue(e))!iue.call(t,i)&&i!==r&&_b(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=rue(e,i))||n.enumerable});return t},"__copyProps"),aue=s(t=>oue(_b({},"__esModule",{value:!0}),t),"__toCommonJS"),pq={};sue(pq,{createDefaultHttpClient:s(()=>lue,"createDefaultHttpClient")});mq.exports=aue(pq);var cue=dq();function lue(){return(0,cue.createNodeHttpClient)()}s(lue,"createDefaultHttpClient")});var Ob=f((eHe,fq)=>{var Tb=Object.defineProperty,Aue=Object.getOwnPropertyDescriptor,uue=Object.getOwnPropertyNames,due=Object.prototype.hasOwnProperty,pue=s((t,e)=>{for(var r in e)Tb(t,r,{get:e[r],enumerable:!0})},"__export"),mue=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of uue(e))!due.call(t,i)&&i!==r&&Tb(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=Aue(e,i))||n.enumerable});return t},"__copyProps"),gue=s(t=>mue(Tb({},"__esModule",{value:!0}),t),"__toCommonJS"),gq={};pue(gq,{logPolicy:s(()=>yue,"logPolicy"),logPolicyName:s(()=>hq,"logPolicyName")});fq.exports=gue(gq);var hue=bc(),fue=tu(),hq="logPolicy";function yue(t={}){let e=t.logger??hue.logger.info,r=new fue.Sanitizer({additionalAllowedHeaderNames:t.additionalAllowedHeaderNames,additionalAllowedQueryParameters:t.additionalAllowedQueryParameters});return{name:hq,async sendRequest(n,i){if(!e.enabled)return i(n);e(`Request: ${r.sanitize(n)}`);let o=await i(n);return e(`Response status code: ${o.status}`),e(`Headers: ${r.sanitize(o.headers)}`),o}}}s(yue,"logPolicy")});var kb=f((rHe,Iq)=>{var Mb=Object.defineProperty,Cue=Object.getOwnPropertyDescriptor,Eue=Object.getOwnPropertyNames,Bue=Object.prototype.hasOwnProperty,Iue=s((t,e)=>{for(var r in e)Mb(t,r,{get:e[r],enumerable:!0})},"__export"),bue=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Eue(e))!Bue.call(t,i)&&i!==r&&Mb(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=Cue(e,i))||n.enumerable});return t},"__copyProps"),Que=s(t=>bue(Mb({},"__esModule",{value:!0}),t),"__toCommonJS"),Cq={};Iue(Cq,{redirectPolicy:s(()=>wue,"redirectPolicy"),redirectPolicyName:s(()=>Eq,"redirectPolicyName")});Iq.exports=Que(Cq);var Nue=bc(),Eq="redirectPolicy",yq=["GET","HEAD"];function wue(t={}){let{maxRetries:e=20,allowCrossOriginRedirects:r=!1}=t;return{name:Eq,async sendRequest(n,i){let o=await i(n);return Bq(i,o,e,r)}}}s(wue,"redirectPolicy");async function Bq(t,e,r,n,i=0){let{request:o,status:a,headers:c}=e,l=c.get("location");if(l&&(a===300||a===301&&yq.includes(o.method)||a===302&&yq.includes(o.method)||a===303&&o.method==="POST"||a===307)&&i{var Sue=Object.create,Um=Object.defineProperty,xue=Object.getOwnPropertyDescriptor,Rue=Object.getOwnPropertyNames,vue=Object.getPrototypeOf,Pue=Object.prototype.hasOwnProperty,_ue=s((t,e)=>{for(var r in e)Um(t,r,{get:e[r],enumerable:!0})},"__export"),bq=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Rue(e))!Pue.call(t,i)&&i!==r&&Um(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=xue(e,i))||n.enumerable});return t},"__copyProps"),Qq=s((t,e,r)=>(r=t!=null?Sue(vue(t)):{},bq(e||!t||!t.__esModule?Um(r,"default",{value:t,enumerable:!0}):r,t)),"__toESM"),Due=s(t=>bq(Um({},"__esModule",{value:!0}),t),"__toCommonJS"),Nq={};_ue(Nq,{getHeaderName:s(()=>Tue,"getHeaderName"),setPlatformSpecificData:s(()=>Oue,"setPlatformSpecificData")});wq.exports=Due(Nq);var Lb=Qq(require("node:os")),Fb=Qq(require("node:process"));function Tue(){return"User-Agent"}s(Tue,"getHeaderName");async function Oue(t){if(Fb.default&&Fb.default.versions){let e=`${Lb.default.type()} ${Lb.default.release()}; ${Lb.default.arch()}`,r=Fb.default.versions;r.bun?t.set("Bun",`${r.bun} (${e})`):r.deno?t.set("Deno",`${r.deno} (${e})`):r.node&&t.set("Node",`${r.node} (${e})`)}}s(Oue,"setPlatformSpecificData")});var Uo=f((oHe,Rq)=>{var Ub=Object.defineProperty,Mue=Object.getOwnPropertyDescriptor,kue=Object.getOwnPropertyNames,Lue=Object.prototype.hasOwnProperty,Fue=s((t,e)=>{for(var r in e)Ub(t,r,{get:e[r],enumerable:!0})},"__export"),Uue=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of kue(e))!Lue.call(t,i)&&i!==r&&Ub(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=Mue(e,i))||n.enumerable});return t},"__copyProps"),que=s(t=>Uue(Ub({},"__esModule",{value:!0}),t),"__toCommonJS"),xq={};Fue(xq,{DEFAULT_RETRY_POLICY_COUNT:s(()=>zue,"DEFAULT_RETRY_POLICY_COUNT"),SDK_VERSION:s(()=>Hue,"SDK_VERSION")});Rq.exports=que(xq);var Hue="0.3.4",zue=3});var Dq=f((cHe,_q)=>{var qb=Object.defineProperty,Gue=Object.getOwnPropertyDescriptor,jue=Object.getOwnPropertyNames,Yue=Object.prototype.hasOwnProperty,Jue=s((t,e)=>{for(var r in e)qb(t,r,{get:e[r],enumerable:!0})},"__export"),Vue=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of jue(e))!Yue.call(t,i)&&i!==r&&qb(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=Gue(e,i))||n.enumerable});return t},"__copyProps"),Wue=s(t=>Vue(qb({},"__esModule",{value:!0}),t),"__toCommonJS"),vq={};Jue(vq,{getUserAgentHeaderName:s(()=>Xue,"getUserAgentHeaderName"),getUserAgentValue:s(()=>Zue,"getUserAgentValue")});_q.exports=Wue(vq);var Pq=Sq(),Kue=Uo();function $ue(t){let e=[];for(let[r,n]of t){let i=n?`${r}/${n}`:r;e.push(i)}return e.join(" ")}s($ue,"getUserAgentString");function Xue(){return(0,Pq.getHeaderName)()}s(Xue,"getUserAgentHeaderName");async function Zue(t){let e=new Map;e.set("ts-http-runtime",Kue.SDK_VERSION),await(0,Pq.setPlatformSpecificData)(e);let r=$ue(e);return t?`${t} ${r}`:r}s(Zue,"getUserAgentValue")});var zb=f((AHe,Lq)=>{var Hb=Object.defineProperty,ede=Object.getOwnPropertyDescriptor,tde=Object.getOwnPropertyNames,rde=Object.prototype.hasOwnProperty,nde=s((t,e)=>{for(var r in e)Hb(t,r,{get:e[r],enumerable:!0})},"__export"),ide=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of tde(e))!rde.call(t,i)&&i!==r&&Hb(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=ede(e,i))||n.enumerable});return t},"__copyProps"),sde=s(t=>ide(Hb({},"__esModule",{value:!0}),t),"__toCommonJS"),Oq={};nde(Oq,{userAgentPolicy:s(()=>ode,"userAgentPolicy"),userAgentPolicyName:s(()=>kq,"userAgentPolicyName")});Lq.exports=sde(Oq);var Mq=Dq(),Tq=(0,Mq.getUserAgentHeaderName)(),kq="userAgentPolicy";function ode(t={}){let e=(0,Mq.getUserAgentValue)(t.userAgentPrefix);return{name:kq,async sendRequest(r,n){return r.headers.has(Tq)||r.headers.set(Tq,await e),n(r)}}}s(ode,"userAgentPolicy")});var jb=f((dHe,qq)=>{var Gb=Object.defineProperty,ade=Object.getOwnPropertyDescriptor,cde=Object.getOwnPropertyNames,lde=Object.prototype.hasOwnProperty,Ade=s((t,e)=>{for(var r in e)Gb(t,r,{get:e[r],enumerable:!0})},"__export"),ude=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of cde(e))!lde.call(t,i)&&i!==r&&Gb(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=ade(e,i))||n.enumerable});return t},"__copyProps"),dde=s(t=>ude(Gb({},"__esModule",{value:!0}),t),"__toCommonJS"),Fq={};Ade(Fq,{decompressResponsePolicy:s(()=>pde,"decompressResponsePolicy"),decompressResponsePolicyName:s(()=>Uq,"decompressResponsePolicyName")});qq.exports=dde(Fq);var Uq="decompressResponsePolicy";function pde(){return{name:Uq,async sendRequest(t,e){return t.method!=="HEAD"&&t.headers.set("Accept-Encoding","gzip,deflate"),e(t)}}}s(pde,"decompressResponsePolicy")});var Jb=f((mHe,zq)=>{var Yb=Object.defineProperty,mde=Object.getOwnPropertyDescriptor,gde=Object.getOwnPropertyNames,hde=Object.prototype.hasOwnProperty,fde=s((t,e)=>{for(var r in e)Yb(t,r,{get:e[r],enumerable:!0})},"__export"),yde=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of gde(e))!hde.call(t,i)&&i!==r&&Yb(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=mde(e,i))||n.enumerable});return t},"__copyProps"),Cde=s(t=>yde(Yb({},"__esModule",{value:!0}),t),"__toCommonJS"),Hq={};fde(Hq,{getRandomIntegerInclusive:s(()=>Ede,"getRandomIntegerInclusive")});zq.exports=Cde(Hq);function Ede(t,e){return t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t+1))+t}s(Ede,"getRandomIntegerInclusive")});var Wb=f((hHe,jq)=>{var Vb=Object.defineProperty,Bde=Object.getOwnPropertyDescriptor,Ide=Object.getOwnPropertyNames,bde=Object.prototype.hasOwnProperty,Qde=s((t,e)=>{for(var r in e)Vb(t,r,{get:e[r],enumerable:!0})},"__export"),Nde=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ide(e))!bde.call(t,i)&&i!==r&&Vb(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=Bde(e,i))||n.enumerable});return t},"__copyProps"),wde=s(t=>Nde(Vb({},"__esModule",{value:!0}),t),"__toCommonJS"),Gq={};Qde(Gq,{calculateRetryDelay:s(()=>xde,"calculateRetryDelay")});jq.exports=wde(Gq);var Sde=Jb();function xde(t,e){let r=e.retryDelayInMs*Math.pow(2,t),n=Math.min(e.maxRetryDelayInMs,r);return{retryAfterInMs:n/2+(0,Sde.getRandomIntegerInclusive)(0,n/2)}}s(xde,"calculateRetryDelay")});var $b=f((yHe,Jq)=>{var Kb=Object.defineProperty,Rde=Object.getOwnPropertyDescriptor,vde=Object.getOwnPropertyNames,Pde=Object.prototype.hasOwnProperty,_de=s((t,e)=>{for(var r in e)Kb(t,r,{get:e[r],enumerable:!0})},"__export"),Dde=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of vde(e))!Pde.call(t,i)&&i!==r&&Kb(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=Rde(e,i))||n.enumerable});return t},"__copyProps"),Tde=s(t=>Dde(Kb({},"__esModule",{value:!0}),t),"__toCommonJS"),Yq={};_de(Yq,{delay:s(()=>kde,"delay"),parseHeaderValueAsNumber:s(()=>Lde,"parseHeaderValueAsNumber")});Jq.exports=Tde(Yq);var Ode=XA(),Mde="The operation was aborted.";function kde(t,e,r){return new Promise((n,i)=>{let o,a,c=s(()=>i(new Ode.AbortError(r?.abortErrorMsg?r?.abortErrorMsg:Mde)),"rejectOnAbort"),l=s(()=>{r?.abortSignal&&a&&r.abortSignal.removeEventListener("abort",a)},"removeListeners");if(a=s(()=>(o&&clearTimeout(o),l(),c()),"onAborted"),r?.abortSignal&&r.abortSignal.aborted)return c();o=setTimeout(()=>{l(),n(e)},t),r?.abortSignal&&r.abortSignal.addEventListener("abort",a)})}s(kde,"delay");function Lde(t,e){let r=t.headers.get(e);if(!r)return;let n=Number(r);if(!Number.isNaN(n))return n}s(Lde,"parseHeaderValueAsNumber")});var qm=f((EHe,Kq)=>{var Zb=Object.defineProperty,Fde=Object.getOwnPropertyDescriptor,Ude=Object.getOwnPropertyNames,qde=Object.prototype.hasOwnProperty,Hde=s((t,e)=>{for(var r in e)Zb(t,r,{get:e[r],enumerable:!0})},"__export"),zde=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ude(e))!qde.call(t,i)&&i!==r&&Zb(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=Fde(e,i))||n.enumerable});return t},"__copyProps"),Gde=s(t=>zde(Zb({},"__esModule",{value:!0}),t),"__toCommonJS"),Vq={};Hde(Vq,{isThrottlingRetryResponse:s(()=>Jde,"isThrottlingRetryResponse"),throttlingRetryStrategy:s(()=>Vde,"throttlingRetryStrategy")});Kq.exports=Gde(Vq);var jde=$b(),Xb="Retry-After",Yde=["retry-after-ms","x-ms-retry-after-ms",Xb];function Wq(t){if(t&&[429,503].includes(t.status))try{for(let i of Yde){let o=(0,jde.parseHeaderValueAsNumber)(t,i);if(o===0||o)return o*(i===Xb?1e3:1)}let e=t.headers.get(Xb);if(!e)return;let n=Date.parse(e)-Date.now();return Number.isFinite(n)?Math.max(0,n):void 0}catch{return}}s(Wq,"getRetryAfterInMs");function Jde(t){return Number.isFinite(Wq(t))}s(Jde,"isThrottlingRetryResponse");function Vde(){return{name:"throttlingRetryStrategy",retry({response:t}){let e=Wq(t);return Number.isFinite(e)?{retryAfterInMs:e}:{skipStrategy:!0}}}}s(Vde,"throttlingRetryStrategy")});var Hm=f((IHe,e1)=>{var eQ=Object.defineProperty,Wde=Object.getOwnPropertyDescriptor,Kde=Object.getOwnPropertyNames,$de=Object.prototype.hasOwnProperty,Xde=s((t,e)=>{for(var r in e)eQ(t,r,{get:e[r],enumerable:!0})},"__export"),Zde=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Kde(e))!$de.call(t,i)&&i!==r&&eQ(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=Wde(e,i))||n.enumerable});return t},"__copyProps"),epe=s(t=>Zde(eQ({},"__esModule",{value:!0}),t),"__toCommonJS"),$q={};Xde($q,{exponentialRetryStrategy:s(()=>spe,"exponentialRetryStrategy"),isExponentialRetryResponse:s(()=>Xq,"isExponentialRetryResponse"),isSystemError:s(()=>Zq,"isSystemError")});e1.exports=epe($q);var tpe=Wb(),rpe=qm(),npe=1e3,ipe=1e3*64;function spe(t={}){let e=t.retryDelayInMs??npe,r=t.maxRetryDelayInMs??ipe;return{name:"exponentialRetryStrategy",retry({retryCount:n,response:i,responseError:o}){let a=Zq(o),c=a&&t.ignoreSystemErrors,l=Xq(i),A=l&&t.ignoreHttpStatusCodes;return i&&((0,rpe.isThrottlingRetryResponse)(i)||!l)||A||c?{skipStrategy:!0}:o&&!a&&!l?{errorToThrow:o}:(0,tpe.calculateRetryDelay)(n,{retryDelayInMs:e,maxRetryDelayInMs:r})}}}s(spe,"exponentialRetryStrategy");function Xq(t){return!!(t&&t.status!==void 0&&(t.status>=500||t.status===408)&&t.status!==501&&t.status!==505)}s(Xq,"isExponentialRetryResponse");function Zq(t){return t?t.code==="ETIMEDOUT"||t.code==="ESOCKETTIMEDOUT"||t.code==="ECONNREFUSED"||t.code==="ECONNRESET"||t.code==="ENOENT"||t.code==="ENOTFOUND":!1}s(Zq,"isSystemError")});var Nc=f((QHe,n1)=>{var tQ=Object.defineProperty,ope=Object.getOwnPropertyDescriptor,ape=Object.getOwnPropertyNames,cpe=Object.prototype.hasOwnProperty,lpe=s((t,e)=>{for(var r in e)tQ(t,r,{get:e[r],enumerable:!0})},"__export"),Ape=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of ape(e))!cpe.call(t,i)&&i!==r&&tQ(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=ope(e,i))||n.enumerable});return t},"__copyProps"),upe=s(t=>Ape(tQ({},"__esModule",{value:!0}),t),"__toCommonJS"),r1={};lpe(r1,{retryPolicy:s(()=>fpe,"retryPolicy")});n1.exports=upe(r1);var dpe=$b(),ppe=XA(),mpe=eu(),t1=Uo(),gpe=(0,mpe.createClientLogger)("ts-http-runtime retryPolicy"),hpe="retryPolicy";function fpe(t,e={maxRetries:t1.DEFAULT_RETRY_POLICY_COUNT}){let r=e.logger||gpe;return{name:hpe,async sendRequest(n,i){let o,a,c=-1;e:for(;;){c+=1,o=void 0,a=void 0;try{r.info(`Retry ${c}: Attempting to send request`,n.requestId),o=await i(n),r.info(`Retry ${c}: Received a response from request`,n.requestId)}catch(l){if(r.error(`Retry ${c}: Received an error from request`,n.requestId),a=l,!l||a.name!=="RestError")throw l;o=a.response}if(n.abortSignal?.aborted)throw r.error(`Retry ${c}: Request aborted.`),new ppe.AbortError;if(c>=(e.maxRetries??t1.DEFAULT_RETRY_POLICY_COUNT)){if(r.info(`Retry ${c}: Maximum retries reached. Returning the last received response, or throwing the last received error.`),a)throw a;if(o)return o;throw new Error("Maximum retries reached with no response or error to throw")}r.info(`Retry ${c}: Processing ${t.length} retry strategies.`);t:for(let l of t){let A=l.logger||r;A.info(`Retry ${c}: Processing retry strategy ${l.name}.`);let u=l.retry({retryCount:c,response:o,responseError:a});if(u.skipStrategy){A.info(`Retry ${c}: Skipped.`);continue t}let{errorToThrow:d,retryAfterInMs:g,redirectTo:y}=u;if(d)throw A.error(`Retry ${c}: Retry strategy ${l.name} throws error:`,d),d;if(g||g===0){A.info(`Retry ${c}: Retry strategy ${l.name} retries after ${g}`),await(0,dpe.delay)(g,void 0,{abortSignal:n.abortSignal});continue e}if(y){A.info(`Retry ${c}: Retry strategy ${l.name} redirects to ${y}`),n.url=y;continue e}}if(a)throw r.info("None of the retry strategies could work with the received error. Throwing it."),a;if(o)return r.info("None of the retry strategies could work with the received response. Returning it."),o}}}}s(fpe,"retryPolicy")});var nQ=f((wHe,o1)=>{var rQ=Object.defineProperty,ype=Object.getOwnPropertyDescriptor,Cpe=Object.getOwnPropertyNames,Epe=Object.prototype.hasOwnProperty,Bpe=s((t,e)=>{for(var r in e)rQ(t,r,{get:e[r],enumerable:!0})},"__export"),Ipe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Cpe(e))!Epe.call(t,i)&&i!==r&&rQ(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=ype(e,i))||n.enumerable});return t},"__copyProps"),bpe=s(t=>Ipe(rQ({},"__esModule",{value:!0}),t),"__toCommonJS"),i1={};Bpe(i1,{defaultRetryPolicy:s(()=>xpe,"defaultRetryPolicy"),defaultRetryPolicyName:s(()=>s1,"defaultRetryPolicyName")});o1.exports=bpe(i1);var Qpe=Hm(),Npe=qm(),wpe=Nc(),Spe=Uo(),s1="defaultRetryPolicy";function xpe(t={}){return{name:s1,sendRequest:(0,wpe.retryPolicy)([(0,Npe.throttlingRetryStrategy)(),(0,Qpe.exponentialRetryStrategy)(t)],{maxRetries:t.maxRetries??Spe.DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}s(xpe,"defaultRetryPolicy")});var iu=f((xHe,u1)=>{var iQ=Object.defineProperty,Rpe=Object.getOwnPropertyDescriptor,vpe=Object.getOwnPropertyNames,Ppe=Object.prototype.hasOwnProperty,_pe=s((t,e)=>{for(var r in e)iQ(t,r,{get:e[r],enumerable:!0})},"__export"),Dpe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of vpe(e))!Ppe.call(t,i)&&i!==r&&iQ(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=Rpe(e,i))||n.enumerable});return t},"__copyProps"),Tpe=s(t=>Dpe(iQ({},"__esModule",{value:!0}),t),"__toCommonJS"),a1={};_pe(a1,{isBrowser:s(()=>Ope,"isBrowser"),isBun:s(()=>l1,"isBun"),isDeno:s(()=>c1,"isDeno"),isNodeLike:s(()=>A1,"isNodeLike"),isNodeRuntime:s(()=>kpe,"isNodeRuntime"),isReactNative:s(()=>Lpe,"isReactNative"),isWebWorker:s(()=>Mpe,"isWebWorker")});u1.exports=Tpe(a1);var Ope=typeof window<"u"&&typeof window.document<"u",Mpe=typeof self=="object"&&typeof self?.importScripts=="function"&&(self.constructor?.name==="DedicatedWorkerGlobalScope"||self.constructor?.name==="ServiceWorkerGlobalScope"||self.constructor?.name==="SharedWorkerGlobalScope"),c1=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",l1=typeof Bun<"u"&&typeof Bun.version<"u",A1=typeof globalThis.process<"u"&&!!globalThis.process.version&&!!globalThis.process.versions?.node,kpe=A1&&!l1&&!c1,Lpe=typeof navigator<"u"&&navigator?.product==="ReactNative"});var oQ=f((vHe,g1)=>{var sQ=Object.defineProperty,Fpe=Object.getOwnPropertyDescriptor,Upe=Object.getOwnPropertyNames,qpe=Object.prototype.hasOwnProperty,Hpe=s((t,e)=>{for(var r in e)sQ(t,r,{get:e[r],enumerable:!0})},"__export"),zpe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Upe(e))!qpe.call(t,i)&&i!==r&&sQ(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=Fpe(e,i))||n.enumerable});return t},"__copyProps"),Gpe=s(t=>zpe(sQ({},"__esModule",{value:!0}),t),"__toCommonJS"),p1={};Hpe(p1,{formDataPolicy:s(()=>Vpe,"formDataPolicy"),formDataPolicyName:s(()=>m1,"formDataPolicyName")});g1.exports=Gpe(p1);var jpe=Fo(),Ype=iu(),d1=Ds(),m1="formDataPolicy";function Jpe(t){let e={};for(let[r,n]of t.entries())e[r]??=[],e[r].push(n);return e}s(Jpe,"formDataToFormDataMap");function Vpe(){return{name:m1,async sendRequest(t,e){if(Ype.isNodeLike&&typeof FormData<"u"&&t.body instanceof FormData&&(t.formData=Jpe(t.body),t.body=void 0),t.formData){let r=t.headers.get("Content-Type");r&&r.indexOf("application/x-www-form-urlencoded")!==-1?t.body=Wpe(t.formData):await Kpe(t.formData,t),t.formData=void 0}return e(t)}}}s(Vpe,"formDataPolicy");function Wpe(t){let e=new URLSearchParams;for(let[r,n]of Object.entries(t))if(Array.isArray(n))for(let i of n)e.append(r,i.toString());else e.append(r,n.toString());return e.toString()}s(Wpe,"wwwFormUrlEncode");async function Kpe(t,e){let r=e.headers.get("Content-Type");if(r&&!r.startsWith("multipart/form-data"))return;e.headers.set("Content-Type",r??"multipart/form-data");let n=[];for(let[i,o]of Object.entries(t))for(let a of Array.isArray(o)?o:[o])if(typeof a=="string")n.push({headers:(0,d1.createHttpHeaders)({"Content-Disposition":`form-data; name="${i}"`}),body:(0,jpe.stringToUint8Array)(a,"utf-8")});else{if(a==null||typeof a!="object")throw new Error(`Unexpected value for key ${i}: ${a}. Value should be serialized to string first.`);{let c=a.name||"blob",l=(0,d1.createHttpHeaders)();l.set("Content-Disposition",`form-data; name="${i}"; filename="${c}"`),l.set("Content-Type",a.type||"application/octet-stream"),n.push({headers:l,body:a})}}e.multipartBody={parts:n}}s(Kpe,"prepareFormData")});var f1=f((_He,h1)=>{var wc=1e3,Sc=wc*60,xc=Sc*60,qo=xc*24,$pe=qo*7,Xpe=qo*365.25;h1.exports=function(t,e){e=e||{};var r=typeof t;if(r==="string"&&t.length>0)return Zpe(t);if(r==="number"&&isFinite(t))return e.long?tme(t):eme(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function Zpe(t){if(t=String(t),!(t.length>100)){var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(e){var r=parseFloat(e[1]),n=(e[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return r*Xpe;case"weeks":case"week":case"w":return r*$pe;case"days":case"day":case"d":return r*qo;case"hours":case"hour":case"hrs":case"hr":case"h":return r*xc;case"minutes":case"minute":case"mins":case"min":case"m":return r*Sc;case"seconds":case"second":case"secs":case"sec":case"s":return r*wc;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}s(Zpe,"parse");function eme(t){var e=Math.abs(t);return e>=qo?Math.round(t/qo)+"d":e>=xc?Math.round(t/xc)+"h":e>=Sc?Math.round(t/Sc)+"m":e>=wc?Math.round(t/wc)+"s":t+"ms"}s(eme,"fmtShort");function tme(t){var e=Math.abs(t);return e>=qo?zm(t,e,qo,"day"):e>=xc?zm(t,e,xc,"hour"):e>=Sc?zm(t,e,Sc,"minute"):e>=wc?zm(t,e,wc,"second"):t+" ms"}s(tme,"fmtLong");function zm(t,e,r,n){var i=e>=r*1.5;return Math.round(t/r)+" "+n+(i?"s":"")}s(zm,"plural")});var aQ=f((THe,y1)=>{function rme(t){r.debug=r,r.default=r,r.coerce=l,r.disable=a,r.enable=i,r.enabled=c,r.humanize=f1(),r.destroy=A,Object.keys(t).forEach(u=>{r[u]=t[u]}),r.names=[],r.skips=[],r.formatters={};function e(u){let d=0;for(let g=0;g{if(W==="%%")return"%";L++;let be=r.formatters[ne];if(typeof be=="function"){let He=x[L];W=be.call(S,He),x.splice(L,1),L--}return W}),r.formatArgs.call(S,x),(S.log||r.log).apply(S,x)}return s(w,"debug"),w.namespace=u,w.useColors=r.useColors(),w.color=r.selectColor(u),w.extend=n,w.destroy=r.destroy,Object.defineProperty(w,"enabled",{enumerable:!0,configurable:!1,get:s(()=>g!==null?g:(y!==r.namespaces&&(y=r.namespaces,B=r.enabled(u)),B),"get"),set:s(x=>{g=x},"set")}),typeof r.init=="function"&&r.init(w),w}s(r,"createDebug");function n(u,d){let g=r(this.namespace+(typeof d>"u"?":":d)+u);return g.log=this.log,g}s(n,"extend");function i(u){r.save(u),r.namespaces=u,r.names=[],r.skips=[];let d=(typeof u=="string"?u:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(let g of d)g[0]==="-"?r.skips.push(g.slice(1)):r.names.push(g)}s(i,"enable");function o(u,d){let g=0,y=0,B=-1,w=0;for(;g"-"+d)].join(",");return r.enable(""),u}s(a,"disable");function c(u){for(let d of r.skips)if(o(u,d))return!1;for(let d of r.names)if(o(u,d))return!0;return!1}s(c,"enabled");function l(u){return u instanceof Error?u.stack||u.message:u}s(l,"coerce");function A(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return s(A,"destroy"),r.enable(r.load()),r}s(rme,"setup");y1.exports=rme});var C1=f((vr,Gm)=>{vr.formatArgs=ime;vr.save=sme;vr.load=ome;vr.useColors=nme;vr.storage=ame();vr.destroy=(()=>{let t=!1;return()=>{t||(t=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();vr.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function nme(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let t;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(t=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(t[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}s(nme,"useColors");function ime(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+Gm.exports.humanize(this.diff),!this.useColors)return;let e="color: "+this.color;t.splice(1,0,e,"color: inherit");let r=0,n=0;t[0].replace(/%[a-zA-Z%]/g,i=>{i!=="%%"&&(r++,i==="%c"&&(n=r))}),t.splice(n,0,e)}s(ime,"formatArgs");vr.log=console.debug||console.log||(()=>{});function sme(t){try{t?vr.storage.setItem("debug",t):vr.storage.removeItem("debug")}catch{}}s(sme,"save");function ome(){let t;try{t=vr.storage.getItem("debug")||vr.storage.getItem("DEBUG")}catch{}return!t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t}s(ome,"load");function ame(){try{return localStorage}catch{}}s(ame,"localstorage");Gm.exports=aQ()(vr);var{formatters:cme}=Gm.exports;cme.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var B1=f((kHe,E1)=>{"use strict";E1.exports=(t,e=process.argv)=>{let r=t.startsWith("-")?"":t.length===1?"-":"--",n=e.indexOf(r+t),i=e.indexOf("--");return n!==-1&&(i===-1||n{"use strict";var lme=require("os"),I1=require("tty"),In=B1(),{env:Yt}=process,Ts;In("no-color")||In("no-colors")||In("color=false")||In("color=never")?Ts=0:(In("color")||In("colors")||In("color=true")||In("color=always"))&&(Ts=1);"FORCE_COLOR"in Yt&&(Yt.FORCE_COLOR==="true"?Ts=1:Yt.FORCE_COLOR==="false"?Ts=0:Ts=Yt.FORCE_COLOR.length===0?1:Math.min(parseInt(Yt.FORCE_COLOR,10),3));function cQ(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}s(cQ,"translateLevel");function lQ(t,e){if(Ts===0)return 0;if(In("color=16m")||In("color=full")||In("color=truecolor"))return 3;if(In("color=256"))return 2;if(t&&!e&&Ts===void 0)return 0;let r=Ts||0;if(Yt.TERM==="dumb")return r;if(process.platform==="win32"){let n=lme.release().split(".");return Number(n[0])>=10&&Number(n[2])>=10586?Number(n[2])>=14931?3:2:1}if("CI"in Yt)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(n=>n in Yt)||Yt.CI_NAME==="codeship"?1:r;if("TEAMCITY_VERSION"in Yt)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Yt.TEAMCITY_VERSION)?1:0;if(Yt.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in Yt){let n=parseInt((Yt.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Yt.TERM_PROGRAM){case"iTerm.app":return n>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Yt.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Yt.TERM)||"COLORTERM"in Yt?1:r}s(lQ,"supportsColor");function Ame(t){let e=lQ(t,t&&t.isTTY);return cQ(e)}s(Ame,"getSupportLevel");b1.exports={supportsColor:Ame,stdout:cQ(lQ(!0,I1.isatty(1))),stderr:cQ(lQ(!0,I1.isatty(2)))}});var w1=f((Jt,Ym)=>{var ume=require("tty"),jm=require("util");Jt.init=yme;Jt.log=gme;Jt.formatArgs=pme;Jt.save=hme;Jt.load=fme;Jt.useColors=dme;Jt.destroy=jm.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");Jt.colors=[6,2,3,4,5,1];try{let t=Q1();t&&(t.stderr||t).level>=2&&(Jt.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}Jt.inspectOpts=Object.keys(process.env).filter(t=>/^debug_/i.test(t)).reduce((t,e)=>{let r=e.substring(6).toLowerCase().replace(/_([a-z])/g,(i,o)=>o.toUpperCase()),n=process.env[e];return/^(yes|on|true|enabled)$/i.test(n)?n=!0:/^(no|off|false|disabled)$/i.test(n)?n=!1:n==="null"?n=null:n=Number(n),t[r]=n,t},{});function dme(){return"colors"in Jt.inspectOpts?!!Jt.inspectOpts.colors:ume.isatty(process.stderr.fd)}s(dme,"useColors");function pme(t){let{namespace:e,useColors:r}=this;if(r){let n=this.color,i="\x1B[3"+(n<8?n:"8;5;"+n),o=` ${i};1m${e} \x1B[0m`;t[0]=o+t[0].split(` `).join(` -`+s),t.push(i+"m+"+Hm.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=Xge()+e+" "+t[0]}o($ge,"formatArgs");function Xge(){return Ut.inspectOpts.hideDate?"":new Date().toISOString()+" "}o(Xge,"getDate");function Zge(...t){return process.stderr.write(qm.formatWithOptions(Ut.inspectOpts,...t)+` -`)}o(Zge,"log");function efe(t){t?process.env.DEBUG=t:delete process.env.DEBUG}o(efe,"save");function tfe(){return process.env.DEBUG}o(tfe,"load");function rfe(t){t.inspectOpts={};let e=Object.keys(Ut.inspectOpts);for(let r=0;re.trim()).join(" ")};M1.O=function(t){return this.inspectOpts.colors=this.useColors,qm.inspect(t,this.inspectOpts)}});var zm=h((Wze,AQ)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?AQ.exports=O1():AQ.exports=k1()});var U1=h(Nr=>{"use strict";var nfe=Nr&&Nr.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),ife=Nr&&Nr.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),L1=Nr&&Nr.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&nfe(e,t,r);return ife(e,t),e};Object.defineProperty(Nr,"__esModule",{value:!0});Nr.req=Nr.json=Nr.toBuffer=void 0;var sfe=L1(require("http")),ofe=L1(require("https"));async function F1(t){let e=0,r=[];for await(let n of t)e+=n.length,r.push(n);return Buffer.concat(r,e)}o(F1,"toBuffer");Nr.toBuffer=F1;async function afe(t){let r=(await F1(t)).toString("utf8");try{return JSON.parse(r)}catch(n){let i=n;throw i.message+=` (input: ${r})`,i}}o(afe,"json");Nr.json=afe;function cfe(t,e={}){let n=((typeof t=="string"?t:t.href).startsWith("https:")?ofe:sfe).request(t,e),i=new Promise((s,a)=>{n.once("response",s).once("error",a).end()});return n.then=i.then.bind(i),n}o(cfe,"req");Nr.req=cfe});var dQ=h(Vr=>{"use strict";var H1=Vr&&Vr.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),lfe=Vr&&Vr.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),z1=Vr&&Vr.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&H1(e,t,r);return lfe(e,t),e},Afe=Vr&&Vr.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&H1(e,t,r)};Object.defineProperty(Vr,"__esModule",{value:!0});Vr.Agent=void 0;var ufe=z1(require("net")),q1=z1(require("http")),dfe=require("https");Afe(U1(),Vr);var pi=Symbol("AgentBaseInternalState"),uQ=class extends q1.Agent{static{o(this,"Agent")}constructor(e){super(e),this[pi]={}}isSecureEndpoint(e){if(e){if(typeof e.secureEndpoint=="boolean")return e.secureEndpoint;if(typeof e.protocol=="string")return e.protocol==="https:"}let{stack:r}=new Error;return typeof r!="string"?!1:r.split(` -`).some(n=>n.indexOf("(https.js:")!==-1||n.indexOf("node:https:")!==-1)}incrementSockets(e){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;this.sockets[e]||(this.sockets[e]=[]);let r=new ufe.Socket({writable:!1});return this.sockets[e].push(r),this.totalSocketCount++,r}decrementSockets(e,r){if(!this.sockets[e]||r===null)return;let n=this.sockets[e],i=n.indexOf(r);i!==-1&&(n.splice(i,1),this.totalSocketCount--,n.length===0&&delete this.sockets[e])}getName(e){return this.isSecureEndpoint(e)?dfe.Agent.prototype.getName.call(this,e):super.getName(e)}createSocket(e,r,n){let i={...r,secureEndpoint:this.isSecureEndpoint(r)},s=this.getName(i),a=this.incrementSockets(s);Promise.resolve().then(()=>this.connect(e,i)).then(c=>{if(this.decrementSockets(s,a),c instanceof q1.Agent)try{return c.addRequest(e,i)}catch(l){return n(l)}this[pi].currentSocket=c,super.createSocket(e,r,n)},c=>{this.decrementSockets(s,a),n(c)})}createConnection(){let e=this[pi].currentSocket;if(this[pi].currentSocket=void 0,!e)throw new Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[pi].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){this[pi]&&(this[pi].defaultPort=e)}get protocol(){return this[pi].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[pi]&&(this[pi].protocol=e)}};Vr.Agent=uQ});var j1=h(Ec=>{"use strict";var pfe=Ec&&Ec.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Ec,"__esModule",{value:!0});Ec.parseProxyResponse=void 0;var mfe=pfe(zm()),jm=(0,mfe.default)("https-proxy-agent:parse-proxy-response");function gfe(t){return new Promise((e,r)=>{let n=0,i=[];function s(){let u=t.read();u?A(u):t.once("readable",s)}o(s,"read");function a(){t.removeListener("end",c),t.removeListener("error",l),t.removeListener("readable",s)}o(a,"cleanup");function c(){a(),jm("onend"),r(new Error("Proxy connection ended before receiving CONNECT response"))}o(c,"onend");function l(u){a(),jm("onerror %o",u),r(u)}o(l,"onerror");function A(u){i.push(u),n+=u.length;let d=Buffer.concat(i,n),g=d.indexOf(`\r +`+o),t.push(i+"m+"+Ym.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=mme()+e+" "+t[0]}s(pme,"formatArgs");function mme(){return Jt.inspectOpts.hideDate?"":new Date().toISOString()+" "}s(mme,"getDate");function gme(...t){return process.stderr.write(jm.formatWithOptions(Jt.inspectOpts,...t)+` +`)}s(gme,"log");function hme(t){t?process.env.DEBUG=t:delete process.env.DEBUG}s(hme,"save");function fme(){return process.env.DEBUG}s(fme,"load");function yme(t){t.inspectOpts={};let e=Object.keys(Jt.inspectOpts);for(let r=0;re.trim()).join(" ")};N1.O=function(t){return this.inspectOpts.colors=this.useColors,jm.inspect(t,this.inspectOpts)}});var Jm=f((qHe,AQ)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?AQ.exports=C1():AQ.exports=w1()});var R1=f(Pr=>{"use strict";var Cme=Pr&&Pr.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:s(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Eme=Pr&&Pr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),S1=Pr&&Pr.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&Cme(e,t,r);return Eme(e,t),e};Object.defineProperty(Pr,"__esModule",{value:!0});Pr.req=Pr.json=Pr.toBuffer=void 0;var Bme=S1(require("http")),Ime=S1(require("https"));async function x1(t){let e=0,r=[];for await(let n of t)e+=n.length,r.push(n);return Buffer.concat(r,e)}s(x1,"toBuffer");Pr.toBuffer=x1;async function bme(t){let r=(await x1(t)).toString("utf8");try{return JSON.parse(r)}catch(n){let i=n;throw i.message+=` (input: ${r})`,i}}s(bme,"json");Pr.json=bme;function Qme(t,e={}){let n=((typeof t=="string"?t:t.href).startsWith("https:")?Ime:Bme).request(t,e),i=new Promise((o,a)=>{n.once("response",o).once("error",a).end()});return n.then=i.then.bind(i),n}s(Qme,"req");Pr.req=Qme});var dQ=f(Xr=>{"use strict";var P1=Xr&&Xr.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:s(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Nme=Xr&&Xr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),_1=Xr&&Xr.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&P1(e,t,r);return Nme(e,t),e},wme=Xr&&Xr.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&P1(e,t,r)};Object.defineProperty(Xr,"__esModule",{value:!0});Xr.Agent=void 0;var Sme=_1(require("net")),v1=_1(require("http")),xme=require("https");wme(R1(),Xr);var hi=Symbol("AgentBaseInternalState"),uQ=class extends v1.Agent{static{s(this,"Agent")}constructor(e){super(e),this[hi]={}}isSecureEndpoint(e){if(e){if(typeof e.secureEndpoint=="boolean")return e.secureEndpoint;if(typeof e.protocol=="string")return e.protocol==="https:"}let{stack:r}=new Error;return typeof r!="string"?!1:r.split(` +`).some(n=>n.indexOf("(https.js:")!==-1||n.indexOf("node:https:")!==-1)}incrementSockets(e){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;this.sockets[e]||(this.sockets[e]=[]);let r=new Sme.Socket({writable:!1});return this.sockets[e].push(r),this.totalSocketCount++,r}decrementSockets(e,r){if(!this.sockets[e]||r===null)return;let n=this.sockets[e],i=n.indexOf(r);i!==-1&&(n.splice(i,1),this.totalSocketCount--,n.length===0&&delete this.sockets[e])}getName(e){return this.isSecureEndpoint(e)?xme.Agent.prototype.getName.call(this,e):super.getName(e)}createSocket(e,r,n){let i={...r,secureEndpoint:this.isSecureEndpoint(r)},o=this.getName(i),a=this.incrementSockets(o);Promise.resolve().then(()=>this.connect(e,i)).then(c=>{if(this.decrementSockets(o,a),c instanceof v1.Agent)try{return c.addRequest(e,i)}catch(l){return n(l)}this[hi].currentSocket=c,super.createSocket(e,r,n)},c=>{this.decrementSockets(o,a),n(c)})}createConnection(){let e=this[hi].currentSocket;if(this[hi].currentSocket=void 0,!e)throw new Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[hi].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){this[hi]&&(this[hi].defaultPort=e)}get protocol(){return this[hi].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[hi]&&(this[hi].protocol=e)}};Xr.Agent=uQ});var D1=f(Rc=>{"use strict";var Rme=Rc&&Rc.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Rc,"__esModule",{value:!0});Rc.parseProxyResponse=void 0;var vme=Rme(Jm()),Vm=(0,vme.default)("https-proxy-agent:parse-proxy-response");function Pme(t){return new Promise((e,r)=>{let n=0,i=[];function o(){let u=t.read();u?A(u):t.once("readable",o)}s(o,"read");function a(){t.removeListener("end",c),t.removeListener("error",l),t.removeListener("readable",o)}s(a,"cleanup");function c(){a(),Vm("onend"),r(new Error("Proxy connection ended before receiving CONNECT response"))}s(c,"onend");function l(u){a(),Vm("onerror %o",u),r(u)}s(l,"onerror");function A(u){i.push(u),n+=u.length;let d=Buffer.concat(i,n),g=d.indexOf(`\r \r -`);if(g===-1){jm("have not received end of HTTP headers yet..."),s();return}let f=d.slice(0,g).toString("ascii").split(`\r -`),C=f.shift();if(!C)return t.destroy(),r(new Error("No header received from proxy CONNECT response"));let Q=C.split(" "),x=+Q[1],w=Q.slice(2).join(" "),v={};for(let T of f){if(!T)continue;let L=T.indexOf(":");if(L===-1)return t.destroy(),r(new Error(`Invalid header from proxy CONNECT response: "${T}"`));let W=T.slice(0,L).toLowerCase(),de=T.slice(L+1).trimStart(),le=v[W];typeof le=="string"?v[W]=[le,de]:Array.isArray(le)?le.push(de):v[W]=de}jm("got proxy server response: %o %o",C,v),a(),e({connect:{statusCode:x,statusText:w,headers:v},buffered:d})}o(A,"ondata"),t.on("error",l),t.on("end",c),s()})}o(gfe,"parseProxyResponse");Ec.parseProxyResponse=gfe});var K1=h(Cn=>{"use strict";var ffe=Cn&&Cn.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),hfe=Cn&&Cn.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),V1=Cn&&Cn.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&ffe(e,t,r);return hfe(e,t),e},W1=Cn&&Cn.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Cn,"__esModule",{value:!0});Cn.HttpsProxyAgent=void 0;var Gm=V1(require("net")),G1=V1(require("tls")),yfe=W1(require("assert")),Cfe=W1(zm()),Efe=dQ(),Bfe=require("url"),Ife=j1(),$A=(0,Cfe.default)("https-proxy-agent"),Y1=o(t=>t.servername===void 0&&t.host&&!Gm.isIP(t.host)?{...t,servername:t.host}:t,"setServernameFromNonIpHost"),Ym=class extends Efe.Agent{static{o(this,"HttpsProxyAgent")}constructor(e,r){super(r),this.options={path:void 0},this.proxy=typeof e=="string"?new Bfe.URL(e):e,this.proxyHeaders=r?.headers??{},$A("Creating new HttpsProxyAgent instance: %o",this.proxy.href);let n=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),i=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...r?J1(r,"headers"):null,host:n,port:i}}async connect(e,r){let{proxy:n}=this;if(!r.host)throw new TypeError('No "host" provided');let i;n.protocol==="https:"?($A("Creating `tls.Socket`: %o",this.connectOpts),i=G1.connect(Y1(this.connectOpts))):($A("Creating `net.Socket`: %o",this.connectOpts),i=Gm.connect(this.connectOpts));let s=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders},a=Gm.isIPv6(r.host)?`[${r.host}]`:r.host,c=`CONNECT ${a}:${r.port} HTTP/1.1\r -`;if(n.username||n.password){let g=`${decodeURIComponent(n.username)}:${decodeURIComponent(n.password)}`;s["Proxy-Authorization"]=`Basic ${Buffer.from(g).toString("base64")}`}s.Host=`${a}:${r.port}`,s["Proxy-Connection"]||(s["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(let g of Object.keys(s))c+=`${g}: ${s[g]}\r -`;let l=(0,Ife.parseProxyResponse)(i);i.write(`${c}\r -`);let{connect:A,buffered:u}=await l;if(e.emit("proxyConnect",A),this.emit("proxyConnect",A,e),A.statusCode===200)return e.once("socket",bfe),r.secureEndpoint?($A("Upgrading socket connection to TLS"),G1.connect({...J1(Y1(r),"host","path","port"),socket:i})):i;i.destroy();let d=new Gm.Socket({writable:!1});return d.readable=!0,e.once("socket",g=>{$A("Replaying proxy buffer for failed request"),(0,yfe.default)(g.listenerCount("data")>0),g.push(u),g.push(null)}),d}};Ym.protocols=["http","https"];Cn.HttpsProxyAgent=Ym;function bfe(t){t.resume()}o(bfe,"resume");function J1(t,...e){let r={},n;for(n in t)e.includes(n)||(r[n]=t[n]);return r}o(J1,"omit")});var Z1=h(En=>{"use strict";var Qfe=En&&En.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),wfe=En&&En.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),X1=En&&En.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&Qfe(e,t,r);return wfe(e,t),e},Nfe=En&&En.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(En,"__esModule",{value:!0});En.HttpProxyAgent=void 0;var Sfe=X1(require("net")),xfe=X1(require("tls")),vfe=Nfe(zm()),Rfe=require("events"),_fe=dQ(),$1=require("url"),Bc=(0,vfe.default)("http-proxy-agent"),Jm=class extends _fe.Agent{static{o(this,"HttpProxyAgent")}constructor(e,r){super(r),this.proxy=typeof e=="string"?new $1.URL(e):e,this.proxyHeaders=r?.headers??{},Bc("Creating new HttpProxyAgent instance: %o",this.proxy.href);let n=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),i=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={...r?Pfe(r,"headers"):null,host:n,port:i}}addRequest(e,r){e._header=null,this.setRequestProps(e,r),super.addRequest(e,r)}setRequestProps(e,r){let{proxy:n}=this,i=r.secureEndpoint?"https:":"http:",s=e.getHeader("host")||"localhost",a=`${i}//${s}`,c=new $1.URL(e.path,a);r.port!==80&&(c.port=String(r.port)),e.path=String(c);let l=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders};if(n.username||n.password){let A=`${decodeURIComponent(n.username)}:${decodeURIComponent(n.password)}`;l["Proxy-Authorization"]=`Basic ${Buffer.from(A).toString("base64")}`}l["Proxy-Connection"]||(l["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(let A of Object.keys(l)){let u=l[A];u&&e.setHeader(A,u)}}async connect(e,r){e._header=null,e.path.includes("://")||this.setRequestProps(e,r);let n,i;Bc("Regenerating stored HTTP header string for request"),e._implicitHeader(),e.outputData&&e.outputData.length>0&&(Bc("Patching connection write() output buffer with updated header"),n=e.outputData[0].data,i=n.indexOf(`\r +`);if(g===-1){Vm("have not received end of HTTP headers yet..."),o();return}let y=d.slice(0,g).toString("ascii").split(`\r +`),B=y.shift();if(!B)return t.destroy(),r(new Error("No header received from proxy CONNECT response"));let w=B.split(" "),x=+w[1],S=w.slice(2).join(" "),R={};for(let D of y){if(!D)continue;let L=D.indexOf(":");if(L===-1)return t.destroy(),r(new Error(`Invalid header from proxy CONNECT response: "${D}"`));let K=D.slice(0,L).toLowerCase(),W=D.slice(L+1).trimStart(),ne=R[K];typeof ne=="string"?R[K]=[ne,W]:Array.isArray(ne)?ne.push(W):R[K]=W}Vm("got proxy server response: %o %o",B,R),a(),e({connect:{statusCode:x,statusText:S,headers:R},buffered:d})}s(A,"ondata"),t.on("error",l),t.on("end",c),o()})}s(Pme,"parseProxyResponse");Rc.parseProxyResponse=Pme});var F1=f(bn=>{"use strict";var _me=bn&&bn.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:s(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Dme=bn&&bn.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),k1=bn&&bn.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&_me(e,t,r);return Dme(e,t),e},L1=bn&&bn.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(bn,"__esModule",{value:!0});bn.HttpsProxyAgent=void 0;var Wm=k1(require("net")),T1=k1(require("tls")),Tme=L1(require("assert")),Ome=L1(Jm()),Mme=dQ(),kme=require("url"),Lme=D1(),su=(0,Ome.default)("https-proxy-agent"),O1=s(t=>t.servername===void 0&&t.host&&!Wm.isIP(t.host)?{...t,servername:t.host}:t,"setServernameFromNonIpHost"),Km=class extends Mme.Agent{static{s(this,"HttpsProxyAgent")}constructor(e,r){super(r),this.options={path:void 0},this.proxy=typeof e=="string"?new kme.URL(e):e,this.proxyHeaders=r?.headers??{},su("Creating new HttpsProxyAgent instance: %o",this.proxy.href);let n=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),i=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...r?M1(r,"headers"):null,host:n,port:i}}async connect(e,r){let{proxy:n}=this;if(!r.host)throw new TypeError('No "host" provided');let i;n.protocol==="https:"?(su("Creating `tls.Socket`: %o",this.connectOpts),i=T1.connect(O1(this.connectOpts))):(su("Creating `net.Socket`: %o",this.connectOpts),i=Wm.connect(this.connectOpts));let o=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders},a=Wm.isIPv6(r.host)?`[${r.host}]`:r.host,c=`CONNECT ${a}:${r.port} HTTP/1.1\r +`;if(n.username||n.password){let g=`${decodeURIComponent(n.username)}:${decodeURIComponent(n.password)}`;o["Proxy-Authorization"]=`Basic ${Buffer.from(g).toString("base64")}`}o.Host=`${a}:${r.port}`,o["Proxy-Connection"]||(o["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(let g of Object.keys(o))c+=`${g}: ${o[g]}\r +`;let l=(0,Lme.parseProxyResponse)(i);i.write(`${c}\r +`);let{connect:A,buffered:u}=await l;if(e.emit("proxyConnect",A),this.emit("proxyConnect",A,e),A.statusCode===200)return e.once("socket",Fme),r.secureEndpoint?(su("Upgrading socket connection to TLS"),T1.connect({...M1(O1(r),"host","path","port"),socket:i})):i;i.destroy();let d=new Wm.Socket({writable:!1});return d.readable=!0,e.once("socket",g=>{su("Replaying proxy buffer for failed request"),(0,Tme.default)(g.listenerCount("data")>0),g.push(u),g.push(null)}),d}};Km.protocols=["http","https"];bn.HttpsProxyAgent=Km;function Fme(t){t.resume()}s(Fme,"resume");function M1(t,...e){let r={},n;for(n in t)e.includes(n)||(r[n]=t[n]);return r}s(M1,"omit")});var H1=f(Qn=>{"use strict";var Ume=Qn&&Qn.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:s(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),qme=Qn&&Qn.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),q1=Qn&&Qn.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&Ume(e,t,r);return qme(e,t),e},Hme=Qn&&Qn.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Qn,"__esModule",{value:!0});Qn.HttpProxyAgent=void 0;var zme=q1(require("net")),Gme=q1(require("tls")),jme=Hme(Jm()),Yme=require("events"),Jme=dQ(),U1=require("url"),vc=(0,jme.default)("http-proxy-agent"),$m=class extends Jme.Agent{static{s(this,"HttpProxyAgent")}constructor(e,r){super(r),this.proxy=typeof e=="string"?new U1.URL(e):e,this.proxyHeaders=r?.headers??{},vc("Creating new HttpProxyAgent instance: %o",this.proxy.href);let n=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),i=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={...r?Vme(r,"headers"):null,host:n,port:i}}addRequest(e,r){e._header=null,this.setRequestProps(e,r),super.addRequest(e,r)}setRequestProps(e,r){let{proxy:n}=this,i=r.secureEndpoint?"https:":"http:",o=e.getHeader("host")||"localhost",a=`${i}//${o}`,c=new U1.URL(e.path,a);r.port!==80&&(c.port=String(r.port)),e.path=String(c);let l=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders};if(n.username||n.password){let A=`${decodeURIComponent(n.username)}:${decodeURIComponent(n.password)}`;l["Proxy-Authorization"]=`Basic ${Buffer.from(A).toString("base64")}`}l["Proxy-Connection"]||(l["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(let A of Object.keys(l)){let u=l[A];u&&e.setHeader(A,u)}}async connect(e,r){e._header=null,e.path.includes("://")||this.setRequestProps(e,r);let n,i;vc("Regenerating stored HTTP header string for request"),e._implicitHeader(),e.outputData&&e.outputData.length>0&&(vc("Patching connection write() output buffer with updated header"),n=e.outputData[0].data,i=n.indexOf(`\r \r -`)+4,e.outputData[0].data=e._header+n.substring(i),Bc("Output buffer: %o",e.outputData[0].data));let s;return this.proxy.protocol==="https:"?(Bc("Creating `tls.Socket`: %o",this.connectOpts),s=xfe.connect(this.connectOpts)):(Bc("Creating `net.Socket`: %o",this.connectOpts),s=Sfe.connect(this.connectOpts)),await(0,Rfe.once)(s,"connect"),s}};Jm.protocols=["http","https"];En.HttpProxyAgent=Jm;function Pfe(t,...e){let r={},n;for(n in t)e.includes(n)||(r[n]=t[n]);return r}o(Pfe,"omit")});var gQ=h((oje,aH)=>{var mQ=Object.defineProperty,Dfe=Object.getOwnPropertyDescriptor,Tfe=Object.getOwnPropertyNames,Ofe=Object.prototype.hasOwnProperty,Mfe=o((t,e)=>{for(var r in e)mQ(t,r,{get:e[r],enumerable:!0})},"__export"),kfe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Tfe(e))!Ofe.call(t,i)&&i!==r&&mQ(t,i,{get:()=>e[i],enumerable:!(n=Dfe(e,i))||n.enumerable});return t},"__copyProps"),Lfe=o(t=>kfe(mQ({},"__esModule",{value:!0}),t),"__toCommonJS"),rH={};Mfe(rH,{getDefaultProxySettings:()=>Vfe,globalNoProxyList:()=>pQ,loadNoProxy:()=>oH,proxyPolicy:()=>Kfe,proxyPolicyName:()=>nH});aH.exports=Lfe(rH);var Ffe=K1(),Ufe=Z1(),qfe=mc(),Hfe="HTTPS_PROXY",zfe="HTTP_PROXY",jfe="ALL_PROXY",Gfe="NO_PROXY",nH="proxyPolicy",pQ=[],iH=!1,Yfe=new Map;function Vm(t){if(process.env[t])return process.env[t];if(process.env[t.toLowerCase()])return process.env[t.toLowerCase()]}o(Vm,"getEnvironmentValue");function sH(){if(!process)return;let t=Vm(Hfe),e=Vm(jfe),r=Vm(zfe);return t||e||r}o(sH,"loadEnvironmentProxyValue");function Jfe(t,e,r){if(e.length===0)return!1;let n=new URL(t).hostname;if(r?.has(n))return r.get(n);let i=!1;for(let s of e)s[0]==="."?(n.endsWith(s)||n.length===s.length-1&&n===s.slice(1))&&(i=!0):n===s&&(i=!0);return r?.set(n,i),i}o(Jfe,"isBypassed");function oH(){let t=Vm(Gfe);return iH=!0,t?t.split(",").map(e=>e.trim()).filter(e=>e.length):[]}o(oH,"loadNoProxy");function Vfe(t){if(!t&&(t=sH(),!t))return;let e=new URL(t);return{host:(e.protocol?e.protocol+"//":"")+e.hostname,port:Number.parseInt(e.port||"80"),username:e.username,password:e.password}}o(Vfe,"getDefaultProxySettings");function Wfe(){let t=sH();return t?new URL(t):void 0}o(Wfe,"getDefaultProxySettingsInternal");function eH(t){let e;try{e=new URL(t.host)}catch{throw new Error(`Expecting a valid host string in proxy settings, but found "${t.host}".`)}return e.port=String(t.port),t.username&&(e.username=t.username),t.password&&(e.password=t.password),e}o(eH,"getUrlFromProxySettings");function tH(t,e,r){if(t.agent)return;let i=new URL(t.url).protocol!=="https:";t.tlsSettings&&qfe.logger.warning("TLS settings are not supported in combination with custom Proxy, certificates provided to the client will be ignored.");let s=t.headers.toJSON();i?(e.httpProxyAgent||(e.httpProxyAgent=new Ufe.HttpProxyAgent(r,{headers:s})),t.agent=e.httpProxyAgent):(e.httpsProxyAgent||(e.httpsProxyAgent=new Ffe.HttpsProxyAgent(r,{headers:s})),t.agent=e.httpsProxyAgent)}o(tH,"setProxyAgentOnRequest");function Kfe(t,e){iH||pQ.push(...oH());let r=t?eH(t):Wfe(),n={};return{name:nH,async sendRequest(i,s){return!i.proxySettings&&r&&!Jfe(i.url,e?.customNoProxyList??pQ,e?.customNoProxyList?void 0:Yfe)?tH(i,n,r):i.proxySettings&&tH(i,n,eH(i.proxySettings)),s(i)}}}o(Kfe,"proxyPolicy")});var hQ=h((cje,AH)=>{var fQ=Object.defineProperty,$fe=Object.getOwnPropertyDescriptor,Xfe=Object.getOwnPropertyNames,Zfe=Object.prototype.hasOwnProperty,ehe=o((t,e)=>{for(var r in e)fQ(t,r,{get:e[r],enumerable:!0})},"__export"),the=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Xfe(e))!Zfe.call(t,i)&&i!==r&&fQ(t,i,{get:()=>e[i],enumerable:!(n=$fe(e,i))||n.enumerable});return t},"__copyProps"),rhe=o(t=>the(fQ({},"__esModule",{value:!0}),t),"__toCommonJS"),cH={};ehe(cH,{agentPolicy:()=>nhe,agentPolicyName:()=>lH});AH.exports=rhe(cH);var lH="agentPolicy";function nhe(t){return{name:lH,sendRequest:async(e,r)=>(e.agent||(e.agent=t),r(e))}}o(nhe,"agentPolicy")});var CQ=h((Aje,pH)=>{var yQ=Object.defineProperty,ihe=Object.getOwnPropertyDescriptor,she=Object.getOwnPropertyNames,ohe=Object.prototype.hasOwnProperty,ahe=o((t,e)=>{for(var r in e)yQ(t,r,{get:e[r],enumerable:!0})},"__export"),che=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of she(e))!ohe.call(t,i)&&i!==r&&yQ(t,i,{get:()=>e[i],enumerable:!(n=ihe(e,i))||n.enumerable});return t},"__copyProps"),lhe=o(t=>che(yQ({},"__esModule",{value:!0}),t),"__toCommonJS"),uH={};ahe(uH,{tlsPolicy:()=>Ahe,tlsPolicyName:()=>dH});pH.exports=lhe(uH);var dH="tlsPolicy";function Ahe(t){return{name:dH,sendRequest:async(e,r)=>(e.tlsSettings||(e.tlsSettings=t),r(e))}}o(Ahe,"tlsPolicy")});var XA=h((dje,yH)=>{var EQ=Object.defineProperty,uhe=Object.getOwnPropertyDescriptor,dhe=Object.getOwnPropertyNames,phe=Object.prototype.hasOwnProperty,mhe=o((t,e)=>{for(var r in e)EQ(t,r,{get:e[r],enumerable:!0})},"__export"),ghe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of dhe(e))!phe.call(t,i)&&i!==r&&EQ(t,i,{get:()=>e[i],enumerable:!(n=uhe(e,i))||n.enumerable});return t},"__copyProps"),fhe=o(t=>ghe(EQ({},"__esModule",{value:!0}),t),"__toCommonJS"),mH={};mhe(mH,{isBinaryBody:()=>hhe,isBlob:()=>yhe,isNodeReadableStream:()=>gH,isReadableStream:()=>hH,isWebReadableStream:()=>fH});yH.exports=fhe(mH);function gH(t){return!!(t&&typeof t.pipe=="function")}o(gH,"isNodeReadableStream");function fH(t){return!!(t&&typeof t.getReader=="function"&&typeof t.tee=="function")}o(fH,"isWebReadableStream");function hhe(t){return t!==void 0&&(t instanceof Uint8Array||hH(t)||typeof t=="function"||t instanceof Blob)}o(hhe,"isBinaryBody");function hH(t){return gH(t)||fH(t)}o(hH,"isReadableStream");function yhe(t){return typeof t.stream=="function"}o(yhe,"isBlob")});var bH=h((mje,IH)=>{var BQ=Object.defineProperty,Che=Object.getOwnPropertyDescriptor,Ehe=Object.getOwnPropertyNames,Bhe=Object.prototype.hasOwnProperty,Ihe=o((t,e)=>{for(var r in e)BQ(t,r,{get:e[r],enumerable:!0})},"__export"),bhe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ehe(e))!Bhe.call(t,i)&&i!==r&&BQ(t,i,{get:()=>e[i],enumerable:!(n=Che(e,i))||n.enumerable});return t},"__copyProps"),Qhe=o(t=>bhe(BQ({},"__esModule",{value:!0}),t),"__toCommonJS"),BH={};Ihe(BH,{concat:()=>xhe});IH.exports=Qhe(BH);var IQ=require("stream"),whe=XA();async function*CH(){let t=this.getReader();try{for(;;){let{done:e,value:r}=await t.read();if(e)return;yield r}}finally{t.releaseLock()}}o(CH,"streamAsyncIterator");function Nhe(t){t[Symbol.asyncIterator]||(t[Symbol.asyncIterator]=CH.bind(t)),t.values||(t.values=CH.bind(t))}o(Nhe,"makeAsyncIterable");function EH(t){return t instanceof ReadableStream?(Nhe(t),IQ.Readable.fromWeb(t)):t}o(EH,"ensureNodeStream");function She(t){return t instanceof Uint8Array?IQ.Readable.from(Buffer.from(t)):(0,whe.isBlob)(t)?EH(t.stream()):EH(t)}o(She,"toStream");async function xhe(t){return function(){let e=t.map(r=>typeof r=="function"?r():r).map(She);return IQ.Readable.from(async function*(){for(let r of e)for await(let n of r)yield n}())}}o(xhe,"concat")});var QQ=h((fje,NH)=>{var bQ=Object.defineProperty,vhe=Object.getOwnPropertyDescriptor,Rhe=Object.getOwnPropertyNames,_he=Object.prototype.hasOwnProperty,Phe=o((t,e)=>{for(var r in e)bQ(t,r,{get:e[r],enumerable:!0})},"__export"),Dhe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Rhe(e))!_he.call(t,i)&&i!==r&&bQ(t,i,{get:()=>e[i],enumerable:!(n=vhe(e,i))||n.enumerable});return t},"__copyProps"),The=o(t=>Dhe(bQ({},"__esModule",{value:!0}),t),"__toCommonJS"),QH={};Phe(QH,{multipartPolicy:()=>Yhe,multipartPolicyName:()=>wH});NH.exports=The(QH);var Ic=Po(),Ohe=XA(),Mhe=_m(),khe=bH();function Lhe(){return`----AzSDKFormBoundary${(0,Mhe.randomUUID)()}`}o(Lhe,"generateBoundary");function Fhe(t){let e="";for(let[r,n]of t)e+=`${r}: ${n}\r -`;return e}o(Fhe,"encodeHeaders");function Uhe(t){return t instanceof Uint8Array?t.byteLength:(0,Ohe.isBlob)(t)?t.size===-1?void 0:t.size:void 0}o(Uhe,"getLength");function qhe(t){let e=0;for(let r of t){let n=Uhe(r);if(n===void 0)return;e+=n}return e}o(qhe,"getTotalLength");async function Hhe(t,e,r){let n=[(0,Ic.stringToUint8Array)(`--${r}`,"utf-8"),...e.flatMap(s=>[(0,Ic.stringToUint8Array)(`\r -`,"utf-8"),(0,Ic.stringToUint8Array)(Fhe(s.headers),"utf-8"),(0,Ic.stringToUint8Array)(`\r -`,"utf-8"),s.body,(0,Ic.stringToUint8Array)(`\r ---${r}`,"utf-8")]),(0,Ic.stringToUint8Array)(`--\r +`)+4,e.outputData[0].data=e._header+n.substring(i),vc("Output buffer: %o",e.outputData[0].data));let o;return this.proxy.protocol==="https:"?(vc("Creating `tls.Socket`: %o",this.connectOpts),o=Gme.connect(this.connectOpts)):(vc("Creating `net.Socket`: %o",this.connectOpts),o=zme.connect(this.connectOpts)),await(0,Yme.once)(o,"connect"),o}};$m.protocols=["http","https"];Qn.HttpProxyAgent=$m;function Vme(t,...e){let r={},n;for(n in t)e.includes(n)||(r[n]=t[n]);return r}s(Vme,"omit")});var gQ=f((XHe,K1)=>{var mQ=Object.defineProperty,Wme=Object.getOwnPropertyDescriptor,Kme=Object.getOwnPropertyNames,$me=Object.prototype.hasOwnProperty,Xme=s((t,e)=>{for(var r in e)mQ(t,r,{get:e[r],enumerable:!0})},"__export"),Zme=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Kme(e))!$me.call(t,i)&&i!==r&&mQ(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=Wme(e,i))||n.enumerable});return t},"__copyProps"),ege=s(t=>Zme(mQ({},"__esModule",{value:!0}),t),"__toCommonJS"),j1={};Xme(j1,{getDefaultProxySettings:s(()=>Age,"getDefaultProxySettings"),globalNoProxyList:s(()=>pQ,"globalNoProxyList"),loadNoProxy:s(()=>W1,"loadNoProxy"),proxyPolicy:s(()=>dge,"proxyPolicy"),proxyPolicyName:s(()=>Y1,"proxyPolicyName")});K1.exports=ege(j1);var tge=F1(),rge=H1(),nge=bc(),ige="HTTPS_PROXY",sge="HTTP_PROXY",oge="ALL_PROXY",age="NO_PROXY",Y1="proxyPolicy",pQ=[],J1=!1,cge=new Map;function Xm(t){if(process.env[t])return process.env[t];if(process.env[t.toLowerCase()])return process.env[t.toLowerCase()]}s(Xm,"getEnvironmentValue");function V1(){if(!process)return;let t=Xm(ige),e=Xm(oge),r=Xm(sge);return t||e||r}s(V1,"loadEnvironmentProxyValue");function lge(t,e,r){if(e.length===0)return!1;let n=new URL(t).hostname;if(r?.has(n))return r.get(n);let i=!1;for(let o of e)o[0]==="."?(n.endsWith(o)||n.length===o.length-1&&n===o.slice(1))&&(i=!0):n===o&&(i=!0);return r?.set(n,i),i}s(lge,"isBypassed");function W1(){let t=Xm(age);return J1=!0,t?t.split(",").map(e=>e.trim()).filter(e=>e.length):[]}s(W1,"loadNoProxy");function Age(t){if(!t&&(t=V1(),!t))return;let e=new URL(t);return{host:(e.protocol?e.protocol+"//":"")+e.hostname,port:Number.parseInt(e.port||"80"),username:e.username,password:e.password}}s(Age,"getDefaultProxySettings");function uge(){let t=V1();return t?new URL(t):void 0}s(uge,"getDefaultProxySettingsInternal");function z1(t){let e;try{e=new URL(t.host)}catch{throw new Error(`Expecting a valid host string in proxy settings, but found "${t.host}".`)}return e.port=String(t.port),t.username&&(e.username=t.username),t.password&&(e.password=t.password),e}s(z1,"getUrlFromProxySettings");function G1(t,e,r){if(t.agent)return;let i=new URL(t.url).protocol!=="https:";t.tlsSettings&&nge.logger.warning("TLS settings are not supported in combination with custom Proxy, certificates provided to the client will be ignored.");let o=t.headers.toJSON();i?(e.httpProxyAgent||(e.httpProxyAgent=new rge.HttpProxyAgent(r,{headers:o})),t.agent=e.httpProxyAgent):(e.httpsProxyAgent||(e.httpsProxyAgent=new tge.HttpsProxyAgent(r,{headers:o})),t.agent=e.httpsProxyAgent)}s(G1,"setProxyAgentOnRequest");function dge(t,e){J1||pQ.push(...W1());let r=t?z1(t):uge(),n={};return{name:Y1,async sendRequest(i,o){return!i.proxySettings&&r&&!lge(i.url,e?.customNoProxyList??pQ,e?.customNoProxyList?void 0:cge)?G1(i,n,r):i.proxySettings&&G1(i,n,z1(i.proxySettings)),o(i)}}}s(dge,"proxyPolicy")});var fQ=f((e2e,Z1)=>{var hQ=Object.defineProperty,pge=Object.getOwnPropertyDescriptor,mge=Object.getOwnPropertyNames,gge=Object.prototype.hasOwnProperty,hge=s((t,e)=>{for(var r in e)hQ(t,r,{get:e[r],enumerable:!0})},"__export"),fge=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of mge(e))!gge.call(t,i)&&i!==r&&hQ(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=pge(e,i))||n.enumerable});return t},"__copyProps"),yge=s(t=>fge(hQ({},"__esModule",{value:!0}),t),"__toCommonJS"),$1={};hge($1,{agentPolicy:s(()=>Cge,"agentPolicy"),agentPolicyName:s(()=>X1,"agentPolicyName")});Z1.exports=yge($1);var X1="agentPolicy";function Cge(t){return{name:X1,sendRequest:s(async(e,r)=>(e.agent||(e.agent=t),r(e)),"sendRequest")}}s(Cge,"agentPolicy")});var CQ=f((r2e,rH)=>{var yQ=Object.defineProperty,Ege=Object.getOwnPropertyDescriptor,Bge=Object.getOwnPropertyNames,Ige=Object.prototype.hasOwnProperty,bge=s((t,e)=>{for(var r in e)yQ(t,r,{get:e[r],enumerable:!0})},"__export"),Qge=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Bge(e))!Ige.call(t,i)&&i!==r&&yQ(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=Ege(e,i))||n.enumerable});return t},"__copyProps"),Nge=s(t=>Qge(yQ({},"__esModule",{value:!0}),t),"__toCommonJS"),eH={};bge(eH,{tlsPolicy:s(()=>wge,"tlsPolicy"),tlsPolicyName:s(()=>tH,"tlsPolicyName")});rH.exports=Nge(eH);var tH="tlsPolicy";function wge(t){return{name:tH,sendRequest:s(async(e,r)=>(e.tlsSettings||(e.tlsSettings=t),r(e)),"sendRequest")}}s(wge,"tlsPolicy")});var ou=f((i2e,aH)=>{var EQ=Object.defineProperty,Sge=Object.getOwnPropertyDescriptor,xge=Object.getOwnPropertyNames,Rge=Object.prototype.hasOwnProperty,vge=s((t,e)=>{for(var r in e)EQ(t,r,{get:e[r],enumerable:!0})},"__export"),Pge=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of xge(e))!Rge.call(t,i)&&i!==r&&EQ(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=Sge(e,i))||n.enumerable});return t},"__copyProps"),_ge=s(t=>Pge(EQ({},"__esModule",{value:!0}),t),"__toCommonJS"),nH={};vge(nH,{isBinaryBody:s(()=>Dge,"isBinaryBody"),isBlob:s(()=>Tge,"isBlob"),isNodeReadableStream:s(()=>iH,"isNodeReadableStream"),isReadableStream:s(()=>oH,"isReadableStream"),isWebReadableStream:s(()=>sH,"isWebReadableStream")});aH.exports=_ge(nH);function iH(t){return!!(t&&typeof t.pipe=="function")}s(iH,"isNodeReadableStream");function sH(t){return!!(t&&typeof t.getReader=="function"&&typeof t.tee=="function")}s(sH,"isWebReadableStream");function Dge(t){return t!==void 0&&(t instanceof Uint8Array||oH(t)||typeof t=="function"||t instanceof Blob)}s(Dge,"isBinaryBody");function oH(t){return iH(t)||sH(t)}s(oH,"isReadableStream");function Tge(t){return typeof t.stream=="function"}s(Tge,"isBlob")});var dH=f((o2e,uH)=>{var BQ=Object.defineProperty,Oge=Object.getOwnPropertyDescriptor,Mge=Object.getOwnPropertyNames,kge=Object.prototype.hasOwnProperty,Lge=s((t,e)=>{for(var r in e)BQ(t,r,{get:e[r],enumerable:!0})},"__export"),Fge=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Mge(e))!kge.call(t,i)&&i!==r&&BQ(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=Oge(e,i))||n.enumerable});return t},"__copyProps"),Uge=s(t=>Fge(BQ({},"__esModule",{value:!0}),t),"__toCommonJS"),AH={};Lge(AH,{concat:s(()=>Gge,"concat")});uH.exports=Uge(AH);var IQ=require("stream"),qge=ou();async function*cH(){let t=this.getReader();try{for(;;){let{done:e,value:r}=await t.read();if(e)return;yield r}}finally{t.releaseLock()}}s(cH,"streamAsyncIterator");function Hge(t){t[Symbol.asyncIterator]||(t[Symbol.asyncIterator]=cH.bind(t)),t.values||(t.values=cH.bind(t))}s(Hge,"makeAsyncIterable");function lH(t){return t instanceof ReadableStream?(Hge(t),IQ.Readable.fromWeb(t)):t}s(lH,"ensureNodeStream");function zge(t){return t instanceof Uint8Array?IQ.Readable.from(Buffer.from(t)):(0,qge.isBlob)(t)?lH(t.stream()):lH(t)}s(zge,"toStream");async function Gge(t){return function(){let e=t.map(r=>typeof r=="function"?r():r).map(zge);return IQ.Readable.from((async function*(){for(let r of e)for await(let n of r)yield n})())}}s(Gge,"concat")});var QQ=f((c2e,gH)=>{var bQ=Object.defineProperty,jge=Object.getOwnPropertyDescriptor,Yge=Object.getOwnPropertyNames,Jge=Object.prototype.hasOwnProperty,Vge=s((t,e)=>{for(var r in e)bQ(t,r,{get:e[r],enumerable:!0})},"__export"),Wge=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Yge(e))!Jge.call(t,i)&&i!==r&&bQ(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=jge(e,i))||n.enumerable});return t},"__copyProps"),Kge=s(t=>Wge(bQ({},"__esModule",{value:!0}),t),"__toCommonJS"),pH={};Vge(pH,{multipartPolicy:s(()=>che,"multipartPolicy"),multipartPolicyName:s(()=>mH,"multipartPolicyName")});gH.exports=Kge(pH);var Pc=Fo(),$ge=ou(),Xge=Om(),Zge=dH();function ehe(){return`----AzSDKFormBoundary${(0,Xge.randomUUID)()}`}s(ehe,"generateBoundary");function the(t){let e="";for(let[r,n]of t)e+=`${r}: ${n}\r +`;return e}s(the,"encodeHeaders");function rhe(t){return t instanceof Uint8Array?t.byteLength:(0,$ge.isBlob)(t)?t.size===-1?void 0:t.size:void 0}s(rhe,"getLength");function nhe(t){let e=0;for(let r of t){let n=rhe(r);if(n===void 0)return;e+=n}return e}s(nhe,"getTotalLength");async function ihe(t,e,r){let n=[(0,Pc.stringToUint8Array)(`--${r}`,"utf-8"),...e.flatMap(o=>[(0,Pc.stringToUint8Array)(`\r +`,"utf-8"),(0,Pc.stringToUint8Array)(the(o.headers),"utf-8"),(0,Pc.stringToUint8Array)(`\r +`,"utf-8"),o.body,(0,Pc.stringToUint8Array)(`\r +--${r}`,"utf-8")]),(0,Pc.stringToUint8Array)(`--\r \r -`,"utf-8")],i=qhe(n);i&&t.headers.set("Content-Length",i),t.body=await(0,khe.concat)(n)}o(Hhe,"buildRequestBody");var wH="multipartPolicy",zhe=70,jhe=new Set("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?");function Ghe(t){if(t.length>zhe)throw new Error(`Multipart boundary "${t}" exceeds maximum length of 70 characters`);if(Array.from(t).some(e=>!jhe.has(e)))throw new Error(`Multipart boundary "${t}" contains invalid characters`)}o(Ghe,"assertValidBoundary");function Yhe(){return{name:wH,async sendRequest(t,e){if(!t.multipartBody)return e(t);if(t.body)throw new Error("multipartBody and regular body cannot be set at the same time");let r=t.multipartBody.boundary,n=t.headers.get("Content-Type")??"multipart/mixed",i=n.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!i)throw new Error(`Got multipart request body, but content-type header was not multipart: ${n}`);let[,s,a]=i;if(a&&r&&a!==r)throw new Error(`Multipart boundary was specified as ${a} in the header, but got ${r} in the request body`);return r??=a,r?Ghe(r):r=Lhe(),t.headers.set("Content-Type",`${s}; boundary=${r}`),await Hhe(t,t.multipartBody.parts,r),t.multipartBody=void 0,e(t)}}}o(Yhe,"multipartPolicy")});var _H=h((yje,RH)=>{var wQ=Object.defineProperty,Jhe=Object.getOwnPropertyDescriptor,Vhe=Object.getOwnPropertyNames,Whe=Object.prototype.hasOwnProperty,Khe=o((t,e)=>{for(var r in e)wQ(t,r,{get:e[r],enumerable:!0})},"__export"),$he=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Vhe(e))!Whe.call(t,i)&&i!==r&&wQ(t,i,{get:()=>e[i],enumerable:!(n=Jhe(e,i))||n.enumerable});return t},"__copyProps"),Xhe=o(t=>$he(wQ({},"__esModule",{value:!0}),t),"__toCommonJS"),vH={};Khe(vH,{createPipelineFromOptions:()=>lye});RH.exports=Xhe(vH);var Zhe=kb(),eye=Cb(),tye=Fb(),rye=Gb(),nye=Jb(),iye=sQ(),sye=cQ(),SH=KA(),oye=gQ(),aye=hQ(),cye=CQ(),xH=QQ();function lye(t){let e=(0,eye.createEmptyPipeline)();return SH.isNodeLike&&(t.agent&&e.addPolicy((0,aye.agentPolicy)(t.agent)),t.tlsOptions&&e.addPolicy((0,cye.tlsPolicy)(t.tlsOptions)),e.addPolicy((0,oye.proxyPolicy)(t.proxyOptions)),e.addPolicy((0,nye.decompressResponsePolicy)())),e.addPolicy((0,sye.formDataPolicy)(),{beforePolicies:[xH.multipartPolicyName]}),e.addPolicy((0,rye.userAgentPolicy)(t.userAgentOptions)),e.addPolicy((0,xH.multipartPolicy)(),{afterPhase:"Deserialize"}),e.addPolicy((0,iye.defaultRetryPolicy)(t.retryOptions),{phase:"Retry"}),SH.isNodeLike&&e.addPolicy((0,tye.redirectPolicy)(t.redirectOptions),{afterPhase:"Retry"}),e.addPolicy((0,Zhe.logPolicy)(t.loggingOptions),{afterPhase:"Sign"}),e}o(lye,"createPipelineFromOptions")});var OH=h((Eje,TH)=>{var NQ=Object.defineProperty,Aye=Object.getOwnPropertyDescriptor,uye=Object.getOwnPropertyNames,dye=Object.prototype.hasOwnProperty,pye=o((t,e)=>{for(var r in e)NQ(t,r,{get:e[r],enumerable:!0})},"__export"),mye=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of uye(e))!dye.call(t,i)&&i!==r&&NQ(t,i,{get:()=>e[i],enumerable:!(n=Aye(e,i))||n.enumerable});return t},"__copyProps"),gye=o(t=>mye(NQ({},"__esModule",{value:!0}),t),"__toCommonJS"),PH={};pye(PH,{apiVersionPolicy:()=>fye,apiVersionPolicyName:()=>DH});TH.exports=gye(PH);var DH="ApiVersionPolicy";function fye(t){return{name:DH,sendRequest:(e,r)=>{let n=new URL(e.url);return!n.searchParams.get("api-version")&&t.apiVersion&&(e.url=`${e.url}${Array.from(n.searchParams.keys()).length>0?"&":"?"}api-version=${t.apiVersion}`),r(e)}}}o(fye,"apiVersionPolicy")});var LH=h((Ije,kH)=>{var SQ=Object.defineProperty,hye=Object.getOwnPropertyDescriptor,yye=Object.getOwnPropertyNames,Cye=Object.prototype.hasOwnProperty,Eye=o((t,e)=>{for(var r in e)SQ(t,r,{get:e[r],enumerable:!0})},"__export"),Bye=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of yye(e))!Cye.call(t,i)&&i!==r&&SQ(t,i,{get:()=>e[i],enumerable:!(n=hye(e,i))||n.enumerable});return t},"__copyProps"),Iye=o(t=>Bye(SQ({},"__esModule",{value:!0}),t),"__toCommonJS"),MH={};Eye(MH,{isApiKeyCredential:()=>Nye,isBasicCredential:()=>wye,isBearerTokenCredential:()=>Qye,isOAuth2TokenCredential:()=>bye});kH.exports=Iye(MH);function bye(t){return"getOAuth2Token"in t}o(bye,"isOAuth2TokenCredential");function Qye(t){return"getBearerToken"in t}o(Qye,"isBearerTokenCredential");function wye(t){return"username"in t&&"password"in t}o(wye,"isBasicCredential");function Nye(t){return"key"in t}o(Nye,"isApiKeyCredential")});var ZA=h((Qje,qH)=>{var xQ=Object.defineProperty,Sye=Object.getOwnPropertyDescriptor,xye=Object.getOwnPropertyNames,vye=Object.prototype.hasOwnProperty,Rye=o((t,e)=>{for(var r in e)xQ(t,r,{get:e[r],enumerable:!0})},"__export"),_ye=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of xye(e))!vye.call(t,i)&&i!==r&&xQ(t,i,{get:()=>e[i],enumerable:!(n=Sye(e,i))||n.enumerable});return t},"__copyProps"),Pye=o(t=>_ye(xQ({},"__esModule",{value:!0}),t),"__toCommonJS"),UH={};Rye(UH,{ensureSecureConnection:()=>Mye});qH.exports=Pye(UH);var Dye=mc(),FH=!1;function Tye(t,e){if(e.allowInsecureConnection&&t.allowInsecureConnection){let r=new URL(t.url);if(r.hostname==="localhost"||r.hostname==="127.0.0.1")return!0}return!1}o(Tye,"allowInsecureConnection");function Oye(){let t="Sending token over insecure transport. Assume any token issued is compromised.";Dye.logger.warning(t),typeof process?.emitWarning=="function"&&!FH&&(FH=!0,process.emitWarning(t))}o(Oye,"emitInsecureConnectionWarning");function Mye(t,e){if(!t.url.toLowerCase().startsWith("https://"))if(Tye(t,e))Oye();else throw new Error("Authentication is not permitted for non-TLS protected (non-https) URLs when allowInsecureConnection is false.")}o(Mye,"ensureSecureConnection")});var GH=h((Nje,jH)=>{var vQ=Object.defineProperty,kye=Object.getOwnPropertyDescriptor,Lye=Object.getOwnPropertyNames,Fye=Object.prototype.hasOwnProperty,Uye=o((t,e)=>{for(var r in e)vQ(t,r,{get:e[r],enumerable:!0})},"__export"),qye=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Lye(e))!Fye.call(t,i)&&i!==r&&vQ(t,i,{get:()=>e[i],enumerable:!(n=kye(e,i))||n.enumerable});return t},"__copyProps"),Hye=o(t=>qye(vQ({},"__esModule",{value:!0}),t),"__toCommonJS"),HH={};Uye(HH,{apiKeyAuthenticationPolicy:()=>jye,apiKeyAuthenticationPolicyName:()=>zH});jH.exports=Hye(HH);var zye=ZA(),zH="apiKeyAuthenticationPolicy";function jye(t){return{name:zH,async sendRequest(e,r){(0,zye.ensureSecureConnection)(e,t);let n=(e.authSchemes??t.authSchemes)?.find(i=>i.kind==="apiKey");if(!n)return r(e);if(n.apiKeyLocation!=="header")throw new Error(`Unsupported API key location: ${n.apiKeyLocation}`);return e.headers.set(n.name,t.credential.key),r(e)}}}o(jye,"apiKeyAuthenticationPolicy")});var KH=h((xje,WH)=>{var RQ=Object.defineProperty,Gye=Object.getOwnPropertyDescriptor,Yye=Object.getOwnPropertyNames,Jye=Object.prototype.hasOwnProperty,Vye=o((t,e)=>{for(var r in e)RQ(t,r,{get:e[r],enumerable:!0})},"__export"),Wye=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Yye(e))!Jye.call(t,i)&&i!==r&&RQ(t,i,{get:()=>e[i],enumerable:!(n=Gye(e,i))||n.enumerable});return t},"__copyProps"),Kye=o(t=>Wye(RQ({},"__esModule",{value:!0}),t),"__toCommonJS"),JH={};Vye(JH,{basicAuthenticationPolicy:()=>Xye,basicAuthenticationPolicyName:()=>VH});WH.exports=Kye(JH);var YH=Po(),$ye=ZA(),VH="bearerAuthenticationPolicy";function Xye(t){return{name:VH,async sendRequest(e,r){if((0,$ye.ensureSecureConnection)(e,t),!(e.authSchemes??t.authSchemes)?.find(c=>c.kind==="http"&&c.scheme==="basic"))return r(e);let{username:i,password:s}=t.credential,a=(0,YH.uint8ArrayToString)((0,YH.stringToUint8Array)(`${i}:${s}`,"utf-8"),"base64");return e.headers.set("Authorization",`Basic ${a}`),r(e)}}}o(Xye,"basicAuthenticationPolicy")});var e2=h((Rje,ZH)=>{var _Q=Object.defineProperty,Zye=Object.getOwnPropertyDescriptor,eCe=Object.getOwnPropertyNames,tCe=Object.prototype.hasOwnProperty,rCe=o((t,e)=>{for(var r in e)_Q(t,r,{get:e[r],enumerable:!0})},"__export"),nCe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of eCe(e))!tCe.call(t,i)&&i!==r&&_Q(t,i,{get:()=>e[i],enumerable:!(n=Zye(e,i))||n.enumerable});return t},"__copyProps"),iCe=o(t=>nCe(_Q({},"__esModule",{value:!0}),t),"__toCommonJS"),$H={};rCe($H,{bearerAuthenticationPolicy:()=>oCe,bearerAuthenticationPolicyName:()=>XH});ZH.exports=iCe($H);var sCe=ZA(),XH="bearerAuthenticationPolicy";function oCe(t){return{name:XH,async sendRequest(e,r){if((0,sCe.ensureSecureConnection)(e,t),!(e.authSchemes??t.authSchemes)?.find(s=>s.kind==="http"&&s.scheme==="bearer"))return r(e);let i=await t.credential.getBearerToken({abortSignal:e.abortSignal});return e.headers.set("Authorization",`Bearer ${i}`),r(e)}}}o(oCe,"bearerAuthenticationPolicy")});var i2=h((Pje,n2)=>{var PQ=Object.defineProperty,aCe=Object.getOwnPropertyDescriptor,cCe=Object.getOwnPropertyNames,lCe=Object.prototype.hasOwnProperty,ACe=o((t,e)=>{for(var r in e)PQ(t,r,{get:e[r],enumerable:!0})},"__export"),uCe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of cCe(e))!lCe.call(t,i)&&i!==r&&PQ(t,i,{get:()=>e[i],enumerable:!(n=aCe(e,i))||n.enumerable});return t},"__copyProps"),dCe=o(t=>uCe(PQ({},"__esModule",{value:!0}),t),"__toCommonJS"),t2={};ACe(t2,{oauth2AuthenticationPolicy:()=>mCe,oauth2AuthenticationPolicyName:()=>r2});n2.exports=dCe(t2);var pCe=ZA(),r2="oauth2AuthenticationPolicy";function mCe(t){return{name:r2,async sendRequest(e,r){(0,pCe.ensureSecureConnection)(e,t);let n=(e.authSchemes??t.authSchemes)?.find(s=>s.kind==="oauth2");if(!n)return r(e);let i=await t.credential.getOAuth2Token(n.flows,{abortSignal:e.abortSignal});return e.headers.set("Authorization",`Bearer ${i}`),r(e)}}}o(mCe,"oauth2AuthenticationPolicy")});var OQ=h((Tje,o2)=>{var TQ=Object.defineProperty,gCe=Object.getOwnPropertyDescriptor,fCe=Object.getOwnPropertyNames,hCe=Object.prototype.hasOwnProperty,yCe=o((t,e)=>{for(var r in e)TQ(t,r,{get:e[r],enumerable:!0})},"__export"),CCe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of fCe(e))!hCe.call(t,i)&&i!==r&&TQ(t,i,{get:()=>e[i],enumerable:!(n=gCe(e,i))||n.enumerable});return t},"__copyProps"),ECe=o(t=>CCe(TQ({},"__esModule",{value:!0}),t),"__toCommonJS"),s2={};yCe(s2,{createDefaultPipeline:()=>xCe,getCachedDefaultHttpsClient:()=>vCe});o2.exports=ECe(s2);var BCe=Ob(),ICe=_H(),bCe=OH(),Wm=LH(),QCe=GH(),wCe=KH(),NCe=e2(),SCe=i2(),DQ;function xCe(t={}){let e=(0,ICe.createPipelineFromOptions)(t);e.addPolicy((0,bCe.apiVersionPolicy)(t));let{credential:r,authSchemes:n,allowInsecureConnection:i}=t;return r&&((0,Wm.isApiKeyCredential)(r)?e.addPolicy((0,QCe.apiKeyAuthenticationPolicy)({authSchemes:n,credential:r,allowInsecureConnection:i})):(0,Wm.isBasicCredential)(r)?e.addPolicy((0,wCe.basicAuthenticationPolicy)({authSchemes:n,credential:r,allowInsecureConnection:i})):(0,Wm.isBearerTokenCredential)(r)?e.addPolicy((0,NCe.bearerAuthenticationPolicy)({authSchemes:n,credential:r,allowInsecureConnection:i})):(0,Wm.isOAuth2TokenCredential)(r)&&e.addPolicy((0,SCe.oauth2AuthenticationPolicy)({authSchemes:n,credential:r,allowInsecureConnection:i}))),e}o(xCe,"createDefaultPipeline");function vCe(){return DQ||(DQ=(0,BCe.createDefaultHttpClient)()),DQ}o(vCe,"getCachedDefaultHttpsClient")});var m2=h((Mje,p2)=>{var MQ=Object.defineProperty,RCe=Object.getOwnPropertyDescriptor,_Ce=Object.getOwnPropertyNames,PCe=Object.prototype.hasOwnProperty,DCe=o((t,e)=>{for(var r in e)MQ(t,r,{get:e[r],enumerable:!0})},"__export"),TCe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of _Ce(e))!PCe.call(t,i)&&i!==r&&MQ(t,i,{get:()=>e[i],enumerable:!(n=RCe(e,i))||n.enumerable});return t},"__copyProps"),OCe=o(t=>TCe(MQ({},"__esModule",{value:!0}),t),"__toCommonJS"),l2={};DCe(l2,{buildBodyPart:()=>d2,buildMultipartBody:()=>qCe});p2.exports=OCe(l2);var MCe=pc(),kCe=_s(),a2=Po(),A2=XA();function u2(t,e){if(t.headers){let r=Object.keys(t.headers).find(n=>n.toLowerCase()===e.toLowerCase());if(r)return t.headers[r]}}o(u2,"getHeaderValue");function LCe(t){let e=u2(t,"content-type");if(e)return e;if(t.contentType===null)return;if(t.contentType)return t.contentType;let{body:r}=t;if(r!=null)return typeof r=="string"||typeof r=="number"||typeof r=="boolean"?"text/plain; charset=UTF-8":r instanceof Blob?r.type||"application/octet-stream":(0,A2.isBinaryBody)(r)?"application/octet-stream":"application/json"}o(LCe,"getPartContentType");function c2(t){return JSON.stringify(t)}o(c2,"escapeDispositionField");function FCe(t){let e=u2(t,"content-disposition");if(e)return e;if(t.dispositionType===void 0&&t.name===void 0&&t.filename===void 0)return;let n=t.dispositionType??"form-data";t.name&&(n+=`; name=${c2(t.name)}`);let i;if(t.filename)i=t.filename;else if(typeof File<"u"&&t.body instanceof File){let s=t.body.name;s!==""&&(i=s)}return i&&(n+=`; filename=${c2(i)}`),n}o(FCe,"getContentDisposition");function UCe(t,e){if(t===void 0)return new Uint8Array([]);if((0,A2.isBinaryBody)(t))return t;if(typeof t=="string"||typeof t=="number"||typeof t=="boolean")return(0,a2.stringToUint8Array)(String(t),"utf-8");if(e&&/application\/(.+\+)?json(;.+)?/i.test(String(e)))return(0,a2.stringToUint8Array)(JSON.stringify(t),"utf-8");throw new MCe.RestError(`Unsupported body/content-type combination: ${t}, ${e}`)}o(UCe,"normalizeBody");function d2(t){let e=LCe(t),r=FCe(t),n=(0,kCe.createHttpHeaders)(t.headers??{});e&&n.set("content-type",e),r&&n.set("content-disposition",r);let i=UCe(t.body,e);return{headers:n,body:i}}o(d2,"buildBodyPart");function qCe(t){return{parts:t.map(d2)}}o(qCe,"buildMultipartBody")});var y2=h((Lje,h2)=>{var FQ=Object.defineProperty,HCe=Object.getOwnPropertyDescriptor,zCe=Object.getOwnPropertyNames,jCe=Object.prototype.hasOwnProperty,GCe=o((t,e)=>{for(var r in e)FQ(t,r,{get:e[r],enumerable:!0})},"__export"),YCe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of zCe(e))!jCe.call(t,i)&&i!==r&&FQ(t,i,{get:()=>e[i],enumerable:!(n=HCe(e,i))||n.enumerable});return t},"__copyProps"),JCe=o(t=>YCe(FQ({},"__esModule",{value:!0}),t),"__toCommonJS"),g2={};GCe(g2,{getRequestBody:()=>f2,sendRequest:()=>XCe});h2.exports=JCe(g2);var kQ=pc(),VCe=_s(),WCe=fb(),KCe=OQ(),LQ=XA(),$Ce=m2();async function XCe(t,e,r,n={},i){let s=i??(0,KCe.getCachedDefaultHttpsClient)(),a=tEe(t,e,n);try{let c=await r.sendRequest(s,a),l=c.headers.toJSON(),A=c.readableStreamBody??c.browserStreamBody,u=n.responseAsStream||A!==void 0?void 0:rEe(c),d=A??u;return n?.onResponse&&n.onResponse({...c,request:a,rawHeaders:l,parsedBody:u}),{request:a,headers:l,status:`${c.status}`,body:d}}catch(c){if((0,kQ.isRestError)(c)&&c.response&&n.onResponse){let{response:l}=c,A=l.headers.toJSON();n?.onResponse({...l,request:a,rawHeaders:A},c)}throw c}}o(XCe,"sendRequest");function ZCe(t={}){return t.contentType??t.headers?.["content-type"]??eEe(t.body)}o(ZCe,"getRequestContentType");function eEe(t){if(t!==void 0){if(ArrayBuffer.isView(t))return"application/octet-stream";if((0,LQ.isBlob)(t)&&t.type)return t.type;if(typeof t=="string")try{return JSON.parse(t),"application/json"}catch{return}return"application/json"}}o(eEe,"getContentType");function tEe(t,e,r={}){let n=ZCe(r),{body:i,multipartBody:s}=f2(r.body,n),a=(0,VCe.createHttpHeaders)({...r.headers?r.headers:{},accept:r.accept??r.headers?.accept??"application/json",...n&&{"content-type":n}});return(0,WCe.createPipelineRequest)({url:e,method:t,body:i,multipartBody:s,headers:a,allowInsecureConnection:r.allowInsecureConnection,abortSignal:r.abortSignal,onUploadProgress:r.onUploadProgress,onDownloadProgress:r.onDownloadProgress,timeout:r.timeout,enableBrowserStreams:!0,streamResponseStatusCodes:r.responseAsStream?new Set([Number.POSITIVE_INFINITY]):void 0})}o(tEe,"buildPipelineRequest");function f2(t,e=""){if(t===void 0)return{body:void 0};if(typeof FormData<"u"&&t instanceof FormData)return{body:t};if((0,LQ.isBlob)(t))return{body:t};if((0,LQ.isReadableStream)(t)||typeof t=="function")return{body:t};if(ArrayBuffer.isView(t))return{body:t instanceof Uint8Array?t:JSON.stringify(t)};switch(e.split(";")[0]){case"application/json":return{body:JSON.stringify(t)};case"multipart/form-data":return Array.isArray(t)?{multipartBody:(0,$Ce.buildMultipartBody)(t)}:{body:JSON.stringify(t)};case"text/plain":return{body:String(t)};default:return typeof t=="string"?{body:t}:{body:JSON.stringify(t)}}}o(f2,"getRequestBody");function rEe(t){let r=(t.headers.get("content-type")??"").split(";")[0],n=t.bodyAsText??"";if(r==="text/plain")return String(n);try{return n?JSON.parse(n):void 0}catch(i){if(r==="application/json")throw nEe(t,i);return String(n)}}o(rEe,"getResponseBody");function nEe(t,e){let r=`Error "${e}" occurred while parsing the response body - ${t.bodyAsText}.`,n=e.code??kQ.RestError.PARSE_ERROR;return new kQ.RestError(r,{code:n,statusCode:t.status,request:t.request,response:t})}o(nEe,"createParseError")});var b2=h((Uje,I2)=>{var qQ=Object.defineProperty,iEe=Object.getOwnPropertyDescriptor,sEe=Object.getOwnPropertyNames,oEe=Object.prototype.hasOwnProperty,aEe=o((t,e)=>{for(var r in e)qQ(t,r,{get:e[r],enumerable:!0})},"__export"),cEe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of sEe(e))!oEe.call(t,i)&&i!==r&&qQ(t,i,{get:()=>e[i],enumerable:!(n=iEe(e,i))||n.enumerable});return t},"__copyProps"),lEe=o(t=>cEe(qQ({},"__esModule",{value:!0}),t),"__toCommonJS"),C2={};aEe(C2,{buildBaseUrl:()=>E2,buildRequestUrl:()=>uEe,replaceAll:()=>B2});I2.exports=lEe(C2);function AEe(t){let e=t.value;return e!==void 0&&e.toString!==void 0&&typeof e.toString=="function"}o(AEe,"isQueryParameterWithOptions");function uEe(t,e,r,n={}){if(e.startsWith("https://")||e.startsWith("http://"))return e;t=E2(t,n),e=pEe(e,r,n);let i=dEe(`${t}/${e}`,n);return new URL(i).toString().replace(/([^:]\/)\/+/g,"$1")}o(uEe,"buildRequestUrl");function UQ(t,e,r,n){let i;r==="pipeDelimited"?i="|":r==="spaceDelimited"?i="%20":i=",";let s;Array.isArray(n)?s=n:typeof n=="object"&&n.toString===Object.prototype.toString?s=Object.entries(n).flat():s=[n];let a=s.map(c=>{if(c==null)return"";if(!c.toString||typeof c.toString!="function")throw new Error(`Query parameters must be able to be represented as string, ${t} can't`);let l=c.toISOString!==void 0?c.toISOString():c.toString();return e?l:encodeURIComponent(l)}).join(i);return`${e?t:encodeURIComponent(t)}=${a}`}o(UQ,"getQueryParamValue");function dEe(t,e={}){if(!e.queryParameters)return t;let r=new URL(t),n=e.queryParameters,i=[];for(let s of Object.keys(n)){let a=n[s];if(a==null)continue;let c=AEe(a),l=c?a.value:a,A=c?a.explode??!1:!1,u=c&&a.style?a.style:"form";if(A)if(Array.isArray(l))for(let d of l)i.push(UQ(s,e.skipUrlEncoding??!1,u,d));else if(typeof l=="object")for(let[d,g]of Object.entries(l))i.push(UQ(d,e.skipUrlEncoding??!1,u,g));else throw new Error("explode can only be set to true for objects and arrays");else i.push(UQ(s,e.skipUrlEncoding??!1,u,l))}return r.search!==""&&(r.search+="&"),r.search+=i.join("&"),r.toString()}o(dEe,"appendQueryParams");function E2(t,e){if(!e.pathParameters)return t;let r=e.pathParameters;for(let[n,i]of Object.entries(r)){if(i==null)throw new Error(`Path parameters ${n} must not be undefined or null`);if(!i.toString||typeof i.toString!="function")throw new Error(`Path parameters must be able to be represented as string, ${n} can't`);let s=i.toISOString!==void 0?i.toISOString():String(i);e.skipUrlEncoding||(s=encodeURIComponent(i)),t=B2(t,`{${n}}`,s)??""}return t}o(E2,"buildBaseUrl");function pEe(t,e,r={}){for(let n of e){let i=typeof n=="object"&&(n.allowReserved??!1),s=typeof n=="object"?n.value:n;!r.skipUrlEncoding&&!i&&(s=encodeURIComponent(s)),t=t.replace(/\{[\w-]+\}/,String(s))}return t}o(pEe,"buildRoutePath");function B2(t,e,r){return!t||!e?t:t.split(e).join(r||"")}o(B2,"replaceAll")});var S2=h((Hje,N2)=>{var zQ=Object.defineProperty,mEe=Object.getOwnPropertyDescriptor,gEe=Object.getOwnPropertyNames,fEe=Object.prototype.hasOwnProperty,hEe=o((t,e)=>{for(var r in e)zQ(t,r,{get:e[r],enumerable:!0})},"__export"),yEe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of gEe(e))!fEe.call(t,i)&&i!==r&&zQ(t,i,{get:()=>e[i],enumerable:!(n=mEe(e,i))||n.enumerable});return t},"__copyProps"),CEe=o(t=>yEe(zQ({},"__esModule",{value:!0}),t),"__toCommonJS"),w2={};hEe(w2,{getClient:()=>IEe});N2.exports=CEe(w2);var EEe=OQ(),HQ=y2(),BEe=b2(),Q2=KA();function IEe(t,e={}){let r=e.pipeline??(0,EEe.createDefaultPipeline)(e);if(e.additionalPolicies?.length)for(let{policy:c,position:l}of e.additionalPolicies){let A=l==="perRetry"?"Sign":void 0;r.addPolicy(c,{afterPhase:A})}let{allowInsecureConnection:n,httpClient:i}=e,s=e.endpoint??t,a=o((c,...l)=>{let A=o(u=>(0,BEe.buildRequestUrl)(s,c,l,{allowInsecureConnection:n,...u}),"getUrl");return{get:(u={})=>Ps("GET",A(u),r,u,n,i),post:(u={})=>Ps("POST",A(u),r,u,n,i),put:(u={})=>Ps("PUT",A(u),r,u,n,i),patch:(u={})=>Ps("PATCH",A(u),r,u,n,i),delete:(u={})=>Ps("DELETE",A(u),r,u,n,i),head:(u={})=>Ps("HEAD",A(u),r,u,n,i),options:(u={})=>Ps("OPTIONS",A(u),r,u,n,i),trace:(u={})=>Ps("TRACE",A(u),r,u,n,i)}},"client");return{path:a,pathUnchecked:a,pipeline:r}}o(IEe,"getClient");function Ps(t,e,r,n,i,s){return i=n.allowInsecureConnection??i,{then:function(a,c){return(0,HQ.sendRequest)(t,e,r,{...n,allowInsecureConnection:i},s).then(a,c)},async asBrowserStream(){if(Q2.isNodeLike)throw new Error("`asBrowserStream` is supported only in the browser environment. Use `asNodeStream` instead to obtain the response body stream. If you require a Web stream of the response in Node, consider using `Readable.toWeb` on the result of `asNodeStream`.");return(0,HQ.sendRequest)(t,e,r,{...n,allowInsecureConnection:i,responseAsStream:!0},s)},async asNodeStream(){if(Q2.isNodeLike)return(0,HQ.sendRequest)(t,e,r,{...n,allowInsecureConnection:i,responseAsStream:!0},s);throw new Error("`isNodeStream` is not supported in the browser environment. Use `asBrowserStream` to obtain the response body stream.")}}}o(Ps,"buildOperation")});var R2=h((jje,v2)=>{var jQ=Object.defineProperty,bEe=Object.getOwnPropertyDescriptor,QEe=Object.getOwnPropertyNames,wEe=Object.prototype.hasOwnProperty,NEe=o((t,e)=>{for(var r in e)jQ(t,r,{get:e[r],enumerable:!0})},"__export"),SEe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of QEe(e))!wEe.call(t,i)&&i!==r&&jQ(t,i,{get:()=>e[i],enumerable:!(n=bEe(e,i))||n.enumerable});return t},"__copyProps"),xEe=o(t=>SEe(jQ({},"__esModule",{value:!0}),t),"__toCommonJS"),x2={};NEe(x2,{operationOptionsToRequestParameters:()=>vEe});v2.exports=xEe(x2);function vEe(t){return{allowInsecureConnection:t.requestOptions?.allowInsecureConnection,timeout:t.requestOptions?.timeout,skipUrlEncoding:t.requestOptions?.skipUrlEncoding,abortSignal:t.abortSignal,onUploadProgress:t.requestOptions?.onUploadProgress,onDownloadProgress:t.requestOptions?.onDownloadProgress,headers:{...t.requestOptions?.headers},onResponse:t.onResponse}}o(vEe,"operationOptionsToRequestParameters")});var T2=h((Yje,D2)=>{var GQ=Object.defineProperty,REe=Object.getOwnPropertyDescriptor,_Ee=Object.getOwnPropertyNames,PEe=Object.prototype.hasOwnProperty,DEe=o((t,e)=>{for(var r in e)GQ(t,r,{get:e[r],enumerable:!0})},"__export"),TEe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of _Ee(e))!PEe.call(t,i)&&i!==r&&GQ(t,i,{get:()=>e[i],enumerable:!(n=REe(e,i))||n.enumerable});return t},"__copyProps"),OEe=o(t=>TEe(GQ({},"__esModule",{value:!0}),t),"__toCommonJS"),_2={};DEe(_2,{createRestError:()=>LEe});D2.exports=OEe(_2);var MEe=pc(),kEe=_s();function LEe(t,e){let r=typeof t=="string"?e:t,n=r.body?.error??r.body,i=typeof t=="string"?t:n?.message??`Unexpected status code: ${r.status}`;return new MEe.RestError(i,{statusCode:P2(r.status),code:n?.code,request:r.request,response:FEe(r)})}o(LEe,"createRestError");function FEe(t){return{headers:(0,kEe.createHttpHeaders)(t.headers),request:t.request,status:P2(t.status)??-1}}o(FEe,"toPipelineResponse");function P2(t){let e=Number.parseInt(t);return Number.isNaN(e)?void 0:e}o(P2,"statusCodeToNumber")});var bc=h((Vje,L2)=>{var YQ=Object.defineProperty,UEe=Object.getOwnPropertyDescriptor,qEe=Object.getOwnPropertyNames,HEe=Object.prototype.hasOwnProperty,zEe=o((t,e)=>{for(var r in e)YQ(t,r,{get:e[r],enumerable:!0})},"__export"),jEe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of qEe(e))!HEe.call(t,i)&&i!==r&&YQ(t,i,{get:()=>e[i],enumerable:!(n=UEe(e,i))||n.enumerable});return t},"__copyProps"),GEe=o(t=>jEe(YQ({},"__esModule",{value:!0}),t),"__toCommonJS"),k2={};zEe(k2,{AbortError:()=>YEe.AbortError,RestError:()=>O2.RestError,TypeSpecRuntimeLogger:()=>Km.TypeSpecRuntimeLogger,createClientLogger:()=>Km.createClientLogger,createDefaultHttpClient:()=>KEe.createDefaultHttpClient,createEmptyPipeline:()=>WEe.createEmptyPipeline,createHttpHeaders:()=>JEe.createHttpHeaders,createPipelineRequest:()=>VEe.createPipelineRequest,createRestError:()=>ZEe.createRestError,getClient:()=>$Ee.getClient,getLogLevel:()=>Km.getLogLevel,isRestError:()=>O2.isRestError,operationOptionsToRequestParameters:()=>XEe.operationOptionsToRequestParameters,setLogLevel:()=>Km.setLogLevel,stringToUint8Array:()=>M2.stringToUint8Array,uint8ArrayToString:()=>M2.uint8ArrayToString});L2.exports=GEe(k2);var YEe=jA(),Km=YA(),JEe=_s(),VEe=fb(),WEe=Cb(),O2=pc(),M2=Po(),KEe=Ob(),$Ee=S2(),XEe=R2(),ZEe=T2()});var VQ=h((Kje,U2)=>{var JQ=Object.defineProperty,eBe=Object.getOwnPropertyDescriptor,tBe=Object.getOwnPropertyNames,rBe=Object.prototype.hasOwnProperty,nBe=o((t,e)=>{for(var r in e)JQ(t,r,{get:e[r],enumerable:!0})},"__export"),iBe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of tBe(e))!rBe.call(t,i)&&i!==r&&JQ(t,i,{get:()=>e[i],enumerable:!(n=eBe(e,i))||n.enumerable});return t},"__copyProps"),sBe=o(t=>iBe(JQ({},"__esModule",{value:!0}),t),"__toCommonJS"),F2={};nBe(F2,{createEmptyPipeline:()=>aBe});U2.exports=sBe(F2);var oBe=bc();function aBe(){return(0,oBe.createEmptyPipeline)()}o(aBe,"createEmptyPipeline")});var z2=h((Xje,H2)=>{var WQ=Object.defineProperty,cBe=Object.getOwnPropertyDescriptor,lBe=Object.getOwnPropertyNames,ABe=Object.prototype.hasOwnProperty,uBe=o((t,e)=>{for(var r in e)WQ(t,r,{get:e[r],enumerable:!0})},"__export"),dBe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of lBe(e))!ABe.call(t,i)&&i!==r&&WQ(t,i,{get:()=>e[i],enumerable:!(n=cBe(e,i))||n.enumerable});return t},"__copyProps"),pBe=o(t=>dBe(WQ({},"__esModule",{value:!0}),t),"__toCommonJS"),q2={};uBe(q2,{createLoggerContext:()=>mBe.createLoggerContext});H2.exports=pBe(q2);var mBe=YA()});var Qc=h(Oo=>{"use strict";Object.defineProperty(Oo,"__esModule",{value:!0});Oo.AzureLogger=void 0;Oo.setLogLevel=fBe;Oo.getLogLevel=hBe;Oo.createClientLogger=yBe;var gBe=z2(),$m=(0,gBe.createLoggerContext)({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"});Oo.AzureLogger=$m.logger;function fBe(t){$m.setLogLevel(t)}o(fBe,"setLogLevel");function hBe(){return $m.getLogLevel()}o(hBe,"getLogLevel");function yBe(t){return $m.createClientLogger(t)}o(yBe,"createClientLogger")});var eu=h((rGe,G2)=>{var KQ=Object.defineProperty,CBe=Object.getOwnPropertyDescriptor,EBe=Object.getOwnPropertyNames,BBe=Object.prototype.hasOwnProperty,IBe=o((t,e)=>{for(var r in e)KQ(t,r,{get:e[r],enumerable:!0})},"__export"),bBe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of EBe(e))!BBe.call(t,i)&&i!==r&&KQ(t,i,{get:()=>e[i],enumerable:!(n=CBe(e,i))||n.enumerable});return t},"__copyProps"),QBe=o(t=>bBe(KQ({},"__esModule",{value:!0}),t),"__toCommonJS"),j2={};IBe(j2,{logger:()=>NBe});G2.exports=QBe(j2);var wBe=Qc(),NBe=(0,wBe.createClientLogger)("core-rest-pipeline")});var V2=h((iGe,J2)=>{var $Q=Object.defineProperty,SBe=Object.getOwnPropertyDescriptor,xBe=Object.getOwnPropertyNames,vBe=Object.prototype.hasOwnProperty,RBe=o((t,e)=>{for(var r in e)$Q(t,r,{get:e[r],enumerable:!0})},"__export"),_Be=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of xBe(e))!vBe.call(t,i)&&i!==r&&$Q(t,i,{get:()=>e[i],enumerable:!(n=SBe(e,i))||n.enumerable});return t},"__copyProps"),PBe=o(t=>_Be($Q({},"__esModule",{value:!0}),t),"__toCommonJS"),Y2={};RBe(Y2,{exponentialRetryPolicy:()=>kBe,exponentialRetryPolicyName:()=>MBe});J2.exports=PBe(Y2);var DBe=Lm(),TBe=fc(),OBe=Do(),MBe="exponentialRetryPolicy";function kBe(t={}){return(0,TBe.retryPolicy)([(0,DBe.exponentialRetryStrategy)({...t,ignoreSystemErrors:!0})],{maxRetries:t.maxRetries??OBe.DEFAULT_RETRY_POLICY_COUNT})}o(kBe,"exponentialRetryPolicy")});var X2=h((oGe,$2)=>{var XQ=Object.defineProperty,LBe=Object.getOwnPropertyDescriptor,FBe=Object.getOwnPropertyNames,UBe=Object.prototype.hasOwnProperty,qBe=o((t,e)=>{for(var r in e)XQ(t,r,{get:e[r],enumerable:!0})},"__export"),HBe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of FBe(e))!UBe.call(t,i)&&i!==r&&XQ(t,i,{get:()=>e[i],enumerable:!(n=LBe(e,i))||n.enumerable});return t},"__copyProps"),zBe=o(t=>HBe(XQ({},"__esModule",{value:!0}),t),"__toCommonJS"),W2={};qBe(W2,{systemErrorRetryPolicy:()=>JBe,systemErrorRetryPolicyName:()=>K2});$2.exports=zBe(W2);var jBe=Lm(),GBe=fc(),YBe=Do(),K2="systemErrorRetryPolicy";function JBe(t={}){return{name:K2,sendRequest:(0,GBe.retryPolicy)([(0,jBe.exponentialRetryStrategy)({...t,ignoreHttpStatusCodes:!0})],{maxRetries:t.maxRetries??YBe.DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}o(JBe,"systemErrorRetryPolicy")});var rz=h((cGe,tz)=>{var ZQ=Object.defineProperty,VBe=Object.getOwnPropertyDescriptor,WBe=Object.getOwnPropertyNames,KBe=Object.prototype.hasOwnProperty,$Be=o((t,e)=>{for(var r in e)ZQ(t,r,{get:e[r],enumerable:!0})},"__export"),XBe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of WBe(e))!KBe.call(t,i)&&i!==r&&ZQ(t,i,{get:()=>e[i],enumerable:!(n=VBe(e,i))||n.enumerable});return t},"__copyProps"),ZBe=o(t=>XBe(ZQ({},"__esModule",{value:!0}),t),"__toCommonJS"),Z2={};$Be(Z2,{throttlingRetryPolicy:()=>nIe,throttlingRetryPolicyName:()=>ez});tz.exports=ZBe(Z2);var eIe=km(),tIe=fc(),rIe=Do(),ez="throttlingRetryPolicy";function nIe(t={}){return{name:ez,sendRequest:(0,tIe.retryPolicy)([(0,eIe.throttlingRetryStrategy)()],{maxRetries:t.maxRetries??rIe.DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}o(nIe,"throttlingRetryPolicy")});var Sr=h((AGe,fz)=>{var tw=Object.defineProperty,iIe=Object.getOwnPropertyDescriptor,sIe=Object.getOwnPropertyNames,oIe=Object.prototype.hasOwnProperty,aIe=o((t,e)=>{for(var r in e)tw(t,r,{get:e[r],enumerable:!0})},"__export"),cIe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of sIe(e))!oIe.call(t,i)&&i!==r&&tw(t,i,{get:()=>e[i],enumerable:!(n=iIe(e,i))||n.enumerable});return t},"__copyProps"),lIe=o(t=>cIe(tw({},"__esModule",{value:!0}),t),"__toCommonJS"),gz={};aIe(gz,{agentPolicy:()=>nz.agentPolicy,agentPolicyName:()=>nz.agentPolicyName,decompressResponsePolicy:()=>iz.decompressResponsePolicy,decompressResponsePolicyName:()=>iz.decompressResponsePolicyName,defaultRetryPolicy:()=>sz.defaultRetryPolicy,defaultRetryPolicyName:()=>sz.defaultRetryPolicyName,exponentialRetryPolicy:()=>oz.exponentialRetryPolicy,exponentialRetryPolicyName:()=>oz.exponentialRetryPolicyName,formDataPolicy:()=>lz.formDataPolicy,formDataPolicyName:()=>lz.formDataPolicyName,getDefaultProxySettings:()=>ew.getDefaultProxySettings,logPolicy:()=>Az.logPolicy,logPolicyName:()=>Az.logPolicyName,multipartPolicy:()=>uz.multipartPolicy,multipartPolicyName:()=>uz.multipartPolicyName,proxyPolicy:()=>ew.proxyPolicy,proxyPolicyName:()=>ew.proxyPolicyName,redirectPolicy:()=>dz.redirectPolicy,redirectPolicyName:()=>dz.redirectPolicyName,retryPolicy:()=>AIe.retryPolicy,systemErrorRetryPolicy:()=>az.systemErrorRetryPolicy,systemErrorRetryPolicyName:()=>az.systemErrorRetryPolicyName,throttlingRetryPolicy:()=>cz.throttlingRetryPolicy,throttlingRetryPolicyName:()=>cz.throttlingRetryPolicyName,tlsPolicy:()=>pz.tlsPolicy,tlsPolicyName:()=>pz.tlsPolicyName,userAgentPolicy:()=>mz.userAgentPolicy,userAgentPolicyName:()=>mz.userAgentPolicyName});fz.exports=lIe(gz);var nz=hQ(),iz=Jb(),sz=sQ(),oz=V2(),AIe=fc(),az=X2(),cz=rz(),lz=cQ(),Az=kb(),uz=QQ(),ew=gQ(),dz=Fb(),pz=CQ(),mz=Gb()});var nw=h((dGe,Cz)=>{var rw=Object.defineProperty,uIe=Object.getOwnPropertyDescriptor,dIe=Object.getOwnPropertyNames,pIe=Object.prototype.hasOwnProperty,mIe=o((t,e)=>{for(var r in e)rw(t,r,{get:e[r],enumerable:!0})},"__export"),gIe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of dIe(e))!pIe.call(t,i)&&i!==r&&rw(t,i,{get:()=>e[i],enumerable:!(n=uIe(e,i))||n.enumerable});return t},"__copyProps"),fIe=o(t=>gIe(rw({},"__esModule",{value:!0}),t),"__toCommonJS"),hz={};mIe(hz,{logPolicy:()=>CIe,logPolicyName:()=>yIe});Cz.exports=fIe(hz);var hIe=eu(),yz=Sr(),yIe=yz.logPolicyName;function CIe(t={}){return(0,yz.logPolicy)({logger:hIe.logger.info,...t})}o(CIe,"logPolicy")});var sw=h((mGe,Iz)=>{var iw=Object.defineProperty,EIe=Object.getOwnPropertyDescriptor,BIe=Object.getOwnPropertyNames,IIe=Object.prototype.hasOwnProperty,bIe=o((t,e)=>{for(var r in e)iw(t,r,{get:e[r],enumerable:!0})},"__export"),QIe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of BIe(e))!IIe.call(t,i)&&i!==r&&iw(t,i,{get:()=>e[i],enumerable:!(n=EIe(e,i))||n.enumerable});return t},"__copyProps"),wIe=o(t=>QIe(iw({},"__esModule",{value:!0}),t),"__toCommonJS"),Ez={};bIe(Ez,{redirectPolicy:()=>SIe,redirectPolicyName:()=>NIe});Iz.exports=wIe(Ez);var Bz=Sr(),NIe=Bz.redirectPolicyName;function SIe(t={}){return(0,Bz.redirectPolicy)(t)}o(SIe,"redirectPolicy")});var Sz=h((fGe,Nz)=>{var xIe=Object.create,Xm=Object.defineProperty,vIe=Object.getOwnPropertyDescriptor,RIe=Object.getOwnPropertyNames,_Ie=Object.getPrototypeOf,PIe=Object.prototype.hasOwnProperty,DIe=o((t,e)=>{for(var r in e)Xm(t,r,{get:e[r],enumerable:!0})},"__export"),bz=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of RIe(e))!PIe.call(t,i)&&i!==r&&Xm(t,i,{get:()=>e[i],enumerable:!(n=vIe(e,i))||n.enumerable});return t},"__copyProps"),Qz=o((t,e,r)=>(r=t!=null?xIe(_Ie(t)):{},bz(e||!t||!t.__esModule?Xm(r,"default",{value:t,enumerable:!0}):r,t)),"__toESM"),TIe=o(t=>bz(Xm({},"__esModule",{value:!0}),t),"__toCommonJS"),wz={};DIe(wz,{getHeaderName:()=>OIe,setPlatformSpecificData:()=>MIe});Nz.exports=TIe(wz);var ow=Qz(require("node:os")),aw=Qz(require("node:process"));function OIe(){return"User-Agent"}o(OIe,"getHeaderName");async function MIe(t){if(aw.default&&aw.default.versions){let e=`${ow.default.type()} ${ow.default.release()}; ${ow.default.arch()}`,r=aw.default.versions;r.bun?t.set("Bun",`${r.bun} (${e})`):r.deno?t.set("Deno",`${r.deno} (${e})`):r.node&&t.set("Node",`${r.node} (${e})`)}}o(MIe,"setPlatformSpecificData")});var Zm=h((yGe,vz)=>{var cw=Object.defineProperty,kIe=Object.getOwnPropertyDescriptor,LIe=Object.getOwnPropertyNames,FIe=Object.prototype.hasOwnProperty,UIe=o((t,e)=>{for(var r in e)cw(t,r,{get:e[r],enumerable:!0})},"__export"),qIe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of LIe(e))!FIe.call(t,i)&&i!==r&&cw(t,i,{get:()=>e[i],enumerable:!(n=kIe(e,i))||n.enumerable});return t},"__copyProps"),HIe=o(t=>qIe(cw({},"__esModule",{value:!0}),t),"__toCommonJS"),xz={};UIe(xz,{DEFAULT_RETRY_POLICY_COUNT:()=>jIe,SDK_VERSION:()=>zIe});vz.exports=HIe(xz);var zIe="1.22.3",jIe=3});var Aw=h((EGe,Pz)=>{var lw=Object.defineProperty,GIe=Object.getOwnPropertyDescriptor,YIe=Object.getOwnPropertyNames,JIe=Object.prototype.hasOwnProperty,VIe=o((t,e)=>{for(var r in e)lw(t,r,{get:e[r],enumerable:!0})},"__export"),WIe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of YIe(e))!JIe.call(t,i)&&i!==r&&lw(t,i,{get:()=>e[i],enumerable:!(n=GIe(e,i))||n.enumerable});return t},"__copyProps"),KIe=o(t=>WIe(lw({},"__esModule",{value:!0}),t),"__toCommonJS"),Rz={};VIe(Rz,{getUserAgentHeaderName:()=>ZIe,getUserAgentValue:()=>ebe});Pz.exports=KIe(Rz);var _z=Sz(),$Ie=Zm();function XIe(t){let e=[];for(let[r,n]of t){let i=n?`${r}/${n}`:r;e.push(i)}return e.join(" ")}o(XIe,"getUserAgentString");function ZIe(){return(0,_z.getHeaderName)()}o(ZIe,"getUserAgentHeaderName");async function ebe(t){let e=new Map;e.set("core-rest-pipeline",$Ie.SDK_VERSION),await(0,_z.setPlatformSpecificData)(e);let r=XIe(e);return t?`${t} ${r}`:r}o(ebe,"getUserAgentValue")});var dw=h((IGe,kz)=>{var uw=Object.defineProperty,tbe=Object.getOwnPropertyDescriptor,rbe=Object.getOwnPropertyNames,nbe=Object.prototype.hasOwnProperty,ibe=o((t,e)=>{for(var r in e)uw(t,r,{get:e[r],enumerable:!0})},"__export"),sbe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of rbe(e))!nbe.call(t,i)&&i!==r&&uw(t,i,{get:()=>e[i],enumerable:!(n=tbe(e,i))||n.enumerable});return t},"__copyProps"),obe=o(t=>sbe(uw({},"__esModule",{value:!0}),t),"__toCommonJS"),Tz={};ibe(Tz,{userAgentPolicy:()=>abe,userAgentPolicyName:()=>Mz});kz.exports=obe(Tz);var Oz=Aw(),Dz=(0,Oz.getUserAgentHeaderName)(),Mz="userAgentPolicy";function abe(t={}){let e=(0,Oz.getUserAgentValue)(t.userAgentPrefix);return{name:Mz,async sendRequest(r,n){return r.headers.has(Dz)||r.headers.set(Dz,await e),n(r)}}}o(abe,"userAgentPolicy")});var uj={};Ku(uj,{__addDisposableResource:()=>cj,__assign:()=>eg,__asyncDelegator:()=>ej,__asyncGenerator:()=>Zz,__asyncValues:()=>tj,__await:()=>wc,__awaiter:()=>Jz,__classPrivateFieldGet:()=>sj,__classPrivateFieldIn:()=>aj,__classPrivateFieldSet:()=>oj,__createBinding:()=>rg,__decorate:()=>Uz,__disposeResources:()=>lj,__esDecorate:()=>Hz,__exportStar:()=>Wz,__extends:()=>Lz,__generator:()=>Vz,__importDefault:()=>ij,__importStar:()=>nj,__makeTemplateObject:()=>rj,__metadata:()=>Yz,__param:()=>qz,__propKey:()=>jz,__read:()=>gw,__rest:()=>Fz,__rewriteRelativeImportExtension:()=>Aj,__runInitializers:()=>zz,__setFunctionName:()=>Gz,__spread:()=>Kz,__spreadArray:()=>Xz,__spreadArrays:()=>$z,__values:()=>tg,default:()=>Abe});function Lz(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");pw(t,e);function r(){this.constructor=t}o(r,"__"),t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}function Fz(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(t);i=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s}function qz(t,e){return function(r,n){e(r,n,t)}}function Hz(t,e,r,n,i,s){function a(w){if(w!==void 0&&typeof w!="function")throw new TypeError("Function expected");return w}o(a,"accept");for(var c=n.kind,l=c==="getter"?"get":c==="setter"?"set":"value",A=!e&&t?n.static?t:t.prototype:null,u=e||(A?Object.getOwnPropertyDescriptor(A,n.name):{}),d,g=!1,f=r.length-1;f>=0;f--){var C={};for(var Q in n)C[Q]=Q==="access"?{}:n[Q];for(var Q in n.access)C.access[Q]=n.access[Q];C.addInitializer=function(w){if(g)throw new TypeError("Cannot add initializers after decoration has completed");s.push(a(w||null))};var x=(0,r[f])(c==="accessor"?{get:u.get,set:u.set}:u[l],C);if(c==="accessor"){if(x===void 0)continue;if(x===null||typeof x!="object")throw new TypeError("Object expected");(d=a(x.get))&&(u.get=d),(d=a(x.set))&&(u.set=d),(d=a(x.init))&&i.unshift(d)}else(d=a(x))&&(c==="field"?i.unshift(d):u[l]=d)}A&&Object.defineProperty(A,n.name,u),g=!0}function zz(t,e,r){for(var n=arguments.length>2,i=0;i0&&s[s.length-1])&&(A[0]===6||A[0]===2)){r=0;continue}if(A[0]===3&&(!s||A[1]>s[0]&&A[1]=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function gw(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,s=[],a;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)s.push(i.value)}catch(c){a={error:c}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(a)throw a.error}}return s}function Kz(){for(var t=[],e=0;e1||l(f,Q)})},C&&(i[f]=C(i[f])))}function l(f,C){try{A(n[f](C))}catch(Q){g(s[0][3],Q)}}function A(f){f.value instanceof wc?Promise.resolve(f.value.v).then(u,d):g(s[0][2],f)}function u(f){l("next",f)}function d(f){l("throw",f)}function g(f,C){f(C),s.shift(),s.length&&l(s[0][0],s[0][1])}}function ej(t){var e,r;return e={},n("next"),n("throw",function(i){throw i}),n("return"),e[Symbol.iterator]=function(){return this},e;function n(i,s){e[i]=t[i]?function(a){return(r=!r)?{value:wc(t[i](a)),done:!1}:s?s(a):a}:s}}function tj(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof tg=="function"?tg(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(s){r[s]=t[s]&&function(a){return new Promise(function(c,l){a=t[s](a),i(c,l,a.done,a.value)})}}function i(s,a,c,l){Promise.resolve(l).then(function(A){s({value:A,done:c})},a)}}function rj(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function nj(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r=mw(t),n=0;n{pw=o(function(t,e){return pw=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},pw(t,e)},"extendStatics");o(Lz,"__extends");eg=o(function(){return eg=Object.assign||o(function(e){for(var r,n=1,i=arguments.length;n{var fw=Object.defineProperty,ube=Object.getOwnPropertyDescriptor,dbe=Object.getOwnPropertyNames,pbe=Object.prototype.hasOwnProperty,mbe=o((t,e)=>{for(var r in e)fw(t,r,{get:e[r],enumerable:!0})},"__export"),gbe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of dbe(e))!pbe.call(t,i)&&i!==r&&fw(t,i,{get:()=>e[i],enumerable:!(n=ube(e,i))||n.enumerable});return t},"__copyProps"),fbe=o(t=>gbe(fw({},"__esModule",{value:!0}),t),"__toCommonJS"),pj={};mbe(pj,{computeSha256Hash:()=>ybe,computeSha256Hmac:()=>hbe});gj.exports=fbe(pj);var mj=require("node:crypto");async function hbe(t,e,r){let n=Buffer.from(t,"base64");return(0,mj.createHmac)("sha256",n).update(e).digest(r)}o(hbe,"computeSha256Hmac");async function ybe(t,e){return(0,mj.createHash)("sha256").update(t).digest(e)}o(ybe,"computeSha256Hash")});var tu=h((SGe,Ej)=>{var hw=Object.defineProperty,Cbe=Object.getOwnPropertyDescriptor,Ebe=Object.getOwnPropertyNames,Bbe=Object.prototype.hasOwnProperty,Ibe=o((t,e)=>{for(var r in e)hw(t,r,{get:e[r],enumerable:!0})},"__export"),bbe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ebe(e))!Bbe.call(t,i)&&i!==r&&hw(t,i,{get:()=>e[i],enumerable:!(n=Cbe(e,i))||n.enumerable});return t},"__copyProps"),Qbe=o(t=>bbe(hw({},"__esModule",{value:!0}),t),"__toCommonJS"),Cj={};Ibe(Cj,{Sanitizer:()=>Rbe.Sanitizer,calculateRetryDelay:()=>wbe.calculateRetryDelay,computeSha256Hash:()=>hj.computeSha256Hash,computeSha256Hmac:()=>hj.computeSha256Hmac,getRandomIntegerInclusive:()=>Nbe.getRandomIntegerInclusive,isBrowser:()=>Mo.isBrowser,isBun:()=>Mo.isBun,isDeno:()=>Mo.isDeno,isError:()=>xbe.isError,isNodeLike:()=>Mo.isNodeLike,isNodeRuntime:()=>Mo.isNodeRuntime,isObject:()=>Sbe.isObject,isReactNative:()=>Mo.isReactNative,isWebWorker:()=>Mo.isWebWorker,randomUUID:()=>vbe.randomUUID,stringToUint8Array:()=>yj.stringToUint8Array,uint8ArrayToString:()=>yj.uint8ArrayToString});Ej.exports=Qbe(Cj);var wbe=$b(),Nbe=Wb(),Sbe=Pm(),xbe=Ib(),hj=fj(),vbe=_m(),Mo=KA(),yj=Po(),Rbe=JA()});var Bj=h(yw=>{"use strict";Object.defineProperty(yw,"__esModule",{value:!0});yw.cancelablePromiseRace=_be;async function _be(t,e){let r=new AbortController;function n(){r.abort()}o(n,"abortHandler"),e?.abortSignal?.addEventListener("abort",n);try{return await Promise.race(t.map(i=>i({abortSignal:r.signal})))}finally{r.abort(),e?.abortSignal?.removeEventListener("abort",n)}}o(_be,"cancelablePromiseRace")});var Ij=h(ng=>{"use strict";Object.defineProperty(ng,"__esModule",{value:!0});ng.AbortError=void 0;var Cw=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};ng.AbortError=Cw});var bj=h(ig=>{"use strict";Object.defineProperty(ig,"__esModule",{value:!0});ig.AbortError=void 0;var Pbe=Ij();Object.defineProperty(ig,"AbortError",{enumerable:!0,get:function(){return Pbe.AbortError}})});var Bw=h(Ew=>{"use strict";Object.defineProperty(Ew,"__esModule",{value:!0});Ew.createAbortablePromise=Tbe;var Dbe=bj();function Tbe(t,e){let{cleanupBeforeAbort:r,abortSignal:n,abortErrorMsg:i}=e??{};return new Promise((s,a)=>{function c(){a(new Dbe.AbortError(i??"The operation was aborted."))}o(c,"rejectOnAbort");function l(){n?.removeEventListener("abort",A)}o(l,"removeListeners");function A(){r?.(),l(),c()}if(o(A,"onAbort"),n?.aborted)return c();try{t(u=>{l(),s(u)},u=>{l(),a(u)})}catch(u){a(u)}n?.addEventListener("abort",A)})}o(Tbe,"createAbortablePromise")});var Qj=h(sg=>{"use strict";Object.defineProperty(sg,"__esModule",{value:!0});sg.delay=Lbe;sg.calculateRetryDelay=Fbe;var Obe=Bw(),Mbe=tu(),kbe="The delay was aborted.";function Lbe(t,e){let r,{abortSignal:n,abortErrorMsg:i}=e??{};return(0,Obe.createAbortablePromise)(s=>{r=setTimeout(s,t)},{cleanupBeforeAbort:()=>clearTimeout(r),abortSignal:n,abortErrorMsg:i??kbe})}o(Lbe,"delay");function Fbe(t,e){let r=e.retryDelayInMs*Math.pow(2,t),n=Math.min(e.maxRetryDelayInMs,r);return{retryAfterInMs:n/2+(0,Mbe.getRandomIntegerInclusive)(0,n/2)}}o(Fbe,"calculateRetryDelay")});var wj=h(Iw=>{"use strict";Object.defineProperty(Iw,"__esModule",{value:!0});Iw.getErrorMessage=qbe;var Ube=tu();function qbe(t){if((0,Ube.isError)(t))return t.message;{let e;try{typeof t=="object"&&t?e=JSON.stringify(t):e=String(t)}catch{e="[unable to stringify input]"}return`Unknown error ${e}`}}o(qbe,"getErrorMessage")});var Sj=h(ru=>{"use strict";Object.defineProperty(ru,"__esModule",{value:!0});ru.isDefined=bw;ru.isObjectWithProperties=Hbe;ru.objectHasProperty=Nj;function bw(t){return typeof t<"u"&&t!==null}o(bw,"isDefined");function Hbe(t,e){if(!bw(t)||typeof t!="object")return!1;for(let r of e)if(!Nj(t,r))return!1;return!0}o(Hbe,"isObjectWithProperties");function Nj(t,e){return bw(t)&&typeof t=="object"&&e in t}o(Nj,"objectHasProperty")});var ut=h(he=>{"use strict";Object.defineProperty(he,"__esModule",{value:!0});he.isWebWorker=he.isReactNative=he.isNodeRuntime=he.isNodeLike=he.isNode=he.isDeno=he.isBun=he.isBrowser=he.objectHasProperty=he.isObjectWithProperties=he.isDefined=he.getErrorMessage=he.delay=he.createAbortablePromise=he.cancelablePromiseRace=void 0;he.calculateRetryDelay=Vbe;he.computeSha256Hash=Wbe;he.computeSha256Hmac=Kbe;he.getRandomIntegerInclusive=$be;he.isError=Xbe;he.isObject=Zbe;he.randomUUID=eQe;he.uint8ArrayToString=tQe;he.stringToUint8Array=rQe;var zbe=(dj(),Wt(uj)),Vt=zbe.__importStar(tu()),jbe=Bj();Object.defineProperty(he,"cancelablePromiseRace",{enumerable:!0,get:function(){return jbe.cancelablePromiseRace}});var Gbe=Bw();Object.defineProperty(he,"createAbortablePromise",{enumerable:!0,get:function(){return Gbe.createAbortablePromise}});var Ybe=Qj();Object.defineProperty(he,"delay",{enumerable:!0,get:function(){return Ybe.delay}});var Jbe=wj();Object.defineProperty(he,"getErrorMessage",{enumerable:!0,get:function(){return Jbe.getErrorMessage}});var Qw=Sj();Object.defineProperty(he,"isDefined",{enumerable:!0,get:function(){return Qw.isDefined}});Object.defineProperty(he,"isObjectWithProperties",{enumerable:!0,get:function(){return Qw.isObjectWithProperties}});Object.defineProperty(he,"objectHasProperty",{enumerable:!0,get:function(){return Qw.objectHasProperty}});function Vbe(t,e){return Vt.calculateRetryDelay(t,e)}o(Vbe,"calculateRetryDelay");function Wbe(t,e){return Vt.computeSha256Hash(t,e)}o(Wbe,"computeSha256Hash");function Kbe(t,e,r){return Vt.computeSha256Hmac(t,e,r)}o(Kbe,"computeSha256Hmac");function $be(t,e){return Vt.getRandomIntegerInclusive(t,e)}o($be,"getRandomIntegerInclusive");function Xbe(t){return Vt.isError(t)}o(Xbe,"isError");function Zbe(t){return Vt.isObject(t)}o(Zbe,"isObject");function eQe(){return Vt.randomUUID()}o(eQe,"randomUUID");he.isBrowser=Vt.isBrowser;he.isBun=Vt.isBun;he.isDeno=Vt.isDeno;he.isNode=Vt.isNodeLike;he.isNodeLike=Vt.isNodeLike;he.isNodeRuntime=Vt.isNodeRuntime;he.isReactNative=Vt.isReactNative;he.isWebWorker=Vt.isWebWorker;function tQe(t,e){return Vt.uint8ArrayToString(t,e)}o(tQe,"uint8ArrayToString");function rQe(t,e){return Vt.stringToUint8Array(t,e)}o(rQe,"stringToUint8Array")});var Nw=h((jGe,Pj)=>{var ww=Object.defineProperty,nQe=Object.getOwnPropertyDescriptor,iQe=Object.getOwnPropertyNames,sQe=Object.prototype.hasOwnProperty,oQe=o((t,e)=>{for(var r in e)ww(t,r,{get:e[r],enumerable:!0})},"__export"),aQe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of iQe(e))!sQe.call(t,i)&&i!==r&&ww(t,i,{get:()=>e[i],enumerable:!(n=nQe(e,i))||n.enumerable});return t},"__copyProps"),cQe=o(t=>aQe(ww({},"__esModule",{value:!0}),t),"__toCommonJS"),vj={};oQe(vj,{createFile:()=>pQe,createFileFromStream:()=>dQe,getRawContent:()=>uQe,hasRawContent:()=>_j});Pj.exports=cQe(vj);var lQe=ut();function AQe(t){return!!(t&&typeof t.pipe=="function")}o(AQe,"isNodeReadableStream");var Rj={arrayBuffer:()=>{throw new Error("Not implemented")},bytes:()=>{throw new Error("Not implemented")},slice:()=>{throw new Error("Not implemented")},text:()=>{throw new Error("Not implemented")}},og=Symbol("rawContent");function _j(t){return typeof t[og]=="function"}o(_j,"hasRawContent");function uQe(t){return _j(t)?t[og]():t}o(uQe,"getRawContent");function dQe(t,e,r={}){return{...Rj,type:r.type??"",lastModified:r.lastModified??new Date().getTime(),webkitRelativePath:r.webkitRelativePath??"",size:r.size??-1,name:e,stream:()=>{let n=t();if(AQe(n))throw new Error("Not supported: a Node stream was provided as input to createFileFromStream.");return n},[og]:t}}o(dQe,"createFileFromStream");function pQe(t,e,r={}){return lQe.isNodeLike?{...Rj,type:r.type??"",lastModified:r.lastModified??new Date().getTime(),webkitRelativePath:r.webkitRelativePath??"",size:t.byteLength,name:e,arrayBuffer:async()=>t.buffer,stream:()=>new Blob([xj(t)]).stream(),[og]:()=>t}:new File([xj(t)],e,r)}o(pQe,"createFile");function xj(t){return"resize"in t.buffer?t:t.map(e=>e)}o(xj,"toArrayBuffer")});var xw=h((YGe,kj)=>{var Sw=Object.defineProperty,mQe=Object.getOwnPropertyDescriptor,gQe=Object.getOwnPropertyNames,fQe=Object.prototype.hasOwnProperty,hQe=o((t,e)=>{for(var r in e)Sw(t,r,{get:e[r],enumerable:!0})},"__export"),yQe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of gQe(e))!fQe.call(t,i)&&i!==r&&Sw(t,i,{get:()=>e[i],enumerable:!(n=mQe(e,i))||n.enumerable});return t},"__copyProps"),CQe=o(t=>yQe(Sw({},"__esModule",{value:!0}),t),"__toCommonJS"),Tj={};hQe(Tj,{multipartPolicy:()=>EQe,multipartPolicyName:()=>Mj});kj.exports=CQe(Tj);var Oj=Sr(),Dj=Nw(),Mj=Oj.multipartPolicyName;function EQe(){let t=(0,Oj.multipartPolicy)();return{name:Mj,sendRequest:async(e,r)=>{if(e.multipartBody)for(let n of e.multipartBody.parts)(0,Dj.hasRawContent)(n.body)&&(n.body=(0,Dj.getRawContent)(n.body));return t.sendRequest(e,r)}}}o(EQe,"multipartPolicy")});var Rw=h((VGe,Uj)=>{var vw=Object.defineProperty,BQe=Object.getOwnPropertyDescriptor,IQe=Object.getOwnPropertyNames,bQe=Object.prototype.hasOwnProperty,QQe=o((t,e)=>{for(var r in e)vw(t,r,{get:e[r],enumerable:!0})},"__export"),wQe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of IQe(e))!bQe.call(t,i)&&i!==r&&vw(t,i,{get:()=>e[i],enumerable:!(n=BQe(e,i))||n.enumerable});return t},"__copyProps"),NQe=o(t=>wQe(vw({},"__esModule",{value:!0}),t),"__toCommonJS"),Lj={};QQe(Lj,{decompressResponsePolicy:()=>xQe,decompressResponsePolicyName:()=>SQe});Uj.exports=NQe(Lj);var Fj=Sr(),SQe=Fj.decompressResponsePolicyName;function xQe(){return(0,Fj.decompressResponsePolicy)()}o(xQe,"decompressResponsePolicy")});var Pw=h((KGe,zj)=>{var _w=Object.defineProperty,vQe=Object.getOwnPropertyDescriptor,RQe=Object.getOwnPropertyNames,_Qe=Object.prototype.hasOwnProperty,PQe=o((t,e)=>{for(var r in e)_w(t,r,{get:e[r],enumerable:!0})},"__export"),DQe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of RQe(e))!_Qe.call(t,i)&&i!==r&&_w(t,i,{get:()=>e[i],enumerable:!(n=vQe(e,i))||n.enumerable});return t},"__copyProps"),TQe=o(t=>DQe(_w({},"__esModule",{value:!0}),t),"__toCommonJS"),qj={};PQe(qj,{defaultRetryPolicy:()=>MQe,defaultRetryPolicyName:()=>OQe});zj.exports=TQe(qj);var Hj=Sr(),OQe=Hj.defaultRetryPolicyName;function MQe(t={}){return(0,Hj.defaultRetryPolicy)(t)}o(MQe,"defaultRetryPolicy")});var Tw=h((XGe,Yj)=>{var Dw=Object.defineProperty,kQe=Object.getOwnPropertyDescriptor,LQe=Object.getOwnPropertyNames,FQe=Object.prototype.hasOwnProperty,UQe=o((t,e)=>{for(var r in e)Dw(t,r,{get:e[r],enumerable:!0})},"__export"),qQe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of LQe(e))!FQe.call(t,i)&&i!==r&&Dw(t,i,{get:()=>e[i],enumerable:!(n=kQe(e,i))||n.enumerable});return t},"__copyProps"),HQe=o(t=>qQe(Dw({},"__esModule",{value:!0}),t),"__toCommonJS"),jj={};UQe(jj,{formDataPolicy:()=>jQe,formDataPolicyName:()=>zQe});Yj.exports=HQe(jj);var Gj=Sr(),zQe=Gj.formDataPolicyName;function jQe(){return(0,Gj.formDataPolicy)()}o(jQe,"formDataPolicy")});var kw=h((eYe,Vj)=>{var Ow=Object.defineProperty,GQe=Object.getOwnPropertyDescriptor,YQe=Object.getOwnPropertyNames,JQe=Object.prototype.hasOwnProperty,VQe=o((t,e)=>{for(var r in e)Ow(t,r,{get:e[r],enumerable:!0})},"__export"),WQe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of YQe(e))!JQe.call(t,i)&&i!==r&&Ow(t,i,{get:()=>e[i],enumerable:!(n=GQe(e,i))||n.enumerable});return t},"__copyProps"),KQe=o(t=>WQe(Ow({},"__esModule",{value:!0}),t),"__toCommonJS"),Jj={};VQe(Jj,{getDefaultProxySettings:()=>XQe,proxyPolicy:()=>ZQe,proxyPolicyName:()=>$Qe});Vj.exports=KQe(Jj);var Mw=Sr(),$Qe=Mw.proxyPolicyName;function XQe(t){return(0,Mw.getDefaultProxySettings)(t)}o(XQe,"getDefaultProxySettings");function ZQe(t,e){return(0,Mw.proxyPolicy)(t,e)}o(ZQe,"proxyPolicy")});var Fw=h((rYe,$j)=>{var Lw=Object.defineProperty,ewe=Object.getOwnPropertyDescriptor,twe=Object.getOwnPropertyNames,rwe=Object.prototype.hasOwnProperty,nwe=o((t,e)=>{for(var r in e)Lw(t,r,{get:e[r],enumerable:!0})},"__export"),iwe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of twe(e))!rwe.call(t,i)&&i!==r&&Lw(t,i,{get:()=>e[i],enumerable:!(n=ewe(e,i))||n.enumerable});return t},"__copyProps"),swe=o(t=>iwe(Lw({},"__esModule",{value:!0}),t),"__toCommonJS"),Wj={};nwe(Wj,{setClientRequestIdPolicy:()=>owe,setClientRequestIdPolicyName:()=>Kj});$j.exports=swe(Wj);var Kj="setClientRequestIdPolicy";function owe(t="x-ms-client-request-id"){return{name:Kj,async sendRequest(e,r){return e.headers.has(t)||e.headers.set(t,e.requestId),r(e)}}}o(owe,"setClientRequestIdPolicy")});var qw=h((iYe,eG)=>{var Uw=Object.defineProperty,awe=Object.getOwnPropertyDescriptor,cwe=Object.getOwnPropertyNames,lwe=Object.prototype.hasOwnProperty,Awe=o((t,e)=>{for(var r in e)Uw(t,r,{get:e[r],enumerable:!0})},"__export"),uwe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of cwe(e))!lwe.call(t,i)&&i!==r&&Uw(t,i,{get:()=>e[i],enumerable:!(n=awe(e,i))||n.enumerable});return t},"__copyProps"),dwe=o(t=>uwe(Uw({},"__esModule",{value:!0}),t),"__toCommonJS"),Xj={};Awe(Xj,{agentPolicy:()=>mwe,agentPolicyName:()=>pwe});eG.exports=dwe(Xj);var Zj=Sr(),pwe=Zj.agentPolicyName;function mwe(t){return(0,Zj.agentPolicy)(t)}o(mwe,"agentPolicy")});var zw=h((oYe,nG)=>{var Hw=Object.defineProperty,gwe=Object.getOwnPropertyDescriptor,fwe=Object.getOwnPropertyNames,hwe=Object.prototype.hasOwnProperty,ywe=o((t,e)=>{for(var r in e)Hw(t,r,{get:e[r],enumerable:!0})},"__export"),Cwe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of fwe(e))!hwe.call(t,i)&&i!==r&&Hw(t,i,{get:()=>e[i],enumerable:!(n=gwe(e,i))||n.enumerable});return t},"__copyProps"),Ewe=o(t=>Cwe(Hw({},"__esModule",{value:!0}),t),"__toCommonJS"),tG={};ywe(tG,{tlsPolicy:()=>Iwe,tlsPolicyName:()=>Bwe});nG.exports=Ewe(tG);var rG=Sr(),Bwe=rG.tlsPolicyName;function Iwe(t){return(0,rG.tlsPolicy)(t)}o(Iwe,"tlsPolicy")});var jw=h(Zi=>{"use strict";Object.defineProperty(Zi,"__esModule",{value:!0});Zi.TracingContextImpl=Zi.knownContextKeys=void 0;Zi.createTracingContext=bwe;Zi.knownContextKeys={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};function bwe(t={}){let e=new ag(t.parentContext);return t.span&&(e=e.setValue(Zi.knownContextKeys.span,t.span)),t.namespace&&(e=e.setValue(Zi.knownContextKeys.namespace,t.namespace)),e}o(bwe,"createTracingContext");var ag=class t{static{o(this,"TracingContextImpl")}_contextMap;constructor(e){this._contextMap=e instanceof t?new Map(e._contextMap):new Map}setValue(e,r){let n=new t(this);return n._contextMap.set(e,r),n}getValue(e){return this._contextMap.get(e)}deleteValue(e){let r=new t(this);return r._contextMap.delete(e),r}};Zi.TracingContextImpl=ag});var iG=h(cg=>{"use strict";Object.defineProperty(cg,"__esModule",{value:!0});cg.state=void 0;cg.state={instrumenterImplementation:void 0}});var Gw=h(Nc=>{"use strict";Object.defineProperty(Nc,"__esModule",{value:!0});Nc.createDefaultTracingSpan=sG;Nc.createDefaultInstrumenter=oG;Nc.useInstrumenter=wwe;Nc.getInstrumenter=Nwe;var Qwe=jw(),lg=iG();function sG(){return{end:()=>{},isRecording:()=>!1,recordException:()=>{},setAttribute:()=>{},setStatus:()=>{},addEvent:()=>{}}}o(sG,"createDefaultTracingSpan");function oG(){return{createRequestHeaders:()=>({}),parseTraceparentHeader:()=>{},startSpan:(t,e)=>({span:sG(),tracingContext:(0,Qwe.createTracingContext)({parentContext:e.tracingContext})}),withContext(t,e,...r){return e(...r)}}}o(oG,"createDefaultInstrumenter");function wwe(t){lg.state.instrumenterImplementation=t}o(wwe,"useInstrumenter");function Nwe(){return lg.state.instrumenterImplementation||(lg.state.instrumenterImplementation=oG()),lg.state.instrumenterImplementation}o(Nwe,"getInstrumenter")});var aG=h(Jw=>{"use strict";Object.defineProperty(Jw,"__esModule",{value:!0});Jw.createTracingClient=Swe;var Ag=Gw(),Yw=jw();function Swe(t){let{namespace:e,packageName:r,packageVersion:n}=t;function i(A,u,d){let g=(0,Ag.getInstrumenter)().startSpan(A,{...d,packageName:r,packageVersion:n,tracingContext:u?.tracingOptions?.tracingContext}),f=g.tracingContext,C=g.span;f.getValue(Yw.knownContextKeys.namespace)||(f=f.setValue(Yw.knownContextKeys.namespace,e)),C.setAttribute("az.namespace",f.getValue(Yw.knownContextKeys.namespace));let Q=Object.assign({},u,{tracingOptions:{...u?.tracingOptions,tracingContext:f}});return{span:C,updatedOptions:Q}}o(i,"startSpan");async function s(A,u,d,g){let{span:f,updatedOptions:C}=i(A,u,g);try{let Q=await a(C.tracingOptions.tracingContext,()=>Promise.resolve(d(C,f)));return f.setStatus({status:"success"}),Q}catch(Q){throw f.setStatus({status:"error",error:Q}),Q}finally{f.end()}}o(s,"withSpan");function a(A,u,...d){return(0,Ag.getInstrumenter)().withContext(A,u,...d)}o(a,"withContext");function c(A){return(0,Ag.getInstrumenter)().parseTraceparentHeader(A)}o(c,"parseTraceparentHeader");function l(A){return(0,Ag.getInstrumenter)().createRequestHeaders(A)}return o(l,"createRequestHeaders"),{startSpan:i,withSpan:s,withContext:a,parseTraceparentHeader:c,createRequestHeaders:l}}o(Swe,"createTracingClient")});var Vw=h(Sc=>{"use strict";Object.defineProperty(Sc,"__esModule",{value:!0});Sc.createTracingClient=Sc.useInstrumenter=void 0;var xwe=Gw();Object.defineProperty(Sc,"useInstrumenter",{enumerable:!0,get:function(){return xwe.useInstrumenter}});var vwe=aG();Object.defineProperty(Sc,"createTracingClient",{enumerable:!0,get:function(){return vwe.createTracingClient}})});var ug=h((fYe,AG)=>{var Ww=Object.defineProperty,Rwe=Object.getOwnPropertyDescriptor,_we=Object.getOwnPropertyNames,Pwe=Object.prototype.hasOwnProperty,Dwe=o((t,e)=>{for(var r in e)Ww(t,r,{get:e[r],enumerable:!0})},"__export"),Twe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of _we(e))!Pwe.call(t,i)&&i!==r&&Ww(t,i,{get:()=>e[i],enumerable:!(n=Rwe(e,i))||n.enumerable});return t},"__copyProps"),Owe=o(t=>Twe(Ww({},"__esModule",{value:!0}),t),"__toCommonJS"),cG={};Dwe(cG,{RestError:()=>Mwe,isRestError:()=>kwe});AG.exports=Owe(cG);var lG=bc(),Mwe=lG.RestError;function kwe(t){return(0,lG.isRestError)(t)}o(kwe,"isRestError")});var $w=h((yYe,pG)=>{var Kw=Object.defineProperty,Lwe=Object.getOwnPropertyDescriptor,Fwe=Object.getOwnPropertyNames,Uwe=Object.prototype.hasOwnProperty,qwe=o((t,e)=>{for(var r in e)Kw(t,r,{get:e[r],enumerable:!0})},"__export"),Hwe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Fwe(e))!Uwe.call(t,i)&&i!==r&&Kw(t,i,{get:()=>e[i],enumerable:!(n=Lwe(e,i))||n.enumerable});return t},"__copyProps"),zwe=o(t=>Hwe(Kw({},"__esModule",{value:!0}),t),"__toCommonJS"),uG={};qwe(uG,{tracingPolicy:()=>Wwe,tracingPolicyName:()=>dG});pG.exports=zwe(uG);var jwe=Vw(),Gwe=Zm(),Ywe=Aw(),dg=eu(),nu=ut(),Jwe=ug(),Vwe=tu(),dG="tracingPolicy";function Wwe(t={}){let e=(0,Ywe.getUserAgentValue)(t.userAgentPrefix),r=new Vwe.Sanitizer({additionalAllowedQueryParameters:t.additionalAllowedQueryParameters}),n=Kwe();return{name:dG,async sendRequest(i,s){if(!n)return s(i);let a=await e,c={"http.url":r.sanitizeUrl(i.url),"http.method":i.method,"http.user_agent":a,requestId:i.requestId};a&&(c["http.user_agent"]=a);let{span:l,tracingContext:A}=$we(n,i,c)??{};if(!l||!A)return s(i);try{let u=await n.withContext(A,s,i);return Zwe(l,u),u}catch(u){throw Xwe(l,u),u}}}}o(Wwe,"tracingPolicy");function Kwe(){try{return(0,jwe.createTracingClient)({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:Gwe.SDK_VERSION})}catch(t){dg.logger.warning(`Error when creating the TracingClient: ${(0,nu.getErrorMessage)(t)}`);return}}o(Kwe,"tryCreateTracingClient");function $we(t,e,r){try{let{span:n,updatedOptions:i}=t.startSpan(`HTTP ${e.method}`,{tracingOptions:e.tracingOptions},{spanKind:"client",spanAttributes:r});if(!n.isRecording()){n.end();return}let s=t.createRequestHeaders(i.tracingOptions.tracingContext);for(let[a,c]of Object.entries(s))e.headers.set(a,c);return{span:n,tracingContext:i.tracingOptions.tracingContext}}catch(n){dg.logger.warning(`Skipping creating a tracing span due to an error: ${(0,nu.getErrorMessage)(n)}`);return}}o($we,"tryCreateSpan");function Xwe(t,e){try{t.setStatus({status:"error",error:(0,nu.isError)(e)?e:void 0}),(0,Jwe.isRestError)(e)&&e.statusCode&&t.setAttribute("http.status_code",e.statusCode),t.end()}catch(r){dg.logger.warning(`Skipping tracing span processing due to an error: ${(0,nu.getErrorMessage)(r)}`)}}o(Xwe,"tryProcessError");function Zwe(t,e){try{t.setAttribute("http.status_code",e.status);let r=e.headers.get("x-ms-request-id");r&&t.setAttribute("serviceRequestId",r),e.status>=400&&t.setStatus({status:"error"}),t.end()}catch(r){dg.logger.warning(`Skipping tracing span processing due to an error: ${(0,nu.getErrorMessage)(r)}`)}}o(Zwe,"tryProcessResponse")});var Zw=h((EYe,gG)=>{var Xw=Object.defineProperty,eNe=Object.getOwnPropertyDescriptor,tNe=Object.getOwnPropertyNames,rNe=Object.prototype.hasOwnProperty,nNe=o((t,e)=>{for(var r in e)Xw(t,r,{get:e[r],enumerable:!0})},"__export"),iNe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of tNe(e))!rNe.call(t,i)&&i!==r&&Xw(t,i,{get:()=>e[i],enumerable:!(n=eNe(e,i))||n.enumerable});return t},"__copyProps"),sNe=o(t=>iNe(Xw({},"__esModule",{value:!0}),t),"__toCommonJS"),mG={};nNe(mG,{wrapAbortSignalLike:()=>oNe});gG.exports=sNe(mG);function oNe(t){if(t instanceof AbortSignal)return{abortSignal:t};if(t.aborted)return{abortSignal:AbortSignal.abort(t.reason)};let e=new AbortController,r=!0;function n(){r&&(t.removeEventListener("abort",i),r=!1)}o(n,"cleanup");function i(){e.abort(t.reason),n()}return o(i,"listener"),t.addEventListener("abort",i),{abortSignal:e.signal,cleanup:n}}o(oNe,"wrapAbortSignalLike")});var CG=h((IYe,yG)=>{var eN=Object.defineProperty,aNe=Object.getOwnPropertyDescriptor,cNe=Object.getOwnPropertyNames,lNe=Object.prototype.hasOwnProperty,ANe=o((t,e)=>{for(var r in e)eN(t,r,{get:e[r],enumerable:!0})},"__export"),uNe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of cNe(e))!lNe.call(t,i)&&i!==r&&eN(t,i,{get:()=>e[i],enumerable:!(n=aNe(e,i))||n.enumerable});return t},"__copyProps"),dNe=o(t=>uNe(eN({},"__esModule",{value:!0}),t),"__toCommonJS"),fG={};ANe(fG,{wrapAbortSignalLikePolicy:()=>mNe,wrapAbortSignalLikePolicyName:()=>hG});yG.exports=dNe(fG);var pNe=Zw(),hG="wrapAbortSignalLikePolicy";function mNe(){return{name:hG,sendRequest:async(t,e)=>{if(!t.abortSignal)return e(t);let{abortSignal:r,cleanup:n}=(0,pNe.wrapAbortSignalLike)(t.abortSignal);t.abortSignal=r;try{return await e(t)}finally{n?.()}}}}o(mNe,"wrapAbortSignalLikePolicy")});var QG=h((QYe,bG)=>{var tN=Object.defineProperty,gNe=Object.getOwnPropertyDescriptor,fNe=Object.getOwnPropertyNames,hNe=Object.prototype.hasOwnProperty,yNe=o((t,e)=>{for(var r in e)tN(t,r,{get:e[r],enumerable:!0})},"__export"),CNe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of fNe(e))!hNe.call(t,i)&&i!==r&&tN(t,i,{get:()=>e[i],enumerable:!(n=gNe(e,i))||n.enumerable});return t},"__copyProps"),ENe=o(t=>CNe(tN({},"__esModule",{value:!0}),t),"__toCommonJS"),IG={};yNe(IG,{createPipelineFromOptions:()=>TNe});bG.exports=ENe(IG);var BNe=nw(),INe=VQ(),bNe=sw(),QNe=dw(),EG=xw(),wNe=Rw(),NNe=Pw(),SNe=Tw(),BG=ut(),xNe=kw(),vNe=Fw(),RNe=qw(),_Ne=zw(),PNe=$w(),DNe=CG();function TNe(t){let e=(0,INe.createEmptyPipeline)();return BG.isNodeLike&&(t.agent&&e.addPolicy((0,RNe.agentPolicy)(t.agent)),t.tlsOptions&&e.addPolicy((0,_Ne.tlsPolicy)(t.tlsOptions)),e.addPolicy((0,xNe.proxyPolicy)(t.proxyOptions)),e.addPolicy((0,wNe.decompressResponsePolicy)())),e.addPolicy((0,DNe.wrapAbortSignalLikePolicy)()),e.addPolicy((0,SNe.formDataPolicy)(),{beforePolicies:[EG.multipartPolicyName]}),e.addPolicy((0,QNe.userAgentPolicy)(t.userAgentOptions)),e.addPolicy((0,vNe.setClientRequestIdPolicy)(t.telemetryOptions?.clientRequestIdHeaderName)),e.addPolicy((0,EG.multipartPolicy)(),{afterPhase:"Deserialize"}),e.addPolicy((0,NNe.defaultRetryPolicy)(t.retryOptions),{phase:"Retry"}),e.addPolicy((0,PNe.tracingPolicy)({...t.userAgentOptions,...t.loggingOptions}),{afterPhase:"Retry"}),BG.isNodeLike&&e.addPolicy((0,bNe.redirectPolicy)(t.redirectOptions),{afterPhase:"Retry"}),e.addPolicy((0,BNe.logPolicy)(t.loggingOptions),{afterPhase:"Sign"}),e}o(TNe,"createPipelineFromOptions")});var SG=h((NYe,NG)=>{var rN=Object.defineProperty,ONe=Object.getOwnPropertyDescriptor,MNe=Object.getOwnPropertyNames,kNe=Object.prototype.hasOwnProperty,LNe=o((t,e)=>{for(var r in e)rN(t,r,{get:e[r],enumerable:!0})},"__export"),FNe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of MNe(e))!kNe.call(t,i)&&i!==r&&rN(t,i,{get:()=>e[i],enumerable:!(n=ONe(e,i))||n.enumerable});return t},"__copyProps"),UNe=o(t=>FNe(rN({},"__esModule",{value:!0}),t),"__toCommonJS"),wG={};LNe(wG,{createDefaultHttpClient:()=>zNe});NG.exports=UNe(wG);var qNe=bc(),HNe=Zw();function zNe(){let t=(0,qNe.createDefaultHttpClient)();return{async sendRequest(e){let{abortSignal:r,cleanup:n}=e.abortSignal?(0,HNe.wrapAbortSignalLike)(e.abortSignal):{};try{return e.abortSignal=r,await t.sendRequest(e)}finally{n?.()}}}}o(zNe,"createDefaultHttpClient")});var RG=h((xYe,vG)=>{var nN=Object.defineProperty,jNe=Object.getOwnPropertyDescriptor,GNe=Object.getOwnPropertyNames,YNe=Object.prototype.hasOwnProperty,JNe=o((t,e)=>{for(var r in e)nN(t,r,{get:e[r],enumerable:!0})},"__export"),VNe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of GNe(e))!YNe.call(t,i)&&i!==r&&nN(t,i,{get:()=>e[i],enumerable:!(n=jNe(e,i))||n.enumerable});return t},"__copyProps"),WNe=o(t=>VNe(nN({},"__esModule",{value:!0}),t),"__toCommonJS"),xG={};JNe(xG,{createHttpHeaders:()=>$Ne});vG.exports=WNe(xG);var KNe=bc();function $Ne(t){return(0,KNe.createHttpHeaders)(t)}o($Ne,"createHttpHeaders")});var DG=h((RYe,PG)=>{var iN=Object.defineProperty,XNe=Object.getOwnPropertyDescriptor,ZNe=Object.getOwnPropertyNames,e0e=Object.prototype.hasOwnProperty,t0e=o((t,e)=>{for(var r in e)iN(t,r,{get:e[r],enumerable:!0})},"__export"),r0e=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of ZNe(e))!e0e.call(t,i)&&i!==r&&iN(t,i,{get:()=>e[i],enumerable:!(n=XNe(e,i))||n.enumerable});return t},"__copyProps"),n0e=o(t=>r0e(iN({},"__esModule",{value:!0}),t),"__toCommonJS"),_G={};t0e(_G,{createPipelineRequest:()=>s0e});PG.exports=n0e(_G);var i0e=bc();function s0e(t){return(0,i0e.createPipelineRequest)(t)}o(s0e,"createPipelineRequest")});var kG=h((PYe,MG)=>{var sN=Object.defineProperty,o0e=Object.getOwnPropertyDescriptor,a0e=Object.getOwnPropertyNames,c0e=Object.prototype.hasOwnProperty,l0e=o((t,e)=>{for(var r in e)sN(t,r,{get:e[r],enumerable:!0})},"__export"),A0e=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of a0e(e))!c0e.call(t,i)&&i!==r&&sN(t,i,{get:()=>e[i],enumerable:!(n=o0e(e,i))||n.enumerable});return t},"__copyProps"),u0e=o(t=>A0e(sN({},"__esModule",{value:!0}),t),"__toCommonJS"),TG={};l0e(TG,{exponentialRetryPolicy:()=>p0e,exponentialRetryPolicyName:()=>d0e});MG.exports=u0e(TG);var OG=Sr(),d0e=OG.exponentialRetryPolicyName;function p0e(t={}){return(0,OG.exponentialRetryPolicy)(t)}o(p0e,"exponentialRetryPolicy")});var qG=h((TYe,UG)=>{var oN=Object.defineProperty,m0e=Object.getOwnPropertyDescriptor,g0e=Object.getOwnPropertyNames,f0e=Object.prototype.hasOwnProperty,h0e=o((t,e)=>{for(var r in e)oN(t,r,{get:e[r],enumerable:!0})},"__export"),y0e=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of g0e(e))!f0e.call(t,i)&&i!==r&&oN(t,i,{get:()=>e[i],enumerable:!(n=m0e(e,i))||n.enumerable});return t},"__copyProps"),C0e=o(t=>y0e(oN({},"__esModule",{value:!0}),t),"__toCommonJS"),LG={};h0e(LG,{systemErrorRetryPolicy:()=>B0e,systemErrorRetryPolicyName:()=>E0e});UG.exports=C0e(LG);var FG=Sr(),E0e=FG.systemErrorRetryPolicyName;function B0e(t={}){return(0,FG.systemErrorRetryPolicy)(t)}o(B0e,"systemErrorRetryPolicy")});var GG=h((MYe,jG)=>{var aN=Object.defineProperty,I0e=Object.getOwnPropertyDescriptor,b0e=Object.getOwnPropertyNames,Q0e=Object.prototype.hasOwnProperty,w0e=o((t,e)=>{for(var r in e)aN(t,r,{get:e[r],enumerable:!0})},"__export"),N0e=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of b0e(e))!Q0e.call(t,i)&&i!==r&&aN(t,i,{get:()=>e[i],enumerable:!(n=I0e(e,i))||n.enumerable});return t},"__copyProps"),S0e=o(t=>N0e(aN({},"__esModule",{value:!0}),t),"__toCommonJS"),HG={};w0e(HG,{throttlingRetryPolicy:()=>v0e,throttlingRetryPolicyName:()=>x0e});jG.exports=S0e(HG);var zG=Sr(),x0e=zG.throttlingRetryPolicyName;function v0e(t={}){return(0,zG.throttlingRetryPolicy)(t)}o(v0e,"throttlingRetryPolicy")});var VG=h((LYe,JG)=>{var cN=Object.defineProperty,R0e=Object.getOwnPropertyDescriptor,_0e=Object.getOwnPropertyNames,P0e=Object.prototype.hasOwnProperty,D0e=o((t,e)=>{for(var r in e)cN(t,r,{get:e[r],enumerable:!0})},"__export"),T0e=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of _0e(e))!P0e.call(t,i)&&i!==r&&cN(t,i,{get:()=>e[i],enumerable:!(n=R0e(e,i))||n.enumerable});return t},"__copyProps"),O0e=o(t=>T0e(cN({},"__esModule",{value:!0}),t),"__toCommonJS"),YG={};D0e(YG,{retryPolicy:()=>U0e});JG.exports=O0e(YG);var M0e=Qc(),k0e=Zm(),L0e=Sr(),F0e=(0,M0e.createClientLogger)("core-rest-pipeline retryPolicy");function U0e(t,e={maxRetries:k0e.DEFAULT_RETRY_POLICY_COUNT}){return(0,L0e.retryPolicy)(t,{logger:F0e,...e})}o(U0e,"retryPolicy")});var AN=h((UYe,$G)=>{var lN=Object.defineProperty,q0e=Object.getOwnPropertyDescriptor,H0e=Object.getOwnPropertyNames,z0e=Object.prototype.hasOwnProperty,j0e=o((t,e)=>{for(var r in e)lN(t,r,{get:e[r],enumerable:!0})},"__export"),G0e=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of H0e(e))!z0e.call(t,i)&&i!==r&&lN(t,i,{get:()=>e[i],enumerable:!(n=q0e(e,i))||n.enumerable});return t},"__copyProps"),Y0e=o(t=>G0e(lN({},"__esModule",{value:!0}),t),"__toCommonJS"),WG={};j0e(WG,{DEFAULT_CYCLER_OPTIONS:()=>KG,createTokenCycler:()=>W0e});$G.exports=Y0e(WG);var J0e=ut(),KG={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:1e3*60*2};async function V0e(t,e,r){async function n(){if(Date.now()t.getToken(l,A),"tryGetAccessToken"),s.retryIntervalInMs,n?.expiresOnTimestamp??Date.now()).then(d=>(r=null,n=d,i=A.tenantId,n)).catch(d=>{throw r=null,n=null,i=void 0,d})),r}return o(c,"refresh"),async(l,A)=>{let u=!!A.claims,d=i!==A.tenantId;return u&&(n=null),d||u||a.mustRefresh?c(l,A):(a.shouldRefresh&&c(l,A),n)}}o(W0e,"createTokenCycler")});var sY=h((HYe,iY)=>{var uN=Object.defineProperty,K0e=Object.getOwnPropertyDescriptor,$0e=Object.getOwnPropertyNames,X0e=Object.prototype.hasOwnProperty,Z0e=o((t,e)=>{for(var r in e)uN(t,r,{get:e[r],enumerable:!0})},"__export"),eSe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of $0e(e))!X0e.call(t,i)&&i!==r&&uN(t,i,{get:()=>e[i],enumerable:!(n=K0e(e,i))||n.enumerable});return t},"__copyProps"),tSe=o(t=>eSe(uN({},"__esModule",{value:!0}),t),"__toCommonJS"),tY={};Z0e(tY,{bearerTokenAuthenticationPolicy:()=>oSe,bearerTokenAuthenticationPolicyName:()=>rY,parseChallenges:()=>nY});iY.exports=tSe(tY);var rSe=AN(),nSe=eu(),iSe=ug(),rY="bearerTokenAuthenticationPolicy";async function pg(t,e){try{return[await e(t),void 0]}catch(r){if((0,iSe.isRestError)(r)&&r.response)return[r.response,r];throw r}}o(pg,"trySendRequest");async function sSe(t){let{scopes:e,getAccessToken:r,request:n}=t,i={abortSignal:n.abortSignal,tracingOptions:n.tracingOptions,enableCae:!0},s=await r(e,i);s&&t.request.headers.set("Authorization",`Bearer ${s.token}`)}o(sSe,"defaultAuthorizeRequest");function XG(t){return t.status===401&&t.headers.has("WWW-Authenticate")}o(XG,"isChallengeResponse");async function ZG(t,e){let{scopes:r}=t,n=await t.getAccessToken(r,{enableCae:!0,claims:e});return n?(t.request.headers.set("Authorization",`${n.tokenType??"Bearer"} ${n.token}`),!0):!1}o(ZG,"authorizeRequestOnCaeChallenge");function oSe(t){let{credential:e,scopes:r,challengeCallbacks:n}=t,i=t.logger||nSe.logger,s={authorizeRequest:n?.authorizeRequest?.bind(n)??sSe,authorizeRequestOnChallenge:n?.authorizeRequestOnChallenge?.bind(n)},a=e?(0,rSe.createTokenCycler)(e):()=>Promise.resolve(null);return{name:rY,async sendRequest(c,l){if(!c.url.toLowerCase().startsWith("https://"))throw new Error("Bearer token authentication is not permitted for non-TLS protected (non-https) URLs.");await s.authorizeRequest({scopes:Array.isArray(r)?r:[r],request:c,getAccessToken:a,logger:i});let A,u,d;if([A,u]=await pg(c,l),XG(A)){let g=eY(A.headers.get("WWW-Authenticate"));if(g){let f;try{f=atob(g)}catch{return i.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${g}`),A}d=await ZG({scopes:Array.isArray(r)?r:[r],response:A,request:c,getAccessToken:a,logger:i},f),d&&([A,u]=await pg(c,l))}else if(s.authorizeRequestOnChallenge&&(d=await s.authorizeRequestOnChallenge({scopes:Array.isArray(r)?r:[r],request:c,response:A,getAccessToken:a,logger:i}),d&&([A,u]=await pg(c,l)),XG(A)&&(g=eY(A.headers.get("WWW-Authenticate")),g))){let f;try{f=atob(g)}catch{return i.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${g}`),A}d=await ZG({scopes:Array.isArray(r)?r:[r],response:A,request:c,getAccessToken:a,logger:i},f),d&&([A,u]=await pg(c,l))}}if(u)throw u;return A}}}o(oSe,"bearerTokenAuthenticationPolicy");function nY(t){let e=/(\w+)\s+((?:\w+=(?:"[^"]*"|[^,]*),?\s*)+)/g,r=/(\w+)="([^"]*)"/g,n=[],i;for(;(i=e.exec(t))!==null;){let s=i[1],a=i[2],c={},l;for(;(l=r.exec(a))!==null;)c[l[1]]=l[2];n.push({scheme:s,params:c})}return n}o(nY,"parseChallenges");function eY(t){return t?nY(t).find(r=>r.scheme==="Bearer"&&r.params.claims&&r.params.error==="insufficient_claims")?.params.claims:void 0}o(eY,"getCaeChallengeClaims")});var lY=h((jYe,cY)=>{var dN=Object.defineProperty,aSe=Object.getOwnPropertyDescriptor,cSe=Object.getOwnPropertyNames,lSe=Object.prototype.hasOwnProperty,ASe=o((t,e)=>{for(var r in e)dN(t,r,{get:e[r],enumerable:!0})},"__export"),uSe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of cSe(e))!lSe.call(t,i)&&i!==r&&dN(t,i,{get:()=>e[i],enumerable:!(n=aSe(e,i))||n.enumerable});return t},"__copyProps"),dSe=o(t=>uSe(dN({},"__esModule",{value:!0}),t),"__toCommonJS"),oY={};ASe(oY,{ndJsonPolicy:()=>pSe,ndJsonPolicyName:()=>aY});cY.exports=dSe(oY);var aY="ndJsonPolicy";function pSe(){return{name:aY,async sendRequest(t,e){if(typeof t.body=="string"&&t.body.startsWith("[")){let r=JSON.parse(t.body);Array.isArray(r)&&(t.body=r.map(n=>JSON.stringify(n)+` -`).join(""))}return e(t)}}}o(pSe,"ndJsonPolicy")});var pY=h((YYe,dY)=>{var mN=Object.defineProperty,mSe=Object.getOwnPropertyDescriptor,gSe=Object.getOwnPropertyNames,fSe=Object.prototype.hasOwnProperty,hSe=o((t,e)=>{for(var r in e)mN(t,r,{get:e[r],enumerable:!0})},"__export"),ySe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of gSe(e))!fSe.call(t,i)&&i!==r&&mN(t,i,{get:()=>e[i],enumerable:!(n=mSe(e,i))||n.enumerable});return t},"__copyProps"),CSe=o(t=>ySe(mN({},"__esModule",{value:!0}),t),"__toCommonJS"),uY={};hSe(uY,{auxiliaryAuthenticationHeaderPolicy:()=>bSe,auxiliaryAuthenticationHeaderPolicyName:()=>pN});dY.exports=CSe(uY);var ESe=AN(),BSe=eu(),pN="auxiliaryAuthenticationHeaderPolicy",AY="x-ms-authorization-auxiliary";async function ISe(t){let{scopes:e,getAccessToken:r,request:n}=t,i={abortSignal:n.abortSignal,tracingOptions:n.tracingOptions};return(await r(e,i))?.token??""}o(ISe,"sendAuthorizeRequest");function bSe(t){let{credentials:e,scopes:r}=t,n=t.logger||BSe.logger,i=new WeakMap;return{name:pN,async sendRequest(s,a){if(!s.url.toLowerCase().startsWith("https://"))throw new Error("Bearer token authentication for auxiliary header is not permitted for non-TLS protected (non-https) URLs.");if(!e||e.length===0)return n.info(`${pN} header will not be set due to empty credentials.`),a(s);let c=[];for(let A of e){let u=i.get(A);u||(u=(0,ESe.createTokenCycler)(A),i.set(A,u)),c.push(ISe({scopes:Array.isArray(r)?r:[r],request:s,getAccessToken:u,logger:n}))}let l=(await Promise.all(c)).filter(A=>!!A);return l.length===0?(n.warning(`None of the auxiliary tokens are valid. ${AY} header will not be set.`),a(s)):(s.headers.set(AY,l.map(A=>`Bearer ${A}`).join(", ")),a(s))}}}o(bSe,"auxiliaryAuthenticationHeaderPolicy")});var Pt=h((VYe,DY)=>{var fN=Object.defineProperty,QSe=Object.getOwnPropertyDescriptor,wSe=Object.getOwnPropertyNames,NSe=Object.prototype.hasOwnProperty,SSe=o((t,e)=>{for(var r in e)fN(t,r,{get:e[r],enumerable:!0})},"__export"),xSe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of wSe(e))!NSe.call(t,i)&&i!==r&&fN(t,i,{get:()=>e[i],enumerable:!(n=QSe(e,i))||n.enumerable});return t},"__copyProps"),vSe=o(t=>xSe(fN({},"__esModule",{value:!0}),t),"__toCommonJS"),PY={};SSe(PY,{RestError:()=>mY.RestError,agentPolicy:()=>RY.agentPolicy,agentPolicyName:()=>RY.agentPolicyName,auxiliaryAuthenticationHeaderPolicy:()=>vY.auxiliaryAuthenticationHeaderPolicy,auxiliaryAuthenticationHeaderPolicyName:()=>vY.auxiliaryAuthenticationHeaderPolicyName,bearerTokenAuthenticationPolicy:()=>SY.bearerTokenAuthenticationPolicy,bearerTokenAuthenticationPolicyName:()=>SY.bearerTokenAuthenticationPolicyName,createDefaultHttpClient:()=>PSe.createDefaultHttpClient,createEmptyPipeline:()=>RSe.createEmptyPipeline,createFile:()=>_Y.createFile,createFileFromStream:()=>_Y.createFileFromStream,createHttpHeaders:()=>DSe.createHttpHeaders,createPipelineFromOptions:()=>_Se.createPipelineFromOptions,createPipelineRequest:()=>TSe.createPipelineRequest,decompressResponsePolicy:()=>gY.decompressResponsePolicy,decompressResponsePolicyName:()=>gY.decompressResponsePolicyName,defaultRetryPolicy:()=>MSe.defaultRetryPolicy,exponentialRetryPolicy:()=>fY.exponentialRetryPolicy,exponentialRetryPolicyName:()=>fY.exponentialRetryPolicyName,formDataPolicy:()=>NY.formDataPolicy,formDataPolicyName:()=>NY.formDataPolicyName,getDefaultProxySettings:()=>gN.getDefaultProxySettings,isRestError:()=>mY.isRestError,logPolicy:()=>yY.logPolicy,logPolicyName:()=>yY.logPolicyName,multipartPolicy:()=>CY.multipartPolicy,multipartPolicyName:()=>CY.multipartPolicyName,ndJsonPolicy:()=>xY.ndJsonPolicy,ndJsonPolicyName:()=>xY.ndJsonPolicyName,proxyPolicy:()=>gN.proxyPolicy,proxyPolicyName:()=>gN.proxyPolicyName,redirectPolicy:()=>EY.redirectPolicy,redirectPolicyName:()=>EY.redirectPolicyName,retryPolicy:()=>OSe.retryPolicy,setClientRequestIdPolicy:()=>hY.setClientRequestIdPolicy,setClientRequestIdPolicyName:()=>hY.setClientRequestIdPolicyName,systemErrorRetryPolicy:()=>BY.systemErrorRetryPolicy,systemErrorRetryPolicyName:()=>BY.systemErrorRetryPolicyName,throttlingRetryPolicy:()=>IY.throttlingRetryPolicy,throttlingRetryPolicyName:()=>IY.throttlingRetryPolicyName,tlsPolicy:()=>wY.tlsPolicy,tlsPolicyName:()=>wY.tlsPolicyName,tracingPolicy:()=>bY.tracingPolicy,tracingPolicyName:()=>bY.tracingPolicyName,userAgentPolicy:()=>QY.userAgentPolicy,userAgentPolicyName:()=>QY.userAgentPolicyName});DY.exports=vSe(PY);var RSe=VQ(),_Se=QG(),PSe=SG(),DSe=RG(),TSe=DG(),mY=ug(),gY=Rw(),fY=kG(),hY=Fw(),yY=nw(),CY=xw(),gN=kw(),EY=sw(),BY=qG(),IY=GG(),OSe=VG(),bY=$w(),MSe=Pw(),QY=dw(),wY=zw(),NY=Tw(),SY=sY(),xY=lY(),vY=pY(),RY=qw(),_Y=Nw()});var TY=h(mg=>{"use strict";Object.defineProperty(mg,"__esModule",{value:!0});mg.AzureKeyCredential=void 0;var hN=class{static{o(this,"AzureKeyCredential")}_key;get key(){return this._key}constructor(e){if(!e)throw new Error("key must be a non-empty string");this._key=e}update(e){this._key=e}};mg.AzureKeyCredential=hN});var OY=h(yN=>{"use strict";Object.defineProperty(yN,"__esModule",{value:!0});yN.isKeyCredential=LSe;var kSe=ut();function LSe(t){return(0,kSe.isObjectWithProperties)(t,["key"])&&typeof t.key=="string"}o(LSe,"isKeyCredential")});var MY=h(iu=>{"use strict";Object.defineProperty(iu,"__esModule",{value:!0});iu.AzureNamedKeyCredential=void 0;iu.isNamedKeyCredential=USe;var FSe=ut(),CN=class{static{o(this,"AzureNamedKeyCredential")}_key;_name;get key(){return this._key}get name(){return this._name}constructor(e,r){if(!e||!r)throw new TypeError("name and key must be non-empty strings");this._name=e,this._key=r}update(e,r){if(!e||!r)throw new TypeError("newName and newKey must be non-empty strings");this._name=e,this._key=r}};iu.AzureNamedKeyCredential=CN;function USe(t){return(0,FSe.isObjectWithProperties)(t,["name","key"])&&typeof t.key=="string"&&typeof t.name=="string"}o(USe,"isNamedKeyCredential")});var kY=h(su=>{"use strict";Object.defineProperty(su,"__esModule",{value:!0});su.AzureSASCredential=void 0;su.isSASCredential=HSe;var qSe=ut(),EN=class{static{o(this,"AzureSASCredential")}_signature;get signature(){return this._signature}constructor(e){if(!e)throw new Error("shared access signature must be a non-empty string");this._signature=e}update(e){if(!e)throw new Error("shared access signature must be a non-empty string");this._signature=e}};su.AzureSASCredential=EN;function HSe(t){return(0,qSe.isObjectWithProperties)(t,["signature"])&&typeof t.signature=="string"}o(HSe,"isSASCredential")});var LY=h(ou=>{"use strict";Object.defineProperty(ou,"__esModule",{value:!0});ou.isBearerToken=zSe;ou.isPopToken=jSe;ou.isTokenCredential=GSe;function zSe(t){return!t.tokenType||t.tokenType==="Bearer"}o(zSe,"isBearerToken");function jSe(t){return t.tokenType==="pop"}o(jSe,"isPopToken");function GSe(t){let e=t;return e&&typeof e.getToken=="function"&&(e.signRequest===void 0||e.getToken.length>0)}o(GSe,"isTokenCredential")});var xc=h(rr=>{"use strict";Object.defineProperty(rr,"__esModule",{value:!0});rr.isTokenCredential=rr.isSASCredential=rr.AzureSASCredential=rr.isNamedKeyCredential=rr.AzureNamedKeyCredential=rr.isKeyCredential=rr.AzureKeyCredential=void 0;var YSe=TY();Object.defineProperty(rr,"AzureKeyCredential",{enumerable:!0,get:function(){return YSe.AzureKeyCredential}});var JSe=OY();Object.defineProperty(rr,"isKeyCredential",{enumerable:!0,get:function(){return JSe.isKeyCredential}});var FY=MY();Object.defineProperty(rr,"AzureNamedKeyCredential",{enumerable:!0,get:function(){return FY.AzureNamedKeyCredential}});Object.defineProperty(rr,"isNamedKeyCredential",{enumerable:!0,get:function(){return FY.isNamedKeyCredential}});var UY=kY();Object.defineProperty(rr,"AzureSASCredential",{enumerable:!0,get:function(){return UY.AzureSASCredential}});Object.defineProperty(rr,"isSASCredential",{enumerable:!0,get:function(){return UY.isSASCredential}});var VSe=LY();Object.defineProperty(rr,"isTokenCredential",{enumerable:!0,get:function(){return VSe.isTokenCredential}})});var BN=h(Ds=>{"use strict";Object.defineProperty(Ds,"__esModule",{value:!0});Ds.disableKeepAlivePolicyName=void 0;Ds.createDisableKeepAlivePolicy=WSe;Ds.pipelineContainsDisableKeepAlivePolicy=KSe;Ds.disableKeepAlivePolicyName="DisableKeepAlivePolicy";function WSe(){return{name:Ds.disableKeepAlivePolicyName,async sendRequest(t,e){return t.disableKeepAlive=!0,e(t)}}}o(WSe,"createDisableKeepAlivePolicy");function KSe(t){return t.getOrderedPolicies().some(e=>e.name===Ds.disableKeepAlivePolicyName)}o(KSe,"pipelineContainsDisableKeepAlivePolicy")});var mJ={};Ku(mJ,{__addDisposableResource:()=>uJ,__assign:()=>gg,__asyncDelegator:()=>nJ,__asyncGenerator:()=>rJ,__asyncValues:()=>iJ,__await:()=>vc,__awaiter:()=>KY,__classPrivateFieldGet:()=>cJ,__classPrivateFieldIn:()=>AJ,__classPrivateFieldSet:()=>lJ,__createBinding:()=>hg,__decorate:()=>zY,__disposeResources:()=>dJ,__esDecorate:()=>GY,__exportStar:()=>XY,__extends:()=>qY,__generator:()=>$Y,__importDefault:()=>aJ,__importStar:()=>oJ,__makeTemplateObject:()=>sJ,__metadata:()=>WY,__param:()=>jY,__propKey:()=>JY,__read:()=>QN,__rest:()=>HY,__rewriteRelativeImportExtension:()=>pJ,__runInitializers:()=>YY,__setFunctionName:()=>VY,__spread:()=>ZY,__spreadArray:()=>tJ,__spreadArrays:()=>eJ,__values:()=>fg,default:()=>ZSe});function qY(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");IN(t,e);function r(){this.constructor=t}o(r,"__"),t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}function HY(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(t);i=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s}function jY(t,e){return function(r,n){e(r,n,t)}}function GY(t,e,r,n,i,s){function a(w){if(w!==void 0&&typeof w!="function")throw new TypeError("Function expected");return w}o(a,"accept");for(var c=n.kind,l=c==="getter"?"get":c==="setter"?"set":"value",A=!e&&t?n.static?t:t.prototype:null,u=e||(A?Object.getOwnPropertyDescriptor(A,n.name):{}),d,g=!1,f=r.length-1;f>=0;f--){var C={};for(var Q in n)C[Q]=Q==="access"?{}:n[Q];for(var Q in n.access)C.access[Q]=n.access[Q];C.addInitializer=function(w){if(g)throw new TypeError("Cannot add initializers after decoration has completed");s.push(a(w||null))};var x=(0,r[f])(c==="accessor"?{get:u.get,set:u.set}:u[l],C);if(c==="accessor"){if(x===void 0)continue;if(x===null||typeof x!="object")throw new TypeError("Object expected");(d=a(x.get))&&(u.get=d),(d=a(x.set))&&(u.set=d),(d=a(x.init))&&i.unshift(d)}else(d=a(x))&&(c==="field"?i.unshift(d):u[l]=d)}A&&Object.defineProperty(A,n.name,u),g=!0}function YY(t,e,r){for(var n=arguments.length>2,i=0;i0&&s[s.length-1])&&(A[0]===6||A[0]===2)){r=0;continue}if(A[0]===3&&(!s||A[1]>s[0]&&A[1]=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function QN(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,s=[],a;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)s.push(i.value)}catch(c){a={error:c}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(a)throw a.error}}return s}function ZY(){for(var t=[],e=0;e1||l(f,Q)})},C&&(i[f]=C(i[f])))}function l(f,C){try{A(n[f](C))}catch(Q){g(s[0][3],Q)}}function A(f){f.value instanceof vc?Promise.resolve(f.value.v).then(u,d):g(s[0][2],f)}function u(f){l("next",f)}function d(f){l("throw",f)}function g(f,C){f(C),s.shift(),s.length&&l(s[0][0],s[0][1])}}function nJ(t){var e,r;return e={},n("next"),n("throw",function(i){throw i}),n("return"),e[Symbol.iterator]=function(){return this},e;function n(i,s){e[i]=t[i]?function(a){return(r=!r)?{value:vc(t[i](a)),done:!1}:s?s(a):a}:s}}function iJ(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof fg=="function"?fg(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(s){r[s]=t[s]&&function(a){return new Promise(function(c,l){a=t[s](a),i(c,l,a.done,a.value)})}}function i(s,a,c,l){Promise.resolve(l).then(function(A){s({value:A,done:c})},a)}}function sJ(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function oJ(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r=bN(t),n=0;n{IN=o(function(t,e){return IN=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},IN(t,e)},"extendStatics");o(qY,"__extends");gg=o(function(){return gg=Object.assign||o(function(e){for(var r,n=1,i=arguments.length;n{"use strict";Object.defineProperty(Rc,"__esModule",{value:!0});Rc.encodeString=exe;Rc.encodeByteArray=txe;Rc.decodeString=rxe;Rc.decodeStringToString=nxe;function exe(t){return Buffer.from(t).toString("base64")}o(exe,"encodeString");function txe(t){return(t instanceof Buffer?t:Buffer.from(t.buffer)).toString("base64")}o(txe,"encodeByteArray");function rxe(t){return Buffer.from(t,"base64")}o(rxe,"decodeString");function nxe(t){return Buffer.from(t,"base64").toString()}o(nxe,"decodeStringToString")});var au=h(_c=>{"use strict";Object.defineProperty(_c,"__esModule",{value:!0});_c.XML_CHARKEY=_c.XML_ATTRKEY=void 0;_c.XML_ATTRKEY="$";_c.XML_CHARKEY="_"});var NN=h(Pc=>{"use strict";Object.defineProperty(Pc,"__esModule",{value:!0});Pc.isPrimitiveBody=fJ;Pc.isDuration=sxe;Pc.isValidUuid=axe;Pc.flattenResponse=lxe;function fJ(t,e){return e!=="Composite"&&e!=="Dictionary"&&(typeof t=="string"||typeof t=="number"||typeof t=="boolean"||e?.match(/^(Date|DateTime|DateTimeRfc1123|UnixTime|ByteArray|Base64Url)$/i)!==null||t===void 0||t===null)}o(fJ,"isPrimitiveBody");var ixe=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function sxe(t){return ixe.test(t)}o(sxe,"isDuration");var oxe=/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/i;function axe(t){return oxe.test(t)}o(axe,"isValidUuid");function cxe(t){let e={...t.headers,...t.body};return t.hasNullableType&&Object.getOwnPropertyNames(e).length===0?t.shouldWrapBody?{body:null}:null:t.shouldWrapBody?{...t.headers,body:t.body}:e}o(cxe,"handleNullableResponseAndWrappableBody");function lxe(t,e){let r=t.parsedHeaders;if(t.request.method==="HEAD")return{...r,body:t.parsedBody};let n=e&&e.bodyMapper,i=!!n?.nullable,s=n?.type.name;if(s==="Stream")return{...r,blobBody:t.blobBody,readableStreamBody:t.readableStreamBody};let a=s==="Composite"&&n.type.modelProperties||{},c=Object.keys(a).some(l=>a[l].serializedName==="");if(s==="Sequence"||c){let l=t.parsedBody??[];for(let A of Object.keys(a))a[A].serializedName&&(l[A]=t.parsedBody?.[A]);if(r)for(let A of Object.keys(r))l[A]=r[A];return i&&!t.parsedBody&&!r&&Object.getOwnPropertyNames(a).length===0?null:l}return cxe({body:t.parsedBody,headers:r,hasNullableType:i,shouldWrapBody:fJ(t.parsedBody,s)})}o(lxe,"flattenResponse")});var lu=h(cu=>{"use strict";Object.defineProperty(cu,"__esModule",{value:!0});cu.MapperTypeNames=void 0;cu.createSerializer=uxe;var Axe=(gJ(),Wt(mJ)),Cg=Axe.__importStar(wN()),qt=au(),yJ=NN(),SN=class{static{o(this,"SerializerImpl")}modelMappers;isXML;constructor(e={},r=!1){this.modelMappers=e,this.isXML=r}validateConstraints(e,r,n){let i=o((s,a)=>{throw new Error(`"${n}" with value "${r}" should satisfy the constraint "${s}": ${a}.`)},"failValidation");if(e.constraints&&r!==void 0&&r!==null){let{ExclusiveMaximum:s,ExclusiveMinimum:a,InclusiveMaximum:c,InclusiveMinimum:l,MaxItems:A,MaxLength:u,MinItems:d,MinLength:g,MultipleOf:f,Pattern:C,UniqueItems:Q}=e.constraints;if(s!==void 0&&r>=s&&i("ExclusiveMaximum",s),a!==void 0&&r<=a&&i("ExclusiveMinimum",a),c!==void 0&&r>c&&i("InclusiveMaximum",c),l!==void 0&&rA&&i("MaxItems",A),u!==void 0&&r.length>u&&i("MaxLength",u),d!==void 0&&r.lengthv.indexOf(x)!==w)&&i("UniqueItems",Q)}}serialize(e,r,n,i={xml:{}}){let s={xml:{rootName:i.xml.rootName??"",includeRoot:i.xml.includeRoot??!1,xmlCharKey:i.xml.xmlCharKey??qt.XML_CHARKEY}},a={},c=e.type.name;n||(n=e.serializedName),c.match(/^Sequence$/i)!==null&&(a=[]),e.isConstant&&(r=e.defaultValue);let{required:l,nullable:A}=e;if(l&&A&&r===void 0)throw new Error(`${n} cannot be undefined.`);if(l&&!A&&r==null)throw new Error(`${n} cannot be null or undefined.`);if(!l&&A===!1&&r===null)throw new Error(`${n} cannot be null.`);return r==null||c.match(/^any$/i)!==null?a=r:c.match(/^(Number|String|Boolean|Object|Stream|Uuid)$/i)!==null?a=hxe(c,n,r):c.match(/^Enum$/i)!==null?a=yxe(n,e.type.allowedValues,r):c.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)!==null?a=Bxe(c,r,n):c.match(/^ByteArray$/i)!==null?a=Cxe(n,r):c.match(/^Base64Url$/i)!==null?a=Exe(n,r):c.match(/^Sequence$/i)!==null?a=Ixe(this,e,r,n,!!this.isXML,s):c.match(/^Dictionary$/i)!==null?a=bxe(this,e,r,n,!!this.isXML,s):c.match(/^Composite$/i)!==null&&(a=wxe(this,e,r,n,!!this.isXML,s)),a}deserialize(e,r,n,i={xml:{}}){let s={xml:{rootName:i.xml.rootName??"",includeRoot:i.xml.includeRoot??!1,xmlCharKey:i.xml.xmlCharKey??qt.XML_CHARKEY},ignoreUnknownProperties:i.ignoreUnknownProperties??!1};if(r==null)return this.isXML&&e.type.name==="Sequence"&&!e.xmlIsWrapped&&(r=[]),e.defaultValue!==void 0&&(r=e.defaultValue),r;let a,c=e.type.name;if(n||(n=e.serializedName),c.match(/^Composite$/i)!==null)a=Sxe(this,e,r,n,s);else{if(this.isXML){let l=s.xml.xmlCharKey;r[qt.XML_ATTRKEY]!==void 0&&r[l]!==void 0&&(r=r[l])}c.match(/^Number$/i)!==null?(a=parseFloat(r),isNaN(a)&&(a=r)):c.match(/^Boolean$/i)!==null?r==="true"?a=!0:r==="false"?a=!1:a=r:c.match(/^(String|Enum|Object|Stream|Uuid|TimeSpan|any)$/i)!==null?a=r:c.match(/^(Date|DateTime|DateTimeRfc1123)$/i)!==null?a=new Date(r):c.match(/^UnixTime$/i)!==null?a=fxe(r):c.match(/^ByteArray$/i)!==null?a=Cg.decodeString(r):c.match(/^Base64Url$/i)!==null?a=mxe(r):c.match(/^Sequence$/i)!==null?a=vxe(this,e,r,n,s):c.match(/^Dictionary$/i)!==null&&(a=xxe(this,e,r,n,s))}return e.isConstant&&(a=e.defaultValue),a}};function uxe(t={},e=!1){return new SN(t,e)}o(uxe,"createSerializer");function dxe(t,e){let r=t.length;for(;r-1>=0&&t[r-1]===e;)--r;return t.substr(0,r)}o(dxe,"trimEnd");function pxe(t){if(!t)return;if(!(t instanceof Uint8Array))throw new Error("Please provide an input of type Uint8Array for converting to Base64Url.");let e=Cg.encodeByteArray(t);return dxe(e,"=").replace(/\+/g,"-").replace(/\//g,"_")}o(pxe,"bufferToBase64Url");function mxe(t){if(t){if(t&&typeof t.valueOf()!="string")throw new Error("Please provide an input of type string for converting to Uint8Array");return t=t.replace(/-/g,"+").replace(/_/g,"/"),Cg.decodeString(t)}}o(mxe,"base64UrlToByteArray");function xN(t){let e=[],r="";if(t){let n=t.split(".");for(let i of n)i.charAt(i.length-1)==="\\"?r+=i.substr(0,i.length-1)+".":(r+=i,e.push(r),r="")}return e}o(xN,"splitSerializeName");function gxe(t){if(t)return typeof t.valueOf()=="string"&&(t=new Date(t)),Math.floor(t.getTime()/1e3)}o(gxe,"dateToUnixTime");function fxe(t){if(t)return new Date(t*1e3)}o(fxe,"unixTimeToDate");function hxe(t,e,r){if(r!=null){if(t.match(/^Number$/i)!==null){if(typeof r!="number")throw new Error(`${e} with value ${r} must be of type number.`)}else if(t.match(/^String$/i)!==null){if(typeof r.valueOf()!="string")throw new Error(`${e} with value "${r}" must be of type string.`)}else if(t.match(/^Uuid$/i)!==null){if(!(typeof r.valueOf()=="string"&&(0,yJ.isValidUuid)(r)))throw new Error(`${e} with value "${r}" must be of type string and a valid uuid.`)}else if(t.match(/^Boolean$/i)!==null){if(typeof r!="boolean")throw new Error(`${e} with value ${r} must be of type boolean.`)}else if(t.match(/^Stream$/i)!==null){let n=typeof r;if(n!=="string"&&typeof r.pipe!="function"&&typeof r.tee!="function"&&!(r instanceof ArrayBuffer)&&!ArrayBuffer.isView(r)&&!((typeof Blob=="function"||typeof Blob=="object")&&r instanceof Blob)&&n!=="function")throw new Error(`${e} must be a string, Blob, ArrayBuffer, ArrayBufferView, ReadableStream, or () => ReadableStream.`)}}return r}o(hxe,"serializeBasicTypes");function yxe(t,e,r){if(!e)throw new Error(`Please provide a set of allowedValues to validate ${t} as an Enum Type.`);if(!e.some(i=>typeof i.valueOf()=="string"?i.toLowerCase()===r.toLowerCase():i===r))throw new Error(`${r} is not a valid value for ${t}. The valid values are: ${JSON.stringify(e)}.`);return r}o(yxe,"serializeEnumType");function Cxe(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=Cg.encodeByteArray(e)}return e}o(Cxe,"serializeByteArrayType");function Exe(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=pxe(e)}return e}o(Exe,"serializeBase64UrlType");function Bxe(t,e,r){if(e!=null){if(t.match(/^Date$/i)!==null){if(!(e instanceof Date||typeof e.valueOf()=="string"&&!isNaN(Date.parse(e))))throw new Error(`${r} must be an instanceof Date or a string in ISO8601 format.`);e=e instanceof Date?e.toISOString().substring(0,10):new Date(e).toISOString().substring(0,10)}else if(t.match(/^DateTime$/i)!==null){if(!(e instanceof Date||typeof e.valueOf()=="string"&&!isNaN(Date.parse(e))))throw new Error(`${r} must be an instanceof Date or a string in ISO8601 format.`);e=e instanceof Date?e.toISOString():new Date(e).toISOString()}else if(t.match(/^DateTimeRfc1123$/i)!==null){if(!(e instanceof Date||typeof e.valueOf()=="string"&&!isNaN(Date.parse(e))))throw new Error(`${r} must be an instanceof Date or a string in RFC-1123 format.`);e=e instanceof Date?e.toUTCString():new Date(e).toUTCString()}else if(t.match(/^UnixTime$/i)!==null){if(!(e instanceof Date||typeof e.valueOf()=="string"&&!isNaN(Date.parse(e))))throw new Error(`${r} must be an instanceof Date or a string in RFC-1123/ISO8601 format for it to be serialized in UnixTime/Epoch format.`);e=gxe(e)}else if(t.match(/^TimeSpan$/i)!==null&&!(0,yJ.isDuration)(e))throw new Error(`${r} must be a string in ISO 8601 format. Instead was "${e}".`)}return e}o(Bxe,"serializeDateTypes");function Ixe(t,e,r,n,i,s){if(!Array.isArray(r))throw new Error(`${n} must be of type Array.`);let a=e.type.element;if(!a||typeof a!="object")throw new Error(`element" metadata for an Array must be defined in the mapper and it must of type "object" in ${n}.`);a.type.name==="Composite"&&a.type.className&&(a=t.modelMappers[a.type.className]??a);let c=[];for(let l=0;lg!==u)&&(a[u]=t.serialize(l,r[u],n+'["'+u+'"]',s))}return a}return r}o(wxe,"serializeCompositeType");function BJ(t,e,r,n){if(!r||!t.xmlNamespace)return e;let s={[t.xmlNamespacePrefix?`xmlns:${t.xmlNamespacePrefix}`:"xmlns"]:t.xmlNamespace};if(["Composite"].includes(t.type.name)){if(e[qt.XML_ATTRKEY])return e;{let c={...e};return c[qt.XML_ATTRKEY]=s,c}}let a={};return a[n.xml.xmlCharKey]=e,a[qt.XML_ATTRKEY]=s,a}o(BJ,"getXmlObjectValue");function Nxe(t,e){return[qt.XML_ATTRKEY,e.xml.xmlCharKey].includes(t)}o(Nxe,"isSpecialXmlProperty");function Sxe(t,e,r,n,i){let s=i.xml.xmlCharKey??qt.XML_CHARKEY;yg(t,e)&&(e=IJ(t,e,r,"serializedName"));let a=EJ(t,e,n),c={},l=[];for(let u of Object.keys(a)){let d=a[u],g=xN(a[u].serializedName);l.push(g[0]);let{serializedName:f,xmlName:C,xmlElementName:Q}=d,x=n;f!==""&&f!==void 0&&(x=n+"."+f);let w=d.headerCollectionPrefix;if(w){let v={};for(let T of Object.keys(r))T.startsWith(w)&&(v[T.substring(w.length)]=t.deserialize(d.type.value,r[T],x,i)),l.push(T);c[u]=v}else if(t.isXML)if(d.xmlIsAttribute&&r[qt.XML_ATTRKEY])c[u]=t.deserialize(d,r[qt.XML_ATTRKEY][C],x,i);else if(d.xmlIsMsText)r[s]!==void 0?c[u]=r[s]:typeof r=="string"&&(c[u]=r);else{let v=Q||C||f;if(d.xmlIsWrapped){let L=r[C]?.[Q]??[];c[u]=t.deserialize(d,L,x,i),l.push(C)}else{let T=r[v];c[u]=t.deserialize(d,T,x,i),l.push(v)}}else{let v,T=r,L=0;for(let le of g){if(!T)break;L++,T=T[le]}T===null&&L{for(let g in a)if(xN(a[g].serializedName)[0]===d)return!1;return!0},"isAdditionalProperty");for(let d in r)u(d)&&(c[d]=t.deserialize(A,r[d],n+'["'+d+'"]',i))}else if(r&&!i.ignoreUnknownProperties)for(let u of Object.keys(r))c[u]===void 0&&!l.includes(u)&&!Nxe(u,i)&&(c[u]=r[u]);return c}o(Sxe,"deserializeCompositeType");function xxe(t,e,r,n,i){let s=e.type.value;if(!s||typeof s!="object")throw new Error(`"value" metadata for a Dictionary must be defined in the mapper and it must of type "object" in ${n}`);if(r){let a={};for(let c of Object.keys(r))a[c]=t.deserialize(s,r[c],n,i);return a}return r}o(xxe,"deserializeDictionaryType");function vxe(t,e,r,n,i){let s=e.type.element;if(!s||typeof s!="object")throw new Error(`element" metadata for an Array must be defined in the mapper and it must of type "object" in ${n}`);if(r){Array.isArray(r)||(r=[r]),s.type.name==="Composite"&&s.type.className&&(s=t.modelMappers[s.type.className]??s);let a=[];for(let c=0;c{"use strict";Object.defineProperty(Eg,"__esModule",{value:!0});Eg.state=void 0;Eg.state={operationRequestMap:new WeakMap}});var Au=h(Bg=>{"use strict";Object.defineProperty(Bg,"__esModule",{value:!0});Bg.getOperationArgumentValueFromParameter=NJ;Bg.getOperationRequestInfo=xJ;var QJ=bJ();function NJ(t,e,r){let n=e.parameterPath,i=e.mapper,s;if(typeof n=="string"&&(n=[n]),Array.isArray(n)){if(n.length>0)if(i.isConstant)s=i.defaultValue;else{let a=wJ(t,n);!a.propertyFound&&r&&(a=wJ(r,n));let c=!1;a.propertyFound||(c=i.required||n[0]==="options"&&n.length===2),s=c?i.defaultValue:a.propertyValue}}else{i.required&&(s={});for(let a in n){let c=i.type.modelProperties[a],l=n[a],A=NJ(t,{parameterPath:l,mapper:c},r);A!==void 0&&(s||(s={}),s[a]=A)}}return s}o(NJ,"getOperationArgumentValueFromParameter");function wJ(t,e){let r={propertyFound:!1},n=0;for(;n{"use strict";Object.defineProperty(Dc,"__esModule",{value:!0});Dc.deserializationPolicyName=void 0;Dc.deserializationPolicy=Oxe;var Pxe=au(),Ig=Pt(),vJ=lu(),vN=Au(),Dxe=["application/json","text/json"],Txe=["application/xml","application/atom+xml"];Dc.deserializationPolicyName="deserializationPolicy";function Oxe(t={}){let e=t.expectedContentTypes?.json??Dxe,r=t.expectedContentTypes?.xml??Txe,n=t.parseXML,i=t.serializerOptions,s={xml:{rootName:i?.xml.rootName??"",includeRoot:i?.xml.includeRoot??!1,xmlCharKey:i?.xml.xmlCharKey??Pxe.XML_CHARKEY}};return{name:Dc.deserializationPolicyName,async sendRequest(a,c){let l=await c(a);return Lxe(e,r,l,s,n)}}}o(Oxe,"deserializationPolicy");function Mxe(t){let e,r=t.request,n=(0,vN.getOperationRequestInfo)(r),i=n?.operationSpec;return i&&(n?.operationResponseGetter?e=n?.operationResponseGetter(i,t):e=i.responses[t.status]),e}o(Mxe,"getOperationResponseMap");function kxe(t){let e=t.request,n=(0,vN.getOperationRequestInfo)(e)?.shouldDeserialize,i;return n===void 0?i=!0:typeof n=="boolean"?i=n:i=n(t),i}o(kxe,"shouldDeserializeResponse");async function Lxe(t,e,r,n,i){let s=await qxe(t,e,r,n,i);if(!kxe(s))return s;let c=(0,vN.getOperationRequestInfo)(s.request)?.operationSpec;if(!c||!c.responses)return s;let l=Mxe(s),{error:A,shouldReturnResponse:u}=Uxe(s,c,l,n);if(A)throw A;if(u)return s;if(l){if(l.bodyMapper){let d=s.parsedBody;c.isXML&&l.bodyMapper.type.name===vJ.MapperTypeNames.Sequence&&(d=typeof d=="object"?d[l.bodyMapper.xmlElementName]:[]);try{s.parsedBody=c.serializer.deserialize(l.bodyMapper,d,"operationRes.parsedBody",n)}catch(g){throw new Ig.RestError(`Error ${g} occurred in deserializing the responseBody - ${s.bodyAsText}`,{statusCode:s.status,request:s.request,response:s})}}else c.httpMethod==="HEAD"&&(s.parsedBody=r.status>=200&&r.status<300);l.headersMapper&&(s.parsedHeaders=c.serializer.deserialize(l.headersMapper,s.headers.toJSON(),"operationRes.parsedHeaders",{xml:{},ignoreUnknownProperties:!0}))}return s}o(Lxe,"deserializeResponseBody");function Fxe(t){let e=Object.keys(t.responses);return e.length===0||e.length===1&&e[0]==="default"}o(Fxe,"isOperationSpecEmpty");function Uxe(t,e,r,n){let i=200<=t.status&&t.status<300;if(Fxe(e)?i:!!r)if(r){if(!r.isError)return{error:null,shouldReturnResponse:!1}}else return{error:null,shouldReturnResponse:!1};let a=r??e.responses.default,c=t.request.streamResponseStatusCodes?.has(t.status)?`Unexpected status code: ${t.status}`:t.bodyAsText,l=new Ig.RestError(c,{statusCode:t.status,request:t.request,response:t});if(!a&&!(t.parsedBody?.error?.code&&t.parsedBody?.error?.message))throw l;let A=a?.bodyMapper,u=a?.headersMapper;try{if(t.parsedBody){let d=t.parsedBody,g;if(A){let C=d;if(e.isXML&&A.type.name===vJ.MapperTypeNames.Sequence){C=[];let Q=A.xmlElementName;typeof d=="object"&&Q&&(C=d[Q])}g=e.serializer.deserialize(A,C,"error.response.parsedBody",n)}let f=d.error||g||d;l.code=f.code,f.message&&(l.message=f.message),A&&(l.response.parsedBody=g)}t.headers&&u&&(l.response.parsedHeaders=e.serializer.deserialize(u,t.headers.toJSON(),"operationRes.parsedHeaders"))}catch(d){l.message=`Error "${d.message}" occurred in deserializing the responseBody - "${t.bodyAsText}" for the default response.`}return{error:l,shouldReturnResponse:!1}}o(Uxe,"handleErrorResponse");async function qxe(t,e,r,n,i){if(!r.request.streamResponseStatusCodes?.has(r.status)&&r.bodyAsText){let s=r.bodyAsText,a=r.headers.get("Content-Type")||"",c=a?a.split(";").map(l=>l.toLowerCase()):[];try{if(c.length===0||c.some(l=>t.indexOf(l)!==-1))return r.parsedBody=JSON.parse(s),r;if(c.some(l=>e.indexOf(l)!==-1)){if(!i)throw new Error("Parsing XML not supported.");let l=await i(s,n.xml);return r.parsedBody=l,r}}catch(l){let A=`Error "${l}" occurred while parsing the response body - ${r.bodyAsText}.`,u=l.code||Ig.RestError.PARSE_ERROR;throw new Ig.RestError(A,{code:u,statusCode:r.status,request:r.request,response:r})}}return r}o(qxe,"parse")});var Qg=h(bg=>{"use strict";Object.defineProperty(bg,"__esModule",{value:!0});bg.getStreamingResponseStatusCodes=zxe;bg.getPathStringFromParameter=jxe;var Hxe=lu();function zxe(t){let e=new Set;for(let r in t.responses){let n=t.responses[r];n.bodyMapper&&n.bodyMapper.type.name===Hxe.MapperTypeNames.Stream&&e.add(Number(r))}return e}o(zxe,"getStreamingResponseStatusCodes");function jxe(t){let{parameterPath:e,mapper:r}=t,n;return typeof e=="string"?n=e:Array.isArray(e)?n=e.join("."):n=r.serializedName,n}o(jxe,"getPathStringFromParameter")});var DN=h(Ts=>{"use strict";Object.defineProperty(Ts,"__esModule",{value:!0});Ts.serializationPolicyName=void 0;Ts.serializationPolicy=Gxe;Ts.serializeHeaders=RJ;Ts.serializeRequestBody=_J;var PN=au(),wg=Au(),_N=lu(),uu=Qg();Ts.serializationPolicyName="serializationPolicy";function Gxe(t={}){let e=t.stringifyXML;return{name:Ts.serializationPolicyName,async sendRequest(r,n){let i=(0,wg.getOperationRequestInfo)(r),s=i?.operationSpec,a=i?.operationArguments;return s&&a&&(RJ(r,a,s),_J(r,a,s,e)),n(r)}}}o(Gxe,"serializationPolicy");function RJ(t,e,r){if(r.headerParameters)for(let i of r.headerParameters){let s=(0,wg.getOperationArgumentValueFromParameter)(e,i);if(s!=null||i.mapper.required){s=r.serializer.serialize(i.mapper,s,(0,uu.getPathStringFromParameter)(i));let a=i.mapper.headerCollectionPrefix;if(a)for(let c of Object.keys(s))t.headers.set(a+c,s[c]);else t.headers.set(i.mapper.serializedName||(0,uu.getPathStringFromParameter)(i),s)}}let n=e.options?.requestOptions?.customHeaders;if(n)for(let i of Object.keys(n))t.headers.set(i,n[i])}o(RJ,"serializeHeaders");function _J(t,e,r,n=function(){throw new Error("XML serialization unsupported!")}){let i=e.options?.serializerOptions,s={xml:{rootName:i?.xml.rootName??"",includeRoot:i?.xml.includeRoot??!1,xmlCharKey:i?.xml.xmlCharKey??PN.XML_CHARKEY}},a=s.xml.xmlCharKey;if(r.requestBody&&r.requestBody.mapper){t.body=(0,wg.getOperationArgumentValueFromParameter)(e,r.requestBody);let c=r.requestBody.mapper,{required:l,serializedName:A,xmlName:u,xmlElementName:d,xmlNamespace:g,xmlNamespacePrefix:f,nullable:C}=c,Q=c.type.name;try{if(t.body!==void 0&&t.body!==null||C&&t.body===null||l){let x=(0,uu.getPathStringFromParameter)(r.requestBody);t.body=r.serializer.serialize(c,t.body,x,s);let w=Q===_N.MapperTypeNames.Stream;if(r.isXML){let v=f?`xmlns:${f}`:"xmlns",T=Yxe(g,v,Q,t.body,s);Q===_N.MapperTypeNames.Sequence?t.body=n(Jxe(T,d||u||A,v,g),{rootName:u||A,xmlCharKey:a}):w||(t.body=n(T,{rootName:u||A,xmlCharKey:a}))}else{if(Q===_N.MapperTypeNames.String&&(r.contentType?.match("text/plain")||r.mediaType==="text"))return;w||(t.body=JSON.stringify(t.body))}}}catch(x){throw new Error(`Error "${x.message}" occurred in serializing the payload - ${JSON.stringify(A,void 0," ")}.`)}}else if(r.formDataParameters&&r.formDataParameters.length>0){t.formData={};for(let c of r.formDataParameters){let l=(0,wg.getOperationArgumentValueFromParameter)(e,c);if(l!=null){let A=c.mapper.serializedName||(0,uu.getPathStringFromParameter)(c);t.formData[A]=r.serializer.serialize(c.mapper,l,(0,uu.getPathStringFromParameter)(c),s)}}}}o(_J,"serializeRequestBody");function Yxe(t,e,r,n,i){if(t&&!["Composite","Sequence","Dictionary"].includes(r)){let s={};return s[i.xml.xmlCharKey]=n,s[PN.XML_ATTRKEY]={[e]:t},s}return n}o(Yxe,"getXmlValueWithNamespace");function Jxe(t,e,r,n){if(Array.isArray(t)||(t=[t]),!r||!n)return{[e]:t};let i={[e]:t};return i[PN.XML_ATTRKEY]={[r]:n},i}o(Jxe,"prepareXMLRootList")});var ON=h(TN=>{"use strict";Object.defineProperty(TN,"__esModule",{value:!0});TN.createClientPipeline=Kxe;var Vxe=RN(),PJ=Pt(),Wxe=DN();function Kxe(t={}){let e=(0,PJ.createPipelineFromOptions)(t??{});return t.credentialOptions&&e.addPolicy((0,PJ.bearerTokenAuthenticationPolicy)({credential:t.credentialOptions.credential,scopes:t.credentialOptions.credentialScopes})),e.addPolicy((0,Wxe.serializationPolicy)(t.serializationOptions),{phase:"Serialize"}),e.addPolicy((0,Vxe.deserializationPolicy)(t.deserializationOptions),{phase:"Deserialize"}),e}o(Kxe,"createClientPipeline")});var DJ=h(kN=>{"use strict";Object.defineProperty(kN,"__esModule",{value:!0});kN.getCachedDefaultHttpClient=Xxe;var $xe=Pt(),MN;function Xxe(){return MN||(MN=(0,$xe.createDefaultHttpClient)()),MN}o(Xxe,"getCachedDefaultHttpClient")});var kJ=h(Ng=>{"use strict";Object.defineProperty(Ng,"__esModule",{value:!0});Ng.getRequestUrl=eve;Ng.appendQueryParams=MJ;var OJ=Au(),LN=Qg(),Zxe={CSV:",",SSV:" ",Multi:"Multi",TSV:" ",Pipes:"|"};function eve(t,e,r,n){let i=tve(e,r,n),s=!1,a=TJ(t,i);if(e.path){let A=TJ(e.path,i);e.path==="/{nextLink}"&&A.startsWith("/")&&(A=A.substring(1)),rve(A)?(a=A,s=!0):a=nve(a,A)}let{queryParams:c,sequenceParams:l}=ive(e,r,n);return a=MJ(a,c,l,s),a}o(eve,"getRequestUrl");function TJ(t,e){let r=t;for(let[n,i]of e)r=r.split(n).join(i);return r}o(TJ,"replaceAll");function tve(t,e,r){let n=new Map;if(t.urlParameters?.length)for(let i of t.urlParameters){let s=(0,OJ.getOperationArgumentValueFromParameter)(e,i,r),a=(0,LN.getPathStringFromParameter)(i);s=t.serializer.serialize(i.mapper,s,a),i.skipEncoding||(s=encodeURIComponent(s)),n.set(`{${i.mapper.serializedName||a}}`,s)}return n}o(tve,"calculateUrlReplacements");function rve(t){return t.includes("://")}o(rve,"isAbsoluteUrl");function nve(t,e){if(!e)return t;let r=new URL(t),n=r.pathname;n.endsWith("/")||(n=`${n}/`),e.startsWith("/")&&(e=e.substring(1));let i=e.indexOf("?");if(i!==-1){let s=e.substring(0,i),a=e.substring(i+1);n=n+s,a&&(r.search=r.search?`${r.search}&${a}`:a)}else n=n+e;return r.pathname=n,r.toString()}o(nve,"appendPath");function ive(t,e,r){let n=new Map,i=new Set;if(t.queryParameters?.length)for(let s of t.queryParameters){s.mapper.type.name==="Sequence"&&s.mapper.serializedName&&i.add(s.mapper.serializedName);let a=(0,OJ.getOperationArgumentValueFromParameter)(e,s,r);if(a!=null||s.mapper.required){a=t.serializer.serialize(s.mapper,a,(0,LN.getPathStringFromParameter)(s));let c=s.collectionFormat?Zxe[s.collectionFormat]:"";if(Array.isArray(a)&&(a=a.map(l=>l??"")),s.collectionFormat==="Multi"&&a.length===0)continue;Array.isArray(a)&&(s.collectionFormat==="SSV"||s.collectionFormat==="TSV")&&(a=a.join(c)),s.skipEncoding||(Array.isArray(a)?a=a.map(l=>encodeURIComponent(l)):a=encodeURIComponent(a)),Array.isArray(a)&&(s.collectionFormat==="CSV"||s.collectionFormat==="Pipes")&&(a=a.join(c)),n.set(s.mapper.serializedName||(0,LN.getPathStringFromParameter)(s),a)}}return{queryParams:n,sequenceParams:i}}o(ive,"calculateQueryParameters");function sve(t){let e=new Map;if(!t||t[0]!=="?")return e;t=t.slice(1);let r=t.split("&");for(let n of r){let[i,s]=n.split("=",2),a=e.get(i);a?Array.isArray(a)?a.push(s):e.set(i,[a,s]):e.set(i,s)}return e}o(sve,"simpleParseQueryParams");function MJ(t,e,r,n=!1){if(e.size===0)return t;let i=new URL(t),s=sve(i.search);for(let[c,l]of e){let A=s.get(c);if(Array.isArray(A))if(Array.isArray(l)){A.push(...l);let u=new Set(A);s.set(c,Array.from(u))}else A.push(l);else A?(Array.isArray(l)?l.unshift(A):r.has(c)&&s.set(c,[A,l]),n||s.set(c,l)):s.set(c,l)}let a=[];for(let[c,l]of s)if(typeof l=="string")a.push(`${c}=${l}`);else if(Array.isArray(l))for(let A of l)a.push(`${c}=${A}`);else a.push(`${c}=${l}`);return i.search=a.length?`?${a.join("&")}`:"",i.toString()}o(MJ,"appendQueryParams")});var FN=h(Sg=>{"use strict";Object.defineProperty(Sg,"__esModule",{value:!0});Sg.logger=void 0;var ove=Qc();Sg.logger=(0,ove.createClientLogger)("core-client")});var FJ=h(xg=>{"use strict";Object.defineProperty(xg,"__esModule",{value:!0});xg.ServiceClient=void 0;var ave=Pt(),cve=ON(),LJ=NN(),lve=DJ(),Ave=Au(),uve=kJ(),dve=Qg(),pve=FN(),UN=class{static{o(this,"ServiceClient")}_endpoint;_requestContentType;_allowInsecureConnection;_httpClient;pipeline;constructor(e={}){if(this._requestContentType=e.requestContentType,this._endpoint=e.endpoint??e.baseUri,e.baseUri&&pve.logger.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead."),this._allowInsecureConnection=e.allowInsecureConnection,this._httpClient=e.httpClient||(0,lve.getCachedDefaultHttpClient)(),this.pipeline=e.pipeline||mve(e),e.additionalPolicies?.length)for(let{policy:r,position:n}of e.additionalPolicies){let i=n==="perRetry"?"Sign":void 0;this.pipeline.addPolicy(r,{afterPhase:i})}}async sendRequest(e){return this.pipeline.sendRequest(this._httpClient,e)}async sendOperationRequest(e,r){let n=r.baseUrl||this._endpoint;if(!n)throw new Error("If operationSpec.baseUrl is not specified, then the ServiceClient must have a endpoint string property that contains the base URL to use.");let i=(0,uve.getRequestUrl)(n,r,e,this),s=(0,ave.createPipelineRequest)({url:i});s.method=r.httpMethod;let a=(0,Ave.getOperationRequestInfo)(s);a.operationSpec=r,a.operationArguments=e;let c=r.contentType||this._requestContentType;c&&r.requestBody&&s.headers.set("Content-Type",c);let l=e.options;if(l){let A=l.requestOptions;A&&(A.timeout&&(s.timeout=A.timeout),A.onUploadProgress&&(s.onUploadProgress=A.onUploadProgress),A.onDownloadProgress&&(s.onDownloadProgress=A.onDownloadProgress),A.shouldDeserialize!==void 0&&(a.shouldDeserialize=A.shouldDeserialize),A.allowInsecureConnection&&(s.allowInsecureConnection=!0)),l.abortSignal&&(s.abortSignal=l.abortSignal),l.tracingOptions&&(s.tracingOptions=l.tracingOptions)}this._allowInsecureConnection&&(s.allowInsecureConnection=!0),s.streamResponseStatusCodes===void 0&&(s.streamResponseStatusCodes=(0,dve.getStreamingResponseStatusCodes)(r));try{let A=await this.sendRequest(s),u=(0,LJ.flattenResponse)(A,r.responses[A.status]);return l?.onResponse&&l.onResponse(A,u),u}catch(A){if(typeof A=="object"&&A?.response){let u=A.response,d=(0,LJ.flattenResponse)(u,r.responses[A.statusCode]||r.responses.default);A.details=d,l?.onResponse&&l.onResponse(u,d,A)}throw A}}};xg.ServiceClient=UN;function mve(t){let e=gve(t),r=t.credential&&e?{credentialScopes:e,credential:t.credential}:void 0;return(0,cve.createClientPipeline)({...t,credentialOptions:r})}o(mve,"createDefaultPipeline");function gve(t){if(t.credentialScopes)return t.credentialScopes;if(t.endpoint)return`${t.endpoint}/.default`;if(t.baseUri)return`${t.baseUri}/.default`;if(t.credential&&!t.credentialScopes)throw new Error("When using credentials, the ServiceClientOptions must contain either a endpoint or a credentialScopes. Unable to create a bearerTokenAuthenticationPolicy")}o(gve,"getCredentialScopes")});var qJ=h(vg=>{"use strict";Object.defineProperty(vg,"__esModule",{value:!0});vg.parseCAEChallenge=UJ;vg.authorizeRequestOnClaimChallenge=yve;var fve=FN(),hve=wN();function UJ(t){return`, ${t.trim()}`.split(", Bearer ").filter(r=>r).map(r=>`${r.trim()}, `.split('", ').filter(s=>s).map(s=>(([a,c])=>({[a]:c}))(s.trim().split('="'))).reduce((s,a)=>({...s,...a}),{}))}o(UJ,"parseCAEChallenge");async function yve(t){let{scopes:e,response:r}=t,n=t.logger||fve.logger,i=r.headers.get("WWW-Authenticate");if(!i)return n.info("The WWW-Authenticate header was missing. Failed to perform the Continuous Access Evaluation authentication flow."),!1;let a=(UJ(i)||[]).find(l=>l.claims);if(!a)return n.info('The WWW-Authenticate header was missing the necessary "claims" to perform the Continuous Access Evaluation authentication flow.'),!1;let c=await t.getAccessToken(a.scope?[a.scope]:e,{claims:(0,hve.decodeStringToString)(a.claims)});return c?(t.request.headers.set("Authorization",`${c.tokenType??"Bearer"} ${c.token}`),!0):!1}o(yve,"authorizeRequestOnClaimChallenge")});var zJ=h(Rg=>{"use strict";Object.defineProperty(Rg,"__esModule",{value:!0});Rg.authorizeRequestOnTenantChallenge=void 0;var HJ={DefaultScope:"/.default",HeaderConstants:{AUTHORIZATION:"authorization"}};function Cve(t){return/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/.test(t)}o(Cve,"isUuid");var Eve=o(async t=>{let e=wve(t.request),r=bve(t.response);if(r){let n=Qve(r),i=Ive(t,n),s=Bve(n);if(!s)return!1;let a=await t.getAccessToken(i,{...e,tenantId:s});return a?(t.request.headers.set(HJ.HeaderConstants.AUTHORIZATION,`${a.tokenType??"Bearer"} ${a.token}`),!0):!1}return!1},"authorizeRequestOnTenantChallenge");Rg.authorizeRequestOnTenantChallenge=Eve;function Bve(t){let n=new URL(t.authorization_uri).pathname.split("/")[1];if(n&&Cve(n))return n}o(Bve,"extractTenantId");function Ive(t,e){if(!e.resource_id)return t.scopes;let r=new URL(e.resource_id);r.pathname=HJ.DefaultScope;let n=r.toString();return n==="https://disk.azure.com/.default"&&(n="https://disk.azure.com//.default"),[n]}o(Ive,"buildScopes");function bve(t){let e=t.headers.get("WWW-Authenticate");if(t.status===401&&e)return e}o(bve,"getChallenge");function Qve(t){return`${t.slice(7).trim()} `.split(" ").filter(i=>i).map(i=>(([s,a])=>({[s]:a}))(i.trim().split("="))).reduce((i,s)=>({...i,...s}),{})}o(Qve,"parseChallenge");function wve(t){return{abortSignal:t.abortSignal,requestOptions:{timeout:t.timeout},tracingOptions:t.tracingOptions}}o(wve,"requestToOptions")});var mi=h(Ve=>{"use strict";Object.defineProperty(Ve,"__esModule",{value:!0});Ve.authorizeRequestOnTenantChallenge=Ve.authorizeRequestOnClaimChallenge=Ve.serializationPolicyName=Ve.serializationPolicy=Ve.deserializationPolicyName=Ve.deserializationPolicy=Ve.XML_CHARKEY=Ve.XML_ATTRKEY=Ve.createClientPipeline=Ve.ServiceClient=Ve.MapperTypeNames=Ve.createSerializer=void 0;var jJ=lu();Object.defineProperty(Ve,"createSerializer",{enumerable:!0,get:function(){return jJ.createSerializer}});Object.defineProperty(Ve,"MapperTypeNames",{enumerable:!0,get:function(){return jJ.MapperTypeNames}});var Nve=FJ();Object.defineProperty(Ve,"ServiceClient",{enumerable:!0,get:function(){return Nve.ServiceClient}});var Sve=ON();Object.defineProperty(Ve,"createClientPipeline",{enumerable:!0,get:function(){return Sve.createClientPipeline}});var GJ=au();Object.defineProperty(Ve,"XML_ATTRKEY",{enumerable:!0,get:function(){return GJ.XML_ATTRKEY}});Object.defineProperty(Ve,"XML_CHARKEY",{enumerable:!0,get:function(){return GJ.XML_CHARKEY}});var YJ=RN();Object.defineProperty(Ve,"deserializationPolicy",{enumerable:!0,get:function(){return YJ.deserializationPolicy}});Object.defineProperty(Ve,"deserializationPolicyName",{enumerable:!0,get:function(){return YJ.deserializationPolicyName}});var JJ=DN();Object.defineProperty(Ve,"serializationPolicy",{enumerable:!0,get:function(){return JJ.serializationPolicy}});Object.defineProperty(Ve,"serializationPolicyName",{enumerable:!0,get:function(){return JJ.serializationPolicyName}});var xve=qJ();Object.defineProperty(Ve,"authorizeRequestOnClaimChallenge",{enumerable:!0,get:function(){return xve.authorizeRequestOnClaimChallenge}});var vve=zJ();Object.defineProperty(Ve,"authorizeRequestOnTenantChallenge",{enumerable:!0,get:function(){return vve.authorizeRequestOnTenantChallenge}})});var pu=h(ko=>{"use strict";Object.defineProperty(ko,"__esModule",{value:!0});ko.HttpHeaders=void 0;ko.toPipelineRequest=KJ;ko.toWebResourceLike=$J;ko.toHttpHeadersLike=XJ;var VJ=Pt(),WJ=Symbol("Original PipelineRequest"),Rve=Symbol.for("@azure/core-client original request");function KJ(t,e={}){let n=t[WJ],i=(0,VJ.createHttpHeaders)(t.headers.toJson({preserveCase:!0}));if(n)return n.headers=i,n;{let s=(0,VJ.createPipelineRequest)({url:t.url,method:t.method,headers:i,withCredentials:t.withCredentials,timeout:t.timeout,requestId:t.requestId,abortSignal:t.abortSignal,body:t.body,formData:t.formData,disableKeepAlive:!!t.keepAlive,onDownloadProgress:t.onDownloadProgress,onUploadProgress:t.onUploadProgress,proxySettings:t.proxySettings,streamResponseStatusCodes:t.streamResponseStatusCodes,agent:t.agent,requestOverrides:t.requestOverrides});return e.originalRequest&&(s[Rve]=e.originalRequest),s}}o(KJ,"toPipelineRequest");function $J(t,e){let r=e?.originalRequest??t,n={url:t.url,method:t.method,headers:XJ(t.headers),withCredentials:t.withCredentials,timeout:t.timeout,requestId:t.headers.get("x-ms-client-request-id")||t.requestId,abortSignal:t.abortSignal,body:t.body,formData:t.formData,keepAlive:!!t.disableKeepAlive,onDownloadProgress:t.onDownloadProgress,onUploadProgress:t.onUploadProgress,proxySettings:t.proxySettings,streamResponseStatusCodes:t.streamResponseStatusCodes,agent:t.agent,requestOverrides:t.requestOverrides,clone(){throw new Error("Cannot clone a non-proxied WebResourceLike")},prepare(){throw new Error("WebResourceLike.prepare() is not supported by @azure/core-http-compat")},validateRequestProperties(){}};return e?.createProxy?new Proxy(n,{get(i,s,a){return s===WJ?t:s==="clone"?()=>$J(KJ(n,{originalRequest:r}),{createProxy:!0,originalRequest:r}):Reflect.get(i,s,a)},set(i,s,a,c){return s==="keepAlive"&&(t.disableKeepAlive=!a),typeof s=="string"&&["url","method","withCredentials","timeout","requestId","abortSignal","body","formData","onDownloadProgress","onUploadProgress","proxySettings","streamResponseStatusCodes","agent","requestOverrides"].includes(s)&&(t[s]=a),Reflect.set(i,s,a,c)}}):n}o($J,"toWebResourceLike");function XJ(t){return new _g(t.toJSON({preserveCase:!0}))}o(XJ,"toHttpHeadersLike");function du(t){return t.toLowerCase()}o(du,"getHeaderKey");var _g=class t{static{o(this,"HttpHeaders")}_headersMap;constructor(e){if(this._headersMap={},e)for(let r in e)this.set(r,e[r])}set(e,r){this._headersMap[du(e)]={name:e,value:r.toString()}}get(e){let r=this._headersMap[du(e)];return r?r.value:void 0}contains(e){return!!this._headersMap[du(e)]}remove(e){let r=this.contains(e);return delete this._headersMap[du(e)],r}rawHeaders(){return this.toJson({preserveCase:!0})}headersArray(){let e=[];for(let r in this._headersMap)e.push(this._headersMap[r]);return e}headerNames(){let e=[],r=this.headersArray();for(let n=0;n{"use strict";Object.defineProperty(Pg,"__esModule",{value:!0});Pg.toCompatResponse=Pve;Pg.toPipelineResponse=Dve;var _ve=Pt(),qN=pu(),ZJ=Symbol("Original FullOperationResponse");function Pve(t,e){let r=(0,qN.toWebResourceLike)(t.request),n=(0,qN.toHttpHeadersLike)(t.headers);return e?.createProxy?new Proxy(t,{get(i,s,a){return s==="headers"?n:s==="request"?r:s===ZJ?t:Reflect.get(i,s,a)},set(i,s,a,c){return s==="headers"?n=a:s==="request"&&(r=a),Reflect.set(i,s,a,c)}}):{...t,request:r,headers:n}}o(Pve,"toCompatResponse");function Dve(t){let r=t[ZJ],n=(0,_ve.createHttpHeaders)(t.headers.toJson({preserveCase:!0}));return r?(r.headers=n,r):{...t,headers:n,request:(0,qN.toPipelineRequest)(t.request)}}o(Dve,"toPipelineResponse")});var tV=h(Tg=>{"use strict";Object.defineProperty(Tg,"__esModule",{value:!0});Tg.ExtendedServiceClient=void 0;var eV=BN(),Tve=Pt(),Ove=mi(),Mve=Dg(),HN=class extends Ove.ServiceClient{static{o(this,"ExtendedServiceClient")}constructor(e){super(e),e.keepAliveOptions?.enable===!1&&!(0,eV.pipelineContainsDisableKeepAlivePolicy)(this.pipeline)&&this.pipeline.addPolicy((0,eV.createDisableKeepAlivePolicy)()),e.redirectOptions?.handleRedirects===!1&&this.pipeline.removePolicy({name:Tve.redirectPolicyName})}async sendOperationRequest(e,r){let n=e?.options?.onResponse,i;function s(c,l,A){i=c,n&&n(c,l,A)}o(s,"onResponse"),e.options={...e.options,onResponse:s};let a=await super.sendOperationRequest(e,r);return i&&Object.defineProperty(a,"_response",{value:(0,Mve.toCompatResponse)(i)}),a}};Tg.ExtendedServiceClient=HN});var sV=h(Os=>{"use strict";Object.defineProperty(Os,"__esModule",{value:!0});Os.requestPolicyFactoryPolicyName=Os.HttpPipelineLogLevel=void 0;Os.createRequestPolicyFactoryPolicy=Lve;var rV=pu(),nV=Dg(),iV;(function(t){t[t.ERROR=1]="ERROR",t[t.INFO=3]="INFO",t[t.OFF=0]="OFF",t[t.WARNING=2]="WARNING"})(iV||(Os.HttpPipelineLogLevel=iV={}));var kve={log(t,e){},shouldLog(t){return!1}};Os.requestPolicyFactoryPolicyName="RequestPolicyFactoryPolicy";function Lve(t){let e=t.slice().reverse();return{name:Os.requestPolicyFactoryPolicyName,async sendRequest(r,n){let i={async sendRequest(c){let l=await n((0,rV.toPipelineRequest)(c));return(0,nV.toCompatResponse)(l,{createProxy:!0})}};for(let c of e)i=c.create(i,kve);let s=(0,rV.toWebResourceLike)(r,{createProxy:!0}),a=await i.sendRequest(s);return(0,nV.toPipelineResponse)(a)}}}o(Lve,"createRequestPolicyFactoryPolicy")});var oV=h(zN=>{"use strict";Object.defineProperty(zN,"__esModule",{value:!0});zN.convertHttpClient=qve;var Fve=Dg(),Uve=pu();function qve(t){return{sendRequest:async e=>{let r=await t.sendRequest((0,Uve.toWebResourceLike)(e,{createProxy:!0}));return(0,Fve.toPipelineResponse)(r)}}}o(qve,"convertHttpClient")});var Og=h(nr=>{"use strict";Object.defineProperty(nr,"__esModule",{value:!0});nr.toHttpHeadersLike=nr.convertHttpClient=nr.disableKeepAlivePolicyName=nr.HttpPipelineLogLevel=nr.createRequestPolicyFactoryPolicy=nr.requestPolicyFactoryPolicyName=nr.ExtendedServiceClient=void 0;var Hve=tV();Object.defineProperty(nr,"ExtendedServiceClient",{enumerable:!0,get:function(){return Hve.ExtendedServiceClient}});var jN=sV();Object.defineProperty(nr,"requestPolicyFactoryPolicyName",{enumerable:!0,get:function(){return jN.requestPolicyFactoryPolicyName}});Object.defineProperty(nr,"createRequestPolicyFactoryPolicy",{enumerable:!0,get:function(){return jN.createRequestPolicyFactoryPolicy}});Object.defineProperty(nr,"HttpPipelineLogLevel",{enumerable:!0,get:function(){return jN.HttpPipelineLogLevel}});var zve=BN();Object.defineProperty(nr,"disableKeepAlivePolicyName",{enumerable:!0,get:function(){return zve.disableKeepAlivePolicyName}});var jve=oV();Object.defineProperty(nr,"convertHttpClient",{enumerable:!0,get:function(){return jve.convertHttpClient}});var Gve=pu();Object.defineProperty(nr,"toHttpHeadersLike",{enumerable:!0,get:function(){return Gve.toHttpHeadersLike}})});var cV=h(($Je,aV)=>{(()=>{"use strict";var t={d:(y,p)=>{for(var m in p)t.o(p,m)&&!t.o(y,m)&&Object.defineProperty(y,m,{enumerable:!0,get:p[m]})},o:(y,p)=>Object.prototype.hasOwnProperty.call(y,p),r:y=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(y,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(y,"__esModule",{value:!0})}},e={};t.r(e),t.d(e,{XMLBuilder:()=>O8,XMLParser:()=>N8,XMLValidator:()=>M8});let r=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",n=new RegExp("^["+r+"]["+r+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$");function i(y,p){let m=[],b=p.exec(y);for(;b;){let S=[];S.startIndex=p.lastIndex-b[0].length;let N=b.length;for(let k=0;k"&&y[N]!==" "&&y[N]!==" "&&y[N]!==` -`&&y[N]!=="\r";N++)M+=y[N];if(M=M.trim(),M[M.length-1]==="/"&&(M=M.substring(0,M.length-1),N--),!T(M)){let K;return K=M.trim().length===0?"Invalid space after '<'.":"Tag '"+M+"' is an invalid name.",w("InvalidTag",K,L(y,N))}let q=f(y,N);if(q===!1)return w("InvalidAttr","Attributes for '"+M+"' have open quote.",L(y,N));let G=q.value;if(N=q.index,G[G.length-1]==="/"){let K=N-G.length;G=G.substring(0,G.length-1);let be=Q(G,p);if(be!==!0)return w(be.err.code,be.err.msg,L(y,K+be.err.line));b=!0}else if(R){if(!q.tagClosed)return w("InvalidTag","Closing tag '"+M+"' doesn't have proper closing.",L(y,N));if(G.trim().length>0)return w("InvalidTag","Closing tag '"+M+"' can't have attributes or invalid starting.",L(y,k));if(m.length===0)return w("InvalidTag","Closing tag '"+M+"' has not been opened.",L(y,k));{let K=m.pop();if(M!==K.tagName){let be=L(y,K.tagStartPos);return w("InvalidTag","Expected closing tag '"+K.tagName+"' (opened in line "+be.line+", col "+be.col+") instead of closing tag '"+M+"'.",L(y,k))}m.length==0&&(S=!0)}}else{let K=Q(G,p);if(K!==!0)return w(K.err.code,K.err.msg,L(y,N-G.length+K.err.line));if(S===!0)return w("InvalidXml","Multiple possible root nodes found.",L(y,N));p.unpairedTags.indexOf(M)!==-1||m.push({tagName:M,tagStartPos:k}),b=!0}for(N++;N0)||w("InvalidXml","Invalid '"+JSON.stringify(m.map(N=>N.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):w("InvalidXml","Start tag expected.",1)}o(c,"a");function l(y){return y===" "||y===" "||y===` -`||y==="\r"}o(l,"h");function A(y,p){let m=p;for(;p5&&b==="xml")return w("InvalidXml","XML declaration allowed only at the start of the document.",L(y,p));if(y[p]=="?"&&y[p+1]==">"){p++;break}continue}return p}o(A,"l");function u(y,p){if(y.length>p+5&&y[p+1]==="-"&&y[p+2]==="-"){for(p+=3;p"){p+=2;break}}else if(y.length>p+8&&y[p+1]==="D"&&y[p+2]==="O"&&y[p+3]==="C"&&y[p+4]==="T"&&y[p+5]==="Y"&&y[p+6]==="P"&&y[p+7]==="E"){let m=1;for(p+=8;p"&&(m--,m===0))break}else if(y.length>p+9&&y[p+1]==="["&&y[p+2]==="C"&&y[p+3]==="D"&&y[p+4]==="A"&&y[p+5]==="T"&&y[p+6]==="A"&&y[p+7]==="["){for(p+=8;p"){p+=2;break}}return p}o(u,"p");let d='"',g="'";function f(y,p){let m="",b="",S=!1;for(;p"&&b===""){S=!0;break}m+=y[p]}return b===""&&{value:m,index:p,tagClosed:S}}o(f,"d");let C=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function Q(y,p){let m=i(y,C),b={};for(let S=0;S!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(y,p,m){return y},captureMetaData:!1,maxNestedTags:100,strictReservedNames:!0,jPath:!0};function le(y){return typeof y=="boolean"?{enabled:y,maxEntitySize:1e4,maxExpansionDepth:10,maxTotalExpansions:1e3,maxExpandedLength:1e5,maxEntityCount:100,allowedTags:null,tagFilter:null}:typeof y=="object"&&y!==null?{enabled:y.enabled!==!1,maxEntitySize:y.maxEntitySize??1e4,maxExpansionDepth:y.maxExpansionDepth??10,maxTotalExpansions:y.maxTotalExpansions??1e3,maxExpandedLength:y.maxExpandedLength??1e5,maxEntityCount:y.maxEntityCount??100,allowedTags:y.allowedTags??null,tagFilter:y.tagFilter??null}:le(!0)}o(le,"v");let De=o(function(y){let p=Object.assign({},de,y);return p.processEntities=le(p.processEntities),p.stopNodes&&Array.isArray(p.stopNodes)&&(p.stopNodes=p.stopNodes.map(m=>typeof m=="string"&&m.startsWith("*.")?".."+m.substring(2):m)),p},"T"),Te;Te=typeof Symbol!="function"?"@@xmlMetadata":Symbol("XML Node Metadata");class qe{static{o(this,"S")}constructor(p){this.tagname=p,this.child=[],this[":@"]=Object.create(null)}add(p,m){p==="__proto__"&&(p="#__proto__"),this.child.push({[p]:m})}addChild(p,m){p.tagname==="__proto__"&&(p.tagname="#__proto__"),p[":@"]&&Object.keys(p[":@"]).length>0?this.child.push({[p.tagname]:p.child,":@":p[":@"]}):this.child.push({[p.tagname]:p.child}),m!==void 0&&(this.child[this.child.length-1][Te]={startIndex:m})}static getMetaDataSymbol(){return Te}}class $e{static{o(this,"A")}constructor(p){this.suppressValidationErr=!p,this.options=p}readDocType(p,m){let b=Object.create(null),S=0;if(p[m+3]!=="O"||p[m+4]!=="C"||p[m+5]!=="T"||p[m+6]!=="Y"||p[m+7]!=="P"||p[m+8]!=="E")throw new Error("Invalid Tag instead of DOCTYPE");{m+=9;let N=1,k=!1,R=!1,M="";for(;m"){if(R?p[m-1]==="-"&&p[m-2]==="-"&&(R=!1,N--):N--,N===0)break}else p[m]==="["?k=!0:M+=p[m];else{if(k&&je(p,"!ENTITY",m)){let q,G;if(m+=7,[q,G,m]=this.readEntityExp(p,m+1,this.suppressValidationErr),G.indexOf("&")===-1){if(this.options.enabled!==!1&&this.options.maxEntityCount&&S>=this.options.maxEntityCount)throw new Error(`Entity count (${S+1}) exceeds maximum allowed (${this.options.maxEntityCount})`);let K=q.replace(/[.\-+*:]/g,"\\.");b[q]={regx:RegExp(`&${K};`,"g"),val:G},S++}}else if(k&&je(p,"!ELEMENT",m)){m+=8;let{index:q}=this.readElementExp(p,m+1);m=q}else if(k&&je(p,"!ATTLIST",m))m+=8;else if(k&&je(p,"!NOTATION",m)){m+=9;let{index:q}=this.readNotationExp(p,m+1,this.suppressValidationErr);m=q}else{if(!je(p,"!--",m))throw new Error("Invalid DOCTYPE");R=!0}N++,M=""}if(N!==0)throw new Error("Unclosed DOCTYPE")}return{entities:b,i:m}}readEntityExp(p,m){m=ge(p,m);let b="";for(;mthis.options.maxEntitySize)throw new Error(`Entity "${b}" size (${S.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`);return[b,S,--m]}readNotationExp(p,m){m=ge(p,m);let b="";for(;m{for(;p0&&(this.path[this.path.length-1].values=void 0);let S=this.path.length;this.siblingStacks[S]||(this.siblingStacks[S]=new Map);let N=this.siblingStacks[S],k=b?`${b}:${p}`:p,R=N.get(k)||0,M=0;for(let G of N.values())M+=G;N.set(k,R+1);let q={tag:p,position:M,counter:R};b!=null&&(q.namespace=b),m!=null&&(q.values=m),this.path.push(q)}pop(){if(this.path.length===0)return;let p=this.path.pop();return this.siblingStacks.length>this.path.length+1&&(this.siblingStacks.length=this.path.length+1),p}updateCurrent(p){if(this.path.length>0){let m=this.path[this.path.length-1];p!=null&&(m.values=p)}}getCurrentTag(){return this.path.length>0?this.path[this.path.length-1].tag:void 0}getCurrentNamespace(){return this.path.length>0?this.path[this.path.length-1].namespace:void 0}getAttrValue(p){return this.path.length===0?void 0:this.path[this.path.length-1].values?.[p]}hasAttr(p){if(this.path.length===0)return!1;let m=this.path[this.path.length-1];return m.values!==void 0&&p in m.values}getPosition(){return this.path.length===0?-1:this.path[this.path.length-1].position??0}getCounter(){return this.path.length===0?-1:this.path[this.path.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this.path.length}toString(p,m=!0){let b=p||this.separator;return this.path.map(S=>m&&S.namespace?`${S.namespace}:${S.tag}`:S.tag).join(b)}toArray(){return this.path.map(p=>p.tag)}reset(){this.path=[],this.siblingStacks=[]}matches(p){let m=p.segments;return m.length!==0&&(p.hasDeepWildcard()?this._matchWithDeepWildcard(m):this._matchSimple(m))}_matchSimple(p){if(this.path.length!==p.length)return!1;for(let m=0;m=0&&m>=0;){let S=p[b];if(S.type==="deep-wildcard"){if(b--,b<0)return!0;let N=p[b],k=!1;for(let R=m;R>=0;R--){let M=R===this.path.length-1;if(this._matchSegment(N,this.path[R],M)){m=R-1,b--,k=!0;break}}if(!k)return!1}else{let N=m===this.path.length-1;if(!this._matchSegment(S,this.path[m],N))return!1;m--,b--}}return b<0}_matchSegment(p,m,b){if(p.tag!=="*"&&p.tag!==m.tag||p.namespace!==void 0&&p.namespace!=="*"&&p.namespace!==m.namespace)return!1;if(p.attrName!==void 0){if(!b||!m.values||!(p.attrName in m.values))return!1;if(p.attrValue!==void 0){let S=m.values[p.attrName];if(String(S)!==String(p.attrValue))return!1}}if(p.position!==void 0){if(!b)return!1;let S=m.counter??0;if(p.position==="first"&&S!==0||p.position==="odd"&&S%2!=1||p.position==="even"&&S%2!=0||p.position==="nth"&&S!==p.positionValue)return!1}return!0}snapshot(){return{path:this.path.map(p=>({...p})),siblingStacks:this.siblingStacks.map(p=>new Map(p))}}restore(p){this.path=p.path.map(m=>({...m})),this.siblingStacks=p.siblingStacks.map(m=>new Map(m))}}class Di{static{o(this,"k")}constructor(p,m={}){this.pattern=p,this.separator=m.separator||".",this.segments=this._parse(p),this._hasDeepWildcard=this.segments.some(b=>b.type==="deep-wildcard"),this._hasAttributeCondition=this.segments.some(b=>b.attrName!==void 0),this._hasPositionSelector=this.segments.some(b=>b.position!==void 0)}_parse(p){let m=[],b=0,S="";for(;b0){let m=y.substring(0,p);if(m!=="xmlns")return m}}o(Rl,"M");class l8{static{o(this,"L")}constructor(p){var m;if(this.options=p,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"\xA2"},pound:{regex:/&(pound|#163);/g,val:"\xA3"},yen:{regex:/&(yen|#165);/g,val:"\xA5"},euro:{regex:/&(euro|#8364);/g,val:"\u20AC"},copyright:{regex:/&(copy|#169);/g,val:"\xA9"},reg:{regex:/&(reg|#174);/g,val:"\xAE"},inr:{regex:/&(inr|#8377);/g,val:"\u20B9"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(b,S)=>Ov(S,10,"&#")},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(b,S)=>Ov(S,16,"&#x")}},this.addExternalEntities=A8,this.parseXml=g8,this.parseTextData=u8,this.resolveNameSpace=d8,this.buildAttributesMap=m8,this.isItStopNode=C8,this.replaceEntitiesValue=h8,this.readStopNodeData=E8,this.saveTextToParentTag=y8,this.addChild=f8,this.ignoreAttributesFn=typeof(m=this.options.ignoreAttributes)=="function"?m:Array.isArray(m)?b=>{for(let S of m)if(typeof S=="string"&&b===S||S instanceof RegExp&&S.test(b))return!0}:()=>!1,this.entityExpansionCount=0,this.currentExpandedLength=0,this.matcher=new Zs,this.isCurrentNodeStopNode=!1,this.options.stopNodes&&this.options.stopNodes.length>0){this.stopNodeExpressions=[];for(let b=0;b0)){k||(y=this.replaceEntitiesValue(y,p,m));let R=this.options.jPath?m.toString():m,M=this.options.tagValueProcessor(p,y,R,S,N);return M==null?y:typeof M!=typeof y||M!==y?M:this.options.trimValues||y.trim()===y?Tv(y,this.options.parseTagValue,this.options.numberParseOptions):y}}o(u8,"G");function d8(y){if(this.options.removeNSPrefix){let p=y.split(":"),m=y.charAt(0)==="/"?"/":"";if(p[0]==="xmlns")return"";p.length===2&&(y=m+p[1])}return y}o(d8,"B");let p8=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function m8(y,p,m){if(this.options.ignoreAttributes!==!0&&typeof y=="string"){let b=i(y,p8),S=b.length,N={},k={};for(let R=0;R0&&typeof p=="object"&&p.updateCurrent&&p.updateCurrent(k);for(let R=0;R",N,"Closing Tag is not closed."),R=y.substring(N+2,k).trim();if(this.options.removeNSPrefix){let q=R.indexOf(":");q!==-1&&(R=R.substr(q+1))}this.options.transformTagName&&(R=this.options.transformTagName(R)),m&&(b=this.saveTextToParentTag(b,m,this.matcher));let M=this.matcher.getCurrentTag();if(R&&this.options.unpairedTags.indexOf(R)!==-1)throw new Error(`Unpaired tag can not be used as closing tag: `);M&&this.options.unpairedTags.indexOf(M)!==-1&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,m=this.tagsNodeStack.pop(),b="",N=k}else if(y[N+1]==="?"){let k=My(y,N,!1,"?>");if(!k)throw new Error("Pi Tag is not closed.");if(b=this.saveTextToParentTag(b,m,this.matcher),!(this.options.ignoreDeclaration&&k.tagName==="?xml"||this.options.ignorePiTags)){let R=new qe(k.tagName);R.add(this.options.textNodeName,""),k.tagName!==k.tagExp&&k.attrExpPresent&&(R[":@"]=this.buildAttributesMap(k.tagExp,this.matcher,k.tagName)),this.addChild(m,R,this.matcher,N)}N=k.closeIndex+1}else if(y.substr(N+1,3)==="!--"){let k=eo(y,"-->",N+4,"Comment is not closed.");if(this.options.commentPropName){let R=y.substring(N+4,k-2);b=this.saveTextToParentTag(b,m,this.matcher),m.add(this.options.commentPropName,[{[this.options.textNodeName]:R}])}N=k}else if(y.substr(N+1,2)==="!D"){let k=S.readDocType(y,N);this.docTypeEntities=k.entities,N=k.i}else if(y.substr(N+1,2)==="!["){let k=eo(y,"]]>",N,"CDATA is not closed.")-2,R=y.substring(N+9,k);b=this.saveTextToParentTag(b,m,this.matcher);let M=this.parseTextData(R,m.tagname,this.matcher,!0,!1,!0,!0);M==null&&(M=""),this.options.cdataPropName?m.add(this.options.cdataPropName,[{[this.options.textNodeName]:R}]):m.add(this.options.textNodeName,M),N=k+2}else{let k=My(y,N,this.options.removeNSPrefix);if(!k){let Gt=y.substring(Math.max(0,N-50),Math.min(y.length,N+50));throw new Error(`readTagExp returned undefined at position ${N}. Context: "${Gt}"`)}let R=k.tagName,M=k.rawTagName,q=k.tagExp,G=k.attrExpPresent,K=k.closeIndex;if(this.options.transformTagName){let Gt=this.options.transformTagName(R);q===R&&(q=Gt),R=Gt}if(this.options.strictReservedNames&&(R===this.options.commentPropName||R===this.options.cdataPropName))throw new Error(`Invalid tag name: ${R}`);m&&b&&m.tagname!=="!xml"&&(b=this.saveTextToParentTag(b,m,this.matcher,!1));let be=m;be&&this.options.unpairedTags.indexOf(be.tagname)!==-1&&(m=this.tagsNodeStack.pop(),this.matcher.pop());let ye=!1;q.length>0&&q.lastIndexOf("/")===q.length-1&&(ye=!0,R[R.length-1]==="/"?(R=R.substr(0,R.length-1),q=R):q=q.substr(0,q.length-1),G=R!==q);let Qe,Re=null,Kn={};Qe=Rl(M),R!==p.tagname&&this.matcher.push(R,{},Qe),R!==q&&G&&(Re=this.buildAttributesMap(q,this.matcher,R),Re&&(Kn=Vu(Re,this.options))),R!==p.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode(this.stopNodeExpressions,this.matcher));let Mt=N;if(this.isCurrentNodeStopNode){let Gt="";if(ye)N=k.closeIndex;else if(this.options.unpairedTags.indexOf(R)!==-1)N=k.closeIndex;else{let Fy=this.readStopNodeData(y,M,K+1);if(!Fy)throw new Error(`Unexpected end of ${M}`);N=Fy.i,Gt=Fy.tagContent}let sa=new qe(R);Re&&(sa[":@"]=Re),sa.add(this.options.textNodeName,Gt),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(m,sa,this.matcher,Mt)}else{if(ye){if(this.options.transformTagName){let sa=this.options.transformTagName(R);q===R&&(q=sa),R=sa}let Gt=new qe(R);Re&&(Gt[":@"]=Re),this.addChild(m,Gt,this.matcher,Mt),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else{if(this.options.unpairedTags.indexOf(R)!==-1){let Gt=new qe(R);Re&&(Gt[":@"]=Re),this.addChild(m,Gt,this.matcher,Mt),this.matcher.pop(),this.isCurrentNodeStopNode=!1,N=k.closeIndex;continue}{let Gt=new qe(R);if(this.tagsNodeStack.length>this.options.maxNestedTags)throw new Error("Maximum nested tags exceeded");this.tagsNodeStack.push(m),Re&&(Gt[":@"]=Re),this.addChild(m,Gt,this.matcher,Mt),m=Gt}}b="",N=K}}else b+=y[N];return p.child},"Y");function f8(y,p,m,b){this.options.captureMetaData||(b=void 0);let S=this.options.jPath?m.toString():m,N=this.options.updateTag(p.tagname,S,p[":@"]);N===!1||(typeof N=="string"&&(p.tagname=N),y.addChild(p,b))}o(f8,"X");function h8(y,p,m){let b=this.options.processEntities;if(!b||!b.enabled)return y;if(b.allowedTags){let S=this.options.jPath?m.toString():m;if(!(Array.isArray(b.allowedTags)?b.allowedTags.includes(p):b.allowedTags(p,S)))return y}if(b.tagFilter){let S=this.options.jPath?m.toString():m;if(!b.tagFilter(p,S))return y}for(let S in this.docTypeEntities){let N=this.docTypeEntities[S],k=y.match(N.regx);if(k){if(this.entityExpansionCount+=k.length,b.maxTotalExpansions&&this.entityExpansionCount>b.maxTotalExpansions)throw new Error(`Entity expansion limit exceeded: ${this.entityExpansionCount} > ${b.maxTotalExpansions}`);let R=y.length;if(y=y.replace(N.regx,N.val),b.maxExpandedLength&&(this.currentExpandedLength+=y.length-R,this.currentExpandedLength>b.maxExpandedLength))throw new Error(`Total expanded content size exceeded: ${this.currentExpandedLength} > ${b.maxExpandedLength}`)}}if(y.indexOf("&")===-1)return y;for(let S in this.lastEntities){let N=this.lastEntities[S];y=y.replace(N.regex,N.val)}if(y.indexOf("&")===-1)return y;if(this.options.htmlEntities)for(let S in this.htmlEntities){let N=this.htmlEntities[S];y=y.replace(N.regex,N.val)}return y.replace(this.ampEntity.regex,this.ampEntity.val)}o(h8,"z");function y8(y,p,m,b){return y&&(b===void 0&&(b=p.child.length===0),(y=this.parseTextData(y,p.tagname,m,!1,!!p[":@"]&&Object.keys(p[":@"]).length!==0,b))!==void 0&&y!==""&&p.add(this.options.textNodeName,y),y=""),y}o(y8,"q");function C8(y,p){if(!y||y.length===0)return!1;for(let m=0;m"){let Qe,Re="";for(let Kn=be;Kn",m,`${p} is not closed`);if(y.substring(m+2,N).trim()===p&&(S--,S===0))return{tagContent:y.substring(b,m),i:N};m=N}else if(y[m+1]==="?")m=eo(y,"?>",m+1,"StopNode is not closed.");else if(y.substr(m+1,3)==="!--")m=eo(y,"-->",m+3,"StopNode is not closed.");else if(y.substr(m+1,2)==="![")m=eo(y,"]]>",m,"StopNode is not closed.")-2;else{let N=My(y,m,">");N&&((N&&N.tagName)===p&&N.tagExp[N.tagExp.length-1]!=="/"&&S++,m=N.closeIndex)}}o(E8,"J");function Tv(y,p,m){if(p&&typeof y=="string"){let b=y.trim();return b==="true"||b!=="false"&&function(S,N={}){if(N=Object.assign({},Ty,N),!S||typeof S!="string")return S;let k=S.trim();if(N.skipLike!==void 0&&N.skipLike.test(k))return S;if(S==="0")return 0;if(N.hex&&_i.test(k))return function(M){if(parseInt)return parseInt(M,16);if(Number.parseInt)return Number.parseInt(M,16);if(window&&window.parseInt)return window.parseInt(M,16);throw new Error("parseInt, Number.parseInt, window.parseInt are not supported")}(k);if(k.includes("e")||k.includes("E"))return function(M,q,G){if(!G.eNotation)return M;let K=q.match(Oy);if(K){let be=K[1]||"",ye=K[3].indexOf("e")===-1?"E":"e",Qe=K[2],Re=be?M[Qe.length+1]===ye:M[Qe.length]===ye;return Qe.length>1&&Re?M:Qe.length!==1||!K[3].startsWith(`.${ye}`)&&K[3][0]!==ye?G.leadingZeros&&!Re?(q=(K[1]||"")+K[3],Number(q)):M:Number(q)}return M}(S,k,N);{let M=Pi.exec(k);if(M){let q=M[1]||"",G=M[2],K=((R=M[3])&&R.indexOf(".")!==-1&&((R=R.replace(/0+$/,""))==="."?R="0":R[0]==="."?R="0"+R:R[R.length-1]==="."&&(R=R.substring(0,R.length-1))),R),be=q?S[G.length+1]===".":S[G.length]===".";if(!N.leadingZeros&&(G.length>1||G.length===1&&!be))return S;{let ye=Number(k),Qe=String(ye);if(ye===0)return ye;if(Qe.search(/[eE]/)!==-1)return N.eNotation?ye:S;if(k.indexOf(".")!==-1)return Qe==="0"||Qe===K||Qe===`${q}${K}`?ye:S;let Re=G?K:k;return G?Re===Qe||q+Re===Qe?ye:S:Re===Qe||Re===q+Qe?ye:S}}return S}var R}(y,m)}return y!==void 0?y:""}o(Tv,"H");function Ov(y,p,m){let b=Number.parseInt(y,p);return b>=0&&b<=1114111?String.fromCodePoint(b):m+y+";"}o(Ov,"tt");let ky=qe.getMetaDataSymbol();function B8(y,p){if(!y||typeof y!="object")return{};if(!p)return y;let m={};for(let b in y)b.startsWith(p)?m[b.substring(p.length)]=y[b]:m[b]=y[b];return m}o(B8,"it");function I8(y,p,m){return Mv(y,p,m)}o(I8,"nt");function Mv(y,p,m){let b,S={};for(let N=0;N0&&(S[p.textNodeName]=b):b!==void 0&&(S[p.textNodeName]=b),S}o(Mv,"st");function b8(y){let p=Object.keys(y);for(let m=0;m0&&(m=` -`);let b=[];if(p.stopNodes&&Array.isArray(p.stopNodes))for(let S=0;S`,k=!1,b.pop();continue}if(q===p.commentPropName){N+=m+``,k=!0,b.pop();continue}if(q[0]==="?"){let Re=Uv(M[":@"],p,K),Kn=q==="?xml"?"":m,Mt=M[q][0][p.textNodeName];Mt=Mt.length!==0?" "+Mt:"",N+=Kn+`<${q}${Mt}${Re}?>`,k=!0,b.pop();continue}let be=m;be!==""&&(be+=p.indentBy);let ye=m+`<${q}${Uv(M[":@"],p,K)}`,Qe;Qe=K?Lv(M[q],p):kv(M[q],p,be,b,S),p.unpairedTags.indexOf(q)!==-1?p.suppressUnpairedNode?N+=ye+">":N+=ye+"/>":Qe&&Qe.length!==0||!p.suppressEmptyNode?Qe&&Qe.endsWith(">")?N+=ye+`>${Qe}${m}`:(N+=ye+">",Qe&&m!==""&&(Qe.includes("/>")||Qe.includes("`):N+=ye+"/>",k=!0,b.pop()}return N}o(kv,"pt");function x8(y,p){if(!y||p.ignoreAttributes)return null;let m={},b=!1;for(let S in y)Object.prototype.hasOwnProperty.call(y,S)&&(m[S.startsWith(p.attributeNamePrefix)?S.substr(p.attributeNamePrefix.length):S]=y[S],b=!0);return b?m:null}o(x8,"ut");function Lv(y,p){if(!Array.isArray(y))return y!=null?y.toString():"";let m="";for(let b=0;b${R}`:m+=`<${N}${k}/>`}}}return m}o(Lv,"ct");function v8(y,p){let m="";if(y&&!p.ignoreAttributes)for(let b in y){if(!Object.prototype.hasOwnProperty.call(y,b))continue;let S=y[b];S===!0&&p.suppressBooleanAttributes?m+=` ${b.substr(p.attributeNamePrefix.length)}`:m+=` ${b.substr(p.attributeNamePrefix.length)}="${S}"`}return m}o(v8,"dt");function Fv(y){let p=Object.keys(y);for(let m=0;m0&&p.processEntities)for(let m=0;m","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1,jPath:!0};function nn(y){if(this.options=Object.assign({},_8,y),this.options.stopNodes&&Array.isArray(this.options.stopNodes)&&(this.options.stopNodes=this.options.stopNodes.map(m=>typeof m=="string"&&m.startsWith("*.")?".."+m.substring(2):m)),this.stopNodeExpressions=[],this.options.stopNodes&&Array.isArray(this.options.stopNodes))for(let m=0;m{for(let b of p)if(typeof b=="string"&&m===b||b instanceof RegExp&&b.test(m))return!0}:()=>!1,this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=T8),this.processTextOrObjNode=P8,this.options.format?(this.indentate=D8,this.tagEndChar=`> +`,"utf-8")],i=nhe(n);i&&t.headers.set("Content-Length",i),t.body=await(0,Zge.concat)(n)}s(ihe,"buildRequestBody");var mH="multipartPolicy",she=70,ohe=new Set("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?");function ahe(t){if(t.length>she)throw new Error(`Multipart boundary "${t}" exceeds maximum length of 70 characters`);if(Array.from(t).some(e=>!ohe.has(e)))throw new Error(`Multipart boundary "${t}" contains invalid characters`)}s(ahe,"assertValidBoundary");function che(){return{name:mH,async sendRequest(t,e){if(!t.multipartBody)return e(t);if(t.body)throw new Error("multipartBody and regular body cannot be set at the same time");let r=t.multipartBody.boundary,n=t.headers.get("Content-Type")??"multipart/mixed",i=n.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!i)throw new Error(`Got multipart request body, but content-type header was not multipart: ${n}`);let[,o,a]=i;if(a&&r&&a!==r)throw new Error(`Multipart boundary was specified as ${a} in the header, but got ${r} in the request body`);return r??=a,r?ahe(r):r=ehe(),t.headers.set("Content-Type",`${o}; boundary=${r}`),await ihe(t,t.multipartBody.parts,r),t.multipartBody=void 0,e(t)}}}s(che,"multipartPolicy")});var EH=f((A2e,CH)=>{var NQ=Object.defineProperty,lhe=Object.getOwnPropertyDescriptor,Ahe=Object.getOwnPropertyNames,uhe=Object.prototype.hasOwnProperty,dhe=s((t,e)=>{for(var r in e)NQ(t,r,{get:e[r],enumerable:!0})},"__export"),phe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ahe(e))!uhe.call(t,i)&&i!==r&&NQ(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=lhe(e,i))||n.enumerable});return t},"__copyProps"),mhe=s(t=>phe(NQ({},"__esModule",{value:!0}),t),"__toCommonJS"),yH={};dhe(yH,{createPipelineFromOptions:s(()=>Nhe,"createPipelineFromOptions")});CH.exports=mhe(yH);var ghe=Ob(),hhe=fb(),fhe=kb(),yhe=zb(),Che=jb(),Ehe=nQ(),Bhe=oQ(),hH=iu(),Ihe=gQ(),bhe=fQ(),Qhe=CQ(),fH=QQ();function Nhe(t){let e=(0,hhe.createEmptyPipeline)();return hH.isNodeLike&&(t.agent&&e.addPolicy((0,bhe.agentPolicy)(t.agent)),t.tlsOptions&&e.addPolicy((0,Qhe.tlsPolicy)(t.tlsOptions)),e.addPolicy((0,Ihe.proxyPolicy)(t.proxyOptions)),e.addPolicy((0,Che.decompressResponsePolicy)())),e.addPolicy((0,Bhe.formDataPolicy)(),{beforePolicies:[fH.multipartPolicyName]}),e.addPolicy((0,yhe.userAgentPolicy)(t.userAgentOptions)),e.addPolicy((0,fH.multipartPolicy)(),{afterPhase:"Deserialize"}),e.addPolicy((0,Ehe.defaultRetryPolicy)(t.retryOptions),{phase:"Retry"}),hH.isNodeLike&&e.addPolicy((0,fhe.redirectPolicy)(t.redirectOptions),{afterPhase:"Retry"}),e.addPolicy((0,ghe.logPolicy)(t.loggingOptions),{afterPhase:"Sign"}),e}s(Nhe,"createPipelineFromOptions")});var QH=f((d2e,bH)=>{var wQ=Object.defineProperty,whe=Object.getOwnPropertyDescriptor,She=Object.getOwnPropertyNames,xhe=Object.prototype.hasOwnProperty,Rhe=s((t,e)=>{for(var r in e)wQ(t,r,{get:e[r],enumerable:!0})},"__export"),vhe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of She(e))!xhe.call(t,i)&&i!==r&&wQ(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=whe(e,i))||n.enumerable});return t},"__copyProps"),Phe=s(t=>vhe(wQ({},"__esModule",{value:!0}),t),"__toCommonJS"),BH={};Rhe(BH,{apiVersionPolicy:s(()=>_he,"apiVersionPolicy"),apiVersionPolicyName:s(()=>IH,"apiVersionPolicyName")});bH.exports=Phe(BH);var IH="ApiVersionPolicy";function _he(t){return{name:IH,sendRequest:s((e,r)=>{let n=new URL(e.url);return!n.searchParams.get("api-version")&&t.apiVersion&&(e.url=`${e.url}${Array.from(n.searchParams.keys()).length>0?"&":"?"}api-version=${t.apiVersion}`),r(e)},"sendRequest")}}s(_he,"apiVersionPolicy")});var SH=f((m2e,wH)=>{var SQ=Object.defineProperty,Dhe=Object.getOwnPropertyDescriptor,The=Object.getOwnPropertyNames,Ohe=Object.prototype.hasOwnProperty,Mhe=s((t,e)=>{for(var r in e)SQ(t,r,{get:e[r],enumerable:!0})},"__export"),khe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of The(e))!Ohe.call(t,i)&&i!==r&&SQ(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=Dhe(e,i))||n.enumerable});return t},"__copyProps"),Lhe=s(t=>khe(SQ({},"__esModule",{value:!0}),t),"__toCommonJS"),NH={};Mhe(NH,{isApiKeyCredential:s(()=>Hhe,"isApiKeyCredential"),isBasicCredential:s(()=>qhe,"isBasicCredential"),isBearerTokenCredential:s(()=>Uhe,"isBearerTokenCredential"),isOAuth2TokenCredential:s(()=>Fhe,"isOAuth2TokenCredential")});wH.exports=Lhe(NH);function Fhe(t){return"getOAuth2Token"in t}s(Fhe,"isOAuth2TokenCredential");function Uhe(t){return"getBearerToken"in t}s(Uhe,"isBearerTokenCredential");function qhe(t){return"username"in t&&"password"in t}s(qhe,"isBasicCredential");function Hhe(t){return"key"in t}s(Hhe,"isApiKeyCredential")});var au=f((h2e,vH)=>{var xQ=Object.defineProperty,zhe=Object.getOwnPropertyDescriptor,Ghe=Object.getOwnPropertyNames,jhe=Object.prototype.hasOwnProperty,Yhe=s((t,e)=>{for(var r in e)xQ(t,r,{get:e[r],enumerable:!0})},"__export"),Jhe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ghe(e))!jhe.call(t,i)&&i!==r&&xQ(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=zhe(e,i))||n.enumerable});return t},"__copyProps"),Vhe=s(t=>Jhe(xQ({},"__esModule",{value:!0}),t),"__toCommonJS"),RH={};Yhe(RH,{ensureSecureConnection:s(()=>Xhe,"ensureSecureConnection")});vH.exports=Vhe(RH);var Whe=bc(),xH=!1;function Khe(t,e){if(e.allowInsecureConnection&&t.allowInsecureConnection){let r=new URL(t.url);if(r.hostname==="localhost"||r.hostname==="127.0.0.1")return!0}return!1}s(Khe,"allowInsecureConnection");function $he(){let t="Sending token over insecure transport. Assume any token issued is compromised.";Whe.logger.warning(t),typeof process?.emitWarning=="function"&&!xH&&(xH=!0,process.emitWarning(t))}s($he,"emitInsecureConnectionWarning");function Xhe(t,e){if(!t.url.toLowerCase().startsWith("https://"))if(Khe(t,e))$he();else throw new Error("Authentication is not permitted for non-TLS protected (non-https) URLs when allowInsecureConnection is false.")}s(Xhe,"ensureSecureConnection")});var TH=f((y2e,DH)=>{var RQ=Object.defineProperty,Zhe=Object.getOwnPropertyDescriptor,efe=Object.getOwnPropertyNames,tfe=Object.prototype.hasOwnProperty,rfe=s((t,e)=>{for(var r in e)RQ(t,r,{get:e[r],enumerable:!0})},"__export"),nfe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of efe(e))!tfe.call(t,i)&&i!==r&&RQ(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=Zhe(e,i))||n.enumerable});return t},"__copyProps"),ife=s(t=>nfe(RQ({},"__esModule",{value:!0}),t),"__toCommonJS"),PH={};rfe(PH,{apiKeyAuthenticationPolicy:s(()=>ofe,"apiKeyAuthenticationPolicy"),apiKeyAuthenticationPolicyName:s(()=>_H,"apiKeyAuthenticationPolicyName")});DH.exports=ife(PH);var sfe=au(),_H="apiKeyAuthenticationPolicy";function ofe(t){return{name:_H,async sendRequest(e,r){(0,sfe.ensureSecureConnection)(e,t);let n=(e.authSchemes??t.authSchemes)?.find(i=>i.kind==="apiKey");if(!n)return r(e);if(n.apiKeyLocation!=="header")throw new Error(`Unsupported API key location: ${n.apiKeyLocation}`);return e.headers.set(n.name,t.credential.key),r(e)}}}s(ofe,"apiKeyAuthenticationPolicy")});var FH=f((E2e,LH)=>{var vQ=Object.defineProperty,afe=Object.getOwnPropertyDescriptor,cfe=Object.getOwnPropertyNames,lfe=Object.prototype.hasOwnProperty,Afe=s((t,e)=>{for(var r in e)vQ(t,r,{get:e[r],enumerable:!0})},"__export"),ufe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of cfe(e))!lfe.call(t,i)&&i!==r&&vQ(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=afe(e,i))||n.enumerable});return t},"__copyProps"),dfe=s(t=>ufe(vQ({},"__esModule",{value:!0}),t),"__toCommonJS"),MH={};Afe(MH,{basicAuthenticationPolicy:s(()=>mfe,"basicAuthenticationPolicy"),basicAuthenticationPolicyName:s(()=>kH,"basicAuthenticationPolicyName")});LH.exports=dfe(MH);var OH=Fo(),pfe=au(),kH="bearerAuthenticationPolicy";function mfe(t){return{name:kH,async sendRequest(e,r){if((0,pfe.ensureSecureConnection)(e,t),!(e.authSchemes??t.authSchemes)?.find(c=>c.kind==="http"&&c.scheme==="basic"))return r(e);let{username:i,password:o}=t.credential,a=(0,OH.uint8ArrayToString)((0,OH.stringToUint8Array)(`${i}:${o}`,"utf-8"),"base64");return e.headers.set("Authorization",`Basic ${a}`),r(e)}}}s(mfe,"basicAuthenticationPolicy")});var zH=f((I2e,HH)=>{var PQ=Object.defineProperty,gfe=Object.getOwnPropertyDescriptor,hfe=Object.getOwnPropertyNames,ffe=Object.prototype.hasOwnProperty,yfe=s((t,e)=>{for(var r in e)PQ(t,r,{get:e[r],enumerable:!0})},"__export"),Cfe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of hfe(e))!ffe.call(t,i)&&i!==r&&PQ(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=gfe(e,i))||n.enumerable});return t},"__copyProps"),Efe=s(t=>Cfe(PQ({},"__esModule",{value:!0}),t),"__toCommonJS"),UH={};yfe(UH,{bearerAuthenticationPolicy:s(()=>Ife,"bearerAuthenticationPolicy"),bearerAuthenticationPolicyName:s(()=>qH,"bearerAuthenticationPolicyName")});HH.exports=Efe(UH);var Bfe=au(),qH="bearerAuthenticationPolicy";function Ife(t){return{name:qH,async sendRequest(e,r){if((0,Bfe.ensureSecureConnection)(e,t),!(e.authSchemes??t.authSchemes)?.find(o=>o.kind==="http"&&o.scheme==="bearer"))return r(e);let i=await t.credential.getBearerToken({abortSignal:e.abortSignal});return e.headers.set("Authorization",`Bearer ${i}`),r(e)}}}s(Ife,"bearerAuthenticationPolicy")});var JH=f((Q2e,YH)=>{var _Q=Object.defineProperty,bfe=Object.getOwnPropertyDescriptor,Qfe=Object.getOwnPropertyNames,Nfe=Object.prototype.hasOwnProperty,wfe=s((t,e)=>{for(var r in e)_Q(t,r,{get:e[r],enumerable:!0})},"__export"),Sfe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Qfe(e))!Nfe.call(t,i)&&i!==r&&_Q(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=bfe(e,i))||n.enumerable});return t},"__copyProps"),xfe=s(t=>Sfe(_Q({},"__esModule",{value:!0}),t),"__toCommonJS"),GH={};wfe(GH,{oauth2AuthenticationPolicy:s(()=>vfe,"oauth2AuthenticationPolicy"),oauth2AuthenticationPolicyName:s(()=>jH,"oauth2AuthenticationPolicyName")});YH.exports=xfe(GH);var Rfe=au(),jH="oauth2AuthenticationPolicy";function vfe(t){return{name:jH,async sendRequest(e,r){(0,Rfe.ensureSecureConnection)(e,t);let n=(e.authSchemes??t.authSchemes)?.find(o=>o.kind==="oauth2");if(!n)return r(e);let i=await t.credential.getOAuth2Token(n.flows,{abortSignal:e.abortSignal});return e.headers.set("Authorization",`Bearer ${i}`),r(e)}}}s(vfe,"oauth2AuthenticationPolicy")});var OQ=f((w2e,WH)=>{var TQ=Object.defineProperty,Pfe=Object.getOwnPropertyDescriptor,_fe=Object.getOwnPropertyNames,Dfe=Object.prototype.hasOwnProperty,Tfe=s((t,e)=>{for(var r in e)TQ(t,r,{get:e[r],enumerable:!0})},"__export"),Ofe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of _fe(e))!Dfe.call(t,i)&&i!==r&&TQ(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=Pfe(e,i))||n.enumerable});return t},"__copyProps"),Mfe=s(t=>Ofe(TQ({},"__esModule",{value:!0}),t),"__toCommonJS"),VH={};Tfe(VH,{createDefaultPipeline:s(()=>Gfe,"createDefaultPipeline"),getCachedDefaultHttpsClient:s(()=>jfe,"getCachedDefaultHttpsClient")});WH.exports=Mfe(VH);var kfe=Db(),Lfe=EH(),Ffe=QH(),Zm=SH(),Ufe=TH(),qfe=FH(),Hfe=zH(),zfe=JH(),DQ;function Gfe(t={}){let e=(0,Lfe.createPipelineFromOptions)(t);e.addPolicy((0,Ffe.apiVersionPolicy)(t));let{credential:r,authSchemes:n,allowInsecureConnection:i}=t;return r&&((0,Zm.isApiKeyCredential)(r)?e.addPolicy((0,Ufe.apiKeyAuthenticationPolicy)({authSchemes:n,credential:r,allowInsecureConnection:i})):(0,Zm.isBasicCredential)(r)?e.addPolicy((0,qfe.basicAuthenticationPolicy)({authSchemes:n,credential:r,allowInsecureConnection:i})):(0,Zm.isBearerTokenCredential)(r)?e.addPolicy((0,Hfe.bearerAuthenticationPolicy)({authSchemes:n,credential:r,allowInsecureConnection:i})):(0,Zm.isOAuth2TokenCredential)(r)&&e.addPolicy((0,zfe.oauth2AuthenticationPolicy)({authSchemes:n,credential:r,allowInsecureConnection:i}))),e}s(Gfe,"createDefaultPipeline");function jfe(){return DQ||(DQ=(0,kfe.createDefaultHttpClient)()),DQ}s(jfe,"getCachedDefaultHttpsClient")});var n2=f((x2e,r2)=>{var MQ=Object.defineProperty,Yfe=Object.getOwnPropertyDescriptor,Jfe=Object.getOwnPropertyNames,Vfe=Object.prototype.hasOwnProperty,Wfe=s((t,e)=>{for(var r in e)MQ(t,r,{get:e[r],enumerable:!0})},"__export"),Kfe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Jfe(e))!Vfe.call(t,i)&&i!==r&&MQ(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=Yfe(e,i))||n.enumerable});return t},"__copyProps"),$fe=s(t=>Kfe(MQ({},"__esModule",{value:!0}),t),"__toCommonJS"),XH={};Wfe(XH,{buildBodyPart:s(()=>t2,"buildBodyPart"),buildMultipartBody:s(()=>nye,"buildMultipartBody")});r2.exports=$fe(XH);var Xfe=Ic(),Zfe=Ds(),KH=Fo(),ZH=ou();function e2(t,e){if(t.headers){let r=Object.keys(t.headers).find(n=>n.toLowerCase()===e.toLowerCase());if(r)return t.headers[r]}}s(e2,"getHeaderValue");function eye(t){let e=e2(t,"content-type");if(e)return e;if(t.contentType===null)return;if(t.contentType)return t.contentType;let{body:r}=t;if(r!=null)return typeof r=="string"||typeof r=="number"||typeof r=="boolean"?"text/plain; charset=UTF-8":r instanceof Blob?r.type||"application/octet-stream":(0,ZH.isBinaryBody)(r)?"application/octet-stream":"application/json"}s(eye,"getPartContentType");function $H(t){return JSON.stringify(t)}s($H,"escapeDispositionField");function tye(t){let e=e2(t,"content-disposition");if(e)return e;if(t.dispositionType===void 0&&t.name===void 0&&t.filename===void 0)return;let n=t.dispositionType??"form-data";t.name&&(n+=`; name=${$H(t.name)}`);let i;if(t.filename)i=t.filename;else if(typeof File<"u"&&t.body instanceof File){let o=t.body.name;o!==""&&(i=o)}return i&&(n+=`; filename=${$H(i)}`),n}s(tye,"getContentDisposition");function rye(t,e){if(t===void 0)return new Uint8Array([]);if((0,ZH.isBinaryBody)(t))return t;if(typeof t=="string"||typeof t=="number"||typeof t=="boolean")return(0,KH.stringToUint8Array)(String(t),"utf-8");if(e&&/application\/(.+\+)?json(;.+)?/i.test(String(e)))return(0,KH.stringToUint8Array)(JSON.stringify(t),"utf-8");throw new Xfe.RestError(`Unsupported body/content-type combination: ${t}, ${e}`)}s(rye,"normalizeBody");function t2(t){let e=eye(t),r=tye(t),n=(0,Zfe.createHttpHeaders)(t.headers??{});e&&n.set("content-type",e),r&&n.set("content-disposition",r);let i=rye(t.body,e);return{headers:n,body:i}}s(t2,"buildBodyPart");function nye(t){return{parts:t.map(t2)}}s(nye,"buildMultipartBody")});var a2=f((v2e,o2)=>{var FQ=Object.defineProperty,iye=Object.getOwnPropertyDescriptor,sye=Object.getOwnPropertyNames,oye=Object.prototype.hasOwnProperty,aye=s((t,e)=>{for(var r in e)FQ(t,r,{get:e[r],enumerable:!0})},"__export"),cye=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of sye(e))!oye.call(t,i)&&i!==r&&FQ(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=iye(e,i))||n.enumerable});return t},"__copyProps"),lye=s(t=>cye(FQ({},"__esModule",{value:!0}),t),"__toCommonJS"),i2={};aye(i2,{getRequestBody:s(()=>s2,"getRequestBody"),sendRequest:s(()=>mye,"sendRequest")});o2.exports=lye(i2);var kQ=Ic(),Aye=Ds(),uye=mb(),dye=OQ(),LQ=ou(),pye=n2();async function mye(t,e,r,n={},i){let o=i??(0,dye.getCachedDefaultHttpsClient)(),a=fye(t,e,n);try{let c=await r.sendRequest(o,a),l=c.headers.toJSON(),A=c.readableStreamBody??c.browserStreamBody,u=n.responseAsStream||A!==void 0?void 0:yye(c),d=A??u;return n?.onResponse&&n.onResponse({...c,request:a,rawHeaders:l,parsedBody:u}),{request:a,headers:l,status:`${c.status}`,body:d}}catch(c){if((0,kQ.isRestError)(c)&&c.response&&n.onResponse){let{response:l}=c,A=l.headers.toJSON();n?.onResponse({...l,request:a,rawHeaders:A},c)}throw c}}s(mye,"sendRequest");function gye(t={}){return t.contentType??t.headers?.["content-type"]??hye(t.body)}s(gye,"getRequestContentType");function hye(t){if(t!==void 0){if(ArrayBuffer.isView(t))return"application/octet-stream";if((0,LQ.isBlob)(t)&&t.type)return t.type;if(typeof t=="string")try{return JSON.parse(t),"application/json"}catch{return}return"application/json"}}s(hye,"getContentType");function fye(t,e,r={}){let n=gye(r),{body:i,multipartBody:o}=s2(r.body,n),a=(0,Aye.createHttpHeaders)({...r.headers?r.headers:{},accept:r.accept??r.headers?.accept??"application/json",...n&&{"content-type":n}});return(0,uye.createPipelineRequest)({url:e,method:t,body:i,multipartBody:o,headers:a,allowInsecureConnection:r.allowInsecureConnection,abortSignal:r.abortSignal,onUploadProgress:r.onUploadProgress,onDownloadProgress:r.onDownloadProgress,timeout:r.timeout,enableBrowserStreams:!0,streamResponseStatusCodes:r.responseAsStream?new Set([Number.POSITIVE_INFINITY]):void 0})}s(fye,"buildPipelineRequest");function s2(t,e=""){if(t===void 0)return{body:void 0};if(typeof FormData<"u"&&t instanceof FormData)return{body:t};if((0,LQ.isBlob)(t))return{body:t};if((0,LQ.isReadableStream)(t)||typeof t=="function")return{body:t};if(ArrayBuffer.isView(t))return{body:t instanceof Uint8Array?t:JSON.stringify(t)};switch(e.split(";")[0]){case"application/json":return{body:JSON.stringify(t)};case"multipart/form-data":return Array.isArray(t)?{multipartBody:(0,pye.buildMultipartBody)(t)}:{body:JSON.stringify(t)};case"text/plain":return{body:String(t)};default:return typeof t=="string"?{body:t}:{body:JSON.stringify(t)}}}s(s2,"getRequestBody");function yye(t){let r=(t.headers.get("content-type")??"").split(";")[0],n=t.bodyAsText??"";if(r==="text/plain")return String(n);try{return n?JSON.parse(n):void 0}catch(i){if(r==="application/json")throw Cye(t,i);return String(n)}}s(yye,"getResponseBody");function Cye(t,e){let r=`Error "${e}" occurred while parsing the response body - ${t.bodyAsText}.`,n=e.code??kQ.RestError.PARSE_ERROR;return new kQ.RestError(r,{code:n,statusCode:t.status,request:t.request,response:t})}s(Cye,"createParseError")});var d2=f((_2e,u2)=>{var qQ=Object.defineProperty,Eye=Object.getOwnPropertyDescriptor,Bye=Object.getOwnPropertyNames,Iye=Object.prototype.hasOwnProperty,bye=s((t,e)=>{for(var r in e)qQ(t,r,{get:e[r],enumerable:!0})},"__export"),Qye=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Bye(e))!Iye.call(t,i)&&i!==r&&qQ(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=Eye(e,i))||n.enumerable});return t},"__copyProps"),Nye=s(t=>Qye(qQ({},"__esModule",{value:!0}),t),"__toCommonJS"),c2={};bye(c2,{buildBaseUrl:s(()=>l2,"buildBaseUrl"),buildRequestUrl:s(()=>Sye,"buildRequestUrl"),replaceAll:s(()=>A2,"replaceAll")});u2.exports=Nye(c2);function wye(t){let e=t.value;return e!==void 0&&e.toString!==void 0&&typeof e.toString=="function"}s(wye,"isQueryParameterWithOptions");function Sye(t,e,r,n={}){if(e.startsWith("https://")||e.startsWith("http://"))return e;t=l2(t,n),e=Rye(e,r,n);let i=xye(`${t}/${e}`,n);return new URL(i).toString().replace(/([^:]\/)\/+/g,"$1")}s(Sye,"buildRequestUrl");function UQ(t,e,r,n){let i;r==="pipeDelimited"?i="|":r==="spaceDelimited"?i="%20":i=",";let o;Array.isArray(n)?o=n:typeof n=="object"&&n.toString===Object.prototype.toString?o=Object.entries(n).flat():o=[n];let a=o.map(c=>{if(c==null)return"";if(!c.toString||typeof c.toString!="function")throw new Error(`Query parameters must be able to be represented as string, ${t} can't`);let l=c.toISOString!==void 0?c.toISOString():c.toString();return e?l:encodeURIComponent(l)}).join(i);return`${e?t:encodeURIComponent(t)}=${a}`}s(UQ,"getQueryParamValue");function xye(t,e={}){if(!e.queryParameters)return t;let r=new URL(t),n=e.queryParameters,i=[];for(let o of Object.keys(n)){let a=n[o];if(a==null)continue;let c=wye(a),l=c?a.value:a,A=c?a.explode??!1:!1,u=c&&a.style?a.style:"form";if(A)if(Array.isArray(l))for(let d of l)i.push(UQ(o,e.skipUrlEncoding??!1,u,d));else if(typeof l=="object")for(let[d,g]of Object.entries(l))i.push(UQ(d,e.skipUrlEncoding??!1,u,g));else throw new Error("explode can only be set to true for objects and arrays");else i.push(UQ(o,e.skipUrlEncoding??!1,u,l))}return r.search!==""&&(r.search+="&"),r.search+=i.join("&"),r.toString()}s(xye,"appendQueryParams");function l2(t,e){if(!e.pathParameters)return t;let r=e.pathParameters;for(let[n,i]of Object.entries(r)){if(i==null)throw new Error(`Path parameters ${n} must not be undefined or null`);if(!i.toString||typeof i.toString!="function")throw new Error(`Path parameters must be able to be represented as string, ${n} can't`);let o=i.toISOString!==void 0?i.toISOString():String(i);e.skipUrlEncoding||(o=encodeURIComponent(i)),t=A2(t,`{${n}}`,o)??""}return t}s(l2,"buildBaseUrl");function Rye(t,e,r={}){for(let n of e){let i=typeof n=="object"&&(n.allowReserved??!1),o=typeof n=="object"?n.value:n;!r.skipUrlEncoding&&!i&&(o=encodeURIComponent(o)),t=t.replace(/\{[\w-]+\}/,String(o))}return t}s(Rye,"buildRoutePath");function A2(t,e,r){return!t||!e?t:t.split(e).join(r||"")}s(A2,"replaceAll")});var h2=f((T2e,g2)=>{var zQ=Object.defineProperty,vye=Object.getOwnPropertyDescriptor,Pye=Object.getOwnPropertyNames,_ye=Object.prototype.hasOwnProperty,Dye=s((t,e)=>{for(var r in e)zQ(t,r,{get:e[r],enumerable:!0})},"__export"),Tye=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Pye(e))!_ye.call(t,i)&&i!==r&&zQ(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=vye(e,i))||n.enumerable});return t},"__copyProps"),Oye=s(t=>Tye(zQ({},"__esModule",{value:!0}),t),"__toCommonJS"),m2={};Dye(m2,{getClient:s(()=>Lye,"getClient")});g2.exports=Oye(m2);var Mye=OQ(),HQ=a2(),kye=d2(),p2=iu();function Lye(t,e={}){let r=e.pipeline??(0,Mye.createDefaultPipeline)(e);if(e.additionalPolicies?.length)for(let{policy:c,position:l}of e.additionalPolicies){let A=l==="perRetry"?"Sign":void 0;r.addPolicy(c,{afterPhase:A})}let{allowInsecureConnection:n,httpClient:i}=e,o=e.endpoint??t,a=s((c,...l)=>{let A=s(u=>(0,kye.buildRequestUrl)(o,c,l,{allowInsecureConnection:n,...u}),"getUrl");return{get:s((u={})=>Os("GET",A(u),r,u,n,i),"get"),post:s((u={})=>Os("POST",A(u),r,u,n,i),"post"),put:s((u={})=>Os("PUT",A(u),r,u,n,i),"put"),patch:s((u={})=>Os("PATCH",A(u),r,u,n,i),"patch"),delete:s((u={})=>Os("DELETE",A(u),r,u,n,i),"delete"),head:s((u={})=>Os("HEAD",A(u),r,u,n,i),"head"),options:s((u={})=>Os("OPTIONS",A(u),r,u,n,i),"options"),trace:s((u={})=>Os("TRACE",A(u),r,u,n,i),"trace")}},"client");return{path:a,pathUnchecked:a,pipeline:r}}s(Lye,"getClient");function Os(t,e,r,n,i,o){return i=n.allowInsecureConnection??i,{then:s(function(a,c){return(0,HQ.sendRequest)(t,e,r,{...n,allowInsecureConnection:i},o).then(a,c)},"then"),async asBrowserStream(){if(p2.isNodeLike)throw new Error("`asBrowserStream` is supported only in the browser environment. Use `asNodeStream` instead to obtain the response body stream. If you require a Web stream of the response in Node, consider using `Readable.toWeb` on the result of `asNodeStream`.");return(0,HQ.sendRequest)(t,e,r,{...n,allowInsecureConnection:i,responseAsStream:!0},o)},async asNodeStream(){if(p2.isNodeLike)return(0,HQ.sendRequest)(t,e,r,{...n,allowInsecureConnection:i,responseAsStream:!0},o);throw new Error("`isNodeStream` is not supported in the browser environment. Use `asBrowserStream` to obtain the response body stream.")}}}s(Os,"buildOperation")});var C2=f((M2e,y2)=>{var GQ=Object.defineProperty,Fye=Object.getOwnPropertyDescriptor,Uye=Object.getOwnPropertyNames,qye=Object.prototype.hasOwnProperty,Hye=s((t,e)=>{for(var r in e)GQ(t,r,{get:e[r],enumerable:!0})},"__export"),zye=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Uye(e))!qye.call(t,i)&&i!==r&&GQ(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=Fye(e,i))||n.enumerable});return t},"__copyProps"),Gye=s(t=>zye(GQ({},"__esModule",{value:!0}),t),"__toCommonJS"),f2={};Hye(f2,{operationOptionsToRequestParameters:s(()=>jye,"operationOptionsToRequestParameters")});y2.exports=Gye(f2);function jye(t){return{allowInsecureConnection:t.requestOptions?.allowInsecureConnection,timeout:t.requestOptions?.timeout,skipUrlEncoding:t.requestOptions?.skipUrlEncoding,abortSignal:t.abortSignal,onUploadProgress:t.requestOptions?.onUploadProgress,onDownloadProgress:t.requestOptions?.onDownloadProgress,headers:{...t.requestOptions?.headers},onResponse:t.onResponse}}s(jye,"operationOptionsToRequestParameters")});var b2=f((L2e,I2)=>{var jQ=Object.defineProperty,Yye=Object.getOwnPropertyDescriptor,Jye=Object.getOwnPropertyNames,Vye=Object.prototype.hasOwnProperty,Wye=s((t,e)=>{for(var r in e)jQ(t,r,{get:e[r],enumerable:!0})},"__export"),Kye=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Jye(e))!Vye.call(t,i)&&i!==r&&jQ(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=Yye(e,i))||n.enumerable});return t},"__copyProps"),$ye=s(t=>Kye(jQ({},"__esModule",{value:!0}),t),"__toCommonJS"),E2={};Wye(E2,{createRestError:s(()=>eCe,"createRestError")});I2.exports=$ye(E2);var Xye=Ic(),Zye=Ds();function eCe(t,e){let r=typeof t=="string"?e:t,n=r.body?.error??r.body,i=typeof t=="string"?t:n?.message??`Unexpected status code: ${r.status}`;return new Xye.RestError(i,{statusCode:B2(r.status),code:n?.code,request:r.request,response:tCe(r)})}s(eCe,"createRestError");function tCe(t){return{headers:(0,Zye.createHttpHeaders)(t.headers),request:t.request,status:B2(t.status)??-1}}s(tCe,"toPipelineResponse");function B2(t){let e=Number.parseInt(t);return Number.isNaN(e)?void 0:e}s(B2,"statusCodeToNumber")});var _c=f((U2e,S2)=>{var YQ=Object.defineProperty,rCe=Object.getOwnPropertyDescriptor,nCe=Object.getOwnPropertyNames,iCe=Object.prototype.hasOwnProperty,sCe=s((t,e)=>{for(var r in e)YQ(t,r,{get:e[r],enumerable:!0})},"__export"),oCe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of nCe(e))!iCe.call(t,i)&&i!==r&&YQ(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=rCe(e,i))||n.enumerable});return t},"__copyProps"),aCe=s(t=>oCe(YQ({},"__esModule",{value:!0}),t),"__toCommonJS"),w2={};sCe(w2,{AbortError:s(()=>cCe.AbortError,"AbortError"),RestError:s(()=>Q2.RestError,"RestError"),TypeSpecRuntimeLogger:s(()=>eg.TypeSpecRuntimeLogger,"TypeSpecRuntimeLogger"),createClientLogger:s(()=>eg.createClientLogger,"createClientLogger"),createDefaultHttpClient:s(()=>dCe.createDefaultHttpClient,"createDefaultHttpClient"),createEmptyPipeline:s(()=>uCe.createEmptyPipeline,"createEmptyPipeline"),createHttpHeaders:s(()=>lCe.createHttpHeaders,"createHttpHeaders"),createPipelineRequest:s(()=>ACe.createPipelineRequest,"createPipelineRequest"),createRestError:s(()=>gCe.createRestError,"createRestError"),getClient:s(()=>pCe.getClient,"getClient"),getLogLevel:s(()=>eg.getLogLevel,"getLogLevel"),isRestError:s(()=>Q2.isRestError,"isRestError"),operationOptionsToRequestParameters:s(()=>mCe.operationOptionsToRequestParameters,"operationOptionsToRequestParameters"),setLogLevel:s(()=>eg.setLogLevel,"setLogLevel"),stringToUint8Array:s(()=>N2.stringToUint8Array,"stringToUint8Array"),uint8ArrayToString:s(()=>N2.uint8ArrayToString,"uint8ArrayToString")});S2.exports=aCe(w2);var cCe=XA(),eg=eu(),lCe=Ds(),ACe=mb(),uCe=fb(),Q2=Ic(),N2=Fo(),dCe=Db(),pCe=h2(),mCe=C2(),gCe=b2()});var VQ=f((H2e,R2)=>{var JQ=Object.defineProperty,hCe=Object.getOwnPropertyDescriptor,fCe=Object.getOwnPropertyNames,yCe=Object.prototype.hasOwnProperty,CCe=s((t,e)=>{for(var r in e)JQ(t,r,{get:e[r],enumerable:!0})},"__export"),ECe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of fCe(e))!yCe.call(t,i)&&i!==r&&JQ(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=hCe(e,i))||n.enumerable});return t},"__copyProps"),BCe=s(t=>ECe(JQ({},"__esModule",{value:!0}),t),"__toCommonJS"),x2={};CCe(x2,{createEmptyPipeline:s(()=>bCe,"createEmptyPipeline")});R2.exports=BCe(x2);var ICe=_c();function bCe(){return(0,ICe.createEmptyPipeline)()}s(bCe,"createEmptyPipeline")});var _2=f((G2e,P2)=>{var WQ=Object.defineProperty,QCe=Object.getOwnPropertyDescriptor,NCe=Object.getOwnPropertyNames,wCe=Object.prototype.hasOwnProperty,SCe=s((t,e)=>{for(var r in e)WQ(t,r,{get:e[r],enumerable:!0})},"__export"),xCe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of NCe(e))!wCe.call(t,i)&&i!==r&&WQ(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=QCe(e,i))||n.enumerable});return t},"__copyProps"),RCe=s(t=>xCe(WQ({},"__esModule",{value:!0}),t),"__toCommonJS"),v2={};SCe(v2,{createLoggerContext:s(()=>vCe.createLoggerContext,"createLoggerContext")});P2.exports=RCe(v2);var vCe=eu()});var zo=f(Ho=>{"use strict";Object.defineProperty(Ho,"__esModule",{value:!0});Ho.AzureLogger=void 0;Ho.setLogLevel=_Ce;Ho.getLogLevel=DCe;Ho.createClientLogger=TCe;var PCe=_2(),tg=(0,PCe.createLoggerContext)({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"});Ho.AzureLogger=tg.logger;function _Ce(t){tg.setLogLevel(t)}s(_Ce,"setLogLevel");function DCe(){return tg.getLogLevel()}s(DCe,"getLogLevel");function TCe(t){return tg.createClientLogger(t)}s(TCe,"createClientLogger")});var cu=f((V2e,T2)=>{var KQ=Object.defineProperty,OCe=Object.getOwnPropertyDescriptor,MCe=Object.getOwnPropertyNames,kCe=Object.prototype.hasOwnProperty,LCe=s((t,e)=>{for(var r in e)KQ(t,r,{get:e[r],enumerable:!0})},"__export"),FCe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of MCe(e))!kCe.call(t,i)&&i!==r&&KQ(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=OCe(e,i))||n.enumerable});return t},"__copyProps"),UCe=s(t=>FCe(KQ({},"__esModule",{value:!0}),t),"__toCommonJS"),D2={};LCe(D2,{logger:s(()=>HCe,"logger")});T2.exports=UCe(D2);var qCe=zo(),HCe=(0,qCe.createClientLogger)("core-rest-pipeline")});var k2=f((K2e,M2)=>{var $Q=Object.defineProperty,zCe=Object.getOwnPropertyDescriptor,GCe=Object.getOwnPropertyNames,jCe=Object.prototype.hasOwnProperty,YCe=s((t,e)=>{for(var r in e)$Q(t,r,{get:e[r],enumerable:!0})},"__export"),JCe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of GCe(e))!jCe.call(t,i)&&i!==r&&$Q(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=zCe(e,i))||n.enumerable});return t},"__copyProps"),VCe=s(t=>JCe($Q({},"__esModule",{value:!0}),t),"__toCommonJS"),O2={};YCe(O2,{exponentialRetryPolicy:s(()=>ZCe,"exponentialRetryPolicy"),exponentialRetryPolicyName:s(()=>XCe,"exponentialRetryPolicyName")});M2.exports=VCe(O2);var WCe=Hm(),KCe=Nc(),$Ce=Uo(),XCe="exponentialRetryPolicy";function ZCe(t={}){return(0,KCe.retryPolicy)([(0,WCe.exponentialRetryStrategy)({...t,ignoreSystemErrors:!0})],{maxRetries:t.maxRetries??$Ce.DEFAULT_RETRY_POLICY_COUNT})}s(ZCe,"exponentialRetryPolicy")});var q2=f((X2e,U2)=>{var XQ=Object.defineProperty,eEe=Object.getOwnPropertyDescriptor,tEe=Object.getOwnPropertyNames,rEe=Object.prototype.hasOwnProperty,nEe=s((t,e)=>{for(var r in e)XQ(t,r,{get:e[r],enumerable:!0})},"__export"),iEe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of tEe(e))!rEe.call(t,i)&&i!==r&&XQ(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=eEe(e,i))||n.enumerable});return t},"__copyProps"),sEe=s(t=>iEe(XQ({},"__esModule",{value:!0}),t),"__toCommonJS"),L2={};nEe(L2,{systemErrorRetryPolicy:s(()=>lEe,"systemErrorRetryPolicy"),systemErrorRetryPolicyName:s(()=>F2,"systemErrorRetryPolicyName")});U2.exports=sEe(L2);var oEe=Hm(),aEe=Nc(),cEe=Uo(),F2="systemErrorRetryPolicy";function lEe(t={}){return{name:F2,sendRequest:(0,aEe.retryPolicy)([(0,oEe.exponentialRetryStrategy)({...t,ignoreHttpStatusCodes:!0})],{maxRetries:t.maxRetries??cEe.DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}s(lEe,"systemErrorRetryPolicy")});var j2=f((eze,G2)=>{var ZQ=Object.defineProperty,AEe=Object.getOwnPropertyDescriptor,uEe=Object.getOwnPropertyNames,dEe=Object.prototype.hasOwnProperty,pEe=s((t,e)=>{for(var r in e)ZQ(t,r,{get:e[r],enumerable:!0})},"__export"),mEe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of uEe(e))!dEe.call(t,i)&&i!==r&&ZQ(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=AEe(e,i))||n.enumerable});return t},"__copyProps"),gEe=s(t=>mEe(ZQ({},"__esModule",{value:!0}),t),"__toCommonJS"),H2={};pEe(H2,{throttlingRetryPolicy:s(()=>CEe,"throttlingRetryPolicy"),throttlingRetryPolicyName:s(()=>z2,"throttlingRetryPolicyName")});G2.exports=gEe(H2);var hEe=qm(),fEe=Nc(),yEe=Uo(),z2="throttlingRetryPolicy";function CEe(t={}){return{name:z2,sendRequest:(0,fEe.retryPolicy)([(0,hEe.throttlingRetryStrategy)()],{maxRetries:t.maxRetries??yEe.DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}s(CEe,"throttlingRetryPolicy")});var _r=f((rze,sz)=>{var tN=Object.defineProperty,EEe=Object.getOwnPropertyDescriptor,BEe=Object.getOwnPropertyNames,IEe=Object.prototype.hasOwnProperty,bEe=s((t,e)=>{for(var r in e)tN(t,r,{get:e[r],enumerable:!0})},"__export"),QEe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of BEe(e))!IEe.call(t,i)&&i!==r&&tN(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=EEe(e,i))||n.enumerable});return t},"__copyProps"),NEe=s(t=>QEe(tN({},"__esModule",{value:!0}),t),"__toCommonJS"),iz={};bEe(iz,{agentPolicy:s(()=>Y2.agentPolicy,"agentPolicy"),agentPolicyName:s(()=>Y2.agentPolicyName,"agentPolicyName"),decompressResponsePolicy:s(()=>J2.decompressResponsePolicy,"decompressResponsePolicy"),decompressResponsePolicyName:s(()=>J2.decompressResponsePolicyName,"decompressResponsePolicyName"),defaultRetryPolicy:s(()=>V2.defaultRetryPolicy,"defaultRetryPolicy"),defaultRetryPolicyName:s(()=>V2.defaultRetryPolicyName,"defaultRetryPolicyName"),exponentialRetryPolicy:s(()=>W2.exponentialRetryPolicy,"exponentialRetryPolicy"),exponentialRetryPolicyName:s(()=>W2.exponentialRetryPolicyName,"exponentialRetryPolicyName"),formDataPolicy:s(()=>X2.formDataPolicy,"formDataPolicy"),formDataPolicyName:s(()=>X2.formDataPolicyName,"formDataPolicyName"),getDefaultProxySettings:s(()=>eN.getDefaultProxySettings,"getDefaultProxySettings"),logPolicy:s(()=>Z2.logPolicy,"logPolicy"),logPolicyName:s(()=>Z2.logPolicyName,"logPolicyName"),multipartPolicy:s(()=>ez.multipartPolicy,"multipartPolicy"),multipartPolicyName:s(()=>ez.multipartPolicyName,"multipartPolicyName"),proxyPolicy:s(()=>eN.proxyPolicy,"proxyPolicy"),proxyPolicyName:s(()=>eN.proxyPolicyName,"proxyPolicyName"),redirectPolicy:s(()=>tz.redirectPolicy,"redirectPolicy"),redirectPolicyName:s(()=>tz.redirectPolicyName,"redirectPolicyName"),retryPolicy:s(()=>wEe.retryPolicy,"retryPolicy"),systemErrorRetryPolicy:s(()=>K2.systemErrorRetryPolicy,"systemErrorRetryPolicy"),systemErrorRetryPolicyName:s(()=>K2.systemErrorRetryPolicyName,"systemErrorRetryPolicyName"),throttlingRetryPolicy:s(()=>$2.throttlingRetryPolicy,"throttlingRetryPolicy"),throttlingRetryPolicyName:s(()=>$2.throttlingRetryPolicyName,"throttlingRetryPolicyName"),tlsPolicy:s(()=>rz.tlsPolicy,"tlsPolicy"),tlsPolicyName:s(()=>rz.tlsPolicyName,"tlsPolicyName"),userAgentPolicy:s(()=>nz.userAgentPolicy,"userAgentPolicy"),userAgentPolicyName:s(()=>nz.userAgentPolicyName,"userAgentPolicyName")});sz.exports=NEe(iz);var Y2=fQ(),J2=jb(),V2=nQ(),W2=k2(),wEe=Nc(),K2=q2(),$2=j2(),X2=oQ(),Z2=Ob(),ez=QQ(),eN=gQ(),tz=kb(),rz=CQ(),nz=zb()});var nN=f((ize,cz)=>{var rN=Object.defineProperty,SEe=Object.getOwnPropertyDescriptor,xEe=Object.getOwnPropertyNames,REe=Object.prototype.hasOwnProperty,vEe=s((t,e)=>{for(var r in e)rN(t,r,{get:e[r],enumerable:!0})},"__export"),PEe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of xEe(e))!REe.call(t,i)&&i!==r&&rN(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=SEe(e,i))||n.enumerable});return t},"__copyProps"),_Ee=s(t=>PEe(rN({},"__esModule",{value:!0}),t),"__toCommonJS"),oz={};vEe(oz,{logPolicy:s(()=>OEe,"logPolicy"),logPolicyName:s(()=>TEe,"logPolicyName")});cz.exports=_Ee(oz);var DEe=cu(),az=_r(),TEe=az.logPolicyName;function OEe(t={}){return(0,az.logPolicy)({logger:DEe.logger.info,...t})}s(OEe,"logPolicy")});var sN=f((oze,uz)=>{var iN=Object.defineProperty,MEe=Object.getOwnPropertyDescriptor,kEe=Object.getOwnPropertyNames,LEe=Object.prototype.hasOwnProperty,FEe=s((t,e)=>{for(var r in e)iN(t,r,{get:e[r],enumerable:!0})},"__export"),UEe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of kEe(e))!LEe.call(t,i)&&i!==r&&iN(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=MEe(e,i))||n.enumerable});return t},"__copyProps"),qEe=s(t=>UEe(iN({},"__esModule",{value:!0}),t),"__toCommonJS"),lz={};FEe(lz,{redirectPolicy:s(()=>zEe,"redirectPolicy"),redirectPolicyName:s(()=>HEe,"redirectPolicyName")});uz.exports=qEe(lz);var Az=_r(),HEe=Az.redirectPolicyName;function zEe(t={}){return(0,Az.redirectPolicy)(t)}s(zEe,"redirectPolicy")});var hz=f((cze,gz)=>{var GEe=Object.create,rg=Object.defineProperty,jEe=Object.getOwnPropertyDescriptor,YEe=Object.getOwnPropertyNames,JEe=Object.getPrototypeOf,VEe=Object.prototype.hasOwnProperty,WEe=s((t,e)=>{for(var r in e)rg(t,r,{get:e[r],enumerable:!0})},"__export"),dz=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of YEe(e))!VEe.call(t,i)&&i!==r&&rg(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=jEe(e,i))||n.enumerable});return t},"__copyProps"),pz=s((t,e,r)=>(r=t!=null?GEe(JEe(t)):{},dz(e||!t||!t.__esModule?rg(r,"default",{value:t,enumerable:!0}):r,t)),"__toESM"),KEe=s(t=>dz(rg({},"__esModule",{value:!0}),t),"__toCommonJS"),mz={};WEe(mz,{getHeaderName:s(()=>$Ee,"getHeaderName"),setPlatformSpecificData:s(()=>XEe,"setPlatformSpecificData")});gz.exports=KEe(mz);var oN=pz(require("node:os")),aN=pz(require("node:process"));function $Ee(){return"User-Agent"}s($Ee,"getHeaderName");async function XEe(t){if(aN.default&&aN.default.versions){let e=`${oN.default.type()} ${oN.default.release()}; ${oN.default.arch()}`,r=aN.default.versions;r.bun?t.set("Bun",`${r.bun} (${e})`):r.deno?t.set("Deno",`${r.deno} (${e})`):r.node&&t.set("Node",`${r.node} (${e})`)}}s(XEe,"setPlatformSpecificData")});var ng=f((Aze,yz)=>{var cN=Object.defineProperty,ZEe=Object.getOwnPropertyDescriptor,eBe=Object.getOwnPropertyNames,tBe=Object.prototype.hasOwnProperty,rBe=s((t,e)=>{for(var r in e)cN(t,r,{get:e[r],enumerable:!0})},"__export"),nBe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of eBe(e))!tBe.call(t,i)&&i!==r&&cN(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=ZEe(e,i))||n.enumerable});return t},"__copyProps"),iBe=s(t=>nBe(cN({},"__esModule",{value:!0}),t),"__toCommonJS"),fz={};rBe(fz,{DEFAULT_RETRY_POLICY_COUNT:s(()=>oBe,"DEFAULT_RETRY_POLICY_COUNT"),SDK_VERSION:s(()=>sBe,"SDK_VERSION")});yz.exports=iBe(fz);var sBe="1.22.3",oBe=3});var AN=f((dze,Bz)=>{var lN=Object.defineProperty,aBe=Object.getOwnPropertyDescriptor,cBe=Object.getOwnPropertyNames,lBe=Object.prototype.hasOwnProperty,ABe=s((t,e)=>{for(var r in e)lN(t,r,{get:e[r],enumerable:!0})},"__export"),uBe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of cBe(e))!lBe.call(t,i)&&i!==r&&lN(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=aBe(e,i))||n.enumerable});return t},"__copyProps"),dBe=s(t=>uBe(lN({},"__esModule",{value:!0}),t),"__toCommonJS"),Cz={};ABe(Cz,{getUserAgentHeaderName:s(()=>gBe,"getUserAgentHeaderName"),getUserAgentValue:s(()=>hBe,"getUserAgentValue")});Bz.exports=dBe(Cz);var Ez=hz(),pBe=ng();function mBe(t){let e=[];for(let[r,n]of t){let i=n?`${r}/${n}`:r;e.push(i)}return e.join(" ")}s(mBe,"getUserAgentString");function gBe(){return(0,Ez.getHeaderName)()}s(gBe,"getUserAgentHeaderName");async function hBe(t){let e=new Map;e.set("core-rest-pipeline",pBe.SDK_VERSION),await(0,Ez.setPlatformSpecificData)(e);let r=mBe(e);return t?`${t} ${r}`:r}s(hBe,"getUserAgentValue")});var dN=f((mze,wz)=>{var uN=Object.defineProperty,fBe=Object.getOwnPropertyDescriptor,yBe=Object.getOwnPropertyNames,CBe=Object.prototype.hasOwnProperty,EBe=s((t,e)=>{for(var r in e)uN(t,r,{get:e[r],enumerable:!0})},"__export"),BBe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of yBe(e))!CBe.call(t,i)&&i!==r&&uN(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=fBe(e,i))||n.enumerable});return t},"__copyProps"),IBe=s(t=>BBe(uN({},"__esModule",{value:!0}),t),"__toCommonJS"),bz={};EBe(bz,{userAgentPolicy:s(()=>bBe,"userAgentPolicy"),userAgentPolicyName:s(()=>Nz,"userAgentPolicyName")});wz.exports=IBe(bz);var Qz=AN(),Iz=(0,Qz.getUserAgentHeaderName)(),Nz="userAgentPolicy";function bBe(t={}){let e=(0,Qz.getUserAgentValue)(t.userAgentPrefix);return{name:Nz,async sendRequest(r,n){return r.headers.has(Iz)||r.headers.set(Iz,await e),n(r)}}}s(bBe,"userAgentPolicy")});var vz=f((hze,Rz)=>{var pN=Object.defineProperty,QBe=Object.getOwnPropertyDescriptor,NBe=Object.getOwnPropertyNames,wBe=Object.prototype.hasOwnProperty,SBe=s((t,e)=>{for(var r in e)pN(t,r,{get:e[r],enumerable:!0})},"__export"),xBe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of NBe(e))!wBe.call(t,i)&&i!==r&&pN(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=QBe(e,i))||n.enumerable});return t},"__copyProps"),RBe=s(t=>xBe(pN({},"__esModule",{value:!0}),t),"__toCommonJS"),Sz={};SBe(Sz,{computeSha256Hash:s(()=>PBe,"computeSha256Hash"),computeSha256Hmac:s(()=>vBe,"computeSha256Hmac")});Rz.exports=RBe(Sz);var xz=require("node:crypto");async function vBe(t,e,r){let n=Buffer.from(t,"base64");return(0,xz.createHmac)("sha256",n).update(e).digest(r)}s(vBe,"computeSha256Hmac");async function PBe(t,e){return(0,xz.createHash)("sha256").update(t).digest(e)}s(PBe,"computeSha256Hash")});var lu=f((yze,Tz)=>{var mN=Object.defineProperty,_Be=Object.getOwnPropertyDescriptor,DBe=Object.getOwnPropertyNames,TBe=Object.prototype.hasOwnProperty,OBe=s((t,e)=>{for(var r in e)mN(t,r,{get:e[r],enumerable:!0})},"__export"),MBe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of DBe(e))!TBe.call(t,i)&&i!==r&&mN(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=_Be(e,i))||n.enumerable});return t},"__copyProps"),kBe=s(t=>MBe(mN({},"__esModule",{value:!0}),t),"__toCommonJS"),Dz={};OBe(Dz,{Sanitizer:s(()=>zBe.Sanitizer,"Sanitizer"),calculateRetryDelay:s(()=>LBe.calculateRetryDelay,"calculateRetryDelay"),computeSha256Hash:s(()=>Pz.computeSha256Hash,"computeSha256Hash"),computeSha256Hmac:s(()=>Pz.computeSha256Hmac,"computeSha256Hmac"),getRandomIntegerInclusive:s(()=>FBe.getRandomIntegerInclusive,"getRandomIntegerInclusive"),isBrowser:s(()=>Go.isBrowser,"isBrowser"),isBun:s(()=>Go.isBun,"isBun"),isDeno:s(()=>Go.isDeno,"isDeno"),isError:s(()=>qBe.isError,"isError"),isNodeLike:s(()=>Go.isNodeLike,"isNodeLike"),isNodeRuntime:s(()=>Go.isNodeRuntime,"isNodeRuntime"),isObject:s(()=>UBe.isObject,"isObject"),isReactNative:s(()=>Go.isReactNative,"isReactNative"),isWebWorker:s(()=>Go.isWebWorker,"isWebWorker"),randomUUID:s(()=>HBe.randomUUID,"randomUUID"),stringToUint8Array:s(()=>_z.stringToUint8Array,"stringToUint8Array"),uint8ArrayToString:s(()=>_z.uint8ArrayToString,"uint8ArrayToString")});Tz.exports=kBe(Dz);var LBe=Wb(),FBe=Jb(),UBe=Mm(),qBe=Eb(),Pz=vz(),HBe=Om(),Go=iu(),_z=Fo(),zBe=tu()});var Oz=f(gN=>{"use strict";Object.defineProperty(gN,"__esModule",{value:!0});gN.cancelablePromiseRace=GBe;async function GBe(t,e){let r=new AbortController;function n(){r.abort()}s(n,"abortHandler"),e?.abortSignal?.addEventListener("abort",n);try{return await Promise.race(t.map(i=>i({abortSignal:r.signal})))}finally{r.abort(),e?.abortSignal?.removeEventListener("abort",n)}}s(GBe,"cancelablePromiseRace")});var Mz=f(ig=>{"use strict";Object.defineProperty(ig,"__esModule",{value:!0});ig.AbortError=void 0;var hN=class extends Error{static{s(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};ig.AbortError=hN});var kz=f(sg=>{"use strict";Object.defineProperty(sg,"__esModule",{value:!0});sg.AbortError=void 0;var jBe=Mz();Object.defineProperty(sg,"AbortError",{enumerable:!0,get:s(function(){return jBe.AbortError},"get")})});var yN=f(fN=>{"use strict";Object.defineProperty(fN,"__esModule",{value:!0});fN.createAbortablePromise=JBe;var YBe=kz();function JBe(t,e){let{cleanupBeforeAbort:r,abortSignal:n,abortErrorMsg:i}=e??{};return new Promise((o,a)=>{function c(){a(new YBe.AbortError(i??"The operation was aborted."))}s(c,"rejectOnAbort");function l(){n?.removeEventListener("abort",A)}s(l,"removeListeners");function A(){r?.(),l(),c()}if(s(A,"onAbort"),n?.aborted)return c();try{t(u=>{l(),o(u)},u=>{l(),a(u)})}catch(u){a(u)}n?.addEventListener("abort",A)})}s(JBe,"createAbortablePromise")});var Lz=f(og=>{"use strict";Object.defineProperty(og,"__esModule",{value:!0});og.delay=$Be;og.calculateRetryDelay=XBe;var VBe=yN(),WBe=lu(),KBe="The delay was aborted.";function $Be(t,e){let r,{abortSignal:n,abortErrorMsg:i}=e??{};return(0,VBe.createAbortablePromise)(o=>{r=setTimeout(o,t)},{cleanupBeforeAbort:s(()=>clearTimeout(r),"cleanupBeforeAbort"),abortSignal:n,abortErrorMsg:i??KBe})}s($Be,"delay");function XBe(t,e){let r=e.retryDelayInMs*Math.pow(2,t),n=Math.min(e.maxRetryDelayInMs,r);return{retryAfterInMs:n/2+(0,WBe.getRandomIntegerInclusive)(0,n/2)}}s(XBe,"calculateRetryDelay")});var Fz=f(CN=>{"use strict";Object.defineProperty(CN,"__esModule",{value:!0});CN.getErrorMessage=eIe;var ZBe=lu();function eIe(t){if((0,ZBe.isError)(t))return t.message;{let e;try{typeof t=="object"&&t?e=JSON.stringify(t):e=String(t)}catch{e="[unable to stringify input]"}return`Unknown error ${e}`}}s(eIe,"getErrorMessage")});var qz=f(Au=>{"use strict";Object.defineProperty(Au,"__esModule",{value:!0});Au.isDefined=EN;Au.isObjectWithProperties=tIe;Au.objectHasProperty=Uz;function EN(t){return typeof t<"u"&&t!==null}s(EN,"isDefined");function tIe(t,e){if(!EN(t)||typeof t!="object")return!1;for(let r of e)if(!Uz(t,r))return!1;return!0}s(tIe,"isObjectWithProperties");function Uz(t,e){return EN(t)&&typeof t=="object"&&e in t}s(Uz,"objectHasProperty")});var st=f(he=>{"use strict";Object.defineProperty(he,"__esModule",{value:!0});he.isWebWorker=he.isReactNative=he.isNodeRuntime=he.isNodeLike=he.isNode=he.isDeno=he.isBun=he.isBrowser=he.objectHasProperty=he.isObjectWithProperties=he.isDefined=he.getErrorMessage=he.delay=he.createAbortablePromise=he.cancelablePromiseRace=void 0;he.calculateRetryDelay=aIe;he.computeSha256Hash=cIe;he.computeSha256Hmac=lIe;he.getRandomIntegerInclusive=AIe;he.isError=uIe;he.isObject=dIe;he.randomUUID=pIe;he.uint8ArrayToString=mIe;he.stringToUint8Array=gIe;var rIe=(jt(),Xt(Gt)),er=rIe.__importStar(lu()),nIe=Oz();Object.defineProperty(he,"cancelablePromiseRace",{enumerable:!0,get:s(function(){return nIe.cancelablePromiseRace},"get")});var iIe=yN();Object.defineProperty(he,"createAbortablePromise",{enumerable:!0,get:s(function(){return iIe.createAbortablePromise},"get")});var sIe=Lz();Object.defineProperty(he,"delay",{enumerable:!0,get:s(function(){return sIe.delay},"get")});var oIe=Fz();Object.defineProperty(he,"getErrorMessage",{enumerable:!0,get:s(function(){return oIe.getErrorMessage},"get")});var BN=qz();Object.defineProperty(he,"isDefined",{enumerable:!0,get:s(function(){return BN.isDefined},"get")});Object.defineProperty(he,"isObjectWithProperties",{enumerable:!0,get:s(function(){return BN.isObjectWithProperties},"get")});Object.defineProperty(he,"objectHasProperty",{enumerable:!0,get:s(function(){return BN.objectHasProperty},"get")});function aIe(t,e){return er.calculateRetryDelay(t,e)}s(aIe,"calculateRetryDelay");function cIe(t,e){return er.computeSha256Hash(t,e)}s(cIe,"computeSha256Hash");function lIe(t,e,r){return er.computeSha256Hmac(t,e,r)}s(lIe,"computeSha256Hmac");function AIe(t,e){return er.getRandomIntegerInclusive(t,e)}s(AIe,"getRandomIntegerInclusive");function uIe(t){return er.isError(t)}s(uIe,"isError");function dIe(t){return er.isObject(t)}s(dIe,"isObject");function pIe(){return er.randomUUID()}s(pIe,"randomUUID");he.isBrowser=er.isBrowser;he.isBun=er.isBun;he.isDeno=er.isDeno;he.isNode=er.isNodeLike;he.isNodeLike=er.isNodeLike;he.isNodeRuntime=er.isNodeRuntime;he.isReactNative=er.isReactNative;he.isWebWorker=er.isWebWorker;function mIe(t,e){return er.uint8ArrayToString(t,e)}s(mIe,"uint8ArrayToString");function gIe(t,e){return er.stringToUint8Array(t,e)}s(gIe,"stringToUint8Array")});var bN=f((Mze,Yz)=>{var IN=Object.defineProperty,hIe=Object.getOwnPropertyDescriptor,fIe=Object.getOwnPropertyNames,yIe=Object.prototype.hasOwnProperty,CIe=s((t,e)=>{for(var r in e)IN(t,r,{get:e[r],enumerable:!0})},"__export"),EIe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of fIe(e))!yIe.call(t,i)&&i!==r&&IN(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=hIe(e,i))||n.enumerable});return t},"__copyProps"),BIe=s(t=>EIe(IN({},"__esModule",{value:!0}),t),"__toCommonJS"),zz={};CIe(zz,{createFile:s(()=>wIe,"createFile"),createFileFromStream:s(()=>NIe,"createFileFromStream"),getRawContent:s(()=>QIe,"getRawContent"),hasRawContent:s(()=>jz,"hasRawContent")});Yz.exports=BIe(zz);var IIe=st();function bIe(t){return!!(t&&typeof t.pipe=="function")}s(bIe,"isNodeReadableStream");var Gz={arrayBuffer:s(()=>{throw new Error("Not implemented")},"arrayBuffer"),bytes:s(()=>{throw new Error("Not implemented")},"bytes"),slice:s(()=>{throw new Error("Not implemented")},"slice"),text:s(()=>{throw new Error("Not implemented")},"text")},ag=Symbol("rawContent");function jz(t){return typeof t[ag]=="function"}s(jz,"hasRawContent");function QIe(t){return jz(t)?t[ag]():t}s(QIe,"getRawContent");function NIe(t,e,r={}){return{...Gz,type:r.type??"",lastModified:r.lastModified??new Date().getTime(),webkitRelativePath:r.webkitRelativePath??"",size:r.size??-1,name:e,stream:s(()=>{let n=t();if(bIe(n))throw new Error("Not supported: a Node stream was provided as input to createFileFromStream.");return n},"stream"),[ag]:t}}s(NIe,"createFileFromStream");function wIe(t,e,r={}){return IIe.isNodeLike?{...Gz,type:r.type??"",lastModified:r.lastModified??new Date().getTime(),webkitRelativePath:r.webkitRelativePath??"",size:t.byteLength,name:e,arrayBuffer:s(async()=>t.buffer,"arrayBuffer"),stream:s(()=>new Blob([Hz(t)]).stream(),"stream"),[ag]:()=>t}:new File([Hz(t)],e,r)}s(wIe,"createFile");function Hz(t){return"resize"in t.buffer?t:t.map(e=>e)}s(Hz,"toArrayBuffer")});var NN=f((Lze,$z)=>{var QN=Object.defineProperty,SIe=Object.getOwnPropertyDescriptor,xIe=Object.getOwnPropertyNames,RIe=Object.prototype.hasOwnProperty,vIe=s((t,e)=>{for(var r in e)QN(t,r,{get:e[r],enumerable:!0})},"__export"),PIe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of xIe(e))!RIe.call(t,i)&&i!==r&&QN(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=SIe(e,i))||n.enumerable});return t},"__copyProps"),_Ie=s(t=>PIe(QN({},"__esModule",{value:!0}),t),"__toCommonJS"),Vz={};vIe(Vz,{multipartPolicy:s(()=>DIe,"multipartPolicy"),multipartPolicyName:s(()=>Kz,"multipartPolicyName")});$z.exports=_Ie(Vz);var Wz=_r(),Jz=bN(),Kz=Wz.multipartPolicyName;function DIe(){let t=(0,Wz.multipartPolicy)();return{name:Kz,sendRequest:s(async(e,r)=>{if(e.multipartBody)for(let n of e.multipartBody.parts)(0,Jz.hasRawContent)(n.body)&&(n.body=(0,Jz.getRawContent)(n.body));return t.sendRequest(e,r)},"sendRequest")}}s(DIe,"multipartPolicy")});var SN=f((Uze,eG)=>{var wN=Object.defineProperty,TIe=Object.getOwnPropertyDescriptor,OIe=Object.getOwnPropertyNames,MIe=Object.prototype.hasOwnProperty,kIe=s((t,e)=>{for(var r in e)wN(t,r,{get:e[r],enumerable:!0})},"__export"),LIe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of OIe(e))!MIe.call(t,i)&&i!==r&&wN(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=TIe(e,i))||n.enumerable});return t},"__copyProps"),FIe=s(t=>LIe(wN({},"__esModule",{value:!0}),t),"__toCommonJS"),Xz={};kIe(Xz,{decompressResponsePolicy:s(()=>qIe,"decompressResponsePolicy"),decompressResponsePolicyName:s(()=>UIe,"decompressResponsePolicyName")});eG.exports=FIe(Xz);var Zz=_r(),UIe=Zz.decompressResponsePolicyName;function qIe(){return(0,Zz.decompressResponsePolicy)()}s(qIe,"decompressResponsePolicy")});var RN=f((Hze,nG)=>{var xN=Object.defineProperty,HIe=Object.getOwnPropertyDescriptor,zIe=Object.getOwnPropertyNames,GIe=Object.prototype.hasOwnProperty,jIe=s((t,e)=>{for(var r in e)xN(t,r,{get:e[r],enumerable:!0})},"__export"),YIe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of zIe(e))!GIe.call(t,i)&&i!==r&&xN(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=HIe(e,i))||n.enumerable});return t},"__copyProps"),JIe=s(t=>YIe(xN({},"__esModule",{value:!0}),t),"__toCommonJS"),tG={};jIe(tG,{defaultRetryPolicy:s(()=>WIe,"defaultRetryPolicy"),defaultRetryPolicyName:s(()=>VIe,"defaultRetryPolicyName")});nG.exports=JIe(tG);var rG=_r(),VIe=rG.defaultRetryPolicyName;function WIe(t={}){return(0,rG.defaultRetryPolicy)(t)}s(WIe,"defaultRetryPolicy")});var PN=f((Gze,oG)=>{var vN=Object.defineProperty,KIe=Object.getOwnPropertyDescriptor,$Ie=Object.getOwnPropertyNames,XIe=Object.prototype.hasOwnProperty,ZIe=s((t,e)=>{for(var r in e)vN(t,r,{get:e[r],enumerable:!0})},"__export"),ebe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of $Ie(e))!XIe.call(t,i)&&i!==r&&vN(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=KIe(e,i))||n.enumerable});return t},"__copyProps"),tbe=s(t=>ebe(vN({},"__esModule",{value:!0}),t),"__toCommonJS"),iG={};ZIe(iG,{formDataPolicy:s(()=>nbe,"formDataPolicy"),formDataPolicyName:s(()=>rbe,"formDataPolicyName")});oG.exports=tbe(iG);var sG=_r(),rbe=sG.formDataPolicyName;function nbe(){return(0,sG.formDataPolicy)()}s(nbe,"formDataPolicy")});var TN=f((Yze,cG)=>{var _N=Object.defineProperty,ibe=Object.getOwnPropertyDescriptor,sbe=Object.getOwnPropertyNames,obe=Object.prototype.hasOwnProperty,abe=s((t,e)=>{for(var r in e)_N(t,r,{get:e[r],enumerable:!0})},"__export"),cbe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of sbe(e))!obe.call(t,i)&&i!==r&&_N(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=ibe(e,i))||n.enumerable});return t},"__copyProps"),lbe=s(t=>cbe(_N({},"__esModule",{value:!0}),t),"__toCommonJS"),aG={};abe(aG,{getDefaultProxySettings:s(()=>ube,"getDefaultProxySettings"),proxyPolicy:s(()=>dbe,"proxyPolicy"),proxyPolicyName:s(()=>Abe,"proxyPolicyName")});cG.exports=lbe(aG);var DN=_r(),Abe=DN.proxyPolicyName;function ube(t){return(0,DN.getDefaultProxySettings)(t)}s(ube,"getDefaultProxySettings");function dbe(t,e){return(0,DN.proxyPolicy)(t,e)}s(dbe,"proxyPolicy")});var MN=f((Vze,uG)=>{var ON=Object.defineProperty,pbe=Object.getOwnPropertyDescriptor,mbe=Object.getOwnPropertyNames,gbe=Object.prototype.hasOwnProperty,hbe=s((t,e)=>{for(var r in e)ON(t,r,{get:e[r],enumerable:!0})},"__export"),fbe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of mbe(e))!gbe.call(t,i)&&i!==r&&ON(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=pbe(e,i))||n.enumerable});return t},"__copyProps"),ybe=s(t=>fbe(ON({},"__esModule",{value:!0}),t),"__toCommonJS"),lG={};hbe(lG,{setClientRequestIdPolicy:s(()=>Cbe,"setClientRequestIdPolicy"),setClientRequestIdPolicyName:s(()=>AG,"setClientRequestIdPolicyName")});uG.exports=ybe(lG);var AG="setClientRequestIdPolicy";function Cbe(t="x-ms-client-request-id"){return{name:AG,async sendRequest(e,r){return e.headers.has(t)||e.headers.set(t,e.requestId),r(e)}}}s(Cbe,"setClientRequestIdPolicy")});var LN=f((Kze,mG)=>{var kN=Object.defineProperty,Ebe=Object.getOwnPropertyDescriptor,Bbe=Object.getOwnPropertyNames,Ibe=Object.prototype.hasOwnProperty,bbe=s((t,e)=>{for(var r in e)kN(t,r,{get:e[r],enumerable:!0})},"__export"),Qbe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Bbe(e))!Ibe.call(t,i)&&i!==r&&kN(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=Ebe(e,i))||n.enumerable});return t},"__copyProps"),Nbe=s(t=>Qbe(kN({},"__esModule",{value:!0}),t),"__toCommonJS"),dG={};bbe(dG,{agentPolicy:s(()=>Sbe,"agentPolicy"),agentPolicyName:s(()=>wbe,"agentPolicyName")});mG.exports=Nbe(dG);var pG=_r(),wbe=pG.agentPolicyName;function Sbe(t){return(0,pG.agentPolicy)(t)}s(Sbe,"agentPolicy")});var UN=f((Xze,fG)=>{var FN=Object.defineProperty,xbe=Object.getOwnPropertyDescriptor,Rbe=Object.getOwnPropertyNames,vbe=Object.prototype.hasOwnProperty,Pbe=s((t,e)=>{for(var r in e)FN(t,r,{get:e[r],enumerable:!0})},"__export"),_be=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Rbe(e))!vbe.call(t,i)&&i!==r&&FN(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=xbe(e,i))||n.enumerable});return t},"__copyProps"),Dbe=s(t=>_be(FN({},"__esModule",{value:!0}),t),"__toCommonJS"),gG={};Pbe(gG,{tlsPolicy:s(()=>Obe,"tlsPolicy"),tlsPolicyName:s(()=>Tbe,"tlsPolicyName")});fG.exports=Dbe(gG);var hG=_r(),Tbe=hG.tlsPolicyName;function Obe(t){return(0,hG.tlsPolicy)(t)}s(Obe,"tlsPolicy")});var qN=f(ts=>{"use strict";Object.defineProperty(ts,"__esModule",{value:!0});ts.TracingContextImpl=ts.knownContextKeys=void 0;ts.createTracingContext=Mbe;ts.knownContextKeys={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};function Mbe(t={}){let e=new cg(t.parentContext);return t.span&&(e=e.setValue(ts.knownContextKeys.span,t.span)),t.namespace&&(e=e.setValue(ts.knownContextKeys.namespace,t.namespace)),e}s(Mbe,"createTracingContext");var cg=class t{static{s(this,"TracingContextImpl")}_contextMap;constructor(e){this._contextMap=e instanceof t?new Map(e._contextMap):new Map}setValue(e,r){let n=new t(this);return n._contextMap.set(e,r),n}getValue(e){return this._contextMap.get(e)}deleteValue(e){let r=new t(this);return r._contextMap.delete(e),r}};ts.TracingContextImpl=cg});var yG=f(lg=>{"use strict";Object.defineProperty(lg,"__esModule",{value:!0});lg.state=void 0;lg.state={instrumenterImplementation:void 0}});var HN=f(Dc=>{"use strict";Object.defineProperty(Dc,"__esModule",{value:!0});Dc.createDefaultTracingSpan=CG;Dc.createDefaultInstrumenter=EG;Dc.useInstrumenter=Lbe;Dc.getInstrumenter=Fbe;var kbe=qN(),Ag=yG();function CG(){return{end:s(()=>{},"end"),isRecording:s(()=>!1,"isRecording"),recordException:s(()=>{},"recordException"),setAttribute:s(()=>{},"setAttribute"),setStatus:s(()=>{},"setStatus"),addEvent:s(()=>{},"addEvent")}}s(CG,"createDefaultTracingSpan");function EG(){return{createRequestHeaders:s(()=>({}),"createRequestHeaders"),parseTraceparentHeader:s(()=>{},"parseTraceparentHeader"),startSpan:s((t,e)=>({span:CG(),tracingContext:(0,kbe.createTracingContext)({parentContext:e.tracingContext})}),"startSpan"),withContext(t,e,...r){return e(...r)}}}s(EG,"createDefaultInstrumenter");function Lbe(t){Ag.state.instrumenterImplementation=t}s(Lbe,"useInstrumenter");function Fbe(){return Ag.state.instrumenterImplementation||(Ag.state.instrumenterImplementation=EG()),Ag.state.instrumenterImplementation}s(Fbe,"getInstrumenter")});var BG=f(GN=>{"use strict";Object.defineProperty(GN,"__esModule",{value:!0});GN.createTracingClient=Ube;var ug=HN(),zN=qN();function Ube(t){let{namespace:e,packageName:r,packageVersion:n}=t;function i(A,u,d){let g=(0,ug.getInstrumenter)().startSpan(A,{...d,packageName:r,packageVersion:n,tracingContext:u?.tracingOptions?.tracingContext}),y=g.tracingContext,B=g.span;y.getValue(zN.knownContextKeys.namespace)||(y=y.setValue(zN.knownContextKeys.namespace,e)),B.setAttribute("az.namespace",y.getValue(zN.knownContextKeys.namespace));let w=Object.assign({},u,{tracingOptions:{...u?.tracingOptions,tracingContext:y}});return{span:B,updatedOptions:w}}s(i,"startSpan");async function o(A,u,d,g){let{span:y,updatedOptions:B}=i(A,u,g);try{let w=await a(B.tracingOptions.tracingContext,()=>Promise.resolve(d(B,y)));return y.setStatus({status:"success"}),w}catch(w){throw y.setStatus({status:"error",error:w}),w}finally{y.end()}}s(o,"withSpan");function a(A,u,...d){return(0,ug.getInstrumenter)().withContext(A,u,...d)}s(a,"withContext");function c(A){return(0,ug.getInstrumenter)().parseTraceparentHeader(A)}s(c,"parseTraceparentHeader");function l(A){return(0,ug.getInstrumenter)().createRequestHeaders(A)}return s(l,"createRequestHeaders"),{startSpan:i,withSpan:o,withContext:a,parseTraceparentHeader:c,createRequestHeaders:l}}s(Ube,"createTracingClient")});var jN=f(Tc=>{"use strict";Object.defineProperty(Tc,"__esModule",{value:!0});Tc.createTracingClient=Tc.useInstrumenter=void 0;var qbe=HN();Object.defineProperty(Tc,"useInstrumenter",{enumerable:!0,get:s(function(){return qbe.useInstrumenter},"get")});var Hbe=BG();Object.defineProperty(Tc,"createTracingClient",{enumerable:!0,get:s(function(){return Hbe.createTracingClient},"get")})});var dg=f((lGe,QG)=>{var YN=Object.defineProperty,zbe=Object.getOwnPropertyDescriptor,Gbe=Object.getOwnPropertyNames,jbe=Object.prototype.hasOwnProperty,Ybe=s((t,e)=>{for(var r in e)YN(t,r,{get:e[r],enumerable:!0})},"__export"),Jbe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Gbe(e))!jbe.call(t,i)&&i!==r&&YN(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=zbe(e,i))||n.enumerable});return t},"__copyProps"),Vbe=s(t=>Jbe(YN({},"__esModule",{value:!0}),t),"__toCommonJS"),IG={};Ybe(IG,{RestError:s(()=>Wbe,"RestError"),isRestError:s(()=>Kbe,"isRestError")});QG.exports=Vbe(IG);var bG=_c(),Wbe=bG.RestError;function Kbe(t){return(0,bG.isRestError)(t)}s(Kbe,"isRestError")});var VN=f((uGe,SG)=>{var JN=Object.defineProperty,$be=Object.getOwnPropertyDescriptor,Xbe=Object.getOwnPropertyNames,Zbe=Object.prototype.hasOwnProperty,eQe=s((t,e)=>{for(var r in e)JN(t,r,{get:e[r],enumerable:!0})},"__export"),tQe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Xbe(e))!Zbe.call(t,i)&&i!==r&&JN(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=$be(e,i))||n.enumerable});return t},"__copyProps"),rQe=s(t=>tQe(JN({},"__esModule",{value:!0}),t),"__toCommonJS"),NG={};eQe(NG,{tracingPolicy:s(()=>cQe,"tracingPolicy"),tracingPolicyName:s(()=>wG,"tracingPolicyName")});SG.exports=rQe(NG);var nQe=jN(),iQe=ng(),sQe=AN(),pg=cu(),uu=st(),oQe=dg(),aQe=lu(),wG="tracingPolicy";function cQe(t={}){let e=(0,sQe.getUserAgentValue)(t.userAgentPrefix),r=new aQe.Sanitizer({additionalAllowedQueryParameters:t.additionalAllowedQueryParameters}),n=lQe();return{name:wG,async sendRequest(i,o){if(!n)return o(i);let a=await e,c={"http.url":r.sanitizeUrl(i.url),"http.method":i.method,"http.user_agent":a,requestId:i.requestId};a&&(c["http.user_agent"]=a);let{span:l,tracingContext:A}=AQe(n,i,c)??{};if(!l||!A)return o(i);try{let u=await n.withContext(A,o,i);return dQe(l,u),u}catch(u){throw uQe(l,u),u}}}}s(cQe,"tracingPolicy");function lQe(){try{return(0,nQe.createTracingClient)({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:iQe.SDK_VERSION})}catch(t){pg.logger.warning(`Error when creating the TracingClient: ${(0,uu.getErrorMessage)(t)}`);return}}s(lQe,"tryCreateTracingClient");function AQe(t,e,r){try{let{span:n,updatedOptions:i}=t.startSpan(`HTTP ${e.method}`,{tracingOptions:e.tracingOptions},{spanKind:"client",spanAttributes:r});if(!n.isRecording()){n.end();return}let o=t.createRequestHeaders(i.tracingOptions.tracingContext);for(let[a,c]of Object.entries(o))e.headers.set(a,c);return{span:n,tracingContext:i.tracingOptions.tracingContext}}catch(n){pg.logger.warning(`Skipping creating a tracing span due to an error: ${(0,uu.getErrorMessage)(n)}`);return}}s(AQe,"tryCreateSpan");function uQe(t,e){try{t.setStatus({status:"error",error:(0,uu.isError)(e)?e:void 0}),(0,oQe.isRestError)(e)&&e.statusCode&&t.setAttribute("http.status_code",e.statusCode),t.end()}catch(r){pg.logger.warning(`Skipping tracing span processing due to an error: ${(0,uu.getErrorMessage)(r)}`)}}s(uQe,"tryProcessError");function dQe(t,e){try{t.setAttribute("http.status_code",e.status);let r=e.headers.get("x-ms-request-id");r&&t.setAttribute("serviceRequestId",r),e.status>=400&&t.setStatus({status:"error"}),t.end()}catch(r){pg.logger.warning(`Skipping tracing span processing due to an error: ${(0,uu.getErrorMessage)(r)}`)}}s(dQe,"tryProcessResponse")});var KN=f((pGe,RG)=>{var WN=Object.defineProperty,pQe=Object.getOwnPropertyDescriptor,mQe=Object.getOwnPropertyNames,gQe=Object.prototype.hasOwnProperty,hQe=s((t,e)=>{for(var r in e)WN(t,r,{get:e[r],enumerable:!0})},"__export"),fQe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of mQe(e))!gQe.call(t,i)&&i!==r&&WN(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=pQe(e,i))||n.enumerable});return t},"__copyProps"),yQe=s(t=>fQe(WN({},"__esModule",{value:!0}),t),"__toCommonJS"),xG={};hQe(xG,{wrapAbortSignalLike:s(()=>CQe,"wrapAbortSignalLike")});RG.exports=yQe(xG);function CQe(t){if(t instanceof AbortSignal)return{abortSignal:t};if(t.aborted)return{abortSignal:AbortSignal.abort(t.reason)};let e=new AbortController,r=!0;function n(){r&&(t.removeEventListener("abort",i),r=!1)}s(n,"cleanup");function i(){e.abort(t.reason),n()}return s(i,"listener"),t.addEventListener("abort",i),{abortSignal:e.signal,cleanup:n}}s(CQe,"wrapAbortSignalLike")});var DG=f((gGe,_G)=>{var $N=Object.defineProperty,EQe=Object.getOwnPropertyDescriptor,BQe=Object.getOwnPropertyNames,IQe=Object.prototype.hasOwnProperty,bQe=s((t,e)=>{for(var r in e)$N(t,r,{get:e[r],enumerable:!0})},"__export"),QQe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of BQe(e))!IQe.call(t,i)&&i!==r&&$N(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=EQe(e,i))||n.enumerable});return t},"__copyProps"),NQe=s(t=>QQe($N({},"__esModule",{value:!0}),t),"__toCommonJS"),vG={};bQe(vG,{wrapAbortSignalLikePolicy:s(()=>SQe,"wrapAbortSignalLikePolicy"),wrapAbortSignalLikePolicyName:s(()=>PG,"wrapAbortSignalLikePolicyName")});_G.exports=NQe(vG);var wQe=KN(),PG="wrapAbortSignalLikePolicy";function SQe(){return{name:PG,sendRequest:s(async(t,e)=>{if(!t.abortSignal)return e(t);let{abortSignal:r,cleanup:n}=(0,wQe.wrapAbortSignalLike)(t.abortSignal);t.abortSignal=r;try{return await e(t)}finally{n?.()}},"sendRequest")}}s(SQe,"wrapAbortSignalLikePolicy")});var LG=f((fGe,kG)=>{var XN=Object.defineProperty,xQe=Object.getOwnPropertyDescriptor,RQe=Object.getOwnPropertyNames,vQe=Object.prototype.hasOwnProperty,PQe=s((t,e)=>{for(var r in e)XN(t,r,{get:e[r],enumerable:!0})},"__export"),_Qe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of RQe(e))!vQe.call(t,i)&&i!==r&&XN(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=xQe(e,i))||n.enumerable});return t},"__copyProps"),DQe=s(t=>_Qe(XN({},"__esModule",{value:!0}),t),"__toCommonJS"),MG={};PQe(MG,{createPipelineFromOptions:s(()=>JQe,"createPipelineFromOptions")});kG.exports=DQe(MG);var TQe=nN(),OQe=VQ(),MQe=sN(),kQe=dN(),TG=NN(),LQe=SN(),FQe=RN(),UQe=PN(),OG=st(),qQe=TN(),HQe=MN(),zQe=LN(),GQe=UN(),jQe=VN(),YQe=DG();function JQe(t){let e=(0,OQe.createEmptyPipeline)();return OG.isNodeLike&&(t.agent&&e.addPolicy((0,zQe.agentPolicy)(t.agent)),t.tlsOptions&&e.addPolicy((0,GQe.tlsPolicy)(t.tlsOptions)),e.addPolicy((0,qQe.proxyPolicy)(t.proxyOptions)),e.addPolicy((0,LQe.decompressResponsePolicy)())),e.addPolicy((0,YQe.wrapAbortSignalLikePolicy)()),e.addPolicy((0,UQe.formDataPolicy)(),{beforePolicies:[TG.multipartPolicyName]}),e.addPolicy((0,kQe.userAgentPolicy)(t.userAgentOptions)),e.addPolicy((0,HQe.setClientRequestIdPolicy)(t.telemetryOptions?.clientRequestIdHeaderName)),e.addPolicy((0,TG.multipartPolicy)(),{afterPhase:"Deserialize"}),e.addPolicy((0,FQe.defaultRetryPolicy)(t.retryOptions),{phase:"Retry"}),e.addPolicy((0,jQe.tracingPolicy)({...t.userAgentOptions,...t.loggingOptions}),{afterPhase:"Retry"}),OG.isNodeLike&&e.addPolicy((0,MQe.redirectPolicy)(t.redirectOptions),{afterPhase:"Retry"}),e.addPolicy((0,TQe.logPolicy)(t.loggingOptions),{afterPhase:"Sign"}),e}s(JQe,"createPipelineFromOptions")});var qG=f((CGe,UG)=>{var ZN=Object.defineProperty,VQe=Object.getOwnPropertyDescriptor,WQe=Object.getOwnPropertyNames,KQe=Object.prototype.hasOwnProperty,$Qe=s((t,e)=>{for(var r in e)ZN(t,r,{get:e[r],enumerable:!0})},"__export"),XQe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of WQe(e))!KQe.call(t,i)&&i!==r&&ZN(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=VQe(e,i))||n.enumerable});return t},"__copyProps"),ZQe=s(t=>XQe(ZN({},"__esModule",{value:!0}),t),"__toCommonJS"),FG={};$Qe(FG,{createDefaultHttpClient:s(()=>rNe,"createDefaultHttpClient")});UG.exports=ZQe(FG);var eNe=_c(),tNe=KN();function rNe(){let t=(0,eNe.createDefaultHttpClient)();return{async sendRequest(e){let{abortSignal:r,cleanup:n}=e.abortSignal?(0,tNe.wrapAbortSignalLike)(e.abortSignal):{};try{return e.abortSignal=r,await t.sendRequest(e)}finally{n?.()}}}}s(rNe,"createDefaultHttpClient")});var GG=f((BGe,zG)=>{var ew=Object.defineProperty,nNe=Object.getOwnPropertyDescriptor,iNe=Object.getOwnPropertyNames,sNe=Object.prototype.hasOwnProperty,oNe=s((t,e)=>{for(var r in e)ew(t,r,{get:e[r],enumerable:!0})},"__export"),aNe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of iNe(e))!sNe.call(t,i)&&i!==r&&ew(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=nNe(e,i))||n.enumerable});return t},"__copyProps"),cNe=s(t=>aNe(ew({},"__esModule",{value:!0}),t),"__toCommonJS"),HG={};oNe(HG,{createHttpHeaders:s(()=>ANe,"createHttpHeaders")});zG.exports=cNe(HG);var lNe=_c();function ANe(t){return(0,lNe.createHttpHeaders)(t)}s(ANe,"createHttpHeaders")});var JG=f((bGe,YG)=>{var tw=Object.defineProperty,uNe=Object.getOwnPropertyDescriptor,dNe=Object.getOwnPropertyNames,pNe=Object.prototype.hasOwnProperty,mNe=s((t,e)=>{for(var r in e)tw(t,r,{get:e[r],enumerable:!0})},"__export"),gNe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of dNe(e))!pNe.call(t,i)&&i!==r&&tw(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=uNe(e,i))||n.enumerable});return t},"__copyProps"),hNe=s(t=>gNe(tw({},"__esModule",{value:!0}),t),"__toCommonJS"),jG={};mNe(jG,{createPipelineRequest:s(()=>yNe,"createPipelineRequest")});YG.exports=hNe(jG);var fNe=_c();function yNe(t){return(0,fNe.createPipelineRequest)(t)}s(yNe,"createPipelineRequest")});var $G=f((NGe,KG)=>{var rw=Object.defineProperty,CNe=Object.getOwnPropertyDescriptor,ENe=Object.getOwnPropertyNames,BNe=Object.prototype.hasOwnProperty,INe=s((t,e)=>{for(var r in e)rw(t,r,{get:e[r],enumerable:!0})},"__export"),bNe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of ENe(e))!BNe.call(t,i)&&i!==r&&rw(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=CNe(e,i))||n.enumerable});return t},"__copyProps"),QNe=s(t=>bNe(rw({},"__esModule",{value:!0}),t),"__toCommonJS"),VG={};INe(VG,{exponentialRetryPolicy:s(()=>wNe,"exponentialRetryPolicy"),exponentialRetryPolicyName:s(()=>NNe,"exponentialRetryPolicyName")});KG.exports=QNe(VG);var WG=_r(),NNe=WG.exponentialRetryPolicyName;function wNe(t={}){return(0,WG.exponentialRetryPolicy)(t)}s(wNe,"exponentialRetryPolicy")});var tj=f((SGe,ej)=>{var nw=Object.defineProperty,SNe=Object.getOwnPropertyDescriptor,xNe=Object.getOwnPropertyNames,RNe=Object.prototype.hasOwnProperty,vNe=s((t,e)=>{for(var r in e)nw(t,r,{get:e[r],enumerable:!0})},"__export"),PNe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of xNe(e))!RNe.call(t,i)&&i!==r&&nw(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=SNe(e,i))||n.enumerable});return t},"__copyProps"),_Ne=s(t=>PNe(nw({},"__esModule",{value:!0}),t),"__toCommonJS"),XG={};vNe(XG,{systemErrorRetryPolicy:s(()=>TNe,"systemErrorRetryPolicy"),systemErrorRetryPolicyName:s(()=>DNe,"systemErrorRetryPolicyName")});ej.exports=_Ne(XG);var ZG=_r(),DNe=ZG.systemErrorRetryPolicyName;function TNe(t={}){return(0,ZG.systemErrorRetryPolicy)(t)}s(TNe,"systemErrorRetryPolicy")});var sj=f((RGe,ij)=>{var iw=Object.defineProperty,ONe=Object.getOwnPropertyDescriptor,MNe=Object.getOwnPropertyNames,kNe=Object.prototype.hasOwnProperty,LNe=s((t,e)=>{for(var r in e)iw(t,r,{get:e[r],enumerable:!0})},"__export"),FNe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of MNe(e))!kNe.call(t,i)&&i!==r&&iw(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=ONe(e,i))||n.enumerable});return t},"__copyProps"),UNe=s(t=>FNe(iw({},"__esModule",{value:!0}),t),"__toCommonJS"),rj={};LNe(rj,{throttlingRetryPolicy:s(()=>HNe,"throttlingRetryPolicy"),throttlingRetryPolicyName:s(()=>qNe,"throttlingRetryPolicyName")});ij.exports=UNe(rj);var nj=_r(),qNe=nj.throttlingRetryPolicyName;function HNe(t={}){return(0,nj.throttlingRetryPolicy)(t)}s(HNe,"throttlingRetryPolicy")});var cj=f((PGe,aj)=>{var sw=Object.defineProperty,zNe=Object.getOwnPropertyDescriptor,GNe=Object.getOwnPropertyNames,jNe=Object.prototype.hasOwnProperty,YNe=s((t,e)=>{for(var r in e)sw(t,r,{get:e[r],enumerable:!0})},"__export"),JNe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of GNe(e))!jNe.call(t,i)&&i!==r&&sw(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=zNe(e,i))||n.enumerable});return t},"__copyProps"),VNe=s(t=>JNe(sw({},"__esModule",{value:!0}),t),"__toCommonJS"),oj={};YNe(oj,{retryPolicy:s(()=>ZNe,"retryPolicy")});aj.exports=VNe(oj);var WNe=zo(),KNe=ng(),$Ne=_r(),XNe=(0,WNe.createClientLogger)("core-rest-pipeline retryPolicy");function ZNe(t,e={maxRetries:KNe.DEFAULT_RETRY_POLICY_COUNT}){return(0,$Ne.retryPolicy)(t,{logger:XNe,...e})}s(ZNe,"retryPolicy")});var aw=f((DGe,uj)=>{var ow=Object.defineProperty,ewe=Object.getOwnPropertyDescriptor,twe=Object.getOwnPropertyNames,rwe=Object.prototype.hasOwnProperty,nwe=s((t,e)=>{for(var r in e)ow(t,r,{get:e[r],enumerable:!0})},"__export"),iwe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of twe(e))!rwe.call(t,i)&&i!==r&&ow(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=ewe(e,i))||n.enumerable});return t},"__copyProps"),swe=s(t=>iwe(ow({},"__esModule",{value:!0}),t),"__toCommonJS"),lj={};nwe(lj,{DEFAULT_CYCLER_OPTIONS:s(()=>Aj,"DEFAULT_CYCLER_OPTIONS"),createTokenCycler:s(()=>cwe,"createTokenCycler")});uj.exports=swe(lj);var owe=st(),Aj={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:1e3*60*2};async function awe(t,e,r){async function n(){if(Date.now()t.getToken(l,A),"tryGetAccessToken"),o.retryIntervalInMs,n?.expiresOnTimestamp??Date.now()).then(d=>(r=null,n=d,i=A.tenantId,n)).catch(d=>{throw r=null,n=null,i=void 0,d})),r}return s(c,"refresh"),async(l,A)=>{let u=!!A.claims,d=i!==A.tenantId;return u&&(n=null),d||u||a.mustRefresh?c(l,A):(a.shouldRefresh&&c(l,A),n)}}s(cwe,"createTokenCycler")});var Cj=f((OGe,yj)=>{var cw=Object.defineProperty,lwe=Object.getOwnPropertyDescriptor,Awe=Object.getOwnPropertyNames,uwe=Object.prototype.hasOwnProperty,dwe=s((t,e)=>{for(var r in e)cw(t,r,{get:e[r],enumerable:!0})},"__export"),pwe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Awe(e))!uwe.call(t,i)&&i!==r&&cw(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=lwe(e,i))||n.enumerable});return t},"__copyProps"),mwe=s(t=>pwe(cw({},"__esModule",{value:!0}),t),"__toCommonJS"),gj={};dwe(gj,{bearerTokenAuthenticationPolicy:s(()=>Cwe,"bearerTokenAuthenticationPolicy"),bearerTokenAuthenticationPolicyName:s(()=>hj,"bearerTokenAuthenticationPolicyName"),parseChallenges:s(()=>fj,"parseChallenges")});yj.exports=mwe(gj);var gwe=aw(),hwe=cu(),fwe=dg(),hj="bearerTokenAuthenticationPolicy";async function mg(t,e){try{return[await e(t),void 0]}catch(r){if((0,fwe.isRestError)(r)&&r.response)return[r.response,r];throw r}}s(mg,"trySendRequest");async function ywe(t){let{scopes:e,getAccessToken:r,request:n}=t,i={abortSignal:n.abortSignal,tracingOptions:n.tracingOptions,enableCae:!0},o=await r(e,i);o&&t.request.headers.set("Authorization",`Bearer ${o.token}`)}s(ywe,"defaultAuthorizeRequest");function dj(t){return t.status===401&&t.headers.has("WWW-Authenticate")}s(dj,"isChallengeResponse");async function pj(t,e){let{scopes:r}=t,n=await t.getAccessToken(r,{enableCae:!0,claims:e});return n?(t.request.headers.set("Authorization",`${n.tokenType??"Bearer"} ${n.token}`),!0):!1}s(pj,"authorizeRequestOnCaeChallenge");function Cwe(t){let{credential:e,scopes:r,challengeCallbacks:n}=t,i=t.logger||hwe.logger,o={authorizeRequest:n?.authorizeRequest?.bind(n)??ywe,authorizeRequestOnChallenge:n?.authorizeRequestOnChallenge?.bind(n)},a=e?(0,gwe.createTokenCycler)(e):()=>Promise.resolve(null);return{name:hj,async sendRequest(c,l){if(!c.url.toLowerCase().startsWith("https://"))throw new Error("Bearer token authentication is not permitted for non-TLS protected (non-https) URLs.");await o.authorizeRequest({scopes:Array.isArray(r)?r:[r],request:c,getAccessToken:a,logger:i});let A,u,d;if([A,u]=await mg(c,l),dj(A)){let g=mj(A.headers.get("WWW-Authenticate"));if(g){let y;try{y=atob(g)}catch{return i.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${g}`),A}d=await pj({scopes:Array.isArray(r)?r:[r],response:A,request:c,getAccessToken:a,logger:i},y),d&&([A,u]=await mg(c,l))}else if(o.authorizeRequestOnChallenge&&(d=await o.authorizeRequestOnChallenge({scopes:Array.isArray(r)?r:[r],request:c,response:A,getAccessToken:a,logger:i}),d&&([A,u]=await mg(c,l)),dj(A)&&(g=mj(A.headers.get("WWW-Authenticate")),g))){let y;try{y=atob(g)}catch{return i.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${g}`),A}d=await pj({scopes:Array.isArray(r)?r:[r],response:A,request:c,getAccessToken:a,logger:i},y),d&&([A,u]=await mg(c,l))}}if(u)throw u;return A}}}s(Cwe,"bearerTokenAuthenticationPolicy");function fj(t){let e=/(\w+)\s+((?:\w+=(?:"[^"]*"|[^,]*),?\s*)+)/g,r=/(\w+)="([^"]*)"/g,n=[],i;for(;(i=e.exec(t))!==null;){let o=i[1],a=i[2],c={},l;for(;(l=r.exec(a))!==null;)c[l[1]]=l[2];n.push({scheme:o,params:c})}return n}s(fj,"parseChallenges");function mj(t){return t?fj(t).find(r=>r.scheme==="Bearer"&&r.params.claims&&r.params.error==="insufficient_claims")?.params.claims:void 0}s(mj,"getCaeChallengeClaims")});var bj=f((kGe,Ij)=>{var lw=Object.defineProperty,Ewe=Object.getOwnPropertyDescriptor,Bwe=Object.getOwnPropertyNames,Iwe=Object.prototype.hasOwnProperty,bwe=s((t,e)=>{for(var r in e)lw(t,r,{get:e[r],enumerable:!0})},"__export"),Qwe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Bwe(e))!Iwe.call(t,i)&&i!==r&&lw(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=Ewe(e,i))||n.enumerable});return t},"__copyProps"),Nwe=s(t=>Qwe(lw({},"__esModule",{value:!0}),t),"__toCommonJS"),Ej={};bwe(Ej,{ndJsonPolicy:s(()=>wwe,"ndJsonPolicy"),ndJsonPolicyName:s(()=>Bj,"ndJsonPolicyName")});Ij.exports=Nwe(Ej);var Bj="ndJsonPolicy";function wwe(){return{name:Bj,async sendRequest(t,e){if(typeof t.body=="string"&&t.body.startsWith("[")){let r=JSON.parse(t.body);Array.isArray(r)&&(t.body=r.map(n=>JSON.stringify(n)+` +`).join(""))}return e(t)}}}s(wwe,"ndJsonPolicy")});var Sj=f((FGe,wj)=>{var uw=Object.defineProperty,Swe=Object.getOwnPropertyDescriptor,xwe=Object.getOwnPropertyNames,Rwe=Object.prototype.hasOwnProperty,vwe=s((t,e)=>{for(var r in e)uw(t,r,{get:e[r],enumerable:!0})},"__export"),Pwe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of xwe(e))!Rwe.call(t,i)&&i!==r&&uw(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=Swe(e,i))||n.enumerable});return t},"__copyProps"),_we=s(t=>Pwe(uw({},"__esModule",{value:!0}),t),"__toCommonJS"),Nj={};vwe(Nj,{auxiliaryAuthenticationHeaderPolicy:s(()=>Mwe,"auxiliaryAuthenticationHeaderPolicy"),auxiliaryAuthenticationHeaderPolicyName:s(()=>Aw,"auxiliaryAuthenticationHeaderPolicyName")});wj.exports=_we(Nj);var Dwe=aw(),Twe=cu(),Aw="auxiliaryAuthenticationHeaderPolicy",Qj="x-ms-authorization-auxiliary";async function Owe(t){let{scopes:e,getAccessToken:r,request:n}=t,i={abortSignal:n.abortSignal,tracingOptions:n.tracingOptions};return(await r(e,i))?.token??""}s(Owe,"sendAuthorizeRequest");function Mwe(t){let{credentials:e,scopes:r}=t,n=t.logger||Twe.logger,i=new WeakMap;return{name:Aw,async sendRequest(o,a){if(!o.url.toLowerCase().startsWith("https://"))throw new Error("Bearer token authentication for auxiliary header is not permitted for non-TLS protected (non-https) URLs.");if(!e||e.length===0)return n.info(`${Aw} header will not be set due to empty credentials.`),a(o);let c=[];for(let A of e){let u=i.get(A);u||(u=(0,Dwe.createTokenCycler)(A),i.set(A,u)),c.push(Owe({scopes:Array.isArray(r)?r:[r],request:o,getAccessToken:u,logger:n}))}let l=(await Promise.all(c)).filter(A=>!!A);return l.length===0?(n.warning(`None of the auxiliary tokens are valid. ${Qj} header will not be set.`),a(o)):(o.headers.set(Qj,l.map(A=>`Bearer ${A}`).join(", ")),a(o))}}}s(Mwe,"auxiliaryAuthenticationHeaderPolicy")});var Tt=f((qGe,Jj)=>{var pw=Object.defineProperty,kwe=Object.getOwnPropertyDescriptor,Lwe=Object.getOwnPropertyNames,Fwe=Object.prototype.hasOwnProperty,Uwe=s((t,e)=>{for(var r in e)pw(t,r,{get:e[r],enumerable:!0})},"__export"),qwe=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Lwe(e))!Fwe.call(t,i)&&i!==r&&pw(t,i,{get:s(()=>e[i],"get"),enumerable:!(n=kwe(e,i))||n.enumerable});return t},"__copyProps"),Hwe=s(t=>qwe(pw({},"__esModule",{value:!0}),t),"__toCommonJS"),Yj={};Uwe(Yj,{RestError:s(()=>xj.RestError,"RestError"),agentPolicy:s(()=>Gj.agentPolicy,"agentPolicy"),agentPolicyName:s(()=>Gj.agentPolicyName,"agentPolicyName"),auxiliaryAuthenticationHeaderPolicy:s(()=>zj.auxiliaryAuthenticationHeaderPolicy,"auxiliaryAuthenticationHeaderPolicy"),auxiliaryAuthenticationHeaderPolicyName:s(()=>zj.auxiliaryAuthenticationHeaderPolicyName,"auxiliaryAuthenticationHeaderPolicyName"),bearerTokenAuthenticationPolicy:s(()=>qj.bearerTokenAuthenticationPolicy,"bearerTokenAuthenticationPolicy"),bearerTokenAuthenticationPolicyName:s(()=>qj.bearerTokenAuthenticationPolicyName,"bearerTokenAuthenticationPolicyName"),createDefaultHttpClient:s(()=>jwe.createDefaultHttpClient,"createDefaultHttpClient"),createEmptyPipeline:s(()=>zwe.createEmptyPipeline,"createEmptyPipeline"),createFile:s(()=>jj.createFile,"createFile"),createFileFromStream:s(()=>jj.createFileFromStream,"createFileFromStream"),createHttpHeaders:s(()=>Ywe.createHttpHeaders,"createHttpHeaders"),createPipelineFromOptions:s(()=>Gwe.createPipelineFromOptions,"createPipelineFromOptions"),createPipelineRequest:s(()=>Jwe.createPipelineRequest,"createPipelineRequest"),decompressResponsePolicy:s(()=>Rj.decompressResponsePolicy,"decompressResponsePolicy"),decompressResponsePolicyName:s(()=>Rj.decompressResponsePolicyName,"decompressResponsePolicyName"),defaultRetryPolicy:s(()=>Wwe.defaultRetryPolicy,"defaultRetryPolicy"),exponentialRetryPolicy:s(()=>vj.exponentialRetryPolicy,"exponentialRetryPolicy"),exponentialRetryPolicyName:s(()=>vj.exponentialRetryPolicyName,"exponentialRetryPolicyName"),formDataPolicy:s(()=>Uj.formDataPolicy,"formDataPolicy"),formDataPolicyName:s(()=>Uj.formDataPolicyName,"formDataPolicyName"),getDefaultProxySettings:s(()=>dw.getDefaultProxySettings,"getDefaultProxySettings"),isRestError:s(()=>xj.isRestError,"isRestError"),logPolicy:s(()=>_j.logPolicy,"logPolicy"),logPolicyName:s(()=>_j.logPolicyName,"logPolicyName"),multipartPolicy:s(()=>Dj.multipartPolicy,"multipartPolicy"),multipartPolicyName:s(()=>Dj.multipartPolicyName,"multipartPolicyName"),ndJsonPolicy:s(()=>Hj.ndJsonPolicy,"ndJsonPolicy"),ndJsonPolicyName:s(()=>Hj.ndJsonPolicyName,"ndJsonPolicyName"),proxyPolicy:s(()=>dw.proxyPolicy,"proxyPolicy"),proxyPolicyName:s(()=>dw.proxyPolicyName,"proxyPolicyName"),redirectPolicy:s(()=>Tj.redirectPolicy,"redirectPolicy"),redirectPolicyName:s(()=>Tj.redirectPolicyName,"redirectPolicyName"),retryPolicy:s(()=>Vwe.retryPolicy,"retryPolicy"),setClientRequestIdPolicy:s(()=>Pj.setClientRequestIdPolicy,"setClientRequestIdPolicy"),setClientRequestIdPolicyName:s(()=>Pj.setClientRequestIdPolicyName,"setClientRequestIdPolicyName"),systemErrorRetryPolicy:s(()=>Oj.systemErrorRetryPolicy,"systemErrorRetryPolicy"),systemErrorRetryPolicyName:s(()=>Oj.systemErrorRetryPolicyName,"systemErrorRetryPolicyName"),throttlingRetryPolicy:s(()=>Mj.throttlingRetryPolicy,"throttlingRetryPolicy"),throttlingRetryPolicyName:s(()=>Mj.throttlingRetryPolicyName,"throttlingRetryPolicyName"),tlsPolicy:s(()=>Fj.tlsPolicy,"tlsPolicy"),tlsPolicyName:s(()=>Fj.tlsPolicyName,"tlsPolicyName"),tracingPolicy:s(()=>kj.tracingPolicy,"tracingPolicy"),tracingPolicyName:s(()=>kj.tracingPolicyName,"tracingPolicyName"),userAgentPolicy:s(()=>Lj.userAgentPolicy,"userAgentPolicy"),userAgentPolicyName:s(()=>Lj.userAgentPolicyName,"userAgentPolicyName")});Jj.exports=Hwe(Yj);var zwe=VQ(),Gwe=LG(),jwe=qG(),Ywe=GG(),Jwe=JG(),xj=dg(),Rj=SN(),vj=$G(),Pj=MN(),_j=nN(),Dj=NN(),dw=TN(),Tj=sN(),Oj=tj(),Mj=sj(),Vwe=cj(),kj=VN(),Wwe=RN(),Lj=dN(),Fj=UN(),Uj=PN(),qj=Cj(),Hj=bj(),zj=Sj(),Gj=LN(),jj=bN()});var Vj=f(gg=>{"use strict";Object.defineProperty(gg,"__esModule",{value:!0});gg.AzureKeyCredential=void 0;var mw=class{static{s(this,"AzureKeyCredential")}_key;get key(){return this._key}constructor(e){if(!e)throw new Error("key must be a non-empty string");this._key=e}update(e){this._key=e}};gg.AzureKeyCredential=mw});var Wj=f(gw=>{"use strict";Object.defineProperty(gw,"__esModule",{value:!0});gw.isKeyCredential=$we;var Kwe=st();function $we(t){return(0,Kwe.isObjectWithProperties)(t,["key"])&&typeof t.key=="string"}s($we,"isKeyCredential")});var Kj=f(du=>{"use strict";Object.defineProperty(du,"__esModule",{value:!0});du.AzureNamedKeyCredential=void 0;du.isNamedKeyCredential=Zwe;var Xwe=st(),hw=class{static{s(this,"AzureNamedKeyCredential")}_key;_name;get key(){return this._key}get name(){return this._name}constructor(e,r){if(!e||!r)throw new TypeError("name and key must be non-empty strings");this._name=e,this._key=r}update(e,r){if(!e||!r)throw new TypeError("newName and newKey must be non-empty strings");this._name=e,this._key=r}};du.AzureNamedKeyCredential=hw;function Zwe(t){return(0,Xwe.isObjectWithProperties)(t,["name","key"])&&typeof t.key=="string"&&typeof t.name=="string"}s(Zwe,"isNamedKeyCredential")});var $j=f(pu=>{"use strict";Object.defineProperty(pu,"__esModule",{value:!0});pu.AzureSASCredential=void 0;pu.isSASCredential=t0e;var e0e=st(),fw=class{static{s(this,"AzureSASCredential")}_signature;get signature(){return this._signature}constructor(e){if(!e)throw new Error("shared access signature must be a non-empty string");this._signature=e}update(e){if(!e)throw new Error("shared access signature must be a non-empty string");this._signature=e}};pu.AzureSASCredential=fw;function t0e(t){return(0,e0e.isObjectWithProperties)(t,["signature"])&&typeof t.signature=="string"}s(t0e,"isSASCredential")});var Xj=f(mu=>{"use strict";Object.defineProperty(mu,"__esModule",{value:!0});mu.isBearerToken=r0e;mu.isPopToken=n0e;mu.isTokenCredential=i0e;function r0e(t){return!t.tokenType||t.tokenType==="Bearer"}s(r0e,"isBearerToken");function n0e(t){return t.tokenType==="pop"}s(n0e,"isPopToken");function i0e(t){let e=t;return e&&typeof e.getToken=="function"&&(e.signRequest===void 0||e.getToken.length>0)}s(i0e,"isTokenCredential")});var Oc=f(or=>{"use strict";Object.defineProperty(or,"__esModule",{value:!0});or.isTokenCredential=or.isSASCredential=or.AzureSASCredential=or.isNamedKeyCredential=or.AzureNamedKeyCredential=or.isKeyCredential=or.AzureKeyCredential=void 0;var s0e=Vj();Object.defineProperty(or,"AzureKeyCredential",{enumerable:!0,get:s(function(){return s0e.AzureKeyCredential},"get")});var o0e=Wj();Object.defineProperty(or,"isKeyCredential",{enumerable:!0,get:s(function(){return o0e.isKeyCredential},"get")});var Zj=Kj();Object.defineProperty(or,"AzureNamedKeyCredential",{enumerable:!0,get:s(function(){return Zj.AzureNamedKeyCredential},"get")});Object.defineProperty(or,"isNamedKeyCredential",{enumerable:!0,get:s(function(){return Zj.isNamedKeyCredential},"get")});var eY=$j();Object.defineProperty(or,"AzureSASCredential",{enumerable:!0,get:s(function(){return eY.AzureSASCredential},"get")});Object.defineProperty(or,"isSASCredential",{enumerable:!0,get:s(function(){return eY.isSASCredential},"get")});var a0e=Xj();Object.defineProperty(or,"isTokenCredential",{enumerable:!0,get:s(function(){return a0e.isTokenCredential},"get")})});var yw=f(Ms=>{"use strict";Object.defineProperty(Ms,"__esModule",{value:!0});Ms.disableKeepAlivePolicyName=void 0;Ms.createDisableKeepAlivePolicy=c0e;Ms.pipelineContainsDisableKeepAlivePolicy=l0e;Ms.disableKeepAlivePolicyName="DisableKeepAlivePolicy";function c0e(){return{name:Ms.disableKeepAlivePolicyName,async sendRequest(t,e){return t.disableKeepAlive=!0,e(t)}}}s(c0e,"createDisableKeepAlivePolicy");function l0e(t){return t.getOrderedPolicies().some(e=>e.name===Ms.disableKeepAlivePolicyName)}s(l0e,"pipelineContainsDisableKeepAlivePolicy")});var Cw=f(Mc=>{"use strict";Object.defineProperty(Mc,"__esModule",{value:!0});Mc.encodeString=A0e;Mc.encodeByteArray=u0e;Mc.decodeString=d0e;Mc.decodeStringToString=p0e;function A0e(t){return Buffer.from(t).toString("base64")}s(A0e,"encodeString");function u0e(t){return(t instanceof Buffer?t:Buffer.from(t.buffer)).toString("base64")}s(u0e,"encodeByteArray");function d0e(t){return Buffer.from(t,"base64")}s(d0e,"decodeString");function p0e(t){return Buffer.from(t,"base64").toString()}s(p0e,"decodeStringToString")});var gu=f(kc=>{"use strict";Object.defineProperty(kc,"__esModule",{value:!0});kc.XML_CHARKEY=kc.XML_ATTRKEY=void 0;kc.XML_ATTRKEY="$";kc.XML_CHARKEY="_"});var Ew=f(Lc=>{"use strict";Object.defineProperty(Lc,"__esModule",{value:!0});Lc.isPrimitiveBody=tY;Lc.isDuration=g0e;Lc.isValidUuid=f0e;Lc.flattenResponse=C0e;function tY(t,e){return e!=="Composite"&&e!=="Dictionary"&&(typeof t=="string"||typeof t=="number"||typeof t=="boolean"||e?.match(/^(Date|DateTime|DateTimeRfc1123|UnixTime|ByteArray|Base64Url)$/i)!==null||t===void 0||t===null)}s(tY,"isPrimitiveBody");var m0e=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function g0e(t){return m0e.test(t)}s(g0e,"isDuration");var h0e=/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/i;function f0e(t){return h0e.test(t)}s(f0e,"isValidUuid");function y0e(t){let e={...t.headers,...t.body};return t.hasNullableType&&Object.getOwnPropertyNames(e).length===0?t.shouldWrapBody?{body:null}:null:t.shouldWrapBody?{...t.headers,body:t.body}:e}s(y0e,"handleNullableResponseAndWrappableBody");function C0e(t,e){let r=t.parsedHeaders;if(t.request.method==="HEAD")return{...r,body:t.parsedBody};let n=e&&e.bodyMapper,i=!!n?.nullable,o=n?.type.name;if(o==="Stream")return{...r,blobBody:t.blobBody,readableStreamBody:t.readableStreamBody};let a=o==="Composite"&&n.type.modelProperties||{},c=Object.keys(a).some(l=>a[l].serializedName==="");if(o==="Sequence"||c){let l=t.parsedBody??[];for(let A of Object.keys(a))a[A].serializedName&&(l[A]=t.parsedBody?.[A]);if(r)for(let A of Object.keys(r))l[A]=r[A];return i&&!t.parsedBody&&!r&&Object.getOwnPropertyNames(a).length===0?null:l}return y0e({body:t.parsedBody,headers:r,hasNullableType:i,shouldWrapBody:tY(t.parsedBody,o)})}s(C0e,"flattenResponse")});var fu=f(hu=>{"use strict";Object.defineProperty(hu,"__esModule",{value:!0});hu.MapperTypeNames=void 0;hu.createSerializer=B0e;var E0e=(jt(),Xt(Gt)),fg=E0e.__importStar(Cw()),Vt=gu(),nY=Ew(),Bw=class{static{s(this,"SerializerImpl")}modelMappers;isXML;constructor(e={},r=!1){this.modelMappers=e,this.isXML=r}validateConstraints(e,r,n){let i=s((o,a)=>{throw new Error(`"${n}" with value "${r}" should satisfy the constraint "${o}": ${a}.`)},"failValidation");if(e.constraints&&r!==void 0&&r!==null){let{ExclusiveMaximum:o,ExclusiveMinimum:a,InclusiveMaximum:c,InclusiveMinimum:l,MaxItems:A,MaxLength:u,MinItems:d,MinLength:g,MultipleOf:y,Pattern:B,UniqueItems:w}=e.constraints;if(o!==void 0&&r>=o&&i("ExclusiveMaximum",o),a!==void 0&&r<=a&&i("ExclusiveMinimum",a),c!==void 0&&r>c&&i("InclusiveMaximum",c),l!==void 0&&rA&&i("MaxItems",A),u!==void 0&&r.length>u&&i("MaxLength",u),d!==void 0&&r.lengthR.indexOf(x)!==S)&&i("UniqueItems",w)}}serialize(e,r,n,i={xml:{}}){let o={xml:{rootName:i.xml.rootName??"",includeRoot:i.xml.includeRoot??!1,xmlCharKey:i.xml.xmlCharKey??Vt.XML_CHARKEY}},a={},c=e.type.name;n||(n=e.serializedName),c.match(/^Sequence$/i)!==null&&(a=[]),e.isConstant&&(r=e.defaultValue);let{required:l,nullable:A}=e;if(l&&A&&r===void 0)throw new Error(`${n} cannot be undefined.`);if(l&&!A&&r==null)throw new Error(`${n} cannot be null or undefined.`);if(!l&&A===!1&&r===null)throw new Error(`${n} cannot be null.`);return r==null||c.match(/^any$/i)!==null?a=r:c.match(/^(Number|String|Boolean|Object|Stream|Uuid)$/i)!==null?a=S0e(c,n,r):c.match(/^Enum$/i)!==null?a=x0e(n,e.type.allowedValues,r):c.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)!==null?a=P0e(c,r,n):c.match(/^ByteArray$/i)!==null?a=R0e(n,r):c.match(/^Base64Url$/i)!==null?a=v0e(n,r):c.match(/^Sequence$/i)!==null?a=_0e(this,e,r,n,!!this.isXML,o):c.match(/^Dictionary$/i)!==null?a=D0e(this,e,r,n,!!this.isXML,o):c.match(/^Composite$/i)!==null&&(a=O0e(this,e,r,n,!!this.isXML,o)),a}deserialize(e,r,n,i={xml:{}}){let o={xml:{rootName:i.xml.rootName??"",includeRoot:i.xml.includeRoot??!1,xmlCharKey:i.xml.xmlCharKey??Vt.XML_CHARKEY},ignoreUnknownProperties:i.ignoreUnknownProperties??!1};if(r==null)return this.isXML&&e.type.name==="Sequence"&&!e.xmlIsWrapped&&(r=[]),e.defaultValue!==void 0&&(r=e.defaultValue),r;let a,c=e.type.name;if(n||(n=e.serializedName),c.match(/^Composite$/i)!==null)a=k0e(this,e,r,n,o);else{if(this.isXML){let l=o.xml.xmlCharKey;r[Vt.XML_ATTRKEY]!==void 0&&r[l]!==void 0&&(r=r[l])}c.match(/^Number$/i)!==null?(a=parseFloat(r),isNaN(a)&&(a=r)):c.match(/^Boolean$/i)!==null?r==="true"?a=!0:r==="false"?a=!1:a=r:c.match(/^(String|Enum|Object|Stream|Uuid|TimeSpan|any)$/i)!==null?a=r:c.match(/^(Date|DateTime|DateTimeRfc1123)$/i)!==null?a=new Date(r):c.match(/^UnixTime$/i)!==null?a=w0e(r):c.match(/^ByteArray$/i)!==null?a=fg.decodeString(r):c.match(/^Base64Url$/i)!==null?a=Q0e(r):c.match(/^Sequence$/i)!==null?a=F0e(this,e,r,n,o):c.match(/^Dictionary$/i)!==null&&(a=L0e(this,e,r,n,o))}return e.isConstant&&(a=e.defaultValue),a}};function B0e(t={},e=!1){return new Bw(t,e)}s(B0e,"createSerializer");function I0e(t,e){let r=t.length;for(;r-1>=0&&t[r-1]===e;)--r;return t.substr(0,r)}s(I0e,"trimEnd");function b0e(t){if(!t)return;if(!(t instanceof Uint8Array))throw new Error("Please provide an input of type Uint8Array for converting to Base64Url.");let e=fg.encodeByteArray(t);return I0e(e,"=").replace(/\+/g,"-").replace(/\//g,"_")}s(b0e,"bufferToBase64Url");function Q0e(t){if(t){if(t&&typeof t.valueOf()!="string")throw new Error("Please provide an input of type string for converting to Uint8Array");return t=t.replace(/-/g,"+").replace(/_/g,"/"),fg.decodeString(t)}}s(Q0e,"base64UrlToByteArray");function Iw(t){let e=[],r="";if(t){let n=t.split(".");for(let i of n)i.charAt(i.length-1)==="\\"?r+=i.substr(0,i.length-1)+".":(r+=i,e.push(r),r="")}return e}s(Iw,"splitSerializeName");function N0e(t){if(t)return typeof t.valueOf()=="string"&&(t=new Date(t)),Math.floor(t.getTime()/1e3)}s(N0e,"dateToUnixTime");function w0e(t){if(t)return new Date(t*1e3)}s(w0e,"unixTimeToDate");function S0e(t,e,r){if(r!=null){if(t.match(/^Number$/i)!==null){if(typeof r!="number")throw new Error(`${e} with value ${r} must be of type number.`)}else if(t.match(/^String$/i)!==null){if(typeof r.valueOf()!="string")throw new Error(`${e} with value "${r}" must be of type string.`)}else if(t.match(/^Uuid$/i)!==null){if(!(typeof r.valueOf()=="string"&&(0,nY.isValidUuid)(r)))throw new Error(`${e} with value "${r}" must be of type string and a valid uuid.`)}else if(t.match(/^Boolean$/i)!==null){if(typeof r!="boolean")throw new Error(`${e} with value ${r} must be of type boolean.`)}else if(t.match(/^Stream$/i)!==null){let n=typeof r;if(n!=="string"&&typeof r.pipe!="function"&&typeof r.tee!="function"&&!(r instanceof ArrayBuffer)&&!ArrayBuffer.isView(r)&&!((typeof Blob=="function"||typeof Blob=="object")&&r instanceof Blob)&&n!=="function")throw new Error(`${e} must be a string, Blob, ArrayBuffer, ArrayBufferView, ReadableStream, or () => ReadableStream.`)}}return r}s(S0e,"serializeBasicTypes");function x0e(t,e,r){if(!e)throw new Error(`Please provide a set of allowedValues to validate ${t} as an Enum Type.`);if(!e.some(i=>typeof i.valueOf()=="string"?i.toLowerCase()===r.toLowerCase():i===r))throw new Error(`${r} is not a valid value for ${t}. The valid values are: ${JSON.stringify(e)}.`);return r}s(x0e,"serializeEnumType");function R0e(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=fg.encodeByteArray(e)}return e}s(R0e,"serializeByteArrayType");function v0e(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=b0e(e)}return e}s(v0e,"serializeBase64UrlType");function P0e(t,e,r){if(e!=null){if(t.match(/^Date$/i)!==null){if(!(e instanceof Date||typeof e.valueOf()=="string"&&!isNaN(Date.parse(e))))throw new Error(`${r} must be an instanceof Date or a string in ISO8601 format.`);e=e instanceof Date?e.toISOString().substring(0,10):new Date(e).toISOString().substring(0,10)}else if(t.match(/^DateTime$/i)!==null){if(!(e instanceof Date||typeof e.valueOf()=="string"&&!isNaN(Date.parse(e))))throw new Error(`${r} must be an instanceof Date or a string in ISO8601 format.`);e=e instanceof Date?e.toISOString():new Date(e).toISOString()}else if(t.match(/^DateTimeRfc1123$/i)!==null){if(!(e instanceof Date||typeof e.valueOf()=="string"&&!isNaN(Date.parse(e))))throw new Error(`${r} must be an instanceof Date or a string in RFC-1123 format.`);e=e instanceof Date?e.toUTCString():new Date(e).toUTCString()}else if(t.match(/^UnixTime$/i)!==null){if(!(e instanceof Date||typeof e.valueOf()=="string"&&!isNaN(Date.parse(e))))throw new Error(`${r} must be an instanceof Date or a string in RFC-1123/ISO8601 format for it to be serialized in UnixTime/Epoch format.`);e=N0e(e)}else if(t.match(/^TimeSpan$/i)!==null&&!(0,nY.isDuration)(e))throw new Error(`${r} must be a string in ISO 8601 format. Instead was "${e}".`)}return e}s(P0e,"serializeDateTypes");function _0e(t,e,r,n,i,o){if(!Array.isArray(r))throw new Error(`${n} must be of type Array.`);let a=e.type.element;if(!a||typeof a!="object")throw new Error(`element" metadata for an Array must be defined in the mapper and it must of type "object" in ${n}.`);a.type.name==="Composite"&&a.type.className&&(a=t.modelMappers[a.type.className]??a);let c=[];for(let l=0;lg!==u)&&(a[u]=t.serialize(l,r[u],n+'["'+u+'"]',o))}return a}return r}s(O0e,"serializeCompositeType");function oY(t,e,r,n){if(!r||!t.xmlNamespace)return e;let o={[t.xmlNamespacePrefix?`xmlns:${t.xmlNamespacePrefix}`:"xmlns"]:t.xmlNamespace};if(["Composite"].includes(t.type.name)){if(e[Vt.XML_ATTRKEY])return e;{let c={...e};return c[Vt.XML_ATTRKEY]=o,c}}let a={};return a[n.xml.xmlCharKey]=e,a[Vt.XML_ATTRKEY]=o,a}s(oY,"getXmlObjectValue");function M0e(t,e){return[Vt.XML_ATTRKEY,e.xml.xmlCharKey].includes(t)}s(M0e,"isSpecialXmlProperty");function k0e(t,e,r,n,i){let o=i.xml.xmlCharKey??Vt.XML_CHARKEY;hg(t,e)&&(e=aY(t,e,r,"serializedName"));let a=sY(t,e,n),c={},l=[];for(let u of Object.keys(a)){let d=a[u],g=Iw(a[u].serializedName);l.push(g[0]);let{serializedName:y,xmlName:B,xmlElementName:w}=d,x=n;y!==""&&y!==void 0&&(x=n+"."+y);let S=d.headerCollectionPrefix;if(S){let R={};for(let D of Object.keys(r))D.startsWith(S)&&(R[D.substring(S.length)]=t.deserialize(d.type.value,r[D],x,i)),l.push(D);c[u]=R}else if(t.isXML)if(d.xmlIsAttribute&&r[Vt.XML_ATTRKEY])c[u]=t.deserialize(d,r[Vt.XML_ATTRKEY][B],x,i);else if(d.xmlIsMsText)r[o]!==void 0?c[u]=r[o]:typeof r=="string"&&(c[u]=r);else{let R=w||B||y;if(d.xmlIsWrapped){let L=r[B]?.[w]??[];c[u]=t.deserialize(d,L,x,i),l.push(B)}else{let D=r[R];c[u]=t.deserialize(d,D,x,i),l.push(R)}}else{let R,D=r,L=0;for(let ne of g){if(!D)break;L++,D=D[ne]}D===null&&L{for(let g in a)if(Iw(a[g].serializedName)[0]===d)return!1;return!0},"isAdditionalProperty");for(let d in r)u(d)&&(c[d]=t.deserialize(A,r[d],n+'["'+d+'"]',i))}else if(r&&!i.ignoreUnknownProperties)for(let u of Object.keys(r))c[u]===void 0&&!l.includes(u)&&!M0e(u,i)&&(c[u]=r[u]);return c}s(k0e,"deserializeCompositeType");function L0e(t,e,r,n,i){let o=e.type.value;if(!o||typeof o!="object")throw new Error(`"value" metadata for a Dictionary must be defined in the mapper and it must of type "object" in ${n}`);if(r){let a={};for(let c of Object.keys(r))a[c]=t.deserialize(o,r[c],n,i);return a}return r}s(L0e,"deserializeDictionaryType");function F0e(t,e,r,n,i){let o=e.type.element;if(!o||typeof o!="object")throw new Error(`element" metadata for an Array must be defined in the mapper and it must of type "object" in ${n}`);if(r){Array.isArray(r)||(r=[r]),o.type.name==="Composite"&&o.type.className&&(o=t.modelMappers[o.type.className]??o);let a=[];for(let c=0;c{"use strict";Object.defineProperty(yg,"__esModule",{value:!0});yg.state=void 0;yg.state={operationRequestMap:new WeakMap}});var yu=f(Cg=>{"use strict";Object.defineProperty(Cg,"__esModule",{value:!0});Cg.getOperationArgumentValueFromParameter=uY;Cg.getOperationRequestInfo=pY;var lY=cY();function uY(t,e,r){let n=e.parameterPath,i=e.mapper,o;if(typeof n=="string"&&(n=[n]),Array.isArray(n)){if(n.length>0)if(i.isConstant)o=i.defaultValue;else{let a=AY(t,n);!a.propertyFound&&r&&(a=AY(r,n));let c=!1;a.propertyFound||(c=i.required||n[0]==="options"&&n.length===2),o=c?i.defaultValue:a.propertyValue}}else{i.required&&(o={});for(let a in n){let c=i.type.modelProperties[a],l=n[a],A=uY(t,{parameterPath:l,mapper:c},r);A!==void 0&&(o||(o={}),o[a]=A)}}return o}s(uY,"getOperationArgumentValueFromParameter");function AY(t,e){let r={propertyFound:!1},n=0;for(;n{"use strict";Object.defineProperty(Fc,"__esModule",{value:!0});Fc.deserializationPolicyName=void 0;Fc.deserializationPolicy=j0e;var H0e=gu(),Eg=Tt(),mY=fu(),bw=yu(),z0e=["application/json","text/json"],G0e=["application/xml","application/atom+xml"];Fc.deserializationPolicyName="deserializationPolicy";function j0e(t={}){let e=t.expectedContentTypes?.json??z0e,r=t.expectedContentTypes?.xml??G0e,n=t.parseXML,i=t.serializerOptions,o={xml:{rootName:i?.xml.rootName??"",includeRoot:i?.xml.includeRoot??!1,xmlCharKey:i?.xml.xmlCharKey??H0e.XML_CHARKEY}};return{name:Fc.deserializationPolicyName,async sendRequest(a,c){let l=await c(a);return V0e(e,r,l,o,n)}}}s(j0e,"deserializationPolicy");function Y0e(t){let e,r=t.request,n=(0,bw.getOperationRequestInfo)(r),i=n?.operationSpec;return i&&(n?.operationResponseGetter?e=n?.operationResponseGetter(i,t):e=i.responses[t.status]),e}s(Y0e,"getOperationResponseMap");function J0e(t){let e=t.request,n=(0,bw.getOperationRequestInfo)(e)?.shouldDeserialize,i;return n===void 0?i=!0:typeof n=="boolean"?i=n:i=n(t),i}s(J0e,"shouldDeserializeResponse");async function V0e(t,e,r,n,i){let o=await $0e(t,e,r,n,i);if(!J0e(o))return o;let c=(0,bw.getOperationRequestInfo)(o.request)?.operationSpec;if(!c||!c.responses)return o;let l=Y0e(o),{error:A,shouldReturnResponse:u}=K0e(o,c,l,n);if(A)throw A;if(u)return o;if(l){if(l.bodyMapper){let d=o.parsedBody;c.isXML&&l.bodyMapper.type.name===mY.MapperTypeNames.Sequence&&(d=typeof d=="object"?d[l.bodyMapper.xmlElementName]:[]);try{o.parsedBody=c.serializer.deserialize(l.bodyMapper,d,"operationRes.parsedBody",n)}catch(g){throw new Eg.RestError(`Error ${g} occurred in deserializing the responseBody - ${o.bodyAsText}`,{statusCode:o.status,request:o.request,response:o})}}else c.httpMethod==="HEAD"&&(o.parsedBody=r.status>=200&&r.status<300);l.headersMapper&&(o.parsedHeaders=c.serializer.deserialize(l.headersMapper,o.headers.toJSON(),"operationRes.parsedHeaders",{xml:{},ignoreUnknownProperties:!0}))}return o}s(V0e,"deserializeResponseBody");function W0e(t){let e=Object.keys(t.responses);return e.length===0||e.length===1&&e[0]==="default"}s(W0e,"isOperationSpecEmpty");function K0e(t,e,r,n){let i=200<=t.status&&t.status<300;if(W0e(e)?i:!!r)if(r){if(!r.isError)return{error:null,shouldReturnResponse:!1}}else return{error:null,shouldReturnResponse:!1};let a=r??e.responses.default,c=t.request.streamResponseStatusCodes?.has(t.status)?`Unexpected status code: ${t.status}`:t.bodyAsText,l=new Eg.RestError(c,{statusCode:t.status,request:t.request,response:t});if(!a&&!(t.parsedBody?.error?.code&&t.parsedBody?.error?.message))throw l;let A=a?.bodyMapper,u=a?.headersMapper;try{if(t.parsedBody){let d=t.parsedBody,g;if(A){let B=d;if(e.isXML&&A.type.name===mY.MapperTypeNames.Sequence){B=[];let w=A.xmlElementName;typeof d=="object"&&w&&(B=d[w])}g=e.serializer.deserialize(A,B,"error.response.parsedBody",n)}let y=d.error||g||d;l.code=y.code,y.message&&(l.message=y.message),A&&(l.response.parsedBody=g)}t.headers&&u&&(l.response.parsedHeaders=e.serializer.deserialize(u,t.headers.toJSON(),"operationRes.parsedHeaders"))}catch(d){l.message=`Error "${d.message}" occurred in deserializing the responseBody - "${t.bodyAsText}" for the default response.`}return{error:l,shouldReturnResponse:!1}}s(K0e,"handleErrorResponse");async function $0e(t,e,r,n,i){if(!r.request.streamResponseStatusCodes?.has(r.status)&&r.bodyAsText){let o=r.bodyAsText,a=r.headers.get("Content-Type")||"",c=a?a.split(";").map(l=>l.toLowerCase()):[];try{if(c.length===0||c.some(l=>t.indexOf(l)!==-1))return r.parsedBody=JSON.parse(o),r;if(c.some(l=>e.indexOf(l)!==-1)){if(!i)throw new Error("Parsing XML not supported.");let l=await i(o,n.xml);return r.parsedBody=l,r}}catch(l){let A=`Error "${l}" occurred while parsing the response body - ${r.bodyAsText}.`,u=l.code||Eg.RestError.PARSE_ERROR;throw new Eg.RestError(A,{code:u,statusCode:r.status,request:r.request,response:r})}}return r}s($0e,"parse")});var Ig=f(Bg=>{"use strict";Object.defineProperty(Bg,"__esModule",{value:!0});Bg.getStreamingResponseStatusCodes=Z0e;Bg.getPathStringFromParameter=eSe;var X0e=fu();function Z0e(t){let e=new Set;for(let r in t.responses){let n=t.responses[r];n.bodyMapper&&n.bodyMapper.type.name===X0e.MapperTypeNames.Stream&&e.add(Number(r))}return e}s(Z0e,"getStreamingResponseStatusCodes");function eSe(t){let{parameterPath:e,mapper:r}=t,n;return typeof e=="string"?n=e:Array.isArray(e)?n=e.join("."):n=r.serializedName,n}s(eSe,"getPathStringFromParameter")});var Sw=f(ks=>{"use strict";Object.defineProperty(ks,"__esModule",{value:!0});ks.serializationPolicyName=void 0;ks.serializationPolicy=tSe;ks.serializeHeaders=gY;ks.serializeRequestBody=hY;var ww=gu(),bg=yu(),Nw=fu(),Cu=Ig();ks.serializationPolicyName="serializationPolicy";function tSe(t={}){let e=t.stringifyXML;return{name:ks.serializationPolicyName,async sendRequest(r,n){let i=(0,bg.getOperationRequestInfo)(r),o=i?.operationSpec,a=i?.operationArguments;return o&&a&&(gY(r,a,o),hY(r,a,o,e)),n(r)}}}s(tSe,"serializationPolicy");function gY(t,e,r){if(r.headerParameters)for(let i of r.headerParameters){let o=(0,bg.getOperationArgumentValueFromParameter)(e,i);if(o!=null||i.mapper.required){o=r.serializer.serialize(i.mapper,o,(0,Cu.getPathStringFromParameter)(i));let a=i.mapper.headerCollectionPrefix;if(a)for(let c of Object.keys(o))t.headers.set(a+c,o[c]);else t.headers.set(i.mapper.serializedName||(0,Cu.getPathStringFromParameter)(i),o)}}let n=e.options?.requestOptions?.customHeaders;if(n)for(let i of Object.keys(n))t.headers.set(i,n[i])}s(gY,"serializeHeaders");function hY(t,e,r,n=function(){throw new Error("XML serialization unsupported!")}){let i=e.options?.serializerOptions,o={xml:{rootName:i?.xml.rootName??"",includeRoot:i?.xml.includeRoot??!1,xmlCharKey:i?.xml.xmlCharKey??ww.XML_CHARKEY}},a=o.xml.xmlCharKey;if(r.requestBody&&r.requestBody.mapper){t.body=(0,bg.getOperationArgumentValueFromParameter)(e,r.requestBody);let c=r.requestBody.mapper,{required:l,serializedName:A,xmlName:u,xmlElementName:d,xmlNamespace:g,xmlNamespacePrefix:y,nullable:B}=c,w=c.type.name;try{if(t.body!==void 0&&t.body!==null||B&&t.body===null||l){let x=(0,Cu.getPathStringFromParameter)(r.requestBody);t.body=r.serializer.serialize(c,t.body,x,o);let S=w===Nw.MapperTypeNames.Stream;if(r.isXML){let R=y?`xmlns:${y}`:"xmlns",D=rSe(g,R,w,t.body,o);w===Nw.MapperTypeNames.Sequence?t.body=n(nSe(D,d||u||A,R,g),{rootName:u||A,xmlCharKey:a}):S||(t.body=n(D,{rootName:u||A,xmlCharKey:a}))}else{if(w===Nw.MapperTypeNames.String&&(r.contentType?.match("text/plain")||r.mediaType==="text"))return;S||(t.body=JSON.stringify(t.body))}}}catch(x){throw new Error(`Error "${x.message}" occurred in serializing the payload - ${JSON.stringify(A,void 0," ")}.`)}}else if(r.formDataParameters&&r.formDataParameters.length>0){t.formData={};for(let c of r.formDataParameters){let l=(0,bg.getOperationArgumentValueFromParameter)(e,c);if(l!=null){let A=c.mapper.serializedName||(0,Cu.getPathStringFromParameter)(c);t.formData[A]=r.serializer.serialize(c.mapper,l,(0,Cu.getPathStringFromParameter)(c),o)}}}}s(hY,"serializeRequestBody");function rSe(t,e,r,n,i){if(t&&!["Composite","Sequence","Dictionary"].includes(r)){let o={};return o[i.xml.xmlCharKey]=n,o[ww.XML_ATTRKEY]={[e]:t},o}return n}s(rSe,"getXmlValueWithNamespace");function nSe(t,e,r,n){if(Array.isArray(t)||(t=[t]),!r||!n)return{[e]:t};let i={[e]:t};return i[ww.XML_ATTRKEY]={[r]:n},i}s(nSe,"prepareXMLRootList")});var Rw=f(xw=>{"use strict";Object.defineProperty(xw,"__esModule",{value:!0});xw.createClientPipeline=oSe;var iSe=Qw(),fY=Tt(),sSe=Sw();function oSe(t={}){let e=(0,fY.createPipelineFromOptions)(t??{});return t.credentialOptions&&e.addPolicy((0,fY.bearerTokenAuthenticationPolicy)({credential:t.credentialOptions.credential,scopes:t.credentialOptions.credentialScopes})),e.addPolicy((0,sSe.serializationPolicy)(t.serializationOptions),{phase:"Serialize"}),e.addPolicy((0,iSe.deserializationPolicy)(t.deserializationOptions),{phase:"Deserialize"}),e}s(oSe,"createClientPipeline")});var yY=f(Pw=>{"use strict";Object.defineProperty(Pw,"__esModule",{value:!0});Pw.getCachedDefaultHttpClient=cSe;var aSe=Tt(),vw;function cSe(){return vw||(vw=(0,aSe.createDefaultHttpClient)()),vw}s(cSe,"getCachedDefaultHttpClient")});var IY=f(Qg=>{"use strict";Object.defineProperty(Qg,"__esModule",{value:!0});Qg.getRequestUrl=ASe;Qg.appendQueryParams=BY;var EY=yu(),_w=Ig(),lSe={CSV:",",SSV:" ",Multi:"Multi",TSV:" ",Pipes:"|"};function ASe(t,e,r,n){let i=uSe(e,r,n),o=!1,a=CY(t,i);if(e.path){let A=CY(e.path,i);e.path==="/{nextLink}"&&A.startsWith("/")&&(A=A.substring(1)),dSe(A)?(a=A,o=!0):a=pSe(a,A)}let{queryParams:c,sequenceParams:l}=mSe(e,r,n);return a=BY(a,c,l,o),a}s(ASe,"getRequestUrl");function CY(t,e){let r=t;for(let[n,i]of e)r=r.split(n).join(i);return r}s(CY,"replaceAll");function uSe(t,e,r){let n=new Map;if(t.urlParameters?.length)for(let i of t.urlParameters){let o=(0,EY.getOperationArgumentValueFromParameter)(e,i,r),a=(0,_w.getPathStringFromParameter)(i);o=t.serializer.serialize(i.mapper,o,a),i.skipEncoding||(o=encodeURIComponent(o)),n.set(`{${i.mapper.serializedName||a}}`,o)}return n}s(uSe,"calculateUrlReplacements");function dSe(t){return t.includes("://")}s(dSe,"isAbsoluteUrl");function pSe(t,e){if(!e)return t;let r=new URL(t),n=r.pathname;n.endsWith("/")||(n=`${n}/`),e.startsWith("/")&&(e=e.substring(1));let i=e.indexOf("?");if(i!==-1){let o=e.substring(0,i),a=e.substring(i+1);n=n+o,a&&(r.search=r.search?`${r.search}&${a}`:a)}else n=n+e;return r.pathname=n,r.toString()}s(pSe,"appendPath");function mSe(t,e,r){let n=new Map,i=new Set;if(t.queryParameters?.length)for(let o of t.queryParameters){o.mapper.type.name==="Sequence"&&o.mapper.serializedName&&i.add(o.mapper.serializedName);let a=(0,EY.getOperationArgumentValueFromParameter)(e,o,r);if(a!=null||o.mapper.required){a=t.serializer.serialize(o.mapper,a,(0,_w.getPathStringFromParameter)(o));let c=o.collectionFormat?lSe[o.collectionFormat]:"";if(Array.isArray(a)&&(a=a.map(l=>l??"")),o.collectionFormat==="Multi"&&a.length===0)continue;Array.isArray(a)&&(o.collectionFormat==="SSV"||o.collectionFormat==="TSV")&&(a=a.join(c)),o.skipEncoding||(Array.isArray(a)?a=a.map(l=>encodeURIComponent(l)):a=encodeURIComponent(a)),Array.isArray(a)&&(o.collectionFormat==="CSV"||o.collectionFormat==="Pipes")&&(a=a.join(c)),n.set(o.mapper.serializedName||(0,_w.getPathStringFromParameter)(o),a)}}return{queryParams:n,sequenceParams:i}}s(mSe,"calculateQueryParameters");function gSe(t){let e=new Map;if(!t||t[0]!=="?")return e;t=t.slice(1);let r=t.split("&");for(let n of r){let[i,o]=n.split("=",2),a=e.get(i);a?Array.isArray(a)?a.push(o):e.set(i,[a,o]):e.set(i,o)}return e}s(gSe,"simpleParseQueryParams");function BY(t,e,r,n=!1){if(e.size===0)return t;let i=new URL(t),o=gSe(i.search);for(let[c,l]of e){let A=o.get(c);if(Array.isArray(A))if(Array.isArray(l)){A.push(...l);let u=new Set(A);o.set(c,Array.from(u))}else A.push(l);else A?(Array.isArray(l)?l.unshift(A):r.has(c)&&o.set(c,[A,l]),n||o.set(c,l)):o.set(c,l)}let a=[];for(let[c,l]of o)if(typeof l=="string")a.push(`${c}=${l}`);else if(Array.isArray(l))for(let A of l)a.push(`${c}=${A}`);else a.push(`${c}=${l}`);return i.search=a.length?`?${a.join("&")}`:"",i.toString()}s(BY,"appendQueryParams")});var Dw=f(Ng=>{"use strict";Object.defineProperty(Ng,"__esModule",{value:!0});Ng.logger=void 0;var hSe=zo();Ng.logger=(0,hSe.createClientLogger)("core-client")});var QY=f(wg=>{"use strict";Object.defineProperty(wg,"__esModule",{value:!0});wg.ServiceClient=void 0;var fSe=Tt(),ySe=Rw(),bY=Ew(),CSe=yY(),ESe=yu(),BSe=IY(),ISe=Ig(),bSe=Dw(),Tw=class{static{s(this,"ServiceClient")}_endpoint;_requestContentType;_allowInsecureConnection;_httpClient;pipeline;constructor(e={}){if(this._requestContentType=e.requestContentType,this._endpoint=e.endpoint??e.baseUri,e.baseUri&&bSe.logger.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead."),this._allowInsecureConnection=e.allowInsecureConnection,this._httpClient=e.httpClient||(0,CSe.getCachedDefaultHttpClient)(),this.pipeline=e.pipeline||QSe(e),e.additionalPolicies?.length)for(let{policy:r,position:n}of e.additionalPolicies){let i=n==="perRetry"?"Sign":void 0;this.pipeline.addPolicy(r,{afterPhase:i})}}async sendRequest(e){return this.pipeline.sendRequest(this._httpClient,e)}async sendOperationRequest(e,r){let n=r.baseUrl||this._endpoint;if(!n)throw new Error("If operationSpec.baseUrl is not specified, then the ServiceClient must have a endpoint string property that contains the base URL to use.");let i=(0,BSe.getRequestUrl)(n,r,e,this),o=(0,fSe.createPipelineRequest)({url:i});o.method=r.httpMethod;let a=(0,ESe.getOperationRequestInfo)(o);a.operationSpec=r,a.operationArguments=e;let c=r.contentType||this._requestContentType;c&&r.requestBody&&o.headers.set("Content-Type",c);let l=e.options;if(l){let A=l.requestOptions;A&&(A.timeout&&(o.timeout=A.timeout),A.onUploadProgress&&(o.onUploadProgress=A.onUploadProgress),A.onDownloadProgress&&(o.onDownloadProgress=A.onDownloadProgress),A.shouldDeserialize!==void 0&&(a.shouldDeserialize=A.shouldDeserialize),A.allowInsecureConnection&&(o.allowInsecureConnection=!0)),l.abortSignal&&(o.abortSignal=l.abortSignal),l.tracingOptions&&(o.tracingOptions=l.tracingOptions)}this._allowInsecureConnection&&(o.allowInsecureConnection=!0),o.streamResponseStatusCodes===void 0&&(o.streamResponseStatusCodes=(0,ISe.getStreamingResponseStatusCodes)(r));try{let A=await this.sendRequest(o),u=(0,bY.flattenResponse)(A,r.responses[A.status]);return l?.onResponse&&l.onResponse(A,u),u}catch(A){if(typeof A=="object"&&A?.response){let u=A.response,d=(0,bY.flattenResponse)(u,r.responses[A.statusCode]||r.responses.default);A.details=d,l?.onResponse&&l.onResponse(u,d,A)}throw A}}};wg.ServiceClient=Tw;function QSe(t){let e=NSe(t),r=t.credential&&e?{credentialScopes:e,credential:t.credential}:void 0;return(0,ySe.createClientPipeline)({...t,credentialOptions:r})}s(QSe,"createDefaultPipeline");function NSe(t){if(t.credentialScopes)return t.credentialScopes;if(t.endpoint)return`${t.endpoint}/.default`;if(t.baseUri)return`${t.baseUri}/.default`;if(t.credential&&!t.credentialScopes)throw new Error("When using credentials, the ServiceClientOptions must contain either a endpoint or a credentialScopes. Unable to create a bearerTokenAuthenticationPolicy")}s(NSe,"getCredentialScopes")});var wY=f(Sg=>{"use strict";Object.defineProperty(Sg,"__esModule",{value:!0});Sg.parseCAEChallenge=NY;Sg.authorizeRequestOnClaimChallenge=xSe;var wSe=Dw(),SSe=Cw();function NY(t){return`, ${t.trim()}`.split(", Bearer ").filter(r=>r).map(r=>`${r.trim()}, `.split('", ').filter(o=>o).map(o=>(([a,c])=>({[a]:c}))(o.trim().split('="'))).reduce((o,a)=>({...o,...a}),{}))}s(NY,"parseCAEChallenge");async function xSe(t){let{scopes:e,response:r}=t,n=t.logger||wSe.logger,i=r.headers.get("WWW-Authenticate");if(!i)return n.info("The WWW-Authenticate header was missing. Failed to perform the Continuous Access Evaluation authentication flow."),!1;let a=(NY(i)||[]).find(l=>l.claims);if(!a)return n.info('The WWW-Authenticate header was missing the necessary "claims" to perform the Continuous Access Evaluation authentication flow.'),!1;let c=await t.getAccessToken(a.scope?[a.scope]:e,{claims:(0,SSe.decodeStringToString)(a.claims)});return c?(t.request.headers.set("Authorization",`${c.tokenType??"Bearer"} ${c.token}`),!0):!1}s(xSe,"authorizeRequestOnClaimChallenge")});var xY=f(xg=>{"use strict";Object.defineProperty(xg,"__esModule",{value:!0});xg.authorizeRequestOnTenantChallenge=void 0;var SY={DefaultScope:"/.default",HeaderConstants:{AUTHORIZATION:"authorization"}};function RSe(t){return/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/.test(t)}s(RSe,"isUuid");var vSe=s(async t=>{let e=OSe(t.request),r=DSe(t.response);if(r){let n=TSe(r),i=_Se(t,n),o=PSe(n);if(!o)return!1;let a=await t.getAccessToken(i,{...e,tenantId:o});return a?(t.request.headers.set(SY.HeaderConstants.AUTHORIZATION,`${a.tokenType??"Bearer"} ${a.token}`),!0):!1}return!1},"authorizeRequestOnTenantChallenge");xg.authorizeRequestOnTenantChallenge=vSe;function PSe(t){let n=new URL(t.authorization_uri).pathname.split("/")[1];if(n&&RSe(n))return n}s(PSe,"extractTenantId");function _Se(t,e){if(!e.resource_id)return t.scopes;let r=new URL(e.resource_id);r.pathname=SY.DefaultScope;let n=r.toString();return n==="https://disk.azure.com/.default"&&(n="https://disk.azure.com//.default"),[n]}s(_Se,"buildScopes");function DSe(t){let e=t.headers.get("WWW-Authenticate");if(t.status===401&&e)return e}s(DSe,"getChallenge");function TSe(t){return`${t.slice(7).trim()} `.split(" ").filter(i=>i).map(i=>(([o,a])=>({[o]:a}))(i.trim().split("="))).reduce((i,o)=>({...i,...o}),{})}s(TSe,"parseChallenge");function OSe(t){return{abortSignal:t.abortSignal,requestOptions:{timeout:t.timeout},tracingOptions:t.tracingOptions}}s(OSe,"requestToOptions")});var fi=f(Ve=>{"use strict";Object.defineProperty(Ve,"__esModule",{value:!0});Ve.authorizeRequestOnTenantChallenge=Ve.authorizeRequestOnClaimChallenge=Ve.serializationPolicyName=Ve.serializationPolicy=Ve.deserializationPolicyName=Ve.deserializationPolicy=Ve.XML_CHARKEY=Ve.XML_ATTRKEY=Ve.createClientPipeline=Ve.ServiceClient=Ve.MapperTypeNames=Ve.createSerializer=void 0;var RY=fu();Object.defineProperty(Ve,"createSerializer",{enumerable:!0,get:s(function(){return RY.createSerializer},"get")});Object.defineProperty(Ve,"MapperTypeNames",{enumerable:!0,get:s(function(){return RY.MapperTypeNames},"get")});var MSe=QY();Object.defineProperty(Ve,"ServiceClient",{enumerable:!0,get:s(function(){return MSe.ServiceClient},"get")});var kSe=Rw();Object.defineProperty(Ve,"createClientPipeline",{enumerable:!0,get:s(function(){return kSe.createClientPipeline},"get")});var vY=gu();Object.defineProperty(Ve,"XML_ATTRKEY",{enumerable:!0,get:s(function(){return vY.XML_ATTRKEY},"get")});Object.defineProperty(Ve,"XML_CHARKEY",{enumerable:!0,get:s(function(){return vY.XML_CHARKEY},"get")});var PY=Qw();Object.defineProperty(Ve,"deserializationPolicy",{enumerable:!0,get:s(function(){return PY.deserializationPolicy},"get")});Object.defineProperty(Ve,"deserializationPolicyName",{enumerable:!0,get:s(function(){return PY.deserializationPolicyName},"get")});var _Y=Sw();Object.defineProperty(Ve,"serializationPolicy",{enumerable:!0,get:s(function(){return _Y.serializationPolicy},"get")});Object.defineProperty(Ve,"serializationPolicyName",{enumerable:!0,get:s(function(){return _Y.serializationPolicyName},"get")});var LSe=wY();Object.defineProperty(Ve,"authorizeRequestOnClaimChallenge",{enumerable:!0,get:s(function(){return LSe.authorizeRequestOnClaimChallenge},"get")});var FSe=xY();Object.defineProperty(Ve,"authorizeRequestOnTenantChallenge",{enumerable:!0,get:s(function(){return FSe.authorizeRequestOnTenantChallenge},"get")})});var Bu=f(jo=>{"use strict";Object.defineProperty(jo,"__esModule",{value:!0});jo.HttpHeaders=void 0;jo.toPipelineRequest=OY;jo.toWebResourceLike=MY;jo.toHttpHeadersLike=kY;var DY=Tt(),TY=Symbol("Original PipelineRequest"),USe=Symbol.for("@azure/core-client original request");function OY(t,e={}){let n=t[TY],i=(0,DY.createHttpHeaders)(t.headers.toJson({preserveCase:!0}));if(n)return n.headers=i,n;{let o=(0,DY.createPipelineRequest)({url:t.url,method:t.method,headers:i,withCredentials:t.withCredentials,timeout:t.timeout,requestId:t.requestId,abortSignal:t.abortSignal,body:t.body,formData:t.formData,disableKeepAlive:!!t.keepAlive,onDownloadProgress:t.onDownloadProgress,onUploadProgress:t.onUploadProgress,proxySettings:t.proxySettings,streamResponseStatusCodes:t.streamResponseStatusCodes,agent:t.agent,requestOverrides:t.requestOverrides});return e.originalRequest&&(o[USe]=e.originalRequest),o}}s(OY,"toPipelineRequest");function MY(t,e){let r=e?.originalRequest??t,n={url:t.url,method:t.method,headers:kY(t.headers),withCredentials:t.withCredentials,timeout:t.timeout,requestId:t.headers.get("x-ms-client-request-id")||t.requestId,abortSignal:t.abortSignal,body:t.body,formData:t.formData,keepAlive:!!t.disableKeepAlive,onDownloadProgress:t.onDownloadProgress,onUploadProgress:t.onUploadProgress,proxySettings:t.proxySettings,streamResponseStatusCodes:t.streamResponseStatusCodes,agent:t.agent,requestOverrides:t.requestOverrides,clone(){throw new Error("Cannot clone a non-proxied WebResourceLike")},prepare(){throw new Error("WebResourceLike.prepare() is not supported by @azure/core-http-compat")},validateRequestProperties(){}};return e?.createProxy?new Proxy(n,{get(i,o,a){return o===TY?t:o==="clone"?()=>MY(OY(n,{originalRequest:r}),{createProxy:!0,originalRequest:r}):Reflect.get(i,o,a)},set(i,o,a,c){return o==="keepAlive"&&(t.disableKeepAlive=!a),typeof o=="string"&&["url","method","withCredentials","timeout","requestId","abortSignal","body","formData","onDownloadProgress","onUploadProgress","proxySettings","streamResponseStatusCodes","agent","requestOverrides"].includes(o)&&(t[o]=a),Reflect.set(i,o,a,c)}}):n}s(MY,"toWebResourceLike");function kY(t){return new Rg(t.toJSON({preserveCase:!0}))}s(kY,"toHttpHeadersLike");function Eu(t){return t.toLowerCase()}s(Eu,"getHeaderKey");var Rg=class t{static{s(this,"HttpHeaders")}_headersMap;constructor(e){if(this._headersMap={},e)for(let r in e)this.set(r,e[r])}set(e,r){this._headersMap[Eu(e)]={name:e,value:r.toString()}}get(e){let r=this._headersMap[Eu(e)];return r?r.value:void 0}contains(e){return!!this._headersMap[Eu(e)]}remove(e){let r=this.contains(e);return delete this._headersMap[Eu(e)],r}rawHeaders(){return this.toJson({preserveCase:!0})}headersArray(){let e=[];for(let r in this._headersMap)e.push(this._headersMap[r]);return e}headerNames(){let e=[],r=this.headersArray();for(let n=0;n{"use strict";Object.defineProperty(vg,"__esModule",{value:!0});vg.toCompatResponse=HSe;vg.toPipelineResponse=zSe;var qSe=Tt(),Ow=Bu(),LY=Symbol("Original FullOperationResponse");function HSe(t,e){let r=(0,Ow.toWebResourceLike)(t.request),n=(0,Ow.toHttpHeadersLike)(t.headers);return e?.createProxy?new Proxy(t,{get(i,o,a){return o==="headers"?n:o==="request"?r:o===LY?t:Reflect.get(i,o,a)},set(i,o,a,c){return o==="headers"?n=a:o==="request"&&(r=a),Reflect.set(i,o,a,c)}}):{...t,request:r,headers:n}}s(HSe,"toCompatResponse");function zSe(t){let r=t[LY],n=(0,qSe.createHttpHeaders)(t.headers.toJson({preserveCase:!0}));return r?(r.headers=n,r):{...t,headers:n,request:(0,Ow.toPipelineRequest)(t.request)}}s(zSe,"toPipelineResponse")});var UY=f(_g=>{"use strict";Object.defineProperty(_g,"__esModule",{value:!0});_g.ExtendedServiceClient=void 0;var FY=yw(),GSe=Tt(),jSe=fi(),YSe=Pg(),Mw=class extends jSe.ServiceClient{static{s(this,"ExtendedServiceClient")}constructor(e){super(e),e.keepAliveOptions?.enable===!1&&!(0,FY.pipelineContainsDisableKeepAlivePolicy)(this.pipeline)&&this.pipeline.addPolicy((0,FY.createDisableKeepAlivePolicy)()),e.redirectOptions?.handleRedirects===!1&&this.pipeline.removePolicy({name:GSe.redirectPolicyName})}async sendOperationRequest(e,r){let n=e?.options?.onResponse,i;function o(c,l,A){i=c,n&&n(c,l,A)}s(o,"onResponse"),e.options={...e.options,onResponse:o};let a=await super.sendOperationRequest(e,r);return i&&Object.defineProperty(a,"_response",{value:(0,YSe.toCompatResponse)(i)}),a}};_g.ExtendedServiceClient=Mw});var GY=f(Ls=>{"use strict";Object.defineProperty(Ls,"__esModule",{value:!0});Ls.requestPolicyFactoryPolicyName=Ls.HttpPipelineLogLevel=void 0;Ls.createRequestPolicyFactoryPolicy=VSe;var qY=Bu(),HY=Pg(),zY;(function(t){t[t.ERROR=1]="ERROR",t[t.INFO=3]="INFO",t[t.OFF=0]="OFF",t[t.WARNING=2]="WARNING"})(zY||(Ls.HttpPipelineLogLevel=zY={}));var JSe={log(t,e){},shouldLog(t){return!1}};Ls.requestPolicyFactoryPolicyName="RequestPolicyFactoryPolicy";function VSe(t){let e=t.slice().reverse();return{name:Ls.requestPolicyFactoryPolicyName,async sendRequest(r,n){let i={async sendRequest(c){let l=await n((0,qY.toPipelineRequest)(c));return(0,HY.toCompatResponse)(l,{createProxy:!0})}};for(let c of e)i=c.create(i,JSe);let o=(0,qY.toWebResourceLike)(r,{createProxy:!0}),a=await i.sendRequest(o);return(0,HY.toPipelineResponse)(a)}}}s(VSe,"createRequestPolicyFactoryPolicy")});var jY=f(kw=>{"use strict";Object.defineProperty(kw,"__esModule",{value:!0});kw.convertHttpClient=$Se;var WSe=Pg(),KSe=Bu();function $Se(t){return{sendRequest:s(async e=>{let r=await t.sendRequest((0,KSe.toWebResourceLike)(e,{createProxy:!0}));return(0,WSe.toPipelineResponse)(r)},"sendRequest")}}s($Se,"convertHttpClient")});var Dg=f(ar=>{"use strict";Object.defineProperty(ar,"__esModule",{value:!0});ar.toHttpHeadersLike=ar.convertHttpClient=ar.disableKeepAlivePolicyName=ar.HttpPipelineLogLevel=ar.createRequestPolicyFactoryPolicy=ar.requestPolicyFactoryPolicyName=ar.ExtendedServiceClient=void 0;var XSe=UY();Object.defineProperty(ar,"ExtendedServiceClient",{enumerable:!0,get:s(function(){return XSe.ExtendedServiceClient},"get")});var Lw=GY();Object.defineProperty(ar,"requestPolicyFactoryPolicyName",{enumerable:!0,get:s(function(){return Lw.requestPolicyFactoryPolicyName},"get")});Object.defineProperty(ar,"createRequestPolicyFactoryPolicy",{enumerable:!0,get:s(function(){return Lw.createRequestPolicyFactoryPolicy},"get")});Object.defineProperty(ar,"HttpPipelineLogLevel",{enumerable:!0,get:s(function(){return Lw.HttpPipelineLogLevel},"get")});var ZSe=yw();Object.defineProperty(ar,"disableKeepAlivePolicyName",{enumerable:!0,get:s(function(){return ZSe.disableKeepAlivePolicyName},"get")});var exe=jY();Object.defineProperty(ar,"convertHttpClient",{enumerable:!0,get:s(function(){return exe.convertHttpClient},"get")});var txe=Bu();Object.defineProperty(ar,"toHttpHeadersLike",{enumerable:!0,get:s(function(){return txe.toHttpHeadersLike},"get")})});var JY=f((Yje,YY)=>{(()=>{"use strict";var t={d:s((h,p)=>{for(var m in p)t.o(p,m)&&!t.o(h,m)&&Object.defineProperty(h,m,{enumerable:!0,get:p[m]})},"d"),o:s((h,p)=>Object.prototype.hasOwnProperty.call(h,p),"o"),r:s(h=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(h,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(h,"__esModule",{value:!0})},"r")},e={};t.r(e),t.d(e,{XMLBuilder:s(()=>jK,"XMLBuilder"),XMLParser:s(()=>MK,"XMLParser"),XMLValidator:s(()=>YK,"XMLValidator")});let r=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",n=new RegExp("^["+r+"]["+r+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$");function i(h,p){let m=[],I=p.exec(h);for(;I;){let N=[];N.startIndex=p.lastIndex-I[0].length;let Q=I.length;for(let k=0;k"&&h[Q]!==" "&&h[Q]!==" "&&h[Q]!==` +`&&h[Q]!=="\r";Q++)M+=h[Q];if(M=M.trim(),M[M.length-1]==="/"&&(M=M.substring(0,M.length-1),Q--),!K(M)){let $;return $=M.trim().length===0?"Invalid space after '<'.":"Tag '"+M+"' is an invalid name.",D("InvalidTag",$,W(h,Q))}let q=w(h,Q);if(q===!1)return D("InvalidAttr","Attributes for '"+M+"' have open quote.",W(h,Q));let j=q.value;if(Q=q.index,j[j.length-1]==="/"){let $=Q-j.length;j=j.substring(0,j.length-1);let Qe=S(j,p);if(Qe!==!0)return D(Qe.err.code,Qe.err.msg,W(h,$+Qe.err.line));I=!0}else if(v){if(!q.tagClosed)return D("InvalidTag","Closing tag '"+M+"' doesn't have proper closing.",W(h,Q));if(j.trim().length>0)return D("InvalidTag","Closing tag '"+M+"' can't have attributes or invalid starting.",W(h,k));if(m.length===0)return D("InvalidTag","Closing tag '"+M+"' has not been opened.",W(h,k));{let $=m.pop();if(M!==$.tagName){let Qe=W(h,$.tagStartPos);return D("InvalidTag","Expected closing tag '"+$.tagName+"' (opened in line "+Qe.line+", col "+Qe.col+") instead of closing tag '"+M+"'.",W(h,k))}m.length==0&&(N=!0)}}else{let $=S(j,p);if($!==!0)return D($.err.code,$.err.msg,W(h,Q-j.length+$.err.line));if(N===!0)return D("InvalidXml","Multiple possible root nodes found.",W(h,Q));p.unpairedTags.indexOf(M)!==-1||m.push({tagName:M,tagStartPos:k}),I=!0}for(Q++;Q0)||D("InvalidXml","Invalid '"+JSON.stringify(m.map(Q=>Q.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):D("InvalidXml","Start tag expected.",1)}s(A,"h");function u(h){return h===" "||h===" "||h===` +`||h==="\r"}s(u,"p");function d(h,p){let m=p;for(;p5&&I==="xml")return D("InvalidXml","XML declaration allowed only at the start of the document.",W(h,p));if(h[p]=="?"&&h[p+1]==">"){p++;break}continue}return p}s(d,"u");function g(h,p){if(h.length>p+5&&h[p+1]==="-"&&h[p+2]==="-"){for(p+=3;p"){p+=2;break}}else if(h.length>p+8&&h[p+1]==="D"&&h[p+2]==="O"&&h[p+3]==="C"&&h[p+4]==="T"&&h[p+5]==="Y"&&h[p+6]==="P"&&h[p+7]==="E"){let m=1;for(p+=8;p"&&(m--,m===0))break}else if(h.length>p+9&&h[p+1]==="["&&h[p+2]==="C"&&h[p+3]==="D"&&h[p+4]==="A"&&h[p+5]==="T"&&h[p+6]==="A"&&h[p+7]==="["){for(p+=8;p"){p+=2;break}}return p}s(g,"c");let y='"',B="'";function w(h,p){let m="",I="",N=!1;for(;p"&&I===""){N=!0;break}m+=h[p]}return I===""&&{value:m,index:p,tagClosed:N}}s(w,"g");let x=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function S(h,p){let m=i(h,x),I={};for(let N=0;Na.includes(h)?"__"+h:h,"P"),He={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:s(function(h,p){return p},"tagValueProcessor"),attributeValueProcessor:s(function(h,p){return p},"attributeValueProcessor"),stopNodes:[],alwaysCreateTextNode:!1,isArray:s(()=>!1,"isArray"),commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:s(function(h,p,m){return h},"updateTag"),captureMetaData:!1,maxNestedTags:100,strictReservedNames:!0,jPath:!0,onDangerousProperty:be};function ut(h,p){if(typeof h!="string")return;let m=h.toLowerCase();if(a.some(I=>m===I.toLowerCase()))throw new Error(`[SECURITY] Invalid ${p}: "${h}" is a reserved JavaScript keyword that could cause prototype pollution`);if(c.some(I=>m===I.toLowerCase()))throw new Error(`[SECURITY] Invalid ${p}: "${h}" is a reserved JavaScript keyword that could cause prototype pollution`)}s(ut,"S");function je(h){return typeof h=="boolean"?{enabled:h,maxEntitySize:1e4,maxExpansionDepth:10,maxTotalExpansions:1e3,maxExpandedLength:1e5,maxEntityCount:100,allowedTags:null,tagFilter:null}:typeof h=="object"&&h!==null?{enabled:h.enabled!==!1,maxEntitySize:h.maxEntitySize??1e4,maxExpansionDepth:h.maxExpansionDepth??10,maxTotalExpansions:h.maxTotalExpansions??1e3,maxExpandedLength:h.maxExpandedLength??1e5,maxEntityCount:h.maxEntityCount??100,allowedTags:h.allowedTags??null,tagFilter:h.tagFilter??null}:je(!0)}s(je,"A");let Ie=s(function(h){let p=Object.assign({},He,h),m=[{value:p.attributeNamePrefix,name:"attributeNamePrefix"},{value:p.attributesGroupName,name:"attributesGroupName"},{value:p.textNodeName,name:"textNodeName"},{value:p.cdataPropName,name:"cdataPropName"},{value:p.commentPropName,name:"commentPropName"}];for(let{value:I,name:N}of m)I&&ut(I,N);return p.onDangerousProperty===null&&(p.onDangerousProperty=be),p.processEntities=je(p.processEntities),p.stopNodes&&Array.isArray(p.stopNodes)&&(p.stopNodes=p.stopNodes.map(I=>typeof I=="string"&&I.startsWith("*.")?".."+I.substring(2):I)),p},"O"),lt;lt=typeof Symbol!="function"?"@@xmlMetadata":Symbol("XML Node Metadata");class Lt{static{s(this,"I")}constructor(p){this.tagname=p,this.child=[],this[":@"]=Object.create(null)}add(p,m){p==="__proto__"&&(p="#__proto__"),this.child.push({[p]:m})}addChild(p,m){p.tagname==="__proto__"&&(p.tagname="#__proto__"),p[":@"]&&Object.keys(p[":@"]).length>0?this.child.push({[p.tagname]:p.child,":@":p[":@"]}):this.child.push({[p.tagname]:p.child}),m!==void 0&&(this.child[this.child.length-1][lt]={startIndex:m})}static getMetaDataSymbol(){return lt}}class Ti{static{s(this,"$")}constructor(p){this.suppressValidationErr=!p,this.options=p}readDocType(p,m){let I=Object.create(null),N=0;if(p[m+3]!=="O"||p[m+4]!=="C"||p[m+5]!=="T"||p[m+6]!=="Y"||p[m+7]!=="P"||p[m+8]!=="E")throw new Error("Invalid Tag instead of DOCTYPE");{m+=9;let Q=1,k=!1,v=!1,M="";for(;m"){if(v?p[m-1]==="-"&&p[m-2]==="-"&&(v=!1,Q--):Q--,Q===0)break}else p[m]==="["?k=!0:M+=p[m];else{if(k&&Oi(p,"!ENTITY",m)){let q,j;if(m+=7,[q,j,m]=this.readEntityExp(p,m+1,this.suppressValidationErr),j.indexOf("&")===-1){if(this.options.enabled!==!1&&this.options.maxEntityCount&&N>=this.options.maxEntityCount)throw new Error(`Entity count (${N+1}) exceeds maximum allowed (${this.options.maxEntityCount})`);let $=q.replace(/[.\-+*:]/g,"\\.");I[q]={regx:RegExp(`&${$};`,"g"),val:j},N++}}else if(k&&Oi(p,"!ELEMENT",m)){m+=8;let{index:q}=this.readElementExp(p,m+1);m=q}else if(k&&Oi(p,"!ATTLIST",m))m+=8;else if(k&&Oi(p,"!NOTATION",m)){m+=9;let{index:q}=this.readNotationExp(p,m+1,this.suppressValidationErr);m=q}else{if(!Oi(p,"!--",m))throw new Error("Invalid DOCTYPE");v=!0}Q++,M=""}if(Q!==0)throw new Error("Unclosed DOCTYPE")}return{entities:I,i:m}}readEntityExp(p,m){m=dt(p,m);let I="";for(;mthis.options.maxEntitySize)throw new Error(`Entity "${I}" size (${N.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`);return[I,N,--m]}readNotationExp(p,m){m=dt(p,m);let I="";for(;m{for(;p0&&(this.path[this.path.length-1].values=void 0);let N=this.path.length;this.siblingStacks[N]||(this.siblingStacks[N]=new Map);let Q=this.siblingStacks[N],k=I?`${I}:${p}`:p,v=Q.get(k)||0,M=0;for(let j of Q.values())M+=j;Q.set(k,v+1);let q={tag:p,position:M,counter:v};I!=null&&(q.namespace=I),m!=null&&(q.values=m),this.path.push(q)}pop(){if(this.path.length===0)return;let p=this.path.pop();return this.siblingStacks.length>this.path.length+1&&(this.siblingStacks.length=this.path.length+1),p}updateCurrent(p){if(this.path.length>0){let m=this.path[this.path.length-1];p!=null&&(m.values=p)}}getCurrentTag(){return this.path.length>0?this.path[this.path.length-1].tag:void 0}getCurrentNamespace(){return this.path.length>0?this.path[this.path.length-1].namespace:void 0}getAttrValue(p){return this.path.length===0?void 0:this.path[this.path.length-1].values?.[p]}hasAttr(p){if(this.path.length===0)return!1;let m=this.path[this.path.length-1];return m.values!==void 0&&p in m.values}getPosition(){return this.path.length===0?-1:this.path[this.path.length-1].position??0}getCounter(){return this.path.length===0?-1:this.path[this.path.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this.path.length}toString(p,m=!0){let I=p||this.separator;return this.path.map(N=>m&&N.namespace?`${N.namespace}:${N.tag}`:N.tag).join(I)}toArray(){return this.path.map(p=>p.tag)}reset(){this.path=[],this.siblingStacks=[]}matches(p){let m=p.segments;return m.length!==0&&(p.hasDeepWildcard()?this._matchWithDeepWildcard(m):this._matchSimple(m))}_matchSimple(p){if(this.path.length!==p.length)return!1;for(let m=0;m=0&&m>=0;){let N=p[I];if(N.type==="deep-wildcard"){if(I--,I<0)return!0;let Q=p[I],k=!1;for(let v=m;v>=0;v--){let M=v===this.path.length-1;if(this._matchSegment(Q,this.path[v],M)){m=v-1,I--,k=!0;break}}if(!k)return!1}else{let Q=m===this.path.length-1;if(!this._matchSegment(N,this.path[m],Q))return!1;m--,I--}}return I<0}_matchSegment(p,m,I){if(p.tag!=="*"&&p.tag!==m.tag||p.namespace!==void 0&&p.namespace!=="*"&&p.namespace!==m.namespace)return!1;if(p.attrName!==void 0){if(!I||!m.values||!(p.attrName in m.values))return!1;if(p.attrValue!==void 0){let N=m.values[p.attrName];if(String(N)!==String(p.attrValue))return!1}}if(p.position!==void 0){if(!I)return!1;let N=m.counter??0;if(p.position==="first"&&N!==0||p.position==="odd"&&N%2!=1||p.position==="even"&&N%2!=0||p.position==="nth"&&N!==p.positionValue)return!1}return!0}snapshot(){return{path:this.path.map(p=>({...p})),siblingStacks:this.siblingStacks.map(p=>new Map(p))}}restore(p){this.path=p.path.map(m=>({...m})),this.siblingStacks=p.siblingStacks.map(m=>new Map(m))}}class pa{static{s(this,"G")}constructor(p,m={}){this.pattern=p,this.separator=m.separator||".",this.segments=this._parse(p),this._hasDeepWildcard=this.segments.some(I=>I.type==="deep-wildcard"),this._hasAttributeCondition=this.segments.some(I=>I.attrName!==void 0),this._hasPositionSelector=this.segments.some(I=>I.position!==void 0)}_parse(p){let m=[],I=0,N="";for(;I0){let m=h.substring(0,p);if(m!=="xmlns")return m}}s(yK,"U");class CK{static{s(this,"B")}constructor(p){var m;if(this.options=p,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"\xA2"},pound:{regex:/&(pound|#163);/g,val:"\xA3"},yen:{regex:/&(yen|#165);/g,val:"\xA5"},euro:{regex:/&(euro|#8364);/g,val:"\u20AC"},copyright:{regex:/&(copy|#169);/g,val:"\xA9"},reg:{regex:/&(reg|#174);/g,val:"\xAE"},inr:{regex:/&(inr|#8377);/g,val:"\u20B9"},num_dec:{regex:/&#([0-9]{1,7});/g,val:s((I,N)=>yR(N,10,"&#"),"val")},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:s((I,N)=>yR(N,16,"&#x"),"val")}},this.addExternalEntities=EK,this.parseXml=NK,this.parseTextData=BK,this.resolveNameSpace=IK,this.buildAttributesMap=QK,this.isItStopNode=RK,this.replaceEntitiesValue=SK,this.readStopNodeData=vK,this.saveTextToParentTag=xK,this.addChild=wK,this.ignoreAttributesFn=typeof(m=this.options.ignoreAttributes)=="function"?m:Array.isArray(m)?I=>{for(let N of m)if(typeof N=="string"&&I===N||N instanceof RegExp&&N.test(I))return!0}:()=>!1,this.entityExpansionCount=0,this.currentExpandedLength=0,this.matcher=new Py,this.isCurrentNodeStopNode=!1,this.options.stopNodes&&this.options.stopNodes.length>0){this.stopNodeExpressions=[];for(let I=0;I0)){k||(h=this.replaceEntitiesValue(h,p,m));let v=this.options.jPath?m.toString():m,M=this.options.tagValueProcessor(p,h,v,N,Q);return M==null?h:typeof M!=typeof h||M!==h?M:this.options.trimValues||h.trim()===h?fR(h,this.options.parseTagValue,this.options.numberParseOptions):h}}s(BK,"Y");function IK(h){if(this.options.removeNSPrefix){let p=h.split(":"),m=h.charAt(0)==="/"?"/":"";if(p[0]==="xmlns")return"";p.length===2&&(h=m+p[1])}return h}s(IK,"X");let bK=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function QK(h,p,m){if(this.options.ignoreAttributes!==!0&&typeof h=="string"){let I=i(h,bK),N=I.length,Q={},k={};for(let v=0;v0&&typeof p=="object"&&p.updateCurrent&&p.updateCurrent(k);for(let v=0;v",Q,"Closing Tag is not closed."),v=h.substring(Q+2,k).trim();if(this.options.removeNSPrefix){let q=v.indexOf(":");q!==-1&&(v=v.substr(q+1))}v=Dy(this.options.transformTagName,v,"",this.options).tagName,m&&(I=this.saveTextToParentTag(I,m,this.matcher));let M=this.matcher.getCurrentTag();if(v&&this.options.unpairedTags.indexOf(v)!==-1)throw new Error(`Unpaired tag can not be used as closing tag: `);M&&this.options.unpairedTags.indexOf(M)!==-1&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,m=this.tagsNodeStack.pop(),I="",Q=k}else if(h[Q+1]==="?"){let k=_y(h,Q,!1,"?>");if(!k)throw new Error("Pi Tag is not closed.");if(I=this.saveTextToParentTag(I,m,this.matcher),!(this.options.ignoreDeclaration&&k.tagName==="?xml"||this.options.ignorePiTags)){let v=new Lt(k.tagName);v.add(this.options.textNodeName,""),k.tagName!==k.tagExp&&k.attrExpPresent&&(v[":@"]=this.buildAttributesMap(k.tagExp,this.matcher,k.tagName)),this.addChild(m,v,this.matcher,Q)}Q=k.closeIndex+1}else if(h.substr(Q+1,3)==="!--"){let k=oo(h,"-->",Q+4,"Comment is not closed.");if(this.options.commentPropName){let v=h.substring(Q+4,k-2);I=this.saveTextToParentTag(I,m,this.matcher),m.add(this.options.commentPropName,[{[this.options.textNodeName]:v}])}Q=k}else if(h.substr(Q+1,2)==="!D"){let k=N.readDocType(h,Q);this.docTypeEntities=k.entities,Q=k.i}else if(h.substr(Q+1,2)==="!["){let k=oo(h,"]]>",Q,"CDATA is not closed.")-2,v=h.substring(Q+9,k);I=this.saveTextToParentTag(I,m,this.matcher);let M=this.parseTextData(v,m.tagname,this.matcher,!0,!1,!0,!0);M==null&&(M=""),this.options.cdataPropName?m.add(this.options.cdataPropName,[{[this.options.textNodeName]:v}]):m.add(this.options.textNodeName,M),Q=k+2}else{let k=_y(h,Q,this.options.removeNSPrefix);if(!k){let Br=h.substring(Math.max(0,Q-50),Math.min(h.length,Q+50));throw new Error(`readTagExp returned undefined at position ${Q}. Context: "${Br}"`)}let v=k.tagName,M=k.rawTagName,q=k.tagExp,j=k.attrExpPresent,$=k.closeIndex;if({tagName:v,tagExp:q}=Dy(this.options.transformTagName,v,q,this.options),this.options.strictReservedNames&&(v===this.options.commentPropName||v===this.options.cdataPropName))throw new Error(`Invalid tag name: ${v}`);m&&I&&m.tagname!=="!xml"&&(I=this.saveTextToParentTag(I,m,this.matcher,!1));let Qe=m;Qe&&this.options.unpairedTags.indexOf(Qe.tagname)!==-1&&(m=this.tagsNodeStack.pop(),this.matcher.pop());let fe=!1;q.length>0&&q.lastIndexOf("/")===q.length-1&&(fe=!0,v[v.length-1]==="/"?(v=v.substr(0,v.length-1),q=v):q=q.substr(0,q.length-1),j=v!==q);let Ne,_e=null,Zn={};Ne=yK(M),v!==p.tagname&&this.matcher.push(v,{},Ne),v!==q&&j&&(_e=this.buildAttributesMap(q,this.matcher,v),_e&&(Zn=fK(_e,this.options))),v!==p.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode(this.stopNodeExpressions,this.matcher));let Ft=Q;if(this.isCurrentNodeStopNode){let Br="";if(fe)Q=k.closeIndex;else if(this.options.unpairedTags.indexOf(v)!==-1)Q=k.closeIndex;else{let ky=this.readStopNodeData(h,M,$+1);if(!ky)throw new Error(`Unexpected end of ${M}`);Q=ky.i,Br=ky.tagContent}let My=new Lt(v);_e&&(My[":@"]=_e),My.add(this.options.textNodeName,Br),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(m,My,this.matcher,Ft)}else{if(fe){({tagName:v,tagExp:q}=Dy(this.options.transformTagName,v,q,this.options));let Br=new Lt(v);_e&&(Br[":@"]=_e),this.addChild(m,Br,this.matcher,Ft),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else{if(this.options.unpairedTags.indexOf(v)!==-1){let Br=new Lt(v);_e&&(Br[":@"]=_e),this.addChild(m,Br,this.matcher,Ft),this.matcher.pop(),this.isCurrentNodeStopNode=!1,Q=k.closeIndex;continue}{let Br=new Lt(v);if(this.tagsNodeStack.length>this.options.maxNestedTags)throw new Error("Maximum nested tags exceeded");this.tagsNodeStack.push(m),_e&&(Br[":@"]=_e),this.addChild(m,Br,this.matcher,Ft),m=Br}}I="",Q=$}}else I+=h[Q];return p.child},"Z");function wK(h,p,m,I){this.options.captureMetaData||(I=void 0);let N=this.options.jPath?m.toString():m,Q=this.options.updateTag(p.tagname,N,p[":@"]);Q===!1||(typeof Q=="string"&&(p.tagname=Q),h.addChild(p,I))}s(wK,"J");function SK(h,p,m){let I=this.options.processEntities;if(!I||!I.enabled)return h;if(I.allowedTags){let N=this.options.jPath?m.toString():m;if(!(Array.isArray(I.allowedTags)?I.allowedTags.includes(p):I.allowedTags(p,N)))return h}if(I.tagFilter){let N=this.options.jPath?m.toString():m;if(!I.tagFilter(p,N))return h}for(let N in this.docTypeEntities){let Q=this.docTypeEntities[N],k=h.match(Q.regx);if(k){if(this.entityExpansionCount+=k.length,I.maxTotalExpansions&&this.entityExpansionCount>I.maxTotalExpansions)throw new Error(`Entity expansion limit exceeded: ${this.entityExpansionCount} > ${I.maxTotalExpansions}`);let v=h.length;if(h=h.replace(Q.regx,Q.val),I.maxExpandedLength&&(this.currentExpandedLength+=h.length-v,this.currentExpandedLength>I.maxExpandedLength))throw new Error(`Total expanded content size exceeded: ${this.currentExpandedLength} > ${I.maxExpandedLength}`)}}if(h.indexOf("&")===-1)return h;for(let N in this.lastEntities){let Q=this.lastEntities[N];h=h.replace(Q.regex,Q.val)}if(h.indexOf("&")===-1)return h;if(this.options.htmlEntities)for(let N in this.htmlEntities){let Q=this.htmlEntities[N];h=h.replace(Q.regex,Q.val)}return h.replace(this.ampEntity.regex,this.ampEntity.val)}s(SK,"K");function xK(h,p,m,I){return h&&(I===void 0&&(I=p.child.length===0),(h=this.parseTextData(h,p.tagname,m,!1,!!p[":@"]&&Object.keys(p[":@"]).length!==0,I))!==void 0&&h!==""&&p.add(this.options.textNodeName,h),h=""),h}s(xK,"Q");function RK(h,p){if(!h||h.length===0)return!1;for(let m=0;m"){let Ne,_e="";for(let Zn=Qe;Zn<$.length;Zn++){let Ft=$[Zn];if(Ne)Ft===Ne&&(Ne="");else if(Ft==='"'||Ft==="'")Ne=Ft;else if(Ft===fe[0]){if(!fe[1])return{data:_e,index:Zn};if($[Zn+1]===fe[1])return{data:_e,index:Zn}}else Ft===" "&&(Ft=" ");_e+=Ft}})(h,p+1,I);if(!N)return;let Q=N.data,k=N.index,v=Q.search(/\s/),M=Q,q=!0;v!==-1&&(M=Q.substring(0,v),Q=Q.substring(v+1).trimStart());let j=M;if(m){let $=M.indexOf(":");$!==-1&&(M=M.substr($+1),q=M!==N.data.substr($+1))}return{tagName:M,tagExp:Q,closeIndex:k,attrExpPresent:q,rawTagName:j}}s(_y,"et");function vK(h,p,m){let I=m,N=1;for(;m",m,`${p} is not closed`);if(h.substring(m+2,Q).trim()===p&&(N--,N===0))return{tagContent:h.substring(I,m),i:Q};m=Q}else if(h[m+1]==="?")m=oo(h,"?>",m+1,"StopNode is not closed.");else if(h.substr(m+1,3)==="!--")m=oo(h,"-->",m+3,"StopNode is not closed.");else if(h.substr(m+1,2)==="![")m=oo(h,"]]>",m,"StopNode is not closed.")-2;else{let Q=_y(h,m,">");Q&&((Q&&Q.tagName)===p&&Q.tagExp[Q.tagExp.length-1]!=="/"&&N++,m=Q.closeIndex)}}s(vK,"it");function fR(h,p,m){if(p&&typeof h=="string"){let I=h.trim();return I==="true"||I!=="false"&&(function(N,Q={}){if(Q=Object.assign({},rd,Q),!N||typeof N!="string")return N;let k=N.trim();if(Q.skipLike!==void 0&&Q.skipLike.test(k))return N;if(N==="0")return 0;if(Q.hex&&Ol.test(k))return(function(M){if(parseInt)return parseInt(M,16);if(Number.parseInt)return Number.parseInt(M,16);if(window&&window.parseInt)return window.parseInt(M,16);throw new Error("parseInt, Number.parseInt, window.parseInt are not supported")})(k);if(k.includes("e")||k.includes("E"))return(function(M,q,j){if(!j.eNotation)return M;let $=q.match(Ml);if($){let Qe=$[1]||"",fe=$[3].indexOf("e")===-1?"E":"e",Ne=$[2],_e=Qe?M[Ne.length+1]===fe:M[Ne.length]===fe;return Ne.length>1&&_e?M:Ne.length!==1||!$[3].startsWith(`.${fe}`)&&$[3][0]!==fe?j.leadingZeros&&!_e?(q=($[1]||"")+$[3],Number(q)):M:Number(q)}return M})(N,k,Q);{let M=td.exec(k);if(M){let q=M[1]||"",j=M[2],$=((v=M[3])&&v.indexOf(".")!==-1&&((v=v.replace(/0+$/,""))==="."?v="0":v[0]==="."?v="0"+v:v[v.length-1]==="."&&(v=v.substring(0,v.length-1))),v),Qe=q?N[j.length+1]===".":N[j.length]===".";if(!Q.leadingZeros&&(j.length>1||j.length===1&&!Qe))return N;{let fe=Number(k),Ne=String(fe);if(fe===0)return fe;if(Ne.search(/[eE]/)!==-1)return Q.eNotation?fe:N;if(k.indexOf(".")!==-1)return Ne==="0"||Ne===$||Ne===`${q}${$}`?fe:N;let _e=j?$:k;return j?_e===Ne||q+_e===Ne?fe:N:_e===Ne||_e===q+Ne?fe:N}}return N}var v})(h,m)}return h!==void 0?h:""}s(fR,"nt");function yR(h,p,m){let I=Number.parseInt(h,p);return I>=0&&I<=1114111?String.fromCodePoint(I):m+h+";"}s(yR,"st");function Dy(h,p,m,I){if(h){let N=h(p);m===p&&(m=N),p=N}return{tagName:p=CR(p,I),tagExp:m}}s(Dy,"rt");function CR(h,p){if(c.includes(h))throw new Error(`[SECURITY] Invalid name: "${h}" is a reserved JavaScript keyword that could cause prototype pollution`);return a.includes(h)?p.onDangerousProperty(h):h}s(CR,"ot");let Ty=Lt.getMetaDataSymbol();function PK(h,p){if(!h||typeof h!="object")return{};if(!p)return h;let m={};for(let I in h)I.startsWith(p)?m[I.substring(p.length)]=h[I]:m[I]=h[I];return m}s(PK,"lt");function _K(h,p,m){return ER(h,p,m)}s(_K,"ht");function ER(h,p,m){let I,N={};for(let Q=0;Q0&&(N[p.textNodeName]=I):I!==void 0&&(N[p.textNodeName]=I),N}s(ER,"pt");function DK(h){let p=Object.keys(h);for(let m=0;m0&&(m=` +`);let I=[];if(p.stopNodes&&Array.isArray(p.stopNodes))for(let N=0;N`,k=!1,I.pop();continue}if(q===p.commentPropName){Q+=m+``,k=!0,I.pop();continue}if(q[0]==="?"){let _e=QR(M[":@"],p,$),Zn=q==="?xml"?"":m,Ft=M[q][0][p.textNodeName];Ft=Ft.length!==0?" "+Ft:"",Q+=Zn+`<${q}${Ft}${_e}?>`,k=!0,I.pop();continue}let Qe=m;Qe!==""&&(Qe+=p.indentBy);let fe=m+`<${q}${QR(M[":@"],p,$)}`,Ne;Ne=$?IR(M[q],p):BR(M[q],p,Qe,I,N),p.unpairedTags.indexOf(q)!==-1?p.suppressUnpairedNode?Q+=fe+">":Q+=fe+"/>":Ne&&Ne.length!==0||!p.suppressEmptyNode?Ne&&Ne.endsWith(">")?Q+=fe+`>${Ne}${m}`:(Q+=fe+">",Ne&&m!==""&&(Ne.includes("/>")||Ne.includes("`):Q+=fe+"/>",k=!0,I.pop()}return Q}s(BR,"mt");function LK(h,p){if(!h||p.ignoreAttributes)return null;let m={},I=!1;for(let N in h)Object.prototype.hasOwnProperty.call(h,N)&&(m[N.startsWith(p.attributeNamePrefix)?N.substr(p.attributeNamePrefix.length):N]=h[N],I=!0);return I?m:null}s(LK,"xt");function IR(h,p){if(!Array.isArray(h))return h!=null?h.toString():"";let m="";for(let I=0;I${v}`:m+=`<${Q}${k}/>`}}}return m}s(IR,"Nt");function FK(h,p){let m="";if(h&&!p.ignoreAttributes)for(let I in h){if(!Object.prototype.hasOwnProperty.call(h,I))continue;let N=h[I];N===!0&&p.suppressBooleanAttributes?m+=` ${I.substr(p.attributeNamePrefix.length)}`:m+=` ${I.substr(p.attributeNamePrefix.length)}="${N}"`}return m}s(FK,"bt");function bR(h){let p=Object.keys(h);for(let m=0;m0&&p.processEntities)for(let m=0;m","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1,jPath:!0};function cn(h){if(this.options=Object.assign({},qK,h),this.options.stopNodes&&Array.isArray(this.options.stopNodes)&&(this.options.stopNodes=this.options.stopNodes.map(m=>typeof m=="string"&&m.startsWith("*.")?".."+m.substring(2):m)),this.stopNodeExpressions=[],this.options.stopNodes&&Array.isArray(this.options.stopNodes))for(let m=0;m{for(let I of p)if(typeof I=="string"&&m===I||I instanceof RegExp&&I.test(m))return!0}:()=>!1,this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=GK),this.processTextOrObjNode=HK,this.options.format?(this.indentate=zK,this.tagEndChar=`> `,this.newLine=` -`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}o(nn,"bt");function P8(y,p,m,b){let S=this.extractAttributes(y);if(b.push(p,S),this.checkStopNode(b)){let k=this.buildRawContent(y),R=this.buildAttributesForStopNode(y);return b.pop(),this.buildObjectNode(k,p,R,m)}let N=this.j2x(y,m+1,b);return b.pop(),y[this.options.textNodeName]!==void 0&&Object.keys(y).length===1?this.buildTextValNode(y[this.options.textNodeName],p,N.attrStr,m,b):this.buildObjectNode(N.val,p,N.attrStr,m)}o(P8,"Et");function D8(y){return this.options.indentBy.repeat(y)}o(D8,"yt");function T8(y){return!(!y.startsWith(this.options.attributeNamePrefix)||y===this.options.textNodeName)&&y.substr(this.attrPrefixLen)}o(T8,"wt"),nn.prototype.build=function(y){if(this.options.preserveOrder)return S8(y,this.options);{Array.isArray(y)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(y={[this.options.arrayNodeName]:y});let p=new Zs;return this.j2x(y,0,p).val}},nn.prototype.j2x=function(y,p,m){let b="",S="",N=this.options.jPath?m.toString():m,k=this.checkStopNode(m);for(let R in y)if(Object.prototype.hasOwnProperty.call(y,R))if(y[R]===void 0)this.isAttribute(R)&&(S+="");else if(y[R]===null)this.isAttribute(R)||R===this.options.cdataPropName?S+="":R[0]==="?"?S+=this.indentate(p)+"<"+R+"?"+this.tagEndChar:S+=this.indentate(p)+"<"+R+"/"+this.tagEndChar;else if(y[R]instanceof Date)S+=this.buildTextValNode(y[R],R,"",p,m);else if(typeof y[R]!="object"){let M=this.isAttribute(R);if(M&&!this.ignoreAttributesFn(M,N))b+=this.buildAttrPairStr(M,""+y[R],k);else if(!M)if(R===this.options.textNodeName){let q=this.options.tagValueProcessor(R,""+y[R]);S+=this.replaceEntitiesValue(q)}else{m.push(R);let q=this.checkStopNode(m);if(m.pop(),q){let G=""+y[R];S+=G===""?this.indentate(p)+"<"+R+this.closeTag(R)+this.tagEndChar:this.indentate(p)+"<"+R+">"+G+""+Qe+"${S}`;else if(typeof S=="object"&&S!==null){let N=this.buildRawContent(S),k=this.buildAttributesForStopNode(S);p+=N===""?`<${m}${k}/>`:`<${m}${k}>${N}`}}else if(typeof b=="object"&&b!==null){let S=this.buildRawContent(b),N=this.buildAttributesForStopNode(b);p+=S===""?`<${m}${N}/>`:`<${m}${N}>${S}`}else p+=`<${m}>${b}`}return p},nn.prototype.buildAttributesForStopNode=function(y){if(!y||typeof y!="object")return"";let p="";if(this.options.attributesGroupName&&y[this.options.attributesGroupName]){let m=y[this.options.attributesGroupName];for(let b in m){if(!Object.prototype.hasOwnProperty.call(m,b))continue;let S=b.startsWith(this.options.attributeNamePrefix)?b.substring(this.options.attributeNamePrefix.length):b,N=m[b];N===!0&&this.options.suppressBooleanAttributes?p+=" "+S:p+=" "+S+'="'+N+'"'}}else for(let m in y){if(!Object.prototype.hasOwnProperty.call(y,m))continue;let b=this.isAttribute(m);if(b){let S=y[m];S===!0&&this.options.suppressBooleanAttributes?p+=" "+b:p+=" "+b+'="'+S+'"'}}return p},nn.prototype.buildObjectNode=function(y,p,m,b){if(y==="")return p[0]==="?"?this.indentate(b)+"<"+p+m+"?"+this.tagEndChar:this.indentate(b)+"<"+p+m+this.closeTag(p)+this.tagEndChar;{let S="`+this.newLine:this.indentate(b)+"<"+p+m+N+this.tagEndChar+y+this.indentate(b)+S:this.indentate(b)+"<"+p+m+N+">"+y+S}},nn.prototype.closeTag=function(y){let p="";return this.options.unpairedTags.indexOf(y)!==-1?this.options.suppressUnpairedNode||(p="/"):p=this.options.suppressEmptyNode?"/":`>`+this.newLine;if(this.options.commentPropName!==!1&&p===this.options.commentPropName)return this.indentate(b)+``+this.newLine;if(p[0]==="?")return this.indentate(b)+"<"+p+m+"?"+this.tagEndChar;{let N=this.options.tagValueProcessor(p,y);return N=this.replaceEntitiesValue(N),N===""?this.indentate(b)+"<"+p+m+this.closeTag(p)+this.tagEndChar:this.indentate(b)+"<"+p+m+">"+N+"0&&this.options.processEntities)for(let p=0;p{"use strict";Object.defineProperty(Tc,"__esModule",{value:!0});Tc.XML_CHARKEY=Tc.XML_ATTRKEY=void 0;Tc.XML_ATTRKEY="$";Tc.XML_CHARKEY="_"});var uV=h(Mg=>{"use strict";Object.defineProperty(Mg,"__esModule",{value:!0});Mg.stringifyXML=Vve;Mg.parseXML=Wve;var YN=cV(),lV=GN();function AV(t){var e;return{attributesGroupName:lV.XML_ATTRKEY,textNodeName:(e=t.xmlCharKey)!==null&&e!==void 0?e:lV.XML_CHARKEY,ignoreAttributes:!1,suppressBooleanAttributes:!1}}o(AV,"getCommonOptions");function Yve(t={}){var e,r;return Object.assign(Object.assign({},AV(t)),{attributeNamePrefix:"@_",format:!0,suppressEmptyNode:!0,indentBy:"",rootNodeName:(e=t.rootName)!==null&&e!==void 0?e:"root",cdataPropName:(r=t.cdataPropName)!==null&&r!==void 0?r:"__cdata"})}o(Yve,"getSerializerOptions");function Jve(t={}){return Object.assign(Object.assign({},AV(t)),{parseAttributeValue:!1,parseTagValue:!1,attributeNamePrefix:"",stopNodes:t.stopNodes,processEntities:!0,trimValues:!1})}o(Jve,"getParserOptions");function Vve(t,e={}){let r=Yve(e),n=new YN.XMLBuilder(r),i={[r.rootNodeName]:t};return`${n.build(i)}`.replace(/\n/g,"")}o(Vve,"stringifyXML");async function Wve(t,e={}){if(!t)throw new Error("Document is empty");let r=YN.XMLValidator.validate(t);if(r!==!0)throw r;let i=new YN.XMLParser(Jve(e)).parse(t);if(i["?xml"]&&delete i["?xml"],!e.includeRoot)for(let s of Object.keys(i)){let a=i[s];return typeof a=="object"?Object.assign({},a):a}return i}o(Wve,"parseXML")});var JN=h(gi=>{"use strict";Object.defineProperty(gi,"__esModule",{value:!0});gi.XML_CHARKEY=gi.XML_ATTRKEY=gi.parseXML=gi.stringifyXML=void 0;var dV=uV();Object.defineProperty(gi,"stringifyXML",{enumerable:!0,get:function(){return dV.stringifyXML}});Object.defineProperty(gi,"parseXML",{enumerable:!0,get:function(){return dV.parseXML}});var pV=GN();Object.defineProperty(gi,"XML_ATTRKEY",{enumerable:!0,get:function(){return pV.XML_ATTRKEY}});Object.defineProperty(gi,"XML_CHARKEY",{enumerable:!0,get:function(){return pV.XML_CHARKEY}})});var Lg=h(kg=>{"use strict";Object.defineProperty(kg,"__esModule",{value:!0});kg.logger=void 0;var Kve=Qc();kg.logger=(0,Kve.createClientLogger)("storage-blob")});var $N={};Ku($N,{__addDisposableResource:()=>LV,__assign:()=>Fg,__asyncDelegator:()=>RV,__asyncGenerator:()=>vV,__asyncValues:()=>_V,__await:()=>Oc,__awaiter:()=>bV,__classPrivateFieldGet:()=>OV,__classPrivateFieldIn:()=>kV,__classPrivateFieldSet:()=>MV,__createBinding:()=>qg,__decorate:()=>fV,__disposeResources:()=>FV,__esDecorate:()=>yV,__exportStar:()=>wV,__extends:()=>mV,__generator:()=>QV,__importDefault:()=>TV,__importStar:()=>DV,__makeTemplateObject:()=>PV,__metadata:()=>IV,__param:()=>hV,__propKey:()=>EV,__read:()=>KN,__rest:()=>gV,__rewriteRelativeImportExtension:()=>UV,__runInitializers:()=>CV,__setFunctionName:()=>BV,__spread:()=>NV,__spreadArray:()=>xV,__spreadArrays:()=>SV,__values:()=>Ug,default:()=>Zve});function mV(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");VN(t,e);function r(){this.constructor=t}o(r,"__"),t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}function gV(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(t);i=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s}function hV(t,e){return function(r,n){e(r,n,t)}}function yV(t,e,r,n,i,s){function a(w){if(w!==void 0&&typeof w!="function")throw new TypeError("Function expected");return w}o(a,"accept");for(var c=n.kind,l=c==="getter"?"get":c==="setter"?"set":"value",A=!e&&t?n.static?t:t.prototype:null,u=e||(A?Object.getOwnPropertyDescriptor(A,n.name):{}),d,g=!1,f=r.length-1;f>=0;f--){var C={};for(var Q in n)C[Q]=Q==="access"?{}:n[Q];for(var Q in n.access)C.access[Q]=n.access[Q];C.addInitializer=function(w){if(g)throw new TypeError("Cannot add initializers after decoration has completed");s.push(a(w||null))};var x=(0,r[f])(c==="accessor"?{get:u.get,set:u.set}:u[l],C);if(c==="accessor"){if(x===void 0)continue;if(x===null||typeof x!="object")throw new TypeError("Object expected");(d=a(x.get))&&(u.get=d),(d=a(x.set))&&(u.set=d),(d=a(x.init))&&i.unshift(d)}else(d=a(x))&&(c==="field"?i.unshift(d):u[l]=d)}A&&Object.defineProperty(A,n.name,u),g=!0}function CV(t,e,r){for(var n=arguments.length>2,i=0;i0&&s[s.length-1])&&(A[0]===6||A[0]===2)){r=0;continue}if(A[0]===3&&(!s||A[1]>s[0]&&A[1]=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function KN(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,s=[],a;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)s.push(i.value)}catch(c){a={error:c}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(a)throw a.error}}return s}function NV(){for(var t=[],e=0;e1||l(f,Q)})},C&&(i[f]=C(i[f])))}function l(f,C){try{A(n[f](C))}catch(Q){g(s[0][3],Q)}}function A(f){f.value instanceof Oc?Promise.resolve(f.value.v).then(u,d):g(s[0][2],f)}function u(f){l("next",f)}function d(f){l("throw",f)}function g(f,C){f(C),s.shift(),s.length&&l(s[0][0],s[0][1])}}function RV(t){var e,r;return e={},n("next"),n("throw",function(i){throw i}),n("return"),e[Symbol.iterator]=function(){return this},e;function n(i,s){e[i]=t[i]?function(a){return(r=!r)?{value:Oc(t[i](a)),done:!1}:s?s(a):a}:s}}function _V(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof Ug=="function"?Ug(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(s){r[s]=t[s]&&function(a){return new Promise(function(c,l){a=t[s](a),i(c,l,a.done,a.value)})}}function i(s,a,c,l){Promise.resolve(l).then(function(A){s({value:A,done:c})},a)}}function PV(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function DV(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r=WN(t),n=0;n{VN=o(function(t,e){return VN=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},VN(t,e)},"extendStatics");o(mV,"__extends");Fg=o(function(){return Fg=Object.assign||o(function(e){for(var r,n=1,i=arguments.length;n{"use strict";Object.defineProperty(Hg,"__esModule",{value:!0});Hg.BuffersStream=void 0;var eRe=require("node:stream"),ZN=class extends eRe.Readable{static{o(this,"BuffersStream")}buffers;byteLength;byteOffsetInCurrentBuffer;bufferIndex;pushedBytesLength;constructor(e,r,n){super(n),this.buffers=e,this.byteLength=r,this.byteOffsetInCurrentBuffer=0,this.bufferIndex=0,this.pushedBytesLength=0;let i=0;for(let s of this.buffers)i+=s.byteLength;if(i=this.byteLength&&this.push(null),e||(e=this.readableHighWaterMark);let r=[],n=0;for(;ne-n){let c=this.byteOffsetInCurrentBuffer+e-n;r.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,c)),this.pushedBytesLength+=e-n,this.byteOffsetInCurrentBuffer=c,n=e;break}else{let c=this.byteOffsetInCurrentBuffer+a;r.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,c)),a===s?(this.byteOffsetInCurrentBuffer=0,this.bufferIndex++):this.byteOffsetInCurrentBuffer=c,this.pushedBytesLength+=a,n+=a}}r.length>1?this.push(Buffer.concat(r)):r.length===1&&this.push(r[0])}};Hg.BuffersStream=ZN});var HV=h(jg=>{"use strict";Object.defineProperty(jg,"__esModule",{value:!0});jg.PooledBuffer=void 0;var tRe=(XN(),Wt($N)),rRe=qV(),nRe=tRe.__importDefault(require("node:buffer")),zg=nRe.default.constants.MAX_LENGTH,e0=class{static{o(this,"PooledBuffer")}buffers=[];capacity;_size;get size(){return this._size}constructor(e,r,n){this.capacity=e,this._size=0;let i=Math.ceil(e/zg);for(let s=0;s0&&(e[0]=e[0].slice(a))}getReadableStream(){return new rRe.BuffersStream(this.buffers,this.size)}};jg.PooledBuffer=e0});var zV=h(Gg=>{"use strict";Object.defineProperty(Gg,"__esModule",{value:!0});Gg.BufferScheduler=void 0;var iRe=require("events"),sRe=HV(),t0=class{static{o(this,"BufferScheduler")}bufferSize;maxBuffers;readable;outgoingHandler;emitter=new iRe.EventEmitter;concurrency;offset=0;isStreamEnd=!1;isError=!1;executingOutgoingHandlers=0;encoding;numBuffers=0;unresolvedDataArray=[];unresolvedLength=0;incoming=[];outgoing=[];constructor(e,r,n,i,s,a){if(r<=0)throw new RangeError(`bufferSize must be larger than 0, current is ${r}`);if(n<=0)throw new RangeError(`maxBuffers must be larger than 0, current is ${n}`);if(s<=0)throw new RangeError(`concurrency must be larger than 0, current is ${s}`);this.bufferSize=r,this.maxBuffers=n,this.readable=e,this.outgoingHandler=i,this.concurrency=s,this.encoding=a}async do(){return new Promise((e,r)=>{this.readable.on("data",n=>{n=typeof n=="string"?Buffer.from(n,this.encoding):n,this.appendUnresolvedData(n),this.resolveData()||this.readable.pause()}),this.readable.on("error",n=>{this.emitter.emit("error",n)}),this.readable.on("end",()=>{this.isStreamEnd=!0,this.emitter.emit("checkEnd")}),this.emitter.on("error",n=>{this.isError=!0,this.readable.pause(),r(n)}),this.emitter.on("checkEnd",()=>{if(this.outgoing.length>0){this.triggerOutgoingHandlers();return}if(this.isStreamEnd&&this.executingOutgoingHandlers===0)if(this.unresolvedLength>0&&this.unresolvedLengthn.getReadableStream(),n.size,this.offset).then(e).catch(r)}else{if(this.unresolvedLength>=this.bufferSize)return;e()}})})}appendUnresolvedData(e){this.unresolvedDataArray.push(e),this.unresolvedLength+=e.length}shiftBufferFromUnresolvedDataArray(e){return e?e.fill(this.unresolvedDataArray,this.unresolvedLength):e=new sRe.PooledBuffer(this.bufferSize,this.unresolvedDataArray,this.unresolvedLength),this.unresolvedLength-=e.size,e}resolveData(){for(;this.unresolvedLength>=this.bufferSize;){let e;if(this.incoming.length>0)e=this.incoming.shift(),this.shiftBufferFromUnresolvedDataArray(e);else if(this.numBuffers=this.concurrency)return;e=this.outgoing.shift(),e&&this.triggerOutgoingHandler(e)}while(e)}async triggerOutgoingHandler(e){let r=e.size;this.executingOutgoingHandlers++,this.offset+=r;try{await this.outgoingHandler(()=>e.getReadableStream(),r,this.offset-r)}catch(n){this.emitter.emit("error",n);return}this.executingOutgoingHandlers--,this.reuseBuffer(e),this.emitter.emit("checkEnd")}reuseBuffer(e){this.incoming.push(e),!this.isError&&this.resolveData()&&!this.isStreamEnd&&this.readable.resume()}};Gg.BufferScheduler=t0});var jV=h(n0=>{"use strict";Object.defineProperty(n0,"__esModule",{value:!0});n0.getCachedDefaultHttpClient=aRe;var oRe=Pt(),r0;function aRe(){return r0||(r0=(0,oRe.createDefaultHttpClient)()),r0}o(aRe,"getCachedDefaultHttpClient")});var YV=h(GV=>{"use strict";Object.defineProperty(GV,"__esModule",{value:!0})});var mu=h(Yg=>{"use strict";Object.defineProperty(Yg,"__esModule",{value:!0});Yg.BaseRequestPolicy=void 0;var i0=class{static{o(this,"BaseRequestPolicy")}_nextPolicy;_options;constructor(e,r){this._nextPolicy=e,this._options=r}shouldLog(e){return this._options.shouldLog(e)}log(e,r){this._options.log(e,r)}};Yg.BaseRequestPolicy=i0});var es=h(Bn=>{"use strict";Object.defineProperty(Bn,"__esModule",{value:!0});Bn.PathStylePorts=Bn.DevelopmentConnectionString=Bn.HeaderConstants=Bn.URLConstants=Bn.SDK_VERSION=void 0;Bn.SDK_VERSION="1.0.0";Bn.URLConstants={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};Bn.HeaderConstants={AUTHORIZATION:"Authorization",AUTHORIZATION_SCHEME:"Bearer",CONTENT_ENCODING:"Content-Encoding",CONTENT_ID:"Content-ID",CONTENT_LANGUAGE:"Content-Language",CONTENT_LENGTH:"Content-Length",CONTENT_MD5:"Content-Md5",CONTENT_TRANSFER_ENCODING:"Content-Transfer-Encoding",CONTENT_TYPE:"Content-Type",COOKIE:"Cookie",DATE:"date",IF_MATCH:"if-match",IF_MODIFIED_SINCE:"if-modified-since",IF_NONE_MATCH:"if-none-match",IF_UNMODIFIED_SINCE:"if-unmodified-since",PREFIX_FOR_STORAGE:"x-ms-",RANGE:"Range",USER_AGENT:"User-Agent",X_MS_CLIENT_REQUEST_ID:"x-ms-client-request-id",X_MS_COPY_SOURCE:"x-ms-copy-source",X_MS_DATE:"x-ms-date",X_MS_ERROR_CODE:"x-ms-error-code",X_MS_VERSION:"x-ms-version",X_MS_CopySourceErrorCode:"x-ms-copy-source-error-code"};Bn.DevelopmentConnectionString="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;";Bn.PathStylePorts=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"]});var Lo=h(ze=>{"use strict";Object.defineProperty(ze,"__esModule",{value:!0});ze.escapeURLPath=lRe;ze.getValueInConnString=Ms;ze.extractConnectionStringParts=uRe;ze.appendToURLPath=pRe;ze.setURLParameter=VV;ze.getURLParameter=WV;ze.setURLHost=mRe;ze.getURLPath=gRe;ze.getURLScheme=fRe;ze.getURLPathAndQuery=hRe;ze.getURLQueries=yRe;ze.appendToURLQuery=CRe;ze.truncatedISO8061Date=ERe;ze.base64encode=KV;ze.base64decode=BRe;ze.generateBlockID=IRe;ze.delay=bRe;ze.padStart=$V;ze.sanitizeURL=XV;ze.sanitizeHeaders=QRe;ze.iEqual=wRe;ze.getAccountNameFromUrl=ZV;ze.isIpEndpointStyle=eW;ze.attachCredential=NRe;ze.httpAuthorizationToString=SRe;ze.EscapePath=xRe;ze.assertResponse=vRe;var cRe=Pt(),JV=ut(),Mc=es();function lRe(t){let e=new URL(t),r=e.pathname;return r=r||"/",r=dRe(r),e.pathname=r,e.toString()}o(lRe,"escapeURLPath");function ARe(t){let e="";if(t.search("DevelopmentStorageProxyUri=")!==-1){let r=t.split(";");for(let n of r)n.trim().startsWith("DevelopmentStorageProxyUri=")&&(e=n.trim().match("DevelopmentStorageProxyUri=(.*)")[1])}return e}o(ARe,"getProxyUriFromDevConnString");function Ms(t,e){let r=t.split(";");for(let n of r)if(n.trim().startsWith(e))return n.trim().match(e+"=(.*)")[1];return""}o(Ms,"getValueInConnString");function uRe(t){let e="";t.startsWith("UseDevelopmentStorage=true")&&(e=ARe(t),t=Mc.DevelopmentConnectionString);let r=Ms(t,"BlobEndpoint");if(r=r.endsWith("/")?r.slice(0,-1):r,t.search("DefaultEndpointsProtocol=")!==-1&&t.search("AccountKey=")!==-1){let n="",i="",s=Buffer.from("accountKey","base64"),a="";if(i=Ms(t,"AccountName"),s=Buffer.from(Ms(t,"AccountKey"),"base64"),!r){n=Ms(t,"DefaultEndpointsProtocol");let c=n.toLowerCase();if(c!=="https"&&c!=="http")throw new Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'");if(a=Ms(t,"EndpointSuffix"),!a)throw new Error("Invalid EndpointSuffix in the provided Connection String");r=`${n}://${i}.blob.${a}`}if(i){if(s.length===0)throw new Error("Invalid AccountKey in the provided Connection String")}else throw new Error("Invalid AccountName in the provided Connection String");return{kind:"AccountConnString",url:r,accountName:i,accountKey:s,proxyUri:e}}else{let n=Ms(t,"SharedAccessSignature"),i=Ms(t,"AccountName");if(i||(i=ZV(r)),r){if(!n)throw new Error("Invalid SharedAccessSignature in the provided SAS Connection String")}else throw new Error("Invalid BlobEndpoint in the provided SAS Connection String");return n.startsWith("?")&&(n=n.substring(1)),{kind:"SASConnString",url:r,accountName:i,accountSas:n}}}o(uRe,"extractConnectionStringParts");function dRe(t){return encodeURIComponent(t).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}o(dRe,"escape");function pRe(t,e){let r=new URL(t),n=r.pathname;return n=n?n.endsWith("/")?`${n}${e}`:`${n}/${e}`:e,r.pathname=n,r.toString()}o(pRe,"appendToURLPath");function VV(t,e,r){let n=new URL(t),i=encodeURIComponent(e),s=r?encodeURIComponent(r):void 0,a=n.search===""?"?":n.search,c=[];for(let l of a.slice(1).split("&"))if(l){let[A]=l.split("=",2);A!==i&&c.push(l)}return s&&c.push(`${i}=${s}`),n.search=c.length?`?${c.join("&")}`:"",n.toString()}o(VV,"setURLParameter");function WV(t,e){return new URL(t).searchParams.get(e)??void 0}o(WV,"getURLParameter");function mRe(t,e){let r=new URL(t);return r.hostname=e,r.toString()}o(mRe,"setURLHost");function gRe(t){try{return new URL(t).pathname}catch{return}}o(gRe,"getURLPath");function fRe(t){try{let e=new URL(t);return e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol}catch{return}}o(fRe,"getURLScheme");function hRe(t){let e=new URL(t),r=e.pathname;if(!r)throw new RangeError("Invalid url without valid path.");let n=e.search||"";return n=n.trim(),n!==""&&(n=n.startsWith("?")?n:`?${n}`),`${r}${n}`}o(hRe,"getURLPathAndQuery");function yRe(t){let e=new URL(t).search;if(!e)return{};e=e.trim(),e=e.startsWith("?")?e.substring(1):e;let r=e.split("&");r=r.filter(i=>{let s=i.indexOf("="),a=i.lastIndexOf("=");return s>0&&s===a&&a42&&(t=t.slice(0,42));let s=t+$V(e.toString(),48-t.length,"0");return KV(s)}o(IRe,"generateBlockID");async function bRe(t,e,r){return new Promise((n,i)=>{let s,a=o(()=>{s!==void 0&&clearTimeout(s),i(r)},"abortHandler");s=setTimeout(o(()=>{e!==void 0&&e.removeEventListener("abort",a),n()},"resolveHandler"),t),e!==void 0&&e.addEventListener("abort",a)})}o(bRe,"delay");function $V(t,e,r=" "){return String.prototype.padStart?t.padStart(e,r):(r=r||" ",t.length>e?t:(e=e-t.length,e>r.length&&(r+=r.repeat(e/r.length)),r.slice(0,e)+t))}o($V,"padStart");function XV(t){let e=t;return WV(e,Mc.URLConstants.Parameters.SIGNATURE)&&(e=VV(e,Mc.URLConstants.Parameters.SIGNATURE,"*****")),e}o(XV,"sanitizeURL");function QRe(t){let e=(0,cRe.createHttpHeaders)();for(let[r,n]of t)r.toLowerCase()===Mc.HeaderConstants.AUTHORIZATION.toLowerCase()?e.set(r,"*****"):r.toLowerCase()===Mc.HeaderConstants.X_MS_COPY_SOURCE?e.set(r,XV(n)):e.set(r,n);return e}o(QRe,"sanitizeHeaders");function wRe(t,e){return t.toLocaleLowerCase()===e.toLocaleLowerCase()}o(wRe,"iEqual");function ZV(t){let e=new URL(t),r;try{return e.hostname.split(".")[1]==="blob"?r=e.hostname.split(".")[0]:eW(e)?r=e.pathname.split("/")[1]:r="",r}catch{throw new Error("Unable to extract accountName with provided information.")}}o(ZV,"getAccountNameFromUrl");function eW(t){let e=t.host;return/^.*:.*:.*$|^(localhost|host.docker.internal)(:[0-9]+)?$|^(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])(\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])){3}(:[0-9]+)?$/.test(e)||!!t.port&&Mc.PathStylePorts.includes(t.port)}o(eW,"isIpEndpointStyle");function NRe(t,e){return t.credential=e,t}o(NRe,"attachCredential");function SRe(t){return t?t.scheme+" "+t.value:void 0}o(SRe,"httpAuthorizationToString");function xRe(t){let e=t.split("/");for(let r=0;r{"use strict";Object.defineProperty(Jg,"__esModule",{value:!0});Jg.StorageBrowserPolicy=void 0;var RRe=mu(),_Re=ut(),s0=es(),PRe=Lo(),o0=class extends RRe.BaseRequestPolicy{static{o(this,"StorageBrowserPolicy")}constructor(e,r){super(e,r)}async sendRequest(e){return _Re.isNodeLike?this._nextPolicy.sendRequest(e):((e.method.toUpperCase()==="GET"||e.method.toUpperCase()==="HEAD")&&(e.url=(0,PRe.setURLParameter)(e.url,s0.URLConstants.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),e.headers.remove(s0.HeaderConstants.COOKIE),e.headers.remove(s0.HeaderConstants.CONTENT_LENGTH),this._nextPolicy.sendRequest(e))}};Jg.StorageBrowserPolicy=o0});var nW=h(kc=>{"use strict";Object.defineProperty(kc,"__esModule",{value:!0});kc.StorageBrowserPolicyFactory=kc.StorageBrowserPolicy=void 0;var rW=tW();Object.defineProperty(kc,"StorageBrowserPolicy",{enumerable:!0,get:function(){return rW.StorageBrowserPolicy}});var a0=class{static{o(this,"StorageBrowserPolicyFactory")}create(e,r){return new rW.StorageBrowserPolicy(e,r)}};kc.StorageBrowserPolicyFactory=a0});var Wg=h(Vg=>{"use strict";Object.defineProperty(Vg,"__esModule",{value:!0});Vg.CredentialPolicy=void 0;var DRe=mu(),c0=class extends DRe.BaseRequestPolicy{static{o(this,"CredentialPolicy")}sendRequest(e){return this._nextPolicy.sendRequest(this.signRequest(e))}signRequest(e){return e}};Vg.CredentialPolicy=c0});var A0=h(Kg=>{"use strict";Object.defineProperty(Kg,"__esModule",{value:!0});Kg.AnonymousCredentialPolicy=void 0;var TRe=Wg(),l0=class extends TRe.CredentialPolicy{static{o(this,"AnonymousCredentialPolicy")}constructor(e,r){super(e,r)}};Kg.AnonymousCredentialPolicy=l0});var Xg=h($g=>{"use strict";Object.defineProperty($g,"__esModule",{value:!0});$g.Credential=void 0;var u0=class{static{o(this,"Credential")}create(e,r){throw new Error("Method should be implemented in children classes.")}};$g.Credential=u0});var iW=h(Zg=>{"use strict";Object.defineProperty(Zg,"__esModule",{value:!0});Zg.AnonymousCredential=void 0;var ORe=A0(),MRe=Xg(),d0=class extends MRe.Credential{static{o(this,"AnonymousCredential")}create(e,r){return new ORe.AnonymousCredentialPolicy(e,r)}};Zg.AnonymousCredential=d0});var m0=h(p0=>{"use strict";Object.defineProperty(p0,"__esModule",{value:!0});p0.compareHeader=URe;var kRe=new Uint32Array([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,1820,0,1823,1825,1827,1829,0,0,0,1837,2051,0,0,1843,0,3331,3354,3356,3358,3360,3362,3364,3366,3368,3370,0,0,0,0,0,0,0,3586,3593,3594,3610,3617,3619,3621,3628,3634,3637,3638,3656,3665,3696,3708,3710,3721,3722,3729,3737,3743,3746,3748,3750,3751,3753,0,0,0,1859,1860,1864,3586,3593,3594,3610,3617,3619,3621,3628,3634,3637,3638,3656,3665,3696,3708,3710,3721,3722,3729,3737,3743,3746,3748,3750,3751,3753,0,1868,0,1872,0]),LRe=new Uint32Array([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,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,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]),FRe=new Uint32Array([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,32786,0,0,0,0,0,33298,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 URe(t,e){return qRe(t,e)?-1:1}o(URe,"compareHeader");function qRe(t,e){let r=[kRe,LRe,FRe],n=0,i=0,s=0;for(;ns;let a=i{"use strict";Object.defineProperty(ef,"__esModule",{value:!0});ef.StorageSharedKeyCredentialPolicy=void 0;var ir=es(),sW=Lo(),HRe=Wg(),zRe=m0(),g0=class extends HRe.CredentialPolicy{static{o(this,"StorageSharedKeyCredentialPolicy")}factory;constructor(e,r,n){super(e,r),this.factory=n}signRequest(e){e.headers.set(ir.HeaderConstants.X_MS_DATE,new Date().toUTCString()),e.body&&(typeof e.body=="string"||e.body!==void 0)&&e.body.length>0&&e.headers.set(ir.HeaderConstants.CONTENT_LENGTH,Buffer.byteLength(e.body));let r=[e.method.toUpperCase(),this.getHeaderValueToSign(e,ir.HeaderConstants.CONTENT_LANGUAGE),this.getHeaderValueToSign(e,ir.HeaderConstants.CONTENT_ENCODING),this.getHeaderValueToSign(e,ir.HeaderConstants.CONTENT_LENGTH),this.getHeaderValueToSign(e,ir.HeaderConstants.CONTENT_MD5),this.getHeaderValueToSign(e,ir.HeaderConstants.CONTENT_TYPE),this.getHeaderValueToSign(e,ir.HeaderConstants.DATE),this.getHeaderValueToSign(e,ir.HeaderConstants.IF_MODIFIED_SINCE),this.getHeaderValueToSign(e,ir.HeaderConstants.IF_MATCH),this.getHeaderValueToSign(e,ir.HeaderConstants.IF_NONE_MATCH),this.getHeaderValueToSign(e,ir.HeaderConstants.IF_UNMODIFIED_SINCE),this.getHeaderValueToSign(e,ir.HeaderConstants.RANGE)].join(` +`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}s(cn,"Tt");function HK(h,p,m,I){let N=this.extractAttributes(h);if(I.push(p,N),this.checkStopNode(I)){let k=this.buildRawContent(h),v=this.buildAttributesForStopNode(h);return I.pop(),this.buildObjectNode(k,p,v,m)}let Q=this.j2x(h,m+1,I);return I.pop(),h[this.options.textNodeName]!==void 0&&Object.keys(h).length===1?this.buildTextValNode(h[this.options.textNodeName],p,Q.attrStr,m,I):this.buildObjectNode(Q.val,p,Q.attrStr,m)}s(HK,"St");function zK(h){return this.options.indentBy.repeat(h)}s(zK,"At");function GK(h){return!(!h.startsWith(this.options.attributeNamePrefix)||h===this.options.textNodeName)&&h.substr(this.attrPrefixLen)}s(GK,"Ot"),cn.prototype.build=function(h){if(this.options.preserveOrder)return kK(h,this.options);{Array.isArray(h)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(h={[this.options.arrayNodeName]:h});let p=new Py;return this.j2x(h,0,p).val}},cn.prototype.j2x=function(h,p,m){let I="",N="",Q=this.options.jPath?m.toString():m,k=this.checkStopNode(m);for(let v in h)if(Object.prototype.hasOwnProperty.call(h,v))if(h[v]===void 0)this.isAttribute(v)&&(N+="");else if(h[v]===null)this.isAttribute(v)||v===this.options.cdataPropName?N+="":v[0]==="?"?N+=this.indentate(p)+"<"+v+"?"+this.tagEndChar:N+=this.indentate(p)+"<"+v+"/"+this.tagEndChar;else if(h[v]instanceof Date)N+=this.buildTextValNode(h[v],v,"",p,m);else if(typeof h[v]!="object"){let M=this.isAttribute(v);if(M&&!this.ignoreAttributesFn(M,Q))I+=this.buildAttrPairStr(M,""+h[v],k);else if(!M)if(v===this.options.textNodeName){let q=this.options.tagValueProcessor(v,""+h[v]);N+=this.replaceEntitiesValue(q)}else{m.push(v);let q=this.checkStopNode(m);if(m.pop(),q){let j=""+h[v];N+=j===""?this.indentate(p)+"<"+v+this.closeTag(v)+this.tagEndChar:this.indentate(p)+"<"+v+">"+j+""+Ne+"${N}`;else if(typeof N=="object"&&N!==null){let Q=this.buildRawContent(N),k=this.buildAttributesForStopNode(N);p+=Q===""?`<${m}${k}/>`:`<${m}${k}>${Q}`}}else if(typeof I=="object"&&I!==null){let N=this.buildRawContent(I),Q=this.buildAttributesForStopNode(I);p+=N===""?`<${m}${Q}/>`:`<${m}${Q}>${N}`}else p+=`<${m}>${I}`}return p},cn.prototype.buildAttributesForStopNode=function(h){if(!h||typeof h!="object")return"";let p="";if(this.options.attributesGroupName&&h[this.options.attributesGroupName]){let m=h[this.options.attributesGroupName];for(let I in m){if(!Object.prototype.hasOwnProperty.call(m,I))continue;let N=I.startsWith(this.options.attributeNamePrefix)?I.substring(this.options.attributeNamePrefix.length):I,Q=m[I];Q===!0&&this.options.suppressBooleanAttributes?p+=" "+N:p+=" "+N+'="'+Q+'"'}}else for(let m in h){if(!Object.prototype.hasOwnProperty.call(h,m))continue;let I=this.isAttribute(m);if(I){let N=h[m];N===!0&&this.options.suppressBooleanAttributes?p+=" "+I:p+=" "+I+'="'+N+'"'}}return p},cn.prototype.buildObjectNode=function(h,p,m,I){if(h==="")return p[0]==="?"?this.indentate(I)+"<"+p+m+"?"+this.tagEndChar:this.indentate(I)+"<"+p+m+this.closeTag(p)+this.tagEndChar;{let N="`+this.newLine:this.indentate(I)+"<"+p+m+Q+this.tagEndChar+h+this.indentate(I)+N:this.indentate(I)+"<"+p+m+Q+">"+h+N}},cn.prototype.closeTag=function(h){let p="";return this.options.unpairedTags.indexOf(h)!==-1?this.options.suppressUnpairedNode||(p="/"):p=this.options.suppressEmptyNode?"/":`>`+this.newLine;if(this.options.commentPropName!==!1&&p===this.options.commentPropName)return this.indentate(I)+``+this.newLine;if(p[0]==="?")return this.indentate(I)+"<"+p+m+"?"+this.tagEndChar;{let Q=this.options.tagValueProcessor(p,h);return Q=this.replaceEntitiesValue(Q),Q===""?this.indentate(I)+"<"+p+m+this.closeTag(p)+this.tagEndChar:this.indentate(I)+"<"+p+m+">"+Q+"0&&this.options.processEntities)for(let p=0;p{"use strict";Object.defineProperty(Uc,"__esModule",{value:!0});Uc.XML_CHARKEY=Uc.XML_ATTRKEY=void 0;Uc.XML_ATTRKEY="$";Uc.XML_CHARKEY="_"});var KY=f(Tg=>{"use strict";Object.defineProperty(Tg,"__esModule",{value:!0});Tg.stringifyXML=ixe;Tg.parseXML=sxe;var Uw=JY(),VY=Fw();function WY(t){var e;return{attributesGroupName:VY.XML_ATTRKEY,textNodeName:(e=t.xmlCharKey)!==null&&e!==void 0?e:VY.XML_CHARKEY,ignoreAttributes:!1,suppressBooleanAttributes:!1}}s(WY,"getCommonOptions");function rxe(t={}){var e,r;return Object.assign(Object.assign({},WY(t)),{attributeNamePrefix:"@_",format:!0,suppressEmptyNode:!0,indentBy:"",rootNodeName:(e=t.rootName)!==null&&e!==void 0?e:"root",cdataPropName:(r=t.cdataPropName)!==null&&r!==void 0?r:"__cdata"})}s(rxe,"getSerializerOptions");function nxe(t={}){return Object.assign(Object.assign({},WY(t)),{parseAttributeValue:!1,parseTagValue:!1,attributeNamePrefix:"",stopNodes:t.stopNodes,processEntities:!0,trimValues:!1})}s(nxe,"getParserOptions");function ixe(t,e={}){let r=rxe(e),n=new Uw.XMLBuilder(r),i={[r.rootNodeName]:t};return`${n.build(i)}`.replace(/\n/g,"")}s(ixe,"stringifyXML");async function sxe(t,e={}){if(!t)throw new Error("Document is empty");let r=Uw.XMLValidator.validate(t);if(r!==!0)throw r;let i=new Uw.XMLParser(nxe(e)).parse(t);if(i["?xml"]&&delete i["?xml"],!e.includeRoot)for(let o of Object.keys(i)){let a=i[o];return typeof a=="object"?Object.assign({},a):a}return i}s(sxe,"parseXML")});var qw=f(yi=>{"use strict";Object.defineProperty(yi,"__esModule",{value:!0});yi.XML_CHARKEY=yi.XML_ATTRKEY=yi.parseXML=yi.stringifyXML=void 0;var $Y=KY();Object.defineProperty(yi,"stringifyXML",{enumerable:!0,get:s(function(){return $Y.stringifyXML},"get")});Object.defineProperty(yi,"parseXML",{enumerable:!0,get:s(function(){return $Y.parseXML},"get")});var XY=Fw();Object.defineProperty(yi,"XML_ATTRKEY",{enumerable:!0,get:s(function(){return XY.XML_ATTRKEY},"get")});Object.defineProperty(yi,"XML_CHARKEY",{enumerable:!0,get:s(function(){return XY.XML_CHARKEY},"get")})});var Mg=f(Og=>{"use strict";Object.defineProperty(Og,"__esModule",{value:!0});Og.logger=void 0;var oxe=zo();Og.logger=(0,oxe.createClientLogger)("storage-blob")});var ZY=f(kg=>{"use strict";Object.defineProperty(kg,"__esModule",{value:!0});kg.BuffersStream=void 0;var axe=require("node:stream"),Hw=class extends axe.Readable{static{s(this,"BuffersStream")}buffers;byteLength;byteOffsetInCurrentBuffer;bufferIndex;pushedBytesLength;constructor(e,r,n){super(n),this.buffers=e,this.byteLength=r,this.byteOffsetInCurrentBuffer=0,this.bufferIndex=0,this.pushedBytesLength=0;let i=0;for(let o of this.buffers)i+=o.byteLength;if(i=this.byteLength&&this.push(null),e||(e=this.readableHighWaterMark);let r=[],n=0;for(;ne-n){let c=this.byteOffsetInCurrentBuffer+e-n;r.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,c)),this.pushedBytesLength+=e-n,this.byteOffsetInCurrentBuffer=c,n=e;break}else{let c=this.byteOffsetInCurrentBuffer+a;r.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,c)),a===o?(this.byteOffsetInCurrentBuffer=0,this.bufferIndex++):this.byteOffsetInCurrentBuffer=c,this.pushedBytesLength+=a,n+=a}}r.length>1?this.push(Buffer.concat(r)):r.length===1&&this.push(r[0])}};kg.BuffersStream=Hw});var eJ=f(Fg=>{"use strict";Object.defineProperty(Fg,"__esModule",{value:!0});Fg.PooledBuffer=void 0;var cxe=(jt(),Xt(Gt)),lxe=ZY(),Axe=cxe.__importDefault(require("node:buffer")),Lg=Axe.default.constants.MAX_LENGTH,zw=class{static{s(this,"PooledBuffer")}buffers=[];capacity;_size;get size(){return this._size}constructor(e,r,n){this.capacity=e,this._size=0;let i=Math.ceil(e/Lg);for(let o=0;o0&&(e[0]=e[0].slice(a))}getReadableStream(){return new lxe.BuffersStream(this.buffers,this.size)}};Fg.PooledBuffer=zw});var tJ=f(Ug=>{"use strict";Object.defineProperty(Ug,"__esModule",{value:!0});Ug.BufferScheduler=void 0;var uxe=require("events"),dxe=eJ(),Gw=class{static{s(this,"BufferScheduler")}bufferSize;maxBuffers;readable;outgoingHandler;emitter=new uxe.EventEmitter;concurrency;offset=0;isStreamEnd=!1;isError=!1;executingOutgoingHandlers=0;encoding;numBuffers=0;unresolvedDataArray=[];unresolvedLength=0;incoming=[];outgoing=[];constructor(e,r,n,i,o,a){if(r<=0)throw new RangeError(`bufferSize must be larger than 0, current is ${r}`);if(n<=0)throw new RangeError(`maxBuffers must be larger than 0, current is ${n}`);if(o<=0)throw new RangeError(`concurrency must be larger than 0, current is ${o}`);this.bufferSize=r,this.maxBuffers=n,this.readable=e,this.outgoingHandler=i,this.concurrency=o,this.encoding=a}async do(){return new Promise((e,r)=>{this.readable.on("data",n=>{n=typeof n=="string"?Buffer.from(n,this.encoding):n,this.appendUnresolvedData(n),this.resolveData()||this.readable.pause()}),this.readable.on("error",n=>{this.emitter.emit("error",n)}),this.readable.on("end",()=>{this.isStreamEnd=!0,this.emitter.emit("checkEnd")}),this.emitter.on("error",n=>{this.isError=!0,this.readable.pause(),r(n)}),this.emitter.on("checkEnd",()=>{if(this.outgoing.length>0){this.triggerOutgoingHandlers();return}if(this.isStreamEnd&&this.executingOutgoingHandlers===0)if(this.unresolvedLength>0&&this.unresolvedLengthn.getReadableStream(),n.size,this.offset).then(e).catch(r)}else{if(this.unresolvedLength>=this.bufferSize)return;e()}})})}appendUnresolvedData(e){this.unresolvedDataArray.push(e),this.unresolvedLength+=e.length}shiftBufferFromUnresolvedDataArray(e){return e?e.fill(this.unresolvedDataArray,this.unresolvedLength):e=new dxe.PooledBuffer(this.bufferSize,this.unresolvedDataArray,this.unresolvedLength),this.unresolvedLength-=e.size,e}resolveData(){for(;this.unresolvedLength>=this.bufferSize;){let e;if(this.incoming.length>0)e=this.incoming.shift(),this.shiftBufferFromUnresolvedDataArray(e);else if(this.numBuffers=this.concurrency)return;e=this.outgoing.shift(),e&&this.triggerOutgoingHandler(e)}while(e)}async triggerOutgoingHandler(e){let r=e.size;this.executingOutgoingHandlers++,this.offset+=r;try{await this.outgoingHandler(()=>e.getReadableStream(),r,this.offset-r)}catch(n){this.emitter.emit("error",n);return}this.executingOutgoingHandlers--,this.reuseBuffer(e),this.emitter.emit("checkEnd")}reuseBuffer(e){this.incoming.push(e),!this.isError&&this.resolveData()&&!this.isStreamEnd&&this.readable.resume()}};Ug.BufferScheduler=Gw});var rJ=f(Yw=>{"use strict";Object.defineProperty(Yw,"__esModule",{value:!0});Yw.getCachedDefaultHttpClient=mxe;var pxe=Tt(),jw;function mxe(){return jw||(jw=(0,pxe.createDefaultHttpClient)()),jw}s(mxe,"getCachedDefaultHttpClient")});var iJ=f(nJ=>{"use strict";Object.defineProperty(nJ,"__esModule",{value:!0})});var Iu=f(qg=>{"use strict";Object.defineProperty(qg,"__esModule",{value:!0});qg.BaseRequestPolicy=void 0;var Jw=class{static{s(this,"BaseRequestPolicy")}_nextPolicy;_options;constructor(e,r){this._nextPolicy=e,this._options=r}shouldLog(e){return this._options.shouldLog(e)}log(e,r){this._options.log(e,r)}};qg.BaseRequestPolicy=Jw});var rs=f(Nn=>{"use strict";Object.defineProperty(Nn,"__esModule",{value:!0});Nn.PathStylePorts=Nn.DevelopmentConnectionString=Nn.HeaderConstants=Nn.URLConstants=Nn.SDK_VERSION=void 0;Nn.SDK_VERSION="1.0.0";Nn.URLConstants={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};Nn.HeaderConstants={AUTHORIZATION:"Authorization",AUTHORIZATION_SCHEME:"Bearer",CONTENT_ENCODING:"Content-Encoding",CONTENT_ID:"Content-ID",CONTENT_LANGUAGE:"Content-Language",CONTENT_LENGTH:"Content-Length",CONTENT_MD5:"Content-Md5",CONTENT_TRANSFER_ENCODING:"Content-Transfer-Encoding",CONTENT_TYPE:"Content-Type",COOKIE:"Cookie",DATE:"date",IF_MATCH:"if-match",IF_MODIFIED_SINCE:"if-modified-since",IF_NONE_MATCH:"if-none-match",IF_UNMODIFIED_SINCE:"if-unmodified-since",PREFIX_FOR_STORAGE:"x-ms-",RANGE:"Range",USER_AGENT:"User-Agent",X_MS_CLIENT_REQUEST_ID:"x-ms-client-request-id",X_MS_COPY_SOURCE:"x-ms-copy-source",X_MS_DATE:"x-ms-date",X_MS_ERROR_CODE:"x-ms-error-code",X_MS_VERSION:"x-ms-version",X_MS_CopySourceErrorCode:"x-ms-copy-source-error-code"};Nn.DevelopmentConnectionString="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;";Nn.PathStylePorts=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"]});var Yo=f(qe=>{"use strict";Object.defineProperty(qe,"__esModule",{value:!0});qe.escapeURLPath=hxe;qe.getValueInConnString=Fs;qe.extractConnectionStringParts=yxe;qe.appendToURLPath=Exe;qe.setURLParameter=oJ;qe.getURLParameter=aJ;qe.setURLHost=Bxe;qe.getURLPath=Ixe;qe.getURLScheme=bxe;qe.getURLPathAndQuery=Qxe;qe.getURLQueries=Nxe;qe.appendToURLQuery=wxe;qe.truncatedISO8061Date=Sxe;qe.base64encode=cJ;qe.base64decode=xxe;qe.generateBlockID=Rxe;qe.delay=vxe;qe.padStart=lJ;qe.sanitizeURL=AJ;qe.sanitizeHeaders=Pxe;qe.iEqual=_xe;qe.getAccountNameFromUrl=uJ;qe.isIpEndpointStyle=dJ;qe.attachCredential=Dxe;qe.httpAuthorizationToString=Txe;qe.EscapePath=Oxe;qe.assertResponse=Mxe;var gxe=Tt(),sJ=st(),qc=rs();function hxe(t){let e=new URL(t),r=e.pathname;return r=r||"/",r=Cxe(r),e.pathname=r,e.toString()}s(hxe,"escapeURLPath");function fxe(t){let e="";if(t.search("DevelopmentStorageProxyUri=")!==-1){let r=t.split(";");for(let n of r)n.trim().startsWith("DevelopmentStorageProxyUri=")&&(e=n.trim().match("DevelopmentStorageProxyUri=(.*)")[1])}return e}s(fxe,"getProxyUriFromDevConnString");function Fs(t,e){let r=t.split(";");for(let n of r)if(n.trim().startsWith(e))return n.trim().match(e+"=(.*)")[1];return""}s(Fs,"getValueInConnString");function yxe(t){let e="";t.startsWith("UseDevelopmentStorage=true")&&(e=fxe(t),t=qc.DevelopmentConnectionString);let r=Fs(t,"BlobEndpoint");if(r=r.endsWith("/")?r.slice(0,-1):r,t.search("DefaultEndpointsProtocol=")!==-1&&t.search("AccountKey=")!==-1){let n="",i="",o=Buffer.from("accountKey","base64"),a="";if(i=Fs(t,"AccountName"),o=Buffer.from(Fs(t,"AccountKey"),"base64"),!r){n=Fs(t,"DefaultEndpointsProtocol");let c=n.toLowerCase();if(c!=="https"&&c!=="http")throw new Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'");if(a=Fs(t,"EndpointSuffix"),!a)throw new Error("Invalid EndpointSuffix in the provided Connection String");r=`${n}://${i}.blob.${a}`}if(i){if(o.length===0)throw new Error("Invalid AccountKey in the provided Connection String")}else throw new Error("Invalid AccountName in the provided Connection String");return{kind:"AccountConnString",url:r,accountName:i,accountKey:o,proxyUri:e}}else{let n=Fs(t,"SharedAccessSignature"),i=Fs(t,"AccountName");if(i||(i=uJ(r)),r){if(!n)throw new Error("Invalid SharedAccessSignature in the provided SAS Connection String")}else throw new Error("Invalid BlobEndpoint in the provided SAS Connection String");return n.startsWith("?")&&(n=n.substring(1)),{kind:"SASConnString",url:r,accountName:i,accountSas:n}}}s(yxe,"extractConnectionStringParts");function Cxe(t){return encodeURIComponent(t).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}s(Cxe,"escape");function Exe(t,e){let r=new URL(t),n=r.pathname;return n=n?n.endsWith("/")?`${n}${e}`:`${n}/${e}`:e,r.pathname=n,r.toString()}s(Exe,"appendToURLPath");function oJ(t,e,r){let n=new URL(t),i=encodeURIComponent(e),o=r?encodeURIComponent(r):void 0,a=n.search===""?"?":n.search,c=[];for(let l of a.slice(1).split("&"))if(l){let[A]=l.split("=",2);A!==i&&c.push(l)}return o&&c.push(`${i}=${o}`),n.search=c.length?`?${c.join("&")}`:"",n.toString()}s(oJ,"setURLParameter");function aJ(t,e){return new URL(t).searchParams.get(e)??void 0}s(aJ,"getURLParameter");function Bxe(t,e){let r=new URL(t);return r.hostname=e,r.toString()}s(Bxe,"setURLHost");function Ixe(t){try{return new URL(t).pathname}catch{return}}s(Ixe,"getURLPath");function bxe(t){try{let e=new URL(t);return e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol}catch{return}}s(bxe,"getURLScheme");function Qxe(t){let e=new URL(t),r=e.pathname;if(!r)throw new RangeError("Invalid url without valid path.");let n=e.search||"";return n=n.trim(),n!==""&&(n=n.startsWith("?")?n:`?${n}`),`${r}${n}`}s(Qxe,"getURLPathAndQuery");function Nxe(t){let e=new URL(t).search;if(!e)return{};e=e.trim(),e=e.startsWith("?")?e.substring(1):e;let r=e.split("&");r=r.filter(i=>{let o=i.indexOf("="),a=i.lastIndexOf("=");return o>0&&o===a&&a42&&(t=t.slice(0,42));let o=t+lJ(e.toString(),48-t.length,"0");return cJ(o)}s(Rxe,"generateBlockID");async function vxe(t,e,r){return new Promise((n,i)=>{let o,a=s(()=>{o!==void 0&&clearTimeout(o),i(r)},"abortHandler");o=setTimeout(s(()=>{e!==void 0&&e.removeEventListener("abort",a),n()},"resolveHandler"),t),e!==void 0&&e.addEventListener("abort",a)})}s(vxe,"delay");function lJ(t,e,r=" "){return String.prototype.padStart?t.padStart(e,r):(r=r||" ",t.length>e?t:(e=e-t.length,e>r.length&&(r+=r.repeat(e/r.length)),r.slice(0,e)+t))}s(lJ,"padStart");function AJ(t){let e=t;return aJ(e,qc.URLConstants.Parameters.SIGNATURE)&&(e=oJ(e,qc.URLConstants.Parameters.SIGNATURE,"*****")),e}s(AJ,"sanitizeURL");function Pxe(t){let e=(0,gxe.createHttpHeaders)();for(let[r,n]of t)r.toLowerCase()===qc.HeaderConstants.AUTHORIZATION.toLowerCase()?e.set(r,"*****"):r.toLowerCase()===qc.HeaderConstants.X_MS_COPY_SOURCE?e.set(r,AJ(n)):e.set(r,n);return e}s(Pxe,"sanitizeHeaders");function _xe(t,e){return t.toLocaleLowerCase()===e.toLocaleLowerCase()}s(_xe,"iEqual");function uJ(t){let e=new URL(t),r;try{return e.hostname.split(".")[1]==="blob"?r=e.hostname.split(".")[0]:dJ(e)?r=e.pathname.split("/")[1]:r="",r}catch{throw new Error("Unable to extract accountName with provided information.")}}s(uJ,"getAccountNameFromUrl");function dJ(t){let e=t.host;return/^.*:.*:.*$|^(localhost|host.docker.internal)(:[0-9]+)?$|^(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])(\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])){3}(:[0-9]+)?$/.test(e)||!!t.port&&qc.PathStylePorts.includes(t.port)}s(dJ,"isIpEndpointStyle");function Dxe(t,e){return t.credential=e,t}s(Dxe,"attachCredential");function Txe(t){return t?t.scheme+" "+t.value:void 0}s(Txe,"httpAuthorizationToString");function Oxe(t){let e=t.split("/");for(let r=0;r{"use strict";Object.defineProperty(Hg,"__esModule",{value:!0});Hg.StorageBrowserPolicy=void 0;var kxe=Iu(),Lxe=st(),Vw=rs(),Fxe=Yo(),Ww=class extends kxe.BaseRequestPolicy{static{s(this,"StorageBrowserPolicy")}constructor(e,r){super(e,r)}async sendRequest(e){return Lxe.isNodeLike?this._nextPolicy.sendRequest(e):((e.method.toUpperCase()==="GET"||e.method.toUpperCase()==="HEAD")&&(e.url=(0,Fxe.setURLParameter)(e.url,Vw.URLConstants.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),e.headers.remove(Vw.HeaderConstants.COOKIE),e.headers.remove(Vw.HeaderConstants.CONTENT_LENGTH),this._nextPolicy.sendRequest(e))}};Hg.StorageBrowserPolicy=Ww});var gJ=f(Hc=>{"use strict";Object.defineProperty(Hc,"__esModule",{value:!0});Hc.StorageBrowserPolicyFactory=Hc.StorageBrowserPolicy=void 0;var mJ=pJ();Object.defineProperty(Hc,"StorageBrowserPolicy",{enumerable:!0,get:s(function(){return mJ.StorageBrowserPolicy},"get")});var Kw=class{static{s(this,"StorageBrowserPolicyFactory")}create(e,r){return new mJ.StorageBrowserPolicy(e,r)}};Hc.StorageBrowserPolicyFactory=Kw});var Gg=f(zg=>{"use strict";Object.defineProperty(zg,"__esModule",{value:!0});zg.CredentialPolicy=void 0;var Uxe=Iu(),$w=class extends Uxe.BaseRequestPolicy{static{s(this,"CredentialPolicy")}sendRequest(e){return this._nextPolicy.sendRequest(this.signRequest(e))}signRequest(e){return e}};zg.CredentialPolicy=$w});var Zw=f(jg=>{"use strict";Object.defineProperty(jg,"__esModule",{value:!0});jg.AnonymousCredentialPolicy=void 0;var qxe=Gg(),Xw=class extends qxe.CredentialPolicy{static{s(this,"AnonymousCredentialPolicy")}constructor(e,r){super(e,r)}};jg.AnonymousCredentialPolicy=Xw});var Jg=f(Yg=>{"use strict";Object.defineProperty(Yg,"__esModule",{value:!0});Yg.Credential=void 0;var e0=class{static{s(this,"Credential")}create(e,r){throw new Error("Method should be implemented in children classes.")}};Yg.Credential=e0});var hJ=f(Vg=>{"use strict";Object.defineProperty(Vg,"__esModule",{value:!0});Vg.AnonymousCredential=void 0;var Hxe=Zw(),zxe=Jg(),t0=class extends zxe.Credential{static{s(this,"AnonymousCredential")}create(e,r){return new Hxe.AnonymousCredentialPolicy(e,r)}};Vg.AnonymousCredential=t0});var n0=f(r0=>{"use strict";Object.defineProperty(r0,"__esModule",{value:!0});r0.compareHeader=Jxe;var Gxe=new Uint32Array([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,1820,0,1823,1825,1827,1829,0,0,0,1837,2051,0,0,1843,0,3331,3354,3356,3358,3360,3362,3364,3366,3368,3370,0,0,0,0,0,0,0,3586,3593,3594,3610,3617,3619,3621,3628,3634,3637,3638,3656,3665,3696,3708,3710,3721,3722,3729,3737,3743,3746,3748,3750,3751,3753,0,0,0,1859,1860,1864,3586,3593,3594,3610,3617,3619,3621,3628,3634,3637,3638,3656,3665,3696,3708,3710,3721,3722,3729,3737,3743,3746,3748,3750,3751,3753,0,1868,0,1872,0]),jxe=new Uint32Array([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,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,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]),Yxe=new Uint32Array([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,32786,0,0,0,0,0,33298,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 Jxe(t,e){return Vxe(t,e)?-1:1}s(Jxe,"compareHeader");function Vxe(t,e){let r=[Gxe,jxe,Yxe],n=0,i=0,o=0;for(;no;let a=i{"use strict";Object.defineProperty(Wg,"__esModule",{value:!0});Wg.StorageSharedKeyCredentialPolicy=void 0;var cr=rs(),fJ=Yo(),Wxe=Gg(),Kxe=n0(),i0=class extends Wxe.CredentialPolicy{static{s(this,"StorageSharedKeyCredentialPolicy")}factory;constructor(e,r,n){super(e,r),this.factory=n}signRequest(e){e.headers.set(cr.HeaderConstants.X_MS_DATE,new Date().toUTCString()),e.body&&(typeof e.body=="string"||e.body!==void 0)&&e.body.length>0&&e.headers.set(cr.HeaderConstants.CONTENT_LENGTH,Buffer.byteLength(e.body));let r=[e.method.toUpperCase(),this.getHeaderValueToSign(e,cr.HeaderConstants.CONTENT_LANGUAGE),this.getHeaderValueToSign(e,cr.HeaderConstants.CONTENT_ENCODING),this.getHeaderValueToSign(e,cr.HeaderConstants.CONTENT_LENGTH),this.getHeaderValueToSign(e,cr.HeaderConstants.CONTENT_MD5),this.getHeaderValueToSign(e,cr.HeaderConstants.CONTENT_TYPE),this.getHeaderValueToSign(e,cr.HeaderConstants.DATE),this.getHeaderValueToSign(e,cr.HeaderConstants.IF_MODIFIED_SINCE),this.getHeaderValueToSign(e,cr.HeaderConstants.IF_MATCH),this.getHeaderValueToSign(e,cr.HeaderConstants.IF_NONE_MATCH),this.getHeaderValueToSign(e,cr.HeaderConstants.IF_UNMODIFIED_SINCE),this.getHeaderValueToSign(e,cr.HeaderConstants.RANGE)].join(` `)+` -`+this.getCanonicalizedHeadersString(e)+this.getCanonicalizedResourceString(e),n=this.factory.computeHMACSHA256(r);return e.headers.set(ir.HeaderConstants.AUTHORIZATION,`SharedKey ${this.factory.accountName}:${n}`),e}getHeaderValueToSign(e,r){let n=e.headers.get(r);return!n||r===ir.HeaderConstants.CONTENT_LENGTH&&n==="0"?"":n}getCanonicalizedHeadersString(e){let r=e.headers.headersArray().filter(i=>i.name.toLowerCase().startsWith(ir.HeaderConstants.PREFIX_FOR_STORAGE));r.sort((i,s)=>(0,zRe.compareHeader)(i.name.toLowerCase(),s.name.toLowerCase())),r=r.filter((i,s,a)=>!(s>0&&i.name.toLowerCase()===a[s-1].name.toLowerCase()));let n="";return r.forEach(i=>{n+=`${i.name.toLowerCase().trimRight()}:${i.value.trimLeft()} -`}),n}getCanonicalizedResourceString(e){let r=(0,sW.getURLPath)(e.url)||"/",n="";n+=`/${this.factory.accountName}${r}`;let i=(0,sW.getURLQueries)(e.url),s={};if(i){let a=[];for(let c in i)if(Object.prototype.hasOwnProperty.call(i,c)){let l=c.toLowerCase();s[l]=i[c],a.push(l)}a.sort();for(let c of a)n+=` -${c}:${decodeURIComponent(s[c])}`}return n}};ef.StorageSharedKeyCredentialPolicy=g0});var oW=h(tf=>{"use strict";Object.defineProperty(tf,"__esModule",{value:!0});tf.StorageSharedKeyCredential=void 0;var jRe=require("node:crypto"),GRe=f0(),YRe=Xg(),h0=class extends YRe.Credential{static{o(this,"StorageSharedKeyCredential")}accountName;accountKey;constructor(e,r){super(),this.accountName=e,this.accountKey=Buffer.from(r,"base64")}create(e,r){return new GRe.StorageSharedKeyCredentialPolicy(e,r,this)}computeHMACSHA256(e){return(0,jRe.createHmac)("sha256",this.accountKey).update(e,"utf8").digest("base64")}};tf.StorageSharedKeyCredential=h0});var aW=h(rf=>{"use strict";Object.defineProperty(rf,"__esModule",{value:!0});rf.AbortError=void 0;var y0=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};rf.AbortError=y0});var C0=h(nf=>{"use strict";Object.defineProperty(nf,"__esModule",{value:!0});nf.AbortError=void 0;var JRe=aW();Object.defineProperty(nf,"AbortError",{enumerable:!0,get:function(){return JRe.AbortError}})});var E0=h(sf=>{"use strict";Object.defineProperty(sf,"__esModule",{value:!0});sf.logger=void 0;var VRe=Qc();sf.logger=(0,VRe.createClientLogger)("storage-common")});var B0=h(of=>{"use strict";Object.defineProperty(of,"__esModule",{value:!0});of.StorageRetryPolicyType=void 0;var cW;(function(t){t[t.EXPONENTIAL=0]="EXPONENTIAL",t[t.FIXED=1]="FIXED"})(cW||(of.StorageRetryPolicyType=cW={}))});var AW=h(gu=>{"use strict";Object.defineProperty(gu,"__esModule",{value:!0});gu.StorageRetryPolicy=void 0;gu.NewRetryPolicyFactory=$Re;var WRe=C0(),KRe=mu(),lW=es(),I0=Lo(),ks=E0(),b0=B0();function $Re(t){return{create:(e,r)=>new af(e,r,t)}}o($Re,"NewRetryPolicyFactory");var Ls={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:b0.StorageRetryPolicyType.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},XRe=new WRe.AbortError("The operation was aborted."),af=class extends KRe.BaseRequestPolicy{static{o(this,"StorageRetryPolicy")}retryOptions;constructor(e,r,n=Ls){super(e,r),this.retryOptions={retryPolicyType:n.retryPolicyType?n.retryPolicyType:Ls.retryPolicyType,maxTries:n.maxTries&&n.maxTries>=1?Math.floor(n.maxTries):Ls.maxTries,tryTimeoutInMs:n.tryTimeoutInMs&&n.tryTimeoutInMs>=0?n.tryTimeoutInMs:Ls.tryTimeoutInMs,retryDelayInMs:n.retryDelayInMs&&n.retryDelayInMs>=0?Math.min(n.retryDelayInMs,n.maxRetryDelayInMs?n.maxRetryDelayInMs:Ls.maxRetryDelayInMs):Ls.retryDelayInMs,maxRetryDelayInMs:n.maxRetryDelayInMs&&n.maxRetryDelayInMs>=0?n.maxRetryDelayInMs:Ls.maxRetryDelayInMs,secondaryHost:n.secondaryHost?n.secondaryHost:Ls.secondaryHost}}async sendRequest(e){return this.attemptSendRequest(e,!1,1)}async attemptSendRequest(e,r,n){let i=e.clone(),s=r||!this.retryOptions.secondaryHost||!(e.method==="GET"||e.method==="HEAD"||e.method==="OPTIONS")||n%2===1;s||(i.url=(0,I0.setURLHost)(i.url,this.retryOptions.secondaryHost)),this.retryOptions.tryTimeoutInMs&&(i.url=(0,I0.setURLParameter)(i.url,lW.URLConstants.Parameters.TIMEOUT,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString()));let a;try{if(ks.logger.info(`RetryPolicy: =====> Try=${n} ${s?"Primary":"Secondary"}`),a=await this._nextPolicy.sendRequest(i),!this.shouldRetry(s,n,a))return a;r=r||!s&&a.status===404}catch(c){if(ks.logger.error(`RetryPolicy: Caught error, message: ${c.message}, code: ${c.code}`),!this.shouldRetry(s,n,a,c))throw c}return await this.delay(s,n,e.abortSignal),this.attemptSendRequest(e,r,++n)}shouldRetry(e,r,n,i){if(r>=this.retryOptions.maxTries)return ks.logger.info(`RetryPolicy: Attempt(s) ${r} >= maxTries ${this.retryOptions.maxTries}, no further try.`),!1;let s=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"];if(i){for(let a of s)if(i.name.toUpperCase().includes(a)||i.message.toUpperCase().includes(a)||i.code&&i.code.toString().toUpperCase()===a)return ks.logger.info(`RetryPolicy: Network error ${a} found, will retry.`),!0}if(n||i){let a=n?n.status:i?i.statusCode:0;if(!e&&a===404)return ks.logger.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(a===503||a===500)return ks.logger.info(`RetryPolicy: Will retry for status code ${a}.`),!0}if(n&&n?.status>=400){let a=n.headers.get(lW.HeaderConstants.X_MS_CopySourceErrorCode);if(a!==void 0)switch(a){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return i?.code==="PARSE_ERROR"&&i?.message.startsWith('Error "Error: Unclosed root tag')?(ks.logger.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0):!1}async delay(e,r,n){let i=0;if(e)switch(this.retryOptions.retryPolicyType){case b0.StorageRetryPolicyType.EXPONENTIAL:i=Math.min((Math.pow(2,r-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case b0.StorageRetryPolicyType.FIXED:i=this.retryOptions.retryDelayInMs;break}else i=Math.random()*1e3;return ks.logger.info(`RetryPolicy: Delay for ${i}ms`),(0,I0.delay)(i,n,XRe)}};gu.StorageRetryPolicy=af});var N0=h(fi=>{"use strict";Object.defineProperty(fi,"__esModule",{value:!0});fi.StorageRetryPolicyFactory=fi.NewRetryPolicyFactory=fi.StorageRetryPolicy=fi.StorageRetryPolicyType=void 0;var w0=AW();Object.defineProperty(fi,"StorageRetryPolicy",{enumerable:!0,get:function(){return w0.StorageRetryPolicy}});Object.defineProperty(fi,"NewRetryPolicyFactory",{enumerable:!0,get:function(){return w0.NewRetryPolicyFactory}});var ZRe=B0();Object.defineProperty(fi,"StorageRetryPolicyType",{enumerable:!0,get:function(){return ZRe.StorageRetryPolicyType}});var Q0=class{static{o(this,"StorageRetryPolicyFactory")}retryOptions;constructor(e){this.retryOptions=e}create(e,r){return new w0.StorageRetryPolicy(e,r,this.retryOptions)}};fi.StorageRetryPolicyFactory=Q0});var uW=h(Lc=>{"use strict";Object.defineProperty(Lc,"__esModule",{value:!0});Lc.storageBrowserPolicyName=void 0;Lc.storageBrowserPolicy=r_e;var e_e=ut(),S0=es(),t_e=Lo();Lc.storageBrowserPolicyName="storageBrowserPolicy";function r_e(){return{name:Lc.storageBrowserPolicyName,async sendRequest(t,e){return e_e.isNodeLike||((t.method==="GET"||t.method==="HEAD")&&(t.url=(0,t_e.setURLParameter)(t.url,S0.URLConstants.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),t.headers.delete(S0.HeaderConstants.COOKIE),t.headers.delete(S0.HeaderConstants.CONTENT_LENGTH)),e(t)}}}o(r_e,"storageBrowserPolicy")});var dW=h(Fc=>{"use strict";Object.defineProperty(Fc,"__esModule",{value:!0});Fc.storageCorrectContentLengthPolicyName=void 0;Fc.storageCorrectContentLengthPolicy=i_e;var n_e=es();Fc.storageCorrectContentLengthPolicyName="StorageCorrectContentLengthPolicy";function i_e(){function t(e){e.body&&(typeof e.body=="string"||Buffer.isBuffer(e.body))&&e.body.length>0&&e.headers.set(n_e.HeaderConstants.CONTENT_LENGTH,Buffer.byteLength(e.body))}return o(t,"correctContentLength"),{name:Fc.storageCorrectContentLengthPolicyName,async sendRequest(e,r){return t(e),r(e)}}}o(i_e,"storageCorrectContentLengthPolicy")});var gW=h(qc=>{"use strict";Object.defineProperty(qc,"__esModule",{value:!0});qc.storageRetryPolicyName=void 0;qc.storageRetryPolicy=l_e;var s_e=C0(),pW=Pt(),o_e=ut(),v0=N0(),mW=es(),x0=Lo(),ts=E0();qc.storageRetryPolicyName="storageRetryPolicy";var Uc={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:v0.StorageRetryPolicyType.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},a_e=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"],c_e=new s_e.AbortError("The operation was aborted.");function l_e(t={}){let e=t.retryPolicyType??Uc.retryPolicyType,r=t.maxTries??Uc.maxTries,n=t.retryDelayInMs??Uc.retryDelayInMs,i=t.maxRetryDelayInMs??Uc.maxRetryDelayInMs,s=t.secondaryHost??Uc.secondaryHost,a=t.tryTimeoutInMs??Uc.tryTimeoutInMs;function c({isPrimaryRetry:A,attempt:u,response:d,error:g}){if(u>=r)return ts.logger.info(`RetryPolicy: Attempt(s) ${u} >= maxTries ${r}, no further try.`),!1;if(g){for(let f of a_e)if(g.name.toUpperCase().includes(f)||g.message.toUpperCase().includes(f)||g.code&&g.code.toString().toUpperCase()===f)return ts.logger.info(`RetryPolicy: Network error ${f} found, will retry.`),!0;if(g?.code==="PARSE_ERROR"&&g?.message.startsWith('Error "Error: Unclosed root tag'))return ts.logger.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0}if(d||g){let f=d?.status??g?.statusCode??0;if(!A&&f===404)return ts.logger.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(f===503||f===500)return ts.logger.info(`RetryPolicy: Will retry for status code ${f}.`),!0}if(d&&d?.status>=400){let f=d.headers.get(mW.HeaderConstants.X_MS_CopySourceErrorCode);if(f!==void 0)switch(f){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return!1}o(c,"shouldRetry");function l(A,u){let d=0;if(A)switch(e){case v0.StorageRetryPolicyType.EXPONENTIAL:d=Math.min((Math.pow(2,u-1)-1)*n,i);break;case v0.StorageRetryPolicyType.FIXED:d=n;break}else d=Math.random()*1e3;return ts.logger.info(`RetryPolicy: Delay for ${d}ms`),d}return o(l,"calculateDelay"),{name:qc.storageRetryPolicyName,async sendRequest(A,u){a&&(A.url=(0,x0.setURLParameter)(A.url,mW.URLConstants.Parameters.TIMEOUT,String(Math.floor(a/1e3))));let d=A.url,g=s?(0,x0.setURLHost)(A.url,s):void 0,f=!1,C=1,Q=!0,x,w;for(;Q;){let v=f||!g||!["GET","HEAD","OPTIONS"].includes(A.method)||C%2===1;A.url=v?d:g,x=void 0,w=void 0;try{ts.logger.info(`RetryPolicy: =====> Try=${C} ${v?"Primary":"Secondary"}`),x=await u(A),f=f||!v&&x.status===404}catch(T){if((0,pW.isRestError)(T))ts.logger.error(`RetryPolicy: Caught error, message: ${T.message}, code: ${T.code}`),w=T;else throw ts.logger.error(`RetryPolicy: Caught error, message: ${(0,o_e.getErrorMessage)(T)}`),T}Q=c({isPrimaryRetry:v,attempt:C,response:x,error:w}),Q&&await(0,x0.delay)(l(v,C),A.abortSignal,c_e),C++}if(x)return x;throw w??new pW.RestError("RetryPolicy failed without known error.")}}}o(l_e,"storageRetryPolicy")});var hW=h(Hc=>{"use strict";Object.defineProperty(Hc,"__esModule",{value:!0});Hc.storageSharedKeyCredentialPolicyName=void 0;Hc.storageSharedKeyCredentialPolicy=d_e;var A_e=require("node:crypto"),sr=es(),fW=Lo(),u_e=m0();Hc.storageSharedKeyCredentialPolicyName="storageSharedKeyCredentialPolicy";function d_e(t){function e(s){s.headers.set(sr.HeaderConstants.X_MS_DATE,new Date().toUTCString()),s.body&&(typeof s.body=="string"||Buffer.isBuffer(s.body))&&s.body.length>0&&s.headers.set(sr.HeaderConstants.CONTENT_LENGTH,Buffer.byteLength(s.body));let a=[s.method.toUpperCase(),r(s,sr.HeaderConstants.CONTENT_LANGUAGE),r(s,sr.HeaderConstants.CONTENT_ENCODING),r(s,sr.HeaderConstants.CONTENT_LENGTH),r(s,sr.HeaderConstants.CONTENT_MD5),r(s,sr.HeaderConstants.CONTENT_TYPE),r(s,sr.HeaderConstants.DATE),r(s,sr.HeaderConstants.IF_MODIFIED_SINCE),r(s,sr.HeaderConstants.IF_MATCH),r(s,sr.HeaderConstants.IF_NONE_MATCH),r(s,sr.HeaderConstants.IF_UNMODIFIED_SINCE),r(s,sr.HeaderConstants.RANGE)].join(` +`+this.getCanonicalizedHeadersString(e)+this.getCanonicalizedResourceString(e),n=this.factory.computeHMACSHA256(r);return e.headers.set(cr.HeaderConstants.AUTHORIZATION,`SharedKey ${this.factory.accountName}:${n}`),e}getHeaderValueToSign(e,r){let n=e.headers.get(r);return!n||r===cr.HeaderConstants.CONTENT_LENGTH&&n==="0"?"":n}getCanonicalizedHeadersString(e){let r=e.headers.headersArray().filter(i=>i.name.toLowerCase().startsWith(cr.HeaderConstants.PREFIX_FOR_STORAGE));r.sort((i,o)=>(0,Kxe.compareHeader)(i.name.toLowerCase(),o.name.toLowerCase())),r=r.filter((i,o,a)=>!(o>0&&i.name.toLowerCase()===a[o-1].name.toLowerCase()));let n="";return r.forEach(i=>{n+=`${i.name.toLowerCase().trimRight()}:${i.value.trimLeft()} +`}),n}getCanonicalizedResourceString(e){let r=(0,fJ.getURLPath)(e.url)||"/",n="";n+=`/${this.factory.accountName}${r}`;let i=(0,fJ.getURLQueries)(e.url),o={};if(i){let a=[];for(let c in i)if(Object.prototype.hasOwnProperty.call(i,c)){let l=c.toLowerCase();o[l]=i[c],a.push(l)}a.sort();for(let c of a)n+=` +${c}:${decodeURIComponent(o[c])}`}return n}};Wg.StorageSharedKeyCredentialPolicy=i0});var yJ=f(Kg=>{"use strict";Object.defineProperty(Kg,"__esModule",{value:!0});Kg.StorageSharedKeyCredential=void 0;var $xe=require("node:crypto"),Xxe=s0(),Zxe=Jg(),o0=class extends Zxe.Credential{static{s(this,"StorageSharedKeyCredential")}accountName;accountKey;constructor(e,r){super(),this.accountName=e,this.accountKey=Buffer.from(r,"base64")}create(e,r){return new Xxe.StorageSharedKeyCredentialPolicy(e,r,this)}computeHMACSHA256(e){return(0,$xe.createHmac)("sha256",this.accountKey).update(e,"utf8").digest("base64")}};Kg.StorageSharedKeyCredential=o0});var CJ=f($g=>{"use strict";Object.defineProperty($g,"__esModule",{value:!0});$g.AbortError=void 0;var a0=class extends Error{static{s(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};$g.AbortError=a0});var c0=f(Xg=>{"use strict";Object.defineProperty(Xg,"__esModule",{value:!0});Xg.AbortError=void 0;var eRe=CJ();Object.defineProperty(Xg,"AbortError",{enumerable:!0,get:s(function(){return eRe.AbortError},"get")})});var l0=f(Zg=>{"use strict";Object.defineProperty(Zg,"__esModule",{value:!0});Zg.logger=void 0;var tRe=zo();Zg.logger=(0,tRe.createClientLogger)("storage-common")});var A0=f(eh=>{"use strict";Object.defineProperty(eh,"__esModule",{value:!0});eh.StorageRetryPolicyType=void 0;var EJ;(function(t){t[t.EXPONENTIAL=0]="EXPONENTIAL",t[t.FIXED=1]="FIXED"})(EJ||(eh.StorageRetryPolicyType=EJ={}))});var IJ=f(bu=>{"use strict";Object.defineProperty(bu,"__esModule",{value:!0});bu.StorageRetryPolicy=void 0;bu.NewRetryPolicyFactory=iRe;var rRe=c0(),nRe=Iu(),BJ=rs(),u0=Yo(),Us=l0(),d0=A0();function iRe(t){return{create:s((e,r)=>new th(e,r,t),"create")}}s(iRe,"NewRetryPolicyFactory");var qs={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:d0.StorageRetryPolicyType.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},sRe=new rRe.AbortError("The operation was aborted."),th=class extends nRe.BaseRequestPolicy{static{s(this,"StorageRetryPolicy")}retryOptions;constructor(e,r,n=qs){super(e,r),this.retryOptions={retryPolicyType:n.retryPolicyType?n.retryPolicyType:qs.retryPolicyType,maxTries:n.maxTries&&n.maxTries>=1?Math.floor(n.maxTries):qs.maxTries,tryTimeoutInMs:n.tryTimeoutInMs&&n.tryTimeoutInMs>=0?n.tryTimeoutInMs:qs.tryTimeoutInMs,retryDelayInMs:n.retryDelayInMs&&n.retryDelayInMs>=0?Math.min(n.retryDelayInMs,n.maxRetryDelayInMs?n.maxRetryDelayInMs:qs.maxRetryDelayInMs):qs.retryDelayInMs,maxRetryDelayInMs:n.maxRetryDelayInMs&&n.maxRetryDelayInMs>=0?n.maxRetryDelayInMs:qs.maxRetryDelayInMs,secondaryHost:n.secondaryHost?n.secondaryHost:qs.secondaryHost}}async sendRequest(e){return this.attemptSendRequest(e,!1,1)}async attemptSendRequest(e,r,n){let i=e.clone(),o=r||!this.retryOptions.secondaryHost||!(e.method==="GET"||e.method==="HEAD"||e.method==="OPTIONS")||n%2===1;o||(i.url=(0,u0.setURLHost)(i.url,this.retryOptions.secondaryHost)),this.retryOptions.tryTimeoutInMs&&(i.url=(0,u0.setURLParameter)(i.url,BJ.URLConstants.Parameters.TIMEOUT,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString()));let a;try{if(Us.logger.info(`RetryPolicy: =====> Try=${n} ${o?"Primary":"Secondary"}`),a=await this._nextPolicy.sendRequest(i),!this.shouldRetry(o,n,a))return a;r=r||!o&&a.status===404}catch(c){if(Us.logger.error(`RetryPolicy: Caught error, message: ${c.message}, code: ${c.code}`),!this.shouldRetry(o,n,a,c))throw c}return await this.delay(o,n,e.abortSignal),this.attemptSendRequest(e,r,++n)}shouldRetry(e,r,n,i){if(r>=this.retryOptions.maxTries)return Us.logger.info(`RetryPolicy: Attempt(s) ${r} >= maxTries ${this.retryOptions.maxTries}, no further try.`),!1;let o=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"];if(i){for(let a of o)if(i.name.toUpperCase().includes(a)||i.message.toUpperCase().includes(a)||i.code&&i.code.toString().toUpperCase()===a)return Us.logger.info(`RetryPolicy: Network error ${a} found, will retry.`),!0}if(n||i){let a=n?n.status:i?i.statusCode:0;if(!e&&a===404)return Us.logger.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(a===503||a===500)return Us.logger.info(`RetryPolicy: Will retry for status code ${a}.`),!0}if(n&&n?.status>=400){let a=n.headers.get(BJ.HeaderConstants.X_MS_CopySourceErrorCode);if(a!==void 0)switch(a){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return i?.code==="PARSE_ERROR"&&i?.message.startsWith('Error "Error: Unclosed root tag')?(Us.logger.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0):!1}async delay(e,r,n){let i=0;if(e)switch(this.retryOptions.retryPolicyType){case d0.StorageRetryPolicyType.EXPONENTIAL:i=Math.min((Math.pow(2,r-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case d0.StorageRetryPolicyType.FIXED:i=this.retryOptions.retryDelayInMs;break}else i=Math.random()*1e3;return Us.logger.info(`RetryPolicy: Delay for ${i}ms`),(0,u0.delay)(i,n,sRe)}};bu.StorageRetryPolicy=th});var g0=f(Ci=>{"use strict";Object.defineProperty(Ci,"__esModule",{value:!0});Ci.StorageRetryPolicyFactory=Ci.NewRetryPolicyFactory=Ci.StorageRetryPolicy=Ci.StorageRetryPolicyType=void 0;var m0=IJ();Object.defineProperty(Ci,"StorageRetryPolicy",{enumerable:!0,get:s(function(){return m0.StorageRetryPolicy},"get")});Object.defineProperty(Ci,"NewRetryPolicyFactory",{enumerable:!0,get:s(function(){return m0.NewRetryPolicyFactory},"get")});var oRe=A0();Object.defineProperty(Ci,"StorageRetryPolicyType",{enumerable:!0,get:s(function(){return oRe.StorageRetryPolicyType},"get")});var p0=class{static{s(this,"StorageRetryPolicyFactory")}retryOptions;constructor(e){this.retryOptions=e}create(e,r){return new m0.StorageRetryPolicy(e,r,this.retryOptions)}};Ci.StorageRetryPolicyFactory=p0});var bJ=f(zc=>{"use strict";Object.defineProperty(zc,"__esModule",{value:!0});zc.storageBrowserPolicyName=void 0;zc.storageBrowserPolicy=lRe;var aRe=st(),h0=rs(),cRe=Yo();zc.storageBrowserPolicyName="storageBrowserPolicy";function lRe(){return{name:zc.storageBrowserPolicyName,async sendRequest(t,e){return aRe.isNodeLike||((t.method==="GET"||t.method==="HEAD")&&(t.url=(0,cRe.setURLParameter)(t.url,h0.URLConstants.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),t.headers.delete(h0.HeaderConstants.COOKIE),t.headers.delete(h0.HeaderConstants.CONTENT_LENGTH)),e(t)}}}s(lRe,"storageBrowserPolicy")});var QJ=f(Gc=>{"use strict";Object.defineProperty(Gc,"__esModule",{value:!0});Gc.storageCorrectContentLengthPolicyName=void 0;Gc.storageCorrectContentLengthPolicy=uRe;var ARe=rs();Gc.storageCorrectContentLengthPolicyName="StorageCorrectContentLengthPolicy";function uRe(){function t(e){e.body&&(typeof e.body=="string"||Buffer.isBuffer(e.body))&&e.body.length>0&&e.headers.set(ARe.HeaderConstants.CONTENT_LENGTH,Buffer.byteLength(e.body))}return s(t,"correctContentLength"),{name:Gc.storageCorrectContentLengthPolicyName,async sendRequest(e,r){return t(e),r(e)}}}s(uRe,"storageCorrectContentLengthPolicy")});var SJ=f(Yc=>{"use strict";Object.defineProperty(Yc,"__esModule",{value:!0});Yc.storageRetryPolicyName=void 0;Yc.storageRetryPolicy=hRe;var dRe=c0(),NJ=Tt(),pRe=st(),y0=g0(),wJ=rs(),f0=Yo(),ns=l0();Yc.storageRetryPolicyName="storageRetryPolicy";var jc={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:y0.StorageRetryPolicyType.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},mRe=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"],gRe=new dRe.AbortError("The operation was aborted.");function hRe(t={}){let e=t.retryPolicyType??jc.retryPolicyType,r=t.maxTries??jc.maxTries,n=t.retryDelayInMs??jc.retryDelayInMs,i=t.maxRetryDelayInMs??jc.maxRetryDelayInMs,o=t.secondaryHost??jc.secondaryHost,a=t.tryTimeoutInMs??jc.tryTimeoutInMs;function c({isPrimaryRetry:A,attempt:u,response:d,error:g}){if(u>=r)return ns.logger.info(`RetryPolicy: Attempt(s) ${u} >= maxTries ${r}, no further try.`),!1;if(g){for(let y of mRe)if(g.name.toUpperCase().includes(y)||g.message.toUpperCase().includes(y)||g.code&&g.code.toString().toUpperCase()===y)return ns.logger.info(`RetryPolicy: Network error ${y} found, will retry.`),!0;if(g?.code==="PARSE_ERROR"&&g?.message.startsWith('Error "Error: Unclosed root tag'))return ns.logger.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0}if(d||g){let y=d?.status??g?.statusCode??0;if(!A&&y===404)return ns.logger.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(y===503||y===500)return ns.logger.info(`RetryPolicy: Will retry for status code ${y}.`),!0}if(d&&d?.status>=400){let y=d.headers.get(wJ.HeaderConstants.X_MS_CopySourceErrorCode);if(y!==void 0)switch(y){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return!1}s(c,"shouldRetry");function l(A,u){let d=0;if(A)switch(e){case y0.StorageRetryPolicyType.EXPONENTIAL:d=Math.min((Math.pow(2,u-1)-1)*n,i);break;case y0.StorageRetryPolicyType.FIXED:d=n;break}else d=Math.random()*1e3;return ns.logger.info(`RetryPolicy: Delay for ${d}ms`),d}return s(l,"calculateDelay"),{name:Yc.storageRetryPolicyName,async sendRequest(A,u){a&&(A.url=(0,f0.setURLParameter)(A.url,wJ.URLConstants.Parameters.TIMEOUT,String(Math.floor(a/1e3))));let d=A.url,g=o?(0,f0.setURLHost)(A.url,o):void 0,y=!1,B=1,w=!0,x,S;for(;w;){let R=y||!g||!["GET","HEAD","OPTIONS"].includes(A.method)||B%2===1;A.url=R?d:g,x=void 0,S=void 0;try{ns.logger.info(`RetryPolicy: =====> Try=${B} ${R?"Primary":"Secondary"}`),x=await u(A),y=y||!R&&x.status===404}catch(D){if((0,NJ.isRestError)(D))ns.logger.error(`RetryPolicy: Caught error, message: ${D.message}, code: ${D.code}`),S=D;else throw ns.logger.error(`RetryPolicy: Caught error, message: ${(0,pRe.getErrorMessage)(D)}`),D}w=c({isPrimaryRetry:R,attempt:B,response:x,error:S}),w&&await(0,f0.delay)(l(R,B),A.abortSignal,gRe),B++}if(x)return x;throw S??new NJ.RestError("RetryPolicy failed without known error.")}}}s(hRe,"storageRetryPolicy")});var RJ=f(Jc=>{"use strict";Object.defineProperty(Jc,"__esModule",{value:!0});Jc.storageSharedKeyCredentialPolicyName=void 0;Jc.storageSharedKeyCredentialPolicy=CRe;var fRe=require("node:crypto"),lr=rs(),xJ=Yo(),yRe=n0();Jc.storageSharedKeyCredentialPolicyName="storageSharedKeyCredentialPolicy";function CRe(t){function e(o){o.headers.set(lr.HeaderConstants.X_MS_DATE,new Date().toUTCString()),o.body&&(typeof o.body=="string"||Buffer.isBuffer(o.body))&&o.body.length>0&&o.headers.set(lr.HeaderConstants.CONTENT_LENGTH,Buffer.byteLength(o.body));let a=[o.method.toUpperCase(),r(o,lr.HeaderConstants.CONTENT_LANGUAGE),r(o,lr.HeaderConstants.CONTENT_ENCODING),r(o,lr.HeaderConstants.CONTENT_LENGTH),r(o,lr.HeaderConstants.CONTENT_MD5),r(o,lr.HeaderConstants.CONTENT_TYPE),r(o,lr.HeaderConstants.DATE),r(o,lr.HeaderConstants.IF_MODIFIED_SINCE),r(o,lr.HeaderConstants.IF_MATCH),r(o,lr.HeaderConstants.IF_NONE_MATCH),r(o,lr.HeaderConstants.IF_UNMODIFIED_SINCE),r(o,lr.HeaderConstants.RANGE)].join(` `)+` -`+n(s)+i(s),c=(0,A_e.createHmac)("sha256",t.accountKey).update(a,"utf8").digest("base64");s.headers.set(sr.HeaderConstants.AUTHORIZATION,`SharedKey ${t.accountName}:${c}`)}o(e,"signRequest");function r(s,a){let c=s.headers.get(a);return!c||a===sr.HeaderConstants.CONTENT_LENGTH&&c==="0"?"":c}o(r,"getHeaderValueToSign");function n(s){let a=[];for(let[l,A]of s.headers)l.toLowerCase().startsWith(sr.HeaderConstants.PREFIX_FOR_STORAGE)&&a.push({name:l,value:A});a.sort((l,A)=>(0,u_e.compareHeader)(l.name.toLowerCase(),A.name.toLowerCase())),a=a.filter((l,A,u)=>!(A>0&&l.name.toLowerCase()===u[A-1].name.toLowerCase()));let c="";return a.forEach(l=>{c+=`${l.name.toLowerCase().trimRight()}:${l.value.trimLeft()} -`}),c}o(n,"getCanonicalizedHeadersString");function i(s){let a=(0,fW.getURLPath)(s.url)||"/",c="";c+=`/${t.accountName}${a}`;let l=(0,fW.getURLQueries)(s.url),A={};if(l){let u=[];for(let d in l)if(Object.prototype.hasOwnProperty.call(l,d)){let g=d.toLowerCase();A[g]=l[d],u.push(g)}u.sort();for(let d of u)c+=` -${d}:${decodeURIComponent(A[d])}`}return c}return o(i,"getCanonicalizedResourceString"),{name:Hc.storageSharedKeyCredentialPolicyName,async sendRequest(s,a){return e(s),a(s)}}}o(d_e,"storageSharedKeyCredentialPolicy")});var yW=h(zc=>{"use strict";Object.defineProperty(zc,"__esModule",{value:!0});zc.storageRequestFailureDetailsParserPolicyName=void 0;zc.storageRequestFailureDetailsParserPolicy=p_e;zc.storageRequestFailureDetailsParserPolicyName="storageRequestFailureDetailsParserPolicy";function p_e(){return{name:zc.storageRequestFailureDetailsParserPolicyName,async sendRequest(t,e){try{return await e(t)}catch(r){throw typeof r=="object"&&r!==null&&r.response&&r.response.parsedBody&&r.response.parsedBody.code==="InvalidHeaderValue"&&r.response.parsedBody.HeaderName==="x-ms-version"&&(r.message=`The provided service version is not enabled on this storage account. Please see https://learn.microsoft.com/rest/api/storageservices/versioning-for-the-azure-storage-services for additional information. -`),r}}}}o(p_e,"storageRequestFailureDetailsParserPolicy")});var CW=h(cf=>{"use strict";Object.defineProperty(cf,"__esModule",{value:!0});cf.UserDelegationKeyCredential=void 0;var m_e=require("node:crypto"),R0=class{static{o(this,"UserDelegationKeyCredential")}accountName;userDelegationKey;key;constructor(e,r){this.accountName=e,this.userDelegationKey=r,this.key=Buffer.from(r.value,"base64")}computeHMACSHA256(e){return(0,m_e.createHmac)("sha256",this.key).update(e,"utf8").digest("base64")}};cf.UserDelegationKeyCredential=R0});var jn=h(mt=>{"use strict";Object.defineProperty(mt,"__esModule",{value:!0});mt.BaseRequestPolicy=mt.getCachedDefaultHttpClient=void 0;var or=(XN(),Wt($N));or.__exportStar(zV(),mt);var g_e=jV();Object.defineProperty(mt,"getCachedDefaultHttpClient",{enumerable:!0,get:function(){return g_e.getCachedDefaultHttpClient}});or.__exportStar(YV(),mt);or.__exportStar(nW(),mt);or.__exportStar(iW(),mt);or.__exportStar(Xg(),mt);or.__exportStar(oW(),mt);or.__exportStar(N0(),mt);var f_e=mu();Object.defineProperty(mt,"BaseRequestPolicy",{enumerable:!0,get:function(){return f_e.BaseRequestPolicy}});or.__exportStar(A0(),mt);or.__exportStar(Wg(),mt);or.__exportStar(uW(),mt);or.__exportStar(dW(),mt);or.__exportStar(gW(),mt);or.__exportStar(f0(),mt);or.__exportStar(hW(),mt);or.__exportStar(yW(),mt);or.__exportStar(CW(),mt)});var Wr=h(Z=>{"use strict";Object.defineProperty(Z,"__esModule",{value:!0});Z.PathStylePorts=Z.BlobDoesNotUseCustomerSpecifiedEncryption=Z.BlobUsesCustomerSpecifiedEncryptionMsg=Z.StorageBlobLoggingAllowedQueryParameters=Z.StorageBlobLoggingAllowedHeaderNames=Z.DevelopmentConnectionString=Z.EncryptionAlgorithmAES25=Z.HTTP_VERSION_1_1=Z.HTTP_LINE_ENDING=Z.BATCH_MAX_PAYLOAD_IN_BYTES=Z.BATCH_MAX_REQUEST=Z.SIZE_1_MB=Z.ETagAny=Z.ETagNone=Z.HeaderConstants=Z.HTTPURLConnection=Z.URLConstants=Z.StorageOAuthScopes=Z.REQUEST_TIMEOUT=Z.DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS=Z.DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES=Z.DEFAULT_BLOCK_BUFFER_SIZE_BYTES=Z.BLOCK_BLOB_MAX_BLOCKS=Z.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES=Z.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES=Z.SERVICE_VERSION=Z.SDK_VERSION=void 0;Z.SDK_VERSION="12.31.0";Z.SERVICE_VERSION="2026-02-06";Z.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES=256*1024*1024;Z.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES=4e3*1024*1024;Z.BLOCK_BLOB_MAX_BLOCKS=5e4;Z.DEFAULT_BLOCK_BUFFER_SIZE_BYTES=8*1024*1024;Z.DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES=4*1024*1024;Z.DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS=5;Z.REQUEST_TIMEOUT=100*1e3;Z.StorageOAuthScopes="https://storage.azure.com/.default";Z.URLConstants={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};Z.HTTPURLConnection={HTTP_ACCEPTED:202,HTTP_CONFLICT:409,HTTP_NOT_FOUND:404,HTTP_PRECON_FAILED:412,HTTP_RANGE_NOT_SATISFIABLE:416};Z.HeaderConstants={AUTHORIZATION:"Authorization",AUTHORIZATION_SCHEME:"Bearer",CONTENT_ENCODING:"Content-Encoding",CONTENT_ID:"Content-ID",CONTENT_LANGUAGE:"Content-Language",CONTENT_LENGTH:"Content-Length",CONTENT_MD5:"Content-Md5",CONTENT_TRANSFER_ENCODING:"Content-Transfer-Encoding",CONTENT_TYPE:"Content-Type",COOKIE:"Cookie",DATE:"date",IF_MATCH:"if-match",IF_MODIFIED_SINCE:"if-modified-since",IF_NONE_MATCH:"if-none-match",IF_UNMODIFIED_SINCE:"if-unmodified-since",PREFIX_FOR_STORAGE:"x-ms-",RANGE:"Range",USER_AGENT:"User-Agent",X_MS_CLIENT_REQUEST_ID:"x-ms-client-request-id",X_MS_COPY_SOURCE:"x-ms-copy-source",X_MS_DATE:"x-ms-date",X_MS_ERROR_CODE:"x-ms-error-code",X_MS_VERSION:"x-ms-version",X_MS_CopySourceErrorCode:"x-ms-copy-source-error-code"};Z.ETagNone="";Z.ETagAny="*";Z.SIZE_1_MB=1*1024*1024;Z.BATCH_MAX_REQUEST=256;Z.BATCH_MAX_PAYLOAD_IN_BYTES=4*Z.SIZE_1_MB;Z.HTTP_LINE_ENDING=`\r -`;Z.HTTP_VERSION_1_1="HTTP/1.1";Z.EncryptionAlgorithmAES25="AES256";Z.DevelopmentConnectionString="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;";Z.StorageBlobLoggingAllowedHeaderNames=["Access-Control-Allow-Origin","Cache-Control","Content-Length","Content-Type","Date","Request-Id","traceparent","Transfer-Encoding","User-Agent","x-ms-client-request-id","x-ms-date","x-ms-error-code","x-ms-request-id","x-ms-return-client-request-id","x-ms-version","Accept-Ranges","Content-Disposition","Content-Encoding","Content-Language","Content-MD5","Content-Range","ETag","Last-Modified","Server","Vary","x-ms-content-crc64","x-ms-copy-action","x-ms-copy-completion-time","x-ms-copy-id","x-ms-copy-progress","x-ms-copy-status","x-ms-has-immutability-policy","x-ms-has-legal-hold","x-ms-lease-state","x-ms-lease-status","x-ms-range","x-ms-request-server-encrypted","x-ms-server-encrypted","x-ms-snapshot","x-ms-source-range","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","x-ms-access-tier","x-ms-access-tier-change-time","x-ms-access-tier-inferred","x-ms-account-kind","x-ms-archive-status","x-ms-blob-append-offset","x-ms-blob-cache-control","x-ms-blob-committed-block-count","x-ms-blob-condition-appendpos","x-ms-blob-condition-maxsize","x-ms-blob-content-disposition","x-ms-blob-content-encoding","x-ms-blob-content-language","x-ms-blob-content-length","x-ms-blob-content-md5","x-ms-blob-content-type","x-ms-blob-public-access","x-ms-blob-sequence-number","x-ms-blob-type","x-ms-copy-destination-snapshot","x-ms-creation-time","x-ms-default-encryption-scope","x-ms-delete-snapshots","x-ms-delete-type-permanent","x-ms-deny-encryption-scope-override","x-ms-encryption-algorithm","x-ms-if-sequence-number-eq","x-ms-if-sequence-number-le","x-ms-if-sequence-number-lt","x-ms-incremental-copy","x-ms-lease-action","x-ms-lease-break-period","x-ms-lease-duration","x-ms-lease-id","x-ms-lease-time","x-ms-page-write","x-ms-proposed-lease-id","x-ms-range-get-content-md5","x-ms-rehydrate-priority","x-ms-sequence-number-action","x-ms-sku-name","x-ms-source-content-md5","x-ms-source-if-match","x-ms-source-if-modified-since","x-ms-source-if-none-match","x-ms-source-if-unmodified-since","x-ms-tag-count","x-ms-encryption-key-sha256","x-ms-copy-source-error-code","x-ms-copy-source-status-code","x-ms-if-tags","x-ms-source-if-tags"];Z.StorageBlobLoggingAllowedQueryParameters=["comp","maxresults","rscc","rscd","rsce","rscl","rsct","se","si","sip","sp","spr","sr","srt","ss","st","sv","include","marker","prefix","copyid","restype","blockid","blocklisttype","delimiter","prevsnapshot","ske","skoid","sks","skt","sktid","skv","snapshot"];Z.BlobUsesCustomerSpecifiedEncryptionMsg="BlobUsesCustomerSpecifiedEncryption";Z.BlobDoesNotUseCustomerSpecifiedEncryption="BlobDoesNotUseCustomerSpecifiedEncryption";Z.PathStylePorts=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"]});var Fs=h(hi=>{"use strict";Object.defineProperty(hi,"__esModule",{value:!0});hi.Pipeline=hi.StorageOAuthScopes=void 0;hi.isPipelineLike=y_e;hi.newPipeline=C_e;hi.getCoreClientOptions=B_e;hi.getCredentialFromPipeline=QW;var bW=Og(),EW=Pt(),BW=mi(),IW=JN(),_0=xc(),h_e=Lg(),Kr=jn(),fu=Wr();Object.defineProperty(hi,"StorageOAuthScopes",{enumerable:!0,get:function(){return fu.StorageOAuthScopes}});function y_e(t){if(!t||typeof t!="object")return!1;let e=t;return Array.isArray(e.factories)&&typeof e.options=="object"&&typeof e.toServiceClientOptions=="function"}o(y_e,"isPipelineLike");var lf=class{static{o(this,"Pipeline")}factories;options;constructor(e,r={}){this.factories=e,this.options=r}toServiceClientOptions(){return{httpClient:this.options.httpClient,requestPolicyFactories:this.factories}}};hi.Pipeline=lf;function C_e(t,e={}){t||(t=new Kr.AnonymousCredential);let r=new lf([],e);return r._credential=t,r}o(C_e,"newPipeline");function E_e(t){let e=[I_e,wW,b_e,Q_e,w_e,N_e,x_e];if(t.factories.length){let r=t.factories.filter(n=>!e.some(i=>i(n)));if(r.length){let n=r.some(i=>S_e(i));return{wrappedPolicies:(0,bW.createRequestPolicyFactoryPolicy)(r),afterRetry:n}}}}o(E_e,"processDownlevelPipeline");function B_e(t){let{httpClient:e,...r}=t.options,n=t._coreHttpClient;n||(n=e?(0,bW.convertHttpClient)(e):(0,Kr.getCachedDefaultHttpClient)(),t._coreHttpClient=n);let i=t._corePipeline;if(!i){let s=`azsdk-js-azure-storage-blob/${fu.SDK_VERSION}`,a=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${s}`:`${s}`;i=(0,BW.createClientPipeline)({...r,loggingOptions:{additionalAllowedHeaderNames:fu.StorageBlobLoggingAllowedHeaderNames,additionalAllowedQueryParameters:fu.StorageBlobLoggingAllowedQueryParameters,logger:h_e.logger.info},userAgentOptions:{userAgentPrefix:a},serializationOptions:{stringifyXML:IW.stringifyXML,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:IW.parseXML,serializerOptions:{xml:{xmlCharKey:"#"}}}}),i.removePolicy({phase:"Retry"}),i.removePolicy({name:EW.decompressResponsePolicyName}),i.addPolicy((0,Kr.storageCorrectContentLengthPolicy)()),i.addPolicy((0,Kr.storageRetryPolicy)(r.retryOptions),{phase:"Retry"}),i.addPolicy((0,Kr.storageRequestFailureDetailsParserPolicy)()),i.addPolicy((0,Kr.storageBrowserPolicy)());let c=E_e(t);c&&i.addPolicy(c.wrappedPolicies,c.afterRetry?{afterPhase:"Retry"}:void 0);let l=QW(t);(0,_0.isTokenCredential)(l)?i.addPolicy((0,EW.bearerTokenAuthenticationPolicy)({credential:l,scopes:r.audience??fu.StorageOAuthScopes,challengeCallbacks:{authorizeRequestOnChallenge:BW.authorizeRequestOnTenantChallenge}}),{phase:"Sign"}):l instanceof Kr.StorageSharedKeyCredential&&i.addPolicy((0,Kr.storageSharedKeyCredentialPolicy)({accountName:l.accountName,accountKey:l.accountKey}),{phase:"Sign"}),t._corePipeline=i}return{...r,allowInsecureConnection:!0,httpClient:n,pipeline:i}}o(B_e,"getCoreClientOptions");function QW(t){if(t._credential)return t._credential;let e=new Kr.AnonymousCredential;for(let r of t.factories)if((0,_0.isTokenCredential)(r.credential))e=r.credential;else if(wW(r))return r;return e}o(QW,"getCredentialFromPipeline");function wW(t){return t instanceof Kr.StorageSharedKeyCredential?!0:t.constructor.name==="StorageSharedKeyCredential"}o(wW,"isStorageSharedKeyCredential");function I_e(t){return t instanceof Kr.AnonymousCredential?!0:t.constructor.name==="AnonymousCredential"}o(I_e,"isAnonymousCredential");function b_e(t){return(0,_0.isTokenCredential)(t.credential)}o(b_e,"isCoreHttpBearerTokenFactory");function Q_e(t){return t instanceof Kr.StorageBrowserPolicyFactory?!0:t.constructor.name==="StorageBrowserPolicyFactory"}o(Q_e,"isStorageBrowserPolicyFactory");function w_e(t){return t instanceof Kr.StorageRetryPolicyFactory?!0:t.constructor.name==="StorageRetryPolicyFactory"}o(w_e,"isStorageRetryPolicyFactory");function N_e(t){return t.constructor.name==="TelemetryPolicyFactory"}o(N_e,"isStorageTelemetryPolicyFactory");function S_e(t){return t.constructor.name==="InjectorPolicyFactory"}o(S_e,"isInjectorPolicyFactory");function x_e(t){let e=["GenerateClientRequestIdPolicy","TracingPolicy","LogPolicy","ProxyPolicy","DisableResponseDecompressionPolicy","KeepAlivePolicy","DeserializationPolicy"],r={sendRequest:async a=>({request:a,headers:a.headers.clone(),status:500})},n={log(a,c){},shouldLog(a){return!1}},s=t.create(r,n).constructor.name;return e.some(a=>s.startsWith(a))}o(x_e,"isCoreHttpPolicyFactory")});var RW=h(yi=>{"use strict";Object.defineProperty(yi,"__esModule",{value:!0});yi.KnownStorageErrorCode=yi.KnownBlobExpiryOptions=yi.KnownFileShareTokenIntent=yi.KnownEncryptionAlgorithmType=void 0;var NW;(function(t){t.AES256="AES256"})(NW||(yi.KnownEncryptionAlgorithmType=NW={}));var SW;(function(t){t.Backup="backup"})(SW||(yi.KnownFileShareTokenIntent=SW={}));var xW;(function(t){t.NeverExpire="NeverExpire",t.RelativeToCreation="RelativeToCreation",t.RelativeToNow="RelativeToNow",t.Absolute="Absolute"})(xW||(yi.KnownBlobExpiryOptions=xW={}));var vW;(function(t){t.AccountAlreadyExists="AccountAlreadyExists",t.AccountBeingCreated="AccountBeingCreated",t.AccountIsDisabled="AccountIsDisabled",t.AuthenticationFailed="AuthenticationFailed",t.AuthorizationFailure="AuthorizationFailure",t.ConditionHeadersNotSupported="ConditionHeadersNotSupported",t.ConditionNotMet="ConditionNotMet",t.EmptyMetadataKey="EmptyMetadataKey",t.InsufficientAccountPermissions="InsufficientAccountPermissions",t.InternalError="InternalError",t.InvalidAuthenticationInfo="InvalidAuthenticationInfo",t.InvalidHeaderValue="InvalidHeaderValue",t.InvalidHttpVerb="InvalidHttpVerb",t.InvalidInput="InvalidInput",t.InvalidMd5="InvalidMd5",t.InvalidMetadata="InvalidMetadata",t.InvalidQueryParameterValue="InvalidQueryParameterValue",t.InvalidRange="InvalidRange",t.InvalidResourceName="InvalidResourceName",t.InvalidUri="InvalidUri",t.InvalidXmlDocument="InvalidXmlDocument",t.InvalidXmlNodeValue="InvalidXmlNodeValue",t.Md5Mismatch="Md5Mismatch",t.MetadataTooLarge="MetadataTooLarge",t.MissingContentLengthHeader="MissingContentLengthHeader",t.MissingRequiredQueryParameter="MissingRequiredQueryParameter",t.MissingRequiredHeader="MissingRequiredHeader",t.MissingRequiredXmlNode="MissingRequiredXmlNode",t.MultipleConditionHeadersNotSupported="MultipleConditionHeadersNotSupported",t.OperationTimedOut="OperationTimedOut",t.OutOfRangeInput="OutOfRangeInput",t.OutOfRangeQueryParameterValue="OutOfRangeQueryParameterValue",t.RequestBodyTooLarge="RequestBodyTooLarge",t.ResourceTypeMismatch="ResourceTypeMismatch",t.RequestUrlFailedToParse="RequestUrlFailedToParse",t.ResourceAlreadyExists="ResourceAlreadyExists",t.ResourceNotFound="ResourceNotFound",t.ServerBusy="ServerBusy",t.UnsupportedHeader="UnsupportedHeader",t.UnsupportedXmlNode="UnsupportedXmlNode",t.UnsupportedQueryParameter="UnsupportedQueryParameter",t.UnsupportedHttpVerb="UnsupportedHttpVerb",t.AppendPositionConditionNotMet="AppendPositionConditionNotMet",t.BlobAlreadyExists="BlobAlreadyExists",t.BlobImmutableDueToPolicy="BlobImmutableDueToPolicy",t.BlobNotFound="BlobNotFound",t.BlobOverwritten="BlobOverwritten",t.BlobTierInadequateForContentLength="BlobTierInadequateForContentLength",t.BlobUsesCustomerSpecifiedEncryption="BlobUsesCustomerSpecifiedEncryption",t.BlockCountExceedsLimit="BlockCountExceedsLimit",t.BlockListTooLong="BlockListTooLong",t.CannotChangeToLowerTier="CannotChangeToLowerTier",t.CannotVerifyCopySource="CannotVerifyCopySource",t.ContainerAlreadyExists="ContainerAlreadyExists",t.ContainerBeingDeleted="ContainerBeingDeleted",t.ContainerDisabled="ContainerDisabled",t.ContainerNotFound="ContainerNotFound",t.ContentLengthLargerThanTierLimit="ContentLengthLargerThanTierLimit",t.CopyAcrossAccountsNotSupported="CopyAcrossAccountsNotSupported",t.CopyIdMismatch="CopyIdMismatch",t.FeatureVersionMismatch="FeatureVersionMismatch",t.IncrementalCopyBlobMismatch="IncrementalCopyBlobMismatch",t.IncrementalCopyOfEarlierVersionSnapshotNotAllowed="IncrementalCopyOfEarlierVersionSnapshotNotAllowed",t.IncrementalCopySourceMustBeSnapshot="IncrementalCopySourceMustBeSnapshot",t.InfiniteLeaseDurationRequired="InfiniteLeaseDurationRequired",t.InvalidBlobOrBlock="InvalidBlobOrBlock",t.InvalidBlobTier="InvalidBlobTier",t.InvalidBlobType="InvalidBlobType",t.InvalidBlockId="InvalidBlockId",t.InvalidBlockList="InvalidBlockList",t.InvalidOperation="InvalidOperation",t.InvalidPageRange="InvalidPageRange",t.InvalidSourceBlobType="InvalidSourceBlobType",t.InvalidSourceBlobUrl="InvalidSourceBlobUrl",t.InvalidVersionForPageBlobOperation="InvalidVersionForPageBlobOperation",t.LeaseAlreadyPresent="LeaseAlreadyPresent",t.LeaseAlreadyBroken="LeaseAlreadyBroken",t.LeaseIdMismatchWithBlobOperation="LeaseIdMismatchWithBlobOperation",t.LeaseIdMismatchWithContainerOperation="LeaseIdMismatchWithContainerOperation",t.LeaseIdMismatchWithLeaseOperation="LeaseIdMismatchWithLeaseOperation",t.LeaseIdMissing="LeaseIdMissing",t.LeaseIsBreakingAndCannotBeAcquired="LeaseIsBreakingAndCannotBeAcquired",t.LeaseIsBreakingAndCannotBeChanged="LeaseIsBreakingAndCannotBeChanged",t.LeaseIsBrokenAndCannotBeRenewed="LeaseIsBrokenAndCannotBeRenewed",t.LeaseLost="LeaseLost",t.LeaseNotPresentWithBlobOperation="LeaseNotPresentWithBlobOperation",t.LeaseNotPresentWithContainerOperation="LeaseNotPresentWithContainerOperation",t.LeaseNotPresentWithLeaseOperation="LeaseNotPresentWithLeaseOperation",t.MaxBlobSizeConditionNotMet="MaxBlobSizeConditionNotMet",t.NoAuthenticationInformation="NoAuthenticationInformation",t.NoPendingCopyOperation="NoPendingCopyOperation",t.OperationNotAllowedOnIncrementalCopyBlob="OperationNotAllowedOnIncrementalCopyBlob",t.PendingCopyOperation="PendingCopyOperation",t.PreviousSnapshotCannotBeNewer="PreviousSnapshotCannotBeNewer",t.PreviousSnapshotNotFound="PreviousSnapshotNotFound",t.PreviousSnapshotOperationNotSupported="PreviousSnapshotOperationNotSupported",t.SequenceNumberConditionNotMet="SequenceNumberConditionNotMet",t.SequenceNumberIncrementTooLarge="SequenceNumberIncrementTooLarge",t.SnapshotCountExceeded="SnapshotCountExceeded",t.SnapshotOperationRateExceeded="SnapshotOperationRateExceeded",t.SnapshotsPresent="SnapshotsPresent",t.SourceConditionNotMet="SourceConditionNotMet",t.SystemInUse="SystemInUse",t.TargetConditionNotMet="TargetConditionNotMet",t.UnauthorizedBlobOverwrite="UnauthorizedBlobOverwrite",t.BlobBeingRehydrated="BlobBeingRehydrated",t.BlobArchived="BlobArchived",t.BlobNotArchived="BlobNotArchived",t.AuthorizationSourceIPMismatch="AuthorizationSourceIPMismatch",t.AuthorizationProtocolMismatch="AuthorizationProtocolMismatch",t.AuthorizationPermissionMismatch="AuthorizationPermissionMismatch",t.AuthorizationServiceMismatch="AuthorizationServiceMismatch",t.AuthorizationResourceTypeMismatch="AuthorizationResourceTypeMismatch",t.BlobAccessTierNotSupportedForAccountType="BlobAccessTierNotSupportedForAccountType"})(vW||(yi.KnownStorageErrorCode=vW={}))});var Us=h(E=>{"use strict";Object.defineProperty(E,"__esModule",{value:!0});E.ServiceGetUserDelegationKeyHeaders=E.ServiceListContainersSegmentExceptionHeaders=E.ServiceListContainersSegmentHeaders=E.ServiceGetStatisticsExceptionHeaders=E.ServiceGetStatisticsHeaders=E.ServiceGetPropertiesExceptionHeaders=E.ServiceGetPropertiesHeaders=E.ServiceSetPropertiesExceptionHeaders=E.ServiceSetPropertiesHeaders=E.ArrowField=E.ArrowConfiguration=E.JsonTextConfiguration=E.DelimitedTextConfiguration=E.QueryFormat=E.QuerySerialization=E.QueryRequest=E.ClearRange=E.PageRange=E.PageList=E.Block=E.BlockList=E.BlockLookupList=E.BlobPrefix=E.BlobHierarchyListSegment=E.ListBlobsHierarchySegmentResponse=E.BlobPropertiesInternal=E.BlobName=E.BlobItemInternal=E.BlobFlatListSegment=E.ListBlobsFlatSegmentResponse=E.AccessPolicy=E.SignedIdentifier=E.BlobTag=E.BlobTags=E.FilterBlobItem=E.FilterBlobSegment=E.UserDelegationKey=E.KeyInfo=E.ContainerProperties=E.ContainerItem=E.ListContainersSegmentResponse=E.GeoReplication=E.BlobServiceStatistics=E.StorageError=E.StaticWebsite=E.CorsRule=E.Metrics=E.RetentionPolicy=E.Logging=E.BlobServiceProperties=void 0;E.BlobUndeleteHeaders=E.BlobDeleteExceptionHeaders=E.BlobDeleteHeaders=E.BlobGetPropertiesExceptionHeaders=E.BlobGetPropertiesHeaders=E.BlobDownloadExceptionHeaders=E.BlobDownloadHeaders=E.ContainerGetAccountInfoExceptionHeaders=E.ContainerGetAccountInfoHeaders=E.ContainerListBlobHierarchySegmentExceptionHeaders=E.ContainerListBlobHierarchySegmentHeaders=E.ContainerListBlobFlatSegmentExceptionHeaders=E.ContainerListBlobFlatSegmentHeaders=E.ContainerChangeLeaseExceptionHeaders=E.ContainerChangeLeaseHeaders=E.ContainerBreakLeaseExceptionHeaders=E.ContainerBreakLeaseHeaders=E.ContainerRenewLeaseExceptionHeaders=E.ContainerRenewLeaseHeaders=E.ContainerReleaseLeaseExceptionHeaders=E.ContainerReleaseLeaseHeaders=E.ContainerAcquireLeaseExceptionHeaders=E.ContainerAcquireLeaseHeaders=E.ContainerFilterBlobsExceptionHeaders=E.ContainerFilterBlobsHeaders=E.ContainerSubmitBatchExceptionHeaders=E.ContainerSubmitBatchHeaders=E.ContainerRenameExceptionHeaders=E.ContainerRenameHeaders=E.ContainerRestoreExceptionHeaders=E.ContainerRestoreHeaders=E.ContainerSetAccessPolicyExceptionHeaders=E.ContainerSetAccessPolicyHeaders=E.ContainerGetAccessPolicyExceptionHeaders=E.ContainerGetAccessPolicyHeaders=E.ContainerSetMetadataExceptionHeaders=E.ContainerSetMetadataHeaders=E.ContainerDeleteExceptionHeaders=E.ContainerDeleteHeaders=E.ContainerGetPropertiesExceptionHeaders=E.ContainerGetPropertiesHeaders=E.ContainerCreateExceptionHeaders=E.ContainerCreateHeaders=E.ServiceFilterBlobsExceptionHeaders=E.ServiceFilterBlobsHeaders=E.ServiceSubmitBatchExceptionHeaders=E.ServiceSubmitBatchHeaders=E.ServiceGetAccountInfoExceptionHeaders=E.ServiceGetAccountInfoHeaders=E.ServiceGetUserDelegationKeyExceptionHeaders=void 0;E.PageBlobGetPageRangesHeaders=E.PageBlobUploadPagesFromURLExceptionHeaders=E.PageBlobUploadPagesFromURLHeaders=E.PageBlobClearPagesExceptionHeaders=E.PageBlobClearPagesHeaders=E.PageBlobUploadPagesExceptionHeaders=E.PageBlobUploadPagesHeaders=E.PageBlobCreateExceptionHeaders=E.PageBlobCreateHeaders=E.BlobSetTagsExceptionHeaders=E.BlobSetTagsHeaders=E.BlobGetTagsExceptionHeaders=E.BlobGetTagsHeaders=E.BlobQueryExceptionHeaders=E.BlobQueryHeaders=E.BlobGetAccountInfoExceptionHeaders=E.BlobGetAccountInfoHeaders=E.BlobSetTierExceptionHeaders=E.BlobSetTierHeaders=E.BlobAbortCopyFromURLExceptionHeaders=E.BlobAbortCopyFromURLHeaders=E.BlobCopyFromURLExceptionHeaders=E.BlobCopyFromURLHeaders=E.BlobStartCopyFromURLExceptionHeaders=E.BlobStartCopyFromURLHeaders=E.BlobCreateSnapshotExceptionHeaders=E.BlobCreateSnapshotHeaders=E.BlobBreakLeaseExceptionHeaders=E.BlobBreakLeaseHeaders=E.BlobChangeLeaseExceptionHeaders=E.BlobChangeLeaseHeaders=E.BlobRenewLeaseExceptionHeaders=E.BlobRenewLeaseHeaders=E.BlobReleaseLeaseExceptionHeaders=E.BlobReleaseLeaseHeaders=E.BlobAcquireLeaseExceptionHeaders=E.BlobAcquireLeaseHeaders=E.BlobSetMetadataExceptionHeaders=E.BlobSetMetadataHeaders=E.BlobSetLegalHoldExceptionHeaders=E.BlobSetLegalHoldHeaders=E.BlobDeleteImmutabilityPolicyExceptionHeaders=E.BlobDeleteImmutabilityPolicyHeaders=E.BlobSetImmutabilityPolicyExceptionHeaders=E.BlobSetImmutabilityPolicyHeaders=E.BlobSetHttpHeadersExceptionHeaders=E.BlobSetHttpHeadersHeaders=E.BlobSetExpiryExceptionHeaders=E.BlobSetExpiryHeaders=E.BlobUndeleteExceptionHeaders=void 0;E.BlockBlobGetBlockListExceptionHeaders=E.BlockBlobGetBlockListHeaders=E.BlockBlobCommitBlockListExceptionHeaders=E.BlockBlobCommitBlockListHeaders=E.BlockBlobStageBlockFromURLExceptionHeaders=E.BlockBlobStageBlockFromURLHeaders=E.BlockBlobStageBlockExceptionHeaders=E.BlockBlobStageBlockHeaders=E.BlockBlobPutBlobFromUrlExceptionHeaders=E.BlockBlobPutBlobFromUrlHeaders=E.BlockBlobUploadExceptionHeaders=E.BlockBlobUploadHeaders=E.AppendBlobSealExceptionHeaders=E.AppendBlobSealHeaders=E.AppendBlobAppendBlockFromUrlExceptionHeaders=E.AppendBlobAppendBlockFromUrlHeaders=E.AppendBlobAppendBlockExceptionHeaders=E.AppendBlobAppendBlockHeaders=E.AppendBlobCreateExceptionHeaders=E.AppendBlobCreateHeaders=E.PageBlobCopyIncrementalExceptionHeaders=E.PageBlobCopyIncrementalHeaders=E.PageBlobUpdateSequenceNumberExceptionHeaders=E.PageBlobUpdateSequenceNumberHeaders=E.PageBlobResizeExceptionHeaders=E.PageBlobResizeHeaders=E.PageBlobGetPageRangesDiffExceptionHeaders=E.PageBlobGetPageRangesDiffHeaders=E.PageBlobGetPageRangesExceptionHeaders=void 0;E.BlobServiceProperties={serializedName:"BlobServiceProperties",xmlName:"StorageServiceProperties",type:{name:"Composite",className:"BlobServiceProperties",modelProperties:{blobAnalyticsLogging:{serializedName:"Logging",xmlName:"Logging",type:{name:"Composite",className:"Logging"}},hourMetrics:{serializedName:"HourMetrics",xmlName:"HourMetrics",type:{name:"Composite",className:"Metrics"}},minuteMetrics:{serializedName:"MinuteMetrics",xmlName:"MinuteMetrics",type:{name:"Composite",className:"Metrics"}},cors:{serializedName:"Cors",xmlName:"Cors",xmlIsWrapped:!0,xmlElementName:"CorsRule",type:{name:"Sequence",element:{type:{name:"Composite",className:"CorsRule"}}}},defaultServiceVersion:{serializedName:"DefaultServiceVersion",xmlName:"DefaultServiceVersion",type:{name:"String"}},deleteRetentionPolicy:{serializedName:"DeleteRetentionPolicy",xmlName:"DeleteRetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}},staticWebsite:{serializedName:"StaticWebsite",xmlName:"StaticWebsite",type:{name:"Composite",className:"StaticWebsite"}}}}};E.Logging={serializedName:"Logging",type:{name:"Composite",className:"Logging",modelProperties:{version:{serializedName:"Version",required:!0,xmlName:"Version",type:{name:"String"}},deleteProperty:{serializedName:"Delete",required:!0,xmlName:"Delete",type:{name:"Boolean"}},read:{serializedName:"Read",required:!0,xmlName:"Read",type:{name:"Boolean"}},write:{serializedName:"Write",required:!0,xmlName:"Write",type:{name:"Boolean"}},retentionPolicy:{serializedName:"RetentionPolicy",xmlName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}}}}};E.RetentionPolicy={serializedName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy",modelProperties:{enabled:{serializedName:"Enabled",required:!0,xmlName:"Enabled",type:{name:"Boolean"}},days:{constraints:{InclusiveMinimum:1},serializedName:"Days",xmlName:"Days",type:{name:"Number"}}}}};E.Metrics={serializedName:"Metrics",type:{name:"Composite",className:"Metrics",modelProperties:{version:{serializedName:"Version",xmlName:"Version",type:{name:"String"}},enabled:{serializedName:"Enabled",required:!0,xmlName:"Enabled",type:{name:"Boolean"}},includeAPIs:{serializedName:"IncludeAPIs",xmlName:"IncludeAPIs",type:{name:"Boolean"}},retentionPolicy:{serializedName:"RetentionPolicy",xmlName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}}}}};E.CorsRule={serializedName:"CorsRule",type:{name:"Composite",className:"CorsRule",modelProperties:{allowedOrigins:{serializedName:"AllowedOrigins",required:!0,xmlName:"AllowedOrigins",type:{name:"String"}},allowedMethods:{serializedName:"AllowedMethods",required:!0,xmlName:"AllowedMethods",type:{name:"String"}},allowedHeaders:{serializedName:"AllowedHeaders",required:!0,xmlName:"AllowedHeaders",type:{name:"String"}},exposedHeaders:{serializedName:"ExposedHeaders",required:!0,xmlName:"ExposedHeaders",type:{name:"String"}},maxAgeInSeconds:{constraints:{InclusiveMinimum:0},serializedName:"MaxAgeInSeconds",required:!0,xmlName:"MaxAgeInSeconds",type:{name:"Number"}}}}};E.StaticWebsite={serializedName:"StaticWebsite",type:{name:"Composite",className:"StaticWebsite",modelProperties:{enabled:{serializedName:"Enabled",required:!0,xmlName:"Enabled",type:{name:"Boolean"}},indexDocument:{serializedName:"IndexDocument",xmlName:"IndexDocument",type:{name:"String"}},errorDocument404Path:{serializedName:"ErrorDocument404Path",xmlName:"ErrorDocument404Path",type:{name:"String"}},defaultIndexDocumentPath:{serializedName:"DefaultIndexDocumentPath",xmlName:"DefaultIndexDocumentPath",type:{name:"String"}}}}};E.StorageError={serializedName:"StorageError",type:{name:"Composite",className:"StorageError",modelProperties:{message:{serializedName:"Message",xmlName:"Message",type:{name:"String"}},copySourceStatusCode:{serializedName:"CopySourceStatusCode",xmlName:"CopySourceStatusCode",type:{name:"Number"}},copySourceErrorCode:{serializedName:"CopySourceErrorCode",xmlName:"CopySourceErrorCode",type:{name:"String"}},copySourceErrorMessage:{serializedName:"CopySourceErrorMessage",xmlName:"CopySourceErrorMessage",type:{name:"String"}},code:{serializedName:"Code",xmlName:"Code",type:{name:"String"}},authenticationErrorDetail:{serializedName:"AuthenticationErrorDetail",xmlName:"AuthenticationErrorDetail",type:{name:"String"}}}}};E.BlobServiceStatistics={serializedName:"BlobServiceStatistics",xmlName:"StorageServiceStats",type:{name:"Composite",className:"BlobServiceStatistics",modelProperties:{geoReplication:{serializedName:"GeoReplication",xmlName:"GeoReplication",type:{name:"Composite",className:"GeoReplication"}}}}};E.GeoReplication={serializedName:"GeoReplication",type:{name:"Composite",className:"GeoReplication",modelProperties:{status:{serializedName:"Status",required:!0,xmlName:"Status",type:{name:"Enum",allowedValues:["live","bootstrap","unavailable"]}},lastSyncOn:{serializedName:"LastSyncTime",required:!0,xmlName:"LastSyncTime",type:{name:"DateTimeRfc1123"}}}}};E.ListContainersSegmentResponse={serializedName:"ListContainersSegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListContainersSegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},containerItems:{serializedName:"ContainerItems",required:!0,xmlName:"Containers",xmlIsWrapped:!0,xmlElementName:"Container",type:{name:"Sequence",element:{type:{name:"Composite",className:"ContainerItem"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};E.ContainerItem={serializedName:"ContainerItem",xmlName:"Container",type:{name:"Composite",className:"ContainerItem",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},deleted:{serializedName:"Deleted",xmlName:"Deleted",type:{name:"Boolean"}},version:{serializedName:"Version",xmlName:"Version",type:{name:"String"}},properties:{serializedName:"Properties",xmlName:"Properties",type:{name:"Composite",className:"ContainerProperties"}},metadata:{serializedName:"Metadata",xmlName:"Metadata",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}};E.ContainerProperties={serializedName:"ContainerProperties",type:{name:"Composite",className:"ContainerProperties",modelProperties:{lastModified:{serializedName:"Last-Modified",required:!0,xmlName:"Last-Modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"Etag",required:!0,xmlName:"Etag",type:{name:"String"}},leaseStatus:{serializedName:"LeaseStatus",xmlName:"LeaseStatus",type:{name:"Enum",allowedValues:["locked","unlocked"]}},leaseState:{serializedName:"LeaseState",xmlName:"LeaseState",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseDuration:{serializedName:"LeaseDuration",xmlName:"LeaseDuration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},publicAccess:{serializedName:"PublicAccess",xmlName:"PublicAccess",type:{name:"Enum",allowedValues:["container","blob"]}},hasImmutabilityPolicy:{serializedName:"HasImmutabilityPolicy",xmlName:"HasImmutabilityPolicy",type:{name:"Boolean"}},hasLegalHold:{serializedName:"HasLegalHold",xmlName:"HasLegalHold",type:{name:"Boolean"}},defaultEncryptionScope:{serializedName:"DefaultEncryptionScope",xmlName:"DefaultEncryptionScope",type:{name:"String"}},preventEncryptionScopeOverride:{serializedName:"DenyEncryptionScopeOverride",xmlName:"DenyEncryptionScopeOverride",type:{name:"Boolean"}},deletedOn:{serializedName:"DeletedTime",xmlName:"DeletedTime",type:{name:"DateTimeRfc1123"}},remainingRetentionDays:{serializedName:"RemainingRetentionDays",xmlName:"RemainingRetentionDays",type:{name:"Number"}},isImmutableStorageWithVersioningEnabled:{serializedName:"ImmutableStorageWithVersioningEnabled",xmlName:"ImmutableStorageWithVersioningEnabled",type:{name:"Boolean"}}}}};E.KeyInfo={serializedName:"KeyInfo",type:{name:"Composite",className:"KeyInfo",modelProperties:{startsOn:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"String"}},expiresOn:{serializedName:"Expiry",required:!0,xmlName:"Expiry",type:{name:"String"}}}}};E.UserDelegationKey={serializedName:"UserDelegationKey",type:{name:"Composite",className:"UserDelegationKey",modelProperties:{signedObjectId:{serializedName:"SignedOid",required:!0,xmlName:"SignedOid",type:{name:"String"}},signedTenantId:{serializedName:"SignedTid",required:!0,xmlName:"SignedTid",type:{name:"String"}},signedStartsOn:{serializedName:"SignedStart",required:!0,xmlName:"SignedStart",type:{name:"String"}},signedExpiresOn:{serializedName:"SignedExpiry",required:!0,xmlName:"SignedExpiry",type:{name:"String"}},signedService:{serializedName:"SignedService",required:!0,xmlName:"SignedService",type:{name:"String"}},signedVersion:{serializedName:"SignedVersion",required:!0,xmlName:"SignedVersion",type:{name:"String"}},value:{serializedName:"Value",required:!0,xmlName:"Value",type:{name:"String"}}}}};E.FilterBlobSegment={serializedName:"FilterBlobSegment",xmlName:"EnumerationResults",type:{name:"Composite",className:"FilterBlobSegment",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},where:{serializedName:"Where",required:!0,xmlName:"Where",type:{name:"String"}},blobs:{serializedName:"Blobs",required:!0,xmlName:"Blobs",xmlIsWrapped:!0,xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"FilterBlobItem"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};E.FilterBlobItem={serializedName:"FilterBlobItem",xmlName:"Blob",type:{name:"Composite",className:"FilterBlobItem",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",type:{name:"String"}},tags:{serializedName:"Tags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags"}}}}};E.BlobTags={serializedName:"BlobTags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags",modelProperties:{blobTagSet:{serializedName:"BlobTagSet",required:!0,xmlName:"TagSet",xmlIsWrapped:!0,xmlElementName:"Tag",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobTag"}}}}}}};E.BlobTag={serializedName:"BlobTag",xmlName:"Tag",type:{name:"Composite",className:"BlobTag",modelProperties:{key:{serializedName:"Key",required:!0,xmlName:"Key",type:{name:"String"}},value:{serializedName:"Value",required:!0,xmlName:"Value",type:{name:"String"}}}}};E.SignedIdentifier={serializedName:"SignedIdentifier",xmlName:"SignedIdentifier",type:{name:"Composite",className:"SignedIdentifier",modelProperties:{id:{serializedName:"Id",required:!0,xmlName:"Id",type:{name:"String"}},accessPolicy:{serializedName:"AccessPolicy",xmlName:"AccessPolicy",type:{name:"Composite",className:"AccessPolicy"}}}}};E.AccessPolicy={serializedName:"AccessPolicy",type:{name:"Composite",className:"AccessPolicy",modelProperties:{startsOn:{serializedName:"Start",xmlName:"Start",type:{name:"String"}},expiresOn:{serializedName:"Expiry",xmlName:"Expiry",type:{name:"String"}},permissions:{serializedName:"Permission",xmlName:"Permission",type:{name:"String"}}}}};E.ListBlobsFlatSegmentResponse={serializedName:"ListBlobsFlatSegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListBlobsFlatSegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",xmlIsAttribute:!0,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},segment:{serializedName:"Segment",xmlName:"Blobs",type:{name:"Composite",className:"BlobFlatListSegment"}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};E.BlobFlatListSegment={serializedName:"BlobFlatListSegment",xmlName:"Blobs",type:{name:"Composite",className:"BlobFlatListSegment",modelProperties:{blobItems:{serializedName:"BlobItems",required:!0,xmlName:"BlobItems",xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobItemInternal"}}}}}}};E.BlobItemInternal={serializedName:"BlobItemInternal",xmlName:"Blob",type:{name:"Composite",className:"BlobItemInternal",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}},deleted:{serializedName:"Deleted",required:!0,xmlName:"Deleted",type:{name:"Boolean"}},snapshot:{serializedName:"Snapshot",required:!0,xmlName:"Snapshot",type:{name:"String"}},versionId:{serializedName:"VersionId",xmlName:"VersionId",type:{name:"String"}},isCurrentVersion:{serializedName:"IsCurrentVersion",xmlName:"IsCurrentVersion",type:{name:"Boolean"}},properties:{serializedName:"Properties",xmlName:"Properties",type:{name:"Composite",className:"BlobPropertiesInternal"}},metadata:{serializedName:"Metadata",xmlName:"Metadata",type:{name:"Dictionary",value:{type:{name:"String"}}}},blobTags:{serializedName:"BlobTags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags"}},objectReplicationMetadata:{serializedName:"ObjectReplicationMetadata",xmlName:"OrMetadata",type:{name:"Dictionary",value:{type:{name:"String"}}}},hasVersionsOnly:{serializedName:"HasVersionsOnly",xmlName:"HasVersionsOnly",type:{name:"Boolean"}}}}};E.BlobName={serializedName:"BlobName",type:{name:"Composite",className:"BlobName",modelProperties:{encoded:{serializedName:"Encoded",xmlName:"Encoded",xmlIsAttribute:!0,type:{name:"Boolean"}},content:{serializedName:"content",xmlName:"content",xmlIsMsText:!0,type:{name:"String"}}}}};E.BlobPropertiesInternal={serializedName:"BlobPropertiesInternal",xmlName:"Properties",type:{name:"Composite",className:"BlobPropertiesInternal",modelProperties:{createdOn:{serializedName:"Creation-Time",xmlName:"Creation-Time",type:{name:"DateTimeRfc1123"}},lastModified:{serializedName:"Last-Modified",required:!0,xmlName:"Last-Modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"Etag",required:!0,xmlName:"Etag",type:{name:"String"}},contentLength:{serializedName:"Content-Length",xmlName:"Content-Length",type:{name:"Number"}},contentType:{serializedName:"Content-Type",xmlName:"Content-Type",type:{name:"String"}},contentEncoding:{serializedName:"Content-Encoding",xmlName:"Content-Encoding",type:{name:"String"}},contentLanguage:{serializedName:"Content-Language",xmlName:"Content-Language",type:{name:"String"}},contentMD5:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}},contentDisposition:{serializedName:"Content-Disposition",xmlName:"Content-Disposition",type:{name:"String"}},cacheControl:{serializedName:"Cache-Control",xmlName:"Cache-Control",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"BlobType",xmlName:"BlobType",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},leaseStatus:{serializedName:"LeaseStatus",xmlName:"LeaseStatus",type:{name:"Enum",allowedValues:["locked","unlocked"]}},leaseState:{serializedName:"LeaseState",xmlName:"LeaseState",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseDuration:{serializedName:"LeaseDuration",xmlName:"LeaseDuration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},copyId:{serializedName:"CopyId",xmlName:"CopyId",type:{name:"String"}},copyStatus:{serializedName:"CopyStatus",xmlName:"CopyStatus",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},copySource:{serializedName:"CopySource",xmlName:"CopySource",type:{name:"String"}},copyProgress:{serializedName:"CopyProgress",xmlName:"CopyProgress",type:{name:"String"}},copyCompletedOn:{serializedName:"CopyCompletionTime",xmlName:"CopyCompletionTime",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"CopyStatusDescription",xmlName:"CopyStatusDescription",type:{name:"String"}},serverEncrypted:{serializedName:"ServerEncrypted",xmlName:"ServerEncrypted",type:{name:"Boolean"}},incrementalCopy:{serializedName:"IncrementalCopy",xmlName:"IncrementalCopy",type:{name:"Boolean"}},destinationSnapshot:{serializedName:"DestinationSnapshot",xmlName:"DestinationSnapshot",type:{name:"String"}},deletedOn:{serializedName:"DeletedTime",xmlName:"DeletedTime",type:{name:"DateTimeRfc1123"}},remainingRetentionDays:{serializedName:"RemainingRetentionDays",xmlName:"RemainingRetentionDays",type:{name:"Number"}},accessTier:{serializedName:"AccessTier",xmlName:"AccessTier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold"]}},accessTierInferred:{serializedName:"AccessTierInferred",xmlName:"AccessTierInferred",type:{name:"Boolean"}},archiveStatus:{serializedName:"ArchiveStatus",xmlName:"ArchiveStatus",type:{name:"Enum",allowedValues:["rehydrate-pending-to-hot","rehydrate-pending-to-cool","rehydrate-pending-to-cold"]}},customerProvidedKeySha256:{serializedName:"CustomerProvidedKeySha256",xmlName:"CustomerProvidedKeySha256",type:{name:"String"}},encryptionScope:{serializedName:"EncryptionScope",xmlName:"EncryptionScope",type:{name:"String"}},accessTierChangedOn:{serializedName:"AccessTierChangeTime",xmlName:"AccessTierChangeTime",type:{name:"DateTimeRfc1123"}},tagCount:{serializedName:"TagCount",xmlName:"TagCount",type:{name:"Number"}},expiresOn:{serializedName:"Expiry-Time",xmlName:"Expiry-Time",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"Sealed",xmlName:"Sealed",type:{name:"Boolean"}},rehydratePriority:{serializedName:"RehydratePriority",xmlName:"RehydratePriority",type:{name:"Enum",allowedValues:["High","Standard"]}},lastAccessedOn:{serializedName:"LastAccessTime",xmlName:"LastAccessTime",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"ImmutabilityPolicyUntilDate",xmlName:"ImmutabilityPolicyUntilDate",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"ImmutabilityPolicyMode",xmlName:"ImmutabilityPolicyMode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"LegalHold",xmlName:"LegalHold",type:{name:"Boolean"}}}}};E.ListBlobsHierarchySegmentResponse={serializedName:"ListBlobsHierarchySegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListBlobsHierarchySegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",xmlIsAttribute:!0,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},delimiter:{serializedName:"Delimiter",xmlName:"Delimiter",type:{name:"String"}},segment:{serializedName:"Segment",xmlName:"Blobs",type:{name:"Composite",className:"BlobHierarchyListSegment"}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};E.BlobHierarchyListSegment={serializedName:"BlobHierarchyListSegment",xmlName:"Blobs",type:{name:"Composite",className:"BlobHierarchyListSegment",modelProperties:{blobPrefixes:{serializedName:"BlobPrefixes",xmlName:"BlobPrefixes",xmlElementName:"BlobPrefix",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobPrefix"}}}},blobItems:{serializedName:"BlobItems",required:!0,xmlName:"BlobItems",xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobItemInternal"}}}}}}};E.BlobPrefix={serializedName:"BlobPrefix",type:{name:"Composite",className:"BlobPrefix",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}}}}};E.BlockLookupList={serializedName:"BlockLookupList",xmlName:"BlockList",type:{name:"Composite",className:"BlockLookupList",modelProperties:{committed:{serializedName:"Committed",xmlName:"Committed",xmlElementName:"Committed",type:{name:"Sequence",element:{type:{name:"String"}}}},uncommitted:{serializedName:"Uncommitted",xmlName:"Uncommitted",xmlElementName:"Uncommitted",type:{name:"Sequence",element:{type:{name:"String"}}}},latest:{serializedName:"Latest",xmlName:"Latest",xmlElementName:"Latest",type:{name:"Sequence",element:{type:{name:"String"}}}}}}};E.BlockList={serializedName:"BlockList",type:{name:"Composite",className:"BlockList",modelProperties:{committedBlocks:{serializedName:"CommittedBlocks",xmlName:"CommittedBlocks",xmlIsWrapped:!0,xmlElementName:"Block",type:{name:"Sequence",element:{type:{name:"Composite",className:"Block"}}}},uncommittedBlocks:{serializedName:"UncommittedBlocks",xmlName:"UncommittedBlocks",xmlIsWrapped:!0,xmlElementName:"Block",type:{name:"Sequence",element:{type:{name:"Composite",className:"Block"}}}}}}};E.Block={serializedName:"Block",type:{name:"Composite",className:"Block",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},size:{serializedName:"Size",required:!0,xmlName:"Size",type:{name:"Number"}}}}};E.PageList={serializedName:"PageList",type:{name:"Composite",className:"PageList",modelProperties:{pageRange:{serializedName:"PageRange",xmlName:"PageRange",xmlElementName:"PageRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"PageRange"}}}},clearRange:{serializedName:"ClearRange",xmlName:"ClearRange",xmlElementName:"ClearRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"ClearRange"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};E.PageRange={serializedName:"PageRange",xmlName:"PageRange",type:{name:"Composite",className:"PageRange",modelProperties:{start:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:!0,xmlName:"End",type:{name:"Number"}}}}};E.ClearRange={serializedName:"ClearRange",xmlName:"ClearRange",type:{name:"Composite",className:"ClearRange",modelProperties:{start:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:!0,xmlName:"End",type:{name:"Number"}}}}};E.QueryRequest={serializedName:"QueryRequest",xmlName:"QueryRequest",type:{name:"Composite",className:"QueryRequest",modelProperties:{queryType:{serializedName:"QueryType",required:!0,xmlName:"QueryType",type:{name:"String"}},expression:{serializedName:"Expression",required:!0,xmlName:"Expression",type:{name:"String"}},inputSerialization:{serializedName:"InputSerialization",xmlName:"InputSerialization",type:{name:"Composite",className:"QuerySerialization"}},outputSerialization:{serializedName:"OutputSerialization",xmlName:"OutputSerialization",type:{name:"Composite",className:"QuerySerialization"}}}}};E.QuerySerialization={serializedName:"QuerySerialization",type:{name:"Composite",className:"QuerySerialization",modelProperties:{format:{serializedName:"Format",xmlName:"Format",type:{name:"Composite",className:"QueryFormat"}}}}};E.QueryFormat={serializedName:"QueryFormat",type:{name:"Composite",className:"QueryFormat",modelProperties:{type:{serializedName:"Type",required:!0,xmlName:"Type",type:{name:"Enum",allowedValues:["delimited","json","arrow","parquet"]}},delimitedTextConfiguration:{serializedName:"DelimitedTextConfiguration",xmlName:"DelimitedTextConfiguration",type:{name:"Composite",className:"DelimitedTextConfiguration"}},jsonTextConfiguration:{serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration"}},arrowConfiguration:{serializedName:"ArrowConfiguration",xmlName:"ArrowConfiguration",type:{name:"Composite",className:"ArrowConfiguration"}},parquetTextConfiguration:{serializedName:"ParquetTextConfiguration",xmlName:"ParquetTextConfiguration",type:{name:"Dictionary",value:{type:{name:"any"}}}}}}};E.DelimitedTextConfiguration={serializedName:"DelimitedTextConfiguration",xmlName:"DelimitedTextConfiguration",type:{name:"Composite",className:"DelimitedTextConfiguration",modelProperties:{columnSeparator:{serializedName:"ColumnSeparator",xmlName:"ColumnSeparator",type:{name:"String"}},fieldQuote:{serializedName:"FieldQuote",xmlName:"FieldQuote",type:{name:"String"}},recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}},escapeChar:{serializedName:"EscapeChar",xmlName:"EscapeChar",type:{name:"String"}},headersPresent:{serializedName:"HeadersPresent",xmlName:"HasHeaders",type:{name:"Boolean"}}}}};E.JsonTextConfiguration={serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration",modelProperties:{recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}}}}};E.ArrowConfiguration={serializedName:"ArrowConfiguration",xmlName:"ArrowConfiguration",type:{name:"Composite",className:"ArrowConfiguration",modelProperties:{schema:{serializedName:"Schema",required:!0,xmlName:"Schema",xmlIsWrapped:!0,xmlElementName:"Field",type:{name:"Sequence",element:{type:{name:"Composite",className:"ArrowField"}}}}}}};E.ArrowField={serializedName:"ArrowField",xmlName:"Field",type:{name:"Composite",className:"ArrowField",modelProperties:{type:{serializedName:"Type",required:!0,xmlName:"Type",type:{name:"String"}},name:{serializedName:"Name",xmlName:"Name",type:{name:"String"}},precision:{serializedName:"Precision",xmlName:"Precision",type:{name:"Number"}},scale:{serializedName:"Scale",xmlName:"Scale",type:{name:"Number"}}}}};E.ServiceSetPropertiesHeaders={serializedName:"Service_setPropertiesHeaders",type:{name:"Composite",className:"ServiceSetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ServiceSetPropertiesExceptionHeaders={serializedName:"Service_setPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceSetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ServiceGetPropertiesHeaders={serializedName:"Service_getPropertiesHeaders",type:{name:"Composite",className:"ServiceGetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ServiceGetPropertiesExceptionHeaders={serializedName:"Service_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ServiceGetStatisticsHeaders={serializedName:"Service_getStatisticsHeaders",type:{name:"Composite",className:"ServiceGetStatisticsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ServiceGetStatisticsExceptionHeaders={serializedName:"Service_getStatisticsExceptionHeaders",type:{name:"Composite",className:"ServiceGetStatisticsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ServiceListContainersSegmentHeaders={serializedName:"Service_listContainersSegmentHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ServiceListContainersSegmentExceptionHeaders={serializedName:"Service_listContainersSegmentExceptionHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ServiceGetUserDelegationKeyHeaders={serializedName:"Service_getUserDelegationKeyHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ServiceGetUserDelegationKeyExceptionHeaders={serializedName:"Service_getUserDelegationKeyExceptionHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ServiceGetAccountInfoHeaders={serializedName:"Service_getAccountInfoHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ServiceGetAccountInfoExceptionHeaders={serializedName:"Service_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ServiceSubmitBatchHeaders={serializedName:"Service_submitBatchHeaders",type:{name:"Composite",className:"ServiceSubmitBatchHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ServiceSubmitBatchExceptionHeaders={serializedName:"Service_submitBatchExceptionHeaders",type:{name:"Composite",className:"ServiceSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ServiceFilterBlobsHeaders={serializedName:"Service_filterBlobsHeaders",type:{name:"Composite",className:"ServiceFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ServiceFilterBlobsExceptionHeaders={serializedName:"Service_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ServiceFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerCreateHeaders={serializedName:"Container_createHeaders",type:{name:"Composite",className:"ContainerCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerCreateExceptionHeaders={serializedName:"Container_createExceptionHeaders",type:{name:"Composite",className:"ContainerCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerGetPropertiesHeaders={serializedName:"Container_getPropertiesHeaders",type:{name:"Composite",className:"ContainerGetPropertiesHeaders",modelProperties:{metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobPublicAccess:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}},hasImmutabilityPolicy:{serializedName:"x-ms-has-immutability-policy",xmlName:"x-ms-has-immutability-policy",type:{name:"Boolean"}},hasLegalHold:{serializedName:"x-ms-has-legal-hold",xmlName:"x-ms-has-legal-hold",type:{name:"Boolean"}},defaultEncryptionScope:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}},denyEncryptionScopeOverride:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}},isImmutableStorageWithVersioningEnabled:{serializedName:"x-ms-immutable-storage-with-versioning-enabled",xmlName:"x-ms-immutable-storage-with-versioning-enabled",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerGetPropertiesExceptionHeaders={serializedName:"Container_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ContainerGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerDeleteHeaders={serializedName:"Container_deleteHeaders",type:{name:"Composite",className:"ContainerDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerDeleteExceptionHeaders={serializedName:"Container_deleteExceptionHeaders",type:{name:"Composite",className:"ContainerDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerSetMetadataHeaders={serializedName:"Container_setMetadataHeaders",type:{name:"Composite",className:"ContainerSetMetadataHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerSetMetadataExceptionHeaders={serializedName:"Container_setMetadataExceptionHeaders",type:{name:"Composite",className:"ContainerSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerGetAccessPolicyHeaders={serializedName:"Container_getAccessPolicyHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyHeaders",modelProperties:{blobPublicAccess:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerGetAccessPolicyExceptionHeaders={serializedName:"Container_getAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerSetAccessPolicyHeaders={serializedName:"Container_setAccessPolicyHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerSetAccessPolicyExceptionHeaders={serializedName:"Container_setAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerRestoreHeaders={serializedName:"Container_restoreHeaders",type:{name:"Composite",className:"ContainerRestoreHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerRestoreExceptionHeaders={serializedName:"Container_restoreExceptionHeaders",type:{name:"Composite",className:"ContainerRestoreExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerRenameHeaders={serializedName:"Container_renameHeaders",type:{name:"Composite",className:"ContainerRenameHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerRenameExceptionHeaders={serializedName:"Container_renameExceptionHeaders",type:{name:"Composite",className:"ContainerRenameExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerSubmitBatchHeaders={serializedName:"Container_submitBatchHeaders",type:{name:"Composite",className:"ContainerSubmitBatchHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}}}}};E.ContainerSubmitBatchExceptionHeaders={serializedName:"Container_submitBatchExceptionHeaders",type:{name:"Composite",className:"ContainerSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerFilterBlobsHeaders={serializedName:"Container_filterBlobsHeaders",type:{name:"Composite",className:"ContainerFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};E.ContainerFilterBlobsExceptionHeaders={serializedName:"Container_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ContainerFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerAcquireLeaseHeaders={serializedName:"Container_acquireLeaseHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};E.ContainerAcquireLeaseExceptionHeaders={serializedName:"Container_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerReleaseLeaseHeaders={serializedName:"Container_releaseLeaseHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};E.ContainerReleaseLeaseExceptionHeaders={serializedName:"Container_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerRenewLeaseHeaders={serializedName:"Container_renewLeaseHeaders",type:{name:"Composite",className:"ContainerRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};E.ContainerRenewLeaseExceptionHeaders={serializedName:"Container_renewLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerBreakLeaseHeaders={serializedName:"Container_breakLeaseHeaders",type:{name:"Composite",className:"ContainerBreakLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseTime:{serializedName:"x-ms-lease-time",xmlName:"x-ms-lease-time",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};E.ContainerBreakLeaseExceptionHeaders={serializedName:"Container_breakLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerChangeLeaseHeaders={serializedName:"Container_changeLeaseHeaders",type:{name:"Composite",className:"ContainerChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};E.ContainerChangeLeaseExceptionHeaders={serializedName:"Container_changeLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerListBlobFlatSegmentHeaders={serializedName:"Container_listBlobFlatSegmentHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerListBlobFlatSegmentExceptionHeaders={serializedName:"Container_listBlobFlatSegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerListBlobHierarchySegmentHeaders={serializedName:"Container_listBlobHierarchySegmentHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerListBlobHierarchySegmentExceptionHeaders={serializedName:"Container_listBlobHierarchySegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerGetAccountInfoHeaders={serializedName:"Container_getAccountInfoHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}}}}};E.ContainerGetAccountInfoExceptionHeaders={serializedName:"Container_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobDownloadHeaders={serializedName:"Blob_downloadHeaders",type:{name:"Composite",className:"BlobDownloadHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",headerCollectionPrefix:"x-ms-or-",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}};E.BlobDownloadExceptionHeaders={serializedName:"Blob_downloadExceptionHeaders",type:{name:"Composite",className:"BlobDownloadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobGetPropertiesHeaders={serializedName:"Blob_getPropertiesHeaders",type:{name:"Composite",className:"BlobGetPropertiesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",headerCollectionPrefix:"x-ms-or-",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},isIncrementalCopy:{serializedName:"x-ms-incremental-copy",xmlName:"x-ms-incremental-copy",type:{name:"Boolean"}},destinationSnapshot:{serializedName:"x-ms-copy-destination-snapshot",xmlName:"x-ms-copy-destination-snapshot",type:{name:"String"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},accessTier:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"String"}},accessTierInferred:{serializedName:"x-ms-access-tier-inferred",xmlName:"x-ms-access-tier-inferred",type:{name:"Boolean"}},archiveStatus:{serializedName:"x-ms-archive-status",xmlName:"x-ms-archive-status",type:{name:"String"}},accessTierChangedOn:{serializedName:"x-ms-access-tier-change-time",xmlName:"x-ms-access-tier-change-time",type:{name:"DateTimeRfc1123"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},expiresOn:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},rehydratePriority:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobGetPropertiesExceptionHeaders={serializedName:"Blob_getPropertiesExceptionHeaders",type:{name:"Composite",className:"BlobGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobDeleteHeaders={serializedName:"Blob_deleteHeaders",type:{name:"Composite",className:"BlobDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobDeleteExceptionHeaders={serializedName:"Blob_deleteExceptionHeaders",type:{name:"Composite",className:"BlobDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobUndeleteHeaders={serializedName:"Blob_undeleteHeaders",type:{name:"Composite",className:"BlobUndeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobUndeleteExceptionHeaders={serializedName:"Blob_undeleteExceptionHeaders",type:{name:"Composite",className:"BlobUndeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobSetExpiryHeaders={serializedName:"Blob_setExpiryHeaders",type:{name:"Composite",className:"BlobSetExpiryHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};E.BlobSetExpiryExceptionHeaders={serializedName:"Blob_setExpiryExceptionHeaders",type:{name:"Composite",className:"BlobSetExpiryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobSetHttpHeadersHeaders={serializedName:"Blob_setHttpHeadersHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobSetHttpHeadersExceptionHeaders={serializedName:"Blob_setHttpHeadersExceptionHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobSetImmutabilityPolicyHeaders={serializedName:"Blob_setImmutabilityPolicyHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiry:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}}}};E.BlobSetImmutabilityPolicyExceptionHeaders={serializedName:"Blob_setImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobDeleteImmutabilityPolicyHeaders={serializedName:"Blob_deleteImmutabilityPolicyHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};E.BlobDeleteImmutabilityPolicyExceptionHeaders={serializedName:"Blob_deleteImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobSetLegalHoldHeaders={serializedName:"Blob_setLegalHoldHeaders",type:{name:"Composite",className:"BlobSetLegalHoldHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}}}};E.BlobSetLegalHoldExceptionHeaders={serializedName:"Blob_setLegalHoldExceptionHeaders",type:{name:"Composite",className:"BlobSetLegalHoldExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobSetMetadataHeaders={serializedName:"Blob_setMetadataHeaders",type:{name:"Composite",className:"BlobSetMetadataHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobSetMetadataExceptionHeaders={serializedName:"Blob_setMetadataExceptionHeaders",type:{name:"Composite",className:"BlobSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobAcquireLeaseHeaders={serializedName:"Blob_acquireLeaseHeaders",type:{name:"Composite",className:"BlobAcquireLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};E.BlobAcquireLeaseExceptionHeaders={serializedName:"Blob_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"BlobAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobReleaseLeaseHeaders={serializedName:"Blob_releaseLeaseHeaders",type:{name:"Composite",className:"BlobReleaseLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};E.BlobReleaseLeaseExceptionHeaders={serializedName:"Blob_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"BlobReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobRenewLeaseHeaders={serializedName:"Blob_renewLeaseHeaders",type:{name:"Composite",className:"BlobRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};E.BlobRenewLeaseExceptionHeaders={serializedName:"Blob_renewLeaseExceptionHeaders",type:{name:"Composite",className:"BlobRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobChangeLeaseHeaders={serializedName:"Blob_changeLeaseHeaders",type:{name:"Composite",className:"BlobChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};E.BlobChangeLeaseExceptionHeaders={serializedName:"Blob_changeLeaseExceptionHeaders",type:{name:"Composite",className:"BlobChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobBreakLeaseHeaders={serializedName:"Blob_breakLeaseHeaders",type:{name:"Composite",className:"BlobBreakLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseTime:{serializedName:"x-ms-lease-time",xmlName:"x-ms-lease-time",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};E.BlobBreakLeaseExceptionHeaders={serializedName:"Blob_breakLeaseExceptionHeaders",type:{name:"Composite",className:"BlobBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobCreateSnapshotHeaders={serializedName:"Blob_createSnapshotHeaders",type:{name:"Composite",className:"BlobCreateSnapshotHeaders",modelProperties:{snapshot:{serializedName:"x-ms-snapshot",xmlName:"x-ms-snapshot",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobCreateSnapshotExceptionHeaders={serializedName:"Blob_createSnapshotExceptionHeaders",type:{name:"Composite",className:"BlobCreateSnapshotExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobStartCopyFromURLHeaders={serializedName:"Blob_startCopyFromURLHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobStartCopyFromURLExceptionHeaders={serializedName:"Blob_startCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};E.BlobCopyFromURLHeaders={serializedName:"Blob_copyFromURLHeaders",type:{name:"Composite",className:"BlobCopyFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{defaultValue:"success",isConstant:!0,serializedName:"x-ms-copy-status",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobCopyFromURLExceptionHeaders={serializedName:"Blob_copyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};E.BlobAbortCopyFromURLHeaders={serializedName:"Blob_abortCopyFromURLHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobAbortCopyFromURLExceptionHeaders={serializedName:"Blob_abortCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobSetTierHeaders={serializedName:"Blob_setTierHeaders",type:{name:"Composite",className:"BlobSetTierHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobSetTierExceptionHeaders={serializedName:"Blob_setTierExceptionHeaders",type:{name:"Composite",className:"BlobSetTierExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobGetAccountInfoHeaders={serializedName:"Blob_getAccountInfoHeaders",type:{name:"Composite",className:"BlobGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}}}}};E.BlobGetAccountInfoExceptionHeaders={serializedName:"Blob_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"BlobGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobQueryHeaders={serializedName:"Blob_queryHeaders",type:{name:"Composite",className:"BlobQueryHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletionTime:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}};E.BlobQueryExceptionHeaders={serializedName:"Blob_queryExceptionHeaders",type:{name:"Composite",className:"BlobQueryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobGetTagsHeaders={serializedName:"Blob_getTagsHeaders",type:{name:"Composite",className:"BlobGetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobGetTagsExceptionHeaders={serializedName:"Blob_getTagsExceptionHeaders",type:{name:"Composite",className:"BlobGetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobSetTagsHeaders={serializedName:"Blob_setTagsHeaders",type:{name:"Composite",className:"BlobSetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobSetTagsExceptionHeaders={serializedName:"Blob_setTagsExceptionHeaders",type:{name:"Composite",className:"BlobSetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobCreateHeaders={serializedName:"PageBlob_createHeaders",type:{name:"Composite",className:"PageBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobCreateExceptionHeaders={serializedName:"PageBlob_createExceptionHeaders",type:{name:"Composite",className:"PageBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobUploadPagesHeaders={serializedName:"PageBlob_uploadPagesHeaders",type:{name:"Composite",className:"PageBlobUploadPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobUploadPagesExceptionHeaders={serializedName:"PageBlob_uploadPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobClearPagesHeaders={serializedName:"PageBlob_clearPagesHeaders",type:{name:"Composite",className:"PageBlobClearPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobClearPagesExceptionHeaders={serializedName:"PageBlob_clearPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobClearPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobUploadPagesFromURLHeaders={serializedName:"PageBlob_uploadPagesFromURLHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobUploadPagesFromURLExceptionHeaders={serializedName:"PageBlob_uploadPagesFromURLExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};E.PageBlobGetPageRangesHeaders={serializedName:"PageBlob_getPageRangesHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobGetPageRangesExceptionHeaders={serializedName:"PageBlob_getPageRangesExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobGetPageRangesDiffHeaders={serializedName:"PageBlob_getPageRangesDiffHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobGetPageRangesDiffExceptionHeaders={serializedName:"PageBlob_getPageRangesDiffExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobResizeHeaders={serializedName:"PageBlob_resizeHeaders",type:{name:"Composite",className:"PageBlobResizeHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobResizeExceptionHeaders={serializedName:"PageBlob_resizeExceptionHeaders",type:{name:"Composite",className:"PageBlobResizeExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobUpdateSequenceNumberHeaders={serializedName:"PageBlob_updateSequenceNumberHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobUpdateSequenceNumberExceptionHeaders={serializedName:"PageBlob_updateSequenceNumberExceptionHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobCopyIncrementalHeaders={serializedName:"PageBlob_copyIncrementalHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobCopyIncrementalExceptionHeaders={serializedName:"PageBlob_copyIncrementalExceptionHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.AppendBlobCreateHeaders={serializedName:"AppendBlob_createHeaders",type:{name:"Composite",className:"AppendBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.AppendBlobCreateExceptionHeaders={serializedName:"AppendBlob_createExceptionHeaders",type:{name:"Composite",className:"AppendBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.AppendBlobAppendBlockHeaders={serializedName:"AppendBlob_appendBlockHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.AppendBlobAppendBlockExceptionHeaders={serializedName:"AppendBlob_appendBlockExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.AppendBlobAppendBlockFromUrlHeaders={serializedName:"AppendBlob_appendBlockFromUrlHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.AppendBlobAppendBlockFromUrlExceptionHeaders={serializedName:"AppendBlob_appendBlockFromUrlExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};E.AppendBlobSealHeaders={serializedName:"AppendBlob_sealHeaders",type:{name:"Composite",className:"AppendBlobSealHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}}}}};E.AppendBlobSealExceptionHeaders={serializedName:"AppendBlob_sealExceptionHeaders",type:{name:"Composite",className:"AppendBlobSealExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlockBlobUploadHeaders={serializedName:"BlockBlob_uploadHeaders",type:{name:"Composite",className:"BlockBlobUploadHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlockBlobUploadExceptionHeaders={serializedName:"BlockBlob_uploadExceptionHeaders",type:{name:"Composite",className:"BlockBlobUploadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlockBlobPutBlobFromUrlHeaders={serializedName:"BlockBlob_putBlobFromUrlHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlockBlobPutBlobFromUrlExceptionHeaders={serializedName:"BlockBlob_putBlobFromUrlExceptionHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};E.BlockBlobStageBlockHeaders={serializedName:"BlockBlob_stageBlockHeaders",type:{name:"Composite",className:"BlockBlobStageBlockHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlockBlobStageBlockExceptionHeaders={serializedName:"BlockBlob_stageBlockExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlockBlobStageBlockFromURLHeaders={serializedName:"BlockBlob_stageBlockFromURLHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlockBlobStageBlockFromURLExceptionHeaders={serializedName:"BlockBlob_stageBlockFromURLExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};E.BlockBlobCommitBlockListHeaders={serializedName:"BlockBlob_commitBlockListHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlockBlobCommitBlockListExceptionHeaders={serializedName:"BlockBlob_commitBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlockBlobGetBlockListHeaders={serializedName:"BlockBlob_getBlockListHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlockBlobGetBlockListExceptionHeaders={serializedName:"BlockBlob_getBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}}});var Fo=h(I=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});I.action3=I.action2=I.leaseId1=I.action1=I.proposedLeaseId=I.duration=I.action=I.comp10=I.sourceLeaseId=I.sourceContainerName=I.comp9=I.deletedContainerVersion=I.deletedContainerName=I.comp8=I.containerAcl=I.comp7=I.comp6=I.ifUnmodifiedSince=I.ifModifiedSince=I.leaseId=I.preventEncryptionScopeOverride=I.defaultEncryptionScope=I.access=I.metadata=I.restype2=I.where=I.comp5=I.multipartContentType=I.contentLength=I.comp4=I.body=I.restype1=I.comp3=I.keyInfo=I.include=I.maxPageSize=I.marker=I.prefix=I.comp2=I.comp1=I.accept1=I.requestId=I.version=I.timeoutInSeconds=I.comp=I.restype=I.url=I.accept=I.blobServiceProperties=I.contentType=void 0;I.copySourceTags=I.copySourceAuthorization=I.sourceContentMD5=I.xMsRequiresSync=I.legalHold1=I.sealBlob=I.blobTagsString=I.copySource=I.sourceIfTags=I.sourceIfNoneMatch=I.sourceIfMatch=I.sourceIfUnmodifiedSince=I.sourceIfModifiedSince=I.rehydratePriority=I.tier=I.comp14=I.encryptionScope=I.legalHold=I.comp13=I.immutabilityPolicyMode=I.immutabilityPolicyExpiry=I.comp12=I.blobContentDisposition=I.blobContentLanguage=I.blobContentEncoding=I.blobContentMD5=I.blobContentType=I.blobCacheControl=I.expiresOn=I.expiryOptions=I.comp11=I.blobDeleteType=I.deleteSnapshots=I.ifTags=I.ifNoneMatch=I.ifMatch=I.encryptionAlgorithm=I.encryptionKeySha256=I.encryptionKey=I.rangeGetContentCRC64=I.rangeGetContentMD5=I.range=I.versionId=I.snapshot=I.delimiter=I.startFrom=I.include1=I.proposedLeaseId1=I.action4=I.breakPeriod=void 0;I.listType=I.comp25=I.blocks=I.blockId=I.comp24=I.copySourceBlobProperties=I.blobType2=I.comp23=I.sourceRange1=I.appendPosition=I.maxSize=I.comp22=I.blobType1=I.comp21=I.sequenceNumberAction=I.prevSnapshotUrl=I.prevsnapshot=I.comp20=I.range1=I.sourceContentCrc64=I.sourceRange=I.sourceUrl=I.pageWrite1=I.ifSequenceNumberEqualTo=I.ifSequenceNumberLessThan=I.ifSequenceNumberLessThanOrEqualTo=I.pageWrite=I.comp19=I.accept2=I.body1=I.contentType1=I.blobSequenceNumber=I.blobContentLength=I.blobType=I.transactionalContentCrc64=I.transactionalContentMD5=I.tags=I.ifNoneMatch1=I.ifMatch1=I.ifUnmodifiedSince1=I.ifModifiedSince1=I.comp18=I.comp17=I.queryRequest=I.tier1=I.comp16=I.copyId=I.copyActionAbortConstant=I.comp15=I.fileRequestIntent=void 0;var hu=Us();I.contentType={parameterPath:["options","contentType"],mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}};I.blobServiceProperties={parameterPath:"blobServiceProperties",mapper:hu.BlobServiceProperties};I.accept={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}};I.url={parameterPath:"url",mapper:{serializedName:"url",required:!0,xmlName:"url",type:{name:"String"}},skipEncoding:!0};I.restype={parameterPath:"restype",mapper:{defaultValue:"service",isConstant:!0,serializedName:"restype",type:{name:"String"}}};I.comp={parameterPath:"comp",mapper:{defaultValue:"properties",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.timeoutInSeconds={parameterPath:["options","timeoutInSeconds"],mapper:{constraints:{InclusiveMinimum:0},serializedName:"timeout",xmlName:"timeout",type:{name:"Number"}}};I.version={parameterPath:"version",mapper:{defaultValue:"2026-02-06",isConstant:!0,serializedName:"x-ms-version",type:{name:"String"}}};I.requestId={parameterPath:["options","requestId"],mapper:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}}};I.accept1={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}};I.comp1={parameterPath:"comp",mapper:{defaultValue:"stats",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.comp2={parameterPath:"comp",mapper:{defaultValue:"list",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.prefix={parameterPath:["options","prefix"],mapper:{serializedName:"prefix",xmlName:"prefix",type:{name:"String"}}};I.marker={parameterPath:["options","marker"],mapper:{serializedName:"marker",xmlName:"marker",type:{name:"String"}}};I.maxPageSize={parameterPath:["options","maxPageSize"],mapper:{constraints:{InclusiveMinimum:1},serializedName:"maxresults",xmlName:"maxresults",type:{name:"Number"}}};I.include={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListContainersIncludeType",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["metadata","deleted","system"]}}}},collectionFormat:"CSV"};I.keyInfo={parameterPath:"keyInfo",mapper:hu.KeyInfo};I.comp3={parameterPath:"comp",mapper:{defaultValue:"userdelegationkey",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.restype1={parameterPath:"restype",mapper:{defaultValue:"account",isConstant:!0,serializedName:"restype",type:{name:"String"}}};I.body={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}};I.comp4={parameterPath:"comp",mapper:{defaultValue:"batch",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.contentLength={parameterPath:"contentLength",mapper:{serializedName:"Content-Length",required:!0,xmlName:"Content-Length",type:{name:"Number"}}};I.multipartContentType={parameterPath:"multipartContentType",mapper:{serializedName:"Content-Type",required:!0,xmlName:"Content-Type",type:{name:"String"}}};I.comp5={parameterPath:"comp",mapper:{defaultValue:"blobs",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.where={parameterPath:["options","where"],mapper:{serializedName:"where",xmlName:"where",type:{name:"String"}}};I.restype2={parameterPath:"restype",mapper:{defaultValue:"container",isConstant:!0,serializedName:"restype",type:{name:"String"}}};I.metadata={parameterPath:["options","metadata"],mapper:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",type:{name:"Dictionary",value:{type:{name:"String"}}}}};I.access={parameterPath:["options","access"],mapper:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}}};I.defaultEncryptionScope={parameterPath:["options","containerEncryptionScope","defaultEncryptionScope"],mapper:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}}};I.preventEncryptionScopeOverride={parameterPath:["options","containerEncryptionScope","preventEncryptionScopeOverride"],mapper:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}}};I.leaseId={parameterPath:["options","leaseAccessConditions","leaseId"],mapper:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}}};I.ifModifiedSince={parameterPath:["options","modifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"If-Modified-Since",xmlName:"If-Modified-Since",type:{name:"DateTimeRfc1123"}}};I.ifUnmodifiedSince={parameterPath:["options","modifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"If-Unmodified-Since",xmlName:"If-Unmodified-Since",type:{name:"DateTimeRfc1123"}}};I.comp6={parameterPath:"comp",mapper:{defaultValue:"metadata",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.comp7={parameterPath:"comp",mapper:{defaultValue:"acl",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.containerAcl={parameterPath:["options","containerAcl"],mapper:{serializedName:"containerAcl",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier",type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}}}};I.comp8={parameterPath:"comp",mapper:{defaultValue:"undelete",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.deletedContainerName={parameterPath:["options","deletedContainerName"],mapper:{serializedName:"x-ms-deleted-container-name",xmlName:"x-ms-deleted-container-name",type:{name:"String"}}};I.deletedContainerVersion={parameterPath:["options","deletedContainerVersion"],mapper:{serializedName:"x-ms-deleted-container-version",xmlName:"x-ms-deleted-container-version",type:{name:"String"}}};I.comp9={parameterPath:"comp",mapper:{defaultValue:"rename",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.sourceContainerName={parameterPath:"sourceContainerName",mapper:{serializedName:"x-ms-source-container-name",required:!0,xmlName:"x-ms-source-container-name",type:{name:"String"}}};I.sourceLeaseId={parameterPath:["options","sourceLeaseId"],mapper:{serializedName:"x-ms-source-lease-id",xmlName:"x-ms-source-lease-id",type:{name:"String"}}};I.comp10={parameterPath:"comp",mapper:{defaultValue:"lease",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.action={parameterPath:"action",mapper:{defaultValue:"acquire",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}};I.duration={parameterPath:["options","duration"],mapper:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Number"}}};I.proposedLeaseId={parameterPath:["options","proposedLeaseId"],mapper:{serializedName:"x-ms-proposed-lease-id",xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}};I.action1={parameterPath:"action",mapper:{defaultValue:"release",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}};I.leaseId1={parameterPath:"leaseId",mapper:{serializedName:"x-ms-lease-id",required:!0,xmlName:"x-ms-lease-id",type:{name:"String"}}};I.action2={parameterPath:"action",mapper:{defaultValue:"renew",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}};I.action3={parameterPath:"action",mapper:{defaultValue:"break",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}};I.breakPeriod={parameterPath:["options","breakPeriod"],mapper:{serializedName:"x-ms-lease-break-period",xmlName:"x-ms-lease-break-period",type:{name:"Number"}}};I.action4={parameterPath:"action",mapper:{defaultValue:"change",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}};I.proposedLeaseId1={parameterPath:"proposedLeaseId",mapper:{serializedName:"x-ms-proposed-lease-id",required:!0,xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}};I.include1={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListBlobsIncludeItem",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["copy","deleted","metadata","snapshots","uncommittedblobs","versions","tags","immutabilitypolicy","legalhold","deletedwithversions"]}}}},collectionFormat:"CSV"};I.startFrom={parameterPath:["options","startFrom"],mapper:{serializedName:"startFrom",xmlName:"startFrom",type:{name:"String"}}};I.delimiter={parameterPath:"delimiter",mapper:{serializedName:"delimiter",required:!0,xmlName:"delimiter",type:{name:"String"}}};I.snapshot={parameterPath:["options","snapshot"],mapper:{serializedName:"snapshot",xmlName:"snapshot",type:{name:"String"}}};I.versionId={parameterPath:["options","versionId"],mapper:{serializedName:"versionid",xmlName:"versionid",type:{name:"String"}}};I.range={parameterPath:["options","range"],mapper:{serializedName:"x-ms-range",xmlName:"x-ms-range",type:{name:"String"}}};I.rangeGetContentMD5={parameterPath:["options","rangeGetContentMD5"],mapper:{serializedName:"x-ms-range-get-content-md5",xmlName:"x-ms-range-get-content-md5",type:{name:"Boolean"}}};I.rangeGetContentCRC64={parameterPath:["options","rangeGetContentCRC64"],mapper:{serializedName:"x-ms-range-get-content-crc64",xmlName:"x-ms-range-get-content-crc64",type:{name:"Boolean"}}};I.encryptionKey={parameterPath:["options","cpkInfo","encryptionKey"],mapper:{serializedName:"x-ms-encryption-key",xmlName:"x-ms-encryption-key",type:{name:"String"}}};I.encryptionKeySha256={parameterPath:["options","cpkInfo","encryptionKeySha256"],mapper:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}}};I.encryptionAlgorithm={parameterPath:["options","cpkInfo","encryptionAlgorithm"],mapper:{serializedName:"x-ms-encryption-algorithm",xmlName:"x-ms-encryption-algorithm",type:{name:"String"}}};I.ifMatch={parameterPath:["options","modifiedAccessConditions","ifMatch"],mapper:{serializedName:"If-Match",xmlName:"If-Match",type:{name:"String"}}};I.ifNoneMatch={parameterPath:["options","modifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"If-None-Match",xmlName:"If-None-Match",type:{name:"String"}}};I.ifTags={parameterPath:["options","modifiedAccessConditions","ifTags"],mapper:{serializedName:"x-ms-if-tags",xmlName:"x-ms-if-tags",type:{name:"String"}}};I.deleteSnapshots={parameterPath:["options","deleteSnapshots"],mapper:{serializedName:"x-ms-delete-snapshots",xmlName:"x-ms-delete-snapshots",type:{name:"Enum",allowedValues:["include","only"]}}};I.blobDeleteType={parameterPath:["options","blobDeleteType"],mapper:{serializedName:"deletetype",xmlName:"deletetype",type:{name:"String"}}};I.comp11={parameterPath:"comp",mapper:{defaultValue:"expiry",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.expiryOptions={parameterPath:"expiryOptions",mapper:{serializedName:"x-ms-expiry-option",required:!0,xmlName:"x-ms-expiry-option",type:{name:"String"}}};I.expiresOn={parameterPath:["options","expiresOn"],mapper:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"String"}}};I.blobCacheControl={parameterPath:["options","blobHttpHeaders","blobCacheControl"],mapper:{serializedName:"x-ms-blob-cache-control",xmlName:"x-ms-blob-cache-control",type:{name:"String"}}};I.blobContentType={parameterPath:["options","blobHttpHeaders","blobContentType"],mapper:{serializedName:"x-ms-blob-content-type",xmlName:"x-ms-blob-content-type",type:{name:"String"}}};I.blobContentMD5={parameterPath:["options","blobHttpHeaders","blobContentMD5"],mapper:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}}};I.blobContentEncoding={parameterPath:["options","blobHttpHeaders","blobContentEncoding"],mapper:{serializedName:"x-ms-blob-content-encoding",xmlName:"x-ms-blob-content-encoding",type:{name:"String"}}};I.blobContentLanguage={parameterPath:["options","blobHttpHeaders","blobContentLanguage"],mapper:{serializedName:"x-ms-blob-content-language",xmlName:"x-ms-blob-content-language",type:{name:"String"}}};I.blobContentDisposition={parameterPath:["options","blobHttpHeaders","blobContentDisposition"],mapper:{serializedName:"x-ms-blob-content-disposition",xmlName:"x-ms-blob-content-disposition",type:{name:"String"}}};I.comp12={parameterPath:"comp",mapper:{defaultValue:"immutabilityPolicies",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.immutabilityPolicyExpiry={parameterPath:["options","immutabilityPolicyExpiry"],mapper:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}}};I.immutabilityPolicyMode={parameterPath:["options","immutabilityPolicyMode"],mapper:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}};I.comp13={parameterPath:"comp",mapper:{defaultValue:"legalhold",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.legalHold={parameterPath:"legalHold",mapper:{serializedName:"x-ms-legal-hold",required:!0,xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}};I.encryptionScope={parameterPath:["options","encryptionScope"],mapper:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}}};I.comp14={parameterPath:"comp",mapper:{defaultValue:"snapshot",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.tier={parameterPath:["options","tier"],mapper:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold"]}}};I.rehydratePriority={parameterPath:["options","rehydratePriority"],mapper:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}}};I.sourceIfModifiedSince={parameterPath:["options","sourceModifiedAccessConditions","sourceIfModifiedSince"],mapper:{serializedName:"x-ms-source-if-modified-since",xmlName:"x-ms-source-if-modified-since",type:{name:"DateTimeRfc1123"}}};I.sourceIfUnmodifiedSince={parameterPath:["options","sourceModifiedAccessConditions","sourceIfUnmodifiedSince"],mapper:{serializedName:"x-ms-source-if-unmodified-since",xmlName:"x-ms-source-if-unmodified-since",type:{name:"DateTimeRfc1123"}}};I.sourceIfMatch={parameterPath:["options","sourceModifiedAccessConditions","sourceIfMatch"],mapper:{serializedName:"x-ms-source-if-match",xmlName:"x-ms-source-if-match",type:{name:"String"}}};I.sourceIfNoneMatch={parameterPath:["options","sourceModifiedAccessConditions","sourceIfNoneMatch"],mapper:{serializedName:"x-ms-source-if-none-match",xmlName:"x-ms-source-if-none-match",type:{name:"String"}}};I.sourceIfTags={parameterPath:["options","sourceModifiedAccessConditions","sourceIfTags"],mapper:{serializedName:"x-ms-source-if-tags",xmlName:"x-ms-source-if-tags",type:{name:"String"}}};I.copySource={parameterPath:"copySource",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}};I.blobTagsString={parameterPath:["options","blobTagsString"],mapper:{serializedName:"x-ms-tags",xmlName:"x-ms-tags",type:{name:"String"}}};I.sealBlob={parameterPath:["options","sealBlob"],mapper:{serializedName:"x-ms-seal-blob",xmlName:"x-ms-seal-blob",type:{name:"Boolean"}}};I.legalHold1={parameterPath:["options","legalHold"],mapper:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}};I.xMsRequiresSync={parameterPath:"xMsRequiresSync",mapper:{defaultValue:"true",isConstant:!0,serializedName:"x-ms-requires-sync",type:{name:"String"}}};I.sourceContentMD5={parameterPath:["options","sourceContentMD5"],mapper:{serializedName:"x-ms-source-content-md5",xmlName:"x-ms-source-content-md5",type:{name:"ByteArray"}}};I.copySourceAuthorization={parameterPath:["options","copySourceAuthorization"],mapper:{serializedName:"x-ms-copy-source-authorization",xmlName:"x-ms-copy-source-authorization",type:{name:"String"}}};I.copySourceTags={parameterPath:["options","copySourceTags"],mapper:{serializedName:"x-ms-copy-source-tag-option",xmlName:"x-ms-copy-source-tag-option",type:{name:"Enum",allowedValues:["REPLACE","COPY"]}}};I.fileRequestIntent={parameterPath:["options","fileRequestIntent"],mapper:{serializedName:"x-ms-file-request-intent",xmlName:"x-ms-file-request-intent",type:{name:"String"}}};I.comp15={parameterPath:"comp",mapper:{defaultValue:"copy",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.copyActionAbortConstant={parameterPath:"copyActionAbortConstant",mapper:{defaultValue:"abort",isConstant:!0,serializedName:"x-ms-copy-action",type:{name:"String"}}};I.copyId={parameterPath:"copyId",mapper:{serializedName:"copyid",required:!0,xmlName:"copyid",type:{name:"String"}}};I.comp16={parameterPath:"comp",mapper:{defaultValue:"tier",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.tier1={parameterPath:"tier",mapper:{serializedName:"x-ms-access-tier",required:!0,xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold"]}}};I.queryRequest={parameterPath:["options","queryRequest"],mapper:hu.QueryRequest};I.comp17={parameterPath:"comp",mapper:{defaultValue:"query",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.comp18={parameterPath:"comp",mapper:{defaultValue:"tags",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.ifModifiedSince1={parameterPath:["options","blobModifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"x-ms-blob-if-modified-since",xmlName:"x-ms-blob-if-modified-since",type:{name:"DateTimeRfc1123"}}};I.ifUnmodifiedSince1={parameterPath:["options","blobModifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"x-ms-blob-if-unmodified-since",xmlName:"x-ms-blob-if-unmodified-since",type:{name:"DateTimeRfc1123"}}};I.ifMatch1={parameterPath:["options","blobModifiedAccessConditions","ifMatch"],mapper:{serializedName:"x-ms-blob-if-match",xmlName:"x-ms-blob-if-match",type:{name:"String"}}};I.ifNoneMatch1={parameterPath:["options","blobModifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"x-ms-blob-if-none-match",xmlName:"x-ms-blob-if-none-match",type:{name:"String"}}};I.tags={parameterPath:["options","tags"],mapper:hu.BlobTags};I.transactionalContentMD5={parameterPath:["options","transactionalContentMD5"],mapper:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}}};I.transactionalContentCrc64={parameterPath:["options","transactionalContentCrc64"],mapper:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}};I.blobType={parameterPath:"blobType",mapper:{defaultValue:"PageBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}};I.blobContentLength={parameterPath:"blobContentLength",mapper:{serializedName:"x-ms-blob-content-length",required:!0,xmlName:"x-ms-blob-content-length",type:{name:"Number"}}};I.blobSequenceNumber={parameterPath:["options","blobSequenceNumber"],mapper:{defaultValue:0,serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}}};I.contentType1={parameterPath:["options","contentType"],mapper:{defaultValue:"application/octet-stream",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}};I.body1={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}};I.accept2={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}};I.comp19={parameterPath:"comp",mapper:{defaultValue:"page",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.pageWrite={parameterPath:"pageWrite",mapper:{defaultValue:"update",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}};I.ifSequenceNumberLessThanOrEqualTo={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThanOrEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-le",xmlName:"x-ms-if-sequence-number-le",type:{name:"Number"}}};I.ifSequenceNumberLessThan={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThan"],mapper:{serializedName:"x-ms-if-sequence-number-lt",xmlName:"x-ms-if-sequence-number-lt",type:{name:"Number"}}};I.ifSequenceNumberEqualTo={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-eq",xmlName:"x-ms-if-sequence-number-eq",type:{name:"Number"}}};I.pageWrite1={parameterPath:"pageWrite",mapper:{defaultValue:"clear",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}};I.sourceUrl={parameterPath:"sourceUrl",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}};I.sourceRange={parameterPath:"sourceRange",mapper:{serializedName:"x-ms-source-range",required:!0,xmlName:"x-ms-source-range",type:{name:"String"}}};I.sourceContentCrc64={parameterPath:["options","sourceContentCrc64"],mapper:{serializedName:"x-ms-source-content-crc64",xmlName:"x-ms-source-content-crc64",type:{name:"ByteArray"}}};I.range1={parameterPath:"range",mapper:{serializedName:"x-ms-range",required:!0,xmlName:"x-ms-range",type:{name:"String"}}};I.comp20={parameterPath:"comp",mapper:{defaultValue:"pagelist",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.prevsnapshot={parameterPath:["options","prevsnapshot"],mapper:{serializedName:"prevsnapshot",xmlName:"prevsnapshot",type:{name:"String"}}};I.prevSnapshotUrl={parameterPath:["options","prevSnapshotUrl"],mapper:{serializedName:"x-ms-previous-snapshot-url",xmlName:"x-ms-previous-snapshot-url",type:{name:"String"}}};I.sequenceNumberAction={parameterPath:"sequenceNumberAction",mapper:{serializedName:"x-ms-sequence-number-action",required:!0,xmlName:"x-ms-sequence-number-action",type:{name:"Enum",allowedValues:["max","update","increment"]}}};I.comp21={parameterPath:"comp",mapper:{defaultValue:"incrementalcopy",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.blobType1={parameterPath:"blobType",mapper:{defaultValue:"AppendBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}};I.comp22={parameterPath:"comp",mapper:{defaultValue:"appendblock",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.maxSize={parameterPath:["options","appendPositionAccessConditions","maxSize"],mapper:{serializedName:"x-ms-blob-condition-maxsize",xmlName:"x-ms-blob-condition-maxsize",type:{name:"Number"}}};I.appendPosition={parameterPath:["options","appendPositionAccessConditions","appendPosition"],mapper:{serializedName:"x-ms-blob-condition-appendpos",xmlName:"x-ms-blob-condition-appendpos",type:{name:"Number"}}};I.sourceRange1={parameterPath:["options","sourceRange"],mapper:{serializedName:"x-ms-source-range",xmlName:"x-ms-source-range",type:{name:"String"}}};I.comp23={parameterPath:"comp",mapper:{defaultValue:"seal",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.blobType2={parameterPath:"blobType",mapper:{defaultValue:"BlockBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}};I.copySourceBlobProperties={parameterPath:["options","copySourceBlobProperties"],mapper:{serializedName:"x-ms-copy-source-blob-properties",xmlName:"x-ms-copy-source-blob-properties",type:{name:"Boolean"}}};I.comp24={parameterPath:"comp",mapper:{defaultValue:"block",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.blockId={parameterPath:"blockId",mapper:{serializedName:"blockid",required:!0,xmlName:"blockid",type:{name:"String"}}};I.blocks={parameterPath:"blocks",mapper:hu.BlockLookupList};I.comp25={parameterPath:"comp",mapper:{defaultValue:"blocklist",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.listType={parameterPath:"listType",mapper:{defaultValue:"committed",serializedName:"blocklisttype",required:!0,xmlName:"blocklisttype",type:{name:"Enum",allowedValues:["committed","uncommitted","all"]}}}});var _W=h(Af=>{"use strict";Object.defineProperty(Af,"__esModule",{value:!0});Af.ServiceImpl=void 0;var D0=(Jr(),Wt(Yr)),v_e=D0.__importStar(mi()),Fe=D0.__importStar(Us()),J=D0.__importStar(Fo()),P0=class{static{o(this,"ServiceImpl")}client;constructor(e){this.client=e}setProperties(e,r){return this.client.sendOperationRequest({blobServiceProperties:e,options:r},R_e)}getProperties(e){return this.client.sendOperationRequest({options:e},__e)}getStatistics(e){return this.client.sendOperationRequest({options:e},P_e)}listContainersSegment(e){return this.client.sendOperationRequest({options:e},D_e)}getUserDelegationKey(e,r){return this.client.sendOperationRequest({keyInfo:e,options:r},T_e)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},O_e)}submitBatch(e,r,n,i){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:n,options:i},M_e)}filterBlobs(e){return this.client.sendOperationRequest({options:e},k_e)}};Af.ServiceImpl=P0;var qs=v_e.createSerializer(Fe,!0),R_e={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:Fe.ServiceSetPropertiesHeaders},default:{bodyMapper:Fe.StorageError,headersMapper:Fe.ServiceSetPropertiesExceptionHeaders}},requestBody:J.blobServiceProperties,queryParameters:[J.restype,J.comp,J.timeoutInSeconds],urlParameters:[J.url],headerParameters:[J.contentType,J.accept,J.version,J.requestId],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:qs},__e={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Fe.BlobServiceProperties,headersMapper:Fe.ServiceGetPropertiesHeaders},default:{bodyMapper:Fe.StorageError,headersMapper:Fe.ServiceGetPropertiesExceptionHeaders}},queryParameters:[J.restype,J.comp,J.timeoutInSeconds],urlParameters:[J.url],headerParameters:[J.version,J.requestId,J.accept1],isXML:!0,serializer:qs},P_e={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Fe.BlobServiceStatistics,headersMapper:Fe.ServiceGetStatisticsHeaders},default:{bodyMapper:Fe.StorageError,headersMapper:Fe.ServiceGetStatisticsExceptionHeaders}},queryParameters:[J.restype,J.timeoutInSeconds,J.comp1],urlParameters:[J.url],headerParameters:[J.version,J.requestId,J.accept1],isXML:!0,serializer:qs},D_e={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Fe.ListContainersSegmentResponse,headersMapper:Fe.ServiceListContainersSegmentHeaders},default:{bodyMapper:Fe.StorageError,headersMapper:Fe.ServiceListContainersSegmentExceptionHeaders}},queryParameters:[J.timeoutInSeconds,J.comp2,J.prefix,J.marker,J.maxPageSize,J.include],urlParameters:[J.url],headerParameters:[J.version,J.requestId,J.accept1],isXML:!0,serializer:qs},T_e={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:Fe.UserDelegationKey,headersMapper:Fe.ServiceGetUserDelegationKeyHeaders},default:{bodyMapper:Fe.StorageError,headersMapper:Fe.ServiceGetUserDelegationKeyExceptionHeaders}},requestBody:J.keyInfo,queryParameters:[J.restype,J.timeoutInSeconds,J.comp3],urlParameters:[J.url],headerParameters:[J.contentType,J.accept,J.version,J.requestId],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:qs},O_e={path:"/",httpMethod:"GET",responses:{200:{headersMapper:Fe.ServiceGetAccountInfoHeaders},default:{bodyMapper:Fe.StorageError,headersMapper:Fe.ServiceGetAccountInfoExceptionHeaders}},queryParameters:[J.comp,J.timeoutInSeconds,J.restype1],urlParameters:[J.url],headerParameters:[J.version,J.requestId,J.accept1],isXML:!0,serializer:qs},M_e={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Fe.ServiceSubmitBatchHeaders},default:{bodyMapper:Fe.StorageError,headersMapper:Fe.ServiceSubmitBatchExceptionHeaders}},requestBody:J.body,queryParameters:[J.timeoutInSeconds,J.comp4],urlParameters:[J.url],headerParameters:[J.accept,J.version,J.requestId,J.contentLength,J.multipartContentType],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:qs},k_e={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Fe.FilterBlobSegment,headersMapper:Fe.ServiceFilterBlobsHeaders},default:{bodyMapper:Fe.StorageError,headersMapper:Fe.ServiceFilterBlobsExceptionHeaders}},queryParameters:[J.timeoutInSeconds,J.marker,J.maxPageSize,J.comp5,J.where],urlParameters:[J.url],headerParameters:[J.version,J.requestId,J.accept1],isXML:!0,serializer:qs}});var PW=h(uf=>{"use strict";Object.defineProperty(uf,"__esModule",{value:!0});uf.ContainerImpl=void 0;var O0=(Jr(),Wt(Yr)),L_e=O0.__importStar(mi()),$=O0.__importStar(Us()),P=O0.__importStar(Fo()),T0=class{static{o(this,"ContainerImpl")}client;constructor(e){this.client=e}create(e){return this.client.sendOperationRequest({options:e},F_e)}getProperties(e){return this.client.sendOperationRequest({options:e},U_e)}delete(e){return this.client.sendOperationRequest({options:e},q_e)}setMetadata(e){return this.client.sendOperationRequest({options:e},H_e)}getAccessPolicy(e){return this.client.sendOperationRequest({options:e},z_e)}setAccessPolicy(e){return this.client.sendOperationRequest({options:e},j_e)}restore(e){return this.client.sendOperationRequest({options:e},G_e)}rename(e,r){return this.client.sendOperationRequest({sourceContainerName:e,options:r},Y_e)}submitBatch(e,r,n,i){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:n,options:i},J_e)}filterBlobs(e){return this.client.sendOperationRequest({options:e},V_e)}acquireLease(e){return this.client.sendOperationRequest({options:e},W_e)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},K_e)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},$_e)}breakLease(e){return this.client.sendOperationRequest({options:e},X_e)}changeLease(e,r,n){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:n},Z_e)}listBlobFlatSegment(e){return this.client.sendOperationRequest({options:e},ePe)}listBlobHierarchySegment(e,r){return this.client.sendOperationRequest({delimiter:e,options:r},tPe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},rPe)}};uf.ContainerImpl=T0;var Ht=L_e.createSerializer($,!0),F_e={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:$.ContainerCreateHeaders},default:{bodyMapper:$.StorageError,headersMapper:$.ContainerCreateExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.restype2],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.metadata,P.access,P.defaultEncryptionScope,P.preventEncryptionScopeOverride],isXML:!0,serializer:Ht},U_e={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:$.ContainerGetPropertiesHeaders},default:{bodyMapper:$.StorageError,headersMapper:$.ContainerGetPropertiesExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.restype2],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.leaseId],isXML:!0,serializer:Ht},q_e={path:"/{containerName}",httpMethod:"DELETE",responses:{202:{headersMapper:$.ContainerDeleteHeaders},default:{bodyMapper:$.StorageError,headersMapper:$.ContainerDeleteExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.restype2],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.leaseId,P.ifModifiedSince,P.ifUnmodifiedSince],isXML:!0,serializer:Ht},H_e={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:$.ContainerSetMetadataHeaders},default:{bodyMapper:$.StorageError,headersMapper:$.ContainerSetMetadataExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.restype2,P.comp6],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.metadata,P.leaseId,P.ifModifiedSince],isXML:!0,serializer:Ht},z_e={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}},serializedName:"SignedIdentifiers",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier"},headersMapper:$.ContainerGetAccessPolicyHeaders},default:{bodyMapper:$.StorageError,headersMapper:$.ContainerGetAccessPolicyExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.restype2,P.comp7],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.leaseId],isXML:!0,serializer:Ht},j_e={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:$.ContainerSetAccessPolicyHeaders},default:{bodyMapper:$.StorageError,headersMapper:$.ContainerSetAccessPolicyExceptionHeaders}},requestBody:P.containerAcl,queryParameters:[P.timeoutInSeconds,P.restype2,P.comp7],urlParameters:[P.url],headerParameters:[P.contentType,P.accept,P.version,P.requestId,P.access,P.leaseId,P.ifModifiedSince,P.ifUnmodifiedSince],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Ht},G_e={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:$.ContainerRestoreHeaders},default:{bodyMapper:$.StorageError,headersMapper:$.ContainerRestoreExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.restype2,P.comp8],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.deletedContainerName,P.deletedContainerVersion],isXML:!0,serializer:Ht},Y_e={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:$.ContainerRenameHeaders},default:{bodyMapper:$.StorageError,headersMapper:$.ContainerRenameExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.restype2,P.comp9],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.sourceContainerName,P.sourceLeaseId],isXML:!0,serializer:Ht},J_e={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:$.ContainerSubmitBatchHeaders},default:{bodyMapper:$.StorageError,headersMapper:$.ContainerSubmitBatchExceptionHeaders}},requestBody:P.body,queryParameters:[P.timeoutInSeconds,P.comp4,P.restype2],urlParameters:[P.url],headerParameters:[P.accept,P.version,P.requestId,P.contentLength,P.multipartContentType],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Ht},V_e={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:$.FilterBlobSegment,headersMapper:$.ContainerFilterBlobsHeaders},default:{bodyMapper:$.StorageError,headersMapper:$.ContainerFilterBlobsExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.marker,P.maxPageSize,P.comp5,P.where,P.restype2],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1],isXML:!0,serializer:Ht},W_e={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:$.ContainerAcquireLeaseHeaders},default:{bodyMapper:$.StorageError,headersMapper:$.ContainerAcquireLeaseExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.restype2,P.comp10],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.ifModifiedSince,P.ifUnmodifiedSince,P.action,P.duration,P.proposedLeaseId],isXML:!0,serializer:Ht},K_e={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:$.ContainerReleaseLeaseHeaders},default:{bodyMapper:$.StorageError,headersMapper:$.ContainerReleaseLeaseExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.restype2,P.comp10],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.ifModifiedSince,P.ifUnmodifiedSince,P.action1,P.leaseId1],isXML:!0,serializer:Ht},$_e={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:$.ContainerRenewLeaseHeaders},default:{bodyMapper:$.StorageError,headersMapper:$.ContainerRenewLeaseExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.restype2,P.comp10],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.ifModifiedSince,P.ifUnmodifiedSince,P.leaseId1,P.action2],isXML:!0,serializer:Ht},X_e={path:"/{containerName}",httpMethod:"PUT",responses:{202:{headersMapper:$.ContainerBreakLeaseHeaders},default:{bodyMapper:$.StorageError,headersMapper:$.ContainerBreakLeaseExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.restype2,P.comp10],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.ifModifiedSince,P.ifUnmodifiedSince,P.action3,P.breakPeriod],isXML:!0,serializer:Ht},Z_e={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:$.ContainerChangeLeaseHeaders},default:{bodyMapper:$.StorageError,headersMapper:$.ContainerChangeLeaseExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.restype2,P.comp10],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.ifModifiedSince,P.ifUnmodifiedSince,P.leaseId1,P.action4,P.proposedLeaseId1],isXML:!0,serializer:Ht},ePe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:$.ListBlobsFlatSegmentResponse,headersMapper:$.ContainerListBlobFlatSegmentHeaders},default:{bodyMapper:$.StorageError,headersMapper:$.ContainerListBlobFlatSegmentExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.comp2,P.prefix,P.marker,P.maxPageSize,P.restype2,P.include1,P.startFrom],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1],isXML:!0,serializer:Ht},tPe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:$.ListBlobsHierarchySegmentResponse,headersMapper:$.ContainerListBlobHierarchySegmentHeaders},default:{bodyMapper:$.StorageError,headersMapper:$.ContainerListBlobHierarchySegmentExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.comp2,P.prefix,P.marker,P.maxPageSize,P.restype2,P.include1,P.startFrom,P.delimiter],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1],isXML:!0,serializer:Ht},rPe={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:$.ContainerGetAccountInfoHeaders},default:{bodyMapper:$.StorageError,headersMapper:$.ContainerGetAccountInfoExceptionHeaders}},queryParameters:[P.comp,P.timeoutInSeconds,P.restype1],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1],isXML:!0,serializer:Ht}});var DW=h(df=>{"use strict";Object.defineProperty(df,"__esModule",{value:!0});df.BlobImpl=void 0;var k0=(Jr(),Wt(Yr)),nPe=k0.__importStar(mi()),Y=k0.__importStar(Us()),B=k0.__importStar(Fo()),M0=class{static{o(this,"BlobImpl")}client;constructor(e){this.client=e}download(e){return this.client.sendOperationRequest({options:e},iPe)}getProperties(e){return this.client.sendOperationRequest({options:e},sPe)}delete(e){return this.client.sendOperationRequest({options:e},oPe)}undelete(e){return this.client.sendOperationRequest({options:e},aPe)}setExpiry(e,r){return this.client.sendOperationRequest({expiryOptions:e,options:r},cPe)}setHttpHeaders(e){return this.client.sendOperationRequest({options:e},lPe)}setImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},APe)}deleteImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},uPe)}setLegalHold(e,r){return this.client.sendOperationRequest({legalHold:e,options:r},dPe)}setMetadata(e){return this.client.sendOperationRequest({options:e},pPe)}acquireLease(e){return this.client.sendOperationRequest({options:e},mPe)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},gPe)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},fPe)}changeLease(e,r,n){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:n},hPe)}breakLease(e){return this.client.sendOperationRequest({options:e},yPe)}createSnapshot(e){return this.client.sendOperationRequest({options:e},CPe)}startCopyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},EPe)}copyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},BPe)}abortCopyFromURL(e,r){return this.client.sendOperationRequest({copyId:e,options:r},IPe)}setTier(e,r){return this.client.sendOperationRequest({tier:e,options:r},bPe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},QPe)}query(e){return this.client.sendOperationRequest({options:e},wPe)}getTags(e){return this.client.sendOperationRequest({options:e},NPe)}setTags(e){return this.client.sendOperationRequest({options:e},SPe)}};df.BlobImpl=M0;var st=nPe.createSerializer(Y,!0),iPe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Y.BlobDownloadHeaders},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Y.BlobDownloadHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobDownloadExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.snapshot,B.versionId],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.leaseId,B.ifModifiedSince,B.ifUnmodifiedSince,B.range,B.rangeGetContentMD5,B.rangeGetContentCRC64,B.encryptionKey,B.encryptionKeySha256,B.encryptionAlgorithm,B.ifMatch,B.ifNoneMatch,B.ifTags],isXML:!0,serializer:st},sPe={path:"/{containerName}/{blob}",httpMethod:"HEAD",responses:{200:{headersMapper:Y.BlobGetPropertiesHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobGetPropertiesExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.snapshot,B.versionId],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.leaseId,B.ifModifiedSince,B.ifUnmodifiedSince,B.encryptionKey,B.encryptionKeySha256,B.encryptionAlgorithm,B.ifMatch,B.ifNoneMatch,B.ifTags],isXML:!0,serializer:st},oPe={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{202:{headersMapper:Y.BlobDeleteHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobDeleteExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.snapshot,B.versionId,B.blobDeleteType],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.leaseId,B.ifModifiedSince,B.ifUnmodifiedSince,B.ifMatch,B.ifNoneMatch,B.ifTags,B.deleteSnapshots],isXML:!0,serializer:st},aPe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Y.BlobUndeleteHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobUndeleteExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.comp8],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1],isXML:!0,serializer:st},cPe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Y.BlobSetExpiryHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobSetExpiryExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.comp11],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.expiryOptions,B.expiresOn],isXML:!0,serializer:st},lPe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Y.BlobSetHttpHeadersHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobSetHttpHeadersExceptionHeaders}},queryParameters:[B.comp,B.timeoutInSeconds],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.leaseId,B.ifModifiedSince,B.ifUnmodifiedSince,B.ifMatch,B.ifNoneMatch,B.ifTags,B.blobCacheControl,B.blobContentType,B.blobContentMD5,B.blobContentEncoding,B.blobContentLanguage,B.blobContentDisposition],isXML:!0,serializer:st},APe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Y.BlobSetImmutabilityPolicyHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobSetImmutabilityPolicyExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.snapshot,B.versionId,B.comp12],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.ifUnmodifiedSince,B.immutabilityPolicyExpiry,B.immutabilityPolicyMode],isXML:!0,serializer:st},uPe={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{200:{headersMapper:Y.BlobDeleteImmutabilityPolicyHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobDeleteImmutabilityPolicyExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.snapshot,B.versionId,B.comp12],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1],isXML:!0,serializer:st},dPe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Y.BlobSetLegalHoldHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobSetLegalHoldExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.snapshot,B.versionId,B.comp13],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.legalHold],isXML:!0,serializer:st},pPe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Y.BlobSetMetadataHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobSetMetadataExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.comp6],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.metadata,B.leaseId,B.ifModifiedSince,B.ifUnmodifiedSince,B.encryptionKey,B.encryptionKeySha256,B.encryptionAlgorithm,B.ifMatch,B.ifNoneMatch,B.ifTags,B.encryptionScope],isXML:!0,serializer:st},mPe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Y.BlobAcquireLeaseHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobAcquireLeaseExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.comp10],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.ifModifiedSince,B.ifUnmodifiedSince,B.action,B.duration,B.proposedLeaseId,B.ifMatch,B.ifNoneMatch,B.ifTags],isXML:!0,serializer:st},gPe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Y.BlobReleaseLeaseHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobReleaseLeaseExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.comp10],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.ifModifiedSince,B.ifUnmodifiedSince,B.action1,B.leaseId1,B.ifMatch,B.ifNoneMatch,B.ifTags],isXML:!0,serializer:st},fPe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Y.BlobRenewLeaseHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobRenewLeaseExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.comp10],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.ifModifiedSince,B.ifUnmodifiedSince,B.leaseId1,B.action2,B.ifMatch,B.ifNoneMatch,B.ifTags],isXML:!0,serializer:st},hPe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Y.BlobChangeLeaseHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobChangeLeaseExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.comp10],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.ifModifiedSince,B.ifUnmodifiedSince,B.leaseId1,B.action4,B.proposedLeaseId1,B.ifMatch,B.ifNoneMatch,B.ifTags],isXML:!0,serializer:st},yPe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:Y.BlobBreakLeaseHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobBreakLeaseExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.comp10],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.ifModifiedSince,B.ifUnmodifiedSince,B.action3,B.breakPeriod,B.ifMatch,B.ifNoneMatch,B.ifTags],isXML:!0,serializer:st},CPe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Y.BlobCreateSnapshotHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobCreateSnapshotExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.comp14],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.metadata,B.leaseId,B.ifModifiedSince,B.ifUnmodifiedSince,B.encryptionKey,B.encryptionKeySha256,B.encryptionAlgorithm,B.ifMatch,B.ifNoneMatch,B.ifTags,B.encryptionScope],isXML:!0,serializer:st},EPe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:Y.BlobStartCopyFromURLHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobStartCopyFromURLExceptionHeaders}},queryParameters:[B.timeoutInSeconds],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.metadata,B.leaseId,B.ifModifiedSince,B.ifUnmodifiedSince,B.ifMatch,B.ifNoneMatch,B.ifTags,B.immutabilityPolicyExpiry,B.immutabilityPolicyMode,B.tier,B.rehydratePriority,B.sourceIfModifiedSince,B.sourceIfUnmodifiedSince,B.sourceIfMatch,B.sourceIfNoneMatch,B.sourceIfTags,B.copySource,B.blobTagsString,B.sealBlob,B.legalHold1],isXML:!0,serializer:st},BPe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:Y.BlobCopyFromURLHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobCopyFromURLExceptionHeaders}},queryParameters:[B.timeoutInSeconds],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.metadata,B.leaseId,B.ifModifiedSince,B.ifUnmodifiedSince,B.ifMatch,B.ifNoneMatch,B.ifTags,B.immutabilityPolicyExpiry,B.immutabilityPolicyMode,B.encryptionScope,B.tier,B.sourceIfModifiedSince,B.sourceIfUnmodifiedSince,B.sourceIfMatch,B.sourceIfNoneMatch,B.copySource,B.blobTagsString,B.legalHold1,B.xMsRequiresSync,B.sourceContentMD5,B.copySourceAuthorization,B.copySourceTags,B.fileRequestIntent],isXML:!0,serializer:st},IPe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:Y.BlobAbortCopyFromURLHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobAbortCopyFromURLExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.comp15,B.copyId],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.leaseId,B.copyActionAbortConstant],isXML:!0,serializer:st},bPe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Y.BlobSetTierHeaders},202:{headersMapper:Y.BlobSetTierHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobSetTierExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.snapshot,B.versionId,B.comp16],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.leaseId,B.ifTags,B.rehydratePriority,B.tier1],isXML:!0,serializer:st},QPe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{headersMapper:Y.BlobGetAccountInfoHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobGetAccountInfoExceptionHeaders}},queryParameters:[B.comp,B.timeoutInSeconds,B.restype1],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1],isXML:!0,serializer:st},wPe={path:"/{containerName}/{blob}",httpMethod:"POST",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Y.BlobQueryHeaders},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Y.BlobQueryHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobQueryExceptionHeaders}},requestBody:B.queryRequest,queryParameters:[B.timeoutInSeconds,B.snapshot,B.comp17],urlParameters:[B.url],headerParameters:[B.contentType,B.accept,B.version,B.requestId,B.leaseId,B.ifModifiedSince,B.ifUnmodifiedSince,B.encryptionKey,B.encryptionKeySha256,B.encryptionAlgorithm,B.ifMatch,B.ifNoneMatch,B.ifTags],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:st},NPe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:Y.BlobTags,headersMapper:Y.BlobGetTagsHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobGetTagsExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.snapshot,B.versionId,B.comp18],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.leaseId,B.ifTags,B.ifModifiedSince1,B.ifUnmodifiedSince1,B.ifMatch1,B.ifNoneMatch1],isXML:!0,serializer:st},SPe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:Y.BlobSetTagsHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobSetTagsExceptionHeaders}},requestBody:B.tags,queryParameters:[B.timeoutInSeconds,B.versionId,B.comp18],urlParameters:[B.url],headerParameters:[B.contentType,B.accept,B.version,B.requestId,B.leaseId,B.ifTags,B.ifModifiedSince1,B.ifUnmodifiedSince1,B.ifMatch1,B.ifNoneMatch1,B.transactionalContentMD5,B.transactionalContentCrc64],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:st}});var TW=h(pf=>{"use strict";Object.defineProperty(pf,"__esModule",{value:!0});pf.PageBlobImpl=void 0;var F0=(Jr(),Wt(Yr)),xPe=F0.__importStar(mi()),Ue=F0.__importStar(Us()),_=F0.__importStar(Fo()),L0=class{static{o(this,"PageBlobImpl")}client;constructor(e){this.client=e}create(e,r,n){return this.client.sendOperationRequest({contentLength:e,blobContentLength:r,options:n},vPe)}uploadPages(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},RPe)}clearPages(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},_Pe)}uploadPagesFromURL(e,r,n,i,s){return this.client.sendOperationRequest({sourceUrl:e,sourceRange:r,contentLength:n,range:i,options:s},PPe)}getPageRanges(e){return this.client.sendOperationRequest({options:e},DPe)}getPageRangesDiff(e){return this.client.sendOperationRequest({options:e},TPe)}resize(e,r){return this.client.sendOperationRequest({blobContentLength:e,options:r},OPe)}updateSequenceNumber(e,r){return this.client.sendOperationRequest({sequenceNumberAction:e,options:r},MPe)}copyIncremental(e,r){return this.client.sendOperationRequest({copySource:e,options:r},kPe)}};pf.PageBlobImpl=L0;var rs=xPe.createSerializer(Ue,!0),vPe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Ue.PageBlobCreateHeaders},default:{bodyMapper:Ue.StorageError,headersMapper:Ue.PageBlobCreateExceptionHeaders}},queryParameters:[_.timeoutInSeconds],urlParameters:[_.url],headerParameters:[_.version,_.requestId,_.accept1,_.contentLength,_.metadata,_.leaseId,_.ifModifiedSince,_.ifUnmodifiedSince,_.encryptionKey,_.encryptionKeySha256,_.encryptionAlgorithm,_.ifMatch,_.ifNoneMatch,_.ifTags,_.blobCacheControl,_.blobContentType,_.blobContentMD5,_.blobContentEncoding,_.blobContentLanguage,_.blobContentDisposition,_.immutabilityPolicyExpiry,_.immutabilityPolicyMode,_.encryptionScope,_.tier,_.blobTagsString,_.legalHold1,_.blobType,_.blobContentLength,_.blobSequenceNumber],isXML:!0,serializer:rs},RPe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Ue.PageBlobUploadPagesHeaders},default:{bodyMapper:Ue.StorageError,headersMapper:Ue.PageBlobUploadPagesExceptionHeaders}},requestBody:_.body1,queryParameters:[_.timeoutInSeconds,_.comp19],urlParameters:[_.url],headerParameters:[_.version,_.requestId,_.contentLength,_.leaseId,_.ifModifiedSince,_.ifUnmodifiedSince,_.range,_.encryptionKey,_.encryptionKeySha256,_.encryptionAlgorithm,_.ifMatch,_.ifNoneMatch,_.ifTags,_.encryptionScope,_.transactionalContentMD5,_.transactionalContentCrc64,_.contentType1,_.accept2,_.pageWrite,_.ifSequenceNumberLessThanOrEqualTo,_.ifSequenceNumberLessThan,_.ifSequenceNumberEqualTo],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:rs},_Pe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Ue.PageBlobClearPagesHeaders},default:{bodyMapper:Ue.StorageError,headersMapper:Ue.PageBlobClearPagesExceptionHeaders}},queryParameters:[_.timeoutInSeconds,_.comp19],urlParameters:[_.url],headerParameters:[_.version,_.requestId,_.accept1,_.contentLength,_.leaseId,_.ifModifiedSince,_.ifUnmodifiedSince,_.range,_.encryptionKey,_.encryptionKeySha256,_.encryptionAlgorithm,_.ifMatch,_.ifNoneMatch,_.ifTags,_.encryptionScope,_.ifSequenceNumberLessThanOrEqualTo,_.ifSequenceNumberLessThan,_.ifSequenceNumberEqualTo,_.pageWrite1],isXML:!0,serializer:rs},PPe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Ue.PageBlobUploadPagesFromURLHeaders},default:{bodyMapper:Ue.StorageError,headersMapper:Ue.PageBlobUploadPagesFromURLExceptionHeaders}},queryParameters:[_.timeoutInSeconds,_.comp19],urlParameters:[_.url],headerParameters:[_.version,_.requestId,_.accept1,_.contentLength,_.leaseId,_.ifModifiedSince,_.ifUnmodifiedSince,_.encryptionKey,_.encryptionKeySha256,_.encryptionAlgorithm,_.ifMatch,_.ifNoneMatch,_.ifTags,_.encryptionScope,_.sourceIfModifiedSince,_.sourceIfUnmodifiedSince,_.sourceIfMatch,_.sourceIfNoneMatch,_.sourceContentMD5,_.copySourceAuthorization,_.fileRequestIntent,_.pageWrite,_.ifSequenceNumberLessThanOrEqualTo,_.ifSequenceNumberLessThan,_.ifSequenceNumberEqualTo,_.sourceUrl,_.sourceRange,_.sourceContentCrc64,_.range1],isXML:!0,serializer:rs},DPe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:Ue.PageList,headersMapper:Ue.PageBlobGetPageRangesHeaders},default:{bodyMapper:Ue.StorageError,headersMapper:Ue.PageBlobGetPageRangesExceptionHeaders}},queryParameters:[_.timeoutInSeconds,_.marker,_.maxPageSize,_.snapshot,_.comp20],urlParameters:[_.url],headerParameters:[_.version,_.requestId,_.accept1,_.leaseId,_.ifModifiedSince,_.ifUnmodifiedSince,_.range,_.ifMatch,_.ifNoneMatch,_.ifTags],isXML:!0,serializer:rs},TPe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:Ue.PageList,headersMapper:Ue.PageBlobGetPageRangesDiffHeaders},default:{bodyMapper:Ue.StorageError,headersMapper:Ue.PageBlobGetPageRangesDiffExceptionHeaders}},queryParameters:[_.timeoutInSeconds,_.marker,_.maxPageSize,_.snapshot,_.comp20,_.prevsnapshot],urlParameters:[_.url],headerParameters:[_.version,_.requestId,_.accept1,_.leaseId,_.ifModifiedSince,_.ifUnmodifiedSince,_.range,_.ifMatch,_.ifNoneMatch,_.ifTags,_.prevSnapshotUrl],isXML:!0,serializer:rs},OPe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Ue.PageBlobResizeHeaders},default:{bodyMapper:Ue.StorageError,headersMapper:Ue.PageBlobResizeExceptionHeaders}},queryParameters:[_.comp,_.timeoutInSeconds],urlParameters:[_.url],headerParameters:[_.version,_.requestId,_.accept1,_.leaseId,_.ifModifiedSince,_.ifUnmodifiedSince,_.encryptionKey,_.encryptionKeySha256,_.encryptionAlgorithm,_.ifMatch,_.ifNoneMatch,_.ifTags,_.encryptionScope,_.blobContentLength],isXML:!0,serializer:rs},MPe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Ue.PageBlobUpdateSequenceNumberHeaders},default:{bodyMapper:Ue.StorageError,headersMapper:Ue.PageBlobUpdateSequenceNumberExceptionHeaders}},queryParameters:[_.comp,_.timeoutInSeconds],urlParameters:[_.url],headerParameters:[_.version,_.requestId,_.accept1,_.leaseId,_.ifModifiedSince,_.ifUnmodifiedSince,_.ifMatch,_.ifNoneMatch,_.ifTags,_.blobSequenceNumber,_.sequenceNumberAction],isXML:!0,serializer:rs},kPe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:Ue.PageBlobCopyIncrementalHeaders},default:{bodyMapper:Ue.StorageError,headersMapper:Ue.PageBlobCopyIncrementalExceptionHeaders}},queryParameters:[_.timeoutInSeconds,_.comp21],urlParameters:[_.url],headerParameters:[_.version,_.requestId,_.accept1,_.ifModifiedSince,_.ifUnmodifiedSince,_.ifMatch,_.ifNoneMatch,_.ifTags,_.copySource],isXML:!0,serializer:rs}});var OW=h(gf=>{"use strict";Object.defineProperty(gf,"__esModule",{value:!0});gf.AppendBlobImpl=void 0;var q0=(Jr(),Wt(Yr)),LPe=q0.__importStar(mi()),$r=q0.__importStar(Us()),H=q0.__importStar(Fo()),U0=class{static{o(this,"AppendBlobImpl")}client;constructor(e){this.client=e}create(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},FPe)}appendBlock(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},UPe)}appendBlockFromUrl(e,r,n){return this.client.sendOperationRequest({sourceUrl:e,contentLength:r,options:n},qPe)}seal(e){return this.client.sendOperationRequest({options:e},HPe)}};gf.AppendBlobImpl=U0;var mf=LPe.createSerializer($r,!0),FPe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:$r.AppendBlobCreateHeaders},default:{bodyMapper:$r.StorageError,headersMapper:$r.AppendBlobCreateExceptionHeaders}},queryParameters:[H.timeoutInSeconds],urlParameters:[H.url],headerParameters:[H.version,H.requestId,H.accept1,H.contentLength,H.metadata,H.leaseId,H.ifModifiedSince,H.ifUnmodifiedSince,H.encryptionKey,H.encryptionKeySha256,H.encryptionAlgorithm,H.ifMatch,H.ifNoneMatch,H.ifTags,H.blobCacheControl,H.blobContentType,H.blobContentMD5,H.blobContentEncoding,H.blobContentLanguage,H.blobContentDisposition,H.immutabilityPolicyExpiry,H.immutabilityPolicyMode,H.encryptionScope,H.blobTagsString,H.legalHold1,H.blobType1],isXML:!0,serializer:mf},UPe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:$r.AppendBlobAppendBlockHeaders},default:{bodyMapper:$r.StorageError,headersMapper:$r.AppendBlobAppendBlockExceptionHeaders}},requestBody:H.body1,queryParameters:[H.timeoutInSeconds,H.comp22],urlParameters:[H.url],headerParameters:[H.version,H.requestId,H.contentLength,H.leaseId,H.ifModifiedSince,H.ifUnmodifiedSince,H.encryptionKey,H.encryptionKeySha256,H.encryptionAlgorithm,H.ifMatch,H.ifNoneMatch,H.ifTags,H.encryptionScope,H.transactionalContentMD5,H.transactionalContentCrc64,H.contentType1,H.accept2,H.maxSize,H.appendPosition],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:mf},qPe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:$r.AppendBlobAppendBlockFromUrlHeaders},default:{bodyMapper:$r.StorageError,headersMapper:$r.AppendBlobAppendBlockFromUrlExceptionHeaders}},queryParameters:[H.timeoutInSeconds,H.comp22],urlParameters:[H.url],headerParameters:[H.version,H.requestId,H.accept1,H.contentLength,H.leaseId,H.ifModifiedSince,H.ifUnmodifiedSince,H.encryptionKey,H.encryptionKeySha256,H.encryptionAlgorithm,H.ifMatch,H.ifNoneMatch,H.ifTags,H.encryptionScope,H.sourceIfModifiedSince,H.sourceIfUnmodifiedSince,H.sourceIfMatch,H.sourceIfNoneMatch,H.sourceContentMD5,H.copySourceAuthorization,H.fileRequestIntent,H.transactionalContentMD5,H.sourceUrl,H.sourceContentCrc64,H.maxSize,H.appendPosition,H.sourceRange1],isXML:!0,serializer:mf},HPe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:$r.AppendBlobSealHeaders},default:{bodyMapper:$r.StorageError,headersMapper:$r.AppendBlobSealExceptionHeaders}},queryParameters:[H.timeoutInSeconds,H.comp23],urlParameters:[H.url],headerParameters:[H.version,H.requestId,H.accept1,H.leaseId,H.ifModifiedSince,H.ifUnmodifiedSince,H.ifMatch,H.ifNoneMatch,H.appendPosition],isXML:!0,serializer:mf}});var MW=h(ff=>{"use strict";Object.defineProperty(ff,"__esModule",{value:!0});ff.BlockBlobImpl=void 0;var z0=(Jr(),Wt(Yr)),zPe=z0.__importStar(mi()),xt=z0.__importStar(Us()),D=z0.__importStar(Fo()),H0=class{static{o(this,"BlockBlobImpl")}client;constructor(e){this.client=e}upload(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},jPe)}putBlobFromUrl(e,r,n){return this.client.sendOperationRequest({contentLength:e,copySource:r,options:n},GPe)}stageBlock(e,r,n,i){return this.client.sendOperationRequest({blockId:e,contentLength:r,body:n,options:i},YPe)}stageBlockFromURL(e,r,n,i){return this.client.sendOperationRequest({blockId:e,contentLength:r,sourceUrl:n,options:i},JPe)}commitBlockList(e,r){return this.client.sendOperationRequest({blocks:e,options:r},VPe)}getBlockList(e,r){return this.client.sendOperationRequest({listType:e,options:r},WPe)}};ff.BlockBlobImpl=H0;var jc=zPe.createSerializer(xt,!0),jPe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:xt.BlockBlobUploadHeaders},default:{bodyMapper:xt.StorageError,headersMapper:xt.BlockBlobUploadExceptionHeaders}},requestBody:D.body1,queryParameters:[D.timeoutInSeconds],urlParameters:[D.url],headerParameters:[D.version,D.requestId,D.contentLength,D.metadata,D.leaseId,D.ifModifiedSince,D.ifUnmodifiedSince,D.encryptionKey,D.encryptionKeySha256,D.encryptionAlgorithm,D.ifMatch,D.ifNoneMatch,D.ifTags,D.blobCacheControl,D.blobContentType,D.blobContentMD5,D.blobContentEncoding,D.blobContentLanguage,D.blobContentDisposition,D.immutabilityPolicyExpiry,D.immutabilityPolicyMode,D.encryptionScope,D.tier,D.blobTagsString,D.legalHold1,D.transactionalContentMD5,D.transactionalContentCrc64,D.contentType1,D.accept2,D.blobType2],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:jc},GPe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:xt.BlockBlobPutBlobFromUrlHeaders},default:{bodyMapper:xt.StorageError,headersMapper:xt.BlockBlobPutBlobFromUrlExceptionHeaders}},queryParameters:[D.timeoutInSeconds],urlParameters:[D.url],headerParameters:[D.version,D.requestId,D.accept1,D.contentLength,D.metadata,D.leaseId,D.ifModifiedSince,D.ifUnmodifiedSince,D.encryptionKey,D.encryptionKeySha256,D.encryptionAlgorithm,D.ifMatch,D.ifNoneMatch,D.ifTags,D.blobCacheControl,D.blobContentType,D.blobContentMD5,D.blobContentEncoding,D.blobContentLanguage,D.blobContentDisposition,D.encryptionScope,D.tier,D.sourceIfModifiedSince,D.sourceIfUnmodifiedSince,D.sourceIfMatch,D.sourceIfNoneMatch,D.sourceIfTags,D.copySource,D.blobTagsString,D.sourceContentMD5,D.copySourceAuthorization,D.copySourceTags,D.fileRequestIntent,D.transactionalContentMD5,D.blobType2,D.copySourceBlobProperties],isXML:!0,serializer:jc},YPe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:xt.BlockBlobStageBlockHeaders},default:{bodyMapper:xt.StorageError,headersMapper:xt.BlockBlobStageBlockExceptionHeaders}},requestBody:D.body1,queryParameters:[D.timeoutInSeconds,D.comp24,D.blockId],urlParameters:[D.url],headerParameters:[D.version,D.requestId,D.contentLength,D.leaseId,D.encryptionKey,D.encryptionKeySha256,D.encryptionAlgorithm,D.encryptionScope,D.transactionalContentMD5,D.transactionalContentCrc64,D.contentType1,D.accept2],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:jc},JPe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:xt.BlockBlobStageBlockFromURLHeaders},default:{bodyMapper:xt.StorageError,headersMapper:xt.BlockBlobStageBlockFromURLExceptionHeaders}},queryParameters:[D.timeoutInSeconds,D.comp24,D.blockId],urlParameters:[D.url],headerParameters:[D.version,D.requestId,D.accept1,D.contentLength,D.leaseId,D.encryptionKey,D.encryptionKeySha256,D.encryptionAlgorithm,D.encryptionScope,D.sourceIfModifiedSince,D.sourceIfUnmodifiedSince,D.sourceIfMatch,D.sourceIfNoneMatch,D.sourceContentMD5,D.copySourceAuthorization,D.fileRequestIntent,D.sourceUrl,D.sourceContentCrc64,D.sourceRange1],isXML:!0,serializer:jc},VPe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:xt.BlockBlobCommitBlockListHeaders},default:{bodyMapper:xt.StorageError,headersMapper:xt.BlockBlobCommitBlockListExceptionHeaders}},requestBody:D.blocks,queryParameters:[D.timeoutInSeconds,D.comp25],urlParameters:[D.url],headerParameters:[D.contentType,D.accept,D.version,D.requestId,D.metadata,D.leaseId,D.ifModifiedSince,D.ifUnmodifiedSince,D.encryptionKey,D.encryptionKeySha256,D.encryptionAlgorithm,D.ifMatch,D.ifNoneMatch,D.ifTags,D.blobCacheControl,D.blobContentType,D.blobContentMD5,D.blobContentEncoding,D.blobContentLanguage,D.blobContentDisposition,D.immutabilityPolicyExpiry,D.immutabilityPolicyMode,D.encryptionScope,D.tier,D.blobTagsString,D.legalHold1,D.transactionalContentMD5,D.transactionalContentCrc64],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:jc},WPe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:xt.BlockList,headersMapper:xt.BlockBlobGetBlockListHeaders},default:{bodyMapper:xt.StorageError,headersMapper:xt.BlockBlobGetBlockListExceptionHeaders}},queryParameters:[D.timeoutInSeconds,D.snapshot,D.comp25,D.listType],urlParameters:[D.url],headerParameters:[D.version,D.requestId,D.accept1,D.leaseId,D.ifTags],isXML:!0,serializer:jc}});var kW=h(Hs=>{"use strict";Object.defineProperty(Hs,"__esModule",{value:!0});var Gc=(Jr(),Wt(Yr));Gc.__exportStar(_W(),Hs);Gc.__exportStar(PW(),Hs);Gc.__exportStar(DW(),Hs);Gc.__exportStar(TW(),Hs);Gc.__exportStar(OW(),Hs);Gc.__exportStar(MW(),Hs)});var LW=h(hf=>{"use strict";Object.defineProperty(hf,"__esModule",{value:!0});hf.StorageClient=void 0;var KPe=(Jr(),Wt(Yr)),$Pe=KPe.__importStar(Og()),Yc=kW(),j0=class extends $Pe.ExtendedServiceClient{static{o(this,"StorageClient")}url;version;constructor(e,r){if(e===void 0)throw new Error("'url' cannot be null");r||(r={});let n={requestContentType:"application/json; charset=utf-8"},i="azsdk-js-azure-storage-blob/12.30.0",s=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${i}`:`${i}`,a={...n,...r,userAgentOptions:{userAgentPrefix:s},endpoint:r.endpoint??r.baseUri??"{url}"};super(a),this.url=e,this.version=r.version||"2026-02-06",this.service=new Yc.ServiceImpl(this),this.container=new Yc.ContainerImpl(this),this.blob=new Yc.BlobImpl(this),this.pageBlob=new Yc.PageBlobImpl(this),this.appendBlob=new Yc.AppendBlobImpl(this),this.blockBlob=new Yc.BlockBlobImpl(this)}service;container;blob;pageBlob;appendBlob;blockBlob};hf.StorageClient=j0});var UW=h(FW=>{"use strict";Object.defineProperty(FW,"__esModule",{value:!0})});var HW=h(qW=>{"use strict";Object.defineProperty(qW,"__esModule",{value:!0})});var jW=h(zW=>{"use strict";Object.defineProperty(zW,"__esModule",{value:!0})});var YW=h(GW=>{"use strict";Object.defineProperty(GW,"__esModule",{value:!0})});var VW=h(JW=>{"use strict";Object.defineProperty(JW,"__esModule",{value:!0})});var KW=h(WW=>{"use strict";Object.defineProperty(WW,"__esModule",{value:!0})});var $W=h(zs=>{"use strict";Object.defineProperty(zs,"__esModule",{value:!0});var Jc=(Jr(),Wt(Yr));Jc.__exportStar(UW(),zs);Jc.__exportStar(HW(),zs);Jc.__exportStar(jW(),zs);Jc.__exportStar(YW(),zs);Jc.__exportStar(VW(),zs);Jc.__exportStar(KW(),zs)});var ZW=h(Vc=>{"use strict";Object.defineProperty(Vc,"__esModule",{value:!0});Vc.StorageClient=void 0;var XW=(Jr(),Wt(Yr));XW.__exportStar(RW(),Vc);var XPe=LW();Object.defineProperty(Vc,"StorageClient",{enumerable:!0,get:function(){return XPe.StorageClient}});XW.__exportStar($W(),Vc)});var Y0=h(yf=>{"use strict";Object.defineProperty(yf,"__esModule",{value:!0});yf.StorageContextClient=void 0;var ZPe=ZW(),G0=class extends ZPe.StorageClient{static{o(this,"StorageContextClient")}async sendOperationRequest(e,r){let n={...r};return(n.path==="/{containerName}"||n.path==="/{containerName}/{blob}")&&(n.path=""),super.sendOperationRequest(e,n)}};yf.StorageContextClient=G0});var In=h(Ie=>{"use strict";Object.defineProperty(Ie,"__esModule",{value:!0});Ie.escapeURLPath=tDe;Ie.getValueInConnString=js;Ie.extractConnectionStringParts=nDe;Ie.appendToURLPath=sDe;Ie.setURLParameter=t3;Ie.getURLParameter=r3;Ie.setURLHost=oDe;Ie.getURLPath=aDe;Ie.getURLScheme=cDe;Ie.getURLPathAndQuery=lDe;Ie.getURLQueries=ADe;Ie.appendToURLQuery=uDe;Ie.truncatedISO8061Date=dDe;Ie.base64encode=n3;Ie.base64decode=pDe;Ie.generateBlockID=mDe;Ie.delay=gDe;Ie.padStart=i3;Ie.sanitizeURL=s3;Ie.sanitizeHeaders=fDe;Ie.iEqual=hDe;Ie.getAccountNameFromUrl=o3;Ie.isIpEndpointStyle=a3;Ie.toBlobTagsString=yDe;Ie.toBlobTags=CDe;Ie.toTags=EDe;Ie.toQuerySerialization=BDe;Ie.parseObjectReplicationRecord=IDe;Ie.attachCredential=bDe;Ie.httpAuthorizationToString=QDe;Ie.BlobNameToString=Cf;Ie.ConvertInternalResponseOfListBlobFlat=wDe;Ie.ConvertInternalResponseOfListBlobHierarchy=NDe;Ie.ExtractPageRangeInfoItems=SDe;Ie.EscapePath=xDe;Ie.assertResponse=vDe;var eDe=Pt(),e3=ut(),Wc=Wr();function tDe(t){let e=new URL(t),r=e.pathname;return r=r||"/",r=iDe(r),e.pathname=r,e.toString()}o(tDe,"escapeURLPath");function rDe(t){let e="";if(t.search("DevelopmentStorageProxyUri=")!==-1){let r=t.split(";");for(let n of r)n.trim().startsWith("DevelopmentStorageProxyUri=")&&(e=n.trim().match("DevelopmentStorageProxyUri=(.*)")[1])}return e}o(rDe,"getProxyUriFromDevConnString");function js(t,e){let r=t.split(";");for(let n of r)if(n.trim().startsWith(e))return n.trim().match(e+"=(.*)")[1];return""}o(js,"getValueInConnString");function nDe(t){let e="";t.startsWith("UseDevelopmentStorage=true")&&(e=rDe(t),t=Wc.DevelopmentConnectionString);let r=js(t,"BlobEndpoint");if(r=r.endsWith("/")?r.slice(0,-1):r,t.search("DefaultEndpointsProtocol=")!==-1&&t.search("AccountKey=")!==-1){let n="",i="",s=Buffer.from("accountKey","base64"),a="";if(i=js(t,"AccountName"),s=Buffer.from(js(t,"AccountKey"),"base64"),!r){n=js(t,"DefaultEndpointsProtocol");let c=n.toLowerCase();if(c!=="https"&&c!=="http")throw new Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'");if(a=js(t,"EndpointSuffix"),!a)throw new Error("Invalid EndpointSuffix in the provided Connection String");r=`${n}://${i}.blob.${a}`}if(i){if(s.length===0)throw new Error("Invalid AccountKey in the provided Connection String")}else throw new Error("Invalid AccountName in the provided Connection String");return{kind:"AccountConnString",url:r,accountName:i,accountKey:s,proxyUri:e}}else{let n=js(t,"SharedAccessSignature"),i=js(t,"AccountName");if(i||(i=o3(r)),r){if(!n)throw new Error("Invalid SharedAccessSignature in the provided SAS Connection String")}else throw new Error("Invalid BlobEndpoint in the provided SAS Connection String");return n.startsWith("?")&&(n=n.substring(1)),{kind:"SASConnString",url:r,accountName:i,accountSas:n}}}o(nDe,"extractConnectionStringParts");function iDe(t){return encodeURIComponent(t).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}o(iDe,"escape");function sDe(t,e){let r=new URL(t),n=r.pathname;return n=n?n.endsWith("/")?`${n}${e}`:`${n}/${e}`:e,r.pathname=n,r.toString()}o(sDe,"appendToURLPath");function t3(t,e,r){let n=new URL(t),i=encodeURIComponent(e),s=r?encodeURIComponent(r):void 0,a=n.search===""?"?":n.search,c=[];for(let l of a.slice(1).split("&"))if(l){let[A]=l.split("=",2);A!==i&&c.push(l)}return s&&c.push(`${i}=${s}`),n.search=c.length?`?${c.join("&")}`:"",n.toString()}o(t3,"setURLParameter");function r3(t,e){return new URL(t).searchParams.get(e)??void 0}o(r3,"getURLParameter");function oDe(t,e){let r=new URL(t);return r.hostname=e,r.toString()}o(oDe,"setURLHost");function aDe(t){try{return new URL(t).pathname}catch{return}}o(aDe,"getURLPath");function cDe(t){try{let e=new URL(t);return e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol}catch{return}}o(cDe,"getURLScheme");function lDe(t){let e=new URL(t),r=e.pathname;if(!r)throw new RangeError("Invalid url without valid path.");let n=e.search||"";return n=n.trim(),n!==""&&(n=n.startsWith("?")?n:`?${n}`),`${r}${n}`}o(lDe,"getURLPathAndQuery");function ADe(t){let e=new URL(t).search;if(!e)return{};e=e.trim(),e=e.startsWith("?")?e.substring(1):e;let r=e.split("&");r=r.filter(i=>{let s=i.indexOf("="),a=i.lastIndexOf("=");return s>0&&s===a&&a42&&(t=t.slice(0,42));let s=t+i3(e.toString(),48-t.length,"0");return n3(s)}o(mDe,"generateBlockID");async function gDe(t,e,r){return new Promise((n,i)=>{let s,a=o(()=>{s!==void 0&&clearTimeout(s),i(r)},"abortHandler");s=setTimeout(o(()=>{e!==void 0&&e.removeEventListener("abort",a),n()},"resolveHandler"),t),e!==void 0&&e.addEventListener("abort",a)})}o(gDe,"delay");function i3(t,e,r=" "){return String.prototype.padStart?t.padStart(e,r):(r=r||" ",t.length>e?t:(e=e-t.length,e>r.length&&(r+=r.repeat(e/r.length)),r.slice(0,e)+t))}o(i3,"padStart");function s3(t){let e=t;return r3(e,Wc.URLConstants.Parameters.SIGNATURE)&&(e=t3(e,Wc.URLConstants.Parameters.SIGNATURE,"*****")),e}o(s3,"sanitizeURL");function fDe(t){let e=(0,eDe.createHttpHeaders)();for(let[r,n]of t)r.toLowerCase()===Wc.HeaderConstants.AUTHORIZATION.toLowerCase()?e.set(r,"*****"):r.toLowerCase()===Wc.HeaderConstants.X_MS_COPY_SOURCE?e.set(r,s3(n)):e.set(r,n);return e}o(fDe,"sanitizeHeaders");function hDe(t,e){return t.toLocaleLowerCase()===e.toLocaleLowerCase()}o(hDe,"iEqual");function o3(t){let e=new URL(t),r;try{return e.hostname.split(".")[1]==="blob"?r=e.hostname.split(".")[0]:a3(e)?r=e.pathname.split("/")[1]:r="",r}catch{throw new Error("Unable to extract accountName with provided information.")}}o(o3,"getAccountNameFromUrl");function a3(t){let e=t.host;return/^.*:.*:.*$|^(localhost|host.docker.internal)(:[0-9]+)?$|^(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])(\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])){3}(:[0-9]+)?$/.test(e)||!!t.port&&Wc.PathStylePorts.includes(t.port)}o(a3,"isIpEndpointStyle");function yDe(t){if(t===void 0)return;let e=[];for(let r in t)if(Object.prototype.hasOwnProperty.call(t,r)){let n=t[r];e.push(`${encodeURIComponent(r)}=${encodeURIComponent(n)}`)}return e.join("&")}o(yDe,"toBlobTagsString");function CDe(t){if(t===void 0)return;let e={blobTagSet:[]};for(let r in t)if(Object.prototype.hasOwnProperty.call(t,r)){let n=t[r];e.blobTagSet.push({key:r,value:n})}return e}o(CDe,"toBlobTags");function EDe(t){if(t===void 0)return;let e={};for(let r of t.blobTagSet)e[r.key]=r.value;return e}o(EDe,"toTags");function BDe(t){if(t!==void 0)switch(t.kind){case"csv":return{format:{type:"delimited",delimitedTextConfiguration:{columnSeparator:t.columnSeparator||",",fieldQuote:t.fieldQuote||"",recordSeparator:t.recordSeparator,escapeChar:t.escapeCharacter||"",headersPresent:t.hasHeaders||!1}}};case"json":return{format:{type:"json",jsonTextConfiguration:{recordSeparator:t.recordSeparator}}};case"arrow":return{format:{type:"arrow",arrowConfiguration:{schema:t.schema}}};case"parquet":return{format:{type:"parquet"}};default:throw Error("Invalid BlobQueryTextConfiguration.")}}o(BDe,"toQuerySerialization");function IDe(t){if(!t||"policy-id"in t)return;let e=[];for(let r in t){let n=r.split("_"),i="or-";n[0].startsWith(i)&&(n[0]=n[0].substring(i.length));let s={ruleId:n[1],replicationStatus:t[r]},a=e.findIndex(c=>c.policyId===n[0]);a>-1?e[a].rules.push(s):e.push({policyId:n[0],rules:[s]})}return e}o(IDe,"parseObjectReplicationRecord");function bDe(t,e){return t.credential=e,t}o(bDe,"attachCredential");function QDe(t){return t?t.scheme+" "+t.value:void 0}o(QDe,"httpAuthorizationToString");function Cf(t){return t.encoded?decodeURIComponent(t.content):t.content}o(Cf,"BlobNameToString");function wDe(t){return{...t,segment:{blobItems:t.segment.blobItems.map(e=>({...e,name:Cf(e.name)}))}}}o(wDe,"ConvertInternalResponseOfListBlobFlat");function NDe(t){return{...t,segment:{blobPrefixes:t.segment.blobPrefixes?.map(e=>({...e,name:Cf(e.name)})),blobItems:t.segment.blobItems.map(e=>({...e,name:Cf(e.name)}))}}}o(NDe,"ConvertInternalResponseOfListBlobHierarchy");function*SDe(t){let e=[],r=[];t.pageRange&&(e=t.pageRange),t.clearRange&&(r=t.clearRange);let n=0,i=0;for(;n{"use strict";Object.defineProperty(Bf,"__esModule",{value:!0});Bf.StorageClient=void 0;var RDe=Y0(),c3=Fs(),Ef=In(),J0=class{static{o(this,"StorageClient")}url;accountName;pipeline;credential;storageClientContext;isHttps;constructor(e,r){this.url=(0,Ef.escapeURLPath)(e),this.accountName=(0,Ef.getAccountNameFromUrl)(e),this.pipeline=r,this.storageClientContext=new RDe.StorageContextClient(this.url,(0,c3.getCoreClientOptions)(r)),this.isHttps=(0,Ef.iEqual)((0,Ef.getURLScheme)(this.url)||"","https"),this.credential=(0,c3.getCredentialFromPipeline)(r);let n=this.storageClientContext;n.requestContentType=void 0}};Bf.StorageClient=J0});var Uo=h(bf=>{"use strict";Object.defineProperty(bf,"__esModule",{value:!0});bf.tracingClient=void 0;var _De=Vw(),PDe=Wr();bf.tracingClient=(0,_De.createTracingClient)({packageName:"@azure/storage-blob",packageVersion:PDe.SDK_VERSION,namespace:"Microsoft.Storage"})});var W0=h(Qf=>{"use strict";Object.defineProperty(Qf,"__esModule",{value:!0});Qf.BlobSASPermissions=void 0;var V0=class t{static{o(this,"BlobSASPermissions")}static parse(e){let r=new t;for(let n of e)switch(n){case"r":r.read=!0;break;case"a":r.add=!0;break;case"c":r.create=!0;break;case"w":r.write=!0;break;case"d":r.delete=!0;break;case"x":r.deleteVersion=!0;break;case"t":r.tag=!0;break;case"m":r.move=!0;break;case"e":r.execute=!0;break;case"i":r.setImmutabilityPolicy=!0;break;case"y":r.permanentDelete=!0;break;default:throw new RangeError(`Invalid permission: ${n}`)}return r}static from(e){let r=new t;return e.read&&(r.read=!0),e.add&&(r.add=!0),e.create&&(r.create=!0),e.write&&(r.write=!0),e.delete&&(r.delete=!0),e.deleteVersion&&(r.deleteVersion=!0),e.tag&&(r.tag=!0),e.move&&(r.move=!0),e.execute&&(r.execute=!0),e.setImmutabilityPolicy&&(r.setImmutabilityPolicy=!0),e.permanentDelete&&(r.permanentDelete=!0),r}read=!1;add=!1;create=!1;write=!1;delete=!1;deleteVersion=!1;tag=!1;move=!1;execute=!1;setImmutabilityPolicy=!1;permanentDelete=!1;toString(){let e=[];return this.read&&e.push("r"),this.add&&e.push("a"),this.create&&e.push("c"),this.write&&e.push("w"),this.delete&&e.push("d"),this.deleteVersion&&e.push("x"),this.tag&&e.push("t"),this.move&&e.push("m"),this.execute&&e.push("e"),this.setImmutabilityPolicy&&e.push("i"),this.permanentDelete&&e.push("y"),e.join("")}};Qf.BlobSASPermissions=V0});var $0=h(wf=>{"use strict";Object.defineProperty(wf,"__esModule",{value:!0});wf.ContainerSASPermissions=void 0;var K0=class t{static{o(this,"ContainerSASPermissions")}static parse(e){let r=new t;for(let n of e)switch(n){case"r":r.read=!0;break;case"a":r.add=!0;break;case"c":r.create=!0;break;case"w":r.write=!0;break;case"d":r.delete=!0;break;case"l":r.list=!0;break;case"t":r.tag=!0;break;case"x":r.deleteVersion=!0;break;case"m":r.move=!0;break;case"e":r.execute=!0;break;case"i":r.setImmutabilityPolicy=!0;break;case"y":r.permanentDelete=!0;break;case"f":r.filterByTags=!0;break;default:throw new RangeError(`Invalid permission ${n}`)}return r}static from(e){let r=new t;return e.read&&(r.read=!0),e.add&&(r.add=!0),e.create&&(r.create=!0),e.write&&(r.write=!0),e.delete&&(r.delete=!0),e.list&&(r.list=!0),e.deleteVersion&&(r.deleteVersion=!0),e.tag&&(r.tag=!0),e.move&&(r.move=!0),e.execute&&(r.execute=!0),e.setImmutabilityPolicy&&(r.setImmutabilityPolicy=!0),e.permanentDelete&&(r.permanentDelete=!0),e.filterByTags&&(r.filterByTags=!0),r}read=!1;add=!1;create=!1;write=!1;delete=!1;deleteVersion=!1;list=!1;tag=!1;move=!1;execute=!1;setImmutabilityPolicy=!1;permanentDelete=!1;filterByTags=!1;toString(){let e=[];return this.read&&e.push("r"),this.add&&e.push("a"),this.create&&e.push("c"),this.write&&e.push("w"),this.delete&&e.push("d"),this.deleteVersion&&e.push("x"),this.list&&e.push("l"),this.tag&&e.push("t"),this.move&&e.push("m"),this.execute&&e.push("e"),this.setImmutabilityPolicy&&e.push("i"),this.permanentDelete&&e.push("y"),this.filterByTags&&e.push("f"),e.join("")}};wf.ContainerSASPermissions=K0});var Nf=h(X0=>{"use strict";Object.defineProperty(X0,"__esModule",{value:!0});X0.ipRangeToString=DDe;function DDe(t){return t.end?`${t.start}-${t.end}`:t.start}o(DDe,"ipRangeToString")});var xf=h(Kc=>{"use strict";Object.defineProperty(Kc,"__esModule",{value:!0});Kc.SASQueryParameters=Kc.SASProtocol=void 0;var TDe=Nf(),Sf=In(),l3;(function(t){t.Https="https",t.HttpsAndHttp="https,http"})(l3||(Kc.SASProtocol=l3={}));var Z0=class{static{o(this,"SASQueryParameters")}version;protocol;startsOn;expiresOn;permissions;services;resourceTypes;identifier;delegatedUserObjectId;encryptionScope;resource;signature;cacheControl;contentDisposition;contentEncoding;contentLanguage;contentType;ipRangeInner;signedOid;signedTenantId;signedStartsOn;signedExpiresOn;signedService;signedVersion;preauthorizedAgentObjectId;correlationId;get ipRange(){if(this.ipRangeInner)return{end:this.ipRangeInner.end,start:this.ipRangeInner.start}}constructor(e,r,n,i,s,a,c,l,A,u,d,g,f,C,Q,x,w,v,T,L,W){this.version=e,this.signature=r,n!==void 0&&typeof n!="string"?(this.permissions=n.permissions,this.services=n.services,this.resourceTypes=n.resourceTypes,this.protocol=n.protocol,this.startsOn=n.startsOn,this.expiresOn=n.expiresOn,this.ipRangeInner=n.ipRange,this.identifier=n.identifier,this.delegatedUserObjectId=n.delegatedUserObjectId,this.encryptionScope=n.encryptionScope,this.resource=n.resource,this.cacheControl=n.cacheControl,this.contentDisposition=n.contentDisposition,this.contentEncoding=n.contentEncoding,this.contentLanguage=n.contentLanguage,this.contentType=n.contentType,n.userDelegationKey&&(this.signedOid=n.userDelegationKey.signedObjectId,this.signedTenantId=n.userDelegationKey.signedTenantId,this.signedStartsOn=n.userDelegationKey.signedStartsOn,this.signedExpiresOn=n.userDelegationKey.signedExpiresOn,this.signedService=n.userDelegationKey.signedService,this.signedVersion=n.userDelegationKey.signedVersion,this.preauthorizedAgentObjectId=n.preauthorizedAgentObjectId,this.correlationId=n.correlationId)):(this.services=i,this.resourceTypes=s,this.expiresOn=l,this.permissions=n,this.protocol=a,this.startsOn=c,this.ipRangeInner=A,this.delegatedUserObjectId=W,this.encryptionScope=L,this.identifier=u,this.resource=d,this.cacheControl=g,this.contentDisposition=f,this.contentEncoding=C,this.contentLanguage=Q,this.contentType=x,w&&(this.signedOid=w.signedObjectId,this.signedTenantId=w.signedTenantId,this.signedStartsOn=w.signedStartsOn,this.signedExpiresOn=w.signedExpiresOn,this.signedService=w.signedService,this.signedVersion=w.signedVersion,this.preauthorizedAgentObjectId=v,this.correlationId=T))}toString(){let e=["sv","ss","srt","spr","st","se","sip","si","ses","skoid","sktid","skt","ske","sks","skv","sr","sp","sig","rscc","rscd","rsce","rscl","rsct","saoid","scid","sduoid"],r=[];for(let n of e)switch(n){case"sv":this.tryAppendQueryParameter(r,n,this.version);break;case"ss":this.tryAppendQueryParameter(r,n,this.services);break;case"srt":this.tryAppendQueryParameter(r,n,this.resourceTypes);break;case"spr":this.tryAppendQueryParameter(r,n,this.protocol);break;case"st":this.tryAppendQueryParameter(r,n,this.startsOn?(0,Sf.truncatedISO8061Date)(this.startsOn,!1):void 0);break;case"se":this.tryAppendQueryParameter(r,n,this.expiresOn?(0,Sf.truncatedISO8061Date)(this.expiresOn,!1):void 0);break;case"sip":this.tryAppendQueryParameter(r,n,this.ipRange?(0,TDe.ipRangeToString)(this.ipRange):void 0);break;case"si":this.tryAppendQueryParameter(r,n,this.identifier);break;case"ses":this.tryAppendQueryParameter(r,n,this.encryptionScope);break;case"skoid":this.tryAppendQueryParameter(r,n,this.signedOid);break;case"sktid":this.tryAppendQueryParameter(r,n,this.signedTenantId);break;case"skt":this.tryAppendQueryParameter(r,n,this.signedStartsOn?(0,Sf.truncatedISO8061Date)(this.signedStartsOn,!1):void 0);break;case"ske":this.tryAppendQueryParameter(r,n,this.signedExpiresOn?(0,Sf.truncatedISO8061Date)(this.signedExpiresOn,!1):void 0);break;case"sks":this.tryAppendQueryParameter(r,n,this.signedService);break;case"skv":this.tryAppendQueryParameter(r,n,this.signedVersion);break;case"sr":this.tryAppendQueryParameter(r,n,this.resource);break;case"sp":this.tryAppendQueryParameter(r,n,this.permissions);break;case"sig":this.tryAppendQueryParameter(r,n,this.signature);break;case"rscc":this.tryAppendQueryParameter(r,n,this.cacheControl);break;case"rscd":this.tryAppendQueryParameter(r,n,this.contentDisposition);break;case"rsce":this.tryAppendQueryParameter(r,n,this.contentEncoding);break;case"rscl":this.tryAppendQueryParameter(r,n,this.contentLanguage);break;case"rsct":this.tryAppendQueryParameter(r,n,this.contentType);break;case"saoid":this.tryAppendQueryParameter(r,n,this.preauthorizedAgentObjectId);break;case"scid":this.tryAppendQueryParameter(r,n,this.correlationId);break;case"sduoid":this.tryAppendQueryParameter(r,n,this.delegatedUserObjectId);break}return r.join("&")}tryAppendQueryParameter(e,r,n){n&&(r=encodeURIComponent(r),n=encodeURIComponent(n),r.length>0&&n.length>0&&e.push(`${r}=${n}`))}};Kc.SASQueryParameters=Z0});var Rf=h(vf=>{"use strict";Object.defineProperty(vf,"__esModule",{value:!0});vf.generateBlobSASQueryParameters=kDe;vf.generateBlobSASQueryParametersInternal=u3;var qo=W0(),Ho=$0(),ODe=jn(),zo=Nf(),jo=xf(),A3=Wr(),gt=In(),MDe=jn();function kDe(t,e,r){return u3(t,e,r).sasQueryParameters}o(kDe,"generateBlobSASQueryParameters");function u3(t,e,r){let n=t.version?t.version:A3.SERVICE_VERSION,i=e instanceof ODe.StorageSharedKeyCredential?e:void 0,s;if(i===void 0&&r!==void 0&&(s=new MDe.UserDelegationKeyCredential(r,e)),i===void 0&&s===void 0)throw TypeError("Invalid sharedKeyCredential, userDelegationKey or accountName.");if(n>="2020-12-06")return i!==void 0?UDe(t,i):n>="2025-07-05"?jDe(t,s):zDe(t,s);if(n>="2018-11-09")return i!==void 0?FDe(t,i):n>="2020-02-10"?HDe(t,s):qDe(t,s);if(n>="2015-04-05"){if(i!==void 0)return LDe(t,i);throw new RangeError("'version' must be >= '2018-11-09' when generating user delegation SAS using user delegation key.")}throw new RangeError("'version' must be >= '2015-04-05'.")}o(u3,"generateBlobSASQueryParametersInternal");function LDe(t,e){if(t=Yo(t),!t.identifier&&!(t.permissions&&t.expiresOn))throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c";t.blobName&&(r="b");let n;t.permissions&&(t.blobName?n=qo.BlobSASPermissions.parse(t.permissions.toString()).toString():n=Ho.ContainerSASPermissions.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?(0,gt.truncatedISO8061Date)(t.startsOn,!1):"",t.expiresOn?(0,gt.truncatedISO8061Date)(t.expiresOn,!1):"",Go(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?(0,zo.ipRangeToString)(t.ipRange):"",t.protocol?t.protocol:"",t.version,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(` -`),s=e.computeHMACSHA256(i);return{sasQueryParameters:new jo.SASQueryParameters(t.version,s,n,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType),stringToSign:i}}o(LDe,"generateBlobSASQueryParameters20150405");function FDe(t,e){if(t=Yo(t),!t.identifier&&!(t.permissions&&t.expiresOn))throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let i;t.permissions&&(t.blobName?i=qo.BlobSASPermissions.parse(t.permissions.toString()).toString():i=Ho.ContainerSASPermissions.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?(0,gt.truncatedISO8061Date)(t.startsOn,!1):"",t.expiresOn?(0,gt.truncatedISO8061Date)(t.expiresOn,!1):"",Go(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?(0,zo.ipRangeToString)(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(` -`),a=e.computeHMACSHA256(s);return{sasQueryParameters:new jo.SASQueryParameters(t.version,a,i,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType),stringToSign:s}}o(FDe,"generateBlobSASQueryParameters20181109");function UDe(t,e){if(t=Yo(t),!t.identifier&&!(t.permissions&&t.expiresOn))throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let i;t.permissions&&(t.blobName?i=qo.BlobSASPermissions.parse(t.permissions.toString()).toString():i=Ho.ContainerSASPermissions.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?(0,gt.truncatedISO8061Date)(t.startsOn,!1):"",t.expiresOn?(0,gt.truncatedISO8061Date)(t.expiresOn,!1):"",Go(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?(0,zo.ipRangeToString)(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.encryptionScope,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(` -`),a=e.computeHMACSHA256(s);return{sasQueryParameters:new jo.SASQueryParameters(t.version,a,i,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,void 0,void 0,void 0,t.encryptionScope),stringToSign:s}}o(UDe,"generateBlobSASQueryParameters20201206");function qDe(t,e){if(t=Yo(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let i;t.permissions&&(t.blobName?i=qo.BlobSASPermissions.parse(t.permissions.toString()).toString():i=Ho.ContainerSASPermissions.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?(0,gt.truncatedISO8061Date)(t.startsOn,!1):"",t.expiresOn?(0,gt.truncatedISO8061Date)(t.expiresOn,!1):"",Go(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?(0,gt.truncatedISO8061Date)(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?(0,gt.truncatedISO8061Date)(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.ipRange?(0,zo.ipRangeToString)(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(` -`),a=e.computeHMACSHA256(s);return{sasQueryParameters:new jo.SASQueryParameters(t.version,a,i,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey),stringToSign:s}}o(qDe,"generateBlobSASQueryParametersUDK20181109");function HDe(t,e){if(t=Yo(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let i;t.permissions&&(t.blobName?i=qo.BlobSASPermissions.parse(t.permissions.toString()).toString():i=Ho.ContainerSASPermissions.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?(0,gt.truncatedISO8061Date)(t.startsOn,!1):"",t.expiresOn?(0,gt.truncatedISO8061Date)(t.expiresOn,!1):"",Go(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?(0,gt.truncatedISO8061Date)(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?(0,gt.truncatedISO8061Date)(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?(0,zo.ipRangeToString)(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(` -`),a=e.computeHMACSHA256(s);return{sasQueryParameters:new jo.SASQueryParameters(t.version,a,i,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId),stringToSign:s}}o(HDe,"generateBlobSASQueryParametersUDK20200210");function zDe(t,e){if(t=Yo(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let i;t.permissions&&(t.blobName?i=qo.BlobSASPermissions.parse(t.permissions.toString()).toString():i=Ho.ContainerSASPermissions.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?(0,gt.truncatedISO8061Date)(t.startsOn,!1):"",t.expiresOn?(0,gt.truncatedISO8061Date)(t.expiresOn,!1):"",Go(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?(0,gt.truncatedISO8061Date)(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?(0,gt.truncatedISO8061Date)(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?(0,zo.ipRangeToString)(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(` -`),a=e.computeHMACSHA256(s);return{sasQueryParameters:new jo.SASQueryParameters(t.version,a,i,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId,t.encryptionScope),stringToSign:s}}o(zDe,"generateBlobSASQueryParametersUDK20201206");function jDe(t,e){if(t=Yo(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let i;t.permissions&&(t.blobName?i=qo.BlobSASPermissions.parse(t.permissions.toString()).toString():i=Ho.ContainerSASPermissions.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?(0,gt.truncatedISO8061Date)(t.startsOn,!1):"",t.expiresOn?(0,gt.truncatedISO8061Date)(t.expiresOn,!1):"",Go(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?(0,gt.truncatedISO8061Date)(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?(0,gt.truncatedISO8061Date)(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,void 0,t.delegatedUserObjectId,t.ipRange?(0,zo.ipRangeToString)(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(` -`),a=e.computeHMACSHA256(s);return{sasQueryParameters:new jo.SASQueryParameters(t.version,a,i,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId,t.encryptionScope,t.delegatedUserObjectId),stringToSign:s}}o(jDe,"generateBlobSASQueryParametersUDK20250705");function Go(t,e,r){let n=[`/blob/${t}/${e}`];return r&&n.push(`/${r}`),n.join("")}o(Go,"getCanonicalName");function Yo(t){let e=t.version?t.version:A3.SERVICE_VERSION;if(t.snapshotTime&&e<"2018-11-09")throw RangeError("'version' must be >= '2018-11-09' when providing 'snapshotTime'.");if(t.blobName===void 0&&t.snapshotTime)throw RangeError("Must provide 'blobName' when providing 'snapshotTime'.");if(t.versionId&&e<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'versionId'.");if(t.blobName===void 0&&t.versionId)throw RangeError("Must provide 'blobName' when providing 'versionId'.");if(t.permissions&&t.permissions.setImmutabilityPolicy&&e<"2020-08-04")throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.");if(t.permissions&&t.permissions.deleteVersion&&e<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'x' permission.");if(t.permissions&&t.permissions.permanentDelete&&e<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'y' permission.");if(t.permissions&&t.permissions.tag&&e<"2019-12-12")throw RangeError("'version' must be >= '2019-12-12' when providing 't' permission.");if(e<"2020-02-10"&&t.permissions&&(t.permissions.move||t.permissions.execute))throw RangeError("'version' must be >= '2020-02-10' when providing the 'm' or 'e' permission.");if(e<"2021-04-10"&&t.permissions&&t.permissions.filterByTags)throw RangeError("'version' must be >= '2021-04-10' when providing the 'f' permission.");if(e<"2020-02-10"&&(t.preauthorizedAgentObjectId||t.correlationId))throw RangeError("'version' must be >= '2020-02-10' when providing 'preauthorizedAgentObjectId' or 'correlationId'.");if(t.encryptionScope&&e<"2020-12-06")throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.");return t.version=e,t}o(Yo,"SASSignatureValuesSanityCheckAndAutofill")});var Df=h(Pf=>{"use strict";Object.defineProperty(Pf,"__esModule",{value:!0});Pf.BlobLeaseClient=void 0;var GDe=ut(),Ci=Wr(),yu=Uo(),_f=In(),eS=class{static{o(this,"BlobLeaseClient")}_leaseId;_url;_containerOrBlobOperation;_isContainer;get leaseId(){return this._leaseId}get url(){return this._url}constructor(e,r){let n=e.storageClientContext;this._url=e.url,e.name===void 0?(this._isContainer=!0,this._containerOrBlobOperation=n.container):(this._isContainer=!1,this._containerOrBlobOperation=n.blob),r||(r=(0,GDe.randomUUID)()),this._leaseId=r}async acquireLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==Ci.ETagNone||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==Ci.ETagNone||r.conditions?.tagConditions))throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return yu.tracingClient.withSpan("BlobLeaseClient-acquireLease",r,async n=>(0,_f.assertResponse)(await this._containerOrBlobOperation.acquireLease({abortSignal:r.abortSignal,duration:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},proposedLeaseId:this._leaseId,tracingOptions:n.tracingOptions})))}async changeLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==Ci.ETagNone||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==Ci.ETagNone||r.conditions?.tagConditions))throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return yu.tracingClient.withSpan("BlobLeaseClient-changeLease",r,async n=>{let i=(0,_f.assertResponse)(await this._containerOrBlobOperation.changeLease(this._leaseId,e,{abortSignal:r.abortSignal,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions}));return this._leaseId=e,i})}async releaseLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==Ci.ETagNone||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==Ci.ETagNone||e.conditions?.tagConditions))throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return yu.tracingClient.withSpan("BlobLeaseClient-releaseLease",e,async r=>(0,_f.assertResponse)(await this._containerOrBlobOperation.releaseLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}async renewLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==Ci.ETagNone||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==Ci.ETagNone||e.conditions?.tagConditions))throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return yu.tracingClient.withSpan("BlobLeaseClient-renewLease",e,async r=>this._containerOrBlobOperation.renewLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:r.tracingOptions}))}async breakLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==Ci.ETagNone||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==Ci.ETagNone||r.conditions?.tagConditions))throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return yu.tracingClient.withSpan("BlobLeaseClient-breakLease",r,async n=>{let i={abortSignal:r.abortSignal,breakPeriod:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions};return(0,_f.assertResponse)(await this._containerOrBlobOperation.breakLease(i))})}};Pf.BlobLeaseClient=eS});var d3=h(Tf=>{"use strict";Object.defineProperty(Tf,"__esModule",{value:!0});Tf.AbortError=void 0;var tS=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};Tf.AbortError=tS});var rS=h(Of=>{"use strict";Object.defineProperty(Of,"__esModule",{value:!0});Of.AbortError=void 0;var YDe=d3();Object.defineProperty(Of,"AbortError",{enumerable:!0,get:function(){return YDe.AbortError}})});var p3=h(Mf=>{"use strict";Object.defineProperty(Mf,"__esModule",{value:!0});Mf.RetriableReadableStream=void 0;var JDe=rS(),VDe=require("node:stream"),nS=class extends VDe.Readable{static{o(this,"RetriableReadableStream")}start;offset;end;getter;source;retries=0;maxRetryRequests;onProgress;options;constructor(e,r,n,i,s={}){super({highWaterMark:s.highWaterMark}),this.getter=r,this.source=e,this.start=n,this.offset=n,this.end=n+i-1,this.maxRetryRequests=s.maxRetryRequests&&s.maxRetryRequests>=0?s.maxRetryRequests:0,this.onProgress=s.onProgress,this.options=s,this.setSourceEventHandlers()}_read(){this.source.resume()}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler),this.source.on("end",this.sourceErrorOrEndHandler),this.source.on("error",this.sourceErrorOrEndHandler),this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler),this.source.removeListener("end",this.sourceErrorOrEndHandler),this.source.removeListener("error",this.sourceErrorOrEndHandler),this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=e=>{if(this.options.doInjectErrorOnce){this.options.doInjectErrorOnce=void 0,this.source.pause(),this.sourceErrorOrEndHandler(),this.source.destroy();return}this.offset+=e.length,this.onProgress&&this.onProgress({loadedBytes:this.offset-this.start}),this.push(e)||this.source.pause()};sourceAbortedHandler=()=>{let e=new JDe.AbortError("The operation was aborted.");this.destroy(e)};sourceErrorOrEndHandler=e=>{if(e&&e.name==="AbortError"){this.destroy(e);return}this.removeSourceEventHandlers(),this.offset-1===this.end?this.push(null):this.offset<=this.end?this.retries{this.source=r,this.setSourceEventHandlers()}).catch(r=>{this.destroy(r)})):this.destroy(new Error(`Data corruption failure: received less data than required and reached maxRetires limitation. Received data offset: ${this.offset-1}, data needed offset: ${this.end}, retries: ${this.retries}, max retries: ${this.maxRetryRequests}`)):this.destroy(new Error(`Data corruption failure: Received more data than original request, data needed offset is ${this.end}, received offset: ${this.offset-1}`))};_destroy(e,r){this.removeSourceEventHandlers(),this.source.destroy(),r(e===null?void 0:e)}};Mf.RetriableReadableStream=nS});var m3=h(kf=>{"use strict";Object.defineProperty(kf,"__esModule",{value:!0});kf.BlobDownloadResponse=void 0;var WDe=ut(),KDe=p3(),iS=class{static{o(this,"BlobDownloadResponse")}get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){return this.originalResponse.copyCompletedOn}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get tagCount(){return this.originalResponse.tagCount}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get lastAccessed(){return this.originalResponse.lastAccessed}get createdOn(){return this.originalResponse.createdOn}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get versionId(){return this.originalResponse.versionId}get isCurrentVersion(){return this.originalResponse.isCurrentVersion}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get objectReplicationDestinationPolicyId(){return this.originalResponse.objectReplicationDestinationPolicyId}get objectReplicationSourceProperties(){return this.originalResponse.objectReplicationSourceProperties}get isSealed(){return this.originalResponse.isSealed}get immutabilityPolicyExpiresOn(){return this.originalResponse.immutabilityPolicyExpiresOn}get immutabilityPolicyMode(){return this.originalResponse.immutabilityPolicyMode}get legalHold(){return this.originalResponse.legalHold}get contentAsBlob(){return this.originalResponse.blobBody}get readableStreamBody(){return WDe.isNodeLike?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,r,n,i,s={}){this.originalResponse=e,this.blobDownloadStream=new KDe.RetriableReadableStream(this.originalResponse.readableStreamBody,r,n,i,s)}};kf.BlobDownloadResponse=iS});var g3=h(Ei=>{"use strict";Object.defineProperty(Ei,"__esModule",{value:!0});Ei.AVRO_SCHEMA_KEY=Ei.AVRO_CODEC_KEY=Ei.AVRO_INIT_BYTES=Ei.AVRO_SYNC_MARKER_SIZE=void 0;Ei.AVRO_SYNC_MARKER_SIZE=16;Ei.AVRO_INIT_BYTES=new Uint8Array([79,98,106,1]);Ei.AVRO_CODEC_KEY="avro.codec";Ei.AVRO_SCHEMA_KEY="avro.schema"});var f3=h($c=>{"use strict";Object.defineProperty($c,"__esModule",{value:!0});$c.AvroType=$c.AvroParser=void 0;var xr=class t{static{o(this,"AvroParser")}static async readFixedBytes(e,r,n={}){let i=await e.read(r,{abortSignal:n.abortSignal});if(i.length!==r)throw new Error("Hit stream end.");return i}static async readByte(e,r={}){return(await t.readFixedBytes(e,1,r))[0]}static async readZigZagLong(e,r={}){let n=0,i=0,s,a,c;do s=await t.readByte(e,r),a=s&128,n|=(s&127)<Number.MAX_SAFE_INTEGER)throw new Error("Integer overflow.");return l}return n>>1^-(n&1)}static async readLong(e,r={}){return t.readZigZagLong(e,r)}static async readInt(e,r={}){return t.readZigZagLong(e,r)}static async readNull(){return null}static async readBoolean(e,r={}){let n=await t.readByte(e,r);if(n===1)return!0;if(n===0)return!1;throw new Error("Byte was not a boolean.")}static async readFloat(e,r={}){let n=await t.readFixedBytes(e,4,r);return new DataView(n.buffer,n.byteOffset,n.byteLength).getFloat32(0,!0)}static async readDouble(e,r={}){let n=await t.readFixedBytes(e,8,r);return new DataView(n.buffer,n.byteOffset,n.byteLength).getFloat64(0,!0)}static async readBytes(e,r={}){let n=await t.readLong(e,r);if(n<0)throw new Error("Bytes size was negative.");return e.read(n,{abortSignal:r.abortSignal})}static async readString(e,r={}){let n=await t.readBytes(e,r);return new TextDecoder().decode(n)}static async readMapPair(e,r,n={}){let i=await t.readString(e,n),s=await r(e,n);return{key:i,value:s}}static async readMap(e,r,n={}){let i=o((c,l={})=>t.readMapPair(c,r,l),"readPairMethod"),s=await t.readArray(e,i,n),a={};for(let c of s)a[c.key]=c.value;return a}static async readArray(e,r,n={}){let i=[];for(let s=await t.readLong(e,n);s!==0;s=await t.readLong(e,n))for(s<0&&(await t.readLong(e,n),s=-s);s--;){let a=await r(e,n);i.push(a)}return i}};$c.AvroParser=xr;var Jo;(function(t){t.RECORD="record",t.ENUM="enum",t.ARRAY="array",t.MAP="map",t.UNION="union",t.FIXED="fixed"})(Jo||(Jo={}));var zt;(function(t){t.NULL="null",t.BOOLEAN="boolean",t.INT="int",t.LONG="long",t.FLOAT="float",t.DOUBLE="double",t.BYTES="bytes",t.STRING="string"})(zt||(zt={}));var Gs=class t{static{o(this,"AvroType")}static fromSchema(e){return typeof e=="string"?t.fromStringSchema(e):Array.isArray(e)?t.fromArraySchema(e):t.fromObjectSchema(e)}static fromStringSchema(e){switch(e){case zt.NULL:case zt.BOOLEAN:case zt.INT:case zt.LONG:case zt.FLOAT:case zt.DOUBLE:case zt.BYTES:case zt.STRING:return new sS(e);default:throw new Error(`Unexpected Avro type ${e}`)}}static fromArraySchema(e){return new aS(e.map(t.fromSchema))}static fromObjectSchema(e){let r=e.type;try{return t.fromStringSchema(r)}catch{}switch(r){case Jo.RECORD:if(e.aliases)throw new Error(`aliases currently is not supported, schema: ${e}`);if(!e.name)throw new Error(`Required attribute 'name' doesn't exist on schema: ${e}`);let n={};if(!e.fields)throw new Error(`Required attribute 'fields' doesn't exist on schema: ${e}`);for(let i of e.fields)n[i.name]=t.fromSchema(i.type);return new lS(n,e.name);case Jo.ENUM:if(e.aliases)throw new Error(`aliases currently is not supported, schema: ${e}`);if(!e.symbols)throw new Error(`Required attribute 'symbols' doesn't exist on schema: ${e}`);return new oS(e.symbols);case Jo.MAP:if(!e.values)throw new Error(`Required attribute 'values' doesn't exist on schema: ${e}`);return new cS(t.fromSchema(e.values));case Jo.ARRAY:case Jo.FIXED:default:throw new Error(`Unexpected Avro type ${r} in ${e}`)}}};$c.AvroType=Gs;var sS=class extends Gs{static{o(this,"AvroPrimitiveType")}_primitive;constructor(e){super(),this._primitive=e}read(e,r={}){switch(this._primitive){case zt.NULL:return xr.readNull();case zt.BOOLEAN:return xr.readBoolean(e,r);case zt.INT:return xr.readInt(e,r);case zt.LONG:return xr.readLong(e,r);case zt.FLOAT:return xr.readFloat(e,r);case zt.DOUBLE:return xr.readDouble(e,r);case zt.BYTES:return xr.readBytes(e,r);case zt.STRING:return xr.readString(e,r);default:throw new Error("Unknown Avro Primitive")}}},oS=class extends Gs{static{o(this,"AvroEnumType")}_symbols;constructor(e){super(),this._symbols=e}async read(e,r={}){let n=await xr.readInt(e,r);return this._symbols[n]}},aS=class extends Gs{static{o(this,"AvroUnionType")}_types;constructor(e){super(),this._types=e}async read(e,r={}){let n=await xr.readInt(e,r);return this._types[n].read(e,r)}},cS=class extends Gs{static{o(this,"AvroMapType")}_itemType;constructor(e){super(),this._itemType=e}read(e,r={}){let n=o((i,s)=>this._itemType.read(i,s),"readItemMethod");return xr.readMap(e,n,r)}},lS=class extends Gs{static{o(this,"AvroRecordType")}_name;_fields;constructor(e,r){super(),this._fields=e,this._name=r}async read(e,r={}){let n={};n.$schema=this._name;for(let i in this._fields)Object.prototype.hasOwnProperty.call(this._fields,i)&&(n[i]=await this._fields[i].read(e,r));return n}}});var h3=h(AS=>{"use strict";Object.defineProperty(AS,"__esModule",{value:!0});AS.arraysEqual=$De;function $De(t,e){if(t===e)return!0;if(t==null||e==null||t.length!==e.length)return!1;for(let r=0;r{"use strict";Object.defineProperty(Lf,"__esModule",{value:!0});Lf.AvroReader=void 0;var Xc=g3(),Bi=f3(),y3=h3(),uS=class{static{o(this,"AvroReader")}_dataStream;_headerStream;_syncMarker;_metadata;_itemType;_itemsRemainingInBlock;_initialBlockOffset;_blockOffset;get blockOffset(){return this._blockOffset}_objectIndex;get objectIndex(){return this._objectIndex}_initialized;constructor(e,r,n,i){this._dataStream=e,this._headerStream=r||e,this._initialized=!1,this._blockOffset=n||0,this._objectIndex=i||0,this._initialBlockOffset=n||0}async initialize(e={}){let r=await Bi.AvroParser.readFixedBytes(this._headerStream,Xc.AVRO_INIT_BYTES.length,{abortSignal:e.abortSignal});if(!(0,y3.arraysEqual)(r,Xc.AVRO_INIT_BYTES))throw new Error("Stream is not an Avro file.");this._metadata=await Bi.AvroParser.readMap(this._headerStream,Bi.AvroParser.readString,{abortSignal:e.abortSignal});let n=this._metadata[Xc.AVRO_CODEC_KEY];if(!(n==null||n==="null"))throw new Error("Codecs are not supported");this._syncMarker=await Bi.AvroParser.readFixedBytes(this._headerStream,Xc.AVRO_SYNC_MARKER_SIZE,{abortSignal:e.abortSignal});let i=JSON.parse(this._metadata[Xc.AVRO_SCHEMA_KEY]);if(this._itemType=Bi.AvroType.fromSchema(i),this._blockOffset===0&&(this._blockOffset=this._initialBlockOffset+this._dataStream.position),this._itemsRemainingInBlock=await Bi.AvroParser.readLong(this._dataStream,{abortSignal:e.abortSignal}),await Bi.AvroParser.readLong(this._dataStream,{abortSignal:e.abortSignal}),this._initialized=!0,this._objectIndex&&this._objectIndex>0)for(let s=0;s0}async*parseObjects(e={}){for(this._initialized||await this.initialize(e);this.hasNext();){let r=await this._itemType.read(this._dataStream,{abortSignal:e.abortSignal});if(this._itemsRemainingInBlock--,this._objectIndex++,this._itemsRemainingInBlock===0){let n=await Bi.AvroParser.readFixedBytes(this._dataStream,Xc.AVRO_SYNC_MARKER_SIZE,{abortSignal:e.abortSignal});if(this._blockOffset=this._initialBlockOffset+this._dataStream.position,this._objectIndex=0,!(0,y3.arraysEqual)(this._syncMarker,n))throw new Error("Stream is not a valid Avro file.");try{this._itemsRemainingInBlock=await Bi.AvroParser.readLong(this._dataStream,{abortSignal:e.abortSignal})}catch{this._itemsRemainingInBlock=0}this._itemsRemainingInBlock>0&&await Bi.AvroParser.readLong(this._dataStream,{abortSignal:e.abortSignal})}yield r}}};Lf.AvroReader=uS});var pS=h(Ff=>{"use strict";Object.defineProperty(Ff,"__esModule",{value:!0});Ff.AvroReadable=void 0;var dS=class{static{o(this,"AvroReadable")}};Ff.AvroReadable=dS});var B3=h(Uf=>{"use strict";Object.defineProperty(Uf,"__esModule",{value:!0});Uf.AvroReadableFromStream=void 0;var XDe=pS(),ZDe=rS(),eTe=require("buffer"),E3=new ZDe.AbortError("Reading from the avro stream was aborted."),mS=class extends XDe.AvroReadable{static{o(this,"AvroReadableFromStream")}_position;_readable;toUint8Array(e){return typeof e=="string"?eTe.Buffer.from(e):e}constructor(e){super(),this._readable=e,this._position=0}get position(){return this._position}async read(e,r={}){if(r.abortSignal?.aborted)throw E3;if(e<0)throw new Error(`size parameter should be positive: ${e}`);if(e===0)return new Uint8Array;if(!this._readable.readable)throw new Error("Stream no longer readable.");let n=this._readable.read(e);return n?(this._position+=n.length,this.toUint8Array(n)):new Promise((i,s)=>{let a=o(()=>{this._readable.removeListener("readable",c),this._readable.removeListener("error",l),this._readable.removeListener("end",l),this._readable.removeListener("close",l),r.abortSignal&&r.abortSignal.removeEventListener("abort",A)},"cleanUp"),c=o(()=>{let u=this._readable.read(e);u&&(this._position+=u.length,a(),i(this.toUint8Array(u)))},"readableCallback"),l=o(()=>{a(),s()},"rejectCallback"),A=o(()=>{a(),s(E3)},"abortHandler");this._readable.on("readable",c),this._readable.once("error",l),this._readable.once("end",l),this._readable.once("close",l),r.abortSignal&&r.abortSignal.addEventListener("abort",A)})}};Uf.AvroReadableFromStream=mS});var I3=h(Ys=>{"use strict";Object.defineProperty(Ys,"__esModule",{value:!0});Ys.AvroReadableFromStream=Ys.AvroReadable=Ys.AvroReader=void 0;var tTe=C3();Object.defineProperty(Ys,"AvroReader",{enumerable:!0,get:function(){return tTe.AvroReader}});var rTe=pS();Object.defineProperty(Ys,"AvroReadable",{enumerable:!0,get:function(){return rTe.AvroReadable}});var nTe=B3();Object.defineProperty(Ys,"AvroReadableFromStream",{enumerable:!0,get:function(){return nTe.AvroReadableFromStream}})});var Q3=h(qf=>{"use strict";Object.defineProperty(qf,"__esModule",{value:!0});qf.BlobQuickQueryStream=void 0;var iTe=require("node:stream"),b3=I3(),gS=class extends iTe.Readable{static{o(this,"BlobQuickQueryStream")}source;avroReader;avroIter;avroPaused=!0;onProgress;onError;constructor(e,r={}){super(),this.source=e,this.onProgress=r.onProgress,this.onError=r.onError,this.avroReader=new b3.AvroReader(new b3.AvroReadableFromStream(this.source)),this.avroIter=this.avroReader.parseObjects({abortSignal:r.abortSignal})}_read(){this.avroPaused&&this.readInternal().catch(e=>{this.emit("error",e)})}async readInternal(){this.avroPaused=!1;let e;do{if(e=await this.avroIter.next(),e.done)break;let r=e.value,n=r.$schema;if(typeof n!="string")throw Error("Missing schema in avro record.");switch(n){case"com.microsoft.azure.storage.queryBlobContents.resultData":{let i=r.data;if(!(i instanceof Uint8Array))throw Error("Invalid data in avro result record.");this.push(Buffer.from(i))||(this.avroPaused=!0)}break;case"com.microsoft.azure.storage.queryBlobContents.progress":{let i=r.bytesScanned;if(typeof i!="number")throw Error("Invalid bytesScanned in avro progress record.");this.onProgress&&this.onProgress({loadedBytes:i})}break;case"com.microsoft.azure.storage.queryBlobContents.end":if(this.onProgress){let i=r.totalBytes;if(typeof i!="number")throw Error("Invalid totalBytes in avro end record.");this.onProgress({loadedBytes:i})}this.push(null);break;case"com.microsoft.azure.storage.queryBlobContents.error":if(this.onError){let i=r.fatal;if(typeof i!="boolean")throw Error("Invalid fatal in avro error record.");let s=r.name;if(typeof s!="string")throw Error("Invalid name in avro error record.");let a=r.description;if(typeof a!="string")throw Error("Invalid description in avro error record.");let c=r.position;if(typeof c!="number")throw Error("Invalid position in avro error record.");this.onError({position:c,name:s,isFatal:i,description:a})}break;default:throw Error(`Unknown schema ${n} in avro progress record.`)}}while(!e.done&&!this.avroPaused)}};qf.BlobQuickQueryStream=gS});var w3=h(Hf=>{"use strict";Object.defineProperty(Hf,"__esModule",{value:!0});Hf.BlobQueryResponse=void 0;var sTe=ut(),oTe=Q3(),fS=class{static{o(this,"BlobQueryResponse")}get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get blobBody(){}get readableStreamBody(){return sTe.isNodeLike?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,r={}){this.originalResponse=e,this.blobDownloadStream=new oTe.BlobQuickQueryStream(this.originalResponse.readableStreamBody,r)}};Hf.BlobQueryResponse=fS});var hS=h(Gn=>{"use strict";Object.defineProperty(Gn,"__esModule",{value:!0});Gn.StorageBlobAudience=Gn.PremiumPageBlobTier=Gn.BlockBlobTier=void 0;Gn.toAccessTier=cTe;Gn.ensureCpkIfSpecified=lTe;Gn.getBlobServiceAccountAudience=ATe;var aTe=Wr(),N3;(function(t){t.Hot="Hot",t.Cool="Cool",t.Cold="Cold",t.Archive="Archive"})(N3||(Gn.BlockBlobTier=N3={}));var S3;(function(t){t.P4="P4",t.P6="P6",t.P10="P10",t.P15="P15",t.P20="P20",t.P30="P30",t.P40="P40",t.P50="P50",t.P60="P60",t.P70="P70",t.P80="P80"})(S3||(Gn.PremiumPageBlobTier=S3={}));function cTe(t){if(t!==void 0)return t}o(cTe,"toAccessTier");function lTe(t,e){if(t&&!e)throw new RangeError("Customer-provided encryption key must be used over HTTPS.");t&&!t.encryptionAlgorithm&&(t.encryptionAlgorithm=aTe.EncryptionAlgorithmAES25)}o(lTe,"ensureCpkIfSpecified");var x3;(function(t){t.StorageOAuthScopes="https://storage.azure.com/.default",t.DiskComputeOAuthScopes="https://disk.compute.azure.com/.default"})(x3||(Gn.StorageBlobAudience=x3={}));function ATe(t){return`https://${t}.blob.core.windows.net/.default`}o(ATe,"getBlobServiceAccountAudience")});var v3=h(yS=>{"use strict";Object.defineProperty(yS,"__esModule",{value:!0});yS.rangeResponseFromModel=uTe;function uTe(t){let e=(t._response.parsedBody.pageRange||[]).map(n=>({offset:n.start,count:n.end-n.start})),r=(t._response.parsedBody.clearRange||[]).map(n=>({offset:n.start,count:n.end-n.start}));return{...t,pageRange:e,clearRange:r,_response:{...t._response,parsedBody:{pageRange:e,clearRange:r}}}}o(uTe,"rangeResponseFromModel")});var U3=h(Zc=>{"use strict";Object.defineProperty(Zc,"__esModule",{value:!0});var dTe=require("os"),pTe=require("util");function mTe(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}o(mTe,"_interopDefaultLegacy");var gTe=mTe(pTe);function fTe(t,...e){process.stderr.write(`${gTe.default.format(t,...e)}${dTe.EOL}`)}o(fTe,"log");var R3=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,P3,CS=[],ES=[],Gf=[];R3&&BS(R3);var D3=Object.assign(t=>T3(t),{enable:BS,enabled:IS,disable:hTe,log:fTe});function BS(t){P3=t,CS=[],ES=[];let e=/\*/g,r=t.split(",").map(n=>n.trim().replace(e,".*?"));for(let n of r)n.startsWith("-")?ES.push(new RegExp(`^${n.substr(1)}$`)):CS.push(new RegExp(`^${n}$`));for(let n of Gf)n.enabled=IS(n.namespace)}o(BS,"enable");function IS(t){if(t.endsWith("*"))return!0;for(let e of ES)if(e.test(t))return!1;for(let e of CS)if(e.test(t))return!0;return!1}o(IS,"enabled");function hTe(){let t=P3||"";return BS(""),t}o(hTe,"disable");function T3(t){let e=Object.assign(r,{enabled:IS(t),destroy:yTe,log:D3.log,namespace:t,extend:CTe});function r(...n){e.enabled&&(n.length>0&&(n[0]=`${t} ${n[0]}`),e.log(...n))}return o(r,"debug"),Gf.push(e),e}o(T3,"createDebugger");function yTe(){let t=Gf.indexOf(this);return t>=0?(Gf.splice(t,1),!0):!1}o(yTe,"destroy");function CTe(t){let e=T3(`${this.namespace}:${t}`);return e.log=this.log,e}o(CTe,"extend");var Cu=D3,O3=new Set,zf=typeof process<"u"&&process.env&&process.env.AZURE_LOG_LEVEL||void 0,Yf,Jf=Cu("azure");Jf.log=(...t)=>{Cu.log(...t)};var bS=["verbose","info","warning","error"];zf&&(F3(zf)?M3(zf):console.error(`AZURE_LOG_LEVEL set to unknown log level '${zf}'; logging is not enabled. Acceptable values: ${bS.join(", ")}.`));function M3(t){if(t&&!F3(t))throw new Error(`Unknown log level '${t}'. Acceptable values: ${bS.join(",")}`);Yf=t;let e=[];for(let r of O3)L3(r)&&e.push(r.namespace);Cu.enable(e.join(","))}o(M3,"setLogLevel");function ETe(){return Yf}o(ETe,"getLogLevel");var _3={verbose:400,info:300,warning:200,error:100};function BTe(t){let e=Jf.extend(t);return k3(Jf,e),{error:jf(e,"error"),warning:jf(e,"warning"),info:jf(e,"info"),verbose:jf(e,"verbose")}}o(BTe,"createClientLogger");function k3(t,e){e.log=(...r)=>{t.log(...r)}}o(k3,"patchLogMethod");function jf(t,e){let r=Object.assign(t.extend(e),{level:e});if(k3(t,r),L3(r)){let n=Cu.disable();Cu.enable(n+","+r.namespace)}return O3.add(r),r}o(jf,"createLogger");function L3(t){return!!(Yf&&_3[t.level]<=_3[Yf])}o(L3,"shouldEnable");function F3(t){return bS.includes(t)}o(F3,"isAzureLogLevel");Zc.AzureLogger=Jf;Zc.createClientLogger=BTe;Zc.getLogLevel=ETe;Zc.setLogLevel=M3});var Wf=h(Bu=>{"use strict";Object.defineProperty(Bu,"__esModule",{value:!0});var el=new WeakMap,Vf=new WeakMap,Eu=class t{static{o(this,"AbortSignal")}constructor(){this.onabort=null,el.set(this,[]),Vf.set(this,!1)}get aborted(){if(!Vf.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");return Vf.get(this)}static get none(){return new t}addEventListener(e,r){if(!el.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");el.get(this).push(r)}removeEventListener(e,r){if(!el.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");let n=el.get(this),i=n.indexOf(r);i>-1&&n.splice(i,1)}dispatchEvent(e){throw new Error("This is a stub dispatchEvent implementation that should not be used. It only exists for type-checking purposes.")}};function q3(t){if(t.aborted)return;t.onabort&&t.onabort.call(t);let e=el.get(t);e&&e.slice().forEach(r=>{r.call(t,{type:"abort"})}),Vf.set(t,!0)}o(q3,"abortSignal");var QS=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}},wS=class{static{o(this,"AbortController")}constructor(e){if(this._signal=new Eu,!!e){Array.isArray(e)||(e=arguments);for(let r of e)r.aborted?this.abort():r.addEventListener("abort",()=>{this.abort()})}}get signal(){return this._signal}abort(){q3(this._signal)}static timeout(e){let r=new Eu,n=setTimeout(q3,e,r);return typeof n.unref=="function"&&n.unref(),r}};Bu.AbortController=wS;Bu.AbortError=QS;Bu.AbortSignal=Eu});var Y3=h(ft=>{"use strict";Object.defineProperty(ft,"__esModule",{value:!0});var ITe=Wf(),PS=require("crypto");function H3(t,e){let{cleanupBeforeAbort:r,abortSignal:n,abortErrorMsg:i}=e??{};return new Promise((s,a)=>{function c(){a(new ITe.AbortError(i??"The operation was aborted."))}o(c,"rejectOnAbort");function l(){n?.removeEventListener("abort",A)}o(l,"removeListeners");function A(){r?.(),l(),c()}if(o(A,"onAbort"),n?.aborted)return c();try{t(u=>{l(),s(u)},u=>{l(),a(u)})}catch(u){a(u)}n?.addEventListener("abort",A)})}o(H3,"createAbortablePromise");var bTe="The delay was aborted.";function QTe(t,e){let r,{abortSignal:n,abortErrorMsg:i}=e??{};return H3(s=>{r=setTimeout(s,t)},{cleanupBeforeAbort:()=>clearTimeout(r),abortSignal:n,abortErrorMsg:i??bTe})}o(QTe,"delay");function wTe(t,e){return t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t+1))+t}o(wTe,"getRandomIntegerInclusive");function z3(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}o(z3,"isObject");function j3(t){if(z3(t)){let e=typeof t.name=="string",r=typeof t.message=="string";return e&&r}return!1}o(j3,"isError");function NTe(t){if(j3(t))return t.message;{let e;try{typeof t=="object"&&t?e=JSON.stringify(t):e=String(t)}catch{e="[unable to stringify input]"}return`Unknown error ${e}`}}o(NTe,"getErrorMessage");async function STe(t,e,r){let n=Buffer.from(t,"base64");return PS.createHmac("sha256",n).update(e).digest(r)}o(STe,"computeSha256Hmac");async function xTe(t,e){return PS.createHash("sha256").update(t).digest(e)}o(xTe,"computeSha256Hash");function DS(t){return typeof t<"u"&&t!==null}o(DS,"isDefined");function vTe(t,e){if(!DS(t)||typeof t!="object")return!1;for(let r of e)if(!G3(t,r))return!1;return!0}o(vTe,"isObjectWithProperties");function G3(t,e){return DS(t)&&typeof t=="object"&&e in t}o(G3,"objectHasProperty");function RTe(){let t="";for(let e=0;e<32;e++){let r=Math.floor(Math.random()*16);e===12?t+="4":e===16?t+=r&3|8:t+=r.toString(16),(e===7||e===11||e===15||e===19)&&(t+="-")}return t}o(RTe,"generateUUID");var NS,_S=typeof((NS=globalThis?.crypto)===null||NS===void 0?void 0:NS.randomUUID)=="function"?globalThis.crypto.randomUUID.bind(globalThis.crypto):PS.randomUUID;_S||(_S=RTe);function _Te(){return _S()}o(_Te,"randomUUID");var SS,xS,vS,RS,PTe=typeof window<"u"&&typeof window.document<"u",DTe=typeof self=="object"&&typeof self?.importScripts=="function"&&(((SS=self.constructor)===null||SS===void 0?void 0:SS.name)==="DedicatedWorkerGlobalScope"||((xS=self.constructor)===null||xS===void 0?void 0:xS.name)==="ServiceWorkerGlobalScope"||((vS=self.constructor)===null||vS===void 0?void 0:vS.name)==="SharedWorkerGlobalScope"),TTe=typeof process<"u"&&!!process.version&&!!(!((RS=process.versions)===null||RS===void 0)&&RS.node),OTe=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",MTe=typeof Bun<"u"&&typeof Bun.version<"u",kTe=typeof navigator<"u"&&navigator?.product==="ReactNative";function LTe(t,e){switch(e){case"utf-8":return HTe(t);case"base64":return UTe(t);case"base64url":return qTe(t)}}o(LTe,"uint8ArrayToString");function FTe(t,e){switch(e){case"utf-8":return zTe(t);case"base64":return jTe(t);case"base64url":return GTe(t)}}o(FTe,"stringToUint8Array");function UTe(t){return Buffer.from(t).toString("base64")}o(UTe,"uint8ArrayToBase64");function qTe(t){return Buffer.from(t).toString("base64url")}o(qTe,"uint8ArrayToBase64Url");function HTe(t){return Buffer.from(t).toString("utf-8")}o(HTe,"uint8ArrayToUtf8String");function zTe(t){return Buffer.from(t)}o(zTe,"utf8StringToUint8Array");function jTe(t){return Buffer.from(t,"base64")}o(jTe,"base64ToUint8Array");function GTe(t){return Buffer.from(t,"base64url")}o(GTe,"base64UrlToUint8Array");ft.computeSha256Hash=xTe;ft.computeSha256Hmac=STe;ft.createAbortablePromise=H3;ft.delay=QTe;ft.getErrorMessage=NTe;ft.getRandomIntegerInclusive=wTe;ft.isBrowser=PTe;ft.isBun=MTe;ft.isDefined=DS;ft.isDeno=OTe;ft.isError=j3;ft.isNode=TTe;ft.isObject=z3;ft.isObjectWithProperties=vTe;ft.isReactNative=kTe;ft.isWebWorker=DTe;ft.objectHasProperty=G3;ft.randomUUID=_Te;ft.stringToUint8Array=FTe;ft.uint8ArrayToString=LTe});var pK=h(Wo=>{"use strict";Object.defineProperty(Wo,"__esModule",{value:!0});var YTe=U3(),J3=Wf(),JTe=Y3(),Vo=YTe.createClientLogger("core-lro"),W3=2e3,K3=["succeeded","canceled","failed"];function $3(t){try{return JSON.parse(t).state}catch{throw new Error(`Unable to deserialize input state: ${t}`)}}o($3,"deserializeState");function V3(t){let{state:e,stateProxy:r,isOperationError:n}=t;return i=>{throw n(i)&&(r.setError(e,i),r.setFailed(e)),i}}o(V3,"setStateError");function VTe(t,e){let r=t;return r.slice(-1)!=="."&&(r=r+"."),r+" "+e}o(VTe,"appendReadableErrorMessage");function WTe(t){let e=t.message,r=t.code,n=t;for(;n.innererror;)n=n.innererror,r=n.code,e=VTe(e,n.message);return{code:r,message:e}}o(WTe,"simplifyError");function X3(t){let{state:e,stateProxy:r,status:n,isDone:i,processResult:s,getError:a,response:c,setErrorAsResult:l}=t;switch(n){case"succeeded":{r.setSucceeded(e);break}case"failed":{let A=a?.(c),u="";if(A){let{code:g,message:f}=WTe(A);u=`. ${g}. ${f}`}let d=`The long-running operation has failed${u}`;r.setError(e,new Error(d)),r.setFailed(e),Vo.warning(d);break}case"canceled":{r.setCanceled(e);break}}(i?.(c,e)||i===void 0&&["succeeded","canceled"].concat(l?[]:["failed"]).includes(n))&&r.setResult(e,KTe({response:c,state:e,processResult:s}))}o(X3,"processOperationStatus");function KTe(t){let{processResult:e,response:r,state:n}=t;return e?e(r,n):r}o(KTe,"buildResult");async function Z3(t){let{init:e,stateProxy:r,processResult:n,getOperationStatus:i,withOperationLocation:s,setErrorAsResult:a}=t,{operationLocation:c,resourceLocation:l,metadata:A,response:u}=await e();c&&s?.(c,!1);let d={metadata:A,operationLocation:c,resourceLocation:l};Vo.verbose("LRO: Operation description:",d);let g=r.initState(d),f=i({response:u,state:g,operationLocation:c});return X3({state:g,status:f,stateProxy:r,response:u,setErrorAsResult:a,processResult:n}),g}o(Z3,"initOperation");async function $Te(t){let{poll:e,state:r,stateProxy:n,operationLocation:i,getOperationStatus:s,getResourceLocation:a,isOperationError:c,options:l}=t,A=await e(i,l).catch(V3({state:r,stateProxy:n,isOperationError:c})),u=s(A,r);if(Vo.verbose(`LRO: Status: +`+n(o)+i(o),c=(0,fRe.createHmac)("sha256",t.accountKey).update(a,"utf8").digest("base64");o.headers.set(lr.HeaderConstants.AUTHORIZATION,`SharedKey ${t.accountName}:${c}`)}s(e,"signRequest");function r(o,a){let c=o.headers.get(a);return!c||a===lr.HeaderConstants.CONTENT_LENGTH&&c==="0"?"":c}s(r,"getHeaderValueToSign");function n(o){let a=[];for(let[l,A]of o.headers)l.toLowerCase().startsWith(lr.HeaderConstants.PREFIX_FOR_STORAGE)&&a.push({name:l,value:A});a.sort((l,A)=>(0,yRe.compareHeader)(l.name.toLowerCase(),A.name.toLowerCase())),a=a.filter((l,A,u)=>!(A>0&&l.name.toLowerCase()===u[A-1].name.toLowerCase()));let c="";return a.forEach(l=>{c+=`${l.name.toLowerCase().trimRight()}:${l.value.trimLeft()} +`}),c}s(n,"getCanonicalizedHeadersString");function i(o){let a=(0,xJ.getURLPath)(o.url)||"/",c="";c+=`/${t.accountName}${a}`;let l=(0,xJ.getURLQueries)(o.url),A={};if(l){let u=[];for(let d in l)if(Object.prototype.hasOwnProperty.call(l,d)){let g=d.toLowerCase();A[g]=l[d],u.push(g)}u.sort();for(let d of u)c+=` +${d}:${decodeURIComponent(A[d])}`}return c}return s(i,"getCanonicalizedResourceString"),{name:Jc.storageSharedKeyCredentialPolicyName,async sendRequest(o,a){return e(o),a(o)}}}s(CRe,"storageSharedKeyCredentialPolicy")});var vJ=f(Vc=>{"use strict";Object.defineProperty(Vc,"__esModule",{value:!0});Vc.storageRequestFailureDetailsParserPolicyName=void 0;Vc.storageRequestFailureDetailsParserPolicy=ERe;Vc.storageRequestFailureDetailsParserPolicyName="storageRequestFailureDetailsParserPolicy";function ERe(){return{name:Vc.storageRequestFailureDetailsParserPolicyName,async sendRequest(t,e){try{return await e(t)}catch(r){throw typeof r=="object"&&r!==null&&r.response&&r.response.parsedBody&&r.response.parsedBody.code==="InvalidHeaderValue"&&r.response.parsedBody.HeaderName==="x-ms-version"&&(r.message=`The provided service version is not enabled on this storage account. Please see https://learn.microsoft.com/rest/api/storageservices/versioning-for-the-azure-storage-services for additional information. +`),r}}}}s(ERe,"storageRequestFailureDetailsParserPolicy")});var PJ=f(rh=>{"use strict";Object.defineProperty(rh,"__esModule",{value:!0});rh.UserDelegationKeyCredential=void 0;var BRe=require("node:crypto"),C0=class{static{s(this,"UserDelegationKeyCredential")}accountName;userDelegationKey;key;constructor(e,r){this.accountName=e,this.userDelegationKey=r,this.key=Buffer.from(r.value,"base64")}computeHMACSHA256(e){return(0,BRe.createHmac)("sha256",this.key).update(e,"utf8").digest("base64")}};rh.UserDelegationKeyCredential=C0});var Vn=f(gt=>{"use strict";Object.defineProperty(gt,"__esModule",{value:!0});gt.BaseRequestPolicy=gt.getCachedDefaultHttpClient=void 0;var Ar=(jt(),Xt(Gt));Ar.__exportStar(tJ(),gt);var IRe=rJ();Object.defineProperty(gt,"getCachedDefaultHttpClient",{enumerable:!0,get:s(function(){return IRe.getCachedDefaultHttpClient},"get")});Ar.__exportStar(iJ(),gt);Ar.__exportStar(gJ(),gt);Ar.__exportStar(hJ(),gt);Ar.__exportStar(Jg(),gt);Ar.__exportStar(yJ(),gt);Ar.__exportStar(g0(),gt);var bRe=Iu();Object.defineProperty(gt,"BaseRequestPolicy",{enumerable:!0,get:s(function(){return bRe.BaseRequestPolicy},"get")});Ar.__exportStar(Zw(),gt);Ar.__exportStar(Gg(),gt);Ar.__exportStar(bJ(),gt);Ar.__exportStar(QJ(),gt);Ar.__exportStar(SJ(),gt);Ar.__exportStar(s0(),gt);Ar.__exportStar(RJ(),gt);Ar.__exportStar(vJ(),gt);Ar.__exportStar(PJ(),gt)});var Zr=f(ee=>{"use strict";Object.defineProperty(ee,"__esModule",{value:!0});ee.PathStylePorts=ee.BlobDoesNotUseCustomerSpecifiedEncryption=ee.BlobUsesCustomerSpecifiedEncryptionMsg=ee.StorageBlobLoggingAllowedQueryParameters=ee.StorageBlobLoggingAllowedHeaderNames=ee.DevelopmentConnectionString=ee.EncryptionAlgorithmAES25=ee.HTTP_VERSION_1_1=ee.HTTP_LINE_ENDING=ee.BATCH_MAX_PAYLOAD_IN_BYTES=ee.BATCH_MAX_REQUEST=ee.SIZE_1_MB=ee.ETagAny=ee.ETagNone=ee.HeaderConstants=ee.HTTPURLConnection=ee.URLConstants=ee.StorageOAuthScopes=ee.REQUEST_TIMEOUT=ee.DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS=ee.DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES=ee.DEFAULT_BLOCK_BUFFER_SIZE_BYTES=ee.BLOCK_BLOB_MAX_BLOCKS=ee.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES=ee.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES=ee.SERVICE_VERSION=ee.SDK_VERSION=void 0;ee.SDK_VERSION="12.31.0";ee.SERVICE_VERSION="2026-02-06";ee.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES=256*1024*1024;ee.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES=4e3*1024*1024;ee.BLOCK_BLOB_MAX_BLOCKS=5e4;ee.DEFAULT_BLOCK_BUFFER_SIZE_BYTES=8*1024*1024;ee.DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES=4*1024*1024;ee.DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS=5;ee.REQUEST_TIMEOUT=100*1e3;ee.StorageOAuthScopes="https://storage.azure.com/.default";ee.URLConstants={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};ee.HTTPURLConnection={HTTP_ACCEPTED:202,HTTP_CONFLICT:409,HTTP_NOT_FOUND:404,HTTP_PRECON_FAILED:412,HTTP_RANGE_NOT_SATISFIABLE:416};ee.HeaderConstants={AUTHORIZATION:"Authorization",AUTHORIZATION_SCHEME:"Bearer",CONTENT_ENCODING:"Content-Encoding",CONTENT_ID:"Content-ID",CONTENT_LANGUAGE:"Content-Language",CONTENT_LENGTH:"Content-Length",CONTENT_MD5:"Content-Md5",CONTENT_TRANSFER_ENCODING:"Content-Transfer-Encoding",CONTENT_TYPE:"Content-Type",COOKIE:"Cookie",DATE:"date",IF_MATCH:"if-match",IF_MODIFIED_SINCE:"if-modified-since",IF_NONE_MATCH:"if-none-match",IF_UNMODIFIED_SINCE:"if-unmodified-since",PREFIX_FOR_STORAGE:"x-ms-",RANGE:"Range",USER_AGENT:"User-Agent",X_MS_CLIENT_REQUEST_ID:"x-ms-client-request-id",X_MS_COPY_SOURCE:"x-ms-copy-source",X_MS_DATE:"x-ms-date",X_MS_ERROR_CODE:"x-ms-error-code",X_MS_VERSION:"x-ms-version",X_MS_CopySourceErrorCode:"x-ms-copy-source-error-code"};ee.ETagNone="";ee.ETagAny="*";ee.SIZE_1_MB=1*1024*1024;ee.BATCH_MAX_REQUEST=256;ee.BATCH_MAX_PAYLOAD_IN_BYTES=4*ee.SIZE_1_MB;ee.HTTP_LINE_ENDING=`\r +`;ee.HTTP_VERSION_1_1="HTTP/1.1";ee.EncryptionAlgorithmAES25="AES256";ee.DevelopmentConnectionString="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;";ee.StorageBlobLoggingAllowedHeaderNames=["Access-Control-Allow-Origin","Cache-Control","Content-Length","Content-Type","Date","Request-Id","traceparent","Transfer-Encoding","User-Agent","x-ms-client-request-id","x-ms-date","x-ms-error-code","x-ms-request-id","x-ms-return-client-request-id","x-ms-version","Accept-Ranges","Content-Disposition","Content-Encoding","Content-Language","Content-MD5","Content-Range","ETag","Last-Modified","Server","Vary","x-ms-content-crc64","x-ms-copy-action","x-ms-copy-completion-time","x-ms-copy-id","x-ms-copy-progress","x-ms-copy-status","x-ms-has-immutability-policy","x-ms-has-legal-hold","x-ms-lease-state","x-ms-lease-status","x-ms-range","x-ms-request-server-encrypted","x-ms-server-encrypted","x-ms-snapshot","x-ms-source-range","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","x-ms-access-tier","x-ms-access-tier-change-time","x-ms-access-tier-inferred","x-ms-account-kind","x-ms-archive-status","x-ms-blob-append-offset","x-ms-blob-cache-control","x-ms-blob-committed-block-count","x-ms-blob-condition-appendpos","x-ms-blob-condition-maxsize","x-ms-blob-content-disposition","x-ms-blob-content-encoding","x-ms-blob-content-language","x-ms-blob-content-length","x-ms-blob-content-md5","x-ms-blob-content-type","x-ms-blob-public-access","x-ms-blob-sequence-number","x-ms-blob-type","x-ms-copy-destination-snapshot","x-ms-creation-time","x-ms-default-encryption-scope","x-ms-delete-snapshots","x-ms-delete-type-permanent","x-ms-deny-encryption-scope-override","x-ms-encryption-algorithm","x-ms-if-sequence-number-eq","x-ms-if-sequence-number-le","x-ms-if-sequence-number-lt","x-ms-incremental-copy","x-ms-lease-action","x-ms-lease-break-period","x-ms-lease-duration","x-ms-lease-id","x-ms-lease-time","x-ms-page-write","x-ms-proposed-lease-id","x-ms-range-get-content-md5","x-ms-rehydrate-priority","x-ms-sequence-number-action","x-ms-sku-name","x-ms-source-content-md5","x-ms-source-if-match","x-ms-source-if-modified-since","x-ms-source-if-none-match","x-ms-source-if-unmodified-since","x-ms-tag-count","x-ms-encryption-key-sha256","x-ms-copy-source-error-code","x-ms-copy-source-status-code","x-ms-if-tags","x-ms-source-if-tags"];ee.StorageBlobLoggingAllowedQueryParameters=["comp","maxresults","rscc","rscd","rsce","rscl","rsct","se","si","sip","sp","spr","sr","srt","ss","st","sv","include","marker","prefix","copyid","restype","blockid","blocklisttype","delimiter","prevsnapshot","ske","skoid","sks","skt","sktid","skv","snapshot"];ee.BlobUsesCustomerSpecifiedEncryptionMsg="BlobUsesCustomerSpecifiedEncryption";ee.BlobDoesNotUseCustomerSpecifiedEncryption="BlobDoesNotUseCustomerSpecifiedEncryption";ee.PathStylePorts=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"]});var Hs=f(Ei=>{"use strict";Object.defineProperty(Ei,"__esModule",{value:!0});Ei.Pipeline=Ei.StorageOAuthScopes=void 0;Ei.isPipelineLike=NRe;Ei.newPipeline=wRe;Ei.getCoreClientOptions=xRe;Ei.getCredentialFromPipeline=MJ;var OJ=Dg(),_J=Tt(),DJ=fi(),TJ=qw(),E0=Oc(),QRe=Mg(),en=Vn(),Qu=Zr();Object.defineProperty(Ei,"StorageOAuthScopes",{enumerable:!0,get:s(function(){return Qu.StorageOAuthScopes},"get")});function NRe(t){if(!t||typeof t!="object")return!1;let e=t;return Array.isArray(e.factories)&&typeof e.options=="object"&&typeof e.toServiceClientOptions=="function"}s(NRe,"isPipelineLike");var nh=class{static{s(this,"Pipeline")}factories;options;constructor(e,r={}){this.factories=e,this.options=r}toServiceClientOptions(){return{httpClient:this.options.httpClient,requestPolicyFactories:this.factories}}};Ei.Pipeline=nh;function wRe(t,e={}){t||(t=new en.AnonymousCredential);let r=new nh([],e);return r._credential=t,r}s(wRe,"newPipeline");function SRe(t){let e=[RRe,kJ,vRe,PRe,_Re,DRe,ORe];if(t.factories.length){let r=t.factories.filter(n=>!e.some(i=>i(n)));if(r.length){let n=r.some(i=>TRe(i));return{wrappedPolicies:(0,OJ.createRequestPolicyFactoryPolicy)(r),afterRetry:n}}}}s(SRe,"processDownlevelPipeline");function xRe(t){let{httpClient:e,...r}=t.options,n=t._coreHttpClient;n||(n=e?(0,OJ.convertHttpClient)(e):(0,en.getCachedDefaultHttpClient)(),t._coreHttpClient=n);let i=t._corePipeline;if(!i){let o=`azsdk-js-azure-storage-blob/${Qu.SDK_VERSION}`,a=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${o}`:`${o}`;i=(0,DJ.createClientPipeline)({...r,loggingOptions:{additionalAllowedHeaderNames:Qu.StorageBlobLoggingAllowedHeaderNames,additionalAllowedQueryParameters:Qu.StorageBlobLoggingAllowedQueryParameters,logger:QRe.logger.info},userAgentOptions:{userAgentPrefix:a},serializationOptions:{stringifyXML:TJ.stringifyXML,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:TJ.parseXML,serializerOptions:{xml:{xmlCharKey:"#"}}}}),i.removePolicy({phase:"Retry"}),i.removePolicy({name:_J.decompressResponsePolicyName}),i.addPolicy((0,en.storageCorrectContentLengthPolicy)()),i.addPolicy((0,en.storageRetryPolicy)(r.retryOptions),{phase:"Retry"}),i.addPolicy((0,en.storageRequestFailureDetailsParserPolicy)()),i.addPolicy((0,en.storageBrowserPolicy)());let c=SRe(t);c&&i.addPolicy(c.wrappedPolicies,c.afterRetry?{afterPhase:"Retry"}:void 0);let l=MJ(t);(0,E0.isTokenCredential)(l)?i.addPolicy((0,_J.bearerTokenAuthenticationPolicy)({credential:l,scopes:r.audience??Qu.StorageOAuthScopes,challengeCallbacks:{authorizeRequestOnChallenge:DJ.authorizeRequestOnTenantChallenge}}),{phase:"Sign"}):l instanceof en.StorageSharedKeyCredential&&i.addPolicy((0,en.storageSharedKeyCredentialPolicy)({accountName:l.accountName,accountKey:l.accountKey}),{phase:"Sign"}),t._corePipeline=i}return{...r,allowInsecureConnection:!0,httpClient:n,pipeline:i}}s(xRe,"getCoreClientOptions");function MJ(t){if(t._credential)return t._credential;let e=new en.AnonymousCredential;for(let r of t.factories)if((0,E0.isTokenCredential)(r.credential))e=r.credential;else if(kJ(r))return r;return e}s(MJ,"getCredentialFromPipeline");function kJ(t){return t instanceof en.StorageSharedKeyCredential?!0:t.constructor.name==="StorageSharedKeyCredential"}s(kJ,"isStorageSharedKeyCredential");function RRe(t){return t instanceof en.AnonymousCredential?!0:t.constructor.name==="AnonymousCredential"}s(RRe,"isAnonymousCredential");function vRe(t){return(0,E0.isTokenCredential)(t.credential)}s(vRe,"isCoreHttpBearerTokenFactory");function PRe(t){return t instanceof en.StorageBrowserPolicyFactory?!0:t.constructor.name==="StorageBrowserPolicyFactory"}s(PRe,"isStorageBrowserPolicyFactory");function _Re(t){return t instanceof en.StorageRetryPolicyFactory?!0:t.constructor.name==="StorageRetryPolicyFactory"}s(_Re,"isStorageRetryPolicyFactory");function DRe(t){return t.constructor.name==="TelemetryPolicyFactory"}s(DRe,"isStorageTelemetryPolicyFactory");function TRe(t){return t.constructor.name==="InjectorPolicyFactory"}s(TRe,"isInjectorPolicyFactory");function ORe(t){let e=["GenerateClientRequestIdPolicy","TracingPolicy","LogPolicy","ProxyPolicy","DisableResponseDecompressionPolicy","KeepAlivePolicy","DeserializationPolicy"],r={sendRequest:s(async a=>({request:a,headers:a.headers.clone(),status:500}),"sendRequest")},n={log(a,c){},shouldLog(a){return!1}},o=t.create(r,n).constructor.name;return e.some(a=>o.startsWith(a))}s(ORe,"isCoreHttpPolicyFactory")});var HJ=f(Bi=>{"use strict";Object.defineProperty(Bi,"__esModule",{value:!0});Bi.KnownStorageErrorCode=Bi.KnownBlobExpiryOptions=Bi.KnownFileShareTokenIntent=Bi.KnownEncryptionAlgorithmType=void 0;var LJ;(function(t){t.AES256="AES256"})(LJ||(Bi.KnownEncryptionAlgorithmType=LJ={}));var FJ;(function(t){t.Backup="backup"})(FJ||(Bi.KnownFileShareTokenIntent=FJ={}));var UJ;(function(t){t.NeverExpire="NeverExpire",t.RelativeToCreation="RelativeToCreation",t.RelativeToNow="RelativeToNow",t.Absolute="Absolute"})(UJ||(Bi.KnownBlobExpiryOptions=UJ={}));var qJ;(function(t){t.AccountAlreadyExists="AccountAlreadyExists",t.AccountBeingCreated="AccountBeingCreated",t.AccountIsDisabled="AccountIsDisabled",t.AuthenticationFailed="AuthenticationFailed",t.AuthorizationFailure="AuthorizationFailure",t.ConditionHeadersNotSupported="ConditionHeadersNotSupported",t.ConditionNotMet="ConditionNotMet",t.EmptyMetadataKey="EmptyMetadataKey",t.InsufficientAccountPermissions="InsufficientAccountPermissions",t.InternalError="InternalError",t.InvalidAuthenticationInfo="InvalidAuthenticationInfo",t.InvalidHeaderValue="InvalidHeaderValue",t.InvalidHttpVerb="InvalidHttpVerb",t.InvalidInput="InvalidInput",t.InvalidMd5="InvalidMd5",t.InvalidMetadata="InvalidMetadata",t.InvalidQueryParameterValue="InvalidQueryParameterValue",t.InvalidRange="InvalidRange",t.InvalidResourceName="InvalidResourceName",t.InvalidUri="InvalidUri",t.InvalidXmlDocument="InvalidXmlDocument",t.InvalidXmlNodeValue="InvalidXmlNodeValue",t.Md5Mismatch="Md5Mismatch",t.MetadataTooLarge="MetadataTooLarge",t.MissingContentLengthHeader="MissingContentLengthHeader",t.MissingRequiredQueryParameter="MissingRequiredQueryParameter",t.MissingRequiredHeader="MissingRequiredHeader",t.MissingRequiredXmlNode="MissingRequiredXmlNode",t.MultipleConditionHeadersNotSupported="MultipleConditionHeadersNotSupported",t.OperationTimedOut="OperationTimedOut",t.OutOfRangeInput="OutOfRangeInput",t.OutOfRangeQueryParameterValue="OutOfRangeQueryParameterValue",t.RequestBodyTooLarge="RequestBodyTooLarge",t.ResourceTypeMismatch="ResourceTypeMismatch",t.RequestUrlFailedToParse="RequestUrlFailedToParse",t.ResourceAlreadyExists="ResourceAlreadyExists",t.ResourceNotFound="ResourceNotFound",t.ServerBusy="ServerBusy",t.UnsupportedHeader="UnsupportedHeader",t.UnsupportedXmlNode="UnsupportedXmlNode",t.UnsupportedQueryParameter="UnsupportedQueryParameter",t.UnsupportedHttpVerb="UnsupportedHttpVerb",t.AppendPositionConditionNotMet="AppendPositionConditionNotMet",t.BlobAlreadyExists="BlobAlreadyExists",t.BlobImmutableDueToPolicy="BlobImmutableDueToPolicy",t.BlobNotFound="BlobNotFound",t.BlobOverwritten="BlobOverwritten",t.BlobTierInadequateForContentLength="BlobTierInadequateForContentLength",t.BlobUsesCustomerSpecifiedEncryption="BlobUsesCustomerSpecifiedEncryption",t.BlockCountExceedsLimit="BlockCountExceedsLimit",t.BlockListTooLong="BlockListTooLong",t.CannotChangeToLowerTier="CannotChangeToLowerTier",t.CannotVerifyCopySource="CannotVerifyCopySource",t.ContainerAlreadyExists="ContainerAlreadyExists",t.ContainerBeingDeleted="ContainerBeingDeleted",t.ContainerDisabled="ContainerDisabled",t.ContainerNotFound="ContainerNotFound",t.ContentLengthLargerThanTierLimit="ContentLengthLargerThanTierLimit",t.CopyAcrossAccountsNotSupported="CopyAcrossAccountsNotSupported",t.CopyIdMismatch="CopyIdMismatch",t.FeatureVersionMismatch="FeatureVersionMismatch",t.IncrementalCopyBlobMismatch="IncrementalCopyBlobMismatch",t.IncrementalCopyOfEarlierVersionSnapshotNotAllowed="IncrementalCopyOfEarlierVersionSnapshotNotAllowed",t.IncrementalCopySourceMustBeSnapshot="IncrementalCopySourceMustBeSnapshot",t.InfiniteLeaseDurationRequired="InfiniteLeaseDurationRequired",t.InvalidBlobOrBlock="InvalidBlobOrBlock",t.InvalidBlobTier="InvalidBlobTier",t.InvalidBlobType="InvalidBlobType",t.InvalidBlockId="InvalidBlockId",t.InvalidBlockList="InvalidBlockList",t.InvalidOperation="InvalidOperation",t.InvalidPageRange="InvalidPageRange",t.InvalidSourceBlobType="InvalidSourceBlobType",t.InvalidSourceBlobUrl="InvalidSourceBlobUrl",t.InvalidVersionForPageBlobOperation="InvalidVersionForPageBlobOperation",t.LeaseAlreadyPresent="LeaseAlreadyPresent",t.LeaseAlreadyBroken="LeaseAlreadyBroken",t.LeaseIdMismatchWithBlobOperation="LeaseIdMismatchWithBlobOperation",t.LeaseIdMismatchWithContainerOperation="LeaseIdMismatchWithContainerOperation",t.LeaseIdMismatchWithLeaseOperation="LeaseIdMismatchWithLeaseOperation",t.LeaseIdMissing="LeaseIdMissing",t.LeaseIsBreakingAndCannotBeAcquired="LeaseIsBreakingAndCannotBeAcquired",t.LeaseIsBreakingAndCannotBeChanged="LeaseIsBreakingAndCannotBeChanged",t.LeaseIsBrokenAndCannotBeRenewed="LeaseIsBrokenAndCannotBeRenewed",t.LeaseLost="LeaseLost",t.LeaseNotPresentWithBlobOperation="LeaseNotPresentWithBlobOperation",t.LeaseNotPresentWithContainerOperation="LeaseNotPresentWithContainerOperation",t.LeaseNotPresentWithLeaseOperation="LeaseNotPresentWithLeaseOperation",t.MaxBlobSizeConditionNotMet="MaxBlobSizeConditionNotMet",t.NoAuthenticationInformation="NoAuthenticationInformation",t.NoPendingCopyOperation="NoPendingCopyOperation",t.OperationNotAllowedOnIncrementalCopyBlob="OperationNotAllowedOnIncrementalCopyBlob",t.PendingCopyOperation="PendingCopyOperation",t.PreviousSnapshotCannotBeNewer="PreviousSnapshotCannotBeNewer",t.PreviousSnapshotNotFound="PreviousSnapshotNotFound",t.PreviousSnapshotOperationNotSupported="PreviousSnapshotOperationNotSupported",t.SequenceNumberConditionNotMet="SequenceNumberConditionNotMet",t.SequenceNumberIncrementTooLarge="SequenceNumberIncrementTooLarge",t.SnapshotCountExceeded="SnapshotCountExceeded",t.SnapshotOperationRateExceeded="SnapshotOperationRateExceeded",t.SnapshotsPresent="SnapshotsPresent",t.SourceConditionNotMet="SourceConditionNotMet",t.SystemInUse="SystemInUse",t.TargetConditionNotMet="TargetConditionNotMet",t.UnauthorizedBlobOverwrite="UnauthorizedBlobOverwrite",t.BlobBeingRehydrated="BlobBeingRehydrated",t.BlobArchived="BlobArchived",t.BlobNotArchived="BlobNotArchived",t.AuthorizationSourceIPMismatch="AuthorizationSourceIPMismatch",t.AuthorizationProtocolMismatch="AuthorizationProtocolMismatch",t.AuthorizationPermissionMismatch="AuthorizationPermissionMismatch",t.AuthorizationServiceMismatch="AuthorizationServiceMismatch",t.AuthorizationResourceTypeMismatch="AuthorizationResourceTypeMismatch",t.BlobAccessTierNotSupportedForAccountType="BlobAccessTierNotSupportedForAccountType"})(qJ||(Bi.KnownStorageErrorCode=qJ={}))});var zs=f(C=>{"use strict";Object.defineProperty(C,"__esModule",{value:!0});C.ServiceGetUserDelegationKeyHeaders=C.ServiceListContainersSegmentExceptionHeaders=C.ServiceListContainersSegmentHeaders=C.ServiceGetStatisticsExceptionHeaders=C.ServiceGetStatisticsHeaders=C.ServiceGetPropertiesExceptionHeaders=C.ServiceGetPropertiesHeaders=C.ServiceSetPropertiesExceptionHeaders=C.ServiceSetPropertiesHeaders=C.ArrowField=C.ArrowConfiguration=C.JsonTextConfiguration=C.DelimitedTextConfiguration=C.QueryFormat=C.QuerySerialization=C.QueryRequest=C.ClearRange=C.PageRange=C.PageList=C.Block=C.BlockList=C.BlockLookupList=C.BlobPrefix=C.BlobHierarchyListSegment=C.ListBlobsHierarchySegmentResponse=C.BlobPropertiesInternal=C.BlobName=C.BlobItemInternal=C.BlobFlatListSegment=C.ListBlobsFlatSegmentResponse=C.AccessPolicy=C.SignedIdentifier=C.BlobTag=C.BlobTags=C.FilterBlobItem=C.FilterBlobSegment=C.UserDelegationKey=C.KeyInfo=C.ContainerProperties=C.ContainerItem=C.ListContainersSegmentResponse=C.GeoReplication=C.BlobServiceStatistics=C.StorageError=C.StaticWebsite=C.CorsRule=C.Metrics=C.RetentionPolicy=C.Logging=C.BlobServiceProperties=void 0;C.BlobUndeleteHeaders=C.BlobDeleteExceptionHeaders=C.BlobDeleteHeaders=C.BlobGetPropertiesExceptionHeaders=C.BlobGetPropertiesHeaders=C.BlobDownloadExceptionHeaders=C.BlobDownloadHeaders=C.ContainerGetAccountInfoExceptionHeaders=C.ContainerGetAccountInfoHeaders=C.ContainerListBlobHierarchySegmentExceptionHeaders=C.ContainerListBlobHierarchySegmentHeaders=C.ContainerListBlobFlatSegmentExceptionHeaders=C.ContainerListBlobFlatSegmentHeaders=C.ContainerChangeLeaseExceptionHeaders=C.ContainerChangeLeaseHeaders=C.ContainerBreakLeaseExceptionHeaders=C.ContainerBreakLeaseHeaders=C.ContainerRenewLeaseExceptionHeaders=C.ContainerRenewLeaseHeaders=C.ContainerReleaseLeaseExceptionHeaders=C.ContainerReleaseLeaseHeaders=C.ContainerAcquireLeaseExceptionHeaders=C.ContainerAcquireLeaseHeaders=C.ContainerFilterBlobsExceptionHeaders=C.ContainerFilterBlobsHeaders=C.ContainerSubmitBatchExceptionHeaders=C.ContainerSubmitBatchHeaders=C.ContainerRenameExceptionHeaders=C.ContainerRenameHeaders=C.ContainerRestoreExceptionHeaders=C.ContainerRestoreHeaders=C.ContainerSetAccessPolicyExceptionHeaders=C.ContainerSetAccessPolicyHeaders=C.ContainerGetAccessPolicyExceptionHeaders=C.ContainerGetAccessPolicyHeaders=C.ContainerSetMetadataExceptionHeaders=C.ContainerSetMetadataHeaders=C.ContainerDeleteExceptionHeaders=C.ContainerDeleteHeaders=C.ContainerGetPropertiesExceptionHeaders=C.ContainerGetPropertiesHeaders=C.ContainerCreateExceptionHeaders=C.ContainerCreateHeaders=C.ServiceFilterBlobsExceptionHeaders=C.ServiceFilterBlobsHeaders=C.ServiceSubmitBatchExceptionHeaders=C.ServiceSubmitBatchHeaders=C.ServiceGetAccountInfoExceptionHeaders=C.ServiceGetAccountInfoHeaders=C.ServiceGetUserDelegationKeyExceptionHeaders=void 0;C.PageBlobGetPageRangesHeaders=C.PageBlobUploadPagesFromURLExceptionHeaders=C.PageBlobUploadPagesFromURLHeaders=C.PageBlobClearPagesExceptionHeaders=C.PageBlobClearPagesHeaders=C.PageBlobUploadPagesExceptionHeaders=C.PageBlobUploadPagesHeaders=C.PageBlobCreateExceptionHeaders=C.PageBlobCreateHeaders=C.BlobSetTagsExceptionHeaders=C.BlobSetTagsHeaders=C.BlobGetTagsExceptionHeaders=C.BlobGetTagsHeaders=C.BlobQueryExceptionHeaders=C.BlobQueryHeaders=C.BlobGetAccountInfoExceptionHeaders=C.BlobGetAccountInfoHeaders=C.BlobSetTierExceptionHeaders=C.BlobSetTierHeaders=C.BlobAbortCopyFromURLExceptionHeaders=C.BlobAbortCopyFromURLHeaders=C.BlobCopyFromURLExceptionHeaders=C.BlobCopyFromURLHeaders=C.BlobStartCopyFromURLExceptionHeaders=C.BlobStartCopyFromURLHeaders=C.BlobCreateSnapshotExceptionHeaders=C.BlobCreateSnapshotHeaders=C.BlobBreakLeaseExceptionHeaders=C.BlobBreakLeaseHeaders=C.BlobChangeLeaseExceptionHeaders=C.BlobChangeLeaseHeaders=C.BlobRenewLeaseExceptionHeaders=C.BlobRenewLeaseHeaders=C.BlobReleaseLeaseExceptionHeaders=C.BlobReleaseLeaseHeaders=C.BlobAcquireLeaseExceptionHeaders=C.BlobAcquireLeaseHeaders=C.BlobSetMetadataExceptionHeaders=C.BlobSetMetadataHeaders=C.BlobSetLegalHoldExceptionHeaders=C.BlobSetLegalHoldHeaders=C.BlobDeleteImmutabilityPolicyExceptionHeaders=C.BlobDeleteImmutabilityPolicyHeaders=C.BlobSetImmutabilityPolicyExceptionHeaders=C.BlobSetImmutabilityPolicyHeaders=C.BlobSetHttpHeadersExceptionHeaders=C.BlobSetHttpHeadersHeaders=C.BlobSetExpiryExceptionHeaders=C.BlobSetExpiryHeaders=C.BlobUndeleteExceptionHeaders=void 0;C.BlockBlobGetBlockListExceptionHeaders=C.BlockBlobGetBlockListHeaders=C.BlockBlobCommitBlockListExceptionHeaders=C.BlockBlobCommitBlockListHeaders=C.BlockBlobStageBlockFromURLExceptionHeaders=C.BlockBlobStageBlockFromURLHeaders=C.BlockBlobStageBlockExceptionHeaders=C.BlockBlobStageBlockHeaders=C.BlockBlobPutBlobFromUrlExceptionHeaders=C.BlockBlobPutBlobFromUrlHeaders=C.BlockBlobUploadExceptionHeaders=C.BlockBlobUploadHeaders=C.AppendBlobSealExceptionHeaders=C.AppendBlobSealHeaders=C.AppendBlobAppendBlockFromUrlExceptionHeaders=C.AppendBlobAppendBlockFromUrlHeaders=C.AppendBlobAppendBlockExceptionHeaders=C.AppendBlobAppendBlockHeaders=C.AppendBlobCreateExceptionHeaders=C.AppendBlobCreateHeaders=C.PageBlobCopyIncrementalExceptionHeaders=C.PageBlobCopyIncrementalHeaders=C.PageBlobUpdateSequenceNumberExceptionHeaders=C.PageBlobUpdateSequenceNumberHeaders=C.PageBlobResizeExceptionHeaders=C.PageBlobResizeHeaders=C.PageBlobGetPageRangesDiffExceptionHeaders=C.PageBlobGetPageRangesDiffHeaders=C.PageBlobGetPageRangesExceptionHeaders=void 0;C.BlobServiceProperties={serializedName:"BlobServiceProperties",xmlName:"StorageServiceProperties",type:{name:"Composite",className:"BlobServiceProperties",modelProperties:{blobAnalyticsLogging:{serializedName:"Logging",xmlName:"Logging",type:{name:"Composite",className:"Logging"}},hourMetrics:{serializedName:"HourMetrics",xmlName:"HourMetrics",type:{name:"Composite",className:"Metrics"}},minuteMetrics:{serializedName:"MinuteMetrics",xmlName:"MinuteMetrics",type:{name:"Composite",className:"Metrics"}},cors:{serializedName:"Cors",xmlName:"Cors",xmlIsWrapped:!0,xmlElementName:"CorsRule",type:{name:"Sequence",element:{type:{name:"Composite",className:"CorsRule"}}}},defaultServiceVersion:{serializedName:"DefaultServiceVersion",xmlName:"DefaultServiceVersion",type:{name:"String"}},deleteRetentionPolicy:{serializedName:"DeleteRetentionPolicy",xmlName:"DeleteRetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}},staticWebsite:{serializedName:"StaticWebsite",xmlName:"StaticWebsite",type:{name:"Composite",className:"StaticWebsite"}}}}};C.Logging={serializedName:"Logging",type:{name:"Composite",className:"Logging",modelProperties:{version:{serializedName:"Version",required:!0,xmlName:"Version",type:{name:"String"}},deleteProperty:{serializedName:"Delete",required:!0,xmlName:"Delete",type:{name:"Boolean"}},read:{serializedName:"Read",required:!0,xmlName:"Read",type:{name:"Boolean"}},write:{serializedName:"Write",required:!0,xmlName:"Write",type:{name:"Boolean"}},retentionPolicy:{serializedName:"RetentionPolicy",xmlName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}}}}};C.RetentionPolicy={serializedName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy",modelProperties:{enabled:{serializedName:"Enabled",required:!0,xmlName:"Enabled",type:{name:"Boolean"}},days:{constraints:{InclusiveMinimum:1},serializedName:"Days",xmlName:"Days",type:{name:"Number"}}}}};C.Metrics={serializedName:"Metrics",type:{name:"Composite",className:"Metrics",modelProperties:{version:{serializedName:"Version",xmlName:"Version",type:{name:"String"}},enabled:{serializedName:"Enabled",required:!0,xmlName:"Enabled",type:{name:"Boolean"}},includeAPIs:{serializedName:"IncludeAPIs",xmlName:"IncludeAPIs",type:{name:"Boolean"}},retentionPolicy:{serializedName:"RetentionPolicy",xmlName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}}}}};C.CorsRule={serializedName:"CorsRule",type:{name:"Composite",className:"CorsRule",modelProperties:{allowedOrigins:{serializedName:"AllowedOrigins",required:!0,xmlName:"AllowedOrigins",type:{name:"String"}},allowedMethods:{serializedName:"AllowedMethods",required:!0,xmlName:"AllowedMethods",type:{name:"String"}},allowedHeaders:{serializedName:"AllowedHeaders",required:!0,xmlName:"AllowedHeaders",type:{name:"String"}},exposedHeaders:{serializedName:"ExposedHeaders",required:!0,xmlName:"ExposedHeaders",type:{name:"String"}},maxAgeInSeconds:{constraints:{InclusiveMinimum:0},serializedName:"MaxAgeInSeconds",required:!0,xmlName:"MaxAgeInSeconds",type:{name:"Number"}}}}};C.StaticWebsite={serializedName:"StaticWebsite",type:{name:"Composite",className:"StaticWebsite",modelProperties:{enabled:{serializedName:"Enabled",required:!0,xmlName:"Enabled",type:{name:"Boolean"}},indexDocument:{serializedName:"IndexDocument",xmlName:"IndexDocument",type:{name:"String"}},errorDocument404Path:{serializedName:"ErrorDocument404Path",xmlName:"ErrorDocument404Path",type:{name:"String"}},defaultIndexDocumentPath:{serializedName:"DefaultIndexDocumentPath",xmlName:"DefaultIndexDocumentPath",type:{name:"String"}}}}};C.StorageError={serializedName:"StorageError",type:{name:"Composite",className:"StorageError",modelProperties:{message:{serializedName:"Message",xmlName:"Message",type:{name:"String"}},copySourceStatusCode:{serializedName:"CopySourceStatusCode",xmlName:"CopySourceStatusCode",type:{name:"Number"}},copySourceErrorCode:{serializedName:"CopySourceErrorCode",xmlName:"CopySourceErrorCode",type:{name:"String"}},copySourceErrorMessage:{serializedName:"CopySourceErrorMessage",xmlName:"CopySourceErrorMessage",type:{name:"String"}},code:{serializedName:"Code",xmlName:"Code",type:{name:"String"}},authenticationErrorDetail:{serializedName:"AuthenticationErrorDetail",xmlName:"AuthenticationErrorDetail",type:{name:"String"}}}}};C.BlobServiceStatistics={serializedName:"BlobServiceStatistics",xmlName:"StorageServiceStats",type:{name:"Composite",className:"BlobServiceStatistics",modelProperties:{geoReplication:{serializedName:"GeoReplication",xmlName:"GeoReplication",type:{name:"Composite",className:"GeoReplication"}}}}};C.GeoReplication={serializedName:"GeoReplication",type:{name:"Composite",className:"GeoReplication",modelProperties:{status:{serializedName:"Status",required:!0,xmlName:"Status",type:{name:"Enum",allowedValues:["live","bootstrap","unavailable"]}},lastSyncOn:{serializedName:"LastSyncTime",required:!0,xmlName:"LastSyncTime",type:{name:"DateTimeRfc1123"}}}}};C.ListContainersSegmentResponse={serializedName:"ListContainersSegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListContainersSegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},containerItems:{serializedName:"ContainerItems",required:!0,xmlName:"Containers",xmlIsWrapped:!0,xmlElementName:"Container",type:{name:"Sequence",element:{type:{name:"Composite",className:"ContainerItem"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};C.ContainerItem={serializedName:"ContainerItem",xmlName:"Container",type:{name:"Composite",className:"ContainerItem",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},deleted:{serializedName:"Deleted",xmlName:"Deleted",type:{name:"Boolean"}},version:{serializedName:"Version",xmlName:"Version",type:{name:"String"}},properties:{serializedName:"Properties",xmlName:"Properties",type:{name:"Composite",className:"ContainerProperties"}},metadata:{serializedName:"Metadata",xmlName:"Metadata",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}};C.ContainerProperties={serializedName:"ContainerProperties",type:{name:"Composite",className:"ContainerProperties",modelProperties:{lastModified:{serializedName:"Last-Modified",required:!0,xmlName:"Last-Modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"Etag",required:!0,xmlName:"Etag",type:{name:"String"}},leaseStatus:{serializedName:"LeaseStatus",xmlName:"LeaseStatus",type:{name:"Enum",allowedValues:["locked","unlocked"]}},leaseState:{serializedName:"LeaseState",xmlName:"LeaseState",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseDuration:{serializedName:"LeaseDuration",xmlName:"LeaseDuration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},publicAccess:{serializedName:"PublicAccess",xmlName:"PublicAccess",type:{name:"Enum",allowedValues:["container","blob"]}},hasImmutabilityPolicy:{serializedName:"HasImmutabilityPolicy",xmlName:"HasImmutabilityPolicy",type:{name:"Boolean"}},hasLegalHold:{serializedName:"HasLegalHold",xmlName:"HasLegalHold",type:{name:"Boolean"}},defaultEncryptionScope:{serializedName:"DefaultEncryptionScope",xmlName:"DefaultEncryptionScope",type:{name:"String"}},preventEncryptionScopeOverride:{serializedName:"DenyEncryptionScopeOverride",xmlName:"DenyEncryptionScopeOverride",type:{name:"Boolean"}},deletedOn:{serializedName:"DeletedTime",xmlName:"DeletedTime",type:{name:"DateTimeRfc1123"}},remainingRetentionDays:{serializedName:"RemainingRetentionDays",xmlName:"RemainingRetentionDays",type:{name:"Number"}},isImmutableStorageWithVersioningEnabled:{serializedName:"ImmutableStorageWithVersioningEnabled",xmlName:"ImmutableStorageWithVersioningEnabled",type:{name:"Boolean"}}}}};C.KeyInfo={serializedName:"KeyInfo",type:{name:"Composite",className:"KeyInfo",modelProperties:{startsOn:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"String"}},expiresOn:{serializedName:"Expiry",required:!0,xmlName:"Expiry",type:{name:"String"}}}}};C.UserDelegationKey={serializedName:"UserDelegationKey",type:{name:"Composite",className:"UserDelegationKey",modelProperties:{signedObjectId:{serializedName:"SignedOid",required:!0,xmlName:"SignedOid",type:{name:"String"}},signedTenantId:{serializedName:"SignedTid",required:!0,xmlName:"SignedTid",type:{name:"String"}},signedStartsOn:{serializedName:"SignedStart",required:!0,xmlName:"SignedStart",type:{name:"String"}},signedExpiresOn:{serializedName:"SignedExpiry",required:!0,xmlName:"SignedExpiry",type:{name:"String"}},signedService:{serializedName:"SignedService",required:!0,xmlName:"SignedService",type:{name:"String"}},signedVersion:{serializedName:"SignedVersion",required:!0,xmlName:"SignedVersion",type:{name:"String"}},value:{serializedName:"Value",required:!0,xmlName:"Value",type:{name:"String"}}}}};C.FilterBlobSegment={serializedName:"FilterBlobSegment",xmlName:"EnumerationResults",type:{name:"Composite",className:"FilterBlobSegment",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},where:{serializedName:"Where",required:!0,xmlName:"Where",type:{name:"String"}},blobs:{serializedName:"Blobs",required:!0,xmlName:"Blobs",xmlIsWrapped:!0,xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"FilterBlobItem"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};C.FilterBlobItem={serializedName:"FilterBlobItem",xmlName:"Blob",type:{name:"Composite",className:"FilterBlobItem",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",type:{name:"String"}},tags:{serializedName:"Tags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags"}}}}};C.BlobTags={serializedName:"BlobTags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags",modelProperties:{blobTagSet:{serializedName:"BlobTagSet",required:!0,xmlName:"TagSet",xmlIsWrapped:!0,xmlElementName:"Tag",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobTag"}}}}}}};C.BlobTag={serializedName:"BlobTag",xmlName:"Tag",type:{name:"Composite",className:"BlobTag",modelProperties:{key:{serializedName:"Key",required:!0,xmlName:"Key",type:{name:"String"}},value:{serializedName:"Value",required:!0,xmlName:"Value",type:{name:"String"}}}}};C.SignedIdentifier={serializedName:"SignedIdentifier",xmlName:"SignedIdentifier",type:{name:"Composite",className:"SignedIdentifier",modelProperties:{id:{serializedName:"Id",required:!0,xmlName:"Id",type:{name:"String"}},accessPolicy:{serializedName:"AccessPolicy",xmlName:"AccessPolicy",type:{name:"Composite",className:"AccessPolicy"}}}}};C.AccessPolicy={serializedName:"AccessPolicy",type:{name:"Composite",className:"AccessPolicy",modelProperties:{startsOn:{serializedName:"Start",xmlName:"Start",type:{name:"String"}},expiresOn:{serializedName:"Expiry",xmlName:"Expiry",type:{name:"String"}},permissions:{serializedName:"Permission",xmlName:"Permission",type:{name:"String"}}}}};C.ListBlobsFlatSegmentResponse={serializedName:"ListBlobsFlatSegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListBlobsFlatSegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",xmlIsAttribute:!0,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},segment:{serializedName:"Segment",xmlName:"Blobs",type:{name:"Composite",className:"BlobFlatListSegment"}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};C.BlobFlatListSegment={serializedName:"BlobFlatListSegment",xmlName:"Blobs",type:{name:"Composite",className:"BlobFlatListSegment",modelProperties:{blobItems:{serializedName:"BlobItems",required:!0,xmlName:"BlobItems",xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobItemInternal"}}}}}}};C.BlobItemInternal={serializedName:"BlobItemInternal",xmlName:"Blob",type:{name:"Composite",className:"BlobItemInternal",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}},deleted:{serializedName:"Deleted",required:!0,xmlName:"Deleted",type:{name:"Boolean"}},snapshot:{serializedName:"Snapshot",required:!0,xmlName:"Snapshot",type:{name:"String"}},versionId:{serializedName:"VersionId",xmlName:"VersionId",type:{name:"String"}},isCurrentVersion:{serializedName:"IsCurrentVersion",xmlName:"IsCurrentVersion",type:{name:"Boolean"}},properties:{serializedName:"Properties",xmlName:"Properties",type:{name:"Composite",className:"BlobPropertiesInternal"}},metadata:{serializedName:"Metadata",xmlName:"Metadata",type:{name:"Dictionary",value:{type:{name:"String"}}}},blobTags:{serializedName:"BlobTags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags"}},objectReplicationMetadata:{serializedName:"ObjectReplicationMetadata",xmlName:"OrMetadata",type:{name:"Dictionary",value:{type:{name:"String"}}}},hasVersionsOnly:{serializedName:"HasVersionsOnly",xmlName:"HasVersionsOnly",type:{name:"Boolean"}}}}};C.BlobName={serializedName:"BlobName",type:{name:"Composite",className:"BlobName",modelProperties:{encoded:{serializedName:"Encoded",xmlName:"Encoded",xmlIsAttribute:!0,type:{name:"Boolean"}},content:{serializedName:"content",xmlName:"content",xmlIsMsText:!0,type:{name:"String"}}}}};C.BlobPropertiesInternal={serializedName:"BlobPropertiesInternal",xmlName:"Properties",type:{name:"Composite",className:"BlobPropertiesInternal",modelProperties:{createdOn:{serializedName:"Creation-Time",xmlName:"Creation-Time",type:{name:"DateTimeRfc1123"}},lastModified:{serializedName:"Last-Modified",required:!0,xmlName:"Last-Modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"Etag",required:!0,xmlName:"Etag",type:{name:"String"}},contentLength:{serializedName:"Content-Length",xmlName:"Content-Length",type:{name:"Number"}},contentType:{serializedName:"Content-Type",xmlName:"Content-Type",type:{name:"String"}},contentEncoding:{serializedName:"Content-Encoding",xmlName:"Content-Encoding",type:{name:"String"}},contentLanguage:{serializedName:"Content-Language",xmlName:"Content-Language",type:{name:"String"}},contentMD5:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}},contentDisposition:{serializedName:"Content-Disposition",xmlName:"Content-Disposition",type:{name:"String"}},cacheControl:{serializedName:"Cache-Control",xmlName:"Cache-Control",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"BlobType",xmlName:"BlobType",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},leaseStatus:{serializedName:"LeaseStatus",xmlName:"LeaseStatus",type:{name:"Enum",allowedValues:["locked","unlocked"]}},leaseState:{serializedName:"LeaseState",xmlName:"LeaseState",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseDuration:{serializedName:"LeaseDuration",xmlName:"LeaseDuration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},copyId:{serializedName:"CopyId",xmlName:"CopyId",type:{name:"String"}},copyStatus:{serializedName:"CopyStatus",xmlName:"CopyStatus",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},copySource:{serializedName:"CopySource",xmlName:"CopySource",type:{name:"String"}},copyProgress:{serializedName:"CopyProgress",xmlName:"CopyProgress",type:{name:"String"}},copyCompletedOn:{serializedName:"CopyCompletionTime",xmlName:"CopyCompletionTime",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"CopyStatusDescription",xmlName:"CopyStatusDescription",type:{name:"String"}},serverEncrypted:{serializedName:"ServerEncrypted",xmlName:"ServerEncrypted",type:{name:"Boolean"}},incrementalCopy:{serializedName:"IncrementalCopy",xmlName:"IncrementalCopy",type:{name:"Boolean"}},destinationSnapshot:{serializedName:"DestinationSnapshot",xmlName:"DestinationSnapshot",type:{name:"String"}},deletedOn:{serializedName:"DeletedTime",xmlName:"DeletedTime",type:{name:"DateTimeRfc1123"}},remainingRetentionDays:{serializedName:"RemainingRetentionDays",xmlName:"RemainingRetentionDays",type:{name:"Number"}},accessTier:{serializedName:"AccessTier",xmlName:"AccessTier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold"]}},accessTierInferred:{serializedName:"AccessTierInferred",xmlName:"AccessTierInferred",type:{name:"Boolean"}},archiveStatus:{serializedName:"ArchiveStatus",xmlName:"ArchiveStatus",type:{name:"Enum",allowedValues:["rehydrate-pending-to-hot","rehydrate-pending-to-cool","rehydrate-pending-to-cold"]}},customerProvidedKeySha256:{serializedName:"CustomerProvidedKeySha256",xmlName:"CustomerProvidedKeySha256",type:{name:"String"}},encryptionScope:{serializedName:"EncryptionScope",xmlName:"EncryptionScope",type:{name:"String"}},accessTierChangedOn:{serializedName:"AccessTierChangeTime",xmlName:"AccessTierChangeTime",type:{name:"DateTimeRfc1123"}},tagCount:{serializedName:"TagCount",xmlName:"TagCount",type:{name:"Number"}},expiresOn:{serializedName:"Expiry-Time",xmlName:"Expiry-Time",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"Sealed",xmlName:"Sealed",type:{name:"Boolean"}},rehydratePriority:{serializedName:"RehydratePriority",xmlName:"RehydratePriority",type:{name:"Enum",allowedValues:["High","Standard"]}},lastAccessedOn:{serializedName:"LastAccessTime",xmlName:"LastAccessTime",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"ImmutabilityPolicyUntilDate",xmlName:"ImmutabilityPolicyUntilDate",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"ImmutabilityPolicyMode",xmlName:"ImmutabilityPolicyMode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"LegalHold",xmlName:"LegalHold",type:{name:"Boolean"}}}}};C.ListBlobsHierarchySegmentResponse={serializedName:"ListBlobsHierarchySegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListBlobsHierarchySegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",xmlIsAttribute:!0,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},delimiter:{serializedName:"Delimiter",xmlName:"Delimiter",type:{name:"String"}},segment:{serializedName:"Segment",xmlName:"Blobs",type:{name:"Composite",className:"BlobHierarchyListSegment"}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};C.BlobHierarchyListSegment={serializedName:"BlobHierarchyListSegment",xmlName:"Blobs",type:{name:"Composite",className:"BlobHierarchyListSegment",modelProperties:{blobPrefixes:{serializedName:"BlobPrefixes",xmlName:"BlobPrefixes",xmlElementName:"BlobPrefix",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobPrefix"}}}},blobItems:{serializedName:"BlobItems",required:!0,xmlName:"BlobItems",xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobItemInternal"}}}}}}};C.BlobPrefix={serializedName:"BlobPrefix",type:{name:"Composite",className:"BlobPrefix",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}}}}};C.BlockLookupList={serializedName:"BlockLookupList",xmlName:"BlockList",type:{name:"Composite",className:"BlockLookupList",modelProperties:{committed:{serializedName:"Committed",xmlName:"Committed",xmlElementName:"Committed",type:{name:"Sequence",element:{type:{name:"String"}}}},uncommitted:{serializedName:"Uncommitted",xmlName:"Uncommitted",xmlElementName:"Uncommitted",type:{name:"Sequence",element:{type:{name:"String"}}}},latest:{serializedName:"Latest",xmlName:"Latest",xmlElementName:"Latest",type:{name:"Sequence",element:{type:{name:"String"}}}}}}};C.BlockList={serializedName:"BlockList",type:{name:"Composite",className:"BlockList",modelProperties:{committedBlocks:{serializedName:"CommittedBlocks",xmlName:"CommittedBlocks",xmlIsWrapped:!0,xmlElementName:"Block",type:{name:"Sequence",element:{type:{name:"Composite",className:"Block"}}}},uncommittedBlocks:{serializedName:"UncommittedBlocks",xmlName:"UncommittedBlocks",xmlIsWrapped:!0,xmlElementName:"Block",type:{name:"Sequence",element:{type:{name:"Composite",className:"Block"}}}}}}};C.Block={serializedName:"Block",type:{name:"Composite",className:"Block",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},size:{serializedName:"Size",required:!0,xmlName:"Size",type:{name:"Number"}}}}};C.PageList={serializedName:"PageList",type:{name:"Composite",className:"PageList",modelProperties:{pageRange:{serializedName:"PageRange",xmlName:"PageRange",xmlElementName:"PageRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"PageRange"}}}},clearRange:{serializedName:"ClearRange",xmlName:"ClearRange",xmlElementName:"ClearRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"ClearRange"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};C.PageRange={serializedName:"PageRange",xmlName:"PageRange",type:{name:"Composite",className:"PageRange",modelProperties:{start:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:!0,xmlName:"End",type:{name:"Number"}}}}};C.ClearRange={serializedName:"ClearRange",xmlName:"ClearRange",type:{name:"Composite",className:"ClearRange",modelProperties:{start:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:!0,xmlName:"End",type:{name:"Number"}}}}};C.QueryRequest={serializedName:"QueryRequest",xmlName:"QueryRequest",type:{name:"Composite",className:"QueryRequest",modelProperties:{queryType:{serializedName:"QueryType",required:!0,xmlName:"QueryType",type:{name:"String"}},expression:{serializedName:"Expression",required:!0,xmlName:"Expression",type:{name:"String"}},inputSerialization:{serializedName:"InputSerialization",xmlName:"InputSerialization",type:{name:"Composite",className:"QuerySerialization"}},outputSerialization:{serializedName:"OutputSerialization",xmlName:"OutputSerialization",type:{name:"Composite",className:"QuerySerialization"}}}}};C.QuerySerialization={serializedName:"QuerySerialization",type:{name:"Composite",className:"QuerySerialization",modelProperties:{format:{serializedName:"Format",xmlName:"Format",type:{name:"Composite",className:"QueryFormat"}}}}};C.QueryFormat={serializedName:"QueryFormat",type:{name:"Composite",className:"QueryFormat",modelProperties:{type:{serializedName:"Type",required:!0,xmlName:"Type",type:{name:"Enum",allowedValues:["delimited","json","arrow","parquet"]}},delimitedTextConfiguration:{serializedName:"DelimitedTextConfiguration",xmlName:"DelimitedTextConfiguration",type:{name:"Composite",className:"DelimitedTextConfiguration"}},jsonTextConfiguration:{serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration"}},arrowConfiguration:{serializedName:"ArrowConfiguration",xmlName:"ArrowConfiguration",type:{name:"Composite",className:"ArrowConfiguration"}},parquetTextConfiguration:{serializedName:"ParquetTextConfiguration",xmlName:"ParquetTextConfiguration",type:{name:"Dictionary",value:{type:{name:"any"}}}}}}};C.DelimitedTextConfiguration={serializedName:"DelimitedTextConfiguration",xmlName:"DelimitedTextConfiguration",type:{name:"Composite",className:"DelimitedTextConfiguration",modelProperties:{columnSeparator:{serializedName:"ColumnSeparator",xmlName:"ColumnSeparator",type:{name:"String"}},fieldQuote:{serializedName:"FieldQuote",xmlName:"FieldQuote",type:{name:"String"}},recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}},escapeChar:{serializedName:"EscapeChar",xmlName:"EscapeChar",type:{name:"String"}},headersPresent:{serializedName:"HeadersPresent",xmlName:"HasHeaders",type:{name:"Boolean"}}}}};C.JsonTextConfiguration={serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration",modelProperties:{recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}}}}};C.ArrowConfiguration={serializedName:"ArrowConfiguration",xmlName:"ArrowConfiguration",type:{name:"Composite",className:"ArrowConfiguration",modelProperties:{schema:{serializedName:"Schema",required:!0,xmlName:"Schema",xmlIsWrapped:!0,xmlElementName:"Field",type:{name:"Sequence",element:{type:{name:"Composite",className:"ArrowField"}}}}}}};C.ArrowField={serializedName:"ArrowField",xmlName:"Field",type:{name:"Composite",className:"ArrowField",modelProperties:{type:{serializedName:"Type",required:!0,xmlName:"Type",type:{name:"String"}},name:{serializedName:"Name",xmlName:"Name",type:{name:"String"}},precision:{serializedName:"Precision",xmlName:"Precision",type:{name:"Number"}},scale:{serializedName:"Scale",xmlName:"Scale",type:{name:"Number"}}}}};C.ServiceSetPropertiesHeaders={serializedName:"Service_setPropertiesHeaders",type:{name:"Composite",className:"ServiceSetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.ServiceSetPropertiesExceptionHeaders={serializedName:"Service_setPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceSetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.ServiceGetPropertiesHeaders={serializedName:"Service_getPropertiesHeaders",type:{name:"Composite",className:"ServiceGetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.ServiceGetPropertiesExceptionHeaders={serializedName:"Service_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.ServiceGetStatisticsHeaders={serializedName:"Service_getStatisticsHeaders",type:{name:"Composite",className:"ServiceGetStatisticsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.ServiceGetStatisticsExceptionHeaders={serializedName:"Service_getStatisticsExceptionHeaders",type:{name:"Composite",className:"ServiceGetStatisticsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.ServiceListContainersSegmentHeaders={serializedName:"Service_listContainersSegmentHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.ServiceListContainersSegmentExceptionHeaders={serializedName:"Service_listContainersSegmentExceptionHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.ServiceGetUserDelegationKeyHeaders={serializedName:"Service_getUserDelegationKeyHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.ServiceGetUserDelegationKeyExceptionHeaders={serializedName:"Service_getUserDelegationKeyExceptionHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.ServiceGetAccountInfoHeaders={serializedName:"Service_getAccountInfoHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.ServiceGetAccountInfoExceptionHeaders={serializedName:"Service_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.ServiceSubmitBatchHeaders={serializedName:"Service_submitBatchHeaders",type:{name:"Composite",className:"ServiceSubmitBatchHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.ServiceSubmitBatchExceptionHeaders={serializedName:"Service_submitBatchExceptionHeaders",type:{name:"Composite",className:"ServiceSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.ServiceFilterBlobsHeaders={serializedName:"Service_filterBlobsHeaders",type:{name:"Composite",className:"ServiceFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.ServiceFilterBlobsExceptionHeaders={serializedName:"Service_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ServiceFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.ContainerCreateHeaders={serializedName:"Container_createHeaders",type:{name:"Composite",className:"ContainerCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.ContainerCreateExceptionHeaders={serializedName:"Container_createExceptionHeaders",type:{name:"Composite",className:"ContainerCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.ContainerGetPropertiesHeaders={serializedName:"Container_getPropertiesHeaders",type:{name:"Composite",className:"ContainerGetPropertiesHeaders",modelProperties:{metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobPublicAccess:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}},hasImmutabilityPolicy:{serializedName:"x-ms-has-immutability-policy",xmlName:"x-ms-has-immutability-policy",type:{name:"Boolean"}},hasLegalHold:{serializedName:"x-ms-has-legal-hold",xmlName:"x-ms-has-legal-hold",type:{name:"Boolean"}},defaultEncryptionScope:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}},denyEncryptionScopeOverride:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}},isImmutableStorageWithVersioningEnabled:{serializedName:"x-ms-immutable-storage-with-versioning-enabled",xmlName:"x-ms-immutable-storage-with-versioning-enabled",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.ContainerGetPropertiesExceptionHeaders={serializedName:"Container_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ContainerGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.ContainerDeleteHeaders={serializedName:"Container_deleteHeaders",type:{name:"Composite",className:"ContainerDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.ContainerDeleteExceptionHeaders={serializedName:"Container_deleteExceptionHeaders",type:{name:"Composite",className:"ContainerDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.ContainerSetMetadataHeaders={serializedName:"Container_setMetadataHeaders",type:{name:"Composite",className:"ContainerSetMetadataHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.ContainerSetMetadataExceptionHeaders={serializedName:"Container_setMetadataExceptionHeaders",type:{name:"Composite",className:"ContainerSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.ContainerGetAccessPolicyHeaders={serializedName:"Container_getAccessPolicyHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyHeaders",modelProperties:{blobPublicAccess:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.ContainerGetAccessPolicyExceptionHeaders={serializedName:"Container_getAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.ContainerSetAccessPolicyHeaders={serializedName:"Container_setAccessPolicyHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.ContainerSetAccessPolicyExceptionHeaders={serializedName:"Container_setAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.ContainerRestoreHeaders={serializedName:"Container_restoreHeaders",type:{name:"Composite",className:"ContainerRestoreHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.ContainerRestoreExceptionHeaders={serializedName:"Container_restoreExceptionHeaders",type:{name:"Composite",className:"ContainerRestoreExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.ContainerRenameHeaders={serializedName:"Container_renameHeaders",type:{name:"Composite",className:"ContainerRenameHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.ContainerRenameExceptionHeaders={serializedName:"Container_renameExceptionHeaders",type:{name:"Composite",className:"ContainerRenameExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.ContainerSubmitBatchHeaders={serializedName:"Container_submitBatchHeaders",type:{name:"Composite",className:"ContainerSubmitBatchHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}}}}};C.ContainerSubmitBatchExceptionHeaders={serializedName:"Container_submitBatchExceptionHeaders",type:{name:"Composite",className:"ContainerSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.ContainerFilterBlobsHeaders={serializedName:"Container_filterBlobsHeaders",type:{name:"Composite",className:"ContainerFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};C.ContainerFilterBlobsExceptionHeaders={serializedName:"Container_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ContainerFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.ContainerAcquireLeaseHeaders={serializedName:"Container_acquireLeaseHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};C.ContainerAcquireLeaseExceptionHeaders={serializedName:"Container_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.ContainerReleaseLeaseHeaders={serializedName:"Container_releaseLeaseHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};C.ContainerReleaseLeaseExceptionHeaders={serializedName:"Container_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.ContainerRenewLeaseHeaders={serializedName:"Container_renewLeaseHeaders",type:{name:"Composite",className:"ContainerRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};C.ContainerRenewLeaseExceptionHeaders={serializedName:"Container_renewLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.ContainerBreakLeaseHeaders={serializedName:"Container_breakLeaseHeaders",type:{name:"Composite",className:"ContainerBreakLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseTime:{serializedName:"x-ms-lease-time",xmlName:"x-ms-lease-time",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};C.ContainerBreakLeaseExceptionHeaders={serializedName:"Container_breakLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.ContainerChangeLeaseHeaders={serializedName:"Container_changeLeaseHeaders",type:{name:"Composite",className:"ContainerChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};C.ContainerChangeLeaseExceptionHeaders={serializedName:"Container_changeLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.ContainerListBlobFlatSegmentHeaders={serializedName:"Container_listBlobFlatSegmentHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.ContainerListBlobFlatSegmentExceptionHeaders={serializedName:"Container_listBlobFlatSegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.ContainerListBlobHierarchySegmentHeaders={serializedName:"Container_listBlobHierarchySegmentHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.ContainerListBlobHierarchySegmentExceptionHeaders={serializedName:"Container_listBlobHierarchySegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.ContainerGetAccountInfoHeaders={serializedName:"Container_getAccountInfoHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}}}}};C.ContainerGetAccountInfoExceptionHeaders={serializedName:"Container_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.BlobDownloadHeaders={serializedName:"Blob_downloadHeaders",type:{name:"Composite",className:"BlobDownloadHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",headerCollectionPrefix:"x-ms-or-",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}};C.BlobDownloadExceptionHeaders={serializedName:"Blob_downloadExceptionHeaders",type:{name:"Composite",className:"BlobDownloadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.BlobGetPropertiesHeaders={serializedName:"Blob_getPropertiesHeaders",type:{name:"Composite",className:"BlobGetPropertiesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",headerCollectionPrefix:"x-ms-or-",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},isIncrementalCopy:{serializedName:"x-ms-incremental-copy",xmlName:"x-ms-incremental-copy",type:{name:"Boolean"}},destinationSnapshot:{serializedName:"x-ms-copy-destination-snapshot",xmlName:"x-ms-copy-destination-snapshot",type:{name:"String"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},accessTier:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"String"}},accessTierInferred:{serializedName:"x-ms-access-tier-inferred",xmlName:"x-ms-access-tier-inferred",type:{name:"Boolean"}},archiveStatus:{serializedName:"x-ms-archive-status",xmlName:"x-ms-archive-status",type:{name:"String"}},accessTierChangedOn:{serializedName:"x-ms-access-tier-change-time",xmlName:"x-ms-access-tier-change-time",type:{name:"DateTimeRfc1123"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},expiresOn:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},rehydratePriority:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.BlobGetPropertiesExceptionHeaders={serializedName:"Blob_getPropertiesExceptionHeaders",type:{name:"Composite",className:"BlobGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.BlobDeleteHeaders={serializedName:"Blob_deleteHeaders",type:{name:"Composite",className:"BlobDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.BlobDeleteExceptionHeaders={serializedName:"Blob_deleteExceptionHeaders",type:{name:"Composite",className:"BlobDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.BlobUndeleteHeaders={serializedName:"Blob_undeleteHeaders",type:{name:"Composite",className:"BlobUndeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.BlobUndeleteExceptionHeaders={serializedName:"Blob_undeleteExceptionHeaders",type:{name:"Composite",className:"BlobUndeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.BlobSetExpiryHeaders={serializedName:"Blob_setExpiryHeaders",type:{name:"Composite",className:"BlobSetExpiryHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};C.BlobSetExpiryExceptionHeaders={serializedName:"Blob_setExpiryExceptionHeaders",type:{name:"Composite",className:"BlobSetExpiryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.BlobSetHttpHeadersHeaders={serializedName:"Blob_setHttpHeadersHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.BlobSetHttpHeadersExceptionHeaders={serializedName:"Blob_setHttpHeadersExceptionHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.BlobSetImmutabilityPolicyHeaders={serializedName:"Blob_setImmutabilityPolicyHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiry:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}}}};C.BlobSetImmutabilityPolicyExceptionHeaders={serializedName:"Blob_setImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.BlobDeleteImmutabilityPolicyHeaders={serializedName:"Blob_deleteImmutabilityPolicyHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};C.BlobDeleteImmutabilityPolicyExceptionHeaders={serializedName:"Blob_deleteImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.BlobSetLegalHoldHeaders={serializedName:"Blob_setLegalHoldHeaders",type:{name:"Composite",className:"BlobSetLegalHoldHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}}}};C.BlobSetLegalHoldExceptionHeaders={serializedName:"Blob_setLegalHoldExceptionHeaders",type:{name:"Composite",className:"BlobSetLegalHoldExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.BlobSetMetadataHeaders={serializedName:"Blob_setMetadataHeaders",type:{name:"Composite",className:"BlobSetMetadataHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.BlobSetMetadataExceptionHeaders={serializedName:"Blob_setMetadataExceptionHeaders",type:{name:"Composite",className:"BlobSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.BlobAcquireLeaseHeaders={serializedName:"Blob_acquireLeaseHeaders",type:{name:"Composite",className:"BlobAcquireLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};C.BlobAcquireLeaseExceptionHeaders={serializedName:"Blob_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"BlobAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.BlobReleaseLeaseHeaders={serializedName:"Blob_releaseLeaseHeaders",type:{name:"Composite",className:"BlobReleaseLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};C.BlobReleaseLeaseExceptionHeaders={serializedName:"Blob_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"BlobReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.BlobRenewLeaseHeaders={serializedName:"Blob_renewLeaseHeaders",type:{name:"Composite",className:"BlobRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};C.BlobRenewLeaseExceptionHeaders={serializedName:"Blob_renewLeaseExceptionHeaders",type:{name:"Composite",className:"BlobRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.BlobChangeLeaseHeaders={serializedName:"Blob_changeLeaseHeaders",type:{name:"Composite",className:"BlobChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};C.BlobChangeLeaseExceptionHeaders={serializedName:"Blob_changeLeaseExceptionHeaders",type:{name:"Composite",className:"BlobChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.BlobBreakLeaseHeaders={serializedName:"Blob_breakLeaseHeaders",type:{name:"Composite",className:"BlobBreakLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseTime:{serializedName:"x-ms-lease-time",xmlName:"x-ms-lease-time",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};C.BlobBreakLeaseExceptionHeaders={serializedName:"Blob_breakLeaseExceptionHeaders",type:{name:"Composite",className:"BlobBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.BlobCreateSnapshotHeaders={serializedName:"Blob_createSnapshotHeaders",type:{name:"Composite",className:"BlobCreateSnapshotHeaders",modelProperties:{snapshot:{serializedName:"x-ms-snapshot",xmlName:"x-ms-snapshot",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.BlobCreateSnapshotExceptionHeaders={serializedName:"Blob_createSnapshotExceptionHeaders",type:{name:"Composite",className:"BlobCreateSnapshotExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.BlobStartCopyFromURLHeaders={serializedName:"Blob_startCopyFromURLHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.BlobStartCopyFromURLExceptionHeaders={serializedName:"Blob_startCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};C.BlobCopyFromURLHeaders={serializedName:"Blob_copyFromURLHeaders",type:{name:"Composite",className:"BlobCopyFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{defaultValue:"success",isConstant:!0,serializedName:"x-ms-copy-status",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.BlobCopyFromURLExceptionHeaders={serializedName:"Blob_copyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};C.BlobAbortCopyFromURLHeaders={serializedName:"Blob_abortCopyFromURLHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.BlobAbortCopyFromURLExceptionHeaders={serializedName:"Blob_abortCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.BlobSetTierHeaders={serializedName:"Blob_setTierHeaders",type:{name:"Composite",className:"BlobSetTierHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.BlobSetTierExceptionHeaders={serializedName:"Blob_setTierExceptionHeaders",type:{name:"Composite",className:"BlobSetTierExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.BlobGetAccountInfoHeaders={serializedName:"Blob_getAccountInfoHeaders",type:{name:"Composite",className:"BlobGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}}}}};C.BlobGetAccountInfoExceptionHeaders={serializedName:"Blob_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"BlobGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.BlobQueryHeaders={serializedName:"Blob_queryHeaders",type:{name:"Composite",className:"BlobQueryHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletionTime:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}};C.BlobQueryExceptionHeaders={serializedName:"Blob_queryExceptionHeaders",type:{name:"Composite",className:"BlobQueryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.BlobGetTagsHeaders={serializedName:"Blob_getTagsHeaders",type:{name:"Composite",className:"BlobGetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.BlobGetTagsExceptionHeaders={serializedName:"Blob_getTagsExceptionHeaders",type:{name:"Composite",className:"BlobGetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.BlobSetTagsHeaders={serializedName:"Blob_setTagsHeaders",type:{name:"Composite",className:"BlobSetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.BlobSetTagsExceptionHeaders={serializedName:"Blob_setTagsExceptionHeaders",type:{name:"Composite",className:"BlobSetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.PageBlobCreateHeaders={serializedName:"PageBlob_createHeaders",type:{name:"Composite",className:"PageBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.PageBlobCreateExceptionHeaders={serializedName:"PageBlob_createExceptionHeaders",type:{name:"Composite",className:"PageBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.PageBlobUploadPagesHeaders={serializedName:"PageBlob_uploadPagesHeaders",type:{name:"Composite",className:"PageBlobUploadPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.PageBlobUploadPagesExceptionHeaders={serializedName:"PageBlob_uploadPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.PageBlobClearPagesHeaders={serializedName:"PageBlob_clearPagesHeaders",type:{name:"Composite",className:"PageBlobClearPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.PageBlobClearPagesExceptionHeaders={serializedName:"PageBlob_clearPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobClearPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.PageBlobUploadPagesFromURLHeaders={serializedName:"PageBlob_uploadPagesFromURLHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.PageBlobUploadPagesFromURLExceptionHeaders={serializedName:"PageBlob_uploadPagesFromURLExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};C.PageBlobGetPageRangesHeaders={serializedName:"PageBlob_getPageRangesHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.PageBlobGetPageRangesExceptionHeaders={serializedName:"PageBlob_getPageRangesExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.PageBlobGetPageRangesDiffHeaders={serializedName:"PageBlob_getPageRangesDiffHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.PageBlobGetPageRangesDiffExceptionHeaders={serializedName:"PageBlob_getPageRangesDiffExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.PageBlobResizeHeaders={serializedName:"PageBlob_resizeHeaders",type:{name:"Composite",className:"PageBlobResizeHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.PageBlobResizeExceptionHeaders={serializedName:"PageBlob_resizeExceptionHeaders",type:{name:"Composite",className:"PageBlobResizeExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.PageBlobUpdateSequenceNumberHeaders={serializedName:"PageBlob_updateSequenceNumberHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.PageBlobUpdateSequenceNumberExceptionHeaders={serializedName:"PageBlob_updateSequenceNumberExceptionHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.PageBlobCopyIncrementalHeaders={serializedName:"PageBlob_copyIncrementalHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.PageBlobCopyIncrementalExceptionHeaders={serializedName:"PageBlob_copyIncrementalExceptionHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.AppendBlobCreateHeaders={serializedName:"AppendBlob_createHeaders",type:{name:"Composite",className:"AppendBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.AppendBlobCreateExceptionHeaders={serializedName:"AppendBlob_createExceptionHeaders",type:{name:"Composite",className:"AppendBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.AppendBlobAppendBlockHeaders={serializedName:"AppendBlob_appendBlockHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.AppendBlobAppendBlockExceptionHeaders={serializedName:"AppendBlob_appendBlockExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.AppendBlobAppendBlockFromUrlHeaders={serializedName:"AppendBlob_appendBlockFromUrlHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.AppendBlobAppendBlockFromUrlExceptionHeaders={serializedName:"AppendBlob_appendBlockFromUrlExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};C.AppendBlobSealHeaders={serializedName:"AppendBlob_sealHeaders",type:{name:"Composite",className:"AppendBlobSealHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}}}}};C.AppendBlobSealExceptionHeaders={serializedName:"AppendBlob_sealExceptionHeaders",type:{name:"Composite",className:"AppendBlobSealExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.BlockBlobUploadHeaders={serializedName:"BlockBlob_uploadHeaders",type:{name:"Composite",className:"BlockBlobUploadHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.BlockBlobUploadExceptionHeaders={serializedName:"BlockBlob_uploadExceptionHeaders",type:{name:"Composite",className:"BlockBlobUploadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.BlockBlobPutBlobFromUrlHeaders={serializedName:"BlockBlob_putBlobFromUrlHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.BlockBlobPutBlobFromUrlExceptionHeaders={serializedName:"BlockBlob_putBlobFromUrlExceptionHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};C.BlockBlobStageBlockHeaders={serializedName:"BlockBlob_stageBlockHeaders",type:{name:"Composite",className:"BlockBlobStageBlockHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.BlockBlobStageBlockExceptionHeaders={serializedName:"BlockBlob_stageBlockExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.BlockBlobStageBlockFromURLHeaders={serializedName:"BlockBlob_stageBlockFromURLHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.BlockBlobStageBlockFromURLExceptionHeaders={serializedName:"BlockBlob_stageBlockFromURLExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};C.BlockBlobCommitBlockListHeaders={serializedName:"BlockBlob_commitBlockListHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.BlockBlobCommitBlockListExceptionHeaders={serializedName:"BlockBlob_commitBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.BlockBlobGetBlockListHeaders={serializedName:"BlockBlob_getBlockListHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};C.BlockBlobGetBlockListExceptionHeaders={serializedName:"BlockBlob_getBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}}});var Jo=f(b=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0});b.action3=b.action2=b.leaseId1=b.action1=b.proposedLeaseId=b.duration=b.action=b.comp10=b.sourceLeaseId=b.sourceContainerName=b.comp9=b.deletedContainerVersion=b.deletedContainerName=b.comp8=b.containerAcl=b.comp7=b.comp6=b.ifUnmodifiedSince=b.ifModifiedSince=b.leaseId=b.preventEncryptionScopeOverride=b.defaultEncryptionScope=b.access=b.metadata=b.restype2=b.where=b.comp5=b.multipartContentType=b.contentLength=b.comp4=b.body=b.restype1=b.comp3=b.keyInfo=b.include=b.maxPageSize=b.marker=b.prefix=b.comp2=b.comp1=b.accept1=b.requestId=b.version=b.timeoutInSeconds=b.comp=b.restype=b.url=b.accept=b.blobServiceProperties=b.contentType=void 0;b.copySourceTags=b.copySourceAuthorization=b.sourceContentMD5=b.xMsRequiresSync=b.legalHold1=b.sealBlob=b.blobTagsString=b.copySource=b.sourceIfTags=b.sourceIfNoneMatch=b.sourceIfMatch=b.sourceIfUnmodifiedSince=b.sourceIfModifiedSince=b.rehydratePriority=b.tier=b.comp14=b.encryptionScope=b.legalHold=b.comp13=b.immutabilityPolicyMode=b.immutabilityPolicyExpiry=b.comp12=b.blobContentDisposition=b.blobContentLanguage=b.blobContentEncoding=b.blobContentMD5=b.blobContentType=b.blobCacheControl=b.expiresOn=b.expiryOptions=b.comp11=b.blobDeleteType=b.deleteSnapshots=b.ifTags=b.ifNoneMatch=b.ifMatch=b.encryptionAlgorithm=b.encryptionKeySha256=b.encryptionKey=b.rangeGetContentCRC64=b.rangeGetContentMD5=b.range=b.versionId=b.snapshot=b.delimiter=b.startFrom=b.include1=b.proposedLeaseId1=b.action4=b.breakPeriod=void 0;b.listType=b.comp25=b.blocks=b.blockId=b.comp24=b.copySourceBlobProperties=b.blobType2=b.comp23=b.sourceRange1=b.appendPosition=b.maxSize=b.comp22=b.blobType1=b.comp21=b.sequenceNumberAction=b.prevSnapshotUrl=b.prevsnapshot=b.comp20=b.range1=b.sourceContentCrc64=b.sourceRange=b.sourceUrl=b.pageWrite1=b.ifSequenceNumberEqualTo=b.ifSequenceNumberLessThan=b.ifSequenceNumberLessThanOrEqualTo=b.pageWrite=b.comp19=b.accept2=b.body1=b.contentType1=b.blobSequenceNumber=b.blobContentLength=b.blobType=b.transactionalContentCrc64=b.transactionalContentMD5=b.tags=b.ifNoneMatch1=b.ifMatch1=b.ifUnmodifiedSince1=b.ifModifiedSince1=b.comp18=b.comp17=b.queryRequest=b.tier1=b.comp16=b.copyId=b.copyActionAbortConstant=b.comp15=b.fileRequestIntent=void 0;var Nu=zs();b.contentType={parameterPath:["options","contentType"],mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}};b.blobServiceProperties={parameterPath:"blobServiceProperties",mapper:Nu.BlobServiceProperties};b.accept={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}};b.url={parameterPath:"url",mapper:{serializedName:"url",required:!0,xmlName:"url",type:{name:"String"}},skipEncoding:!0};b.restype={parameterPath:"restype",mapper:{defaultValue:"service",isConstant:!0,serializedName:"restype",type:{name:"String"}}};b.comp={parameterPath:"comp",mapper:{defaultValue:"properties",isConstant:!0,serializedName:"comp",type:{name:"String"}}};b.timeoutInSeconds={parameterPath:["options","timeoutInSeconds"],mapper:{constraints:{InclusiveMinimum:0},serializedName:"timeout",xmlName:"timeout",type:{name:"Number"}}};b.version={parameterPath:"version",mapper:{defaultValue:"2026-02-06",isConstant:!0,serializedName:"x-ms-version",type:{name:"String"}}};b.requestId={parameterPath:["options","requestId"],mapper:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}}};b.accept1={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}};b.comp1={parameterPath:"comp",mapper:{defaultValue:"stats",isConstant:!0,serializedName:"comp",type:{name:"String"}}};b.comp2={parameterPath:"comp",mapper:{defaultValue:"list",isConstant:!0,serializedName:"comp",type:{name:"String"}}};b.prefix={parameterPath:["options","prefix"],mapper:{serializedName:"prefix",xmlName:"prefix",type:{name:"String"}}};b.marker={parameterPath:["options","marker"],mapper:{serializedName:"marker",xmlName:"marker",type:{name:"String"}}};b.maxPageSize={parameterPath:["options","maxPageSize"],mapper:{constraints:{InclusiveMinimum:1},serializedName:"maxresults",xmlName:"maxresults",type:{name:"Number"}}};b.include={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListContainersIncludeType",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["metadata","deleted","system"]}}}},collectionFormat:"CSV"};b.keyInfo={parameterPath:"keyInfo",mapper:Nu.KeyInfo};b.comp3={parameterPath:"comp",mapper:{defaultValue:"userdelegationkey",isConstant:!0,serializedName:"comp",type:{name:"String"}}};b.restype1={parameterPath:"restype",mapper:{defaultValue:"account",isConstant:!0,serializedName:"restype",type:{name:"String"}}};b.body={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}};b.comp4={parameterPath:"comp",mapper:{defaultValue:"batch",isConstant:!0,serializedName:"comp",type:{name:"String"}}};b.contentLength={parameterPath:"contentLength",mapper:{serializedName:"Content-Length",required:!0,xmlName:"Content-Length",type:{name:"Number"}}};b.multipartContentType={parameterPath:"multipartContentType",mapper:{serializedName:"Content-Type",required:!0,xmlName:"Content-Type",type:{name:"String"}}};b.comp5={parameterPath:"comp",mapper:{defaultValue:"blobs",isConstant:!0,serializedName:"comp",type:{name:"String"}}};b.where={parameterPath:["options","where"],mapper:{serializedName:"where",xmlName:"where",type:{name:"String"}}};b.restype2={parameterPath:"restype",mapper:{defaultValue:"container",isConstant:!0,serializedName:"restype",type:{name:"String"}}};b.metadata={parameterPath:["options","metadata"],mapper:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",type:{name:"Dictionary",value:{type:{name:"String"}}}}};b.access={parameterPath:["options","access"],mapper:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}}};b.defaultEncryptionScope={parameterPath:["options","containerEncryptionScope","defaultEncryptionScope"],mapper:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}}};b.preventEncryptionScopeOverride={parameterPath:["options","containerEncryptionScope","preventEncryptionScopeOverride"],mapper:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}}};b.leaseId={parameterPath:["options","leaseAccessConditions","leaseId"],mapper:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}}};b.ifModifiedSince={parameterPath:["options","modifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"If-Modified-Since",xmlName:"If-Modified-Since",type:{name:"DateTimeRfc1123"}}};b.ifUnmodifiedSince={parameterPath:["options","modifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"If-Unmodified-Since",xmlName:"If-Unmodified-Since",type:{name:"DateTimeRfc1123"}}};b.comp6={parameterPath:"comp",mapper:{defaultValue:"metadata",isConstant:!0,serializedName:"comp",type:{name:"String"}}};b.comp7={parameterPath:"comp",mapper:{defaultValue:"acl",isConstant:!0,serializedName:"comp",type:{name:"String"}}};b.containerAcl={parameterPath:["options","containerAcl"],mapper:{serializedName:"containerAcl",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier",type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}}}};b.comp8={parameterPath:"comp",mapper:{defaultValue:"undelete",isConstant:!0,serializedName:"comp",type:{name:"String"}}};b.deletedContainerName={parameterPath:["options","deletedContainerName"],mapper:{serializedName:"x-ms-deleted-container-name",xmlName:"x-ms-deleted-container-name",type:{name:"String"}}};b.deletedContainerVersion={parameterPath:["options","deletedContainerVersion"],mapper:{serializedName:"x-ms-deleted-container-version",xmlName:"x-ms-deleted-container-version",type:{name:"String"}}};b.comp9={parameterPath:"comp",mapper:{defaultValue:"rename",isConstant:!0,serializedName:"comp",type:{name:"String"}}};b.sourceContainerName={parameterPath:"sourceContainerName",mapper:{serializedName:"x-ms-source-container-name",required:!0,xmlName:"x-ms-source-container-name",type:{name:"String"}}};b.sourceLeaseId={parameterPath:["options","sourceLeaseId"],mapper:{serializedName:"x-ms-source-lease-id",xmlName:"x-ms-source-lease-id",type:{name:"String"}}};b.comp10={parameterPath:"comp",mapper:{defaultValue:"lease",isConstant:!0,serializedName:"comp",type:{name:"String"}}};b.action={parameterPath:"action",mapper:{defaultValue:"acquire",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}};b.duration={parameterPath:["options","duration"],mapper:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Number"}}};b.proposedLeaseId={parameterPath:["options","proposedLeaseId"],mapper:{serializedName:"x-ms-proposed-lease-id",xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}};b.action1={parameterPath:"action",mapper:{defaultValue:"release",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}};b.leaseId1={parameterPath:"leaseId",mapper:{serializedName:"x-ms-lease-id",required:!0,xmlName:"x-ms-lease-id",type:{name:"String"}}};b.action2={parameterPath:"action",mapper:{defaultValue:"renew",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}};b.action3={parameterPath:"action",mapper:{defaultValue:"break",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}};b.breakPeriod={parameterPath:["options","breakPeriod"],mapper:{serializedName:"x-ms-lease-break-period",xmlName:"x-ms-lease-break-period",type:{name:"Number"}}};b.action4={parameterPath:"action",mapper:{defaultValue:"change",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}};b.proposedLeaseId1={parameterPath:"proposedLeaseId",mapper:{serializedName:"x-ms-proposed-lease-id",required:!0,xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}};b.include1={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListBlobsIncludeItem",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["copy","deleted","metadata","snapshots","uncommittedblobs","versions","tags","immutabilitypolicy","legalhold","deletedwithversions"]}}}},collectionFormat:"CSV"};b.startFrom={parameterPath:["options","startFrom"],mapper:{serializedName:"startFrom",xmlName:"startFrom",type:{name:"String"}}};b.delimiter={parameterPath:"delimiter",mapper:{serializedName:"delimiter",required:!0,xmlName:"delimiter",type:{name:"String"}}};b.snapshot={parameterPath:["options","snapshot"],mapper:{serializedName:"snapshot",xmlName:"snapshot",type:{name:"String"}}};b.versionId={parameterPath:["options","versionId"],mapper:{serializedName:"versionid",xmlName:"versionid",type:{name:"String"}}};b.range={parameterPath:["options","range"],mapper:{serializedName:"x-ms-range",xmlName:"x-ms-range",type:{name:"String"}}};b.rangeGetContentMD5={parameterPath:["options","rangeGetContentMD5"],mapper:{serializedName:"x-ms-range-get-content-md5",xmlName:"x-ms-range-get-content-md5",type:{name:"Boolean"}}};b.rangeGetContentCRC64={parameterPath:["options","rangeGetContentCRC64"],mapper:{serializedName:"x-ms-range-get-content-crc64",xmlName:"x-ms-range-get-content-crc64",type:{name:"Boolean"}}};b.encryptionKey={parameterPath:["options","cpkInfo","encryptionKey"],mapper:{serializedName:"x-ms-encryption-key",xmlName:"x-ms-encryption-key",type:{name:"String"}}};b.encryptionKeySha256={parameterPath:["options","cpkInfo","encryptionKeySha256"],mapper:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}}};b.encryptionAlgorithm={parameterPath:["options","cpkInfo","encryptionAlgorithm"],mapper:{serializedName:"x-ms-encryption-algorithm",xmlName:"x-ms-encryption-algorithm",type:{name:"String"}}};b.ifMatch={parameterPath:["options","modifiedAccessConditions","ifMatch"],mapper:{serializedName:"If-Match",xmlName:"If-Match",type:{name:"String"}}};b.ifNoneMatch={parameterPath:["options","modifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"If-None-Match",xmlName:"If-None-Match",type:{name:"String"}}};b.ifTags={parameterPath:["options","modifiedAccessConditions","ifTags"],mapper:{serializedName:"x-ms-if-tags",xmlName:"x-ms-if-tags",type:{name:"String"}}};b.deleteSnapshots={parameterPath:["options","deleteSnapshots"],mapper:{serializedName:"x-ms-delete-snapshots",xmlName:"x-ms-delete-snapshots",type:{name:"Enum",allowedValues:["include","only"]}}};b.blobDeleteType={parameterPath:["options","blobDeleteType"],mapper:{serializedName:"deletetype",xmlName:"deletetype",type:{name:"String"}}};b.comp11={parameterPath:"comp",mapper:{defaultValue:"expiry",isConstant:!0,serializedName:"comp",type:{name:"String"}}};b.expiryOptions={parameterPath:"expiryOptions",mapper:{serializedName:"x-ms-expiry-option",required:!0,xmlName:"x-ms-expiry-option",type:{name:"String"}}};b.expiresOn={parameterPath:["options","expiresOn"],mapper:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"String"}}};b.blobCacheControl={parameterPath:["options","blobHttpHeaders","blobCacheControl"],mapper:{serializedName:"x-ms-blob-cache-control",xmlName:"x-ms-blob-cache-control",type:{name:"String"}}};b.blobContentType={parameterPath:["options","blobHttpHeaders","blobContentType"],mapper:{serializedName:"x-ms-blob-content-type",xmlName:"x-ms-blob-content-type",type:{name:"String"}}};b.blobContentMD5={parameterPath:["options","blobHttpHeaders","blobContentMD5"],mapper:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}}};b.blobContentEncoding={parameterPath:["options","blobHttpHeaders","blobContentEncoding"],mapper:{serializedName:"x-ms-blob-content-encoding",xmlName:"x-ms-blob-content-encoding",type:{name:"String"}}};b.blobContentLanguage={parameterPath:["options","blobHttpHeaders","blobContentLanguage"],mapper:{serializedName:"x-ms-blob-content-language",xmlName:"x-ms-blob-content-language",type:{name:"String"}}};b.blobContentDisposition={parameterPath:["options","blobHttpHeaders","blobContentDisposition"],mapper:{serializedName:"x-ms-blob-content-disposition",xmlName:"x-ms-blob-content-disposition",type:{name:"String"}}};b.comp12={parameterPath:"comp",mapper:{defaultValue:"immutabilityPolicies",isConstant:!0,serializedName:"comp",type:{name:"String"}}};b.immutabilityPolicyExpiry={parameterPath:["options","immutabilityPolicyExpiry"],mapper:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}}};b.immutabilityPolicyMode={parameterPath:["options","immutabilityPolicyMode"],mapper:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}};b.comp13={parameterPath:"comp",mapper:{defaultValue:"legalhold",isConstant:!0,serializedName:"comp",type:{name:"String"}}};b.legalHold={parameterPath:"legalHold",mapper:{serializedName:"x-ms-legal-hold",required:!0,xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}};b.encryptionScope={parameterPath:["options","encryptionScope"],mapper:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}}};b.comp14={parameterPath:"comp",mapper:{defaultValue:"snapshot",isConstant:!0,serializedName:"comp",type:{name:"String"}}};b.tier={parameterPath:["options","tier"],mapper:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold"]}}};b.rehydratePriority={parameterPath:["options","rehydratePriority"],mapper:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}}};b.sourceIfModifiedSince={parameterPath:["options","sourceModifiedAccessConditions","sourceIfModifiedSince"],mapper:{serializedName:"x-ms-source-if-modified-since",xmlName:"x-ms-source-if-modified-since",type:{name:"DateTimeRfc1123"}}};b.sourceIfUnmodifiedSince={parameterPath:["options","sourceModifiedAccessConditions","sourceIfUnmodifiedSince"],mapper:{serializedName:"x-ms-source-if-unmodified-since",xmlName:"x-ms-source-if-unmodified-since",type:{name:"DateTimeRfc1123"}}};b.sourceIfMatch={parameterPath:["options","sourceModifiedAccessConditions","sourceIfMatch"],mapper:{serializedName:"x-ms-source-if-match",xmlName:"x-ms-source-if-match",type:{name:"String"}}};b.sourceIfNoneMatch={parameterPath:["options","sourceModifiedAccessConditions","sourceIfNoneMatch"],mapper:{serializedName:"x-ms-source-if-none-match",xmlName:"x-ms-source-if-none-match",type:{name:"String"}}};b.sourceIfTags={parameterPath:["options","sourceModifiedAccessConditions","sourceIfTags"],mapper:{serializedName:"x-ms-source-if-tags",xmlName:"x-ms-source-if-tags",type:{name:"String"}}};b.copySource={parameterPath:"copySource",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}};b.blobTagsString={parameterPath:["options","blobTagsString"],mapper:{serializedName:"x-ms-tags",xmlName:"x-ms-tags",type:{name:"String"}}};b.sealBlob={parameterPath:["options","sealBlob"],mapper:{serializedName:"x-ms-seal-blob",xmlName:"x-ms-seal-blob",type:{name:"Boolean"}}};b.legalHold1={parameterPath:["options","legalHold"],mapper:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}};b.xMsRequiresSync={parameterPath:"xMsRequiresSync",mapper:{defaultValue:"true",isConstant:!0,serializedName:"x-ms-requires-sync",type:{name:"String"}}};b.sourceContentMD5={parameterPath:["options","sourceContentMD5"],mapper:{serializedName:"x-ms-source-content-md5",xmlName:"x-ms-source-content-md5",type:{name:"ByteArray"}}};b.copySourceAuthorization={parameterPath:["options","copySourceAuthorization"],mapper:{serializedName:"x-ms-copy-source-authorization",xmlName:"x-ms-copy-source-authorization",type:{name:"String"}}};b.copySourceTags={parameterPath:["options","copySourceTags"],mapper:{serializedName:"x-ms-copy-source-tag-option",xmlName:"x-ms-copy-source-tag-option",type:{name:"Enum",allowedValues:["REPLACE","COPY"]}}};b.fileRequestIntent={parameterPath:["options","fileRequestIntent"],mapper:{serializedName:"x-ms-file-request-intent",xmlName:"x-ms-file-request-intent",type:{name:"String"}}};b.comp15={parameterPath:"comp",mapper:{defaultValue:"copy",isConstant:!0,serializedName:"comp",type:{name:"String"}}};b.copyActionAbortConstant={parameterPath:"copyActionAbortConstant",mapper:{defaultValue:"abort",isConstant:!0,serializedName:"x-ms-copy-action",type:{name:"String"}}};b.copyId={parameterPath:"copyId",mapper:{serializedName:"copyid",required:!0,xmlName:"copyid",type:{name:"String"}}};b.comp16={parameterPath:"comp",mapper:{defaultValue:"tier",isConstant:!0,serializedName:"comp",type:{name:"String"}}};b.tier1={parameterPath:"tier",mapper:{serializedName:"x-ms-access-tier",required:!0,xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold"]}}};b.queryRequest={parameterPath:["options","queryRequest"],mapper:Nu.QueryRequest};b.comp17={parameterPath:"comp",mapper:{defaultValue:"query",isConstant:!0,serializedName:"comp",type:{name:"String"}}};b.comp18={parameterPath:"comp",mapper:{defaultValue:"tags",isConstant:!0,serializedName:"comp",type:{name:"String"}}};b.ifModifiedSince1={parameterPath:["options","blobModifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"x-ms-blob-if-modified-since",xmlName:"x-ms-blob-if-modified-since",type:{name:"DateTimeRfc1123"}}};b.ifUnmodifiedSince1={parameterPath:["options","blobModifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"x-ms-blob-if-unmodified-since",xmlName:"x-ms-blob-if-unmodified-since",type:{name:"DateTimeRfc1123"}}};b.ifMatch1={parameterPath:["options","blobModifiedAccessConditions","ifMatch"],mapper:{serializedName:"x-ms-blob-if-match",xmlName:"x-ms-blob-if-match",type:{name:"String"}}};b.ifNoneMatch1={parameterPath:["options","blobModifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"x-ms-blob-if-none-match",xmlName:"x-ms-blob-if-none-match",type:{name:"String"}}};b.tags={parameterPath:["options","tags"],mapper:Nu.BlobTags};b.transactionalContentMD5={parameterPath:["options","transactionalContentMD5"],mapper:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}}};b.transactionalContentCrc64={parameterPath:["options","transactionalContentCrc64"],mapper:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}};b.blobType={parameterPath:"blobType",mapper:{defaultValue:"PageBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}};b.blobContentLength={parameterPath:"blobContentLength",mapper:{serializedName:"x-ms-blob-content-length",required:!0,xmlName:"x-ms-blob-content-length",type:{name:"Number"}}};b.blobSequenceNumber={parameterPath:["options","blobSequenceNumber"],mapper:{defaultValue:0,serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}}};b.contentType1={parameterPath:["options","contentType"],mapper:{defaultValue:"application/octet-stream",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}};b.body1={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}};b.accept2={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}};b.comp19={parameterPath:"comp",mapper:{defaultValue:"page",isConstant:!0,serializedName:"comp",type:{name:"String"}}};b.pageWrite={parameterPath:"pageWrite",mapper:{defaultValue:"update",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}};b.ifSequenceNumberLessThanOrEqualTo={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThanOrEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-le",xmlName:"x-ms-if-sequence-number-le",type:{name:"Number"}}};b.ifSequenceNumberLessThan={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThan"],mapper:{serializedName:"x-ms-if-sequence-number-lt",xmlName:"x-ms-if-sequence-number-lt",type:{name:"Number"}}};b.ifSequenceNumberEqualTo={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-eq",xmlName:"x-ms-if-sequence-number-eq",type:{name:"Number"}}};b.pageWrite1={parameterPath:"pageWrite",mapper:{defaultValue:"clear",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}};b.sourceUrl={parameterPath:"sourceUrl",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}};b.sourceRange={parameterPath:"sourceRange",mapper:{serializedName:"x-ms-source-range",required:!0,xmlName:"x-ms-source-range",type:{name:"String"}}};b.sourceContentCrc64={parameterPath:["options","sourceContentCrc64"],mapper:{serializedName:"x-ms-source-content-crc64",xmlName:"x-ms-source-content-crc64",type:{name:"ByteArray"}}};b.range1={parameterPath:"range",mapper:{serializedName:"x-ms-range",required:!0,xmlName:"x-ms-range",type:{name:"String"}}};b.comp20={parameterPath:"comp",mapper:{defaultValue:"pagelist",isConstant:!0,serializedName:"comp",type:{name:"String"}}};b.prevsnapshot={parameterPath:["options","prevsnapshot"],mapper:{serializedName:"prevsnapshot",xmlName:"prevsnapshot",type:{name:"String"}}};b.prevSnapshotUrl={parameterPath:["options","prevSnapshotUrl"],mapper:{serializedName:"x-ms-previous-snapshot-url",xmlName:"x-ms-previous-snapshot-url",type:{name:"String"}}};b.sequenceNumberAction={parameterPath:"sequenceNumberAction",mapper:{serializedName:"x-ms-sequence-number-action",required:!0,xmlName:"x-ms-sequence-number-action",type:{name:"Enum",allowedValues:["max","update","increment"]}}};b.comp21={parameterPath:"comp",mapper:{defaultValue:"incrementalcopy",isConstant:!0,serializedName:"comp",type:{name:"String"}}};b.blobType1={parameterPath:"blobType",mapper:{defaultValue:"AppendBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}};b.comp22={parameterPath:"comp",mapper:{defaultValue:"appendblock",isConstant:!0,serializedName:"comp",type:{name:"String"}}};b.maxSize={parameterPath:["options","appendPositionAccessConditions","maxSize"],mapper:{serializedName:"x-ms-blob-condition-maxsize",xmlName:"x-ms-blob-condition-maxsize",type:{name:"Number"}}};b.appendPosition={parameterPath:["options","appendPositionAccessConditions","appendPosition"],mapper:{serializedName:"x-ms-blob-condition-appendpos",xmlName:"x-ms-blob-condition-appendpos",type:{name:"Number"}}};b.sourceRange1={parameterPath:["options","sourceRange"],mapper:{serializedName:"x-ms-source-range",xmlName:"x-ms-source-range",type:{name:"String"}}};b.comp23={parameterPath:"comp",mapper:{defaultValue:"seal",isConstant:!0,serializedName:"comp",type:{name:"String"}}};b.blobType2={parameterPath:"blobType",mapper:{defaultValue:"BlockBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}};b.copySourceBlobProperties={parameterPath:["options","copySourceBlobProperties"],mapper:{serializedName:"x-ms-copy-source-blob-properties",xmlName:"x-ms-copy-source-blob-properties",type:{name:"Boolean"}}};b.comp24={parameterPath:"comp",mapper:{defaultValue:"block",isConstant:!0,serializedName:"comp",type:{name:"String"}}};b.blockId={parameterPath:"blockId",mapper:{serializedName:"blockid",required:!0,xmlName:"blockid",type:{name:"String"}}};b.blocks={parameterPath:"blocks",mapper:Nu.BlockLookupList};b.comp25={parameterPath:"comp",mapper:{defaultValue:"blocklist",isConstant:!0,serializedName:"comp",type:{name:"String"}}};b.listType={parameterPath:"listType",mapper:{defaultValue:"committed",serializedName:"blocklisttype",required:!0,xmlName:"blocklisttype",type:{name:"Enum",allowedValues:["committed","uncommitted","all"]}}}});var zJ=f(ih=>{"use strict";Object.defineProperty(ih,"__esModule",{value:!0});ih.ServiceImpl=void 0;var I0=(jt(),Xt(Gt)),MRe=I0.__importStar(fi()),Le=I0.__importStar(zs()),J=I0.__importStar(Jo()),B0=class{static{s(this,"ServiceImpl")}client;constructor(e){this.client=e}setProperties(e,r){return this.client.sendOperationRequest({blobServiceProperties:e,options:r},kRe)}getProperties(e){return this.client.sendOperationRequest({options:e},LRe)}getStatistics(e){return this.client.sendOperationRequest({options:e},FRe)}listContainersSegment(e){return this.client.sendOperationRequest({options:e},URe)}getUserDelegationKey(e,r){return this.client.sendOperationRequest({keyInfo:e,options:r},qRe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},HRe)}submitBatch(e,r,n,i){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:n,options:i},zRe)}filterBlobs(e){return this.client.sendOperationRequest({options:e},GRe)}};ih.ServiceImpl=B0;var Gs=MRe.createSerializer(Le,!0),kRe={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:Le.ServiceSetPropertiesHeaders},default:{bodyMapper:Le.StorageError,headersMapper:Le.ServiceSetPropertiesExceptionHeaders}},requestBody:J.blobServiceProperties,queryParameters:[J.restype,J.comp,J.timeoutInSeconds],urlParameters:[J.url],headerParameters:[J.contentType,J.accept,J.version,J.requestId],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Gs},LRe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Le.BlobServiceProperties,headersMapper:Le.ServiceGetPropertiesHeaders},default:{bodyMapper:Le.StorageError,headersMapper:Le.ServiceGetPropertiesExceptionHeaders}},queryParameters:[J.restype,J.comp,J.timeoutInSeconds],urlParameters:[J.url],headerParameters:[J.version,J.requestId,J.accept1],isXML:!0,serializer:Gs},FRe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Le.BlobServiceStatistics,headersMapper:Le.ServiceGetStatisticsHeaders},default:{bodyMapper:Le.StorageError,headersMapper:Le.ServiceGetStatisticsExceptionHeaders}},queryParameters:[J.restype,J.timeoutInSeconds,J.comp1],urlParameters:[J.url],headerParameters:[J.version,J.requestId,J.accept1],isXML:!0,serializer:Gs},URe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Le.ListContainersSegmentResponse,headersMapper:Le.ServiceListContainersSegmentHeaders},default:{bodyMapper:Le.StorageError,headersMapper:Le.ServiceListContainersSegmentExceptionHeaders}},queryParameters:[J.timeoutInSeconds,J.comp2,J.prefix,J.marker,J.maxPageSize,J.include],urlParameters:[J.url],headerParameters:[J.version,J.requestId,J.accept1],isXML:!0,serializer:Gs},qRe={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:Le.UserDelegationKey,headersMapper:Le.ServiceGetUserDelegationKeyHeaders},default:{bodyMapper:Le.StorageError,headersMapper:Le.ServiceGetUserDelegationKeyExceptionHeaders}},requestBody:J.keyInfo,queryParameters:[J.restype,J.timeoutInSeconds,J.comp3],urlParameters:[J.url],headerParameters:[J.contentType,J.accept,J.version,J.requestId],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Gs},HRe={path:"/",httpMethod:"GET",responses:{200:{headersMapper:Le.ServiceGetAccountInfoHeaders},default:{bodyMapper:Le.StorageError,headersMapper:Le.ServiceGetAccountInfoExceptionHeaders}},queryParameters:[J.comp,J.timeoutInSeconds,J.restype1],urlParameters:[J.url],headerParameters:[J.version,J.requestId,J.accept1],isXML:!0,serializer:Gs},zRe={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Le.ServiceSubmitBatchHeaders},default:{bodyMapper:Le.StorageError,headersMapper:Le.ServiceSubmitBatchExceptionHeaders}},requestBody:J.body,queryParameters:[J.timeoutInSeconds,J.comp4],urlParameters:[J.url],headerParameters:[J.accept,J.version,J.requestId,J.contentLength,J.multipartContentType],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Gs},GRe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Le.FilterBlobSegment,headersMapper:Le.ServiceFilterBlobsHeaders},default:{bodyMapper:Le.StorageError,headersMapper:Le.ServiceFilterBlobsExceptionHeaders}},queryParameters:[J.timeoutInSeconds,J.marker,J.maxPageSize,J.comp5,J.where],urlParameters:[J.url],headerParameters:[J.version,J.requestId,J.accept1],isXML:!0,serializer:Gs}});var GJ=f(sh=>{"use strict";Object.defineProperty(sh,"__esModule",{value:!0});sh.ContainerImpl=void 0;var Q0=(jt(),Xt(Gt)),jRe=Q0.__importStar(fi()),X=Q0.__importStar(zs()),_=Q0.__importStar(Jo()),b0=class{static{s(this,"ContainerImpl")}client;constructor(e){this.client=e}create(e){return this.client.sendOperationRequest({options:e},YRe)}getProperties(e){return this.client.sendOperationRequest({options:e},JRe)}delete(e){return this.client.sendOperationRequest({options:e},VRe)}setMetadata(e){return this.client.sendOperationRequest({options:e},WRe)}getAccessPolicy(e){return this.client.sendOperationRequest({options:e},KRe)}setAccessPolicy(e){return this.client.sendOperationRequest({options:e},$Re)}restore(e){return this.client.sendOperationRequest({options:e},XRe)}rename(e,r){return this.client.sendOperationRequest({sourceContainerName:e,options:r},ZRe)}submitBatch(e,r,n,i){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:n,options:i},eve)}filterBlobs(e){return this.client.sendOperationRequest({options:e},tve)}acquireLease(e){return this.client.sendOperationRequest({options:e},rve)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},nve)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},ive)}breakLease(e){return this.client.sendOperationRequest({options:e},sve)}changeLease(e,r,n){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:n},ove)}listBlobFlatSegment(e){return this.client.sendOperationRequest({options:e},ave)}listBlobHierarchySegment(e,r){return this.client.sendOperationRequest({delimiter:e,options:r},cve)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},lve)}};sh.ContainerImpl=b0;var Wt=jRe.createSerializer(X,!0),YRe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:X.ContainerCreateHeaders},default:{bodyMapper:X.StorageError,headersMapper:X.ContainerCreateExceptionHeaders}},queryParameters:[_.timeoutInSeconds,_.restype2],urlParameters:[_.url],headerParameters:[_.version,_.requestId,_.accept1,_.metadata,_.access,_.defaultEncryptionScope,_.preventEncryptionScopeOverride],isXML:!0,serializer:Wt},JRe={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:X.ContainerGetPropertiesHeaders},default:{bodyMapper:X.StorageError,headersMapper:X.ContainerGetPropertiesExceptionHeaders}},queryParameters:[_.timeoutInSeconds,_.restype2],urlParameters:[_.url],headerParameters:[_.version,_.requestId,_.accept1,_.leaseId],isXML:!0,serializer:Wt},VRe={path:"/{containerName}",httpMethod:"DELETE",responses:{202:{headersMapper:X.ContainerDeleteHeaders},default:{bodyMapper:X.StorageError,headersMapper:X.ContainerDeleteExceptionHeaders}},queryParameters:[_.timeoutInSeconds,_.restype2],urlParameters:[_.url],headerParameters:[_.version,_.requestId,_.accept1,_.leaseId,_.ifModifiedSince,_.ifUnmodifiedSince],isXML:!0,serializer:Wt},WRe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:X.ContainerSetMetadataHeaders},default:{bodyMapper:X.StorageError,headersMapper:X.ContainerSetMetadataExceptionHeaders}},queryParameters:[_.timeoutInSeconds,_.restype2,_.comp6],urlParameters:[_.url],headerParameters:[_.version,_.requestId,_.accept1,_.metadata,_.leaseId,_.ifModifiedSince],isXML:!0,serializer:Wt},KRe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}},serializedName:"SignedIdentifiers",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier"},headersMapper:X.ContainerGetAccessPolicyHeaders},default:{bodyMapper:X.StorageError,headersMapper:X.ContainerGetAccessPolicyExceptionHeaders}},queryParameters:[_.timeoutInSeconds,_.restype2,_.comp7],urlParameters:[_.url],headerParameters:[_.version,_.requestId,_.accept1,_.leaseId],isXML:!0,serializer:Wt},$Re={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:X.ContainerSetAccessPolicyHeaders},default:{bodyMapper:X.StorageError,headersMapper:X.ContainerSetAccessPolicyExceptionHeaders}},requestBody:_.containerAcl,queryParameters:[_.timeoutInSeconds,_.restype2,_.comp7],urlParameters:[_.url],headerParameters:[_.contentType,_.accept,_.version,_.requestId,_.access,_.leaseId,_.ifModifiedSince,_.ifUnmodifiedSince],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Wt},XRe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:X.ContainerRestoreHeaders},default:{bodyMapper:X.StorageError,headersMapper:X.ContainerRestoreExceptionHeaders}},queryParameters:[_.timeoutInSeconds,_.restype2,_.comp8],urlParameters:[_.url],headerParameters:[_.version,_.requestId,_.accept1,_.deletedContainerName,_.deletedContainerVersion],isXML:!0,serializer:Wt},ZRe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:X.ContainerRenameHeaders},default:{bodyMapper:X.StorageError,headersMapper:X.ContainerRenameExceptionHeaders}},queryParameters:[_.timeoutInSeconds,_.restype2,_.comp9],urlParameters:[_.url],headerParameters:[_.version,_.requestId,_.accept1,_.sourceContainerName,_.sourceLeaseId],isXML:!0,serializer:Wt},eve={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:X.ContainerSubmitBatchHeaders},default:{bodyMapper:X.StorageError,headersMapper:X.ContainerSubmitBatchExceptionHeaders}},requestBody:_.body,queryParameters:[_.timeoutInSeconds,_.comp4,_.restype2],urlParameters:[_.url],headerParameters:[_.accept,_.version,_.requestId,_.contentLength,_.multipartContentType],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Wt},tve={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:X.FilterBlobSegment,headersMapper:X.ContainerFilterBlobsHeaders},default:{bodyMapper:X.StorageError,headersMapper:X.ContainerFilterBlobsExceptionHeaders}},queryParameters:[_.timeoutInSeconds,_.marker,_.maxPageSize,_.comp5,_.where,_.restype2],urlParameters:[_.url],headerParameters:[_.version,_.requestId,_.accept1],isXML:!0,serializer:Wt},rve={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:X.ContainerAcquireLeaseHeaders},default:{bodyMapper:X.StorageError,headersMapper:X.ContainerAcquireLeaseExceptionHeaders}},queryParameters:[_.timeoutInSeconds,_.restype2,_.comp10],urlParameters:[_.url],headerParameters:[_.version,_.requestId,_.accept1,_.ifModifiedSince,_.ifUnmodifiedSince,_.action,_.duration,_.proposedLeaseId],isXML:!0,serializer:Wt},nve={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:X.ContainerReleaseLeaseHeaders},default:{bodyMapper:X.StorageError,headersMapper:X.ContainerReleaseLeaseExceptionHeaders}},queryParameters:[_.timeoutInSeconds,_.restype2,_.comp10],urlParameters:[_.url],headerParameters:[_.version,_.requestId,_.accept1,_.ifModifiedSince,_.ifUnmodifiedSince,_.action1,_.leaseId1],isXML:!0,serializer:Wt},ive={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:X.ContainerRenewLeaseHeaders},default:{bodyMapper:X.StorageError,headersMapper:X.ContainerRenewLeaseExceptionHeaders}},queryParameters:[_.timeoutInSeconds,_.restype2,_.comp10],urlParameters:[_.url],headerParameters:[_.version,_.requestId,_.accept1,_.ifModifiedSince,_.ifUnmodifiedSince,_.leaseId1,_.action2],isXML:!0,serializer:Wt},sve={path:"/{containerName}",httpMethod:"PUT",responses:{202:{headersMapper:X.ContainerBreakLeaseHeaders},default:{bodyMapper:X.StorageError,headersMapper:X.ContainerBreakLeaseExceptionHeaders}},queryParameters:[_.timeoutInSeconds,_.restype2,_.comp10],urlParameters:[_.url],headerParameters:[_.version,_.requestId,_.accept1,_.ifModifiedSince,_.ifUnmodifiedSince,_.action3,_.breakPeriod],isXML:!0,serializer:Wt},ove={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:X.ContainerChangeLeaseHeaders},default:{bodyMapper:X.StorageError,headersMapper:X.ContainerChangeLeaseExceptionHeaders}},queryParameters:[_.timeoutInSeconds,_.restype2,_.comp10],urlParameters:[_.url],headerParameters:[_.version,_.requestId,_.accept1,_.ifModifiedSince,_.ifUnmodifiedSince,_.leaseId1,_.action4,_.proposedLeaseId1],isXML:!0,serializer:Wt},ave={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:X.ListBlobsFlatSegmentResponse,headersMapper:X.ContainerListBlobFlatSegmentHeaders},default:{bodyMapper:X.StorageError,headersMapper:X.ContainerListBlobFlatSegmentExceptionHeaders}},queryParameters:[_.timeoutInSeconds,_.comp2,_.prefix,_.marker,_.maxPageSize,_.restype2,_.include1,_.startFrom],urlParameters:[_.url],headerParameters:[_.version,_.requestId,_.accept1],isXML:!0,serializer:Wt},cve={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:X.ListBlobsHierarchySegmentResponse,headersMapper:X.ContainerListBlobHierarchySegmentHeaders},default:{bodyMapper:X.StorageError,headersMapper:X.ContainerListBlobHierarchySegmentExceptionHeaders}},queryParameters:[_.timeoutInSeconds,_.comp2,_.prefix,_.marker,_.maxPageSize,_.restype2,_.include1,_.startFrom,_.delimiter],urlParameters:[_.url],headerParameters:[_.version,_.requestId,_.accept1],isXML:!0,serializer:Wt},lve={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:X.ContainerGetAccountInfoHeaders},default:{bodyMapper:X.StorageError,headersMapper:X.ContainerGetAccountInfoExceptionHeaders}},queryParameters:[_.comp,_.timeoutInSeconds,_.restype1],urlParameters:[_.url],headerParameters:[_.version,_.requestId,_.accept1],isXML:!0,serializer:Wt}});var jJ=f(oh=>{"use strict";Object.defineProperty(oh,"__esModule",{value:!0});oh.BlobImpl=void 0;var w0=(jt(),Xt(Gt)),Ave=w0.__importStar(fi()),Y=w0.__importStar(zs()),E=w0.__importStar(Jo()),N0=class{static{s(this,"BlobImpl")}client;constructor(e){this.client=e}download(e){return this.client.sendOperationRequest({options:e},uve)}getProperties(e){return this.client.sendOperationRequest({options:e},dve)}delete(e){return this.client.sendOperationRequest({options:e},pve)}undelete(e){return this.client.sendOperationRequest({options:e},mve)}setExpiry(e,r){return this.client.sendOperationRequest({expiryOptions:e,options:r},gve)}setHttpHeaders(e){return this.client.sendOperationRequest({options:e},hve)}setImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},fve)}deleteImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},yve)}setLegalHold(e,r){return this.client.sendOperationRequest({legalHold:e,options:r},Cve)}setMetadata(e){return this.client.sendOperationRequest({options:e},Eve)}acquireLease(e){return this.client.sendOperationRequest({options:e},Bve)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},Ive)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},bve)}changeLease(e,r,n){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:n},Qve)}breakLease(e){return this.client.sendOperationRequest({options:e},Nve)}createSnapshot(e){return this.client.sendOperationRequest({options:e},wve)}startCopyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},Sve)}copyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},xve)}abortCopyFromURL(e,r){return this.client.sendOperationRequest({copyId:e,options:r},Rve)}setTier(e,r){return this.client.sendOperationRequest({tier:e,options:r},vve)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},Pve)}query(e){return this.client.sendOperationRequest({options:e},_ve)}getTags(e){return this.client.sendOperationRequest({options:e},Dve)}setTags(e){return this.client.sendOperationRequest({options:e},Tve)}};oh.BlobImpl=N0;var ot=Ave.createSerializer(Y,!0),uve={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Y.BlobDownloadHeaders},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Y.BlobDownloadHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobDownloadExceptionHeaders}},queryParameters:[E.timeoutInSeconds,E.snapshot,E.versionId],urlParameters:[E.url],headerParameters:[E.version,E.requestId,E.accept1,E.leaseId,E.ifModifiedSince,E.ifUnmodifiedSince,E.range,E.rangeGetContentMD5,E.rangeGetContentCRC64,E.encryptionKey,E.encryptionKeySha256,E.encryptionAlgorithm,E.ifMatch,E.ifNoneMatch,E.ifTags],isXML:!0,serializer:ot},dve={path:"/{containerName}/{blob}",httpMethod:"HEAD",responses:{200:{headersMapper:Y.BlobGetPropertiesHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobGetPropertiesExceptionHeaders}},queryParameters:[E.timeoutInSeconds,E.snapshot,E.versionId],urlParameters:[E.url],headerParameters:[E.version,E.requestId,E.accept1,E.leaseId,E.ifModifiedSince,E.ifUnmodifiedSince,E.encryptionKey,E.encryptionKeySha256,E.encryptionAlgorithm,E.ifMatch,E.ifNoneMatch,E.ifTags],isXML:!0,serializer:ot},pve={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{202:{headersMapper:Y.BlobDeleteHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobDeleteExceptionHeaders}},queryParameters:[E.timeoutInSeconds,E.snapshot,E.versionId,E.blobDeleteType],urlParameters:[E.url],headerParameters:[E.version,E.requestId,E.accept1,E.leaseId,E.ifModifiedSince,E.ifUnmodifiedSince,E.ifMatch,E.ifNoneMatch,E.ifTags,E.deleteSnapshots],isXML:!0,serializer:ot},mve={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Y.BlobUndeleteHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobUndeleteExceptionHeaders}},queryParameters:[E.timeoutInSeconds,E.comp8],urlParameters:[E.url],headerParameters:[E.version,E.requestId,E.accept1],isXML:!0,serializer:ot},gve={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Y.BlobSetExpiryHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobSetExpiryExceptionHeaders}},queryParameters:[E.timeoutInSeconds,E.comp11],urlParameters:[E.url],headerParameters:[E.version,E.requestId,E.accept1,E.expiryOptions,E.expiresOn],isXML:!0,serializer:ot},hve={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Y.BlobSetHttpHeadersHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobSetHttpHeadersExceptionHeaders}},queryParameters:[E.comp,E.timeoutInSeconds],urlParameters:[E.url],headerParameters:[E.version,E.requestId,E.accept1,E.leaseId,E.ifModifiedSince,E.ifUnmodifiedSince,E.ifMatch,E.ifNoneMatch,E.ifTags,E.blobCacheControl,E.blobContentType,E.blobContentMD5,E.blobContentEncoding,E.blobContentLanguage,E.blobContentDisposition],isXML:!0,serializer:ot},fve={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Y.BlobSetImmutabilityPolicyHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobSetImmutabilityPolicyExceptionHeaders}},queryParameters:[E.timeoutInSeconds,E.snapshot,E.versionId,E.comp12],urlParameters:[E.url],headerParameters:[E.version,E.requestId,E.accept1,E.ifUnmodifiedSince,E.immutabilityPolicyExpiry,E.immutabilityPolicyMode],isXML:!0,serializer:ot},yve={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{200:{headersMapper:Y.BlobDeleteImmutabilityPolicyHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobDeleteImmutabilityPolicyExceptionHeaders}},queryParameters:[E.timeoutInSeconds,E.snapshot,E.versionId,E.comp12],urlParameters:[E.url],headerParameters:[E.version,E.requestId,E.accept1],isXML:!0,serializer:ot},Cve={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Y.BlobSetLegalHoldHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobSetLegalHoldExceptionHeaders}},queryParameters:[E.timeoutInSeconds,E.snapshot,E.versionId,E.comp13],urlParameters:[E.url],headerParameters:[E.version,E.requestId,E.accept1,E.legalHold],isXML:!0,serializer:ot},Eve={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Y.BlobSetMetadataHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobSetMetadataExceptionHeaders}},queryParameters:[E.timeoutInSeconds,E.comp6],urlParameters:[E.url],headerParameters:[E.version,E.requestId,E.accept1,E.metadata,E.leaseId,E.ifModifiedSince,E.ifUnmodifiedSince,E.encryptionKey,E.encryptionKeySha256,E.encryptionAlgorithm,E.ifMatch,E.ifNoneMatch,E.ifTags,E.encryptionScope],isXML:!0,serializer:ot},Bve={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Y.BlobAcquireLeaseHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobAcquireLeaseExceptionHeaders}},queryParameters:[E.timeoutInSeconds,E.comp10],urlParameters:[E.url],headerParameters:[E.version,E.requestId,E.accept1,E.ifModifiedSince,E.ifUnmodifiedSince,E.action,E.duration,E.proposedLeaseId,E.ifMatch,E.ifNoneMatch,E.ifTags],isXML:!0,serializer:ot},Ive={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Y.BlobReleaseLeaseHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobReleaseLeaseExceptionHeaders}},queryParameters:[E.timeoutInSeconds,E.comp10],urlParameters:[E.url],headerParameters:[E.version,E.requestId,E.accept1,E.ifModifiedSince,E.ifUnmodifiedSince,E.action1,E.leaseId1,E.ifMatch,E.ifNoneMatch,E.ifTags],isXML:!0,serializer:ot},bve={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Y.BlobRenewLeaseHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobRenewLeaseExceptionHeaders}},queryParameters:[E.timeoutInSeconds,E.comp10],urlParameters:[E.url],headerParameters:[E.version,E.requestId,E.accept1,E.ifModifiedSince,E.ifUnmodifiedSince,E.leaseId1,E.action2,E.ifMatch,E.ifNoneMatch,E.ifTags],isXML:!0,serializer:ot},Qve={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Y.BlobChangeLeaseHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobChangeLeaseExceptionHeaders}},queryParameters:[E.timeoutInSeconds,E.comp10],urlParameters:[E.url],headerParameters:[E.version,E.requestId,E.accept1,E.ifModifiedSince,E.ifUnmodifiedSince,E.leaseId1,E.action4,E.proposedLeaseId1,E.ifMatch,E.ifNoneMatch,E.ifTags],isXML:!0,serializer:ot},Nve={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:Y.BlobBreakLeaseHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobBreakLeaseExceptionHeaders}},queryParameters:[E.timeoutInSeconds,E.comp10],urlParameters:[E.url],headerParameters:[E.version,E.requestId,E.accept1,E.ifModifiedSince,E.ifUnmodifiedSince,E.action3,E.breakPeriod,E.ifMatch,E.ifNoneMatch,E.ifTags],isXML:!0,serializer:ot},wve={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Y.BlobCreateSnapshotHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobCreateSnapshotExceptionHeaders}},queryParameters:[E.timeoutInSeconds,E.comp14],urlParameters:[E.url],headerParameters:[E.version,E.requestId,E.accept1,E.metadata,E.leaseId,E.ifModifiedSince,E.ifUnmodifiedSince,E.encryptionKey,E.encryptionKeySha256,E.encryptionAlgorithm,E.ifMatch,E.ifNoneMatch,E.ifTags,E.encryptionScope],isXML:!0,serializer:ot},Sve={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:Y.BlobStartCopyFromURLHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobStartCopyFromURLExceptionHeaders}},queryParameters:[E.timeoutInSeconds],urlParameters:[E.url],headerParameters:[E.version,E.requestId,E.accept1,E.metadata,E.leaseId,E.ifModifiedSince,E.ifUnmodifiedSince,E.ifMatch,E.ifNoneMatch,E.ifTags,E.immutabilityPolicyExpiry,E.immutabilityPolicyMode,E.tier,E.rehydratePriority,E.sourceIfModifiedSince,E.sourceIfUnmodifiedSince,E.sourceIfMatch,E.sourceIfNoneMatch,E.sourceIfTags,E.copySource,E.blobTagsString,E.sealBlob,E.legalHold1],isXML:!0,serializer:ot},xve={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:Y.BlobCopyFromURLHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobCopyFromURLExceptionHeaders}},queryParameters:[E.timeoutInSeconds],urlParameters:[E.url],headerParameters:[E.version,E.requestId,E.accept1,E.metadata,E.leaseId,E.ifModifiedSince,E.ifUnmodifiedSince,E.ifMatch,E.ifNoneMatch,E.ifTags,E.immutabilityPolicyExpiry,E.immutabilityPolicyMode,E.encryptionScope,E.tier,E.sourceIfModifiedSince,E.sourceIfUnmodifiedSince,E.sourceIfMatch,E.sourceIfNoneMatch,E.copySource,E.blobTagsString,E.legalHold1,E.xMsRequiresSync,E.sourceContentMD5,E.copySourceAuthorization,E.copySourceTags,E.fileRequestIntent],isXML:!0,serializer:ot},Rve={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:Y.BlobAbortCopyFromURLHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobAbortCopyFromURLExceptionHeaders}},queryParameters:[E.timeoutInSeconds,E.comp15,E.copyId],urlParameters:[E.url],headerParameters:[E.version,E.requestId,E.accept1,E.leaseId,E.copyActionAbortConstant],isXML:!0,serializer:ot},vve={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Y.BlobSetTierHeaders},202:{headersMapper:Y.BlobSetTierHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobSetTierExceptionHeaders}},queryParameters:[E.timeoutInSeconds,E.snapshot,E.versionId,E.comp16],urlParameters:[E.url],headerParameters:[E.version,E.requestId,E.accept1,E.leaseId,E.ifTags,E.rehydratePriority,E.tier1],isXML:!0,serializer:ot},Pve={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{headersMapper:Y.BlobGetAccountInfoHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobGetAccountInfoExceptionHeaders}},queryParameters:[E.comp,E.timeoutInSeconds,E.restype1],urlParameters:[E.url],headerParameters:[E.version,E.requestId,E.accept1],isXML:!0,serializer:ot},_ve={path:"/{containerName}/{blob}",httpMethod:"POST",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Y.BlobQueryHeaders},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Y.BlobQueryHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobQueryExceptionHeaders}},requestBody:E.queryRequest,queryParameters:[E.timeoutInSeconds,E.snapshot,E.comp17],urlParameters:[E.url],headerParameters:[E.contentType,E.accept,E.version,E.requestId,E.leaseId,E.ifModifiedSince,E.ifUnmodifiedSince,E.encryptionKey,E.encryptionKeySha256,E.encryptionAlgorithm,E.ifMatch,E.ifNoneMatch,E.ifTags],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:ot},Dve={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:Y.BlobTags,headersMapper:Y.BlobGetTagsHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobGetTagsExceptionHeaders}},queryParameters:[E.timeoutInSeconds,E.snapshot,E.versionId,E.comp18],urlParameters:[E.url],headerParameters:[E.version,E.requestId,E.accept1,E.leaseId,E.ifTags,E.ifModifiedSince1,E.ifUnmodifiedSince1,E.ifMatch1,E.ifNoneMatch1],isXML:!0,serializer:ot},Tve={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:Y.BlobSetTagsHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobSetTagsExceptionHeaders}},requestBody:E.tags,queryParameters:[E.timeoutInSeconds,E.versionId,E.comp18],urlParameters:[E.url],headerParameters:[E.contentType,E.accept,E.version,E.requestId,E.leaseId,E.ifTags,E.ifModifiedSince1,E.ifUnmodifiedSince1,E.ifMatch1,E.ifNoneMatch1,E.transactionalContentMD5,E.transactionalContentCrc64],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:ot}});var YJ=f(ah=>{"use strict";Object.defineProperty(ah,"__esModule",{value:!0});ah.PageBlobImpl=void 0;var x0=(jt(),Xt(Gt)),Ove=x0.__importStar(fi()),Fe=x0.__importStar(zs()),P=x0.__importStar(Jo()),S0=class{static{s(this,"PageBlobImpl")}client;constructor(e){this.client=e}create(e,r,n){return this.client.sendOperationRequest({contentLength:e,blobContentLength:r,options:n},Mve)}uploadPages(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},kve)}clearPages(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},Lve)}uploadPagesFromURL(e,r,n,i,o){return this.client.sendOperationRequest({sourceUrl:e,sourceRange:r,contentLength:n,range:i,options:o},Fve)}getPageRanges(e){return this.client.sendOperationRequest({options:e},Uve)}getPageRangesDiff(e){return this.client.sendOperationRequest({options:e},qve)}resize(e,r){return this.client.sendOperationRequest({blobContentLength:e,options:r},Hve)}updateSequenceNumber(e,r){return this.client.sendOperationRequest({sequenceNumberAction:e,options:r},zve)}copyIncremental(e,r){return this.client.sendOperationRequest({copySource:e,options:r},Gve)}};ah.PageBlobImpl=S0;var is=Ove.createSerializer(Fe,!0),Mve={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Fe.PageBlobCreateHeaders},default:{bodyMapper:Fe.StorageError,headersMapper:Fe.PageBlobCreateExceptionHeaders}},queryParameters:[P.timeoutInSeconds],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.contentLength,P.metadata,P.leaseId,P.ifModifiedSince,P.ifUnmodifiedSince,P.encryptionKey,P.encryptionKeySha256,P.encryptionAlgorithm,P.ifMatch,P.ifNoneMatch,P.ifTags,P.blobCacheControl,P.blobContentType,P.blobContentMD5,P.blobContentEncoding,P.blobContentLanguage,P.blobContentDisposition,P.immutabilityPolicyExpiry,P.immutabilityPolicyMode,P.encryptionScope,P.tier,P.blobTagsString,P.legalHold1,P.blobType,P.blobContentLength,P.blobSequenceNumber],isXML:!0,serializer:is},kve={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Fe.PageBlobUploadPagesHeaders},default:{bodyMapper:Fe.StorageError,headersMapper:Fe.PageBlobUploadPagesExceptionHeaders}},requestBody:P.body1,queryParameters:[P.timeoutInSeconds,P.comp19],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.contentLength,P.leaseId,P.ifModifiedSince,P.ifUnmodifiedSince,P.range,P.encryptionKey,P.encryptionKeySha256,P.encryptionAlgorithm,P.ifMatch,P.ifNoneMatch,P.ifTags,P.encryptionScope,P.transactionalContentMD5,P.transactionalContentCrc64,P.contentType1,P.accept2,P.pageWrite,P.ifSequenceNumberLessThanOrEqualTo,P.ifSequenceNumberLessThan,P.ifSequenceNumberEqualTo],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:is},Lve={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Fe.PageBlobClearPagesHeaders},default:{bodyMapper:Fe.StorageError,headersMapper:Fe.PageBlobClearPagesExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.comp19],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.contentLength,P.leaseId,P.ifModifiedSince,P.ifUnmodifiedSince,P.range,P.encryptionKey,P.encryptionKeySha256,P.encryptionAlgorithm,P.ifMatch,P.ifNoneMatch,P.ifTags,P.encryptionScope,P.ifSequenceNumberLessThanOrEqualTo,P.ifSequenceNumberLessThan,P.ifSequenceNumberEqualTo,P.pageWrite1],isXML:!0,serializer:is},Fve={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Fe.PageBlobUploadPagesFromURLHeaders},default:{bodyMapper:Fe.StorageError,headersMapper:Fe.PageBlobUploadPagesFromURLExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.comp19],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.contentLength,P.leaseId,P.ifModifiedSince,P.ifUnmodifiedSince,P.encryptionKey,P.encryptionKeySha256,P.encryptionAlgorithm,P.ifMatch,P.ifNoneMatch,P.ifTags,P.encryptionScope,P.sourceIfModifiedSince,P.sourceIfUnmodifiedSince,P.sourceIfMatch,P.sourceIfNoneMatch,P.sourceContentMD5,P.copySourceAuthorization,P.fileRequestIntent,P.pageWrite,P.ifSequenceNumberLessThanOrEqualTo,P.ifSequenceNumberLessThan,P.ifSequenceNumberEqualTo,P.sourceUrl,P.sourceRange,P.sourceContentCrc64,P.range1],isXML:!0,serializer:is},Uve={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:Fe.PageList,headersMapper:Fe.PageBlobGetPageRangesHeaders},default:{bodyMapper:Fe.StorageError,headersMapper:Fe.PageBlobGetPageRangesExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.marker,P.maxPageSize,P.snapshot,P.comp20],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.leaseId,P.ifModifiedSince,P.ifUnmodifiedSince,P.range,P.ifMatch,P.ifNoneMatch,P.ifTags],isXML:!0,serializer:is},qve={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:Fe.PageList,headersMapper:Fe.PageBlobGetPageRangesDiffHeaders},default:{bodyMapper:Fe.StorageError,headersMapper:Fe.PageBlobGetPageRangesDiffExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.marker,P.maxPageSize,P.snapshot,P.comp20,P.prevsnapshot],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.leaseId,P.ifModifiedSince,P.ifUnmodifiedSince,P.range,P.ifMatch,P.ifNoneMatch,P.ifTags,P.prevSnapshotUrl],isXML:!0,serializer:is},Hve={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Fe.PageBlobResizeHeaders},default:{bodyMapper:Fe.StorageError,headersMapper:Fe.PageBlobResizeExceptionHeaders}},queryParameters:[P.comp,P.timeoutInSeconds],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.leaseId,P.ifModifiedSince,P.ifUnmodifiedSince,P.encryptionKey,P.encryptionKeySha256,P.encryptionAlgorithm,P.ifMatch,P.ifNoneMatch,P.ifTags,P.encryptionScope,P.blobContentLength],isXML:!0,serializer:is},zve={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Fe.PageBlobUpdateSequenceNumberHeaders},default:{bodyMapper:Fe.StorageError,headersMapper:Fe.PageBlobUpdateSequenceNumberExceptionHeaders}},queryParameters:[P.comp,P.timeoutInSeconds],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.leaseId,P.ifModifiedSince,P.ifUnmodifiedSince,P.ifMatch,P.ifNoneMatch,P.ifTags,P.blobSequenceNumber,P.sequenceNumberAction],isXML:!0,serializer:is},Gve={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:Fe.PageBlobCopyIncrementalHeaders},default:{bodyMapper:Fe.StorageError,headersMapper:Fe.PageBlobCopyIncrementalExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.comp21],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.ifModifiedSince,P.ifUnmodifiedSince,P.ifMatch,P.ifNoneMatch,P.ifTags,P.copySource],isXML:!0,serializer:is}});var JJ=f(lh=>{"use strict";Object.defineProperty(lh,"__esModule",{value:!0});lh.AppendBlobImpl=void 0;var v0=(jt(),Xt(Gt)),jve=v0.__importStar(fi()),tn=v0.__importStar(zs()),H=v0.__importStar(Jo()),R0=class{static{s(this,"AppendBlobImpl")}client;constructor(e){this.client=e}create(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},Yve)}appendBlock(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},Jve)}appendBlockFromUrl(e,r,n){return this.client.sendOperationRequest({sourceUrl:e,contentLength:r,options:n},Vve)}seal(e){return this.client.sendOperationRequest({options:e},Wve)}};lh.AppendBlobImpl=R0;var ch=jve.createSerializer(tn,!0),Yve={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:tn.AppendBlobCreateHeaders},default:{bodyMapper:tn.StorageError,headersMapper:tn.AppendBlobCreateExceptionHeaders}},queryParameters:[H.timeoutInSeconds],urlParameters:[H.url],headerParameters:[H.version,H.requestId,H.accept1,H.contentLength,H.metadata,H.leaseId,H.ifModifiedSince,H.ifUnmodifiedSince,H.encryptionKey,H.encryptionKeySha256,H.encryptionAlgorithm,H.ifMatch,H.ifNoneMatch,H.ifTags,H.blobCacheControl,H.blobContentType,H.blobContentMD5,H.blobContentEncoding,H.blobContentLanguage,H.blobContentDisposition,H.immutabilityPolicyExpiry,H.immutabilityPolicyMode,H.encryptionScope,H.blobTagsString,H.legalHold1,H.blobType1],isXML:!0,serializer:ch},Jve={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:tn.AppendBlobAppendBlockHeaders},default:{bodyMapper:tn.StorageError,headersMapper:tn.AppendBlobAppendBlockExceptionHeaders}},requestBody:H.body1,queryParameters:[H.timeoutInSeconds,H.comp22],urlParameters:[H.url],headerParameters:[H.version,H.requestId,H.contentLength,H.leaseId,H.ifModifiedSince,H.ifUnmodifiedSince,H.encryptionKey,H.encryptionKeySha256,H.encryptionAlgorithm,H.ifMatch,H.ifNoneMatch,H.ifTags,H.encryptionScope,H.transactionalContentMD5,H.transactionalContentCrc64,H.contentType1,H.accept2,H.maxSize,H.appendPosition],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:ch},Vve={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:tn.AppendBlobAppendBlockFromUrlHeaders},default:{bodyMapper:tn.StorageError,headersMapper:tn.AppendBlobAppendBlockFromUrlExceptionHeaders}},queryParameters:[H.timeoutInSeconds,H.comp22],urlParameters:[H.url],headerParameters:[H.version,H.requestId,H.accept1,H.contentLength,H.leaseId,H.ifModifiedSince,H.ifUnmodifiedSince,H.encryptionKey,H.encryptionKeySha256,H.encryptionAlgorithm,H.ifMatch,H.ifNoneMatch,H.ifTags,H.encryptionScope,H.sourceIfModifiedSince,H.sourceIfUnmodifiedSince,H.sourceIfMatch,H.sourceIfNoneMatch,H.sourceContentMD5,H.copySourceAuthorization,H.fileRequestIntent,H.transactionalContentMD5,H.sourceUrl,H.sourceContentCrc64,H.maxSize,H.appendPosition,H.sourceRange1],isXML:!0,serializer:ch},Wve={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:tn.AppendBlobSealHeaders},default:{bodyMapper:tn.StorageError,headersMapper:tn.AppendBlobSealExceptionHeaders}},queryParameters:[H.timeoutInSeconds,H.comp23],urlParameters:[H.url],headerParameters:[H.version,H.requestId,H.accept1,H.leaseId,H.ifModifiedSince,H.ifUnmodifiedSince,H.ifMatch,H.ifNoneMatch,H.appendPosition],isXML:!0,serializer:ch}});var VJ=f(Ah=>{"use strict";Object.defineProperty(Ah,"__esModule",{value:!0});Ah.BlockBlobImpl=void 0;var _0=(jt(),Xt(Gt)),Kve=_0.__importStar(fi()),vt=_0.__importStar(zs()),T=_0.__importStar(Jo()),P0=class{static{s(this,"BlockBlobImpl")}client;constructor(e){this.client=e}upload(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},$ve)}putBlobFromUrl(e,r,n){return this.client.sendOperationRequest({contentLength:e,copySource:r,options:n},Xve)}stageBlock(e,r,n,i){return this.client.sendOperationRequest({blockId:e,contentLength:r,body:n,options:i},Zve)}stageBlockFromURL(e,r,n,i){return this.client.sendOperationRequest({blockId:e,contentLength:r,sourceUrl:n,options:i},ePe)}commitBlockList(e,r){return this.client.sendOperationRequest({blocks:e,options:r},tPe)}getBlockList(e,r){return this.client.sendOperationRequest({listType:e,options:r},rPe)}};Ah.BlockBlobImpl=P0;var Wc=Kve.createSerializer(vt,!0),$ve={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:vt.BlockBlobUploadHeaders},default:{bodyMapper:vt.StorageError,headersMapper:vt.BlockBlobUploadExceptionHeaders}},requestBody:T.body1,queryParameters:[T.timeoutInSeconds],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.contentLength,T.metadata,T.leaseId,T.ifModifiedSince,T.ifUnmodifiedSince,T.encryptionKey,T.encryptionKeySha256,T.encryptionAlgorithm,T.ifMatch,T.ifNoneMatch,T.ifTags,T.blobCacheControl,T.blobContentType,T.blobContentMD5,T.blobContentEncoding,T.blobContentLanguage,T.blobContentDisposition,T.immutabilityPolicyExpiry,T.immutabilityPolicyMode,T.encryptionScope,T.tier,T.blobTagsString,T.legalHold1,T.transactionalContentMD5,T.transactionalContentCrc64,T.contentType1,T.accept2,T.blobType2],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Wc},Xve={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:vt.BlockBlobPutBlobFromUrlHeaders},default:{bodyMapper:vt.StorageError,headersMapper:vt.BlockBlobPutBlobFromUrlExceptionHeaders}},queryParameters:[T.timeoutInSeconds],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1,T.contentLength,T.metadata,T.leaseId,T.ifModifiedSince,T.ifUnmodifiedSince,T.encryptionKey,T.encryptionKeySha256,T.encryptionAlgorithm,T.ifMatch,T.ifNoneMatch,T.ifTags,T.blobCacheControl,T.blobContentType,T.blobContentMD5,T.blobContentEncoding,T.blobContentLanguage,T.blobContentDisposition,T.encryptionScope,T.tier,T.sourceIfModifiedSince,T.sourceIfUnmodifiedSince,T.sourceIfMatch,T.sourceIfNoneMatch,T.sourceIfTags,T.copySource,T.blobTagsString,T.sourceContentMD5,T.copySourceAuthorization,T.copySourceTags,T.fileRequestIntent,T.transactionalContentMD5,T.blobType2,T.copySourceBlobProperties],isXML:!0,serializer:Wc},Zve={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:vt.BlockBlobStageBlockHeaders},default:{bodyMapper:vt.StorageError,headersMapper:vt.BlockBlobStageBlockExceptionHeaders}},requestBody:T.body1,queryParameters:[T.timeoutInSeconds,T.comp24,T.blockId],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.contentLength,T.leaseId,T.encryptionKey,T.encryptionKeySha256,T.encryptionAlgorithm,T.encryptionScope,T.transactionalContentMD5,T.transactionalContentCrc64,T.contentType1,T.accept2],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Wc},ePe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:vt.BlockBlobStageBlockFromURLHeaders},default:{bodyMapper:vt.StorageError,headersMapper:vt.BlockBlobStageBlockFromURLExceptionHeaders}},queryParameters:[T.timeoutInSeconds,T.comp24,T.blockId],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1,T.contentLength,T.leaseId,T.encryptionKey,T.encryptionKeySha256,T.encryptionAlgorithm,T.encryptionScope,T.sourceIfModifiedSince,T.sourceIfUnmodifiedSince,T.sourceIfMatch,T.sourceIfNoneMatch,T.sourceContentMD5,T.copySourceAuthorization,T.fileRequestIntent,T.sourceUrl,T.sourceContentCrc64,T.sourceRange1],isXML:!0,serializer:Wc},tPe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:vt.BlockBlobCommitBlockListHeaders},default:{bodyMapper:vt.StorageError,headersMapper:vt.BlockBlobCommitBlockListExceptionHeaders}},requestBody:T.blocks,queryParameters:[T.timeoutInSeconds,T.comp25],urlParameters:[T.url],headerParameters:[T.contentType,T.accept,T.version,T.requestId,T.metadata,T.leaseId,T.ifModifiedSince,T.ifUnmodifiedSince,T.encryptionKey,T.encryptionKeySha256,T.encryptionAlgorithm,T.ifMatch,T.ifNoneMatch,T.ifTags,T.blobCacheControl,T.blobContentType,T.blobContentMD5,T.blobContentEncoding,T.blobContentLanguage,T.blobContentDisposition,T.immutabilityPolicyExpiry,T.immutabilityPolicyMode,T.encryptionScope,T.tier,T.blobTagsString,T.legalHold1,T.transactionalContentMD5,T.transactionalContentCrc64],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Wc},rPe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:vt.BlockList,headersMapper:vt.BlockBlobGetBlockListHeaders},default:{bodyMapper:vt.StorageError,headersMapper:vt.BlockBlobGetBlockListExceptionHeaders}},queryParameters:[T.timeoutInSeconds,T.snapshot,T.comp25,T.listType],urlParameters:[T.url],headerParameters:[T.version,T.requestId,T.accept1,T.leaseId,T.ifTags],isXML:!0,serializer:Wc}});var WJ=f(js=>{"use strict";Object.defineProperty(js,"__esModule",{value:!0});var Kc=(jt(),Xt(Gt));Kc.__exportStar(zJ(),js);Kc.__exportStar(GJ(),js);Kc.__exportStar(jJ(),js);Kc.__exportStar(YJ(),js);Kc.__exportStar(JJ(),js);Kc.__exportStar(VJ(),js)});var KJ=f(uh=>{"use strict";Object.defineProperty(uh,"__esModule",{value:!0});uh.StorageClient=void 0;var nPe=(jt(),Xt(Gt)),iPe=nPe.__importStar(Dg()),$c=WJ(),D0=class extends iPe.ExtendedServiceClient{static{s(this,"StorageClient")}url;version;constructor(e,r){if(e===void 0)throw new Error("'url' cannot be null");r||(r={});let n={requestContentType:"application/json; charset=utf-8"},i="azsdk-js-azure-storage-blob/12.30.0",o=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${i}`:`${i}`,a={...n,...r,userAgentOptions:{userAgentPrefix:o},endpoint:r.endpoint??r.baseUri??"{url}"};super(a),this.url=e,this.version=r.version||"2026-02-06",this.service=new $c.ServiceImpl(this),this.container=new $c.ContainerImpl(this),this.blob=new $c.BlobImpl(this),this.pageBlob=new $c.PageBlobImpl(this),this.appendBlob=new $c.AppendBlobImpl(this),this.blockBlob=new $c.BlockBlobImpl(this)}service;container;blob;pageBlob;appendBlob;blockBlob};uh.StorageClient=D0});var XJ=f($J=>{"use strict";Object.defineProperty($J,"__esModule",{value:!0})});var eV=f(ZJ=>{"use strict";Object.defineProperty(ZJ,"__esModule",{value:!0})});var rV=f(tV=>{"use strict";Object.defineProperty(tV,"__esModule",{value:!0})});var iV=f(nV=>{"use strict";Object.defineProperty(nV,"__esModule",{value:!0})});var oV=f(sV=>{"use strict";Object.defineProperty(sV,"__esModule",{value:!0})});var cV=f(aV=>{"use strict";Object.defineProperty(aV,"__esModule",{value:!0})});var lV=f(Ys=>{"use strict";Object.defineProperty(Ys,"__esModule",{value:!0});var Xc=(jt(),Xt(Gt));Xc.__exportStar(XJ(),Ys);Xc.__exportStar(eV(),Ys);Xc.__exportStar(rV(),Ys);Xc.__exportStar(iV(),Ys);Xc.__exportStar(oV(),Ys);Xc.__exportStar(cV(),Ys)});var uV=f(Zc=>{"use strict";Object.defineProperty(Zc,"__esModule",{value:!0});Zc.StorageClient=void 0;var AV=(jt(),Xt(Gt));AV.__exportStar(HJ(),Zc);var sPe=KJ();Object.defineProperty(Zc,"StorageClient",{enumerable:!0,get:s(function(){return sPe.StorageClient},"get")});AV.__exportStar(lV(),Zc)});var O0=f(dh=>{"use strict";Object.defineProperty(dh,"__esModule",{value:!0});dh.StorageContextClient=void 0;var oPe=uV(),T0=class extends oPe.StorageClient{static{s(this,"StorageContextClient")}async sendOperationRequest(e,r){let n={...r};return(n.path==="/{containerName}"||n.path==="/{containerName}/{blob}")&&(n.path=""),super.sendOperationRequest(e,n)}};dh.StorageContextClient=T0});var wn=f(Be=>{"use strict";Object.defineProperty(Be,"__esModule",{value:!0});Be.escapeURLPath=cPe;Be.getValueInConnString=Js;Be.extractConnectionStringParts=APe;Be.appendToURLPath=dPe;Be.setURLParameter=pV;Be.getURLParameter=mV;Be.setURLHost=pPe;Be.getURLPath=mPe;Be.getURLScheme=gPe;Be.getURLPathAndQuery=hPe;Be.getURLQueries=fPe;Be.appendToURLQuery=yPe;Be.truncatedISO8061Date=CPe;Be.base64encode=gV;Be.base64decode=EPe;Be.generateBlockID=BPe;Be.delay=IPe;Be.padStart=hV;Be.sanitizeURL=fV;Be.sanitizeHeaders=bPe;Be.iEqual=QPe;Be.getAccountNameFromUrl=yV;Be.isIpEndpointStyle=CV;Be.toBlobTagsString=NPe;Be.toBlobTags=wPe;Be.toTags=SPe;Be.toQuerySerialization=xPe;Be.parseObjectReplicationRecord=RPe;Be.attachCredential=vPe;Be.httpAuthorizationToString=PPe;Be.BlobNameToString=ph;Be.ConvertInternalResponseOfListBlobFlat=_Pe;Be.ConvertInternalResponseOfListBlobHierarchy=DPe;Be.ExtractPageRangeInfoItems=TPe;Be.EscapePath=OPe;Be.assertResponse=MPe;var aPe=Tt(),dV=st(),el=Zr();function cPe(t){let e=new URL(t),r=e.pathname;return r=r||"/",r=uPe(r),e.pathname=r,e.toString()}s(cPe,"escapeURLPath");function lPe(t){let e="";if(t.search("DevelopmentStorageProxyUri=")!==-1){let r=t.split(";");for(let n of r)n.trim().startsWith("DevelopmentStorageProxyUri=")&&(e=n.trim().match("DevelopmentStorageProxyUri=(.*)")[1])}return e}s(lPe,"getProxyUriFromDevConnString");function Js(t,e){let r=t.split(";");for(let n of r)if(n.trim().startsWith(e))return n.trim().match(e+"=(.*)")[1];return""}s(Js,"getValueInConnString");function APe(t){let e="";t.startsWith("UseDevelopmentStorage=true")&&(e=lPe(t),t=el.DevelopmentConnectionString);let r=Js(t,"BlobEndpoint");if(r=r.endsWith("/")?r.slice(0,-1):r,t.search("DefaultEndpointsProtocol=")!==-1&&t.search("AccountKey=")!==-1){let n="",i="",o=Buffer.from("accountKey","base64"),a="";if(i=Js(t,"AccountName"),o=Buffer.from(Js(t,"AccountKey"),"base64"),!r){n=Js(t,"DefaultEndpointsProtocol");let c=n.toLowerCase();if(c!=="https"&&c!=="http")throw new Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'");if(a=Js(t,"EndpointSuffix"),!a)throw new Error("Invalid EndpointSuffix in the provided Connection String");r=`${n}://${i}.blob.${a}`}if(i){if(o.length===0)throw new Error("Invalid AccountKey in the provided Connection String")}else throw new Error("Invalid AccountName in the provided Connection String");return{kind:"AccountConnString",url:r,accountName:i,accountKey:o,proxyUri:e}}else{let n=Js(t,"SharedAccessSignature"),i=Js(t,"AccountName");if(i||(i=yV(r)),r){if(!n)throw new Error("Invalid SharedAccessSignature in the provided SAS Connection String")}else throw new Error("Invalid BlobEndpoint in the provided SAS Connection String");return n.startsWith("?")&&(n=n.substring(1)),{kind:"SASConnString",url:r,accountName:i,accountSas:n}}}s(APe,"extractConnectionStringParts");function uPe(t){return encodeURIComponent(t).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}s(uPe,"escape");function dPe(t,e){let r=new URL(t),n=r.pathname;return n=n?n.endsWith("/")?`${n}${e}`:`${n}/${e}`:e,r.pathname=n,r.toString()}s(dPe,"appendToURLPath");function pV(t,e,r){let n=new URL(t),i=encodeURIComponent(e),o=r?encodeURIComponent(r):void 0,a=n.search===""?"?":n.search,c=[];for(let l of a.slice(1).split("&"))if(l){let[A]=l.split("=",2);A!==i&&c.push(l)}return o&&c.push(`${i}=${o}`),n.search=c.length?`?${c.join("&")}`:"",n.toString()}s(pV,"setURLParameter");function mV(t,e){return new URL(t).searchParams.get(e)??void 0}s(mV,"getURLParameter");function pPe(t,e){let r=new URL(t);return r.hostname=e,r.toString()}s(pPe,"setURLHost");function mPe(t){try{return new URL(t).pathname}catch{return}}s(mPe,"getURLPath");function gPe(t){try{let e=new URL(t);return e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol}catch{return}}s(gPe,"getURLScheme");function hPe(t){let e=new URL(t),r=e.pathname;if(!r)throw new RangeError("Invalid url without valid path.");let n=e.search||"";return n=n.trim(),n!==""&&(n=n.startsWith("?")?n:`?${n}`),`${r}${n}`}s(hPe,"getURLPathAndQuery");function fPe(t){let e=new URL(t).search;if(!e)return{};e=e.trim(),e=e.startsWith("?")?e.substring(1):e;let r=e.split("&");r=r.filter(i=>{let o=i.indexOf("="),a=i.lastIndexOf("=");return o>0&&o===a&&a42&&(t=t.slice(0,42));let o=t+hV(e.toString(),48-t.length,"0");return gV(o)}s(BPe,"generateBlockID");async function IPe(t,e,r){return new Promise((n,i)=>{let o,a=s(()=>{o!==void 0&&clearTimeout(o),i(r)},"abortHandler");o=setTimeout(s(()=>{e!==void 0&&e.removeEventListener("abort",a),n()},"resolveHandler"),t),e!==void 0&&e.addEventListener("abort",a)})}s(IPe,"delay");function hV(t,e,r=" "){return String.prototype.padStart?t.padStart(e,r):(r=r||" ",t.length>e?t:(e=e-t.length,e>r.length&&(r+=r.repeat(e/r.length)),r.slice(0,e)+t))}s(hV,"padStart");function fV(t){let e=t;return mV(e,el.URLConstants.Parameters.SIGNATURE)&&(e=pV(e,el.URLConstants.Parameters.SIGNATURE,"*****")),e}s(fV,"sanitizeURL");function bPe(t){let e=(0,aPe.createHttpHeaders)();for(let[r,n]of t)r.toLowerCase()===el.HeaderConstants.AUTHORIZATION.toLowerCase()?e.set(r,"*****"):r.toLowerCase()===el.HeaderConstants.X_MS_COPY_SOURCE?e.set(r,fV(n)):e.set(r,n);return e}s(bPe,"sanitizeHeaders");function QPe(t,e){return t.toLocaleLowerCase()===e.toLocaleLowerCase()}s(QPe,"iEqual");function yV(t){let e=new URL(t),r;try{return e.hostname.split(".")[1]==="blob"?r=e.hostname.split(".")[0]:CV(e)?r=e.pathname.split("/")[1]:r="",r}catch{throw new Error("Unable to extract accountName with provided information.")}}s(yV,"getAccountNameFromUrl");function CV(t){let e=t.host;return/^.*:.*:.*$|^(localhost|host.docker.internal)(:[0-9]+)?$|^(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])(\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])){3}(:[0-9]+)?$/.test(e)||!!t.port&&el.PathStylePorts.includes(t.port)}s(CV,"isIpEndpointStyle");function NPe(t){if(t===void 0)return;let e=[];for(let r in t)if(Object.prototype.hasOwnProperty.call(t,r)){let n=t[r];e.push(`${encodeURIComponent(r)}=${encodeURIComponent(n)}`)}return e.join("&")}s(NPe,"toBlobTagsString");function wPe(t){if(t===void 0)return;let e={blobTagSet:[]};for(let r in t)if(Object.prototype.hasOwnProperty.call(t,r)){let n=t[r];e.blobTagSet.push({key:r,value:n})}return e}s(wPe,"toBlobTags");function SPe(t){if(t===void 0)return;let e={};for(let r of t.blobTagSet)e[r.key]=r.value;return e}s(SPe,"toTags");function xPe(t){if(t!==void 0)switch(t.kind){case"csv":return{format:{type:"delimited",delimitedTextConfiguration:{columnSeparator:t.columnSeparator||",",fieldQuote:t.fieldQuote||"",recordSeparator:t.recordSeparator,escapeChar:t.escapeCharacter||"",headersPresent:t.hasHeaders||!1}}};case"json":return{format:{type:"json",jsonTextConfiguration:{recordSeparator:t.recordSeparator}}};case"arrow":return{format:{type:"arrow",arrowConfiguration:{schema:t.schema}}};case"parquet":return{format:{type:"parquet"}};default:throw Error("Invalid BlobQueryTextConfiguration.")}}s(xPe,"toQuerySerialization");function RPe(t){if(!t||"policy-id"in t)return;let e=[];for(let r in t){let n=r.split("_"),i="or-";n[0].startsWith(i)&&(n[0]=n[0].substring(i.length));let o={ruleId:n[1],replicationStatus:t[r]},a=e.findIndex(c=>c.policyId===n[0]);a>-1?e[a].rules.push(o):e.push({policyId:n[0],rules:[o]})}return e}s(RPe,"parseObjectReplicationRecord");function vPe(t,e){return t.credential=e,t}s(vPe,"attachCredential");function PPe(t){return t?t.scheme+" "+t.value:void 0}s(PPe,"httpAuthorizationToString");function ph(t){return t.encoded?decodeURIComponent(t.content):t.content}s(ph,"BlobNameToString");function _Pe(t){return{...t,segment:{blobItems:t.segment.blobItems.map(e=>({...e,name:ph(e.name)}))}}}s(_Pe,"ConvertInternalResponseOfListBlobFlat");function DPe(t){return{...t,segment:{blobPrefixes:t.segment.blobPrefixes?.map(e=>({...e,name:ph(e.name)})),blobItems:t.segment.blobItems.map(e=>({...e,name:ph(e.name)}))}}}s(DPe,"ConvertInternalResponseOfListBlobHierarchy");function*TPe(t){let e=[],r=[];t.pageRange&&(e=t.pageRange),t.clearRange&&(r=t.clearRange);let n=0,i=0;for(;n{"use strict";Object.defineProperty(gh,"__esModule",{value:!0});gh.StorageClient=void 0;var kPe=O0(),EV=Hs(),mh=wn(),M0=class{static{s(this,"StorageClient")}url;accountName;pipeline;credential;storageClientContext;isHttps;constructor(e,r){this.url=(0,mh.escapeURLPath)(e),this.accountName=(0,mh.getAccountNameFromUrl)(e),this.pipeline=r,this.storageClientContext=new kPe.StorageContextClient(this.url,(0,EV.getCoreClientOptions)(r)),this.isHttps=(0,mh.iEqual)((0,mh.getURLScheme)(this.url)||"","https"),this.credential=(0,EV.getCredentialFromPipeline)(r);let n=this.storageClientContext;n.requestContentType=void 0}};gh.StorageClient=M0});var Vo=f(fh=>{"use strict";Object.defineProperty(fh,"__esModule",{value:!0});fh.tracingClient=void 0;var LPe=jN(),FPe=Zr();fh.tracingClient=(0,LPe.createTracingClient)({packageName:"@azure/storage-blob",packageVersion:FPe.SDK_VERSION,namespace:"Microsoft.Storage"})});var L0=f(yh=>{"use strict";Object.defineProperty(yh,"__esModule",{value:!0});yh.BlobSASPermissions=void 0;var k0=class t{static{s(this,"BlobSASPermissions")}static parse(e){let r=new t;for(let n of e)switch(n){case"r":r.read=!0;break;case"a":r.add=!0;break;case"c":r.create=!0;break;case"w":r.write=!0;break;case"d":r.delete=!0;break;case"x":r.deleteVersion=!0;break;case"t":r.tag=!0;break;case"m":r.move=!0;break;case"e":r.execute=!0;break;case"i":r.setImmutabilityPolicy=!0;break;case"y":r.permanentDelete=!0;break;default:throw new RangeError(`Invalid permission: ${n}`)}return r}static from(e){let r=new t;return e.read&&(r.read=!0),e.add&&(r.add=!0),e.create&&(r.create=!0),e.write&&(r.write=!0),e.delete&&(r.delete=!0),e.deleteVersion&&(r.deleteVersion=!0),e.tag&&(r.tag=!0),e.move&&(r.move=!0),e.execute&&(r.execute=!0),e.setImmutabilityPolicy&&(r.setImmutabilityPolicy=!0),e.permanentDelete&&(r.permanentDelete=!0),r}read=!1;add=!1;create=!1;write=!1;delete=!1;deleteVersion=!1;tag=!1;move=!1;execute=!1;setImmutabilityPolicy=!1;permanentDelete=!1;toString(){let e=[];return this.read&&e.push("r"),this.add&&e.push("a"),this.create&&e.push("c"),this.write&&e.push("w"),this.delete&&e.push("d"),this.deleteVersion&&e.push("x"),this.tag&&e.push("t"),this.move&&e.push("m"),this.execute&&e.push("e"),this.setImmutabilityPolicy&&e.push("i"),this.permanentDelete&&e.push("y"),e.join("")}};yh.BlobSASPermissions=k0});var U0=f(Ch=>{"use strict";Object.defineProperty(Ch,"__esModule",{value:!0});Ch.ContainerSASPermissions=void 0;var F0=class t{static{s(this,"ContainerSASPermissions")}static parse(e){let r=new t;for(let n of e)switch(n){case"r":r.read=!0;break;case"a":r.add=!0;break;case"c":r.create=!0;break;case"w":r.write=!0;break;case"d":r.delete=!0;break;case"l":r.list=!0;break;case"t":r.tag=!0;break;case"x":r.deleteVersion=!0;break;case"m":r.move=!0;break;case"e":r.execute=!0;break;case"i":r.setImmutabilityPolicy=!0;break;case"y":r.permanentDelete=!0;break;case"f":r.filterByTags=!0;break;default:throw new RangeError(`Invalid permission ${n}`)}return r}static from(e){let r=new t;return e.read&&(r.read=!0),e.add&&(r.add=!0),e.create&&(r.create=!0),e.write&&(r.write=!0),e.delete&&(r.delete=!0),e.list&&(r.list=!0),e.deleteVersion&&(r.deleteVersion=!0),e.tag&&(r.tag=!0),e.move&&(r.move=!0),e.execute&&(r.execute=!0),e.setImmutabilityPolicy&&(r.setImmutabilityPolicy=!0),e.permanentDelete&&(r.permanentDelete=!0),e.filterByTags&&(r.filterByTags=!0),r}read=!1;add=!1;create=!1;write=!1;delete=!1;deleteVersion=!1;list=!1;tag=!1;move=!1;execute=!1;setImmutabilityPolicy=!1;permanentDelete=!1;filterByTags=!1;toString(){let e=[];return this.read&&e.push("r"),this.add&&e.push("a"),this.create&&e.push("c"),this.write&&e.push("w"),this.delete&&e.push("d"),this.deleteVersion&&e.push("x"),this.list&&e.push("l"),this.tag&&e.push("t"),this.move&&e.push("m"),this.execute&&e.push("e"),this.setImmutabilityPolicy&&e.push("i"),this.permanentDelete&&e.push("y"),this.filterByTags&&e.push("f"),e.join("")}};Ch.ContainerSASPermissions=F0});var Eh=f(q0=>{"use strict";Object.defineProperty(q0,"__esModule",{value:!0});q0.ipRangeToString=UPe;function UPe(t){return t.end?`${t.start}-${t.end}`:t.start}s(UPe,"ipRangeToString")});var Ih=f(tl=>{"use strict";Object.defineProperty(tl,"__esModule",{value:!0});tl.SASQueryParameters=tl.SASProtocol=void 0;var qPe=Eh(),Bh=wn(),BV;(function(t){t.Https="https",t.HttpsAndHttp="https,http"})(BV||(tl.SASProtocol=BV={}));var H0=class{static{s(this,"SASQueryParameters")}version;protocol;startsOn;expiresOn;permissions;services;resourceTypes;identifier;delegatedUserObjectId;encryptionScope;resource;signature;cacheControl;contentDisposition;contentEncoding;contentLanguage;contentType;ipRangeInner;signedOid;signedTenantId;signedStartsOn;signedExpiresOn;signedService;signedVersion;preauthorizedAgentObjectId;correlationId;get ipRange(){if(this.ipRangeInner)return{end:this.ipRangeInner.end,start:this.ipRangeInner.start}}constructor(e,r,n,i,o,a,c,l,A,u,d,g,y,B,w,x,S,R,D,L,K){this.version=e,this.signature=r,n!==void 0&&typeof n!="string"?(this.permissions=n.permissions,this.services=n.services,this.resourceTypes=n.resourceTypes,this.protocol=n.protocol,this.startsOn=n.startsOn,this.expiresOn=n.expiresOn,this.ipRangeInner=n.ipRange,this.identifier=n.identifier,this.delegatedUserObjectId=n.delegatedUserObjectId,this.encryptionScope=n.encryptionScope,this.resource=n.resource,this.cacheControl=n.cacheControl,this.contentDisposition=n.contentDisposition,this.contentEncoding=n.contentEncoding,this.contentLanguage=n.contentLanguage,this.contentType=n.contentType,n.userDelegationKey&&(this.signedOid=n.userDelegationKey.signedObjectId,this.signedTenantId=n.userDelegationKey.signedTenantId,this.signedStartsOn=n.userDelegationKey.signedStartsOn,this.signedExpiresOn=n.userDelegationKey.signedExpiresOn,this.signedService=n.userDelegationKey.signedService,this.signedVersion=n.userDelegationKey.signedVersion,this.preauthorizedAgentObjectId=n.preauthorizedAgentObjectId,this.correlationId=n.correlationId)):(this.services=i,this.resourceTypes=o,this.expiresOn=l,this.permissions=n,this.protocol=a,this.startsOn=c,this.ipRangeInner=A,this.delegatedUserObjectId=K,this.encryptionScope=L,this.identifier=u,this.resource=d,this.cacheControl=g,this.contentDisposition=y,this.contentEncoding=B,this.contentLanguage=w,this.contentType=x,S&&(this.signedOid=S.signedObjectId,this.signedTenantId=S.signedTenantId,this.signedStartsOn=S.signedStartsOn,this.signedExpiresOn=S.signedExpiresOn,this.signedService=S.signedService,this.signedVersion=S.signedVersion,this.preauthorizedAgentObjectId=R,this.correlationId=D))}toString(){let e=["sv","ss","srt","spr","st","se","sip","si","ses","skoid","sktid","skt","ske","sks","skv","sr","sp","sig","rscc","rscd","rsce","rscl","rsct","saoid","scid","sduoid"],r=[];for(let n of e)switch(n){case"sv":this.tryAppendQueryParameter(r,n,this.version);break;case"ss":this.tryAppendQueryParameter(r,n,this.services);break;case"srt":this.tryAppendQueryParameter(r,n,this.resourceTypes);break;case"spr":this.tryAppendQueryParameter(r,n,this.protocol);break;case"st":this.tryAppendQueryParameter(r,n,this.startsOn?(0,Bh.truncatedISO8061Date)(this.startsOn,!1):void 0);break;case"se":this.tryAppendQueryParameter(r,n,this.expiresOn?(0,Bh.truncatedISO8061Date)(this.expiresOn,!1):void 0);break;case"sip":this.tryAppendQueryParameter(r,n,this.ipRange?(0,qPe.ipRangeToString)(this.ipRange):void 0);break;case"si":this.tryAppendQueryParameter(r,n,this.identifier);break;case"ses":this.tryAppendQueryParameter(r,n,this.encryptionScope);break;case"skoid":this.tryAppendQueryParameter(r,n,this.signedOid);break;case"sktid":this.tryAppendQueryParameter(r,n,this.signedTenantId);break;case"skt":this.tryAppendQueryParameter(r,n,this.signedStartsOn?(0,Bh.truncatedISO8061Date)(this.signedStartsOn,!1):void 0);break;case"ske":this.tryAppendQueryParameter(r,n,this.signedExpiresOn?(0,Bh.truncatedISO8061Date)(this.signedExpiresOn,!1):void 0);break;case"sks":this.tryAppendQueryParameter(r,n,this.signedService);break;case"skv":this.tryAppendQueryParameter(r,n,this.signedVersion);break;case"sr":this.tryAppendQueryParameter(r,n,this.resource);break;case"sp":this.tryAppendQueryParameter(r,n,this.permissions);break;case"sig":this.tryAppendQueryParameter(r,n,this.signature);break;case"rscc":this.tryAppendQueryParameter(r,n,this.cacheControl);break;case"rscd":this.tryAppendQueryParameter(r,n,this.contentDisposition);break;case"rsce":this.tryAppendQueryParameter(r,n,this.contentEncoding);break;case"rscl":this.tryAppendQueryParameter(r,n,this.contentLanguage);break;case"rsct":this.tryAppendQueryParameter(r,n,this.contentType);break;case"saoid":this.tryAppendQueryParameter(r,n,this.preauthorizedAgentObjectId);break;case"scid":this.tryAppendQueryParameter(r,n,this.correlationId);break;case"sduoid":this.tryAppendQueryParameter(r,n,this.delegatedUserObjectId);break}return r.join("&")}tryAppendQueryParameter(e,r,n){n&&(r=encodeURIComponent(r),n=encodeURIComponent(n),r.length>0&&n.length>0&&e.push(`${r}=${n}`))}};tl.SASQueryParameters=H0});var Qh=f(bh=>{"use strict";Object.defineProperty(bh,"__esModule",{value:!0});bh.generateBlobSASQueryParameters=GPe;bh.generateBlobSASQueryParametersInternal=bV;var Wo=L0(),Ko=U0(),HPe=Vn(),$o=Eh(),Xo=Ih(),IV=Zr(),ht=wn(),zPe=Vn();function GPe(t,e,r){return bV(t,e,r).sasQueryParameters}s(GPe,"generateBlobSASQueryParameters");function bV(t,e,r){let n=t.version?t.version:IV.SERVICE_VERSION,i=e instanceof HPe.StorageSharedKeyCredential?e:void 0,o;if(i===void 0&&r!==void 0&&(o=new zPe.UserDelegationKeyCredential(r,e)),i===void 0&&o===void 0)throw TypeError("Invalid sharedKeyCredential, userDelegationKey or accountName.");if(n>="2020-12-06")return i!==void 0?JPe(t,i):n>="2025-07-05"?$Pe(t,o):KPe(t,o);if(n>="2018-11-09")return i!==void 0?YPe(t,i):n>="2020-02-10"?WPe(t,o):VPe(t,o);if(n>="2015-04-05"){if(i!==void 0)return jPe(t,i);throw new RangeError("'version' must be >= '2018-11-09' when generating user delegation SAS using user delegation key.")}throw new RangeError("'version' must be >= '2015-04-05'.")}s(bV,"generateBlobSASQueryParametersInternal");function jPe(t,e){if(t=ea(t),!t.identifier&&!(t.permissions&&t.expiresOn))throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c";t.blobName&&(r="b");let n;t.permissions&&(t.blobName?n=Wo.BlobSASPermissions.parse(t.permissions.toString()).toString():n=Ko.ContainerSASPermissions.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?(0,ht.truncatedISO8061Date)(t.startsOn,!1):"",t.expiresOn?(0,ht.truncatedISO8061Date)(t.expiresOn,!1):"",Zo(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?(0,$o.ipRangeToString)(t.ipRange):"",t.protocol?t.protocol:"",t.version,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(` +`),o=e.computeHMACSHA256(i);return{sasQueryParameters:new Xo.SASQueryParameters(t.version,o,n,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType),stringToSign:i}}s(jPe,"generateBlobSASQueryParameters20150405");function YPe(t,e){if(t=ea(t),!t.identifier&&!(t.permissions&&t.expiresOn))throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let i;t.permissions&&(t.blobName?i=Wo.BlobSASPermissions.parse(t.permissions.toString()).toString():i=Ko.ContainerSASPermissions.parse(t.permissions.toString()).toString());let o=[i||"",t.startsOn?(0,ht.truncatedISO8061Date)(t.startsOn,!1):"",t.expiresOn?(0,ht.truncatedISO8061Date)(t.expiresOn,!1):"",Zo(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?(0,$o.ipRangeToString)(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(` +`),a=e.computeHMACSHA256(o);return{sasQueryParameters:new Xo.SASQueryParameters(t.version,a,i,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType),stringToSign:o}}s(YPe,"generateBlobSASQueryParameters20181109");function JPe(t,e){if(t=ea(t),!t.identifier&&!(t.permissions&&t.expiresOn))throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let i;t.permissions&&(t.blobName?i=Wo.BlobSASPermissions.parse(t.permissions.toString()).toString():i=Ko.ContainerSASPermissions.parse(t.permissions.toString()).toString());let o=[i||"",t.startsOn?(0,ht.truncatedISO8061Date)(t.startsOn,!1):"",t.expiresOn?(0,ht.truncatedISO8061Date)(t.expiresOn,!1):"",Zo(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?(0,$o.ipRangeToString)(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.encryptionScope,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(` +`),a=e.computeHMACSHA256(o);return{sasQueryParameters:new Xo.SASQueryParameters(t.version,a,i,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,void 0,void 0,void 0,t.encryptionScope),stringToSign:o}}s(JPe,"generateBlobSASQueryParameters20201206");function VPe(t,e){if(t=ea(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let i;t.permissions&&(t.blobName?i=Wo.BlobSASPermissions.parse(t.permissions.toString()).toString():i=Ko.ContainerSASPermissions.parse(t.permissions.toString()).toString());let o=[i||"",t.startsOn?(0,ht.truncatedISO8061Date)(t.startsOn,!1):"",t.expiresOn?(0,ht.truncatedISO8061Date)(t.expiresOn,!1):"",Zo(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?(0,ht.truncatedISO8061Date)(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?(0,ht.truncatedISO8061Date)(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.ipRange?(0,$o.ipRangeToString)(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(` +`),a=e.computeHMACSHA256(o);return{sasQueryParameters:new Xo.SASQueryParameters(t.version,a,i,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey),stringToSign:o}}s(VPe,"generateBlobSASQueryParametersUDK20181109");function WPe(t,e){if(t=ea(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let i;t.permissions&&(t.blobName?i=Wo.BlobSASPermissions.parse(t.permissions.toString()).toString():i=Ko.ContainerSASPermissions.parse(t.permissions.toString()).toString());let o=[i||"",t.startsOn?(0,ht.truncatedISO8061Date)(t.startsOn,!1):"",t.expiresOn?(0,ht.truncatedISO8061Date)(t.expiresOn,!1):"",Zo(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?(0,ht.truncatedISO8061Date)(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?(0,ht.truncatedISO8061Date)(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?(0,$o.ipRangeToString)(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(` +`),a=e.computeHMACSHA256(o);return{sasQueryParameters:new Xo.SASQueryParameters(t.version,a,i,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId),stringToSign:o}}s(WPe,"generateBlobSASQueryParametersUDK20200210");function KPe(t,e){if(t=ea(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let i;t.permissions&&(t.blobName?i=Wo.BlobSASPermissions.parse(t.permissions.toString()).toString():i=Ko.ContainerSASPermissions.parse(t.permissions.toString()).toString());let o=[i||"",t.startsOn?(0,ht.truncatedISO8061Date)(t.startsOn,!1):"",t.expiresOn?(0,ht.truncatedISO8061Date)(t.expiresOn,!1):"",Zo(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?(0,ht.truncatedISO8061Date)(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?(0,ht.truncatedISO8061Date)(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?(0,$o.ipRangeToString)(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(` +`),a=e.computeHMACSHA256(o);return{sasQueryParameters:new Xo.SASQueryParameters(t.version,a,i,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId,t.encryptionScope),stringToSign:o}}s(KPe,"generateBlobSASQueryParametersUDK20201206");function $Pe(t,e){if(t=ea(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let i;t.permissions&&(t.blobName?i=Wo.BlobSASPermissions.parse(t.permissions.toString()).toString():i=Ko.ContainerSASPermissions.parse(t.permissions.toString()).toString());let o=[i||"",t.startsOn?(0,ht.truncatedISO8061Date)(t.startsOn,!1):"",t.expiresOn?(0,ht.truncatedISO8061Date)(t.expiresOn,!1):"",Zo(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?(0,ht.truncatedISO8061Date)(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?(0,ht.truncatedISO8061Date)(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,void 0,t.delegatedUserObjectId,t.ipRange?(0,$o.ipRangeToString)(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(` +`),a=e.computeHMACSHA256(o);return{sasQueryParameters:new Xo.SASQueryParameters(t.version,a,i,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId,t.encryptionScope,t.delegatedUserObjectId),stringToSign:o}}s($Pe,"generateBlobSASQueryParametersUDK20250705");function Zo(t,e,r){let n=[`/blob/${t}/${e}`];return r&&n.push(`/${r}`),n.join("")}s(Zo,"getCanonicalName");function ea(t){let e=t.version?t.version:IV.SERVICE_VERSION;if(t.snapshotTime&&e<"2018-11-09")throw RangeError("'version' must be >= '2018-11-09' when providing 'snapshotTime'.");if(t.blobName===void 0&&t.snapshotTime)throw RangeError("Must provide 'blobName' when providing 'snapshotTime'.");if(t.versionId&&e<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'versionId'.");if(t.blobName===void 0&&t.versionId)throw RangeError("Must provide 'blobName' when providing 'versionId'.");if(t.permissions&&t.permissions.setImmutabilityPolicy&&e<"2020-08-04")throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.");if(t.permissions&&t.permissions.deleteVersion&&e<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'x' permission.");if(t.permissions&&t.permissions.permanentDelete&&e<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'y' permission.");if(t.permissions&&t.permissions.tag&&e<"2019-12-12")throw RangeError("'version' must be >= '2019-12-12' when providing 't' permission.");if(e<"2020-02-10"&&t.permissions&&(t.permissions.move||t.permissions.execute))throw RangeError("'version' must be >= '2020-02-10' when providing the 'm' or 'e' permission.");if(e<"2021-04-10"&&t.permissions&&t.permissions.filterByTags)throw RangeError("'version' must be >= '2021-04-10' when providing the 'f' permission.");if(e<"2020-02-10"&&(t.preauthorizedAgentObjectId||t.correlationId))throw RangeError("'version' must be >= '2020-02-10' when providing 'preauthorizedAgentObjectId' or 'correlationId'.");if(t.encryptionScope&&e<"2020-12-06")throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.");return t.version=e,t}s(ea,"SASSignatureValuesSanityCheckAndAutofill")});var Sh=f(wh=>{"use strict";Object.defineProperty(wh,"__esModule",{value:!0});wh.BlobLeaseClient=void 0;var XPe=st(),Ii=Zr(),wu=Vo(),Nh=wn(),z0=class{static{s(this,"BlobLeaseClient")}_leaseId;_url;_containerOrBlobOperation;_isContainer;get leaseId(){return this._leaseId}get url(){return this._url}constructor(e,r){let n=e.storageClientContext;this._url=e.url,e.name===void 0?(this._isContainer=!0,this._containerOrBlobOperation=n.container):(this._isContainer=!1,this._containerOrBlobOperation=n.blob),r||(r=(0,XPe.randomUUID)()),this._leaseId=r}async acquireLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==Ii.ETagNone||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==Ii.ETagNone||r.conditions?.tagConditions))throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return wu.tracingClient.withSpan("BlobLeaseClient-acquireLease",r,async n=>(0,Nh.assertResponse)(await this._containerOrBlobOperation.acquireLease({abortSignal:r.abortSignal,duration:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},proposedLeaseId:this._leaseId,tracingOptions:n.tracingOptions})))}async changeLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==Ii.ETagNone||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==Ii.ETagNone||r.conditions?.tagConditions))throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return wu.tracingClient.withSpan("BlobLeaseClient-changeLease",r,async n=>{let i=(0,Nh.assertResponse)(await this._containerOrBlobOperation.changeLease(this._leaseId,e,{abortSignal:r.abortSignal,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions}));return this._leaseId=e,i})}async releaseLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==Ii.ETagNone||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==Ii.ETagNone||e.conditions?.tagConditions))throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return wu.tracingClient.withSpan("BlobLeaseClient-releaseLease",e,async r=>(0,Nh.assertResponse)(await this._containerOrBlobOperation.releaseLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}async renewLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==Ii.ETagNone||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==Ii.ETagNone||e.conditions?.tagConditions))throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return wu.tracingClient.withSpan("BlobLeaseClient-renewLease",e,async r=>this._containerOrBlobOperation.renewLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:r.tracingOptions}))}async breakLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==Ii.ETagNone||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==Ii.ETagNone||r.conditions?.tagConditions))throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return wu.tracingClient.withSpan("BlobLeaseClient-breakLease",r,async n=>{let i={abortSignal:r.abortSignal,breakPeriod:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions};return(0,Nh.assertResponse)(await this._containerOrBlobOperation.breakLease(i))})}};wh.BlobLeaseClient=z0});var QV=f(xh=>{"use strict";Object.defineProperty(xh,"__esModule",{value:!0});xh.AbortError=void 0;var G0=class extends Error{static{s(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};xh.AbortError=G0});var j0=f(Rh=>{"use strict";Object.defineProperty(Rh,"__esModule",{value:!0});Rh.AbortError=void 0;var ZPe=QV();Object.defineProperty(Rh,"AbortError",{enumerable:!0,get:s(function(){return ZPe.AbortError},"get")})});var NV=f(vh=>{"use strict";Object.defineProperty(vh,"__esModule",{value:!0});vh.RetriableReadableStream=void 0;var e_e=j0(),t_e=require("node:stream"),Y0=class extends t_e.Readable{static{s(this,"RetriableReadableStream")}start;offset;end;getter;source;retries=0;maxRetryRequests;onProgress;options;constructor(e,r,n,i,o={}){super({highWaterMark:o.highWaterMark}),this.getter=r,this.source=e,this.start=n,this.offset=n,this.end=n+i-1,this.maxRetryRequests=o.maxRetryRequests&&o.maxRetryRequests>=0?o.maxRetryRequests:0,this.onProgress=o.onProgress,this.options=o,this.setSourceEventHandlers()}_read(){this.source.resume()}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler),this.source.on("end",this.sourceErrorOrEndHandler),this.source.on("error",this.sourceErrorOrEndHandler),this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler),this.source.removeListener("end",this.sourceErrorOrEndHandler),this.source.removeListener("error",this.sourceErrorOrEndHandler),this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=s(e=>{if(this.options.doInjectErrorOnce){this.options.doInjectErrorOnce=void 0,this.source.pause(),this.sourceErrorOrEndHandler(),this.source.destroy();return}this.offset+=e.length,this.onProgress&&this.onProgress({loadedBytes:this.offset-this.start}),this.push(e)||this.source.pause()},"sourceDataHandler");sourceAbortedHandler=s(()=>{let e=new e_e.AbortError("The operation was aborted.");this.destroy(e)},"sourceAbortedHandler");sourceErrorOrEndHandler=s(e=>{if(e&&e.name==="AbortError"){this.destroy(e);return}this.removeSourceEventHandlers(),this.offset-1===this.end?this.push(null):this.offset<=this.end?this.retries{this.source=r,this.setSourceEventHandlers()}).catch(r=>{this.destroy(r)})):this.destroy(new Error(`Data corruption failure: received less data than required and reached maxRetires limitation. Received data offset: ${this.offset-1}, data needed offset: ${this.end}, retries: ${this.retries}, max retries: ${this.maxRetryRequests}`)):this.destroy(new Error(`Data corruption failure: Received more data than original request, data needed offset is ${this.end}, received offset: ${this.offset-1}`))},"sourceErrorOrEndHandler");_destroy(e,r){this.removeSourceEventHandlers(),this.source.destroy(),r(e===null?void 0:e)}};vh.RetriableReadableStream=Y0});var wV=f(Ph=>{"use strict";Object.defineProperty(Ph,"__esModule",{value:!0});Ph.BlobDownloadResponse=void 0;var r_e=st(),n_e=NV(),J0=class{static{s(this,"BlobDownloadResponse")}get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){return this.originalResponse.copyCompletedOn}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get tagCount(){return this.originalResponse.tagCount}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get lastAccessed(){return this.originalResponse.lastAccessed}get createdOn(){return this.originalResponse.createdOn}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get versionId(){return this.originalResponse.versionId}get isCurrentVersion(){return this.originalResponse.isCurrentVersion}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get objectReplicationDestinationPolicyId(){return this.originalResponse.objectReplicationDestinationPolicyId}get objectReplicationSourceProperties(){return this.originalResponse.objectReplicationSourceProperties}get isSealed(){return this.originalResponse.isSealed}get immutabilityPolicyExpiresOn(){return this.originalResponse.immutabilityPolicyExpiresOn}get immutabilityPolicyMode(){return this.originalResponse.immutabilityPolicyMode}get legalHold(){return this.originalResponse.legalHold}get contentAsBlob(){return this.originalResponse.blobBody}get readableStreamBody(){return r_e.isNodeLike?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,r,n,i,o={}){this.originalResponse=e,this.blobDownloadStream=new n_e.RetriableReadableStream(this.originalResponse.readableStreamBody,r,n,i,o)}};Ph.BlobDownloadResponse=J0});var SV=f(bi=>{"use strict";Object.defineProperty(bi,"__esModule",{value:!0});bi.AVRO_SCHEMA_KEY=bi.AVRO_CODEC_KEY=bi.AVRO_INIT_BYTES=bi.AVRO_SYNC_MARKER_SIZE=void 0;bi.AVRO_SYNC_MARKER_SIZE=16;bi.AVRO_INIT_BYTES=new Uint8Array([79,98,106,1]);bi.AVRO_CODEC_KEY="avro.codec";bi.AVRO_SCHEMA_KEY="avro.schema"});var xV=f(rl=>{"use strict";Object.defineProperty(rl,"__esModule",{value:!0});rl.AvroType=rl.AvroParser=void 0;var Dr=class t{static{s(this,"AvroParser")}static async readFixedBytes(e,r,n={}){let i=await e.read(r,{abortSignal:n.abortSignal});if(i.length!==r)throw new Error("Hit stream end.");return i}static async readByte(e,r={}){return(await t.readFixedBytes(e,1,r))[0]}static async readZigZagLong(e,r={}){let n=0,i=0,o,a,c;do o=await t.readByte(e,r),a=o&128,n|=(o&127)<Number.MAX_SAFE_INTEGER)throw new Error("Integer overflow.");return l}return n>>1^-(n&1)}static async readLong(e,r={}){return t.readZigZagLong(e,r)}static async readInt(e,r={}){return t.readZigZagLong(e,r)}static async readNull(){return null}static async readBoolean(e,r={}){let n=await t.readByte(e,r);if(n===1)return!0;if(n===0)return!1;throw new Error("Byte was not a boolean.")}static async readFloat(e,r={}){let n=await t.readFixedBytes(e,4,r);return new DataView(n.buffer,n.byteOffset,n.byteLength).getFloat32(0,!0)}static async readDouble(e,r={}){let n=await t.readFixedBytes(e,8,r);return new DataView(n.buffer,n.byteOffset,n.byteLength).getFloat64(0,!0)}static async readBytes(e,r={}){let n=await t.readLong(e,r);if(n<0)throw new Error("Bytes size was negative.");return e.read(n,{abortSignal:r.abortSignal})}static async readString(e,r={}){let n=await t.readBytes(e,r);return new TextDecoder().decode(n)}static async readMapPair(e,r,n={}){let i=await t.readString(e,n),o=await r(e,n);return{key:i,value:o}}static async readMap(e,r,n={}){let i=s((c,l={})=>t.readMapPair(c,r,l),"readPairMethod"),o=await t.readArray(e,i,n),a={};for(let c of o)a[c.key]=c.value;return a}static async readArray(e,r,n={}){let i=[];for(let o=await t.readLong(e,n);o!==0;o=await t.readLong(e,n))for(o<0&&(await t.readLong(e,n),o=-o);o--;){let a=await r(e,n);i.push(a)}return i}};rl.AvroParser=Dr;var ta;(function(t){t.RECORD="record",t.ENUM="enum",t.ARRAY="array",t.MAP="map",t.UNION="union",t.FIXED="fixed"})(ta||(ta={}));var Kt;(function(t){t.NULL="null",t.BOOLEAN="boolean",t.INT="int",t.LONG="long",t.FLOAT="float",t.DOUBLE="double",t.BYTES="bytes",t.STRING="string"})(Kt||(Kt={}));var Vs=class t{static{s(this,"AvroType")}static fromSchema(e){return typeof e=="string"?t.fromStringSchema(e):Array.isArray(e)?t.fromArraySchema(e):t.fromObjectSchema(e)}static fromStringSchema(e){switch(e){case Kt.NULL:case Kt.BOOLEAN:case Kt.INT:case Kt.LONG:case Kt.FLOAT:case Kt.DOUBLE:case Kt.BYTES:case Kt.STRING:return new V0(e);default:throw new Error(`Unexpected Avro type ${e}`)}}static fromArraySchema(e){return new K0(e.map(t.fromSchema))}static fromObjectSchema(e){let r=e.type;try{return t.fromStringSchema(r)}catch{}switch(r){case ta.RECORD:if(e.aliases)throw new Error(`aliases currently is not supported, schema: ${e}`);if(!e.name)throw new Error(`Required attribute 'name' doesn't exist on schema: ${e}`);let n={};if(!e.fields)throw new Error(`Required attribute 'fields' doesn't exist on schema: ${e}`);for(let i of e.fields)n[i.name]=t.fromSchema(i.type);return new X0(n,e.name);case ta.ENUM:if(e.aliases)throw new Error(`aliases currently is not supported, schema: ${e}`);if(!e.symbols)throw new Error(`Required attribute 'symbols' doesn't exist on schema: ${e}`);return new W0(e.symbols);case ta.MAP:if(!e.values)throw new Error(`Required attribute 'values' doesn't exist on schema: ${e}`);return new $0(t.fromSchema(e.values));case ta.ARRAY:case ta.FIXED:default:throw new Error(`Unexpected Avro type ${r} in ${e}`)}}};rl.AvroType=Vs;var V0=class extends Vs{static{s(this,"AvroPrimitiveType")}_primitive;constructor(e){super(),this._primitive=e}read(e,r={}){switch(this._primitive){case Kt.NULL:return Dr.readNull();case Kt.BOOLEAN:return Dr.readBoolean(e,r);case Kt.INT:return Dr.readInt(e,r);case Kt.LONG:return Dr.readLong(e,r);case Kt.FLOAT:return Dr.readFloat(e,r);case Kt.DOUBLE:return Dr.readDouble(e,r);case Kt.BYTES:return Dr.readBytes(e,r);case Kt.STRING:return Dr.readString(e,r);default:throw new Error("Unknown Avro Primitive")}}},W0=class extends Vs{static{s(this,"AvroEnumType")}_symbols;constructor(e){super(),this._symbols=e}async read(e,r={}){let n=await Dr.readInt(e,r);return this._symbols[n]}},K0=class extends Vs{static{s(this,"AvroUnionType")}_types;constructor(e){super(),this._types=e}async read(e,r={}){let n=await Dr.readInt(e,r);return this._types[n].read(e,r)}},$0=class extends Vs{static{s(this,"AvroMapType")}_itemType;constructor(e){super(),this._itemType=e}read(e,r={}){let n=s((i,o)=>this._itemType.read(i,o),"readItemMethod");return Dr.readMap(e,n,r)}},X0=class extends Vs{static{s(this,"AvroRecordType")}_name;_fields;constructor(e,r){super(),this._fields=e,this._name=r}async read(e,r={}){let n={};n.$schema=this._name;for(let i in this._fields)Object.prototype.hasOwnProperty.call(this._fields,i)&&(n[i]=await this._fields[i].read(e,r));return n}}});var RV=f(Z0=>{"use strict";Object.defineProperty(Z0,"__esModule",{value:!0});Z0.arraysEqual=i_e;function i_e(t,e){if(t===e)return!0;if(t==null||e==null||t.length!==e.length)return!1;for(let r=0;r{"use strict";Object.defineProperty(_h,"__esModule",{value:!0});_h.AvroReader=void 0;var nl=SV(),Qi=xV(),vV=RV(),eS=class{static{s(this,"AvroReader")}_dataStream;_headerStream;_syncMarker;_metadata;_itemType;_itemsRemainingInBlock;_initialBlockOffset;_blockOffset;get blockOffset(){return this._blockOffset}_objectIndex;get objectIndex(){return this._objectIndex}_initialized;constructor(e,r,n,i){this._dataStream=e,this._headerStream=r||e,this._initialized=!1,this._blockOffset=n||0,this._objectIndex=i||0,this._initialBlockOffset=n||0}async initialize(e={}){let r=await Qi.AvroParser.readFixedBytes(this._headerStream,nl.AVRO_INIT_BYTES.length,{abortSignal:e.abortSignal});if(!(0,vV.arraysEqual)(r,nl.AVRO_INIT_BYTES))throw new Error("Stream is not an Avro file.");this._metadata=await Qi.AvroParser.readMap(this._headerStream,Qi.AvroParser.readString,{abortSignal:e.abortSignal});let n=this._metadata[nl.AVRO_CODEC_KEY];if(!(n==null||n==="null"))throw new Error("Codecs are not supported");this._syncMarker=await Qi.AvroParser.readFixedBytes(this._headerStream,nl.AVRO_SYNC_MARKER_SIZE,{abortSignal:e.abortSignal});let i=JSON.parse(this._metadata[nl.AVRO_SCHEMA_KEY]);if(this._itemType=Qi.AvroType.fromSchema(i),this._blockOffset===0&&(this._blockOffset=this._initialBlockOffset+this._dataStream.position),this._itemsRemainingInBlock=await Qi.AvroParser.readLong(this._dataStream,{abortSignal:e.abortSignal}),await Qi.AvroParser.readLong(this._dataStream,{abortSignal:e.abortSignal}),this._initialized=!0,this._objectIndex&&this._objectIndex>0)for(let o=0;o0}async*parseObjects(e={}){for(this._initialized||await this.initialize(e);this.hasNext();){let r=await this._itemType.read(this._dataStream,{abortSignal:e.abortSignal});if(this._itemsRemainingInBlock--,this._objectIndex++,this._itemsRemainingInBlock===0){let n=await Qi.AvroParser.readFixedBytes(this._dataStream,nl.AVRO_SYNC_MARKER_SIZE,{abortSignal:e.abortSignal});if(this._blockOffset=this._initialBlockOffset+this._dataStream.position,this._objectIndex=0,!(0,vV.arraysEqual)(this._syncMarker,n))throw new Error("Stream is not a valid Avro file.");try{this._itemsRemainingInBlock=await Qi.AvroParser.readLong(this._dataStream,{abortSignal:e.abortSignal})}catch{this._itemsRemainingInBlock=0}this._itemsRemainingInBlock>0&&await Qi.AvroParser.readLong(this._dataStream,{abortSignal:e.abortSignal})}yield r}}};_h.AvroReader=eS});var rS=f(Dh=>{"use strict";Object.defineProperty(Dh,"__esModule",{value:!0});Dh.AvroReadable=void 0;var tS=class{static{s(this,"AvroReadable")}};Dh.AvroReadable=tS});var DV=f(Th=>{"use strict";Object.defineProperty(Th,"__esModule",{value:!0});Th.AvroReadableFromStream=void 0;var s_e=rS(),o_e=j0(),a_e=require("buffer"),_V=new o_e.AbortError("Reading from the avro stream was aborted."),nS=class extends s_e.AvroReadable{static{s(this,"AvroReadableFromStream")}_position;_readable;toUint8Array(e){return typeof e=="string"?a_e.Buffer.from(e):e}constructor(e){super(),this._readable=e,this._position=0}get position(){return this._position}async read(e,r={}){if(r.abortSignal?.aborted)throw _V;if(e<0)throw new Error(`size parameter should be positive: ${e}`);if(e===0)return new Uint8Array;if(!this._readable.readable)throw new Error("Stream no longer readable.");let n=this._readable.read(e);return n?(this._position+=n.length,this.toUint8Array(n)):new Promise((i,o)=>{let a=s(()=>{this._readable.removeListener("readable",c),this._readable.removeListener("error",l),this._readable.removeListener("end",l),this._readable.removeListener("close",l),r.abortSignal&&r.abortSignal.removeEventListener("abort",A)},"cleanUp"),c=s(()=>{let u=this._readable.read(e);u&&(this._position+=u.length,a(),i(this.toUint8Array(u)))},"readableCallback"),l=s(()=>{a(),o()},"rejectCallback"),A=s(()=>{a(),o(_V)},"abortHandler");this._readable.on("readable",c),this._readable.once("error",l),this._readable.once("end",l),this._readable.once("close",l),r.abortSignal&&r.abortSignal.addEventListener("abort",A)})}};Th.AvroReadableFromStream=nS});var TV=f(Ws=>{"use strict";Object.defineProperty(Ws,"__esModule",{value:!0});Ws.AvroReadableFromStream=Ws.AvroReadable=Ws.AvroReader=void 0;var c_e=PV();Object.defineProperty(Ws,"AvroReader",{enumerable:!0,get:s(function(){return c_e.AvroReader},"get")});var l_e=rS();Object.defineProperty(Ws,"AvroReadable",{enumerable:!0,get:s(function(){return l_e.AvroReadable},"get")});var A_e=DV();Object.defineProperty(Ws,"AvroReadableFromStream",{enumerable:!0,get:s(function(){return A_e.AvroReadableFromStream},"get")})});var MV=f(Oh=>{"use strict";Object.defineProperty(Oh,"__esModule",{value:!0});Oh.BlobQuickQueryStream=void 0;var u_e=require("node:stream"),OV=TV(),iS=class extends u_e.Readable{static{s(this,"BlobQuickQueryStream")}source;avroReader;avroIter;avroPaused=!0;onProgress;onError;constructor(e,r={}){super(),this.source=e,this.onProgress=r.onProgress,this.onError=r.onError,this.avroReader=new OV.AvroReader(new OV.AvroReadableFromStream(this.source)),this.avroIter=this.avroReader.parseObjects({abortSignal:r.abortSignal})}_read(){this.avroPaused&&this.readInternal().catch(e=>{this.emit("error",e)})}async readInternal(){this.avroPaused=!1;let e;do{if(e=await this.avroIter.next(),e.done)break;let r=e.value,n=r.$schema;if(typeof n!="string")throw Error("Missing schema in avro record.");switch(n){case"com.microsoft.azure.storage.queryBlobContents.resultData":{let i=r.data;if(!(i instanceof Uint8Array))throw Error("Invalid data in avro result record.");this.push(Buffer.from(i))||(this.avroPaused=!0)}break;case"com.microsoft.azure.storage.queryBlobContents.progress":{let i=r.bytesScanned;if(typeof i!="number")throw Error("Invalid bytesScanned in avro progress record.");this.onProgress&&this.onProgress({loadedBytes:i})}break;case"com.microsoft.azure.storage.queryBlobContents.end":if(this.onProgress){let i=r.totalBytes;if(typeof i!="number")throw Error("Invalid totalBytes in avro end record.");this.onProgress({loadedBytes:i})}this.push(null);break;case"com.microsoft.azure.storage.queryBlobContents.error":if(this.onError){let i=r.fatal;if(typeof i!="boolean")throw Error("Invalid fatal in avro error record.");let o=r.name;if(typeof o!="string")throw Error("Invalid name in avro error record.");let a=r.description;if(typeof a!="string")throw Error("Invalid description in avro error record.");let c=r.position;if(typeof c!="number")throw Error("Invalid position in avro error record.");this.onError({position:c,name:o,isFatal:i,description:a})}break;default:throw Error(`Unknown schema ${n} in avro progress record.`)}}while(!e.done&&!this.avroPaused)}};Oh.BlobQuickQueryStream=iS});var kV=f(Mh=>{"use strict";Object.defineProperty(Mh,"__esModule",{value:!0});Mh.BlobQueryResponse=void 0;var d_e=st(),p_e=MV(),sS=class{static{s(this,"BlobQueryResponse")}get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get blobBody(){}get readableStreamBody(){return d_e.isNodeLike?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,r={}){this.originalResponse=e,this.blobDownloadStream=new p_e.BlobQuickQueryStream(this.originalResponse.readableStreamBody,r)}};Mh.BlobQueryResponse=sS});var oS=f(Wn=>{"use strict";Object.defineProperty(Wn,"__esModule",{value:!0});Wn.StorageBlobAudience=Wn.PremiumPageBlobTier=Wn.BlockBlobTier=void 0;Wn.toAccessTier=g_e;Wn.ensureCpkIfSpecified=h_e;Wn.getBlobServiceAccountAudience=f_e;var m_e=Zr(),LV;(function(t){t.Hot="Hot",t.Cool="Cool",t.Cold="Cold",t.Archive="Archive"})(LV||(Wn.BlockBlobTier=LV={}));var FV;(function(t){t.P4="P4",t.P6="P6",t.P10="P10",t.P15="P15",t.P20="P20",t.P30="P30",t.P40="P40",t.P50="P50",t.P60="P60",t.P70="P70",t.P80="P80"})(FV||(Wn.PremiumPageBlobTier=FV={}));function g_e(t){if(t!==void 0)return t}s(g_e,"toAccessTier");function h_e(t,e){if(t&&!e)throw new RangeError("Customer-provided encryption key must be used over HTTPS.");t&&!t.encryptionAlgorithm&&(t.encryptionAlgorithm=m_e.EncryptionAlgorithmAES25)}s(h_e,"ensureCpkIfSpecified");var UV;(function(t){t.StorageOAuthScopes="https://storage.azure.com/.default",t.DiskComputeOAuthScopes="https://disk.compute.azure.com/.default"})(UV||(Wn.StorageBlobAudience=UV={}));function f_e(t){return`https://${t}.blob.core.windows.net/.default`}s(f_e,"getBlobServiceAccountAudience")});var qV=f(aS=>{"use strict";Object.defineProperty(aS,"__esModule",{value:!0});aS.rangeResponseFromModel=y_e;function y_e(t){let e=(t._response.parsedBody.pageRange||[]).map(n=>({offset:n.start,count:n.end-n.start})),r=(t._response.parsedBody.clearRange||[]).map(n=>({offset:n.start,count:n.end-n.start}));return{...t,pageRange:e,clearRange:r,_response:{...t._response,parsedBody:{pageRange:e,clearRange:r}}}}s(y_e,"rangeResponseFromModel")});var Lh=f(kh=>{"use strict";Object.defineProperty(kh,"__esModule",{value:!0});kh.logger=void 0;var C_e=zo();kh.logger=(0,C_e.createClientLogger)("core-lro")});var Fh=f(il=>{"use strict";Object.defineProperty(il,"__esModule",{value:!0});il.terminalStates=il.POLL_INTERVAL_IN_MS=void 0;il.POLL_INTERVAL_IN_MS=2e3;il.terminalStates=["succeeded","canceled","failed"]});var Uh=f(Ks=>{"use strict";Object.defineProperty(Ks,"__esModule",{value:!0});Ks.pollOperation=Ks.initOperation=Ks.deserializeState=void 0;var cS=Lh(),zV=Fh();function E_e(t){try{return JSON.parse(t).state}catch{throw new Error(`Unable to deserialize input state: ${t}`)}}s(E_e,"deserializeState");Ks.deserializeState=E_e;function HV(t){let{state:e,stateProxy:r,isOperationError:n}=t;return i=>{throw n(i)&&(r.setError(e,i),r.setFailed(e)),i}}s(HV,"setStateError");function B_e(t,e){let r=t;return r.slice(-1)!=="."&&(r=r+"."),r+" "+e}s(B_e,"appendReadableErrorMessage");function I_e(t){let e=t.message,r=t.code,n=t;for(;n.innererror;)n=n.innererror,r=n.code,e=B_e(e,n.message);return{code:r,message:e}}s(I_e,"simplifyError");function GV(t){let{state:e,stateProxy:r,status:n,isDone:i,processResult:o,getError:a,response:c,setErrorAsResult:l}=t;switch(n){case"succeeded":{r.setSucceeded(e);break}case"failed":{let A=a?.(c),u="";if(A){let{code:g,message:y}=I_e(A);u=`. ${g}. ${y}`}let d=`The long-running operation has failed${u}`;r.setError(e,new Error(d)),r.setFailed(e),cS.logger.warning(d);break}case"canceled":{r.setCanceled(e);break}}(i?.(c,e)||i===void 0&&["succeeded","canceled"].concat(l?[]:["failed"]).includes(n))&&r.setResult(e,b_e({response:c,state:e,processResult:o}))}s(GV,"processOperationStatus");function b_e(t){let{processResult:e,response:r,state:n}=t;return e?e(r,n):r}s(b_e,"buildResult");async function Q_e(t){let{init:e,stateProxy:r,processResult:n,getOperationStatus:i,withOperationLocation:o,setErrorAsResult:a}=t,{operationLocation:c,resourceLocation:l,metadata:A,response:u}=await e();c&&o?.(c,!1);let d={metadata:A,operationLocation:c,resourceLocation:l};cS.logger.verbose("LRO: Operation description:",d);let g=r.initState(d),y=i({response:u,state:g,operationLocation:c});return GV({state:g,status:y,stateProxy:r,response:u,setErrorAsResult:a,processResult:n}),g}s(Q_e,"initOperation");Ks.initOperation=Q_e;async function N_e(t){let{poll:e,state:r,stateProxy:n,operationLocation:i,getOperationStatus:o,getResourceLocation:a,isOperationError:c,options:l}=t,A=await e(i,l).catch(HV({state:r,stateProxy:n,isOperationError:c})),u=o(A,r);if(cS.logger.verbose(`LRO: Status: Polling from: ${r.config.operationLocation} Operation status: ${u} - Polling status: ${K3.includes(u)?"Stopped":"Running"}`),u==="succeeded"){let d=a(A,r);if(d!==void 0)return{response:await e(d).catch(V3({state:r,stateProxy:n,isOperationError:c})),status:u}}return{response:A,status:u}}o($Te,"pollOperationHelper");async function eK(t){let{poll:e,state:r,stateProxy:n,options:i,getOperationStatus:s,getResourceLocation:a,getOperationLocation:c,isOperationError:l,withOperationLocation:A,getPollingInterval:u,processResult:d,getError:g,updateState:f,setDelay:C,isDone:Q,setErrorAsResult:x}=t,{operationLocation:w}=r.config;if(w!==void 0){let{response:v,status:T}=await $Te({poll:e,getOperationStatus:s,state:r,stateProxy:n,operationLocation:w,getResourceLocation:a,isOperationError:l,options:i});if(X3({status:T,response:v,state:r,stateProxy:n,isDone:Q,processResult:d,getError:g,setErrorAsResult:x}),!K3.includes(T)){let L=u?.(v);L&&C(L);let W=c?.(v,r);if(W!==void 0){let de=w!==W;r.config.operationLocation=W,A?.(W,de)}else A?.(w,!1)}f?.(r,v)}}o(eK,"pollOperation");function tK(t){let{azureAsyncOperation:e,operationLocation:r}=t;return r??e}o(tK,"getOperationLocationPollingUrl");function rK(t){return t.headers.location}o(rK,"getLocationHeader");function nK(t){return t.headers["operation-location"]}o(nK,"getOperationLocationHeader");function iK(t){return t.headers["azure-asyncoperation"]}o(iK,"getAzureAsyncOperationHeader");function XTe(t){var e;let{location:r,requestMethod:n,requestPath:i,resourceLocationConfig:s}=t;switch(n){case"PUT":return i;case"DELETE":return;case"PATCH":return(e=a())!==null&&e!==void 0?e:i;default:return a()}function a(){switch(s){case"azure-async-operation":return;case"original-uri":return i;case"location":default:return r}}o(a,"getDefault")}o(XTe,"findResourceLocation");function sK(t){let{rawResponse:e,requestMethod:r,requestPath:n,resourceLocationConfig:i}=t,s=nK(e),a=iK(e),c=tK({operationLocation:s,azureAsyncOperation:a}),l=rK(e),A=r?.toLocaleUpperCase();return c!==void 0?{mode:"OperationLocation",operationLocation:c,resourceLocation:XTe({requestMethod:A,location:l,requestPath:n,resourceLocationConfig:i})}:l!==void 0?{mode:"ResourceLocation",operationLocation:l}:A==="PUT"&&n?{mode:"Body",operationLocation:n}:void 0}o(sK,"inferLroMode");function oK(t){let{status:e,statusCode:r}=t;if(typeof e!="string"&&e!==void 0)throw new Error(`Polling was unsuccessful. Expected status to have a string value or no value but it has instead: ${e}. This doesn't necessarily indicate the operation has failed. Check your Azure subscription or resource status for more information.`);switch(e?.toLocaleLowerCase()){case void 0:return MS(r);case"succeeded":return"succeeded";case"failed":return"failed";case"running":case"accepted":case"started":case"canceling":case"cancelling":return"running";case"canceled":case"cancelled":return"canceled";default:return Vo.verbose(`LRO: unrecognized operation status: ${e}`),e}}o(oK,"transformStatus");function ZTe(t){var e;let{status:r}=(e=t.body)!==null&&e!==void 0?e:{};return oK({status:r,statusCode:t.statusCode})}o(ZTe,"getStatus");function eOe(t){var e,r;let{properties:n,provisioningState:i}=(e=t.body)!==null&&e!==void 0?e:{},s=(r=n?.provisioningState)!==null&&r!==void 0?r:i;return oK({status:s,statusCode:t.statusCode})}o(eOe,"getProvisioningState");function MS(t){return t===202?"running":t<300?"succeeded":"failed"}o(MS,"toOperationStatus");function aK({rawResponse:t}){let e=t.headers["retry-after"];if(e!==void 0){let r=parseInt(e);return isNaN(r)?tOe(new Date(e)):r*1e3}}o(aK,"parseRetryAfter");function cK(t){let e=t.flatResponse.error;if(!e){Vo.warning("The long-running operation failed but there is no error property in the response's body");return}if(!e.code||!e.message){Vo.warning("The long-running operation failed but the error property in the response's body doesn't contain code or message");return}return e}o(cK,"getErrorFromResponse");function tOe(t){let e=Math.floor(new Date().getTime()),r=t.getTime();if(e{let a=await i.sendInitialRequest(),c=sK({rawResponse:a.rawResponse,requestPath:i.requestPath,requestMethod:i.requestMethod,resourceLocationConfig:r});return Object.assign({response:a,operationLocation:c?.operationLocation,resourceLocation:c?.resourceLocation},c?.mode?{metadata:{mode:c.mode}}:{})},stateProxy:e,processResult:n?({flatResponse:a},c)=>n(a,c):({flatResponse:a})=>a,getOperationStatus:lK,setErrorAsResult:s})}o(rOe,"initHttpOperation");function AK({rawResponse:t},e){var r;switch((r=e.config.metadata)===null||r===void 0?void 0:r.mode){case"OperationLocation":return tK({operationLocation:nK(t),azureAsyncOperation:iK(t)});case"ResourceLocation":return rK(t);case"Body":default:return}}o(AK,"getOperationLocation");function kS({rawResponse:t},e){var r;let n=(r=e.config.metadata)===null||r===void 0?void 0:r.mode;switch(n){case"OperationLocation":return ZTe(t);case"ResourceLocation":return MS(t.statusCode);case"Body":return eOe(t);default:throw new Error(`Internal error: Unexpected operation mode: ${n}`)}}o(kS,"getOperationStatus");function uK({flatResponse:t},e){if(typeof t=="object"){let r=t.resourceLocation;r!==void 0&&(e.config.resourceLocation=r)}return e.config.resourceLocation}o(uK,"getResourceLocation");function dK(t){return t.name==="RestError"}o(dK,"isOperationError");async function nOe(t){let{lro:e,stateProxy:r,options:n,processResult:i,updateState:s,setDelay:a,state:c,setErrorAsResult:l}=t;return eK({state:c,stateProxy:r,setDelay:a,processResult:i?({flatResponse:A},u)=>i(A,u):({flatResponse:A})=>A,getError:cK,updateState:s,getPollingInterval:aK,getOperationLocation:AK,getOperationStatus:kS,isOperationError:dK,getResourceLocation:uK,options:n,poll:async(A,u)=>e.sendPollRequest(A,u),setErrorAsResult:l})}o(nOe,"pollHttpOperation");var iOe=o(()=>({initState:t=>({status:"running",config:t}),setCanceled:t=>t.status="canceled",setError:(t,e)=>t.error=e,setResult:(t,e)=>t.result=e,setRunning:t=>t.status="running",setSucceeded:t=>t.status="succeeded",setFailed:t=>t.status="failed",getError:t=>t.error,getResult:t=>t.result,isCanceled:t=>t.status==="canceled",isFailed:t=>t.status==="failed",isRunning:t=>t.status==="running",isSucceeded:t=>t.status==="succeeded"}),"createStateProxy$1");function sOe(t){let{getOperationLocation:e,getStatusFromInitialResponse:r,getStatusFromPollResponse:n,isOperationError:i,getResourceLocation:s,getPollingInterval:a,getError:c,resolveOnUnsuccessful:l}=t;return async({init:A,poll:u},d)=>{let{processResult:g,updateState:f,withOperationLocation:C,intervalInMs:Q=W3,restoreFrom:x}=d||{},w=iOe(),v=C?(()=>{let $e=!1;return(ge,je)=>{je?C(ge):$e||C(ge),$e=!0}})():void 0,T=x?$3(x):await Z3({init:A,stateProxy:w,processResult:g,getOperationStatus:r,withOperationLocation:v,setErrorAsResult:!l}),L,W=new J3.AbortController,de=new Map,le=o(async()=>de.forEach($e=>$e(T)),"handleProgressEvents"),De="Operation was canceled",Te=Q,qe={getOperationState:()=>T,getResult:()=>T.result,isDone:()=>["succeeded","failed","canceled"].includes(T.status),isStopped:()=>L===void 0,stopPolling:()=>{W.abort()},toString:()=>JSON.stringify({state:T}),onProgress:$e=>{let ge=Symbol();return de.set(ge,$e),()=>de.delete(ge)},pollUntilDone:$e=>L??(L=(async()=>{let{abortSignal:ge}=$e||{},{signal:je}=ge?new J3.AbortController([ge,W.signal]):W;if(!qe.isDone())for(await qe.poll({abortSignal:je});!qe.isDone();)await JTe.delay(Te,{abortSignal:je}),await qe.poll({abortSignal:je});if(l)return qe.getResult();switch(T.status){case"succeeded":return qe.getResult();case"canceled":throw new Error(De);case"failed":throw T.error;case"notStarted":case"running":throw new Error("Polling completed without succeeding or failing")}})().finally(()=>{L=void 0})),async poll($e){if(l){if(qe.isDone())return}else switch(T.status){case"succeeded":return;case"canceled":throw new Error(De);case"failed":throw T.error}if(await eK({poll:u,state:T,stateProxy:w,getOperationLocation:e,isOperationError:i,withOperationLocation:v,getPollingInterval:a,getOperationStatus:n,getResourceLocation:s,processResult:g,getError:c,updateState:f,options:$e,setDelay:ge=>{Te=ge},setErrorAsResult:!l}),await le(),!l)switch(T.status){case"canceled":throw new Error(De);case"failed":throw T.error}}};return qe}}o(sOe,"buildCreatePoller");async function oOe(t,e){let{resourceLocationConfig:r,intervalInMs:n,processResult:i,restoreFrom:s,updateState:a,withOperationLocation:c,resolveOnUnsuccessful:l=!1}=e||{};return sOe({getStatusFromInitialResponse:lK,getStatusFromPollResponse:kS,isOperationError:dK,getOperationLocation:AK,getResourceLocation:uK,getPollingInterval:aK,getError:cK,resolveOnUnsuccessful:l})({init:async()=>{let A=await t.sendInitialRequest(),u=sK({rawResponse:A.rawResponse,requestPath:t.requestPath,requestMethod:t.requestMethod,resourceLocationConfig:r});return Object.assign({response:A,operationLocation:u?.operationLocation,resourceLocation:u?.resourceLocation},u?.mode?{metadata:{mode:u.mode}}:{})},poll:t.sendPollRequest},{intervalInMs:n,withOperationLocation:c,restoreFrom:s,updateState:a,processResult:i?({flatResponse:A},u)=>i(A,u):({flatResponse:A})=>A})}o(oOe,"createHttpPoller");var aOe=o(()=>({initState:t=>({config:t,isStarted:!0}),setCanceled:t=>t.isCancelled=!0,setError:(t,e)=>t.error=e,setResult:(t,e)=>t.result=e,setRunning:t=>t.isStarted=!0,setSucceeded:t=>t.isCompleted=!0,setFailed:()=>{},getError:t=>t.error,getResult:t=>t.result,isCanceled:t=>!!t.isCancelled,isFailed:t=>!!t.error,isRunning:t=>!!t.isStarted,isSucceeded:t=>!!(t.isCompleted&&!t.isCancelled&&!t.error)}),"createStateProxy"),TS=class{static{o(this,"GenericPollOperation")}constructor(e,r,n,i,s,a,c){this.state=e,this.lro=r,this.setErrorAsResult=n,this.lroResourceLocationConfig=i,this.processResult=s,this.updateState=a,this.isDone=c}setPollerConfig(e){this.pollerConfig=e}async update(e){var r;let n=aOe();this.state.isStarted||(this.state=Object.assign(Object.assign({},this.state),await rOe({lro:this.lro,stateProxy:n,resourceLocationConfig:this.lroResourceLocationConfig,processResult:this.processResult,setErrorAsResult:this.setErrorAsResult})));let i=this.updateState,s=this.isDone;return!this.state.isCompleted&&this.state.error===void 0&&await nOe({lro:this.lro,state:this.state,stateProxy:n,processResult:this.processResult,updateState:i?(a,{rawResponse:c})=>i(a,c):void 0,isDone:s?({flatResponse:a},c)=>s(a,c):void 0,options:e,setDelay:a=>{this.pollerConfig.intervalInMs=a},setErrorAsResult:this.setErrorAsResult}),(r=e?.fireProgress)===null||r===void 0||r.call(e,this.state),this}async cancel(){return Vo.error("`cancelOperation` is deprecated because it wasn't implemented"),this}toString(){return JSON.stringify({state:this.state})}},Kf=class t extends Error{static{o(this,"PollerStoppedError")}constructor(e){super(e),this.name="PollerStoppedError",Object.setPrototypeOf(this,t.prototype)}},$f=class t extends Error{static{o(this,"PollerCancelledError")}constructor(e){super(e),this.name="PollerCancelledError",Object.setPrototypeOf(this,t.prototype)}},Xf=class{static{o(this,"Poller")}constructor(e){this.resolveOnUnsuccessful=!1,this.stopped=!0,this.pollProgressCallbacks=[],this.operation=e,this.promise=new Promise((r,n)=>{this.resolve=r,this.reject=n}),this.promise.catch(()=>{})}async startPolling(e={}){for(this.stopped&&(this.stopped=!1);!this.isStopped()&&!this.isDone();)await this.poll(e),await this.delay()}async pollOnce(e={}){this.isDone()||(this.operation=await this.operation.update({abortSignal:e.abortSignal,fireProgress:this.fireProgress.bind(this)})),this.processUpdatedState()}fireProgress(e){for(let r of this.pollProgressCallbacks)r(e)}async cancelOnce(e={}){this.operation=await this.operation.cancel(e)}poll(e={}){if(!this.pollOncePromise){this.pollOncePromise=this.pollOnce(e);let r=o(()=>{this.pollOncePromise=void 0},"clearPollOncePromise");this.pollOncePromise.then(r,r).catch(this.reject)}return this.pollOncePromise}processUpdatedState(){if(this.operation.state.error&&(this.stopped=!0,!this.resolveOnUnsuccessful))throw this.reject(this.operation.state.error),this.operation.state.error;if(this.operation.state.isCancelled&&(this.stopped=!0,!this.resolveOnUnsuccessful)){let e=new $f("Operation was canceled");throw this.reject(e),e}this.isDone()&&this.resolve&&this.resolve(this.getResult())}async pollUntilDone(e={}){return this.stopped&&this.startPolling(e).catch(this.reject),this.processUpdatedState(),this.promise}onProgress(e){return this.pollProgressCallbacks.push(e),()=>{this.pollProgressCallbacks=this.pollProgressCallbacks.filter(r=>r!==e)}}isDone(){let e=this.operation.state;return!!(e.isCompleted||e.isCancelled||e.error)}stopPolling(){this.stopped||(this.stopped=!0,this.reject&&this.reject(new Kf("This poller is already stopped")))}isStopped(){return this.stopped}cancelOperation(e={}){if(!this.cancelPromise)this.cancelPromise=this.cancelOnce(e);else if(e.abortSignal)throw new Error("A cancel request is currently pending");return this.cancelPromise}getOperationState(){return this.operation.state}getResult(){return this.operation.state.result}toString(){return this.operation.toString()}},OS=class extends Xf{static{o(this,"LroEngine")}constructor(e,r){let{intervalInMs:n=W3,resumeFrom:i,resolveOnUnsuccessful:s=!1,isDone:a,lroResourceLocationConfig:c,processResult:l,updateState:A}=r||{},u=i?$3(i):{},d=new TS(u,e,!s,c,l,A,a);super(d),this.resolveOnUnsuccessful=s,this.config={intervalInMs:n},d.setPollerConfig(this.config)}delay(){return new Promise(e=>setTimeout(()=>e(),this.config.intervalInMs))}};Wo.LroEngine=OS;Wo.Poller=Xf;Wo.PollerCancelledError=$f;Wo.PollerStoppedError=Kf;Wo.createHttpPoller=oOe});var mK=h(Zf=>{"use strict";Object.defineProperty(Zf,"__esModule",{value:!0});Zf.BlobBeginCopyFromUrlPoller=void 0;var cOe=ut(),lOe=pK(),LS=class extends lOe.Poller{static{o(this,"BlobBeginCopyFromUrlPoller")}intervalInMs;constructor(e){let{blobClient:r,copySource:n,intervalInMs:i=15e3,onProgress:s,resumeFrom:a,startCopyFromURLOptions:c}=e,l;a&&(l=JSON.parse(a).state);let A=Iu({...l,blobClient:r,copySource:n,startCopyFromURLOptions:c});super(A),typeof s=="function"&&this.onProgress(s),this.intervalInMs=i}delay(){return(0,cOe.delay)(this.intervalInMs)}};Zf.BlobBeginCopyFromUrlPoller=LS;var AOe=o(async function(e={}){let r=this.state,{copyId:n}=r;return r.isCompleted?Iu(r):n?(await r.blobClient.abortCopyFromURL(n,{abortSignal:e.abortSignal}),r.isCancelled=!0,Iu(r)):(r.isCancelled=!0,Iu(r))},"cancel"),uOe=o(async function(e={}){let r=this.state,{blobClient:n,copySource:i,startCopyFromURLOptions:s}=r;if(r.isStarted){if(!r.isCompleted)try{let a=await r.blobClient.getProperties({abortSignal:e.abortSignal}),{copyStatus:c,copyProgress:l}=a,A=r.copyProgress;l&&(r.copyProgress=l),c==="pending"&&l!==A&&typeof e.fireProgress=="function"?e.fireProgress(r):c==="success"?(r.result=a,r.isCompleted=!0):c==="failed"&&(r.error=new Error(`Blob copy failed with reason: "${a.copyStatusDescription||"unknown"}"`),r.isCompleted=!0)}catch(a){r.error=a,r.isCompleted=!0}}else{r.isStarted=!0;let a=await n.startCopyFromURL(i,s);r.copyId=a.copyId,a.copyStatus==="success"&&(r.result=a,r.isCompleted=!0)}return Iu(r)},"update"),dOe=o(function(){return JSON.stringify({state:this.state},(e,r)=>{if(e!=="blobClient")return r})},"toString");function Iu(t){return{state:{...t},cancel:AOe,toString:dOe,update:uOe}}o(Iu,"makeBlobBeginCopyFromURLPollOperation")});var gK=h(FS=>{"use strict";Object.defineProperty(FS,"__esModule",{value:!0});FS.rangeToString=pOe;function pOe(t){if(t.offset<0)throw new RangeError("Range.offset cannot be smaller than 0.");if(t.count&&t.count<=0)throw new RangeError("Range.count must be larger than 0. Leave it undefined if you want a range from offset to the end.");return t.count?`bytes=${t.offset}-${t.offset+t.count-1}`:`bytes=${t.offset}-`}o(pOe,"rangeToString")});var fK=h(eh=>{"use strict";Object.defineProperty(eh,"__esModule",{value:!0});eh.Batch=void 0;var mOe=require("events"),bu;(function(t){t[t.Good=0]="Good",t[t.Error=1]="Error"})(bu||(bu={}));var US=class{static{o(this,"Batch")}concurrency;actives=0;completed=0;offset=0;operations=[];state=bu.Good;emitter;constructor(e=5){if(e<1)throw new RangeError("concurrency must be larger than 0");this.concurrency=e,this.emitter=new mOe.EventEmitter}addOperation(e){this.operations.push(async()=>{try{this.actives++,await e(),this.actives--,this.completed++,this.parallelExecute()}catch(r){this.emitter.emit("error",r)}})}async do(){return this.operations.length===0?Promise.resolve():(this.parallelExecute(),new Promise((e,r)=>{this.emitter.on("finish",e),this.emitter.on("error",n=>{this.state=bu.Error,r(n)})}))}nextOperation(){return this.offset=this.operations.length){this.emitter.emit("finish");return}for(;this.actives{"use strict";Object.defineProperty(Ii,"__esModule",{value:!0});Ii.fsCreateReadStream=Ii.fsStat=void 0;Ii.streamToBuffer=hOe;Ii.streamToBuffer2=yOe;Ii.streamToBuffer3=COe;Ii.readStreamToLocalFile=EOe;var hK=(Jr(),Wt(Yr)),qS=hK.__importDefault(require("node:fs")),gOe=hK.__importDefault(require("node:util")),fOe=Wr();async function hOe(t,e,r,n,i){let s=0,a=n-r;return new Promise((c,l)=>{let A=setTimeout(()=>l(new Error("The operation cannot be completed in timeout.")),fOe.REQUEST_TIMEOUT);t.on("readable",()=>{if(s>=a){clearTimeout(A),c();return}let u=t.read();if(!u)return;typeof u=="string"&&(u=Buffer.from(u,i));let d=s+u.length>a?a-s:u.length;e.fill(u.slice(0,d),r+s,r+s+d),s+=d}),t.on("end",()=>{clearTimeout(A),s{clearTimeout(A),l(u)})})}o(hOe,"streamToBuffer");async function yOe(t,e,r){let n=0,i=e.length;return new Promise((s,a)=>{t.on("readable",()=>{let c=t.read();if(c){if(typeof c=="string"&&(c=Buffer.from(c,r)),n+c.length>i){a(new Error(`Stream exceeds buffer size. Buffer size: ${i}`));return}e.fill(c,n,n+c.length),n+=c.length}}),t.on("end",()=>{s(n)}),t.on("error",a)})}o(yOe,"streamToBuffer2");async function COe(t,e){return new Promise((r,n)=>{let i=[];t.on("data",s=>{i.push(typeof s=="string"?Buffer.from(s,e):s)}),t.on("end",()=>{r(Buffer.concat(i))}),t.on("error",n)})}o(COe,"streamToBuffer3");async function EOe(t,e){return new Promise((r,n)=>{let i=qS.default.createWriteStream(e);t.on("error",s=>{n(s)}),i.on("error",s=>{n(s)}),i.on("close",r),t.pipe(i)})}o(EOe,"readStreamToLocalFile");Ii.fsStat=gOe.default.promisify(qS.default.stat);Ii.fsCreateReadStream=qS.default.createReadStream});var ch=h(bi=>{"use strict";Object.defineProperty(bi,"__esModule",{value:!0});bi.PageBlobClient=bi.BlockBlobClient=bi.AppendBlobClient=bi.BlobClient=void 0;var oh=Pt(),ah=xc(),bn=ut(),yK=ut(),BOe=m3(),IOe=w3(),ht=jn(),Ze=hS(),zS=v3(),vt=Fs(),bOe=mK(),Xr=gK(),QOe=If(),CK=fK(),wOe=jn(),We=Wr(),se=Uo(),U=In(),rh=HS(),th=Rf(),NOe=Df(),tl=class t extends QOe.StorageClient{static{o(this,"BlobClient")}blobContext;_name;_containerName;_versionId;_snapshot;get name(){return this._name}get containerName(){return this._containerName}constructor(e,r,n,i){i=i||{};let s,a;if((0,vt.isPipelineLike)(r))a=e,s=r;else if(bn.isNodeLike&&r instanceof ht.StorageSharedKeyCredential||r instanceof ht.AnonymousCredential||(0,ah.isTokenCredential)(r))a=e,i=n,s=(0,vt.newPipeline)(r,i);else if(!r&&typeof r!="string")a=e,n&&typeof n!="string"&&(i=n),s=(0,vt.newPipeline)(new ht.AnonymousCredential,i);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,A=(0,U.extractConnectionStringParts)(e);if(A.kind==="AccountConnString")if(bn.isNodeLike){let u=new ht.StorageSharedKeyCredential(A.accountName,A.accountKey);a=(0,U.appendToURLPath)((0,U.appendToURLPath)(A.url,encodeURIComponent(c)),encodeURIComponent(l)),i.proxyOptions||(i.proxyOptions=(0,oh.getDefaultProxySettings)(A.proxyUri)),s=(0,vt.newPipeline)(u,i)}else throw new Error("Account connection string is only supported in Node.js environment");else if(A.kind==="SASConnString")a=(0,U.appendToURLPath)((0,U.appendToURLPath)(A.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+A.accountSas,s=(0,vt.newPipeline)(new ht.AnonymousCredential,i);else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}else throw new Error("Expecting non-empty strings for containerName and blobName parameters");super(a,s),{blobName:this._name,containerName:this._containerName}=this.getBlobAndContainerNamesFromUrl(),this.blobContext=this.storageClientContext.blob,this._snapshot=(0,U.getURLParameter)(this.url,We.URLConstants.Parameters.SNAPSHOT),this._versionId=(0,U.getURLParameter)(this.url,We.URLConstants.Parameters.VERSIONID)}withSnapshot(e){return new t((0,U.setURLParameter)(this.url,We.URLConstants.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}withVersion(e){return new t((0,U.setURLParameter)(this.url,We.URLConstants.Parameters.VERSIONID,e.length===0?void 0:e),this.pipeline)}getAppendBlobClient(){return new nh(this.url,this.pipeline)}getBlockBlobClient(){return new ih(this.url,this.pipeline)}getPageBlobClient(){return new sh(this.url,this.pipeline)}async download(e=0,r,n={}){return n.conditions=n.conditions||{},n.conditions=n.conditions||{},(0,Ze.ensureCpkIfSpecified)(n.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("BlobClient-download",n,async i=>{let s=(0,U.assertResponse)(await this.blobContext.download({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onDownloadProgress:bn.isNodeLike?void 0:n.onProgress},range:e===0&&!r?void 0:(0,Xr.rangeToString)({offset:e,count:r}),rangeGetContentMD5:n.rangeGetContentMD5,rangeGetContentCRC64:n.rangeGetContentCrc64,snapshot:n.snapshot,cpkInfo:n.customerProvidedKey,tracingOptions:i.tracingOptions})),a={...s,_response:s._response,objectReplicationDestinationPolicyId:s.objectReplicationPolicyId,objectReplicationSourceProperties:(0,U.parseObjectReplicationRecord)(s.objectReplicationRules)};if(!bn.isNodeLike)return a;if((n.maxRetryRequests===void 0||n.maxRetryRequests<0)&&(n.maxRetryRequests=We.DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS),s.contentLength===void 0)throw new RangeError("File download response doesn't contain valid content length header");if(!s.etag)throw new RangeError("File download response doesn't contain valid etag header");return new BOe.BlobDownloadResponse(a,async c=>{let l={leaseAccessConditions:n.conditions,modifiedAccessConditions:{ifMatch:n.conditions.ifMatch||s.etag,ifModifiedSince:n.conditions.ifModifiedSince,ifNoneMatch:n.conditions.ifNoneMatch,ifUnmodifiedSince:n.conditions.ifUnmodifiedSince,ifTags:n.conditions?.tagConditions},range:(0,Xr.rangeToString)({count:e+s.contentLength-c,offset:c}),rangeGetContentMD5:n.rangeGetContentMD5,rangeGetContentCRC64:n.rangeGetContentCrc64,snapshot:n.snapshot,cpkInfo:n.customerProvidedKey};return(await this.blobContext.download({abortSignal:n.abortSignal,...l})).readableStreamBody},e,s.contentLength,{maxRetryRequests:n.maxRetryRequests,onProgress:n.onProgress})})}async exists(e={}){return se.tracingClient.withSpan("BlobClient-exists",e,async r=>{try{return(0,Ze.ensureCpkIfSpecified)(e.customerProvidedKey,this.isHttps),await this.getProperties({abortSignal:e.abortSignal,customerProvidedKey:e.customerProvidedKey,conditions:e.conditions,tracingOptions:r.tracingOptions}),!0}catch(n){if(n.statusCode===404)return!1;if(n.statusCode===409&&(n.details.errorCode===We.BlobUsesCustomerSpecifiedEncryptionMsg||n.details.errorCode===We.BlobDoesNotUseCustomerSpecifiedEncryption))return!0;throw n}})}async getProperties(e={}){return e.conditions=e.conditions||{},(0,Ze.ensureCpkIfSpecified)(e.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("BlobClient-getProperties",e,async r=>{let n=(0,U.assertResponse)(await this.blobContext.getProperties({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,tracingOptions:r.tracingOptions}));return{...n,_response:n._response,objectReplicationDestinationPolicyId:n.objectReplicationPolicyId,objectReplicationSourceProperties:(0,U.parseObjectReplicationRecord)(n.objectReplicationRules)}})}async delete(e={}){return e.conditions=e.conditions||{},se.tracingClient.withSpan("BlobClient-delete",e,async r=>(0,U.assertResponse)(await this.blobContext.delete({abortSignal:e.abortSignal,deleteSnapshots:e.deleteSnapshots,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}async deleteIfExists(e={}){return se.tracingClient.withSpan("BlobClient-deleteIfExists",e,async r=>{try{let n=(0,U.assertResponse)(await this.delete(r));return{succeeded:!0,...n,_response:n._response}}catch(n){if(n.details?.errorCode==="BlobNotFound")return{succeeded:!1,...n.response?.parsedHeaders,_response:n.response};throw n}})}async undelete(e={}){return se.tracingClient.withSpan("BlobClient-undelete",e,async r=>(0,U.assertResponse)(await this.blobContext.undelete({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}async setHTTPHeaders(e,r={}){return r.conditions=r.conditions||{},(0,Ze.ensureCpkIfSpecified)(r.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("BlobClient-setHTTPHeaders",r,async n=>(0,U.assertResponse)(await this.blobContext.setHttpHeaders({abortSignal:r.abortSignal,blobHttpHeaders:e,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions})))}async setMetadata(e,r={}){return r.conditions=r.conditions||{},(0,Ze.ensureCpkIfSpecified)(r.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("BlobClient-setMetadata",r,async n=>(0,U.assertResponse)(await this.blobContext.setMetadata({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,metadata:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,tracingOptions:n.tracingOptions})))}async setTags(e,r={}){return se.tracingClient.withSpan("BlobClient-setTags",r,async n=>(0,U.assertResponse)(await this.blobContext.setTags({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},blobModifiedAccessConditions:r.conditions,tracingOptions:n.tracingOptions,tags:(0,U.toBlobTags)(e)})))}async getTags(e={}){return se.tracingClient.withSpan("BlobClient-getTags",e,async r=>{let n=(0,U.assertResponse)(await this.blobContext.getTags({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},blobModifiedAccessConditions:e.conditions,tracingOptions:r.tracingOptions}));return{...n,_response:n._response,tags:(0,U.toTags)({blobTagSet:n.blobTagSet})||{}}})}getBlobLeaseClient(e){return new NOe.BlobLeaseClient(this,e)}async createSnapshot(e={}){return e.conditions=e.conditions||{},(0,Ze.ensureCpkIfSpecified)(e.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("BlobClient-createSnapshot",e,async r=>(0,U.assertResponse)(await this.blobContext.createSnapshot({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,tracingOptions:r.tracingOptions})))}async beginCopyFromURL(e,r={}){let n={abortCopyFromURL:(...s)=>this.abortCopyFromURL(...s),getProperties:(...s)=>this.getProperties(...s),startCopyFromURL:(...s)=>this.startCopyFromURL(...s)},i=new bOe.BlobBeginCopyFromUrlPoller({blobClient:n,copySource:e,intervalInMs:r.intervalInMs,onProgress:r.onProgress,resumeFrom:r.resumeFrom,startCopyFromURLOptions:r});return await i.poll(),i}async abortCopyFromURL(e,r={}){return se.tracingClient.withSpan("BlobClient-abortCopyFromURL",r,async n=>(0,U.assertResponse)(await this.blobContext.abortCopyFromURL(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,tracingOptions:n.tracingOptions})))}async syncCopyFromURL(e,r={}){return r.conditions=r.conditions||{},r.sourceConditions=r.sourceConditions||{},se.tracingClient.withSpan("BlobClient-syncCopyFromURL",r,async n=>(0,U.assertResponse)(await this.blobContext.copyFromURL(e,{abortSignal:r.abortSignal,metadata:r.metadata,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:r.sourceConditions?.ifMatch,sourceIfModifiedSince:r.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:r.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:r.sourceConditions?.ifUnmodifiedSince},sourceContentMD5:r.sourceContentMD5,copySourceAuthorization:(0,U.httpAuthorizationToString)(r.sourceAuthorization),tier:(0,Ze.toAccessTier)(r.tier),blobTagsString:(0,U.toBlobTagsString)(r.tags),immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,encryptionScope:r.encryptionScope,copySourceTags:r.copySourceTags,fileRequestIntent:r.sourceShareTokenIntent,tracingOptions:n.tracingOptions})))}async setAccessTier(e,r={}){return se.tracingClient.withSpan("BlobClient-setAccessTier",r,async n=>(0,U.assertResponse)(await this.blobContext.setTier((0,Ze.toAccessTier)(e),{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},rehydratePriority:r.rehydratePriority,tracingOptions:n.tracingOptions})))}async downloadToBuffer(e,r,n,i={}){let s,a=0,c=0,l=i;e instanceof Buffer?(s=e,a=r||0,c=typeof n=="number"?n:0):(a=typeof e=="number"?e:0,c=typeof r=="number"?r:0,l=n||{});let A=l.blockSize??0;if(A<0)throw new RangeError("blockSize option must be >= 0");if(A===0&&(A=We.DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES),a<0)throw new RangeError("offset option must be >= 0");if(c&&c<=0)throw new RangeError("count option must be greater than 0");return l.conditions||(l.conditions={}),se.tracingClient.withSpan("BlobClient-downloadToBuffer",l,async u=>{if(!c){let f=await this.getProperties({...l,tracingOptions:u.tracingOptions});if(c=f.contentLength-a,c<0)throw new RangeError(`offset ${a} shouldn't be larger than blob size ${f.contentLength}`)}if(!s)try{s=Buffer.alloc(c)}catch(f){throw new Error(`Unable to allocate the buffer of size: ${c}(in bytes). Please try passing your own buffer to the "downloadToBuffer" method or try using other methods like "download" or "downloadToFile". ${f.message}`)}if(s.length{let C=a+c;f+A{let a=await this.download(r,n,{...i,tracingOptions:s.tracingOptions});return a.readableStreamBody&&await(0,rh.readStreamToLocalFile)(a.readableStreamBody,e),a.blobDownloadStream=void 0,a})}getBlobAndContainerNamesFromUrl(){let e,r;try{let n=new URL(this.url);if(n.host.split(".")[1]==="blob"){let i=n.pathname.match("/([^/]*)(/(.*))?");e=i[1],r=i[3]}else if((0,U.isIpEndpointStyle)(n)){let i=n.pathname.match("/([^/]*)/([^/]*)(/(.*))?");e=i[2],r=i[4]}else{let i=n.pathname.match("/([^/]*)(/(.*))?");e=i[1],r=i[3]}if(e=decodeURIComponent(e),r=decodeURIComponent(r),r=r.replace(/\\/g,"/"),!e)throw new Error("Provided containerName is invalid.");return{blobName:r,containerName:e}}catch{throw new Error("Unable to extract blobName and containerName with provided information.")}}async startCopyFromURL(e,r={}){return se.tracingClient.withSpan("BlobClient-startCopyFromURL",r,async n=>(r.conditions=r.conditions||{},r.sourceConditions=r.sourceConditions||{},(0,U.assertResponse)(await this.blobContext.startCopyFromURL(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,metadata:r.metadata,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:r.sourceConditions.ifMatch,sourceIfModifiedSince:r.sourceConditions.ifModifiedSince,sourceIfNoneMatch:r.sourceConditions.ifNoneMatch,sourceIfUnmodifiedSince:r.sourceConditions.ifUnmodifiedSince,sourceIfTags:r.sourceConditions.tagConditions},immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,rehydratePriority:r.rehydratePriority,tier:(0,Ze.toAccessTier)(r.tier),blobTagsString:(0,U.toBlobTagsString)(r.tags),sealBlob:r.sealBlob,tracingOptions:n.tracingOptions}))))}generateSasUrl(e){return new Promise(r=>{if(!(this.credential instanceof ht.StorageSharedKeyCredential))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");let n=(0,th.generateBlobSASQueryParameters)({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).toString();r((0,U.appendToURLQuery)(this.url,n))})}generateSasStringToSign(e){if(!(this.credential instanceof ht.StorageSharedKeyCredential))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");return(0,th.generateBlobSASQueryParametersInternal)({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).stringToSign}generateUserDelegationSasUrl(e,r){return new Promise(n=>{let i=(0,th.generateBlobSASQueryParameters)({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},r,this.accountName).toString();n((0,U.appendToURLQuery)(this.url,i))})}generateUserDelegationSasStringToSign(e,r){return(0,th.generateBlobSASQueryParametersInternal)({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},r,this.accountName).stringToSign}async deleteImmutabilityPolicy(e={}){return se.tracingClient.withSpan("BlobClient-deleteImmutabilityPolicy",e,async r=>(0,U.assertResponse)(await this.blobContext.deleteImmutabilityPolicy({tracingOptions:r.tracingOptions})))}async setImmutabilityPolicy(e,r={}){return se.tracingClient.withSpan("BlobClient-setImmutabilityPolicy",r,async n=>(0,U.assertResponse)(await this.blobContext.setImmutabilityPolicy({immutabilityPolicyExpiry:e.expiriesOn,immutabilityPolicyMode:e.policyMode,tracingOptions:n.tracingOptions})))}async setLegalHold(e,r={}){return se.tracingClient.withSpan("BlobClient-setLegalHold",r,async n=>(0,U.assertResponse)(await this.blobContext.setLegalHold(e,{tracingOptions:n.tracingOptions})))}async getAccountInfo(e={}){return se.tracingClient.withSpan("BlobClient-getAccountInfo",e,async r=>(0,U.assertResponse)(await this.blobContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}};bi.BlobClient=tl;var nh=class t extends tl{static{o(this,"AppendBlobClient")}appendBlobContext;constructor(e,r,n,i){let s,a;if(i=i||{},(0,vt.isPipelineLike)(r))a=e,s=r;else if(bn.isNodeLike&&r instanceof ht.StorageSharedKeyCredential||r instanceof ht.AnonymousCredential||(0,ah.isTokenCredential)(r))a=e,i=n,s=(0,vt.newPipeline)(r,i);else if(!r&&typeof r!="string")a=e,s=(0,vt.newPipeline)(new ht.AnonymousCredential,i);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,A=(0,U.extractConnectionStringParts)(e);if(A.kind==="AccountConnString")if(bn.isNodeLike){let u=new ht.StorageSharedKeyCredential(A.accountName,A.accountKey);a=(0,U.appendToURLPath)((0,U.appendToURLPath)(A.url,encodeURIComponent(c)),encodeURIComponent(l)),i.proxyOptions||(i.proxyOptions=(0,oh.getDefaultProxySettings)(A.proxyUri)),s=(0,vt.newPipeline)(u,i)}else throw new Error("Account connection string is only supported in Node.js environment");else if(A.kind==="SASConnString")a=(0,U.appendToURLPath)((0,U.appendToURLPath)(A.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+A.accountSas,s=(0,vt.newPipeline)(new ht.AnonymousCredential,i);else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}else throw new Error("Expecting non-empty strings for containerName and blobName parameters");super(a,s),this.appendBlobContext=this.storageClientContext.appendBlob}withSnapshot(e){return new t((0,U.setURLParameter)(this.url,We.URLConstants.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async create(e={}){return e.conditions=e.conditions||{},(0,Ze.ensureCpkIfSpecified)(e.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("AppendBlobClient-create",e,async r=>(0,U.assertResponse)(await this.appendBlobContext.create(0,{abortSignal:e.abortSignal,blobHttpHeaders:e.blobHTTPHeaders,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,immutabilityPolicyExpiry:e.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:e.immutabilityPolicy?.policyMode,legalHold:e.legalHold,blobTagsString:(0,U.toBlobTagsString)(e.tags),tracingOptions:r.tracingOptions})))}async createIfNotExists(e={}){let r={ifNoneMatch:We.ETagAny};return se.tracingClient.withSpan("AppendBlobClient-createIfNotExists",e,async n=>{try{let i=(0,U.assertResponse)(await this.create({...n,conditions:r}));return{succeeded:!0,...i,_response:i._response}}catch(i){if(i.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...i.response?.parsedHeaders,_response:i.response};throw i}})}async seal(e={}){return e.conditions=e.conditions||{},se.tracingClient.withSpan("AppendBlobClient-seal",e,async r=>(0,U.assertResponse)(await this.appendBlobContext.seal({abortSignal:e.abortSignal,appendPositionAccessConditions:e.conditions,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}async appendBlock(e,r,n={}){return n.conditions=n.conditions||{},(0,Ze.ensureCpkIfSpecified)(n.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("AppendBlobClient-appendBlock",n,async i=>(0,U.assertResponse)(await this.appendBlobContext.appendBlock(r,e,{abortSignal:n.abortSignal,appendPositionAccessConditions:n.conditions,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onUploadProgress:n.onProgress},transactionalContentMD5:n.transactionalContentMD5,transactionalContentCrc64:n.transactionalContentCrc64,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,tracingOptions:i.tracingOptions})))}async appendBlockFromURL(e,r,n,i={}){return i.conditions=i.conditions||{},i.sourceConditions=i.sourceConditions||{},(0,Ze.ensureCpkIfSpecified)(i.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("AppendBlobClient-appendBlockFromURL",i,async s=>(0,U.assertResponse)(await this.appendBlobContext.appendBlockFromUrl(e,0,{abortSignal:i.abortSignal,sourceRange:(0,Xr.rangeToString)({offset:r,count:n}),sourceContentMD5:i.sourceContentMD5,sourceContentCrc64:i.sourceContentCrc64,leaseAccessConditions:i.conditions,appendPositionAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:i.sourceConditions?.ifMatch,sourceIfModifiedSince:i.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:i.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:i.sourceConditions?.ifUnmodifiedSince},copySourceAuthorization:(0,U.httpAuthorizationToString)(i.sourceAuthorization),cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:s.tracingOptions})))}};bi.AppendBlobClient=nh;var ih=class t extends tl{static{o(this,"BlockBlobClient")}_blobContext;blockBlobContext;constructor(e,r,n,i){let s,a;if(i=i||{},(0,vt.isPipelineLike)(r))a=e,s=r;else if(bn.isNodeLike&&r instanceof ht.StorageSharedKeyCredential||r instanceof ht.AnonymousCredential||(0,ah.isTokenCredential)(r))a=e,i=n,s=(0,vt.newPipeline)(r,i);else if(!r&&typeof r!="string")a=e,n&&typeof n!="string"&&(i=n),s=(0,vt.newPipeline)(new ht.AnonymousCredential,i);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,A=(0,U.extractConnectionStringParts)(e);if(A.kind==="AccountConnString")if(bn.isNodeLike){let u=new ht.StorageSharedKeyCredential(A.accountName,A.accountKey);a=(0,U.appendToURLPath)((0,U.appendToURLPath)(A.url,encodeURIComponent(c)),encodeURIComponent(l)),i.proxyOptions||(i.proxyOptions=(0,oh.getDefaultProxySettings)(A.proxyUri)),s=(0,vt.newPipeline)(u,i)}else throw new Error("Account connection string is only supported in Node.js environment");else if(A.kind==="SASConnString")a=(0,U.appendToURLPath)((0,U.appendToURLPath)(A.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+A.accountSas,s=(0,vt.newPipeline)(new ht.AnonymousCredential,i);else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}else throw new Error("Expecting non-empty strings for containerName and blobName parameters");super(a,s),this.blockBlobContext=this.storageClientContext.blockBlob,this._blobContext=this.storageClientContext.blob}withSnapshot(e){return new t((0,U.setURLParameter)(this.url,We.URLConstants.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async query(e,r={}){if((0,Ze.ensureCpkIfSpecified)(r.customerProvidedKey,this.isHttps),!bn.isNodeLike)throw new Error("This operation currently is only supported in Node.js.");return se.tracingClient.withSpan("BlockBlobClient-query",r,async n=>{let i=(0,U.assertResponse)(await this._blobContext.query({abortSignal:r.abortSignal,queryRequest:{queryType:"SQL",expression:e,inputSerialization:(0,U.toQuerySerialization)(r.inputTextConfiguration),outputSerialization:(0,U.toQuerySerialization)(r.outputTextConfiguration)},leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,tracingOptions:n.tracingOptions}));return new IOe.BlobQueryResponse(i,{abortSignal:r.abortSignal,onProgress:r.onProgress,onError:r.onError})})}async upload(e,r,n={}){return n.conditions=n.conditions||{},(0,Ze.ensureCpkIfSpecified)(n.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("BlockBlobClient-upload",n,async i=>(0,U.assertResponse)(await this.blockBlobContext.upload(r,e,{abortSignal:n.abortSignal,blobHttpHeaders:n.blobHTTPHeaders,leaseAccessConditions:n.conditions,metadata:n.metadata,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onUploadProgress:n.onProgress},cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,immutabilityPolicyExpiry:n.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:n.immutabilityPolicy?.policyMode,legalHold:n.legalHold,tier:(0,Ze.toAccessTier)(n.tier),blobTagsString:(0,U.toBlobTagsString)(n.tags),tracingOptions:i.tracingOptions})))}async syncUploadFromURL(e,r={}){return r.conditions=r.conditions||{},(0,Ze.ensureCpkIfSpecified)(r.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("BlockBlobClient-syncUploadFromURL",r,async n=>(0,U.assertResponse)(await this.blockBlobContext.putBlobFromUrl(0,e,{...r,blobHttpHeaders:r.blobHTTPHeaders,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:r.sourceConditions?.ifMatch,sourceIfModifiedSince:r.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:r.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:r.sourceConditions?.ifUnmodifiedSince,sourceIfTags:r.sourceConditions?.tagConditions},cpkInfo:r.customerProvidedKey,copySourceAuthorization:(0,U.httpAuthorizationToString)(r.sourceAuthorization),tier:(0,Ze.toAccessTier)(r.tier),blobTagsString:(0,U.toBlobTagsString)(r.tags),copySourceTags:r.copySourceTags,fileRequestIntent:r.sourceShareTokenIntent,tracingOptions:n.tracingOptions})))}async stageBlock(e,r,n,i={}){return(0,Ze.ensureCpkIfSpecified)(i.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("BlockBlobClient-stageBlock",i,async s=>(0,U.assertResponse)(await this.blockBlobContext.stageBlock(e,n,r,{abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,requestOptions:{onUploadProgress:i.onProgress},transactionalContentMD5:i.transactionalContentMD5,transactionalContentCrc64:i.transactionalContentCrc64,cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,tracingOptions:s.tracingOptions})))}async stageBlockFromURL(e,r,n=0,i,s={}){return(0,Ze.ensureCpkIfSpecified)(s.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("BlockBlobClient-stageBlockFromURL",s,async a=>(0,U.assertResponse)(await this.blockBlobContext.stageBlockFromURL(e,0,r,{abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,sourceContentMD5:s.sourceContentMD5,sourceContentCrc64:s.sourceContentCrc64,sourceRange:n===0&&!i?void 0:(0,Xr.rangeToString)({offset:n,count:i}),cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,copySourceAuthorization:(0,U.httpAuthorizationToString)(s.sourceAuthorization),fileRequestIntent:s.sourceShareTokenIntent,tracingOptions:a.tracingOptions})))}async commitBlockList(e,r={}){return r.conditions=r.conditions||{},(0,Ze.ensureCpkIfSpecified)(r.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("BlockBlobClient-commitBlockList",r,async n=>(0,U.assertResponse)(await this.blockBlobContext.commitBlockList({latest:e},{abortSignal:r.abortSignal,blobHttpHeaders:r.blobHTTPHeaders,leaseAccessConditions:r.conditions,metadata:r.metadata,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,tier:(0,Ze.toAccessTier)(r.tier),blobTagsString:(0,U.toBlobTagsString)(r.tags),tracingOptions:n.tracingOptions})))}async getBlockList(e,r={}){return se.tracingClient.withSpan("BlockBlobClient-getBlockList",r,async n=>{let i=(0,U.assertResponse)(await this.blockBlobContext.getBlockList(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions}));return i.committedBlocks||(i.committedBlocks=[]),i.uncommittedBlocks||(i.uncommittedBlocks=[]),i})}async uploadData(e,r={}){return se.tracingClient.withSpan("BlockBlobClient-uploadData",r,async n=>{if(bn.isNodeLike){let i;return e instanceof Buffer?i=e:e instanceof ArrayBuffer?i=Buffer.from(e):(e=e,i=Buffer.from(e.buffer,e.byteOffset,e.byteLength)),this.uploadSeekableInternal((s,a)=>i.slice(s,s+a),i.byteLength,n)}else{let i=new Blob([e]);return this.uploadSeekableInternal((s,a)=>i.slice(s,s+a),i.size,n)}})}async uploadBrowserData(e,r={}){return se.tracingClient.withSpan("BlockBlobClient-uploadBrowserData",r,async n=>{let i=new Blob([e]);return this.uploadSeekableInternal((s,a)=>i.slice(s,s+a),i.size,n)})}async uploadSeekableInternal(e,r,n={}){let i=n.blockSize??0;if(i<0||i>We.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES)throw new RangeError(`blockSize option must be >= 0 and <= ${We.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES}`);let s=n.maxSingleShotSize??We.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES;if(s<0||s>We.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES)throw new RangeError(`maxSingleShotSize option must be >= 0 and <= ${We.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES}`);if(i===0){if(r>We.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES*We.BLOCK_BLOB_MAX_BLOCKS)throw new RangeError(`${r} is too larger to upload to a block blob.`);r>s&&(i=Math.ceil(r/We.BLOCK_BLOB_MAX_BLOCKS),i{if(r<=s)return(0,U.assertResponse)(await this.upload(e(0,r),r,a));let c=Math.floor((r-1)/i)+1;if(c>We.BLOCK_BLOB_MAX_BLOCKS)throw new RangeError(`The buffer's size is too big or the BlockSize is too small;the number of blocks must be <= ${We.BLOCK_BLOB_MAX_BLOCKS}`);let l=[],A=(0,yK.randomUUID)(),u=0,d=new CK.Batch(n.concurrency);for(let g=0;g{let f=(0,U.generateBlockID)(A,g),C=i*g,x=(g===c-1?r:C+i)-C;l.push(f),await this.stageBlock(f,e(C,x),x,{abortSignal:n.abortSignal,conditions:n.conditions,encryptionScope:n.encryptionScope,tracingOptions:a.tracingOptions}),u+=x,n.onProgress&&n.onProgress({loadedBytes:u})});return await d.do(),this.commitBlockList(l,a)})}async uploadFile(e,r={}){return se.tracingClient.withSpan("BlockBlobClient-uploadFile",r,async n=>{let i=(await(0,rh.fsStat)(e)).size;return this.uploadSeekableInternal((s,a)=>()=>(0,rh.fsCreateReadStream)(e,{autoClose:!0,end:a?s+a-1:1/0,start:s}),i,{...r,tracingOptions:n.tracingOptions})})}async uploadStream(e,r=We.DEFAULT_BLOCK_BUFFER_SIZE_BYTES,n=5,i={}){return i.blobHTTPHeaders||(i.blobHTTPHeaders={}),i.conditions||(i.conditions={}),se.tracingClient.withSpan("BlockBlobClient-uploadStream",i,async s=>{let a=0,c=(0,yK.randomUUID)(),l=0,A=[];return await new wOe.BufferScheduler(e,r,n,async(d,g)=>{let f=(0,U.generateBlockID)(c,a);A.push(f),a++,await this.stageBlock(f,d,g,{customerProvidedKey:i.customerProvidedKey,conditions:i.conditions,encryptionScope:i.encryptionScope,tracingOptions:s.tracingOptions}),l+=g,i.onProgress&&i.onProgress({loadedBytes:l})},Math.ceil(n/4*3)).do(),(0,U.assertResponse)(await this.commitBlockList(A,{...i,tracingOptions:s.tracingOptions}))})}};bi.BlockBlobClient=ih;var sh=class t extends tl{static{o(this,"PageBlobClient")}pageBlobContext;constructor(e,r,n,i){let s,a;if(i=i||{},(0,vt.isPipelineLike)(r))a=e,s=r;else if(bn.isNodeLike&&r instanceof ht.StorageSharedKeyCredential||r instanceof ht.AnonymousCredential||(0,ah.isTokenCredential)(r))a=e,i=n,s=(0,vt.newPipeline)(r,i);else if(!r&&typeof r!="string")a=e,s=(0,vt.newPipeline)(new ht.AnonymousCredential,i);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,A=(0,U.extractConnectionStringParts)(e);if(A.kind==="AccountConnString")if(bn.isNodeLike){let u=new ht.StorageSharedKeyCredential(A.accountName,A.accountKey);a=(0,U.appendToURLPath)((0,U.appendToURLPath)(A.url,encodeURIComponent(c)),encodeURIComponent(l)),i.proxyOptions||(i.proxyOptions=(0,oh.getDefaultProxySettings)(A.proxyUri)),s=(0,vt.newPipeline)(u,i)}else throw new Error("Account connection string is only supported in Node.js environment");else if(A.kind==="SASConnString")a=(0,U.appendToURLPath)((0,U.appendToURLPath)(A.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+A.accountSas,s=(0,vt.newPipeline)(new ht.AnonymousCredential,i);else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}else throw new Error("Expecting non-empty strings for containerName and blobName parameters");super(a,s),this.pageBlobContext=this.storageClientContext.pageBlob}withSnapshot(e){return new t((0,U.setURLParameter)(this.url,We.URLConstants.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async create(e,r={}){return r.conditions=r.conditions||{},(0,Ze.ensureCpkIfSpecified)(r.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("PageBlobClient-create",r,async n=>(0,U.assertResponse)(await this.pageBlobContext.create(0,e,{abortSignal:r.abortSignal,blobHttpHeaders:r.blobHTTPHeaders,blobSequenceNumber:r.blobSequenceNumber,leaseAccessConditions:r.conditions,metadata:r.metadata,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,tier:(0,Ze.toAccessTier)(r.tier),blobTagsString:(0,U.toBlobTagsString)(r.tags),tracingOptions:n.tracingOptions})))}async createIfNotExists(e,r={}){return se.tracingClient.withSpan("PageBlobClient-createIfNotExists",r,async n=>{try{let i={ifNoneMatch:We.ETagAny},s=(0,U.assertResponse)(await this.create(e,{...r,conditions:i,tracingOptions:n.tracingOptions}));return{succeeded:!0,...s,_response:s._response}}catch(i){if(i.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...i.response?.parsedHeaders,_response:i.response};throw i}})}async uploadPages(e,r,n,i={}){return i.conditions=i.conditions||{},(0,Ze.ensureCpkIfSpecified)(i.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("PageBlobClient-uploadPages",i,async s=>(0,U.assertResponse)(await this.pageBlobContext.uploadPages(n,e,{abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},requestOptions:{onUploadProgress:i.onProgress},range:(0,Xr.rangeToString)({offset:r,count:n}),sequenceNumberAccessConditions:i.conditions,transactionalContentMD5:i.transactionalContentMD5,transactionalContentCrc64:i.transactionalContentCrc64,cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,tracingOptions:s.tracingOptions})))}async uploadPagesFromURL(e,r,n,i,s={}){return s.conditions=s.conditions||{},s.sourceConditions=s.sourceConditions||{},(0,Ze.ensureCpkIfSpecified)(s.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("PageBlobClient-uploadPagesFromURL",s,async a=>(0,U.assertResponse)(await this.pageBlobContext.uploadPagesFromURL(e,(0,Xr.rangeToString)({offset:r,count:i}),0,(0,Xr.rangeToString)({offset:n,count:i}),{abortSignal:s.abortSignal,sourceContentMD5:s.sourceContentMD5,sourceContentCrc64:s.sourceContentCrc64,leaseAccessConditions:s.conditions,sequenceNumberAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:s.sourceConditions?.ifMatch,sourceIfModifiedSince:s.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:s.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:s.sourceConditions?.ifUnmodifiedSince},cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,copySourceAuthorization:(0,U.httpAuthorizationToString)(s.sourceAuthorization),fileRequestIntent:s.sourceShareTokenIntent,tracingOptions:a.tracingOptions})))}async clearPages(e=0,r,n={}){return n.conditions=n.conditions||{},se.tracingClient.withSpan("PageBlobClient-clearPages",n,async i=>(0,U.assertResponse)(await this.pageBlobContext.clearPages(0,{abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},range:(0,Xr.rangeToString)({offset:e,count:r}),sequenceNumberAccessConditions:n.conditions,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,tracingOptions:i.tracingOptions})))}async getPageRanges(e=0,r,n={}){return n.conditions=n.conditions||{},se.tracingClient.withSpan("PageBlobClient-getPageRanges",n,async i=>{let s=(0,U.assertResponse)(await this.pageBlobContext.getPageRanges({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},range:(0,Xr.rangeToString)({offset:e,count:r}),tracingOptions:i.tracingOptions}));return(0,zS.rangeResponseFromModel)(s)})}async listPageRangesSegment(e=0,r,n,i={}){return se.tracingClient.withSpan("PageBlobClient-getPageRangesSegment",i,async s=>(0,U.assertResponse)(await this.pageBlobContext.getPageRanges({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},range:(0,Xr.rangeToString)({offset:e,count:r}),marker:n,maxPageSize:i.maxPageSize,tracingOptions:s.tracingOptions})))}async*listPageRangeItemSegments(e=0,r,n,i={}){let s;if(n||n===void 0)do s=await this.listPageRangesSegment(e,r,n,i),n=s.continuationToken,yield await s;while(n)}async*listPageRangeItems(e=0,r,n={}){let i;for await(let s of this.listPageRangeItemSegments(e,r,i,n))yield*(0,U.ExtractPageRangeInfoItems)(s)}listPageRanges(e=0,r,n={}){n.conditions=n.conditions||{};let i=this.listPageRangeItems(e,r,n);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:(s={})=>this.listPageRangeItemSegments(e,r,s.continuationToken,{maxPageSize:s.maxPageSize,...n})}}async getPageRangesDiff(e,r,n,i={}){return i.conditions=i.conditions||{},se.tracingClient.withSpan("PageBlobClient-getPageRangesDiff",i,async s=>{let a=(0,U.assertResponse)(await this.pageBlobContext.getPageRangesDiff({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},prevsnapshot:n,range:(0,Xr.rangeToString)({offset:e,count:r}),tracingOptions:s.tracingOptions}));return(0,zS.rangeResponseFromModel)(a)})}async listPageRangesDiffSegment(e,r,n,i,s={}){return se.tracingClient.withSpan("PageBlobClient-getPageRangesDiffSegment",s,async a=>(0,U.assertResponse)(await this.pageBlobContext.getPageRangesDiff({abortSignal:s?.abortSignal,leaseAccessConditions:s?.conditions,modifiedAccessConditions:{...s?.conditions,ifTags:s?.conditions?.tagConditions},prevsnapshot:n,range:(0,Xr.rangeToString)({offset:e,count:r}),marker:i,maxPageSize:s?.maxPageSize,tracingOptions:a.tracingOptions})))}async*listPageRangeDiffItemSegments(e,r,n,i,s){let a;if(i||i===void 0)do a=await this.listPageRangesDiffSegment(e,r,n,i,s),i=a.continuationToken,yield await a;while(i)}async*listPageRangeDiffItems(e,r,n,i){let s;for await(let a of this.listPageRangeDiffItemSegments(e,r,n,s,i))yield*(0,U.ExtractPageRangeInfoItems)(a)}listPageRangesDiff(e,r,n,i={}){i.conditions=i.conditions||{};let s=this.listPageRangeDiffItems(e,r,n,{...i});return{next(){return s.next()},[Symbol.asyncIterator](){return this},byPage:(a={})=>this.listPageRangeDiffItemSegments(e,r,n,a.continuationToken,{maxPageSize:a.maxPageSize,...i})}}async getPageRangesDiffForManagedDisks(e,r,n,i={}){return i.conditions=i.conditions||{},se.tracingClient.withSpan("PageBlobClient-GetPageRangesDiffForManagedDisks",i,async s=>{let a=(0,U.assertResponse)(await this.pageBlobContext.getPageRangesDiff({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},prevSnapshotUrl:n,range:(0,Xr.rangeToString)({offset:e,count:r}),tracingOptions:s.tracingOptions}));return(0,zS.rangeResponseFromModel)(a)})}async resize(e,r={}){return r.conditions=r.conditions||{},se.tracingClient.withSpan("PageBlobClient-resize",r,async n=>(0,U.assertResponse)(await this.pageBlobContext.resize(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},encryptionScope:r.encryptionScope,tracingOptions:n.tracingOptions})))}async updateSequenceNumber(e,r,n={}){return n.conditions=n.conditions||{},se.tracingClient.withSpan("PageBlobClient-updateSequenceNumber",n,async i=>(0,U.assertResponse)(await this.pageBlobContext.updateSequenceNumber(e,{abortSignal:n.abortSignal,blobSequenceNumber:r,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},tracingOptions:i.tracingOptions})))}async startCopyIncremental(e,r={}){return se.tracingClient.withSpan("PageBlobClient-startCopyIncremental",r,async n=>(0,U.assertResponse)(await this.pageBlobContext.copyIncremental(e,{abortSignal:r.abortSignal,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions})))}};bi.PageBlobClient=sh});var jS=h(lh=>{"use strict";Object.defineProperty(lh,"__esModule",{value:!0});lh.getBodyAsText=vOe;lh.utf8ByteLength=ROe;var SOe=HS(),xOe=Wr();async function vOe(t){let e=Buffer.alloc(xOe.BATCH_MAX_PAYLOAD_IN_BYTES),r=await(0,SOe.streamToBuffer2)(t.readableStreamBody,e);return e=e.slice(0,r),e.toString()}o(vOe,"getBodyAsText");function ROe(t){return Buffer.byteLength(t)}o(ROe,"utf8ByteLength")});var IK=h(uh=>{"use strict";Object.defineProperty(uh,"__esModule",{value:!0});uh.BatchResponseParser=void 0;var _Oe=Pt(),POe=Og(),rl=Wr(),DOe=jS(),TOe=Lg(),Ah=": ",EK=" ",BK=-1,GS=class{static{o(this,"BatchResponseParser")}batchResponse;responseBatchBoundary;perResponsePrefix;batchResponseEnding;subRequests;constructor(e,r){if(!e||!e.contentType)throw new RangeError("batchResponse is malformed or doesn't contain valid content-type.");if(!r||r.size===0)throw new RangeError("Invalid state: subRequests is not provided or size is 0.");this.batchResponse=e,this.subRequests=r,this.responseBatchBoundary=this.batchResponse.contentType.split("=")[1],this.perResponsePrefix=`--${this.responseBatchBoundary}${rl.HTTP_LINE_ENDING}`,this.batchResponseEnding=`--${this.responseBatchBoundary}--`}async parseBatchResponse(){if(this.batchResponse._response.status!==rl.HTTPURLConnection.HTTP_ACCEPTED)throw new Error(`Invalid state: batch request failed with status: '${this.batchResponse._response.status}'.`);let r=(await(0,DOe.getBodyAsText)(this.batchResponse)).split(this.batchResponseEnding)[0].split(this.perResponsePrefix).slice(1),n=r.length;if(n!==this.subRequests.size&&n!==1)throw new Error("Invalid state: sub responses' count is not equal to sub requests' count.");let i=new Array(n),s=0,a=0;for(let c=0;c=0&&C{"use strict";Object.defineProperty(dh,"__esModule",{value:!0});dh.Mutex=void 0;var nl;(function(t){t[t.LOCKED=0]="LOCKED",t[t.UNLOCKED=1]="UNLOCKED"})(nl||(nl={}));var YS=class{static{o(this,"Mutex")}static async lock(e){return new Promise(r=>{this.keys[e]===void 0||this.keys[e]===nl.UNLOCKED?(this.keys[e]=nl.LOCKED,r()):this.onUnlockEvent(e,()=>{this.keys[e]=nl.LOCKED,r()})})}static async unlock(e){return new Promise(r=>{this.keys[e]===nl.LOCKED&&this.emitUnlockEvent(e),delete this.keys[e],r()})}static keys={};static listeners={};static onUnlockEvent(e,r){this.listeners[e]===void 0?this.listeners[e]=[r]:this.listeners[e].push(r)}static emitUnlockEvent(e){if(this.listeners[e]!==void 0&&this.listeners[e].length>0){let r=this.listeners[e].shift();setImmediate(()=>{r.call(this)})}}};dh.Mutex=YS});var XS=h(mh=>{"use strict";Object.defineProperty(mh,"__esModule",{value:!0});mh.BlobBatch=void 0;var OOe=ut(),JS=xc(),VS=Pt(),QK=ut(),il=jn(),ph=ch(),wK=bK(),MOe=Fs(),WS=In(),kOe=JN(),pr=Wr(),NK=Uo(),SK=mi(),KS=class{static{o(this,"BlobBatch")}batchRequest;batch="batch";batchType;constructor(){this.batchRequest=new $S}getMultiPartContentType(){return this.batchRequest.getMultipartContentType()}getHttpRequestBody(){return this.batchRequest.getHttpRequestBody()}getSubRequests(){return this.batchRequest.getSubRequests()}async addSubRequestInternal(e,r){await wK.Mutex.lock(this.batch);try{this.batchRequest.preAddSubRequest(e),await r(),this.batchRequest.postAddSubRequest(e)}finally{await wK.Mutex.unlock(this.batch)}}setBatchType(e){if(this.batchType||(this.batchType=e),this.batchType!==e)throw new RangeError(`BlobBatch only supports one operation type per batch and it already is being used for ${this.batchType} operations.`)}async deleteBlob(e,r,n){let i,s;if(typeof e=="string"&&(QK.isNodeLike&&r instanceof il.StorageSharedKeyCredential||r instanceof il.AnonymousCredential||(0,JS.isTokenCredential)(r)))i=e,s=r;else if(e instanceof ph.BlobClient)i=e.url,s=e.credential,n=r;else throw new RangeError("Invalid arguments. Either url and credential, or BlobClient need be provided.");return n||(n={}),NK.tracingClient.withSpan("BatchDeleteRequest-addSubRequest",n,async a=>{this.setBatchType("delete"),await this.addSubRequestInternal({url:i,credential:s},async()=>{await new ph.BlobClient(i,this.batchRequest.createPipeline(s)).delete(a)})})}async setBlobAccessTier(e,r,n,i){let s,a,c;if(typeof e=="string"&&(QK.isNodeLike&&r instanceof il.StorageSharedKeyCredential||r instanceof il.AnonymousCredential||(0,JS.isTokenCredential)(r)))s=e,a=r,c=n;else if(e instanceof ph.BlobClient)s=e.url,a=e.credential,c=r,i=n;else throw new RangeError("Invalid arguments. Either url and credential, or BlobClient need be provided.");return i||(i={}),NK.tracingClient.withSpan("BatchSetTierRequest-addSubRequest",i,async l=>{this.setBatchType("setAccessTier"),await this.addSubRequestInternal({url:s,credential:a},async()=>{await new ph.BlobClient(s,this.batchRequest.createPipeline(a)).setAccessTier(c,l)})})}};mh.BlobBatch=KS;var $S=class{static{o(this,"InnerBatchRequest")}operationCount;body;subRequests;boundary;subRequestPrefix;multipartContentType;batchRequestEnding;constructor(){this.operationCount=0,this.body="";let e=(0,OOe.randomUUID)();this.boundary=`batch_${e}`,this.subRequestPrefix=`--${this.boundary}${pr.HTTP_LINE_ENDING}${pr.HeaderConstants.CONTENT_TYPE}: application/http${pr.HTTP_LINE_ENDING}${pr.HeaderConstants.CONTENT_TRANSFER_ENCODING}: binary`,this.multipartContentType=`multipart/mixed; boundary=${this.boundary}`,this.batchRequestEnding=`--${this.boundary}--`,this.subRequests=new Map}createPipeline(e){let r=(0,VS.createEmptyPipeline)();r.addPolicy((0,SK.serializationPolicy)({stringifyXML:kOe.stringifyXML,serializerOptions:{xml:{xmlCharKey:"#"}}}),{phase:"Serialize"}),r.addPolicy(FOe()),r.addPolicy(LOe(this),{afterPhase:"Sign"}),(0,JS.isTokenCredential)(e)?r.addPolicy((0,VS.bearerTokenAuthenticationPolicy)({credential:e,scopes:pr.StorageOAuthScopes,challengeCallbacks:{authorizeRequestOnChallenge:SK.authorizeRequestOnTenantChallenge}}),{phase:"Sign"}):e instanceof il.StorageSharedKeyCredential&&r.addPolicy((0,il.storageSharedKeyCredentialPolicy)({accountName:e.accountName,accountKey:e.accountKey}),{phase:"Sign"});let n=new MOe.Pipeline([]);return n._credential=e,n._corePipeline=r,n}appendSubRequestToBody(e){this.body+=[this.subRequestPrefix,`${pr.HeaderConstants.CONTENT_ID}: ${this.operationCount}`,"",`${e.method.toString()} ${(0,WS.getURLPathAndQuery)(e.url)} ${pr.HTTP_VERSION_1_1}${pr.HTTP_LINE_ENDING}`].join(pr.HTTP_LINE_ENDING);for(let[r,n]of e.headers)this.body+=`${r}: ${n}${pr.HTTP_LINE_ENDING}`;this.body+=pr.HTTP_LINE_ENDING}preAddSubRequest(e){if(this.operationCount>=pr.BATCH_MAX_REQUEST)throw new RangeError(`Cannot exceed ${pr.BATCH_MAX_REQUEST} sub requests in a single batch`);let r=(0,WS.getURLPath)(e.url);if(!r||r==="")throw new RangeError(`Invalid url for sub request: '${e.url}'`)}postAddSubRequest(e){this.subRequests.set(this.operationCount,e),this.operationCount++}getHttpRequestBody(){return`${this.body}${this.batchRequestEnding}${pr.HTTP_LINE_ENDING}`}getMultipartContentType(){return this.multipartContentType}getSubRequests(){return this.subRequests}};function LOe(t){return{name:"batchRequestAssemblePolicy",async sendRequest(e){return t.appendSubRequestToBody(e),{request:e,status:200,headers:(0,VS.createHttpHeaders)()}}}}o(LOe,"batchRequestAssemblePolicy");function FOe(){return{name:"batchHeaderFilterPolicy",async sendRequest(t,e){let r="";for(let[n]of t.headers)(0,WS.iEqual)(n,pr.HeaderConstants.X_MS_VERSION)&&(r=n);return r!==""&&t.headers.delete(r),e(t)}}}o(FOe,"batchHeaderFilterPolicy")});var hh=h(fh=>{"use strict";Object.defineProperty(fh,"__esModule",{value:!0});fh.BlobBatchClient=void 0;var UOe=IK(),qOe=jS(),ZS=XS(),HOe=Uo(),zOe=jn(),jOe=Y0(),gh=Fs(),xK=In(),ex=class{static{o(this,"BlobBatchClient")}serviceOrContainerContext;constructor(e,r,n){let i;(0,gh.isPipelineLike)(r)?i=r:r?i=(0,gh.newPipeline)(r,n):i=(0,gh.newPipeline)(new zOe.AnonymousCredential,n);let s=new jOe.StorageContextClient(e,(0,gh.getCoreClientOptions)(i)),a=(0,xK.getURLPath)(e);a&&a!=="/"?this.serviceOrContainerContext=s.container:this.serviceOrContainerContext=s.service}createBatch(){return new ZS.BlobBatch}async deleteBlobs(e,r,n){let i=new ZS.BlobBatch;for(let s of e)typeof s=="string"?await i.deleteBlob(s,r,n):await i.deleteBlob(s,r);return this.submitBatch(i)}async setBlobsAccessTier(e,r,n,i){let s=new ZS.BlobBatch;for(let a of e)typeof a=="string"?await s.setBlobAccessTier(a,r,n,i):await s.setBlobAccessTier(a,r,n);return this.submitBatch(s)}async submitBatch(e,r={}){if(!e||e.getSubRequests().size===0)throw new RangeError("Batch request should contain one or more sub requests.");return HOe.tracingClient.withSpan("BlobBatchClient-submitBatch",r,async n=>{let i=e.getHttpRequestBody(),s=(0,xK.assertResponse)(await this.serviceOrContainerContext.submitBatch((0,qOe.utf8ByteLength)(i),e.getMultiPartContentType(),i,{...n})),c=await new UOe.BatchResponseParser(s,e.getSubRequests()).parseBatchResponse();return{_response:s._response,contentType:s.contentType,errorCode:s.errorCode,requestId:s.requestId,clientRequestId:s.clientRequestId,version:s.version,subResponses:c.subResponses,subResponsesSucceededCount:c.subResponsesSucceededCount,subResponsesFailedCount:c.subResponsesFailedCount}})}};fh.BlobBatchClient=ex});var rx=h(Eh=>{"use strict";Object.defineProperty(Eh,"__esModule",{value:!0});Eh.ContainerClient=void 0;var GOe=Pt(),vK=ut(),YOe=xc(),Ko=jn(),Qu=Fs(),JOe=If(),mr=Uo(),Se=In(),yh=Rf(),VOe=Df(),Ch=ch(),WOe=hh(),tx=class extends JOe.StorageClient{static{o(this,"ContainerClient")}containerContext;_containerName;get containerName(){return this._containerName}constructor(e,r,n){let i,s;if(n=n||{},(0,Qu.isPipelineLike)(r))s=e,i=r;else if(vK.isNodeLike&&r instanceof Ko.StorageSharedKeyCredential||r instanceof Ko.AnonymousCredential||(0,YOe.isTokenCredential)(r))s=e,i=(0,Qu.newPipeline)(r,n);else if(!r&&typeof r!="string")s=e,i=(0,Qu.newPipeline)(new Ko.AnonymousCredential,n);else if(r&&typeof r=="string"){let a=r,c=(0,Se.extractConnectionStringParts)(e);if(c.kind==="AccountConnString")if(vK.isNodeLike){let l=new Ko.StorageSharedKeyCredential(c.accountName,c.accountKey);s=(0,Se.appendToURLPath)(c.url,encodeURIComponent(a)),n.proxyOptions||(n.proxyOptions=(0,GOe.getDefaultProxySettings)(c.proxyUri)),i=(0,Qu.newPipeline)(l,n)}else throw new Error("Account connection string is only supported in Node.js environment");else if(c.kind==="SASConnString")s=(0,Se.appendToURLPath)(c.url,encodeURIComponent(a))+"?"+c.accountSas,i=(0,Qu.newPipeline)(new Ko.AnonymousCredential,n);else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}else throw new Error("Expecting non-empty strings for containerName parameter");super(s,i),this._containerName=this.getContainerNameFromUrl(),this.containerContext=this.storageClientContext.container}async create(e={}){return mr.tracingClient.withSpan("ContainerClient-create",e,async r=>(0,Se.assertResponse)(await this.containerContext.create(r)))}async createIfNotExists(e={}){return mr.tracingClient.withSpan("ContainerClient-createIfNotExists",e,async r=>{try{let n=await this.create(r);return{succeeded:!0,...n,_response:n._response}}catch(n){if(n.details?.errorCode==="ContainerAlreadyExists")return{succeeded:!1,...n.response?.parsedHeaders,_response:n.response};throw n}})}async exists(e={}){return mr.tracingClient.withSpan("ContainerClient-exists",e,async r=>{try{return await this.getProperties({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions}),!0}catch(n){if(n.statusCode===404)return!1;throw n}})}getBlobClient(e){return new Ch.BlobClient((0,Se.appendToURLPath)(this.url,(0,Se.EscapePath)(e)),this.pipeline)}getAppendBlobClient(e){return new Ch.AppendBlobClient((0,Se.appendToURLPath)(this.url,(0,Se.EscapePath)(e)),this.pipeline)}getBlockBlobClient(e){return new Ch.BlockBlobClient((0,Se.appendToURLPath)(this.url,(0,Se.EscapePath)(e)),this.pipeline)}getPageBlobClient(e){return new Ch.PageBlobClient((0,Se.appendToURLPath)(this.url,(0,Se.EscapePath)(e)),this.pipeline)}async getProperties(e={}){return e.conditions||(e.conditions={}),mr.tracingClient.withSpan("ContainerClient-getProperties",e,async r=>(0,Se.assertResponse)(await this.containerContext.getProperties({abortSignal:e.abortSignal,...e.conditions,tracingOptions:r.tracingOptions})))}async delete(e={}){return e.conditions||(e.conditions={}),mr.tracingClient.withSpan("ContainerClient-delete",e,async r=>(0,Se.assertResponse)(await this.containerContext.delete({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:e.conditions,tracingOptions:r.tracingOptions})))}async deleteIfExists(e={}){return mr.tracingClient.withSpan("ContainerClient-deleteIfExists",e,async r=>{try{let n=await this.delete(r);return{succeeded:!0,...n,_response:n._response}}catch(n){if(n.details?.errorCode==="ContainerNotFound")return{succeeded:!1,...n.response?.parsedHeaders,_response:n.response};throw n}})}async setMetadata(e,r={}){if(r.conditions||(r.conditions={}),r.conditions.ifUnmodifiedSince)throw new RangeError("the IfUnmodifiedSince must have their default values because they are ignored by the blob service");return mr.tracingClient.withSpan("ContainerClient-setMetadata",r,async n=>(0,Se.assertResponse)(await this.containerContext.setMetadata({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,metadata:e,modifiedAccessConditions:r.conditions,tracingOptions:n.tracingOptions})))}async getAccessPolicy(e={}){return e.conditions||(e.conditions={}),mr.tracingClient.withSpan("ContainerClient-getAccessPolicy",e,async r=>{let n=(0,Se.assertResponse)(await this.containerContext.getAccessPolicy({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,tracingOptions:r.tracingOptions})),i={_response:n._response,blobPublicAccess:n.blobPublicAccess,date:n.date,etag:n.etag,errorCode:n.errorCode,lastModified:n.lastModified,requestId:n.requestId,clientRequestId:n.clientRequestId,signedIdentifiers:[],version:n.version};for(let s of n){let a;s.accessPolicy&&(a={permissions:s.accessPolicy.permissions},s.accessPolicy.expiresOn&&(a.expiresOn=new Date(s.accessPolicy.expiresOn)),s.accessPolicy.startsOn&&(a.startsOn=new Date(s.accessPolicy.startsOn))),i.signedIdentifiers.push({accessPolicy:a,id:s.id})}return i})}async setAccessPolicy(e,r,n={}){return n.conditions=n.conditions||{},mr.tracingClient.withSpan("ContainerClient-setAccessPolicy",n,async i=>{let s=[];for(let a of r||[])s.push({accessPolicy:{expiresOn:a.accessPolicy.expiresOn?(0,Se.truncatedISO8061Date)(a.accessPolicy.expiresOn):"",permissions:a.accessPolicy.permissions,startsOn:a.accessPolicy.startsOn?(0,Se.truncatedISO8061Date)(a.accessPolicy.startsOn):""},id:a.id});return(0,Se.assertResponse)(await this.containerContext.setAccessPolicy({abortSignal:n.abortSignal,access:e,containerAcl:s,leaseAccessConditions:n.conditions,modifiedAccessConditions:n.conditions,tracingOptions:i.tracingOptions}))})}getBlobLeaseClient(e){return new VOe.BlobLeaseClient(this,e)}async uploadBlockBlob(e,r,n,i={}){return mr.tracingClient.withSpan("ContainerClient-uploadBlockBlob",i,async s=>{let a=this.getBlockBlobClient(e),c=await a.upload(r,n,s);return{blockBlobClient:a,response:c}})}async deleteBlob(e,r={}){return mr.tracingClient.withSpan("ContainerClient-deleteBlob",r,async n=>{let i=this.getBlobClient(e);return r.versionId&&(i=i.withVersion(r.versionId)),i.delete(n)})}async listBlobFlatSegment(e,r={}){return mr.tracingClient.withSpan("ContainerClient-listBlobFlatSegment",r,async n=>{let i=(0,Se.assertResponse)(await this.containerContext.listBlobFlatSegment({marker:e,...r,tracingOptions:n.tracingOptions}));return{...i,_response:{...i._response,parsedBody:(0,Se.ConvertInternalResponseOfListBlobFlat)(i._response.parsedBody)},segment:{...i.segment,blobItems:i.segment.blobItems.map(a=>({...a,name:(0,Se.BlobNameToString)(a.name),tags:(0,Se.toTags)(a.blobTags),objectReplicationSourceProperties:(0,Se.parseObjectReplicationRecord)(a.objectReplicationMetadata)}))}}})}async listBlobHierarchySegment(e,r,n={}){return mr.tracingClient.withSpan("ContainerClient-listBlobHierarchySegment",n,async i=>{let s=(0,Se.assertResponse)(await this.containerContext.listBlobHierarchySegment(e,{marker:r,...n,tracingOptions:i.tracingOptions}));return{...s,_response:{...s._response,parsedBody:(0,Se.ConvertInternalResponseOfListBlobHierarchy)(s._response.parsedBody)},segment:{...s.segment,blobItems:s.segment.blobItems.map(c=>({...c,name:(0,Se.BlobNameToString)(c.name),tags:(0,Se.toTags)(c.blobTags),objectReplicationSourceProperties:(0,Se.parseObjectReplicationRecord)(c.objectReplicationMetadata)})),blobPrefixes:s.segment.blobPrefixes?.map(c=>({...c,name:(0,Se.BlobNameToString)(c.name)}))}}})}async*listSegments(e,r={}){let n;if(e||e===void 0)do n=await this.listBlobFlatSegment(e,r),e=n.continuationToken,yield await n;while(e)}async*listItems(e={}){let r;for await(let n of this.listSegments(r,e))yield*n.segment.blobItems}listBlobsFlat(e={}){let r=[];e.includeCopy&&r.push("copy"),e.includeDeleted&&r.push("deleted"),e.includeMetadata&&r.push("metadata"),e.includeSnapshots&&r.push("snapshots"),e.includeVersions&&r.push("versions"),e.includeUncommitedBlobs&&r.push("uncommittedblobs"),e.includeTags&&r.push("tags"),e.includeDeletedWithVersions&&r.push("deletedwithversions"),e.includeImmutabilityPolicy&&r.push("immutabilitypolicy"),e.includeLegalHold&&r.push("legalhold"),e.prefix===""&&(e.prefix=void 0);let n={...e,...r.length>0?{include:r}:{}},i=this.listItems(n);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:(s={})=>this.listSegments(s.continuationToken,{maxPageSize:s.maxPageSize,...n})}}async*listHierarchySegments(e,r,n={}){let i;if(r||r===void 0)do i=await this.listBlobHierarchySegment(e,r,n),r=i.continuationToken,yield await i;while(r)}async*listItemsByHierarchy(e,r={}){let n;for await(let i of this.listHierarchySegments(e,n,r)){let s=i.segment;if(s.blobPrefixes)for(let a of s.blobPrefixes)yield{kind:"prefix",...a};for(let a of s.blobItems)yield{kind:"blob",...a}}}listBlobsByHierarchy(e,r={}){if(e==="")throw new RangeError("delimiter should contain one or more characters");let n=[];r.includeCopy&&n.push("copy"),r.includeDeleted&&n.push("deleted"),r.includeMetadata&&n.push("metadata"),r.includeSnapshots&&n.push("snapshots"),r.includeVersions&&n.push("versions"),r.includeUncommitedBlobs&&n.push("uncommittedblobs"),r.includeTags&&n.push("tags"),r.includeDeletedWithVersions&&n.push("deletedwithversions"),r.includeImmutabilityPolicy&&n.push("immutabilitypolicy"),r.includeLegalHold&&n.push("legalhold"),r.prefix===""&&(r.prefix=void 0);let i={...r,...n.length>0?{include:n}:{}},s=this.listItemsByHierarchy(e,i);return{async next(){return s.next()},[Symbol.asyncIterator](){return this},byPage:(a={})=>this.listHierarchySegments(e,a.continuationToken,{maxPageSize:a.maxPageSize,...i})}}async findBlobsByTagsSegment(e,r,n={}){return mr.tracingClient.withSpan("ContainerClient-findBlobsByTagsSegment",n,async i=>{let s=(0,Se.assertResponse)(await this.containerContext.filterBlobs({abortSignal:n.abortSignal,where:e,marker:r,maxPageSize:n.maxPageSize,tracingOptions:i.tracingOptions}));return{...s,_response:s._response,blobs:s.blobs.map(c=>{let l="";return c.tags?.blobTagSet.length===1&&(l=c.tags.blobTagSet[0].value),{...c,tags:(0,Se.toTags)(c.tags),tagValue:l}})}})}async*findBlobsByTagsSegments(e,r,n={}){let i;if(r||r===void 0)do i=await this.findBlobsByTagsSegment(e,r,n),i.blobs=i.blobs||[],r=i.continuationToken,yield i;while(r)}async*findBlobsByTagsItems(e,r={}){let n;for await(let i of this.findBlobsByTagsSegments(e,n,r))yield*i.blobs}findBlobsByTags(e,r={}){let n={...r},i=this.findBlobsByTagsItems(e,n);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:(s={})=>this.findBlobsByTagsSegments(e,s.continuationToken,{maxPageSize:s.maxPageSize,...n})}}async getAccountInfo(e={}){return mr.tracingClient.withSpan("ContainerClient-getAccountInfo",e,async r=>(0,Se.assertResponse)(await this.containerContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}getContainerNameFromUrl(){let e;try{let r=new URL(this.url);if(r.hostname.split(".")[1]==="blob"?e=r.pathname.split("/")[1]:(0,Se.isIpEndpointStyle)(r)?e=r.pathname.split("/")[2]:e=r.pathname.split("/")[1],e=decodeURIComponent(e),!e)throw new Error("Provided containerName is invalid.");return e}catch{throw new Error("Unable to extract containerName with provided information.")}}generateSasUrl(e){return new Promise(r=>{if(!(this.credential instanceof Ko.StorageSharedKeyCredential))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");let n=(0,yh.generateBlobSASQueryParameters)({containerName:this._containerName,...e},this.credential).toString();r((0,Se.appendToURLQuery)(this.url,n))})}generateSasStringToSign(e){if(!(this.credential instanceof Ko.StorageSharedKeyCredential))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");return(0,yh.generateBlobSASQueryParametersInternal)({containerName:this._containerName,...e},this.credential).stringToSign}generateUserDelegationSasUrl(e,r){return new Promise(n=>{let i=(0,yh.generateBlobSASQueryParameters)({containerName:this._containerName,...e},r,this.accountName).toString();n((0,Se.appendToURLQuery)(this.url,i))})}generateUserDelegationSasStringToSign(e,r){return(0,yh.generateBlobSASQueryParametersInternal)({containerName:this._containerName,...e},r,this.accountName).stringToSign}getBlobBatchClient(){return new WOe.BlobBatchClient(this.url,this.pipeline)}};Eh.ContainerClient=tx});var Ih=h(Bh=>{"use strict";Object.defineProperty(Bh,"__esModule",{value:!0});Bh.AccountSASPermissions=void 0;var nx=class t{static{o(this,"AccountSASPermissions")}static parse(e){let r=new t;for(let n of e)switch(n){case"r":r.read=!0;break;case"w":r.write=!0;break;case"d":r.delete=!0;break;case"x":r.deleteVersion=!0;break;case"l":r.list=!0;break;case"a":r.add=!0;break;case"c":r.create=!0;break;case"u":r.update=!0;break;case"p":r.process=!0;break;case"t":r.tag=!0;break;case"f":r.filter=!0;break;case"i":r.setImmutabilityPolicy=!0;break;case"y":r.permanentDelete=!0;break;default:throw new RangeError(`Invalid permission character: ${n}`)}return r}static from(e){let r=new t;return e.read&&(r.read=!0),e.write&&(r.write=!0),e.delete&&(r.delete=!0),e.deleteVersion&&(r.deleteVersion=!0),e.filter&&(r.filter=!0),e.tag&&(r.tag=!0),e.list&&(r.list=!0),e.add&&(r.add=!0),e.create&&(r.create=!0),e.update&&(r.update=!0),e.process&&(r.process=!0),e.setImmutabilityPolicy&&(r.setImmutabilityPolicy=!0),e.permanentDelete&&(r.permanentDelete=!0),r}read=!1;write=!1;delete=!1;deleteVersion=!1;list=!1;add=!1;create=!1;update=!1;process=!1;tag=!1;filter=!1;setImmutabilityPolicy=!1;permanentDelete=!1;toString(){let e=[];return this.read&&e.push("r"),this.write&&e.push("w"),this.delete&&e.push("d"),this.deleteVersion&&e.push("x"),this.filter&&e.push("f"),this.tag&&e.push("t"),this.list&&e.push("l"),this.add&&e.push("a"),this.create&&e.push("c"),this.update&&e.push("u"),this.process&&e.push("p"),this.setImmutabilityPolicy&&e.push("i"),this.permanentDelete&&e.push("y"),e.join("")}};Bh.AccountSASPermissions=nx});var sx=h(bh=>{"use strict";Object.defineProperty(bh,"__esModule",{value:!0});bh.AccountSASResourceTypes=void 0;var ix=class t{static{o(this,"AccountSASResourceTypes")}static parse(e){let r=new t;for(let n of e)switch(n){case"s":r.service=!0;break;case"c":r.container=!0;break;case"o":r.object=!0;break;default:throw new RangeError(`Invalid resource type: ${n}`)}return r}service=!1;container=!1;object=!1;toString(){let e=[];return this.service&&e.push("s"),this.container&&e.push("c"),this.object&&e.push("o"),e.join("")}};bh.AccountSASResourceTypes=ix});var wh=h(Qh=>{"use strict";Object.defineProperty(Qh,"__esModule",{value:!0});Qh.AccountSASServices=void 0;var ox=class t{static{o(this,"AccountSASServices")}static parse(e){let r=new t;for(let n of e)switch(n){case"b":r.blob=!0;break;case"f":r.file=!0;break;case"q":r.queue=!0;break;case"t":r.table=!0;break;default:throw new RangeError(`Invalid service character: ${n}`)}return r}blob=!1;file=!1;queue=!1;table=!1;toString(){let e=[];return this.blob&&e.push("b"),this.table&&e.push("t"),this.queue&&e.push("q"),this.file&&e.push("f"),e.join("")}};Qh.AccountSASServices=ox});var ax=h(Sh=>{"use strict";Object.defineProperty(Sh,"__esModule",{value:!0});Sh.generateAccountSASQueryParameters=tMe;Sh.generateAccountSASQueryParametersInternal=_K;var KOe=Ih(),$Oe=sx(),XOe=wh(),RK=Nf(),ZOe=xf(),eMe=Wr(),Nh=In();function tMe(t,e){return _K(t,e).sasQueryParameters}o(tMe,"generateAccountSASQueryParameters");function _K(t,e){let r=t.version?t.version:eMe.SERVICE_VERSION;if(t.permissions&&t.permissions.setImmutabilityPolicy&&r<"2020-08-04")throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.");if(t.permissions&&t.permissions.deleteVersion&&r<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when provided 'x' permission.");if(t.permissions&&t.permissions.permanentDelete&&r<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when provided 'y' permission.");if(t.permissions&&t.permissions.tag&&r<"2019-12-12")throw RangeError("'version' must be >= '2019-12-12' when provided 't' permission.");if(t.permissions&&t.permissions.filter&&r<"2019-12-12")throw RangeError("'version' must be >= '2019-12-12' when provided 'f' permission.");if(t.encryptionScope&&r<"2020-12-06")throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.");let n=KOe.AccountSASPermissions.parse(t.permissions.toString()),i=XOe.AccountSASServices.parse(t.services).toString(),s=$Oe.AccountSASResourceTypes.parse(t.resourceTypes).toString(),a;r>="2020-12-06"?a=[e.accountName,n,i,s,t.startsOn?(0,Nh.truncatedISO8061Date)(t.startsOn,!1):"",(0,Nh.truncatedISO8061Date)(t.expiresOn,!1),t.ipRange?(0,RK.ipRangeToString)(t.ipRange):"",t.protocol?t.protocol:"",r,t.encryptionScope?t.encryptionScope:"",""].join(` -`):a=[e.accountName,n,i,s,t.startsOn?(0,Nh.truncatedISO8061Date)(t.startsOn,!1):"",(0,Nh.truncatedISO8061Date)(t.expiresOn,!1),t.ipRange?(0,RK.ipRangeToString)(t.ipRange):"",t.protocol?t.protocol:"",r,""].join(` -`);let c=e.computeHMACSHA256(a);return{sasQueryParameters:new ZOe.SASQueryParameters(r,c,n.toString(),i,s,t.protocol,t.startsOn,t.expiresOn,t.ipRange,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,t.encryptionScope),stringToSign:a}}o(_K,"generateAccountSASQueryParametersInternal")});var MK=h(vh=>{"use strict";Object.defineProperty(vh,"__esModule",{value:!0});vh.BlobServiceClient=void 0;var rMe=xc(),nMe=Pt(),PK=ut(),wu=Fs(),iMe=rx(),xh=In(),$o=jn(),Qi=In(),wi=Uo(),sMe=hh(),oMe=If(),DK=Ih(),TK=ax(),OK=wh(),cx=class t extends oMe.StorageClient{static{o(this,"BlobServiceClient")}serviceContext;static fromConnectionString(e,r){r=r||{};let n=(0,xh.extractConnectionStringParts)(e);if(n.kind==="AccountConnString")if(PK.isNodeLike){let i=new $o.StorageSharedKeyCredential(n.accountName,n.accountKey);r.proxyOptions||(r.proxyOptions=(0,nMe.getDefaultProxySettings)(n.proxyUri));let s=(0,wu.newPipeline)(i,r);return new t(n.url,s)}else throw new Error("Account connection string is only supported in Node.js environment");else if(n.kind==="SASConnString"){let i=(0,wu.newPipeline)(new $o.AnonymousCredential,r);return new t(n.url+"?"+n.accountSas,i)}else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}constructor(e,r,n){let i;(0,wu.isPipelineLike)(r)?i=r:PK.isNodeLike&&r instanceof $o.StorageSharedKeyCredential||r instanceof $o.AnonymousCredential||(0,rMe.isTokenCredential)(r)?i=(0,wu.newPipeline)(r,n):i=(0,wu.newPipeline)(new $o.AnonymousCredential,n),super(e,i),this.serviceContext=this.storageClientContext.service}getContainerClient(e){return new iMe.ContainerClient((0,xh.appendToURLPath)(this.url,encodeURIComponent(e)),this.pipeline)}async createContainer(e,r={}){return wi.tracingClient.withSpan("BlobServiceClient-createContainer",r,async n=>{let i=this.getContainerClient(e),s=await i.create(n);return{containerClient:i,containerCreateResponse:s}})}async deleteContainer(e,r={}){return wi.tracingClient.withSpan("BlobServiceClient-deleteContainer",r,async n=>this.getContainerClient(e).delete(n))}async undeleteContainer(e,r,n={}){return wi.tracingClient.withSpan("BlobServiceClient-undeleteContainer",n,async i=>{let s=this.getContainerClient(n.destinationContainerName||e),a=s.storageClientContext.container,c=(0,Qi.assertResponse)(await a.restore({deletedContainerName:e,deletedContainerVersion:r,tracingOptions:i.tracingOptions}));return{containerClient:s,containerUndeleteResponse:c}})}async getProperties(e={}){return wi.tracingClient.withSpan("BlobServiceClient-getProperties",e,async r=>(0,Qi.assertResponse)(await this.serviceContext.getProperties({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}async setProperties(e,r={}){return wi.tracingClient.withSpan("BlobServiceClient-setProperties",r,async n=>(0,Qi.assertResponse)(await this.serviceContext.setProperties(e,{abortSignal:r.abortSignal,tracingOptions:n.tracingOptions})))}async getStatistics(e={}){return wi.tracingClient.withSpan("BlobServiceClient-getStatistics",e,async r=>(0,Qi.assertResponse)(await this.serviceContext.getStatistics({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}async getAccountInfo(e={}){return wi.tracingClient.withSpan("BlobServiceClient-getAccountInfo",e,async r=>(0,Qi.assertResponse)(await this.serviceContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}async listContainersSegment(e,r={}){return wi.tracingClient.withSpan("BlobServiceClient-listContainersSegment",r,async n=>(0,Qi.assertResponse)(await this.serviceContext.listContainersSegment({abortSignal:r.abortSignal,marker:e,...r,include:typeof r.include=="string"?[r.include]:r.include,tracingOptions:n.tracingOptions})))}async findBlobsByTagsSegment(e,r,n={}){return wi.tracingClient.withSpan("BlobServiceClient-findBlobsByTagsSegment",n,async i=>{let s=(0,Qi.assertResponse)(await this.serviceContext.filterBlobs({abortSignal:n.abortSignal,where:e,marker:r,maxPageSize:n.maxPageSize,tracingOptions:i.tracingOptions}));return{...s,_response:s._response,blobs:s.blobs.map(c=>{let l="";return c.tags?.blobTagSet.length===1&&(l=c.tags.blobTagSet[0].value),{...c,tags:(0,xh.toTags)(c.tags),tagValue:l}})}})}async*findBlobsByTagsSegments(e,r,n={}){let i;if(r||r===void 0)do i=await this.findBlobsByTagsSegment(e,r,n),i.blobs=i.blobs||[],r=i.continuationToken,yield i;while(r)}async*findBlobsByTagsItems(e,r={}){let n;for await(let i of this.findBlobsByTagsSegments(e,n,r))yield*i.blobs}findBlobsByTags(e,r={}){let n={...r},i=this.findBlobsByTagsItems(e,n);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:(s={})=>this.findBlobsByTagsSegments(e,s.continuationToken,{maxPageSize:s.maxPageSize,...n})}}async*listSegments(e,r={}){let n;if(e||e===void 0)do n=await this.listContainersSegment(e,r),n.containerItems=n.containerItems||[],e=n.continuationToken,yield await n;while(e)}async*listItems(e={}){let r;for await(let n of this.listSegments(r,e))yield*n.containerItems}listContainers(e={}){e.prefix===""&&(e.prefix=void 0);let r=[];e.includeDeleted&&r.push("deleted"),e.includeMetadata&&r.push("metadata"),e.includeSystem&&r.push("system");let n={...e,...r.length>0?{include:r}:{}},i=this.listItems(n);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:(s={})=>this.listSegments(s.continuationToken,{maxPageSize:s.maxPageSize,...n})}}async getUserDelegationKey(e,r,n={}){return wi.tracingClient.withSpan("BlobServiceClient-getUserDelegationKey",n,async i=>{let s=(0,Qi.assertResponse)(await this.serviceContext.getUserDelegationKey({startsOn:(0,Qi.truncatedISO8061Date)(e,!1),expiresOn:(0,Qi.truncatedISO8061Date)(r,!1)},{abortSignal:n.abortSignal,tracingOptions:i.tracingOptions})),a={signedObjectId:s.signedObjectId,signedTenantId:s.signedTenantId,signedStartsOn:new Date(s.signedStartsOn),signedExpiresOn:new Date(s.signedExpiresOn),signedService:s.signedService,signedVersion:s.signedVersion,value:s.value};return{_response:s._response,requestId:s.requestId,clientRequestId:s.clientRequestId,version:s.version,date:s.date,errorCode:s.errorCode,...a}})}getBlobBatchClient(){return new sMe.BlobBatchClient(this.url,this.pipeline)}generateAccountSasUrl(e,r=DK.AccountSASPermissions.parse("r"),n="sco",i={}){if(!(this.credential instanceof $o.StorageSharedKeyCredential))throw RangeError("Can only generate the account SAS when the client is initialized with a shared key credential");if(e===void 0){let a=new Date;e=new Date(a.getTime()+3600*1e3)}let s=(0,TK.generateAccountSASQueryParameters)({permissions:r,expiresOn:e,resourceTypes:n,services:OK.AccountSASServices.parse("b").toString(),...i},this.credential).toString();return(0,xh.appendToURLQuery)(this.url,s)}generateSasStringToSign(e,r=DK.AccountSASPermissions.parse("r"),n="sco",i={}){if(!(this.credential instanceof $o.StorageSharedKeyCredential))throw RangeError("Can only generate the account SAS when the client is initialized with a shared key credential");if(e===void 0){let s=new Date;e=new Date(s.getTime()+3600*1e3)}return(0,TK.generateAccountSASQueryParametersInternal)({permissions:r,expiresOn:e,resourceTypes:n,services:OK.AccountSASServices.parse("b").toString(),...i},this.credential).stringToSign}};vh.BlobServiceClient=cx});var LK=h(kK=>{"use strict";Object.defineProperty(kK,"__esModule",{value:!0})});var UK=h(Rh=>{"use strict";Object.defineProperty(Rh,"__esModule",{value:!0});Rh.KnownEncryptionAlgorithmType=void 0;var FK;(function(t){t.AES256="AES256"})(FK||(Rh.KnownEncryptionAlgorithmType=FK={}))});var lx=h(V=>{"use strict";Object.defineProperty(V,"__esModule",{value:!0});V.logger=V.RestError=V.StorageBrowserPolicyFactory=V.StorageBrowserPolicy=V.StorageSharedKeyCredentialPolicy=V.StorageSharedKeyCredential=V.StorageRetryPolicyFactory=V.StorageRetryPolicy=V.StorageRetryPolicyType=V.Credential=V.CredentialPolicy=V.BaseRequestPolicy=V.AnonymousCredentialPolicy=V.AnonymousCredential=V.StorageOAuthScopes=V.newPipeline=V.isPipelineLike=V.Pipeline=V.getBlobServiceAccountAudience=V.StorageBlobAudience=V.PremiumPageBlobTier=V.BlockBlobTier=V.generateBlobSASQueryParameters=V.generateAccountSASQueryParameters=void 0;var vr=(Jr(),Wt(Yr)),aMe=Pt();Object.defineProperty(V,"RestError",{enumerable:!0,get:function(){return aMe.RestError}});vr.__exportStar(MK(),V);vr.__exportStar(ch(),V);vr.__exportStar(rx(),V);vr.__exportStar(Df(),V);vr.__exportStar(Ih(),V);vr.__exportStar(sx(),V);vr.__exportStar(wh(),V);var cMe=ax();Object.defineProperty(V,"generateAccountSASQueryParameters",{enumerable:!0,get:function(){return cMe.generateAccountSASQueryParameters}});vr.__exportStar(XS(),V);vr.__exportStar(hh(),V);vr.__exportStar(LK(),V);vr.__exportStar(W0(),V);var lMe=Rf();Object.defineProperty(V,"generateBlobSASQueryParameters",{enumerable:!0,get:function(){return lMe.generateBlobSASQueryParameters}});vr.__exportStar($0(),V);var _h=hS();Object.defineProperty(V,"BlockBlobTier",{enumerable:!0,get:function(){return _h.BlockBlobTier}});Object.defineProperty(V,"PremiumPageBlobTier",{enumerable:!0,get:function(){return _h.PremiumPageBlobTier}});Object.defineProperty(V,"StorageBlobAudience",{enumerable:!0,get:function(){return _h.StorageBlobAudience}});Object.defineProperty(V,"getBlobServiceAccountAudience",{enumerable:!0,get:function(){return _h.getBlobServiceAccountAudience}});var Ph=Fs();Object.defineProperty(V,"Pipeline",{enumerable:!0,get:function(){return Ph.Pipeline}});Object.defineProperty(V,"isPipelineLike",{enumerable:!0,get:function(){return Ph.isPipelineLike}});Object.defineProperty(V,"newPipeline",{enumerable:!0,get:function(){return Ph.newPipeline}});Object.defineProperty(V,"StorageOAuthScopes",{enumerable:!0,get:function(){return Ph.StorageOAuthScopes}});var Qn=jn();Object.defineProperty(V,"AnonymousCredential",{enumerable:!0,get:function(){return Qn.AnonymousCredential}});Object.defineProperty(V,"AnonymousCredentialPolicy",{enumerable:!0,get:function(){return Qn.AnonymousCredentialPolicy}});Object.defineProperty(V,"BaseRequestPolicy",{enumerable:!0,get:function(){return Qn.BaseRequestPolicy}});Object.defineProperty(V,"CredentialPolicy",{enumerable:!0,get:function(){return Qn.CredentialPolicy}});Object.defineProperty(V,"Credential",{enumerable:!0,get:function(){return Qn.Credential}});Object.defineProperty(V,"StorageRetryPolicyType",{enumerable:!0,get:function(){return Qn.StorageRetryPolicyType}});Object.defineProperty(V,"StorageRetryPolicy",{enumerable:!0,get:function(){return Qn.StorageRetryPolicy}});Object.defineProperty(V,"StorageRetryPolicyFactory",{enumerable:!0,get:function(){return Qn.StorageRetryPolicyFactory}});Object.defineProperty(V,"StorageSharedKeyCredential",{enumerable:!0,get:function(){return Qn.StorageSharedKeyCredential}});Object.defineProperty(V,"StorageSharedKeyCredentialPolicy",{enumerable:!0,get:function(){return Qn.StorageSharedKeyCredentialPolicy}});Object.defineProperty(V,"StorageBrowserPolicy",{enumerable:!0,get:function(){return Qn.StorageBrowserPolicy}});Object.defineProperty(V,"StorageBrowserPolicyFactory",{enumerable:!0,get:function(){return Qn.StorageBrowserPolicyFactory}});vr.__exportStar(xf(),V);vr.__exportStar(UK(),V);var AMe=Lg();Object.defineProperty(V,"logger",{enumerable:!0,get:function(){return AMe.logger}})});var gx=h(ar=>{"use strict";Object.defineProperty(ar,"__esModule",{value:!0});ar.RateLimitError=ar.UsageError=ar.NetworkError=ar.GHESNotSupportedError=ar.CacheNotFoundError=ar.InvalidResponseError=ar.FilesNotFoundError=void 0;var Ax=class extends Error{static{o(this,"FilesNotFoundError")}constructor(e=[]){let r="No files were found to upload";e.length>0&&(r+=`: ${e.join(", ")}`),super(r),this.files=e,this.name="FilesNotFoundError"}};ar.FilesNotFoundError=Ax;var ux=class extends Error{static{o(this,"InvalidResponseError")}constructor(e){super(e),this.name="InvalidResponseError"}};ar.InvalidResponseError=ux;var dx=class extends Error{static{o(this,"CacheNotFoundError")}constructor(e="Cache not found"){super(e),this.name="CacheNotFoundError"}};ar.CacheNotFoundError=dx;var px=class extends Error{static{o(this,"GHESNotSupportedError")}constructor(e="@actions/cache v4.1.4+, actions/cache/save@v4+ and actions/cache/restore@v4+ are not currently supported on GHES."){super(e),this.name="GHESNotSupportedError"}};ar.GHESNotSupportedError=px;var Dh=class extends Error{static{o(this,"NetworkError")}constructor(e){let r=`Unable to make request: ${e} -If you are using self-hosted runners, please make sure your runner has access to all GitHub endpoints: https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners#communication-between-self-hosted-runners-and-github`;super(r),this.code=e,this.name="NetworkError"}};ar.NetworkError=Dh;Dh.isNetworkErrorCode=t=>t?["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(t):!1;var Th=class extends Error{static{o(this,"UsageError")}constructor(){super(`Cache storage quota has been hit. Unable to upload any new cache entries. Usage is recalculated every 6-12 hours. -More info on storage limits: https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions#calculating-minute-and-storage-spending`),this.name="UsageError"}};ar.UsageError=Th;Th.isUsageErrorMessage=t=>t?t.includes("insufficient usage"):!1;var mx=class extends Error{static{o(this,"RateLimitError")}constructor(e){super(e),this.name="RateLimitError"}};ar.RateLimitError=mx});var qK=h(Zr=>{"use strict";var uMe=Zr&&Zr.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),dMe=Zr&&Zr.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),pMe=Zr&&Zr.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i{this.setSentBytes(e.loadedBytes)}}startDisplayTimer(e=1e3){let r=o(()=>{this.display(),this.isDone()||(this.timeoutHandle=setTimeout(r,e))},"displayCallback");this.timeoutHandle=setTimeout(r,e)}stopDisplayTimer(){this.timeoutHandle&&(clearTimeout(this.timeoutHandle),this.timeoutHandle=void 0),this.display()}};Zr.UploadProgress=Oh;function hMe(t,e,r){return mMe(this,void 0,void 0,function*(){var n;let i=new gMe.BlobClient(t),s=i.getBlockBlobClient(),a=new Oh((n=r?.archiveSizeBytes)!==null&&n!==void 0?n:0),c={blockSize:r?.uploadChunkSize,concurrency:r?.uploadConcurrency,maxSingleShotSize:128*1024*1024,onProgress:a.onProgress()};try{a.startDisplayTimer(),fx.debug(`BlobClient: ${i.name}:${i.accountName}:${i.containerName}`);let l=yield s.uploadFile(e,c);if(l._response.status>=400)throw new fMe.InvalidResponseError(`uploadCacheArchiveSDK: upload failed with status code ${l._response.status}`);return l}catch(l){throw fx.warning(`uploadCacheArchiveSDK: internal error uploading cache archive: ${l.message}`),l}finally{a.stopDisplayTimer()}})}o(hMe,"uploadCacheArchiveSDK")});var yx=h(cr=>{"use strict";var yMe=cr&&cr.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),CMe=cr&&cr.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),EMe=cr&&cr.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i=200&&t<300:!1}o(BMe,"isSuccessStatusCode");function zK(t){return t?t>=500:!0}o(zK,"isServerErrorStatusCode");function jK(t){return t?[Mh.HttpCodes.BadGateway,Mh.HttpCodes.ServiceUnavailable,Mh.HttpCodes.GatewayTimeout].includes(t):!1}o(jK,"isRetryableStatusCode");function IMe(t){return kh(this,void 0,void 0,function*(){return new Promise(e=>setTimeout(e,t))})}o(IMe,"sleep");function hx(t,e,r){return kh(this,arguments,void 0,function*(n,i,s,a=sl.DefaultRetryAttempts,c=sl.DefaultRetryDelay,l=void 0){let A="",u=1;for(;u<=a;){let d,g,f=!1;try{d=yield i()}catch(C){l&&(d=l(C)),f=!0,A=C.message}if(d&&(g=s(d),!zK(g)))return d;if(g&&(f=jK(g),A=`Cache service responded with ${g}`),HK.debug(`${n} - Attempt ${u} of ${a} failed with error: ${A}`),!f){HK.debug(`${n} - Error is not retryable`);break}yield IMe(c),u++}throw Error(`${n} failed: ${A}`)})}o(hx,"retry");function bMe(t,e){return kh(this,arguments,void 0,function*(r,n,i=sl.DefaultRetryAttempts,s=sl.DefaultRetryDelay){return yield hx(r,n,a=>a.statusCode,i,s,a=>{if(a instanceof Mh.HttpClientError)return{statusCode:a.statusCode,result:null,headers:{},error:a}})})}o(bMe,"retryTypedResponse");function QMe(t,e){return kh(this,arguments,void 0,function*(r,n,i=sl.DefaultRetryAttempts,s=sl.DefaultRetryDelay){return yield hx(r,n,a=>a.message.statusCode,i,s)})}o(QMe,"retryHttpClientResponse")});var WK=h(gr=>{"use strict";var wMe=gr&&gr.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),NMe=gr&&gr.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),ol=gr&&gr.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i{this.setReceivedBytes(e.loadedBytes)}}startDisplayTimer(e=1e3){let r=o(()=>{this.display(),this.isDone()||(this.timeoutHandle=setTimeout(r,e))},"displayCallback");this.timeoutHandle=setTimeout(r,e)}stopDisplayTimer(){this.timeoutHandle&&(clearTimeout(this.timeoutHandle),this.timeoutHandle=void 0),this.display()}};gr.DownloadProgress=xu;function JK(t,e){return wn(this,void 0,void 0,function*(){let r=Nu.createWriteStream(e),n=new YK.HttpClient("actions/cache"),i=yield(0,Cx.retryHttpClientResponse)("downloadCache",()=>wn(this,void 0,void 0,function*(){return n.get(t)}));i.message.socket.setTimeout(GK.SocketTimeout,()=>{i.message.destroy(),Su.debug(`Aborting download, socket timed out after ${GK.SocketTimeout} ms`)}),yield DMe(i,r);let s=i.message.headers["content-length"];if(s){let a=parseInt(s),c=_Me.getArchiveFileSizeInBytes(e);if(c!==a)throw new Error(`Incomplete download. Expected file size: ${a}, actual file size: ${c}`)}else Su.debug("Unable to validate download, no Content-Length header")})}o(JK,"downloadCacheHttpClient");function TMe(t,e,r){return wn(this,void 0,void 0,function*(){var n;let i=yield Nu.promises.open(e,"w"),s=new YK.HttpClient("actions/cache",void 0,{socketTimeout:r.timeoutInMs,keepAlive:!0});try{let c=(yield(0,Cx.retryHttpClientResponse)("downloadCacheMetadata",()=>wn(this,void 0,void 0,function*(){return yield s.request("HEAD",t,null,{})}))).message.headers["content-length"];if(c==null)throw new Error("Content-Length not found on blob response");let l=parseInt(c);if(Number.isNaN(l))throw new Error(`Could not interpret Content-Length: ${l}`);let A=[],u=4*1024*1024;for(let v=0;vwn(this,void 0,void 0,function*(){return yield OMe(s,t,v,T)})})}A.reverse();let d=0,g=0,f=new xu(l);f.startDisplayTimer();let C=f.onProgress(),Q=[],x,w=o(()=>wn(this,void 0,void 0,function*(){let v=yield Promise.race(Object.values(Q));yield i.write(v.buffer,0,v.count,v.offset),d--,delete Q[v.offset],g+=v.count,C({loadedBytes:g})}),"waitAndWrite");for(;x=A.pop();)Q[x.offset]=x.promiseGetter(),d++,d>=((n=r.downloadConcurrency)!==null&&n!==void 0?n:10)&&(yield w());for(;d>0;)yield w()}finally{s.dispose(),yield i.close()}})}o(TMe,"downloadCacheHttpClientConcurrent");function OMe(t,e,r,n){return wn(this,void 0,void 0,function*(){let s=0;for(;;)try{let c=yield VK(3e4,MMe(t,e,r,n));if(typeof c=="string")throw new Error("downloadSegmentRetry failed due to timeout");return c}catch(a){if(s>=5)throw a;s++}})}o(OMe,"downloadSegmentRetry");function MMe(t,e,r,n){return wn(this,void 0,void 0,function*(){let i=yield(0,Cx.retryHttpClientResponse)("downloadCachePart",()=>wn(this,void 0,void 0,function*(){return yield t.get(e,{Range:`bytes=${r}-${r+n-1}`})}));if(!i.readBodyBuffer)throw new Error("Expected HttpClientResponse to implement readBodyBuffer");return{offset:r,count:n,buffer:yield i.readBodyBuffer()}})}o(MMe,"downloadSegment");function kMe(t,e,r){return wn(this,void 0,void 0,function*(){var n;let i=new SMe.BlockBlobClient(t,void 0,{retryOptions:{tryTimeoutInMs:r.timeoutInMs}}),a=(n=(yield i.getProperties()).contentLength)!==null&&n!==void 0?n:-1;if(a<0)Su.debug("Unable to determine content length, downloading file with http-client..."),yield JK(t,e);else{let c=Math.min(134217728,xMe.constants.MAX_LENGTH),l=new xu(a),A=Nu.openSync(e,"w");try{l.startDisplayTimer();let u=new PMe.AbortController,d=u.signal;for(;!l.isDone();){let g=l.segmentOffset+l.segmentSize,f=Math.min(c,a-g);l.nextSegment(f);let C=yield VK(r.segmentTimeoutInMs||36e5,i.downloadToBuffer(g,f,{abortSignal:d,concurrency:r.downloadConcurrency,onProgress:l.onProgress()}));if(C==="timeout")throw u.abort(),new Error("Aborting cache download as the download time exceeded the timeout.");Buffer.isBuffer(C)&&Nu.writeFileSync(A,C)}}finally{l.stopDisplayTimer(),Nu.closeSync(A)}}})}o(kMe,"downloadCacheStorageSDK");var VK=o((t,e)=>wn(void 0,void 0,void 0,function*(){let r,n=new Promise(i=>{r=setTimeout(()=>i("timeout"),t)});return Promise.race([e,n]).then(i=>(clearTimeout(r),i))}),"promiseWithTimeout")});var KK=h(Ni=>{"use strict";var LMe=Ni&&Ni.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),FMe=Ni&&Ni.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),UMe=Ni&&Ni.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i{"use strict";Object.defineProperty(vu,"__esModule",{value:!0});vu.isGhes=$K;vu.getCacheServiceVersion=XK;vu.getCacheServiceURL=zMe;function $K(){let e=new URL(process.env.GITHUB_SERVER_URL||"https://github.com").hostname.trimEnd().toUpperCase(),r=e==="GITHUB.COM",n=e.endsWith(".GHE.COM"),i=e.endsWith(".LOCALHOST");return!r&&!n&&!i}o($K,"isGhes");function XK(){return $K()?"v1":process.env.ACTIONS_CACHE_SERVICE_V2?"v2":"v1"}o(XK,"getCacheServiceVersion");function zMe(){let t=XK();switch(t){case"v1":return process.env.ACTIONS_CACHE_URL||process.env.ACTIONS_RESULTS_URL||"";case"v2":return process.env.ACTIONS_RESULTS_URL||"";default:throw new Error(`Unsupported cache service version: ${t}`)}}o(zMe,"getCacheServiceURL")});var ZK=h((SKe,jMe)=>{jMe.exports={name:"@actions/cache",version:"5.0.5",preview:!0,description:"Actions cache lib",keywords:["github","actions","cache"],homepage:"https://github.com/actions/toolkit/tree/main/packages/cache",license:"MIT",main:"lib/cache.js",types:"lib/cache.d.ts",directories:{lib:"lib",test:"__tests__"},files:["lib","!.DS_Store"],publishConfig:{access:"public"},repository:{type:"git",url:"git+https://github.com/actions/toolkit.git",directory:"packages/cache"},scripts:{"audit-moderate":"npm install && npm audit --json --audit-level=moderate > audit.json",test:'echo "Error: run tests from root" && exit 1',tsc:"tsc"},bugs:{url:"https://github.com/actions/toolkit/issues"},dependencies:{"@actions/core":"^2.0.0","@actions/exec":"^2.0.0","@actions/glob":"^0.5.1","@protobuf-ts/runtime-rpc":"^2.11.1","@actions/http-client":"^3.0.2","@actions/io":"^2.0.0","@azure/abort-controller":"^1.1.0","@azure/core-rest-pipeline":"^1.22.0","@azure/storage-blob":"^12.29.1",semver:"^6.3.1"},devDependencies:{"@types/node":"^24.1.0","@types/semver":"^6.0.0","@protobuf-ts/plugin":"^2.9.4",typescript:"^5.2.2"},overrides:{"uri-js":"npm:uri-js-replace@^1.0.1","node-fetch":"^3.3.2"}}});var Bx=h(Ex=>{"use strict";Object.defineProperty(Ex,"__esModule",{value:!0});Ex.getUserAgentString=YMe;var GMe=ZK();function YMe(){return`@actions/cache-${GMe.version}`}o(YMe,"getUserAgentString")});var t$=h(_r=>{"use strict";var JMe=_r&&_r.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),VMe=_r&&_r.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),bx=_r&&_r.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;iRr(this,void 0,void 0,function*(){return n.getJson(Ru(s))}));if(a.statusCode===204)return en.isDebug()&&(yield ike(t[0],n,i)),null;if(!(0,Js.isSuccessStatusCode)(a.statusCode))throw new Error(`Cache service responded with ${a.statusCode}`);let c=a.result,l=c?.archiveLocation;if(!l)throw new Error("Cache not found.");return en.setSecret(l),en.debug("Cache Result:"),en.debug(JSON.stringify(c)),c})}o(nke,"getCacheEntry");function ike(t,e,r){return Rr(this,void 0,void 0,function*(){let n=`caches?key=${encodeURIComponent(t)}`,i=yield(0,Js.retryTypedResponse)("listCache",()=>Rr(this,void 0,void 0,function*(){return e.getJson(Ru(n))}));if(i.statusCode===200){let s=i.result,a=s?.totalCount;if(a&&a>0){en.debug(`No matching cache found for cache key '${t}', version '${r} and scope ${process.env.GITHUB_REF}. There exist one or more cache(s) with similar key but they have different version or scope. See more info on cache matching here: https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#matching-a-cache-key -Other caches with similar key:`);for(let c of s?.artifactCaches||[])en.debug(`Cache Key: ${c?.cacheKey}, Cache Version: ${c?.cacheVersion}, Cache Scope: ${c?.scope}, Cache Created: ${c?.creationTime}`)}}})}o(ike,"printCachesListForDiagnostics");function ske(t,e,r){return Rr(this,void 0,void 0,function*(){let n=new $Me.URL(t),i=(0,Qx.getDownloadOptions)(r);n.hostname.endsWith(".blob.core.windows.net")?i.useAzureSdk?yield(0,Fh.downloadCacheStorageSDK)(t,e,i):i.concurrentBlobDownloads?yield(0,Fh.downloadCacheHttpClientConcurrent)(t,e,i):yield(0,Fh.downloadCacheHttpClient)(t,e):yield(0,Fh.downloadCacheHttpClient)(t,e)})}o(ske,"downloadCache");function oke(t,e,r){return Rr(this,void 0,void 0,function*(){let n=wx(),i=al.getCacheVersion(e,r?.compressionMethod,r?.enableCrossOsArchive),s={key:t,version:i,cacheSize:r?.cacheSize};return yield(0,Js.retryTypedResponse)("reserveCache",()=>Rr(this,void 0,void 0,function*(){return n.postJson(Ru("caches"),s)}))})}o(oke,"reserveCache");function e$(t,e){return`bytes ${t}-${e}/*`}o(e$,"getContentRange");function ake(t,e,r,n,i){return Rr(this,void 0,void 0,function*(){en.debug(`Uploading chunk of size ${i-n+1} bytes at offset ${n} with content range: ${e$(n,i)}`);let s={"Content-Type":"application/octet-stream","Content-Range":e$(n,i)},a=yield(0,Js.retryHttpClientResponse)(`uploadChunk (start: ${n}, end: ${i})`,()=>Rr(this,void 0,void 0,function*(){return t.sendStream("PATCH",e,r(),s)}));if(!(0,Js.isSuccessStatusCode)(a.message.statusCode))throw new Error(`Cache service responded with ${a.message.statusCode} during upload chunk.`)})}o(ake,"uploadChunk");function cke(t,e,r,n){return Rr(this,void 0,void 0,function*(){let i=al.getArchiveFileSizeInBytes(r),s=Ru(`caches/${e.toString()}`),a=Ix.openSync(r,"r"),c=(0,Qx.getUploadOptions)(n),l=al.assertDefined("uploadConcurrency",c.uploadConcurrency),A=al.assertDefined("uploadChunkSize",c.uploadChunkSize),u=[...new Array(l).keys()];en.debug("Awaiting all uploads");let d=0;try{yield Promise.all(u.map(()=>Rr(this,void 0,void 0,function*(){for(;dIx.createReadStream(r,{fd:a,start:f,end:C,autoClose:!1}).on("error",Q=>{throw new Error(`Cache upload failed because file read failed with ${Q.message}`)}),f,C)}})))}finally{Ix.closeSync(a)}})}o(cke,"uploadFile");function lke(t,e,r){return Rr(this,void 0,void 0,function*(){let n={size:r};return yield(0,Js.retryTypedResponse)("commitCache",()=>Rr(this,void 0,void 0,function*(){return t.postJson(Ru(`caches/${e.toString()}`),n)}))})}o(lke,"commitCache");function Ake(t,e,r,n){return Rr(this,void 0,void 0,function*(){if((0,Qx.getUploadOptions)(n).useAzureSdk){if(!r)throw new Error("Azure Storage SDK can only be used when a signed URL is provided.");yield(0,XMe.uploadCacheArchiveSDK)(r,e,n)}else{let s=wx();en.debug("Upload cache"),yield cke(s,t,e,n),en.debug("Commiting cache");let a=al.getArchiveFileSizeInBytes(e);en.info(`Cache Size: ~${Math.round(a/(1024*1024))} MB (${a} B)`);let c=yield lke(s,t,a);if(!(0,Js.isSuccessStatusCode)(c.statusCode))throw new Error(`Cache service responded with ${c.statusCode} during commit cache.`);en.info("Cache saved successfully")}})}o(Ake,"saveCache")});var Uh=h(cl=>{"use strict";Object.defineProperty(cl,"__esModule",{value:!0});cl.isJsonObject=cl.typeofJsonValue=void 0;function uke(t){let e=typeof t;if(e=="object"){if(Array.isArray(t))return"array";if(t===null)return"null"}return e}o(uke,"typeofJsonValue");cl.typeofJsonValue=uke;function dke(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}o(dke,"isJsonObject");cl.isJsonObject=dke});var Hh=h(ll=>{"use strict";Object.defineProperty(ll,"__esModule",{value:!0});ll.base64encode=ll.base64decode=void 0;var is="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),qh=[];for(let t=0;t>4,a=s,i=2;break;case 2:r[n++]=(a&15)<<4|(s&60)>>2,a=s,i=3;break;case 3:r[n++]=(a&3)<<6|s,i=0;break}}if(i==1)throw Error("invalid base64 string.");return r.subarray(0,n)}o(pke,"base64decode");ll.base64decode=pke;function mke(t){let e="",r=0,n,i=0;for(let s=0;s>2],i=(n&3)<<4,r=1;break;case 1:e+=is[i|n>>4],i=(n&15)<<2,r=2;break;case 2:e+=is[i|n>>6],e+=is[n&63],r=0;break}return r&&(e+=is[i],e+="=",r==1&&(e+="=")),e}o(mke,"base64encode");ll.base64encode=mke});var r$=h(zh=>{"use strict";Object.defineProperty(zh,"__esModule",{value:!0});zh.utf8read=void 0;var Nx=o(t=>String.fromCharCode.apply(String,t),"fromCharCodes");function gke(t){if(t.length<1)return"";let e=0,r=[],n=[],i=0,s,a=t.length;for(;e191&&s<224?n[i++]=(s&31)<<6|t[e++]&63:s>239&&s<365?(s=((s&7)<<18|(t[e++]&63)<<12|(t[e++]&63)<<6|t[e++]&63)-65536,n[i++]=55296+(s>>10),n[i++]=56320+(s&1023)):n[i++]=(s&15)<<12|(t[e++]&63)<<6|t[e++]&63,i>8191&&(r.push(Nx(n)),i=0);return r.length?(i&&r.push(Nx(n.slice(0,i))),r.join("")):Nx(n.slice(0,i))}o(gke,"utf8read");zh.utf8read=gke});var _u=h(Si=>{"use strict";Object.defineProperty(Si,"__esModule",{value:!0});Si.WireType=Si.mergeBinaryOptions=Si.UnknownFieldHandler=void 0;var fke;(function(t){t.symbol=Symbol.for("protobuf-ts/unknown"),t.onRead=(r,n,i,s,a)=>{(e(n)?n[t.symbol]:n[t.symbol]=[]).push({no:i,wireType:s,data:a})},t.onWrite=(r,n,i)=>{for(let{no:s,wireType:a,data:c}of t.list(n))i.tag(s,a).raw(c)},t.list=(r,n)=>{if(e(r)){let i=r[t.symbol];return n?i.filter(s=>s.no==n):i}return[]},t.last=(r,n)=>t.list(r,n).slice(-1)[0];let e=o(r=>r&&Array.isArray(r[t.symbol]),"is")})(fke=Si.UnknownFieldHandler||(Si.UnknownFieldHandler={}));function hke(t,e){return Object.assign(Object.assign({},t),e)}o(hke,"mergeBinaryOptions");Si.mergeBinaryOptions=hke;var yke;(function(t){t[t.Varint=0]="Varint",t[t.Bit64=1]="Bit64",t[t.LengthDelimited=2]="LengthDelimited",t[t.StartGroup=3]="StartGroup",t[t.EndGroup=4]="EndGroup",t[t.Bit32=5]="Bit32"})(yke=Si.WireType||(Si.WireType={}))});var Gh=h(Pr=>{"use strict";Object.defineProperty(Pr,"__esModule",{value:!0});Pr.varint32read=Pr.varint32write=Pr.int64toString=Pr.int64fromString=Pr.varint64write=Pr.varint64read=void 0;function Cke(){let t=0,e=0;for(let n=0;n<28;n+=7){let i=this.buf[this.pos++];if(t|=(i&127)<>4,!(r&128))return this.assertBounds(),[t,e];for(let n=3;n<=31;n+=7){let i=this.buf[this.pos++];if(e|=(i&127)<>>s,c=!(!(a>>>7)&&e==0),l=(c?a|128:a)&255;if(r.push(l),!c)return}let n=t>>>28&15|(e&7)<<4,i=!!(e>>3);if(r.push((i?n|128:n)&255),!!i){for(let s=3;s<31;s=s+7){let a=e>>>s,c=!!(a>>>7),l=(c?a|128:a)&255;if(r.push(l),!c)return}r.push(e>>>31&1)}}o(Eke,"varint64write");Pr.varint64write=Eke;var jh=65536*65536;function Bke(t){let e=t[0]=="-";e&&(t=t.slice(1));let r=1e6,n=0,i=0;function s(a,c){let l=Number(t.slice(a,c));i*=r,n=n*r+l,n>=jh&&(i=i+(n/jh|0),n=n%jh)}return o(s,"add1e6digit"),s(-24,-18),s(-18,-12),s(-12,-6),s(-6),[e,n,i]}o(Bke,"int64fromString");Pr.int64fromString=Bke;function Ike(t,e){if(e>>>0<=2097151)return""+(jh*e+(t>>>0));let r=t&16777215,n=(t>>>24|e<<8)>>>0&16777215,i=e>>16&65535,s=r+n*6777216+i*6710656,a=n+i*8147497,c=i*2,l=1e7;s>=l&&(a+=Math.floor(s/l),s%=l),a>=l&&(c+=Math.floor(a/l),a%=l);function A(u,d){let g=u?String(u):"";return d?"0000000".slice(g.length)+g:g}return o(A,"decimalFrom1e7"),A(c,0)+A(a,c)+A(s,1)}o(Ike,"int64toString");Pr.int64toString=Ike;function bke(t,e){if(t>=0){for(;t>127;)e.push(t&127|128),t=t>>>7;e.push(t)}else{for(let r=0;r<9;r++)e.push(t&127|128),t=t>>7;e.push(1)}}o(bke,"varint32write");Pr.varint32write=bke;function Qke(){let t=this.buf[this.pos++],e=t&127;if(!(t&128))return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<7,!(t&128))return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<14,!(t&128))return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<21,!(t&128))return this.assertBounds(),e;t=this.buf[this.pos++],e|=(t&15)<<28;for(let r=5;t&128&&r<10;r++)t=this.buf[this.pos++];if(t&128)throw new Error("invalid varint");return this.assertBounds(),e>>>0}o(Qke,"varint32read");Pr.varint32read=Qke});var Ws=h(Vs=>{"use strict";Object.defineProperty(Vs,"__esModule",{value:!0});Vs.PbLong=Vs.PbULong=Vs.detectBi=void 0;var Pu=Gh(),Ye;function n$(){let t=new DataView(new ArrayBuffer(8));Ye=globalThis.BigInt!==void 0&&typeof t.getBigInt64=="function"&&typeof t.getBigUint64=="function"&&typeof t.setBigInt64=="function"&&typeof t.setBigUint64=="function"?{MIN:BigInt("-9223372036854775808"),MAX:BigInt("9223372036854775807"),UMIN:BigInt("0"),UMAX:BigInt("18446744073709551615"),C:BigInt,V:t}:void 0}o(n$,"detectBi");Vs.detectBi=n$;n$();function i$(t){if(!t)throw new Error("BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support")}o(i$,"assertBi");var s$=/^-?[0-9]+$/,Jh=4294967296,Yh=2147483648,Vh=class{static{o(this,"SharedPbLong")}constructor(e,r){this.lo=e|0,this.hi=r|0}isZero(){return this.lo==0&&this.hi==0}toNumber(){let e=this.hi*Jh+(this.lo>>>0);if(!Number.isSafeInteger(e))throw new Error("cannot convert to safe number");return e}},Du=class t extends Vh{static{o(this,"PbULong")}static from(e){if(Ye)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=Ye.C(e);case"number":if(e===0)return this.ZERO;e=Ye.C(e);case"bigint":if(!e)return this.ZERO;if(eYe.UMAX)throw new Error("ulong too large");return Ye.V.setBigUint64(0,e,!0),new t(Ye.V.getInt32(0,!0),Ye.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!s$.test(e))throw new Error("string is no integer");let[r,n,i]=Pu.int64fromString(e);if(r)throw new Error("signed value for ulong");return new t(n,i);case"number":if(e==0)return this.ZERO;if(!Number.isSafeInteger(e))throw new Error("number is no integer");if(e<0)throw new Error("signed value for ulong");return new t(e,e/Jh)}throw new Error("unknown value "+typeof e)}toString(){return Ye?this.toBigInt().toString():Pu.int64toString(this.lo,this.hi)}toBigInt(){return i$(Ye),Ye.V.setInt32(0,this.lo,!0),Ye.V.setInt32(4,this.hi,!0),Ye.V.getBigUint64(0,!0)}};Vs.PbULong=Du;Du.ZERO=new Du(0,0);var Tu=class t extends Vh{static{o(this,"PbLong")}static from(e){if(Ye)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=Ye.C(e);case"number":if(e===0)return this.ZERO;e=Ye.C(e);case"bigint":if(!e)return this.ZERO;if(eYe.MAX)throw new Error("signed long too large");return Ye.V.setBigInt64(0,e,!0),new t(Ye.V.getInt32(0,!0),Ye.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!s$.test(e))throw new Error("string is no integer");let[r,n,i]=Pu.int64fromString(e);if(r){if(i>Yh||i==Yh&&n!=0)throw new Error("signed long too small")}else if(i>=Yh)throw new Error("signed long too large");let s=new t(n,i);return r?s.negate():s;case"number":if(e==0)return this.ZERO;if(!Number.isSafeInteger(e))throw new Error("number is no integer");return e>0?new t(e,e/Jh):new t(-e,-e/Jh).negate()}throw new Error("unknown value "+typeof e)}isNegative(){return(this.hi&Yh)!==0}negate(){let e=~this.hi,r=this.lo;return r?r=~r+1:e+=1,new t(r,e)}toString(){if(Ye)return this.toBigInt().toString();if(this.isNegative()){let e=this.negate();return"-"+Pu.int64toString(e.lo,e.hi)}return Pu.int64toString(this.lo,this.hi)}toBigInt(){return i$(Ye),Ye.V.setInt32(0,this.lo,!0),Ye.V.setInt32(4,this.hi,!0),Ye.V.getBigInt64(0,!0)}};Vs.PbLong=Tu;Tu.ZERO=new Tu(0,0)});var Sx=h(ul=>{"use strict";Object.defineProperty(ul,"__esModule",{value:!0});ul.BinaryReader=ul.binaryReadOptions=void 0;var Al=_u(),Ou=Ws(),o$=Gh(),a$={readUnknownField:!0,readerFactory:t=>new Wh(t)};function wke(t){return t?Object.assign(Object.assign({},a$),t):a$}o(wke,"binaryReadOptions");ul.binaryReadOptions=wke;var Wh=class{static{o(this,"BinaryReader")}constructor(e,r){this.varint64=o$.varint64read,this.uint32=o$.varint32read,this.buf=e,this.len=e.length,this.pos=0,this.view=new DataView(e.buffer,e.byteOffset,e.byteLength),this.textDecoder=r??new TextDecoder("utf-8",{fatal:!0,ignoreBOM:!0})}tag(){let e=this.uint32(),r=e>>>3,n=e&7;if(r<=0||n<0||n>5)throw new Error("illegal tag: field no "+r+" wire type "+n);return[r,n]}skip(e){let r=this.pos;switch(e){case Al.WireType.Varint:for(;this.buf[this.pos++]&128;);break;case Al.WireType.Bit64:this.pos+=4;case Al.WireType.Bit32:this.pos+=4;break;case Al.WireType.LengthDelimited:let n=this.uint32();this.pos+=n;break;case Al.WireType.StartGroup:let i;for(;(i=this.tag()[1])!==Al.WireType.EndGroup;)this.skip(i);break;default:throw new Error("cant skip wire type "+e)}return this.assertBounds(),this.buf.subarray(r,this.pos)}assertBounds(){if(this.pos>this.len)throw new RangeError("premature EOF")}int32(){return this.uint32()|0}sint32(){let e=this.uint32();return e>>>1^-(e&1)}int64(){return new Ou.PbLong(...this.varint64())}uint64(){return new Ou.PbULong(...this.varint64())}sint64(){let[e,r]=this.varint64(),n=-(e&1);return e=(e>>>1|(r&1)<<31)^n,r=r>>>1^n,new Ou.PbLong(e,r)}bool(){let[e,r]=this.varint64();return e!==0||r!==0}fixed32(){return this.view.getUint32((this.pos+=4)-4,!0)}sfixed32(){return this.view.getInt32((this.pos+=4)-4,!0)}fixed64(){return new Ou.PbULong(this.sfixed32(),this.sfixed32())}sfixed64(){return new Ou.PbLong(this.sfixed32(),this.sfixed32())}float(){return this.view.getFloat32((this.pos+=4)-4,!0)}double(){return this.view.getFloat64((this.pos+=8)-8,!0)}bytes(){let e=this.uint32(),r=this.pos;return this.pos+=e,this.assertBounds(),this.buf.subarray(r,r+e)}string(){return this.textDecoder.decode(this.bytes())}};ul.BinaryReader=Wh});var dl=h(Nn=>{"use strict";Object.defineProperty(Nn,"__esModule",{value:!0});Nn.assertFloat32=Nn.assertUInt32=Nn.assertInt32=Nn.assertNever=Nn.assert=void 0;function Nke(t,e){if(!t)throw new Error(e)}o(Nke,"assert");Nn.assert=Nke;function Ske(t,e){throw new Error(e??"Unexpected object: "+t)}o(Ske,"assertNever");Nn.assertNever=Ske;var xke=34028234663852886e22,vke=-34028234663852886e22,Rke=4294967295,_ke=2147483647,Pke=-2147483648;function Dke(t){if(typeof t!="number")throw new Error("invalid int 32: "+typeof t);if(!Number.isInteger(t)||t>_ke||tRke||t<0)throw new Error("invalid uint 32: "+t)}o(Tke,"assertUInt32");Nn.assertUInt32=Tke;function Oke(t){if(typeof t!="number")throw new Error("invalid float 32: "+typeof t);if(Number.isFinite(t)&&(t>xke||t{"use strict";Object.defineProperty(ml,"__esModule",{value:!0});ml.BinaryWriter=ml.binaryWriteOptions=void 0;var Mu=Ws(),ku=Gh(),pl=dl(),c$={writeUnknownFields:!0,writerFactory:()=>new Kh};function Mke(t){return t?Object.assign(Object.assign({},c$),t):c$}o(Mke,"binaryWriteOptions");ml.binaryWriteOptions=Mke;var Kh=class{static{o(this,"BinaryWriter")}constructor(e){this.stack=[],this.textEncoder=e??new TextEncoder,this.chunks=[],this.buf=[]}finish(){this.chunks.push(new Uint8Array(this.buf));let e=0;for(let i=0;i>>0)}raw(e){return this.buf.length&&(this.chunks.push(new Uint8Array(this.buf)),this.buf=[]),this.chunks.push(e),this}uint32(e){for(pl.assertUInt32(e);e>127;)this.buf.push(e&127|128),e=e>>>7;return this.buf.push(e),this}int32(e){return pl.assertInt32(e),ku.varint32write(e,this.buf),this}bool(e){return this.buf.push(e?1:0),this}bytes(e){return this.uint32(e.byteLength),this.raw(e)}string(e){let r=this.textEncoder.encode(e);return this.uint32(r.byteLength),this.raw(r)}float(e){pl.assertFloat32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setFloat32(0,e,!0),this.raw(r)}double(e){let r=new Uint8Array(8);return new DataView(r.buffer).setFloat64(0,e,!0),this.raw(r)}fixed32(e){pl.assertUInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setUint32(0,e,!0),this.raw(r)}sfixed32(e){pl.assertInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setInt32(0,e,!0),this.raw(r)}sint32(e){return pl.assertInt32(e),e=(e<<1^e>>31)>>>0,ku.varint32write(e,this.buf),this}sfixed64(e){let r=new Uint8Array(8),n=new DataView(r.buffer),i=Mu.PbLong.from(e);return n.setInt32(0,i.lo,!0),n.setInt32(4,i.hi,!0),this.raw(r)}fixed64(e){let r=new Uint8Array(8),n=new DataView(r.buffer),i=Mu.PbULong.from(e);return n.setInt32(0,i.lo,!0),n.setInt32(4,i.hi,!0),this.raw(r)}int64(e){let r=Mu.PbLong.from(e);return ku.varint64write(r.lo,r.hi,this.buf),this}sint64(e){let r=Mu.PbLong.from(e),n=r.hi>>31,i=r.lo<<1^n,s=(r.hi<<1|r.lo>>>31)^n;return ku.varint64write(i,s,this.buf),this}uint64(e){let r=Mu.PbULong.from(e);return ku.varint64write(r.lo,r.hi,this.buf),this}};ml.BinaryWriter=Kh});var vx=h(Ks=>{"use strict";Object.defineProperty(Ks,"__esModule",{value:!0});Ks.mergeJsonOptions=Ks.jsonWriteOptions=Ks.jsonReadOptions=void 0;var l$={emitDefaultValues:!1,enumAsInteger:!1,useProtoFieldName:!1,prettySpaces:0},A$={ignoreUnknownFields:!1};function kke(t){return t?Object.assign(Object.assign({},A$),t):A$}o(kke,"jsonReadOptions");Ks.jsonReadOptions=kke;function Lke(t){return t?Object.assign(Object.assign({},l$),t):l$}o(Lke,"jsonWriteOptions");Ks.jsonWriteOptions=Lke;function Fke(t,e){var r,n;let i=Object.assign(Object.assign({},t),e);return i.typeRegistry=[...(r=t?.typeRegistry)!==null&&r!==void 0?r:[],...(n=e?.typeRegistry)!==null&&n!==void 0?n:[]],i}o(Fke,"mergeJsonOptions");Ks.mergeJsonOptions=Fke});var Lu=h($h=>{"use strict";Object.defineProperty($h,"__esModule",{value:!0});$h.MESSAGE_TYPE=void 0;$h.MESSAGE_TYPE=Symbol.for("protobuf-ts/message-type")});var Rx=h(Xh=>{"use strict";Object.defineProperty(Xh,"__esModule",{value:!0});Xh.lowerCamelCase=void 0;function Uke(t){let e=!1,r=[];for(let n=0;n{"use strict";Object.defineProperty(Dt,"__esModule",{value:!0});Dt.readMessageOption=Dt.readFieldOption=Dt.readFieldOptions=Dt.normalizeFieldInfo=Dt.RepeatType=Dt.LongType=Dt.ScalarType=void 0;var u$=Rx(),qke;(function(t){t[t.DOUBLE=1]="DOUBLE",t[t.FLOAT=2]="FLOAT",t[t.INT64=3]="INT64",t[t.UINT64=4]="UINT64",t[t.INT32=5]="INT32",t[t.FIXED64=6]="FIXED64",t[t.FIXED32=7]="FIXED32",t[t.BOOL=8]="BOOL",t[t.STRING=9]="STRING",t[t.BYTES=12]="BYTES",t[t.UINT32=13]="UINT32",t[t.SFIXED32=15]="SFIXED32",t[t.SFIXED64=16]="SFIXED64",t[t.SINT32=17]="SINT32",t[t.SINT64=18]="SINT64"})(qke=Dt.ScalarType||(Dt.ScalarType={}));var Hke;(function(t){t[t.BIGINT=0]="BIGINT",t[t.STRING=1]="STRING",t[t.NUMBER=2]="NUMBER"})(Hke=Dt.LongType||(Dt.LongType={}));var d$;(function(t){t[t.NO=0]="NO",t[t.PACKED=1]="PACKED",t[t.UNPACKED=2]="UNPACKED"})(d$=Dt.RepeatType||(Dt.RepeatType={}));function zke(t){var e,r,n,i;return t.localName=(e=t.localName)!==null&&e!==void 0?e:u$.lowerCamelCase(t.name),t.jsonName=(r=t.jsonName)!==null&&r!==void 0?r:u$.lowerCamelCase(t.name),t.repeat=(n=t.repeat)!==null&&n!==void 0?n:d$.NO,t.opt=(i=t.opt)!==null&&i!==void 0?i:t.repeat||t.oneof?!1:t.kind=="message",t}o(zke,"normalizeFieldInfo");Dt.normalizeFieldInfo=zke;function jke(t,e,r,n){var i;let s=(i=t.fields.find((a,c)=>a.localName==e||c==e))===null||i===void 0?void 0:i.options;return s&&s[r]?n.fromJson(s[r]):void 0}o(jke,"readFieldOptions");Dt.readFieldOptions=jke;function Gke(t,e,r,n){var i;let s=(i=t.fields.find((c,l)=>c.localName==e||l==e))===null||i===void 0?void 0:i.options;if(!s)return;let a=s[r];return a===void 0?a:n?n.fromJson(a):a}o(Gke,"readFieldOption");Dt.readFieldOption=Gke;function Yke(t,e,r){let i=t.options[e];return i===void 0?i:r?r.fromJson(i):i}o(Yke,"readMessageOption");Dt.readMessageOption=Yke});var _x=h(Dr=>{"use strict";Object.defineProperty(Dr,"__esModule",{value:!0});Dr.getSelectedOneofValue=Dr.clearOneofValue=Dr.setUnknownOneofValue=Dr.setOneofValue=Dr.getOneofValue=Dr.isOneofGroup=void 0;function Jke(t){if(typeof t!="object"||t===null||!t.hasOwnProperty("oneofKind"))return!1;switch(typeof t.oneofKind){case"string":return t[t.oneofKind]===void 0?!1:Object.keys(t).length==2;case"undefined":return Object.keys(t).length==1;default:return!1}}o(Jke,"isOneofGroup");Dr.isOneofGroup=Jke;function Vke(t,e){return t[e]}o(Vke,"getOneofValue");Dr.getOneofValue=Vke;function Wke(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&(t[e]=r)}o(Wke,"setOneofValue");Dr.setOneofValue=Wke;function Kke(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&e!==void 0&&(t[e]=r)}o(Kke,"setUnknownOneofValue");Dr.setUnknownOneofValue=Kke;function $ke(t){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=void 0}o($ke,"clearOneofValue");Dr.clearOneofValue=$ke;function Xke(t){if(t.oneofKind!==void 0)return t[t.oneofKind]}o(Xke,"getSelectedOneofValue");Dr.getSelectedOneofValue=Xke});var Dx=h(Zh=>{"use strict";Object.defineProperty(Zh,"__esModule",{value:!0});Zh.ReflectionTypeCheck=void 0;var yt=Yn(),Zke=_x(),Px=class{static{o(this,"ReflectionTypeCheck")}constructor(e){var r;this.fields=(r=e.fields)!==null&&r!==void 0?r:[]}prepare(){if(this.data)return;let e=[],r=[],n=[];for(let i of this.fields)if(i.oneof)n.includes(i.oneof)||(n.push(i.oneof),e.push(i.oneof),r.push(i.oneof));else switch(r.push(i.localName),i.kind){case"scalar":case"enum":(!i.opt||i.repeat)&&e.push(i.localName);break;case"message":i.repeat&&e.push(i.localName);break;case"map":e.push(i.localName);break}this.data={req:e,known:r,oneofs:Object.values(n)}}is(e,r,n=!1){if(r<0)return!0;if(e==null||typeof e!="object")return!1;this.prepare();let i=Object.keys(e),s=this.data;if(i.length!i.includes(a))||!n&&i.some(a=>!s.known.includes(a)))return!1;if(r<1)return!0;for(let a of s.oneofs){let c=e[a];if(!Zke.isOneofGroup(c))return!1;if(c.oneofKind===void 0)continue;let l=this.fields.find(A=>A.localName===c.oneofKind);if(!l||!this.field(c[c.oneofKind],l,n,r))return!1}for(let a of this.fields)if(a.oneof===void 0&&!this.field(e[a.localName],a,n,r))return!1;return!0}field(e,r,n,i){let s=r.repeat;switch(r.kind){case"scalar":return e===void 0?r.opt:s?this.scalars(e,r.T,i,r.L):this.scalar(e,r.T,r.L);case"enum":return e===void 0?r.opt:s?this.scalars(e,yt.ScalarType.INT32,i):this.scalar(e,yt.ScalarType.INT32);case"message":return e===void 0?!0:s?this.messages(e,r.T(),n,i):this.message(e,r.T(),n,i);case"map":if(typeof e!="object"||e===null)return!1;if(i<2)return!0;if(!this.mapKeys(e,r.K,i))return!1;switch(r.V.kind){case"scalar":return this.scalars(Object.values(e),r.V.T,i,r.V.L);case"enum":return this.scalars(Object.values(e),yt.ScalarType.INT32,i);case"message":return this.messages(Object.values(e),r.V.T(),n,i)}break}return!0}message(e,r,n,i){return n?r.isAssignable(e,i):r.is(e,i)}messages(e,r,n,i){if(!Array.isArray(e))return!1;if(i<2)return!0;if(n){for(let s=0;sparseInt(s)),r,n);case yt.ScalarType.BOOL:return this.scalars(i.slice(0,n).map(s=>s=="true"?!0:s=="false"?!1:s),r,n);default:return this.scalars(i,r,n,yt.LongType.STRING)}}};Zh.ReflectionTypeCheck=Px});var ty=h(ey=>{"use strict";Object.defineProperty(ey,"__esModule",{value:!0});ey.reflectionLongConvert=void 0;var p$=Yn();function eLe(t,e){switch(e){case p$.LongType.BIGINT:return t.toBigInt();case p$.LongType.NUMBER:return t.toNumber();default:return t.toString()}}o(eLe,"reflectionLongConvert");ey.reflectionLongConvert=eLe});var Ox=h(iy=>{"use strict";Object.defineProperty(iy,"__esModule",{value:!0});iy.ReflectionJsonReader=void 0;var m$=Uh(),tLe=Hh(),Tt=Yn(),ry=Ws(),Xo=dl(),ny=ty(),Tx=class{static{o(this,"ReflectionJsonReader")}constructor(e){this.info=e}prepare(){var e;if(this.fMap===void 0){this.fMap={};let r=(e=this.info.fields)!==null&&e!==void 0?e:[];for(let n of r)this.fMap[n.name]=n,this.fMap[n.jsonName]=n,this.fMap[n.localName]=n}}assert(e,r,n){if(!e){let i=m$.typeofJsonValue(n);throw(i=="number"||i=="boolean")&&(i=n.toString()),new Error(`Cannot parse JSON ${i} for ${this.info.typeName}#${r}`)}}read(e,r,n){this.prepare();let i=[];for(let[s,a]of Object.entries(e)){let c=this.fMap[s];if(!c){if(!n.ignoreUnknownFields)throw new Error(`Found unknown field while reading ${this.info.typeName} from JSON format. JSON key: ${s}`);continue}let l=c.localName,A;if(c.oneof){if(a===null&&(c.kind!=="enum"||c.T()[0]!=="google.protobuf.NullValue"))continue;if(i.includes(c.oneof))throw new Error(`Multiple members of the oneof group "${c.oneof}" of ${this.info.typeName} are present in JSON.`);i.push(c.oneof),A=r[c.oneof]={oneofKind:l}}else A=r;if(c.kind=="map"){if(a===null)continue;this.assert(m$.isJsonObject(a),c.name,a);let u=A[l];for(let[d,g]of Object.entries(a)){this.assert(g!==null,c.name+" map value",null);let f;switch(c.V.kind){case"message":f=c.V.T().internalJsonRead(g,n);break;case"enum":if(f=this.enum(c.V.T(),g,c.name,n.ignoreUnknownFields),f===!1)continue;break;case"scalar":f=this.scalar(g,c.V.T,c.V.L,c.name);break}this.assert(f!==void 0,c.name+" map value",g);let C=d;c.K==Tt.ScalarType.BOOL&&(C=C=="true"?!0:C=="false"?!1:C),C=this.scalar(C,c.K,Tt.LongType.STRING,c.name).toString(),u[C]=f}}else if(c.repeat){if(a===null)continue;this.assert(Array.isArray(a),c.name,a);let u=A[l];for(let d of a){this.assert(d!==null,c.name,null);let g;switch(c.kind){case"message":g=c.T().internalJsonRead(d,n);break;case"enum":if(g=this.enum(c.T(),d,c.name,n.ignoreUnknownFields),g===!1)continue;break;case"scalar":g=this.scalar(d,c.T,c.L,c.name);break}this.assert(g!==void 0,c.name,a),u.push(g)}}else switch(c.kind){case"message":if(a===null&&c.T().typeName!="google.protobuf.Value"){this.assert(c.oneof===void 0,c.name+" (oneof member)",null);continue}A[l]=c.T().internalJsonRead(a,n,A[l]);break;case"enum":if(a===null)continue;let u=this.enum(c.T(),a,c.name,n.ignoreUnknownFields);if(u===!1)continue;A[l]=u;break;case"scalar":if(a===null)continue;A[l]=this.scalar(a,c.T,c.L,c.name);break}}}enum(e,r,n,i){if(e[0]=="google.protobuf.NullValue"&&Xo.assert(r===null||r==="NULL_VALUE",`Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} only accepts null.`),r===null)return 0;switch(typeof r){case"number":return Xo.assert(Number.isInteger(r),`Unable to parse field ${this.info.typeName}#${n}, enum can only be integral number, got ${r}.`),r;case"string":let s=r;e[2]&&r.substring(0,e[2].length)===e[2]&&(s=r.substring(e[2].length));let a=e[1][s];return typeof a>"u"&&i?!1:(Xo.assert(typeof a=="number",`Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} has no value for "${r}".`),a)}Xo.assert(!1,`Unable to parse field ${this.info.typeName}#${n}, cannot parse enum value from ${typeof r}".`)}scalar(e,r,n,i){let s;try{switch(r){case Tt.ScalarType.DOUBLE:case Tt.ScalarType.FLOAT:if(e===null)return 0;if(e==="NaN")return Number.NaN;if(e==="Infinity")return Number.POSITIVE_INFINITY;if(e==="-Infinity")return Number.NEGATIVE_INFINITY;if(e===""){s="empty string";break}if(typeof e=="string"&&e.trim().length!==e.length){s="extra whitespace";break}if(typeof e!="string"&&typeof e!="number")break;let a=Number(e);if(Number.isNaN(a)){s="not a number";break}if(!Number.isFinite(a)){s="too large or small";break}return r==Tt.ScalarType.FLOAT&&Xo.assertFloat32(a),a;case Tt.ScalarType.INT32:case Tt.ScalarType.FIXED32:case Tt.ScalarType.SFIXED32:case Tt.ScalarType.SINT32:case Tt.ScalarType.UINT32:if(e===null)return 0;let c;if(typeof e=="number"?c=e:e===""?s="empty string":typeof e=="string"&&(e.trim().length!==e.length?s="extra whitespace":c=Number(e)),c===void 0)break;return r==Tt.ScalarType.UINT32?Xo.assertUInt32(c):Xo.assertInt32(c),c;case Tt.ScalarType.INT64:case Tt.ScalarType.SFIXED64:case Tt.ScalarType.SINT64:if(e===null)return ny.reflectionLongConvert(ry.PbLong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return ny.reflectionLongConvert(ry.PbLong.from(e),n);case Tt.ScalarType.FIXED64:case Tt.ScalarType.UINT64:if(e===null)return ny.reflectionLongConvert(ry.PbULong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return ny.reflectionLongConvert(ry.PbULong.from(e),n);case Tt.ScalarType.BOOL:if(e===null)return!1;if(typeof e!="boolean")break;return e;case Tt.ScalarType.STRING:if(e===null)return"";if(typeof e!="string"){s="extra whitespace";break}try{encodeURIComponent(e)}catch(l){l="invalid UTF8";break}return e;case Tt.ScalarType.BYTES:if(e===null||e==="")return new Uint8Array(0);if(typeof e!="string")break;return tLe.base64decode(e)}}catch(a){s=a.message}this.assert(!1,i+(s?" - "+s:""),e)}};iy.ReflectionJsonReader=Tx});var kx=h(sy=>{"use strict";Object.defineProperty(sy,"__esModule",{value:!0});sy.ReflectionJsonWriter=void 0;var rLe=Hh(),g$=Ws(),fr=Yn(),ot=dl(),Mx=class{static{o(this,"ReflectionJsonWriter")}constructor(e){var r;this.fields=(r=e.fields)!==null&&r!==void 0?r:[]}write(e,r){let n={},i=e;for(let s of this.fields){if(!s.oneof){let A=this.field(s,i[s.localName],r);A!==void 0&&(n[r.useProtoFieldName?s.name:s.jsonName]=A);continue}let a=i[s.oneof];if(a.oneofKind!==s.localName)continue;let c=s.kind=="scalar"||s.kind=="enum"?Object.assign(Object.assign({},r),{emitDefaultValues:!0}):r,l=this.field(s,a[s.localName],c);ot.assert(l!==void 0),n[r.useProtoFieldName?s.name:s.jsonName]=l}return n}field(e,r,n){let i;if(e.kind=="map"){ot.assert(typeof r=="object"&&r!==null);let s={};switch(e.V.kind){case"scalar":for(let[l,A]of Object.entries(r)){let u=this.scalar(e.V.T,A,e.name,!1,!0);ot.assert(u!==void 0),s[l.toString()]=u}break;case"message":let a=e.V.T();for(let[l,A]of Object.entries(r)){let u=this.message(a,A,e.name,n);ot.assert(u!==void 0),s[l.toString()]=u}break;case"enum":let c=e.V.T();for(let[l,A]of Object.entries(r)){ot.assert(A===void 0||typeof A=="number");let u=this.enum(c,A,e.name,!1,!0,n.enumAsInteger);ot.assert(u!==void 0),s[l.toString()]=u}break}(n.emitDefaultValues||Object.keys(s).length>0)&&(i=s)}else if(e.repeat){ot.assert(Array.isArray(r));let s=[];switch(e.kind){case"scalar":for(let l=0;l0||n.emitDefaultValues)&&(i=s)}else switch(e.kind){case"scalar":i=this.scalar(e.T,r,e.name,e.opt,n.emitDefaultValues);break;case"enum":i=this.enum(e.T(),r,e.name,e.opt,n.emitDefaultValues,n.enumAsInteger);break;case"message":i=this.message(e.T(),r,e.name,n);break}return i}enum(e,r,n,i,s,a){if(e[0]=="google.protobuf.NullValue")return!s&&!i?void 0:null;if(r===void 0){ot.assert(i);return}if(!(r===0&&!s&&!i))return ot.assert(typeof r=="number"),ot.assert(Number.isInteger(r)),a||!e[1].hasOwnProperty(r)?r:e[2]?e[2]+e[1][r]:e[1][r]}message(e,r,n,i){return r===void 0?i.emitDefaultValues?null:void 0:e.internalJsonWrite(r,i)}scalar(e,r,n,i,s){if(r===void 0){ot.assert(i);return}let a=s||i;switch(e){case fr.ScalarType.INT32:case fr.ScalarType.SFIXED32:case fr.ScalarType.SINT32:return r===0?a?0:void 0:(ot.assertInt32(r),r);case fr.ScalarType.FIXED32:case fr.ScalarType.UINT32:return r===0?a?0:void 0:(ot.assertUInt32(r),r);case fr.ScalarType.FLOAT:ot.assertFloat32(r);case fr.ScalarType.DOUBLE:return r===0?a?0:void 0:(ot.assert(typeof r=="number"),Number.isNaN(r)?"NaN":r===Number.POSITIVE_INFINITY?"Infinity":r===Number.NEGATIVE_INFINITY?"-Infinity":r);case fr.ScalarType.STRING:return r===""?a?"":void 0:(ot.assert(typeof r=="string"),r);case fr.ScalarType.BOOL:return r===!1?a?!1:void 0:(ot.assert(typeof r=="boolean"),r);case fr.ScalarType.UINT64:case fr.ScalarType.FIXED64:ot.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let c=g$.PbULong.from(r);return c.isZero()&&!a?void 0:c.toString();case fr.ScalarType.INT64:case fr.ScalarType.SFIXED64:case fr.ScalarType.SINT64:ot.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let l=g$.PbLong.from(r);return l.isZero()&&!a?void 0:l.toString();case fr.ScalarType.BYTES:return ot.assert(r instanceof Uint8Array),r.byteLength?rLe.base64encode(r):a?"":void 0}}};sy.ReflectionJsonWriter=Mx});var ay=h(oy=>{"use strict";Object.defineProperty(oy,"__esModule",{value:!0});oy.reflectionScalarDefault=void 0;var Jn=Yn(),f$=ty(),h$=Ws();function nLe(t,e=Jn.LongType.STRING){switch(t){case Jn.ScalarType.BOOL:return!1;case Jn.ScalarType.UINT64:case Jn.ScalarType.FIXED64:return f$.reflectionLongConvert(h$.PbULong.ZERO,e);case Jn.ScalarType.INT64:case Jn.ScalarType.SFIXED64:case Jn.ScalarType.SINT64:return f$.reflectionLongConvert(h$.PbLong.ZERO,e);case Jn.ScalarType.DOUBLE:case Jn.ScalarType.FLOAT:return 0;case Jn.ScalarType.BYTES:return new Uint8Array(0);case Jn.ScalarType.STRING:return"";default:return 0}}o(nLe,"reflectionScalarDefault");oy.reflectionScalarDefault=nLe});var Fx=h(cy=>{"use strict";Object.defineProperty(cy,"__esModule",{value:!0});cy.ReflectionBinaryReader=void 0;var y$=_u(),Qt=Yn(),Fu=ty(),C$=ay(),Lx=class{static{o(this,"ReflectionBinaryReader")}constructor(e){this.info=e}prepare(){var e;if(!this.fieldNoToField){let r=(e=this.info.fields)!==null&&e!==void 0?e:[];this.fieldNoToField=new Map(r.map(n=>[n.no,n]))}}read(e,r,n,i){this.prepare();let s=i===void 0?e.len:e.pos+i;for(;e.pos{"use strict";Object.defineProperty(ly,"__esModule",{value:!0});ly.ReflectionBinaryWriter=void 0;var tn=_u(),Ke=Yn(),gl=dl(),Uu=Ws(),Ux=class{static{o(this,"ReflectionBinaryWriter")}constructor(e){this.info=e}prepare(){if(!this.fields){let e=this.info.fields?this.info.fields.concat():[];this.fields=e.sort((r,n)=>r.no-n.no)}}write(e,r,n){this.prepare();for(let s of this.fields){let a,c,l=s.repeat,A=s.localName;if(s.oneof){let u=e[s.oneof];if(u.oneofKind!==A)continue;a=u[A],c=!0}else a=e[A],c=!1;switch(s.kind){case"scalar":case"enum":let u=s.kind=="enum"?Ke.ScalarType.INT32:s.T;if(l)if(gl.assert(Array.isArray(a)),l==Ke.RepeatType.PACKED)this.packed(r,u,s.no,a);else for(let d of a)this.scalar(r,u,s.no,d,!0);else a===void 0?gl.assert(s.opt):this.scalar(r,u,s.no,a,c||s.opt);break;case"message":if(l){gl.assert(Array.isArray(a));for(let d of a)this.message(r,n,s.T(),s.no,d)}else this.message(r,n,s.T(),s.no,a);break;case"map":gl.assert(typeof a=="object"&&a!==null);for(let[d,g]of Object.entries(a))this.mapEntry(r,n,s,d,g);break}}let i=n.writeUnknownFields;i!==!1&&(i===!0?tn.UnknownFieldHandler.onWrite:i)(this.info.typeName,e,r)}mapEntry(e,r,n,i,s){e.tag(n.no,tn.WireType.LengthDelimited),e.fork();let a=i;switch(n.K){case Ke.ScalarType.INT32:case Ke.ScalarType.FIXED32:case Ke.ScalarType.UINT32:case Ke.ScalarType.SFIXED32:case Ke.ScalarType.SINT32:a=Number.parseInt(i);break;case Ke.ScalarType.BOOL:gl.assert(i=="true"||i=="false"),a=i=="true";break}switch(this.scalar(e,n.K,1,a,!0),n.V.kind){case"scalar":this.scalar(e,n.V.T,2,s,!0);break;case"enum":this.scalar(e,Ke.ScalarType.INT32,2,s,!0);break;case"message":this.message(e,r,n.V.T(),2,s);break}e.join()}message(e,r,n,i,s){s!==void 0&&(n.internalBinaryWrite(s,e.tag(i,tn.WireType.LengthDelimited).fork(),r),e.join())}scalar(e,r,n,i,s){let[a,c,l]=this.scalarInfo(r,i);(!l||s)&&(e.tag(n,a),e[c](i))}packed(e,r,n,i){if(!i.length)return;gl.assert(r!==Ke.ScalarType.BYTES&&r!==Ke.ScalarType.STRING),e.tag(n,tn.WireType.LengthDelimited),e.fork();let[,s]=this.scalarInfo(r);for(let a=0;a{"use strict";Object.defineProperty(Ay,"__esModule",{value:!0});Ay.reflectionCreate=void 0;var iLe=ay(),sLe=Lu();function oLe(t){let e=t.messagePrototype?Object.create(t.messagePrototype):Object.defineProperty({},sLe.MESSAGE_TYPE,{value:t});for(let r of t.fields){let n=r.localName;if(!r.opt)if(r.oneof)e[r.oneof]={oneofKind:void 0};else if(r.repeat)e[n]=[];else switch(r.kind){case"scalar":e[n]=iLe.reflectionScalarDefault(r.T,r.L);break;case"enum":e[n]=0;break;case"map":e[n]={};break}}return e}o(oLe,"reflectionCreate");Ay.reflectionCreate=oLe});var zx=h(uy=>{"use strict";Object.defineProperty(uy,"__esModule",{value:!0});uy.reflectionMergePartial=void 0;function aLe(t,e,r){let n,i=r,s;for(let a of t.fields){let c=a.localName;if(a.oneof){let l=i[a.oneof];if(l?.oneofKind==null)continue;if(n=l[c],s=e[a.oneof],s.oneofKind=l.oneofKind,n==null){delete s[c];continue}}else if(n=i[c],s=e,n==null)continue;switch(a.repeat&&(s[c].length=n.length),a.kind){case"scalar":case"enum":if(a.repeat)for(let A=0;A{"use strict";Object.defineProperty(py,"__esModule",{value:!0});py.reflectionEquals=void 0;var jx=Yn();function cLe(t,e,r){if(e===r)return!0;if(!e||!r)return!1;for(let n of t.fields){let i=n.localName,s=n.oneof?e[n.oneof][i]:e[i],a=n.oneof?r[n.oneof][i]:r[i];switch(n.kind){case"enum":case"scalar":let c=n.kind=="enum"?jx.ScalarType.INT32:n.T;if(!(n.repeat?E$(c,s,a):I$(c,s,a)))return!1;break;case"map":if(!(n.V.kind=="message"?B$(n.V.T(),dy(s),dy(a)):E$(n.V.kind=="enum"?jx.ScalarType.INT32:n.V.T,dy(s),dy(a))))return!1;break;case"message":let l=n.T();if(!(n.repeat?B$(l,s,a):l.equals(s,a)))return!1;break}}return!0}o(cLe,"reflectionEquals");py.reflectionEquals=cLe;var dy=Object.values;function I$(t,e,r){if(e===r)return!0;if(t!==jx.ScalarType.BYTES)return!1;let n=e,i=r;if(n.length!==i.length)return!1;for(let s=0;s{"use strict";Object.defineProperty(my,"__esModule",{value:!0});my.MessageType=void 0;var lLe=Lu(),ALe=Yn(),uLe=Dx(),dLe=Ox(),pLe=kx(),mLe=Fx(),gLe=qx(),fLe=Hx(),Yx=zx(),hLe=Uh(),b$=vx(),yLe=Gx(),CLe=xx(),ELe=Sx(),Q$=Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})),BLe=Q$[lLe.MESSAGE_TYPE]={},Jx=class{static{o(this,"MessageType")}constructor(e,r,n){this.defaultCheckDepth=16,this.typeName=e,this.fields=r.map(ALe.normalizeFieldInfo),this.options=n??{},BLe.value=this,this.messagePrototype=Object.create(null,Q$),this.refTypeCheck=new uLe.ReflectionTypeCheck(this),this.refJsonReader=new dLe.ReflectionJsonReader(this),this.refJsonWriter=new pLe.ReflectionJsonWriter(this),this.refBinReader=new mLe.ReflectionBinaryReader(this),this.refBinWriter=new gLe.ReflectionBinaryWriter(this)}create(e){let r=fLe.reflectionCreate(this);return e!==void 0&&Yx.reflectionMergePartial(this,r,e),r}clone(e){let r=this.create();return Yx.reflectionMergePartial(this,r,e),r}equals(e,r){return yLe.reflectionEquals(this,e,r)}is(e,r=this.defaultCheckDepth){return this.refTypeCheck.is(e,r,!1)}isAssignable(e,r=this.defaultCheckDepth){return this.refTypeCheck.is(e,r,!0)}mergePartial(e,r){Yx.reflectionMergePartial(this,e,r)}fromBinary(e,r){let n=ELe.binaryReadOptions(r);return this.internalBinaryRead(n.readerFactory(e),e.byteLength,n)}fromJson(e,r){return this.internalJsonRead(e,b$.jsonReadOptions(r))}fromJsonString(e,r){let n=JSON.parse(e);return this.fromJson(n,r)}toJson(e,r){return this.internalJsonWrite(e,b$.jsonWriteOptions(r))}toJsonString(e,r){var n;let i=this.toJson(e,r);return JSON.stringify(i,null,(n=r?.prettySpaces)!==null&&n!==void 0?n:0)}toBinary(e,r){let n=CLe.binaryWriteOptions(r);return this.internalBinaryWrite(e,n.writerFactory(),n).finish()}internalJsonRead(e,r,n){if(e!==null&&typeof e=="object"&&!Array.isArray(e)){let i=n??this.create();return this.refJsonReader.read(e,i,r),i}throw new Error(`Unable to parse message ${this.typeName} from JSON ${hLe.typeofJsonValue(e)}.`)}internalJsonWrite(e,r){return this.refJsonWriter.write(e,r)}internalBinaryWrite(e,r,n){return this.refBinWriter.write(e,r,n),r}internalBinaryRead(e,r,n,i){let s=i??this.create();return this.refBinReader.read(e,s,n,r),s}};my.MessageType=Jx});var N$=h(gy=>{"use strict";Object.defineProperty(gy,"__esModule",{value:!0});gy.containsMessageType=void 0;var ILe=Lu();function bLe(t){return t[ILe.MESSAGE_TYPE]!=null}o(bLe,"containsMessageType");gy.containsMessageType=bLe});var x$=h(xi=>{"use strict";Object.defineProperty(xi,"__esModule",{value:!0});xi.listEnumNumbers=xi.listEnumNames=xi.listEnumValues=xi.isEnumObject=void 0;function S$(t){if(typeof t!="object"||t===null||!t.hasOwnProperty(0))return!1;for(let e of Object.keys(t)){let r=parseInt(e);if(Number.isNaN(r)){let n=t[e];if(n===void 0||typeof n!="number"||t[n]===void 0)return!1}else{let n=t[r];if(n===void 0||t[n]!==r)return!1}}return!0}o(S$,"isEnumObject");xi.isEnumObject=S$;function Vx(t){if(!S$(t))throw new Error("not a typescript enum object");let e=[];for(let[r,n]of Object.entries(t))typeof n=="number"&&e.push({name:r,number:n});return e}o(Vx,"listEnumValues");xi.listEnumValues=Vx;function QLe(t){return Vx(t).map(e=>e.name)}o(QLe,"listEnumNames");xi.listEnumNames=QLe;function wLe(t){return Vx(t).map(e=>e.number).filter((e,r,n)=>n.indexOf(e)==r)}o(wLe,"listEnumNumbers");xi.listEnumNumbers=wLe});var wt=h(re=>{"use strict";Object.defineProperty(re,"__esModule",{value:!0});var v$=Uh();Object.defineProperty(re,"typeofJsonValue",{enumerable:!0,get:function(){return v$.typeofJsonValue}});Object.defineProperty(re,"isJsonObject",{enumerable:!0,get:function(){return v$.isJsonObject}});var R$=Hh();Object.defineProperty(re,"base64decode",{enumerable:!0,get:function(){return R$.base64decode}});Object.defineProperty(re,"base64encode",{enumerable:!0,get:function(){return R$.base64encode}});var NLe=r$();Object.defineProperty(re,"utf8read",{enumerable:!0,get:function(){return NLe.utf8read}});var Wx=_u();Object.defineProperty(re,"WireType",{enumerable:!0,get:function(){return Wx.WireType}});Object.defineProperty(re,"mergeBinaryOptions",{enumerable:!0,get:function(){return Wx.mergeBinaryOptions}});Object.defineProperty(re,"UnknownFieldHandler",{enumerable:!0,get:function(){return Wx.UnknownFieldHandler}});var _$=Sx();Object.defineProperty(re,"BinaryReader",{enumerable:!0,get:function(){return _$.BinaryReader}});Object.defineProperty(re,"binaryReadOptions",{enumerable:!0,get:function(){return _$.binaryReadOptions}});var P$=xx();Object.defineProperty(re,"BinaryWriter",{enumerable:!0,get:function(){return P$.BinaryWriter}});Object.defineProperty(re,"binaryWriteOptions",{enumerable:!0,get:function(){return P$.binaryWriteOptions}});var D$=Ws();Object.defineProperty(re,"PbLong",{enumerable:!0,get:function(){return D$.PbLong}});Object.defineProperty(re,"PbULong",{enumerable:!0,get:function(){return D$.PbULong}});var Kx=vx();Object.defineProperty(re,"jsonReadOptions",{enumerable:!0,get:function(){return Kx.jsonReadOptions}});Object.defineProperty(re,"jsonWriteOptions",{enumerable:!0,get:function(){return Kx.jsonWriteOptions}});Object.defineProperty(re,"mergeJsonOptions",{enumerable:!0,get:function(){return Kx.mergeJsonOptions}});var SLe=Lu();Object.defineProperty(re,"MESSAGE_TYPE",{enumerable:!0,get:function(){return SLe.MESSAGE_TYPE}});var xLe=w$();Object.defineProperty(re,"MessageType",{enumerable:!0,get:function(){return xLe.MessageType}});var Zo=Yn();Object.defineProperty(re,"ScalarType",{enumerable:!0,get:function(){return Zo.ScalarType}});Object.defineProperty(re,"LongType",{enumerable:!0,get:function(){return Zo.LongType}});Object.defineProperty(re,"RepeatType",{enumerable:!0,get:function(){return Zo.RepeatType}});Object.defineProperty(re,"normalizeFieldInfo",{enumerable:!0,get:function(){return Zo.normalizeFieldInfo}});Object.defineProperty(re,"readFieldOptions",{enumerable:!0,get:function(){return Zo.readFieldOptions}});Object.defineProperty(re,"readFieldOption",{enumerable:!0,get:function(){return Zo.readFieldOption}});Object.defineProperty(re,"readMessageOption",{enumerable:!0,get:function(){return Zo.readMessageOption}});var vLe=Dx();Object.defineProperty(re,"ReflectionTypeCheck",{enumerable:!0,get:function(){return vLe.ReflectionTypeCheck}});var RLe=Hx();Object.defineProperty(re,"reflectionCreate",{enumerable:!0,get:function(){return RLe.reflectionCreate}});var _Le=ay();Object.defineProperty(re,"reflectionScalarDefault",{enumerable:!0,get:function(){return _Le.reflectionScalarDefault}});var PLe=zx();Object.defineProperty(re,"reflectionMergePartial",{enumerable:!0,get:function(){return PLe.reflectionMergePartial}});var DLe=Gx();Object.defineProperty(re,"reflectionEquals",{enumerable:!0,get:function(){return DLe.reflectionEquals}});var TLe=Fx();Object.defineProperty(re,"ReflectionBinaryReader",{enumerable:!0,get:function(){return TLe.ReflectionBinaryReader}});var OLe=qx();Object.defineProperty(re,"ReflectionBinaryWriter",{enumerable:!0,get:function(){return OLe.ReflectionBinaryWriter}});var MLe=Ox();Object.defineProperty(re,"ReflectionJsonReader",{enumerable:!0,get:function(){return MLe.ReflectionJsonReader}});var kLe=kx();Object.defineProperty(re,"ReflectionJsonWriter",{enumerable:!0,get:function(){return kLe.ReflectionJsonWriter}});var LLe=N$();Object.defineProperty(re,"containsMessageType",{enumerable:!0,get:function(){return LLe.containsMessageType}});var qu=_x();Object.defineProperty(re,"isOneofGroup",{enumerable:!0,get:function(){return qu.isOneofGroup}});Object.defineProperty(re,"setOneofValue",{enumerable:!0,get:function(){return qu.setOneofValue}});Object.defineProperty(re,"getOneofValue",{enumerable:!0,get:function(){return qu.getOneofValue}});Object.defineProperty(re,"clearOneofValue",{enumerable:!0,get:function(){return qu.clearOneofValue}});Object.defineProperty(re,"getSelectedOneofValue",{enumerable:!0,get:function(){return qu.getSelectedOneofValue}});var fy=x$();Object.defineProperty(re,"listEnumValues",{enumerable:!0,get:function(){return fy.listEnumValues}});Object.defineProperty(re,"listEnumNames",{enumerable:!0,get:function(){return fy.listEnumNames}});Object.defineProperty(re,"listEnumNumbers",{enumerable:!0,get:function(){return fy.listEnumNumbers}});Object.defineProperty(re,"isEnumObject",{enumerable:!0,get:function(){return fy.isEnumObject}});var FLe=Rx();Object.defineProperty(re,"lowerCamelCase",{enumerable:!0,get:function(){return FLe.lowerCamelCase}});var Hu=dl();Object.defineProperty(re,"assert",{enumerable:!0,get:function(){return Hu.assert}});Object.defineProperty(re,"assertNever",{enumerable:!0,get:function(){return Hu.assertNever}});Object.defineProperty(re,"assertInt32",{enumerable:!0,get:function(){return Hu.assertInt32}});Object.defineProperty(re,"assertUInt32",{enumerable:!0,get:function(){return Hu.assertUInt32}});Object.defineProperty(re,"assertFloat32",{enumerable:!0,get:function(){return Hu.assertFloat32}})});var $x=h(vi=>{"use strict";Object.defineProperty(vi,"__esModule",{value:!0});vi.readServiceOption=vi.readMethodOption=vi.readMethodOptions=vi.normalizeMethodInfo=void 0;var ULe=wt();function qLe(t,e){var r,n,i;let s=t;return s.service=e,s.localName=(r=s.localName)!==null&&r!==void 0?r:ULe.lowerCamelCase(s.name),s.serverStreaming=!!s.serverStreaming,s.clientStreaming=!!s.clientStreaming,s.options=(n=s.options)!==null&&n!==void 0?n:{},s.idempotency=(i=s.idempotency)!==null&&i!==void 0?i:void 0,s}o(qLe,"normalizeMethodInfo");vi.normalizeMethodInfo=qLe;function HLe(t,e,r,n){var i;let s=(i=t.methods.find((a,c)=>a.localName===e||c===e))===null||i===void 0?void 0:i.options;return s&&s[r]?n.fromJson(s[r]):void 0}o(HLe,"readMethodOptions");vi.readMethodOptions=HLe;function zLe(t,e,r,n){var i;let s=(i=t.methods.find((c,l)=>c.localName===e||l===e))===null||i===void 0?void 0:i.options;if(!s)return;let a=s[r];return a===void 0?a:n?n.fromJson(a):a}o(zLe,"readMethodOption");vi.readMethodOption=zLe;function jLe(t,e,r){let n=t.options;if(!n)return;let i=n[e];return i===void 0?i:r?r.fromJson(i):i}o(jLe,"readServiceOption");vi.readServiceOption=jLe});var T$=h(hy=>{"use strict";Object.defineProperty(hy,"__esModule",{value:!0});hy.ServiceType=void 0;var GLe=$x(),Xx=class{static{o(this,"ServiceType")}constructor(e,r,n){this.typeName=e,this.methods=r.map(i=>GLe.normalizeMethodInfo(i,this)),this.options=n??{}}};hy.ServiceType=Xx});var ev=h(yy=>{"use strict";Object.defineProperty(yy,"__esModule",{value:!0});yy.RpcError=void 0;var Zx=class extends Error{static{o(this,"RpcError")}constructor(e,r="UNKNOWN",n){super(e),this.name="RpcError",Object.setPrototypeOf(this,new.target.prototype),this.code=r,this.meta=n??{}}toString(){let e=[this.name+": "+this.message];this.code&&(e.push(""),e.push("Code: "+this.code)),this.serviceName&&this.methodName&&e.push("Method: "+this.serviceName+"/"+this.methodName);let r=Object.entries(this.meta);if(r.length){e.push(""),e.push("Meta:");for(let[n,i]of r)e.push(` ${n}: ${i}`)}return e.join(` -`)}};yy.RpcError=Zx});var tv=h(Ey=>{"use strict";Object.defineProperty(Ey,"__esModule",{value:!0});Ey.mergeRpcOptions=void 0;var O$=wt();function YLe(t,e){if(!e)return t;let r={};Cy(t,r),Cy(e,r);for(let n of Object.keys(e)){let i=e[n];switch(n){case"jsonOptions":r.jsonOptions=O$.mergeJsonOptions(t.jsonOptions,r.jsonOptions);break;case"binaryOptions":r.binaryOptions=O$.mergeBinaryOptions(t.binaryOptions,r.binaryOptions);break;case"meta":r.meta={},Cy(t.meta,r.meta),Cy(e.meta,r.meta);break;case"interceptors":r.interceptors=t.interceptors?t.interceptors.concat(i):i.concat();break}}return r}o(YLe,"mergeRpcOptions");Ey.mergeRpcOptions=YLe;function Cy(t,e){if(!t)return;let r=e;for(let[n,i]of Object.entries(t))i instanceof Date?r[n]=new Date(i.getTime()):Array.isArray(i)?r[n]=i.concat():r[n]=i}o(Cy,"copy")});var nv=h(ea=>{"use strict";Object.defineProperty(ea,"__esModule",{value:!0});ea.Deferred=ea.DeferredState=void 0;var Ri;(function(t){t[t.PENDING=0]="PENDING",t[t.REJECTED=1]="REJECTED",t[t.RESOLVED=2]="RESOLVED"})(Ri=ea.DeferredState||(ea.DeferredState={}));var rv=class{static{o(this,"Deferred")}constructor(e=!0){this._state=Ri.PENDING,this._promise=new Promise((r,n)=>{this._resolve=r,this._reject=n}),e&&this._promise.catch(r=>{})}get state(){return this._state}get promise(){return this._promise}resolve(e){if(this.state!==Ri.PENDING)throw new Error(`cannot resolve ${Ri[this.state].toLowerCase()}`);this._resolve(e),this._state=Ri.RESOLVED}reject(e){if(this.state!==Ri.PENDING)throw new Error(`cannot reject ${Ri[this.state].toLowerCase()}`);this._reject(e),this._state=Ri.REJECTED}resolvePending(e){this._state===Ri.PENDING&&this.resolve(e)}rejectPending(e){this._state===Ri.PENDING&&this.reject(e)}};ea.Deferred=rv});var sv=h(By=>{"use strict";Object.defineProperty(By,"__esModule",{value:!0});By.RpcOutputStreamController=void 0;var M$=nv(),ta=wt(),iv=class{static{o(this,"RpcOutputStreamController")}constructor(){this._lis={nxt:[],msg:[],err:[],cmp:[]},this._closed=!1,this._itState={q:[]}}onNext(e){return this.addLis(e,this._lis.nxt)}onMessage(e){return this.addLis(e,this._lis.msg)}onError(e){return this.addLis(e,this._lis.err)}onComplete(e){return this.addLis(e,this._lis.cmp)}addLis(e,r){return r.push(e),()=>{let n=r.indexOf(e);n>=0&&r.splice(n,1)}}clearLis(){for(let e of Object.values(this._lis))e.splice(0,e.length)}get closed(){return this._closed!==!1}notifyNext(e,r,n){ta.assert((e?1:0)+(r?1:0)+(n?1:0)<=1,"only one emission at a time"),e&&this.notifyMessage(e),r&&this.notifyError(r),n&&this.notifyComplete()}notifyMessage(e){ta.assert(!this.closed,"stream is closed"),this.pushIt({value:e,done:!1}),this._lis.msg.forEach(r=>r(e)),this._lis.nxt.forEach(r=>r(e,void 0,!1))}notifyError(e){ta.assert(!this.closed,"stream is closed"),this._closed=e,this.pushIt(e),this._lis.err.forEach(r=>r(e)),this._lis.nxt.forEach(r=>r(void 0,e,!1)),this.clearLis()}notifyComplete(){ta.assert(!this.closed,"stream is closed"),this._closed=!0,this.pushIt({value:null,done:!0}),this._lis.cmp.forEach(e=>e()),this._lis.nxt.forEach(e=>e(void 0,void 0,!0)),this.clearLis()}[Symbol.asyncIterator](){return this._closed===!0?this.pushIt({value:null,done:!0}):this._closed!==!1&&this.pushIt(this._closed),{next:()=>{let e=this._itState;ta.assert(e,"bad state"),ta.assert(!e.p,"iterator contract broken");let r=e.q.shift();return r?"value"in r?Promise.resolve(r):Promise.reject(r):(e.p=new M$.Deferred,e.p.promise)}}}pushIt(e){let r=this._itState;if(r.p){let n=r.p;ta.assert(n.state==M$.DeferredState.PENDING,"iterator contract broken"),"value"in e?n.resolve(e):n.reject(e),delete r.p}else r.q.push(e)}};By.RpcOutputStreamController=iv});var av=h(fl=>{"use strict";var JLe=fl&&fl.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(fl,"__esModule",{value:!0});fl.UnaryCall=void 0;var ov=class{static{o(this,"UnaryCall")}constructor(e,r,n,i,s,a,c){this.method=e,this.requestHeaders=r,this.request=n,this.headers=i,this.response=s,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return JLe(this,void 0,void 0,function*(){let[e,r,n,i]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:e,response:r,status:n,trailers:i}})}};fl.UnaryCall=ov});var lv=h(hl=>{"use strict";var VLe=hl&&hl.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(hl,"__esModule",{value:!0});hl.ServerStreamingCall=void 0;var cv=class{static{o(this,"ServerStreamingCall")}constructor(e,r,n,i,s,a,c){this.method=e,this.requestHeaders=r,this.request=n,this.headers=i,this.responses=s,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return VLe(this,void 0,void 0,function*(){let[e,r,n]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:e,status:r,trailers:n}})}};hl.ServerStreamingCall=cv});var uv=h(yl=>{"use strict";var WLe=yl&&yl.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(yl,"__esModule",{value:!0});yl.ClientStreamingCall=void 0;var Av=class{static{o(this,"ClientStreamingCall")}constructor(e,r,n,i,s,a,c){this.method=e,this.requestHeaders=r,this.requests=n,this.headers=i,this.response=s,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return WLe(this,void 0,void 0,function*(){let[e,r,n,i]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:e,response:r,status:n,trailers:i}})}};yl.ClientStreamingCall=Av});var pv=h(Cl=>{"use strict";var KLe=Cl&&Cl.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(Cl,"__esModule",{value:!0});Cl.DuplexStreamingCall=void 0;var dv=class{static{o(this,"DuplexStreamingCall")}constructor(e,r,n,i,s,a,c){this.method=e,this.requestHeaders=r,this.requests=n,this.headers=i,this.responses=s,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return KLe(this,void 0,void 0,function*(){let[e,r,n]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:e,status:r,trailers:n}})}};Cl.DuplexStreamingCall=dv});var L$=h(Il=>{"use strict";var $Le=Il&&Il.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(Il,"__esModule",{value:!0});Il.TestTransport=void 0;var Sn=ev(),Iy=wt(),k$=sv(),XLe=tv(),ZLe=av(),eFe=lv(),tFe=uv(),rFe=pv(),Bl=class t{static{o(this,"TestTransport")}constructor(e){this.suppressUncaughtRejections=!0,this.headerDelay=10,this.responseDelay=50,this.betweenResponseDelay=10,this.afterResponseDelay=10,this.data=e??{}}get sentMessages(){return this.lastInput instanceof El?this.lastInput.sent:typeof this.lastInput=="object"?[this.lastInput.single]:[]}get sendComplete(){return this.lastInput instanceof El?this.lastInput.completed:typeof this.lastInput=="object"}promiseHeaders(){var e;let r=(e=this.data.headers)!==null&&e!==void 0?e:t.defaultHeaders;return r instanceof Sn.RpcError?Promise.reject(r):Promise.resolve(r)}promiseSingleResponse(e){if(this.data.response instanceof Sn.RpcError)return Promise.reject(this.data.response);let r;return Array.isArray(this.data.response)?(Iy.assert(this.data.response.length>0),r=this.data.response[0]):this.data.response!==void 0?r=this.data.response:r=e.O.create(),Iy.assert(e.O.is(r)),Promise.resolve(r)}streamResponses(e,r,n){return $Le(this,void 0,void 0,function*(){let i=[];if(this.data.response===void 0)i.push(e.O.create());else if(Array.isArray(this.data.response))for(let s of this.data.response)Iy.assert(e.O.is(s)),i.push(s);else this.data.response instanceof Sn.RpcError||(Iy.assert(e.O.is(this.data.response)),i.push(this.data.response));try{yield jt(this.responseDelay,n)(void 0)}catch(s){r.notifyError(s);return}if(this.data.response instanceof Sn.RpcError){r.notifyError(this.data.response);return}for(let s of i){r.notifyMessage(s);try{yield jt(this.betweenResponseDelay,n)(void 0)}catch(a){r.notifyError(a);return}}if(this.data.status instanceof Sn.RpcError){r.notifyError(this.data.status);return}if(this.data.trailers instanceof Sn.RpcError){r.notifyError(this.data.trailers);return}r.notifyComplete()})}promiseStatus(){var e;let r=(e=this.data.status)!==null&&e!==void 0?e:t.defaultStatus;return r instanceof Sn.RpcError?Promise.reject(r):Promise.resolve(r)}promiseTrailers(){var e;let r=(e=this.data.trailers)!==null&&e!==void 0?e:t.defaultTrailers;return r instanceof Sn.RpcError?Promise.reject(r):Promise.resolve(r)}maybeSuppressUncaught(...e){if(this.suppressUncaughtRejections)for(let r of e)r.catch(()=>{})}mergeOptions(e){return XLe.mergeRpcOptions({},e)}unary(e,r,n){var i;let s=(i=n.meta)!==null&&i!==void 0?i:{},a=this.promiseHeaders().then(jt(this.headerDelay,n.abort)),c=a.catch(u=>{}).then(jt(this.responseDelay,n.abort)).then(u=>this.promiseSingleResponse(e)),l=c.catch(u=>{}).then(jt(this.afterResponseDelay,n.abort)).then(u=>this.promiseStatus()),A=c.catch(u=>{}).then(jt(this.afterResponseDelay,n.abort)).then(u=>this.promiseTrailers());return this.maybeSuppressUncaught(l,A),this.lastInput={single:r},new ZLe.UnaryCall(e,s,r,a,c,l,A)}serverStreaming(e,r,n){var i;let s=(i=n.meta)!==null&&i!==void 0?i:{},a=this.promiseHeaders().then(jt(this.headerDelay,n.abort)),c=new k$.RpcOutputStreamController,l=a.then(jt(this.responseDelay,n.abort)).catch(()=>{}).then(()=>this.streamResponses(e,c,n.abort)).then(jt(this.afterResponseDelay,n.abort)),A=l.then(()=>this.promiseStatus()),u=l.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(A,u),this.lastInput={single:r},new eFe.ServerStreamingCall(e,s,r,a,c,A,u)}clientStreaming(e,r){var n;let i=(n=r.meta)!==null&&n!==void 0?n:{},s=this.promiseHeaders().then(jt(this.headerDelay,r.abort)),a=s.catch(A=>{}).then(jt(this.responseDelay,r.abort)).then(A=>this.promiseSingleResponse(e)),c=a.catch(A=>{}).then(jt(this.afterResponseDelay,r.abort)).then(A=>this.promiseStatus()),l=a.catch(A=>{}).then(jt(this.afterResponseDelay,r.abort)).then(A=>this.promiseTrailers());return this.maybeSuppressUncaught(c,l),this.lastInput=new El(this.data,r.abort),new tFe.ClientStreamingCall(e,i,this.lastInput,s,a,c,l)}duplex(e,r){var n;let i=(n=r.meta)!==null&&n!==void 0?n:{},s=this.promiseHeaders().then(jt(this.headerDelay,r.abort)),a=new k$.RpcOutputStreamController,c=s.then(jt(this.responseDelay,r.abort)).catch(()=>{}).then(()=>this.streamResponses(e,a,r.abort)).then(jt(this.afterResponseDelay,r.abort)),l=c.then(()=>this.promiseStatus()),A=c.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(l,A),this.lastInput=new El(this.data,r.abort),new rFe.DuplexStreamingCall(e,i,this.lastInput,s,a,l,A)}};Il.TestTransport=Bl;Bl.defaultHeaders={responseHeader:"test"};Bl.defaultStatus={code:"OK",detail:"all good"};Bl.defaultTrailers={responseTrailer:"test"};function jt(t,e){return r=>new Promise((n,i)=>{if(e?.aborted)i(new Sn.RpcError("user cancel","CANCELLED"));else{let s=setTimeout(()=>n(r),t);e&&e.addEventListener("abort",a=>{clearTimeout(s),i(new Sn.RpcError("user cancel","CANCELLED"))})}})}o(jt,"delay");var El=class{static{o(this,"TestInputStream")}constructor(e,r){this._completed=!1,this._sent=[],this.data=e,this.abort=r}get sent(){return this._sent}get completed(){return this._completed}send(e){if(this.data.inputMessage instanceof Sn.RpcError)return Promise.reject(this.data.inputMessage);let r=this.data.inputMessage===void 0?10:this.data.inputMessage;return Promise.resolve(void 0).then(()=>{this._sent.push(e)}).then(jt(r,this.abort))}complete(){if(this.data.inputComplete instanceof Sn.RpcError)return Promise.reject(this.data.inputComplete);let e=this.data.inputComplete===void 0?10:this.data.inputComplete;return Promise.resolve(void 0).then(()=>{this._completed=!0}).then(jt(e,this.abort))}}});var F$=h(xn=>{"use strict";Object.defineProperty(xn,"__esModule",{value:!0});xn.stackDuplexStreamingInterceptors=xn.stackClientStreamingInterceptors=xn.stackServerStreamingInterceptors=xn.stackUnaryInterceptors=xn.stackIntercept=void 0;var nFe=wt();function zu(t,e,r,n,i){var s,a,c,l;if(t=="unary"){let A=o((u,d,g)=>e.unary(u,d,g),"tail");for(let u of((s=n.interceptors)!==null&&s!==void 0?s:[]).filter(d=>d.interceptUnary).reverse()){let d=A;A=o((g,f,C)=>u.interceptUnary(d,g,f,C),"tail")}return A(r,i,n)}if(t=="serverStreaming"){let A=o((u,d,g)=>e.serverStreaming(u,d,g),"tail");for(let u of((a=n.interceptors)!==null&&a!==void 0?a:[]).filter(d=>d.interceptServerStreaming).reverse()){let d=A;A=o((g,f,C)=>u.interceptServerStreaming(d,g,f,C),"tail")}return A(r,i,n)}if(t=="clientStreaming"){let A=o((u,d)=>e.clientStreaming(u,d),"tail");for(let u of((c=n.interceptors)!==null&&c!==void 0?c:[]).filter(d=>d.interceptClientStreaming).reverse()){let d=A;A=o((g,f)=>u.interceptClientStreaming(d,g,f),"tail")}return A(r,n)}if(t=="duplex"){let A=o((u,d)=>e.duplex(u,d),"tail");for(let u of((l=n.interceptors)!==null&&l!==void 0?l:[]).filter(d=>d.interceptDuplex).reverse()){let d=A;A=o((g,f)=>u.interceptDuplex(d,g,f),"tail")}return A(r,n)}nFe.assertNever(t)}o(zu,"stackIntercept");xn.stackIntercept=zu;function iFe(t,e,r,n){return zu("unary",t,e,n,r)}o(iFe,"stackUnaryInterceptors");xn.stackUnaryInterceptors=iFe;function sFe(t,e,r,n){return zu("serverStreaming",t,e,n,r)}o(sFe,"stackServerStreamingInterceptors");xn.stackServerStreamingInterceptors=sFe;function oFe(t,e,r){return zu("clientStreaming",t,e,r)}o(oFe,"stackClientStreamingInterceptors");xn.stackClientStreamingInterceptors=oFe;function aFe(t,e,r){return zu("duplex",t,e,r)}o(aFe,"stackDuplexStreamingInterceptors");xn.stackDuplexStreamingInterceptors=aFe});var U$=h(by=>{"use strict";Object.defineProperty(by,"__esModule",{value:!0});by.ServerCallContextController=void 0;var mv=class{static{o(this,"ServerCallContextController")}constructor(e,r,n,i,s={code:"OK",detail:""}){this._cancelled=!1,this._listeners=[],this.method=e,this.headers=r,this.deadline=n,this.trailers={},this._sendRH=i,this.status=s}notifyCancelled(){if(!this._cancelled){this._cancelled=!0;for(let e of this._listeners)e()}}sendResponseHeaders(e){this._sendRH(e)}get cancelled(){return this._cancelled}onCancel(e){let r=this._listeners;return r.push(e),()=>{let n=r.indexOf(e);n>=0&&r.splice(n,1)}}};by.ServerCallContextController=mv});var H$=h(Ct=>{"use strict";Object.defineProperty(Ct,"__esModule",{value:!0});var cFe=T$();Object.defineProperty(Ct,"ServiceType",{enumerable:!0,get:function(){return cFe.ServiceType}});var gv=$x();Object.defineProperty(Ct,"readMethodOptions",{enumerable:!0,get:function(){return gv.readMethodOptions}});Object.defineProperty(Ct,"readMethodOption",{enumerable:!0,get:function(){return gv.readMethodOption}});Object.defineProperty(Ct,"readServiceOption",{enumerable:!0,get:function(){return gv.readServiceOption}});var lFe=ev();Object.defineProperty(Ct,"RpcError",{enumerable:!0,get:function(){return lFe.RpcError}});var AFe=tv();Object.defineProperty(Ct,"mergeRpcOptions",{enumerable:!0,get:function(){return AFe.mergeRpcOptions}});var uFe=sv();Object.defineProperty(Ct,"RpcOutputStreamController",{enumerable:!0,get:function(){return uFe.RpcOutputStreamController}});var dFe=L$();Object.defineProperty(Ct,"TestTransport",{enumerable:!0,get:function(){return dFe.TestTransport}});var q$=nv();Object.defineProperty(Ct,"Deferred",{enumerable:!0,get:function(){return q$.Deferred}});Object.defineProperty(Ct,"DeferredState",{enumerable:!0,get:function(){return q$.DeferredState}});var pFe=pv();Object.defineProperty(Ct,"DuplexStreamingCall",{enumerable:!0,get:function(){return pFe.DuplexStreamingCall}});var mFe=uv();Object.defineProperty(Ct,"ClientStreamingCall",{enumerable:!0,get:function(){return mFe.ClientStreamingCall}});var gFe=lv();Object.defineProperty(Ct,"ServerStreamingCall",{enumerable:!0,get:function(){return gFe.ServerStreamingCall}});var fFe=av();Object.defineProperty(Ct,"UnaryCall",{enumerable:!0,get:function(){return fFe.UnaryCall}});var ju=F$();Object.defineProperty(Ct,"stackIntercept",{enumerable:!0,get:function(){return ju.stackIntercept}});Object.defineProperty(Ct,"stackDuplexStreamingInterceptors",{enumerable:!0,get:function(){return ju.stackDuplexStreamingInterceptors}});Object.defineProperty(Ct,"stackClientStreamingInterceptors",{enumerable:!0,get:function(){return ju.stackClientStreamingInterceptors}});Object.defineProperty(Ct,"stackServerStreamingInterceptors",{enumerable:!0,get:function(){return ju.stackServerStreamingInterceptors}});Object.defineProperty(Ct,"stackUnaryInterceptors",{enumerable:!0,get:function(){return ju.stackUnaryInterceptors}});var hFe=U$();Object.defineProperty(Ct,"ServerCallContextController",{enumerable:!0,get:function(){return hFe.ServerCallContextController}})});var G$=h(Qy=>{"use strict";Object.defineProperty(Qy,"__esModule",{value:!0});Qy.CacheScope=void 0;var z$=wt(),j$=wt(),yFe=wt(),CFe=wt(),EFe=wt(),fv=class extends EFe.MessageType{static{o(this,"CacheScope$Type")}constructor(){super("github.actions.results.entities.v1.CacheScope",[{no:1,name:"scope",kind:"scalar",T:9},{no:2,name:"permission",kind:"scalar",T:3}])}create(e){let r={scope:"",permission:"0"};return globalThis.Object.defineProperty(r,CFe.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,yFe.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos{"use strict";Object.defineProperty(wy,"__esModule",{value:!0});wy.CacheMetadata=void 0;var Y$=wt(),J$=wt(),BFe=wt(),IFe=wt(),bFe=wt(),hv=G$(),yv=class extends bFe.MessageType{static{o(this,"CacheMetadata$Type")}constructor(){super("github.actions.results.entities.v1.CacheMetadata",[{no:1,name:"repository_id",kind:"scalar",T:3},{no:2,name:"scope",kind:"message",repeat:1,T:()=>hv.CacheScope}])}create(e){let r={repositoryId:"0",scope:[]};return globalThis.Object.defineProperty(r,IFe.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,BFe.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos{"use strict";Object.defineProperty(Et,"__esModule",{value:!0});Et.CacheService=Et.GetCacheEntryDownloadURLResponse=Et.GetCacheEntryDownloadURLRequest=Et.FinalizeCacheEntryUploadResponse=Et.FinalizeCacheEntryUploadRequest=Et.CreateCacheEntryResponse=Et.CreateCacheEntryRequest=void 0;var QFe=H$(),Rt=wt(),vn=wt(),bl=wt(),Ql=wt(),wl=wt(),ss=V$(),Cv=class extends wl.MessageType{static{o(this,"CreateCacheEntryRequest$Type")}constructor(){super("github.actions.results.api.v1.CreateCacheEntryRequest",[{no:1,name:"metadata",kind:"message",T:()=>ss.CacheMetadata},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"version",kind:"scalar",T:9}])}create(e){let r={key:"",version:""};return globalThis.Object.defineProperty(r,Ql.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,bl.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.posss.CacheMetadata},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"size_bytes",kind:"scalar",T:3},{no:4,name:"version",kind:"scalar",T:9}])}create(e){let r={key:"",sizeBytes:"0",version:""};return globalThis.Object.defineProperty(r,Ql.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,bl.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.posss.CacheMetadata},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"restore_keys",kind:"scalar",repeat:2,T:9},{no:4,name:"version",kind:"scalar",T:9}])}create(e){let r={key:"",restoreKeys:[],version:""};return globalThis.Object.defineProperty(r,Ql.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,bl.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos{"use strict";Object.defineProperty(Nl,"__esModule",{value:!0});Nl.CacheServiceClientProtobuf=Nl.CacheServiceClientJSON=void 0;var Rn=W$(),wv=class{static{o(this,"CacheServiceClientJSON")}constructor(e){this.rpc=e,this.CreateCacheEntry.bind(this),this.FinalizeCacheEntryUpload.bind(this),this.GetCacheEntryDownloadURL.bind(this)}CreateCacheEntry(e){let r=Rn.CreateCacheEntryRequest.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","CreateCacheEntry","application/json",r).then(i=>Rn.CreateCacheEntryResponse.fromJson(i,{ignoreUnknownFields:!0}))}FinalizeCacheEntryUpload(e){let r=Rn.FinalizeCacheEntryUploadRequest.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/json",r).then(i=>Rn.FinalizeCacheEntryUploadResponse.fromJson(i,{ignoreUnknownFields:!0}))}GetCacheEntryDownloadURL(e){let r=Rn.GetCacheEntryDownloadURLRequest.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/json",r).then(i=>Rn.GetCacheEntryDownloadURLResponse.fromJson(i,{ignoreUnknownFields:!0}))}};Nl.CacheServiceClientJSON=wv;var Nv=class{static{o(this,"CacheServiceClientProtobuf")}constructor(e){this.rpc=e,this.CreateCacheEntry.bind(this),this.FinalizeCacheEntryUpload.bind(this),this.GetCacheEntryDownloadURL.bind(this)}CreateCacheEntry(e){let r=Rn.CreateCacheEntryRequest.toBinary(e);return this.rpc.request("github.actions.results.api.v1.CacheService","CreateCacheEntry","application/protobuf",r).then(i=>Rn.CreateCacheEntryResponse.fromBinary(i))}FinalizeCacheEntryUpload(e){let r=Rn.FinalizeCacheEntryUploadRequest.toBinary(e);return this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/protobuf",r).then(i=>Rn.FinalizeCacheEntryUploadResponse.fromBinary(i))}GetCacheEntryDownloadURL(e){let r=Rn.GetCacheEntryDownloadURLRequest.toBinary(e);return this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/protobuf",r).then(i=>Rn.GetCacheEntryDownloadURLResponse.fromBinary(i))}};Nl.CacheServiceClientProtobuf=Nv});var $$=h(Sy=>{"use strict";Object.defineProperty(Sy,"__esModule",{value:!0});Sy.maskSigUrl=Sv;Sy.maskSecretUrls=wFe;var Ny=Zt();function Sv(t){if(t)try{let r=new URL(t).searchParams.get("sig");r&&((0,Ny.setSecret)(r),(0,Ny.setSecret)(encodeURIComponent(r)))}catch(e){(0,Ny.debug)(`Failed to parse URL: ${t} ${e instanceof Error?e.message:String(e)}`)}}o(Sv,"maskSigUrl");function wFe(t){if(typeof t!="object"||t===null){(0,Ny.debug)("body is not an object or is null");return}"signed_upload_url"in t&&typeof t.signed_upload_url=="string"&&Sv(t.signed_upload_url),"signed_download_url"in t&&typeof t.signed_download_url=="string"&&Sv(t.signed_download_url)}o(wFe,"maskSecretUrls")});var X$=h(Gu=>{"use strict";var xy=Gu&&Gu.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(Gu,"__esModule",{value:!0});Gu.internalCacheTwirpClient=PFe;var ra=Zt(),NFe=Bx(),na=gx(),SFe=Lh(),xFe=uc(),vFe=em(),Sl=wo(),RFe=K$(),_Fe=$$(),xv=class{static{o(this,"CacheServiceClient")}constructor(e,r,n,i){this.maxAttempts=5,this.baseRetryIntervalMilliseconds=3e3,this.retryMultiplier=1.5;let s=(0,xFe.getRuntimeToken)();this.baseUrl=(0,SFe.getCacheServiceURL)(),r&&(this.maxAttempts=r),n&&(this.baseRetryIntervalMilliseconds=n),i&&(this.retryMultiplier=i),this.httpClient=new Sl.HttpClient(e,[new vFe.BearerCredentialHandler(s)])}request(e,r,n,i){return xy(this,void 0,void 0,function*(){let s=new URL(`/twirp/${e}/${r}`,this.baseUrl).href;(0,ra.debug)(`[Request] ${r} ${s}`);let a={"Content-Type":n};try{let{body:c}=yield this.retryableRequest(()=>xy(this,void 0,void 0,function*(){return this.httpClient.post(s,JSON.stringify(i),a)}));return c}catch(c){throw new Error(`Failed to ${r}: ${c.message}`)}})}retryableRequest(e){return xy(this,void 0,void 0,function*(){let r=0,n="",i="";for(;r0&&(0,ra.warning)(`You've hit a rate limit, your rate limit will reset in ${d} seconds`)}throw new na.RateLimitError(`Rate limited: ${n}`)}}catch(c){if(c instanceof SyntaxError&&(0,ra.debug)(`Raw Body: ${i}`),c instanceof na.UsageError||c instanceof na.RateLimitError)throw c;if(na.NetworkError.isNetworkErrorCode(c?.code))throw new na.NetworkError(c?.code);s=!0,n=c.message}if(!s)throw new Error(`Received non-retryable error: ${n}`);if(r+1===this.maxAttempts)throw new Error(`Failed to make request after ${this.maxAttempts} attempts: ${n}`);let a=this.getExponentialRetryTimeMilliseconds(r);(0,ra.info)(`Attempt ${r+1} of ${this.maxAttempts} failed with error: ${n}. Retrying request in ${a} ms...`),yield this.sleep(a),r++}throw new Error("Request failed")})}isSuccessStatusCode(e){return e?e>=200&&e<300:!1}isRetryableHttpStatusCode(e){return e?[Sl.HttpCodes.BadGateway,Sl.HttpCodes.GatewayTimeout,Sl.HttpCodes.InternalServerError,Sl.HttpCodes.ServiceUnavailable].includes(e):!1}sleep(e){return xy(this,void 0,void 0,function*(){return new Promise(r=>setTimeout(r,e))})}getExponentialRetryTimeMilliseconds(e){if(e<0)throw new Error("attempt should be a positive integer");if(e===0)return this.baseRetryIntervalMilliseconds;let r=this.baseRetryIntervalMilliseconds*Math.pow(this.retryMultiplier,e),n=r*this.retryMultiplier;return Math.trunc(Math.random()*(n-r)+r)}};function PFe(t){let e=new xv((0,NFe.getUserAgentString)(),t?.maxAttempts,t?.retryIntervalMs,t?.retryMultiplier);return new RFe.CacheServiceClientJSON(e)}o(PFe,"internalCacheTwirpClient")});var t8=h(rn=>{"use strict";var DFe=rn&&rn.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),TFe=rn&&rn.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),vv=rn&&rn.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i{"use strict";var zFe=Ot&&Ot.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),jFe=Ot&&Ot.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),Ju=Ot&&Ot.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i512)throw new _n(`Key Validation Error: ${t} cannot be larger than 512 characters.`);if(!/^[^,]*$/.test(t))throw new _n(`Key Validation Error: ${t} cannot contain commas.`)}o(Dv,"checkKey");function GFe(){switch((0,_y.getCacheServiceVersion)()){case"v2":return!!process.env.ACTIONS_RESULTS_URL;case"v1":default:return!!process.env.ACTIONS_CACHE_URL}}o(GFe,"isFeatureAvailable");function YFe(t,e,r,n){return vl(this,arguments,void 0,function*(i,s,a,c,l=!1){let A=(0,_y.getCacheServiceVersion)();switch(ie.debug(`Cache service version: ${A}`),n8(i),A){case"v2":return yield VFe(i,s,a,c,l);case"v1":default:return yield JFe(i,s,a,c,l)}})}o(YFe,"restoreCache");function JFe(t,e,r,n){return vl(this,arguments,void 0,function*(i,s,a,c,l=!1){a=a||[];let A=[s,...a];if(ie.debug("Resolved Keys:"),ie.debug(JSON.stringify(A)),A.length>10)throw new _n("Key Validation Error: Keys are limited to a maximum of 10.");for(let g of A)Dv(g);let u=yield at.getCompressionMethod(),d="";try{let g=yield xl.getCacheEntry(A,i,{compressionMethod:u,enableCrossOsArchive:l});if(!g?.archiveLocation)return;if(c?.lookupOnly)return ie.info("Lookup only - skipping download"),g.cacheKey;d=Ry.join(yield at.createTempDirectory(),at.getCacheFileName(u)),ie.debug(`Archive Path: ${d}`),yield xl.downloadCache(g.archiveLocation,d,c),ie.isDebug()&&(yield(0,Xs.listTar)(d,u));let f=at.getArchiveFileSizeInBytes(d);return ie.info(`Cache Size: ~${Math.round(f/(1024*1024))} MB (${f} B)`),yield(0,Xs.extractTar)(d,u),ie.info("Cache restored successfully"),g.cacheKey}catch(g){let f=g;if(f.name===_n.name)throw g;f instanceof Py.HttpClientError&&typeof f.statusCode=="number"&&f.statusCode>=500?ie.error(`Failed to restore: ${g.message}`):ie.warning(`Failed to restore: ${g.message}`)}finally{try{yield at.unlinkFile(d)}catch(g){ie.debug(`Failed to delete archive: ${g}`)}}})}o(JFe,"restoreCacheV1");function VFe(t,e,r,n){return vl(this,arguments,void 0,function*(i,s,a,c,l=!1){c=Object.assign(Object.assign({},c),{useAzureSdk:!0}),a=a||[];let A=[s,...a];if(ie.debug("Resolved Keys:"),ie.debug(JSON.stringify(A)),A.length>10)throw new _n("Key Validation Error: Keys are limited to a maximum of 10.");for(let d of A)Dv(d);let u="";try{let d=r8.internalCacheTwirpClient(),g=yield at.getCompressionMethod(),f={key:s,restoreKeys:a,version:at.getCacheVersion(i,g,l)},C=yield d.GetCacheEntryDownloadURL(f);if(!C.ok){ie.debug(`Cache not found for version ${f.version} of keys: ${A.join(", ")}`);return}if(f.key!==C.matchedKey?ie.info(`Cache hit for restore-key: ${C.matchedKey}`):ie.info(`Cache hit for: ${C.matchedKey}`),c?.lookupOnly)return ie.info("Lookup only - skipping download"),C.matchedKey;u=Ry.join(yield at.createTempDirectory(),at.getCacheFileName(g)),ie.debug(`Archive path: ${u}`),ie.debug(`Starting download of archive to: ${u}`),yield xl.downloadCache(C.signedDownloadUrl,u,c);let x=at.getArchiveFileSizeInBytes(u);return ie.info(`Cache Size: ~${Math.round(x/(1024*1024))} MB (${x} B)`),ie.isDebug()&&(yield(0,Xs.listTar)(u,g)),yield(0,Xs.extractTar)(u,g),ie.info("Cache restored successfully"),C.matchedKey}catch(d){let g=d;if(g.name===_n.name)throw d;g instanceof Py.HttpClientError&&typeof g.statusCode=="number"&&g.statusCode>=500?ie.error(`Failed to restore: ${d.message}`):ie.warning(`Failed to restore: ${d.message}`)}finally{try{u&&(yield at.unlinkFile(u))}catch(d){ie.debug(`Failed to delete archive: ${d}`)}}})}o(VFe,"restoreCacheV2");function WFe(t,e,r){return vl(this,arguments,void 0,function*(n,i,s,a=!1){let c=(0,_y.getCacheServiceVersion)();switch(ie.debug(`Cache service version: ${c}`),n8(n),Dv(i),c){case"v2":return yield $Fe(n,i,s,a);case"v1":default:return yield KFe(n,i,s,a)}})}o(WFe,"saveCache");function KFe(t,e,r){return vl(this,arguments,void 0,function*(n,i,s,a=!1){var c,l,A,u,d;let g=yield at.getCompressionMethod(),f=-1,C=yield at.resolvePaths(n);if(ie.debug("Cache Paths:"),ie.debug(`${JSON.stringify(C)}`),C.length===0)throw new Error("Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.");let Q=yield at.createTempDirectory(),x=Ry.join(Q,at.getCacheFileName(g));ie.debug(`Archive Path: ${x}`);try{yield(0,Xs.createTar)(Q,C,g),ie.isDebug()&&(yield(0,Xs.listTar)(x,g));let w=10*1024*1024*1024,v=at.getArchiveFileSizeInBytes(x);if(ie.debug(`File Size: ${v}`),v>w&&!(0,_y.isGhes)())throw new Error(`Cache size of ~${Math.round(v/(1024*1024))} MB (${v} B) is over the 10GB limit, not saving cache.`);ie.debug("Reserving Cache");let T=yield xl.reserveCache(i,n,{compressionMethod:g,enableCrossOsArchive:a,cacheSize:v});if(!((c=T?.result)===null||c===void 0)&&c.cacheId)f=(l=T?.result)===null||l===void 0?void 0:l.cacheId;else throw T?.statusCode===400?new Error((u=(A=T?.error)===null||A===void 0?void 0:A.message)!==null&&u!==void 0?u:`Cache size of ~${Math.round(v/(1024*1024))} MB (${v} B) is over the data cap limit, not saving cache.`):new ia(`Unable to reserve cache with key ${i}, another job may be creating this cache. More details: ${(d=T?.error)===null||d===void 0?void 0:d.message}`);ie.debug(`Saving Cache (ID: ${f})`),yield xl.saveCache(f,x,"",s)}catch(w){let v=w;if(v.name===_n.name)throw w;v.name===ia.name?ie.info(`Failed to save: ${v.message}`):v instanceof Py.HttpClientError&&typeof v.statusCode=="number"&&v.statusCode>=500?ie.error(`Failed to save: ${v.message}`):ie.warning(`Failed to save: ${v.message}`)}finally{try{yield at.unlinkFile(x)}catch(w){ie.debug(`Failed to delete archive: ${w}`)}}return f})}o(KFe,"saveCacheV1");function $Fe(t,e,r){return vl(this,arguments,void 0,function*(n,i,s,a=!1){s=Object.assign(Object.assign({},s),{uploadChunkSize:64*1024*1024,uploadConcurrency:8,useAzureSdk:!0});let c=yield at.getCompressionMethod(),l=r8.internalCacheTwirpClient(),A=-1,u=yield at.resolvePaths(n);if(ie.debug("Cache Paths:"),ie.debug(`${JSON.stringify(u)}`),u.length===0)throw new Error("Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.");let d=yield at.createTempDirectory(),g=Ry.join(d,at.getCacheFileName(c));ie.debug(`Archive Path: ${g}`);try{yield(0,Xs.createTar)(d,u,c),ie.isDebug()&&(yield(0,Xs.listTar)(g,c));let f=at.getArchiveFileSizeInBytes(g);ie.debug(`File Size: ${f}`),s.archiveSizeBytes=f,ie.debug("Reserving Cache");let C=at.getCacheVersion(n,c,a),Q={key:i,version:C},x;try{let T=yield l.CreateCacheEntry(Q);if(!T.ok)throw T.message&&ie.warning(`Cache reservation failed: ${T.message}`),new Error(T.message||"Response was not ok");x=T.signedUploadUrl}catch(T){throw ie.debug(`Failed to reserve cache: ${T}`),new ia(`Unable to reserve cache with key ${i}, another job may be creating this cache.`)}ie.debug(`Attempting to upload cache located at: ${g}`),yield xl.saveCache(A,g,x,s);let w={key:i,version:C,sizeBytes:`${f}`},v=yield l.FinalizeCacheEntryUpload(w);if(ie.debug(`FinalizeCacheEntryUploadResponse: ${v.ok}`),!v.ok)throw v.message?new Yu(v.message):new Error(`Unable to finalize cache with key ${i}, another job may be finalizing this cache.`);A=parseInt(v.entryId)}catch(f){let C=f;if(C.name===_n.name)throw f;C.name===ia.name?ie.info(`Failed to save: ${C.message}`):C.name===Yu.name?ie.warning(C.message):C instanceof Py.HttpClientError&&typeof C.statusCode=="number"&&C.statusCode>=500?ie.error(`Failed to save: ${C.message}`):ie.warning(`Failed to save: ${C.message}`)}finally{try{yield at.unlinkFile(g)}catch(f){ie.debug(`Failed to delete archive: ${f}`)}}return A})}o($Fe,"saveCacheV2")});var c8=Uy(i8()),Dy=Uy(Zt());var s8=Uy(Zt());var o8=require("node:crypto");function a8(t){return`bun-${(0,o8.createHash)("sha1").update(t).digest("base64")}`}o(a8,"getCacheKey");(async()=>{let t=JSON.parse((0,Dy.getState)("cache"));if(t.cacheEnabled&&!t.cacheHit){let e=a8(t.url);try{await(0,c8.saveCache)([t.bunPath],e),process.exit(0)}catch{(0,Dy.warning)("Failed to save Bun to cache.")}}})(); + Polling status: ${zV.terminalStates.includes(u)?"Stopped":"Running"}`),u==="succeeded"){let d=a(A,r);if(d!==void 0)return{response:await e(d).catch(HV({state:r,stateProxy:n,isOperationError:c})),status:u}}return{response:A,status:u}}s(N_e,"pollOperationHelper");async function w_e(t){let{poll:e,state:r,stateProxy:n,options:i,getOperationStatus:o,getResourceLocation:a,getOperationLocation:c,isOperationError:l,withOperationLocation:A,getPollingInterval:u,processResult:d,getError:g,updateState:y,setDelay:B,isDone:w,setErrorAsResult:x}=t,{operationLocation:S}=r.config;if(S!==void 0){let{response:R,status:D}=await N_e({poll:e,getOperationStatus:o,state:r,stateProxy:n,operationLocation:S,getResourceLocation:a,isOperationError:l,options:i});if(GV({status:D,response:R,state:r,stateProxy:n,isDone:w,processResult:d,getError:g,setErrorAsResult:x}),!zV.terminalStates.includes(D)){let L=u?.(R);L&&B(L);let K=c?.(R,r);if(K!==void 0){let W=S!==K;r.config.operationLocation=K,A?.(K,W)}else A?.(S,!1)}y?.(r,R)}}s(w_e,"pollOperation");Ks.pollOperation=w_e});var dS=f(ft=>{"use strict";Object.defineProperty(ft,"__esModule",{value:!0});ft.pollHttpOperation=ft.isOperationError=ft.getResourceLocation=ft.getOperationStatus=ft.getOperationLocation=ft.initHttpOperation=ft.getStatusFromInitialResponse=ft.getErrorFromResponse=ft.parseRetryAfter=ft.inferLroMode=void 0;var jV=Uh(),lS=Lh();function YV(t){let{azureAsyncOperation:e,operationLocation:r}=t;return r??e}s(YV,"getOperationLocationPollingUrl");function JV(t){return t.headers.location}s(JV,"getLocationHeader");function VV(t){return t.headers["operation-location"]}s(VV,"getOperationLocationHeader");function WV(t){return t.headers["azure-asyncoperation"]}s(WV,"getAzureAsyncOperationHeader");function S_e(t){var e;let{location:r,requestMethod:n,requestPath:i,resourceLocationConfig:o}=t;switch(n){case"PUT":return i;case"DELETE":return;case"PATCH":return(e=a())!==null&&e!==void 0?e:i;default:return a()}function a(){switch(o){case"azure-async-operation":return;case"original-uri":return i;default:return r}}s(a,"getDefault")}s(S_e,"findResourceLocation");function KV(t){let{rawResponse:e,requestMethod:r,requestPath:n,resourceLocationConfig:i}=t,o=VV(e),a=WV(e),c=YV({operationLocation:o,azureAsyncOperation:a}),l=JV(e),A=r?.toLocaleUpperCase();return c!==void 0?{mode:"OperationLocation",operationLocation:c,resourceLocation:S_e({requestMethod:A,location:l,requestPath:n,resourceLocationConfig:i})}:l!==void 0?{mode:"ResourceLocation",operationLocation:l}:A==="PUT"&&n?{mode:"Body",operationLocation:n}:void 0}s(KV,"inferLroMode");ft.inferLroMode=KV;function $V(t){let{status:e,statusCode:r}=t;if(typeof e!="string"&&e!==void 0)throw new Error(`Polling was unsuccessful. Expected status to have a string value or no value but it has instead: ${e}. This doesn't necessarily indicate the operation has failed. Check your Azure subscription or resource status for more information.`);switch(e?.toLocaleLowerCase()){case void 0:return AS(r);case"succeeded":return"succeeded";case"failed":return"failed";case"running":case"accepted":case"started":case"canceling":case"cancelling":return"running";case"canceled":case"cancelled":return"canceled";default:return lS.logger.verbose(`LRO: unrecognized operation status: ${e}`),e}}s($V,"transformStatus");function x_e(t){var e;let{status:r}=(e=t.body)!==null&&e!==void 0?e:{};return $V({status:r,statusCode:t.statusCode})}s(x_e,"getStatus");function R_e(t){var e,r;let{properties:n,provisioningState:i}=(e=t.body)!==null&&e!==void 0?e:{},o=(r=n?.provisioningState)!==null&&r!==void 0?r:i;return $V({status:o,statusCode:t.statusCode})}s(R_e,"getProvisioningState");function AS(t){return t===202?"running":t<300?"succeeded":"failed"}s(AS,"toOperationStatus");function XV({rawResponse:t}){let e=t.headers["retry-after"];if(e!==void 0){let r=parseInt(e);return isNaN(r)?v_e(new Date(e)):r*1e3}}s(XV,"parseRetryAfter");ft.parseRetryAfter=XV;function ZV(t){let e=rW(t,"error");if(!e){lS.logger.warning("The long-running operation failed but there is no error property in the response's body");return}if(!e.code||!e.message){lS.logger.warning("The long-running operation failed but the error property in the response's body doesn't contain code or message");return}return e}s(ZV,"getErrorFromResponse");ft.getErrorFromResponse=ZV;function v_e(t){let e=Math.floor(new Date().getTime()),r=t.getTime();if(e{let a=await i.sendInitialRequest(),c=KV({rawResponse:a.rawResponse,requestPath:i.requestPath,requestMethod:i.requestMethod,resourceLocationConfig:r});return Object.assign({response:a,operationLocation:c?.operationLocation,resourceLocation:c?.resourceLocation},c?.mode?{metadata:{mode:c.mode}}:{})},"init"),stateProxy:e,processResult:n?({flatResponse:a},c)=>n(a,c):({flatResponse:a})=>a,getOperationStatus:eW,setErrorAsResult:o})}s(P_e,"initHttpOperation");ft.initHttpOperation=P_e;function tW({rawResponse:t},e){var r;switch((r=e.config.metadata)===null||r===void 0?void 0:r.mode){case"OperationLocation":return YV({operationLocation:VV(t),azureAsyncOperation:WV(t)});case"ResourceLocation":return JV(t);default:return}}s(tW,"getOperationLocation");ft.getOperationLocation=tW;function uS({rawResponse:t},e){var r;let n=(r=e.config.metadata)===null||r===void 0?void 0:r.mode;switch(n){case"OperationLocation":return x_e(t);case"ResourceLocation":return AS(t.statusCode);case"Body":return R_e(t);default:throw new Error(`Internal error: Unexpected operation mode: ${n}`)}}s(uS,"getOperationStatus");ft.getOperationStatus=uS;function rW({flatResponse:t,rawResponse:e},r){var n,i;return(n=t?.[r])!==null&&n!==void 0?n:(i=e.body)===null||i===void 0?void 0:i[r]}s(rW,"accessBodyProperty");function nW(t,e){let r=rW(t,"resourceLocation");return r&&typeof r=="string"&&(e.config.resourceLocation=r),e.config.resourceLocation}s(nW,"getResourceLocation");ft.getResourceLocation=nW;function iW(t){return t.name==="RestError"}s(iW,"isOperationError");ft.isOperationError=iW;async function __e(t){let{lro:e,stateProxy:r,options:n,processResult:i,updateState:o,setDelay:a,state:c,setErrorAsResult:l}=t;return(0,jV.pollOperation)({state:c,stateProxy:r,setDelay:a,processResult:i?({flatResponse:A},u)=>i(A,u):({flatResponse:A})=>A,getError:ZV,updateState:o,getPollingInterval:XV,getOperationLocation:tW,getOperationStatus:uS,isOperationError:iW,getResourceLocation:nW,options:n,poll:s(async(A,u)=>e.sendPollRequest(A,u),"poll"),setErrorAsResult:l})}s(__e,"pollHttpOperation");ft.pollHttpOperation=__e});var sW=f(qh=>{"use strict";Object.defineProperty(qh,"__esModule",{value:!0});qh.buildCreatePoller=void 0;var pS=Uh(),D_e=Fh(),T_e=st(),O_e=s(()=>({initState:s(t=>({status:"running",config:t}),"initState"),setCanceled:s(t=>t.status="canceled","setCanceled"),setError:s((t,e)=>t.error=e,"setError"),setResult:s((t,e)=>t.result=e,"setResult"),setRunning:s(t=>t.status="running","setRunning"),setSucceeded:s(t=>t.status="succeeded","setSucceeded"),setFailed:s(t=>t.status="failed","setFailed"),getError:s(t=>t.error,"getError"),getResult:s(t=>t.result,"getResult"),isCanceled:s(t=>t.status==="canceled","isCanceled"),isFailed:s(t=>t.status==="failed","isFailed"),isRunning:s(t=>t.status==="running","isRunning"),isSucceeded:s(t=>t.status==="succeeded","isSucceeded")}),"createStateProxy");function M_e(t){let{getOperationLocation:e,getStatusFromInitialResponse:r,getStatusFromPollResponse:n,isOperationError:i,getResourceLocation:o,getPollingInterval:a,getError:c,resolveOnUnsuccessful:l}=t;return async({init:A,poll:u},d)=>{let{processResult:g,updateState:y,withOperationLocation:B,intervalInMs:w=D_e.POLL_INTERVAL_IN_MS,restoreFrom:x}=d||{},S=O_e(),R=B?(()=>{let je=!1;return(Ie,lt)=>{lt?B(Ie):je||B(Ie),je=!0}})():void 0,D=x?(0,pS.deserializeState)(x):await(0,pS.initOperation)({init:A,stateProxy:S,processResult:g,getOperationStatus:r,withOperationLocation:R,setErrorAsResult:!l}),L,K=new AbortController,W=new Map,ne=s(async()=>W.forEach(je=>je(D)),"handleProgressEvents"),be="Operation was canceled",He=w,ut={getOperationState:s(()=>D,"getOperationState"),getResult:s(()=>D.result,"getResult"),isDone:s(()=>["succeeded","failed","canceled"].includes(D.status),"isDone"),isStopped:s(()=>L===void 0,"isStopped"),stopPolling:s(()=>{K.abort()},"stopPolling"),toString:s(()=>JSON.stringify({state:D}),"toString"),onProgress:s(je=>{let Ie=Symbol();return W.set(Ie,je),()=>W.delete(Ie)},"onProgress"),pollUntilDone:s(je=>L??(L=(async()=>{let{abortSignal:Ie}=je||{};function lt(){K.abort()}s(lt,"abortListener");let Lt=K.signal;Ie?.aborted?K.abort():Lt.aborted||Ie?.addEventListener("abort",lt,{once:!0});try{if(!ut.isDone())for(await ut.poll({abortSignal:Lt});!ut.isDone();)await(0,T_e.delay)(He,{abortSignal:Lt}),await ut.poll({abortSignal:Lt})}finally{Ie?.removeEventListener("abort",lt)}if(l)return ut.getResult();switch(D.status){case"succeeded":return ut.getResult();case"canceled":throw new Error(be);case"failed":throw D.error;case"notStarted":case"running":throw new Error("Polling completed without succeeding or failing")}})().finally(()=>{L=void 0})),"pollUntilDone"),async poll(je){if(l){if(ut.isDone())return}else switch(D.status){case"succeeded":return;case"canceled":throw new Error(be);case"failed":throw D.error}if(await(0,pS.pollOperation)({poll:u,state:D,stateProxy:S,getOperationLocation:e,isOperationError:i,withOperationLocation:R,getPollingInterval:a,getOperationStatus:n,getResourceLocation:o,processResult:g,getError:c,updateState:y,options:je,setDelay:s(Ie=>{He=Ie},"setDelay"),setErrorAsResult:!l}),await ne(),!l)switch(D.status){case"canceled":throw new Error(be);case"failed":throw D.error}}};return ut}}s(M_e,"buildCreatePoller");qh.buildCreatePoller=M_e});var oW=f(Hh=>{"use strict";Object.defineProperty(Hh,"__esModule",{value:!0});Hh.createHttpPoller=void 0;var $s=dS(),k_e=sW();async function L_e(t,e){let{resourceLocationConfig:r,intervalInMs:n,processResult:i,restoreFrom:o,updateState:a,withOperationLocation:c,resolveOnUnsuccessful:l=!1}=e||{};return(0,k_e.buildCreatePoller)({getStatusFromInitialResponse:$s.getStatusFromInitialResponse,getStatusFromPollResponse:$s.getOperationStatus,isOperationError:$s.isOperationError,getOperationLocation:$s.getOperationLocation,getResourceLocation:$s.getResourceLocation,getPollingInterval:$s.parseRetryAfter,getError:$s.getErrorFromResponse,resolveOnUnsuccessful:l})({init:s(async()=>{let A=await t.sendInitialRequest(),u=(0,$s.inferLroMode)({rawResponse:A.rawResponse,requestPath:t.requestPath,requestMethod:t.requestMethod,resourceLocationConfig:r});return Object.assign({response:A,operationLocation:u?.operationLocation,resourceLocation:u?.resourceLocation},u?.mode?{metadata:{mode:u.mode}}:{})},"init"),poll:t.sendPollRequest},{intervalInMs:n,withOperationLocation:c,restoreFrom:o,updateState:a,processResult:i?({flatResponse:A},u)=>i(A,u):({flatResponse:A})=>A})}s(L_e,"createHttpPoller");Hh.createHttpPoller=L_e});var cW=f(zh=>{"use strict";Object.defineProperty(zh,"__esModule",{value:!0});zh.GenericPollOperation=void 0;var aW=dS(),F_e=Lh(),U_e=s(()=>({initState:s(t=>({config:t,isStarted:!0}),"initState"),setCanceled:s(t=>t.isCancelled=!0,"setCanceled"),setError:s((t,e)=>t.error=e,"setError"),setResult:s((t,e)=>t.result=e,"setResult"),setRunning:s(t=>t.isStarted=!0,"setRunning"),setSucceeded:s(t=>t.isCompleted=!0,"setSucceeded"),setFailed:s(()=>{},"setFailed"),getError:s(t=>t.error,"getError"),getResult:s(t=>t.result,"getResult"),isCanceled:s(t=>!!t.isCancelled,"isCanceled"),isFailed:s(t=>!!t.error,"isFailed"),isRunning:s(t=>!!t.isStarted,"isRunning"),isSucceeded:s(t=>!!(t.isCompleted&&!t.isCancelled&&!t.error),"isSucceeded")}),"createStateProxy"),mS=class{static{s(this,"GenericPollOperation")}constructor(e,r,n,i,o,a,c){this.state=e,this.lro=r,this.setErrorAsResult=n,this.lroResourceLocationConfig=i,this.processResult=o,this.updateState=a,this.isDone=c}setPollerConfig(e){this.pollerConfig=e}async update(e){var r;let n=U_e();this.state.isStarted||(this.state=Object.assign(Object.assign({},this.state),await(0,aW.initHttpOperation)({lro:this.lro,stateProxy:n,resourceLocationConfig:this.lroResourceLocationConfig,processResult:this.processResult,setErrorAsResult:this.setErrorAsResult})));let i=this.updateState,o=this.isDone;return!this.state.isCompleted&&this.state.error===void 0&&await(0,aW.pollHttpOperation)({lro:this.lro,state:this.state,stateProxy:n,processResult:this.processResult,updateState:i?(a,{rawResponse:c})=>i(a,c):void 0,isDone:o?({flatResponse:a},c)=>o(a,c):void 0,options:e,setDelay:s(a=>{this.pollerConfig.intervalInMs=a},"setDelay"),setErrorAsResult:this.setErrorAsResult}),(r=e?.fireProgress)===null||r===void 0||r.call(e,this.state),this}async cancel(){return F_e.logger.error("`cancelOperation` is deprecated because it wasn't implemented"),this}toString(){return JSON.stringify({state:this.state})}};zh.GenericPollOperation=mS});var hS=f(Xs=>{"use strict";Object.defineProperty(Xs,"__esModule",{value:!0});Xs.Poller=Xs.PollerCancelledError=Xs.PollerStoppedError=void 0;var Gh=class t extends Error{static{s(this,"PollerStoppedError")}constructor(e){super(e),this.name="PollerStoppedError",Object.setPrototypeOf(this,t.prototype)}};Xs.PollerStoppedError=Gh;var jh=class t extends Error{static{s(this,"PollerCancelledError")}constructor(e){super(e),this.name="PollerCancelledError",Object.setPrototypeOf(this,t.prototype)}};Xs.PollerCancelledError=jh;var gS=class{static{s(this,"Poller")}constructor(e){this.resolveOnUnsuccessful=!1,this.stopped=!0,this.pollProgressCallbacks=[],this.operation=e,this.promise=new Promise((r,n)=>{this.resolve=r,this.reject=n}),this.promise.catch(()=>{})}async startPolling(e={}){for(this.stopped&&(this.stopped=!1);!this.isStopped()&&!this.isDone();)await this.poll(e),await this.delay()}async pollOnce(e={}){this.isDone()||(this.operation=await this.operation.update({abortSignal:e.abortSignal,fireProgress:this.fireProgress.bind(this)})),this.processUpdatedState()}fireProgress(e){for(let r of this.pollProgressCallbacks)r(e)}async cancelOnce(e={}){this.operation=await this.operation.cancel(e)}poll(e={}){if(!this.pollOncePromise){this.pollOncePromise=this.pollOnce(e);let r=s(()=>{this.pollOncePromise=void 0},"clearPollOncePromise");this.pollOncePromise.then(r,r).catch(this.reject)}return this.pollOncePromise}processUpdatedState(){if(this.operation.state.error&&(this.stopped=!0,!this.resolveOnUnsuccessful))throw this.reject(this.operation.state.error),this.operation.state.error;if(this.operation.state.isCancelled&&(this.stopped=!0,!this.resolveOnUnsuccessful)){let e=new jh("Operation was canceled");throw this.reject(e),e}this.isDone()&&this.resolve&&this.resolve(this.getResult())}async pollUntilDone(e={}){return this.stopped&&this.startPolling(e).catch(this.reject),this.processUpdatedState(),this.promise}onProgress(e){return this.pollProgressCallbacks.push(e),()=>{this.pollProgressCallbacks=this.pollProgressCallbacks.filter(r=>r!==e)}}isDone(){let e=this.operation.state;return!!(e.isCompleted||e.isCancelled||e.error)}stopPolling(){this.stopped||(this.stopped=!0,this.reject&&this.reject(new Gh("This poller is already stopped")))}isStopped(){return this.stopped}cancelOperation(e={}){if(!this.cancelPromise)this.cancelPromise=this.cancelOnce(e);else if(e.abortSignal)throw new Error("A cancel request is currently pending");return this.cancelPromise}getOperationState(){return this.operation.state}getResult(){return this.operation.state.result}toString(){return this.operation.toString()}};Xs.Poller=gS});var lW=f(Yh=>{"use strict";Object.defineProperty(Yh,"__esModule",{value:!0});Yh.LroEngine=void 0;var q_e=cW(),H_e=Fh(),z_e=hS(),G_e=Uh(),fS=class extends z_e.Poller{static{s(this,"LroEngine")}constructor(e,r){let{intervalInMs:n=H_e.POLL_INTERVAL_IN_MS,resumeFrom:i,resolveOnUnsuccessful:o=!1,isDone:a,lroResourceLocationConfig:c,processResult:l,updateState:A}=r||{},u=i?(0,G_e.deserializeState)(i):{},d=new q_e.GenericPollOperation(u,e,!o,c,l,A,a);super(d),this.resolveOnUnsuccessful=o,this.config={intervalInMs:n},d.setPollerConfig(this.config)}delay(){return new Promise(e=>setTimeout(()=>e(),this.config.intervalInMs))}};Yh.LroEngine=fS});var AW=f(Jh=>{"use strict";Object.defineProperty(Jh,"__esModule",{value:!0});Jh.LroEngine=void 0;var j_e=lW();Object.defineProperty(Jh,"LroEngine",{enumerable:!0,get:s(function(){return j_e.LroEngine},"get")})});var dW=f(uW=>{"use strict";Object.defineProperty(uW,"__esModule",{value:!0})});var pW=f(ra=>{"use strict";Object.defineProperty(ra,"__esModule",{value:!0});ra.createHttpPoller=void 0;var yS=(jt(),Xt(Gt)),Y_e=oW();Object.defineProperty(ra,"createHttpPoller",{enumerable:!0,get:s(function(){return Y_e.createHttpPoller},"get")});yS.__exportStar(AW(),ra);yS.__exportStar(hS(),ra);yS.__exportStar(dW(),ra)});var mW=f(Vh=>{"use strict";Object.defineProperty(Vh,"__esModule",{value:!0});Vh.BlobBeginCopyFromUrlPoller=void 0;var J_e=st(),V_e=pW(),CS=class extends V_e.Poller{static{s(this,"BlobBeginCopyFromUrlPoller")}intervalInMs;constructor(e){let{blobClient:r,copySource:n,intervalInMs:i=15e3,onProgress:o,resumeFrom:a,startCopyFromURLOptions:c}=e,l;a&&(l=JSON.parse(a).state);let A=Su({...l,blobClient:r,copySource:n,startCopyFromURLOptions:c});super(A),typeof o=="function"&&this.onProgress(o),this.intervalInMs=i}delay(){return(0,J_e.delay)(this.intervalInMs)}};Vh.BlobBeginCopyFromUrlPoller=CS;var W_e=s(async function(e={}){let r=this.state,{copyId:n}=r;return r.isCompleted?Su(r):n?(await r.blobClient.abortCopyFromURL(n,{abortSignal:e.abortSignal}),r.isCancelled=!0,Su(r)):(r.isCancelled=!0,Su(r))},"cancel"),K_e=s(async function(e={}){let r=this.state,{blobClient:n,copySource:i,startCopyFromURLOptions:o}=r;if(r.isStarted){if(!r.isCompleted)try{let a=await r.blobClient.getProperties({abortSignal:e.abortSignal}),{copyStatus:c,copyProgress:l}=a,A=r.copyProgress;l&&(r.copyProgress=l),c==="pending"&&l!==A&&typeof e.fireProgress=="function"?e.fireProgress(r):c==="success"?(r.result=a,r.isCompleted=!0):c==="failed"&&(r.error=new Error(`Blob copy failed with reason: "${a.copyStatusDescription||"unknown"}"`),r.isCompleted=!0)}catch(a){r.error=a,r.isCompleted=!0}}else{r.isStarted=!0;let a=await n.startCopyFromURL(i,o);r.copyId=a.copyId,a.copyStatus==="success"&&(r.result=a,r.isCompleted=!0)}return Su(r)},"update"),$_e=s(function(){return JSON.stringify({state:this.state},(e,r)=>{if(e!=="blobClient")return r})},"toString");function Su(t){return{state:{...t},cancel:W_e,toString:$_e,update:K_e}}s(Su,"makeBlobBeginCopyFromURLPollOperation")});var gW=f(ES=>{"use strict";Object.defineProperty(ES,"__esModule",{value:!0});ES.rangeToString=X_e;function X_e(t){if(t.offset<0)throw new RangeError("Range.offset cannot be smaller than 0.");if(t.count&&t.count<=0)throw new RangeError("Range.count must be larger than 0. Leave it undefined if you want a range from offset to the end.");return t.count?`bytes=${t.offset}-${t.offset+t.count-1}`:`bytes=${t.offset}-`}s(X_e,"rangeToString")});var hW=f(Wh=>{"use strict";Object.defineProperty(Wh,"__esModule",{value:!0});Wh.Batch=void 0;var Z_e=require("events"),xu;(function(t){t[t.Good=0]="Good",t[t.Error=1]="Error"})(xu||(xu={}));var BS=class{static{s(this,"Batch")}concurrency;actives=0;completed=0;offset=0;operations=[];state=xu.Good;emitter;constructor(e=5){if(e<1)throw new RangeError("concurrency must be larger than 0");this.concurrency=e,this.emitter=new Z_e.EventEmitter}addOperation(e){this.operations.push(async()=>{try{this.actives++,await e(),this.actives--,this.completed++,this.parallelExecute()}catch(r){this.emitter.emit("error",r)}})}async do(){return this.operations.length===0?Promise.resolve():(this.parallelExecute(),new Promise((e,r)=>{this.emitter.on("finish",e),this.emitter.on("error",n=>{this.state=xu.Error,r(n)})}))}nextOperation(){return this.offset=this.operations.length){this.emitter.emit("finish");return}for(;this.actives{"use strict";Object.defineProperty(Ni,"__esModule",{value:!0});Ni.fsCreateReadStream=Ni.fsStat=void 0;Ni.streamToBuffer=rDe;Ni.streamToBuffer2=nDe;Ni.streamToBuffer3=iDe;Ni.readStreamToLocalFile=sDe;var fW=(jt(),Xt(Gt)),IS=fW.__importDefault(require("node:fs")),eDe=fW.__importDefault(require("node:util")),tDe=Zr();async function rDe(t,e,r,n,i){let o=0,a=n-r;return new Promise((c,l)=>{let A=setTimeout(()=>l(new Error("The operation cannot be completed in timeout.")),tDe.REQUEST_TIMEOUT);t.on("readable",()=>{if(o>=a){clearTimeout(A),c();return}let u=t.read();if(!u)return;typeof u=="string"&&(u=Buffer.from(u,i));let d=o+u.length>a?a-o:u.length;e.fill(u.slice(0,d),r+o,r+o+d),o+=d}),t.on("end",()=>{clearTimeout(A),o{clearTimeout(A),l(u)})})}s(rDe,"streamToBuffer");async function nDe(t,e,r){let n=0,i=e.length;return new Promise((o,a)=>{t.on("readable",()=>{let c=t.read();if(c){if(typeof c=="string"&&(c=Buffer.from(c,r)),n+c.length>i){a(new Error(`Stream exceeds buffer size. Buffer size: ${i}`));return}e.fill(c,n,n+c.length),n+=c.length}}),t.on("end",()=>{o(n)}),t.on("error",a)})}s(nDe,"streamToBuffer2");async function iDe(t,e){return new Promise((r,n)=>{let i=[];t.on("data",o=>{i.push(typeof o=="string"?Buffer.from(o,e):o)}),t.on("end",()=>{r(Buffer.concat(i))}),t.on("error",n)})}s(iDe,"streamToBuffer3");async function sDe(t,e){return new Promise((r,n)=>{let i=IS.default.createWriteStream(e);t.on("error",o=>{n(o)}),i.on("error",o=>{n(o)}),i.on("close",r),t.pipe(i)})}s(sDe,"readStreamToLocalFile");Ni.fsStat=eDe.default.promisify(IS.default.stat);Ni.fsCreateReadStream=IS.default.createReadStream});var nf=f(wi=>{"use strict";Object.defineProperty(wi,"__esModule",{value:!0});wi.PageBlobClient=wi.BlockBlobClient=wi.AppendBlobClient=wi.BlobClient=void 0;var tf=Tt(),rf=Oc(),Sn=st(),yW=st(),oDe=wV(),aDe=kV(),yt=Vn(),Xe=oS(),QS=qV(),Pt=Hs(),cDe=mW(),rn=gW(),lDe=hh(),CW=hW(),ADe=Vn(),We=Zr(),ae=Vo(),U=wn(),$h=bS(),Kh=Qh(),uDe=Sh(),sl=class t extends lDe.StorageClient{static{s(this,"BlobClient")}blobContext;_name;_containerName;_versionId;_snapshot;get name(){return this._name}get containerName(){return this._containerName}constructor(e,r,n,i){i=i||{};let o,a;if((0,Pt.isPipelineLike)(r))a=e,o=r;else if(Sn.isNodeLike&&r instanceof yt.StorageSharedKeyCredential||r instanceof yt.AnonymousCredential||(0,rf.isTokenCredential)(r))a=e,i=n,o=(0,Pt.newPipeline)(r,i);else if(!r&&typeof r!="string")a=e,n&&typeof n!="string"&&(i=n),o=(0,Pt.newPipeline)(new yt.AnonymousCredential,i);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,A=(0,U.extractConnectionStringParts)(e);if(A.kind==="AccountConnString")if(Sn.isNodeLike){let u=new yt.StorageSharedKeyCredential(A.accountName,A.accountKey);a=(0,U.appendToURLPath)((0,U.appendToURLPath)(A.url,encodeURIComponent(c)),encodeURIComponent(l)),i.proxyOptions||(i.proxyOptions=(0,tf.getDefaultProxySettings)(A.proxyUri)),o=(0,Pt.newPipeline)(u,i)}else throw new Error("Account connection string is only supported in Node.js environment");else if(A.kind==="SASConnString")a=(0,U.appendToURLPath)((0,U.appendToURLPath)(A.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+A.accountSas,o=(0,Pt.newPipeline)(new yt.AnonymousCredential,i);else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}else throw new Error("Expecting non-empty strings for containerName and blobName parameters");super(a,o),{blobName:this._name,containerName:this._containerName}=this.getBlobAndContainerNamesFromUrl(),this.blobContext=this.storageClientContext.blob,this._snapshot=(0,U.getURLParameter)(this.url,We.URLConstants.Parameters.SNAPSHOT),this._versionId=(0,U.getURLParameter)(this.url,We.URLConstants.Parameters.VERSIONID)}withSnapshot(e){return new t((0,U.setURLParameter)(this.url,We.URLConstants.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}withVersion(e){return new t((0,U.setURLParameter)(this.url,We.URLConstants.Parameters.VERSIONID,e.length===0?void 0:e),this.pipeline)}getAppendBlobClient(){return new Xh(this.url,this.pipeline)}getBlockBlobClient(){return new Zh(this.url,this.pipeline)}getPageBlobClient(){return new ef(this.url,this.pipeline)}async download(e=0,r,n={}){return n.conditions=n.conditions||{},n.conditions=n.conditions||{},(0,Xe.ensureCpkIfSpecified)(n.customerProvidedKey,this.isHttps),ae.tracingClient.withSpan("BlobClient-download",n,async i=>{let o=(0,U.assertResponse)(await this.blobContext.download({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onDownloadProgress:Sn.isNodeLike?void 0:n.onProgress},range:e===0&&!r?void 0:(0,rn.rangeToString)({offset:e,count:r}),rangeGetContentMD5:n.rangeGetContentMD5,rangeGetContentCRC64:n.rangeGetContentCrc64,snapshot:n.snapshot,cpkInfo:n.customerProvidedKey,tracingOptions:i.tracingOptions})),a={...o,_response:o._response,objectReplicationDestinationPolicyId:o.objectReplicationPolicyId,objectReplicationSourceProperties:(0,U.parseObjectReplicationRecord)(o.objectReplicationRules)};if(!Sn.isNodeLike)return a;if((n.maxRetryRequests===void 0||n.maxRetryRequests<0)&&(n.maxRetryRequests=We.DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS),o.contentLength===void 0)throw new RangeError("File download response doesn't contain valid content length header");if(!o.etag)throw new RangeError("File download response doesn't contain valid etag header");return new oDe.BlobDownloadResponse(a,async c=>{let l={leaseAccessConditions:n.conditions,modifiedAccessConditions:{ifMatch:n.conditions.ifMatch||o.etag,ifModifiedSince:n.conditions.ifModifiedSince,ifNoneMatch:n.conditions.ifNoneMatch,ifUnmodifiedSince:n.conditions.ifUnmodifiedSince,ifTags:n.conditions?.tagConditions},range:(0,rn.rangeToString)({count:e+o.contentLength-c,offset:c}),rangeGetContentMD5:n.rangeGetContentMD5,rangeGetContentCRC64:n.rangeGetContentCrc64,snapshot:n.snapshot,cpkInfo:n.customerProvidedKey};return(await this.blobContext.download({abortSignal:n.abortSignal,...l})).readableStreamBody},e,o.contentLength,{maxRetryRequests:n.maxRetryRequests,onProgress:n.onProgress})})}async exists(e={}){return ae.tracingClient.withSpan("BlobClient-exists",e,async r=>{try{return(0,Xe.ensureCpkIfSpecified)(e.customerProvidedKey,this.isHttps),await this.getProperties({abortSignal:e.abortSignal,customerProvidedKey:e.customerProvidedKey,conditions:e.conditions,tracingOptions:r.tracingOptions}),!0}catch(n){if(n.statusCode===404)return!1;if(n.statusCode===409&&(n.details.errorCode===We.BlobUsesCustomerSpecifiedEncryptionMsg||n.details.errorCode===We.BlobDoesNotUseCustomerSpecifiedEncryption))return!0;throw n}})}async getProperties(e={}){return e.conditions=e.conditions||{},(0,Xe.ensureCpkIfSpecified)(e.customerProvidedKey,this.isHttps),ae.tracingClient.withSpan("BlobClient-getProperties",e,async r=>{let n=(0,U.assertResponse)(await this.blobContext.getProperties({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,tracingOptions:r.tracingOptions}));return{...n,_response:n._response,objectReplicationDestinationPolicyId:n.objectReplicationPolicyId,objectReplicationSourceProperties:(0,U.parseObjectReplicationRecord)(n.objectReplicationRules)}})}async delete(e={}){return e.conditions=e.conditions||{},ae.tracingClient.withSpan("BlobClient-delete",e,async r=>(0,U.assertResponse)(await this.blobContext.delete({abortSignal:e.abortSignal,deleteSnapshots:e.deleteSnapshots,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}async deleteIfExists(e={}){return ae.tracingClient.withSpan("BlobClient-deleteIfExists",e,async r=>{try{let n=(0,U.assertResponse)(await this.delete(r));return{succeeded:!0,...n,_response:n._response}}catch(n){if(n.details?.errorCode==="BlobNotFound")return{succeeded:!1,...n.response?.parsedHeaders,_response:n.response};throw n}})}async undelete(e={}){return ae.tracingClient.withSpan("BlobClient-undelete",e,async r=>(0,U.assertResponse)(await this.blobContext.undelete({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}async setHTTPHeaders(e,r={}){return r.conditions=r.conditions||{},(0,Xe.ensureCpkIfSpecified)(r.customerProvidedKey,this.isHttps),ae.tracingClient.withSpan("BlobClient-setHTTPHeaders",r,async n=>(0,U.assertResponse)(await this.blobContext.setHttpHeaders({abortSignal:r.abortSignal,blobHttpHeaders:e,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions})))}async setMetadata(e,r={}){return r.conditions=r.conditions||{},(0,Xe.ensureCpkIfSpecified)(r.customerProvidedKey,this.isHttps),ae.tracingClient.withSpan("BlobClient-setMetadata",r,async n=>(0,U.assertResponse)(await this.blobContext.setMetadata({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,metadata:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,tracingOptions:n.tracingOptions})))}async setTags(e,r={}){return ae.tracingClient.withSpan("BlobClient-setTags",r,async n=>(0,U.assertResponse)(await this.blobContext.setTags({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},blobModifiedAccessConditions:r.conditions,tracingOptions:n.tracingOptions,tags:(0,U.toBlobTags)(e)})))}async getTags(e={}){return ae.tracingClient.withSpan("BlobClient-getTags",e,async r=>{let n=(0,U.assertResponse)(await this.blobContext.getTags({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},blobModifiedAccessConditions:e.conditions,tracingOptions:r.tracingOptions}));return{...n,_response:n._response,tags:(0,U.toTags)({blobTagSet:n.blobTagSet})||{}}})}getBlobLeaseClient(e){return new uDe.BlobLeaseClient(this,e)}async createSnapshot(e={}){return e.conditions=e.conditions||{},(0,Xe.ensureCpkIfSpecified)(e.customerProvidedKey,this.isHttps),ae.tracingClient.withSpan("BlobClient-createSnapshot",e,async r=>(0,U.assertResponse)(await this.blobContext.createSnapshot({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,tracingOptions:r.tracingOptions})))}async beginCopyFromURL(e,r={}){let n={abortCopyFromURL:s((...o)=>this.abortCopyFromURL(...o),"abortCopyFromURL"),getProperties:s((...o)=>this.getProperties(...o),"getProperties"),startCopyFromURL:s((...o)=>this.startCopyFromURL(...o),"startCopyFromURL")},i=new cDe.BlobBeginCopyFromUrlPoller({blobClient:n,copySource:e,intervalInMs:r.intervalInMs,onProgress:r.onProgress,resumeFrom:r.resumeFrom,startCopyFromURLOptions:r});return await i.poll(),i}async abortCopyFromURL(e,r={}){return ae.tracingClient.withSpan("BlobClient-abortCopyFromURL",r,async n=>(0,U.assertResponse)(await this.blobContext.abortCopyFromURL(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,tracingOptions:n.tracingOptions})))}async syncCopyFromURL(e,r={}){return r.conditions=r.conditions||{},r.sourceConditions=r.sourceConditions||{},ae.tracingClient.withSpan("BlobClient-syncCopyFromURL",r,async n=>(0,U.assertResponse)(await this.blobContext.copyFromURL(e,{abortSignal:r.abortSignal,metadata:r.metadata,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:r.sourceConditions?.ifMatch,sourceIfModifiedSince:r.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:r.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:r.sourceConditions?.ifUnmodifiedSince},sourceContentMD5:r.sourceContentMD5,copySourceAuthorization:(0,U.httpAuthorizationToString)(r.sourceAuthorization),tier:(0,Xe.toAccessTier)(r.tier),blobTagsString:(0,U.toBlobTagsString)(r.tags),immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,encryptionScope:r.encryptionScope,copySourceTags:r.copySourceTags,fileRequestIntent:r.sourceShareTokenIntent,tracingOptions:n.tracingOptions})))}async setAccessTier(e,r={}){return ae.tracingClient.withSpan("BlobClient-setAccessTier",r,async n=>(0,U.assertResponse)(await this.blobContext.setTier((0,Xe.toAccessTier)(e),{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},rehydratePriority:r.rehydratePriority,tracingOptions:n.tracingOptions})))}async downloadToBuffer(e,r,n,i={}){let o,a=0,c=0,l=i;e instanceof Buffer?(o=e,a=r||0,c=typeof n=="number"?n:0):(a=typeof e=="number"?e:0,c=typeof r=="number"?r:0,l=n||{});let A=l.blockSize??0;if(A<0)throw new RangeError("blockSize option must be >= 0");if(A===0&&(A=We.DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES),a<0)throw new RangeError("offset option must be >= 0");if(c&&c<=0)throw new RangeError("count option must be greater than 0");return l.conditions||(l.conditions={}),ae.tracingClient.withSpan("BlobClient-downloadToBuffer",l,async u=>{if(!c){let y=await this.getProperties({...l,tracingOptions:u.tracingOptions});if(c=y.contentLength-a,c<0)throw new RangeError(`offset ${a} shouldn't be larger than blob size ${y.contentLength}`)}if(!o)try{o=Buffer.alloc(c)}catch(y){throw new Error(`Unable to allocate the buffer of size: ${c}(in bytes). Please try passing your own buffer to the "downloadToBuffer" method or try using other methods like "download" or "downloadToFile". ${y.message}`)}if(o.length{let B=a+c;y+A{let a=await this.download(r,n,{...i,tracingOptions:o.tracingOptions});return a.readableStreamBody&&await(0,$h.readStreamToLocalFile)(a.readableStreamBody,e),a.blobDownloadStream=void 0,a})}getBlobAndContainerNamesFromUrl(){let e,r;try{let n=new URL(this.url);if(n.host.split(".")[1]==="blob"){let i=n.pathname.match("/([^/]*)(/(.*))?");e=i[1],r=i[3]}else if((0,U.isIpEndpointStyle)(n)){let i=n.pathname.match("/([^/]*)/([^/]*)(/(.*))?");e=i[2],r=i[4]}else{let i=n.pathname.match("/([^/]*)(/(.*))?");e=i[1],r=i[3]}if(e=decodeURIComponent(e),r=decodeURIComponent(r),r=r.replace(/\\/g,"/"),!e)throw new Error("Provided containerName is invalid.");return{blobName:r,containerName:e}}catch{throw new Error("Unable to extract blobName and containerName with provided information.")}}async startCopyFromURL(e,r={}){return ae.tracingClient.withSpan("BlobClient-startCopyFromURL",r,async n=>(r.conditions=r.conditions||{},r.sourceConditions=r.sourceConditions||{},(0,U.assertResponse)(await this.blobContext.startCopyFromURL(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,metadata:r.metadata,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:r.sourceConditions.ifMatch,sourceIfModifiedSince:r.sourceConditions.ifModifiedSince,sourceIfNoneMatch:r.sourceConditions.ifNoneMatch,sourceIfUnmodifiedSince:r.sourceConditions.ifUnmodifiedSince,sourceIfTags:r.sourceConditions.tagConditions},immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,rehydratePriority:r.rehydratePriority,tier:(0,Xe.toAccessTier)(r.tier),blobTagsString:(0,U.toBlobTagsString)(r.tags),sealBlob:r.sealBlob,tracingOptions:n.tracingOptions}))))}generateSasUrl(e){return new Promise(r=>{if(!(this.credential instanceof yt.StorageSharedKeyCredential))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");let n=(0,Kh.generateBlobSASQueryParameters)({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).toString();r((0,U.appendToURLQuery)(this.url,n))})}generateSasStringToSign(e){if(!(this.credential instanceof yt.StorageSharedKeyCredential))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");return(0,Kh.generateBlobSASQueryParametersInternal)({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).stringToSign}generateUserDelegationSasUrl(e,r){return new Promise(n=>{let i=(0,Kh.generateBlobSASQueryParameters)({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},r,this.accountName).toString();n((0,U.appendToURLQuery)(this.url,i))})}generateUserDelegationSasStringToSign(e,r){return(0,Kh.generateBlobSASQueryParametersInternal)({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},r,this.accountName).stringToSign}async deleteImmutabilityPolicy(e={}){return ae.tracingClient.withSpan("BlobClient-deleteImmutabilityPolicy",e,async r=>(0,U.assertResponse)(await this.blobContext.deleteImmutabilityPolicy({tracingOptions:r.tracingOptions})))}async setImmutabilityPolicy(e,r={}){return ae.tracingClient.withSpan("BlobClient-setImmutabilityPolicy",r,async n=>(0,U.assertResponse)(await this.blobContext.setImmutabilityPolicy({immutabilityPolicyExpiry:e.expiriesOn,immutabilityPolicyMode:e.policyMode,tracingOptions:n.tracingOptions})))}async setLegalHold(e,r={}){return ae.tracingClient.withSpan("BlobClient-setLegalHold",r,async n=>(0,U.assertResponse)(await this.blobContext.setLegalHold(e,{tracingOptions:n.tracingOptions})))}async getAccountInfo(e={}){return ae.tracingClient.withSpan("BlobClient-getAccountInfo",e,async r=>(0,U.assertResponse)(await this.blobContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}};wi.BlobClient=sl;var Xh=class t extends sl{static{s(this,"AppendBlobClient")}appendBlobContext;constructor(e,r,n,i){let o,a;if(i=i||{},(0,Pt.isPipelineLike)(r))a=e,o=r;else if(Sn.isNodeLike&&r instanceof yt.StorageSharedKeyCredential||r instanceof yt.AnonymousCredential||(0,rf.isTokenCredential)(r))a=e,i=n,o=(0,Pt.newPipeline)(r,i);else if(!r&&typeof r!="string")a=e,o=(0,Pt.newPipeline)(new yt.AnonymousCredential,i);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,A=(0,U.extractConnectionStringParts)(e);if(A.kind==="AccountConnString")if(Sn.isNodeLike){let u=new yt.StorageSharedKeyCredential(A.accountName,A.accountKey);a=(0,U.appendToURLPath)((0,U.appendToURLPath)(A.url,encodeURIComponent(c)),encodeURIComponent(l)),i.proxyOptions||(i.proxyOptions=(0,tf.getDefaultProxySettings)(A.proxyUri)),o=(0,Pt.newPipeline)(u,i)}else throw new Error("Account connection string is only supported in Node.js environment");else if(A.kind==="SASConnString")a=(0,U.appendToURLPath)((0,U.appendToURLPath)(A.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+A.accountSas,o=(0,Pt.newPipeline)(new yt.AnonymousCredential,i);else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}else throw new Error("Expecting non-empty strings for containerName and blobName parameters");super(a,o),this.appendBlobContext=this.storageClientContext.appendBlob}withSnapshot(e){return new t((0,U.setURLParameter)(this.url,We.URLConstants.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async create(e={}){return e.conditions=e.conditions||{},(0,Xe.ensureCpkIfSpecified)(e.customerProvidedKey,this.isHttps),ae.tracingClient.withSpan("AppendBlobClient-create",e,async r=>(0,U.assertResponse)(await this.appendBlobContext.create(0,{abortSignal:e.abortSignal,blobHttpHeaders:e.blobHTTPHeaders,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,immutabilityPolicyExpiry:e.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:e.immutabilityPolicy?.policyMode,legalHold:e.legalHold,blobTagsString:(0,U.toBlobTagsString)(e.tags),tracingOptions:r.tracingOptions})))}async createIfNotExists(e={}){let r={ifNoneMatch:We.ETagAny};return ae.tracingClient.withSpan("AppendBlobClient-createIfNotExists",e,async n=>{try{let i=(0,U.assertResponse)(await this.create({...n,conditions:r}));return{succeeded:!0,...i,_response:i._response}}catch(i){if(i.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...i.response?.parsedHeaders,_response:i.response};throw i}})}async seal(e={}){return e.conditions=e.conditions||{},ae.tracingClient.withSpan("AppendBlobClient-seal",e,async r=>(0,U.assertResponse)(await this.appendBlobContext.seal({abortSignal:e.abortSignal,appendPositionAccessConditions:e.conditions,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}async appendBlock(e,r,n={}){return n.conditions=n.conditions||{},(0,Xe.ensureCpkIfSpecified)(n.customerProvidedKey,this.isHttps),ae.tracingClient.withSpan("AppendBlobClient-appendBlock",n,async i=>(0,U.assertResponse)(await this.appendBlobContext.appendBlock(r,e,{abortSignal:n.abortSignal,appendPositionAccessConditions:n.conditions,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onUploadProgress:n.onProgress},transactionalContentMD5:n.transactionalContentMD5,transactionalContentCrc64:n.transactionalContentCrc64,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,tracingOptions:i.tracingOptions})))}async appendBlockFromURL(e,r,n,i={}){return i.conditions=i.conditions||{},i.sourceConditions=i.sourceConditions||{},(0,Xe.ensureCpkIfSpecified)(i.customerProvidedKey,this.isHttps),ae.tracingClient.withSpan("AppendBlobClient-appendBlockFromURL",i,async o=>(0,U.assertResponse)(await this.appendBlobContext.appendBlockFromUrl(e,0,{abortSignal:i.abortSignal,sourceRange:(0,rn.rangeToString)({offset:r,count:n}),sourceContentMD5:i.sourceContentMD5,sourceContentCrc64:i.sourceContentCrc64,leaseAccessConditions:i.conditions,appendPositionAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:i.sourceConditions?.ifMatch,sourceIfModifiedSince:i.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:i.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:i.sourceConditions?.ifUnmodifiedSince},copySourceAuthorization:(0,U.httpAuthorizationToString)(i.sourceAuthorization),cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:o.tracingOptions})))}};wi.AppendBlobClient=Xh;var Zh=class t extends sl{static{s(this,"BlockBlobClient")}_blobContext;blockBlobContext;constructor(e,r,n,i){let o,a;if(i=i||{},(0,Pt.isPipelineLike)(r))a=e,o=r;else if(Sn.isNodeLike&&r instanceof yt.StorageSharedKeyCredential||r instanceof yt.AnonymousCredential||(0,rf.isTokenCredential)(r))a=e,i=n,o=(0,Pt.newPipeline)(r,i);else if(!r&&typeof r!="string")a=e,n&&typeof n!="string"&&(i=n),o=(0,Pt.newPipeline)(new yt.AnonymousCredential,i);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,A=(0,U.extractConnectionStringParts)(e);if(A.kind==="AccountConnString")if(Sn.isNodeLike){let u=new yt.StorageSharedKeyCredential(A.accountName,A.accountKey);a=(0,U.appendToURLPath)((0,U.appendToURLPath)(A.url,encodeURIComponent(c)),encodeURIComponent(l)),i.proxyOptions||(i.proxyOptions=(0,tf.getDefaultProxySettings)(A.proxyUri)),o=(0,Pt.newPipeline)(u,i)}else throw new Error("Account connection string is only supported in Node.js environment");else if(A.kind==="SASConnString")a=(0,U.appendToURLPath)((0,U.appendToURLPath)(A.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+A.accountSas,o=(0,Pt.newPipeline)(new yt.AnonymousCredential,i);else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}else throw new Error("Expecting non-empty strings for containerName and blobName parameters");super(a,o),this.blockBlobContext=this.storageClientContext.blockBlob,this._blobContext=this.storageClientContext.blob}withSnapshot(e){return new t((0,U.setURLParameter)(this.url,We.URLConstants.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async query(e,r={}){if((0,Xe.ensureCpkIfSpecified)(r.customerProvidedKey,this.isHttps),!Sn.isNodeLike)throw new Error("This operation currently is only supported in Node.js.");return ae.tracingClient.withSpan("BlockBlobClient-query",r,async n=>{let i=(0,U.assertResponse)(await this._blobContext.query({abortSignal:r.abortSignal,queryRequest:{queryType:"SQL",expression:e,inputSerialization:(0,U.toQuerySerialization)(r.inputTextConfiguration),outputSerialization:(0,U.toQuerySerialization)(r.outputTextConfiguration)},leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,tracingOptions:n.tracingOptions}));return new aDe.BlobQueryResponse(i,{abortSignal:r.abortSignal,onProgress:r.onProgress,onError:r.onError})})}async upload(e,r,n={}){return n.conditions=n.conditions||{},(0,Xe.ensureCpkIfSpecified)(n.customerProvidedKey,this.isHttps),ae.tracingClient.withSpan("BlockBlobClient-upload",n,async i=>(0,U.assertResponse)(await this.blockBlobContext.upload(r,e,{abortSignal:n.abortSignal,blobHttpHeaders:n.blobHTTPHeaders,leaseAccessConditions:n.conditions,metadata:n.metadata,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onUploadProgress:n.onProgress},cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,immutabilityPolicyExpiry:n.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:n.immutabilityPolicy?.policyMode,legalHold:n.legalHold,tier:(0,Xe.toAccessTier)(n.tier),blobTagsString:(0,U.toBlobTagsString)(n.tags),tracingOptions:i.tracingOptions})))}async syncUploadFromURL(e,r={}){return r.conditions=r.conditions||{},(0,Xe.ensureCpkIfSpecified)(r.customerProvidedKey,this.isHttps),ae.tracingClient.withSpan("BlockBlobClient-syncUploadFromURL",r,async n=>(0,U.assertResponse)(await this.blockBlobContext.putBlobFromUrl(0,e,{...r,blobHttpHeaders:r.blobHTTPHeaders,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:r.sourceConditions?.ifMatch,sourceIfModifiedSince:r.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:r.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:r.sourceConditions?.ifUnmodifiedSince,sourceIfTags:r.sourceConditions?.tagConditions},cpkInfo:r.customerProvidedKey,copySourceAuthorization:(0,U.httpAuthorizationToString)(r.sourceAuthorization),tier:(0,Xe.toAccessTier)(r.tier),blobTagsString:(0,U.toBlobTagsString)(r.tags),copySourceTags:r.copySourceTags,fileRequestIntent:r.sourceShareTokenIntent,tracingOptions:n.tracingOptions})))}async stageBlock(e,r,n,i={}){return(0,Xe.ensureCpkIfSpecified)(i.customerProvidedKey,this.isHttps),ae.tracingClient.withSpan("BlockBlobClient-stageBlock",i,async o=>(0,U.assertResponse)(await this.blockBlobContext.stageBlock(e,n,r,{abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,requestOptions:{onUploadProgress:i.onProgress},transactionalContentMD5:i.transactionalContentMD5,transactionalContentCrc64:i.transactionalContentCrc64,cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,tracingOptions:o.tracingOptions})))}async stageBlockFromURL(e,r,n=0,i,o={}){return(0,Xe.ensureCpkIfSpecified)(o.customerProvidedKey,this.isHttps),ae.tracingClient.withSpan("BlockBlobClient-stageBlockFromURL",o,async a=>(0,U.assertResponse)(await this.blockBlobContext.stageBlockFromURL(e,0,r,{abortSignal:o.abortSignal,leaseAccessConditions:o.conditions,sourceContentMD5:o.sourceContentMD5,sourceContentCrc64:o.sourceContentCrc64,sourceRange:n===0&&!i?void 0:(0,rn.rangeToString)({offset:n,count:i}),cpkInfo:o.customerProvidedKey,encryptionScope:o.encryptionScope,copySourceAuthorization:(0,U.httpAuthorizationToString)(o.sourceAuthorization),fileRequestIntent:o.sourceShareTokenIntent,tracingOptions:a.tracingOptions})))}async commitBlockList(e,r={}){return r.conditions=r.conditions||{},(0,Xe.ensureCpkIfSpecified)(r.customerProvidedKey,this.isHttps),ae.tracingClient.withSpan("BlockBlobClient-commitBlockList",r,async n=>(0,U.assertResponse)(await this.blockBlobContext.commitBlockList({latest:e},{abortSignal:r.abortSignal,blobHttpHeaders:r.blobHTTPHeaders,leaseAccessConditions:r.conditions,metadata:r.metadata,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,tier:(0,Xe.toAccessTier)(r.tier),blobTagsString:(0,U.toBlobTagsString)(r.tags),tracingOptions:n.tracingOptions})))}async getBlockList(e,r={}){return ae.tracingClient.withSpan("BlockBlobClient-getBlockList",r,async n=>{let i=(0,U.assertResponse)(await this.blockBlobContext.getBlockList(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions}));return i.committedBlocks||(i.committedBlocks=[]),i.uncommittedBlocks||(i.uncommittedBlocks=[]),i})}async uploadData(e,r={}){return ae.tracingClient.withSpan("BlockBlobClient-uploadData",r,async n=>{if(Sn.isNodeLike){let i;return e instanceof Buffer?i=e:e instanceof ArrayBuffer?i=Buffer.from(e):(e=e,i=Buffer.from(e.buffer,e.byteOffset,e.byteLength)),this.uploadSeekableInternal((o,a)=>i.slice(o,o+a),i.byteLength,n)}else{let i=new Blob([e]);return this.uploadSeekableInternal((o,a)=>i.slice(o,o+a),i.size,n)}})}async uploadBrowserData(e,r={}){return ae.tracingClient.withSpan("BlockBlobClient-uploadBrowserData",r,async n=>{let i=new Blob([e]);return this.uploadSeekableInternal((o,a)=>i.slice(o,o+a),i.size,n)})}async uploadSeekableInternal(e,r,n={}){let i=n.blockSize??0;if(i<0||i>We.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES)throw new RangeError(`blockSize option must be >= 0 and <= ${We.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES}`);let o=n.maxSingleShotSize??We.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES;if(o<0||o>We.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES)throw new RangeError(`maxSingleShotSize option must be >= 0 and <= ${We.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES}`);if(i===0){if(r>We.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES*We.BLOCK_BLOB_MAX_BLOCKS)throw new RangeError(`${r} is too larger to upload to a block blob.`);r>o&&(i=Math.ceil(r/We.BLOCK_BLOB_MAX_BLOCKS),i{if(r<=o)return(0,U.assertResponse)(await this.upload(e(0,r),r,a));let c=Math.floor((r-1)/i)+1;if(c>We.BLOCK_BLOB_MAX_BLOCKS)throw new RangeError(`The buffer's size is too big or the BlockSize is too small;the number of blocks must be <= ${We.BLOCK_BLOB_MAX_BLOCKS}`);let l=[],A=(0,yW.randomUUID)(),u=0,d=new CW.Batch(n.concurrency);for(let g=0;g{let y=(0,U.generateBlockID)(A,g),B=i*g,x=(g===c-1?r:B+i)-B;l.push(y),await this.stageBlock(y,e(B,x),x,{abortSignal:n.abortSignal,conditions:n.conditions,encryptionScope:n.encryptionScope,tracingOptions:a.tracingOptions}),u+=x,n.onProgress&&n.onProgress({loadedBytes:u})});return await d.do(),this.commitBlockList(l,a)})}async uploadFile(e,r={}){return ae.tracingClient.withSpan("BlockBlobClient-uploadFile",r,async n=>{let i=(await(0,$h.fsStat)(e)).size;return this.uploadSeekableInternal((o,a)=>()=>(0,$h.fsCreateReadStream)(e,{autoClose:!0,end:a?o+a-1:1/0,start:o}),i,{...r,tracingOptions:n.tracingOptions})})}async uploadStream(e,r=We.DEFAULT_BLOCK_BUFFER_SIZE_BYTES,n=5,i={}){return i.blobHTTPHeaders||(i.blobHTTPHeaders={}),i.conditions||(i.conditions={}),ae.tracingClient.withSpan("BlockBlobClient-uploadStream",i,async o=>{let a=0,c=(0,yW.randomUUID)(),l=0,A=[];return await new ADe.BufferScheduler(e,r,n,async(d,g)=>{let y=(0,U.generateBlockID)(c,a);A.push(y),a++,await this.stageBlock(y,d,g,{customerProvidedKey:i.customerProvidedKey,conditions:i.conditions,encryptionScope:i.encryptionScope,tracingOptions:o.tracingOptions}),l+=g,i.onProgress&&i.onProgress({loadedBytes:l})},Math.ceil(n/4*3)).do(),(0,U.assertResponse)(await this.commitBlockList(A,{...i,tracingOptions:o.tracingOptions}))})}};wi.BlockBlobClient=Zh;var ef=class t extends sl{static{s(this,"PageBlobClient")}pageBlobContext;constructor(e,r,n,i){let o,a;if(i=i||{},(0,Pt.isPipelineLike)(r))a=e,o=r;else if(Sn.isNodeLike&&r instanceof yt.StorageSharedKeyCredential||r instanceof yt.AnonymousCredential||(0,rf.isTokenCredential)(r))a=e,i=n,o=(0,Pt.newPipeline)(r,i);else if(!r&&typeof r!="string")a=e,o=(0,Pt.newPipeline)(new yt.AnonymousCredential,i);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,A=(0,U.extractConnectionStringParts)(e);if(A.kind==="AccountConnString")if(Sn.isNodeLike){let u=new yt.StorageSharedKeyCredential(A.accountName,A.accountKey);a=(0,U.appendToURLPath)((0,U.appendToURLPath)(A.url,encodeURIComponent(c)),encodeURIComponent(l)),i.proxyOptions||(i.proxyOptions=(0,tf.getDefaultProxySettings)(A.proxyUri)),o=(0,Pt.newPipeline)(u,i)}else throw new Error("Account connection string is only supported in Node.js environment");else if(A.kind==="SASConnString")a=(0,U.appendToURLPath)((0,U.appendToURLPath)(A.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+A.accountSas,o=(0,Pt.newPipeline)(new yt.AnonymousCredential,i);else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}else throw new Error("Expecting non-empty strings for containerName and blobName parameters");super(a,o),this.pageBlobContext=this.storageClientContext.pageBlob}withSnapshot(e){return new t((0,U.setURLParameter)(this.url,We.URLConstants.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async create(e,r={}){return r.conditions=r.conditions||{},(0,Xe.ensureCpkIfSpecified)(r.customerProvidedKey,this.isHttps),ae.tracingClient.withSpan("PageBlobClient-create",r,async n=>(0,U.assertResponse)(await this.pageBlobContext.create(0,e,{abortSignal:r.abortSignal,blobHttpHeaders:r.blobHTTPHeaders,blobSequenceNumber:r.blobSequenceNumber,leaseAccessConditions:r.conditions,metadata:r.metadata,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,tier:(0,Xe.toAccessTier)(r.tier),blobTagsString:(0,U.toBlobTagsString)(r.tags),tracingOptions:n.tracingOptions})))}async createIfNotExists(e,r={}){return ae.tracingClient.withSpan("PageBlobClient-createIfNotExists",r,async n=>{try{let i={ifNoneMatch:We.ETagAny},o=(0,U.assertResponse)(await this.create(e,{...r,conditions:i,tracingOptions:n.tracingOptions}));return{succeeded:!0,...o,_response:o._response}}catch(i){if(i.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...i.response?.parsedHeaders,_response:i.response};throw i}})}async uploadPages(e,r,n,i={}){return i.conditions=i.conditions||{},(0,Xe.ensureCpkIfSpecified)(i.customerProvidedKey,this.isHttps),ae.tracingClient.withSpan("PageBlobClient-uploadPages",i,async o=>(0,U.assertResponse)(await this.pageBlobContext.uploadPages(n,e,{abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},requestOptions:{onUploadProgress:i.onProgress},range:(0,rn.rangeToString)({offset:r,count:n}),sequenceNumberAccessConditions:i.conditions,transactionalContentMD5:i.transactionalContentMD5,transactionalContentCrc64:i.transactionalContentCrc64,cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,tracingOptions:o.tracingOptions})))}async uploadPagesFromURL(e,r,n,i,o={}){return o.conditions=o.conditions||{},o.sourceConditions=o.sourceConditions||{},(0,Xe.ensureCpkIfSpecified)(o.customerProvidedKey,this.isHttps),ae.tracingClient.withSpan("PageBlobClient-uploadPagesFromURL",o,async a=>(0,U.assertResponse)(await this.pageBlobContext.uploadPagesFromURL(e,(0,rn.rangeToString)({offset:r,count:i}),0,(0,rn.rangeToString)({offset:n,count:i}),{abortSignal:o.abortSignal,sourceContentMD5:o.sourceContentMD5,sourceContentCrc64:o.sourceContentCrc64,leaseAccessConditions:o.conditions,sequenceNumberAccessConditions:o.conditions,modifiedAccessConditions:{...o.conditions,ifTags:o.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:o.sourceConditions?.ifMatch,sourceIfModifiedSince:o.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:o.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:o.sourceConditions?.ifUnmodifiedSince},cpkInfo:o.customerProvidedKey,encryptionScope:o.encryptionScope,copySourceAuthorization:(0,U.httpAuthorizationToString)(o.sourceAuthorization),fileRequestIntent:o.sourceShareTokenIntent,tracingOptions:a.tracingOptions})))}async clearPages(e=0,r,n={}){return n.conditions=n.conditions||{},ae.tracingClient.withSpan("PageBlobClient-clearPages",n,async i=>(0,U.assertResponse)(await this.pageBlobContext.clearPages(0,{abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},range:(0,rn.rangeToString)({offset:e,count:r}),sequenceNumberAccessConditions:n.conditions,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,tracingOptions:i.tracingOptions})))}async getPageRanges(e=0,r,n={}){return n.conditions=n.conditions||{},ae.tracingClient.withSpan("PageBlobClient-getPageRanges",n,async i=>{let o=(0,U.assertResponse)(await this.pageBlobContext.getPageRanges({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},range:(0,rn.rangeToString)({offset:e,count:r}),tracingOptions:i.tracingOptions}));return(0,QS.rangeResponseFromModel)(o)})}async listPageRangesSegment(e=0,r,n,i={}){return ae.tracingClient.withSpan("PageBlobClient-getPageRangesSegment",i,async o=>(0,U.assertResponse)(await this.pageBlobContext.getPageRanges({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},range:(0,rn.rangeToString)({offset:e,count:r}),marker:n,maxPageSize:i.maxPageSize,tracingOptions:o.tracingOptions})))}async*listPageRangeItemSegments(e=0,r,n,i={}){let o;if(n||n===void 0)do o=await this.listPageRangesSegment(e,r,n,i),n=o.continuationToken,yield await o;while(n)}async*listPageRangeItems(e=0,r,n={}){let i;for await(let o of this.listPageRangeItemSegments(e,r,i,n))yield*(0,U.ExtractPageRangeInfoItems)(o)}listPageRanges(e=0,r,n={}){n.conditions=n.conditions||{};let i=this.listPageRangeItems(e,r,n);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:s((o={})=>this.listPageRangeItemSegments(e,r,o.continuationToken,{maxPageSize:o.maxPageSize,...n}),"byPage")}}async getPageRangesDiff(e,r,n,i={}){return i.conditions=i.conditions||{},ae.tracingClient.withSpan("PageBlobClient-getPageRangesDiff",i,async o=>{let a=(0,U.assertResponse)(await this.pageBlobContext.getPageRangesDiff({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},prevsnapshot:n,range:(0,rn.rangeToString)({offset:e,count:r}),tracingOptions:o.tracingOptions}));return(0,QS.rangeResponseFromModel)(a)})}async listPageRangesDiffSegment(e,r,n,i,o={}){return ae.tracingClient.withSpan("PageBlobClient-getPageRangesDiffSegment",o,async a=>(0,U.assertResponse)(await this.pageBlobContext.getPageRangesDiff({abortSignal:o?.abortSignal,leaseAccessConditions:o?.conditions,modifiedAccessConditions:{...o?.conditions,ifTags:o?.conditions?.tagConditions},prevsnapshot:n,range:(0,rn.rangeToString)({offset:e,count:r}),marker:i,maxPageSize:o?.maxPageSize,tracingOptions:a.tracingOptions})))}async*listPageRangeDiffItemSegments(e,r,n,i,o){let a;if(i||i===void 0)do a=await this.listPageRangesDiffSegment(e,r,n,i,o),i=a.continuationToken,yield await a;while(i)}async*listPageRangeDiffItems(e,r,n,i){let o;for await(let a of this.listPageRangeDiffItemSegments(e,r,n,o,i))yield*(0,U.ExtractPageRangeInfoItems)(a)}listPageRangesDiff(e,r,n,i={}){i.conditions=i.conditions||{};let o=this.listPageRangeDiffItems(e,r,n,{...i});return{next(){return o.next()},[Symbol.asyncIterator](){return this},byPage:s((a={})=>this.listPageRangeDiffItemSegments(e,r,n,a.continuationToken,{maxPageSize:a.maxPageSize,...i}),"byPage")}}async getPageRangesDiffForManagedDisks(e,r,n,i={}){return i.conditions=i.conditions||{},ae.tracingClient.withSpan("PageBlobClient-GetPageRangesDiffForManagedDisks",i,async o=>{let a=(0,U.assertResponse)(await this.pageBlobContext.getPageRangesDiff({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},prevSnapshotUrl:n,range:(0,rn.rangeToString)({offset:e,count:r}),tracingOptions:o.tracingOptions}));return(0,QS.rangeResponseFromModel)(a)})}async resize(e,r={}){return r.conditions=r.conditions||{},ae.tracingClient.withSpan("PageBlobClient-resize",r,async n=>(0,U.assertResponse)(await this.pageBlobContext.resize(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},encryptionScope:r.encryptionScope,tracingOptions:n.tracingOptions})))}async updateSequenceNumber(e,r,n={}){return n.conditions=n.conditions||{},ae.tracingClient.withSpan("PageBlobClient-updateSequenceNumber",n,async i=>(0,U.assertResponse)(await this.pageBlobContext.updateSequenceNumber(e,{abortSignal:n.abortSignal,blobSequenceNumber:r,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},tracingOptions:i.tracingOptions})))}async startCopyIncremental(e,r={}){return ae.tracingClient.withSpan("PageBlobClient-startCopyIncremental",r,async n=>(0,U.assertResponse)(await this.pageBlobContext.copyIncremental(e,{abortSignal:r.abortSignal,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions})))}};wi.PageBlobClient=ef});var NS=f(sf=>{"use strict";Object.defineProperty(sf,"__esModule",{value:!0});sf.getBodyAsText=mDe;sf.utf8ByteLength=gDe;var dDe=bS(),pDe=Zr();async function mDe(t){let e=Buffer.alloc(pDe.BATCH_MAX_PAYLOAD_IN_BYTES),r=await(0,dDe.streamToBuffer2)(t.readableStreamBody,e);return e=e.slice(0,r),e.toString()}s(mDe,"getBodyAsText");function gDe(t){return Buffer.byteLength(t)}s(gDe,"utf8ByteLength")});var IW=f(af=>{"use strict";Object.defineProperty(af,"__esModule",{value:!0});af.BatchResponseParser=void 0;var hDe=Tt(),fDe=Dg(),ol=Zr(),yDe=NS(),CDe=Mg(),of=": ",EW=" ",BW=-1,wS=class{static{s(this,"BatchResponseParser")}batchResponse;responseBatchBoundary;perResponsePrefix;batchResponseEnding;subRequests;constructor(e,r){if(!e||!e.contentType)throw new RangeError("batchResponse is malformed or doesn't contain valid content-type.");if(!r||r.size===0)throw new RangeError("Invalid state: subRequests is not provided or size is 0.");this.batchResponse=e,this.subRequests=r,this.responseBatchBoundary=this.batchResponse.contentType.split("=")[1],this.perResponsePrefix=`--${this.responseBatchBoundary}${ol.HTTP_LINE_ENDING}`,this.batchResponseEnding=`--${this.responseBatchBoundary}--`}async parseBatchResponse(){if(this.batchResponse._response.status!==ol.HTTPURLConnection.HTTP_ACCEPTED)throw new Error(`Invalid state: batch request failed with status: '${this.batchResponse._response.status}'.`);let r=(await(0,yDe.getBodyAsText)(this.batchResponse)).split(this.batchResponseEnding)[0].split(this.perResponsePrefix).slice(1),n=r.length;if(n!==this.subRequests.size&&n!==1)throw new Error("Invalid state: sub responses' count is not equal to sub requests' count.");let i=new Array(n),o=0,a=0;for(let c=0;c=0&&B{"use strict";Object.defineProperty(cf,"__esModule",{value:!0});cf.Mutex=void 0;var al;(function(t){t[t.LOCKED=0]="LOCKED",t[t.UNLOCKED=1]="UNLOCKED"})(al||(al={}));var SS=class{static{s(this,"Mutex")}static async lock(e){return new Promise(r=>{this.keys[e]===void 0||this.keys[e]===al.UNLOCKED?(this.keys[e]=al.LOCKED,r()):this.onUnlockEvent(e,()=>{this.keys[e]=al.LOCKED,r()})})}static async unlock(e){return new Promise(r=>{this.keys[e]===al.LOCKED&&this.emitUnlockEvent(e),delete this.keys[e],r()})}static keys={};static listeners={};static onUnlockEvent(e,r){this.listeners[e]===void 0?this.listeners[e]=[r]:this.listeners[e].push(r)}static emitUnlockEvent(e){if(this.listeners[e]!==void 0&&this.listeners[e].length>0){let r=this.listeners[e].shift();setImmediate(()=>{r.call(this)})}}};cf.Mutex=SS});var DS=f(Af=>{"use strict";Object.defineProperty(Af,"__esModule",{value:!0});Af.BlobBatch=void 0;var EDe=st(),xS=Oc(),RS=Tt(),QW=st(),cl=Vn(),lf=nf(),NW=bW(),BDe=Hs(),vS=wn(),IDe=qw(),fr=Zr(),wW=Vo(),SW=fi(),PS=class{static{s(this,"BlobBatch")}batchRequest;batch="batch";batchType;constructor(){this.batchRequest=new _S}getMultiPartContentType(){return this.batchRequest.getMultipartContentType()}getHttpRequestBody(){return this.batchRequest.getHttpRequestBody()}getSubRequests(){return this.batchRequest.getSubRequests()}async addSubRequestInternal(e,r){await NW.Mutex.lock(this.batch);try{this.batchRequest.preAddSubRequest(e),await r(),this.batchRequest.postAddSubRequest(e)}finally{await NW.Mutex.unlock(this.batch)}}setBatchType(e){if(this.batchType||(this.batchType=e),this.batchType!==e)throw new RangeError(`BlobBatch only supports one operation type per batch and it already is being used for ${this.batchType} operations.`)}async deleteBlob(e,r,n){let i,o;if(typeof e=="string"&&(QW.isNodeLike&&r instanceof cl.StorageSharedKeyCredential||r instanceof cl.AnonymousCredential||(0,xS.isTokenCredential)(r)))i=e,o=r;else if(e instanceof lf.BlobClient)i=e.url,o=e.credential,n=r;else throw new RangeError("Invalid arguments. Either url and credential, or BlobClient need be provided.");return n||(n={}),wW.tracingClient.withSpan("BatchDeleteRequest-addSubRequest",n,async a=>{this.setBatchType("delete"),await this.addSubRequestInternal({url:i,credential:o},async()=>{await new lf.BlobClient(i,this.batchRequest.createPipeline(o)).delete(a)})})}async setBlobAccessTier(e,r,n,i){let o,a,c;if(typeof e=="string"&&(QW.isNodeLike&&r instanceof cl.StorageSharedKeyCredential||r instanceof cl.AnonymousCredential||(0,xS.isTokenCredential)(r)))o=e,a=r,c=n;else if(e instanceof lf.BlobClient)o=e.url,a=e.credential,c=r,i=n;else throw new RangeError("Invalid arguments. Either url and credential, or BlobClient need be provided.");return i||(i={}),wW.tracingClient.withSpan("BatchSetTierRequest-addSubRequest",i,async l=>{this.setBatchType("setAccessTier"),await this.addSubRequestInternal({url:o,credential:a},async()=>{await new lf.BlobClient(o,this.batchRequest.createPipeline(a)).setAccessTier(c,l)})})}};Af.BlobBatch=PS;var _S=class{static{s(this,"InnerBatchRequest")}operationCount;body;subRequests;boundary;subRequestPrefix;multipartContentType;batchRequestEnding;constructor(){this.operationCount=0,this.body="";let e=(0,EDe.randomUUID)();this.boundary=`batch_${e}`,this.subRequestPrefix=`--${this.boundary}${fr.HTTP_LINE_ENDING}${fr.HeaderConstants.CONTENT_TYPE}: application/http${fr.HTTP_LINE_ENDING}${fr.HeaderConstants.CONTENT_TRANSFER_ENCODING}: binary`,this.multipartContentType=`multipart/mixed; boundary=${this.boundary}`,this.batchRequestEnding=`--${this.boundary}--`,this.subRequests=new Map}createPipeline(e){let r=(0,RS.createEmptyPipeline)();r.addPolicy((0,SW.serializationPolicy)({stringifyXML:IDe.stringifyXML,serializerOptions:{xml:{xmlCharKey:"#"}}}),{phase:"Serialize"}),r.addPolicy(QDe()),r.addPolicy(bDe(this),{afterPhase:"Sign"}),(0,xS.isTokenCredential)(e)?r.addPolicy((0,RS.bearerTokenAuthenticationPolicy)({credential:e,scopes:fr.StorageOAuthScopes,challengeCallbacks:{authorizeRequestOnChallenge:SW.authorizeRequestOnTenantChallenge}}),{phase:"Sign"}):e instanceof cl.StorageSharedKeyCredential&&r.addPolicy((0,cl.storageSharedKeyCredentialPolicy)({accountName:e.accountName,accountKey:e.accountKey}),{phase:"Sign"});let n=new BDe.Pipeline([]);return n._credential=e,n._corePipeline=r,n}appendSubRequestToBody(e){this.body+=[this.subRequestPrefix,`${fr.HeaderConstants.CONTENT_ID}: ${this.operationCount}`,"",`${e.method.toString()} ${(0,vS.getURLPathAndQuery)(e.url)} ${fr.HTTP_VERSION_1_1}${fr.HTTP_LINE_ENDING}`].join(fr.HTTP_LINE_ENDING);for(let[r,n]of e.headers)this.body+=`${r}: ${n}${fr.HTTP_LINE_ENDING}`;this.body+=fr.HTTP_LINE_ENDING}preAddSubRequest(e){if(this.operationCount>=fr.BATCH_MAX_REQUEST)throw new RangeError(`Cannot exceed ${fr.BATCH_MAX_REQUEST} sub requests in a single batch`);let r=(0,vS.getURLPath)(e.url);if(!r||r==="")throw new RangeError(`Invalid url for sub request: '${e.url}'`)}postAddSubRequest(e){this.subRequests.set(this.operationCount,e),this.operationCount++}getHttpRequestBody(){return`${this.body}${this.batchRequestEnding}${fr.HTTP_LINE_ENDING}`}getMultipartContentType(){return this.multipartContentType}getSubRequests(){return this.subRequests}};function bDe(t){return{name:"batchRequestAssemblePolicy",async sendRequest(e){return t.appendSubRequestToBody(e),{request:e,status:200,headers:(0,RS.createHttpHeaders)()}}}}s(bDe,"batchRequestAssemblePolicy");function QDe(){return{name:"batchHeaderFilterPolicy",async sendRequest(t,e){let r="";for(let[n]of t.headers)(0,vS.iEqual)(n,fr.HeaderConstants.X_MS_VERSION)&&(r=n);return r!==""&&t.headers.delete(r),e(t)}}}s(QDe,"batchHeaderFilterPolicy")});var pf=f(df=>{"use strict";Object.defineProperty(df,"__esModule",{value:!0});df.BlobBatchClient=void 0;var NDe=IW(),wDe=NS(),TS=DS(),SDe=Vo(),xDe=Vn(),RDe=O0(),uf=Hs(),xW=wn(),OS=class{static{s(this,"BlobBatchClient")}serviceOrContainerContext;constructor(e,r,n){let i;(0,uf.isPipelineLike)(r)?i=r:r?i=(0,uf.newPipeline)(r,n):i=(0,uf.newPipeline)(new xDe.AnonymousCredential,n);let o=new RDe.StorageContextClient(e,(0,uf.getCoreClientOptions)(i)),a=(0,xW.getURLPath)(e);a&&a!=="/"?this.serviceOrContainerContext=o.container:this.serviceOrContainerContext=o.service}createBatch(){return new TS.BlobBatch}async deleteBlobs(e,r,n){let i=new TS.BlobBatch;for(let o of e)typeof o=="string"?await i.deleteBlob(o,r,n):await i.deleteBlob(o,r);return this.submitBatch(i)}async setBlobsAccessTier(e,r,n,i){let o=new TS.BlobBatch;for(let a of e)typeof a=="string"?await o.setBlobAccessTier(a,r,n,i):await o.setBlobAccessTier(a,r,n);return this.submitBatch(o)}async submitBatch(e,r={}){if(!e||e.getSubRequests().size===0)throw new RangeError("Batch request should contain one or more sub requests.");return SDe.tracingClient.withSpan("BlobBatchClient-submitBatch",r,async n=>{let i=e.getHttpRequestBody(),o=(0,xW.assertResponse)(await this.serviceOrContainerContext.submitBatch((0,wDe.utf8ByteLength)(i),e.getMultiPartContentType(),i,{...n})),c=await new NDe.BatchResponseParser(o,e.getSubRequests()).parseBatchResponse();return{_response:o._response,contentType:o.contentType,errorCode:o.errorCode,requestId:o.requestId,clientRequestId:o.clientRequestId,version:o.version,subResponses:c.subResponses,subResponsesSucceededCount:c.subResponsesSucceededCount,subResponsesFailedCount:c.subResponsesFailedCount}})}};df.BlobBatchClient=OS});var kS=f(hf=>{"use strict";Object.defineProperty(hf,"__esModule",{value:!0});hf.ContainerClient=void 0;var vDe=Tt(),RW=st(),PDe=Oc(),na=Vn(),Ru=Hs(),_De=hh(),yr=Vo(),xe=wn(),mf=Qh(),DDe=Sh(),gf=nf(),TDe=pf(),MS=class extends _De.StorageClient{static{s(this,"ContainerClient")}containerContext;_containerName;get containerName(){return this._containerName}constructor(e,r,n){let i,o;if(n=n||{},(0,Ru.isPipelineLike)(r))o=e,i=r;else if(RW.isNodeLike&&r instanceof na.StorageSharedKeyCredential||r instanceof na.AnonymousCredential||(0,PDe.isTokenCredential)(r))o=e,i=(0,Ru.newPipeline)(r,n);else if(!r&&typeof r!="string")o=e,i=(0,Ru.newPipeline)(new na.AnonymousCredential,n);else if(r&&typeof r=="string"){let a=r,c=(0,xe.extractConnectionStringParts)(e);if(c.kind==="AccountConnString")if(RW.isNodeLike){let l=new na.StorageSharedKeyCredential(c.accountName,c.accountKey);o=(0,xe.appendToURLPath)(c.url,encodeURIComponent(a)),n.proxyOptions||(n.proxyOptions=(0,vDe.getDefaultProxySettings)(c.proxyUri)),i=(0,Ru.newPipeline)(l,n)}else throw new Error("Account connection string is only supported in Node.js environment");else if(c.kind==="SASConnString")o=(0,xe.appendToURLPath)(c.url,encodeURIComponent(a))+"?"+c.accountSas,i=(0,Ru.newPipeline)(new na.AnonymousCredential,n);else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}else throw new Error("Expecting non-empty strings for containerName parameter");super(o,i),this._containerName=this.getContainerNameFromUrl(),this.containerContext=this.storageClientContext.container}async create(e={}){return yr.tracingClient.withSpan("ContainerClient-create",e,async r=>(0,xe.assertResponse)(await this.containerContext.create(r)))}async createIfNotExists(e={}){return yr.tracingClient.withSpan("ContainerClient-createIfNotExists",e,async r=>{try{let n=await this.create(r);return{succeeded:!0,...n,_response:n._response}}catch(n){if(n.details?.errorCode==="ContainerAlreadyExists")return{succeeded:!1,...n.response?.parsedHeaders,_response:n.response};throw n}})}async exists(e={}){return yr.tracingClient.withSpan("ContainerClient-exists",e,async r=>{try{return await this.getProperties({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions}),!0}catch(n){if(n.statusCode===404)return!1;throw n}})}getBlobClient(e){return new gf.BlobClient((0,xe.appendToURLPath)(this.url,(0,xe.EscapePath)(e)),this.pipeline)}getAppendBlobClient(e){return new gf.AppendBlobClient((0,xe.appendToURLPath)(this.url,(0,xe.EscapePath)(e)),this.pipeline)}getBlockBlobClient(e){return new gf.BlockBlobClient((0,xe.appendToURLPath)(this.url,(0,xe.EscapePath)(e)),this.pipeline)}getPageBlobClient(e){return new gf.PageBlobClient((0,xe.appendToURLPath)(this.url,(0,xe.EscapePath)(e)),this.pipeline)}async getProperties(e={}){return e.conditions||(e.conditions={}),yr.tracingClient.withSpan("ContainerClient-getProperties",e,async r=>(0,xe.assertResponse)(await this.containerContext.getProperties({abortSignal:e.abortSignal,...e.conditions,tracingOptions:r.tracingOptions})))}async delete(e={}){return e.conditions||(e.conditions={}),yr.tracingClient.withSpan("ContainerClient-delete",e,async r=>(0,xe.assertResponse)(await this.containerContext.delete({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:e.conditions,tracingOptions:r.tracingOptions})))}async deleteIfExists(e={}){return yr.tracingClient.withSpan("ContainerClient-deleteIfExists",e,async r=>{try{let n=await this.delete(r);return{succeeded:!0,...n,_response:n._response}}catch(n){if(n.details?.errorCode==="ContainerNotFound")return{succeeded:!1,...n.response?.parsedHeaders,_response:n.response};throw n}})}async setMetadata(e,r={}){if(r.conditions||(r.conditions={}),r.conditions.ifUnmodifiedSince)throw new RangeError("the IfUnmodifiedSince must have their default values because they are ignored by the blob service");return yr.tracingClient.withSpan("ContainerClient-setMetadata",r,async n=>(0,xe.assertResponse)(await this.containerContext.setMetadata({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,metadata:e,modifiedAccessConditions:r.conditions,tracingOptions:n.tracingOptions})))}async getAccessPolicy(e={}){return e.conditions||(e.conditions={}),yr.tracingClient.withSpan("ContainerClient-getAccessPolicy",e,async r=>{let n=(0,xe.assertResponse)(await this.containerContext.getAccessPolicy({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,tracingOptions:r.tracingOptions})),i={_response:n._response,blobPublicAccess:n.blobPublicAccess,date:n.date,etag:n.etag,errorCode:n.errorCode,lastModified:n.lastModified,requestId:n.requestId,clientRequestId:n.clientRequestId,signedIdentifiers:[],version:n.version};for(let o of n){let a;o.accessPolicy&&(a={permissions:o.accessPolicy.permissions},o.accessPolicy.expiresOn&&(a.expiresOn=new Date(o.accessPolicy.expiresOn)),o.accessPolicy.startsOn&&(a.startsOn=new Date(o.accessPolicy.startsOn))),i.signedIdentifiers.push({accessPolicy:a,id:o.id})}return i})}async setAccessPolicy(e,r,n={}){return n.conditions=n.conditions||{},yr.tracingClient.withSpan("ContainerClient-setAccessPolicy",n,async i=>{let o=[];for(let a of r||[])o.push({accessPolicy:{expiresOn:a.accessPolicy.expiresOn?(0,xe.truncatedISO8061Date)(a.accessPolicy.expiresOn):"",permissions:a.accessPolicy.permissions,startsOn:a.accessPolicy.startsOn?(0,xe.truncatedISO8061Date)(a.accessPolicy.startsOn):""},id:a.id});return(0,xe.assertResponse)(await this.containerContext.setAccessPolicy({abortSignal:n.abortSignal,access:e,containerAcl:o,leaseAccessConditions:n.conditions,modifiedAccessConditions:n.conditions,tracingOptions:i.tracingOptions}))})}getBlobLeaseClient(e){return new DDe.BlobLeaseClient(this,e)}async uploadBlockBlob(e,r,n,i={}){return yr.tracingClient.withSpan("ContainerClient-uploadBlockBlob",i,async o=>{let a=this.getBlockBlobClient(e),c=await a.upload(r,n,o);return{blockBlobClient:a,response:c}})}async deleteBlob(e,r={}){return yr.tracingClient.withSpan("ContainerClient-deleteBlob",r,async n=>{let i=this.getBlobClient(e);return r.versionId&&(i=i.withVersion(r.versionId)),i.delete(n)})}async listBlobFlatSegment(e,r={}){return yr.tracingClient.withSpan("ContainerClient-listBlobFlatSegment",r,async n=>{let i=(0,xe.assertResponse)(await this.containerContext.listBlobFlatSegment({marker:e,...r,tracingOptions:n.tracingOptions}));return{...i,_response:{...i._response,parsedBody:(0,xe.ConvertInternalResponseOfListBlobFlat)(i._response.parsedBody)},segment:{...i.segment,blobItems:i.segment.blobItems.map(a=>({...a,name:(0,xe.BlobNameToString)(a.name),tags:(0,xe.toTags)(a.blobTags),objectReplicationSourceProperties:(0,xe.parseObjectReplicationRecord)(a.objectReplicationMetadata)}))}}})}async listBlobHierarchySegment(e,r,n={}){return yr.tracingClient.withSpan("ContainerClient-listBlobHierarchySegment",n,async i=>{let o=(0,xe.assertResponse)(await this.containerContext.listBlobHierarchySegment(e,{marker:r,...n,tracingOptions:i.tracingOptions}));return{...o,_response:{...o._response,parsedBody:(0,xe.ConvertInternalResponseOfListBlobHierarchy)(o._response.parsedBody)},segment:{...o.segment,blobItems:o.segment.blobItems.map(c=>({...c,name:(0,xe.BlobNameToString)(c.name),tags:(0,xe.toTags)(c.blobTags),objectReplicationSourceProperties:(0,xe.parseObjectReplicationRecord)(c.objectReplicationMetadata)})),blobPrefixes:o.segment.blobPrefixes?.map(c=>({...c,name:(0,xe.BlobNameToString)(c.name)}))}}})}async*listSegments(e,r={}){let n;if(e||e===void 0)do n=await this.listBlobFlatSegment(e,r),e=n.continuationToken,yield await n;while(e)}async*listItems(e={}){let r;for await(let n of this.listSegments(r,e))yield*n.segment.blobItems}listBlobsFlat(e={}){let r=[];e.includeCopy&&r.push("copy"),e.includeDeleted&&r.push("deleted"),e.includeMetadata&&r.push("metadata"),e.includeSnapshots&&r.push("snapshots"),e.includeVersions&&r.push("versions"),e.includeUncommitedBlobs&&r.push("uncommittedblobs"),e.includeTags&&r.push("tags"),e.includeDeletedWithVersions&&r.push("deletedwithversions"),e.includeImmutabilityPolicy&&r.push("immutabilitypolicy"),e.includeLegalHold&&r.push("legalhold"),e.prefix===""&&(e.prefix=void 0);let n={...e,...r.length>0?{include:r}:{}},i=this.listItems(n);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:s((o={})=>this.listSegments(o.continuationToken,{maxPageSize:o.maxPageSize,...n}),"byPage")}}async*listHierarchySegments(e,r,n={}){let i;if(r||r===void 0)do i=await this.listBlobHierarchySegment(e,r,n),r=i.continuationToken,yield await i;while(r)}async*listItemsByHierarchy(e,r={}){let n;for await(let i of this.listHierarchySegments(e,n,r)){let o=i.segment;if(o.blobPrefixes)for(let a of o.blobPrefixes)yield{kind:"prefix",...a};for(let a of o.blobItems)yield{kind:"blob",...a}}}listBlobsByHierarchy(e,r={}){if(e==="")throw new RangeError("delimiter should contain one or more characters");let n=[];r.includeCopy&&n.push("copy"),r.includeDeleted&&n.push("deleted"),r.includeMetadata&&n.push("metadata"),r.includeSnapshots&&n.push("snapshots"),r.includeVersions&&n.push("versions"),r.includeUncommitedBlobs&&n.push("uncommittedblobs"),r.includeTags&&n.push("tags"),r.includeDeletedWithVersions&&n.push("deletedwithversions"),r.includeImmutabilityPolicy&&n.push("immutabilitypolicy"),r.includeLegalHold&&n.push("legalhold"),r.prefix===""&&(r.prefix=void 0);let i={...r,...n.length>0?{include:n}:{}},o=this.listItemsByHierarchy(e,i);return{async next(){return o.next()},[Symbol.asyncIterator](){return this},byPage:s((a={})=>this.listHierarchySegments(e,a.continuationToken,{maxPageSize:a.maxPageSize,...i}),"byPage")}}async findBlobsByTagsSegment(e,r,n={}){return yr.tracingClient.withSpan("ContainerClient-findBlobsByTagsSegment",n,async i=>{let o=(0,xe.assertResponse)(await this.containerContext.filterBlobs({abortSignal:n.abortSignal,where:e,marker:r,maxPageSize:n.maxPageSize,tracingOptions:i.tracingOptions}));return{...o,_response:o._response,blobs:o.blobs.map(c=>{let l="";return c.tags?.blobTagSet.length===1&&(l=c.tags.blobTagSet[0].value),{...c,tags:(0,xe.toTags)(c.tags),tagValue:l}})}})}async*findBlobsByTagsSegments(e,r,n={}){let i;if(r||r===void 0)do i=await this.findBlobsByTagsSegment(e,r,n),i.blobs=i.blobs||[],r=i.continuationToken,yield i;while(r)}async*findBlobsByTagsItems(e,r={}){let n;for await(let i of this.findBlobsByTagsSegments(e,n,r))yield*i.blobs}findBlobsByTags(e,r={}){let n={...r},i=this.findBlobsByTagsItems(e,n);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:s((o={})=>this.findBlobsByTagsSegments(e,o.continuationToken,{maxPageSize:o.maxPageSize,...n}),"byPage")}}async getAccountInfo(e={}){return yr.tracingClient.withSpan("ContainerClient-getAccountInfo",e,async r=>(0,xe.assertResponse)(await this.containerContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}getContainerNameFromUrl(){let e;try{let r=new URL(this.url);if(r.hostname.split(".")[1]==="blob"?e=r.pathname.split("/")[1]:(0,xe.isIpEndpointStyle)(r)?e=r.pathname.split("/")[2]:e=r.pathname.split("/")[1],e=decodeURIComponent(e),!e)throw new Error("Provided containerName is invalid.");return e}catch{throw new Error("Unable to extract containerName with provided information.")}}generateSasUrl(e){return new Promise(r=>{if(!(this.credential instanceof na.StorageSharedKeyCredential))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");let n=(0,mf.generateBlobSASQueryParameters)({containerName:this._containerName,...e},this.credential).toString();r((0,xe.appendToURLQuery)(this.url,n))})}generateSasStringToSign(e){if(!(this.credential instanceof na.StorageSharedKeyCredential))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");return(0,mf.generateBlobSASQueryParametersInternal)({containerName:this._containerName,...e},this.credential).stringToSign}generateUserDelegationSasUrl(e,r){return new Promise(n=>{let i=(0,mf.generateBlobSASQueryParameters)({containerName:this._containerName,...e},r,this.accountName).toString();n((0,xe.appendToURLQuery)(this.url,i))})}generateUserDelegationSasStringToSign(e,r){return(0,mf.generateBlobSASQueryParametersInternal)({containerName:this._containerName,...e},r,this.accountName).stringToSign}getBlobBatchClient(){return new TDe.BlobBatchClient(this.url,this.pipeline)}};hf.ContainerClient=MS});var yf=f(ff=>{"use strict";Object.defineProperty(ff,"__esModule",{value:!0});ff.AccountSASPermissions=void 0;var LS=class t{static{s(this,"AccountSASPermissions")}static parse(e){let r=new t;for(let n of e)switch(n){case"r":r.read=!0;break;case"w":r.write=!0;break;case"d":r.delete=!0;break;case"x":r.deleteVersion=!0;break;case"l":r.list=!0;break;case"a":r.add=!0;break;case"c":r.create=!0;break;case"u":r.update=!0;break;case"p":r.process=!0;break;case"t":r.tag=!0;break;case"f":r.filter=!0;break;case"i":r.setImmutabilityPolicy=!0;break;case"y":r.permanentDelete=!0;break;default:throw new RangeError(`Invalid permission character: ${n}`)}return r}static from(e){let r=new t;return e.read&&(r.read=!0),e.write&&(r.write=!0),e.delete&&(r.delete=!0),e.deleteVersion&&(r.deleteVersion=!0),e.filter&&(r.filter=!0),e.tag&&(r.tag=!0),e.list&&(r.list=!0),e.add&&(r.add=!0),e.create&&(r.create=!0),e.update&&(r.update=!0),e.process&&(r.process=!0),e.setImmutabilityPolicy&&(r.setImmutabilityPolicy=!0),e.permanentDelete&&(r.permanentDelete=!0),r}read=!1;write=!1;delete=!1;deleteVersion=!1;list=!1;add=!1;create=!1;update=!1;process=!1;tag=!1;filter=!1;setImmutabilityPolicy=!1;permanentDelete=!1;toString(){let e=[];return this.read&&e.push("r"),this.write&&e.push("w"),this.delete&&e.push("d"),this.deleteVersion&&e.push("x"),this.filter&&e.push("f"),this.tag&&e.push("t"),this.list&&e.push("l"),this.add&&e.push("a"),this.create&&e.push("c"),this.update&&e.push("u"),this.process&&e.push("p"),this.setImmutabilityPolicy&&e.push("i"),this.permanentDelete&&e.push("y"),e.join("")}};ff.AccountSASPermissions=LS});var US=f(Cf=>{"use strict";Object.defineProperty(Cf,"__esModule",{value:!0});Cf.AccountSASResourceTypes=void 0;var FS=class t{static{s(this,"AccountSASResourceTypes")}static parse(e){let r=new t;for(let n of e)switch(n){case"s":r.service=!0;break;case"c":r.container=!0;break;case"o":r.object=!0;break;default:throw new RangeError(`Invalid resource type: ${n}`)}return r}service=!1;container=!1;object=!1;toString(){let e=[];return this.service&&e.push("s"),this.container&&e.push("c"),this.object&&e.push("o"),e.join("")}};Cf.AccountSASResourceTypes=FS});var Bf=f(Ef=>{"use strict";Object.defineProperty(Ef,"__esModule",{value:!0});Ef.AccountSASServices=void 0;var qS=class t{static{s(this,"AccountSASServices")}static parse(e){let r=new t;for(let n of e)switch(n){case"b":r.blob=!0;break;case"f":r.file=!0;break;case"q":r.queue=!0;break;case"t":r.table=!0;break;default:throw new RangeError(`Invalid service character: ${n}`)}return r}blob=!1;file=!1;queue=!1;table=!1;toString(){let e=[];return this.blob&&e.push("b"),this.table&&e.push("t"),this.queue&&e.push("q"),this.file&&e.push("f"),e.join("")}};Ef.AccountSASServices=qS});var HS=f(bf=>{"use strict";Object.defineProperty(bf,"__esModule",{value:!0});bf.generateAccountSASQueryParameters=UDe;bf.generateAccountSASQueryParametersInternal=PW;var ODe=yf(),MDe=US(),kDe=Bf(),vW=Eh(),LDe=Ih(),FDe=Zr(),If=wn();function UDe(t,e){return PW(t,e).sasQueryParameters}s(UDe,"generateAccountSASQueryParameters");function PW(t,e){let r=t.version?t.version:FDe.SERVICE_VERSION;if(t.permissions&&t.permissions.setImmutabilityPolicy&&r<"2020-08-04")throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.");if(t.permissions&&t.permissions.deleteVersion&&r<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when provided 'x' permission.");if(t.permissions&&t.permissions.permanentDelete&&r<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when provided 'y' permission.");if(t.permissions&&t.permissions.tag&&r<"2019-12-12")throw RangeError("'version' must be >= '2019-12-12' when provided 't' permission.");if(t.permissions&&t.permissions.filter&&r<"2019-12-12")throw RangeError("'version' must be >= '2019-12-12' when provided 'f' permission.");if(t.encryptionScope&&r<"2020-12-06")throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.");let n=ODe.AccountSASPermissions.parse(t.permissions.toString()),i=kDe.AccountSASServices.parse(t.services).toString(),o=MDe.AccountSASResourceTypes.parse(t.resourceTypes).toString(),a;r>="2020-12-06"?a=[e.accountName,n,i,o,t.startsOn?(0,If.truncatedISO8061Date)(t.startsOn,!1):"",(0,If.truncatedISO8061Date)(t.expiresOn,!1),t.ipRange?(0,vW.ipRangeToString)(t.ipRange):"",t.protocol?t.protocol:"",r,t.encryptionScope?t.encryptionScope:"",""].join(` +`):a=[e.accountName,n,i,o,t.startsOn?(0,If.truncatedISO8061Date)(t.startsOn,!1):"",(0,If.truncatedISO8061Date)(t.expiresOn,!1),t.ipRange?(0,vW.ipRangeToString)(t.ipRange):"",t.protocol?t.protocol:"",r,""].join(` +`);let c=e.computeHMACSHA256(a);return{sasQueryParameters:new LDe.SASQueryParameters(r,c,n.toString(),i,o,t.protocol,t.startsOn,t.expiresOn,t.ipRange,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,t.encryptionScope),stringToSign:a}}s(PW,"generateAccountSASQueryParametersInternal")});var MW=f(Nf=>{"use strict";Object.defineProperty(Nf,"__esModule",{value:!0});Nf.BlobServiceClient=void 0;var qDe=Oc(),HDe=Tt(),_W=st(),vu=Hs(),zDe=kS(),Qf=wn(),ia=Vn(),Si=wn(),xi=Vo(),GDe=pf(),jDe=hh(),DW=yf(),TW=HS(),OW=Bf(),zS=class t extends jDe.StorageClient{static{s(this,"BlobServiceClient")}serviceContext;static fromConnectionString(e,r){r=r||{};let n=(0,Qf.extractConnectionStringParts)(e);if(n.kind==="AccountConnString")if(_W.isNodeLike){let i=new ia.StorageSharedKeyCredential(n.accountName,n.accountKey);r.proxyOptions||(r.proxyOptions=(0,HDe.getDefaultProxySettings)(n.proxyUri));let o=(0,vu.newPipeline)(i,r);return new t(n.url,o)}else throw new Error("Account connection string is only supported in Node.js environment");else if(n.kind==="SASConnString"){let i=(0,vu.newPipeline)(new ia.AnonymousCredential,r);return new t(n.url+"?"+n.accountSas,i)}else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}constructor(e,r,n){let i;(0,vu.isPipelineLike)(r)?i=r:_W.isNodeLike&&r instanceof ia.StorageSharedKeyCredential||r instanceof ia.AnonymousCredential||(0,qDe.isTokenCredential)(r)?i=(0,vu.newPipeline)(r,n):i=(0,vu.newPipeline)(new ia.AnonymousCredential,n),super(e,i),this.serviceContext=this.storageClientContext.service}getContainerClient(e){return new zDe.ContainerClient((0,Qf.appendToURLPath)(this.url,encodeURIComponent(e)),this.pipeline)}async createContainer(e,r={}){return xi.tracingClient.withSpan("BlobServiceClient-createContainer",r,async n=>{let i=this.getContainerClient(e),o=await i.create(n);return{containerClient:i,containerCreateResponse:o}})}async deleteContainer(e,r={}){return xi.tracingClient.withSpan("BlobServiceClient-deleteContainer",r,async n=>this.getContainerClient(e).delete(n))}async undeleteContainer(e,r,n={}){return xi.tracingClient.withSpan("BlobServiceClient-undeleteContainer",n,async i=>{let o=this.getContainerClient(n.destinationContainerName||e),a=o.storageClientContext.container,c=(0,Si.assertResponse)(await a.restore({deletedContainerName:e,deletedContainerVersion:r,tracingOptions:i.tracingOptions}));return{containerClient:o,containerUndeleteResponse:c}})}async getProperties(e={}){return xi.tracingClient.withSpan("BlobServiceClient-getProperties",e,async r=>(0,Si.assertResponse)(await this.serviceContext.getProperties({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}async setProperties(e,r={}){return xi.tracingClient.withSpan("BlobServiceClient-setProperties",r,async n=>(0,Si.assertResponse)(await this.serviceContext.setProperties(e,{abortSignal:r.abortSignal,tracingOptions:n.tracingOptions})))}async getStatistics(e={}){return xi.tracingClient.withSpan("BlobServiceClient-getStatistics",e,async r=>(0,Si.assertResponse)(await this.serviceContext.getStatistics({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}async getAccountInfo(e={}){return xi.tracingClient.withSpan("BlobServiceClient-getAccountInfo",e,async r=>(0,Si.assertResponse)(await this.serviceContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}async listContainersSegment(e,r={}){return xi.tracingClient.withSpan("BlobServiceClient-listContainersSegment",r,async n=>(0,Si.assertResponse)(await this.serviceContext.listContainersSegment({abortSignal:r.abortSignal,marker:e,...r,include:typeof r.include=="string"?[r.include]:r.include,tracingOptions:n.tracingOptions})))}async findBlobsByTagsSegment(e,r,n={}){return xi.tracingClient.withSpan("BlobServiceClient-findBlobsByTagsSegment",n,async i=>{let o=(0,Si.assertResponse)(await this.serviceContext.filterBlobs({abortSignal:n.abortSignal,where:e,marker:r,maxPageSize:n.maxPageSize,tracingOptions:i.tracingOptions}));return{...o,_response:o._response,blobs:o.blobs.map(c=>{let l="";return c.tags?.blobTagSet.length===1&&(l=c.tags.blobTagSet[0].value),{...c,tags:(0,Qf.toTags)(c.tags),tagValue:l}})}})}async*findBlobsByTagsSegments(e,r,n={}){let i;if(r||r===void 0)do i=await this.findBlobsByTagsSegment(e,r,n),i.blobs=i.blobs||[],r=i.continuationToken,yield i;while(r)}async*findBlobsByTagsItems(e,r={}){let n;for await(let i of this.findBlobsByTagsSegments(e,n,r))yield*i.blobs}findBlobsByTags(e,r={}){let n={...r},i=this.findBlobsByTagsItems(e,n);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:s((o={})=>this.findBlobsByTagsSegments(e,o.continuationToken,{maxPageSize:o.maxPageSize,...n}),"byPage")}}async*listSegments(e,r={}){let n;if(e||e===void 0)do n=await this.listContainersSegment(e,r),n.containerItems=n.containerItems||[],e=n.continuationToken,yield await n;while(e)}async*listItems(e={}){let r;for await(let n of this.listSegments(r,e))yield*n.containerItems}listContainers(e={}){e.prefix===""&&(e.prefix=void 0);let r=[];e.includeDeleted&&r.push("deleted"),e.includeMetadata&&r.push("metadata"),e.includeSystem&&r.push("system");let n={...e,...r.length>0?{include:r}:{}},i=this.listItems(n);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:s((o={})=>this.listSegments(o.continuationToken,{maxPageSize:o.maxPageSize,...n}),"byPage")}}async getUserDelegationKey(e,r,n={}){return xi.tracingClient.withSpan("BlobServiceClient-getUserDelegationKey",n,async i=>{let o=(0,Si.assertResponse)(await this.serviceContext.getUserDelegationKey({startsOn:(0,Si.truncatedISO8061Date)(e,!1),expiresOn:(0,Si.truncatedISO8061Date)(r,!1)},{abortSignal:n.abortSignal,tracingOptions:i.tracingOptions})),a={signedObjectId:o.signedObjectId,signedTenantId:o.signedTenantId,signedStartsOn:new Date(o.signedStartsOn),signedExpiresOn:new Date(o.signedExpiresOn),signedService:o.signedService,signedVersion:o.signedVersion,value:o.value};return{_response:o._response,requestId:o.requestId,clientRequestId:o.clientRequestId,version:o.version,date:o.date,errorCode:o.errorCode,...a}})}getBlobBatchClient(){return new GDe.BlobBatchClient(this.url,this.pipeline)}generateAccountSasUrl(e,r=DW.AccountSASPermissions.parse("r"),n="sco",i={}){if(!(this.credential instanceof ia.StorageSharedKeyCredential))throw RangeError("Can only generate the account SAS when the client is initialized with a shared key credential");if(e===void 0){let a=new Date;e=new Date(a.getTime()+3600*1e3)}let o=(0,TW.generateAccountSASQueryParameters)({permissions:r,expiresOn:e,resourceTypes:n,services:OW.AccountSASServices.parse("b").toString(),...i},this.credential).toString();return(0,Qf.appendToURLQuery)(this.url,o)}generateSasStringToSign(e,r=DW.AccountSASPermissions.parse("r"),n="sco",i={}){if(!(this.credential instanceof ia.StorageSharedKeyCredential))throw RangeError("Can only generate the account SAS when the client is initialized with a shared key credential");if(e===void 0){let o=new Date;e=new Date(o.getTime()+3600*1e3)}return(0,TW.generateAccountSASQueryParametersInternal)({permissions:r,expiresOn:e,resourceTypes:n,services:OW.AccountSASServices.parse("b").toString(),...i},this.credential).stringToSign}};Nf.BlobServiceClient=zS});var LW=f(kW=>{"use strict";Object.defineProperty(kW,"__esModule",{value:!0})});var UW=f(wf=>{"use strict";Object.defineProperty(wf,"__esModule",{value:!0});wf.KnownEncryptionAlgorithmType=void 0;var FW;(function(t){t.AES256="AES256"})(FW||(wf.KnownEncryptionAlgorithmType=FW={}))});var GS=f(V=>{"use strict";Object.defineProperty(V,"__esModule",{value:!0});V.logger=V.RestError=V.StorageBrowserPolicyFactory=V.StorageBrowserPolicy=V.StorageSharedKeyCredentialPolicy=V.StorageSharedKeyCredential=V.StorageRetryPolicyFactory=V.StorageRetryPolicy=V.StorageRetryPolicyType=V.Credential=V.CredentialPolicy=V.BaseRequestPolicy=V.AnonymousCredentialPolicy=V.AnonymousCredential=V.StorageOAuthScopes=V.newPipeline=V.isPipelineLike=V.Pipeline=V.getBlobServiceAccountAudience=V.StorageBlobAudience=V.PremiumPageBlobTier=V.BlockBlobTier=V.generateBlobSASQueryParameters=V.generateAccountSASQueryParameters=void 0;var Tr=(jt(),Xt(Gt)),YDe=Tt();Object.defineProperty(V,"RestError",{enumerable:!0,get:s(function(){return YDe.RestError},"get")});Tr.__exportStar(MW(),V);Tr.__exportStar(nf(),V);Tr.__exportStar(kS(),V);Tr.__exportStar(Sh(),V);Tr.__exportStar(yf(),V);Tr.__exportStar(US(),V);Tr.__exportStar(Bf(),V);var JDe=HS();Object.defineProperty(V,"generateAccountSASQueryParameters",{enumerable:!0,get:s(function(){return JDe.generateAccountSASQueryParameters},"get")});Tr.__exportStar(DS(),V);Tr.__exportStar(pf(),V);Tr.__exportStar(LW(),V);Tr.__exportStar(L0(),V);var VDe=Qh();Object.defineProperty(V,"generateBlobSASQueryParameters",{enumerable:!0,get:s(function(){return VDe.generateBlobSASQueryParameters},"get")});Tr.__exportStar(U0(),V);var Sf=oS();Object.defineProperty(V,"BlockBlobTier",{enumerable:!0,get:s(function(){return Sf.BlockBlobTier},"get")});Object.defineProperty(V,"PremiumPageBlobTier",{enumerable:!0,get:s(function(){return Sf.PremiumPageBlobTier},"get")});Object.defineProperty(V,"StorageBlobAudience",{enumerable:!0,get:s(function(){return Sf.StorageBlobAudience},"get")});Object.defineProperty(V,"getBlobServiceAccountAudience",{enumerable:!0,get:s(function(){return Sf.getBlobServiceAccountAudience},"get")});var xf=Hs();Object.defineProperty(V,"Pipeline",{enumerable:!0,get:s(function(){return xf.Pipeline},"get")});Object.defineProperty(V,"isPipelineLike",{enumerable:!0,get:s(function(){return xf.isPipelineLike},"get")});Object.defineProperty(V,"newPipeline",{enumerable:!0,get:s(function(){return xf.newPipeline},"get")});Object.defineProperty(V,"StorageOAuthScopes",{enumerable:!0,get:s(function(){return xf.StorageOAuthScopes},"get")});var xn=Vn();Object.defineProperty(V,"AnonymousCredential",{enumerable:!0,get:s(function(){return xn.AnonymousCredential},"get")});Object.defineProperty(V,"AnonymousCredentialPolicy",{enumerable:!0,get:s(function(){return xn.AnonymousCredentialPolicy},"get")});Object.defineProperty(V,"BaseRequestPolicy",{enumerable:!0,get:s(function(){return xn.BaseRequestPolicy},"get")});Object.defineProperty(V,"CredentialPolicy",{enumerable:!0,get:s(function(){return xn.CredentialPolicy},"get")});Object.defineProperty(V,"Credential",{enumerable:!0,get:s(function(){return xn.Credential},"get")});Object.defineProperty(V,"StorageRetryPolicyType",{enumerable:!0,get:s(function(){return xn.StorageRetryPolicyType},"get")});Object.defineProperty(V,"StorageRetryPolicy",{enumerable:!0,get:s(function(){return xn.StorageRetryPolicy},"get")});Object.defineProperty(V,"StorageRetryPolicyFactory",{enumerable:!0,get:s(function(){return xn.StorageRetryPolicyFactory},"get")});Object.defineProperty(V,"StorageSharedKeyCredential",{enumerable:!0,get:s(function(){return xn.StorageSharedKeyCredential},"get")});Object.defineProperty(V,"StorageSharedKeyCredentialPolicy",{enumerable:!0,get:s(function(){return xn.StorageSharedKeyCredentialPolicy},"get")});Object.defineProperty(V,"StorageBrowserPolicy",{enumerable:!0,get:s(function(){return xn.StorageBrowserPolicy},"get")});Object.defineProperty(V,"StorageBrowserPolicyFactory",{enumerable:!0,get:s(function(){return xn.StorageBrowserPolicyFactory},"get")});Tr.__exportStar(Ih(),V);Tr.__exportStar(UW(),V);var WDe=Mg();Object.defineProperty(V,"logger",{enumerable:!0,get:s(function(){return WDe.logger},"get")})});var KS=f(ur=>{"use strict";Object.defineProperty(ur,"__esModule",{value:!0});ur.RateLimitError=ur.UsageError=ur.NetworkError=ur.GHESNotSupportedError=ur.CacheNotFoundError=ur.InvalidResponseError=ur.FilesNotFoundError=void 0;var jS=class extends Error{static{s(this,"FilesNotFoundError")}constructor(e=[]){let r="No files were found to upload";e.length>0&&(r+=`: ${e.join(", ")}`),super(r),this.files=e,this.name="FilesNotFoundError"}};ur.FilesNotFoundError=jS;var YS=class extends Error{static{s(this,"InvalidResponseError")}constructor(e){super(e),this.name="InvalidResponseError"}};ur.InvalidResponseError=YS;var JS=class extends Error{static{s(this,"CacheNotFoundError")}constructor(e="Cache not found"){super(e),this.name="CacheNotFoundError"}};ur.CacheNotFoundError=JS;var VS=class extends Error{static{s(this,"GHESNotSupportedError")}constructor(e="@actions/cache v4.1.4+, actions/cache/save@v4+ and actions/cache/restore@v4+ are not currently supported on GHES."){super(e),this.name="GHESNotSupportedError"}};ur.GHESNotSupportedError=VS;var Rf=class extends Error{static{s(this,"NetworkError")}constructor(e){let r=`Unable to make request: ${e} +If you are using self-hosted runners, please make sure your runner has access to all GitHub endpoints: https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners#communication-between-self-hosted-runners-and-github`;super(r),this.code=e,this.name="NetworkError"}};ur.NetworkError=Rf;Rf.isNetworkErrorCode=t=>t?["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(t):!1;var vf=class extends Error{static{s(this,"UsageError")}constructor(){super(`Cache storage quota has been hit. Unable to upload any new cache entries. Usage is recalculated every 6-12 hours. +More info on storage limits: https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions#calculating-minute-and-storage-spending`),this.name="UsageError"}};ur.UsageError=vf;vf.isUsageErrorMessage=t=>t?t.includes("insufficient usage"):!1;var WS=class extends Error{static{s(this,"RateLimitError")}constructor(e){super(e),this.name="RateLimitError"}};ur.RateLimitError=WS});var qW=f(nn=>{"use strict";var KDe=nn&&nn.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:s(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),$De=nn&&nn.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),XDe=nn&&nn.__importStar||(function(){var t=s(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i{this.setSentBytes(e.loadedBytes)}}startDisplayTimer(e=1e3){let r=s(()=>{this.display(),this.isDone()||(this.timeoutHandle=setTimeout(r,e))},"displayCallback");this.timeoutHandle=setTimeout(r,e)}stopDisplayTimer(){this.timeoutHandle&&(clearTimeout(this.timeoutHandle),this.timeoutHandle=void 0),this.display()}};nn.UploadProgress=Pf;function rTe(t,e,r){return ZDe(this,void 0,void 0,function*(){var n;let i=new eTe.BlobClient(t),o=i.getBlockBlobClient(),a=new Pf((n=r?.archiveSizeBytes)!==null&&n!==void 0?n:0),c={blockSize:r?.uploadChunkSize,concurrency:r?.uploadConcurrency,maxSingleShotSize:128*1024*1024,onProgress:a.onProgress()};try{a.startDisplayTimer(),$S.debug(`BlobClient: ${i.name}:${i.accountName}:${i.containerName}`);let l=yield o.uploadFile(e,c);if(l._response.status>=400)throw new tTe.InvalidResponseError(`uploadCacheArchiveSDK: upload failed with status code ${l._response.status}`);return l}catch(l){throw $S.warning(`uploadCacheArchiveSDK: internal error uploading cache archive: ${l.message}`),l}finally{a.stopDisplayTimer()}})}s(rTe,"uploadCacheArchiveSDK")});var ZS=f(dr=>{"use strict";var nTe=dr&&dr.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:s(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),iTe=dr&&dr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),sTe=dr&&dr.__importStar||(function(){var t=s(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i=200&&t<300:!1}s(oTe,"isSuccessStatusCode");function zW(t){return t?t>=500:!0}s(zW,"isServerErrorStatusCode");function GW(t){return t?[_f.HttpCodes.BadGateway,_f.HttpCodes.ServiceUnavailable,_f.HttpCodes.GatewayTimeout].includes(t):!1}s(GW,"isRetryableStatusCode");function aTe(t){return Df(this,void 0,void 0,function*(){return new Promise(e=>setTimeout(e,t))})}s(aTe,"sleep");function XS(t,e,r){return Df(this,arguments,void 0,function*(n,i,o,a=ll.DefaultRetryAttempts,c=ll.DefaultRetryDelay,l=void 0){let A="",u=1;for(;u<=a;){let d,g,y=!1;try{d=yield i()}catch(B){l&&(d=l(B)),y=!0,A=B.message}if(d&&(g=o(d),!zW(g)))return d;if(g&&(y=GW(g),A=`Cache service responded with ${g}`),HW.debug(`${n} - Attempt ${u} of ${a} failed with error: ${A}`),!y){HW.debug(`${n} - Error is not retryable`);break}yield aTe(c),u++}throw Error(`${n} failed: ${A}`)})}s(XS,"retry");function cTe(t,e){return Df(this,arguments,void 0,function*(r,n,i=ll.DefaultRetryAttempts,o=ll.DefaultRetryDelay){return yield XS(r,n,a=>a.statusCode,i,o,a=>{if(a instanceof _f.HttpClientError)return{statusCode:a.statusCode,result:null,headers:{},error:a}})})}s(cTe,"retryTypedResponse");function lTe(t,e){return Df(this,arguments,void 0,function*(r,n,i=ll.DefaultRetryAttempts,o=ll.DefaultRetryDelay){return yield XS(r,n,a=>a.message.statusCode,i,o)})}s(lTe,"retryHttpClientResponse")});var YW=f(_u=>{"use strict";Object.defineProperty(_u,"__esModule",{value:!0});var Al=new WeakMap,Tf=new WeakMap,Pu=class t{static{s(this,"AbortSignal")}constructor(){this.onabort=null,Al.set(this,[]),Tf.set(this,!1)}get aborted(){if(!Tf.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");return Tf.get(this)}static get none(){return new t}addEventListener(e,r){if(!Al.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");Al.get(this).push(r)}removeEventListener(e,r){if(!Al.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");let n=Al.get(this),i=n.indexOf(r);i>-1&&n.splice(i,1)}dispatchEvent(e){throw new Error("This is a stub dispatchEvent implementation that should not be used. It only exists for type-checking purposes.")}};function jW(t){if(t.aborted)return;t.onabort&&t.onabort.call(t);let e=Al.get(t);e&&e.slice().forEach(r=>{r.call(t,{type:"abort"})}),Tf.set(t,!0)}s(jW,"abortSignal");var ex=class extends Error{static{s(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}},tx=class{static{s(this,"AbortController")}constructor(e){if(this._signal=new Pu,!!e){Array.isArray(e)||(e=arguments);for(let r of e)r.aborted?this.abort():r.addEventListener("abort",()=>{this.abort()})}}get signal(){return this._signal}abort(){jW(this._signal)}static timeout(e){let r=new Pu,n=setTimeout(jW,e,r);return typeof n.unref=="function"&&n.unref(),r}};_u.AbortController=tx;_u.AbortError=ex;_u.AbortSignal=Pu});var $W=f(Cr=>{"use strict";var ATe=Cr&&Cr.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:s(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),uTe=Cr&&Cr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),ul=Cr&&Cr.__importStar||(function(){var t=s(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i{this.setReceivedBytes(e.loadedBytes)}}startDisplayTimer(e=1e3){let r=s(()=>{this.display(),this.isDone()||(this.timeoutHandle=setTimeout(r,e))},"displayCallback");this.timeoutHandle=setTimeout(r,e)}stopDisplayTimer(){this.timeoutHandle&&(clearTimeout(this.timeoutHandle),this.timeoutHandle=void 0),this.display()}};Cr.DownloadProgress=Ou;function WW(t,e){return Rn(this,void 0,void 0,function*(){let r=Du.createWriteStream(e),n=new VW.HttpClient("actions/cache"),i=yield(0,rx.retryHttpClientResponse)("downloadCache",()=>Rn(this,void 0,void 0,function*(){return n.get(t)}));i.message.socket.setTimeout(JW.SocketTimeout,()=>{i.message.destroy(),Tu.debug(`Aborting download, socket timed out after ${JW.SocketTimeout} ms`)}),yield yTe(i,r);let o=i.message.headers["content-length"];if(o){let a=parseInt(o),c=hTe.getArchiveFileSizeInBytes(e);if(c!==a)throw new Error(`Incomplete download. Expected file size: ${a}, actual file size: ${c}`)}else Tu.debug("Unable to validate download, no Content-Length header")})}s(WW,"downloadCacheHttpClient");function CTe(t,e,r){return Rn(this,void 0,void 0,function*(){var n;let i=yield Du.promises.open(e,"w"),o=new VW.HttpClient("actions/cache",void 0,{socketTimeout:r.timeoutInMs,keepAlive:!0});try{let c=(yield(0,rx.retryHttpClientResponse)("downloadCacheMetadata",()=>Rn(this,void 0,void 0,function*(){return yield o.request("HEAD",t,null,{})}))).message.headers["content-length"];if(c==null)throw new Error("Content-Length not found on blob response");let l=parseInt(c);if(Number.isNaN(l))throw new Error(`Could not interpret Content-Length: ${l}`);let A=[],u=4*1024*1024;for(let R=0;RRn(this,void 0,void 0,function*(){return yield ETe(o,t,R,D)}),"promiseGetter")})}A.reverse();let d=0,g=0,y=new Ou(l);y.startDisplayTimer();let B=y.onProgress(),w=[],x,S=s(()=>Rn(this,void 0,void 0,function*(){let R=yield Promise.race(Object.values(w));yield i.write(R.buffer,0,R.count,R.offset),d--,delete w[R.offset],g+=R.count,B({loadedBytes:g})}),"waitAndWrite");for(;x=A.pop();)w[x.offset]=x.promiseGetter(),d++,d>=((n=r.downloadConcurrency)!==null&&n!==void 0?n:10)&&(yield S());for(;d>0;)yield S()}finally{o.dispose(),yield i.close()}})}s(CTe,"downloadCacheHttpClientConcurrent");function ETe(t,e,r,n){return Rn(this,void 0,void 0,function*(){let o=0;for(;;)try{let c=yield KW(3e4,BTe(t,e,r,n));if(typeof c=="string")throw new Error("downloadSegmentRetry failed due to timeout");return c}catch(a){if(o>=5)throw a;o++}})}s(ETe,"downloadSegmentRetry");function BTe(t,e,r,n){return Rn(this,void 0,void 0,function*(){let i=yield(0,rx.retryHttpClientResponse)("downloadCachePart",()=>Rn(this,void 0,void 0,function*(){return yield t.get(e,{Range:`bytes=${r}-${r+n-1}`})}));if(!i.readBodyBuffer)throw new Error("Expected HttpClientResponse to implement readBodyBuffer");return{offset:r,count:n,buffer:yield i.readBodyBuffer()}})}s(BTe,"downloadSegment");function ITe(t,e,r){return Rn(this,void 0,void 0,function*(){var n;let i=new dTe.BlockBlobClient(t,void 0,{retryOptions:{tryTimeoutInMs:r.timeoutInMs}}),a=(n=(yield i.getProperties()).contentLength)!==null&&n!==void 0?n:-1;if(a<0)Tu.debug("Unable to determine content length, downloading file with http-client..."),yield WW(t,e);else{let c=Math.min(134217728,pTe.constants.MAX_LENGTH),l=new Ou(a),A=Du.openSync(e,"w");try{l.startDisplayTimer();let u=new fTe.AbortController,d=u.signal;for(;!l.isDone();){let g=l.segmentOffset+l.segmentSize,y=Math.min(c,a-g);l.nextSegment(y);let B=yield KW(r.segmentTimeoutInMs||36e5,i.downloadToBuffer(g,y,{abortSignal:d,concurrency:r.downloadConcurrency,onProgress:l.onProgress()}));if(B==="timeout")throw u.abort(),new Error("Aborting cache download as the download time exceeded the timeout.");Buffer.isBuffer(B)&&Du.writeFileSync(A,B)}}finally{l.stopDisplayTimer(),Du.closeSync(A)}}})}s(ITe,"downloadCacheStorageSDK");var KW=s((t,e)=>Rn(void 0,void 0,void 0,function*(){let r,n=new Promise(i=>{r=setTimeout(()=>i("timeout"),t)});return Promise.race([e,n]).then(i=>(clearTimeout(r),i))}),"promiseWithTimeout")});var XW=f(Ri=>{"use strict";var bTe=Ri&&Ri.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:s(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),QTe=Ri&&Ri.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),NTe=Ri&&Ri.__importStar||(function(){var t=s(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i{"use strict";Object.defineProperty(Mu,"__esModule",{value:!0});Mu.isGhes=ZW;Mu.getCacheServiceVersion=e3;Mu.getCacheServiceURL=xTe;function ZW(){let e=new URL(process.env.GITHUB_SERVER_URL||"https://github.com").hostname.trimEnd().toUpperCase(),r=e==="GITHUB.COM",n=e.endsWith(".GHE.COM"),i=e.endsWith(".LOCALHOST");return!r&&!n&&!i}s(ZW,"isGhes");function e3(){return ZW()?"v1":process.env.ACTIONS_CACHE_SERVICE_V2?"v2":"v1"}s(e3,"getCacheServiceVersion");function xTe(){let t=e3();switch(t){case"v1":return process.env.ACTIONS_CACHE_URL||process.env.ACTIONS_RESULTS_URL||"";case"v2":return process.env.ACTIONS_RESULTS_URL||"";default:throw new Error(`Unsupported cache service version: ${t}`)}}s(xTe,"getCacheServiceURL")});var t3=f((zWe,RTe)=>{RTe.exports={name:"@actions/cache",version:"5.0.5",preview:!0,description:"Actions cache lib",keywords:["github","actions","cache"],homepage:"https://github.com/actions/toolkit/tree/main/packages/cache",license:"MIT",main:"lib/cache.js",types:"lib/cache.d.ts",directories:{lib:"lib",test:"__tests__"},files:["lib","!.DS_Store"],publishConfig:{access:"public"},repository:{type:"git",url:"git+https://github.com/actions/toolkit.git",directory:"packages/cache"},scripts:{"audit-moderate":"npm install && npm audit --json --audit-level=moderate > audit.json",test:'echo "Error: run tests from root" && exit 1',tsc:"tsc"},bugs:{url:"https://github.com/actions/toolkit/issues"},dependencies:{"@actions/core":"^2.0.0","@actions/exec":"^2.0.0","@actions/glob":"^0.5.1","@protobuf-ts/runtime-rpc":"^2.11.1","@actions/http-client":"^3.0.2","@actions/io":"^2.0.0","@azure/abort-controller":"^1.1.0","@azure/core-rest-pipeline":"^1.22.0","@azure/storage-blob":"^12.29.1",semver:"^6.3.1"},devDependencies:{"@types/node":"^24.1.0","@types/semver":"^6.0.0","@protobuf-ts/plugin":"^2.9.4",typescript:"^5.2.2"},overrides:{"uri-js":"npm:uri-js-replace@^1.0.1","node-fetch":"^3.3.2"}}});var ix=f(nx=>{"use strict";Object.defineProperty(nx,"__esModule",{value:!0});nx.getUserAgentString=PTe;var vTe=t3();function PTe(){return`@actions/cache-${vTe.version}`}s(PTe,"getUserAgentString")});var n3=f(Mr=>{"use strict";var _Te=Mr&&Mr.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:s(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),DTe=Mr&&Mr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),ox=Mr&&Mr.__importStar||(function(){var t=s(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;iOr(this,void 0,void 0,function*(){return n.getJson(ku(o))}));if(a.statusCode===204)return sn.isDebug()&&(yield zTe(t[0],n,i)),null;if(!(0,Zs.isSuccessStatusCode)(a.statusCode))throw new Error(`Cache service responded with ${a.statusCode}`);let c=a.result,l=c?.archiveLocation;if(!l)throw new Error("Cache not found.");return sn.setSecret(l),sn.debug("Cache Result:"),sn.debug(JSON.stringify(c)),c})}s(HTe,"getCacheEntry");function zTe(t,e,r){return Or(this,void 0,void 0,function*(){let n=`caches?key=${encodeURIComponent(t)}`,i=yield(0,Zs.retryTypedResponse)("listCache",()=>Or(this,void 0,void 0,function*(){return e.getJson(ku(n))}));if(i.statusCode===200){let o=i.result,a=o?.totalCount;if(a&&a>0){sn.debug(`No matching cache found for cache key '${t}', version '${r} and scope ${process.env.GITHUB_REF}. There exist one or more cache(s) with similar key but they have different version or scope. See more info on cache matching here: https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#matching-a-cache-key +Other caches with similar key:`);for(let c of o?.artifactCaches||[])sn.debug(`Cache Key: ${c?.cacheKey}, Cache Version: ${c?.cacheVersion}, Cache Scope: ${c?.scope}, Cache Created: ${c?.creationTime}`)}}})}s(zTe,"printCachesListForDiagnostics");function GTe(t,e,r){return Or(this,void 0,void 0,function*(){let n=new MTe.URL(t),i=(0,ax.getDownloadOptions)(r);n.hostname.endsWith(".blob.core.windows.net")?i.useAzureSdk?yield(0,Mf.downloadCacheStorageSDK)(t,e,i):i.concurrentBlobDownloads?yield(0,Mf.downloadCacheHttpClientConcurrent)(t,e,i):yield(0,Mf.downloadCacheHttpClient)(t,e):yield(0,Mf.downloadCacheHttpClient)(t,e)})}s(GTe,"downloadCache");function jTe(t,e,r){return Or(this,void 0,void 0,function*(){let n=cx(),i=dl.getCacheVersion(e,r?.compressionMethod,r?.enableCrossOsArchive),o={key:t,version:i,cacheSize:r?.cacheSize};return yield(0,Zs.retryTypedResponse)("reserveCache",()=>Or(this,void 0,void 0,function*(){return n.postJson(ku("caches"),o)}))})}s(jTe,"reserveCache");function r3(t,e){return`bytes ${t}-${e}/*`}s(r3,"getContentRange");function YTe(t,e,r,n,i){return Or(this,void 0,void 0,function*(){sn.debug(`Uploading chunk of size ${i-n+1} bytes at offset ${n} with content range: ${r3(n,i)}`);let o={"Content-Type":"application/octet-stream","Content-Range":r3(n,i)},a=yield(0,Zs.retryHttpClientResponse)(`uploadChunk (start: ${n}, end: ${i})`,()=>Or(this,void 0,void 0,function*(){return t.sendStream("PATCH",e,r(),o)}));if(!(0,Zs.isSuccessStatusCode)(a.message.statusCode))throw new Error(`Cache service responded with ${a.message.statusCode} during upload chunk.`)})}s(YTe,"uploadChunk");function JTe(t,e,r,n){return Or(this,void 0,void 0,function*(){let i=dl.getArchiveFileSizeInBytes(r),o=ku(`caches/${e.toString()}`),a=sx.openSync(r,"r"),c=(0,ax.getUploadOptions)(n),l=dl.assertDefined("uploadConcurrency",c.uploadConcurrency),A=dl.assertDefined("uploadChunkSize",c.uploadChunkSize),u=[...new Array(l).keys()];sn.debug("Awaiting all uploads");let d=0;try{yield Promise.all(u.map(()=>Or(this,void 0,void 0,function*(){for(;dsx.createReadStream(r,{fd:a,start:y,end:B,autoClose:!1}).on("error",w=>{throw new Error(`Cache upload failed because file read failed with ${w.message}`)}),y,B)}})))}finally{sx.closeSync(a)}})}s(JTe,"uploadFile");function VTe(t,e,r){return Or(this,void 0,void 0,function*(){let n={size:r};return yield(0,Zs.retryTypedResponse)("commitCache",()=>Or(this,void 0,void 0,function*(){return t.postJson(ku(`caches/${e.toString()}`),n)}))})}s(VTe,"commitCache");function WTe(t,e,r,n){return Or(this,void 0,void 0,function*(){if((0,ax.getUploadOptions)(n).useAzureSdk){if(!r)throw new Error("Azure Storage SDK can only be used when a signed URL is provided.");yield(0,kTe.uploadCacheArchiveSDK)(r,e,n)}else{let o=cx();sn.debug("Upload cache"),yield JTe(o,t,e,n),sn.debug("Commiting cache");let a=dl.getArchiveFileSizeInBytes(e);sn.info(`Cache Size: ~${Math.round(a/(1024*1024))} MB (${a} B)`);let c=yield VTe(o,t,a);if(!(0,Zs.isSuccessStatusCode)(c.statusCode))throw new Error(`Cache service responded with ${c.statusCode} during commit cache.`);sn.info("Cache saved successfully")}})}s(WTe,"saveCache")});var kf=f(pl=>{"use strict";Object.defineProperty(pl,"__esModule",{value:!0});pl.isJsonObject=pl.typeofJsonValue=void 0;function KTe(t){let e=typeof t;if(e=="object"){if(Array.isArray(t))return"array";if(t===null)return"null"}return e}s(KTe,"typeofJsonValue");pl.typeofJsonValue=KTe;function $Te(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}s($Te,"isJsonObject");pl.isJsonObject=$Te});var Ff=f(ml=>{"use strict";Object.defineProperty(ml,"__esModule",{value:!0});ml.base64encode=ml.base64decode=void 0;var os="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),Lf=[];for(let t=0;t>4,a=o,i=2;break;case 2:r[n++]=(a&15)<<4|(o&60)>>2,a=o,i=3;break;case 3:r[n++]=(a&3)<<6|o,i=0;break}}if(i==1)throw Error("invalid base64 string.");return r.subarray(0,n)}s(XTe,"base64decode");ml.base64decode=XTe;function ZTe(t){let e="",r=0,n,i=0;for(let o=0;o>2],i=(n&3)<<4,r=1;break;case 1:e+=os[i|n>>4],i=(n&15)<<2,r=2;break;case 2:e+=os[i|n>>6],e+=os[n&63],r=0;break}return r&&(e+=os[i],e+="=",r==1&&(e+="=")),e}s(ZTe,"base64encode");ml.base64encode=ZTe});var i3=f(Uf=>{"use strict";Object.defineProperty(Uf,"__esModule",{value:!0});Uf.utf8read=void 0;var lx=s(t=>String.fromCharCode.apply(String,t),"fromCharCodes");function eOe(t){if(t.length<1)return"";let e=0,r=[],n=[],i=0,o,a=t.length;for(;e191&&o<224?n[i++]=(o&31)<<6|t[e++]&63:o>239&&o<365?(o=((o&7)<<18|(t[e++]&63)<<12|(t[e++]&63)<<6|t[e++]&63)-65536,n[i++]=55296+(o>>10),n[i++]=56320+(o&1023)):n[i++]=(o&15)<<12|(t[e++]&63)<<6|t[e++]&63,i>8191&&(r.push(lx(n)),i=0);return r.length?(i&&r.push(lx(n.slice(0,i))),r.join("")):lx(n.slice(0,i))}s(eOe,"utf8read");Uf.utf8read=eOe});var Lu=f(vi=>{"use strict";Object.defineProperty(vi,"__esModule",{value:!0});vi.WireType=vi.mergeBinaryOptions=vi.UnknownFieldHandler=void 0;var tOe;(function(t){t.symbol=Symbol.for("protobuf-ts/unknown"),t.onRead=(r,n,i,o,a)=>{(e(n)?n[t.symbol]:n[t.symbol]=[]).push({no:i,wireType:o,data:a})},t.onWrite=(r,n,i)=>{for(let{no:o,wireType:a,data:c}of t.list(n))i.tag(o,a).raw(c)},t.list=(r,n)=>{if(e(r)){let i=r[t.symbol];return n?i.filter(o=>o.no==n):i}return[]},t.last=(r,n)=>t.list(r,n).slice(-1)[0];let e=s(r=>r&&Array.isArray(r[t.symbol]),"is")})(tOe=vi.UnknownFieldHandler||(vi.UnknownFieldHandler={}));function rOe(t,e){return Object.assign(Object.assign({},t),e)}s(rOe,"mergeBinaryOptions");vi.mergeBinaryOptions=rOe;var nOe;(function(t){t[t.Varint=0]="Varint",t[t.Bit64=1]="Bit64",t[t.LengthDelimited=2]="LengthDelimited",t[t.StartGroup=3]="StartGroup",t[t.EndGroup=4]="EndGroup",t[t.Bit32=5]="Bit32"})(nOe=vi.WireType||(vi.WireType={}))});var Hf=f(kr=>{"use strict";Object.defineProperty(kr,"__esModule",{value:!0});kr.varint32read=kr.varint32write=kr.int64toString=kr.int64fromString=kr.varint64write=kr.varint64read=void 0;function iOe(){let t=0,e=0;for(let n=0;n<28;n+=7){let i=this.buf[this.pos++];if(t|=(i&127)<>4,(r&128)==0)return this.assertBounds(),[t,e];for(let n=3;n<=31;n+=7){let i=this.buf[this.pos++];if(e|=(i&127)<>>o,c=!(!(a>>>7)&&e==0),l=(c?a|128:a)&255;if(r.push(l),!c)return}let n=t>>>28&15|(e&7)<<4,i=e>>3!=0;if(r.push((i?n|128:n)&255),!!i){for(let o=3;o<31;o=o+7){let a=e>>>o,c=!!(a>>>7),l=(c?a|128:a)&255;if(r.push(l),!c)return}r.push(e>>>31&1)}}s(sOe,"varint64write");kr.varint64write=sOe;var qf=65536*65536;function oOe(t){let e=t[0]=="-";e&&(t=t.slice(1));let r=1e6,n=0,i=0;function o(a,c){let l=Number(t.slice(a,c));i*=r,n=n*r+l,n>=qf&&(i=i+(n/qf|0),n=n%qf)}return s(o,"add1e6digit"),o(-24,-18),o(-18,-12),o(-12,-6),o(-6),[e,n,i]}s(oOe,"int64fromString");kr.int64fromString=oOe;function aOe(t,e){if(e>>>0<=2097151)return""+(qf*e+(t>>>0));let r=t&16777215,n=(t>>>24|e<<8)>>>0&16777215,i=e>>16&65535,o=r+n*6777216+i*6710656,a=n+i*8147497,c=i*2,l=1e7;o>=l&&(a+=Math.floor(o/l),o%=l),a>=l&&(c+=Math.floor(a/l),a%=l);function A(u,d){let g=u?String(u):"";return d?"0000000".slice(g.length)+g:g}return s(A,"decimalFrom1e7"),A(c,0)+A(a,c)+A(o,1)}s(aOe,"int64toString");kr.int64toString=aOe;function cOe(t,e){if(t>=0){for(;t>127;)e.push(t&127|128),t=t>>>7;e.push(t)}else{for(let r=0;r<9;r++)e.push(t&127|128),t=t>>7;e.push(1)}}s(cOe,"varint32write");kr.varint32write=cOe;function lOe(){let t=this.buf[this.pos++],e=t&127;if((t&128)==0)return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<7,(t&128)==0)return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<14,(t&128)==0)return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<21,(t&128)==0)return this.assertBounds(),e;t=this.buf[this.pos++],e|=(t&15)<<28;for(let r=5;(t&128)!==0&&r<10;r++)t=this.buf[this.pos++];if((t&128)!=0)throw new Error("invalid varint");return this.assertBounds(),e>>>0}s(lOe,"varint32read");kr.varint32read=lOe});var to=f(eo=>{"use strict";Object.defineProperty(eo,"__esModule",{value:!0});eo.PbLong=eo.PbULong=eo.detectBi=void 0;var Fu=Hf(),Ge;function s3(){let t=new DataView(new ArrayBuffer(8));Ge=globalThis.BigInt!==void 0&&typeof t.getBigInt64=="function"&&typeof t.getBigUint64=="function"&&typeof t.setBigInt64=="function"&&typeof t.setBigUint64=="function"?{MIN:BigInt("-9223372036854775808"),MAX:BigInt("9223372036854775807"),UMIN:BigInt("0"),UMAX:BigInt("18446744073709551615"),C:BigInt,V:t}:void 0}s(s3,"detectBi");eo.detectBi=s3;s3();function o3(t){if(!t)throw new Error("BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support")}s(o3,"assertBi");var a3=/^-?[0-9]+$/,Gf=4294967296,zf=2147483648,jf=class{static{s(this,"SharedPbLong")}constructor(e,r){this.lo=e|0,this.hi=r|0}isZero(){return this.lo==0&&this.hi==0}toNumber(){let e=this.hi*Gf+(this.lo>>>0);if(!Number.isSafeInteger(e))throw new Error("cannot convert to safe number");return e}},Uu=class t extends jf{static{s(this,"PbULong")}static from(e){if(Ge)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=Ge.C(e);case"number":if(e===0)return this.ZERO;e=Ge.C(e);case"bigint":if(!e)return this.ZERO;if(eGe.UMAX)throw new Error("ulong too large");return Ge.V.setBigUint64(0,e,!0),new t(Ge.V.getInt32(0,!0),Ge.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!a3.test(e))throw new Error("string is no integer");let[r,n,i]=Fu.int64fromString(e);if(r)throw new Error("signed value for ulong");return new t(n,i);case"number":if(e==0)return this.ZERO;if(!Number.isSafeInteger(e))throw new Error("number is no integer");if(e<0)throw new Error("signed value for ulong");return new t(e,e/Gf)}throw new Error("unknown value "+typeof e)}toString(){return Ge?this.toBigInt().toString():Fu.int64toString(this.lo,this.hi)}toBigInt(){return o3(Ge),Ge.V.setInt32(0,this.lo,!0),Ge.V.setInt32(4,this.hi,!0),Ge.V.getBigUint64(0,!0)}};eo.PbULong=Uu;Uu.ZERO=new Uu(0,0);var qu=class t extends jf{static{s(this,"PbLong")}static from(e){if(Ge)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=Ge.C(e);case"number":if(e===0)return this.ZERO;e=Ge.C(e);case"bigint":if(!e)return this.ZERO;if(eGe.MAX)throw new Error("signed long too large");return Ge.V.setBigInt64(0,e,!0),new t(Ge.V.getInt32(0,!0),Ge.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!a3.test(e))throw new Error("string is no integer");let[r,n,i]=Fu.int64fromString(e);if(r){if(i>zf||i==zf&&n!=0)throw new Error("signed long too small")}else if(i>=zf)throw new Error("signed long too large");let o=new t(n,i);return r?o.negate():o;case"number":if(e==0)return this.ZERO;if(!Number.isSafeInteger(e))throw new Error("number is no integer");return e>0?new t(e,e/Gf):new t(-e,-e/Gf).negate()}throw new Error("unknown value "+typeof e)}isNegative(){return(this.hi&zf)!==0}negate(){let e=~this.hi,r=this.lo;return r?r=~r+1:e+=1,new t(r,e)}toString(){if(Ge)return this.toBigInt().toString();if(this.isNegative()){let e=this.negate();return"-"+Fu.int64toString(e.lo,e.hi)}return Fu.int64toString(this.lo,this.hi)}toBigInt(){return o3(Ge),Ge.V.setInt32(0,this.lo,!0),Ge.V.setInt32(4,this.hi,!0),Ge.V.getBigInt64(0,!0)}};eo.PbLong=qu;qu.ZERO=new qu(0,0)});var Ax=f(hl=>{"use strict";Object.defineProperty(hl,"__esModule",{value:!0});hl.BinaryReader=hl.binaryReadOptions=void 0;var gl=Lu(),Hu=to(),c3=Hf(),l3={readUnknownField:!0,readerFactory:s(t=>new Yf(t),"readerFactory")};function AOe(t){return t?Object.assign(Object.assign({},l3),t):l3}s(AOe,"binaryReadOptions");hl.binaryReadOptions=AOe;var Yf=class{static{s(this,"BinaryReader")}constructor(e,r){this.varint64=c3.varint64read,this.uint32=c3.varint32read,this.buf=e,this.len=e.length,this.pos=0,this.view=new DataView(e.buffer,e.byteOffset,e.byteLength),this.textDecoder=r??new TextDecoder("utf-8",{fatal:!0,ignoreBOM:!0})}tag(){let e=this.uint32(),r=e>>>3,n=e&7;if(r<=0||n<0||n>5)throw new Error("illegal tag: field no "+r+" wire type "+n);return[r,n]}skip(e){let r=this.pos;switch(e){case gl.WireType.Varint:for(;this.buf[this.pos++]&128;);break;case gl.WireType.Bit64:this.pos+=4;case gl.WireType.Bit32:this.pos+=4;break;case gl.WireType.LengthDelimited:let n=this.uint32();this.pos+=n;break;case gl.WireType.StartGroup:let i;for(;(i=this.tag()[1])!==gl.WireType.EndGroup;)this.skip(i);break;default:throw new Error("cant skip wire type "+e)}return this.assertBounds(),this.buf.subarray(r,this.pos)}assertBounds(){if(this.pos>this.len)throw new RangeError("premature EOF")}int32(){return this.uint32()|0}sint32(){let e=this.uint32();return e>>>1^-(e&1)}int64(){return new Hu.PbLong(...this.varint64())}uint64(){return new Hu.PbULong(...this.varint64())}sint64(){let[e,r]=this.varint64(),n=-(e&1);return e=(e>>>1|(r&1)<<31)^n,r=r>>>1^n,new Hu.PbLong(e,r)}bool(){let[e,r]=this.varint64();return e!==0||r!==0}fixed32(){return this.view.getUint32((this.pos+=4)-4,!0)}sfixed32(){return this.view.getInt32((this.pos+=4)-4,!0)}fixed64(){return new Hu.PbULong(this.sfixed32(),this.sfixed32())}sfixed64(){return new Hu.PbLong(this.sfixed32(),this.sfixed32())}float(){return this.view.getFloat32((this.pos+=4)-4,!0)}double(){return this.view.getFloat64((this.pos+=8)-8,!0)}bytes(){let e=this.uint32(),r=this.pos;return this.pos+=e,this.assertBounds(),this.buf.subarray(r,r+e)}string(){return this.textDecoder.decode(this.bytes())}};hl.BinaryReader=Yf});var fl=f(vn=>{"use strict";Object.defineProperty(vn,"__esModule",{value:!0});vn.assertFloat32=vn.assertUInt32=vn.assertInt32=vn.assertNever=vn.assert=void 0;function uOe(t,e){if(!t)throw new Error(e)}s(uOe,"assert");vn.assert=uOe;function dOe(t,e){throw new Error(e??"Unexpected object: "+t)}s(dOe,"assertNever");vn.assertNever=dOe;var pOe=34028234663852886e22,mOe=-34028234663852886e22,gOe=4294967295,hOe=2147483647,fOe=-2147483648;function yOe(t){if(typeof t!="number")throw new Error("invalid int 32: "+typeof t);if(!Number.isInteger(t)||t>hOe||tgOe||t<0)throw new Error("invalid uint 32: "+t)}s(COe,"assertUInt32");vn.assertUInt32=COe;function EOe(t){if(typeof t!="number")throw new Error("invalid float 32: "+typeof t);if(Number.isFinite(t)&&(t>pOe||t{"use strict";Object.defineProperty(Cl,"__esModule",{value:!0});Cl.BinaryWriter=Cl.binaryWriteOptions=void 0;var zu=to(),Gu=Hf(),yl=fl(),A3={writeUnknownFields:!0,writerFactory:s(()=>new Jf,"writerFactory")};function BOe(t){return t?Object.assign(Object.assign({},A3),t):A3}s(BOe,"binaryWriteOptions");Cl.binaryWriteOptions=BOe;var Jf=class{static{s(this,"BinaryWriter")}constructor(e){this.stack=[],this.textEncoder=e??new TextEncoder,this.chunks=[],this.buf=[]}finish(){this.chunks.push(new Uint8Array(this.buf));let e=0;for(let i=0;i>>0)}raw(e){return this.buf.length&&(this.chunks.push(new Uint8Array(this.buf)),this.buf=[]),this.chunks.push(e),this}uint32(e){for(yl.assertUInt32(e);e>127;)this.buf.push(e&127|128),e=e>>>7;return this.buf.push(e),this}int32(e){return yl.assertInt32(e),Gu.varint32write(e,this.buf),this}bool(e){return this.buf.push(e?1:0),this}bytes(e){return this.uint32(e.byteLength),this.raw(e)}string(e){let r=this.textEncoder.encode(e);return this.uint32(r.byteLength),this.raw(r)}float(e){yl.assertFloat32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setFloat32(0,e,!0),this.raw(r)}double(e){let r=new Uint8Array(8);return new DataView(r.buffer).setFloat64(0,e,!0),this.raw(r)}fixed32(e){yl.assertUInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setUint32(0,e,!0),this.raw(r)}sfixed32(e){yl.assertInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setInt32(0,e,!0),this.raw(r)}sint32(e){return yl.assertInt32(e),e=(e<<1^e>>31)>>>0,Gu.varint32write(e,this.buf),this}sfixed64(e){let r=new Uint8Array(8),n=new DataView(r.buffer),i=zu.PbLong.from(e);return n.setInt32(0,i.lo,!0),n.setInt32(4,i.hi,!0),this.raw(r)}fixed64(e){let r=new Uint8Array(8),n=new DataView(r.buffer),i=zu.PbULong.from(e);return n.setInt32(0,i.lo,!0),n.setInt32(4,i.hi,!0),this.raw(r)}int64(e){let r=zu.PbLong.from(e);return Gu.varint64write(r.lo,r.hi,this.buf),this}sint64(e){let r=zu.PbLong.from(e),n=r.hi>>31,i=r.lo<<1^n,o=(r.hi<<1|r.lo>>>31)^n;return Gu.varint64write(i,o,this.buf),this}uint64(e){let r=zu.PbULong.from(e);return Gu.varint64write(r.lo,r.hi,this.buf),this}};Cl.BinaryWriter=Jf});var dx=f(ro=>{"use strict";Object.defineProperty(ro,"__esModule",{value:!0});ro.mergeJsonOptions=ro.jsonWriteOptions=ro.jsonReadOptions=void 0;var u3={emitDefaultValues:!1,enumAsInteger:!1,useProtoFieldName:!1,prettySpaces:0},d3={ignoreUnknownFields:!1};function IOe(t){return t?Object.assign(Object.assign({},d3),t):d3}s(IOe,"jsonReadOptions");ro.jsonReadOptions=IOe;function bOe(t){return t?Object.assign(Object.assign({},u3),t):u3}s(bOe,"jsonWriteOptions");ro.jsonWriteOptions=bOe;function QOe(t,e){var r,n;let i=Object.assign(Object.assign({},t),e);return i.typeRegistry=[...(r=t?.typeRegistry)!==null&&r!==void 0?r:[],...(n=e?.typeRegistry)!==null&&n!==void 0?n:[]],i}s(QOe,"mergeJsonOptions");ro.mergeJsonOptions=QOe});var ju=f(Vf=>{"use strict";Object.defineProperty(Vf,"__esModule",{value:!0});Vf.MESSAGE_TYPE=void 0;Vf.MESSAGE_TYPE=Symbol.for("protobuf-ts/message-type")});var px=f(Wf=>{"use strict";Object.defineProperty(Wf,"__esModule",{value:!0});Wf.lowerCamelCase=void 0;function NOe(t){let e=!1,r=[];for(let n=0;n{"use strict";Object.defineProperty(Ot,"__esModule",{value:!0});Ot.readMessageOption=Ot.readFieldOption=Ot.readFieldOptions=Ot.normalizeFieldInfo=Ot.RepeatType=Ot.LongType=Ot.ScalarType=void 0;var p3=px(),wOe;(function(t){t[t.DOUBLE=1]="DOUBLE",t[t.FLOAT=2]="FLOAT",t[t.INT64=3]="INT64",t[t.UINT64=4]="UINT64",t[t.INT32=5]="INT32",t[t.FIXED64=6]="FIXED64",t[t.FIXED32=7]="FIXED32",t[t.BOOL=8]="BOOL",t[t.STRING=9]="STRING",t[t.BYTES=12]="BYTES",t[t.UINT32=13]="UINT32",t[t.SFIXED32=15]="SFIXED32",t[t.SFIXED64=16]="SFIXED64",t[t.SINT32=17]="SINT32",t[t.SINT64=18]="SINT64"})(wOe=Ot.ScalarType||(Ot.ScalarType={}));var SOe;(function(t){t[t.BIGINT=0]="BIGINT",t[t.STRING=1]="STRING",t[t.NUMBER=2]="NUMBER"})(SOe=Ot.LongType||(Ot.LongType={}));var m3;(function(t){t[t.NO=0]="NO",t[t.PACKED=1]="PACKED",t[t.UNPACKED=2]="UNPACKED"})(m3=Ot.RepeatType||(Ot.RepeatType={}));function xOe(t){var e,r,n,i;return t.localName=(e=t.localName)!==null&&e!==void 0?e:p3.lowerCamelCase(t.name),t.jsonName=(r=t.jsonName)!==null&&r!==void 0?r:p3.lowerCamelCase(t.name),t.repeat=(n=t.repeat)!==null&&n!==void 0?n:m3.NO,t.opt=(i=t.opt)!==null&&i!==void 0?i:t.repeat||t.oneof?!1:t.kind=="message",t}s(xOe,"normalizeFieldInfo");Ot.normalizeFieldInfo=xOe;function ROe(t,e,r,n){var i;let o=(i=t.fields.find((a,c)=>a.localName==e||c==e))===null||i===void 0?void 0:i.options;return o&&o[r]?n.fromJson(o[r]):void 0}s(ROe,"readFieldOptions");Ot.readFieldOptions=ROe;function vOe(t,e,r,n){var i;let o=(i=t.fields.find((c,l)=>c.localName==e||l==e))===null||i===void 0?void 0:i.options;if(!o)return;let a=o[r];return a===void 0?a:n?n.fromJson(a):a}s(vOe,"readFieldOption");Ot.readFieldOption=vOe;function POe(t,e,r){let i=t.options[e];return i===void 0?i:r?r.fromJson(i):i}s(POe,"readMessageOption");Ot.readMessageOption=POe});var mx=f(Lr=>{"use strict";Object.defineProperty(Lr,"__esModule",{value:!0});Lr.getSelectedOneofValue=Lr.clearOneofValue=Lr.setUnknownOneofValue=Lr.setOneofValue=Lr.getOneofValue=Lr.isOneofGroup=void 0;function _Oe(t){if(typeof t!="object"||t===null||!t.hasOwnProperty("oneofKind"))return!1;switch(typeof t.oneofKind){case"string":return t[t.oneofKind]===void 0?!1:Object.keys(t).length==2;case"undefined":return Object.keys(t).length==1;default:return!1}}s(_Oe,"isOneofGroup");Lr.isOneofGroup=_Oe;function DOe(t,e){return t[e]}s(DOe,"getOneofValue");Lr.getOneofValue=DOe;function TOe(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&(t[e]=r)}s(TOe,"setOneofValue");Lr.setOneofValue=TOe;function OOe(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&e!==void 0&&(t[e]=r)}s(OOe,"setUnknownOneofValue");Lr.setUnknownOneofValue=OOe;function MOe(t){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=void 0}s(MOe,"clearOneofValue");Lr.clearOneofValue=MOe;function kOe(t){if(t.oneofKind!==void 0)return t[t.oneofKind]}s(kOe,"getSelectedOneofValue");Lr.getSelectedOneofValue=kOe});var hx=f(Kf=>{"use strict";Object.defineProperty(Kf,"__esModule",{value:!0});Kf.ReflectionTypeCheck=void 0;var Ct=Kn(),LOe=mx(),gx=class{static{s(this,"ReflectionTypeCheck")}constructor(e){var r;this.fields=(r=e.fields)!==null&&r!==void 0?r:[]}prepare(){if(this.data)return;let e=[],r=[],n=[];for(let i of this.fields)if(i.oneof)n.includes(i.oneof)||(n.push(i.oneof),e.push(i.oneof),r.push(i.oneof));else switch(r.push(i.localName),i.kind){case"scalar":case"enum":(!i.opt||i.repeat)&&e.push(i.localName);break;case"message":i.repeat&&e.push(i.localName);break;case"map":e.push(i.localName);break}this.data={req:e,known:r,oneofs:Object.values(n)}}is(e,r,n=!1){if(r<0)return!0;if(e==null||typeof e!="object")return!1;this.prepare();let i=Object.keys(e),o=this.data;if(i.length!i.includes(a))||!n&&i.some(a=>!o.known.includes(a)))return!1;if(r<1)return!0;for(let a of o.oneofs){let c=e[a];if(!LOe.isOneofGroup(c))return!1;if(c.oneofKind===void 0)continue;let l=this.fields.find(A=>A.localName===c.oneofKind);if(!l||!this.field(c[c.oneofKind],l,n,r))return!1}for(let a of this.fields)if(a.oneof===void 0&&!this.field(e[a.localName],a,n,r))return!1;return!0}field(e,r,n,i){let o=r.repeat;switch(r.kind){case"scalar":return e===void 0?r.opt:o?this.scalars(e,r.T,i,r.L):this.scalar(e,r.T,r.L);case"enum":return e===void 0?r.opt:o?this.scalars(e,Ct.ScalarType.INT32,i):this.scalar(e,Ct.ScalarType.INT32);case"message":return e===void 0?!0:o?this.messages(e,r.T(),n,i):this.message(e,r.T(),n,i);case"map":if(typeof e!="object"||e===null)return!1;if(i<2)return!0;if(!this.mapKeys(e,r.K,i))return!1;switch(r.V.kind){case"scalar":return this.scalars(Object.values(e),r.V.T,i,r.V.L);case"enum":return this.scalars(Object.values(e),Ct.ScalarType.INT32,i);case"message":return this.messages(Object.values(e),r.V.T(),n,i)}break}return!0}message(e,r,n,i){return n?r.isAssignable(e,i):r.is(e,i)}messages(e,r,n,i){if(!Array.isArray(e))return!1;if(i<2)return!0;if(n){for(let o=0;oparseInt(o)),r,n);case Ct.ScalarType.BOOL:return this.scalars(i.slice(0,n).map(o=>o=="true"?!0:o=="false"?!1:o),r,n);default:return this.scalars(i,r,n,Ct.LongType.STRING)}}};Kf.ReflectionTypeCheck=gx});var Xf=f($f=>{"use strict";Object.defineProperty($f,"__esModule",{value:!0});$f.reflectionLongConvert=void 0;var g3=Kn();function FOe(t,e){switch(e){case g3.LongType.BIGINT:return t.toBigInt();case g3.LongType.NUMBER:return t.toNumber();default:return t.toString()}}s(FOe,"reflectionLongConvert");$f.reflectionLongConvert=FOe});var yx=f(ty=>{"use strict";Object.defineProperty(ty,"__esModule",{value:!0});ty.ReflectionJsonReader=void 0;var h3=kf(),UOe=Ff(),Mt=Kn(),Zf=to(),sa=fl(),ey=Xf(),fx=class{static{s(this,"ReflectionJsonReader")}constructor(e){this.info=e}prepare(){var e;if(this.fMap===void 0){this.fMap={};let r=(e=this.info.fields)!==null&&e!==void 0?e:[];for(let n of r)this.fMap[n.name]=n,this.fMap[n.jsonName]=n,this.fMap[n.localName]=n}}assert(e,r,n){if(!e){let i=h3.typeofJsonValue(n);throw(i=="number"||i=="boolean")&&(i=n.toString()),new Error(`Cannot parse JSON ${i} for ${this.info.typeName}#${r}`)}}read(e,r,n){this.prepare();let i=[];for(let[o,a]of Object.entries(e)){let c=this.fMap[o];if(!c){if(!n.ignoreUnknownFields)throw new Error(`Found unknown field while reading ${this.info.typeName} from JSON format. JSON key: ${o}`);continue}let l=c.localName,A;if(c.oneof){if(a===null&&(c.kind!=="enum"||c.T()[0]!=="google.protobuf.NullValue"))continue;if(i.includes(c.oneof))throw new Error(`Multiple members of the oneof group "${c.oneof}" of ${this.info.typeName} are present in JSON.`);i.push(c.oneof),A=r[c.oneof]={oneofKind:l}}else A=r;if(c.kind=="map"){if(a===null)continue;this.assert(h3.isJsonObject(a),c.name,a);let u=A[l];for(let[d,g]of Object.entries(a)){this.assert(g!==null,c.name+" map value",null);let y;switch(c.V.kind){case"message":y=c.V.T().internalJsonRead(g,n);break;case"enum":if(y=this.enum(c.V.T(),g,c.name,n.ignoreUnknownFields),y===!1)continue;break;case"scalar":y=this.scalar(g,c.V.T,c.V.L,c.name);break}this.assert(y!==void 0,c.name+" map value",g);let B=d;c.K==Mt.ScalarType.BOOL&&(B=B=="true"?!0:B=="false"?!1:B),B=this.scalar(B,c.K,Mt.LongType.STRING,c.name).toString(),u[B]=y}}else if(c.repeat){if(a===null)continue;this.assert(Array.isArray(a),c.name,a);let u=A[l];for(let d of a){this.assert(d!==null,c.name,null);let g;switch(c.kind){case"message":g=c.T().internalJsonRead(d,n);break;case"enum":if(g=this.enum(c.T(),d,c.name,n.ignoreUnknownFields),g===!1)continue;break;case"scalar":g=this.scalar(d,c.T,c.L,c.name);break}this.assert(g!==void 0,c.name,a),u.push(g)}}else switch(c.kind){case"message":if(a===null&&c.T().typeName!="google.protobuf.Value"){this.assert(c.oneof===void 0,c.name+" (oneof member)",null);continue}A[l]=c.T().internalJsonRead(a,n,A[l]);break;case"enum":if(a===null)continue;let u=this.enum(c.T(),a,c.name,n.ignoreUnknownFields);if(u===!1)continue;A[l]=u;break;case"scalar":if(a===null)continue;A[l]=this.scalar(a,c.T,c.L,c.name);break}}}enum(e,r,n,i){if(e[0]=="google.protobuf.NullValue"&&sa.assert(r===null||r==="NULL_VALUE",`Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} only accepts null.`),r===null)return 0;switch(typeof r){case"number":return sa.assert(Number.isInteger(r),`Unable to parse field ${this.info.typeName}#${n}, enum can only be integral number, got ${r}.`),r;case"string":let o=r;e[2]&&r.substring(0,e[2].length)===e[2]&&(o=r.substring(e[2].length));let a=e[1][o];return typeof a>"u"&&i?!1:(sa.assert(typeof a=="number",`Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} has no value for "${r}".`),a)}sa.assert(!1,`Unable to parse field ${this.info.typeName}#${n}, cannot parse enum value from ${typeof r}".`)}scalar(e,r,n,i){let o;try{switch(r){case Mt.ScalarType.DOUBLE:case Mt.ScalarType.FLOAT:if(e===null)return 0;if(e==="NaN")return Number.NaN;if(e==="Infinity")return Number.POSITIVE_INFINITY;if(e==="-Infinity")return Number.NEGATIVE_INFINITY;if(e===""){o="empty string";break}if(typeof e=="string"&&e.trim().length!==e.length){o="extra whitespace";break}if(typeof e!="string"&&typeof e!="number")break;let a=Number(e);if(Number.isNaN(a)){o="not a number";break}if(!Number.isFinite(a)){o="too large or small";break}return r==Mt.ScalarType.FLOAT&&sa.assertFloat32(a),a;case Mt.ScalarType.INT32:case Mt.ScalarType.FIXED32:case Mt.ScalarType.SFIXED32:case Mt.ScalarType.SINT32:case Mt.ScalarType.UINT32:if(e===null)return 0;let c;if(typeof e=="number"?c=e:e===""?o="empty string":typeof e=="string"&&(e.trim().length!==e.length?o="extra whitespace":c=Number(e)),c===void 0)break;return r==Mt.ScalarType.UINT32?sa.assertUInt32(c):sa.assertInt32(c),c;case Mt.ScalarType.INT64:case Mt.ScalarType.SFIXED64:case Mt.ScalarType.SINT64:if(e===null)return ey.reflectionLongConvert(Zf.PbLong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return ey.reflectionLongConvert(Zf.PbLong.from(e),n);case Mt.ScalarType.FIXED64:case Mt.ScalarType.UINT64:if(e===null)return ey.reflectionLongConvert(Zf.PbULong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return ey.reflectionLongConvert(Zf.PbULong.from(e),n);case Mt.ScalarType.BOOL:if(e===null)return!1;if(typeof e!="boolean")break;return e;case Mt.ScalarType.STRING:if(e===null)return"";if(typeof e!="string"){o="extra whitespace";break}try{encodeURIComponent(e)}catch(l){l="invalid UTF8";break}return e;case Mt.ScalarType.BYTES:if(e===null||e==="")return new Uint8Array(0);if(typeof e!="string")break;return UOe.base64decode(e)}}catch(a){o=a.message}this.assert(!1,i+(o?" - "+o:""),e)}};ty.ReflectionJsonReader=fx});var Ex=f(ry=>{"use strict";Object.defineProperty(ry,"__esModule",{value:!0});ry.ReflectionJsonWriter=void 0;var qOe=Ff(),f3=to(),Er=Kn(),at=fl(),Cx=class{static{s(this,"ReflectionJsonWriter")}constructor(e){var r;this.fields=(r=e.fields)!==null&&r!==void 0?r:[]}write(e,r){let n={},i=e;for(let o of this.fields){if(!o.oneof){let A=this.field(o,i[o.localName],r);A!==void 0&&(n[r.useProtoFieldName?o.name:o.jsonName]=A);continue}let a=i[o.oneof];if(a.oneofKind!==o.localName)continue;let c=o.kind=="scalar"||o.kind=="enum"?Object.assign(Object.assign({},r),{emitDefaultValues:!0}):r,l=this.field(o,a[o.localName],c);at.assert(l!==void 0),n[r.useProtoFieldName?o.name:o.jsonName]=l}return n}field(e,r,n){let i;if(e.kind=="map"){at.assert(typeof r=="object"&&r!==null);let o={};switch(e.V.kind){case"scalar":for(let[l,A]of Object.entries(r)){let u=this.scalar(e.V.T,A,e.name,!1,!0);at.assert(u!==void 0),o[l.toString()]=u}break;case"message":let a=e.V.T();for(let[l,A]of Object.entries(r)){let u=this.message(a,A,e.name,n);at.assert(u!==void 0),o[l.toString()]=u}break;case"enum":let c=e.V.T();for(let[l,A]of Object.entries(r)){at.assert(A===void 0||typeof A=="number");let u=this.enum(c,A,e.name,!1,!0,n.enumAsInteger);at.assert(u!==void 0),o[l.toString()]=u}break}(n.emitDefaultValues||Object.keys(o).length>0)&&(i=o)}else if(e.repeat){at.assert(Array.isArray(r));let o=[];switch(e.kind){case"scalar":for(let l=0;l0||n.emitDefaultValues)&&(i=o)}else switch(e.kind){case"scalar":i=this.scalar(e.T,r,e.name,e.opt,n.emitDefaultValues);break;case"enum":i=this.enum(e.T(),r,e.name,e.opt,n.emitDefaultValues,n.enumAsInteger);break;case"message":i=this.message(e.T(),r,e.name,n);break}return i}enum(e,r,n,i,o,a){if(e[0]=="google.protobuf.NullValue")return!o&&!i?void 0:null;if(r===void 0){at.assert(i);return}if(!(r===0&&!o&&!i))return at.assert(typeof r=="number"),at.assert(Number.isInteger(r)),a||!e[1].hasOwnProperty(r)?r:e[2]?e[2]+e[1][r]:e[1][r]}message(e,r,n,i){return r===void 0?i.emitDefaultValues?null:void 0:e.internalJsonWrite(r,i)}scalar(e,r,n,i,o){if(r===void 0){at.assert(i);return}let a=o||i;switch(e){case Er.ScalarType.INT32:case Er.ScalarType.SFIXED32:case Er.ScalarType.SINT32:return r===0?a?0:void 0:(at.assertInt32(r),r);case Er.ScalarType.FIXED32:case Er.ScalarType.UINT32:return r===0?a?0:void 0:(at.assertUInt32(r),r);case Er.ScalarType.FLOAT:at.assertFloat32(r);case Er.ScalarType.DOUBLE:return r===0?a?0:void 0:(at.assert(typeof r=="number"),Number.isNaN(r)?"NaN":r===Number.POSITIVE_INFINITY?"Infinity":r===Number.NEGATIVE_INFINITY?"-Infinity":r);case Er.ScalarType.STRING:return r===""?a?"":void 0:(at.assert(typeof r=="string"),r);case Er.ScalarType.BOOL:return r===!1?a?!1:void 0:(at.assert(typeof r=="boolean"),r);case Er.ScalarType.UINT64:case Er.ScalarType.FIXED64:at.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let c=f3.PbULong.from(r);return c.isZero()&&!a?void 0:c.toString();case Er.ScalarType.INT64:case Er.ScalarType.SFIXED64:case Er.ScalarType.SINT64:at.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let l=f3.PbLong.from(r);return l.isZero()&&!a?void 0:l.toString();case Er.ScalarType.BYTES:return at.assert(r instanceof Uint8Array),r.byteLength?qOe.base64encode(r):a?"":void 0}}};ry.ReflectionJsonWriter=Cx});var iy=f(ny=>{"use strict";Object.defineProperty(ny,"__esModule",{value:!0});ny.reflectionScalarDefault=void 0;var $n=Kn(),y3=Xf(),C3=to();function HOe(t,e=$n.LongType.STRING){switch(t){case $n.ScalarType.BOOL:return!1;case $n.ScalarType.UINT64:case $n.ScalarType.FIXED64:return y3.reflectionLongConvert(C3.PbULong.ZERO,e);case $n.ScalarType.INT64:case $n.ScalarType.SFIXED64:case $n.ScalarType.SINT64:return y3.reflectionLongConvert(C3.PbLong.ZERO,e);case $n.ScalarType.DOUBLE:case $n.ScalarType.FLOAT:return 0;case $n.ScalarType.BYTES:return new Uint8Array(0);case $n.ScalarType.STRING:return"";default:return 0}}s(HOe,"reflectionScalarDefault");ny.reflectionScalarDefault=HOe});var Ix=f(sy=>{"use strict";Object.defineProperty(sy,"__esModule",{value:!0});sy.ReflectionBinaryReader=void 0;var E3=Lu(),Nt=Kn(),Yu=Xf(),B3=iy(),Bx=class{static{s(this,"ReflectionBinaryReader")}constructor(e){this.info=e}prepare(){var e;if(!this.fieldNoToField){let r=(e=this.info.fields)!==null&&e!==void 0?e:[];this.fieldNoToField=new Map(r.map(n=>[n.no,n]))}}read(e,r,n,i){this.prepare();let o=i===void 0?e.len:e.pos+i;for(;e.pos{"use strict";Object.defineProperty(oy,"__esModule",{value:!0});oy.ReflectionBinaryWriter=void 0;var on=Lu(),Ke=Kn(),El=fl(),Ju=to(),bx=class{static{s(this,"ReflectionBinaryWriter")}constructor(e){this.info=e}prepare(){if(!this.fields){let e=this.info.fields?this.info.fields.concat():[];this.fields=e.sort((r,n)=>r.no-n.no)}}write(e,r,n){this.prepare();for(let o of this.fields){let a,c,l=o.repeat,A=o.localName;if(o.oneof){let u=e[o.oneof];if(u.oneofKind!==A)continue;a=u[A],c=!0}else a=e[A],c=!1;switch(o.kind){case"scalar":case"enum":let u=o.kind=="enum"?Ke.ScalarType.INT32:o.T;if(l)if(El.assert(Array.isArray(a)),l==Ke.RepeatType.PACKED)this.packed(r,u,o.no,a);else for(let d of a)this.scalar(r,u,o.no,d,!0);else a===void 0?El.assert(o.opt):this.scalar(r,u,o.no,a,c||o.opt);break;case"message":if(l){El.assert(Array.isArray(a));for(let d of a)this.message(r,n,o.T(),o.no,d)}else this.message(r,n,o.T(),o.no,a);break;case"map":El.assert(typeof a=="object"&&a!==null);for(let[d,g]of Object.entries(a))this.mapEntry(r,n,o,d,g);break}}let i=n.writeUnknownFields;i!==!1&&(i===!0?on.UnknownFieldHandler.onWrite:i)(this.info.typeName,e,r)}mapEntry(e,r,n,i,o){e.tag(n.no,on.WireType.LengthDelimited),e.fork();let a=i;switch(n.K){case Ke.ScalarType.INT32:case Ke.ScalarType.FIXED32:case Ke.ScalarType.UINT32:case Ke.ScalarType.SFIXED32:case Ke.ScalarType.SINT32:a=Number.parseInt(i);break;case Ke.ScalarType.BOOL:El.assert(i=="true"||i=="false"),a=i=="true";break}switch(this.scalar(e,n.K,1,a,!0),n.V.kind){case"scalar":this.scalar(e,n.V.T,2,o,!0);break;case"enum":this.scalar(e,Ke.ScalarType.INT32,2,o,!0);break;case"message":this.message(e,r,n.V.T(),2,o);break}e.join()}message(e,r,n,i,o){o!==void 0&&(n.internalBinaryWrite(o,e.tag(i,on.WireType.LengthDelimited).fork(),r),e.join())}scalar(e,r,n,i,o){let[a,c,l]=this.scalarInfo(r,i);(!l||o)&&(e.tag(n,a),e[c](i))}packed(e,r,n,i){if(!i.length)return;El.assert(r!==Ke.ScalarType.BYTES&&r!==Ke.ScalarType.STRING),e.tag(n,on.WireType.LengthDelimited),e.fork();let[,o]=this.scalarInfo(r);for(let a=0;a{"use strict";Object.defineProperty(ay,"__esModule",{value:!0});ay.reflectionCreate=void 0;var zOe=iy(),GOe=ju();function jOe(t){let e=t.messagePrototype?Object.create(t.messagePrototype):Object.defineProperty({},GOe.MESSAGE_TYPE,{value:t});for(let r of t.fields){let n=r.localName;if(!r.opt)if(r.oneof)e[r.oneof]={oneofKind:void 0};else if(r.repeat)e[n]=[];else switch(r.kind){case"scalar":e[n]=zOe.reflectionScalarDefault(r.T,r.L);break;case"enum":e[n]=0;break;case"map":e[n]={};break}}return e}s(jOe,"reflectionCreate");ay.reflectionCreate=jOe});var wx=f(cy=>{"use strict";Object.defineProperty(cy,"__esModule",{value:!0});cy.reflectionMergePartial=void 0;function YOe(t,e,r){let n,i=r,o;for(let a of t.fields){let c=a.localName;if(a.oneof){let l=i[a.oneof];if(l?.oneofKind==null)continue;if(n=l[c],o=e[a.oneof],o.oneofKind=l.oneofKind,n==null){delete o[c];continue}}else if(n=i[c],o=e,n==null)continue;switch(a.repeat&&(o[c].length=n.length),a.kind){case"scalar":case"enum":if(a.repeat)for(let A=0;A{"use strict";Object.defineProperty(Ay,"__esModule",{value:!0});Ay.reflectionEquals=void 0;var Sx=Kn();function JOe(t,e,r){if(e===r)return!0;if(!e||!r)return!1;for(let n of t.fields){let i=n.localName,o=n.oneof?e[n.oneof][i]:e[i],a=n.oneof?r[n.oneof][i]:r[i];switch(n.kind){case"enum":case"scalar":let c=n.kind=="enum"?Sx.ScalarType.INT32:n.T;if(!(n.repeat?I3(c,o,a):Q3(c,o,a)))return!1;break;case"map":if(!(n.V.kind=="message"?b3(n.V.T(),ly(o),ly(a)):I3(n.V.kind=="enum"?Sx.ScalarType.INT32:n.V.T,ly(o),ly(a))))return!1;break;case"message":let l=n.T();if(!(n.repeat?b3(l,o,a):l.equals(o,a)))return!1;break}}return!0}s(JOe,"reflectionEquals");Ay.reflectionEquals=JOe;var ly=Object.values;function Q3(t,e,r){if(e===r)return!0;if(t!==Sx.ScalarType.BYTES)return!1;let n=e,i=r;if(n.length!==i.length)return!1;for(let o=0;o{"use strict";Object.defineProperty(uy,"__esModule",{value:!0});uy.MessageType=void 0;var VOe=ju(),WOe=Kn(),KOe=hx(),$Oe=yx(),XOe=Ex(),ZOe=Ix(),eMe=Qx(),tMe=Nx(),Rx=wx(),rMe=kf(),N3=dx(),nMe=xx(),iMe=ux(),sMe=Ax(),w3=Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})),oMe=w3[VOe.MESSAGE_TYPE]={},vx=class{static{s(this,"MessageType")}constructor(e,r,n){this.defaultCheckDepth=16,this.typeName=e,this.fields=r.map(WOe.normalizeFieldInfo),this.options=n??{},oMe.value=this,this.messagePrototype=Object.create(null,w3),this.refTypeCheck=new KOe.ReflectionTypeCheck(this),this.refJsonReader=new $Oe.ReflectionJsonReader(this),this.refJsonWriter=new XOe.ReflectionJsonWriter(this),this.refBinReader=new ZOe.ReflectionBinaryReader(this),this.refBinWriter=new eMe.ReflectionBinaryWriter(this)}create(e){let r=tMe.reflectionCreate(this);return e!==void 0&&Rx.reflectionMergePartial(this,r,e),r}clone(e){let r=this.create();return Rx.reflectionMergePartial(this,r,e),r}equals(e,r){return nMe.reflectionEquals(this,e,r)}is(e,r=this.defaultCheckDepth){return this.refTypeCheck.is(e,r,!1)}isAssignable(e,r=this.defaultCheckDepth){return this.refTypeCheck.is(e,r,!0)}mergePartial(e,r){Rx.reflectionMergePartial(this,e,r)}fromBinary(e,r){let n=sMe.binaryReadOptions(r);return this.internalBinaryRead(n.readerFactory(e),e.byteLength,n)}fromJson(e,r){return this.internalJsonRead(e,N3.jsonReadOptions(r))}fromJsonString(e,r){let n=JSON.parse(e);return this.fromJson(n,r)}toJson(e,r){return this.internalJsonWrite(e,N3.jsonWriteOptions(r))}toJsonString(e,r){var n;let i=this.toJson(e,r);return JSON.stringify(i,null,(n=r?.prettySpaces)!==null&&n!==void 0?n:0)}toBinary(e,r){let n=iMe.binaryWriteOptions(r);return this.internalBinaryWrite(e,n.writerFactory(),n).finish()}internalJsonRead(e,r,n){if(e!==null&&typeof e=="object"&&!Array.isArray(e)){let i=n??this.create();return this.refJsonReader.read(e,i,r),i}throw new Error(`Unable to parse message ${this.typeName} from JSON ${rMe.typeofJsonValue(e)}.`)}internalJsonWrite(e,r){return this.refJsonWriter.write(e,r)}internalBinaryWrite(e,r,n){return this.refBinWriter.write(e,r,n),r}internalBinaryRead(e,r,n,i){let o=i??this.create();return this.refBinReader.read(e,o,n,r),o}};uy.MessageType=vx});var x3=f(dy=>{"use strict";Object.defineProperty(dy,"__esModule",{value:!0});dy.containsMessageType=void 0;var aMe=ju();function cMe(t){return t[aMe.MESSAGE_TYPE]!=null}s(cMe,"containsMessageType");dy.containsMessageType=cMe});var v3=f(Pi=>{"use strict";Object.defineProperty(Pi,"__esModule",{value:!0});Pi.listEnumNumbers=Pi.listEnumNames=Pi.listEnumValues=Pi.isEnumObject=void 0;function R3(t){if(typeof t!="object"||t===null||!t.hasOwnProperty(0))return!1;for(let e of Object.keys(t)){let r=parseInt(e);if(Number.isNaN(r)){let n=t[e];if(n===void 0||typeof n!="number"||t[n]===void 0)return!1}else{let n=t[r];if(n===void 0||t[n]!==r)return!1}}return!0}s(R3,"isEnumObject");Pi.isEnumObject=R3;function Px(t){if(!R3(t))throw new Error("not a typescript enum object");let e=[];for(let[r,n]of Object.entries(t))typeof n=="number"&&e.push({name:r,number:n});return e}s(Px,"listEnumValues");Pi.listEnumValues=Px;function lMe(t){return Px(t).map(e=>e.name)}s(lMe,"listEnumNames");Pi.listEnumNames=lMe;function AMe(t){return Px(t).map(e=>e.number).filter((e,r,n)=>n.indexOf(e)==r)}s(AMe,"listEnumNumbers");Pi.listEnumNumbers=AMe});var wt=f(ie=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0});var P3=kf();Object.defineProperty(ie,"typeofJsonValue",{enumerable:!0,get:s(function(){return P3.typeofJsonValue},"get")});Object.defineProperty(ie,"isJsonObject",{enumerable:!0,get:s(function(){return P3.isJsonObject},"get")});var _3=Ff();Object.defineProperty(ie,"base64decode",{enumerable:!0,get:s(function(){return _3.base64decode},"get")});Object.defineProperty(ie,"base64encode",{enumerable:!0,get:s(function(){return _3.base64encode},"get")});var uMe=i3();Object.defineProperty(ie,"utf8read",{enumerable:!0,get:s(function(){return uMe.utf8read},"get")});var _x=Lu();Object.defineProperty(ie,"WireType",{enumerable:!0,get:s(function(){return _x.WireType},"get")});Object.defineProperty(ie,"mergeBinaryOptions",{enumerable:!0,get:s(function(){return _x.mergeBinaryOptions},"get")});Object.defineProperty(ie,"UnknownFieldHandler",{enumerable:!0,get:s(function(){return _x.UnknownFieldHandler},"get")});var D3=Ax();Object.defineProperty(ie,"BinaryReader",{enumerable:!0,get:s(function(){return D3.BinaryReader},"get")});Object.defineProperty(ie,"binaryReadOptions",{enumerable:!0,get:s(function(){return D3.binaryReadOptions},"get")});var T3=ux();Object.defineProperty(ie,"BinaryWriter",{enumerable:!0,get:s(function(){return T3.BinaryWriter},"get")});Object.defineProperty(ie,"binaryWriteOptions",{enumerable:!0,get:s(function(){return T3.binaryWriteOptions},"get")});var O3=to();Object.defineProperty(ie,"PbLong",{enumerable:!0,get:s(function(){return O3.PbLong},"get")});Object.defineProperty(ie,"PbULong",{enumerable:!0,get:s(function(){return O3.PbULong},"get")});var Dx=dx();Object.defineProperty(ie,"jsonReadOptions",{enumerable:!0,get:s(function(){return Dx.jsonReadOptions},"get")});Object.defineProperty(ie,"jsonWriteOptions",{enumerable:!0,get:s(function(){return Dx.jsonWriteOptions},"get")});Object.defineProperty(ie,"mergeJsonOptions",{enumerable:!0,get:s(function(){return Dx.mergeJsonOptions},"get")});var dMe=ju();Object.defineProperty(ie,"MESSAGE_TYPE",{enumerable:!0,get:s(function(){return dMe.MESSAGE_TYPE},"get")});var pMe=S3();Object.defineProperty(ie,"MessageType",{enumerable:!0,get:s(function(){return pMe.MessageType},"get")});var oa=Kn();Object.defineProperty(ie,"ScalarType",{enumerable:!0,get:s(function(){return oa.ScalarType},"get")});Object.defineProperty(ie,"LongType",{enumerable:!0,get:s(function(){return oa.LongType},"get")});Object.defineProperty(ie,"RepeatType",{enumerable:!0,get:s(function(){return oa.RepeatType},"get")});Object.defineProperty(ie,"normalizeFieldInfo",{enumerable:!0,get:s(function(){return oa.normalizeFieldInfo},"get")});Object.defineProperty(ie,"readFieldOptions",{enumerable:!0,get:s(function(){return oa.readFieldOptions},"get")});Object.defineProperty(ie,"readFieldOption",{enumerable:!0,get:s(function(){return oa.readFieldOption},"get")});Object.defineProperty(ie,"readMessageOption",{enumerable:!0,get:s(function(){return oa.readMessageOption},"get")});var mMe=hx();Object.defineProperty(ie,"ReflectionTypeCheck",{enumerable:!0,get:s(function(){return mMe.ReflectionTypeCheck},"get")});var gMe=Nx();Object.defineProperty(ie,"reflectionCreate",{enumerable:!0,get:s(function(){return gMe.reflectionCreate},"get")});var hMe=iy();Object.defineProperty(ie,"reflectionScalarDefault",{enumerable:!0,get:s(function(){return hMe.reflectionScalarDefault},"get")});var fMe=wx();Object.defineProperty(ie,"reflectionMergePartial",{enumerable:!0,get:s(function(){return fMe.reflectionMergePartial},"get")});var yMe=xx();Object.defineProperty(ie,"reflectionEquals",{enumerable:!0,get:s(function(){return yMe.reflectionEquals},"get")});var CMe=Ix();Object.defineProperty(ie,"ReflectionBinaryReader",{enumerable:!0,get:s(function(){return CMe.ReflectionBinaryReader},"get")});var EMe=Qx();Object.defineProperty(ie,"ReflectionBinaryWriter",{enumerable:!0,get:s(function(){return EMe.ReflectionBinaryWriter},"get")});var BMe=yx();Object.defineProperty(ie,"ReflectionJsonReader",{enumerable:!0,get:s(function(){return BMe.ReflectionJsonReader},"get")});var IMe=Ex();Object.defineProperty(ie,"ReflectionJsonWriter",{enumerable:!0,get:s(function(){return IMe.ReflectionJsonWriter},"get")});var bMe=x3();Object.defineProperty(ie,"containsMessageType",{enumerable:!0,get:s(function(){return bMe.containsMessageType},"get")});var Vu=mx();Object.defineProperty(ie,"isOneofGroup",{enumerable:!0,get:s(function(){return Vu.isOneofGroup},"get")});Object.defineProperty(ie,"setOneofValue",{enumerable:!0,get:s(function(){return Vu.setOneofValue},"get")});Object.defineProperty(ie,"getOneofValue",{enumerable:!0,get:s(function(){return Vu.getOneofValue},"get")});Object.defineProperty(ie,"clearOneofValue",{enumerable:!0,get:s(function(){return Vu.clearOneofValue},"get")});Object.defineProperty(ie,"getSelectedOneofValue",{enumerable:!0,get:s(function(){return Vu.getSelectedOneofValue},"get")});var py=v3();Object.defineProperty(ie,"listEnumValues",{enumerable:!0,get:s(function(){return py.listEnumValues},"get")});Object.defineProperty(ie,"listEnumNames",{enumerable:!0,get:s(function(){return py.listEnumNames},"get")});Object.defineProperty(ie,"listEnumNumbers",{enumerable:!0,get:s(function(){return py.listEnumNumbers},"get")});Object.defineProperty(ie,"isEnumObject",{enumerable:!0,get:s(function(){return py.isEnumObject},"get")});var QMe=px();Object.defineProperty(ie,"lowerCamelCase",{enumerable:!0,get:s(function(){return QMe.lowerCamelCase},"get")});var Wu=fl();Object.defineProperty(ie,"assert",{enumerable:!0,get:s(function(){return Wu.assert},"get")});Object.defineProperty(ie,"assertNever",{enumerable:!0,get:s(function(){return Wu.assertNever},"get")});Object.defineProperty(ie,"assertInt32",{enumerable:!0,get:s(function(){return Wu.assertInt32},"get")});Object.defineProperty(ie,"assertUInt32",{enumerable:!0,get:s(function(){return Wu.assertUInt32},"get")});Object.defineProperty(ie,"assertFloat32",{enumerable:!0,get:s(function(){return Wu.assertFloat32},"get")})});var Tx=f(_i=>{"use strict";Object.defineProperty(_i,"__esModule",{value:!0});_i.readServiceOption=_i.readMethodOption=_i.readMethodOptions=_i.normalizeMethodInfo=void 0;var NMe=wt();function wMe(t,e){var r,n,i;let o=t;return o.service=e,o.localName=(r=o.localName)!==null&&r!==void 0?r:NMe.lowerCamelCase(o.name),o.serverStreaming=!!o.serverStreaming,o.clientStreaming=!!o.clientStreaming,o.options=(n=o.options)!==null&&n!==void 0?n:{},o.idempotency=(i=o.idempotency)!==null&&i!==void 0?i:void 0,o}s(wMe,"normalizeMethodInfo");_i.normalizeMethodInfo=wMe;function SMe(t,e,r,n){var i;let o=(i=t.methods.find((a,c)=>a.localName===e||c===e))===null||i===void 0?void 0:i.options;return o&&o[r]?n.fromJson(o[r]):void 0}s(SMe,"readMethodOptions");_i.readMethodOptions=SMe;function xMe(t,e,r,n){var i;let o=(i=t.methods.find((c,l)=>c.localName===e||l===e))===null||i===void 0?void 0:i.options;if(!o)return;let a=o[r];return a===void 0?a:n?n.fromJson(a):a}s(xMe,"readMethodOption");_i.readMethodOption=xMe;function RMe(t,e,r){let n=t.options;if(!n)return;let i=n[e];return i===void 0?i:r?r.fromJson(i):i}s(RMe,"readServiceOption");_i.readServiceOption=RMe});var M3=f(my=>{"use strict";Object.defineProperty(my,"__esModule",{value:!0});my.ServiceType=void 0;var vMe=Tx(),Ox=class{static{s(this,"ServiceType")}constructor(e,r,n){this.typeName=e,this.methods=r.map(i=>vMe.normalizeMethodInfo(i,this)),this.options=n??{}}};my.ServiceType=Ox});var kx=f(gy=>{"use strict";Object.defineProperty(gy,"__esModule",{value:!0});gy.RpcError=void 0;var Mx=class extends Error{static{s(this,"RpcError")}constructor(e,r="UNKNOWN",n){super(e),this.name="RpcError",Object.setPrototypeOf(this,new.target.prototype),this.code=r,this.meta=n??{}}toString(){let e=[this.name+": "+this.message];this.code&&(e.push(""),e.push("Code: "+this.code)),this.serviceName&&this.methodName&&e.push("Method: "+this.serviceName+"/"+this.methodName);let r=Object.entries(this.meta);if(r.length){e.push(""),e.push("Meta:");for(let[n,i]of r)e.push(` ${n}: ${i}`)}return e.join(` +`)}};gy.RpcError=Mx});var Lx=f(fy=>{"use strict";Object.defineProperty(fy,"__esModule",{value:!0});fy.mergeRpcOptions=void 0;var k3=wt();function PMe(t,e){if(!e)return t;let r={};hy(t,r),hy(e,r);for(let n of Object.keys(e)){let i=e[n];switch(n){case"jsonOptions":r.jsonOptions=k3.mergeJsonOptions(t.jsonOptions,r.jsonOptions);break;case"binaryOptions":r.binaryOptions=k3.mergeBinaryOptions(t.binaryOptions,r.binaryOptions);break;case"meta":r.meta={},hy(t.meta,r.meta),hy(e.meta,r.meta);break;case"interceptors":r.interceptors=t.interceptors?t.interceptors.concat(i):i.concat();break}}return r}s(PMe,"mergeRpcOptions");fy.mergeRpcOptions=PMe;function hy(t,e){if(!t)return;let r=e;for(let[n,i]of Object.entries(t))i instanceof Date?r[n]=new Date(i.getTime()):Array.isArray(i)?r[n]=i.concat():r[n]=i}s(hy,"copy")});var Ux=f(aa=>{"use strict";Object.defineProperty(aa,"__esModule",{value:!0});aa.Deferred=aa.DeferredState=void 0;var Di;(function(t){t[t.PENDING=0]="PENDING",t[t.REJECTED=1]="REJECTED",t[t.RESOLVED=2]="RESOLVED"})(Di=aa.DeferredState||(aa.DeferredState={}));var Fx=class{static{s(this,"Deferred")}constructor(e=!0){this._state=Di.PENDING,this._promise=new Promise((r,n)=>{this._resolve=r,this._reject=n}),e&&this._promise.catch(r=>{})}get state(){return this._state}get promise(){return this._promise}resolve(e){if(this.state!==Di.PENDING)throw new Error(`cannot resolve ${Di[this.state].toLowerCase()}`);this._resolve(e),this._state=Di.RESOLVED}reject(e){if(this.state!==Di.PENDING)throw new Error(`cannot reject ${Di[this.state].toLowerCase()}`);this._reject(e),this._state=Di.REJECTED}resolvePending(e){this._state===Di.PENDING&&this.resolve(e)}rejectPending(e){this._state===Di.PENDING&&this.reject(e)}};aa.Deferred=Fx});var Hx=f(yy=>{"use strict";Object.defineProperty(yy,"__esModule",{value:!0});yy.RpcOutputStreamController=void 0;var L3=Ux(),ca=wt(),qx=class{static{s(this,"RpcOutputStreamController")}constructor(){this._lis={nxt:[],msg:[],err:[],cmp:[]},this._closed=!1,this._itState={q:[]}}onNext(e){return this.addLis(e,this._lis.nxt)}onMessage(e){return this.addLis(e,this._lis.msg)}onError(e){return this.addLis(e,this._lis.err)}onComplete(e){return this.addLis(e,this._lis.cmp)}addLis(e,r){return r.push(e),()=>{let n=r.indexOf(e);n>=0&&r.splice(n,1)}}clearLis(){for(let e of Object.values(this._lis))e.splice(0,e.length)}get closed(){return this._closed!==!1}notifyNext(e,r,n){ca.assert((e?1:0)+(r?1:0)+(n?1:0)<=1,"only one emission at a time"),e&&this.notifyMessage(e),r&&this.notifyError(r),n&&this.notifyComplete()}notifyMessage(e){ca.assert(!this.closed,"stream is closed"),this.pushIt({value:e,done:!1}),this._lis.msg.forEach(r=>r(e)),this._lis.nxt.forEach(r=>r(e,void 0,!1))}notifyError(e){ca.assert(!this.closed,"stream is closed"),this._closed=e,this.pushIt(e),this._lis.err.forEach(r=>r(e)),this._lis.nxt.forEach(r=>r(void 0,e,!1)),this.clearLis()}notifyComplete(){ca.assert(!this.closed,"stream is closed"),this._closed=!0,this.pushIt({value:null,done:!0}),this._lis.cmp.forEach(e=>e()),this._lis.nxt.forEach(e=>e(void 0,void 0,!0)),this.clearLis()}[Symbol.asyncIterator](){return this._closed===!0?this.pushIt({value:null,done:!0}):this._closed!==!1&&this.pushIt(this._closed),{next:s(()=>{let e=this._itState;ca.assert(e,"bad state"),ca.assert(!e.p,"iterator contract broken");let r=e.q.shift();return r?"value"in r?Promise.resolve(r):Promise.reject(r):(e.p=new L3.Deferred,e.p.promise)},"next")}}pushIt(e){let r=this._itState;if(r.p){let n=r.p;ca.assert(n.state==L3.DeferredState.PENDING,"iterator contract broken"),"value"in e?n.resolve(e):n.reject(e),delete r.p}else r.q.push(e)}};yy.RpcOutputStreamController=qx});var Gx=f(Bl=>{"use strict";var _Me=Bl&&Bl.__awaiter||function(t,e,r,n){function i(o){return o instanceof r?o:new r(function(a){a(o)})}return s(i,"adopt"),new(r||(r=Promise))(function(o,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}s(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}s(l,"rejected");function A(u){u.done?o(u.value):i(u.value).then(c,l)}s(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(Bl,"__esModule",{value:!0});Bl.UnaryCall=void 0;var zx=class{static{s(this,"UnaryCall")}constructor(e,r,n,i,o,a,c){this.method=e,this.requestHeaders=r,this.request=n,this.headers=i,this.response=o,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return _Me(this,void 0,void 0,function*(){let[e,r,n,i]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:e,response:r,status:n,trailers:i}})}};Bl.UnaryCall=zx});var Yx=f(Il=>{"use strict";var DMe=Il&&Il.__awaiter||function(t,e,r,n){function i(o){return o instanceof r?o:new r(function(a){a(o)})}return s(i,"adopt"),new(r||(r=Promise))(function(o,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}s(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}s(l,"rejected");function A(u){u.done?o(u.value):i(u.value).then(c,l)}s(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(Il,"__esModule",{value:!0});Il.ServerStreamingCall=void 0;var jx=class{static{s(this,"ServerStreamingCall")}constructor(e,r,n,i,o,a,c){this.method=e,this.requestHeaders=r,this.request=n,this.headers=i,this.responses=o,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return DMe(this,void 0,void 0,function*(){let[e,r,n]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:e,status:r,trailers:n}})}};Il.ServerStreamingCall=jx});var Vx=f(bl=>{"use strict";var TMe=bl&&bl.__awaiter||function(t,e,r,n){function i(o){return o instanceof r?o:new r(function(a){a(o)})}return s(i,"adopt"),new(r||(r=Promise))(function(o,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}s(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}s(l,"rejected");function A(u){u.done?o(u.value):i(u.value).then(c,l)}s(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(bl,"__esModule",{value:!0});bl.ClientStreamingCall=void 0;var Jx=class{static{s(this,"ClientStreamingCall")}constructor(e,r,n,i,o,a,c){this.method=e,this.requestHeaders=r,this.requests=n,this.headers=i,this.response=o,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return TMe(this,void 0,void 0,function*(){let[e,r,n,i]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:e,response:r,status:n,trailers:i}})}};bl.ClientStreamingCall=Jx});var Kx=f(Ql=>{"use strict";var OMe=Ql&&Ql.__awaiter||function(t,e,r,n){function i(o){return o instanceof r?o:new r(function(a){a(o)})}return s(i,"adopt"),new(r||(r=Promise))(function(o,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}s(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}s(l,"rejected");function A(u){u.done?o(u.value):i(u.value).then(c,l)}s(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(Ql,"__esModule",{value:!0});Ql.DuplexStreamingCall=void 0;var Wx=class{static{s(this,"DuplexStreamingCall")}constructor(e,r,n,i,o,a,c){this.method=e,this.requestHeaders=r,this.requests=n,this.headers=i,this.responses=o,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return OMe(this,void 0,void 0,function*(){let[e,r,n]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:e,status:r,trailers:n}})}};Ql.DuplexStreamingCall=Wx});var U3=f(Sl=>{"use strict";var MMe=Sl&&Sl.__awaiter||function(t,e,r,n){function i(o){return o instanceof r?o:new r(function(a){a(o)})}return s(i,"adopt"),new(r||(r=Promise))(function(o,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}s(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}s(l,"rejected");function A(u){u.done?o(u.value):i(u.value).then(c,l)}s(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(Sl,"__esModule",{value:!0});Sl.TestTransport=void 0;var Pn=kx(),Cy=wt(),F3=Hx(),kMe=Lx(),LMe=Gx(),FMe=Yx(),UMe=Vx(),qMe=Kx(),wl=class t{static{s(this,"TestTransport")}constructor(e){this.suppressUncaughtRejections=!0,this.headerDelay=10,this.responseDelay=50,this.betweenResponseDelay=10,this.afterResponseDelay=10,this.data=e??{}}get sentMessages(){return this.lastInput instanceof Nl?this.lastInput.sent:typeof this.lastInput=="object"?[this.lastInput.single]:[]}get sendComplete(){return this.lastInput instanceof Nl?this.lastInput.completed:typeof this.lastInput=="object"}promiseHeaders(){var e;let r=(e=this.data.headers)!==null&&e!==void 0?e:t.defaultHeaders;return r instanceof Pn.RpcError?Promise.reject(r):Promise.resolve(r)}promiseSingleResponse(e){if(this.data.response instanceof Pn.RpcError)return Promise.reject(this.data.response);let r;return Array.isArray(this.data.response)?(Cy.assert(this.data.response.length>0),r=this.data.response[0]):this.data.response!==void 0?r=this.data.response:r=e.O.create(),Cy.assert(e.O.is(r)),Promise.resolve(r)}streamResponses(e,r,n){return MMe(this,void 0,void 0,function*(){let i=[];if(this.data.response===void 0)i.push(e.O.create());else if(Array.isArray(this.data.response))for(let o of this.data.response)Cy.assert(e.O.is(o)),i.push(o);else this.data.response instanceof Pn.RpcError||(Cy.assert(e.O.is(this.data.response)),i.push(this.data.response));try{yield $t(this.responseDelay,n)(void 0)}catch(o){r.notifyError(o);return}if(this.data.response instanceof Pn.RpcError){r.notifyError(this.data.response);return}for(let o of i){r.notifyMessage(o);try{yield $t(this.betweenResponseDelay,n)(void 0)}catch(a){r.notifyError(a);return}}if(this.data.status instanceof Pn.RpcError){r.notifyError(this.data.status);return}if(this.data.trailers instanceof Pn.RpcError){r.notifyError(this.data.trailers);return}r.notifyComplete()})}promiseStatus(){var e;let r=(e=this.data.status)!==null&&e!==void 0?e:t.defaultStatus;return r instanceof Pn.RpcError?Promise.reject(r):Promise.resolve(r)}promiseTrailers(){var e;let r=(e=this.data.trailers)!==null&&e!==void 0?e:t.defaultTrailers;return r instanceof Pn.RpcError?Promise.reject(r):Promise.resolve(r)}maybeSuppressUncaught(...e){if(this.suppressUncaughtRejections)for(let r of e)r.catch(()=>{})}mergeOptions(e){return kMe.mergeRpcOptions({},e)}unary(e,r,n){var i;let o=(i=n.meta)!==null&&i!==void 0?i:{},a=this.promiseHeaders().then($t(this.headerDelay,n.abort)),c=a.catch(u=>{}).then($t(this.responseDelay,n.abort)).then(u=>this.promiseSingleResponse(e)),l=c.catch(u=>{}).then($t(this.afterResponseDelay,n.abort)).then(u=>this.promiseStatus()),A=c.catch(u=>{}).then($t(this.afterResponseDelay,n.abort)).then(u=>this.promiseTrailers());return this.maybeSuppressUncaught(l,A),this.lastInput={single:r},new LMe.UnaryCall(e,o,r,a,c,l,A)}serverStreaming(e,r,n){var i;let o=(i=n.meta)!==null&&i!==void 0?i:{},a=this.promiseHeaders().then($t(this.headerDelay,n.abort)),c=new F3.RpcOutputStreamController,l=a.then($t(this.responseDelay,n.abort)).catch(()=>{}).then(()=>this.streamResponses(e,c,n.abort)).then($t(this.afterResponseDelay,n.abort)),A=l.then(()=>this.promiseStatus()),u=l.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(A,u),this.lastInput={single:r},new FMe.ServerStreamingCall(e,o,r,a,c,A,u)}clientStreaming(e,r){var n;let i=(n=r.meta)!==null&&n!==void 0?n:{},o=this.promiseHeaders().then($t(this.headerDelay,r.abort)),a=o.catch(A=>{}).then($t(this.responseDelay,r.abort)).then(A=>this.promiseSingleResponse(e)),c=a.catch(A=>{}).then($t(this.afterResponseDelay,r.abort)).then(A=>this.promiseStatus()),l=a.catch(A=>{}).then($t(this.afterResponseDelay,r.abort)).then(A=>this.promiseTrailers());return this.maybeSuppressUncaught(c,l),this.lastInput=new Nl(this.data,r.abort),new UMe.ClientStreamingCall(e,i,this.lastInput,o,a,c,l)}duplex(e,r){var n;let i=(n=r.meta)!==null&&n!==void 0?n:{},o=this.promiseHeaders().then($t(this.headerDelay,r.abort)),a=new F3.RpcOutputStreamController,c=o.then($t(this.responseDelay,r.abort)).catch(()=>{}).then(()=>this.streamResponses(e,a,r.abort)).then($t(this.afterResponseDelay,r.abort)),l=c.then(()=>this.promiseStatus()),A=c.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(l,A),this.lastInput=new Nl(this.data,r.abort),new qMe.DuplexStreamingCall(e,i,this.lastInput,o,a,l,A)}};Sl.TestTransport=wl;wl.defaultHeaders={responseHeader:"test"};wl.defaultStatus={code:"OK",detail:"all good"};wl.defaultTrailers={responseTrailer:"test"};function $t(t,e){return r=>new Promise((n,i)=>{if(e?.aborted)i(new Pn.RpcError("user cancel","CANCELLED"));else{let o=setTimeout(()=>n(r),t);e&&e.addEventListener("abort",a=>{clearTimeout(o),i(new Pn.RpcError("user cancel","CANCELLED"))})}})}s($t,"delay");var Nl=class{static{s(this,"TestInputStream")}constructor(e,r){this._completed=!1,this._sent=[],this.data=e,this.abort=r}get sent(){return this._sent}get completed(){return this._completed}send(e){if(this.data.inputMessage instanceof Pn.RpcError)return Promise.reject(this.data.inputMessage);let r=this.data.inputMessage===void 0?10:this.data.inputMessage;return Promise.resolve(void 0).then(()=>{this._sent.push(e)}).then($t(r,this.abort))}complete(){if(this.data.inputComplete instanceof Pn.RpcError)return Promise.reject(this.data.inputComplete);let e=this.data.inputComplete===void 0?10:this.data.inputComplete;return Promise.resolve(void 0).then(()=>{this._completed=!0}).then($t(e,this.abort))}}});var q3=f(_n=>{"use strict";Object.defineProperty(_n,"__esModule",{value:!0});_n.stackDuplexStreamingInterceptors=_n.stackClientStreamingInterceptors=_n.stackServerStreamingInterceptors=_n.stackUnaryInterceptors=_n.stackIntercept=void 0;var HMe=wt();function Ku(t,e,r,n,i){var o,a,c,l;if(t=="unary"){let A=s((u,d,g)=>e.unary(u,d,g),"tail");for(let u of((o=n.interceptors)!==null&&o!==void 0?o:[]).filter(d=>d.interceptUnary).reverse()){let d=A;A=s((g,y,B)=>u.interceptUnary(d,g,y,B),"tail")}return A(r,i,n)}if(t=="serverStreaming"){let A=s((u,d,g)=>e.serverStreaming(u,d,g),"tail");for(let u of((a=n.interceptors)!==null&&a!==void 0?a:[]).filter(d=>d.interceptServerStreaming).reverse()){let d=A;A=s((g,y,B)=>u.interceptServerStreaming(d,g,y,B),"tail")}return A(r,i,n)}if(t=="clientStreaming"){let A=s((u,d)=>e.clientStreaming(u,d),"tail");for(let u of((c=n.interceptors)!==null&&c!==void 0?c:[]).filter(d=>d.interceptClientStreaming).reverse()){let d=A;A=s((g,y)=>u.interceptClientStreaming(d,g,y),"tail")}return A(r,n)}if(t=="duplex"){let A=s((u,d)=>e.duplex(u,d),"tail");for(let u of((l=n.interceptors)!==null&&l!==void 0?l:[]).filter(d=>d.interceptDuplex).reverse()){let d=A;A=s((g,y)=>u.interceptDuplex(d,g,y),"tail")}return A(r,n)}HMe.assertNever(t)}s(Ku,"stackIntercept");_n.stackIntercept=Ku;function zMe(t,e,r,n){return Ku("unary",t,e,n,r)}s(zMe,"stackUnaryInterceptors");_n.stackUnaryInterceptors=zMe;function GMe(t,e,r,n){return Ku("serverStreaming",t,e,n,r)}s(GMe,"stackServerStreamingInterceptors");_n.stackServerStreamingInterceptors=GMe;function jMe(t,e,r){return Ku("clientStreaming",t,e,r)}s(jMe,"stackClientStreamingInterceptors");_n.stackClientStreamingInterceptors=jMe;function YMe(t,e,r){return Ku("duplex",t,e,r)}s(YMe,"stackDuplexStreamingInterceptors");_n.stackDuplexStreamingInterceptors=YMe});var H3=f(Ey=>{"use strict";Object.defineProperty(Ey,"__esModule",{value:!0});Ey.ServerCallContextController=void 0;var $x=class{static{s(this,"ServerCallContextController")}constructor(e,r,n,i,o={code:"OK",detail:""}){this._cancelled=!1,this._listeners=[],this.method=e,this.headers=r,this.deadline=n,this.trailers={},this._sendRH=i,this.status=o}notifyCancelled(){if(!this._cancelled){this._cancelled=!0;for(let e of this._listeners)e()}}sendResponseHeaders(e){this._sendRH(e)}get cancelled(){return this._cancelled}onCancel(e){let r=this._listeners;return r.push(e),()=>{let n=r.indexOf(e);n>=0&&r.splice(n,1)}}};Ey.ServerCallContextController=$x});var G3=f(Et=>{"use strict";Object.defineProperty(Et,"__esModule",{value:!0});var JMe=M3();Object.defineProperty(Et,"ServiceType",{enumerable:!0,get:s(function(){return JMe.ServiceType},"get")});var Xx=Tx();Object.defineProperty(Et,"readMethodOptions",{enumerable:!0,get:s(function(){return Xx.readMethodOptions},"get")});Object.defineProperty(Et,"readMethodOption",{enumerable:!0,get:s(function(){return Xx.readMethodOption},"get")});Object.defineProperty(Et,"readServiceOption",{enumerable:!0,get:s(function(){return Xx.readServiceOption},"get")});var VMe=kx();Object.defineProperty(Et,"RpcError",{enumerable:!0,get:s(function(){return VMe.RpcError},"get")});var WMe=Lx();Object.defineProperty(Et,"mergeRpcOptions",{enumerable:!0,get:s(function(){return WMe.mergeRpcOptions},"get")});var KMe=Hx();Object.defineProperty(Et,"RpcOutputStreamController",{enumerable:!0,get:s(function(){return KMe.RpcOutputStreamController},"get")});var $Me=U3();Object.defineProperty(Et,"TestTransport",{enumerable:!0,get:s(function(){return $Me.TestTransport},"get")});var z3=Ux();Object.defineProperty(Et,"Deferred",{enumerable:!0,get:s(function(){return z3.Deferred},"get")});Object.defineProperty(Et,"DeferredState",{enumerable:!0,get:s(function(){return z3.DeferredState},"get")});var XMe=Kx();Object.defineProperty(Et,"DuplexStreamingCall",{enumerable:!0,get:s(function(){return XMe.DuplexStreamingCall},"get")});var ZMe=Vx();Object.defineProperty(Et,"ClientStreamingCall",{enumerable:!0,get:s(function(){return ZMe.ClientStreamingCall},"get")});var eke=Yx();Object.defineProperty(Et,"ServerStreamingCall",{enumerable:!0,get:s(function(){return eke.ServerStreamingCall},"get")});var tke=Gx();Object.defineProperty(Et,"UnaryCall",{enumerable:!0,get:s(function(){return tke.UnaryCall},"get")});var $u=q3();Object.defineProperty(Et,"stackIntercept",{enumerable:!0,get:s(function(){return $u.stackIntercept},"get")});Object.defineProperty(Et,"stackDuplexStreamingInterceptors",{enumerable:!0,get:s(function(){return $u.stackDuplexStreamingInterceptors},"get")});Object.defineProperty(Et,"stackClientStreamingInterceptors",{enumerable:!0,get:s(function(){return $u.stackClientStreamingInterceptors},"get")});Object.defineProperty(Et,"stackServerStreamingInterceptors",{enumerable:!0,get:s(function(){return $u.stackServerStreamingInterceptors},"get")});Object.defineProperty(Et,"stackUnaryInterceptors",{enumerable:!0,get:s(function(){return $u.stackUnaryInterceptors},"get")});var rke=H3();Object.defineProperty(Et,"ServerCallContextController",{enumerable:!0,get:s(function(){return rke.ServerCallContextController},"get")})});var J3=f(By=>{"use strict";Object.defineProperty(By,"__esModule",{value:!0});By.CacheScope=void 0;var j3=wt(),Y3=wt(),nke=wt(),ike=wt(),ske=wt(),Zx=class extends ske.MessageType{static{s(this,"CacheScope$Type")}constructor(){super("github.actions.results.entities.v1.CacheScope",[{no:1,name:"scope",kind:"scalar",T:9},{no:2,name:"permission",kind:"scalar",T:3}])}create(e){let r={scope:"",permission:"0"};return globalThis.Object.defineProperty(r,ike.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,nke.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let o=i??this.create(),a=e.pos+r;for(;e.pos{"use strict";Object.defineProperty(Iy,"__esModule",{value:!0});Iy.CacheMetadata=void 0;var V3=wt(),W3=wt(),oke=wt(),ake=wt(),cke=wt(),eR=J3(),tR=class extends cke.MessageType{static{s(this,"CacheMetadata$Type")}constructor(){super("github.actions.results.entities.v1.CacheMetadata",[{no:1,name:"repository_id",kind:"scalar",T:3},{no:2,name:"scope",kind:"message",repeat:1,T:s(()=>eR.CacheScope,"T")}])}create(e){let r={repositoryId:"0",scope:[]};return globalThis.Object.defineProperty(r,ake.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,oke.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let o=i??this.create(),a=e.pos+r;for(;e.pos{"use strict";Object.defineProperty(Bt,"__esModule",{value:!0});Bt.CacheService=Bt.GetCacheEntryDownloadURLResponse=Bt.GetCacheEntryDownloadURLRequest=Bt.FinalizeCacheEntryUploadResponse=Bt.FinalizeCacheEntryUploadRequest=Bt.CreateCacheEntryResponse=Bt.CreateCacheEntryRequest=void 0;var lke=G3(),_t=wt(),Dn=wt(),xl=wt(),Rl=wt(),vl=wt(),as=K3(),rR=class extends vl.MessageType{static{s(this,"CreateCacheEntryRequest$Type")}constructor(){super("github.actions.results.api.v1.CreateCacheEntryRequest",[{no:1,name:"metadata",kind:"message",T:s(()=>as.CacheMetadata,"T")},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"version",kind:"scalar",T:9}])}create(e){let r={key:"",version:""};return globalThis.Object.defineProperty(r,Rl.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,xl.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let o=i??this.create(),a=e.pos+r;for(;e.posas.CacheMetadata,"T")},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"size_bytes",kind:"scalar",T:3},{no:4,name:"version",kind:"scalar",T:9}])}create(e){let r={key:"",sizeBytes:"0",version:""};return globalThis.Object.defineProperty(r,Rl.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,xl.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let o=i??this.create(),a=e.pos+r;for(;e.posas.CacheMetadata,"T")},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"restore_keys",kind:"scalar",repeat:2,T:9},{no:4,name:"version",kind:"scalar",T:9}])}create(e){let r={key:"",restoreKeys:[],version:""};return globalThis.Object.defineProperty(r,Rl.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,xl.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let o=i??this.create(),a=e.pos+r;for(;e.pos{"use strict";Object.defineProperty(Pl,"__esModule",{value:!0});Pl.CacheServiceClientProtobuf=Pl.CacheServiceClientJSON=void 0;var Tn=$3(),cR=class{static{s(this,"CacheServiceClientJSON")}constructor(e){this.rpc=e,this.CreateCacheEntry.bind(this),this.FinalizeCacheEntryUpload.bind(this),this.GetCacheEntryDownloadURL.bind(this)}CreateCacheEntry(e){let r=Tn.CreateCacheEntryRequest.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","CreateCacheEntry","application/json",r).then(i=>Tn.CreateCacheEntryResponse.fromJson(i,{ignoreUnknownFields:!0}))}FinalizeCacheEntryUpload(e){let r=Tn.FinalizeCacheEntryUploadRequest.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/json",r).then(i=>Tn.FinalizeCacheEntryUploadResponse.fromJson(i,{ignoreUnknownFields:!0}))}GetCacheEntryDownloadURL(e){let r=Tn.GetCacheEntryDownloadURLRequest.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/json",r).then(i=>Tn.GetCacheEntryDownloadURLResponse.fromJson(i,{ignoreUnknownFields:!0}))}};Pl.CacheServiceClientJSON=cR;var lR=class{static{s(this,"CacheServiceClientProtobuf")}constructor(e){this.rpc=e,this.CreateCacheEntry.bind(this),this.FinalizeCacheEntryUpload.bind(this),this.GetCacheEntryDownloadURL.bind(this)}CreateCacheEntry(e){let r=Tn.CreateCacheEntryRequest.toBinary(e);return this.rpc.request("github.actions.results.api.v1.CacheService","CreateCacheEntry","application/protobuf",r).then(i=>Tn.CreateCacheEntryResponse.fromBinary(i))}FinalizeCacheEntryUpload(e){let r=Tn.FinalizeCacheEntryUploadRequest.toBinary(e);return this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/protobuf",r).then(i=>Tn.FinalizeCacheEntryUploadResponse.fromBinary(i))}GetCacheEntryDownloadURL(e){let r=Tn.GetCacheEntryDownloadURLRequest.toBinary(e);return this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/protobuf",r).then(i=>Tn.GetCacheEntryDownloadURLResponse.fromBinary(i))}};Pl.CacheServiceClientProtobuf=lR});var Z3=f(Qy=>{"use strict";Object.defineProperty(Qy,"__esModule",{value:!0});Qy.maskSigUrl=AR;Qy.maskSecretUrls=Ake;var by=Ht();function AR(t){if(t)try{let r=new URL(t).searchParams.get("sig");r&&((0,by.setSecret)(r),(0,by.setSecret)(encodeURIComponent(r)))}catch(e){(0,by.debug)(`Failed to parse URL: ${t} ${e instanceof Error?e.message:String(e)}`)}}s(AR,"maskSigUrl");function Ake(t){if(typeof t!="object"||t===null){(0,by.debug)("body is not an object or is null");return}"signed_upload_url"in t&&typeof t.signed_upload_url=="string"&&AR(t.signed_upload_url),"signed_download_url"in t&&typeof t.signed_download_url=="string"&&AR(t.signed_download_url)}s(Ake,"maskSecretUrls")});var eK=f(Xu=>{"use strict";var Ny=Xu&&Xu.__awaiter||function(t,e,r,n){function i(o){return o instanceof r?o:new r(function(a){a(o)})}return s(i,"adopt"),new(r||(r=Promise))(function(o,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}s(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}s(l,"rejected");function A(u){u.done?o(u.value):i(u.value).then(c,l)}s(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(Xu,"__esModule",{value:!0});Xu.internalCacheTwirpClient=fke;var la=Ht(),uke=ix(),Aa=KS(),dke=Of(),pke=Ec(),mke=sm(),_l=Po(),gke=X3(),hke=Z3(),uR=class{static{s(this,"CacheServiceClient")}constructor(e,r,n,i){this.maxAttempts=5,this.baseRetryIntervalMilliseconds=3e3,this.retryMultiplier=1.5;let o=(0,pke.getRuntimeToken)();this.baseUrl=(0,dke.getCacheServiceURL)(),r&&(this.maxAttempts=r),n&&(this.baseRetryIntervalMilliseconds=n),i&&(this.retryMultiplier=i),this.httpClient=new _l.HttpClient(e,[new mke.BearerCredentialHandler(o)])}request(e,r,n,i){return Ny(this,void 0,void 0,function*(){let o=new URL(`/twirp/${e}/${r}`,this.baseUrl).href;(0,la.debug)(`[Request] ${r} ${o}`);let a={"Content-Type":n};try{let{body:c}=yield this.retryableRequest(()=>Ny(this,void 0,void 0,function*(){return this.httpClient.post(o,JSON.stringify(i),a)}));return c}catch(c){throw new Error(`Failed to ${r}: ${c.message}`)}})}retryableRequest(e){return Ny(this,void 0,void 0,function*(){let r=0,n="",i="";for(;r0&&(0,la.warning)(`You've hit a rate limit, your rate limit will reset in ${d} seconds`)}throw new Aa.RateLimitError(`Rate limited: ${n}`)}}catch(c){if(c instanceof SyntaxError&&(0,la.debug)(`Raw Body: ${i}`),c instanceof Aa.UsageError||c instanceof Aa.RateLimitError)throw c;if(Aa.NetworkError.isNetworkErrorCode(c?.code))throw new Aa.NetworkError(c?.code);o=!0,n=c.message}if(!o)throw new Error(`Received non-retryable error: ${n}`);if(r+1===this.maxAttempts)throw new Error(`Failed to make request after ${this.maxAttempts} attempts: ${n}`);let a=this.getExponentialRetryTimeMilliseconds(r);(0,la.info)(`Attempt ${r+1} of ${this.maxAttempts} failed with error: ${n}. Retrying request in ${a} ms...`),yield this.sleep(a),r++}throw new Error("Request failed")})}isSuccessStatusCode(e){return e?e>=200&&e<300:!1}isRetryableHttpStatusCode(e){return e?[_l.HttpCodes.BadGateway,_l.HttpCodes.GatewayTimeout,_l.HttpCodes.InternalServerError,_l.HttpCodes.ServiceUnavailable].includes(e):!1}sleep(e){return Ny(this,void 0,void 0,function*(){return new Promise(r=>setTimeout(r,e))})}getExponentialRetryTimeMilliseconds(e){if(e<0)throw new Error("attempt should be a positive integer");if(e===0)return this.baseRetryIntervalMilliseconds;let r=this.baseRetryIntervalMilliseconds*Math.pow(this.retryMultiplier,e),n=r*this.retryMultiplier;return Math.trunc(Math.random()*(n-r)+r)}};function fke(t){let e=new uR((0,uke.getUserAgentString)(),t?.maxAttempts,t?.retryIntervalMs,t?.retryMultiplier);return new gke.CacheServiceClientJSON(e)}s(fke,"internalCacheTwirpClient")});var nK=f(an=>{"use strict";var yke=an&&an.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:s(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Cke=an&&an.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),dR=an&&an.__importStar||(function(){var t=s(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i{"use strict";var xke=kt&&kt.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:s(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Rke=kt&&kt.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),ed=kt&&kt.__importStar||(function(){var t=s(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i512)throw new On(`Key Validation Error: ${t} cannot be larger than 512 characters.`);if(!/^[^,]*$/.test(t))throw new On(`Key Validation Error: ${t} cannot contain commas.`)}s(hR,"checkKey");function vke(){return(0,xy.getCacheServiceVersion)()==="v2"?!!process.env.ACTIONS_RESULTS_URL:!!process.env.ACTIONS_CACHE_URL}s(vke,"isFeatureAvailable");function Pke(t,e,r,n){return Tl(this,arguments,void 0,function*(i,o,a,c,l=!1){let A=(0,xy.getCacheServiceVersion)();return oe.debug(`Cache service version: ${A}`),sK(i),A==="v2"?yield Dke(i,o,a,c,l):yield _ke(i,o,a,c,l)})}s(Pke,"restoreCache");function _ke(t,e,r,n){return Tl(this,arguments,void 0,function*(i,o,a,c,l=!1){a=a||[];let A=[o,...a];if(oe.debug("Resolved Keys:"),oe.debug(JSON.stringify(A)),A.length>10)throw new On("Key Validation Error: Keys are limited to a maximum of 10.");for(let g of A)hR(g);let u=yield ct.getCompressionMethod(),d="";try{let g=yield Dl.getCacheEntry(A,i,{compressionMethod:u,enableCrossOsArchive:l});if(!g?.archiveLocation)return;if(c?.lookupOnly)return oe.info("Lookup only - skipping download"),g.cacheKey;d=Sy.join(yield ct.createTempDirectory(),ct.getCacheFileName(u)),oe.debug(`Archive Path: ${d}`),yield Dl.downloadCache(g.archiveLocation,d,c),oe.isDebug()&&(yield(0,io.listTar)(d,u));let y=ct.getArchiveFileSizeInBytes(d);return oe.info(`Cache Size: ~${Math.round(y/(1024*1024))} MB (${y} B)`),yield(0,io.extractTar)(d,u),oe.info("Cache restored successfully"),g.cacheKey}catch(g){let y=g;if(y.name===On.name)throw g;y instanceof Ry.HttpClientError&&typeof y.statusCode=="number"&&y.statusCode>=500?oe.error(`Failed to restore: ${g.message}`):oe.warning(`Failed to restore: ${g.message}`)}finally{try{yield ct.unlinkFile(d)}catch(g){oe.debug(`Failed to delete archive: ${g}`)}}})}s(_ke,"restoreCacheV1");function Dke(t,e,r,n){return Tl(this,arguments,void 0,function*(i,o,a,c,l=!1){c=Object.assign(Object.assign({},c),{useAzureSdk:!0}),a=a||[];let A=[o,...a];if(oe.debug("Resolved Keys:"),oe.debug(JSON.stringify(A)),A.length>10)throw new On("Key Validation Error: Keys are limited to a maximum of 10.");for(let d of A)hR(d);let u="";try{let d=iK.internalCacheTwirpClient(),g=yield ct.getCompressionMethod(),y={key:o,restoreKeys:a,version:ct.getCacheVersion(i,g,l)},B=yield d.GetCacheEntryDownloadURL(y);if(!B.ok){oe.debug(`Cache not found for version ${y.version} of keys: ${A.join(", ")}`);return}if(y.key!==B.matchedKey?oe.info(`Cache hit for restore-key: ${B.matchedKey}`):oe.info(`Cache hit for: ${B.matchedKey}`),c?.lookupOnly)return oe.info("Lookup only - skipping download"),B.matchedKey;u=Sy.join(yield ct.createTempDirectory(),ct.getCacheFileName(g)),oe.debug(`Archive path: ${u}`),oe.debug(`Starting download of archive to: ${u}`),yield Dl.downloadCache(B.signedDownloadUrl,u,c);let x=ct.getArchiveFileSizeInBytes(u);return oe.info(`Cache Size: ~${Math.round(x/(1024*1024))} MB (${x} B)`),oe.isDebug()&&(yield(0,io.listTar)(u,g)),yield(0,io.extractTar)(u,g),oe.info("Cache restored successfully"),B.matchedKey}catch(d){let g=d;if(g.name===On.name)throw d;g instanceof Ry.HttpClientError&&typeof g.statusCode=="number"&&g.statusCode>=500?oe.error(`Failed to restore: ${d.message}`):oe.warning(`Failed to restore: ${d.message}`)}finally{try{u&&(yield ct.unlinkFile(u))}catch(d){oe.debug(`Failed to delete archive: ${d}`)}}})}s(Dke,"restoreCacheV2");function Tke(t,e,r){return Tl(this,arguments,void 0,function*(n,i,o,a=!1){let c=(0,xy.getCacheServiceVersion)();return oe.debug(`Cache service version: ${c}`),sK(n),hR(i),c==="v2"?yield Mke(n,i,o,a):yield Oke(n,i,o,a)})}s(Tke,"saveCache");function Oke(t,e,r){return Tl(this,arguments,void 0,function*(n,i,o,a=!1){var c,l,A,u,d;let g=yield ct.getCompressionMethod(),y=-1,B=yield ct.resolvePaths(n);if(oe.debug("Cache Paths:"),oe.debug(`${JSON.stringify(B)}`),B.length===0)throw new Error("Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.");let w=yield ct.createTempDirectory(),x=Sy.join(w,ct.getCacheFileName(g));oe.debug(`Archive Path: ${x}`);try{yield(0,io.createTar)(w,B,g),oe.isDebug()&&(yield(0,io.listTar)(x,g));let S=10*1024*1024*1024,R=ct.getArchiveFileSizeInBytes(x);if(oe.debug(`File Size: ${R}`),R>S&&!(0,xy.isGhes)())throw new Error(`Cache size of ~${Math.round(R/(1024*1024))} MB (${R} B) is over the 10GB limit, not saving cache.`);oe.debug("Reserving Cache");let D=yield Dl.reserveCache(i,n,{compressionMethod:g,enableCrossOsArchive:a,cacheSize:R});if(!((c=D?.result)===null||c===void 0)&&c.cacheId)y=(l=D?.result)===null||l===void 0?void 0:l.cacheId;else throw D?.statusCode===400?new Error((u=(A=D?.error)===null||A===void 0?void 0:A.message)!==null&&u!==void 0?u:`Cache size of ~${Math.round(R/(1024*1024))} MB (${R} B) is over the data cap limit, not saving cache.`):new ua(`Unable to reserve cache with key ${i}, another job may be creating this cache. More details: ${(d=D?.error)===null||d===void 0?void 0:d.message}`);oe.debug(`Saving Cache (ID: ${y})`),yield Dl.saveCache(y,x,"",o)}catch(S){let R=S;if(R.name===On.name)throw S;R.name===ua.name?oe.info(`Failed to save: ${R.message}`):R instanceof Ry.HttpClientError&&typeof R.statusCode=="number"&&R.statusCode>=500?oe.error(`Failed to save: ${R.message}`):oe.warning(`Failed to save: ${R.message}`)}finally{try{yield ct.unlinkFile(x)}catch(S){oe.debug(`Failed to delete archive: ${S}`)}}return y})}s(Oke,"saveCacheV1");function Mke(t,e,r){return Tl(this,arguments,void 0,function*(n,i,o,a=!1){o=Object.assign(Object.assign({},o),{uploadChunkSize:64*1024*1024,uploadConcurrency:8,useAzureSdk:!0});let c=yield ct.getCompressionMethod(),l=iK.internalCacheTwirpClient(),A=-1,u=yield ct.resolvePaths(n);if(oe.debug("Cache Paths:"),oe.debug(`${JSON.stringify(u)}`),u.length===0)throw new Error("Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.");let d=yield ct.createTempDirectory(),g=Sy.join(d,ct.getCacheFileName(c));oe.debug(`Archive Path: ${g}`);try{yield(0,io.createTar)(d,u,c),oe.isDebug()&&(yield(0,io.listTar)(g,c));let y=ct.getArchiveFileSizeInBytes(g);oe.debug(`File Size: ${y}`),o.archiveSizeBytes=y,oe.debug("Reserving Cache");let B=ct.getCacheVersion(n,c,a),w={key:i,version:B},x;try{let D=yield l.CreateCacheEntry(w);if(!D.ok)throw D.message&&oe.warning(`Cache reservation failed: ${D.message}`),new Error(D.message||"Response was not ok");x=D.signedUploadUrl}catch(D){throw oe.debug(`Failed to reserve cache: ${D}`),new ua(`Unable to reserve cache with key ${i}, another job may be creating this cache.`)}oe.debug(`Attempting to upload cache located at: ${g}`),yield Dl.saveCache(A,g,x,o);let S={key:i,version:B,sizeBytes:`${y}`},R=yield l.FinalizeCacheEntryUpload(S);if(oe.debug(`FinalizeCacheEntryUploadResponse: ${R.ok}`),!R.ok)throw R.message?new Zu(R.message):new Error(`Unable to finalize cache with key ${i}, another job may be finalizing this cache.`);A=parseInt(R.entryId)}catch(y){let B=y;if(B.name===On.name)throw y;B.name===ua.name?oe.info(`Failed to save: ${B.message}`):B.name===Zu.name?oe.warning(B.message):B instanceof Ry.HttpClientError&&typeof B.statusCode=="number"&&B.statusCode>=500?oe.error(`Failed to save: ${B.message}`):oe.warning(`Failed to save: ${B.message}`)}finally{try{yield ct.unlinkFile(g)}catch(y){oe.debug(`Failed to delete archive: ${y}`)}}return A})}s(Mke,"saveCacheV2")});var mK=require("node:os"),gK=require("node:path"),hK=ma(oK()),vy=ma(Ht());var uK=require("node:crypto");var dK=ma(Ht()),Uke=ma(LA());var cK=require("node:path"),lK=require("node:os"),da=require("node:fs");var Lke=ma(Ht());var kke=ma(Ht());var aK=process.env.RUNNER_TEMP||(0,lK.tmpdir)(),zKe=(0,cK.join)((()=>{try{return(0,da.realpathSync)(aK)}catch{return aK}})(),"setup-bun"),AK=1024*1024*512,GKe=1e3*60*60*24*2;var Fke=1024*1024*256,$Ke=Math.min(AK,Fke);function pK(t){return`bun-${(0,uK.createHash)("sha1").update(t).digest("base64")}`}s(pK,"getCacheKey");(async()=>{let t=(0,vy.getState)("cache");t||process.exit(0);let e=JSON.parse(t);if(e.cacheEnabled&&!e.cacheHit){let r=e.bunPath,n=(0,gK.join)((0,mK.homedir)(),".bun","bun.json"),i=pK(e.url),o=[r,n];try{await(0,hK.saveCache)(o,i),process.exit(0)}catch{(0,vy.warning)("Failed to save Bun to cache.")}}})(); /*! Bundled license information: undici/lib/web/fetch/body.js: diff --git a/dist/setup/index.js b/dist/setup/index.js index fe78ec71..ee388e01 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -1,138 +1,170 @@ -var o9=Object.create;var aA=Object.defineProperty;var a9=Object.getOwnPropertyDescriptor;var c9=Object.getOwnPropertyNames;var l9=Object.getPrototypeOf,A9=Object.prototype.hasOwnProperty;var o=(t,e)=>aA(t,"name",{value:e,configurable:!0});var vd=(t,e)=>()=>(t&&(e=t(t=0)),e);var g=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Pd=(t,e)=>{for(var r in e)aA(t,r,{get:e[r],enumerable:!0})},ev=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of c9(e))!A9.call(t,i)&&i!==r&&aA(t,i,{get:()=>e[i],enumerable:!(n=a9(e,i))||n.enumerable});return t};var Ji=(t,e,r)=>(r=t!=null?o9(l9(t)):{},ev(e||!t||!t.__esModule?aA(r,"default",{value:t,enumerable:!0}):r,t)),Zt=t=>ev(aA({},"__esModule",{value:!0}),t);var Td=g(Dd=>{"use strict";Object.defineProperty(Dd,"__esModule",{value:!0});Dd.toCommandValue=u9;Dd.toCommandProperties=d9;function u9(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(u9,"toCommandValue");function d9(t){return Object.keys(t).length?{title:t.title,file:t.file,line:t.startLine,endLine:t.endLine,col:t.startColumn,endColumn:t.endColumn}:{}}o(d9,"toCommandProperties")});var iv=g(li=>{"use strict";var p9=li&&li.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),h9=li&&li.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),f9=li&&li.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i0){e+=" ";let r=!0;for(let n in this.properties)if(this.properties.hasOwnProperty(n)){let i=this.properties[n];i&&(r?r=!1:e+=",",e+=`${n}=${C9(i)}`)}}return e+=`${tv}${y9(this.message)}`,e}};function y9(t){return(0,rv.toCommandValue)(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(y9,"escapeData");function C9(t){return(0,rv.toCommandValue)(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(C9,"escapeProperty")});var av=g(Ai=>{"use strict";var E9=Ai&&Ai.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),B9=Ai&&Ai.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),MC=Ai&&Ai.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i{"use strict";Object.defineProperty(Md,"__esModule",{value:!0});Md.getProxyUrl=w9;Md.checkBypass=cv;function w9(t){let e=t.protocol==="https:";if(cv(t))return;let r=e?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY;if(r)try{return new Od(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new Od(`http://${r}`)}else return}o(w9,"getProxyUrl");function cv(t){if(!t.hostname)return!1;let e=t.hostname;if(N9(e))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let n;t.port?n=Number(t.port):t.protocol==="http:"?n=80:t.protocol==="https:"&&(n=443);let i=[t.hostname.toUpperCase()];typeof n=="number"&&i.push(`${i[0]}:${n}`);for(let s of r.split(",").map(a=>a.trim().toUpperCase()).filter(a=>a))if(s==="*"||i.some(a=>a===s||a.endsWith(`.${s}`)||s.startsWith(".")&&a.endsWith(`${s}`)))return!0;return!1}o(cv,"checkBypass");function N9(t){let e=t.toLowerCase();return e==="localhost"||e.startsWith("127.")||e.startsWith("[::1]")||e.startsWith("[0:0:0:0:0:0:0:1]")}o(N9,"isLoopbackAddress");var Od=class extends URL{static{o(this,"DecodedURL")}constructor(e,r){super(e,r),this._decodedUsername=decodeURIComponent(super.username),this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}}});var pv=g(Sa=>{"use strict";var JHe=require("net"),x9=require("tls"),kC=require("http"),Av=require("https"),S9=require("events"),VHe=require("assert"),R9=require("util");Sa.httpOverHttp=_9;Sa.httpsOverHttp=v9;Sa.httpOverHttps=P9;Sa.httpsOverHttps=D9;function _9(t){var e=new Vi(t);return e.request=kC.request,e}o(_9,"httpOverHttp");function v9(t){var e=new Vi(t);return e.request=kC.request,e.createSocket=uv,e.defaultPort=443,e}o(v9,"httpsOverHttp");function P9(t){var e=new Vi(t);return e.request=Av.request,e}o(P9,"httpOverHttps");function D9(t){var e=new Vi(t);return e.request=Av.request,e.createSocket=uv,e.defaultPort=443,e}o(D9,"httpsOverHttps");function Vi(t){var e=this;e.options=t||{},e.proxyOptions=e.options.proxy||{},e.maxSockets=e.options.maxSockets||kC.Agent.defaultMaxSockets,e.requests=[],e.sockets=[],e.on("free",o(function(n,i,s,a){for(var c=dv(i,s,a),l=0,A=e.requests.length;l=this.maxSockets){s.requests.push(a);return}s.createSocket(a,function(c){c.on("free",l),c.on("close",A),c.on("agentRemove",A),e.onSocket(c);function l(){s.emit("free",c,a)}o(l,"onFree");function A(u){s.removeSocket(c),c.removeListener("free",l),c.removeListener("close",A),c.removeListener("agentRemove",A)}o(A,"onCloseOrRemove")})},"addRequest");Vi.prototype.createSocket=o(function(e,r){var n=this,i={};n.sockets.push(i);var s=LC({},n.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1,headers:{host:e.host+":"+e.port}});e.localAddress&&(s.localAddress=e.localAddress),s.proxyAuth&&(s.headers=s.headers||{},s.headers["Proxy-Authorization"]="Basic "+new Buffer(s.proxyAuth).toString("base64")),Is("making CONNECT request");var a=n.request(s);a.useChunkedEncodingByDefault=!1,a.once("response",c),a.once("upgrade",l),a.once("connect",A),a.once("error",u),a.end();function c(d){d.upgrade=!0}o(c,"onResponse");function l(d,f,m){process.nextTick(function(){A(d,f,m)})}o(l,"onUpgrade");function A(d,f,m){if(a.removeAllListeners(),f.removeAllListeners(),d.statusCode!==200){Is("tunneling socket could not be established, statusCode=%d",d.statusCode),f.destroy();var C=new Error("tunneling socket could not be established, statusCode="+d.statusCode);C.code="ECONNRESET",e.request.emit("error",C),n.removeSocket(i);return}if(m.length>0){Is("got illegal response body from proxy"),f.destroy();var C=new Error("got illegal response body from proxy");C.code="ECONNRESET",e.request.emit("error",C),n.removeSocket(i);return}return Is("tunneling connection has established"),n.sockets[n.sockets.indexOf(i)]=f,r(f)}o(A,"onConnect");function u(d){a.removeAllListeners(),Is(`tunneling socket could not be established, cause=%s -`,d.message,d.stack);var f=new Error("tunneling socket could not be established, cause="+d.message);f.code="ECONNRESET",e.request.emit("error",f),n.removeSocket(i)}o(u,"onError")},"createSocket");Vi.prototype.removeSocket=o(function(e){var r=this.sockets.indexOf(e);if(r!==-1){this.sockets.splice(r,1);var n=this.requests.shift();n&&this.createSocket(n,function(i){n.request.onSocket(i)})}},"removeSocket");function uv(t,e){var r=this;Vi.prototype.createSocket.call(r,t,function(n){var i=t.request.getHeader("host"),s=LC({},r.options,{socket:n,servername:i?i.replace(/:.*$/,""):t.host}),a=x9.connect(0,s);r.sockets[r.sockets.indexOf(n)]=a,e(a)})}o(uv,"createSecureSocket");function dv(t,e,r){return typeof t=="string"?{host:t,port:e,localAddress:r}:t}o(dv,"toOptions");function LC(t){for(var e=1,r=arguments.length;e{hv.exports=pv()});var nt=g((XHe,mv)=>{mv.exports={kClose:Symbol("close"),kDestroy:Symbol("destroy"),kDispatch:Symbol("dispatch"),kUrl:Symbol("url"),kWriting:Symbol("writing"),kResuming:Symbol("resuming"),kQueue:Symbol("queue"),kConnect:Symbol("connect"),kConnecting:Symbol("connecting"),kKeepAliveDefaultTimeout:Symbol("default keep alive timeout"),kKeepAliveMaxTimeout:Symbol("max keep alive timeout"),kKeepAliveTimeoutThreshold:Symbol("keep alive timeout threshold"),kKeepAliveTimeoutValue:Symbol("keep alive timeout"),kKeepAlive:Symbol("keep alive"),kHeadersTimeout:Symbol("headers timeout"),kBodyTimeout:Symbol("body timeout"),kServerName:Symbol("server name"),kLocalAddress:Symbol("local address"),kHost:Symbol("host"),kNoRef:Symbol("no ref"),kBodyUsed:Symbol("used"),kBody:Symbol("abstracted request body"),kRunning:Symbol("running"),kBlocking:Symbol("blocking"),kPending:Symbol("pending"),kSize:Symbol("size"),kBusy:Symbol("busy"),kQueued:Symbol("queued"),kFree:Symbol("free"),kConnected:Symbol("connected"),kClosed:Symbol("closed"),kNeedDrain:Symbol("need drain"),kReset:Symbol("reset"),kDestroyed:Symbol.for("nodejs.stream.destroyed"),kResume:Symbol("resume"),kOnError:Symbol("on error"),kMaxHeadersSize:Symbol("max headers size"),kRunningIdx:Symbol("running index"),kPendingIdx:Symbol("pending index"),kError:Symbol("error"),kClients:Symbol("clients"),kClient:Symbol("client"),kParser:Symbol("parser"),kOnDestroyed:Symbol("destroy callbacks"),kPipelining:Symbol("pipelining"),kSocket:Symbol("socket"),kHostHeader:Symbol("host header"),kConnector:Symbol("connector"),kStrictContentLength:Symbol("strict content length"),kMaxRedirections:Symbol("maxRedirections"),kMaxRequests:Symbol("maxRequestsPerClient"),kProxy:Symbol("proxy agent options"),kCounter:Symbol("socket request counter"),kInterceptors:Symbol("dispatch interceptors"),kMaxResponseSize:Symbol("max response size"),kHTTP2Session:Symbol("http2Session"),kHTTP2SessionState:Symbol("http2Session state"),kRetryHandlerDefaultRetry:Symbol("retry agent default retry"),kConstruct:Symbol("constructable"),kListeners:Symbol("listeners"),kHTTPContext:Symbol("http context"),kMaxConcurrentStreams:Symbol("max concurrent streams"),kNoProxyAgent:Symbol("no proxy agent"),kHttpProxyAgent:Symbol("http proxy agent"),kHttpsProxyAgent:Symbol("https proxy agent")}});var Pe=g((ZHe,Fv)=>{"use strict";var gv=Symbol.for("undici.error.UND_ERR"),At=class extends Error{static{o(this,"UndiciError")}constructor(e){super(e),this.name="UndiciError",this.code="UND_ERR"}static[Symbol.hasInstance](e){return e&&e[gv]===!0}[gv]=!0},yv=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT"),UC=class extends At{static{o(this,"ConnectTimeoutError")}constructor(e){super(e),this.name="ConnectTimeoutError",this.message=e||"Connect Timeout Error",this.code="UND_ERR_CONNECT_TIMEOUT"}static[Symbol.hasInstance](e){return e&&e[yv]===!0}[yv]=!0},Cv=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT"),FC=class extends At{static{o(this,"HeadersTimeoutError")}constructor(e){super(e),this.name="HeadersTimeoutError",this.message=e||"Headers Timeout Error",this.code="UND_ERR_HEADERS_TIMEOUT"}static[Symbol.hasInstance](e){return e&&e[Cv]===!0}[Cv]=!0},Ev=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW"),qC=class extends At{static{o(this,"HeadersOverflowError")}constructor(e){super(e),this.name="HeadersOverflowError",this.message=e||"Headers Overflow Error",this.code="UND_ERR_HEADERS_OVERFLOW"}static[Symbol.hasInstance](e){return e&&e[Ev]===!0}[Ev]=!0},Bv=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT"),HC=class extends At{static{o(this,"BodyTimeoutError")}constructor(e){super(e),this.name="BodyTimeoutError",this.message=e||"Body Timeout Error",this.code="UND_ERR_BODY_TIMEOUT"}static[Symbol.hasInstance](e){return e&&e[Bv]===!0}[Bv]=!0},Iv=Symbol.for("undici.error.UND_ERR_RESPONSE_STATUS_CODE"),zC=class extends At{static{o(this,"ResponseStatusCodeError")}constructor(e,r,n,i){super(e),this.name="ResponseStatusCodeError",this.message=e||"Response Status Code Error",this.code="UND_ERR_RESPONSE_STATUS_CODE",this.body=i,this.status=r,this.statusCode=r,this.headers=n}static[Symbol.hasInstance](e){return e&&e[Iv]===!0}[Iv]=!0},bv=Symbol.for("undici.error.UND_ERR_INVALID_ARG"),jC=class extends At{static{o(this,"InvalidArgumentError")}constructor(e){super(e),this.name="InvalidArgumentError",this.message=e||"Invalid Argument Error",this.code="UND_ERR_INVALID_ARG"}static[Symbol.hasInstance](e){return e&&e[bv]===!0}[bv]=!0},Qv=Symbol.for("undici.error.UND_ERR_INVALID_RETURN_VALUE"),GC=class extends At{static{o(this,"InvalidReturnValueError")}constructor(e){super(e),this.name="InvalidReturnValueError",this.message=e||"Invalid Return Value Error",this.code="UND_ERR_INVALID_RETURN_VALUE"}static[Symbol.hasInstance](e){return e&&e[Qv]===!0}[Qv]=!0},wv=Symbol.for("undici.error.UND_ERR_ABORT"),kd=class extends At{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError",this.message=e||"The operation was aborted",this.code="UND_ERR_ABORT"}static[Symbol.hasInstance](e){return e&&e[wv]===!0}[wv]=!0},Nv=Symbol.for("undici.error.UND_ERR_ABORTED"),YC=class extends kd{static{o(this,"RequestAbortedError")}constructor(e){super(e),this.name="AbortError",this.message=e||"Request aborted",this.code="UND_ERR_ABORTED"}static[Symbol.hasInstance](e){return e&&e[Nv]===!0}[Nv]=!0},xv=Symbol.for("undici.error.UND_ERR_INFO"),JC=class extends At{static{o(this,"InformationalError")}constructor(e){super(e),this.name="InformationalError",this.message=e||"Request information",this.code="UND_ERR_INFO"}static[Symbol.hasInstance](e){return e&&e[xv]===!0}[xv]=!0},Sv=Symbol.for("undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"),VC=class extends At{static{o(this,"RequestContentLengthMismatchError")}constructor(e){super(e),this.name="RequestContentLengthMismatchError",this.message=e||"Request body length does not match content-length header",this.code="UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](e){return e&&e[Sv]===!0}[Sv]=!0},Rv=Symbol.for("undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH"),WC=class extends At{static{o(this,"ResponseContentLengthMismatchError")}constructor(e){super(e),this.name="ResponseContentLengthMismatchError",this.message=e||"Response body length does not match content-length header",this.code="UND_ERR_RES_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](e){return e&&e[Rv]===!0}[Rv]=!0},_v=Symbol.for("undici.error.UND_ERR_DESTROYED"),$C=class extends At{static{o(this,"ClientDestroyedError")}constructor(e){super(e),this.name="ClientDestroyedError",this.message=e||"The client is destroyed",this.code="UND_ERR_DESTROYED"}static[Symbol.hasInstance](e){return e&&e[_v]===!0}[_v]=!0},vv=Symbol.for("undici.error.UND_ERR_CLOSED"),KC=class extends At{static{o(this,"ClientClosedError")}constructor(e){super(e),this.name="ClientClosedError",this.message=e||"The client is closed",this.code="UND_ERR_CLOSED"}static[Symbol.hasInstance](e){return e&&e[vv]===!0}[vv]=!0},Pv=Symbol.for("undici.error.UND_ERR_SOCKET"),XC=class extends At{static{o(this,"SocketError")}constructor(e,r){super(e),this.name="SocketError",this.message=e||"Socket error",this.code="UND_ERR_SOCKET",this.socket=r}static[Symbol.hasInstance](e){return e&&e[Pv]===!0}[Pv]=!0},Dv=Symbol.for("undici.error.UND_ERR_NOT_SUPPORTED"),ZC=class extends At{static{o(this,"NotSupportedError")}constructor(e){super(e),this.name="NotSupportedError",this.message=e||"Not supported error",this.code="UND_ERR_NOT_SUPPORTED"}static[Symbol.hasInstance](e){return e&&e[Dv]===!0}[Dv]=!0},Tv=Symbol.for("undici.error.UND_ERR_BPL_MISSING_UPSTREAM"),eE=class extends At{static{o(this,"BalancedPoolMissingUpstreamError")}constructor(e){super(e),this.name="MissingUpstreamError",this.message=e||"No upstream has been added to the BalancedPool",this.code="UND_ERR_BPL_MISSING_UPSTREAM"}static[Symbol.hasInstance](e){return e&&e[Tv]===!0}[Tv]=!0},Ov=Symbol.for("undici.error.UND_ERR_HTTP_PARSER"),tE=class extends Error{static{o(this,"HTTPParserError")}constructor(e,r,n){super(e),this.name="HTTPParserError",this.code=r?`HPE_${r}`:void 0,this.data=n?n.toString():void 0}static[Symbol.hasInstance](e){return e&&e[Ov]===!0}[Ov]=!0},Mv=Symbol.for("undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE"),rE=class extends At{static{o(this,"ResponseExceededMaxSizeError")}constructor(e){super(e),this.name="ResponseExceededMaxSizeError",this.message=e||"Response content exceeded max size",this.code="UND_ERR_RES_EXCEEDED_MAX_SIZE"}static[Symbol.hasInstance](e){return e&&e[Mv]===!0}[Mv]=!0},kv=Symbol.for("undici.error.UND_ERR_REQ_RETRY"),nE=class extends At{static{o(this,"RequestRetryError")}constructor(e,r,{headers:n,data:i}){super(e),this.name="RequestRetryError",this.message=e||"Request retry error",this.code="UND_ERR_REQ_RETRY",this.statusCode=r,this.data=i,this.headers=n}static[Symbol.hasInstance](e){return e&&e[kv]===!0}[kv]=!0},Lv=Symbol.for("undici.error.UND_ERR_RESPONSE"),iE=class extends At{static{o(this,"ResponseError")}constructor(e,r,{headers:n,data:i}){super(e),this.name="ResponseError",this.message=e||"Response error",this.code="UND_ERR_RESPONSE",this.statusCode=r,this.data=i,this.headers=n}static[Symbol.hasInstance](e){return e&&e[Lv]===!0}[Lv]=!0},Uv=Symbol.for("undici.error.UND_ERR_PRX_TLS"),sE=class extends At{static{o(this,"SecureProxyConnectionError")}constructor(e,r,n){super(r,{cause:e,...n??{}}),this.name="SecureProxyConnectionError",this.message=r||"Secure Proxy Connection failed",this.code="UND_ERR_PRX_TLS",this.cause=e}static[Symbol.hasInstance](e){return e&&e[Uv]===!0}[Uv]=!0};Fv.exports={AbortError:kd,HTTPParserError:tE,UndiciError:At,HeadersTimeoutError:FC,HeadersOverflowError:qC,BodyTimeoutError:HC,RequestContentLengthMismatchError:VC,ConnectTimeoutError:UC,ResponseStatusCodeError:zC,InvalidArgumentError:jC,InvalidReturnValueError:GC,RequestAbortedError:YC,ClientDestroyedError:$C,ClientClosedError:KC,InformationalError:JC,SocketError:XC,NotSupportedError:ZC,ResponseContentLengthMismatchError:WC,BalancedPoolMissingUpstreamError:eE,ResponseExceededMaxSizeError:rE,RequestRetryError:nE,ResponseError:iE,SecureProxyConnectionError:sE}});var Ud=g((t2e,qv)=>{"use strict";var Ld={},oE=["Accept","Accept-Encoding","Accept-Language","Accept-Ranges","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Age","Allow","Alt-Svc","Alt-Used","Authorization","Cache-Control","Clear-Site-Data","Connection","Content-Disposition","Content-Encoding","Content-Language","Content-Length","Content-Location","Content-Range","Content-Security-Policy","Content-Security-Policy-Report-Only","Content-Type","Cookie","Cross-Origin-Embedder-Policy","Cross-Origin-Opener-Policy","Cross-Origin-Resource-Policy","Date","Device-Memory","Downlink","ECT","ETag","Expect","Expect-CT","Expires","Forwarded","From","Host","If-Match","If-Modified-Since","If-None-Match","If-Range","If-Unmodified-Since","Keep-Alive","Last-Modified","Link","Location","Max-Forwards","Origin","Permissions-Policy","Pragma","Proxy-Authenticate","Proxy-Authorization","RTT","Range","Referer","Referrer-Policy","Refresh","Retry-After","Sec-WebSocket-Accept","Sec-WebSocket-Extensions","Sec-WebSocket-Key","Sec-WebSocket-Protocol","Sec-WebSocket-Version","Server","Server-Timing","Service-Worker-Allowed","Service-Worker-Navigation-Preload","Set-Cookie","SourceMap","Strict-Transport-Security","Supports-Loading-Mode","TE","Timing-Allow-Origin","Trailer","Transfer-Encoding","Upgrade","Upgrade-Insecure-Requests","User-Agent","Vary","Via","WWW-Authenticate","X-Content-Type-Options","X-DNS-Prefetch-Control","X-Frame-Options","X-Permitted-Cross-Domain-Policies","X-Powered-By","X-Requested-With","X-XSS-Protection"];for(let t=0;t{"use strict";var{wellknownHeaderNames:Hv,headerNameLowerCasedRecord:T9}=Ud(),aE=class t{static{o(this,"TstNode")}value=null;left=null;middle=null;right=null;code;constructor(e,r,n){if(n===void 0||n>=e.length)throw new TypeError("Unreachable");if((this.code=e.charCodeAt(n))>127)throw new TypeError("key must be ascii string");e.length!==++n?this.middle=new t(e,r,n):this.value=r}add(e,r){let n=e.length;if(n===0)throw new TypeError("Unreachable");let i=0,s=this;for(;;){let a=e.charCodeAt(i);if(a>127)throw new TypeError("key must be ascii string");if(s.code===a)if(n===++i){s.value=r;break}else if(s.middle!==null)s=s.middle;else{s.middle=new t(e,r,i);break}else if(s.code=65&&(s|=32);i!==null;){if(s===i.code){if(r===++n)return i;i=i.middle;break}i=i.code{"use strict";var cA=require("node:assert"),{kDestroyed:Jv,kBodyUsed:Ra,kListeners:cE,kBody:Yv}=nt(),{IncomingMessage:O9}=require("node:http"),zd=require("node:stream"),M9=require("node:net"),{Blob:k9}=require("node:buffer"),L9=require("node:util"),{stringify:U9}=require("node:querystring"),{EventEmitter:F9}=require("node:events"),{InvalidArgumentError:Ft}=Pe(),{headerNameLowerCasedRecord:q9}=Ud(),{tree:Vv}=Gv(),[H9,z9]=process.versions.node.split(".").map(t=>Number(t)),Hd=class{static{o(this,"BodyAsyncIterable")}constructor(e){this[Yv]=e,this[Ra]=!1}async*[Symbol.asyncIterator](){cA(!this[Ra],"disturbed"),this[Ra]=!0,yield*this[Yv]}};function j9(t){return jd(t)?(Zv(t)===0&&t.on("data",function(){cA(!1)}),typeof t.readableDidRead!="boolean"&&(t[Ra]=!1,F9.prototype.on.call(t,"data",function(){this[Ra]=!0})),t):t&&typeof t.pipeTo=="function"?new Hd(t):t&&typeof t!="string"&&!ArrayBuffer.isView(t)&&Xv(t)?new Hd(t):t}o(j9,"wrapRequestBody");function G9(){}o(G9,"nop");function jd(t){return t&&typeof t=="object"&&typeof t.pipe=="function"&&typeof t.on=="function"}o(jd,"isStream");function Wv(t){if(t===null)return!1;if(t instanceof k9)return!0;if(typeof t!="object")return!1;{let e=t[Symbol.toStringTag];return(e==="Blob"||e==="File")&&("stream"in t&&typeof t.stream=="function"||"arrayBuffer"in t&&typeof t.arrayBuffer=="function")}}o(Wv,"isBlobLike");function Y9(t,e){if(t.includes("?")||t.includes("#"))throw new Error('Query params cannot be passed when url already contains "?" or "#".');let r=U9(e);return r&&(t+="?"+r),t}o(Y9,"buildURL");function $v(t){let e=parseInt(t,10);return e===Number(t)&&e>=0&&e<=65535}o($v,"isValidPort");function qd(t){return t!=null&&t[0]==="h"&&t[1]==="t"&&t[2]==="t"&&t[3]==="p"&&(t[4]===":"||t[4]==="s"&&t[5]===":")}o(qd,"isHttpOrHttpsPrefixed");function Kv(t){if(typeof t=="string"){if(t=new URL(t),!qd(t.origin||t.protocol))throw new Ft("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}if(!t||typeof t!="object")throw new Ft("Invalid URL: The URL argument must be a non-null object.");if(!(t instanceof URL)){if(t.port!=null&&t.port!==""&&$v(t.port)===!1)throw new Ft("Invalid URL: port must be a valid integer or a string representation of an integer.");if(t.path!=null&&typeof t.path!="string")throw new Ft("Invalid URL path: the path must be a string or null/undefined.");if(t.pathname!=null&&typeof t.pathname!="string")throw new Ft("Invalid URL pathname: the pathname must be a string or null/undefined.");if(t.hostname!=null&&typeof t.hostname!="string")throw new Ft("Invalid URL hostname: the hostname must be a string or null/undefined.");if(t.origin!=null&&typeof t.origin!="string")throw new Ft("Invalid URL origin: the origin must be a string or null/undefined.");if(!qd(t.origin||t.protocol))throw new Ft("Invalid URL protocol: the URL must start with `http:` or `https:`.");let e=t.port!=null?t.port:t.protocol==="https:"?443:80,r=t.origin!=null?t.origin:`${t.protocol||""}//${t.hostname||""}:${e}`,n=t.path!=null?t.path:`${t.pathname||""}${t.search||""}`;return r[r.length-1]==="/"&&(r=r.slice(0,r.length-1)),n&&n[0]!=="/"&&(n=`/${n}`),new URL(`${r}${n}`)}if(!qd(t.origin||t.protocol))throw new Ft("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}o(Kv,"parseURL");function J9(t){if(t=Kv(t),t.pathname!=="/"||t.search||t.hash)throw new Ft("invalid url");return t}o(J9,"parseOrigin");function V9(t){if(t[0]==="["){let r=t.indexOf("]");return cA(r!==-1),t.substring(1,r)}let e=t.indexOf(":");return e===-1?t:t.substring(0,e)}o(V9,"getHostname");function W9(t){if(!t)return null;cA(typeof t=="string");let e=V9(t);return M9.isIP(e)?"":e}o(W9,"getServerName");function $9(t){return JSON.parse(JSON.stringify(t))}o($9,"deepClone");function K9(t){return t!=null&&typeof t[Symbol.asyncIterator]=="function"}o(K9,"isAsyncIterable");function Xv(t){return t!=null&&(typeof t[Symbol.iterator]=="function"||typeof t[Symbol.asyncIterator]=="function")}o(Xv,"isIterable");function Zv(t){if(t==null)return 0;if(jd(t)){let e=t._readableState;return e&&e.objectMode===!1&&e.ended===!0&&Number.isFinite(e.length)?e.length:null}else{if(Wv(t))return t.size!=null?t.size:null;if(rP(t))return t.byteLength}return null}o(Zv,"bodyLength");function eP(t){return t&&!!(t.destroyed||t[Jv]||zd.isDestroyed?.(t))}o(eP,"isDestroyed");function X9(t,e){t==null||!jd(t)||eP(t)||(typeof t.destroy=="function"?(Object.getPrototypeOf(t).constructor===O9&&(t.socket=null),t.destroy(e)):e&&queueMicrotask(()=>{t.emit("error",e)}),t.destroyed!==!0&&(t[Jv]=!0))}o(X9,"destroy");var Z9=/timeout=(\d+)/;function eX(t){let e=t.toString().match(Z9);return e?parseInt(e[1],10)*1e3:null}o(eX,"parseKeepAliveTimeout");function tP(t){return typeof t=="string"?q9[t]??t.toLowerCase():Vv.lookup(t)??t.toString("latin1").toLowerCase()}o(tP,"headerNameToString");function tX(t){return Vv.lookup(t)??t.toString("latin1").toLowerCase()}o(tX,"bufferToLowerCasedHeaderName");function rX(t,e){e===void 0&&(e={});for(let r=0;ra.toString("utf8")):s.toString("utf8")}}return"content-length"in e&&"content-disposition"in e&&(e["content-disposition"]=Buffer.from(e["content-disposition"]).toString("latin1")),e}o(rX,"parseHeaders");function nX(t){let e=t.length,r=new Array(e),n=!1,i=-1,s,a,c=0;for(let l=0;l{r.close(),r.byobRequest?.respond(0)});else{let s=Buffer.isBuffer(i)?i:Buffer.from(i);s.byteLength&&r.enqueue(new Uint8Array(s))}return r.desiredSize>0},async cancel(r){await e.return()},type:"bytes"})}o(lX,"ReadableStreamFrom");function AX(t){return t&&typeof t=="object"&&typeof t.append=="function"&&typeof t.delete=="function"&&typeof t.get=="function"&&typeof t.getAll=="function"&&typeof t.has=="function"&&typeof t.set=="function"&&t[Symbol.toStringTag]==="FormData"}o(AX,"isFormDataLike");function uX(t,e){return"addEventListener"in t?(t.addEventListener("abort",e,{once:!0}),()=>t.removeEventListener("abort",e)):(t.addListener("abort",e),()=>t.removeListener("abort",e))}o(uX,"addAbortListener");var dX=typeof String.prototype.toWellFormed=="function",pX=typeof String.prototype.isWellFormed=="function";function nP(t){return dX?`${t}`.toWellFormed():L9.toUSVString(t)}o(nP,"toUSVString");function hX(t){return pX?`${t}`.isWellFormed():nP(t)===`${t}`}o(hX,"isUSVString");function iP(t){switch(t){case 34:case 40:case 41:case 44:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 123:case 125:return!1;default:return t>=33&&t<=126}}o(iP,"isTokenCharCode");function fX(t){if(t.length===0)return!1;for(let e=0;e{"use strict";var Me=require("node:diagnostics_channel"),uE=require("node:util"),Gd=uE.debuglog("undici"),AE=uE.debuglog("fetch"),Bo=uE.debuglog("websocket"),cP=!1,IX={beforeConnect:Me.channel("undici:client:beforeConnect"),connected:Me.channel("undici:client:connected"),connectError:Me.channel("undici:client:connectError"),sendHeaders:Me.channel("undici:client:sendHeaders"),create:Me.channel("undici:request:create"),bodySent:Me.channel("undici:request:bodySent"),headers:Me.channel("undici:request:headers"),trailers:Me.channel("undici:request:trailers"),error:Me.channel("undici:request:error"),open:Me.channel("undici:websocket:open"),close:Me.channel("undici:websocket:close"),socketError:Me.channel("undici:websocket:socket_error"),ping:Me.channel("undici:websocket:ping"),pong:Me.channel("undici:websocket:pong")};if(Gd.enabled||AE.enabled){let t=AE.enabled?AE:Gd;Me.channel("undici:client:beforeConnect").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:i,host:s}}=e;t("connecting to %s using %s%s",`${s}${i?`:${i}`:""}`,n,r)}),Me.channel("undici:client:connected").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:i,host:s}}=e;t("connected to %s using %s%s",`${s}${i?`:${i}`:""}`,n,r)}),Me.channel("undici:client:connectError").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:i,host:s},error:a}=e;t("connection to %s using %s%s errored - %s",`${s}${i?`:${i}`:""}`,n,r,a.message)}),Me.channel("undici:client:sendHeaders").subscribe(e=>{let{request:{method:r,path:n,origin:i}}=e;t("sending request to %s %s/%s",r,i,n)}),Me.channel("undici:request:headers").subscribe(e=>{let{request:{method:r,path:n,origin:i},response:{statusCode:s}}=e;t("received response to %s %s/%s - HTTP %d",r,i,n,s)}),Me.channel("undici:request:trailers").subscribe(e=>{let{request:{method:r,path:n,origin:i}}=e;t("trailers received from %s %s/%s",r,i,n)}),Me.channel("undici:request:error").subscribe(e=>{let{request:{method:r,path:n,origin:i},error:s}=e;t("request to %s %s/%s errored - %s",r,i,n,s.message)}),cP=!0}if(Bo.enabled){if(!cP){let t=Gd.enabled?Gd:Bo;Me.channel("undici:client:beforeConnect").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:i,host:s}}=e;t("connecting to %s%s using %s%s",s,i?`:${i}`:"",n,r)}),Me.channel("undici:client:connected").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:i,host:s}}=e;t("connected to %s%s using %s%s",s,i?`:${i}`:"",n,r)}),Me.channel("undici:client:connectError").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:i,host:s},error:a}=e;t("connection to %s%s using %s%s errored - %s",s,i?`:${i}`:"",n,r,a.message)}),Me.channel("undici:client:sendHeaders").subscribe(e=>{let{request:{method:r,path:n,origin:i}}=e;t("sending request to %s %s/%s",r,i,n)})}Me.channel("undici:websocket:open").subscribe(t=>{let{address:{address:e,port:r}}=t;Bo("connection opened %s%s",e,r?`:${r}`:"")}),Me.channel("undici:websocket:close").subscribe(t=>{let{websocket:e,code:r,reason:n}=t;Bo("closed connection to %s - %s %s",e.url,r,n)}),Me.channel("undici:websocket:socket_error").subscribe(t=>{Bo("connection errored - %s",t.message)}),Me.channel("undici:websocket:ping").subscribe(t=>{Bo("ping received")}),Me.channel("undici:websocket:pong").subscribe(t=>{Bo("pong received")})}lP.exports={channels:IX}});var hP=g((a2e,pP)=>{"use strict";var{InvalidArgumentError:ut,NotSupportedError:bX}=Pe(),Wi=require("node:assert"),{isValidHTTPToken:dP,isValidHeaderValue:AP,isStream:QX,destroy:wX,isBuffer:NX,isFormDataLike:xX,isIterable:SX,isBlobLike:RX,buildURL:_X,validateHandler:vX,getServerName:PX,normalizedMethodRecords:DX}=Ee(),{channels:ui}=_a(),{headerNameLowerCasedRecord:uP}=Ud(),TX=/[^\u0021-\u00ff]/,dn=Symbol("handler"),dE=class{static{o(this,"Request")}constructor(e,{path:r,method:n,body:i,headers:s,query:a,idempotent:c,blocking:l,upgrade:A,headersTimeout:u,bodyTimeout:d,reset:f,throwOnError:m,expectContinue:C,servername:Q},S){if(typeof r!="string")throw new ut("path must be a string");if(r[0]!=="/"&&!(r.startsWith("http://")||r.startsWith("https://"))&&n!=="CONNECT")throw new ut("path must be an absolute URL or start with a slash");if(TX.test(r))throw new ut("invalid request path");if(typeof n!="string")throw new ut("method must be a string");if(DX[n]===void 0&&!dP(n))throw new ut("invalid request method");if(A&&typeof A!="string")throw new ut("upgrade must be a string");if(u!=null&&(!Number.isFinite(u)||u<0))throw new ut("invalid headersTimeout");if(d!=null&&(!Number.isFinite(d)||d<0))throw new ut("invalid bodyTimeout");if(f!=null&&typeof f!="boolean")throw new ut("invalid reset");if(C!=null&&typeof C!="boolean")throw new ut("invalid expectContinue");if(this.headersTimeout=u,this.bodyTimeout=d,this.throwOnError=m===!0,this.method=n,this.abort=null,i==null)this.body=null;else if(QX(i)){this.body=i;let w=this.body._readableState;(!w||!w.autoDestroy)&&(this.endHandler=o(function(){wX(this)},"autoDestroy"),this.body.on("end",this.endHandler)),this.errorHandler=R=>{this.abort?this.abort(R):this.error=R},this.body.on("error",this.errorHandler)}else if(NX(i))this.body=i.byteLength?i:null;else if(ArrayBuffer.isView(i))this.body=i.buffer.byteLength?Buffer.from(i.buffer,i.byteOffset,i.byteLength):null;else if(i instanceof ArrayBuffer)this.body=i.byteLength?Buffer.from(i):null;else if(typeof i=="string")this.body=i.length?Buffer.from(i):null;else if(xX(i)||SX(i)||RX(i))this.body=i;else throw new ut("body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable");if(this.completed=!1,this.aborted=!1,this.upgrade=A||null,this.path=a?_X(r,a):r,this.origin=e,this.idempotent=c??(n==="HEAD"||n==="GET"),this.blocking=l??!1,this.reset=f??null,this.host=null,this.contentLength=null,this.contentType=null,this.headers=[],this.expectContinue=C??!1,Array.isArray(s)){if(s.length%2!==0)throw new ut("headers array must be even");for(let w=0;w{"use strict";var OX=require("node:events"),Jd=class extends OX{static{o(this,"Dispatcher")}dispatch(){throw new Error("not implemented")}close(){throw new Error("not implemented")}destroy(){throw new Error("not implemented")}compose(...e){let r=Array.isArray(e[0])?e[0]:e,n=this.dispatch.bind(this);for(let i of r)if(i!=null){if(typeof i!="function")throw new TypeError(`invalid interceptor, expected function received ${typeof i}`);if(n=i(n),n==null||typeof n!="function"||n.length!==2)throw new TypeError("invalid interceptor")}return new pE(this,n)}},pE=class extends Jd{static{o(this,"ComposedDispatcher")}#e=null;#t=null;constructor(e,r){super(),this.#e=e,this.#t=r}dispatch(...e){this.#t(...e)}close(...e){return this.#e.close(...e)}destroy(...e){return this.#e.destroy(...e)}};fP.exports=Jd});var Ta=g((u2e,mP)=>{"use strict";var MX=lA(),{ClientDestroyedError:hE,ClientClosedError:kX,InvalidArgumentError:va}=Pe(),{kDestroy:LX,kClose:UX,kClosed:AA,kDestroyed:Pa,kDispatch:fE,kInterceptors:Io}=nt(),$i=Symbol("onDestroyed"),Da=Symbol("onClosed"),Vd=Symbol("Intercepted Dispatch"),mE=class extends MX{static{o(this,"DispatcherBase")}constructor(){super(),this[Pa]=!1,this[$i]=null,this[AA]=!1,this[Da]=[]}get destroyed(){return this[Pa]}get closed(){return this[AA]}get interceptors(){return this[Io]}set interceptors(e){if(e){for(let r=e.length-1;r>=0;r--)if(typeof this[Io][r]!="function")throw new va("interceptor must be an function")}this[Io]=e}close(e){if(e===void 0)return new Promise((n,i)=>{this.close((s,a)=>s?i(s):n(a))});if(typeof e!="function")throw new va("invalid callback");if(this[Pa]){queueMicrotask(()=>e(new hE,null));return}if(this[AA]){this[Da]?this[Da].push(e):queueMicrotask(()=>e(null,null));return}this[AA]=!0,this[Da].push(e);let r=o(()=>{let n=this[Da];this[Da]=null;for(let i=0;ithis.destroy()).then(()=>{queueMicrotask(r)})}destroy(e,r){if(typeof e=="function"&&(r=e,e=null),r===void 0)return new Promise((i,s)=>{this.destroy(e,(a,c)=>a?s(a):i(c))});if(typeof r!="function")throw new va("invalid callback");if(this[Pa]){this[$i]?this[$i].push(r):queueMicrotask(()=>r(null,null));return}e||(e=new hE),this[Pa]=!0,this[$i]=this[$i]||[],this[$i].push(r);let n=o(()=>{let i=this[$i];this[$i]=null;for(let s=0;s{queueMicrotask(n)})}[Vd](e,r){if(!this[Io]||this[Io].length===0)return this[Vd]=this[fE],this[fE](e,r);let n=this[fE].bind(this);for(let i=this[Io].length-1;i>=0;i--)n=this[Io][i](n);return this[Vd]=n,n(e,r)}dispatch(e,r){if(!r||typeof r!="object")throw new va("handler must be an object");try{if(!e||typeof e!="object")throw new va("opts must be an object.");if(this[Pa]||this[$i])throw new hE;if(this[AA])throw new kX;return this[Vd](e,r)}catch(n){if(typeof r.onError!="function")throw new va("invalid onError method");return r.onError(n),!1}}};mP.exports=mE});var bE=g((p2e,EP)=>{"use strict";var Oa=0,gE=1e3,yE=(gE>>1)-1,Ki,CE=Symbol("kFastTimer"),Xi=[],EE=-2,BE=-1,yP=0,gP=1;function IE(){Oa+=yE;let t=0,e=Xi.length;for(;t=r._idleStart+r._idleTimeout&&(r._state=BE,r._idleStart=-1,r._onTimeout(r._timerArg)),r._state===BE?(r._state=EE,--e!==0&&(Xi[t]=Xi[e])):++t}Xi.length=e,Xi.length!==0&&CP()}o(IE,"onTick");function CP(){Ki?Ki.refresh():(clearTimeout(Ki),Ki=setTimeout(IE,yE),Ki.unref&&Ki.unref())}o(CP,"refreshTimeout");var Wd=class{static{o(this,"FastTimer")}[CE]=!0;_state=EE;_idleTimeout=-1;_idleStart=-1;_onTimeout;_timerArg;constructor(e,r,n){this._onTimeout=e,this._idleTimeout=r,this._timerArg=n,this.refresh()}refresh(){this._state===EE&&Xi.push(this),(!Ki||Xi.length===1)&&CP(),this._state=yP}clear(){this._state=BE,this._idleStart=-1}};EP.exports={setTimeout(t,e,r){return e<=gE?setTimeout(t,e,r):new Wd(t,e,r)},clearTimeout(t){t[CE]?t.clear():clearTimeout(t)},setFastTimeout(t,e,r){return new Wd(t,e,r)},clearFastTimeout(t){t.clear()},now(){return Oa},tick(t=0){Oa+=t-gE+1,IE(),IE()},reset(){Oa=0,Xi.length=0,clearTimeout(Ki),Ki=null},kFastTimer:CE}});var uA=g((g2e,wP)=>{"use strict";var FX=require("node:net"),BP=require("node:assert"),QP=Ee(),{InvalidArgumentError:qX,ConnectTimeoutError:HX}=Pe(),$d=bE();function IP(){}o(IP,"noop");var QE,wE;global.FinalizationRegistry&&!(process.env.NODE_V8_COVERAGE||process.env.UNDICI_NO_FG)?wE=class{static{o(this,"WeakSessionCache")}constructor(e){this._maxCachedSessions=e,this._sessionCache=new Map,this._sessionRegistry=new global.FinalizationRegistry(r=>{if(this._sessionCache.size=this._maxCachedSessions){let{value:n}=this._sessionCache.keys().next();this._sessionCache.delete(n)}this._sessionCache.set(e,r)}}};function zX({allowH2:t,maxCachedSessions:e,socketPath:r,timeout:n,session:i,...s}){if(e!=null&&(!Number.isInteger(e)||e<0))throw new qX("maxCachedSessions must be a positive integer or zero");let a={path:r,...s},c=new wE(e??100);return n=n??1e4,t=t??!1,o(function({hostname:A,host:u,protocol:d,port:f,servername:m,localAddress:C,httpSocket:Q},S){let w;if(d==="https:"){QE||(QE=require("node:tls")),m=m||a.servername||QP.getServerName(u)||null;let T=m||A;BP(T);let L=i||c.get(T)||null;f=f||443,w=QE.connect({highWaterMark:16384,...a,servername:m,session:L,localAddress:C,ALPNProtocols:t?["http/1.1","h2"]:["http/1.1"],socket:Q,port:f,host:A}),w.on("session",function(W){c.set(T,W)})}else BP(!Q,"httpSocket can only be sent on TLS update"),f=f||80,w=FX.connect({highWaterMark:64*1024,...a,localAddress:C,port:f,host:A});if(a.keepAlive==null||a.keepAlive){let T=a.keepAliveInitialDelay===void 0?6e4:a.keepAliveInitialDelay;w.setKeepAlive(!0,T)}let R=jX(new WeakRef(w),{timeout:n,hostname:A,port:f});return w.setNoDelay(!0).once(d==="https:"?"secureConnect":"connect",function(){if(queueMicrotask(R),S){let T=S;S=null,T(null,this)}}).on("error",function(T){if(queueMicrotask(R),S){let L=S;S=null,L(T)}}),w},"connect")}o(zX,"buildConnector");var jX=process.platform==="win32"?(t,e)=>{if(!e.timeout)return IP;let r=null,n=null,i=$d.setFastTimeout(()=>{r=setImmediate(()=>{n=setImmediate(()=>bP(t.deref(),e))})},e.timeout);return()=>{$d.clearFastTimeout(i),clearImmediate(r),clearImmediate(n)}}:(t,e)=>{if(!e.timeout)return IP;let r=null,n=$d.setFastTimeout(()=>{r=setImmediate(()=>{bP(t.deref(),e)})},e.timeout);return()=>{$d.clearFastTimeout(n),clearImmediate(r)}};function bP(t,e){if(t==null)return;let r="Connect Timeout Error";Array.isArray(t.autoSelectFamilyAttemptedAddresses)?r+=` (attempted addresses: ${t.autoSelectFamilyAttemptedAddresses.join(", ")},`:r+=` (attempted address: ${e.hostname}:${e.port},`,r+=` timeout: ${e.timeout}ms)`,QP.destroy(t,new HX(r))}o(bP,"onConnectTimeout");wP.exports=zX});var NP=g(Kd=>{"use strict";Object.defineProperty(Kd,"__esModule",{value:!0});Kd.enumToMap=void 0;function GX(t){let e={};return Object.keys(t).forEach(r=>{let n=t[r];typeof n=="number"&&(e[r]=n)}),e}o(GX,"enumToMap");Kd.enumToMap=GX});var xP=g(j=>{"use strict";Object.defineProperty(j,"__esModule",{value:!0});j.SPECIAL_HEADERS=j.HEADER_STATE=j.MINOR=j.MAJOR=j.CONNECTION_TOKEN_CHARS=j.HEADER_CHARS=j.TOKEN=j.STRICT_TOKEN=j.HEX=j.URL_CHAR=j.STRICT_URL_CHAR=j.USERINFO_CHARS=j.MARK=j.ALPHANUM=j.NUM=j.HEX_MAP=j.NUM_MAP=j.ALPHA=j.FINISH=j.H_METHOD_MAP=j.METHOD_MAP=j.METHODS_RTSP=j.METHODS_ICE=j.METHODS_HTTP=j.METHODS=j.LENIENT_FLAGS=j.FLAGS=j.TYPE=j.ERROR=void 0;var YX=NP(),JX;(function(t){t[t.OK=0]="OK",t[t.INTERNAL=1]="INTERNAL",t[t.STRICT=2]="STRICT",t[t.LF_EXPECTED=3]="LF_EXPECTED",t[t.UNEXPECTED_CONTENT_LENGTH=4]="UNEXPECTED_CONTENT_LENGTH",t[t.CLOSED_CONNECTION=5]="CLOSED_CONNECTION",t[t.INVALID_METHOD=6]="INVALID_METHOD",t[t.INVALID_URL=7]="INVALID_URL",t[t.INVALID_CONSTANT=8]="INVALID_CONSTANT",t[t.INVALID_VERSION=9]="INVALID_VERSION",t[t.INVALID_HEADER_TOKEN=10]="INVALID_HEADER_TOKEN",t[t.INVALID_CONTENT_LENGTH=11]="INVALID_CONTENT_LENGTH",t[t.INVALID_CHUNK_SIZE=12]="INVALID_CHUNK_SIZE",t[t.INVALID_STATUS=13]="INVALID_STATUS",t[t.INVALID_EOF_STATE=14]="INVALID_EOF_STATE",t[t.INVALID_TRANSFER_ENCODING=15]="INVALID_TRANSFER_ENCODING",t[t.CB_MESSAGE_BEGIN=16]="CB_MESSAGE_BEGIN",t[t.CB_HEADERS_COMPLETE=17]="CB_HEADERS_COMPLETE",t[t.CB_MESSAGE_COMPLETE=18]="CB_MESSAGE_COMPLETE",t[t.CB_CHUNK_HEADER=19]="CB_CHUNK_HEADER",t[t.CB_CHUNK_COMPLETE=20]="CB_CHUNK_COMPLETE",t[t.PAUSED=21]="PAUSED",t[t.PAUSED_UPGRADE=22]="PAUSED_UPGRADE",t[t.PAUSED_H2_UPGRADE=23]="PAUSED_H2_UPGRADE",t[t.USER=24]="USER"})(JX=j.ERROR||(j.ERROR={}));var VX;(function(t){t[t.BOTH=0]="BOTH",t[t.REQUEST=1]="REQUEST",t[t.RESPONSE=2]="RESPONSE"})(VX=j.TYPE||(j.TYPE={}));var WX;(function(t){t[t.CONNECTION_KEEP_ALIVE=1]="CONNECTION_KEEP_ALIVE",t[t.CONNECTION_CLOSE=2]="CONNECTION_CLOSE",t[t.CONNECTION_UPGRADE=4]="CONNECTION_UPGRADE",t[t.CHUNKED=8]="CHUNKED",t[t.UPGRADE=16]="UPGRADE",t[t.CONTENT_LENGTH=32]="CONTENT_LENGTH",t[t.SKIPBODY=64]="SKIPBODY",t[t.TRAILING=128]="TRAILING",t[t.TRANSFER_ENCODING=512]="TRANSFER_ENCODING"})(WX=j.FLAGS||(j.FLAGS={}));var $X;(function(t){t[t.HEADERS=1]="HEADERS",t[t.CHUNKED_LENGTH=2]="CHUNKED_LENGTH",t[t.KEEP_ALIVE=4]="KEEP_ALIVE"})($X=j.LENIENT_FLAGS||(j.LENIENT_FLAGS={}));var ne;(function(t){t[t.DELETE=0]="DELETE",t[t.GET=1]="GET",t[t.HEAD=2]="HEAD",t[t.POST=3]="POST",t[t.PUT=4]="PUT",t[t.CONNECT=5]="CONNECT",t[t.OPTIONS=6]="OPTIONS",t[t.TRACE=7]="TRACE",t[t.COPY=8]="COPY",t[t.LOCK=9]="LOCK",t[t.MKCOL=10]="MKCOL",t[t.MOVE=11]="MOVE",t[t.PROPFIND=12]="PROPFIND",t[t.PROPPATCH=13]="PROPPATCH",t[t.SEARCH=14]="SEARCH",t[t.UNLOCK=15]="UNLOCK",t[t.BIND=16]="BIND",t[t.REBIND=17]="REBIND",t[t.UNBIND=18]="UNBIND",t[t.ACL=19]="ACL",t[t.REPORT=20]="REPORT",t[t.MKACTIVITY=21]="MKACTIVITY",t[t.CHECKOUT=22]="CHECKOUT",t[t.MERGE=23]="MERGE",t[t["M-SEARCH"]=24]="M-SEARCH",t[t.NOTIFY=25]="NOTIFY",t[t.SUBSCRIBE=26]="SUBSCRIBE",t[t.UNSUBSCRIBE=27]="UNSUBSCRIBE",t[t.PATCH=28]="PATCH",t[t.PURGE=29]="PURGE",t[t.MKCALENDAR=30]="MKCALENDAR",t[t.LINK=31]="LINK",t[t.UNLINK=32]="UNLINK",t[t.SOURCE=33]="SOURCE",t[t.PRI=34]="PRI",t[t.DESCRIBE=35]="DESCRIBE",t[t.ANNOUNCE=36]="ANNOUNCE",t[t.SETUP=37]="SETUP",t[t.PLAY=38]="PLAY",t[t.PAUSE=39]="PAUSE",t[t.TEARDOWN=40]="TEARDOWN",t[t.GET_PARAMETER=41]="GET_PARAMETER",t[t.SET_PARAMETER=42]="SET_PARAMETER",t[t.REDIRECT=43]="REDIRECT",t[t.RECORD=44]="RECORD",t[t.FLUSH=45]="FLUSH"})(ne=j.METHODS||(j.METHODS={}));j.METHODS_HTTP=[ne.DELETE,ne.GET,ne.HEAD,ne.POST,ne.PUT,ne.CONNECT,ne.OPTIONS,ne.TRACE,ne.COPY,ne.LOCK,ne.MKCOL,ne.MOVE,ne.PROPFIND,ne.PROPPATCH,ne.SEARCH,ne.UNLOCK,ne.BIND,ne.REBIND,ne.UNBIND,ne.ACL,ne.REPORT,ne.MKACTIVITY,ne.CHECKOUT,ne.MERGE,ne["M-SEARCH"],ne.NOTIFY,ne.SUBSCRIBE,ne.UNSUBSCRIBE,ne.PATCH,ne.PURGE,ne.MKCALENDAR,ne.LINK,ne.UNLINK,ne.PRI,ne.SOURCE];j.METHODS_ICE=[ne.SOURCE];j.METHODS_RTSP=[ne.OPTIONS,ne.DESCRIBE,ne.ANNOUNCE,ne.SETUP,ne.PLAY,ne.PAUSE,ne.TEARDOWN,ne.GET_PARAMETER,ne.SET_PARAMETER,ne.REDIRECT,ne.RECORD,ne.FLUSH,ne.GET,ne.POST];j.METHOD_MAP=YX.enumToMap(ne);j.H_METHOD_MAP={};Object.keys(j.METHOD_MAP).forEach(t=>{/^H/.test(t)&&(j.H_METHOD_MAP[t]=j.METHOD_MAP[t])});var KX;(function(t){t[t.SAFE=0]="SAFE",t[t.SAFE_WITH_CB=1]="SAFE_WITH_CB",t[t.UNSAFE=2]="UNSAFE"})(KX=j.FINISH||(j.FINISH={}));j.ALPHA=[];for(let t=65;t<=90;t++)j.ALPHA.push(String.fromCharCode(t)),j.ALPHA.push(String.fromCharCode(t+32));j.NUM_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9};j.HEX_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15};j.NUM=["0","1","2","3","4","5","6","7","8","9"];j.ALPHANUM=j.ALPHA.concat(j.NUM);j.MARK=["-","_",".","!","~","*","'","(",")"];j.USERINFO_CHARS=j.ALPHANUM.concat(j.MARK).concat(["%",";",":","&","=","+","$",","]);j.STRICT_URL_CHAR=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(j.ALPHANUM);j.URL_CHAR=j.STRICT_URL_CHAR.concat([" ","\f"]);for(let t=128;t<=255;t++)j.URL_CHAR.push(t);j.HEX=j.NUM.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]);j.STRICT_TOKEN=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(j.ALPHANUM);j.TOKEN=j.STRICT_TOKEN.concat([" "]);j.HEADER_CHARS=[" "];for(let t=32;t<=255;t++)t!==127&&j.HEADER_CHARS.push(t);j.CONNECTION_TOKEN_CHARS=j.HEADER_CHARS.filter(t=>t!==44);j.MAJOR=j.NUM_MAP;j.MINOR=j.MAJOR;var Ma;(function(t){t[t.GENERAL=0]="GENERAL",t[t.CONNECTION=1]="CONNECTION",t[t.CONTENT_LENGTH=2]="CONTENT_LENGTH",t[t.TRANSFER_ENCODING=3]="TRANSFER_ENCODING",t[t.UPGRADE=4]="UPGRADE",t[t.CONNECTION_KEEP_ALIVE=5]="CONNECTION_KEEP_ALIVE",t[t.CONNECTION_CLOSE=6]="CONNECTION_CLOSE",t[t.CONNECTION_UPGRADE=7]="CONNECTION_UPGRADE",t[t.TRANSFER_ENCODING_CHUNKED=8]="TRANSFER_ENCODING_CHUNKED"})(Ma=j.HEADER_STATE||(j.HEADER_STATE={}));j.SPECIAL_HEADERS={connection:Ma.CONNECTION,"content-length":Ma.CONTENT_LENGTH,"proxy-connection":Ma.CONNECTION,"transfer-encoding":Ma.TRANSFER_ENCODING,upgrade:Ma.UPGRADE}});var NE=g((I2e,SP)=>{"use strict";var{Buffer:XX}=require("node:buffer");SP.exports=XX.from("AGFzbQEAAAABJwdgAX8Bf2ADf39/AX9gAX8AYAJ/fwBgBH9/f38Bf2AAAGADf39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQAEA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZ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AAsgAiAFNgIADLACCyACQQA2AgAgBkEBaiEBQRAMcwtB/gAhAyABIARGDa4CIAIoAgAiACAEIAFraiEFIAEgAGtBBWohBgJAA0AgAS0AACAAQfbOAGotAABHDXEgAEEFRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADK8CCyACQQA2AgAgBkEBaiEBQRYMcgtB/wAhAyABIARGDa0CIAIoAgAiACAEIAFraiEFIAEgAGtBA2ohBgJAA0AgAS0AACAAQfzOAGotAABHDXAgAEEDRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADK4CCyACQQA2AgAgBkEBaiEBQQUMcQsgASAERgRAQYABIQMMrQILIAEtAABB2QBHDW4gAUEBaiEBQQgMcAsgASAERgRAQYEBIQMMrAILAkACQCABLQAAQc4Aaw4DAG8BbwsgAUEBaiEBQesAIQMMkwILIAFBAWohAUHsACEDDJICCyABIARGBEBBggEhAwyrAgsCQAJAIAEtAABByABrDggAbm5ubm5uAW4LIAFBAWohAUHqACEDDJICCyABQQFqIQFB7QAhAwyRAgtBgwEhAyABIARGDakCIAIoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQYDPAGotAABHDWwgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADKoCCyACQQA2AgAgBkEBaiEBQQAMbQtBhAEhAyABIARGDagCIAIoAgAiACAEIAFraiEFIAEgAGtBBGohBgJAA0AgAS0AACAAQYPPAGotAABHDWsgAEEERg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADKkCCyACQQA2AgAgBkEBaiEBQSMMbAsgASAERgRAQYUBIQMMqAILAkACQCABLQAAQcwAaw4IAGtra2trawFrCyABQQFqIQFB7wAhAwyPAgsgAUEBaiEBQfAAIQMMjgILIAEgBEYEQEGGASEDDKcCCyABLQAAQcUARw1oIAFBAWohAQxgC0GHASEDIAEgBEYNpQIgAigCACIAIAQgAWtqIQUgASAAa0EDaiEGAkADQCABLQAAIABBiM8Aai0A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AAIAEQJSIARQ0iIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMsgELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0OIAJB5QA2AhwgAiABNgIUIAIgADYCDEEAIQMMsQELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0dIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMsAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0fIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAkHSADYCHCACIAE2AhQgAiAANgIMQQAhAwykAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQAgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwyjAQtB1QAhAwyJAQsgAEEVRwRAIAJBADYCHCACIAE2AhQgAkG5DTYCECACQRo2AgxBACEDDKIBCyACQeQANgIcIAIgATYCFCACQeMXNgIQIAJBFTYCDEEAIQMMoQELIAJBADYCACAGQQFqIQE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JB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMkwELQckAIQMMeQsgAkEANgIcIAIgATYCFCACQcEoNgIQIAJBBzYCDCACQQA2AgBBACEDDJEBCyACKAIEIQBBACEDIAJBADYCBCACIAAgARAlIgBFDQAgAkHSADYCHCACIAE2AhQgAiAANgIMDJABC0HIACEDDHYLIAJBADYCACAFIQELIAJBgBI7ASogAUEBaiEBQQAhAAJAIAIoAjgiA0UNACADKAIwIgNFDQAgAiADEQAAIQALIAANAQtBxwAhAwxzCyAAQRVGBEAgAkHRADYCHCACIAE2AhQgAkHjFzYCECACQRU2AgxBACEDDIwBC0EAIQMgAkEANgIcIAIgATYCFCACQbkNNgIQIAJBGjYCDAyLAQtBACEDIAJBADYCHCACIAE2AhQgAkGgGTYCECACQR42AgwMigELIAEtAABBOkYEQCACKAIEIQBBACEDIAJBADYCBCACIAAgARApIgBFDQEgAkHDADYCHCACIAA2AgwgAiABQQFqNgIUDIoBC0EAIQMgAkEANgIcIAIgATYCFCACQbERNgIQIAJBCjYCDAyJAQsgAUEBaiEBQTshAwxvCyACQcMANgIcIAIgADYCDCACIAFBAWo2AhQMhwELQQAhAyACQQA2AhwgAiABNgIUIAJB8A42AhAgAkEcNgIMDIYBCyACIAIvATBBEHI7ATAMZgsCQCACLwEwIgBBCHFFDQAgAi0AKEEBRw0AIAItAC1BCHFFDQMLIAIgAEH3+wNxQYAEcjsBMAwECyABIARHBEACQANAIAEtAABBMGsiAEH/AXFBCk8EQEE1IQMMbgsgAikDICIKQpmz5syZs+bMGVYNASACIApCCn4iCjcDICAKIACtQv8BgyILQn+FVg0BIAIgCiALfDcDICAEIAFBAWoiAUcNAAtBOSEDDIUBCyACKAIEIQBBACEDIAJBADYCBCACIAAgAUEBaiIBECoiAA0MDHcLQTkhAwyDAQsgAi0AMEEgcQ0GQcUBIQMMaQtBACEDIAJBADYCBCACIAEgARAqIgBFDQQgAkE6NgIcIAIgADYCDCACIAFBAWo2AhQMgQELIAItAChBAUcNACACL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ABBBHFqQRBqIgcoAgAiAA0ACyAHIAE2AgAgASADNgIYIAEgATYCDCABIAE2AggMAQsgAygCCCIAIAE2AgwgAyABNgIIIAFBADYCGCABIAM2AgwgASAANgIIC0Gs0ABBrNAAKAIAQQFrIgBBfyAAGzYCAAsLBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LQAEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABAwIAAgBDYCOCAAIAM6ACggACACOgAtIAAgATYCGAu74gECB38DfiABIAJqIQQCQCAAIgIoAgwiAA0AIAIoAgQEQCACIAE2AgQLIwBBEGsiCCQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIAIoAhwiA0EBaw7dAdoBAdkBAgMEBQYHCAkKCwwNDtgBDxDXARES1gETFBUWFxgZGhvgAd8BHB0e1QEfICEiIyQl1AEmJygpKiss0wHSAS0u0QHQAS8wMTIzNDU2Nzg5Ojs8PT4/QEFCQ0RFRtsBR0hJSs8B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JAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAgJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCADDsYBAAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHyAhIyUmKCorLC8wMTIzNDU2Nzk6Ozw9lANAQkRFRklLTk9QUVJTVFVWWFpbXF1eX2BhYmNkZWZnaGpsb3Bxc3V2eHl6e3x/gAGBAYIBgwGEAYUBhgGHAYgBiQGKAYsBjAGNAY4BjwGQAZEBkgGTAZQBlQGWAZcBmAGZAZoBmwGcAZ0BngGfAaABoQGiAaMBpAGlAaYBpwGoAakBqgGrAawBrQGuAa8BsAGxAbIBswG0AbUBtgG3AbgBuQG6AbsBvAG9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QMMxgILIAFBAWohAUHEACEDDMUCCyABIARHBEAgAkENNgIIIAIgATYCBEHFACEDDMUCC0HPACEDDN0CCwJAAkAgAS0AAEEKaw4EAZABkAEAkAELIAFBAWohAQtBKCEDDMMCCyABIARGBEBB0QAhAwzcAgsgAS0AAEEgRw0AIAFBAWohASACLQAtQQFxRQ3QAQtBFyEDDMECCyABIARHDcsBQdIAIQMM2QILQdMAIQMgASAERg3YAiACKAIAIgAgBCABa2ohBiABIABrQQFqIQUDQCABLQAAIABB1sIAai0AAEcNxwEgAEEBRg3KASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBjYCAAzYAgsgASAERgRAQdUAIQMM2AILIAEtAABBCkcNwgEgAUEBaiEBDMoBCyABIARGBEBB1gAhAwzXAgsCQAJAIAEtAABBCmsOBADDAcMBAcMBCyABQQFqIQEMygELIAFBAWohAUHKACEDDL0CC0EAIQACQCACKAI4IgNFDQAgAygCPCIDRQ0AIAIgAxEAACEACyAADb8BQc0AIQMMvAILIAItAClBIkYNzwIMiQELIAQgASIFRgRAQdsAIQMM1AILQQAhAEEBIQFBASEGQQAhAwJAAn8CQAJAAkACQAJAAkACQCAFLQAAQTBrDgrFAcQBAAECAwQFBgjDAQtBAgwGC0EDDAULQQQMBAtBBQwDC0EGDAILQQcMAQtBCAshA0EAIQFBACEGDL0BC0EJIQNBASEAQQAhAUEAIQYMvAELIAEgBEYEQEHdACEDDNMCCyABLQAAQS5HDbgBIAFBAWohAQyIAQsgASAERw22AUHfACEDDNECCyABIARHBEAgAkEONgIIIAIgATYCBEHQACEDDLgCC0HgACEDDNACC0HhACEDIAEgBEYNzwIgAigCACIAIAQgAWtqIQUgASAAa0EDaiEGA0AgAS0AACAAQeLCAGotAABHDbEBIABBA0YNswEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAMzwILQeIAIQMgASAERg3OAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYDQCABLQAAIABB5sIAai0AAEcNsAEgAEECRg2vASAAQQFq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IARGDa8CIAIoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQe3PAGotAABHDXIgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADLACCyACQQA2AgAgBkEBaiEBQRAMcwtB/gAhAyABIARGDa4CIAIoAgAiACAEIAFraiEFIAEgAGtBBWohBgJAA0AgAS0AACAAQfbOAGotAABHDXEgAEEFRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADK8CCyACQQA2AgAgBkEBaiEBQRYMcgtB/wAhAyABIARGDa0CIAIoAgAiACAEIAFraiEFIAEgAGtBA2ohBgJAA0AgAS0AACAAQfzOAGotAABHDXAgAEEDRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADK4CCyACQQA2AgAgBkEBaiEBQQUMcQsgASAERgRAQYABIQMMrQILIAEtAABB2QBHDW4gAUEBaiEBQQgMcAsgASAERgRAQYEBIQMMrAILAkACQCABLQAAQc4Aaw4DAG8BbwsgAUEBaiEBQesAIQMMkwILIAFBAWohAUHsACEDDJICCyABIARGBEBBggEhAwyrAgsCQAJAIAEtAABByABrDggAbm5ubm5uAW4LIAFBAWohAUHqACEDDJICCyABQQFqIQFB7QAhAwyRAgtBgwEhAyABIARGDakCIAIoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQYDPAGotAABHDWwgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADKoCCyACQQA2AgAgBkEBaiEBQQAMbQtBhAEhAyABIARGDagCIAIoAgAiACAEIAFraiEFIAEgAGtBBGohBgJAA0AgAS0AACAAQYPPAGotAABHDWsgAEEERg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADKkCCyACQQA2AgAgBkEBaiEBQSMMbAsgASAERgRAQYUBIQMMqAILAkACQCABLQAAQcwAaw4IAGtra2trawFrCyABQQFqIQFB7wAhAwyPAgsgAUEBaiEBQfAAIQMMjgILIAEgBEYEQEGGASEDDKcCC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tAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0gIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMswELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0iIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMsgELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0OIAJB5QA2AhwgAiABNgIUIAIgADYCDEEAIQMMsQELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0dIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMsAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0fIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAkHSADYCHCACIAE2AhQgAiAANgIMQQAhAwykAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQAgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwyjAQtB1QAhAwyJAQsgAEEVRwRAIAJBADYCHCACIAE2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P=[301,302,303,307,308],r6=new Set(PP),DP=["1","7","9","11","13","15","17","19","20","21","22","23","25","37","42","43","53","69","77","79","87","95","101","102","103","104","109","110","111","113","115","117","119","123","135","137","139","143","161","179","389","427","465","512","513","514","515","526","530","531","532","540","548","554","556","563","587","601","636","989","990","993","995","1719","1720","1723","2049","3659","4045","4190","5060","5061","6000","6566","6665","6666","6667","6668","6669","6679","6697","10080"],n6=new Set(DP),TP=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],i6=new Set(TP),s6=["follow","manual","error"],OP=["GET","HEAD","OPTIONS","TRACE"],o6=new Set(OP),a6=["navigate","same-origin","no-cors","cors"],c6=["omit","same-origin","include"],l6=["default","no-store","reload","no-cache","force-cache","only-if-cached"],A6=["content-encoding","content-language","content-location","content-type","content-length"],u6=["half"],MP=["CONNECT","TRACE","TRACK"],d6=new Set(MP),kP=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""],p6=new Set(kP);LP.exports={subresource:kP,forbiddenMethods:MP,requestBodyHeader:A6,referrerPolicy:TP,requestRedirect:s6,requestMode:a6,requestCredentials:c6,requestCache:l6,redirectStatus:PP,corsSafeListedMethods:vP,nullBodyStatus:t6,safeMethods:OP,badPorts:DP,requestDuplex:u6,subresourceSet:p6,badPortsSet:n6,redirectStatusSet:r6,corsSafeListedMethodsSet:e6,safeMethodsSet:o6,forbiddenMethodsSet:d6,referrerPolicySet:i6}});var SE=g((w2e,UP)=>{"use strict";var xE=Symbol.for("undici.globalOrigin.1");function h6(){return globalThis[xE]}o(h6,"getGlobalOrigin");function f6(t){if(t===void 0){Object.defineProperty(globalThis,xE,{value:void 0,writable:!0,enumerable:!1,configurable:!1});return}let e=new URL(t);if(e.protocol!=="http:"&&e.protocol!=="https:")throw new TypeError(`Only http & https urls are allowed, received ${e.protocol}`);Object.defineProperty(globalThis,xE,{value:e,writable:!0,enumerable:!1,configurable:!1})}o(f6,"setGlobalOrigin");UP.exports={getGlobalOrigin:h6,setGlobalOrigin:f6}});var Br=g((x2e,YP)=>{"use strict";var Zd=require("node:assert"),m6=new TextEncoder,pA=/^[!#$%&'*+\-.^_|~A-Za-z0-9]+$/,g6=/[\u000A\u000D\u0009\u0020]/,y6=/[\u0009\u000A\u000C\u000D\u0020]/g,C6=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function E6(t){Zd(t.protocol==="data:");let e=HP(t,!0);e=e.slice(5);let r={position:0},n=ka(",",e,r),i=n.length;if(n=N6(n,!0,!0),r.position>=e.length)return"failure";r.position++;let s=e.slice(i+1),a=zP(s);if(/;(\u0020){0,}base64$/i.test(n)){let l=GP(a);if(a=I6(l),a==="failure")return"failure";n=n.slice(0,-6),n=n.replace(/(\u0020)+$/,""),n=n.slice(0,-1)}n.startsWith(";")&&(n="text/plain"+n);let c=RE(n);return c==="failure"&&(c=RE("text/plain;charset=US-ASCII")),{mimeType:c,body:a}}o(E6,"dataURLProcessor");function HP(t,e=!1){if(!e)return t.href;let r=t.href,n=t.hash.length,i=n===0?r:r.substring(0,r.length-n);return!n&&r.endsWith("#")?i.slice(0,-1):i}o(HP,"URLSerializer");function ep(t,e,r){let n="";for(;r.position=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}o(FP,"isHexCharByte");function qP(t){return t>=48&&t<=57?t-48:(t&223)-55}o(qP,"hexByteToNumber");function B6(t){let e=t.length,r=new Uint8Array(e),n=0;for(let i=0;it.length)return"failure";e.position++;let n=ka(";",t,e);if(n=Xd(n,!1,!0),n.length===0||!pA.test(n))return"failure";let i=r.toLowerCase(),s=n.toLowerCase(),a={type:i,subtype:s,parameters:new Map,essence:`${i}/${s}`};for(;e.positiong6.test(A),t,e);let c=ep(A=>A!==";"&&A!=="=",t,e);if(c=c.toLowerCase(),e.positiont.length)break;let l=null;if(t[e.position]==='"')l=jP(t,e,!0),ka(";",t,e);else if(l=ka(";",t,e),l=Xd(l,!1,!0),l.length===0)continue;c.length!==0&&pA.test(c)&&(l.length===0||C6.test(l))&&!a.parameters.has(c)&&a.parameters.set(c,l)}return a}o(RE,"parseMIMEType");function I6(t){t=t.replace(y6,"");let e=t.length;if(e%4===0&&t.charCodeAt(e-1)===61&&(--e,t.charCodeAt(e-1)===61&&--e),e%4===1||/[^+/0-9A-Za-z]/.test(t.length===e?t:t.substring(0,e)))return"failure";let r=Buffer.from(t,"base64");return new Uint8Array(r.buffer,r.byteOffset,r.byteLength)}o(I6,"forgivingBase64");function jP(t,e,r){let n=e.position,i="";for(Zd(t[e.position]==='"'),e.position++;i+=ep(a=>a!=='"'&&a!=="\\",t,e),!(e.position>=t.length);){let s=t[e.position];if(e.position++,s==="\\"){if(e.position>=t.length){i+="\\";break}i+=t[e.position],e.position++}else{Zd(s==='"');break}}return r?i:t.slice(n,e.position)}o(jP,"collectAnHTTPQuotedString");function b6(t){Zd(t!=="failure");let{parameters:e,essence:r}=t,n=r;for(let[i,s]of e.entries())n+=";",n+=i,n+="=",pA.test(s)||(s=s.replace(/(\\|")/g,"\\$1"),s='"'+s,s+='"'),n+=s;return n}o(b6,"serializeAMimeType");function Q6(t){return t===13||t===10||t===9||t===32}o(Q6,"isHTTPWhiteSpace");function Xd(t,e=!0,r=!0){return _E(t,e,r,Q6)}o(Xd,"removeHTTPWhitespace");function w6(t){return t===13||t===10||t===9||t===12||t===32}o(w6,"isASCIIWhitespace");function N6(t,e=!0,r=!0){return _E(t,e,r,w6)}o(N6,"removeASCIIWhitespace");function _E(t,e,r,n){let i=0,s=t.length-1;if(e)for(;i0&&n(t.charCodeAt(s));)s--;return i===0&&s===t.length-1?t:t.slice(i,s+1)}o(_E,"removeChars");function GP(t){let e=t.length;if(65535>e)return String.fromCharCode.apply(null,t);let r="",n=0,i=65535;for(;ne&&(i=e-n),r+=String.fromCharCode.apply(null,t.subarray(n,n+=i));return r}o(GP,"isomorphicDecode");function x6(t){switch(t.essence){case"application/ecmascript":case"application/javascript":case"application/x-ecmascript":case"application/x-javascript":case"text/ecmascript":case"text/javascript":case"text/javascript1.0":case"text/javascript1.1":case"text/javascript1.2":case"text/javascript1.3":case"text/javascript1.4":case"text/javascript1.5":case"text/jscript":case"text/livescript":case"text/x-ecmascript":case"text/x-javascript":return"text/javascript";case"application/json":case"text/json":return"application/json";case"image/svg+xml":return"image/svg+xml";case"text/xml":case"application/xml":return"application/xml"}return t.subtype.endsWith("+json")?"application/json":t.subtype.endsWith("+xml")?"application/xml":""}o(x6,"minimizeSupportedMimeType");YP.exports={dataURLProcessor:E6,URLSerializer:HP,collectASequenceOfCodePoints:ep,collectASequenceOfCodePointsFast:ka,stringPercentDecode:zP,parseMIMEType:RE,collectAnHTTPQuotedString:jP,serializeAMimeType:b6,removeChars:_E,removeHTTPWhitespace:Xd,minimizeSupportedMimeType:x6,HTTP_TOKEN_CODEPOINTS:pA,isomorphicDecode:GP}});var $t=g((R2e,JP)=>{"use strict";var{types:di,inspect:S6}=require("node:util"),{markAsUncloneable:R6}=require("node:worker_threads"),{toUSVString:_6}=Ee(),z={};z.converters={};z.util={};z.errors={};z.errors.exception=function(t){return new TypeError(`${t.header}: ${t.message}`)};z.errors.conversionFailed=function(t){let e=t.types.length===1?"":" one of",r=`${t.argument} could not be converted to${e}: ${t.types.join(", ")}.`;return z.errors.exception({header:t.prefix,message:r})};z.errors.invalidArgument=function(t){return z.errors.exception({header:t.prefix,message:`"${t.value}" is an invalid ${t.type}.`})};z.brandCheck=function(t,e,r){if(r?.strict!==!1){if(!(t instanceof e)){let n=new TypeError("Illegal invocation");throw n.code="ERR_INVALID_THIS",n}}else if(t?.[Symbol.toStringTag]!==e.prototype[Symbol.toStringTag]){let n=new TypeError("Illegal invocation");throw n.code="ERR_INVALID_THIS",n}};z.argumentLengthCheck=function({length:t},e,r){if(t{});z.util.ConvertToInt=function(t,e,r,n){let i,s;e===64?(i=Math.pow(2,53)-1,r==="unsigned"?s=0:s=Math.pow(-2,53)+1):r==="unsigned"?(s=0,i=Math.pow(2,e)-1):(s=Math.pow(-2,e)-1,i=Math.pow(2,e-1)-1);let a=Number(t);if(a===0&&(a=0),n?.enforceRange===!0){if(Number.isNaN(a)||a===Number.POSITIVE_INFINITY||a===Number.NEGATIVE_INFINITY)throw z.errors.exception({header:"Integer conversion",message:`Could not convert ${z.util.Stringify(t)} to an integer.`});if(a=z.util.IntegerPart(a),ai)throw z.errors.exception({header:"Integer conversion",message:`Value must be between ${s}-${i}, got ${a}.`});return a}return!Number.isNaN(a)&&n?.clamp===!0?(a=Math.min(Math.max(a,s),i),Math.floor(a)%2===0?a=Math.floor(a):a=Math.ceil(a),a):Number.isNaN(a)||a===0&&Object.is(0,a)||a===Number.POSITIVE_INFINITY||a===Number.NEGATIVE_INFINITY?0:(a=z.util.IntegerPart(a),a=a%Math.pow(2,e),r==="signed"&&a>=Math.pow(2,e)-1?a-Math.pow(2,e):a)};z.util.IntegerPart=function(t){let e=Math.floor(Math.abs(t));return t<0?-1*e:e};z.util.Stringify=function(t){switch(z.util.Type(t)){case"Symbol":return`Symbol(${t.description})`;case"Object":return S6(t);case"String":return`"${t}"`;default:return`${t}`}};z.sequenceConverter=function(t){return(e,r,n,i)=>{if(z.util.Type(e)!=="Object")throw z.errors.exception({header:r,message:`${n} (${z.util.Stringify(e)}) is not iterable.`});let s=typeof i=="function"?i():e?.[Symbol.iterator]?.(),a=[],c=0;if(s===void 0||typeof s.next!="function")throw z.errors.exception({header:r,message:`${n} is not iterable.`});for(;;){let{done:l,value:A}=s.next();if(l)break;a.push(t(A,r,`${n}[${c++}]`))}return a}};z.recordConverter=function(t,e){return(r,n,i)=>{if(z.util.Type(r)!=="Object")throw z.errors.exception({header:n,message:`${i} ("${z.util.Type(r)}") is not an Object.`});let s={};if(!di.isProxy(r)){let c=[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)];for(let l of c){let A=t(l,n,i),u=e(r[l],n,i);s[A]=u}return s}let a=Reflect.ownKeys(r);for(let c of a)if(Reflect.getOwnPropertyDescriptor(r,c)?.enumerable){let A=t(c,n,i),u=e(r[c],n,i);s[A]=u}return s}};z.interfaceConverter=function(t){return(e,r,n,i)=>{if(i?.strict!==!1&&!(e instanceof t))throw z.errors.exception({header:r,message:`Expected ${n} ("${z.util.Stringify(e)}") to be an instance of ${t.name}.`});return e}};z.dictionaryConverter=function(t){return(e,r,n)=>{let i=z.util.Type(e),s={};if(i==="Null"||i==="Undefined")return s;if(i!=="Object")throw z.errors.exception({header:r,message:`Expected ${e} to be one of: Null, Undefined, Object.`});for(let a of t){let{key:c,defaultValue:l,required:A,converter:u}=a;if(A===!0&&!Object.hasOwn(e,c))throw z.errors.exception({header:r,message:`Missing required key "${c}".`});let d=e[c],f=Object.hasOwn(a,"defaultValue");if(f&&d!==null&&(d??=l()),A||f||d!==void 0){if(d=u(d,r,`${n}.${c}`),a.allowedValues&&!a.allowedValues.includes(d))throw z.errors.exception({header:r,message:`${d} is not an accepted type. Expected one of ${a.allowedValues.join(", ")}.`});s[c]=d}}return s}};z.nullableConverter=function(t){return(e,r,n)=>e===null?e:t(e,r,n)};z.converters.DOMString=function(t,e,r,n){if(t===null&&n?.legacyNullToEmptyString)return"";if(typeof t=="symbol")throw z.errors.exception({header:e,message:`${r} is a symbol, which cannot be converted to a DOMString.`});return String(t)};z.converters.ByteString=function(t,e,r){let n=z.converters.DOMString(t,e,r);for(let i=0;i255)throw new TypeError(`Cannot convert argument to a ByteString because the character at index ${i} has a value of ${n.charCodeAt(i)} which is greater than 255.`);return n};z.converters.USVString=_6;z.converters.boolean=function(t){return!!t};z.converters.any=function(t){return t};z.converters["long long"]=function(t,e,r){return z.util.ConvertToInt(t,64,"signed",void 0,e,r)};z.converters["unsigned long long"]=function(t,e,r){return z.util.ConvertToInt(t,64,"unsigned",void 0,e,r)};z.converters["unsigned long"]=function(t,e,r){return z.util.ConvertToInt(t,32,"unsigned",void 0,e,r)};z.converters["unsigned short"]=function(t,e,r,n){return z.util.ConvertToInt(t,16,"unsigned",n,e,r)};z.converters.ArrayBuffer=function(t,e,r,n){if(z.util.Type(t)!=="Object"||!di.isAnyArrayBuffer(t))throw z.errors.conversionFailed({prefix:e,argument:`${r} ("${z.util.Stringify(t)}")`,types:["ArrayBuffer"]});if(n?.allowShared===!1&&di.isSharedArrayBuffer(t))throw z.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.resizable||t.growable)throw z.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};z.converters.TypedArray=function(t,e,r,n,i){if(z.util.Type(t)!=="Object"||!di.isTypedArray(t)||t.constructor.name!==e.name)throw z.errors.conversionFailed({prefix:r,argument:`${n} ("${z.util.Stringify(t)}")`,types:[e.name]});if(i?.allowShared===!1&&di.isSharedArrayBuffer(t.buffer))throw z.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.buffer.resizable||t.buffer.growable)throw z.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};z.converters.DataView=function(t,e,r,n){if(z.util.Type(t)!=="Object"||!di.isDataView(t))throw z.errors.exception({header:e,message:`${r} is not a DataView.`});if(n?.allowShared===!1&&di.isSharedArrayBuffer(t.buffer))throw z.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.buffer.resizable||t.buffer.growable)throw z.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};z.converters.BufferSource=function(t,e,r,n){if(di.isAnyArrayBuffer(t))return z.converters.ArrayBuffer(t,e,r,{...n,allowShared:!1});if(di.isTypedArray(t))return z.converters.TypedArray(t,t.constructor,e,r,{...n,allowShared:!1});if(di.isDataView(t))return z.converters.DataView(t,e,r,{...n,allowShared:!1});throw z.errors.conversionFailed({prefix:e,argument:`${r} ("${z.util.Stringify(t)}")`,types:["BufferSource"]})};z.converters["sequence"]=z.sequenceConverter(z.converters.ByteString);z.converters["sequence>"]=z.sequenceConverter(z.converters["sequence"]);z.converters["record"]=z.recordConverter(z.converters.ByteString,z.converters.ByteString);JP.exports={webidl:z}});var Ur=g((_2e,aD)=>{"use strict";var{Transform:v6}=require("node:stream"),VP=require("node:zlib"),{redirectStatusSet:P6,referrerPolicySet:D6,badPortsSet:T6}=dA(),{getGlobalOrigin:WP}=SE(),{collectASequenceOfCodePoints:bo,collectAnHTTPQuotedString:O6,removeChars:M6,parseMIMEType:k6}=Br(),{performance:L6}=require("node:perf_hooks"),{isBlobLike:U6,ReadableStreamFrom:F6,isValidHTTPToken:$P,normalizedMethodRecordsBase:q6}=Ee(),Qo=require("node:assert"),{isUint8Array:H6}=require("node:util/types"),{webidl:hA}=$t(),KP=[],rp;try{rp=require("node:crypto");let t=["sha256","sha384","sha512"];KP=rp.getHashes().filter(e=>t.includes(e))}catch{}function XP(t){let e=t.urlList,r=e.length;return r===0?null:e[r-1].toString()}o(XP,"responseURL");function z6(t,e){if(!P6.has(t.status))return null;let r=t.headersList.get("location",!0);return r!==null&&eD(r)&&(ZP(r)||(r=j6(r)),r=new URL(r,XP(t))),r&&!r.hash&&(r.hash=e),r}o(z6,"responseLocationURL");function ZP(t){for(let e=0;e126||r<32)return!1}return!0}o(ZP,"isValidEncodedURL");function j6(t){return Buffer.from(t,"binary").toString("utf8")}o(j6,"normalizeBinaryStringToUtf8");function mA(t){return t.urlList[t.urlList.length-1]}o(mA,"requestCurrentURL");function G6(t){let e=mA(t);return sD(e)&&T6.has(e.port)?"blocked":"allowed"}o(G6,"requestBadPort");function Y6(t){return t instanceof Error||t?.constructor?.name==="Error"||t?.constructor?.name==="DOMException"}o(Y6,"isErrorLike");function J6(t){for(let e=0;e=32&&r<=126||r>=128&&r<=255))return!1}return!0}o(J6,"isValidReasonPhrase");var V6=$P;function eD(t){return(t[0]===" "||t[0]===" "||t[t.length-1]===" "||t[t.length-1]===" "||t.includes(` -`)||t.includes("\r")||t.includes("\0"))===!1}o(eD,"isValidHeaderValue");function W6(t,e){let{headersList:r}=e,n=(r.get("referrer-policy",!0)??"").split(","),i="";if(n.length>0)for(let s=n.length;s!==0;s--){let a=n[s-1].trim();if(D6.has(a)){i=a;break}}i!==""&&(t.referrerPolicy=i)}o(W6,"setRequestReferrerPolicyOnRedirect");function $6(){return"allowed"}o($6,"crossOriginResourcePolicyCheck");function K6(){return"success"}o(K6,"corsCheck");function X6(){return"success"}o(X6,"TAOCheck");function Z6(t){let e=null;e=t.mode,t.headersList.set("sec-fetch-mode",e,!0)}o(Z6,"appendFetchMetadata");function eZ(t){let e=t.origin;if(!(e==="client"||e===void 0)){if(t.responseTainting==="cors"||t.mode==="websocket")t.headersList.append("origin",e,!0);else if(t.method!=="GET"&&t.method!=="HEAD"){switch(t.referrerPolicy){case"no-referrer":e=null;break;case"no-referrer-when-downgrade":case"strict-origin":case"strict-origin-when-cross-origin":t.origin&&PE(t.origin)&&!PE(mA(t))&&(e=null);break;case"same-origin":np(t,mA(t))||(e=null);break;default:}t.headersList.append("origin",e,!0)}}}o(eZ,"appendRequestOriginHeader");function La(t,e){return t}o(La,"coarsenTime");function tZ(t,e,r){return!t?.startTime||t.startTime4096&&(n=i);let s=np(t,n),a=fA(n)&&!fA(t.url);switch(e){case"origin":return i??vE(r,!0);case"unsafe-url":return n;case"same-origin":return s?i:"no-referrer";case"origin-when-cross-origin":return s?n:i;case"strict-origin-when-cross-origin":{let c=mA(t);return np(n,c)?n:fA(n)&&!fA(c)?"no-referrer":i}case"strict-origin":case"no-referrer-when-downgrade":default:return a?"no-referrer":i}}o(sZ,"determineRequestsReferrer");function vE(t,e){return Qo(t instanceof URL),t=new URL(t),t.protocol==="file:"||t.protocol==="about:"||t.protocol==="blank:"?"no-referrer":(t.username="",t.password="",t.hash="",e&&(t.pathname="",t.search=""),t)}o(vE,"stripURLForReferrer");function fA(t){if(!(t instanceof URL))return!1;if(t.href==="about:blank"||t.href==="about:srcdoc"||t.protocol==="data:"||t.protocol==="file:")return!0;return e(t.origin);function e(r){if(r==null||r==="null")return!1;let n=new URL(r);return!!(n.protocol==="https:"||n.protocol==="wss:"||/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(n.hostname)||n.hostname==="localhost"||n.hostname.includes("localhost.")||n.hostname.endsWith(".localhost"))}}o(fA,"isURLPotentiallyTrustworthy");function oZ(t,e){if(rp===void 0)return!0;let r=rD(e);if(r==="no metadata"||r.length===0)return!0;let n=cZ(r),i=lZ(r,n);for(let s of i){let a=s.algo,c=s.hash,l=rp.createHash(a).update(t).digest("base64");if(l[l.length-1]==="="&&(l[l.length-2]==="="?l=l.slice(0,-2):l=l.slice(0,-1)),AZ(l,c))return!0}return!1}o(oZ,"bytesMatch");var aZ=/(?sha256|sha384|sha512)-((?[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function rD(t){let e=[],r=!0;for(let n of t.split(" ")){r=!1;let i=aZ.exec(n);if(i===null||i.groups===void 0||i.groups.algo===void 0)continue;let s=i.groups.algo.toLowerCase();KP.includes(s)&&e.push(i.groups)}return r===!0?"no metadata":e}o(rD,"parseMetadata");function cZ(t){let e=t[0].algo;if(e[3]==="5")return e;for(let r=1;r{t=n,e=i}),resolve:t,reject:e}}o(dZ,"createDeferredPromise");function pZ(t){return t.controller.state==="aborted"}o(pZ,"isAborted");function hZ(t){return t.controller.state==="aborted"||t.controller.state==="terminated"}o(hZ,"isCancelled");function fZ(t){return q6[t.toLowerCase()]??t}o(fZ,"normalizeMethod");function mZ(t){let e=JSON.stringify(t);if(e===void 0)throw new TypeError("Value is not JSON serializable");return Qo(typeof e=="string"),e}o(mZ,"serializeJavascriptValueToJSONString");var gZ=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function nD(t,e,r=0,n=1){class i{static{o(this,"FastIterableIterator")}#e;#t;#i;constructor(a,c){this.#e=a,this.#t=c,this.#i=0}next(){if(typeof this!="object"||this===null||!(#e in this))throw new TypeError(`'next' called on an object that does not implement interface ${t} Iterator.`);let a=this.#i,c=this.#e[e],l=c.length;if(a>=l)return{value:void 0,done:!0};let{[r]:A,[n]:u}=c[a];this.#i=a+1;let d;switch(this.#t){case"key":d=A;break;case"value":d=u;break;case"key+value":d=[A,u];break}return{value:d,done:!1}}}return delete i.prototype.constructor,Object.setPrototypeOf(i.prototype,gZ),Object.defineProperties(i.prototype,{[Symbol.toStringTag]:{writable:!1,enumerable:!1,configurable:!0,value:`${t} Iterator`},next:{writable:!0,enumerable:!0,configurable:!0}}),function(s,a){return new i(s,a)}}o(nD,"createIterator");function yZ(t,e,r,n=0,i=1){let s=nD(t,r,n,i),a={keys:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return hA.brandCheck(this,e),s(this,"key")},"keys")},values:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return hA.brandCheck(this,e),s(this,"value")},"values")},entries:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return hA.brandCheck(this,e),s(this,"key+value")},"entries")},forEach:{writable:!0,enumerable:!0,configurable:!0,value:o(function(l,A=globalThis){if(hA.brandCheck(this,e),hA.argumentLengthCheck(arguments,1,`${t}.forEach`),typeof l!="function")throw new TypeError(`Failed to execute 'forEach' on '${t}': parameter 1 is not of type 'Function'.`);for(let{0:u,1:d}of s(this,"key+value"))l.call(A,d,u,this)},"forEach")}};return Object.defineProperties(e.prototype,{...a,[Symbol.iterator]:{writable:!0,enumerable:!1,configurable:!0,value:a.entries.value}})}o(yZ,"iteratorMixin");async function CZ(t,e,r){let n=e,i=r,s;try{s=t.stream.getReader()}catch(a){i(a);return}try{n(await iD(s))}catch(a){i(a)}}o(CZ,"fullyReadBody");function EZ(t){return t instanceof ReadableStream||t[Symbol.toStringTag]==="ReadableStream"&&typeof t.tee=="function"}o(EZ,"isReadableStreamLike");function BZ(t){try{t.close(),t.byobRequest?.respond(0)}catch(e){if(!e.message.includes("Controller is already closed")&&!e.message.includes("ReadableStream is already closed"))throw e}}o(BZ,"readableStreamClose");var IZ=/[^\x00-\xFF]/;function tp(t){return Qo(!IZ.test(t)),t}o(tp,"isomorphicEncode");async function iD(t){let e=[],r=0;for(;;){let{done:n,value:i}=await t.read();if(n)return Buffer.concat(e,r);if(!H6(i))throw new TypeError("Received non-Uint8Array chunk");e.push(i),r+=i.length}}o(iD,"readAllBytes");function bZ(t){Qo("protocol"in t);let e=t.protocol;return e==="about:"||e==="blob:"||e==="data:"}o(bZ,"urlIsLocal");function PE(t){return typeof t=="string"&&t[5]===":"&&t[0]==="h"&&t[1]==="t"&&t[2]==="t"&&t[3]==="p"&&t[4]==="s"||t.protocol==="https:"}o(PE,"urlHasHttpsScheme");function sD(t){Qo("protocol"in t);let e=t.protocol;return e==="http:"||e==="https:"}o(sD,"urlIsHttpHttpsScheme");function QZ(t,e){let r=t;if(!r.startsWith("bytes"))return"failure";let n={position:5};if(e&&bo(l=>l===" "||l===" ",r,n),r.charCodeAt(n.position)!==61)return"failure";n.position++,e&&bo(l=>l===" "||l===" ",r,n);let i=bo(l=>{let A=l.charCodeAt(0);return A>=48&&A<=57},r,n),s=i.length?Number(i):null;if(e&&bo(l=>l===" "||l===" ",r,n),r.charCodeAt(n.position)!==45)return"failure";n.position++,e&&bo(l=>l===" "||l===" ",r,n);let a=bo(l=>{let A=l.charCodeAt(0);return A>=48&&A<=57},r,n),c=a.length?Number(a):null;return n.positionc?"failure":{rangeStartValue:s,rangeEndValue:c}}o(QZ,"simpleRangeHeaderValue");function wZ(t,e,r){let n="bytes ";return n+=tp(`${t}`),n+="-",n+=tp(`${e}`),n+="/",n+=tp(`${r}`),n}o(wZ,"buildContentRange");var DE=class extends v6{static{o(this,"InflateStream")}#e;constructor(e){super(),this.#e=e}_transform(e,r,n){if(!this._inflateStream){if(e.length===0){n();return}this._inflateStream=(e[0]&15)===8?VP.createInflate(this.#e):VP.createInflateRaw(this.#e),this._inflateStream.on("data",this.push.bind(this)),this._inflateStream.on("end",()=>this.push(null)),this._inflateStream.on("error",i=>this.destroy(i))}this._inflateStream.write(e,r,n)}_final(e){this._inflateStream&&(this._inflateStream.end(),this._inflateStream=null),e()}};function NZ(t){return new DE(t)}o(NZ,"createInflate");function xZ(t){let e=null,r=null,n=null,i=oD("content-type",t);if(i===null)return"failure";for(let s of i){let a=k6(s);a==="failure"||a.essence==="*/*"||(n=a,n.essence!==r?(e=null,n.parameters.has("charset")&&(e=n.parameters.get("charset")),r=n.essence):!n.parameters.has("charset")&&e!==null&&n.parameters.set("charset",e))}return n??"failure"}o(xZ,"extractMimeType");function SZ(t){let e=t,r={position:0},n=[],i="";for(;r.positions!=='"'&&s!==",",e,r),r.positions===9||s===32),n.push(i),i=""}return n}o(SZ,"gettingDecodingSplitting");function oD(t,e){let r=e.get(t,!0);return r===null?null:SZ(r)}o(oD,"getDecodeSplit");var RZ=new TextDecoder;function _Z(t){return t.length===0?"":(t[0]===239&&t[1]===187&&t[2]===191&&(t=t.subarray(3)),RZ.decode(t))}o(_Z,"utf8DecodeBytes");var TE=class{static{o(this,"EnvironmentSettingsObjectBase")}get baseUrl(){return WP()}get origin(){return this.baseUrl?.origin}policyContainer=tD()},OE=class{static{o(this,"EnvironmentSettingsObject")}settingsObject=new TE},vZ=new OE;aD.exports={isAborted:pZ,isCancelled:hZ,isValidEncodedURL:ZP,createDeferredPromise:dZ,ReadableStreamFrom:F6,tryUpgradeRequestToAPotentiallyTrustworthyURL:uZ,clampAndCoarsenConnectionTimingInfo:tZ,coarsenedSharedCurrentTime:rZ,determineRequestsReferrer:sZ,makePolicyContainer:tD,clonePolicyContainer:iZ,appendFetchMetadata:Z6,appendRequestOriginHeader:eZ,TAOCheck:X6,corsCheck:K6,crossOriginResourcePolicyCheck:$6,createOpaqueTimingInfo:nZ,setRequestReferrerPolicyOnRedirect:W6,isValidHTTPToken:$P,requestBadPort:G6,requestCurrentURL:mA,responseURL:XP,responseLocationURL:z6,isBlobLike:U6,isURLPotentiallyTrustworthy:fA,isValidReasonPhrase:J6,sameOrigin:np,normalizeMethod:fZ,serializeJavascriptValueToJSONString:mZ,iteratorMixin:yZ,createIterator:nD,isValidHeaderName:V6,isValidHeaderValue:eD,isErrorLike:Y6,fullyReadBody:CZ,bytesMatch:oZ,isReadableStreamLike:EZ,readableStreamClose:BZ,isomorphicEncode:tp,urlIsLocal:bZ,urlHasHttpsScheme:PE,urlIsHttpHttpsScheme:sD,readAllBytes:iD,simpleRangeHeaderValue:QZ,buildContentRange:wZ,parseMetadata:rD,createInflate:NZ,extractMimeType:xZ,getDecodeSplit:oD,utf8DecodeBytes:_Z,environmentSettingsObject:vZ}});var bs=g((P2e,cD)=>{"use strict";cD.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kDispatcher:Symbol("dispatcher")}});var kE=g((D2e,lD)=>{"use strict";var{Blob:PZ,File:DZ}=require("node:buffer"),{kState:Zi}=bs(),{webidl:pi}=$t(),ME=class t{static{o(this,"FileLike")}constructor(e,r,n={}){let i=r,s=n.type,a=n.lastModified??Date.now();this[Zi]={blobLike:e,name:i,type:s,lastModified:a}}stream(...e){return pi.brandCheck(this,t),this[Zi].blobLike.stream(...e)}arrayBuffer(...e){return pi.brandCheck(this,t),this[Zi].blobLike.arrayBuffer(...e)}slice(...e){return pi.brandCheck(this,t),this[Zi].blobLike.slice(...e)}text(...e){return pi.brandCheck(this,t),this[Zi].blobLike.text(...e)}get size(){return pi.brandCheck(this,t),this[Zi].blobLike.size}get type(){return pi.brandCheck(this,t),this[Zi].blobLike.type}get name(){return pi.brandCheck(this,t),this[Zi].name}get lastModified(){return pi.brandCheck(this,t),this[Zi].lastModified}get[Symbol.toStringTag](){return"File"}};pi.converters.Blob=pi.interfaceConverter(PZ);function TZ(t){return t instanceof DZ||t&&(typeof t.stream=="function"||typeof t.arrayBuffer=="function")&&t[Symbol.toStringTag]==="File"}o(TZ,"isFileLike");lD.exports={FileLike:ME,isFileLike:TZ}});var yA=g((O2e,hD)=>{"use strict";var{isBlobLike:ip,iteratorMixin:OZ}=Ur(),{kState:dr}=bs(),{kEnumerableProperty:Ua}=Ee(),{FileLike:AD,isFileLike:MZ}=kE(),{webidl:Ve}=$t(),{File:pD}=require("node:buffer"),uD=require("node:util"),dD=globalThis.File??pD,gA=class t{static{o(this,"FormData")}constructor(e){if(Ve.util.markAsUncloneable(this),e!==void 0)throw Ve.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]});this[dr]=[]}append(e,r,n=void 0){Ve.brandCheck(this,t);let i="FormData.append";if(Ve.argumentLengthCheck(arguments,2,i),arguments.length===3&&!ip(r))throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'");e=Ve.converters.USVString(e,i,"name"),r=ip(r)?Ve.converters.Blob(r,i,"value",{strict:!1}):Ve.converters.USVString(r,i,"value"),n=arguments.length===3?Ve.converters.USVString(n,i,"filename"):void 0;let s=LE(e,r,n);this[dr].push(s)}delete(e){Ve.brandCheck(this,t);let r="FormData.delete";Ve.argumentLengthCheck(arguments,1,r),e=Ve.converters.USVString(e,r,"name"),this[dr]=this[dr].filter(n=>n.name!==e)}get(e){Ve.brandCheck(this,t);let r="FormData.get";Ve.argumentLengthCheck(arguments,1,r),e=Ve.converters.USVString(e,r,"name");let n=this[dr].findIndex(i=>i.name===e);return n===-1?null:this[dr][n].value}getAll(e){Ve.brandCheck(this,t);let r="FormData.getAll";return Ve.argumentLengthCheck(arguments,1,r),e=Ve.converters.USVString(e,r,"name"),this[dr].filter(n=>n.name===e).map(n=>n.value)}has(e){Ve.brandCheck(this,t);let r="FormData.has";return Ve.argumentLengthCheck(arguments,1,r),e=Ve.converters.USVString(e,r,"name"),this[dr].findIndex(n=>n.name===e)!==-1}set(e,r,n=void 0){Ve.brandCheck(this,t);let i="FormData.set";if(Ve.argumentLengthCheck(arguments,2,i),arguments.length===3&&!ip(r))throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'");e=Ve.converters.USVString(e,i,"name"),r=ip(r)?Ve.converters.Blob(r,i,"name",{strict:!1}):Ve.converters.USVString(r,i,"name"),n=arguments.length===3?Ve.converters.USVString(n,i,"name"):void 0;let s=LE(e,r,n),a=this[dr].findIndex(c=>c.name===e);a!==-1?this[dr]=[...this[dr].slice(0,a),s,...this[dr].slice(a+1).filter(c=>c.name!==e)]:this[dr].push(s)}[uD.inspect.custom](e,r){let n=this[dr].reduce((s,a)=>(s[a.name]?Array.isArray(s[a.name])?s[a.name].push(a.value):s[a.name]=[s[a.name],a.value]:s[a.name]=a.value,s),{__proto__:null});r.depth??=e,r.colors??=!0;let i=uD.formatWithOptions(r,n);return`FormData ${i.slice(i.indexOf("]")+2)}`}};OZ("FormData",gA,dr,"name","value");Object.defineProperties(gA.prototype,{append:Ua,delete:Ua,get:Ua,getAll:Ua,has:Ua,set:Ua,[Symbol.toStringTag]:{value:"FormData",configurable:!0}});function LE(t,e,r){if(typeof e!="string"){if(MZ(e)||(e=e instanceof Blob?new dD([e],"blob",{type:e.type}):new AD(e,"blob",{type:e.type})),r!==void 0){let n={type:e.type,lastModified:e.lastModified};e=e instanceof pD?new dD([e],r,n):new AD(e,r,n)}}return{name:t,value:e}}o(LE,"makeEntry");hD.exports={FormData:gA,makeEntry:LE}});var ED=g((k2e,CD)=>{"use strict";var{isUSVString:fD,bufferToLowerCasedHeaderName:kZ}=Ee(),{utf8DecodeBytes:LZ}=Ur(),{HTTP_TOKEN_CODEPOINTS:UZ,isomorphicDecode:mD}=Br(),{isFileLike:FZ}=kE(),{makeEntry:qZ}=yA(),sp=require("node:assert"),{File:HZ}=require("node:buffer"),zZ=globalThis.File??HZ,jZ=Buffer.from('form-data; name="'),gD=Buffer.from("; filename"),GZ=Buffer.from("--"),YZ=Buffer.from(`--\r -`);function JZ(t){for(let e=0;e70)return!1;for(let r=0;r=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122||n===39||n===45||n===95))return!1}return!0}o(VZ,"validateBoundary");function WZ(t,e){sp(e!=="failure"&&e.essence==="multipart/form-data");let r=e.parameters.get("boundary");if(r===void 0)return"failure";let n=Buffer.from(`--${r}`,"utf8"),i=[],s={position:0};for(;t[s.position]===13&&t[s.position+1]===10;)s.position+=2;let a=t.length;for(;t[a-1]===10&&t[a-2]===13;)a-=2;for(a!==t.length&&(t=t.subarray(0,a));;){if(t.subarray(s.position,s.position+n.length).equals(n))s.position+=n.length;else return"failure";if(s.position===t.length-2&&op(t,GZ,s)||s.position===t.length-4&&op(t,YZ,s))return i;if(t[s.position]!==13||t[s.position+1]!==10)return"failure";s.position+=2;let c=$Z(t,s);if(c==="failure")return"failure";let{name:l,filename:A,contentType:u,encoding:d}=c;s.position+=2;let f;{let C=t.indexOf(n.subarray(2),s.position);if(C===-1)return"failure";f=t.subarray(s.position,C-4),s.position+=f.length,d==="base64"&&(f=Buffer.from(f.toString(),"base64"))}if(t[s.position]!==13||t[s.position+1]!==10)return"failure";s.position+=2;let m;A!==null?(u??="text/plain",JZ(u)||(u=""),m=new zZ([f],A,{type:u})):m=LZ(Buffer.from(f)),sp(fD(l)),sp(typeof m=="string"&&fD(m)||FZ(m)),i.push(qZ(l,m,A))}}o(WZ,"multipartFormDataParser");function $Z(t,e){let r=null,n=null,i=null,s=null;for(;;){if(t[e.position]===13&&t[e.position+1]===10)return r===null?"failure":{name:r,filename:n,contentType:i,encoding:s};let a=Fa(c=>c!==10&&c!==13&&c!==58,t,e);if(a=UE(a,!0,!0,c=>c===9||c===32),!UZ.test(a.toString())||t[e.position]!==58)return"failure";switch(e.position++,Fa(c=>c===32||c===9,t,e),kZ(a)){case"content-disposition":{if(r=n=null,!op(t,jZ,e)||(e.position+=17,r=yD(t,e),r===null))return"failure";if(op(t,gD,e)){let c=e.position+gD.length;if(t[c]===42&&(e.position+=1,c+=1),t[c]!==61||t[c+1]!==34||(e.position+=12,n=yD(t,e),n===null))return"failure"}break}case"content-type":{let c=Fa(l=>l!==10&&l!==13,t,e);c=UE(c,!1,!0,l=>l===9||l===32),i=mD(c);break}case"content-transfer-encoding":{let c=Fa(l=>l!==10&&l!==13,t,e);c=UE(c,!1,!0,l=>l===9||l===32),s=mD(c);break}default:Fa(c=>c!==10&&c!==13,t,e)}if(t[e.position]!==13&&t[e.position+1]!==10)return"failure";e.position+=2}}o($Z,"parseMultipartFormDataHeaders");function yD(t,e){sp(t[e.position-1]===34);let r=Fa(n=>n!==10&&n!==13&&n!==34,t,e);return t[e.position]!==34?null:(e.position++,r=new TextDecoder().decode(r).replace(/%0A/ig,` -`).replace(/%0D/ig,"\r").replace(/%22/g,'"'),r)}o(yD,"parseMultipartFormDataName");function Fa(t,e,r){let n=r.position;for(;n0&&n(t[s]);)s--;return i===0&&s===t.length-1?t:t.subarray(i,s+1)}o(UE,"removeChars");function op(t,e,r){if(t.length{"use strict";var CA=Ee(),{ReadableStreamFrom:KZ,isBlobLike:BD,isReadableStreamLike:XZ,readableStreamClose:ZZ,createDeferredPromise:e7,fullyReadBody:t7,extractMimeType:r7,utf8DecodeBytes:QD}=Ur(),{FormData:ID}=yA(),{kState:Ha}=bs(),{webidl:n7}=$t(),{Blob:i7}=require("node:buffer"),FE=require("node:assert"),{isErrored:wD,isDisturbed:s7}=require("node:stream"),{isArrayBuffer:o7}=require("node:util/types"),{serializeAMimeType:a7}=Br(),{multipartFormDataParser:c7}=ED(),qE;try{let t=require("node:crypto");qE=o(e=>t.randomInt(0,e),"random")}catch{qE=o(t=>Math.floor(Math.random(t)),"random")}var ap=new TextEncoder;function l7(){}o(l7,"noop");var ND=globalThis.FinalizationRegistry&&process.version.indexOf("v18")!==0,xD;ND&&(xD=new FinalizationRegistry(t=>{let e=t.deref();e&&!e.locked&&!s7(e)&&!wD(e)&&e.cancel("Response object has been garbage collected").catch(l7)}));function SD(t,e=!1){let r=null;t instanceof ReadableStream?r=t:BD(t)?r=t.stream():r=new ReadableStream({async pull(l){let A=typeof i=="string"?ap.encode(i):i;A.byteLength&&l.enqueue(A),queueMicrotask(()=>ZZ(l))},start(){},type:"bytes"}),FE(XZ(r));let n=null,i=null,s=null,a=null;if(typeof t=="string")i=t,a="text/plain;charset=UTF-8";else if(t instanceof URLSearchParams)i=t.toString(),a="application/x-www-form-urlencoded;charset=UTF-8";else if(o7(t))i=new Uint8Array(t.slice());else if(ArrayBuffer.isView(t))i=new Uint8Array(t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength));else if(CA.isFormDataLike(t)){let l=`----formdata-undici-0${`${qE(1e11)}`.padStart(11,"0")}`,A=`--${l}\r -Content-Disposition: form-data`;let u=o(S=>S.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22"),"escape"),d=o(S=>S.replace(/\r?\n|\r/g,`\r -`),"normalizeLinefeeds"),f=[],m=new Uint8Array([13,10]);s=0;let C=!1;for(let[S,w]of t)if(typeof w=="string"){let R=ap.encode(A+`; name="${u(d(S))}"\r +var import_meta_url = require('url').pathToFileURL(__filename).href; +var coe=Object.create;var fh=Object.defineProperty;var loe=Object.getOwnPropertyDescriptor;var uoe=Object.getOwnPropertyNames;var Aoe=Object.getPrototypeOf,doe=Object.prototype.hasOwnProperty;var o=(t,e)=>fh(t,"name",{value:e,configurable:!0});var foe=(t,e)=>()=>(t&&(e=t(t=0)),e);var x=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),hoe=(t,e)=>{for(var r in e)fh(t,r,{get:e[r],enumerable:!0})},TM=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of uoe(e))!doe.call(t,i)&&i!==r&&fh(t,i,{get:()=>e[i],enumerable:!(n=loe(e,i))||n.enumerable});return t};var Or=(t,e,r)=>(r=t!=null?coe(Aoe(t)):{},TM(e||!t||!t.__esModule?fh(r,"default",{value:t,enumerable:!0}):r,t)),cn=t=>TM(fh({},"__esModule",{value:!0}),t);var Nm=x(Sm=>{"use strict";Object.defineProperty(Sm,"__esModule",{value:!0});Sm.toCommandValue=poe;Sm.toCommandProperties=goe;function poe(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(poe,"toCommandValue");function goe(t){return Object.keys(t).length?{title:t.title,file:t.file,line:t.startLine,endLine:t.endLine,col:t.startColumn,endColumn:t.endColumn}:{}}o(goe,"toCommandProperties")});var UM=x(oo=>{"use strict";var moe=oo&&oo.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),yoe=oo&&oo.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),Eoe=oo&&oo.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i0){e+=" ";let r=!0;for(let n in this.properties)if(this.properties.hasOwnProperty(n)){let i=this.properties[n];i&&(r?r=!1:e+=",",e+=`${n}=${Ioe(i)}`)}}return e+=`${OM}${xoe(this.message)}`,e}};function xoe(t){return(0,MM.toCommandValue)(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(xoe,"escapeData");function Ioe(t){return(0,MM.toCommandValue)(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(Ioe,"escapeProperty")});var qM=x(ao=>{"use strict";var Boe=ao&&ao.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),woe=ao&&ao.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),Aw=ao&&ao.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i{"use strict";Object.defineProperty(Rm,"__esModule",{value:!0});Rm.getProxyUrl=voe;Rm.checkBypass=zM;function voe(t){let e=t.protocol==="https:";if(zM(t))return;let r=e?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY;if(r)try{return new vm(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new vm(`http://${r}`)}else return}o(voe,"getProxyUrl");function zM(t){if(!t.hostname)return!1;let e=t.hostname;if(Roe(e))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let n;t.port?n=Number(t.port):t.protocol==="http:"?n=80:t.protocol==="https:"&&(n=443);let i=[t.hostname.toUpperCase()];typeof n=="number"&&i.push(`${i[0]}:${n}`);for(let s of r.split(",").map(a=>a.trim().toUpperCase()).filter(a=>a))if(s==="*"||i.some(a=>a===s||a.endsWith(`.${s}`)||s.startsWith(".")&&a.endsWith(`${s}`)))return!0;return!1}o(zM,"checkBypass");function Roe(t){let e=t.toLowerCase();return e==="localhost"||e.startsWith("127.")||e.startsWith("[::1]")||e.startsWith("[0:0:0:0:0:0:0:1]")}o(Roe,"isLoopbackAddress");var vm=class extends URL{static{o(this,"DecodedURL")}constructor(e,r){super(e,r),this._decodedUsername=decodeURIComponent(super.username),this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}}});var JM=x(aA=>{"use strict";var _Xe=require("net"),Poe=require("tls"),dw=require("http"),jM=require("https"),_oe=require("events"),DXe=require("assert"),Doe=require("util");aA.httpOverHttp=koe;aA.httpsOverHttp=Toe;aA.httpOverHttps=Ooe;aA.httpsOverHttps=Moe;function koe(t){var e=new sa(t);return e.request=dw.request,e}o(koe,"httpOverHttp");function Toe(t){var e=new sa(t);return e.request=dw.request,e.createSocket=YM,e.defaultPort=443,e}o(Toe,"httpsOverHttp");function Ooe(t){var e=new sa(t);return e.request=jM.request,e}o(Ooe,"httpOverHttps");function Moe(t){var e=new sa(t);return e.request=jM.request,e.createSocket=YM,e.defaultPort=443,e}o(Moe,"httpsOverHttps");function sa(t){var e=this;e.options=t||{},e.proxyOptions=e.options.proxy||{},e.maxSockets=e.options.maxSockets||dw.Agent.defaultMaxSockets,e.requests=[],e.sockets=[],e.on("free",o(function(n,i,s,a){for(var c=KM(i,s,a),l=0,u=e.requests.length;l=this.maxSockets){s.requests.push(a);return}s.createSocket(a,function(c){c.on("free",l),c.on("close",u),c.on("agentRemove",u),e.onSocket(c);function l(){s.emit("free",c,a)}o(l,"onFree");function u(A){s.removeSocket(c),c.removeListener("free",l),c.removeListener("close",u),c.removeListener("agentRemove",u)}o(u,"onCloseOrRemove")})},"addRequest");sa.prototype.createSocket=o(function(e,r){var n=this,i={};n.sockets.push(i);var s=fw({},n.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1,headers:{host:e.host+":"+e.port}});e.localAddress&&(s.localAddress=e.localAddress),s.proxyAuth&&(s.headers=s.headers||{},s.headers["Proxy-Authorization"]="Basic "+new Buffer(s.proxyAuth).toString("base64")),ic("making CONNECT request");var a=n.request(s);a.useChunkedEncodingByDefault=!1,a.once("response",c),a.once("upgrade",l),a.once("connect",u),a.once("error",A),a.end();function c(d){d.upgrade=!0}o(c,"onResponse");function l(d,f,h){process.nextTick(function(){u(d,f,h)})}o(l,"onUpgrade");function u(d,f,h){if(a.removeAllListeners(),f.removeAllListeners(),d.statusCode!==200){ic("tunneling socket could not be established, statusCode=%d",d.statusCode),f.destroy();var g=new Error("tunneling socket could not be established, statusCode="+d.statusCode);g.code="ECONNRESET",e.request.emit("error",g),n.removeSocket(i);return}if(h.length>0){ic("got illegal response body from proxy"),f.destroy();var g=new Error("got illegal response body from proxy");g.code="ECONNRESET",e.request.emit("error",g),n.removeSocket(i);return}return ic("tunneling connection has established"),n.sockets[n.sockets.indexOf(i)]=f,r(f)}o(u,"onConnect");function A(d){a.removeAllListeners(),ic(`tunneling socket could not be established, cause=%s +`,d.message,d.stack);var f=new Error("tunneling socket could not be established, cause="+d.message);f.code="ECONNRESET",e.request.emit("error",f),n.removeSocket(i)}o(A,"onError")},"createSocket");sa.prototype.removeSocket=o(function(e){var r=this.sockets.indexOf(e);if(r!==-1){this.sockets.splice(r,1);var n=this.requests.shift();n&&this.createSocket(n,function(i){n.request.onSocket(i)})}},"removeSocket");function YM(t,e){var r=this;sa.prototype.createSocket.call(r,t,function(n){var i=t.request.getHeader("host"),s=fw({},r.options,{socket:n,servername:i?i.replace(/:.*$/,""):t.host}),a=Poe.connect(0,s);r.sockets[r.sockets.indexOf(n)]=a,e(a)})}o(YM,"createSecureSocket");function KM(t,e,r){return typeof t=="string"?{host:t,port:e,localAddress:r}:t}o(KM,"toOptions");function fw(t){for(var e=1,r=arguments.length;e{VM.exports=JM()});var Kt=x((MXe,$M)=>{$M.exports={kClose:Symbol("close"),kDestroy:Symbol("destroy"),kDispatch:Symbol("dispatch"),kUrl:Symbol("url"),kWriting:Symbol("writing"),kResuming:Symbol("resuming"),kQueue:Symbol("queue"),kConnect:Symbol("connect"),kConnecting:Symbol("connecting"),kKeepAliveDefaultTimeout:Symbol("default keep alive timeout"),kKeepAliveMaxTimeout:Symbol("max keep alive timeout"),kKeepAliveTimeoutThreshold:Symbol("keep alive timeout threshold"),kKeepAliveTimeoutValue:Symbol("keep alive timeout"),kKeepAlive:Symbol("keep alive"),kHeadersTimeout:Symbol("headers timeout"),kBodyTimeout:Symbol("body timeout"),kServerName:Symbol("server name"),kLocalAddress:Symbol("local address"),kHost:Symbol("host"),kNoRef:Symbol("no ref"),kBodyUsed:Symbol("used"),kBody:Symbol("abstracted request body"),kRunning:Symbol("running"),kBlocking:Symbol("blocking"),kPending:Symbol("pending"),kSize:Symbol("size"),kBusy:Symbol("busy"),kQueued:Symbol("queued"),kFree:Symbol("free"),kConnected:Symbol("connected"),kClosed:Symbol("closed"),kNeedDrain:Symbol("need drain"),kReset:Symbol("reset"),kDestroyed:Symbol.for("nodejs.stream.destroyed"),kResume:Symbol("resume"),kOnError:Symbol("on error"),kMaxHeadersSize:Symbol("max headers size"),kRunningIdx:Symbol("running index"),kPendingIdx:Symbol("pending index"),kError:Symbol("error"),kClients:Symbol("clients"),kClient:Symbol("client"),kParser:Symbol("parser"),kOnDestroyed:Symbol("destroy callbacks"),kPipelining:Symbol("pipelining"),kSocket:Symbol("socket"),kHostHeader:Symbol("host header"),kConnector:Symbol("connector"),kStrictContentLength:Symbol("strict content length"),kMaxRedirections:Symbol("maxRedirections"),kMaxRequests:Symbol("maxRequestsPerClient"),kProxy:Symbol("proxy agent options"),kCounter:Symbol("socket request counter"),kInterceptors:Symbol("dispatch interceptors"),kMaxResponseSize:Symbol("max response size"),kHTTP2Session:Symbol("http2Session"),kHTTP2SessionState:Symbol("http2Session state"),kRetryHandlerDefaultRetry:Symbol("retry agent default retry"),kConstruct:Symbol("constructable"),kListeners:Symbol("listeners"),kHTTPContext:Symbol("http context"),kMaxConcurrentStreams:Symbol("max concurrent streams"),kNoProxyAgent:Symbol("no proxy agent"),kHttpProxyAgent:Symbol("http proxy agent"),kHttpsProxyAgent:Symbol("https proxy agent")}});var ft=x((LXe,xL)=>{"use strict";var XM=Symbol.for("undici.error.UND_ERR"),Jt=class extends Error{static{o(this,"UndiciError")}constructor(e){super(e),this.name="UndiciError",this.code="UND_ERR"}static[Symbol.hasInstance](e){return e&&e[XM]===!0}[XM]=!0},ZM=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT"),hw=class extends Jt{static{o(this,"ConnectTimeoutError")}constructor(e){super(e),this.name="ConnectTimeoutError",this.message=e||"Connect Timeout Error",this.code="UND_ERR_CONNECT_TIMEOUT"}static[Symbol.hasInstance](e){return e&&e[ZM]===!0}[ZM]=!0},eL=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT"),pw=class extends Jt{static{o(this,"HeadersTimeoutError")}constructor(e){super(e),this.name="HeadersTimeoutError",this.message=e||"Headers Timeout Error",this.code="UND_ERR_HEADERS_TIMEOUT"}static[Symbol.hasInstance](e){return e&&e[eL]===!0}[eL]=!0},tL=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW"),gw=class extends Jt{static{o(this,"HeadersOverflowError")}constructor(e){super(e),this.name="HeadersOverflowError",this.message=e||"Headers Overflow Error",this.code="UND_ERR_HEADERS_OVERFLOW"}static[Symbol.hasInstance](e){return e&&e[tL]===!0}[tL]=!0},rL=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT"),mw=class extends Jt{static{o(this,"BodyTimeoutError")}constructor(e){super(e),this.name="BodyTimeoutError",this.message=e||"Body Timeout Error",this.code="UND_ERR_BODY_TIMEOUT"}static[Symbol.hasInstance](e){return e&&e[rL]===!0}[rL]=!0},nL=Symbol.for("undici.error.UND_ERR_RESPONSE_STATUS_CODE"),yw=class extends Jt{static{o(this,"ResponseStatusCodeError")}constructor(e,r,n,i){super(e),this.name="ResponseStatusCodeError",this.message=e||"Response Status Code Error",this.code="UND_ERR_RESPONSE_STATUS_CODE",this.body=i,this.status=r,this.statusCode=r,this.headers=n}static[Symbol.hasInstance](e){return e&&e[nL]===!0}[nL]=!0},iL=Symbol.for("undici.error.UND_ERR_INVALID_ARG"),Ew=class extends Jt{static{o(this,"InvalidArgumentError")}constructor(e){super(e),this.name="InvalidArgumentError",this.message=e||"Invalid Argument Error",this.code="UND_ERR_INVALID_ARG"}static[Symbol.hasInstance](e){return e&&e[iL]===!0}[iL]=!0},sL=Symbol.for("undici.error.UND_ERR_INVALID_RETURN_VALUE"),bw=class extends Jt{static{o(this,"InvalidReturnValueError")}constructor(e){super(e),this.name="InvalidReturnValueError",this.message=e||"Invalid Return Value Error",this.code="UND_ERR_INVALID_RETURN_VALUE"}static[Symbol.hasInstance](e){return e&&e[sL]===!0}[sL]=!0},oL=Symbol.for("undici.error.UND_ERR_ABORT"),Pm=class extends Jt{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError",this.message=e||"The operation was aborted",this.code="UND_ERR_ABORT"}static[Symbol.hasInstance](e){return e&&e[oL]===!0}[oL]=!0},aL=Symbol.for("undici.error.UND_ERR_ABORTED"),Cw=class extends Pm{static{o(this,"RequestAbortedError")}constructor(e){super(e),this.name="AbortError",this.message=e||"Request aborted",this.code="UND_ERR_ABORTED"}static[Symbol.hasInstance](e){return e&&e[aL]===!0}[aL]=!0},cL=Symbol.for("undici.error.UND_ERR_INFO"),xw=class extends Jt{static{o(this,"InformationalError")}constructor(e){super(e),this.name="InformationalError",this.message=e||"Request information",this.code="UND_ERR_INFO"}static[Symbol.hasInstance](e){return e&&e[cL]===!0}[cL]=!0},lL=Symbol.for("undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"),Iw=class extends Jt{static{o(this,"RequestContentLengthMismatchError")}constructor(e){super(e),this.name="RequestContentLengthMismatchError",this.message=e||"Request body length does not match content-length header",this.code="UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](e){return e&&e[lL]===!0}[lL]=!0},uL=Symbol.for("undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH"),Bw=class extends Jt{static{o(this,"ResponseContentLengthMismatchError")}constructor(e){super(e),this.name="ResponseContentLengthMismatchError",this.message=e||"Response body length does not match content-length header",this.code="UND_ERR_RES_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](e){return e&&e[uL]===!0}[uL]=!0},AL=Symbol.for("undici.error.UND_ERR_DESTROYED"),ww=class extends Jt{static{o(this,"ClientDestroyedError")}constructor(e){super(e),this.name="ClientDestroyedError",this.message=e||"The client is destroyed",this.code="UND_ERR_DESTROYED"}static[Symbol.hasInstance](e){return e&&e[AL]===!0}[AL]=!0},dL=Symbol.for("undici.error.UND_ERR_CLOSED"),Qw=class extends Jt{static{o(this,"ClientClosedError")}constructor(e){super(e),this.name="ClientClosedError",this.message=e||"The client is closed",this.code="UND_ERR_CLOSED"}static[Symbol.hasInstance](e){return e&&e[dL]===!0}[dL]=!0},fL=Symbol.for("undici.error.UND_ERR_SOCKET"),Sw=class extends Jt{static{o(this,"SocketError")}constructor(e,r){super(e),this.name="SocketError",this.message=e||"Socket error",this.code="UND_ERR_SOCKET",this.socket=r}static[Symbol.hasInstance](e){return e&&e[fL]===!0}[fL]=!0},hL=Symbol.for("undici.error.UND_ERR_NOT_SUPPORTED"),Nw=class extends Jt{static{o(this,"NotSupportedError")}constructor(e){super(e),this.name="NotSupportedError",this.message=e||"Not supported error",this.code="UND_ERR_NOT_SUPPORTED"}static[Symbol.hasInstance](e){return e&&e[hL]===!0}[hL]=!0},pL=Symbol.for("undici.error.UND_ERR_BPL_MISSING_UPSTREAM"),vw=class extends Jt{static{o(this,"BalancedPoolMissingUpstreamError")}constructor(e){super(e),this.name="MissingUpstreamError",this.message=e||"No upstream has been added to the BalancedPool",this.code="UND_ERR_BPL_MISSING_UPSTREAM"}static[Symbol.hasInstance](e){return e&&e[pL]===!0}[pL]=!0},gL=Symbol.for("undici.error.UND_ERR_HTTP_PARSER"),Rw=class extends Error{static{o(this,"HTTPParserError")}constructor(e,r,n){super(e),this.name="HTTPParserError",this.code=r?`HPE_${r}`:void 0,this.data=n?n.toString():void 0}static[Symbol.hasInstance](e){return e&&e[gL]===!0}[gL]=!0},mL=Symbol.for("undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE"),Pw=class extends Jt{static{o(this,"ResponseExceededMaxSizeError")}constructor(e){super(e),this.name="ResponseExceededMaxSizeError",this.message=e||"Response content exceeded max size",this.code="UND_ERR_RES_EXCEEDED_MAX_SIZE"}static[Symbol.hasInstance](e){return e&&e[mL]===!0}[mL]=!0},yL=Symbol.for("undici.error.UND_ERR_REQ_RETRY"),_w=class extends Jt{static{o(this,"RequestRetryError")}constructor(e,r,{headers:n,data:i}){super(e),this.name="RequestRetryError",this.message=e||"Request retry error",this.code="UND_ERR_REQ_RETRY",this.statusCode=r,this.data=i,this.headers=n}static[Symbol.hasInstance](e){return e&&e[yL]===!0}[yL]=!0},EL=Symbol.for("undici.error.UND_ERR_RESPONSE"),Dw=class extends Jt{static{o(this,"ResponseError")}constructor(e,r,{headers:n,data:i}){super(e),this.name="ResponseError",this.message=e||"Response error",this.code="UND_ERR_RESPONSE",this.statusCode=r,this.data=i,this.headers=n}static[Symbol.hasInstance](e){return e&&e[EL]===!0}[EL]=!0},bL=Symbol.for("undici.error.UND_ERR_PRX_TLS"),kw=class extends Jt{static{o(this,"SecureProxyConnectionError")}constructor(e,r,n){super(r,{cause:e,...n??{}}),this.name="SecureProxyConnectionError",this.message=r||"Secure Proxy Connection failed",this.code="UND_ERR_PRX_TLS",this.cause=e}static[Symbol.hasInstance](e){return e&&e[bL]===!0}[bL]=!0},CL=Symbol.for("undici.error.UND_ERR_WS_MESSAGE_SIZE_EXCEEDED"),Tw=class extends Jt{static{o(this,"MessageSizeExceededError")}constructor(e){super(e),this.name="MessageSizeExceededError",this.message=e||"Max decompressed message size exceeded",this.code="UND_ERR_WS_MESSAGE_SIZE_EXCEEDED"}static[Symbol.hasInstance](e){return e&&e[CL]===!0}get[CL](){return!0}};xL.exports={AbortError:Pm,HTTPParserError:Rw,UndiciError:Jt,HeadersTimeoutError:pw,HeadersOverflowError:gw,BodyTimeoutError:mw,RequestContentLengthMismatchError:Iw,ConnectTimeoutError:hw,ResponseStatusCodeError:yw,InvalidArgumentError:Ew,InvalidReturnValueError:bw,RequestAbortedError:Cw,ClientDestroyedError:ww,ClientClosedError:Qw,InformationalError:xw,SocketError:Sw,NotSupportedError:Nw,ResponseContentLengthMismatchError:Bw,BalancedPoolMissingUpstreamError:vw,ResponseExceededMaxSizeError:Pw,RequestRetryError:_w,ResponseError:Dw,SecureProxyConnectionError:kw,MessageSizeExceededError:Tw}});var Dm=x((FXe,IL)=>{"use strict";var _m={},Ow=["Accept","Accept-Encoding","Accept-Language","Accept-Ranges","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Age","Allow","Alt-Svc","Alt-Used","Authorization","Cache-Control","Clear-Site-Data","Connection","Content-Disposition","Content-Encoding","Content-Language","Content-Length","Content-Location","Content-Range","Content-Security-Policy","Content-Security-Policy-Report-Only","Content-Type","Cookie","Cross-Origin-Embedder-Policy","Cross-Origin-Opener-Policy","Cross-Origin-Resource-Policy","Date","Device-Memory","Downlink","ECT","ETag","Expect","Expect-CT","Expires","Forwarded","From","Host","If-Match","If-Modified-Since","If-None-Match","If-Range","If-Unmodified-Since","Keep-Alive","Last-Modified","Link","Location","Max-Forwards","Origin","Permissions-Policy","Pragma","Proxy-Authenticate","Proxy-Authorization","RTT","Range","Referer","Referrer-Policy","Refresh","Retry-After","Sec-WebSocket-Accept","Sec-WebSocket-Extensions","Sec-WebSocket-Key","Sec-WebSocket-Protocol","Sec-WebSocket-Version","Server","Server-Timing","Service-Worker-Allowed","Service-Worker-Navigation-Preload","Set-Cookie","SourceMap","Strict-Transport-Security","Supports-Loading-Mode","TE","Timing-Allow-Origin","Trailer","Transfer-Encoding","Upgrade","Upgrade-Insecure-Requests","User-Agent","Vary","Via","WWW-Authenticate","X-Content-Type-Options","X-DNS-Prefetch-Control","X-Frame-Options","X-Permitted-Cross-Domain-Policies","X-Powered-By","X-Requested-With","X-XSS-Protection"];for(let t=0;t{"use strict";var{wellknownHeaderNames:BL,headerNameLowerCasedRecord:Loe}=Dm(),Mw=class t{static{o(this,"TstNode")}value=null;left=null;middle=null;right=null;code;constructor(e,r,n){if(n===void 0||n>=e.length)throw new TypeError("Unreachable");if((this.code=e.charCodeAt(n))>127)throw new TypeError("key must be ascii string");e.length!==++n?this.middle=new t(e,r,n):this.value=r}add(e,r){let n=e.length;if(n===0)throw new TypeError("Unreachable");let i=0,s=this;for(;;){let a=e.charCodeAt(i);if(a>127)throw new TypeError("key must be ascii string");if(s.code===a)if(n===++i){s.value=r;break}else if(s.middle!==null)s=s.middle;else{s.middle=new t(e,r,i);break}else if(s.code=65&&(s|=32);i!==null;){if(s===i.code){if(r===++n)return i;i=i.middle;break}i=i.code{"use strict";var hh=require("node:assert"),{kDestroyed:vL,kBodyUsed:cA,kListeners:Lw,kBody:NL}=Kt(),{IncomingMessage:Uoe}=require("node:http"),Mm=require("node:stream"),Foe=require("node:net"),{Blob:Hoe}=require("node:buffer"),qoe=require("node:util"),{stringify:zoe}=require("node:querystring"),{EventEmitter:Goe}=require("node:events"),{InvalidArgumentError:Yr}=ft(),{headerNameLowerCasedRecord:joe}=Dm(),{tree:RL}=SL(),[Yoe,Koe]=process.versions.node.split(".").map(t=>Number(t)),Om=class{static{o(this,"BodyAsyncIterable")}constructor(e){this[NL]=e,this[cA]=!1}async*[Symbol.asyncIterator](){hh(!this[cA],"disturbed"),this[cA]=!0,yield*this[NL]}};function Joe(t){return Lm(t)?(TL(t)===0&&t.on("data",function(){hh(!1)}),typeof t.readableDidRead!="boolean"&&(t[cA]=!1,Goe.prototype.on.call(t,"data",function(){this[cA]=!0})),t):t&&typeof t.pipeTo=="function"?new Om(t):t&&typeof t!="string"&&!ArrayBuffer.isView(t)&&kL(t)?new Om(t):t}o(Joe,"wrapRequestBody");function Voe(){}o(Voe,"nop");function Lm(t){return t&&typeof t=="object"&&typeof t.pipe=="function"&&typeof t.on=="function"}o(Lm,"isStream");function PL(t){if(t===null)return!1;if(t instanceof Hoe)return!0;if(typeof t!="object")return!1;{let e=t[Symbol.toStringTag];return(e==="Blob"||e==="File")&&("stream"in t&&typeof t.stream=="function"||"arrayBuffer"in t&&typeof t.arrayBuffer=="function")}}o(PL,"isBlobLike");function Woe(t,e){if(t.includes("?")||t.includes("#"))throw new Error('Query params cannot be passed when url already contains "?" or "#".');let r=zoe(e);return r&&(t+="?"+r),t}o(Woe,"buildURL");function _L(t){let e=parseInt(t,10);return e===Number(t)&&e>=0&&e<=65535}o(_L,"isValidPort");function Tm(t){return t!=null&&t[0]==="h"&&t[1]==="t"&&t[2]==="t"&&t[3]==="p"&&(t[4]===":"||t[4]==="s"&&t[5]===":")}o(Tm,"isHttpOrHttpsPrefixed");function DL(t){if(typeof t=="string"){if(t=new URL(t),!Tm(t.origin||t.protocol))throw new Yr("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}if(!t||typeof t!="object")throw new Yr("Invalid URL: The URL argument must be a non-null object.");if(!(t instanceof URL)){if(t.port!=null&&t.port!==""&&_L(t.port)===!1)throw new Yr("Invalid URL: port must be a valid integer or a string representation of an integer.");if(t.path!=null&&typeof t.path!="string")throw new Yr("Invalid URL path: the path must be a string or null/undefined.");if(t.pathname!=null&&typeof t.pathname!="string")throw new Yr("Invalid URL pathname: the pathname must be a string or null/undefined.");if(t.hostname!=null&&typeof t.hostname!="string")throw new Yr("Invalid URL hostname: the hostname must be a string or null/undefined.");if(t.origin!=null&&typeof t.origin!="string")throw new Yr("Invalid URL origin: the origin must be a string or null/undefined.");if(!Tm(t.origin||t.protocol))throw new Yr("Invalid URL protocol: the URL must start with `http:` or `https:`.");let e=t.port!=null?t.port:t.protocol==="https:"?443:80,r=t.origin!=null?t.origin:`${t.protocol||""}//${t.hostname||""}:${e}`,n=t.path!=null?t.path:`${t.pathname||""}${t.search||""}`;return r[r.length-1]==="/"&&(r=r.slice(0,r.length-1)),n&&n[0]!=="/"&&(n=`/${n}`),new URL(`${r}${n}`)}if(!Tm(t.origin||t.protocol))throw new Yr("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}o(DL,"parseURL");function $oe(t){if(t=DL(t),t.pathname!=="/"||t.search||t.hash)throw new Yr("invalid url");return t}o($oe,"parseOrigin");function Xoe(t){if(t[0]==="["){let r=t.indexOf("]");return hh(r!==-1),t.substring(1,r)}let e=t.indexOf(":");return e===-1?t:t.substring(0,e)}o(Xoe,"getHostname");function Zoe(t){if(!t)return null;hh(typeof t=="string");let e=Xoe(t);return Foe.isIP(e)?"":e}o(Zoe,"getServerName");function eae(t){return JSON.parse(JSON.stringify(t))}o(eae,"deepClone");function tae(t){return t!=null&&typeof t[Symbol.asyncIterator]=="function"}o(tae,"isAsyncIterable");function kL(t){return t!=null&&(typeof t[Symbol.iterator]=="function"||typeof t[Symbol.asyncIterator]=="function")}o(kL,"isIterable");function TL(t){if(t==null)return 0;if(Lm(t)){let e=t._readableState;return e&&e.objectMode===!1&&e.ended===!0&&Number.isFinite(e.length)?e.length:null}else{if(PL(t))return t.size!=null?t.size:null;if(LL(t))return t.byteLength}return null}o(TL,"bodyLength");function OL(t){return t&&!!(t.destroyed||t[vL]||Mm.isDestroyed?.(t))}o(OL,"isDestroyed");function rae(t,e){t==null||!Lm(t)||OL(t)||(typeof t.destroy=="function"?(Object.getPrototypeOf(t).constructor===Uoe&&(t.socket=null),t.destroy(e)):e&&queueMicrotask(()=>{t.emit("error",e)}),t.destroyed!==!0&&(t[vL]=!0))}o(rae,"destroy");var nae=/timeout=(\d+)/;function iae(t){let e=t.toString().match(nae);return e?parseInt(e[1],10)*1e3:null}o(iae,"parseKeepAliveTimeout");function ML(t){return typeof t=="string"?joe[t]??t.toLowerCase():RL.lookup(t)??t.toString("latin1").toLowerCase()}o(ML,"headerNameToString");function sae(t){return RL.lookup(t)??t.toString("latin1").toLowerCase()}o(sae,"bufferToLowerCasedHeaderName");function oae(t,e){e===void 0&&(e={});for(let r=0;ra.toString("utf8")):s.toString("utf8")}}return"content-length"in e&&"content-disposition"in e&&(e["content-disposition"]=Buffer.from(e["content-disposition"]).toString("latin1")),e}o(oae,"parseHeaders");function aae(t){let e=t.length,r=new Array(e),n=!1,i=-1,s,a,c=0;for(let l=0;l{r.close(),r.byobRequest?.respond(0)});else{let s=Buffer.isBuffer(i)?i:Buffer.from(i);s.byteLength&&r.enqueue(new Uint8Array(s))}return r.desiredSize>0},async cancel(r){await e.return()},type:"bytes"})}o(fae,"ReadableStreamFrom");function hae(t){return t&&typeof t=="object"&&typeof t.append=="function"&&typeof t.delete=="function"&&typeof t.get=="function"&&typeof t.getAll=="function"&&typeof t.has=="function"&&typeof t.set=="function"&&t[Symbol.toStringTag]==="FormData"}o(hae,"isFormDataLike");function pae(t,e){return"addEventListener"in t?(t.addEventListener("abort",e,{once:!0}),()=>t.removeEventListener("abort",e)):(t.addListener("abort",e),()=>t.removeListener("abort",e))}o(pae,"addAbortListener");var gae=typeof String.prototype.toWellFormed=="function",mae=typeof String.prototype.isWellFormed=="function";function UL(t){return gae?`${t}`.toWellFormed():qoe.toUSVString(t)}o(UL,"toUSVString");function yae(t){return mae?`${t}`.isWellFormed():UL(t)===`${t}`}o(yae,"isUSVString");function FL(t){switch(t){case 34:case 40:case 41:case 44:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 123:case 125:return!1;default:return t>=33&&t<=126}}o(FL,"isTokenCharCode");function Eae(t){if(t.length===0)return!1;for(let e=0;e{"use strict";var Et=require("node:diagnostics_channel"),Hw=require("node:util"),Um=Hw.debuglog("undici"),Fw=Hw.debuglog("fetch"),Nl=Hw.debuglog("websocket"),GL=!1,Qae={beforeConnect:Et.channel("undici:client:beforeConnect"),connected:Et.channel("undici:client:connected"),connectError:Et.channel("undici:client:connectError"),sendHeaders:Et.channel("undici:client:sendHeaders"),create:Et.channel("undici:request:create"),bodySent:Et.channel("undici:request:bodySent"),headers:Et.channel("undici:request:headers"),trailers:Et.channel("undici:request:trailers"),error:Et.channel("undici:request:error"),open:Et.channel("undici:websocket:open"),close:Et.channel("undici:websocket:close"),socketError:Et.channel("undici:websocket:socket_error"),ping:Et.channel("undici:websocket:ping"),pong:Et.channel("undici:websocket:pong")};if(Um.enabled||Fw.enabled){let t=Fw.enabled?Fw:Um;Et.channel("undici:client:beforeConnect").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:i,host:s}}=e;t("connecting to %s using %s%s",`${s}${i?`:${i}`:""}`,n,r)}),Et.channel("undici:client:connected").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:i,host:s}}=e;t("connected to %s using %s%s",`${s}${i?`:${i}`:""}`,n,r)}),Et.channel("undici:client:connectError").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:i,host:s},error:a}=e;t("connection to %s using %s%s errored - %s",`${s}${i?`:${i}`:""}`,n,r,a.message)}),Et.channel("undici:client:sendHeaders").subscribe(e=>{let{request:{method:r,path:n,origin:i}}=e;t("sending request to %s %s/%s",r,i,n)}),Et.channel("undici:request:headers").subscribe(e=>{let{request:{method:r,path:n,origin:i},response:{statusCode:s}}=e;t("received response to %s %s/%s - HTTP %d",r,i,n,s)}),Et.channel("undici:request:trailers").subscribe(e=>{let{request:{method:r,path:n,origin:i}}=e;t("trailers received from %s %s/%s",r,i,n)}),Et.channel("undici:request:error").subscribe(e=>{let{request:{method:r,path:n,origin:i},error:s}=e;t("request to %s %s/%s errored - %s",r,i,n,s.message)}),GL=!0}if(Nl.enabled){if(!GL){let t=Um.enabled?Um:Nl;Et.channel("undici:client:beforeConnect").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:i,host:s}}=e;t("connecting to %s%s using %s%s",s,i?`:${i}`:"",n,r)}),Et.channel("undici:client:connected").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:i,host:s}}=e;t("connected to %s%s using %s%s",s,i?`:${i}`:"",n,r)}),Et.channel("undici:client:connectError").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:i,host:s},error:a}=e;t("connection to %s%s using %s%s errored - %s",s,i?`:${i}`:"",n,r,a.message)}),Et.channel("undici:client:sendHeaders").subscribe(e=>{let{request:{method:r,path:n,origin:i}}=e;t("sending request to %s %s/%s",r,i,n)})}Et.channel("undici:websocket:open").subscribe(t=>{let{address:{address:e,port:r}}=t;Nl("connection opened %s%s",e,r?`:${r}`:"")}),Et.channel("undici:websocket:close").subscribe(t=>{let{websocket:e,code:r,reason:n}=t;Nl("closed connection to %s - %s %s",e.url,r,n)}),Et.channel("undici:websocket:socket_error").subscribe(t=>{Nl("connection errored - %s",t.message)}),Et.channel("undici:websocket:ping").subscribe(t=>{Nl("ping received")}),Et.channel("undici:websocket:pong").subscribe(t=>{Nl("pong received")})}jL.exports={channels:Qae}});var VL=x((YXe,JL)=>{"use strict";var{InvalidArgumentError:kt,NotSupportedError:Sae}=ft(),oa=require("node:assert"),{isValidHTTPToken:KL,isValidHeaderValue:qw,isStream:Nae,destroy:vae,isBuffer:Rae,isFormDataLike:Pae,isIterable:_ae,isBlobLike:Dae,buildURL:kae,validateHandler:Tae,getServerName:Oae,normalizedMethodRecords:Mae}=Xe(),{channels:co}=lA(),{headerNameLowerCasedRecord:YL}=Dm(),Lae=/[^\u0021-\u00ff]/,Wi=Symbol("handler"),zw=class{static{o(this,"Request")}constructor(e,{path:r,method:n,body:i,headers:s,query:a,idempotent:c,blocking:l,upgrade:u,headersTimeout:A,bodyTimeout:d,reset:f,throwOnError:h,expectContinue:g,servername:m},b){if(typeof r!="string")throw new kt("path must be a string");if(r[0]!=="/"&&!(r.startsWith("http://")||r.startsWith("https://"))&&n!=="CONNECT")throw new kt("path must be an absolute URL or start with a slash");if(Lae.test(r))throw new kt("invalid request path");if(typeof n!="string")throw new kt("method must be a string");if(Mae[n]===void 0&&!KL(n))throw new kt("invalid request method");if(u&&typeof u!="string")throw new kt("upgrade must be a string");if(u&&!qw(u))throw new kt("invalid upgrade header");if(A!=null&&(!Number.isFinite(A)||A<0))throw new kt("invalid headersTimeout");if(d!=null&&(!Number.isFinite(d)||d<0))throw new kt("invalid bodyTimeout");if(f!=null&&typeof f!="boolean")throw new kt("invalid reset");if(g!=null&&typeof g!="boolean")throw new kt("invalid expectContinue");if(this.headersTimeout=A,this.bodyTimeout=d,this.throwOnError=h===!0,this.method=n,this.abort=null,i==null)this.body=null;else if(Nae(i)){this.body=i;let y=this.body._readableState;(!y||!y.autoDestroy)&&(this.endHandler=o(function(){vae(this)},"autoDestroy"),this.body.on("end",this.endHandler)),this.errorHandler=I=>{this.abort?this.abort(I):this.error=I},this.body.on("error",this.errorHandler)}else if(Rae(i))this.body=i.byteLength?i:null;else if(ArrayBuffer.isView(i))this.body=i.buffer.byteLength?Buffer.from(i.buffer,i.byteOffset,i.byteLength):null;else if(i instanceof ArrayBuffer)this.body=i.byteLength?Buffer.from(i):null;else if(typeof i=="string")this.body=i.length?Buffer.from(i):null;else if(Pae(i)||_ae(i)||Dae(i))this.body=i;else throw new kt("body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable");if(this.completed=!1,this.aborted=!1,this.upgrade=u||null,this.path=a?kae(r,a):r,this.origin=e,this.idempotent=c??(n==="HEAD"||n==="GET"),this.blocking=l??!1,this.reset=f??null,this.host=null,this.contentLength=null,this.contentType=null,this.headers=[],this.expectContinue=g??!1,Array.isArray(s)){if(s.length%2!==0)throw new kt("headers array must be even");for(let y=0;y{"use strict";var Uae=require("node:events"),Hm=class extends Uae{static{o(this,"Dispatcher")}dispatch(){throw new Error("not implemented")}close(){throw new Error("not implemented")}destroy(){throw new Error("not implemented")}compose(...e){let r=Array.isArray(e[0])?e[0]:e,n=this.dispatch.bind(this);for(let i of r)if(i!=null){if(typeof i!="function")throw new TypeError(`invalid interceptor, expected function received ${typeof i}`);if(n=i(n),n==null||typeof n!="function"||n.length!==2)throw new TypeError("invalid interceptor")}return new Gw(this,n)}},Gw=class extends Hm{static{o(this,"ComposedDispatcher")}#e=null;#t=null;constructor(e,r){super(),this.#e=e,this.#t=r}dispatch(...e){this.#t(...e)}close(...e){return this.#e.close(...e)}destroy(...e){return this.#e.destroy(...e)}};WL.exports=Hm});var fA=x((WXe,$L)=>{"use strict";var Fae=ph(),{ClientDestroyedError:jw,ClientClosedError:Hae,InvalidArgumentError:uA}=ft(),{kDestroy:qae,kClose:zae,kClosed:gh,kDestroyed:AA,kDispatch:Yw,kInterceptors:vl}=Kt(),aa=Symbol("onDestroyed"),dA=Symbol("onClosed"),qm=Symbol("Intercepted Dispatch"),Kw=class extends Fae{static{o(this,"DispatcherBase")}constructor(){super(),this[AA]=!1,this[aa]=null,this[gh]=!1,this[dA]=[]}get destroyed(){return this[AA]}get closed(){return this[gh]}get interceptors(){return this[vl]}set interceptors(e){if(e){for(let r=e.length-1;r>=0;r--)if(typeof this[vl][r]!="function")throw new uA("interceptor must be an function")}this[vl]=e}close(e){if(e===void 0)return new Promise((n,i)=>{this.close((s,a)=>s?i(s):n(a))});if(typeof e!="function")throw new uA("invalid callback");if(this[AA]){queueMicrotask(()=>e(new jw,null));return}if(this[gh]){this[dA]?this[dA].push(e):queueMicrotask(()=>e(null,null));return}this[gh]=!0,this[dA].push(e);let r=o(()=>{let n=this[dA];this[dA]=null;for(let i=0;ithis.destroy()).then(()=>{queueMicrotask(r)})}destroy(e,r){if(typeof e=="function"&&(r=e,e=null),r===void 0)return new Promise((i,s)=>{this.destroy(e,(a,c)=>a?s(a):i(c))});if(typeof r!="function")throw new uA("invalid callback");if(this[AA]){this[aa]?this[aa].push(r):queueMicrotask(()=>r(null,null));return}e||(e=new jw),this[AA]=!0,this[aa]=this[aa]||[],this[aa].push(r);let n=o(()=>{let i=this[aa];this[aa]=null;for(let s=0;s{queueMicrotask(n)})}[qm](e,r){if(!this[vl]||this[vl].length===0)return this[qm]=this[Yw],this[Yw](e,r);let n=this[Yw].bind(this);for(let i=this[vl].length-1;i>=0;i--)n=this[vl][i](n);return this[qm]=n,n(e,r)}dispatch(e,r){if(!r||typeof r!="object")throw new uA("handler must be an object");try{if(!e||typeof e!="object")throw new uA("opts must be an object.");if(this[AA]||this[aa])throw new jw;if(this[gh])throw new Hae;return this[qm](e,r)}catch(n){if(typeof r.onError!="function")throw new uA("invalid onError method");return r.onError(n),!1}}};$L.exports=Kw});var eQ=x((XXe,tU)=>{"use strict";var hA=0,Jw=1e3,Vw=(Jw>>1)-1,ca,Ww=Symbol("kFastTimer"),la=[],$w=-2,Xw=-1,ZL=0,XL=1;function Zw(){hA+=Vw;let t=0,e=la.length;for(;t=r._idleStart+r._idleTimeout&&(r._state=Xw,r._idleStart=-1,r._onTimeout(r._timerArg)),r._state===Xw?(r._state=$w,--e!==0&&(la[t]=la[e])):++t}la.length=e,la.length!==0&&eU()}o(Zw,"onTick");function eU(){ca?ca.refresh():(clearTimeout(ca),ca=setTimeout(Zw,Vw),ca.unref&&ca.unref())}o(eU,"refreshTimeout");var zm=class{static{o(this,"FastTimer")}[Ww]=!0;_state=$w;_idleTimeout=-1;_idleStart=-1;_onTimeout;_timerArg;constructor(e,r,n){this._onTimeout=e,this._idleTimeout=r,this._timerArg=n,this.refresh()}refresh(){this._state===$w&&la.push(this),(!ca||la.length===1)&&eU(),this._state=ZL}clear(){this._state=Xw,this._idleStart=-1}};tU.exports={setTimeout(t,e,r){return e<=Jw?setTimeout(t,e,r):new zm(t,e,r)},clearTimeout(t){t[Ww]?t.clear():clearTimeout(t)},setFastTimeout(t,e,r){return new zm(t,e,r)},clearFastTimeout(t){t.clear()},now(){return hA},tick(t=0){hA+=t-Jw+1,Zw(),Zw()},reset(){hA=0,la.length=0,clearTimeout(ca),ca=null},kFastTimer:Ww}});var mh=x((rZe,oU)=>{"use strict";var Gae=require("node:net"),rU=require("node:assert"),sU=Xe(),{InvalidArgumentError:jae,ConnectTimeoutError:Yae}=ft(),Gm=eQ();function nU(){}o(nU,"noop");var tQ,rQ;global.FinalizationRegistry&&!(process.env.NODE_V8_COVERAGE||process.env.UNDICI_NO_FG)?rQ=class{static{o(this,"WeakSessionCache")}constructor(e){this._maxCachedSessions=e,this._sessionCache=new Map,this._sessionRegistry=new global.FinalizationRegistry(r=>{if(this._sessionCache.size=this._maxCachedSessions){let{value:n}=this._sessionCache.keys().next();this._sessionCache.delete(n)}this._sessionCache.set(e,r)}}};function Kae({allowH2:t,maxCachedSessions:e,socketPath:r,timeout:n,session:i,...s}){if(e!=null&&(!Number.isInteger(e)||e<0))throw new jae("maxCachedSessions must be a positive integer or zero");let a={path:r,...s},c=new rQ(e??100);return n=n??1e4,t=t??!1,o(function({hostname:u,host:A,protocol:d,port:f,servername:h,localAddress:g,httpSocket:m},b){let y;if(d==="https:"){tQ||(tQ=require("node:tls")),h=h||a.servername||sU.getServerName(A)||null;let w=h||u;rU(w);let v=i||c.get(w)||null;f=f||443,y=tQ.connect({highWaterMark:16384,...a,servername:h,session:v,localAddress:g,ALPNProtocols:t?["http/1.1","h2"]:["http/1.1"],socket:m,port:f,host:u}),y.on("session",function(U){c.set(w,U)})}else rU(!m,"httpSocket can only be sent on TLS update"),f=f||80,y=Gae.connect({highWaterMark:64*1024,...a,localAddress:g,port:f,host:u});if(a.keepAlive==null||a.keepAlive){let w=a.keepAliveInitialDelay===void 0?6e4:a.keepAliveInitialDelay;y.setKeepAlive(!0,w)}let I=Jae(new WeakRef(y),{timeout:n,hostname:u,port:f});return y.setNoDelay(!0).once(d==="https:"?"secureConnect":"connect",function(){if(queueMicrotask(I),b){let w=b;b=null,w(null,this)}}).on("error",function(w){if(queueMicrotask(I),b){let v=b;b=null,v(w)}}),y},"connect")}o(Kae,"buildConnector");var Jae=process.platform==="win32"?(t,e)=>{if(!e.timeout)return nU;let r=null,n=null,i=Gm.setFastTimeout(()=>{r=setImmediate(()=>{n=setImmediate(()=>iU(t.deref(),e))})},e.timeout);return()=>{Gm.clearFastTimeout(i),clearImmediate(r),clearImmediate(n)}}:(t,e)=>{if(!e.timeout)return nU;let r=null,n=Gm.setFastTimeout(()=>{r=setImmediate(()=>{iU(t.deref(),e)})},e.timeout);return()=>{Gm.clearFastTimeout(n),clearImmediate(r)}};function iU(t,e){if(t==null)return;let r="Connect Timeout Error";Array.isArray(t.autoSelectFamilyAttemptedAddresses)?r+=` (attempted addresses: ${t.autoSelectFamilyAttemptedAddresses.join(", ")},`:r+=` (attempted address: ${e.hostname}:${e.port},`,r+=` timeout: ${e.timeout}ms)`,sU.destroy(t,new Yae(r))}o(iU,"onConnectTimeout");oU.exports=Kae});var aU=x(jm=>{"use strict";Object.defineProperty(jm,"__esModule",{value:!0});jm.enumToMap=void 0;function Vae(t){let e={};return Object.keys(t).forEach(r=>{let n=t[r];typeof n=="number"&&(e[r]=n)}),e}o(Vae,"enumToMap");jm.enumToMap=Vae});var cU=x(ge=>{"use strict";Object.defineProperty(ge,"__esModule",{value:!0});ge.SPECIAL_HEADERS=ge.HEADER_STATE=ge.MINOR=ge.MAJOR=ge.CONNECTION_TOKEN_CHARS=ge.HEADER_CHARS=ge.TOKEN=ge.STRICT_TOKEN=ge.HEX=ge.URL_CHAR=ge.STRICT_URL_CHAR=ge.USERINFO_CHARS=ge.MARK=ge.ALPHANUM=ge.NUM=ge.HEX_MAP=ge.NUM_MAP=ge.ALPHA=ge.FINISH=ge.H_METHOD_MAP=ge.METHOD_MAP=ge.METHODS_RTSP=ge.METHODS_ICE=ge.METHODS_HTTP=ge.METHODS=ge.LENIENT_FLAGS=ge.FLAGS=ge.TYPE=ge.ERROR=void 0;var Wae=aU(),$ae;(function(t){t[t.OK=0]="OK",t[t.INTERNAL=1]="INTERNAL",t[t.STRICT=2]="STRICT",t[t.LF_EXPECTED=3]="LF_EXPECTED",t[t.UNEXPECTED_CONTENT_LENGTH=4]="UNEXPECTED_CONTENT_LENGTH",t[t.CLOSED_CONNECTION=5]="CLOSED_CONNECTION",t[t.INVALID_METHOD=6]="INVALID_METHOD",t[t.INVALID_URL=7]="INVALID_URL",t[t.INVALID_CONSTANT=8]="INVALID_CONSTANT",t[t.INVALID_VERSION=9]="INVALID_VERSION",t[t.INVALID_HEADER_TOKEN=10]="INVALID_HEADER_TOKEN",t[t.INVALID_CONTENT_LENGTH=11]="INVALID_CONTENT_LENGTH",t[t.INVALID_CHUNK_SIZE=12]="INVALID_CHUNK_SIZE",t[t.INVALID_STATUS=13]="INVALID_STATUS",t[t.INVALID_EOF_STATE=14]="INVALID_EOF_STATE",t[t.INVALID_TRANSFER_ENCODING=15]="INVALID_TRANSFER_ENCODING",t[t.CB_MESSAGE_BEGIN=16]="CB_MESSAGE_BEGIN",t[t.CB_HEADERS_COMPLETE=17]="CB_HEADERS_COMPLETE",t[t.CB_MESSAGE_COMPLETE=18]="CB_MESSAGE_COMPLETE",t[t.CB_CHUNK_HEADER=19]="CB_CHUNK_HEADER",t[t.CB_CHUNK_COMPLETE=20]="CB_CHUNK_COMPLETE",t[t.PAUSED=21]="PAUSED",t[t.PAUSED_UPGRADE=22]="PAUSED_UPGRADE",t[t.PAUSED_H2_UPGRADE=23]="PAUSED_H2_UPGRADE",t[t.USER=24]="USER"})($ae=ge.ERROR||(ge.ERROR={}));var Xae;(function(t){t[t.BOTH=0]="BOTH",t[t.REQUEST=1]="REQUEST",t[t.RESPONSE=2]="RESPONSE"})(Xae=ge.TYPE||(ge.TYPE={}));var Zae;(function(t){t[t.CONNECTION_KEEP_ALIVE=1]="CONNECTION_KEEP_ALIVE",t[t.CONNECTION_CLOSE=2]="CONNECTION_CLOSE",t[t.CONNECTION_UPGRADE=4]="CONNECTION_UPGRADE",t[t.CHUNKED=8]="CHUNKED",t[t.UPGRADE=16]="UPGRADE",t[t.CONTENT_LENGTH=32]="CONTENT_LENGTH",t[t.SKIPBODY=64]="SKIPBODY",t[t.TRAILING=128]="TRAILING",t[t.TRANSFER_ENCODING=512]="TRANSFER_ENCODING"})(Zae=ge.FLAGS||(ge.FLAGS={}));var ece;(function(t){t[t.HEADERS=1]="HEADERS",t[t.CHUNKED_LENGTH=2]="CHUNKED_LENGTH",t[t.KEEP_ALIVE=4]="KEEP_ALIVE"})(ece=ge.LENIENT_FLAGS||(ge.LENIENT_FLAGS={}));var Te;(function(t){t[t.DELETE=0]="DELETE",t[t.GET=1]="GET",t[t.HEAD=2]="HEAD",t[t.POST=3]="POST",t[t.PUT=4]="PUT",t[t.CONNECT=5]="CONNECT",t[t.OPTIONS=6]="OPTIONS",t[t.TRACE=7]="TRACE",t[t.COPY=8]="COPY",t[t.LOCK=9]="LOCK",t[t.MKCOL=10]="MKCOL",t[t.MOVE=11]="MOVE",t[t.PROPFIND=12]="PROPFIND",t[t.PROPPATCH=13]="PROPPATCH",t[t.SEARCH=14]="SEARCH",t[t.UNLOCK=15]="UNLOCK",t[t.BIND=16]="BIND",t[t.REBIND=17]="REBIND",t[t.UNBIND=18]="UNBIND",t[t.ACL=19]="ACL",t[t.REPORT=20]="REPORT",t[t.MKACTIVITY=21]="MKACTIVITY",t[t.CHECKOUT=22]="CHECKOUT",t[t.MERGE=23]="MERGE",t[t["M-SEARCH"]=24]="M-SEARCH",t[t.NOTIFY=25]="NOTIFY",t[t.SUBSCRIBE=26]="SUBSCRIBE",t[t.UNSUBSCRIBE=27]="UNSUBSCRIBE",t[t.PATCH=28]="PATCH",t[t.PURGE=29]="PURGE",t[t.MKCALENDAR=30]="MKCALENDAR",t[t.LINK=31]="LINK",t[t.UNLINK=32]="UNLINK",t[t.SOURCE=33]="SOURCE",t[t.PRI=34]="PRI",t[t.DESCRIBE=35]="DESCRIBE",t[t.ANNOUNCE=36]="ANNOUNCE",t[t.SETUP=37]="SETUP",t[t.PLAY=38]="PLAY",t[t.PAUSE=39]="PAUSE",t[t.TEARDOWN=40]="TEARDOWN",t[t.GET_PARAMETER=41]="GET_PARAMETER",t[t.SET_PARAMETER=42]="SET_PARAMETER",t[t.REDIRECT=43]="REDIRECT",t[t.RECORD=44]="RECORD",t[t.FLUSH=45]="FLUSH"})(Te=ge.METHODS||(ge.METHODS={}));ge.METHODS_HTTP=[Te.DELETE,Te.GET,Te.HEAD,Te.POST,Te.PUT,Te.CONNECT,Te.OPTIONS,Te.TRACE,Te.COPY,Te.LOCK,Te.MKCOL,Te.MOVE,Te.PROPFIND,Te.PROPPATCH,Te.SEARCH,Te.UNLOCK,Te.BIND,Te.REBIND,Te.UNBIND,Te.ACL,Te.REPORT,Te.MKACTIVITY,Te.CHECKOUT,Te.MERGE,Te["M-SEARCH"],Te.NOTIFY,Te.SUBSCRIBE,Te.UNSUBSCRIBE,Te.PATCH,Te.PURGE,Te.MKCALENDAR,Te.LINK,Te.UNLINK,Te.PRI,Te.SOURCE];ge.METHODS_ICE=[Te.SOURCE];ge.METHODS_RTSP=[Te.OPTIONS,Te.DESCRIBE,Te.ANNOUNCE,Te.SETUP,Te.PLAY,Te.PAUSE,Te.TEARDOWN,Te.GET_PARAMETER,Te.SET_PARAMETER,Te.REDIRECT,Te.RECORD,Te.FLUSH,Te.GET,Te.POST];ge.METHOD_MAP=Wae.enumToMap(Te);ge.H_METHOD_MAP={};Object.keys(ge.METHOD_MAP).forEach(t=>{/^H/.test(t)&&(ge.H_METHOD_MAP[t]=ge.METHOD_MAP[t])});var tce;(function(t){t[t.SAFE=0]="SAFE",t[t.SAFE_WITH_CB=1]="SAFE_WITH_CB",t[t.UNSAFE=2]="UNSAFE"})(tce=ge.FINISH||(ge.FINISH={}));ge.ALPHA=[];for(let t=65;t<=90;t++)ge.ALPHA.push(String.fromCharCode(t)),ge.ALPHA.push(String.fromCharCode(t+32));ge.NUM_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9};ge.HEX_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15};ge.NUM=["0","1","2","3","4","5","6","7","8","9"];ge.ALPHANUM=ge.ALPHA.concat(ge.NUM);ge.MARK=["-","_",".","!","~","*","'","(",")"];ge.USERINFO_CHARS=ge.ALPHANUM.concat(ge.MARK).concat(["%",";",":","&","=","+","$",","]);ge.STRICT_URL_CHAR=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(ge.ALPHANUM);ge.URL_CHAR=ge.STRICT_URL_CHAR.concat([" ","\f"]);for(let t=128;t<=255;t++)ge.URL_CHAR.push(t);ge.HEX=ge.NUM.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]);ge.STRICT_TOKEN=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(ge.ALPHANUM);ge.TOKEN=ge.STRICT_TOKEN.concat([" "]);ge.HEADER_CHARS=[" "];for(let t=32;t<=255;t++)t!==127&&ge.HEADER_CHARS.push(t);ge.CONNECTION_TOKEN_CHARS=ge.HEADER_CHARS.filter(t=>t!==44);ge.MAJOR=ge.NUM_MAP;ge.MINOR=ge.MAJOR;var pA;(function(t){t[t.GENERAL=0]="GENERAL",t[t.CONNECTION=1]="CONNECTION",t[t.CONTENT_LENGTH=2]="CONTENT_LENGTH",t[t.TRANSFER_ENCODING=3]="TRANSFER_ENCODING",t[t.UPGRADE=4]="UPGRADE",t[t.CONNECTION_KEEP_ALIVE=5]="CONNECTION_KEEP_ALIVE",t[t.CONNECTION_CLOSE=6]="CONNECTION_CLOSE",t[t.CONNECTION_UPGRADE=7]="CONNECTION_UPGRADE",t[t.TRANSFER_ENCODING_CHUNKED=8]="TRANSFER_ENCODING_CHUNKED"})(pA=ge.HEADER_STATE||(ge.HEADER_STATE={}));ge.SPECIAL_HEADERS={connection:pA.CONNECTION,"content-length":pA.CONTENT_LENGTH,"proxy-connection":pA.CONNECTION,"transfer-encoding":pA.TRANSFER_ENCODING,upgrade:pA.UPGRADE}});var nQ=x((aZe,lU)=>{"use strict";var{Buffer:rce}=require("node:buffer");lU.exports=rce.from("AGFzbQEAAAABJwdgAX8Bf2ADf39/AX9gAX8AYAJ/fwBgBH9/f38Bf2AAAGADf39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQAEA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAAy0sBQYAAAIAAAAAAAACAQIAAgICAAADAAAAAAMDAwMBAQEBAQEBAQEAAAIAAAAEBQFwARIS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UIAIgADYCDEEAIQMMsQELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0dIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMsAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0fIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAkHSADYCHCACIAE2AhQgAiAANgIMQQAhAwykAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQAgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwyjAQtB1QAhAwyJAQsgAEEVRwRAIAJBADYCHCACIAE2AhQgAkG5DTYCECACQRo2AgxBACEDDKIBCyACQeQANgIcIAIgATYCFCACQeMXNgIQIAJBFTYCDEEAIQMMoQELIAJBADYCACAGQQFqIQEgAi0AKSIAQSNrQQtJDQQCQCAAQQZLDQBBASAAdEHKAHFFDQAMBQtBACEDIAJBADYCHCACIAE2AhQgAkH3CTYCECACQQg2AgwMoAELIAJBADYCACA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LACCyACQQA2AgAgBkEBaiEBQRAMcwtB/gAhAyABIARGDa4CIAIoAgAiACAEIAFraiEFIAEgAGtBBWohBgJAA0AgAS0AACAAQfbOAGotAABHDXEgAEEFRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADK8CCyACQQA2AgAgBkEBaiEBQRYMcgtB/wAhAyABIARGDa0CIAIoAgAiACAEIAFraiEFIAEgAGtBA2ohBgJAA0AgAS0AACAAQfzOAGotAABHDXAgAEEDRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADK4CCyACQQA2AgAgBkEBaiEBQQUMcQsgASAERgRAQYABIQMMrQILIAEtAABB2QBHDW4gAUEBaiEBQQgMcAsgASAERgRAQYEBIQMMrAILAkACQCABLQAAQc4Aaw4DAG8BbwsgAUEBaiEBQesAIQMMkwILIAFBAWohAUHsACEDDJICCyABIARGBEBBggEhAwyrAgsCQAJAIAEtAABByABrDggAbm5ubm5uAW4LIAFBAWohAUHqACEDDJICCyABQQFqIQFB7QAhAwyRAgtBgwEhAyABIARGDakCIAIoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQYDPAGotAABHDWwgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADKoCCyACQQA2AgAgBkEBaiEBQQAMbQtBhAEhAyABIARGDagCIAIoAgAiACAEIAFraiEFIAEgAGtBBGohBgJAA0AgAS0AACAAQYPPAGotAABHDWsgAEEERg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADKkCCyACQQA2AgAgBkEBaiEBQSMMbAsgASAERgRAQYUBIQMMqAILAkACQCABLQAAQcwAaw4IAGtra2trawFrCyABQQFqIQFB7wAhAwyPAgsgAUEBaiEBQfAAIQMMjgILIAEgBEYEQEGGASEDDKcCCyABLQAAQcUARw1oIAFBAWohAQxgC0GHASEDIAEgBEYNpQIgAigCACIAIAQgAWtqIQUgASAAa0EDaiEGAkADQCABLQAAIABBiM8Aai0AAEcNaCAAQQNG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0iIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMsgELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0OIAJB5QA2AhwgAiABNgIUIAIgADYCDEEAIQMMsQELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0dIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMsAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0fIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAkHSADYCHCACIAE2AhQgAiAANgIMQQAhAwykAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQAgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwyjAQtB1QAhAwyJAQsgAEEVRwRAIAJBADYCHCACIAE2AhQgAkG5DTYCECACQRo2AgxBACEDDKIBCyACQeQANgIcIAIgATYCFCACQeMXNgIQIAJBFTYCDEEAIQMMoQELIAJBADYCACAGQQFqIQEgAi0AKSIAQSN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AAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQBB+sgACwQBAAACAEGQyQALXwMEAAAEBAQEBAQEBAQEBAUEBAQEBAQEBAQEBAQABAAGBwQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEAAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAEAEH6ygALBAEAAAEAQZDLAAsBAQBBqssAC0ECAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwBB+swACwQBAAABAEGQzQALAQEAQZrNAAsGAgAAAAACAEGxzQALOgMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAQfDOAAuWAU5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw==","base64")});var yh=x((lZe,EU)=>{"use strict";var dU=["GET","HEAD","POST"],ice=new Set(dU),sce=[101,204,205,304],fU=[301,302,303,307,308],oce=new Set(fU),hU=["1","7","9","11","13","15","17","19","20","21","22","23","25","37","42","43","53","69","77","79","87","95","101","102","103","104","109","110","111","113","115","117","119","123","135","137","139","143","161","179","389","427","465","512","513","514","515","526","530","531","532","540","548","554","556","563","587","601","636","989","990","993","995","1719","1720","1723","2049","3659","4045","4190","5060","5061","6000","6566","6665","6666","6667","6668","6669","6679","6697","10080"],ace=new Set(hU),pU=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],cce=new Set(pU),lce=["follow","manual","error"],gU=["GET","HEAD","OPTIONS","TRACE"],uce=new Set(gU),Ace=["navigate","same-origin","no-cors","cors"],dce=["omit","same-origin","include"],fce=["default","no-store","reload","no-cache","force-cache","only-if-cached"],hce=["content-encoding","content-language","content-location","content-type","content-length"],pce=["half"],mU=["CONNECT","TRACE","TRACK"],gce=new Set(mU),yU=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""],mce=new Set(yU);EU.exports={subresource:yU,forbiddenMethods:mU,requestBodyHeader:hce,referrerPolicy:pU,requestRedirect:lce,requestMode:Ace,requestCredentials:dce,requestCache:fce,redirectStatus:fU,corsSafeListedMethods:dU,nullBodyStatus:sce,safeMethods:gU,badPorts:hU,requestDuplex:pce,subresourceSet:mce,badPortsSet:ace,redirectStatusSet:oce,corsSafeListedMethodsSet:ice,safeMethodsSet:uce,forbiddenMethodsSet:gce,referrerPolicySet:cce}});var sQ=x((uZe,bU)=>{"use strict";var iQ=Symbol.for("undici.globalOrigin.1");function yce(){return globalThis[iQ]}o(yce,"getGlobalOrigin");function Ece(t){if(t===void 0){Object.defineProperty(globalThis,iQ,{value:void 0,writable:!0,enumerable:!1,configurable:!1});return}let e=new URL(t);if(e.protocol!=="http:"&&e.protocol!=="https:")throw new TypeError(`Only http & https urls are allowed, received ${e.protocol}`);Object.defineProperty(globalThis,iQ,{value:e,writable:!0,enumerable:!1,configurable:!1})}o(Ece,"setGlobalOrigin");bU.exports={getGlobalOrigin:yce,setGlobalOrigin:Ece}});var Yn=x((dZe,SU)=>{"use strict";var Km=require("node:assert"),bce=new TextEncoder,Eh=/^[!#$%&'*+\-.^_|~A-Za-z0-9]+$/,Cce=/[\u000A\u000D\u0009\u0020]/,xce=/[\u0009\u000A\u000C\u000D\u0020]/g,Ice=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function Bce(t){Km(t.protocol==="data:");let e=IU(t,!0);e=e.slice(5);let r={position:0},n=gA(",",e,r),i=n.length;if(n=Rce(n,!0,!0),r.position>=e.length)return"failure";r.position++;let s=e.slice(i+1),a=BU(s);if(/;(\u0020){0,}base64$/i.test(n)){let l=QU(a);if(a=Qce(l),a==="failure")return"failure";n=n.slice(0,-6),n=n.replace(/(\u0020)+$/,""),n=n.slice(0,-1)}n.startsWith(";")&&(n="text/plain"+n);let c=oQ(n);return c==="failure"&&(c=oQ("text/plain;charset=US-ASCII")),{mimeType:c,body:a}}o(Bce,"dataURLProcessor");function IU(t,e=!1){if(!e)return t.href;let r=t.href,n=t.hash.length,i=n===0?r:r.substring(0,r.length-n);return!n&&r.endsWith("#")?i.slice(0,-1):i}o(IU,"URLSerializer");function Jm(t,e,r){let n="";for(;r.position=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}o(CU,"isHexCharByte");function xU(t){return t>=48&&t<=57?t-48:(t&223)-55}o(xU,"hexByteToNumber");function wce(t){let e=t.length,r=new Uint8Array(e),n=0;for(let i=0;it.length)return"failure";e.position++;let n=gA(";",t,e);if(n=Ym(n,!1,!0),n.length===0||!Eh.test(n))return"failure";let i=r.toLowerCase(),s=n.toLowerCase(),a={type:i,subtype:s,parameters:new Map,essence:`${i}/${s}`};for(;e.positionCce.test(u),t,e);let c=Jm(u=>u!==";"&&u!=="=",t,e);if(c=c.toLowerCase(),e.positiont.length)break;let l=null;if(t[e.position]==='"')l=wU(t,e,!0),gA(";",t,e);else if(l=gA(";",t,e),l=Ym(l,!1,!0),l.length===0)continue;c.length!==0&&Eh.test(c)&&(l.length===0||Ice.test(l))&&!a.parameters.has(c)&&a.parameters.set(c,l)}return a}o(oQ,"parseMIMEType");function Qce(t){t=t.replace(xce,"");let e=t.length;if(e%4===0&&t.charCodeAt(e-1)===61&&(--e,t.charCodeAt(e-1)===61&&--e),e%4===1||/[^+/0-9A-Za-z]/.test(t.length===e?t:t.substring(0,e)))return"failure";let r=Buffer.from(t,"base64");return new Uint8Array(r.buffer,r.byteOffset,r.byteLength)}o(Qce,"forgivingBase64");function wU(t,e,r){let n=e.position,i="";for(Km(t[e.position]==='"'),e.position++;i+=Jm(a=>a!=='"'&&a!=="\\",t,e),!(e.position>=t.length);){let s=t[e.position];if(e.position++,s==="\\"){if(e.position>=t.length){i+="\\";break}i+=t[e.position],e.position++}else{Km(s==='"');break}}return r?i:t.slice(n,e.position)}o(wU,"collectAnHTTPQuotedString");function Sce(t){Km(t!=="failure");let{parameters:e,essence:r}=t,n=r;for(let[i,s]of e.entries())n+=";",n+=i,n+="=",Eh.test(s)||(s=s.replace(/(\\|")/g,"\\$1"),s='"'+s,s+='"'),n+=s;return n}o(Sce,"serializeAMimeType");function Nce(t){return t===13||t===10||t===9||t===32}o(Nce,"isHTTPWhiteSpace");function Ym(t,e=!0,r=!0){return aQ(t,e,r,Nce)}o(Ym,"removeHTTPWhitespace");function vce(t){return t===13||t===10||t===9||t===12||t===32}o(vce,"isASCIIWhitespace");function Rce(t,e=!0,r=!0){return aQ(t,e,r,vce)}o(Rce,"removeASCIIWhitespace");function aQ(t,e,r,n){let i=0,s=t.length-1;if(e)for(;i0&&n(t.charCodeAt(s));)s--;return i===0&&s===t.length-1?t:t.slice(i,s+1)}o(aQ,"removeChars");function QU(t){let e=t.length;if(65535>e)return String.fromCharCode.apply(null,t);let r="",n=0,i=65535;for(;ne&&(i=e-n),r+=String.fromCharCode.apply(null,t.subarray(n,n+=i));return r}o(QU,"isomorphicDecode");function Pce(t){switch(t.essence){case"application/ecmascript":case"application/javascript":case"application/x-ecmascript":case"application/x-javascript":case"text/ecmascript":case"text/javascript":case"text/javascript1.0":case"text/javascript1.1":case"text/javascript1.2":case"text/javascript1.3":case"text/javascript1.4":case"text/javascript1.5":case"text/jscript":case"text/livescript":case"text/x-ecmascript":case"text/x-javascript":return"text/javascript";case"application/json":case"text/json":return"application/json";case"image/svg+xml":return"image/svg+xml";case"text/xml":case"application/xml":return"application/xml"}return t.subtype.endsWith("+json")?"application/json":t.subtype.endsWith("+xml")?"application/xml":""}o(Pce,"minimizeSupportedMimeType");SU.exports={dataURLProcessor:Bce,URLSerializer:IU,collectASequenceOfCodePoints:Jm,collectASequenceOfCodePointsFast:gA,stringPercentDecode:BU,parseMIMEType:oQ,collectAnHTTPQuotedString:wU,serializeAMimeType:Sce,removeChars:aQ,removeHTTPWhitespace:Ym,minimizeSupportedMimeType:Pce,HTTP_TOKEN_CODEPOINTS:Eh,isomorphicDecode:QU}});var ln=x((hZe,NU)=>{"use strict";var{types:lo,inspect:_ce}=require("node:util"),{markAsUncloneable:Dce}=require("node:worker_threads"),{toUSVString:kce}=Xe(),pe={};pe.converters={};pe.util={};pe.errors={};pe.errors.exception=function(t){return new TypeError(`${t.header}: ${t.message}`)};pe.errors.conversionFailed=function(t){let e=t.types.length===1?"":" one of",r=`${t.argument} could not be converted to${e}: ${t.types.join(", ")}.`;return pe.errors.exception({header:t.prefix,message:r})};pe.errors.invalidArgument=function(t){return pe.errors.exception({header:t.prefix,message:`"${t.value}" is an invalid ${t.type}.`})};pe.brandCheck=function(t,e,r){if(r?.strict!==!1){if(!(t instanceof e)){let n=new TypeError("Illegal invocation");throw n.code="ERR_INVALID_THIS",n}}else if(t?.[Symbol.toStringTag]!==e.prototype[Symbol.toStringTag]){let n=new TypeError("Illegal invocation");throw n.code="ERR_INVALID_THIS",n}};pe.argumentLengthCheck=function({length:t},e,r){if(t{});pe.util.ConvertToInt=function(t,e,r,n){let i,s;e===64?(i=Math.pow(2,53)-1,r==="unsigned"?s=0:s=Math.pow(-2,53)+1):r==="unsigned"?(s=0,i=Math.pow(2,e)-1):(s=Math.pow(-2,e)-1,i=Math.pow(2,e-1)-1);let a=Number(t);if(a===0&&(a=0),n?.enforceRange===!0){if(Number.isNaN(a)||a===Number.POSITIVE_INFINITY||a===Number.NEGATIVE_INFINITY)throw pe.errors.exception({header:"Integer conversion",message:`Could not convert ${pe.util.Stringify(t)} to an integer.`});if(a=pe.util.IntegerPart(a),ai)throw pe.errors.exception({header:"Integer conversion",message:`Value must be between ${s}-${i}, got ${a}.`});return a}return!Number.isNaN(a)&&n?.clamp===!0?(a=Math.min(Math.max(a,s),i),Math.floor(a)%2===0?a=Math.floor(a):a=Math.ceil(a),a):Number.isNaN(a)||a===0&&Object.is(0,a)||a===Number.POSITIVE_INFINITY||a===Number.NEGATIVE_INFINITY?0:(a=pe.util.IntegerPart(a),a=a%Math.pow(2,e),r==="signed"&&a>=Math.pow(2,e)-1?a-Math.pow(2,e):a)};pe.util.IntegerPart=function(t){let e=Math.floor(Math.abs(t));return t<0?-1*e:e};pe.util.Stringify=function(t){switch(pe.util.Type(t)){case"Symbol":return`Symbol(${t.description})`;case"Object":return _ce(t);case"String":return`"${t}"`;default:return`${t}`}};pe.sequenceConverter=function(t){return(e,r,n,i)=>{if(pe.util.Type(e)!=="Object")throw pe.errors.exception({header:r,message:`${n} (${pe.util.Stringify(e)}) is not iterable.`});let s=typeof i=="function"?i():e?.[Symbol.iterator]?.(),a=[],c=0;if(s===void 0||typeof s.next!="function")throw pe.errors.exception({header:r,message:`${n} is not iterable.`});for(;;){let{done:l,value:u}=s.next();if(l)break;a.push(t(u,r,`${n}[${c++}]`))}return a}};pe.recordConverter=function(t,e){return(r,n,i)=>{if(pe.util.Type(r)!=="Object")throw pe.errors.exception({header:n,message:`${i} ("${pe.util.Type(r)}") is not an Object.`});let s={};if(!lo.isProxy(r)){let c=[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)];for(let l of c){let u=t(l,n,i),A=e(r[l],n,i);s[u]=A}return s}let a=Reflect.ownKeys(r);for(let c of a)if(Reflect.getOwnPropertyDescriptor(r,c)?.enumerable){let u=t(c,n,i),A=e(r[c],n,i);s[u]=A}return s}};pe.interfaceConverter=function(t){return(e,r,n,i)=>{if(i?.strict!==!1&&!(e instanceof t))throw pe.errors.exception({header:r,message:`Expected ${n} ("${pe.util.Stringify(e)}") to be an instance of ${t.name}.`});return e}};pe.dictionaryConverter=function(t){return(e,r,n)=>{let i=pe.util.Type(e),s={};if(i==="Null"||i==="Undefined")return s;if(i!=="Object")throw pe.errors.exception({header:r,message:`Expected ${e} to be one of: Null, Undefined, Object.`});for(let a of t){let{key:c,defaultValue:l,required:u,converter:A}=a;if(u===!0&&!Object.hasOwn(e,c))throw pe.errors.exception({header:r,message:`Missing required key "${c}".`});let d=e[c],f=Object.hasOwn(a,"defaultValue");if(f&&d!==null&&(d??=l()),u||f||d!==void 0){if(d=A(d,r,`${n}.${c}`),a.allowedValues&&!a.allowedValues.includes(d))throw pe.errors.exception({header:r,message:`${d} is not an accepted type. Expected one of ${a.allowedValues.join(", ")}.`});s[c]=d}}return s}};pe.nullableConverter=function(t){return(e,r,n)=>e===null?e:t(e,r,n)};pe.converters.DOMString=function(t,e,r,n){if(t===null&&n?.legacyNullToEmptyString)return"";if(typeof t=="symbol")throw pe.errors.exception({header:e,message:`${r} is a symbol, which cannot be converted to a DOMString.`});return String(t)};pe.converters.ByteString=function(t,e,r){let n=pe.converters.DOMString(t,e,r);for(let i=0;i255)throw new TypeError(`Cannot convert argument to a ByteString because the character at index ${i} has a value of ${n.charCodeAt(i)} which is greater than 255.`);return n};pe.converters.USVString=kce;pe.converters.boolean=function(t){return!!t};pe.converters.any=function(t){return t};pe.converters["long long"]=function(t,e,r){return pe.util.ConvertToInt(t,64,"signed",void 0,e,r)};pe.converters["unsigned long long"]=function(t,e,r){return pe.util.ConvertToInt(t,64,"unsigned",void 0,e,r)};pe.converters["unsigned long"]=function(t,e,r){return pe.util.ConvertToInt(t,32,"unsigned",void 0,e,r)};pe.converters["unsigned short"]=function(t,e,r,n){return pe.util.ConvertToInt(t,16,"unsigned",n,e,r)};pe.converters.ArrayBuffer=function(t,e,r,n){if(pe.util.Type(t)!=="Object"||!lo.isAnyArrayBuffer(t))throw pe.errors.conversionFailed({prefix:e,argument:`${r} ("${pe.util.Stringify(t)}")`,types:["ArrayBuffer"]});if(n?.allowShared===!1&&lo.isSharedArrayBuffer(t))throw pe.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.resizable||t.growable)throw pe.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};pe.converters.TypedArray=function(t,e,r,n,i){if(pe.util.Type(t)!=="Object"||!lo.isTypedArray(t)||t.constructor.name!==e.name)throw pe.errors.conversionFailed({prefix:r,argument:`${n} ("${pe.util.Stringify(t)}")`,types:[e.name]});if(i?.allowShared===!1&&lo.isSharedArrayBuffer(t.buffer))throw pe.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.buffer.resizable||t.buffer.growable)throw pe.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};pe.converters.DataView=function(t,e,r,n){if(pe.util.Type(t)!=="Object"||!lo.isDataView(t))throw pe.errors.exception({header:e,message:`${r} is not a DataView.`});if(n?.allowShared===!1&&lo.isSharedArrayBuffer(t.buffer))throw pe.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.buffer.resizable||t.buffer.growable)throw pe.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};pe.converters.BufferSource=function(t,e,r,n){if(lo.isAnyArrayBuffer(t))return pe.converters.ArrayBuffer(t,e,r,{...n,allowShared:!1});if(lo.isTypedArray(t))return pe.converters.TypedArray(t,t.constructor,e,r,{...n,allowShared:!1});if(lo.isDataView(t))return pe.converters.DataView(t,e,r,{...n,allowShared:!1});throw pe.errors.conversionFailed({prefix:e,argument:`${r} ("${pe.util.Stringify(t)}")`,types:["BufferSource"]})};pe.converters["sequence"]=pe.sequenceConverter(pe.converters.ByteString);pe.converters["sequence>"]=pe.sequenceConverter(pe.converters["sequence"]);pe.converters["record"]=pe.recordConverter(pe.converters.ByteString,pe.converters.ByteString);NU.exports={webidl:pe}});var xi=x((pZe,qU)=>{"use strict";var{Transform:Tce}=require("node:stream"),vU=require("node:zlib"),{redirectStatusSet:Oce,referrerPolicySet:Mce,badPortsSet:Lce}=yh(),{getGlobalOrigin:RU}=sQ(),{collectASequenceOfCodePoints:Rl,collectAnHTTPQuotedString:Uce,removeChars:Fce,parseMIMEType:Hce}=Yn(),{performance:qce}=require("node:perf_hooks"),{isBlobLike:zce,ReadableStreamFrom:Gce,isValidHTTPToken:PU,normalizedMethodRecordsBase:jce}=Xe(),Pl=require("node:assert"),{isUint8Array:Yce}=require("node:util/types"),{webidl:bh}=ln(),_U=[],Wm;try{Wm=require("node:crypto");let t=["sha256","sha384","sha512"];_U=Wm.getHashes().filter(e=>t.includes(e))}catch{}function DU(t){let e=t.urlList,r=e.length;return r===0?null:e[r-1].toString()}o(DU,"responseURL");function Kce(t,e){if(!Oce.has(t.status))return null;let r=t.headersList.get("location",!0);return r!==null&&TU(r)&&(kU(r)||(r=Jce(r)),r=new URL(r,DU(t))),r&&!r.hash&&(r.hash=e),r}o(Kce,"responseLocationURL");function kU(t){for(let e=0;e126||r<32)return!1}return!0}o(kU,"isValidEncodedURL");function Jce(t){return Buffer.from(t,"binary").toString("utf8")}o(Jce,"normalizeBinaryStringToUtf8");function xh(t){return t.urlList[t.urlList.length-1]}o(xh,"requestCurrentURL");function Vce(t){let e=xh(t);return FU(e)&&Lce.has(e.port)?"blocked":"allowed"}o(Vce,"requestBadPort");function Wce(t){return t instanceof Error||t?.constructor?.name==="Error"||t?.constructor?.name==="DOMException"}o(Wce,"isErrorLike");function $ce(t){for(let e=0;e=32&&r<=126||r>=128&&r<=255))return!1}return!0}o($ce,"isValidReasonPhrase");var Xce=PU;function TU(t){return(t[0]===" "||t[0]===" "||t[t.length-1]===" "||t[t.length-1]===" "||t.includes(` +`)||t.includes("\r")||t.includes("\0"))===!1}o(TU,"isValidHeaderValue");function Zce(t,e){let{headersList:r}=e,n=(r.get("referrer-policy",!0)??"").split(","),i="";if(n.length>0)for(let s=n.length;s!==0;s--){let a=n[s-1].trim();if(Mce.has(a)){i=a;break}}i!==""&&(t.referrerPolicy=i)}o(Zce,"setRequestReferrerPolicyOnRedirect");function ele(){return"allowed"}o(ele,"crossOriginResourcePolicyCheck");function tle(){return"success"}o(tle,"corsCheck");function rle(){return"success"}o(rle,"TAOCheck");function nle(t){let e=null;e=t.mode,t.headersList.set("sec-fetch-mode",e,!0)}o(nle,"appendFetchMetadata");function ile(t){let e=t.origin;if(!(e==="client"||e===void 0)){if(t.responseTainting==="cors"||t.mode==="websocket")t.headersList.append("origin",e,!0);else if(t.method!=="GET"&&t.method!=="HEAD"){switch(t.referrerPolicy){case"no-referrer":e=null;break;case"no-referrer-when-downgrade":case"strict-origin":case"strict-origin-when-cross-origin":t.origin&&lQ(t.origin)&&!lQ(xh(t))&&(e=null);break;case"same-origin":$m(t,xh(t))||(e=null);break;default:}t.headersList.append("origin",e,!0)}}}o(ile,"appendRequestOriginHeader");function mA(t,e){return t}o(mA,"coarsenTime");function sle(t,e,r){return!t?.startTime||t.startTime4096&&(n=i);let s=$m(t,n),a=Ch(n)&&!Ch(t.url);switch(e){case"origin":return i??cQ(r,!0);case"unsafe-url":return n;case"same-origin":return s?i:"no-referrer";case"origin-when-cross-origin":return s?n:i;case"strict-origin-when-cross-origin":{let c=xh(t);return $m(n,c)?n:Ch(n)&&!Ch(c)?"no-referrer":i}default:return a?"no-referrer":i}}o(lle,"determineRequestsReferrer");function cQ(t,e){return Pl(t instanceof URL),t=new URL(t),t.protocol==="file:"||t.protocol==="about:"||t.protocol==="blank:"?"no-referrer":(t.username="",t.password="",t.hash="",e&&(t.pathname="",t.search=""),t)}o(cQ,"stripURLForReferrer");function Ch(t){if(!(t instanceof URL))return!1;if(t.href==="about:blank"||t.href==="about:srcdoc"||t.protocol==="data:"||t.protocol==="file:")return!0;return e(t.origin);function e(r){if(r==null||r==="null")return!1;let n=new URL(r);return!!(n.protocol==="https:"||n.protocol==="wss:"||/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(n.hostname)||n.hostname==="localhost"||n.hostname.includes("localhost.")||n.hostname.endsWith(".localhost"))}}o(Ch,"isURLPotentiallyTrustworthy");function ule(t,e){if(Wm===void 0)return!0;let r=MU(e);if(r==="no metadata"||r.length===0)return!0;let n=dle(r),i=fle(r,n);for(let s of i){let a=s.algo,c=s.hash,l=Wm.createHash(a).update(t).digest("base64");if(l[l.length-1]==="="&&(l[l.length-2]==="="?l=l.slice(0,-2):l=l.slice(0,-1)),hle(l,c))return!0}return!1}o(ule,"bytesMatch");var Ale=/(?sha256|sha384|sha512)-((?[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function MU(t){let e=[],r=!0;for(let n of t.split(" ")){r=!1;let i=Ale.exec(n);if(i===null||i.groups===void 0||i.groups.algo===void 0)continue;let s=i.groups.algo.toLowerCase();_U.includes(s)&&e.push(i.groups)}return r===!0?"no metadata":e}o(MU,"parseMetadata");function dle(t){let e=t[0].algo;if(e[3]==="5")return e;for(let r=1;r{t=n,e=i}),resolve:t,reject:e}}o(gle,"createDeferredPromise");function mle(t){return t.controller.state==="aborted"}o(mle,"isAborted");function yle(t){return t.controller.state==="aborted"||t.controller.state==="terminated"}o(yle,"isCancelled");function Ele(t){return jce[t.toLowerCase()]??t}o(Ele,"normalizeMethod");function ble(t){let e=JSON.stringify(t);if(e===void 0)throw new TypeError("Value is not JSON serializable");return Pl(typeof e=="string"),e}o(ble,"serializeJavascriptValueToJSONString");var Cle=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function LU(t,e,r=0,n=1){class i{static{o(this,"FastIterableIterator")}#e;#t;#i;constructor(a,c){this.#e=a,this.#t=c,this.#i=0}next(){if(typeof this!="object"||this===null||!(#e in this))throw new TypeError(`'next' called on an object that does not implement interface ${t} Iterator.`);let a=this.#i,c=this.#e[e],l=c.length;if(a>=l)return{value:void 0,done:!0};let{[r]:u,[n]:A}=c[a];this.#i=a+1;let d;switch(this.#t){case"key":d=u;break;case"value":d=A;break;case"key+value":d=[u,A];break}return{value:d,done:!1}}}return delete i.prototype.constructor,Object.setPrototypeOf(i.prototype,Cle),Object.defineProperties(i.prototype,{[Symbol.toStringTag]:{writable:!1,enumerable:!1,configurable:!0,value:`${t} Iterator`},next:{writable:!0,enumerable:!0,configurable:!0}}),function(s,a){return new i(s,a)}}o(LU,"createIterator");function xle(t,e,r,n=0,i=1){let s=LU(t,r,n,i),a={keys:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return bh.brandCheck(this,e),s(this,"key")},"keys")},values:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return bh.brandCheck(this,e),s(this,"value")},"values")},entries:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return bh.brandCheck(this,e),s(this,"key+value")},"entries")},forEach:{writable:!0,enumerable:!0,configurable:!0,value:o(function(l,u=globalThis){if(bh.brandCheck(this,e),bh.argumentLengthCheck(arguments,1,`${t}.forEach`),typeof l!="function")throw new TypeError(`Failed to execute 'forEach' on '${t}': parameter 1 is not of type 'Function'.`);for(let{0:A,1:d}of s(this,"key+value"))l.call(u,d,A,this)},"forEach")}};return Object.defineProperties(e.prototype,{...a,[Symbol.iterator]:{writable:!0,enumerable:!1,configurable:!0,value:a.entries.value}})}o(xle,"iteratorMixin");async function Ile(t,e,r){let n=e,i=r,s;try{s=t.stream.getReader()}catch(a){i(a);return}try{n(await UU(s))}catch(a){i(a)}}o(Ile,"fullyReadBody");function Ble(t){return t instanceof ReadableStream||t[Symbol.toStringTag]==="ReadableStream"&&typeof t.tee=="function"}o(Ble,"isReadableStreamLike");function wle(t){try{t.close(),t.byobRequest?.respond(0)}catch(e){if(!e.message.includes("Controller is already closed")&&!e.message.includes("ReadableStream is already closed"))throw e}}o(wle,"readableStreamClose");var Qle=/[^\x00-\xFF]/;function Vm(t){return Pl(!Qle.test(t)),t}o(Vm,"isomorphicEncode");async function UU(t){let e=[],r=0;for(;;){let{done:n,value:i}=await t.read();if(n)return Buffer.concat(e,r);if(!Yce(i))throw new TypeError("Received non-Uint8Array chunk");e.push(i),r+=i.length}}o(UU,"readAllBytes");function Sle(t){Pl("protocol"in t);let e=t.protocol;return e==="about:"||e==="blob:"||e==="data:"}o(Sle,"urlIsLocal");function lQ(t){return typeof t=="string"&&t[5]===":"&&t[0]==="h"&&t[1]==="t"&&t[2]==="t"&&t[3]==="p"&&t[4]==="s"||t.protocol==="https:"}o(lQ,"urlHasHttpsScheme");function FU(t){Pl("protocol"in t);let e=t.protocol;return e==="http:"||e==="https:"}o(FU,"urlIsHttpHttpsScheme");function Nle(t,e){let r=t;if(!r.startsWith("bytes"))return"failure";let n={position:5};if(e&&Rl(l=>l===" "||l===" ",r,n),r.charCodeAt(n.position)!==61)return"failure";n.position++,e&&Rl(l=>l===" "||l===" ",r,n);let i=Rl(l=>{let u=l.charCodeAt(0);return u>=48&&u<=57},r,n),s=i.length?Number(i):null;if(e&&Rl(l=>l===" "||l===" ",r,n),r.charCodeAt(n.position)!==45)return"failure";n.position++,e&&Rl(l=>l===" "||l===" ",r,n);let a=Rl(l=>{let u=l.charCodeAt(0);return u>=48&&u<=57},r,n),c=a.length?Number(a):null;return n.positionc?"failure":{rangeStartValue:s,rangeEndValue:c}}o(Nle,"simpleRangeHeaderValue");function vle(t,e,r){let n="bytes ";return n+=Vm(`${t}`),n+="-",n+=Vm(`${e}`),n+="/",n+=Vm(`${r}`),n}o(vle,"buildContentRange");var uQ=class extends Tce{static{o(this,"InflateStream")}#e;constructor(e){super(),this.#e=e}_transform(e,r,n){if(!this._inflateStream){if(e.length===0){n();return}this._inflateStream=(e[0]&15)===8?vU.createInflate(this.#e):vU.createInflateRaw(this.#e),this._inflateStream.on("data",this.push.bind(this)),this._inflateStream.on("end",()=>this.push(null)),this._inflateStream.on("error",i=>this.destroy(i))}this._inflateStream.write(e,r,n)}_final(e){this._inflateStream&&(this._inflateStream.end(),this._inflateStream=null),e()}};function Rle(t){return new uQ(t)}o(Rle,"createInflate");function Ple(t){let e=null,r=null,n=null,i=HU("content-type",t);if(i===null)return"failure";for(let s of i){let a=Hce(s);a==="failure"||a.essence==="*/*"||(n=a,n.essence!==r?(e=null,n.parameters.has("charset")&&(e=n.parameters.get("charset")),r=n.essence):!n.parameters.has("charset")&&e!==null&&n.parameters.set("charset",e))}return n??"failure"}o(Ple,"extractMimeType");function _le(t){let e=t,r={position:0},n=[],i="";for(;r.positions!=='"'&&s!==",",e,r),r.positions===9||s===32),n.push(i),i=""}return n}o(_le,"gettingDecodingSplitting");function HU(t,e){let r=e.get(t,!0);return r===null?null:_le(r)}o(HU,"getDecodeSplit");var Dle=new TextDecoder;function kle(t){return t.length===0?"":(t[0]===239&&t[1]===187&&t[2]===191&&(t=t.subarray(3)),Dle.decode(t))}o(kle,"utf8DecodeBytes");var AQ=class{static{o(this,"EnvironmentSettingsObjectBase")}get baseUrl(){return RU()}get origin(){return this.baseUrl?.origin}policyContainer=OU()},dQ=class{static{o(this,"EnvironmentSettingsObject")}settingsObject=new AQ},Tle=new dQ;qU.exports={isAborted:mle,isCancelled:yle,isValidEncodedURL:kU,createDeferredPromise:gle,ReadableStreamFrom:Gce,tryUpgradeRequestToAPotentiallyTrustworthyURL:ple,clampAndCoarsenConnectionTimingInfo:sle,coarsenedSharedCurrentTime:ole,determineRequestsReferrer:lle,makePolicyContainer:OU,clonePolicyContainer:cle,appendFetchMetadata:nle,appendRequestOriginHeader:ile,TAOCheck:rle,corsCheck:tle,crossOriginResourcePolicyCheck:ele,createOpaqueTimingInfo:ale,setRequestReferrerPolicyOnRedirect:Zce,isValidHTTPToken:PU,requestBadPort:Vce,requestCurrentURL:xh,responseURL:DU,responseLocationURL:Kce,isBlobLike:zce,isURLPotentiallyTrustworthy:Ch,isValidReasonPhrase:$ce,sameOrigin:$m,normalizeMethod:Ele,serializeJavascriptValueToJSONString:ble,iteratorMixin:xle,createIterator:LU,isValidHeaderName:Xce,isValidHeaderValue:TU,isErrorLike:Wce,fullyReadBody:Ile,bytesMatch:ule,isReadableStreamLike:Ble,readableStreamClose:wle,isomorphicEncode:Vm,urlIsLocal:Sle,urlHasHttpsScheme:lQ,urlIsHttpHttpsScheme:FU,readAllBytes:UU,simpleRangeHeaderValue:Nle,buildContentRange:vle,parseMetadata:MU,createInflate:Rle,extractMimeType:Ple,getDecodeSplit:HU,utf8DecodeBytes:kle,environmentSettingsObject:Tle}});var sc=x((mZe,zU)=>{"use strict";zU.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kDispatcher:Symbol("dispatcher")}});var hQ=x((yZe,GU)=>{"use strict";var{Blob:Ole,File:Mle}=require("node:buffer"),{kState:ua}=sc(),{webidl:uo}=ln(),fQ=class t{static{o(this,"FileLike")}constructor(e,r,n={}){let i=r,s=n.type,a=n.lastModified??Date.now();this[ua]={blobLike:e,name:i,type:s,lastModified:a}}stream(...e){return uo.brandCheck(this,t),this[ua].blobLike.stream(...e)}arrayBuffer(...e){return uo.brandCheck(this,t),this[ua].blobLike.arrayBuffer(...e)}slice(...e){return uo.brandCheck(this,t),this[ua].blobLike.slice(...e)}text(...e){return uo.brandCheck(this,t),this[ua].blobLike.text(...e)}get size(){return uo.brandCheck(this,t),this[ua].blobLike.size}get type(){return uo.brandCheck(this,t),this[ua].blobLike.type}get name(){return uo.brandCheck(this,t),this[ua].name}get lastModified(){return uo.brandCheck(this,t),this[ua].lastModified}get[Symbol.toStringTag](){return"File"}};uo.converters.Blob=uo.interfaceConverter(Ole);function Lle(t){return t instanceof Mle||t&&(typeof t.stream=="function"||typeof t.arrayBuffer=="function")&&t[Symbol.toStringTag]==="File"}o(Lle,"isFileLike");GU.exports={FileLike:fQ,isFileLike:Lle}});var Bh=x((bZe,VU)=>{"use strict";var{isBlobLike:Xm,iteratorMixin:Ule}=xi(),{kState:Pn}=sc(),{kEnumerableProperty:yA}=Xe(),{FileLike:jU,isFileLike:Fle}=hQ(),{webidl:Tt}=ln(),{File:JU}=require("node:buffer"),YU=require("node:util"),KU=globalThis.File??JU,Ih=class t{static{o(this,"FormData")}constructor(e){if(Tt.util.markAsUncloneable(this),e!==void 0)throw Tt.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]});this[Pn]=[]}append(e,r,n=void 0){Tt.brandCheck(this,t);let i="FormData.append";if(Tt.argumentLengthCheck(arguments,2,i),arguments.length===3&&!Xm(r))throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'");e=Tt.converters.USVString(e,i,"name"),r=Xm(r)?Tt.converters.Blob(r,i,"value",{strict:!1}):Tt.converters.USVString(r,i,"value"),n=arguments.length===3?Tt.converters.USVString(n,i,"filename"):void 0;let s=pQ(e,r,n);this[Pn].push(s)}delete(e){Tt.brandCheck(this,t);let r="FormData.delete";Tt.argumentLengthCheck(arguments,1,r),e=Tt.converters.USVString(e,r,"name"),this[Pn]=this[Pn].filter(n=>n.name!==e)}get(e){Tt.brandCheck(this,t);let r="FormData.get";Tt.argumentLengthCheck(arguments,1,r),e=Tt.converters.USVString(e,r,"name");let n=this[Pn].findIndex(i=>i.name===e);return n===-1?null:this[Pn][n].value}getAll(e){Tt.brandCheck(this,t);let r="FormData.getAll";return Tt.argumentLengthCheck(arguments,1,r),e=Tt.converters.USVString(e,r,"name"),this[Pn].filter(n=>n.name===e).map(n=>n.value)}has(e){Tt.brandCheck(this,t);let r="FormData.has";return Tt.argumentLengthCheck(arguments,1,r),e=Tt.converters.USVString(e,r,"name"),this[Pn].findIndex(n=>n.name===e)!==-1}set(e,r,n=void 0){Tt.brandCheck(this,t);let i="FormData.set";if(Tt.argumentLengthCheck(arguments,2,i),arguments.length===3&&!Xm(r))throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'");e=Tt.converters.USVString(e,i,"name"),r=Xm(r)?Tt.converters.Blob(r,i,"name",{strict:!1}):Tt.converters.USVString(r,i,"name"),n=arguments.length===3?Tt.converters.USVString(n,i,"name"):void 0;let s=pQ(e,r,n),a=this[Pn].findIndex(c=>c.name===e);a!==-1?this[Pn]=[...this[Pn].slice(0,a),s,...this[Pn].slice(a+1).filter(c=>c.name!==e)]:this[Pn].push(s)}[YU.inspect.custom](e,r){let n=this[Pn].reduce((s,a)=>(s[a.name]?Array.isArray(s[a.name])?s[a.name].push(a.value):s[a.name]=[s[a.name],a.value]:s[a.name]=a.value,s),{__proto__:null});r.depth??=e,r.colors??=!0;let i=YU.formatWithOptions(r,n);return`FormData ${i.slice(i.indexOf("]")+2)}`}};Ule("FormData",Ih,Pn,"name","value");Object.defineProperties(Ih.prototype,{append:yA,delete:yA,get:yA,getAll:yA,has:yA,set:yA,[Symbol.toStringTag]:{value:"FormData",configurable:!0}});function pQ(t,e,r){if(typeof e!="string"){if(Fle(e)||(e=e instanceof Blob?new KU([e],"blob",{type:e.type}):new jU(e,"blob",{type:e.type})),r!==void 0){let n={type:e.type,lastModified:e.lastModified};e=e instanceof JU?new KU([e],r,n):new jU(e,r,n)}}return{name:t,value:e}}o(pQ,"makeEntry");VU.exports={FormData:Ih,makeEntry:pQ}});var t3=x((xZe,e3)=>{"use strict";var{isUSVString:WU,bufferToLowerCasedHeaderName:Hle}=Xe(),{utf8DecodeBytes:qle}=xi(),{HTTP_TOKEN_CODEPOINTS:zle,isomorphicDecode:$U}=Yn(),{isFileLike:Gle}=hQ(),{makeEntry:jle}=Bh(),Zm=require("node:assert"),{File:Yle}=require("node:buffer"),Kle=globalThis.File??Yle,Jle=Buffer.from('form-data; name="'),XU=Buffer.from("; filename"),Vle=Buffer.from("--"),Wle=Buffer.from(`--\r +`);function $le(t){for(let e=0;e70)return!1;for(let r=0;r=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122||n===39||n===45||n===95))return!1}return!0}o(Xle,"validateBoundary");function Zle(t,e){Zm(e!=="failure"&&e.essence==="multipart/form-data");let r=e.parameters.get("boundary");if(r===void 0)return"failure";let n=Buffer.from(`--${r}`,"utf8"),i=[],s={position:0};for(;t[s.position]===13&&t[s.position+1]===10;)s.position+=2;let a=t.length;for(;t[a-1]===10&&t[a-2]===13;)a-=2;for(a!==t.length&&(t=t.subarray(0,a));;){if(t.subarray(s.position,s.position+n.length).equals(n))s.position+=n.length;else return"failure";if(s.position===t.length-2&&e0(t,Vle,s)||s.position===t.length-4&&e0(t,Wle,s))return i;if(t[s.position]!==13||t[s.position+1]!==10)return"failure";s.position+=2;let c=eue(t,s);if(c==="failure")return"failure";let{name:l,filename:u,contentType:A,encoding:d}=c;s.position+=2;let f;{let g=t.indexOf(n.subarray(2),s.position);if(g===-1)return"failure";f=t.subarray(s.position,g-4),s.position+=f.length,d==="base64"&&(f=Buffer.from(f.toString(),"base64"))}if(t[s.position]!==13||t[s.position+1]!==10)return"failure";s.position+=2;let h;u!==null?(A??="text/plain",$le(A)||(A=""),h=new Kle([f],u,{type:A})):h=qle(Buffer.from(f)),Zm(WU(l)),Zm(typeof h=="string"&&WU(h)||Gle(h)),i.push(jle(l,h,u))}}o(Zle,"multipartFormDataParser");function eue(t,e){let r=null,n=null,i=null,s=null;for(;;){if(t[e.position]===13&&t[e.position+1]===10)return r===null?"failure":{name:r,filename:n,contentType:i,encoding:s};let a=EA(c=>c!==10&&c!==13&&c!==58,t,e);if(a=gQ(a,!0,!0,c=>c===9||c===32),!zle.test(a.toString())||t[e.position]!==58)return"failure";switch(e.position++,EA(c=>c===32||c===9,t,e),Hle(a)){case"content-disposition":{if(r=n=null,!e0(t,Jle,e)||(e.position+=17,r=ZU(t,e),r===null))return"failure";if(e0(t,XU,e)){let c=e.position+XU.length;if(t[c]===42&&(e.position+=1,c+=1),t[c]!==61||t[c+1]!==34||(e.position+=12,n=ZU(t,e),n===null))return"failure"}break}case"content-type":{let c=EA(l=>l!==10&&l!==13,t,e);c=gQ(c,!1,!0,l=>l===9||l===32),i=$U(c);break}case"content-transfer-encoding":{let c=EA(l=>l!==10&&l!==13,t,e);c=gQ(c,!1,!0,l=>l===9||l===32),s=$U(c);break}default:EA(c=>c!==10&&c!==13,t,e)}if(t[e.position]!==13&&t[e.position+1]!==10)return"failure";e.position+=2}}o(eue,"parseMultipartFormDataHeaders");function ZU(t,e){Zm(t[e.position-1]===34);let r=EA(n=>n!==10&&n!==13&&n!==34,t,e);return t[e.position]!==34?null:(e.position++,r=new TextDecoder().decode(r).replace(/%0A/ig,` +`).replace(/%0D/ig,"\r").replace(/%22/g,'"'),r)}o(ZU,"parseMultipartFormDataName");function EA(t,e,r){let n=r.position;for(;n0&&n(t[s]);)s--;return i===0&&s===t.length-1?t:t.subarray(i,s+1)}o(gQ,"removeChars");function e0(t,e,r){if(t.length{"use strict";var wh=Xe(),{ReadableStreamFrom:tue,isBlobLike:r3,isReadableStreamLike:rue,readableStreamClose:nue,createDeferredPromise:iue,fullyReadBody:sue,extractMimeType:oue,utf8DecodeBytes:s3}=xi(),{FormData:n3}=Bh(),{kState:CA}=sc(),{webidl:aue}=ln(),{Blob:cue}=require("node:buffer"),mQ=require("node:assert"),{isErrored:o3,isDisturbed:lue}=require("node:stream"),{isArrayBuffer:uue}=require("node:util/types"),{serializeAMimeType:Aue}=Yn(),{multipartFormDataParser:due}=t3(),yQ;try{let t=require("node:crypto");yQ=o(e=>t.randomInt(0,e),"random")}catch{yQ=o(t=>Math.floor(Math.random(t)),"random")}var t0=new TextEncoder;function fue(){}o(fue,"noop");var a3=globalThis.FinalizationRegistry&&process.version.indexOf("v18")!==0,c3;a3&&(c3=new FinalizationRegistry(t=>{let e=t.deref();e&&!e.locked&&!lue(e)&&!o3(e)&&e.cancel("Response object has been garbage collected").catch(fue)}));function l3(t,e=!1){let r=null;t instanceof ReadableStream?r=t:r3(t)?r=t.stream():r=new ReadableStream({async pull(l){let u=typeof i=="string"?t0.encode(i):i;u.byteLength&&l.enqueue(u),queueMicrotask(()=>nue(l))},start(){},type:"bytes"}),mQ(rue(r));let n=null,i=null,s=null,a=null;if(typeof t=="string")i=t,a="text/plain;charset=UTF-8";else if(t instanceof URLSearchParams)i=t.toString(),a="application/x-www-form-urlencoded;charset=UTF-8";else if(uue(t))i=new Uint8Array(t.slice());else if(ArrayBuffer.isView(t))i=new Uint8Array(t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength));else if(wh.isFormDataLike(t)){let l=`----formdata-undici-0${`${yQ(1e11)}`.padStart(11,"0")}`,u=`--${l}\r +Content-Disposition: form-data`;let A=o(b=>b.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22"),"escape"),d=o(b=>b.replace(/\r?\n|\r/g,`\r +`),"normalizeLinefeeds"),f=[],h=new Uint8Array([13,10]);s=0;let g=!1;for(let[b,y]of t)if(typeof y=="string"){let I=t0.encode(u+`; name="${A(d(b))}"\r \r -${d(w)}\r -`);f.push(R),s+=R.byteLength}else{let R=ap.encode(`${A}; name="${u(d(S))}"`+(w.name?`; filename="${u(w.name)}"`:"")+`\r -Content-Type: ${w.type||"application/octet-stream"}\r +${d(y)}\r +`);f.push(I),s+=I.byteLength}else{let I=t0.encode(`${u}; name="${A(d(b))}"`+(y.name?`; filename="${A(y.name)}"`:"")+`\r +Content-Type: ${y.type||"application/octet-stream"}\r \r -`);f.push(R,w,m),typeof w.size=="number"?s+=R.byteLength+w.size+m.byteLength:C=!0}let Q=ap.encode(`--${l}--\r -`);f.push(Q),s+=Q.byteLength,C&&(s=null),i=t,n=o(async function*(){for(let S of f)S.stream?yield*S.stream():yield S},"action"),a=`multipart/form-data; boundary=${l}`}else if(BD(t))i=t,s=t.size,t.type&&(a=t.type);else if(typeof t[Symbol.asyncIterator]=="function"){if(e)throw new TypeError("keepalive");if(CA.isDisturbed(t)||t.locked)throw new TypeError("Response body object should not be disturbed or locked");r=t instanceof ReadableStream?t:KZ(t)}if((typeof i=="string"||CA.isBuffer(i))&&(s=Buffer.byteLength(i)),n!=null){let l;r=new ReadableStream({async start(){l=n(t)[Symbol.asyncIterator]()},async pull(A){let{value:u,done:d}=await l.next();if(d)queueMicrotask(()=>{A.close(),A.byobRequest?.respond(0)});else if(!wD(r)){let f=new Uint8Array(u);f.byteLength&&A.enqueue(f)}return A.desiredSize>0},async cancel(A){await l.return()},type:"bytes"})}return[{stream:r,source:i,length:s},a]}o(SD,"extractBody");function A7(t,e=!1){return t instanceof ReadableStream&&(FE(!CA.isDisturbed(t),"The body has already been consumed."),FE(!t.locked,"The stream is locked.")),SD(t,e)}o(A7,"safelyExtractBody");function u7(t,e){let[r,n]=e.stream.tee();return e.stream=r,{stream:n,length:e.length,source:e.source}}o(u7,"cloneBody");function d7(t){if(t.aborted)throw new DOMException("The operation was aborted.","AbortError")}o(d7,"throwIfAborted");function p7(t){return{blob(){return qa(this,r=>{let n=bD(this);return n===null?n="":n&&(n=a7(n)),new i7([r],{type:n})},t)},arrayBuffer(){return qa(this,r=>new Uint8Array(r).buffer,t)},text(){return qa(this,QD,t)},json(){return qa(this,f7,t)},formData(){return qa(this,r=>{let n=bD(this);if(n!==null)switch(n.essence){case"multipart/form-data":{let i=c7(r,n);if(i==="failure")throw new TypeError("Failed to parse body as FormData.");let s=new ID;return s[Ha]=i,s}case"application/x-www-form-urlencoded":{let i=new URLSearchParams(r.toString()),s=new ID;for(let[a,c]of i)s.append(a,c);return s}}throw new TypeError('Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".')},t)},bytes(){return qa(this,r=>new Uint8Array(r),t)}}}o(p7,"bodyMixinMethods");function h7(t){Object.assign(t.prototype,p7(t))}o(h7,"mixinBody");async function qa(t,e,r){if(n7.brandCheck(t,r),RD(t))throw new TypeError("Body is unusable: Body has already been read");d7(t[Ha]);let n=e7(),i=o(a=>n.reject(a),"errorSteps"),s=o(a=>{try{n.resolve(e(a))}catch(c){i(c)}},"successSteps");return t[Ha].body==null?(s(Buffer.allocUnsafe(0)),n.promise):(await t7(t[Ha].body,s,i),n.promise)}o(qa,"consumeBody");function RD(t){let e=t[Ha].body;return e!=null&&(e.stream.locked||CA.isDisturbed(e.stream))}o(RD,"bodyUnusable");function f7(t){return JSON.parse(QD(t))}o(f7,"parseJSONFromBytes");function bD(t){let e=t[Ha].headersList,r=r7(e);return r==="failure"?null:r}o(bD,"bodyMimeType");_D.exports={extractBody:SD,safelyExtractBody:A7,cloneBody:u7,mixinBody:h7,streamRegistry:xD,hasFinalizationRegistry:ND,bodyUnusable:RD}});var qD=g((q2e,FD)=>{"use strict";var oe=require("node:assert"),pe=Ee(),{channels:vD}=_a(),HE=bE(),{RequestContentLengthMismatchError:wo,ResponseContentLengthMismatchError:m7,RequestAbortedError:kD,HeadersTimeoutError:g7,HeadersOverflowError:y7,SocketError:pp,InformationalError:ja,BodyTimeoutError:C7,HTTPParserError:E7,ResponseExceededMaxSizeError:B7}=Pe(),{kUrl:LD,kReset:Ir,kClient:YE,kParser:ht,kBlocking:IA,kRunning:er,kPending:I7,kSize:PD,kWriting:ws,kQueue:Hn,kNoRef:EA,kKeepAliveDefaultTimeout:b7,kHostHeader:Q7,kPendingIdx:w7,kRunningIdx:pn,kError:hn,kPipelining:up,kSocket:Ga,kKeepAliveTimeoutValue:hp,kMaxHeadersSize:zE,kKeepAliveMaxTimeout:N7,kKeepAliveTimeoutThreshold:x7,kHeadersTimeout:S7,kBodyTimeout:R7,kStrictContentLength:JE,kMaxRequests:DD,kCounter:_7,kMaxResponseSize:v7,kOnError:P7,kResume:Qs,kHTTPContext:UD}=nt(),hi=xP(),D7=Buffer.alloc(0),cp=Buffer[Symbol.species],lp=pe.addListener,T7=pe.removeAllListeners,jE;async function O7(){let t=process.env.JEST_WORKER_ID?NE():void 0,e;try{e=await WebAssembly.compile(_P())}catch{e=await WebAssembly.compile(t||NE())}return await WebAssembly.instantiate(e,{env:{wasm_on_url:(r,n,i)=>0,wasm_on_status:(r,n,i)=>{oe(Tt.ptr===r);let s=n-mi+fi.byteOffset;return Tt.onStatus(new cp(fi.buffer,s,i))||0},wasm_on_message_begin:r=>(oe(Tt.ptr===r),Tt.onMessageBegin()||0),wasm_on_header_field:(r,n,i)=>{oe(Tt.ptr===r);let s=n-mi+fi.byteOffset;return Tt.onHeaderField(new cp(fi.buffer,s,i))||0},wasm_on_header_value:(r,n,i)=>{oe(Tt.ptr===r);let s=n-mi+fi.byteOffset;return Tt.onHeaderValue(new cp(fi.buffer,s,i))||0},wasm_on_headers_complete:(r,n,i,s)=>(oe(Tt.ptr===r),Tt.onHeadersComplete(n,!!i,!!s)||0),wasm_on_body:(r,n,i)=>{oe(Tt.ptr===r);let s=n-mi+fi.byteOffset;return Tt.onBody(new cp(fi.buffer,s,i))||0},wasm_on_message_complete:r=>(oe(Tt.ptr===r),Tt.onMessageComplete()||0)}})}o(O7,"lazyllhttp");var GE=null,VE=O7();VE.catch();var Tt=null,fi=null,Ap=0,mi=null,M7=0,BA=1,Ya=2|BA,dp=4|BA,WE=8|M7,$E=class{static{o(this,"Parser")}constructor(e,r,{exports:n}){oe(Number.isFinite(e[zE])&&e[zE]>0),this.llhttp=n,this.ptr=this.llhttp.llhttp_alloc(hi.TYPE.RESPONSE),this.client=e,this.socket=r,this.timeout=null,this.timeoutValue=null,this.timeoutType=null,this.statusCode=null,this.statusText="",this.upgrade=!1,this.headers=[],this.headersSize=0,this.headersMaxSize=e[zE],this.shouldKeepAlive=!1,this.paused=!1,this.resume=this.resume.bind(this),this.bytesRead=0,this.keepAlive="",this.contentLength="",this.connection="",this.maxResponseSize=e[v7]}setTimeout(e,r){e!==this.timeoutValue||r&BA^this.timeoutType&BA?(this.timeout&&(HE.clearTimeout(this.timeout),this.timeout=null),e&&(r&BA?this.timeout=HE.setFastTimeout(TD,e,new WeakRef(this)):(this.timeout=setTimeout(TD,e,new WeakRef(this)),this.timeout.unref())),this.timeoutValue=e):this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.timeoutType=r}resume(){this.socket.destroyed||!this.paused||(oe(this.ptr!=null),oe(Tt==null),this.llhttp.llhttp_resume(this.ptr),oe(this.timeoutType===dp),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.paused=!1,this.execute(this.socket.read()||D7),this.readMore())}readMore(){for(;!this.paused&&this.ptr;){let e=this.socket.read();if(e===null)break;this.execute(e)}}execute(e){oe(this.ptr!=null),oe(Tt==null),oe(!this.paused);let{socket:r,llhttp:n}=this;e.length>Ap&&(mi&&n.free(mi),Ap=Math.ceil(e.length/4096)*4096,mi=n.malloc(Ap)),new Uint8Array(n.memory.buffer,mi,Ap).set(e);try{let i;try{fi=e,Tt=this,i=n.llhttp_execute(this.ptr,mi,e.length)}catch(a){throw a}finally{Tt=null,fi=null}let s=n.llhttp_get_error_pos(this.ptr)-mi;if(i===hi.ERROR.PAUSED_UPGRADE)this.onUpgrade(e.slice(s));else if(i===hi.ERROR.PAUSED)this.paused=!0,r.unshift(e.slice(s));else if(i!==hi.ERROR.OK){let a=n.llhttp_get_error_reason(this.ptr),c="";if(a){let l=new Uint8Array(n.memory.buffer,a).indexOf(0);c="Response does not match the HTTP/1.1 protocol ("+Buffer.from(n.memory.buffer,a,l).toString()+")"}throw new E7(c,hi.ERROR[i],e.slice(s))}}catch(i){pe.destroy(r,i)}}destroy(){oe(this.ptr!=null),oe(Tt==null),this.llhttp.llhttp_free(this.ptr),this.ptr=null,this.timeout&&HE.clearTimeout(this.timeout),this.timeout=null,this.timeoutValue=null,this.timeoutType=null,this.paused=!1}onStatus(e){this.statusText=e.toString()}onMessageBegin(){let{socket:e,client:r}=this;if(e.destroyed)return-1;let n=r[Hn][r[pn]];if(!n)return-1;n.onResponseStarted()}onHeaderField(e){let r=this.headers.length;r&1?this.headers[r-1]=Buffer.concat([this.headers[r-1],e]):this.headers.push(e),this.trackHeader(e.length)}onHeaderValue(e){let r=this.headers.length;(r&1)===1?(this.headers.push(e),r+=1):this.headers[r-1]=Buffer.concat([this.headers[r-1],e]);let n=this.headers[r-2];if(n.length===10){let i=pe.bufferToLowerCasedHeaderName(n);i==="keep-alive"?this.keepAlive+=e.toString():i==="connection"&&(this.connection+=e.toString())}else n.length===14&&pe.bufferToLowerCasedHeaderName(n)==="content-length"&&(this.contentLength+=e.toString());this.trackHeader(e.length)}trackHeader(e){this.headersSize+=e,this.headersSize>=this.headersMaxSize&&pe.destroy(this.socket,new y7)}onUpgrade(e){let{upgrade:r,client:n,socket:i,headers:s,statusCode:a}=this;oe(r),oe(n[Ga]===i),oe(!i.destroyed),oe(!this.paused),oe((s.length&1)===0);let c=n[Hn][n[pn]];oe(c),oe(c.upgrade||c.method==="CONNECT"),this.statusCode=null,this.statusText="",this.shouldKeepAlive=null,this.headers=[],this.headersSize=0,i.unshift(e),i[ht].destroy(),i[ht]=null,i[YE]=null,i[hn]=null,T7(i),n[Ga]=null,n[UD]=null,n[Hn][n[pn]++]=null,n.emit("disconnect",n[LD],[n],new ja("upgrade"));try{c.onUpgrade(a,s,i)}catch(l){pe.destroy(i,l)}n[Qs]()}onHeadersComplete(e,r,n){let{client:i,socket:s,headers:a,statusText:c}=this;if(s.destroyed)return-1;let l=i[Hn][i[pn]];if(!l)return-1;if(oe(!this.upgrade),oe(this.statusCode<200),e===100)return pe.destroy(s,new pp("bad response",pe.getSocketInfo(s))),-1;if(r&&!l.upgrade)return pe.destroy(s,new pp("bad upgrade",pe.getSocketInfo(s))),-1;if(oe(this.timeoutType===Ya),this.statusCode=e,this.shouldKeepAlive=n||l.method==="HEAD"&&!s[Ir]&&this.connection.toLowerCase()==="keep-alive",this.statusCode>=200){let u=l.bodyTimeout!=null?l.bodyTimeout:i[R7];this.setTimeout(u,dp)}else this.timeout&&this.timeout.refresh&&this.timeout.refresh();if(l.method==="CONNECT")return oe(i[er]===1),this.upgrade=!0,2;if(r)return oe(i[er]===1),this.upgrade=!0,2;if(oe((this.headers.length&1)===0),this.headers=[],this.headersSize=0,this.shouldKeepAlive&&i[up]){let u=this.keepAlive?pe.parseKeepAliveTimeout(this.keepAlive):null;if(u!=null){let d=Math.min(u-i[x7],i[N7]);d<=0?s[Ir]=!0:i[hp]=d}else i[hp]=i[b7]}else s[Ir]=!0;let A=l.onHeaders(e,a,this.resume,c)===!1;return l.aborted?-1:l.method==="HEAD"||e<200?1:(s[IA]&&(s[IA]=!1,i[Qs]()),A?hi.ERROR.PAUSED:0)}onBody(e){let{client:r,socket:n,statusCode:i,maxResponseSize:s}=this;if(n.destroyed)return-1;let a=r[Hn][r[pn]];if(oe(a),oe(this.timeoutType===dp),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),oe(i>=200),s>-1&&this.bytesRead+e.length>s)return pe.destroy(n,new B7),-1;if(this.bytesRead+=e.length,a.onData(e)===!1)return hi.ERROR.PAUSED}onMessageComplete(){let{client:e,socket:r,statusCode:n,upgrade:i,headers:s,contentLength:a,bytesRead:c,shouldKeepAlive:l}=this;if(r.destroyed&&(!n||l))return-1;if(i)return;oe(n>=100),oe((this.headers.length&1)===0);let A=e[Hn][e[pn]];if(oe(A),this.statusCode=null,this.statusText="",this.bytesRead=0,this.contentLength="",this.keepAlive="",this.connection="",this.headers=[],this.headersSize=0,!(n<200)){if(A.method!=="HEAD"&&a&&c!==parseInt(a,10))return pe.destroy(r,new m7),-1;if(A.onComplete(s),e[Hn][e[pn]++]=null,r[ws])return oe(e[er]===0),pe.destroy(r,new ja("reset")),hi.ERROR.PAUSED;if(l){if(r[Ir]&&e[er]===0)return pe.destroy(r,new ja("reset")),hi.ERROR.PAUSED;e[up]==null||e[up]===1?setImmediate(()=>e[Qs]()):e[Qs]()}else return pe.destroy(r,new ja("reset")),hi.ERROR.PAUSED}}};function TD(t){let{socket:e,timeoutType:r,client:n,paused:i}=t.deref();r===Ya?(!e[ws]||e.writableNeedDrain||n[er]>1)&&(oe(!i,"cannot be paused while waiting for headers"),pe.destroy(e,new g7)):r===dp?i||pe.destroy(e,new C7):r===WE&&(oe(n[er]===0&&n[hp]),pe.destroy(e,new ja("socket idle timeout")))}o(TD,"onParserTimeout");async function k7(t,e){t[Ga]=e,GE||(GE=await VE,VE=null),e[EA]=!1,e[ws]=!1,e[Ir]=!1,e[IA]=!1,e[ht]=new $E(t,e,GE),lp(e,"error",function(n){oe(n.code!=="ERR_TLS_CERT_ALTNAME_INVALID");let i=this[ht];if(n.code==="ECONNRESET"&&i.statusCode&&!i.shouldKeepAlive){i.onMessageComplete();return}this[hn]=n,this[YE][P7](n)}),lp(e,"readable",function(){let n=this[ht];n&&n.readMore()}),lp(e,"end",function(){let n=this[ht];if(n.statusCode&&!n.shouldKeepAlive){n.onMessageComplete();return}pe.destroy(this,new pp("other side closed",pe.getSocketInfo(this)))}),lp(e,"close",function(){let n=this[YE],i=this[ht];i&&(!this[hn]&&i.statusCode&&!i.shouldKeepAlive&&i.onMessageComplete(),this[ht].destroy(),this[ht]=null);let s=this[hn]||new pp("closed",pe.getSocketInfo(this));if(n[Ga]=null,n[UD]=null,n.destroyed){oe(n[I7]===0);let a=n[Hn].splice(n[pn]);for(let c=0;c0&&s.code!=="UND_ERR_INFO"){let a=n[Hn][n[pn]];n[Hn][n[pn]++]=null,pe.errorRequest(n,a,s)}n[w7]=n[pn],oe(n[er]===0),n.emit("disconnect",n[LD],[n],s),n[Qs]()});let r=!1;return e.on("close",()=>{r=!0}),{version:"h1",defaultPipelining:1,write(...n){return F7(t,...n)},resume(){L7(t)},destroy(n,i){r?queueMicrotask(i):e.destroy(n).on("close",i)},get destroyed(){return e.destroyed},busy(n){return!!(e[ws]||e[Ir]||e[IA]||n&&(t[er]>0&&!n.idempotent||t[er]>0&&(n.upgrade||n.method==="CONNECT")||t[er]>0&&pe.bodyLength(n.body)!==0&&(pe.isStream(n.body)||pe.isAsyncIterable(n.body)||pe.isFormDataLike(n.body))))}}}o(k7,"connectH1");function L7(t){let e=t[Ga];if(e&&!e.destroyed){if(t[PD]===0?!e[EA]&&e.unref&&(e.unref(),e[EA]=!0):e[EA]&&e.ref&&(e.ref(),e[EA]=!1),t[PD]===0)e[ht].timeoutType!==WE&&e[ht].setTimeout(t[hp],WE);else if(t[er]>0&&e[ht].statusCode<200&&e[ht].timeoutType!==Ya){let r=t[Hn][t[pn]],n=r.headersTimeout!=null?r.headersTimeout:t[S7];e[ht].setTimeout(n,Ya)}}}o(L7,"resumeH1");function U7(t){return t!=="GET"&&t!=="HEAD"&&t!=="OPTIONS"&&t!=="TRACE"&&t!=="CONNECT"}o(U7,"shouldSendContentLength");function F7(t,e){let{method:r,path:n,host:i,upgrade:s,blocking:a,reset:c}=e,{body:l,headers:A,contentLength:u}=e,d=r==="PUT"||r==="POST"||r==="PATCH"||r==="QUERY"||r==="PROPFIND"||r==="PROPPATCH";if(pe.isFormDataLike(l)){jE||(jE=za().extractBody);let[S,w]=jE(l);e.contentType==null&&A.push("content-type",w),l=S.stream,u=S.length}else pe.isBlobLike(l)&&e.contentType==null&&l.type&&A.push("content-type",l.type);l&&typeof l.read=="function"&&l.read(0);let f=pe.bodyLength(l);if(u=f??u,u===null&&(u=e.contentLength),u===0&&!d&&(u=null),U7(r)&&u>0&&e.contentLength!==null&&e.contentLength!==u){if(t[JE])return pe.errorRequest(t,e,new wo),!1;process.emitWarning(new wo)}let m=t[Ga],C=o(S=>{e.aborted||e.completed||(pe.errorRequest(t,e,S||new kD),pe.destroy(l),pe.destroy(m,new ja("aborted")))},"abort");try{e.onConnect(C)}catch(S){pe.errorRequest(t,e,S)}if(e.aborted)return!1;r==="HEAD"&&(m[Ir]=!0),(s||r==="CONNECT")&&(m[Ir]=!0),c!=null&&(m[Ir]=c),t[DD]&&m[_7]++>=t[DD]&&(m[Ir]=!0),a&&(m[IA]=!0);let Q=`${r} ${n} HTTP/1.1\r -`;if(typeof i=="string"?Q+=`host: ${i}\r -`:Q+=t[Q7],s?Q+=`connection: upgrade\r +`);f.push(I,y,h),typeof y.size=="number"?s+=I.byteLength+y.size+h.byteLength:g=!0}let m=t0.encode(`--${l}--\r +`);f.push(m),s+=m.byteLength,g&&(s=null),i=t,n=o(async function*(){for(let b of f)b.stream?yield*b.stream():yield b},"action"),a=`multipart/form-data; boundary=${l}`}else if(r3(t))i=t,s=t.size,t.type&&(a=t.type);else if(typeof t[Symbol.asyncIterator]=="function"){if(e)throw new TypeError("keepalive");if(wh.isDisturbed(t)||t.locked)throw new TypeError("Response body object should not be disturbed or locked");r=t instanceof ReadableStream?t:tue(t)}if((typeof i=="string"||wh.isBuffer(i))&&(s=Buffer.byteLength(i)),n!=null){let l;r=new ReadableStream({async start(){l=n(t)[Symbol.asyncIterator]()},async pull(u){let{value:A,done:d}=await l.next();if(d)queueMicrotask(()=>{u.close(),u.byobRequest?.respond(0)});else if(!o3(r)){let f=new Uint8Array(A);f.byteLength&&u.enqueue(f)}return u.desiredSize>0},async cancel(u){await l.return()},type:"bytes"})}return[{stream:r,source:i,length:s},a]}o(l3,"extractBody");function hue(t,e=!1){return t instanceof ReadableStream&&(mQ(!wh.isDisturbed(t),"The body has already been consumed."),mQ(!t.locked,"The stream is locked.")),l3(t,e)}o(hue,"safelyExtractBody");function pue(t,e){let[r,n]=e.stream.tee();return e.stream=r,{stream:n,length:e.length,source:e.source}}o(pue,"cloneBody");function gue(t){if(t.aborted)throw new DOMException("The operation was aborted.","AbortError")}o(gue,"throwIfAborted");function mue(t){return{blob(){return bA(this,r=>{let n=i3(this);return n===null?n="":n&&(n=Aue(n)),new cue([r],{type:n})},t)},arrayBuffer(){return bA(this,r=>new Uint8Array(r).buffer,t)},text(){return bA(this,s3,t)},json(){return bA(this,Eue,t)},formData(){return bA(this,r=>{let n=i3(this);if(n!==null)switch(n.essence){case"multipart/form-data":{let i=due(r,n);if(i==="failure")throw new TypeError("Failed to parse body as FormData.");let s=new n3;return s[CA]=i,s}case"application/x-www-form-urlencoded":{let i=new URLSearchParams(r.toString()),s=new n3;for(let[a,c]of i)s.append(a,c);return s}}throw new TypeError('Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".')},t)},bytes(){return bA(this,r=>new Uint8Array(r),t)}}}o(mue,"bodyMixinMethods");function yue(t){Object.assign(t.prototype,mue(t))}o(yue,"mixinBody");async function bA(t,e,r){if(aue.brandCheck(t,r),u3(t))throw new TypeError("Body is unusable: Body has already been read");gue(t[CA]);let n=iue(),i=o(a=>n.reject(a),"errorSteps"),s=o(a=>{try{n.resolve(e(a))}catch(c){i(c)}},"successSteps");return t[CA].body==null?(s(Buffer.allocUnsafe(0)),n.promise):(await sue(t[CA].body,s,i),n.promise)}o(bA,"consumeBody");function u3(t){let e=t[CA].body;return e!=null&&(e.stream.locked||wh.isDisturbed(e.stream))}o(u3,"bodyUnusable");function Eue(t){return JSON.parse(s3(t))}o(Eue,"parseJSONFromBytes");function i3(t){let e=t[CA].headersList,r=oue(e);return r==="failure"?null:r}o(i3,"bodyMimeType");A3.exports={extractBody:l3,safelyExtractBody:hue,cloneBody:pue,mixinBody:yue,streamRegistry:c3,hasFinalizationRegistry:a3,bodyUnusable:u3}});var x3=x((QZe,C3)=>{"use strict";var Le=require("node:assert"),Ge=Xe(),{channels:d3}=lA(),EQ=eQ(),{RequestContentLengthMismatchError:_l,ResponseContentLengthMismatchError:bue,RequestAbortedError:y3,HeadersTimeoutError:Cue,HeadersOverflowError:xue,SocketError:a0,InformationalError:IA,BodyTimeoutError:Iue,HTTPParserError:Bue,ResponseExceededMaxSizeError:wue}=ft(),{kUrl:E3,kReset:Kn,kClient:IQ,kParser:lr,kBlocking:Nh,kRunning:hn,kPending:Que,kSize:f3,kWriting:ac,kQueue:Ps,kNoRef:Qh,kKeepAliveDefaultTimeout:Sue,kHostHeader:Nue,kPendingIdx:vue,kRunningIdx:$i,kError:Xi,kPipelining:s0,kSocket:BA,kKeepAliveTimeoutValue:c0,kMaxHeadersSize:bQ,kKeepAliveMaxTimeout:Rue,kKeepAliveTimeoutThreshold:Pue,kHeadersTimeout:_ue,kBodyTimeout:Due,kStrictContentLength:BQ,kMaxRequests:h3,kCounter:kue,kMaxResponseSize:Tue,kOnError:Oue,kResume:oc,kHTTPContext:b3}=Kt(),Ao=cU(),Mue=Buffer.alloc(0),r0=Buffer[Symbol.species],n0=Ge.addListener,Lue=Ge.removeAllListeners,CQ;async function Uue(){let t=process.env.JEST_WORKER_ID?nQ():void 0,e;try{e=await WebAssembly.compile(AU())}catch{e=await WebAssembly.compile(t||nQ())}return await WebAssembly.instantiate(e,{env:{wasm_on_url:o((r,n,i)=>0,"wasm_on_url"),wasm_on_status:o((r,n,i)=>{Le(Mr.ptr===r);let s=n-ho+fo.byteOffset;return Mr.onStatus(new r0(fo.buffer,s,i))||0},"wasm_on_status"),wasm_on_message_begin:o(r=>(Le(Mr.ptr===r),Mr.onMessageBegin()||0),"wasm_on_message_begin"),wasm_on_header_field:o((r,n,i)=>{Le(Mr.ptr===r);let s=n-ho+fo.byteOffset;return Mr.onHeaderField(new r0(fo.buffer,s,i))||0},"wasm_on_header_field"),wasm_on_header_value:o((r,n,i)=>{Le(Mr.ptr===r);let s=n-ho+fo.byteOffset;return Mr.onHeaderValue(new r0(fo.buffer,s,i))||0},"wasm_on_header_value"),wasm_on_headers_complete:o((r,n,i,s)=>(Le(Mr.ptr===r),Mr.onHeadersComplete(n,!!i,!!s)||0),"wasm_on_headers_complete"),wasm_on_body:o((r,n,i)=>{Le(Mr.ptr===r);let s=n-ho+fo.byteOffset;return Mr.onBody(new r0(fo.buffer,s,i))||0},"wasm_on_body"),wasm_on_message_complete:o(r=>(Le(Mr.ptr===r),Mr.onMessageComplete()||0),"wasm_on_message_complete")}})}o(Uue,"lazyllhttp");var xQ=null,wQ=Uue();wQ.catch();var Mr=null,fo=null,i0=0,ho=null,Fue=0,Sh=1,wA=2|Sh,o0=4|Sh,QQ=8|Fue,SQ=class{static{o(this,"Parser")}constructor(e,r,{exports:n}){Le(Number.isFinite(e[bQ])&&e[bQ]>0),this.llhttp=n,this.ptr=this.llhttp.llhttp_alloc(Ao.TYPE.RESPONSE),this.client=e,this.socket=r,this.timeout=null,this.timeoutValue=null,this.timeoutType=null,this.statusCode=null,this.statusText="",this.upgrade=!1,this.headers=[],this.headersSize=0,this.headersMaxSize=e[bQ],this.shouldKeepAlive=!1,this.paused=!1,this.resume=this.resume.bind(this),this.bytesRead=0,this.keepAlive="",this.contentLength="",this.connection="",this.maxResponseSize=e[Tue]}setTimeout(e,r){e!==this.timeoutValue||r&Sh^this.timeoutType&Sh?(this.timeout&&(EQ.clearTimeout(this.timeout),this.timeout=null),e&&(r&Sh?this.timeout=EQ.setFastTimeout(p3,e,new WeakRef(this)):(this.timeout=setTimeout(p3,e,new WeakRef(this)),this.timeout.unref())),this.timeoutValue=e):this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.timeoutType=r}resume(){this.socket.destroyed||!this.paused||(Le(this.ptr!=null),Le(Mr==null),this.llhttp.llhttp_resume(this.ptr),Le(this.timeoutType===o0),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.paused=!1,this.execute(this.socket.read()||Mue),this.readMore())}readMore(){for(;!this.paused&&this.ptr;){let e=this.socket.read();if(e===null)break;this.execute(e)}}execute(e){Le(this.ptr!=null),Le(Mr==null),Le(!this.paused);let{socket:r,llhttp:n}=this;e.length>i0&&(ho&&n.free(ho),i0=Math.ceil(e.length/4096)*4096,ho=n.malloc(i0)),new Uint8Array(n.memory.buffer,ho,i0).set(e);try{let i;try{fo=e,Mr=this,i=n.llhttp_execute(this.ptr,ho,e.length)}catch(a){throw a}finally{Mr=null,fo=null}let s=n.llhttp_get_error_pos(this.ptr)-ho;if(i===Ao.ERROR.PAUSED_UPGRADE)this.onUpgrade(e.slice(s));else if(i===Ao.ERROR.PAUSED)this.paused=!0,r.unshift(e.slice(s));else if(i!==Ao.ERROR.OK){let a=n.llhttp_get_error_reason(this.ptr),c="";if(a){let l=new Uint8Array(n.memory.buffer,a).indexOf(0);c="Response does not match the HTTP/1.1 protocol ("+Buffer.from(n.memory.buffer,a,l).toString()+")"}throw new Bue(c,Ao.ERROR[i],e.slice(s))}}catch(i){Ge.destroy(r,i)}}destroy(){Le(this.ptr!=null),Le(Mr==null),this.llhttp.llhttp_free(this.ptr),this.ptr=null,this.timeout&&EQ.clearTimeout(this.timeout),this.timeout=null,this.timeoutValue=null,this.timeoutType=null,this.paused=!1}onStatus(e){this.statusText=e.toString()}onMessageBegin(){let{socket:e,client:r}=this;if(e.destroyed)return-1;let n=r[Ps][r[$i]];if(!n)return-1;n.onResponseStarted()}onHeaderField(e){let r=this.headers.length;(r&1)===0?this.headers.push(e):this.headers[r-1]=Buffer.concat([this.headers[r-1],e]),this.trackHeader(e.length)}onHeaderValue(e){let r=this.headers.length;(r&1)===1?(this.headers.push(e),r+=1):this.headers[r-1]=Buffer.concat([this.headers[r-1],e]);let n=this.headers[r-2];if(n.length===10){let i=Ge.bufferToLowerCasedHeaderName(n);i==="keep-alive"?this.keepAlive+=e.toString():i==="connection"&&(this.connection+=e.toString())}else n.length===14&&Ge.bufferToLowerCasedHeaderName(n)==="content-length"&&(this.contentLength+=e.toString());this.trackHeader(e.length)}trackHeader(e){this.headersSize+=e,this.headersSize>=this.headersMaxSize&&Ge.destroy(this.socket,new xue)}onUpgrade(e){let{upgrade:r,client:n,socket:i,headers:s,statusCode:a}=this;Le(r),Le(n[BA]===i),Le(!i.destroyed),Le(!this.paused),Le((s.length&1)===0);let c=n[Ps][n[$i]];Le(c),Le(c.upgrade||c.method==="CONNECT"),this.statusCode=null,this.statusText="",this.shouldKeepAlive=null,this.headers=[],this.headersSize=0,i.unshift(e),i[lr].destroy(),i[lr]=null,i[IQ]=null,i[Xi]=null,Lue(i),n[BA]=null,n[b3]=null,n[Ps][n[$i]++]=null,n.emit("disconnect",n[E3],[n],new IA("upgrade"));try{c.onUpgrade(a,s,i)}catch(l){Ge.destroy(i,l)}n[oc]()}onHeadersComplete(e,r,n){let{client:i,socket:s,headers:a,statusText:c}=this;if(s.destroyed)return-1;let l=i[Ps][i[$i]];if(!l)return-1;if(Le(!this.upgrade),Le(this.statusCode<200),e===100)return Ge.destroy(s,new a0("bad response",Ge.getSocketInfo(s))),-1;if(r&&!l.upgrade)return Ge.destroy(s,new a0("bad upgrade",Ge.getSocketInfo(s))),-1;if(Le(this.timeoutType===wA),this.statusCode=e,this.shouldKeepAlive=n||l.method==="HEAD"&&!s[Kn]&&this.connection.toLowerCase()==="keep-alive",this.statusCode>=200){let A=l.bodyTimeout!=null?l.bodyTimeout:i[Due];this.setTimeout(A,o0)}else this.timeout&&this.timeout.refresh&&this.timeout.refresh();if(l.method==="CONNECT")return Le(i[hn]===1),this.upgrade=!0,2;if(r)return Le(i[hn]===1),this.upgrade=!0,2;if(Le((this.headers.length&1)===0),this.headers=[],this.headersSize=0,this.shouldKeepAlive&&i[s0]){let A=this.keepAlive?Ge.parseKeepAliveTimeout(this.keepAlive):null;if(A!=null){let d=Math.min(A-i[Pue],i[Rue]);d<=0?s[Kn]=!0:i[c0]=d}else i[c0]=i[Sue]}else s[Kn]=!0;let u=l.onHeaders(e,a,this.resume,c)===!1;return l.aborted?-1:l.method==="HEAD"||e<200?1:(s[Nh]&&(s[Nh]=!1,i[oc]()),u?Ao.ERROR.PAUSED:0)}onBody(e){let{client:r,socket:n,statusCode:i,maxResponseSize:s}=this;if(n.destroyed)return-1;let a=r[Ps][r[$i]];if(Le(a),Le(this.timeoutType===o0),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),Le(i>=200),s>-1&&this.bytesRead+e.length>s)return Ge.destroy(n,new wue),-1;if(this.bytesRead+=e.length,a.onData(e)===!1)return Ao.ERROR.PAUSED}onMessageComplete(){let{client:e,socket:r,statusCode:n,upgrade:i,headers:s,contentLength:a,bytesRead:c,shouldKeepAlive:l}=this;if(r.destroyed&&(!n||l))return-1;if(i)return;Le(n>=100),Le((this.headers.length&1)===0);let u=e[Ps][e[$i]];if(Le(u),this.statusCode=null,this.statusText="",this.bytesRead=0,this.contentLength="",this.keepAlive="",this.connection="",this.headers=[],this.headersSize=0,!(n<200)){if(u.method!=="HEAD"&&a&&c!==parseInt(a,10))return Ge.destroy(r,new bue),-1;if(u.onComplete(s),e[Ps][e[$i]++]=null,r[ac])return Le(e[hn]===0),Ge.destroy(r,new IA("reset")),Ao.ERROR.PAUSED;if(l){if(r[Kn]&&e[hn]===0)return Ge.destroy(r,new IA("reset")),Ao.ERROR.PAUSED;e[s0]==null||e[s0]===1?setImmediate(()=>e[oc]()):e[oc]()}else return Ge.destroy(r,new IA("reset")),Ao.ERROR.PAUSED}}};function p3(t){let{socket:e,timeoutType:r,client:n,paused:i}=t.deref();r===wA?(!e[ac]||e.writableNeedDrain||n[hn]>1)&&(Le(!i,"cannot be paused while waiting for headers"),Ge.destroy(e,new Cue)):r===o0?i||Ge.destroy(e,new Iue):r===QQ&&(Le(n[hn]===0&&n[c0]),Ge.destroy(e,new IA("socket idle timeout")))}o(p3,"onParserTimeout");async function Hue(t,e){t[BA]=e,xQ||(xQ=await wQ,wQ=null),e[Qh]=!1,e[ac]=!1,e[Kn]=!1,e[Nh]=!1,e[lr]=new SQ(t,e,xQ),n0(e,"error",function(n){Le(n.code!=="ERR_TLS_CERT_ALTNAME_INVALID");let i=this[lr];if(n.code==="ECONNRESET"&&i.statusCode&&!i.shouldKeepAlive){i.onMessageComplete();return}this[Xi]=n,this[IQ][Oue](n)}),n0(e,"readable",function(){let n=this[lr];n&&n.readMore()}),n0(e,"end",function(){let n=this[lr];if(n.statusCode&&!n.shouldKeepAlive){n.onMessageComplete();return}Ge.destroy(this,new a0("other side closed",Ge.getSocketInfo(this)))}),n0(e,"close",function(){let n=this[IQ],i=this[lr];i&&(!this[Xi]&&i.statusCode&&!i.shouldKeepAlive&&i.onMessageComplete(),this[lr].destroy(),this[lr]=null);let s=this[Xi]||new a0("closed",Ge.getSocketInfo(this));if(n[BA]=null,n[b3]=null,n.destroyed){Le(n[Que]===0);let a=n[Ps].splice(n[$i]);for(let c=0;c0&&s.code!=="UND_ERR_INFO"){let a=n[Ps][n[$i]];n[Ps][n[$i]++]=null,Ge.errorRequest(n,a,s)}n[vue]=n[$i],Le(n[hn]===0),n.emit("disconnect",n[E3],[n],s),n[oc]()});let r=!1;return e.on("close",()=>{r=!0}),{version:"h1",defaultPipelining:1,write(...n){return Gue(t,...n)},resume(){que(t)},destroy(n,i){r?queueMicrotask(i):e.destroy(n).on("close",i)},get destroyed(){return e.destroyed},busy(n){return!!(e[ac]||e[Kn]||e[Nh]||n&&(t[hn]>0&&!n.idempotent||t[hn]>0&&(n.upgrade||n.method==="CONNECT")||t[hn]>0&&Ge.bodyLength(n.body)!==0&&(Ge.isStream(n.body)||Ge.isAsyncIterable(n.body)||Ge.isFormDataLike(n.body))))}}}o(Hue,"connectH1");function que(t){let e=t[BA];if(e&&!e.destroyed){if(t[f3]===0?!e[Qh]&&e.unref&&(e.unref(),e[Qh]=!0):e[Qh]&&e.ref&&(e.ref(),e[Qh]=!1),t[f3]===0)e[lr].timeoutType!==QQ&&e[lr].setTimeout(t[c0],QQ);else if(t[hn]>0&&e[lr].statusCode<200&&e[lr].timeoutType!==wA){let r=t[Ps][t[$i]],n=r.headersTimeout!=null?r.headersTimeout:t[_ue];e[lr].setTimeout(n,wA)}}}o(que,"resumeH1");function zue(t){return t!=="GET"&&t!=="HEAD"&&t!=="OPTIONS"&&t!=="TRACE"&&t!=="CONNECT"}o(zue,"shouldSendContentLength");function Gue(t,e){let{method:r,path:n,host:i,upgrade:s,blocking:a,reset:c}=e,{body:l,headers:u,contentLength:A}=e,d=r==="PUT"||r==="POST"||r==="PATCH"||r==="QUERY"||r==="PROPFIND"||r==="PROPPATCH";if(Ge.isFormDataLike(l)){CQ||(CQ=xA().extractBody);let[b,y]=CQ(l);e.contentType==null&&u.push("content-type",y),l=b.stream,A=b.length}else Ge.isBlobLike(l)&&e.contentType==null&&l.type&&u.push("content-type",l.type);l&&typeof l.read=="function"&&l.read(0);let f=Ge.bodyLength(l);if(A=f??A,A===null&&(A=e.contentLength),A===0&&!d&&(A=null),zue(r)&&A>0&&e.contentLength!==null&&e.contentLength!==A){if(t[BQ])return Ge.errorRequest(t,e,new _l),!1;process.emitWarning(new _l)}let h=t[BA],g=o(b=>{e.aborted||e.completed||(Ge.errorRequest(t,e,b||new y3),Ge.destroy(l),Ge.destroy(h,new IA("aborted")))},"abort");try{e.onConnect(g)}catch(b){Ge.errorRequest(t,e,b)}if(e.aborted)return!1;r==="HEAD"&&(h[Kn]=!0),(s||r==="CONNECT")&&(h[Kn]=!0),c!=null&&(h[Kn]=c),t[h3]&&h[kue]++>=t[h3]&&(h[Kn]=!0),a&&(h[Nh]=!0);let m=`${r} ${n} HTTP/1.1\r +`;if(typeof i=="string"?m+=`host: ${i}\r +`:m+=t[Nue],s?m+=`connection: upgrade\r upgrade: ${s}\r -`:t[up]&&!m[Ir]?Q+=`connection: keep-alive\r -`:Q+=`connection: close\r -`,Array.isArray(A))for(let S=0;S{e.removeListener("error",m)}),!l){let C=new kD;queueMicrotask(()=>m(C))}},"onClose"),m=o(function(C){if(!l){if(l=!0,oe(i.destroyed||i[ws]&&r[er]<=1),i.off("drain",d).off("error",m),e.removeListener("data",u).removeListener("end",m).removeListener("close",f),!C)try{A.end()}catch(Q){C=Q}A.destroy(C),C&&(C.code!=="UND_ERR_INFO"||C.message!=="reset")?pe.destroy(e,C):pe.destroy(e)}},"onFinished");e.on("data",u).on("end",m).on("error",m).on("close",f),e.resume&&e.resume(),i.on("drain",d).on("error",m),e.errorEmitted??e.errored?setImmediate(()=>m(e.errored)):(e.endEmitted??e.readableEnded)&&setImmediate(()=>m(null)),(e.closeEmitted??e.closed)&&setImmediate(f)}o(q7,"writeStream");function OD(t,e,r,n,i,s,a,c){try{e?pe.isBuffer(e)&&(oe(s===e.byteLength,"buffer body must have content length"),i.cork(),i.write(`${a}content-length: ${s}\r +`:t[s0]&&!h[Kn]?m+=`connection: keep-alive\r +`:m+=`connection: close\r +`,Array.isArray(u))for(let b=0;b{e.removeListener("error",h)}),!l){let g=new y3;queueMicrotask(()=>h(g))}},"onClose"),h=o(function(g){if(!l){if(l=!0,Le(i.destroyed||i[ac]&&r[hn]<=1),i.off("drain",d).off("error",h),e.removeListener("data",A).removeListener("end",h).removeListener("close",f),!g)try{u.end()}catch(m){g=m}u.destroy(g),g&&(g.code!=="UND_ERR_INFO"||g.message!=="reset")?Ge.destroy(e,g):Ge.destroy(e)}},"onFinished");e.on("data",A).on("end",h).on("error",h).on("close",f),e.resume&&e.resume(),i.on("drain",d).on("error",h),e.errorEmitted??e.errored?setImmediate(()=>h(e.errored)):(e.endEmitted??e.readableEnded)&&setImmediate(()=>h(null)),(e.closeEmitted??e.closed)&&setImmediate(f)}o(jue,"writeStream");function g3(t,e,r,n,i,s,a,c){try{e?Ge.isBuffer(e)&&(Le(s===e.byteLength,"buffer body must have content length"),i.cork(),i.write(`${a}content-length: ${s}\r \r -`,"latin1"),i.write(e),i.uncork(),n.onBodySent(e),!c&&n.reset!==!1&&(i[Ir]=!0)):s===0?i.write(`${a}content-length: 0\r +`,"latin1"),i.write(e),i.uncork(),n.onBodySent(e),!c&&n.reset!==!1&&(i[Kn]=!0)):s===0?i.write(`${a}content-length: 0\r \r -`,"latin1"):(oe(s===null,"no body must not have content length"),i.write(`${a}\r -`,"latin1")),n.onRequestSent(),r[Qs]()}catch(l){t(l)}}o(OD,"writeBuffer");async function H7(t,e,r,n,i,s,a,c){oe(s===e.size,"blob body must have content length");try{if(s!=null&&s!==e.size)throw new wo;let l=Buffer.from(await e.arrayBuffer());i.cork(),i.write(`${a}content-length: ${s}\r +`,"latin1"):(Le(s===null,"no body must not have content length"),i.write(`${a}\r +`,"latin1")),n.onRequestSent(),r[oc]()}catch(l){t(l)}}o(g3,"writeBuffer");async function Yue(t,e,r,n,i,s,a,c){Le(s===e.size,"blob body must have content length");try{if(s!=null&&s!==e.size)throw new _l;let l=Buffer.from(await e.arrayBuffer());i.cork(),i.write(`${a}content-length: ${s}\r \r -`,"latin1"),i.write(l),i.uncork(),n.onBodySent(l),n.onRequestSent(),!c&&n.reset!==!1&&(i[Ir]=!0),r[Qs]()}catch(l){t(l)}}o(H7,"writeBlob");async function MD(t,e,r,n,i,s,a,c){oe(s!==0||r[er]===0,"iterator body cannot be pipelined");let l=null;function A(){if(l){let f=l;l=null,f()}}o(A,"onDrain");let u=o(()=>new Promise((f,m)=>{oe(l===null),i[hn]?m(i[hn]):l=f}),"waitForDrain");i.on("close",A).on("drain",A);let d=new fp({abort:t,socket:i,request:n,contentLength:s,client:r,expectsPayload:c,header:a});try{for await(let f of e){if(i[hn])throw i[hn];d.write(f)||await u()}d.end()}catch(f){d.destroy(f)}finally{i.off("close",A).off("drain",A)}}o(MD,"writeIterable");var fp=class{static{o(this,"AsyncWriter")}constructor({abort:e,socket:r,request:n,contentLength:i,client:s,expectsPayload:a,header:c}){this.socket=r,this.request=n,this.contentLength=i,this.client=s,this.bytesWritten=0,this.expectsPayload=a,this.header=c,this.abort=e,r[ws]=!0}write(e){let{socket:r,request:n,contentLength:i,client:s,bytesWritten:a,expectsPayload:c,header:l}=this;if(r[hn])throw r[hn];if(r.destroyed)return!1;let A=Buffer.byteLength(e);if(!A)return!0;if(i!==null&&a+A>i){if(s[JE])throw new wo;process.emitWarning(new wo)}r.cork(),a===0&&(!c&&n.reset!==!1&&(r[Ir]=!0),i===null?r.write(`${l}transfer-encoding: chunked\r +`,"latin1"),i.write(l),i.uncork(),n.onBodySent(l),n.onRequestSent(),!c&&n.reset!==!1&&(i[Kn]=!0),r[oc]()}catch(l){t(l)}}o(Yue,"writeBlob");async function m3(t,e,r,n,i,s,a,c){Le(s!==0||r[hn]===0,"iterator body cannot be pipelined");let l=null;function u(){if(l){let f=l;l=null,f()}}o(u,"onDrain");let A=o(()=>new Promise((f,h)=>{Le(l===null),i[Xi]?h(i[Xi]):l=f}),"waitForDrain");i.on("close",u).on("drain",u);let d=new l0({abort:t,socket:i,request:n,contentLength:s,client:r,expectsPayload:c,header:a});try{for await(let f of e){if(i[Xi])throw i[Xi];d.write(f)||await A()}d.end()}catch(f){d.destroy(f)}finally{i.off("close",u).off("drain",u)}}o(m3,"writeIterable");var l0=class{static{o(this,"AsyncWriter")}constructor({abort:e,socket:r,request:n,contentLength:i,client:s,expectsPayload:a,header:c}){this.socket=r,this.request=n,this.contentLength=i,this.client=s,this.bytesWritten=0,this.expectsPayload=a,this.header=c,this.abort=e,r[ac]=!0}write(e){let{socket:r,request:n,contentLength:i,client:s,bytesWritten:a,expectsPayload:c,header:l}=this;if(r[Xi])throw r[Xi];if(r.destroyed)return!1;let u=Buffer.byteLength(e);if(!u)return!0;if(i!==null&&a+u>i){if(s[BQ])throw new _l;process.emitWarning(new _l)}r.cork(),a===0&&(!c&&n.reset!==!1&&(r[Kn]=!0),i===null?r.write(`${l}transfer-encoding: chunked\r `,"latin1"):r.write(`${l}content-length: ${i}\r \r `,"latin1")),i===null&&r.write(`\r -${A.toString(16)}\r -`,"latin1"),this.bytesWritten+=A;let u=r.write(e);return r.uncork(),n.onBodySent(e),u||r[ht].timeout&&r[ht].timeoutType===Ya&&r[ht].timeout.refresh&&r[ht].timeout.refresh(),u}end(){let{socket:e,contentLength:r,client:n,bytesWritten:i,expectsPayload:s,header:a,request:c}=this;if(c.onRequestSent(),e[ws]=!1,e[hn])throw e[hn];if(!e.destroyed){if(i===0?s?e.write(`${a}content-length: 0\r +${u.toString(16)}\r +`,"latin1"),this.bytesWritten+=u;let A=r.write(e);return r.uncork(),n.onBodySent(e),A||r[lr].timeout&&r[lr].timeoutType===wA&&r[lr].timeout.refresh&&r[lr].timeout.refresh(),A}end(){let{socket:e,contentLength:r,client:n,bytesWritten:i,expectsPayload:s,header:a,request:c}=this;if(c.onRequestSent(),e[ac]=!1,e[Xi])throw e[Xi];if(!e.destroyed){if(i===0?s?e.write(`${a}content-length: 0\r \r `,"latin1"):e.write(`${a}\r `,"latin1"):r===null&&e.write(`\r 0\r \r -`,"latin1"),r!==null&&i!==r){if(n[JE])throw new wo;process.emitWarning(new wo)}e[ht].timeout&&e[ht].timeoutType===Ya&&e[ht].timeout.refresh&&e[ht].timeout.refresh(),n[Qs]()}}destroy(e){let{socket:r,client:n,abort:i}=this;r[ws]=!1,e&&(oe(n[er]<=1,"pipeline should only contain this request"),i(e))}};FD.exports=k7});var WD=g((z2e,VD)=>{"use strict";var fn=require("node:assert"),{pipeline:z7}=require("node:stream"),we=Ee(),{RequestContentLengthMismatchError:KE,RequestAbortedError:HD,SocketError:bA,InformationalError:XE}=Pe(),{kUrl:mp,kReset:yp,kClient:Ja,kRunning:Cp,kPending:j7,kQueue:Ns,kPendingIdx:ZE,kRunningIdx:zn,kError:Gn,kSocket:qt,kStrictContentLength:G7,kOnError:eB,kMaxConcurrentStreams:JD,kHTTP2Session:jn,kResume:xs,kSize:Y7,kHTTPContext:J7}=nt(),es=Symbol("open streams"),zD,jD=!1,gp;try{gp=require("node:http2")}catch{gp={constants:{}}}var{constants:{HTTP2_HEADER_AUTHORITY:V7,HTTP2_HEADER_METHOD:W7,HTTP2_HEADER_PATH:$7,HTTP2_HEADER_SCHEME:K7,HTTP2_HEADER_CONTENT_LENGTH:X7,HTTP2_HEADER_EXPECT:Z7,HTTP2_HEADER_STATUS:eee}}=gp;function tee(t){let e=[];for(let[r,n]of Object.entries(t))if(Array.isArray(n))for(let i of n)e.push(Buffer.from(r),Buffer.from(i));else e.push(Buffer.from(r),Buffer.from(n));return e}o(tee,"parseH2Headers");async function ree(t,e){t[qt]=e,jD||(jD=!0,process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"}));let r=gp.connect(t[mp],{createConnection:()=>e,peerMaxConcurrentStreams:t[JD]});r[es]=0,r[Ja]=t,r[qt]=e,we.addListener(r,"error",iee),we.addListener(r,"frameError",see),we.addListener(r,"end",oee),we.addListener(r,"goaway",aee),we.addListener(r,"close",function(){let{[Ja]:i}=this,{[qt]:s}=i,a=this[qt][Gn]||this[Gn]||new bA("closed",we.getSocketInfo(s));if(i[jn]=null,i.destroyed){fn(i[j7]===0);let c=i[Ns].splice(i[zn]);for(let l=0;l{n=!0}),{version:"h2",defaultPipelining:1/0,write(...i){return lee(t,...i)},resume(){nee(t)},destroy(i,s){n?queueMicrotask(s):e.destroy(i).on("close",s)},get destroyed(){return e.destroyed},busy(){return!1}}}o(ree,"connectH2");function nee(t){let e=t[qt];e?.destroyed===!1&&(t[Y7]===0&&t[JD]===0?(e.unref(),t[jn].unref()):(e.ref(),t[jn].ref()))}o(nee,"resumeH2");function iee(t){fn(t.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[qt][Gn]=t,this[Ja][eB](t)}o(iee,"onHttp2SessionError");function see(t,e,r){if(r===0){let n=new XE(`HTTP/2: "frameError" received - type ${t}, code ${e}`);this[qt][Gn]=n,this[Ja][eB](n)}}o(see,"onHttp2FrameError");function oee(){let t=new bA("other side closed",we.getSocketInfo(this[qt]));this.destroy(t),we.destroy(this[qt],t)}o(oee,"onHttp2SessionEnd");function aee(t){let e=this[Gn]||new bA(`HTTP/2: "GOAWAY" frame received with code ${t}`,we.getSocketInfo(this)),r=this[Ja];if(r[qt]=null,r[J7]=null,this[jn]!=null&&(this[jn].destroy(e),this[jn]=null),we.destroy(this[qt],e),r[zn]{e.aborted||e.completed||(L=L||new HD,we.errorRequest(t,e,L),f!=null&&we.destroy(f,L),we.destroy(u,L),t[Ns][t[zn]++]=null,t[xs]())},"abort");try{e.onConnect(Q)}catch(L){we.errorRequest(t,e,L)}if(e.aborted)return!1;if(n==="CONNECT")return r.ref(),f=r.request(d,{endStream:!1,signal:l}),f.id&&!f.pending?(e.onUpgrade(null,null,f),++r[es],t[Ns][t[zn]++]=null):f.once("ready",()=>{e.onUpgrade(null,null,f),++r[es],t[Ns][t[zn]++]=null}),f.once("close",()=>{r[es]-=1,r[es]===0&&r.unref()}),!0;d[$7]=i,d[K7]="https";let S=n==="PUT"||n==="POST"||n==="PATCH";u&&typeof u.read=="function"&&u.read(0);let w=we.bodyLength(u);if(we.isFormDataLike(u)){zD??=za().extractBody;let[L,W]=zD(u);d["content-type"]=W,u=L.stream,w=L.length}if(w==null&&(w=e.contentLength),(w===0||!S)&&(w=null),cee(n)&&w>0&&e.contentLength!=null&&e.contentLength!==w){if(t[G7])return we.errorRequest(t,e,new KE),!1;process.emitWarning(new KE)}w!=null&&(fn(u,"no body must not have content length"),d[X7]=`${w}`),r.ref();let R=n==="GET"||n==="HEAD"||u===null;return c?(d[Z7]="100-continue",f=r.request(d,{endStream:R,signal:l}),f.once("continue",T)):(f=r.request(d,{endStream:R,signal:l}),T()),++r[es],f.once("response",L=>{let{[eee]:W,...de}=L;if(e.onResponseStarted(),e.aborted){let le=new HD;we.errorRequest(t,e,le),we.destroy(f,le);return}e.onHeaders(Number(W),tee(de),f.resume.bind(f),"")===!1&&f.pause(),f.on("data",le=>{e.onData(le)===!1&&f.pause()})}),f.once("end",()=>{(f.state?.state==null||f.state.state<6)&&e.onComplete([]),r[es]===0&&r.unref(),Q(new XE("HTTP/2: stream half-closed (remote)")),t[Ns][t[zn]++]=null,t[ZE]=t[zn],t[xs]()}),f.once("close",()=>{r[es]-=1,r[es]===0&&r.unref()}),f.once("error",function(L){Q(L)}),f.once("frameError",(L,W)=>{Q(new XE(`HTTP/2: "frameError" received - type ${L}, code ${W}`))}),!0;function T(){!u||w===0?GD(Q,f,null,t,e,t[qt],w,S):we.isBuffer(u)?GD(Q,f,u,t,e,t[qt],w,S):we.isBlobLike(u)?typeof u.stream=="function"?YD(Q,f,u.stream(),t,e,t[qt],w,S):uee(Q,f,u,t,e,t[qt],w,S):we.isStream(u)?Aee(Q,t[qt],S,f,u,t,e,w):we.isIterable(u)?YD(Q,f,u,t,e,t[qt],w,S):fn(!1)}o(T,"writeBodyH2")}o(lee,"writeH2");function GD(t,e,r,n,i,s,a,c){try{r!=null&&we.isBuffer(r)&&(fn(a===r.byteLength,"buffer body must have content length"),e.cork(),e.write(r),e.uncork(),e.end(),i.onBodySent(r)),c||(s[yp]=!0),i.onRequestSent(),n[xs]()}catch(l){t(l)}}o(GD,"writeBuffer");function Aee(t,e,r,n,i,s,a,c){fn(c!==0||s[Cp]===0,"stream body cannot be pipelined");let l=z7(i,n,u=>{u?(we.destroy(l,u),t(u)):(we.removeAllListeners(l),a.onRequestSent(),r||(e[yp]=!0),s[xs]())});we.addListener(l,"data",A);function A(u){a.onBodySent(u)}o(A,"onPipeData")}o(Aee,"writeStream");async function uee(t,e,r,n,i,s,a,c){fn(a===r.size,"blob body must have content length");try{if(a!=null&&a!==r.size)throw new KE;let l=Buffer.from(await r.arrayBuffer());e.cork(),e.write(l),e.uncork(),e.end(),i.onBodySent(l),i.onRequestSent(),c||(s[yp]=!0),n[xs]()}catch(l){t(l)}}o(uee,"writeBlob");async function YD(t,e,r,n,i,s,a,c){fn(a!==0||n[Cp]===0,"iterator body cannot be pipelined");let l=null;function A(){if(l){let d=l;l=null,d()}}o(A,"onDrain");let u=o(()=>new Promise((d,f)=>{fn(l===null),s[Gn]?f(s[Gn]):l=d}),"waitForDrain");e.on("close",A).on("drain",A);try{for await(let d of r){if(s[Gn])throw s[Gn];let f=e.write(d);i.onBodySent(d),f||await u()}e.end(),i.onRequestSent(),c||(s[yp]=!0),n[xs]()}catch(d){t(d)}finally{e.off("close",A).off("drain",A)}}o(YD,"writeIterable");VD.exports=ree});var Bp=g((G2e,XD)=>{"use strict";var gi=Ee(),{kBodyUsed:QA}=nt(),rB=require("node:assert"),{InvalidArgumentError:dee}=Pe(),pee=require("node:events"),hee=[300,301,302,303,307,308],$D=Symbol("body"),Ep=class{static{o(this,"BodyAsyncIterable")}constructor(e){this[$D]=e,this[QA]=!1}async*[Symbol.asyncIterator](){rB(!this[QA],"disturbed"),this[QA]=!0,yield*this[$D]}},tB=class{static{o(this,"RedirectHandler")}constructor(e,r,n,i){if(r!=null&&(!Number.isInteger(r)||r<0))throw new dee("maxRedirections must be a positive number");gi.validateHandler(i,n.method,n.upgrade),this.dispatch=e,this.location=null,this.abort=null,this.opts={...n,maxRedirections:0},this.maxRedirections=r,this.handler=i,this.history=[],this.redirectionLimitReached=!1,gi.isStream(this.opts.body)?(gi.bodyLength(this.opts.body)===0&&this.opts.body.on("data",function(){rB(!1)}),typeof this.opts.body.readableDidRead!="boolean"&&(this.opts.body[QA]=!1,pee.prototype.on.call(this.opts.body,"data",function(){this[QA]=!0}))):this.opts.body&&typeof this.opts.body.pipeTo=="function"?this.opts.body=new Ep(this.opts.body):this.opts.body&&typeof this.opts.body!="string"&&!ArrayBuffer.isView(this.opts.body)&&gi.isIterable(this.opts.body)&&(this.opts.body=new Ep(this.opts.body))}onConnect(e){this.abort=e,this.handler.onConnect(e,{history:this.history})}onUpgrade(e,r,n){this.handler.onUpgrade(e,r,n)}onError(e){this.handler.onError(e)}onHeaders(e,r,n,i){if(this.location=this.history.length>=this.maxRedirections||gi.isDisturbed(this.opts.body)?null:fee(e,r),this.opts.throwOnMaxRedirect&&this.history.length>=this.maxRedirections){this.request&&this.request.abort(new Error("max redirects")),this.redirectionLimitReached=!0,this.abort(new Error("max redirects"));return}if(this.opts.origin&&this.history.push(new URL(this.opts.path,this.opts.origin)),!this.location)return this.handler.onHeaders(e,r,n,i);let{origin:s,pathname:a,search:c}=gi.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin))),l=c?`${a}${c}`:a;this.opts.headers=mee(this.opts.headers,e===303,this.opts.origin!==s),this.opts.path=l,this.opts.origin=s,this.opts.maxRedirections=0,this.opts.query=null,e===303&&this.opts.method!=="HEAD"&&(this.opts.method="GET",this.opts.body=null)}onData(e){if(!this.location)return this.handler.onData(e)}onComplete(e){this.location?(this.location=null,this.abort=null,this.dispatch(this.opts,this)):this.handler.onComplete(e)}onBodySent(e){this.handler.onBodySent&&this.handler.onBodySent(e)}};function fee(t,e){if(hee.indexOf(t)===-1)return null;for(let r=0;r{"use strict";var gee=Bp();function yee({maxRedirections:t}){return e=>o(function(n,i){let{maxRedirections:s=t}=n;if(!s)return e(n,i);let a=new gee(e,s,n,i);return n={...n,maxRedirections:0},e(n,a)},"Intercept")}o(yee,"createRedirectInterceptor");ZD.exports=yee});var $a=g((W2e,lT)=>{"use strict";var ts=require("node:assert"),sT=require("node:net"),Cee=require("node:http"),No=Ee(),{channels:Va}=_a(),Eee=hP(),Bee=Ta(),{InvalidArgumentError:Qt,InformationalError:Iee,ClientDestroyedError:bee}=Pe(),Qee=uA(),{kUrl:yi,kServerName:Ss,kClient:wee,kBusy:nB,kConnect:Nee,kResuming:xo,kRunning:RA,kPending:_A,kSize:SA,kQueue:Yn,kConnected:xee,kConnecting:Wa,kNeedDrain:_s,kKeepAliveDefaultTimeout:eT,kHostHeader:See,kPendingIdx:Jn,kRunningIdx:rs,kError:Ree,kPipelining:bp,kKeepAliveTimeoutValue:_ee,kMaxHeadersSize:vee,kKeepAliveMaxTimeout:Pee,kKeepAliveTimeoutThreshold:Dee,kHeadersTimeout:Tee,kBodyTimeout:Oee,kStrictContentLength:Mee,kConnector:wA,kMaxRedirections:kee,kMaxRequests:iB,kCounter:Lee,kClose:Uee,kDestroy:Fee,kDispatch:qee,kInterceptors:tT,kLocalAddress:NA,kMaxResponseSize:Hee,kOnError:zee,kHTTPContext:wt,kMaxConcurrentStreams:jee,kResume:xA}=nt(),Gee=qD(),Yee=WD(),rT=!1,Rs=Symbol("kClosedResolve"),nT=o(()=>{},"noop");function oT(t){return t[bp]??t[wt]?.defaultPipelining??1}o(oT,"getPipelining");var sB=class extends Bee{static{o(this,"Client")}constructor(e,{interceptors:r,maxHeaderSize:n,headersTimeout:i,socketTimeout:s,requestTimeout:a,connectTimeout:c,bodyTimeout:l,idleTimeout:A,keepAlive:u,keepAliveTimeout:d,maxKeepAliveTimeout:f,keepAliveMaxTimeout:m,keepAliveTimeoutThreshold:C,socketPath:Q,pipelining:S,tls:w,strictContentLength:R,maxCachedSessions:T,maxRedirections:L,connect:W,maxRequestsPerClient:de,localAddress:le,maxResponseSize:Te,autoSelectFamily:Oe,autoSelectFamilyAttemptTimeout:He,maxConcurrentStreams:Xe,allowH2:fe}={}){if(super(),u!==void 0)throw new Qt("unsupported keepAlive, use pipelining=0 instead");if(s!==void 0)throw new Qt("unsupported socketTimeout, use headersTimeout & bodyTimeout instead");if(a!==void 0)throw new Qt("unsupported requestTimeout, use headersTimeout & bodyTimeout instead");if(A!==void 0)throw new Qt("unsupported idleTimeout, use keepAliveTimeout instead");if(f!==void 0)throw new Qt("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead");if(n!=null&&!Number.isFinite(n))throw new Qt("invalid maxHeaderSize");if(Q!=null&&typeof Q!="string")throw new Qt("invalid socketPath");if(c!=null&&(!Number.isFinite(c)||c<0))throw new Qt("invalid connectTimeout");if(d!=null&&(!Number.isFinite(d)||d<=0))throw new Qt("invalid keepAliveTimeout");if(m!=null&&(!Number.isFinite(m)||m<=0))throw new Qt("invalid keepAliveMaxTimeout");if(C!=null&&!Number.isFinite(C))throw new Qt("invalid keepAliveTimeoutThreshold");if(i!=null&&(!Number.isInteger(i)||i<0))throw new Qt("headersTimeout must be a positive integer or zero");if(l!=null&&(!Number.isInteger(l)||l<0))throw new Qt("bodyTimeout must be a positive integer or zero");if(W!=null&&typeof W!="function"&&typeof W!="object")throw new Qt("connect must be a function or an object");if(L!=null&&(!Number.isInteger(L)||L<0))throw new Qt("maxRedirections must be a positive number");if(de!=null&&(!Number.isInteger(de)||de<0))throw new Qt("maxRequestsPerClient must be a positive number");if(le!=null&&(typeof le!="string"||sT.isIP(le)===0))throw new Qt("localAddress must be valid string IP address");if(Te!=null&&(!Number.isInteger(Te)||Te<-1))throw new Qt("maxResponseSize must be a positive number");if(He!=null&&(!Number.isInteger(He)||He<-1))throw new Qt("autoSelectFamilyAttemptTimeout must be a positive number");if(fe!=null&&typeof fe!="boolean")throw new Qt("allowH2 must be a valid boolean value");if(Xe!=null&&(typeof Xe!="number"||Xe<1))throw new Qt("maxConcurrentStreams must be a positive integer, greater than 0");typeof W!="function"&&(W=Qee({...w,maxCachedSessions:T,allowH2:fe,socketPath:Q,timeout:c,...Oe?{autoSelectFamily:Oe,autoSelectFamilyAttemptTimeout:He}:void 0,...W})),r?.Client&&Array.isArray(r.Client)?(this[tT]=r.Client,rT||(rT=!0,process.emitWarning("Client.Options#interceptor is deprecated. Use Dispatcher#compose instead.",{code:"UNDICI-CLIENT-INTERCEPTOR-DEPRECATED"}))):this[tT]=[Jee({maxRedirections:L})],this[yi]=No.parseOrigin(e),this[wA]=W,this[bp]=S??1,this[vee]=n||Cee.maxHeaderSize,this[eT]=d??4e3,this[Pee]=m??6e5,this[Dee]=C??2e3,this[_ee]=this[eT],this[Ss]=null,this[NA]=le??null,this[xo]=0,this[_s]=0,this[See]=`host: ${this[yi].hostname}${this[yi].port?`:${this[yi].port}`:""}\r -`,this[Oee]=l??3e5,this[Tee]=i??3e5,this[Mee]=R??!0,this[kee]=L,this[iB]=de,this[Rs]=null,this[Hee]=Te>-1?Te:-1,this[jee]=Xe??100,this[wt]=null,this[Yn]=[],this[rs]=0,this[Jn]=0,this[xA]=Ge=>oB(this,Ge),this[zee]=Ge=>aT(this,Ge)}get pipelining(){return this[bp]}set pipelining(e){this[bp]=e,this[xA](!0)}get[_A](){return this[Yn].length-this[Jn]}get[RA](){return this[Jn]-this[rs]}get[SA](){return this[Yn].length-this[rs]}get[xee](){return!!this[wt]&&!this[Wa]&&!this[wt].destroyed}get[nB](){return!!(this[wt]?.busy(null)||this[SA]>=(oT(this)||1)||this[_A]>0)}[Nee](e){cT(this),this.once("connect",e)}[qee](e,r){let n=e.origin||this[yi].origin,i=new Eee(n,e,r);return this[Yn].push(i),this[xo]||(No.bodyLength(i.body)==null&&No.isIterable(i.body)?(this[xo]=1,queueMicrotask(()=>oB(this))):this[xA](!0)),this[xo]&&this[_s]!==2&&this[nB]&&(this[_s]=2),this[_s]<2}async[Uee](){return new Promise(e=>{this[SA]?this[Rs]=e:e(null)})}async[Fee](e){return new Promise(r=>{let n=this[Yn].splice(this[Jn]);for(let s=0;s{this[Rs]&&(this[Rs](),this[Rs]=null),r(null)},"callback");this[wt]?(this[wt].destroy(e,i),this[wt]=null):queueMicrotask(i),this[xA]()})}},Jee=Ip();function aT(t,e){if(t[RA]===0&&e.code!=="UND_ERR_INFO"&&e.code!=="UND_ERR_SOCKET"){ts(t[Jn]===t[rs]);let r=t[Yn].splice(t[rs]);for(let n=0;n{t[wA]({host:e,hostname:r,protocol:n,port:i,servername:t[Ss],localAddress:t[NA]},(l,A)=>{l?c(l):a(A)})});if(t.destroyed){No.destroy(s.on("error",nT),new bee);return}ts(s);try{t[wt]=s.alpnProtocol==="h2"?await Yee(t,s):await Gee(t,s)}catch(a){throw s.destroy().on("error",nT),a}t[Wa]=!1,s[Lee]=0,s[iB]=t[iB],s[wee]=t,s[Ree]=null,Va.connected.hasSubscribers&&Va.connected.publish({connectParams:{host:e,hostname:r,protocol:n,port:i,version:t[wt]?.version,servername:t[Ss],localAddress:t[NA]},connector:t[wA],socket:s}),t.emit("connect",t[yi],[t])}catch(s){if(t.destroyed)return;if(t[Wa]=!1,Va.connectError.hasSubscribers&&Va.connectError.publish({connectParams:{host:e,hostname:r,protocol:n,port:i,version:t[wt]?.version,servername:t[Ss],localAddress:t[NA]},connector:t[wA],error:s}),s.code==="ERR_TLS_CERT_ALTNAME_INVALID")for(ts(t[RA]===0);t[_A]>0&&t[Yn][t[Jn]].servername===t[Ss];){let a=t[Yn][t[Jn]++];No.errorRequest(t,a,s)}else aT(t,s);t.emit("connectionError",t[yi],[t],s)}t[xA]()}o(cT,"connect");function iT(t){t[_s]=0,t.emit("drain",t[yi],[t])}o(iT,"emitDrain");function oB(t,e){t[xo]!==2&&(t[xo]=2,Vee(t,e),t[xo]=0,t[rs]>256&&(t[Yn].splice(0,t[rs]),t[Jn]-=t[rs],t[rs]=0))}o(oB,"resume");function Vee(t,e){for(;;){if(t.destroyed){ts(t[_A]===0);return}if(t[Rs]&&!t[SA]){t[Rs](),t[Rs]=null;return}if(t[wt]&&t[wt].resume(),t[nB])t[_s]=2;else if(t[_s]===2){e?(t[_s]=1,queueMicrotask(()=>iT(t))):iT(t);continue}if(t[_A]===0||t[RA]>=(oT(t)||1))return;let r=t[Yn][t[Jn]];if(t[yi].protocol==="https:"&&t[Ss]!==r.servername){if(t[RA]>0)return;t[Ss]=r.servername,t[wt]?.destroy(new Iee("servername changed"),()=>{t[wt]=null,oB(t)})}if(t[Wa])return;if(!t[wt]){cT(t);return}if(t[wt].destroyed||t[wt].busy(r))return;!r.aborted&&t[wt].write(r)?t[Jn]++:t[Yn].splice(t[Jn],1)}}o(Vee,"_resume");lT.exports=sB});var aB=g((X2e,AT)=>{"use strict";var Qp=class{static{o(this,"FixedCircularBuffer")}constructor(){this.bottom=0,this.top=0,this.list=new Array(2048),this.next=null}isEmpty(){return this.top===this.bottom}isFull(){return(this.top+1&2047)===this.bottom}push(e){this.list[this.top]=e,this.top=this.top+1&2047}shift(){let e=this.list[this.bottom];return e===void 0?null:(this.list[this.bottom]=void 0,this.bottom=this.bottom+1&2047,e)}};AT.exports=class{static{o(this,"FixedQueue")}constructor(){this.head=this.tail=new Qp}isEmpty(){return this.head.isEmpty()}push(e){this.head.isFull()&&(this.head=this.head.next=new Qp),this.head.push(e)}shift(){let e=this.tail,r=e.shift();return e.isEmpty()&&e.next!==null&&(this.tail=e.next),r}}});var dT=g((eze,uT)=>{var{kFree:Wee,kConnected:$ee,kPending:Kee,kQueued:Xee,kRunning:Zee,kSize:ete}=nt(),So=Symbol("pool"),cB=class{static{o(this,"PoolStats")}constructor(e){this[So]=e}get connected(){return this[So][$ee]}get free(){return this[So][Wee]}get pending(){return this[So][Kee]}get queued(){return this[So][Xee]}get running(){return this[So][Zee]}get size(){return this[So][ete]}};uT.exports=cB});var hB=g((rze,IT)=>{"use strict";var tte=Ta(),rte=aB(),{kConnected:lB,kSize:pT,kRunning:hT,kPending:fT,kQueued:vA,kBusy:nte,kFree:ite,kUrl:ste,kClose:ote,kDestroy:ate,kDispatch:cte}=nt(),lte=dT(),br=Symbol("clients"),pr=Symbol("needDrain"),PA=Symbol("queue"),AB=Symbol("closed resolve"),uB=Symbol("onDrain"),mT=Symbol("onConnect"),gT=Symbol("onDisconnect"),yT=Symbol("onConnectionError"),dB=Symbol("get dispatcher"),ET=Symbol("add client"),BT=Symbol("remove client"),CT=Symbol("stats"),pB=class extends tte{static{o(this,"PoolBase")}constructor(){super(),this[PA]=new rte,this[br]=[],this[vA]=0;let e=this;this[uB]=o(function(n,i){let s=e[PA],a=!1;for(;!a;){let c=s.shift();if(!c)break;e[vA]--,a=!this.dispatch(c.opts,c.handler)}this[pr]=a,!this[pr]&&e[pr]&&(e[pr]=!1,e.emit("drain",n,[e,...i])),e[AB]&&s.isEmpty()&&Promise.all(e[br].map(c=>c.close())).then(e[AB])},"onDrain"),this[mT]=(r,n)=>{e.emit("connect",r,[e,...n])},this[gT]=(r,n,i)=>{e.emit("disconnect",r,[e,...n],i)},this[yT]=(r,n,i)=>{e.emit("connectionError",r,[e,...n],i)},this[CT]=new lte(this)}get[nte](){return this[pr]}get[lB](){return this[br].filter(e=>e[lB]).length}get[ite](){return this[br].filter(e=>e[lB]&&!e[pr]).length}get[fT](){let e=this[vA];for(let{[fT]:r}of this[br])e+=r;return e}get[hT](){let e=0;for(let{[hT]:r}of this[br])e+=r;return e}get[pT](){let e=this[vA];for(let{[pT]:r}of this[br])e+=r;return e}get stats(){return this[CT]}async[ote](){this[PA].isEmpty()?await Promise.all(this[br].map(e=>e.close())):await new Promise(e=>{this[AB]=e})}async[ate](e){for(;;){let r=this[PA].shift();if(!r)break;r.handler.onError(e)}await Promise.all(this[br].map(r=>r.destroy(e)))}[cte](e,r){let n=this[dB]();return n?n.dispatch(e,r)||(n[pr]=!0,this[pr]=!this[dB]()):(this[pr]=!0,this[PA].push({opts:e,handler:r}),this[vA]++),!this[pr]}[ET](e){return e.on("drain",this[uB]).on("connect",this[mT]).on("disconnect",this[gT]).on("connectionError",this[yT]),this[br].push(e),this[pr]&&queueMicrotask(()=>{this[pr]&&this[uB](e[ste],[this,e])}),this}[BT](e){e.close(()=>{let r=this[br].indexOf(e);r!==-1&&this[br].splice(r,1)}),this[pr]=this[br].some(r=>!r[pr]&&r.closed!==!0&&r.destroyed!==!0)}};IT.exports={PoolBase:pB,kClients:br,kNeedDrain:pr,kAddClient:ET,kRemoveClient:BT,kGetDispatcher:dB}});var Ka=g((ize,NT)=>{"use strict";var{PoolBase:Ate,kClients:wp,kNeedDrain:ute,kAddClient:dte,kGetDispatcher:pte}=hB(),hte=$a(),{InvalidArgumentError:fB}=Pe(),bT=Ee(),{kUrl:QT,kInterceptors:fte}=nt(),mte=uA(),mB=Symbol("options"),gB=Symbol("connections"),wT=Symbol("factory");function gte(t,e){return new hte(t,e)}o(gte,"defaultFactory");var yB=class extends Ate{static{o(this,"Pool")}constructor(e,{connections:r,factory:n=gte,connect:i,connectTimeout:s,tls:a,maxCachedSessions:c,socketPath:l,autoSelectFamily:A,autoSelectFamilyAttemptTimeout:u,allowH2:d,...f}={}){if(super(),r!=null&&(!Number.isFinite(r)||r<0))throw new fB("invalid connections");if(typeof n!="function")throw new fB("factory must be a function.");if(i!=null&&typeof i!="function"&&typeof i!="object")throw new fB("connect must be a function or an object");typeof i!="function"&&(i=mte({...a,maxCachedSessions:c,allowH2:d,socketPath:l,timeout:s,...A?{autoSelectFamily:A,autoSelectFamilyAttemptTimeout:u}:void 0,...i})),this[fte]=f.interceptors?.Pool&&Array.isArray(f.interceptors.Pool)?f.interceptors.Pool:[],this[gB]=r||null,this[QT]=bT.parseOrigin(e),this[mB]={...bT.deepClone(f),connect:i,allowH2:d},this[mB].interceptors=f.interceptors?{...f.interceptors}:void 0,this[wT]=n,this.on("connectionError",(m,C,Q)=>{for(let S of C){let w=this[wp].indexOf(S);w!==-1&&this[wp].splice(w,1)}})}[pte](){for(let e of this[wp])if(!e[ute])return e;if(!this[gB]||this[wp].length{"use strict";var{BalancedPoolMissingUpstreamError:yte,InvalidArgumentError:Cte}=Pe(),{PoolBase:Ete,kClients:tr,kNeedDrain:DA,kAddClient:Bte,kRemoveClient:Ite,kGetDispatcher:bte}=hB(),Qte=Ka(),{kUrl:CB,kInterceptors:wte}=nt(),{parseOrigin:xT}=Ee(),ST=Symbol("factory"),Np=Symbol("options"),RT=Symbol("kGreatestCommonDivisor"),Ro=Symbol("kCurrentWeight"),_o=Symbol("kIndex"),mn=Symbol("kWeight"),xp=Symbol("kMaxWeightPerServer"),Sp=Symbol("kErrorPenalty");function Nte(t,e){if(t===0)return e;for(;e!==0;){let r=e;e=t%e,t=r}return t}o(Nte,"getGreatestCommonDivisor");function xte(t,e){return new Qte(t,e)}o(xte,"defaultFactory");var EB=class extends Ete{static{o(this,"BalancedPool")}constructor(e=[],{factory:r=xte,...n}={}){if(super(),this[Np]=n,this[_o]=-1,this[Ro]=0,this[xp]=this[Np].maxWeightPerServer||100,this[Sp]=this[Np].errorPenalty||15,Array.isArray(e)||(e=[e]),typeof r!="function")throw new Cte("factory must be a function.");this[wte]=n.interceptors?.BalancedPool&&Array.isArray(n.interceptors.BalancedPool)?n.interceptors.BalancedPool:[],this[ST]=r;for(let i of e)this.addUpstream(i);this._updateBalancedPoolStats()}addUpstream(e){let r=xT(e).origin;if(this[tr].find(i=>i[CB].origin===r&&i.closed!==!0&&i.destroyed!==!0))return this;let n=this[ST](r,Object.assign({},this[Np]));this[Bte](n),n.on("connect",()=>{n[mn]=Math.min(this[xp],n[mn]+this[Sp])}),n.on("connectionError",()=>{n[mn]=Math.max(1,n[mn]-this[Sp]),this._updateBalancedPoolStats()}),n.on("disconnect",(...i)=>{let s=i[2];s&&s.code==="UND_ERR_SOCKET"&&(n[mn]=Math.max(1,n[mn]-this[Sp]),this._updateBalancedPoolStats())});for(let i of this[tr])i[mn]=this[xp];return this._updateBalancedPoolStats(),this}_updateBalancedPoolStats(){let e=0;for(let r=0;ri[CB].origin===r&&i.closed!==!0&&i.destroyed!==!0);return n&&this[Ite](n),this}get upstreams(){return this[tr].filter(e=>e.closed!==!0&&e.destroyed!==!0).map(e=>e[CB].origin)}[bte](){if(this[tr].length===0)throw new yte;if(!this[tr].find(s=>!s[DA]&&s.closed!==!0&&s.destroyed!==!0)||this[tr].map(s=>s[DA]).reduce((s,a)=>s&&a,!0))return;let n=0,i=this[tr].findIndex(s=>!s[DA]);for(;n++this[tr][i][mn]&&!s[DA]&&(i=this[_o]),this[_o]===0&&(this[Ro]=this[Ro]-this[RT],this[Ro]<=0&&(this[Ro]=this[xp])),s[mn]>=this[Ro]&&!s[DA])return s}return this[Ro]=this[tr][i][mn],this[_o]=i,this[tr][i]}};_T.exports=EB});var Xa=g((cze,LT)=>{"use strict";var{InvalidArgumentError:Rp}=Pe(),{kClients:vs,kRunning:PT,kClose:Ste,kDestroy:Rte,kDispatch:_te,kInterceptors:vte}=nt(),Pte=Ta(),Dte=Ka(),Tte=$a(),Ote=Ee(),Mte=Ip(),DT=Symbol("onConnect"),TT=Symbol("onDisconnect"),OT=Symbol("onConnectionError"),kte=Symbol("maxRedirections"),MT=Symbol("onDrain"),kT=Symbol("factory"),BB=Symbol("options");function Lte(t,e){return e&&e.connections===1?new Tte(t,e):new Dte(t,e)}o(Lte,"defaultFactory");var IB=class extends Pte{static{o(this,"Agent")}constructor({factory:e=Lte,maxRedirections:r=0,connect:n,...i}={}){if(super(),typeof e!="function")throw new Rp("factory must be a function.");if(n!=null&&typeof n!="function"&&typeof n!="object")throw new Rp("connect must be a function or an object");if(!Number.isInteger(r)||r<0)throw new Rp("maxRedirections must be a positive number");n&&typeof n!="function"&&(n={...n}),this[vte]=i.interceptors?.Agent&&Array.isArray(i.interceptors.Agent)?i.interceptors.Agent:[Mte({maxRedirections:r})],this[BB]={...Ote.deepClone(i),connect:n},this[BB].interceptors=i.interceptors?{...i.interceptors}:void 0,this[kte]=r,this[kT]=e,this[vs]=new Map,this[MT]=(s,a)=>{this.emit("drain",s,[this,...a])},this[DT]=(s,a)=>{this.emit("connect",s,[this,...a])},this[TT]=(s,a,c)=>{this.emit("disconnect",s,[this,...a],c)},this[OT]=(s,a,c)=>{this.emit("connectionError",s,[this,...a],c)}}get[PT](){let e=0;for(let r of this[vs].values())e+=r[PT];return e}[_te](e,r){let n;if(e.origin&&(typeof e.origin=="string"||e.origin instanceof URL))n=String(e.origin);else throw new Rp("opts.origin must be a non-empty string or URL.");let i=this[vs].get(n);return i||(i=this[kT](e.origin,this[BB]).on("drain",this[MT]).on("connect",this[DT]).on("disconnect",this[TT]).on("connectionError",this[OT]),this[vs].set(n,i)),i.dispatch(e,r)}async[Ste](){let e=[];for(let r of this[vs].values())e.push(r.close());this[vs].clear(),await Promise.all(e)}async[Rte](e){let r=[];for(let n of this[vs].values())r.push(n.destroy(e));this[vs].clear(),await Promise.all(r)}};LT.exports=IB});var xB=g((Aze,WT)=>{"use strict";var{kProxy:bB,kClose:jT,kDestroy:GT,kDispatch:UT,kInterceptors:Ute}=nt(),{URL:vo}=require("node:url"),Fte=Xa(),YT=Ka(),JT=Ta(),{InvalidArgumentError:Za,RequestAbortedError:qte,SecureProxyConnectionError:Hte}=Pe(),FT=uA(),VT=$a(),_p=Symbol("proxy agent"),vp=Symbol("proxy client"),Ps=Symbol("proxy headers"),QB=Symbol("request tls settings"),qT=Symbol("proxy tls settings"),HT=Symbol("connect endpoint function"),zT=Symbol("tunnel proxy");function zte(t){return t==="https:"?443:80}o(zte,"defaultProtocolPort");function jte(t,e){return new YT(t,e)}o(jte,"defaultFactory");var Gte=o(()=>{},"noop");function Yte(t,e){return e.connections===1?new VT(t,e):new YT(t,e)}o(Yte,"defaultAgentFactory");var wB=class extends JT{static{o(this,"Http1ProxyWrapper")}#e;constructor(e,{headers:r={},connect:n,factory:i}){if(super(),!e)throw new Za("Proxy URL is mandatory");this[Ps]=r,i?this.#e=i(e,{connect:n}):this.#e=new VT(e,{connect:n})}[UT](e,r){let n=r.onHeaders;r.onHeaders=function(c,l,A){if(c===407){typeof r.onError=="function"&&r.onError(new Za("Proxy Authentication Required (407)"));return}n&&n.call(this,c,l,A)};let{origin:i,path:s="/",headers:a={}}=e;if(e.path=i+s,!("host"in a)&&!("Host"in a)){let{host:c}=new vo(i);a.host=c}return e.headers={...this[Ps],...a},this.#e[UT](e,r)}async[jT](){return this.#e.close()}async[GT](e){return this.#e.destroy(e)}},NB=class extends JT{static{o(this,"ProxyAgent")}constructor(e){if(super(),!e||typeof e=="object"&&!(e instanceof vo)&&!e.uri)throw new Za("Proxy uri is mandatory");let{clientFactory:r=jte}=e;if(typeof r!="function")throw new Za("Proxy opts.clientFactory must be a function.");let{proxyTunnel:n=!0}=e,i=this.#e(e),{href:s,origin:a,port:c,protocol:l,username:A,password:u,hostname:d}=i;if(this[bB]={uri:s,protocol:l},this[Ute]=e.interceptors?.ProxyAgent&&Array.isArray(e.interceptors.ProxyAgent)?e.interceptors.ProxyAgent:[],this[QB]=e.requestTls,this[qT]=e.proxyTls,this[Ps]=e.headers||{},this[zT]=n,e.auth&&e.token)throw new Za("opts.auth cannot be used in combination with opts.token");e.auth?this[Ps]["proxy-authorization"]=`Basic ${e.auth}`:e.token?this[Ps]["proxy-authorization"]=e.token:A&&u&&(this[Ps]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(A)}:${decodeURIComponent(u)}`).toString("base64")}`);let f=FT({...e.proxyTls});this[HT]=FT({...e.requestTls});let m=e.factory||Yte,C=o((Q,S)=>{let{protocol:w}=new vo(Q);return!this[zT]&&w==="http:"&&this[bB].protocol==="http:"?new wB(this[bB].uri,{headers:this[Ps],connect:f,factory:m}):m(Q,S)},"factory");this[vp]=r(i,{connect:f}),this[_p]=new Fte({...e,factory:C,connect:async(Q,S)=>{let w=Q.host;Q.port||(w+=`:${zte(Q.protocol)}`);try{let{socket:R,statusCode:T}=await this[vp].connect({origin:a,port:c,path:w,signal:Q.signal,headers:{...this[Ps],host:Q.host},servername:this[qT]?.servername||d});if(T!==200&&(R.on("error",Gte).destroy(),S(new qte(`Proxy response (${T}) !== 200 when HTTP Tunneling`))),Q.protocol!=="https:"){S(null,R);return}let L;this[QB]?L=this[QB].servername:L=Q.servername,this[HT]({...Q,servername:L,httpSocket:R},S)}catch(R){R.code==="ERR_TLS_CERT_ALTNAME_INVALID"?S(new Hte(R)):S(R)}}})}dispatch(e,r){let n=Jte(e.headers);if(Vte(n),n&&!("host"in n)&&!("Host"in n)){let{host:i}=new vo(e.origin);n.host=i}return this[_p].dispatch({...e,headers:n},r)}#e(e){return typeof e=="string"?new vo(e):e instanceof vo?e:new vo(e.uri)}async[jT](){await this[_p].close(),await this[vp].close()}async[GT](){await this[_p].destroy(),await this[vp].destroy()}};function Jte(t){if(Array.isArray(t)){let e={};for(let r=0;rr.toLowerCase()==="proxy-authorization"))throw new Za("Proxy-Authorization should be sent in ProxyAgent constructor")}o(Vte,"throwIfProxyAuthIsSent");WT.exports=NB});var tO=g((dze,eO)=>{"use strict";var Wte=Ta(),{kClose:$te,kDestroy:Kte,kClosed:$T,kDestroyed:KT,kDispatch:Xte,kNoProxyAgent:TA,kHttpProxyAgent:Ds,kHttpsProxyAgent:Po}=nt(),XT=xB(),Zte=Xa(),ere={"http:":80,"https:":443},ZT=!1,SB=class extends Wte{static{o(this,"EnvHttpProxyAgent")}#e=null;#t=null;#i=null;constructor(e={}){super(),this.#i=e,ZT||(ZT=!0,process.emitWarning("EnvHttpProxyAgent is experimental, expect them to change at any time.",{code:"UNDICI-EHPA"}));let{httpProxy:r,httpsProxy:n,noProxy:i,...s}=e;this[TA]=new Zte(s);let a=r??process.env.http_proxy??process.env.HTTP_PROXY;a?this[Ds]=new XT({...s,uri:a}):this[Ds]=this[TA];let c=n??process.env.https_proxy??process.env.HTTPS_PROXY;c?this[Po]=new XT({...s,uri:c}):this[Po]=this[Ds],this.#s()}[Xte](e,r){let n=new URL(e.origin);return this.#n(n).dispatch(e,r)}async[$te](){await this[TA].close(),this[Ds][$T]||await this[Ds].close(),this[Po][$T]||await this[Po].close()}async[Kte](e){await this[TA].destroy(e),this[Ds][KT]||await this[Ds].destroy(e),this[Po][KT]||await this[Po].destroy(e)}#n(e){let{protocol:r,host:n,port:i}=e;return n=n.replace(/:\d*$/,"").toLowerCase(),i=Number.parseInt(i,10)||ere[r]||0,this.#r(n,i)?r==="https:"?this[Po]:this[Ds]:this[TA]}#r(e,r){if(this.#o&&this.#s(),this.#t.length===0)return!0;if(this.#e==="*")return!1;for(let n=0;n{"use strict";var ec=require("node:assert"),{kRetryHandlerDefaultRetry:rO}=nt(),{RequestRetryError:OA}=Pe(),{isDisturbed:nO,parseHeaders:tre,parseRangeHeader:iO,wrapRequestBody:rre}=Ee();function nre(t){let e=Date.now();return new Date(t).getTime()-e}o(nre,"calculateRetryAfterHeader");var RB=class t{static{o(this,"RetryHandler")}constructor(e,r){let{retryOptions:n,...i}=e,{retry:s,maxRetries:a,maxTimeout:c,minTimeout:l,timeoutFactor:A,methods:u,errorCodes:d,retryAfter:f,statusCodes:m}=n??{};this.dispatch=r.dispatch,this.handler=r.handler,this.opts={...i,body:rre(e.body)},this.abort=null,this.aborted=!1,this.retryOpts={retry:s??t[rO],retryAfter:f??!0,maxTimeout:c??30*1e3,minTimeout:l??500,timeoutFactor:A??2,maxRetries:a??5,methods:u??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE"],statusCodes:m??[500,502,503,504,429],errorCodes:d??["ECONNRESET","ECONNREFUSED","ENOTFOUND","ENETDOWN","ENETUNREACH","EHOSTDOWN","EHOSTUNREACH","EPIPE","UND_ERR_SOCKET"]},this.retryCount=0,this.retryCountCheckpoint=0,this.start=0,this.end=null,this.etag=null,this.resume=null,this.handler.onConnect(C=>{this.aborted=!0,this.abort?this.abort(C):this.reason=C})}onRequestSent(){this.handler.onRequestSent&&this.handler.onRequestSent()}onUpgrade(e,r,n){this.handler.onUpgrade&&this.handler.onUpgrade(e,r,n)}onConnect(e){this.aborted?e(this.reason):this.abort=e}onBodySent(e){if(this.handler.onBodySent)return this.handler.onBodySent(e)}static[rO](e,{state:r,opts:n},i){let{statusCode:s,code:a,headers:c}=e,{method:l,retryOptions:A}=n,{maxRetries:u,minTimeout:d,maxTimeout:f,timeoutFactor:m,statusCodes:C,errorCodes:Q,methods:S}=A,{counter:w}=r;if(a&&a!=="UND_ERR_REQ_RETRY"&&!Q.includes(a)){i(e);return}if(Array.isArray(S)&&!S.includes(l)){i(e);return}if(s!=null&&Array.isArray(C)&&!C.includes(s)){i(e);return}if(w>u){i(e);return}let R=c?.["retry-after"];R&&(R=Number(R),R=Number.isNaN(R)?nre(R):R*1e3);let T=R>0?Math.min(R,f):Math.min(d*m**(w-1),f);setTimeout(()=>i(null),T)}onHeaders(e,r,n,i){let s=tre(r);if(this.retryCount+=1,e>=300)return this.retryOpts.statusCodes.includes(e)===!1?this.handler.onHeaders(e,r,n,i):(this.abort(new OA("Request failed",e,{headers:s,data:{count:this.retryCount}})),!1);if(this.resume!=null){if(this.resume=null,e!==206&&(this.start>0||e!==200))return this.abort(new OA("server does not support the range header and the payload was partially consumed",e,{headers:s,data:{count:this.retryCount}})),!1;let c=iO(s["content-range"]);if(!c)return this.abort(new OA("Content-Range mismatch",e,{headers:s,data:{count:this.retryCount}})),!1;if(this.etag!=null&&this.etag!==s.etag)return this.abort(new OA("ETag mismatch",e,{headers:s,data:{count:this.retryCount}})),!1;let{start:l,size:A,end:u=A-1}=c;return ec(this.start===l,"content-range mismatch"),ec(this.end==null||this.end===u,"content-range mismatch"),this.resume=n,!0}if(this.end==null){if(e===206){let c=iO(s["content-range"]);if(c==null)return this.handler.onHeaders(e,r,n,i);let{start:l,size:A,end:u=A-1}=c;ec(l!=null&&Number.isFinite(l),"content-range mismatch"),ec(u!=null&&Number.isFinite(u),"invalid content-length"),this.start=l,this.end=u}if(this.end==null){let c=s["content-length"];this.end=c!=null?Number(c)-1:null}return ec(Number.isFinite(this.start)),ec(this.end==null||Number.isFinite(this.end),"invalid content-length"),this.resume=n,this.etag=s.etag!=null?s.etag:null,this.etag!=null&&this.etag.startsWith("W/")&&(this.etag=null),this.handler.onHeaders(e,r,n,i)}let a=new OA("Request failed",e,{headers:s,data:{count:this.retryCount}});return this.abort(a),!1}onData(e){return this.start+=e.length,this.handler.onData(e)}onComplete(e){return this.retryCount=0,this.handler.onComplete(e)}onError(e){if(this.aborted||nO(this.opts.body))return this.handler.onError(e);this.retryCount-this.retryCountCheckpoint>0?this.retryCount=this.retryCountCheckpoint+(this.retryCount-this.retryCountCheckpoint):this.retryCount+=1,this.retryOpts.retry(e,{state:{counter:this.retryCount},opts:{retryOptions:this.retryOpts,...this.opts}},r.bind(this));function r(n){if(n!=null||this.aborted||nO(this.opts.body))return this.handler.onError(n);if(this.start!==0){let i={range:`bytes=${this.start}-${this.end??""}`};this.etag!=null&&(i["if-match"]=this.etag),this.opts={...this.opts,headers:{...this.opts.headers,...i}}}try{this.retryCountCheckpoint=this.retryCount,this.dispatch(this.opts,this)}catch(i){this.handler.onError(i)}}o(r,"onRetry")}};sO.exports=RB});var aO=g((mze,oO)=>{"use strict";var ire=lA(),sre=Pp(),_B=class extends ire{static{o(this,"RetryAgent")}#e=null;#t=null;constructor(e,r={}){super(r),this.#e=e,this.#t=r}dispatch(e,r){let n=new sre({...e,retryOptions:this.#t},{dispatch:this.#e.dispatch.bind(this.#e),handler:r});return this.#e.dispatch(e,n)}close(){return this.#e.close()}destroy(){return this.#e.destroy()}};oO.exports=_B});var MB=g((yze,mO)=>{"use strict";var dO=require("node:assert"),{Readable:ore}=require("node:stream"),{RequestAbortedError:pO,NotSupportedError:are,InvalidArgumentError:cre,AbortError:vB}=Pe(),hO=Ee(),{ReadableStreamFrom:lre}=Ee(),Fr=Symbol("kConsume"),MA=Symbol("kReading"),Ts=Symbol("kBody"),cO=Symbol("kAbort"),fO=Symbol("kContentType"),lO=Symbol("kContentLength"),Are=o(()=>{},"noop"),PB=class extends ore{static{o(this,"BodyReadable")}constructor({resume:e,abort:r,contentType:n="",contentLength:i,highWaterMark:s=64*1024}){super({autoDestroy:!0,read:e,highWaterMark:s}),this._readableState.dataEmitted=!1,this[cO]=r,this[Fr]=null,this[Ts]=null,this[fO]=n,this[lO]=i,this[MA]=!1}destroy(e){return!e&&!this._readableState.endEmitted&&(e=new pO),e&&this[cO](),super.destroy(e)}_destroy(e,r){this[MA]?r(e):setImmediate(()=>{r(e)})}on(e,...r){return(e==="data"||e==="readable")&&(this[MA]=!0),super.on(e,...r)}addListener(e,...r){return this.on(e,...r)}off(e,...r){let n=super.off(e,...r);return(e==="data"||e==="readable")&&(this[MA]=this.listenerCount("data")>0||this.listenerCount("readable")>0),n}removeListener(e,...r){return this.off(e,...r)}push(e){return this[Fr]&&e!==null?(TB(this[Fr],e),this[MA]?super.push(e):!0):super.push(e)}async text(){return kA(this,"text")}async json(){return kA(this,"json")}async blob(){return kA(this,"blob")}async bytes(){return kA(this,"bytes")}async arrayBuffer(){return kA(this,"arrayBuffer")}async formData(){throw new are}get bodyUsed(){return hO.isDisturbed(this)}get body(){return this[Ts]||(this[Ts]=lre(this),this[Fr]&&(this[Ts].getReader(),dO(this[Ts].locked))),this[Ts]}async dump(e){let r=Number.isFinite(e?.limit)?e.limit:131072,n=e?.signal;if(n!=null&&(typeof n!="object"||!("aborted"in n)))throw new cre("signal must be an AbortSignal");return n?.throwIfAborted(),this._readableState.closeEmitted?null:await new Promise((i,s)=>{this[lO]>r&&this.destroy(new vB);let a=o(()=>{this.destroy(n.reason??new vB)},"onAbort");n?.addEventListener("abort",a),this.on("close",function(){n?.removeEventListener("abort",a),n?.aborted?s(n.reason??new vB):i(null)}).on("error",Are).on("data",function(c){r-=c.length,r<=0&&this.destroy()}).resume()})}};function ure(t){return t[Ts]&&t[Ts].locked===!0||t[Fr]}o(ure,"isLocked");function dre(t){return hO.isDisturbed(t)||ure(t)}o(dre,"isUnusable");async function kA(t,e){return dO(!t[Fr]),new Promise((r,n)=>{if(dre(t)){let i=t._readableState;i.destroyed&&i.closeEmitted===!1?t.on("error",s=>{n(s)}).on("close",()=>{n(new TypeError("unusable"))}):n(i.errored??new TypeError("unusable"))}else queueMicrotask(()=>{t[Fr]={type:e,stream:t,resolve:r,reject:n,length:0,body:[]},t.on("error",function(i){OB(this[Fr],i)}).on("close",function(){this[Fr].body!==null&&OB(this[Fr],new pO)}),pre(t[Fr])})})}o(kA,"consume");function pre(t){if(t.body===null)return;let{_readableState:e}=t.stream;if(e.bufferIndex){let r=e.bufferIndex,n=e.buffer.length;for(let i=r;i2&&r[0]===239&&r[1]===187&&r[2]===191?3:0;return r.utf8Slice(i,n)}o(DB,"chunksDecode");function AO(t,e){if(t.length===0||e===0)return new Uint8Array(0);if(t.length===1)return new Uint8Array(t[0]);let r=new Uint8Array(Buffer.allocUnsafeSlow(e).buffer),n=0;for(let i=0;i{var hre=require("node:assert"),{ResponseStatusCodeError:gO}=Pe(),{chunksDecode:yO}=MB(),fre=128*1024;async function mre({callback:t,body:e,contentType:r,statusCode:n,statusMessage:i,headers:s}){hre(e);let a=[],c=0;try{for await(let d of e)if(a.push(d),c+=d.length,c>fre){a=[],c=0;break}}catch{a=[],c=0}let l=`Response status code ${n}${i?`: ${i}`:""}`;if(n===204||!r||!c){queueMicrotask(()=>t(new gO(l,n,s)));return}let A=Error.stackTraceLimit;Error.stackTraceLimit=0;let u;try{CO(r)?u=JSON.parse(yO(a,c)):EO(r)&&(u=yO(a,c))}catch{}finally{Error.stackTraceLimit=A}queueMicrotask(()=>t(new gO(l,n,s,u)))}o(mre,"getResolveErrorBodyCallback");var CO=o(t=>t.length>15&&t[11]==="/"&&t[0]==="a"&&t[1]==="p"&&t[2]==="p"&&t[3]==="l"&&t[4]==="i"&&t[5]==="c"&&t[6]==="a"&&t[7]==="t"&&t[8]==="i"&&t[9]==="o"&&t[10]==="n"&&t[12]==="j"&&t[13]==="s"&&t[14]==="o"&&t[15]==="n","isContentTypeApplicationJson"),EO=o(t=>t.length>4&&t[4]==="/"&&t[0]==="t"&&t[1]==="e"&&t[2]==="x"&&t[3]==="t","isContentTypeText");BO.exports={getResolveErrorBodyCallback:mre,isContentTypeApplicationJson:CO,isContentTypeText:EO}});var QO=g((Ize,LB)=>{"use strict";var gre=require("node:assert"),{Readable:yre}=MB(),{InvalidArgumentError:tc,RequestAbortedError:IO}=Pe(),qr=Ee(),{getResolveErrorBodyCallback:Cre}=kB(),{AsyncResource:Ere}=require("node:async_hooks"),Dp=class extends Ere{static{o(this,"RequestHandler")}constructor(e,r){if(!e||typeof e!="object")throw new tc("invalid opts");let{signal:n,method:i,opaque:s,body:a,onInfo:c,responseHeaders:l,throwOnError:A,highWaterMark:u}=e;try{if(typeof r!="function")throw new tc("invalid callback");if(u&&(typeof u!="number"||u<0))throw new tc("invalid highWaterMark");if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new tc("signal must be an EventEmitter or EventTarget");if(i==="CONNECT")throw new tc("invalid method");if(c&&typeof c!="function")throw new tc("invalid onInfo callback");super("UNDICI_REQUEST")}catch(d){throw qr.isStream(a)&&qr.destroy(a.on("error",qr.nop),d),d}this.method=i,this.responseHeaders=l||null,this.opaque=s||null,this.callback=r,this.res=null,this.abort=null,this.body=a,this.trailers={},this.context=null,this.onInfo=c||null,this.throwOnError=A,this.highWaterMark=u,this.signal=n,this.reason=null,this.removeAbortListener=null,qr.isStream(a)&&a.on("error",d=>{this.onError(d)}),this.signal&&(this.signal.aborted?this.reason=this.signal.reason??new IO:this.removeAbortListener=qr.addAbortListener(this.signal,()=>{this.reason=this.signal.reason??new IO,this.res?qr.destroy(this.res.on("error",qr.nop),this.reason):this.abort&&this.abort(this.reason),this.removeAbortListener&&(this.res?.off("close",this.removeAbortListener),this.removeAbortListener(),this.removeAbortListener=null)}))}onConnect(e,r){if(this.reason){e(this.reason);return}gre(this.callback),this.abort=e,this.context=r}onHeaders(e,r,n,i){let{callback:s,opaque:a,abort:c,context:l,responseHeaders:A,highWaterMark:u}=this,d=A==="raw"?qr.parseRawHeaders(r):qr.parseHeaders(r);if(e<200){this.onInfo&&this.onInfo({statusCode:e,headers:d});return}let f=A==="raw"?qr.parseHeaders(r):d,m=f["content-type"],C=f["content-length"],Q=new yre({resume:n,abort:c,contentType:m,contentLength:this.method!=="HEAD"&&C?Number(C):null,highWaterMark:u});this.removeAbortListener&&Q.on("close",this.removeAbortListener),this.callback=null,this.res=Q,s!==null&&(this.throwOnError&&e>=400?this.runInAsyncScope(Cre,null,{callback:s,body:Q,contentType:m,statusCode:e,statusMessage:i,headers:d}):this.runInAsyncScope(s,null,null,{statusCode:e,headers:d,trailers:this.trailers,opaque:a,body:Q,context:l}))}onData(e){return this.res.push(e)}onComplete(e){qr.parseHeaders(e,this.trailers),this.res.push(null)}onError(e){let{res:r,callback:n,body:i,opaque:s}=this;n&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(n,null,e,{opaque:s})})),r&&(this.res=null,queueMicrotask(()=>{qr.destroy(r,e)})),i&&(this.body=null,qr.destroy(i,e)),this.removeAbortListener&&(r?.off("close",this.removeAbortListener),this.removeAbortListener(),this.removeAbortListener=null)}};function bO(t,e){if(e===void 0)return new Promise((r,n)=>{bO.call(this,t,(i,s)=>i?n(i):r(s))});try{this.dispatch(t,new Dp(t,e))}catch(r){if(typeof e!="function")throw r;let n=t?.opaque;queueMicrotask(()=>e(r,{opaque:n}))}}o(bO,"request");LB.exports=bO;LB.exports.RequestHandler=Dp});var LA=g((Qze,xO)=>{var{addAbortListener:Bre}=Ee(),{RequestAbortedError:Ire}=Pe(),rc=Symbol("kListener"),Ci=Symbol("kSignal");function wO(t){t.abort?t.abort(t[Ci]?.reason):t.reason=t[Ci]?.reason??new Ire,NO(t)}o(wO,"abort");function bre(t,e){if(t.reason=null,t[Ci]=null,t[rc]=null,!!e){if(e.aborted){wO(t);return}t[Ci]=e,t[rc]=()=>{wO(t)},Bre(t[Ci],t[rc])}}o(bre,"addSignal");function NO(t){t[Ci]&&("removeEventListener"in t[Ci]?t[Ci].removeEventListener("abort",t[rc]):t[Ci].removeListener("abort",t[rc]),t[Ci]=null,t[rc]=null)}o(NO,"removeSignal");xO.exports={addSignal:bre,removeSignal:NO}});var vO=g((Nze,_O)=>{"use strict";var Qre=require("node:assert"),{finished:wre,PassThrough:Nre}=require("node:stream"),{InvalidArgumentError:nc,InvalidReturnValueError:xre}=Pe(),Vn=Ee(),{getResolveErrorBodyCallback:Sre}=kB(),{AsyncResource:Rre}=require("node:async_hooks"),{addSignal:_re,removeSignal:SO}=LA(),UB=class extends Rre{static{o(this,"StreamHandler")}constructor(e,r,n){if(!e||typeof e!="object")throw new nc("invalid opts");let{signal:i,method:s,opaque:a,body:c,onInfo:l,responseHeaders:A,throwOnError:u}=e;try{if(typeof n!="function")throw new nc("invalid callback");if(typeof r!="function")throw new nc("invalid factory");if(i&&typeof i.on!="function"&&typeof i.addEventListener!="function")throw new nc("signal must be an EventEmitter or EventTarget");if(s==="CONNECT")throw new nc("invalid method");if(l&&typeof l!="function")throw new nc("invalid onInfo callback");super("UNDICI_STREAM")}catch(d){throw Vn.isStream(c)&&Vn.destroy(c.on("error",Vn.nop),d),d}this.responseHeaders=A||null,this.opaque=a||null,this.factory=r,this.callback=n,this.res=null,this.abort=null,this.context=null,this.trailers=null,this.body=c,this.onInfo=l||null,this.throwOnError=u||!1,Vn.isStream(c)&&c.on("error",d=>{this.onError(d)}),_re(this,i)}onConnect(e,r){if(this.reason){e(this.reason);return}Qre(this.callback),this.abort=e,this.context=r}onHeaders(e,r,n,i){let{factory:s,opaque:a,context:c,callback:l,responseHeaders:A}=this,u=A==="raw"?Vn.parseRawHeaders(r):Vn.parseHeaders(r);if(e<200){this.onInfo&&this.onInfo({statusCode:e,headers:u});return}this.factory=null;let d;if(this.throwOnError&&e>=400){let C=(A==="raw"?Vn.parseHeaders(r):u)["content-type"];d=new Nre,this.callback=null,this.runInAsyncScope(Sre,null,{callback:l,body:d,contentType:C,statusCode:e,statusMessage:i,headers:u})}else{if(s===null)return;if(d=this.runInAsyncScope(s,null,{statusCode:e,headers:u,opaque:a,context:c}),!d||typeof d.write!="function"||typeof d.end!="function"||typeof d.on!="function")throw new xre("expected Writable");wre(d,{readable:!1},m=>{let{callback:C,res:Q,opaque:S,trailers:w,abort:R}=this;this.res=null,(m||!Q.readable)&&Vn.destroy(Q,m),this.callback=null,this.runInAsyncScope(C,null,m||null,{opaque:S,trailers:w}),m&&R()})}return d.on("drain",n),this.res=d,(d.writableNeedDrain!==void 0?d.writableNeedDrain:d._writableState?.needDrain)!==!0}onData(e){let{res:r}=this;return r?r.write(e):!0}onComplete(e){let{res:r}=this;SO(this),r&&(this.trailers=Vn.parseHeaders(e),r.end())}onError(e){let{res:r,callback:n,opaque:i,body:s}=this;SO(this),this.factory=null,r?(this.res=null,Vn.destroy(r,e)):n&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(n,null,e,{opaque:i})})),s&&(this.body=null,Vn.destroy(s,e))}};function RO(t,e,r){if(r===void 0)return new Promise((n,i)=>{RO.call(this,t,e,(s,a)=>s?i(s):n(a))});try{this.dispatch(t,new UB(t,e,r))}catch(n){if(typeof r!="function")throw n;let i=t?.opaque;queueMicrotask(()=>r(n,{opaque:i}))}}o(RO,"stream");_O.exports=RO});var OO=g((Sze,TO)=>{"use strict";var{Readable:DO,Duplex:vre,PassThrough:Pre}=require("node:stream"),{InvalidArgumentError:UA,InvalidReturnValueError:Dre,RequestAbortedError:FB}=Pe(),gn=Ee(),{AsyncResource:Tre}=require("node:async_hooks"),{addSignal:Ore,removeSignal:Mre}=LA(),PO=require("node:assert"),ic=Symbol("resume"),qB=class extends DO{static{o(this,"PipelineRequest")}constructor(){super({autoDestroy:!0}),this[ic]=null}_read(){let{[ic]:e}=this;e&&(this[ic]=null,e())}_destroy(e,r){this._read(),r(e)}},HB=class extends DO{static{o(this,"PipelineResponse")}constructor(e){super({autoDestroy:!0}),this[ic]=e}_read(){this[ic]()}_destroy(e,r){!e&&!this._readableState.endEmitted&&(e=new FB),r(e)}},zB=class extends Tre{static{o(this,"PipelineHandler")}constructor(e,r){if(!e||typeof e!="object")throw new UA("invalid opts");if(typeof r!="function")throw new UA("invalid handler");let{signal:n,method:i,opaque:s,onInfo:a,responseHeaders:c}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new UA("signal must be an EventEmitter or EventTarget");if(i==="CONNECT")throw new UA("invalid method");if(a&&typeof a!="function")throw new UA("invalid onInfo callback");super("UNDICI_PIPELINE"),this.opaque=s||null,this.responseHeaders=c||null,this.handler=r,this.abort=null,this.context=null,this.onInfo=a||null,this.req=new qB().on("error",gn.nop),this.ret=new vre({readableObjectMode:e.objectMode,autoDestroy:!0,read:()=>{let{body:l}=this;l?.resume&&l.resume()},write:(l,A,u)=>{let{req:d}=this;d.push(l,A)||d._readableState.destroyed?u():d[ic]=u},destroy:(l,A)=>{let{body:u,req:d,res:f,ret:m,abort:C}=this;!l&&!m._readableState.endEmitted&&(l=new FB),C&&l&&C(),gn.destroy(u,l),gn.destroy(d,l),gn.destroy(f,l),Mre(this),A(l)}}).on("prefinish",()=>{let{req:l}=this;l.push(null)}),this.res=null,Ore(this,n)}onConnect(e,r){let{ret:n,res:i}=this;if(this.reason){e(this.reason);return}PO(!i,"pipeline cannot be retried"),PO(!n.destroyed),this.abort=e,this.context=r}onHeaders(e,r,n){let{opaque:i,handler:s,context:a}=this;if(e<200){if(this.onInfo){let l=this.responseHeaders==="raw"?gn.parseRawHeaders(r):gn.parseHeaders(r);this.onInfo({statusCode:e,headers:l})}return}this.res=new HB(n);let c;try{this.handler=null;let l=this.responseHeaders==="raw"?gn.parseRawHeaders(r):gn.parseHeaders(r);c=this.runInAsyncScope(s,null,{statusCode:e,headers:l,opaque:i,body:this.res,context:a})}catch(l){throw this.res.on("error",gn.nop),l}if(!c||typeof c.on!="function")throw new Dre("expected Readable");c.on("data",l=>{let{ret:A,body:u}=this;!A.push(l)&&u.pause&&u.pause()}).on("error",l=>{let{ret:A}=this;gn.destroy(A,l)}).on("end",()=>{let{ret:l}=this;l.push(null)}).on("close",()=>{let{ret:l}=this;l._readableState.ended||gn.destroy(l,new FB)}),this.body=c}onData(e){let{res:r}=this;return r.push(e)}onComplete(e){let{res:r}=this;r.push(null)}onError(e){let{ret:r}=this;this.handler=null,gn.destroy(r,e)}};function kre(t,e){try{let r=new zB(t,e);return this.dispatch({...t,body:r.req},r),r.ret}catch(r){return new Pre().destroy(r)}}o(kre,"pipeline");TO.exports=kre});var qO=g((_ze,FO)=>{"use strict";var{InvalidArgumentError:jB,SocketError:Lre}=Pe(),{AsyncResource:Ure}=require("node:async_hooks"),MO=Ee(),{addSignal:Fre,removeSignal:kO}=LA(),LO=require("node:assert"),GB=class extends Ure{static{o(this,"UpgradeHandler")}constructor(e,r){if(!e||typeof e!="object")throw new jB("invalid opts");if(typeof r!="function")throw new jB("invalid callback");let{signal:n,opaque:i,responseHeaders:s}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new jB("signal must be an EventEmitter or EventTarget");super("UNDICI_UPGRADE"),this.responseHeaders=s||null,this.opaque=i||null,this.callback=r,this.abort=null,this.context=null,Fre(this,n)}onConnect(e,r){if(this.reason){e(this.reason);return}LO(this.callback),this.abort=e,this.context=null}onHeaders(){throw new Lre("bad upgrade",null)}onUpgrade(e,r,n){LO(e===101);let{callback:i,opaque:s,context:a}=this;kO(this),this.callback=null;let c=this.responseHeaders==="raw"?MO.parseRawHeaders(r):MO.parseHeaders(r);this.runInAsyncScope(i,null,null,{headers:c,socket:n,opaque:s,context:a})}onError(e){let{callback:r,opaque:n}=this;kO(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:n})}))}};function UO(t,e){if(e===void 0)return new Promise((r,n)=>{UO.call(this,t,(i,s)=>i?n(i):r(s))});try{let r=new GB(t,e);this.dispatch({...t,method:t.method||"GET",upgrade:t.protocol||"Websocket"},r)}catch(r){if(typeof e!="function")throw r;let n=t?.opaque;queueMicrotask(()=>e(r,{opaque:n}))}}o(UO,"upgrade");FO.exports=UO});var YO=g((Pze,GO)=>{"use strict";var qre=require("node:assert"),{AsyncResource:Hre}=require("node:async_hooks"),{InvalidArgumentError:YB,SocketError:zre}=Pe(),HO=Ee(),{addSignal:jre,removeSignal:zO}=LA(),JB=class extends Hre{static{o(this,"ConnectHandler")}constructor(e,r){if(!e||typeof e!="object")throw new YB("invalid opts");if(typeof r!="function")throw new YB("invalid callback");let{signal:n,opaque:i,responseHeaders:s}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new YB("signal must be an EventEmitter or EventTarget");super("UNDICI_CONNECT"),this.opaque=i||null,this.responseHeaders=s||null,this.callback=r,this.abort=null,jre(this,n)}onConnect(e,r){if(this.reason){e(this.reason);return}qre(this.callback),this.abort=e,this.context=r}onHeaders(){throw new zre("bad connect",null)}onUpgrade(e,r,n){let{callback:i,opaque:s,context:a}=this;zO(this),this.callback=null;let c=r;c!=null&&(c=this.responseHeaders==="raw"?HO.parseRawHeaders(r):HO.parseHeaders(r)),this.runInAsyncScope(i,null,null,{statusCode:e,headers:c,socket:n,opaque:s,context:a})}onError(e){let{callback:r,opaque:n}=this;zO(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:n})}))}};function jO(t,e){if(e===void 0)return new Promise((r,n)=>{jO.call(this,t,(i,s)=>i?n(i):r(s))});try{let r=new JB(t,e);this.dispatch({...t,method:"CONNECT"},r)}catch(r){if(typeof e!="function")throw r;let n=t?.opaque;queueMicrotask(()=>e(r,{opaque:n}))}}o(jO,"connect");GO.exports=jO});var JO=g((Tze,sc)=>{"use strict";sc.exports.request=QO();sc.exports.stream=vO();sc.exports.pipeline=OO();sc.exports.upgrade=qO();sc.exports.connect=YO()});var WB=g((Oze,WO)=>{"use strict";var{UndiciError:Gre}=Pe(),VO=Symbol.for("undici.error.UND_MOCK_ERR_MOCK_NOT_MATCHED"),VB=class t extends Gre{static{o(this,"MockNotMatchedError")}constructor(e){super(e),Error.captureStackTrace(this,t),this.name="MockNotMatchedError",this.message=e||"The request does not match any registered mock dispatches",this.code="UND_MOCK_ERR_MOCK_NOT_MATCHED"}static[Symbol.hasInstance](e){return e&&e[VO]===!0}[VO]=!0};WO.exports={MockNotMatchedError:VB}});var oc=g((kze,$O)=>{"use strict";$O.exports={kAgent:Symbol("agent"),kOptions:Symbol("options"),kFactory:Symbol("factory"),kDispatches:Symbol("dispatches"),kDispatchKey:Symbol("dispatch key"),kDefaultHeaders:Symbol("default headers"),kDefaultTrailers:Symbol("default trailers"),kContentLength:Symbol("content length"),kMockAgent:Symbol("mock agent"),kMockAgentSet:Symbol("mock agent set"),kMockAgentGet:Symbol("mock agent get"),kMockDispatch:Symbol("mock dispatch"),kClose:Symbol("close"),kOriginalClose:Symbol("original agent close"),kOrigin:Symbol("origin"),kIsMockActive:Symbol("is mock active"),kNetConnect:Symbol("net connect"),kGetNetConnect:Symbol("get net connect"),kConnected:Symbol("connected")}});var FA=g((Lze,aM)=>{"use strict";var{MockNotMatchedError:Do}=WB(),{kDispatches:Tp,kMockAgent:Yre,kOriginalDispatch:Jre,kOrigin:Vre,kGetNetConnect:Wre}=oc(),{buildURL:$re}=Ee(),{STATUS_CODES:Kre}=require("node:http"),{types:{isPromise:Xre}}=require("node:util");function ns(t,e){return typeof t=="string"?t===e:t instanceof RegExp?t.test(e):typeof t=="function"?t(e)===!0:!1}o(ns,"matchValue");function XO(t){return Object.fromEntries(Object.entries(t).map(([e,r])=>[e.toLocaleLowerCase(),r]))}o(XO,"lowerCaseEntries");function ZO(t,e){if(Array.isArray(t)){for(let r=0;r"u")return!0;if(typeof e!="object"||typeof t.headers!="object")return!1;for(let[r,n]of Object.entries(t.headers)){let i=ZO(e,r);if(!ns(n,i))return!1}return!0}o(eM,"matchHeaders");function KO(t){if(typeof t!="string")return t;let e=t.split("?");if(e.length!==2)return t;let r=new URLSearchParams(e.pop());return r.sort(),[...e,r.toString()].join("?")}o(KO,"safeUrl");function Zre(t,{path:e,method:r,body:n,headers:i}){let s=ns(t.path,e),a=ns(t.method,r),c=typeof t.body<"u"?ns(t.body,n):!0,l=eM(t,i);return s&&a&&c&&l}o(Zre,"matchKey");function tM(t){return Buffer.isBuffer(t)||t instanceof Uint8Array||t instanceof ArrayBuffer?t:typeof t=="object"?JSON.stringify(t):t.toString()}o(tM,"getResponseData");function rM(t,e){let r=e.query?$re(e.path,e.query):e.path,n=typeof r=="string"?KO(r):r,i=t.filter(({consumed:s})=>!s).filter(({path:s})=>ns(KO(s),n));if(i.length===0)throw new Do(`Mock dispatch not matched for path '${n}'`);if(i=i.filter(({method:s})=>ns(s,e.method)),i.length===0)throw new Do(`Mock dispatch not matched for method '${e.method}' on path '${n}'`);if(i=i.filter(({body:s})=>typeof s<"u"?ns(s,e.body):!0),i.length===0)throw new Do(`Mock dispatch not matched for body '${e.body}' on path '${n}'`);if(i=i.filter(s=>eM(s,e.headers)),i.length===0){let s=typeof e.headers=="object"?JSON.stringify(e.headers):e.headers;throw new Do(`Mock dispatch not matched for headers '${s}' on path '${n}'`)}return i[0]}o(rM,"getMockDispatch");function ene(t,e,r){let n={timesInvoked:0,times:1,persist:!1,consumed:!1},i=typeof r=="function"?{callback:r}:{...r},s={...n,...e,pending:!0,data:{error:null,...i}};return t.push(s),s}o(ene,"addMockDispatch");function $B(t,e){let r=t.findIndex(n=>n.consumed?Zre(n,e):!1);r!==-1&&t.splice(r,1)}o($B,"deleteMockDispatch");function nM(t){let{path:e,method:r,body:n,headers:i,query:s}=t;return{path:e,method:r,body:n,headers:i,query:s}}o(nM,"buildKey");function KB(t){let e=Object.keys(t),r=[];for(let n=0;n=f,n.pending=d0?setTimeout(()=>{m(this[Tp])},A):m(this[Tp]);function m(Q,S=s){let w=Array.isArray(t.headers)?XB(t.headers):t.headers,R=typeof S=="function"?S({...t,headers:w}):S;if(Xre(R)){R.then(de=>m(Q,de));return}let T=tM(R),L=KB(a),W=KB(c);e.onConnect?.(de=>e.onError(de),null),e.onHeaders?.(i,L,C,iM(i)),e.onData?.(Buffer.from(T)),e.onComplete?.(W),$B(Q,r)}o(m,"handleReply");function C(){}return o(C,"resume"),!0}o(sM,"mockDispatch");function rne(){let t=this[Yre],e=this[Vre],r=this[Jre];return o(function(i,s){if(t.isMockActive)try{sM.call(this,i,s)}catch(a){if(a instanceof Do){let c=t[Wre]();if(c===!1)throw new Do(`${a.message}: subsequent request to origin ${e} was not allowed (net.connect disabled)`);if(oM(c,e))r.call(this,i,s);else throw new Do(`${a.message}: subsequent request to origin ${e} was not allowed (net.connect is not enabled for this origin)`)}else throw a}else r.call(this,i,s)},"dispatch")}o(rne,"buildMockDispatch");function oM(t,e){let r=new URL(e);return t===!0?!0:!!(Array.isArray(t)&&t.some(n=>ns(n,r.host)))}o(oM,"checkNetConnect");function nne(t){if(t){let{agent:e,...r}=t;return r}}o(nne,"buildMockOptions");aM.exports={getResponseData:tM,getMockDispatch:rM,addMockDispatch:ene,deleteMockDispatch:$B,buildKey:nM,generateKeyValues:KB,matchValue:ns,getResponse:tne,getStatusText:iM,mockDispatch:sM,buildMockDispatch:rne,checkNetConnect:oM,buildMockOptions:nne,getHeaderByName:ZO,buildHeadersFromArray:XB}});var sI=g((Fze,iI)=>{"use strict";var{getResponseData:ine,buildKey:sne,addMockDispatch:ZB}=FA(),{kDispatches:Op,kDispatchKey:Mp,kDefaultHeaders:eI,kDefaultTrailers:tI,kContentLength:rI,kMockDispatch:kp}=oc(),{InvalidArgumentError:Ei}=Pe(),{buildURL:one}=Ee(),ac=class{static{o(this,"MockScope")}constructor(e){this[kp]=e}delay(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new Ei("waitInMs must be a valid integer > 0");return this[kp].delay=e,this}persist(){return this[kp].persist=!0,this}times(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new Ei("repeatTimes must be a valid integer > 0");return this[kp].times=e,this}},nI=class{static{o(this,"MockInterceptor")}constructor(e,r){if(typeof e!="object")throw new Ei("opts must be an object");if(typeof e.path>"u")throw new Ei("opts.path must be defined");if(typeof e.method>"u"&&(e.method="GET"),typeof e.path=="string")if(e.query)e.path=one(e.path,e.query);else{let n=new URL(e.path,"data://");e.path=n.pathname+n.search}typeof e.method=="string"&&(e.method=e.method.toUpperCase()),this[Mp]=sne(e),this[Op]=r,this[eI]={},this[tI]={},this[rI]=!1}createMockScopeDispatchData({statusCode:e,data:r,responseOptions:n}){let i=ine(r),s=this[rI]?{"content-length":i.length}:{},a={...this[eI],...s,...n.headers},c={...this[tI],...n.trailers};return{statusCode:e,data:r,headers:a,trailers:c}}validateReplyParameters(e){if(typeof e.statusCode>"u")throw new Ei("statusCode must be defined");if(typeof e.responseOptions!="object"||e.responseOptions===null)throw new Ei("responseOptions must be an object")}reply(e){if(typeof e=="function"){let s=o(c=>{let l=e(c);if(typeof l!="object"||l===null)throw new Ei("reply options callback must return an object");let A={data:"",responseOptions:{},...l};return this.validateReplyParameters(A),{...this.createMockScopeDispatchData(A)}},"wrappedDefaultsCallback"),a=ZB(this[Op],this[Mp],s);return new ac(a)}let r={statusCode:e,data:arguments[1]===void 0?"":arguments[1],responseOptions:arguments[2]===void 0?{}:arguments[2]};this.validateReplyParameters(r);let n=this.createMockScopeDispatchData(r),i=ZB(this[Op],this[Mp],n);return new ac(i)}replyWithError(e){if(typeof e>"u")throw new Ei("error must be defined");let r=ZB(this[Op],this[Mp],{error:e});return new ac(r)}defaultReplyHeaders(e){if(typeof e>"u")throw new Ei("headers must be defined");return this[eI]=e,this}defaultReplyTrailers(e){if(typeof e>"u")throw new Ei("trailers must be defined");return this[tI]=e,this}replyContentLength(){return this[rI]=!0,this}};iI.exports.MockInterceptor=nI;iI.exports.MockScope=ac});var cI=g((Hze,hM)=>{"use strict";var{promisify:ane}=require("node:util"),cne=$a(),{buildMockDispatch:lne}=FA(),{kDispatches:cM,kMockAgent:lM,kClose:AM,kOriginalClose:uM,kOrigin:dM,kOriginalDispatch:Ane,kConnected:oI}=oc(),{MockInterceptor:une}=sI(),pM=nt(),{InvalidArgumentError:dne}=Pe(),aI=class extends cne{static{o(this,"MockClient")}constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new dne("Argument opts.agent must implement Agent");this[lM]=r.agent,this[dM]=e,this[cM]=[],this[oI]=1,this[Ane]=this.dispatch,this[uM]=this.close.bind(this),this.dispatch=lne.call(this),this.close=this[AM]}get[pM.kConnected](){return this[oI]}intercept(e){return new une(e,this[cM])}async[AM](){await ane(this[uM])(),this[oI]=0,this[lM][pM.kClients].delete(this[dM])}};hM.exports=aI});var uI=g((jze,BM)=>{"use strict";var{promisify:pne}=require("node:util"),hne=Ka(),{buildMockDispatch:fne}=FA(),{kDispatches:fM,kMockAgent:mM,kClose:gM,kOriginalClose:yM,kOrigin:CM,kOriginalDispatch:mne,kConnected:lI}=oc(),{MockInterceptor:gne}=sI(),EM=nt(),{InvalidArgumentError:yne}=Pe(),AI=class extends hne{static{o(this,"MockPool")}constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new yne("Argument opts.agent must implement Agent");this[mM]=r.agent,this[CM]=e,this[fM]=[],this[lI]=1,this[mne]=this.dispatch,this[yM]=this.close.bind(this),this.dispatch=fne.call(this),this.close=this[gM]}get[EM.kConnected](){return this[lI]}intercept(e){return new gne(e,this[fM])}async[gM](){await pne(this[yM])(),this[lI]=0,this[mM][EM.kClients].delete(this[CM])}};BM.exports=AI});var bM=g((Jze,IM)=>{"use strict";var Cne={pronoun:"it",is:"is",was:"was",this:"this"},Ene={pronoun:"they",is:"are",was:"were",this:"these"};IM.exports=class{static{o(this,"Pluralizer")}constructor(e,r){this.singular=e,this.plural=r}pluralize(e){let r=e===1,n=r?Cne:Ene,i=r?this.singular:this.plural;return{...n,count:e,noun:i}}}});var wM=g(($ze,QM)=>{"use strict";var{Transform:Bne}=require("node:stream"),{Console:Ine}=require("node:console"),bne=process.versions.icu?"\u2705":"Y ",Qne=process.versions.icu?"\u274C":"N ";QM.exports=class{static{o(this,"PendingInterceptorsFormatter")}constructor({disableColors:e}={}){this.transform=new Bne({transform(r,n,i){i(null,r)}}),this.logger=new Ine({stdout:this.transform,inspectOptions:{colors:!e&&!process.env.CI}})}format(e){let r=e.map(({method:n,path:i,data:{statusCode:s},persist:a,times:c,timesInvoked:l,origin:A})=>({Method:n,Origin:A,Path:i,"Status code":s,Persistent:a?bne:Qne,Invocations:l,Remaining:a?1/0:c-l}));return this.logger.table(r),this.transform.read().toString()}}});var RM=g((Xze,SM)=>{"use strict";var{kClients:To}=nt(),wne=Xa(),{kAgent:dI,kMockAgentSet:Lp,kMockAgentGet:NM,kDispatches:pI,kIsMockActive:Up,kNetConnect:Oo,kGetNetConnect:Nne,kOptions:Fp,kFactory:qp}=oc(),xne=cI(),Sne=uI(),{matchValue:Rne,buildMockOptions:_ne}=FA(),{InvalidArgumentError:xM,UndiciError:vne}=Pe(),Pne=lA(),Dne=bM(),Tne=wM(),hI=class extends Pne{static{o(this,"MockAgent")}constructor(e){if(super(e),this[Oo]=!0,this[Up]=!0,e?.agent&&typeof e.agent.dispatch!="function")throw new xM("Argument opts.agent must implement Agent");let r=e?.agent?e.agent:new wne(e);this[dI]=r,this[To]=r[To],this[Fp]=_ne(e)}get(e){let r=this[NM](e);return r||(r=this[qp](e),this[Lp](e,r)),r}dispatch(e,r){return this.get(e.origin),this[dI].dispatch(e,r)}async close(){await this[dI].close(),this[To].clear()}deactivate(){this[Up]=!1}activate(){this[Up]=!0}enableNetConnect(e){if(typeof e=="string"||typeof e=="function"||e instanceof RegExp)Array.isArray(this[Oo])?this[Oo].push(e):this[Oo]=[e];else if(typeof e>"u")this[Oo]=!0;else throw new xM("Unsupported matcher. Must be one of String|Function|RegExp.")}disableNetConnect(){this[Oo]=!1}get isMockActive(){return this[Up]}[Lp](e,r){this[To].set(e,r)}[qp](e){let r=Object.assign({agent:this},this[Fp]);return this[Fp]&&this[Fp].connections===1?new xne(e,r):new Sne(e,r)}[NM](e){let r=this[To].get(e);if(r)return r;if(typeof e!="string"){let n=this[qp]("http://localhost:9999");return this[Lp](e,n),n}for(let[n,i]of Array.from(this[To]))if(i&&typeof n!="string"&&Rne(n,e)){let s=this[qp](e);return this[Lp](e,s),s[pI]=i[pI],s}}[Nne](){return this[Oo]}pendingInterceptors(){let e=this[To];return Array.from(e.entries()).flatMap(([r,n])=>n[pI].map(i=>({...i,origin:r}))).filter(({pending:r})=>r)}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new Tne}={}){let r=this.pendingInterceptors();if(r.length===0)return;let n=new Dne("interceptor","interceptors").pluralize(r.length);throw new vne(` +`,"latin1"),r!==null&&i!==r){if(n[BQ])throw new _l;process.emitWarning(new _l)}e[lr].timeout&&e[lr].timeoutType===wA&&e[lr].timeout.refresh&&e[lr].timeout.refresh(),n[oc]()}}destroy(e){let{socket:r,client:n,abort:i}=this;r[ac]=!1,e&&(Le(n[hn]<=1,"pipeline should only contain this request"),i(e))}};C3.exports=Hue});var R3=x((NZe,v3)=>{"use strict";var Zi=require("node:assert"),{pipeline:Kue}=require("node:stream"),st=Xe(),{RequestContentLengthMismatchError:NQ,RequestAbortedError:I3,SocketError:vh,InformationalError:vQ}=ft(),{kUrl:u0,kReset:d0,kClient:QA,kRunning:f0,kPending:Jue,kQueue:cc,kPendingIdx:RQ,kRunningIdx:_s,kError:ks,kSocket:Kr,kStrictContentLength:Vue,kOnError:PQ,kMaxConcurrentStreams:N3,kHTTP2Session:Ds,kResume:lc,kSize:Wue,kHTTPContext:$ue}=Kt(),Aa=Symbol("open streams"),B3,w3=!1,A0;try{A0=require("node:http2")}catch{A0={constants:{}}}var{constants:{HTTP2_HEADER_AUTHORITY:Xue,HTTP2_HEADER_METHOD:Zue,HTTP2_HEADER_PATH:eAe,HTTP2_HEADER_SCHEME:tAe,HTTP2_HEADER_CONTENT_LENGTH:rAe,HTTP2_HEADER_EXPECT:nAe,HTTP2_HEADER_STATUS:iAe}}=A0;function sAe(t){let e=[];for(let[r,n]of Object.entries(t))if(Array.isArray(n))for(let i of n)e.push(Buffer.from(r),Buffer.from(i));else e.push(Buffer.from(r),Buffer.from(n));return e}o(sAe,"parseH2Headers");async function oAe(t,e){t[Kr]=e,w3||(w3=!0,process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"}));let r=A0.connect(t[u0],{createConnection:o(()=>e,"createConnection"),peerMaxConcurrentStreams:t[N3]});r[Aa]=0,r[QA]=t,r[Kr]=e,st.addListener(r,"error",cAe),st.addListener(r,"frameError",lAe),st.addListener(r,"end",uAe),st.addListener(r,"goaway",AAe),st.addListener(r,"close",function(){let{[QA]:i}=this,{[Kr]:s}=i,a=this[Kr][ks]||this[ks]||new vh("closed",st.getSocketInfo(s));if(i[Ds]=null,i.destroyed){Zi(i[Jue]===0);let c=i[cc].splice(i[_s]);for(let l=0;l{n=!0}),{version:"h2",defaultPipelining:1/0,write(...i){return fAe(t,...i)},resume(){aAe(t)},destroy(i,s){n?queueMicrotask(s):e.destroy(i).on("close",s)},get destroyed(){return e.destroyed},busy(){return!1}}}o(oAe,"connectH2");function aAe(t){let e=t[Kr];e?.destroyed===!1&&(t[Wue]===0&&t[N3]===0?(e.unref(),t[Ds].unref()):(e.ref(),t[Ds].ref()))}o(aAe,"resumeH2");function cAe(t){Zi(t.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[Kr][ks]=t,this[QA][PQ](t)}o(cAe,"onHttp2SessionError");function lAe(t,e,r){if(r===0){let n=new vQ(`HTTP/2: "frameError" received - type ${t}, code ${e}`);this[Kr][ks]=n,this[QA][PQ](n)}}o(lAe,"onHttp2FrameError");function uAe(){let t=new vh("other side closed",st.getSocketInfo(this[Kr]));this.destroy(t),st.destroy(this[Kr],t)}o(uAe,"onHttp2SessionEnd");function AAe(t){let e=this[ks]||new vh(`HTTP/2: "GOAWAY" frame received with code ${t}`,st.getSocketInfo(this)),r=this[QA];if(r[Kr]=null,r[$ue]=null,this[Ds]!=null&&(this[Ds].destroy(e),this[Ds]=null),st.destroy(this[Kr],e),r[_s]{e.aborted||e.completed||(v=v||new I3,st.errorRequest(t,e,v),f!=null&&st.destroy(f,v),st.destroy(A,v),t[cc][t[_s]++]=null,t[lc]())},"abort");try{e.onConnect(m)}catch(v){st.errorRequest(t,e,v)}if(e.aborted)return!1;if(n==="CONNECT")return r.ref(),f=r.request(d,{endStream:!1,signal:l}),f.id&&!f.pending?(e.onUpgrade(null,null,f),++r[Aa],t[cc][t[_s]++]=null):f.once("ready",()=>{e.onUpgrade(null,null,f),++r[Aa],t[cc][t[_s]++]=null}),f.once("close",()=>{r[Aa]-=1,r[Aa]===0&&r.unref()}),!0;d[eAe]=i,d[tAe]="https";let b=n==="PUT"||n==="POST"||n==="PATCH";A&&typeof A.read=="function"&&A.read(0);let y=st.bodyLength(A);if(st.isFormDataLike(A)){B3??=xA().extractBody;let[v,U]=B3(A);d["content-type"]=U,A=v.stream,y=v.length}if(y==null&&(y=e.contentLength),(y===0||!b)&&(y=null),dAe(n)&&y>0&&e.contentLength!=null&&e.contentLength!==y){if(t[Vue])return st.errorRequest(t,e,new NQ),!1;process.emitWarning(new NQ)}y!=null&&(Zi(A,"no body must not have content length"),d[rAe]=`${y}`),r.ref();let I=n==="GET"||n==="HEAD"||A===null;return c?(d[nAe]="100-continue",f=r.request(d,{endStream:I,signal:l}),f.once("continue",w)):(f=r.request(d,{endStream:I,signal:l}),w()),++r[Aa],f.once("response",v=>{let{[iAe]:U,...H}=v;if(e.onResponseStarted(),e.aborted){let J=new I3;st.errorRequest(t,e,J),st.destroy(f,J);return}e.onHeaders(Number(U),sAe(H),f.resume.bind(f),"")===!1&&f.pause(),f.on("data",J=>{e.onData(J)===!1&&f.pause()})}),f.once("end",()=>{(f.state?.state==null||f.state.state<6)&&e.onComplete([]),r[Aa]===0&&r.unref(),m(new vQ("HTTP/2: stream half-closed (remote)")),t[cc][t[_s]++]=null,t[RQ]=t[_s],t[lc]()}),f.once("close",()=>{r[Aa]-=1,r[Aa]===0&&r.unref()}),f.once("error",function(v){m(v)}),f.once("frameError",(v,U)=>{m(new vQ(`HTTP/2: "frameError" received - type ${v}, code ${U}`))}),!0;function w(){!A||y===0?Q3(m,f,null,t,e,t[Kr],y,b):st.isBuffer(A)?Q3(m,f,A,t,e,t[Kr],y,b):st.isBlobLike(A)?typeof A.stream=="function"?S3(m,f,A.stream(),t,e,t[Kr],y,b):pAe(m,f,A,t,e,t[Kr],y,b):st.isStream(A)?hAe(m,t[Kr],b,f,A,t,e,y):st.isIterable(A)?S3(m,f,A,t,e,t[Kr],y,b):Zi(!1)}o(w,"writeBodyH2")}o(fAe,"writeH2");function Q3(t,e,r,n,i,s,a,c){try{r!=null&&st.isBuffer(r)&&(Zi(a===r.byteLength,"buffer body must have content length"),e.cork(),e.write(r),e.uncork(),e.end(),i.onBodySent(r)),c||(s[d0]=!0),i.onRequestSent(),n[lc]()}catch(l){t(l)}}o(Q3,"writeBuffer");function hAe(t,e,r,n,i,s,a,c){Zi(c!==0||s[f0]===0,"stream body cannot be pipelined");let l=Kue(i,n,A=>{A?(st.destroy(l,A),t(A)):(st.removeAllListeners(l),a.onRequestSent(),r||(e[d0]=!0),s[lc]())});st.addListener(l,"data",u);function u(A){a.onBodySent(A)}o(u,"onPipeData")}o(hAe,"writeStream");async function pAe(t,e,r,n,i,s,a,c){Zi(a===r.size,"blob body must have content length");try{if(a!=null&&a!==r.size)throw new NQ;let l=Buffer.from(await r.arrayBuffer());e.cork(),e.write(l),e.uncork(),e.end(),i.onBodySent(l),i.onRequestSent(),c||(s[d0]=!0),n[lc]()}catch(l){t(l)}}o(pAe,"writeBlob");async function S3(t,e,r,n,i,s,a,c){Zi(a!==0||n[f0]===0,"iterator body cannot be pipelined");let l=null;function u(){if(l){let d=l;l=null,d()}}o(u,"onDrain");let A=o(()=>new Promise((d,f)=>{Zi(l===null),s[ks]?f(s[ks]):l=d}),"waitForDrain");e.on("close",u).on("drain",u);try{for await(let d of r){if(s[ks])throw s[ks];let f=e.write(d);i.onBodySent(d),f||await A()}e.end(),i.onRequestSent(),c||(s[d0]=!0),n[lc]()}catch(d){t(d)}finally{e.off("close",u).off("drain",u)}}o(S3,"writeIterable");v3.exports=oAe});var p0=x((RZe,D3)=>{"use strict";var po=Xe(),{kBodyUsed:Rh}=Kt(),DQ=require("node:assert"),{InvalidArgumentError:gAe}=ft(),mAe=require("node:events"),yAe=[300,301,302,303,307,308],P3=Symbol("body"),h0=class{static{o(this,"BodyAsyncIterable")}constructor(e){this[P3]=e,this[Rh]=!1}async*[Symbol.asyncIterator](){DQ(!this[Rh],"disturbed"),this[Rh]=!0,yield*this[P3]}},_Q=class{static{o(this,"RedirectHandler")}constructor(e,r,n,i){if(r!=null&&(!Number.isInteger(r)||r<0))throw new gAe("maxRedirections must be a positive number");po.validateHandler(i,n.method,n.upgrade),this.dispatch=e,this.location=null,this.abort=null,this.opts={...n,maxRedirections:0},this.maxRedirections=r,this.handler=i,this.history=[],this.redirectionLimitReached=!1,po.isStream(this.opts.body)?(po.bodyLength(this.opts.body)===0&&this.opts.body.on("data",function(){DQ(!1)}),typeof this.opts.body.readableDidRead!="boolean"&&(this.opts.body[Rh]=!1,mAe.prototype.on.call(this.opts.body,"data",function(){this[Rh]=!0}))):this.opts.body&&typeof this.opts.body.pipeTo=="function"?this.opts.body=new h0(this.opts.body):this.opts.body&&typeof this.opts.body!="string"&&!ArrayBuffer.isView(this.opts.body)&&po.isIterable(this.opts.body)&&(this.opts.body=new h0(this.opts.body))}onConnect(e){this.abort=e,this.handler.onConnect(e,{history:this.history})}onUpgrade(e,r,n){this.handler.onUpgrade(e,r,n)}onError(e){this.handler.onError(e)}onHeaders(e,r,n,i){if(this.location=this.history.length>=this.maxRedirections||po.isDisturbed(this.opts.body)?null:EAe(e,r),this.opts.throwOnMaxRedirect&&this.history.length>=this.maxRedirections){this.request&&this.request.abort(new Error("max redirects")),this.redirectionLimitReached=!0,this.abort(new Error("max redirects"));return}if(this.opts.origin&&this.history.push(new URL(this.opts.path,this.opts.origin)),!this.location)return this.handler.onHeaders(e,r,n,i);let{origin:s,pathname:a,search:c}=po.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin))),l=c?`${a}${c}`:a;this.opts.headers=bAe(this.opts.headers,e===303,this.opts.origin!==s),this.opts.path=l,this.opts.origin=s,this.opts.maxRedirections=0,this.opts.query=null,e===303&&this.opts.method!=="HEAD"&&(this.opts.method="GET",this.opts.body=null)}onData(e){if(!this.location)return this.handler.onData(e)}onComplete(e){this.location?(this.location=null,this.abort=null,this.dispatch(this.opts,this)):this.handler.onComplete(e)}onBodySent(e){this.handler.onBodySent&&this.handler.onBodySent(e)}};function EAe(t,e){if(yAe.indexOf(t)===-1)return null;for(let r=0;r{"use strict";var CAe=p0();function xAe({maxRedirections:t}){return e=>o(function(n,i){let{maxRedirections:s=t}=n;if(!s)return e(n,i);let a=new CAe(e,s,n,i);return n={...n,maxRedirections:0},e(n,a)},"Intercept")}o(xAe,"createRedirectInterceptor");k3.exports=xAe});var vA=x((kZe,G3)=>{"use strict";var da=require("node:assert"),F3=require("node:net"),IAe=require("node:http"),Dl=Xe(),{channels:SA}=lA(),BAe=VL(),wAe=fA(),{InvalidArgumentError:br,InformationalError:QAe,ClientDestroyedError:SAe}=ft(),NAe=mh(),{kUrl:go,kServerName:uc,kClient:vAe,kBusy:kQ,kConnect:RAe,kResuming:kl,kRunning:Th,kPending:Oh,kSize:kh,kQueue:Ts,kConnected:PAe,kConnecting:NA,kNeedDrain:dc,kKeepAliveDefaultTimeout:T3,kHostHeader:_Ae,kPendingIdx:Os,kRunningIdx:fa,kError:DAe,kPipelining:m0,kKeepAliveTimeoutValue:kAe,kMaxHeadersSize:TAe,kKeepAliveMaxTimeout:OAe,kKeepAliveTimeoutThreshold:MAe,kHeadersTimeout:LAe,kBodyTimeout:UAe,kStrictContentLength:FAe,kConnector:Ph,kMaxRedirections:HAe,kMaxRequests:TQ,kCounter:qAe,kClose:zAe,kDestroy:GAe,kDispatch:jAe,kInterceptors:O3,kLocalAddress:_h,kMaxResponseSize:YAe,kOnError:KAe,kHTTPContext:Cr,kMaxConcurrentStreams:JAe,kResume:Dh}=Kt(),VAe=x3(),WAe=R3(),M3=!1,Ac=Symbol("kClosedResolve"),L3=o(()=>{},"noop");function H3(t){return t[m0]??t[Cr]?.defaultPipelining??1}o(H3,"getPipelining");var OQ=class extends wAe{static{o(this,"Client")}constructor(e,{interceptors:r,maxHeaderSize:n,headersTimeout:i,socketTimeout:s,requestTimeout:a,connectTimeout:c,bodyTimeout:l,idleTimeout:u,keepAlive:A,keepAliveTimeout:d,maxKeepAliveTimeout:f,keepAliveMaxTimeout:h,keepAliveTimeoutThreshold:g,socketPath:m,pipelining:b,tls:y,strictContentLength:I,maxCachedSessions:w,maxRedirections:v,connect:U,maxRequestsPerClient:H,localAddress:J,maxResponseSize:q,autoSelectFamily:D,autoSelectFamilyAttemptTimeout:T,maxConcurrentStreams:L,allowH2:z}={}){if(super(),A!==void 0)throw new br("unsupported keepAlive, use pipelining=0 instead");if(s!==void 0)throw new br("unsupported socketTimeout, use headersTimeout & bodyTimeout instead");if(a!==void 0)throw new br("unsupported requestTimeout, use headersTimeout & bodyTimeout instead");if(u!==void 0)throw new br("unsupported idleTimeout, use keepAliveTimeout instead");if(f!==void 0)throw new br("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead");if(n!=null&&!Number.isFinite(n))throw new br("invalid maxHeaderSize");if(m!=null&&typeof m!="string")throw new br("invalid socketPath");if(c!=null&&(!Number.isFinite(c)||c<0))throw new br("invalid connectTimeout");if(d!=null&&(!Number.isFinite(d)||d<=0))throw new br("invalid keepAliveTimeout");if(h!=null&&(!Number.isFinite(h)||h<=0))throw new br("invalid keepAliveMaxTimeout");if(g!=null&&!Number.isFinite(g))throw new br("invalid keepAliveTimeoutThreshold");if(i!=null&&(!Number.isInteger(i)||i<0))throw new br("headersTimeout must be a positive integer or zero");if(l!=null&&(!Number.isInteger(l)||l<0))throw new br("bodyTimeout must be a positive integer or zero");if(U!=null&&typeof U!="function"&&typeof U!="object")throw new br("connect must be a function or an object");if(v!=null&&(!Number.isInteger(v)||v<0))throw new br("maxRedirections must be a positive number");if(H!=null&&(!Number.isInteger(H)||H<0))throw new br("maxRequestsPerClient must be a positive number");if(J!=null&&(typeof J!="string"||F3.isIP(J)===0))throw new br("localAddress must be valid string IP address");if(q!=null&&(!Number.isInteger(q)||q<-1))throw new br("maxResponseSize must be a positive number");if(T!=null&&(!Number.isInteger(T)||T<-1))throw new br("autoSelectFamilyAttemptTimeout must be a positive number");if(z!=null&&typeof z!="boolean")throw new br("allowH2 must be a valid boolean value");if(L!=null&&(typeof L!="number"||L<1))throw new br("maxConcurrentStreams must be a positive integer, greater than 0");typeof U!="function"&&(U=NAe({...y,maxCachedSessions:w,allowH2:z,socketPath:m,timeout:c,...D?{autoSelectFamily:D,autoSelectFamilyAttemptTimeout:T}:void 0,...U})),r?.Client&&Array.isArray(r.Client)?(this[O3]=r.Client,M3||(M3=!0,process.emitWarning("Client.Options#interceptor is deprecated. Use Dispatcher#compose instead.",{code:"UNDICI-CLIENT-INTERCEPTOR-DEPRECATED"}))):this[O3]=[$Ae({maxRedirections:v})],this[go]=Dl.parseOrigin(e),this[Ph]=U,this[m0]=b??1,this[TAe]=n||IAe.maxHeaderSize,this[T3]=d??4e3,this[OAe]=h??6e5,this[MAe]=g??2e3,this[kAe]=this[T3],this[uc]=null,this[_h]=J??null,this[kl]=0,this[dc]=0,this[_Ae]=`host: ${this[go].hostname}${this[go].port?`:${this[go].port}`:""}\r +`,this[UAe]=l??3e5,this[LAe]=i??3e5,this[FAe]=I??!0,this[HAe]=v,this[TQ]=H,this[Ac]=null,this[YAe]=q>-1?q:-1,this[JAe]=L??100,this[Cr]=null,this[Ts]=[],this[fa]=0,this[Os]=0,this[Dh]=_=>MQ(this,_),this[KAe]=_=>q3(this,_)}get pipelining(){return this[m0]}set pipelining(e){this[m0]=e,this[Dh](!0)}get[Oh](){return this[Ts].length-this[Os]}get[Th](){return this[Os]-this[fa]}get[kh](){return this[Ts].length-this[fa]}get[PAe](){return!!this[Cr]&&!this[NA]&&!this[Cr].destroyed}get[kQ](){return!!(this[Cr]?.busy(null)||this[kh]>=(H3(this)||1)||this[Oh]>0)}[RAe](e){z3(this),this.once("connect",e)}[jAe](e,r){let n=e.origin||this[go].origin,i=new BAe(n,e,r);return this[Ts].push(i),this[kl]||(Dl.bodyLength(i.body)==null&&Dl.isIterable(i.body)?(this[kl]=1,queueMicrotask(()=>MQ(this))):this[Dh](!0)),this[kl]&&this[dc]!==2&&this[kQ]&&(this[dc]=2),this[dc]<2}async[zAe](){return new Promise(e=>{this[kh]?this[Ac]=e:e(null)})}async[GAe](e){return new Promise(r=>{let n=this[Ts].splice(this[Os]);for(let s=0;s{this[Ac]&&(this[Ac](),this[Ac]=null),r(null)},"callback");this[Cr]?(this[Cr].destroy(e,i),this[Cr]=null):queueMicrotask(i),this[Dh]()})}},$Ae=g0();function q3(t,e){if(t[Th]===0&&e.code!=="UND_ERR_INFO"&&e.code!=="UND_ERR_SOCKET"){da(t[Os]===t[fa]);let r=t[Ts].splice(t[fa]);for(let n=0;n{t[Ph]({host:e,hostname:r,protocol:n,port:i,servername:t[uc],localAddress:t[_h]},(l,u)=>{l?c(l):a(u)})});if(t.destroyed){Dl.destroy(s.on("error",L3),new SAe);return}da(s);try{t[Cr]=s.alpnProtocol==="h2"?await WAe(t,s):await VAe(t,s)}catch(a){throw s.destroy().on("error",L3),a}t[NA]=!1,s[qAe]=0,s[TQ]=t[TQ],s[vAe]=t,s[DAe]=null,SA.connected.hasSubscribers&&SA.connected.publish({connectParams:{host:e,hostname:r,protocol:n,port:i,version:t[Cr]?.version,servername:t[uc],localAddress:t[_h]},connector:t[Ph],socket:s}),t.emit("connect",t[go],[t])}catch(s){if(t.destroyed)return;if(t[NA]=!1,SA.connectError.hasSubscribers&&SA.connectError.publish({connectParams:{host:e,hostname:r,protocol:n,port:i,version:t[Cr]?.version,servername:t[uc],localAddress:t[_h]},connector:t[Ph],error:s}),s.code==="ERR_TLS_CERT_ALTNAME_INVALID")for(da(t[Th]===0);t[Oh]>0&&t[Ts][t[Os]].servername===t[uc];){let a=t[Ts][t[Os]++];Dl.errorRequest(t,a,s)}else q3(t,s);t.emit("connectionError",t[go],[t],s)}t[Dh]()}o(z3,"connect");function U3(t){t[dc]=0,t.emit("drain",t[go],[t])}o(U3,"emitDrain");function MQ(t,e){t[kl]!==2&&(t[kl]=2,XAe(t,e),t[kl]=0,t[fa]>256&&(t[Ts].splice(0,t[fa]),t[Os]-=t[fa],t[fa]=0))}o(MQ,"resume");function XAe(t,e){for(;;){if(t.destroyed){da(t[Oh]===0);return}if(t[Ac]&&!t[kh]){t[Ac](),t[Ac]=null;return}if(t[Cr]&&t[Cr].resume(),t[kQ])t[dc]=2;else if(t[dc]===2){e?(t[dc]=1,queueMicrotask(()=>U3(t))):U3(t);continue}if(t[Oh]===0||t[Th]>=(H3(t)||1))return;let r=t[Ts][t[Os]];if(t[go].protocol==="https:"&&t[uc]!==r.servername){if(t[Th]>0)return;t[uc]=r.servername,t[Cr]?.destroy(new QAe("servername changed"),()=>{t[Cr]=null,MQ(t)})}if(t[NA])return;if(!t[Cr]){z3(t);return}if(t[Cr].destroyed||t[Cr].busy(r))return;!r.aborted&&t[Cr].write(r)?t[Os]++:t[Ts].splice(t[Os],1)}}o(XAe,"_resume");G3.exports=OQ});var LQ=x((MZe,j3)=>{"use strict";var y0=class{static{o(this,"FixedCircularBuffer")}constructor(){this.bottom=0,this.top=0,this.list=new Array(2048),this.next=null}isEmpty(){return this.top===this.bottom}isFull(){return(this.top+1&2047)===this.bottom}push(e){this.list[this.top]=e,this.top=this.top+1&2047}shift(){let e=this.list[this.bottom];return e===void 0?null:(this.list[this.bottom]=void 0,this.bottom=this.bottom+1&2047,e)}};j3.exports=class{static{o(this,"FixedQueue")}constructor(){this.head=this.tail=new y0}isEmpty(){return this.head.isEmpty()}push(e){this.head.isFull()&&(this.head=this.head.next=new y0),this.head.push(e)}shift(){let e=this.tail,r=e.shift();return e.isEmpty()&&e.next!==null&&(this.tail=e.next),r}}});var K3=x((UZe,Y3)=>{var{kFree:ZAe,kConnected:ede,kPending:tde,kQueued:rde,kRunning:nde,kSize:ide}=Kt(),Tl=Symbol("pool"),UQ=class{static{o(this,"PoolStats")}constructor(e){this[Tl]=e}get connected(){return this[Tl][ede]}get free(){return this[Tl][ZAe]}get pending(){return this[Tl][tde]}get queued(){return this[Tl][rde]}get running(){return this[Tl][nde]}get size(){return this[Tl][ide]}};Y3.exports=UQ});var jQ=x((HZe,nF)=>{"use strict";var sde=fA(),ode=LQ(),{kConnected:FQ,kSize:J3,kRunning:V3,kPending:W3,kQueued:Mh,kBusy:ade,kFree:cde,kUrl:lde,kClose:ude,kDestroy:Ade,kDispatch:dde}=Kt(),fde=K3(),Jn=Symbol("clients"),_n=Symbol("needDrain"),Lh=Symbol("queue"),HQ=Symbol("closed resolve"),qQ=Symbol("onDrain"),$3=Symbol("onConnect"),X3=Symbol("onDisconnect"),Z3=Symbol("onConnectionError"),zQ=Symbol("get dispatcher"),tF=Symbol("add client"),rF=Symbol("remove client"),eF=Symbol("stats"),GQ=class extends sde{static{o(this,"PoolBase")}constructor(){super(),this[Lh]=new ode,this[Jn]=[],this[Mh]=0;let e=this;this[qQ]=o(function(n,i){let s=e[Lh],a=!1;for(;!a;){let c=s.shift();if(!c)break;e[Mh]--,a=!this.dispatch(c.opts,c.handler)}this[_n]=a,!this[_n]&&e[_n]&&(e[_n]=!1,e.emit("drain",n,[e,...i])),e[HQ]&&s.isEmpty()&&Promise.all(e[Jn].map(c=>c.close())).then(e[HQ])},"onDrain"),this[$3]=(r,n)=>{e.emit("connect",r,[e,...n])},this[X3]=(r,n,i)=>{e.emit("disconnect",r,[e,...n],i)},this[Z3]=(r,n,i)=>{e.emit("connectionError",r,[e,...n],i)},this[eF]=new fde(this)}get[ade](){return this[_n]}get[FQ](){return this[Jn].filter(e=>e[FQ]).length}get[cde](){return this[Jn].filter(e=>e[FQ]&&!e[_n]).length}get[W3](){let e=this[Mh];for(let{[W3]:r}of this[Jn])e+=r;return e}get[V3](){let e=0;for(let{[V3]:r}of this[Jn])e+=r;return e}get[J3](){let e=this[Mh];for(let{[J3]:r}of this[Jn])e+=r;return e}get stats(){return this[eF]}async[ude](){this[Lh].isEmpty()?await Promise.all(this[Jn].map(e=>e.close())):await new Promise(e=>{this[HQ]=e})}async[Ade](e){for(;;){let r=this[Lh].shift();if(!r)break;r.handler.onError(e)}await Promise.all(this[Jn].map(r=>r.destroy(e)))}[dde](e,r){let n=this[zQ]();return n?n.dispatch(e,r)||(n[_n]=!0,this[_n]=!this[zQ]()):(this[_n]=!0,this[Lh].push({opts:e,handler:r}),this[Mh]++),!this[_n]}[tF](e){return e.on("drain",this[qQ]).on("connect",this[$3]).on("disconnect",this[X3]).on("connectionError",this[Z3]),this[Jn].push(e),this[_n]&&queueMicrotask(()=>{this[_n]&&this[qQ](e[lde],[this,e])}),this}[rF](e){e.close(()=>{let r=this[Jn].indexOf(e);r!==-1&&this[Jn].splice(r,1)}),this[_n]=this[Jn].some(r=>!r[_n]&&r.closed!==!0&&r.destroyed!==!0)}};nF.exports={PoolBase:GQ,kClients:Jn,kNeedDrain:_n,kAddClient:tF,kRemoveClient:rF,kGetDispatcher:zQ}});var RA=x((zZe,aF)=>{"use strict";var{PoolBase:hde,kClients:E0,kNeedDrain:pde,kAddClient:gde,kGetDispatcher:mde}=jQ(),yde=vA(),{InvalidArgumentError:YQ}=ft(),iF=Xe(),{kUrl:sF,kInterceptors:Ede}=Kt(),bde=mh(),KQ=Symbol("options"),JQ=Symbol("connections"),oF=Symbol("factory");function Cde(t,e){return new yde(t,e)}o(Cde,"defaultFactory");var VQ=class extends hde{static{o(this,"Pool")}constructor(e,{connections:r,factory:n=Cde,connect:i,connectTimeout:s,tls:a,maxCachedSessions:c,socketPath:l,autoSelectFamily:u,autoSelectFamilyAttemptTimeout:A,allowH2:d,...f}={}){if(super(),r!=null&&(!Number.isFinite(r)||r<0))throw new YQ("invalid connections");if(typeof n!="function")throw new YQ("factory must be a function.");if(i!=null&&typeof i!="function"&&typeof i!="object")throw new YQ("connect must be a function or an object");typeof i!="function"&&(i=bde({...a,maxCachedSessions:c,allowH2:d,socketPath:l,timeout:s,...u?{autoSelectFamily:u,autoSelectFamilyAttemptTimeout:A}:void 0,...i})),this[Ede]=f.interceptors?.Pool&&Array.isArray(f.interceptors.Pool)?f.interceptors.Pool:[],this[JQ]=r||null,this[sF]=iF.parseOrigin(e),this[KQ]={...iF.deepClone(f),connect:i,allowH2:d},this[KQ].interceptors=f.interceptors?{...f.interceptors}:void 0,this[oF]=n,this.on("connectionError",(h,g,m)=>{for(let b of g){let y=this[E0].indexOf(b);y!==-1&&this[E0].splice(y,1)}})}[mde](){for(let e of this[E0])if(!e[pde])return e;if(!this[JQ]||this[E0].length{"use strict";var{BalancedPoolMissingUpstreamError:xde,InvalidArgumentError:Ide}=ft(),{PoolBase:Bde,kClients:pn,kNeedDrain:Uh,kAddClient:wde,kRemoveClient:Qde,kGetDispatcher:Sde}=jQ(),Nde=RA(),{kUrl:WQ,kInterceptors:vde}=Kt(),{parseOrigin:cF}=Xe(),lF=Symbol("factory"),b0=Symbol("options"),uF=Symbol("kGreatestCommonDivisor"),Ol=Symbol("kCurrentWeight"),Ml=Symbol("kIndex"),es=Symbol("kWeight"),C0=Symbol("kMaxWeightPerServer"),x0=Symbol("kErrorPenalty");function Rde(t,e){if(t===0)return e;for(;e!==0;){let r=e;e=t%e,t=r}return t}o(Rde,"getGreatestCommonDivisor");function Pde(t,e){return new Nde(t,e)}o(Pde,"defaultFactory");var $Q=class extends Bde{static{o(this,"BalancedPool")}constructor(e=[],{factory:r=Pde,...n}={}){if(super(),this[b0]=n,this[Ml]=-1,this[Ol]=0,this[C0]=this[b0].maxWeightPerServer||100,this[x0]=this[b0].errorPenalty||15,Array.isArray(e)||(e=[e]),typeof r!="function")throw new Ide("factory must be a function.");this[vde]=n.interceptors?.BalancedPool&&Array.isArray(n.interceptors.BalancedPool)?n.interceptors.BalancedPool:[],this[lF]=r;for(let i of e)this.addUpstream(i);this._updateBalancedPoolStats()}addUpstream(e){let r=cF(e).origin;if(this[pn].find(i=>i[WQ].origin===r&&i.closed!==!0&&i.destroyed!==!0))return this;let n=this[lF](r,Object.assign({},this[b0]));this[wde](n),n.on("connect",()=>{n[es]=Math.min(this[C0],n[es]+this[x0])}),n.on("connectionError",()=>{n[es]=Math.max(1,n[es]-this[x0]),this._updateBalancedPoolStats()}),n.on("disconnect",(...i)=>{let s=i[2];s&&s.code==="UND_ERR_SOCKET"&&(n[es]=Math.max(1,n[es]-this[x0]),this._updateBalancedPoolStats())});for(let i of this[pn])i[es]=this[C0];return this._updateBalancedPoolStats(),this}_updateBalancedPoolStats(){let e=0;for(let r=0;ri[WQ].origin===r&&i.closed!==!0&&i.destroyed!==!0);return n&&this[Qde](n),this}get upstreams(){return this[pn].filter(e=>e.closed!==!0&&e.destroyed!==!0).map(e=>e[WQ].origin)}[Sde](){if(this[pn].length===0)throw new xde;if(!this[pn].find(s=>!s[Uh]&&s.closed!==!0&&s.destroyed!==!0)||this[pn].map(s=>s[Uh]).reduce((s,a)=>s&&a,!0))return;let n=0,i=this[pn].findIndex(s=>!s[Uh]);for(;n++this[pn][i][es]&&!s[Uh]&&(i=this[Ml]),this[Ml]===0&&(this[Ol]=this[Ol]-this[uF],this[Ol]<=0&&(this[Ol]=this[C0])),s[es]>=this[Ol]&&!s[Uh])return s}return this[Ol]=this[pn][i][es],this[Ml]=i,this[pn][i]}};AF.exports=$Q});var PA=x((KZe,EF)=>{"use strict";var{InvalidArgumentError:I0}=ft(),{kClients:fc,kRunning:fF,kClose:_de,kDestroy:Dde,kDispatch:kde,kInterceptors:Tde}=Kt(),Ode=fA(),Mde=RA(),Lde=vA(),Ude=Xe(),Fde=g0(),hF=Symbol("onConnect"),pF=Symbol("onDisconnect"),gF=Symbol("onConnectionError"),Hde=Symbol("maxRedirections"),mF=Symbol("onDrain"),yF=Symbol("factory"),XQ=Symbol("options");function qde(t,e){return e&&e.connections===1?new Lde(t,e):new Mde(t,e)}o(qde,"defaultFactory");var ZQ=class extends Ode{static{o(this,"Agent")}constructor({factory:e=qde,maxRedirections:r=0,connect:n,...i}={}){if(super(),typeof e!="function")throw new I0("factory must be a function.");if(n!=null&&typeof n!="function"&&typeof n!="object")throw new I0("connect must be a function or an object");if(!Number.isInteger(r)||r<0)throw new I0("maxRedirections must be a positive number");n&&typeof n!="function"&&(n={...n}),this[Tde]=i.interceptors?.Agent&&Array.isArray(i.interceptors.Agent)?i.interceptors.Agent:[Fde({maxRedirections:r})],this[XQ]={...Ude.deepClone(i),connect:n},this[XQ].interceptors=i.interceptors?{...i.interceptors}:void 0,this[Hde]=r,this[yF]=e,this[fc]=new Map,this[mF]=(s,a)=>{this.emit("drain",s,[this,...a])},this[hF]=(s,a)=>{this.emit("connect",s,[this,...a])},this[pF]=(s,a,c)=>{this.emit("disconnect",s,[this,...a],c)},this[gF]=(s,a,c)=>{this.emit("connectionError",s,[this,...a],c)}}get[fF](){let e=0;for(let r of this[fc].values())e+=r[fF];return e}[kde](e,r){let n;if(e.origin&&(typeof e.origin=="string"||e.origin instanceof URL))n=String(e.origin);else throw new I0("opts.origin must be a non-empty string or URL.");let i=this[fc].get(n);return i||(i=this[yF](e.origin,this[XQ]).on("drain",this[mF]).on("connect",this[hF]).on("disconnect",this[pF]).on("connectionError",this[gF]),this[fc].set(n,i)),i.dispatch(e,r)}async[_de](){let e=[];for(let r of this[fc].values())e.push(r.close());this[fc].clear(),await Promise.all(e)}async[Dde](e){let r=[];for(let n of this[fc].values())r.push(n.destroy(e));this[fc].clear(),await Promise.all(r)}};EF.exports=ZQ});var i1=x((VZe,RF)=>{"use strict";var{kProxy:e1,kClose:wF,kDestroy:QF,kDispatch:bF,kInterceptors:zde}=Kt(),{URL:Ll}=require("node:url"),Gde=PA(),SF=RA(),NF=fA(),{InvalidArgumentError:_A,RequestAbortedError:jde,SecureProxyConnectionError:Yde}=ft(),CF=mh(),vF=vA(),B0=Symbol("proxy agent"),w0=Symbol("proxy client"),hc=Symbol("proxy headers"),t1=Symbol("request tls settings"),xF=Symbol("proxy tls settings"),IF=Symbol("connect endpoint function"),BF=Symbol("tunnel proxy");function Kde(t){return t==="https:"?443:80}o(Kde,"defaultProtocolPort");function Jde(t,e){return new SF(t,e)}o(Jde,"defaultFactory");var Vde=o(()=>{},"noop");function Wde(t,e){return e.connections===1?new vF(t,e):new SF(t,e)}o(Wde,"defaultAgentFactory");var r1=class extends NF{static{o(this,"Http1ProxyWrapper")}#e;constructor(e,{headers:r={},connect:n,factory:i}){if(super(),!e)throw new _A("Proxy URL is mandatory");this[hc]=r,i?this.#e=i(e,{connect:n}):this.#e=new vF(e,{connect:n})}[bF](e,r){let n=r.onHeaders;r.onHeaders=function(c,l,u){if(c===407){typeof r.onError=="function"&&r.onError(new _A("Proxy Authentication Required (407)"));return}n&&n.call(this,c,l,u)};let{origin:i,path:s="/",headers:a={}}=e;if(e.path=i+s,!("host"in a)&&!("Host"in a)){let{host:c}=new Ll(i);a.host=c}return e.headers={...this[hc],...a},this.#e[bF](e,r)}async[wF](){return this.#e.close()}async[QF](e){return this.#e.destroy(e)}},n1=class extends NF{static{o(this,"ProxyAgent")}constructor(e){if(super(),!e||typeof e=="object"&&!(e instanceof Ll)&&!e.uri)throw new _A("Proxy uri is mandatory");let{clientFactory:r=Jde}=e;if(typeof r!="function")throw new _A("Proxy opts.clientFactory must be a function.");let{proxyTunnel:n=!0}=e,i=this.#e(e),{href:s,origin:a,port:c,protocol:l,username:u,password:A,hostname:d}=i;if(this[e1]={uri:s,protocol:l},this[zde]=e.interceptors?.ProxyAgent&&Array.isArray(e.interceptors.ProxyAgent)?e.interceptors.ProxyAgent:[],this[t1]=e.requestTls,this[xF]=e.proxyTls,this[hc]=e.headers||{},this[BF]=n,e.auth&&e.token)throw new _A("opts.auth cannot be used in combination with opts.token");e.auth?this[hc]["proxy-authorization"]=`Basic ${e.auth}`:e.token?this[hc]["proxy-authorization"]=e.token:u&&A&&(this[hc]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(u)}:${decodeURIComponent(A)}`).toString("base64")}`);let f=CF({...e.proxyTls});this[IF]=CF({...e.requestTls});let h=e.factory||Wde,g=o((m,b)=>{let{protocol:y}=new Ll(m);return!this[BF]&&y==="http:"&&this[e1].protocol==="http:"?new r1(this[e1].uri,{headers:this[hc],connect:f,factory:h}):h(m,b)},"factory");this[w0]=r(i,{connect:f}),this[B0]=new Gde({...e,factory:g,connect:o(async(m,b)=>{let y=m.host;m.port||(y+=`:${Kde(m.protocol)}`);try{let{socket:I,statusCode:w}=await this[w0].connect({origin:a,port:c,path:y,signal:m.signal,headers:{...this[hc],host:m.host},servername:this[xF]?.servername||d});if(w!==200&&(I.on("error",Vde).destroy(),b(new jde(`Proxy response (${w}) !== 200 when HTTP Tunneling`))),m.protocol!=="https:"){b(null,I);return}let v;this[t1]?v=this[t1].servername:v=m.servername,this[IF]({...m,servername:v,httpSocket:I},b)}catch(I){I.code==="ERR_TLS_CERT_ALTNAME_INVALID"?b(new Yde(I)):b(I)}},"connect")})}dispatch(e,r){let n=$de(e.headers);if(Xde(n),n&&!("host"in n)&&!("Host"in n)){let{host:i}=new Ll(e.origin);n.host=i}return this[B0].dispatch({...e,headers:n},r)}#e(e){return typeof e=="string"?new Ll(e):e instanceof Ll?e:new Ll(e.uri)}async[wF](){await this[B0].close(),await this[w0].close()}async[QF](){await this[B0].destroy(),await this[w0].destroy()}};function $de(t){if(Array.isArray(t)){let e={};for(let r=0;rr.toLowerCase()==="proxy-authorization"))throw new _A("Proxy-Authorization should be sent in ProxyAgent constructor")}o(Xde,"throwIfProxyAuthIsSent");RF.exports=n1});var OF=x(($Ze,TF)=>{"use strict";var Zde=fA(),{kClose:efe,kDestroy:tfe,kClosed:PF,kDestroyed:_F,kDispatch:rfe,kNoProxyAgent:Fh,kHttpProxyAgent:pc,kHttpsProxyAgent:Ul}=Kt(),DF=i1(),nfe=PA(),ife={"http:":80,"https:":443},kF=!1,s1=class extends Zde{static{o(this,"EnvHttpProxyAgent")}#e=null;#t=null;#i=null;constructor(e={}){super(),this.#i=e,kF||(kF=!0,process.emitWarning("EnvHttpProxyAgent is experimental, expect them to change at any time.",{code:"UNDICI-EHPA"}));let{httpProxy:r,httpsProxy:n,noProxy:i,...s}=e;this[Fh]=new nfe(s);let a=r??process.env.http_proxy??process.env.HTTP_PROXY;a?this[pc]=new DF({...s,uri:a}):this[pc]=this[Fh];let c=n??process.env.https_proxy??process.env.HTTPS_PROXY;c?this[Ul]=new DF({...s,uri:c}):this[Ul]=this[pc],this.#s()}[rfe](e,r){let n=new URL(e.origin);return this.#n(n).dispatch(e,r)}async[efe](){await this[Fh].close(),this[pc][PF]||await this[pc].close(),this[Ul][PF]||await this[Ul].close()}async[tfe](e){await this[Fh].destroy(e),this[pc][_F]||await this[pc].destroy(e),this[Ul][_F]||await this[Ul].destroy(e)}#n(e){let{protocol:r,host:n,port:i}=e;return n=n.replace(/:\d*$/,"").toLowerCase(),i=Number.parseInt(i,10)||ife[r]||0,this.#r(n,i)?r==="https:"?this[Ul]:this[pc]:this[Fh]}#r(e,r){if(this.#o&&this.#s(),this.#t.length===0)return!0;if(this.#e==="*")return!1;for(let n=0;n{"use strict";var DA=require("node:assert"),{kRetryHandlerDefaultRetry:MF}=Kt(),{RequestRetryError:Hh}=ft(),{isDisturbed:LF,parseHeaders:sfe,parseRangeHeader:UF,wrapRequestBody:ofe}=Xe();function afe(t){let e=Date.now();return new Date(t).getTime()-e}o(afe,"calculateRetryAfterHeader");var o1=class t{static{o(this,"RetryHandler")}constructor(e,r){let{retryOptions:n,...i}=e,{retry:s,maxRetries:a,maxTimeout:c,minTimeout:l,timeoutFactor:u,methods:A,errorCodes:d,retryAfter:f,statusCodes:h}=n??{};this.dispatch=r.dispatch,this.handler=r.handler,this.opts={...i,body:ofe(e.body)},this.abort=null,this.aborted=!1,this.retryOpts={retry:s??t[MF],retryAfter:f??!0,maxTimeout:c??30*1e3,minTimeout:l??500,timeoutFactor:u??2,maxRetries:a??5,methods:A??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE"],statusCodes:h??[500,502,503,504,429],errorCodes:d??["ECONNRESET","ECONNREFUSED","ENOTFOUND","ENETDOWN","ENETUNREACH","EHOSTDOWN","EHOSTUNREACH","EPIPE","UND_ERR_SOCKET"]},this.retryCount=0,this.retryCountCheckpoint=0,this.start=0,this.end=null,this.etag=null,this.resume=null,this.handler.onConnect(g=>{this.aborted=!0,this.abort?this.abort(g):this.reason=g})}onRequestSent(){this.handler.onRequestSent&&this.handler.onRequestSent()}onUpgrade(e,r,n){this.handler.onUpgrade&&this.handler.onUpgrade(e,r,n)}onConnect(e){this.aborted?e(this.reason):this.abort=e}onBodySent(e){if(this.handler.onBodySent)return this.handler.onBodySent(e)}static[MF](e,{state:r,opts:n},i){let{statusCode:s,code:a,headers:c}=e,{method:l,retryOptions:u}=n,{maxRetries:A,minTimeout:d,maxTimeout:f,timeoutFactor:h,statusCodes:g,errorCodes:m,methods:b}=u,{counter:y}=r;if(a&&a!=="UND_ERR_REQ_RETRY"&&!m.includes(a)){i(e);return}if(Array.isArray(b)&&!b.includes(l)){i(e);return}if(s!=null&&Array.isArray(g)&&!g.includes(s)){i(e);return}if(y>A){i(e);return}let I=c?.["retry-after"];I&&(I=Number(I),I=Number.isNaN(I)?afe(I):I*1e3);let w=I>0?Math.min(I,f):Math.min(d*h**(y-1),f);setTimeout(()=>i(null),w)}onHeaders(e,r,n,i){let s=sfe(r);if(this.retryCount+=1,e>=300)return this.retryOpts.statusCodes.includes(e)===!1?this.handler.onHeaders(e,r,n,i):(this.abort(new Hh("Request failed",e,{headers:s,data:{count:this.retryCount}})),!1);if(this.resume!=null){if(this.resume=null,e!==206&&(this.start>0||e!==200))return this.abort(new Hh("server does not support the range header and the payload was partially consumed",e,{headers:s,data:{count:this.retryCount}})),!1;let c=UF(s["content-range"]);if(!c)return this.abort(new Hh("Content-Range mismatch",e,{headers:s,data:{count:this.retryCount}})),!1;if(this.etag!=null&&this.etag!==s.etag)return this.abort(new Hh("ETag mismatch",e,{headers:s,data:{count:this.retryCount}})),!1;let{start:l,size:u,end:A=u-1}=c;return DA(this.start===l,"content-range mismatch"),DA(this.end==null||this.end===A,"content-range mismatch"),this.resume=n,!0}if(this.end==null){if(e===206){let c=UF(s["content-range"]);if(c==null)return this.handler.onHeaders(e,r,n,i);let{start:l,size:u,end:A=u-1}=c;DA(l!=null&&Number.isFinite(l),"content-range mismatch"),DA(A!=null&&Number.isFinite(A),"invalid content-length"),this.start=l,this.end=A}if(this.end==null){let c=s["content-length"];this.end=c!=null?Number(c)-1:null}return DA(Number.isFinite(this.start)),DA(this.end==null||Number.isFinite(this.end),"invalid content-length"),this.resume=n,this.etag=s.etag!=null?s.etag:null,this.etag!=null&&this.etag.startsWith("W/")&&(this.etag=null),this.handler.onHeaders(e,r,n,i)}let a=new Hh("Request failed",e,{headers:s,data:{count:this.retryCount}});return this.abort(a),!1}onData(e){return this.start+=e.length,this.handler.onData(e)}onComplete(e){return this.retryCount=0,this.handler.onComplete(e)}onError(e){if(this.aborted||LF(this.opts.body))return this.handler.onError(e);this.retryCount-this.retryCountCheckpoint>0?this.retryCount=this.retryCountCheckpoint+(this.retryCount-this.retryCountCheckpoint):this.retryCount+=1,this.retryOpts.retry(e,{state:{counter:this.retryCount},opts:{retryOptions:this.retryOpts,...this.opts}},r.bind(this));function r(n){if(n!=null||this.aborted||LF(this.opts.body))return this.handler.onError(n);if(this.start!==0){let i={range:`bytes=${this.start}-${this.end??""}`};this.etag!=null&&(i["if-match"]=this.etag),this.opts={...this.opts,headers:{...this.opts.headers,...i}}}try{this.retryCountCheckpoint=this.retryCount,this.dispatch(this.opts,this)}catch(i){this.handler.onError(i)}}o(r,"onRetry")}};FF.exports=o1});var qF=x((tet,HF)=>{"use strict";var cfe=ph(),lfe=Q0(),a1=class extends cfe{static{o(this,"RetryAgent")}#e=null;#t=null;constructor(e,r={}){super(r),this.#e=e,this.#t=r}dispatch(e,r){let n=new lfe({...e,retryOptions:this.#t},{dispatch:this.#e.dispatch.bind(this.#e),handler:r});return this.#e.dispatch(e,n)}close(){return this.#e.close()}destroy(){return this.#e.destroy()}};HF.exports=a1});var f1=x((net,$F)=>{"use strict";var KF=require("node:assert"),{Readable:ufe}=require("node:stream"),{RequestAbortedError:JF,NotSupportedError:Afe,InvalidArgumentError:dfe,AbortError:c1}=ft(),VF=Xe(),{ReadableStreamFrom:ffe}=Xe(),Ii=Symbol("kConsume"),qh=Symbol("kReading"),gc=Symbol("kBody"),zF=Symbol("kAbort"),WF=Symbol("kContentType"),GF=Symbol("kContentLength"),hfe=o(()=>{},"noop"),l1=class extends ufe{static{o(this,"BodyReadable")}constructor({resume:e,abort:r,contentType:n="",contentLength:i,highWaterMark:s=64*1024}){super({autoDestroy:!0,read:e,highWaterMark:s}),this._readableState.dataEmitted=!1,this[zF]=r,this[Ii]=null,this[gc]=null,this[WF]=n,this[GF]=i,this[qh]=!1}destroy(e){return!e&&!this._readableState.endEmitted&&(e=new JF),e&&this[zF](),super.destroy(e)}_destroy(e,r){this[qh]?r(e):setImmediate(()=>{r(e)})}on(e,...r){return(e==="data"||e==="readable")&&(this[qh]=!0),super.on(e,...r)}addListener(e,...r){return this.on(e,...r)}off(e,...r){let n=super.off(e,...r);return(e==="data"||e==="readable")&&(this[qh]=this.listenerCount("data")>0||this.listenerCount("readable")>0),n}removeListener(e,...r){return this.off(e,...r)}push(e){return this[Ii]&&e!==null?(A1(this[Ii],e),this[qh]?super.push(e):!0):super.push(e)}async text(){return zh(this,"text")}async json(){return zh(this,"json")}async blob(){return zh(this,"blob")}async bytes(){return zh(this,"bytes")}async arrayBuffer(){return zh(this,"arrayBuffer")}async formData(){throw new Afe}get bodyUsed(){return VF.isDisturbed(this)}get body(){return this[gc]||(this[gc]=ffe(this),this[Ii]&&(this[gc].getReader(),KF(this[gc].locked))),this[gc]}async dump(e){let r=Number.isFinite(e?.limit)?e.limit:131072,n=e?.signal;if(n!=null&&(typeof n!="object"||!("aborted"in n)))throw new dfe("signal must be an AbortSignal");return n?.throwIfAborted(),this._readableState.closeEmitted?null:await new Promise((i,s)=>{this[GF]>r&&this.destroy(new c1);let a=o(()=>{this.destroy(n.reason??new c1)},"onAbort");n?.addEventListener("abort",a),this.on("close",function(){n?.removeEventListener("abort",a),n?.aborted?s(n.reason??new c1):i(null)}).on("error",hfe).on("data",function(c){r-=c.length,r<=0&&this.destroy()}).resume()})}};function pfe(t){return t[gc]&&t[gc].locked===!0||t[Ii]}o(pfe,"isLocked");function gfe(t){return VF.isDisturbed(t)||pfe(t)}o(gfe,"isUnusable");async function zh(t,e){return KF(!t[Ii]),new Promise((r,n)=>{if(gfe(t)){let i=t._readableState;i.destroyed&&i.closeEmitted===!1?t.on("error",s=>{n(s)}).on("close",()=>{n(new TypeError("unusable"))}):n(i.errored??new TypeError("unusable"))}else queueMicrotask(()=>{t[Ii]={type:e,stream:t,resolve:r,reject:n,length:0,body:[]},t.on("error",function(i){d1(this[Ii],i)}).on("close",function(){this[Ii].body!==null&&d1(this[Ii],new JF)}),mfe(t[Ii])})})}o(zh,"consume");function mfe(t){if(t.body===null)return;let{_readableState:e}=t.stream;if(e.bufferIndex){let r=e.bufferIndex,n=e.buffer.length;for(let i=r;i2&&r[0]===239&&r[1]===187&&r[2]===191?3:0;return r.utf8Slice(i,n)}o(u1,"chunksDecode");function jF(t,e){if(t.length===0||e===0)return new Uint8Array(0);if(t.length===1)return new Uint8Array(t[0]);let r=new Uint8Array(Buffer.allocUnsafeSlow(e).buffer),n=0;for(let i=0;i{var yfe=require("node:assert"),{ResponseStatusCodeError:XF}=ft(),{chunksDecode:ZF}=f1(),Efe=128*1024;async function bfe({callback:t,body:e,contentType:r,statusCode:n,statusMessage:i,headers:s}){yfe(e);let a=[],c=0;try{for await(let d of e)if(a.push(d),c+=d.length,c>Efe){a=[],c=0;break}}catch{a=[],c=0}let l=`Response status code ${n}${i?`: ${i}`:""}`;if(n===204||!r||!c){queueMicrotask(()=>t(new XF(l,n,s)));return}let u=Error.stackTraceLimit;Error.stackTraceLimit=0;let A;try{e8(r)?A=JSON.parse(ZF(a,c)):t8(r)&&(A=ZF(a,c))}catch{}finally{Error.stackTraceLimit=u}queueMicrotask(()=>t(new XF(l,n,s,A)))}o(bfe,"getResolveErrorBodyCallback");var e8=o(t=>t.length>15&&t[11]==="/"&&t[0]==="a"&&t[1]==="p"&&t[2]==="p"&&t[3]==="l"&&t[4]==="i"&&t[5]==="c"&&t[6]==="a"&&t[7]==="t"&&t[8]==="i"&&t[9]==="o"&&t[10]==="n"&&t[12]==="j"&&t[13]==="s"&&t[14]==="o"&&t[15]==="n","isContentTypeApplicationJson"),t8=o(t=>t.length>4&&t[4]==="/"&&t[0]==="t"&&t[1]==="e"&&t[2]==="x"&&t[3]==="t","isContentTypeText");r8.exports={getResolveErrorBodyCallback:bfe,isContentTypeApplicationJson:e8,isContentTypeText:t8}});var s8=x((aet,p1)=>{"use strict";var Cfe=require("node:assert"),{Readable:xfe}=f1(),{InvalidArgumentError:kA,RequestAbortedError:n8}=ft(),Bi=Xe(),{getResolveErrorBodyCallback:Ife}=h1(),{AsyncResource:Bfe}=require("node:async_hooks"),S0=class extends Bfe{static{o(this,"RequestHandler")}constructor(e,r){if(!e||typeof e!="object")throw new kA("invalid opts");let{signal:n,method:i,opaque:s,body:a,onInfo:c,responseHeaders:l,throwOnError:u,highWaterMark:A}=e;try{if(typeof r!="function")throw new kA("invalid callback");if(A&&(typeof A!="number"||A<0))throw new kA("invalid highWaterMark");if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new kA("signal must be an EventEmitter or EventTarget");if(i==="CONNECT")throw new kA("invalid method");if(c&&typeof c!="function")throw new kA("invalid onInfo callback");super("UNDICI_REQUEST")}catch(d){throw Bi.isStream(a)&&Bi.destroy(a.on("error",Bi.nop),d),d}this.method=i,this.responseHeaders=l||null,this.opaque=s||null,this.callback=r,this.res=null,this.abort=null,this.body=a,this.trailers={},this.context=null,this.onInfo=c||null,this.throwOnError=u,this.highWaterMark=A,this.signal=n,this.reason=null,this.removeAbortListener=null,Bi.isStream(a)&&a.on("error",d=>{this.onError(d)}),this.signal&&(this.signal.aborted?this.reason=this.signal.reason??new n8:this.removeAbortListener=Bi.addAbortListener(this.signal,()=>{this.reason=this.signal.reason??new n8,this.res?Bi.destroy(this.res.on("error",Bi.nop),this.reason):this.abort&&this.abort(this.reason),this.removeAbortListener&&(this.res?.off("close",this.removeAbortListener),this.removeAbortListener(),this.removeAbortListener=null)}))}onConnect(e,r){if(this.reason){e(this.reason);return}Cfe(this.callback),this.abort=e,this.context=r}onHeaders(e,r,n,i){let{callback:s,opaque:a,abort:c,context:l,responseHeaders:u,highWaterMark:A}=this,d=u==="raw"?Bi.parseRawHeaders(r):Bi.parseHeaders(r);if(e<200){this.onInfo&&this.onInfo({statusCode:e,headers:d});return}let f=u==="raw"?Bi.parseHeaders(r):d,h=f["content-type"],g=f["content-length"],m=new xfe({resume:n,abort:c,contentType:h,contentLength:this.method!=="HEAD"&&g?Number(g):null,highWaterMark:A});this.removeAbortListener&&m.on("close",this.removeAbortListener),this.callback=null,this.res=m,s!==null&&(this.throwOnError&&e>=400?this.runInAsyncScope(Ife,null,{callback:s,body:m,contentType:h,statusCode:e,statusMessage:i,headers:d}):this.runInAsyncScope(s,null,null,{statusCode:e,headers:d,trailers:this.trailers,opaque:a,body:m,context:l}))}onData(e){return this.res.push(e)}onComplete(e){Bi.parseHeaders(e,this.trailers),this.res.push(null)}onError(e){let{res:r,callback:n,body:i,opaque:s}=this;n&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(n,null,e,{opaque:s})})),r&&(this.res=null,queueMicrotask(()=>{Bi.destroy(r,e)})),i&&(this.body=null,Bi.destroy(i,e)),this.removeAbortListener&&(r?.off("close",this.removeAbortListener),this.removeAbortListener(),this.removeAbortListener=null)}};function i8(t,e){if(e===void 0)return new Promise((r,n)=>{i8.call(this,t,(i,s)=>i?n(i):r(s))});try{this.dispatch(t,new S0(t,e))}catch(r){if(typeof e!="function")throw r;let n=t?.opaque;queueMicrotask(()=>e(r,{opaque:n}))}}o(i8,"request");p1.exports=i8;p1.exports.RequestHandler=S0});var Gh=x((uet,c8)=>{var{addAbortListener:wfe}=Xe(),{RequestAbortedError:Qfe}=ft(),TA=Symbol("kListener"),mo=Symbol("kSignal");function o8(t){t.abort?t.abort(t[mo]?.reason):t.reason=t[mo]?.reason??new Qfe,a8(t)}o(o8,"abort");function Sfe(t,e){if(t.reason=null,t[mo]=null,t[TA]=null,!!e){if(e.aborted){o8(t);return}t[mo]=e,t[TA]=()=>{o8(t)},wfe(t[mo],t[TA])}}o(Sfe,"addSignal");function a8(t){t[mo]&&("removeEventListener"in t[mo]?t[mo].removeEventListener("abort",t[TA]):t[mo].removeListener("abort",t[TA]),t[mo]=null,t[TA]=null)}o(a8,"removeSignal");c8.exports={addSignal:Sfe,removeSignal:a8}});var d8=x((det,A8)=>{"use strict";var Nfe=require("node:assert"),{finished:vfe,PassThrough:Rfe}=require("node:stream"),{InvalidArgumentError:OA,InvalidReturnValueError:Pfe}=ft(),Ms=Xe(),{getResolveErrorBodyCallback:_fe}=h1(),{AsyncResource:Dfe}=require("node:async_hooks"),{addSignal:kfe,removeSignal:l8}=Gh(),g1=class extends Dfe{static{o(this,"StreamHandler")}constructor(e,r,n){if(!e||typeof e!="object")throw new OA("invalid opts");let{signal:i,method:s,opaque:a,body:c,onInfo:l,responseHeaders:u,throwOnError:A}=e;try{if(typeof n!="function")throw new OA("invalid callback");if(typeof r!="function")throw new OA("invalid factory");if(i&&typeof i.on!="function"&&typeof i.addEventListener!="function")throw new OA("signal must be an EventEmitter or EventTarget");if(s==="CONNECT")throw new OA("invalid method");if(l&&typeof l!="function")throw new OA("invalid onInfo callback");super("UNDICI_STREAM")}catch(d){throw Ms.isStream(c)&&Ms.destroy(c.on("error",Ms.nop),d),d}this.responseHeaders=u||null,this.opaque=a||null,this.factory=r,this.callback=n,this.res=null,this.abort=null,this.context=null,this.trailers=null,this.body=c,this.onInfo=l||null,this.throwOnError=A||!1,Ms.isStream(c)&&c.on("error",d=>{this.onError(d)}),kfe(this,i)}onConnect(e,r){if(this.reason){e(this.reason);return}Nfe(this.callback),this.abort=e,this.context=r}onHeaders(e,r,n,i){let{factory:s,opaque:a,context:c,callback:l,responseHeaders:u}=this,A=u==="raw"?Ms.parseRawHeaders(r):Ms.parseHeaders(r);if(e<200){this.onInfo&&this.onInfo({statusCode:e,headers:A});return}this.factory=null;let d;if(this.throwOnError&&e>=400){let g=(u==="raw"?Ms.parseHeaders(r):A)["content-type"];d=new Rfe,this.callback=null,this.runInAsyncScope(_fe,null,{callback:l,body:d,contentType:g,statusCode:e,statusMessage:i,headers:A})}else{if(s===null)return;if(d=this.runInAsyncScope(s,null,{statusCode:e,headers:A,opaque:a,context:c}),!d||typeof d.write!="function"||typeof d.end!="function"||typeof d.on!="function")throw new Pfe("expected Writable");vfe(d,{readable:!1},h=>{let{callback:g,res:m,opaque:b,trailers:y,abort:I}=this;this.res=null,(h||!m.readable)&&Ms.destroy(m,h),this.callback=null,this.runInAsyncScope(g,null,h||null,{opaque:b,trailers:y}),h&&I()})}return d.on("drain",n),this.res=d,(d.writableNeedDrain!==void 0?d.writableNeedDrain:d._writableState?.needDrain)!==!0}onData(e){let{res:r}=this;return r?r.write(e):!0}onComplete(e){let{res:r}=this;l8(this),r&&(this.trailers=Ms.parseHeaders(e),r.end())}onError(e){let{res:r,callback:n,opaque:i,body:s}=this;l8(this),this.factory=null,r?(this.res=null,Ms.destroy(r,e)):n&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(n,null,e,{opaque:i})})),s&&(this.body=null,Ms.destroy(s,e))}};function u8(t,e,r){if(r===void 0)return new Promise((n,i)=>{u8.call(this,t,e,(s,a)=>s?i(s):n(a))});try{this.dispatch(t,new g1(t,e,r))}catch(n){if(typeof r!="function")throw n;let i=t?.opaque;queueMicrotask(()=>r(n,{opaque:i}))}}o(u8,"stream");A8.exports=u8});var g8=x((het,p8)=>{"use strict";var{Readable:h8,Duplex:Tfe,PassThrough:Ofe}=require("node:stream"),{InvalidArgumentError:jh,InvalidReturnValueError:Mfe,RequestAbortedError:m1}=ft(),ts=Xe(),{AsyncResource:Lfe}=require("node:async_hooks"),{addSignal:Ufe,removeSignal:Ffe}=Gh(),f8=require("node:assert"),MA=Symbol("resume"),y1=class extends h8{static{o(this,"PipelineRequest")}constructor(){super({autoDestroy:!0}),this[MA]=null}_read(){let{[MA]:e}=this;e&&(this[MA]=null,e())}_destroy(e,r){this._read(),r(e)}},E1=class extends h8{static{o(this,"PipelineResponse")}constructor(e){super({autoDestroy:!0}),this[MA]=e}_read(){this[MA]()}_destroy(e,r){!e&&!this._readableState.endEmitted&&(e=new m1),r(e)}},b1=class extends Lfe{static{o(this,"PipelineHandler")}constructor(e,r){if(!e||typeof e!="object")throw new jh("invalid opts");if(typeof r!="function")throw new jh("invalid handler");let{signal:n,method:i,opaque:s,onInfo:a,responseHeaders:c}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new jh("signal must be an EventEmitter or EventTarget");if(i==="CONNECT")throw new jh("invalid method");if(a&&typeof a!="function")throw new jh("invalid onInfo callback");super("UNDICI_PIPELINE"),this.opaque=s||null,this.responseHeaders=c||null,this.handler=r,this.abort=null,this.context=null,this.onInfo=a||null,this.req=new y1().on("error",ts.nop),this.ret=new Tfe({readableObjectMode:e.objectMode,autoDestroy:!0,read:o(()=>{let{body:l}=this;l?.resume&&l.resume()},"read"),write:o((l,u,A)=>{let{req:d}=this;d.push(l,u)||d._readableState.destroyed?A():d[MA]=A},"write"),destroy:o((l,u)=>{let{body:A,req:d,res:f,ret:h,abort:g}=this;!l&&!h._readableState.endEmitted&&(l=new m1),g&&l&&g(),ts.destroy(A,l),ts.destroy(d,l),ts.destroy(f,l),Ffe(this),u(l)},"destroy")}).on("prefinish",()=>{let{req:l}=this;l.push(null)}),this.res=null,Ufe(this,n)}onConnect(e,r){let{ret:n,res:i}=this;if(this.reason){e(this.reason);return}f8(!i,"pipeline cannot be retried"),f8(!n.destroyed),this.abort=e,this.context=r}onHeaders(e,r,n){let{opaque:i,handler:s,context:a}=this;if(e<200){if(this.onInfo){let l=this.responseHeaders==="raw"?ts.parseRawHeaders(r):ts.parseHeaders(r);this.onInfo({statusCode:e,headers:l})}return}this.res=new E1(n);let c;try{this.handler=null;let l=this.responseHeaders==="raw"?ts.parseRawHeaders(r):ts.parseHeaders(r);c=this.runInAsyncScope(s,null,{statusCode:e,headers:l,opaque:i,body:this.res,context:a})}catch(l){throw this.res.on("error",ts.nop),l}if(!c||typeof c.on!="function")throw new Mfe("expected Readable");c.on("data",l=>{let{ret:u,body:A}=this;!u.push(l)&&A.pause&&A.pause()}).on("error",l=>{let{ret:u}=this;ts.destroy(u,l)}).on("end",()=>{let{ret:l}=this;l.push(null)}).on("close",()=>{let{ret:l}=this;l._readableState.ended||ts.destroy(l,new m1)}),this.body=c}onData(e){let{res:r}=this;return r.push(e)}onComplete(e){let{res:r}=this;r.push(null)}onError(e){let{ret:r}=this;this.handler=null,ts.destroy(r,e)}};function Hfe(t,e){try{let r=new b1(t,e);return this.dispatch({...t,body:r.req},r),r.ret}catch(r){return new Ofe().destroy(r)}}o(Hfe,"pipeline");p8.exports=Hfe});var x8=x((get,C8)=>{"use strict";var{InvalidArgumentError:C1,SocketError:qfe}=ft(),{AsyncResource:zfe}=require("node:async_hooks"),m8=Xe(),{addSignal:Gfe,removeSignal:y8}=Gh(),E8=require("node:assert"),x1=class extends zfe{static{o(this,"UpgradeHandler")}constructor(e,r){if(!e||typeof e!="object")throw new C1("invalid opts");if(typeof r!="function")throw new C1("invalid callback");let{signal:n,opaque:i,responseHeaders:s}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new C1("signal must be an EventEmitter or EventTarget");super("UNDICI_UPGRADE"),this.responseHeaders=s||null,this.opaque=i||null,this.callback=r,this.abort=null,this.context=null,Gfe(this,n)}onConnect(e,r){if(this.reason){e(this.reason);return}E8(this.callback),this.abort=e,this.context=null}onHeaders(){throw new qfe("bad upgrade",null)}onUpgrade(e,r,n){E8(e===101);let{callback:i,opaque:s,context:a}=this;y8(this),this.callback=null;let c=this.responseHeaders==="raw"?m8.parseRawHeaders(r):m8.parseHeaders(r);this.runInAsyncScope(i,null,null,{headers:c,socket:n,opaque:s,context:a})}onError(e){let{callback:r,opaque:n}=this;y8(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:n})}))}};function b8(t,e){if(e===void 0)return new Promise((r,n)=>{b8.call(this,t,(i,s)=>i?n(i):r(s))});try{let r=new x1(t,e);this.dispatch({...t,method:t.method||"GET",upgrade:t.protocol||"Websocket"},r)}catch(r){if(typeof e!="function")throw r;let n=t?.opaque;queueMicrotask(()=>e(r,{opaque:n}))}}o(b8,"upgrade");C8.exports=b8});var S8=x((yet,Q8)=>{"use strict";var jfe=require("node:assert"),{AsyncResource:Yfe}=require("node:async_hooks"),{InvalidArgumentError:I1,SocketError:Kfe}=ft(),I8=Xe(),{addSignal:Jfe,removeSignal:B8}=Gh(),B1=class extends Yfe{static{o(this,"ConnectHandler")}constructor(e,r){if(!e||typeof e!="object")throw new I1("invalid opts");if(typeof r!="function")throw new I1("invalid callback");let{signal:n,opaque:i,responseHeaders:s}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new I1("signal must be an EventEmitter or EventTarget");super("UNDICI_CONNECT"),this.opaque=i||null,this.responseHeaders=s||null,this.callback=r,this.abort=null,Jfe(this,n)}onConnect(e,r){if(this.reason){e(this.reason);return}jfe(this.callback),this.abort=e,this.context=r}onHeaders(){throw new Kfe("bad connect",null)}onUpgrade(e,r,n){let{callback:i,opaque:s,context:a}=this;B8(this),this.callback=null;let c=r;c!=null&&(c=this.responseHeaders==="raw"?I8.parseRawHeaders(r):I8.parseHeaders(r)),this.runInAsyncScope(i,null,null,{statusCode:e,headers:c,socket:n,opaque:s,context:a})}onError(e){let{callback:r,opaque:n}=this;B8(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:n})}))}};function w8(t,e){if(e===void 0)return new Promise((r,n)=>{w8.call(this,t,(i,s)=>i?n(i):r(s))});try{let r=new B1(t,e);this.dispatch({...t,method:"CONNECT"},r)}catch(r){if(typeof e!="function")throw r;let n=t?.opaque;queueMicrotask(()=>e(r,{opaque:n}))}}o(w8,"connect");Q8.exports=w8});var N8=x((bet,LA)=>{"use strict";LA.exports.request=s8();LA.exports.stream=d8();LA.exports.pipeline=g8();LA.exports.upgrade=x8();LA.exports.connect=S8()});var Q1=x((Cet,R8)=>{"use strict";var{UndiciError:Vfe}=ft(),v8=Symbol.for("undici.error.UND_MOCK_ERR_MOCK_NOT_MATCHED"),w1=class t extends Vfe{static{o(this,"MockNotMatchedError")}constructor(e){super(e),Error.captureStackTrace(this,t),this.name="MockNotMatchedError",this.message=e||"The request does not match any registered mock dispatches",this.code="UND_MOCK_ERR_MOCK_NOT_MATCHED"}static[Symbol.hasInstance](e){return e&&e[v8]===!0}[v8]=!0};R8.exports={MockNotMatchedError:w1}});var UA=x((Iet,P8)=>{"use strict";P8.exports={kAgent:Symbol("agent"),kOptions:Symbol("options"),kFactory:Symbol("factory"),kDispatches:Symbol("dispatches"),kDispatchKey:Symbol("dispatch key"),kDefaultHeaders:Symbol("default headers"),kDefaultTrailers:Symbol("default trailers"),kContentLength:Symbol("content length"),kMockAgent:Symbol("mock agent"),kMockAgentSet:Symbol("mock agent set"),kMockAgentGet:Symbol("mock agent get"),kMockDispatch:Symbol("mock dispatch"),kClose:Symbol("close"),kOriginalClose:Symbol("original agent close"),kOrigin:Symbol("origin"),kIsMockActive:Symbol("is mock active"),kNetConnect:Symbol("net connect"),kGetNetConnect:Symbol("get net connect"),kConnected:Symbol("connected")}});var Yh=x((Bet,q8)=>{"use strict";var{MockNotMatchedError:Fl}=Q1(),{kDispatches:N0,kMockAgent:Wfe,kOriginalDispatch:$fe,kOrigin:Xfe,kGetNetConnect:Zfe}=UA(),{buildURL:ehe}=Xe(),{STATUS_CODES:the}=require("node:http"),{types:{isPromise:rhe}}=require("node:util");function ha(t,e){return typeof t=="string"?t===e:t instanceof RegExp?t.test(e):typeof t=="function"?t(e)===!0:!1}o(ha,"matchValue");function D8(t){return Object.fromEntries(Object.entries(t).map(([e,r])=>[e.toLocaleLowerCase(),r]))}o(D8,"lowerCaseEntries");function k8(t,e){if(Array.isArray(t)){for(let r=0;r"u")return!0;if(typeof e!="object"||typeof t.headers!="object")return!1;for(let[r,n]of Object.entries(t.headers)){let i=k8(e,r);if(!ha(n,i))return!1}return!0}o(T8,"matchHeaders");function _8(t){if(typeof t!="string")return t;let e=t.split("?");if(e.length!==2)return t;let r=new URLSearchParams(e.pop());return r.sort(),[...e,r.toString()].join("?")}o(_8,"safeUrl");function nhe(t,{path:e,method:r,body:n,headers:i}){let s=ha(t.path,e),a=ha(t.method,r),c=typeof t.body<"u"?ha(t.body,n):!0,l=T8(t,i);return s&&a&&c&&l}o(nhe,"matchKey");function O8(t){return Buffer.isBuffer(t)||t instanceof Uint8Array||t instanceof ArrayBuffer?t:typeof t=="object"?JSON.stringify(t):t.toString()}o(O8,"getResponseData");function M8(t,e){let r=e.query?ehe(e.path,e.query):e.path,n=typeof r=="string"?_8(r):r,i=t.filter(({consumed:s})=>!s).filter(({path:s})=>ha(_8(s),n));if(i.length===0)throw new Fl(`Mock dispatch not matched for path '${n}'`);if(i=i.filter(({method:s})=>ha(s,e.method)),i.length===0)throw new Fl(`Mock dispatch not matched for method '${e.method}' on path '${n}'`);if(i=i.filter(({body:s})=>typeof s<"u"?ha(s,e.body):!0),i.length===0)throw new Fl(`Mock dispatch not matched for body '${e.body}' on path '${n}'`);if(i=i.filter(s=>T8(s,e.headers)),i.length===0){let s=typeof e.headers=="object"?JSON.stringify(e.headers):e.headers;throw new Fl(`Mock dispatch not matched for headers '${s}' on path '${n}'`)}return i[0]}o(M8,"getMockDispatch");function ihe(t,e,r){let n={timesInvoked:0,times:1,persist:!1,consumed:!1},i=typeof r=="function"?{callback:r}:{...r},s={...n,...e,pending:!0,data:{error:null,...i}};return t.push(s),s}o(ihe,"addMockDispatch");function S1(t,e){let r=t.findIndex(n=>n.consumed?nhe(n,e):!1);r!==-1&&t.splice(r,1)}o(S1,"deleteMockDispatch");function L8(t){let{path:e,method:r,body:n,headers:i,query:s}=t;return{path:e,method:r,body:n,headers:i,query:s}}o(L8,"buildKey");function N1(t){let e=Object.keys(t),r=[];for(let n=0;n=f,n.pending=d0?setTimeout(()=>{h(this[N0])},u):h(this[N0]);function h(m,b=s){let y=Array.isArray(t.headers)?v1(t.headers):t.headers,I=typeof b=="function"?b({...t,headers:y}):b;if(rhe(I)){I.then(H=>h(m,H));return}let w=O8(I),v=N1(a),U=N1(c);e.onConnect?.(H=>e.onError(H),null),e.onHeaders?.(i,v,g,U8(i)),e.onData?.(Buffer.from(w)),e.onComplete?.(U),S1(m,r)}o(h,"handleReply");function g(){}return o(g,"resume"),!0}o(F8,"mockDispatch");function ohe(){let t=this[Wfe],e=this[Xfe],r=this[$fe];return o(function(i,s){if(t.isMockActive)try{F8.call(this,i,s)}catch(a){if(a instanceof Fl){let c=t[Zfe]();if(c===!1)throw new Fl(`${a.message}: subsequent request to origin ${e} was not allowed (net.connect disabled)`);if(H8(c,e))r.call(this,i,s);else throw new Fl(`${a.message}: subsequent request to origin ${e} was not allowed (net.connect is not enabled for this origin)`)}else throw a}else r.call(this,i,s)},"dispatch")}o(ohe,"buildMockDispatch");function H8(t,e){let r=new URL(e);return t===!0?!0:!!(Array.isArray(t)&&t.some(n=>ha(n,r.host)))}o(H8,"checkNetConnect");function ahe(t){if(t){let{agent:e,...r}=t;return r}}o(ahe,"buildMockOptions");q8.exports={getResponseData:O8,getMockDispatch:M8,addMockDispatch:ihe,deleteMockDispatch:S1,buildKey:L8,generateKeyValues:N1,matchValue:ha,getResponse:she,getStatusText:U8,mockDispatch:F8,buildMockDispatch:ohe,checkNetConnect:H8,buildMockOptions:ahe,getHeaderByName:k8,buildHeadersFromArray:v1}});var O1=x((Qet,T1)=>{"use strict";var{getResponseData:che,buildKey:lhe,addMockDispatch:R1}=Yh(),{kDispatches:v0,kDispatchKey:R0,kDefaultHeaders:P1,kDefaultTrailers:_1,kContentLength:D1,kMockDispatch:P0}=UA(),{InvalidArgumentError:yo}=ft(),{buildURL:uhe}=Xe(),FA=class{static{o(this,"MockScope")}constructor(e){this[P0]=e}delay(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new yo("waitInMs must be a valid integer > 0");return this[P0].delay=e,this}persist(){return this[P0].persist=!0,this}times(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new yo("repeatTimes must be a valid integer > 0");return this[P0].times=e,this}},k1=class{static{o(this,"MockInterceptor")}constructor(e,r){if(typeof e!="object")throw new yo("opts must be an object");if(typeof e.path>"u")throw new yo("opts.path must be defined");if(typeof e.method>"u"&&(e.method="GET"),typeof e.path=="string")if(e.query)e.path=uhe(e.path,e.query);else{let n=new URL(e.path,"data://");e.path=n.pathname+n.search}typeof e.method=="string"&&(e.method=e.method.toUpperCase()),this[R0]=lhe(e),this[v0]=r,this[P1]={},this[_1]={},this[D1]=!1}createMockScopeDispatchData({statusCode:e,data:r,responseOptions:n}){let i=che(r),s=this[D1]?{"content-length":i.length}:{},a={...this[P1],...s,...n.headers},c={...this[_1],...n.trailers};return{statusCode:e,data:r,headers:a,trailers:c}}validateReplyParameters(e){if(typeof e.statusCode>"u")throw new yo("statusCode must be defined");if(typeof e.responseOptions!="object"||e.responseOptions===null)throw new yo("responseOptions must be an object")}reply(e){if(typeof e=="function"){let s=o(c=>{let l=e(c);if(typeof l!="object"||l===null)throw new yo("reply options callback must return an object");let u={data:"",responseOptions:{},...l};return this.validateReplyParameters(u),{...this.createMockScopeDispatchData(u)}},"wrappedDefaultsCallback"),a=R1(this[v0],this[R0],s);return new FA(a)}let r={statusCode:e,data:arguments[1]===void 0?"":arguments[1],responseOptions:arguments[2]===void 0?{}:arguments[2]};this.validateReplyParameters(r);let n=this.createMockScopeDispatchData(r),i=R1(this[v0],this[R0],n);return new FA(i)}replyWithError(e){if(typeof e>"u")throw new yo("error must be defined");let r=R1(this[v0],this[R0],{error:e});return new FA(r)}defaultReplyHeaders(e){if(typeof e>"u")throw new yo("headers must be defined");return this[P1]=e,this}defaultReplyTrailers(e){if(typeof e>"u")throw new yo("trailers must be defined");return this[_1]=e,this}replyContentLength(){return this[D1]=!0,this}};T1.exports.MockInterceptor=k1;T1.exports.MockScope=FA});var U1=x((vet,V8)=>{"use strict";var{promisify:Ahe}=require("node:util"),dhe=vA(),{buildMockDispatch:fhe}=Yh(),{kDispatches:z8,kMockAgent:G8,kClose:j8,kOriginalClose:Y8,kOrigin:K8,kOriginalDispatch:hhe,kConnected:M1}=UA(),{MockInterceptor:phe}=O1(),J8=Kt(),{InvalidArgumentError:ghe}=ft(),L1=class extends dhe{static{o(this,"MockClient")}constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new ghe("Argument opts.agent must implement Agent");this[G8]=r.agent,this[K8]=e,this[z8]=[],this[M1]=1,this[hhe]=this.dispatch,this[Y8]=this.close.bind(this),this.dispatch=fhe.call(this),this.close=this[j8]}get[J8.kConnected](){return this[M1]}intercept(e){return new phe(e,this[z8])}async[j8](){await Ahe(this[Y8])(),this[M1]=0,this[G8][J8.kClients].delete(this[K8])}};V8.exports=L1});var q1=x((Pet,r4)=>{"use strict";var{promisify:mhe}=require("node:util"),yhe=RA(),{buildMockDispatch:Ehe}=Yh(),{kDispatches:W8,kMockAgent:$8,kClose:X8,kOriginalClose:Z8,kOrigin:e4,kOriginalDispatch:bhe,kConnected:F1}=UA(),{MockInterceptor:Che}=O1(),t4=Kt(),{InvalidArgumentError:xhe}=ft(),H1=class extends yhe{static{o(this,"MockPool")}constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new xhe("Argument opts.agent must implement Agent");this[$8]=r.agent,this[e4]=e,this[W8]=[],this[F1]=1,this[bhe]=this.dispatch,this[Z8]=this.close.bind(this),this.dispatch=Ehe.call(this),this.close=this[X8]}get[t4.kConnected](){return this[F1]}intercept(e){return new Che(e,this[W8])}async[X8](){await mhe(this[Z8])(),this[F1]=0,this[$8][t4.kClients].delete(this[e4])}};r4.exports=H1});var i4=x((ket,n4)=>{"use strict";var Ihe={pronoun:"it",is:"is",was:"was",this:"this"},Bhe={pronoun:"they",is:"are",was:"were",this:"these"};n4.exports=class{static{o(this,"Pluralizer")}constructor(e,r){this.singular=e,this.plural=r}pluralize(e){let r=e===1,n=r?Ihe:Bhe,i=r?this.singular:this.plural;return{...n,count:e,noun:i}}}});var o4=x((Met,s4)=>{"use strict";var{Transform:whe}=require("node:stream"),{Console:Qhe}=require("node:console"),She=process.versions.icu?"\u2705":"Y ",Nhe=process.versions.icu?"\u274C":"N ";s4.exports=class{static{o(this,"PendingInterceptorsFormatter")}constructor({disableColors:e}={}){this.transform=new whe({transform(r,n,i){i(null,r)}}),this.logger=new Qhe({stdout:this.transform,inspectOptions:{colors:!e&&!process.env.CI}})}format(e){let r=e.map(({method:n,path:i,data:{statusCode:s},persist:a,times:c,timesInvoked:l,origin:u})=>({Method:n,Origin:u,Path:i,"Status code":s,Persistent:a?She:Nhe,Invocations:l,Remaining:a?1/0:c-l}));return this.logger.table(r),this.transform.read().toString()}}});var u4=x((Uet,l4)=>{"use strict";var{kClients:Hl}=Kt(),vhe=PA(),{kAgent:z1,kMockAgentSet:_0,kMockAgentGet:a4,kDispatches:G1,kIsMockActive:D0,kNetConnect:ql,kGetNetConnect:Rhe,kOptions:k0,kFactory:T0}=UA(),Phe=U1(),_he=q1(),{matchValue:Dhe,buildMockOptions:khe}=Yh(),{InvalidArgumentError:c4,UndiciError:The}=ft(),Ohe=ph(),Mhe=i4(),Lhe=o4(),j1=class extends Ohe{static{o(this,"MockAgent")}constructor(e){if(super(e),this[ql]=!0,this[D0]=!0,e?.agent&&typeof e.agent.dispatch!="function")throw new c4("Argument opts.agent must implement Agent");let r=e?.agent?e.agent:new vhe(e);this[z1]=r,this[Hl]=r[Hl],this[k0]=khe(e)}get(e){let r=this[a4](e);return r||(r=this[T0](e),this[_0](e,r)),r}dispatch(e,r){return this.get(e.origin),this[z1].dispatch(e,r)}async close(){await this[z1].close(),this[Hl].clear()}deactivate(){this[D0]=!1}activate(){this[D0]=!0}enableNetConnect(e){if(typeof e=="string"||typeof e=="function"||e instanceof RegExp)Array.isArray(this[ql])?this[ql].push(e):this[ql]=[e];else if(typeof e>"u")this[ql]=!0;else throw new c4("Unsupported matcher. Must be one of String|Function|RegExp.")}disableNetConnect(){this[ql]=!1}get isMockActive(){return this[D0]}[_0](e,r){this[Hl].set(e,r)}[T0](e){let r=Object.assign({agent:this},this[k0]);return this[k0]&&this[k0].connections===1?new Phe(e,r):new _he(e,r)}[a4](e){let r=this[Hl].get(e);if(r)return r;if(typeof e!="string"){let n=this[T0]("http://localhost:9999");return this[_0](e,n),n}for(let[n,i]of Array.from(this[Hl]))if(i&&typeof n!="string"&&Dhe(n,e)){let s=this[T0](e);return this[_0](e,s),s[G1]=i[G1],s}}[Rhe](){return this[ql]}pendingInterceptors(){let e=this[Hl];return Array.from(e.entries()).flatMap(([r,n])=>n[G1].map(i=>({...i,origin:r}))).filter(({pending:r})=>r)}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new Lhe}={}){let r=this.pendingInterceptors();if(r.length===0)return;let n=new Mhe("interceptor","interceptors").pluralize(r.length);throw new The(` ${n.count} ${n.noun} ${n.is} pending: ${e.format(r)} -`.trim())}};SM.exports=hI});var Hp=g((eje,DM)=>{"use strict";var _M=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:One}=Pe(),Mne=Xa();PM()===void 0&&vM(new Mne);function vM(t){if(!t||typeof t.dispatch!="function")throw new One("Argument agent must implement Agent");Object.defineProperty(globalThis,_M,{value:t,writable:!0,enumerable:!1,configurable:!1})}o(vM,"setGlobalDispatcher");function PM(){return globalThis[_M]}o(PM,"getGlobalDispatcher");DM.exports={setGlobalDispatcher:vM,getGlobalDispatcher:PM}});var zp=g((nje,TM)=>{"use strict";TM.exports=class{static{o(this,"DecoratorHandler")}#e;constructor(e){if(typeof e!="object"||e===null)throw new TypeError("handler must be an object");this.#e=e}onConnect(...e){return this.#e.onConnect?.(...e)}onError(...e){return this.#e.onError?.(...e)}onUpgrade(...e){return this.#e.onUpgrade?.(...e)}onResponseStarted(...e){return this.#e.onResponseStarted?.(...e)}onHeaders(...e){return this.#e.onHeaders?.(...e)}onData(...e){return this.#e.onData?.(...e)}onComplete(...e){return this.#e.onComplete?.(...e)}onBodySent(...e){return this.#e.onBodySent?.(...e)}}});var MM=g((sje,OM)=>{"use strict";var kne=Bp();OM.exports=t=>{let e=t?.maxRedirections;return r=>o(function(i,s){let{maxRedirections:a=e,...c}=i;if(!a)return r(i,s);let l=new kne(r,a,i,s);return r(c,l)},"redirectInterceptor")}});var LM=g((aje,kM)=>{"use strict";var Lne=Pp();kM.exports=t=>e=>o(function(n,i){return e(n,new Lne({...n,retryOptions:{...t,...n.retryOptions}},{handler:i,dispatch:e}))},"retryInterceptor")});var FM=g((lje,UM)=>{"use strict";var Une=Ee(),{InvalidArgumentError:Fne,RequestAbortedError:qne}=Pe(),Hne=zp(),fI=class extends Hne{static{o(this,"DumpHandler")}#e=1024*1024;#t=null;#i=!1;#n=!1;#r=0;#s=null;#o=null;constructor({maxSize:e},r){if(super(r),e!=null&&(!Number.isFinite(e)||e<1))throw new Fne("maxSize must be a number greater than 0");this.#e=e??this.#e,this.#o=r}onConnect(e){this.#t=e,this.#o.onConnect(this.#a.bind(this))}#a(e){this.#n=!0,this.#s=e}onHeaders(e,r,n,i){let a=Une.parseHeaders(r)["content-length"];if(a!=null&&a>this.#e)throw new qne(`Response size (${a}) larger than maxSize (${this.#e})`);return this.#n?!0:this.#o.onHeaders(e,r,n,i)}onError(e){this.#i||(e=this.#s??e,this.#o.onError(e))}onData(e){return this.#r=this.#r+e.length,this.#r>=this.#e&&(this.#i=!0,this.#n?this.#o.onError(this.#s):this.#o.onComplete([])),!0}onComplete(e){if(!this.#i){if(this.#n){this.#o.onError(this.reason);return}this.#o.onComplete(e)}}};function zne({maxSize:t}={maxSize:1024*1024}){return e=>o(function(n,i){let{dumpMaxSize:s=t}=n,a=new fI({maxSize:s},i);return e(n,a)},"Intercept")}o(zne,"createDumpInterceptor");UM.exports=zne});var zM=g((uje,HM)=>{"use strict";var{isIP:jne}=require("node:net"),{lookup:Gne}=require("node:dns"),Yne=zp(),{InvalidArgumentError:cc,InformationalError:Jne}=Pe(),qM=Math.pow(2,31)-1,mI=class{static{o(this,"DNSInstance")}#e=0;#t=0;#i=new Map;dualStack=!0;affinity=null;lookup=null;pick=null;constructor(e){this.#e=e.maxTTL,this.#t=e.maxItems,this.dualStack=e.dualStack,this.affinity=e.affinity,this.lookup=e.lookup??this.#n,this.pick=e.pick??this.#r}get full(){return this.#i.size===this.#t}runLookup(e,r,n){let i=this.#i.get(e.hostname);if(i==null&&this.full){n(null,e.origin);return}let s={affinity:this.affinity,dualStack:this.dualStack,lookup:this.lookup,pick:this.pick,...r.dns,maxTTL:this.#e,maxItems:this.#t};if(i==null)this.lookup(e,s,(a,c)=>{if(a||c==null||c.length===0){n(a??new Jne("No DNS entries found"));return}this.setRecords(e,c);let l=this.#i.get(e.hostname),A=this.pick(e,l,s.affinity),u;typeof A.port=="number"?u=`:${A.port}`:e.port!==""?u=`:${e.port}`:u="",n(null,`${e.protocol}//${A.family===6?`[${A.address}]`:A.address}${u}`)});else{let a=this.pick(e,i,s.affinity);if(a==null){this.#i.delete(e.hostname),this.runLookup(e,r,n);return}let c;typeof a.port=="number"?c=`:${a.port}`:e.port!==""?c=`:${e.port}`:c="",n(null,`${e.protocol}//${a.family===6?`[${a.address}]`:a.address}${c}`)}}#n(e,r,n){Gne(e.hostname,{all:!0,family:this.dualStack===!1?this.affinity:0,order:"ipv4first"},(i,s)=>{if(i)return n(i);let a=new Map;for(let c of s)a.set(`${c.address}:${c.family}`,c);n(null,a.values())})}#r(e,r,n){let i=null,{records:s,offset:a}=r,c;if(this.dualStack?(n==null&&(a==null||a===qM?(r.offset=0,n=4):(r.offset++,n=(r.offset&1)===1?6:4)),s[n]!=null&&s[n].ips.length>0?c=s[n]:c=s[n===4?6:4]):c=s[n],c==null||c.ips.length===0)return i;c.offset==null||c.offset===qM?c.offset=0:c.offset++;let l=c.offset%c.ips.length;return i=c.ips[l]??null,i==null?i:Date.now()-i.timestamp>i.ttl?(c.ips.splice(l,1),this.pick(e,r,n)):i}setRecords(e,r){let n=Date.now(),i={records:{4:null,6:null}};for(let s of r){s.timestamp=n,typeof s.ttl=="number"?s.ttl=Math.min(s.ttl,this.#e):s.ttl=this.#e;let a=i.records[s.family]??{ips:[]};a.ips.push(s),i.records[s.family]=a}this.#i.set(e.hostname,i)}getHandler(e,r){return new gI(this,e,r)}},gI=class extends Yne{static{o(this,"DNSDispatchHandler")}#e=null;#t=null;#i=null;#n=null;#r=null;constructor(e,{origin:r,handler:n,dispatch:i},s){super(n),this.#r=r,this.#n=n,this.#t={...s},this.#e=e,this.#i=i}onError(e){switch(e.code){case"ETIMEDOUT":case"ECONNREFUSED":{if(this.#e.dualStack){this.#e.runLookup(this.#r,this.#t,(r,n)=>{if(r)return this.#n.onError(r);let i={...this.#t,origin:n};this.#i(i,this)});return}this.#n.onError(e);return}case"ENOTFOUND":this.#e.deleteRecord(this.#r);default:this.#n.onError(e);break}}};HM.exports=t=>{if(t?.maxTTL!=null&&(typeof t?.maxTTL!="number"||t?.maxTTL<0))throw new cc("Invalid maxTTL. Must be a positive number");if(t?.maxItems!=null&&(typeof t?.maxItems!="number"||t?.maxItems<1))throw new cc("Invalid maxItems. Must be a positive number and greater than zero");if(t?.affinity!=null&&t?.affinity!==4&&t?.affinity!==6)throw new cc("Invalid affinity. Must be either 4 or 6");if(t?.dualStack!=null&&typeof t?.dualStack!="boolean")throw new cc("Invalid dualStack. Must be a boolean");if(t?.lookup!=null&&typeof t?.lookup!="function")throw new cc("Invalid lookup. Must be a function");if(t?.pick!=null&&typeof t?.pick!="function")throw new cc("Invalid pick. Must be a function");let e=t?.dualStack??!0,r;e?r=t?.affinity??null:r=t?.affinity??4;let n={maxTTL:t?.maxTTL??1e4,lookup:t?.lookup??null,pick:t?.pick??null,dualStack:e,affinity:r,maxItems:t?.maxItems??1/0},i=new mI(n);return s=>o(function(c,l){let A=c.origin.constructor===URL?c.origin:new URL(c.origin);return jne(A.hostname)!==0?s(c,l):(i.runLookup(A,c,(u,d)=>{if(u)return l.onError(u);let f=null;f={...c,servername:A.hostname,origin:d,headers:{host:A.hostname,...c.headers}},s(f,i.getHandler({origin:A,dispatch:s,handler:l},c))}),!0)},"dnsInterceptor")}});var Mo=g((pje,$M)=>{"use strict";var{kConstruct:Vne}=nt(),{kEnumerableProperty:lc}=Ee(),{iteratorMixin:Wne,isValidHeaderName:qA,isValidHeaderValue:GM}=Ur(),{webidl:Se}=$t(),yI=require("node:assert"),jp=require("node:util"),Rt=Symbol("headers map"),Hr=Symbol("headers map sorted");function jM(t){return t===10||t===13||t===9||t===32}o(jM,"isHTTPWhiteSpaceCharCode");function YM(t){let e=0,r=t.length;for(;r>e&&jM(t.charCodeAt(r-1));)--r;for(;r>e&&jM(t.charCodeAt(e));)++e;return e===0&&r===t.length?t:t.substring(e,r)}o(YM,"headerValueNormalize");function JM(t,e){if(Array.isArray(e))for(let r=0;r>","record"]})}o(JM,"fill");function CI(t,e,r){if(r=YM(r),qA(e)){if(!GM(r))throw Se.errors.invalidArgument({prefix:"Headers.append",value:r,type:"header value"})}else throw Se.errors.invalidArgument({prefix:"Headers.append",value:e,type:"header name"});if(WM(t)==="immutable")throw new TypeError("immutable");return EI(t).append(e,r,!1)}o(CI,"appendHeader");function VM(t,e){return t[0]>1),r[A][0]<=u[0]?l=A+1:c=A;if(s!==A){for(a=s;a>l;)r[a]=r[--a];r[l]=u}}if(!n.next().done)throw new TypeError("Unreachable");return r}else{let n=0;for(let{0:i,1:{value:s}}of this[Rt])r[n++]=[i,s],yI(s!==null);return r.sort(VM)}}},Wn=class t{static{o(this,"Headers")}#e;#t;constructor(e=void 0){Se.util.markAsUncloneable(this),e!==Vne&&(this.#t=new Gp,this.#e="none",e!==void 0&&(e=Se.converters.HeadersInit(e,"Headers contructor","init"),JM(this,e)))}append(e,r){Se.brandCheck(this,t),Se.argumentLengthCheck(arguments,2,"Headers.append");let n="Headers.append";return e=Se.converters.ByteString(e,n,"name"),r=Se.converters.ByteString(r,n,"value"),CI(this,e,r)}delete(e){if(Se.brandCheck(this,t),Se.argumentLengthCheck(arguments,1,"Headers.delete"),e=Se.converters.ByteString(e,"Headers.delete","name"),!qA(e))throw Se.errors.invalidArgument({prefix:"Headers.delete",value:e,type:"header name"});if(this.#e==="immutable")throw new TypeError("immutable");this.#t.contains(e,!1)&&this.#t.delete(e,!1)}get(e){Se.brandCheck(this,t),Se.argumentLengthCheck(arguments,1,"Headers.get");let r="Headers.get";if(e=Se.converters.ByteString(e,r,"name"),!qA(e))throw Se.errors.invalidArgument({prefix:r,value:e,type:"header name"});return this.#t.get(e,!1)}has(e){Se.brandCheck(this,t),Se.argumentLengthCheck(arguments,1,"Headers.has");let r="Headers.has";if(e=Se.converters.ByteString(e,r,"name"),!qA(e))throw Se.errors.invalidArgument({prefix:r,value:e,type:"header name"});return this.#t.contains(e,!1)}set(e,r){Se.brandCheck(this,t),Se.argumentLengthCheck(arguments,2,"Headers.set");let n="Headers.set";if(e=Se.converters.ByteString(e,n,"name"),r=Se.converters.ByteString(r,n,"value"),r=YM(r),qA(e)){if(!GM(r))throw Se.errors.invalidArgument({prefix:n,value:r,type:"header value"})}else throw Se.errors.invalidArgument({prefix:n,value:e,type:"header name"});if(this.#e==="immutable")throw new TypeError("immutable");this.#t.set(e,r,!1)}getSetCookie(){Se.brandCheck(this,t);let e=this.#t.cookies;return e?[...e]:[]}get[Hr](){if(this.#t[Hr])return this.#t[Hr];let e=[],r=this.#t.toSortedArray(),n=this.#t.cookies;if(n===null||n.length===1)return this.#t[Hr]=r;for(let i=0;i>"](t,e,r,n.bind(t)):Se.converters["record"](t,e,r)}throw Se.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence>","record"]})};$M.exports={fill:JM,compareHeaderName:VM,Headers:Wn,HeadersList:Gp,getHeadersGuard:WM,setHeadersGuard:$ne,setHeadersList:Kne,getHeadersList:EI}});var zA=g((fje,ck)=>{"use strict";var{Headers:rk,HeadersList:KM,fill:Xne,getHeadersGuard:Zne,setHeadersGuard:nk,setHeadersList:ik}=Mo(),{extractBody:XM,cloneBody:eie,mixinBody:tie,hasFinalizationRegistry:sk,streamRegistry:ok,bodyUnusable:rie}=za(),BI=Ee(),ZM=require("node:util"),{kEnumerableProperty:zr}=BI,{isValidReasonPhrase:nie,isCancelled:iie,isAborted:sie,isBlobLike:oie,serializeJavascriptValueToJSONString:aie,isErrorLike:cie,isomorphicEncode:lie,environmentSettingsObject:Aie}=Ur(),{redirectStatusSet:uie,nullBodyStatus:die}=dA(),{kState:it,kHeaders:is}=bs(),{webidl:me}=$t(),{FormData:pie}=yA(),{URLSerializer:ek}=Br(),{kConstruct:Jp}=nt(),II=require("node:assert"),{types:hie}=require("node:util"),fie=new TextEncoder("utf-8"),ko=class t{static{o(this,"Response")}static error(){return HA(Vp(),"immutable")}static json(e,r={}){me.argumentLengthCheck(arguments,1,"Response.json"),r!==null&&(r=me.converters.ResponseInit(r));let n=fie.encode(aie(e)),i=XM(n),s=HA(Ac({}),"response");return tk(s,r,{body:i[0],type:"application/json"}),s}static redirect(e,r=302){me.argumentLengthCheck(arguments,1,"Response.redirect"),e=me.converters.USVString(e),r=me.converters["unsigned short"](r);let n;try{n=new URL(e,Aie.settingsObject.baseUrl)}catch(a){throw new TypeError(`Failed to parse URL from ${e}`,{cause:a})}if(!uie.has(r))throw new RangeError(`Invalid status code ${r}`);let i=HA(Ac({}),"immutable");i[it].status=r;let s=lie(ek(n));return i[it].headersList.append("location",s,!0),i}constructor(e=null,r={}){if(me.util.markAsUncloneable(this),e===Jp)return;e!==null&&(e=me.converters.BodyInit(e)),r=me.converters.ResponseInit(r),this[it]=Ac({}),this[is]=new rk(Jp),nk(this[is],"response"),ik(this[is],this[it].headersList);let n=null;if(e!=null){let[i,s]=XM(e);n={body:i,type:s}}tk(this,r,n)}get type(){return me.brandCheck(this,t),this[it].type}get url(){me.brandCheck(this,t);let e=this[it].urlList,r=e[e.length-1]??null;return r===null?"":ek(r,!0)}get redirected(){return me.brandCheck(this,t),this[it].urlList.length>1}get status(){return me.brandCheck(this,t),this[it].status}get ok(){return me.brandCheck(this,t),this[it].status>=200&&this[it].status<=299}get statusText(){return me.brandCheck(this,t),this[it].statusText}get headers(){return me.brandCheck(this,t),this[is]}get body(){return me.brandCheck(this,t),this[it].body?this[it].body.stream:null}get bodyUsed(){return me.brandCheck(this,t),!!this[it].body&&BI.isDisturbed(this[it].body.stream)}clone(){if(me.brandCheck(this,t),rie(this))throw me.errors.exception({header:"Response.clone",message:"Body has already been consumed."});let e=bI(this[it]);return sk&&this[it].body?.stream&&ok.register(this,new WeakRef(this[it].body.stream)),HA(e,Zne(this[is]))}[ZM.inspect.custom](e,r){r.depth===null&&(r.depth=2),r.colors??=!0;let n={status:this.status,statusText:this.statusText,headers:this.headers,body:this.body,bodyUsed:this.bodyUsed,ok:this.ok,redirected:this.redirected,type:this.type,url:this.url};return`Response ${ZM.formatWithOptions(r,n)}`}};tie(ko);Object.defineProperties(ko.prototype,{type:zr,url:zr,status:zr,ok:zr,redirected:zr,statusText:zr,headers:zr,clone:zr,body:zr,bodyUsed:zr,[Symbol.toStringTag]:{value:"Response",configurable:!0}});Object.defineProperties(ko,{json:zr,redirect:zr,error:zr});function bI(t){if(t.internalResponse)return ak(bI(t.internalResponse),t.type);let e=Ac({...t,body:null});return t.body!=null&&(e.body=eie(e,t.body)),e}o(bI,"cloneResponse");function Ac(t){return{aborted:!1,rangeRequested:!1,timingAllowPassed:!1,requestIncludesCredentials:!1,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...t,headersList:t?.headersList?new KM(t?.headersList):new KM,urlList:t?.urlList?[...t.urlList]:[]}}o(Ac,"makeResponse");function Vp(t){let e=cie(t);return Ac({type:"error",status:0,error:e?t:new Error(t&&String(t)),aborted:t&&t.name==="AbortError"})}o(Vp,"makeNetworkError");function mie(t){return t.type==="error"&&t.status===0}o(mie,"isNetworkError");function Yp(t,e){return e={internalResponse:t,...e},new Proxy(t,{get(r,n){return n in e?e[n]:r[n]},set(r,n,i){return II(!(n in e)),r[n]=i,!0}})}o(Yp,"makeFilteredResponse");function ak(t,e){if(e==="basic")return Yp(t,{type:"basic",headersList:t.headersList});if(e==="cors")return Yp(t,{type:"cors",headersList:t.headersList});if(e==="opaque")return Yp(t,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null});if(e==="opaqueredirect")return Yp(t,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null});II(!1)}o(ak,"filterResponse");function gie(t,e=null){return II(iie(t)),sie(t)?Vp(Object.assign(new DOMException("The operation was aborted.","AbortError"),{cause:e})):Vp(Object.assign(new DOMException("Request was cancelled."),{cause:e}))}o(gie,"makeAppropriateNetworkError");function tk(t,e,r){if(e.status!==null&&(e.status<200||e.status>599))throw new RangeError('init["status"] must be in the range of 200 to 599, inclusive.');if("statusText"in e&&e.statusText!=null&&!nie(String(e.statusText)))throw new TypeError("Invalid statusText");if("status"in e&&e.status!=null&&(t[it].status=e.status),"statusText"in e&&e.statusText!=null&&(t[it].statusText=e.statusText),"headers"in e&&e.headers!=null&&Xne(t[is],e.headers),r){if(die.includes(t.status))throw me.errors.exception({header:"Response constructor",message:`Invalid response status code ${t.status}`});t[it].body=r.body,r.type!=null&&!t[it].headersList.contains("content-type",!0)&&t[it].headersList.append("content-type",r.type,!0)}}o(tk,"initializeResponse");function HA(t,e){let r=new ko(Jp);return r[it]=t,r[is]=new rk(Jp),ik(r[is],t.headersList),nk(r[is],e),sk&&t.body?.stream&&ok.register(r,new WeakRef(t.body.stream)),r}o(HA,"fromInnerResponse");me.converters.ReadableStream=me.interfaceConverter(ReadableStream);me.converters.FormData=me.interfaceConverter(pie);me.converters.URLSearchParams=me.interfaceConverter(URLSearchParams);me.converters.XMLHttpRequestBodyInit=function(t,e,r){return typeof t=="string"?me.converters.USVString(t,e,r):oie(t)?me.converters.Blob(t,e,r,{strict:!1}):ArrayBuffer.isView(t)||hie.isArrayBuffer(t)?me.converters.BufferSource(t,e,r):BI.isFormDataLike(t)?me.converters.FormData(t,e,r,{strict:!1}):t instanceof URLSearchParams?me.converters.URLSearchParams(t,e,r):me.converters.DOMString(t,e,r)};me.converters.BodyInit=function(t,e,r){return t instanceof ReadableStream?me.converters.ReadableStream(t,e,r):t?.[Symbol.asyncIterator]?t:me.converters.XMLHttpRequestBodyInit(t,e,r)};me.converters.ResponseInit=me.dictionaryConverter([{key:"status",converter:me.converters["unsigned short"],defaultValue:()=>200},{key:"statusText",converter:me.converters.ByteString,defaultValue:()=>""},{key:"headers",converter:me.converters.HeadersInit}]);ck.exports={isNetworkError:mie,makeNetworkError:Vp,makeResponse:Ac,makeAppropriateNetworkError:gie,filterResponse:ak,Response:ko,cloneResponse:bI,fromInnerResponse:HA}});var dk=g((gje,uk)=>{"use strict";var{kConnected:lk,kSize:Ak}=nt(),QI=class{static{o(this,"CompatWeakRef")}constructor(e){this.value=e}deref(){return this.value[lk]===0&&this.value[Ak]===0?void 0:this.value}},wI=class{static{o(this,"CompatFinalizer")}constructor(e){this.finalizer=e}register(e,r){e.on&&e.on("disconnect",()=>{e[lk]===0&&e[Ak]===0&&this.finalizer(r)})}unregister(e){}};uk.exports=function(){return process.env.NODE_V8_COVERAGE&&process.version.startsWith("v18")?(process._rawDebug("Using compatibility WeakRef and FinalizationRegistry"),{WeakRef:QI,FinalizationRegistry:wI}):{WeakRef,FinalizationRegistry}}});var uc=g((Cje,xk)=>{"use strict";var{extractBody:yie,mixinBody:Cie,cloneBody:Eie,bodyUnusable:pk}=za(),{Headers:Ik,fill:Bie,HeadersList:Xp,setHeadersGuard:xI,getHeadersGuard:Iie,setHeadersList:bk,getHeadersList:hk}=Mo(),{FinalizationRegistry:bie}=dk()(),$p=Ee(),fk=require("node:util"),{isValidHTTPToken:Qie,sameOrigin:mk,environmentSettingsObject:Wp}=Ur(),{forbiddenMethodsSet:wie,corsSafeListedMethodsSet:Nie,referrerPolicy:xie,requestRedirect:Sie,requestMode:Rie,requestCredentials:_ie,requestCache:vie,requestDuplex:Pie}=dA(),{kEnumerableProperty:_t,normalizedMethodRecordsBase:Die,normalizedMethodRecords:Tie}=$p,{kHeaders:jr,kSignal:Kp,kState:Ze,kDispatcher:NI}=bs(),{webidl:ae}=$t(),{URLSerializer:Oie}=Br(),{kConstruct:Zp}=nt(),Mie=require("node:assert"),{getMaxListeners:gk,setMaxListeners:yk,getEventListeners:kie,defaultMaxListeners:Ck}=require("node:events"),Lie=Symbol("abortController"),Qk=new bie(({signal:t,abort:e})=>{t.removeEventListener("abort",e)}),eh=new WeakMap;function Ek(t){return e;function e(){let r=t.deref();if(r!==void 0){Qk.unregister(e),this.removeEventListener("abort",e),r.abort(this.reason);let n=eh.get(r.signal);if(n!==void 0){if(n.size!==0){for(let i of n){let s=i.deref();s!==void 0&&s.abort(this.reason)}n.clear()}eh.delete(r.signal)}}}}o(Ek,"buildAbort");var Bk=!1,Os=class t{static{o(this,"Request")}constructor(e,r={}){if(ae.util.markAsUncloneable(this),e===Zp)return;let n="Request constructor";ae.argumentLengthCheck(arguments,1,n),e=ae.converters.RequestInfo(e,n,"input"),r=ae.converters.RequestInit(r,n,"init");let i=null,s=null,a=Wp.settingsObject.baseUrl,c=null;if(typeof e=="string"){this[NI]=r.dispatcher;let w;try{w=new URL(e,a)}catch(R){throw new TypeError("Failed to parse URL from "+e,{cause:R})}if(w.username||w.password)throw new TypeError("Request cannot be constructed from a URL that includes credentials: "+e);i=th({urlList:[w]}),s="cors"}else this[NI]=r.dispatcher||e[NI],Mie(e instanceof t),i=e[Ze],c=e[Kp];let l=Wp.settingsObject.origin,A="client";if(i.window?.constructor?.name==="EnvironmentSettingsObject"&&mk(i.window,l)&&(A=i.window),r.window!=null)throw new TypeError(`'window' option '${A}' must be null`);"window"in r&&(A="no-window"),i=th({method:i.method,headersList:i.headersList,unsafeRequest:i.unsafeRequest,client:Wp.settingsObject,window:A,priority:i.priority,origin:i.origin,referrer:i.referrer,referrerPolicy:i.referrerPolicy,mode:i.mode,credentials:i.credentials,cache:i.cache,redirect:i.redirect,integrity:i.integrity,keepalive:i.keepalive,reloadNavigation:i.reloadNavigation,historyNavigation:i.historyNavigation,urlList:[...i.urlList]});let u=Object.keys(r).length!==0;if(u&&(i.mode==="navigate"&&(i.mode="same-origin"),i.reloadNavigation=!1,i.historyNavigation=!1,i.origin="client",i.referrer="client",i.referrerPolicy="",i.url=i.urlList[i.urlList.length-1],i.urlList=[i.url]),r.referrer!==void 0){let w=r.referrer;if(w==="")i.referrer="no-referrer";else{let R;try{R=new URL(w,a)}catch(T){throw new TypeError(`Referrer "${w}" is not a valid URL.`,{cause:T})}R.protocol==="about:"&&R.hostname==="client"||l&&!mk(R,Wp.settingsObject.baseUrl)?i.referrer="client":i.referrer=R}}r.referrerPolicy!==void 0&&(i.referrerPolicy=r.referrerPolicy);let d;if(r.mode!==void 0?d=r.mode:d=s,d==="navigate")throw ae.errors.exception({header:"Request constructor",message:"invalid request mode navigate."});if(d!=null&&(i.mode=d),r.credentials!==void 0&&(i.credentials=r.credentials),r.cache!==void 0&&(i.cache=r.cache),i.cache==="only-if-cached"&&i.mode!=="same-origin")throw new TypeError("'only-if-cached' can be set only with 'same-origin' mode");if(r.redirect!==void 0&&(i.redirect=r.redirect),r.integrity!=null&&(i.integrity=String(r.integrity)),r.keepalive!==void 0&&(i.keepalive=!!r.keepalive),r.method!==void 0){let w=r.method,R=Tie[w];if(R!==void 0)i.method=R;else{if(!Qie(w))throw new TypeError(`'${w}' is not a valid HTTP method.`);let T=w.toUpperCase();if(wie.has(T))throw new TypeError(`'${w}' HTTP method is unsupported.`);w=Die[T]??w,i.method=w}!Bk&&i.method==="patch"&&(process.emitWarning("Using `patch` is highly likely to result in a `405 Method Not Allowed`. `PATCH` is much more likely to succeed.",{code:"UNDICI-FETCH-patch"}),Bk=!0)}r.signal!==void 0&&(c=r.signal),this[Ze]=i;let f=new AbortController;if(this[Kp]=f.signal,c!=null){if(!c||typeof c.aborted!="boolean"||typeof c.addEventListener!="function")throw new TypeError("Failed to construct 'Request': member signal is not of type AbortSignal.");if(c.aborted)f.abort(c.reason);else{this[Lie]=f;let w=new WeakRef(f),R=Ek(w);try{(typeof gk=="function"&&gk(c)===Ck||kie(c,"abort").length>=Ck)&&yk(1500,c)}catch{}$p.addAbortListener(c,R),Qk.register(f,{signal:c,abort:R},R)}}if(this[jr]=new Ik(Zp),bk(this[jr],i.headersList),xI(this[jr],"request"),d==="no-cors"){if(!Nie.has(i.method))throw new TypeError(`'${i.method} is unsupported in no-cors mode.`);xI(this[jr],"request-no-cors")}if(u){let w=hk(this[jr]),R=r.headers!==void 0?r.headers:new Xp(w);if(w.clear(),R instanceof Xp){for(let{name:T,value:L}of R.rawValues())w.append(T,L,!1);w.cookies=R.cookies}else Bie(this[jr],R)}let m=e instanceof t?e[Ze].body:null;if((r.body!=null||m!=null)&&(i.method==="GET"||i.method==="HEAD"))throw new TypeError("Request with GET/HEAD method cannot have body.");let C=null;if(r.body!=null){let[w,R]=yie(r.body,i.keepalive);C=w,R&&!hk(this[jr]).contains("content-type",!0)&&this[jr].append("content-type",R)}let Q=C??m;if(Q!=null&&Q.source==null){if(C!=null&&r.duplex==null)throw new TypeError("RequestInit: duplex option is required when sending a body.");if(i.mode!=="same-origin"&&i.mode!=="cors")throw new TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"');i.useCORSPreflightFlag=!0}let S=Q;if(C==null&&m!=null){if(pk(e))throw new TypeError("Cannot construct a Request with a Request object that has already been used.");let w=new TransformStream;m.stream.pipeThrough(w),S={source:m.source,length:m.length,stream:w.readable}}this[Ze].body=S}get method(){return ae.brandCheck(this,t),this[Ze].method}get url(){return ae.brandCheck(this,t),Oie(this[Ze].url)}get headers(){return ae.brandCheck(this,t),this[jr]}get destination(){return ae.brandCheck(this,t),this[Ze].destination}get referrer(){return ae.brandCheck(this,t),this[Ze].referrer==="no-referrer"?"":this[Ze].referrer==="client"?"about:client":this[Ze].referrer.toString()}get referrerPolicy(){return ae.brandCheck(this,t),this[Ze].referrerPolicy}get mode(){return ae.brandCheck(this,t),this[Ze].mode}get credentials(){return this[Ze].credentials}get cache(){return ae.brandCheck(this,t),this[Ze].cache}get redirect(){return ae.brandCheck(this,t),this[Ze].redirect}get integrity(){return ae.brandCheck(this,t),this[Ze].integrity}get keepalive(){return ae.brandCheck(this,t),this[Ze].keepalive}get isReloadNavigation(){return ae.brandCheck(this,t),this[Ze].reloadNavigation}get isHistoryNavigation(){return ae.brandCheck(this,t),this[Ze].historyNavigation}get signal(){return ae.brandCheck(this,t),this[Kp]}get body(){return ae.brandCheck(this,t),this[Ze].body?this[Ze].body.stream:null}get bodyUsed(){return ae.brandCheck(this,t),!!this[Ze].body&&$p.isDisturbed(this[Ze].body.stream)}get duplex(){return ae.brandCheck(this,t),"half"}clone(){if(ae.brandCheck(this,t),pk(this))throw new TypeError("unusable");let e=wk(this[Ze]),r=new AbortController;if(this.signal.aborted)r.abort(this.signal.reason);else{let n=eh.get(this.signal);n===void 0&&(n=new Set,eh.set(this.signal,n));let i=new WeakRef(r);n.add(i),$p.addAbortListener(r.signal,Ek(i))}return Nk(e,r.signal,Iie(this[jr]))}[fk.inspect.custom](e,r){r.depth===null&&(r.depth=2),r.colors??=!0;let n={method:this.method,url:this.url,headers:this.headers,destination:this.destination,referrer:this.referrer,referrerPolicy:this.referrerPolicy,mode:this.mode,credentials:this.credentials,cache:this.cache,redirect:this.redirect,integrity:this.integrity,keepalive:this.keepalive,isReloadNavigation:this.isReloadNavigation,isHistoryNavigation:this.isHistoryNavigation,signal:this.signal};return`Request ${fk.formatWithOptions(r,n)}`}};Cie(Os);function th(t){return{method:t.method??"GET",localURLsOnly:t.localURLsOnly??!1,unsafeRequest:t.unsafeRequest??!1,body:t.body??null,client:t.client??null,reservedClient:t.reservedClient??null,replacesClientId:t.replacesClientId??"",window:t.window??"client",keepalive:t.keepalive??!1,serviceWorkers:t.serviceWorkers??"all",initiator:t.initiator??"",destination:t.destination??"",priority:t.priority??null,origin:t.origin??"client",policyContainer:t.policyContainer??"client",referrer:t.referrer??"client",referrerPolicy:t.referrerPolicy??"",mode:t.mode??"no-cors",useCORSPreflightFlag:t.useCORSPreflightFlag??!1,credentials:t.credentials??"same-origin",useCredentials:t.useCredentials??!1,cache:t.cache??"default",redirect:t.redirect??"follow",integrity:t.integrity??"",cryptoGraphicsNonceMetadata:t.cryptoGraphicsNonceMetadata??"",parserMetadata:t.parserMetadata??"",reloadNavigation:t.reloadNavigation??!1,historyNavigation:t.historyNavigation??!1,userActivation:t.userActivation??!1,taintedOrigin:t.taintedOrigin??!1,redirectCount:t.redirectCount??0,responseTainting:t.responseTainting??"basic",preventNoCacheCacheControlHeaderModification:t.preventNoCacheCacheControlHeaderModification??!1,done:t.done??!1,timingAllowFailed:t.timingAllowFailed??!1,urlList:t.urlList,url:t.urlList[0],headersList:t.headersList?new Xp(t.headersList):new Xp}}o(th,"makeRequest");function wk(t){let e=th({...t,body:null});return t.body!=null&&(e.body=Eie(e,t.body)),e}o(wk,"cloneRequest");function Nk(t,e,r){let n=new Os(Zp);return n[Ze]=t,n[Kp]=e,n[jr]=new Ik(Zp),bk(n[jr],t.headersList),xI(n[jr],r),n}o(Nk,"fromInnerRequest");Object.defineProperties(Os.prototype,{method:_t,url:_t,headers:_t,redirect:_t,clone:_t,signal:_t,duplex:_t,destination:_t,body:_t,bodyUsed:_t,isHistoryNavigation:_t,isReloadNavigation:_t,keepalive:_t,integrity:_t,cache:_t,credentials:_t,attribute:_t,referrerPolicy:_t,referrer:_t,mode:_t,[Symbol.toStringTag]:{value:"Request",configurable:!0}});ae.converters.Request=ae.interfaceConverter(Os);ae.converters.RequestInfo=function(t,e,r){return typeof t=="string"?ae.converters.USVString(t,e,r):t instanceof Os?ae.converters.Request(t,e,r):ae.converters.USVString(t,e,r)};ae.converters.AbortSignal=ae.interfaceConverter(AbortSignal);ae.converters.RequestInit=ae.dictionaryConverter([{key:"method",converter:ae.converters.ByteString},{key:"headers",converter:ae.converters.HeadersInit},{key:"body",converter:ae.nullableConverter(ae.converters.BodyInit)},{key:"referrer",converter:ae.converters.USVString},{key:"referrerPolicy",converter:ae.converters.DOMString,allowedValues:xie},{key:"mode",converter:ae.converters.DOMString,allowedValues:Rie},{key:"credentials",converter:ae.converters.DOMString,allowedValues:_ie},{key:"cache",converter:ae.converters.DOMString,allowedValues:vie},{key:"redirect",converter:ae.converters.DOMString,allowedValues:Sie},{key:"integrity",converter:ae.converters.DOMString},{key:"keepalive",converter:ae.converters.boolean},{key:"signal",converter:ae.nullableConverter(t=>ae.converters.AbortSignal(t,"RequestInit","signal",{strict:!1}))},{key:"window",converter:ae.converters.any},{key:"duplex",converter:ae.converters.DOMString,allowedValues:Pie},{key:"dispatcher",converter:ae.converters.any}]);xk.exports={Request:Os,makeRequest:th,fromInnerRequest:Nk,cloneRequest:wk}});var GA=g((Bje,Hk)=>{"use strict";var{makeNetworkError:ze,makeAppropriateNetworkError:rh,filterResponse:SI,makeResponse:nh,fromInnerResponse:Uie}=zA(),{HeadersList:Sk}=Mo(),{Request:Fie,cloneRequest:qie}=uc(),Ms=require("node:zlib"),{bytesMatch:Hie,makePolicyContainer:zie,clonePolicyContainer:jie,requestBadPort:Gie,TAOCheck:Yie,appendRequestOriginHeader:Jie,responseLocationURL:Vie,requestCurrentURL:Bi,setRequestReferrerPolicyOnRedirect:Wie,tryUpgradeRequestToAPotentiallyTrustworthyURL:$ie,createOpaqueTimingInfo:DI,appendFetchMetadata:Kie,corsCheck:Xie,crossOriginResourcePolicyCheck:Zie,determineRequestsReferrer:ese,coarsenedSharedCurrentTime:jA,createDeferredPromise:tse,isBlobLike:rse,sameOrigin:PI,isCancelled:Lo,isAborted:Rk,isErrorLike:nse,fullyReadBody:ise,readableStreamClose:sse,isomorphicEncode:ih,urlIsLocal:ose,urlIsHttpHttpsScheme:TI,urlHasHttpsScheme:ase,clampAndCoarsenConnectionTimingInfo:cse,simpleRangeHeaderValue:lse,buildContentRange:Ase,createInflate:use,extractMimeType:dse}=Ur(),{kState:Dk,kDispatcher:pse}=bs(),Uo=require("node:assert"),{safelyExtractBody:OI,extractBody:_k}=za(),{redirectStatusSet:Tk,nullBodyStatus:Ok,safeMethodsSet:hse,requestBodyHeader:fse,subresourceSet:mse}=dA(),gse=require("node:events"),{Readable:yse,pipeline:Cse,finished:Ese}=require("node:stream"),{addAbortListener:Bse,isErrored:Ise,isReadable:sh,bufferToLowerCasedHeaderName:vk}=Ee(),{dataURLProcessor:bse,serializeAMimeType:Qse,minimizeSupportedMimeType:wse}=Br(),{getGlobalDispatcher:Nse}=Hp(),{webidl:xse}=$t(),{STATUS_CODES:Sse}=require("node:http"),Rse=["GET","HEAD"],_se=typeof __UNDICI_IS_NODE__<"u"||typeof esbuildDetection<"u"?"node":"undici",RI,oh=class extends gse{static{o(this,"Fetch")}constructor(e){super(),this.dispatcher=e,this.connection=null,this.dump=!1,this.state="ongoing"}terminate(e){this.state==="ongoing"&&(this.state="terminated",this.connection?.destroy(e),this.emit("terminated",e))}abort(e){this.state==="ongoing"&&(this.state="aborted",e||(e=new DOMException("The operation was aborted.","AbortError")),this.serializedAbortReason=e,this.connection?.destroy(e),this.emit("terminated",e))}};function vse(t){Mk(t,"fetch")}o(vse,"handleFetchDone");function Pse(t,e=void 0){xse.argumentLengthCheck(arguments,1,"globalThis.fetch");let r=tse(),n;try{n=new Fie(t,e)}catch(u){return r.reject(u),r.promise}let i=n[Dk];if(n.signal.aborted)return _I(r,i,null,n.signal.reason),r.promise;i.client.globalObject?.constructor?.name==="ServiceWorkerGlobalScope"&&(i.serviceWorkers="none");let a=null,c=!1,l=null;return Bse(n.signal,()=>{c=!0,Uo(l!=null),l.abort(n.signal.reason);let u=a?.deref();_I(r,i,u,n.signal.reason)}),l=Lk({request:i,processResponseEndOfBody:vse,processResponse:o(u=>{if(!c){if(u.aborted){_I(r,i,a,l.serializedAbortReason);return}if(u.type==="error"){r.reject(new TypeError("fetch failed",{cause:u.error}));return}a=new WeakRef(Uie(u,"immutable")),r.resolve(a.deref()),r=null}},"processResponse"),dispatcher:n[pse]}),r.promise}o(Pse,"fetch");function Mk(t,e="other"){if(t.type==="error"&&t.aborted||!t.urlList?.length)return;let r=t.urlList[0],n=t.timingInfo,i=t.cacheState;TI(r)&&n!==null&&(t.timingAllowPassed||(n=DI({startTime:n.startTime}),i=""),n.endTime=jA(),t.timingInfo=n,kk(n,r.href,e,globalThis,i))}o(Mk,"finalizeAndReportTiming");var kk=performance.markResourceTiming;function _I(t,e,r,n){if(t&&t.reject(n),e.body!=null&&sh(e.body?.stream)&&e.body.stream.cancel(n).catch(s=>{if(s.code!=="ERR_INVALID_STATE")throw s}),r==null)return;let i=r[Dk];i.body!=null&&sh(i.body?.stream)&&i.body.stream.cancel(n).catch(s=>{if(s.code!=="ERR_INVALID_STATE")throw s})}o(_I,"abortFetch");function Lk({request:t,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:n,processResponseEndOfBody:i,processResponseConsumeBody:s,useParallelQueue:a=!1,dispatcher:c=Nse()}){Uo(c);let l=null,A=!1;t.client!=null&&(l=t.client.globalObject,A=t.client.crossOriginIsolatedCapability);let u=jA(A),d=DI({startTime:u}),f={controller:new oh(c),request:t,timingInfo:d,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:n,processResponseConsumeBody:s,processResponseEndOfBody:i,taskDestination:l,crossOriginIsolatedCapability:A};return Uo(!t.body||t.body.stream),t.window==="client"&&(t.window=t.client?.globalObject?.constructor?.name==="Window"?t.client:"no-window"),t.origin==="client"&&(t.origin=t.client.origin),t.policyContainer==="client"&&(t.client!=null?t.policyContainer=jie(t.client.policyContainer):t.policyContainer=zie()),t.headersList.contains("accept",!0)||t.headersList.append("accept","*/*",!0),t.headersList.contains("accept-language",!0)||t.headersList.append("accept-language","*",!0),t.priority,mse.has(t.destination),Uk(f).catch(m=>{f.controller.terminate(m)}),f.controller}o(Lk,"fetching");async function Uk(t,e=!1){let r=t.request,n=null;if(r.localURLsOnly&&!ose(Bi(r))&&(n=ze("local URLs only")),$ie(r),Gie(r)==="blocked"&&(n=ze("bad port")),r.referrerPolicy===""&&(r.referrerPolicy=r.policyContainer.referrerPolicy),r.referrer!=="no-referrer"&&(r.referrer=ese(r)),n===null&&(n=await(async()=>{let s=Bi(r);return PI(s,r.url)&&r.responseTainting==="basic"||s.protocol==="data:"||r.mode==="navigate"||r.mode==="websocket"?(r.responseTainting="basic",await Pk(t)):r.mode==="same-origin"?ze('request mode cannot be "same-origin"'):r.mode==="no-cors"?r.redirect!=="follow"?ze('redirect mode cannot be "follow" for "no-cors" request'):(r.responseTainting="opaque",await Pk(t)):TI(Bi(r))?(r.responseTainting="cors",await Fk(t)):ze("URL scheme must be a HTTP(S) scheme")})()),e)return n;n.status!==0&&!n.internalResponse&&(r.responseTainting,r.responseTainting==="basic"?n=SI(n,"basic"):r.responseTainting==="cors"?n=SI(n,"cors"):r.responseTainting==="opaque"?n=SI(n,"opaque"):Uo(!1));let i=n.status===0?n:n.internalResponse;if(i.urlList.length===0&&i.urlList.push(...r.urlList),r.timingAllowFailed||(n.timingAllowPassed=!0),n.type==="opaque"&&i.status===206&&i.rangeRequested&&!r.headers.contains("range",!0)&&(n=i=ze()),n.status!==0&&(r.method==="HEAD"||r.method==="CONNECT"||Ok.includes(i.status))&&(i.body=null,t.controller.dump=!0),r.integrity){let s=o(c=>vI(t,ze(c)),"processBodyError");if(r.responseTainting==="opaque"||n.body==null){s(n.error);return}let a=o(c=>{if(!Hie(c,r.integrity)){s("integrity mismatch");return}n.body=OI(c)[0],vI(t,n)},"processBody");await ise(n.body,a,s)}else vI(t,n)}o(Uk,"mainFetch");function Pk(t){if(Lo(t)&&t.request.redirectCount===0)return Promise.resolve(rh(t));let{request:e}=t,{protocol:r}=Bi(e);switch(r){case"about:":return Promise.resolve(ze("about scheme is not supported"));case"blob:":{RI||(RI=require("node:buffer").resolveObjectURL);let n=Bi(e);if(n.search.length!==0)return Promise.resolve(ze("NetworkError when attempting to fetch resource."));let i=RI(n.toString());if(e.method!=="GET"||!rse(i))return Promise.resolve(ze("invalid method"));let s=nh(),a=i.size,c=ih(`${a}`),l=i.type;if(e.headersList.contains("range",!0)){s.rangeRequested=!0;let A=e.headersList.get("range",!0),u=lse(A,!0);if(u==="failure")return Promise.resolve(ze("failed to fetch the data URL"));let{rangeStartValue:d,rangeEndValue:f}=u;if(d===null)d=a-f,f=d+f-1;else{if(d>=a)return Promise.resolve(ze("Range start is greater than the blob's size."));(f===null||f>=a)&&(f=a-1)}let m=i.slice(d,f,l),C=_k(m);s.body=C[0];let Q=ih(`${m.size}`),S=Ase(d,f,a);s.status=206,s.statusText="Partial Content",s.headersList.set("content-length",Q,!0),s.headersList.set("content-type",l,!0),s.headersList.set("content-range",S,!0)}else{let A=_k(i);s.statusText="OK",s.body=A[0],s.headersList.set("content-length",c,!0),s.headersList.set("content-type",l,!0)}return Promise.resolve(s)}case"data:":{let n=Bi(e),i=bse(n);if(i==="failure")return Promise.resolve(ze("failed to fetch the data URL"));let s=Qse(i.mimeType);return Promise.resolve(nh({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:s}]],body:OI(i.body)[0]}))}case"file:":return Promise.resolve(ze("not implemented... yet..."));case"http:":case"https:":return Fk(t).catch(n=>ze(n));default:return Promise.resolve(ze("unknown scheme"))}}o(Pk,"schemeFetch");function Dse(t,e){t.request.done=!0,t.processResponseDone!=null&&queueMicrotask(()=>t.processResponseDone(e))}o(Dse,"finalizeResponse");function vI(t,e){let r=t.timingInfo,n=o(()=>{let s=Date.now();t.request.destination==="document"&&(t.controller.fullTimingInfo=r),t.controller.reportTimingSteps=()=>{if(t.request.url.protocol!=="https:")return;r.endTime=s;let c=e.cacheState,l=e.bodyInfo;e.timingAllowPassed||(r=DI(r),c="");let A=0;if(t.request.mode!=="navigator"||!e.hasCrossOriginRedirects){A=e.status;let u=dse(e.headersList);u!=="failure"&&(l.contentType=wse(u))}t.request.initiatorType!=null&&kk(r,t.request.url.href,t.request.initiatorType,globalThis,c,l,A)};let a=o(()=>{t.request.done=!0,t.processResponseEndOfBody!=null&&queueMicrotask(()=>t.processResponseEndOfBody(e)),t.request.initiatorType!=null&&t.controller.reportTimingSteps()},"processResponseEndOfBodyTask");queueMicrotask(()=>a())},"processResponseEndOfBody");t.processResponse!=null&&queueMicrotask(()=>{t.processResponse(e),t.processResponse=null});let i=e.type==="error"?e:e.internalResponse??e;i.body==null?n():Ese(i.body.stream,()=>{n()})}o(vI,"fetchFinale");async function Fk(t){let e=t.request,r=null,n=null,i=t.timingInfo;if(e.serviceWorkers,r===null){if(e.redirect==="follow"&&(e.serviceWorkers="none"),n=r=await qk(t),e.responseTainting==="cors"&&Xie(e,r)==="failure")return ze("cors failure");Yie(e,r)==="failure"&&(e.timingAllowFailed=!0)}return(e.responseTainting==="opaque"||r.type==="opaque")&&Zie(e.origin,e.client,e.destination,n)==="blocked"?ze("blocked"):(Tk.has(n.status)&&(e.redirect!=="manual"&&t.controller.connection.destroy(void 0,!1),e.redirect==="error"?r=ze("unexpected redirect"):e.redirect==="manual"?r=n:e.redirect==="follow"?r=await Tse(t,r):Uo(!1)),r.timingInfo=i,r)}o(Fk,"httpFetch");function Tse(t,e){let r=t.request,n=e.internalResponse?e.internalResponse:e,i;try{if(i=Vie(n,Bi(r).hash),i==null)return e}catch(a){return Promise.resolve(ze(a))}if(!TI(i))return Promise.resolve(ze("URL scheme must be a HTTP(S) scheme"));if(r.redirectCount===20)return Promise.resolve(ze("redirect count exceeded"));if(r.redirectCount+=1,r.mode==="cors"&&(i.username||i.password)&&!PI(r,i))return Promise.resolve(ze('cross origin not allowed for request mode "cors"'));if(r.responseTainting==="cors"&&(i.username||i.password))return Promise.resolve(ze('URL cannot contain credentials for request mode "cors"'));if(n.status!==303&&r.body!=null&&r.body.source==null)return Promise.resolve(ze());if([301,302].includes(n.status)&&r.method==="POST"||n.status===303&&!Rse.includes(r.method)){r.method="GET",r.body=null;for(let a of fse)r.headersList.delete(a)}PI(Bi(r),i)||(r.headersList.delete("authorization",!0),r.headersList.delete("proxy-authorization",!0),r.headersList.delete("cookie",!0),r.headersList.delete("host",!0)),r.body!=null&&(Uo(r.body.source!=null),r.body=OI(r.body.source)[0]);let s=t.timingInfo;return s.redirectEndTime=s.postRedirectStartTime=jA(t.crossOriginIsolatedCapability),s.redirectStartTime===0&&(s.redirectStartTime=s.startTime),r.urlList.push(i),Wie(r,n),Uk(t,!0)}o(Tse,"httpRedirectFetch");async function qk(t,e=!1,r=!1){let n=t.request,i=null,s=null,a=null,c=null,l=!1;n.window==="no-window"&&n.redirect==="error"?(i=t,s=n):(s=qie(n),i={...t},i.request=s);let A=n.credentials==="include"||n.credentials==="same-origin"&&n.responseTainting==="basic",u=s.body?s.body.length:null,d=null;if(s.body==null&&["POST","PUT"].includes(s.method)&&(d="0"),u!=null&&(d=ih(`${u}`)),d!=null&&s.headersList.append("content-length",d,!0),u!=null&&s.keepalive,s.referrer instanceof URL&&s.headersList.append("referer",ih(s.referrer.href),!0),Jie(s),Kie(s),s.headersList.contains("user-agent",!0)||s.headersList.append("user-agent",_se),s.cache==="default"&&(s.headersList.contains("if-modified-since",!0)||s.headersList.contains("if-none-match",!0)||s.headersList.contains("if-unmodified-since",!0)||s.headersList.contains("if-match",!0)||s.headersList.contains("if-range",!0))&&(s.cache="no-store"),s.cache==="no-cache"&&!s.preventNoCacheCacheControlHeaderModification&&!s.headersList.contains("cache-control",!0)&&s.headersList.append("cache-control","max-age=0",!0),(s.cache==="no-store"||s.cache==="reload")&&(s.headersList.contains("pragma",!0)||s.headersList.append("pragma","no-cache",!0),s.headersList.contains("cache-control",!0)||s.headersList.append("cache-control","no-cache",!0)),s.headersList.contains("range",!0)&&s.headersList.append("accept-encoding","identity",!0),s.headersList.contains("accept-encoding",!0)||(ase(Bi(s))?s.headersList.append("accept-encoding","br, gzip, deflate",!0):s.headersList.append("accept-encoding","gzip, deflate",!0)),s.headersList.delete("host",!0),c==null&&(s.cache="no-store"),s.cache!=="no-store"&&s.cache,a==null){if(s.cache==="only-if-cached")return ze("only if cached");let f=await Ose(i,A,r);!hse.has(s.method)&&f.status>=200&&f.status<=399,l&&f.status,a==null&&(a=f)}if(a.urlList=[...s.urlList],s.headersList.contains("range",!0)&&(a.rangeRequested=!0),a.requestIncludesCredentials=A,a.status===407)return n.window==="no-window"?ze():Lo(t)?rh(t):ze("proxy authentication required");if(a.status===421&&!r&&(n.body==null||n.body.source!=null)){if(Lo(t))return rh(t);t.controller.connection.destroy(),a=await qk(t,e,!0)}return a}o(qk,"httpNetworkOrCacheFetch");async function Ose(t,e=!1,r=!1){Uo(!t.controller.connection||t.controller.connection.destroyed),t.controller.connection={abort:null,destroyed:!1,destroy(C,Q=!0){this.destroyed||(this.destroyed=!0,Q&&this.abort?.(C??new DOMException("The operation was aborted.","AbortError")))}};let n=t.request,i=null,s=t.timingInfo;null==null&&(n.cache="no-store");let c=r?"yes":"no";n.mode;let l=null;if(n.body==null&&t.processRequestEndOfBody)queueMicrotask(()=>t.processRequestEndOfBody());else if(n.body!=null){let C=o(async function*(w){Lo(t)||(yield w,t.processRequestBodyChunkLength?.(w.byteLength))},"processBodyChunk"),Q=o(()=>{Lo(t)||t.processRequestEndOfBody&&t.processRequestEndOfBody()},"processEndOfBody"),S=o(w=>{Lo(t)||(w.name==="AbortError"?t.controller.abort():t.controller.terminate(w))},"processBodyError");l=async function*(){try{for await(let w of n.body.stream)yield*C(w);Q()}catch(w){S(w)}}()}try{let{body:C,status:Q,statusText:S,headersList:w,socket:R}=await m({body:l});if(R)i=nh({status:Q,statusText:S,headersList:w,socket:R});else{let T=C[Symbol.asyncIterator]();t.controller.next=()=>T.next(),i=nh({status:Q,statusText:S,headersList:w})}}catch(C){return C.name==="AbortError"?(t.controller.connection.destroy(),rh(t,C)):ze(C)}let A=o(async()=>{await t.controller.resume()},"pullAlgorithm"),u=o(C=>{Lo(t)||t.controller.abort(C)},"cancelAlgorithm"),d=new ReadableStream({async start(C){t.controller.controller=C},async pull(C){await A(C)},async cancel(C){await u(C)},type:"bytes"});i.body={stream:d,source:null,length:null},t.controller.onAborted=f,t.controller.on("terminated",f),t.controller.resume=async()=>{for(;;){let C,Q;try{let{done:w,value:R}=await t.controller.next();if(Rk(t))break;C=w?void 0:R}catch(w){t.controller.ended&&!s.encodedBodySize?C=void 0:(C=w,Q=!0)}if(C===void 0){sse(t.controller.controller),Dse(t,i);return}if(s.decodedBodySize+=C?.byteLength??0,Q){t.controller.terminate(C);return}let S=new Uint8Array(C);if(S.byteLength&&t.controller.controller.enqueue(S),Ise(d)){t.controller.terminate();return}if(t.controller.controller.desiredSize<=0)return}};function f(C){Rk(t)?(i.aborted=!0,sh(d)&&t.controller.controller.error(t.controller.serializedAbortReason)):sh(d)&&t.controller.controller.error(new TypeError("terminated",{cause:nse(C)?C:void 0})),t.controller.connection.destroy()}return o(f,"onAborted"),i;function m({body:C}){let Q=Bi(n),S=t.controller.dispatcher;return new Promise((w,R)=>S.dispatch({path:Q.pathname+Q.search,origin:Q.origin,method:n.method,body:S.isMockActive?n.body&&(n.body.source||n.body.stream):C,headers:n.headersList.entries,maxRedirections:0,upgrade:n.mode==="websocket"?"websocket":void 0},{body:null,abort:null,onConnect(T){let{connection:L}=t.controller;s.finalConnectionTimingInfo=cse(void 0,s.postRedirectStartTime,t.crossOriginIsolatedCapability),L.destroyed?T(new DOMException("The operation was aborted.","AbortError")):(t.controller.on("terminated",T),this.abort=L.abort=T),s.finalNetworkRequestStartTime=jA(t.crossOriginIsolatedCapability)},onResponseStarted(){s.finalNetworkResponseStartTime=jA(t.crossOriginIsolatedCapability)},onHeaders(T,L,W,de){if(T<200)return;let le="",Te=new Sk;for(let fe=0;feai)return R(new Error(`too many content-encodings in response: ${Ge.length}, maximum allowed is ${ai}`)),!0;for(let ji=Ge.length-1;ji>=0;--ji){let Gi=Ge[ji].trim();if(Gi==="x-gzip"||Gi==="gzip")Oe.push(Ms.createGunzip({flush:Ms.constants.Z_SYNC_FLUSH,finishFlush:Ms.constants.Z_SYNC_FLUSH}));else if(Gi==="deflate")Oe.push(use({flush:Ms.constants.Z_SYNC_FLUSH,finishFlush:Ms.constants.Z_SYNC_FLUSH}));else if(Gi==="br")Oe.push(Ms.createBrotliDecompress({flush:Ms.constants.BROTLI_OPERATION_FLUSH,finishFlush:Ms.constants.BROTLI_OPERATION_FLUSH}));else{Oe.length=0;break}}}let Xe=this.onError.bind(this);return w({status:T,statusText:de,headersList:Te,body:Oe.length?Cse(this.body,...Oe,fe=>{fe&&this.onError(fe)}).on("error",Xe):this.body.on("error",Xe)}),!0},onData(T){if(t.controller.dump)return;let L=T;return s.encodedBodySize+=L.byteLength,this.body.push(L)},onComplete(){this.abort&&t.controller.off("terminated",this.abort),t.controller.onAborted&&t.controller.off("terminated",t.controller.onAborted),t.controller.ended=!0,this.body.push(null)},onError(T){this.abort&&t.controller.off("terminated",this.abort),this.body?.destroy(T),t.controller.terminate(T),R(T)},onUpgrade(T,L,W){if(T!==101)return;let de=new Sk;for(let le=0;le{"use strict";zk.exports={kState:Symbol("FileReader state"),kResult:Symbol("FileReader result"),kError:Symbol("FileReader error"),kLastProgressEventFired:Symbol("FileReader last progress event fired timestamp"),kEvents:Symbol("FileReader events"),kAborted:Symbol("FileReader aborted")}});var Gk=g((Qje,jk)=>{"use strict";var{webidl:Gr}=$t(),ah=Symbol("ProgressEvent state"),kI=class t extends Event{static{o(this,"ProgressEvent")}constructor(e,r={}){e=Gr.converters.DOMString(e,"ProgressEvent constructor","type"),r=Gr.converters.ProgressEventInit(r??{}),super(e,r),this[ah]={lengthComputable:r.lengthComputable,loaded:r.loaded,total:r.total}}get lengthComputable(){return Gr.brandCheck(this,t),this[ah].lengthComputable}get loaded(){return Gr.brandCheck(this,t),this[ah].loaded}get total(){return Gr.brandCheck(this,t),this[ah].total}};Gr.converters.ProgressEventInit=Gr.dictionaryConverter([{key:"lengthComputable",converter:Gr.converters.boolean,defaultValue:()=>!1},{key:"loaded",converter:Gr.converters["unsigned long long"],defaultValue:()=>0},{key:"total",converter:Gr.converters["unsigned long long"],defaultValue:()=>0},{key:"bubbles",converter:Gr.converters.boolean,defaultValue:()=>!1},{key:"cancelable",converter:Gr.converters.boolean,defaultValue:()=>!1},{key:"composed",converter:Gr.converters.boolean,defaultValue:()=>!1}]);jk.exports={ProgressEvent:kI}});var Jk=g((Nje,Yk)=>{"use strict";function Mse(t){if(!t)return"failure";switch(t.trim().toLowerCase()){case"unicode-1-1-utf-8":case"unicode11utf8":case"unicode20utf8":case"utf-8":case"utf8":case"x-unicode20utf8":return"UTF-8";case"866":case"cp866":case"csibm866":case"ibm866":return"IBM866";case"csisolatin2":case"iso-8859-2":case"iso-ir-101":case"iso8859-2":case"iso88592":case"iso_8859-2":case"iso_8859-2:1987":case"l2":case"latin2":return"ISO-8859-2";case"csisolatin3":case"iso-8859-3":case"iso-ir-109":case"iso8859-3":case"iso88593":case"iso_8859-3":case"iso_8859-3:1988":case"l3":case"latin3":return"ISO-8859-3";case"csisolatin4":case"iso-8859-4":case"iso-ir-110":case"iso8859-4":case"iso88594":case"iso_8859-4":case"iso_8859-4:1988":case"l4":case"latin4":return"ISO-8859-4";case"csisolatincyrillic":case"cyrillic":case"iso-8859-5":case"iso-ir-144":case"iso8859-5":case"iso88595":case"iso_8859-5":case"iso_8859-5:1988":return"ISO-8859-5";case"arabic":case"asmo-708":case"csiso88596e":case"csiso88596i":case"csisolatinarabic":case"ecma-114":case"iso-8859-6":case"iso-8859-6-e":case"iso-8859-6-i":case"iso-ir-127":case"iso8859-6":case"iso88596":case"iso_8859-6":case"iso_8859-6:1987":return"ISO-8859-6";case"csisolatingreek":case"ecma-118":case"elot_928":case"greek":case"greek8":case"iso-8859-7":case"iso-ir-126":case"iso8859-7":case"iso88597":case"iso_8859-7":case"iso_8859-7:1987":case"sun_eu_greek":return"ISO-8859-7";case"csiso88598e":case"csisolatinhebrew":case"hebrew":case"iso-8859-8":case"iso-8859-8-e":case"iso-ir-138":case"iso8859-8":case"iso88598":case"iso_8859-8":case"iso_8859-8:1988":case"visual":return"ISO-8859-8";case"csiso88598i":case"iso-8859-8-i":case"logical":return"ISO-8859-8-I";case"csisolatin6":case"iso-8859-10":case"iso-ir-157":case"iso8859-10":case"iso885910":case"l6":case"latin6":return"ISO-8859-10";case"iso-8859-13":case"iso8859-13":case"iso885913":return"ISO-8859-13";case"iso-8859-14":case"iso8859-14":case"iso885914":return"ISO-8859-14";case"csisolatin9":case"iso-8859-15":case"iso8859-15":case"iso885915":case"iso_8859-15":case"l9":return"ISO-8859-15";case"iso-8859-16":return"ISO-8859-16";case"cskoi8r":case"koi":case"koi8":case"koi8-r":case"koi8_r":return"KOI8-R";case"koi8-ru":case"koi8-u":return"KOI8-U";case"csmacintosh":case"mac":case"macintosh":case"x-mac-roman":return"macintosh";case"iso-8859-11":case"iso8859-11":case"iso885911":case"tis-620":case"windows-874":return"windows-874";case"cp1250":case"windows-1250":case"x-cp1250":return"windows-1250";case"cp1251":case"windows-1251":case"x-cp1251":return"windows-1251";case"ansi_x3.4-1968":case"ascii":case"cp1252":case"cp819":case"csisolatin1":case"ibm819":case"iso-8859-1":case"iso-ir-100":case"iso8859-1":case"iso88591":case"iso_8859-1":case"iso_8859-1:1987":case"l1":case"latin1":case"us-ascii":case"windows-1252":case"x-cp1252":return"windows-1252";case"cp1253":case"windows-1253":case"x-cp1253":return"windows-1253";case"cp1254":case"csisolatin5":case"iso-8859-9":case"iso-ir-148":case"iso8859-9":case"iso88599":case"iso_8859-9":case"iso_8859-9:1989":case"l5":case"latin5":case"windows-1254":case"x-cp1254":return"windows-1254";case"cp1255":case"windows-1255":case"x-cp1255":return"windows-1255";case"cp1256":case"windows-1256":case"x-cp1256":return"windows-1256";case"cp1257":case"windows-1257":case"x-cp1257":return"windows-1257";case"cp1258":case"windows-1258":case"x-cp1258":return"windows-1258";case"x-mac-cyrillic":case"x-mac-ukrainian":return"x-mac-cyrillic";case"chinese":case"csgb2312":case"csiso58gb231280":case"gb2312":case"gb_2312":case"gb_2312-80":case"gbk":case"iso-ir-58":case"x-gbk":return"GBK";case"gb18030":return"gb18030";case"big5":case"big5-hkscs":case"cn-big5":case"csbig5":case"x-x-big5":return"Big5";case"cseucpkdfmtjapanese":case"euc-jp":case"x-euc-jp":return"EUC-JP";case"csiso2022jp":case"iso-2022-jp":return"ISO-2022-JP";case"csshiftjis":case"ms932":case"ms_kanji":case"shift-jis":case"shift_jis":case"sjis":case"windows-31j":case"x-sjis":return"Shift_JIS";case"cseuckr":case"csksc56011987":case"euc-kr":case"iso-ir-149":case"korean":case"ks_c_5601-1987":case"ks_c_5601-1989":case"ksc5601":case"ksc_5601":case"windows-949":return"EUC-KR";case"csiso2022kr":case"hz-gb-2312":case"iso-2022-cn":case"iso-2022-cn-ext":case"iso-2022-kr":case"replacement":return"replacement";case"unicodefffe":case"utf-16be":return"UTF-16BE";case"csunicode":case"iso-10646-ucs-2":case"ucs-2":case"unicode":case"unicodefeff":case"utf-16":case"utf-16le":return"UTF-16LE";case"x-user-defined":return"x-user-defined";default:return"failure"}}o(Mse,"getEncoding");Yk.exports={getEncoding:Mse}});var tL=g((Sje,eL)=>{"use strict";var{kState:dc,kError:LI,kResult:Vk,kAborted:YA,kLastProgressEventFired:UI}=MI(),{ProgressEvent:kse}=Gk(),{getEncoding:Wk}=Jk(),{serializeAMimeType:Lse,parseMIMEType:$k}=Br(),{types:Use}=require("node:util"),{StringDecoder:Kk}=require("string_decoder"),{btoa:Xk}=require("node:buffer"),Fse={enumerable:!0,writable:!1,configurable:!1};function qse(t,e,r,n){if(t[dc]==="loading")throw new DOMException("Invalid state","InvalidStateError");t[dc]="loading",t[Vk]=null,t[LI]=null;let s=e.stream().getReader(),a=[],c=s.read(),l=!0;(async()=>{for(;!t[YA];)try{let{done:A,value:u}=await c;if(l&&!t[YA]&&queueMicrotask(()=>{ks("loadstart",t)}),l=!1,!A&&Use.isUint8Array(u))a.push(u),(t[UI]===void 0||Date.now()-t[UI]>=50)&&!t[YA]&&(t[UI]=Date.now(),queueMicrotask(()=>{ks("progress",t)})),c=s.read();else if(A){queueMicrotask(()=>{t[dc]="done";try{let d=Hse(a,r,e.type,n);if(t[YA])return;t[Vk]=d,ks("load",t)}catch(d){t[LI]=d,ks("error",t)}t[dc]!=="loading"&&ks("loadend",t)});break}}catch(A){if(t[YA])return;queueMicrotask(()=>{t[dc]="done",t[LI]=A,ks("error",t),t[dc]!=="loading"&&ks("loadend",t)});break}})()}o(qse,"readOperation");function ks(t,e){let r=new kse(t,{bubbles:!1,cancelable:!1});e.dispatchEvent(r)}o(ks,"fireAProgressEvent");function Hse(t,e,r,n){switch(e){case"DataURL":{let i="data:",s=$k(r||"application/octet-stream");s!=="failure"&&(i+=Lse(s)),i+=";base64,";let a=new Kk("latin1");for(let c of t)i+=Xk(a.write(c));return i+=Xk(a.end()),i}case"Text":{let i="failure";if(n&&(i=Wk(n)),i==="failure"&&r){let s=$k(r);s!=="failure"&&(i=Wk(s.parameters.get("charset")))}return i==="failure"&&(i="UTF-8"),zse(t,i)}case"ArrayBuffer":return Zk(t).buffer;case"BinaryString":{let i="",s=new Kk("latin1");for(let a of t)i+=s.write(a);return i+=s.end(),i}}}o(Hse,"packageData");function zse(t,e){let r=Zk(t),n=jse(r),i=0;n!==null&&(e=n,i=n==="UTF-8"?3:2);let s=r.slice(i);return new TextDecoder(e).decode(s)}o(zse,"decode");function jse(t){let[e,r,n]=t;return e===239&&r===187&&n===191?"UTF-8":e===254&&r===255?"UTF-16BE":e===255&&r===254?"UTF-16LE":null}o(jse,"BOMSniffing");function Zk(t){let e=t.reduce((n,i)=>n+i.byteLength,0),r=0;return t.reduce((n,i)=>(n.set(i,r),r+=i.byteLength,n),new Uint8Array(e))}o(Zk,"combineByteSequences");eL.exports={staticPropertyDescriptors:Fse,readOperation:qse,fireAProgressEvent:ks}});var sL=g((_je,iL)=>{"use strict";var{staticPropertyDescriptors:pc,readOperation:ch,fireAProgressEvent:rL}=tL(),{kState:Fo,kError:nL,kResult:lh,kEvents:De,kAborted:Gse}=MI(),{webidl:Ye}=$t(),{kEnumerableProperty:Qr}=Ee(),$n=class t extends EventTarget{static{o(this,"FileReader")}constructor(){super(),this[Fo]="empty",this[lh]=null,this[nL]=null,this[De]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(e){Ye.brandCheck(this,t),Ye.argumentLengthCheck(arguments,1,"FileReader.readAsArrayBuffer"),e=Ye.converters.Blob(e,{strict:!1}),ch(this,e,"ArrayBuffer")}readAsBinaryString(e){Ye.brandCheck(this,t),Ye.argumentLengthCheck(arguments,1,"FileReader.readAsBinaryString"),e=Ye.converters.Blob(e,{strict:!1}),ch(this,e,"BinaryString")}readAsText(e,r=void 0){Ye.brandCheck(this,t),Ye.argumentLengthCheck(arguments,1,"FileReader.readAsText"),e=Ye.converters.Blob(e,{strict:!1}),r!==void 0&&(r=Ye.converters.DOMString(r,"FileReader.readAsText","encoding")),ch(this,e,"Text",r)}readAsDataURL(e){Ye.brandCheck(this,t),Ye.argumentLengthCheck(arguments,1,"FileReader.readAsDataURL"),e=Ye.converters.Blob(e,{strict:!1}),ch(this,e,"DataURL")}abort(){if(this[Fo]==="empty"||this[Fo]==="done"){this[lh]=null;return}this[Fo]==="loading"&&(this[Fo]="done",this[lh]=null),this[Gse]=!0,rL("abort",this),this[Fo]!=="loading"&&rL("loadend",this)}get readyState(){switch(Ye.brandCheck(this,t),this[Fo]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){return Ye.brandCheck(this,t),this[lh]}get error(){return Ye.brandCheck(this,t),this[nL]}get onloadend(){return Ye.brandCheck(this,t),this[De].loadend}set onloadend(e){Ye.brandCheck(this,t),this[De].loadend&&this.removeEventListener("loadend",this[De].loadend),typeof e=="function"?(this[De].loadend=e,this.addEventListener("loadend",e)):this[De].loadend=null}get onerror(){return Ye.brandCheck(this,t),this[De].error}set onerror(e){Ye.brandCheck(this,t),this[De].error&&this.removeEventListener("error",this[De].error),typeof e=="function"?(this[De].error=e,this.addEventListener("error",e)):this[De].error=null}get onloadstart(){return Ye.brandCheck(this,t),this[De].loadstart}set onloadstart(e){Ye.brandCheck(this,t),this[De].loadstart&&this.removeEventListener("loadstart",this[De].loadstart),typeof e=="function"?(this[De].loadstart=e,this.addEventListener("loadstart",e)):this[De].loadstart=null}get onprogress(){return Ye.brandCheck(this,t),this[De].progress}set onprogress(e){Ye.brandCheck(this,t),this[De].progress&&this.removeEventListener("progress",this[De].progress),typeof e=="function"?(this[De].progress=e,this.addEventListener("progress",e)):this[De].progress=null}get onload(){return Ye.brandCheck(this,t),this[De].load}set onload(e){Ye.brandCheck(this,t),this[De].load&&this.removeEventListener("load",this[De].load),typeof e=="function"?(this[De].load=e,this.addEventListener("load",e)):this[De].load=null}get onabort(){return Ye.brandCheck(this,t),this[De].abort}set onabort(e){Ye.brandCheck(this,t),this[De].abort&&this.removeEventListener("abort",this[De].abort),typeof e=="function"?(this[De].abort=e,this.addEventListener("abort",e)):this[De].abort=null}};$n.EMPTY=$n.prototype.EMPTY=0;$n.LOADING=$n.prototype.LOADING=1;$n.DONE=$n.prototype.DONE=2;Object.defineProperties($n.prototype,{EMPTY:pc,LOADING:pc,DONE:pc,readAsArrayBuffer:Qr,readAsBinaryString:Qr,readAsText:Qr,readAsDataURL:Qr,abort:Qr,readyState:Qr,result:Qr,error:Qr,onloadstart:Qr,onprogress:Qr,onload:Qr,onabort:Qr,onerror:Qr,onloadend:Qr,[Symbol.toStringTag]:{value:"FileReader",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties($n,{EMPTY:pc,LOADING:pc,DONE:pc});iL.exports={FileReader:$n}});var Ah=g((Pje,oL)=>{"use strict";oL.exports={kConstruct:nt().kConstruct}});var lL=g((Dje,cL)=>{"use strict";var Yse=require("node:assert"),{URLSerializer:aL}=Br(),{isValidHeaderName:Jse}=Ur();function Vse(t,e,r=!1){let n=aL(t,r),i=aL(e,r);return n===i}o(Vse,"urlEquals");function Wse(t){Yse(t!==null);let e=[];for(let r of t.split(","))r=r.trim(),Jse(r)&&e.push(r);return e}o(Wse,"getFieldValues");cL.exports={urlEquals:Vse,getFieldValues:Wse}});var dL=g((Oje,uL)=>{"use strict";var{kConstruct:$se}=Ah(),{urlEquals:Kse,getFieldValues:FI}=lL(),{kEnumerableProperty:qo,isDisturbed:Xse}=Ee(),{webidl:te}=$t(),{Response:Zse,cloneResponse:eoe,fromInnerResponse:toe}=zA(),{Request:ss,fromInnerRequest:roe}=uc(),{kState:Kn}=bs(),{fetching:noe}=GA(),{urlIsHttpHttpsScheme:uh,createDeferredPromise:hc,readAllBytes:ioe}=Ur(),qI=require("node:assert"),dh=class t{static{o(this,"Cache")}#e;constructor(){arguments[0]!==$se&&te.illegalConstructor(),te.util.markAsUncloneable(this),this.#e=arguments[1]}async match(e,r={}){te.brandCheck(this,t);let n="Cache.match";te.argumentLengthCheck(arguments,1,n),e=te.converters.RequestInfo(e,n,"request"),r=te.converters.CacheQueryOptions(r,n,"options");let i=this.#r(e,r,1);if(i.length!==0)return i[0]}async matchAll(e=void 0,r={}){te.brandCheck(this,t);let n="Cache.matchAll";return e!==void 0&&(e=te.converters.RequestInfo(e,n,"request")),r=te.converters.CacheQueryOptions(r,n,"options"),this.#r(e,r)}async add(e){te.brandCheck(this,t);let r="Cache.add";te.argumentLengthCheck(arguments,1,r),e=te.converters.RequestInfo(e,r,"request");let n=[e];return await this.addAll(n)}async addAll(e){te.brandCheck(this,t);let r="Cache.addAll";te.argumentLengthCheck(arguments,1,r);let n=[],i=[];for(let f of e){if(f===void 0)throw te.errors.conversionFailed({prefix:r,argument:"Argument 1",types:["undefined is not allowed"]});if(f=te.converters.RequestInfo(f),typeof f=="string")continue;let m=f[Kn];if(!uh(m.url)||m.method!=="GET")throw te.errors.exception({header:r,message:"Expected http/s scheme when method is not GET."})}let s=[];for(let f of e){let m=new ss(f)[Kn];if(!uh(m.url))throw te.errors.exception({header:r,message:"Expected http/s scheme."});m.initiator="fetch",m.destination="subresource",i.push(m);let C=hc();s.push(noe({request:m,processResponse(Q){if(Q.type==="error"||Q.status===206||Q.status<200||Q.status>299)C.reject(te.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}));else if(Q.headersList.contains("vary")){let S=FI(Q.headersList.get("vary"));for(let w of S)if(w==="*"){C.reject(te.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(let R of s)R.abort();return}}},processResponseEndOfBody(Q){if(Q.aborted){C.reject(new DOMException("aborted","AbortError"));return}C.resolve(Q)}})),n.push(C.promise)}let c=await Promise.all(n),l=[],A=0;for(let f of c){let m={type:"put",request:i[A],response:f};l.push(m),A++}let u=hc(),d=null;try{this.#t(l)}catch(f){d=f}return queueMicrotask(()=>{d===null?u.resolve(void 0):u.reject(d)}),u.promise}async put(e,r){te.brandCheck(this,t);let n="Cache.put";te.argumentLengthCheck(arguments,2,n),e=te.converters.RequestInfo(e,n,"request"),r=te.converters.Response(r,n,"response");let i=null;if(e instanceof ss?i=e[Kn]:i=new ss(e)[Kn],!uh(i.url)||i.method!=="GET")throw te.errors.exception({header:n,message:"Expected an http/s scheme when method is not GET"});let s=r[Kn];if(s.status===206)throw te.errors.exception({header:n,message:"Got 206 status"});if(s.headersList.contains("vary")){let m=FI(s.headersList.get("vary"));for(let C of m)if(C==="*")throw te.errors.exception({header:n,message:"Got * vary field value"})}if(s.body&&(Xse(s.body.stream)||s.body.stream.locked))throw te.errors.exception({header:n,message:"Response body is locked or disturbed"});let a=eoe(s),c=hc();if(s.body!=null){let C=s.body.stream.getReader();ioe(C).then(c.resolve,c.reject)}else c.resolve(void 0);let l=[],A={type:"put",request:i,response:a};l.push(A);let u=await c.promise;a.body!=null&&(a.body.source=u);let d=hc(),f=null;try{this.#t(l)}catch(m){f=m}return queueMicrotask(()=>{f===null?d.resolve():d.reject(f)}),d.promise}async delete(e,r={}){te.brandCheck(this,t);let n="Cache.delete";te.argumentLengthCheck(arguments,1,n),e=te.converters.RequestInfo(e,n,"request"),r=te.converters.CacheQueryOptions(r,n,"options");let i=null;if(e instanceof ss){if(i=e[Kn],i.method!=="GET"&&!r.ignoreMethod)return!1}else qI(typeof e=="string"),i=new ss(e)[Kn];let s=[],a={type:"delete",request:i,options:r};s.push(a);let c=hc(),l=null,A;try{A=this.#t(s)}catch(u){l=u}return queueMicrotask(()=>{l===null?c.resolve(!!A?.length):c.reject(l)}),c.promise}async keys(e=void 0,r={}){te.brandCheck(this,t);let n="Cache.keys";e!==void 0&&(e=te.converters.RequestInfo(e,n,"request")),r=te.converters.CacheQueryOptions(r,n,"options");let i=null;if(e!==void 0)if(e instanceof ss){if(i=e[Kn],i.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(i=new ss(e)[Kn]);let s=hc(),a=[];if(e===void 0)for(let c of this.#e)a.push(c[0]);else{let c=this.#i(i,r);for(let l of c)a.push(l[0])}return queueMicrotask(()=>{let c=[];for(let l of a){let A=roe(l,new AbortController().signal,"immutable");c.push(A)}s.resolve(Object.freeze(c))}),s.promise}#t(e){let r=this.#e,n=[...r],i=[],s=[];try{for(let a of e){if(a.type!=="delete"&&a.type!=="put")throw te.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'});if(a.type==="delete"&&a.response!=null)throw te.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"});if(this.#i(a.request,a.options,i).length)throw new DOMException("???","InvalidStateError");let c;if(a.type==="delete"){if(c=this.#i(a.request,a.options),c.length===0)return[];for(let l of c){let A=r.indexOf(l);qI(A!==-1),r.splice(A,1)}}else if(a.type==="put"){if(a.response==null)throw te.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"});let l=a.request;if(!uh(l.url))throw te.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"});if(l.method!=="GET")throw te.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"});if(a.options!=null)throw te.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"});c=this.#i(a.request);for(let A of c){let u=r.indexOf(A);qI(u!==-1),r.splice(u,1)}r.push([a.request,a.response]),i.push([a.request,a.response])}s.push([a.request,a.response])}return s}catch(a){throw this.#e.length=0,this.#e=n,a}}#i(e,r,n){let i=[],s=n??this.#e;for(let a of s){let[c,l]=a;this.#n(e,c,l,r)&&i.push(a)}return i}#n(e,r,n=null,i){let s=new URL(e.url),a=new URL(r.url);if(i?.ignoreSearch&&(a.search="",s.search=""),!Kse(s,a,!0))return!1;if(n==null||i?.ignoreVary||!n.headersList.contains("vary"))return!0;let c=FI(n.headersList.get("vary"));for(let l of c){if(l==="*")return!1;let A=r.headersList.get(l),u=e.headersList.get(l);if(A!==u)return!1}return!0}#r(e,r,n=1/0){let i=null;if(e!==void 0)if(e instanceof ss){if(i=e[Kn],i.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(i=new ss(e)[Kn]);let s=[];if(e===void 0)for(let c of this.#e)s.push(c[1]);else{let c=this.#i(i,r);for(let l of c)s.push(l[1])}let a=[];for(let c of s){let l=toe(c,"immutable");if(a.push(l.clone()),a.length>=n)break}return Object.freeze(a)}};Object.defineProperties(dh.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:!0},match:qo,matchAll:qo,add:qo,addAll:qo,put:qo,delete:qo,keys:qo});var AL=[{key:"ignoreSearch",converter:te.converters.boolean,defaultValue:()=>!1},{key:"ignoreMethod",converter:te.converters.boolean,defaultValue:()=>!1},{key:"ignoreVary",converter:te.converters.boolean,defaultValue:()=>!1}];te.converters.CacheQueryOptions=te.dictionaryConverter(AL);te.converters.MultiCacheQueryOptions=te.dictionaryConverter([...AL,{key:"cacheName",converter:te.converters.DOMString}]);te.converters.Response=te.interfaceConverter(Zse);te.converters["sequence"]=te.sequenceConverter(te.converters.RequestInfo);uL.exports={Cache:dh}});var hL=g((kje,pL)=>{"use strict";var{kConstruct:JA}=Ah(),{Cache:ph}=dL(),{webidl:rr}=$t(),{kEnumerableProperty:VA}=Ee(),hh=class t{static{o(this,"CacheStorage")}#e=new Map;constructor(){arguments[0]!==JA&&rr.illegalConstructor(),rr.util.markAsUncloneable(this)}async match(e,r={}){if(rr.brandCheck(this,t),rr.argumentLengthCheck(arguments,1,"CacheStorage.match"),e=rr.converters.RequestInfo(e),r=rr.converters.MultiCacheQueryOptions(r),r.cacheName!=null){if(this.#e.has(r.cacheName)){let n=this.#e.get(r.cacheName);return await new ph(JA,n).match(e,r)}}else for(let n of this.#e.values()){let s=await new ph(JA,n).match(e,r);if(s!==void 0)return s}}async has(e){rr.brandCheck(this,t);let r="CacheStorage.has";return rr.argumentLengthCheck(arguments,1,r),e=rr.converters.DOMString(e,r,"cacheName"),this.#e.has(e)}async open(e){rr.brandCheck(this,t);let r="CacheStorage.open";if(rr.argumentLengthCheck(arguments,1,r),e=rr.converters.DOMString(e,r,"cacheName"),this.#e.has(e)){let i=this.#e.get(e);return new ph(JA,i)}let n=[];return this.#e.set(e,n),new ph(JA,n)}async delete(e){rr.brandCheck(this,t);let r="CacheStorage.delete";return rr.argumentLengthCheck(arguments,1,r),e=rr.converters.DOMString(e,r,"cacheName"),this.#e.delete(e)}async keys(){return rr.brandCheck(this,t),[...this.#e.keys()]}};Object.defineProperties(hh.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:!0},match:VA,has:VA,open:VA,delete:VA,keys:VA});pL.exports={CacheStorage:hh}});var mL=g((Uje,fL)=>{"use strict";fL.exports={maxAttributeValueSize:1024,maxNameValuePairSize:4096}});var HI=g((Fje,BL)=>{"use strict";function soe(t){for(let e=0;e=0&&r<=8||r>=10&&r<=31||r===127)return!0}return!1}o(soe,"isCTLExcludingHtab");function gL(t){for(let e=0;e126||r===34||r===40||r===41||r===60||r===62||r===64||r===44||r===59||r===58||r===92||r===47||r===91||r===93||r===63||r===61||r===123||r===125)throw new Error("Invalid cookie name")}}o(gL,"validateCookieName");function yL(t){let e=t.length,r=0;if(t[0]==='"'){if(e===1||t[e-1]!=='"')throw new Error("Invalid cookie value");--e,++r}for(;r126||n===34||n===44||n===59||n===92)throw new Error("Invalid cookie value")}}o(yL,"validateCookieValue");function CL(t){for(let e=0;ee.toString().padStart(2,"0"));function EL(t){return typeof t=="number"&&(t=new Date(t)),`${aoe[t.getUTCDay()]}, ${fh[t.getUTCDate()]} ${coe[t.getUTCMonth()]} ${t.getUTCFullYear()} ${fh[t.getUTCHours()]}:${fh[t.getUTCMinutes()]}:${fh[t.getUTCSeconds()]} GMT`}o(EL,"toIMFDate");function loe(t){if(t<0)throw new Error("Invalid cookie max-age")}o(loe,"validateCookieMaxAge");function Aoe(t){if(t.name.length===0)return null;gL(t.name),yL(t.value);let e=[`${t.name}=${t.value}`];t.name.startsWith("__Secure-")&&(t.secure=!0),t.name.startsWith("__Host-")&&(t.secure=!0,t.domain=null,t.path="/"),t.secure&&e.push("Secure"),t.httpOnly&&e.push("HttpOnly"),typeof t.maxAge=="number"&&(loe(t.maxAge),e.push(`Max-Age=${t.maxAge}`)),t.domain&&(ooe(t.domain),e.push(`Domain=${t.domain}`)),t.path&&(CL(t.path),e.push(`Path=${t.path}`)),t.expires&&t.expires.toString()!=="Invalid Date"&&e.push(`Expires=${EL(t.expires)}`),t.sameSite&&e.push(`SameSite=${t.sameSite}`);for(let r of t.unparsed){if(!r.includes("="))throw new Error("Invalid unparsed");let[n,...i]=r.split("=");e.push(`${n.trim()}=${i.join("=")}`)}return e.join("; ")}o(Aoe,"stringify");BL.exports={isCTLExcludingHtab:soe,validateCookieName:gL,validateCookiePath:CL,validateCookieValue:yL,toIMFDate:EL,stringify:Aoe}});var bL=g((Hje,IL)=>{"use strict";var{maxNameValuePairSize:uoe,maxAttributeValueSize:doe}=mL(),{isCTLExcludingHtab:poe}=HI(),{collectASequenceOfCodePointsFast:mh}=Br(),hoe=require("node:assert");function foe(t){if(poe(t))return null;let e="",r="",n="",i="";if(t.includes(";")){let s={position:0};e=mh(";",t,s),r=t.slice(s.position)}else e=t;if(!e.includes("="))i=e;else{let s={position:0};n=mh("=",e,s),i=e.slice(s.position+1)}return n=n.trim(),i=i.trim(),n.length+i.length>uoe?null:{name:n,value:i,...fc(r)}}o(foe,"parseSetCookie");function fc(t,e={}){if(t.length===0)return e;hoe(t[0]===";"),t=t.slice(1);let r="";t.includes(";")?(r=mh(";",t,{position:0}),t=t.slice(r.length)):(r=t,t="");let n="",i="";if(r.includes("=")){let a={position:0};n=mh("=",r,a),i=r.slice(a.position+1)}else n=r;if(n=n.trim(),i=i.trim(),i.length>doe)return fc(t,e);let s=n.toLowerCase();if(s==="expires"){let a=new Date(i);e.expires=a}else if(s==="max-age"){let a=i.charCodeAt(0);if((a<48||a>57)&&i[0]!=="-"||!/^\d+$/.test(i))return fc(t,e);let c=Number(i);e.maxAge=c}else if(s==="domain"){let a=i;a[0]==="."&&(a=a.slice(1)),a=a.toLowerCase(),e.domain=a}else if(s==="path"){let a="";i.length===0||i[0]!=="/"?a="/":a=i,e.path=a}else if(s==="secure")e.secure=!0;else if(s==="httponly")e.httpOnly=!0;else if(s==="samesite"){let a="Default",c=i.toLowerCase();c.includes("none")&&(a="None"),c.includes("strict")&&(a="Strict"),c.includes("lax")&&(a="Lax"),e.sameSite=a}else e.unparsed??=[],e.unparsed.push(`${n}=${i}`);return fc(t,e)}o(fc,"parseUnparsedAttributes");IL.exports={parseSetCookie:foe,parseUnparsedAttributes:fc}});var NL=g((jje,wL)=>{"use strict";var{parseSetCookie:moe}=bL(),{stringify:goe}=HI(),{webidl:Ne}=$t(),{Headers:gh}=Mo();function yoe(t){Ne.argumentLengthCheck(arguments,1,"getCookies"),Ne.brandCheck(t,gh,{strict:!1});let e=t.get("cookie"),r={};if(!e)return r;for(let n of e.split(";")){let[i,...s]=n.split("=");r[i.trim()]=s.join("=")}return r}o(yoe,"getCookies");function Coe(t,e,r){Ne.brandCheck(t,gh,{strict:!1});let n="deleteCookie";Ne.argumentLengthCheck(arguments,2,n),e=Ne.converters.DOMString(e,n,"name"),r=Ne.converters.DeleteCookieAttributes(r),QL(t,{name:e,value:"",expires:new Date(0),...r})}o(Coe,"deleteCookie");function Eoe(t){Ne.argumentLengthCheck(arguments,1,"getSetCookies"),Ne.brandCheck(t,gh,{strict:!1});let e=t.getSetCookie();return e?e.map(r=>moe(r)):[]}o(Eoe,"getSetCookies");function QL(t,e){Ne.argumentLengthCheck(arguments,2,"setCookie"),Ne.brandCheck(t,gh,{strict:!1}),e=Ne.converters.Cookie(e);let r=goe(e);r&&t.append("Set-Cookie",r)}o(QL,"setCookie");Ne.converters.DeleteCookieAttributes=Ne.dictionaryConverter([{converter:Ne.nullableConverter(Ne.converters.DOMString),key:"path",defaultValue:()=>null},{converter:Ne.nullableConverter(Ne.converters.DOMString),key:"domain",defaultValue:()=>null}]);Ne.converters.Cookie=Ne.dictionaryConverter([{converter:Ne.converters.DOMString,key:"name"},{converter:Ne.converters.DOMString,key:"value"},{converter:Ne.nullableConverter(t=>typeof t=="number"?Ne.converters["unsigned long long"](t):new Date(t)),key:"expires",defaultValue:()=>null},{converter:Ne.nullableConverter(Ne.converters["long long"]),key:"maxAge",defaultValue:()=>null},{converter:Ne.nullableConverter(Ne.converters.DOMString),key:"domain",defaultValue:()=>null},{converter:Ne.nullableConverter(Ne.converters.DOMString),key:"path",defaultValue:()=>null},{converter:Ne.nullableConverter(Ne.converters.boolean),key:"secure",defaultValue:()=>null},{converter:Ne.nullableConverter(Ne.converters.boolean),key:"httpOnly",defaultValue:()=>null},{converter:Ne.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:Ne.sequenceConverter(Ne.converters.DOMString),key:"unparsed",defaultValue:()=>new Array(0)}]);wL.exports={getCookies:yoe,deleteCookie:Coe,getSetCookies:Eoe,setCookie:QL}});var gc=g((Yje,SL)=>{"use strict";var{webidl:ee}=$t(),{kEnumerableProperty:wr}=Ee(),{kConstruct:xL}=nt(),{MessagePort:Boe}=require("node:worker_threads"),mc=class t extends Event{static{o(this,"MessageEvent")}#e;constructor(e,r={}){if(e===xL){super(arguments[1],arguments[2]),ee.util.markAsUncloneable(this);return}let n="MessageEvent constructor";ee.argumentLengthCheck(arguments,1,n),e=ee.converters.DOMString(e,n,"type"),r=ee.converters.MessageEventInit(r,n,"eventInitDict"),super(e,r),this.#e=r,ee.util.markAsUncloneable(this)}get data(){return ee.brandCheck(this,t),this.#e.data}get origin(){return ee.brandCheck(this,t),this.#e.origin}get lastEventId(){return ee.brandCheck(this,t),this.#e.lastEventId}get source(){return ee.brandCheck(this,t),this.#e.source}get ports(){return ee.brandCheck(this,t),Object.isFrozen(this.#e.ports)||Object.freeze(this.#e.ports),this.#e.ports}initMessageEvent(e,r=!1,n=!1,i=null,s="",a="",c=null,l=[]){return ee.brandCheck(this,t),ee.argumentLengthCheck(arguments,1,"MessageEvent.initMessageEvent"),new t(e,{bubbles:r,cancelable:n,data:i,origin:s,lastEventId:a,source:c,ports:l})}static createFastMessageEvent(e,r){let n=new t(xL,e,r);return n.#e=r,n.#e.data??=null,n.#e.origin??="",n.#e.lastEventId??="",n.#e.source??=null,n.#e.ports??=[],n}},{createFastMessageEvent:Ioe}=mc;delete mc.createFastMessageEvent;var yh=class t extends Event{static{o(this,"CloseEvent")}#e;constructor(e,r={}){let n="CloseEvent constructor";ee.argumentLengthCheck(arguments,1,n),e=ee.converters.DOMString(e,n,"type"),r=ee.converters.CloseEventInit(r),super(e,r),this.#e=r,ee.util.markAsUncloneable(this)}get wasClean(){return ee.brandCheck(this,t),this.#e.wasClean}get code(){return ee.brandCheck(this,t),this.#e.code}get reason(){return ee.brandCheck(this,t),this.#e.reason}},Ch=class t extends Event{static{o(this,"ErrorEvent")}#e;constructor(e,r){let n="ErrorEvent constructor";ee.argumentLengthCheck(arguments,1,n),super(e,r),ee.util.markAsUncloneable(this),e=ee.converters.DOMString(e,n,"type"),r=ee.converters.ErrorEventInit(r??{}),this.#e=r}get message(){return ee.brandCheck(this,t),this.#e.message}get filename(){return ee.brandCheck(this,t),this.#e.filename}get lineno(){return ee.brandCheck(this,t),this.#e.lineno}get colno(){return ee.brandCheck(this,t),this.#e.colno}get error(){return ee.brandCheck(this,t),this.#e.error}};Object.defineProperties(mc.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:!0},data:wr,origin:wr,lastEventId:wr,source:wr,ports:wr,initMessageEvent:wr});Object.defineProperties(yh.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:!0},reason:wr,code:wr,wasClean:wr});Object.defineProperties(Ch.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:!0},message:wr,filename:wr,lineno:wr,colno:wr,error:wr});ee.converters.MessagePort=ee.interfaceConverter(Boe);ee.converters["sequence"]=ee.sequenceConverter(ee.converters.MessagePort);var zI=[{key:"bubbles",converter:ee.converters.boolean,defaultValue:()=>!1},{key:"cancelable",converter:ee.converters.boolean,defaultValue:()=>!1},{key:"composed",converter:ee.converters.boolean,defaultValue:()=>!1}];ee.converters.MessageEventInit=ee.dictionaryConverter([...zI,{key:"data",converter:ee.converters.any,defaultValue:()=>null},{key:"origin",converter:ee.converters.USVString,defaultValue:()=>""},{key:"lastEventId",converter:ee.converters.DOMString,defaultValue:()=>""},{key:"source",converter:ee.nullableConverter(ee.converters.MessagePort),defaultValue:()=>null},{key:"ports",converter:ee.converters["sequence"],defaultValue:()=>new Array(0)}]);ee.converters.CloseEventInit=ee.dictionaryConverter([...zI,{key:"wasClean",converter:ee.converters.boolean,defaultValue:()=>!1},{key:"code",converter:ee.converters["unsigned short"],defaultValue:()=>0},{key:"reason",converter:ee.converters.USVString,defaultValue:()=>""}]);ee.converters.ErrorEventInit=ee.dictionaryConverter([...zI,{key:"message",converter:ee.converters.DOMString,defaultValue:()=>""},{key:"filename",converter:ee.converters.USVString,defaultValue:()=>""},{key:"lineno",converter:ee.converters["unsigned long"],defaultValue:()=>0},{key:"colno",converter:ee.converters["unsigned long"],defaultValue:()=>0},{key:"error",converter:ee.converters.any}]);SL.exports={MessageEvent:mc,CloseEvent:yh,ErrorEvent:Ch,createFastMessageEvent:Ioe}});var Ho=g((Vje,RL)=>{"use strict";var boe="258EAFA5-E914-47DA-95CA-C5AB0DC85B11",Qoe={enumerable:!0,writable:!1,configurable:!1},woe={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3},Noe={NOT_SENT:0,PROCESSING:1,SENT:2},xoe={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10},Soe=2**16-1,Roe={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4},_oe=Buffer.allocUnsafe(0),voe={string:1,typedArray:2,arrayBuffer:3,blob:4};RL.exports={uid:boe,sentCloseFrameState:Noe,staticPropertyDescriptors:Qoe,states:woe,opcodes:xoe,maxUnsigned16Bit:Soe,parserStates:Roe,emptyBuffer:_oe,sendHints:voe}});var WA=g((Wje,_L)=>{"use strict";_L.exports={kWebSocketURL:Symbol("url"),kReadyState:Symbol("ready state"),kController:Symbol("controller"),kResponse:Symbol("response"),kBinaryType:Symbol("binary type"),kSentClose:Symbol("sent close"),kReceivedClose:Symbol("received close"),kByteParser:Symbol("byte parser")}});var XA=g(($je,UL)=>{"use strict";var{kReadyState:$A,kController:Poe,kResponse:Doe,kBinaryType:Toe,kWebSocketURL:Ooe}=WA(),{states:KA,opcodes:Ls}=Ho(),{ErrorEvent:Moe,createFastMessageEvent:koe}=gc(),{isUtf8:Loe}=require("node:buffer"),{collectASequenceOfCodePointsFast:Uoe,removeHTTPWhitespace:vL}=Br();function Foe(t){return t[$A]===KA.CONNECTING}o(Foe,"isConnecting");function qoe(t){return t[$A]===KA.OPEN}o(qoe,"isEstablished");function Hoe(t){return t[$A]===KA.CLOSING}o(Hoe,"isClosing");function zoe(t){return t[$A]===KA.CLOSED}o(zoe,"isClosed");function jI(t,e,r=(i,s)=>new Event(i,s),n={}){let i=r(t,n);e.dispatchEvent(i)}o(jI,"fireEvent");function joe(t,e,r){if(t[$A]!==KA.OPEN)return;let n;if(e===Ls.TEXT)try{n=LL(r)}catch{DL(t,"Received invalid UTF-8 in text frame.");return}else e===Ls.BINARY&&(t[Toe]==="blob"?n=new Blob([r]):n=Goe(r));jI("message",t,koe,{origin:t[Ooe].origin,data:n})}o(joe,"websocketMessageReceived");function Goe(t){return t.byteLength===t.buffer.byteLength?t.buffer:t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength)}o(Goe,"toArrayBuffer");function Yoe(t){if(t.length===0)return!1;for(let e=0;e126||r===34||r===40||r===41||r===44||r===47||r===58||r===59||r===60||r===61||r===62||r===63||r===64||r===91||r===92||r===93||r===123||r===125)return!1}return!0}o(Yoe,"isValidSubprotocol");function Joe(t){return t>=1e3&&t<1015?t!==1004&&t!==1005&&t!==1006:t>=3e3&&t<=4999}o(Joe,"isValidStatusCode");function DL(t,e){let{[Poe]:r,[Doe]:n}=t;r.abort(),n?.socket&&!n.socket.destroyed&&n.socket.destroy(),e&&jI("error",t,(i,s)=>new Moe(i,s),{error:new Error(e),message:e})}o(DL,"failWebsocketConnection");function TL(t){return t===Ls.CLOSE||t===Ls.PING||t===Ls.PONG}o(TL,"isControlFrame");function OL(t){return t===Ls.CONTINUATION}o(OL,"isContinuationFrame");function ML(t){return t===Ls.TEXT||t===Ls.BINARY}o(ML,"isTextBinaryFrame");function Voe(t){return ML(t)||OL(t)||TL(t)}o(Voe,"isValidOpcode");function Woe(t){let e={position:0},r=new Map;for(;e.position57)return!1}return!0}o($oe,"isValidClientWindowBits");var kL=typeof process.versions.icu=="string",PL=kL?new TextDecoder("utf-8",{fatal:!0}):void 0,LL=kL?PL.decode.bind(PL):function(t){if(Loe(t))return t.toString("utf-8");throw new TypeError("Invalid utf-8 received.")};UL.exports={isConnecting:Foe,isEstablished:qoe,isClosing:Hoe,isClosed:zoe,fireEvent:jI,isValidSubprotocol:Yoe,isValidStatusCode:Joe,failWebsocketConnection:DL,websocketMessageReceived:joe,utf8Decode:LL,isControlFrame:TL,isContinuationFrame:OL,isTextBinaryFrame:ML,isValidOpcode:Voe,parseExtensions:Woe,isValidClientWindowBits:$oe}});var Bh=g((Xje,FL)=>{"use strict";var{maxUnsigned16Bit:Koe}=Ho(),Eh=16386,GI,ZA=null,yc=Eh;try{GI=require("node:crypto")}catch{GI={randomFillSync:o(function(e,r,n){for(let i=0;iKoe?(a+=8,s=127):i>125&&(a+=2,s=126);let c=Buffer.allocUnsafe(i+a);c[0]=c[1]=0,c[0]|=128,c[0]=(c[0]&240)+e;c[a-4]=n[0],c[a-3]=n[1],c[a-2]=n[2],c[a-1]=n[3],c[1]=s,s===126?c.writeUInt16BE(i,2):s===127&&(c[2]=c[3]=0,c.writeUIntBE(i,4,6)),c[1]|=128;for(let l=0;l{"use strict";var{uid:Zoe,states:eu,sentCloseFrameState:Ih,emptyBuffer:eae,opcodes:tae}=Ho(),{kReadyState:tu,kSentClose:bh,kByteParser:HL,kReceivedClose:qL,kResponse:zL}=WA(),{fireEvent:rae,failWebsocketConnection:Us,isClosing:nae,isClosed:iae,isEstablished:sae,parseExtensions:oae}=XA(),{channels:Cc}=_a(),{CloseEvent:aae}=gc(),{makeRequest:cae}=uc(),{fetching:lae}=GA(),{Headers:Aae,getHeadersList:uae}=Mo(),{getDecodeSplit:dae}=Ur(),{WebsocketFrameSend:pae}=Bh(),JI;try{JI=require("node:crypto")}catch{}function hae(t,e,r,n,i,s){let a=t;a.protocol=t.protocol==="ws:"?"http:":"https:";let c=cae({urlList:[a],client:r,serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(s.headers){let d=uae(new Aae(s.headers));c.headersList=d}let l=JI.randomBytes(16).toString("base64");c.headersList.append("sec-websocket-key",l),c.headersList.append("sec-websocket-version","13");for(let d of e)c.headersList.append("sec-websocket-protocol",d);return c.headersList.append("sec-websocket-extensions","permessage-deflate; client_max_window_bits"),lae({request:c,useParallelQueue:!0,dispatcher:s.dispatcher,processResponse(d){if(d.type==="error"||d.status!==101){Us(n,"Received network error or non-101 status code.");return}if(e.length!==0&&!d.headersList.get("Sec-WebSocket-Protocol")){Us(n,"Server did not respond with sent protocols.");return}if(d.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){Us(n,'Server did not set Upgrade header to "websocket".');return}if(d.headersList.get("Connection")?.toLowerCase()!=="upgrade"){Us(n,'Server did not set Connection header to "upgrade".');return}let f=d.headersList.get("Sec-WebSocket-Accept"),m=JI.createHash("sha1").update(l+Zoe).digest("base64");if(f!==m){Us(n,"Incorrect hash received in Sec-WebSocket-Accept header.");return}let C=d.headersList.get("Sec-WebSocket-Extensions"),Q;if(C!==null&&(Q=oae(C),!Q.has("permessage-deflate"))){Us(n,"Sec-WebSocket-Extensions header does not match.");return}let S=d.headersList.get("Sec-WebSocket-Protocol");if(S!==null&&!dae("sec-websocket-protocol",c.headersList).includes(S)){Us(n,"Protocol was not set in the opening handshake.");return}d.socket.on("data",jL),d.socket.on("close",GL),d.socket.on("error",YL),Cc.open.hasSubscribers&&Cc.open.publish({address:d.socket.address(),protocol:S,extensions:C}),i(d,Q)}})}o(hae,"establishWebSocketConnection");function fae(t,e,r,n){if(!(nae(t)||iae(t)))if(!sae(t))Us(t,"Connection was closed before it was established."),t[tu]=eu.CLOSING;else if(t[bh]===Ih.NOT_SENT){t[bh]=Ih.PROCESSING;let i=new pae;e!==void 0&&r===void 0?(i.frameData=Buffer.allocUnsafe(2),i.frameData.writeUInt16BE(e,0)):e!==void 0&&r!==void 0?(i.frameData=Buffer.allocUnsafe(2+n),i.frameData.writeUInt16BE(e,0),i.frameData.write(r,2,"utf-8")):i.frameData=eae,t[zL].socket.write(i.createFrame(tae.CLOSE)),t[bh]=Ih.SENT,t[tu]=eu.CLOSING}else t[tu]=eu.CLOSING}o(fae,"closeWebSocketConnection");function jL(t){this.ws[HL].write(t)||this.pause()}o(jL,"onSocketData");function GL(){let{ws:t}=this,{[zL]:e}=t;e.socket.off("data",jL),e.socket.off("close",GL),e.socket.off("error",YL);let r=t[bh]===Ih.SENT&&t[qL],n=1005,i="",s=t[HL].closingInfo;s&&!s.error?(n=s.code??1005,i=s.reason):t[qL]||(n=1006),t[tu]=eu.CLOSED,rae("close",t,(a,c)=>new aae(a,c),{wasClean:r,code:n,reason:i}),Cc.close.hasSubscribers&&Cc.close.publish({websocket:t,code:n,reason:i})}o(GL,"onSocketClose");function YL(t){let{ws:e}=this;e[tu]=eu.CLOSING,Cc.socketError.hasSubscribers&&Cc.socketError.publish(t),this.destroy()}o(YL,"onSocketError");JL.exports={establishWebSocketConnection:hae,closeWebSocketConnection:fae}});var WL=g((rGe,VL)=>{"use strict";var{createInflateRaw:mae,Z_DEFAULT_WINDOWBITS:gae}=require("node:zlib"),{isValidClientWindowBits:yae}=XA(),Cae=Buffer.from([0,0,255,255]),Qh=Symbol("kBuffer"),wh=Symbol("kLength"),WI=class{static{o(this,"PerMessageDeflate")}#e;#t={};constructor(e){this.#t.serverNoContextTakeover=e.has("server_no_context_takeover"),this.#t.serverMaxWindowBits=e.get("server_max_window_bits")}decompress(e,r,n){if(!this.#e){let i=gae;if(this.#t.serverMaxWindowBits){if(!yae(this.#t.serverMaxWindowBits)){n(new Error("Invalid server_max_window_bits"));return}i=Number.parseInt(this.#t.serverMaxWindowBits)}this.#e=mae({windowBits:i}),this.#e[Qh]=[],this.#e[wh]=0,this.#e.on("data",s=>{this.#e[Qh].push(s),this.#e[wh]+=s.length}),this.#e.on("error",s=>{this.#e=null,n(s)})}this.#e.write(e),r&&this.#e.write(Cae),this.#e.flush(()=>{let i=Buffer.concat(this.#e[Qh],this.#e[wh]);this.#e[Qh].length=0,this.#e[wh]=0,n(null,i)})}};VL.exports={PerMessageDeflate:WI}});var oU=g((iGe,sU)=>{"use strict";var{Writable:Eae}=require("node:stream"),Bae=require("node:assert"),{parserStates:Nr,opcodes:Ec,states:Iae,emptyBuffer:$L,sentCloseFrameState:KL}=Ho(),{kReadyState:bae,kSentClose:XL,kResponse:ZL,kReceivedClose:eU}=WA(),{channels:Nh}=_a(),{isValidStatusCode:Qae,isValidOpcode:wae,failWebsocketConnection:yn,websocketMessageReceived:tU,utf8Decode:Nae,isControlFrame:rU,isTextBinaryFrame:$I,isContinuationFrame:xae}=XA(),{WebsocketFrameSend:nU}=Bh(),{closeWebSocketConnection:iU}=VI(),{PerMessageDeflate:Sae}=WL(),KI=class extends Eae{static{o(this,"ByteParser")}#e=[];#t=0;#i=!1;#n=Nr.INFO;#r={};#s=[];#o;constructor(e,r){super(),this.ws=e,this.#o=r??new Map,this.#o.has("permessage-deflate")&&this.#o.set("permessage-deflate",new Sae(r))}_write(e,r,n){this.#e.push(e),this.#t+=e.length,this.#i=!0,this.run(n)}run(e){for(;this.#i;)if(this.#n===Nr.INFO){if(this.#t<2)return e();let r=this.consume(2),n=(r[0]&128)!==0,i=r[0]&15,s=(r[1]&128)===128,a=!n&&i!==Ec.CONTINUATION,c=r[1]&127,l=r[0]&64,A=r[0]&32,u=r[0]&16;if(!wae(i))return yn(this.ws,"Invalid opcode received"),e();if(s)return yn(this.ws,"Frame cannot be masked"),e();if(l!==0&&!this.#o.has("permessage-deflate")){yn(this.ws,"Expected RSV1 to be clear.");return}if(A!==0||u!==0){yn(this.ws,"RSV1, RSV2, RSV3 must be clear");return}if(a&&!$I(i)){yn(this.ws,"Invalid frame type was fragmented.");return}if($I(i)&&this.#s.length>0){yn(this.ws,"Expected continuation frame");return}if(this.#r.fragmented&&a){yn(this.ws,"Fragmented frame exceeded 125 bytes.");return}if((c>125||a)&&rU(i)){yn(this.ws,"Control frame either too large or fragmented");return}if(xae(i)&&this.#s.length===0&&!this.#r.compressed){yn(this.ws,"Unexpected continuation frame");return}c<=125?(this.#r.payloadLength=c,this.#n=Nr.READ_DATA):c===126?this.#n=Nr.PAYLOADLENGTH_16:c===127&&(this.#n=Nr.PAYLOADLENGTH_64),$I(i)&&(this.#r.binaryType=i,this.#r.compressed=l!==0),this.#r.opcode=i,this.#r.masked=s,this.#r.fin=n,this.#r.fragmented=a}else if(this.#n===Nr.PAYLOADLENGTH_16){if(this.#t<2)return e();let r=this.consume(2);this.#r.payloadLength=r.readUInt16BE(0),this.#n=Nr.READ_DATA}else if(this.#n===Nr.PAYLOADLENGTH_64){if(this.#t<8)return e();let r=this.consume(8),n=r.readUInt32BE(0);if(n>2**31-1){yn(this.ws,"Received payload length > 2^31 bytes.");return}let i=r.readUInt32BE(4);this.#r.payloadLength=(n<<8)+i,this.#n=Nr.READ_DATA}else if(this.#n===Nr.READ_DATA){if(this.#t{if(n){iU(this.ws,1007,n.message,n.message.length);return}if(this.#s.push(i),!this.#r.fin){this.#n=Nr.INFO,this.#i=!0,this.run(e);return}tU(this.ws,this.#r.binaryType,Buffer.concat(this.#s)),this.#i=!0,this.#n=Nr.INFO,this.#s.length=0,this.run(e)}),this.#i=!1;break}else{if(this.#s.push(r),!this.#r.fragmented&&this.#r.fin){let n=Buffer.concat(this.#s);tU(this.ws,this.#r.binaryType,n),this.#s.length=0}this.#n=Nr.INFO}}}consume(e){if(e>this.#t)throw new Error("Called consume() before buffers satiated.");if(e===0)return $L;if(this.#e[0].length===e)return this.#t-=this.#e[0].length,this.#e.shift();let r=Buffer.allocUnsafe(e),n=0;for(;n!==e;){let i=this.#e[0],{length:s}=i;if(s+n===e){r.set(this.#e.shift(),n);break}else if(s+n>e){r.set(i.subarray(0,e-n),n),this.#e[0]=i.subarray(e-n);break}else r.set(this.#e.shift(),n),n+=i.length}return this.#t-=e,r}parseCloseBody(e){Bae(e.length!==1);let r;if(e.length>=2&&(r=e.readUInt16BE(0)),r!==void 0&&!Qae(r))return{code:1002,reason:"Invalid status code",error:!0};let n=e.subarray(2);n[0]===239&&n[1]===187&&n[2]===191&&(n=n.subarray(3));try{n=Nae(n)}catch{return{code:1007,reason:"Invalid UTF-8",error:!0}}return{code:r,reason:n,error:!1}}parseControlFrame(e){let{opcode:r,payloadLength:n}=this.#r;if(r===Ec.CLOSE){if(n===1)return yn(this.ws,"Received close frame with a 1-byte body."),!1;if(this.#r.closeInfo=this.parseCloseBody(e),this.#r.closeInfo.error){let{code:i,reason:s}=this.#r.closeInfo;return iU(this.ws,i,s,s.length),yn(this.ws,s),!1}if(this.ws[XL]!==KL.SENT){let i=$L;this.#r.closeInfo.code&&(i=Buffer.allocUnsafe(2),i.writeUInt16BE(this.#r.closeInfo.code,0));let s=new nU(i);this.ws[ZL].socket.write(s.createFrame(Ec.CLOSE),a=>{a||(this.ws[XL]=KL.SENT)})}return this.ws[bae]=Iae.CLOSING,this.ws[eU]=!0,!1}else if(r===Ec.PING){if(!this.ws[eU]){let i=new nU(e);this.ws[ZL].socket.write(i.createFrame(Ec.PONG)),Nh.ping.hasSubscribers&&Nh.ping.publish({payload:e})}}else r===Ec.PONG&&Nh.pong.hasSubscribers&&Nh.pong.publish({payload:e});return!0}get closingInfo(){return this.#r.closeInfo}};sU.exports={ByteParser:KI}});var uU=g((oGe,AU)=>{"use strict";var{WebsocketFrameSend:Rae}=Bh(),{opcodes:aU,sendHints:Bc}=Ho(),_ae=aB(),cU=Buffer[Symbol.species],XI=class{static{o(this,"SendQueue")}#e=new _ae;#t=!1;#i;constructor(e){this.#i=e}add(e,r,n){if(n!==Bc.blob){let s=lU(e,n);if(!this.#t)this.#i.write(s,r);else{let a={promise:null,callback:r,frame:s};this.#e.push(a)}return}let i={promise:e.arrayBuffer().then(s=>{i.promise=null,i.frame=lU(s,n)}),callback:r,frame:null};this.#e.push(i),this.#t||this.#n()}async#n(){this.#t=!0;let e=this.#e;for(;!e.isEmpty();){let r=e.shift();r.promise!==null&&await r.promise,this.#i.write(r.frame,r.callback),r.callback=r.frame=null}this.#t=!1}};function lU(t,e){return new Rae(vae(t,e)).createFrame(e===Bc.string?aU.TEXT:aU.BINARY)}o(lU,"createFrame");function vae(t,e){switch(e){case Bc.string:return Buffer.from(t);case Bc.arrayBuffer:case Bc.blob:return new cU(t);case Bc.typedArray:return new cU(t.buffer,t.byteOffset,t.byteLength)}}o(vae,"toBuffer");AU.exports={SendQueue:XI}});var EU=g((cGe,CU)=>{"use strict";var{webidl:Ae}=$t(),{URLSerializer:Pae}=Br(),{environmentSettingsObject:dU}=Ur(),{staticPropertyDescriptors:Fs,states:ru,sentCloseFrameState:Dae,sendHints:xh}=Ho(),{kWebSocketURL:pU,kReadyState:ZI,kController:Tae,kBinaryType:Sh,kResponse:hU,kSentClose:Oae,kByteParser:Mae}=WA(),{isConnecting:kae,isEstablished:Lae,isClosing:Uae,isValidSubprotocol:Fae,fireEvent:fU}=XA(),{establishWebSocketConnection:qae,closeWebSocketConnection:mU}=VI(),{ByteParser:Hae}=oU(),{kEnumerableProperty:Cn,isBlobLike:gU}=Ee(),{getGlobalDispatcher:zae}=Hp(),{types:yU}=require("node:util"),{ErrorEvent:jae,CloseEvent:Gae}=gc(),{SendQueue:Yae}=uU(),Yr=class t extends EventTarget{static{o(this,"WebSocket")}#e={open:null,error:null,close:null,message:null};#t=0;#i="";#n="";#r;constructor(e,r=[]){super(),Ae.util.markAsUncloneable(this);let n="WebSocket constructor";Ae.argumentLengthCheck(arguments,1,n);let i=Ae.converters["DOMString or sequence or WebSocketInit"](r,n,"options");e=Ae.converters.USVString(e,n,"url"),r=i.protocols;let s=dU.settingsObject.baseUrl,a;try{a=new URL(e,s)}catch(l){throw new DOMException(l,"SyntaxError")}if(a.protocol==="http:"?a.protocol="ws:":a.protocol==="https:"&&(a.protocol="wss:"),a.protocol!=="ws:"&&a.protocol!=="wss:")throw new DOMException(`Expected a ws: or wss: protocol, got ${a.protocol}`,"SyntaxError");if(a.hash||a.href.endsWith("#"))throw new DOMException("Got fragment","SyntaxError");if(typeof r=="string"&&(r=[r]),r.length!==new Set(r.map(l=>l.toLowerCase())).size)throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");if(r.length>0&&!r.every(l=>Fae(l)))throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");this[pU]=new URL(a.href);let c=dU.settingsObject;this[Tae]=qae(a,r,c,this,(l,A)=>this.#s(l,A),i),this[ZI]=t.CONNECTING,this[Oae]=Dae.NOT_SENT,this[Sh]="blob"}close(e=void 0,r=void 0){Ae.brandCheck(this,t);let n="WebSocket.close";if(e!==void 0&&(e=Ae.converters["unsigned short"](e,n,"code",{clamp:!0})),r!==void 0&&(r=Ae.converters.USVString(r,n,"reason")),e!==void 0&&e!==1e3&&(e<3e3||e>4999))throw new DOMException("invalid code","InvalidAccessError");let i=0;if(r!==void 0&&(i=Buffer.byteLength(r),i>123))throw new DOMException(`Reason must be less than 123 bytes; received ${i}`,"SyntaxError");mU(this,e,r,i)}send(e){Ae.brandCheck(this,t);let r="WebSocket.send";if(Ae.argumentLengthCheck(arguments,1,r),e=Ae.converters.WebSocketSendData(e,r,"data"),kae(this))throw new DOMException("Sent before connected.","InvalidStateError");if(!(!Lae(this)||Uae(this)))if(typeof e=="string"){let n=Buffer.byteLength(e);this.#t+=n,this.#r.add(e,()=>{this.#t-=n},xh.string)}else yU.isArrayBuffer(e)?(this.#t+=e.byteLength,this.#r.add(e,()=>{this.#t-=e.byteLength},xh.arrayBuffer)):ArrayBuffer.isView(e)?(this.#t+=e.byteLength,this.#r.add(e,()=>{this.#t-=e.byteLength},xh.typedArray)):gU(e)&&(this.#t+=e.size,this.#r.add(e,()=>{this.#t-=e.size},xh.blob))}get readyState(){return Ae.brandCheck(this,t),this[ZI]}get bufferedAmount(){return Ae.brandCheck(this,t),this.#t}get url(){return Ae.brandCheck(this,t),Pae(this[pU])}get extensions(){return Ae.brandCheck(this,t),this.#n}get protocol(){return Ae.brandCheck(this,t),this.#i}get onopen(){return Ae.brandCheck(this,t),this.#e.open}set onopen(e){Ae.brandCheck(this,t),this.#e.open&&this.removeEventListener("open",this.#e.open),typeof e=="function"?(this.#e.open=e,this.addEventListener("open",e)):this.#e.open=null}get onerror(){return Ae.brandCheck(this,t),this.#e.error}set onerror(e){Ae.brandCheck(this,t),this.#e.error&&this.removeEventListener("error",this.#e.error),typeof e=="function"?(this.#e.error=e,this.addEventListener("error",e)):this.#e.error=null}get onclose(){return Ae.brandCheck(this,t),this.#e.close}set onclose(e){Ae.brandCheck(this,t),this.#e.close&&this.removeEventListener("close",this.#e.close),typeof e=="function"?(this.#e.close=e,this.addEventListener("close",e)):this.#e.close=null}get onmessage(){return Ae.brandCheck(this,t),this.#e.message}set onmessage(e){Ae.brandCheck(this,t),this.#e.message&&this.removeEventListener("message",this.#e.message),typeof e=="function"?(this.#e.message=e,this.addEventListener("message",e)):this.#e.message=null}get binaryType(){return Ae.brandCheck(this,t),this[Sh]}set binaryType(e){Ae.brandCheck(this,t),e!=="blob"&&e!=="arraybuffer"?this[Sh]="blob":this[Sh]=e}#s(e,r){this[hU]=e;let n=new Hae(this,r);n.on("drain",Jae),n.on("error",Vae.bind(this)),e.socket.ws=this,this[Mae]=n,this.#r=new Yae(e.socket),this[ZI]=ru.OPEN;let i=e.headersList.get("sec-websocket-extensions");i!==null&&(this.#n=i);let s=e.headersList.get("sec-websocket-protocol");s!==null&&(this.#i=s),fU("open",this)}};Yr.CONNECTING=Yr.prototype.CONNECTING=ru.CONNECTING;Yr.OPEN=Yr.prototype.OPEN=ru.OPEN;Yr.CLOSING=Yr.prototype.CLOSING=ru.CLOSING;Yr.CLOSED=Yr.prototype.CLOSED=ru.CLOSED;Object.defineProperties(Yr.prototype,{CONNECTING:Fs,OPEN:Fs,CLOSING:Fs,CLOSED:Fs,url:Cn,readyState:Cn,bufferedAmount:Cn,onopen:Cn,onerror:Cn,onclose:Cn,close:Cn,onmessage:Cn,binaryType:Cn,send:Cn,extensions:Cn,protocol:Cn,[Symbol.toStringTag]:{value:"WebSocket",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(Yr,{CONNECTING:Fs,OPEN:Fs,CLOSING:Fs,CLOSED:Fs});Ae.converters["sequence"]=Ae.sequenceConverter(Ae.converters.DOMString);Ae.converters["DOMString or sequence"]=function(t,e,r){return Ae.util.Type(t)==="Object"&&Symbol.iterator in t?Ae.converters["sequence"](t):Ae.converters.DOMString(t,e,r)};Ae.converters.WebSocketInit=Ae.dictionaryConverter([{key:"protocols",converter:Ae.converters["DOMString or sequence"],defaultValue:()=>new Array(0)},{key:"dispatcher",converter:Ae.converters.any,defaultValue:()=>zae()},{key:"headers",converter:Ae.nullableConverter(Ae.converters.HeadersInit)}]);Ae.converters["DOMString or sequence or WebSocketInit"]=function(t){return Ae.util.Type(t)==="Object"&&!(Symbol.iterator in t)?Ae.converters.WebSocketInit(t):{protocols:Ae.converters["DOMString or sequence"](t)}};Ae.converters.WebSocketSendData=function(t){if(Ae.util.Type(t)==="Object"){if(gU(t))return Ae.converters.Blob(t,{strict:!1});if(ArrayBuffer.isView(t)||yU.isArrayBuffer(t))return Ae.converters.BufferSource(t)}return Ae.converters.USVString(t)};function Jae(){this.ws[hU].socket.resume()}o(Jae,"onParserDrain");function Vae(t){let e,r;t instanceof Gae?(e=t.reason,r=t.code):e=t.message,fU("error",this,()=>new jae("error",{error:t,message:e})),mU(this,r)}o(Vae,"onParserError");CU.exports={WebSocket:Yr}});var eb=g((AGe,BU)=>{"use strict";function Wae(t){return t.indexOf("\0")===-1}o(Wae,"isValidLastEventId");function $ae(t){if(t.length===0)return!1;for(let e=0;e57)return!1;return!0}o($ae,"isASCIINumber");function Kae(t){return new Promise(e=>{setTimeout(e,t).unref()})}o(Kae,"delay");BU.exports={isValidLastEventId:Wae,isASCIINumber:$ae,delay:Kae}});var wU=g((dGe,QU)=>{"use strict";var{Transform:Xae}=require("node:stream"),{isASCIINumber:IU,isValidLastEventId:bU}=eb(),os=[239,187,191],tb=10,Rh=13,Zae=58,ece=32,rb=class extends Xae{static{o(this,"EventSourceStream")}state=null;checkBOM=!0;crlfCheck=!1;eventEndCheck=!1;buffer=null;pos=0;event={data:void 0,event:void 0,id:void 0,retry:void 0};constructor(e={}){e.readableObjectMode=!0,super(e),this.state=e.eventSourceSettings||{},e.push&&(this.push=e.push)}_transform(e,r,n){if(e.length===0){n();return}if(this.buffer?this.buffer=Buffer.concat([this.buffer,e]):this.buffer=e,this.checkBOM)switch(this.buffer.length){case 1:if(this.buffer[0]===os[0]){n();return}this.checkBOM=!1,n();return;case 2:if(this.buffer[0]===os[0]&&this.buffer[1]===os[1]){n();return}this.checkBOM=!1;break;case 3:if(this.buffer[0]===os[0]&&this.buffer[1]===os[1]&&this.buffer[2]===os[2]){this.buffer=Buffer.alloc(0),this.checkBOM=!1,n();return}this.checkBOM=!1;break;default:this.buffer[0]===os[0]&&this.buffer[1]===os[1]&&this.buffer[2]===os[2]&&(this.buffer=this.buffer.subarray(3)),this.checkBOM=!1;break}for(;this.pos0&&(r[i]=s);break}}processEvent(e){e.retry&&IU(e.retry)&&(this.state.reconnectionTime=parseInt(e.retry,10)),e.id&&bU(e.id)&&(this.state.lastEventId=e.id),e.data!==void 0&&this.push({type:e.event||"message",options:{data:e.data,lastEventId:this.state.lastEventId,origin:this.state.origin}})}clearEvent(){this.event={data:void 0,event:void 0,id:void 0,retry:void 0}}};QU.exports={EventSourceStream:rb}});var DU=g((hGe,PU)=>{"use strict";var{pipeline:tce}=require("node:stream"),{fetching:rce}=GA(),{makeRequest:nce}=uc(),{webidl:as}=$t(),{EventSourceStream:ice}=wU(),{parseMIMEType:sce}=Br(),{createFastMessageEvent:oce}=gc(),{isNetworkError:NU}=zA(),{delay:ace}=eb(),{kEnumerableProperty:zo}=Ee(),{environmentSettingsObject:xU}=Ur(),SU=!1,RU=3e3,nu=0,_U=1,iu=2,cce="anonymous",lce="use-credentials",Ic=class t extends EventTarget{static{o(this,"EventSource")}#e={open:null,error:null,message:null};#t=null;#i=!1;#n=nu;#r=null;#s=null;#o;#a;constructor(e,r={}){super(),as.util.markAsUncloneable(this);let n="EventSource constructor";as.argumentLengthCheck(arguments,1,n),SU||(SU=!0,process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})),e=as.converters.USVString(e,n,"url"),r=as.converters.EventSourceInitDict(r,n,"eventSourceInitDict"),this.#o=r.dispatcher,this.#a={lastEventId:"",reconnectionTime:RU};let i=xU,s;try{s=new URL(e,i.settingsObject.baseUrl),this.#a.origin=s.origin}catch(l){throw new DOMException(l,"SyntaxError")}this.#t=s.href;let a=cce;r.withCredentials&&(a=lce,this.#i=!0);let c={redirect:"follow",keepalive:!0,mode:"cors",credentials:a==="anonymous"?"same-origin":"omit",referrer:"no-referrer"};c.client=xU.settingsObject,c.headersList=[["accept",{name:"accept",value:"text/event-stream"}]],c.cache="no-store",c.initiator="other",c.urlList=[new URL(this.#t)],this.#r=nce(c),this.#c()}get readyState(){return this.#n}get url(){return this.#t}get withCredentials(){return this.#i}#c(){if(this.#n===iu)return;this.#n=nu;let e={request:this.#r,dispatcher:this.#o},r=o(n=>{NU(n)&&(this.dispatchEvent(new Event("error")),this.close()),this.#l()},"processEventSourceEndOfBody");e.processResponseEndOfBody=r,e.processResponse=n=>{if(NU(n))if(n.aborted){this.close(),this.dispatchEvent(new Event("error"));return}else{this.#l();return}let i=n.headersList.get("content-type",!0),s=i!==null?sce(i):"failure",a=s!=="failure"&&s.essence==="text/event-stream";if(n.status!==200||a===!1){this.close(),this.dispatchEvent(new Event("error"));return}this.#n=_U,this.dispatchEvent(new Event("open")),this.#a.origin=n.urlList[n.urlList.length-1].origin;let c=new ice({eventSourceSettings:this.#a,push:l=>{this.dispatchEvent(oce(l.type,l.options))}});tce(n.body.stream,c,l=>{l?.aborted===!1&&(this.close(),this.dispatchEvent(new Event("error")))})},this.#s=rce(e)}async#l(){this.#n!==iu&&(this.#n=nu,this.dispatchEvent(new Event("error")),await ace(this.#a.reconnectionTime),this.#n===nu&&(this.#a.lastEventId.length&&this.#r.headersList.set("last-event-id",this.#a.lastEventId,!0),this.#c()))}close(){as.brandCheck(this,t),this.#n!==iu&&(this.#n=iu,this.#s.abort(),this.#r=null)}get onopen(){return this.#e.open}set onopen(e){this.#e.open&&this.removeEventListener("open",this.#e.open),typeof e=="function"?(this.#e.open=e,this.addEventListener("open",e)):this.#e.open=null}get onmessage(){return this.#e.message}set onmessage(e){this.#e.message&&this.removeEventListener("message",this.#e.message),typeof e=="function"?(this.#e.message=e,this.addEventListener("message",e)):this.#e.message=null}get onerror(){return this.#e.error}set onerror(e){this.#e.error&&this.removeEventListener("error",this.#e.error),typeof e=="function"?(this.#e.error=e,this.addEventListener("error",e)):this.#e.error=null}},vU={CONNECTING:{__proto__:null,configurable:!1,enumerable:!0,value:nu,writable:!1},OPEN:{__proto__:null,configurable:!1,enumerable:!0,value:_U,writable:!1},CLOSED:{__proto__:null,configurable:!1,enumerable:!0,value:iu,writable:!1}};Object.defineProperties(Ic,vU);Object.defineProperties(Ic.prototype,vU);Object.defineProperties(Ic.prototype,{close:zo,onerror:zo,onmessage:zo,onopen:zo,readyState:zo,url:zo,withCredentials:zo});as.converters.EventSourceInitDict=as.dictionaryConverter([{key:"withCredentials",converter:as.converters.boolean,defaultValue:()=>!1},{key:"dispatcher",converter:as.converters.any}]);PU.exports={EventSource:Ic,defaultReconnectionTime:RU}});var kU=g((mGe,ce)=>{"use strict";var Ace=$a(),TU=lA(),uce=Ka(),dce=vT(),pce=Xa(),hce=xB(),fce=tO(),mce=aO(),OU=Pe(),vh=Ee(),{InvalidArgumentError:_h}=OU,bc=JO(),gce=uA(),yce=cI(),Cce=RM(),Ece=uI(),Bce=WB(),Ice=Pp(),{getGlobalDispatcher:MU,setGlobalDispatcher:bce}=Hp(),Qce=zp(),wce=Bp(),Nce=Ip();Object.assign(TU.prototype,bc);ce.exports.Dispatcher=TU;ce.exports.Client=Ace;ce.exports.Pool=uce;ce.exports.BalancedPool=dce;ce.exports.Agent=pce;ce.exports.ProxyAgent=hce;ce.exports.EnvHttpProxyAgent=fce;ce.exports.RetryAgent=mce;ce.exports.RetryHandler=Ice;ce.exports.DecoratorHandler=Qce;ce.exports.RedirectHandler=wce;ce.exports.createRedirectInterceptor=Nce;ce.exports.interceptors={redirect:MM(),retry:LM(),dump:FM(),dns:zM()};ce.exports.buildConnector=gce;ce.exports.errors=OU;ce.exports.util={parseHeaders:vh.parseHeaders,headerNameToString:vh.headerNameToString};function su(t){return(e,r,n)=>{if(typeof r=="function"&&(n=r,r=null),!e||typeof e!="string"&&typeof e!="object"&&!(e instanceof URL))throw new _h("invalid url");if(r!=null&&typeof r!="object")throw new _h("invalid opts");if(r&&r.path!=null){if(typeof r.path!="string")throw new _h("invalid opts.path");let a=r.path;r.path.startsWith("/")||(a=`/${a}`),e=new URL(vh.parseOrigin(e).origin+a)}else r||(r=typeof e=="object"?e:{}),e=vh.parseURL(e);let{agent:i,dispatcher:s=MU()}=r;if(i)throw new _h("unsupported opts.agent. Did you mean opts.client?");return t.call(s,{...r,origin:e.origin,path:e.search?`${e.pathname}${e.search}`:e.pathname,method:r.method||(r.body?"PUT":"GET")},n)}}o(su,"makeDispatcher");ce.exports.setGlobalDispatcher=bce;ce.exports.getGlobalDispatcher=MU;var xce=GA().fetch;ce.exports.fetch=o(async function(e,r=void 0){try{return await xce(e,r)}catch(n){throw n&&typeof n=="object"&&Error.captureStackTrace(n),n}},"fetch");ce.exports.Headers=Mo().Headers;ce.exports.Response=zA().Response;ce.exports.Request=uc().Request;ce.exports.FormData=yA().FormData;ce.exports.File=globalThis.File??require("node:buffer").File;ce.exports.FileReader=sL().FileReader;var{setGlobalOrigin:Sce,getGlobalOrigin:Rce}=SE();ce.exports.setGlobalOrigin=Sce;ce.exports.getGlobalOrigin=Rce;var{CacheStorage:_ce}=hL(),{kConstruct:vce}=Ah();ce.exports.caches=new _ce(vce);var{deleteCookie:Pce,getCookies:Dce,getSetCookies:Tce,setCookie:Oce}=NL();ce.exports.deleteCookie=Pce;ce.exports.getCookies=Dce;ce.exports.getSetCookies=Tce;ce.exports.setCookie=Oce;var{parseMIMEType:Mce,serializeAMimeType:kce}=Br();ce.exports.parseMIMEType=Mce;ce.exports.serializeAMimeType=kce;var{CloseEvent:Lce,ErrorEvent:Uce,MessageEvent:Fce}=gc();ce.exports.WebSocket=EU().WebSocket;ce.exports.CloseEvent=Lce;ce.exports.ErrorEvent=Uce;ce.exports.MessageEvent=Fce;ce.exports.request=su(bc.request);ce.exports.stream=su(bc.stream);ce.exports.pipeline=su(bc.pipeline);ce.exports.connect=su(bc.connect);ce.exports.upgrade=su(bc.upgrade);ce.exports.MockClient=yce;ce.exports.MockPool=Ece;ce.exports.MockAgent=Cce;ce.exports.mockErrors=Bce;var{EventSource:qce}=DU();ce.exports.EventSource=qce});var qs=g(st=>{"use strict";var Hce=st&&st.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),zce=st&&st.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),Oh=st&&st.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;iNt(this,void 0,void 0,function*(){let r=Buffer.alloc(0);this.message.on("data",n=>{r=Buffer.concat([r,n])}),this.message.on("end",()=>{e(r.toString())})}))})}readBodyBuffer(){return Nt(this,void 0,void 0,function*(){return new Promise(e=>Nt(this,void 0,void 0,function*(){let r=[];this.message.on("data",n=>{r.push(n)}),this.message.on("end",()=>{e(Buffer.concat(r))})}))})}};st.HttpClientResponse=Th;function Kce(t){return new URL(t).protocol==="https:"}o(Kce,"isHttps");var sb=class{static{o(this,"HttpClient")}constructor(e,r,n){this._ignoreSslError=!1,this._allowRedirects=!0,this._allowRedirectDowngrade=!1,this._maxRedirects=50,this._allowRetries=!1,this._maxRetries=1,this._keepAlive=!1,this._disposed=!1,this.userAgent=this._getUserAgentWithOrchestrationId(e),this.handlers=r||[],this.requestOptions=n,n&&(n.ignoreSslError!=null&&(this._ignoreSslError=n.ignoreSslError),this._socketTimeout=n.socketTimeout,n.allowRedirects!=null&&(this._allowRedirects=n.allowRedirects),n.allowRedirectDowngrade!=null&&(this._allowRedirectDowngrade=n.allowRedirectDowngrade),n.maxRedirects!=null&&(this._maxRedirects=Math.max(n.maxRedirects,0)),n.keepAlive!=null&&(this._keepAlive=n.keepAlive),n.allowRetries!=null&&(this._allowRetries=n.allowRetries),n.maxRetries!=null&&(this._maxRetries=n.maxRetries))}options(e,r){return Nt(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return Nt(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return Nt(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,n){return Nt(this,void 0,void 0,function*(){return this.request("POST",e,r,n||{})})}patch(e,r,n){return Nt(this,void 0,void 0,function*(){return this.request("PATCH",e,r,n||{})})}put(e,r,n){return Nt(this,void 0,void 0,function*(){return this.request("PUT",e,r,n||{})})}head(e,r){return Nt(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,n,i){return Nt(this,void 0,void 0,function*(){return this.request(e,r,n,i)})}getJson(e){return Nt(this,arguments,void 0,function*(r,n={}){n[hr.Accept]=this._getExistingOrDefaultHeader(n,hr.Accept,cs.ApplicationJson);let i=yield this.get(r,n);return this._processResponse(i,this.requestOptions)})}postJson(e,r){return Nt(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[hr.Accept]=this._getExistingOrDefaultHeader(s,hr.Accept,cs.ApplicationJson),s[hr.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,cs.ApplicationJson);let c=yield this.post(n,a,s);return this._processResponse(c,this.requestOptions)})}putJson(e,r){return Nt(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[hr.Accept]=this._getExistingOrDefaultHeader(s,hr.Accept,cs.ApplicationJson),s[hr.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,cs.ApplicationJson);let c=yield this.put(n,a,s);return this._processResponse(c,this.requestOptions)})}patchJson(e,r){return Nt(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[hr.Accept]=this._getExistingOrDefaultHeader(s,hr.Accept,cs.ApplicationJson),s[hr.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,cs.ApplicationJson);let c=yield this.patch(n,a,s);return this._processResponse(c,this.requestOptions)})}request(e,r,n,i){return Nt(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let s=new URL(r),a=this._prepareRequest(e,s,i),c=this._allowRetries&&Vce.includes(e)?this._maxRetries+1:1,l=0,A;do{if(A=yield this.requestRaw(a,n),A&&A.message&&A.message.statusCode===En.Unauthorized){let d;for(let f of this.handlers)if(f.canHandleAuthentication(A)){d=f;break}return d?d.handleAuthentication(this,a,n):A}let u=this._maxRedirects;for(;A.message.statusCode&&Yce.includes(A.message.statusCode)&&this._allowRedirects&&u>0;){let d=A.message.headers.location;if(!d)break;let f=new URL(d);if(s.protocol==="https:"&&s.protocol!==f.protocol&&!this._allowRedirectDowngrade)throw new Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.");if(yield A.readBody(),f.hostname!==s.hostname)for(let m in i)m.toLowerCase()==="authorization"&&delete i[m];a=this._prepareRequest(e,f,i),A=yield this.requestRaw(a,n),u--}if(!A.message.statusCode||!Jce.includes(A.message.statusCode))return A;l+=1,l{function s(a,c){a?i(a):c?n(c):i(new Error("Unknown error"))}o(s,"callbackForResult"),this.requestRawWithCallback(e,r,s)})})}requestRawWithCallback(e,r,n){typeof r=="string"&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(r,"utf8"));let i=!1;function s(l,A){i||(i=!0,n(l,A))}o(s,"handleResult");let a=e.httpModule.request(e.options,l=>{let A=new Th(l);s(void 0,A)}),c;a.on("socket",l=>{c=l}),a.setTimeout(this._socketTimeout||3*6e4,()=>{c&&c.end(),s(new Error(`Request timeout: ${e.options.path}`))}),a.on("error",function(l){s(l)}),r&&typeof r=="string"&&a.write(r,"utf8"),r&&typeof r!="string"?(r.on("close",function(){a.end()}),r.pipe(a)):a.end()}getAgent(e){let r=new URL(e);return this._getAgent(r)}getAgentDispatcher(e){let r=new URL(e),n=ib.getProxyUrl(r);if(n&&n.hostname)return this._getProxyAgentDispatcher(r,n)}_prepareRequest(e,r,n){let i={};i.parsedUrl=r;let s=i.parsedUrl.protocol==="https:";i.httpModule=s?LU:nb;let a=s?443:80;if(i.options={},i.options.host=i.parsedUrl.hostname,i.options.port=i.parsedUrl.port?parseInt(i.parsedUrl.port):a,i.options.path=(i.parsedUrl.pathname||"")+(i.parsedUrl.search||""),i.options.method=e,i.options.headers=this._mergeHeaders(n),this.userAgent!=null&&(i.options.headers["user-agent"]=this.userAgent),i.options.agent=this._getAgent(i.parsedUrl),this.handlers)for(let c of this.handlers)c.prepareRequest(i.options);return i}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},ou(this.requestOptions.headers),ou(e||{})):ou(e||{})}_getExistingOrDefaultHeader(e,r,n){let i;if(this.requestOptions&&this.requestOptions.headers){let a=ou(this.requestOptions.headers)[r];a&&(i=typeof a=="number"?a.toString():a)}let s=e[r];return s!==void 0?typeof s=="number"?s.toString():s:i!==void 0?i:n}_getExistingOrDefaultContentTypeHeader(e,r){let n;if(this.requestOptions&&this.requestOptions.headers){let s=ou(this.requestOptions.headers)[hr.ContentType];s&&(typeof s=="number"?n=String(s):Array.isArray(s)?n=s.join(", "):n=s)}let i=e[hr.ContentType];return i!==void 0?typeof i=="number"?String(i):Array.isArray(i)?i.join(", "):i:n!==void 0?n:r}_getAgent(e){let r,n=ib.getProxyUrl(e),i=n&&n.hostname;if(this._keepAlive&&i&&(r=this._proxyAgent),i||(r=this._agent),r)return r;let s=e.protocol==="https:",a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||nb.globalAgent.maxSockets),n&&n.hostname){let c={maxSockets:a,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(n.username||n.password)&&{proxyAuth:`${n.username}:${n.password}`}),{host:n.hostname,port:n.port})},l,A=n.protocol==="https:";s?l=A?Ph.httpsOverHttps:Ph.httpsOverHttp:l=A?Ph.httpOverHttps:Ph.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=s?new LU.Agent(c):new nb.Agent(c),this._agent=r}return s&&this._ignoreSslError&&(r.options=Object.assign(r.options||{},{rejectUnauthorized:!1})),r}_getProxyAgentDispatcher(e,r){let n;if(this._keepAlive&&(n=this._proxyAgentDispatcher),n)return n;let i=e.protocol==="https:";return n=new jce.ProxyAgent(Object.assign({uri:r.href,pipelining:this._keepAlive?1:0},(r.username||r.password)&&{token:`Basic ${Buffer.from(`${r.username}:${r.password}`).toString("base64")}`})),this._proxyAgentDispatcher=n,i&&this._ignoreSslError&&(n.options=Object.assign(n.options.requestTls||{},{rejectUnauthorized:!1})),n}_getUserAgentWithOrchestrationId(e){let r=e||"actions/http-client",n=process.env.ACTIONS_ORCHESTRATION_ID;if(n){let i=n.replace(/[^a-z0-9_.-]/gi,"_");return`${r} actions_orchestration_id/${i}`}return r}_performExponentialBackoff(e){return Nt(this,void 0,void 0,function*(){e=Math.min(Wce,e);let r=$ce*Math.pow(2,e);return new Promise(n=>setTimeout(()=>n(),r))})}_processResponse(e,r){return Nt(this,void 0,void 0,function*(){return new Promise((n,i)=>Nt(this,void 0,void 0,function*(){let s=e.message.statusCode||0,a={statusCode:s,result:null,headers:{}};s===En.NotFound&&n(a);function c(u,d){if(typeof d=="string"){let f=new Date(d);if(!isNaN(f.valueOf()))return f}return d}o(c,"dateTimeDeserializer");let l,A;try{A=yield e.readBody(),A&&A.length>0&&(r&&r.deserializeDates?l=JSON.parse(A,c):l=JSON.parse(A),a.result=l),a.headers=e.message.headers}catch{}if(s>299){let u;l&&l.message?u=l.message:A&&A.length>0?u=A:u=`Failed request: (${s})`;let d=new Dh(u,s);d.result=a.result,i(d)}else n(a)}))})}};st.HttpClient=sb;var ou=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys")});var Mh=g(Ii=>{"use strict";var lb=Ii&&Ii.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(Ii,"__esModule",{value:!0});Ii.PersonalAccessTokenCredentialHandler=Ii.BearerCredentialHandler=Ii.BasicCredentialHandler=void 0;var ob=class{static{o(this,"BasicCredentialHandler")}constructor(e,r){this.username=e,this.password=r}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization=`Basic ${Buffer.from(`${this.username}:${this.password}`).toString("base64")}`}canHandleAuthentication(){return!1}handleAuthentication(){return lb(this,void 0,void 0,function*(){throw new Error("not implemented")})}};Ii.BasicCredentialHandler=ob;var ab=class{static{o(this,"BearerCredentialHandler")}constructor(e){this.token=e}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization=`Bearer ${this.token}`}canHandleAuthentication(){return!1}handleAuthentication(){return lb(this,void 0,void 0,function*(){throw new Error("not implemented")})}};Ii.BearerCredentialHandler=ab;var cb=class{static{o(this,"PersonalAccessTokenCredentialHandler")}constructor(e){this.token=e}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization=`Basic ${Buffer.from(`PAT:${this.token}`).toString("base64")}`}canHandleAuthentication(){return!1}handleAuthentication(){return lb(this,void 0,void 0,function*(){throw new Error("not implemented")})}};Ii.PersonalAccessTokenCredentialHandler=cb});var qU=g(Qc=>{"use strict";var UU=Qc&&Qc.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(Qc,"__esModule",{value:!0});Qc.OidcClient=void 0;var Xce=qs(),Zce=Mh(),FU=ft(),Ab=class t{static{o(this,"OidcClient")}static createHttpClient(e=!0,r=10){let n={allowRetries:e,maxRetries:r};return new Xce.HttpClient("actions/oidc-client",[new Zce.BearerCredentialHandler(t.getRequestToken())],n)}static getRequestToken(){let e=process.env.ACTIONS_ID_TOKEN_REQUEST_TOKEN;if(!e)throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable");return e}static getIDTokenUrl(){let e=process.env.ACTIONS_ID_TOKEN_REQUEST_URL;if(!e)throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable");return e}static getCall(e){return UU(this,void 0,void 0,function*(){var r;let s=(r=(yield t.createHttpClient().getJson(e).catch(a=>{throw new Error(`Failed to get ID Token. +`.trim())}};l4.exports=j1});var O0=x((Het,h4)=>{"use strict";var A4=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:Uhe}=ft(),Fhe=PA();f4()===void 0&&d4(new Fhe);function d4(t){if(!t||typeof t.dispatch!="function")throw new Uhe("Argument agent must implement Agent");Object.defineProperty(globalThis,A4,{value:t,writable:!0,enumerable:!1,configurable:!1})}o(d4,"setGlobalDispatcher");function f4(){return globalThis[A4]}o(f4,"getGlobalDispatcher");h4.exports={setGlobalDispatcher:d4,getGlobalDispatcher:f4}});var M0=x((Get,p4)=>{"use strict";p4.exports=class{static{o(this,"DecoratorHandler")}#e;constructor(e){if(typeof e!="object"||e===null)throw new TypeError("handler must be an object");this.#e=e}onConnect(...e){return this.#e.onConnect?.(...e)}onError(...e){return this.#e.onError?.(...e)}onUpgrade(...e){return this.#e.onUpgrade?.(...e)}onResponseStarted(...e){return this.#e.onResponseStarted?.(...e)}onHeaders(...e){return this.#e.onHeaders?.(...e)}onData(...e){return this.#e.onData?.(...e)}onComplete(...e){return this.#e.onComplete?.(...e)}onBodySent(...e){return this.#e.onBodySent?.(...e)}}});var m4=x((Yet,g4)=>{"use strict";var Hhe=p0();g4.exports=t=>{let e=t?.maxRedirections;return r=>o(function(i,s){let{maxRedirections:a=e,...c}=i;if(!a)return r(i,s);let l=new Hhe(r,a,i,s);return r(c,l)},"redirectInterceptor")}});var E4=x((Jet,y4)=>{"use strict";var qhe=Q0();y4.exports=t=>e=>o(function(n,i){return e(n,new qhe({...n,retryOptions:{...t,...n.retryOptions}},{handler:i,dispatch:e}))},"retryInterceptor")});var C4=x((Wet,b4)=>{"use strict";var zhe=Xe(),{InvalidArgumentError:Ghe,RequestAbortedError:jhe}=ft(),Yhe=M0(),Y1=class extends Yhe{static{o(this,"DumpHandler")}#e=1024*1024;#t=null;#i=!1;#n=!1;#r=0;#s=null;#o=null;constructor({maxSize:e},r){if(super(r),e!=null&&(!Number.isFinite(e)||e<1))throw new Ghe("maxSize must be a number greater than 0");this.#e=e??this.#e,this.#o=r}onConnect(e){this.#t=e,this.#o.onConnect(this.#a.bind(this))}#a(e){this.#n=!0,this.#s=e}onHeaders(e,r,n,i){let a=zhe.parseHeaders(r)["content-length"];if(a!=null&&a>this.#e)throw new jhe(`Response size (${a}) larger than maxSize (${this.#e})`);return this.#n?!0:this.#o.onHeaders(e,r,n,i)}onError(e){this.#i||(e=this.#s??e,this.#o.onError(e))}onData(e){return this.#r=this.#r+e.length,this.#r>=this.#e&&(this.#i=!0,this.#n?this.#o.onError(this.#s):this.#o.onComplete([])),!0}onComplete(e){if(!this.#i){if(this.#n){this.#o.onError(this.reason);return}this.#o.onComplete(e)}}};function Khe({maxSize:t}={maxSize:1024*1024}){return e=>o(function(n,i){let{dumpMaxSize:s=t}=n,a=new Y1({maxSize:s},i);return e(n,a)},"Intercept")}o(Khe,"createDumpInterceptor");b4.exports=Khe});var B4=x((Xet,I4)=>{"use strict";var{isIP:Jhe}=require("node:net"),{lookup:Vhe}=require("node:dns"),Whe=M0(),{InvalidArgumentError:HA,InformationalError:$he}=ft(),x4=Math.pow(2,31)-1,K1=class{static{o(this,"DNSInstance")}#e=0;#t=0;#i=new Map;dualStack=!0;affinity=null;lookup=null;pick=null;constructor(e){this.#e=e.maxTTL,this.#t=e.maxItems,this.dualStack=e.dualStack,this.affinity=e.affinity,this.lookup=e.lookup??this.#n,this.pick=e.pick??this.#r}get full(){return this.#i.size===this.#t}runLookup(e,r,n){let i=this.#i.get(e.hostname);if(i==null&&this.full){n(null,e.origin);return}let s={affinity:this.affinity,dualStack:this.dualStack,lookup:this.lookup,pick:this.pick,...r.dns,maxTTL:this.#e,maxItems:this.#t};if(i==null)this.lookup(e,s,(a,c)=>{if(a||c==null||c.length===0){n(a??new $he("No DNS entries found"));return}this.setRecords(e,c);let l=this.#i.get(e.hostname),u=this.pick(e,l,s.affinity),A;typeof u.port=="number"?A=`:${u.port}`:e.port!==""?A=`:${e.port}`:A="",n(null,`${e.protocol}//${u.family===6?`[${u.address}]`:u.address}${A}`)});else{let a=this.pick(e,i,s.affinity);if(a==null){this.#i.delete(e.hostname),this.runLookup(e,r,n);return}let c;typeof a.port=="number"?c=`:${a.port}`:e.port!==""?c=`:${e.port}`:c="",n(null,`${e.protocol}//${a.family===6?`[${a.address}]`:a.address}${c}`)}}#n(e,r,n){Vhe(e.hostname,{all:!0,family:this.dualStack===!1?this.affinity:0,order:"ipv4first"},(i,s)=>{if(i)return n(i);let a=new Map;for(let c of s)a.set(`${c.address}:${c.family}`,c);n(null,a.values())})}#r(e,r,n){let i=null,{records:s,offset:a}=r,c;if(this.dualStack?(n==null&&(a==null||a===x4?(r.offset=0,n=4):(r.offset++,n=(r.offset&1)===1?6:4)),s[n]!=null&&s[n].ips.length>0?c=s[n]:c=s[n===4?6:4]):c=s[n],c==null||c.ips.length===0)return i;c.offset==null||c.offset===x4?c.offset=0:c.offset++;let l=c.offset%c.ips.length;return i=c.ips[l]??null,i==null?i:Date.now()-i.timestamp>i.ttl?(c.ips.splice(l,1),this.pick(e,r,n)):i}setRecords(e,r){let n=Date.now(),i={records:{4:null,6:null}};for(let s of r){s.timestamp=n,typeof s.ttl=="number"?s.ttl=Math.min(s.ttl,this.#e):s.ttl=this.#e;let a=i.records[s.family]??{ips:[]};a.ips.push(s),i.records[s.family]=a}this.#i.set(e.hostname,i)}getHandler(e,r){return new J1(this,e,r)}},J1=class extends Whe{static{o(this,"DNSDispatchHandler")}#e=null;#t=null;#i=null;#n=null;#r=null;constructor(e,{origin:r,handler:n,dispatch:i},s){super(n),this.#r=r,this.#n=n,this.#t={...s},this.#e=e,this.#i=i}onError(e){switch(e.code){case"ETIMEDOUT":case"ECONNREFUSED":{if(this.#e.dualStack){this.#e.runLookup(this.#r,this.#t,(r,n)=>{if(r)return this.#n.onError(r);let i={...this.#t,origin:n};this.#i(i,this)});return}this.#n.onError(e);return}case"ENOTFOUND":this.#e.deleteRecord(this.#r);default:this.#n.onError(e);break}}};I4.exports=t=>{if(t?.maxTTL!=null&&(typeof t?.maxTTL!="number"||t?.maxTTL<0))throw new HA("Invalid maxTTL. Must be a positive number");if(t?.maxItems!=null&&(typeof t?.maxItems!="number"||t?.maxItems<1))throw new HA("Invalid maxItems. Must be a positive number and greater than zero");if(t?.affinity!=null&&t?.affinity!==4&&t?.affinity!==6)throw new HA("Invalid affinity. Must be either 4 or 6");if(t?.dualStack!=null&&typeof t?.dualStack!="boolean")throw new HA("Invalid dualStack. Must be a boolean");if(t?.lookup!=null&&typeof t?.lookup!="function")throw new HA("Invalid lookup. Must be a function");if(t?.pick!=null&&typeof t?.pick!="function")throw new HA("Invalid pick. Must be a function");let e=t?.dualStack??!0,r;e?r=t?.affinity??null:r=t?.affinity??4;let n={maxTTL:t?.maxTTL??1e4,lookup:t?.lookup??null,pick:t?.pick??null,dualStack:e,affinity:r,maxItems:t?.maxItems??1/0},i=new K1(n);return s=>o(function(c,l){let u=c.origin.constructor===URL?c.origin:new URL(c.origin);return Jhe(u.hostname)!==0?s(c,l):(i.runLookup(u,c,(A,d)=>{if(A)return l.onError(A);let f=null;f={...c,servername:u.hostname,origin:d,headers:{host:u.hostname,...c.headers}},s(f,i.getHandler({origin:u,dispatch:s,handler:l},c))}),!0)},"dnsInterceptor")}});var zl=x((ett,P4)=>{"use strict";var{kConstruct:Xhe}=Kt(),{kEnumerableProperty:qA}=Xe(),{iteratorMixin:Zhe,isValidHeaderName:Kh,isValidHeaderValue:Q4}=xi(),{webidl:lt}=ln(),V1=require("node:assert"),L0=require("node:util"),Sr=Symbol("headers map"),wi=Symbol("headers map sorted");function w4(t){return t===10||t===13||t===9||t===32}o(w4,"isHTTPWhiteSpaceCharCode");function S4(t){let e=0,r=t.length;for(;r>e&&w4(t.charCodeAt(r-1));)--r;for(;r>e&&w4(t.charCodeAt(e));)++e;return e===0&&r===t.length?t:t.substring(e,r)}o(S4,"headerValueNormalize");function N4(t,e){if(Array.isArray(e))for(let r=0;r>","record"]})}o(N4,"fill");function W1(t,e,r){if(r=S4(r),Kh(e)){if(!Q4(r))throw lt.errors.invalidArgument({prefix:"Headers.append",value:r,type:"header value"})}else throw lt.errors.invalidArgument({prefix:"Headers.append",value:e,type:"header name"});if(R4(t)==="immutable")throw new TypeError("immutable");return $1(t).append(e,r,!1)}o(W1,"appendHeader");function v4(t,e){return t[0]>1),r[u][0]<=A[0]?l=u+1:c=u;if(s!==u){for(a=s;a>l;)r[a]=r[--a];r[l]=A}}if(!n.next().done)throw new TypeError("Unreachable");return r}else{let n=0;for(let{0:i,1:{value:s}}of this[Sr])r[n++]=[i,s],V1(s!==null);return r.sort(v4)}}},Ls=class t{static{o(this,"Headers")}#e;#t;constructor(e=void 0){lt.util.markAsUncloneable(this),e!==Xhe&&(this.#t=new U0,this.#e="none",e!==void 0&&(e=lt.converters.HeadersInit(e,"Headers contructor","init"),N4(this,e)))}append(e,r){lt.brandCheck(this,t),lt.argumentLengthCheck(arguments,2,"Headers.append");let n="Headers.append";return e=lt.converters.ByteString(e,n,"name"),r=lt.converters.ByteString(r,n,"value"),W1(this,e,r)}delete(e){if(lt.brandCheck(this,t),lt.argumentLengthCheck(arguments,1,"Headers.delete"),e=lt.converters.ByteString(e,"Headers.delete","name"),!Kh(e))throw lt.errors.invalidArgument({prefix:"Headers.delete",value:e,type:"header name"});if(this.#e==="immutable")throw new TypeError("immutable");this.#t.contains(e,!1)&&this.#t.delete(e,!1)}get(e){lt.brandCheck(this,t),lt.argumentLengthCheck(arguments,1,"Headers.get");let r="Headers.get";if(e=lt.converters.ByteString(e,r,"name"),!Kh(e))throw lt.errors.invalidArgument({prefix:r,value:e,type:"header name"});return this.#t.get(e,!1)}has(e){lt.brandCheck(this,t),lt.argumentLengthCheck(arguments,1,"Headers.has");let r="Headers.has";if(e=lt.converters.ByteString(e,r,"name"),!Kh(e))throw lt.errors.invalidArgument({prefix:r,value:e,type:"header name"});return this.#t.contains(e,!1)}set(e,r){lt.brandCheck(this,t),lt.argumentLengthCheck(arguments,2,"Headers.set");let n="Headers.set";if(e=lt.converters.ByteString(e,n,"name"),r=lt.converters.ByteString(r,n,"value"),r=S4(r),Kh(e)){if(!Q4(r))throw lt.errors.invalidArgument({prefix:n,value:r,type:"header value"})}else throw lt.errors.invalidArgument({prefix:n,value:e,type:"header name"});if(this.#e==="immutable")throw new TypeError("immutable");this.#t.set(e,r,!1)}getSetCookie(){lt.brandCheck(this,t);let e=this.#t.cookies;return e?[...e]:[]}get[wi](){if(this.#t[wi])return this.#t[wi];let e=[],r=this.#t.toSortedArray(),n=this.#t.cookies;if(n===null||n.length===1)return this.#t[wi]=r;for(let i=0;i>"](t,e,r,n.bind(t)):lt.converters["record"](t,e,r)}throw lt.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence>","record"]})};P4.exports={fill:N4,compareHeaderName:v4,Headers:Ls,HeadersList:U0,getHeadersGuard:R4,setHeadersGuard:epe,setHeadersList:tpe,getHeadersList:$1}});var Vh=x((rtt,z4)=>{"use strict";var{Headers:M4,HeadersList:_4,fill:rpe,getHeadersGuard:npe,setHeadersGuard:L4,setHeadersList:U4}=zl(),{extractBody:D4,cloneBody:ipe,mixinBody:spe,hasFinalizationRegistry:F4,streamRegistry:H4,bodyUnusable:ope}=xA(),X1=Xe(),k4=require("node:util"),{kEnumerableProperty:Qi}=X1,{isValidReasonPhrase:ape,isCancelled:cpe,isAborted:lpe,isBlobLike:upe,serializeJavascriptValueToJSONString:Ape,isErrorLike:dpe,isomorphicEncode:fpe,environmentSettingsObject:hpe}=xi(),{redirectStatusSet:ppe,nullBodyStatus:gpe}=yh(),{kState:Vt,kHeaders:pa}=sc(),{webidl:Ke}=ln(),{FormData:mpe}=Bh(),{URLSerializer:T4}=Yn(),{kConstruct:H0}=Kt(),Z1=require("node:assert"),{types:ype}=require("node:util"),Epe=new TextEncoder("utf-8"),Gl=class t{static{o(this,"Response")}static error(){return Jh(q0(),"immutable")}static json(e,r={}){Ke.argumentLengthCheck(arguments,1,"Response.json"),r!==null&&(r=Ke.converters.ResponseInit(r));let n=Epe.encode(Ape(e)),i=D4(n),s=Jh(zA({}),"response");return O4(s,r,{body:i[0],type:"application/json"}),s}static redirect(e,r=302){Ke.argumentLengthCheck(arguments,1,"Response.redirect"),e=Ke.converters.USVString(e),r=Ke.converters["unsigned short"](r);let n;try{n=new URL(e,hpe.settingsObject.baseUrl)}catch(a){throw new TypeError(`Failed to parse URL from ${e}`,{cause:a})}if(!ppe.has(r))throw new RangeError(`Invalid status code ${r}`);let i=Jh(zA({}),"immutable");i[Vt].status=r;let s=fpe(T4(n));return i[Vt].headersList.append("location",s,!0),i}constructor(e=null,r={}){if(Ke.util.markAsUncloneable(this),e===H0)return;e!==null&&(e=Ke.converters.BodyInit(e)),r=Ke.converters.ResponseInit(r),this[Vt]=zA({}),this[pa]=new M4(H0),L4(this[pa],"response"),U4(this[pa],this[Vt].headersList);let n=null;if(e!=null){let[i,s]=D4(e);n={body:i,type:s}}O4(this,r,n)}get type(){return Ke.brandCheck(this,t),this[Vt].type}get url(){Ke.brandCheck(this,t);let e=this[Vt].urlList,r=e[e.length-1]??null;return r===null?"":T4(r,!0)}get redirected(){return Ke.brandCheck(this,t),this[Vt].urlList.length>1}get status(){return Ke.brandCheck(this,t),this[Vt].status}get ok(){return Ke.brandCheck(this,t),this[Vt].status>=200&&this[Vt].status<=299}get statusText(){return Ke.brandCheck(this,t),this[Vt].statusText}get headers(){return Ke.brandCheck(this,t),this[pa]}get body(){return Ke.brandCheck(this,t),this[Vt].body?this[Vt].body.stream:null}get bodyUsed(){return Ke.brandCheck(this,t),!!this[Vt].body&&X1.isDisturbed(this[Vt].body.stream)}clone(){if(Ke.brandCheck(this,t),ope(this))throw Ke.errors.exception({header:"Response.clone",message:"Body has already been consumed."});let e=eS(this[Vt]);return F4&&this[Vt].body?.stream&&H4.register(this,new WeakRef(this[Vt].body.stream)),Jh(e,npe(this[pa]))}[k4.inspect.custom](e,r){r.depth===null&&(r.depth=2),r.colors??=!0;let n={status:this.status,statusText:this.statusText,headers:this.headers,body:this.body,bodyUsed:this.bodyUsed,ok:this.ok,redirected:this.redirected,type:this.type,url:this.url};return`Response ${k4.formatWithOptions(r,n)}`}};spe(Gl);Object.defineProperties(Gl.prototype,{type:Qi,url:Qi,status:Qi,ok:Qi,redirected:Qi,statusText:Qi,headers:Qi,clone:Qi,body:Qi,bodyUsed:Qi,[Symbol.toStringTag]:{value:"Response",configurable:!0}});Object.defineProperties(Gl,{json:Qi,redirect:Qi,error:Qi});function eS(t){if(t.internalResponse)return q4(eS(t.internalResponse),t.type);let e=zA({...t,body:null});return t.body!=null&&(e.body=ipe(e,t.body)),e}o(eS,"cloneResponse");function zA(t){return{aborted:!1,rangeRequested:!1,timingAllowPassed:!1,requestIncludesCredentials:!1,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...t,headersList:t?.headersList?new _4(t?.headersList):new _4,urlList:t?.urlList?[...t.urlList]:[]}}o(zA,"makeResponse");function q0(t){let e=dpe(t);return zA({type:"error",status:0,error:e?t:new Error(t&&String(t)),aborted:t&&t.name==="AbortError"})}o(q0,"makeNetworkError");function bpe(t){return t.type==="error"&&t.status===0}o(bpe,"isNetworkError");function F0(t,e){return e={internalResponse:t,...e},new Proxy(t,{get(r,n){return n in e?e[n]:r[n]},set(r,n,i){return Z1(!(n in e)),r[n]=i,!0}})}o(F0,"makeFilteredResponse");function q4(t,e){if(e==="basic")return F0(t,{type:"basic",headersList:t.headersList});if(e==="cors")return F0(t,{type:"cors",headersList:t.headersList});if(e==="opaque")return F0(t,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null});if(e==="opaqueredirect")return F0(t,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null});Z1(!1)}o(q4,"filterResponse");function Cpe(t,e=null){return Z1(cpe(t)),lpe(t)?q0(Object.assign(new DOMException("The operation was aborted.","AbortError"),{cause:e})):q0(Object.assign(new DOMException("Request was cancelled."),{cause:e}))}o(Cpe,"makeAppropriateNetworkError");function O4(t,e,r){if(e.status!==null&&(e.status<200||e.status>599))throw new RangeError('init["status"] must be in the range of 200 to 599, inclusive.');if("statusText"in e&&e.statusText!=null&&!ape(String(e.statusText)))throw new TypeError("Invalid statusText");if("status"in e&&e.status!=null&&(t[Vt].status=e.status),"statusText"in e&&e.statusText!=null&&(t[Vt].statusText=e.statusText),"headers"in e&&e.headers!=null&&rpe(t[pa],e.headers),r){if(gpe.includes(t.status))throw Ke.errors.exception({header:"Response constructor",message:`Invalid response status code ${t.status}`});t[Vt].body=r.body,r.type!=null&&!t[Vt].headersList.contains("content-type",!0)&&t[Vt].headersList.append("content-type",r.type,!0)}}o(O4,"initializeResponse");function Jh(t,e){let r=new Gl(H0);return r[Vt]=t,r[pa]=new M4(H0),U4(r[pa],t.headersList),L4(r[pa],e),F4&&t.body?.stream&&H4.register(r,new WeakRef(t.body.stream)),r}o(Jh,"fromInnerResponse");Ke.converters.ReadableStream=Ke.interfaceConverter(ReadableStream);Ke.converters.FormData=Ke.interfaceConverter(mpe);Ke.converters.URLSearchParams=Ke.interfaceConverter(URLSearchParams);Ke.converters.XMLHttpRequestBodyInit=function(t,e,r){return typeof t=="string"?Ke.converters.USVString(t,e,r):upe(t)?Ke.converters.Blob(t,e,r,{strict:!1}):ArrayBuffer.isView(t)||ype.isArrayBuffer(t)?Ke.converters.BufferSource(t,e,r):X1.isFormDataLike(t)?Ke.converters.FormData(t,e,r,{strict:!1}):t instanceof URLSearchParams?Ke.converters.URLSearchParams(t,e,r):Ke.converters.DOMString(t,e,r)};Ke.converters.BodyInit=function(t,e,r){return t instanceof ReadableStream?Ke.converters.ReadableStream(t,e,r):t?.[Symbol.asyncIterator]?t:Ke.converters.XMLHttpRequestBodyInit(t,e,r)};Ke.converters.ResponseInit=Ke.dictionaryConverter([{key:"status",converter:Ke.converters["unsigned short"],defaultValue:o(()=>200,"defaultValue")},{key:"statusText",converter:Ke.converters.ByteString,defaultValue:o(()=>"","defaultValue")},{key:"headers",converter:Ke.converters.HeadersInit}]);z4.exports={isNetworkError:bpe,makeNetworkError:q0,makeResponse:zA,makeAppropriateNetworkError:Cpe,filterResponse:q4,Response:Gl,cloneResponse:eS,fromInnerResponse:Jh}});var K4=x((itt,Y4)=>{"use strict";var{kConnected:G4,kSize:j4}=Kt(),tS=class{static{o(this,"CompatWeakRef")}constructor(e){this.value=e}deref(){return this.value[G4]===0&&this.value[j4]===0?void 0:this.value}},rS=class{static{o(this,"CompatFinalizer")}constructor(e){this.finalizer=e}register(e,r){e.on&&e.on("disconnect",()=>{e[G4]===0&&e[j4]===0&&this.finalizer(r)})}unregister(e){}};Y4.exports=function(){return process.env.NODE_V8_COVERAGE&&process.version.startsWith("v18")?(process._rawDebug("Using compatibility WeakRef and FinalizationRegistry"),{WeakRef:tS,FinalizationRegistry:rS}):{WeakRef,FinalizationRegistry}}});var GA=x((ott,c5)=>{"use strict";var{extractBody:xpe,mixinBody:Ipe,cloneBody:Bpe,bodyUnusable:J4}=xA(),{Headers:n5,fill:wpe,HeadersList:Y0,setHeadersGuard:iS,getHeadersGuard:Qpe,setHeadersList:i5,getHeadersList:V4}=zl(),{FinalizationRegistry:Spe}=K4()(),G0=Xe(),W4=require("node:util"),{isValidHTTPToken:Npe,sameOrigin:$4,environmentSettingsObject:z0}=xi(),{forbiddenMethodsSet:vpe,corsSafeListedMethodsSet:Rpe,referrerPolicy:Ppe,requestRedirect:_pe,requestMode:Dpe,requestCredentials:kpe,requestCache:Tpe,requestDuplex:Ope}=yh(),{kEnumerableProperty:Nr,normalizedMethodRecordsBase:Mpe,normalizedMethodRecords:Lpe}=G0,{kHeaders:Si,kSignal:j0,kState:qt,kDispatcher:nS}=sc(),{webidl:Ue}=ln(),{URLSerializer:Upe}=Yn(),{kConstruct:K0}=Kt(),Fpe=require("node:assert"),{getMaxListeners:X4,setMaxListeners:Z4,getEventListeners:Hpe,defaultMaxListeners:e5}=require("node:events"),qpe=Symbol("abortController"),s5=new Spe(({signal:t,abort:e})=>{t.removeEventListener("abort",e)}),J0=new WeakMap;function t5(t){return e;function e(){let r=t.deref();if(r!==void 0){s5.unregister(e),this.removeEventListener("abort",e),r.abort(this.reason);let n=J0.get(r.signal);if(n!==void 0){if(n.size!==0){for(let i of n){let s=i.deref();s!==void 0&&s.abort(this.reason)}n.clear()}J0.delete(r.signal)}}}}o(t5,"buildAbort");var r5=!1,mc=class t{static{o(this,"Request")}constructor(e,r={}){if(Ue.util.markAsUncloneable(this),e===K0)return;let n="Request constructor";Ue.argumentLengthCheck(arguments,1,n),e=Ue.converters.RequestInfo(e,n,"input"),r=Ue.converters.RequestInit(r,n,"init");let i=null,s=null,a=z0.settingsObject.baseUrl,c=null;if(typeof e=="string"){this[nS]=r.dispatcher;let y;try{y=new URL(e,a)}catch(I){throw new TypeError("Failed to parse URL from "+e,{cause:I})}if(y.username||y.password)throw new TypeError("Request cannot be constructed from a URL that includes credentials: "+e);i=V0({urlList:[y]}),s="cors"}else this[nS]=r.dispatcher||e[nS],Fpe(e instanceof t),i=e[qt],c=e[j0];let l=z0.settingsObject.origin,u="client";if(i.window?.constructor?.name==="EnvironmentSettingsObject"&&$4(i.window,l)&&(u=i.window),r.window!=null)throw new TypeError(`'window' option '${u}' must be null`);"window"in r&&(u="no-window"),i=V0({method:i.method,headersList:i.headersList,unsafeRequest:i.unsafeRequest,client:z0.settingsObject,window:u,priority:i.priority,origin:i.origin,referrer:i.referrer,referrerPolicy:i.referrerPolicy,mode:i.mode,credentials:i.credentials,cache:i.cache,redirect:i.redirect,integrity:i.integrity,keepalive:i.keepalive,reloadNavigation:i.reloadNavigation,historyNavigation:i.historyNavigation,urlList:[...i.urlList]});let A=Object.keys(r).length!==0;if(A&&(i.mode==="navigate"&&(i.mode="same-origin"),i.reloadNavigation=!1,i.historyNavigation=!1,i.origin="client",i.referrer="client",i.referrerPolicy="",i.url=i.urlList[i.urlList.length-1],i.urlList=[i.url]),r.referrer!==void 0){let y=r.referrer;if(y==="")i.referrer="no-referrer";else{let I;try{I=new URL(y,a)}catch(w){throw new TypeError(`Referrer "${y}" is not a valid URL.`,{cause:w})}I.protocol==="about:"&&I.hostname==="client"||l&&!$4(I,z0.settingsObject.baseUrl)?i.referrer="client":i.referrer=I}}r.referrerPolicy!==void 0&&(i.referrerPolicy=r.referrerPolicy);let d;if(r.mode!==void 0?d=r.mode:d=s,d==="navigate")throw Ue.errors.exception({header:"Request constructor",message:"invalid request mode navigate."});if(d!=null&&(i.mode=d),r.credentials!==void 0&&(i.credentials=r.credentials),r.cache!==void 0&&(i.cache=r.cache),i.cache==="only-if-cached"&&i.mode!=="same-origin")throw new TypeError("'only-if-cached' can be set only with 'same-origin' mode");if(r.redirect!==void 0&&(i.redirect=r.redirect),r.integrity!=null&&(i.integrity=String(r.integrity)),r.keepalive!==void 0&&(i.keepalive=!!r.keepalive),r.method!==void 0){let y=r.method,I=Lpe[y];if(I!==void 0)i.method=I;else{if(!Npe(y))throw new TypeError(`'${y}' is not a valid HTTP method.`);let w=y.toUpperCase();if(vpe.has(w))throw new TypeError(`'${y}' HTTP method is unsupported.`);y=Mpe[w]??y,i.method=y}!r5&&i.method==="patch"&&(process.emitWarning("Using `patch` is highly likely to result in a `405 Method Not Allowed`. `PATCH` is much more likely to succeed.",{code:"UNDICI-FETCH-patch"}),r5=!0)}r.signal!==void 0&&(c=r.signal),this[qt]=i;let f=new AbortController;if(this[j0]=f.signal,c!=null){if(!c||typeof c.aborted!="boolean"||typeof c.addEventListener!="function")throw new TypeError("Failed to construct 'Request': member signal is not of type AbortSignal.");if(c.aborted)f.abort(c.reason);else{this[qpe]=f;let y=new WeakRef(f),I=t5(y);try{(typeof X4=="function"&&X4(c)===e5||Hpe(c,"abort").length>=e5)&&Z4(1500,c)}catch{}G0.addAbortListener(c,I),s5.register(f,{signal:c,abort:I},I)}}if(this[Si]=new n5(K0),i5(this[Si],i.headersList),iS(this[Si],"request"),d==="no-cors"){if(!Rpe.has(i.method))throw new TypeError(`'${i.method} is unsupported in no-cors mode.`);iS(this[Si],"request-no-cors")}if(A){let y=V4(this[Si]),I=r.headers!==void 0?r.headers:new Y0(y);if(y.clear(),I instanceof Y0){for(let{name:w,value:v}of I.rawValues())y.append(w,v,!1);y.cookies=I.cookies}else wpe(this[Si],I)}let h=e instanceof t?e[qt].body:null;if((r.body!=null||h!=null)&&(i.method==="GET"||i.method==="HEAD"))throw new TypeError("Request with GET/HEAD method cannot have body.");let g=null;if(r.body!=null){let[y,I]=xpe(r.body,i.keepalive);g=y,I&&!V4(this[Si]).contains("content-type",!0)&&this[Si].append("content-type",I)}let m=g??h;if(m!=null&&m.source==null){if(g!=null&&r.duplex==null)throw new TypeError("RequestInit: duplex option is required when sending a body.");if(i.mode!=="same-origin"&&i.mode!=="cors")throw new TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"');i.useCORSPreflightFlag=!0}let b=m;if(g==null&&h!=null){if(J4(e))throw new TypeError("Cannot construct a Request with a Request object that has already been used.");let y=new TransformStream;h.stream.pipeThrough(y),b={source:h.source,length:h.length,stream:y.readable}}this[qt].body=b}get method(){return Ue.brandCheck(this,t),this[qt].method}get url(){return Ue.brandCheck(this,t),Upe(this[qt].url)}get headers(){return Ue.brandCheck(this,t),this[Si]}get destination(){return Ue.brandCheck(this,t),this[qt].destination}get referrer(){return Ue.brandCheck(this,t),this[qt].referrer==="no-referrer"?"":this[qt].referrer==="client"?"about:client":this[qt].referrer.toString()}get referrerPolicy(){return Ue.brandCheck(this,t),this[qt].referrerPolicy}get mode(){return Ue.brandCheck(this,t),this[qt].mode}get credentials(){return this[qt].credentials}get cache(){return Ue.brandCheck(this,t),this[qt].cache}get redirect(){return Ue.brandCheck(this,t),this[qt].redirect}get integrity(){return Ue.brandCheck(this,t),this[qt].integrity}get keepalive(){return Ue.brandCheck(this,t),this[qt].keepalive}get isReloadNavigation(){return Ue.brandCheck(this,t),this[qt].reloadNavigation}get isHistoryNavigation(){return Ue.brandCheck(this,t),this[qt].historyNavigation}get signal(){return Ue.brandCheck(this,t),this[j0]}get body(){return Ue.brandCheck(this,t),this[qt].body?this[qt].body.stream:null}get bodyUsed(){return Ue.brandCheck(this,t),!!this[qt].body&&G0.isDisturbed(this[qt].body.stream)}get duplex(){return Ue.brandCheck(this,t),"half"}clone(){if(Ue.brandCheck(this,t),J4(this))throw new TypeError("unusable");let e=o5(this[qt]),r=new AbortController;if(this.signal.aborted)r.abort(this.signal.reason);else{let n=J0.get(this.signal);n===void 0&&(n=new Set,J0.set(this.signal,n));let i=new WeakRef(r);n.add(i),G0.addAbortListener(r.signal,t5(i))}return a5(e,r.signal,Qpe(this[Si]))}[W4.inspect.custom](e,r){r.depth===null&&(r.depth=2),r.colors??=!0;let n={method:this.method,url:this.url,headers:this.headers,destination:this.destination,referrer:this.referrer,referrerPolicy:this.referrerPolicy,mode:this.mode,credentials:this.credentials,cache:this.cache,redirect:this.redirect,integrity:this.integrity,keepalive:this.keepalive,isReloadNavigation:this.isReloadNavigation,isHistoryNavigation:this.isHistoryNavigation,signal:this.signal};return`Request ${W4.formatWithOptions(r,n)}`}};Ipe(mc);function V0(t){return{method:t.method??"GET",localURLsOnly:t.localURLsOnly??!1,unsafeRequest:t.unsafeRequest??!1,body:t.body??null,client:t.client??null,reservedClient:t.reservedClient??null,replacesClientId:t.replacesClientId??"",window:t.window??"client",keepalive:t.keepalive??!1,serviceWorkers:t.serviceWorkers??"all",initiator:t.initiator??"",destination:t.destination??"",priority:t.priority??null,origin:t.origin??"client",policyContainer:t.policyContainer??"client",referrer:t.referrer??"client",referrerPolicy:t.referrerPolicy??"",mode:t.mode??"no-cors",useCORSPreflightFlag:t.useCORSPreflightFlag??!1,credentials:t.credentials??"same-origin",useCredentials:t.useCredentials??!1,cache:t.cache??"default",redirect:t.redirect??"follow",integrity:t.integrity??"",cryptoGraphicsNonceMetadata:t.cryptoGraphicsNonceMetadata??"",parserMetadata:t.parserMetadata??"",reloadNavigation:t.reloadNavigation??!1,historyNavigation:t.historyNavigation??!1,userActivation:t.userActivation??!1,taintedOrigin:t.taintedOrigin??!1,redirectCount:t.redirectCount??0,responseTainting:t.responseTainting??"basic",preventNoCacheCacheControlHeaderModification:t.preventNoCacheCacheControlHeaderModification??!1,done:t.done??!1,timingAllowFailed:t.timingAllowFailed??!1,urlList:t.urlList,url:t.urlList[0],headersList:t.headersList?new Y0(t.headersList):new Y0}}o(V0,"makeRequest");function o5(t){let e=V0({...t,body:null});return t.body!=null&&(e.body=Bpe(e,t.body)),e}o(o5,"cloneRequest");function a5(t,e,r){let n=new mc(K0);return n[qt]=t,n[j0]=e,n[Si]=new n5(K0),i5(n[Si],t.headersList),iS(n[Si],r),n}o(a5,"fromInnerRequest");Object.defineProperties(mc.prototype,{method:Nr,url:Nr,headers:Nr,redirect:Nr,clone:Nr,signal:Nr,duplex:Nr,destination:Nr,body:Nr,bodyUsed:Nr,isHistoryNavigation:Nr,isReloadNavigation:Nr,keepalive:Nr,integrity:Nr,cache:Nr,credentials:Nr,attribute:Nr,referrerPolicy:Nr,referrer:Nr,mode:Nr,[Symbol.toStringTag]:{value:"Request",configurable:!0}});Ue.converters.Request=Ue.interfaceConverter(mc);Ue.converters.RequestInfo=function(t,e,r){return typeof t=="string"?Ue.converters.USVString(t,e,r):t instanceof mc?Ue.converters.Request(t,e,r):Ue.converters.USVString(t,e,r)};Ue.converters.AbortSignal=Ue.interfaceConverter(AbortSignal);Ue.converters.RequestInit=Ue.dictionaryConverter([{key:"method",converter:Ue.converters.ByteString},{key:"headers",converter:Ue.converters.HeadersInit},{key:"body",converter:Ue.nullableConverter(Ue.converters.BodyInit)},{key:"referrer",converter:Ue.converters.USVString},{key:"referrerPolicy",converter:Ue.converters.DOMString,allowedValues:Ppe},{key:"mode",converter:Ue.converters.DOMString,allowedValues:Dpe},{key:"credentials",converter:Ue.converters.DOMString,allowedValues:kpe},{key:"cache",converter:Ue.converters.DOMString,allowedValues:Tpe},{key:"redirect",converter:Ue.converters.DOMString,allowedValues:_pe},{key:"integrity",converter:Ue.converters.DOMString},{key:"keepalive",converter:Ue.converters.boolean},{key:"signal",converter:Ue.nullableConverter(t=>Ue.converters.AbortSignal(t,"RequestInit","signal",{strict:!1}))},{key:"window",converter:Ue.converters.any},{key:"duplex",converter:Ue.converters.DOMString,allowedValues:Ope},{key:"dispatcher",converter:Ue.converters.any}]);c5.exports={Request:mc,makeRequest:V0,fromInnerRequest:a5,cloneRequest:o5}});var $h=x((ctt,I5)=>{"use strict";var{makeNetworkError:St,makeAppropriateNetworkError:W0,filterResponse:sS,makeResponse:$0,fromInnerResponse:zpe}=Vh(),{HeadersList:l5}=zl(),{Request:Gpe,cloneRequest:jpe}=GA(),yc=require("node:zlib"),{bytesMatch:Ype,makePolicyContainer:Kpe,clonePolicyContainer:Jpe,requestBadPort:Vpe,TAOCheck:Wpe,appendRequestOriginHeader:$pe,responseLocationURL:Xpe,requestCurrentURL:Eo,setRequestReferrerPolicyOnRedirect:Zpe,tryUpgradeRequestToAPotentiallyTrustworthyURL:ege,createOpaqueTimingInfo:uS,appendFetchMetadata:tge,corsCheck:rge,crossOriginResourcePolicyCheck:nge,determineRequestsReferrer:ige,coarsenedSharedCurrentTime:Wh,createDeferredPromise:sge,isBlobLike:oge,sameOrigin:lS,isCancelled:jl,isAborted:u5,isErrorLike:age,fullyReadBody:cge,readableStreamClose:lge,isomorphicEncode:X0,urlIsLocal:uge,urlIsHttpHttpsScheme:AS,urlHasHttpsScheme:Age,clampAndCoarsenConnectionTimingInfo:dge,simpleRangeHeaderValue:fge,buildContentRange:hge,createInflate:pge,extractMimeType:gge}=xi(),{kState:h5,kDispatcher:mge}=sc(),Yl=require("node:assert"),{safelyExtractBody:dS,extractBody:A5}=xA(),{redirectStatusSet:p5,nullBodyStatus:g5,safeMethodsSet:yge,requestBodyHeader:Ege,subresourceSet:bge}=yh(),Cge=require("node:events"),{Readable:xge,pipeline:Ige,finished:Bge}=require("node:stream"),{addAbortListener:wge,isErrored:Qge,isReadable:Z0,bufferToLowerCasedHeaderName:d5}=Xe(),{dataURLProcessor:Sge,serializeAMimeType:Nge,minimizeSupportedMimeType:vge}=Yn(),{getGlobalDispatcher:Rge}=O0(),{webidl:Pge}=ln(),{STATUS_CODES:_ge}=require("node:http"),Dge=["GET","HEAD"],kge=typeof __UNDICI_IS_NODE__<"u"||typeof esbuildDetection<"u"?"node":"undici",oS,ey=class extends Cge{static{o(this,"Fetch")}constructor(e){super(),this.dispatcher=e,this.connection=null,this.dump=!1,this.state="ongoing"}terminate(e){this.state==="ongoing"&&(this.state="terminated",this.connection?.destroy(e),this.emit("terminated",e))}abort(e){this.state==="ongoing"&&(this.state="aborted",e||(e=new DOMException("The operation was aborted.","AbortError")),this.serializedAbortReason=e,this.connection?.destroy(e),this.emit("terminated",e))}};function Tge(t){m5(t,"fetch")}o(Tge,"handleFetchDone");function Oge(t,e=void 0){Pge.argumentLengthCheck(arguments,1,"globalThis.fetch");let r=sge(),n;try{n=new Gpe(t,e)}catch(A){return r.reject(A),r.promise}let i=n[h5];if(n.signal.aborted)return aS(r,i,null,n.signal.reason),r.promise;i.client.globalObject?.constructor?.name==="ServiceWorkerGlobalScope"&&(i.serviceWorkers="none");let a=null,c=!1,l=null;return wge(n.signal,()=>{c=!0,Yl(l!=null),l.abort(n.signal.reason);let A=a?.deref();aS(r,i,A,n.signal.reason)}),l=E5({request:i,processResponseEndOfBody:Tge,processResponse:o(A=>{if(!c){if(A.aborted){aS(r,i,a,l.serializedAbortReason);return}if(A.type==="error"){r.reject(new TypeError("fetch failed",{cause:A.error}));return}a=new WeakRef(zpe(A,"immutable")),r.resolve(a.deref()),r=null}},"processResponse"),dispatcher:n[mge]}),r.promise}o(Oge,"fetch");function m5(t,e="other"){if(t.type==="error"&&t.aborted||!t.urlList?.length)return;let r=t.urlList[0],n=t.timingInfo,i=t.cacheState;AS(r)&&n!==null&&(t.timingAllowPassed||(n=uS({startTime:n.startTime}),i=""),n.endTime=Wh(),t.timingInfo=n,y5(n,r.href,e,globalThis,i))}o(m5,"finalizeAndReportTiming");var y5=performance.markResourceTiming;function aS(t,e,r,n){if(t&&t.reject(n),e.body!=null&&Z0(e.body?.stream)&&e.body.stream.cancel(n).catch(s=>{if(s.code!=="ERR_INVALID_STATE")throw s}),r==null)return;let i=r[h5];i.body!=null&&Z0(i.body?.stream)&&i.body.stream.cancel(n).catch(s=>{if(s.code!=="ERR_INVALID_STATE")throw s})}o(aS,"abortFetch");function E5({request:t,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:n,processResponseEndOfBody:i,processResponseConsumeBody:s,useParallelQueue:a=!1,dispatcher:c=Rge()}){Yl(c);let l=null,u=!1;t.client!=null&&(l=t.client.globalObject,u=t.client.crossOriginIsolatedCapability);let A=Wh(u),d=uS({startTime:A}),f={controller:new ey(c),request:t,timingInfo:d,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:n,processResponseConsumeBody:s,processResponseEndOfBody:i,taskDestination:l,crossOriginIsolatedCapability:u};return Yl(!t.body||t.body.stream),t.window==="client"&&(t.window=t.client?.globalObject?.constructor?.name==="Window"?t.client:"no-window"),t.origin==="client"&&(t.origin=t.client.origin),t.policyContainer==="client"&&(t.client!=null?t.policyContainer=Jpe(t.client.policyContainer):t.policyContainer=Kpe()),t.headersList.contains("accept",!0)||t.headersList.append("accept","*/*",!0),t.headersList.contains("accept-language",!0)||t.headersList.append("accept-language","*",!0),t.priority,bge.has(t.destination),b5(f).catch(h=>{f.controller.terminate(h)}),f.controller}o(E5,"fetching");async function b5(t,e=!1){let r=t.request,n=null;if(r.localURLsOnly&&!uge(Eo(r))&&(n=St("local URLs only")),ege(r),Vpe(r)==="blocked"&&(n=St("bad port")),r.referrerPolicy===""&&(r.referrerPolicy=r.policyContainer.referrerPolicy),r.referrer!=="no-referrer"&&(r.referrer=ige(r)),n===null&&(n=await(async()=>{let s=Eo(r);return lS(s,r.url)&&r.responseTainting==="basic"||s.protocol==="data:"||r.mode==="navigate"||r.mode==="websocket"?(r.responseTainting="basic",await f5(t)):r.mode==="same-origin"?St('request mode cannot be "same-origin"'):r.mode==="no-cors"?r.redirect!=="follow"?St('redirect mode cannot be "follow" for "no-cors" request'):(r.responseTainting="opaque",await f5(t)):AS(Eo(r))?(r.responseTainting="cors",await C5(t)):St("URL scheme must be a HTTP(S) scheme")})()),e)return n;n.status!==0&&!n.internalResponse&&(r.responseTainting,r.responseTainting==="basic"?n=sS(n,"basic"):r.responseTainting==="cors"?n=sS(n,"cors"):r.responseTainting==="opaque"?n=sS(n,"opaque"):Yl(!1));let i=n.status===0?n:n.internalResponse;if(i.urlList.length===0&&i.urlList.push(...r.urlList),r.timingAllowFailed||(n.timingAllowPassed=!0),n.type==="opaque"&&i.status===206&&i.rangeRequested&&!r.headers.contains("range",!0)&&(n=i=St()),n.status!==0&&(r.method==="HEAD"||r.method==="CONNECT"||g5.includes(i.status))&&(i.body=null,t.controller.dump=!0),r.integrity){let s=o(c=>cS(t,St(c)),"processBodyError");if(r.responseTainting==="opaque"||n.body==null){s(n.error);return}let a=o(c=>{if(!Ype(c,r.integrity)){s("integrity mismatch");return}n.body=dS(c)[0],cS(t,n)},"processBody");await cge(n.body,a,s)}else cS(t,n)}o(b5,"mainFetch");function f5(t){if(jl(t)&&t.request.redirectCount===0)return Promise.resolve(W0(t));let{request:e}=t,{protocol:r}=Eo(e);switch(r){case"about:":return Promise.resolve(St("about scheme is not supported"));case"blob:":{oS||(oS=require("node:buffer").resolveObjectURL);let n=Eo(e);if(n.search.length!==0)return Promise.resolve(St("NetworkError when attempting to fetch resource."));let i=oS(n.toString());if(e.method!=="GET"||!oge(i))return Promise.resolve(St("invalid method"));let s=$0(),a=i.size,c=X0(`${a}`),l=i.type;if(e.headersList.contains("range",!0)){s.rangeRequested=!0;let u=e.headersList.get("range",!0),A=fge(u,!0);if(A==="failure")return Promise.resolve(St("failed to fetch the data URL"));let{rangeStartValue:d,rangeEndValue:f}=A;if(d===null)d=a-f,f=d+f-1;else{if(d>=a)return Promise.resolve(St("Range start is greater than the blob's size."));(f===null||f>=a)&&(f=a-1)}let h=i.slice(d,f,l),g=A5(h);s.body=g[0];let m=X0(`${h.size}`),b=hge(d,f,a);s.status=206,s.statusText="Partial Content",s.headersList.set("content-length",m,!0),s.headersList.set("content-type",l,!0),s.headersList.set("content-range",b,!0)}else{let u=A5(i);s.statusText="OK",s.body=u[0],s.headersList.set("content-length",c,!0),s.headersList.set("content-type",l,!0)}return Promise.resolve(s)}case"data:":{let n=Eo(e),i=Sge(n);if(i==="failure")return Promise.resolve(St("failed to fetch the data URL"));let s=Nge(i.mimeType);return Promise.resolve($0({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:s}]],body:dS(i.body)[0]}))}case"file:":return Promise.resolve(St("not implemented... yet..."));case"http:":case"https:":return C5(t).catch(n=>St(n));default:return Promise.resolve(St("unknown scheme"))}}o(f5,"schemeFetch");function Mge(t,e){t.request.done=!0,t.processResponseDone!=null&&queueMicrotask(()=>t.processResponseDone(e))}o(Mge,"finalizeResponse");function cS(t,e){let r=t.timingInfo,n=o(()=>{let s=Date.now();t.request.destination==="document"&&(t.controller.fullTimingInfo=r),t.controller.reportTimingSteps=()=>{if(t.request.url.protocol!=="https:")return;r.endTime=s;let c=e.cacheState,l=e.bodyInfo;e.timingAllowPassed||(r=uS(r),c="");let u=0;if(t.request.mode!=="navigator"||!e.hasCrossOriginRedirects){u=e.status;let A=gge(e.headersList);A!=="failure"&&(l.contentType=vge(A))}t.request.initiatorType!=null&&y5(r,t.request.url.href,t.request.initiatorType,globalThis,c,l,u)};let a=o(()=>{t.request.done=!0,t.processResponseEndOfBody!=null&&queueMicrotask(()=>t.processResponseEndOfBody(e)),t.request.initiatorType!=null&&t.controller.reportTimingSteps()},"processResponseEndOfBodyTask");queueMicrotask(()=>a())},"processResponseEndOfBody");t.processResponse!=null&&queueMicrotask(()=>{t.processResponse(e),t.processResponse=null});let i=e.type==="error"?e:e.internalResponse??e;i.body==null?n():Bge(i.body.stream,()=>{n()})}o(cS,"fetchFinale");async function C5(t){let e=t.request,r=null,n=null,i=t.timingInfo;if(e.serviceWorkers,r===null){if(e.redirect==="follow"&&(e.serviceWorkers="none"),n=r=await x5(t),e.responseTainting==="cors"&&rge(e,r)==="failure")return St("cors failure");Wpe(e,r)==="failure"&&(e.timingAllowFailed=!0)}return(e.responseTainting==="opaque"||r.type==="opaque")&&nge(e.origin,e.client,e.destination,n)==="blocked"?St("blocked"):(p5.has(n.status)&&(e.redirect!=="manual"&&t.controller.connection.destroy(void 0,!1),e.redirect==="error"?r=St("unexpected redirect"):e.redirect==="manual"?r=n:e.redirect==="follow"?r=await Lge(t,r):Yl(!1)),r.timingInfo=i,r)}o(C5,"httpFetch");function Lge(t,e){let r=t.request,n=e.internalResponse?e.internalResponse:e,i;try{if(i=Xpe(n,Eo(r).hash),i==null)return e}catch(a){return Promise.resolve(St(a))}if(!AS(i))return Promise.resolve(St("URL scheme must be a HTTP(S) scheme"));if(r.redirectCount===20)return Promise.resolve(St("redirect count exceeded"));if(r.redirectCount+=1,r.mode==="cors"&&(i.username||i.password)&&!lS(r,i))return Promise.resolve(St('cross origin not allowed for request mode "cors"'));if(r.responseTainting==="cors"&&(i.username||i.password))return Promise.resolve(St('URL cannot contain credentials for request mode "cors"'));if(n.status!==303&&r.body!=null&&r.body.source==null)return Promise.resolve(St());if([301,302].includes(n.status)&&r.method==="POST"||n.status===303&&!Dge.includes(r.method)){r.method="GET",r.body=null;for(let a of Ege)r.headersList.delete(a)}lS(Eo(r),i)||(r.headersList.delete("authorization",!0),r.headersList.delete("proxy-authorization",!0),r.headersList.delete("cookie",!0),r.headersList.delete("host",!0)),r.body!=null&&(Yl(r.body.source!=null),r.body=dS(r.body.source)[0]);let s=t.timingInfo;return s.redirectEndTime=s.postRedirectStartTime=Wh(t.crossOriginIsolatedCapability),s.redirectStartTime===0&&(s.redirectStartTime=s.startTime),r.urlList.push(i),Zpe(r,n),b5(t,!0)}o(Lge,"httpRedirectFetch");async function x5(t,e=!1,r=!1){let n=t.request,i=null,s=null,a=null,c=null,l=!1;n.window==="no-window"&&n.redirect==="error"?(i=t,s=n):(s=jpe(n),i={...t},i.request=s);let u=n.credentials==="include"||n.credentials==="same-origin"&&n.responseTainting==="basic",A=s.body?s.body.length:null,d=null;if(s.body==null&&["POST","PUT"].includes(s.method)&&(d="0"),A!=null&&(d=X0(`${A}`)),d!=null&&s.headersList.append("content-length",d,!0),A!=null&&s.keepalive,s.referrer instanceof URL&&s.headersList.append("referer",X0(s.referrer.href),!0),$pe(s),tge(s),s.headersList.contains("user-agent",!0)||s.headersList.append("user-agent",kge),s.cache==="default"&&(s.headersList.contains("if-modified-since",!0)||s.headersList.contains("if-none-match",!0)||s.headersList.contains("if-unmodified-since",!0)||s.headersList.contains("if-match",!0)||s.headersList.contains("if-range",!0))&&(s.cache="no-store"),s.cache==="no-cache"&&!s.preventNoCacheCacheControlHeaderModification&&!s.headersList.contains("cache-control",!0)&&s.headersList.append("cache-control","max-age=0",!0),(s.cache==="no-store"||s.cache==="reload")&&(s.headersList.contains("pragma",!0)||s.headersList.append("pragma","no-cache",!0),s.headersList.contains("cache-control",!0)||s.headersList.append("cache-control","no-cache",!0)),s.headersList.contains("range",!0)&&s.headersList.append("accept-encoding","identity",!0),s.headersList.contains("accept-encoding",!0)||(Age(Eo(s))?s.headersList.append("accept-encoding","br, gzip, deflate",!0):s.headersList.append("accept-encoding","gzip, deflate",!0)),s.headersList.delete("host",!0),c==null&&(s.cache="no-store"),s.cache!=="no-store"&&s.cache,a==null){if(s.cache==="only-if-cached")return St("only if cached");let f=await Uge(i,u,r);!yge.has(s.method)&&f.status>=200&&f.status<=399,l&&f.status,a==null&&(a=f)}if(a.urlList=[...s.urlList],s.headersList.contains("range",!0)&&(a.rangeRequested=!0),a.requestIncludesCredentials=u,a.status===407)return n.window==="no-window"?St():jl(t)?W0(t):St("proxy authentication required");if(a.status===421&&!r&&(n.body==null||n.body.source!=null)){if(jl(t))return W0(t);t.controller.connection.destroy(),a=await x5(t,e,!0)}return a}o(x5,"httpNetworkOrCacheFetch");async function Uge(t,e=!1,r=!1){Yl(!t.controller.connection||t.controller.connection.destroyed),t.controller.connection={abort:null,destroyed:!1,destroy(g,m=!0){this.destroyed||(this.destroyed=!0,m&&this.abort?.(g??new DOMException("The operation was aborted.","AbortError")))}};let n=t.request,i=null,s=t.timingInfo;null==null&&(n.cache="no-store");let c=r?"yes":"no";n.mode;let l=null;if(n.body==null&&t.processRequestEndOfBody)queueMicrotask(()=>t.processRequestEndOfBody());else if(n.body!=null){let g=o(async function*(y){jl(t)||(yield y,t.processRequestBodyChunkLength?.(y.byteLength))},"processBodyChunk"),m=o(()=>{jl(t)||t.processRequestEndOfBody&&t.processRequestEndOfBody()},"processEndOfBody"),b=o(y=>{jl(t)||(y.name==="AbortError"?t.controller.abort():t.controller.terminate(y))},"processBodyError");l=(async function*(){try{for await(let y of n.body.stream)yield*g(y);m()}catch(y){b(y)}})()}try{let{body:g,status:m,statusText:b,headersList:y,socket:I}=await h({body:l});if(I)i=$0({status:m,statusText:b,headersList:y,socket:I});else{let w=g[Symbol.asyncIterator]();t.controller.next=()=>w.next(),i=$0({status:m,statusText:b,headersList:y})}}catch(g){return g.name==="AbortError"?(t.controller.connection.destroy(),W0(t,g)):St(g)}let u=o(async()=>{await t.controller.resume()},"pullAlgorithm"),A=o(g=>{jl(t)||t.controller.abort(g)},"cancelAlgorithm"),d=new ReadableStream({async start(g){t.controller.controller=g},async pull(g){await u(g)},async cancel(g){await A(g)},type:"bytes"});i.body={stream:d,source:null,length:null},t.controller.onAborted=f,t.controller.on("terminated",f),t.controller.resume=async()=>{for(;;){let g,m;try{let{done:y,value:I}=await t.controller.next();if(u5(t))break;g=y?void 0:I}catch(y){t.controller.ended&&!s.encodedBodySize?g=void 0:(g=y,m=!0)}if(g===void 0){lge(t.controller.controller),Mge(t,i);return}if(s.decodedBodySize+=g?.byteLength??0,m){t.controller.terminate(g);return}let b=new Uint8Array(g);if(b.byteLength&&t.controller.controller.enqueue(b),Qge(d)){t.controller.terminate();return}if(t.controller.controller.desiredSize<=0)return}};function f(g){u5(t)?(i.aborted=!0,Z0(d)&&t.controller.controller.error(t.controller.serializedAbortReason)):Z0(d)&&t.controller.controller.error(new TypeError("terminated",{cause:age(g)?g:void 0})),t.controller.connection.destroy()}return o(f,"onAborted"),i;function h({body:g}){let m=Eo(n),b=t.controller.dispatcher;return new Promise((y,I)=>b.dispatch({path:m.pathname+m.search,origin:m.origin,method:n.method,body:b.isMockActive?n.body&&(n.body.source||n.body.stream):g,headers:n.headersList.entries,maxRedirections:0,upgrade:n.mode==="websocket"?"websocket":void 0},{body:null,abort:null,onConnect(w){let{connection:v}=t.controller;s.finalConnectionTimingInfo=dge(void 0,s.postRedirectStartTime,t.crossOriginIsolatedCapability),v.destroyed?w(new DOMException("The operation was aborted.","AbortError")):(t.controller.on("terminated",w),this.abort=v.abort=w),s.finalNetworkRequestStartTime=Wh(t.crossOriginIsolatedCapability)},onResponseStarted(){s.finalNetworkResponseStartTime=Wh(t.crossOriginIsolatedCapability)},onHeaders(w,v,U,H){if(w<200)return;let J="",q=new l5;for(let z=0;zk)return I(new Error(`too many content-encodings in response: ${_.length}, maximum allowed is ${k}`)),!0;for(let F=_.length-1;F>=0;--F){let K=_[F].trim();if(K==="x-gzip"||K==="gzip")D.push(yc.createGunzip({flush:yc.constants.Z_SYNC_FLUSH,finishFlush:yc.constants.Z_SYNC_FLUSH}));else if(K==="deflate")D.push(pge({flush:yc.constants.Z_SYNC_FLUSH,finishFlush:yc.constants.Z_SYNC_FLUSH}));else if(K==="br")D.push(yc.createBrotliDecompress({flush:yc.constants.BROTLI_OPERATION_FLUSH,finishFlush:yc.constants.BROTLI_OPERATION_FLUSH}));else{D.length=0;break}}}let L=this.onError.bind(this);return y({status:w,statusText:H,headersList:q,body:D.length?Ige(this.body,...D,z=>{z&&this.onError(z)}).on("error",L):this.body.on("error",L)}),!0},onData(w){if(t.controller.dump)return;let v=w;return s.encodedBodySize+=v.byteLength,this.body.push(v)},onComplete(){this.abort&&t.controller.off("terminated",this.abort),t.controller.onAborted&&t.controller.off("terminated",t.controller.onAborted),t.controller.ended=!0,this.body.push(null)},onError(w){this.abort&&t.controller.off("terminated",this.abort),this.body?.destroy(w),t.controller.terminate(w),I(w)},onUpgrade(w,v,U){if(w!==101)return;let H=new l5;for(let J=0;J{"use strict";B5.exports={kState:Symbol("FileReader state"),kResult:Symbol("FileReader result"),kError:Symbol("FileReader error"),kLastProgressEventFired:Symbol("FileReader last progress event fired timestamp"),kEvents:Symbol("FileReader events"),kAborted:Symbol("FileReader aborted")}});var Q5=x((Att,w5)=>{"use strict";var{webidl:Ni}=ln(),ty=Symbol("ProgressEvent state"),hS=class t extends Event{static{o(this,"ProgressEvent")}constructor(e,r={}){e=Ni.converters.DOMString(e,"ProgressEvent constructor","type"),r=Ni.converters.ProgressEventInit(r??{}),super(e,r),this[ty]={lengthComputable:r.lengthComputable,loaded:r.loaded,total:r.total}}get lengthComputable(){return Ni.brandCheck(this,t),this[ty].lengthComputable}get loaded(){return Ni.brandCheck(this,t),this[ty].loaded}get total(){return Ni.brandCheck(this,t),this[ty].total}};Ni.converters.ProgressEventInit=Ni.dictionaryConverter([{key:"lengthComputable",converter:Ni.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"loaded",converter:Ni.converters["unsigned long long"],defaultValue:o(()=>0,"defaultValue")},{key:"total",converter:Ni.converters["unsigned long long"],defaultValue:o(()=>0,"defaultValue")},{key:"bubbles",converter:Ni.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"cancelable",converter:Ni.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"composed",converter:Ni.converters.boolean,defaultValue:o(()=>!1,"defaultValue")}]);w5.exports={ProgressEvent:hS}});var N5=x((ftt,S5)=>{"use strict";function Fge(t){if(!t)return"failure";switch(t.trim().toLowerCase()){case"unicode-1-1-utf-8":case"unicode11utf8":case"unicode20utf8":case"utf-8":case"utf8":case"x-unicode20utf8":return"UTF-8";case"866":case"cp866":case"csibm866":case"ibm866":return"IBM866";case"csisolatin2":case"iso-8859-2":case"iso-ir-101":case"iso8859-2":case"iso88592":case"iso_8859-2":case"iso_8859-2:1987":case"l2":case"latin2":return"ISO-8859-2";case"csisolatin3":case"iso-8859-3":case"iso-ir-109":case"iso8859-3":case"iso88593":case"iso_8859-3":case"iso_8859-3:1988":case"l3":case"latin3":return"ISO-8859-3";case"csisolatin4":case"iso-8859-4":case"iso-ir-110":case"iso8859-4":case"iso88594":case"iso_8859-4":case"iso_8859-4:1988":case"l4":case"latin4":return"ISO-8859-4";case"csisolatincyrillic":case"cyrillic":case"iso-8859-5":case"iso-ir-144":case"iso8859-5":case"iso88595":case"iso_8859-5":case"iso_8859-5:1988":return"ISO-8859-5";case"arabic":case"asmo-708":case"csiso88596e":case"csiso88596i":case"csisolatinarabic":case"ecma-114":case"iso-8859-6":case"iso-8859-6-e":case"iso-8859-6-i":case"iso-ir-127":case"iso8859-6":case"iso88596":case"iso_8859-6":case"iso_8859-6:1987":return"ISO-8859-6";case"csisolatingreek":case"ecma-118":case"elot_928":case"greek":case"greek8":case"iso-8859-7":case"iso-ir-126":case"iso8859-7":case"iso88597":case"iso_8859-7":case"iso_8859-7:1987":case"sun_eu_greek":return"ISO-8859-7";case"csiso88598e":case"csisolatinhebrew":case"hebrew":case"iso-8859-8":case"iso-8859-8-e":case"iso-ir-138":case"iso8859-8":case"iso88598":case"iso_8859-8":case"iso_8859-8:1988":case"visual":return"ISO-8859-8";case"csiso88598i":case"iso-8859-8-i":case"logical":return"ISO-8859-8-I";case"csisolatin6":case"iso-8859-10":case"iso-ir-157":case"iso8859-10":case"iso885910":case"l6":case"latin6":return"ISO-8859-10";case"iso-8859-13":case"iso8859-13":case"iso885913":return"ISO-8859-13";case"iso-8859-14":case"iso8859-14":case"iso885914":return"ISO-8859-14";case"csisolatin9":case"iso-8859-15":case"iso8859-15":case"iso885915":case"iso_8859-15":case"l9":return"ISO-8859-15";case"iso-8859-16":return"ISO-8859-16";case"cskoi8r":case"koi":case"koi8":case"koi8-r":case"koi8_r":return"KOI8-R";case"koi8-ru":case"koi8-u":return"KOI8-U";case"csmacintosh":case"mac":case"macintosh":case"x-mac-roman":return"macintosh";case"iso-8859-11":case"iso8859-11":case"iso885911":case"tis-620":case"windows-874":return"windows-874";case"cp1250":case"windows-1250":case"x-cp1250":return"windows-1250";case"cp1251":case"windows-1251":case"x-cp1251":return"windows-1251";case"ansi_x3.4-1968":case"ascii":case"cp1252":case"cp819":case"csisolatin1":case"ibm819":case"iso-8859-1":case"iso-ir-100":case"iso8859-1":case"iso88591":case"iso_8859-1":case"iso_8859-1:1987":case"l1":case"latin1":case"us-ascii":case"windows-1252":case"x-cp1252":return"windows-1252";case"cp1253":case"windows-1253":case"x-cp1253":return"windows-1253";case"cp1254":case"csisolatin5":case"iso-8859-9":case"iso-ir-148":case"iso8859-9":case"iso88599":case"iso_8859-9":case"iso_8859-9:1989":case"l5":case"latin5":case"windows-1254":case"x-cp1254":return"windows-1254";case"cp1255":case"windows-1255":case"x-cp1255":return"windows-1255";case"cp1256":case"windows-1256":case"x-cp1256":return"windows-1256";case"cp1257":case"windows-1257":case"x-cp1257":return"windows-1257";case"cp1258":case"windows-1258":case"x-cp1258":return"windows-1258";case"x-mac-cyrillic":case"x-mac-ukrainian":return"x-mac-cyrillic";case"chinese":case"csgb2312":case"csiso58gb231280":case"gb2312":case"gb_2312":case"gb_2312-80":case"gbk":case"iso-ir-58":case"x-gbk":return"GBK";case"gb18030":return"gb18030";case"big5":case"big5-hkscs":case"cn-big5":case"csbig5":case"x-x-big5":return"Big5";case"cseucpkdfmtjapanese":case"euc-jp":case"x-euc-jp":return"EUC-JP";case"csiso2022jp":case"iso-2022-jp":return"ISO-2022-JP";case"csshiftjis":case"ms932":case"ms_kanji":case"shift-jis":case"shift_jis":case"sjis":case"windows-31j":case"x-sjis":return"Shift_JIS";case"cseuckr":case"csksc56011987":case"euc-kr":case"iso-ir-149":case"korean":case"ks_c_5601-1987":case"ks_c_5601-1989":case"ksc5601":case"ksc_5601":case"windows-949":return"EUC-KR";case"csiso2022kr":case"hz-gb-2312":case"iso-2022-cn":case"iso-2022-cn-ext":case"iso-2022-kr":case"replacement":return"replacement";case"unicodefffe":case"utf-16be":return"UTF-16BE";case"csunicode":case"iso-10646-ucs-2":case"ucs-2":case"unicode":case"unicodefeff":case"utf-16":case"utf-16le":return"UTF-16LE";case"x-user-defined":return"x-user-defined";default:return"failure"}}o(Fge,"getEncoding");S5.exports={getEncoding:Fge}});var O5=x((ptt,T5)=>{"use strict";var{kState:jA,kError:pS,kResult:v5,kAborted:Xh,kLastProgressEventFired:gS}=fS(),{ProgressEvent:Hge}=Q5(),{getEncoding:R5}=N5(),{serializeAMimeType:qge,parseMIMEType:P5}=Yn(),{types:zge}=require("node:util"),{StringDecoder:_5}=require("string_decoder"),{btoa:D5}=require("node:buffer"),Gge={enumerable:!0,writable:!1,configurable:!1};function jge(t,e,r,n){if(t[jA]==="loading")throw new DOMException("Invalid state","InvalidStateError");t[jA]="loading",t[v5]=null,t[pS]=null;let s=e.stream().getReader(),a=[],c=s.read(),l=!0;(async()=>{for(;!t[Xh];)try{let{done:u,value:A}=await c;if(l&&!t[Xh]&&queueMicrotask(()=>{Ec("loadstart",t)}),l=!1,!u&&zge.isUint8Array(A))a.push(A),(t[gS]===void 0||Date.now()-t[gS]>=50)&&!t[Xh]&&(t[gS]=Date.now(),queueMicrotask(()=>{Ec("progress",t)})),c=s.read();else if(u){queueMicrotask(()=>{t[jA]="done";try{let d=Yge(a,r,e.type,n);if(t[Xh])return;t[v5]=d,Ec("load",t)}catch(d){t[pS]=d,Ec("error",t)}t[jA]!=="loading"&&Ec("loadend",t)});break}}catch(u){if(t[Xh])return;queueMicrotask(()=>{t[jA]="done",t[pS]=u,Ec("error",t),t[jA]!=="loading"&&Ec("loadend",t)});break}})()}o(jge,"readOperation");function Ec(t,e){let r=new Hge(t,{bubbles:!1,cancelable:!1});e.dispatchEvent(r)}o(Ec,"fireAProgressEvent");function Yge(t,e,r,n){switch(e){case"DataURL":{let i="data:",s=P5(r||"application/octet-stream");s!=="failure"&&(i+=qge(s)),i+=";base64,";let a=new _5("latin1");for(let c of t)i+=D5(a.write(c));return i+=D5(a.end()),i}case"Text":{let i="failure";if(n&&(i=R5(n)),i==="failure"&&r){let s=P5(r);s!=="failure"&&(i=R5(s.parameters.get("charset")))}return i==="failure"&&(i="UTF-8"),Kge(t,i)}case"ArrayBuffer":return k5(t).buffer;case"BinaryString":{let i="",s=new _5("latin1");for(let a of t)i+=s.write(a);return i+=s.end(),i}}}o(Yge,"packageData");function Kge(t,e){let r=k5(t),n=Jge(r),i=0;n!==null&&(e=n,i=n==="UTF-8"?3:2);let s=r.slice(i);return new TextDecoder(e).decode(s)}o(Kge,"decode");function Jge(t){let[e,r,n]=t;return e===239&&r===187&&n===191?"UTF-8":e===254&&r===255?"UTF-16BE":e===255&&r===254?"UTF-16LE":null}o(Jge,"BOMSniffing");function k5(t){let e=t.reduce((n,i)=>n+i.byteLength,0),r=0;return t.reduce((n,i)=>(n.set(i,r),r+=i.byteLength,n),new Uint8Array(e))}o(k5,"combineByteSequences");T5.exports={staticPropertyDescriptors:Gge,readOperation:jge,fireAProgressEvent:Ec}});var F5=x((mtt,U5)=>{"use strict";var{staticPropertyDescriptors:YA,readOperation:ry,fireAProgressEvent:M5}=O5(),{kState:Kl,kError:L5,kResult:ny,kEvents:mt,kAborted:Vge}=fS(),{webidl:Rt}=ln(),{kEnumerableProperty:Vn}=Xe(),Us=class t extends EventTarget{static{o(this,"FileReader")}constructor(){super(),this[Kl]="empty",this[ny]=null,this[L5]=null,this[mt]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(e){Rt.brandCheck(this,t),Rt.argumentLengthCheck(arguments,1,"FileReader.readAsArrayBuffer"),e=Rt.converters.Blob(e,{strict:!1}),ry(this,e,"ArrayBuffer")}readAsBinaryString(e){Rt.brandCheck(this,t),Rt.argumentLengthCheck(arguments,1,"FileReader.readAsBinaryString"),e=Rt.converters.Blob(e,{strict:!1}),ry(this,e,"BinaryString")}readAsText(e,r=void 0){Rt.brandCheck(this,t),Rt.argumentLengthCheck(arguments,1,"FileReader.readAsText"),e=Rt.converters.Blob(e,{strict:!1}),r!==void 0&&(r=Rt.converters.DOMString(r,"FileReader.readAsText","encoding")),ry(this,e,"Text",r)}readAsDataURL(e){Rt.brandCheck(this,t),Rt.argumentLengthCheck(arguments,1,"FileReader.readAsDataURL"),e=Rt.converters.Blob(e,{strict:!1}),ry(this,e,"DataURL")}abort(){if(this[Kl]==="empty"||this[Kl]==="done"){this[ny]=null;return}this[Kl]==="loading"&&(this[Kl]="done",this[ny]=null),this[Vge]=!0,M5("abort",this),this[Kl]!=="loading"&&M5("loadend",this)}get readyState(){switch(Rt.brandCheck(this,t),this[Kl]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){return Rt.brandCheck(this,t),this[ny]}get error(){return Rt.brandCheck(this,t),this[L5]}get onloadend(){return Rt.brandCheck(this,t),this[mt].loadend}set onloadend(e){Rt.brandCheck(this,t),this[mt].loadend&&this.removeEventListener("loadend",this[mt].loadend),typeof e=="function"?(this[mt].loadend=e,this.addEventListener("loadend",e)):this[mt].loadend=null}get onerror(){return Rt.brandCheck(this,t),this[mt].error}set onerror(e){Rt.brandCheck(this,t),this[mt].error&&this.removeEventListener("error",this[mt].error),typeof e=="function"?(this[mt].error=e,this.addEventListener("error",e)):this[mt].error=null}get onloadstart(){return Rt.brandCheck(this,t),this[mt].loadstart}set onloadstart(e){Rt.brandCheck(this,t),this[mt].loadstart&&this.removeEventListener("loadstart",this[mt].loadstart),typeof e=="function"?(this[mt].loadstart=e,this.addEventListener("loadstart",e)):this[mt].loadstart=null}get onprogress(){return Rt.brandCheck(this,t),this[mt].progress}set onprogress(e){Rt.brandCheck(this,t),this[mt].progress&&this.removeEventListener("progress",this[mt].progress),typeof e=="function"?(this[mt].progress=e,this.addEventListener("progress",e)):this[mt].progress=null}get onload(){return Rt.brandCheck(this,t),this[mt].load}set onload(e){Rt.brandCheck(this,t),this[mt].load&&this.removeEventListener("load",this[mt].load),typeof e=="function"?(this[mt].load=e,this.addEventListener("load",e)):this[mt].load=null}get onabort(){return Rt.brandCheck(this,t),this[mt].abort}set onabort(e){Rt.brandCheck(this,t),this[mt].abort&&this.removeEventListener("abort",this[mt].abort),typeof e=="function"?(this[mt].abort=e,this.addEventListener("abort",e)):this[mt].abort=null}};Us.EMPTY=Us.prototype.EMPTY=0;Us.LOADING=Us.prototype.LOADING=1;Us.DONE=Us.prototype.DONE=2;Object.defineProperties(Us.prototype,{EMPTY:YA,LOADING:YA,DONE:YA,readAsArrayBuffer:Vn,readAsBinaryString:Vn,readAsText:Vn,readAsDataURL:Vn,abort:Vn,readyState:Vn,result:Vn,error:Vn,onloadstart:Vn,onprogress:Vn,onload:Vn,onabort:Vn,onerror:Vn,onloadend:Vn,[Symbol.toStringTag]:{value:"FileReader",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(Us,{EMPTY:YA,LOADING:YA,DONE:YA});U5.exports={FileReader:Us}});var iy=x((Ett,H5)=>{"use strict";H5.exports={kConstruct:Kt().kConstruct}});var G5=x((btt,z5)=>{"use strict";var Wge=require("node:assert"),{URLSerializer:q5}=Yn(),{isValidHeaderName:$ge}=xi();function Xge(t,e,r=!1){let n=q5(t,r),i=q5(e,r);return n===i}o(Xge,"urlEquals");function Zge(t){Wge(t!==null);let e=[];for(let r of t.split(","))r=r.trim(),$ge(r)&&e.push(r);return e}o(Zge,"getFieldValues");z5.exports={urlEquals:Xge,getFieldValues:Zge}});var K5=x((xtt,Y5)=>{"use strict";var{kConstruct:eme}=iy(),{urlEquals:tme,getFieldValues:mS}=G5(),{kEnumerableProperty:Jl,isDisturbed:rme}=Xe(),{webidl:De}=ln(),{Response:nme,cloneResponse:ime,fromInnerResponse:sme}=Vh(),{Request:ga,fromInnerRequest:ome}=GA(),{kState:Fs}=sc(),{fetching:ame}=$h(),{urlIsHttpHttpsScheme:sy,createDeferredPromise:KA,readAllBytes:cme}=xi(),yS=require("node:assert"),oy=class t{static{o(this,"Cache")}#e;constructor(){arguments[0]!==eme&&De.illegalConstructor(),De.util.markAsUncloneable(this),this.#e=arguments[1]}async match(e,r={}){De.brandCheck(this,t);let n="Cache.match";De.argumentLengthCheck(arguments,1,n),e=De.converters.RequestInfo(e,n,"request"),r=De.converters.CacheQueryOptions(r,n,"options");let i=this.#r(e,r,1);if(i.length!==0)return i[0]}async matchAll(e=void 0,r={}){De.brandCheck(this,t);let n="Cache.matchAll";return e!==void 0&&(e=De.converters.RequestInfo(e,n,"request")),r=De.converters.CacheQueryOptions(r,n,"options"),this.#r(e,r)}async add(e){De.brandCheck(this,t);let r="Cache.add";De.argumentLengthCheck(arguments,1,r),e=De.converters.RequestInfo(e,r,"request");let n=[e];return await this.addAll(n)}async addAll(e){De.brandCheck(this,t);let r="Cache.addAll";De.argumentLengthCheck(arguments,1,r);let n=[],i=[];for(let f of e){if(f===void 0)throw De.errors.conversionFailed({prefix:r,argument:"Argument 1",types:["undefined is not allowed"]});if(f=De.converters.RequestInfo(f),typeof f=="string")continue;let h=f[Fs];if(!sy(h.url)||h.method!=="GET")throw De.errors.exception({header:r,message:"Expected http/s scheme when method is not GET."})}let s=[];for(let f of e){let h=new ga(f)[Fs];if(!sy(h.url))throw De.errors.exception({header:r,message:"Expected http/s scheme."});h.initiator="fetch",h.destination="subresource",i.push(h);let g=KA();s.push(ame({request:h,processResponse(m){if(m.type==="error"||m.status===206||m.status<200||m.status>299)g.reject(De.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}));else if(m.headersList.contains("vary")){let b=mS(m.headersList.get("vary"));for(let y of b)if(y==="*"){g.reject(De.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(let I of s)I.abort();return}}},processResponseEndOfBody(m){if(m.aborted){g.reject(new DOMException("aborted","AbortError"));return}g.resolve(m)}})),n.push(g.promise)}let c=await Promise.all(n),l=[],u=0;for(let f of c){let h={type:"put",request:i[u],response:f};l.push(h),u++}let A=KA(),d=null;try{this.#t(l)}catch(f){d=f}return queueMicrotask(()=>{d===null?A.resolve(void 0):A.reject(d)}),A.promise}async put(e,r){De.brandCheck(this,t);let n="Cache.put";De.argumentLengthCheck(arguments,2,n),e=De.converters.RequestInfo(e,n,"request"),r=De.converters.Response(r,n,"response");let i=null;if(e instanceof ga?i=e[Fs]:i=new ga(e)[Fs],!sy(i.url)||i.method!=="GET")throw De.errors.exception({header:n,message:"Expected an http/s scheme when method is not GET"});let s=r[Fs];if(s.status===206)throw De.errors.exception({header:n,message:"Got 206 status"});if(s.headersList.contains("vary")){let h=mS(s.headersList.get("vary"));for(let g of h)if(g==="*")throw De.errors.exception({header:n,message:"Got * vary field value"})}if(s.body&&(rme(s.body.stream)||s.body.stream.locked))throw De.errors.exception({header:n,message:"Response body is locked or disturbed"});let a=ime(s),c=KA();if(s.body!=null){let g=s.body.stream.getReader();cme(g).then(c.resolve,c.reject)}else c.resolve(void 0);let l=[],u={type:"put",request:i,response:a};l.push(u);let A=await c.promise;a.body!=null&&(a.body.source=A);let d=KA(),f=null;try{this.#t(l)}catch(h){f=h}return queueMicrotask(()=>{f===null?d.resolve():d.reject(f)}),d.promise}async delete(e,r={}){De.brandCheck(this,t);let n="Cache.delete";De.argumentLengthCheck(arguments,1,n),e=De.converters.RequestInfo(e,n,"request"),r=De.converters.CacheQueryOptions(r,n,"options");let i=null;if(e instanceof ga){if(i=e[Fs],i.method!=="GET"&&!r.ignoreMethod)return!1}else yS(typeof e=="string"),i=new ga(e)[Fs];let s=[],a={type:"delete",request:i,options:r};s.push(a);let c=KA(),l=null,u;try{u=this.#t(s)}catch(A){l=A}return queueMicrotask(()=>{l===null?c.resolve(!!u?.length):c.reject(l)}),c.promise}async keys(e=void 0,r={}){De.brandCheck(this,t);let n="Cache.keys";e!==void 0&&(e=De.converters.RequestInfo(e,n,"request")),r=De.converters.CacheQueryOptions(r,n,"options");let i=null;if(e!==void 0)if(e instanceof ga){if(i=e[Fs],i.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(i=new ga(e)[Fs]);let s=KA(),a=[];if(e===void 0)for(let c of this.#e)a.push(c[0]);else{let c=this.#i(i,r);for(let l of c)a.push(l[0])}return queueMicrotask(()=>{let c=[];for(let l of a){let u=ome(l,new AbortController().signal,"immutable");c.push(u)}s.resolve(Object.freeze(c))}),s.promise}#t(e){let r=this.#e,n=[...r],i=[],s=[];try{for(let a of e){if(a.type!=="delete"&&a.type!=="put")throw De.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'});if(a.type==="delete"&&a.response!=null)throw De.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"});if(this.#i(a.request,a.options,i).length)throw new DOMException("???","InvalidStateError");let c;if(a.type==="delete"){if(c=this.#i(a.request,a.options),c.length===0)return[];for(let l of c){let u=r.indexOf(l);yS(u!==-1),r.splice(u,1)}}else if(a.type==="put"){if(a.response==null)throw De.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"});let l=a.request;if(!sy(l.url))throw De.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"});if(l.method!=="GET")throw De.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"});if(a.options!=null)throw De.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"});c=this.#i(a.request);for(let u of c){let A=r.indexOf(u);yS(A!==-1),r.splice(A,1)}r.push([a.request,a.response]),i.push([a.request,a.response])}s.push([a.request,a.response])}return s}catch(a){throw this.#e.length=0,this.#e=n,a}}#i(e,r,n){let i=[],s=n??this.#e;for(let a of s){let[c,l]=a;this.#n(e,c,l,r)&&i.push(a)}return i}#n(e,r,n=null,i){let s=new URL(e.url),a=new URL(r.url);if(i?.ignoreSearch&&(a.search="",s.search=""),!tme(s,a,!0))return!1;if(n==null||i?.ignoreVary||!n.headersList.contains("vary"))return!0;let c=mS(n.headersList.get("vary"));for(let l of c){if(l==="*")return!1;let u=r.headersList.get(l),A=e.headersList.get(l);if(u!==A)return!1}return!0}#r(e,r,n=1/0){let i=null;if(e!==void 0)if(e instanceof ga){if(i=e[Fs],i.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(i=new ga(e)[Fs]);let s=[];if(e===void 0)for(let c of this.#e)s.push(c[1]);else{let c=this.#i(i,r);for(let l of c)s.push(l[1])}let a=[];for(let c of s){let l=sme(c,"immutable");if(a.push(l.clone()),a.length>=n)break}return Object.freeze(a)}};Object.defineProperties(oy.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:!0},match:Jl,matchAll:Jl,add:Jl,addAll:Jl,put:Jl,delete:Jl,keys:Jl});var j5=[{key:"ignoreSearch",converter:De.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"ignoreMethod",converter:De.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"ignoreVary",converter:De.converters.boolean,defaultValue:o(()=>!1,"defaultValue")}];De.converters.CacheQueryOptions=De.dictionaryConverter(j5);De.converters.MultiCacheQueryOptions=De.dictionaryConverter([...j5,{key:"cacheName",converter:De.converters.DOMString}]);De.converters.Response=De.interfaceConverter(nme);De.converters["sequence"]=De.sequenceConverter(De.converters.RequestInfo);Y5.exports={Cache:oy}});var V5=x((Btt,J5)=>{"use strict";var{kConstruct:Zh}=iy(),{Cache:ay}=K5(),{webidl:gn}=ln(),{kEnumerableProperty:ep}=Xe(),cy=class t{static{o(this,"CacheStorage")}#e=new Map;constructor(){arguments[0]!==Zh&&gn.illegalConstructor(),gn.util.markAsUncloneable(this)}async match(e,r={}){if(gn.brandCheck(this,t),gn.argumentLengthCheck(arguments,1,"CacheStorage.match"),e=gn.converters.RequestInfo(e),r=gn.converters.MultiCacheQueryOptions(r),r.cacheName!=null){if(this.#e.has(r.cacheName)){let n=this.#e.get(r.cacheName);return await new ay(Zh,n).match(e,r)}}else for(let n of this.#e.values()){let s=await new ay(Zh,n).match(e,r);if(s!==void 0)return s}}async has(e){gn.brandCheck(this,t);let r="CacheStorage.has";return gn.argumentLengthCheck(arguments,1,r),e=gn.converters.DOMString(e,r,"cacheName"),this.#e.has(e)}async open(e){gn.brandCheck(this,t);let r="CacheStorage.open";if(gn.argumentLengthCheck(arguments,1,r),e=gn.converters.DOMString(e,r,"cacheName"),this.#e.has(e)){let i=this.#e.get(e);return new ay(Zh,i)}let n=[];return this.#e.set(e,n),new ay(Zh,n)}async delete(e){gn.brandCheck(this,t);let r="CacheStorage.delete";return gn.argumentLengthCheck(arguments,1,r),e=gn.converters.DOMString(e,r,"cacheName"),this.#e.delete(e)}async keys(){return gn.brandCheck(this,t),[...this.#e.keys()]}};Object.defineProperties(cy.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:!0},match:ep,has:ep,open:ep,delete:ep,keys:ep});J5.exports={CacheStorage:cy}});var $5=x((Qtt,W5)=>{"use strict";W5.exports={maxAttributeValueSize:1024,maxNameValuePairSize:4096}});var ES=x((Stt,r6)=>{"use strict";function lme(t){for(let e=0;e=0&&r<=8||r>=10&&r<=31||r===127)return!0}return!1}o(lme,"isCTLExcludingHtab");function X5(t){for(let e=0;e126||r===34||r===40||r===41||r===60||r===62||r===64||r===44||r===59||r===58||r===92||r===47||r===91||r===93||r===63||r===61||r===123||r===125)throw new Error("Invalid cookie name")}}o(X5,"validateCookieName");function Z5(t){let e=t.length,r=0;if(t[0]==='"'){if(e===1||t[e-1]!=='"')throw new Error("Invalid cookie value");--e,++r}for(;r126||n===34||n===44||n===59||n===92)throw new Error("Invalid cookie value")}}o(Z5,"validateCookieValue");function e6(t){for(let e=0;ee.toString().padStart(2,"0"));function t6(t){return typeof t=="number"&&(t=new Date(t)),`${Ame[t.getUTCDay()]}, ${ly[t.getUTCDate()]} ${dme[t.getUTCMonth()]} ${t.getUTCFullYear()} ${ly[t.getUTCHours()]}:${ly[t.getUTCMinutes()]}:${ly[t.getUTCSeconds()]} GMT`}o(t6,"toIMFDate");function fme(t){if(t<0)throw new Error("Invalid cookie max-age")}o(fme,"validateCookieMaxAge");function hme(t){if(t.name.length===0)return null;X5(t.name),Z5(t.value);let e=[`${t.name}=${t.value}`];t.name.startsWith("__Secure-")&&(t.secure=!0),t.name.startsWith("__Host-")&&(t.secure=!0,t.domain=null,t.path="/"),t.secure&&e.push("Secure"),t.httpOnly&&e.push("HttpOnly"),typeof t.maxAge=="number"&&(fme(t.maxAge),e.push(`Max-Age=${t.maxAge}`)),t.domain&&(ume(t.domain),e.push(`Domain=${t.domain}`)),t.path&&(e6(t.path),e.push(`Path=${t.path}`)),t.expires&&t.expires.toString()!=="Invalid Date"&&e.push(`Expires=${t6(t.expires)}`),t.sameSite&&e.push(`SameSite=${t.sameSite}`);for(let r of t.unparsed){if(!r.includes("="))throw new Error("Invalid unparsed");let[n,...i]=r.split("=");e.push(`${n.trim()}=${i.join("=")}`)}return e.join("; ")}o(hme,"stringify");r6.exports={isCTLExcludingHtab:lme,validateCookieName:X5,validateCookiePath:e6,validateCookieValue:Z5,toIMFDate:t6,stringify:hme}});var i6=x((vtt,n6)=>{"use strict";var{maxNameValuePairSize:pme,maxAttributeValueSize:gme}=$5(),{isCTLExcludingHtab:mme}=ES(),{collectASequenceOfCodePointsFast:uy}=Yn(),yme=require("node:assert");function Eme(t){if(mme(t))return null;let e="",r="",n="",i="";if(t.includes(";")){let s={position:0};e=uy(";",t,s),r=t.slice(s.position)}else e=t;if(!e.includes("="))i=e;else{let s={position:0};n=uy("=",e,s),i=e.slice(s.position+1)}return n=n.trim(),i=i.trim(),n.length+i.length>pme?null:{name:n,value:i,...JA(r)}}o(Eme,"parseSetCookie");function JA(t,e={}){if(t.length===0)return e;yme(t[0]===";"),t=t.slice(1);let r="";t.includes(";")?(r=uy(";",t,{position:0}),t=t.slice(r.length)):(r=t,t="");let n="",i="";if(r.includes("=")){let a={position:0};n=uy("=",r,a),i=r.slice(a.position+1)}else n=r;if(n=n.trim(),i=i.trim(),i.length>gme)return JA(t,e);let s=n.toLowerCase();if(s==="expires"){let a=new Date(i);e.expires=a}else if(s==="max-age"){let a=i.charCodeAt(0);if((a<48||a>57)&&i[0]!=="-"||!/^\d+$/.test(i))return JA(t,e);let c=Number(i);e.maxAge=c}else if(s==="domain"){let a=i;a[0]==="."&&(a=a.slice(1)),a=a.toLowerCase(),e.domain=a}else if(s==="path"){let a="";i.length===0||i[0]!=="/"?a="/":a=i,e.path=a}else if(s==="secure")e.secure=!0;else if(s==="httponly")e.httpOnly=!0;else if(s==="samesite"){let a="Default",c=i.toLowerCase();c.includes("none")&&(a="None"),c.includes("strict")&&(a="Strict"),c.includes("lax")&&(a="Lax"),e.sameSite=a}else e.unparsed??=[],e.unparsed.push(`${n}=${i}`);return JA(t,e)}o(JA,"parseUnparsedAttributes");n6.exports={parseSetCookie:Eme,parseUnparsedAttributes:JA}});var a6=x((Ptt,o6)=>{"use strict";var{parseSetCookie:bme}=i6(),{stringify:Cme}=ES(),{webidl:ot}=ln(),{Headers:Ay}=zl();function xme(t){ot.argumentLengthCheck(arguments,1,"getCookies"),ot.brandCheck(t,Ay,{strict:!1});let e=t.get("cookie"),r={};if(!e)return r;for(let n of e.split(";")){let[i,...s]=n.split("=");r[i.trim()]=s.join("=")}return r}o(xme,"getCookies");function Ime(t,e,r){ot.brandCheck(t,Ay,{strict:!1});let n="deleteCookie";ot.argumentLengthCheck(arguments,2,n),e=ot.converters.DOMString(e,n,"name"),r=ot.converters.DeleteCookieAttributes(r),s6(t,{name:e,value:"",expires:new Date(0),...r})}o(Ime,"deleteCookie");function Bme(t){ot.argumentLengthCheck(arguments,1,"getSetCookies"),ot.brandCheck(t,Ay,{strict:!1});let e=t.getSetCookie();return e?e.map(r=>bme(r)):[]}o(Bme,"getSetCookies");function s6(t,e){ot.argumentLengthCheck(arguments,2,"setCookie"),ot.brandCheck(t,Ay,{strict:!1}),e=ot.converters.Cookie(e);let r=Cme(e);r&&t.append("Set-Cookie",r)}o(s6,"setCookie");ot.converters.DeleteCookieAttributes=ot.dictionaryConverter([{converter:ot.nullableConverter(ot.converters.DOMString),key:"path",defaultValue:o(()=>null,"defaultValue")},{converter:ot.nullableConverter(ot.converters.DOMString),key:"domain",defaultValue:o(()=>null,"defaultValue")}]);ot.converters.Cookie=ot.dictionaryConverter([{converter:ot.converters.DOMString,key:"name"},{converter:ot.converters.DOMString,key:"value"},{converter:ot.nullableConverter(t=>typeof t=="number"?ot.converters["unsigned long long"](t):new Date(t)),key:"expires",defaultValue:o(()=>null,"defaultValue")},{converter:ot.nullableConverter(ot.converters["long long"]),key:"maxAge",defaultValue:o(()=>null,"defaultValue")},{converter:ot.nullableConverter(ot.converters.DOMString),key:"domain",defaultValue:o(()=>null,"defaultValue")},{converter:ot.nullableConverter(ot.converters.DOMString),key:"path",defaultValue:o(()=>null,"defaultValue")},{converter:ot.nullableConverter(ot.converters.boolean),key:"secure",defaultValue:o(()=>null,"defaultValue")},{converter:ot.nullableConverter(ot.converters.boolean),key:"httpOnly",defaultValue:o(()=>null,"defaultValue")},{converter:ot.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:ot.sequenceConverter(ot.converters.DOMString),key:"unparsed",defaultValue:o(()=>new Array(0),"defaultValue")}]);o6.exports={getCookies:xme,deleteCookie:Ime,getSetCookies:Bme,setCookie:s6}});var WA=x((Dtt,l6)=>{"use strict";var{webidl:Pe}=ln(),{kEnumerableProperty:Wn}=Xe(),{kConstruct:c6}=Kt(),{MessagePort:wme}=require("node:worker_threads"),VA=class t extends Event{static{o(this,"MessageEvent")}#e;constructor(e,r={}){if(e===c6){super(arguments[1],arguments[2]),Pe.util.markAsUncloneable(this);return}let n="MessageEvent constructor";Pe.argumentLengthCheck(arguments,1,n),e=Pe.converters.DOMString(e,n,"type"),r=Pe.converters.MessageEventInit(r,n,"eventInitDict"),super(e,r),this.#e=r,Pe.util.markAsUncloneable(this)}get data(){return Pe.brandCheck(this,t),this.#e.data}get origin(){return Pe.brandCheck(this,t),this.#e.origin}get lastEventId(){return Pe.brandCheck(this,t),this.#e.lastEventId}get source(){return Pe.brandCheck(this,t),this.#e.source}get ports(){return Pe.brandCheck(this,t),Object.isFrozen(this.#e.ports)||Object.freeze(this.#e.ports),this.#e.ports}initMessageEvent(e,r=!1,n=!1,i=null,s="",a="",c=null,l=[]){return Pe.brandCheck(this,t),Pe.argumentLengthCheck(arguments,1,"MessageEvent.initMessageEvent"),new t(e,{bubbles:r,cancelable:n,data:i,origin:s,lastEventId:a,source:c,ports:l})}static createFastMessageEvent(e,r){let n=new t(c6,e,r);return n.#e=r,n.#e.data??=null,n.#e.origin??="",n.#e.lastEventId??="",n.#e.source??=null,n.#e.ports??=[],n}},{createFastMessageEvent:Qme}=VA;delete VA.createFastMessageEvent;var dy=class t extends Event{static{o(this,"CloseEvent")}#e;constructor(e,r={}){let n="CloseEvent constructor";Pe.argumentLengthCheck(arguments,1,n),e=Pe.converters.DOMString(e,n,"type"),r=Pe.converters.CloseEventInit(r),super(e,r),this.#e=r,Pe.util.markAsUncloneable(this)}get wasClean(){return Pe.brandCheck(this,t),this.#e.wasClean}get code(){return Pe.brandCheck(this,t),this.#e.code}get reason(){return Pe.brandCheck(this,t),this.#e.reason}},fy=class t extends Event{static{o(this,"ErrorEvent")}#e;constructor(e,r){let n="ErrorEvent constructor";Pe.argumentLengthCheck(arguments,1,n),super(e,r),Pe.util.markAsUncloneable(this),e=Pe.converters.DOMString(e,n,"type"),r=Pe.converters.ErrorEventInit(r??{}),this.#e=r}get message(){return Pe.brandCheck(this,t),this.#e.message}get filename(){return Pe.brandCheck(this,t),this.#e.filename}get lineno(){return Pe.brandCheck(this,t),this.#e.lineno}get colno(){return Pe.brandCheck(this,t),this.#e.colno}get error(){return Pe.brandCheck(this,t),this.#e.error}};Object.defineProperties(VA.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:!0},data:Wn,origin:Wn,lastEventId:Wn,source:Wn,ports:Wn,initMessageEvent:Wn});Object.defineProperties(dy.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:!0},reason:Wn,code:Wn,wasClean:Wn});Object.defineProperties(fy.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:!0},message:Wn,filename:Wn,lineno:Wn,colno:Wn,error:Wn});Pe.converters.MessagePort=Pe.interfaceConverter(wme);Pe.converters["sequence"]=Pe.sequenceConverter(Pe.converters.MessagePort);var bS=[{key:"bubbles",converter:Pe.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"cancelable",converter:Pe.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"composed",converter:Pe.converters.boolean,defaultValue:o(()=>!1,"defaultValue")}];Pe.converters.MessageEventInit=Pe.dictionaryConverter([...bS,{key:"data",converter:Pe.converters.any,defaultValue:o(()=>null,"defaultValue")},{key:"origin",converter:Pe.converters.USVString,defaultValue:o(()=>"","defaultValue")},{key:"lastEventId",converter:Pe.converters.DOMString,defaultValue:o(()=>"","defaultValue")},{key:"source",converter:Pe.nullableConverter(Pe.converters.MessagePort),defaultValue:o(()=>null,"defaultValue")},{key:"ports",converter:Pe.converters["sequence"],defaultValue:o(()=>new Array(0),"defaultValue")}]);Pe.converters.CloseEventInit=Pe.dictionaryConverter([...bS,{key:"wasClean",converter:Pe.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"code",converter:Pe.converters["unsigned short"],defaultValue:o(()=>0,"defaultValue")},{key:"reason",converter:Pe.converters.USVString,defaultValue:o(()=>"","defaultValue")}]);Pe.converters.ErrorEventInit=Pe.dictionaryConverter([...bS,{key:"message",converter:Pe.converters.DOMString,defaultValue:o(()=>"","defaultValue")},{key:"filename",converter:Pe.converters.USVString,defaultValue:o(()=>"","defaultValue")},{key:"lineno",converter:Pe.converters["unsigned long"],defaultValue:o(()=>0,"defaultValue")},{key:"colno",converter:Pe.converters["unsigned long"],defaultValue:o(()=>0,"defaultValue")},{key:"error",converter:Pe.converters.any}]);l6.exports={MessageEvent:VA,CloseEvent:dy,ErrorEvent:fy,createFastMessageEvent:Qme}});var Vl=x((Ttt,u6)=>{"use strict";var Sme="258EAFA5-E914-47DA-95CA-C5AB0DC85B11",Nme={enumerable:!0,writable:!1,configurable:!1},vme={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3},Rme={NOT_SENT:0,PROCESSING:1,SENT:2},Pme={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10},_me=2**16-1,Dme={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4},kme=Buffer.allocUnsafe(0),Tme={string:1,typedArray:2,arrayBuffer:3,blob:4};u6.exports={uid:Sme,sentCloseFrameState:Rme,staticPropertyDescriptors:Nme,states:vme,opcodes:Pme,maxUnsigned16Bit:_me,parserStates:Dme,emptyBuffer:kme,sendHints:Tme}});var tp=x((Ott,A6)=>{"use strict";A6.exports={kWebSocketURL:Symbol("url"),kReadyState:Symbol("ready state"),kController:Symbol("controller"),kResponse:Symbol("response"),kBinaryType:Symbol("binary type"),kSentClose:Symbol("sent close"),kReceivedClose:Symbol("received close"),kByteParser:Symbol("byte parser")}});var ip=x((Mtt,b6)=>{"use strict";var{kReadyState:rp,kController:Ome,kResponse:Mme,kBinaryType:Lme,kWebSocketURL:Ume}=tp(),{states:np,opcodes:bc}=Vl(),{ErrorEvent:Fme,createFastMessageEvent:Hme}=WA(),{isUtf8:qme}=require("node:buffer"),{collectASequenceOfCodePointsFast:zme,removeHTTPWhitespace:d6}=Yn();function Gme(t){return t[rp]===np.CONNECTING}o(Gme,"isConnecting");function jme(t){return t[rp]===np.OPEN}o(jme,"isEstablished");function Yme(t){return t[rp]===np.CLOSING}o(Yme,"isClosing");function Kme(t){return t[rp]===np.CLOSED}o(Kme,"isClosed");function CS(t,e,r=(i,s)=>new Event(i,s),n={}){let i=r(t,n);e.dispatchEvent(i)}o(CS,"fireEvent");function Jme(t,e,r){if(t[rp]!==np.OPEN)return;let n;if(e===bc.TEXT)try{n=E6(r)}catch{h6(t,"Received invalid UTF-8 in text frame.");return}else e===bc.BINARY&&(t[Lme]==="blob"?n=new Blob([r]):n=Vme(r));CS("message",t,Hme,{origin:t[Ume].origin,data:n})}o(Jme,"websocketMessageReceived");function Vme(t){return t.byteLength===t.buffer.byteLength?t.buffer:t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength)}o(Vme,"toArrayBuffer");function Wme(t){if(t.length===0)return!1;for(let e=0;e126||r===34||r===40||r===41||r===44||r===47||r===58||r===59||r===60||r===61||r===62||r===63||r===64||r===91||r===92||r===93||r===123||r===125)return!1}return!0}o(Wme,"isValidSubprotocol");function $me(t){return t>=1e3&&t<1015?t!==1004&&t!==1005&&t!==1006:t>=3e3&&t<=4999}o($me,"isValidStatusCode");function h6(t,e){let{[Ome]:r,[Mme]:n}=t;r.abort(),n?.socket&&!n.socket.destroyed&&n.socket.destroy(),e&&CS("error",t,(i,s)=>new Fme(i,s),{error:new Error(e),message:e})}o(h6,"failWebsocketConnection");function p6(t){return t===bc.CLOSE||t===bc.PING||t===bc.PONG}o(p6,"isControlFrame");function g6(t){return t===bc.CONTINUATION}o(g6,"isContinuationFrame");function m6(t){return t===bc.TEXT||t===bc.BINARY}o(m6,"isTextBinaryFrame");function Xme(t){return m6(t)||g6(t)||p6(t)}o(Xme,"isValidOpcode");function Zme(t){let e={position:0},r=new Map;for(;e.position57)return!1}let e=Number.parseInt(t,10);return e>=8&&e<=15}o(e0e,"isValidClientWindowBits");var y6=typeof process.versions.icu=="string",f6=y6?new TextDecoder("utf-8",{fatal:!0}):void 0,E6=y6?f6.decode.bind(f6):function(t){if(qme(t))return t.toString("utf-8");throw new TypeError("Invalid utf-8 received.")};b6.exports={isConnecting:Gme,isEstablished:jme,isClosing:Yme,isClosed:Kme,fireEvent:CS,isValidSubprotocol:Wme,isValidStatusCode:$me,failWebsocketConnection:h6,websocketMessageReceived:Jme,utf8Decode:E6,isControlFrame:p6,isContinuationFrame:g6,isTextBinaryFrame:m6,isValidOpcode:Xme,parseExtensions:Zme,isValidClientWindowBits:e0e}});var py=x((Utt,C6)=>{"use strict";var{maxUnsigned16Bit:t0e}=Vl(),hy=16386,xS,sp=null,$A=hy;try{xS=require("node:crypto")}catch{xS={randomFillSync:o(function(e,r,n){for(let i=0;it0e?(a+=8,s=127):i>125&&(a+=2,s=126);let c=Buffer.allocUnsafe(i+a);c[0]=c[1]=0,c[0]|=128,c[0]=(c[0]&240)+e;c[a-4]=n[0],c[a-3]=n[1],c[a-2]=n[2],c[a-1]=n[3],c[1]=s,s===126?c.writeUInt16BE(i,2):s===127&&(c[2]=c[3]=0,c.writeUIntBE(i,4,6)),c[1]|=128;for(let l=0;l{"use strict";var{uid:n0e,states:op,sentCloseFrameState:gy,emptyBuffer:i0e,opcodes:s0e}=Vl(),{kReadyState:ap,kSentClose:my,kByteParser:I6,kReceivedClose:x6,kResponse:B6}=tp(),{fireEvent:o0e,failWebsocketConnection:Cc,isClosing:a0e,isClosed:c0e,isEstablished:l0e,parseExtensions:u0e}=ip(),{channels:XA}=lA(),{CloseEvent:A0e}=WA(),{makeRequest:d0e}=GA(),{fetching:f0e}=$h(),{Headers:h0e,getHeadersList:p0e}=zl(),{getDecodeSplit:g0e}=xi(),{WebsocketFrameSend:m0e}=py(),BS;try{BS=require("node:crypto")}catch{}function y0e(t,e,r,n,i,s){let a=t;a.protocol=t.protocol==="ws:"?"http:":"https:";let c=d0e({urlList:[a],client:r,serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(s.headers){let d=p0e(new h0e(s.headers));c.headersList=d}let l=BS.randomBytes(16).toString("base64");c.headersList.append("sec-websocket-key",l),c.headersList.append("sec-websocket-version","13");for(let d of e)c.headersList.append("sec-websocket-protocol",d);return c.headersList.append("sec-websocket-extensions","permessage-deflate; client_max_window_bits"),f0e({request:c,useParallelQueue:!0,dispatcher:s.dispatcher,processResponse(d){if(d.type==="error"||d.status!==101){Cc(n,"Received network error or non-101 status code.");return}if(e.length!==0&&!d.headersList.get("Sec-WebSocket-Protocol")){Cc(n,"Server did not respond with sent protocols.");return}if(d.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){Cc(n,'Server did not set Upgrade header to "websocket".');return}if(d.headersList.get("Connection")?.toLowerCase()!=="upgrade"){Cc(n,'Server did not set Connection header to "upgrade".');return}let f=d.headersList.get("Sec-WebSocket-Accept"),h=BS.createHash("sha1").update(l+n0e).digest("base64");if(f!==h){Cc(n,"Incorrect hash received in Sec-WebSocket-Accept header.");return}let g=d.headersList.get("Sec-WebSocket-Extensions"),m;if(g!==null&&(m=u0e(g),!m.has("permessage-deflate"))){Cc(n,"Sec-WebSocket-Extensions header does not match.");return}let b=d.headersList.get("Sec-WebSocket-Protocol");if(b!==null&&!g0e("sec-websocket-protocol",c.headersList).includes(b)){Cc(n,"Protocol was not set in the opening handshake.");return}d.socket.on("data",w6),d.socket.on("close",Q6),d.socket.on("error",S6),XA.open.hasSubscribers&&XA.open.publish({address:d.socket.address(),protocol:b,extensions:g}),i(d,m)}})}o(y0e,"establishWebSocketConnection");function E0e(t,e,r,n){if(!(a0e(t)||c0e(t)))if(!l0e(t))Cc(t,"Connection was closed before it was established."),t[ap]=op.CLOSING;else if(t[my]===gy.NOT_SENT){t[my]=gy.PROCESSING;let i=new m0e;e!==void 0&&r===void 0?(i.frameData=Buffer.allocUnsafe(2),i.frameData.writeUInt16BE(e,0)):e!==void 0&&r!==void 0?(i.frameData=Buffer.allocUnsafe(2+n),i.frameData.writeUInt16BE(e,0),i.frameData.write(r,2,"utf-8")):i.frameData=i0e,t[B6].socket.write(i.createFrame(s0e.CLOSE)),t[my]=gy.SENT,t[ap]=op.CLOSING}else t[ap]=op.CLOSING}o(E0e,"closeWebSocketConnection");function w6(t){this.ws[I6].write(t)||this.pause()}o(w6,"onSocketData");function Q6(){let{ws:t}=this,{[B6]:e}=t;e.socket.off("data",w6),e.socket.off("close",Q6),e.socket.off("error",S6);let r=t[my]===gy.SENT&&t[x6],n=1005,i="",s=t[I6].closingInfo;s&&!s.error?(n=s.code??1005,i=s.reason):t[x6]||(n=1006),t[ap]=op.CLOSED,o0e("close",t,(a,c)=>new A0e(a,c),{wasClean:r,code:n,reason:i}),XA.close.hasSubscribers&&XA.close.publish({websocket:t,code:n,reason:i})}o(Q6,"onSocketClose");function S6(t){let{ws:e}=this;e[ap]=op.CLOSING,XA.socketError.hasSubscribers&&XA.socketError.publish(t),this.destroy()}o(S6,"onSocketError");N6.exports={establishWebSocketConnection:y0e,closeWebSocketConnection:E0e}});var P6=x((ztt,R6)=>{"use strict";var{createInflateRaw:b0e,Z_DEFAULT_WINDOWBITS:C0e}=require("node:zlib"),{isValidClientWindowBits:x0e}=ip(),{MessageSizeExceededError:v6}=ft(),I0e=Buffer.from([0,0,255,255]),yy=Symbol("kBuffer"),cp=Symbol("kLength"),B0e=4*1024*1024,QS=class{static{o(this,"PerMessageDeflate")}#e;#t={};#i=!1;#n=null;constructor(e){this.#t.serverNoContextTakeover=e.has("server_no_context_takeover"),this.#t.serverMaxWindowBits=e.get("server_max_window_bits")}decompress(e,r,n){if(this.#i){n(new v6);return}if(!this.#e){let i=C0e;if(this.#t.serverMaxWindowBits){if(!x0e(this.#t.serverMaxWindowBits)){n(new Error("Invalid server_max_window_bits"));return}i=Number.parseInt(this.#t.serverMaxWindowBits)}try{this.#e=b0e({windowBits:i})}catch(s){n(s);return}this.#e[yy]=[],this.#e[cp]=0,this.#e.on("data",s=>{if(!this.#i){if(this.#e[cp]+=s.length,this.#e[cp]>B0e){if(this.#i=!0,this.#e.removeAllListeners(),this.#e.destroy(),this.#e=null,this.#n){let a=this.#n;this.#n=null,a(new v6)}return}this.#e[yy].push(s)}}),this.#e.on("error",s=>{this.#e=null,n(s)})}this.#n=n,this.#e.write(e),r&&this.#e.write(I0e),this.#e.flush(()=>{if(this.#i||!this.#e)return;let i=Buffer.concat(this.#e[yy],this.#e[cp]);this.#e[yy].length=0,this.#e[cp]=0,this.#n=null,n(null,i)})}};R6.exports={PerMessageDeflate:QS}});var H6=x((jtt,F6)=>{"use strict";var{Writable:w0e}=require("node:stream"),Q0e=require("node:assert"),{parserStates:$n,opcodes:ZA,states:S0e,emptyBuffer:_6,sentCloseFrameState:D6}=Vl(),{kReadyState:N0e,kSentClose:k6,kResponse:T6,kReceivedClose:O6}=tp(),{channels:Ey}=lA(),{isValidStatusCode:v0e,isValidOpcode:R0e,failWebsocketConnection:vi,websocketMessageReceived:M6,utf8Decode:P0e,isControlFrame:L6,isTextBinaryFrame:SS,isContinuationFrame:_0e}=ip(),{WebsocketFrameSend:U6}=py(),{closeWebSocketConnection:D0e}=wS(),{PerMessageDeflate:k0e}=P6(),NS=class extends w0e{static{o(this,"ByteParser")}#e=[];#t=0;#i=!1;#n=$n.INFO;#r={};#s=[];#o;constructor(e,r){super(),this.ws=e,this.#o=r??new Map,this.#o.has("permessage-deflate")&&this.#o.set("permessage-deflate",new k0e(r))}_write(e,r,n){this.#e.push(e),this.#t+=e.length,this.#i=!0,this.run(n)}run(e){for(;this.#i;)if(this.#n===$n.INFO){if(this.#t<2)return e();let r=this.consume(2),n=(r[0]&128)!==0,i=r[0]&15,s=(r[1]&128)===128,a=!n&&i!==ZA.CONTINUATION,c=r[1]&127,l=r[0]&64,u=r[0]&32,A=r[0]&16;if(!R0e(i))return vi(this.ws,"Invalid opcode received"),e();if(s)return vi(this.ws,"Frame cannot be masked"),e();if(l!==0&&!this.#o.has("permessage-deflate")){vi(this.ws,"Expected RSV1 to be clear.");return}if(u!==0||A!==0){vi(this.ws,"RSV1, RSV2, RSV3 must be clear");return}if(a&&!SS(i)){vi(this.ws,"Invalid frame type was fragmented.");return}if(SS(i)&&this.#s.length>0){vi(this.ws,"Expected continuation frame");return}if(this.#r.fragmented&&a){vi(this.ws,"Fragmented frame exceeded 125 bytes.");return}if((c>125||a)&&L6(i)){vi(this.ws,"Control frame either too large or fragmented");return}if(_0e(i)&&this.#s.length===0&&!this.#r.compressed){vi(this.ws,"Unexpected continuation frame");return}c<=125?(this.#r.payloadLength=c,this.#n=$n.READ_DATA):c===126?this.#n=$n.PAYLOADLENGTH_16:c===127&&(this.#n=$n.PAYLOADLENGTH_64),SS(i)&&(this.#r.binaryType=i,this.#r.compressed=l!==0),this.#r.opcode=i,this.#r.masked=s,this.#r.fin=n,this.#r.fragmented=a}else if(this.#n===$n.PAYLOADLENGTH_16){if(this.#t<2)return e();let r=this.consume(2);this.#r.payloadLength=r.readUInt16BE(0),this.#n=$n.READ_DATA}else if(this.#n===$n.PAYLOADLENGTH_64){if(this.#t<8)return e();let r=this.consume(8),n=r.readUInt32BE(0),i=r.readUInt32BE(4);if(n!==0||i>2**31-1){vi(this.ws,"Received payload length > 2^31 bytes.");return}this.#r.payloadLength=i,this.#n=$n.READ_DATA}else if(this.#n===$n.READ_DATA){if(this.#t{if(n){vi(this.ws,n.message);return}if(this.#s.push(i),!this.#r.fin){this.#n=$n.INFO,this.#i=!0,this.run(e);return}M6(this.ws,this.#r.binaryType,Buffer.concat(this.#s)),this.#i=!0,this.#n=$n.INFO,this.#s.length=0,this.run(e)}),this.#i=!1;break}else{if(this.#s.push(r),!this.#r.fragmented&&this.#r.fin){let n=Buffer.concat(this.#s);M6(this.ws,this.#r.binaryType,n),this.#s.length=0}this.#n=$n.INFO}}}consume(e){if(e>this.#t)throw new Error("Called consume() before buffers satiated.");if(e===0)return _6;if(this.#e[0].length===e)return this.#t-=this.#e[0].length,this.#e.shift();let r=Buffer.allocUnsafe(e),n=0;for(;n!==e;){let i=this.#e[0],{length:s}=i;if(s+n===e){r.set(this.#e.shift(),n);break}else if(s+n>e){r.set(i.subarray(0,e-n),n),this.#e[0]=i.subarray(e-n);break}else r.set(this.#e.shift(),n),n+=i.length}return this.#t-=e,r}parseCloseBody(e){Q0e(e.length!==1);let r;if(e.length>=2&&(r=e.readUInt16BE(0)),r!==void 0&&!v0e(r))return{code:1002,reason:"Invalid status code",error:!0};let n=e.subarray(2);n[0]===239&&n[1]===187&&n[2]===191&&(n=n.subarray(3));try{n=P0e(n)}catch{return{code:1007,reason:"Invalid UTF-8",error:!0}}return{code:r,reason:n,error:!1}}parseControlFrame(e){let{opcode:r,payloadLength:n}=this.#r;if(r===ZA.CLOSE){if(n===1)return vi(this.ws,"Received close frame with a 1-byte body."),!1;if(this.#r.closeInfo=this.parseCloseBody(e),this.#r.closeInfo.error){let{code:i,reason:s}=this.#r.closeInfo;return D0e(this.ws,i,s,s.length),vi(this.ws,s),!1}if(this.ws[k6]!==D6.SENT){let i=_6;this.#r.closeInfo.code&&(i=Buffer.allocUnsafe(2),i.writeUInt16BE(this.#r.closeInfo.code,0));let s=new U6(i);this.ws[T6].socket.write(s.createFrame(ZA.CLOSE),a=>{a||(this.ws[k6]=D6.SENT)})}return this.ws[N0e]=S0e.CLOSING,this.ws[O6]=!0,!1}else if(r===ZA.PING){if(!this.ws[O6]){let i=new U6(e);this.ws[T6].socket.write(i.createFrame(ZA.PONG)),Ey.ping.hasSubscribers&&Ey.ping.publish({payload:e})}}else r===ZA.PONG&&Ey.pong.hasSubscribers&&Ey.pong.publish({payload:e});return!0}get closingInfo(){return this.#r.closeInfo}};F6.exports={ByteParser:NS}});var Y6=x((Ktt,j6)=>{"use strict";var{WebsocketFrameSend:T0e}=py(),{opcodes:q6,sendHints:ed}=Vl(),O0e=LQ(),z6=Buffer[Symbol.species],vS=class{static{o(this,"SendQueue")}#e=new O0e;#t=!1;#i;constructor(e){this.#i=e}add(e,r,n){if(n!==ed.blob){let s=G6(e,n);if(!this.#t)this.#i.write(s,r);else{let a={promise:null,callback:r,frame:s};this.#e.push(a)}return}let i={promise:e.arrayBuffer().then(s=>{i.promise=null,i.frame=G6(s,n)}),callback:r,frame:null};this.#e.push(i),this.#t||this.#n()}async#n(){this.#t=!0;let e=this.#e;for(;!e.isEmpty();){let r=e.shift();r.promise!==null&&await r.promise,this.#i.write(r.frame,r.callback),r.callback=r.frame=null}this.#t=!1}};function G6(t,e){return new T0e(M0e(t,e)).createFrame(e===ed.string?q6.TEXT:q6.BINARY)}o(G6,"createFrame");function M0e(t,e){switch(e){case ed.string:return Buffer.from(t);case ed.arrayBuffer:case ed.blob:return new z6(t);case ed.typedArray:return new z6(t.buffer,t.byteOffset,t.byteLength)}}o(M0e,"toBuffer");j6.exports={SendQueue:vS}});var tH=x((Vtt,eH)=>{"use strict";var{webidl:He}=ln(),{URLSerializer:L0e}=Yn(),{environmentSettingsObject:K6}=xi(),{staticPropertyDescriptors:xc,states:lp,sentCloseFrameState:U0e,sendHints:by}=Vl(),{kWebSocketURL:J6,kReadyState:RS,kController:F0e,kBinaryType:Cy,kResponse:V6,kSentClose:H0e,kByteParser:q0e}=tp(),{isConnecting:z0e,isEstablished:G0e,isClosing:j0e,isValidSubprotocol:Y0e,fireEvent:W6}=ip(),{establishWebSocketConnection:K0e,closeWebSocketConnection:$6}=wS(),{ByteParser:J0e}=H6(),{kEnumerableProperty:rs,isBlobLike:X6}=Xe(),{getGlobalDispatcher:V0e}=O0(),{types:Z6}=require("node:util"),{ErrorEvent:W0e,CloseEvent:$0e}=WA(),{SendQueue:X0e}=Y6(),Ri=class t extends EventTarget{static{o(this,"WebSocket")}#e={open:null,error:null,close:null,message:null};#t=0;#i="";#n="";#r;constructor(e,r=[]){super(),He.util.markAsUncloneable(this);let n="WebSocket constructor";He.argumentLengthCheck(arguments,1,n);let i=He.converters["DOMString or sequence or WebSocketInit"](r,n,"options");e=He.converters.USVString(e,n,"url"),r=i.protocols;let s=K6.settingsObject.baseUrl,a;try{a=new URL(e,s)}catch(l){throw new DOMException(l,"SyntaxError")}if(a.protocol==="http:"?a.protocol="ws:":a.protocol==="https:"&&(a.protocol="wss:"),a.protocol!=="ws:"&&a.protocol!=="wss:")throw new DOMException(`Expected a ws: or wss: protocol, got ${a.protocol}`,"SyntaxError");if(a.hash||a.href.endsWith("#"))throw new DOMException("Got fragment","SyntaxError");if(typeof r=="string"&&(r=[r]),r.length!==new Set(r.map(l=>l.toLowerCase())).size)throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");if(r.length>0&&!r.every(l=>Y0e(l)))throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");this[J6]=new URL(a.href);let c=K6.settingsObject;this[F0e]=K0e(a,r,c,this,(l,u)=>this.#s(l,u),i),this[RS]=t.CONNECTING,this[H0e]=U0e.NOT_SENT,this[Cy]="blob"}close(e=void 0,r=void 0){He.brandCheck(this,t);let n="WebSocket.close";if(e!==void 0&&(e=He.converters["unsigned short"](e,n,"code",{clamp:!0})),r!==void 0&&(r=He.converters.USVString(r,n,"reason")),e!==void 0&&e!==1e3&&(e<3e3||e>4999))throw new DOMException("invalid code","InvalidAccessError");let i=0;if(r!==void 0&&(i=Buffer.byteLength(r),i>123))throw new DOMException(`Reason must be less than 123 bytes; received ${i}`,"SyntaxError");$6(this,e,r,i)}send(e){He.brandCheck(this,t);let r="WebSocket.send";if(He.argumentLengthCheck(arguments,1,r),e=He.converters.WebSocketSendData(e,r,"data"),z0e(this))throw new DOMException("Sent before connected.","InvalidStateError");if(!(!G0e(this)||j0e(this)))if(typeof e=="string"){let n=Buffer.byteLength(e);this.#t+=n,this.#r.add(e,()=>{this.#t-=n},by.string)}else Z6.isArrayBuffer(e)?(this.#t+=e.byteLength,this.#r.add(e,()=>{this.#t-=e.byteLength},by.arrayBuffer)):ArrayBuffer.isView(e)?(this.#t+=e.byteLength,this.#r.add(e,()=>{this.#t-=e.byteLength},by.typedArray)):X6(e)&&(this.#t+=e.size,this.#r.add(e,()=>{this.#t-=e.size},by.blob))}get readyState(){return He.brandCheck(this,t),this[RS]}get bufferedAmount(){return He.brandCheck(this,t),this.#t}get url(){return He.brandCheck(this,t),L0e(this[J6])}get extensions(){return He.brandCheck(this,t),this.#n}get protocol(){return He.brandCheck(this,t),this.#i}get onopen(){return He.brandCheck(this,t),this.#e.open}set onopen(e){He.brandCheck(this,t),this.#e.open&&this.removeEventListener("open",this.#e.open),typeof e=="function"?(this.#e.open=e,this.addEventListener("open",e)):this.#e.open=null}get onerror(){return He.brandCheck(this,t),this.#e.error}set onerror(e){He.brandCheck(this,t),this.#e.error&&this.removeEventListener("error",this.#e.error),typeof e=="function"?(this.#e.error=e,this.addEventListener("error",e)):this.#e.error=null}get onclose(){return He.brandCheck(this,t),this.#e.close}set onclose(e){He.brandCheck(this,t),this.#e.close&&this.removeEventListener("close",this.#e.close),typeof e=="function"?(this.#e.close=e,this.addEventListener("close",e)):this.#e.close=null}get onmessage(){return He.brandCheck(this,t),this.#e.message}set onmessage(e){He.brandCheck(this,t),this.#e.message&&this.removeEventListener("message",this.#e.message),typeof e=="function"?(this.#e.message=e,this.addEventListener("message",e)):this.#e.message=null}get binaryType(){return He.brandCheck(this,t),this[Cy]}set binaryType(e){He.brandCheck(this,t),e!=="blob"&&e!=="arraybuffer"?this[Cy]="blob":this[Cy]=e}#s(e,r){this[V6]=e;let n=new J0e(this,r);n.on("drain",Z0e),n.on("error",eye.bind(this)),e.socket.ws=this,this[q0e]=n,this.#r=new X0e(e.socket),this[RS]=lp.OPEN;let i=e.headersList.get("sec-websocket-extensions");i!==null&&(this.#n=i);let s=e.headersList.get("sec-websocket-protocol");s!==null&&(this.#i=s),W6("open",this)}};Ri.CONNECTING=Ri.prototype.CONNECTING=lp.CONNECTING;Ri.OPEN=Ri.prototype.OPEN=lp.OPEN;Ri.CLOSING=Ri.prototype.CLOSING=lp.CLOSING;Ri.CLOSED=Ri.prototype.CLOSED=lp.CLOSED;Object.defineProperties(Ri.prototype,{CONNECTING:xc,OPEN:xc,CLOSING:xc,CLOSED:xc,url:rs,readyState:rs,bufferedAmount:rs,onopen:rs,onerror:rs,onclose:rs,close:rs,onmessage:rs,binaryType:rs,send:rs,extensions:rs,protocol:rs,[Symbol.toStringTag]:{value:"WebSocket",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(Ri,{CONNECTING:xc,OPEN:xc,CLOSING:xc,CLOSED:xc});He.converters["sequence"]=He.sequenceConverter(He.converters.DOMString);He.converters["DOMString or sequence"]=function(t,e,r){return He.util.Type(t)==="Object"&&Symbol.iterator in t?He.converters["sequence"](t):He.converters.DOMString(t,e,r)};He.converters.WebSocketInit=He.dictionaryConverter([{key:"protocols",converter:He.converters["DOMString or sequence"],defaultValue:o(()=>new Array(0),"defaultValue")},{key:"dispatcher",converter:He.converters.any,defaultValue:o(()=>V0e(),"defaultValue")},{key:"headers",converter:He.nullableConverter(He.converters.HeadersInit)}]);He.converters["DOMString or sequence or WebSocketInit"]=function(t){return He.util.Type(t)==="Object"&&!(Symbol.iterator in t)?He.converters.WebSocketInit(t):{protocols:He.converters["DOMString or sequence"](t)}};He.converters.WebSocketSendData=function(t){if(He.util.Type(t)==="Object"){if(X6(t))return He.converters.Blob(t,{strict:!1});if(ArrayBuffer.isView(t)||Z6.isArrayBuffer(t))return He.converters.BufferSource(t)}return He.converters.USVString(t)};function Z0e(){this.ws[V6].socket.resume()}o(Z0e,"onParserDrain");function eye(t){let e,r;t instanceof $0e?(e=t.reason,r=t.code):e=t.message,W6("error",this,()=>new W0e("error",{error:t,message:e})),$6(this,r)}o(eye,"onParserError");eH.exports={WebSocket:Ri}});var PS=x(($tt,rH)=>{"use strict";function tye(t){return t.indexOf("\0")===-1}o(tye,"isValidLastEventId");function rye(t){if(t.length===0)return!1;for(let e=0;e57)return!1;return!0}o(rye,"isASCIINumber");function nye(t){return new Promise(e=>{setTimeout(e,t).unref()})}o(nye,"delay");rH.exports={isValidLastEventId:tye,isASCIINumber:rye,delay:nye}});var oH=x((Ztt,sH)=>{"use strict";var{Transform:iye}=require("node:stream"),{isASCIINumber:nH,isValidLastEventId:iH}=PS(),ma=[239,187,191],_S=10,xy=13,sye=58,oye=32,DS=class extends iye{static{o(this,"EventSourceStream")}state=null;checkBOM=!0;crlfCheck=!1;eventEndCheck=!1;buffer=null;pos=0;event={data:void 0,event:void 0,id:void 0,retry:void 0};constructor(e={}){e.readableObjectMode=!0,super(e),this.state=e.eventSourceSettings||{},e.push&&(this.push=e.push)}_transform(e,r,n){if(e.length===0){n();return}if(this.buffer?this.buffer=Buffer.concat([this.buffer,e]):this.buffer=e,this.checkBOM)switch(this.buffer.length){case 1:if(this.buffer[0]===ma[0]){n();return}this.checkBOM=!1,n();return;case 2:if(this.buffer[0]===ma[0]&&this.buffer[1]===ma[1]){n();return}this.checkBOM=!1;break;case 3:if(this.buffer[0]===ma[0]&&this.buffer[1]===ma[1]&&this.buffer[2]===ma[2]){this.buffer=Buffer.alloc(0),this.checkBOM=!1,n();return}this.checkBOM=!1;break;default:this.buffer[0]===ma[0]&&this.buffer[1]===ma[1]&&this.buffer[2]===ma[2]&&(this.buffer=this.buffer.subarray(3)),this.checkBOM=!1;break}for(;this.pos0&&(r[i]=s);break}}processEvent(e){e.retry&&nH(e.retry)&&(this.state.reconnectionTime=parseInt(e.retry,10)),e.id&&iH(e.id)&&(this.state.lastEventId=e.id),e.data!==void 0&&this.push({type:e.event||"message",options:{data:e.data,lastEventId:this.state.lastEventId,origin:this.state.origin}})}clearEvent(){this.event={data:void 0,event:void 0,id:void 0,retry:void 0}}};sH.exports={EventSourceStream:DS}});var hH=x((trt,fH)=>{"use strict";var{pipeline:aye}=require("node:stream"),{fetching:cye}=$h(),{makeRequest:lye}=GA(),{webidl:ya}=ln(),{EventSourceStream:uye}=oH(),{parseMIMEType:Aye}=Yn(),{createFastMessageEvent:dye}=WA(),{isNetworkError:aH}=Vh(),{delay:fye}=PS(),{kEnumerableProperty:Wl}=Xe(),{environmentSettingsObject:cH}=xi(),lH=!1,uH=3e3,up=0,AH=1,Ap=2,hye="anonymous",pye="use-credentials",td=class t extends EventTarget{static{o(this,"EventSource")}#e={open:null,error:null,message:null};#t=null;#i=!1;#n=up;#r=null;#s=null;#o;#a;constructor(e,r={}){super(),ya.util.markAsUncloneable(this);let n="EventSource constructor";ya.argumentLengthCheck(arguments,1,n),lH||(lH=!0,process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})),e=ya.converters.USVString(e,n,"url"),r=ya.converters.EventSourceInitDict(r,n,"eventSourceInitDict"),this.#o=r.dispatcher,this.#a={lastEventId:"",reconnectionTime:uH};let i=cH,s;try{s=new URL(e,i.settingsObject.baseUrl),this.#a.origin=s.origin}catch(l){throw new DOMException(l,"SyntaxError")}this.#t=s.href;let a=hye;r.withCredentials&&(a=pye,this.#i=!0);let c={redirect:"follow",keepalive:!0,mode:"cors",credentials:a==="anonymous"?"same-origin":"omit",referrer:"no-referrer"};c.client=cH.settingsObject,c.headersList=[["accept",{name:"accept",value:"text/event-stream"}]],c.cache="no-store",c.initiator="other",c.urlList=[new URL(this.#t)],this.#r=lye(c),this.#c()}get readyState(){return this.#n}get url(){return this.#t}get withCredentials(){return this.#i}#c(){if(this.#n===Ap)return;this.#n=up;let e={request:this.#r,dispatcher:this.#o},r=o(n=>{aH(n)&&(this.dispatchEvent(new Event("error")),this.close()),this.#l()},"processEventSourceEndOfBody");e.processResponseEndOfBody=r,e.processResponse=n=>{if(aH(n))if(n.aborted){this.close(),this.dispatchEvent(new Event("error"));return}else{this.#l();return}let i=n.headersList.get("content-type",!0),s=i!==null?Aye(i):"failure",a=s!=="failure"&&s.essence==="text/event-stream";if(n.status!==200||a===!1){this.close(),this.dispatchEvent(new Event("error"));return}this.#n=AH,this.dispatchEvent(new Event("open")),this.#a.origin=n.urlList[n.urlList.length-1].origin;let c=new uye({eventSourceSettings:this.#a,push:o(l=>{this.dispatchEvent(dye(l.type,l.options))},"push")});aye(n.body.stream,c,l=>{l?.aborted===!1&&(this.close(),this.dispatchEvent(new Event("error")))})},this.#s=cye(e)}async#l(){this.#n!==Ap&&(this.#n=up,this.dispatchEvent(new Event("error")),await fye(this.#a.reconnectionTime),this.#n===up&&(this.#a.lastEventId.length&&this.#r.headersList.set("last-event-id",this.#a.lastEventId,!0),this.#c()))}close(){ya.brandCheck(this,t),this.#n!==Ap&&(this.#n=Ap,this.#s.abort(),this.#r=null)}get onopen(){return this.#e.open}set onopen(e){this.#e.open&&this.removeEventListener("open",this.#e.open),typeof e=="function"?(this.#e.open=e,this.addEventListener("open",e)):this.#e.open=null}get onmessage(){return this.#e.message}set onmessage(e){this.#e.message&&this.removeEventListener("message",this.#e.message),typeof e=="function"?(this.#e.message=e,this.addEventListener("message",e)):this.#e.message=null}get onerror(){return this.#e.error}set onerror(e){this.#e.error&&this.removeEventListener("error",this.#e.error),typeof e=="function"?(this.#e.error=e,this.addEventListener("error",e)):this.#e.error=null}},dH={CONNECTING:{__proto__:null,configurable:!1,enumerable:!0,value:up,writable:!1},OPEN:{__proto__:null,configurable:!1,enumerable:!0,value:AH,writable:!1},CLOSED:{__proto__:null,configurable:!1,enumerable:!0,value:Ap,writable:!1}};Object.defineProperties(td,dH);Object.defineProperties(td.prototype,dH);Object.defineProperties(td.prototype,{close:Wl,onerror:Wl,onmessage:Wl,onopen:Wl,readyState:Wl,url:Wl,withCredentials:Wl});ya.converters.EventSourceInitDict=ya.dictionaryConverter([{key:"withCredentials",converter:ya.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"dispatcher",converter:ya.converters.any}]);fH.exports={EventSource:td,defaultReconnectionTime:uH}});var yH=x((nrt,Fe)=>{"use strict";var gye=vA(),pH=ph(),mye=RA(),yye=dF(),Eye=PA(),bye=i1(),Cye=OF(),xye=qF(),gH=ft(),By=Xe(),{InvalidArgumentError:Iy}=gH,rd=N8(),Iye=mh(),Bye=U1(),wye=u4(),Qye=q1(),Sye=Q1(),Nye=Q0(),{getGlobalDispatcher:mH,setGlobalDispatcher:vye}=O0(),Rye=M0(),Pye=p0(),_ye=g0();Object.assign(pH.prototype,rd);Fe.exports.Dispatcher=pH;Fe.exports.Client=gye;Fe.exports.Pool=mye;Fe.exports.BalancedPool=yye;Fe.exports.Agent=Eye;Fe.exports.ProxyAgent=bye;Fe.exports.EnvHttpProxyAgent=Cye;Fe.exports.RetryAgent=xye;Fe.exports.RetryHandler=Nye;Fe.exports.DecoratorHandler=Rye;Fe.exports.RedirectHandler=Pye;Fe.exports.createRedirectInterceptor=_ye;Fe.exports.interceptors={redirect:m4(),retry:E4(),dump:C4(),dns:B4()};Fe.exports.buildConnector=Iye;Fe.exports.errors=gH;Fe.exports.util={parseHeaders:By.parseHeaders,headerNameToString:By.headerNameToString};function dp(t){return(e,r,n)=>{if(typeof r=="function"&&(n=r,r=null),!e||typeof e!="string"&&typeof e!="object"&&!(e instanceof URL))throw new Iy("invalid url");if(r!=null&&typeof r!="object")throw new Iy("invalid opts");if(r&&r.path!=null){if(typeof r.path!="string")throw new Iy("invalid opts.path");let a=r.path;r.path.startsWith("/")||(a=`/${a}`),e=new URL(By.parseOrigin(e).origin+a)}else r||(r=typeof e=="object"?e:{}),e=By.parseURL(e);let{agent:i,dispatcher:s=mH()}=r;if(i)throw new Iy("unsupported opts.agent. Did you mean opts.client?");return t.call(s,{...r,origin:e.origin,path:e.search?`${e.pathname}${e.search}`:e.pathname,method:r.method||(r.body?"PUT":"GET")},n)}}o(dp,"makeDispatcher");Fe.exports.setGlobalDispatcher=vye;Fe.exports.getGlobalDispatcher=mH;var Dye=$h().fetch;Fe.exports.fetch=o(async function(e,r=void 0){try{return await Dye(e,r)}catch(n){throw n&&typeof n=="object"&&Error.captureStackTrace(n),n}},"fetch");Fe.exports.Headers=zl().Headers;Fe.exports.Response=Vh().Response;Fe.exports.Request=GA().Request;Fe.exports.FormData=Bh().FormData;Fe.exports.File=globalThis.File??require("node:buffer").File;Fe.exports.FileReader=F5().FileReader;var{setGlobalOrigin:kye,getGlobalOrigin:Tye}=sQ();Fe.exports.setGlobalOrigin=kye;Fe.exports.getGlobalOrigin=Tye;var{CacheStorage:Oye}=V5(),{kConstruct:Mye}=iy();Fe.exports.caches=new Oye(Mye);var{deleteCookie:Lye,getCookies:Uye,getSetCookies:Fye,setCookie:Hye}=a6();Fe.exports.deleteCookie=Lye;Fe.exports.getCookies=Uye;Fe.exports.getSetCookies=Fye;Fe.exports.setCookie=Hye;var{parseMIMEType:qye,serializeAMimeType:zye}=Yn();Fe.exports.parseMIMEType=qye;Fe.exports.serializeAMimeType=zye;var{CloseEvent:Gye,ErrorEvent:jye,MessageEvent:Yye}=WA();Fe.exports.WebSocket=tH().WebSocket;Fe.exports.CloseEvent=Gye;Fe.exports.ErrorEvent=jye;Fe.exports.MessageEvent=Yye;Fe.exports.request=dp(rd.request);Fe.exports.stream=dp(rd.stream);Fe.exports.pipeline=dp(rd.pipeline);Fe.exports.connect=dp(rd.connect);Fe.exports.upgrade=dp(rd.upgrade);Fe.exports.MockClient=Bye;Fe.exports.MockPool=Qye;Fe.exports.MockAgent=wye;Fe.exports.mockErrors=Sye;var{EventSource:Kye}=hH();Fe.exports.EventSource=Kye});var Ic=x(Wt=>{"use strict";var Jye=Wt&&Wt.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Vye=Wt&&Wt.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),Ny=Wt&&Wt.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;ixr(this,void 0,void 0,function*(){let r=Buffer.alloc(0);this.message.on("data",n=>{r=Buffer.concat([r,n])}),this.message.on("end",()=>{e(r.toString())})}))})}readBodyBuffer(){return xr(this,void 0,void 0,function*(){return new Promise(e=>xr(this,void 0,void 0,function*(){let r=[];this.message.on("data",n=>{r.push(n)}),this.message.on("end",()=>{e(Buffer.concat(r))})}))})}};Wt.HttpClientResponse=Sy;function nEe(t){return new URL(t).protocol==="https:"}o(nEe,"isHttps");var OS=class{static{o(this,"HttpClient")}constructor(e,r,n){this._ignoreSslError=!1,this._allowRedirects=!0,this._allowRedirectDowngrade=!1,this._maxRedirects=50,this._allowRetries=!1,this._maxRetries=1,this._keepAlive=!1,this._disposed=!1,this.userAgent=this._getUserAgentWithOrchestrationId(e),this.handlers=r||[],this.requestOptions=n,n&&(n.ignoreSslError!=null&&(this._ignoreSslError=n.ignoreSslError),this._socketTimeout=n.socketTimeout,n.allowRedirects!=null&&(this._allowRedirects=n.allowRedirects),n.allowRedirectDowngrade!=null&&(this._allowRedirectDowngrade=n.allowRedirectDowngrade),n.maxRedirects!=null&&(this._maxRedirects=Math.max(n.maxRedirects,0)),n.keepAlive!=null&&(this._keepAlive=n.keepAlive),n.allowRetries!=null&&(this._allowRetries=n.allowRetries),n.maxRetries!=null&&(this._maxRetries=n.maxRetries))}options(e,r){return xr(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return xr(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return xr(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,n){return xr(this,void 0,void 0,function*(){return this.request("POST",e,r,n||{})})}patch(e,r,n){return xr(this,void 0,void 0,function*(){return this.request("PATCH",e,r,n||{})})}put(e,r,n){return xr(this,void 0,void 0,function*(){return this.request("PUT",e,r,n||{})})}head(e,r){return xr(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,n,i){return xr(this,void 0,void 0,function*(){return this.request(e,r,n,i)})}getJson(e){return xr(this,arguments,void 0,function*(r,n={}){n[Dn.Accept]=this._getExistingOrDefaultHeader(n,Dn.Accept,Ea.ApplicationJson);let i=yield this.get(r,n);return this._processResponse(i,this.requestOptions)})}postJson(e,r){return xr(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[Dn.Accept]=this._getExistingOrDefaultHeader(s,Dn.Accept,Ea.ApplicationJson),s[Dn.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,Ea.ApplicationJson);let c=yield this.post(n,a,s);return this._processResponse(c,this.requestOptions)})}putJson(e,r){return xr(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[Dn.Accept]=this._getExistingOrDefaultHeader(s,Dn.Accept,Ea.ApplicationJson),s[Dn.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,Ea.ApplicationJson);let c=yield this.put(n,a,s);return this._processResponse(c,this.requestOptions)})}patchJson(e,r){return xr(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[Dn.Accept]=this._getExistingOrDefaultHeader(s,Dn.Accept,Ea.ApplicationJson),s[Dn.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,Ea.ApplicationJson);let c=yield this.patch(n,a,s);return this._processResponse(c,this.requestOptions)})}request(e,r,n,i){return xr(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let s=new URL(r),a=this._prepareRequest(e,s,i),c=this._allowRetries&&eEe.includes(e)?this._maxRetries+1:1,l=0,u;do{if(u=yield this.requestRaw(a,n),u&&u.message&&u.message.statusCode===ns.Unauthorized){let d;for(let f of this.handlers)if(f.canHandleAuthentication(u)){d=f;break}return d?d.handleAuthentication(this,a,n):u}let A=this._maxRedirects;for(;u.message.statusCode&&Xye.includes(u.message.statusCode)&&this._allowRedirects&&A>0;){let d=u.message.headers.location;if(!d)break;let f=new URL(d);if(s.protocol==="https:"&&s.protocol!==f.protocol&&!this._allowRedirectDowngrade)throw new Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.");if(yield u.readBody(),f.hostname!==s.hostname)for(let h in i)h.toLowerCase()==="authorization"&&delete i[h];a=this._prepareRequest(e,f,i),u=yield this.requestRaw(a,n),A--}if(!u.message.statusCode||!Zye.includes(u.message.statusCode))return u;l+=1,l{function s(a,c){a?i(a):c?n(c):i(new Error("Unknown error"))}o(s,"callbackForResult"),this.requestRawWithCallback(e,r,s)})})}requestRawWithCallback(e,r,n){typeof r=="string"&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(r,"utf8"));let i=!1;function s(l,u){i||(i=!0,n(l,u))}o(s,"handleResult");let a=e.httpModule.request(e.options,l=>{let u=new Sy(l);s(void 0,u)}),c;a.on("socket",l=>{c=l}),a.setTimeout(this._socketTimeout||3*6e4,()=>{c&&c.end(),s(new Error(`Request timeout: ${e.options.path}`))}),a.on("error",function(l){s(l)}),r&&typeof r=="string"&&a.write(r,"utf8"),r&&typeof r!="string"?(r.on("close",function(){a.end()}),r.pipe(a)):a.end()}getAgent(e){let r=new URL(e);return this._getAgent(r)}getAgentDispatcher(e){let r=new URL(e),n=TS.getProxyUrl(r);if(n&&n.hostname)return this._getProxyAgentDispatcher(r,n)}_prepareRequest(e,r,n){let i={};i.parsedUrl=r;let s=i.parsedUrl.protocol==="https:";i.httpModule=s?EH:kS;let a=s?443:80;if(i.options={},i.options.host=i.parsedUrl.hostname,i.options.port=i.parsedUrl.port?parseInt(i.parsedUrl.port):a,i.options.path=(i.parsedUrl.pathname||"")+(i.parsedUrl.search||""),i.options.method=e,i.options.headers=this._mergeHeaders(n),this.userAgent!=null&&(i.options.headers["user-agent"]=this.userAgent),i.options.agent=this._getAgent(i.parsedUrl),this.handlers)for(let c of this.handlers)c.prepareRequest(i.options);return i}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},fp(this.requestOptions.headers),fp(e||{})):fp(e||{})}_getExistingOrDefaultHeader(e,r,n){let i;if(this.requestOptions&&this.requestOptions.headers){let a=fp(this.requestOptions.headers)[r];a&&(i=typeof a=="number"?a.toString():a)}let s=e[r];return s!==void 0?typeof s=="number"?s.toString():s:i!==void 0?i:n}_getExistingOrDefaultContentTypeHeader(e,r){let n;if(this.requestOptions&&this.requestOptions.headers){let s=fp(this.requestOptions.headers)[Dn.ContentType];s&&(typeof s=="number"?n=String(s):Array.isArray(s)?n=s.join(", "):n=s)}let i=e[Dn.ContentType];return i!==void 0?typeof i=="number"?String(i):Array.isArray(i)?i.join(", "):i:n!==void 0?n:r}_getAgent(e){let r,n=TS.getProxyUrl(e),i=n&&n.hostname;if(this._keepAlive&&i&&(r=this._proxyAgent),i||(r=this._agent),r)return r;let s=e.protocol==="https:",a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||kS.globalAgent.maxSockets),n&&n.hostname){let c={maxSockets:a,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(n.username||n.password)&&{proxyAuth:`${n.username}:${n.password}`}),{host:n.hostname,port:n.port})},l,u=n.protocol==="https:";s?l=u?wy.httpsOverHttps:wy.httpsOverHttp:l=u?wy.httpOverHttps:wy.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=s?new EH.Agent(c):new kS.Agent(c),this._agent=r}return s&&this._ignoreSslError&&(r.options=Object.assign(r.options||{},{rejectUnauthorized:!1})),r}_getProxyAgentDispatcher(e,r){let n;if(this._keepAlive&&(n=this._proxyAgentDispatcher),n)return n;let i=e.protocol==="https:";return n=new Wye.ProxyAgent(Object.assign({uri:r.href,pipelining:this._keepAlive?1:0},(r.username||r.password)&&{token:`Basic ${Buffer.from(`${r.username}:${r.password}`).toString("base64")}`})),this._proxyAgentDispatcher=n,i&&this._ignoreSslError&&(n.options=Object.assign(n.options.requestTls||{},{rejectUnauthorized:!1})),n}_getUserAgentWithOrchestrationId(e){let r=e||"actions/http-client",n=process.env.ACTIONS_ORCHESTRATION_ID;if(n){let i=n.replace(/[^a-z0-9_.-]/gi,"_");return`${r} actions_orchestration_id/${i}`}return r}_performExponentialBackoff(e){return xr(this,void 0,void 0,function*(){e=Math.min(tEe,e);let r=rEe*Math.pow(2,e);return new Promise(n=>setTimeout(()=>n(),r))})}_processResponse(e,r){return xr(this,void 0,void 0,function*(){return new Promise((n,i)=>xr(this,void 0,void 0,function*(){let s=e.message.statusCode||0,a={statusCode:s,result:null,headers:{}};s===ns.NotFound&&n(a);function c(A,d){if(typeof d=="string"){let f=new Date(d);if(!isNaN(f.valueOf()))return f}return d}o(c,"dateTimeDeserializer");let l,u;try{u=yield e.readBody(),u&&u.length>0&&(r&&r.deserializeDates?l=JSON.parse(u,c):l=JSON.parse(u),a.result=l),a.headers=e.message.headers}catch{}if(s>299){let A;l&&l.message?A=l.message:u&&u.length>0?A=u:A=`Failed request: (${s})`;let d=new Qy(A,s);d.result=a.result,i(d)}else n(a)}))})}};Wt.HttpClient=OS;var fp=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys")});var vy=x(bo=>{"use strict";var FS=bo&&bo.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(A){try{u(n.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(n.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?s(A.value):i(A.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};Object.defineProperty(bo,"__esModule",{value:!0});bo.PersonalAccessTokenCredentialHandler=bo.BearerCredentialHandler=bo.BasicCredentialHandler=void 0;var MS=class{static{o(this,"BasicCredentialHandler")}constructor(e,r){this.username=e,this.password=r}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization=`Basic ${Buffer.from(`${this.username}:${this.password}`).toString("base64")}`}canHandleAuthentication(){return!1}handleAuthentication(){return FS(this,void 0,void 0,function*(){throw new Error("not implemented")})}};bo.BasicCredentialHandler=MS;var LS=class{static{o(this,"BearerCredentialHandler")}constructor(e){this.token=e}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization=`Bearer ${this.token}`}canHandleAuthentication(){return!1}handleAuthentication(){return FS(this,void 0,void 0,function*(){throw new Error("not implemented")})}};bo.BearerCredentialHandler=LS;var US=class{static{o(this,"PersonalAccessTokenCredentialHandler")}constructor(e){this.token=e}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization=`Basic ${Buffer.from(`PAT:${this.token}`).toString("base64")}`}canHandleAuthentication(){return!1}handleAuthentication(){return FS(this,void 0,void 0,function*(){throw new Error("not implemented")})}};bo.PersonalAccessTokenCredentialHandler=US});var xH=x(nd=>{"use strict";var bH=nd&&nd.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(A){try{u(n.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(n.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?s(A.value):i(A.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};Object.defineProperty(nd,"__esModule",{value:!0});nd.OidcClient=void 0;var iEe=Ic(),sEe=vy(),CH=Pt(),HS=class t{static{o(this,"OidcClient")}static createHttpClient(e=!0,r=10){let n={allowRetries:e,maxRetries:r};return new iEe.HttpClient("actions/oidc-client",[new sEe.BearerCredentialHandler(t.getRequestToken())],n)}static getRequestToken(){let e=process.env.ACTIONS_ID_TOKEN_REQUEST_TOKEN;if(!e)throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable");return e}static getIDTokenUrl(){let e=process.env.ACTIONS_ID_TOKEN_REQUEST_URL;if(!e)throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable");return e}static getCall(e){return bH(this,void 0,void 0,function*(){var r;let s=(r=(yield t.createHttpClient().getJson(e).catch(a=>{throw new Error(`Failed to get ID Token. Error Code : ${a.statusCode} - Error Message: ${a.message}`)})).result)===null||r===void 0?void 0:r.value;if(!s)throw new Error("Response json body do not have ID Token field");return s})}static getIDToken(e){return UU(this,void 0,void 0,function*(){try{let r=t.getIDTokenUrl();if(e){let i=encodeURIComponent(e);r=`${r}&audience=${i}`}(0,FU.debug)(`ID token url is ${r}`);let n=yield t.getCall(r);return(0,FU.setSecret)(n),n}catch(r){throw new Error(`Error message: ${r.message}`)}})}};Qc.OidcClient=Ab});var hb=g(xr=>{"use strict";var ub=xr&&xr.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(xr,"__esModule",{value:!0});xr.summary=xr.markdownSummary=xr.SUMMARY_DOCS_URL=xr.SUMMARY_ENV_VAR=void 0;var ele=require("os"),db=require("fs"),{access:tle,appendFile:rle,writeFile:nle}=db.promises;xr.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";xr.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";var pb=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return ub(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[xr.SUMMARY_ENV_VAR];if(!e)throw new Error(`Unable to find environment variable for $${xr.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);try{yield tle(e,db.constants.R_OK|db.constants.W_OK)}catch{throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}return this._filePath=e,this._filePath})}wrap(e,r,n={}){let i=Object.entries(n).map(([s,a])=>` ${s}="${a}"`).join("");return r?`<${e}${i}>${r}`:`<${e}${i}>`}write(e){return ub(this,void 0,void 0,function*(){let r=!!e?.overwrite,n=yield this.filePath();return yield(r?nle:rle)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return ub(this,void 0,void 0,function*(){return this.emptyBuffer().write({overwrite:!0})})}stringify(){return this._buffer}isEmptyBuffer(){return this._buffer.length===0}emptyBuffer(){return this._buffer="",this}addRaw(e,r=!1){return this._buffer+=e,r?this.addEOL():this}addEOL(){return this.addRaw(ele.EOL)}addCodeBlock(e,r){let n=Object.assign({},r&&{lang:r}),i=this.wrap("pre",this.wrap("code",e),n);return this.addRaw(i).addEOL()}addList(e,r=!1){let n=r?"ol":"ul",i=e.map(a=>this.wrap("li",a)).join(""),s=this.wrap(n,i);return this.addRaw(s).addEOL()}addTable(e){let r=e.map(i=>{let s=i.map(a=>{if(typeof a=="string")return this.wrap("td",a);let{header:c,data:l,colspan:A,rowspan:u}=a,d=c?"th":"td",f=Object.assign(Object.assign({},A&&{colspan:A}),u&&{rowspan:u});return this.wrap(d,l,f)}).join("");return this.wrap("tr",s)}).join(""),n=this.wrap("table",r);return this.addRaw(n).addEOL()}addDetails(e,r){let n=this.wrap("details",this.wrap("summary",e)+r);return this.addRaw(n).addEOL()}addImage(e,r,n){let{width:i,height:s}=n||{},a=Object.assign(Object.assign({},i&&{width:i}),s&&{height:s}),c=this.wrap("img",null,Object.assign({src:e,alt:r},a));return this.addRaw(c).addEOL()}addHeading(e,r){let n=`h${r}`,i=["h1","h2","h3","h4","h5","h6"].includes(n)?n:"h1",s=this.wrap(i,e);return this.addRaw(s).addEOL()}addSeparator(){let e=this.wrap("hr",null);return this.addRaw(e).addEOL()}addBreak(){let e=this.wrap("br",null);return this.addRaw(e).addEOL()}addQuote(e,r){let n=Object.assign({},r&&{cite:r}),i=this.wrap("blockquote",e,n);return this.addRaw(i).addEOL()}addLink(e,r){let n=this.wrap("a",e,{href:r});return this.addRaw(n).addEOL()}},HU=new pb;xr.markdownSummary=HU;xr.summary=HU});var zU=g(Xn=>{"use strict";var ile=Xn&&Xn.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),sle=Xn&&Xn.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),ole=Xn&&Xn.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i{"use strict";var ule=X&&X.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),dle=X&&X.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),GU=X&&X.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;is.toUpperCase()===i))return t}else if(jU(r))return t}let n=t;for(let i of e){t=n+i,r=void 0;try{r=yield(0,X.stat)(t)}catch(s){s.code!=="ENOENT"&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${s}`)}if(r&&r.isFile()){if(X.IS_WINDOWS){try{let s=kh.dirname(t),a=kh.basename(t).toUpperCase();for(let c of yield(0,X.readdir)(s))if(a===c.toUpperCase()){t=kh.join(s,c);break}}catch(s){console.log(`Unexpected error attempting to determine the actual case of the file '${t}': ${s}`)}return t}else if(jU(r))return t}}return""})}o(gle,"tryGetExecutablePath");function yle(t){return t=t||"",X.IS_WINDOWS?(t=t.replace(/\//g,"\\"),t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}o(yle,"normalizeSeparators");function jU(t){return(t.mode&1)>0||(t.mode&8)>0&&process.getgid!==void 0&&t.gid===process.getgid()||(t.mode&64)>0&&process.getuid!==void 0&&t.uid===process.getuid()}o(jU,"isUnixExecutable");function Cle(){var t;return(t=process.env.COMSPEC)!==null&&t!==void 0?t:"cmd.exe"}o(Cle,"getCmdPath")});var au=g(nr=>{"use strict";var Ele=nr&&nr.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),Ble=nr&&nr.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),YU=nr&&nr.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i|]/.test(t))throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows');try{yield ke.rm(t,{force:!0,maxRetries:3,recursive:!0,retryDelay:300})}catch(e){throw new Error(`File was unable to be removed ${e}`)}})}o(JU,"rmRF");function gb(t){return Hs(this,void 0,void 0,function*(){(0,Ile.ok)(t,"a path argument must be provided"),yield ke.mkdir(t,{recursive:!0})})}o(gb,"mkdirP");function VU(t,e){return Hs(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");if(e){let n=yield VU(t,!1);if(!n)throw ke.IS_WINDOWS?new Error(`Unable to locate executable file: ${t}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.`):new Error(`Unable to locate executable file: ${t}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`);return n}let r=yield WU(t);return r&&r.length>0?r[0]:""})}o(VU,"which");function WU(t){return Hs(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");let e=[];if(ke.IS_WINDOWS&&process.env.PATHEXT)for(let i of process.env.PATHEXT.split(bi.delimiter))i&&e.push(i);if(ke.isRooted(t)){let i=yield ke.tryGetExecutablePath(t,e);return i?[i]:[]}if(t.includes(bi.sep))return[];let r=[];if(process.env.PATH)for(let i of process.env.PATH.split(bi.delimiter))i&&r.push(i);let n=[];for(let i of r){let s=yield ke.tryGetExecutablePath(bi.join(i,t),e);s&&n.push(s)}return n})}o(WU,"findInPath");function wle(t){let e=t.force==null?!0:t.force,r=!!t.recursive,n=t.copySourceDirectory==null?!0:!!t.copySourceDirectory;return{force:e,recursive:r,copySourceDirectory:n}}o(wle,"readCopyOptions");function $U(t,e,r,n){return Hs(this,void 0,void 0,function*(){if(r>=255)return;r++,yield gb(e);let i=yield ke.readdir(t);for(let s of i){let a=`${t}/${s}`,c=`${e}/${s}`;(yield ke.lstat(a)).isDirectory()?yield $U(a,c,r,n):yield KU(a,c,n)}yield ke.chmod(e,(yield ke.stat(t)).mode)})}o($U,"cpDirRecursive");function KU(t,e,r){return Hs(this,void 0,void 0,function*(){if((yield ke.lstat(t)).isSymbolicLink()){try{yield ke.lstat(e),yield ke.unlink(e)}catch(i){i.code==="EPERM"&&(yield ke.chmod(e,"0666"),yield ke.unlink(e))}let n=yield ke.readlink(t);yield ke.symlink(n,e,ke.IS_WINDOWS?"junction":null)}else(!(yield ke.exists(e))||r)&&(yield ke.copyFile(t,e))})}o(KU,"copyFile")});var tF=g(Vr=>{"use strict";var Nle=Vr&&Vr.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),xle=Vr&&Vr.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),wc=Vr&&Vr.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i-1;){let a=i.substring(0,s);n(a),i=i.substring(s+Uh.EOL.length),s=i.indexOf(Uh.EOL)}return i}catch(i){return this._debug(`error processing line. Failed with error ${i}`),""}}_getSpawnFileName(){return Fh&&this._isCmdFile()?process.env.COMSPEC||"cmd.exe":this.toolPath}_getSpawnArgs(e){if(Fh&&this._isCmdFile()){let r=`/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`;for(let n of this.args)r+=" ",r+=e.windowsVerbatimArguments?n:this._windowsQuoteCmdArg(n);return r+='"',[r]}return this.args}_endsWith(e,r){return e.endsWith(r)}_isCmdFile(){let e=this.toolPath.toUpperCase();return this._endsWith(e,".CMD")||this._endsWith(e,".BAT")}_windowsQuoteCmdArg(e){if(!this._isCmdFile())return this._uvQuoteCmdArg(e);if(!e)return'""';let r=[" "," ","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'],n=!1;for(let a of e)if(r.some(c=>c===a)){n=!0;break}if(!n)return e;let i='"',s=!0;for(let a=e.length;a>0;a--)i+=e[a-1],s&&e[a-1]==="\\"?i+="\\":e[a-1]==='"'?(s=!0,i+='"'):s=!1;return i+='"',i.split("").reverse().join("")}_uvQuoteCmdArg(e){if(!e)return'""';if(!e.includes(" ")&&!e.includes(" ")&&!e.includes('"'))return e;if(!e.includes('"')&&!e.includes("\\"))return`"${e}"`;let r='"',n=!0;for(let i=e.length;i>0;i--)r+=e[i-1],n&&e[i-1]==="\\"?r+="\\":e[i-1]==='"'?(n=!0,r+="\\"):n=!1;return r+='"',r.split("").reverse().join("")}_cloneExecOptions(e){e=e||{};let r={cwd:e.cwd||process.cwd(),env:e.env||process.env,silent:e.silent||!1,windowsVerbatimArguments:e.windowsVerbatimArguments||!1,failOnStdErr:e.failOnStdErr||!1,ignoreReturnCode:e.ignoreReturnCode||!1,delay:e.delay||1e4};return r.outStream=e.outStream||process.stdout,r.errStream=e.errStream||process.stderr,r}_getSpawnOptions(e,r){e=e||{};let n={};return n.cwd=e.cwd,n.env=e.env,n.windowsVerbatimArguments=e.windowsVerbatimArguments||this._isCmdFile(),e.windowsVerbatimArguments&&(n.argv0=`"${r}"`),n}exec(){return XU(this,void 0,void 0,function*(){return!ZU.isRooted(this.toolPath)&&(this.toolPath.includes("/")||Fh&&this.toolPath.includes("\\"))&&(this.toolPath=Rle.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)),this.toolPath=yield _le.which(this.toolPath,!0),new Promise((e,r)=>XU(this,void 0,void 0,function*(){this._debug(`exec tool: ${this.toolPath}`),this._debug("arguments:");for(let A of this.args)this._debug(` ${A}`);let n=this._cloneExecOptions(this.options);!n.silent&&n.outStream&&n.outStream.write(this._getCommandString(n)+Uh.EOL);let i=new Cb(n,this.toolPath);if(i.on("debug",A=>{this._debug(A)}),this.options.cwd&&!(yield ZU.exists(this.options.cwd)))return r(new Error(`The cwd: ${this.options.cwd} does not exist!`));let s=this._getSpawnFileName(),a=Sle.spawn(s,this._getSpawnArgs(n),this._getSpawnOptions(this.options,s)),c="";a.stdout&&a.stdout.on("data",A=>{this.options.listeners&&this.options.listeners.stdout&&this.options.listeners.stdout(A),!n.silent&&n.outStream&&n.outStream.write(A),c=this._processLineBuffer(A,c,u=>{this.options.listeners&&this.options.listeners.stdline&&this.options.listeners.stdline(u)})});let l="";if(a.stderr&&a.stderr.on("data",A=>{i.processStderr=!0,this.options.listeners&&this.options.listeners.stderr&&this.options.listeners.stderr(A),!n.silent&&n.errStream&&n.outStream&&(n.failOnStdErr?n.errStream:n.outStream).write(A),l=this._processLineBuffer(A,l,u=>{this.options.listeners&&this.options.listeners.errline&&this.options.listeners.errline(u)})}),a.on("error",A=>{i.processError=A.message,i.processExited=!0,i.processClosed=!0,i.CheckComplete()}),a.on("exit",A=>{i.processExitCode=A,i.processExited=!0,this._debug(`Exit code ${A} received from tool '${this.toolPath}'`),i.CheckComplete()}),a.on("close",A=>{i.processExitCode=A,i.processExited=!0,i.processClosed=!0,this._debug(`STDIO streams have closed for tool '${this.toolPath}'`),i.CheckComplete()}),i.on("done",(A,u)=>{c.length>0&&this.emit("stdline",c),l.length>0&&this.emit("errline",l),a.removeAllListeners(),A?r(A):e(u)}),this.options.input){if(!a.stdin)throw new Error("child process missing stdin");a.stdin.end(this.options.input)}}))})}};Vr.ToolRunner=yb;function Ple(t){let e=[],r=!1,n=!1,i="";function s(a){n&&a!=='"'&&(i+="\\"),i+=a,n=!1}o(s,"append");for(let a=0;a0&&(e.push(i),i="");continue}s(c)}return i.length>0&&e.push(i.trim()),e}o(Ple,"argStringToArray");var Cb=class t extends eF.EventEmitter{static{o(this,"ExecState")}constructor(e,r){if(super(),this.processClosed=!1,this.processError="",this.processExitCode=0,this.processExited=!1,this.processStderr=!1,this.delay=1e4,this.done=!1,this.timeout=null,!r)throw new Error("toolPath must not be empty");this.options=e,this.toolPath=r,e.delay&&(this.delay=e.delay)}CheckComplete(){this.done||(this.processClosed?this._setResult():this.processExited&&(this.timeout=(0,vle.setTimeout)(t.HandleTimeout,this.delay,this)))}_debug(e){this.emit("debug",e)}_setResult(){let e;this.processExited&&(this.processError?e=new Error(`There was an error when attempting to execute the process '${this.toolPath}'. This may indicate the process failed to start. Error: ${this.processError}`):this.processExitCode!==0&&!this.options.ignoreReturnCode?e=new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`):this.processStderr&&this.options.failOnStdErr&&(e=new Error(`The process '${this.toolPath}' failed because one or more lines were written to the STDERR stream`))),this.timeout&&(clearTimeout(this.timeout),this.timeout=null),this.done=!0,this.emit("done",e,this.processExitCode)}static HandleTimeout(e){if(!e.done){if(!e.processClosed&&e.processExited){let r=`The STDIO streams did not close within ${e.delay/1e3} seconds of the exit event from process '${e.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`;e._debug(r)}e._setResult()}}}});var Nc=g(Bn=>{"use strict";var Dle=Bn&&Bn.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),Tle=Bn&&Bn.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),Ole=Bn&&Bn.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i{a+=l.write(Q),u&&u(Q)},"stdErrListener"),f=o(Q=>{s+=c.write(Q),A&&A(Q)},"stdOutListener"),m=Object.assign(Object.assign({},r?.listeners),{stdout:f,stderr:d}),C=yield sF(t,e,Object.assign(Object.assign({},r),{listeners:m}));return s+=c.end(),a+=l.end(),{exitCode:C,stdout:s,stderr:a}})}o(Mle,"getExecOutput")});var aF=g(Re=>{"use strict";var kle=Re&&Re.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),Lle=Re&&Re.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),Ule=Re&&Re.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;iHh(void 0,void 0,void 0,function*(){let{stdout:t}=yield qh.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Version"',void 0,{silent:!0}),{stdout:e}=yield qh.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Caption"',void 0,{silent:!0});return{name:e.trim(),version:t.trim()}}),"getWindowsInfo"),Hle=o(()=>Hh(void 0,void 0,void 0,function*(){var t,e,r,n;let{stdout:i}=yield qh.getExecOutput("sw_vers",void 0,{silent:!0}),s=(e=(t=i.match(/ProductVersion:\s*(.+)/))===null||t===void 0?void 0:t[1])!==null&&e!==void 0?e:"";return{name:(n=(r=i.match(/ProductName:\s*(.+)/))===null||r===void 0?void 0:r[1])!==null&&n!==void 0?n:"",version:s}}),"getMacOsInfo"),zle=o(()=>Hh(void 0,void 0,void 0,function*(){let{stdout:t}=yield qh.getExecOutput("lsb_release",["-i","-r","-s"],{silent:!0}),[e,r]=t.trim().split(` -`);return{name:e,version:r}}),"getLinuxInfo");Re.platform=oF.default.platform();Re.arch=oF.default.arch();Re.isWindows=Re.platform==="win32";Re.isMacOS=Re.platform==="darwin";Re.isLinux=Re.platform==="linux";function jle(){return Hh(this,void 0,void 0,function*(){return Object.assign(Object.assign({},yield Re.isWindows?qle():Re.isMacOS?Hle():zle()),{platform:Re.platform,arch:Re.arch,isWindows:Re.isWindows,isMacOS:Re.isMacOS,isLinux:Re.isLinux})})}o(jle,"getDetails")});var ft=g(he=>{"use strict";var Gle=he&&he.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),Yle=he&&he.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),Bb=he&&he.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;in!=="");return e&&e.trimWhitespace===!1?r:r.map(n=>n.trim())}o(Xle,"getMultilineInput");function Zle(t,e){let r=["true","True","TRUE"],n=["false","False","FALSE"],i=Ib(t,e);if(r.includes(i))return!0;if(n.includes(i))return!1;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${t} -Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}o(Zle,"getBooleanInput");function eAe(t,e){if(process.env.GITHUB_OUTPUT||"")return(0,jo.issueFileCommand)("OUTPUT",(0,jo.prepareKeyValueMessage)(t,e));process.stdout.write(lF.EOL),(0,In.issueCommand)("set-output",{name:t},(0,xc.toCommandValue)(e))}o(eAe,"setOutput");function tAe(t){(0,In.issue)("echo",t?"on":"off")}o(tAe,"setCommandEcho");function rAe(t){process.exitCode=Eb.Failure,AF(t)}o(rAe,"setFailed");function nAe(){return process.env.RUNNER_DEBUG==="1"}o(nAe,"isDebug");function iAe(t){(0,In.issueCommand)("debug",{},t)}o(iAe,"debug");function AF(t,e={}){(0,In.issueCommand)("error",(0,xc.toCommandProperties)(e),t instanceof Error?t.toString():t)}o(AF,"error");function sAe(t,e={}){(0,In.issueCommand)("warning",(0,xc.toCommandProperties)(e),t instanceof Error?t.toString():t)}o(sAe,"warning");function oAe(t,e={}){(0,In.issueCommand)("notice",(0,xc.toCommandProperties)(e),t instanceof Error?t.toString():t)}o(oAe,"notice");function aAe(t){process.stdout.write(t+lF.EOL)}o(aAe,"info");function uF(t){(0,In.issue)("group",t)}o(uF,"startGroup");function dF(){(0,In.issue)("endgroup")}o(dF,"endGroup");function cAe(t,e){return cF(this,void 0,void 0,function*(){uF(t);let r;try{r=yield e()}finally{dF()}return r})}o(cAe,"group");function lAe(t,e){if(process.env.GITHUB_STATE||"")return(0,jo.issueFileCommand)("STATE",(0,jo.prepareKeyValueMessage)(t,e));(0,In.issueCommand)("save-state",{name:t},(0,xc.toCommandValue)(e))}o(lAe,"saveState");function AAe(t){return process.env[`STATE_${t}`]||""}o(AAe,"getState");function uAe(t){return cF(this,void 0,void 0,function*(){return yield Vle.OidcClient.getIDToken(t)})}o(uAe,"getIDToken");var dAe=hb();Object.defineProperty(he,"summary",{enumerable:!0,get:function(){return dAe.summary}});var pAe=hb();Object.defineProperty(he,"markdownSummary",{enumerable:!0,get:function(){return pAe.markdownSummary}});var bb=zU();Object.defineProperty(he,"toPosixPath",{enumerable:!0,get:function(){return bb.toPosixPath}});Object.defineProperty(he,"toWin32Path",{enumerable:!0,get:function(){return bb.toWin32Path}});Object.defineProperty(he,"toPlatformPath",{enumerable:!0,get:function(){return bb.toPlatformPath}});he.platform=Bb(aF())});var pF=g(ls=>{"use strict";var hAe=ls&&ls.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),fAe=ls&&ls.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),mAe=ls&&ls.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i{"use strict";var yAe=ir&&ir.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),CAe=ir&&ir.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),EAe=ir&&ir.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i{"use strict";Object.defineProperty(Gh,"__esModule",{value:!0});Gh.MatchKind=void 0;var hF;(function(t){t[t.None=0]="None",t[t.Directory=1]="Directory",t[t.File=2]="File",t[t.All=3]="All"})(hF||(Gh.MatchKind=hF={}))});var gF=g(Zn=>{"use strict";var wAe=Zn&&Zn.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),NAe=Zn&&Zn.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),xAe=Zn&&Zn.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i!n.negate);let e={};for(let n of t){let i=mF?n.searchPath.toUpperCase():n.searchPath;e[i]="candidate"}let r=[];for(let n of t){let i=mF?n.searchPath.toUpperCase():n.searchPath;if(e[i]==="included")continue;let s=!1,a=i,c=fF.dirname(a);for(;c!==a;){if(e[c]){s=!0;break}a=c,c=fF.dirname(a)}s||(r.push(n.searchPath),e[i]="included")}return r}o(RAe,"getSearchPaths");function _Ae(t,e){let r=SAe.MatchKind.None;for(let n of t)n.negate?r&=~n.match(e):r|=n.match(e);return r}o(_Ae,"match");function vAe(t,e){return t.some(r=>!r.negate&&r.partialMatch(e))}o(vAe,"partialMatch")});var CF=g((JGe,yF)=>{yF.exports=function(t,e){for(var r=[],n=0;n{"use strict";bF.exports=BF;function BF(t,e,r){t instanceof RegExp&&(t=EF(t,r)),e instanceof RegExp&&(e=EF(e,r));var n=IF(t,e,r);return n&&{start:n[0],end:n[1],pre:r.slice(0,n[0]),body:r.slice(n[0]+t.length,n[1]),post:r.slice(n[1]+e.length)}}o(BF,"balanced");function EF(t,e){var r=e.match(t);return r?r[0]:null}o(EF,"maybeMatch");BF.range=IF;function IF(t,e,r){var n,i,s,a,c,l=r.indexOf(t),A=r.indexOf(e,l+1),u=l;if(l>=0&&A>0){if(t===e)return[l,A];for(n=[],s=r.length;u>=0&&!c;)u==l?(n.push(u),l=r.indexOf(t,u+1)):n.length==1?c=[n.pop(),A]:(i=n.pop(),i=0?l:A;n.length&&(c=[s,a])}return c}o(IF,"range")});var PF=g(($Ge,vF)=>{var DAe=CF(),wF=QF();vF.exports=MAe;var NF="\0SLASH"+Math.random()+"\0",xF="\0OPEN"+Math.random()+"\0",xb="\0CLOSE"+Math.random()+"\0",SF="\0COMMA"+Math.random()+"\0",RF="\0PERIOD"+Math.random()+"\0";function Nb(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}o(Nb,"numeric");function TAe(t){return t.split("\\\\").join(NF).split("\\{").join(xF).split("\\}").join(xb).split("\\,").join(SF).split("\\.").join(RF)}o(TAe,"escapeBraces");function OAe(t){return t.split(NF).join("\\").split(xF).join("{").split(xb).join("}").split(SF).join(",").split(RF).join(".")}o(OAe,"unescapeBraces");function _F(t){if(!t)return[""];var e=[],r=wF("{","}",t);if(!r)return t.split(",");var n=r.pre,i=r.body,s=r.post,a=n.split(",");a[a.length-1]+="{"+i+"}";var c=_F(s);return s.length&&(a[a.length-1]+=c.shift(),a.push.apply(a,c)),e.push.apply(e,a),e}o(_F,"parseCommaParts");function MAe(t){return t?(t.substr(0,2)==="{}"&&(t="\\{\\}"+t.substr(2)),Sc(TAe(t),!0).map(OAe)):[]}o(MAe,"expandTop");function kAe(t){return"{"+t+"}"}o(kAe,"embrace");function LAe(t){return/^-?0\d/.test(t)}o(LAe,"isPadded");function UAe(t,e){return t<=e}o(UAe,"lte");function FAe(t,e){return t>=e}o(FAe,"gte");function Sc(t,e){var r=[],n=wF("{","}",t);if(!n||/\$$/.test(n.pre))return[t];var i=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(n.body),s=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(n.body),a=i||s,c=n.body.indexOf(",")>=0;if(!a&&!c)return n.post.match(/,.*\}/)?(t=n.pre+"{"+n.body+xb+n.post,Sc(t)):[t];var l;if(a)l=n.body.split(/\.\./);else if(l=_F(n.body),l.length===1&&(l=Sc(l[0],!1).map(kAe),l.length===1)){var u=n.post.length?Sc(n.post,!1):[""];return u.map(function(Xe){return n.pre+l[0]+Xe})}var A=n.pre,u=n.post.length?Sc(n.post,!1):[""],d;if(a){var f=Nb(l[0]),m=Nb(l[1]),C=Math.max(l[0].length,l[1].length),Q=l.length==3?Math.abs(Nb(l[2])):1,S=UAe,w=m0){var de=new Array(W+1).join("0");T<0?L="-"+de+L.slice(1):L=de+L}}d.push(L)}}else d=DAe(l,function(He){return Sc(He,!1)});for(var le=0;le{kF.exports=Wr;Wr.Minimatch=Kt;var Au=function(){try{return require("path")}catch{}}()||{sep:"/"};Wr.sep=Au.sep;var _b=Wr.GLOBSTAR=Kt.GLOBSTAR={},qAe=PF(),DF={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},Sb="[^/]",Rb=Sb+"*?",HAe="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",zAe="(?:(?!(?:\\/|^)\\.).)*?",TF=jAe("().*{}+?[]^$\\!");function jAe(t){return t.split("").reduce(function(e,r){return e[r]=!0,e},{})}o(jAe,"charSet");var OF=/\/+/;Wr.filter=GAe;function GAe(t,e){return e=e||{},function(r,n,i){return Wr(r,t,e)}}o(GAe,"filter");function js(t,e){e=e||{};var r={};return Object.keys(t).forEach(function(n){r[n]=t[n]}),Object.keys(e).forEach(function(n){r[n]=e[n]}),r}o(js,"ext");Wr.defaults=function(t){if(!t||typeof t!="object"||!Object.keys(t).length)return Wr;var e=Wr,r=o(function(i,s,a){return e(i,s,js(t,a))},"minimatch");return r.Minimatch=o(function(i,s){return new e.Minimatch(i,js(t,s))},"Minimatch"),r.Minimatch.defaults=o(function(i){return e.defaults(js(t,i)).Minimatch},"defaults"),r.filter=o(function(i,s){return e.filter(i,js(t,s))},"filter"),r.defaults=o(function(i){return e.defaults(js(t,i))},"defaults"),r.makeRe=o(function(i,s){return e.makeRe(i,js(t,s))},"makeRe"),r.braceExpand=o(function(i,s){return e.braceExpand(i,js(t,s))},"braceExpand"),r.match=function(n,i,s){return e.match(n,i,js(t,s))},r};Kt.defaults=function(t){return Wr.defaults(t).Minimatch};function Wr(t,e,r){return Vh(e),r||(r={}),!r.nocomment&&e.charAt(0)==="#"?!1:new Kt(e,r).match(t)}o(Wr,"minimatch");function Kt(t,e){if(!(this instanceof Kt))return new Kt(t,e);Vh(t),e||(e={}),t=t.trim(),Au.sep!=="/"&&(t=t.split(Au.sep).join("/")),this.options=e,this.set=[],this.pattern=t,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!e.partial,this.make()}o(Kt,"Minimatch");Kt.prototype.debug=function(){};Kt.prototype.make=YAe;function YAe(){var t=this.pattern,e=this.options;if(!e.nocomment&&t.charAt(0)==="#"){this.comment=!0;return}if(!t){this.empty=!0;return}this.parseNegate();var r=this.globSet=this.braceExpand();e.debug&&(this.debug=o(function(){console.error.apply(console,arguments)},"debug")),this.debug(this.pattern,r),r=this.globParts=r.map(function(n){return n.split(OF)}),this.debug(this.pattern,r),r=r.map(function(n,i,s){return n.map(this.parse,this)},this),this.debug(this.pattern,r),r=r.filter(function(n){return n.indexOf(!1)===-1}),this.debug(this.pattern,r),this.set=r}o(YAe,"make");Kt.prototype.parseNegate=JAe;function JAe(){var t=this.pattern,e=!1,r=this.options,n=0;if(!r.nonegate){for(var i=0,s=t.length;i"u"?this.pattern:t,Vh(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:qAe(t)}o(MF,"braceExpand");var VAe=1024*64,Vh=o(function(t){if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>VAe)throw new TypeError("pattern is too long")},"assertValidPattern");Kt.prototype.parse=WAe;var Jh={};function WAe(t,e){Vh(t);var r=this.options;if(t==="**")if(r.noglobstar)t="*";else return _b;if(t==="")return"";var n="",i=!!r.nocase,s=!1,a=[],c=[],l,A=!1,u=-1,d=-1,f=t.charAt(0)==="."?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",m=this;function C(){if(l){switch(l){case"*":n+=Rb,i=!0;break;case"?":n+=Sb,i=!0;break;default:n+="\\"+l;break}m.debug("clearStateChar %j %j",l,n),l=!1}}o(C,"clearStateChar");for(var Q=0,S=t.length,w;Q-1;Te--){var Oe=c[Te],He=n.slice(0,Oe.reStart),Xe=n.slice(Oe.reStart,Oe.reEnd-8),fe=n.slice(Oe.reEnd-8,Oe.reEnd),Ge=n.slice(Oe.reEnd);fe+=Ge;var ai=He.split("(").length-1,ji=Ge;for(Q=0;Q"u"&&(r=this.partial),this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return e==="";if(e==="/"&&r)return!0;var n=this.options;Au.sep!=="/"&&(e=e.split(Au.sep).join("/")),e=e.split(OF),this.debug(this.pattern,"split",e);var i=this.set;this.debug(this.pattern,"set",i);var s,a;for(a=e.length-1;a>=0&&(s=e[a],!s);a--);for(a=0;a>> no match, partial?`,t,u,e,d),u===a))}var m;if(typeof l=="string"?(m=A===l,this.debug("string match",l,A,m)):(m=A.match(l),this.debug("pattern match",l,A,m)),!m)return!1}if(i===a&&s===c)return!0;if(i===a)return r;if(s===c)return i===a-1&&t[i]==="";throw new Error("wtf?")};function KAe(t){return t.replace(/\\(.)/g,"$1")}o(KAe,"globUnescape");function XAe(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}o(XAe,"regExpEscape")});var FF=g(bn=>{"use strict";var ZAe=bn&&bn.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),eue=bn&&bn.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),UF=bn&&bn.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i0,"Parameter 'itemPath' must not be an empty array");for(let r=0;r{"use strict";var nue=Qn&&Qn.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),iue=Qn&&Qn.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),Tb=Qn&&Qn.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;it.getLiteral(A)).filter(A=>!a&&!(a=A===""));this.searchPath=new Wh.Path(c).toString(),this.rootRegExp=new RegExp(t.regExpEscape(c[0]),As?"i":""),this.isImplicitPattern=r;let l={dot:!0,nobrace:!0,nocase:As,nocomment:!0,noext:!0,nonegate:!0};s=As?s.replace(/\\/g,"/"):s,this.minimatch=new aue.Minimatch(s,l)}match(e){return this.segments[this.segments.length-1]==="**"?(e=Sr.normalizeSeparators(e),!e.endsWith(pu.sep)&&this.isImplicitPattern===!1&&(e=`${e}${pu.sep}`)):e=Sr.safeTrimTrailingSeparator(e),this.minimatch.match(e)?this.trailingSeparator?Pb.MatchKind.Directory:Pb.MatchKind.All:Pb.MatchKind.None}partialMatch(e){return e=Sr.safeTrimTrailingSeparator(e),Sr.dirname(e)===e?this.rootRegExp.test(e):this.minimatch.matchOne(e.split(As?/\\+/:/\/+/),this.minimatch.set[0],!0)}static globEscape(e){return(As?e:e.replace(/\\/g,"\\\\")).replace(/(\[)(?=[^/]+\])/g,"[[]").replace(/\?/g,"[?]").replace(/\*/g,"[*]")}static fixupPattern(e,r){(0,Yo.default)(e,"pattern cannot be empty");let n=new Wh.Path(e).segments.map(i=>t.getLiteral(i));if((0,Yo.default)(n.every((i,s)=>(i!=="."||s===0)&&i!==".."),`Invalid pattern '${e}'. Relative pathing '.' and '..' is not allowed.`),(0,Yo.default)(!Sr.hasRoot(e)||n[0],`Invalid pattern '${e}'. Root segment must not contain globs.`),e=Sr.normalizeSeparators(e),e==="."||e.startsWith(`.${pu.sep}`))e=t.globEscape(process.cwd())+e.substr(1);else if(e==="~"||e.startsWith(`~${pu.sep}`))r=r||oue.homedir(),(0,Yo.default)(r,"Unable to determine HOME directory"),(0,Yo.default)(Sr.hasAbsoluteRoot(r),`Expected HOME directory to be a rooted path. Actual '${r}'`),e=t.globEscape(r)+e.substr(1);else if(As&&(e.match(/^[A-Z]:$/i)||e.match(/^[A-Z]:[^\\]/i))){let i=Sr.ensureAbsoluteRoot("C:\\dummy-root",e.substr(0,2));e.length>2&&!i.endsWith("\\")&&(i+="\\"),e=t.globEscape(i)+e.substr(2)}else if(As&&(e==="\\"||e.match(/^\\[^\\]/))){let i=Sr.ensureAbsoluteRoot("C:\\dummy-root","\\");i.endsWith("\\")||(i+="\\"),e=t.globEscape(i)+e.substr(1)}else e=Sr.ensureAbsoluteRoot(t.globEscape(process.cwd()),e);return Sr.normalizeSeparators(e)}static getLiteral(e){let r="";for(let n=0;n=0){if(s.length>1)return"";if(s){r+=s,n=a;continue}}}}r+=i}return r}static regExpEscape(e){return e.replace(/[[\\^$.|?*+()]/g,"\\$&")}};Qn.Pattern=Db});var HF=g($h=>{"use strict";Object.defineProperty($h,"__esModule",{value:!0});$h.SearchState=void 0;var Ob=class{static{o(this,"SearchState")}constructor(e,r){this.path=e,this.level=r}};$h.SearchState=Ob});var VF=g(Ht=>{"use strict";var cue=Ht&&Ht.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),lue=Ht&&Ht.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),fu=Ht&&Ht.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i1||l(m,Q)})},C&&(i[m]=C(i[m])))}function l(m,C){try{A(n[m](C))}catch(Q){f(s[0][3],Q)}}function A(m){m.value instanceof Ys?Promise.resolve(m.value.v).then(u,d):f(s[0][2],m)}function u(m){l("next",m)}function d(m){l("throw",m)}function f(m,C){m(C),s.shift(),s.length&&l(s[0][0],s[0][1])}};Object.defineProperty(Ht,"__esModule",{value:!0});Ht.DefaultGlobber=void 0;var kb=fu(ft()),hu=fu(require("fs")),zF=fu(pF()),jF=fu(require("path")),Kh=fu(gF()),GF=Yh(),YF=qF(),JF=HF(),due=process.platform==="win32",Lb=class t{static{o(this,"DefaultGlobber")}constructor(e){this.patterns=[],this.searchPaths=[],this.options=zF.getOptions(e)}getSearchPaths(){return this.searchPaths.slice()}glob(){return Mb(this,void 0,void 0,function*(){var e,r,n,i;let s=[];try{for(var a=!0,c=Aue(this.globGenerator()),l;l=yield c.next(),e=l.done,!e;a=!0){i=l.value,a=!1;let A=i;s.push(A)}}catch(A){r={error:A}}finally{try{!a&&!e&&(n=c.return)&&(yield n.call(c))}finally{if(r)throw r.error}}return s})}globGenerator(){return uue(this,arguments,o(function*(){let r=zF.getOptions(this.options),n=[];for(let a of this.patterns)n.push(a),r.implicitDescendants&&(a.trailingSeparator||a.segments[a.segments.length-1]!=="**")&&n.push(new YF.Pattern(a.negate,!0,a.segments.concat("**")));let i=[];for(let a of Kh.getSearchPaths(n)){kb.debug(`Search path '${a}'`);try{yield Ys(hu.promises.lstat(a))}catch(c){if(c.code==="ENOENT")continue;throw c}i.unshift(new JF.SearchState(a,1))}let s=[];for(;i.length;){let a=i.pop(),c=Kh.match(n,a.path),l=!!c||Kh.partialMatch(n,a.path);if(!c&&!l)continue;let A=yield Ys(t.stat(a,r,s));if(A&&!(r.excludeHiddenFiles&&jF.basename(a.path).match(/^\./)))if(A.isDirectory()){if(c&GF.MatchKind.Directory&&r.matchDirectories)yield yield Ys(a.path);else if(!l)continue;let u=a.level+1,d=(yield Ys(hu.promises.readdir(a.path))).map(f=>new JF.SearchState(jF.join(a.path,f),u));i.push(...d.reverse())}else c&GF.MatchKind.File&&(yield yield Ys(a.path))}},"globGenerator_1"))}static create(e,r){return Mb(this,void 0,void 0,function*(){let n=new t(r);due&&(e=e.replace(/\r\n/g,` + Error Message: ${a.message}`)})).result)===null||r===void 0?void 0:r.value;if(!s)throw new Error("Response json body do not have ID Token field");return s})}static getIDToken(e){return bH(this,void 0,void 0,function*(){try{let r=t.getIDTokenUrl();if(e){let i=encodeURIComponent(e);r=`${r}&audience=${i}`}(0,CH.debug)(`ID token url is ${r}`);let n=yield t.getCall(r);return(0,CH.setSecret)(n),n}catch(r){throw new Error(`Error message: ${r.message}`)}})}};nd.OidcClient=HS});var jS=x(Xn=>{"use strict";var qS=Xn&&Xn.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(A){try{u(n.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(n.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?s(A.value):i(A.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};Object.defineProperty(Xn,"__esModule",{value:!0});Xn.summary=Xn.markdownSummary=Xn.SUMMARY_DOCS_URL=Xn.SUMMARY_ENV_VAR=void 0;var oEe=require("os"),zS=require("fs"),{access:aEe,appendFile:cEe,writeFile:lEe}=zS.promises;Xn.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";Xn.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";var GS=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return qS(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[Xn.SUMMARY_ENV_VAR];if(!e)throw new Error(`Unable to find environment variable for $${Xn.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);try{yield aEe(e,zS.constants.R_OK|zS.constants.W_OK)}catch{throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}return this._filePath=e,this._filePath})}wrap(e,r,n={}){let i=Object.entries(n).map(([s,a])=>` ${s}="${a}"`).join("");return r?`<${e}${i}>${r}`:`<${e}${i}>`}write(e){return qS(this,void 0,void 0,function*(){let r=!!e?.overwrite,n=yield this.filePath();return yield(r?lEe:cEe)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return qS(this,void 0,void 0,function*(){return this.emptyBuffer().write({overwrite:!0})})}stringify(){return this._buffer}isEmptyBuffer(){return this._buffer.length===0}emptyBuffer(){return this._buffer="",this}addRaw(e,r=!1){return this._buffer+=e,r?this.addEOL():this}addEOL(){return this.addRaw(oEe.EOL)}addCodeBlock(e,r){let n=Object.assign({},r&&{lang:r}),i=this.wrap("pre",this.wrap("code",e),n);return this.addRaw(i).addEOL()}addList(e,r=!1){let n=r?"ol":"ul",i=e.map(a=>this.wrap("li",a)).join(""),s=this.wrap(n,i);return this.addRaw(s).addEOL()}addTable(e){let r=e.map(i=>{let s=i.map(a=>{if(typeof a=="string")return this.wrap("td",a);let{header:c,data:l,colspan:u,rowspan:A}=a,d=c?"th":"td",f=Object.assign(Object.assign({},u&&{colspan:u}),A&&{rowspan:A});return this.wrap(d,l,f)}).join("");return this.wrap("tr",s)}).join(""),n=this.wrap("table",r);return this.addRaw(n).addEOL()}addDetails(e,r){let n=this.wrap("details",this.wrap("summary",e)+r);return this.addRaw(n).addEOL()}addImage(e,r,n){let{width:i,height:s}=n||{},a=Object.assign(Object.assign({},i&&{width:i}),s&&{height:s}),c=this.wrap("img",null,Object.assign({src:e,alt:r},a));return this.addRaw(c).addEOL()}addHeading(e,r){let n=`h${r}`,i=["h1","h2","h3","h4","h5","h6"].includes(n)?n:"h1",s=this.wrap(i,e);return this.addRaw(s).addEOL()}addSeparator(){let e=this.wrap("hr",null);return this.addRaw(e).addEOL()}addBreak(){let e=this.wrap("br",null);return this.addRaw(e).addEOL()}addQuote(e,r){let n=Object.assign({},r&&{cite:r}),i=this.wrap("blockquote",e,n);return this.addRaw(i).addEOL()}addLink(e,r){let n=this.wrap("a",e,{href:r});return this.addRaw(n).addEOL()}},IH=new GS;Xn.markdownSummary=IH;Xn.summary=IH});var BH=x(Hs=>{"use strict";var uEe=Hs&&Hs.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),AEe=Hs&&Hs.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),dEe=Hs&&Hs.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i{"use strict";var mEe=Ne&&Ne.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),yEe=Ne&&Ne.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),QH=Ne&&Ne.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;is.toUpperCase()===i))return t}else if(wH(r))return t}let n=t;for(let i of e){t=n+i,r=void 0;try{r=yield(0,Ne.stat)(t)}catch(s){s.code!=="ENOENT"&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${s}`)}if(r&&r.isFile()){if(Ne.IS_WINDOWS){try{let s=Ry.dirname(t),a=Ry.basename(t).toUpperCase();for(let c of yield(0,Ne.readdir)(s))if(a===c.toUpperCase()){t=Ry.join(s,c);break}}catch(s){console.log(`Unexpected error attempting to determine the actual case of the file '${t}': ${s}`)}return t}else if(wH(r))return t}}return""})}o(IEe,"tryGetExecutablePath");function BEe(t){return t=t||"",Ne.IS_WINDOWS?(t=t.replace(/\//g,"\\"),t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}o(BEe,"normalizeSeparators");function wH(t){return(t.mode&1)>0||(t.mode&8)>0&&process.getgid!==void 0&&t.gid===process.getgid()||(t.mode&64)>0&&process.getuid!==void 0&&t.uid===process.getuid()}o(wH,"isUnixExecutable");function wEe(){var t;return(t=process.env.COMSPEC)!==null&&t!==void 0?t:"cmd.exe"}o(wEe,"getCmdPath")});var hp=x(mn=>{"use strict";var QEe=mn&&mn.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),SEe=mn&&mn.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),SH=mn&&mn.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i|]/.test(t))throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows');try{yield bt.rm(t,{force:!0,maxRetries:3,recursive:!0,retryDelay:300})}catch(e){throw new Error(`File was unable to be removed ${e}`)}})}o(NH,"rmRF");function JS(t){return Bc(this,void 0,void 0,function*(){(0,NEe.ok)(t,"a path argument must be provided"),yield bt.mkdir(t,{recursive:!0})})}o(JS,"mkdirP");function vH(t,e){return Bc(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");if(e){let n=yield vH(t,!1);if(!n)throw bt.IS_WINDOWS?new Error(`Unable to locate executable file: ${t}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.`):new Error(`Unable to locate executable file: ${t}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`);return n}let r=yield RH(t);return r&&r.length>0?r[0]:""})}o(vH,"which");function RH(t){return Bc(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");let e=[];if(bt.IS_WINDOWS&&process.env.PATHEXT)for(let i of process.env.PATHEXT.split(Co.delimiter))i&&e.push(i);if(bt.isRooted(t)){let i=yield bt.tryGetExecutablePath(t,e);return i?[i]:[]}if(t.includes(Co.sep))return[];let r=[];if(process.env.PATH)for(let i of process.env.PATH.split(Co.delimiter))i&&r.push(i);let n=[];for(let i of r){let s=yield bt.tryGetExecutablePath(Co.join(i,t),e);s&&n.push(s)}return n})}o(RH,"findInPath");function PEe(t){let e=t.force==null?!0:t.force,r=!!t.recursive,n=t.copySourceDirectory==null?!0:!!t.copySourceDirectory;return{force:e,recursive:r,copySourceDirectory:n}}o(PEe,"readCopyOptions");function PH(t,e,r,n){return Bc(this,void 0,void 0,function*(){if(r>=255)return;r++,yield JS(e);let i=yield bt.readdir(t);for(let s of i){let a=`${t}/${s}`,c=`${e}/${s}`;(yield bt.lstat(a)).isDirectory()?yield PH(a,c,r,n):yield _H(a,c,n)}yield bt.chmod(e,(yield bt.stat(t)).mode)})}o(PH,"cpDirRecursive");function _H(t,e,r){return Bc(this,void 0,void 0,function*(){if((yield bt.lstat(t)).isSymbolicLink()){try{yield bt.lstat(e),yield bt.unlink(e)}catch(i){i.code==="EPERM"&&(yield bt.chmod(e,"0666"),yield bt.unlink(e))}let n=yield bt.readlink(t);yield bt.symlink(n,e,bt.IS_WINDOWS?"junction":null)}else(!(yield bt.exists(e))||r)&&(yield bt.copyFile(t,e))})}o(_H,"copyFile")});var OH=x(_i=>{"use strict";var _Ee=_i&&_i.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),DEe=_i&&_i.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),id=_i&&_i.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i-1;){let a=i.substring(0,s);n(a),i=i.substring(s+_y.EOL.length),s=i.indexOf(_y.EOL)}return i}catch(i){return this._debug(`error processing line. Failed with error ${i}`),""}}_getSpawnFileName(){return Dy&&this._isCmdFile()?process.env.COMSPEC||"cmd.exe":this.toolPath}_getSpawnArgs(e){if(Dy&&this._isCmdFile()){let r=`/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`;for(let n of this.args)r+=" ",r+=e.windowsVerbatimArguments?n:this._windowsQuoteCmdArg(n);return r+='"',[r]}return this.args}_endsWith(e,r){return e.endsWith(r)}_isCmdFile(){let e=this.toolPath.toUpperCase();return this._endsWith(e,".CMD")||this._endsWith(e,".BAT")}_windowsQuoteCmdArg(e){if(!this._isCmdFile())return this._uvQuoteCmdArg(e);if(!e)return'""';let r=[" "," ","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'],n=!1;for(let a of e)if(r.some(c=>c===a)){n=!0;break}if(!n)return e;let i='"',s=!0;for(let a=e.length;a>0;a--)i+=e[a-1],s&&e[a-1]==="\\"?i+="\\":e[a-1]==='"'?(s=!0,i+='"'):s=!1;return i+='"',i.split("").reverse().join("")}_uvQuoteCmdArg(e){if(!e)return'""';if(!e.includes(" ")&&!e.includes(" ")&&!e.includes('"'))return e;if(!e.includes('"')&&!e.includes("\\"))return`"${e}"`;let r='"',n=!0;for(let i=e.length;i>0;i--)r+=e[i-1],n&&e[i-1]==="\\"?r+="\\":e[i-1]==='"'?(n=!0,r+="\\"):n=!1;return r+='"',r.split("").reverse().join("")}_cloneExecOptions(e){e=e||{};let r={cwd:e.cwd||process.cwd(),env:e.env||process.env,silent:e.silent||!1,windowsVerbatimArguments:e.windowsVerbatimArguments||!1,failOnStdErr:e.failOnStdErr||!1,ignoreReturnCode:e.ignoreReturnCode||!1,delay:e.delay||1e4};return r.outStream=e.outStream||process.stdout,r.errStream=e.errStream||process.stderr,r}_getSpawnOptions(e,r){e=e||{};let n={};return n.cwd=e.cwd,n.env=e.env,n.windowsVerbatimArguments=e.windowsVerbatimArguments||this._isCmdFile(),e.windowsVerbatimArguments&&(n.argv0=`"${r}"`),n}exec(){return DH(this,void 0,void 0,function*(){return!kH.isRooted(this.toolPath)&&(this.toolPath.includes("/")||Dy&&this.toolPath.includes("\\"))&&(this.toolPath=TEe.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)),this.toolPath=yield OEe.which(this.toolPath,!0),new Promise((e,r)=>DH(this,void 0,void 0,function*(){this._debug(`exec tool: ${this.toolPath}`),this._debug("arguments:");for(let u of this.args)this._debug(` ${u}`);let n=this._cloneExecOptions(this.options);!n.silent&&n.outStream&&n.outStream.write(this._getCommandString(n)+_y.EOL);let i=new WS(n,this.toolPath);if(i.on("debug",u=>{this._debug(u)}),this.options.cwd&&!(yield kH.exists(this.options.cwd)))return r(new Error(`The cwd: ${this.options.cwd} does not exist!`));let s=this._getSpawnFileName(),a=kEe.spawn(s,this._getSpawnArgs(n),this._getSpawnOptions(this.options,s)),c="";a.stdout&&a.stdout.on("data",u=>{this.options.listeners&&this.options.listeners.stdout&&this.options.listeners.stdout(u),!n.silent&&n.outStream&&n.outStream.write(u),c=this._processLineBuffer(u,c,A=>{this.options.listeners&&this.options.listeners.stdline&&this.options.listeners.stdline(A)})});let l="";if(a.stderr&&a.stderr.on("data",u=>{i.processStderr=!0,this.options.listeners&&this.options.listeners.stderr&&this.options.listeners.stderr(u),!n.silent&&n.errStream&&n.outStream&&(n.failOnStdErr?n.errStream:n.outStream).write(u),l=this._processLineBuffer(u,l,A=>{this.options.listeners&&this.options.listeners.errline&&this.options.listeners.errline(A)})}),a.on("error",u=>{i.processError=u.message,i.processExited=!0,i.processClosed=!0,i.CheckComplete()}),a.on("exit",u=>{i.processExitCode=u,i.processExited=!0,this._debug(`Exit code ${u} received from tool '${this.toolPath}'`),i.CheckComplete()}),a.on("close",u=>{i.processExitCode=u,i.processExited=!0,i.processClosed=!0,this._debug(`STDIO streams have closed for tool '${this.toolPath}'`),i.CheckComplete()}),i.on("done",(u,A)=>{c.length>0&&this.emit("stdline",c),l.length>0&&this.emit("errline",l),a.removeAllListeners(),u?r(u):e(A)}),this.options.input){if(!a.stdin)throw new Error("child process missing stdin");a.stdin.end(this.options.input)}}))})}};_i.ToolRunner=VS;function LEe(t){let e=[],r=!1,n=!1,i="";function s(a){n&&a!=='"'&&(i+="\\"),i+=a,n=!1}o(s,"append");for(let a=0;a0&&(e.push(i),i="");continue}s(c)}return i.length>0&&e.push(i.trim()),e}o(LEe,"argStringToArray");var WS=class t extends TH.EventEmitter{static{o(this,"ExecState")}constructor(e,r){if(super(),this.processClosed=!1,this.processError="",this.processExitCode=0,this.processExited=!1,this.processStderr=!1,this.delay=1e4,this.done=!1,this.timeout=null,!r)throw new Error("toolPath must not be empty");this.options=e,this.toolPath=r,e.delay&&(this.delay=e.delay)}CheckComplete(){this.done||(this.processClosed?this._setResult():this.processExited&&(this.timeout=(0,MEe.setTimeout)(t.HandleTimeout,this.delay,this)))}_debug(e){this.emit("debug",e)}_setResult(){let e;this.processExited&&(this.processError?e=new Error(`There was an error when attempting to execute the process '${this.toolPath}'. This may indicate the process failed to start. Error: ${this.processError}`):this.processExitCode!==0&&!this.options.ignoreReturnCode?e=new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`):this.processStderr&&this.options.failOnStdErr&&(e=new Error(`The process '${this.toolPath}' failed because one or more lines were written to the STDERR stream`))),this.timeout&&(clearTimeout(this.timeout),this.timeout=null),this.done=!0,this.emit("done",e,this.processExitCode)}static HandleTimeout(e){if(!e.done){if(!e.processClosed&&e.processExited){let r=`The STDIO streams did not close within ${e.delay/1e3} seconds of the exit event from process '${e.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`;e._debug(r)}e._setResult()}}}});var sd=x(is=>{"use strict";var UEe=is&&is.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),FEe=is&&is.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),HEe=is&&is.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i{a+=l.write(m),A&&A(m)},"stdErrListener"),f=o(m=>{s+=c.write(m),u&&u(m)},"stdOutListener"),h=Object.assign(Object.assign({},r?.listeners),{stdout:f,stderr:d}),g=yield FH(t,e,Object.assign(Object.assign({},r),{listeners:h}));return s+=c.end(),a+=l.end(),{exitCode:g,stdout:s,stderr:a}})}o(qEe,"getExecOutput")});var qH=x(dt=>{"use strict";var zEe=dt&&dt.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),GEe=dt&&dt.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),jEe=dt&&dt.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;iTy(void 0,void 0,void 0,function*(){let{stdout:t}=yield ky.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Version"',void 0,{silent:!0}),{stdout:e}=yield ky.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Caption"',void 0,{silent:!0});return{name:e.trim(),version:t.trim()}}),"getWindowsInfo"),JEe=o(()=>Ty(void 0,void 0,void 0,function*(){var t,e,r,n;let{stdout:i}=yield ky.getExecOutput("sw_vers",void 0,{silent:!0}),s=(e=(t=i.match(/ProductVersion:\s*(.+)/))===null||t===void 0?void 0:t[1])!==null&&e!==void 0?e:"";return{name:(n=(r=i.match(/ProductName:\s*(.+)/))===null||r===void 0?void 0:r[1])!==null&&n!==void 0?n:"",version:s}}),"getMacOsInfo"),VEe=o(()=>Ty(void 0,void 0,void 0,function*(){let{stdout:t}=yield ky.getExecOutput("lsb_release",["-i","-r","-s"],{silent:!0}),[e,r]=t.trim().split(` +`);return{name:e,version:r}}),"getLinuxInfo");dt.platform=HH.default.platform();dt.arch=HH.default.arch();dt.isWindows=dt.platform==="win32";dt.isMacOS=dt.platform==="darwin";dt.isLinux=dt.platform==="linux";function WEe(){return Ty(this,void 0,void 0,function*(){return Object.assign(Object.assign({},yield dt.isWindows?KEe():dt.isMacOS?JEe():VEe()),{platform:dt.platform,arch:dt.arch,isWindows:dt.isWindows,isMacOS:dt.isMacOS,isLinux:dt.isLinux})})}o(WEe,"getDetails")});var Pt=x(je=>{"use strict";var $Ee=je&&je.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),XEe=je&&je.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),XS=je&&je.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;in!=="");return e&&e.trimWhitespace===!1?r:r.map(n=>n.trim())}o(ibe,"getMultilineInput");function sbe(t,e){let r=["true","True","TRUE"],n=["false","False","FALSE"],i=ZS(t,e);if(r.includes(i))return!0;if(n.includes(i))return!1;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${t} +Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}o(sbe,"getBooleanInput");function obe(t,e){if(process.env.GITHUB_OUTPUT||"")return(0,$l.issueFileCommand)("OUTPUT",(0,$l.prepareKeyValueMessage)(t,e));process.stdout.write(GH.EOL),(0,ss.issueCommand)("set-output",{name:t},(0,od.toCommandValue)(e))}o(obe,"setOutput");function abe(t){(0,ss.issue)("echo",t?"on":"off")}o(abe,"setCommandEcho");function cbe(t){process.exitCode=$S.Failure,jH(t)}o(cbe,"setFailed");function lbe(){return process.env.RUNNER_DEBUG==="1"}o(lbe,"isDebug");function ube(t){(0,ss.issueCommand)("debug",{},t)}o(ube,"debug");function jH(t,e={}){(0,ss.issueCommand)("error",(0,od.toCommandProperties)(e),t instanceof Error?t.toString():t)}o(jH,"error");function Abe(t,e={}){(0,ss.issueCommand)("warning",(0,od.toCommandProperties)(e),t instanceof Error?t.toString():t)}o(Abe,"warning");function dbe(t,e={}){(0,ss.issueCommand)("notice",(0,od.toCommandProperties)(e),t instanceof Error?t.toString():t)}o(dbe,"notice");function fbe(t){process.stdout.write(t+GH.EOL)}o(fbe,"info");function YH(t){(0,ss.issue)("group",t)}o(YH,"startGroup");function KH(){(0,ss.issue)("endgroup")}o(KH,"endGroup");function hbe(t,e){return zH(this,void 0,void 0,function*(){YH(t);let r;try{r=yield e()}finally{KH()}return r})}o(hbe,"group");function pbe(t,e){if(process.env.GITHUB_STATE||"")return(0,$l.issueFileCommand)("STATE",(0,$l.prepareKeyValueMessage)(t,e));(0,ss.issueCommand)("save-state",{name:t},(0,od.toCommandValue)(e))}o(pbe,"saveState");function gbe(t){return process.env[`STATE_${t}`]||""}o(gbe,"getState");function mbe(t){return zH(this,void 0,void 0,function*(){return yield ebe.OidcClient.getIDToken(t)})}o(mbe,"getIDToken");var ybe=jS();Object.defineProperty(je,"summary",{enumerable:!0,get:o(function(){return ybe.summary},"get")});var Ebe=jS();Object.defineProperty(je,"markdownSummary",{enumerable:!0,get:o(function(){return Ebe.markdownSummary},"get")});var eN=BH();Object.defineProperty(je,"toPosixPath",{enumerable:!0,get:o(function(){return eN.toPosixPath},"get")});Object.defineProperty(je,"toWin32Path",{enumerable:!0,get:o(function(){return eN.toWin32Path},"get")});Object.defineProperty(je,"toPlatformPath",{enumerable:!0,get:o(function(){return eN.toPlatformPath},"get")});je.platform=XS(qH())});var JH=x(ba=>{"use strict";var bbe=ba&&ba.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Cbe=ba&&ba.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),xbe=ba&&ba.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i{"use strict";var Bbe=yn&&yn.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),wbe=yn&&yn.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),Qbe=yn&&yn.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i{"use strict";Object.defineProperty(Ly,"__esModule",{value:!0});Ly.MatchKind=void 0;var VH;(function(t){t[t.None=0]="None",t[t.Directory=1]="Directory",t[t.File=2]="File",t[t.All=3]="All"})(VH||(Ly.MatchKind=VH={}))});var XH=x(qs=>{"use strict";var Pbe=qs&&qs.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),_be=qs&&qs.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),Dbe=qs&&qs.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i!n.negate);let e={};for(let n of t){let i=$H?n.searchPath.toUpperCase():n.searchPath;e[i]="candidate"}let r=[];for(let n of t){let i=$H?n.searchPath.toUpperCase():n.searchPath;if(e[i]==="included")continue;let s=!1,a=i,c=WH.dirname(a);for(;c!==a;){if(e[c]){s=!0;break}a=c,c=WH.dirname(a)}s||(r.push(n.searchPath),e[i]="included")}return r}o(Tbe,"getSearchPaths");function Obe(t,e){let r=kbe.MatchKind.None;for(let n of t)n.negate?r&=~n.match(e):r|=n.match(e);return r}o(Obe,"match");function Mbe(t,e){return t.some(r=>!r.negate&&r.partialMatch(e))}o(Mbe,"partialMatch")});var eq=x((krt,ZH)=>{ZH.exports=function(t,e){for(var r=[],n=0;n{"use strict";iq.exports=rq;function rq(t,e,r){t instanceof RegExp&&(t=tq(t,r)),e instanceof RegExp&&(e=tq(e,r));var n=nq(t,e,r);return n&&{start:n[0],end:n[1],pre:r.slice(0,n[0]),body:r.slice(n[0]+t.length,n[1]),post:r.slice(n[1]+e.length)}}o(rq,"balanced");function tq(t,e){var r=e.match(t);return r?r[0]:null}o(tq,"maybeMatch");rq.range=nq;function nq(t,e,r){var n,i,s,a,c,l=r.indexOf(t),u=r.indexOf(e,l+1),A=l;if(l>=0&&u>0){if(t===e)return[l,u];for(n=[],s=r.length;A>=0&&!c;)A==l?(n.push(A),l=r.indexOf(t,A+1)):n.length==1?c=[n.pop(),u]:(i=n.pop(),i=0?l:u;n.length&&(c=[s,a])}return c}o(nq,"range")});var fq=x((Mrt,dq)=>{var Ube=eq(),oq=sq();dq.exports=qbe;var aq="\0SLASH"+Math.random()+"\0",cq="\0OPEN"+Math.random()+"\0",iN="\0CLOSE"+Math.random()+"\0",lq="\0COMMA"+Math.random()+"\0",uq="\0PERIOD"+Math.random()+"\0";function nN(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}o(nN,"numeric");function Fbe(t){return t.split("\\\\").join(aq).split("\\{").join(cq).split("\\}").join(iN).split("\\,").join(lq).split("\\.").join(uq)}o(Fbe,"escapeBraces");function Hbe(t){return t.split(aq).join("\\").split(cq).join("{").split(iN).join("}").split(lq).join(",").split(uq).join(".")}o(Hbe,"unescapeBraces");function Aq(t){if(!t)return[""];var e=[],r=oq("{","}",t);if(!r)return t.split(",");var n=r.pre,i=r.body,s=r.post,a=n.split(",");a[a.length-1]+="{"+i+"}";var c=Aq(s);return s.length&&(a[a.length-1]+=c.shift(),a.push.apply(a,c)),e.push.apply(e,a),e}o(Aq,"parseCommaParts");function qbe(t){return t?(t.substr(0,2)==="{}"&&(t="\\{\\}"+t.substr(2)),ad(Fbe(t),!0).map(Hbe)):[]}o(qbe,"expandTop");function zbe(t){return"{"+t+"}"}o(zbe,"embrace");function Gbe(t){return/^-?0\d/.test(t)}o(Gbe,"isPadded");function jbe(t,e){return t<=e}o(jbe,"lte");function Ybe(t,e){return t>=e}o(Ybe,"gte");function ad(t,e){var r=[],n=oq("{","}",t);if(!n||/\$$/.test(n.pre))return[t];var i=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(n.body),s=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(n.body),a=i||s,c=n.body.indexOf(",")>=0;if(!a&&!c)return n.post.match(/,(?!,).*\}/)?(t=n.pre+"{"+n.body+iN+n.post,ad(t)):[t];var l;if(a)l=n.body.split(/\.\./);else if(l=Aq(n.body),l.length===1&&(l=ad(l[0],!1).map(zbe),l.length===1)){var A=n.post.length?ad(n.post,!1):[""];return A.map(function(L){return n.pre+l[0]+L})}var u=n.pre,A=n.post.length?ad(n.post,!1):[""],d;if(a){var f=nN(l[0]),h=nN(l[1]),g=Math.max(l[0].length,l[1].length),m=l.length==3?Math.abs(nN(l[2])):1,b=jbe,y=h0){var H=new Array(U+1).join("0");w<0?v="-"+H+v.slice(1):v=H+v}}d.push(v)}}else d=Ube(l,function(T){return ad(T,!1)});for(var J=0;J{yq.exports=Di;Di.Minimatch=vr;var mp=(function(){try{return require("path")}catch{}})()||{sep:"/"};Di.sep=mp.sep;var Zl=Di.GLOBSTAR=vr.GLOBSTAR={},Kbe=fq(),hq={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},sN="[^/]",oN=sN+"*?",Jbe="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",Vbe="(?:(?!(?:\\/|^)\\.).)*?",pq=Wbe("().*{}+?[]^$\\!");function Wbe(t){return t.split("").reduce(function(e,r){return e[r]=!0,e},{})}o(Wbe,"charSet");var gq=/\/+/;Di.filter=$be;function $be(t,e){return e=e||{},function(r,n,i){return Di(r,t,e)}}o($be,"filter");function Qc(t,e){e=e||{};var r={};return Object.keys(t).forEach(function(n){r[n]=t[n]}),Object.keys(e).forEach(function(n){r[n]=e[n]}),r}o(Qc,"ext");Di.defaults=function(t){if(!t||typeof t!="object"||!Object.keys(t).length)return Di;var e=Di,r=o(function(i,s,a){return e(i,s,Qc(t,a))},"minimatch");return r.Minimatch=o(function(i,s){return new e.Minimatch(i,Qc(t,s))},"Minimatch"),r.Minimatch.defaults=o(function(i){return e.defaults(Qc(t,i)).Minimatch},"defaults"),r.filter=o(function(i,s){return e.filter(i,Qc(t,s))},"filter"),r.defaults=o(function(i){return e.defaults(Qc(t,i))},"defaults"),r.makeRe=o(function(i,s){return e.makeRe(i,Qc(t,s))},"makeRe"),r.braceExpand=o(function(i,s){return e.braceExpand(i,Qc(t,s))},"braceExpand"),r.match=function(n,i,s){return e.match(n,i,Qc(t,s))},r};vr.defaults=function(t){return Di.defaults(t).Minimatch};function Di(t,e,r){return Hy(e),r||(r={}),!r.nocomment&&e.charAt(0)==="#"?!1:new vr(e,r).match(t)}o(Di,"minimatch");function vr(t,e){if(!(this instanceof vr))return new vr(t,e);Hy(t),e||(e={}),t=t.trim(),!e.allowWindowsEscape&&mp.sep!=="/"&&(t=t.split(mp.sep).join("/")),this.options=e,this.maxGlobstarRecursion=e.maxGlobstarRecursion!==void 0?e.maxGlobstarRecursion:200,this.set=[],this.pattern=t,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!e.partial,this.make()}o(vr,"Minimatch");vr.prototype.debug=function(){};vr.prototype.make=Xbe;function Xbe(){var t=this.pattern,e=this.options;if(!e.nocomment&&t.charAt(0)==="#"){this.comment=!0;return}if(!t){this.empty=!0;return}this.parseNegate();var r=this.globSet=this.braceExpand();e.debug&&(this.debug=o(function(){console.error.apply(console,arguments)},"debug")),this.debug(this.pattern,r),r=this.globParts=r.map(function(n){return n.split(gq)}),this.debug(this.pattern,r),r=r.map(function(n,i,s){return n.map(this.parse,this)},this),this.debug(this.pattern,r),r=r.filter(function(n){return n.indexOf(!1)===-1}),this.debug(this.pattern,r),this.set=r}o(Xbe,"make");vr.prototype.parseNegate=Zbe;function Zbe(){var t=this.pattern,e=!1,r=this.options,n=0;if(!r.nonegate){for(var i=0,s=t.length;i"u"?this.pattern:t,Hy(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:Kbe(t)}o(mq,"braceExpand");var eCe=1024*64,Hy=o(function(t){if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>eCe)throw new TypeError("pattern is too long")},"assertValidPattern");vr.prototype.parse=tCe;var Fy={};function tCe(t,e){Hy(t);var r=this.options;if(t==="**")if(r.noglobstar)t="*";else return Zl;if(t==="")return"";var n="",i=!!r.nocase,s=!1,a=[],c=[],l,u=!1,A=-1,d=-1,f=t.charAt(0)==="."?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",h=this;function g(){if(l){switch(l){case"*":n+=oN,i=!0;break;case"?":n+=sN,i=!0;break;default:n+="\\"+l;break}h.debug("clearStateChar %j %j",l,n),l=!1}}o(g,"clearStateChar");for(var m=0,b=t.length,y;m-1;q--){var D=c[q],T=n.slice(0,D.reStart),L=n.slice(D.reStart,D.reEnd-8),z=n.slice(D.reEnd-8,D.reEnd),_=n.slice(D.reEnd);z+=_;var k=T.split("(").length-1,F=_;for(m=0;m"u"&&(r=this.partial),this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return e==="";if(e==="/"&&r)return!0;var n=this.options;mp.sep!=="/"&&(e=e.split(mp.sep).join("/")),e=e.split(gq),this.debug(this.pattern,"split",e);var i=this.set;this.debug(this.pattern,"set",i);var s,a;for(a=e.length-1;a>=0&&(s=e[a],!s);a--);for(a=0;a=0;s--)if(e[s]===Zl){c=s;break}var l=e.slice(i,a),u=r?e.slice(a+1):e.slice(a+1,c),A=r?[]:e.slice(c+1);if(l.length){var d=t.slice(n,n+l.length);if(!this._matchOne(d,l,r,0,0))return!1;n+=l.length}var f=0;if(A.length){if(A.length+n>t.length)return!1;var h=t.length-A.length;if(this._matchOne(t,A,r,h,0))f=A.length;else{if(t[t.length-1]!==""||n+A.length===t.length||(h--,!this._matchOne(t,A,r,h,0)))return!1;f=A.length+1}}if(!u.length){var g=!!f;for(s=n;s{"use strict";var sCe=os&&os.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),oCe=os&&os.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),bq=os&&os.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i0,"Parameter 'itemPath' must not be an empty array");for(let r=0;r{"use strict";var lCe=as&&as.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),uCe=as&&as.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),uN=as&&as.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;it.getLiteral(u)).filter(u=>!a&&!(a=u===""));this.searchPath=new qy.Path(c).toString(),this.rootRegExp=new RegExp(t.regExpEscape(c[0]),Ca?"i":""),this.isImplicitPattern=r;let l={dot:!0,nobrace:!0,nocase:Ca,nocomment:!0,noext:!0,nonegate:!0};s=Ca?s.replace(/\\/g,"/"):s,this.minimatch=new fCe.Minimatch(s,l)}match(e){return this.segments[this.segments.length-1]==="**"?(e=Zn.normalizeSeparators(e),!e.endsWith(bp.sep)&&this.isImplicitPattern===!1&&(e=`${e}${bp.sep}`)):e=Zn.safeTrimTrailingSeparator(e),this.minimatch.match(e)?this.trailingSeparator?cN.MatchKind.Directory:cN.MatchKind.All:cN.MatchKind.None}partialMatch(e){return e=Zn.safeTrimTrailingSeparator(e),Zn.dirname(e)===e?this.rootRegExp.test(e):this.minimatch.matchOne(e.split(Ca?/\\+/:/\/+/),this.minimatch.set[0],!0)}static globEscape(e){return(Ca?e:e.replace(/\\/g,"\\\\")).replace(/(\[)(?=[^/]+\])/g,"[[]").replace(/\?/g,"[?]").replace(/\*/g,"[*]")}static fixupPattern(e,r){(0,eu.default)(e,"pattern cannot be empty");let n=new qy.Path(e).segments.map(i=>t.getLiteral(i));if((0,eu.default)(n.every((i,s)=>(i!=="."||s===0)&&i!==".."),`Invalid pattern '${e}'. Relative pathing '.' and '..' is not allowed.`),(0,eu.default)(!Zn.hasRoot(e)||n[0],`Invalid pattern '${e}'. Root segment must not contain globs.`),e=Zn.normalizeSeparators(e),e==="."||e.startsWith(`.${bp.sep}`))e=t.globEscape(process.cwd())+e.substr(1);else if(e==="~"||e.startsWith(`~${bp.sep}`))r=r||dCe.homedir(),(0,eu.default)(r,"Unable to determine HOME directory"),(0,eu.default)(Zn.hasAbsoluteRoot(r),`Expected HOME directory to be a rooted path. Actual '${r}'`),e=t.globEscape(r)+e.substr(1);else if(Ca&&(e.match(/^[A-Z]:$/i)||e.match(/^[A-Z]:[^\\]/i))){let i=Zn.ensureAbsoluteRoot("C:\\dummy-root",e.substr(0,2));e.length>2&&!i.endsWith("\\")&&(i+="\\"),e=t.globEscape(i)+e.substr(2)}else if(Ca&&(e==="\\"||e.match(/^\\[^\\]/))){let i=Zn.ensureAbsoluteRoot("C:\\dummy-root","\\");i.endsWith("\\")||(i+="\\"),e=t.globEscape(i)+e.substr(1)}else e=Zn.ensureAbsoluteRoot(t.globEscape(process.cwd()),e);return Zn.normalizeSeparators(e)}static getLiteral(e){let r="";for(let n=0;n=0){if(s.length>1)return"";if(s){r+=s,n=a;continue}}}}r+=i}return r}static regExpEscape(e){return e.replace(/[[\\^$.|?*+()]/g,"\\$&")}};as.Pattern=lN});var Iq=x(zy=>{"use strict";Object.defineProperty(zy,"__esModule",{value:!0});zy.SearchState=void 0;var AN=class{static{o(this,"SearchState")}constructor(e,r){this.path=e,this.level=r}};zy.SearchState=AN});var vq=x(Jr=>{"use strict";var hCe=Jr&&Jr.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),pCe=Jr&&Jr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),xp=Jr&&Jr.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i1||l(h,m)})},g&&(i[h]=g(i[h])))}function l(h,g){try{u(n[h](g))}catch(m){f(s[0][3],m)}}function u(h){h.value instanceof Nc?Promise.resolve(h.value.v).then(A,d):f(s[0][2],h)}function A(h){l("next",h)}function d(h){l("throw",h)}function f(h,g){h(g),s.shift(),s.length&&l(s[0][0],s[0][1])}};Object.defineProperty(Jr,"__esModule",{value:!0});Jr.DefaultGlobber=void 0;var fN=xp(Pt()),Cp=xp(require("fs")),Bq=xp(JH()),wq=xp(require("path")),Gy=xp(XH()),Qq=Uy(),Sq=xq(),Nq=Iq(),yCe=process.platform==="win32",hN=class t{static{o(this,"DefaultGlobber")}constructor(e){this.patterns=[],this.searchPaths=[],this.options=Bq.getOptions(e)}getSearchPaths(){return this.searchPaths.slice()}glob(){return dN(this,void 0,void 0,function*(){var e,r,n,i;let s=[];try{for(var a=!0,c=gCe(this.globGenerator()),l;l=yield c.next(),e=l.done,!e;a=!0){i=l.value,a=!1;let u=i;s.push(u)}}catch(u){r={error:u}}finally{try{!a&&!e&&(n=c.return)&&(yield n.call(c))}finally{if(r)throw r.error}}return s})}globGenerator(){return mCe(this,arguments,o(function*(){let r=Bq.getOptions(this.options),n=[];for(let a of this.patterns)n.push(a),r.implicitDescendants&&(a.trailingSeparator||a.segments[a.segments.length-1]!=="**")&&n.push(new Sq.Pattern(a.negate,!0,a.segments.concat("**")));let i=[];for(let a of Gy.getSearchPaths(n)){fN.debug(`Search path '${a}'`);try{yield Nc(Cp.promises.lstat(a))}catch(c){if(c.code==="ENOENT")continue;throw c}i.unshift(new Nq.SearchState(a,1))}let s=[];for(;i.length;){let a=i.pop(),c=Gy.match(n,a.path),l=!!c||Gy.partialMatch(n,a.path);if(!c&&!l)continue;let u=yield Nc(t.stat(a,r,s));if(u&&!(r.excludeHiddenFiles&&wq.basename(a.path).match(/^\./)))if(u.isDirectory()){if(c&Qq.MatchKind.Directory&&r.matchDirectories)yield yield Nc(a.path);else if(!l)continue;let A=a.level+1,d=(yield Nc(Cp.promises.readdir(a.path))).map(f=>new Nq.SearchState(wq.join(a.path,f),A));i.push(...d.reverse())}else c&Qq.MatchKind.File&&(yield yield Nc(a.path))}},"globGenerator_1"))}static create(e,r){return dN(this,void 0,void 0,function*(){let n=new t(r);yCe&&(e=e.replace(/\r\n/g,` `),e=e.replace(/\r/g,` `));let i=e.split(` -`).map(s=>s.trim());for(let s of i)!s||s.startsWith("#")||n.patterns.push(new YF.Pattern(s));return n.searchPaths.push(...Kh.getSearchPaths(n.patterns)),n})}static stat(e,r,n){return Mb(this,void 0,void 0,function*(){let i;if(r.followSymbolicLinks)try{i=yield hu.promises.stat(e.path)}catch(s){if(s.code==="ENOENT"){if(r.omitBrokenSymbolicLinks){kb.debug(`Broken symlink '${e.path}'`);return}throw new Error(`No information found for the path '${e.path}'. This may indicate a broken symbolic link.`)}throw s}else i=yield hu.promises.lstat(e.path);if(i.isDirectory()&&r.followSymbolicLinks){let s=yield hu.promises.realpath(e.path);for(;n.length>=e.level;)n.pop();if(n.some(a=>a===s)){kb.debug(`Symlink cycle detected for path '${e.path}' and realpath '${s}'`);return}n.push(s)}return i})}};Ht.DefaultGlobber=Lb});var XF=g($r=>{"use strict";var pue=$r&&$r.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),hue=$r&&$r.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),Rc=$r&&$r.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i{"use strict";var ZF=_c&&_c.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(_c,"__esModule",{value:!0});_c.create=eq;_c.hashFiles=bue;var Bue=VF(),Iue=XF();function eq(t,e){return ZF(this,void 0,void 0,function*(){return yield Bue.DefaultGlobber.create(t,e)})}o(eq,"create");function bue(t){return ZF(this,arguments,void 0,function*(e,r="",n,i=!1){let s=!0;n&&typeof n.followSymbolicLinks=="boolean"&&(s=n.followSymbolicLinks);let a=yield eq(e,{followSymbolicLinks:s});return(0,Iue.hashFiles)(a,r,i)})}o(bue,"hashFiles")});var rf=g((ue,oq)=>{ue=oq.exports=Ce;var Ue;typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?Ue=o(function(){var t=Array.prototype.slice.call(arguments,0);t.unshift("SEMVER"),console.log.apply(console,t)},"debug"):Ue=o(function(){},"debug");ue.SEMVER_SPEC_VERSION="2.0.0";var mu=256,Xh=Number.MAX_SAFE_INTEGER||9007199254740991,Ub=16,Que=mu-6,vc=ue.re=[],Le=ue.safeRe=[],U=ue.src=[],O=ue.tokens={},iq=0;function Be(t){O[t]=iq++}o(Be,"tok");var qb="[a-zA-Z0-9-]",Fb=[["\\s",1],["\\d",mu],[qb,Que]];function yu(t){for(var e=0;e)?=?)";Be("XRANGEIDENTIFIERLOOSE");U[O.XRANGEIDENTIFIERLOOSE]=U[O.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*";Be("XRANGEIDENTIFIER");U[O.XRANGEIDENTIFIER]=U[O.NUMERICIDENTIFIER]+"|x|X|\\*";Be("XRANGEPLAIN");U[O.XRANGEPLAIN]="[v=\\s]*("+U[O.XRANGEIDENTIFIER]+")(?:\\.("+U[O.XRANGEIDENTIFIER]+")(?:\\.("+U[O.XRANGEIDENTIFIER]+")(?:"+U[O.PRERELEASE]+")?"+U[O.BUILD]+"?)?)?";Be("XRANGEPLAINLOOSE");U[O.XRANGEPLAINLOOSE]="[v=\\s]*("+U[O.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+U[O.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+U[O.XRANGEIDENTIFIERLOOSE]+")(?:"+U[O.PRERELEASELOOSE]+")?"+U[O.BUILD]+"?)?)?";Be("XRANGE");U[O.XRANGE]="^"+U[O.GTLT]+"\\s*"+U[O.XRANGEPLAIN]+"$";Be("XRANGELOOSE");U[O.XRANGELOOSE]="^"+U[O.GTLT]+"\\s*"+U[O.XRANGEPLAINLOOSE]+"$";Be("COERCE");U[O.COERCE]="(^|[^\\d])(\\d{1,"+Ub+"})(?:\\.(\\d{1,"+Ub+"}))?(?:\\.(\\d{1,"+Ub+"}))?(?:$|[^\\d])";Be("COERCERTL");vc[O.COERCERTL]=new RegExp(U[O.COERCE],"g");Le[O.COERCERTL]=new RegExp(yu(U[O.COERCE]),"g");Be("LONETILDE");U[O.LONETILDE]="(?:~>?)";Be("TILDETRIM");U[O.TILDETRIM]="(\\s*)"+U[O.LONETILDE]+"\\s+";vc[O.TILDETRIM]=new RegExp(U[O.TILDETRIM],"g");Le[O.TILDETRIM]=new RegExp(yu(U[O.TILDETRIM]),"g");var wue="$1~";Be("TILDE");U[O.TILDE]="^"+U[O.LONETILDE]+U[O.XRANGEPLAIN]+"$";Be("TILDELOOSE");U[O.TILDELOOSE]="^"+U[O.LONETILDE]+U[O.XRANGEPLAINLOOSE]+"$";Be("LONECARET");U[O.LONECARET]="(?:\\^)";Be("CARETTRIM");U[O.CARETTRIM]="(\\s*)"+U[O.LONECARET]+"\\s+";vc[O.CARETTRIM]=new RegExp(U[O.CARETTRIM],"g");Le[O.CARETTRIM]=new RegExp(yu(U[O.CARETTRIM]),"g");var Nue="$1^";Be("CARET");U[O.CARET]="^"+U[O.LONECARET]+U[O.XRANGEPLAIN]+"$";Be("CARETLOOSE");U[O.CARETLOOSE]="^"+U[O.LONECARET]+U[O.XRANGEPLAINLOOSE]+"$";Be("COMPARATORLOOSE");U[O.COMPARATORLOOSE]="^"+U[O.GTLT]+"\\s*("+U[O.LOOSEPLAIN]+")$|^$";Be("COMPARATOR");U[O.COMPARATOR]="^"+U[O.GTLT]+"\\s*("+U[O.FULLPLAIN]+")$|^$";Be("COMPARATORTRIM");U[O.COMPARATORTRIM]="(\\s*)"+U[O.GTLT]+"\\s*("+U[O.LOOSEPLAIN]+"|"+U[O.XRANGEPLAIN]+")";vc[O.COMPARATORTRIM]=new RegExp(U[O.COMPARATORTRIM],"g");Le[O.COMPARATORTRIM]=new RegExp(yu(U[O.COMPARATORTRIM]),"g");var xue="$1$2$3";Be("HYPHENRANGE");U[O.HYPHENRANGE]="^\\s*("+U[O.XRANGEPLAIN]+")\\s+-\\s+("+U[O.XRANGEPLAIN]+")\\s*$";Be("HYPHENRANGELOOSE");U[O.HYPHENRANGELOOSE]="^\\s*("+U[O.XRANGEPLAINLOOSE]+")\\s+-\\s+("+U[O.XRANGEPLAINLOOSE]+")\\s*$";Be("STAR");U[O.STAR]="(<|>)?=?\\s*\\*";for(Qi=0;Qimu)return null;var r=e.loose?Le[O.LOOSE]:Le[O.FULL];if(!r.test(t))return null;try{return new Ce(t,e)}catch{return null}}o(Vo,"parse");ue.valid=Sue;function Sue(t,e){var r=Vo(t,e);return r?r.version:null}o(Sue,"valid");ue.clean=Rue;function Rue(t,e){var r=Vo(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null}o(Rue,"clean");ue.SemVer=Ce;function Ce(t,e){if((!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1}),t instanceof Ce){if(t.loose===e.loose)return t;t=t.version}else if(typeof t!="string")throw new TypeError("Invalid Version: "+t);if(t.length>mu)throw new TypeError("version is longer than "+mu+" characters");if(!(this instanceof Ce))return new Ce(t,e);Ue("SemVer",t,e),this.options=e,this.loose=!!e.loose;var r=t.trim().match(e.loose?Le[O.LOOSE]:Le[O.FULL]);if(!r)throw new TypeError("Invalid Version: "+t);if(this.raw=t,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>Xh||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Xh||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Xh||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(function(n){if(/^[0-9]+$/.test(n)){var i=+n;if(i>=0&&i=0;)typeof this.prerelease[r]=="number"&&(this.prerelease[r]++,r=-2);r===-1&&this.prerelease.push(0)}e&&(this.prerelease[0]===e?isNaN(this.prerelease[1])&&(this.prerelease=[e,0]):this.prerelease=[e,0]);break;default:throw new Error("invalid increment argument: "+t)}return this.format(),this.raw=this.version,this};ue.inc=_ue;function _ue(t,e,r,n){typeof r=="string"&&(n=r,r=void 0);try{return new Ce(t,r).inc(e,n).version}catch{return null}}o(_ue,"inc");ue.diff=vue;function vue(t,e){if(Hb(t,e))return null;var r=Vo(t),n=Vo(e),i="";if(r.prerelease.length||n.prerelease.length){i="pre";var s="prerelease"}for(var a in r)if((a==="major"||a==="minor"||a==="patch")&&r[a]!==n[a])return i+a;return s}o(vue,"diff");ue.compareIdentifiers=Jo;var rq=/^[0-9]+$/;function Jo(t,e){var r=rq.test(t),n=rq.test(e);return r&&n&&(t=+t,e=+e),t===e?0:r&&!n?-1:n&&!r?1:t0}o(gu,"gt");ue.lt=Zh;function Zh(t,e,r){return us(t,e,r)<0}o(Zh,"lt");ue.eq=Hb;function Hb(t,e,r){return us(t,e,r)===0}o(Hb,"eq");ue.neq=sq;function sq(t,e,r){return us(t,e,r)!==0}o(sq,"neq");ue.gte=zb;function zb(t,e,r){return us(t,e,r)>=0}o(zb,"gte");ue.lte=jb;function jb(t,e,r){return us(t,e,r)<=0}o(jb,"lte");ue.cmp=ef;function ef(t,e,r,n){switch(e){case"===":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t===r;case"!==":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t!==r;case"":case"=":case"==":return Hb(t,r,n);case"!=":return sq(t,r,n);case">":return gu(t,r,n);case">=":return zb(t,r,n);case"<":return Zh(t,r,n);case"<=":return jb(t,r,n);default:throw new TypeError("Invalid operator: "+e)}}o(ef,"cmp");ue.Comparator=wn;function wn(t,e){if((!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1}),t instanceof wn){if(t.loose===!!e.loose)return t;t=t.value}if(!(this instanceof wn))return new wn(t,e);t=t.trim().split(/\s+/).join(" "),Ue("comparator",t,e),this.options=e,this.loose=!!e.loose,this.parse(t),this.semver===Pc?this.value="":this.value=this.operator+this.semver.version,Ue("comp",this)}o(wn,"Comparator");var Pc={};wn.prototype.parse=function(t){var e=this.options.loose?Le[O.COMPARATORLOOSE]:Le[O.COMPARATOR],r=t.match(e);if(!r)throw new TypeError("Invalid comparator: "+t);this.operator=r[1]!==void 0?r[1]:"",this.operator==="="&&(this.operator=""),r[2]?this.semver=new Ce(r[2],this.options.loose):this.semver=Pc};wn.prototype.toString=function(){return this.value};wn.prototype.test=function(t){if(Ue("Comparator.test",t,this.options.loose),this.semver===Pc||t===Pc)return!0;if(typeof t=="string")try{t=new Ce(t,this.options)}catch{return!1}return ef(t,this.operator,this.semver,this.options)};wn.prototype.intersects=function(t,e){if(!(t instanceof wn))throw new TypeError("a Comparator is required");(!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1});var r;if(this.operator==="")return this.value===""?!0:(r=new dt(t.value,e),tf(this.value,r,e));if(t.operator==="")return t.value===""?!0:(r=new dt(this.value,e),tf(t.semver,r,e));var n=(this.operator===">="||this.operator===">")&&(t.operator===">="||t.operator===">"),i=(this.operator==="<="||this.operator==="<")&&(t.operator==="<="||t.operator==="<"),s=this.semver.version===t.semver.version,a=(this.operator===">="||this.operator==="<=")&&(t.operator===">="||t.operator==="<="),c=ef(this.semver,"<",t.semver,e)&&(this.operator===">="||this.operator===">")&&(t.operator==="<="||t.operator==="<"),l=ef(this.semver,">",t.semver,e)&&(this.operator==="<="||this.operator==="<")&&(t.operator===">="||t.operator===">");return n||i||s&&a||c||l};ue.Range=dt;function dt(t,e){if((!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1}),t instanceof dt)return t.loose===!!e.loose&&t.includePrerelease===!!e.includePrerelease?t:new dt(t.raw,e);if(t instanceof wn)return new dt(t.value,e);if(!(this instanceof dt))return new dt(t,e);if(this.options=e,this.loose=!!e.loose,this.includePrerelease=!!e.includePrerelease,this.raw=t.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(function(r){return this.parseRange(r.trim())},this).filter(function(r){return r.length}),!this.set.length)throw new TypeError("Invalid SemVer Range: "+this.raw);this.format()}o(dt,"Range");dt.prototype.format=function(){return this.range=this.set.map(function(t){return t.join(" ").trim()}).join("||").trim(),this.range};dt.prototype.toString=function(){return this.range};dt.prototype.parseRange=function(t){var e=this.options.loose,r=e?Le[O.HYPHENRANGELOOSE]:Le[O.HYPHENRANGE];t=t.replace(r,$ue),Ue("hyphen replace",t),t=t.replace(Le[O.COMPARATORTRIM],xue),Ue("comparator trim",t,Le[O.COMPARATORTRIM]),t=t.replace(Le[O.TILDETRIM],wue),t=t.replace(Le[O.CARETTRIM],Nue),t=t.split(/\s+/).join(" ");var n=e?Le[O.COMPARATORLOOSE]:Le[O.COMPARATOR],i=t.split(" ").map(function(s){return Hue(s,this.options)},this).join(" ").split(/\s+/);return this.options.loose&&(i=i.filter(function(s){return!!s.match(n)})),i=i.map(function(s){return new wn(s,this.options)},this),i};dt.prototype.intersects=function(t,e){if(!(t instanceof dt))throw new TypeError("a Range is required");return this.set.some(function(r){return nq(r,e)&&t.set.some(function(n){return nq(n,e)&&r.every(function(i){return n.every(function(s){return i.intersects(s,e)})})})})};function nq(t,e){for(var r=!0,n=t.slice(),i=n.pop();r&&n.length;)r=n.every(function(s){return i.intersects(s,e)}),i=n.pop();return r}o(nq,"isSatisfiable");ue.toComparators=que;function que(t,e){return new dt(t,e).set.map(function(r){return r.map(function(n){return n.value}).join(" ").trim().split(" ")})}o(que,"toComparators");function Hue(t,e){return Ue("comp",t,e),t=Gue(t,e),Ue("caret",t),t=zue(t,e),Ue("tildes",t),t=Jue(t,e),Ue("xrange",t),t=Wue(t,e),Ue("stars",t),t}o(Hue,"parseComparator");function fr(t){return!t||t.toLowerCase()==="x"||t==="*"}o(fr,"isX");function zue(t,e){return t.trim().split(/\s+/).map(function(r){return jue(r,e)}).join(" ")}o(zue,"replaceTildes");function jue(t,e){var r=e.loose?Le[O.TILDELOOSE]:Le[O.TILDE];return t.replace(r,function(n,i,s,a,c){Ue("tilde",t,n,i,s,a,c);var l;return fr(i)?l="":fr(s)?l=">="+i+".0.0 <"+(+i+1)+".0.0":fr(a)?l=">="+i+"."+s+".0 <"+i+"."+(+s+1)+".0":c?(Ue("replaceTilde pr",c),l=">="+i+"."+s+"."+a+"-"+c+" <"+i+"."+(+s+1)+".0"):l=">="+i+"."+s+"."+a+" <"+i+"."+(+s+1)+".0",Ue("tilde return",l),l})}o(jue,"replaceTilde");function Gue(t,e){return t.trim().split(/\s+/).map(function(r){return Yue(r,e)}).join(" ")}o(Gue,"replaceCarets");function Yue(t,e){Ue("caret",t,e);var r=e.loose?Le[O.CARETLOOSE]:Le[O.CARET];return t.replace(r,function(n,i,s,a,c){Ue("caret",t,n,i,s,a,c);var l;return fr(i)?l="":fr(s)?l=">="+i+".0.0 <"+(+i+1)+".0.0":fr(a)?i==="0"?l=">="+i+"."+s+".0 <"+i+"."+(+s+1)+".0":l=">="+i+"."+s+".0 <"+(+i+1)+".0.0":c?(Ue("replaceCaret pr",c),i==="0"?s==="0"?l=">="+i+"."+s+"."+a+"-"+c+" <"+i+"."+s+"."+(+a+1):l=">="+i+"."+s+"."+a+"-"+c+" <"+i+"."+(+s+1)+".0":l=">="+i+"."+s+"."+a+"-"+c+" <"+(+i+1)+".0.0"):(Ue("no pr"),i==="0"?s==="0"?l=">="+i+"."+s+"."+a+" <"+i+"."+s+"."+(+a+1):l=">="+i+"."+s+"."+a+" <"+i+"."+(+s+1)+".0":l=">="+i+"."+s+"."+a+" <"+(+i+1)+".0.0"),Ue("caret return",l),l})}o(Yue,"replaceCaret");function Jue(t,e){return Ue("replaceXRanges",t,e),t.split(/\s+/).map(function(r){return Vue(r,e)}).join(" ")}o(Jue,"replaceXRanges");function Vue(t,e){t=t.trim();var r=e.loose?Le[O.XRANGELOOSE]:Le[O.XRANGE];return t.replace(r,function(n,i,s,a,c,l){Ue("xRange",t,n,i,s,a,c,l);var A=fr(s),u=A||fr(a),d=u||fr(c),f=d;return i==="="&&f&&(i=""),l=e.includePrerelease?"-0":"",A?i===">"||i==="<"?n="<0.0.0-0":n="*":i&&f?(u&&(a=0),c=0,i===">"?(i=">=",u?(s=+s+1,a=0,c=0):(a=+a+1,c=0)):i==="<="&&(i="<",u?s=+s+1:a=+a+1),n=i+s+"."+a+"."+c+l):u?n=">="+s+".0.0"+l+" <"+(+s+1)+".0.0"+l:d&&(n=">="+s+"."+a+".0"+l+" <"+s+"."+(+a+1)+".0"+l),Ue("xRange return",n),n})}o(Vue,"replaceXRange");function Wue(t,e){return Ue("replaceStars",t,e),t.trim().replace(Le[O.STAR],"")}o(Wue,"replaceStars");function $ue(t,e,r,n,i,s,a,c,l,A,u,d,f){return fr(r)?e="":fr(n)?e=">="+r+".0.0":fr(i)?e=">="+r+"."+n+".0":e=">="+e,fr(l)?c="":fr(A)?c="<"+(+l+1)+".0.0":fr(u)?c="<"+l+"."+(+A+1)+".0":d?c="<="+l+"."+A+"."+u+"-"+d:c="<="+c,(e+" "+c).trim()}o($ue,"hyphenReplace");dt.prototype.test=function(t){if(!t)return!1;if(typeof t=="string")try{t=new Ce(t,this.options)}catch{return!1}for(var e=0;e0){var i=t[n].semver;if(i.major===e.major&&i.minor===e.minor&&i.patch===e.patch)return!0}return!1}return!0}o(Kue,"testSet");ue.satisfies=tf;function tf(t,e,r){try{e=new dt(e,r)}catch{return!1}return e.test(t)}o(tf,"satisfies");ue.maxSatisfying=Xue;function Xue(t,e,r){var n=null,i=null;try{var s=new dt(e,r)}catch{return null}return t.forEach(function(a){s.test(a)&&(!n||i.compare(a)===-1)&&(n=a,i=new Ce(n,r))}),n}o(Xue,"maxSatisfying");ue.minSatisfying=Zue;function Zue(t,e,r){var n=null,i=null;try{var s=new dt(e,r)}catch{return null}return t.forEach(function(a){s.test(a)&&(!n||i.compare(a)===1)&&(n=a,i=new Ce(n,r))}),n}o(Zue,"minSatisfying");ue.minVersion=ede;function ede(t,e){t=new dt(t,e);var r=new Ce("0.0.0");if(t.test(r)||(r=new Ce("0.0.0-0"),t.test(r)))return r;r=null;for(var n=0;n":a.prerelease.length===0?a.patch++:a.prerelease.push(0),a.raw=a.format();case"":case">=":(!r||gu(r,a))&&(r=a);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+s.operator)}})}return r&&t.test(r)?r:null}o(ede,"minVersion");ue.validRange=tde;function tde(t,e){try{return new dt(t,e).range||"*"}catch{return null}}o(tde,"validRange");ue.ltr=rde;function rde(t,e,r){return Gb(t,e,"<",r)}o(rde,"ltr");ue.gtr=nde;function nde(t,e,r){return Gb(t,e,">",r)}o(nde,"gtr");ue.outside=Gb;function Gb(t,e,r,n){t=new Ce(t,n),e=new dt(e,n);var i,s,a,c,l;switch(r){case">":i=gu,s=jb,a=Zh,c=">",l=">=";break;case"<":i=Zh,s=zb,a=gu,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(tf(t,e,n))return!1;for(var A=0;A=0.0.0")),d=d||m,f=f||m,i(m.semver,d.semver,n)?d=m:a(m.semver,f.semver,n)&&(f=m)}),d.operator===c||d.operator===l||(!f.operator||f.operator===c)&&s(t,f.semver))return!1;if(f.operator===l&&a(t,f.semver))return!1}return!0}o(Gb,"outside");ue.prerelease=ide;function ide(t,e){var r=Vo(t,e);return r&&r.prerelease.length?r.prerelease:null}o(ide,"prerelease");ue.intersects=sde;function sde(t,e,r){return t=new dt(t,r),e=new dt(e,r),t.intersects(e)}o(sde,"intersects");ue.coerce=ode;function ode(t,e){if(t instanceof Ce)return t;if(typeof t=="number"&&(t=String(t)),typeof t!="string")return null;e=e||{};var r=null;if(!e.rtl)r=t.match(Le[O.COERCE]);else{for(var n;(n=Le[O.COERCERTL].exec(t))&&(!r||r.index+r[0].length!==t.length);)(!r||n.index+n[0].length!==r.index+r[0].length)&&(r=n),Le[O.COERCERTL].lastIndex=n.index+n[1].length+n[2].length;Le[O.COERCERTL].lastIndex=-1}return r===null?null:Vo(r[2]+"."+(r[3]||"0")+"."+(r[4]||"0"),e)}o(ode,"coerce")});var Cu=g(ot=>{"use strict";Object.defineProperty(ot,"__esModule",{value:!0});ot.CacheFileSizeLimit=ot.ManifestFilename=ot.TarFilename=ot.SystemTarPathOnWindows=ot.GnuTarPathOnWindows=ot.SocketTimeout=ot.DefaultRetryDelay=ot.DefaultRetryAttempts=ot.ArchiveToolType=ot.CompressionMethod=ot.CacheFilename=void 0;var aq;(function(t){t.Gzip="cache.tgz",t.Zstd="cache.tzst"})(aq||(ot.CacheFilename=aq={}));var cq;(function(t){t.Gzip="gzip",t.ZstdWithoutLong="zstd-without-long",t.Zstd="zstd"})(cq||(ot.CompressionMethod=cq={}));var lq;(function(t){t.GNU="gnu",t.BSD="bsd"})(lq||(ot.ArchiveToolType=lq={}));ot.DefaultRetryAttempts=2;ot.DefaultRetryDelay=5e3;ot.SocketTimeout=5e3;ot.GnuTarPathOnWindows=`${process.env.PROGRAMFILES}\\Git\\usr\\bin\\tar.exe`;ot.SystemTarPathOnWindows=`${process.env.SYSTEMDRIVE}\\Windows\\System32\\tar.exe`;ot.TarFilename="cache.tar";ot.ManifestFilename="manifest.txt";ot.CacheFileSizeLimit=10*Math.pow(1024,3)});var Tc=g(mt=>{"use strict";var ade=mt&&mt.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),cde=mt&&mt.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),ds=mt&&mt.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;in+=i.toString(),stderr:i=>n+=i.toString()}})}catch(i){Eu.debug(i.message)}return n=n.trim(),Eu.debug(n),n})}o(dq,"getVersion");function Cde(){return Dc(this,void 0,void 0,function*(){let t=yield dq("zstd",["--quiet"]),e=dde.clean(t);return Eu.debug(`zstd version: ${e}`),t===""?Wo.CompressionMethod.Gzip:Wo.CompressionMethod.ZstdWithoutLong})}o(Cde,"getCompressionMethod");function Ede(t){return t===Wo.CompressionMethod.Gzip?Wo.CacheFilename.Gzip:Wo.CacheFilename.Zstd}o(Ede,"getCacheFileName");function Bde(){return Dc(this,void 0,void 0,function*(){return Yb.existsSync(Wo.GnuTarPathOnWindows)?Wo.GnuTarPathOnWindows:(yield dq("tar")).toLowerCase().includes("gnu tar")?Aq.which("tar"):""})}o(Bde,"getGnuTarPathOnWindows");function Ide(t,e){if(e===void 0)throw Error(`Expected ${t} but value was undefiend`);return e}o(Ide,"assertDefined");function bde(t,e,r=!1){let n=t.slice();return e&&n.push(e),process.platform==="win32"&&!r&&n.push("windows-only"),n.push(hde),uq.createHash("sha256").update(n.join("|")).digest("hex")}o(bde,"getCacheVersion");function Qde(){let t=process.env.ACTIONS_RUNTIME_TOKEN;if(!t)throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable");return t}o(Qde,"getRuntimeToken")});var Kr={};Pd(Kr,{__addDisposableResource:()=>kq,__assign:()=>sf,__asyncDelegator:()=>Rq,__asyncGenerator:()=>Sq,__asyncValues:()=>_q,__await:()=>Oc,__awaiter:()=>Iq,__classPrivateFieldGet:()=>Tq,__classPrivateFieldIn:()=>Mq,__classPrivateFieldSet:()=>Oq,__createBinding:()=>af,__decorate:()=>fq,__disposeResources:()=>Lq,__esDecorate:()=>gq,__exportStar:()=>Qq,__extends:()=>pq,__generator:()=>bq,__importDefault:()=>Dq,__importStar:()=>Pq,__makeTemplateObject:()=>vq,__metadata:()=>Bq,__param:()=>mq,__propKey:()=>Cq,__read:()=>Wb,__rest:()=>hq,__rewriteRelativeImportExtension:()=>Uq,__runInitializers:()=>yq,__setFunctionName:()=>Eq,__spread:()=>wq,__spreadArray:()=>xq,__spreadArrays:()=>Nq,__values:()=>of,default:()=>xde});function pq(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Jb(t,e);function r(){this.constructor=t}o(r,"__"),t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}function hq(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(t);i=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s}function mq(t,e){return function(r,n){e(r,n,t)}}function gq(t,e,r,n,i,s){function a(w){if(w!==void 0&&typeof w!="function")throw new TypeError("Function expected");return w}o(a,"accept");for(var c=n.kind,l=c==="getter"?"get":c==="setter"?"set":"value",A=!e&&t?n.static?t:t.prototype:null,u=e||(A?Object.getOwnPropertyDescriptor(A,n.name):{}),d,f=!1,m=r.length-1;m>=0;m--){var C={};for(var Q in n)C[Q]=Q==="access"?{}:n[Q];for(var Q in n.access)C.access[Q]=n.access[Q];C.addInitializer=function(w){if(f)throw new TypeError("Cannot add initializers after decoration has completed");s.push(a(w||null))};var S=(0,r[m])(c==="accessor"?{get:u.get,set:u.set}:u[l],C);if(c==="accessor"){if(S===void 0)continue;if(S===null||typeof S!="object")throw new TypeError("Object expected");(d=a(S.get))&&(u.get=d),(d=a(S.set))&&(u.set=d),(d=a(S.init))&&i.unshift(d)}else(d=a(S))&&(c==="field"?i.unshift(d):u[l]=d)}A&&Object.defineProperty(A,n.name,u),f=!0}function yq(t,e,r){for(var n=arguments.length>2,i=0;i0&&s[s.length-1])&&(A[0]===6||A[0]===2)){r=0;continue}if(A[0]===3&&(!s||A[1]>s[0]&&A[1]=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Wb(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,s=[],a;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)s.push(i.value)}catch(c){a={error:c}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(a)throw a.error}}return s}function wq(){for(var t=[],e=0;e1||l(m,Q)})},C&&(i[m]=C(i[m])))}function l(m,C){try{A(n[m](C))}catch(Q){f(s[0][3],Q)}}function A(m){m.value instanceof Oc?Promise.resolve(m.value.v).then(u,d):f(s[0][2],m)}function u(m){l("next",m)}function d(m){l("throw",m)}function f(m,C){m(C),s.shift(),s.length&&l(s[0][0],s[0][1])}}function Rq(t){var e,r;return e={},n("next"),n("throw",function(i){throw i}),n("return"),e[Symbol.iterator]=function(){return this},e;function n(i,s){e[i]=t[i]?function(a){return(r=!r)?{value:Oc(t[i](a)),done:!1}:s?s(a):a}:s}}function _q(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof of=="function"?of(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(s){r[s]=t[s]&&function(a){return new Promise(function(c,l){a=t[s](a),i(c,l,a.done,a.value)})}}function i(s,a,c,l){Promise.resolve(l).then(function(A){s({value:A,done:c})},a)}}function vq(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function Pq(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r=Vb(t),n=0;n{Jb=o(function(t,e){return Jb=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},Jb(t,e)},"extendStatics");o(pq,"__extends");sf=o(function(){return sf=Object.assign||o(function(e){for(var r,n=1,i=arguments.length;n{var Kb=Object.defineProperty,Sde=Object.getOwnPropertyDescriptor,Rde=Object.getOwnPropertyNames,_de=Object.prototype.hasOwnProperty,vde=o((t,e)=>{for(var r in e)Kb(t,r,{get:e[r],enumerable:!0})},"__export"),Pde=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Rde(e))!_de.call(t,i)&&i!==r&&Kb(t,i,{get:()=>e[i],enumerable:!(n=Sde(e,i))||n.enumerable});return t},"__copyProps"),Dde=o(t=>Pde(Kb({},"__esModule",{value:!0}),t),"__toCommonJS"),Fq={};vde(Fq,{AbortError:()=>$b});qq.exports=Dde(Fq);var $b=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}}});var Yq=g((CYe,Gq)=>{var Tde=Object.create,cf=Object.defineProperty,Ode=Object.getOwnPropertyDescriptor,Mde=Object.getOwnPropertyNames,kde=Object.getPrototypeOf,Lde=Object.prototype.hasOwnProperty,Ude=o((t,e)=>{for(var r in e)cf(t,r,{get:e[r],enumerable:!0})},"__export"),Hq=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Mde(e))!Lde.call(t,i)&&i!==r&&cf(t,i,{get:()=>e[i],enumerable:!(n=Ode(e,i))||n.enumerable});return t},"__copyProps"),zq=o((t,e,r)=>(r=t!=null?Tde(kde(t)):{},Hq(e||!t||!t.__esModule?cf(r,"default",{value:t,enumerable:!0}):r,t)),"__toESM"),Fde=o(t=>Hq(cf({},"__esModule",{value:!0}),t),"__toCommonJS"),jq={};Ude(jq,{log:()=>jde});Gq.exports=Fde(jq);var qde=require("node:os"),Hde=zq(require("node:util")),zde=zq(require("node:process"));function jde(t,...e){zde.default.stderr.write(`${Hde.default.format(t,...e)}${qde.EOL}`)}o(jde,"log")});var e1=g((BYe,Zq)=>{var eQ=Object.defineProperty,Gde=Object.getOwnPropertyDescriptor,Yde=Object.getOwnPropertyNames,Jde=Object.prototype.hasOwnProperty,Vde=o((t,e)=>{for(var r in e)eQ(t,r,{get:e[r],enumerable:!0})},"__export"),Wde=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Yde(e))!Jde.call(t,i)&&i!==r&&eQ(t,i,{get:()=>e[i],enumerable:!(n=Gde(e,i))||n.enumerable});return t},"__copyProps"),$de=o(t=>Wde(eQ({},"__esModule",{value:!0}),t),"__toCommonJS"),Wq={};Vde(Wq,{default:()=>tpe});Zq.exports=$de(Wq);var Kde=Yq(),Jq=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,$q,Xb=[],Zb=[],lf=[];Jq&&tQ(Jq);var Kq=Object.assign(t=>Xq(t),{enable:tQ,enabled:rQ,disable:Xde,log:Kde.log});function tQ(t){$q=t,Xb=[],Zb=[];let e=t.split(",").map(r=>r.trim());for(let r of e)r.startsWith("-")?Zb.push(r.substring(1)):Xb.push(r);for(let r of lf)r.enabled=rQ(r.namespace)}o(tQ,"enable");function rQ(t){if(t.endsWith("*"))return!0;for(let e of Zb)if(Vq(t,e))return!1;for(let e of Xb)if(Vq(t,e))return!0;return!1}o(rQ,"enabled");function Vq(t,e){if(e.indexOf("*")===-1)return t===e;let r=e;if(e.indexOf("**")!==-1){let f=[],m="";for(let C of e)C==="*"&&m==="*"||(m=C,f.push(C));r=f.join("")}let n=0,i=0,s=r.length,a=t.length,c=-1,l=-1;for(;n=0){if(i=c+1,n=l+1,n===a)return!1;for(;t[n]!==r[i];)if(n++,n===a)return!1;l=n,n++,i++;continue}else return!1;let A=n===t.length,u=i===r.length,d=i===r.length-1&&r[i]==="*";return A&&(u||d)}o(Vq,"namespaceMatches");function Xde(){let t=$q||"";return tQ(""),t}o(Xde,"disable");function Xq(t){let e=Object.assign(r,{enabled:rQ(t),destroy:Zde,log:Kq.log,namespace:t,extend:epe});function r(...n){e.enabled&&(n.length>0&&(n[0]=`${t} ${n[0]}`),e.log(...n))}return o(r,"debug"),lf.push(e),e}o(Xq,"createDebugger");function Zde(){let t=lf.indexOf(this);return t>=0?(lf.splice(t,1),!0):!1}o(Zde,"destroy");function epe(t){let e=Xq(`${this.namespace}:${t}`);return e.log=this.log,e}o(epe,"extend");var tpe=Kq});var bu=g((bYe,a1)=>{var rpe=Object.create,Af=Object.defineProperty,npe=Object.getOwnPropertyDescriptor,ipe=Object.getOwnPropertyNames,spe=Object.getPrototypeOf,ope=Object.prototype.hasOwnProperty,ape=o((t,e)=>{for(var r in e)Af(t,r,{get:e[r],enumerable:!0})},"__export"),i1=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of ipe(e))!ope.call(t,i)&&i!==r&&Af(t,i,{get:()=>e[i],enumerable:!(n=npe(e,i))||n.enumerable});return t},"__copyProps"),cpe=o((t,e,r)=>(r=t!=null?rpe(spe(t)):{},i1(e||!t||!t.__esModule?Af(r,"default",{value:t,enumerable:!0}):r,t)),"__toESM"),lpe=o(t=>i1(Af({},"__esModule",{value:!0}),t),"__toCommonJS"),s1={};ape(s1,{TypeSpecRuntimeLogger:()=>Ape,createClientLogger:()=>ppe,createLoggerContext:()=>o1,getLogLevel:()=>dpe,setLogLevel:()=>upe});a1.exports=lpe(s1);var Iu=cpe(e1()),nQ=["verbose","info","warning","error"],t1={verbose:400,info:300,warning:200,error:100};function r1(t,e){e.log=(...r)=>{t.log(...r)}}o(r1,"patchLogMethod");function n1(t){return nQ.includes(t)}o(n1,"isTypeSpecRuntimeLogLevel");function o1(t){let e=new Set,r=typeof process<"u"&&process.env&&process.env[t.logLevelEnvVarName]||void 0,n,i=(0,Iu.default)(t.namespace);i.log=(...u)=>{Iu.default.log(...u)};function s(u){if(u&&!n1(u))throw new Error(`Unknown log level '${u}'. Acceptable values: ${nQ.join(",")}`);n=u;let d=[];for(let f of e)a(f)&&d.push(f.namespace);Iu.default.enable(d.join(","))}o(s,"contextSetLogLevel"),r&&(n1(r)?s(r):console.error(`${t.logLevelEnvVarName} set to unknown log level '${r}'; logging is not enabled. Acceptable values: ${nQ.join(", ")}.`));function a(u){return!!(n&&t1[u.level]<=t1[n])}o(a,"shouldEnable");function c(u,d){let f=Object.assign(u.extend(d),{level:d});if(r1(u,f),a(f)){let m=Iu.default.disable();Iu.default.enable(m+","+f.namespace)}return e.add(f),f}o(c,"createLogger");function l(){return n}o(l,"contextGetLogLevel");function A(u){let d=i.extend(u);return r1(i,d),{error:c(d,"error"),warning:c(d,"warning"),info:c(d,"info"),verbose:c(d,"verbose")}}return o(A,"contextCreateClientLogger"),{setLogLevel:s,getLogLevel:l,createClientLogger:A,logger:i}}o(o1,"createLoggerContext");var uf=o1({logLevelEnvVarName:"TYPESPEC_RUNTIME_LOG_LEVEL",namespace:"typeSpecRuntime"}),Ape=uf.logger;function upe(t){uf.setLogLevel(t)}o(upe,"setLogLevel");function dpe(){return uf.getLogLevel()}o(dpe,"getLogLevel");function ppe(t){return uf.createClientLogger(t)}o(ppe,"createClientLogger")});var Js=g((wYe,l1)=>{var sQ=Object.defineProperty,hpe=Object.getOwnPropertyDescriptor,fpe=Object.getOwnPropertyNames,mpe=Object.prototype.hasOwnProperty,gpe=o((t,e)=>{for(var r in e)sQ(t,r,{get:e[r],enumerable:!0})},"__export"),ype=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of fpe(e))!mpe.call(t,i)&&i!==r&&sQ(t,i,{get:()=>e[i],enumerable:!(n=hpe(e,i))||n.enumerable});return t},"__copyProps"),Cpe=o(t=>ype(sQ({},"__esModule",{value:!0}),t),"__toCommonJS"),c1={};gpe(c1,{createHttpHeaders:()=>Bpe});l1.exports=Cpe(c1);function df(t){return t.toLowerCase()}o(df,"normalizeName");function*Epe(t){for(let e of t.values())yield[e.name,e.value]}o(Epe,"headerIterator");var iQ=class{static{o(this,"HttpHeadersImpl")}_headersMap;constructor(e){if(this._headersMap=new Map,e)for(let r of Object.keys(e))this.set(r,e[r])}set(e,r){this._headersMap.set(df(e),{name:e,value:String(r).trim()})}get(e){return this._headersMap.get(df(e))?.value}has(e){return this._headersMap.has(df(e))}delete(e){this._headersMap.delete(df(e))}toJSON(e={}){let r={};if(e.preserveCase)for(let n of this._headersMap.values())r[n.name]=n.value;else for(let[n,i]of this._headersMap)r[n]=i.value;return r}toString(){return JSON.stringify(this.toJSON({preserveCase:!0}))}[Symbol.iterator](){return Epe(this._headersMap)}};function Bpe(t){return new iQ(t)}o(Bpe,"createHttpHeaders")});var pf=g((xYe,u1)=>{var oQ=Object.defineProperty,Ipe=Object.getOwnPropertyDescriptor,bpe=Object.getOwnPropertyNames,Qpe=Object.prototype.hasOwnProperty,wpe=o((t,e)=>{for(var r in e)oQ(t,r,{get:e[r],enumerable:!0})},"__export"),Npe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of bpe(e))!Qpe.call(t,i)&&i!==r&&oQ(t,i,{get:()=>e[i],enumerable:!(n=Ipe(e,i))||n.enumerable});return t},"__copyProps"),xpe=o(t=>Npe(oQ({},"__esModule",{value:!0}),t),"__toCommonJS"),A1={};wpe(A1,{randomUUID:()=>Spe});u1.exports=xpe(A1);function Spe(){return crypto.randomUUID()}o(Spe,"randomUUID")});var lQ=g((RYe,p1)=>{var cQ=Object.defineProperty,Rpe=Object.getOwnPropertyDescriptor,_pe=Object.getOwnPropertyNames,vpe=Object.prototype.hasOwnProperty,Ppe=o((t,e)=>{for(var r in e)cQ(t,r,{get:e[r],enumerable:!0})},"__export"),Dpe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of _pe(e))!vpe.call(t,i)&&i!==r&&cQ(t,i,{get:()=>e[i],enumerable:!(n=Rpe(e,i))||n.enumerable});return t},"__copyProps"),Tpe=o(t=>Dpe(cQ({},"__esModule",{value:!0}),t),"__toCommonJS"),d1={};Ppe(d1,{createPipelineRequest:()=>kpe});p1.exports=Tpe(d1);var Ope=Js(),Mpe=pf(),aQ=class{static{o(this,"PipelineRequestImpl")}url;method;headers;timeout;withCredentials;body;multipartBody;formData;streamResponseStatusCodes;enableBrowserStreams;proxySettings;disableKeepAlive;abortSignal;requestId;allowInsecureConnection;onUploadProgress;onDownloadProgress;requestOverrides;authSchemes;constructor(e){this.url=e.url,this.body=e.body,this.headers=e.headers??(0,Ope.createHttpHeaders)(),this.method=e.method??"GET",this.timeout=e.timeout??0,this.multipartBody=e.multipartBody,this.formData=e.formData,this.disableKeepAlive=e.disableKeepAlive??!1,this.proxySettings=e.proxySettings,this.streamResponseStatusCodes=e.streamResponseStatusCodes,this.withCredentials=e.withCredentials??!1,this.abortSignal=e.abortSignal,this.onUploadProgress=e.onUploadProgress,this.onDownloadProgress=e.onDownloadProgress,this.requestId=e.requestId||(0,Mpe.randomUUID)(),this.allowInsecureConnection=e.allowInsecureConnection??!1,this.enableBrowserStreams=e.enableBrowserStreams??!1,this.requestOverrides=e.requestOverrides,this.authSchemes=e.authSchemes}};function kpe(t){return new aQ(t)}o(kpe,"createPipelineRequest")});var dQ=g((vYe,m1)=>{var uQ=Object.defineProperty,Lpe=Object.getOwnPropertyDescriptor,Upe=Object.getOwnPropertyNames,Fpe=Object.prototype.hasOwnProperty,qpe=o((t,e)=>{for(var r in e)uQ(t,r,{get:e[r],enumerable:!0})},"__export"),Hpe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Upe(e))!Fpe.call(t,i)&&i!==r&&uQ(t,i,{get:()=>e[i],enumerable:!(n=Lpe(e,i))||n.enumerable});return t},"__copyProps"),zpe=o(t=>Hpe(uQ({},"__esModule",{value:!0}),t),"__toCommonJS"),f1={};qpe(f1,{createEmptyPipeline:()=>jpe});m1.exports=zpe(f1);var h1=new Set(["Deserialize","Serialize","Retry","Sign"]),AQ=class t{static{o(this,"HttpPipeline")}_policies=[];_orderedPolicies;constructor(e){this._policies=e?.slice(0)??[],this._orderedPolicies=void 0}addPolicy(e,r={}){if(r.phase&&r.afterPhase)throw new Error("Policies inside a phase cannot specify afterPhase.");if(r.phase&&!h1.has(r.phase))throw new Error(`Invalid phase name: ${r.phase}`);if(r.afterPhase&&!h1.has(r.afterPhase))throw new Error(`Invalid afterPhase name: ${r.afterPhase}`);this._policies.push({policy:e,options:r}),this._orderedPolicies=void 0}removePolicy(e){let r=[];return this._policies=this._policies.filter(n=>e.name&&n.policy.name===e.name||e.phase&&n.options.phase===e.phase?(r.push(n.policy),!1):!0),this._orderedPolicies=void 0,r}sendRequest(e,r){return this.getOrderedPolicies().reduceRight((s,a)=>c=>a.sendRequest(c,s),s=>e.sendRequest(s))(r)}getOrderedPolicies(){return this._orderedPolicies||(this._orderedPolicies=this.orderPolicies()),this._orderedPolicies}clone(){return new t(this._policies)}static create(){return new t}orderPolicies(){let e=[],r=new Map;function n(C){return{name:C,policies:new Set,hasRun:!1,hasAfterPolicies:!1}}o(n,"createPhase");let i=n("Serialize"),s=n("None"),a=n("Deserialize"),c=n("Retry"),l=n("Sign"),A=[i,s,a,c,l];function u(C){return C==="Retry"?c:C==="Serialize"?i:C==="Deserialize"?a:C==="Sign"?l:s}o(u,"getPhase");for(let C of this._policies){let Q=C.policy,S=C.options,w=Q.name;if(r.has(w))throw new Error("Duplicate policy names not allowed in pipeline");let R={policy:Q,dependsOn:new Set,dependants:new Set};S.afterPhase&&(R.afterPhase=u(S.afterPhase),R.afterPhase.hasAfterPolicies=!0),r.set(w,R),u(S.phase).policies.add(R)}for(let C of this._policies){let{policy:Q,options:S}=C,w=Q.name,R=r.get(w);if(!R)throw new Error(`Missing node for policy ${w}`);if(S.afterPolicies)for(let T of S.afterPolicies){let L=r.get(T);L&&(R.dependsOn.add(L),L.dependants.add(R))}if(S.beforePolicies)for(let T of S.beforePolicies){let L=r.get(T);L&&(L.dependsOn.add(R),R.dependants.add(L))}}function d(C){C.hasRun=!0;for(let Q of C.policies)if(!(Q.afterPhase&&(!Q.afterPhase.hasRun||Q.afterPhase.policies.size))&&Q.dependsOn.size===0){e.push(Q.policy);for(let S of Q.dependants)S.dependsOn.delete(Q);r.delete(Q.policy.name),C.policies.delete(Q)}}o(d,"walkPhase");function f(){for(let C of A){if(d(C),C.policies.size>0&&C!==s){s.hasRun||d(s);return}C.hasAfterPolicies&&d(s)}}o(f,"walkPhases");let m=0;for(;r.size>0;){m++;let C=e.length;if(f(),e.length<=C&&m>1)throw new Error("Cannot satisfy policy dependencies due to requirements cycle.")}return e}};function jpe(){return AQ.create()}o(jpe,"createEmptyPipeline")});var hf=g((DYe,y1)=>{var pQ=Object.defineProperty,Gpe=Object.getOwnPropertyDescriptor,Ype=Object.getOwnPropertyNames,Jpe=Object.prototype.hasOwnProperty,Vpe=o((t,e)=>{for(var r in e)pQ(t,r,{get:e[r],enumerable:!0})},"__export"),Wpe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ype(e))!Jpe.call(t,i)&&i!==r&&pQ(t,i,{get:()=>e[i],enumerable:!(n=Gpe(e,i))||n.enumerable});return t},"__copyProps"),$pe=o(t=>Wpe(pQ({},"__esModule",{value:!0}),t),"__toCommonJS"),g1={};Vpe(g1,{isObject:()=>Kpe});y1.exports=$pe(g1);function Kpe(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}o(Kpe,"isObject")});var fQ=g((OYe,E1)=>{var hQ=Object.defineProperty,Xpe=Object.getOwnPropertyDescriptor,Zpe=Object.getOwnPropertyNames,ehe=Object.prototype.hasOwnProperty,the=o((t,e)=>{for(var r in e)hQ(t,r,{get:e[r],enumerable:!0})},"__export"),rhe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Zpe(e))!ehe.call(t,i)&&i!==r&&hQ(t,i,{get:()=>e[i],enumerable:!(n=Xpe(e,i))||n.enumerable});return t},"__copyProps"),nhe=o(t=>rhe(hQ({},"__esModule",{value:!0}),t),"__toCommonJS"),C1={};the(C1,{isError:()=>she});E1.exports=nhe(C1);var ihe=hf();function she(t){if((0,ihe.isObject)(t)){let e=typeof t.name=="string",r=typeof t.message=="string";return e&&r}return!1}o(she,"isError")});var b1=g((kYe,I1)=>{var mQ=Object.defineProperty,ohe=Object.getOwnPropertyDescriptor,ahe=Object.getOwnPropertyNames,che=Object.prototype.hasOwnProperty,lhe=o((t,e)=>{for(var r in e)mQ(t,r,{get:e[r],enumerable:!0})},"__export"),Ahe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of ahe(e))!che.call(t,i)&&i!==r&&mQ(t,i,{get:()=>e[i],enumerable:!(n=ohe(e,i))||n.enumerable});return t},"__copyProps"),uhe=o(t=>Ahe(mQ({},"__esModule",{value:!0}),t),"__toCommonJS"),B1={};lhe(B1,{custom:()=>phe});I1.exports=uhe(B1);var dhe=require("node:util"),phe=dhe.inspect.custom});var Qu=g((UYe,w1)=>{var CQ=Object.defineProperty,hhe=Object.getOwnPropertyDescriptor,fhe=Object.getOwnPropertyNames,mhe=Object.prototype.hasOwnProperty,ghe=o((t,e)=>{for(var r in e)CQ(t,r,{get:e[r],enumerable:!0})},"__export"),yhe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of fhe(e))!mhe.call(t,i)&&i!==r&&CQ(t,i,{get:()=>e[i],enumerable:!(n=hhe(e,i))||n.enumerable});return t},"__copyProps"),Che=o(t=>yhe(CQ({},"__esModule",{value:!0}),t),"__toCommonJS"),Q1={};ghe(Q1,{Sanitizer:()=>yQ});w1.exports=Che(Q1);var Ehe=hf(),gQ="REDACTED",Bhe=["x-ms-client-request-id","x-ms-return-client-request-id","x-ms-useragent","x-ms-correlation-request-id","x-ms-request-id","client-request-id","ms-cv","return-client-request-id","traceparent","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Origin","Accept","Accept-Encoding","Cache-Control","Connection","Content-Length","Content-Type","Date","ETag","Expires","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","Last-Modified","Pragma","Request-Id","Retry-After","Server","Transfer-Encoding","User-Agent","WWW-Authenticate"],Ihe=["api-version"],yQ=class{static{o(this,"Sanitizer")}allowedHeaderNames;allowedQueryParameters;constructor({additionalAllowedHeaderNames:e=[],additionalAllowedQueryParameters:r=[]}={}){e=Bhe.concat(e),r=Ihe.concat(r),this.allowedHeaderNames=new Set(e.map(n=>n.toLowerCase())),this.allowedQueryParameters=new Set(r.map(n=>n.toLowerCase()))}sanitize(e){let r=new Set;return JSON.stringify(e,(n,i)=>{if(i instanceof Error)return{...i,name:i.name,message:i.message};if(n==="headers")return this.sanitizeHeaders(i);if(n==="url")return this.sanitizeUrl(i);if(n==="query")return this.sanitizeQuery(i);if(n==="body")return;if(n==="response")return;if(n==="operationSpec")return;if(Array.isArray(i)||(0,Ehe.isObject)(i)){if(r.has(i))return"[Circular]";r.add(i)}return i},2)}sanitizeUrl(e){if(typeof e!="string"||e===null||e==="")return e;let r=new URL(e);if(!r.search)return e;for(let[n]of r.searchParams)this.allowedQueryParameters.has(n.toLowerCase())||r.searchParams.set(n,gQ);return r.toString()}sanitizeHeaders(e){let r={};for(let n of Object.keys(e))this.allowedHeaderNames.has(n.toLowerCase())?r[n]=e[n]:r[n]=gQ;return r}sanitizeQuery(e){if(typeof e!="object"||e===null)return e;let r={};for(let n of Object.keys(e))this.allowedQueryParameters.has(n.toLowerCase())?r[n]=e[n]:r[n]=gQ;return r}}});var Mc=g((qYe,x1)=>{var EQ=Object.defineProperty,bhe=Object.getOwnPropertyDescriptor,Qhe=Object.getOwnPropertyNames,whe=Object.prototype.hasOwnProperty,Nhe=o((t,e)=>{for(var r in e)EQ(t,r,{get:e[r],enumerable:!0})},"__export"),xhe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Qhe(e))!whe.call(t,i)&&i!==r&&EQ(t,i,{get:()=>e[i],enumerable:!(n=bhe(e,i))||n.enumerable});return t},"__copyProps"),She=o(t=>xhe(EQ({},"__esModule",{value:!0}),t),"__toCommonJS"),N1={};Nhe(N1,{RestError:()=>ff,isRestError:()=>Dhe});x1.exports=She(N1);var Rhe=fQ(),_he=b1(),vhe=Qu(),Phe=new vhe.Sanitizer,ff=class t extends Error{static{o(this,"RestError")}static REQUEST_SEND_ERROR="REQUEST_SEND_ERROR";static PARSE_ERROR="PARSE_ERROR";code;statusCode;request;response;details;constructor(e,r={}){super(e),this.name="RestError",this.code=r.code,this.statusCode=r.statusCode,Object.defineProperty(this,"request",{value:r.request,enumerable:!1}),Object.defineProperty(this,"response",{value:r.response,enumerable:!1});let n=this.request?.agent?{maxFreeSockets:this.request.agent.maxFreeSockets,maxSockets:this.request.agent.maxSockets}:void 0;Object.defineProperty(this,_he.custom,{value:()=>`RestError: ${this.message} - ${Phe.sanitize({...this,request:{...this.request,agent:n},response:this.response})}`,enumerable:!1}),Object.setPrototypeOf(this,t.prototype)}};function Dhe(t){return t instanceof ff?!0:(0,Rhe.isError)(t)&&t.name==="RestError"}o(Dhe,"isRestError")});var $o=g((zYe,R1)=>{var BQ=Object.defineProperty,The=Object.getOwnPropertyDescriptor,Ohe=Object.getOwnPropertyNames,Mhe=Object.prototype.hasOwnProperty,khe=o((t,e)=>{for(var r in e)BQ(t,r,{get:e[r],enumerable:!0})},"__export"),Lhe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ohe(e))!Mhe.call(t,i)&&i!==r&&BQ(t,i,{get:()=>e[i],enumerable:!(n=The(e,i))||n.enumerable});return t},"__copyProps"),Uhe=o(t=>Lhe(BQ({},"__esModule",{value:!0}),t),"__toCommonJS"),S1={};khe(S1,{stringToUint8Array:()=>qhe,uint8ArrayToString:()=>Fhe});R1.exports=Uhe(S1);function Fhe(t,e){return Buffer.from(t).toString(e)}o(Fhe,"uint8ArrayToString");function qhe(t,e){return Buffer.from(t,e)}o(qhe,"stringToUint8Array")});var kc=g((GYe,v1)=>{var IQ=Object.defineProperty,Hhe=Object.getOwnPropertyDescriptor,zhe=Object.getOwnPropertyNames,jhe=Object.prototype.hasOwnProperty,Ghe=o((t,e)=>{for(var r in e)IQ(t,r,{get:e[r],enumerable:!0})},"__export"),Yhe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of zhe(e))!jhe.call(t,i)&&i!==r&&IQ(t,i,{get:()=>e[i],enumerable:!(n=Hhe(e,i))||n.enumerable});return t},"__copyProps"),Jhe=o(t=>Yhe(IQ({},"__esModule",{value:!0}),t),"__toCommonJS"),_1={};Ghe(_1,{logger:()=>Whe});v1.exports=Jhe(_1);var Vhe=bu(),Whe=(0,Vhe.createClientLogger)("ts-http-runtime")});var F1=g((JYe,U1)=>{var $he=Object.create,gf=Object.defineProperty,Khe=Object.getOwnPropertyDescriptor,Xhe=Object.getOwnPropertyNames,Zhe=Object.getPrototypeOf,efe=Object.prototype.hasOwnProperty,tfe=o((t,e)=>{for(var r in e)gf(t,r,{get:e[r],enumerable:!0})},"__export"),O1=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Xhe(e))!efe.call(t,i)&&i!==r&&gf(t,i,{get:()=>e[i],enumerable:!(n=Khe(e,i))||n.enumerable});return t},"__copyProps"),NQ=o((t,e,r)=>(r=t!=null?$he(Zhe(t)):{},O1(e||!t||!t.__esModule?gf(r,"default",{value:t,enumerable:!0}):r,t)),"__toESM"),rfe=o(t=>O1(gf({},"__esModule",{value:!0}),t),"__toCommonJS"),M1={};tfe(M1,{createNodeHttpClient:()=>Afe,getBodyLength:()=>L1});U1.exports=rfe(M1);var bQ=NQ(require("node:http")),QQ=NQ(require("node:https")),P1=NQ(require("node:zlib")),nfe=require("node:stream"),D1=Bu(),ife=Js(),Nu=Mc(),Lc=kc(),sfe=Qu(),ofe={};function wu(t){return t&&typeof t.pipe=="function"}o(wu,"isReadableStream");function T1(t){return t.readable===!1?Promise.resolve():new Promise(e=>{let r=o(()=>{e(),t.removeListener("close",r),t.removeListener("end",r),t.removeListener("error",r)},"handler");t.on("close",r),t.on("end",r),t.on("error",r)})}o(T1,"isStreamComplete");function k1(t){return t&&typeof t.byteLength=="number"}o(k1,"isArrayBuffer");var mf=class extends nfe.Transform{static{o(this,"ReportTransform")}loadedBytes=0;progressCallback;_transform(e,r,n){this.push(e),this.loadedBytes+=e.length;try{this.progressCallback({loadedBytes:this.loadedBytes}),n()}catch(i){n(i)}}constructor(e){super(),this.progressCallback=e}},wQ=class{static{o(this,"NodeHttpClient")}cachedHttpAgent;cachedHttpsAgents=new WeakMap;async sendRequest(e){let r=new AbortController,n;if(e.abortSignal){if(e.abortSignal.aborted)throw new D1.AbortError("The operation was aborted. Request has already been canceled.");n=o(A=>{A.type==="abort"&&r.abort()},"abortListener"),e.abortSignal.addEventListener("abort",n)}let i;e.timeout>0&&(i=setTimeout(()=>{let A=new sfe.Sanitizer;Lc.logger.info(`request to '${A.sanitizeUrl(e.url)}' timed out. canceling...`),r.abort()},e.timeout));let s=e.headers.get("Accept-Encoding"),a=s?.includes("gzip")||s?.includes("deflate"),c=typeof e.body=="function"?e.body():e.body;if(c&&!e.headers.has("Content-Length")){let A=L1(c);A!==null&&e.headers.set("Content-Length",A)}let l;try{if(c&&e.onUploadProgress){let C=e.onUploadProgress,Q=new mf(C);Q.on("error",S=>{Lc.logger.error("Error in upload progress",S)}),wu(c)?c.pipe(Q):Q.end(c),c=Q}let A=await this.makeRequest(e,r,c);i!==void 0&&clearTimeout(i);let u=afe(A),f={status:A.statusCode??0,headers:u,request:e};if(e.method==="HEAD")return A.resume(),f;l=a?cfe(A,u):A;let m=e.onDownloadProgress;if(m){let C=new mf(m);C.on("error",Q=>{Lc.logger.error("Error in download progress",Q)}),l.pipe(C),l=C}return e.streamResponseStatusCodes?.has(Number.POSITIVE_INFINITY)||e.streamResponseStatusCodes?.has(f.status)?f.readableStreamBody=l:f.bodyAsText=await lfe(l),f}finally{if(e.abortSignal&&n){let A=Promise.resolve();wu(c)&&(A=T1(c));let u=Promise.resolve();wu(l)&&(u=T1(l)),Promise.all([A,u]).then(()=>{n&&e.abortSignal?.removeEventListener("abort",n)}).catch(d=>{Lc.logger.warning("Error when cleaning up abortListener on httpRequest",d)})}}}makeRequest(e,r,n){let i=new URL(e.url),s=i.protocol!=="https:";if(s&&!e.allowInsecureConnection)throw new Error(`Cannot connect to ${e.url} while allowInsecureConnection is false.`);let c={agent:e.agent??this.getOrCreateAgent(e,s),hostname:i.hostname,path:`${i.pathname}${i.search}`,port:i.port,method:e.method,headers:e.headers.toJSON({preserveCase:!0}),...e.requestOverrides};return new Promise((l,A)=>{let u=s?bQ.default.request(c,l):QQ.default.request(c,l);u.once("error",d=>{A(new Nu.RestError(d.message,{code:d.code??Nu.RestError.REQUEST_SEND_ERROR,request:e}))}),r.signal.addEventListener("abort",()=>{let d=new D1.AbortError("The operation was aborted. Rejecting from abort signal callback while making request.");u.destroy(d),A(d)}),n&&wu(n)?n.pipe(u):n?typeof n=="string"||Buffer.isBuffer(n)?u.end(n):k1(n)?u.end(ArrayBuffer.isView(n)?Buffer.from(n.buffer):Buffer.from(n)):(Lc.logger.error("Unrecognized body type",n),A(new Nu.RestError("Unrecognized body type"))):u.end()})}getOrCreateAgent(e,r){let n=e.disableKeepAlive;if(r)return n?bQ.default.globalAgent:(this.cachedHttpAgent||(this.cachedHttpAgent=new bQ.default.Agent({keepAlive:!0})),this.cachedHttpAgent);{if(n&&!e.tlsSettings)return QQ.default.globalAgent;let i=e.tlsSettings??ofe,s=this.cachedHttpsAgents.get(i);return s&&s.options.keepAlive===!n||(Lc.logger.info("No cached TLS Agent exist, creating a new Agent"),s=new QQ.default.Agent({keepAlive:!n,...i}),this.cachedHttpsAgents.set(i,s)),s}}};function afe(t){let e=(0,ife.createHttpHeaders)();for(let r of Object.keys(t.headers)){let n=t.headers[r];Array.isArray(n)?n.length>0&&e.set(r,n[0]):n&&e.set(r,n)}return e}o(afe,"getResponseHeaders");function cfe(t,e){let r=e.get("Content-Encoding");if(r==="gzip"){let n=P1.default.createGunzip();return t.pipe(n),n}else if(r==="deflate"){let n=P1.default.createInflate();return t.pipe(n),n}return t}o(cfe,"getDecodedResponseStream");function lfe(t){return new Promise((e,r)=>{let n=[];t.on("data",i=>{Buffer.isBuffer(i)?n.push(i):n.push(Buffer.from(i))}),t.on("end",()=>{e(Buffer.concat(n).toString("utf8"))}),t.on("error",i=>{i&&i?.name==="AbortError"?r(i):r(new Nu.RestError(`Error reading response as text: ${i.message}`,{code:Nu.RestError.PARSE_ERROR}))})})}o(lfe,"streamToText");function L1(t){return t?Buffer.isBuffer(t)?t.length:wu(t)?null:k1(t)?t.byteLength:typeof t=="string"?Buffer.from(t).length:null:0}o(L1,"getBodyLength");function Afe(){return new wQ}o(Afe,"createNodeHttpClient")});var SQ=g((WYe,H1)=>{var xQ=Object.defineProperty,ufe=Object.getOwnPropertyDescriptor,dfe=Object.getOwnPropertyNames,pfe=Object.prototype.hasOwnProperty,hfe=o((t,e)=>{for(var r in e)xQ(t,r,{get:e[r],enumerable:!0})},"__export"),ffe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of dfe(e))!pfe.call(t,i)&&i!==r&&xQ(t,i,{get:()=>e[i],enumerable:!(n=ufe(e,i))||n.enumerable});return t},"__copyProps"),mfe=o(t=>ffe(xQ({},"__esModule",{value:!0}),t),"__toCommonJS"),q1={};hfe(q1,{createDefaultHttpClient:()=>yfe});H1.exports=mfe(q1);var gfe=F1();function yfe(){return(0,gfe.createNodeHttpClient)()}o(yfe,"createDefaultHttpClient")});var _Q=g((KYe,G1)=>{var RQ=Object.defineProperty,Cfe=Object.getOwnPropertyDescriptor,Efe=Object.getOwnPropertyNames,Bfe=Object.prototype.hasOwnProperty,Ife=o((t,e)=>{for(var r in e)RQ(t,r,{get:e[r],enumerable:!0})},"__export"),bfe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Efe(e))!Bfe.call(t,i)&&i!==r&&RQ(t,i,{get:()=>e[i],enumerable:!(n=Cfe(e,i))||n.enumerable});return t},"__copyProps"),Qfe=o(t=>bfe(RQ({},"__esModule",{value:!0}),t),"__toCommonJS"),z1={};Ife(z1,{logPolicy:()=>xfe,logPolicyName:()=>j1});G1.exports=Qfe(z1);var wfe=kc(),Nfe=Qu(),j1="logPolicy";function xfe(t={}){let e=t.logger??wfe.logger.info,r=new Nfe.Sanitizer({additionalAllowedHeaderNames:t.additionalAllowedHeaderNames,additionalAllowedQueryParameters:t.additionalAllowedQueryParameters});return{name:j1,async sendRequest(n,i){if(!e.enabled)return i(n);e(`Request: ${r.sanitize(n)}`);let s=await i(n);return e(`Response status code: ${s.status}`),e(`Headers: ${r.sanitize(s.headers)}`),s}}}o(xfe,"logPolicy")});var PQ=g((ZYe,$1)=>{var vQ=Object.defineProperty,Sfe=Object.getOwnPropertyDescriptor,Rfe=Object.getOwnPropertyNames,_fe=Object.prototype.hasOwnProperty,vfe=o((t,e)=>{for(var r in e)vQ(t,r,{get:e[r],enumerable:!0})},"__export"),Pfe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Rfe(e))!_fe.call(t,i)&&i!==r&&vQ(t,i,{get:()=>e[i],enumerable:!(n=Sfe(e,i))||n.enumerable});return t},"__copyProps"),Dfe=o(t=>Pfe(vQ({},"__esModule",{value:!0}),t),"__toCommonJS"),J1={};vfe(J1,{redirectPolicy:()=>Ofe,redirectPolicyName:()=>V1});$1.exports=Dfe(J1);var Tfe=kc(),V1="redirectPolicy",Y1=["GET","HEAD"];function Ofe(t={}){let{maxRetries:e=20,allowCrossOriginRedirects:r=!1}=t;return{name:V1,async sendRequest(n,i){let s=await i(n);return W1(i,s,e,r)}}}o(Ofe,"redirectPolicy");async function W1(t,e,r,n,i=0){let{request:s,status:a,headers:c}=e,l=c.get("location");if(l&&(a===300||a===301&&Y1.includes(s.method)||a===302&&Y1.includes(s.method)||a===303&&s.method==="POST"||a===307)&&i{var Mfe=Object.create,yf=Object.defineProperty,kfe=Object.getOwnPropertyDescriptor,Lfe=Object.getOwnPropertyNames,Ufe=Object.getPrototypeOf,Ffe=Object.prototype.hasOwnProperty,qfe=o((t,e)=>{for(var r in e)yf(t,r,{get:e[r],enumerable:!0})},"__export"),K1=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Lfe(e))!Ffe.call(t,i)&&i!==r&&yf(t,i,{get:()=>e[i],enumerable:!(n=kfe(e,i))||n.enumerable});return t},"__copyProps"),X1=o((t,e,r)=>(r=t!=null?Mfe(Ufe(t)):{},K1(e||!t||!t.__esModule?yf(r,"default",{value:t,enumerable:!0}):r,t)),"__toESM"),Hfe=o(t=>K1(yf({},"__esModule",{value:!0}),t),"__toCommonJS"),Z1={};qfe(Z1,{getHeaderName:()=>zfe,setPlatformSpecificData:()=>jfe});eH.exports=Hfe(Z1);var DQ=X1(require("node:os")),TQ=X1(require("node:process"));function zfe(){return"User-Agent"}o(zfe,"getHeaderName");async function jfe(t){if(TQ.default&&TQ.default.versions){let e=`${DQ.default.type()} ${DQ.default.release()}; ${DQ.default.arch()}`,r=TQ.default.versions;r.bun?t.set("Bun",`${r.bun} (${e})`):r.deno?t.set("Deno",`${r.deno} (${e})`):r.node&&t.set("Node",`${r.node} (${e})`)}}o(jfe,"setPlatformSpecificData")});var Ko=g((nJe,nH)=>{var OQ=Object.defineProperty,Gfe=Object.getOwnPropertyDescriptor,Yfe=Object.getOwnPropertyNames,Jfe=Object.prototype.hasOwnProperty,Vfe=o((t,e)=>{for(var r in e)OQ(t,r,{get:e[r],enumerable:!0})},"__export"),Wfe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Yfe(e))!Jfe.call(t,i)&&i!==r&&OQ(t,i,{get:()=>e[i],enumerable:!(n=Gfe(e,i))||n.enumerable});return t},"__copyProps"),$fe=o(t=>Wfe(OQ({},"__esModule",{value:!0}),t),"__toCommonJS"),rH={};Vfe(rH,{DEFAULT_RETRY_POLICY_COUNT:()=>Xfe,SDK_VERSION:()=>Kfe});nH.exports=$fe(rH);var Kfe="0.3.4",Xfe=3});var aH=g((sJe,oH)=>{var MQ=Object.defineProperty,Zfe=Object.getOwnPropertyDescriptor,eme=Object.getOwnPropertyNames,tme=Object.prototype.hasOwnProperty,rme=o((t,e)=>{for(var r in e)MQ(t,r,{get:e[r],enumerable:!0})},"__export"),nme=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of eme(e))!tme.call(t,i)&&i!==r&&MQ(t,i,{get:()=>e[i],enumerable:!(n=Zfe(e,i))||n.enumerable});return t},"__copyProps"),ime=o(t=>nme(MQ({},"__esModule",{value:!0}),t),"__toCommonJS"),iH={};rme(iH,{getUserAgentHeaderName:()=>ame,getUserAgentValue:()=>cme});oH.exports=ime(iH);var sH=tH(),sme=Ko();function ome(t){let e=[];for(let[r,n]of t){let i=n?`${r}/${n}`:r;e.push(i)}return e.join(" ")}o(ome,"getUserAgentString");function ame(){return(0,sH.getHeaderName)()}o(ame,"getUserAgentHeaderName");async function cme(t){let e=new Map;e.set("ts-http-runtime",sme.SDK_VERSION),await(0,sH.setPlatformSpecificData)(e);let r=ome(e);return t?`${t} ${r}`:r}o(cme,"getUserAgentValue")});var LQ=g((aJe,dH)=>{var kQ=Object.defineProperty,lme=Object.getOwnPropertyDescriptor,Ame=Object.getOwnPropertyNames,ume=Object.prototype.hasOwnProperty,dme=o((t,e)=>{for(var r in e)kQ(t,r,{get:e[r],enumerable:!0})},"__export"),pme=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ame(e))!ume.call(t,i)&&i!==r&&kQ(t,i,{get:()=>e[i],enumerable:!(n=lme(e,i))||n.enumerable});return t},"__copyProps"),hme=o(t=>pme(kQ({},"__esModule",{value:!0}),t),"__toCommonJS"),lH={};dme(lH,{userAgentPolicy:()=>fme,userAgentPolicyName:()=>uH});dH.exports=hme(lH);var AH=aH(),cH=(0,AH.getUserAgentHeaderName)(),uH="userAgentPolicy";function fme(t={}){let e=(0,AH.getUserAgentValue)(t.userAgentPrefix);return{name:uH,async sendRequest(r,n){return r.headers.has(cH)||r.headers.set(cH,await e),n(r)}}}o(fme,"userAgentPolicy")});var FQ=g((lJe,fH)=>{var UQ=Object.defineProperty,mme=Object.getOwnPropertyDescriptor,gme=Object.getOwnPropertyNames,yme=Object.prototype.hasOwnProperty,Cme=o((t,e)=>{for(var r in e)UQ(t,r,{get:e[r],enumerable:!0})},"__export"),Eme=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of gme(e))!yme.call(t,i)&&i!==r&&UQ(t,i,{get:()=>e[i],enumerable:!(n=mme(e,i))||n.enumerable});return t},"__copyProps"),Bme=o(t=>Eme(UQ({},"__esModule",{value:!0}),t),"__toCommonJS"),pH={};Cme(pH,{decompressResponsePolicy:()=>Ime,decompressResponsePolicyName:()=>hH});fH.exports=Bme(pH);var hH="decompressResponsePolicy";function Ime(){return{name:hH,async sendRequest(t,e){return t.method!=="HEAD"&&t.headers.set("Accept-Encoding","gzip,deflate"),e(t)}}}o(Ime,"decompressResponsePolicy")});var HQ=g((uJe,gH)=>{var qQ=Object.defineProperty,bme=Object.getOwnPropertyDescriptor,Qme=Object.getOwnPropertyNames,wme=Object.prototype.hasOwnProperty,Nme=o((t,e)=>{for(var r in e)qQ(t,r,{get:e[r],enumerable:!0})},"__export"),xme=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Qme(e))!wme.call(t,i)&&i!==r&&qQ(t,i,{get:()=>e[i],enumerable:!(n=bme(e,i))||n.enumerable});return t},"__copyProps"),Sme=o(t=>xme(qQ({},"__esModule",{value:!0}),t),"__toCommonJS"),mH={};Nme(mH,{getRandomIntegerInclusive:()=>Rme});gH.exports=Sme(mH);function Rme(t,e){return t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t+1))+t}o(Rme,"getRandomIntegerInclusive")});var jQ=g((pJe,CH)=>{var zQ=Object.defineProperty,_me=Object.getOwnPropertyDescriptor,vme=Object.getOwnPropertyNames,Pme=Object.prototype.hasOwnProperty,Dme=o((t,e)=>{for(var r in e)zQ(t,r,{get:e[r],enumerable:!0})},"__export"),Tme=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of vme(e))!Pme.call(t,i)&&i!==r&&zQ(t,i,{get:()=>e[i],enumerable:!(n=_me(e,i))||n.enumerable});return t},"__copyProps"),Ome=o(t=>Tme(zQ({},"__esModule",{value:!0}),t),"__toCommonJS"),yH={};Dme(yH,{calculateRetryDelay:()=>kme});CH.exports=Ome(yH);var Mme=HQ();function kme(t,e){let r=e.retryDelayInMs*Math.pow(2,t),n=Math.min(e.maxRetryDelayInMs,r);return{retryAfterInMs:n/2+(0,Mme.getRandomIntegerInclusive)(0,n/2)}}o(kme,"calculateRetryDelay")});var YQ=g((fJe,BH)=>{var GQ=Object.defineProperty,Lme=Object.getOwnPropertyDescriptor,Ume=Object.getOwnPropertyNames,Fme=Object.prototype.hasOwnProperty,qme=o((t,e)=>{for(var r in e)GQ(t,r,{get:e[r],enumerable:!0})},"__export"),Hme=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ume(e))!Fme.call(t,i)&&i!==r&&GQ(t,i,{get:()=>e[i],enumerable:!(n=Lme(e,i))||n.enumerable});return t},"__copyProps"),zme=o(t=>Hme(GQ({},"__esModule",{value:!0}),t),"__toCommonJS"),EH={};qme(EH,{delay:()=>Yme,parseHeaderValueAsNumber:()=>Jme});BH.exports=zme(EH);var jme=Bu(),Gme="The operation was aborted.";function Yme(t,e,r){return new Promise((n,i)=>{let s,a,c=o(()=>i(new jme.AbortError(r?.abortErrorMsg?r?.abortErrorMsg:Gme)),"rejectOnAbort"),l=o(()=>{r?.abortSignal&&a&&r.abortSignal.removeEventListener("abort",a)},"removeListeners");if(a=o(()=>(s&&clearTimeout(s),l(),c()),"onAborted"),r?.abortSignal&&r.abortSignal.aborted)return c();s=setTimeout(()=>{l(),n(e)},t),r?.abortSignal&&r.abortSignal.addEventListener("abort",a)})}o(Yme,"delay");function Jme(t,e){let r=t.headers.get(e);if(!r)return;let n=Number(r);if(!Number.isNaN(n))return n}o(Jme,"parseHeaderValueAsNumber")});var Cf=g((gJe,QH)=>{var VQ=Object.defineProperty,Vme=Object.getOwnPropertyDescriptor,Wme=Object.getOwnPropertyNames,$me=Object.prototype.hasOwnProperty,Kme=o((t,e)=>{for(var r in e)VQ(t,r,{get:e[r],enumerable:!0})},"__export"),Xme=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Wme(e))!$me.call(t,i)&&i!==r&&VQ(t,i,{get:()=>e[i],enumerable:!(n=Vme(e,i))||n.enumerable});return t},"__copyProps"),Zme=o(t=>Xme(VQ({},"__esModule",{value:!0}),t),"__toCommonJS"),IH={};Kme(IH,{isThrottlingRetryResponse:()=>rge,throttlingRetryStrategy:()=>nge});QH.exports=Zme(IH);var ege=YQ(),JQ="Retry-After",tge=["retry-after-ms","x-ms-retry-after-ms",JQ];function bH(t){if(t&&[429,503].includes(t.status))try{for(let i of tge){let s=(0,ege.parseHeaderValueAsNumber)(t,i);if(s===0||s)return s*(i===JQ?1e3:1)}let e=t.headers.get(JQ);if(!e)return;let n=Date.parse(e)-Date.now();return Number.isFinite(n)?Math.max(0,n):void 0}catch{return}}o(bH,"getRetryAfterInMs");function rge(t){return Number.isFinite(bH(t))}o(rge,"isThrottlingRetryResponse");function nge(){return{name:"throttlingRetryStrategy",retry({response:t}){let e=bH(t);return Number.isFinite(e)?{retryAfterInMs:e}:{skipStrategy:!0}}}}o(nge,"throttlingRetryStrategy")});var Ef=g((CJe,SH)=>{var WQ=Object.defineProperty,ige=Object.getOwnPropertyDescriptor,sge=Object.getOwnPropertyNames,oge=Object.prototype.hasOwnProperty,age=o((t,e)=>{for(var r in e)WQ(t,r,{get:e[r],enumerable:!0})},"__export"),cge=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of sge(e))!oge.call(t,i)&&i!==r&&WQ(t,i,{get:()=>e[i],enumerable:!(n=ige(e,i))||n.enumerable});return t},"__copyProps"),lge=o(t=>cge(WQ({},"__esModule",{value:!0}),t),"__toCommonJS"),wH={};age(wH,{exponentialRetryStrategy:()=>hge,isExponentialRetryResponse:()=>NH,isSystemError:()=>xH});SH.exports=lge(wH);var Age=jQ(),uge=Cf(),dge=1e3,pge=1e3*64;function hge(t={}){let e=t.retryDelayInMs??dge,r=t.maxRetryDelayInMs??pge;return{name:"exponentialRetryStrategy",retry({retryCount:n,response:i,responseError:s}){let a=xH(s),c=a&&t.ignoreSystemErrors,l=NH(i),A=l&&t.ignoreHttpStatusCodes;return i&&((0,uge.isThrottlingRetryResponse)(i)||!l)||A||c?{skipStrategy:!0}:s&&!a&&!l?{errorToThrow:s}:(0,Age.calculateRetryDelay)(n,{retryDelayInMs:e,maxRetryDelayInMs:r})}}}o(hge,"exponentialRetryStrategy");function NH(t){return!!(t&&t.status!==void 0&&(t.status>=500||t.status===408)&&t.status!==501&&t.status!==505)}o(NH,"isExponentialRetryResponse");function xH(t){return t?t.code==="ETIMEDOUT"||t.code==="ESOCKETTIMEDOUT"||t.code==="ECONNREFUSED"||t.code==="ECONNRESET"||t.code==="ENOENT"||t.code==="ENOTFOUND":!1}o(xH,"isSystemError")});var Uc=g((BJe,vH)=>{var $Q=Object.defineProperty,fge=Object.getOwnPropertyDescriptor,mge=Object.getOwnPropertyNames,gge=Object.prototype.hasOwnProperty,yge=o((t,e)=>{for(var r in e)$Q(t,r,{get:e[r],enumerable:!0})},"__export"),Cge=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of mge(e))!gge.call(t,i)&&i!==r&&$Q(t,i,{get:()=>e[i],enumerable:!(n=fge(e,i))||n.enumerable});return t},"__copyProps"),Ege=o(t=>Cge($Q({},"__esModule",{value:!0}),t),"__toCommonJS"),_H={};yge(_H,{retryPolicy:()=>Nge});vH.exports=Ege(_H);var Bge=YQ(),Ige=Bu(),bge=bu(),RH=Ko(),Qge=(0,bge.createClientLogger)("ts-http-runtime retryPolicy"),wge="retryPolicy";function Nge(t,e={maxRetries:RH.DEFAULT_RETRY_POLICY_COUNT}){let r=e.logger||Qge;return{name:wge,async sendRequest(n,i){let s,a,c=-1;e:for(;;){c+=1,s=void 0,a=void 0;try{r.info(`Retry ${c}: Attempting to send request`,n.requestId),s=await i(n),r.info(`Retry ${c}: Received a response from request`,n.requestId)}catch(l){if(r.error(`Retry ${c}: Received an error from request`,n.requestId),a=l,!l||a.name!=="RestError")throw l;s=a.response}if(n.abortSignal?.aborted)throw r.error(`Retry ${c}: Request aborted.`),new Ige.AbortError;if(c>=(e.maxRetries??RH.DEFAULT_RETRY_POLICY_COUNT)){if(r.info(`Retry ${c}: Maximum retries reached. Returning the last received response, or throwing the last received error.`),a)throw a;if(s)return s;throw new Error("Maximum retries reached with no response or error to throw")}r.info(`Retry ${c}: Processing ${t.length} retry strategies.`);t:for(let l of t){let A=l.logger||r;A.info(`Retry ${c}: Processing retry strategy ${l.name}.`);let u=l.retry({retryCount:c,response:s,responseError:a});if(u.skipStrategy){A.info(`Retry ${c}: Skipped.`);continue t}let{errorToThrow:d,retryAfterInMs:f,redirectTo:m}=u;if(d)throw A.error(`Retry ${c}: Retry strategy ${l.name} throws error:`,d),d;if(f||f===0){A.info(`Retry ${c}: Retry strategy ${l.name} retries after ${f}`),await(0,Bge.delay)(f,void 0,{abortSignal:n.abortSignal});continue e}if(m){A.info(`Retry ${c}: Retry strategy ${l.name} redirects to ${m}`),n.url=m;continue e}}if(a)throw r.info("None of the retry strategies could work with the received error. Throwing it."),a;if(s)return r.info("None of the retry strategies could work with the received response. Returning it."),s}}}}o(Nge,"retryPolicy")});var XQ=g((bJe,TH)=>{var KQ=Object.defineProperty,xge=Object.getOwnPropertyDescriptor,Sge=Object.getOwnPropertyNames,Rge=Object.prototype.hasOwnProperty,_ge=o((t,e)=>{for(var r in e)KQ(t,r,{get:e[r],enumerable:!0})},"__export"),vge=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Sge(e))!Rge.call(t,i)&&i!==r&&KQ(t,i,{get:()=>e[i],enumerable:!(n=xge(e,i))||n.enumerable});return t},"__copyProps"),Pge=o(t=>vge(KQ({},"__esModule",{value:!0}),t),"__toCommonJS"),PH={};_ge(PH,{defaultRetryPolicy:()=>kge,defaultRetryPolicyName:()=>DH});TH.exports=Pge(PH);var Dge=Ef(),Tge=Cf(),Oge=Uc(),Mge=Ko(),DH="defaultRetryPolicy";function kge(t={}){return{name:DH,sendRequest:(0,Oge.retryPolicy)([(0,Tge.throttlingRetryStrategy)(),(0,Dge.exponentialRetryStrategy)(t)],{maxRetries:t.maxRetries??Mge.DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}o(kge,"defaultRetryPolicy")});var xu=g((wJe,UH)=>{var ZQ=Object.defineProperty,Lge=Object.getOwnPropertyDescriptor,Uge=Object.getOwnPropertyNames,Fge=Object.prototype.hasOwnProperty,qge=o((t,e)=>{for(var r in e)ZQ(t,r,{get:e[r],enumerable:!0})},"__export"),Hge=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Uge(e))!Fge.call(t,i)&&i!==r&&ZQ(t,i,{get:()=>e[i],enumerable:!(n=Lge(e,i))||n.enumerable});return t},"__copyProps"),zge=o(t=>Hge(ZQ({},"__esModule",{value:!0}),t),"__toCommonJS"),OH={};qge(OH,{isBrowser:()=>jge,isBun:()=>kH,isDeno:()=>MH,isNodeLike:()=>LH,isNodeRuntime:()=>Yge,isReactNative:()=>Jge,isWebWorker:()=>Gge});UH.exports=zge(OH);var jge=typeof window<"u"&&typeof window.document<"u",Gge=typeof self=="object"&&typeof self?.importScripts=="function"&&(self.constructor?.name==="DedicatedWorkerGlobalScope"||self.constructor?.name==="ServiceWorkerGlobalScope"||self.constructor?.name==="SharedWorkerGlobalScope"),MH=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",kH=typeof Bun<"u"&&typeof Bun.version<"u",LH=typeof globalThis.process<"u"&&!!globalThis.process.version&&!!globalThis.process.versions?.node,Yge=LH&&!kH&&!MH,Jge=typeof navigator<"u"&&navigator?.product==="ReactNative"});var tw=g((xJe,zH)=>{var ew=Object.defineProperty,Vge=Object.getOwnPropertyDescriptor,Wge=Object.getOwnPropertyNames,$ge=Object.prototype.hasOwnProperty,Kge=o((t,e)=>{for(var r in e)ew(t,r,{get:e[r],enumerable:!0})},"__export"),Xge=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Wge(e))!$ge.call(t,i)&&i!==r&&ew(t,i,{get:()=>e[i],enumerable:!(n=Vge(e,i))||n.enumerable});return t},"__copyProps"),Zge=o(t=>Xge(ew({},"__esModule",{value:!0}),t),"__toCommonJS"),qH={};Kge(qH,{formDataPolicy:()=>nye,formDataPolicyName:()=>HH});zH.exports=Zge(qH);var eye=$o(),tye=xu(),FH=Js(),HH="formDataPolicy";function rye(t){let e={};for(let[r,n]of t.entries())e[r]??=[],e[r].push(n);return e}o(rye,"formDataToFormDataMap");function nye(){return{name:HH,async sendRequest(t,e){if(tye.isNodeLike&&typeof FormData<"u"&&t.body instanceof FormData&&(t.formData=rye(t.body),t.body=void 0),t.formData){let r=t.headers.get("Content-Type");r&&r.indexOf("application/x-www-form-urlencoded")!==-1?t.body=iye(t.formData):await sye(t.formData,t),t.formData=void 0}return e(t)}}}o(nye,"formDataPolicy");function iye(t){let e=new URLSearchParams;for(let[r,n]of Object.entries(t))if(Array.isArray(n))for(let i of n)e.append(r,i.toString());else e.append(r,n.toString());return e.toString()}o(iye,"wwwFormUrlEncode");async function sye(t,e){let r=e.headers.get("Content-Type");if(r&&!r.startsWith("multipart/form-data"))return;e.headers.set("Content-Type",r??"multipart/form-data");let n=[];for(let[i,s]of Object.entries(t))for(let a of Array.isArray(s)?s:[s])if(typeof a=="string")n.push({headers:(0,FH.createHttpHeaders)({"Content-Disposition":`form-data; name="${i}"`}),body:(0,eye.stringToUint8Array)(a,"utf-8")});else{if(a==null||typeof a!="object")throw new Error(`Unexpected value for key ${i}: ${a}. Value should be serialized to string first.`);{let c=a.name||"blob",l=(0,FH.createHttpHeaders)();l.set("Content-Disposition",`form-data; name="${i}"; filename="${c}"`),l.set("Content-Type",a.type||"application/octet-stream"),n.push({headers:l,body:a})}}e.multipartBody={parts:n}}o(sye,"prepareFormData")});var GH=g((RJe,jH)=>{var Fc=1e3,qc=Fc*60,Hc=qc*60,Xo=Hc*24,oye=Xo*7,aye=Xo*365.25;jH.exports=function(t,e){e=e||{};var r=typeof t;if(r==="string"&&t.length>0)return cye(t);if(r==="number"&&isFinite(t))return e.long?Aye(t):lye(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function cye(t){if(t=String(t),!(t.length>100)){var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(e){var r=parseFloat(e[1]),n=(e[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return r*aye;case"weeks":case"week":case"w":return r*oye;case"days":case"day":case"d":return r*Xo;case"hours":case"hour":case"hrs":case"hr":case"h":return r*Hc;case"minutes":case"minute":case"mins":case"min":case"m":return r*qc;case"seconds":case"second":case"secs":case"sec":case"s":return r*Fc;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}o(cye,"parse");function lye(t){var e=Math.abs(t);return e>=Xo?Math.round(t/Xo)+"d":e>=Hc?Math.round(t/Hc)+"h":e>=qc?Math.round(t/qc)+"m":e>=Fc?Math.round(t/Fc)+"s":t+"ms"}o(lye,"fmtShort");function Aye(t){var e=Math.abs(t);return e>=Xo?Bf(t,e,Xo,"day"):e>=Hc?Bf(t,e,Hc,"hour"):e>=qc?Bf(t,e,qc,"minute"):e>=Fc?Bf(t,e,Fc,"second"):t+" ms"}o(Aye,"fmtLong");function Bf(t,e,r,n){var i=e>=r*1.5;return Math.round(t/r)+" "+n+(i?"s":"")}o(Bf,"plural")});var rw=g((vJe,YH)=>{function uye(t){r.debug=r,r.default=r,r.coerce=l,r.disable=a,r.enable=i,r.enabled=c,r.humanize=GH(),r.destroy=A,Object.keys(t).forEach(u=>{r[u]=t[u]}),r.names=[],r.skips=[],r.formatters={};function e(u){let d=0;for(let f=0;f{if(de==="%%")return"%";L++;let Te=r.formatters[le];if(typeof Te=="function"){let Oe=S[L];de=Te.call(w,Oe),S.splice(L,1),L--}return de}),r.formatArgs.call(w,S),(w.log||r.log).apply(w,S)}return o(Q,"debug"),Q.namespace=u,Q.useColors=r.useColors(),Q.color=r.selectColor(u),Q.extend=n,Q.destroy=r.destroy,Object.defineProperty(Q,"enabled",{enumerable:!0,configurable:!1,get:()=>f!==null?f:(m!==r.namespaces&&(m=r.namespaces,C=r.enabled(u)),C),set:S=>{f=S}}),typeof r.init=="function"&&r.init(Q),Q}o(r,"createDebug");function n(u,d){let f=r(this.namespace+(typeof d>"u"?":":d)+u);return f.log=this.log,f}o(n,"extend");function i(u){r.save(u),r.namespaces=u,r.names=[],r.skips=[];let d=(typeof u=="string"?u:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(let f of d)f[0]==="-"?r.skips.push(f.slice(1)):r.names.push(f)}o(i,"enable");function s(u,d){let f=0,m=0,C=-1,Q=0;for(;f"-"+d)].join(",");return r.enable(""),u}o(a,"disable");function c(u){for(let d of r.skips)if(s(u,d))return!1;for(let d of r.names)if(s(u,d))return!0;return!1}o(c,"enabled");function l(u){return u instanceof Error?u.stack||u.message:u}o(l,"coerce");function A(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return o(A,"destroy"),r.enable(r.load()),r}o(uye,"setup");YH.exports=uye});var JH=g((Rr,If)=>{Rr.formatArgs=pye;Rr.save=hye;Rr.load=fye;Rr.useColors=dye;Rr.storage=mye();Rr.destroy=(()=>{let t=!1;return()=>{t||(t=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();Rr.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function dye(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let t;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(t=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(t[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}o(dye,"useColors");function pye(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+If.exports.humanize(this.diff),!this.useColors)return;let e="color: "+this.color;t.splice(1,0,e,"color: inherit");let r=0,n=0;t[0].replace(/%[a-zA-Z%]/g,i=>{i!=="%%"&&(r++,i==="%c"&&(n=r))}),t.splice(n,0,e)}o(pye,"formatArgs");Rr.log=console.debug||console.log||(()=>{});function hye(t){try{t?Rr.storage.setItem("debug",t):Rr.storage.removeItem("debug")}catch{}}o(hye,"save");function fye(){let t;try{t=Rr.storage.getItem("debug")||Rr.storage.getItem("DEBUG")}catch{}return!t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t}o(fye,"load");function mye(){try{return localStorage}catch{}}o(mye,"localstorage");If.exports=rw()(Rr);var{formatters:gye}=If.exports;gye.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var WH=g((zt,Qf)=>{var yye=require("tty"),bf=require("util");zt.init=wye;zt.log=Iye;zt.formatArgs=Eye;zt.save=bye;zt.load=Qye;zt.useColors=Cye;zt.destroy=bf.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");zt.colors=[6,2,3,4,5,1];try{let t=require("supports-color");t&&(t.stderr||t).level>=2&&(zt.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}zt.inspectOpts=Object.keys(process.env).filter(t=>/^debug_/i.test(t)).reduce((t,e)=>{let r=e.substring(6).toLowerCase().replace(/_([a-z])/g,(i,s)=>s.toUpperCase()),n=process.env[e];return/^(yes|on|true|enabled)$/i.test(n)?n=!0:/^(no|off|false|disabled)$/i.test(n)?n=!1:n==="null"?n=null:n=Number(n),t[r]=n,t},{});function Cye(){return"colors"in zt.inspectOpts?!!zt.inspectOpts.colors:yye.isatty(process.stderr.fd)}o(Cye,"useColors");function Eye(t){let{namespace:e,useColors:r}=this;if(r){let n=this.color,i="\x1B[3"+(n<8?n:"8;5;"+n),s=` ${i};1m${e} \x1B[0m`;t[0]=s+t[0].split(` +`).map(s=>s.trim());for(let s of i)!s||s.startsWith("#")||n.patterns.push(new Sq.Pattern(s));return n.searchPaths.push(...Gy.getSearchPaths(n.patterns)),n})}static stat(e,r,n){return dN(this,void 0,void 0,function*(){let i;if(r.followSymbolicLinks)try{i=yield Cp.promises.stat(e.path)}catch(s){if(s.code==="ENOENT"){if(r.omitBrokenSymbolicLinks){fN.debug(`Broken symlink '${e.path}'`);return}throw new Error(`No information found for the path '${e.path}'. This may indicate a broken symbolic link.`)}throw s}else i=yield Cp.promises.lstat(e.path);if(i.isDirectory()&&r.followSymbolicLinks){let s=yield Cp.promises.realpath(e.path);for(;n.length>=e.level;)n.pop();if(n.some(a=>a===s)){fN.debug(`Symlink cycle detected for path '${e.path}' and realpath '${s}'`);return}n.push(s)}return i})}};Jr.DefaultGlobber=hN});var Dq=x(ki=>{"use strict";var ECe=ki&&ki.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),bCe=ki&&ki.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),cd=ki&&ki.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i{"use strict";var kq=ld&&ld.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(A){try{u(n.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(n.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?s(A.value):i(A.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};Object.defineProperty(ld,"__esModule",{value:!0});ld.create=Tq;ld.hashFiles=vCe;var SCe=vq(),NCe=Dq();function Tq(t,e){return kq(this,void 0,void 0,function*(){return yield SCe.DefaultGlobber.create(t,e)})}o(Tq,"create");function vCe(t){return kq(this,arguments,void 0,function*(e,r="",n,i=!1){let s=!0;n&&typeof n.followSymbolicLinks=="boolean"&&(s=n.followSymbolicLinks);let a=yield Tq(e,{followSymbolicLinks:s});return(0,NCe.hashFiles)(a,r,i)})}o(vCe,"hashFiles")});var qq=x((qe,Hq)=>{qe=Hq.exports=We;var xt;typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?xt=o(function(){var t=Array.prototype.slice.call(arguments,0);t.unshift("SEMVER"),console.log.apply(console,t)},"debug"):xt=o(function(){},"debug");qe.SEMVER_SPEC_VERSION="2.0.0";var Ip=256,jy=Number.MAX_SAFE_INTEGER||9007199254740991,pN=16,RCe=Ip-6,ud=qe.re=[],Ct=qe.safeRe=[],se=qe.src=[],$=qe.tokens={},Uq=0;function Ze(t){$[t]=Uq++}o(Ze,"tok");var mN="[a-zA-Z0-9-]",gN=[["\\s",1],["\\d",Ip],[mN,RCe]];function wp(t){for(var e=0;e)?=?)";Ze("XRANGEIDENTIFIERLOOSE");se[$.XRANGEIDENTIFIERLOOSE]=se[$.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*";Ze("XRANGEIDENTIFIER");se[$.XRANGEIDENTIFIER]=se[$.NUMERICIDENTIFIER]+"|x|X|\\*";Ze("XRANGEPLAIN");se[$.XRANGEPLAIN]="[v=\\s]*("+se[$.XRANGEIDENTIFIER]+")(?:\\.("+se[$.XRANGEIDENTIFIER]+")(?:\\.("+se[$.XRANGEIDENTIFIER]+")(?:"+se[$.PRERELEASE]+")?"+se[$.BUILD]+"?)?)?";Ze("XRANGEPLAINLOOSE");se[$.XRANGEPLAINLOOSE]="[v=\\s]*("+se[$.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+se[$.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+se[$.XRANGEIDENTIFIERLOOSE]+")(?:"+se[$.PRERELEASELOOSE]+")?"+se[$.BUILD]+"?)?)?";Ze("XRANGE");se[$.XRANGE]="^"+se[$.GTLT]+"\\s*"+se[$.XRANGEPLAIN]+"$";Ze("XRANGELOOSE");se[$.XRANGELOOSE]="^"+se[$.GTLT]+"\\s*"+se[$.XRANGEPLAINLOOSE]+"$";Ze("COERCE");se[$.COERCE]="(^|[^\\d])(\\d{1,"+pN+"})(?:\\.(\\d{1,"+pN+"}))?(?:\\.(\\d{1,"+pN+"}))?(?:$|[^\\d])";Ze("COERCERTL");ud[$.COERCERTL]=new RegExp(se[$.COERCE],"g");Ct[$.COERCERTL]=new RegExp(wp(se[$.COERCE]),"g");Ze("LONETILDE");se[$.LONETILDE]="(?:~>?)";Ze("TILDETRIM");se[$.TILDETRIM]="(\\s*)"+se[$.LONETILDE]+"\\s+";ud[$.TILDETRIM]=new RegExp(se[$.TILDETRIM],"g");Ct[$.TILDETRIM]=new RegExp(wp(se[$.TILDETRIM]),"g");var PCe="$1~";Ze("TILDE");se[$.TILDE]="^"+se[$.LONETILDE]+se[$.XRANGEPLAIN]+"$";Ze("TILDELOOSE");se[$.TILDELOOSE]="^"+se[$.LONETILDE]+se[$.XRANGEPLAINLOOSE]+"$";Ze("LONECARET");se[$.LONECARET]="(?:\\^)";Ze("CARETTRIM");se[$.CARETTRIM]="(\\s*)"+se[$.LONECARET]+"\\s+";ud[$.CARETTRIM]=new RegExp(se[$.CARETTRIM],"g");Ct[$.CARETTRIM]=new RegExp(wp(se[$.CARETTRIM]),"g");var _Ce="$1^";Ze("CARET");se[$.CARET]="^"+se[$.LONECARET]+se[$.XRANGEPLAIN]+"$";Ze("CARETLOOSE");se[$.CARETLOOSE]="^"+se[$.LONECARET]+se[$.XRANGEPLAINLOOSE]+"$";Ze("COMPARATORLOOSE");se[$.COMPARATORLOOSE]="^"+se[$.GTLT]+"\\s*("+se[$.LOOSEPLAIN]+")$|^$";Ze("COMPARATOR");se[$.COMPARATOR]="^"+se[$.GTLT]+"\\s*("+se[$.FULLPLAIN]+")$|^$";Ze("COMPARATORTRIM");se[$.COMPARATORTRIM]="(\\s*)"+se[$.GTLT]+"\\s*("+se[$.LOOSEPLAIN]+"|"+se[$.XRANGEPLAIN]+")";ud[$.COMPARATORTRIM]=new RegExp(se[$.COMPARATORTRIM],"g");Ct[$.COMPARATORTRIM]=new RegExp(wp(se[$.COMPARATORTRIM]),"g");var DCe="$1$2$3";Ze("HYPHENRANGE");se[$.HYPHENRANGE]="^\\s*("+se[$.XRANGEPLAIN]+")\\s+-\\s+("+se[$.XRANGEPLAIN]+")\\s*$";Ze("HYPHENRANGELOOSE");se[$.HYPHENRANGELOOSE]="^\\s*("+se[$.XRANGEPLAINLOOSE]+")\\s+-\\s+("+se[$.XRANGEPLAINLOOSE]+")\\s*$";Ze("STAR");se[$.STAR]="(<|>)?=?\\s*\\*";for(xo=0;xoIp)return null;var r=e.loose?Ct[$.LOOSE]:Ct[$.FULL];if(!r.test(t))return null;try{return new We(t,e)}catch{return null}}o(ru,"parse");qe.valid=kCe;function kCe(t,e){var r=ru(t,e);return r?r.version:null}o(kCe,"valid");qe.clean=TCe;function TCe(t,e){var r=ru(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null}o(TCe,"clean");qe.SemVer=We;function We(t,e){if((!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1}),t instanceof We){if(t.loose===e.loose)return t;t=t.version}else if(typeof t!="string")throw new TypeError("Invalid Version: "+t);if(t.length>Ip)throw new TypeError("version is longer than "+Ip+" characters");if(!(this instanceof We))return new We(t,e);xt("SemVer",t,e),this.options=e,this.loose=!!e.loose;var r=t.trim().match(e.loose?Ct[$.LOOSE]:Ct[$.FULL]);if(!r)throw new TypeError("Invalid Version: "+t);if(this.raw=t,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>jy||this.major<0)throw new TypeError("Invalid major version");if(this.minor>jy||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>jy||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(function(n){if(/^[0-9]+$/.test(n)){var i=+n;if(i>=0&&i=0;)typeof this.prerelease[r]=="number"&&(this.prerelease[r]++,r=-2);r===-1&&this.prerelease.push(0)}e&&(this.prerelease[0]===e?isNaN(this.prerelease[1])&&(this.prerelease=[e,0]):this.prerelease=[e,0]);break;default:throw new Error("invalid increment argument: "+t)}return this.format(),this.raw=this.version,this};qe.inc=OCe;function OCe(t,e,r,n){typeof r=="string"&&(n=r,r=void 0);try{return new We(t,r).inc(e,n).version}catch{return null}}o(OCe,"inc");qe.diff=MCe;function MCe(t,e){if(yN(t,e))return null;var r=ru(t),n=ru(e),i="";if(r.prerelease.length||n.prerelease.length){i="pre";var s="prerelease"}for(var a in r)if((a==="major"||a==="minor"||a==="patch")&&r[a]!==n[a])return i+a;return s}o(MCe,"diff");qe.compareIdentifiers=tu;var Mq=/^[0-9]+$/;function tu(t,e){var r=Mq.test(t),n=Mq.test(e);return r&&n&&(t=+t,e=+e),t===e?0:r&&!n?-1:n&&!r?1:t0}o(Bp,"gt");qe.lt=Yy;function Yy(t,e,r){return xa(t,e,r)<0}o(Yy,"lt");qe.eq=yN;function yN(t,e,r){return xa(t,e,r)===0}o(yN,"eq");qe.neq=Fq;function Fq(t,e,r){return xa(t,e,r)!==0}o(Fq,"neq");qe.gte=EN;function EN(t,e,r){return xa(t,e,r)>=0}o(EN,"gte");qe.lte=bN;function bN(t,e,r){return xa(t,e,r)<=0}o(bN,"lte");qe.cmp=Ky;function Ky(t,e,r,n){switch(e){case"===":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t===r;case"!==":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t!==r;case"":case"=":case"==":return yN(t,r,n);case"!=":return Fq(t,r,n);case">":return Bp(t,r,n);case">=":return EN(t,r,n);case"<":return Yy(t,r,n);case"<=":return bN(t,r,n);default:throw new TypeError("Invalid operator: "+e)}}o(Ky,"cmp");qe.Comparator=cs;function cs(t,e){if((!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1}),t instanceof cs){if(t.loose===!!e.loose)return t;t=t.value}if(!(this instanceof cs))return new cs(t,e);t=t.trim().split(/\s+/).join(" "),xt("comparator",t,e),this.options=e,this.loose=!!e.loose,this.parse(t),this.semver===Ad?this.value="":this.value=this.operator+this.semver.version,xt("comp",this)}o(cs,"Comparator");var Ad={};cs.prototype.parse=function(t){var e=this.options.loose?Ct[$.COMPARATORLOOSE]:Ct[$.COMPARATOR],r=t.match(e);if(!r)throw new TypeError("Invalid comparator: "+t);this.operator=r[1]!==void 0?r[1]:"",this.operator==="="&&(this.operator=""),r[2]?this.semver=new We(r[2],this.options.loose):this.semver=Ad};cs.prototype.toString=function(){return this.value};cs.prototype.test=function(t){if(xt("Comparator.test",t,this.options.loose),this.semver===Ad||t===Ad)return!0;if(typeof t=="string")try{t=new We(t,this.options)}catch{return!1}return Ky(t,this.operator,this.semver,this.options)};cs.prototype.intersects=function(t,e){if(!(t instanceof cs))throw new TypeError("a Comparator is required");(!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1});var r;if(this.operator==="")return this.value===""?!0:(r=new or(t.value,e),Jy(this.value,r,e));if(t.operator==="")return t.value===""?!0:(r=new or(this.value,e),Jy(t.semver,r,e));var n=(this.operator===">="||this.operator===">")&&(t.operator===">="||t.operator===">"),i=(this.operator==="<="||this.operator==="<")&&(t.operator==="<="||t.operator==="<"),s=this.semver.version===t.semver.version,a=(this.operator===">="||this.operator==="<=")&&(t.operator===">="||t.operator==="<="),c=Ky(this.semver,"<",t.semver,e)&&(this.operator===">="||this.operator===">")&&(t.operator==="<="||t.operator==="<"),l=Ky(this.semver,">",t.semver,e)&&(this.operator==="<="||this.operator==="<")&&(t.operator===">="||t.operator===">");return n||i||s&&a||c||l};qe.Range=or;function or(t,e){if((!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1}),t instanceof or)return t.loose===!!e.loose&&t.includePrerelease===!!e.includePrerelease?t:new or(t.raw,e);if(t instanceof cs)return new or(t.value,e);if(!(this instanceof or))return new or(t,e);if(this.options=e,this.loose=!!e.loose,this.includePrerelease=!!e.includePrerelease,this.raw=t.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(function(r){return this.parseRange(r.trim())},this).filter(function(r){return r.length}),!this.set.length)throw new TypeError("Invalid SemVer Range: "+this.raw);this.format()}o(or,"Range");or.prototype.format=function(){return this.range=this.set.map(function(t){return t.join(" ").trim()}).join("||").trim(),this.range};or.prototype.toString=function(){return this.range};or.prototype.parseRange=function(t){var e=this.options.loose,r=e?Ct[$.HYPHENRANGELOOSE]:Ct[$.HYPHENRANGE];t=t.replace(r,rxe),xt("hyphen replace",t),t=t.replace(Ct[$.COMPARATORTRIM],DCe),xt("comparator trim",t,Ct[$.COMPARATORTRIM]),t=t.replace(Ct[$.TILDETRIM],PCe),t=t.replace(Ct[$.CARETTRIM],_Ce),t=t.split(/\s+/).join(" ");var n=e?Ct[$.COMPARATORLOOSE]:Ct[$.COMPARATOR],i=t.split(" ").map(function(s){return JCe(s,this.options)},this).join(" ").split(/\s+/);return this.options.loose&&(i=i.filter(function(s){return!!s.match(n)})),i=i.map(function(s){return new cs(s,this.options)},this),i};or.prototype.intersects=function(t,e){if(!(t instanceof or))throw new TypeError("a Range is required");return this.set.some(function(r){return Lq(r,e)&&t.set.some(function(n){return Lq(n,e)&&r.every(function(i){return n.every(function(s){return i.intersects(s,e)})})})})};function Lq(t,e){for(var r=!0,n=t.slice(),i=n.pop();r&&n.length;)r=n.every(function(s){return i.intersects(s,e)}),i=n.pop();return r}o(Lq,"isSatisfiable");qe.toComparators=KCe;function KCe(t,e){return new or(t,e).set.map(function(r){return r.map(function(n){return n.value}).join(" ").trim().split(" ")})}o(KCe,"toComparators");function JCe(t,e){return xt("comp",t,e),t=$Ce(t,e),xt("caret",t),t=VCe(t,e),xt("tildes",t),t=ZCe(t,e),xt("xrange",t),t=txe(t,e),xt("stars",t),t}o(JCe,"parseComparator");function kn(t){return!t||t.toLowerCase()==="x"||t==="*"}o(kn,"isX");function VCe(t,e){return t.trim().split(/\s+/).map(function(r){return WCe(r,e)}).join(" ")}o(VCe,"replaceTildes");function WCe(t,e){var r=e.loose?Ct[$.TILDELOOSE]:Ct[$.TILDE];return t.replace(r,function(n,i,s,a,c){xt("tilde",t,n,i,s,a,c);var l;return kn(i)?l="":kn(s)?l=">="+i+".0.0 <"+(+i+1)+".0.0":kn(a)?l=">="+i+"."+s+".0 <"+i+"."+(+s+1)+".0":c?(xt("replaceTilde pr",c),l=">="+i+"."+s+"."+a+"-"+c+" <"+i+"."+(+s+1)+".0"):l=">="+i+"."+s+"."+a+" <"+i+"."+(+s+1)+".0",xt("tilde return",l),l})}o(WCe,"replaceTilde");function $Ce(t,e){return t.trim().split(/\s+/).map(function(r){return XCe(r,e)}).join(" ")}o($Ce,"replaceCarets");function XCe(t,e){xt("caret",t,e);var r=e.loose?Ct[$.CARETLOOSE]:Ct[$.CARET];return t.replace(r,function(n,i,s,a,c){xt("caret",t,n,i,s,a,c);var l;return kn(i)?l="":kn(s)?l=">="+i+".0.0 <"+(+i+1)+".0.0":kn(a)?i==="0"?l=">="+i+"."+s+".0 <"+i+"."+(+s+1)+".0":l=">="+i+"."+s+".0 <"+(+i+1)+".0.0":c?(xt("replaceCaret pr",c),i==="0"?s==="0"?l=">="+i+"."+s+"."+a+"-"+c+" <"+i+"."+s+"."+(+a+1):l=">="+i+"."+s+"."+a+"-"+c+" <"+i+"."+(+s+1)+".0":l=">="+i+"."+s+"."+a+"-"+c+" <"+(+i+1)+".0.0"):(xt("no pr"),i==="0"?s==="0"?l=">="+i+"."+s+"."+a+" <"+i+"."+s+"."+(+a+1):l=">="+i+"."+s+"."+a+" <"+i+"."+(+s+1)+".0":l=">="+i+"."+s+"."+a+" <"+(+i+1)+".0.0"),xt("caret return",l),l})}o(XCe,"replaceCaret");function ZCe(t,e){return xt("replaceXRanges",t,e),t.split(/\s+/).map(function(r){return exe(r,e)}).join(" ")}o(ZCe,"replaceXRanges");function exe(t,e){t=t.trim();var r=e.loose?Ct[$.XRANGELOOSE]:Ct[$.XRANGE];return t.replace(r,function(n,i,s,a,c,l){xt("xRange",t,n,i,s,a,c,l);var u=kn(s),A=u||kn(a),d=A||kn(c),f=d;return i==="="&&f&&(i=""),l=e.includePrerelease?"-0":"",u?i===">"||i==="<"?n="<0.0.0-0":n="*":i&&f?(A&&(a=0),c=0,i===">"?(i=">=",A?(s=+s+1,a=0,c=0):(a=+a+1,c=0)):i==="<="&&(i="<",A?s=+s+1:a=+a+1),n=i+s+"."+a+"."+c+l):A?n=">="+s+".0.0"+l+" <"+(+s+1)+".0.0"+l:d&&(n=">="+s+"."+a+".0"+l+" <"+s+"."+(+a+1)+".0"+l),xt("xRange return",n),n})}o(exe,"replaceXRange");function txe(t,e){return xt("replaceStars",t,e),t.trim().replace(Ct[$.STAR],"")}o(txe,"replaceStars");function rxe(t,e,r,n,i,s,a,c,l,u,A,d,f){return kn(r)?e="":kn(n)?e=">="+r+".0.0":kn(i)?e=">="+r+"."+n+".0":e=">="+e,kn(l)?c="":kn(u)?c="<"+(+l+1)+".0.0":kn(A)?c="<"+l+"."+(+u+1)+".0":d?c="<="+l+"."+u+"."+A+"-"+d:c="<="+c,(e+" "+c).trim()}o(rxe,"hyphenReplace");or.prototype.test=function(t){if(!t)return!1;if(typeof t=="string")try{t=new We(t,this.options)}catch{return!1}for(var e=0;e0){var i=t[n].semver;if(i.major===e.major&&i.minor===e.minor&&i.patch===e.patch)return!0}return!1}return!0}o(nxe,"testSet");qe.satisfies=Jy;function Jy(t,e,r){try{e=new or(e,r)}catch{return!1}return e.test(t)}o(Jy,"satisfies");qe.maxSatisfying=ixe;function ixe(t,e,r){var n=null,i=null;try{var s=new or(e,r)}catch{return null}return t.forEach(function(a){s.test(a)&&(!n||i.compare(a)===-1)&&(n=a,i=new We(n,r))}),n}o(ixe,"maxSatisfying");qe.minSatisfying=sxe;function sxe(t,e,r){var n=null,i=null;try{var s=new or(e,r)}catch{return null}return t.forEach(function(a){s.test(a)&&(!n||i.compare(a)===1)&&(n=a,i=new We(n,r))}),n}o(sxe,"minSatisfying");qe.minVersion=oxe;function oxe(t,e){t=new or(t,e);var r=new We("0.0.0");if(t.test(r)||(r=new We("0.0.0-0"),t.test(r)))return r;r=null;for(var n=0;n":a.prerelease.length===0?a.patch++:a.prerelease.push(0),a.raw=a.format();case"":case">=":(!r||Bp(r,a))&&(r=a);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+s.operator)}})}return r&&t.test(r)?r:null}o(oxe,"minVersion");qe.validRange=axe;function axe(t,e){try{return new or(t,e).range||"*"}catch{return null}}o(axe,"validRange");qe.ltr=cxe;function cxe(t,e,r){return CN(t,e,"<",r)}o(cxe,"ltr");qe.gtr=lxe;function lxe(t,e,r){return CN(t,e,">",r)}o(lxe,"gtr");qe.outside=CN;function CN(t,e,r,n){t=new We(t,n),e=new or(e,n);var i,s,a,c,l;switch(r){case">":i=Bp,s=bN,a=Yy,c=">",l=">=";break;case"<":i=Yy,s=EN,a=Bp,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(Jy(t,e,n))return!1;for(var u=0;u=0.0.0")),d=d||h,f=f||h,i(h.semver,d.semver,n)?d=h:a(h.semver,f.semver,n)&&(f=h)}),d.operator===c||d.operator===l||(!f.operator||f.operator===c)&&s(t,f.semver))return!1;if(f.operator===l&&a(t,f.semver))return!1}return!0}o(CN,"outside");qe.prerelease=uxe;function uxe(t,e){var r=ru(t,e);return r&&r.prerelease.length?r.prerelease:null}o(uxe,"prerelease");qe.intersects=Axe;function Axe(t,e,r){return t=new or(t,r),e=new or(e,r),t.intersects(e)}o(Axe,"intersects");qe.coerce=dxe;function dxe(t,e){if(t instanceof We)return t;if(typeof t=="number"&&(t=String(t)),typeof t!="string")return null;e=e||{};var r=null;if(!e.rtl)r=t.match(Ct[$.COERCE]);else{for(var n;(n=Ct[$.COERCERTL].exec(t))&&(!r||r.index+r[0].length!==t.length);)(!r||n.index+n[0].length!==r.index+r[0].length)&&(r=n),Ct[$.COERCERTL].lastIndex=n.index+n[1].length+n[2].length;Ct[$.COERCERTL].lastIndex=-1}return r===null?null:ru(r[2]+"."+(r[3]||"0")+"."+(r[4]||"0"),e)}o(dxe,"coerce")});var Qp=x($t=>{"use strict";Object.defineProperty($t,"__esModule",{value:!0});$t.CacheFileSizeLimit=$t.ManifestFilename=$t.TarFilename=$t.SystemTarPathOnWindows=$t.GnuTarPathOnWindows=$t.SocketTimeout=$t.DefaultRetryDelay=$t.DefaultRetryAttempts=$t.ArchiveToolType=$t.CompressionMethod=$t.CacheFilename=void 0;var zq;(function(t){t.Gzip="cache.tgz",t.Zstd="cache.tzst"})(zq||($t.CacheFilename=zq={}));var Gq;(function(t){t.Gzip="gzip",t.ZstdWithoutLong="zstd-without-long",t.Zstd="zstd"})(Gq||($t.CompressionMethod=Gq={}));var jq;(function(t){t.GNU="gnu",t.BSD="bsd"})(jq||($t.ArchiveToolType=jq={}));$t.DefaultRetryAttempts=2;$t.DefaultRetryDelay=5e3;$t.SocketTimeout=5e3;$t.GnuTarPathOnWindows=`${process.env.PROGRAMFILES}\\Git\\usr\\bin\\tar.exe`;$t.SystemTarPathOnWindows=`${process.env.SYSTEMDRIVE}\\Windows\\System32\\tar.exe`;$t.TarFilename="cache.tar";$t.ManifestFilename="manifest.txt";$t.CacheFileSizeLimit=10*Math.pow(1024,3)});var fd=x(ur=>{"use strict";var fxe=ur&&ur.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),hxe=ur&&ur.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),Ia=ur&&ur.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;in+=i.toString(),"stdout"),stderr:o(i=>n+=i.toString(),"stderr")}})}catch(i){Sp.debug(i.message)}return n=n.trim(),Sp.debug(n),n})}o(Jq,"getVersion");function wxe(){return dd(this,void 0,void 0,function*(){let t=yield Jq("zstd",["--quiet"]),e=yxe.clean(t);return Sp.debug(`zstd version: ${e}`),t===""?nu.CompressionMethod.Gzip:nu.CompressionMethod.ZstdWithoutLong})}o(wxe,"getCompressionMethod");function Qxe(t){return t===nu.CompressionMethod.Gzip?nu.CacheFilename.Gzip:nu.CacheFilename.Zstd}o(Qxe,"getCacheFileName");function Sxe(){return dd(this,void 0,void 0,function*(){return xN.existsSync(nu.GnuTarPathOnWindows)?nu.GnuTarPathOnWindows:(yield Jq("tar")).toLowerCase().includes("gnu tar")?Yq.which("tar"):""})}o(Sxe,"getGnuTarPathOnWindows");function Nxe(t,e){if(e===void 0)throw Error(`Expected ${t} but value was undefiend`);return e}o(Nxe,"assertDefined");function vxe(t,e,r=!1){let n=t.slice();return e&&n.push(e),process.platform==="win32"&&!r&&n.push("windows-only"),n.push(bxe),Kq.createHash("sha256").update(n.join("|")).digest("hex")}o(vxe,"getCacheVersion");function Rxe(){let t=process.env.ACTIONS_RUNTIME_TOKEN;if(!t)throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable");return t}o(Rxe,"getRuntimeToken")});var Vr={};hoe(Vr,{__addDisposableResource:()=>E9,__assign:()=>Wy,__asyncDelegator:()=>A9,__asyncGenerator:()=>u9,__asyncValues:()=>d9,__await:()=>hd,__awaiter:()=>i9,__classPrivateFieldGet:()=>g9,__classPrivateFieldIn:()=>y9,__classPrivateFieldSet:()=>m9,__createBinding:()=>Xy,__decorate:()=>$q,__disposeResources:()=>b9,__esDecorate:()=>Zq,__exportStar:()=>o9,__extends:()=>Vq,__generator:()=>s9,__importDefault:()=>p9,__importStar:()=>h9,__makeTemplateObject:()=>f9,__metadata:()=>n9,__param:()=>Xq,__propKey:()=>t9,__read:()=>wN,__rest:()=>Wq,__rewriteRelativeImportExtension:()=>C9,__runInitializers:()=>e9,__setFunctionName:()=>r9,__spread:()=>a9,__spreadArray:()=>l9,__spreadArrays:()=>c9,__values:()=>$y,default:()=>Dxe});function Vq(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");IN(t,e);function r(){this.constructor=t}o(r,"__"),t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}function Wq(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(t);i=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s}function Xq(t,e){return function(r,n){e(r,n,t)}}function Zq(t,e,r,n,i,s){function a(y){if(y!==void 0&&typeof y!="function")throw new TypeError("Function expected");return y}o(a,"accept");for(var c=n.kind,l=c==="getter"?"get":c==="setter"?"set":"value",u=!e&&t?n.static?t:t.prototype:null,A=e||(u?Object.getOwnPropertyDescriptor(u,n.name):{}),d,f=!1,h=r.length-1;h>=0;h--){var g={};for(var m in n)g[m]=m==="access"?{}:n[m];for(var m in n.access)g.access[m]=n.access[m];g.addInitializer=function(y){if(f)throw new TypeError("Cannot add initializers after decoration has completed");s.push(a(y||null))};var b=(0,r[h])(c==="accessor"?{get:A.get,set:A.set}:A[l],g);if(c==="accessor"){if(b===void 0)continue;if(b===null||typeof b!="object")throw new TypeError("Object expected");(d=a(b.get))&&(A.get=d),(d=a(b.set))&&(A.set=d),(d=a(b.init))&&i.unshift(d)}else(d=a(b))&&(c==="field"?i.unshift(d):A[l]=d)}u&&Object.defineProperty(u,n.name,A),f=!0}function e9(t,e,r){for(var n=arguments.length>2,i=0;i0&&s[s.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!s||u[1]>s[0]&&u[1]=t.length&&(t=void 0),{value:t&&t[n++],done:!t}},"next")};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function wN(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,s=[],a;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)s.push(i.value)}catch(c){a={error:c}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(a)throw a.error}}return s}function a9(){for(var t=[],e=0;e1||l(h,m)})},g&&(i[h]=g(i[h])))}function l(h,g){try{u(n[h](g))}catch(m){f(s[0][3],m)}}function u(h){h.value instanceof hd?Promise.resolve(h.value.v).then(A,d):f(s[0][2],h)}function A(h){l("next",h)}function d(h){l("throw",h)}function f(h,g){h(g),s.shift(),s.length&&l(s[0][0],s[0][1])}}function A9(t){var e,r;return e={},n("next"),n("throw",function(i){throw i}),n("return"),e[Symbol.iterator]=function(){return this},e;function n(i,s){e[i]=t[i]?function(a){return(r=!r)?{value:hd(t[i](a)),done:!1}:s?s(a):a}:s}}function d9(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof $y=="function"?$y(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(s){r[s]=t[s]&&function(a){return new Promise(function(c,l){a=t[s](a),i(c,l,a.done,a.value)})}}function i(s,a,c,l){Promise.resolve(l).then(function(u){s({value:u,done:c})},a)}}function f9(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function h9(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r=BN(t),n=0;n{IN=o(function(t,e){return IN=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},IN(t,e)},"extendStatics");o(Vq,"__extends");Wy=o(function(){return Wy=Object.assign||o(function(e){for(var r,n=1,i=arguments.length;n{var SN=Object.defineProperty,kxe=Object.getOwnPropertyDescriptor,Txe=Object.getOwnPropertyNames,Oxe=Object.prototype.hasOwnProperty,Mxe=o((t,e)=>{for(var r in e)SN(t,r,{get:e[r],enumerable:!0})},"__export"),Lxe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Txe(e))!Oxe.call(t,i)&&i!==r&&SN(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=kxe(e,i))||n.enumerable});return t},"__copyProps"),Uxe=o(t=>Lxe(SN({},"__esModule",{value:!0}),t),"__toCommonJS"),x9={};Mxe(x9,{AbortError:o(()=>QN,"AbortError")});I9.exports=Uxe(x9);var QN=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}}});var N9=x((ont,S9)=>{var Fxe=Object.create,Zy=Object.defineProperty,Hxe=Object.getOwnPropertyDescriptor,qxe=Object.getOwnPropertyNames,zxe=Object.getPrototypeOf,Gxe=Object.prototype.hasOwnProperty,jxe=o((t,e)=>{for(var r in e)Zy(t,r,{get:e[r],enumerable:!0})},"__export"),B9=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of qxe(e))!Gxe.call(t,i)&&i!==r&&Zy(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=Hxe(e,i))||n.enumerable});return t},"__copyProps"),w9=o((t,e,r)=>(r=t!=null?Fxe(zxe(t)):{},B9(e||!t||!t.__esModule?Zy(r,"default",{value:t,enumerable:!0}):r,t)),"__toESM"),Yxe=o(t=>B9(Zy({},"__esModule",{value:!0}),t),"__toCommonJS"),Q9={};jxe(Q9,{log:o(()=>Wxe,"log")});S9.exports=Yxe(Q9);var Kxe=require("node:os"),Jxe=w9(require("node:util")),Vxe=w9(require("node:process"));function Wxe(t,...e){Vxe.default.stderr.write(`${Jxe.default.format(t,...e)}${Kxe.EOL}`)}o(Wxe,"log")});var O9=x((cnt,T9)=>{var RN=Object.defineProperty,$xe=Object.getOwnPropertyDescriptor,Xxe=Object.getOwnPropertyNames,Zxe=Object.prototype.hasOwnProperty,eIe=o((t,e)=>{for(var r in e)RN(t,r,{get:e[r],enumerable:!0})},"__export"),tIe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Xxe(e))!Zxe.call(t,i)&&i!==r&&RN(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=$xe(e,i))||n.enumerable});return t},"__copyProps"),rIe=o(t=>tIe(RN({},"__esModule",{value:!0}),t),"__toCommonJS"),P9={};eIe(P9,{default:o(()=>aIe,"default")});T9.exports=rIe(P9);var nIe=N9(),v9=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,_9,NN=[],vN=[],eE=[];v9&&PN(v9);var D9=Object.assign(t=>k9(t),{enable:PN,enabled:_N,disable:iIe,log:nIe.log});function PN(t){_9=t,NN=[],vN=[];let e=t.split(",").map(r=>r.trim());for(let r of e)r.startsWith("-")?vN.push(r.substring(1)):NN.push(r);for(let r of eE)r.enabled=_N(r.namespace)}o(PN,"enable");function _N(t){if(t.endsWith("*"))return!0;for(let e of vN)if(R9(t,e))return!1;for(let e of NN)if(R9(t,e))return!0;return!1}o(_N,"enabled");function R9(t,e){if(e.indexOf("*")===-1)return t===e;let r=e;if(e.indexOf("**")!==-1){let f=[],h="";for(let g of e)g==="*"&&h==="*"||(h=g,f.push(g));r=f.join("")}let n=0,i=0,s=r.length,a=t.length,c=-1,l=-1;for(;n=0){if(i=c+1,n=l+1,n===a)return!1;for(;t[n]!==r[i];)if(n++,n===a)return!1;l=n,n++,i++;continue}else return!1;let u=n===t.length,A=i===r.length,d=i===r.length-1&&r[i]==="*";return u&&(A||d)}o(R9,"namespaceMatches");function iIe(){let t=_9||"";return PN(""),t}o(iIe,"disable");function k9(t){let e=Object.assign(r,{enabled:_N(t),destroy:sIe,log:D9.log,namespace:t,extend:oIe});function r(...n){e.enabled&&(n.length>0&&(n[0]=`${t} ${n[0]}`),e.log(...n))}return o(r,"debug"),eE.push(e),e}o(k9,"createDebugger");function sIe(){let t=eE.indexOf(this);return t>=0?(eE.splice(t,1),!0):!1}o(sIe,"destroy");function oIe(t){let e=k9(`${this.namespace}:${t}`);return e.log=this.log,e}o(oIe,"extend");var aIe=D9});var Rp=x((unt,z9)=>{var cIe=Object.create,tE=Object.defineProperty,lIe=Object.getOwnPropertyDescriptor,uIe=Object.getOwnPropertyNames,AIe=Object.getPrototypeOf,dIe=Object.prototype.hasOwnProperty,fIe=o((t,e)=>{for(var r in e)tE(t,r,{get:e[r],enumerable:!0})},"__export"),F9=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of uIe(e))!dIe.call(t,i)&&i!==r&&tE(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=lIe(e,i))||n.enumerable});return t},"__copyProps"),hIe=o((t,e,r)=>(r=t!=null?cIe(AIe(t)):{},F9(e||!t||!t.__esModule?tE(r,"default",{value:t,enumerable:!0}):r,t)),"__toESM"),pIe=o(t=>F9(tE({},"__esModule",{value:!0}),t),"__toCommonJS"),H9={};fIe(H9,{TypeSpecRuntimeLogger:o(()=>gIe,"TypeSpecRuntimeLogger"),createClientLogger:o(()=>EIe,"createClientLogger"),createLoggerContext:o(()=>q9,"createLoggerContext"),getLogLevel:o(()=>yIe,"getLogLevel"),setLogLevel:o(()=>mIe,"setLogLevel")});z9.exports=pIe(H9);var vp=hIe(O9()),DN=["verbose","info","warning","error"],M9={verbose:400,info:300,warning:200,error:100};function L9(t,e){e.log=(...r)=>{t.log(...r)}}o(L9,"patchLogMethod");function U9(t){return DN.includes(t)}o(U9,"isTypeSpecRuntimeLogLevel");function q9(t){let e=new Set,r=typeof process<"u"&&process.env&&process.env[t.logLevelEnvVarName]||void 0,n,i=(0,vp.default)(t.namespace);i.log=(...A)=>{vp.default.log(...A)};function s(A){if(A&&!U9(A))throw new Error(`Unknown log level '${A}'. Acceptable values: ${DN.join(",")}`);n=A;let d=[];for(let f of e)a(f)&&d.push(f.namespace);vp.default.enable(d.join(","))}o(s,"contextSetLogLevel"),r&&(U9(r)?s(r):console.error(`${t.logLevelEnvVarName} set to unknown log level '${r}'; logging is not enabled. Acceptable values: ${DN.join(", ")}.`));function a(A){return!!(n&&M9[A.level]<=M9[n])}o(a,"shouldEnable");function c(A,d){let f=Object.assign(A.extend(d),{level:d});if(L9(A,f),a(f)){let h=vp.default.disable();vp.default.enable(h+","+f.namespace)}return e.add(f),f}o(c,"createLogger");function l(){return n}o(l,"contextGetLogLevel");function u(A){let d=i.extend(A);return L9(i,d),{error:c(d,"error"),warning:c(d,"warning"),info:c(d,"info"),verbose:c(d,"verbose")}}return o(u,"contextCreateClientLogger"),{setLogLevel:s,getLogLevel:l,createClientLogger:u,logger:i}}o(q9,"createLoggerContext");var rE=q9({logLevelEnvVarName:"TYPESPEC_RUNTIME_LOG_LEVEL",namespace:"typeSpecRuntime"}),gIe=rE.logger;function mIe(t){rE.setLogLevel(t)}o(mIe,"setLogLevel");function yIe(){return rE.getLogLevel()}o(yIe,"getLogLevel");function EIe(t){return rE.createClientLogger(t)}o(EIe,"createClientLogger")});var vc=x((dnt,j9)=>{var TN=Object.defineProperty,bIe=Object.getOwnPropertyDescriptor,CIe=Object.getOwnPropertyNames,xIe=Object.prototype.hasOwnProperty,IIe=o((t,e)=>{for(var r in e)TN(t,r,{get:e[r],enumerable:!0})},"__export"),BIe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of CIe(e))!xIe.call(t,i)&&i!==r&&TN(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=bIe(e,i))||n.enumerable});return t},"__copyProps"),wIe=o(t=>BIe(TN({},"__esModule",{value:!0}),t),"__toCommonJS"),G9={};IIe(G9,{createHttpHeaders:o(()=>SIe,"createHttpHeaders")});j9.exports=wIe(G9);function nE(t){return t.toLowerCase()}o(nE,"normalizeName");function*QIe(t){for(let e of t.values())yield[e.name,e.value]}o(QIe,"headerIterator");var kN=class{static{o(this,"HttpHeadersImpl")}_headersMap;constructor(e){if(this._headersMap=new Map,e)for(let r of Object.keys(e))this.set(r,e[r])}set(e,r){this._headersMap.set(nE(e),{name:e,value:String(r).trim()})}get(e){return this._headersMap.get(nE(e))?.value}has(e){return this._headersMap.has(nE(e))}delete(e){this._headersMap.delete(nE(e))}toJSON(e={}){let r={};if(e.preserveCase)for(let n of this._headersMap.values())r[n.name]=n.value;else for(let[n,i]of this._headersMap)r[n]=i.value;return r}toString(){return JSON.stringify(this.toJSON({preserveCase:!0}))}[Symbol.iterator](){return QIe(this._headersMap)}};function SIe(t){return new kN(t)}o(SIe,"createHttpHeaders")});var iE=x((hnt,K9)=>{var ON=Object.defineProperty,NIe=Object.getOwnPropertyDescriptor,vIe=Object.getOwnPropertyNames,RIe=Object.prototype.hasOwnProperty,PIe=o((t,e)=>{for(var r in e)ON(t,r,{get:e[r],enumerable:!0})},"__export"),_Ie=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of vIe(e))!RIe.call(t,i)&&i!==r&&ON(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=NIe(e,i))||n.enumerable});return t},"__copyProps"),DIe=o(t=>_Ie(ON({},"__esModule",{value:!0}),t),"__toCommonJS"),Y9={};PIe(Y9,{randomUUID:o(()=>kIe,"randomUUID")});K9.exports=DIe(Y9);function kIe(){return crypto.randomUUID()}o(kIe,"randomUUID")});var UN=x((gnt,V9)=>{var LN=Object.defineProperty,TIe=Object.getOwnPropertyDescriptor,OIe=Object.getOwnPropertyNames,MIe=Object.prototype.hasOwnProperty,LIe=o((t,e)=>{for(var r in e)LN(t,r,{get:e[r],enumerable:!0})},"__export"),UIe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of OIe(e))!MIe.call(t,i)&&i!==r&&LN(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=TIe(e,i))||n.enumerable});return t},"__copyProps"),FIe=o(t=>UIe(LN({},"__esModule",{value:!0}),t),"__toCommonJS"),J9={};LIe(J9,{createPipelineRequest:o(()=>zIe,"createPipelineRequest")});V9.exports=FIe(J9);var HIe=vc(),qIe=iE(),MN=class{static{o(this,"PipelineRequestImpl")}url;method;headers;timeout;withCredentials;body;multipartBody;formData;streamResponseStatusCodes;enableBrowserStreams;proxySettings;disableKeepAlive;abortSignal;requestId;allowInsecureConnection;onUploadProgress;onDownloadProgress;requestOverrides;authSchemes;constructor(e){this.url=e.url,this.body=e.body,this.headers=e.headers??(0,HIe.createHttpHeaders)(),this.method=e.method??"GET",this.timeout=e.timeout??0,this.multipartBody=e.multipartBody,this.formData=e.formData,this.disableKeepAlive=e.disableKeepAlive??!1,this.proxySettings=e.proxySettings,this.streamResponseStatusCodes=e.streamResponseStatusCodes,this.withCredentials=e.withCredentials??!1,this.abortSignal=e.abortSignal,this.onUploadProgress=e.onUploadProgress,this.onDownloadProgress=e.onDownloadProgress,this.requestId=e.requestId||(0,qIe.randomUUID)(),this.allowInsecureConnection=e.allowInsecureConnection??!1,this.enableBrowserStreams=e.enableBrowserStreams??!1,this.requestOverrides=e.requestOverrides,this.authSchemes=e.authSchemes}};function zIe(t){return new MN(t)}o(zIe,"createPipelineRequest")});var qN=x((ynt,X9)=>{var HN=Object.defineProperty,GIe=Object.getOwnPropertyDescriptor,jIe=Object.getOwnPropertyNames,YIe=Object.prototype.hasOwnProperty,KIe=o((t,e)=>{for(var r in e)HN(t,r,{get:e[r],enumerable:!0})},"__export"),JIe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of jIe(e))!YIe.call(t,i)&&i!==r&&HN(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=GIe(e,i))||n.enumerable});return t},"__copyProps"),VIe=o(t=>JIe(HN({},"__esModule",{value:!0}),t),"__toCommonJS"),$9={};KIe($9,{createEmptyPipeline:o(()=>WIe,"createEmptyPipeline")});X9.exports=VIe($9);var W9=new Set(["Deserialize","Serialize","Retry","Sign"]),FN=class t{static{o(this,"HttpPipeline")}_policies=[];_orderedPolicies;constructor(e){this._policies=e?.slice(0)??[],this._orderedPolicies=void 0}addPolicy(e,r={}){if(r.phase&&r.afterPhase)throw new Error("Policies inside a phase cannot specify afterPhase.");if(r.phase&&!W9.has(r.phase))throw new Error(`Invalid phase name: ${r.phase}`);if(r.afterPhase&&!W9.has(r.afterPhase))throw new Error(`Invalid afterPhase name: ${r.afterPhase}`);this._policies.push({policy:e,options:r}),this._orderedPolicies=void 0}removePolicy(e){let r=[];return this._policies=this._policies.filter(n=>e.name&&n.policy.name===e.name||e.phase&&n.options.phase===e.phase?(r.push(n.policy),!1):!0),this._orderedPolicies=void 0,r}sendRequest(e,r){return this.getOrderedPolicies().reduceRight((s,a)=>c=>a.sendRequest(c,s),s=>e.sendRequest(s))(r)}getOrderedPolicies(){return this._orderedPolicies||(this._orderedPolicies=this.orderPolicies()),this._orderedPolicies}clone(){return new t(this._policies)}static create(){return new t}orderPolicies(){let e=[],r=new Map;function n(g){return{name:g,policies:new Set,hasRun:!1,hasAfterPolicies:!1}}o(n,"createPhase");let i=n("Serialize"),s=n("None"),a=n("Deserialize"),c=n("Retry"),l=n("Sign"),u=[i,s,a,c,l];function A(g){return g==="Retry"?c:g==="Serialize"?i:g==="Deserialize"?a:g==="Sign"?l:s}o(A,"getPhase");for(let g of this._policies){let m=g.policy,b=g.options,y=m.name;if(r.has(y))throw new Error("Duplicate policy names not allowed in pipeline");let I={policy:m,dependsOn:new Set,dependants:new Set};b.afterPhase&&(I.afterPhase=A(b.afterPhase),I.afterPhase.hasAfterPolicies=!0),r.set(y,I),A(b.phase).policies.add(I)}for(let g of this._policies){let{policy:m,options:b}=g,y=m.name,I=r.get(y);if(!I)throw new Error(`Missing node for policy ${y}`);if(b.afterPolicies)for(let w of b.afterPolicies){let v=r.get(w);v&&(I.dependsOn.add(v),v.dependants.add(I))}if(b.beforePolicies)for(let w of b.beforePolicies){let v=r.get(w);v&&(v.dependsOn.add(I),I.dependants.add(v))}}function d(g){g.hasRun=!0;for(let m of g.policies)if(!(m.afterPhase&&(!m.afterPhase.hasRun||m.afterPhase.policies.size))&&m.dependsOn.size===0){e.push(m.policy);for(let b of m.dependants)b.dependsOn.delete(m);r.delete(m.policy.name),g.policies.delete(m)}}o(d,"walkPhase");function f(){for(let g of u){if(d(g),g.policies.size>0&&g!==s){s.hasRun||d(s);return}g.hasAfterPolicies&&d(s)}}o(f,"walkPhases");let h=0;for(;r.size>0;){h++;let g=e.length;if(f(),e.length<=g&&h>1)throw new Error("Cannot satisfy policy dependencies due to requirements cycle.")}return e}};function WIe(){return FN.create()}o(WIe,"createEmptyPipeline")});var sE=x((bnt,ez)=>{var zN=Object.defineProperty,$Ie=Object.getOwnPropertyDescriptor,XIe=Object.getOwnPropertyNames,ZIe=Object.prototype.hasOwnProperty,eBe=o((t,e)=>{for(var r in e)zN(t,r,{get:e[r],enumerable:!0})},"__export"),tBe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of XIe(e))!ZIe.call(t,i)&&i!==r&&zN(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=$Ie(e,i))||n.enumerable});return t},"__copyProps"),rBe=o(t=>tBe(zN({},"__esModule",{value:!0}),t),"__toCommonJS"),Z9={};eBe(Z9,{isObject:o(()=>nBe,"isObject")});ez.exports=rBe(Z9);function nBe(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}o(nBe,"isObject")});var jN=x((xnt,rz)=>{var GN=Object.defineProperty,iBe=Object.getOwnPropertyDescriptor,sBe=Object.getOwnPropertyNames,oBe=Object.prototype.hasOwnProperty,aBe=o((t,e)=>{for(var r in e)GN(t,r,{get:e[r],enumerable:!0})},"__export"),cBe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of sBe(e))!oBe.call(t,i)&&i!==r&&GN(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=iBe(e,i))||n.enumerable});return t},"__copyProps"),lBe=o(t=>cBe(GN({},"__esModule",{value:!0}),t),"__toCommonJS"),tz={};aBe(tz,{isError:o(()=>ABe,"isError")});rz.exports=lBe(tz);var uBe=sE();function ABe(t){if((0,uBe.isObject)(t)){let e=typeof t.name=="string",r=typeof t.message=="string";return e&&r}return!1}o(ABe,"isError")});var sz=x((Bnt,iz)=>{var YN=Object.defineProperty,dBe=Object.getOwnPropertyDescriptor,fBe=Object.getOwnPropertyNames,hBe=Object.prototype.hasOwnProperty,pBe=o((t,e)=>{for(var r in e)YN(t,r,{get:e[r],enumerable:!0})},"__export"),gBe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of fBe(e))!hBe.call(t,i)&&i!==r&&YN(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=dBe(e,i))||n.enumerable});return t},"__copyProps"),mBe=o(t=>gBe(YN({},"__esModule",{value:!0}),t),"__toCommonJS"),nz={};pBe(nz,{custom:o(()=>EBe,"custom")});iz.exports=mBe(nz);var yBe=require("node:util"),EBe=yBe.inspect.custom});var Pp=x((Qnt,az)=>{var VN=Object.defineProperty,bBe=Object.getOwnPropertyDescriptor,CBe=Object.getOwnPropertyNames,xBe=Object.prototype.hasOwnProperty,IBe=o((t,e)=>{for(var r in e)VN(t,r,{get:e[r],enumerable:!0})},"__export"),BBe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of CBe(e))!xBe.call(t,i)&&i!==r&&VN(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=bBe(e,i))||n.enumerable});return t},"__copyProps"),wBe=o(t=>BBe(VN({},"__esModule",{value:!0}),t),"__toCommonJS"),oz={};IBe(oz,{Sanitizer:o(()=>JN,"Sanitizer")});az.exports=wBe(oz);var QBe=sE(),KN="REDACTED",SBe=["x-ms-client-request-id","x-ms-return-client-request-id","x-ms-useragent","x-ms-correlation-request-id","x-ms-request-id","client-request-id","ms-cv","return-client-request-id","traceparent","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Origin","Accept","Accept-Encoding","Cache-Control","Connection","Content-Length","Content-Type","Date","ETag","Expires","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","Last-Modified","Pragma","Request-Id","Retry-After","Server","Transfer-Encoding","User-Agent","WWW-Authenticate"],NBe=["api-version"],JN=class{static{o(this,"Sanitizer")}allowedHeaderNames;allowedQueryParameters;constructor({additionalAllowedHeaderNames:e=[],additionalAllowedQueryParameters:r=[]}={}){e=SBe.concat(e),r=NBe.concat(r),this.allowedHeaderNames=new Set(e.map(n=>n.toLowerCase())),this.allowedQueryParameters=new Set(r.map(n=>n.toLowerCase()))}sanitize(e){let r=new Set;return JSON.stringify(e,(n,i)=>{if(i instanceof Error)return{...i,name:i.name,message:i.message};if(n==="headers")return this.sanitizeHeaders(i);if(n==="url")return this.sanitizeUrl(i);if(n==="query")return this.sanitizeQuery(i);if(n==="body")return;if(n==="response")return;if(n==="operationSpec")return;if(Array.isArray(i)||(0,QBe.isObject)(i)){if(r.has(i))return"[Circular]";r.add(i)}return i},2)}sanitizeUrl(e){if(typeof e!="string"||e===null||e==="")return e;let r=new URL(e);if(!r.search)return e;for(let[n]of r.searchParams)this.allowedQueryParameters.has(n.toLowerCase())||r.searchParams.set(n,KN);return r.toString()}sanitizeHeaders(e){let r={};for(let n of Object.keys(e))this.allowedHeaderNames.has(n.toLowerCase())?r[n]=e[n]:r[n]=KN;return r}sanitizeQuery(e){if(typeof e!="object"||e===null)return e;let r={};for(let n of Object.keys(e))this.allowedQueryParameters.has(n.toLowerCase())?r[n]=e[n]:r[n]=KN;return r}}});var pd=x((Nnt,lz)=>{var WN=Object.defineProperty,vBe=Object.getOwnPropertyDescriptor,RBe=Object.getOwnPropertyNames,PBe=Object.prototype.hasOwnProperty,_Be=o((t,e)=>{for(var r in e)WN(t,r,{get:e[r],enumerable:!0})},"__export"),DBe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of RBe(e))!PBe.call(t,i)&&i!==r&&WN(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=vBe(e,i))||n.enumerable});return t},"__copyProps"),kBe=o(t=>DBe(WN({},"__esModule",{value:!0}),t),"__toCommonJS"),cz={};_Be(cz,{RestError:o(()=>oE,"RestError"),isRestError:o(()=>UBe,"isRestError")});lz.exports=kBe(cz);var TBe=jN(),OBe=sz(),MBe=Pp(),LBe=new MBe.Sanitizer,oE=class t extends Error{static{o(this,"RestError")}static REQUEST_SEND_ERROR="REQUEST_SEND_ERROR";static PARSE_ERROR="PARSE_ERROR";code;statusCode;request;response;details;constructor(e,r={}){super(e),this.name="RestError",this.code=r.code,this.statusCode=r.statusCode,Object.defineProperty(this,"request",{value:r.request,enumerable:!1}),Object.defineProperty(this,"response",{value:r.response,enumerable:!1});let n=this.request?.agent?{maxFreeSockets:this.request.agent.maxFreeSockets,maxSockets:this.request.agent.maxSockets}:void 0;Object.defineProperty(this,OBe.custom,{value:o(()=>`RestError: ${this.message} + ${LBe.sanitize({...this,request:{...this.request,agent:n},response:this.response})}`,"value"),enumerable:!1}),Object.setPrototypeOf(this,t.prototype)}};function UBe(t){return t instanceof oE?!0:(0,TBe.isError)(t)&&t.name==="RestError"}o(UBe,"isRestError")});var iu=x((Rnt,Az)=>{var $N=Object.defineProperty,FBe=Object.getOwnPropertyDescriptor,HBe=Object.getOwnPropertyNames,qBe=Object.prototype.hasOwnProperty,zBe=o((t,e)=>{for(var r in e)$N(t,r,{get:e[r],enumerable:!0})},"__export"),GBe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of HBe(e))!qBe.call(t,i)&&i!==r&&$N(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=FBe(e,i))||n.enumerable});return t},"__copyProps"),jBe=o(t=>GBe($N({},"__esModule",{value:!0}),t),"__toCommonJS"),uz={};zBe(uz,{stringToUint8Array:o(()=>KBe,"stringToUint8Array"),uint8ArrayToString:o(()=>YBe,"uint8ArrayToString")});Az.exports=jBe(uz);function YBe(t,e){return Buffer.from(t).toString(e)}o(YBe,"uint8ArrayToString");function KBe(t,e){return Buffer.from(t,e)}o(KBe,"stringToUint8Array")});var gd=x((_nt,fz)=>{var XN=Object.defineProperty,JBe=Object.getOwnPropertyDescriptor,VBe=Object.getOwnPropertyNames,WBe=Object.prototype.hasOwnProperty,$Be=o((t,e)=>{for(var r in e)XN(t,r,{get:e[r],enumerable:!0})},"__export"),XBe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of VBe(e))!WBe.call(t,i)&&i!==r&&XN(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=JBe(e,i))||n.enumerable});return t},"__copyProps"),ZBe=o(t=>XBe(XN({},"__esModule",{value:!0}),t),"__toCommonJS"),dz={};$Be(dz,{logger:o(()=>twe,"logger")});fz.exports=ZBe(dz);var ewe=Rp(),twe=(0,ewe.createClientLogger)("ts-http-runtime")});var xz=x((knt,Cz)=>{var rwe=Object.create,cE=Object.defineProperty,nwe=Object.getOwnPropertyDescriptor,iwe=Object.getOwnPropertyNames,swe=Object.getPrototypeOf,owe=Object.prototype.hasOwnProperty,awe=o((t,e)=>{for(var r in e)cE(t,r,{get:e[r],enumerable:!0})},"__export"),mz=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of iwe(e))!owe.call(t,i)&&i!==r&&cE(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=nwe(e,i))||n.enumerable});return t},"__copyProps"),rv=o((t,e,r)=>(r=t!=null?rwe(swe(t)):{},mz(e||!t||!t.__esModule?cE(r,"default",{value:t,enumerable:!0}):r,t)),"__toESM"),cwe=o(t=>mz(cE({},"__esModule",{value:!0}),t),"__toCommonJS"),yz={};awe(yz,{createNodeHttpClient:o(()=>gwe,"createNodeHttpClient"),getBodyLength:o(()=>bz,"getBodyLength")});Cz.exports=cwe(yz);var ZN=rv(require("node:http")),ev=rv(require("node:https")),hz=rv(require("node:zlib")),lwe=require("node:stream"),pz=Np(),uwe=vc(),Dp=pd(),md=gd(),Awe=Pp(),dwe={};function _p(t){return t&&typeof t.pipe=="function"}o(_p,"isReadableStream");function gz(t){return t.readable===!1?Promise.resolve():new Promise(e=>{let r=o(()=>{e(),t.removeListener("close",r),t.removeListener("end",r),t.removeListener("error",r)},"handler");t.on("close",r),t.on("end",r),t.on("error",r)})}o(gz,"isStreamComplete");function Ez(t){return t&&typeof t.byteLength=="number"}o(Ez,"isArrayBuffer");var aE=class extends lwe.Transform{static{o(this,"ReportTransform")}loadedBytes=0;progressCallback;_transform(e,r,n){this.push(e),this.loadedBytes+=e.length;try{this.progressCallback({loadedBytes:this.loadedBytes}),n()}catch(i){n(i)}}constructor(e){super(),this.progressCallback=e}},tv=class{static{o(this,"NodeHttpClient")}cachedHttpAgent;cachedHttpsAgents=new WeakMap;async sendRequest(e){let r=new AbortController,n;if(e.abortSignal){if(e.abortSignal.aborted)throw new pz.AbortError("The operation was aborted. Request has already been canceled.");n=o(u=>{u.type==="abort"&&r.abort()},"abortListener"),e.abortSignal.addEventListener("abort",n)}let i;e.timeout>0&&(i=setTimeout(()=>{let u=new Awe.Sanitizer;md.logger.info(`request to '${u.sanitizeUrl(e.url)}' timed out. canceling...`),r.abort()},e.timeout));let s=e.headers.get("Accept-Encoding"),a=s?.includes("gzip")||s?.includes("deflate"),c=typeof e.body=="function"?e.body():e.body;if(c&&!e.headers.has("Content-Length")){let u=bz(c);u!==null&&e.headers.set("Content-Length",u)}let l;try{if(c&&e.onUploadProgress){let g=e.onUploadProgress,m=new aE(g);m.on("error",b=>{md.logger.error("Error in upload progress",b)}),_p(c)?c.pipe(m):m.end(c),c=m}let u=await this.makeRequest(e,r,c);i!==void 0&&clearTimeout(i);let A=fwe(u),f={status:u.statusCode??0,headers:A,request:e};if(e.method==="HEAD")return u.resume(),f;l=a?hwe(u,A):u;let h=e.onDownloadProgress;if(h){let g=new aE(h);g.on("error",m=>{md.logger.error("Error in download progress",m)}),l.pipe(g),l=g}return e.streamResponseStatusCodes?.has(Number.POSITIVE_INFINITY)||e.streamResponseStatusCodes?.has(f.status)?f.readableStreamBody=l:f.bodyAsText=await pwe(l),f}finally{if(e.abortSignal&&n){let u=Promise.resolve();_p(c)&&(u=gz(c));let A=Promise.resolve();_p(l)&&(A=gz(l)),Promise.all([u,A]).then(()=>{n&&e.abortSignal?.removeEventListener("abort",n)}).catch(d=>{md.logger.warning("Error when cleaning up abortListener on httpRequest",d)})}}}makeRequest(e,r,n){let i=new URL(e.url),s=i.protocol!=="https:";if(s&&!e.allowInsecureConnection)throw new Error(`Cannot connect to ${e.url} while allowInsecureConnection is false.`);let c={agent:e.agent??this.getOrCreateAgent(e,s),hostname:i.hostname,path:`${i.pathname}${i.search}`,port:i.port,method:e.method,headers:e.headers.toJSON({preserveCase:!0}),...e.requestOverrides};return new Promise((l,u)=>{let A=s?ZN.default.request(c,l):ev.default.request(c,l);A.once("error",d=>{u(new Dp.RestError(d.message,{code:d.code??Dp.RestError.REQUEST_SEND_ERROR,request:e}))}),r.signal.addEventListener("abort",()=>{let d=new pz.AbortError("The operation was aborted. Rejecting from abort signal callback while making request.");A.destroy(d),u(d)}),n&&_p(n)?n.pipe(A):n?typeof n=="string"||Buffer.isBuffer(n)?A.end(n):Ez(n)?A.end(ArrayBuffer.isView(n)?Buffer.from(n.buffer):Buffer.from(n)):(md.logger.error("Unrecognized body type",n),u(new Dp.RestError("Unrecognized body type"))):A.end()})}getOrCreateAgent(e,r){let n=e.disableKeepAlive;if(r)return n?ZN.default.globalAgent:(this.cachedHttpAgent||(this.cachedHttpAgent=new ZN.default.Agent({keepAlive:!0})),this.cachedHttpAgent);{if(n&&!e.tlsSettings)return ev.default.globalAgent;let i=e.tlsSettings??dwe,s=this.cachedHttpsAgents.get(i);return s&&s.options.keepAlive===!n||(md.logger.info("No cached TLS Agent exist, creating a new Agent"),s=new ev.default.Agent({keepAlive:!n,...i}),this.cachedHttpsAgents.set(i,s)),s}}};function fwe(t){let e=(0,uwe.createHttpHeaders)();for(let r of Object.keys(t.headers)){let n=t.headers[r];Array.isArray(n)?n.length>0&&e.set(r,n[0]):n&&e.set(r,n)}return e}o(fwe,"getResponseHeaders");function hwe(t,e){let r=e.get("Content-Encoding");if(r==="gzip"){let n=hz.default.createGunzip();return t.pipe(n),n}else if(r==="deflate"){let n=hz.default.createInflate();return t.pipe(n),n}return t}o(hwe,"getDecodedResponseStream");function pwe(t){return new Promise((e,r)=>{let n=[];t.on("data",i=>{Buffer.isBuffer(i)?n.push(i):n.push(Buffer.from(i))}),t.on("end",()=>{e(Buffer.concat(n).toString("utf8"))}),t.on("error",i=>{i&&i?.name==="AbortError"?r(i):r(new Dp.RestError(`Error reading response as text: ${i.message}`,{code:Dp.RestError.PARSE_ERROR}))})})}o(pwe,"streamToText");function bz(t){return t?Buffer.isBuffer(t)?t.length:_p(t)?null:Ez(t)?t.byteLength:typeof t=="string"?Buffer.from(t).length:null:0}o(bz,"getBodyLength");function gwe(){return new tv}o(gwe,"createNodeHttpClient")});var iv=x((Ont,Bz)=>{var nv=Object.defineProperty,mwe=Object.getOwnPropertyDescriptor,ywe=Object.getOwnPropertyNames,Ewe=Object.prototype.hasOwnProperty,bwe=o((t,e)=>{for(var r in e)nv(t,r,{get:e[r],enumerable:!0})},"__export"),Cwe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of ywe(e))!Ewe.call(t,i)&&i!==r&&nv(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=mwe(e,i))||n.enumerable});return t},"__copyProps"),xwe=o(t=>Cwe(nv({},"__esModule",{value:!0}),t),"__toCommonJS"),Iz={};bwe(Iz,{createDefaultHttpClient:o(()=>Bwe,"createDefaultHttpClient")});Bz.exports=xwe(Iz);var Iwe=xz();function Bwe(){return(0,Iwe.createNodeHttpClient)()}o(Bwe,"createDefaultHttpClient")});var ov=x((Lnt,Sz)=>{var sv=Object.defineProperty,wwe=Object.getOwnPropertyDescriptor,Qwe=Object.getOwnPropertyNames,Swe=Object.prototype.hasOwnProperty,Nwe=o((t,e)=>{for(var r in e)sv(t,r,{get:e[r],enumerable:!0})},"__export"),vwe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Qwe(e))!Swe.call(t,i)&&i!==r&&sv(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=wwe(e,i))||n.enumerable});return t},"__copyProps"),Rwe=o(t=>vwe(sv({},"__esModule",{value:!0}),t),"__toCommonJS"),wz={};Nwe(wz,{logPolicy:o(()=>Dwe,"logPolicy"),logPolicyName:o(()=>Qz,"logPolicyName")});Sz.exports=Rwe(wz);var Pwe=gd(),_we=Pp(),Qz="logPolicy";function Dwe(t={}){let e=t.logger??Pwe.logger.info,r=new _we.Sanitizer({additionalAllowedHeaderNames:t.additionalAllowedHeaderNames,additionalAllowedQueryParameters:t.additionalAllowedQueryParameters});return{name:Qz,async sendRequest(n,i){if(!e.enabled)return i(n);e(`Request: ${r.sanitize(n)}`);let s=await i(n);return e(`Response status code: ${s.status}`),e(`Headers: ${r.sanitize(s.headers)}`),s}}}o(Dwe,"logPolicy")});var cv=x((Fnt,_z)=>{var av=Object.defineProperty,kwe=Object.getOwnPropertyDescriptor,Twe=Object.getOwnPropertyNames,Owe=Object.prototype.hasOwnProperty,Mwe=o((t,e)=>{for(var r in e)av(t,r,{get:e[r],enumerable:!0})},"__export"),Lwe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Twe(e))!Owe.call(t,i)&&i!==r&&av(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=kwe(e,i))||n.enumerable});return t},"__copyProps"),Uwe=o(t=>Lwe(av({},"__esModule",{value:!0}),t),"__toCommonJS"),vz={};Mwe(vz,{redirectPolicy:o(()=>Hwe,"redirectPolicy"),redirectPolicyName:o(()=>Rz,"redirectPolicyName")});_z.exports=Uwe(vz);var Fwe=gd(),Rz="redirectPolicy",Nz=["GET","HEAD"];function Hwe(t={}){let{maxRetries:e=20,allowCrossOriginRedirects:r=!1}=t;return{name:Rz,async sendRequest(n,i){let s=await i(n);return Pz(i,s,e,r)}}}o(Hwe,"redirectPolicy");async function Pz(t,e,r,n,i=0){let{request:s,status:a,headers:c}=e,l=c.get("location");if(l&&(a===300||a===301&&Nz.includes(s.method)||a===302&&Nz.includes(s.method)||a===303&&s.method==="POST"||a===307)&&i{var qwe=Object.create,lE=Object.defineProperty,zwe=Object.getOwnPropertyDescriptor,Gwe=Object.getOwnPropertyNames,jwe=Object.getPrototypeOf,Ywe=Object.prototype.hasOwnProperty,Kwe=o((t,e)=>{for(var r in e)lE(t,r,{get:e[r],enumerable:!0})},"__export"),Dz=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Gwe(e))!Ywe.call(t,i)&&i!==r&&lE(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=zwe(e,i))||n.enumerable});return t},"__copyProps"),kz=o((t,e,r)=>(r=t!=null?qwe(jwe(t)):{},Dz(e||!t||!t.__esModule?lE(r,"default",{value:t,enumerable:!0}):r,t)),"__toESM"),Jwe=o(t=>Dz(lE({},"__esModule",{value:!0}),t),"__toCommonJS"),Tz={};Kwe(Tz,{getHeaderName:o(()=>Vwe,"getHeaderName"),setPlatformSpecificData:o(()=>Wwe,"setPlatformSpecificData")});Oz.exports=Jwe(Tz);var lv=kz(require("node:os")),uv=kz(require("node:process"));function Vwe(){return"User-Agent"}o(Vwe,"getHeaderName");async function Wwe(t){if(uv.default&&uv.default.versions){let e=`${lv.default.type()} ${lv.default.release()}; ${lv.default.arch()}`,r=uv.default.versions;r.bun?t.set("Bun",`${r.bun} (${e})`):r.deno?t.set("Deno",`${r.deno} (${e})`):r.node&&t.set("Node",`${r.node} (${e})`)}}o(Wwe,"setPlatformSpecificData")});var su=x((Gnt,Uz)=>{var Av=Object.defineProperty,$we=Object.getOwnPropertyDescriptor,Xwe=Object.getOwnPropertyNames,Zwe=Object.prototype.hasOwnProperty,eQe=o((t,e)=>{for(var r in e)Av(t,r,{get:e[r],enumerable:!0})},"__export"),tQe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Xwe(e))!Zwe.call(t,i)&&i!==r&&Av(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=$we(e,i))||n.enumerable});return t},"__copyProps"),rQe=o(t=>tQe(Av({},"__esModule",{value:!0}),t),"__toCommonJS"),Lz={};eQe(Lz,{DEFAULT_RETRY_POLICY_COUNT:o(()=>iQe,"DEFAULT_RETRY_POLICY_COUNT"),SDK_VERSION:o(()=>nQe,"SDK_VERSION")});Uz.exports=rQe(Lz);var nQe="0.3.4",iQe=3});var zz=x((Ynt,qz)=>{var dv=Object.defineProperty,sQe=Object.getOwnPropertyDescriptor,oQe=Object.getOwnPropertyNames,aQe=Object.prototype.hasOwnProperty,cQe=o((t,e)=>{for(var r in e)dv(t,r,{get:e[r],enumerable:!0})},"__export"),lQe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of oQe(e))!aQe.call(t,i)&&i!==r&&dv(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=sQe(e,i))||n.enumerable});return t},"__copyProps"),uQe=o(t=>lQe(dv({},"__esModule",{value:!0}),t),"__toCommonJS"),Fz={};cQe(Fz,{getUserAgentHeaderName:o(()=>fQe,"getUserAgentHeaderName"),getUserAgentValue:o(()=>hQe,"getUserAgentValue")});qz.exports=uQe(Fz);var Hz=Mz(),AQe=su();function dQe(t){let e=[];for(let[r,n]of t){let i=n?`${r}/${n}`:r;e.push(i)}return e.join(" ")}o(dQe,"getUserAgentString");function fQe(){return(0,Hz.getHeaderName)()}o(fQe,"getUserAgentHeaderName");async function hQe(t){let e=new Map;e.set("ts-http-runtime",AQe.SDK_VERSION),await(0,Hz.setPlatformSpecificData)(e);let r=dQe(e);return t?`${t} ${r}`:r}o(hQe,"getUserAgentValue")});var hv=x((Jnt,Jz)=>{var fv=Object.defineProperty,pQe=Object.getOwnPropertyDescriptor,gQe=Object.getOwnPropertyNames,mQe=Object.prototype.hasOwnProperty,yQe=o((t,e)=>{for(var r in e)fv(t,r,{get:e[r],enumerable:!0})},"__export"),EQe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of gQe(e))!mQe.call(t,i)&&i!==r&&fv(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=pQe(e,i))||n.enumerable});return t},"__copyProps"),bQe=o(t=>EQe(fv({},"__esModule",{value:!0}),t),"__toCommonJS"),jz={};yQe(jz,{userAgentPolicy:o(()=>CQe,"userAgentPolicy"),userAgentPolicyName:o(()=>Kz,"userAgentPolicyName")});Jz.exports=bQe(jz);var Yz=zz(),Gz=(0,Yz.getUserAgentHeaderName)(),Kz="userAgentPolicy";function CQe(t={}){let e=(0,Yz.getUserAgentValue)(t.userAgentPrefix);return{name:Kz,async sendRequest(r,n){return r.headers.has(Gz)||r.headers.set(Gz,await e),n(r)}}}o(CQe,"userAgentPolicy")});var gv=x((Wnt,$z)=>{var pv=Object.defineProperty,xQe=Object.getOwnPropertyDescriptor,IQe=Object.getOwnPropertyNames,BQe=Object.prototype.hasOwnProperty,wQe=o((t,e)=>{for(var r in e)pv(t,r,{get:e[r],enumerable:!0})},"__export"),QQe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of IQe(e))!BQe.call(t,i)&&i!==r&&pv(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=xQe(e,i))||n.enumerable});return t},"__copyProps"),SQe=o(t=>QQe(pv({},"__esModule",{value:!0}),t),"__toCommonJS"),Vz={};wQe(Vz,{decompressResponsePolicy:o(()=>NQe,"decompressResponsePolicy"),decompressResponsePolicyName:o(()=>Wz,"decompressResponsePolicyName")});$z.exports=SQe(Vz);var Wz="decompressResponsePolicy";function NQe(){return{name:Wz,async sendRequest(t,e){return t.method!=="HEAD"&&t.headers.set("Accept-Encoding","gzip,deflate"),e(t)}}}o(NQe,"decompressResponsePolicy")});var yv=x((Xnt,Zz)=>{var mv=Object.defineProperty,vQe=Object.getOwnPropertyDescriptor,RQe=Object.getOwnPropertyNames,PQe=Object.prototype.hasOwnProperty,_Qe=o((t,e)=>{for(var r in e)mv(t,r,{get:e[r],enumerable:!0})},"__export"),DQe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of RQe(e))!PQe.call(t,i)&&i!==r&&mv(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=vQe(e,i))||n.enumerable});return t},"__copyProps"),kQe=o(t=>DQe(mv({},"__esModule",{value:!0}),t),"__toCommonJS"),Xz={};_Qe(Xz,{getRandomIntegerInclusive:o(()=>TQe,"getRandomIntegerInclusive")});Zz.exports=kQe(Xz);function TQe(t,e){return t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t+1))+t}o(TQe,"getRandomIntegerInclusive")});var bv=x((eit,t7)=>{var Ev=Object.defineProperty,OQe=Object.getOwnPropertyDescriptor,MQe=Object.getOwnPropertyNames,LQe=Object.prototype.hasOwnProperty,UQe=o((t,e)=>{for(var r in e)Ev(t,r,{get:e[r],enumerable:!0})},"__export"),FQe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of MQe(e))!LQe.call(t,i)&&i!==r&&Ev(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=OQe(e,i))||n.enumerable});return t},"__copyProps"),HQe=o(t=>FQe(Ev({},"__esModule",{value:!0}),t),"__toCommonJS"),e7={};UQe(e7,{calculateRetryDelay:o(()=>zQe,"calculateRetryDelay")});t7.exports=HQe(e7);var qQe=yv();function zQe(t,e){let r=e.retryDelayInMs*Math.pow(2,t),n=Math.min(e.maxRetryDelayInMs,r);return{retryAfterInMs:n/2+(0,qQe.getRandomIntegerInclusive)(0,n/2)}}o(zQe,"calculateRetryDelay")});var xv=x((rit,n7)=>{var Cv=Object.defineProperty,GQe=Object.getOwnPropertyDescriptor,jQe=Object.getOwnPropertyNames,YQe=Object.prototype.hasOwnProperty,KQe=o((t,e)=>{for(var r in e)Cv(t,r,{get:e[r],enumerable:!0})},"__export"),JQe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of jQe(e))!YQe.call(t,i)&&i!==r&&Cv(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=GQe(e,i))||n.enumerable});return t},"__copyProps"),VQe=o(t=>JQe(Cv({},"__esModule",{value:!0}),t),"__toCommonJS"),r7={};KQe(r7,{delay:o(()=>XQe,"delay"),parseHeaderValueAsNumber:o(()=>ZQe,"parseHeaderValueAsNumber")});n7.exports=VQe(r7);var WQe=Np(),$Qe="The operation was aborted.";function XQe(t,e,r){return new Promise((n,i)=>{let s,a,c=o(()=>i(new WQe.AbortError(r?.abortErrorMsg?r?.abortErrorMsg:$Qe)),"rejectOnAbort"),l=o(()=>{r?.abortSignal&&a&&r.abortSignal.removeEventListener("abort",a)},"removeListeners");if(a=o(()=>(s&&clearTimeout(s),l(),c()),"onAborted"),r?.abortSignal&&r.abortSignal.aborted)return c();s=setTimeout(()=>{l(),n(e)},t),r?.abortSignal&&r.abortSignal.addEventListener("abort",a)})}o(XQe,"delay");function ZQe(t,e){let r=t.headers.get(e);if(!r)return;let n=Number(r);if(!Number.isNaN(n))return n}o(ZQe,"parseHeaderValueAsNumber")});var uE=x((iit,o7)=>{var Bv=Object.defineProperty,e1e=Object.getOwnPropertyDescriptor,t1e=Object.getOwnPropertyNames,r1e=Object.prototype.hasOwnProperty,n1e=o((t,e)=>{for(var r in e)Bv(t,r,{get:e[r],enumerable:!0})},"__export"),i1e=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of t1e(e))!r1e.call(t,i)&&i!==r&&Bv(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=e1e(e,i))||n.enumerable});return t},"__copyProps"),s1e=o(t=>i1e(Bv({},"__esModule",{value:!0}),t),"__toCommonJS"),i7={};n1e(i7,{isThrottlingRetryResponse:o(()=>c1e,"isThrottlingRetryResponse"),throttlingRetryStrategy:o(()=>l1e,"throttlingRetryStrategy")});o7.exports=s1e(i7);var o1e=xv(),Iv="Retry-After",a1e=["retry-after-ms","x-ms-retry-after-ms",Iv];function s7(t){if(t&&[429,503].includes(t.status))try{for(let i of a1e){let s=(0,o1e.parseHeaderValueAsNumber)(t,i);if(s===0||s)return s*(i===Iv?1e3:1)}let e=t.headers.get(Iv);if(!e)return;let n=Date.parse(e)-Date.now();return Number.isFinite(n)?Math.max(0,n):void 0}catch{return}}o(s7,"getRetryAfterInMs");function c1e(t){return Number.isFinite(s7(t))}o(c1e,"isThrottlingRetryResponse");function l1e(){return{name:"throttlingRetryStrategy",retry({response:t}){let e=s7(t);return Number.isFinite(e)?{retryAfterInMs:e}:{skipStrategy:!0}}}}o(l1e,"throttlingRetryStrategy")});var AE=x((oit,u7)=>{var wv=Object.defineProperty,u1e=Object.getOwnPropertyDescriptor,A1e=Object.getOwnPropertyNames,d1e=Object.prototype.hasOwnProperty,f1e=o((t,e)=>{for(var r in e)wv(t,r,{get:e[r],enumerable:!0})},"__export"),h1e=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of A1e(e))!d1e.call(t,i)&&i!==r&&wv(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=u1e(e,i))||n.enumerable});return t},"__copyProps"),p1e=o(t=>h1e(wv({},"__esModule",{value:!0}),t),"__toCommonJS"),a7={};f1e(a7,{exponentialRetryStrategy:o(()=>b1e,"exponentialRetryStrategy"),isExponentialRetryResponse:o(()=>c7,"isExponentialRetryResponse"),isSystemError:o(()=>l7,"isSystemError")});u7.exports=p1e(a7);var g1e=bv(),m1e=uE(),y1e=1e3,E1e=1e3*64;function b1e(t={}){let e=t.retryDelayInMs??y1e,r=t.maxRetryDelayInMs??E1e;return{name:"exponentialRetryStrategy",retry({retryCount:n,response:i,responseError:s}){let a=l7(s),c=a&&t.ignoreSystemErrors,l=c7(i),u=l&&t.ignoreHttpStatusCodes;return i&&((0,m1e.isThrottlingRetryResponse)(i)||!l)||u||c?{skipStrategy:!0}:s&&!a&&!l?{errorToThrow:s}:(0,g1e.calculateRetryDelay)(n,{retryDelayInMs:e,maxRetryDelayInMs:r})}}}o(b1e,"exponentialRetryStrategy");function c7(t){return!!(t&&t.status!==void 0&&(t.status>=500||t.status===408)&&t.status!==501&&t.status!==505)}o(c7,"isExponentialRetryResponse");function l7(t){return t?t.code==="ETIMEDOUT"||t.code==="ESOCKETTIMEDOUT"||t.code==="ECONNREFUSED"||t.code==="ECONNRESET"||t.code==="ENOENT"||t.code==="ENOTFOUND":!1}o(l7,"isSystemError")});var yd=x((cit,f7)=>{var Qv=Object.defineProperty,C1e=Object.getOwnPropertyDescriptor,x1e=Object.getOwnPropertyNames,I1e=Object.prototype.hasOwnProperty,B1e=o((t,e)=>{for(var r in e)Qv(t,r,{get:e[r],enumerable:!0})},"__export"),w1e=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of x1e(e))!I1e.call(t,i)&&i!==r&&Qv(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=C1e(e,i))||n.enumerable});return t},"__copyProps"),Q1e=o(t=>w1e(Qv({},"__esModule",{value:!0}),t),"__toCommonJS"),d7={};B1e(d7,{retryPolicy:o(()=>_1e,"retryPolicy")});f7.exports=Q1e(d7);var S1e=xv(),N1e=Np(),v1e=Rp(),A7=su(),R1e=(0,v1e.createClientLogger)("ts-http-runtime retryPolicy"),P1e="retryPolicy";function _1e(t,e={maxRetries:A7.DEFAULT_RETRY_POLICY_COUNT}){let r=e.logger||R1e;return{name:P1e,async sendRequest(n,i){let s,a,c=-1;e:for(;;){c+=1,s=void 0,a=void 0;try{r.info(`Retry ${c}: Attempting to send request`,n.requestId),s=await i(n),r.info(`Retry ${c}: Received a response from request`,n.requestId)}catch(l){if(r.error(`Retry ${c}: Received an error from request`,n.requestId),a=l,!l||a.name!=="RestError")throw l;s=a.response}if(n.abortSignal?.aborted)throw r.error(`Retry ${c}: Request aborted.`),new N1e.AbortError;if(c>=(e.maxRetries??A7.DEFAULT_RETRY_POLICY_COUNT)){if(r.info(`Retry ${c}: Maximum retries reached. Returning the last received response, or throwing the last received error.`),a)throw a;if(s)return s;throw new Error("Maximum retries reached with no response or error to throw")}r.info(`Retry ${c}: Processing ${t.length} retry strategies.`);t:for(let l of t){let u=l.logger||r;u.info(`Retry ${c}: Processing retry strategy ${l.name}.`);let A=l.retry({retryCount:c,response:s,responseError:a});if(A.skipStrategy){u.info(`Retry ${c}: Skipped.`);continue t}let{errorToThrow:d,retryAfterInMs:f,redirectTo:h}=A;if(d)throw u.error(`Retry ${c}: Retry strategy ${l.name} throws error:`,d),d;if(f||f===0){u.info(`Retry ${c}: Retry strategy ${l.name} retries after ${f}`),await(0,S1e.delay)(f,void 0,{abortSignal:n.abortSignal});continue e}if(h){u.info(`Retry ${c}: Retry strategy ${l.name} redirects to ${h}`),n.url=h;continue e}}if(a)throw r.info("None of the retry strategies could work with the received error. Throwing it."),a;if(s)return r.info("None of the retry strategies could work with the received response. Returning it."),s}}}}o(_1e,"retryPolicy")});var Nv=x((uit,g7)=>{var Sv=Object.defineProperty,D1e=Object.getOwnPropertyDescriptor,k1e=Object.getOwnPropertyNames,T1e=Object.prototype.hasOwnProperty,O1e=o((t,e)=>{for(var r in e)Sv(t,r,{get:e[r],enumerable:!0})},"__export"),M1e=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of k1e(e))!T1e.call(t,i)&&i!==r&&Sv(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=D1e(e,i))||n.enumerable});return t},"__copyProps"),L1e=o(t=>M1e(Sv({},"__esModule",{value:!0}),t),"__toCommonJS"),h7={};O1e(h7,{defaultRetryPolicy:o(()=>z1e,"defaultRetryPolicy"),defaultRetryPolicyName:o(()=>p7,"defaultRetryPolicyName")});g7.exports=L1e(h7);var U1e=AE(),F1e=uE(),H1e=yd(),q1e=su(),p7="defaultRetryPolicy";function z1e(t={}){return{name:p7,sendRequest:(0,H1e.retryPolicy)([(0,F1e.throttlingRetryStrategy)(),(0,U1e.exponentialRetryStrategy)(t)],{maxRetries:t.maxRetries??q1e.DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}o(z1e,"defaultRetryPolicy")});var kp=x((dit,C7)=>{var vv=Object.defineProperty,G1e=Object.getOwnPropertyDescriptor,j1e=Object.getOwnPropertyNames,Y1e=Object.prototype.hasOwnProperty,K1e=o((t,e)=>{for(var r in e)vv(t,r,{get:e[r],enumerable:!0})},"__export"),J1e=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of j1e(e))!Y1e.call(t,i)&&i!==r&&vv(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=G1e(e,i))||n.enumerable});return t},"__copyProps"),V1e=o(t=>J1e(vv({},"__esModule",{value:!0}),t),"__toCommonJS"),m7={};K1e(m7,{isBrowser:o(()=>W1e,"isBrowser"),isBun:o(()=>E7,"isBun"),isDeno:o(()=>y7,"isDeno"),isNodeLike:o(()=>b7,"isNodeLike"),isNodeRuntime:o(()=>X1e,"isNodeRuntime"),isReactNative:o(()=>Z1e,"isReactNative"),isWebWorker:o(()=>$1e,"isWebWorker")});C7.exports=V1e(m7);var W1e=typeof window<"u"&&typeof window.document<"u",$1e=typeof self=="object"&&typeof self?.importScripts=="function"&&(self.constructor?.name==="DedicatedWorkerGlobalScope"||self.constructor?.name==="ServiceWorkerGlobalScope"||self.constructor?.name==="SharedWorkerGlobalScope"),y7=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",E7=typeof Bun<"u"&&typeof Bun.version<"u",b7=typeof globalThis.process<"u"&&!!globalThis.process.version&&!!globalThis.process.versions?.node,X1e=b7&&!E7&&!y7,Z1e=typeof navigator<"u"&&navigator?.product==="ReactNative"});var Pv=x((hit,w7)=>{var Rv=Object.defineProperty,eSe=Object.getOwnPropertyDescriptor,tSe=Object.getOwnPropertyNames,rSe=Object.prototype.hasOwnProperty,nSe=o((t,e)=>{for(var r in e)Rv(t,r,{get:e[r],enumerable:!0})},"__export"),iSe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of tSe(e))!rSe.call(t,i)&&i!==r&&Rv(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=eSe(e,i))||n.enumerable});return t},"__copyProps"),sSe=o(t=>iSe(Rv({},"__esModule",{value:!0}),t),"__toCommonJS"),I7={};nSe(I7,{formDataPolicy:o(()=>lSe,"formDataPolicy"),formDataPolicyName:o(()=>B7,"formDataPolicyName")});w7.exports=sSe(I7);var oSe=iu(),aSe=kp(),x7=vc(),B7="formDataPolicy";function cSe(t){let e={};for(let[r,n]of t.entries())e[r]??=[],e[r].push(n);return e}o(cSe,"formDataToFormDataMap");function lSe(){return{name:B7,async sendRequest(t,e){if(aSe.isNodeLike&&typeof FormData<"u"&&t.body instanceof FormData&&(t.formData=cSe(t.body),t.body=void 0),t.formData){let r=t.headers.get("Content-Type");r&&r.indexOf("application/x-www-form-urlencoded")!==-1?t.body=uSe(t.formData):await ASe(t.formData,t),t.formData=void 0}return e(t)}}}o(lSe,"formDataPolicy");function uSe(t){let e=new URLSearchParams;for(let[r,n]of Object.entries(t))if(Array.isArray(n))for(let i of n)e.append(r,i.toString());else e.append(r,n.toString());return e.toString()}o(uSe,"wwwFormUrlEncode");async function ASe(t,e){let r=e.headers.get("Content-Type");if(r&&!r.startsWith("multipart/form-data"))return;e.headers.set("Content-Type",r??"multipart/form-data");let n=[];for(let[i,s]of Object.entries(t))for(let a of Array.isArray(s)?s:[s])if(typeof a=="string")n.push({headers:(0,x7.createHttpHeaders)({"Content-Disposition":`form-data; name="${i}"`}),body:(0,oSe.stringToUint8Array)(a,"utf-8")});else{if(a==null||typeof a!="object")throw new Error(`Unexpected value for key ${i}: ${a}. Value should be serialized to string first.`);{let c=a.name||"blob",l=(0,x7.createHttpHeaders)();l.set("Content-Disposition",`form-data; name="${i}"; filename="${c}"`),l.set("Content-Type",a.type||"application/octet-stream"),n.push({headers:l,body:a})}}e.multipartBody={parts:n}}o(ASe,"prepareFormData")});var S7=x((git,Q7)=>{var Ed=1e3,bd=Ed*60,Cd=bd*60,ou=Cd*24,dSe=ou*7,fSe=ou*365.25;Q7.exports=function(t,e){e=e||{};var r=typeof t;if(r==="string"&&t.length>0)return hSe(t);if(r==="number"&&isFinite(t))return e.long?gSe(t):pSe(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function hSe(t){if(t=String(t),!(t.length>100)){var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(e){var r=parseFloat(e[1]),n=(e[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return r*fSe;case"weeks":case"week":case"w":return r*dSe;case"days":case"day":case"d":return r*ou;case"hours":case"hour":case"hrs":case"hr":case"h":return r*Cd;case"minutes":case"minute":case"mins":case"min":case"m":return r*bd;case"seconds":case"second":case"secs":case"sec":case"s":return r*Ed;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}o(hSe,"parse");function pSe(t){var e=Math.abs(t);return e>=ou?Math.round(t/ou)+"d":e>=Cd?Math.round(t/Cd)+"h":e>=bd?Math.round(t/bd)+"m":e>=Ed?Math.round(t/Ed)+"s":t+"ms"}o(pSe,"fmtShort");function gSe(t){var e=Math.abs(t);return e>=ou?dE(t,e,ou,"day"):e>=Cd?dE(t,e,Cd,"hour"):e>=bd?dE(t,e,bd,"minute"):e>=Ed?dE(t,e,Ed,"second"):t+" ms"}o(gSe,"fmtLong");function dE(t,e,r,n){var i=e>=r*1.5;return Math.round(t/r)+" "+n+(i?"s":"")}o(dE,"plural")});var _v=x((yit,N7)=>{function mSe(t){r.debug=r,r.default=r,r.coerce=l,r.disable=a,r.enable=i,r.enabled=c,r.humanize=S7(),r.destroy=u,Object.keys(t).forEach(A=>{r[A]=t[A]}),r.names=[],r.skips=[],r.formatters={};function e(A){let d=0;for(let f=0;f{if(H==="%%")return"%";v++;let q=r.formatters[J];if(typeof q=="function"){let D=b[v];H=q.call(y,D),b.splice(v,1),v--}return H}),r.formatArgs.call(y,b),(y.log||r.log).apply(y,b)}return o(m,"debug"),m.namespace=A,m.useColors=r.useColors(),m.color=r.selectColor(A),m.extend=n,m.destroy=r.destroy,Object.defineProperty(m,"enabled",{enumerable:!0,configurable:!1,get:o(()=>f!==null?f:(h!==r.namespaces&&(h=r.namespaces,g=r.enabled(A)),g),"get"),set:o(b=>{f=b},"set")}),typeof r.init=="function"&&r.init(m),m}o(r,"createDebug");function n(A,d){let f=r(this.namespace+(typeof d>"u"?":":d)+A);return f.log=this.log,f}o(n,"extend");function i(A){r.save(A),r.namespaces=A,r.names=[],r.skips=[];let d=(typeof A=="string"?A:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(let f of d)f[0]==="-"?r.skips.push(f.slice(1)):r.names.push(f)}o(i,"enable");function s(A,d){let f=0,h=0,g=-1,m=0;for(;f"-"+d)].join(",");return r.enable(""),A}o(a,"disable");function c(A){for(let d of r.skips)if(s(A,d))return!1;for(let d of r.names)if(s(A,d))return!0;return!1}o(c,"enabled");function l(A){return A instanceof Error?A.stack||A.message:A}o(l,"coerce");function u(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return o(u,"destroy"),r.enable(r.load()),r}o(mSe,"setup");N7.exports=mSe});var v7=x((ei,fE)=>{ei.formatArgs=ESe;ei.save=bSe;ei.load=CSe;ei.useColors=ySe;ei.storage=xSe();ei.destroy=(()=>{let t=!1;return()=>{t||(t=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();ei.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function ySe(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let t;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(t=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(t[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}o(ySe,"useColors");function ESe(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+fE.exports.humanize(this.diff),!this.useColors)return;let e="color: "+this.color;t.splice(1,0,e,"color: inherit");let r=0,n=0;t[0].replace(/%[a-zA-Z%]/g,i=>{i!=="%%"&&(r++,i==="%c"&&(n=r))}),t.splice(n,0,e)}o(ESe,"formatArgs");ei.log=console.debug||console.log||(()=>{});function bSe(t){try{t?ei.storage.setItem("debug",t):ei.storage.removeItem("debug")}catch{}}o(bSe,"save");function CSe(){let t;try{t=ei.storage.getItem("debug")||ei.storage.getItem("DEBUG")}catch{}return!t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t}o(CSe,"load");function xSe(){try{return localStorage}catch{}}o(xSe,"localstorage");fE.exports=_v()(ei);var{formatters:ISe}=fE.exports;ISe.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var P7=x((Cit,R7)=>{"use strict";R7.exports=(t,e=process.argv)=>{let r=t.startsWith("-")?"":t.length===1?"-":"--",n=e.indexOf(r+t),i=e.indexOf("--");return n!==-1&&(i===-1||n{"use strict";var BSe=require("os"),_7=require("tty"),ls=P7(),{env:$r}=process,Rc;ls("no-color")||ls("no-colors")||ls("color=false")||ls("color=never")?Rc=0:(ls("color")||ls("colors")||ls("color=true")||ls("color=always"))&&(Rc=1);"FORCE_COLOR"in $r&&($r.FORCE_COLOR==="true"?Rc=1:$r.FORCE_COLOR==="false"?Rc=0:Rc=$r.FORCE_COLOR.length===0?1:Math.min(parseInt($r.FORCE_COLOR,10),3));function Dv(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}o(Dv,"translateLevel");function kv(t,e){if(Rc===0)return 0;if(ls("color=16m")||ls("color=full")||ls("color=truecolor"))return 3;if(ls("color=256"))return 2;if(t&&!e&&Rc===void 0)return 0;let r=Rc||0;if($r.TERM==="dumb")return r;if(process.platform==="win32"){let n=BSe.release().split(".");return Number(n[0])>=10&&Number(n[2])>=10586?Number(n[2])>=14931?3:2:1}if("CI"in $r)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(n=>n in $r)||$r.CI_NAME==="codeship"?1:r;if("TEAMCITY_VERSION"in $r)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test($r.TEAMCITY_VERSION)?1:0;if($r.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in $r){let n=parseInt(($r.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch($r.TERM_PROGRAM){case"iTerm.app":return n>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test($r.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test($r.TERM)||"COLORTERM"in $r?1:r}o(kv,"supportsColor");function wSe(t){let e=kv(t,t&&t.isTTY);return Dv(e)}o(wSe,"getSupportLevel");D7.exports={supportsColor:wSe,stdout:Dv(kv(!0,_7.isatty(1))),stderr:Dv(kv(!0,_7.isatty(2)))}});var O7=x((Xr,pE)=>{var QSe=require("tty"),hE=require("util");Xr.init=DSe;Xr.log=RSe;Xr.formatArgs=NSe;Xr.save=PSe;Xr.load=_Se;Xr.useColors=SSe;Xr.destroy=hE.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");Xr.colors=[6,2,3,4,5,1];try{let t=k7();t&&(t.stderr||t).level>=2&&(Xr.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}Xr.inspectOpts=Object.keys(process.env).filter(t=>/^debug_/i.test(t)).reduce((t,e)=>{let r=e.substring(6).toLowerCase().replace(/_([a-z])/g,(i,s)=>s.toUpperCase()),n=process.env[e];return/^(yes|on|true|enabled)$/i.test(n)?n=!0:/^(no|off|false|disabled)$/i.test(n)?n=!1:n==="null"?n=null:n=Number(n),t[r]=n,t},{});function SSe(){return"colors"in Xr.inspectOpts?!!Xr.inspectOpts.colors:QSe.isatty(process.stderr.fd)}o(SSe,"useColors");function NSe(t){let{namespace:e,useColors:r}=this;if(r){let n=this.color,i="\x1B[3"+(n<8?n:"8;5;"+n),s=` ${i};1m${e} \x1B[0m`;t[0]=s+t[0].split(` `).join(` -`+s),t.push(i+"m+"+Qf.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=Bye()+e+" "+t[0]}o(Eye,"formatArgs");function Bye(){return zt.inspectOpts.hideDate?"":new Date().toISOString()+" "}o(Bye,"getDate");function Iye(...t){return process.stderr.write(bf.formatWithOptions(zt.inspectOpts,...t)+` -`)}o(Iye,"log");function bye(t){t?process.env.DEBUG=t:delete process.env.DEBUG}o(bye,"save");function Qye(){return process.env.DEBUG}o(Qye,"load");function wye(t){t.inspectOpts={};let e=Object.keys(zt.inspectOpts);for(let r=0;re.trim()).join(" ")};VH.O=function(t){return this.inspectOpts.colors=this.useColors,bf.inspect(t,this.inspectOpts)}});var wf=g((OJe,nw)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?nw.exports=JH():nw.exports=WH()});var XH=g(_r=>{"use strict";var Nye=_r&&_r.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),xye=_r&&_r.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),$H=_r&&_r.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&Nye(e,t,r);return xye(e,t),e};Object.defineProperty(_r,"__esModule",{value:!0});_r.req=_r.json=_r.toBuffer=void 0;var Sye=$H(require("http")),Rye=$H(require("https"));async function KH(t){let e=0,r=[];for await(let n of t)e+=n.length,r.push(n);return Buffer.concat(r,e)}o(KH,"toBuffer");_r.toBuffer=KH;async function _ye(t){let r=(await KH(t)).toString("utf8");try{return JSON.parse(r)}catch(n){let i=n;throw i.message+=` (input: ${r})`,i}}o(_ye,"json");_r.json=_ye;function vye(t,e={}){let n=((typeof t=="string"?t:t.href).startsWith("https:")?Rye:Sye).request(t,e),i=new Promise((s,a)=>{n.once("response",s).once("error",a).end()});return n.then=i.then.bind(i),n}o(vye,"req");_r.req=vye});var sw=g(Zr=>{"use strict";var e2=Zr&&Zr.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),Pye=Zr&&Zr.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),t2=Zr&&Zr.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&e2(e,t,r);return Pye(e,t),e},Dye=Zr&&Zr.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&e2(e,t,r)};Object.defineProperty(Zr,"__esModule",{value:!0});Zr.Agent=void 0;var Tye=t2(require("net")),ZH=t2(require("http")),Oye=require("https");Dye(XH(),Zr);var wi=Symbol("AgentBaseInternalState"),iw=class extends ZH.Agent{static{o(this,"Agent")}constructor(e){super(e),this[wi]={}}isSecureEndpoint(e){if(e){if(typeof e.secureEndpoint=="boolean")return e.secureEndpoint;if(typeof e.protocol=="string")return e.protocol==="https:"}let{stack:r}=new Error;return typeof r!="string"?!1:r.split(` -`).some(n=>n.indexOf("(https.js:")!==-1||n.indexOf("node:https:")!==-1)}incrementSockets(e){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;this.sockets[e]||(this.sockets[e]=[]);let r=new Tye.Socket({writable:!1});return this.sockets[e].push(r),this.totalSocketCount++,r}decrementSockets(e,r){if(!this.sockets[e]||r===null)return;let n=this.sockets[e],i=n.indexOf(r);i!==-1&&(n.splice(i,1),this.totalSocketCount--,n.length===0&&delete this.sockets[e])}getName(e){return this.isSecureEndpoint(e)?Oye.Agent.prototype.getName.call(this,e):super.getName(e)}createSocket(e,r,n){let i={...r,secureEndpoint:this.isSecureEndpoint(r)},s=this.getName(i),a=this.incrementSockets(s);Promise.resolve().then(()=>this.connect(e,i)).then(c=>{if(this.decrementSockets(s,a),c instanceof ZH.Agent)try{return c.addRequest(e,i)}catch(l){return n(l)}this[wi].currentSocket=c,super.createSocket(e,r,n)},c=>{this.decrementSockets(s,a),n(c)})}createConnection(){let e=this[wi].currentSocket;if(this[wi].currentSocket=void 0,!e)throw new Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[wi].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){this[wi]&&(this[wi].defaultPort=e)}get protocol(){return this[wi].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[wi]&&(this[wi].protocol=e)}};Zr.Agent=iw});var r2=g(zc=>{"use strict";var Mye=zc&&zc.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(zc,"__esModule",{value:!0});zc.parseProxyResponse=void 0;var kye=Mye(wf()),Nf=(0,kye.default)("https-proxy-agent:parse-proxy-response");function Lye(t){return new Promise((e,r)=>{let n=0,i=[];function s(){let u=t.read();u?A(u):t.once("readable",s)}o(s,"read");function a(){t.removeListener("end",c),t.removeListener("error",l),t.removeListener("readable",s)}o(a,"cleanup");function c(){a(),Nf("onend"),r(new Error("Proxy connection ended before receiving CONNECT response"))}o(c,"onend");function l(u){a(),Nf("onerror %o",u),r(u)}o(l,"onerror");function A(u){i.push(u),n+=u.length;let d=Buffer.concat(i,n),f=d.indexOf(`\r +`+s),t.push(i+"m+"+pE.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=vSe()+e+" "+t[0]}o(NSe,"formatArgs");function vSe(){return Xr.inspectOpts.hideDate?"":new Date().toISOString()+" "}o(vSe,"getDate");function RSe(...t){return process.stderr.write(hE.formatWithOptions(Xr.inspectOpts,...t)+` +`)}o(RSe,"log");function PSe(t){t?process.env.DEBUG=t:delete process.env.DEBUG}o(PSe,"save");function _Se(){return process.env.DEBUG}o(_Se,"load");function DSe(t){t.inspectOpts={};let e=Object.keys(Xr.inspectOpts);for(let r=0;re.trim()).join(" ")};T7.O=function(t){return this.inspectOpts.colors=this.useColors,hE.inspect(t,this.inspectOpts)}});var gE=x((wit,Tv)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?Tv.exports=v7():Tv.exports=O7()});var U7=x(ti=>{"use strict";var kSe=ti&&ti.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),TSe=ti&&ti.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),M7=ti&&ti.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&kSe(e,t,r);return TSe(e,t),e};Object.defineProperty(ti,"__esModule",{value:!0});ti.req=ti.json=ti.toBuffer=void 0;var OSe=M7(require("http")),MSe=M7(require("https"));async function L7(t){let e=0,r=[];for await(let n of t)e+=n.length,r.push(n);return Buffer.concat(r,e)}o(L7,"toBuffer");ti.toBuffer=L7;async function LSe(t){let r=(await L7(t)).toString("utf8");try{return JSON.parse(r)}catch(n){let i=n;throw i.message+=` (input: ${r})`,i}}o(LSe,"json");ti.json=LSe;function USe(t,e={}){let n=((typeof t=="string"?t:t.href).startsWith("https:")?MSe:OSe).request(t,e),i=new Promise((s,a)=>{n.once("response",s).once("error",a).end()});return n.then=i.then.bind(i),n}o(USe,"req");ti.req=USe});var Mv=x(Ti=>{"use strict";var H7=Ti&&Ti.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),FSe=Ti&&Ti.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),q7=Ti&&Ti.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&H7(e,t,r);return FSe(e,t),e},HSe=Ti&&Ti.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&H7(e,t,r)};Object.defineProperty(Ti,"__esModule",{value:!0});Ti.Agent=void 0;var qSe=q7(require("net")),F7=q7(require("http")),zSe=require("https");HSe(U7(),Ti);var Io=Symbol("AgentBaseInternalState"),Ov=class extends F7.Agent{static{o(this,"Agent")}constructor(e){super(e),this[Io]={}}isSecureEndpoint(e){if(e){if(typeof e.secureEndpoint=="boolean")return e.secureEndpoint;if(typeof e.protocol=="string")return e.protocol==="https:"}let{stack:r}=new Error;return typeof r!="string"?!1:r.split(` +`).some(n=>n.indexOf("(https.js:")!==-1||n.indexOf("node:https:")!==-1)}incrementSockets(e){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;this.sockets[e]||(this.sockets[e]=[]);let r=new qSe.Socket({writable:!1});return this.sockets[e].push(r),this.totalSocketCount++,r}decrementSockets(e,r){if(!this.sockets[e]||r===null)return;let n=this.sockets[e],i=n.indexOf(r);i!==-1&&(n.splice(i,1),this.totalSocketCount--,n.length===0&&delete this.sockets[e])}getName(e){return this.isSecureEndpoint(e)?zSe.Agent.prototype.getName.call(this,e):super.getName(e)}createSocket(e,r,n){let i={...r,secureEndpoint:this.isSecureEndpoint(r)},s=this.getName(i),a=this.incrementSockets(s);Promise.resolve().then(()=>this.connect(e,i)).then(c=>{if(this.decrementSockets(s,a),c instanceof F7.Agent)try{return c.addRequest(e,i)}catch(l){return n(l)}this[Io].currentSocket=c,super.createSocket(e,r,n)},c=>{this.decrementSockets(s,a),n(c)})}createConnection(){let e=this[Io].currentSocket;if(this[Io].currentSocket=void 0,!e)throw new Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[Io].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){this[Io]&&(this[Io].defaultPort=e)}get protocol(){return this[Io].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[Io]&&(this[Io].protocol=e)}};Ti.Agent=Ov});var z7=x(xd=>{"use strict";var GSe=xd&&xd.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(xd,"__esModule",{value:!0});xd.parseProxyResponse=void 0;var jSe=GSe(gE()),mE=(0,jSe.default)("https-proxy-agent:parse-proxy-response");function YSe(t){return new Promise((e,r)=>{let n=0,i=[];function s(){let A=t.read();A?u(A):t.once("readable",s)}o(s,"read");function a(){t.removeListener("end",c),t.removeListener("error",l),t.removeListener("readable",s)}o(a,"cleanup");function c(){a(),mE("onend"),r(new Error("Proxy connection ended before receiving CONNECT response"))}o(c,"onend");function l(A){a(),mE("onerror %o",A),r(A)}o(l,"onerror");function u(A){i.push(A),n+=A.length;let d=Buffer.concat(i,n),f=d.indexOf(`\r \r -`);if(f===-1){Nf("have not received end of HTTP headers yet..."),s();return}let m=d.slice(0,f).toString("ascii").split(`\r -`),C=m.shift();if(!C)return t.destroy(),r(new Error("No header received from proxy CONNECT response"));let Q=C.split(" "),S=+Q[1],w=Q.slice(2).join(" "),R={};for(let T of m){if(!T)continue;let L=T.indexOf(":");if(L===-1)return t.destroy(),r(new Error(`Invalid header from proxy CONNECT response: "${T}"`));let W=T.slice(0,L).toLowerCase(),de=T.slice(L+1).trimStart(),le=R[W];typeof le=="string"?R[W]=[le,de]:Array.isArray(le)?le.push(de):R[W]=de}Nf("got proxy server response: %o %o",C,R),a(),e({connect:{statusCode:S,statusText:w,headers:R},buffered:d})}o(A,"ondata"),t.on("error",l),t.on("end",c),s()})}o(Lye,"parseProxyResponse");zc.parseProxyResponse=Lye});var c2=g(Nn=>{"use strict";var Uye=Nn&&Nn.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),Fye=Nn&&Nn.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),o2=Nn&&Nn.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&Uye(e,t,r);return Fye(e,t),e},a2=Nn&&Nn.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Nn,"__esModule",{value:!0});Nn.HttpsProxyAgent=void 0;var xf=o2(require("net")),n2=o2(require("tls")),qye=a2(require("assert")),Hye=a2(wf()),zye=sw(),jye=require("url"),Gye=r2(),Su=(0,Hye.default)("https-proxy-agent"),i2=o(t=>t.servername===void 0&&t.host&&!xf.isIP(t.host)?{...t,servername:t.host}:t,"setServernameFromNonIpHost"),Sf=class extends zye.Agent{static{o(this,"HttpsProxyAgent")}constructor(e,r){super(r),this.options={path:void 0},this.proxy=typeof e=="string"?new jye.URL(e):e,this.proxyHeaders=r?.headers??{},Su("Creating new HttpsProxyAgent instance: %o",this.proxy.href);let n=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),i=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...r?s2(r,"headers"):null,host:n,port:i}}async connect(e,r){let{proxy:n}=this;if(!r.host)throw new TypeError('No "host" provided');let i;n.protocol==="https:"?(Su("Creating `tls.Socket`: %o",this.connectOpts),i=n2.connect(i2(this.connectOpts))):(Su("Creating `net.Socket`: %o",this.connectOpts),i=xf.connect(this.connectOpts));let s=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders},a=xf.isIPv6(r.host)?`[${r.host}]`:r.host,c=`CONNECT ${a}:${r.port} HTTP/1.1\r +`);if(f===-1){mE("have not received end of HTTP headers yet..."),s();return}let h=d.slice(0,f).toString("ascii").split(`\r +`),g=h.shift();if(!g)return t.destroy(),r(new Error("No header received from proxy CONNECT response"));let m=g.split(" "),b=+m[1],y=m.slice(2).join(" "),I={};for(let w of h){if(!w)continue;let v=w.indexOf(":");if(v===-1)return t.destroy(),r(new Error(`Invalid header from proxy CONNECT response: "${w}"`));let U=w.slice(0,v).toLowerCase(),H=w.slice(v+1).trimStart(),J=I[U];typeof J=="string"?I[U]=[J,H]:Array.isArray(J)?J.push(H):I[U]=H}mE("got proxy server response: %o %o",g,I),a(),e({connect:{statusCode:b,statusText:y,headers:I},buffered:d})}o(u,"ondata"),t.on("error",l),t.on("end",c),s()})}o(YSe,"parseProxyResponse");xd.parseProxyResponse=YSe});var V7=x(us=>{"use strict";var KSe=us&&us.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),JSe=us&&us.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),K7=us&&us.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&KSe(e,t,r);return JSe(e,t),e},J7=us&&us.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(us,"__esModule",{value:!0});us.HttpsProxyAgent=void 0;var yE=K7(require("net")),G7=K7(require("tls")),VSe=J7(require("assert")),WSe=J7(gE()),$Se=Mv(),XSe=require("url"),ZSe=z7(),Tp=(0,WSe.default)("https-proxy-agent"),j7=o(t=>t.servername===void 0&&t.host&&!yE.isIP(t.host)?{...t,servername:t.host}:t,"setServernameFromNonIpHost"),EE=class extends $Se.Agent{static{o(this,"HttpsProxyAgent")}constructor(e,r){super(r),this.options={path:void 0},this.proxy=typeof e=="string"?new XSe.URL(e):e,this.proxyHeaders=r?.headers??{},Tp("Creating new HttpsProxyAgent instance: %o",this.proxy.href);let n=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),i=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...r?Y7(r,"headers"):null,host:n,port:i}}async connect(e,r){let{proxy:n}=this;if(!r.host)throw new TypeError('No "host" provided');let i;n.protocol==="https:"?(Tp("Creating `tls.Socket`: %o",this.connectOpts),i=G7.connect(j7(this.connectOpts))):(Tp("Creating `net.Socket`: %o",this.connectOpts),i=yE.connect(this.connectOpts));let s=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders},a=yE.isIPv6(r.host)?`[${r.host}]`:r.host,c=`CONNECT ${a}:${r.port} HTTP/1.1\r `;if(n.username||n.password){let f=`${decodeURIComponent(n.username)}:${decodeURIComponent(n.password)}`;s["Proxy-Authorization"]=`Basic ${Buffer.from(f).toString("base64")}`}s.Host=`${a}:${r.port}`,s["Proxy-Connection"]||(s["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(let f of Object.keys(s))c+=`${f}: ${s[f]}\r -`;let l=(0,Gye.parseProxyResponse)(i);i.write(`${c}\r -`);let{connect:A,buffered:u}=await l;if(e.emit("proxyConnect",A),this.emit("proxyConnect",A,e),A.statusCode===200)return e.once("socket",Yye),r.secureEndpoint?(Su("Upgrading socket connection to TLS"),n2.connect({...s2(i2(r),"host","path","port"),socket:i})):i;i.destroy();let d=new xf.Socket({writable:!1});return d.readable=!0,e.once("socket",f=>{Su("Replaying proxy buffer for failed request"),(0,qye.default)(f.listenerCount("data")>0),f.push(u),f.push(null)}),d}};Sf.protocols=["http","https"];Nn.HttpsProxyAgent=Sf;function Yye(t){t.resume()}o(Yye,"resume");function s2(t,...e){let r={},n;for(n in t)e.includes(n)||(r[n]=t[n]);return r}o(s2,"omit")});var u2=g(xn=>{"use strict";var Jye=xn&&xn.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),Vye=xn&&xn.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),A2=xn&&xn.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&Jye(e,t,r);return Vye(e,t),e},Wye=xn&&xn.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(xn,"__esModule",{value:!0});xn.HttpProxyAgent=void 0;var $ye=A2(require("net")),Kye=A2(require("tls")),Xye=Wye(wf()),Zye=require("events"),eCe=sw(),l2=require("url"),jc=(0,Xye.default)("http-proxy-agent"),Rf=class extends eCe.Agent{static{o(this,"HttpProxyAgent")}constructor(e,r){super(r),this.proxy=typeof e=="string"?new l2.URL(e):e,this.proxyHeaders=r?.headers??{},jc("Creating new HttpProxyAgent instance: %o",this.proxy.href);let n=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),i=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={...r?tCe(r,"headers"):null,host:n,port:i}}addRequest(e,r){e._header=null,this.setRequestProps(e,r),super.addRequest(e,r)}setRequestProps(e,r){let{proxy:n}=this,i=r.secureEndpoint?"https:":"http:",s=e.getHeader("host")||"localhost",a=`${i}//${s}`,c=new l2.URL(e.path,a);r.port!==80&&(c.port=String(r.port)),e.path=String(c);let l=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders};if(n.username||n.password){let A=`${decodeURIComponent(n.username)}:${decodeURIComponent(n.password)}`;l["Proxy-Authorization"]=`Basic ${Buffer.from(A).toString("base64")}`}l["Proxy-Connection"]||(l["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(let A of Object.keys(l)){let u=l[A];u&&e.setHeader(A,u)}}async connect(e,r){e._header=null,e.path.includes("://")||this.setRequestProps(e,r);let n,i;jc("Regenerating stored HTTP header string for request"),e._implicitHeader(),e.outputData&&e.outputData.length>0&&(jc("Patching connection write() output buffer with updated header"),n=e.outputData[0].data,i=n.indexOf(`\r +`;let l=(0,ZSe.parseProxyResponse)(i);i.write(`${c}\r +`);let{connect:u,buffered:A}=await l;if(e.emit("proxyConnect",u),this.emit("proxyConnect",u,e),u.statusCode===200)return e.once("socket",eNe),r.secureEndpoint?(Tp("Upgrading socket connection to TLS"),G7.connect({...Y7(j7(r),"host","path","port"),socket:i})):i;i.destroy();let d=new yE.Socket({writable:!1});return d.readable=!0,e.once("socket",f=>{Tp("Replaying proxy buffer for failed request"),(0,VSe.default)(f.listenerCount("data")>0),f.push(A),f.push(null)}),d}};EE.protocols=["http","https"];us.HttpsProxyAgent=EE;function eNe(t){t.resume()}o(eNe,"resume");function Y7(t,...e){let r={},n;for(n in t)e.includes(n)||(r[n]=t[n]);return r}o(Y7,"omit")});var X7=x(As=>{"use strict";var tNe=As&&As.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),rNe=As&&As.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),$7=As&&As.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&tNe(e,t,r);return rNe(e,t),e},nNe=As&&As.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(As,"__esModule",{value:!0});As.HttpProxyAgent=void 0;var iNe=$7(require("net")),sNe=$7(require("tls")),oNe=nNe(gE()),aNe=require("events"),cNe=Mv(),W7=require("url"),Id=(0,oNe.default)("http-proxy-agent"),bE=class extends cNe.Agent{static{o(this,"HttpProxyAgent")}constructor(e,r){super(r),this.proxy=typeof e=="string"?new W7.URL(e):e,this.proxyHeaders=r?.headers??{},Id("Creating new HttpProxyAgent instance: %o",this.proxy.href);let n=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),i=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={...r?lNe(r,"headers"):null,host:n,port:i}}addRequest(e,r){e._header=null,this.setRequestProps(e,r),super.addRequest(e,r)}setRequestProps(e,r){let{proxy:n}=this,i=r.secureEndpoint?"https:":"http:",s=e.getHeader("host")||"localhost",a=`${i}//${s}`,c=new W7.URL(e.path,a);r.port!==80&&(c.port=String(r.port)),e.path=String(c);let l=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders};if(n.username||n.password){let u=`${decodeURIComponent(n.username)}:${decodeURIComponent(n.password)}`;l["Proxy-Authorization"]=`Basic ${Buffer.from(u).toString("base64")}`}l["Proxy-Connection"]||(l["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(let u of Object.keys(l)){let A=l[u];A&&e.setHeader(u,A)}}async connect(e,r){e._header=null,e.path.includes("://")||this.setRequestProps(e,r);let n,i;Id("Regenerating stored HTTP header string for request"),e._implicitHeader(),e.outputData&&e.outputData.length>0&&(Id("Patching connection write() output buffer with updated header"),n=e.outputData[0].data,i=n.indexOf(`\r \r -`)+4,e.outputData[0].data=e._header+n.substring(i),jc("Output buffer: %o",e.outputData[0].data));let s;return this.proxy.protocol==="https:"?(jc("Creating `tls.Socket`: %o",this.connectOpts),s=Kye.connect(this.connectOpts)):(jc("Creating `net.Socket`: %o",this.connectOpts),s=$ye.connect(this.connectOpts)),await(0,Zye.once)(s,"connect"),s}};Rf.protocols=["http","https"];xn.HttpProxyAgent=Rf;function tCe(t,...e){let r={},n;for(n in t)e.includes(n)||(r[n]=t[n]);return r}o(tCe,"omit")});var cw=g((YJe,C2)=>{var aw=Object.defineProperty,rCe=Object.getOwnPropertyDescriptor,nCe=Object.getOwnPropertyNames,iCe=Object.prototype.hasOwnProperty,sCe=o((t,e)=>{for(var r in e)aw(t,r,{get:e[r],enumerable:!0})},"__export"),oCe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of nCe(e))!iCe.call(t,i)&&i!==r&&aw(t,i,{get:()=>e[i],enumerable:!(n=rCe(e,i))||n.enumerable});return t},"__copyProps"),aCe=o(t=>oCe(aw({},"__esModule",{value:!0}),t),"__toCommonJS"),h2={};sCe(h2,{getDefaultProxySettings:()=>gCe,globalNoProxyList:()=>ow,loadNoProxy:()=>y2,proxyPolicy:()=>CCe,proxyPolicyName:()=>f2});C2.exports=aCe(h2);var cCe=c2(),lCe=u2(),ACe=kc(),uCe="HTTPS_PROXY",dCe="HTTP_PROXY",pCe="ALL_PROXY",hCe="NO_PROXY",f2="proxyPolicy",ow=[],m2=!1,fCe=new Map;function _f(t){if(process.env[t])return process.env[t];if(process.env[t.toLowerCase()])return process.env[t.toLowerCase()]}o(_f,"getEnvironmentValue");function g2(){if(!process)return;let t=_f(uCe),e=_f(pCe),r=_f(dCe);return t||e||r}o(g2,"loadEnvironmentProxyValue");function mCe(t,e,r){if(e.length===0)return!1;let n=new URL(t).hostname;if(r?.has(n))return r.get(n);let i=!1;for(let s of e)s[0]==="."?(n.endsWith(s)||n.length===s.length-1&&n===s.slice(1))&&(i=!0):n===s&&(i=!0);return r?.set(n,i),i}o(mCe,"isBypassed");function y2(){let t=_f(hCe);return m2=!0,t?t.split(",").map(e=>e.trim()).filter(e=>e.length):[]}o(y2,"loadNoProxy");function gCe(t){if(!t&&(t=g2(),!t))return;let e=new URL(t);return{host:(e.protocol?e.protocol+"//":"")+e.hostname,port:Number.parseInt(e.port||"80"),username:e.username,password:e.password}}o(gCe,"getDefaultProxySettings");function yCe(){let t=g2();return t?new URL(t):void 0}o(yCe,"getDefaultProxySettingsInternal");function d2(t){let e;try{e=new URL(t.host)}catch{throw new Error(`Expecting a valid host string in proxy settings, but found "${t.host}".`)}return e.port=String(t.port),t.username&&(e.username=t.username),t.password&&(e.password=t.password),e}o(d2,"getUrlFromProxySettings");function p2(t,e,r){if(t.agent)return;let i=new URL(t.url).protocol!=="https:";t.tlsSettings&&ACe.logger.warning("TLS settings are not supported in combination with custom Proxy, certificates provided to the client will be ignored.");let s=t.headers.toJSON();i?(e.httpProxyAgent||(e.httpProxyAgent=new lCe.HttpProxyAgent(r,{headers:s})),t.agent=e.httpProxyAgent):(e.httpsProxyAgent||(e.httpsProxyAgent=new cCe.HttpsProxyAgent(r,{headers:s})),t.agent=e.httpsProxyAgent)}o(p2,"setProxyAgentOnRequest");function CCe(t,e){m2||ow.push(...y2());let r=t?d2(t):yCe(),n={};return{name:f2,async sendRequest(i,s){return!i.proxySettings&&r&&!mCe(i.url,e?.customNoProxyList??ow,e?.customNoProxyList?void 0:fCe)?p2(i,n,r):i.proxySettings&&p2(i,n,d2(i.proxySettings)),s(i)}}}o(CCe,"proxyPolicy")});var Aw=g((VJe,I2)=>{var lw=Object.defineProperty,ECe=Object.getOwnPropertyDescriptor,BCe=Object.getOwnPropertyNames,ICe=Object.prototype.hasOwnProperty,bCe=o((t,e)=>{for(var r in e)lw(t,r,{get:e[r],enumerable:!0})},"__export"),QCe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of BCe(e))!ICe.call(t,i)&&i!==r&&lw(t,i,{get:()=>e[i],enumerable:!(n=ECe(e,i))||n.enumerable});return t},"__copyProps"),wCe=o(t=>QCe(lw({},"__esModule",{value:!0}),t),"__toCommonJS"),E2={};bCe(E2,{agentPolicy:()=>NCe,agentPolicyName:()=>B2});I2.exports=wCe(E2);var B2="agentPolicy";function NCe(t){return{name:B2,sendRequest:async(e,r)=>(e.agent||(e.agent=t),r(e))}}o(NCe,"agentPolicy")});var dw=g(($Je,w2)=>{var uw=Object.defineProperty,xCe=Object.getOwnPropertyDescriptor,SCe=Object.getOwnPropertyNames,RCe=Object.prototype.hasOwnProperty,_Ce=o((t,e)=>{for(var r in e)uw(t,r,{get:e[r],enumerable:!0})},"__export"),vCe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of SCe(e))!RCe.call(t,i)&&i!==r&&uw(t,i,{get:()=>e[i],enumerable:!(n=xCe(e,i))||n.enumerable});return t},"__copyProps"),PCe=o(t=>vCe(uw({},"__esModule",{value:!0}),t),"__toCommonJS"),b2={};_Ce(b2,{tlsPolicy:()=>DCe,tlsPolicyName:()=>Q2});w2.exports=PCe(b2);var Q2="tlsPolicy";function DCe(t){return{name:Q2,sendRequest:async(e,r)=>(e.tlsSettings||(e.tlsSettings=t),r(e))}}o(DCe,"tlsPolicy")});var Ru=g((XJe,_2)=>{var pw=Object.defineProperty,TCe=Object.getOwnPropertyDescriptor,OCe=Object.getOwnPropertyNames,MCe=Object.prototype.hasOwnProperty,kCe=o((t,e)=>{for(var r in e)pw(t,r,{get:e[r],enumerable:!0})},"__export"),LCe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of OCe(e))!MCe.call(t,i)&&i!==r&&pw(t,i,{get:()=>e[i],enumerable:!(n=TCe(e,i))||n.enumerable});return t},"__copyProps"),UCe=o(t=>LCe(pw({},"__esModule",{value:!0}),t),"__toCommonJS"),N2={};kCe(N2,{isBinaryBody:()=>FCe,isBlob:()=>qCe,isNodeReadableStream:()=>x2,isReadableStream:()=>R2,isWebReadableStream:()=>S2});_2.exports=UCe(N2);function x2(t){return!!(t&&typeof t.pipe=="function")}o(x2,"isNodeReadableStream");function S2(t){return!!(t&&typeof t.getReader=="function"&&typeof t.tee=="function")}o(S2,"isWebReadableStream");function FCe(t){return t!==void 0&&(t instanceof Uint8Array||R2(t)||typeof t=="function"||t instanceof Blob)}o(FCe,"isBinaryBody");function R2(t){return x2(t)||S2(t)}o(R2,"isReadableStream");function qCe(t){return typeof t.stream=="function"}o(qCe,"isBlob")});var O2=g((eVe,T2)=>{var hw=Object.defineProperty,HCe=Object.getOwnPropertyDescriptor,zCe=Object.getOwnPropertyNames,jCe=Object.prototype.hasOwnProperty,GCe=o((t,e)=>{for(var r in e)hw(t,r,{get:e[r],enumerable:!0})},"__export"),YCe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of zCe(e))!jCe.call(t,i)&&i!==r&&hw(t,i,{get:()=>e[i],enumerable:!(n=HCe(e,i))||n.enumerable});return t},"__copyProps"),JCe=o(t=>YCe(hw({},"__esModule",{value:!0}),t),"__toCommonJS"),D2={};GCe(D2,{concat:()=>KCe});T2.exports=JCe(D2);var fw=require("stream"),VCe=Ru();async function*v2(){let t=this.getReader();try{for(;;){let{done:e,value:r}=await t.read();if(e)return;yield r}}finally{t.releaseLock()}}o(v2,"streamAsyncIterator");function WCe(t){t[Symbol.asyncIterator]||(t[Symbol.asyncIterator]=v2.bind(t)),t.values||(t.values=v2.bind(t))}o(WCe,"makeAsyncIterable");function P2(t){return t instanceof ReadableStream?(WCe(t),fw.Readable.fromWeb(t)):t}o(P2,"ensureNodeStream");function $Ce(t){return t instanceof Uint8Array?fw.Readable.from(Buffer.from(t)):(0,VCe.isBlob)(t)?P2(t.stream()):P2(t)}o($Ce,"toStream");async function KCe(t){return function(){let e=t.map(r=>typeof r=="function"?r():r).map($Ce);return fw.Readable.from(async function*(){for(let r of e)for await(let n of r)yield n}())}}o(KCe,"concat")});var gw=g((rVe,L2)=>{var mw=Object.defineProperty,XCe=Object.getOwnPropertyDescriptor,ZCe=Object.getOwnPropertyNames,eEe=Object.prototype.hasOwnProperty,tEe=o((t,e)=>{for(var r in e)mw(t,r,{get:e[r],enumerable:!0})},"__export"),rEe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of ZCe(e))!eEe.call(t,i)&&i!==r&&mw(t,i,{get:()=>e[i],enumerable:!(n=XCe(e,i))||n.enumerable});return t},"__copyProps"),nEe=o(t=>rEe(mw({},"__esModule",{value:!0}),t),"__toCommonJS"),M2={};tEe(M2,{multipartPolicy:()=>fEe,multipartPolicyName:()=>k2});L2.exports=nEe(M2);var Gc=$o(),iEe=Ru(),sEe=pf(),oEe=O2();function aEe(){return`----AzSDKFormBoundary${(0,sEe.randomUUID)()}`}o(aEe,"generateBoundary");function cEe(t){let e="";for(let[r,n]of t)e+=`${r}: ${n}\r -`;return e}o(cEe,"encodeHeaders");function lEe(t){return t instanceof Uint8Array?t.byteLength:(0,iEe.isBlob)(t)?t.size===-1?void 0:t.size:void 0}o(lEe,"getLength");function AEe(t){let e=0;for(let r of t){let n=lEe(r);if(n===void 0)return;e+=n}return e}o(AEe,"getTotalLength");async function uEe(t,e,r){let n=[(0,Gc.stringToUint8Array)(`--${r}`,"utf-8"),...e.flatMap(s=>[(0,Gc.stringToUint8Array)(`\r -`,"utf-8"),(0,Gc.stringToUint8Array)(cEe(s.headers),"utf-8"),(0,Gc.stringToUint8Array)(`\r -`,"utf-8"),s.body,(0,Gc.stringToUint8Array)(`\r ---${r}`,"utf-8")]),(0,Gc.stringToUint8Array)(`--\r +`)+4,e.outputData[0].data=e._header+n.substring(i),Id("Output buffer: %o",e.outputData[0].data));let s;return this.proxy.protocol==="https:"?(Id("Creating `tls.Socket`: %o",this.connectOpts),s=sNe.connect(this.connectOpts)):(Id("Creating `net.Socket`: %o",this.connectOpts),s=iNe.connect(this.connectOpts)),await(0,aNe.once)(s,"connect"),s}};bE.protocols=["http","https"];As.HttpProxyAgent=bE;function lNe(t,...e){let r={},n;for(n in t)e.includes(n)||(r[n]=t[n]);return r}o(lNe,"omit")});var Fv=x((Oit,oG)=>{var Uv=Object.defineProperty,uNe=Object.getOwnPropertyDescriptor,ANe=Object.getOwnPropertyNames,dNe=Object.prototype.hasOwnProperty,fNe=o((t,e)=>{for(var r in e)Uv(t,r,{get:e[r],enumerable:!0})},"__export"),hNe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of ANe(e))!dNe.call(t,i)&&i!==r&&Uv(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=uNe(e,i))||n.enumerable});return t},"__copyProps"),pNe=o(t=>hNe(Uv({},"__esModule",{value:!0}),t),"__toCommonJS"),tG={};fNe(tG,{getDefaultProxySettings:o(()=>wNe,"getDefaultProxySettings"),globalNoProxyList:o(()=>Lv,"globalNoProxyList"),loadNoProxy:o(()=>sG,"loadNoProxy"),proxyPolicy:o(()=>SNe,"proxyPolicy"),proxyPolicyName:o(()=>rG,"proxyPolicyName")});oG.exports=pNe(tG);var gNe=V7(),mNe=X7(),yNe=gd(),ENe="HTTPS_PROXY",bNe="HTTP_PROXY",CNe="ALL_PROXY",xNe="NO_PROXY",rG="proxyPolicy",Lv=[],nG=!1,INe=new Map;function CE(t){if(process.env[t])return process.env[t];if(process.env[t.toLowerCase()])return process.env[t.toLowerCase()]}o(CE,"getEnvironmentValue");function iG(){if(!process)return;let t=CE(ENe),e=CE(CNe),r=CE(bNe);return t||e||r}o(iG,"loadEnvironmentProxyValue");function BNe(t,e,r){if(e.length===0)return!1;let n=new URL(t).hostname;if(r?.has(n))return r.get(n);let i=!1;for(let s of e)s[0]==="."?(n.endsWith(s)||n.length===s.length-1&&n===s.slice(1))&&(i=!0):n===s&&(i=!0);return r?.set(n,i),i}o(BNe,"isBypassed");function sG(){let t=CE(xNe);return nG=!0,t?t.split(",").map(e=>e.trim()).filter(e=>e.length):[]}o(sG,"loadNoProxy");function wNe(t){if(!t&&(t=iG(),!t))return;let e=new URL(t);return{host:(e.protocol?e.protocol+"//":"")+e.hostname,port:Number.parseInt(e.port||"80"),username:e.username,password:e.password}}o(wNe,"getDefaultProxySettings");function QNe(){let t=iG();return t?new URL(t):void 0}o(QNe,"getDefaultProxySettingsInternal");function Z7(t){let e;try{e=new URL(t.host)}catch{throw new Error(`Expecting a valid host string in proxy settings, but found "${t.host}".`)}return e.port=String(t.port),t.username&&(e.username=t.username),t.password&&(e.password=t.password),e}o(Z7,"getUrlFromProxySettings");function eG(t,e,r){if(t.agent)return;let i=new URL(t.url).protocol!=="https:";t.tlsSettings&&yNe.logger.warning("TLS settings are not supported in combination with custom Proxy, certificates provided to the client will be ignored.");let s=t.headers.toJSON();i?(e.httpProxyAgent||(e.httpProxyAgent=new mNe.HttpProxyAgent(r,{headers:s})),t.agent=e.httpProxyAgent):(e.httpsProxyAgent||(e.httpsProxyAgent=new gNe.HttpsProxyAgent(r,{headers:s})),t.agent=e.httpsProxyAgent)}o(eG,"setProxyAgentOnRequest");function SNe(t,e){nG||Lv.push(...sG());let r=t?Z7(t):QNe(),n={};return{name:rG,async sendRequest(i,s){return!i.proxySettings&&r&&!BNe(i.url,e?.customNoProxyList??Lv,e?.customNoProxyList?void 0:INe)?eG(i,n,r):i.proxySettings&&eG(i,n,Z7(i.proxySettings)),s(i)}}}o(SNe,"proxyPolicy")});var qv=x((Lit,lG)=>{var Hv=Object.defineProperty,NNe=Object.getOwnPropertyDescriptor,vNe=Object.getOwnPropertyNames,RNe=Object.prototype.hasOwnProperty,PNe=o((t,e)=>{for(var r in e)Hv(t,r,{get:e[r],enumerable:!0})},"__export"),_Ne=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of vNe(e))!RNe.call(t,i)&&i!==r&&Hv(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=NNe(e,i))||n.enumerable});return t},"__copyProps"),DNe=o(t=>_Ne(Hv({},"__esModule",{value:!0}),t),"__toCommonJS"),aG={};PNe(aG,{agentPolicy:o(()=>kNe,"agentPolicy"),agentPolicyName:o(()=>cG,"agentPolicyName")});lG.exports=DNe(aG);var cG="agentPolicy";function kNe(t){return{name:cG,sendRequest:o(async(e,r)=>(e.agent||(e.agent=t),r(e)),"sendRequest")}}o(kNe,"agentPolicy")});var Gv=x((Fit,dG)=>{var zv=Object.defineProperty,TNe=Object.getOwnPropertyDescriptor,ONe=Object.getOwnPropertyNames,MNe=Object.prototype.hasOwnProperty,LNe=o((t,e)=>{for(var r in e)zv(t,r,{get:e[r],enumerable:!0})},"__export"),UNe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of ONe(e))!MNe.call(t,i)&&i!==r&&zv(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=TNe(e,i))||n.enumerable});return t},"__copyProps"),FNe=o(t=>UNe(zv({},"__esModule",{value:!0}),t),"__toCommonJS"),uG={};LNe(uG,{tlsPolicy:o(()=>HNe,"tlsPolicy"),tlsPolicyName:o(()=>AG,"tlsPolicyName")});dG.exports=FNe(uG);var AG="tlsPolicy";function HNe(t){return{name:AG,sendRequest:o(async(e,r)=>(e.tlsSettings||(e.tlsSettings=t),r(e)),"sendRequest")}}o(HNe,"tlsPolicy")});var Op=x((qit,mG)=>{var jv=Object.defineProperty,qNe=Object.getOwnPropertyDescriptor,zNe=Object.getOwnPropertyNames,GNe=Object.prototype.hasOwnProperty,jNe=o((t,e)=>{for(var r in e)jv(t,r,{get:e[r],enumerable:!0})},"__export"),YNe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of zNe(e))!GNe.call(t,i)&&i!==r&&jv(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=qNe(e,i))||n.enumerable});return t},"__copyProps"),KNe=o(t=>YNe(jv({},"__esModule",{value:!0}),t),"__toCommonJS"),fG={};jNe(fG,{isBinaryBody:o(()=>JNe,"isBinaryBody"),isBlob:o(()=>VNe,"isBlob"),isNodeReadableStream:o(()=>hG,"isNodeReadableStream"),isReadableStream:o(()=>gG,"isReadableStream"),isWebReadableStream:o(()=>pG,"isWebReadableStream")});mG.exports=KNe(fG);function hG(t){return!!(t&&typeof t.pipe=="function")}o(hG,"isNodeReadableStream");function pG(t){return!!(t&&typeof t.getReader=="function"&&typeof t.tee=="function")}o(pG,"isWebReadableStream");function JNe(t){return t!==void 0&&(t instanceof Uint8Array||gG(t)||typeof t=="function"||t instanceof Blob)}o(JNe,"isBinaryBody");function gG(t){return hG(t)||pG(t)}o(gG,"isReadableStream");function VNe(t){return typeof t.stream=="function"}o(VNe,"isBlob")});var xG=x((Git,CG)=>{var Yv=Object.defineProperty,WNe=Object.getOwnPropertyDescriptor,$Ne=Object.getOwnPropertyNames,XNe=Object.prototype.hasOwnProperty,ZNe=o((t,e)=>{for(var r in e)Yv(t,r,{get:e[r],enumerable:!0})},"__export"),eve=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of $Ne(e))!XNe.call(t,i)&&i!==r&&Yv(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=WNe(e,i))||n.enumerable});return t},"__copyProps"),tve=o(t=>eve(Yv({},"__esModule",{value:!0}),t),"__toCommonJS"),bG={};ZNe(bG,{concat:o(()=>sve,"concat")});CG.exports=tve(bG);var Kv=require("stream"),rve=Op();async function*yG(){let t=this.getReader();try{for(;;){let{done:e,value:r}=await t.read();if(e)return;yield r}}finally{t.releaseLock()}}o(yG,"streamAsyncIterator");function nve(t){t[Symbol.asyncIterator]||(t[Symbol.asyncIterator]=yG.bind(t)),t.values||(t.values=yG.bind(t))}o(nve,"makeAsyncIterable");function EG(t){return t instanceof ReadableStream?(nve(t),Kv.Readable.fromWeb(t)):t}o(EG,"ensureNodeStream");function ive(t){return t instanceof Uint8Array?Kv.Readable.from(Buffer.from(t)):(0,rve.isBlob)(t)?EG(t.stream()):EG(t)}o(ive,"toStream");async function sve(t){return function(){let e=t.map(r=>typeof r=="function"?r():r).map(ive);return Kv.Readable.from((async function*(){for(let r of e)for await(let n of r)yield n})())}}o(sve,"concat")});var Vv=x((Yit,wG)=>{var Jv=Object.defineProperty,ove=Object.getOwnPropertyDescriptor,ave=Object.getOwnPropertyNames,cve=Object.prototype.hasOwnProperty,lve=o((t,e)=>{for(var r in e)Jv(t,r,{get:e[r],enumerable:!0})},"__export"),uve=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of ave(e))!cve.call(t,i)&&i!==r&&Jv(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=ove(e,i))||n.enumerable});return t},"__copyProps"),Ave=o(t=>uve(Jv({},"__esModule",{value:!0}),t),"__toCommonJS"),IG={};lve(IG,{multipartPolicy:o(()=>Ive,"multipartPolicy"),multipartPolicyName:o(()=>BG,"multipartPolicyName")});wG.exports=Ave(IG);var Bd=iu(),dve=Op(),fve=iE(),hve=xG();function pve(){return`----AzSDKFormBoundary${(0,fve.randomUUID)()}`}o(pve,"generateBoundary");function gve(t){let e="";for(let[r,n]of t)e+=`${r}: ${n}\r +`;return e}o(gve,"encodeHeaders");function mve(t){return t instanceof Uint8Array?t.byteLength:(0,dve.isBlob)(t)?t.size===-1?void 0:t.size:void 0}o(mve,"getLength");function yve(t){let e=0;for(let r of t){let n=mve(r);if(n===void 0)return;e+=n}return e}o(yve,"getTotalLength");async function Eve(t,e,r){let n=[(0,Bd.stringToUint8Array)(`--${r}`,"utf-8"),...e.flatMap(s=>[(0,Bd.stringToUint8Array)(`\r +`,"utf-8"),(0,Bd.stringToUint8Array)(gve(s.headers),"utf-8"),(0,Bd.stringToUint8Array)(`\r +`,"utf-8"),s.body,(0,Bd.stringToUint8Array)(`\r +--${r}`,"utf-8")]),(0,Bd.stringToUint8Array)(`--\r \r -`,"utf-8")],i=AEe(n);i&&t.headers.set("Content-Length",i),t.body=await(0,oEe.concat)(n)}o(uEe,"buildRequestBody");var k2="multipartPolicy",dEe=70,pEe=new Set("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?");function hEe(t){if(t.length>dEe)throw new Error(`Multipart boundary "${t}" exceeds maximum length of 70 characters`);if(Array.from(t).some(e=>!pEe.has(e)))throw new Error(`Multipart boundary "${t}" contains invalid characters`)}o(hEe,"assertValidBoundary");function fEe(){return{name:k2,async sendRequest(t,e){if(!t.multipartBody)return e(t);if(t.body)throw new Error("multipartBody and regular body cannot be set at the same time");let r=t.multipartBody.boundary,n=t.headers.get("Content-Type")??"multipart/mixed",i=n.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!i)throw new Error(`Got multipart request body, but content-type header was not multipart: ${n}`);let[,s,a]=i;if(a&&r&&a!==r)throw new Error(`Multipart boundary was specified as ${a} in the header, but got ${r} in the request body`);return r??=a,r?hEe(r):r=aEe(),t.headers.set("Content-Type",`${s}; boundary=${r}`),await uEe(t,t.multipartBody.parts,r),t.multipartBody=void 0,e(t)}}}o(fEe,"multipartPolicy")});var z2=g((iVe,H2)=>{var yw=Object.defineProperty,mEe=Object.getOwnPropertyDescriptor,gEe=Object.getOwnPropertyNames,yEe=Object.prototype.hasOwnProperty,CEe=o((t,e)=>{for(var r in e)yw(t,r,{get:e[r],enumerable:!0})},"__export"),EEe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of gEe(e))!yEe.call(t,i)&&i!==r&&yw(t,i,{get:()=>e[i],enumerable:!(n=mEe(e,i))||n.enumerable});return t},"__copyProps"),BEe=o(t=>EEe(yw({},"__esModule",{value:!0}),t),"__toCommonJS"),q2={};CEe(q2,{createPipelineFromOptions:()=>PEe});H2.exports=BEe(q2);var IEe=_Q(),bEe=dQ(),QEe=PQ(),wEe=LQ(),NEe=FQ(),xEe=XQ(),SEe=tw(),U2=xu(),REe=cw(),_Ee=Aw(),vEe=dw(),F2=gw();function PEe(t){let e=(0,bEe.createEmptyPipeline)();return U2.isNodeLike&&(t.agent&&e.addPolicy((0,_Ee.agentPolicy)(t.agent)),t.tlsOptions&&e.addPolicy((0,vEe.tlsPolicy)(t.tlsOptions)),e.addPolicy((0,REe.proxyPolicy)(t.proxyOptions)),e.addPolicy((0,NEe.decompressResponsePolicy)())),e.addPolicy((0,SEe.formDataPolicy)(),{beforePolicies:[F2.multipartPolicyName]}),e.addPolicy((0,wEe.userAgentPolicy)(t.userAgentOptions)),e.addPolicy((0,F2.multipartPolicy)(),{afterPhase:"Deserialize"}),e.addPolicy((0,xEe.defaultRetryPolicy)(t.retryOptions),{phase:"Retry"}),U2.isNodeLike&&e.addPolicy((0,QEe.redirectPolicy)(t.redirectOptions),{afterPhase:"Retry"}),e.addPolicy((0,IEe.logPolicy)(t.loggingOptions),{afterPhase:"Sign"}),e}o(PEe,"createPipelineFromOptions")});var J2=g((oVe,Y2)=>{var Cw=Object.defineProperty,DEe=Object.getOwnPropertyDescriptor,TEe=Object.getOwnPropertyNames,OEe=Object.prototype.hasOwnProperty,MEe=o((t,e)=>{for(var r in e)Cw(t,r,{get:e[r],enumerable:!0})},"__export"),kEe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of TEe(e))!OEe.call(t,i)&&i!==r&&Cw(t,i,{get:()=>e[i],enumerable:!(n=DEe(e,i))||n.enumerable});return t},"__copyProps"),LEe=o(t=>kEe(Cw({},"__esModule",{value:!0}),t),"__toCommonJS"),j2={};MEe(j2,{apiVersionPolicy:()=>UEe,apiVersionPolicyName:()=>G2});Y2.exports=LEe(j2);var G2="ApiVersionPolicy";function UEe(t){return{name:G2,sendRequest:(e,r)=>{let n=new URL(e.url);return!n.searchParams.get("api-version")&&t.apiVersion&&(e.url=`${e.url}${Array.from(n.searchParams.keys()).length>0?"&":"?"}api-version=${t.apiVersion}`),r(e)}}}o(UEe,"apiVersionPolicy")});var $2=g((cVe,W2)=>{var Ew=Object.defineProperty,FEe=Object.getOwnPropertyDescriptor,qEe=Object.getOwnPropertyNames,HEe=Object.prototype.hasOwnProperty,zEe=o((t,e)=>{for(var r in e)Ew(t,r,{get:e[r],enumerable:!0})},"__export"),jEe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of qEe(e))!HEe.call(t,i)&&i!==r&&Ew(t,i,{get:()=>e[i],enumerable:!(n=FEe(e,i))||n.enumerable});return t},"__copyProps"),GEe=o(t=>jEe(Ew({},"__esModule",{value:!0}),t),"__toCommonJS"),V2={};zEe(V2,{isApiKeyCredential:()=>WEe,isBasicCredential:()=>VEe,isBearerTokenCredential:()=>JEe,isOAuth2TokenCredential:()=>YEe});W2.exports=GEe(V2);function YEe(t){return"getOAuth2Token"in t}o(YEe,"isOAuth2TokenCredential");function JEe(t){return"getBearerToken"in t}o(JEe,"isBearerTokenCredential");function VEe(t){return"username"in t&&"password"in t}o(VEe,"isBasicCredential");function WEe(t){return"key"in t}o(WEe,"isApiKeyCredential")});var _u=g((AVe,Z2)=>{var Bw=Object.defineProperty,$Ee=Object.getOwnPropertyDescriptor,KEe=Object.getOwnPropertyNames,XEe=Object.prototype.hasOwnProperty,ZEe=o((t,e)=>{for(var r in e)Bw(t,r,{get:e[r],enumerable:!0})},"__export"),eBe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of KEe(e))!XEe.call(t,i)&&i!==r&&Bw(t,i,{get:()=>e[i],enumerable:!(n=$Ee(e,i))||n.enumerable});return t},"__copyProps"),tBe=o(t=>eBe(Bw({},"__esModule",{value:!0}),t),"__toCommonJS"),X2={};ZEe(X2,{ensureSecureConnection:()=>sBe});Z2.exports=tBe(X2);var rBe=kc(),K2=!1;function nBe(t,e){if(e.allowInsecureConnection&&t.allowInsecureConnection){let r=new URL(t.url);if(r.hostname==="localhost"||r.hostname==="127.0.0.1")return!0}return!1}o(nBe,"allowInsecureConnection");function iBe(){let t="Sending token over insecure transport. Assume any token issued is compromised.";rBe.logger.warning(t),typeof process?.emitWarning=="function"&&!K2&&(K2=!0,process.emitWarning(t))}o(iBe,"emitInsecureConnectionWarning");function sBe(t,e){if(!t.url.toLowerCase().startsWith("https://"))if(nBe(t,e))iBe();else throw new Error("Authentication is not permitted for non-TLS protected (non-https) URLs when allowInsecureConnection is false.")}o(sBe,"ensureSecureConnection")});var nz=g((dVe,rz)=>{var Iw=Object.defineProperty,oBe=Object.getOwnPropertyDescriptor,aBe=Object.getOwnPropertyNames,cBe=Object.prototype.hasOwnProperty,lBe=o((t,e)=>{for(var r in e)Iw(t,r,{get:e[r],enumerable:!0})},"__export"),ABe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of aBe(e))!cBe.call(t,i)&&i!==r&&Iw(t,i,{get:()=>e[i],enumerable:!(n=oBe(e,i))||n.enumerable});return t},"__copyProps"),uBe=o(t=>ABe(Iw({},"__esModule",{value:!0}),t),"__toCommonJS"),ez={};lBe(ez,{apiKeyAuthenticationPolicy:()=>pBe,apiKeyAuthenticationPolicyName:()=>tz});rz.exports=uBe(ez);var dBe=_u(),tz="apiKeyAuthenticationPolicy";function pBe(t){return{name:tz,async sendRequest(e,r){(0,dBe.ensureSecureConnection)(e,t);let n=(e.authSchemes??t.authSchemes)?.find(i=>i.kind==="apiKey");if(!n)return r(e);if(n.apiKeyLocation!=="header")throw new Error(`Unsupported API key location: ${n.apiKeyLocation}`);return e.headers.set(n.name,t.credential.key),r(e)}}}o(pBe,"apiKeyAuthenticationPolicy")});var cz=g((hVe,az)=>{var bw=Object.defineProperty,hBe=Object.getOwnPropertyDescriptor,fBe=Object.getOwnPropertyNames,mBe=Object.prototype.hasOwnProperty,gBe=o((t,e)=>{for(var r in e)bw(t,r,{get:e[r],enumerable:!0})},"__export"),yBe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of fBe(e))!mBe.call(t,i)&&i!==r&&bw(t,i,{get:()=>e[i],enumerable:!(n=hBe(e,i))||n.enumerable});return t},"__copyProps"),CBe=o(t=>yBe(bw({},"__esModule",{value:!0}),t),"__toCommonJS"),sz={};gBe(sz,{basicAuthenticationPolicy:()=>BBe,basicAuthenticationPolicyName:()=>oz});az.exports=CBe(sz);var iz=$o(),EBe=_u(),oz="bearerAuthenticationPolicy";function BBe(t){return{name:oz,async sendRequest(e,r){if((0,EBe.ensureSecureConnection)(e,t),!(e.authSchemes??t.authSchemes)?.find(c=>c.kind==="http"&&c.scheme==="basic"))return r(e);let{username:i,password:s}=t.credential,a=(0,iz.uint8ArrayToString)((0,iz.stringToUint8Array)(`${i}:${s}`,"utf-8"),"base64");return e.headers.set("Authorization",`Basic ${a}`),r(e)}}}o(BBe,"basicAuthenticationPolicy")});var dz=g((mVe,uz)=>{var Qw=Object.defineProperty,IBe=Object.getOwnPropertyDescriptor,bBe=Object.getOwnPropertyNames,QBe=Object.prototype.hasOwnProperty,wBe=o((t,e)=>{for(var r in e)Qw(t,r,{get:e[r],enumerable:!0})},"__export"),NBe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of bBe(e))!QBe.call(t,i)&&i!==r&&Qw(t,i,{get:()=>e[i],enumerable:!(n=IBe(e,i))||n.enumerable});return t},"__copyProps"),xBe=o(t=>NBe(Qw({},"__esModule",{value:!0}),t),"__toCommonJS"),lz={};wBe(lz,{bearerAuthenticationPolicy:()=>RBe,bearerAuthenticationPolicyName:()=>Az});uz.exports=xBe(lz);var SBe=_u(),Az="bearerAuthenticationPolicy";function RBe(t){return{name:Az,async sendRequest(e,r){if((0,SBe.ensureSecureConnection)(e,t),!(e.authSchemes??t.authSchemes)?.find(s=>s.kind==="http"&&s.scheme==="bearer"))return r(e);let i=await t.credential.getBearerToken({abortSignal:e.abortSignal});return e.headers.set("Authorization",`Bearer ${i}`),r(e)}}}o(RBe,"bearerAuthenticationPolicy")});var mz=g((yVe,fz)=>{var ww=Object.defineProperty,_Be=Object.getOwnPropertyDescriptor,vBe=Object.getOwnPropertyNames,PBe=Object.prototype.hasOwnProperty,DBe=o((t,e)=>{for(var r in e)ww(t,r,{get:e[r],enumerable:!0})},"__export"),TBe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of vBe(e))!PBe.call(t,i)&&i!==r&&ww(t,i,{get:()=>e[i],enumerable:!(n=_Be(e,i))||n.enumerable});return t},"__copyProps"),OBe=o(t=>TBe(ww({},"__esModule",{value:!0}),t),"__toCommonJS"),pz={};DBe(pz,{oauth2AuthenticationPolicy:()=>kBe,oauth2AuthenticationPolicyName:()=>hz});fz.exports=OBe(pz);var MBe=_u(),hz="oauth2AuthenticationPolicy";function kBe(t){return{name:hz,async sendRequest(e,r){(0,MBe.ensureSecureConnection)(e,t);let n=(e.authSchemes??t.authSchemes)?.find(s=>s.kind==="oauth2");if(!n)return r(e);let i=await t.credential.getOAuth2Token(n.flows,{abortSignal:e.abortSignal});return e.headers.set("Authorization",`Bearer ${i}`),r(e)}}}o(kBe,"oauth2AuthenticationPolicy")});var Sw=g((EVe,yz)=>{var xw=Object.defineProperty,LBe=Object.getOwnPropertyDescriptor,UBe=Object.getOwnPropertyNames,FBe=Object.prototype.hasOwnProperty,qBe=o((t,e)=>{for(var r in e)xw(t,r,{get:e[r],enumerable:!0})},"__export"),HBe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of UBe(e))!FBe.call(t,i)&&i!==r&&xw(t,i,{get:()=>e[i],enumerable:!(n=LBe(e,i))||n.enumerable});return t},"__copyProps"),zBe=o(t=>HBe(xw({},"__esModule",{value:!0}),t),"__toCommonJS"),gz={};qBe(gz,{createDefaultPipeline:()=>KBe,getCachedDefaultHttpsClient:()=>XBe});yz.exports=zBe(gz);var jBe=SQ(),GBe=z2(),YBe=J2(),vf=$2(),JBe=nz(),VBe=cz(),WBe=dz(),$Be=mz(),Nw;function KBe(t={}){let e=(0,GBe.createPipelineFromOptions)(t);e.addPolicy((0,YBe.apiVersionPolicy)(t));let{credential:r,authSchemes:n,allowInsecureConnection:i}=t;return r&&((0,vf.isApiKeyCredential)(r)?e.addPolicy((0,JBe.apiKeyAuthenticationPolicy)({authSchemes:n,credential:r,allowInsecureConnection:i})):(0,vf.isBasicCredential)(r)?e.addPolicy((0,VBe.basicAuthenticationPolicy)({authSchemes:n,credential:r,allowInsecureConnection:i})):(0,vf.isBearerTokenCredential)(r)?e.addPolicy((0,WBe.bearerAuthenticationPolicy)({authSchemes:n,credential:r,allowInsecureConnection:i})):(0,vf.isOAuth2TokenCredential)(r)&&e.addPolicy((0,$Be.oauth2AuthenticationPolicy)({authSchemes:n,credential:r,allowInsecureConnection:i}))),e}o(KBe,"createDefaultPipeline");function XBe(){return Nw||(Nw=(0,jBe.createDefaultHttpClient)()),Nw}o(XBe,"getCachedDefaultHttpsClient")});var Nz=g((IVe,wz)=>{var Rw=Object.defineProperty,ZBe=Object.getOwnPropertyDescriptor,eIe=Object.getOwnPropertyNames,tIe=Object.prototype.hasOwnProperty,rIe=o((t,e)=>{for(var r in e)Rw(t,r,{get:e[r],enumerable:!0})},"__export"),nIe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of eIe(e))!tIe.call(t,i)&&i!==r&&Rw(t,i,{get:()=>e[i],enumerable:!(n=ZBe(e,i))||n.enumerable});return t},"__copyProps"),iIe=o(t=>nIe(Rw({},"__esModule",{value:!0}),t),"__toCommonJS"),Bz={};rIe(Bz,{buildBodyPart:()=>Qz,buildMultipartBody:()=>AIe});wz.exports=iIe(Bz);var sIe=Mc(),oIe=Js(),Cz=$o(),Iz=Ru();function bz(t,e){if(t.headers){let r=Object.keys(t.headers).find(n=>n.toLowerCase()===e.toLowerCase());if(r)return t.headers[r]}}o(bz,"getHeaderValue");function aIe(t){let e=bz(t,"content-type");if(e)return e;if(t.contentType===null)return;if(t.contentType)return t.contentType;let{body:r}=t;if(r!=null)return typeof r=="string"||typeof r=="number"||typeof r=="boolean"?"text/plain; charset=UTF-8":r instanceof Blob?r.type||"application/octet-stream":(0,Iz.isBinaryBody)(r)?"application/octet-stream":"application/json"}o(aIe,"getPartContentType");function Ez(t){return JSON.stringify(t)}o(Ez,"escapeDispositionField");function cIe(t){let e=bz(t,"content-disposition");if(e)return e;if(t.dispositionType===void 0&&t.name===void 0&&t.filename===void 0)return;let n=t.dispositionType??"form-data";t.name&&(n+=`; name=${Ez(t.name)}`);let i;if(t.filename)i=t.filename;else if(typeof File<"u"&&t.body instanceof File){let s=t.body.name;s!==""&&(i=s)}return i&&(n+=`; filename=${Ez(i)}`),n}o(cIe,"getContentDisposition");function lIe(t,e){if(t===void 0)return new Uint8Array([]);if((0,Iz.isBinaryBody)(t))return t;if(typeof t=="string"||typeof t=="number"||typeof t=="boolean")return(0,Cz.stringToUint8Array)(String(t),"utf-8");if(e&&/application\/(.+\+)?json(;.+)?/i.test(String(e)))return(0,Cz.stringToUint8Array)(JSON.stringify(t),"utf-8");throw new sIe.RestError(`Unsupported body/content-type combination: ${t}, ${e}`)}o(lIe,"normalizeBody");function Qz(t){let e=aIe(t),r=cIe(t),n=(0,oIe.createHttpHeaders)(t.headers??{});e&&n.set("content-type",e),r&&n.set("content-disposition",r);let i=lIe(t.body,e);return{headers:n,body:i}}o(Qz,"buildBodyPart");function AIe(t){return{parts:t.map(Qz)}}o(AIe,"buildMultipartBody")});var _z=g((QVe,Rz)=>{var Pw=Object.defineProperty,uIe=Object.getOwnPropertyDescriptor,dIe=Object.getOwnPropertyNames,pIe=Object.prototype.hasOwnProperty,hIe=o((t,e)=>{for(var r in e)Pw(t,r,{get:e[r],enumerable:!0})},"__export"),fIe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of dIe(e))!pIe.call(t,i)&&i!==r&&Pw(t,i,{get:()=>e[i],enumerable:!(n=uIe(e,i))||n.enumerable});return t},"__copyProps"),mIe=o(t=>fIe(Pw({},"__esModule",{value:!0}),t),"__toCommonJS"),xz={};hIe(xz,{getRequestBody:()=>Sz,sendRequest:()=>BIe});Rz.exports=mIe(xz);var _w=Mc(),gIe=Js(),yIe=lQ(),CIe=Sw(),vw=Ru(),EIe=Nz();async function BIe(t,e,r,n={},i){let s=i??(0,CIe.getCachedDefaultHttpsClient)(),a=QIe(t,e,n);try{let c=await r.sendRequest(s,a),l=c.headers.toJSON(),A=c.readableStreamBody??c.browserStreamBody,u=n.responseAsStream||A!==void 0?void 0:wIe(c),d=A??u;return n?.onResponse&&n.onResponse({...c,request:a,rawHeaders:l,parsedBody:u}),{request:a,headers:l,status:`${c.status}`,body:d}}catch(c){if((0,_w.isRestError)(c)&&c.response&&n.onResponse){let{response:l}=c,A=l.headers.toJSON();n?.onResponse({...l,request:a,rawHeaders:A},c)}throw c}}o(BIe,"sendRequest");function IIe(t={}){return t.contentType??t.headers?.["content-type"]??bIe(t.body)}o(IIe,"getRequestContentType");function bIe(t){if(t!==void 0){if(ArrayBuffer.isView(t))return"application/octet-stream";if((0,vw.isBlob)(t)&&t.type)return t.type;if(typeof t=="string")try{return JSON.parse(t),"application/json"}catch{return}return"application/json"}}o(bIe,"getContentType");function QIe(t,e,r={}){let n=IIe(r),{body:i,multipartBody:s}=Sz(r.body,n),a=(0,gIe.createHttpHeaders)({...r.headers?r.headers:{},accept:r.accept??r.headers?.accept??"application/json",...n&&{"content-type":n}});return(0,yIe.createPipelineRequest)({url:e,method:t,body:i,multipartBody:s,headers:a,allowInsecureConnection:r.allowInsecureConnection,abortSignal:r.abortSignal,onUploadProgress:r.onUploadProgress,onDownloadProgress:r.onDownloadProgress,timeout:r.timeout,enableBrowserStreams:!0,streamResponseStatusCodes:r.responseAsStream?new Set([Number.POSITIVE_INFINITY]):void 0})}o(QIe,"buildPipelineRequest");function Sz(t,e=""){if(t===void 0)return{body:void 0};if(typeof FormData<"u"&&t instanceof FormData)return{body:t};if((0,vw.isBlob)(t))return{body:t};if((0,vw.isReadableStream)(t)||typeof t=="function")return{body:t};if(ArrayBuffer.isView(t))return{body:t instanceof Uint8Array?t:JSON.stringify(t)};switch(e.split(";")[0]){case"application/json":return{body:JSON.stringify(t)};case"multipart/form-data":return Array.isArray(t)?{multipartBody:(0,EIe.buildMultipartBody)(t)}:{body:JSON.stringify(t)};case"text/plain":return{body:String(t)};default:return typeof t=="string"?{body:t}:{body:JSON.stringify(t)}}}o(Sz,"getRequestBody");function wIe(t){let r=(t.headers.get("content-type")??"").split(";")[0],n=t.bodyAsText??"";if(r==="text/plain")return String(n);try{return n?JSON.parse(n):void 0}catch(i){if(r==="application/json")throw NIe(t,i);return String(n)}}o(wIe,"getResponseBody");function NIe(t,e){let r=`Error "${e}" occurred while parsing the response body - ${t.bodyAsText}.`,n=e.code??_w.RestError.PARSE_ERROR;return new _w.RestError(r,{code:n,statusCode:t.status,request:t.request,response:t})}o(NIe,"createParseError")});var Oz=g((NVe,Tz)=>{var Tw=Object.defineProperty,xIe=Object.getOwnPropertyDescriptor,SIe=Object.getOwnPropertyNames,RIe=Object.prototype.hasOwnProperty,_Ie=o((t,e)=>{for(var r in e)Tw(t,r,{get:e[r],enumerable:!0})},"__export"),vIe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of SIe(e))!RIe.call(t,i)&&i!==r&&Tw(t,i,{get:()=>e[i],enumerable:!(n=xIe(e,i))||n.enumerable});return t},"__copyProps"),PIe=o(t=>vIe(Tw({},"__esModule",{value:!0}),t),"__toCommonJS"),vz={};_Ie(vz,{buildBaseUrl:()=>Pz,buildRequestUrl:()=>TIe,replaceAll:()=>Dz});Tz.exports=PIe(vz);function DIe(t){let e=t.value;return e!==void 0&&e.toString!==void 0&&typeof e.toString=="function"}o(DIe,"isQueryParameterWithOptions");function TIe(t,e,r,n={}){if(e.startsWith("https://")||e.startsWith("http://"))return e;t=Pz(t,n),e=MIe(e,r,n);let i=OIe(`${t}/${e}`,n);return new URL(i).toString().replace(/([^:]\/)\/+/g,"$1")}o(TIe,"buildRequestUrl");function Dw(t,e,r,n){let i;r==="pipeDelimited"?i="|":r==="spaceDelimited"?i="%20":i=",";let s;Array.isArray(n)?s=n:typeof n=="object"&&n.toString===Object.prototype.toString?s=Object.entries(n).flat():s=[n];let a=s.map(c=>{if(c==null)return"";if(!c.toString||typeof c.toString!="function")throw new Error(`Query parameters must be able to be represented as string, ${t} can't`);let l=c.toISOString!==void 0?c.toISOString():c.toString();return e?l:encodeURIComponent(l)}).join(i);return`${e?t:encodeURIComponent(t)}=${a}`}o(Dw,"getQueryParamValue");function OIe(t,e={}){if(!e.queryParameters)return t;let r=new URL(t),n=e.queryParameters,i=[];for(let s of Object.keys(n)){let a=n[s];if(a==null)continue;let c=DIe(a),l=c?a.value:a,A=c?a.explode??!1:!1,u=c&&a.style?a.style:"form";if(A)if(Array.isArray(l))for(let d of l)i.push(Dw(s,e.skipUrlEncoding??!1,u,d));else if(typeof l=="object")for(let[d,f]of Object.entries(l))i.push(Dw(d,e.skipUrlEncoding??!1,u,f));else throw new Error("explode can only be set to true for objects and arrays");else i.push(Dw(s,e.skipUrlEncoding??!1,u,l))}return r.search!==""&&(r.search+="&"),r.search+=i.join("&"),r.toString()}o(OIe,"appendQueryParams");function Pz(t,e){if(!e.pathParameters)return t;let r=e.pathParameters;for(let[n,i]of Object.entries(r)){if(i==null)throw new Error(`Path parameters ${n} must not be undefined or null`);if(!i.toString||typeof i.toString!="function")throw new Error(`Path parameters must be able to be represented as string, ${n} can't`);let s=i.toISOString!==void 0?i.toISOString():String(i);e.skipUrlEncoding||(s=encodeURIComponent(i)),t=Dz(t,`{${n}}`,s)??""}return t}o(Pz,"buildBaseUrl");function MIe(t,e,r={}){for(let n of e){let i=typeof n=="object"&&(n.allowReserved??!1),s=typeof n=="object"?n.value:n;!r.skipUrlEncoding&&!i&&(s=encodeURIComponent(s)),t=t.replace(/\{[\w-]+\}/,String(s))}return t}o(MIe,"buildRoutePath");function Dz(t,e,r){return!t||!e?t:t.split(e).join(r||"")}o(Dz,"replaceAll")});var Uz=g((SVe,Lz)=>{var Mw=Object.defineProperty,kIe=Object.getOwnPropertyDescriptor,LIe=Object.getOwnPropertyNames,UIe=Object.prototype.hasOwnProperty,FIe=o((t,e)=>{for(var r in e)Mw(t,r,{get:e[r],enumerable:!0})},"__export"),qIe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of LIe(e))!UIe.call(t,i)&&i!==r&&Mw(t,i,{get:()=>e[i],enumerable:!(n=kIe(e,i))||n.enumerable});return t},"__copyProps"),HIe=o(t=>qIe(Mw({},"__esModule",{value:!0}),t),"__toCommonJS"),kz={};FIe(kz,{getClient:()=>GIe});Lz.exports=HIe(kz);var zIe=Sw(),Ow=_z(),jIe=Oz(),Mz=xu();function GIe(t,e={}){let r=e.pipeline??(0,zIe.createDefaultPipeline)(e);if(e.additionalPolicies?.length)for(let{policy:c,position:l}of e.additionalPolicies){let A=l==="perRetry"?"Sign":void 0;r.addPolicy(c,{afterPhase:A})}let{allowInsecureConnection:n,httpClient:i}=e,s=e.endpoint??t,a=o((c,...l)=>{let A=o(u=>(0,jIe.buildRequestUrl)(s,c,l,{allowInsecureConnection:n,...u}),"getUrl");return{get:(u={})=>Vs("GET",A(u),r,u,n,i),post:(u={})=>Vs("POST",A(u),r,u,n,i),put:(u={})=>Vs("PUT",A(u),r,u,n,i),patch:(u={})=>Vs("PATCH",A(u),r,u,n,i),delete:(u={})=>Vs("DELETE",A(u),r,u,n,i),head:(u={})=>Vs("HEAD",A(u),r,u,n,i),options:(u={})=>Vs("OPTIONS",A(u),r,u,n,i),trace:(u={})=>Vs("TRACE",A(u),r,u,n,i)}},"client");return{path:a,pathUnchecked:a,pipeline:r}}o(GIe,"getClient");function Vs(t,e,r,n,i,s){return i=n.allowInsecureConnection??i,{then:function(a,c){return(0,Ow.sendRequest)(t,e,r,{...n,allowInsecureConnection:i},s).then(a,c)},async asBrowserStream(){if(Mz.isNodeLike)throw new Error("`asBrowserStream` is supported only in the browser environment. Use `asNodeStream` instead to obtain the response body stream. If you require a Web stream of the response in Node, consider using `Readable.toWeb` on the result of `asNodeStream`.");return(0,Ow.sendRequest)(t,e,r,{...n,allowInsecureConnection:i,responseAsStream:!0},s)},async asNodeStream(){if(Mz.isNodeLike)return(0,Ow.sendRequest)(t,e,r,{...n,allowInsecureConnection:i,responseAsStream:!0},s);throw new Error("`isNodeStream` is not supported in the browser environment. Use `asBrowserStream` to obtain the response body stream.")}}}o(Vs,"buildOperation")});var Hz=g((_Ve,qz)=>{var kw=Object.defineProperty,YIe=Object.getOwnPropertyDescriptor,JIe=Object.getOwnPropertyNames,VIe=Object.prototype.hasOwnProperty,WIe=o((t,e)=>{for(var r in e)kw(t,r,{get:e[r],enumerable:!0})},"__export"),$Ie=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of JIe(e))!VIe.call(t,i)&&i!==r&&kw(t,i,{get:()=>e[i],enumerable:!(n=YIe(e,i))||n.enumerable});return t},"__copyProps"),KIe=o(t=>$Ie(kw({},"__esModule",{value:!0}),t),"__toCommonJS"),Fz={};WIe(Fz,{operationOptionsToRequestParameters:()=>XIe});qz.exports=KIe(Fz);function XIe(t){return{allowInsecureConnection:t.requestOptions?.allowInsecureConnection,timeout:t.requestOptions?.timeout,skipUrlEncoding:t.requestOptions?.skipUrlEncoding,abortSignal:t.abortSignal,onUploadProgress:t.requestOptions?.onUploadProgress,onDownloadProgress:t.requestOptions?.onDownloadProgress,headers:{...t.requestOptions?.headers},onResponse:t.onResponse}}o(XIe,"operationOptionsToRequestParameters")});var Yz=g((PVe,Gz)=>{var Lw=Object.defineProperty,ZIe=Object.getOwnPropertyDescriptor,ebe=Object.getOwnPropertyNames,tbe=Object.prototype.hasOwnProperty,rbe=o((t,e)=>{for(var r in e)Lw(t,r,{get:e[r],enumerable:!0})},"__export"),nbe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of ebe(e))!tbe.call(t,i)&&i!==r&&Lw(t,i,{get:()=>e[i],enumerable:!(n=ZIe(e,i))||n.enumerable});return t},"__copyProps"),ibe=o(t=>nbe(Lw({},"__esModule",{value:!0}),t),"__toCommonJS"),zz={};rbe(zz,{createRestError:()=>abe});Gz.exports=ibe(zz);var sbe=Mc(),obe=Js();function abe(t,e){let r=typeof t=="string"?e:t,n=r.body?.error??r.body,i=typeof t=="string"?t:n?.message??`Unexpected status code: ${r.status}`;return new sbe.RestError(i,{statusCode:jz(r.status),code:n?.code,request:r.request,response:cbe(r)})}o(abe,"createRestError");function cbe(t){return{headers:(0,obe.createHttpHeaders)(t.headers),request:t.request,status:jz(t.status)??-1}}o(cbe,"toPipelineResponse");function jz(t){let e=Number.parseInt(t);return Number.isNaN(e)?void 0:e}o(jz,"statusCodeToNumber")});var Yc=g((TVe,$z)=>{var Uw=Object.defineProperty,lbe=Object.getOwnPropertyDescriptor,Abe=Object.getOwnPropertyNames,ube=Object.prototype.hasOwnProperty,dbe=o((t,e)=>{for(var r in e)Uw(t,r,{get:e[r],enumerable:!0})},"__export"),pbe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Abe(e))!ube.call(t,i)&&i!==r&&Uw(t,i,{get:()=>e[i],enumerable:!(n=lbe(e,i))||n.enumerable});return t},"__copyProps"),hbe=o(t=>pbe(Uw({},"__esModule",{value:!0}),t),"__toCommonJS"),Wz={};dbe(Wz,{AbortError:()=>fbe.AbortError,RestError:()=>Jz.RestError,TypeSpecRuntimeLogger:()=>Pf.TypeSpecRuntimeLogger,createClientLogger:()=>Pf.createClientLogger,createDefaultHttpClient:()=>Cbe.createDefaultHttpClient,createEmptyPipeline:()=>ybe.createEmptyPipeline,createHttpHeaders:()=>mbe.createHttpHeaders,createPipelineRequest:()=>gbe.createPipelineRequest,createRestError:()=>Ibe.createRestError,getClient:()=>Ebe.getClient,getLogLevel:()=>Pf.getLogLevel,isRestError:()=>Jz.isRestError,operationOptionsToRequestParameters:()=>Bbe.operationOptionsToRequestParameters,setLogLevel:()=>Pf.setLogLevel,stringToUint8Array:()=>Vz.stringToUint8Array,uint8ArrayToString:()=>Vz.uint8ArrayToString});$z.exports=hbe(Wz);var fbe=Bu(),Pf=bu(),mbe=Js(),gbe=lQ(),ybe=dQ(),Jz=Mc(),Vz=$o(),Cbe=SQ(),Ebe=Uz(),Bbe=Hz(),Ibe=Yz()});var qw=g((MVe,Xz)=>{var Fw=Object.defineProperty,bbe=Object.getOwnPropertyDescriptor,Qbe=Object.getOwnPropertyNames,wbe=Object.prototype.hasOwnProperty,Nbe=o((t,e)=>{for(var r in e)Fw(t,r,{get:e[r],enumerable:!0})},"__export"),xbe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Qbe(e))!wbe.call(t,i)&&i!==r&&Fw(t,i,{get:()=>e[i],enumerable:!(n=bbe(e,i))||n.enumerable});return t},"__copyProps"),Sbe=o(t=>xbe(Fw({},"__esModule",{value:!0}),t),"__toCommonJS"),Kz={};Nbe(Kz,{createEmptyPipeline:()=>_be});Xz.exports=Sbe(Kz);var Rbe=Yc();function _be(){return(0,Rbe.createEmptyPipeline)()}o(_be,"createEmptyPipeline")});var tj=g((LVe,ej)=>{var Hw=Object.defineProperty,vbe=Object.getOwnPropertyDescriptor,Pbe=Object.getOwnPropertyNames,Dbe=Object.prototype.hasOwnProperty,Tbe=o((t,e)=>{for(var r in e)Hw(t,r,{get:e[r],enumerable:!0})},"__export"),Obe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Pbe(e))!Dbe.call(t,i)&&i!==r&&Hw(t,i,{get:()=>e[i],enumerable:!(n=vbe(e,i))||n.enumerable});return t},"__copyProps"),Mbe=o(t=>Obe(Hw({},"__esModule",{value:!0}),t),"__toCommonJS"),Zz={};Tbe(Zz,{createLoggerContext:()=>kbe.createLoggerContext});ej.exports=Mbe(Zz);var kbe=bu()});var Jc=g(Zo=>{"use strict";Object.defineProperty(Zo,"__esModule",{value:!0});Zo.AzureLogger=void 0;Zo.setLogLevel=Ube;Zo.getLogLevel=Fbe;Zo.createClientLogger=qbe;var Lbe=tj(),Df=(0,Lbe.createLoggerContext)({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"});Zo.AzureLogger=Df.logger;function Ube(t){Df.setLogLevel(t)}o(Ube,"setLogLevel");function Fbe(){return Df.getLogLevel()}o(Fbe,"getLogLevel");function qbe(t){return Df.createClientLogger(t)}o(qbe,"createClientLogger")});var vu=g((HVe,nj)=>{var zw=Object.defineProperty,Hbe=Object.getOwnPropertyDescriptor,zbe=Object.getOwnPropertyNames,jbe=Object.prototype.hasOwnProperty,Gbe=o((t,e)=>{for(var r in e)zw(t,r,{get:e[r],enumerable:!0})},"__export"),Ybe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of zbe(e))!jbe.call(t,i)&&i!==r&&zw(t,i,{get:()=>e[i],enumerable:!(n=Hbe(e,i))||n.enumerable});return t},"__copyProps"),Jbe=o(t=>Ybe(zw({},"__esModule",{value:!0}),t),"__toCommonJS"),rj={};Gbe(rj,{logger:()=>Wbe});nj.exports=Jbe(rj);var Vbe=Jc(),Wbe=(0,Vbe.createClientLogger)("core-rest-pipeline")});var oj=g((jVe,sj)=>{var jw=Object.defineProperty,$be=Object.getOwnPropertyDescriptor,Kbe=Object.getOwnPropertyNames,Xbe=Object.prototype.hasOwnProperty,Zbe=o((t,e)=>{for(var r in e)jw(t,r,{get:e[r],enumerable:!0})},"__export"),eQe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Kbe(e))!Xbe.call(t,i)&&i!==r&&jw(t,i,{get:()=>e[i],enumerable:!(n=$be(e,i))||n.enumerable});return t},"__copyProps"),tQe=o(t=>eQe(jw({},"__esModule",{value:!0}),t),"__toCommonJS"),ij={};Zbe(ij,{exponentialRetryPolicy:()=>oQe,exponentialRetryPolicyName:()=>sQe});sj.exports=tQe(ij);var rQe=Ef(),nQe=Uc(),iQe=Ko(),sQe="exponentialRetryPolicy";function oQe(t={}){return(0,nQe.retryPolicy)([(0,rQe.exponentialRetryStrategy)({...t,ignoreSystemErrors:!0})],{maxRetries:t.maxRetries??iQe.DEFAULT_RETRY_POLICY_COUNT})}o(oQe,"exponentialRetryPolicy")});var Aj=g((YVe,lj)=>{var Gw=Object.defineProperty,aQe=Object.getOwnPropertyDescriptor,cQe=Object.getOwnPropertyNames,lQe=Object.prototype.hasOwnProperty,AQe=o((t,e)=>{for(var r in e)Gw(t,r,{get:e[r],enumerable:!0})},"__export"),uQe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of cQe(e))!lQe.call(t,i)&&i!==r&&Gw(t,i,{get:()=>e[i],enumerable:!(n=aQe(e,i))||n.enumerable});return t},"__copyProps"),dQe=o(t=>uQe(Gw({},"__esModule",{value:!0}),t),"__toCommonJS"),aj={};AQe(aj,{systemErrorRetryPolicy:()=>mQe,systemErrorRetryPolicyName:()=>cj});lj.exports=dQe(aj);var pQe=Ef(),hQe=Uc(),fQe=Ko(),cj="systemErrorRetryPolicy";function mQe(t={}){return{name:cj,sendRequest:(0,hQe.retryPolicy)([(0,pQe.exponentialRetryStrategy)({...t,ignoreHttpStatusCodes:!0})],{maxRetries:t.maxRetries??fQe.DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}o(mQe,"systemErrorRetryPolicy")});var hj=g((VVe,pj)=>{var Yw=Object.defineProperty,gQe=Object.getOwnPropertyDescriptor,yQe=Object.getOwnPropertyNames,CQe=Object.prototype.hasOwnProperty,EQe=o((t,e)=>{for(var r in e)Yw(t,r,{get:e[r],enumerable:!0})},"__export"),BQe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of yQe(e))!CQe.call(t,i)&&i!==r&&Yw(t,i,{get:()=>e[i],enumerable:!(n=gQe(e,i))||n.enumerable});return t},"__copyProps"),IQe=o(t=>BQe(Yw({},"__esModule",{value:!0}),t),"__toCommonJS"),uj={};EQe(uj,{throttlingRetryPolicy:()=>NQe,throttlingRetryPolicyName:()=>dj});pj.exports=IQe(uj);var bQe=Cf(),QQe=Uc(),wQe=Ko(),dj="throttlingRetryPolicy";function NQe(t={}){return{name:dj,sendRequest:(0,QQe.retryPolicy)([(0,bQe.throttlingRetryStrategy)()],{maxRetries:t.maxRetries??wQe.DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}o(NQe,"throttlingRetryPolicy")});var vr=g(($Ve,Sj)=>{var Vw=Object.defineProperty,xQe=Object.getOwnPropertyDescriptor,SQe=Object.getOwnPropertyNames,RQe=Object.prototype.hasOwnProperty,_Qe=o((t,e)=>{for(var r in e)Vw(t,r,{get:e[r],enumerable:!0})},"__export"),vQe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of SQe(e))!RQe.call(t,i)&&i!==r&&Vw(t,i,{get:()=>e[i],enumerable:!(n=xQe(e,i))||n.enumerable});return t},"__copyProps"),PQe=o(t=>vQe(Vw({},"__esModule",{value:!0}),t),"__toCommonJS"),xj={};_Qe(xj,{agentPolicy:()=>fj.agentPolicy,agentPolicyName:()=>fj.agentPolicyName,decompressResponsePolicy:()=>mj.decompressResponsePolicy,decompressResponsePolicyName:()=>mj.decompressResponsePolicyName,defaultRetryPolicy:()=>gj.defaultRetryPolicy,defaultRetryPolicyName:()=>gj.defaultRetryPolicyName,exponentialRetryPolicy:()=>yj.exponentialRetryPolicy,exponentialRetryPolicyName:()=>yj.exponentialRetryPolicyName,formDataPolicy:()=>Bj.formDataPolicy,formDataPolicyName:()=>Bj.formDataPolicyName,getDefaultProxySettings:()=>Jw.getDefaultProxySettings,logPolicy:()=>Ij.logPolicy,logPolicyName:()=>Ij.logPolicyName,multipartPolicy:()=>bj.multipartPolicy,multipartPolicyName:()=>bj.multipartPolicyName,proxyPolicy:()=>Jw.proxyPolicy,proxyPolicyName:()=>Jw.proxyPolicyName,redirectPolicy:()=>Qj.redirectPolicy,redirectPolicyName:()=>Qj.redirectPolicyName,retryPolicy:()=>DQe.retryPolicy,systemErrorRetryPolicy:()=>Cj.systemErrorRetryPolicy,systemErrorRetryPolicyName:()=>Cj.systemErrorRetryPolicyName,throttlingRetryPolicy:()=>Ej.throttlingRetryPolicy,throttlingRetryPolicyName:()=>Ej.throttlingRetryPolicyName,tlsPolicy:()=>wj.tlsPolicy,tlsPolicyName:()=>wj.tlsPolicyName,userAgentPolicy:()=>Nj.userAgentPolicy,userAgentPolicyName:()=>Nj.userAgentPolicyName});Sj.exports=PQe(xj);var fj=Aw(),mj=FQ(),gj=XQ(),yj=oj(),DQe=Uc(),Cj=Aj(),Ej=hj(),Bj=tw(),Ij=_Q(),bj=gw(),Jw=cw(),Qj=PQ(),wj=dw(),Nj=LQ()});var $w=g((XVe,vj)=>{var Ww=Object.defineProperty,TQe=Object.getOwnPropertyDescriptor,OQe=Object.getOwnPropertyNames,MQe=Object.prototype.hasOwnProperty,kQe=o((t,e)=>{for(var r in e)Ww(t,r,{get:e[r],enumerable:!0})},"__export"),LQe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of OQe(e))!MQe.call(t,i)&&i!==r&&Ww(t,i,{get:()=>e[i],enumerable:!(n=TQe(e,i))||n.enumerable});return t},"__copyProps"),UQe=o(t=>LQe(Ww({},"__esModule",{value:!0}),t),"__toCommonJS"),Rj={};kQe(Rj,{logPolicy:()=>HQe,logPolicyName:()=>qQe});vj.exports=UQe(Rj);var FQe=vu(),_j=vr(),qQe=_j.logPolicyName;function HQe(t={}){return(0,_j.logPolicy)({logger:FQe.logger.info,...t})}o(HQe,"logPolicy")});var Xw=g((eWe,Tj)=>{var Kw=Object.defineProperty,zQe=Object.getOwnPropertyDescriptor,jQe=Object.getOwnPropertyNames,GQe=Object.prototype.hasOwnProperty,YQe=o((t,e)=>{for(var r in e)Kw(t,r,{get:e[r],enumerable:!0})},"__export"),JQe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of jQe(e))!GQe.call(t,i)&&i!==r&&Kw(t,i,{get:()=>e[i],enumerable:!(n=zQe(e,i))||n.enumerable});return t},"__copyProps"),VQe=o(t=>JQe(Kw({},"__esModule",{value:!0}),t),"__toCommonJS"),Pj={};YQe(Pj,{redirectPolicy:()=>$Qe,redirectPolicyName:()=>WQe});Tj.exports=VQe(Pj);var Dj=vr(),WQe=Dj.redirectPolicyName;function $Qe(t={}){return(0,Dj.redirectPolicy)(t)}o($Qe,"redirectPolicy")});var Uj=g((rWe,Lj)=>{var KQe=Object.create,Tf=Object.defineProperty,XQe=Object.getOwnPropertyDescriptor,ZQe=Object.getOwnPropertyNames,ewe=Object.getPrototypeOf,twe=Object.prototype.hasOwnProperty,rwe=o((t,e)=>{for(var r in e)Tf(t,r,{get:e[r],enumerable:!0})},"__export"),Oj=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of ZQe(e))!twe.call(t,i)&&i!==r&&Tf(t,i,{get:()=>e[i],enumerable:!(n=XQe(e,i))||n.enumerable});return t},"__copyProps"),Mj=o((t,e,r)=>(r=t!=null?KQe(ewe(t)):{},Oj(e||!t||!t.__esModule?Tf(r,"default",{value:t,enumerable:!0}):r,t)),"__toESM"),nwe=o(t=>Oj(Tf({},"__esModule",{value:!0}),t),"__toCommonJS"),kj={};rwe(kj,{getHeaderName:()=>iwe,setPlatformSpecificData:()=>swe});Lj.exports=nwe(kj);var Zw=Mj(require("node:os")),eN=Mj(require("node:process"));function iwe(){return"User-Agent"}o(iwe,"getHeaderName");async function swe(t){if(eN.default&&eN.default.versions){let e=`${Zw.default.type()} ${Zw.default.release()}; ${Zw.default.arch()}`,r=eN.default.versions;r.bun?t.set("Bun",`${r.bun} (${e})`):r.deno?t.set("Deno",`${r.deno} (${e})`):r.node&&t.set("Node",`${r.node} (${e})`)}}o(swe,"setPlatformSpecificData")});var Of=g((iWe,qj)=>{var tN=Object.defineProperty,owe=Object.getOwnPropertyDescriptor,awe=Object.getOwnPropertyNames,cwe=Object.prototype.hasOwnProperty,lwe=o((t,e)=>{for(var r in e)tN(t,r,{get:e[r],enumerable:!0})},"__export"),Awe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of awe(e))!cwe.call(t,i)&&i!==r&&tN(t,i,{get:()=>e[i],enumerable:!(n=owe(e,i))||n.enumerable});return t},"__copyProps"),uwe=o(t=>Awe(tN({},"__esModule",{value:!0}),t),"__toCommonJS"),Fj={};lwe(Fj,{DEFAULT_RETRY_POLICY_COUNT:()=>pwe,SDK_VERSION:()=>dwe});qj.exports=uwe(Fj);var dwe="1.22.3",pwe=3});var nN=g((oWe,jj)=>{var rN=Object.defineProperty,hwe=Object.getOwnPropertyDescriptor,fwe=Object.getOwnPropertyNames,mwe=Object.prototype.hasOwnProperty,gwe=o((t,e)=>{for(var r in e)rN(t,r,{get:e[r],enumerable:!0})},"__export"),ywe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of fwe(e))!mwe.call(t,i)&&i!==r&&rN(t,i,{get:()=>e[i],enumerable:!(n=hwe(e,i))||n.enumerable});return t},"__copyProps"),Cwe=o(t=>ywe(rN({},"__esModule",{value:!0}),t),"__toCommonJS"),Hj={};gwe(Hj,{getUserAgentHeaderName:()=>Iwe,getUserAgentValue:()=>bwe});jj.exports=Cwe(Hj);var zj=Uj(),Ewe=Of();function Bwe(t){let e=[];for(let[r,n]of t){let i=n?`${r}/${n}`:r;e.push(i)}return e.join(" ")}o(Bwe,"getUserAgentString");function Iwe(){return(0,zj.getHeaderName)()}o(Iwe,"getUserAgentHeaderName");async function bwe(t){let e=new Map;e.set("core-rest-pipeline",Ewe.SDK_VERSION),await(0,zj.setPlatformSpecificData)(e);let r=Bwe(e);return t?`${t} ${r}`:r}o(bwe,"getUserAgentValue")});var sN=g((cWe,Wj)=>{var iN=Object.defineProperty,Qwe=Object.getOwnPropertyDescriptor,wwe=Object.getOwnPropertyNames,Nwe=Object.prototype.hasOwnProperty,xwe=o((t,e)=>{for(var r in e)iN(t,r,{get:e[r],enumerable:!0})},"__export"),Swe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of wwe(e))!Nwe.call(t,i)&&i!==r&&iN(t,i,{get:()=>e[i],enumerable:!(n=Qwe(e,i))||n.enumerable});return t},"__copyProps"),Rwe=o(t=>Swe(iN({},"__esModule",{value:!0}),t),"__toCommonJS"),Yj={};xwe(Yj,{userAgentPolicy:()=>_we,userAgentPolicyName:()=>Vj});Wj.exports=Rwe(Yj);var Jj=nN(),Gj=(0,Jj.getUserAgentHeaderName)(),Vj="userAgentPolicy";function _we(t={}){let e=(0,Jj.getUserAgentValue)(t.userAgentPrefix);return{name:Vj,async sendRequest(r,n){return r.headers.has(Gj)||r.headers.set(Gj,await e),n(r)}}}o(_we,"userAgentPolicy")});var bG={};Pd(bG,{__addDisposableResource:()=>EG,__assign:()=>Mf,__asyncDelegator:()=>dG,__asyncGenerator:()=>uG,__asyncValues:()=>pG,__await:()=>Vc,__awaiter:()=>sG,__classPrivateFieldGet:()=>gG,__classPrivateFieldIn:()=>CG,__classPrivateFieldSet:()=>yG,__createBinding:()=>Lf,__decorate:()=>Xj,__disposeResources:()=>BG,__esDecorate:()=>eG,__exportStar:()=>aG,__extends:()=>$j,__generator:()=>oG,__importDefault:()=>mG,__importStar:()=>fG,__makeTemplateObject:()=>hG,__metadata:()=>iG,__param:()=>Zj,__propKey:()=>rG,__read:()=>cN,__rest:()=>Kj,__rewriteRelativeImportExtension:()=>IG,__runInitializers:()=>tG,__setFunctionName:()=>nG,__spread:()=>cG,__spreadArray:()=>AG,__spreadArrays:()=>lG,__values:()=>kf,default:()=>Dwe});function $j(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");oN(t,e);function r(){this.constructor=t}o(r,"__"),t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}function Kj(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(t);i=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s}function Zj(t,e){return function(r,n){e(r,n,t)}}function eG(t,e,r,n,i,s){function a(w){if(w!==void 0&&typeof w!="function")throw new TypeError("Function expected");return w}o(a,"accept");for(var c=n.kind,l=c==="getter"?"get":c==="setter"?"set":"value",A=!e&&t?n.static?t:t.prototype:null,u=e||(A?Object.getOwnPropertyDescriptor(A,n.name):{}),d,f=!1,m=r.length-1;m>=0;m--){var C={};for(var Q in n)C[Q]=Q==="access"?{}:n[Q];for(var Q in n.access)C.access[Q]=n.access[Q];C.addInitializer=function(w){if(f)throw new TypeError("Cannot add initializers after decoration has completed");s.push(a(w||null))};var S=(0,r[m])(c==="accessor"?{get:u.get,set:u.set}:u[l],C);if(c==="accessor"){if(S===void 0)continue;if(S===null||typeof S!="object")throw new TypeError("Object expected");(d=a(S.get))&&(u.get=d),(d=a(S.set))&&(u.set=d),(d=a(S.init))&&i.unshift(d)}else(d=a(S))&&(c==="field"?i.unshift(d):u[l]=d)}A&&Object.defineProperty(A,n.name,u),f=!0}function tG(t,e,r){for(var n=arguments.length>2,i=0;i0&&s[s.length-1])&&(A[0]===6||A[0]===2)){r=0;continue}if(A[0]===3&&(!s||A[1]>s[0]&&A[1]=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function cN(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,s=[],a;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)s.push(i.value)}catch(c){a={error:c}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(a)throw a.error}}return s}function cG(){for(var t=[],e=0;e1||l(m,Q)})},C&&(i[m]=C(i[m])))}function l(m,C){try{A(n[m](C))}catch(Q){f(s[0][3],Q)}}function A(m){m.value instanceof Vc?Promise.resolve(m.value.v).then(u,d):f(s[0][2],m)}function u(m){l("next",m)}function d(m){l("throw",m)}function f(m,C){m(C),s.shift(),s.length&&l(s[0][0],s[0][1])}}function dG(t){var e,r;return e={},n("next"),n("throw",function(i){throw i}),n("return"),e[Symbol.iterator]=function(){return this},e;function n(i,s){e[i]=t[i]?function(a){return(r=!r)?{value:Vc(t[i](a)),done:!1}:s?s(a):a}:s}}function pG(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof kf=="function"?kf(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(s){r[s]=t[s]&&function(a){return new Promise(function(c,l){a=t[s](a),i(c,l,a.done,a.value)})}}function i(s,a,c,l){Promise.resolve(l).then(function(A){s({value:A,done:c})},a)}}function hG(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function fG(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r=aN(t),n=0;n{oN=o(function(t,e){return oN=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},oN(t,e)},"extendStatics");o($j,"__extends");Mf=o(function(){return Mf=Object.assign||o(function(e){for(var r,n=1,i=arguments.length;n{var lN=Object.defineProperty,Twe=Object.getOwnPropertyDescriptor,Owe=Object.getOwnPropertyNames,Mwe=Object.prototype.hasOwnProperty,kwe=o((t,e)=>{for(var r in e)lN(t,r,{get:e[r],enumerable:!0})},"__export"),Lwe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Owe(e))!Mwe.call(t,i)&&i!==r&&lN(t,i,{get:()=>e[i],enumerable:!(n=Twe(e,i))||n.enumerable});return t},"__copyProps"),Uwe=o(t=>Lwe(lN({},"__esModule",{value:!0}),t),"__toCommonJS"),wG={};kwe(wG,{computeSha256Hash:()=>qwe,computeSha256Hmac:()=>Fwe});xG.exports=Uwe(wG);var NG=require("node:crypto");async function Fwe(t,e,r){let n=Buffer.from(t,"base64");return(0,NG.createHmac)("sha256",n).update(e).digest(r)}o(Fwe,"computeSha256Hmac");async function qwe(t,e){return(0,NG.createHash)("sha256").update(t).digest(e)}o(qwe,"computeSha256Hash")});var Pu=g((pWe,PG)=>{var AN=Object.defineProperty,Hwe=Object.getOwnPropertyDescriptor,zwe=Object.getOwnPropertyNames,jwe=Object.prototype.hasOwnProperty,Gwe=o((t,e)=>{for(var r in e)AN(t,r,{get:e[r],enumerable:!0})},"__export"),Ywe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of zwe(e))!jwe.call(t,i)&&i!==r&&AN(t,i,{get:()=>e[i],enumerable:!(n=Hwe(e,i))||n.enumerable});return t},"__copyProps"),Jwe=o(t=>Ywe(AN({},"__esModule",{value:!0}),t),"__toCommonJS"),vG={};Gwe(vG,{Sanitizer:()=>Zwe.Sanitizer,calculateRetryDelay:()=>Vwe.calculateRetryDelay,computeSha256Hash:()=>RG.computeSha256Hash,computeSha256Hmac:()=>RG.computeSha256Hmac,getRandomIntegerInclusive:()=>Wwe.getRandomIntegerInclusive,isBrowser:()=>ea.isBrowser,isBun:()=>ea.isBun,isDeno:()=>ea.isDeno,isError:()=>Kwe.isError,isNodeLike:()=>ea.isNodeLike,isNodeRuntime:()=>ea.isNodeRuntime,isObject:()=>$we.isObject,isReactNative:()=>ea.isReactNative,isWebWorker:()=>ea.isWebWorker,randomUUID:()=>Xwe.randomUUID,stringToUint8Array:()=>_G.stringToUint8Array,uint8ArrayToString:()=>_G.uint8ArrayToString});PG.exports=Jwe(vG);var Vwe=jQ(),Wwe=HQ(),$we=hf(),Kwe=fQ(),RG=SG(),Xwe=pf(),ea=xu(),_G=$o(),Zwe=Qu()});var DG=g(uN=>{"use strict";Object.defineProperty(uN,"__esModule",{value:!0});uN.cancelablePromiseRace=eNe;async function eNe(t,e){let r=new AbortController;function n(){r.abort()}o(n,"abortHandler"),e?.abortSignal?.addEventListener("abort",n);try{return await Promise.race(t.map(i=>i({abortSignal:r.signal})))}finally{r.abort(),e?.abortSignal?.removeEventListener("abort",n)}}o(eNe,"cancelablePromiseRace")});var TG=g(Uf=>{"use strict";Object.defineProperty(Uf,"__esModule",{value:!0});Uf.AbortError=void 0;var dN=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};Uf.AbortError=dN});var OG=g(Ff=>{"use strict";Object.defineProperty(Ff,"__esModule",{value:!0});Ff.AbortError=void 0;var tNe=TG();Object.defineProperty(Ff,"AbortError",{enumerable:!0,get:function(){return tNe.AbortError}})});var hN=g(pN=>{"use strict";Object.defineProperty(pN,"__esModule",{value:!0});pN.createAbortablePromise=nNe;var rNe=OG();function nNe(t,e){let{cleanupBeforeAbort:r,abortSignal:n,abortErrorMsg:i}=e??{};return new Promise((s,a)=>{function c(){a(new rNe.AbortError(i??"The operation was aborted."))}o(c,"rejectOnAbort");function l(){n?.removeEventListener("abort",A)}o(l,"removeListeners");function A(){r?.(),l(),c()}if(o(A,"onAbort"),n?.aborted)return c();try{t(u=>{l(),s(u)},u=>{l(),a(u)})}catch(u){a(u)}n?.addEventListener("abort",A)})}o(nNe,"createAbortablePromise")});var MG=g(qf=>{"use strict";Object.defineProperty(qf,"__esModule",{value:!0});qf.delay=aNe;qf.calculateRetryDelay=cNe;var iNe=hN(),sNe=Pu(),oNe="The delay was aborted.";function aNe(t,e){let r,{abortSignal:n,abortErrorMsg:i}=e??{};return(0,iNe.createAbortablePromise)(s=>{r=setTimeout(s,t)},{cleanupBeforeAbort:()=>clearTimeout(r),abortSignal:n,abortErrorMsg:i??oNe})}o(aNe,"delay");function cNe(t,e){let r=e.retryDelayInMs*Math.pow(2,t),n=Math.min(e.maxRetryDelayInMs,r);return{retryAfterInMs:n/2+(0,sNe.getRandomIntegerInclusive)(0,n/2)}}o(cNe,"calculateRetryDelay")});var kG=g(fN=>{"use strict";Object.defineProperty(fN,"__esModule",{value:!0});fN.getErrorMessage=ANe;var lNe=Pu();function ANe(t){if((0,lNe.isError)(t))return t.message;{let e;try{typeof t=="object"&&t?e=JSON.stringify(t):e=String(t)}catch{e="[unable to stringify input]"}return`Unknown error ${e}`}}o(ANe,"getErrorMessage")});var UG=g(Du=>{"use strict";Object.defineProperty(Du,"__esModule",{value:!0});Du.isDefined=mN;Du.isObjectWithProperties=uNe;Du.objectHasProperty=LG;function mN(t){return typeof t<"u"&&t!==null}o(mN,"isDefined");function uNe(t,e){if(!mN(t)||typeof t!="object")return!1;for(let r of e)if(!LG(t,r))return!1;return!0}o(uNe,"isObjectWithProperties");function LG(t,e){return mN(t)&&typeof t=="object"&&e in t}o(LG,"objectHasProperty")});var pt=g(ge=>{"use strict";Object.defineProperty(ge,"__esModule",{value:!0});ge.isWebWorker=ge.isReactNative=ge.isNodeRuntime=ge.isNodeLike=ge.isNode=ge.isDeno=ge.isBun=ge.isBrowser=ge.objectHasProperty=ge.isObjectWithProperties=ge.isDefined=ge.getErrorMessage=ge.delay=ge.createAbortablePromise=ge.cancelablePromiseRace=void 0;ge.calculateRetryDelay=gNe;ge.computeSha256Hash=yNe;ge.computeSha256Hmac=CNe;ge.getRandomIntegerInclusive=ENe;ge.isError=BNe;ge.isObject=INe;ge.randomUUID=bNe;ge.uint8ArrayToString=QNe;ge.stringToUint8Array=wNe;var dNe=(QG(),Zt(bG)),Xt=dNe.__importStar(Pu()),pNe=DG();Object.defineProperty(ge,"cancelablePromiseRace",{enumerable:!0,get:function(){return pNe.cancelablePromiseRace}});var hNe=hN();Object.defineProperty(ge,"createAbortablePromise",{enumerable:!0,get:function(){return hNe.createAbortablePromise}});var fNe=MG();Object.defineProperty(ge,"delay",{enumerable:!0,get:function(){return fNe.delay}});var mNe=kG();Object.defineProperty(ge,"getErrorMessage",{enumerable:!0,get:function(){return mNe.getErrorMessage}});var gN=UG();Object.defineProperty(ge,"isDefined",{enumerable:!0,get:function(){return gN.isDefined}});Object.defineProperty(ge,"isObjectWithProperties",{enumerable:!0,get:function(){return gN.isObjectWithProperties}});Object.defineProperty(ge,"objectHasProperty",{enumerable:!0,get:function(){return gN.objectHasProperty}});function gNe(t,e){return Xt.calculateRetryDelay(t,e)}o(gNe,"calculateRetryDelay");function yNe(t,e){return Xt.computeSha256Hash(t,e)}o(yNe,"computeSha256Hash");function CNe(t,e,r){return Xt.computeSha256Hmac(t,e,r)}o(CNe,"computeSha256Hmac");function ENe(t,e){return Xt.getRandomIntegerInclusive(t,e)}o(ENe,"getRandomIntegerInclusive");function BNe(t){return Xt.isError(t)}o(BNe,"isError");function INe(t){return Xt.isObject(t)}o(INe,"isObject");function bNe(){return Xt.randomUUID()}o(bNe,"randomUUID");ge.isBrowser=Xt.isBrowser;ge.isBun=Xt.isBun;ge.isDeno=Xt.isDeno;ge.isNode=Xt.isNodeLike;ge.isNodeLike=Xt.isNodeLike;ge.isNodeRuntime=Xt.isNodeRuntime;ge.isReactNative=Xt.isReactNative;ge.isWebWorker=Xt.isWebWorker;function QNe(t,e){return Xt.uint8ArrayToString(t,e)}o(QNe,"uint8ArrayToString");function wNe(t,e){return Xt.stringToUint8Array(t,e)}o(wNe,"stringToUint8Array")});var CN=g((_We,jG)=>{var yN=Object.defineProperty,NNe=Object.getOwnPropertyDescriptor,xNe=Object.getOwnPropertyNames,SNe=Object.prototype.hasOwnProperty,RNe=o((t,e)=>{for(var r in e)yN(t,r,{get:e[r],enumerable:!0})},"__export"),_Ne=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of xNe(e))!SNe.call(t,i)&&i!==r&&yN(t,i,{get:()=>e[i],enumerable:!(n=NNe(e,i))||n.enumerable});return t},"__copyProps"),vNe=o(t=>_Ne(yN({},"__esModule",{value:!0}),t),"__toCommonJS"),qG={};RNe(qG,{createFile:()=>MNe,createFileFromStream:()=>ONe,getRawContent:()=>TNe,hasRawContent:()=>zG});jG.exports=vNe(qG);var PNe=pt();function DNe(t){return!!(t&&typeof t.pipe=="function")}o(DNe,"isNodeReadableStream");var HG={arrayBuffer:()=>{throw new Error("Not implemented")},bytes:()=>{throw new Error("Not implemented")},slice:()=>{throw new Error("Not implemented")},text:()=>{throw new Error("Not implemented")}},Hf=Symbol("rawContent");function zG(t){return typeof t[Hf]=="function"}o(zG,"hasRawContent");function TNe(t){return zG(t)?t[Hf]():t}o(TNe,"getRawContent");function ONe(t,e,r={}){return{...HG,type:r.type??"",lastModified:r.lastModified??new Date().getTime(),webkitRelativePath:r.webkitRelativePath??"",size:r.size??-1,name:e,stream:()=>{let n=t();if(DNe(n))throw new Error("Not supported: a Node stream was provided as input to createFileFromStream.");return n},[Hf]:t}}o(ONe,"createFileFromStream");function MNe(t,e,r={}){return PNe.isNodeLike?{...HG,type:r.type??"",lastModified:r.lastModified??new Date().getTime(),webkitRelativePath:r.webkitRelativePath??"",size:t.byteLength,name:e,arrayBuffer:async()=>t.buffer,stream:()=>new Blob([FG(t)]).stream(),[Hf]:()=>t}:new File([FG(t)],e,r)}o(MNe,"createFile");function FG(t){return"resize"in t.buffer?t:t.map(e=>e)}o(FG,"toArrayBuffer")});var BN=g((PWe,WG)=>{var EN=Object.defineProperty,kNe=Object.getOwnPropertyDescriptor,LNe=Object.getOwnPropertyNames,UNe=Object.prototype.hasOwnProperty,FNe=o((t,e)=>{for(var r in e)EN(t,r,{get:e[r],enumerable:!0})},"__export"),qNe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of LNe(e))!UNe.call(t,i)&&i!==r&&EN(t,i,{get:()=>e[i],enumerable:!(n=kNe(e,i))||n.enumerable});return t},"__copyProps"),HNe=o(t=>qNe(EN({},"__esModule",{value:!0}),t),"__toCommonJS"),YG={};FNe(YG,{multipartPolicy:()=>zNe,multipartPolicyName:()=>VG});WG.exports=HNe(YG);var JG=vr(),GG=CN(),VG=JG.multipartPolicyName;function zNe(){let t=(0,JG.multipartPolicy)();return{name:VG,sendRequest:async(e,r)=>{if(e.multipartBody)for(let n of e.multipartBody.parts)(0,GG.hasRawContent)(n.body)&&(n.body=(0,GG.getRawContent)(n.body));return t.sendRequest(e,r)}}}o(zNe,"multipartPolicy")});var bN=g((TWe,XG)=>{var IN=Object.defineProperty,jNe=Object.getOwnPropertyDescriptor,GNe=Object.getOwnPropertyNames,YNe=Object.prototype.hasOwnProperty,JNe=o((t,e)=>{for(var r in e)IN(t,r,{get:e[r],enumerable:!0})},"__export"),VNe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of GNe(e))!YNe.call(t,i)&&i!==r&&IN(t,i,{get:()=>e[i],enumerable:!(n=jNe(e,i))||n.enumerable});return t},"__copyProps"),WNe=o(t=>VNe(IN({},"__esModule",{value:!0}),t),"__toCommonJS"),$G={};JNe($G,{decompressResponsePolicy:()=>KNe,decompressResponsePolicyName:()=>$Ne});XG.exports=WNe($G);var KG=vr(),$Ne=KG.decompressResponsePolicyName;function KNe(){return(0,KG.decompressResponsePolicy)()}o(KNe,"decompressResponsePolicy")});var wN=g((MWe,tY)=>{var QN=Object.defineProperty,XNe=Object.getOwnPropertyDescriptor,ZNe=Object.getOwnPropertyNames,e0e=Object.prototype.hasOwnProperty,t0e=o((t,e)=>{for(var r in e)QN(t,r,{get:e[r],enumerable:!0})},"__export"),r0e=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of ZNe(e))!e0e.call(t,i)&&i!==r&&QN(t,i,{get:()=>e[i],enumerable:!(n=XNe(e,i))||n.enumerable});return t},"__copyProps"),n0e=o(t=>r0e(QN({},"__esModule",{value:!0}),t),"__toCommonJS"),ZG={};t0e(ZG,{defaultRetryPolicy:()=>s0e,defaultRetryPolicyName:()=>i0e});tY.exports=n0e(ZG);var eY=vr(),i0e=eY.defaultRetryPolicyName;function s0e(t={}){return(0,eY.defaultRetryPolicy)(t)}o(s0e,"defaultRetryPolicy")});var xN=g((LWe,iY)=>{var NN=Object.defineProperty,o0e=Object.getOwnPropertyDescriptor,a0e=Object.getOwnPropertyNames,c0e=Object.prototype.hasOwnProperty,l0e=o((t,e)=>{for(var r in e)NN(t,r,{get:e[r],enumerable:!0})},"__export"),A0e=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of a0e(e))!c0e.call(t,i)&&i!==r&&NN(t,i,{get:()=>e[i],enumerable:!(n=o0e(e,i))||n.enumerable});return t},"__copyProps"),u0e=o(t=>A0e(NN({},"__esModule",{value:!0}),t),"__toCommonJS"),rY={};l0e(rY,{formDataPolicy:()=>p0e,formDataPolicyName:()=>d0e});iY.exports=u0e(rY);var nY=vr(),d0e=nY.formDataPolicyName;function p0e(){return(0,nY.formDataPolicy)()}o(p0e,"formDataPolicy")});var _N=g((FWe,oY)=>{var SN=Object.defineProperty,h0e=Object.getOwnPropertyDescriptor,f0e=Object.getOwnPropertyNames,m0e=Object.prototype.hasOwnProperty,g0e=o((t,e)=>{for(var r in e)SN(t,r,{get:e[r],enumerable:!0})},"__export"),y0e=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of f0e(e))!m0e.call(t,i)&&i!==r&&SN(t,i,{get:()=>e[i],enumerable:!(n=h0e(e,i))||n.enumerable});return t},"__copyProps"),C0e=o(t=>y0e(SN({},"__esModule",{value:!0}),t),"__toCommonJS"),sY={};g0e(sY,{getDefaultProxySettings:()=>B0e,proxyPolicy:()=>I0e,proxyPolicyName:()=>E0e});oY.exports=C0e(sY);var RN=vr(),E0e=RN.proxyPolicyName;function B0e(t){return(0,RN.getDefaultProxySettings)(t)}o(B0e,"getDefaultProxySettings");function I0e(t,e){return(0,RN.proxyPolicy)(t,e)}o(I0e,"proxyPolicy")});var PN=g((HWe,lY)=>{var vN=Object.defineProperty,b0e=Object.getOwnPropertyDescriptor,Q0e=Object.getOwnPropertyNames,w0e=Object.prototype.hasOwnProperty,N0e=o((t,e)=>{for(var r in e)vN(t,r,{get:e[r],enumerable:!0})},"__export"),x0e=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Q0e(e))!w0e.call(t,i)&&i!==r&&vN(t,i,{get:()=>e[i],enumerable:!(n=b0e(e,i))||n.enumerable});return t},"__copyProps"),S0e=o(t=>x0e(vN({},"__esModule",{value:!0}),t),"__toCommonJS"),aY={};N0e(aY,{setClientRequestIdPolicy:()=>R0e,setClientRequestIdPolicyName:()=>cY});lY.exports=S0e(aY);var cY="setClientRequestIdPolicy";function R0e(t="x-ms-client-request-id"){return{name:cY,async sendRequest(e,r){return e.headers.has(t)||e.headers.set(t,e.requestId),r(e)}}}o(R0e,"setClientRequestIdPolicy")});var TN=g((jWe,dY)=>{var DN=Object.defineProperty,_0e=Object.getOwnPropertyDescriptor,v0e=Object.getOwnPropertyNames,P0e=Object.prototype.hasOwnProperty,D0e=o((t,e)=>{for(var r in e)DN(t,r,{get:e[r],enumerable:!0})},"__export"),T0e=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of v0e(e))!P0e.call(t,i)&&i!==r&&DN(t,i,{get:()=>e[i],enumerable:!(n=_0e(e,i))||n.enumerable});return t},"__copyProps"),O0e=o(t=>T0e(DN({},"__esModule",{value:!0}),t),"__toCommonJS"),AY={};D0e(AY,{agentPolicy:()=>k0e,agentPolicyName:()=>M0e});dY.exports=O0e(AY);var uY=vr(),M0e=uY.agentPolicyName;function k0e(t){return(0,uY.agentPolicy)(t)}o(k0e,"agentPolicy")});var MN=g((YWe,fY)=>{var ON=Object.defineProperty,L0e=Object.getOwnPropertyDescriptor,U0e=Object.getOwnPropertyNames,F0e=Object.prototype.hasOwnProperty,q0e=o((t,e)=>{for(var r in e)ON(t,r,{get:e[r],enumerable:!0})},"__export"),H0e=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of U0e(e))!F0e.call(t,i)&&i!==r&&ON(t,i,{get:()=>e[i],enumerable:!(n=L0e(e,i))||n.enumerable});return t},"__copyProps"),z0e=o(t=>H0e(ON({},"__esModule",{value:!0}),t),"__toCommonJS"),pY={};q0e(pY,{tlsPolicy:()=>G0e,tlsPolicyName:()=>j0e});fY.exports=z0e(pY);var hY=vr(),j0e=hY.tlsPolicyName;function G0e(t){return(0,hY.tlsPolicy)(t)}o(G0e,"tlsPolicy")});var kN=g(ps=>{"use strict";Object.defineProperty(ps,"__esModule",{value:!0});ps.TracingContextImpl=ps.knownContextKeys=void 0;ps.createTracingContext=Y0e;ps.knownContextKeys={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};function Y0e(t={}){let e=new zf(t.parentContext);return t.span&&(e=e.setValue(ps.knownContextKeys.span,t.span)),t.namespace&&(e=e.setValue(ps.knownContextKeys.namespace,t.namespace)),e}o(Y0e,"createTracingContext");var zf=class t{static{o(this,"TracingContextImpl")}_contextMap;constructor(e){this._contextMap=e instanceof t?new Map(e._contextMap):new Map}setValue(e,r){let n=new t(this);return n._contextMap.set(e,r),n}getValue(e){return this._contextMap.get(e)}deleteValue(e){let r=new t(this);return r._contextMap.delete(e),r}};ps.TracingContextImpl=zf});var mY=g(jf=>{"use strict";Object.defineProperty(jf,"__esModule",{value:!0});jf.state=void 0;jf.state={instrumenterImplementation:void 0}});var LN=g(Wc=>{"use strict";Object.defineProperty(Wc,"__esModule",{value:!0});Wc.createDefaultTracingSpan=gY;Wc.createDefaultInstrumenter=yY;Wc.useInstrumenter=V0e;Wc.getInstrumenter=W0e;var J0e=kN(),Gf=mY();function gY(){return{end:()=>{},isRecording:()=>!1,recordException:()=>{},setAttribute:()=>{},setStatus:()=>{},addEvent:()=>{}}}o(gY,"createDefaultTracingSpan");function yY(){return{createRequestHeaders:()=>({}),parseTraceparentHeader:()=>{},startSpan:(t,e)=>({span:gY(),tracingContext:(0,J0e.createTracingContext)({parentContext:e.tracingContext})}),withContext(t,e,...r){return e(...r)}}}o(yY,"createDefaultInstrumenter");function V0e(t){Gf.state.instrumenterImplementation=t}o(V0e,"useInstrumenter");function W0e(){return Gf.state.instrumenterImplementation||(Gf.state.instrumenterImplementation=yY()),Gf.state.instrumenterImplementation}o(W0e,"getInstrumenter")});var CY=g(FN=>{"use strict";Object.defineProperty(FN,"__esModule",{value:!0});FN.createTracingClient=$0e;var Yf=LN(),UN=kN();function $0e(t){let{namespace:e,packageName:r,packageVersion:n}=t;function i(A,u,d){let f=(0,Yf.getInstrumenter)().startSpan(A,{...d,packageName:r,packageVersion:n,tracingContext:u?.tracingOptions?.tracingContext}),m=f.tracingContext,C=f.span;m.getValue(UN.knownContextKeys.namespace)||(m=m.setValue(UN.knownContextKeys.namespace,e)),C.setAttribute("az.namespace",m.getValue(UN.knownContextKeys.namespace));let Q=Object.assign({},u,{tracingOptions:{...u?.tracingOptions,tracingContext:m}});return{span:C,updatedOptions:Q}}o(i,"startSpan");async function s(A,u,d,f){let{span:m,updatedOptions:C}=i(A,u,f);try{let Q=await a(C.tracingOptions.tracingContext,()=>Promise.resolve(d(C,m)));return m.setStatus({status:"success"}),Q}catch(Q){throw m.setStatus({status:"error",error:Q}),Q}finally{m.end()}}o(s,"withSpan");function a(A,u,...d){return(0,Yf.getInstrumenter)().withContext(A,u,...d)}o(a,"withContext");function c(A){return(0,Yf.getInstrumenter)().parseTraceparentHeader(A)}o(c,"parseTraceparentHeader");function l(A){return(0,Yf.getInstrumenter)().createRequestHeaders(A)}return o(l,"createRequestHeaders"),{startSpan:i,withSpan:s,withContext:a,parseTraceparentHeader:c,createRequestHeaders:l}}o($0e,"createTracingClient")});var qN=g($c=>{"use strict";Object.defineProperty($c,"__esModule",{value:!0});$c.createTracingClient=$c.useInstrumenter=void 0;var K0e=LN();Object.defineProperty($c,"useInstrumenter",{enumerable:!0,get:function(){return K0e.useInstrumenter}});var X0e=CY();Object.defineProperty($c,"createTracingClient",{enumerable:!0,get:function(){return X0e.createTracingClient}})});var Jf=g((r$e,IY)=>{var HN=Object.defineProperty,Z0e=Object.getOwnPropertyDescriptor,exe=Object.getOwnPropertyNames,txe=Object.prototype.hasOwnProperty,rxe=o((t,e)=>{for(var r in e)HN(t,r,{get:e[r],enumerable:!0})},"__export"),nxe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of exe(e))!txe.call(t,i)&&i!==r&&HN(t,i,{get:()=>e[i],enumerable:!(n=Z0e(e,i))||n.enumerable});return t},"__copyProps"),ixe=o(t=>nxe(HN({},"__esModule",{value:!0}),t),"__toCommonJS"),EY={};rxe(EY,{RestError:()=>sxe,isRestError:()=>oxe});IY.exports=ixe(EY);var BY=Yc(),sxe=BY.RestError;function oxe(t){return(0,BY.isRestError)(t)}o(oxe,"isRestError")});var jN=g((i$e,wY)=>{var zN=Object.defineProperty,axe=Object.getOwnPropertyDescriptor,cxe=Object.getOwnPropertyNames,lxe=Object.prototype.hasOwnProperty,Axe=o((t,e)=>{for(var r in e)zN(t,r,{get:e[r],enumerable:!0})},"__export"),uxe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of cxe(e))!lxe.call(t,i)&&i!==r&&zN(t,i,{get:()=>e[i],enumerable:!(n=axe(e,i))||n.enumerable});return t},"__copyProps"),dxe=o(t=>uxe(zN({},"__esModule",{value:!0}),t),"__toCommonJS"),bY={};Axe(bY,{tracingPolicy:()=>yxe,tracingPolicyName:()=>QY});wY.exports=dxe(bY);var pxe=qN(),hxe=Of(),fxe=nN(),Vf=vu(),Tu=pt(),mxe=Jf(),gxe=Pu(),QY="tracingPolicy";function yxe(t={}){let e=(0,fxe.getUserAgentValue)(t.userAgentPrefix),r=new gxe.Sanitizer({additionalAllowedQueryParameters:t.additionalAllowedQueryParameters}),n=Cxe();return{name:QY,async sendRequest(i,s){if(!n)return s(i);let a=await e,c={"http.url":r.sanitizeUrl(i.url),"http.method":i.method,"http.user_agent":a,requestId:i.requestId};a&&(c["http.user_agent"]=a);let{span:l,tracingContext:A}=Exe(n,i,c)??{};if(!l||!A)return s(i);try{let u=await n.withContext(A,s,i);return Ixe(l,u),u}catch(u){throw Bxe(l,u),u}}}}o(yxe,"tracingPolicy");function Cxe(){try{return(0,pxe.createTracingClient)({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:hxe.SDK_VERSION})}catch(t){Vf.logger.warning(`Error when creating the TracingClient: ${(0,Tu.getErrorMessage)(t)}`);return}}o(Cxe,"tryCreateTracingClient");function Exe(t,e,r){try{let{span:n,updatedOptions:i}=t.startSpan(`HTTP ${e.method}`,{tracingOptions:e.tracingOptions},{spanKind:"client",spanAttributes:r});if(!n.isRecording()){n.end();return}let s=t.createRequestHeaders(i.tracingOptions.tracingContext);for(let[a,c]of Object.entries(s))e.headers.set(a,c);return{span:n,tracingContext:i.tracingOptions.tracingContext}}catch(n){Vf.logger.warning(`Skipping creating a tracing span due to an error: ${(0,Tu.getErrorMessage)(n)}`);return}}o(Exe,"tryCreateSpan");function Bxe(t,e){try{t.setStatus({status:"error",error:(0,Tu.isError)(e)?e:void 0}),(0,mxe.isRestError)(e)&&e.statusCode&&t.setAttribute("http.status_code",e.statusCode),t.end()}catch(r){Vf.logger.warning(`Skipping tracing span processing due to an error: ${(0,Tu.getErrorMessage)(r)}`)}}o(Bxe,"tryProcessError");function Ixe(t,e){try{t.setAttribute("http.status_code",e.status);let r=e.headers.get("x-ms-request-id");r&&t.setAttribute("serviceRequestId",r),e.status>=400&&t.setStatus({status:"error"}),t.end()}catch(r){Vf.logger.warning(`Skipping tracing span processing due to an error: ${(0,Tu.getErrorMessage)(r)}`)}}o(Ixe,"tryProcessResponse")});var YN=g((o$e,xY)=>{var GN=Object.defineProperty,bxe=Object.getOwnPropertyDescriptor,Qxe=Object.getOwnPropertyNames,wxe=Object.prototype.hasOwnProperty,Nxe=o((t,e)=>{for(var r in e)GN(t,r,{get:e[r],enumerable:!0})},"__export"),xxe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Qxe(e))!wxe.call(t,i)&&i!==r&&GN(t,i,{get:()=>e[i],enumerable:!(n=bxe(e,i))||n.enumerable});return t},"__copyProps"),Sxe=o(t=>xxe(GN({},"__esModule",{value:!0}),t),"__toCommonJS"),NY={};Nxe(NY,{wrapAbortSignalLike:()=>Rxe});xY.exports=Sxe(NY);function Rxe(t){if(t instanceof AbortSignal)return{abortSignal:t};if(t.aborted)return{abortSignal:AbortSignal.abort(t.reason)};let e=new AbortController,r=!0;function n(){r&&(t.removeEventListener("abort",i),r=!1)}o(n,"cleanup");function i(){e.abort(t.reason),n()}return o(i,"listener"),t.addEventListener("abort",i),{abortSignal:e.signal,cleanup:n}}o(Rxe,"wrapAbortSignalLike")});var vY=g((c$e,_Y)=>{var JN=Object.defineProperty,_xe=Object.getOwnPropertyDescriptor,vxe=Object.getOwnPropertyNames,Pxe=Object.prototype.hasOwnProperty,Dxe=o((t,e)=>{for(var r in e)JN(t,r,{get:e[r],enumerable:!0})},"__export"),Txe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of vxe(e))!Pxe.call(t,i)&&i!==r&&JN(t,i,{get:()=>e[i],enumerable:!(n=_xe(e,i))||n.enumerable});return t},"__copyProps"),Oxe=o(t=>Txe(JN({},"__esModule",{value:!0}),t),"__toCommonJS"),SY={};Dxe(SY,{wrapAbortSignalLikePolicy:()=>kxe,wrapAbortSignalLikePolicyName:()=>RY});_Y.exports=Oxe(SY);var Mxe=YN(),RY="wrapAbortSignalLikePolicy";function kxe(){return{name:RY,sendRequest:async(t,e)=>{if(!t.abortSignal)return e(t);let{abortSignal:r,cleanup:n}=(0,Mxe.wrapAbortSignalLike)(t.abortSignal);t.abortSignal=r;try{return await e(t)}finally{n?.()}}}}o(kxe,"wrapAbortSignalLikePolicy")});var MY=g((A$e,OY)=>{var VN=Object.defineProperty,Lxe=Object.getOwnPropertyDescriptor,Uxe=Object.getOwnPropertyNames,Fxe=Object.prototype.hasOwnProperty,qxe=o((t,e)=>{for(var r in e)VN(t,r,{get:e[r],enumerable:!0})},"__export"),Hxe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Uxe(e))!Fxe.call(t,i)&&i!==r&&VN(t,i,{get:()=>e[i],enumerable:!(n=Lxe(e,i))||n.enumerable});return t},"__copyProps"),zxe=o(t=>Hxe(VN({},"__esModule",{value:!0}),t),"__toCommonJS"),TY={};qxe(TY,{createPipelineFromOptions:()=>nSe});OY.exports=zxe(TY);var jxe=$w(),Gxe=qw(),Yxe=Xw(),Jxe=sN(),PY=BN(),Vxe=bN(),Wxe=wN(),$xe=xN(),DY=pt(),Kxe=_N(),Xxe=PN(),Zxe=TN(),eSe=MN(),tSe=jN(),rSe=vY();function nSe(t){let e=(0,Gxe.createEmptyPipeline)();return DY.isNodeLike&&(t.agent&&e.addPolicy((0,Zxe.agentPolicy)(t.agent)),t.tlsOptions&&e.addPolicy((0,eSe.tlsPolicy)(t.tlsOptions)),e.addPolicy((0,Kxe.proxyPolicy)(t.proxyOptions)),e.addPolicy((0,Vxe.decompressResponsePolicy)())),e.addPolicy((0,rSe.wrapAbortSignalLikePolicy)()),e.addPolicy((0,$xe.formDataPolicy)(),{beforePolicies:[PY.multipartPolicyName]}),e.addPolicy((0,Jxe.userAgentPolicy)(t.userAgentOptions)),e.addPolicy((0,Xxe.setClientRequestIdPolicy)(t.telemetryOptions?.clientRequestIdHeaderName)),e.addPolicy((0,PY.multipartPolicy)(),{afterPhase:"Deserialize"}),e.addPolicy((0,Wxe.defaultRetryPolicy)(t.retryOptions),{phase:"Retry"}),e.addPolicy((0,tSe.tracingPolicy)({...t.userAgentOptions,...t.loggingOptions}),{afterPhase:"Retry"}),DY.isNodeLike&&e.addPolicy((0,Yxe.redirectPolicy)(t.redirectOptions),{afterPhase:"Retry"}),e.addPolicy((0,jxe.logPolicy)(t.loggingOptions),{afterPhase:"Sign"}),e}o(nSe,"createPipelineFromOptions")});var UY=g((d$e,LY)=>{var WN=Object.defineProperty,iSe=Object.getOwnPropertyDescriptor,sSe=Object.getOwnPropertyNames,oSe=Object.prototype.hasOwnProperty,aSe=o((t,e)=>{for(var r in e)WN(t,r,{get:e[r],enumerable:!0})},"__export"),cSe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of sSe(e))!oSe.call(t,i)&&i!==r&&WN(t,i,{get:()=>e[i],enumerable:!(n=iSe(e,i))||n.enumerable});return t},"__copyProps"),lSe=o(t=>cSe(WN({},"__esModule",{value:!0}),t),"__toCommonJS"),kY={};aSe(kY,{createDefaultHttpClient:()=>dSe});LY.exports=lSe(kY);var ASe=Yc(),uSe=YN();function dSe(){let t=(0,ASe.createDefaultHttpClient)();return{async sendRequest(e){let{abortSignal:r,cleanup:n}=e.abortSignal?(0,uSe.wrapAbortSignalLike)(e.abortSignal):{};try{return e.abortSignal=r,await t.sendRequest(e)}finally{n?.()}}}}o(dSe,"createDefaultHttpClient")});var HY=g((h$e,qY)=>{var $N=Object.defineProperty,pSe=Object.getOwnPropertyDescriptor,hSe=Object.getOwnPropertyNames,fSe=Object.prototype.hasOwnProperty,mSe=o((t,e)=>{for(var r in e)$N(t,r,{get:e[r],enumerable:!0})},"__export"),gSe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of hSe(e))!fSe.call(t,i)&&i!==r&&$N(t,i,{get:()=>e[i],enumerable:!(n=pSe(e,i))||n.enumerable});return t},"__copyProps"),ySe=o(t=>gSe($N({},"__esModule",{value:!0}),t),"__toCommonJS"),FY={};mSe(FY,{createHttpHeaders:()=>ESe});qY.exports=ySe(FY);var CSe=Yc();function ESe(t){return(0,CSe.createHttpHeaders)(t)}o(ESe,"createHttpHeaders")});var GY=g((m$e,jY)=>{var KN=Object.defineProperty,BSe=Object.getOwnPropertyDescriptor,ISe=Object.getOwnPropertyNames,bSe=Object.prototype.hasOwnProperty,QSe=o((t,e)=>{for(var r in e)KN(t,r,{get:e[r],enumerable:!0})},"__export"),wSe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of ISe(e))!bSe.call(t,i)&&i!==r&&KN(t,i,{get:()=>e[i],enumerable:!(n=BSe(e,i))||n.enumerable});return t},"__copyProps"),NSe=o(t=>wSe(KN({},"__esModule",{value:!0}),t),"__toCommonJS"),zY={};QSe(zY,{createPipelineRequest:()=>SSe});jY.exports=NSe(zY);var xSe=Yc();function SSe(t){return(0,xSe.createPipelineRequest)(t)}o(SSe,"createPipelineRequest")});var WY=g((y$e,VY)=>{var XN=Object.defineProperty,RSe=Object.getOwnPropertyDescriptor,_Se=Object.getOwnPropertyNames,vSe=Object.prototype.hasOwnProperty,PSe=o((t,e)=>{for(var r in e)XN(t,r,{get:e[r],enumerable:!0})},"__export"),DSe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of _Se(e))!vSe.call(t,i)&&i!==r&&XN(t,i,{get:()=>e[i],enumerable:!(n=RSe(e,i))||n.enumerable});return t},"__copyProps"),TSe=o(t=>DSe(XN({},"__esModule",{value:!0}),t),"__toCommonJS"),YY={};PSe(YY,{exponentialRetryPolicy:()=>MSe,exponentialRetryPolicyName:()=>OSe});VY.exports=TSe(YY);var JY=vr(),OSe=JY.exponentialRetryPolicyName;function MSe(t={}){return(0,JY.exponentialRetryPolicy)(t)}o(MSe,"exponentialRetryPolicy")});var ZY=g((E$e,XY)=>{var ZN=Object.defineProperty,kSe=Object.getOwnPropertyDescriptor,LSe=Object.getOwnPropertyNames,USe=Object.prototype.hasOwnProperty,FSe=o((t,e)=>{for(var r in e)ZN(t,r,{get:e[r],enumerable:!0})},"__export"),qSe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of LSe(e))!USe.call(t,i)&&i!==r&&ZN(t,i,{get:()=>e[i],enumerable:!(n=kSe(e,i))||n.enumerable});return t},"__copyProps"),HSe=o(t=>qSe(ZN({},"__esModule",{value:!0}),t),"__toCommonJS"),$Y={};FSe($Y,{systemErrorRetryPolicy:()=>jSe,systemErrorRetryPolicyName:()=>zSe});XY.exports=HSe($Y);var KY=vr(),zSe=KY.systemErrorRetryPolicyName;function jSe(t={}){return(0,KY.systemErrorRetryPolicy)(t)}o(jSe,"systemErrorRetryPolicy")});var nJ=g((I$e,rJ)=>{var e0=Object.defineProperty,GSe=Object.getOwnPropertyDescriptor,YSe=Object.getOwnPropertyNames,JSe=Object.prototype.hasOwnProperty,VSe=o((t,e)=>{for(var r in e)e0(t,r,{get:e[r],enumerable:!0})},"__export"),WSe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of YSe(e))!JSe.call(t,i)&&i!==r&&e0(t,i,{get:()=>e[i],enumerable:!(n=GSe(e,i))||n.enumerable});return t},"__copyProps"),$Se=o(t=>WSe(e0({},"__esModule",{value:!0}),t),"__toCommonJS"),eJ={};VSe(eJ,{throttlingRetryPolicy:()=>XSe,throttlingRetryPolicyName:()=>KSe});rJ.exports=$Se(eJ);var tJ=vr(),KSe=tJ.throttlingRetryPolicyName;function XSe(t={}){return(0,tJ.throttlingRetryPolicy)(t)}o(XSe,"throttlingRetryPolicy")});var oJ=g((Q$e,sJ)=>{var t0=Object.defineProperty,ZSe=Object.getOwnPropertyDescriptor,eRe=Object.getOwnPropertyNames,tRe=Object.prototype.hasOwnProperty,rRe=o((t,e)=>{for(var r in e)t0(t,r,{get:e[r],enumerable:!0})},"__export"),nRe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of eRe(e))!tRe.call(t,i)&&i!==r&&t0(t,i,{get:()=>e[i],enumerable:!(n=ZSe(e,i))||n.enumerable});return t},"__copyProps"),iRe=o(t=>nRe(t0({},"__esModule",{value:!0}),t),"__toCommonJS"),iJ={};rRe(iJ,{retryPolicy:()=>lRe});sJ.exports=iRe(iJ);var sRe=Jc(),oRe=Of(),aRe=vr(),cRe=(0,sRe.createClientLogger)("core-rest-pipeline retryPolicy");function lRe(t,e={maxRetries:oRe.DEFAULT_RETRY_POLICY_COUNT}){return(0,aRe.retryPolicy)(t,{logger:cRe,...e})}o(lRe,"retryPolicy")});var n0=g((N$e,lJ)=>{var r0=Object.defineProperty,ARe=Object.getOwnPropertyDescriptor,uRe=Object.getOwnPropertyNames,dRe=Object.prototype.hasOwnProperty,pRe=o((t,e)=>{for(var r in e)r0(t,r,{get:e[r],enumerable:!0})},"__export"),hRe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of uRe(e))!dRe.call(t,i)&&i!==r&&r0(t,i,{get:()=>e[i],enumerable:!(n=ARe(e,i))||n.enumerable});return t},"__copyProps"),fRe=o(t=>hRe(r0({},"__esModule",{value:!0}),t),"__toCommonJS"),aJ={};pRe(aJ,{DEFAULT_CYCLER_OPTIONS:()=>cJ,createTokenCycler:()=>yRe});lJ.exports=fRe(aJ);var mRe=pt(),cJ={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:1e3*60*2};async function gRe(t,e,r){async function n(){if(Date.now()t.getToken(l,A),"tryGetAccessToken"),s.retryIntervalInMs,n?.expiresOnTimestamp??Date.now()).then(d=>(r=null,n=d,i=A.tenantId,n)).catch(d=>{throw r=null,n=null,i=void 0,d})),r}return o(c,"refresh"),async(l,A)=>{let u=!!A.claims,d=i!==A.tenantId;return u&&(n=null),d||u||a.mustRefresh?c(l,A):(a.shouldRefresh&&c(l,A),n)}}o(yRe,"createTokenCycler")});var gJ=g((S$e,mJ)=>{var i0=Object.defineProperty,CRe=Object.getOwnPropertyDescriptor,ERe=Object.getOwnPropertyNames,BRe=Object.prototype.hasOwnProperty,IRe=o((t,e)=>{for(var r in e)i0(t,r,{get:e[r],enumerable:!0})},"__export"),bRe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of ERe(e))!BRe.call(t,i)&&i!==r&&i0(t,i,{get:()=>e[i],enumerable:!(n=CRe(e,i))||n.enumerable});return t},"__copyProps"),QRe=o(t=>bRe(i0({},"__esModule",{value:!0}),t),"__toCommonJS"),pJ={};IRe(pJ,{bearerTokenAuthenticationPolicy:()=>RRe,bearerTokenAuthenticationPolicyName:()=>hJ,parseChallenges:()=>fJ});mJ.exports=QRe(pJ);var wRe=n0(),NRe=vu(),xRe=Jf(),hJ="bearerTokenAuthenticationPolicy";async function Wf(t,e){try{return[await e(t),void 0]}catch(r){if((0,xRe.isRestError)(r)&&r.response)return[r.response,r];throw r}}o(Wf,"trySendRequest");async function SRe(t){let{scopes:e,getAccessToken:r,request:n}=t,i={abortSignal:n.abortSignal,tracingOptions:n.tracingOptions,enableCae:!0},s=await r(e,i);s&&t.request.headers.set("Authorization",`Bearer ${s.token}`)}o(SRe,"defaultAuthorizeRequest");function AJ(t){return t.status===401&&t.headers.has("WWW-Authenticate")}o(AJ,"isChallengeResponse");async function uJ(t,e){let{scopes:r}=t,n=await t.getAccessToken(r,{enableCae:!0,claims:e});return n?(t.request.headers.set("Authorization",`${n.tokenType??"Bearer"} ${n.token}`),!0):!1}o(uJ,"authorizeRequestOnCaeChallenge");function RRe(t){let{credential:e,scopes:r,challengeCallbacks:n}=t,i=t.logger||NRe.logger,s={authorizeRequest:n?.authorizeRequest?.bind(n)??SRe,authorizeRequestOnChallenge:n?.authorizeRequestOnChallenge?.bind(n)},a=e?(0,wRe.createTokenCycler)(e):()=>Promise.resolve(null);return{name:hJ,async sendRequest(c,l){if(!c.url.toLowerCase().startsWith("https://"))throw new Error("Bearer token authentication is not permitted for non-TLS protected (non-https) URLs.");await s.authorizeRequest({scopes:Array.isArray(r)?r:[r],request:c,getAccessToken:a,logger:i});let A,u,d;if([A,u]=await Wf(c,l),AJ(A)){let f=dJ(A.headers.get("WWW-Authenticate"));if(f){let m;try{m=atob(f)}catch{return i.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${f}`),A}d=await uJ({scopes:Array.isArray(r)?r:[r],response:A,request:c,getAccessToken:a,logger:i},m),d&&([A,u]=await Wf(c,l))}else if(s.authorizeRequestOnChallenge&&(d=await s.authorizeRequestOnChallenge({scopes:Array.isArray(r)?r:[r],request:c,response:A,getAccessToken:a,logger:i}),d&&([A,u]=await Wf(c,l)),AJ(A)&&(f=dJ(A.headers.get("WWW-Authenticate")),f))){let m;try{m=atob(f)}catch{return i.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${f}`),A}d=await uJ({scopes:Array.isArray(r)?r:[r],response:A,request:c,getAccessToken:a,logger:i},m),d&&([A,u]=await Wf(c,l))}}if(u)throw u;return A}}}o(RRe,"bearerTokenAuthenticationPolicy");function fJ(t){let e=/(\w+)\s+((?:\w+=(?:"[^"]*"|[^,]*),?\s*)+)/g,r=/(\w+)="([^"]*)"/g,n=[],i;for(;(i=e.exec(t))!==null;){let s=i[1],a=i[2],c={},l;for(;(l=r.exec(a))!==null;)c[l[1]]=l[2];n.push({scheme:s,params:c})}return n}o(fJ,"parseChallenges");function dJ(t){return t?fJ(t).find(r=>r.scheme==="Bearer"&&r.params.claims&&r.params.error==="insufficient_claims")?.params.claims:void 0}o(dJ,"getCaeChallengeClaims")});var BJ=g((_$e,EJ)=>{var s0=Object.defineProperty,_Re=Object.getOwnPropertyDescriptor,vRe=Object.getOwnPropertyNames,PRe=Object.prototype.hasOwnProperty,DRe=o((t,e)=>{for(var r in e)s0(t,r,{get:e[r],enumerable:!0})},"__export"),TRe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of vRe(e))!PRe.call(t,i)&&i!==r&&s0(t,i,{get:()=>e[i],enumerable:!(n=_Re(e,i))||n.enumerable});return t},"__copyProps"),ORe=o(t=>TRe(s0({},"__esModule",{value:!0}),t),"__toCommonJS"),yJ={};DRe(yJ,{ndJsonPolicy:()=>MRe,ndJsonPolicyName:()=>CJ});EJ.exports=ORe(yJ);var CJ="ndJsonPolicy";function MRe(){return{name:CJ,async sendRequest(t,e){if(typeof t.body=="string"&&t.body.startsWith("[")){let r=JSON.parse(t.body);Array.isArray(r)&&(t.body=r.map(n=>JSON.stringify(n)+` -`).join(""))}return e(t)}}}o(MRe,"ndJsonPolicy")});var wJ=g((P$e,QJ)=>{var a0=Object.defineProperty,kRe=Object.getOwnPropertyDescriptor,LRe=Object.getOwnPropertyNames,URe=Object.prototype.hasOwnProperty,FRe=o((t,e)=>{for(var r in e)a0(t,r,{get:e[r],enumerable:!0})},"__export"),qRe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of LRe(e))!URe.call(t,i)&&i!==r&&a0(t,i,{get:()=>e[i],enumerable:!(n=kRe(e,i))||n.enumerable});return t},"__copyProps"),HRe=o(t=>qRe(a0({},"__esModule",{value:!0}),t),"__toCommonJS"),bJ={};FRe(bJ,{auxiliaryAuthenticationHeaderPolicy:()=>YRe,auxiliaryAuthenticationHeaderPolicyName:()=>o0});QJ.exports=HRe(bJ);var zRe=n0(),jRe=vu(),o0="auxiliaryAuthenticationHeaderPolicy",IJ="x-ms-authorization-auxiliary";async function GRe(t){let{scopes:e,getAccessToken:r,request:n}=t,i={abortSignal:n.abortSignal,tracingOptions:n.tracingOptions};return(await r(e,i))?.token??""}o(GRe,"sendAuthorizeRequest");function YRe(t){let{credentials:e,scopes:r}=t,n=t.logger||jRe.logger,i=new WeakMap;return{name:o0,async sendRequest(s,a){if(!s.url.toLowerCase().startsWith("https://"))throw new Error("Bearer token authentication for auxiliary header is not permitted for non-TLS protected (non-https) URLs.");if(!e||e.length===0)return n.info(`${o0} header will not be set due to empty credentials.`),a(s);let c=[];for(let A of e){let u=i.get(A);u||(u=(0,zRe.createTokenCycler)(A),i.set(A,u)),c.push(GRe({scopes:Array.isArray(r)?r:[r],request:s,getAccessToken:u,logger:n}))}let l=(await Promise.all(c)).filter(A=>!!A);return l.length===0?(n.warning(`None of the auxiliary tokens are valid. ${IJ} header will not be set.`),a(s)):(s.headers.set(IJ,l.map(A=>`Bearer ${A}`).join(", ")),a(s))}}}o(YRe,"auxiliaryAuthenticationHeaderPolicy")});var Ot=g((T$e,GJ)=>{var l0=Object.defineProperty,JRe=Object.getOwnPropertyDescriptor,VRe=Object.getOwnPropertyNames,WRe=Object.prototype.hasOwnProperty,$Re=o((t,e)=>{for(var r in e)l0(t,r,{get:e[r],enumerable:!0})},"__export"),KRe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of VRe(e))!WRe.call(t,i)&&i!==r&&l0(t,i,{get:()=>e[i],enumerable:!(n=JRe(e,i))||n.enumerable});return t},"__copyProps"),XRe=o(t=>KRe(l0({},"__esModule",{value:!0}),t),"__toCommonJS"),jJ={};$Re(jJ,{RestError:()=>NJ.RestError,agentPolicy:()=>HJ.agentPolicy,agentPolicyName:()=>HJ.agentPolicyName,auxiliaryAuthenticationHeaderPolicy:()=>qJ.auxiliaryAuthenticationHeaderPolicy,auxiliaryAuthenticationHeaderPolicyName:()=>qJ.auxiliaryAuthenticationHeaderPolicyName,bearerTokenAuthenticationPolicy:()=>UJ.bearerTokenAuthenticationPolicy,bearerTokenAuthenticationPolicyName:()=>UJ.bearerTokenAuthenticationPolicyName,createDefaultHttpClient:()=>t_e.createDefaultHttpClient,createEmptyPipeline:()=>ZRe.createEmptyPipeline,createFile:()=>zJ.createFile,createFileFromStream:()=>zJ.createFileFromStream,createHttpHeaders:()=>r_e.createHttpHeaders,createPipelineFromOptions:()=>e_e.createPipelineFromOptions,createPipelineRequest:()=>n_e.createPipelineRequest,decompressResponsePolicy:()=>xJ.decompressResponsePolicy,decompressResponsePolicyName:()=>xJ.decompressResponsePolicyName,defaultRetryPolicy:()=>s_e.defaultRetryPolicy,exponentialRetryPolicy:()=>SJ.exponentialRetryPolicy,exponentialRetryPolicyName:()=>SJ.exponentialRetryPolicyName,formDataPolicy:()=>LJ.formDataPolicy,formDataPolicyName:()=>LJ.formDataPolicyName,getDefaultProxySettings:()=>c0.getDefaultProxySettings,isRestError:()=>NJ.isRestError,logPolicy:()=>_J.logPolicy,logPolicyName:()=>_J.logPolicyName,multipartPolicy:()=>vJ.multipartPolicy,multipartPolicyName:()=>vJ.multipartPolicyName,ndJsonPolicy:()=>FJ.ndJsonPolicy,ndJsonPolicyName:()=>FJ.ndJsonPolicyName,proxyPolicy:()=>c0.proxyPolicy,proxyPolicyName:()=>c0.proxyPolicyName,redirectPolicy:()=>PJ.redirectPolicy,redirectPolicyName:()=>PJ.redirectPolicyName,retryPolicy:()=>i_e.retryPolicy,setClientRequestIdPolicy:()=>RJ.setClientRequestIdPolicy,setClientRequestIdPolicyName:()=>RJ.setClientRequestIdPolicyName,systemErrorRetryPolicy:()=>DJ.systemErrorRetryPolicy,systemErrorRetryPolicyName:()=>DJ.systemErrorRetryPolicyName,throttlingRetryPolicy:()=>TJ.throttlingRetryPolicy,throttlingRetryPolicyName:()=>TJ.throttlingRetryPolicyName,tlsPolicy:()=>kJ.tlsPolicy,tlsPolicyName:()=>kJ.tlsPolicyName,tracingPolicy:()=>OJ.tracingPolicy,tracingPolicyName:()=>OJ.tracingPolicyName,userAgentPolicy:()=>MJ.userAgentPolicy,userAgentPolicyName:()=>MJ.userAgentPolicyName});GJ.exports=XRe(jJ);var ZRe=qw(),e_e=MY(),t_e=UY(),r_e=HY(),n_e=GY(),NJ=Jf(),xJ=bN(),SJ=WY(),RJ=PN(),_J=$w(),vJ=BN(),c0=_N(),PJ=Xw(),DJ=ZY(),TJ=nJ(),i_e=oJ(),OJ=jN(),s_e=wN(),MJ=sN(),kJ=MN(),LJ=xN(),UJ=gJ(),FJ=BJ(),qJ=wJ(),HJ=TN(),zJ=CN()});var YJ=g($f=>{"use strict";Object.defineProperty($f,"__esModule",{value:!0});$f.AzureKeyCredential=void 0;var A0=class{static{o(this,"AzureKeyCredential")}_key;get key(){return this._key}constructor(e){if(!e)throw new Error("key must be a non-empty string");this._key=e}update(e){this._key=e}};$f.AzureKeyCredential=A0});var JJ=g(u0=>{"use strict";Object.defineProperty(u0,"__esModule",{value:!0});u0.isKeyCredential=a_e;var o_e=pt();function a_e(t){return(0,o_e.isObjectWithProperties)(t,["key"])&&typeof t.key=="string"}o(a_e,"isKeyCredential")});var VJ=g(Ou=>{"use strict";Object.defineProperty(Ou,"__esModule",{value:!0});Ou.AzureNamedKeyCredential=void 0;Ou.isNamedKeyCredential=l_e;var c_e=pt(),d0=class{static{o(this,"AzureNamedKeyCredential")}_key;_name;get key(){return this._key}get name(){return this._name}constructor(e,r){if(!e||!r)throw new TypeError("name and key must be non-empty strings");this._name=e,this._key=r}update(e,r){if(!e||!r)throw new TypeError("newName and newKey must be non-empty strings");this._name=e,this._key=r}};Ou.AzureNamedKeyCredential=d0;function l_e(t){return(0,c_e.isObjectWithProperties)(t,["name","key"])&&typeof t.key=="string"&&typeof t.name=="string"}o(l_e,"isNamedKeyCredential")});var WJ=g(Mu=>{"use strict";Object.defineProperty(Mu,"__esModule",{value:!0});Mu.AzureSASCredential=void 0;Mu.isSASCredential=u_e;var A_e=pt(),p0=class{static{o(this,"AzureSASCredential")}_signature;get signature(){return this._signature}constructor(e){if(!e)throw new Error("shared access signature must be a non-empty string");this._signature=e}update(e){if(!e)throw new Error("shared access signature must be a non-empty string");this._signature=e}};Mu.AzureSASCredential=p0;function u_e(t){return(0,A_e.isObjectWithProperties)(t,["signature"])&&typeof t.signature=="string"}o(u_e,"isSASCredential")});var $J=g(ku=>{"use strict";Object.defineProperty(ku,"__esModule",{value:!0});ku.isBearerToken=d_e;ku.isPopToken=p_e;ku.isTokenCredential=h_e;function d_e(t){return!t.tokenType||t.tokenType==="Bearer"}o(d_e,"isBearerToken");function p_e(t){return t.tokenType==="pop"}o(p_e,"isPopToken");function h_e(t){let e=t;return e&&typeof e.getToken=="function"&&(e.signRequest===void 0||e.getToken.length>0)}o(h_e,"isTokenCredential")});var Kc=g(sr=>{"use strict";Object.defineProperty(sr,"__esModule",{value:!0});sr.isTokenCredential=sr.isSASCredential=sr.AzureSASCredential=sr.isNamedKeyCredential=sr.AzureNamedKeyCredential=sr.isKeyCredential=sr.AzureKeyCredential=void 0;var f_e=YJ();Object.defineProperty(sr,"AzureKeyCredential",{enumerable:!0,get:function(){return f_e.AzureKeyCredential}});var m_e=JJ();Object.defineProperty(sr,"isKeyCredential",{enumerable:!0,get:function(){return m_e.isKeyCredential}});var KJ=VJ();Object.defineProperty(sr,"AzureNamedKeyCredential",{enumerable:!0,get:function(){return KJ.AzureNamedKeyCredential}});Object.defineProperty(sr,"isNamedKeyCredential",{enumerable:!0,get:function(){return KJ.isNamedKeyCredential}});var XJ=WJ();Object.defineProperty(sr,"AzureSASCredential",{enumerable:!0,get:function(){return XJ.AzureSASCredential}});Object.defineProperty(sr,"isSASCredential",{enumerable:!0,get:function(){return XJ.isSASCredential}});var g_e=$J();Object.defineProperty(sr,"isTokenCredential",{enumerable:!0,get:function(){return g_e.isTokenCredential}})});var h0=g(Ws=>{"use strict";Object.defineProperty(Ws,"__esModule",{value:!0});Ws.disableKeepAlivePolicyName=void 0;Ws.createDisableKeepAlivePolicy=y_e;Ws.pipelineContainsDisableKeepAlivePolicy=C_e;Ws.disableKeepAlivePolicyName="DisableKeepAlivePolicy";function y_e(){return{name:Ws.disableKeepAlivePolicyName,async sendRequest(t,e){return t.disableKeepAlive=!0,e(t)}}}o(y_e,"createDisableKeepAlivePolicy");function C_e(t){return t.getOrderedPolicies().some(e=>e.name===Ws.disableKeepAlivePolicyName)}o(C_e,"pipelineContainsDisableKeepAlivePolicy")});var NV={};Pd(NV,{__addDisposableResource:()=>bV,__assign:()=>Kf,__asyncDelegator:()=>fV,__asyncGenerator:()=>hV,__asyncValues:()=>mV,__await:()=>Xc,__awaiter:()=>cV,__classPrivateFieldGet:()=>EV,__classPrivateFieldIn:()=>IV,__classPrivateFieldSet:()=>BV,__createBinding:()=>Zf,__decorate:()=>tV,__disposeResources:()=>QV,__esDecorate:()=>nV,__exportStar:()=>AV,__extends:()=>ZJ,__generator:()=>lV,__importDefault:()=>CV,__importStar:()=>yV,__makeTemplateObject:()=>gV,__metadata:()=>aV,__param:()=>rV,__propKey:()=>sV,__read:()=>g0,__rest:()=>eV,__rewriteRelativeImportExtension:()=>wV,__runInitializers:()=>iV,__setFunctionName:()=>oV,__spread:()=>uV,__spreadArray:()=>pV,__spreadArrays:()=>dV,__values:()=>Xf,default:()=>I_e});function ZJ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");f0(t,e);function r(){this.constructor=t}o(r,"__"),t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}function eV(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(t);i=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s}function rV(t,e){return function(r,n){e(r,n,t)}}function nV(t,e,r,n,i,s){function a(w){if(w!==void 0&&typeof w!="function")throw new TypeError("Function expected");return w}o(a,"accept");for(var c=n.kind,l=c==="getter"?"get":c==="setter"?"set":"value",A=!e&&t?n.static?t:t.prototype:null,u=e||(A?Object.getOwnPropertyDescriptor(A,n.name):{}),d,f=!1,m=r.length-1;m>=0;m--){var C={};for(var Q in n)C[Q]=Q==="access"?{}:n[Q];for(var Q in n.access)C.access[Q]=n.access[Q];C.addInitializer=function(w){if(f)throw new TypeError("Cannot add initializers after decoration has completed");s.push(a(w||null))};var S=(0,r[m])(c==="accessor"?{get:u.get,set:u.set}:u[l],C);if(c==="accessor"){if(S===void 0)continue;if(S===null||typeof S!="object")throw new TypeError("Object expected");(d=a(S.get))&&(u.get=d),(d=a(S.set))&&(u.set=d),(d=a(S.init))&&i.unshift(d)}else(d=a(S))&&(c==="field"?i.unshift(d):u[l]=d)}A&&Object.defineProperty(A,n.name,u),f=!0}function iV(t,e,r){for(var n=arguments.length>2,i=0;i0&&s[s.length-1])&&(A[0]===6||A[0]===2)){r=0;continue}if(A[0]===3&&(!s||A[1]>s[0]&&A[1]=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function g0(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,s=[],a;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)s.push(i.value)}catch(c){a={error:c}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(a)throw a.error}}return s}function uV(){for(var t=[],e=0;e1||l(m,Q)})},C&&(i[m]=C(i[m])))}function l(m,C){try{A(n[m](C))}catch(Q){f(s[0][3],Q)}}function A(m){m.value instanceof Xc?Promise.resolve(m.value.v).then(u,d):f(s[0][2],m)}function u(m){l("next",m)}function d(m){l("throw",m)}function f(m,C){m(C),s.shift(),s.length&&l(s[0][0],s[0][1])}}function fV(t){var e,r;return e={},n("next"),n("throw",function(i){throw i}),n("return"),e[Symbol.iterator]=function(){return this},e;function n(i,s){e[i]=t[i]?function(a){return(r=!r)?{value:Xc(t[i](a)),done:!1}:s?s(a):a}:s}}function mV(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof Xf=="function"?Xf(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(s){r[s]=t[s]&&function(a){return new Promise(function(c,l){a=t[s](a),i(c,l,a.done,a.value)})}}function i(s,a,c,l){Promise.resolve(l).then(function(A){s({value:A,done:c})},a)}}function gV(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function yV(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r=m0(t),n=0;n{f0=o(function(t,e){return f0=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},f0(t,e)},"extendStatics");o(ZJ,"__extends");Kf=o(function(){return Kf=Object.assign||o(function(e){for(var r,n=1,i=arguments.length;n{"use strict";Object.defineProperty(Zc,"__esModule",{value:!0});Zc.encodeString=b_e;Zc.encodeByteArray=Q_e;Zc.decodeString=w_e;Zc.decodeStringToString=N_e;function b_e(t){return Buffer.from(t).toString("base64")}o(b_e,"encodeString");function Q_e(t){return(t instanceof Buffer?t:Buffer.from(t.buffer)).toString("base64")}o(Q_e,"encodeByteArray");function w_e(t){return Buffer.from(t,"base64")}o(w_e,"decodeString");function N_e(t){return Buffer.from(t,"base64").toString()}o(N_e,"decodeStringToString")});var Lu=g(el=>{"use strict";Object.defineProperty(el,"__esModule",{value:!0});el.XML_CHARKEY=el.XML_ATTRKEY=void 0;el.XML_ATTRKEY="$";el.XML_CHARKEY="_"});var C0=g(tl=>{"use strict";Object.defineProperty(tl,"__esModule",{value:!0});tl.isPrimitiveBody=SV;tl.isDuration=S_e;tl.isValidUuid=__e;tl.flattenResponse=P_e;function SV(t,e){return e!=="Composite"&&e!=="Dictionary"&&(typeof t=="string"||typeof t=="number"||typeof t=="boolean"||e?.match(/^(Date|DateTime|DateTimeRfc1123|UnixTime|ByteArray|Base64Url)$/i)!==null||t===void 0||t===null)}o(SV,"isPrimitiveBody");var x_e=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function S_e(t){return x_e.test(t)}o(S_e,"isDuration");var R_e=/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/i;function __e(t){return R_e.test(t)}o(__e,"isValidUuid");function v_e(t){let e={...t.headers,...t.body};return t.hasNullableType&&Object.getOwnPropertyNames(e).length===0?t.shouldWrapBody?{body:null}:null:t.shouldWrapBody?{...t.headers,body:t.body}:e}o(v_e,"handleNullableResponseAndWrappableBody");function P_e(t,e){let r=t.parsedHeaders;if(t.request.method==="HEAD")return{...r,body:t.parsedBody};let n=e&&e.bodyMapper,i=!!n?.nullable,s=n?.type.name;if(s==="Stream")return{...r,blobBody:t.blobBody,readableStreamBody:t.readableStreamBody};let a=s==="Composite"&&n.type.modelProperties||{},c=Object.keys(a).some(l=>a[l].serializedName==="");if(s==="Sequence"||c){let l=t.parsedBody??[];for(let A of Object.keys(a))a[A].serializedName&&(l[A]=t.parsedBody?.[A]);if(r)for(let A of Object.keys(r))l[A]=r[A];return i&&!t.parsedBody&&!r&&Object.getOwnPropertyNames(a).length===0?null:l}return v_e({body:t.parsedBody,headers:r,hasNullableType:i,shouldWrapBody:SV(t.parsedBody,s)})}o(P_e,"flattenResponse")});var Fu=g(Uu=>{"use strict";Object.defineProperty(Uu,"__esModule",{value:!0});Uu.MapperTypeNames=void 0;Uu.createSerializer=T_e;var D_e=(xV(),Zt(NV)),tm=D_e.__importStar(y0()),jt=Lu(),_V=C0(),E0=class{static{o(this,"SerializerImpl")}modelMappers;isXML;constructor(e={},r=!1){this.modelMappers=e,this.isXML=r}validateConstraints(e,r,n){let i=o((s,a)=>{throw new Error(`"${n}" with value "${r}" should satisfy the constraint "${s}": ${a}.`)},"failValidation");if(e.constraints&&r!==void 0&&r!==null){let{ExclusiveMaximum:s,ExclusiveMinimum:a,InclusiveMaximum:c,InclusiveMinimum:l,MaxItems:A,MaxLength:u,MinItems:d,MinLength:f,MultipleOf:m,Pattern:C,UniqueItems:Q}=e.constraints;if(s!==void 0&&r>=s&&i("ExclusiveMaximum",s),a!==void 0&&r<=a&&i("ExclusiveMinimum",a),c!==void 0&&r>c&&i("InclusiveMaximum",c),l!==void 0&&rA&&i("MaxItems",A),u!==void 0&&r.length>u&&i("MaxLength",u),d!==void 0&&r.lengthR.indexOf(S)!==w)&&i("UniqueItems",Q)}}serialize(e,r,n,i={xml:{}}){let s={xml:{rootName:i.xml.rootName??"",includeRoot:i.xml.includeRoot??!1,xmlCharKey:i.xml.xmlCharKey??jt.XML_CHARKEY}},a={},c=e.type.name;n||(n=e.serializedName),c.match(/^Sequence$/i)!==null&&(a=[]),e.isConstant&&(r=e.defaultValue);let{required:l,nullable:A}=e;if(l&&A&&r===void 0)throw new Error(`${n} cannot be undefined.`);if(l&&!A&&r==null)throw new Error(`${n} cannot be null or undefined.`);if(!l&&A===!1&&r===null)throw new Error(`${n} cannot be null.`);return r==null||c.match(/^any$/i)!==null?a=r:c.match(/^(Number|String|Boolean|Object|Stream|Uuid)$/i)!==null?a=F_e(c,n,r):c.match(/^Enum$/i)!==null?a=q_e(n,e.type.allowedValues,r):c.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)!==null?a=j_e(c,r,n):c.match(/^ByteArray$/i)!==null?a=H_e(n,r):c.match(/^Base64Url$/i)!==null?a=z_e(n,r):c.match(/^Sequence$/i)!==null?a=G_e(this,e,r,n,!!this.isXML,s):c.match(/^Dictionary$/i)!==null?a=Y_e(this,e,r,n,!!this.isXML,s):c.match(/^Composite$/i)!==null&&(a=V_e(this,e,r,n,!!this.isXML,s)),a}deserialize(e,r,n,i={xml:{}}){let s={xml:{rootName:i.xml.rootName??"",includeRoot:i.xml.includeRoot??!1,xmlCharKey:i.xml.xmlCharKey??jt.XML_CHARKEY},ignoreUnknownProperties:i.ignoreUnknownProperties??!1};if(r==null)return this.isXML&&e.type.name==="Sequence"&&!e.xmlIsWrapped&&(r=[]),e.defaultValue!==void 0&&(r=e.defaultValue),r;let a,c=e.type.name;if(n||(n=e.serializedName),c.match(/^Composite$/i)!==null)a=$_e(this,e,r,n,s);else{if(this.isXML){let l=s.xml.xmlCharKey;r[jt.XML_ATTRKEY]!==void 0&&r[l]!==void 0&&(r=r[l])}c.match(/^Number$/i)!==null?(a=parseFloat(r),isNaN(a)&&(a=r)):c.match(/^Boolean$/i)!==null?r==="true"?a=!0:r==="false"?a=!1:a=r:c.match(/^(String|Enum|Object|Stream|Uuid|TimeSpan|any)$/i)!==null?a=r:c.match(/^(Date|DateTime|DateTimeRfc1123)$/i)!==null?a=new Date(r):c.match(/^UnixTime$/i)!==null?a=U_e(r):c.match(/^ByteArray$/i)!==null?a=tm.decodeString(r):c.match(/^Base64Url$/i)!==null?a=k_e(r):c.match(/^Sequence$/i)!==null?a=X_e(this,e,r,n,s):c.match(/^Dictionary$/i)!==null&&(a=K_e(this,e,r,n,s))}return e.isConstant&&(a=e.defaultValue),a}};function T_e(t={},e=!1){return new E0(t,e)}o(T_e,"createSerializer");function O_e(t,e){let r=t.length;for(;r-1>=0&&t[r-1]===e;)--r;return t.substr(0,r)}o(O_e,"trimEnd");function M_e(t){if(!t)return;if(!(t instanceof Uint8Array))throw new Error("Please provide an input of type Uint8Array for converting to Base64Url.");let e=tm.encodeByteArray(t);return O_e(e,"=").replace(/\+/g,"-").replace(/\//g,"_")}o(M_e,"bufferToBase64Url");function k_e(t){if(t){if(t&&typeof t.valueOf()!="string")throw new Error("Please provide an input of type string for converting to Uint8Array");return t=t.replace(/-/g,"+").replace(/_/g,"/"),tm.decodeString(t)}}o(k_e,"base64UrlToByteArray");function B0(t){let e=[],r="";if(t){let n=t.split(".");for(let i of n)i.charAt(i.length-1)==="\\"?r+=i.substr(0,i.length-1)+".":(r+=i,e.push(r),r="")}return e}o(B0,"splitSerializeName");function L_e(t){if(t)return typeof t.valueOf()=="string"&&(t=new Date(t)),Math.floor(t.getTime()/1e3)}o(L_e,"dateToUnixTime");function U_e(t){if(t)return new Date(t*1e3)}o(U_e,"unixTimeToDate");function F_e(t,e,r){if(r!=null){if(t.match(/^Number$/i)!==null){if(typeof r!="number")throw new Error(`${e} with value ${r} must be of type number.`)}else if(t.match(/^String$/i)!==null){if(typeof r.valueOf()!="string")throw new Error(`${e} with value "${r}" must be of type string.`)}else if(t.match(/^Uuid$/i)!==null){if(!(typeof r.valueOf()=="string"&&(0,_V.isValidUuid)(r)))throw new Error(`${e} with value "${r}" must be of type string and a valid uuid.`)}else if(t.match(/^Boolean$/i)!==null){if(typeof r!="boolean")throw new Error(`${e} with value ${r} must be of type boolean.`)}else if(t.match(/^Stream$/i)!==null){let n=typeof r;if(n!=="string"&&typeof r.pipe!="function"&&typeof r.tee!="function"&&!(r instanceof ArrayBuffer)&&!ArrayBuffer.isView(r)&&!((typeof Blob=="function"||typeof Blob=="object")&&r instanceof Blob)&&n!=="function")throw new Error(`${e} must be a string, Blob, ArrayBuffer, ArrayBufferView, ReadableStream, or () => ReadableStream.`)}}return r}o(F_e,"serializeBasicTypes");function q_e(t,e,r){if(!e)throw new Error(`Please provide a set of allowedValues to validate ${t} as an Enum Type.`);if(!e.some(i=>typeof i.valueOf()=="string"?i.toLowerCase()===r.toLowerCase():i===r))throw new Error(`${r} is not a valid value for ${t}. The valid values are: ${JSON.stringify(e)}.`);return r}o(q_e,"serializeEnumType");function H_e(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=tm.encodeByteArray(e)}return e}o(H_e,"serializeByteArrayType");function z_e(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=M_e(e)}return e}o(z_e,"serializeBase64UrlType");function j_e(t,e,r){if(e!=null){if(t.match(/^Date$/i)!==null){if(!(e instanceof Date||typeof e.valueOf()=="string"&&!isNaN(Date.parse(e))))throw new Error(`${r} must be an instanceof Date or a string in ISO8601 format.`);e=e instanceof Date?e.toISOString().substring(0,10):new Date(e).toISOString().substring(0,10)}else if(t.match(/^DateTime$/i)!==null){if(!(e instanceof Date||typeof e.valueOf()=="string"&&!isNaN(Date.parse(e))))throw new Error(`${r} must be an instanceof Date or a string in ISO8601 format.`);e=e instanceof Date?e.toISOString():new Date(e).toISOString()}else if(t.match(/^DateTimeRfc1123$/i)!==null){if(!(e instanceof Date||typeof e.valueOf()=="string"&&!isNaN(Date.parse(e))))throw new Error(`${r} must be an instanceof Date or a string in RFC-1123 format.`);e=e instanceof Date?e.toUTCString():new Date(e).toUTCString()}else if(t.match(/^UnixTime$/i)!==null){if(!(e instanceof Date||typeof e.valueOf()=="string"&&!isNaN(Date.parse(e))))throw new Error(`${r} must be an instanceof Date or a string in RFC-1123/ISO8601 format for it to be serialized in UnixTime/Epoch format.`);e=L_e(e)}else if(t.match(/^TimeSpan$/i)!==null&&!(0,_V.isDuration)(e))throw new Error(`${r} must be a string in ISO 8601 format. Instead was "${e}".`)}return e}o(j_e,"serializeDateTypes");function G_e(t,e,r,n,i,s){if(!Array.isArray(r))throw new Error(`${n} must be of type Array.`);let a=e.type.element;if(!a||typeof a!="object")throw new Error(`element" metadata for an Array must be defined in the mapper and it must of type "object" in ${n}.`);a.type.name==="Composite"&&a.type.className&&(a=t.modelMappers[a.type.className]??a);let c=[];for(let l=0;lf!==u)&&(a[u]=t.serialize(l,r[u],n+'["'+u+'"]',s))}return a}return r}o(V_e,"serializeCompositeType");function DV(t,e,r,n){if(!r||!t.xmlNamespace)return e;let s={[t.xmlNamespacePrefix?`xmlns:${t.xmlNamespacePrefix}`:"xmlns"]:t.xmlNamespace};if(["Composite"].includes(t.type.name)){if(e[jt.XML_ATTRKEY])return e;{let c={...e};return c[jt.XML_ATTRKEY]=s,c}}let a={};return a[n.xml.xmlCharKey]=e,a[jt.XML_ATTRKEY]=s,a}o(DV,"getXmlObjectValue");function W_e(t,e){return[jt.XML_ATTRKEY,e.xml.xmlCharKey].includes(t)}o(W_e,"isSpecialXmlProperty");function $_e(t,e,r,n,i){let s=i.xml.xmlCharKey??jt.XML_CHARKEY;em(t,e)&&(e=TV(t,e,r,"serializedName"));let a=PV(t,e,n),c={},l=[];for(let u of Object.keys(a)){let d=a[u],f=B0(a[u].serializedName);l.push(f[0]);let{serializedName:m,xmlName:C,xmlElementName:Q}=d,S=n;m!==""&&m!==void 0&&(S=n+"."+m);let w=d.headerCollectionPrefix;if(w){let R={};for(let T of Object.keys(r))T.startsWith(w)&&(R[T.substring(w.length)]=t.deserialize(d.type.value,r[T],S,i)),l.push(T);c[u]=R}else if(t.isXML)if(d.xmlIsAttribute&&r[jt.XML_ATTRKEY])c[u]=t.deserialize(d,r[jt.XML_ATTRKEY][C],S,i);else if(d.xmlIsMsText)r[s]!==void 0?c[u]=r[s]:typeof r=="string"&&(c[u]=r);else{let R=Q||C||m;if(d.xmlIsWrapped){let L=r[C]?.[Q]??[];c[u]=t.deserialize(d,L,S,i),l.push(C)}else{let T=r[R];c[u]=t.deserialize(d,T,S,i),l.push(R)}}else{let R,T=r,L=0;for(let le of f){if(!T)break;L++,T=T[le]}T===null&&L{for(let f in a)if(B0(a[f].serializedName)[0]===d)return!1;return!0},"isAdditionalProperty");for(let d in r)u(d)&&(c[d]=t.deserialize(A,r[d],n+'["'+d+'"]',i))}else if(r&&!i.ignoreUnknownProperties)for(let u of Object.keys(r))c[u]===void 0&&!l.includes(u)&&!W_e(u,i)&&(c[u]=r[u]);return c}o($_e,"deserializeCompositeType");function K_e(t,e,r,n,i){let s=e.type.value;if(!s||typeof s!="object")throw new Error(`"value" metadata for a Dictionary must be defined in the mapper and it must of type "object" in ${n}`);if(r){let a={};for(let c of Object.keys(r))a[c]=t.deserialize(s,r[c],n,i);return a}return r}o(K_e,"deserializeDictionaryType");function X_e(t,e,r,n,i){let s=e.type.element;if(!s||typeof s!="object")throw new Error(`element" metadata for an Array must be defined in the mapper and it must of type "object" in ${n}`);if(r){Array.isArray(r)||(r=[r]),s.type.name==="Composite"&&s.type.className&&(s=t.modelMappers[s.type.className]??s);let a=[];for(let c=0;c{"use strict";Object.defineProperty(rm,"__esModule",{value:!0});rm.state=void 0;rm.state={operationRequestMap:new WeakMap}});var qu=g(nm=>{"use strict";Object.defineProperty(nm,"__esModule",{value:!0});nm.getOperationArgumentValueFromParameter=LV;nm.getOperationRequestInfo=FV;var MV=OV();function LV(t,e,r){let n=e.parameterPath,i=e.mapper,s;if(typeof n=="string"&&(n=[n]),Array.isArray(n)){if(n.length>0)if(i.isConstant)s=i.defaultValue;else{let a=kV(t,n);!a.propertyFound&&r&&(a=kV(r,n));let c=!1;a.propertyFound||(c=i.required||n[0]==="options"&&n.length===2),s=c?i.defaultValue:a.propertyValue}}else{i.required&&(s={});for(let a in n){let c=i.type.modelProperties[a],l=n[a],A=LV(t,{parameterPath:l,mapper:c},r);A!==void 0&&(s||(s={}),s[a]=A)}}return s}o(LV,"getOperationArgumentValueFromParameter");function kV(t,e){let r={propertyFound:!1},n=0;for(;n{"use strict";Object.defineProperty(rl,"__esModule",{value:!0});rl.deserializationPolicyName=void 0;rl.deserializationPolicy=ive;var tve=Lu(),im=Ot(),qV=Fu(),I0=qu(),rve=["application/json","text/json"],nve=["application/xml","application/atom+xml"];rl.deserializationPolicyName="deserializationPolicy";function ive(t={}){let e=t.expectedContentTypes?.json??rve,r=t.expectedContentTypes?.xml??nve,n=t.parseXML,i=t.serializerOptions,s={xml:{rootName:i?.xml.rootName??"",includeRoot:i?.xml.includeRoot??!1,xmlCharKey:i?.xml.xmlCharKey??tve.XML_CHARKEY}};return{name:rl.deserializationPolicyName,async sendRequest(a,c){let l=await c(a);return ave(e,r,l,s,n)}}}o(ive,"deserializationPolicy");function sve(t){let e,r=t.request,n=(0,I0.getOperationRequestInfo)(r),i=n?.operationSpec;return i&&(n?.operationResponseGetter?e=n?.operationResponseGetter(i,t):e=i.responses[t.status]),e}o(sve,"getOperationResponseMap");function ove(t){let e=t.request,n=(0,I0.getOperationRequestInfo)(e)?.shouldDeserialize,i;return n===void 0?i=!0:typeof n=="boolean"?i=n:i=n(t),i}o(ove,"shouldDeserializeResponse");async function ave(t,e,r,n,i){let s=await Ave(t,e,r,n,i);if(!ove(s))return s;let c=(0,I0.getOperationRequestInfo)(s.request)?.operationSpec;if(!c||!c.responses)return s;let l=sve(s),{error:A,shouldReturnResponse:u}=lve(s,c,l,n);if(A)throw A;if(u)return s;if(l){if(l.bodyMapper){let d=s.parsedBody;c.isXML&&l.bodyMapper.type.name===qV.MapperTypeNames.Sequence&&(d=typeof d=="object"?d[l.bodyMapper.xmlElementName]:[]);try{s.parsedBody=c.serializer.deserialize(l.bodyMapper,d,"operationRes.parsedBody",n)}catch(f){throw new im.RestError(`Error ${f} occurred in deserializing the responseBody - ${s.bodyAsText}`,{statusCode:s.status,request:s.request,response:s})}}else c.httpMethod==="HEAD"&&(s.parsedBody=r.status>=200&&r.status<300);l.headersMapper&&(s.parsedHeaders=c.serializer.deserialize(l.headersMapper,s.headers.toJSON(),"operationRes.parsedHeaders",{xml:{},ignoreUnknownProperties:!0}))}return s}o(ave,"deserializeResponseBody");function cve(t){let e=Object.keys(t.responses);return e.length===0||e.length===1&&e[0]==="default"}o(cve,"isOperationSpecEmpty");function lve(t,e,r,n){let i=200<=t.status&&t.status<300;if(cve(e)?i:!!r)if(r){if(!r.isError)return{error:null,shouldReturnResponse:!1}}else return{error:null,shouldReturnResponse:!1};let a=r??e.responses.default,c=t.request.streamResponseStatusCodes?.has(t.status)?`Unexpected status code: ${t.status}`:t.bodyAsText,l=new im.RestError(c,{statusCode:t.status,request:t.request,response:t});if(!a&&!(t.parsedBody?.error?.code&&t.parsedBody?.error?.message))throw l;let A=a?.bodyMapper,u=a?.headersMapper;try{if(t.parsedBody){let d=t.parsedBody,f;if(A){let C=d;if(e.isXML&&A.type.name===qV.MapperTypeNames.Sequence){C=[];let Q=A.xmlElementName;typeof d=="object"&&Q&&(C=d[Q])}f=e.serializer.deserialize(A,C,"error.response.parsedBody",n)}let m=d.error||f||d;l.code=m.code,m.message&&(l.message=m.message),A&&(l.response.parsedBody=f)}t.headers&&u&&(l.response.parsedHeaders=e.serializer.deserialize(u,t.headers.toJSON(),"operationRes.parsedHeaders"))}catch(d){l.message=`Error "${d.message}" occurred in deserializing the responseBody - "${t.bodyAsText}" for the default response.`}return{error:l,shouldReturnResponse:!1}}o(lve,"handleErrorResponse");async function Ave(t,e,r,n,i){if(!r.request.streamResponseStatusCodes?.has(r.status)&&r.bodyAsText){let s=r.bodyAsText,a=r.headers.get("Content-Type")||"",c=a?a.split(";").map(l=>l.toLowerCase()):[];try{if(c.length===0||c.some(l=>t.indexOf(l)!==-1))return r.parsedBody=JSON.parse(s),r;if(c.some(l=>e.indexOf(l)!==-1)){if(!i)throw new Error("Parsing XML not supported.");let l=await i(s,n.xml);return r.parsedBody=l,r}}catch(l){let A=`Error "${l}" occurred while parsing the response body - ${r.bodyAsText}.`,u=l.code||im.RestError.PARSE_ERROR;throw new im.RestError(A,{code:u,statusCode:r.status,request:r.request,response:r})}}return r}o(Ave,"parse")});var om=g(sm=>{"use strict";Object.defineProperty(sm,"__esModule",{value:!0});sm.getStreamingResponseStatusCodes=dve;sm.getPathStringFromParameter=pve;var uve=Fu();function dve(t){let e=new Set;for(let r in t.responses){let n=t.responses[r];n.bodyMapper&&n.bodyMapper.type.name===uve.MapperTypeNames.Stream&&e.add(Number(r))}return e}o(dve,"getStreamingResponseStatusCodes");function pve(t){let{parameterPath:e,mapper:r}=t,n;return typeof e=="string"?n=e:Array.isArray(e)?n=e.join("."):n=r.serializedName,n}o(pve,"getPathStringFromParameter")});var N0=g($s=>{"use strict";Object.defineProperty($s,"__esModule",{value:!0});$s.serializationPolicyName=void 0;$s.serializationPolicy=hve;$s.serializeHeaders=HV;$s.serializeRequestBody=zV;var w0=Lu(),am=qu(),Q0=Fu(),Hu=om();$s.serializationPolicyName="serializationPolicy";function hve(t={}){let e=t.stringifyXML;return{name:$s.serializationPolicyName,async sendRequest(r,n){let i=(0,am.getOperationRequestInfo)(r),s=i?.operationSpec,a=i?.operationArguments;return s&&a&&(HV(r,a,s),zV(r,a,s,e)),n(r)}}}o(hve,"serializationPolicy");function HV(t,e,r){if(r.headerParameters)for(let i of r.headerParameters){let s=(0,am.getOperationArgumentValueFromParameter)(e,i);if(s!=null||i.mapper.required){s=r.serializer.serialize(i.mapper,s,(0,Hu.getPathStringFromParameter)(i));let a=i.mapper.headerCollectionPrefix;if(a)for(let c of Object.keys(s))t.headers.set(a+c,s[c]);else t.headers.set(i.mapper.serializedName||(0,Hu.getPathStringFromParameter)(i),s)}}let n=e.options?.requestOptions?.customHeaders;if(n)for(let i of Object.keys(n))t.headers.set(i,n[i])}o(HV,"serializeHeaders");function zV(t,e,r,n=function(){throw new Error("XML serialization unsupported!")}){let i=e.options?.serializerOptions,s={xml:{rootName:i?.xml.rootName??"",includeRoot:i?.xml.includeRoot??!1,xmlCharKey:i?.xml.xmlCharKey??w0.XML_CHARKEY}},a=s.xml.xmlCharKey;if(r.requestBody&&r.requestBody.mapper){t.body=(0,am.getOperationArgumentValueFromParameter)(e,r.requestBody);let c=r.requestBody.mapper,{required:l,serializedName:A,xmlName:u,xmlElementName:d,xmlNamespace:f,xmlNamespacePrefix:m,nullable:C}=c,Q=c.type.name;try{if(t.body!==void 0&&t.body!==null||C&&t.body===null||l){let S=(0,Hu.getPathStringFromParameter)(r.requestBody);t.body=r.serializer.serialize(c,t.body,S,s);let w=Q===Q0.MapperTypeNames.Stream;if(r.isXML){let R=m?`xmlns:${m}`:"xmlns",T=fve(f,R,Q,t.body,s);Q===Q0.MapperTypeNames.Sequence?t.body=n(mve(T,d||u||A,R,f),{rootName:u||A,xmlCharKey:a}):w||(t.body=n(T,{rootName:u||A,xmlCharKey:a}))}else{if(Q===Q0.MapperTypeNames.String&&(r.contentType?.match("text/plain")||r.mediaType==="text"))return;w||(t.body=JSON.stringify(t.body))}}}catch(S){throw new Error(`Error "${S.message}" occurred in serializing the payload - ${JSON.stringify(A,void 0," ")}.`)}}else if(r.formDataParameters&&r.formDataParameters.length>0){t.formData={};for(let c of r.formDataParameters){let l=(0,am.getOperationArgumentValueFromParameter)(e,c);if(l!=null){let A=c.mapper.serializedName||(0,Hu.getPathStringFromParameter)(c);t.formData[A]=r.serializer.serialize(c.mapper,l,(0,Hu.getPathStringFromParameter)(c),s)}}}}o(zV,"serializeRequestBody");function fve(t,e,r,n,i){if(t&&!["Composite","Sequence","Dictionary"].includes(r)){let s={};return s[i.xml.xmlCharKey]=n,s[w0.XML_ATTRKEY]={[e]:t},s}return n}o(fve,"getXmlValueWithNamespace");function mve(t,e,r,n){if(Array.isArray(t)||(t=[t]),!r||!n)return{[e]:t};let i={[e]:t};return i[w0.XML_ATTRKEY]={[r]:n},i}o(mve,"prepareXMLRootList")});var S0=g(x0=>{"use strict";Object.defineProperty(x0,"__esModule",{value:!0});x0.createClientPipeline=Cve;var gve=b0(),jV=Ot(),yve=N0();function Cve(t={}){let e=(0,jV.createPipelineFromOptions)(t??{});return t.credentialOptions&&e.addPolicy((0,jV.bearerTokenAuthenticationPolicy)({credential:t.credentialOptions.credential,scopes:t.credentialOptions.credentialScopes})),e.addPolicy((0,yve.serializationPolicy)(t.serializationOptions),{phase:"Serialize"}),e.addPolicy((0,gve.deserializationPolicy)(t.deserializationOptions),{phase:"Deserialize"}),e}o(Cve,"createClientPipeline")});var GV=g(_0=>{"use strict";Object.defineProperty(_0,"__esModule",{value:!0});_0.getCachedDefaultHttpClient=Bve;var Eve=Ot(),R0;function Bve(){return R0||(R0=(0,Eve.createDefaultHttpClient)()),R0}o(Bve,"getCachedDefaultHttpClient")});var WV=g(cm=>{"use strict";Object.defineProperty(cm,"__esModule",{value:!0});cm.getRequestUrl=bve;cm.appendQueryParams=VV;var JV=qu(),v0=om(),Ive={CSV:",",SSV:" ",Multi:"Multi",TSV:" ",Pipes:"|"};function bve(t,e,r,n){let i=Qve(e,r,n),s=!1,a=YV(t,i);if(e.path){let A=YV(e.path,i);e.path==="/{nextLink}"&&A.startsWith("/")&&(A=A.substring(1)),wve(A)?(a=A,s=!0):a=Nve(a,A)}let{queryParams:c,sequenceParams:l}=xve(e,r,n);return a=VV(a,c,l,s),a}o(bve,"getRequestUrl");function YV(t,e){let r=t;for(let[n,i]of e)r=r.split(n).join(i);return r}o(YV,"replaceAll");function Qve(t,e,r){let n=new Map;if(t.urlParameters?.length)for(let i of t.urlParameters){let s=(0,JV.getOperationArgumentValueFromParameter)(e,i,r),a=(0,v0.getPathStringFromParameter)(i);s=t.serializer.serialize(i.mapper,s,a),i.skipEncoding||(s=encodeURIComponent(s)),n.set(`{${i.mapper.serializedName||a}}`,s)}return n}o(Qve,"calculateUrlReplacements");function wve(t){return t.includes("://")}o(wve,"isAbsoluteUrl");function Nve(t,e){if(!e)return t;let r=new URL(t),n=r.pathname;n.endsWith("/")||(n=`${n}/`),e.startsWith("/")&&(e=e.substring(1));let i=e.indexOf("?");if(i!==-1){let s=e.substring(0,i),a=e.substring(i+1);n=n+s,a&&(r.search=r.search?`${r.search}&${a}`:a)}else n=n+e;return r.pathname=n,r.toString()}o(Nve,"appendPath");function xve(t,e,r){let n=new Map,i=new Set;if(t.queryParameters?.length)for(let s of t.queryParameters){s.mapper.type.name==="Sequence"&&s.mapper.serializedName&&i.add(s.mapper.serializedName);let a=(0,JV.getOperationArgumentValueFromParameter)(e,s,r);if(a!=null||s.mapper.required){a=t.serializer.serialize(s.mapper,a,(0,v0.getPathStringFromParameter)(s));let c=s.collectionFormat?Ive[s.collectionFormat]:"";if(Array.isArray(a)&&(a=a.map(l=>l??"")),s.collectionFormat==="Multi"&&a.length===0)continue;Array.isArray(a)&&(s.collectionFormat==="SSV"||s.collectionFormat==="TSV")&&(a=a.join(c)),s.skipEncoding||(Array.isArray(a)?a=a.map(l=>encodeURIComponent(l)):a=encodeURIComponent(a)),Array.isArray(a)&&(s.collectionFormat==="CSV"||s.collectionFormat==="Pipes")&&(a=a.join(c)),n.set(s.mapper.serializedName||(0,v0.getPathStringFromParameter)(s),a)}}return{queryParams:n,sequenceParams:i}}o(xve,"calculateQueryParameters");function Sve(t){let e=new Map;if(!t||t[0]!=="?")return e;t=t.slice(1);let r=t.split("&");for(let n of r){let[i,s]=n.split("=",2),a=e.get(i);a?Array.isArray(a)?a.push(s):e.set(i,[a,s]):e.set(i,s)}return e}o(Sve,"simpleParseQueryParams");function VV(t,e,r,n=!1){if(e.size===0)return t;let i=new URL(t),s=Sve(i.search);for(let[c,l]of e){let A=s.get(c);if(Array.isArray(A))if(Array.isArray(l)){A.push(...l);let u=new Set(A);s.set(c,Array.from(u))}else A.push(l);else A?(Array.isArray(l)?l.unshift(A):r.has(c)&&s.set(c,[A,l]),n||s.set(c,l)):s.set(c,l)}let a=[];for(let[c,l]of s)if(typeof l=="string")a.push(`${c}=${l}`);else if(Array.isArray(l))for(let A of l)a.push(`${c}=${A}`);else a.push(`${c}=${l}`);return i.search=a.length?`?${a.join("&")}`:"",i.toString()}o(VV,"appendQueryParams")});var P0=g(lm=>{"use strict";Object.defineProperty(lm,"__esModule",{value:!0});lm.logger=void 0;var Rve=Jc();lm.logger=(0,Rve.createClientLogger)("core-client")});var KV=g(Am=>{"use strict";Object.defineProperty(Am,"__esModule",{value:!0});Am.ServiceClient=void 0;var _ve=Ot(),vve=S0(),$V=C0(),Pve=GV(),Dve=qu(),Tve=WV(),Ove=om(),Mve=P0(),D0=class{static{o(this,"ServiceClient")}_endpoint;_requestContentType;_allowInsecureConnection;_httpClient;pipeline;constructor(e={}){if(this._requestContentType=e.requestContentType,this._endpoint=e.endpoint??e.baseUri,e.baseUri&&Mve.logger.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead."),this._allowInsecureConnection=e.allowInsecureConnection,this._httpClient=e.httpClient||(0,Pve.getCachedDefaultHttpClient)(),this.pipeline=e.pipeline||kve(e),e.additionalPolicies?.length)for(let{policy:r,position:n}of e.additionalPolicies){let i=n==="perRetry"?"Sign":void 0;this.pipeline.addPolicy(r,{afterPhase:i})}}async sendRequest(e){return this.pipeline.sendRequest(this._httpClient,e)}async sendOperationRequest(e,r){let n=r.baseUrl||this._endpoint;if(!n)throw new Error("If operationSpec.baseUrl is not specified, then the ServiceClient must have a endpoint string property that contains the base URL to use.");let i=(0,Tve.getRequestUrl)(n,r,e,this),s=(0,_ve.createPipelineRequest)({url:i});s.method=r.httpMethod;let a=(0,Dve.getOperationRequestInfo)(s);a.operationSpec=r,a.operationArguments=e;let c=r.contentType||this._requestContentType;c&&r.requestBody&&s.headers.set("Content-Type",c);let l=e.options;if(l){let A=l.requestOptions;A&&(A.timeout&&(s.timeout=A.timeout),A.onUploadProgress&&(s.onUploadProgress=A.onUploadProgress),A.onDownloadProgress&&(s.onDownloadProgress=A.onDownloadProgress),A.shouldDeserialize!==void 0&&(a.shouldDeserialize=A.shouldDeserialize),A.allowInsecureConnection&&(s.allowInsecureConnection=!0)),l.abortSignal&&(s.abortSignal=l.abortSignal),l.tracingOptions&&(s.tracingOptions=l.tracingOptions)}this._allowInsecureConnection&&(s.allowInsecureConnection=!0),s.streamResponseStatusCodes===void 0&&(s.streamResponseStatusCodes=(0,Ove.getStreamingResponseStatusCodes)(r));try{let A=await this.sendRequest(s),u=(0,$V.flattenResponse)(A,r.responses[A.status]);return l?.onResponse&&l.onResponse(A,u),u}catch(A){if(typeof A=="object"&&A?.response){let u=A.response,d=(0,$V.flattenResponse)(u,r.responses[A.statusCode]||r.responses.default);A.details=d,l?.onResponse&&l.onResponse(u,d,A)}throw A}}};Am.ServiceClient=D0;function kve(t){let e=Lve(t),r=t.credential&&e?{credentialScopes:e,credential:t.credential}:void 0;return(0,vve.createClientPipeline)({...t,credentialOptions:r})}o(kve,"createDefaultPipeline");function Lve(t){if(t.credentialScopes)return t.credentialScopes;if(t.endpoint)return`${t.endpoint}/.default`;if(t.baseUri)return`${t.baseUri}/.default`;if(t.credential&&!t.credentialScopes)throw new Error("When using credentials, the ServiceClientOptions must contain either a endpoint or a credentialScopes. Unable to create a bearerTokenAuthenticationPolicy")}o(Lve,"getCredentialScopes")});var ZV=g(um=>{"use strict";Object.defineProperty(um,"__esModule",{value:!0});um.parseCAEChallenge=XV;um.authorizeRequestOnClaimChallenge=qve;var Uve=P0(),Fve=y0();function XV(t){return`, ${t.trim()}`.split(", Bearer ").filter(r=>r).map(r=>`${r.trim()}, `.split('", ').filter(s=>s).map(s=>(([a,c])=>({[a]:c}))(s.trim().split('="'))).reduce((s,a)=>({...s,...a}),{}))}o(XV,"parseCAEChallenge");async function qve(t){let{scopes:e,response:r}=t,n=t.logger||Uve.logger,i=r.headers.get("WWW-Authenticate");if(!i)return n.info("The WWW-Authenticate header was missing. Failed to perform the Continuous Access Evaluation authentication flow."),!1;let a=(XV(i)||[]).find(l=>l.claims);if(!a)return n.info('The WWW-Authenticate header was missing the necessary "claims" to perform the Continuous Access Evaluation authentication flow.'),!1;let c=await t.getAccessToken(a.scope?[a.scope]:e,{claims:(0,Fve.decodeStringToString)(a.claims)});return c?(t.request.headers.set("Authorization",`${c.tokenType??"Bearer"} ${c.token}`),!0):!1}o(qve,"authorizeRequestOnClaimChallenge")});var tW=g(dm=>{"use strict";Object.defineProperty(dm,"__esModule",{value:!0});dm.authorizeRequestOnTenantChallenge=void 0;var eW={DefaultScope:"/.default",HeaderConstants:{AUTHORIZATION:"authorization"}};function Hve(t){return/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/.test(t)}o(Hve,"isUuid");var zve=o(async t=>{let e=Vve(t.request),r=Yve(t.response);if(r){let n=Jve(r),i=Gve(t,n),s=jve(n);if(!s)return!1;let a=await t.getAccessToken(i,{...e,tenantId:s});return a?(t.request.headers.set(eW.HeaderConstants.AUTHORIZATION,`${a.tokenType??"Bearer"} ${a.token}`),!0):!1}return!1},"authorizeRequestOnTenantChallenge");dm.authorizeRequestOnTenantChallenge=zve;function jve(t){let n=new URL(t.authorization_uri).pathname.split("/")[1];if(n&&Hve(n))return n}o(jve,"extractTenantId");function Gve(t,e){if(!e.resource_id)return t.scopes;let r=new URL(e.resource_id);r.pathname=eW.DefaultScope;let n=r.toString();return n==="https://disk.azure.com/.default"&&(n="https://disk.azure.com//.default"),[n]}o(Gve,"buildScopes");function Yve(t){let e=t.headers.get("WWW-Authenticate");if(t.status===401&&e)return e}o(Yve,"getChallenge");function Jve(t){return`${t.slice(7).trim()} `.split(" ").filter(i=>i).map(i=>(([s,a])=>({[s]:a}))(i.trim().split("="))).reduce((i,s)=>({...i,...s}),{})}o(Jve,"parseChallenge");function Vve(t){return{abortSignal:t.abortSignal,requestOptions:{timeout:t.timeout},tracingOptions:t.tracingOptions}}o(Vve,"requestToOptions")});var Ni=g(We=>{"use strict";Object.defineProperty(We,"__esModule",{value:!0});We.authorizeRequestOnTenantChallenge=We.authorizeRequestOnClaimChallenge=We.serializationPolicyName=We.serializationPolicy=We.deserializationPolicyName=We.deserializationPolicy=We.XML_CHARKEY=We.XML_ATTRKEY=We.createClientPipeline=We.ServiceClient=We.MapperTypeNames=We.createSerializer=void 0;var rW=Fu();Object.defineProperty(We,"createSerializer",{enumerable:!0,get:function(){return rW.createSerializer}});Object.defineProperty(We,"MapperTypeNames",{enumerable:!0,get:function(){return rW.MapperTypeNames}});var Wve=KV();Object.defineProperty(We,"ServiceClient",{enumerable:!0,get:function(){return Wve.ServiceClient}});var $ve=S0();Object.defineProperty(We,"createClientPipeline",{enumerable:!0,get:function(){return $ve.createClientPipeline}});var nW=Lu();Object.defineProperty(We,"XML_ATTRKEY",{enumerable:!0,get:function(){return nW.XML_ATTRKEY}});Object.defineProperty(We,"XML_CHARKEY",{enumerable:!0,get:function(){return nW.XML_CHARKEY}});var iW=b0();Object.defineProperty(We,"deserializationPolicy",{enumerable:!0,get:function(){return iW.deserializationPolicy}});Object.defineProperty(We,"deserializationPolicyName",{enumerable:!0,get:function(){return iW.deserializationPolicyName}});var sW=N0();Object.defineProperty(We,"serializationPolicy",{enumerable:!0,get:function(){return sW.serializationPolicy}});Object.defineProperty(We,"serializationPolicyName",{enumerable:!0,get:function(){return sW.serializationPolicyName}});var Kve=ZV();Object.defineProperty(We,"authorizeRequestOnClaimChallenge",{enumerable:!0,get:function(){return Kve.authorizeRequestOnClaimChallenge}});var Xve=tW();Object.defineProperty(We,"authorizeRequestOnTenantChallenge",{enumerable:!0,get:function(){return Xve.authorizeRequestOnTenantChallenge}})});var ju=g(ta=>{"use strict";Object.defineProperty(ta,"__esModule",{value:!0});ta.HttpHeaders=void 0;ta.toPipelineRequest=cW;ta.toWebResourceLike=lW;ta.toHttpHeadersLike=AW;var oW=Ot(),aW=Symbol("Original PipelineRequest"),Zve=Symbol.for("@azure/core-client original request");function cW(t,e={}){let n=t[aW],i=(0,oW.createHttpHeaders)(t.headers.toJson({preserveCase:!0}));if(n)return n.headers=i,n;{let s=(0,oW.createPipelineRequest)({url:t.url,method:t.method,headers:i,withCredentials:t.withCredentials,timeout:t.timeout,requestId:t.requestId,abortSignal:t.abortSignal,body:t.body,formData:t.formData,disableKeepAlive:!!t.keepAlive,onDownloadProgress:t.onDownloadProgress,onUploadProgress:t.onUploadProgress,proxySettings:t.proxySettings,streamResponseStatusCodes:t.streamResponseStatusCodes,agent:t.agent,requestOverrides:t.requestOverrides});return e.originalRequest&&(s[Zve]=e.originalRequest),s}}o(cW,"toPipelineRequest");function lW(t,e){let r=e?.originalRequest??t,n={url:t.url,method:t.method,headers:AW(t.headers),withCredentials:t.withCredentials,timeout:t.timeout,requestId:t.headers.get("x-ms-client-request-id")||t.requestId,abortSignal:t.abortSignal,body:t.body,formData:t.formData,keepAlive:!!t.disableKeepAlive,onDownloadProgress:t.onDownloadProgress,onUploadProgress:t.onUploadProgress,proxySettings:t.proxySettings,streamResponseStatusCodes:t.streamResponseStatusCodes,agent:t.agent,requestOverrides:t.requestOverrides,clone(){throw new Error("Cannot clone a non-proxied WebResourceLike")},prepare(){throw new Error("WebResourceLike.prepare() is not supported by @azure/core-http-compat")},validateRequestProperties(){}};return e?.createProxy?new Proxy(n,{get(i,s,a){return s===aW?t:s==="clone"?()=>lW(cW(n,{originalRequest:r}),{createProxy:!0,originalRequest:r}):Reflect.get(i,s,a)},set(i,s,a,c){return s==="keepAlive"&&(t.disableKeepAlive=!a),typeof s=="string"&&["url","method","withCredentials","timeout","requestId","abortSignal","body","formData","onDownloadProgress","onUploadProgress","proxySettings","streamResponseStatusCodes","agent","requestOverrides"].includes(s)&&(t[s]=a),Reflect.set(i,s,a,c)}}):n}o(lW,"toWebResourceLike");function AW(t){return new pm(t.toJSON({preserveCase:!0}))}o(AW,"toHttpHeadersLike");function zu(t){return t.toLowerCase()}o(zu,"getHeaderKey");var pm=class t{static{o(this,"HttpHeaders")}_headersMap;constructor(e){if(this._headersMap={},e)for(let r in e)this.set(r,e[r])}set(e,r){this._headersMap[zu(e)]={name:e,value:r.toString()}}get(e){let r=this._headersMap[zu(e)];return r?r.value:void 0}contains(e){return!!this._headersMap[zu(e)]}remove(e){let r=this.contains(e);return delete this._headersMap[zu(e)],r}rawHeaders(){return this.toJson({preserveCase:!0})}headersArray(){let e=[];for(let r in this._headersMap)e.push(this._headersMap[r]);return e}headerNames(){let e=[],r=this.headersArray();for(let n=0;n{"use strict";Object.defineProperty(hm,"__esModule",{value:!0});hm.toCompatResponse=tPe;hm.toPipelineResponse=rPe;var ePe=Ot(),T0=ju(),uW=Symbol("Original FullOperationResponse");function tPe(t,e){let r=(0,T0.toWebResourceLike)(t.request),n=(0,T0.toHttpHeadersLike)(t.headers);return e?.createProxy?new Proxy(t,{get(i,s,a){return s==="headers"?n:s==="request"?r:s===uW?t:Reflect.get(i,s,a)},set(i,s,a,c){return s==="headers"?n=a:s==="request"&&(r=a),Reflect.set(i,s,a,c)}}):{...t,request:r,headers:n}}o(tPe,"toCompatResponse");function rPe(t){let r=t[uW],n=(0,ePe.createHttpHeaders)(t.headers.toJson({preserveCase:!0}));return r?(r.headers=n,r):{...t,headers:n,request:(0,T0.toPipelineRequest)(t.request)}}o(rPe,"toPipelineResponse")});var pW=g(mm=>{"use strict";Object.defineProperty(mm,"__esModule",{value:!0});mm.ExtendedServiceClient=void 0;var dW=h0(),nPe=Ot(),iPe=Ni(),sPe=fm(),O0=class extends iPe.ServiceClient{static{o(this,"ExtendedServiceClient")}constructor(e){super(e),e.keepAliveOptions?.enable===!1&&!(0,dW.pipelineContainsDisableKeepAlivePolicy)(this.pipeline)&&this.pipeline.addPolicy((0,dW.createDisableKeepAlivePolicy)()),e.redirectOptions?.handleRedirects===!1&&this.pipeline.removePolicy({name:nPe.redirectPolicyName})}async sendOperationRequest(e,r){let n=e?.options?.onResponse,i;function s(c,l,A){i=c,n&&n(c,l,A)}o(s,"onResponse"),e.options={...e.options,onResponse:s};let a=await super.sendOperationRequest(e,r);return i&&Object.defineProperty(a,"_response",{value:(0,sPe.toCompatResponse)(i)}),a}};mm.ExtendedServiceClient=O0});var gW=g(Ks=>{"use strict";Object.defineProperty(Ks,"__esModule",{value:!0});Ks.requestPolicyFactoryPolicyName=Ks.HttpPipelineLogLevel=void 0;Ks.createRequestPolicyFactoryPolicy=aPe;var hW=ju(),fW=fm(),mW;(function(t){t[t.ERROR=1]="ERROR",t[t.INFO=3]="INFO",t[t.OFF=0]="OFF",t[t.WARNING=2]="WARNING"})(mW||(Ks.HttpPipelineLogLevel=mW={}));var oPe={log(t,e){},shouldLog(t){return!1}};Ks.requestPolicyFactoryPolicyName="RequestPolicyFactoryPolicy";function aPe(t){let e=t.slice().reverse();return{name:Ks.requestPolicyFactoryPolicyName,async sendRequest(r,n){let i={async sendRequest(c){let l=await n((0,hW.toPipelineRequest)(c));return(0,fW.toCompatResponse)(l,{createProxy:!0})}};for(let c of e)i=c.create(i,oPe);let s=(0,hW.toWebResourceLike)(r,{createProxy:!0}),a=await i.sendRequest(s);return(0,fW.toPipelineResponse)(a)}}}o(aPe,"createRequestPolicyFactoryPolicy")});var yW=g(M0=>{"use strict";Object.defineProperty(M0,"__esModule",{value:!0});M0.convertHttpClient=APe;var cPe=fm(),lPe=ju();function APe(t){return{sendRequest:async e=>{let r=await t.sendRequest((0,lPe.toWebResourceLike)(e,{createProxy:!0}));return(0,cPe.toPipelineResponse)(r)}}}o(APe,"convertHttpClient")});var gm=g(or=>{"use strict";Object.defineProperty(or,"__esModule",{value:!0});or.toHttpHeadersLike=or.convertHttpClient=or.disableKeepAlivePolicyName=or.HttpPipelineLogLevel=or.createRequestPolicyFactoryPolicy=or.requestPolicyFactoryPolicyName=or.ExtendedServiceClient=void 0;var uPe=pW();Object.defineProperty(or,"ExtendedServiceClient",{enumerable:!0,get:function(){return uPe.ExtendedServiceClient}});var k0=gW();Object.defineProperty(or,"requestPolicyFactoryPolicyName",{enumerable:!0,get:function(){return k0.requestPolicyFactoryPolicyName}});Object.defineProperty(or,"createRequestPolicyFactoryPolicy",{enumerable:!0,get:function(){return k0.createRequestPolicyFactoryPolicy}});Object.defineProperty(or,"HttpPipelineLogLevel",{enumerable:!0,get:function(){return k0.HttpPipelineLogLevel}});var dPe=h0();Object.defineProperty(or,"disableKeepAlivePolicyName",{enumerable:!0,get:function(){return dPe.disableKeepAlivePolicyName}});var pPe=yW();Object.defineProperty(or,"convertHttpClient",{enumerable:!0,get:function(){return pPe.convertHttpClient}});var hPe=ju();Object.defineProperty(or,"toHttpHeadersLike",{enumerable:!0,get:function(){return hPe.toHttpHeadersLike}})});var EW=g((k3e,CW)=>{(()=>{"use strict";var t={d:(y,p)=>{for(var h in p)t.o(p,h)&&!t.o(y,h)&&Object.defineProperty(y,h,{enumerable:!0,get:p[h]})},o:(y,p)=>Object.prototype.hasOwnProperty.call(y,p),r:y=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(y,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(y,"__esModule",{value:!0})}},e={};t.r(e),t.d(e,{XMLBuilder:()=>i9,XMLParser:()=>W5,XMLValidator:()=>s9});let r=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",n=new RegExp("^["+r+"]["+r+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$");function i(y,p){let h=[],b=p.exec(y);for(;b;){let x=[];x.startIndex=p.lastIndex-b[0].length;let N=b.length;for(let k=0;k"&&y[N]!==" "&&y[N]!==" "&&y[N]!==` -`&&y[N]!=="\r";N++)M+=y[N];if(M=M.trim(),M[M.length-1]==="/"&&(M=M.substring(0,M.length-1),N--),!T(M)){let $;return $=M.trim().length===0?"Invalid space after '<'.":"Tag '"+M+"' is an invalid name.",w("InvalidTag",$,L(y,N))}let q=m(y,N);if(q===!1)return w("InvalidAttr","Attributes for '"+M+"' have open quote.",L(y,N));let G=q.value;if(N=q.index,G[G.length-1]==="/"){let $=N-G.length;G=G.substring(0,G.length-1);let be=Q(G,p);if(be!==!0)return w(be.err.code,be.err.msg,L(y,$+be.err.line));b=!0}else if(_){if(!q.tagClosed)return w("InvalidTag","Closing tag '"+M+"' doesn't have proper closing.",L(y,N));if(G.trim().length>0)return w("InvalidTag","Closing tag '"+M+"' can't have attributes or invalid starting.",L(y,k));if(h.length===0)return w("InvalidTag","Closing tag '"+M+"' has not been opened.",L(y,k));{let $=h.pop();if(M!==$.tagName){let be=L(y,$.tagStartPos);return w("InvalidTag","Expected closing tag '"+$.tagName+"' (opened in line "+be.line+", col "+be.col+") instead of closing tag '"+M+"'.",L(y,k))}h.length==0&&(x=!0)}}else{let $=Q(G,p);if($!==!0)return w($.err.code,$.err.msg,L(y,N-G.length+$.err.line));if(x===!0)return w("InvalidXml","Multiple possible root nodes found.",L(y,N));p.unpairedTags.indexOf(M)!==-1||h.push({tagName:M,tagStartPos:k}),b=!0}for(N++;N0)||w("InvalidXml","Invalid '"+JSON.stringify(h.map(N=>N.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):w("InvalidXml","Start tag expected.",1)}o(c,"a");function l(y){return y===" "||y===" "||y===` -`||y==="\r"}o(l,"h");function A(y,p){let h=p;for(;p5&&b==="xml")return w("InvalidXml","XML declaration allowed only at the start of the document.",L(y,p));if(y[p]=="?"&&y[p+1]==">"){p++;break}continue}return p}o(A,"l");function u(y,p){if(y.length>p+5&&y[p+1]==="-"&&y[p+2]==="-"){for(p+=3;p"){p+=2;break}}else if(y.length>p+8&&y[p+1]==="D"&&y[p+2]==="O"&&y[p+3]==="C"&&y[p+4]==="T"&&y[p+5]==="Y"&&y[p+6]==="P"&&y[p+7]==="E"){let h=1;for(p+=8;p"&&(h--,h===0))break}else if(y.length>p+9&&y[p+1]==="["&&y[p+2]==="C"&&y[p+3]==="D"&&y[p+4]==="A"&&y[p+5]==="T"&&y[p+6]==="A"&&y[p+7]==="["){for(p+=8;p"){p+=2;break}}return p}o(u,"p");let d='"',f="'";function m(y,p){let h="",b="",x=!1;for(;p"&&b===""){x=!0;break}h+=y[p]}return b===""&&{value:h,index:p,tagClosed:x}}o(m,"d");let C=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function Q(y,p){let h=i(y,C),b={};for(let x=0;x!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(y,p,h){return y},captureMetaData:!1,maxNestedTags:100,strictReservedNames:!0,jPath:!0};function le(y){return typeof y=="boolean"?{enabled:y,maxEntitySize:1e4,maxExpansionDepth:10,maxTotalExpansions:1e3,maxExpandedLength:1e5,maxEntityCount:100,allowedTags:null,tagFilter:null}:typeof y=="object"&&y!==null?{enabled:y.enabled!==!1,maxEntitySize:y.maxEntitySize??1e4,maxExpansionDepth:y.maxExpansionDepth??10,maxTotalExpansions:y.maxTotalExpansions??1e3,maxExpandedLength:y.maxExpandedLength??1e5,maxEntityCount:y.maxEntityCount??100,allowedTags:y.allowedTags??null,tagFilter:y.tagFilter??null}:le(!0)}o(le,"v");let Te=o(function(y){let p=Object.assign({},de,y);return p.processEntities=le(p.processEntities),p.stopNodes&&Array.isArray(p.stopNodes)&&(p.stopNodes=p.stopNodes.map(h=>typeof h=="string"&&h.startsWith("*.")?".."+h.substring(2):h)),p},"T"),Oe;Oe=typeof Symbol!="function"?"@@xmlMetadata":Symbol("XML Node Metadata");class He{static{o(this,"S")}constructor(p){this.tagname=p,this.child=[],this[":@"]=Object.create(null)}add(p,h){p==="__proto__"&&(p="#__proto__"),this.child.push({[p]:h})}addChild(p,h){p.tagname==="__proto__"&&(p.tagname="#__proto__"),p[":@"]&&Object.keys(p[":@"]).length>0?this.child.push({[p.tagname]:p.child,":@":p[":@"]}):this.child.push({[p.tagname]:p.child}),h!==void 0&&(this.child[this.child.length-1][Oe]={startIndex:h})}static getMetaDataSymbol(){return Oe}}class Xe{static{o(this,"A")}constructor(p){this.suppressValidationErr=!p,this.options=p}readDocType(p,h){let b=Object.create(null),x=0;if(p[h+3]!=="O"||p[h+4]!=="C"||p[h+5]!=="T"||p[h+6]!=="Y"||p[h+7]!=="P"||p[h+8]!=="E")throw new Error("Invalid Tag instead of DOCTYPE");{h+=9;let N=1,k=!1,_=!1,M="";for(;h"){if(_?p[h-1]==="-"&&p[h-2]==="-"&&(_=!1,N--):N--,N===0)break}else p[h]==="["?k=!0:M+=p[h];else{if(k&&Ge(p,"!ENTITY",h)){let q,G;if(h+=7,[q,G,h]=this.readEntityExp(p,h+1,this.suppressValidationErr),G.indexOf("&")===-1){if(this.options.enabled!==!1&&this.options.maxEntityCount&&x>=this.options.maxEntityCount)throw new Error(`Entity count (${x+1}) exceeds maximum allowed (${this.options.maxEntityCount})`);let $=q.replace(/[.\-+*:]/g,"\\.");b[q]={regx:RegExp(`&${$};`,"g"),val:G},x++}}else if(k&&Ge(p,"!ELEMENT",h)){h+=8;let{index:q}=this.readElementExp(p,h+1);h=q}else if(k&&Ge(p,"!ATTLIST",h))h+=8;else if(k&&Ge(p,"!NOTATION",h)){h+=9;let{index:q}=this.readNotationExp(p,h+1,this.suppressValidationErr);h=q}else{if(!Ge(p,"!--",h))throw new Error("Invalid DOCTYPE");_=!0}N++,M=""}if(N!==0)throw new Error("Unclosed DOCTYPE")}return{entities:b,i:h}}readEntityExp(p,h){h=fe(p,h);let b="";for(;hthis.options.maxEntitySize)throw new Error(`Entity "${b}" size (${x.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`);return[b,x,--h]}readNotationExp(p,h){h=fe(p,h);let b="";for(;h{for(;p0&&(this.path[this.path.length-1].values=void 0);let x=this.path.length;this.siblingStacks[x]||(this.siblingStacks[x]=new Map);let N=this.siblingStacks[x],k=b?`${b}:${p}`:p,_=N.get(k)||0,M=0;for(let G of N.values())M+=G;N.set(k,_+1);let q={tag:p,position:M,counter:_};b!=null&&(q.namespace=b),h!=null&&(q.values=h),this.path.push(q)}pop(){if(this.path.length===0)return;let p=this.path.pop();return this.siblingStacks.length>this.path.length+1&&(this.siblingStacks.length=this.path.length+1),p}updateCurrent(p){if(this.path.length>0){let h=this.path[this.path.length-1];p!=null&&(h.values=p)}}getCurrentTag(){return this.path.length>0?this.path[this.path.length-1].tag:void 0}getCurrentNamespace(){return this.path.length>0?this.path[this.path.length-1].namespace:void 0}getAttrValue(p){return this.path.length===0?void 0:this.path[this.path.length-1].values?.[p]}hasAttr(p){if(this.path.length===0)return!1;let h=this.path[this.path.length-1];return h.values!==void 0&&p in h.values}getPosition(){return this.path.length===0?-1:this.path[this.path.length-1].position??0}getCounter(){return this.path.length===0?-1:this.path[this.path.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this.path.length}toString(p,h=!0){let b=p||this.separator;return this.path.map(x=>h&&x.namespace?`${x.namespace}:${x.tag}`:x.tag).join(b)}toArray(){return this.path.map(p=>p.tag)}reset(){this.path=[],this.siblingStacks=[]}matches(p){let h=p.segments;return h.length!==0&&(p.hasDeepWildcard()?this._matchWithDeepWildcard(h):this._matchSimple(h))}_matchSimple(p){if(this.path.length!==p.length)return!1;for(let h=0;h=0&&h>=0;){let x=p[b];if(x.type==="deep-wildcard"){if(b--,b<0)return!0;let N=p[b],k=!1;for(let _=h;_>=0;_--){let M=_===this.path.length-1;if(this._matchSegment(N,this.path[_],M)){h=_-1,b--,k=!0;break}}if(!k)return!1}else{let N=h===this.path.length-1;if(!this._matchSegment(x,this.path[h],N))return!1;h--,b--}}return b<0}_matchSegment(p,h,b){if(p.tag!=="*"&&p.tag!==h.tag||p.namespace!==void 0&&p.namespace!=="*"&&p.namespace!==h.namespace)return!1;if(p.attrName!==void 0){if(!b||!h.values||!(p.attrName in h.values))return!1;if(p.attrValue!==void 0){let x=h.values[p.attrName];if(String(x)!==String(p.attrValue))return!1}}if(p.position!==void 0){if(!b)return!1;let x=h.counter??0;if(p.position==="first"&&x!==0||p.position==="odd"&&x%2!=1||p.position==="even"&&x%2!=0||p.position==="nth"&&x!==p.positionValue)return!1}return!0}snapshot(){return{path:this.path.map(p=>({...p})),siblingStacks:this.siblingStacks.map(p=>new Map(p))}}restore(p){this.path=p.path.map(h=>({...h})),this.siblingStacks=p.siblingStacks.map(h=>new Map(h))}}class Yi{static{o(this,"k")}constructor(p,h={}){this.pattern=p,this.separator=h.separator||".",this.segments=this._parse(p),this._hasDeepWildcard=this.segments.some(b=>b.type==="deep-wildcard"),this._hasAttributeCondition=this.segments.some(b=>b.attrName!==void 0),this._hasPositionSelector=this.segments.some(b=>b.position!==void 0)}_parse(p){let h=[],b=0,x="";for(;b0){let h=y.substring(0,p);if(h!=="xmlns")return h}}o(oA,"M");class P5{static{o(this,"L")}constructor(p){var h;if(this.options=p,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"\xA2"},pound:{regex:/&(pound|#163);/g,val:"\xA3"},yen:{regex:/&(yen|#165);/g,val:"\xA5"},euro:{regex:/&(euro|#8364);/g,val:"\u20AC"},copyright:{regex:/&(copy|#169);/g,val:"\xA9"},reg:{regex:/&(reg|#174);/g,val:"\xAE"},inr:{regex:/&(inr|#8377);/g,val:"\u20B9"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(b,x)=>V_(x,10,"&#")},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(b,x)=>V_(x,16,"&#x")}},this.addExternalEntities=D5,this.parseXml=L5,this.parseTextData=T5,this.resolveNameSpace=O5,this.buildAttributesMap=k5,this.isItStopNode=H5,this.replaceEntitiesValue=F5,this.readStopNodeData=z5,this.saveTextToParentTag=q5,this.addChild=U5,this.ignoreAttributesFn=typeof(h=this.options.ignoreAttributes)=="function"?h:Array.isArray(h)?b=>{for(let x of h)if(typeof x=="string"&&b===x||x instanceof RegExp&&x.test(b))return!0}:()=>!1,this.entityExpansionCount=0,this.currentExpandedLength=0,this.matcher=new Co,this.isCurrentNodeStopNode=!1,this.options.stopNodes&&this.options.stopNodes.length>0){this.stopNodeExpressions=[];for(let b=0;b0)){k||(y=this.replaceEntitiesValue(y,p,h));let _=this.options.jPath?h.toString():h,M=this.options.tagValueProcessor(p,y,_,x,N);return M==null?y:typeof M!=typeof y||M!==y?M:this.options.trimValues||y.trim()===y?J_(y,this.options.parseTagValue,this.options.numberParseOptions):y}}o(T5,"G");function O5(y){if(this.options.removeNSPrefix){let p=y.split(":"),h=y.charAt(0)==="/"?"/":"";if(p[0]==="xmlns")return"";p.length===2&&(y=h+p[1])}return y}o(O5,"B");let M5=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function k5(y,p,h){if(this.options.ignoreAttributes!==!0&&typeof y=="string"){let b=i(y,M5),x=b.length,N={},k={};for(let _=0;_0&&typeof p=="object"&&p.updateCurrent&&p.updateCurrent(k);for(let _=0;_",N,"Closing Tag is not closed."),_=y.substring(N+2,k).trim();if(this.options.removeNSPrefix){let q=_.indexOf(":");q!==-1&&(_=_.substr(q+1))}this.options.transformTagName&&(_=this.options.transformTagName(_)),h&&(b=this.saveTextToParentTag(b,h,this.matcher));let M=this.matcher.getCurrentTag();if(_&&this.options.unpairedTags.indexOf(_)!==-1)throw new Error(`Unpaired tag can not be used as closing tag: `);M&&this.options.unpairedTags.indexOf(M)!==-1&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,h=this.tagsNodeStack.pop(),b="",N=k}else if(y[N+1]==="?"){let k=_C(y,N,!1,"?>");if(!k)throw new Error("Pi Tag is not closed.");if(b=this.saveTextToParentTag(b,h,this.matcher),!(this.options.ignoreDeclaration&&k.tagName==="?xml"||this.options.ignorePiTags)){let _=new He(k.tagName);_.add(this.options.textNodeName,""),k.tagName!==k.tagExp&&k.attrExpPresent&&(_[":@"]=this.buildAttributesMap(k.tagExp,this.matcher,k.tagName)),this.addChild(h,_,this.matcher,N)}N=k.closeIndex+1}else if(y.substr(N+1,3)==="!--"){let k=Eo(y,"-->",N+4,"Comment is not closed.");if(this.options.commentPropName){let _=y.substring(N+4,k-2);b=this.saveTextToParentTag(b,h,this.matcher),h.add(this.options.commentPropName,[{[this.options.textNodeName]:_}])}N=k}else if(y.substr(N+1,2)==="!D"){let k=x.readDocType(y,N);this.docTypeEntities=k.entities,N=k.i}else if(y.substr(N+1,2)==="!["){let k=Eo(y,"]]>",N,"CDATA is not closed.")-2,_=y.substring(N+9,k);b=this.saveTextToParentTag(b,h,this.matcher);let M=this.parseTextData(_,h.tagname,this.matcher,!0,!1,!0,!0);M==null&&(M=""),this.options.cdataPropName?h.add(this.options.cdataPropName,[{[this.options.textNodeName]:_}]):h.add(this.options.textNodeName,M),N=k+2}else{let k=_C(y,N,this.options.removeNSPrefix);if(!k){let Wt=y.substring(Math.max(0,N-50),Math.min(y.length,N+50));throw new Error(`readTagExp returned undefined at position ${N}. Context: "${Wt}"`)}let _=k.tagName,M=k.rawTagName,q=k.tagExp,G=k.attrExpPresent,$=k.closeIndex;if(this.options.transformTagName){let Wt=this.options.transformTagName(_);q===_&&(q=Wt),_=Wt}if(this.options.strictReservedNames&&(_===this.options.commentPropName||_===this.options.cdataPropName))throw new Error(`Invalid tag name: ${_}`);h&&b&&h.tagname!=="!xml"&&(b=this.saveTextToParentTag(b,h,this.matcher,!1));let be=h;be&&this.options.unpairedTags.indexOf(be.tagname)!==-1&&(h=this.tagsNodeStack.pop(),this.matcher.pop());let ye=!1;q.length>0&&q.lastIndexOf("/")===q.length-1&&(ye=!0,_[_.length-1]==="/"?(_=_.substr(0,_.length-1),q=_):q=q.substr(0,q.length-1),G=_!==q);let Qe,ve=null,ci={};Qe=oA(M),_!==p.tagname&&this.matcher.push(_,{},Qe),_!==q&&G&&(ve=this.buildAttributesMap(q,this.matcher,_),ve&&(ci=_d(ve,this.options))),_!==p.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode(this.stopNodeExpressions,this.matcher));let Ut=N;if(this.isCurrentNodeStopNode){let Wt="";if(ye)N=k.closeIndex;else if(this.options.unpairedTags.indexOf(_)!==-1)N=k.closeIndex;else{let DC=this.readStopNodeData(y,M,$+1);if(!DC)throw new Error(`Unexpected end of ${M}`);N=DC.i,Wt=DC.tagContent}let xa=new He(_);ve&&(xa[":@"]=ve),xa.add(this.options.textNodeName,Wt),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(h,xa,this.matcher,Ut)}else{if(ye){if(this.options.transformTagName){let xa=this.options.transformTagName(_);q===_&&(q=xa),_=xa}let Wt=new He(_);ve&&(Wt[":@"]=ve),this.addChild(h,Wt,this.matcher,Ut),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else{if(this.options.unpairedTags.indexOf(_)!==-1){let Wt=new He(_);ve&&(Wt[":@"]=ve),this.addChild(h,Wt,this.matcher,Ut),this.matcher.pop(),this.isCurrentNodeStopNode=!1,N=k.closeIndex;continue}{let Wt=new He(_);if(this.tagsNodeStack.length>this.options.maxNestedTags)throw new Error("Maximum nested tags exceeded");this.tagsNodeStack.push(h),ve&&(Wt[":@"]=ve),this.addChild(h,Wt,this.matcher,Ut),h=Wt}}b="",N=$}}else b+=y[N];return p.child},"Y");function U5(y,p,h,b){this.options.captureMetaData||(b=void 0);let x=this.options.jPath?h.toString():h,N=this.options.updateTag(p.tagname,x,p[":@"]);N===!1||(typeof N=="string"&&(p.tagname=N),y.addChild(p,b))}o(U5,"X");function F5(y,p,h){let b=this.options.processEntities;if(!b||!b.enabled)return y;if(b.allowedTags){let x=this.options.jPath?h.toString():h;if(!(Array.isArray(b.allowedTags)?b.allowedTags.includes(p):b.allowedTags(p,x)))return y}if(b.tagFilter){let x=this.options.jPath?h.toString():h;if(!b.tagFilter(p,x))return y}for(let x in this.docTypeEntities){let N=this.docTypeEntities[x],k=y.match(N.regx);if(k){if(this.entityExpansionCount+=k.length,b.maxTotalExpansions&&this.entityExpansionCount>b.maxTotalExpansions)throw new Error(`Entity expansion limit exceeded: ${this.entityExpansionCount} > ${b.maxTotalExpansions}`);let _=y.length;if(y=y.replace(N.regx,N.val),b.maxExpandedLength&&(this.currentExpandedLength+=y.length-_,this.currentExpandedLength>b.maxExpandedLength))throw new Error(`Total expanded content size exceeded: ${this.currentExpandedLength} > ${b.maxExpandedLength}`)}}if(y.indexOf("&")===-1)return y;for(let x in this.lastEntities){let N=this.lastEntities[x];y=y.replace(N.regex,N.val)}if(y.indexOf("&")===-1)return y;if(this.options.htmlEntities)for(let x in this.htmlEntities){let N=this.htmlEntities[x];y=y.replace(N.regex,N.val)}return y.replace(this.ampEntity.regex,this.ampEntity.val)}o(F5,"z");function q5(y,p,h,b){return y&&(b===void 0&&(b=p.child.length===0),(y=this.parseTextData(y,p.tagname,h,!1,!!p[":@"]&&Object.keys(p[":@"]).length!==0,b))!==void 0&&y!==""&&p.add(this.options.textNodeName,y),y=""),y}o(q5,"q");function H5(y,p){if(!y||y.length===0)return!1;for(let h=0;h"){let Qe,ve="";for(let ci=be;ci<$.length;ci++){let Ut=$[ci];if(Qe)Ut===Qe&&(Qe="");else if(Ut==='"'||Ut==="'")Qe=Ut;else if(Ut===ye[0]){if(!ye[1])return{data:ve,index:ci};if($[ci+1]===ye[1])return{data:ve,index:ci}}else Ut===" "&&(Ut=" ");ve+=Ut}}(y,p+1,b);if(!x)return;let N=x.data,k=x.index,_=N.search(/\s/),M=N,q=!0;_!==-1&&(M=N.substring(0,_),N=N.substring(_+1).trimStart());let G=M;if(h){let $=M.indexOf(":");$!==-1&&(M=M.substr($+1),q=M!==x.data.substr($+1))}return{tagName:M,tagExp:N,closeIndex:k,attrExpPresent:q,rawTagName:G}}o(_C,"Q");function z5(y,p,h){let b=h,x=1;for(;h",h,`${p} is not closed`);if(y.substring(h+2,N).trim()===p&&(x--,x===0))return{tagContent:y.substring(b,h),i:N};h=N}else if(y[h+1]==="?")h=Eo(y,"?>",h+1,"StopNode is not closed.");else if(y.substr(h+1,3)==="!--")h=Eo(y,"-->",h+3,"StopNode is not closed.");else if(y.substr(h+1,2)==="![")h=Eo(y,"]]>",h,"StopNode is not closed.")-2;else{let N=_C(y,h,">");N&&((N&&N.tagName)===p&&N.tagExp[N.tagExp.length-1]!=="/"&&x++,h=N.closeIndex)}}o(z5,"J");function J_(y,p,h){if(p&&typeof y=="string"){let b=y.trim();return b==="true"||b!=="false"&&function(x,N={}){if(N=Object.assign({},SC,N),!x||typeof x!="string")return x;let k=x.trim();if(N.skipLike!==void 0&&N.skipLike.test(k))return x;if(x==="0")return 0;if(N.hex&&ji.test(k))return function(M){if(parseInt)return parseInt(M,16);if(Number.parseInt)return Number.parseInt(M,16);if(window&&window.parseInt)return window.parseInt(M,16);throw new Error("parseInt, Number.parseInt, window.parseInt are not supported")}(k);if(k.includes("e")||k.includes("E"))return function(M,q,G){if(!G.eNotation)return M;let $=q.match(RC);if($){let be=$[1]||"",ye=$[3].indexOf("e")===-1?"E":"e",Qe=$[2],ve=be?M[Qe.length+1]===ye:M[Qe.length]===ye;return Qe.length>1&&ve?M:Qe.length!==1||!$[3].startsWith(`.${ye}`)&&$[3][0]!==ye?G.leadingZeros&&!ve?(q=($[1]||"")+$[3],Number(q)):M:Number(q)}return M}(x,k,N);{let M=Gi.exec(k);if(M){let q=M[1]||"",G=M[2],$=((_=M[3])&&_.indexOf(".")!==-1&&((_=_.replace(/0+$/,""))==="."?_="0":_[0]==="."?_="0"+_:_[_.length-1]==="."&&(_=_.substring(0,_.length-1))),_),be=q?x[G.length+1]===".":x[G.length]===".";if(!N.leadingZeros&&(G.length>1||G.length===1&&!be))return x;{let ye=Number(k),Qe=String(ye);if(ye===0)return ye;if(Qe.search(/[eE]/)!==-1)return N.eNotation?ye:x;if(k.indexOf(".")!==-1)return Qe==="0"||Qe===$||Qe===`${q}${$}`?ye:x;let ve=G?$:k;return G?ve===Qe||q+ve===Qe?ye:x:ve===Qe||ve===q+Qe?ye:x}}return x}var _}(y,h)}return y!==void 0?y:""}o(J_,"H");function V_(y,p,h){let b=Number.parseInt(y,p);return b>=0&&b<=1114111?String.fromCodePoint(b):h+y+";"}o(V_,"tt");let vC=He.getMetaDataSymbol();function j5(y,p){if(!y||typeof y!="object")return{};if(!p)return y;let h={};for(let b in y)b.startsWith(p)?h[b.substring(p.length)]=y[b]:h[b]=y[b];return h}o(j5,"it");function G5(y,p,h){return W_(y,p,h)}o(G5,"nt");function W_(y,p,h){let b,x={};for(let N=0;N0&&(x[p.textNodeName]=b):b!==void 0&&(x[p.textNodeName]=b),x}o(W_,"st");function Y5(y){let p=Object.keys(y);for(let h=0;h0&&(h=` -`);let b=[];if(p.stopNodes&&Array.isArray(p.stopNodes))for(let x=0;x`,k=!1,b.pop();continue}if(q===p.commentPropName){N+=h+``,k=!0,b.pop();continue}if(q[0]==="?"){let ve=Z_(M[":@"],p,$),ci=q==="?xml"?"":h,Ut=M[q][0][p.textNodeName];Ut=Ut.length!==0?" "+Ut:"",N+=ci+`<${q}${Ut}${ve}?>`,k=!0,b.pop();continue}let be=h;be!==""&&(be+=p.indentBy);let ye=h+`<${q}${Z_(M[":@"],p,$)}`,Qe;Qe=$?K_(M[q],p):$_(M[q],p,be,b,x),p.unpairedTags.indexOf(q)!==-1?p.suppressUnpairedNode?N+=ye+">":N+=ye+"/>":Qe&&Qe.length!==0||!p.suppressEmptyNode?Qe&&Qe.endsWith(">")?N+=ye+`>${Qe}${h}`:(N+=ye+">",Qe&&h!==""&&(Qe.includes("/>")||Qe.includes("`):N+=ye+"/>",k=!0,b.pop()}return N}o($_,"pt");function K5(y,p){if(!y||p.ignoreAttributes)return null;let h={},b=!1;for(let x in y)Object.prototype.hasOwnProperty.call(y,x)&&(h[x.startsWith(p.attributeNamePrefix)?x.substr(p.attributeNamePrefix.length):x]=y[x],b=!0);return b?h:null}o(K5,"ut");function K_(y,p){if(!Array.isArray(y))return y!=null?y.toString():"";let h="";for(let b=0;b${_}`:h+=`<${N}${k}/>`}}}return h}o(K_,"ct");function X5(y,p){let h="";if(y&&!p.ignoreAttributes)for(let b in y){if(!Object.prototype.hasOwnProperty.call(y,b))continue;let x=y[b];x===!0&&p.suppressBooleanAttributes?h+=` ${b.substr(p.attributeNamePrefix.length)}`:h+=` ${b.substr(p.attributeNamePrefix.length)}="${x}"`}return h}o(X5,"dt");function X_(y){let p=Object.keys(y);for(let h=0;h0&&p.processEntities)for(let h=0;h","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1,jPath:!0};function un(y){if(this.options=Object.assign({},e9,y),this.options.stopNodes&&Array.isArray(this.options.stopNodes)&&(this.options.stopNodes=this.options.stopNodes.map(h=>typeof h=="string"&&h.startsWith("*.")?".."+h.substring(2):h)),this.stopNodeExpressions=[],this.options.stopNodes&&Array.isArray(this.options.stopNodes))for(let h=0;h{for(let b of p)if(typeof b=="string"&&h===b||b instanceof RegExp&&b.test(h))return!0}:()=>!1,this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=n9),this.processTextOrObjNode=t9,this.options.format?(this.indentate=r9,this.tagEndChar=`> +`,"utf-8")],i=yve(n);i&&t.headers.set("Content-Length",i),t.body=await(0,hve.concat)(n)}o(Eve,"buildRequestBody");var BG="multipartPolicy",bve=70,Cve=new Set("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?");function xve(t){if(t.length>bve)throw new Error(`Multipart boundary "${t}" exceeds maximum length of 70 characters`);if(Array.from(t).some(e=>!Cve.has(e)))throw new Error(`Multipart boundary "${t}" contains invalid characters`)}o(xve,"assertValidBoundary");function Ive(){return{name:BG,async sendRequest(t,e){if(!t.multipartBody)return e(t);if(t.body)throw new Error("multipartBody and regular body cannot be set at the same time");let r=t.multipartBody.boundary,n=t.headers.get("Content-Type")??"multipart/mixed",i=n.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!i)throw new Error(`Got multipart request body, but content-type header was not multipart: ${n}`);let[,s,a]=i;if(a&&r&&a!==r)throw new Error(`Multipart boundary was specified as ${a} in the header, but got ${r} in the request body`);return r??=a,r?xve(r):r=pve(),t.headers.set("Content-Type",`${s}; boundary=${r}`),await Eve(t,t.multipartBody.parts,r),t.multipartBody=void 0,e(t)}}}o(Ive,"multipartPolicy")});var RG=x((Jit,vG)=>{var Wv=Object.defineProperty,Bve=Object.getOwnPropertyDescriptor,wve=Object.getOwnPropertyNames,Qve=Object.prototype.hasOwnProperty,Sve=o((t,e)=>{for(var r in e)Wv(t,r,{get:e[r],enumerable:!0})},"__export"),Nve=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of wve(e))!Qve.call(t,i)&&i!==r&&Wv(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=Bve(e,i))||n.enumerable});return t},"__copyProps"),vve=o(t=>Nve(Wv({},"__esModule",{value:!0}),t),"__toCommonJS"),NG={};Sve(NG,{createPipelineFromOptions:o(()=>Fve,"createPipelineFromOptions")});vG.exports=vve(NG);var Rve=ov(),Pve=qN(),_ve=cv(),Dve=hv(),kve=gv(),Tve=Nv(),Ove=Pv(),QG=kp(),Mve=Fv(),Lve=qv(),Uve=Gv(),SG=Vv();function Fve(t){let e=(0,Pve.createEmptyPipeline)();return QG.isNodeLike&&(t.agent&&e.addPolicy((0,Lve.agentPolicy)(t.agent)),t.tlsOptions&&e.addPolicy((0,Uve.tlsPolicy)(t.tlsOptions)),e.addPolicy((0,Mve.proxyPolicy)(t.proxyOptions)),e.addPolicy((0,kve.decompressResponsePolicy)())),e.addPolicy((0,Ove.formDataPolicy)(),{beforePolicies:[SG.multipartPolicyName]}),e.addPolicy((0,Dve.userAgentPolicy)(t.userAgentOptions)),e.addPolicy((0,SG.multipartPolicy)(),{afterPhase:"Deserialize"}),e.addPolicy((0,Tve.defaultRetryPolicy)(t.retryOptions),{phase:"Retry"}),QG.isNodeLike&&e.addPolicy((0,_ve.redirectPolicy)(t.redirectOptions),{afterPhase:"Retry"}),e.addPolicy((0,Rve.logPolicy)(t.loggingOptions),{afterPhase:"Sign"}),e}o(Fve,"createPipelineFromOptions")});var kG=x((Wit,DG)=>{var $v=Object.defineProperty,Hve=Object.getOwnPropertyDescriptor,qve=Object.getOwnPropertyNames,zve=Object.prototype.hasOwnProperty,Gve=o((t,e)=>{for(var r in e)$v(t,r,{get:e[r],enumerable:!0})},"__export"),jve=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of qve(e))!zve.call(t,i)&&i!==r&&$v(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=Hve(e,i))||n.enumerable});return t},"__copyProps"),Yve=o(t=>jve($v({},"__esModule",{value:!0}),t),"__toCommonJS"),PG={};Gve(PG,{apiVersionPolicy:o(()=>Kve,"apiVersionPolicy"),apiVersionPolicyName:o(()=>_G,"apiVersionPolicyName")});DG.exports=Yve(PG);var _G="ApiVersionPolicy";function Kve(t){return{name:_G,sendRequest:o((e,r)=>{let n=new URL(e.url);return!n.searchParams.get("api-version")&&t.apiVersion&&(e.url=`${e.url}${Array.from(n.searchParams.keys()).length>0?"&":"?"}api-version=${t.apiVersion}`),r(e)},"sendRequest")}}o(Kve,"apiVersionPolicy")});var MG=x((Xit,OG)=>{var Xv=Object.defineProperty,Jve=Object.getOwnPropertyDescriptor,Vve=Object.getOwnPropertyNames,Wve=Object.prototype.hasOwnProperty,$ve=o((t,e)=>{for(var r in e)Xv(t,r,{get:e[r],enumerable:!0})},"__export"),Xve=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Vve(e))!Wve.call(t,i)&&i!==r&&Xv(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=Jve(e,i))||n.enumerable});return t},"__copyProps"),Zve=o(t=>Xve(Xv({},"__esModule",{value:!0}),t),"__toCommonJS"),TG={};$ve(TG,{isApiKeyCredential:o(()=>nRe,"isApiKeyCredential"),isBasicCredential:o(()=>rRe,"isBasicCredential"),isBearerTokenCredential:o(()=>tRe,"isBearerTokenCredential"),isOAuth2TokenCredential:o(()=>eRe,"isOAuth2TokenCredential")});OG.exports=Zve(TG);function eRe(t){return"getOAuth2Token"in t}o(eRe,"isOAuth2TokenCredential");function tRe(t){return"getBearerToken"in t}o(tRe,"isBearerTokenCredential");function rRe(t){return"username"in t&&"password"in t}o(rRe,"isBasicCredential");function nRe(t){return"key"in t}o(nRe,"isApiKeyCredential")});var Mp=x((est,FG)=>{var Zv=Object.defineProperty,iRe=Object.getOwnPropertyDescriptor,sRe=Object.getOwnPropertyNames,oRe=Object.prototype.hasOwnProperty,aRe=o((t,e)=>{for(var r in e)Zv(t,r,{get:e[r],enumerable:!0})},"__export"),cRe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of sRe(e))!oRe.call(t,i)&&i!==r&&Zv(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=iRe(e,i))||n.enumerable});return t},"__copyProps"),lRe=o(t=>cRe(Zv({},"__esModule",{value:!0}),t),"__toCommonJS"),UG={};aRe(UG,{ensureSecureConnection:o(()=>fRe,"ensureSecureConnection")});FG.exports=lRe(UG);var uRe=gd(),LG=!1;function ARe(t,e){if(e.allowInsecureConnection&&t.allowInsecureConnection){let r=new URL(t.url);if(r.hostname==="localhost"||r.hostname==="127.0.0.1")return!0}return!1}o(ARe,"allowInsecureConnection");function dRe(){let t="Sending token over insecure transport. Assume any token issued is compromised.";uRe.logger.warning(t),typeof process?.emitWarning=="function"&&!LG&&(LG=!0,process.emitWarning(t))}o(dRe,"emitInsecureConnectionWarning");function fRe(t,e){if(!t.url.toLowerCase().startsWith("https://"))if(ARe(t,e))dRe();else throw new Error("Authentication is not permitted for non-TLS protected (non-https) URLs when allowInsecureConnection is false.")}o(fRe,"ensureSecureConnection")});var GG=x((rst,zG)=>{var eR=Object.defineProperty,hRe=Object.getOwnPropertyDescriptor,pRe=Object.getOwnPropertyNames,gRe=Object.prototype.hasOwnProperty,mRe=o((t,e)=>{for(var r in e)eR(t,r,{get:e[r],enumerable:!0})},"__export"),yRe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of pRe(e))!gRe.call(t,i)&&i!==r&&eR(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=hRe(e,i))||n.enumerable});return t},"__copyProps"),ERe=o(t=>yRe(eR({},"__esModule",{value:!0}),t),"__toCommonJS"),HG={};mRe(HG,{apiKeyAuthenticationPolicy:o(()=>CRe,"apiKeyAuthenticationPolicy"),apiKeyAuthenticationPolicyName:o(()=>qG,"apiKeyAuthenticationPolicyName")});zG.exports=ERe(HG);var bRe=Mp(),qG="apiKeyAuthenticationPolicy";function CRe(t){return{name:qG,async sendRequest(e,r){(0,bRe.ensureSecureConnection)(e,t);let n=(e.authSchemes??t.authSchemes)?.find(i=>i.kind==="apiKey");if(!n)return r(e);if(n.apiKeyLocation!=="header")throw new Error(`Unsupported API key location: ${n.apiKeyLocation}`);return e.headers.set(n.name,t.credential.key),r(e)}}}o(CRe,"apiKeyAuthenticationPolicy")});var VG=x((ist,JG)=>{var tR=Object.defineProperty,xRe=Object.getOwnPropertyDescriptor,IRe=Object.getOwnPropertyNames,BRe=Object.prototype.hasOwnProperty,wRe=o((t,e)=>{for(var r in e)tR(t,r,{get:e[r],enumerable:!0})},"__export"),QRe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of IRe(e))!BRe.call(t,i)&&i!==r&&tR(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=xRe(e,i))||n.enumerable});return t},"__copyProps"),SRe=o(t=>QRe(tR({},"__esModule",{value:!0}),t),"__toCommonJS"),YG={};wRe(YG,{basicAuthenticationPolicy:o(()=>vRe,"basicAuthenticationPolicy"),basicAuthenticationPolicyName:o(()=>KG,"basicAuthenticationPolicyName")});JG.exports=SRe(YG);var jG=iu(),NRe=Mp(),KG="bearerAuthenticationPolicy";function vRe(t){return{name:KG,async sendRequest(e,r){if((0,NRe.ensureSecureConnection)(e,t),!(e.authSchemes??t.authSchemes)?.find(c=>c.kind==="http"&&c.scheme==="basic"))return r(e);let{username:i,password:s}=t.credential,a=(0,jG.uint8ArrayToString)((0,jG.stringToUint8Array)(`${i}:${s}`,"utf-8"),"base64");return e.headers.set("Authorization",`Basic ${a}`),r(e)}}}o(vRe,"basicAuthenticationPolicy")});var ZG=x((ost,XG)=>{var rR=Object.defineProperty,RRe=Object.getOwnPropertyDescriptor,PRe=Object.getOwnPropertyNames,_Re=Object.prototype.hasOwnProperty,DRe=o((t,e)=>{for(var r in e)rR(t,r,{get:e[r],enumerable:!0})},"__export"),kRe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of PRe(e))!_Re.call(t,i)&&i!==r&&rR(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=RRe(e,i))||n.enumerable});return t},"__copyProps"),TRe=o(t=>kRe(rR({},"__esModule",{value:!0}),t),"__toCommonJS"),WG={};DRe(WG,{bearerAuthenticationPolicy:o(()=>MRe,"bearerAuthenticationPolicy"),bearerAuthenticationPolicyName:o(()=>$G,"bearerAuthenticationPolicyName")});XG.exports=TRe(WG);var ORe=Mp(),$G="bearerAuthenticationPolicy";function MRe(t){return{name:$G,async sendRequest(e,r){if((0,ORe.ensureSecureConnection)(e,t),!(e.authSchemes??t.authSchemes)?.find(s=>s.kind==="http"&&s.scheme==="bearer"))return r(e);let i=await t.credential.getBearerToken({abortSignal:e.abortSignal});return e.headers.set("Authorization",`Bearer ${i}`),r(e)}}}o(MRe,"bearerAuthenticationPolicy")});var nj=x((cst,rj)=>{var nR=Object.defineProperty,LRe=Object.getOwnPropertyDescriptor,URe=Object.getOwnPropertyNames,FRe=Object.prototype.hasOwnProperty,HRe=o((t,e)=>{for(var r in e)nR(t,r,{get:e[r],enumerable:!0})},"__export"),qRe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of URe(e))!FRe.call(t,i)&&i!==r&&nR(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=LRe(e,i))||n.enumerable});return t},"__copyProps"),zRe=o(t=>qRe(nR({},"__esModule",{value:!0}),t),"__toCommonJS"),ej={};HRe(ej,{oauth2AuthenticationPolicy:o(()=>jRe,"oauth2AuthenticationPolicy"),oauth2AuthenticationPolicyName:o(()=>tj,"oauth2AuthenticationPolicyName")});rj.exports=zRe(ej);var GRe=Mp(),tj="oauth2AuthenticationPolicy";function jRe(t){return{name:tj,async sendRequest(e,r){(0,GRe.ensureSecureConnection)(e,t);let n=(e.authSchemes??t.authSchemes)?.find(s=>s.kind==="oauth2");if(!n)return r(e);let i=await t.credential.getOAuth2Token(n.flows,{abortSignal:e.abortSignal});return e.headers.set("Authorization",`Bearer ${i}`),r(e)}}}o(jRe,"oauth2AuthenticationPolicy")});var oR=x((ust,sj)=>{var sR=Object.defineProperty,YRe=Object.getOwnPropertyDescriptor,KRe=Object.getOwnPropertyNames,JRe=Object.prototype.hasOwnProperty,VRe=o((t,e)=>{for(var r in e)sR(t,r,{get:e[r],enumerable:!0})},"__export"),WRe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of KRe(e))!JRe.call(t,i)&&i!==r&&sR(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=YRe(e,i))||n.enumerable});return t},"__copyProps"),$Re=o(t=>WRe(sR({},"__esModule",{value:!0}),t),"__toCommonJS"),ij={};VRe(ij,{createDefaultPipeline:o(()=>s2e,"createDefaultPipeline"),getCachedDefaultHttpsClient:o(()=>o2e,"getCachedDefaultHttpsClient")});sj.exports=$Re(ij);var XRe=iv(),ZRe=RG(),e2e=kG(),xE=MG(),t2e=GG(),r2e=VG(),n2e=ZG(),i2e=nj(),iR;function s2e(t={}){let e=(0,ZRe.createPipelineFromOptions)(t);e.addPolicy((0,e2e.apiVersionPolicy)(t));let{credential:r,authSchemes:n,allowInsecureConnection:i}=t;return r&&((0,xE.isApiKeyCredential)(r)?e.addPolicy((0,t2e.apiKeyAuthenticationPolicy)({authSchemes:n,credential:r,allowInsecureConnection:i})):(0,xE.isBasicCredential)(r)?e.addPolicy((0,r2e.basicAuthenticationPolicy)({authSchemes:n,credential:r,allowInsecureConnection:i})):(0,xE.isBearerTokenCredential)(r)?e.addPolicy((0,n2e.bearerAuthenticationPolicy)({authSchemes:n,credential:r,allowInsecureConnection:i})):(0,xE.isOAuth2TokenCredential)(r)&&e.addPolicy((0,i2e.oauth2AuthenticationPolicy)({authSchemes:n,credential:r,allowInsecureConnection:i}))),e}o(s2e,"createDefaultPipeline");function o2e(){return iR||(iR=(0,XRe.createDefaultHttpClient)()),iR}o(o2e,"getCachedDefaultHttpsClient")});var fj=x((dst,dj)=>{var aR=Object.defineProperty,a2e=Object.getOwnPropertyDescriptor,c2e=Object.getOwnPropertyNames,l2e=Object.prototype.hasOwnProperty,u2e=o((t,e)=>{for(var r in e)aR(t,r,{get:e[r],enumerable:!0})},"__export"),A2e=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of c2e(e))!l2e.call(t,i)&&i!==r&&aR(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=a2e(e,i))||n.enumerable});return t},"__copyProps"),d2e=o(t=>A2e(aR({},"__esModule",{value:!0}),t),"__toCommonJS"),cj={};u2e(cj,{buildBodyPart:o(()=>Aj,"buildBodyPart"),buildMultipartBody:o(()=>y2e,"buildMultipartBody")});dj.exports=d2e(cj);var f2e=pd(),h2e=vc(),oj=iu(),lj=Op();function uj(t,e){if(t.headers){let r=Object.keys(t.headers).find(n=>n.toLowerCase()===e.toLowerCase());if(r)return t.headers[r]}}o(uj,"getHeaderValue");function p2e(t){let e=uj(t,"content-type");if(e)return e;if(t.contentType===null)return;if(t.contentType)return t.contentType;let{body:r}=t;if(r!=null)return typeof r=="string"||typeof r=="number"||typeof r=="boolean"?"text/plain; charset=UTF-8":r instanceof Blob?r.type||"application/octet-stream":(0,lj.isBinaryBody)(r)?"application/octet-stream":"application/json"}o(p2e,"getPartContentType");function aj(t){return JSON.stringify(t)}o(aj,"escapeDispositionField");function g2e(t){let e=uj(t,"content-disposition");if(e)return e;if(t.dispositionType===void 0&&t.name===void 0&&t.filename===void 0)return;let n=t.dispositionType??"form-data";t.name&&(n+=`; name=${aj(t.name)}`);let i;if(t.filename)i=t.filename;else if(typeof File<"u"&&t.body instanceof File){let s=t.body.name;s!==""&&(i=s)}return i&&(n+=`; filename=${aj(i)}`),n}o(g2e,"getContentDisposition");function m2e(t,e){if(t===void 0)return new Uint8Array([]);if((0,lj.isBinaryBody)(t))return t;if(typeof t=="string"||typeof t=="number"||typeof t=="boolean")return(0,oj.stringToUint8Array)(String(t),"utf-8");if(e&&/application\/(.+\+)?json(;.+)?/i.test(String(e)))return(0,oj.stringToUint8Array)(JSON.stringify(t),"utf-8");throw new f2e.RestError(`Unsupported body/content-type combination: ${t}, ${e}`)}o(m2e,"normalizeBody");function Aj(t){let e=p2e(t),r=g2e(t),n=(0,h2e.createHttpHeaders)(t.headers??{});e&&n.set("content-type",e),r&&n.set("content-disposition",r);let i=m2e(t.body,e);return{headers:n,body:i}}o(Aj,"buildBodyPart");function y2e(t){return{parts:t.map(Aj)}}o(y2e,"buildMultipartBody")});var mj=x((hst,gj)=>{var uR=Object.defineProperty,E2e=Object.getOwnPropertyDescriptor,b2e=Object.getOwnPropertyNames,C2e=Object.prototype.hasOwnProperty,x2e=o((t,e)=>{for(var r in e)uR(t,r,{get:e[r],enumerable:!0})},"__export"),I2e=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of b2e(e))!C2e.call(t,i)&&i!==r&&uR(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=E2e(e,i))||n.enumerable});return t},"__copyProps"),B2e=o(t=>I2e(uR({},"__esModule",{value:!0}),t),"__toCommonJS"),hj={};x2e(hj,{getRequestBody:o(()=>pj,"getRequestBody"),sendRequest:o(()=>v2e,"sendRequest")});gj.exports=B2e(hj);var cR=pd(),w2e=vc(),Q2e=UN(),S2e=oR(),lR=Op(),N2e=fj();async function v2e(t,e,r,n={},i){let s=i??(0,S2e.getCachedDefaultHttpsClient)(),a=_2e(t,e,n);try{let c=await r.sendRequest(s,a),l=c.headers.toJSON(),u=c.readableStreamBody??c.browserStreamBody,A=n.responseAsStream||u!==void 0?void 0:D2e(c),d=u??A;return n?.onResponse&&n.onResponse({...c,request:a,rawHeaders:l,parsedBody:A}),{request:a,headers:l,status:`${c.status}`,body:d}}catch(c){if((0,cR.isRestError)(c)&&c.response&&n.onResponse){let{response:l}=c,u=l.headers.toJSON();n?.onResponse({...l,request:a,rawHeaders:u},c)}throw c}}o(v2e,"sendRequest");function R2e(t={}){return t.contentType??t.headers?.["content-type"]??P2e(t.body)}o(R2e,"getRequestContentType");function P2e(t){if(t!==void 0){if(ArrayBuffer.isView(t))return"application/octet-stream";if((0,lR.isBlob)(t)&&t.type)return t.type;if(typeof t=="string")try{return JSON.parse(t),"application/json"}catch{return}return"application/json"}}o(P2e,"getContentType");function _2e(t,e,r={}){let n=R2e(r),{body:i,multipartBody:s}=pj(r.body,n),a=(0,w2e.createHttpHeaders)({...r.headers?r.headers:{},accept:r.accept??r.headers?.accept??"application/json",...n&&{"content-type":n}});return(0,Q2e.createPipelineRequest)({url:e,method:t,body:i,multipartBody:s,headers:a,allowInsecureConnection:r.allowInsecureConnection,abortSignal:r.abortSignal,onUploadProgress:r.onUploadProgress,onDownloadProgress:r.onDownloadProgress,timeout:r.timeout,enableBrowserStreams:!0,streamResponseStatusCodes:r.responseAsStream?new Set([Number.POSITIVE_INFINITY]):void 0})}o(_2e,"buildPipelineRequest");function pj(t,e=""){if(t===void 0)return{body:void 0};if(typeof FormData<"u"&&t instanceof FormData)return{body:t};if((0,lR.isBlob)(t))return{body:t};if((0,lR.isReadableStream)(t)||typeof t=="function")return{body:t};if(ArrayBuffer.isView(t))return{body:t instanceof Uint8Array?t:JSON.stringify(t)};switch(e.split(";")[0]){case"application/json":return{body:JSON.stringify(t)};case"multipart/form-data":return Array.isArray(t)?{multipartBody:(0,N2e.buildMultipartBody)(t)}:{body:JSON.stringify(t)};case"text/plain":return{body:String(t)};default:return typeof t=="string"?{body:t}:{body:JSON.stringify(t)}}}o(pj,"getRequestBody");function D2e(t){let r=(t.headers.get("content-type")??"").split(";")[0],n=t.bodyAsText??"";if(r==="text/plain")return String(n);try{return n?JSON.parse(n):void 0}catch(i){if(r==="application/json")throw k2e(t,i);return String(n)}}o(D2e,"getResponseBody");function k2e(t,e){let r=`Error "${e}" occurred while parsing the response body - ${t.bodyAsText}.`,n=e.code??cR.RestError.PARSE_ERROR;return new cR.RestError(r,{code:n,statusCode:t.status,request:t.request,response:t})}o(k2e,"createParseError")});var xj=x((gst,Cj)=>{var dR=Object.defineProperty,T2e=Object.getOwnPropertyDescriptor,O2e=Object.getOwnPropertyNames,M2e=Object.prototype.hasOwnProperty,L2e=o((t,e)=>{for(var r in e)dR(t,r,{get:e[r],enumerable:!0})},"__export"),U2e=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of O2e(e))!M2e.call(t,i)&&i!==r&&dR(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=T2e(e,i))||n.enumerable});return t},"__copyProps"),F2e=o(t=>U2e(dR({},"__esModule",{value:!0}),t),"__toCommonJS"),yj={};L2e(yj,{buildBaseUrl:o(()=>Ej,"buildBaseUrl"),buildRequestUrl:o(()=>q2e,"buildRequestUrl"),replaceAll:o(()=>bj,"replaceAll")});Cj.exports=F2e(yj);function H2e(t){let e=t.value;return e!==void 0&&e.toString!==void 0&&typeof e.toString=="function"}o(H2e,"isQueryParameterWithOptions");function q2e(t,e,r,n={}){if(e.startsWith("https://")||e.startsWith("http://"))return e;t=Ej(t,n),e=G2e(e,r,n);let i=z2e(`${t}/${e}`,n);return new URL(i).toString().replace(/([^:]\/)\/+/g,"$1")}o(q2e,"buildRequestUrl");function AR(t,e,r,n){let i;r==="pipeDelimited"?i="|":r==="spaceDelimited"?i="%20":i=",";let s;Array.isArray(n)?s=n:typeof n=="object"&&n.toString===Object.prototype.toString?s=Object.entries(n).flat():s=[n];let a=s.map(c=>{if(c==null)return"";if(!c.toString||typeof c.toString!="function")throw new Error(`Query parameters must be able to be represented as string, ${t} can't`);let l=c.toISOString!==void 0?c.toISOString():c.toString();return e?l:encodeURIComponent(l)}).join(i);return`${e?t:encodeURIComponent(t)}=${a}`}o(AR,"getQueryParamValue");function z2e(t,e={}){if(!e.queryParameters)return t;let r=new URL(t),n=e.queryParameters,i=[];for(let s of Object.keys(n)){let a=n[s];if(a==null)continue;let c=H2e(a),l=c?a.value:a,u=c?a.explode??!1:!1,A=c&&a.style?a.style:"form";if(u)if(Array.isArray(l))for(let d of l)i.push(AR(s,e.skipUrlEncoding??!1,A,d));else if(typeof l=="object")for(let[d,f]of Object.entries(l))i.push(AR(d,e.skipUrlEncoding??!1,A,f));else throw new Error("explode can only be set to true for objects and arrays");else i.push(AR(s,e.skipUrlEncoding??!1,A,l))}return r.search!==""&&(r.search+="&"),r.search+=i.join("&"),r.toString()}o(z2e,"appendQueryParams");function Ej(t,e){if(!e.pathParameters)return t;let r=e.pathParameters;for(let[n,i]of Object.entries(r)){if(i==null)throw new Error(`Path parameters ${n} must not be undefined or null`);if(!i.toString||typeof i.toString!="function")throw new Error(`Path parameters must be able to be represented as string, ${n} can't`);let s=i.toISOString!==void 0?i.toISOString():String(i);e.skipUrlEncoding||(s=encodeURIComponent(i)),t=bj(t,`{${n}}`,s)??""}return t}o(Ej,"buildBaseUrl");function G2e(t,e,r={}){for(let n of e){let i=typeof n=="object"&&(n.allowReserved??!1),s=typeof n=="object"?n.value:n;!r.skipUrlEncoding&&!i&&(s=encodeURIComponent(s)),t=t.replace(/\{[\w-]+\}/,String(s))}return t}o(G2e,"buildRoutePath");function bj(t,e,r){return!t||!e?t:t.split(e).join(r||"")}o(bj,"replaceAll")});var Qj=x((yst,wj)=>{var hR=Object.defineProperty,j2e=Object.getOwnPropertyDescriptor,Y2e=Object.getOwnPropertyNames,K2e=Object.prototype.hasOwnProperty,J2e=o((t,e)=>{for(var r in e)hR(t,r,{get:e[r],enumerable:!0})},"__export"),V2e=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Y2e(e))!K2e.call(t,i)&&i!==r&&hR(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=j2e(e,i))||n.enumerable});return t},"__copyProps"),W2e=o(t=>V2e(hR({},"__esModule",{value:!0}),t),"__toCommonJS"),Bj={};J2e(Bj,{getClient:o(()=>Z2e,"getClient")});wj.exports=W2e(Bj);var $2e=oR(),fR=mj(),X2e=xj(),Ij=kp();function Z2e(t,e={}){let r=e.pipeline??(0,$2e.createDefaultPipeline)(e);if(e.additionalPolicies?.length)for(let{policy:c,position:l}of e.additionalPolicies){let u=l==="perRetry"?"Sign":void 0;r.addPolicy(c,{afterPhase:u})}let{allowInsecureConnection:n,httpClient:i}=e,s=e.endpoint??t,a=o((c,...l)=>{let u=o(A=>(0,X2e.buildRequestUrl)(s,c,l,{allowInsecureConnection:n,...A}),"getUrl");return{get:o((A={})=>Pc("GET",u(A),r,A,n,i),"get"),post:o((A={})=>Pc("POST",u(A),r,A,n,i),"post"),put:o((A={})=>Pc("PUT",u(A),r,A,n,i),"put"),patch:o((A={})=>Pc("PATCH",u(A),r,A,n,i),"patch"),delete:o((A={})=>Pc("DELETE",u(A),r,A,n,i),"delete"),head:o((A={})=>Pc("HEAD",u(A),r,A,n,i),"head"),options:o((A={})=>Pc("OPTIONS",u(A),r,A,n,i),"options"),trace:o((A={})=>Pc("TRACE",u(A),r,A,n,i),"trace")}},"client");return{path:a,pathUnchecked:a,pipeline:r}}o(Z2e,"getClient");function Pc(t,e,r,n,i,s){return i=n.allowInsecureConnection??i,{then:o(function(a,c){return(0,fR.sendRequest)(t,e,r,{...n,allowInsecureConnection:i},s).then(a,c)},"then"),async asBrowserStream(){if(Ij.isNodeLike)throw new Error("`asBrowserStream` is supported only in the browser environment. Use `asNodeStream` instead to obtain the response body stream. If you require a Web stream of the response in Node, consider using `Readable.toWeb` on the result of `asNodeStream`.");return(0,fR.sendRequest)(t,e,r,{...n,allowInsecureConnection:i,responseAsStream:!0},s)},async asNodeStream(){if(Ij.isNodeLike)return(0,fR.sendRequest)(t,e,r,{...n,allowInsecureConnection:i,responseAsStream:!0},s);throw new Error("`isNodeStream` is not supported in the browser environment. Use `asBrowserStream` to obtain the response body stream.")}}}o(Pc,"buildOperation")});var vj=x((bst,Nj)=>{var pR=Object.defineProperty,ePe=Object.getOwnPropertyDescriptor,tPe=Object.getOwnPropertyNames,rPe=Object.prototype.hasOwnProperty,nPe=o((t,e)=>{for(var r in e)pR(t,r,{get:e[r],enumerable:!0})},"__export"),iPe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of tPe(e))!rPe.call(t,i)&&i!==r&&pR(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=ePe(e,i))||n.enumerable});return t},"__copyProps"),sPe=o(t=>iPe(pR({},"__esModule",{value:!0}),t),"__toCommonJS"),Sj={};nPe(Sj,{operationOptionsToRequestParameters:o(()=>oPe,"operationOptionsToRequestParameters")});Nj.exports=sPe(Sj);function oPe(t){return{allowInsecureConnection:t.requestOptions?.allowInsecureConnection,timeout:t.requestOptions?.timeout,skipUrlEncoding:t.requestOptions?.skipUrlEncoding,abortSignal:t.abortSignal,onUploadProgress:t.requestOptions?.onUploadProgress,onDownloadProgress:t.requestOptions?.onDownloadProgress,headers:{...t.requestOptions?.headers},onResponse:t.onResponse}}o(oPe,"operationOptionsToRequestParameters")});var Dj=x((xst,_j)=>{var gR=Object.defineProperty,aPe=Object.getOwnPropertyDescriptor,cPe=Object.getOwnPropertyNames,lPe=Object.prototype.hasOwnProperty,uPe=o((t,e)=>{for(var r in e)gR(t,r,{get:e[r],enumerable:!0})},"__export"),APe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of cPe(e))!lPe.call(t,i)&&i!==r&&gR(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=aPe(e,i))||n.enumerable});return t},"__copyProps"),dPe=o(t=>APe(gR({},"__esModule",{value:!0}),t),"__toCommonJS"),Rj={};uPe(Rj,{createRestError:o(()=>pPe,"createRestError")});_j.exports=dPe(Rj);var fPe=pd(),hPe=vc();function pPe(t,e){let r=typeof t=="string"?e:t,n=r.body?.error??r.body,i=typeof t=="string"?t:n?.message??`Unexpected status code: ${r.status}`;return new fPe.RestError(i,{statusCode:Pj(r.status),code:n?.code,request:r.request,response:gPe(r)})}o(pPe,"createRestError");function gPe(t){return{headers:(0,hPe.createHttpHeaders)(t.headers),request:t.request,status:Pj(t.status)??-1}}o(gPe,"toPipelineResponse");function Pj(t){let e=Number.parseInt(t);return Number.isNaN(e)?void 0:e}o(Pj,"statusCodeToNumber")});var wd=x((Bst,Mj)=>{var mR=Object.defineProperty,mPe=Object.getOwnPropertyDescriptor,yPe=Object.getOwnPropertyNames,EPe=Object.prototype.hasOwnProperty,bPe=o((t,e)=>{for(var r in e)mR(t,r,{get:e[r],enumerable:!0})},"__export"),CPe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of yPe(e))!EPe.call(t,i)&&i!==r&&mR(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=mPe(e,i))||n.enumerable});return t},"__copyProps"),xPe=o(t=>CPe(mR({},"__esModule",{value:!0}),t),"__toCommonJS"),Oj={};bPe(Oj,{AbortError:o(()=>IPe.AbortError,"AbortError"),RestError:o(()=>kj.RestError,"RestError"),TypeSpecRuntimeLogger:o(()=>IE.TypeSpecRuntimeLogger,"TypeSpecRuntimeLogger"),createClientLogger:o(()=>IE.createClientLogger,"createClientLogger"),createDefaultHttpClient:o(()=>SPe.createDefaultHttpClient,"createDefaultHttpClient"),createEmptyPipeline:o(()=>QPe.createEmptyPipeline,"createEmptyPipeline"),createHttpHeaders:o(()=>BPe.createHttpHeaders,"createHttpHeaders"),createPipelineRequest:o(()=>wPe.createPipelineRequest,"createPipelineRequest"),createRestError:o(()=>RPe.createRestError,"createRestError"),getClient:o(()=>NPe.getClient,"getClient"),getLogLevel:o(()=>IE.getLogLevel,"getLogLevel"),isRestError:o(()=>kj.isRestError,"isRestError"),operationOptionsToRequestParameters:o(()=>vPe.operationOptionsToRequestParameters,"operationOptionsToRequestParameters"),setLogLevel:o(()=>IE.setLogLevel,"setLogLevel"),stringToUint8Array:o(()=>Tj.stringToUint8Array,"stringToUint8Array"),uint8ArrayToString:o(()=>Tj.uint8ArrayToString,"uint8ArrayToString")});Mj.exports=xPe(Oj);var IPe=Np(),IE=Rp(),BPe=vc(),wPe=UN(),QPe=qN(),kj=pd(),Tj=iu(),SPe=iv(),NPe=Qj(),vPe=vj(),RPe=Dj()});var ER=x((Qst,Uj)=>{var yR=Object.defineProperty,PPe=Object.getOwnPropertyDescriptor,_Pe=Object.getOwnPropertyNames,DPe=Object.prototype.hasOwnProperty,kPe=o((t,e)=>{for(var r in e)yR(t,r,{get:e[r],enumerable:!0})},"__export"),TPe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of _Pe(e))!DPe.call(t,i)&&i!==r&&yR(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=PPe(e,i))||n.enumerable});return t},"__copyProps"),OPe=o(t=>TPe(yR({},"__esModule",{value:!0}),t),"__toCommonJS"),Lj={};kPe(Lj,{createEmptyPipeline:o(()=>LPe,"createEmptyPipeline")});Uj.exports=OPe(Lj);var MPe=wd();function LPe(){return(0,MPe.createEmptyPipeline)()}o(LPe,"createEmptyPipeline")});var qj=x((Nst,Hj)=>{var bR=Object.defineProperty,UPe=Object.getOwnPropertyDescriptor,FPe=Object.getOwnPropertyNames,HPe=Object.prototype.hasOwnProperty,qPe=o((t,e)=>{for(var r in e)bR(t,r,{get:e[r],enumerable:!0})},"__export"),zPe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of FPe(e))!HPe.call(t,i)&&i!==r&&bR(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=UPe(e,i))||n.enumerable});return t},"__copyProps"),GPe=o(t=>zPe(bR({},"__esModule",{value:!0}),t),"__toCommonJS"),Fj={};qPe(Fj,{createLoggerContext:o(()=>jPe.createLoggerContext,"createLoggerContext")});Hj.exports=GPe(Fj);var jPe=Rp()});var cu=x(au=>{"use strict";Object.defineProperty(au,"__esModule",{value:!0});au.AzureLogger=void 0;au.setLogLevel=KPe;au.getLogLevel=JPe;au.createClientLogger=VPe;var YPe=qj(),BE=(0,YPe.createLoggerContext)({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"});au.AzureLogger=BE.logger;function KPe(t){BE.setLogLevel(t)}o(KPe,"setLogLevel");function JPe(){return BE.getLogLevel()}o(JPe,"getLogLevel");function VPe(t){return BE.createClientLogger(t)}o(VPe,"createClientLogger")});var Lp=x((_st,Gj)=>{var CR=Object.defineProperty,WPe=Object.getOwnPropertyDescriptor,$Pe=Object.getOwnPropertyNames,XPe=Object.prototype.hasOwnProperty,ZPe=o((t,e)=>{for(var r in e)CR(t,r,{get:e[r],enumerable:!0})},"__export"),e_e=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of $Pe(e))!XPe.call(t,i)&&i!==r&&CR(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=WPe(e,i))||n.enumerable});return t},"__copyProps"),t_e=o(t=>e_e(CR({},"__esModule",{value:!0}),t),"__toCommonJS"),zj={};ZPe(zj,{logger:o(()=>n_e,"logger")});Gj.exports=t_e(zj);var r_e=cu(),n_e=(0,r_e.createClientLogger)("core-rest-pipeline")});var Kj=x((kst,Yj)=>{var xR=Object.defineProperty,i_e=Object.getOwnPropertyDescriptor,s_e=Object.getOwnPropertyNames,o_e=Object.prototype.hasOwnProperty,a_e=o((t,e)=>{for(var r in e)xR(t,r,{get:e[r],enumerable:!0})},"__export"),c_e=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of s_e(e))!o_e.call(t,i)&&i!==r&&xR(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=i_e(e,i))||n.enumerable});return t},"__copyProps"),l_e=o(t=>c_e(xR({},"__esModule",{value:!0}),t),"__toCommonJS"),jj={};a_e(jj,{exponentialRetryPolicy:o(()=>h_e,"exponentialRetryPolicy"),exponentialRetryPolicyName:o(()=>f_e,"exponentialRetryPolicyName")});Yj.exports=l_e(jj);var u_e=AE(),A_e=yd(),d_e=su(),f_e="exponentialRetryPolicy";function h_e(t={}){return(0,A_e.retryPolicy)([(0,u_e.exponentialRetryStrategy)({...t,ignoreSystemErrors:!0})],{maxRetries:t.maxRetries??d_e.DEFAULT_RETRY_POLICY_COUNT})}o(h_e,"exponentialRetryPolicy")});var $j=x((Ost,Wj)=>{var IR=Object.defineProperty,p_e=Object.getOwnPropertyDescriptor,g_e=Object.getOwnPropertyNames,m_e=Object.prototype.hasOwnProperty,y_e=o((t,e)=>{for(var r in e)IR(t,r,{get:e[r],enumerable:!0})},"__export"),E_e=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of g_e(e))!m_e.call(t,i)&&i!==r&&IR(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=p_e(e,i))||n.enumerable});return t},"__copyProps"),b_e=o(t=>E_e(IR({},"__esModule",{value:!0}),t),"__toCommonJS"),Jj={};y_e(Jj,{systemErrorRetryPolicy:o(()=>B_e,"systemErrorRetryPolicy"),systemErrorRetryPolicyName:o(()=>Vj,"systemErrorRetryPolicyName")});Wj.exports=b_e(Jj);var C_e=AE(),x_e=yd(),I_e=su(),Vj="systemErrorRetryPolicy";function B_e(t={}){return{name:Vj,sendRequest:(0,x_e.retryPolicy)([(0,C_e.exponentialRetryStrategy)({...t,ignoreHttpStatusCodes:!0})],{maxRetries:t.maxRetries??I_e.DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}o(B_e,"systemErrorRetryPolicy")});var tY=x((Lst,eY)=>{var BR=Object.defineProperty,w_e=Object.getOwnPropertyDescriptor,Q_e=Object.getOwnPropertyNames,S_e=Object.prototype.hasOwnProperty,N_e=o((t,e)=>{for(var r in e)BR(t,r,{get:e[r],enumerable:!0})},"__export"),v_e=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Q_e(e))!S_e.call(t,i)&&i!==r&&BR(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=w_e(e,i))||n.enumerable});return t},"__copyProps"),R_e=o(t=>v_e(BR({},"__esModule",{value:!0}),t),"__toCommonJS"),Xj={};N_e(Xj,{throttlingRetryPolicy:o(()=>k_e,"throttlingRetryPolicy"),throttlingRetryPolicyName:o(()=>Zj,"throttlingRetryPolicyName")});eY.exports=R_e(Xj);var P_e=uE(),__e=yd(),D_e=su(),Zj="throttlingRetryPolicy";function k_e(t={}){return{name:Zj,sendRequest:(0,__e.retryPolicy)([(0,P_e.throttlingRetryStrategy)()],{maxRetries:t.maxRetries??D_e.DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}o(k_e,"throttlingRetryPolicy")});var ri=x((Fst,pY)=>{var QR=Object.defineProperty,T_e=Object.getOwnPropertyDescriptor,O_e=Object.getOwnPropertyNames,M_e=Object.prototype.hasOwnProperty,L_e=o((t,e)=>{for(var r in e)QR(t,r,{get:e[r],enumerable:!0})},"__export"),U_e=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of O_e(e))!M_e.call(t,i)&&i!==r&&QR(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=T_e(e,i))||n.enumerable});return t},"__copyProps"),F_e=o(t=>U_e(QR({},"__esModule",{value:!0}),t),"__toCommonJS"),hY={};L_e(hY,{agentPolicy:o(()=>rY.agentPolicy,"agentPolicy"),agentPolicyName:o(()=>rY.agentPolicyName,"agentPolicyName"),decompressResponsePolicy:o(()=>nY.decompressResponsePolicy,"decompressResponsePolicy"),decompressResponsePolicyName:o(()=>nY.decompressResponsePolicyName,"decompressResponsePolicyName"),defaultRetryPolicy:o(()=>iY.defaultRetryPolicy,"defaultRetryPolicy"),defaultRetryPolicyName:o(()=>iY.defaultRetryPolicyName,"defaultRetryPolicyName"),exponentialRetryPolicy:o(()=>sY.exponentialRetryPolicy,"exponentialRetryPolicy"),exponentialRetryPolicyName:o(()=>sY.exponentialRetryPolicyName,"exponentialRetryPolicyName"),formDataPolicy:o(()=>cY.formDataPolicy,"formDataPolicy"),formDataPolicyName:o(()=>cY.formDataPolicyName,"formDataPolicyName"),getDefaultProxySettings:o(()=>wR.getDefaultProxySettings,"getDefaultProxySettings"),logPolicy:o(()=>lY.logPolicy,"logPolicy"),logPolicyName:o(()=>lY.logPolicyName,"logPolicyName"),multipartPolicy:o(()=>uY.multipartPolicy,"multipartPolicy"),multipartPolicyName:o(()=>uY.multipartPolicyName,"multipartPolicyName"),proxyPolicy:o(()=>wR.proxyPolicy,"proxyPolicy"),proxyPolicyName:o(()=>wR.proxyPolicyName,"proxyPolicyName"),redirectPolicy:o(()=>AY.redirectPolicy,"redirectPolicy"),redirectPolicyName:o(()=>AY.redirectPolicyName,"redirectPolicyName"),retryPolicy:o(()=>H_e.retryPolicy,"retryPolicy"),systemErrorRetryPolicy:o(()=>oY.systemErrorRetryPolicy,"systemErrorRetryPolicy"),systemErrorRetryPolicyName:o(()=>oY.systemErrorRetryPolicyName,"systemErrorRetryPolicyName"),throttlingRetryPolicy:o(()=>aY.throttlingRetryPolicy,"throttlingRetryPolicy"),throttlingRetryPolicyName:o(()=>aY.throttlingRetryPolicyName,"throttlingRetryPolicyName"),tlsPolicy:o(()=>dY.tlsPolicy,"tlsPolicy"),tlsPolicyName:o(()=>dY.tlsPolicyName,"tlsPolicyName"),userAgentPolicy:o(()=>fY.userAgentPolicy,"userAgentPolicy"),userAgentPolicyName:o(()=>fY.userAgentPolicyName,"userAgentPolicyName")});pY.exports=F_e(hY);var rY=qv(),nY=gv(),iY=Nv(),sY=Kj(),H_e=yd(),oY=$j(),aY=tY(),cY=Pv(),lY=ov(),uY=Vv(),wR=Fv(),AY=cv(),dY=Gv(),fY=hv()});var NR=x((qst,yY)=>{var SR=Object.defineProperty,q_e=Object.getOwnPropertyDescriptor,z_e=Object.getOwnPropertyNames,G_e=Object.prototype.hasOwnProperty,j_e=o((t,e)=>{for(var r in e)SR(t,r,{get:e[r],enumerable:!0})},"__export"),Y_e=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of z_e(e))!G_e.call(t,i)&&i!==r&&SR(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=q_e(e,i))||n.enumerable});return t},"__copyProps"),K_e=o(t=>Y_e(SR({},"__esModule",{value:!0}),t),"__toCommonJS"),gY={};j_e(gY,{logPolicy:o(()=>W_e,"logPolicy"),logPolicyName:o(()=>V_e,"logPolicyName")});yY.exports=K_e(gY);var J_e=Lp(),mY=ri(),V_e=mY.logPolicyName;function W_e(t={}){return(0,mY.logPolicy)({logger:J_e.logger.info,...t})}o(W_e,"logPolicy")});var RR=x((Gst,CY)=>{var vR=Object.defineProperty,$_e=Object.getOwnPropertyDescriptor,X_e=Object.getOwnPropertyNames,Z_e=Object.prototype.hasOwnProperty,eDe=o((t,e)=>{for(var r in e)vR(t,r,{get:e[r],enumerable:!0})},"__export"),tDe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of X_e(e))!Z_e.call(t,i)&&i!==r&&vR(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=$_e(e,i))||n.enumerable});return t},"__copyProps"),rDe=o(t=>tDe(vR({},"__esModule",{value:!0}),t),"__toCommonJS"),EY={};eDe(EY,{redirectPolicy:o(()=>iDe,"redirectPolicy"),redirectPolicyName:o(()=>nDe,"redirectPolicyName")});CY.exports=rDe(EY);var bY=ri(),nDe=bY.redirectPolicyName;function iDe(t={}){return(0,bY.redirectPolicy)(t)}o(iDe,"redirectPolicy")});var QY=x((Yst,wY)=>{var sDe=Object.create,wE=Object.defineProperty,oDe=Object.getOwnPropertyDescriptor,aDe=Object.getOwnPropertyNames,cDe=Object.getPrototypeOf,lDe=Object.prototype.hasOwnProperty,uDe=o((t,e)=>{for(var r in e)wE(t,r,{get:e[r],enumerable:!0})},"__export"),xY=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of aDe(e))!lDe.call(t,i)&&i!==r&&wE(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=oDe(e,i))||n.enumerable});return t},"__copyProps"),IY=o((t,e,r)=>(r=t!=null?sDe(cDe(t)):{},xY(e||!t||!t.__esModule?wE(r,"default",{value:t,enumerable:!0}):r,t)),"__toESM"),ADe=o(t=>xY(wE({},"__esModule",{value:!0}),t),"__toCommonJS"),BY={};uDe(BY,{getHeaderName:o(()=>dDe,"getHeaderName"),setPlatformSpecificData:o(()=>fDe,"setPlatformSpecificData")});wY.exports=ADe(BY);var PR=IY(require("node:os")),_R=IY(require("node:process"));function dDe(){return"User-Agent"}o(dDe,"getHeaderName");async function fDe(t){if(_R.default&&_R.default.versions){let e=`${PR.default.type()} ${PR.default.release()}; ${PR.default.arch()}`,r=_R.default.versions;r.bun?t.set("Bun",`${r.bun} (${e})`):r.deno?t.set("Deno",`${r.deno} (${e})`):r.node&&t.set("Node",`${r.node} (${e})`)}}o(fDe,"setPlatformSpecificData")});var QE=x((Jst,NY)=>{var DR=Object.defineProperty,hDe=Object.getOwnPropertyDescriptor,pDe=Object.getOwnPropertyNames,gDe=Object.prototype.hasOwnProperty,mDe=o((t,e)=>{for(var r in e)DR(t,r,{get:e[r],enumerable:!0})},"__export"),yDe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of pDe(e))!gDe.call(t,i)&&i!==r&&DR(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=hDe(e,i))||n.enumerable});return t},"__copyProps"),EDe=o(t=>yDe(DR({},"__esModule",{value:!0}),t),"__toCommonJS"),SY={};mDe(SY,{DEFAULT_RETRY_POLICY_COUNT:o(()=>CDe,"DEFAULT_RETRY_POLICY_COUNT"),SDK_VERSION:o(()=>bDe,"SDK_VERSION")});NY.exports=EDe(SY);var bDe="1.22.3",CDe=3});var TR=x((Wst,PY)=>{var kR=Object.defineProperty,xDe=Object.getOwnPropertyDescriptor,IDe=Object.getOwnPropertyNames,BDe=Object.prototype.hasOwnProperty,wDe=o((t,e)=>{for(var r in e)kR(t,r,{get:e[r],enumerable:!0})},"__export"),QDe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of IDe(e))!BDe.call(t,i)&&i!==r&&kR(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=xDe(e,i))||n.enumerable});return t},"__copyProps"),SDe=o(t=>QDe(kR({},"__esModule",{value:!0}),t),"__toCommonJS"),vY={};wDe(vY,{getUserAgentHeaderName:o(()=>RDe,"getUserAgentHeaderName"),getUserAgentValue:o(()=>PDe,"getUserAgentValue")});PY.exports=SDe(vY);var RY=QY(),NDe=QE();function vDe(t){let e=[];for(let[r,n]of t){let i=n?`${r}/${n}`:r;e.push(i)}return e.join(" ")}o(vDe,"getUserAgentString");function RDe(){return(0,RY.getHeaderName)()}o(RDe,"getUserAgentHeaderName");async function PDe(t){let e=new Map;e.set("core-rest-pipeline",NDe.SDK_VERSION),await(0,RY.setPlatformSpecificData)(e);let r=vDe(e);return t?`${t} ${r}`:r}o(PDe,"getUserAgentValue")});var MR=x((Xst,OY)=>{var OR=Object.defineProperty,_De=Object.getOwnPropertyDescriptor,DDe=Object.getOwnPropertyNames,kDe=Object.prototype.hasOwnProperty,TDe=o((t,e)=>{for(var r in e)OR(t,r,{get:e[r],enumerable:!0})},"__export"),ODe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of DDe(e))!kDe.call(t,i)&&i!==r&&OR(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=_De(e,i))||n.enumerable});return t},"__copyProps"),MDe=o(t=>ODe(OR({},"__esModule",{value:!0}),t),"__toCommonJS"),DY={};TDe(DY,{userAgentPolicy:o(()=>LDe,"userAgentPolicy"),userAgentPolicyName:o(()=>TY,"userAgentPolicyName")});OY.exports=MDe(DY);var kY=TR(),_Y=(0,kY.getUserAgentHeaderName)(),TY="userAgentPolicy";function LDe(t={}){let e=(0,kY.getUserAgentValue)(t.userAgentPrefix);return{name:TY,async sendRequest(r,n){return r.headers.has(_Y)||r.headers.set(_Y,await e),n(r)}}}o(LDe,"userAgentPolicy")});var FY=x((eot,UY)=>{var LR=Object.defineProperty,UDe=Object.getOwnPropertyDescriptor,FDe=Object.getOwnPropertyNames,HDe=Object.prototype.hasOwnProperty,qDe=o((t,e)=>{for(var r in e)LR(t,r,{get:e[r],enumerable:!0})},"__export"),zDe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of FDe(e))!HDe.call(t,i)&&i!==r&&LR(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=UDe(e,i))||n.enumerable});return t},"__copyProps"),GDe=o(t=>zDe(LR({},"__esModule",{value:!0}),t),"__toCommonJS"),MY={};qDe(MY,{computeSha256Hash:o(()=>YDe,"computeSha256Hash"),computeSha256Hmac:o(()=>jDe,"computeSha256Hmac")});UY.exports=GDe(MY);var LY=require("node:crypto");async function jDe(t,e,r){let n=Buffer.from(t,"base64");return(0,LY.createHmac)("sha256",n).update(e).digest(r)}o(jDe,"computeSha256Hmac");async function YDe(t,e){return(0,LY.createHash)("sha256").update(t).digest(e)}o(YDe,"computeSha256Hash")});var Up=x((rot,GY)=>{var UR=Object.defineProperty,KDe=Object.getOwnPropertyDescriptor,JDe=Object.getOwnPropertyNames,VDe=Object.prototype.hasOwnProperty,WDe=o((t,e)=>{for(var r in e)UR(t,r,{get:e[r],enumerable:!0})},"__export"),$De=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of JDe(e))!VDe.call(t,i)&&i!==r&&UR(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=KDe(e,i))||n.enumerable});return t},"__copyProps"),XDe=o(t=>$De(UR({},"__esModule",{value:!0}),t),"__toCommonJS"),zY={};WDe(zY,{Sanitizer:o(()=>ike.Sanitizer,"Sanitizer"),calculateRetryDelay:o(()=>ZDe.calculateRetryDelay,"calculateRetryDelay"),computeSha256Hash:o(()=>HY.computeSha256Hash,"computeSha256Hash"),computeSha256Hmac:o(()=>HY.computeSha256Hmac,"computeSha256Hmac"),getRandomIntegerInclusive:o(()=>eke.getRandomIntegerInclusive,"getRandomIntegerInclusive"),isBrowser:o(()=>lu.isBrowser,"isBrowser"),isBun:o(()=>lu.isBun,"isBun"),isDeno:o(()=>lu.isDeno,"isDeno"),isError:o(()=>rke.isError,"isError"),isNodeLike:o(()=>lu.isNodeLike,"isNodeLike"),isNodeRuntime:o(()=>lu.isNodeRuntime,"isNodeRuntime"),isObject:o(()=>tke.isObject,"isObject"),isReactNative:o(()=>lu.isReactNative,"isReactNative"),isWebWorker:o(()=>lu.isWebWorker,"isWebWorker"),randomUUID:o(()=>nke.randomUUID,"randomUUID"),stringToUint8Array:o(()=>qY.stringToUint8Array,"stringToUint8Array"),uint8ArrayToString:o(()=>qY.uint8ArrayToString,"uint8ArrayToString")});GY.exports=XDe(zY);var ZDe=bv(),eke=yv(),tke=sE(),rke=jN(),HY=FY(),nke=iE(),lu=kp(),qY=iu(),ike=Pp()});var jY=x(FR=>{"use strict";Object.defineProperty(FR,"__esModule",{value:!0});FR.cancelablePromiseRace=ske;async function ske(t,e){let r=new AbortController;function n(){r.abort()}o(n,"abortHandler"),e?.abortSignal?.addEventListener("abort",n);try{return await Promise.race(t.map(i=>i({abortSignal:r.signal})))}finally{r.abort(),e?.abortSignal?.removeEventListener("abort",n)}}o(ske,"cancelablePromiseRace")});var YY=x(SE=>{"use strict";Object.defineProperty(SE,"__esModule",{value:!0});SE.AbortError=void 0;var HR=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};SE.AbortError=HR});var KY=x(NE=>{"use strict";Object.defineProperty(NE,"__esModule",{value:!0});NE.AbortError=void 0;var oke=YY();Object.defineProperty(NE,"AbortError",{enumerable:!0,get:o(function(){return oke.AbortError},"get")})});var zR=x(qR=>{"use strict";Object.defineProperty(qR,"__esModule",{value:!0});qR.createAbortablePromise=cke;var ake=KY();function cke(t,e){let{cleanupBeforeAbort:r,abortSignal:n,abortErrorMsg:i}=e??{};return new Promise((s,a)=>{function c(){a(new ake.AbortError(i??"The operation was aborted."))}o(c,"rejectOnAbort");function l(){n?.removeEventListener("abort",u)}o(l,"removeListeners");function u(){r?.(),l(),c()}if(o(u,"onAbort"),n?.aborted)return c();try{t(A=>{l(),s(A)},A=>{l(),a(A)})}catch(A){a(A)}n?.addEventListener("abort",u)})}o(cke,"createAbortablePromise")});var JY=x(vE=>{"use strict";Object.defineProperty(vE,"__esModule",{value:!0});vE.delay=dke;vE.calculateRetryDelay=fke;var lke=zR(),uke=Up(),Ake="The delay was aborted.";function dke(t,e){let r,{abortSignal:n,abortErrorMsg:i}=e??{};return(0,lke.createAbortablePromise)(s=>{r=setTimeout(s,t)},{cleanupBeforeAbort:o(()=>clearTimeout(r),"cleanupBeforeAbort"),abortSignal:n,abortErrorMsg:i??Ake})}o(dke,"delay");function fke(t,e){let r=e.retryDelayInMs*Math.pow(2,t),n=Math.min(e.maxRetryDelayInMs,r);return{retryAfterInMs:n/2+(0,uke.getRandomIntegerInclusive)(0,n/2)}}o(fke,"calculateRetryDelay")});var VY=x(GR=>{"use strict";Object.defineProperty(GR,"__esModule",{value:!0});GR.getErrorMessage=pke;var hke=Up();function pke(t){if((0,hke.isError)(t))return t.message;{let e;try{typeof t=="object"&&t?e=JSON.stringify(t):e=String(t)}catch{e="[unable to stringify input]"}return`Unknown error ${e}`}}o(pke,"getErrorMessage")});var $Y=x(Fp=>{"use strict";Object.defineProperty(Fp,"__esModule",{value:!0});Fp.isDefined=jR;Fp.isObjectWithProperties=gke;Fp.objectHasProperty=WY;function jR(t){return typeof t<"u"&&t!==null}o(jR,"isDefined");function gke(t,e){if(!jR(t)||typeof t!="object")return!1;for(let r of e)if(!WY(t,r))return!1;return!0}o(gke,"isObjectWithProperties");function WY(t,e){return jR(t)&&typeof t=="object"&&e in t}o(WY,"objectHasProperty")});var Xt=x(Je=>{"use strict";Object.defineProperty(Je,"__esModule",{value:!0});Je.isWebWorker=Je.isReactNative=Je.isNodeRuntime=Je.isNodeLike=Je.isNode=Je.isDeno=Je.isBun=Je.isBrowser=Je.objectHasProperty=Je.isObjectWithProperties=Je.isDefined=Je.getErrorMessage=Je.delay=Je.createAbortablePromise=Je.cancelablePromiseRace=void 0;Je.calculateRetryDelay=xke;Je.computeSha256Hash=Ike;Je.computeSha256Hmac=Bke;Je.getRandomIntegerInclusive=wke;Je.isError=Qke;Je.isObject=Ske;Je.randomUUID=Nke;Je.uint8ArrayToString=vke;Je.stringToUint8Array=Rke;var mke=(Wr(),cn(Vr)),un=mke.__importStar(Up()),yke=jY();Object.defineProperty(Je,"cancelablePromiseRace",{enumerable:!0,get:o(function(){return yke.cancelablePromiseRace},"get")});var Eke=zR();Object.defineProperty(Je,"createAbortablePromise",{enumerable:!0,get:o(function(){return Eke.createAbortablePromise},"get")});var bke=JY();Object.defineProperty(Je,"delay",{enumerable:!0,get:o(function(){return bke.delay},"get")});var Cke=VY();Object.defineProperty(Je,"getErrorMessage",{enumerable:!0,get:o(function(){return Cke.getErrorMessage},"get")});var YR=$Y();Object.defineProperty(Je,"isDefined",{enumerable:!0,get:o(function(){return YR.isDefined},"get")});Object.defineProperty(Je,"isObjectWithProperties",{enumerable:!0,get:o(function(){return YR.isObjectWithProperties},"get")});Object.defineProperty(Je,"objectHasProperty",{enumerable:!0,get:o(function(){return YR.objectHasProperty},"get")});function xke(t,e){return un.calculateRetryDelay(t,e)}o(xke,"calculateRetryDelay");function Ike(t,e){return un.computeSha256Hash(t,e)}o(Ike,"computeSha256Hash");function Bke(t,e,r){return un.computeSha256Hmac(t,e,r)}o(Bke,"computeSha256Hmac");function wke(t,e){return un.getRandomIntegerInclusive(t,e)}o(wke,"getRandomIntegerInclusive");function Qke(t){return un.isError(t)}o(Qke,"isError");function Ske(t){return un.isObject(t)}o(Ske,"isObject");function Nke(){return un.randomUUID()}o(Nke,"randomUUID");Je.isBrowser=un.isBrowser;Je.isBun=un.isBun;Je.isDeno=un.isDeno;Je.isNode=un.isNodeLike;Je.isNodeLike=un.isNodeLike;Je.isNodeRuntime=un.isNodeRuntime;Je.isReactNative=un.isReactNative;Je.isWebWorker=un.isWebWorker;function vke(t,e){return un.uint8ArrayToString(t,e)}o(vke,"uint8ArrayToString");function Rke(t,e){return un.stringToUint8Array(t,e)}o(Rke,"stringToUint8Array")});var JR=x((bot,rK)=>{var KR=Object.defineProperty,Pke=Object.getOwnPropertyDescriptor,_ke=Object.getOwnPropertyNames,Dke=Object.prototype.hasOwnProperty,kke=o((t,e)=>{for(var r in e)KR(t,r,{get:e[r],enumerable:!0})},"__export"),Tke=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of _ke(e))!Dke.call(t,i)&&i!==r&&KR(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=Pke(e,i))||n.enumerable});return t},"__copyProps"),Oke=o(t=>Tke(KR({},"__esModule",{value:!0}),t),"__toCommonJS"),ZY={};kke(ZY,{createFile:o(()=>Hke,"createFile"),createFileFromStream:o(()=>Fke,"createFileFromStream"),getRawContent:o(()=>Uke,"getRawContent"),hasRawContent:o(()=>tK,"hasRawContent")});rK.exports=Oke(ZY);var Mke=Xt();function Lke(t){return!!(t&&typeof t.pipe=="function")}o(Lke,"isNodeReadableStream");var eK={arrayBuffer:o(()=>{throw new Error("Not implemented")},"arrayBuffer"),bytes:o(()=>{throw new Error("Not implemented")},"bytes"),slice:o(()=>{throw new Error("Not implemented")},"slice"),text:o(()=>{throw new Error("Not implemented")},"text")},RE=Symbol("rawContent");function tK(t){return typeof t[RE]=="function"}o(tK,"hasRawContent");function Uke(t){return tK(t)?t[RE]():t}o(Uke,"getRawContent");function Fke(t,e,r={}){return{...eK,type:r.type??"",lastModified:r.lastModified??new Date().getTime(),webkitRelativePath:r.webkitRelativePath??"",size:r.size??-1,name:e,stream:o(()=>{let n=t();if(Lke(n))throw new Error("Not supported: a Node stream was provided as input to createFileFromStream.");return n},"stream"),[RE]:t}}o(Fke,"createFileFromStream");function Hke(t,e,r={}){return Mke.isNodeLike?{...eK,type:r.type??"",lastModified:r.lastModified??new Date().getTime(),webkitRelativePath:r.webkitRelativePath??"",size:t.byteLength,name:e,arrayBuffer:o(async()=>t.buffer,"arrayBuffer"),stream:o(()=>new Blob([XY(t)]).stream(),"stream"),[RE]:()=>t}:new File([XY(t)],e,r)}o(Hke,"createFile");function XY(t){return"resize"in t.buffer?t:t.map(e=>e)}o(XY,"toArrayBuffer")});var WR=x((xot,aK)=>{var VR=Object.defineProperty,qke=Object.getOwnPropertyDescriptor,zke=Object.getOwnPropertyNames,Gke=Object.prototype.hasOwnProperty,jke=o((t,e)=>{for(var r in e)VR(t,r,{get:e[r],enumerable:!0})},"__export"),Yke=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of zke(e))!Gke.call(t,i)&&i!==r&&VR(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=qke(e,i))||n.enumerable});return t},"__copyProps"),Kke=o(t=>Yke(VR({},"__esModule",{value:!0}),t),"__toCommonJS"),iK={};jke(iK,{multipartPolicy:o(()=>Jke,"multipartPolicy"),multipartPolicyName:o(()=>oK,"multipartPolicyName")});aK.exports=Kke(iK);var sK=ri(),nK=JR(),oK=sK.multipartPolicyName;function Jke(){let t=(0,sK.multipartPolicy)();return{name:oK,sendRequest:o(async(e,r)=>{if(e.multipartBody)for(let n of e.multipartBody.parts)(0,nK.hasRawContent)(n.body)&&(n.body=(0,nK.getRawContent)(n.body));return t.sendRequest(e,r)},"sendRequest")}}o(Jke,"multipartPolicy")});var XR=x((Bot,uK)=>{var $R=Object.defineProperty,Vke=Object.getOwnPropertyDescriptor,Wke=Object.getOwnPropertyNames,$ke=Object.prototype.hasOwnProperty,Xke=o((t,e)=>{for(var r in e)$R(t,r,{get:e[r],enumerable:!0})},"__export"),Zke=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Wke(e))!$ke.call(t,i)&&i!==r&&$R(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=Vke(e,i))||n.enumerable});return t},"__copyProps"),eTe=o(t=>Zke($R({},"__esModule",{value:!0}),t),"__toCommonJS"),cK={};Xke(cK,{decompressResponsePolicy:o(()=>rTe,"decompressResponsePolicy"),decompressResponsePolicyName:o(()=>tTe,"decompressResponsePolicyName")});uK.exports=eTe(cK);var lK=ri(),tTe=lK.decompressResponsePolicyName;function rTe(){return(0,lK.decompressResponsePolicy)()}o(rTe,"decompressResponsePolicy")});var e2=x((Qot,fK)=>{var ZR=Object.defineProperty,nTe=Object.getOwnPropertyDescriptor,iTe=Object.getOwnPropertyNames,sTe=Object.prototype.hasOwnProperty,oTe=o((t,e)=>{for(var r in e)ZR(t,r,{get:e[r],enumerable:!0})},"__export"),aTe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of iTe(e))!sTe.call(t,i)&&i!==r&&ZR(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=nTe(e,i))||n.enumerable});return t},"__copyProps"),cTe=o(t=>aTe(ZR({},"__esModule",{value:!0}),t),"__toCommonJS"),AK={};oTe(AK,{defaultRetryPolicy:o(()=>uTe,"defaultRetryPolicy"),defaultRetryPolicyName:o(()=>lTe,"defaultRetryPolicyName")});fK.exports=cTe(AK);var dK=ri(),lTe=dK.defaultRetryPolicyName;function uTe(t={}){return(0,dK.defaultRetryPolicy)(t)}o(uTe,"defaultRetryPolicy")});var r2=x((Not,gK)=>{var t2=Object.defineProperty,ATe=Object.getOwnPropertyDescriptor,dTe=Object.getOwnPropertyNames,fTe=Object.prototype.hasOwnProperty,hTe=o((t,e)=>{for(var r in e)t2(t,r,{get:e[r],enumerable:!0})},"__export"),pTe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of dTe(e))!fTe.call(t,i)&&i!==r&&t2(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=ATe(e,i))||n.enumerable});return t},"__copyProps"),gTe=o(t=>pTe(t2({},"__esModule",{value:!0}),t),"__toCommonJS"),hK={};hTe(hK,{formDataPolicy:o(()=>yTe,"formDataPolicy"),formDataPolicyName:o(()=>mTe,"formDataPolicyName")});gK.exports=gTe(hK);var pK=ri(),mTe=pK.formDataPolicyName;function yTe(){return(0,pK.formDataPolicy)()}o(yTe,"formDataPolicy")});var s2=x((Rot,yK)=>{var n2=Object.defineProperty,ETe=Object.getOwnPropertyDescriptor,bTe=Object.getOwnPropertyNames,CTe=Object.prototype.hasOwnProperty,xTe=o((t,e)=>{for(var r in e)n2(t,r,{get:e[r],enumerable:!0})},"__export"),ITe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of bTe(e))!CTe.call(t,i)&&i!==r&&n2(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=ETe(e,i))||n.enumerable});return t},"__copyProps"),BTe=o(t=>ITe(n2({},"__esModule",{value:!0}),t),"__toCommonJS"),mK={};xTe(mK,{getDefaultProxySettings:o(()=>QTe,"getDefaultProxySettings"),proxyPolicy:o(()=>STe,"proxyPolicy"),proxyPolicyName:o(()=>wTe,"proxyPolicyName")});yK.exports=BTe(mK);var i2=ri(),wTe=i2.proxyPolicyName;function QTe(t){return(0,i2.getDefaultProxySettings)(t)}o(QTe,"getDefaultProxySettings");function STe(t,e){return(0,i2.proxyPolicy)(t,e)}o(STe,"proxyPolicy")});var a2=x((_ot,CK)=>{var o2=Object.defineProperty,NTe=Object.getOwnPropertyDescriptor,vTe=Object.getOwnPropertyNames,RTe=Object.prototype.hasOwnProperty,PTe=o((t,e)=>{for(var r in e)o2(t,r,{get:e[r],enumerable:!0})},"__export"),_Te=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of vTe(e))!RTe.call(t,i)&&i!==r&&o2(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=NTe(e,i))||n.enumerable});return t},"__copyProps"),DTe=o(t=>_Te(o2({},"__esModule",{value:!0}),t),"__toCommonJS"),EK={};PTe(EK,{setClientRequestIdPolicy:o(()=>kTe,"setClientRequestIdPolicy"),setClientRequestIdPolicyName:o(()=>bK,"setClientRequestIdPolicyName")});CK.exports=DTe(EK);var bK="setClientRequestIdPolicy";function kTe(t="x-ms-client-request-id"){return{name:bK,async sendRequest(e,r){return e.headers.has(t)||e.headers.set(t,e.requestId),r(e)}}}o(kTe,"setClientRequestIdPolicy")});var l2=x((kot,BK)=>{var c2=Object.defineProperty,TTe=Object.getOwnPropertyDescriptor,OTe=Object.getOwnPropertyNames,MTe=Object.prototype.hasOwnProperty,LTe=o((t,e)=>{for(var r in e)c2(t,r,{get:e[r],enumerable:!0})},"__export"),UTe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of OTe(e))!MTe.call(t,i)&&i!==r&&c2(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=TTe(e,i))||n.enumerable});return t},"__copyProps"),FTe=o(t=>UTe(c2({},"__esModule",{value:!0}),t),"__toCommonJS"),xK={};LTe(xK,{agentPolicy:o(()=>qTe,"agentPolicy"),agentPolicyName:o(()=>HTe,"agentPolicyName")});BK.exports=FTe(xK);var IK=ri(),HTe=IK.agentPolicyName;function qTe(t){return(0,IK.agentPolicy)(t)}o(qTe,"agentPolicy")});var A2=x((Oot,SK)=>{var u2=Object.defineProperty,zTe=Object.getOwnPropertyDescriptor,GTe=Object.getOwnPropertyNames,jTe=Object.prototype.hasOwnProperty,YTe=o((t,e)=>{for(var r in e)u2(t,r,{get:e[r],enumerable:!0})},"__export"),KTe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of GTe(e))!jTe.call(t,i)&&i!==r&&u2(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=zTe(e,i))||n.enumerable});return t},"__copyProps"),JTe=o(t=>KTe(u2({},"__esModule",{value:!0}),t),"__toCommonJS"),wK={};YTe(wK,{tlsPolicy:o(()=>WTe,"tlsPolicy"),tlsPolicyName:o(()=>VTe,"tlsPolicyName")});SK.exports=JTe(wK);var QK=ri(),VTe=QK.tlsPolicyName;function WTe(t){return(0,QK.tlsPolicy)(t)}o(WTe,"tlsPolicy")});var d2=x(Ba=>{"use strict";Object.defineProperty(Ba,"__esModule",{value:!0});Ba.TracingContextImpl=Ba.knownContextKeys=void 0;Ba.createTracingContext=$Te;Ba.knownContextKeys={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};function $Te(t={}){let e=new PE(t.parentContext);return t.span&&(e=e.setValue(Ba.knownContextKeys.span,t.span)),t.namespace&&(e=e.setValue(Ba.knownContextKeys.namespace,t.namespace)),e}o($Te,"createTracingContext");var PE=class t{static{o(this,"TracingContextImpl")}_contextMap;constructor(e){this._contextMap=e instanceof t?new Map(e._contextMap):new Map}setValue(e,r){let n=new t(this);return n._contextMap.set(e,r),n}getValue(e){return this._contextMap.get(e)}deleteValue(e){let r=new t(this);return r._contextMap.delete(e),r}};Ba.TracingContextImpl=PE});var NK=x(_E=>{"use strict";Object.defineProperty(_E,"__esModule",{value:!0});_E.state=void 0;_E.state={instrumenterImplementation:void 0}});var f2=x(Qd=>{"use strict";Object.defineProperty(Qd,"__esModule",{value:!0});Qd.createDefaultTracingSpan=vK;Qd.createDefaultInstrumenter=RK;Qd.useInstrumenter=ZTe;Qd.getInstrumenter=eOe;var XTe=d2(),DE=NK();function vK(){return{end:o(()=>{},"end"),isRecording:o(()=>!1,"isRecording"),recordException:o(()=>{},"recordException"),setAttribute:o(()=>{},"setAttribute"),setStatus:o(()=>{},"setStatus"),addEvent:o(()=>{},"addEvent")}}o(vK,"createDefaultTracingSpan");function RK(){return{createRequestHeaders:o(()=>({}),"createRequestHeaders"),parseTraceparentHeader:o(()=>{},"parseTraceparentHeader"),startSpan:o((t,e)=>({span:vK(),tracingContext:(0,XTe.createTracingContext)({parentContext:e.tracingContext})}),"startSpan"),withContext(t,e,...r){return e(...r)}}}o(RK,"createDefaultInstrumenter");function ZTe(t){DE.state.instrumenterImplementation=t}o(ZTe,"useInstrumenter");function eOe(){return DE.state.instrumenterImplementation||(DE.state.instrumenterImplementation=RK()),DE.state.instrumenterImplementation}o(eOe,"getInstrumenter")});var PK=x(p2=>{"use strict";Object.defineProperty(p2,"__esModule",{value:!0});p2.createTracingClient=tOe;var kE=f2(),h2=d2();function tOe(t){let{namespace:e,packageName:r,packageVersion:n}=t;function i(u,A,d){let f=(0,kE.getInstrumenter)().startSpan(u,{...d,packageName:r,packageVersion:n,tracingContext:A?.tracingOptions?.tracingContext}),h=f.tracingContext,g=f.span;h.getValue(h2.knownContextKeys.namespace)||(h=h.setValue(h2.knownContextKeys.namespace,e)),g.setAttribute("az.namespace",h.getValue(h2.knownContextKeys.namespace));let m=Object.assign({},A,{tracingOptions:{...A?.tracingOptions,tracingContext:h}});return{span:g,updatedOptions:m}}o(i,"startSpan");async function s(u,A,d,f){let{span:h,updatedOptions:g}=i(u,A,f);try{let m=await a(g.tracingOptions.tracingContext,()=>Promise.resolve(d(g,h)));return h.setStatus({status:"success"}),m}catch(m){throw h.setStatus({status:"error",error:m}),m}finally{h.end()}}o(s,"withSpan");function a(u,A,...d){return(0,kE.getInstrumenter)().withContext(u,A,...d)}o(a,"withContext");function c(u){return(0,kE.getInstrumenter)().parseTraceparentHeader(u)}o(c,"parseTraceparentHeader");function l(u){return(0,kE.getInstrumenter)().createRequestHeaders(u)}return o(l,"createRequestHeaders"),{startSpan:i,withSpan:s,withContext:a,parseTraceparentHeader:c,createRequestHeaders:l}}o(tOe,"createTracingClient")});var g2=x(Sd=>{"use strict";Object.defineProperty(Sd,"__esModule",{value:!0});Sd.createTracingClient=Sd.useInstrumenter=void 0;var rOe=f2();Object.defineProperty(Sd,"useInstrumenter",{enumerable:!0,get:o(function(){return rOe.useInstrumenter},"get")});var nOe=PK();Object.defineProperty(Sd,"createTracingClient",{enumerable:!0,get:o(function(){return nOe.createTracingClient},"get")})});var TE=x((Kot,kK)=>{var m2=Object.defineProperty,iOe=Object.getOwnPropertyDescriptor,sOe=Object.getOwnPropertyNames,oOe=Object.prototype.hasOwnProperty,aOe=o((t,e)=>{for(var r in e)m2(t,r,{get:e[r],enumerable:!0})},"__export"),cOe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of sOe(e))!oOe.call(t,i)&&i!==r&&m2(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=iOe(e,i))||n.enumerable});return t},"__copyProps"),lOe=o(t=>cOe(m2({},"__esModule",{value:!0}),t),"__toCommonJS"),_K={};aOe(_K,{RestError:o(()=>uOe,"RestError"),isRestError:o(()=>AOe,"isRestError")});kK.exports=lOe(_K);var DK=wd(),uOe=DK.RestError;function AOe(t){return(0,DK.isRestError)(t)}o(AOe,"isRestError")});var E2=x((Vot,MK)=>{var y2=Object.defineProperty,dOe=Object.getOwnPropertyDescriptor,fOe=Object.getOwnPropertyNames,hOe=Object.prototype.hasOwnProperty,pOe=o((t,e)=>{for(var r in e)y2(t,r,{get:e[r],enumerable:!0})},"__export"),gOe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of fOe(e))!hOe.call(t,i)&&i!==r&&y2(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=dOe(e,i))||n.enumerable});return t},"__copyProps"),mOe=o(t=>gOe(y2({},"__esModule",{value:!0}),t),"__toCommonJS"),TK={};pOe(TK,{tracingPolicy:o(()=>IOe,"tracingPolicy"),tracingPolicyName:o(()=>OK,"tracingPolicyName")});MK.exports=mOe(TK);var yOe=g2(),EOe=QE(),bOe=TR(),OE=Lp(),Hp=Xt(),COe=TE(),xOe=Up(),OK="tracingPolicy";function IOe(t={}){let e=(0,bOe.getUserAgentValue)(t.userAgentPrefix),r=new xOe.Sanitizer({additionalAllowedQueryParameters:t.additionalAllowedQueryParameters}),n=BOe();return{name:OK,async sendRequest(i,s){if(!n)return s(i);let a=await e,c={"http.url":r.sanitizeUrl(i.url),"http.method":i.method,"http.user_agent":a,requestId:i.requestId};a&&(c["http.user_agent"]=a);let{span:l,tracingContext:u}=wOe(n,i,c)??{};if(!l||!u)return s(i);try{let A=await n.withContext(u,s,i);return SOe(l,A),A}catch(A){throw QOe(l,A),A}}}}o(IOe,"tracingPolicy");function BOe(){try{return(0,yOe.createTracingClient)({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:EOe.SDK_VERSION})}catch(t){OE.logger.warning(`Error when creating the TracingClient: ${(0,Hp.getErrorMessage)(t)}`);return}}o(BOe,"tryCreateTracingClient");function wOe(t,e,r){try{let{span:n,updatedOptions:i}=t.startSpan(`HTTP ${e.method}`,{tracingOptions:e.tracingOptions},{spanKind:"client",spanAttributes:r});if(!n.isRecording()){n.end();return}let s=t.createRequestHeaders(i.tracingOptions.tracingContext);for(let[a,c]of Object.entries(s))e.headers.set(a,c);return{span:n,tracingContext:i.tracingOptions.tracingContext}}catch(n){OE.logger.warning(`Skipping creating a tracing span due to an error: ${(0,Hp.getErrorMessage)(n)}`);return}}o(wOe,"tryCreateSpan");function QOe(t,e){try{t.setStatus({status:"error",error:(0,Hp.isError)(e)?e:void 0}),(0,COe.isRestError)(e)&&e.statusCode&&t.setAttribute("http.status_code",e.statusCode),t.end()}catch(r){OE.logger.warning(`Skipping tracing span processing due to an error: ${(0,Hp.getErrorMessage)(r)}`)}}o(QOe,"tryProcessError");function SOe(t,e){try{t.setAttribute("http.status_code",e.status);let r=e.headers.get("x-ms-request-id");r&&t.setAttribute("serviceRequestId",r),e.status>=400&&t.setStatus({status:"error"}),t.end()}catch(r){OE.logger.warning(`Skipping tracing span processing due to an error: ${(0,Hp.getErrorMessage)(r)}`)}}o(SOe,"tryProcessResponse")});var C2=x(($ot,UK)=>{var b2=Object.defineProperty,NOe=Object.getOwnPropertyDescriptor,vOe=Object.getOwnPropertyNames,ROe=Object.prototype.hasOwnProperty,POe=o((t,e)=>{for(var r in e)b2(t,r,{get:e[r],enumerable:!0})},"__export"),_Oe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of vOe(e))!ROe.call(t,i)&&i!==r&&b2(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=NOe(e,i))||n.enumerable});return t},"__copyProps"),DOe=o(t=>_Oe(b2({},"__esModule",{value:!0}),t),"__toCommonJS"),LK={};POe(LK,{wrapAbortSignalLike:o(()=>kOe,"wrapAbortSignalLike")});UK.exports=DOe(LK);function kOe(t){if(t instanceof AbortSignal)return{abortSignal:t};if(t.aborted)return{abortSignal:AbortSignal.abort(t.reason)};let e=new AbortController,r=!0;function n(){r&&(t.removeEventListener("abort",i),r=!1)}o(n,"cleanup");function i(){e.abort(t.reason),n()}return o(i,"listener"),t.addEventListener("abort",i),{abortSignal:e.signal,cleanup:n}}o(kOe,"wrapAbortSignalLike")});var zK=x((Zot,qK)=>{var x2=Object.defineProperty,TOe=Object.getOwnPropertyDescriptor,OOe=Object.getOwnPropertyNames,MOe=Object.prototype.hasOwnProperty,LOe=o((t,e)=>{for(var r in e)x2(t,r,{get:e[r],enumerable:!0})},"__export"),UOe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of OOe(e))!MOe.call(t,i)&&i!==r&&x2(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=TOe(e,i))||n.enumerable});return t},"__copyProps"),FOe=o(t=>UOe(x2({},"__esModule",{value:!0}),t),"__toCommonJS"),FK={};LOe(FK,{wrapAbortSignalLikePolicy:o(()=>qOe,"wrapAbortSignalLikePolicy"),wrapAbortSignalLikePolicyName:o(()=>HK,"wrapAbortSignalLikePolicyName")});qK.exports=FOe(FK);var HOe=C2(),HK="wrapAbortSignalLikePolicy";function qOe(){return{name:HK,sendRequest:o(async(t,e)=>{if(!t.abortSignal)return e(t);let{abortSignal:r,cleanup:n}=(0,HOe.wrapAbortSignalLike)(t.abortSignal);t.abortSignal=r;try{return await e(t)}finally{n?.()}},"sendRequest")}}o(qOe,"wrapAbortSignalLikePolicy")});var JK=x((tat,KK)=>{var I2=Object.defineProperty,zOe=Object.getOwnPropertyDescriptor,GOe=Object.getOwnPropertyNames,jOe=Object.prototype.hasOwnProperty,YOe=o((t,e)=>{for(var r in e)I2(t,r,{get:e[r],enumerable:!0})},"__export"),KOe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of GOe(e))!jOe.call(t,i)&&i!==r&&I2(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=zOe(e,i))||n.enumerable});return t},"__copyProps"),JOe=o(t=>KOe(I2({},"__esModule",{value:!0}),t),"__toCommonJS"),YK={};YOe(YK,{createPipelineFromOptions:o(()=>cMe,"createPipelineFromOptions")});KK.exports=JOe(YK);var VOe=NR(),WOe=ER(),$Oe=RR(),XOe=MR(),GK=WR(),ZOe=XR(),eMe=e2(),tMe=r2(),jK=Xt(),rMe=s2(),nMe=a2(),iMe=l2(),sMe=A2(),oMe=E2(),aMe=zK();function cMe(t){let e=(0,WOe.createEmptyPipeline)();return jK.isNodeLike&&(t.agent&&e.addPolicy((0,iMe.agentPolicy)(t.agent)),t.tlsOptions&&e.addPolicy((0,sMe.tlsPolicy)(t.tlsOptions)),e.addPolicy((0,rMe.proxyPolicy)(t.proxyOptions)),e.addPolicy((0,ZOe.decompressResponsePolicy)())),e.addPolicy((0,aMe.wrapAbortSignalLikePolicy)()),e.addPolicy((0,tMe.formDataPolicy)(),{beforePolicies:[GK.multipartPolicyName]}),e.addPolicy((0,XOe.userAgentPolicy)(t.userAgentOptions)),e.addPolicy((0,nMe.setClientRequestIdPolicy)(t.telemetryOptions?.clientRequestIdHeaderName)),e.addPolicy((0,GK.multipartPolicy)(),{afterPhase:"Deserialize"}),e.addPolicy((0,eMe.defaultRetryPolicy)(t.retryOptions),{phase:"Retry"}),e.addPolicy((0,oMe.tracingPolicy)({...t.userAgentOptions,...t.loggingOptions}),{afterPhase:"Retry"}),jK.isNodeLike&&e.addPolicy((0,$Oe.redirectPolicy)(t.redirectOptions),{afterPhase:"Retry"}),e.addPolicy((0,VOe.logPolicy)(t.loggingOptions),{afterPhase:"Sign"}),e}o(cMe,"createPipelineFromOptions")});var $K=x((nat,WK)=>{var B2=Object.defineProperty,lMe=Object.getOwnPropertyDescriptor,uMe=Object.getOwnPropertyNames,AMe=Object.prototype.hasOwnProperty,dMe=o((t,e)=>{for(var r in e)B2(t,r,{get:e[r],enumerable:!0})},"__export"),fMe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of uMe(e))!AMe.call(t,i)&&i!==r&&B2(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=lMe(e,i))||n.enumerable});return t},"__copyProps"),hMe=o(t=>fMe(B2({},"__esModule",{value:!0}),t),"__toCommonJS"),VK={};dMe(VK,{createDefaultHttpClient:o(()=>mMe,"createDefaultHttpClient")});WK.exports=hMe(VK);var pMe=wd(),gMe=C2();function mMe(){let t=(0,pMe.createDefaultHttpClient)();return{async sendRequest(e){let{abortSignal:r,cleanup:n}=e.abortSignal?(0,gMe.wrapAbortSignalLike)(e.abortSignal):{};try{return e.abortSignal=r,await t.sendRequest(e)}finally{n?.()}}}}o(mMe,"createDefaultHttpClient")});var eJ=x((sat,ZK)=>{var w2=Object.defineProperty,yMe=Object.getOwnPropertyDescriptor,EMe=Object.getOwnPropertyNames,bMe=Object.prototype.hasOwnProperty,CMe=o((t,e)=>{for(var r in e)w2(t,r,{get:e[r],enumerable:!0})},"__export"),xMe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of EMe(e))!bMe.call(t,i)&&i!==r&&w2(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=yMe(e,i))||n.enumerable});return t},"__copyProps"),IMe=o(t=>xMe(w2({},"__esModule",{value:!0}),t),"__toCommonJS"),XK={};CMe(XK,{createHttpHeaders:o(()=>wMe,"createHttpHeaders")});ZK.exports=IMe(XK);var BMe=wd();function wMe(t){return(0,BMe.createHttpHeaders)(t)}o(wMe,"createHttpHeaders")});var nJ=x((aat,rJ)=>{var Q2=Object.defineProperty,QMe=Object.getOwnPropertyDescriptor,SMe=Object.getOwnPropertyNames,NMe=Object.prototype.hasOwnProperty,vMe=o((t,e)=>{for(var r in e)Q2(t,r,{get:e[r],enumerable:!0})},"__export"),RMe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of SMe(e))!NMe.call(t,i)&&i!==r&&Q2(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=QMe(e,i))||n.enumerable});return t},"__copyProps"),PMe=o(t=>RMe(Q2({},"__esModule",{value:!0}),t),"__toCommonJS"),tJ={};vMe(tJ,{createPipelineRequest:o(()=>DMe,"createPipelineRequest")});rJ.exports=PMe(tJ);var _Me=wd();function DMe(t){return(0,_Me.createPipelineRequest)(t)}o(DMe,"createPipelineRequest")});var aJ=x((lat,oJ)=>{var S2=Object.defineProperty,kMe=Object.getOwnPropertyDescriptor,TMe=Object.getOwnPropertyNames,OMe=Object.prototype.hasOwnProperty,MMe=o((t,e)=>{for(var r in e)S2(t,r,{get:e[r],enumerable:!0})},"__export"),LMe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of TMe(e))!OMe.call(t,i)&&i!==r&&S2(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=kMe(e,i))||n.enumerable});return t},"__copyProps"),UMe=o(t=>LMe(S2({},"__esModule",{value:!0}),t),"__toCommonJS"),iJ={};MMe(iJ,{exponentialRetryPolicy:o(()=>HMe,"exponentialRetryPolicy"),exponentialRetryPolicyName:o(()=>FMe,"exponentialRetryPolicyName")});oJ.exports=UMe(iJ);var sJ=ri(),FMe=sJ.exponentialRetryPolicyName;function HMe(t={}){return(0,sJ.exponentialRetryPolicy)(t)}o(HMe,"exponentialRetryPolicy")});var AJ=x((Aat,uJ)=>{var N2=Object.defineProperty,qMe=Object.getOwnPropertyDescriptor,zMe=Object.getOwnPropertyNames,GMe=Object.prototype.hasOwnProperty,jMe=o((t,e)=>{for(var r in e)N2(t,r,{get:e[r],enumerable:!0})},"__export"),YMe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of zMe(e))!GMe.call(t,i)&&i!==r&&N2(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=qMe(e,i))||n.enumerable});return t},"__copyProps"),KMe=o(t=>YMe(N2({},"__esModule",{value:!0}),t),"__toCommonJS"),cJ={};jMe(cJ,{systemErrorRetryPolicy:o(()=>VMe,"systemErrorRetryPolicy"),systemErrorRetryPolicyName:o(()=>JMe,"systemErrorRetryPolicyName")});uJ.exports=KMe(cJ);var lJ=ri(),JMe=lJ.systemErrorRetryPolicyName;function VMe(t={}){return(0,lJ.systemErrorRetryPolicy)(t)}o(VMe,"systemErrorRetryPolicy")});var pJ=x((fat,hJ)=>{var v2=Object.defineProperty,WMe=Object.getOwnPropertyDescriptor,$Me=Object.getOwnPropertyNames,XMe=Object.prototype.hasOwnProperty,ZMe=o((t,e)=>{for(var r in e)v2(t,r,{get:e[r],enumerable:!0})},"__export"),eLe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of $Me(e))!XMe.call(t,i)&&i!==r&&v2(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=WMe(e,i))||n.enumerable});return t},"__copyProps"),tLe=o(t=>eLe(v2({},"__esModule",{value:!0}),t),"__toCommonJS"),dJ={};ZMe(dJ,{throttlingRetryPolicy:o(()=>nLe,"throttlingRetryPolicy"),throttlingRetryPolicyName:o(()=>rLe,"throttlingRetryPolicyName")});hJ.exports=tLe(dJ);var fJ=ri(),rLe=fJ.throttlingRetryPolicyName;function nLe(t={}){return(0,fJ.throttlingRetryPolicy)(t)}o(nLe,"throttlingRetryPolicy")});var yJ=x((pat,mJ)=>{var R2=Object.defineProperty,iLe=Object.getOwnPropertyDescriptor,sLe=Object.getOwnPropertyNames,oLe=Object.prototype.hasOwnProperty,aLe=o((t,e)=>{for(var r in e)R2(t,r,{get:e[r],enumerable:!0})},"__export"),cLe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of sLe(e))!oLe.call(t,i)&&i!==r&&R2(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=iLe(e,i))||n.enumerable});return t},"__copyProps"),lLe=o(t=>cLe(R2({},"__esModule",{value:!0}),t),"__toCommonJS"),gJ={};aLe(gJ,{retryPolicy:o(()=>hLe,"retryPolicy")});mJ.exports=lLe(gJ);var uLe=cu(),ALe=QE(),dLe=ri(),fLe=(0,uLe.createClientLogger)("core-rest-pipeline retryPolicy");function hLe(t,e={maxRetries:ALe.DEFAULT_RETRY_POLICY_COUNT}){return(0,dLe.retryPolicy)(t,{logger:fLe,...e})}o(hLe,"retryPolicy")});var _2=x((mat,CJ)=>{var P2=Object.defineProperty,pLe=Object.getOwnPropertyDescriptor,gLe=Object.getOwnPropertyNames,mLe=Object.prototype.hasOwnProperty,yLe=o((t,e)=>{for(var r in e)P2(t,r,{get:e[r],enumerable:!0})},"__export"),ELe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of gLe(e))!mLe.call(t,i)&&i!==r&&P2(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=pLe(e,i))||n.enumerable});return t},"__copyProps"),bLe=o(t=>ELe(P2({},"__esModule",{value:!0}),t),"__toCommonJS"),EJ={};yLe(EJ,{DEFAULT_CYCLER_OPTIONS:o(()=>bJ,"DEFAULT_CYCLER_OPTIONS"),createTokenCycler:o(()=>ILe,"createTokenCycler")});CJ.exports=bLe(EJ);var CLe=Xt(),bJ={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:1e3*60*2};async function xLe(t,e,r){async function n(){if(Date.now()t.getToken(l,u),"tryGetAccessToken"),s.retryIntervalInMs,n?.expiresOnTimestamp??Date.now()).then(d=>(r=null,n=d,i=u.tenantId,n)).catch(d=>{throw r=null,n=null,i=void 0,d})),r}return o(c,"refresh"),async(l,u)=>{let A=!!u.claims,d=i!==u.tenantId;return A&&(n=null),d||A||a.mustRefresh?c(l,u):(a.shouldRefresh&&c(l,u),n)}}o(ILe,"createTokenCycler")});var vJ=x((Eat,NJ)=>{var D2=Object.defineProperty,BLe=Object.getOwnPropertyDescriptor,wLe=Object.getOwnPropertyNames,QLe=Object.prototype.hasOwnProperty,SLe=o((t,e)=>{for(var r in e)D2(t,r,{get:e[r],enumerable:!0})},"__export"),NLe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of wLe(e))!QLe.call(t,i)&&i!==r&&D2(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=BLe(e,i))||n.enumerable});return t},"__copyProps"),vLe=o(t=>NLe(D2({},"__esModule",{value:!0}),t),"__toCommonJS"),wJ={};SLe(wJ,{bearerTokenAuthenticationPolicy:o(()=>kLe,"bearerTokenAuthenticationPolicy"),bearerTokenAuthenticationPolicyName:o(()=>QJ,"bearerTokenAuthenticationPolicyName"),parseChallenges:o(()=>SJ,"parseChallenges")});NJ.exports=vLe(wJ);var RLe=_2(),PLe=Lp(),_Le=TE(),QJ="bearerTokenAuthenticationPolicy";async function ME(t,e){try{return[await e(t),void 0]}catch(r){if((0,_Le.isRestError)(r)&&r.response)return[r.response,r];throw r}}o(ME,"trySendRequest");async function DLe(t){let{scopes:e,getAccessToken:r,request:n}=t,i={abortSignal:n.abortSignal,tracingOptions:n.tracingOptions,enableCae:!0},s=await r(e,i);s&&t.request.headers.set("Authorization",`Bearer ${s.token}`)}o(DLe,"defaultAuthorizeRequest");function xJ(t){return t.status===401&&t.headers.has("WWW-Authenticate")}o(xJ,"isChallengeResponse");async function IJ(t,e){let{scopes:r}=t,n=await t.getAccessToken(r,{enableCae:!0,claims:e});return n?(t.request.headers.set("Authorization",`${n.tokenType??"Bearer"} ${n.token}`),!0):!1}o(IJ,"authorizeRequestOnCaeChallenge");function kLe(t){let{credential:e,scopes:r,challengeCallbacks:n}=t,i=t.logger||PLe.logger,s={authorizeRequest:n?.authorizeRequest?.bind(n)??DLe,authorizeRequestOnChallenge:n?.authorizeRequestOnChallenge?.bind(n)},a=e?(0,RLe.createTokenCycler)(e):()=>Promise.resolve(null);return{name:QJ,async sendRequest(c,l){if(!c.url.toLowerCase().startsWith("https://"))throw new Error("Bearer token authentication is not permitted for non-TLS protected (non-https) URLs.");await s.authorizeRequest({scopes:Array.isArray(r)?r:[r],request:c,getAccessToken:a,logger:i});let u,A,d;if([u,A]=await ME(c,l),xJ(u)){let f=BJ(u.headers.get("WWW-Authenticate"));if(f){let h;try{h=atob(f)}catch{return i.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${f}`),u}d=await IJ({scopes:Array.isArray(r)?r:[r],response:u,request:c,getAccessToken:a,logger:i},h),d&&([u,A]=await ME(c,l))}else if(s.authorizeRequestOnChallenge&&(d=await s.authorizeRequestOnChallenge({scopes:Array.isArray(r)?r:[r],request:c,response:u,getAccessToken:a,logger:i}),d&&([u,A]=await ME(c,l)),xJ(u)&&(f=BJ(u.headers.get("WWW-Authenticate")),f))){let h;try{h=atob(f)}catch{return i.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${f}`),u}d=await IJ({scopes:Array.isArray(r)?r:[r],response:u,request:c,getAccessToken:a,logger:i},h),d&&([u,A]=await ME(c,l))}}if(A)throw A;return u}}}o(kLe,"bearerTokenAuthenticationPolicy");function SJ(t){let e=/(\w+)\s+((?:\w+=(?:"[^"]*"|[^,]*),?\s*)+)/g,r=/(\w+)="([^"]*)"/g,n=[],i;for(;(i=e.exec(t))!==null;){let s=i[1],a=i[2],c={},l;for(;(l=r.exec(a))!==null;)c[l[1]]=l[2];n.push({scheme:s,params:c})}return n}o(SJ,"parseChallenges");function BJ(t){return t?SJ(t).find(r=>r.scheme==="Bearer"&&r.params.claims&&r.params.error==="insufficient_claims")?.params.claims:void 0}o(BJ,"getCaeChallengeClaims")});var DJ=x((Cat,_J)=>{var k2=Object.defineProperty,TLe=Object.getOwnPropertyDescriptor,OLe=Object.getOwnPropertyNames,MLe=Object.prototype.hasOwnProperty,LLe=o((t,e)=>{for(var r in e)k2(t,r,{get:e[r],enumerable:!0})},"__export"),ULe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of OLe(e))!MLe.call(t,i)&&i!==r&&k2(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=TLe(e,i))||n.enumerable});return t},"__copyProps"),FLe=o(t=>ULe(k2({},"__esModule",{value:!0}),t),"__toCommonJS"),RJ={};LLe(RJ,{ndJsonPolicy:o(()=>HLe,"ndJsonPolicy"),ndJsonPolicyName:o(()=>PJ,"ndJsonPolicyName")});_J.exports=FLe(RJ);var PJ="ndJsonPolicy";function HLe(){return{name:PJ,async sendRequest(t,e){if(typeof t.body=="string"&&t.body.startsWith("[")){let r=JSON.parse(t.body);Array.isArray(r)&&(t.body=r.map(n=>JSON.stringify(n)+` +`).join(""))}return e(t)}}}o(HLe,"ndJsonPolicy")});var MJ=x((Iat,OJ)=>{var O2=Object.defineProperty,qLe=Object.getOwnPropertyDescriptor,zLe=Object.getOwnPropertyNames,GLe=Object.prototype.hasOwnProperty,jLe=o((t,e)=>{for(var r in e)O2(t,r,{get:e[r],enumerable:!0})},"__export"),YLe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of zLe(e))!GLe.call(t,i)&&i!==r&&O2(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=qLe(e,i))||n.enumerable});return t},"__copyProps"),KLe=o(t=>YLe(O2({},"__esModule",{value:!0}),t),"__toCommonJS"),TJ={};jLe(TJ,{auxiliaryAuthenticationHeaderPolicy:o(()=>$Le,"auxiliaryAuthenticationHeaderPolicy"),auxiliaryAuthenticationHeaderPolicyName:o(()=>T2,"auxiliaryAuthenticationHeaderPolicyName")});OJ.exports=KLe(TJ);var JLe=_2(),VLe=Lp(),T2="auxiliaryAuthenticationHeaderPolicy",kJ="x-ms-authorization-auxiliary";async function WLe(t){let{scopes:e,getAccessToken:r,request:n}=t,i={abortSignal:n.abortSignal,tracingOptions:n.tracingOptions};return(await r(e,i))?.token??""}o(WLe,"sendAuthorizeRequest");function $Le(t){let{credentials:e,scopes:r}=t,n=t.logger||VLe.logger,i=new WeakMap;return{name:T2,async sendRequest(s,a){if(!s.url.toLowerCase().startsWith("https://"))throw new Error("Bearer token authentication for auxiliary header is not permitted for non-TLS protected (non-https) URLs.");if(!e||e.length===0)return n.info(`${T2} header will not be set due to empty credentials.`),a(s);let c=[];for(let u of e){let A=i.get(u);A||(A=(0,JLe.createTokenCycler)(u),i.set(u,A)),c.push(WLe({scopes:Array.isArray(r)?r:[r],request:s,getAccessToken:A,logger:n}))}let l=(await Promise.all(c)).filter(u=>!!u);return l.length===0?(n.warning(`None of the auxiliary tokens are valid. ${kJ} header will not be set.`),a(s)):(s.headers.set(kJ,l.map(u=>`Bearer ${u}`).join(", ")),a(s))}}}o($Le,"auxiliaryAuthenticationHeaderPolicy")});var Lr=x((wat,nV)=>{var L2=Object.defineProperty,XLe=Object.getOwnPropertyDescriptor,ZLe=Object.getOwnPropertyNames,eUe=Object.prototype.hasOwnProperty,tUe=o((t,e)=>{for(var r in e)L2(t,r,{get:e[r],enumerable:!0})},"__export"),rUe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of ZLe(e))!eUe.call(t,i)&&i!==r&&L2(t,i,{get:o(()=>e[i],"get"),enumerable:!(n=XLe(e,i))||n.enumerable});return t},"__copyProps"),nUe=o(t=>rUe(L2({},"__esModule",{value:!0}),t),"__toCommonJS"),rV={};tUe(rV,{RestError:o(()=>LJ.RestError,"RestError"),agentPolicy:o(()=>eV.agentPolicy,"agentPolicy"),agentPolicyName:o(()=>eV.agentPolicyName,"agentPolicyName"),auxiliaryAuthenticationHeaderPolicy:o(()=>ZJ.auxiliaryAuthenticationHeaderPolicy,"auxiliaryAuthenticationHeaderPolicy"),auxiliaryAuthenticationHeaderPolicyName:o(()=>ZJ.auxiliaryAuthenticationHeaderPolicyName,"auxiliaryAuthenticationHeaderPolicyName"),bearerTokenAuthenticationPolicy:o(()=>$J.bearerTokenAuthenticationPolicy,"bearerTokenAuthenticationPolicy"),bearerTokenAuthenticationPolicyName:o(()=>$J.bearerTokenAuthenticationPolicyName,"bearerTokenAuthenticationPolicyName"),createDefaultHttpClient:o(()=>oUe.createDefaultHttpClient,"createDefaultHttpClient"),createEmptyPipeline:o(()=>iUe.createEmptyPipeline,"createEmptyPipeline"),createFile:o(()=>tV.createFile,"createFile"),createFileFromStream:o(()=>tV.createFileFromStream,"createFileFromStream"),createHttpHeaders:o(()=>aUe.createHttpHeaders,"createHttpHeaders"),createPipelineFromOptions:o(()=>sUe.createPipelineFromOptions,"createPipelineFromOptions"),createPipelineRequest:o(()=>cUe.createPipelineRequest,"createPipelineRequest"),decompressResponsePolicy:o(()=>UJ.decompressResponsePolicy,"decompressResponsePolicy"),decompressResponsePolicyName:o(()=>UJ.decompressResponsePolicyName,"decompressResponsePolicyName"),defaultRetryPolicy:o(()=>uUe.defaultRetryPolicy,"defaultRetryPolicy"),exponentialRetryPolicy:o(()=>FJ.exponentialRetryPolicy,"exponentialRetryPolicy"),exponentialRetryPolicyName:o(()=>FJ.exponentialRetryPolicyName,"exponentialRetryPolicyName"),formDataPolicy:o(()=>WJ.formDataPolicy,"formDataPolicy"),formDataPolicyName:o(()=>WJ.formDataPolicyName,"formDataPolicyName"),getDefaultProxySettings:o(()=>M2.getDefaultProxySettings,"getDefaultProxySettings"),isRestError:o(()=>LJ.isRestError,"isRestError"),logPolicy:o(()=>qJ.logPolicy,"logPolicy"),logPolicyName:o(()=>qJ.logPolicyName,"logPolicyName"),multipartPolicy:o(()=>zJ.multipartPolicy,"multipartPolicy"),multipartPolicyName:o(()=>zJ.multipartPolicyName,"multipartPolicyName"),ndJsonPolicy:o(()=>XJ.ndJsonPolicy,"ndJsonPolicy"),ndJsonPolicyName:o(()=>XJ.ndJsonPolicyName,"ndJsonPolicyName"),proxyPolicy:o(()=>M2.proxyPolicy,"proxyPolicy"),proxyPolicyName:o(()=>M2.proxyPolicyName,"proxyPolicyName"),redirectPolicy:o(()=>GJ.redirectPolicy,"redirectPolicy"),redirectPolicyName:o(()=>GJ.redirectPolicyName,"redirectPolicyName"),retryPolicy:o(()=>lUe.retryPolicy,"retryPolicy"),setClientRequestIdPolicy:o(()=>HJ.setClientRequestIdPolicy,"setClientRequestIdPolicy"),setClientRequestIdPolicyName:o(()=>HJ.setClientRequestIdPolicyName,"setClientRequestIdPolicyName"),systemErrorRetryPolicy:o(()=>jJ.systemErrorRetryPolicy,"systemErrorRetryPolicy"),systemErrorRetryPolicyName:o(()=>jJ.systemErrorRetryPolicyName,"systemErrorRetryPolicyName"),throttlingRetryPolicy:o(()=>YJ.throttlingRetryPolicy,"throttlingRetryPolicy"),throttlingRetryPolicyName:o(()=>YJ.throttlingRetryPolicyName,"throttlingRetryPolicyName"),tlsPolicy:o(()=>VJ.tlsPolicy,"tlsPolicy"),tlsPolicyName:o(()=>VJ.tlsPolicyName,"tlsPolicyName"),tracingPolicy:o(()=>KJ.tracingPolicy,"tracingPolicy"),tracingPolicyName:o(()=>KJ.tracingPolicyName,"tracingPolicyName"),userAgentPolicy:o(()=>JJ.userAgentPolicy,"userAgentPolicy"),userAgentPolicyName:o(()=>JJ.userAgentPolicyName,"userAgentPolicyName")});nV.exports=nUe(rV);var iUe=ER(),sUe=JK(),oUe=$K(),aUe=eJ(),cUe=nJ(),LJ=TE(),UJ=XR(),FJ=aJ(),HJ=a2(),qJ=NR(),zJ=WR(),M2=s2(),GJ=RR(),jJ=AJ(),YJ=pJ(),lUe=yJ(),KJ=E2(),uUe=e2(),JJ=MR(),VJ=A2(),WJ=r2(),$J=vJ(),XJ=DJ(),ZJ=MJ(),eV=l2(),tV=JR()});var iV=x(LE=>{"use strict";Object.defineProperty(LE,"__esModule",{value:!0});LE.AzureKeyCredential=void 0;var U2=class{static{o(this,"AzureKeyCredential")}_key;get key(){return this._key}constructor(e){if(!e)throw new Error("key must be a non-empty string");this._key=e}update(e){this._key=e}};LE.AzureKeyCredential=U2});var sV=x(F2=>{"use strict";Object.defineProperty(F2,"__esModule",{value:!0});F2.isKeyCredential=dUe;var AUe=Xt();function dUe(t){return(0,AUe.isObjectWithProperties)(t,["key"])&&typeof t.key=="string"}o(dUe,"isKeyCredential")});var oV=x(qp=>{"use strict";Object.defineProperty(qp,"__esModule",{value:!0});qp.AzureNamedKeyCredential=void 0;qp.isNamedKeyCredential=hUe;var fUe=Xt(),H2=class{static{o(this,"AzureNamedKeyCredential")}_key;_name;get key(){return this._key}get name(){return this._name}constructor(e,r){if(!e||!r)throw new TypeError("name and key must be non-empty strings");this._name=e,this._key=r}update(e,r){if(!e||!r)throw new TypeError("newName and newKey must be non-empty strings");this._name=e,this._key=r}};qp.AzureNamedKeyCredential=H2;function hUe(t){return(0,fUe.isObjectWithProperties)(t,["name","key"])&&typeof t.key=="string"&&typeof t.name=="string"}o(hUe,"isNamedKeyCredential")});var aV=x(zp=>{"use strict";Object.defineProperty(zp,"__esModule",{value:!0});zp.AzureSASCredential=void 0;zp.isSASCredential=gUe;var pUe=Xt(),q2=class{static{o(this,"AzureSASCredential")}_signature;get signature(){return this._signature}constructor(e){if(!e)throw new Error("shared access signature must be a non-empty string");this._signature=e}update(e){if(!e)throw new Error("shared access signature must be a non-empty string");this._signature=e}};zp.AzureSASCredential=q2;function gUe(t){return(0,pUe.isObjectWithProperties)(t,["signature"])&&typeof t.signature=="string"}o(gUe,"isSASCredential")});var cV=x(Gp=>{"use strict";Object.defineProperty(Gp,"__esModule",{value:!0});Gp.isBearerToken=mUe;Gp.isPopToken=yUe;Gp.isTokenCredential=EUe;function mUe(t){return!t.tokenType||t.tokenType==="Bearer"}o(mUe,"isBearerToken");function yUe(t){return t.tokenType==="pop"}o(yUe,"isPopToken");function EUe(t){let e=t;return e&&typeof e.getToken=="function"&&(e.signRequest===void 0||e.getToken.length>0)}o(EUe,"isTokenCredential")});var Nd=x(En=>{"use strict";Object.defineProperty(En,"__esModule",{value:!0});En.isTokenCredential=En.isSASCredential=En.AzureSASCredential=En.isNamedKeyCredential=En.AzureNamedKeyCredential=En.isKeyCredential=En.AzureKeyCredential=void 0;var bUe=iV();Object.defineProperty(En,"AzureKeyCredential",{enumerable:!0,get:o(function(){return bUe.AzureKeyCredential},"get")});var CUe=sV();Object.defineProperty(En,"isKeyCredential",{enumerable:!0,get:o(function(){return CUe.isKeyCredential},"get")});var lV=oV();Object.defineProperty(En,"AzureNamedKeyCredential",{enumerable:!0,get:o(function(){return lV.AzureNamedKeyCredential},"get")});Object.defineProperty(En,"isNamedKeyCredential",{enumerable:!0,get:o(function(){return lV.isNamedKeyCredential},"get")});var uV=aV();Object.defineProperty(En,"AzureSASCredential",{enumerable:!0,get:o(function(){return uV.AzureSASCredential},"get")});Object.defineProperty(En,"isSASCredential",{enumerable:!0,get:o(function(){return uV.isSASCredential},"get")});var xUe=cV();Object.defineProperty(En,"isTokenCredential",{enumerable:!0,get:o(function(){return xUe.isTokenCredential},"get")})});var z2=x(_c=>{"use strict";Object.defineProperty(_c,"__esModule",{value:!0});_c.disableKeepAlivePolicyName=void 0;_c.createDisableKeepAlivePolicy=IUe;_c.pipelineContainsDisableKeepAlivePolicy=BUe;_c.disableKeepAlivePolicyName="DisableKeepAlivePolicy";function IUe(){return{name:_c.disableKeepAlivePolicyName,async sendRequest(t,e){return t.disableKeepAlive=!0,e(t)}}}o(IUe,"createDisableKeepAlivePolicy");function BUe(t){return t.getOrderedPolicies().some(e=>e.name===_c.disableKeepAlivePolicyName)}o(BUe,"pipelineContainsDisableKeepAlivePolicy")});var G2=x(vd=>{"use strict";Object.defineProperty(vd,"__esModule",{value:!0});vd.encodeString=wUe;vd.encodeByteArray=QUe;vd.decodeString=SUe;vd.decodeStringToString=NUe;function wUe(t){return Buffer.from(t).toString("base64")}o(wUe,"encodeString");function QUe(t){return(t instanceof Buffer?t:Buffer.from(t.buffer)).toString("base64")}o(QUe,"encodeByteArray");function SUe(t){return Buffer.from(t,"base64")}o(SUe,"decodeString");function NUe(t){return Buffer.from(t,"base64").toString()}o(NUe,"decodeStringToString")});var jp=x(Rd=>{"use strict";Object.defineProperty(Rd,"__esModule",{value:!0});Rd.XML_CHARKEY=Rd.XML_ATTRKEY=void 0;Rd.XML_ATTRKEY="$";Rd.XML_CHARKEY="_"});var j2=x(Pd=>{"use strict";Object.defineProperty(Pd,"__esModule",{value:!0});Pd.isPrimitiveBody=AV;Pd.isDuration=RUe;Pd.isValidUuid=_Ue;Pd.flattenResponse=kUe;function AV(t,e){return e!=="Composite"&&e!=="Dictionary"&&(typeof t=="string"||typeof t=="number"||typeof t=="boolean"||e?.match(/^(Date|DateTime|DateTimeRfc1123|UnixTime|ByteArray|Base64Url)$/i)!==null||t===void 0||t===null)}o(AV,"isPrimitiveBody");var vUe=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function RUe(t){return vUe.test(t)}o(RUe,"isDuration");var PUe=/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/i;function _Ue(t){return PUe.test(t)}o(_Ue,"isValidUuid");function DUe(t){let e={...t.headers,...t.body};return t.hasNullableType&&Object.getOwnPropertyNames(e).length===0?t.shouldWrapBody?{body:null}:null:t.shouldWrapBody?{...t.headers,body:t.body}:e}o(DUe,"handleNullableResponseAndWrappableBody");function kUe(t,e){let r=t.parsedHeaders;if(t.request.method==="HEAD")return{...r,body:t.parsedBody};let n=e&&e.bodyMapper,i=!!n?.nullable,s=n?.type.name;if(s==="Stream")return{...r,blobBody:t.blobBody,readableStreamBody:t.readableStreamBody};let a=s==="Composite"&&n.type.modelProperties||{},c=Object.keys(a).some(l=>a[l].serializedName==="");if(s==="Sequence"||c){let l=t.parsedBody??[];for(let u of Object.keys(a))a[u].serializedName&&(l[u]=t.parsedBody?.[u]);if(r)for(let u of Object.keys(r))l[u]=r[u];return i&&!t.parsedBody&&!r&&Object.getOwnPropertyNames(a).length===0?null:l}return DUe({body:t.parsedBody,headers:r,hasNullableType:i,shouldWrapBody:AV(t.parsedBody,s)})}o(kUe,"flattenResponse")});var Kp=x(Yp=>{"use strict";Object.defineProperty(Yp,"__esModule",{value:!0});Yp.MapperTypeNames=void 0;Yp.createSerializer=OUe;var TUe=(Wr(),cn(Vr)),FE=TUe.__importStar(G2()),Zr=jp(),fV=j2(),Y2=class{static{o(this,"SerializerImpl")}modelMappers;isXML;constructor(e={},r=!1){this.modelMappers=e,this.isXML=r}validateConstraints(e,r,n){let i=o((s,a)=>{throw new Error(`"${n}" with value "${r}" should satisfy the constraint "${s}": ${a}.`)},"failValidation");if(e.constraints&&r!==void 0&&r!==null){let{ExclusiveMaximum:s,ExclusiveMinimum:a,InclusiveMaximum:c,InclusiveMinimum:l,MaxItems:u,MaxLength:A,MinItems:d,MinLength:f,MultipleOf:h,Pattern:g,UniqueItems:m}=e.constraints;if(s!==void 0&&r>=s&&i("ExclusiveMaximum",s),a!==void 0&&r<=a&&i("ExclusiveMinimum",a),c!==void 0&&r>c&&i("InclusiveMaximum",c),l!==void 0&&ru&&i("MaxItems",u),A!==void 0&&r.length>A&&i("MaxLength",A),d!==void 0&&r.lengthI.indexOf(b)!==y)&&i("UniqueItems",m)}}serialize(e,r,n,i={xml:{}}){let s={xml:{rootName:i.xml.rootName??"",includeRoot:i.xml.includeRoot??!1,xmlCharKey:i.xml.xmlCharKey??Zr.XML_CHARKEY}},a={},c=e.type.name;n||(n=e.serializedName),c.match(/^Sequence$/i)!==null&&(a=[]),e.isConstant&&(r=e.defaultValue);let{required:l,nullable:u}=e;if(l&&u&&r===void 0)throw new Error(`${n} cannot be undefined.`);if(l&&!u&&r==null)throw new Error(`${n} cannot be null or undefined.`);if(!l&&u===!1&&r===null)throw new Error(`${n} cannot be null.`);return r==null||c.match(/^any$/i)!==null?a=r:c.match(/^(Number|String|Boolean|Object|Stream|Uuid)$/i)!==null?a=qUe(c,n,r):c.match(/^Enum$/i)!==null?a=zUe(n,e.type.allowedValues,r):c.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)!==null?a=YUe(c,r,n):c.match(/^ByteArray$/i)!==null?a=GUe(n,r):c.match(/^Base64Url$/i)!==null?a=jUe(n,r):c.match(/^Sequence$/i)!==null?a=KUe(this,e,r,n,!!this.isXML,s):c.match(/^Dictionary$/i)!==null?a=JUe(this,e,r,n,!!this.isXML,s):c.match(/^Composite$/i)!==null&&(a=WUe(this,e,r,n,!!this.isXML,s)),a}deserialize(e,r,n,i={xml:{}}){let s={xml:{rootName:i.xml.rootName??"",includeRoot:i.xml.includeRoot??!1,xmlCharKey:i.xml.xmlCharKey??Zr.XML_CHARKEY},ignoreUnknownProperties:i.ignoreUnknownProperties??!1};if(r==null)return this.isXML&&e.type.name==="Sequence"&&!e.xmlIsWrapped&&(r=[]),e.defaultValue!==void 0&&(r=e.defaultValue),r;let a,c=e.type.name;if(n||(n=e.serializedName),c.match(/^Composite$/i)!==null)a=XUe(this,e,r,n,s);else{if(this.isXML){let l=s.xml.xmlCharKey;r[Zr.XML_ATTRKEY]!==void 0&&r[l]!==void 0&&(r=r[l])}c.match(/^Number$/i)!==null?(a=parseFloat(r),isNaN(a)&&(a=r)):c.match(/^Boolean$/i)!==null?r==="true"?a=!0:r==="false"?a=!1:a=r:c.match(/^(String|Enum|Object|Stream|Uuid|TimeSpan|any)$/i)!==null?a=r:c.match(/^(Date|DateTime|DateTimeRfc1123)$/i)!==null?a=new Date(r):c.match(/^UnixTime$/i)!==null?a=HUe(r):c.match(/^ByteArray$/i)!==null?a=FE.decodeString(r):c.match(/^Base64Url$/i)!==null?a=UUe(r):c.match(/^Sequence$/i)!==null?a=e3e(this,e,r,n,s):c.match(/^Dictionary$/i)!==null&&(a=ZUe(this,e,r,n,s))}return e.isConstant&&(a=e.defaultValue),a}};function OUe(t={},e=!1){return new Y2(t,e)}o(OUe,"createSerializer");function MUe(t,e){let r=t.length;for(;r-1>=0&&t[r-1]===e;)--r;return t.substr(0,r)}o(MUe,"trimEnd");function LUe(t){if(!t)return;if(!(t instanceof Uint8Array))throw new Error("Please provide an input of type Uint8Array for converting to Base64Url.");let e=FE.encodeByteArray(t);return MUe(e,"=").replace(/\+/g,"-").replace(/\//g,"_")}o(LUe,"bufferToBase64Url");function UUe(t){if(t){if(t&&typeof t.valueOf()!="string")throw new Error("Please provide an input of type string for converting to Uint8Array");return t=t.replace(/-/g,"+").replace(/_/g,"/"),FE.decodeString(t)}}o(UUe,"base64UrlToByteArray");function K2(t){let e=[],r="";if(t){let n=t.split(".");for(let i of n)i.charAt(i.length-1)==="\\"?r+=i.substr(0,i.length-1)+".":(r+=i,e.push(r),r="")}return e}o(K2,"splitSerializeName");function FUe(t){if(t)return typeof t.valueOf()=="string"&&(t=new Date(t)),Math.floor(t.getTime()/1e3)}o(FUe,"dateToUnixTime");function HUe(t){if(t)return new Date(t*1e3)}o(HUe,"unixTimeToDate");function qUe(t,e,r){if(r!=null){if(t.match(/^Number$/i)!==null){if(typeof r!="number")throw new Error(`${e} with value ${r} must be of type number.`)}else if(t.match(/^String$/i)!==null){if(typeof r.valueOf()!="string")throw new Error(`${e} with value "${r}" must be of type string.`)}else if(t.match(/^Uuid$/i)!==null){if(!(typeof r.valueOf()=="string"&&(0,fV.isValidUuid)(r)))throw new Error(`${e} with value "${r}" must be of type string and a valid uuid.`)}else if(t.match(/^Boolean$/i)!==null){if(typeof r!="boolean")throw new Error(`${e} with value ${r} must be of type boolean.`)}else if(t.match(/^Stream$/i)!==null){let n=typeof r;if(n!=="string"&&typeof r.pipe!="function"&&typeof r.tee!="function"&&!(r instanceof ArrayBuffer)&&!ArrayBuffer.isView(r)&&!((typeof Blob=="function"||typeof Blob=="object")&&r instanceof Blob)&&n!=="function")throw new Error(`${e} must be a string, Blob, ArrayBuffer, ArrayBufferView, ReadableStream, or () => ReadableStream.`)}}return r}o(qUe,"serializeBasicTypes");function zUe(t,e,r){if(!e)throw new Error(`Please provide a set of allowedValues to validate ${t} as an Enum Type.`);if(!e.some(i=>typeof i.valueOf()=="string"?i.toLowerCase()===r.toLowerCase():i===r))throw new Error(`${r} is not a valid value for ${t}. The valid values are: ${JSON.stringify(e)}.`);return r}o(zUe,"serializeEnumType");function GUe(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=FE.encodeByteArray(e)}return e}o(GUe,"serializeByteArrayType");function jUe(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=LUe(e)}return e}o(jUe,"serializeBase64UrlType");function YUe(t,e,r){if(e!=null){if(t.match(/^Date$/i)!==null){if(!(e instanceof Date||typeof e.valueOf()=="string"&&!isNaN(Date.parse(e))))throw new Error(`${r} must be an instanceof Date or a string in ISO8601 format.`);e=e instanceof Date?e.toISOString().substring(0,10):new Date(e).toISOString().substring(0,10)}else if(t.match(/^DateTime$/i)!==null){if(!(e instanceof Date||typeof e.valueOf()=="string"&&!isNaN(Date.parse(e))))throw new Error(`${r} must be an instanceof Date or a string in ISO8601 format.`);e=e instanceof Date?e.toISOString():new Date(e).toISOString()}else if(t.match(/^DateTimeRfc1123$/i)!==null){if(!(e instanceof Date||typeof e.valueOf()=="string"&&!isNaN(Date.parse(e))))throw new Error(`${r} must be an instanceof Date or a string in RFC-1123 format.`);e=e instanceof Date?e.toUTCString():new Date(e).toUTCString()}else if(t.match(/^UnixTime$/i)!==null){if(!(e instanceof Date||typeof e.valueOf()=="string"&&!isNaN(Date.parse(e))))throw new Error(`${r} must be an instanceof Date or a string in RFC-1123/ISO8601 format for it to be serialized in UnixTime/Epoch format.`);e=FUe(e)}else if(t.match(/^TimeSpan$/i)!==null&&!(0,fV.isDuration)(e))throw new Error(`${r} must be a string in ISO 8601 format. Instead was "${e}".`)}return e}o(YUe,"serializeDateTypes");function KUe(t,e,r,n,i,s){if(!Array.isArray(r))throw new Error(`${n} must be of type Array.`);let a=e.type.element;if(!a||typeof a!="object")throw new Error(`element" metadata for an Array must be defined in the mapper and it must of type "object" in ${n}.`);a.type.name==="Composite"&&a.type.className&&(a=t.modelMappers[a.type.className]??a);let c=[];for(let l=0;lf!==A)&&(a[A]=t.serialize(l,r[A],n+'["'+A+'"]',s))}return a}return r}o(WUe,"serializeCompositeType");function gV(t,e,r,n){if(!r||!t.xmlNamespace)return e;let s={[t.xmlNamespacePrefix?`xmlns:${t.xmlNamespacePrefix}`:"xmlns"]:t.xmlNamespace};if(["Composite"].includes(t.type.name)){if(e[Zr.XML_ATTRKEY])return e;{let c={...e};return c[Zr.XML_ATTRKEY]=s,c}}let a={};return a[n.xml.xmlCharKey]=e,a[Zr.XML_ATTRKEY]=s,a}o(gV,"getXmlObjectValue");function $Ue(t,e){return[Zr.XML_ATTRKEY,e.xml.xmlCharKey].includes(t)}o($Ue,"isSpecialXmlProperty");function XUe(t,e,r,n,i){let s=i.xml.xmlCharKey??Zr.XML_CHARKEY;UE(t,e)&&(e=mV(t,e,r,"serializedName"));let a=pV(t,e,n),c={},l=[];for(let A of Object.keys(a)){let d=a[A],f=K2(a[A].serializedName);l.push(f[0]);let{serializedName:h,xmlName:g,xmlElementName:m}=d,b=n;h!==""&&h!==void 0&&(b=n+"."+h);let y=d.headerCollectionPrefix;if(y){let I={};for(let w of Object.keys(r))w.startsWith(y)&&(I[w.substring(y.length)]=t.deserialize(d.type.value,r[w],b,i)),l.push(w);c[A]=I}else if(t.isXML)if(d.xmlIsAttribute&&r[Zr.XML_ATTRKEY])c[A]=t.deserialize(d,r[Zr.XML_ATTRKEY][g],b,i);else if(d.xmlIsMsText)r[s]!==void 0?c[A]=r[s]:typeof r=="string"&&(c[A]=r);else{let I=m||g||h;if(d.xmlIsWrapped){let v=r[g]?.[m]??[];c[A]=t.deserialize(d,v,b,i),l.push(g)}else{let w=r[I];c[A]=t.deserialize(d,w,b,i),l.push(I)}}else{let I,w=r,v=0;for(let J of f){if(!w)break;v++,w=w[J]}w===null&&v{for(let f in a)if(K2(a[f].serializedName)[0]===d)return!1;return!0},"isAdditionalProperty");for(let d in r)A(d)&&(c[d]=t.deserialize(u,r[d],n+'["'+d+'"]',i))}else if(r&&!i.ignoreUnknownProperties)for(let A of Object.keys(r))c[A]===void 0&&!l.includes(A)&&!$Ue(A,i)&&(c[A]=r[A]);return c}o(XUe,"deserializeCompositeType");function ZUe(t,e,r,n,i){let s=e.type.value;if(!s||typeof s!="object")throw new Error(`"value" metadata for a Dictionary must be defined in the mapper and it must of type "object" in ${n}`);if(r){let a={};for(let c of Object.keys(r))a[c]=t.deserialize(s,r[c],n,i);return a}return r}o(ZUe,"deserializeDictionaryType");function e3e(t,e,r,n,i){let s=e.type.element;if(!s||typeof s!="object")throw new Error(`element" metadata for an Array must be defined in the mapper and it must of type "object" in ${n}`);if(r){Array.isArray(r)||(r=[r]),s.type.name==="Composite"&&s.type.className&&(s=t.modelMappers[s.type.className]??s);let a=[];for(let c=0;c{"use strict";Object.defineProperty(HE,"__esModule",{value:!0});HE.state=void 0;HE.state={operationRequestMap:new WeakMap}});var Jp=x(qE=>{"use strict";Object.defineProperty(qE,"__esModule",{value:!0});qE.getOperationArgumentValueFromParameter=CV;qE.getOperationRequestInfo=IV;var EV=yV();function CV(t,e,r){let n=e.parameterPath,i=e.mapper,s;if(typeof n=="string"&&(n=[n]),Array.isArray(n)){if(n.length>0)if(i.isConstant)s=i.defaultValue;else{let a=bV(t,n);!a.propertyFound&&r&&(a=bV(r,n));let c=!1;a.propertyFound||(c=i.required||n[0]==="options"&&n.length===2),s=c?i.defaultValue:a.propertyValue}}else{i.required&&(s={});for(let a in n){let c=i.type.modelProperties[a],l=n[a],u=CV(t,{parameterPath:l,mapper:c},r);u!==void 0&&(s||(s={}),s[a]=u)}}return s}o(CV,"getOperationArgumentValueFromParameter");function bV(t,e){let r={propertyFound:!1},n=0;for(;n{"use strict";Object.defineProperty(_d,"__esModule",{value:!0});_d.deserializationPolicyName=void 0;_d.deserializationPolicy=o3e;var n3e=jp(),zE=Lr(),BV=Kp(),J2=Jp(),i3e=["application/json","text/json"],s3e=["application/xml","application/atom+xml"];_d.deserializationPolicyName="deserializationPolicy";function o3e(t={}){let e=t.expectedContentTypes?.json??i3e,r=t.expectedContentTypes?.xml??s3e,n=t.parseXML,i=t.serializerOptions,s={xml:{rootName:i?.xml.rootName??"",includeRoot:i?.xml.includeRoot??!1,xmlCharKey:i?.xml.xmlCharKey??n3e.XML_CHARKEY}};return{name:_d.deserializationPolicyName,async sendRequest(a,c){let l=await c(a);return l3e(e,r,l,s,n)}}}o(o3e,"deserializationPolicy");function a3e(t){let e,r=t.request,n=(0,J2.getOperationRequestInfo)(r),i=n?.operationSpec;return i&&(n?.operationResponseGetter?e=n?.operationResponseGetter(i,t):e=i.responses[t.status]),e}o(a3e,"getOperationResponseMap");function c3e(t){let e=t.request,n=(0,J2.getOperationRequestInfo)(e)?.shouldDeserialize,i;return n===void 0?i=!0:typeof n=="boolean"?i=n:i=n(t),i}o(c3e,"shouldDeserializeResponse");async function l3e(t,e,r,n,i){let s=await d3e(t,e,r,n,i);if(!c3e(s))return s;let c=(0,J2.getOperationRequestInfo)(s.request)?.operationSpec;if(!c||!c.responses)return s;let l=a3e(s),{error:u,shouldReturnResponse:A}=A3e(s,c,l,n);if(u)throw u;if(A)return s;if(l){if(l.bodyMapper){let d=s.parsedBody;c.isXML&&l.bodyMapper.type.name===BV.MapperTypeNames.Sequence&&(d=typeof d=="object"?d[l.bodyMapper.xmlElementName]:[]);try{s.parsedBody=c.serializer.deserialize(l.bodyMapper,d,"operationRes.parsedBody",n)}catch(f){throw new zE.RestError(`Error ${f} occurred in deserializing the responseBody - ${s.bodyAsText}`,{statusCode:s.status,request:s.request,response:s})}}else c.httpMethod==="HEAD"&&(s.parsedBody=r.status>=200&&r.status<300);l.headersMapper&&(s.parsedHeaders=c.serializer.deserialize(l.headersMapper,s.headers.toJSON(),"operationRes.parsedHeaders",{xml:{},ignoreUnknownProperties:!0}))}return s}o(l3e,"deserializeResponseBody");function u3e(t){let e=Object.keys(t.responses);return e.length===0||e.length===1&&e[0]==="default"}o(u3e,"isOperationSpecEmpty");function A3e(t,e,r,n){let i=200<=t.status&&t.status<300;if(u3e(e)?i:!!r)if(r){if(!r.isError)return{error:null,shouldReturnResponse:!1}}else return{error:null,shouldReturnResponse:!1};let a=r??e.responses.default,c=t.request.streamResponseStatusCodes?.has(t.status)?`Unexpected status code: ${t.status}`:t.bodyAsText,l=new zE.RestError(c,{statusCode:t.status,request:t.request,response:t});if(!a&&!(t.parsedBody?.error?.code&&t.parsedBody?.error?.message))throw l;let u=a?.bodyMapper,A=a?.headersMapper;try{if(t.parsedBody){let d=t.parsedBody,f;if(u){let g=d;if(e.isXML&&u.type.name===BV.MapperTypeNames.Sequence){g=[];let m=u.xmlElementName;typeof d=="object"&&m&&(g=d[m])}f=e.serializer.deserialize(u,g,"error.response.parsedBody",n)}let h=d.error||f||d;l.code=h.code,h.message&&(l.message=h.message),u&&(l.response.parsedBody=f)}t.headers&&A&&(l.response.parsedHeaders=e.serializer.deserialize(A,t.headers.toJSON(),"operationRes.parsedHeaders"))}catch(d){l.message=`Error "${d.message}" occurred in deserializing the responseBody - "${t.bodyAsText}" for the default response.`}return{error:l,shouldReturnResponse:!1}}o(A3e,"handleErrorResponse");async function d3e(t,e,r,n,i){if(!r.request.streamResponseStatusCodes?.has(r.status)&&r.bodyAsText){let s=r.bodyAsText,a=r.headers.get("Content-Type")||"",c=a?a.split(";").map(l=>l.toLowerCase()):[];try{if(c.length===0||c.some(l=>t.indexOf(l)!==-1))return r.parsedBody=JSON.parse(s),r;if(c.some(l=>e.indexOf(l)!==-1)){if(!i)throw new Error("Parsing XML not supported.");let l=await i(s,n.xml);return r.parsedBody=l,r}}catch(l){let u=`Error "${l}" occurred while parsing the response body - ${r.bodyAsText}.`,A=l.code||zE.RestError.PARSE_ERROR;throw new zE.RestError(u,{code:A,statusCode:r.status,request:r.request,response:r})}}return r}o(d3e,"parse")});var jE=x(GE=>{"use strict";Object.defineProperty(GE,"__esModule",{value:!0});GE.getStreamingResponseStatusCodes=h3e;GE.getPathStringFromParameter=p3e;var f3e=Kp();function h3e(t){let e=new Set;for(let r in t.responses){let n=t.responses[r];n.bodyMapper&&n.bodyMapper.type.name===f3e.MapperTypeNames.Stream&&e.add(Number(r))}return e}o(h3e,"getStreamingResponseStatusCodes");function p3e(t){let{parameterPath:e,mapper:r}=t,n;return typeof e=="string"?n=e:Array.isArray(e)?n=e.join("."):n=r.serializedName,n}o(p3e,"getPathStringFromParameter")});var X2=x(Dc=>{"use strict";Object.defineProperty(Dc,"__esModule",{value:!0});Dc.serializationPolicyName=void 0;Dc.serializationPolicy=g3e;Dc.serializeHeaders=wV;Dc.serializeRequestBody=QV;var $2=jp(),YE=Jp(),W2=Kp(),Vp=jE();Dc.serializationPolicyName="serializationPolicy";function g3e(t={}){let e=t.stringifyXML;return{name:Dc.serializationPolicyName,async sendRequest(r,n){let i=(0,YE.getOperationRequestInfo)(r),s=i?.operationSpec,a=i?.operationArguments;return s&&a&&(wV(r,a,s),QV(r,a,s,e)),n(r)}}}o(g3e,"serializationPolicy");function wV(t,e,r){if(r.headerParameters)for(let i of r.headerParameters){let s=(0,YE.getOperationArgumentValueFromParameter)(e,i);if(s!=null||i.mapper.required){s=r.serializer.serialize(i.mapper,s,(0,Vp.getPathStringFromParameter)(i));let a=i.mapper.headerCollectionPrefix;if(a)for(let c of Object.keys(s))t.headers.set(a+c,s[c]);else t.headers.set(i.mapper.serializedName||(0,Vp.getPathStringFromParameter)(i),s)}}let n=e.options?.requestOptions?.customHeaders;if(n)for(let i of Object.keys(n))t.headers.set(i,n[i])}o(wV,"serializeHeaders");function QV(t,e,r,n=function(){throw new Error("XML serialization unsupported!")}){let i=e.options?.serializerOptions,s={xml:{rootName:i?.xml.rootName??"",includeRoot:i?.xml.includeRoot??!1,xmlCharKey:i?.xml.xmlCharKey??$2.XML_CHARKEY}},a=s.xml.xmlCharKey;if(r.requestBody&&r.requestBody.mapper){t.body=(0,YE.getOperationArgumentValueFromParameter)(e,r.requestBody);let c=r.requestBody.mapper,{required:l,serializedName:u,xmlName:A,xmlElementName:d,xmlNamespace:f,xmlNamespacePrefix:h,nullable:g}=c,m=c.type.name;try{if(t.body!==void 0&&t.body!==null||g&&t.body===null||l){let b=(0,Vp.getPathStringFromParameter)(r.requestBody);t.body=r.serializer.serialize(c,t.body,b,s);let y=m===W2.MapperTypeNames.Stream;if(r.isXML){let I=h?`xmlns:${h}`:"xmlns",w=m3e(f,I,m,t.body,s);m===W2.MapperTypeNames.Sequence?t.body=n(y3e(w,d||A||u,I,f),{rootName:A||u,xmlCharKey:a}):y||(t.body=n(w,{rootName:A||u,xmlCharKey:a}))}else{if(m===W2.MapperTypeNames.String&&(r.contentType?.match("text/plain")||r.mediaType==="text"))return;y||(t.body=JSON.stringify(t.body))}}}catch(b){throw new Error(`Error "${b.message}" occurred in serializing the payload - ${JSON.stringify(u,void 0," ")}.`)}}else if(r.formDataParameters&&r.formDataParameters.length>0){t.formData={};for(let c of r.formDataParameters){let l=(0,YE.getOperationArgumentValueFromParameter)(e,c);if(l!=null){let u=c.mapper.serializedName||(0,Vp.getPathStringFromParameter)(c);t.formData[u]=r.serializer.serialize(c.mapper,l,(0,Vp.getPathStringFromParameter)(c),s)}}}}o(QV,"serializeRequestBody");function m3e(t,e,r,n,i){if(t&&!["Composite","Sequence","Dictionary"].includes(r)){let s={};return s[i.xml.xmlCharKey]=n,s[$2.XML_ATTRKEY]={[e]:t},s}return n}o(m3e,"getXmlValueWithNamespace");function y3e(t,e,r,n){if(Array.isArray(t)||(t=[t]),!r||!n)return{[e]:t};let i={[e]:t};return i[$2.XML_ATTRKEY]={[r]:n},i}o(y3e,"prepareXMLRootList")});var eP=x(Z2=>{"use strict";Object.defineProperty(Z2,"__esModule",{value:!0});Z2.createClientPipeline=C3e;var E3e=V2(),SV=Lr(),b3e=X2();function C3e(t={}){let e=(0,SV.createPipelineFromOptions)(t??{});return t.credentialOptions&&e.addPolicy((0,SV.bearerTokenAuthenticationPolicy)({credential:t.credentialOptions.credential,scopes:t.credentialOptions.credentialScopes})),e.addPolicy((0,b3e.serializationPolicy)(t.serializationOptions),{phase:"Serialize"}),e.addPolicy((0,E3e.deserializationPolicy)(t.deserializationOptions),{phase:"Deserialize"}),e}o(C3e,"createClientPipeline")});var NV=x(rP=>{"use strict";Object.defineProperty(rP,"__esModule",{value:!0});rP.getCachedDefaultHttpClient=I3e;var x3e=Lr(),tP;function I3e(){return tP||(tP=(0,x3e.createDefaultHttpClient)()),tP}o(I3e,"getCachedDefaultHttpClient")});var _V=x(KE=>{"use strict";Object.defineProperty(KE,"__esModule",{value:!0});KE.getRequestUrl=w3e;KE.appendQueryParams=PV;var RV=Jp(),nP=jE(),B3e={CSV:",",SSV:" ",Multi:"Multi",TSV:" ",Pipes:"|"};function w3e(t,e,r,n){let i=Q3e(e,r,n),s=!1,a=vV(t,i);if(e.path){let u=vV(e.path,i);e.path==="/{nextLink}"&&u.startsWith("/")&&(u=u.substring(1)),S3e(u)?(a=u,s=!0):a=N3e(a,u)}let{queryParams:c,sequenceParams:l}=v3e(e,r,n);return a=PV(a,c,l,s),a}o(w3e,"getRequestUrl");function vV(t,e){let r=t;for(let[n,i]of e)r=r.split(n).join(i);return r}o(vV,"replaceAll");function Q3e(t,e,r){let n=new Map;if(t.urlParameters?.length)for(let i of t.urlParameters){let s=(0,RV.getOperationArgumentValueFromParameter)(e,i,r),a=(0,nP.getPathStringFromParameter)(i);s=t.serializer.serialize(i.mapper,s,a),i.skipEncoding||(s=encodeURIComponent(s)),n.set(`{${i.mapper.serializedName||a}}`,s)}return n}o(Q3e,"calculateUrlReplacements");function S3e(t){return t.includes("://")}o(S3e,"isAbsoluteUrl");function N3e(t,e){if(!e)return t;let r=new URL(t),n=r.pathname;n.endsWith("/")||(n=`${n}/`),e.startsWith("/")&&(e=e.substring(1));let i=e.indexOf("?");if(i!==-1){let s=e.substring(0,i),a=e.substring(i+1);n=n+s,a&&(r.search=r.search?`${r.search}&${a}`:a)}else n=n+e;return r.pathname=n,r.toString()}o(N3e,"appendPath");function v3e(t,e,r){let n=new Map,i=new Set;if(t.queryParameters?.length)for(let s of t.queryParameters){s.mapper.type.name==="Sequence"&&s.mapper.serializedName&&i.add(s.mapper.serializedName);let a=(0,RV.getOperationArgumentValueFromParameter)(e,s,r);if(a!=null||s.mapper.required){a=t.serializer.serialize(s.mapper,a,(0,nP.getPathStringFromParameter)(s));let c=s.collectionFormat?B3e[s.collectionFormat]:"";if(Array.isArray(a)&&(a=a.map(l=>l??"")),s.collectionFormat==="Multi"&&a.length===0)continue;Array.isArray(a)&&(s.collectionFormat==="SSV"||s.collectionFormat==="TSV")&&(a=a.join(c)),s.skipEncoding||(Array.isArray(a)?a=a.map(l=>encodeURIComponent(l)):a=encodeURIComponent(a)),Array.isArray(a)&&(s.collectionFormat==="CSV"||s.collectionFormat==="Pipes")&&(a=a.join(c)),n.set(s.mapper.serializedName||(0,nP.getPathStringFromParameter)(s),a)}}return{queryParams:n,sequenceParams:i}}o(v3e,"calculateQueryParameters");function R3e(t){let e=new Map;if(!t||t[0]!=="?")return e;t=t.slice(1);let r=t.split("&");for(let n of r){let[i,s]=n.split("=",2),a=e.get(i);a?Array.isArray(a)?a.push(s):e.set(i,[a,s]):e.set(i,s)}return e}o(R3e,"simpleParseQueryParams");function PV(t,e,r,n=!1){if(e.size===0)return t;let i=new URL(t),s=R3e(i.search);for(let[c,l]of e){let u=s.get(c);if(Array.isArray(u))if(Array.isArray(l)){u.push(...l);let A=new Set(u);s.set(c,Array.from(A))}else u.push(l);else u?(Array.isArray(l)?l.unshift(u):r.has(c)&&s.set(c,[u,l]),n||s.set(c,l)):s.set(c,l)}let a=[];for(let[c,l]of s)if(typeof l=="string")a.push(`${c}=${l}`);else if(Array.isArray(l))for(let u of l)a.push(`${c}=${u}`);else a.push(`${c}=${l}`);return i.search=a.length?`?${a.join("&")}`:"",i.toString()}o(PV,"appendQueryParams")});var iP=x(JE=>{"use strict";Object.defineProperty(JE,"__esModule",{value:!0});JE.logger=void 0;var P3e=cu();JE.logger=(0,P3e.createClientLogger)("core-client")});var kV=x(VE=>{"use strict";Object.defineProperty(VE,"__esModule",{value:!0});VE.ServiceClient=void 0;var _3e=Lr(),D3e=eP(),DV=j2(),k3e=NV(),T3e=Jp(),O3e=_V(),M3e=jE(),L3e=iP(),sP=class{static{o(this,"ServiceClient")}_endpoint;_requestContentType;_allowInsecureConnection;_httpClient;pipeline;constructor(e={}){if(this._requestContentType=e.requestContentType,this._endpoint=e.endpoint??e.baseUri,e.baseUri&&L3e.logger.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead."),this._allowInsecureConnection=e.allowInsecureConnection,this._httpClient=e.httpClient||(0,k3e.getCachedDefaultHttpClient)(),this.pipeline=e.pipeline||U3e(e),e.additionalPolicies?.length)for(let{policy:r,position:n}of e.additionalPolicies){let i=n==="perRetry"?"Sign":void 0;this.pipeline.addPolicy(r,{afterPhase:i})}}async sendRequest(e){return this.pipeline.sendRequest(this._httpClient,e)}async sendOperationRequest(e,r){let n=r.baseUrl||this._endpoint;if(!n)throw new Error("If operationSpec.baseUrl is not specified, then the ServiceClient must have a endpoint string property that contains the base URL to use.");let i=(0,O3e.getRequestUrl)(n,r,e,this),s=(0,_3e.createPipelineRequest)({url:i});s.method=r.httpMethod;let a=(0,T3e.getOperationRequestInfo)(s);a.operationSpec=r,a.operationArguments=e;let c=r.contentType||this._requestContentType;c&&r.requestBody&&s.headers.set("Content-Type",c);let l=e.options;if(l){let u=l.requestOptions;u&&(u.timeout&&(s.timeout=u.timeout),u.onUploadProgress&&(s.onUploadProgress=u.onUploadProgress),u.onDownloadProgress&&(s.onDownloadProgress=u.onDownloadProgress),u.shouldDeserialize!==void 0&&(a.shouldDeserialize=u.shouldDeserialize),u.allowInsecureConnection&&(s.allowInsecureConnection=!0)),l.abortSignal&&(s.abortSignal=l.abortSignal),l.tracingOptions&&(s.tracingOptions=l.tracingOptions)}this._allowInsecureConnection&&(s.allowInsecureConnection=!0),s.streamResponseStatusCodes===void 0&&(s.streamResponseStatusCodes=(0,M3e.getStreamingResponseStatusCodes)(r));try{let u=await this.sendRequest(s),A=(0,DV.flattenResponse)(u,r.responses[u.status]);return l?.onResponse&&l.onResponse(u,A),A}catch(u){if(typeof u=="object"&&u?.response){let A=u.response,d=(0,DV.flattenResponse)(A,r.responses[u.statusCode]||r.responses.default);u.details=d,l?.onResponse&&l.onResponse(A,d,u)}throw u}}};VE.ServiceClient=sP;function U3e(t){let e=F3e(t),r=t.credential&&e?{credentialScopes:e,credential:t.credential}:void 0;return(0,D3e.createClientPipeline)({...t,credentialOptions:r})}o(U3e,"createDefaultPipeline");function F3e(t){if(t.credentialScopes)return t.credentialScopes;if(t.endpoint)return`${t.endpoint}/.default`;if(t.baseUri)return`${t.baseUri}/.default`;if(t.credential&&!t.credentialScopes)throw new Error("When using credentials, the ServiceClientOptions must contain either a endpoint or a credentialScopes. Unable to create a bearerTokenAuthenticationPolicy")}o(F3e,"getCredentialScopes")});var OV=x(WE=>{"use strict";Object.defineProperty(WE,"__esModule",{value:!0});WE.parseCAEChallenge=TV;WE.authorizeRequestOnClaimChallenge=z3e;var H3e=iP(),q3e=G2();function TV(t){return`, ${t.trim()}`.split(", Bearer ").filter(r=>r).map(r=>`${r.trim()}, `.split('", ').filter(s=>s).map(s=>(([a,c])=>({[a]:c}))(s.trim().split('="'))).reduce((s,a)=>({...s,...a}),{}))}o(TV,"parseCAEChallenge");async function z3e(t){let{scopes:e,response:r}=t,n=t.logger||H3e.logger,i=r.headers.get("WWW-Authenticate");if(!i)return n.info("The WWW-Authenticate header was missing. Failed to perform the Continuous Access Evaluation authentication flow."),!1;let a=(TV(i)||[]).find(l=>l.claims);if(!a)return n.info('The WWW-Authenticate header was missing the necessary "claims" to perform the Continuous Access Evaluation authentication flow.'),!1;let c=await t.getAccessToken(a.scope?[a.scope]:e,{claims:(0,q3e.decodeStringToString)(a.claims)});return c?(t.request.headers.set("Authorization",`${c.tokenType??"Bearer"} ${c.token}`),!0):!1}o(z3e,"authorizeRequestOnClaimChallenge")});var LV=x($E=>{"use strict";Object.defineProperty($E,"__esModule",{value:!0});$E.authorizeRequestOnTenantChallenge=void 0;var MV={DefaultScope:"/.default",HeaderConstants:{AUTHORIZATION:"authorization"}};function G3e(t){return/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/.test(t)}o(G3e,"isUuid");var j3e=o(async t=>{let e=W3e(t.request),r=J3e(t.response);if(r){let n=V3e(r),i=K3e(t,n),s=Y3e(n);if(!s)return!1;let a=await t.getAccessToken(i,{...e,tenantId:s});return a?(t.request.headers.set(MV.HeaderConstants.AUTHORIZATION,`${a.tokenType??"Bearer"} ${a.token}`),!0):!1}return!1},"authorizeRequestOnTenantChallenge");$E.authorizeRequestOnTenantChallenge=j3e;function Y3e(t){let n=new URL(t.authorization_uri).pathname.split("/")[1];if(n&&G3e(n))return n}o(Y3e,"extractTenantId");function K3e(t,e){if(!e.resource_id)return t.scopes;let r=new URL(e.resource_id);r.pathname=MV.DefaultScope;let n=r.toString();return n==="https://disk.azure.com/.default"&&(n="https://disk.azure.com//.default"),[n]}o(K3e,"buildScopes");function J3e(t){let e=t.headers.get("WWW-Authenticate");if(t.status===401&&e)return e}o(J3e,"getChallenge");function V3e(t){return`${t.slice(7).trim()} `.split(" ").filter(i=>i).map(i=>(([s,a])=>({[s]:a}))(i.trim().split("="))).reduce((i,s)=>({...i,...s}),{})}o(V3e,"parseChallenge");function W3e(t){return{abortSignal:t.abortSignal,requestOptions:{timeout:t.timeout},tracingOptions:t.tracingOptions}}o(W3e,"requestToOptions")});var Bo=x(Ot=>{"use strict";Object.defineProperty(Ot,"__esModule",{value:!0});Ot.authorizeRequestOnTenantChallenge=Ot.authorizeRequestOnClaimChallenge=Ot.serializationPolicyName=Ot.serializationPolicy=Ot.deserializationPolicyName=Ot.deserializationPolicy=Ot.XML_CHARKEY=Ot.XML_ATTRKEY=Ot.createClientPipeline=Ot.ServiceClient=Ot.MapperTypeNames=Ot.createSerializer=void 0;var UV=Kp();Object.defineProperty(Ot,"createSerializer",{enumerable:!0,get:o(function(){return UV.createSerializer},"get")});Object.defineProperty(Ot,"MapperTypeNames",{enumerable:!0,get:o(function(){return UV.MapperTypeNames},"get")});var $3e=kV();Object.defineProperty(Ot,"ServiceClient",{enumerable:!0,get:o(function(){return $3e.ServiceClient},"get")});var X3e=eP();Object.defineProperty(Ot,"createClientPipeline",{enumerable:!0,get:o(function(){return X3e.createClientPipeline},"get")});var FV=jp();Object.defineProperty(Ot,"XML_ATTRKEY",{enumerable:!0,get:o(function(){return FV.XML_ATTRKEY},"get")});Object.defineProperty(Ot,"XML_CHARKEY",{enumerable:!0,get:o(function(){return FV.XML_CHARKEY},"get")});var HV=V2();Object.defineProperty(Ot,"deserializationPolicy",{enumerable:!0,get:o(function(){return HV.deserializationPolicy},"get")});Object.defineProperty(Ot,"deserializationPolicyName",{enumerable:!0,get:o(function(){return HV.deserializationPolicyName},"get")});var qV=X2();Object.defineProperty(Ot,"serializationPolicy",{enumerable:!0,get:o(function(){return qV.serializationPolicy},"get")});Object.defineProperty(Ot,"serializationPolicyName",{enumerable:!0,get:o(function(){return qV.serializationPolicyName},"get")});var Z3e=OV();Object.defineProperty(Ot,"authorizeRequestOnClaimChallenge",{enumerable:!0,get:o(function(){return Z3e.authorizeRequestOnClaimChallenge},"get")});var eFe=LV();Object.defineProperty(Ot,"authorizeRequestOnTenantChallenge",{enumerable:!0,get:o(function(){return eFe.authorizeRequestOnTenantChallenge},"get")})});var $p=x(uu=>{"use strict";Object.defineProperty(uu,"__esModule",{value:!0});uu.HttpHeaders=void 0;uu.toPipelineRequest=jV;uu.toWebResourceLike=YV;uu.toHttpHeadersLike=KV;var zV=Lr(),GV=Symbol("Original PipelineRequest"),tFe=Symbol.for("@azure/core-client original request");function jV(t,e={}){let n=t[GV],i=(0,zV.createHttpHeaders)(t.headers.toJson({preserveCase:!0}));if(n)return n.headers=i,n;{let s=(0,zV.createPipelineRequest)({url:t.url,method:t.method,headers:i,withCredentials:t.withCredentials,timeout:t.timeout,requestId:t.requestId,abortSignal:t.abortSignal,body:t.body,formData:t.formData,disableKeepAlive:!!t.keepAlive,onDownloadProgress:t.onDownloadProgress,onUploadProgress:t.onUploadProgress,proxySettings:t.proxySettings,streamResponseStatusCodes:t.streamResponseStatusCodes,agent:t.agent,requestOverrides:t.requestOverrides});return e.originalRequest&&(s[tFe]=e.originalRequest),s}}o(jV,"toPipelineRequest");function YV(t,e){let r=e?.originalRequest??t,n={url:t.url,method:t.method,headers:KV(t.headers),withCredentials:t.withCredentials,timeout:t.timeout,requestId:t.headers.get("x-ms-client-request-id")||t.requestId,abortSignal:t.abortSignal,body:t.body,formData:t.formData,keepAlive:!!t.disableKeepAlive,onDownloadProgress:t.onDownloadProgress,onUploadProgress:t.onUploadProgress,proxySettings:t.proxySettings,streamResponseStatusCodes:t.streamResponseStatusCodes,agent:t.agent,requestOverrides:t.requestOverrides,clone(){throw new Error("Cannot clone a non-proxied WebResourceLike")},prepare(){throw new Error("WebResourceLike.prepare() is not supported by @azure/core-http-compat")},validateRequestProperties(){}};return e?.createProxy?new Proxy(n,{get(i,s,a){return s===GV?t:s==="clone"?()=>YV(jV(n,{originalRequest:r}),{createProxy:!0,originalRequest:r}):Reflect.get(i,s,a)},set(i,s,a,c){return s==="keepAlive"&&(t.disableKeepAlive=!a),typeof s=="string"&&["url","method","withCredentials","timeout","requestId","abortSignal","body","formData","onDownloadProgress","onUploadProgress","proxySettings","streamResponseStatusCodes","agent","requestOverrides"].includes(s)&&(t[s]=a),Reflect.set(i,s,a,c)}}):n}o(YV,"toWebResourceLike");function KV(t){return new XE(t.toJSON({preserveCase:!0}))}o(KV,"toHttpHeadersLike");function Wp(t){return t.toLowerCase()}o(Wp,"getHeaderKey");var XE=class t{static{o(this,"HttpHeaders")}_headersMap;constructor(e){if(this._headersMap={},e)for(let r in e)this.set(r,e[r])}set(e,r){this._headersMap[Wp(e)]={name:e,value:r.toString()}}get(e){let r=this._headersMap[Wp(e)];return r?r.value:void 0}contains(e){return!!this._headersMap[Wp(e)]}remove(e){let r=this.contains(e);return delete this._headersMap[Wp(e)],r}rawHeaders(){return this.toJson({preserveCase:!0})}headersArray(){let e=[];for(let r in this._headersMap)e.push(this._headersMap[r]);return e}headerNames(){let e=[],r=this.headersArray();for(let n=0;n{"use strict";Object.defineProperty(ZE,"__esModule",{value:!0});ZE.toCompatResponse=nFe;ZE.toPipelineResponse=iFe;var rFe=Lr(),oP=$p(),JV=Symbol("Original FullOperationResponse");function nFe(t,e){let r=(0,oP.toWebResourceLike)(t.request),n=(0,oP.toHttpHeadersLike)(t.headers);return e?.createProxy?new Proxy(t,{get(i,s,a){return s==="headers"?n:s==="request"?r:s===JV?t:Reflect.get(i,s,a)},set(i,s,a,c){return s==="headers"?n=a:s==="request"&&(r=a),Reflect.set(i,s,a,c)}}):{...t,request:r,headers:n}}o(nFe,"toCompatResponse");function iFe(t){let r=t[JV],n=(0,rFe.createHttpHeaders)(t.headers.toJson({preserveCase:!0}));return r?(r.headers=n,r):{...t,headers:n,request:(0,oP.toPipelineRequest)(t.request)}}o(iFe,"toPipelineResponse")});var WV=x(tb=>{"use strict";Object.defineProperty(tb,"__esModule",{value:!0});tb.ExtendedServiceClient=void 0;var VV=z2(),sFe=Lr(),oFe=Bo(),aFe=eb(),aP=class extends oFe.ServiceClient{static{o(this,"ExtendedServiceClient")}constructor(e){super(e),e.keepAliveOptions?.enable===!1&&!(0,VV.pipelineContainsDisableKeepAlivePolicy)(this.pipeline)&&this.pipeline.addPolicy((0,VV.createDisableKeepAlivePolicy)()),e.redirectOptions?.handleRedirects===!1&&this.pipeline.removePolicy({name:sFe.redirectPolicyName})}async sendOperationRequest(e,r){let n=e?.options?.onResponse,i;function s(c,l,u){i=c,n&&n(c,l,u)}o(s,"onResponse"),e.options={...e.options,onResponse:s};let a=await super.sendOperationRequest(e,r);return i&&Object.defineProperty(a,"_response",{value:(0,aFe.toCompatResponse)(i)}),a}};tb.ExtendedServiceClient=aP});var eW=x(kc=>{"use strict";Object.defineProperty(kc,"__esModule",{value:!0});kc.requestPolicyFactoryPolicyName=kc.HttpPipelineLogLevel=void 0;kc.createRequestPolicyFactoryPolicy=lFe;var $V=$p(),XV=eb(),ZV;(function(t){t[t.ERROR=1]="ERROR",t[t.INFO=3]="INFO",t[t.OFF=0]="OFF",t[t.WARNING=2]="WARNING"})(ZV||(kc.HttpPipelineLogLevel=ZV={}));var cFe={log(t,e){},shouldLog(t){return!1}};kc.requestPolicyFactoryPolicyName="RequestPolicyFactoryPolicy";function lFe(t){let e=t.slice().reverse();return{name:kc.requestPolicyFactoryPolicyName,async sendRequest(r,n){let i={async sendRequest(c){let l=await n((0,$V.toPipelineRequest)(c));return(0,XV.toCompatResponse)(l,{createProxy:!0})}};for(let c of e)i=c.create(i,cFe);let s=(0,$V.toWebResourceLike)(r,{createProxy:!0}),a=await i.sendRequest(s);return(0,XV.toPipelineResponse)(a)}}}o(lFe,"createRequestPolicyFactoryPolicy")});var tW=x(cP=>{"use strict";Object.defineProperty(cP,"__esModule",{value:!0});cP.convertHttpClient=dFe;var uFe=eb(),AFe=$p();function dFe(t){return{sendRequest:o(async e=>{let r=await t.sendRequest((0,AFe.toWebResourceLike)(e,{createProxy:!0}));return(0,uFe.toPipelineResponse)(r)},"sendRequest")}}o(dFe,"convertHttpClient")});var rb=x(bn=>{"use strict";Object.defineProperty(bn,"__esModule",{value:!0});bn.toHttpHeadersLike=bn.convertHttpClient=bn.disableKeepAlivePolicyName=bn.HttpPipelineLogLevel=bn.createRequestPolicyFactoryPolicy=bn.requestPolicyFactoryPolicyName=bn.ExtendedServiceClient=void 0;var fFe=WV();Object.defineProperty(bn,"ExtendedServiceClient",{enumerable:!0,get:o(function(){return fFe.ExtendedServiceClient},"get")});var lP=eW();Object.defineProperty(bn,"requestPolicyFactoryPolicyName",{enumerable:!0,get:o(function(){return lP.requestPolicyFactoryPolicyName},"get")});Object.defineProperty(bn,"createRequestPolicyFactoryPolicy",{enumerable:!0,get:o(function(){return lP.createRequestPolicyFactoryPolicy},"get")});Object.defineProperty(bn,"HttpPipelineLogLevel",{enumerable:!0,get:o(function(){return lP.HttpPipelineLogLevel},"get")});var hFe=z2();Object.defineProperty(bn,"disableKeepAlivePolicyName",{enumerable:!0,get:o(function(){return hFe.disableKeepAlivePolicyName},"get")});var pFe=tW();Object.defineProperty(bn,"convertHttpClient",{enumerable:!0,get:o(function(){return pFe.convertHttpClient},"get")});var gFe=$p();Object.defineProperty(bn,"toHttpHeadersLike",{enumerable:!0,get:o(function(){return gFe.toHttpHeadersLike},"get")})});var nW=x((Rct,rW)=>{(()=>{"use strict";var t={d:o((B,E)=>{for(var C in E)t.o(E,C)&&!t.o(B,C)&&Object.defineProperty(B,C,{enumerable:!0,get:E[C]})},"d"),o:o((B,E)=>Object.prototype.hasOwnProperty.call(B,E),"o"),r:o(B=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(B,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(B,"__esModule",{value:!0})},"r")},e={};t.r(e),t.d(e,{XMLBuilder:o(()=>ooe,"XMLBuilder"),XMLParser:o(()=>$se,"XMLParser"),XMLValidator:o(()=>aoe,"XMLValidator")});let r=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",n=new RegExp("^["+r+"]["+r+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$");function i(B,E){let C=[],R=E.exec(B);for(;R;){let M=[];M.startIndex=E.lastIndex-R[0].length;let O=R.length;for(let re=0;re"&&B[O]!==" "&&B[O]!==" "&&B[O]!==` +`&&B[O]!=="\r";O++)ee+=B[O];if(ee=ee.trim(),ee[ee.length-1]==="/"&&(ee=ee.substring(0,ee.length-1),O--),!U(ee)){let we;return we=ee.trim().length===0?"Invalid space after '<'.":"Tag '"+ee+"' is an invalid name.",w("InvalidTag",we,H(B,O))}let ue=m(B,O);if(ue===!1)return w("InvalidAttr","Attributes for '"+ee+"' have open quote.",H(B,O));let Ee=ue.value;if(O=ue.index,Ee[Ee.length-1]==="/"){let we=O-Ee.length;Ee=Ee.substring(0,Ee.length-1);let nt=y(Ee,E);if(nt!==!0)return w(nt.err.code,nt.err.msg,H(B,we+nt.err.line));R=!0}else if(G){if(!ue.tagClosed)return w("InvalidTag","Closing tag '"+ee+"' doesn't have proper closing.",H(B,O));if(Ee.trim().length>0)return w("InvalidTag","Closing tag '"+ee+"' can't have attributes or invalid starting.",H(B,re));if(C.length===0)return w("InvalidTag","Closing tag '"+ee+"' has not been opened.",H(B,re));{let we=C.pop();if(ee!==we.tagName){let nt=H(B,we.tagStartPos);return w("InvalidTag","Expected closing tag '"+we.tagName+"' (opened in line "+nt.line+", col "+nt.col+") instead of closing tag '"+ee+"'.",H(B,re))}C.length==0&&(M=!0)}}else{let we=y(Ee,E);if(we!==!0)return w(we.err.code,we.err.msg,H(B,O-Ee.length+we.err.line));if(M===!0)return w("InvalidXml","Multiple possible root nodes found.",H(B,O));E.unpairedTags.indexOf(ee)!==-1||C.push({tagName:ee,tagStartPos:re}),R=!0}for(O++;O0)||w("InvalidXml","Invalid '"+JSON.stringify(C.map(O=>O.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):w("InvalidXml","Start tag expected.",1)}o(u,"h");function A(B){return B===" "||B===" "||B===` +`||B==="\r"}o(A,"p");function d(B,E){let C=E;for(;E5&&R==="xml")return w("InvalidXml","XML declaration allowed only at the start of the document.",H(B,E));if(B[E]=="?"&&B[E+1]==">"){E++;break}continue}return E}o(d,"u");function f(B,E){if(B.length>E+5&&B[E+1]==="-"&&B[E+2]==="-"){for(E+=3;E"){E+=2;break}}else if(B.length>E+8&&B[E+1]==="D"&&B[E+2]==="O"&&B[E+3]==="C"&&B[E+4]==="T"&&B[E+5]==="Y"&&B[E+6]==="P"&&B[E+7]==="E"){let C=1;for(E+=8;E"&&(C--,C===0))break}else if(B.length>E+9&&B[E+1]==="["&&B[E+2]==="C"&&B[E+3]==="D"&&B[E+4]==="A"&&B[E+5]==="T"&&B[E+6]==="A"&&B[E+7]==="["){for(E+=8;E"){E+=2;break}}return E}o(f,"c");let h='"',g="'";function m(B,E){let C="",R="",M=!1;for(;E"&&R===""){M=!0;break}C+=B[E]}return R===""&&{value:C,index:E,tagClosed:M}}o(m,"g");let b=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function y(B,E){let C=i(B,b),R={};for(let M=0;Ma.includes(B)?"__"+B:B,"P"),D={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:o(function(B,E){return E},"tagValueProcessor"),attributeValueProcessor:o(function(B,E){return E},"attributeValueProcessor"),stopNodes:[],alwaysCreateTextNode:!1,isArray:o(()=>!1,"isArray"),commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:o(function(B,E,C){return B},"updateTag"),captureMetaData:!1,maxNestedTags:100,strictReservedNames:!0,jPath:!0,onDangerousProperty:q};function T(B,E){if(typeof B!="string")return;let C=B.toLowerCase();if(a.some(R=>C===R.toLowerCase()))throw new Error(`[SECURITY] Invalid ${E}: "${B}" is a reserved JavaScript keyword that could cause prototype pollution`);if(c.some(R=>C===R.toLowerCase()))throw new Error(`[SECURITY] Invalid ${E}: "${B}" is a reserved JavaScript keyword that could cause prototype pollution`)}o(T,"S");function L(B){return typeof B=="boolean"?{enabled:B,maxEntitySize:1e4,maxExpansionDepth:10,maxTotalExpansions:1e3,maxExpandedLength:1e5,maxEntityCount:100,allowedTags:null,tagFilter:null}:typeof B=="object"&&B!==null?{enabled:B.enabled!==!1,maxEntitySize:B.maxEntitySize??1e4,maxExpansionDepth:B.maxExpansionDepth??10,maxTotalExpansions:B.maxTotalExpansions??1e3,maxExpandedLength:B.maxExpandedLength??1e5,maxEntityCount:B.maxEntityCount??100,allowedTags:B.allowedTags??null,tagFilter:B.tagFilter??null}:L(!0)}o(L,"A");let z=o(function(B){let E=Object.assign({},D,B),C=[{value:E.attributeNamePrefix,name:"attributeNamePrefix"},{value:E.attributesGroupName,name:"attributesGroupName"},{value:E.textNodeName,name:"textNodeName"},{value:E.cdataPropName,name:"cdataPropName"},{value:E.commentPropName,name:"commentPropName"}];for(let{value:R,name:M}of C)R&&T(R,M);return E.onDangerousProperty===null&&(E.onDangerousProperty=q),E.processEntities=L(E.processEntities),E.stopNodes&&Array.isArray(E.stopNodes)&&(E.stopNodes=E.stopNodes.map(R=>typeof R=="string"&&R.startsWith("*.")?".."+R.substring(2):R)),E},"O"),_;_=typeof Symbol!="function"?"@@xmlMetadata":Symbol("XML Node Metadata");class k{static{o(this,"I")}constructor(E){this.tagname=E,this.child=[],this[":@"]=Object.create(null)}add(E,C){E==="__proto__"&&(E="#__proto__"),this.child.push({[E]:C})}addChild(E,C){E.tagname==="__proto__"&&(E.tagname="#__proto__"),E[":@"]&&Object.keys(E[":@"]).length>0?this.child.push({[E.tagname]:E.child,":@":E[":@"]}):this.child.push({[E.tagname]:E.child}),C!==void 0&&(this.child[this.child.length-1][_]={startIndex:C})}static getMetaDataSymbol(){return _}}class F{static{o(this,"$")}constructor(E){this.suppressValidationErr=!E,this.options=E}readDocType(E,C){let R=Object.create(null),M=0;if(E[C+3]!=="O"||E[C+4]!=="C"||E[C+5]!=="T"||E[C+6]!=="Y"||E[C+7]!=="P"||E[C+8]!=="E")throw new Error("Invalid Tag instead of DOCTYPE");{C+=9;let O=1,re=!1,G=!1,ee="";for(;C"){if(G?E[C-1]==="-"&&E[C-2]==="-"&&(G=!1,O--):O--,O===0)break}else E[C]==="["?re=!0:ee+=E[C];else{if(re&&Z(E,"!ENTITY",C)){let ue,Ee;if(C+=7,[ue,Ee,C]=this.readEntityExp(E,C+1,this.suppressValidationErr),Ee.indexOf("&")===-1){if(this.options.enabled!==!1&&this.options.maxEntityCount&&M>=this.options.maxEntityCount)throw new Error(`Entity count (${M+1}) exceeds maximum allowed (${this.options.maxEntityCount})`);let we=ue.replace(/[.\-+*:]/g,"\\.");R[ue]={regx:RegExp(`&${we};`,"g"),val:Ee},M++}}else if(re&&Z(E,"!ELEMENT",C)){C+=8;let{index:ue}=this.readElementExp(E,C+1);C=ue}else if(re&&Z(E,"!ATTLIST",C))C+=8;else if(re&&Z(E,"!NOTATION",C)){C+=9;let{index:ue}=this.readNotationExp(E,C+1,this.suppressValidationErr);C=ue}else{if(!Z(E,"!--",C))throw new Error("Invalid DOCTYPE");G=!0}O++,ee=""}if(O!==0)throw new Error("Unclosed DOCTYPE")}return{entities:R,i:C}}readEntityExp(E,C){C=K(E,C);let R="";for(;Cthis.options.maxEntitySize)throw new Error(`Entity "${R}" size (${M.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`);return[R,M,--C]}readNotationExp(E,C){C=K(E,C);let R="";for(;C{for(;E0&&(this.path[this.path.length-1].values=void 0);let M=this.path.length;this.siblingStacks[M]||(this.siblingStacks[M]=new Map);let O=this.siblingStacks[M],re=R?`${R}:${E}`:E,G=O.get(re)||0,ee=0;for(let Ee of O.values())ee+=Ee;O.set(re,G+1);let ue={tag:E,position:ee,counter:G};R!=null&&(ue.namespace=R),C!=null&&(ue.values=C),this.path.push(ue)}pop(){if(this.path.length===0)return;let E=this.path.pop();return this.siblingStacks.length>this.path.length+1&&(this.siblingStacks.length=this.path.length+1),E}updateCurrent(E){if(this.path.length>0){let C=this.path[this.path.length-1];E!=null&&(C.values=E)}}getCurrentTag(){return this.path.length>0?this.path[this.path.length-1].tag:void 0}getCurrentNamespace(){return this.path.length>0?this.path[this.path.length-1].namespace:void 0}getAttrValue(E){return this.path.length===0?void 0:this.path[this.path.length-1].values?.[E]}hasAttr(E){if(this.path.length===0)return!1;let C=this.path[this.path.length-1];return C.values!==void 0&&E in C.values}getPosition(){return this.path.length===0?-1:this.path[this.path.length-1].position??0}getCounter(){return this.path.length===0?-1:this.path[this.path.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this.path.length}toString(E,C=!0){let R=E||this.separator;return this.path.map(M=>C&&M.namespace?`${M.namespace}:${M.tag}`:M.tag).join(R)}toArray(){return this.path.map(E=>E.tag)}reset(){this.path=[],this.siblingStacks=[]}matches(E){let C=E.segments;return C.length!==0&&(E.hasDeepWildcard()?this._matchWithDeepWildcard(C):this._matchSimple(C))}_matchSimple(E){if(this.path.length!==E.length)return!1;for(let C=0;C=0&&C>=0;){let M=E[R];if(M.type==="deep-wildcard"){if(R--,R<0)return!0;let O=E[R],re=!1;for(let G=C;G>=0;G--){let ee=G===this.path.length-1;if(this._matchSegment(O,this.path[G],ee)){C=G-1,R--,re=!0;break}}if(!re)return!1}else{let O=C===this.path.length-1;if(!this._matchSegment(M,this.path[C],O))return!1;C--,R--}}return R<0}_matchSegment(E,C,R){if(E.tag!=="*"&&E.tag!==C.tag||E.namespace!==void 0&&E.namespace!=="*"&&E.namespace!==C.namespace)return!1;if(E.attrName!==void 0){if(!R||!C.values||!(E.attrName in C.values))return!1;if(E.attrValue!==void 0){let M=C.values[E.attrName];if(String(M)!==String(E.attrValue))return!1}}if(E.position!==void 0){if(!R)return!1;let M=C.counter??0;if(E.position==="first"&&M!==0||E.position==="odd"&&M%2!=1||E.position==="even"&&M%2!=0||E.position==="nth"&&M!==E.positionValue)return!1}return!0}snapshot(){return{path:this.path.map(E=>({...E})),siblingStacks:this.siblingStacks.map(E=>new Map(E))}}restore(E){this.path=E.path.map(C=>({...C})),this.siblingStacks=E.siblingStacks.map(C=>new Map(C))}}class he{static{o(this,"G")}constructor(E,C={}){this.pattern=E,this.separator=C.separator||".",this.segments=this._parse(E),this._hasDeepWildcard=this.segments.some(R=>R.type==="deep-wildcard"),this._hasAttributeCondition=this.segments.some(R=>R.attrName!==void 0),this._hasPositionSelector=this.segments.some(R=>R.position!==void 0)}_parse(E){let C=[],R=0,M="";for(;R0){let C=B.substring(0,E);if(C!=="xmlns")return C}}o(Ae,"U");class xe{static{o(this,"B")}constructor(E){var C;if(this.options=E,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"\xA2"},pound:{regex:/&(pound|#163);/g,val:"\xA3"},yen:{regex:/&(yen|#165);/g,val:"\xA5"},euro:{regex:/&(euro|#8364);/g,val:"\u20AC"},copyright:{regex:/&(copy|#169);/g,val:"\xA9"},reg:{regex:/&(reg|#174);/g,val:"\xAE"},inr:{regex:/&(inr|#8377);/g,val:"\u20B9"},num_dec:{regex:/&#([0-9]{1,7});/g,val:o((R,M)=>NM(M,10,"&#"),"val")},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:o((R,M)=>NM(M,16,"&#x"),"val")}},this.addExternalEntities=ye,this.parseXml=pt,this.parseTextData=me,this.resolveNameSpace=Qe,this.buildAttributesMap=At,this.isItStopNode=Gse,this.replaceEntitiesValue=Er,this.readStopNodeData=jse,this.saveTextToParentTag=zse,this.addChild=Ht,this.ignoreAttributesFn=typeof(C=this.options.ignoreAttributes)=="function"?C:Array.isArray(C)?R=>{for(let M of C)if(typeof M=="string"&&R===M||M instanceof RegExp&&M.test(R))return!0}:()=>!1,this.entityExpansionCount=0,this.currentExpandedLength=0,this.matcher=new le,this.isCurrentNodeStopNode=!1,this.options.stopNodes&&this.options.stopNodes.length>0){this.stopNodeExpressions=[];for(let R=0;R0)){re||(B=this.replaceEntitiesValue(B,E,C));let G=this.options.jPath?C.toString():C,ee=this.options.tagValueProcessor(E,B,G,M,O);return ee==null?B:typeof ee!=typeof B||ee!==B?ee:this.options.trimValues||B.trim()===B?SM(B,this.options.parseTagValue,this.options.numberParseOptions):B}}o(me,"Y");function Qe(B){if(this.options.removeNSPrefix){let E=B.split(":"),C=B.charAt(0)==="/"?"/":"";if(E[0]==="xmlns")return"";E.length===2&&(B=C+E[1])}return B}o(Qe,"X");let rt=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function At(B,E,C){if(this.options.ignoreAttributes!==!0&&typeof B=="string"){let R=i(B,rt),M=R.length,O={},re={};for(let G=0;G0&&typeof E=="object"&&E.updateCurrent&&E.updateCurrent(re);for(let G=0;G",O,"Closing Tag is not closed."),G=B.substring(O+2,re).trim();if(this.options.removeNSPrefix){let ue=G.indexOf(":");ue!==-1&&(G=G.substr(ue+1))}G=iw(this.options.transformTagName,G,"",this.options).tagName,C&&(R=this.saveTextToParentTag(R,C,this.matcher));let ee=this.matcher.getCurrentTag();if(G&&this.options.unpairedTags.indexOf(G)!==-1)throw new Error(`Unpaired tag can not be used as closing tag: `);ee&&this.options.unpairedTags.indexOf(ee)!==-1&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,C=this.tagsNodeStack.pop(),R="",O=re}else if(B[O+1]==="?"){let re=nw(B,O,!1,"?>");if(!re)throw new Error("Pi Tag is not closed.");if(R=this.saveTextToParentTag(R,C,this.matcher),!(this.options.ignoreDeclaration&&re.tagName==="?xml"||this.options.ignorePiTags)){let G=new k(re.tagName);G.add(this.options.textNodeName,""),re.tagName!==re.tagExp&&re.attrExpPresent&&(G[":@"]=this.buildAttributesMap(re.tagExp,this.matcher,re.tagName)),this.addChild(C,G,this.matcher,O)}O=re.closeIndex+1}else if(B.substr(O+1,3)==="!--"){let re=Sl(B,"-->",O+4,"Comment is not closed.");if(this.options.commentPropName){let G=B.substring(O+4,re-2);R=this.saveTextToParentTag(R,C,this.matcher),C.add(this.options.commentPropName,[{[this.options.textNodeName]:G}])}O=re}else if(B.substr(O+1,2)==="!D"){let re=M.readDocType(B,O);this.docTypeEntities=re.entities,O=re.i}else if(B.substr(O+1,2)==="!["){let re=Sl(B,"]]>",O,"CDATA is not closed.")-2,G=B.substring(O+9,re);R=this.saveTextToParentTag(R,C,this.matcher);let ee=this.parseTextData(G,C.tagname,this.matcher,!0,!1,!0,!0);ee==null&&(ee=""),this.options.cdataPropName?C.add(this.options.cdataPropName,[{[this.options.textNodeName]:G}]):C.add(this.options.textNodeName,ee),O=re+2}else{let re=nw(B,O,this.options.removeNSPrefix);if(!re){let jn=B.substring(Math.max(0,O-50),Math.min(B.length,O+50));throw new Error(`readTagExp returned undefined at position ${O}. Context: "${jn}"`)}let G=re.tagName,ee=re.rawTagName,ue=re.tagExp,Ee=re.attrExpPresent,we=re.closeIndex;if({tagName:G,tagExp:ue}=iw(this.options.transformTagName,G,ue,this.options),this.options.strictReservedNames&&(G===this.options.commentPropName||G===this.options.cdataPropName))throw new Error(`Invalid tag name: ${G}`);C&&R&&C.tagname!=="!xml"&&(R=this.saveTextToParentTag(R,C,this.matcher,!1));let nt=C;nt&&this.options.unpairedTags.indexOf(nt.tagname)!==-1&&(C=this.tagsNodeStack.pop(),this.matcher.pop());let Ve=!1;ue.length>0&&ue.lastIndexOf("/")===ue.length-1&&(Ve=!0,G[G.length-1]==="/"?(G=G.substr(0,G.length-1),ue=G):ue=ue.substr(0,ue.length-1),Ee=G!==ue);let it,gt=null,so={};it=Ae(ee),G!==E.tagname&&this.matcher.push(G,{},it),G!==ue&&Ee&&(gt=this.buildAttributesMap(ue,this.matcher,G),gt&&(so=ie(gt,this.options))),G!==E.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode(this.stopNodeExpressions,this.matcher));let jr=O;if(this.isCurrentNodeStopNode){let jn="";if(Ve)O=re.closeIndex;else if(this.options.unpairedTags.indexOf(G)!==-1)O=re.closeIndex;else{let cw=this.readStopNodeData(B,ee,we+1);if(!cw)throw new Error(`Unexpected end of ${ee}`);O=cw.i,jn=cw.tagContent}let aw=new k(G);gt&&(aw[":@"]=gt),aw.add(this.options.textNodeName,jn),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(C,aw,this.matcher,jr)}else{if(Ve){({tagName:G,tagExp:ue}=iw(this.options.transformTagName,G,ue,this.options));let jn=new k(G);gt&&(jn[":@"]=gt),this.addChild(C,jn,this.matcher,jr),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else{if(this.options.unpairedTags.indexOf(G)!==-1){let jn=new k(G);gt&&(jn[":@"]=gt),this.addChild(C,jn,this.matcher,jr),this.matcher.pop(),this.isCurrentNodeStopNode=!1,O=re.closeIndex;continue}{let jn=new k(G);if(this.tagsNodeStack.length>this.options.maxNestedTags)throw new Error("Maximum nested tags exceeded");this.tagsNodeStack.push(C),gt&&(jn[":@"]=gt),this.addChild(C,jn,this.matcher,jr),C=jn}}R="",O=we}}else R+=B[O];return E.child},"Z");function Ht(B,E,C,R){this.options.captureMetaData||(R=void 0);let M=this.options.jPath?C.toString():C,O=this.options.updateTag(E.tagname,M,E[":@"]);O===!1||(typeof O=="string"&&(E.tagname=O),B.addChild(E,R))}o(Ht,"J");function Er(B,E,C){let R=this.options.processEntities;if(!R||!R.enabled)return B;if(R.allowedTags){let M=this.options.jPath?C.toString():C;if(!(Array.isArray(R.allowedTags)?R.allowedTags.includes(E):R.allowedTags(E,M)))return B}if(R.tagFilter){let M=this.options.jPath?C.toString():C;if(!R.tagFilter(E,M))return B}for(let M in this.docTypeEntities){let O=this.docTypeEntities[M],re=B.match(O.regx);if(re){if(this.entityExpansionCount+=re.length,R.maxTotalExpansions&&this.entityExpansionCount>R.maxTotalExpansions)throw new Error(`Entity expansion limit exceeded: ${this.entityExpansionCount} > ${R.maxTotalExpansions}`);let G=B.length;if(B=B.replace(O.regx,O.val),R.maxExpandedLength&&(this.currentExpandedLength+=B.length-G,this.currentExpandedLength>R.maxExpandedLength))throw new Error(`Total expanded content size exceeded: ${this.currentExpandedLength} > ${R.maxExpandedLength}`)}}if(B.indexOf("&")===-1)return B;for(let M in this.lastEntities){let O=this.lastEntities[M];B=B.replace(O.regex,O.val)}if(B.indexOf("&")===-1)return B;if(this.options.htmlEntities)for(let M in this.htmlEntities){let O=this.htmlEntities[M];B=B.replace(O.regex,O.val)}return B.replace(this.ampEntity.regex,this.ampEntity.val)}o(Er,"K");function zse(B,E,C,R){return B&&(R===void 0&&(R=E.child.length===0),(B=this.parseTextData(B,E.tagname,C,!1,!!E[":@"]&&Object.keys(E[":@"]).length!==0,R))!==void 0&&B!==""&&E.add(this.options.textNodeName,B),B=""),B}o(zse,"Q");function Gse(B,E){if(!B||B.length===0)return!1;for(let C=0;C"){let it,gt="";for(let so=nt;so",C,`${E} is not closed`);if(B.substring(C+2,O).trim()===E&&(M--,M===0))return{tagContent:B.substring(R,C),i:O};C=O}else if(B[C+1]==="?")C=Sl(B,"?>",C+1,"StopNode is not closed.");else if(B.substr(C+1,3)==="!--")C=Sl(B,"-->",C+3,"StopNode is not closed.");else if(B.substr(C+1,2)==="![")C=Sl(B,"]]>",C,"StopNode is not closed.")-2;else{let O=nw(B,C,">");O&&((O&&O.tagName)===E&&O.tagExp[O.tagExp.length-1]!=="/"&&M++,C=O.closeIndex)}}o(jse,"it");function SM(B,E,C){if(E&&typeof B=="string"){let R=B.trim();return R==="true"||R!=="false"&&(function(M,O={}){if(O=Object.assign({},ae,O),!M||typeof M!="string")return M;let re=M.trim();if(O.skipLike!==void 0&&O.skipLike.test(re))return M;if(M==="0")return 0;if(O.hex&&te.test(re))return(function(ee){if(parseInt)return parseInt(ee,16);if(Number.parseInt)return Number.parseInt(ee,16);if(window&&window.parseInt)return window.parseInt(ee,16);throw new Error("parseInt, Number.parseInt, window.parseInt are not supported")})(re);if(re.includes("e")||re.includes("E"))return(function(ee,ue,Ee){if(!Ee.eNotation)return ee;let we=ue.match(fe);if(we){let nt=we[1]||"",Ve=we[3].indexOf("e")===-1?"E":"e",it=we[2],gt=nt?ee[it.length+1]===Ve:ee[it.length]===Ve;return it.length>1&>?ee:it.length!==1||!we[3].startsWith(`.${Ve}`)&&we[3][0]!==Ve?Ee.leadingZeros&&!gt?(ue=(we[1]||"")+we[3],Number(ue)):ee:Number(ue)}return ee})(M,re,O);{let ee=ne.exec(re);if(ee){let ue=ee[1]||"",Ee=ee[2],we=((G=ee[3])&&G.indexOf(".")!==-1&&((G=G.replace(/0+$/,""))==="."?G="0":G[0]==="."?G="0"+G:G[G.length-1]==="."&&(G=G.substring(0,G.length-1))),G),nt=ue?M[Ee.length+1]===".":M[Ee.length]===".";if(!O.leadingZeros&&(Ee.length>1||Ee.length===1&&!nt))return M;{let Ve=Number(re),it=String(Ve);if(Ve===0)return Ve;if(it.search(/[eE]/)!==-1)return O.eNotation?Ve:M;if(re.indexOf(".")!==-1)return it==="0"||it===we||it===`${ue}${we}`?Ve:M;let gt=Ee?we:re;return Ee?gt===it||ue+gt===it?Ve:M:gt===it||gt===ue+it?Ve:M}}return M}var G})(B,C)}return B!==void 0?B:""}o(SM,"nt");function NM(B,E,C){let R=Number.parseInt(B,E);return R>=0&&R<=1114111?String.fromCodePoint(R):C+B+";"}o(NM,"st");function iw(B,E,C,R){if(B){let M=B(E);C===E&&(C=M),E=M}return{tagName:E=vM(E,R),tagExp:C}}o(iw,"rt");function vM(B,E){if(c.includes(B))throw new Error(`[SECURITY] Invalid name: "${B}" is a reserved JavaScript keyword that could cause prototype pollution`);return a.includes(B)?E.onDangerousProperty(B):B}o(vM,"ot");let sw=k.getMetaDataSymbol();function Yse(B,E){if(!B||typeof B!="object")return{};if(!E)return B;let C={};for(let R in B)R.startsWith(E)?C[R.substring(E.length)]=B[R]:C[R]=B[R];return C}o(Yse,"lt");function Kse(B,E,C){return RM(B,E,C)}o(Kse,"ht");function RM(B,E,C){let R,M={};for(let O=0;O0&&(M[E.textNodeName]=R):R!==void 0&&(M[E.textNodeName]=R),M}o(RM,"pt");function Jse(B){let E=Object.keys(B);for(let C=0;C0&&(C=` +`);let R=[];if(E.stopNodes&&Array.isArray(E.stopNodes))for(let M=0;M`,re=!1,R.pop();continue}if(ue===E.commentPropName){O+=C+``,re=!0,R.pop();continue}if(ue[0]==="?"){let gt=kM(ee[":@"],E,we),so=ue==="?xml"?"":C,jr=ee[ue][0][E.textNodeName];jr=jr.length!==0?" "+jr:"",O+=so+`<${ue}${jr}${gt}?>`,re=!0,R.pop();continue}let nt=C;nt!==""&&(nt+=E.indentBy);let Ve=C+`<${ue}${kM(ee[":@"],E,we)}`,it;it=we?_M(ee[ue],E):PM(ee[ue],E,nt,R,M),E.unpairedTags.indexOf(ue)!==-1?E.suppressUnpairedNode?O+=Ve+">":O+=Ve+"/>":it&&it.length!==0||!E.suppressEmptyNode?it&&it.endsWith(">")?O+=Ve+`>${it}${C}`:(O+=Ve+">",it&&C!==""&&(it.includes("/>")||it.includes("`):O+=Ve+"/>",re=!0,R.pop()}return O}o(PM,"mt");function Zse(B,E){if(!B||E.ignoreAttributes)return null;let C={},R=!1;for(let M in B)Object.prototype.hasOwnProperty.call(B,M)&&(C[M.startsWith(E.attributeNamePrefix)?M.substr(E.attributeNamePrefix.length):M]=B[M],R=!0);return R?C:null}o(Zse,"xt");function _M(B,E){if(!Array.isArray(B))return B!=null?B.toString():"";let C="";for(let R=0;R${G}`:C+=`<${O}${re}/>`}}}return C}o(_M,"Nt");function eoe(B,E){let C="";if(B&&!E.ignoreAttributes)for(let R in B){if(!Object.prototype.hasOwnProperty.call(B,R))continue;let M=B[R];M===!0&&E.suppressBooleanAttributes?C+=` ${R.substr(E.attributeNamePrefix.length)}`:C+=` ${R.substr(E.attributeNamePrefix.length)}="${M}"`}return C}o(eoe,"bt");function DM(B){let E=Object.keys(B);for(let C=0;C0&&E.processEntities)for(let C=0;C","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1,jPath:!0};function Vi(B){if(this.options=Object.assign({},roe,B),this.options.stopNodes&&Array.isArray(this.options.stopNodes)&&(this.options.stopNodes=this.options.stopNodes.map(C=>typeof C=="string"&&C.startsWith("*.")?".."+C.substring(2):C)),this.stopNodeExpressions=[],this.options.stopNodes&&Array.isArray(this.options.stopNodes))for(let C=0;C{for(let R of E)if(typeof R=="string"&&C===R||R instanceof RegExp&&R.test(C))return!0}:()=>!1,this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=soe),this.processTextOrObjNode=noe,this.options.format?(this.indentate=ioe,this.tagEndChar=`> `,this.newLine=` -`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}o(un,"bt");function t9(y,p,h,b){let x=this.extractAttributes(y);if(b.push(p,x),this.checkStopNode(b)){let k=this.buildRawContent(y),_=this.buildAttributesForStopNode(y);return b.pop(),this.buildObjectNode(k,p,_,h)}let N=this.j2x(y,h+1,b);return b.pop(),y[this.options.textNodeName]!==void 0&&Object.keys(y).length===1?this.buildTextValNode(y[this.options.textNodeName],p,N.attrStr,h,b):this.buildObjectNode(N.val,p,N.attrStr,h)}o(t9,"Et");function r9(y){return this.options.indentBy.repeat(y)}o(r9,"yt");function n9(y){return!(!y.startsWith(this.options.attributeNamePrefix)||y===this.options.textNodeName)&&y.substr(this.attrPrefixLen)}o(n9,"wt"),un.prototype.build=function(y){if(this.options.preserveOrder)return $5(y,this.options);{Array.isArray(y)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(y={[this.options.arrayNodeName]:y});let p=new Co;return this.j2x(y,0,p).val}},un.prototype.j2x=function(y,p,h){let b="",x="",N=this.options.jPath?h.toString():h,k=this.checkStopNode(h);for(let _ in y)if(Object.prototype.hasOwnProperty.call(y,_))if(y[_]===void 0)this.isAttribute(_)&&(x+="");else if(y[_]===null)this.isAttribute(_)||_===this.options.cdataPropName?x+="":_[0]==="?"?x+=this.indentate(p)+"<"+_+"?"+this.tagEndChar:x+=this.indentate(p)+"<"+_+"/"+this.tagEndChar;else if(y[_]instanceof Date)x+=this.buildTextValNode(y[_],_,"",p,h);else if(typeof y[_]!="object"){let M=this.isAttribute(_);if(M&&!this.ignoreAttributesFn(M,N))b+=this.buildAttrPairStr(M,""+y[_],k);else if(!M)if(_===this.options.textNodeName){let q=this.options.tagValueProcessor(_,""+y[_]);x+=this.replaceEntitiesValue(q)}else{h.push(_);let q=this.checkStopNode(h);if(h.pop(),q){let G=""+y[_];x+=G===""?this.indentate(p)+"<"+_+this.closeTag(_)+this.tagEndChar:this.indentate(p)+"<"+_+">"+G+""+Qe+"${x}`;else if(typeof x=="object"&&x!==null){let N=this.buildRawContent(x),k=this.buildAttributesForStopNode(x);p+=N===""?`<${h}${k}/>`:`<${h}${k}>${N}`}}else if(typeof b=="object"&&b!==null){let x=this.buildRawContent(b),N=this.buildAttributesForStopNode(b);p+=x===""?`<${h}${N}/>`:`<${h}${N}>${x}`}else p+=`<${h}>${b}`}return p},un.prototype.buildAttributesForStopNode=function(y){if(!y||typeof y!="object")return"";let p="";if(this.options.attributesGroupName&&y[this.options.attributesGroupName]){let h=y[this.options.attributesGroupName];for(let b in h){if(!Object.prototype.hasOwnProperty.call(h,b))continue;let x=b.startsWith(this.options.attributeNamePrefix)?b.substring(this.options.attributeNamePrefix.length):b,N=h[b];N===!0&&this.options.suppressBooleanAttributes?p+=" "+x:p+=" "+x+'="'+N+'"'}}else for(let h in y){if(!Object.prototype.hasOwnProperty.call(y,h))continue;let b=this.isAttribute(h);if(b){let x=y[h];x===!0&&this.options.suppressBooleanAttributes?p+=" "+b:p+=" "+b+'="'+x+'"'}}return p},un.prototype.buildObjectNode=function(y,p,h,b){if(y==="")return p[0]==="?"?this.indentate(b)+"<"+p+h+"?"+this.tagEndChar:this.indentate(b)+"<"+p+h+this.closeTag(p)+this.tagEndChar;{let x="`+this.newLine:this.indentate(b)+"<"+p+h+N+this.tagEndChar+y+this.indentate(b)+x:this.indentate(b)+"<"+p+h+N+">"+y+x}},un.prototype.closeTag=function(y){let p="";return this.options.unpairedTags.indexOf(y)!==-1?this.options.suppressUnpairedNode||(p="/"):p=this.options.suppressEmptyNode?"/":`>`+this.newLine;if(this.options.commentPropName!==!1&&p===this.options.commentPropName)return this.indentate(b)+``+this.newLine;if(p[0]==="?")return this.indentate(b)+"<"+p+h+"?"+this.tagEndChar;{let N=this.options.tagValueProcessor(p,y);return N=this.replaceEntitiesValue(N),N===""?this.indentate(b)+"<"+p+h+this.closeTag(p)+this.tagEndChar:this.indentate(b)+"<"+p+h+">"+N+"0&&this.options.processEntities)for(let p=0;p{"use strict";Object.defineProperty(nl,"__esModule",{value:!0});nl.XML_CHARKEY=nl.XML_ATTRKEY=void 0;nl.XML_ATTRKEY="$";nl.XML_CHARKEY="_"});var bW=g(ym=>{"use strict";Object.defineProperty(ym,"__esModule",{value:!0});ym.stringifyXML=gPe;ym.parseXML=yPe;var U0=EW(),BW=L0();function IW(t){var e;return{attributesGroupName:BW.XML_ATTRKEY,textNodeName:(e=t.xmlCharKey)!==null&&e!==void 0?e:BW.XML_CHARKEY,ignoreAttributes:!1,suppressBooleanAttributes:!1}}o(IW,"getCommonOptions");function fPe(t={}){var e,r;return Object.assign(Object.assign({},IW(t)),{attributeNamePrefix:"@_",format:!0,suppressEmptyNode:!0,indentBy:"",rootNodeName:(e=t.rootName)!==null&&e!==void 0?e:"root",cdataPropName:(r=t.cdataPropName)!==null&&r!==void 0?r:"__cdata"})}o(fPe,"getSerializerOptions");function mPe(t={}){return Object.assign(Object.assign({},IW(t)),{parseAttributeValue:!1,parseTagValue:!1,attributeNamePrefix:"",stopNodes:t.stopNodes,processEntities:!0,trimValues:!1})}o(mPe,"getParserOptions");function gPe(t,e={}){let r=fPe(e),n=new U0.XMLBuilder(r),i={[r.rootNodeName]:t};return`${n.build(i)}`.replace(/\n/g,"")}o(gPe,"stringifyXML");async function yPe(t,e={}){if(!t)throw new Error("Document is empty");let r=U0.XMLValidator.validate(t);if(r!==!0)throw r;let i=new U0.XMLParser(mPe(e)).parse(t);if(i["?xml"]&&delete i["?xml"],!e.includeRoot)for(let s of Object.keys(i)){let a=i[s];return typeof a=="object"?Object.assign({},a):a}return i}o(yPe,"parseXML")});var F0=g(xi=>{"use strict";Object.defineProperty(xi,"__esModule",{value:!0});xi.XML_CHARKEY=xi.XML_ATTRKEY=xi.parseXML=xi.stringifyXML=void 0;var QW=bW();Object.defineProperty(xi,"stringifyXML",{enumerable:!0,get:function(){return QW.stringifyXML}});Object.defineProperty(xi,"parseXML",{enumerable:!0,get:function(){return QW.parseXML}});var wW=L0();Object.defineProperty(xi,"XML_ATTRKEY",{enumerable:!0,get:function(){return wW.XML_ATTRKEY}});Object.defineProperty(xi,"XML_CHARKEY",{enumerable:!0,get:function(){return wW.XML_CHARKEY}})});var Em=g(Cm=>{"use strict";Object.defineProperty(Cm,"__esModule",{value:!0});Cm.logger=void 0;var CPe=Jc();Cm.logger=(0,CPe.createClientLogger)("storage-blob")});var j0={};Pd(j0,{__addDisposableResource:()=>$W,__assign:()=>Bm,__asyncDelegator:()=>HW,__asyncGenerator:()=>qW,__asyncValues:()=>zW,__await:()=>il,__awaiter:()=>OW,__classPrivateFieldGet:()=>JW,__classPrivateFieldIn:()=>WW,__classPrivateFieldSet:()=>VW,__createBinding:()=>bm,__decorate:()=>SW,__disposeResources:()=>KW,__esDecorate:()=>_W,__exportStar:()=>kW,__extends:()=>NW,__generator:()=>MW,__importDefault:()=>YW,__importStar:()=>GW,__makeTemplateObject:()=>jW,__metadata:()=>TW,__param:()=>RW,__propKey:()=>PW,__read:()=>z0,__rest:()=>xW,__rewriteRelativeImportExtension:()=>XW,__runInitializers:()=>vW,__setFunctionName:()=>DW,__spread:()=>LW,__spreadArray:()=>FW,__spreadArrays:()=>UW,__values:()=>Im,default:()=>IPe});function NW(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");q0(t,e);function r(){this.constructor=t}o(r,"__"),t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}function xW(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(t);i=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s}function RW(t,e){return function(r,n){e(r,n,t)}}function _W(t,e,r,n,i,s){function a(w){if(w!==void 0&&typeof w!="function")throw new TypeError("Function expected");return w}o(a,"accept");for(var c=n.kind,l=c==="getter"?"get":c==="setter"?"set":"value",A=!e&&t?n.static?t:t.prototype:null,u=e||(A?Object.getOwnPropertyDescriptor(A,n.name):{}),d,f=!1,m=r.length-1;m>=0;m--){var C={};for(var Q in n)C[Q]=Q==="access"?{}:n[Q];for(var Q in n.access)C.access[Q]=n.access[Q];C.addInitializer=function(w){if(f)throw new TypeError("Cannot add initializers after decoration has completed");s.push(a(w||null))};var S=(0,r[m])(c==="accessor"?{get:u.get,set:u.set}:u[l],C);if(c==="accessor"){if(S===void 0)continue;if(S===null||typeof S!="object")throw new TypeError("Object expected");(d=a(S.get))&&(u.get=d),(d=a(S.set))&&(u.set=d),(d=a(S.init))&&i.unshift(d)}else(d=a(S))&&(c==="field"?i.unshift(d):u[l]=d)}A&&Object.defineProperty(A,n.name,u),f=!0}function vW(t,e,r){for(var n=arguments.length>2,i=0;i0&&s[s.length-1])&&(A[0]===6||A[0]===2)){r=0;continue}if(A[0]===3&&(!s||A[1]>s[0]&&A[1]=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function z0(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,s=[],a;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)s.push(i.value)}catch(c){a={error:c}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(a)throw a.error}}return s}function LW(){for(var t=[],e=0;e1||l(m,Q)})},C&&(i[m]=C(i[m])))}function l(m,C){try{A(n[m](C))}catch(Q){f(s[0][3],Q)}}function A(m){m.value instanceof il?Promise.resolve(m.value.v).then(u,d):f(s[0][2],m)}function u(m){l("next",m)}function d(m){l("throw",m)}function f(m,C){m(C),s.shift(),s.length&&l(s[0][0],s[0][1])}}function HW(t){var e,r;return e={},n("next"),n("throw",function(i){throw i}),n("return"),e[Symbol.iterator]=function(){return this},e;function n(i,s){e[i]=t[i]?function(a){return(r=!r)?{value:il(t[i](a)),done:!1}:s?s(a):a}:s}}function zW(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof Im=="function"?Im(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(s){r[s]=t[s]&&function(a){return new Promise(function(c,l){a=t[s](a),i(c,l,a.done,a.value)})}}function i(s,a,c,l){Promise.resolve(l).then(function(A){s({value:A,done:c})},a)}}function jW(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function GW(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r=H0(t),n=0;n{q0=o(function(t,e){return q0=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},q0(t,e)},"extendStatics");o(NW,"__extends");Bm=o(function(){return Bm=Object.assign||o(function(e){for(var r,n=1,i=arguments.length;n{"use strict";Object.defineProperty(Qm,"__esModule",{value:!0});Qm.BuffersStream=void 0;var bPe=require("node:stream"),Y0=class extends bPe.Readable{static{o(this,"BuffersStream")}buffers;byteLength;byteOffsetInCurrentBuffer;bufferIndex;pushedBytesLength;constructor(e,r,n){super(n),this.buffers=e,this.byteLength=r,this.byteOffsetInCurrentBuffer=0,this.bufferIndex=0,this.pushedBytesLength=0;let i=0;for(let s of this.buffers)i+=s.byteLength;if(i=this.byteLength&&this.push(null),e||(e=this.readableHighWaterMark);let r=[],n=0;for(;ne-n){let c=this.byteOffsetInCurrentBuffer+e-n;r.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,c)),this.pushedBytesLength+=e-n,this.byteOffsetInCurrentBuffer=c,n=e;break}else{let c=this.byteOffsetInCurrentBuffer+a;r.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,c)),a===s?(this.byteOffsetInCurrentBuffer=0,this.bufferIndex++):this.byteOffsetInCurrentBuffer=c,this.pushedBytesLength+=a,n+=a}}r.length>1?this.push(Buffer.concat(r)):r.length===1&&this.push(r[0])}};Qm.BuffersStream=Y0});var e$=g(Nm=>{"use strict";Object.defineProperty(Nm,"__esModule",{value:!0});Nm.PooledBuffer=void 0;var QPe=(G0(),Zt(j0)),wPe=ZW(),NPe=QPe.__importDefault(require("node:buffer")),wm=NPe.default.constants.MAX_LENGTH,J0=class{static{o(this,"PooledBuffer")}buffers=[];capacity;_size;get size(){return this._size}constructor(e,r,n){this.capacity=e,this._size=0;let i=Math.ceil(e/wm);for(let s=0;s0&&(e[0]=e[0].slice(a))}getReadableStream(){return new wPe.BuffersStream(this.buffers,this.size)}};Nm.PooledBuffer=J0});var t$=g(xm=>{"use strict";Object.defineProperty(xm,"__esModule",{value:!0});xm.BufferScheduler=void 0;var xPe=require("events"),SPe=e$(),V0=class{static{o(this,"BufferScheduler")}bufferSize;maxBuffers;readable;outgoingHandler;emitter=new xPe.EventEmitter;concurrency;offset=0;isStreamEnd=!1;isError=!1;executingOutgoingHandlers=0;encoding;numBuffers=0;unresolvedDataArray=[];unresolvedLength=0;incoming=[];outgoing=[];constructor(e,r,n,i,s,a){if(r<=0)throw new RangeError(`bufferSize must be larger than 0, current is ${r}`);if(n<=0)throw new RangeError(`maxBuffers must be larger than 0, current is ${n}`);if(s<=0)throw new RangeError(`concurrency must be larger than 0, current is ${s}`);this.bufferSize=r,this.maxBuffers=n,this.readable=e,this.outgoingHandler=i,this.concurrency=s,this.encoding=a}async do(){return new Promise((e,r)=>{this.readable.on("data",n=>{n=typeof n=="string"?Buffer.from(n,this.encoding):n,this.appendUnresolvedData(n),this.resolveData()||this.readable.pause()}),this.readable.on("error",n=>{this.emitter.emit("error",n)}),this.readable.on("end",()=>{this.isStreamEnd=!0,this.emitter.emit("checkEnd")}),this.emitter.on("error",n=>{this.isError=!0,this.readable.pause(),r(n)}),this.emitter.on("checkEnd",()=>{if(this.outgoing.length>0){this.triggerOutgoingHandlers();return}if(this.isStreamEnd&&this.executingOutgoingHandlers===0)if(this.unresolvedLength>0&&this.unresolvedLengthn.getReadableStream(),n.size,this.offset).then(e).catch(r)}else{if(this.unresolvedLength>=this.bufferSize)return;e()}})})}appendUnresolvedData(e){this.unresolvedDataArray.push(e),this.unresolvedLength+=e.length}shiftBufferFromUnresolvedDataArray(e){return e?e.fill(this.unresolvedDataArray,this.unresolvedLength):e=new SPe.PooledBuffer(this.bufferSize,this.unresolvedDataArray,this.unresolvedLength),this.unresolvedLength-=e.size,e}resolveData(){for(;this.unresolvedLength>=this.bufferSize;){let e;if(this.incoming.length>0)e=this.incoming.shift(),this.shiftBufferFromUnresolvedDataArray(e);else if(this.numBuffers=this.concurrency)return;e=this.outgoing.shift(),e&&this.triggerOutgoingHandler(e)}while(e)}async triggerOutgoingHandler(e){let r=e.size;this.executingOutgoingHandlers++,this.offset+=r;try{await this.outgoingHandler(()=>e.getReadableStream(),r,this.offset-r)}catch(n){this.emitter.emit("error",n);return}this.executingOutgoingHandlers--,this.reuseBuffer(e),this.emitter.emit("checkEnd")}reuseBuffer(e){this.incoming.push(e),!this.isError&&this.resolveData()&&!this.isStreamEnd&&this.readable.resume()}};xm.BufferScheduler=V0});var r$=g($0=>{"use strict";Object.defineProperty($0,"__esModule",{value:!0});$0.getCachedDefaultHttpClient=_Pe;var RPe=Ot(),W0;function _Pe(){return W0||(W0=(0,RPe.createDefaultHttpClient)()),W0}o(_Pe,"getCachedDefaultHttpClient")});var i$=g(n$=>{"use strict";Object.defineProperty(n$,"__esModule",{value:!0})});var Gu=g(Sm=>{"use strict";Object.defineProperty(Sm,"__esModule",{value:!0});Sm.BaseRequestPolicy=void 0;var K0=class{static{o(this,"BaseRequestPolicy")}_nextPolicy;_options;constructor(e,r){this._nextPolicy=e,this._options=r}shouldLog(e){return this._options.shouldLog(e)}log(e,r){this._options.log(e,r)}};Sm.BaseRequestPolicy=K0});var hs=g(Sn=>{"use strict";Object.defineProperty(Sn,"__esModule",{value:!0});Sn.PathStylePorts=Sn.DevelopmentConnectionString=Sn.HeaderConstants=Sn.URLConstants=Sn.SDK_VERSION=void 0;Sn.SDK_VERSION="1.0.0";Sn.URLConstants={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};Sn.HeaderConstants={AUTHORIZATION:"Authorization",AUTHORIZATION_SCHEME:"Bearer",CONTENT_ENCODING:"Content-Encoding",CONTENT_ID:"Content-ID",CONTENT_LANGUAGE:"Content-Language",CONTENT_LENGTH:"Content-Length",CONTENT_MD5:"Content-Md5",CONTENT_TRANSFER_ENCODING:"Content-Transfer-Encoding",CONTENT_TYPE:"Content-Type",COOKIE:"Cookie",DATE:"date",IF_MATCH:"if-match",IF_MODIFIED_SINCE:"if-modified-since",IF_NONE_MATCH:"if-none-match",IF_UNMODIFIED_SINCE:"if-unmodified-since",PREFIX_FOR_STORAGE:"x-ms-",RANGE:"Range",USER_AGENT:"User-Agent",X_MS_CLIENT_REQUEST_ID:"x-ms-client-request-id",X_MS_COPY_SOURCE:"x-ms-copy-source",X_MS_DATE:"x-ms-date",X_MS_ERROR_CODE:"x-ms-error-code",X_MS_VERSION:"x-ms-version",X_MS_CopySourceErrorCode:"x-ms-copy-source-error-code"};Sn.DevelopmentConnectionString="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;";Sn.PathStylePorts=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"]});var ra=g(je=>{"use strict";Object.defineProperty(je,"__esModule",{value:!0});je.escapeURLPath=PPe;je.getValueInConnString=Xs;je.extractConnectionStringParts=TPe;je.appendToURLPath=MPe;je.setURLParameter=o$;je.getURLParameter=a$;je.setURLHost=kPe;je.getURLPath=LPe;je.getURLScheme=UPe;je.getURLPathAndQuery=FPe;je.getURLQueries=qPe;je.appendToURLQuery=HPe;je.truncatedISO8061Date=zPe;je.base64encode=c$;je.base64decode=jPe;je.generateBlockID=GPe;je.delay=YPe;je.padStart=l$;je.sanitizeURL=A$;je.sanitizeHeaders=JPe;je.iEqual=VPe;je.getAccountNameFromUrl=u$;je.isIpEndpointStyle=d$;je.attachCredential=WPe;je.httpAuthorizationToString=$Pe;je.EscapePath=KPe;je.assertResponse=XPe;var vPe=Ot(),s$=pt(),sl=hs();function PPe(t){let e=new URL(t),r=e.pathname;return r=r||"/",r=OPe(r),e.pathname=r,e.toString()}o(PPe,"escapeURLPath");function DPe(t){let e="";if(t.search("DevelopmentStorageProxyUri=")!==-1){let r=t.split(";");for(let n of r)n.trim().startsWith("DevelopmentStorageProxyUri=")&&(e=n.trim().match("DevelopmentStorageProxyUri=(.*)")[1])}return e}o(DPe,"getProxyUriFromDevConnString");function Xs(t,e){let r=t.split(";");for(let n of r)if(n.trim().startsWith(e))return n.trim().match(e+"=(.*)")[1];return""}o(Xs,"getValueInConnString");function TPe(t){let e="";t.startsWith("UseDevelopmentStorage=true")&&(e=DPe(t),t=sl.DevelopmentConnectionString);let r=Xs(t,"BlobEndpoint");if(r=r.endsWith("/")?r.slice(0,-1):r,t.search("DefaultEndpointsProtocol=")!==-1&&t.search("AccountKey=")!==-1){let n="",i="",s=Buffer.from("accountKey","base64"),a="";if(i=Xs(t,"AccountName"),s=Buffer.from(Xs(t,"AccountKey"),"base64"),!r){n=Xs(t,"DefaultEndpointsProtocol");let c=n.toLowerCase();if(c!=="https"&&c!=="http")throw new Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'");if(a=Xs(t,"EndpointSuffix"),!a)throw new Error("Invalid EndpointSuffix in the provided Connection String");r=`${n}://${i}.blob.${a}`}if(i){if(s.length===0)throw new Error("Invalid AccountKey in the provided Connection String")}else throw new Error("Invalid AccountName in the provided Connection String");return{kind:"AccountConnString",url:r,accountName:i,accountKey:s,proxyUri:e}}else{let n=Xs(t,"SharedAccessSignature"),i=Xs(t,"AccountName");if(i||(i=u$(r)),r){if(!n)throw new Error("Invalid SharedAccessSignature in the provided SAS Connection String")}else throw new Error("Invalid BlobEndpoint in the provided SAS Connection String");return n.startsWith("?")&&(n=n.substring(1)),{kind:"SASConnString",url:r,accountName:i,accountSas:n}}}o(TPe,"extractConnectionStringParts");function OPe(t){return encodeURIComponent(t).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}o(OPe,"escape");function MPe(t,e){let r=new URL(t),n=r.pathname;return n=n?n.endsWith("/")?`${n}${e}`:`${n}/${e}`:e,r.pathname=n,r.toString()}o(MPe,"appendToURLPath");function o$(t,e,r){let n=new URL(t),i=encodeURIComponent(e),s=r?encodeURIComponent(r):void 0,a=n.search===""?"?":n.search,c=[];for(let l of a.slice(1).split("&"))if(l){let[A]=l.split("=",2);A!==i&&c.push(l)}return s&&c.push(`${i}=${s}`),n.search=c.length?`?${c.join("&")}`:"",n.toString()}o(o$,"setURLParameter");function a$(t,e){return new URL(t).searchParams.get(e)??void 0}o(a$,"getURLParameter");function kPe(t,e){let r=new URL(t);return r.hostname=e,r.toString()}o(kPe,"setURLHost");function LPe(t){try{return new URL(t).pathname}catch{return}}o(LPe,"getURLPath");function UPe(t){try{let e=new URL(t);return e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol}catch{return}}o(UPe,"getURLScheme");function FPe(t){let e=new URL(t),r=e.pathname;if(!r)throw new RangeError("Invalid url without valid path.");let n=e.search||"";return n=n.trim(),n!==""&&(n=n.startsWith("?")?n:`?${n}`),`${r}${n}`}o(FPe,"getURLPathAndQuery");function qPe(t){let e=new URL(t).search;if(!e)return{};e=e.trim(),e=e.startsWith("?")?e.substring(1):e;let r=e.split("&");r=r.filter(i=>{let s=i.indexOf("="),a=i.lastIndexOf("=");return s>0&&s===a&&a42&&(t=t.slice(0,42));let s=t+l$(e.toString(),48-t.length,"0");return c$(s)}o(GPe,"generateBlockID");async function YPe(t,e,r){return new Promise((n,i)=>{let s,a=o(()=>{s!==void 0&&clearTimeout(s),i(r)},"abortHandler");s=setTimeout(o(()=>{e!==void 0&&e.removeEventListener("abort",a),n()},"resolveHandler"),t),e!==void 0&&e.addEventListener("abort",a)})}o(YPe,"delay");function l$(t,e,r=" "){return String.prototype.padStart?t.padStart(e,r):(r=r||" ",t.length>e?t:(e=e-t.length,e>r.length&&(r+=r.repeat(e/r.length)),r.slice(0,e)+t))}o(l$,"padStart");function A$(t){let e=t;return a$(e,sl.URLConstants.Parameters.SIGNATURE)&&(e=o$(e,sl.URLConstants.Parameters.SIGNATURE,"*****")),e}o(A$,"sanitizeURL");function JPe(t){let e=(0,vPe.createHttpHeaders)();for(let[r,n]of t)r.toLowerCase()===sl.HeaderConstants.AUTHORIZATION.toLowerCase()?e.set(r,"*****"):r.toLowerCase()===sl.HeaderConstants.X_MS_COPY_SOURCE?e.set(r,A$(n)):e.set(r,n);return e}o(JPe,"sanitizeHeaders");function VPe(t,e){return t.toLocaleLowerCase()===e.toLocaleLowerCase()}o(VPe,"iEqual");function u$(t){let e=new URL(t),r;try{return e.hostname.split(".")[1]==="blob"?r=e.hostname.split(".")[0]:d$(e)?r=e.pathname.split("/")[1]:r="",r}catch{throw new Error("Unable to extract accountName with provided information.")}}o(u$,"getAccountNameFromUrl");function d$(t){let e=t.host;return/^.*:.*:.*$|^(localhost|host.docker.internal)(:[0-9]+)?$|^(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])(\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])){3}(:[0-9]+)?$/.test(e)||!!t.port&&sl.PathStylePorts.includes(t.port)}o(d$,"isIpEndpointStyle");function WPe(t,e){return t.credential=e,t}o(WPe,"attachCredential");function $Pe(t){return t?t.scheme+" "+t.value:void 0}o($Pe,"httpAuthorizationToString");function KPe(t){let e=t.split("/");for(let r=0;r{"use strict";Object.defineProperty(Rm,"__esModule",{value:!0});Rm.StorageBrowserPolicy=void 0;var ZPe=Gu(),eDe=pt(),X0=hs(),tDe=ra(),Z0=class extends ZPe.BaseRequestPolicy{static{o(this,"StorageBrowserPolicy")}constructor(e,r){super(e,r)}async sendRequest(e){return eDe.isNodeLike?this._nextPolicy.sendRequest(e):((e.method.toUpperCase()==="GET"||e.method.toUpperCase()==="HEAD")&&(e.url=(0,tDe.setURLParameter)(e.url,X0.URLConstants.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),e.headers.remove(X0.HeaderConstants.COOKIE),e.headers.remove(X0.HeaderConstants.CONTENT_LENGTH),this._nextPolicy.sendRequest(e))}};Rm.StorageBrowserPolicy=Z0});var f$=g(ol=>{"use strict";Object.defineProperty(ol,"__esModule",{value:!0});ol.StorageBrowserPolicyFactory=ol.StorageBrowserPolicy=void 0;var h$=p$();Object.defineProperty(ol,"StorageBrowserPolicy",{enumerable:!0,get:function(){return h$.StorageBrowserPolicy}});var ex=class{static{o(this,"StorageBrowserPolicyFactory")}create(e,r){return new h$.StorageBrowserPolicy(e,r)}};ol.StorageBrowserPolicyFactory=ex});var vm=g(_m=>{"use strict";Object.defineProperty(_m,"__esModule",{value:!0});_m.CredentialPolicy=void 0;var rDe=Gu(),tx=class extends rDe.BaseRequestPolicy{static{o(this,"CredentialPolicy")}sendRequest(e){return this._nextPolicy.sendRequest(this.signRequest(e))}signRequest(e){return e}};_m.CredentialPolicy=tx});var nx=g(Pm=>{"use strict";Object.defineProperty(Pm,"__esModule",{value:!0});Pm.AnonymousCredentialPolicy=void 0;var nDe=vm(),rx=class extends nDe.CredentialPolicy{static{o(this,"AnonymousCredentialPolicy")}constructor(e,r){super(e,r)}};Pm.AnonymousCredentialPolicy=rx});var Tm=g(Dm=>{"use strict";Object.defineProperty(Dm,"__esModule",{value:!0});Dm.Credential=void 0;var ix=class{static{o(this,"Credential")}create(e,r){throw new Error("Method should be implemented in children classes.")}};Dm.Credential=ix});var m$=g(Om=>{"use strict";Object.defineProperty(Om,"__esModule",{value:!0});Om.AnonymousCredential=void 0;var iDe=nx(),sDe=Tm(),sx=class extends sDe.Credential{static{o(this,"AnonymousCredential")}create(e,r){return new iDe.AnonymousCredentialPolicy(e,r)}};Om.AnonymousCredential=sx});var ax=g(ox=>{"use strict";Object.defineProperty(ox,"__esModule",{value:!0});ox.compareHeader=lDe;var oDe=new Uint32Array([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,1820,0,1823,1825,1827,1829,0,0,0,1837,2051,0,0,1843,0,3331,3354,3356,3358,3360,3362,3364,3366,3368,3370,0,0,0,0,0,0,0,3586,3593,3594,3610,3617,3619,3621,3628,3634,3637,3638,3656,3665,3696,3708,3710,3721,3722,3729,3737,3743,3746,3748,3750,3751,3753,0,0,0,1859,1860,1864,3586,3593,3594,3610,3617,3619,3621,3628,3634,3637,3638,3656,3665,3696,3708,3710,3721,3722,3729,3737,3743,3746,3748,3750,3751,3753,0,1868,0,1872,0]),aDe=new Uint32Array([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,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,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]),cDe=new Uint32Array([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,32786,0,0,0,0,0,33298,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 lDe(t,e){return ADe(t,e)?-1:1}o(lDe,"compareHeader");function ADe(t,e){let r=[oDe,aDe,cDe],n=0,i=0,s=0;for(;ns;let a=i{"use strict";Object.defineProperty(Mm,"__esModule",{value:!0});Mm.StorageSharedKeyCredentialPolicy=void 0;var ar=hs(),g$=ra(),uDe=vm(),dDe=ax(),cx=class extends uDe.CredentialPolicy{static{o(this,"StorageSharedKeyCredentialPolicy")}factory;constructor(e,r,n){super(e,r),this.factory=n}signRequest(e){e.headers.set(ar.HeaderConstants.X_MS_DATE,new Date().toUTCString()),e.body&&(typeof e.body=="string"||e.body!==void 0)&&e.body.length>0&&e.headers.set(ar.HeaderConstants.CONTENT_LENGTH,Buffer.byteLength(e.body));let r=[e.method.toUpperCase(),this.getHeaderValueToSign(e,ar.HeaderConstants.CONTENT_LANGUAGE),this.getHeaderValueToSign(e,ar.HeaderConstants.CONTENT_ENCODING),this.getHeaderValueToSign(e,ar.HeaderConstants.CONTENT_LENGTH),this.getHeaderValueToSign(e,ar.HeaderConstants.CONTENT_MD5),this.getHeaderValueToSign(e,ar.HeaderConstants.CONTENT_TYPE),this.getHeaderValueToSign(e,ar.HeaderConstants.DATE),this.getHeaderValueToSign(e,ar.HeaderConstants.IF_MODIFIED_SINCE),this.getHeaderValueToSign(e,ar.HeaderConstants.IF_MATCH),this.getHeaderValueToSign(e,ar.HeaderConstants.IF_NONE_MATCH),this.getHeaderValueToSign(e,ar.HeaderConstants.IF_UNMODIFIED_SINCE),this.getHeaderValueToSign(e,ar.HeaderConstants.RANGE)].join(` +`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}o(Vi,"Tt");function noe(B,E,C,R){let M=this.extractAttributes(B);if(R.push(E,M),this.checkStopNode(R)){let re=this.buildRawContent(B),G=this.buildAttributesForStopNode(B);return R.pop(),this.buildObjectNode(re,E,G,C)}let O=this.j2x(B,C+1,R);return R.pop(),B[this.options.textNodeName]!==void 0&&Object.keys(B).length===1?this.buildTextValNode(B[this.options.textNodeName],E,O.attrStr,C,R):this.buildObjectNode(O.val,E,O.attrStr,C)}o(noe,"St");function ioe(B){return this.options.indentBy.repeat(B)}o(ioe,"At");function soe(B){return!(!B.startsWith(this.options.attributeNamePrefix)||B===this.options.textNodeName)&&B.substr(this.attrPrefixLen)}o(soe,"Ot"),Vi.prototype.build=function(B){if(this.options.preserveOrder)return Xse(B,this.options);{Array.isArray(B)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(B={[this.options.arrayNodeName]:B});let E=new le;return this.j2x(B,0,E).val}},Vi.prototype.j2x=function(B,E,C){let R="",M="",O=this.options.jPath?C.toString():C,re=this.checkStopNode(C);for(let G in B)if(Object.prototype.hasOwnProperty.call(B,G))if(B[G]===void 0)this.isAttribute(G)&&(M+="");else if(B[G]===null)this.isAttribute(G)||G===this.options.cdataPropName?M+="":G[0]==="?"?M+=this.indentate(E)+"<"+G+"?"+this.tagEndChar:M+=this.indentate(E)+"<"+G+"/"+this.tagEndChar;else if(B[G]instanceof Date)M+=this.buildTextValNode(B[G],G,"",E,C);else if(typeof B[G]!="object"){let ee=this.isAttribute(G);if(ee&&!this.ignoreAttributesFn(ee,O))R+=this.buildAttrPairStr(ee,""+B[G],re);else if(!ee)if(G===this.options.textNodeName){let ue=this.options.tagValueProcessor(G,""+B[G]);M+=this.replaceEntitiesValue(ue)}else{C.push(G);let ue=this.checkStopNode(C);if(C.pop(),ue){let Ee=""+B[G];M+=Ee===""?this.indentate(E)+"<"+G+this.closeTag(G)+this.tagEndChar:this.indentate(E)+"<"+G+">"+Ee+""+it+"${M}`;else if(typeof M=="object"&&M!==null){let O=this.buildRawContent(M),re=this.buildAttributesForStopNode(M);E+=O===""?`<${C}${re}/>`:`<${C}${re}>${O}`}}else if(typeof R=="object"&&R!==null){let M=this.buildRawContent(R),O=this.buildAttributesForStopNode(R);E+=M===""?`<${C}${O}/>`:`<${C}${O}>${M}`}else E+=`<${C}>${R}`}return E},Vi.prototype.buildAttributesForStopNode=function(B){if(!B||typeof B!="object")return"";let E="";if(this.options.attributesGroupName&&B[this.options.attributesGroupName]){let C=B[this.options.attributesGroupName];for(let R in C){if(!Object.prototype.hasOwnProperty.call(C,R))continue;let M=R.startsWith(this.options.attributeNamePrefix)?R.substring(this.options.attributeNamePrefix.length):R,O=C[R];O===!0&&this.options.suppressBooleanAttributes?E+=" "+M:E+=" "+M+'="'+O+'"'}}else for(let C in B){if(!Object.prototype.hasOwnProperty.call(B,C))continue;let R=this.isAttribute(C);if(R){let M=B[C];M===!0&&this.options.suppressBooleanAttributes?E+=" "+R:E+=" "+R+'="'+M+'"'}}return E},Vi.prototype.buildObjectNode=function(B,E,C,R){if(B==="")return E[0]==="?"?this.indentate(R)+"<"+E+C+"?"+this.tagEndChar:this.indentate(R)+"<"+E+C+this.closeTag(E)+this.tagEndChar;{let M="`+this.newLine:this.indentate(R)+"<"+E+C+O+this.tagEndChar+B+this.indentate(R)+M:this.indentate(R)+"<"+E+C+O+">"+B+M}},Vi.prototype.closeTag=function(B){let E="";return this.options.unpairedTags.indexOf(B)!==-1?this.options.suppressUnpairedNode||(E="/"):E=this.options.suppressEmptyNode?"/":`>`+this.newLine;if(this.options.commentPropName!==!1&&E===this.options.commentPropName)return this.indentate(R)+``+this.newLine;if(E[0]==="?")return this.indentate(R)+"<"+E+C+"?"+this.tagEndChar;{let O=this.options.tagValueProcessor(E,B);return O=this.replaceEntitiesValue(O),O===""?this.indentate(R)+"<"+E+C+this.closeTag(E)+this.tagEndChar:this.indentate(R)+"<"+E+C+">"+O+"0&&this.options.processEntities)for(let E=0;E{"use strict";Object.defineProperty(Dd,"__esModule",{value:!0});Dd.XML_CHARKEY=Dd.XML_ATTRKEY=void 0;Dd.XML_ATTRKEY="$";Dd.XML_CHARKEY="_"});var oW=x(nb=>{"use strict";Object.defineProperty(nb,"__esModule",{value:!0});nb.stringifyXML=EFe;nb.parseXML=bFe;var AP=nW(),iW=uP();function sW(t){var e;return{attributesGroupName:iW.XML_ATTRKEY,textNodeName:(e=t.xmlCharKey)!==null&&e!==void 0?e:iW.XML_CHARKEY,ignoreAttributes:!1,suppressBooleanAttributes:!1}}o(sW,"getCommonOptions");function mFe(t={}){var e,r;return Object.assign(Object.assign({},sW(t)),{attributeNamePrefix:"@_",format:!0,suppressEmptyNode:!0,indentBy:"",rootNodeName:(e=t.rootName)!==null&&e!==void 0?e:"root",cdataPropName:(r=t.cdataPropName)!==null&&r!==void 0?r:"__cdata"})}o(mFe,"getSerializerOptions");function yFe(t={}){return Object.assign(Object.assign({},sW(t)),{parseAttributeValue:!1,parseTagValue:!1,attributeNamePrefix:"",stopNodes:t.stopNodes,processEntities:!0,trimValues:!1})}o(yFe,"getParserOptions");function EFe(t,e={}){let r=mFe(e),n=new AP.XMLBuilder(r),i={[r.rootNodeName]:t};return`${n.build(i)}`.replace(/\n/g,"")}o(EFe,"stringifyXML");async function bFe(t,e={}){if(!t)throw new Error("Document is empty");let r=AP.XMLValidator.validate(t);if(r!==!0)throw r;let i=new AP.XMLParser(yFe(e)).parse(t);if(i["?xml"]&&delete i["?xml"],!e.includeRoot)for(let s of Object.keys(i)){let a=i[s];return typeof a=="object"?Object.assign({},a):a}return i}o(bFe,"parseXML")});var dP=x(wo=>{"use strict";Object.defineProperty(wo,"__esModule",{value:!0});wo.XML_CHARKEY=wo.XML_ATTRKEY=wo.parseXML=wo.stringifyXML=void 0;var aW=oW();Object.defineProperty(wo,"stringifyXML",{enumerable:!0,get:o(function(){return aW.stringifyXML},"get")});Object.defineProperty(wo,"parseXML",{enumerable:!0,get:o(function(){return aW.parseXML},"get")});var cW=uP();Object.defineProperty(wo,"XML_ATTRKEY",{enumerable:!0,get:o(function(){return cW.XML_ATTRKEY},"get")});Object.defineProperty(wo,"XML_CHARKEY",{enumerable:!0,get:o(function(){return cW.XML_CHARKEY},"get")})});var sb=x(ib=>{"use strict";Object.defineProperty(ib,"__esModule",{value:!0});ib.logger=void 0;var CFe=cu();ib.logger=(0,CFe.createClientLogger)("storage-blob")});var lW=x(ob=>{"use strict";Object.defineProperty(ob,"__esModule",{value:!0});ob.BuffersStream=void 0;var xFe=require("node:stream"),fP=class extends xFe.Readable{static{o(this,"BuffersStream")}buffers;byteLength;byteOffsetInCurrentBuffer;bufferIndex;pushedBytesLength;constructor(e,r,n){super(n),this.buffers=e,this.byteLength=r,this.byteOffsetInCurrentBuffer=0,this.bufferIndex=0,this.pushedBytesLength=0;let i=0;for(let s of this.buffers)i+=s.byteLength;if(i=this.byteLength&&this.push(null),e||(e=this.readableHighWaterMark);let r=[],n=0;for(;ne-n){let c=this.byteOffsetInCurrentBuffer+e-n;r.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,c)),this.pushedBytesLength+=e-n,this.byteOffsetInCurrentBuffer=c,n=e;break}else{let c=this.byteOffsetInCurrentBuffer+a;r.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,c)),a===s?(this.byteOffsetInCurrentBuffer=0,this.bufferIndex++):this.byteOffsetInCurrentBuffer=c,this.pushedBytesLength+=a,n+=a}}r.length>1?this.push(Buffer.concat(r)):r.length===1&&this.push(r[0])}};ob.BuffersStream=fP});var uW=x(cb=>{"use strict";Object.defineProperty(cb,"__esModule",{value:!0});cb.PooledBuffer=void 0;var IFe=(Wr(),cn(Vr)),BFe=lW(),wFe=IFe.__importDefault(require("node:buffer")),ab=wFe.default.constants.MAX_LENGTH,hP=class{static{o(this,"PooledBuffer")}buffers=[];capacity;_size;get size(){return this._size}constructor(e,r,n){this.capacity=e,this._size=0;let i=Math.ceil(e/ab);for(let s=0;s0&&(e[0]=e[0].slice(a))}getReadableStream(){return new BFe.BuffersStream(this.buffers,this.size)}};cb.PooledBuffer=hP});var AW=x(lb=>{"use strict";Object.defineProperty(lb,"__esModule",{value:!0});lb.BufferScheduler=void 0;var QFe=require("events"),SFe=uW(),pP=class{static{o(this,"BufferScheduler")}bufferSize;maxBuffers;readable;outgoingHandler;emitter=new QFe.EventEmitter;concurrency;offset=0;isStreamEnd=!1;isError=!1;executingOutgoingHandlers=0;encoding;numBuffers=0;unresolvedDataArray=[];unresolvedLength=0;incoming=[];outgoing=[];constructor(e,r,n,i,s,a){if(r<=0)throw new RangeError(`bufferSize must be larger than 0, current is ${r}`);if(n<=0)throw new RangeError(`maxBuffers must be larger than 0, current is ${n}`);if(s<=0)throw new RangeError(`concurrency must be larger than 0, current is ${s}`);this.bufferSize=r,this.maxBuffers=n,this.readable=e,this.outgoingHandler=i,this.concurrency=s,this.encoding=a}async do(){return new Promise((e,r)=>{this.readable.on("data",n=>{n=typeof n=="string"?Buffer.from(n,this.encoding):n,this.appendUnresolvedData(n),this.resolveData()||this.readable.pause()}),this.readable.on("error",n=>{this.emitter.emit("error",n)}),this.readable.on("end",()=>{this.isStreamEnd=!0,this.emitter.emit("checkEnd")}),this.emitter.on("error",n=>{this.isError=!0,this.readable.pause(),r(n)}),this.emitter.on("checkEnd",()=>{if(this.outgoing.length>0){this.triggerOutgoingHandlers();return}if(this.isStreamEnd&&this.executingOutgoingHandlers===0)if(this.unresolvedLength>0&&this.unresolvedLengthn.getReadableStream(),n.size,this.offset).then(e).catch(r)}else{if(this.unresolvedLength>=this.bufferSize)return;e()}})})}appendUnresolvedData(e){this.unresolvedDataArray.push(e),this.unresolvedLength+=e.length}shiftBufferFromUnresolvedDataArray(e){return e?e.fill(this.unresolvedDataArray,this.unresolvedLength):e=new SFe.PooledBuffer(this.bufferSize,this.unresolvedDataArray,this.unresolvedLength),this.unresolvedLength-=e.size,e}resolveData(){for(;this.unresolvedLength>=this.bufferSize;){let e;if(this.incoming.length>0)e=this.incoming.shift(),this.shiftBufferFromUnresolvedDataArray(e);else if(this.numBuffers=this.concurrency)return;e=this.outgoing.shift(),e&&this.triggerOutgoingHandler(e)}while(e)}async triggerOutgoingHandler(e){let r=e.size;this.executingOutgoingHandlers++,this.offset+=r;try{await this.outgoingHandler(()=>e.getReadableStream(),r,this.offset-r)}catch(n){this.emitter.emit("error",n);return}this.executingOutgoingHandlers--,this.reuseBuffer(e),this.emitter.emit("checkEnd")}reuseBuffer(e){this.incoming.push(e),!this.isError&&this.resolveData()&&!this.isStreamEnd&&this.readable.resume()}};lb.BufferScheduler=pP});var dW=x(mP=>{"use strict";Object.defineProperty(mP,"__esModule",{value:!0});mP.getCachedDefaultHttpClient=vFe;var NFe=Lr(),gP;function vFe(){return gP||(gP=(0,NFe.createDefaultHttpClient)()),gP}o(vFe,"getCachedDefaultHttpClient")});var hW=x(fW=>{"use strict";Object.defineProperty(fW,"__esModule",{value:!0})});var Xp=x(ub=>{"use strict";Object.defineProperty(ub,"__esModule",{value:!0});ub.BaseRequestPolicy=void 0;var yP=class{static{o(this,"BaseRequestPolicy")}_nextPolicy;_options;constructor(e,r){this._nextPolicy=e,this._options=r}shouldLog(e){return this._options.shouldLog(e)}log(e,r){this._options.log(e,r)}};ub.BaseRequestPolicy=yP});var wa=x(ds=>{"use strict";Object.defineProperty(ds,"__esModule",{value:!0});ds.PathStylePorts=ds.DevelopmentConnectionString=ds.HeaderConstants=ds.URLConstants=ds.SDK_VERSION=void 0;ds.SDK_VERSION="1.0.0";ds.URLConstants={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};ds.HeaderConstants={AUTHORIZATION:"Authorization",AUTHORIZATION_SCHEME:"Bearer",CONTENT_ENCODING:"Content-Encoding",CONTENT_ID:"Content-ID",CONTENT_LANGUAGE:"Content-Language",CONTENT_LENGTH:"Content-Length",CONTENT_MD5:"Content-Md5",CONTENT_TRANSFER_ENCODING:"Content-Transfer-Encoding",CONTENT_TYPE:"Content-Type",COOKIE:"Cookie",DATE:"date",IF_MATCH:"if-match",IF_MODIFIED_SINCE:"if-modified-since",IF_NONE_MATCH:"if-none-match",IF_UNMODIFIED_SINCE:"if-unmodified-since",PREFIX_FOR_STORAGE:"x-ms-",RANGE:"Range",USER_AGENT:"User-Agent",X_MS_CLIENT_REQUEST_ID:"x-ms-client-request-id",X_MS_COPY_SOURCE:"x-ms-copy-source",X_MS_DATE:"x-ms-date",X_MS_ERROR_CODE:"x-ms-error-code",X_MS_VERSION:"x-ms-version",X_MS_CopySourceErrorCode:"x-ms-copy-source-error-code"};ds.DevelopmentConnectionString="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;";ds.PathStylePorts=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"]});var Au=x(Nt=>{"use strict";Object.defineProperty(Nt,"__esModule",{value:!0});Nt.escapeURLPath=PFe;Nt.getValueInConnString=Tc;Nt.extractConnectionStringParts=DFe;Nt.appendToURLPath=TFe;Nt.setURLParameter=gW;Nt.getURLParameter=mW;Nt.setURLHost=OFe;Nt.getURLPath=MFe;Nt.getURLScheme=LFe;Nt.getURLPathAndQuery=UFe;Nt.getURLQueries=FFe;Nt.appendToURLQuery=HFe;Nt.truncatedISO8061Date=qFe;Nt.base64encode=yW;Nt.base64decode=zFe;Nt.generateBlockID=GFe;Nt.delay=jFe;Nt.padStart=EW;Nt.sanitizeURL=bW;Nt.sanitizeHeaders=YFe;Nt.iEqual=KFe;Nt.getAccountNameFromUrl=CW;Nt.isIpEndpointStyle=xW;Nt.attachCredential=JFe;Nt.httpAuthorizationToString=VFe;Nt.EscapePath=WFe;Nt.assertResponse=$Fe;var RFe=Lr(),pW=Xt(),kd=wa();function PFe(t){let e=new URL(t),r=e.pathname;return r=r||"/",r=kFe(r),e.pathname=r,e.toString()}o(PFe,"escapeURLPath");function _Fe(t){let e="";if(t.search("DevelopmentStorageProxyUri=")!==-1){let r=t.split(";");for(let n of r)n.trim().startsWith("DevelopmentStorageProxyUri=")&&(e=n.trim().match("DevelopmentStorageProxyUri=(.*)")[1])}return e}o(_Fe,"getProxyUriFromDevConnString");function Tc(t,e){let r=t.split(";");for(let n of r)if(n.trim().startsWith(e))return n.trim().match(e+"=(.*)")[1];return""}o(Tc,"getValueInConnString");function DFe(t){let e="";t.startsWith("UseDevelopmentStorage=true")&&(e=_Fe(t),t=kd.DevelopmentConnectionString);let r=Tc(t,"BlobEndpoint");if(r=r.endsWith("/")?r.slice(0,-1):r,t.search("DefaultEndpointsProtocol=")!==-1&&t.search("AccountKey=")!==-1){let n="",i="",s=Buffer.from("accountKey","base64"),a="";if(i=Tc(t,"AccountName"),s=Buffer.from(Tc(t,"AccountKey"),"base64"),!r){n=Tc(t,"DefaultEndpointsProtocol");let c=n.toLowerCase();if(c!=="https"&&c!=="http")throw new Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'");if(a=Tc(t,"EndpointSuffix"),!a)throw new Error("Invalid EndpointSuffix in the provided Connection String");r=`${n}://${i}.blob.${a}`}if(i){if(s.length===0)throw new Error("Invalid AccountKey in the provided Connection String")}else throw new Error("Invalid AccountName in the provided Connection String");return{kind:"AccountConnString",url:r,accountName:i,accountKey:s,proxyUri:e}}else{let n=Tc(t,"SharedAccessSignature"),i=Tc(t,"AccountName");if(i||(i=CW(r)),r){if(!n)throw new Error("Invalid SharedAccessSignature in the provided SAS Connection String")}else throw new Error("Invalid BlobEndpoint in the provided SAS Connection String");return n.startsWith("?")&&(n=n.substring(1)),{kind:"SASConnString",url:r,accountName:i,accountSas:n}}}o(DFe,"extractConnectionStringParts");function kFe(t){return encodeURIComponent(t).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}o(kFe,"escape");function TFe(t,e){let r=new URL(t),n=r.pathname;return n=n?n.endsWith("/")?`${n}${e}`:`${n}/${e}`:e,r.pathname=n,r.toString()}o(TFe,"appendToURLPath");function gW(t,e,r){let n=new URL(t),i=encodeURIComponent(e),s=r?encodeURIComponent(r):void 0,a=n.search===""?"?":n.search,c=[];for(let l of a.slice(1).split("&"))if(l){let[u]=l.split("=",2);u!==i&&c.push(l)}return s&&c.push(`${i}=${s}`),n.search=c.length?`?${c.join("&")}`:"",n.toString()}o(gW,"setURLParameter");function mW(t,e){return new URL(t).searchParams.get(e)??void 0}o(mW,"getURLParameter");function OFe(t,e){let r=new URL(t);return r.hostname=e,r.toString()}o(OFe,"setURLHost");function MFe(t){try{return new URL(t).pathname}catch{return}}o(MFe,"getURLPath");function LFe(t){try{let e=new URL(t);return e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol}catch{return}}o(LFe,"getURLScheme");function UFe(t){let e=new URL(t),r=e.pathname;if(!r)throw new RangeError("Invalid url without valid path.");let n=e.search||"";return n=n.trim(),n!==""&&(n=n.startsWith("?")?n:`?${n}`),`${r}${n}`}o(UFe,"getURLPathAndQuery");function FFe(t){let e=new URL(t).search;if(!e)return{};e=e.trim(),e=e.startsWith("?")?e.substring(1):e;let r=e.split("&");r=r.filter(i=>{let s=i.indexOf("="),a=i.lastIndexOf("=");return s>0&&s===a&&a42&&(t=t.slice(0,42));let s=t+EW(e.toString(),48-t.length,"0");return yW(s)}o(GFe,"generateBlockID");async function jFe(t,e,r){return new Promise((n,i)=>{let s,a=o(()=>{s!==void 0&&clearTimeout(s),i(r)},"abortHandler");s=setTimeout(o(()=>{e!==void 0&&e.removeEventListener("abort",a),n()},"resolveHandler"),t),e!==void 0&&e.addEventListener("abort",a)})}o(jFe,"delay");function EW(t,e,r=" "){return String.prototype.padStart?t.padStart(e,r):(r=r||" ",t.length>e?t:(e=e-t.length,e>r.length&&(r+=r.repeat(e/r.length)),r.slice(0,e)+t))}o(EW,"padStart");function bW(t){let e=t;return mW(e,kd.URLConstants.Parameters.SIGNATURE)&&(e=gW(e,kd.URLConstants.Parameters.SIGNATURE,"*****")),e}o(bW,"sanitizeURL");function YFe(t){let e=(0,RFe.createHttpHeaders)();for(let[r,n]of t)r.toLowerCase()===kd.HeaderConstants.AUTHORIZATION.toLowerCase()?e.set(r,"*****"):r.toLowerCase()===kd.HeaderConstants.X_MS_COPY_SOURCE?e.set(r,bW(n)):e.set(r,n);return e}o(YFe,"sanitizeHeaders");function KFe(t,e){return t.toLocaleLowerCase()===e.toLocaleLowerCase()}o(KFe,"iEqual");function CW(t){let e=new URL(t),r;try{return e.hostname.split(".")[1]==="blob"?r=e.hostname.split(".")[0]:xW(e)?r=e.pathname.split("/")[1]:r="",r}catch{throw new Error("Unable to extract accountName with provided information.")}}o(CW,"getAccountNameFromUrl");function xW(t){let e=t.host;return/^.*:.*:.*$|^(localhost|host.docker.internal)(:[0-9]+)?$|^(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])(\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])){3}(:[0-9]+)?$/.test(e)||!!t.port&&kd.PathStylePorts.includes(t.port)}o(xW,"isIpEndpointStyle");function JFe(t,e){return t.credential=e,t}o(JFe,"attachCredential");function VFe(t){return t?t.scheme+" "+t.value:void 0}o(VFe,"httpAuthorizationToString");function WFe(t){let e=t.split("/");for(let r=0;r{"use strict";Object.defineProperty(Ab,"__esModule",{value:!0});Ab.StorageBrowserPolicy=void 0;var XFe=Xp(),ZFe=Xt(),EP=wa(),e8e=Au(),bP=class extends XFe.BaseRequestPolicy{static{o(this,"StorageBrowserPolicy")}constructor(e,r){super(e,r)}async sendRequest(e){return ZFe.isNodeLike?this._nextPolicy.sendRequest(e):((e.method.toUpperCase()==="GET"||e.method.toUpperCase()==="HEAD")&&(e.url=(0,e8e.setURLParameter)(e.url,EP.URLConstants.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),e.headers.remove(EP.HeaderConstants.COOKIE),e.headers.remove(EP.HeaderConstants.CONTENT_LENGTH),this._nextPolicy.sendRequest(e))}};Ab.StorageBrowserPolicy=bP});var wW=x(Td=>{"use strict";Object.defineProperty(Td,"__esModule",{value:!0});Td.StorageBrowserPolicyFactory=Td.StorageBrowserPolicy=void 0;var BW=IW();Object.defineProperty(Td,"StorageBrowserPolicy",{enumerable:!0,get:o(function(){return BW.StorageBrowserPolicy},"get")});var CP=class{static{o(this,"StorageBrowserPolicyFactory")}create(e,r){return new BW.StorageBrowserPolicy(e,r)}};Td.StorageBrowserPolicyFactory=CP});var fb=x(db=>{"use strict";Object.defineProperty(db,"__esModule",{value:!0});db.CredentialPolicy=void 0;var t8e=Xp(),xP=class extends t8e.BaseRequestPolicy{static{o(this,"CredentialPolicy")}sendRequest(e){return this._nextPolicy.sendRequest(this.signRequest(e))}signRequest(e){return e}};db.CredentialPolicy=xP});var BP=x(hb=>{"use strict";Object.defineProperty(hb,"__esModule",{value:!0});hb.AnonymousCredentialPolicy=void 0;var r8e=fb(),IP=class extends r8e.CredentialPolicy{static{o(this,"AnonymousCredentialPolicy")}constructor(e,r){super(e,r)}};hb.AnonymousCredentialPolicy=IP});var gb=x(pb=>{"use strict";Object.defineProperty(pb,"__esModule",{value:!0});pb.Credential=void 0;var wP=class{static{o(this,"Credential")}create(e,r){throw new Error("Method should be implemented in children classes.")}};pb.Credential=wP});var QW=x(mb=>{"use strict";Object.defineProperty(mb,"__esModule",{value:!0});mb.AnonymousCredential=void 0;var n8e=BP(),i8e=gb(),QP=class extends i8e.Credential{static{o(this,"AnonymousCredential")}create(e,r){return new n8e.AnonymousCredentialPolicy(e,r)}};mb.AnonymousCredential=QP});var NP=x(SP=>{"use strict";Object.defineProperty(SP,"__esModule",{value:!0});SP.compareHeader=c8e;var s8e=new Uint32Array([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,1820,0,1823,1825,1827,1829,0,0,0,1837,2051,0,0,1843,0,3331,3354,3356,3358,3360,3362,3364,3366,3368,3370,0,0,0,0,0,0,0,3586,3593,3594,3610,3617,3619,3621,3628,3634,3637,3638,3656,3665,3696,3708,3710,3721,3722,3729,3737,3743,3746,3748,3750,3751,3753,0,0,0,1859,1860,1864,3586,3593,3594,3610,3617,3619,3621,3628,3634,3637,3638,3656,3665,3696,3708,3710,3721,3722,3729,3737,3743,3746,3748,3750,3751,3753,0,1868,0,1872,0]),o8e=new Uint32Array([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,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,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]),a8e=new Uint32Array([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,32786,0,0,0,0,0,33298,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 c8e(t,e){return l8e(t,e)?-1:1}o(c8e,"compareHeader");function l8e(t,e){let r=[s8e,o8e,a8e],n=0,i=0,s=0;for(;ns;let a=i{"use strict";Object.defineProperty(yb,"__esModule",{value:!0});yb.StorageSharedKeyCredentialPolicy=void 0;var Cn=wa(),SW=Au(),u8e=fb(),A8e=NP(),vP=class extends u8e.CredentialPolicy{static{o(this,"StorageSharedKeyCredentialPolicy")}factory;constructor(e,r,n){super(e,r),this.factory=n}signRequest(e){e.headers.set(Cn.HeaderConstants.X_MS_DATE,new Date().toUTCString()),e.body&&(typeof e.body=="string"||e.body!==void 0)&&e.body.length>0&&e.headers.set(Cn.HeaderConstants.CONTENT_LENGTH,Buffer.byteLength(e.body));let r=[e.method.toUpperCase(),this.getHeaderValueToSign(e,Cn.HeaderConstants.CONTENT_LANGUAGE),this.getHeaderValueToSign(e,Cn.HeaderConstants.CONTENT_ENCODING),this.getHeaderValueToSign(e,Cn.HeaderConstants.CONTENT_LENGTH),this.getHeaderValueToSign(e,Cn.HeaderConstants.CONTENT_MD5),this.getHeaderValueToSign(e,Cn.HeaderConstants.CONTENT_TYPE),this.getHeaderValueToSign(e,Cn.HeaderConstants.DATE),this.getHeaderValueToSign(e,Cn.HeaderConstants.IF_MODIFIED_SINCE),this.getHeaderValueToSign(e,Cn.HeaderConstants.IF_MATCH),this.getHeaderValueToSign(e,Cn.HeaderConstants.IF_NONE_MATCH),this.getHeaderValueToSign(e,Cn.HeaderConstants.IF_UNMODIFIED_SINCE),this.getHeaderValueToSign(e,Cn.HeaderConstants.RANGE)].join(` `)+` -`+this.getCanonicalizedHeadersString(e)+this.getCanonicalizedResourceString(e),n=this.factory.computeHMACSHA256(r);return e.headers.set(ar.HeaderConstants.AUTHORIZATION,`SharedKey ${this.factory.accountName}:${n}`),e}getHeaderValueToSign(e,r){let n=e.headers.get(r);return!n||r===ar.HeaderConstants.CONTENT_LENGTH&&n==="0"?"":n}getCanonicalizedHeadersString(e){let r=e.headers.headersArray().filter(i=>i.name.toLowerCase().startsWith(ar.HeaderConstants.PREFIX_FOR_STORAGE));r.sort((i,s)=>(0,dDe.compareHeader)(i.name.toLowerCase(),s.name.toLowerCase())),r=r.filter((i,s,a)=>!(s>0&&i.name.toLowerCase()===a[s-1].name.toLowerCase()));let n="";return r.forEach(i=>{n+=`${i.name.toLowerCase().trimRight()}:${i.value.trimLeft()} -`}),n}getCanonicalizedResourceString(e){let r=(0,g$.getURLPath)(e.url)||"/",n="";n+=`/${this.factory.accountName}${r}`;let i=(0,g$.getURLQueries)(e.url),s={};if(i){let a=[];for(let c in i)if(Object.prototype.hasOwnProperty.call(i,c)){let l=c.toLowerCase();s[l]=i[c],a.push(l)}a.sort();for(let c of a)n+=` -${c}:${decodeURIComponent(s[c])}`}return n}};Mm.StorageSharedKeyCredentialPolicy=cx});var y$=g(km=>{"use strict";Object.defineProperty(km,"__esModule",{value:!0});km.StorageSharedKeyCredential=void 0;var pDe=require("node:crypto"),hDe=lx(),fDe=Tm(),Ax=class extends fDe.Credential{static{o(this,"StorageSharedKeyCredential")}accountName;accountKey;constructor(e,r){super(),this.accountName=e,this.accountKey=Buffer.from(r,"base64")}create(e,r){return new hDe.StorageSharedKeyCredentialPolicy(e,r,this)}computeHMACSHA256(e){return(0,pDe.createHmac)("sha256",this.accountKey).update(e,"utf8").digest("base64")}};km.StorageSharedKeyCredential=Ax});var C$=g(Lm=>{"use strict";Object.defineProperty(Lm,"__esModule",{value:!0});Lm.AbortError=void 0;var ux=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};Lm.AbortError=ux});var dx=g(Um=>{"use strict";Object.defineProperty(Um,"__esModule",{value:!0});Um.AbortError=void 0;var mDe=C$();Object.defineProperty(Um,"AbortError",{enumerable:!0,get:function(){return mDe.AbortError}})});var px=g(Fm=>{"use strict";Object.defineProperty(Fm,"__esModule",{value:!0});Fm.logger=void 0;var gDe=Jc();Fm.logger=(0,gDe.createClientLogger)("storage-common")});var hx=g(qm=>{"use strict";Object.defineProperty(qm,"__esModule",{value:!0});qm.StorageRetryPolicyType=void 0;var E$;(function(t){t[t.EXPONENTIAL=0]="EXPONENTIAL",t[t.FIXED=1]="FIXED"})(E$||(qm.StorageRetryPolicyType=E$={}))});var I$=g(Yu=>{"use strict";Object.defineProperty(Yu,"__esModule",{value:!0});Yu.StorageRetryPolicy=void 0;Yu.NewRetryPolicyFactory=EDe;var yDe=dx(),CDe=Gu(),B$=hs(),fx=ra(),Zs=px(),mx=hx();function EDe(t){return{create:(e,r)=>new Hm(e,r,t)}}o(EDe,"NewRetryPolicyFactory");var eo={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:mx.StorageRetryPolicyType.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},BDe=new yDe.AbortError("The operation was aborted."),Hm=class extends CDe.BaseRequestPolicy{static{o(this,"StorageRetryPolicy")}retryOptions;constructor(e,r,n=eo){super(e,r),this.retryOptions={retryPolicyType:n.retryPolicyType?n.retryPolicyType:eo.retryPolicyType,maxTries:n.maxTries&&n.maxTries>=1?Math.floor(n.maxTries):eo.maxTries,tryTimeoutInMs:n.tryTimeoutInMs&&n.tryTimeoutInMs>=0?n.tryTimeoutInMs:eo.tryTimeoutInMs,retryDelayInMs:n.retryDelayInMs&&n.retryDelayInMs>=0?Math.min(n.retryDelayInMs,n.maxRetryDelayInMs?n.maxRetryDelayInMs:eo.maxRetryDelayInMs):eo.retryDelayInMs,maxRetryDelayInMs:n.maxRetryDelayInMs&&n.maxRetryDelayInMs>=0?n.maxRetryDelayInMs:eo.maxRetryDelayInMs,secondaryHost:n.secondaryHost?n.secondaryHost:eo.secondaryHost}}async sendRequest(e){return this.attemptSendRequest(e,!1,1)}async attemptSendRequest(e,r,n){let i=e.clone(),s=r||!this.retryOptions.secondaryHost||!(e.method==="GET"||e.method==="HEAD"||e.method==="OPTIONS")||n%2===1;s||(i.url=(0,fx.setURLHost)(i.url,this.retryOptions.secondaryHost)),this.retryOptions.tryTimeoutInMs&&(i.url=(0,fx.setURLParameter)(i.url,B$.URLConstants.Parameters.TIMEOUT,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString()));let a;try{if(Zs.logger.info(`RetryPolicy: =====> Try=${n} ${s?"Primary":"Secondary"}`),a=await this._nextPolicy.sendRequest(i),!this.shouldRetry(s,n,a))return a;r=r||!s&&a.status===404}catch(c){if(Zs.logger.error(`RetryPolicy: Caught error, message: ${c.message}, code: ${c.code}`),!this.shouldRetry(s,n,a,c))throw c}return await this.delay(s,n,e.abortSignal),this.attemptSendRequest(e,r,++n)}shouldRetry(e,r,n,i){if(r>=this.retryOptions.maxTries)return Zs.logger.info(`RetryPolicy: Attempt(s) ${r} >= maxTries ${this.retryOptions.maxTries}, no further try.`),!1;let s=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"];if(i){for(let a of s)if(i.name.toUpperCase().includes(a)||i.message.toUpperCase().includes(a)||i.code&&i.code.toString().toUpperCase()===a)return Zs.logger.info(`RetryPolicy: Network error ${a} found, will retry.`),!0}if(n||i){let a=n?n.status:i?i.statusCode:0;if(!e&&a===404)return Zs.logger.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(a===503||a===500)return Zs.logger.info(`RetryPolicy: Will retry for status code ${a}.`),!0}if(n&&n?.status>=400){let a=n.headers.get(B$.HeaderConstants.X_MS_CopySourceErrorCode);if(a!==void 0)switch(a){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return i?.code==="PARSE_ERROR"&&i?.message.startsWith('Error "Error: Unclosed root tag')?(Zs.logger.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0):!1}async delay(e,r,n){let i=0;if(e)switch(this.retryOptions.retryPolicyType){case mx.StorageRetryPolicyType.EXPONENTIAL:i=Math.min((Math.pow(2,r-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case mx.StorageRetryPolicyType.FIXED:i=this.retryOptions.retryDelayInMs;break}else i=Math.random()*1e3;return Zs.logger.info(`RetryPolicy: Delay for ${i}ms`),(0,fx.delay)(i,n,BDe)}};Yu.StorageRetryPolicy=Hm});var Cx=g(Si=>{"use strict";Object.defineProperty(Si,"__esModule",{value:!0});Si.StorageRetryPolicyFactory=Si.NewRetryPolicyFactory=Si.StorageRetryPolicy=Si.StorageRetryPolicyType=void 0;var yx=I$();Object.defineProperty(Si,"StorageRetryPolicy",{enumerable:!0,get:function(){return yx.StorageRetryPolicy}});Object.defineProperty(Si,"NewRetryPolicyFactory",{enumerable:!0,get:function(){return yx.NewRetryPolicyFactory}});var IDe=hx();Object.defineProperty(Si,"StorageRetryPolicyType",{enumerable:!0,get:function(){return IDe.StorageRetryPolicyType}});var gx=class{static{o(this,"StorageRetryPolicyFactory")}retryOptions;constructor(e){this.retryOptions=e}create(e,r){return new yx.StorageRetryPolicy(e,r,this.retryOptions)}};Si.StorageRetryPolicyFactory=gx});var b$=g(al=>{"use strict";Object.defineProperty(al,"__esModule",{value:!0});al.storageBrowserPolicyName=void 0;al.storageBrowserPolicy=wDe;var bDe=pt(),Ex=hs(),QDe=ra();al.storageBrowserPolicyName="storageBrowserPolicy";function wDe(){return{name:al.storageBrowserPolicyName,async sendRequest(t,e){return bDe.isNodeLike||((t.method==="GET"||t.method==="HEAD")&&(t.url=(0,QDe.setURLParameter)(t.url,Ex.URLConstants.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),t.headers.delete(Ex.HeaderConstants.COOKIE),t.headers.delete(Ex.HeaderConstants.CONTENT_LENGTH)),e(t)}}}o(wDe,"storageBrowserPolicy")});var Q$=g(cl=>{"use strict";Object.defineProperty(cl,"__esModule",{value:!0});cl.storageCorrectContentLengthPolicyName=void 0;cl.storageCorrectContentLengthPolicy=xDe;var NDe=hs();cl.storageCorrectContentLengthPolicyName="StorageCorrectContentLengthPolicy";function xDe(){function t(e){e.body&&(typeof e.body=="string"||Buffer.isBuffer(e.body))&&e.body.length>0&&e.headers.set(NDe.HeaderConstants.CONTENT_LENGTH,Buffer.byteLength(e.body))}return o(t,"correctContentLength"),{name:cl.storageCorrectContentLengthPolicyName,async sendRequest(e,r){return t(e),r(e)}}}o(xDe,"storageCorrectContentLengthPolicy")});var x$=g(Al=>{"use strict";Object.defineProperty(Al,"__esModule",{value:!0});Al.storageRetryPolicyName=void 0;Al.storageRetryPolicy=PDe;var SDe=dx(),w$=Ot(),RDe=pt(),Ix=Cx(),N$=hs(),Bx=ra(),fs=px();Al.storageRetryPolicyName="storageRetryPolicy";var ll={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:Ix.StorageRetryPolicyType.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},_De=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"],vDe=new SDe.AbortError("The operation was aborted.");function PDe(t={}){let e=t.retryPolicyType??ll.retryPolicyType,r=t.maxTries??ll.maxTries,n=t.retryDelayInMs??ll.retryDelayInMs,i=t.maxRetryDelayInMs??ll.maxRetryDelayInMs,s=t.secondaryHost??ll.secondaryHost,a=t.tryTimeoutInMs??ll.tryTimeoutInMs;function c({isPrimaryRetry:A,attempt:u,response:d,error:f}){if(u>=r)return fs.logger.info(`RetryPolicy: Attempt(s) ${u} >= maxTries ${r}, no further try.`),!1;if(f){for(let m of _De)if(f.name.toUpperCase().includes(m)||f.message.toUpperCase().includes(m)||f.code&&f.code.toString().toUpperCase()===m)return fs.logger.info(`RetryPolicy: Network error ${m} found, will retry.`),!0;if(f?.code==="PARSE_ERROR"&&f?.message.startsWith('Error "Error: Unclosed root tag'))return fs.logger.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0}if(d||f){let m=d?.status??f?.statusCode??0;if(!A&&m===404)return fs.logger.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(m===503||m===500)return fs.logger.info(`RetryPolicy: Will retry for status code ${m}.`),!0}if(d&&d?.status>=400){let m=d.headers.get(N$.HeaderConstants.X_MS_CopySourceErrorCode);if(m!==void 0)switch(m){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return!1}o(c,"shouldRetry");function l(A,u){let d=0;if(A)switch(e){case Ix.StorageRetryPolicyType.EXPONENTIAL:d=Math.min((Math.pow(2,u-1)-1)*n,i);break;case Ix.StorageRetryPolicyType.FIXED:d=n;break}else d=Math.random()*1e3;return fs.logger.info(`RetryPolicy: Delay for ${d}ms`),d}return o(l,"calculateDelay"),{name:Al.storageRetryPolicyName,async sendRequest(A,u){a&&(A.url=(0,Bx.setURLParameter)(A.url,N$.URLConstants.Parameters.TIMEOUT,String(Math.floor(a/1e3))));let d=A.url,f=s?(0,Bx.setURLHost)(A.url,s):void 0,m=!1,C=1,Q=!0,S,w;for(;Q;){let R=m||!f||!["GET","HEAD","OPTIONS"].includes(A.method)||C%2===1;A.url=R?d:f,S=void 0,w=void 0;try{fs.logger.info(`RetryPolicy: =====> Try=${C} ${R?"Primary":"Secondary"}`),S=await u(A),m=m||!R&&S.status===404}catch(T){if((0,w$.isRestError)(T))fs.logger.error(`RetryPolicy: Caught error, message: ${T.message}, code: ${T.code}`),w=T;else throw fs.logger.error(`RetryPolicy: Caught error, message: ${(0,RDe.getErrorMessage)(T)}`),T}Q=c({isPrimaryRetry:R,attempt:C,response:S,error:w}),Q&&await(0,Bx.delay)(l(R,C),A.abortSignal,vDe),C++}if(S)return S;throw w??new w$.RestError("RetryPolicy failed without known error.")}}}o(PDe,"storageRetryPolicy")});var R$=g(ul=>{"use strict";Object.defineProperty(ul,"__esModule",{value:!0});ul.storageSharedKeyCredentialPolicyName=void 0;ul.storageSharedKeyCredentialPolicy=ODe;var DDe=require("node:crypto"),cr=hs(),S$=ra(),TDe=ax();ul.storageSharedKeyCredentialPolicyName="storageSharedKeyCredentialPolicy";function ODe(t){function e(s){s.headers.set(cr.HeaderConstants.X_MS_DATE,new Date().toUTCString()),s.body&&(typeof s.body=="string"||Buffer.isBuffer(s.body))&&s.body.length>0&&s.headers.set(cr.HeaderConstants.CONTENT_LENGTH,Buffer.byteLength(s.body));let a=[s.method.toUpperCase(),r(s,cr.HeaderConstants.CONTENT_LANGUAGE),r(s,cr.HeaderConstants.CONTENT_ENCODING),r(s,cr.HeaderConstants.CONTENT_LENGTH),r(s,cr.HeaderConstants.CONTENT_MD5),r(s,cr.HeaderConstants.CONTENT_TYPE),r(s,cr.HeaderConstants.DATE),r(s,cr.HeaderConstants.IF_MODIFIED_SINCE),r(s,cr.HeaderConstants.IF_MATCH),r(s,cr.HeaderConstants.IF_NONE_MATCH),r(s,cr.HeaderConstants.IF_UNMODIFIED_SINCE),r(s,cr.HeaderConstants.RANGE)].join(` +`+this.getCanonicalizedHeadersString(e)+this.getCanonicalizedResourceString(e),n=this.factory.computeHMACSHA256(r);return e.headers.set(Cn.HeaderConstants.AUTHORIZATION,`SharedKey ${this.factory.accountName}:${n}`),e}getHeaderValueToSign(e,r){let n=e.headers.get(r);return!n||r===Cn.HeaderConstants.CONTENT_LENGTH&&n==="0"?"":n}getCanonicalizedHeadersString(e){let r=e.headers.headersArray().filter(i=>i.name.toLowerCase().startsWith(Cn.HeaderConstants.PREFIX_FOR_STORAGE));r.sort((i,s)=>(0,A8e.compareHeader)(i.name.toLowerCase(),s.name.toLowerCase())),r=r.filter((i,s,a)=>!(s>0&&i.name.toLowerCase()===a[s-1].name.toLowerCase()));let n="";return r.forEach(i=>{n+=`${i.name.toLowerCase().trimRight()}:${i.value.trimLeft()} +`}),n}getCanonicalizedResourceString(e){let r=(0,SW.getURLPath)(e.url)||"/",n="";n+=`/${this.factory.accountName}${r}`;let i=(0,SW.getURLQueries)(e.url),s={};if(i){let a=[];for(let c in i)if(Object.prototype.hasOwnProperty.call(i,c)){let l=c.toLowerCase();s[l]=i[c],a.push(l)}a.sort();for(let c of a)n+=` +${c}:${decodeURIComponent(s[c])}`}return n}};yb.StorageSharedKeyCredentialPolicy=vP});var NW=x(Eb=>{"use strict";Object.defineProperty(Eb,"__esModule",{value:!0});Eb.StorageSharedKeyCredential=void 0;var d8e=require("node:crypto"),f8e=RP(),h8e=gb(),PP=class extends h8e.Credential{static{o(this,"StorageSharedKeyCredential")}accountName;accountKey;constructor(e,r){super(),this.accountName=e,this.accountKey=Buffer.from(r,"base64")}create(e,r){return new f8e.StorageSharedKeyCredentialPolicy(e,r,this)}computeHMACSHA256(e){return(0,d8e.createHmac)("sha256",this.accountKey).update(e,"utf8").digest("base64")}};Eb.StorageSharedKeyCredential=PP});var vW=x(bb=>{"use strict";Object.defineProperty(bb,"__esModule",{value:!0});bb.AbortError=void 0;var _P=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};bb.AbortError=_P});var DP=x(Cb=>{"use strict";Object.defineProperty(Cb,"__esModule",{value:!0});Cb.AbortError=void 0;var p8e=vW();Object.defineProperty(Cb,"AbortError",{enumerable:!0,get:o(function(){return p8e.AbortError},"get")})});var kP=x(xb=>{"use strict";Object.defineProperty(xb,"__esModule",{value:!0});xb.logger=void 0;var g8e=cu();xb.logger=(0,g8e.createClientLogger)("storage-common")});var TP=x(Ib=>{"use strict";Object.defineProperty(Ib,"__esModule",{value:!0});Ib.StorageRetryPolicyType=void 0;var RW;(function(t){t[t.EXPONENTIAL=0]="EXPONENTIAL",t[t.FIXED=1]="FIXED"})(RW||(Ib.StorageRetryPolicyType=RW={}))});var _W=x(Zp=>{"use strict";Object.defineProperty(Zp,"__esModule",{value:!0});Zp.StorageRetryPolicy=void 0;Zp.NewRetryPolicyFactory=E8e;var m8e=DP(),y8e=Xp(),PW=wa(),OP=Au(),Oc=kP(),MP=TP();function E8e(t){return{create:o((e,r)=>new Bb(e,r,t),"create")}}o(E8e,"NewRetryPolicyFactory");var Mc={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:MP.StorageRetryPolicyType.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},b8e=new m8e.AbortError("The operation was aborted."),Bb=class extends y8e.BaseRequestPolicy{static{o(this,"StorageRetryPolicy")}retryOptions;constructor(e,r,n=Mc){super(e,r),this.retryOptions={retryPolicyType:n.retryPolicyType?n.retryPolicyType:Mc.retryPolicyType,maxTries:n.maxTries&&n.maxTries>=1?Math.floor(n.maxTries):Mc.maxTries,tryTimeoutInMs:n.tryTimeoutInMs&&n.tryTimeoutInMs>=0?n.tryTimeoutInMs:Mc.tryTimeoutInMs,retryDelayInMs:n.retryDelayInMs&&n.retryDelayInMs>=0?Math.min(n.retryDelayInMs,n.maxRetryDelayInMs?n.maxRetryDelayInMs:Mc.maxRetryDelayInMs):Mc.retryDelayInMs,maxRetryDelayInMs:n.maxRetryDelayInMs&&n.maxRetryDelayInMs>=0?n.maxRetryDelayInMs:Mc.maxRetryDelayInMs,secondaryHost:n.secondaryHost?n.secondaryHost:Mc.secondaryHost}}async sendRequest(e){return this.attemptSendRequest(e,!1,1)}async attemptSendRequest(e,r,n){let i=e.clone(),s=r||!this.retryOptions.secondaryHost||!(e.method==="GET"||e.method==="HEAD"||e.method==="OPTIONS")||n%2===1;s||(i.url=(0,OP.setURLHost)(i.url,this.retryOptions.secondaryHost)),this.retryOptions.tryTimeoutInMs&&(i.url=(0,OP.setURLParameter)(i.url,PW.URLConstants.Parameters.TIMEOUT,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString()));let a;try{if(Oc.logger.info(`RetryPolicy: =====> Try=${n} ${s?"Primary":"Secondary"}`),a=await this._nextPolicy.sendRequest(i),!this.shouldRetry(s,n,a))return a;r=r||!s&&a.status===404}catch(c){if(Oc.logger.error(`RetryPolicy: Caught error, message: ${c.message}, code: ${c.code}`),!this.shouldRetry(s,n,a,c))throw c}return await this.delay(s,n,e.abortSignal),this.attemptSendRequest(e,r,++n)}shouldRetry(e,r,n,i){if(r>=this.retryOptions.maxTries)return Oc.logger.info(`RetryPolicy: Attempt(s) ${r} >= maxTries ${this.retryOptions.maxTries}, no further try.`),!1;let s=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"];if(i){for(let a of s)if(i.name.toUpperCase().includes(a)||i.message.toUpperCase().includes(a)||i.code&&i.code.toString().toUpperCase()===a)return Oc.logger.info(`RetryPolicy: Network error ${a} found, will retry.`),!0}if(n||i){let a=n?n.status:i?i.statusCode:0;if(!e&&a===404)return Oc.logger.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(a===503||a===500)return Oc.logger.info(`RetryPolicy: Will retry for status code ${a}.`),!0}if(n&&n?.status>=400){let a=n.headers.get(PW.HeaderConstants.X_MS_CopySourceErrorCode);if(a!==void 0)switch(a){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return i?.code==="PARSE_ERROR"&&i?.message.startsWith('Error "Error: Unclosed root tag')?(Oc.logger.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0):!1}async delay(e,r,n){let i=0;if(e)switch(this.retryOptions.retryPolicyType){case MP.StorageRetryPolicyType.EXPONENTIAL:i=Math.min((Math.pow(2,r-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case MP.StorageRetryPolicyType.FIXED:i=this.retryOptions.retryDelayInMs;break}else i=Math.random()*1e3;return Oc.logger.info(`RetryPolicy: Delay for ${i}ms`),(0,OP.delay)(i,n,b8e)}};Zp.StorageRetryPolicy=Bb});var FP=x(Qo=>{"use strict";Object.defineProperty(Qo,"__esModule",{value:!0});Qo.StorageRetryPolicyFactory=Qo.NewRetryPolicyFactory=Qo.StorageRetryPolicy=Qo.StorageRetryPolicyType=void 0;var UP=_W();Object.defineProperty(Qo,"StorageRetryPolicy",{enumerable:!0,get:o(function(){return UP.StorageRetryPolicy},"get")});Object.defineProperty(Qo,"NewRetryPolicyFactory",{enumerable:!0,get:o(function(){return UP.NewRetryPolicyFactory},"get")});var C8e=TP();Object.defineProperty(Qo,"StorageRetryPolicyType",{enumerable:!0,get:o(function(){return C8e.StorageRetryPolicyType},"get")});var LP=class{static{o(this,"StorageRetryPolicyFactory")}retryOptions;constructor(e){this.retryOptions=e}create(e,r){return new UP.StorageRetryPolicy(e,r,this.retryOptions)}};Qo.StorageRetryPolicyFactory=LP});var DW=x(Od=>{"use strict";Object.defineProperty(Od,"__esModule",{value:!0});Od.storageBrowserPolicyName=void 0;Od.storageBrowserPolicy=B8e;var x8e=Xt(),HP=wa(),I8e=Au();Od.storageBrowserPolicyName="storageBrowserPolicy";function B8e(){return{name:Od.storageBrowserPolicyName,async sendRequest(t,e){return x8e.isNodeLike||((t.method==="GET"||t.method==="HEAD")&&(t.url=(0,I8e.setURLParameter)(t.url,HP.URLConstants.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),t.headers.delete(HP.HeaderConstants.COOKIE),t.headers.delete(HP.HeaderConstants.CONTENT_LENGTH)),e(t)}}}o(B8e,"storageBrowserPolicy")});var kW=x(Md=>{"use strict";Object.defineProperty(Md,"__esModule",{value:!0});Md.storageCorrectContentLengthPolicyName=void 0;Md.storageCorrectContentLengthPolicy=Q8e;var w8e=wa();Md.storageCorrectContentLengthPolicyName="StorageCorrectContentLengthPolicy";function Q8e(){function t(e){e.body&&(typeof e.body=="string"||Buffer.isBuffer(e.body))&&e.body.length>0&&e.headers.set(w8e.HeaderConstants.CONTENT_LENGTH,Buffer.byteLength(e.body))}return o(t,"correctContentLength"),{name:Md.storageCorrectContentLengthPolicyName,async sendRequest(e,r){return t(e),r(e)}}}o(Q8e,"storageCorrectContentLengthPolicy")});var MW=x(Ud=>{"use strict";Object.defineProperty(Ud,"__esModule",{value:!0});Ud.storageRetryPolicyName=void 0;Ud.storageRetryPolicy=P8e;var S8e=DP(),TW=Lr(),N8e=Xt(),zP=FP(),OW=wa(),qP=Au(),Qa=kP();Ud.storageRetryPolicyName="storageRetryPolicy";var Ld={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:zP.StorageRetryPolicyType.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},v8e=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"],R8e=new S8e.AbortError("The operation was aborted.");function P8e(t={}){let e=t.retryPolicyType??Ld.retryPolicyType,r=t.maxTries??Ld.maxTries,n=t.retryDelayInMs??Ld.retryDelayInMs,i=t.maxRetryDelayInMs??Ld.maxRetryDelayInMs,s=t.secondaryHost??Ld.secondaryHost,a=t.tryTimeoutInMs??Ld.tryTimeoutInMs;function c({isPrimaryRetry:u,attempt:A,response:d,error:f}){if(A>=r)return Qa.logger.info(`RetryPolicy: Attempt(s) ${A} >= maxTries ${r}, no further try.`),!1;if(f){for(let h of v8e)if(f.name.toUpperCase().includes(h)||f.message.toUpperCase().includes(h)||f.code&&f.code.toString().toUpperCase()===h)return Qa.logger.info(`RetryPolicy: Network error ${h} found, will retry.`),!0;if(f?.code==="PARSE_ERROR"&&f?.message.startsWith('Error "Error: Unclosed root tag'))return Qa.logger.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0}if(d||f){let h=d?.status??f?.statusCode??0;if(!u&&h===404)return Qa.logger.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(h===503||h===500)return Qa.logger.info(`RetryPolicy: Will retry for status code ${h}.`),!0}if(d&&d?.status>=400){let h=d.headers.get(OW.HeaderConstants.X_MS_CopySourceErrorCode);if(h!==void 0)switch(h){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return!1}o(c,"shouldRetry");function l(u,A){let d=0;if(u)switch(e){case zP.StorageRetryPolicyType.EXPONENTIAL:d=Math.min((Math.pow(2,A-1)-1)*n,i);break;case zP.StorageRetryPolicyType.FIXED:d=n;break}else d=Math.random()*1e3;return Qa.logger.info(`RetryPolicy: Delay for ${d}ms`),d}return o(l,"calculateDelay"),{name:Ud.storageRetryPolicyName,async sendRequest(u,A){a&&(u.url=(0,qP.setURLParameter)(u.url,OW.URLConstants.Parameters.TIMEOUT,String(Math.floor(a/1e3))));let d=u.url,f=s?(0,qP.setURLHost)(u.url,s):void 0,h=!1,g=1,m=!0,b,y;for(;m;){let I=h||!f||!["GET","HEAD","OPTIONS"].includes(u.method)||g%2===1;u.url=I?d:f,b=void 0,y=void 0;try{Qa.logger.info(`RetryPolicy: =====> Try=${g} ${I?"Primary":"Secondary"}`),b=await A(u),h=h||!I&&b.status===404}catch(w){if((0,TW.isRestError)(w))Qa.logger.error(`RetryPolicy: Caught error, message: ${w.message}, code: ${w.code}`),y=w;else throw Qa.logger.error(`RetryPolicy: Caught error, message: ${(0,N8e.getErrorMessage)(w)}`),w}m=c({isPrimaryRetry:I,attempt:g,response:b,error:y}),m&&await(0,qP.delay)(l(I,g),u.abortSignal,R8e),g++}if(b)return b;throw y??new TW.RestError("RetryPolicy failed without known error.")}}}o(P8e,"storageRetryPolicy")});var UW=x(Fd=>{"use strict";Object.defineProperty(Fd,"__esModule",{value:!0});Fd.storageSharedKeyCredentialPolicyName=void 0;Fd.storageSharedKeyCredentialPolicy=k8e;var _8e=require("node:crypto"),xn=wa(),LW=Au(),D8e=NP();Fd.storageSharedKeyCredentialPolicyName="storageSharedKeyCredentialPolicy";function k8e(t){function e(s){s.headers.set(xn.HeaderConstants.X_MS_DATE,new Date().toUTCString()),s.body&&(typeof s.body=="string"||Buffer.isBuffer(s.body))&&s.body.length>0&&s.headers.set(xn.HeaderConstants.CONTENT_LENGTH,Buffer.byteLength(s.body));let a=[s.method.toUpperCase(),r(s,xn.HeaderConstants.CONTENT_LANGUAGE),r(s,xn.HeaderConstants.CONTENT_ENCODING),r(s,xn.HeaderConstants.CONTENT_LENGTH),r(s,xn.HeaderConstants.CONTENT_MD5),r(s,xn.HeaderConstants.CONTENT_TYPE),r(s,xn.HeaderConstants.DATE),r(s,xn.HeaderConstants.IF_MODIFIED_SINCE),r(s,xn.HeaderConstants.IF_MATCH),r(s,xn.HeaderConstants.IF_NONE_MATCH),r(s,xn.HeaderConstants.IF_UNMODIFIED_SINCE),r(s,xn.HeaderConstants.RANGE)].join(` `)+` -`+n(s)+i(s),c=(0,DDe.createHmac)("sha256",t.accountKey).update(a,"utf8").digest("base64");s.headers.set(cr.HeaderConstants.AUTHORIZATION,`SharedKey ${t.accountName}:${c}`)}o(e,"signRequest");function r(s,a){let c=s.headers.get(a);return!c||a===cr.HeaderConstants.CONTENT_LENGTH&&c==="0"?"":c}o(r,"getHeaderValueToSign");function n(s){let a=[];for(let[l,A]of s.headers)l.toLowerCase().startsWith(cr.HeaderConstants.PREFIX_FOR_STORAGE)&&a.push({name:l,value:A});a.sort((l,A)=>(0,TDe.compareHeader)(l.name.toLowerCase(),A.name.toLowerCase())),a=a.filter((l,A,u)=>!(A>0&&l.name.toLowerCase()===u[A-1].name.toLowerCase()));let c="";return a.forEach(l=>{c+=`${l.name.toLowerCase().trimRight()}:${l.value.trimLeft()} -`}),c}o(n,"getCanonicalizedHeadersString");function i(s){let a=(0,S$.getURLPath)(s.url)||"/",c="";c+=`/${t.accountName}${a}`;let l=(0,S$.getURLQueries)(s.url),A={};if(l){let u=[];for(let d in l)if(Object.prototype.hasOwnProperty.call(l,d)){let f=d.toLowerCase();A[f]=l[d],u.push(f)}u.sort();for(let d of u)c+=` -${d}:${decodeURIComponent(A[d])}`}return c}return o(i,"getCanonicalizedResourceString"),{name:ul.storageSharedKeyCredentialPolicyName,async sendRequest(s,a){return e(s),a(s)}}}o(ODe,"storageSharedKeyCredentialPolicy")});var _$=g(dl=>{"use strict";Object.defineProperty(dl,"__esModule",{value:!0});dl.storageRequestFailureDetailsParserPolicyName=void 0;dl.storageRequestFailureDetailsParserPolicy=MDe;dl.storageRequestFailureDetailsParserPolicyName="storageRequestFailureDetailsParserPolicy";function MDe(){return{name:dl.storageRequestFailureDetailsParserPolicyName,async sendRequest(t,e){try{return await e(t)}catch(r){throw typeof r=="object"&&r!==null&&r.response&&r.response.parsedBody&&r.response.parsedBody.code==="InvalidHeaderValue"&&r.response.parsedBody.HeaderName==="x-ms-version"&&(r.message=`The provided service version is not enabled on this storage account. Please see https://learn.microsoft.com/rest/api/storageservices/versioning-for-the-azure-storage-services for additional information. -`),r}}}}o(MDe,"storageRequestFailureDetailsParserPolicy")});var v$=g(zm=>{"use strict";Object.defineProperty(zm,"__esModule",{value:!0});zm.UserDelegationKeyCredential=void 0;var kDe=require("node:crypto"),bx=class{static{o(this,"UserDelegationKeyCredential")}accountName;userDelegationKey;key;constructor(e,r){this.accountName=e,this.userDelegationKey=r,this.key=Buffer.from(r.value,"base64")}computeHMACSHA256(e){return(0,kDe.createHmac)("sha256",this.key).update(e,"utf8").digest("base64")}};zm.UserDelegationKeyCredential=bx});var ei=g(gt=>{"use strict";Object.defineProperty(gt,"__esModule",{value:!0});gt.BaseRequestPolicy=gt.getCachedDefaultHttpClient=void 0;var lr=(G0(),Zt(j0));lr.__exportStar(t$(),gt);var LDe=r$();Object.defineProperty(gt,"getCachedDefaultHttpClient",{enumerable:!0,get:function(){return LDe.getCachedDefaultHttpClient}});lr.__exportStar(i$(),gt);lr.__exportStar(f$(),gt);lr.__exportStar(m$(),gt);lr.__exportStar(Tm(),gt);lr.__exportStar(y$(),gt);lr.__exportStar(Cx(),gt);var UDe=Gu();Object.defineProperty(gt,"BaseRequestPolicy",{enumerable:!0,get:function(){return UDe.BaseRequestPolicy}});lr.__exportStar(nx(),gt);lr.__exportStar(vm(),gt);lr.__exportStar(b$(),gt);lr.__exportStar(Q$(),gt);lr.__exportStar(x$(),gt);lr.__exportStar(lx(),gt);lr.__exportStar(R$(),gt);lr.__exportStar(_$(),gt);lr.__exportStar(v$(),gt)});var en=g(Z=>{"use strict";Object.defineProperty(Z,"__esModule",{value:!0});Z.PathStylePorts=Z.BlobDoesNotUseCustomerSpecifiedEncryption=Z.BlobUsesCustomerSpecifiedEncryptionMsg=Z.StorageBlobLoggingAllowedQueryParameters=Z.StorageBlobLoggingAllowedHeaderNames=Z.DevelopmentConnectionString=Z.EncryptionAlgorithmAES25=Z.HTTP_VERSION_1_1=Z.HTTP_LINE_ENDING=Z.BATCH_MAX_PAYLOAD_IN_BYTES=Z.BATCH_MAX_REQUEST=Z.SIZE_1_MB=Z.ETagAny=Z.ETagNone=Z.HeaderConstants=Z.HTTPURLConnection=Z.URLConstants=Z.StorageOAuthScopes=Z.REQUEST_TIMEOUT=Z.DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS=Z.DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES=Z.DEFAULT_BLOCK_BUFFER_SIZE_BYTES=Z.BLOCK_BLOB_MAX_BLOCKS=Z.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES=Z.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES=Z.SERVICE_VERSION=Z.SDK_VERSION=void 0;Z.SDK_VERSION="12.31.0";Z.SERVICE_VERSION="2026-02-06";Z.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES=256*1024*1024;Z.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES=4e3*1024*1024;Z.BLOCK_BLOB_MAX_BLOCKS=5e4;Z.DEFAULT_BLOCK_BUFFER_SIZE_BYTES=8*1024*1024;Z.DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES=4*1024*1024;Z.DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS=5;Z.REQUEST_TIMEOUT=100*1e3;Z.StorageOAuthScopes="https://storage.azure.com/.default";Z.URLConstants={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};Z.HTTPURLConnection={HTTP_ACCEPTED:202,HTTP_CONFLICT:409,HTTP_NOT_FOUND:404,HTTP_PRECON_FAILED:412,HTTP_RANGE_NOT_SATISFIABLE:416};Z.HeaderConstants={AUTHORIZATION:"Authorization",AUTHORIZATION_SCHEME:"Bearer",CONTENT_ENCODING:"Content-Encoding",CONTENT_ID:"Content-ID",CONTENT_LANGUAGE:"Content-Language",CONTENT_LENGTH:"Content-Length",CONTENT_MD5:"Content-Md5",CONTENT_TRANSFER_ENCODING:"Content-Transfer-Encoding",CONTENT_TYPE:"Content-Type",COOKIE:"Cookie",DATE:"date",IF_MATCH:"if-match",IF_MODIFIED_SINCE:"if-modified-since",IF_NONE_MATCH:"if-none-match",IF_UNMODIFIED_SINCE:"if-unmodified-since",PREFIX_FOR_STORAGE:"x-ms-",RANGE:"Range",USER_AGENT:"User-Agent",X_MS_CLIENT_REQUEST_ID:"x-ms-client-request-id",X_MS_COPY_SOURCE:"x-ms-copy-source",X_MS_DATE:"x-ms-date",X_MS_ERROR_CODE:"x-ms-error-code",X_MS_VERSION:"x-ms-version",X_MS_CopySourceErrorCode:"x-ms-copy-source-error-code"};Z.ETagNone="";Z.ETagAny="*";Z.SIZE_1_MB=1*1024*1024;Z.BATCH_MAX_REQUEST=256;Z.BATCH_MAX_PAYLOAD_IN_BYTES=4*Z.SIZE_1_MB;Z.HTTP_LINE_ENDING=`\r -`;Z.HTTP_VERSION_1_1="HTTP/1.1";Z.EncryptionAlgorithmAES25="AES256";Z.DevelopmentConnectionString="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;";Z.StorageBlobLoggingAllowedHeaderNames=["Access-Control-Allow-Origin","Cache-Control","Content-Length","Content-Type","Date","Request-Id","traceparent","Transfer-Encoding","User-Agent","x-ms-client-request-id","x-ms-date","x-ms-error-code","x-ms-request-id","x-ms-return-client-request-id","x-ms-version","Accept-Ranges","Content-Disposition","Content-Encoding","Content-Language","Content-MD5","Content-Range","ETag","Last-Modified","Server","Vary","x-ms-content-crc64","x-ms-copy-action","x-ms-copy-completion-time","x-ms-copy-id","x-ms-copy-progress","x-ms-copy-status","x-ms-has-immutability-policy","x-ms-has-legal-hold","x-ms-lease-state","x-ms-lease-status","x-ms-range","x-ms-request-server-encrypted","x-ms-server-encrypted","x-ms-snapshot","x-ms-source-range","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","x-ms-access-tier","x-ms-access-tier-change-time","x-ms-access-tier-inferred","x-ms-account-kind","x-ms-archive-status","x-ms-blob-append-offset","x-ms-blob-cache-control","x-ms-blob-committed-block-count","x-ms-blob-condition-appendpos","x-ms-blob-condition-maxsize","x-ms-blob-content-disposition","x-ms-blob-content-encoding","x-ms-blob-content-language","x-ms-blob-content-length","x-ms-blob-content-md5","x-ms-blob-content-type","x-ms-blob-public-access","x-ms-blob-sequence-number","x-ms-blob-type","x-ms-copy-destination-snapshot","x-ms-creation-time","x-ms-default-encryption-scope","x-ms-delete-snapshots","x-ms-delete-type-permanent","x-ms-deny-encryption-scope-override","x-ms-encryption-algorithm","x-ms-if-sequence-number-eq","x-ms-if-sequence-number-le","x-ms-if-sequence-number-lt","x-ms-incremental-copy","x-ms-lease-action","x-ms-lease-break-period","x-ms-lease-duration","x-ms-lease-id","x-ms-lease-time","x-ms-page-write","x-ms-proposed-lease-id","x-ms-range-get-content-md5","x-ms-rehydrate-priority","x-ms-sequence-number-action","x-ms-sku-name","x-ms-source-content-md5","x-ms-source-if-match","x-ms-source-if-modified-since","x-ms-source-if-none-match","x-ms-source-if-unmodified-since","x-ms-tag-count","x-ms-encryption-key-sha256","x-ms-copy-source-error-code","x-ms-copy-source-status-code","x-ms-if-tags","x-ms-source-if-tags"];Z.StorageBlobLoggingAllowedQueryParameters=["comp","maxresults","rscc","rscd","rsce","rscl","rsct","se","si","sip","sp","spr","sr","srt","ss","st","sv","include","marker","prefix","copyid","restype","blockid","blocklisttype","delimiter","prevsnapshot","ske","skoid","sks","skt","sktid","skv","snapshot"];Z.BlobUsesCustomerSpecifiedEncryptionMsg="BlobUsesCustomerSpecifiedEncryption";Z.BlobDoesNotUseCustomerSpecifiedEncryption="BlobDoesNotUseCustomerSpecifiedEncryption";Z.PathStylePorts=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"]});var to=g(Ri=>{"use strict";Object.defineProperty(Ri,"__esModule",{value:!0});Ri.Pipeline=Ri.StorageOAuthScopes=void 0;Ri.isPipelineLike=qDe;Ri.newPipeline=HDe;Ri.getCoreClientOptions=jDe;Ri.getCredentialFromPipeline=M$;var O$=gm(),P$=Ot(),D$=Ni(),T$=F0(),Qx=Kc(),FDe=Em(),tn=ei(),Ju=en();Object.defineProperty(Ri,"StorageOAuthScopes",{enumerable:!0,get:function(){return Ju.StorageOAuthScopes}});function qDe(t){if(!t||typeof t!="object")return!1;let e=t;return Array.isArray(e.factories)&&typeof e.options=="object"&&typeof e.toServiceClientOptions=="function"}o(qDe,"isPipelineLike");var jm=class{static{o(this,"Pipeline")}factories;options;constructor(e,r={}){this.factories=e,this.options=r}toServiceClientOptions(){return{httpClient:this.options.httpClient,requestPolicyFactories:this.factories}}};Ri.Pipeline=jm;function HDe(t,e={}){t||(t=new tn.AnonymousCredential);let r=new jm([],e);return r._credential=t,r}o(HDe,"newPipeline");function zDe(t){let e=[GDe,k$,YDe,JDe,VDe,WDe,KDe];if(t.factories.length){let r=t.factories.filter(n=>!e.some(i=>i(n)));if(r.length){let n=r.some(i=>$De(i));return{wrappedPolicies:(0,O$.createRequestPolicyFactoryPolicy)(r),afterRetry:n}}}}o(zDe,"processDownlevelPipeline");function jDe(t){let{httpClient:e,...r}=t.options,n=t._coreHttpClient;n||(n=e?(0,O$.convertHttpClient)(e):(0,tn.getCachedDefaultHttpClient)(),t._coreHttpClient=n);let i=t._corePipeline;if(!i){let s=`azsdk-js-azure-storage-blob/${Ju.SDK_VERSION}`,a=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${s}`:`${s}`;i=(0,D$.createClientPipeline)({...r,loggingOptions:{additionalAllowedHeaderNames:Ju.StorageBlobLoggingAllowedHeaderNames,additionalAllowedQueryParameters:Ju.StorageBlobLoggingAllowedQueryParameters,logger:FDe.logger.info},userAgentOptions:{userAgentPrefix:a},serializationOptions:{stringifyXML:T$.stringifyXML,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:T$.parseXML,serializerOptions:{xml:{xmlCharKey:"#"}}}}),i.removePolicy({phase:"Retry"}),i.removePolicy({name:P$.decompressResponsePolicyName}),i.addPolicy((0,tn.storageCorrectContentLengthPolicy)()),i.addPolicy((0,tn.storageRetryPolicy)(r.retryOptions),{phase:"Retry"}),i.addPolicy((0,tn.storageRequestFailureDetailsParserPolicy)()),i.addPolicy((0,tn.storageBrowserPolicy)());let c=zDe(t);c&&i.addPolicy(c.wrappedPolicies,c.afterRetry?{afterPhase:"Retry"}:void 0);let l=M$(t);(0,Qx.isTokenCredential)(l)?i.addPolicy((0,P$.bearerTokenAuthenticationPolicy)({credential:l,scopes:r.audience??Ju.StorageOAuthScopes,challengeCallbacks:{authorizeRequestOnChallenge:D$.authorizeRequestOnTenantChallenge}}),{phase:"Sign"}):l instanceof tn.StorageSharedKeyCredential&&i.addPolicy((0,tn.storageSharedKeyCredentialPolicy)({accountName:l.accountName,accountKey:l.accountKey}),{phase:"Sign"}),t._corePipeline=i}return{...r,allowInsecureConnection:!0,httpClient:n,pipeline:i}}o(jDe,"getCoreClientOptions");function M$(t){if(t._credential)return t._credential;let e=new tn.AnonymousCredential;for(let r of t.factories)if((0,Qx.isTokenCredential)(r.credential))e=r.credential;else if(k$(r))return r;return e}o(M$,"getCredentialFromPipeline");function k$(t){return t instanceof tn.StorageSharedKeyCredential?!0:t.constructor.name==="StorageSharedKeyCredential"}o(k$,"isStorageSharedKeyCredential");function GDe(t){return t instanceof tn.AnonymousCredential?!0:t.constructor.name==="AnonymousCredential"}o(GDe,"isAnonymousCredential");function YDe(t){return(0,Qx.isTokenCredential)(t.credential)}o(YDe,"isCoreHttpBearerTokenFactory");function JDe(t){return t instanceof tn.StorageBrowserPolicyFactory?!0:t.constructor.name==="StorageBrowserPolicyFactory"}o(JDe,"isStorageBrowserPolicyFactory");function VDe(t){return t instanceof tn.StorageRetryPolicyFactory?!0:t.constructor.name==="StorageRetryPolicyFactory"}o(VDe,"isStorageRetryPolicyFactory");function WDe(t){return t.constructor.name==="TelemetryPolicyFactory"}o(WDe,"isStorageTelemetryPolicyFactory");function $De(t){return t.constructor.name==="InjectorPolicyFactory"}o($De,"isInjectorPolicyFactory");function KDe(t){let e=["GenerateClientRequestIdPolicy","TracingPolicy","LogPolicy","ProxyPolicy","DisableResponseDecompressionPolicy","KeepAlivePolicy","DeserializationPolicy"],r={sendRequest:async a=>({request:a,headers:a.headers.clone(),status:500})},n={log(a,c){},shouldLog(a){return!1}},s=t.create(r,n).constructor.name;return e.some(a=>s.startsWith(a))}o(KDe,"isCoreHttpPolicyFactory")});var H$=g(_i=>{"use strict";Object.defineProperty(_i,"__esModule",{value:!0});_i.KnownStorageErrorCode=_i.KnownBlobExpiryOptions=_i.KnownFileShareTokenIntent=_i.KnownEncryptionAlgorithmType=void 0;var L$;(function(t){t.AES256="AES256"})(L$||(_i.KnownEncryptionAlgorithmType=L$={}));var U$;(function(t){t.Backup="backup"})(U$||(_i.KnownFileShareTokenIntent=U$={}));var F$;(function(t){t.NeverExpire="NeverExpire",t.RelativeToCreation="RelativeToCreation",t.RelativeToNow="RelativeToNow",t.Absolute="Absolute"})(F$||(_i.KnownBlobExpiryOptions=F$={}));var q$;(function(t){t.AccountAlreadyExists="AccountAlreadyExists",t.AccountBeingCreated="AccountBeingCreated",t.AccountIsDisabled="AccountIsDisabled",t.AuthenticationFailed="AuthenticationFailed",t.AuthorizationFailure="AuthorizationFailure",t.ConditionHeadersNotSupported="ConditionHeadersNotSupported",t.ConditionNotMet="ConditionNotMet",t.EmptyMetadataKey="EmptyMetadataKey",t.InsufficientAccountPermissions="InsufficientAccountPermissions",t.InternalError="InternalError",t.InvalidAuthenticationInfo="InvalidAuthenticationInfo",t.InvalidHeaderValue="InvalidHeaderValue",t.InvalidHttpVerb="InvalidHttpVerb",t.InvalidInput="InvalidInput",t.InvalidMd5="InvalidMd5",t.InvalidMetadata="InvalidMetadata",t.InvalidQueryParameterValue="InvalidQueryParameterValue",t.InvalidRange="InvalidRange",t.InvalidResourceName="InvalidResourceName",t.InvalidUri="InvalidUri",t.InvalidXmlDocument="InvalidXmlDocument",t.InvalidXmlNodeValue="InvalidXmlNodeValue",t.Md5Mismatch="Md5Mismatch",t.MetadataTooLarge="MetadataTooLarge",t.MissingContentLengthHeader="MissingContentLengthHeader",t.MissingRequiredQueryParameter="MissingRequiredQueryParameter",t.MissingRequiredHeader="MissingRequiredHeader",t.MissingRequiredXmlNode="MissingRequiredXmlNode",t.MultipleConditionHeadersNotSupported="MultipleConditionHeadersNotSupported",t.OperationTimedOut="OperationTimedOut",t.OutOfRangeInput="OutOfRangeInput",t.OutOfRangeQueryParameterValue="OutOfRangeQueryParameterValue",t.RequestBodyTooLarge="RequestBodyTooLarge",t.ResourceTypeMismatch="ResourceTypeMismatch",t.RequestUrlFailedToParse="RequestUrlFailedToParse",t.ResourceAlreadyExists="ResourceAlreadyExists",t.ResourceNotFound="ResourceNotFound",t.ServerBusy="ServerBusy",t.UnsupportedHeader="UnsupportedHeader",t.UnsupportedXmlNode="UnsupportedXmlNode",t.UnsupportedQueryParameter="UnsupportedQueryParameter",t.UnsupportedHttpVerb="UnsupportedHttpVerb",t.AppendPositionConditionNotMet="AppendPositionConditionNotMet",t.BlobAlreadyExists="BlobAlreadyExists",t.BlobImmutableDueToPolicy="BlobImmutableDueToPolicy",t.BlobNotFound="BlobNotFound",t.BlobOverwritten="BlobOverwritten",t.BlobTierInadequateForContentLength="BlobTierInadequateForContentLength",t.BlobUsesCustomerSpecifiedEncryption="BlobUsesCustomerSpecifiedEncryption",t.BlockCountExceedsLimit="BlockCountExceedsLimit",t.BlockListTooLong="BlockListTooLong",t.CannotChangeToLowerTier="CannotChangeToLowerTier",t.CannotVerifyCopySource="CannotVerifyCopySource",t.ContainerAlreadyExists="ContainerAlreadyExists",t.ContainerBeingDeleted="ContainerBeingDeleted",t.ContainerDisabled="ContainerDisabled",t.ContainerNotFound="ContainerNotFound",t.ContentLengthLargerThanTierLimit="ContentLengthLargerThanTierLimit",t.CopyAcrossAccountsNotSupported="CopyAcrossAccountsNotSupported",t.CopyIdMismatch="CopyIdMismatch",t.FeatureVersionMismatch="FeatureVersionMismatch",t.IncrementalCopyBlobMismatch="IncrementalCopyBlobMismatch",t.IncrementalCopyOfEarlierVersionSnapshotNotAllowed="IncrementalCopyOfEarlierVersionSnapshotNotAllowed",t.IncrementalCopySourceMustBeSnapshot="IncrementalCopySourceMustBeSnapshot",t.InfiniteLeaseDurationRequired="InfiniteLeaseDurationRequired",t.InvalidBlobOrBlock="InvalidBlobOrBlock",t.InvalidBlobTier="InvalidBlobTier",t.InvalidBlobType="InvalidBlobType",t.InvalidBlockId="InvalidBlockId",t.InvalidBlockList="InvalidBlockList",t.InvalidOperation="InvalidOperation",t.InvalidPageRange="InvalidPageRange",t.InvalidSourceBlobType="InvalidSourceBlobType",t.InvalidSourceBlobUrl="InvalidSourceBlobUrl",t.InvalidVersionForPageBlobOperation="InvalidVersionForPageBlobOperation",t.LeaseAlreadyPresent="LeaseAlreadyPresent",t.LeaseAlreadyBroken="LeaseAlreadyBroken",t.LeaseIdMismatchWithBlobOperation="LeaseIdMismatchWithBlobOperation",t.LeaseIdMismatchWithContainerOperation="LeaseIdMismatchWithContainerOperation",t.LeaseIdMismatchWithLeaseOperation="LeaseIdMismatchWithLeaseOperation",t.LeaseIdMissing="LeaseIdMissing",t.LeaseIsBreakingAndCannotBeAcquired="LeaseIsBreakingAndCannotBeAcquired",t.LeaseIsBreakingAndCannotBeChanged="LeaseIsBreakingAndCannotBeChanged",t.LeaseIsBrokenAndCannotBeRenewed="LeaseIsBrokenAndCannotBeRenewed",t.LeaseLost="LeaseLost",t.LeaseNotPresentWithBlobOperation="LeaseNotPresentWithBlobOperation",t.LeaseNotPresentWithContainerOperation="LeaseNotPresentWithContainerOperation",t.LeaseNotPresentWithLeaseOperation="LeaseNotPresentWithLeaseOperation",t.MaxBlobSizeConditionNotMet="MaxBlobSizeConditionNotMet",t.NoAuthenticationInformation="NoAuthenticationInformation",t.NoPendingCopyOperation="NoPendingCopyOperation",t.OperationNotAllowedOnIncrementalCopyBlob="OperationNotAllowedOnIncrementalCopyBlob",t.PendingCopyOperation="PendingCopyOperation",t.PreviousSnapshotCannotBeNewer="PreviousSnapshotCannotBeNewer",t.PreviousSnapshotNotFound="PreviousSnapshotNotFound",t.PreviousSnapshotOperationNotSupported="PreviousSnapshotOperationNotSupported",t.SequenceNumberConditionNotMet="SequenceNumberConditionNotMet",t.SequenceNumberIncrementTooLarge="SequenceNumberIncrementTooLarge",t.SnapshotCountExceeded="SnapshotCountExceeded",t.SnapshotOperationRateExceeded="SnapshotOperationRateExceeded",t.SnapshotsPresent="SnapshotsPresent",t.SourceConditionNotMet="SourceConditionNotMet",t.SystemInUse="SystemInUse",t.TargetConditionNotMet="TargetConditionNotMet",t.UnauthorizedBlobOverwrite="UnauthorizedBlobOverwrite",t.BlobBeingRehydrated="BlobBeingRehydrated",t.BlobArchived="BlobArchived",t.BlobNotArchived="BlobNotArchived",t.AuthorizationSourceIPMismatch="AuthorizationSourceIPMismatch",t.AuthorizationProtocolMismatch="AuthorizationProtocolMismatch",t.AuthorizationPermissionMismatch="AuthorizationPermissionMismatch",t.AuthorizationServiceMismatch="AuthorizationServiceMismatch",t.AuthorizationResourceTypeMismatch="AuthorizationResourceTypeMismatch",t.BlobAccessTierNotSupportedForAccountType="BlobAccessTierNotSupportedForAccountType"})(q$||(_i.KnownStorageErrorCode=q$={}))});var ro=g(E=>{"use strict";Object.defineProperty(E,"__esModule",{value:!0});E.ServiceGetUserDelegationKeyHeaders=E.ServiceListContainersSegmentExceptionHeaders=E.ServiceListContainersSegmentHeaders=E.ServiceGetStatisticsExceptionHeaders=E.ServiceGetStatisticsHeaders=E.ServiceGetPropertiesExceptionHeaders=E.ServiceGetPropertiesHeaders=E.ServiceSetPropertiesExceptionHeaders=E.ServiceSetPropertiesHeaders=E.ArrowField=E.ArrowConfiguration=E.JsonTextConfiguration=E.DelimitedTextConfiguration=E.QueryFormat=E.QuerySerialization=E.QueryRequest=E.ClearRange=E.PageRange=E.PageList=E.Block=E.BlockList=E.BlockLookupList=E.BlobPrefix=E.BlobHierarchyListSegment=E.ListBlobsHierarchySegmentResponse=E.BlobPropertiesInternal=E.BlobName=E.BlobItemInternal=E.BlobFlatListSegment=E.ListBlobsFlatSegmentResponse=E.AccessPolicy=E.SignedIdentifier=E.BlobTag=E.BlobTags=E.FilterBlobItem=E.FilterBlobSegment=E.UserDelegationKey=E.KeyInfo=E.ContainerProperties=E.ContainerItem=E.ListContainersSegmentResponse=E.GeoReplication=E.BlobServiceStatistics=E.StorageError=E.StaticWebsite=E.CorsRule=E.Metrics=E.RetentionPolicy=E.Logging=E.BlobServiceProperties=void 0;E.BlobUndeleteHeaders=E.BlobDeleteExceptionHeaders=E.BlobDeleteHeaders=E.BlobGetPropertiesExceptionHeaders=E.BlobGetPropertiesHeaders=E.BlobDownloadExceptionHeaders=E.BlobDownloadHeaders=E.ContainerGetAccountInfoExceptionHeaders=E.ContainerGetAccountInfoHeaders=E.ContainerListBlobHierarchySegmentExceptionHeaders=E.ContainerListBlobHierarchySegmentHeaders=E.ContainerListBlobFlatSegmentExceptionHeaders=E.ContainerListBlobFlatSegmentHeaders=E.ContainerChangeLeaseExceptionHeaders=E.ContainerChangeLeaseHeaders=E.ContainerBreakLeaseExceptionHeaders=E.ContainerBreakLeaseHeaders=E.ContainerRenewLeaseExceptionHeaders=E.ContainerRenewLeaseHeaders=E.ContainerReleaseLeaseExceptionHeaders=E.ContainerReleaseLeaseHeaders=E.ContainerAcquireLeaseExceptionHeaders=E.ContainerAcquireLeaseHeaders=E.ContainerFilterBlobsExceptionHeaders=E.ContainerFilterBlobsHeaders=E.ContainerSubmitBatchExceptionHeaders=E.ContainerSubmitBatchHeaders=E.ContainerRenameExceptionHeaders=E.ContainerRenameHeaders=E.ContainerRestoreExceptionHeaders=E.ContainerRestoreHeaders=E.ContainerSetAccessPolicyExceptionHeaders=E.ContainerSetAccessPolicyHeaders=E.ContainerGetAccessPolicyExceptionHeaders=E.ContainerGetAccessPolicyHeaders=E.ContainerSetMetadataExceptionHeaders=E.ContainerSetMetadataHeaders=E.ContainerDeleteExceptionHeaders=E.ContainerDeleteHeaders=E.ContainerGetPropertiesExceptionHeaders=E.ContainerGetPropertiesHeaders=E.ContainerCreateExceptionHeaders=E.ContainerCreateHeaders=E.ServiceFilterBlobsExceptionHeaders=E.ServiceFilterBlobsHeaders=E.ServiceSubmitBatchExceptionHeaders=E.ServiceSubmitBatchHeaders=E.ServiceGetAccountInfoExceptionHeaders=E.ServiceGetAccountInfoHeaders=E.ServiceGetUserDelegationKeyExceptionHeaders=void 0;E.PageBlobGetPageRangesHeaders=E.PageBlobUploadPagesFromURLExceptionHeaders=E.PageBlobUploadPagesFromURLHeaders=E.PageBlobClearPagesExceptionHeaders=E.PageBlobClearPagesHeaders=E.PageBlobUploadPagesExceptionHeaders=E.PageBlobUploadPagesHeaders=E.PageBlobCreateExceptionHeaders=E.PageBlobCreateHeaders=E.BlobSetTagsExceptionHeaders=E.BlobSetTagsHeaders=E.BlobGetTagsExceptionHeaders=E.BlobGetTagsHeaders=E.BlobQueryExceptionHeaders=E.BlobQueryHeaders=E.BlobGetAccountInfoExceptionHeaders=E.BlobGetAccountInfoHeaders=E.BlobSetTierExceptionHeaders=E.BlobSetTierHeaders=E.BlobAbortCopyFromURLExceptionHeaders=E.BlobAbortCopyFromURLHeaders=E.BlobCopyFromURLExceptionHeaders=E.BlobCopyFromURLHeaders=E.BlobStartCopyFromURLExceptionHeaders=E.BlobStartCopyFromURLHeaders=E.BlobCreateSnapshotExceptionHeaders=E.BlobCreateSnapshotHeaders=E.BlobBreakLeaseExceptionHeaders=E.BlobBreakLeaseHeaders=E.BlobChangeLeaseExceptionHeaders=E.BlobChangeLeaseHeaders=E.BlobRenewLeaseExceptionHeaders=E.BlobRenewLeaseHeaders=E.BlobReleaseLeaseExceptionHeaders=E.BlobReleaseLeaseHeaders=E.BlobAcquireLeaseExceptionHeaders=E.BlobAcquireLeaseHeaders=E.BlobSetMetadataExceptionHeaders=E.BlobSetMetadataHeaders=E.BlobSetLegalHoldExceptionHeaders=E.BlobSetLegalHoldHeaders=E.BlobDeleteImmutabilityPolicyExceptionHeaders=E.BlobDeleteImmutabilityPolicyHeaders=E.BlobSetImmutabilityPolicyExceptionHeaders=E.BlobSetImmutabilityPolicyHeaders=E.BlobSetHttpHeadersExceptionHeaders=E.BlobSetHttpHeadersHeaders=E.BlobSetExpiryExceptionHeaders=E.BlobSetExpiryHeaders=E.BlobUndeleteExceptionHeaders=void 0;E.BlockBlobGetBlockListExceptionHeaders=E.BlockBlobGetBlockListHeaders=E.BlockBlobCommitBlockListExceptionHeaders=E.BlockBlobCommitBlockListHeaders=E.BlockBlobStageBlockFromURLExceptionHeaders=E.BlockBlobStageBlockFromURLHeaders=E.BlockBlobStageBlockExceptionHeaders=E.BlockBlobStageBlockHeaders=E.BlockBlobPutBlobFromUrlExceptionHeaders=E.BlockBlobPutBlobFromUrlHeaders=E.BlockBlobUploadExceptionHeaders=E.BlockBlobUploadHeaders=E.AppendBlobSealExceptionHeaders=E.AppendBlobSealHeaders=E.AppendBlobAppendBlockFromUrlExceptionHeaders=E.AppendBlobAppendBlockFromUrlHeaders=E.AppendBlobAppendBlockExceptionHeaders=E.AppendBlobAppendBlockHeaders=E.AppendBlobCreateExceptionHeaders=E.AppendBlobCreateHeaders=E.PageBlobCopyIncrementalExceptionHeaders=E.PageBlobCopyIncrementalHeaders=E.PageBlobUpdateSequenceNumberExceptionHeaders=E.PageBlobUpdateSequenceNumberHeaders=E.PageBlobResizeExceptionHeaders=E.PageBlobResizeHeaders=E.PageBlobGetPageRangesDiffExceptionHeaders=E.PageBlobGetPageRangesDiffHeaders=E.PageBlobGetPageRangesExceptionHeaders=void 0;E.BlobServiceProperties={serializedName:"BlobServiceProperties",xmlName:"StorageServiceProperties",type:{name:"Composite",className:"BlobServiceProperties",modelProperties:{blobAnalyticsLogging:{serializedName:"Logging",xmlName:"Logging",type:{name:"Composite",className:"Logging"}},hourMetrics:{serializedName:"HourMetrics",xmlName:"HourMetrics",type:{name:"Composite",className:"Metrics"}},minuteMetrics:{serializedName:"MinuteMetrics",xmlName:"MinuteMetrics",type:{name:"Composite",className:"Metrics"}},cors:{serializedName:"Cors",xmlName:"Cors",xmlIsWrapped:!0,xmlElementName:"CorsRule",type:{name:"Sequence",element:{type:{name:"Composite",className:"CorsRule"}}}},defaultServiceVersion:{serializedName:"DefaultServiceVersion",xmlName:"DefaultServiceVersion",type:{name:"String"}},deleteRetentionPolicy:{serializedName:"DeleteRetentionPolicy",xmlName:"DeleteRetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}},staticWebsite:{serializedName:"StaticWebsite",xmlName:"StaticWebsite",type:{name:"Composite",className:"StaticWebsite"}}}}};E.Logging={serializedName:"Logging",type:{name:"Composite",className:"Logging",modelProperties:{version:{serializedName:"Version",required:!0,xmlName:"Version",type:{name:"String"}},deleteProperty:{serializedName:"Delete",required:!0,xmlName:"Delete",type:{name:"Boolean"}},read:{serializedName:"Read",required:!0,xmlName:"Read",type:{name:"Boolean"}},write:{serializedName:"Write",required:!0,xmlName:"Write",type:{name:"Boolean"}},retentionPolicy:{serializedName:"RetentionPolicy",xmlName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}}}}};E.RetentionPolicy={serializedName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy",modelProperties:{enabled:{serializedName:"Enabled",required:!0,xmlName:"Enabled",type:{name:"Boolean"}},days:{constraints:{InclusiveMinimum:1},serializedName:"Days",xmlName:"Days",type:{name:"Number"}}}}};E.Metrics={serializedName:"Metrics",type:{name:"Composite",className:"Metrics",modelProperties:{version:{serializedName:"Version",xmlName:"Version",type:{name:"String"}},enabled:{serializedName:"Enabled",required:!0,xmlName:"Enabled",type:{name:"Boolean"}},includeAPIs:{serializedName:"IncludeAPIs",xmlName:"IncludeAPIs",type:{name:"Boolean"}},retentionPolicy:{serializedName:"RetentionPolicy",xmlName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}}}}};E.CorsRule={serializedName:"CorsRule",type:{name:"Composite",className:"CorsRule",modelProperties:{allowedOrigins:{serializedName:"AllowedOrigins",required:!0,xmlName:"AllowedOrigins",type:{name:"String"}},allowedMethods:{serializedName:"AllowedMethods",required:!0,xmlName:"AllowedMethods",type:{name:"String"}},allowedHeaders:{serializedName:"AllowedHeaders",required:!0,xmlName:"AllowedHeaders",type:{name:"String"}},exposedHeaders:{serializedName:"ExposedHeaders",required:!0,xmlName:"ExposedHeaders",type:{name:"String"}},maxAgeInSeconds:{constraints:{InclusiveMinimum:0},serializedName:"MaxAgeInSeconds",required:!0,xmlName:"MaxAgeInSeconds",type:{name:"Number"}}}}};E.StaticWebsite={serializedName:"StaticWebsite",type:{name:"Composite",className:"StaticWebsite",modelProperties:{enabled:{serializedName:"Enabled",required:!0,xmlName:"Enabled",type:{name:"Boolean"}},indexDocument:{serializedName:"IndexDocument",xmlName:"IndexDocument",type:{name:"String"}},errorDocument404Path:{serializedName:"ErrorDocument404Path",xmlName:"ErrorDocument404Path",type:{name:"String"}},defaultIndexDocumentPath:{serializedName:"DefaultIndexDocumentPath",xmlName:"DefaultIndexDocumentPath",type:{name:"String"}}}}};E.StorageError={serializedName:"StorageError",type:{name:"Composite",className:"StorageError",modelProperties:{message:{serializedName:"Message",xmlName:"Message",type:{name:"String"}},copySourceStatusCode:{serializedName:"CopySourceStatusCode",xmlName:"CopySourceStatusCode",type:{name:"Number"}},copySourceErrorCode:{serializedName:"CopySourceErrorCode",xmlName:"CopySourceErrorCode",type:{name:"String"}},copySourceErrorMessage:{serializedName:"CopySourceErrorMessage",xmlName:"CopySourceErrorMessage",type:{name:"String"}},code:{serializedName:"Code",xmlName:"Code",type:{name:"String"}},authenticationErrorDetail:{serializedName:"AuthenticationErrorDetail",xmlName:"AuthenticationErrorDetail",type:{name:"String"}}}}};E.BlobServiceStatistics={serializedName:"BlobServiceStatistics",xmlName:"StorageServiceStats",type:{name:"Composite",className:"BlobServiceStatistics",modelProperties:{geoReplication:{serializedName:"GeoReplication",xmlName:"GeoReplication",type:{name:"Composite",className:"GeoReplication"}}}}};E.GeoReplication={serializedName:"GeoReplication",type:{name:"Composite",className:"GeoReplication",modelProperties:{status:{serializedName:"Status",required:!0,xmlName:"Status",type:{name:"Enum",allowedValues:["live","bootstrap","unavailable"]}},lastSyncOn:{serializedName:"LastSyncTime",required:!0,xmlName:"LastSyncTime",type:{name:"DateTimeRfc1123"}}}}};E.ListContainersSegmentResponse={serializedName:"ListContainersSegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListContainersSegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},containerItems:{serializedName:"ContainerItems",required:!0,xmlName:"Containers",xmlIsWrapped:!0,xmlElementName:"Container",type:{name:"Sequence",element:{type:{name:"Composite",className:"ContainerItem"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};E.ContainerItem={serializedName:"ContainerItem",xmlName:"Container",type:{name:"Composite",className:"ContainerItem",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},deleted:{serializedName:"Deleted",xmlName:"Deleted",type:{name:"Boolean"}},version:{serializedName:"Version",xmlName:"Version",type:{name:"String"}},properties:{serializedName:"Properties",xmlName:"Properties",type:{name:"Composite",className:"ContainerProperties"}},metadata:{serializedName:"Metadata",xmlName:"Metadata",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}};E.ContainerProperties={serializedName:"ContainerProperties",type:{name:"Composite",className:"ContainerProperties",modelProperties:{lastModified:{serializedName:"Last-Modified",required:!0,xmlName:"Last-Modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"Etag",required:!0,xmlName:"Etag",type:{name:"String"}},leaseStatus:{serializedName:"LeaseStatus",xmlName:"LeaseStatus",type:{name:"Enum",allowedValues:["locked","unlocked"]}},leaseState:{serializedName:"LeaseState",xmlName:"LeaseState",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseDuration:{serializedName:"LeaseDuration",xmlName:"LeaseDuration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},publicAccess:{serializedName:"PublicAccess",xmlName:"PublicAccess",type:{name:"Enum",allowedValues:["container","blob"]}},hasImmutabilityPolicy:{serializedName:"HasImmutabilityPolicy",xmlName:"HasImmutabilityPolicy",type:{name:"Boolean"}},hasLegalHold:{serializedName:"HasLegalHold",xmlName:"HasLegalHold",type:{name:"Boolean"}},defaultEncryptionScope:{serializedName:"DefaultEncryptionScope",xmlName:"DefaultEncryptionScope",type:{name:"String"}},preventEncryptionScopeOverride:{serializedName:"DenyEncryptionScopeOverride",xmlName:"DenyEncryptionScopeOverride",type:{name:"Boolean"}},deletedOn:{serializedName:"DeletedTime",xmlName:"DeletedTime",type:{name:"DateTimeRfc1123"}},remainingRetentionDays:{serializedName:"RemainingRetentionDays",xmlName:"RemainingRetentionDays",type:{name:"Number"}},isImmutableStorageWithVersioningEnabled:{serializedName:"ImmutableStorageWithVersioningEnabled",xmlName:"ImmutableStorageWithVersioningEnabled",type:{name:"Boolean"}}}}};E.KeyInfo={serializedName:"KeyInfo",type:{name:"Composite",className:"KeyInfo",modelProperties:{startsOn:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"String"}},expiresOn:{serializedName:"Expiry",required:!0,xmlName:"Expiry",type:{name:"String"}}}}};E.UserDelegationKey={serializedName:"UserDelegationKey",type:{name:"Composite",className:"UserDelegationKey",modelProperties:{signedObjectId:{serializedName:"SignedOid",required:!0,xmlName:"SignedOid",type:{name:"String"}},signedTenantId:{serializedName:"SignedTid",required:!0,xmlName:"SignedTid",type:{name:"String"}},signedStartsOn:{serializedName:"SignedStart",required:!0,xmlName:"SignedStart",type:{name:"String"}},signedExpiresOn:{serializedName:"SignedExpiry",required:!0,xmlName:"SignedExpiry",type:{name:"String"}},signedService:{serializedName:"SignedService",required:!0,xmlName:"SignedService",type:{name:"String"}},signedVersion:{serializedName:"SignedVersion",required:!0,xmlName:"SignedVersion",type:{name:"String"}},value:{serializedName:"Value",required:!0,xmlName:"Value",type:{name:"String"}}}}};E.FilterBlobSegment={serializedName:"FilterBlobSegment",xmlName:"EnumerationResults",type:{name:"Composite",className:"FilterBlobSegment",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},where:{serializedName:"Where",required:!0,xmlName:"Where",type:{name:"String"}},blobs:{serializedName:"Blobs",required:!0,xmlName:"Blobs",xmlIsWrapped:!0,xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"FilterBlobItem"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};E.FilterBlobItem={serializedName:"FilterBlobItem",xmlName:"Blob",type:{name:"Composite",className:"FilterBlobItem",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",type:{name:"String"}},tags:{serializedName:"Tags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags"}}}}};E.BlobTags={serializedName:"BlobTags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags",modelProperties:{blobTagSet:{serializedName:"BlobTagSet",required:!0,xmlName:"TagSet",xmlIsWrapped:!0,xmlElementName:"Tag",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobTag"}}}}}}};E.BlobTag={serializedName:"BlobTag",xmlName:"Tag",type:{name:"Composite",className:"BlobTag",modelProperties:{key:{serializedName:"Key",required:!0,xmlName:"Key",type:{name:"String"}},value:{serializedName:"Value",required:!0,xmlName:"Value",type:{name:"String"}}}}};E.SignedIdentifier={serializedName:"SignedIdentifier",xmlName:"SignedIdentifier",type:{name:"Composite",className:"SignedIdentifier",modelProperties:{id:{serializedName:"Id",required:!0,xmlName:"Id",type:{name:"String"}},accessPolicy:{serializedName:"AccessPolicy",xmlName:"AccessPolicy",type:{name:"Composite",className:"AccessPolicy"}}}}};E.AccessPolicy={serializedName:"AccessPolicy",type:{name:"Composite",className:"AccessPolicy",modelProperties:{startsOn:{serializedName:"Start",xmlName:"Start",type:{name:"String"}},expiresOn:{serializedName:"Expiry",xmlName:"Expiry",type:{name:"String"}},permissions:{serializedName:"Permission",xmlName:"Permission",type:{name:"String"}}}}};E.ListBlobsFlatSegmentResponse={serializedName:"ListBlobsFlatSegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListBlobsFlatSegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",xmlIsAttribute:!0,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},segment:{serializedName:"Segment",xmlName:"Blobs",type:{name:"Composite",className:"BlobFlatListSegment"}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};E.BlobFlatListSegment={serializedName:"BlobFlatListSegment",xmlName:"Blobs",type:{name:"Composite",className:"BlobFlatListSegment",modelProperties:{blobItems:{serializedName:"BlobItems",required:!0,xmlName:"BlobItems",xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobItemInternal"}}}}}}};E.BlobItemInternal={serializedName:"BlobItemInternal",xmlName:"Blob",type:{name:"Composite",className:"BlobItemInternal",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}},deleted:{serializedName:"Deleted",required:!0,xmlName:"Deleted",type:{name:"Boolean"}},snapshot:{serializedName:"Snapshot",required:!0,xmlName:"Snapshot",type:{name:"String"}},versionId:{serializedName:"VersionId",xmlName:"VersionId",type:{name:"String"}},isCurrentVersion:{serializedName:"IsCurrentVersion",xmlName:"IsCurrentVersion",type:{name:"Boolean"}},properties:{serializedName:"Properties",xmlName:"Properties",type:{name:"Composite",className:"BlobPropertiesInternal"}},metadata:{serializedName:"Metadata",xmlName:"Metadata",type:{name:"Dictionary",value:{type:{name:"String"}}}},blobTags:{serializedName:"BlobTags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags"}},objectReplicationMetadata:{serializedName:"ObjectReplicationMetadata",xmlName:"OrMetadata",type:{name:"Dictionary",value:{type:{name:"String"}}}},hasVersionsOnly:{serializedName:"HasVersionsOnly",xmlName:"HasVersionsOnly",type:{name:"Boolean"}}}}};E.BlobName={serializedName:"BlobName",type:{name:"Composite",className:"BlobName",modelProperties:{encoded:{serializedName:"Encoded",xmlName:"Encoded",xmlIsAttribute:!0,type:{name:"Boolean"}},content:{serializedName:"content",xmlName:"content",xmlIsMsText:!0,type:{name:"String"}}}}};E.BlobPropertiesInternal={serializedName:"BlobPropertiesInternal",xmlName:"Properties",type:{name:"Composite",className:"BlobPropertiesInternal",modelProperties:{createdOn:{serializedName:"Creation-Time",xmlName:"Creation-Time",type:{name:"DateTimeRfc1123"}},lastModified:{serializedName:"Last-Modified",required:!0,xmlName:"Last-Modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"Etag",required:!0,xmlName:"Etag",type:{name:"String"}},contentLength:{serializedName:"Content-Length",xmlName:"Content-Length",type:{name:"Number"}},contentType:{serializedName:"Content-Type",xmlName:"Content-Type",type:{name:"String"}},contentEncoding:{serializedName:"Content-Encoding",xmlName:"Content-Encoding",type:{name:"String"}},contentLanguage:{serializedName:"Content-Language",xmlName:"Content-Language",type:{name:"String"}},contentMD5:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}},contentDisposition:{serializedName:"Content-Disposition",xmlName:"Content-Disposition",type:{name:"String"}},cacheControl:{serializedName:"Cache-Control",xmlName:"Cache-Control",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"BlobType",xmlName:"BlobType",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},leaseStatus:{serializedName:"LeaseStatus",xmlName:"LeaseStatus",type:{name:"Enum",allowedValues:["locked","unlocked"]}},leaseState:{serializedName:"LeaseState",xmlName:"LeaseState",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseDuration:{serializedName:"LeaseDuration",xmlName:"LeaseDuration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},copyId:{serializedName:"CopyId",xmlName:"CopyId",type:{name:"String"}},copyStatus:{serializedName:"CopyStatus",xmlName:"CopyStatus",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},copySource:{serializedName:"CopySource",xmlName:"CopySource",type:{name:"String"}},copyProgress:{serializedName:"CopyProgress",xmlName:"CopyProgress",type:{name:"String"}},copyCompletedOn:{serializedName:"CopyCompletionTime",xmlName:"CopyCompletionTime",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"CopyStatusDescription",xmlName:"CopyStatusDescription",type:{name:"String"}},serverEncrypted:{serializedName:"ServerEncrypted",xmlName:"ServerEncrypted",type:{name:"Boolean"}},incrementalCopy:{serializedName:"IncrementalCopy",xmlName:"IncrementalCopy",type:{name:"Boolean"}},destinationSnapshot:{serializedName:"DestinationSnapshot",xmlName:"DestinationSnapshot",type:{name:"String"}},deletedOn:{serializedName:"DeletedTime",xmlName:"DeletedTime",type:{name:"DateTimeRfc1123"}},remainingRetentionDays:{serializedName:"RemainingRetentionDays",xmlName:"RemainingRetentionDays",type:{name:"Number"}},accessTier:{serializedName:"AccessTier",xmlName:"AccessTier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold"]}},accessTierInferred:{serializedName:"AccessTierInferred",xmlName:"AccessTierInferred",type:{name:"Boolean"}},archiveStatus:{serializedName:"ArchiveStatus",xmlName:"ArchiveStatus",type:{name:"Enum",allowedValues:["rehydrate-pending-to-hot","rehydrate-pending-to-cool","rehydrate-pending-to-cold"]}},customerProvidedKeySha256:{serializedName:"CustomerProvidedKeySha256",xmlName:"CustomerProvidedKeySha256",type:{name:"String"}},encryptionScope:{serializedName:"EncryptionScope",xmlName:"EncryptionScope",type:{name:"String"}},accessTierChangedOn:{serializedName:"AccessTierChangeTime",xmlName:"AccessTierChangeTime",type:{name:"DateTimeRfc1123"}},tagCount:{serializedName:"TagCount",xmlName:"TagCount",type:{name:"Number"}},expiresOn:{serializedName:"Expiry-Time",xmlName:"Expiry-Time",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"Sealed",xmlName:"Sealed",type:{name:"Boolean"}},rehydratePriority:{serializedName:"RehydratePriority",xmlName:"RehydratePriority",type:{name:"Enum",allowedValues:["High","Standard"]}},lastAccessedOn:{serializedName:"LastAccessTime",xmlName:"LastAccessTime",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"ImmutabilityPolicyUntilDate",xmlName:"ImmutabilityPolicyUntilDate",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"ImmutabilityPolicyMode",xmlName:"ImmutabilityPolicyMode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"LegalHold",xmlName:"LegalHold",type:{name:"Boolean"}}}}};E.ListBlobsHierarchySegmentResponse={serializedName:"ListBlobsHierarchySegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListBlobsHierarchySegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",xmlIsAttribute:!0,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},delimiter:{serializedName:"Delimiter",xmlName:"Delimiter",type:{name:"String"}},segment:{serializedName:"Segment",xmlName:"Blobs",type:{name:"Composite",className:"BlobHierarchyListSegment"}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};E.BlobHierarchyListSegment={serializedName:"BlobHierarchyListSegment",xmlName:"Blobs",type:{name:"Composite",className:"BlobHierarchyListSegment",modelProperties:{blobPrefixes:{serializedName:"BlobPrefixes",xmlName:"BlobPrefixes",xmlElementName:"BlobPrefix",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobPrefix"}}}},blobItems:{serializedName:"BlobItems",required:!0,xmlName:"BlobItems",xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobItemInternal"}}}}}}};E.BlobPrefix={serializedName:"BlobPrefix",type:{name:"Composite",className:"BlobPrefix",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}}}}};E.BlockLookupList={serializedName:"BlockLookupList",xmlName:"BlockList",type:{name:"Composite",className:"BlockLookupList",modelProperties:{committed:{serializedName:"Committed",xmlName:"Committed",xmlElementName:"Committed",type:{name:"Sequence",element:{type:{name:"String"}}}},uncommitted:{serializedName:"Uncommitted",xmlName:"Uncommitted",xmlElementName:"Uncommitted",type:{name:"Sequence",element:{type:{name:"String"}}}},latest:{serializedName:"Latest",xmlName:"Latest",xmlElementName:"Latest",type:{name:"Sequence",element:{type:{name:"String"}}}}}}};E.BlockList={serializedName:"BlockList",type:{name:"Composite",className:"BlockList",modelProperties:{committedBlocks:{serializedName:"CommittedBlocks",xmlName:"CommittedBlocks",xmlIsWrapped:!0,xmlElementName:"Block",type:{name:"Sequence",element:{type:{name:"Composite",className:"Block"}}}},uncommittedBlocks:{serializedName:"UncommittedBlocks",xmlName:"UncommittedBlocks",xmlIsWrapped:!0,xmlElementName:"Block",type:{name:"Sequence",element:{type:{name:"Composite",className:"Block"}}}}}}};E.Block={serializedName:"Block",type:{name:"Composite",className:"Block",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},size:{serializedName:"Size",required:!0,xmlName:"Size",type:{name:"Number"}}}}};E.PageList={serializedName:"PageList",type:{name:"Composite",className:"PageList",modelProperties:{pageRange:{serializedName:"PageRange",xmlName:"PageRange",xmlElementName:"PageRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"PageRange"}}}},clearRange:{serializedName:"ClearRange",xmlName:"ClearRange",xmlElementName:"ClearRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"ClearRange"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};E.PageRange={serializedName:"PageRange",xmlName:"PageRange",type:{name:"Composite",className:"PageRange",modelProperties:{start:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:!0,xmlName:"End",type:{name:"Number"}}}}};E.ClearRange={serializedName:"ClearRange",xmlName:"ClearRange",type:{name:"Composite",className:"ClearRange",modelProperties:{start:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:!0,xmlName:"End",type:{name:"Number"}}}}};E.QueryRequest={serializedName:"QueryRequest",xmlName:"QueryRequest",type:{name:"Composite",className:"QueryRequest",modelProperties:{queryType:{serializedName:"QueryType",required:!0,xmlName:"QueryType",type:{name:"String"}},expression:{serializedName:"Expression",required:!0,xmlName:"Expression",type:{name:"String"}},inputSerialization:{serializedName:"InputSerialization",xmlName:"InputSerialization",type:{name:"Composite",className:"QuerySerialization"}},outputSerialization:{serializedName:"OutputSerialization",xmlName:"OutputSerialization",type:{name:"Composite",className:"QuerySerialization"}}}}};E.QuerySerialization={serializedName:"QuerySerialization",type:{name:"Composite",className:"QuerySerialization",modelProperties:{format:{serializedName:"Format",xmlName:"Format",type:{name:"Composite",className:"QueryFormat"}}}}};E.QueryFormat={serializedName:"QueryFormat",type:{name:"Composite",className:"QueryFormat",modelProperties:{type:{serializedName:"Type",required:!0,xmlName:"Type",type:{name:"Enum",allowedValues:["delimited","json","arrow","parquet"]}},delimitedTextConfiguration:{serializedName:"DelimitedTextConfiguration",xmlName:"DelimitedTextConfiguration",type:{name:"Composite",className:"DelimitedTextConfiguration"}},jsonTextConfiguration:{serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration"}},arrowConfiguration:{serializedName:"ArrowConfiguration",xmlName:"ArrowConfiguration",type:{name:"Composite",className:"ArrowConfiguration"}},parquetTextConfiguration:{serializedName:"ParquetTextConfiguration",xmlName:"ParquetTextConfiguration",type:{name:"Dictionary",value:{type:{name:"any"}}}}}}};E.DelimitedTextConfiguration={serializedName:"DelimitedTextConfiguration",xmlName:"DelimitedTextConfiguration",type:{name:"Composite",className:"DelimitedTextConfiguration",modelProperties:{columnSeparator:{serializedName:"ColumnSeparator",xmlName:"ColumnSeparator",type:{name:"String"}},fieldQuote:{serializedName:"FieldQuote",xmlName:"FieldQuote",type:{name:"String"}},recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}},escapeChar:{serializedName:"EscapeChar",xmlName:"EscapeChar",type:{name:"String"}},headersPresent:{serializedName:"HeadersPresent",xmlName:"HasHeaders",type:{name:"Boolean"}}}}};E.JsonTextConfiguration={serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration",modelProperties:{recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}}}}};E.ArrowConfiguration={serializedName:"ArrowConfiguration",xmlName:"ArrowConfiguration",type:{name:"Composite",className:"ArrowConfiguration",modelProperties:{schema:{serializedName:"Schema",required:!0,xmlName:"Schema",xmlIsWrapped:!0,xmlElementName:"Field",type:{name:"Sequence",element:{type:{name:"Composite",className:"ArrowField"}}}}}}};E.ArrowField={serializedName:"ArrowField",xmlName:"Field",type:{name:"Composite",className:"ArrowField",modelProperties:{type:{serializedName:"Type",required:!0,xmlName:"Type",type:{name:"String"}},name:{serializedName:"Name",xmlName:"Name",type:{name:"String"}},precision:{serializedName:"Precision",xmlName:"Precision",type:{name:"Number"}},scale:{serializedName:"Scale",xmlName:"Scale",type:{name:"Number"}}}}};E.ServiceSetPropertiesHeaders={serializedName:"Service_setPropertiesHeaders",type:{name:"Composite",className:"ServiceSetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ServiceSetPropertiesExceptionHeaders={serializedName:"Service_setPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceSetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ServiceGetPropertiesHeaders={serializedName:"Service_getPropertiesHeaders",type:{name:"Composite",className:"ServiceGetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ServiceGetPropertiesExceptionHeaders={serializedName:"Service_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ServiceGetStatisticsHeaders={serializedName:"Service_getStatisticsHeaders",type:{name:"Composite",className:"ServiceGetStatisticsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ServiceGetStatisticsExceptionHeaders={serializedName:"Service_getStatisticsExceptionHeaders",type:{name:"Composite",className:"ServiceGetStatisticsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ServiceListContainersSegmentHeaders={serializedName:"Service_listContainersSegmentHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ServiceListContainersSegmentExceptionHeaders={serializedName:"Service_listContainersSegmentExceptionHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ServiceGetUserDelegationKeyHeaders={serializedName:"Service_getUserDelegationKeyHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ServiceGetUserDelegationKeyExceptionHeaders={serializedName:"Service_getUserDelegationKeyExceptionHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ServiceGetAccountInfoHeaders={serializedName:"Service_getAccountInfoHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ServiceGetAccountInfoExceptionHeaders={serializedName:"Service_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ServiceSubmitBatchHeaders={serializedName:"Service_submitBatchHeaders",type:{name:"Composite",className:"ServiceSubmitBatchHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ServiceSubmitBatchExceptionHeaders={serializedName:"Service_submitBatchExceptionHeaders",type:{name:"Composite",className:"ServiceSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ServiceFilterBlobsHeaders={serializedName:"Service_filterBlobsHeaders",type:{name:"Composite",className:"ServiceFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ServiceFilterBlobsExceptionHeaders={serializedName:"Service_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ServiceFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerCreateHeaders={serializedName:"Container_createHeaders",type:{name:"Composite",className:"ContainerCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerCreateExceptionHeaders={serializedName:"Container_createExceptionHeaders",type:{name:"Composite",className:"ContainerCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerGetPropertiesHeaders={serializedName:"Container_getPropertiesHeaders",type:{name:"Composite",className:"ContainerGetPropertiesHeaders",modelProperties:{metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobPublicAccess:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}},hasImmutabilityPolicy:{serializedName:"x-ms-has-immutability-policy",xmlName:"x-ms-has-immutability-policy",type:{name:"Boolean"}},hasLegalHold:{serializedName:"x-ms-has-legal-hold",xmlName:"x-ms-has-legal-hold",type:{name:"Boolean"}},defaultEncryptionScope:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}},denyEncryptionScopeOverride:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}},isImmutableStorageWithVersioningEnabled:{serializedName:"x-ms-immutable-storage-with-versioning-enabled",xmlName:"x-ms-immutable-storage-with-versioning-enabled",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerGetPropertiesExceptionHeaders={serializedName:"Container_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ContainerGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerDeleteHeaders={serializedName:"Container_deleteHeaders",type:{name:"Composite",className:"ContainerDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerDeleteExceptionHeaders={serializedName:"Container_deleteExceptionHeaders",type:{name:"Composite",className:"ContainerDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerSetMetadataHeaders={serializedName:"Container_setMetadataHeaders",type:{name:"Composite",className:"ContainerSetMetadataHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerSetMetadataExceptionHeaders={serializedName:"Container_setMetadataExceptionHeaders",type:{name:"Composite",className:"ContainerSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerGetAccessPolicyHeaders={serializedName:"Container_getAccessPolicyHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyHeaders",modelProperties:{blobPublicAccess:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerGetAccessPolicyExceptionHeaders={serializedName:"Container_getAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerSetAccessPolicyHeaders={serializedName:"Container_setAccessPolicyHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerSetAccessPolicyExceptionHeaders={serializedName:"Container_setAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerRestoreHeaders={serializedName:"Container_restoreHeaders",type:{name:"Composite",className:"ContainerRestoreHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerRestoreExceptionHeaders={serializedName:"Container_restoreExceptionHeaders",type:{name:"Composite",className:"ContainerRestoreExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerRenameHeaders={serializedName:"Container_renameHeaders",type:{name:"Composite",className:"ContainerRenameHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerRenameExceptionHeaders={serializedName:"Container_renameExceptionHeaders",type:{name:"Composite",className:"ContainerRenameExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerSubmitBatchHeaders={serializedName:"Container_submitBatchHeaders",type:{name:"Composite",className:"ContainerSubmitBatchHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}}}}};E.ContainerSubmitBatchExceptionHeaders={serializedName:"Container_submitBatchExceptionHeaders",type:{name:"Composite",className:"ContainerSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerFilterBlobsHeaders={serializedName:"Container_filterBlobsHeaders",type:{name:"Composite",className:"ContainerFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};E.ContainerFilterBlobsExceptionHeaders={serializedName:"Container_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ContainerFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerAcquireLeaseHeaders={serializedName:"Container_acquireLeaseHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};E.ContainerAcquireLeaseExceptionHeaders={serializedName:"Container_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerReleaseLeaseHeaders={serializedName:"Container_releaseLeaseHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};E.ContainerReleaseLeaseExceptionHeaders={serializedName:"Container_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerRenewLeaseHeaders={serializedName:"Container_renewLeaseHeaders",type:{name:"Composite",className:"ContainerRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};E.ContainerRenewLeaseExceptionHeaders={serializedName:"Container_renewLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerBreakLeaseHeaders={serializedName:"Container_breakLeaseHeaders",type:{name:"Composite",className:"ContainerBreakLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseTime:{serializedName:"x-ms-lease-time",xmlName:"x-ms-lease-time",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};E.ContainerBreakLeaseExceptionHeaders={serializedName:"Container_breakLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerChangeLeaseHeaders={serializedName:"Container_changeLeaseHeaders",type:{name:"Composite",className:"ContainerChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};E.ContainerChangeLeaseExceptionHeaders={serializedName:"Container_changeLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerListBlobFlatSegmentHeaders={serializedName:"Container_listBlobFlatSegmentHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerListBlobFlatSegmentExceptionHeaders={serializedName:"Container_listBlobFlatSegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerListBlobHierarchySegmentHeaders={serializedName:"Container_listBlobHierarchySegmentHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerListBlobHierarchySegmentExceptionHeaders={serializedName:"Container_listBlobHierarchySegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerGetAccountInfoHeaders={serializedName:"Container_getAccountInfoHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}}}}};E.ContainerGetAccountInfoExceptionHeaders={serializedName:"Container_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobDownloadHeaders={serializedName:"Blob_downloadHeaders",type:{name:"Composite",className:"BlobDownloadHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",headerCollectionPrefix:"x-ms-or-",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}};E.BlobDownloadExceptionHeaders={serializedName:"Blob_downloadExceptionHeaders",type:{name:"Composite",className:"BlobDownloadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobGetPropertiesHeaders={serializedName:"Blob_getPropertiesHeaders",type:{name:"Composite",className:"BlobGetPropertiesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",headerCollectionPrefix:"x-ms-or-",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},isIncrementalCopy:{serializedName:"x-ms-incremental-copy",xmlName:"x-ms-incremental-copy",type:{name:"Boolean"}},destinationSnapshot:{serializedName:"x-ms-copy-destination-snapshot",xmlName:"x-ms-copy-destination-snapshot",type:{name:"String"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},accessTier:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"String"}},accessTierInferred:{serializedName:"x-ms-access-tier-inferred",xmlName:"x-ms-access-tier-inferred",type:{name:"Boolean"}},archiveStatus:{serializedName:"x-ms-archive-status",xmlName:"x-ms-archive-status",type:{name:"String"}},accessTierChangedOn:{serializedName:"x-ms-access-tier-change-time",xmlName:"x-ms-access-tier-change-time",type:{name:"DateTimeRfc1123"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},expiresOn:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},rehydratePriority:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobGetPropertiesExceptionHeaders={serializedName:"Blob_getPropertiesExceptionHeaders",type:{name:"Composite",className:"BlobGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobDeleteHeaders={serializedName:"Blob_deleteHeaders",type:{name:"Composite",className:"BlobDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobDeleteExceptionHeaders={serializedName:"Blob_deleteExceptionHeaders",type:{name:"Composite",className:"BlobDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobUndeleteHeaders={serializedName:"Blob_undeleteHeaders",type:{name:"Composite",className:"BlobUndeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobUndeleteExceptionHeaders={serializedName:"Blob_undeleteExceptionHeaders",type:{name:"Composite",className:"BlobUndeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobSetExpiryHeaders={serializedName:"Blob_setExpiryHeaders",type:{name:"Composite",className:"BlobSetExpiryHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};E.BlobSetExpiryExceptionHeaders={serializedName:"Blob_setExpiryExceptionHeaders",type:{name:"Composite",className:"BlobSetExpiryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobSetHttpHeadersHeaders={serializedName:"Blob_setHttpHeadersHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobSetHttpHeadersExceptionHeaders={serializedName:"Blob_setHttpHeadersExceptionHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobSetImmutabilityPolicyHeaders={serializedName:"Blob_setImmutabilityPolicyHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiry:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}}}};E.BlobSetImmutabilityPolicyExceptionHeaders={serializedName:"Blob_setImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobDeleteImmutabilityPolicyHeaders={serializedName:"Blob_deleteImmutabilityPolicyHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};E.BlobDeleteImmutabilityPolicyExceptionHeaders={serializedName:"Blob_deleteImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobSetLegalHoldHeaders={serializedName:"Blob_setLegalHoldHeaders",type:{name:"Composite",className:"BlobSetLegalHoldHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}}}};E.BlobSetLegalHoldExceptionHeaders={serializedName:"Blob_setLegalHoldExceptionHeaders",type:{name:"Composite",className:"BlobSetLegalHoldExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobSetMetadataHeaders={serializedName:"Blob_setMetadataHeaders",type:{name:"Composite",className:"BlobSetMetadataHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobSetMetadataExceptionHeaders={serializedName:"Blob_setMetadataExceptionHeaders",type:{name:"Composite",className:"BlobSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobAcquireLeaseHeaders={serializedName:"Blob_acquireLeaseHeaders",type:{name:"Composite",className:"BlobAcquireLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};E.BlobAcquireLeaseExceptionHeaders={serializedName:"Blob_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"BlobAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobReleaseLeaseHeaders={serializedName:"Blob_releaseLeaseHeaders",type:{name:"Composite",className:"BlobReleaseLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};E.BlobReleaseLeaseExceptionHeaders={serializedName:"Blob_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"BlobReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobRenewLeaseHeaders={serializedName:"Blob_renewLeaseHeaders",type:{name:"Composite",className:"BlobRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};E.BlobRenewLeaseExceptionHeaders={serializedName:"Blob_renewLeaseExceptionHeaders",type:{name:"Composite",className:"BlobRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobChangeLeaseHeaders={serializedName:"Blob_changeLeaseHeaders",type:{name:"Composite",className:"BlobChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};E.BlobChangeLeaseExceptionHeaders={serializedName:"Blob_changeLeaseExceptionHeaders",type:{name:"Composite",className:"BlobChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobBreakLeaseHeaders={serializedName:"Blob_breakLeaseHeaders",type:{name:"Composite",className:"BlobBreakLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseTime:{serializedName:"x-ms-lease-time",xmlName:"x-ms-lease-time",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};E.BlobBreakLeaseExceptionHeaders={serializedName:"Blob_breakLeaseExceptionHeaders",type:{name:"Composite",className:"BlobBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobCreateSnapshotHeaders={serializedName:"Blob_createSnapshotHeaders",type:{name:"Composite",className:"BlobCreateSnapshotHeaders",modelProperties:{snapshot:{serializedName:"x-ms-snapshot",xmlName:"x-ms-snapshot",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobCreateSnapshotExceptionHeaders={serializedName:"Blob_createSnapshotExceptionHeaders",type:{name:"Composite",className:"BlobCreateSnapshotExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobStartCopyFromURLHeaders={serializedName:"Blob_startCopyFromURLHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobStartCopyFromURLExceptionHeaders={serializedName:"Blob_startCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};E.BlobCopyFromURLHeaders={serializedName:"Blob_copyFromURLHeaders",type:{name:"Composite",className:"BlobCopyFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{defaultValue:"success",isConstant:!0,serializedName:"x-ms-copy-status",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobCopyFromURLExceptionHeaders={serializedName:"Blob_copyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};E.BlobAbortCopyFromURLHeaders={serializedName:"Blob_abortCopyFromURLHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobAbortCopyFromURLExceptionHeaders={serializedName:"Blob_abortCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobSetTierHeaders={serializedName:"Blob_setTierHeaders",type:{name:"Composite",className:"BlobSetTierHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobSetTierExceptionHeaders={serializedName:"Blob_setTierExceptionHeaders",type:{name:"Composite",className:"BlobSetTierExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobGetAccountInfoHeaders={serializedName:"Blob_getAccountInfoHeaders",type:{name:"Composite",className:"BlobGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}}}}};E.BlobGetAccountInfoExceptionHeaders={serializedName:"Blob_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"BlobGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobQueryHeaders={serializedName:"Blob_queryHeaders",type:{name:"Composite",className:"BlobQueryHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletionTime:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}};E.BlobQueryExceptionHeaders={serializedName:"Blob_queryExceptionHeaders",type:{name:"Composite",className:"BlobQueryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobGetTagsHeaders={serializedName:"Blob_getTagsHeaders",type:{name:"Composite",className:"BlobGetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobGetTagsExceptionHeaders={serializedName:"Blob_getTagsExceptionHeaders",type:{name:"Composite",className:"BlobGetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobSetTagsHeaders={serializedName:"Blob_setTagsHeaders",type:{name:"Composite",className:"BlobSetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobSetTagsExceptionHeaders={serializedName:"Blob_setTagsExceptionHeaders",type:{name:"Composite",className:"BlobSetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobCreateHeaders={serializedName:"PageBlob_createHeaders",type:{name:"Composite",className:"PageBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobCreateExceptionHeaders={serializedName:"PageBlob_createExceptionHeaders",type:{name:"Composite",className:"PageBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobUploadPagesHeaders={serializedName:"PageBlob_uploadPagesHeaders",type:{name:"Composite",className:"PageBlobUploadPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobUploadPagesExceptionHeaders={serializedName:"PageBlob_uploadPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobClearPagesHeaders={serializedName:"PageBlob_clearPagesHeaders",type:{name:"Composite",className:"PageBlobClearPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobClearPagesExceptionHeaders={serializedName:"PageBlob_clearPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobClearPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobUploadPagesFromURLHeaders={serializedName:"PageBlob_uploadPagesFromURLHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobUploadPagesFromURLExceptionHeaders={serializedName:"PageBlob_uploadPagesFromURLExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};E.PageBlobGetPageRangesHeaders={serializedName:"PageBlob_getPageRangesHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobGetPageRangesExceptionHeaders={serializedName:"PageBlob_getPageRangesExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobGetPageRangesDiffHeaders={serializedName:"PageBlob_getPageRangesDiffHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobGetPageRangesDiffExceptionHeaders={serializedName:"PageBlob_getPageRangesDiffExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobResizeHeaders={serializedName:"PageBlob_resizeHeaders",type:{name:"Composite",className:"PageBlobResizeHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobResizeExceptionHeaders={serializedName:"PageBlob_resizeExceptionHeaders",type:{name:"Composite",className:"PageBlobResizeExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobUpdateSequenceNumberHeaders={serializedName:"PageBlob_updateSequenceNumberHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobUpdateSequenceNumberExceptionHeaders={serializedName:"PageBlob_updateSequenceNumberExceptionHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobCopyIncrementalHeaders={serializedName:"PageBlob_copyIncrementalHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobCopyIncrementalExceptionHeaders={serializedName:"PageBlob_copyIncrementalExceptionHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.AppendBlobCreateHeaders={serializedName:"AppendBlob_createHeaders",type:{name:"Composite",className:"AppendBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.AppendBlobCreateExceptionHeaders={serializedName:"AppendBlob_createExceptionHeaders",type:{name:"Composite",className:"AppendBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.AppendBlobAppendBlockHeaders={serializedName:"AppendBlob_appendBlockHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.AppendBlobAppendBlockExceptionHeaders={serializedName:"AppendBlob_appendBlockExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.AppendBlobAppendBlockFromUrlHeaders={serializedName:"AppendBlob_appendBlockFromUrlHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.AppendBlobAppendBlockFromUrlExceptionHeaders={serializedName:"AppendBlob_appendBlockFromUrlExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};E.AppendBlobSealHeaders={serializedName:"AppendBlob_sealHeaders",type:{name:"Composite",className:"AppendBlobSealHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}}}}};E.AppendBlobSealExceptionHeaders={serializedName:"AppendBlob_sealExceptionHeaders",type:{name:"Composite",className:"AppendBlobSealExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlockBlobUploadHeaders={serializedName:"BlockBlob_uploadHeaders",type:{name:"Composite",className:"BlockBlobUploadHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlockBlobUploadExceptionHeaders={serializedName:"BlockBlob_uploadExceptionHeaders",type:{name:"Composite",className:"BlockBlobUploadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlockBlobPutBlobFromUrlHeaders={serializedName:"BlockBlob_putBlobFromUrlHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlockBlobPutBlobFromUrlExceptionHeaders={serializedName:"BlockBlob_putBlobFromUrlExceptionHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};E.BlockBlobStageBlockHeaders={serializedName:"BlockBlob_stageBlockHeaders",type:{name:"Composite",className:"BlockBlobStageBlockHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlockBlobStageBlockExceptionHeaders={serializedName:"BlockBlob_stageBlockExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlockBlobStageBlockFromURLHeaders={serializedName:"BlockBlob_stageBlockFromURLHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlockBlobStageBlockFromURLExceptionHeaders={serializedName:"BlockBlob_stageBlockFromURLExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};E.BlockBlobCommitBlockListHeaders={serializedName:"BlockBlob_commitBlockListHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlockBlobCommitBlockListExceptionHeaders={serializedName:"BlockBlob_commitBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlockBlobGetBlockListHeaders={serializedName:"BlockBlob_getBlockListHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlockBlobGetBlockListExceptionHeaders={serializedName:"BlockBlob_getBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}}});var na=g(I=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});I.action3=I.action2=I.leaseId1=I.action1=I.proposedLeaseId=I.duration=I.action=I.comp10=I.sourceLeaseId=I.sourceContainerName=I.comp9=I.deletedContainerVersion=I.deletedContainerName=I.comp8=I.containerAcl=I.comp7=I.comp6=I.ifUnmodifiedSince=I.ifModifiedSince=I.leaseId=I.preventEncryptionScopeOverride=I.defaultEncryptionScope=I.access=I.metadata=I.restype2=I.where=I.comp5=I.multipartContentType=I.contentLength=I.comp4=I.body=I.restype1=I.comp3=I.keyInfo=I.include=I.maxPageSize=I.marker=I.prefix=I.comp2=I.comp1=I.accept1=I.requestId=I.version=I.timeoutInSeconds=I.comp=I.restype=I.url=I.accept=I.blobServiceProperties=I.contentType=void 0;I.copySourceTags=I.copySourceAuthorization=I.sourceContentMD5=I.xMsRequiresSync=I.legalHold1=I.sealBlob=I.blobTagsString=I.copySource=I.sourceIfTags=I.sourceIfNoneMatch=I.sourceIfMatch=I.sourceIfUnmodifiedSince=I.sourceIfModifiedSince=I.rehydratePriority=I.tier=I.comp14=I.encryptionScope=I.legalHold=I.comp13=I.immutabilityPolicyMode=I.immutabilityPolicyExpiry=I.comp12=I.blobContentDisposition=I.blobContentLanguage=I.blobContentEncoding=I.blobContentMD5=I.blobContentType=I.blobCacheControl=I.expiresOn=I.expiryOptions=I.comp11=I.blobDeleteType=I.deleteSnapshots=I.ifTags=I.ifNoneMatch=I.ifMatch=I.encryptionAlgorithm=I.encryptionKeySha256=I.encryptionKey=I.rangeGetContentCRC64=I.rangeGetContentMD5=I.range=I.versionId=I.snapshot=I.delimiter=I.startFrom=I.include1=I.proposedLeaseId1=I.action4=I.breakPeriod=void 0;I.listType=I.comp25=I.blocks=I.blockId=I.comp24=I.copySourceBlobProperties=I.blobType2=I.comp23=I.sourceRange1=I.appendPosition=I.maxSize=I.comp22=I.blobType1=I.comp21=I.sequenceNumberAction=I.prevSnapshotUrl=I.prevsnapshot=I.comp20=I.range1=I.sourceContentCrc64=I.sourceRange=I.sourceUrl=I.pageWrite1=I.ifSequenceNumberEqualTo=I.ifSequenceNumberLessThan=I.ifSequenceNumberLessThanOrEqualTo=I.pageWrite=I.comp19=I.accept2=I.body1=I.contentType1=I.blobSequenceNumber=I.blobContentLength=I.blobType=I.transactionalContentCrc64=I.transactionalContentMD5=I.tags=I.ifNoneMatch1=I.ifMatch1=I.ifUnmodifiedSince1=I.ifModifiedSince1=I.comp18=I.comp17=I.queryRequest=I.tier1=I.comp16=I.copyId=I.copyActionAbortConstant=I.comp15=I.fileRequestIntent=void 0;var Vu=ro();I.contentType={parameterPath:["options","contentType"],mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}};I.blobServiceProperties={parameterPath:"blobServiceProperties",mapper:Vu.BlobServiceProperties};I.accept={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}};I.url={parameterPath:"url",mapper:{serializedName:"url",required:!0,xmlName:"url",type:{name:"String"}},skipEncoding:!0};I.restype={parameterPath:"restype",mapper:{defaultValue:"service",isConstant:!0,serializedName:"restype",type:{name:"String"}}};I.comp={parameterPath:"comp",mapper:{defaultValue:"properties",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.timeoutInSeconds={parameterPath:["options","timeoutInSeconds"],mapper:{constraints:{InclusiveMinimum:0},serializedName:"timeout",xmlName:"timeout",type:{name:"Number"}}};I.version={parameterPath:"version",mapper:{defaultValue:"2026-02-06",isConstant:!0,serializedName:"x-ms-version",type:{name:"String"}}};I.requestId={parameterPath:["options","requestId"],mapper:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}}};I.accept1={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}};I.comp1={parameterPath:"comp",mapper:{defaultValue:"stats",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.comp2={parameterPath:"comp",mapper:{defaultValue:"list",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.prefix={parameterPath:["options","prefix"],mapper:{serializedName:"prefix",xmlName:"prefix",type:{name:"String"}}};I.marker={parameterPath:["options","marker"],mapper:{serializedName:"marker",xmlName:"marker",type:{name:"String"}}};I.maxPageSize={parameterPath:["options","maxPageSize"],mapper:{constraints:{InclusiveMinimum:1},serializedName:"maxresults",xmlName:"maxresults",type:{name:"Number"}}};I.include={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListContainersIncludeType",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["metadata","deleted","system"]}}}},collectionFormat:"CSV"};I.keyInfo={parameterPath:"keyInfo",mapper:Vu.KeyInfo};I.comp3={parameterPath:"comp",mapper:{defaultValue:"userdelegationkey",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.restype1={parameterPath:"restype",mapper:{defaultValue:"account",isConstant:!0,serializedName:"restype",type:{name:"String"}}};I.body={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}};I.comp4={parameterPath:"comp",mapper:{defaultValue:"batch",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.contentLength={parameterPath:"contentLength",mapper:{serializedName:"Content-Length",required:!0,xmlName:"Content-Length",type:{name:"Number"}}};I.multipartContentType={parameterPath:"multipartContentType",mapper:{serializedName:"Content-Type",required:!0,xmlName:"Content-Type",type:{name:"String"}}};I.comp5={parameterPath:"comp",mapper:{defaultValue:"blobs",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.where={parameterPath:["options","where"],mapper:{serializedName:"where",xmlName:"where",type:{name:"String"}}};I.restype2={parameterPath:"restype",mapper:{defaultValue:"container",isConstant:!0,serializedName:"restype",type:{name:"String"}}};I.metadata={parameterPath:["options","metadata"],mapper:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",type:{name:"Dictionary",value:{type:{name:"String"}}}}};I.access={parameterPath:["options","access"],mapper:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}}};I.defaultEncryptionScope={parameterPath:["options","containerEncryptionScope","defaultEncryptionScope"],mapper:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}}};I.preventEncryptionScopeOverride={parameterPath:["options","containerEncryptionScope","preventEncryptionScopeOverride"],mapper:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}}};I.leaseId={parameterPath:["options","leaseAccessConditions","leaseId"],mapper:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}}};I.ifModifiedSince={parameterPath:["options","modifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"If-Modified-Since",xmlName:"If-Modified-Since",type:{name:"DateTimeRfc1123"}}};I.ifUnmodifiedSince={parameterPath:["options","modifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"If-Unmodified-Since",xmlName:"If-Unmodified-Since",type:{name:"DateTimeRfc1123"}}};I.comp6={parameterPath:"comp",mapper:{defaultValue:"metadata",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.comp7={parameterPath:"comp",mapper:{defaultValue:"acl",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.containerAcl={parameterPath:["options","containerAcl"],mapper:{serializedName:"containerAcl",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier",type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}}}};I.comp8={parameterPath:"comp",mapper:{defaultValue:"undelete",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.deletedContainerName={parameterPath:["options","deletedContainerName"],mapper:{serializedName:"x-ms-deleted-container-name",xmlName:"x-ms-deleted-container-name",type:{name:"String"}}};I.deletedContainerVersion={parameterPath:["options","deletedContainerVersion"],mapper:{serializedName:"x-ms-deleted-container-version",xmlName:"x-ms-deleted-container-version",type:{name:"String"}}};I.comp9={parameterPath:"comp",mapper:{defaultValue:"rename",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.sourceContainerName={parameterPath:"sourceContainerName",mapper:{serializedName:"x-ms-source-container-name",required:!0,xmlName:"x-ms-source-container-name",type:{name:"String"}}};I.sourceLeaseId={parameterPath:["options","sourceLeaseId"],mapper:{serializedName:"x-ms-source-lease-id",xmlName:"x-ms-source-lease-id",type:{name:"String"}}};I.comp10={parameterPath:"comp",mapper:{defaultValue:"lease",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.action={parameterPath:"action",mapper:{defaultValue:"acquire",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}};I.duration={parameterPath:["options","duration"],mapper:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Number"}}};I.proposedLeaseId={parameterPath:["options","proposedLeaseId"],mapper:{serializedName:"x-ms-proposed-lease-id",xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}};I.action1={parameterPath:"action",mapper:{defaultValue:"release",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}};I.leaseId1={parameterPath:"leaseId",mapper:{serializedName:"x-ms-lease-id",required:!0,xmlName:"x-ms-lease-id",type:{name:"String"}}};I.action2={parameterPath:"action",mapper:{defaultValue:"renew",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}};I.action3={parameterPath:"action",mapper:{defaultValue:"break",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}};I.breakPeriod={parameterPath:["options","breakPeriod"],mapper:{serializedName:"x-ms-lease-break-period",xmlName:"x-ms-lease-break-period",type:{name:"Number"}}};I.action4={parameterPath:"action",mapper:{defaultValue:"change",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}};I.proposedLeaseId1={parameterPath:"proposedLeaseId",mapper:{serializedName:"x-ms-proposed-lease-id",required:!0,xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}};I.include1={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListBlobsIncludeItem",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["copy","deleted","metadata","snapshots","uncommittedblobs","versions","tags","immutabilitypolicy","legalhold","deletedwithversions"]}}}},collectionFormat:"CSV"};I.startFrom={parameterPath:["options","startFrom"],mapper:{serializedName:"startFrom",xmlName:"startFrom",type:{name:"String"}}};I.delimiter={parameterPath:"delimiter",mapper:{serializedName:"delimiter",required:!0,xmlName:"delimiter",type:{name:"String"}}};I.snapshot={parameterPath:["options","snapshot"],mapper:{serializedName:"snapshot",xmlName:"snapshot",type:{name:"String"}}};I.versionId={parameterPath:["options","versionId"],mapper:{serializedName:"versionid",xmlName:"versionid",type:{name:"String"}}};I.range={parameterPath:["options","range"],mapper:{serializedName:"x-ms-range",xmlName:"x-ms-range",type:{name:"String"}}};I.rangeGetContentMD5={parameterPath:["options","rangeGetContentMD5"],mapper:{serializedName:"x-ms-range-get-content-md5",xmlName:"x-ms-range-get-content-md5",type:{name:"Boolean"}}};I.rangeGetContentCRC64={parameterPath:["options","rangeGetContentCRC64"],mapper:{serializedName:"x-ms-range-get-content-crc64",xmlName:"x-ms-range-get-content-crc64",type:{name:"Boolean"}}};I.encryptionKey={parameterPath:["options","cpkInfo","encryptionKey"],mapper:{serializedName:"x-ms-encryption-key",xmlName:"x-ms-encryption-key",type:{name:"String"}}};I.encryptionKeySha256={parameterPath:["options","cpkInfo","encryptionKeySha256"],mapper:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}}};I.encryptionAlgorithm={parameterPath:["options","cpkInfo","encryptionAlgorithm"],mapper:{serializedName:"x-ms-encryption-algorithm",xmlName:"x-ms-encryption-algorithm",type:{name:"String"}}};I.ifMatch={parameterPath:["options","modifiedAccessConditions","ifMatch"],mapper:{serializedName:"If-Match",xmlName:"If-Match",type:{name:"String"}}};I.ifNoneMatch={parameterPath:["options","modifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"If-None-Match",xmlName:"If-None-Match",type:{name:"String"}}};I.ifTags={parameterPath:["options","modifiedAccessConditions","ifTags"],mapper:{serializedName:"x-ms-if-tags",xmlName:"x-ms-if-tags",type:{name:"String"}}};I.deleteSnapshots={parameterPath:["options","deleteSnapshots"],mapper:{serializedName:"x-ms-delete-snapshots",xmlName:"x-ms-delete-snapshots",type:{name:"Enum",allowedValues:["include","only"]}}};I.blobDeleteType={parameterPath:["options","blobDeleteType"],mapper:{serializedName:"deletetype",xmlName:"deletetype",type:{name:"String"}}};I.comp11={parameterPath:"comp",mapper:{defaultValue:"expiry",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.expiryOptions={parameterPath:"expiryOptions",mapper:{serializedName:"x-ms-expiry-option",required:!0,xmlName:"x-ms-expiry-option",type:{name:"String"}}};I.expiresOn={parameterPath:["options","expiresOn"],mapper:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"String"}}};I.blobCacheControl={parameterPath:["options","blobHttpHeaders","blobCacheControl"],mapper:{serializedName:"x-ms-blob-cache-control",xmlName:"x-ms-blob-cache-control",type:{name:"String"}}};I.blobContentType={parameterPath:["options","blobHttpHeaders","blobContentType"],mapper:{serializedName:"x-ms-blob-content-type",xmlName:"x-ms-blob-content-type",type:{name:"String"}}};I.blobContentMD5={parameterPath:["options","blobHttpHeaders","blobContentMD5"],mapper:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}}};I.blobContentEncoding={parameterPath:["options","blobHttpHeaders","blobContentEncoding"],mapper:{serializedName:"x-ms-blob-content-encoding",xmlName:"x-ms-blob-content-encoding",type:{name:"String"}}};I.blobContentLanguage={parameterPath:["options","blobHttpHeaders","blobContentLanguage"],mapper:{serializedName:"x-ms-blob-content-language",xmlName:"x-ms-blob-content-language",type:{name:"String"}}};I.blobContentDisposition={parameterPath:["options","blobHttpHeaders","blobContentDisposition"],mapper:{serializedName:"x-ms-blob-content-disposition",xmlName:"x-ms-blob-content-disposition",type:{name:"String"}}};I.comp12={parameterPath:"comp",mapper:{defaultValue:"immutabilityPolicies",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.immutabilityPolicyExpiry={parameterPath:["options","immutabilityPolicyExpiry"],mapper:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}}};I.immutabilityPolicyMode={parameterPath:["options","immutabilityPolicyMode"],mapper:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}};I.comp13={parameterPath:"comp",mapper:{defaultValue:"legalhold",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.legalHold={parameterPath:"legalHold",mapper:{serializedName:"x-ms-legal-hold",required:!0,xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}};I.encryptionScope={parameterPath:["options","encryptionScope"],mapper:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}}};I.comp14={parameterPath:"comp",mapper:{defaultValue:"snapshot",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.tier={parameterPath:["options","tier"],mapper:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold"]}}};I.rehydratePriority={parameterPath:["options","rehydratePriority"],mapper:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}}};I.sourceIfModifiedSince={parameterPath:["options","sourceModifiedAccessConditions","sourceIfModifiedSince"],mapper:{serializedName:"x-ms-source-if-modified-since",xmlName:"x-ms-source-if-modified-since",type:{name:"DateTimeRfc1123"}}};I.sourceIfUnmodifiedSince={parameterPath:["options","sourceModifiedAccessConditions","sourceIfUnmodifiedSince"],mapper:{serializedName:"x-ms-source-if-unmodified-since",xmlName:"x-ms-source-if-unmodified-since",type:{name:"DateTimeRfc1123"}}};I.sourceIfMatch={parameterPath:["options","sourceModifiedAccessConditions","sourceIfMatch"],mapper:{serializedName:"x-ms-source-if-match",xmlName:"x-ms-source-if-match",type:{name:"String"}}};I.sourceIfNoneMatch={parameterPath:["options","sourceModifiedAccessConditions","sourceIfNoneMatch"],mapper:{serializedName:"x-ms-source-if-none-match",xmlName:"x-ms-source-if-none-match",type:{name:"String"}}};I.sourceIfTags={parameterPath:["options","sourceModifiedAccessConditions","sourceIfTags"],mapper:{serializedName:"x-ms-source-if-tags",xmlName:"x-ms-source-if-tags",type:{name:"String"}}};I.copySource={parameterPath:"copySource",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}};I.blobTagsString={parameterPath:["options","blobTagsString"],mapper:{serializedName:"x-ms-tags",xmlName:"x-ms-tags",type:{name:"String"}}};I.sealBlob={parameterPath:["options","sealBlob"],mapper:{serializedName:"x-ms-seal-blob",xmlName:"x-ms-seal-blob",type:{name:"Boolean"}}};I.legalHold1={parameterPath:["options","legalHold"],mapper:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}};I.xMsRequiresSync={parameterPath:"xMsRequiresSync",mapper:{defaultValue:"true",isConstant:!0,serializedName:"x-ms-requires-sync",type:{name:"String"}}};I.sourceContentMD5={parameterPath:["options","sourceContentMD5"],mapper:{serializedName:"x-ms-source-content-md5",xmlName:"x-ms-source-content-md5",type:{name:"ByteArray"}}};I.copySourceAuthorization={parameterPath:["options","copySourceAuthorization"],mapper:{serializedName:"x-ms-copy-source-authorization",xmlName:"x-ms-copy-source-authorization",type:{name:"String"}}};I.copySourceTags={parameterPath:["options","copySourceTags"],mapper:{serializedName:"x-ms-copy-source-tag-option",xmlName:"x-ms-copy-source-tag-option",type:{name:"Enum",allowedValues:["REPLACE","COPY"]}}};I.fileRequestIntent={parameterPath:["options","fileRequestIntent"],mapper:{serializedName:"x-ms-file-request-intent",xmlName:"x-ms-file-request-intent",type:{name:"String"}}};I.comp15={parameterPath:"comp",mapper:{defaultValue:"copy",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.copyActionAbortConstant={parameterPath:"copyActionAbortConstant",mapper:{defaultValue:"abort",isConstant:!0,serializedName:"x-ms-copy-action",type:{name:"String"}}};I.copyId={parameterPath:"copyId",mapper:{serializedName:"copyid",required:!0,xmlName:"copyid",type:{name:"String"}}};I.comp16={parameterPath:"comp",mapper:{defaultValue:"tier",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.tier1={parameterPath:"tier",mapper:{serializedName:"x-ms-access-tier",required:!0,xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold"]}}};I.queryRequest={parameterPath:["options","queryRequest"],mapper:Vu.QueryRequest};I.comp17={parameterPath:"comp",mapper:{defaultValue:"query",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.comp18={parameterPath:"comp",mapper:{defaultValue:"tags",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.ifModifiedSince1={parameterPath:["options","blobModifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"x-ms-blob-if-modified-since",xmlName:"x-ms-blob-if-modified-since",type:{name:"DateTimeRfc1123"}}};I.ifUnmodifiedSince1={parameterPath:["options","blobModifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"x-ms-blob-if-unmodified-since",xmlName:"x-ms-blob-if-unmodified-since",type:{name:"DateTimeRfc1123"}}};I.ifMatch1={parameterPath:["options","blobModifiedAccessConditions","ifMatch"],mapper:{serializedName:"x-ms-blob-if-match",xmlName:"x-ms-blob-if-match",type:{name:"String"}}};I.ifNoneMatch1={parameterPath:["options","blobModifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"x-ms-blob-if-none-match",xmlName:"x-ms-blob-if-none-match",type:{name:"String"}}};I.tags={parameterPath:["options","tags"],mapper:Vu.BlobTags};I.transactionalContentMD5={parameterPath:["options","transactionalContentMD5"],mapper:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}}};I.transactionalContentCrc64={parameterPath:["options","transactionalContentCrc64"],mapper:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}};I.blobType={parameterPath:"blobType",mapper:{defaultValue:"PageBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}};I.blobContentLength={parameterPath:"blobContentLength",mapper:{serializedName:"x-ms-blob-content-length",required:!0,xmlName:"x-ms-blob-content-length",type:{name:"Number"}}};I.blobSequenceNumber={parameterPath:["options","blobSequenceNumber"],mapper:{defaultValue:0,serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}}};I.contentType1={parameterPath:["options","contentType"],mapper:{defaultValue:"application/octet-stream",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}};I.body1={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}};I.accept2={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}};I.comp19={parameterPath:"comp",mapper:{defaultValue:"page",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.pageWrite={parameterPath:"pageWrite",mapper:{defaultValue:"update",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}};I.ifSequenceNumberLessThanOrEqualTo={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThanOrEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-le",xmlName:"x-ms-if-sequence-number-le",type:{name:"Number"}}};I.ifSequenceNumberLessThan={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThan"],mapper:{serializedName:"x-ms-if-sequence-number-lt",xmlName:"x-ms-if-sequence-number-lt",type:{name:"Number"}}};I.ifSequenceNumberEqualTo={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-eq",xmlName:"x-ms-if-sequence-number-eq",type:{name:"Number"}}};I.pageWrite1={parameterPath:"pageWrite",mapper:{defaultValue:"clear",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}};I.sourceUrl={parameterPath:"sourceUrl",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}};I.sourceRange={parameterPath:"sourceRange",mapper:{serializedName:"x-ms-source-range",required:!0,xmlName:"x-ms-source-range",type:{name:"String"}}};I.sourceContentCrc64={parameterPath:["options","sourceContentCrc64"],mapper:{serializedName:"x-ms-source-content-crc64",xmlName:"x-ms-source-content-crc64",type:{name:"ByteArray"}}};I.range1={parameterPath:"range",mapper:{serializedName:"x-ms-range",required:!0,xmlName:"x-ms-range",type:{name:"String"}}};I.comp20={parameterPath:"comp",mapper:{defaultValue:"pagelist",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.prevsnapshot={parameterPath:["options","prevsnapshot"],mapper:{serializedName:"prevsnapshot",xmlName:"prevsnapshot",type:{name:"String"}}};I.prevSnapshotUrl={parameterPath:["options","prevSnapshotUrl"],mapper:{serializedName:"x-ms-previous-snapshot-url",xmlName:"x-ms-previous-snapshot-url",type:{name:"String"}}};I.sequenceNumberAction={parameterPath:"sequenceNumberAction",mapper:{serializedName:"x-ms-sequence-number-action",required:!0,xmlName:"x-ms-sequence-number-action",type:{name:"Enum",allowedValues:["max","update","increment"]}}};I.comp21={parameterPath:"comp",mapper:{defaultValue:"incrementalcopy",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.blobType1={parameterPath:"blobType",mapper:{defaultValue:"AppendBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}};I.comp22={parameterPath:"comp",mapper:{defaultValue:"appendblock",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.maxSize={parameterPath:["options","appendPositionAccessConditions","maxSize"],mapper:{serializedName:"x-ms-blob-condition-maxsize",xmlName:"x-ms-blob-condition-maxsize",type:{name:"Number"}}};I.appendPosition={parameterPath:["options","appendPositionAccessConditions","appendPosition"],mapper:{serializedName:"x-ms-blob-condition-appendpos",xmlName:"x-ms-blob-condition-appendpos",type:{name:"Number"}}};I.sourceRange1={parameterPath:["options","sourceRange"],mapper:{serializedName:"x-ms-source-range",xmlName:"x-ms-source-range",type:{name:"String"}}};I.comp23={parameterPath:"comp",mapper:{defaultValue:"seal",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.blobType2={parameterPath:"blobType",mapper:{defaultValue:"BlockBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}};I.copySourceBlobProperties={parameterPath:["options","copySourceBlobProperties"],mapper:{serializedName:"x-ms-copy-source-blob-properties",xmlName:"x-ms-copy-source-blob-properties",type:{name:"Boolean"}}};I.comp24={parameterPath:"comp",mapper:{defaultValue:"block",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.blockId={parameterPath:"blockId",mapper:{serializedName:"blockid",required:!0,xmlName:"blockid",type:{name:"String"}}};I.blocks={parameterPath:"blocks",mapper:Vu.BlockLookupList};I.comp25={parameterPath:"comp",mapper:{defaultValue:"blocklist",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.listType={parameterPath:"listType",mapper:{defaultValue:"committed",serializedName:"blocklisttype",required:!0,xmlName:"blocklisttype",type:{name:"Enum",allowedValues:["committed","uncommitted","all"]}}}});var z$=g(Gm=>{"use strict";Object.defineProperty(Gm,"__esModule",{value:!0});Gm.ServiceImpl=void 0;var Nx=(Xr(),Zt(Kr)),XDe=Nx.__importStar(Ni()),Fe=Nx.__importStar(ro()),J=Nx.__importStar(na()),wx=class{static{o(this,"ServiceImpl")}client;constructor(e){this.client=e}setProperties(e,r){return this.client.sendOperationRequest({blobServiceProperties:e,options:r},ZDe)}getProperties(e){return this.client.sendOperationRequest({options:e},eTe)}getStatistics(e){return this.client.sendOperationRequest({options:e},tTe)}listContainersSegment(e){return this.client.sendOperationRequest({options:e},rTe)}getUserDelegationKey(e,r){return this.client.sendOperationRequest({keyInfo:e,options:r},nTe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},iTe)}submitBatch(e,r,n,i){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:n,options:i},sTe)}filterBlobs(e){return this.client.sendOperationRequest({options:e},oTe)}};Gm.ServiceImpl=wx;var no=XDe.createSerializer(Fe,!0),ZDe={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:Fe.ServiceSetPropertiesHeaders},default:{bodyMapper:Fe.StorageError,headersMapper:Fe.ServiceSetPropertiesExceptionHeaders}},requestBody:J.blobServiceProperties,queryParameters:[J.restype,J.comp,J.timeoutInSeconds],urlParameters:[J.url],headerParameters:[J.contentType,J.accept,J.version,J.requestId],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:no},eTe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Fe.BlobServiceProperties,headersMapper:Fe.ServiceGetPropertiesHeaders},default:{bodyMapper:Fe.StorageError,headersMapper:Fe.ServiceGetPropertiesExceptionHeaders}},queryParameters:[J.restype,J.comp,J.timeoutInSeconds],urlParameters:[J.url],headerParameters:[J.version,J.requestId,J.accept1],isXML:!0,serializer:no},tTe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Fe.BlobServiceStatistics,headersMapper:Fe.ServiceGetStatisticsHeaders},default:{bodyMapper:Fe.StorageError,headersMapper:Fe.ServiceGetStatisticsExceptionHeaders}},queryParameters:[J.restype,J.timeoutInSeconds,J.comp1],urlParameters:[J.url],headerParameters:[J.version,J.requestId,J.accept1],isXML:!0,serializer:no},rTe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Fe.ListContainersSegmentResponse,headersMapper:Fe.ServiceListContainersSegmentHeaders},default:{bodyMapper:Fe.StorageError,headersMapper:Fe.ServiceListContainersSegmentExceptionHeaders}},queryParameters:[J.timeoutInSeconds,J.comp2,J.prefix,J.marker,J.maxPageSize,J.include],urlParameters:[J.url],headerParameters:[J.version,J.requestId,J.accept1],isXML:!0,serializer:no},nTe={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:Fe.UserDelegationKey,headersMapper:Fe.ServiceGetUserDelegationKeyHeaders},default:{bodyMapper:Fe.StorageError,headersMapper:Fe.ServiceGetUserDelegationKeyExceptionHeaders}},requestBody:J.keyInfo,queryParameters:[J.restype,J.timeoutInSeconds,J.comp3],urlParameters:[J.url],headerParameters:[J.contentType,J.accept,J.version,J.requestId],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:no},iTe={path:"/",httpMethod:"GET",responses:{200:{headersMapper:Fe.ServiceGetAccountInfoHeaders},default:{bodyMapper:Fe.StorageError,headersMapper:Fe.ServiceGetAccountInfoExceptionHeaders}},queryParameters:[J.comp,J.timeoutInSeconds,J.restype1],urlParameters:[J.url],headerParameters:[J.version,J.requestId,J.accept1],isXML:!0,serializer:no},sTe={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Fe.ServiceSubmitBatchHeaders},default:{bodyMapper:Fe.StorageError,headersMapper:Fe.ServiceSubmitBatchExceptionHeaders}},requestBody:J.body,queryParameters:[J.timeoutInSeconds,J.comp4],urlParameters:[J.url],headerParameters:[J.accept,J.version,J.requestId,J.contentLength,J.multipartContentType],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:no},oTe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Fe.FilterBlobSegment,headersMapper:Fe.ServiceFilterBlobsHeaders},default:{bodyMapper:Fe.StorageError,headersMapper:Fe.ServiceFilterBlobsExceptionHeaders}},queryParameters:[J.timeoutInSeconds,J.marker,J.maxPageSize,J.comp5,J.where],urlParameters:[J.url],headerParameters:[J.version,J.requestId,J.accept1],isXML:!0,serializer:no}});var j$=g(Ym=>{"use strict";Object.defineProperty(Ym,"__esModule",{value:!0});Ym.ContainerImpl=void 0;var Sx=(Xr(),Zt(Kr)),aTe=Sx.__importStar(Ni()),K=Sx.__importStar(ro()),P=Sx.__importStar(na()),xx=class{static{o(this,"ContainerImpl")}client;constructor(e){this.client=e}create(e){return this.client.sendOperationRequest({options:e},cTe)}getProperties(e){return this.client.sendOperationRequest({options:e},lTe)}delete(e){return this.client.sendOperationRequest({options:e},ATe)}setMetadata(e){return this.client.sendOperationRequest({options:e},uTe)}getAccessPolicy(e){return this.client.sendOperationRequest({options:e},dTe)}setAccessPolicy(e){return this.client.sendOperationRequest({options:e},pTe)}restore(e){return this.client.sendOperationRequest({options:e},hTe)}rename(e,r){return this.client.sendOperationRequest({sourceContainerName:e,options:r},fTe)}submitBatch(e,r,n,i){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:n,options:i},mTe)}filterBlobs(e){return this.client.sendOperationRequest({options:e},gTe)}acquireLease(e){return this.client.sendOperationRequest({options:e},yTe)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},CTe)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},ETe)}breakLease(e){return this.client.sendOperationRequest({options:e},BTe)}changeLease(e,r,n){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:n},ITe)}listBlobFlatSegment(e){return this.client.sendOperationRequest({options:e},bTe)}listBlobHierarchySegment(e,r){return this.client.sendOperationRequest({delimiter:e,options:r},QTe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},wTe)}};Ym.ContainerImpl=xx;var Gt=aTe.createSerializer(K,!0),cTe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:K.ContainerCreateHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerCreateExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.restype2],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.metadata,P.access,P.defaultEncryptionScope,P.preventEncryptionScopeOverride],isXML:!0,serializer:Gt},lTe={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:K.ContainerGetPropertiesHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerGetPropertiesExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.restype2],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.leaseId],isXML:!0,serializer:Gt},ATe={path:"/{containerName}",httpMethod:"DELETE",responses:{202:{headersMapper:K.ContainerDeleteHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerDeleteExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.restype2],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.leaseId,P.ifModifiedSince,P.ifUnmodifiedSince],isXML:!0,serializer:Gt},uTe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:K.ContainerSetMetadataHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerSetMetadataExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.restype2,P.comp6],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.metadata,P.leaseId,P.ifModifiedSince],isXML:!0,serializer:Gt},dTe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}},serializedName:"SignedIdentifiers",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier"},headersMapper:K.ContainerGetAccessPolicyHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerGetAccessPolicyExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.restype2,P.comp7],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.leaseId],isXML:!0,serializer:Gt},pTe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:K.ContainerSetAccessPolicyHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerSetAccessPolicyExceptionHeaders}},requestBody:P.containerAcl,queryParameters:[P.timeoutInSeconds,P.restype2,P.comp7],urlParameters:[P.url],headerParameters:[P.contentType,P.accept,P.version,P.requestId,P.access,P.leaseId,P.ifModifiedSince,P.ifUnmodifiedSince],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Gt},hTe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:K.ContainerRestoreHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerRestoreExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.restype2,P.comp8],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.deletedContainerName,P.deletedContainerVersion],isXML:!0,serializer:Gt},fTe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:K.ContainerRenameHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerRenameExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.restype2,P.comp9],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.sourceContainerName,P.sourceLeaseId],isXML:!0,serializer:Gt},mTe={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:K.ContainerSubmitBatchHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerSubmitBatchExceptionHeaders}},requestBody:P.body,queryParameters:[P.timeoutInSeconds,P.comp4,P.restype2],urlParameters:[P.url],headerParameters:[P.accept,P.version,P.requestId,P.contentLength,P.multipartContentType],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Gt},gTe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:K.FilterBlobSegment,headersMapper:K.ContainerFilterBlobsHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerFilterBlobsExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.marker,P.maxPageSize,P.comp5,P.where,P.restype2],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1],isXML:!0,serializer:Gt},yTe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:K.ContainerAcquireLeaseHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerAcquireLeaseExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.restype2,P.comp10],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.ifModifiedSince,P.ifUnmodifiedSince,P.action,P.duration,P.proposedLeaseId],isXML:!0,serializer:Gt},CTe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:K.ContainerReleaseLeaseHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerReleaseLeaseExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.restype2,P.comp10],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.ifModifiedSince,P.ifUnmodifiedSince,P.action1,P.leaseId1],isXML:!0,serializer:Gt},ETe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:K.ContainerRenewLeaseHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerRenewLeaseExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.restype2,P.comp10],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.ifModifiedSince,P.ifUnmodifiedSince,P.leaseId1,P.action2],isXML:!0,serializer:Gt},BTe={path:"/{containerName}",httpMethod:"PUT",responses:{202:{headersMapper:K.ContainerBreakLeaseHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerBreakLeaseExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.restype2,P.comp10],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.ifModifiedSince,P.ifUnmodifiedSince,P.action3,P.breakPeriod],isXML:!0,serializer:Gt},ITe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:K.ContainerChangeLeaseHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerChangeLeaseExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.restype2,P.comp10],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.ifModifiedSince,P.ifUnmodifiedSince,P.leaseId1,P.action4,P.proposedLeaseId1],isXML:!0,serializer:Gt},bTe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:K.ListBlobsFlatSegmentResponse,headersMapper:K.ContainerListBlobFlatSegmentHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerListBlobFlatSegmentExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.comp2,P.prefix,P.marker,P.maxPageSize,P.restype2,P.include1,P.startFrom],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1],isXML:!0,serializer:Gt},QTe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:K.ListBlobsHierarchySegmentResponse,headersMapper:K.ContainerListBlobHierarchySegmentHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerListBlobHierarchySegmentExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.comp2,P.prefix,P.marker,P.maxPageSize,P.restype2,P.include1,P.startFrom,P.delimiter],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1],isXML:!0,serializer:Gt},wTe={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:K.ContainerGetAccountInfoHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerGetAccountInfoExceptionHeaders}},queryParameters:[P.comp,P.timeoutInSeconds,P.restype1],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1],isXML:!0,serializer:Gt}});var G$=g(Jm=>{"use strict";Object.defineProperty(Jm,"__esModule",{value:!0});Jm.BlobImpl=void 0;var _x=(Xr(),Zt(Kr)),NTe=_x.__importStar(Ni()),Y=_x.__importStar(ro()),B=_x.__importStar(na()),Rx=class{static{o(this,"BlobImpl")}client;constructor(e){this.client=e}download(e){return this.client.sendOperationRequest({options:e},xTe)}getProperties(e){return this.client.sendOperationRequest({options:e},STe)}delete(e){return this.client.sendOperationRequest({options:e},RTe)}undelete(e){return this.client.sendOperationRequest({options:e},_Te)}setExpiry(e,r){return this.client.sendOperationRequest({expiryOptions:e,options:r},vTe)}setHttpHeaders(e){return this.client.sendOperationRequest({options:e},PTe)}setImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},DTe)}deleteImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},TTe)}setLegalHold(e,r){return this.client.sendOperationRequest({legalHold:e,options:r},OTe)}setMetadata(e){return this.client.sendOperationRequest({options:e},MTe)}acquireLease(e){return this.client.sendOperationRequest({options:e},kTe)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},LTe)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},UTe)}changeLease(e,r,n){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:n},FTe)}breakLease(e){return this.client.sendOperationRequest({options:e},qTe)}createSnapshot(e){return this.client.sendOperationRequest({options:e},HTe)}startCopyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},zTe)}copyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},jTe)}abortCopyFromURL(e,r){return this.client.sendOperationRequest({copyId:e,options:r},GTe)}setTier(e,r){return this.client.sendOperationRequest({tier:e,options:r},YTe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},JTe)}query(e){return this.client.sendOperationRequest({options:e},VTe)}getTags(e){return this.client.sendOperationRequest({options:e},WTe)}setTags(e){return this.client.sendOperationRequest({options:e},$Te)}};Jm.BlobImpl=Rx;var at=NTe.createSerializer(Y,!0),xTe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Y.BlobDownloadHeaders},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Y.BlobDownloadHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobDownloadExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.snapshot,B.versionId],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.leaseId,B.ifModifiedSince,B.ifUnmodifiedSince,B.range,B.rangeGetContentMD5,B.rangeGetContentCRC64,B.encryptionKey,B.encryptionKeySha256,B.encryptionAlgorithm,B.ifMatch,B.ifNoneMatch,B.ifTags],isXML:!0,serializer:at},STe={path:"/{containerName}/{blob}",httpMethod:"HEAD",responses:{200:{headersMapper:Y.BlobGetPropertiesHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobGetPropertiesExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.snapshot,B.versionId],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.leaseId,B.ifModifiedSince,B.ifUnmodifiedSince,B.encryptionKey,B.encryptionKeySha256,B.encryptionAlgorithm,B.ifMatch,B.ifNoneMatch,B.ifTags],isXML:!0,serializer:at},RTe={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{202:{headersMapper:Y.BlobDeleteHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobDeleteExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.snapshot,B.versionId,B.blobDeleteType],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.leaseId,B.ifModifiedSince,B.ifUnmodifiedSince,B.ifMatch,B.ifNoneMatch,B.ifTags,B.deleteSnapshots],isXML:!0,serializer:at},_Te={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Y.BlobUndeleteHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobUndeleteExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.comp8],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1],isXML:!0,serializer:at},vTe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Y.BlobSetExpiryHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobSetExpiryExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.comp11],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.expiryOptions,B.expiresOn],isXML:!0,serializer:at},PTe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Y.BlobSetHttpHeadersHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobSetHttpHeadersExceptionHeaders}},queryParameters:[B.comp,B.timeoutInSeconds],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.leaseId,B.ifModifiedSince,B.ifUnmodifiedSince,B.ifMatch,B.ifNoneMatch,B.ifTags,B.blobCacheControl,B.blobContentType,B.blobContentMD5,B.blobContentEncoding,B.blobContentLanguage,B.blobContentDisposition],isXML:!0,serializer:at},DTe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Y.BlobSetImmutabilityPolicyHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobSetImmutabilityPolicyExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.snapshot,B.versionId,B.comp12],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.ifUnmodifiedSince,B.immutabilityPolicyExpiry,B.immutabilityPolicyMode],isXML:!0,serializer:at},TTe={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{200:{headersMapper:Y.BlobDeleteImmutabilityPolicyHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobDeleteImmutabilityPolicyExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.snapshot,B.versionId,B.comp12],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1],isXML:!0,serializer:at},OTe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Y.BlobSetLegalHoldHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobSetLegalHoldExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.snapshot,B.versionId,B.comp13],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.legalHold],isXML:!0,serializer:at},MTe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Y.BlobSetMetadataHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobSetMetadataExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.comp6],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.metadata,B.leaseId,B.ifModifiedSince,B.ifUnmodifiedSince,B.encryptionKey,B.encryptionKeySha256,B.encryptionAlgorithm,B.ifMatch,B.ifNoneMatch,B.ifTags,B.encryptionScope],isXML:!0,serializer:at},kTe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Y.BlobAcquireLeaseHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobAcquireLeaseExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.comp10],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.ifModifiedSince,B.ifUnmodifiedSince,B.action,B.duration,B.proposedLeaseId,B.ifMatch,B.ifNoneMatch,B.ifTags],isXML:!0,serializer:at},LTe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Y.BlobReleaseLeaseHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobReleaseLeaseExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.comp10],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.ifModifiedSince,B.ifUnmodifiedSince,B.action1,B.leaseId1,B.ifMatch,B.ifNoneMatch,B.ifTags],isXML:!0,serializer:at},UTe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Y.BlobRenewLeaseHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobRenewLeaseExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.comp10],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.ifModifiedSince,B.ifUnmodifiedSince,B.leaseId1,B.action2,B.ifMatch,B.ifNoneMatch,B.ifTags],isXML:!0,serializer:at},FTe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Y.BlobChangeLeaseHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobChangeLeaseExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.comp10],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.ifModifiedSince,B.ifUnmodifiedSince,B.leaseId1,B.action4,B.proposedLeaseId1,B.ifMatch,B.ifNoneMatch,B.ifTags],isXML:!0,serializer:at},qTe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:Y.BlobBreakLeaseHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobBreakLeaseExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.comp10],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.ifModifiedSince,B.ifUnmodifiedSince,B.action3,B.breakPeriod,B.ifMatch,B.ifNoneMatch,B.ifTags],isXML:!0,serializer:at},HTe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Y.BlobCreateSnapshotHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobCreateSnapshotExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.comp14],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.metadata,B.leaseId,B.ifModifiedSince,B.ifUnmodifiedSince,B.encryptionKey,B.encryptionKeySha256,B.encryptionAlgorithm,B.ifMatch,B.ifNoneMatch,B.ifTags,B.encryptionScope],isXML:!0,serializer:at},zTe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:Y.BlobStartCopyFromURLHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobStartCopyFromURLExceptionHeaders}},queryParameters:[B.timeoutInSeconds],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.metadata,B.leaseId,B.ifModifiedSince,B.ifUnmodifiedSince,B.ifMatch,B.ifNoneMatch,B.ifTags,B.immutabilityPolicyExpiry,B.immutabilityPolicyMode,B.tier,B.rehydratePriority,B.sourceIfModifiedSince,B.sourceIfUnmodifiedSince,B.sourceIfMatch,B.sourceIfNoneMatch,B.sourceIfTags,B.copySource,B.blobTagsString,B.sealBlob,B.legalHold1],isXML:!0,serializer:at},jTe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:Y.BlobCopyFromURLHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobCopyFromURLExceptionHeaders}},queryParameters:[B.timeoutInSeconds],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.metadata,B.leaseId,B.ifModifiedSince,B.ifUnmodifiedSince,B.ifMatch,B.ifNoneMatch,B.ifTags,B.immutabilityPolicyExpiry,B.immutabilityPolicyMode,B.encryptionScope,B.tier,B.sourceIfModifiedSince,B.sourceIfUnmodifiedSince,B.sourceIfMatch,B.sourceIfNoneMatch,B.copySource,B.blobTagsString,B.legalHold1,B.xMsRequiresSync,B.sourceContentMD5,B.copySourceAuthorization,B.copySourceTags,B.fileRequestIntent],isXML:!0,serializer:at},GTe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:Y.BlobAbortCopyFromURLHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobAbortCopyFromURLExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.comp15,B.copyId],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.leaseId,B.copyActionAbortConstant],isXML:!0,serializer:at},YTe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Y.BlobSetTierHeaders},202:{headersMapper:Y.BlobSetTierHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobSetTierExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.snapshot,B.versionId,B.comp16],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.leaseId,B.ifTags,B.rehydratePriority,B.tier1],isXML:!0,serializer:at},JTe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{headersMapper:Y.BlobGetAccountInfoHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobGetAccountInfoExceptionHeaders}},queryParameters:[B.comp,B.timeoutInSeconds,B.restype1],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1],isXML:!0,serializer:at},VTe={path:"/{containerName}/{blob}",httpMethod:"POST",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Y.BlobQueryHeaders},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Y.BlobQueryHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobQueryExceptionHeaders}},requestBody:B.queryRequest,queryParameters:[B.timeoutInSeconds,B.snapshot,B.comp17],urlParameters:[B.url],headerParameters:[B.contentType,B.accept,B.version,B.requestId,B.leaseId,B.ifModifiedSince,B.ifUnmodifiedSince,B.encryptionKey,B.encryptionKeySha256,B.encryptionAlgorithm,B.ifMatch,B.ifNoneMatch,B.ifTags],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:at},WTe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:Y.BlobTags,headersMapper:Y.BlobGetTagsHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobGetTagsExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.snapshot,B.versionId,B.comp18],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.leaseId,B.ifTags,B.ifModifiedSince1,B.ifUnmodifiedSince1,B.ifMatch1,B.ifNoneMatch1],isXML:!0,serializer:at},$Te={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:Y.BlobSetTagsHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobSetTagsExceptionHeaders}},requestBody:B.tags,queryParameters:[B.timeoutInSeconds,B.versionId,B.comp18],urlParameters:[B.url],headerParameters:[B.contentType,B.accept,B.version,B.requestId,B.leaseId,B.ifTags,B.ifModifiedSince1,B.ifUnmodifiedSince1,B.ifMatch1,B.ifNoneMatch1,B.transactionalContentMD5,B.transactionalContentCrc64],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:at}});var Y$=g(Vm=>{"use strict";Object.defineProperty(Vm,"__esModule",{value:!0});Vm.PageBlobImpl=void 0;var Px=(Xr(),Zt(Kr)),KTe=Px.__importStar(Ni()),qe=Px.__importStar(ro()),v=Px.__importStar(na()),vx=class{static{o(this,"PageBlobImpl")}client;constructor(e){this.client=e}create(e,r,n){return this.client.sendOperationRequest({contentLength:e,blobContentLength:r,options:n},XTe)}uploadPages(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},ZTe)}clearPages(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},eOe)}uploadPagesFromURL(e,r,n,i,s){return this.client.sendOperationRequest({sourceUrl:e,sourceRange:r,contentLength:n,range:i,options:s},tOe)}getPageRanges(e){return this.client.sendOperationRequest({options:e},rOe)}getPageRangesDiff(e){return this.client.sendOperationRequest({options:e},nOe)}resize(e,r){return this.client.sendOperationRequest({blobContentLength:e,options:r},iOe)}updateSequenceNumber(e,r){return this.client.sendOperationRequest({sequenceNumberAction:e,options:r},sOe)}copyIncremental(e,r){return this.client.sendOperationRequest({copySource:e,options:r},oOe)}};Vm.PageBlobImpl=vx;var ms=KTe.createSerializer(qe,!0),XTe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:qe.PageBlobCreateHeaders},default:{bodyMapper:qe.StorageError,headersMapper:qe.PageBlobCreateExceptionHeaders}},queryParameters:[v.timeoutInSeconds],urlParameters:[v.url],headerParameters:[v.version,v.requestId,v.accept1,v.contentLength,v.metadata,v.leaseId,v.ifModifiedSince,v.ifUnmodifiedSince,v.encryptionKey,v.encryptionKeySha256,v.encryptionAlgorithm,v.ifMatch,v.ifNoneMatch,v.ifTags,v.blobCacheControl,v.blobContentType,v.blobContentMD5,v.blobContentEncoding,v.blobContentLanguage,v.blobContentDisposition,v.immutabilityPolicyExpiry,v.immutabilityPolicyMode,v.encryptionScope,v.tier,v.blobTagsString,v.legalHold1,v.blobType,v.blobContentLength,v.blobSequenceNumber],isXML:!0,serializer:ms},ZTe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:qe.PageBlobUploadPagesHeaders},default:{bodyMapper:qe.StorageError,headersMapper:qe.PageBlobUploadPagesExceptionHeaders}},requestBody:v.body1,queryParameters:[v.timeoutInSeconds,v.comp19],urlParameters:[v.url],headerParameters:[v.version,v.requestId,v.contentLength,v.leaseId,v.ifModifiedSince,v.ifUnmodifiedSince,v.range,v.encryptionKey,v.encryptionKeySha256,v.encryptionAlgorithm,v.ifMatch,v.ifNoneMatch,v.ifTags,v.encryptionScope,v.transactionalContentMD5,v.transactionalContentCrc64,v.contentType1,v.accept2,v.pageWrite,v.ifSequenceNumberLessThanOrEqualTo,v.ifSequenceNumberLessThan,v.ifSequenceNumberEqualTo],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:ms},eOe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:qe.PageBlobClearPagesHeaders},default:{bodyMapper:qe.StorageError,headersMapper:qe.PageBlobClearPagesExceptionHeaders}},queryParameters:[v.timeoutInSeconds,v.comp19],urlParameters:[v.url],headerParameters:[v.version,v.requestId,v.accept1,v.contentLength,v.leaseId,v.ifModifiedSince,v.ifUnmodifiedSince,v.range,v.encryptionKey,v.encryptionKeySha256,v.encryptionAlgorithm,v.ifMatch,v.ifNoneMatch,v.ifTags,v.encryptionScope,v.ifSequenceNumberLessThanOrEqualTo,v.ifSequenceNumberLessThan,v.ifSequenceNumberEqualTo,v.pageWrite1],isXML:!0,serializer:ms},tOe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:qe.PageBlobUploadPagesFromURLHeaders},default:{bodyMapper:qe.StorageError,headersMapper:qe.PageBlobUploadPagesFromURLExceptionHeaders}},queryParameters:[v.timeoutInSeconds,v.comp19],urlParameters:[v.url],headerParameters:[v.version,v.requestId,v.accept1,v.contentLength,v.leaseId,v.ifModifiedSince,v.ifUnmodifiedSince,v.encryptionKey,v.encryptionKeySha256,v.encryptionAlgorithm,v.ifMatch,v.ifNoneMatch,v.ifTags,v.encryptionScope,v.sourceIfModifiedSince,v.sourceIfUnmodifiedSince,v.sourceIfMatch,v.sourceIfNoneMatch,v.sourceContentMD5,v.copySourceAuthorization,v.fileRequestIntent,v.pageWrite,v.ifSequenceNumberLessThanOrEqualTo,v.ifSequenceNumberLessThan,v.ifSequenceNumberEqualTo,v.sourceUrl,v.sourceRange,v.sourceContentCrc64,v.range1],isXML:!0,serializer:ms},rOe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:qe.PageList,headersMapper:qe.PageBlobGetPageRangesHeaders},default:{bodyMapper:qe.StorageError,headersMapper:qe.PageBlobGetPageRangesExceptionHeaders}},queryParameters:[v.timeoutInSeconds,v.marker,v.maxPageSize,v.snapshot,v.comp20],urlParameters:[v.url],headerParameters:[v.version,v.requestId,v.accept1,v.leaseId,v.ifModifiedSince,v.ifUnmodifiedSince,v.range,v.ifMatch,v.ifNoneMatch,v.ifTags],isXML:!0,serializer:ms},nOe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:qe.PageList,headersMapper:qe.PageBlobGetPageRangesDiffHeaders},default:{bodyMapper:qe.StorageError,headersMapper:qe.PageBlobGetPageRangesDiffExceptionHeaders}},queryParameters:[v.timeoutInSeconds,v.marker,v.maxPageSize,v.snapshot,v.comp20,v.prevsnapshot],urlParameters:[v.url],headerParameters:[v.version,v.requestId,v.accept1,v.leaseId,v.ifModifiedSince,v.ifUnmodifiedSince,v.range,v.ifMatch,v.ifNoneMatch,v.ifTags,v.prevSnapshotUrl],isXML:!0,serializer:ms},iOe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:qe.PageBlobResizeHeaders},default:{bodyMapper:qe.StorageError,headersMapper:qe.PageBlobResizeExceptionHeaders}},queryParameters:[v.comp,v.timeoutInSeconds],urlParameters:[v.url],headerParameters:[v.version,v.requestId,v.accept1,v.leaseId,v.ifModifiedSince,v.ifUnmodifiedSince,v.encryptionKey,v.encryptionKeySha256,v.encryptionAlgorithm,v.ifMatch,v.ifNoneMatch,v.ifTags,v.encryptionScope,v.blobContentLength],isXML:!0,serializer:ms},sOe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:qe.PageBlobUpdateSequenceNumberHeaders},default:{bodyMapper:qe.StorageError,headersMapper:qe.PageBlobUpdateSequenceNumberExceptionHeaders}},queryParameters:[v.comp,v.timeoutInSeconds],urlParameters:[v.url],headerParameters:[v.version,v.requestId,v.accept1,v.leaseId,v.ifModifiedSince,v.ifUnmodifiedSince,v.ifMatch,v.ifNoneMatch,v.ifTags,v.blobSequenceNumber,v.sequenceNumberAction],isXML:!0,serializer:ms},oOe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:qe.PageBlobCopyIncrementalHeaders},default:{bodyMapper:qe.StorageError,headersMapper:qe.PageBlobCopyIncrementalExceptionHeaders}},queryParameters:[v.timeoutInSeconds,v.comp21],urlParameters:[v.url],headerParameters:[v.version,v.requestId,v.accept1,v.ifModifiedSince,v.ifUnmodifiedSince,v.ifMatch,v.ifNoneMatch,v.ifTags,v.copySource],isXML:!0,serializer:ms}});var J$=g($m=>{"use strict";Object.defineProperty($m,"__esModule",{value:!0});$m.AppendBlobImpl=void 0;var Tx=(Xr(),Zt(Kr)),aOe=Tx.__importStar(Ni()),rn=Tx.__importStar(ro()),H=Tx.__importStar(na()),Dx=class{static{o(this,"AppendBlobImpl")}client;constructor(e){this.client=e}create(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},cOe)}appendBlock(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},lOe)}appendBlockFromUrl(e,r,n){return this.client.sendOperationRequest({sourceUrl:e,contentLength:r,options:n},AOe)}seal(e){return this.client.sendOperationRequest({options:e},uOe)}};$m.AppendBlobImpl=Dx;var Wm=aOe.createSerializer(rn,!0),cOe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:rn.AppendBlobCreateHeaders},default:{bodyMapper:rn.StorageError,headersMapper:rn.AppendBlobCreateExceptionHeaders}},queryParameters:[H.timeoutInSeconds],urlParameters:[H.url],headerParameters:[H.version,H.requestId,H.accept1,H.contentLength,H.metadata,H.leaseId,H.ifModifiedSince,H.ifUnmodifiedSince,H.encryptionKey,H.encryptionKeySha256,H.encryptionAlgorithm,H.ifMatch,H.ifNoneMatch,H.ifTags,H.blobCacheControl,H.blobContentType,H.blobContentMD5,H.blobContentEncoding,H.blobContentLanguage,H.blobContentDisposition,H.immutabilityPolicyExpiry,H.immutabilityPolicyMode,H.encryptionScope,H.blobTagsString,H.legalHold1,H.blobType1],isXML:!0,serializer:Wm},lOe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:rn.AppendBlobAppendBlockHeaders},default:{bodyMapper:rn.StorageError,headersMapper:rn.AppendBlobAppendBlockExceptionHeaders}},requestBody:H.body1,queryParameters:[H.timeoutInSeconds,H.comp22],urlParameters:[H.url],headerParameters:[H.version,H.requestId,H.contentLength,H.leaseId,H.ifModifiedSince,H.ifUnmodifiedSince,H.encryptionKey,H.encryptionKeySha256,H.encryptionAlgorithm,H.ifMatch,H.ifNoneMatch,H.ifTags,H.encryptionScope,H.transactionalContentMD5,H.transactionalContentCrc64,H.contentType1,H.accept2,H.maxSize,H.appendPosition],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Wm},AOe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:rn.AppendBlobAppendBlockFromUrlHeaders},default:{bodyMapper:rn.StorageError,headersMapper:rn.AppendBlobAppendBlockFromUrlExceptionHeaders}},queryParameters:[H.timeoutInSeconds,H.comp22],urlParameters:[H.url],headerParameters:[H.version,H.requestId,H.accept1,H.contentLength,H.leaseId,H.ifModifiedSince,H.ifUnmodifiedSince,H.encryptionKey,H.encryptionKeySha256,H.encryptionAlgorithm,H.ifMatch,H.ifNoneMatch,H.ifTags,H.encryptionScope,H.sourceIfModifiedSince,H.sourceIfUnmodifiedSince,H.sourceIfMatch,H.sourceIfNoneMatch,H.sourceContentMD5,H.copySourceAuthorization,H.fileRequestIntent,H.transactionalContentMD5,H.sourceUrl,H.sourceContentCrc64,H.maxSize,H.appendPosition,H.sourceRange1],isXML:!0,serializer:Wm},uOe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:rn.AppendBlobSealHeaders},default:{bodyMapper:rn.StorageError,headersMapper:rn.AppendBlobSealExceptionHeaders}},queryParameters:[H.timeoutInSeconds,H.comp23],urlParameters:[H.url],headerParameters:[H.version,H.requestId,H.accept1,H.leaseId,H.ifModifiedSince,H.ifUnmodifiedSince,H.ifMatch,H.ifNoneMatch,H.appendPosition],isXML:!0,serializer:Wm}});var V$=g(Km=>{"use strict";Object.defineProperty(Km,"__esModule",{value:!0});Km.BlockBlobImpl=void 0;var Mx=(Xr(),Zt(Kr)),dOe=Mx.__importStar(Ni()),vt=Mx.__importStar(ro()),D=Mx.__importStar(na()),Ox=class{static{o(this,"BlockBlobImpl")}client;constructor(e){this.client=e}upload(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},pOe)}putBlobFromUrl(e,r,n){return this.client.sendOperationRequest({contentLength:e,copySource:r,options:n},hOe)}stageBlock(e,r,n,i){return this.client.sendOperationRequest({blockId:e,contentLength:r,body:n,options:i},fOe)}stageBlockFromURL(e,r,n,i){return this.client.sendOperationRequest({blockId:e,contentLength:r,sourceUrl:n,options:i},mOe)}commitBlockList(e,r){return this.client.sendOperationRequest({blocks:e,options:r},gOe)}getBlockList(e,r){return this.client.sendOperationRequest({listType:e,options:r},yOe)}};Km.BlockBlobImpl=Ox;var pl=dOe.createSerializer(vt,!0),pOe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:vt.BlockBlobUploadHeaders},default:{bodyMapper:vt.StorageError,headersMapper:vt.BlockBlobUploadExceptionHeaders}},requestBody:D.body1,queryParameters:[D.timeoutInSeconds],urlParameters:[D.url],headerParameters:[D.version,D.requestId,D.contentLength,D.metadata,D.leaseId,D.ifModifiedSince,D.ifUnmodifiedSince,D.encryptionKey,D.encryptionKeySha256,D.encryptionAlgorithm,D.ifMatch,D.ifNoneMatch,D.ifTags,D.blobCacheControl,D.blobContentType,D.blobContentMD5,D.blobContentEncoding,D.blobContentLanguage,D.blobContentDisposition,D.immutabilityPolicyExpiry,D.immutabilityPolicyMode,D.encryptionScope,D.tier,D.blobTagsString,D.legalHold1,D.transactionalContentMD5,D.transactionalContentCrc64,D.contentType1,D.accept2,D.blobType2],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:pl},hOe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:vt.BlockBlobPutBlobFromUrlHeaders},default:{bodyMapper:vt.StorageError,headersMapper:vt.BlockBlobPutBlobFromUrlExceptionHeaders}},queryParameters:[D.timeoutInSeconds],urlParameters:[D.url],headerParameters:[D.version,D.requestId,D.accept1,D.contentLength,D.metadata,D.leaseId,D.ifModifiedSince,D.ifUnmodifiedSince,D.encryptionKey,D.encryptionKeySha256,D.encryptionAlgorithm,D.ifMatch,D.ifNoneMatch,D.ifTags,D.blobCacheControl,D.blobContentType,D.blobContentMD5,D.blobContentEncoding,D.blobContentLanguage,D.blobContentDisposition,D.encryptionScope,D.tier,D.sourceIfModifiedSince,D.sourceIfUnmodifiedSince,D.sourceIfMatch,D.sourceIfNoneMatch,D.sourceIfTags,D.copySource,D.blobTagsString,D.sourceContentMD5,D.copySourceAuthorization,D.copySourceTags,D.fileRequestIntent,D.transactionalContentMD5,D.blobType2,D.copySourceBlobProperties],isXML:!0,serializer:pl},fOe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:vt.BlockBlobStageBlockHeaders},default:{bodyMapper:vt.StorageError,headersMapper:vt.BlockBlobStageBlockExceptionHeaders}},requestBody:D.body1,queryParameters:[D.timeoutInSeconds,D.comp24,D.blockId],urlParameters:[D.url],headerParameters:[D.version,D.requestId,D.contentLength,D.leaseId,D.encryptionKey,D.encryptionKeySha256,D.encryptionAlgorithm,D.encryptionScope,D.transactionalContentMD5,D.transactionalContentCrc64,D.contentType1,D.accept2],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:pl},mOe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:vt.BlockBlobStageBlockFromURLHeaders},default:{bodyMapper:vt.StorageError,headersMapper:vt.BlockBlobStageBlockFromURLExceptionHeaders}},queryParameters:[D.timeoutInSeconds,D.comp24,D.blockId],urlParameters:[D.url],headerParameters:[D.version,D.requestId,D.accept1,D.contentLength,D.leaseId,D.encryptionKey,D.encryptionKeySha256,D.encryptionAlgorithm,D.encryptionScope,D.sourceIfModifiedSince,D.sourceIfUnmodifiedSince,D.sourceIfMatch,D.sourceIfNoneMatch,D.sourceContentMD5,D.copySourceAuthorization,D.fileRequestIntent,D.sourceUrl,D.sourceContentCrc64,D.sourceRange1],isXML:!0,serializer:pl},gOe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:vt.BlockBlobCommitBlockListHeaders},default:{bodyMapper:vt.StorageError,headersMapper:vt.BlockBlobCommitBlockListExceptionHeaders}},requestBody:D.blocks,queryParameters:[D.timeoutInSeconds,D.comp25],urlParameters:[D.url],headerParameters:[D.contentType,D.accept,D.version,D.requestId,D.metadata,D.leaseId,D.ifModifiedSince,D.ifUnmodifiedSince,D.encryptionKey,D.encryptionKeySha256,D.encryptionAlgorithm,D.ifMatch,D.ifNoneMatch,D.ifTags,D.blobCacheControl,D.blobContentType,D.blobContentMD5,D.blobContentEncoding,D.blobContentLanguage,D.blobContentDisposition,D.immutabilityPolicyExpiry,D.immutabilityPolicyMode,D.encryptionScope,D.tier,D.blobTagsString,D.legalHold1,D.transactionalContentMD5,D.transactionalContentCrc64],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:pl},yOe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:vt.BlockList,headersMapper:vt.BlockBlobGetBlockListHeaders},default:{bodyMapper:vt.StorageError,headersMapper:vt.BlockBlobGetBlockListExceptionHeaders}},queryParameters:[D.timeoutInSeconds,D.snapshot,D.comp25,D.listType],urlParameters:[D.url],headerParameters:[D.version,D.requestId,D.accept1,D.leaseId,D.ifTags],isXML:!0,serializer:pl}});var W$=g(io=>{"use strict";Object.defineProperty(io,"__esModule",{value:!0});var hl=(Xr(),Zt(Kr));hl.__exportStar(z$(),io);hl.__exportStar(j$(),io);hl.__exportStar(G$(),io);hl.__exportStar(Y$(),io);hl.__exportStar(J$(),io);hl.__exportStar(V$(),io)});var $$=g(Xm=>{"use strict";Object.defineProperty(Xm,"__esModule",{value:!0});Xm.StorageClient=void 0;var COe=(Xr(),Zt(Kr)),EOe=COe.__importStar(gm()),fl=W$(),kx=class extends EOe.ExtendedServiceClient{static{o(this,"StorageClient")}url;version;constructor(e,r){if(e===void 0)throw new Error("'url' cannot be null");r||(r={});let n={requestContentType:"application/json; charset=utf-8"},i="azsdk-js-azure-storage-blob/12.30.0",s=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${i}`:`${i}`,a={...n,...r,userAgentOptions:{userAgentPrefix:s},endpoint:r.endpoint??r.baseUri??"{url}"};super(a),this.url=e,this.version=r.version||"2026-02-06",this.service=new fl.ServiceImpl(this),this.container=new fl.ContainerImpl(this),this.blob=new fl.BlobImpl(this),this.pageBlob=new fl.PageBlobImpl(this),this.appendBlob=new fl.AppendBlobImpl(this),this.blockBlob=new fl.BlockBlobImpl(this)}service;container;blob;pageBlob;appendBlob;blockBlob};Xm.StorageClient=kx});var X$=g(K$=>{"use strict";Object.defineProperty(K$,"__esModule",{value:!0})});var e3=g(Z$=>{"use strict";Object.defineProperty(Z$,"__esModule",{value:!0})});var r3=g(t3=>{"use strict";Object.defineProperty(t3,"__esModule",{value:!0})});var i3=g(n3=>{"use strict";Object.defineProperty(n3,"__esModule",{value:!0})});var o3=g(s3=>{"use strict";Object.defineProperty(s3,"__esModule",{value:!0})});var c3=g(a3=>{"use strict";Object.defineProperty(a3,"__esModule",{value:!0})});var l3=g(so=>{"use strict";Object.defineProperty(so,"__esModule",{value:!0});var ml=(Xr(),Zt(Kr));ml.__exportStar(X$(),so);ml.__exportStar(e3(),so);ml.__exportStar(r3(),so);ml.__exportStar(i3(),so);ml.__exportStar(o3(),so);ml.__exportStar(c3(),so)});var u3=g(gl=>{"use strict";Object.defineProperty(gl,"__esModule",{value:!0});gl.StorageClient=void 0;var A3=(Xr(),Zt(Kr));A3.__exportStar(H$(),gl);var BOe=$$();Object.defineProperty(gl,"StorageClient",{enumerable:!0,get:function(){return BOe.StorageClient}});A3.__exportStar(l3(),gl)});var Ux=g(Zm=>{"use strict";Object.defineProperty(Zm,"__esModule",{value:!0});Zm.StorageContextClient=void 0;var IOe=u3(),Lx=class extends IOe.StorageClient{static{o(this,"StorageContextClient")}async sendOperationRequest(e,r){let n={...r};return(n.path==="/{containerName}"||n.path==="/{containerName}/{blob}")&&(n.path=""),super.sendOperationRequest(e,n)}};Zm.StorageContextClient=Lx});var Rn=g(Ie=>{"use strict";Object.defineProperty(Ie,"__esModule",{value:!0});Ie.escapeURLPath=QOe;Ie.getValueInConnString=oo;Ie.extractConnectionStringParts=NOe;Ie.appendToURLPath=SOe;Ie.setURLParameter=p3;Ie.getURLParameter=h3;Ie.setURLHost=ROe;Ie.getURLPath=_Oe;Ie.getURLScheme=vOe;Ie.getURLPathAndQuery=POe;Ie.getURLQueries=DOe;Ie.appendToURLQuery=TOe;Ie.truncatedISO8061Date=OOe;Ie.base64encode=f3;Ie.base64decode=MOe;Ie.generateBlockID=kOe;Ie.delay=LOe;Ie.padStart=m3;Ie.sanitizeURL=g3;Ie.sanitizeHeaders=UOe;Ie.iEqual=FOe;Ie.getAccountNameFromUrl=y3;Ie.isIpEndpointStyle=C3;Ie.toBlobTagsString=qOe;Ie.toBlobTags=HOe;Ie.toTags=zOe;Ie.toQuerySerialization=jOe;Ie.parseObjectReplicationRecord=GOe;Ie.attachCredential=YOe;Ie.httpAuthorizationToString=JOe;Ie.BlobNameToString=eg;Ie.ConvertInternalResponseOfListBlobFlat=VOe;Ie.ConvertInternalResponseOfListBlobHierarchy=WOe;Ie.ExtractPageRangeInfoItems=$Oe;Ie.EscapePath=KOe;Ie.assertResponse=XOe;var bOe=Ot(),d3=pt(),yl=en();function QOe(t){let e=new URL(t),r=e.pathname;return r=r||"/",r=xOe(r),e.pathname=r,e.toString()}o(QOe,"escapeURLPath");function wOe(t){let e="";if(t.search("DevelopmentStorageProxyUri=")!==-1){let r=t.split(";");for(let n of r)n.trim().startsWith("DevelopmentStorageProxyUri=")&&(e=n.trim().match("DevelopmentStorageProxyUri=(.*)")[1])}return e}o(wOe,"getProxyUriFromDevConnString");function oo(t,e){let r=t.split(";");for(let n of r)if(n.trim().startsWith(e))return n.trim().match(e+"=(.*)")[1];return""}o(oo,"getValueInConnString");function NOe(t){let e="";t.startsWith("UseDevelopmentStorage=true")&&(e=wOe(t),t=yl.DevelopmentConnectionString);let r=oo(t,"BlobEndpoint");if(r=r.endsWith("/")?r.slice(0,-1):r,t.search("DefaultEndpointsProtocol=")!==-1&&t.search("AccountKey=")!==-1){let n="",i="",s=Buffer.from("accountKey","base64"),a="";if(i=oo(t,"AccountName"),s=Buffer.from(oo(t,"AccountKey"),"base64"),!r){n=oo(t,"DefaultEndpointsProtocol");let c=n.toLowerCase();if(c!=="https"&&c!=="http")throw new Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'");if(a=oo(t,"EndpointSuffix"),!a)throw new Error("Invalid EndpointSuffix in the provided Connection String");r=`${n}://${i}.blob.${a}`}if(i){if(s.length===0)throw new Error("Invalid AccountKey in the provided Connection String")}else throw new Error("Invalid AccountName in the provided Connection String");return{kind:"AccountConnString",url:r,accountName:i,accountKey:s,proxyUri:e}}else{let n=oo(t,"SharedAccessSignature"),i=oo(t,"AccountName");if(i||(i=y3(r)),r){if(!n)throw new Error("Invalid SharedAccessSignature in the provided SAS Connection String")}else throw new Error("Invalid BlobEndpoint in the provided SAS Connection String");return n.startsWith("?")&&(n=n.substring(1)),{kind:"SASConnString",url:r,accountName:i,accountSas:n}}}o(NOe,"extractConnectionStringParts");function xOe(t){return encodeURIComponent(t).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}o(xOe,"escape");function SOe(t,e){let r=new URL(t),n=r.pathname;return n=n?n.endsWith("/")?`${n}${e}`:`${n}/${e}`:e,r.pathname=n,r.toString()}o(SOe,"appendToURLPath");function p3(t,e,r){let n=new URL(t),i=encodeURIComponent(e),s=r?encodeURIComponent(r):void 0,a=n.search===""?"?":n.search,c=[];for(let l of a.slice(1).split("&"))if(l){let[A]=l.split("=",2);A!==i&&c.push(l)}return s&&c.push(`${i}=${s}`),n.search=c.length?`?${c.join("&")}`:"",n.toString()}o(p3,"setURLParameter");function h3(t,e){return new URL(t).searchParams.get(e)??void 0}o(h3,"getURLParameter");function ROe(t,e){let r=new URL(t);return r.hostname=e,r.toString()}o(ROe,"setURLHost");function _Oe(t){try{return new URL(t).pathname}catch{return}}o(_Oe,"getURLPath");function vOe(t){try{let e=new URL(t);return e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol}catch{return}}o(vOe,"getURLScheme");function POe(t){let e=new URL(t),r=e.pathname;if(!r)throw new RangeError("Invalid url without valid path.");let n=e.search||"";return n=n.trim(),n!==""&&(n=n.startsWith("?")?n:`?${n}`),`${r}${n}`}o(POe,"getURLPathAndQuery");function DOe(t){let e=new URL(t).search;if(!e)return{};e=e.trim(),e=e.startsWith("?")?e.substring(1):e;let r=e.split("&");r=r.filter(i=>{let s=i.indexOf("="),a=i.lastIndexOf("=");return s>0&&s===a&&a42&&(t=t.slice(0,42));let s=t+m3(e.toString(),48-t.length,"0");return f3(s)}o(kOe,"generateBlockID");async function LOe(t,e,r){return new Promise((n,i)=>{let s,a=o(()=>{s!==void 0&&clearTimeout(s),i(r)},"abortHandler");s=setTimeout(o(()=>{e!==void 0&&e.removeEventListener("abort",a),n()},"resolveHandler"),t),e!==void 0&&e.addEventListener("abort",a)})}o(LOe,"delay");function m3(t,e,r=" "){return String.prototype.padStart?t.padStart(e,r):(r=r||" ",t.length>e?t:(e=e-t.length,e>r.length&&(r+=r.repeat(e/r.length)),r.slice(0,e)+t))}o(m3,"padStart");function g3(t){let e=t;return h3(e,yl.URLConstants.Parameters.SIGNATURE)&&(e=p3(e,yl.URLConstants.Parameters.SIGNATURE,"*****")),e}o(g3,"sanitizeURL");function UOe(t){let e=(0,bOe.createHttpHeaders)();for(let[r,n]of t)r.toLowerCase()===yl.HeaderConstants.AUTHORIZATION.toLowerCase()?e.set(r,"*****"):r.toLowerCase()===yl.HeaderConstants.X_MS_COPY_SOURCE?e.set(r,g3(n)):e.set(r,n);return e}o(UOe,"sanitizeHeaders");function FOe(t,e){return t.toLocaleLowerCase()===e.toLocaleLowerCase()}o(FOe,"iEqual");function y3(t){let e=new URL(t),r;try{return e.hostname.split(".")[1]==="blob"?r=e.hostname.split(".")[0]:C3(e)?r=e.pathname.split("/")[1]:r="",r}catch{throw new Error("Unable to extract accountName with provided information.")}}o(y3,"getAccountNameFromUrl");function C3(t){let e=t.host;return/^.*:.*:.*$|^(localhost|host.docker.internal)(:[0-9]+)?$|^(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])(\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])){3}(:[0-9]+)?$/.test(e)||!!t.port&&yl.PathStylePorts.includes(t.port)}o(C3,"isIpEndpointStyle");function qOe(t){if(t===void 0)return;let e=[];for(let r in t)if(Object.prototype.hasOwnProperty.call(t,r)){let n=t[r];e.push(`${encodeURIComponent(r)}=${encodeURIComponent(n)}`)}return e.join("&")}o(qOe,"toBlobTagsString");function HOe(t){if(t===void 0)return;let e={blobTagSet:[]};for(let r in t)if(Object.prototype.hasOwnProperty.call(t,r)){let n=t[r];e.blobTagSet.push({key:r,value:n})}return e}o(HOe,"toBlobTags");function zOe(t){if(t===void 0)return;let e={};for(let r of t.blobTagSet)e[r.key]=r.value;return e}o(zOe,"toTags");function jOe(t){if(t!==void 0)switch(t.kind){case"csv":return{format:{type:"delimited",delimitedTextConfiguration:{columnSeparator:t.columnSeparator||",",fieldQuote:t.fieldQuote||"",recordSeparator:t.recordSeparator,escapeChar:t.escapeCharacter||"",headersPresent:t.hasHeaders||!1}}};case"json":return{format:{type:"json",jsonTextConfiguration:{recordSeparator:t.recordSeparator}}};case"arrow":return{format:{type:"arrow",arrowConfiguration:{schema:t.schema}}};case"parquet":return{format:{type:"parquet"}};default:throw Error("Invalid BlobQueryTextConfiguration.")}}o(jOe,"toQuerySerialization");function GOe(t){if(!t||"policy-id"in t)return;let e=[];for(let r in t){let n=r.split("_"),i="or-";n[0].startsWith(i)&&(n[0]=n[0].substring(i.length));let s={ruleId:n[1],replicationStatus:t[r]},a=e.findIndex(c=>c.policyId===n[0]);a>-1?e[a].rules.push(s):e.push({policyId:n[0],rules:[s]})}return e}o(GOe,"parseObjectReplicationRecord");function YOe(t,e){return t.credential=e,t}o(YOe,"attachCredential");function JOe(t){return t?t.scheme+" "+t.value:void 0}o(JOe,"httpAuthorizationToString");function eg(t){return t.encoded?decodeURIComponent(t.content):t.content}o(eg,"BlobNameToString");function VOe(t){return{...t,segment:{blobItems:t.segment.blobItems.map(e=>({...e,name:eg(e.name)}))}}}o(VOe,"ConvertInternalResponseOfListBlobFlat");function WOe(t){return{...t,segment:{blobPrefixes:t.segment.blobPrefixes?.map(e=>({...e,name:eg(e.name)})),blobItems:t.segment.blobItems.map(e=>({...e,name:eg(e.name)}))}}}o(WOe,"ConvertInternalResponseOfListBlobHierarchy");function*$Oe(t){let e=[],r=[];t.pageRange&&(e=t.pageRange),t.clearRange&&(r=t.clearRange);let n=0,i=0;for(;n{"use strict";Object.defineProperty(rg,"__esModule",{value:!0});rg.StorageClient=void 0;var ZOe=Ux(),E3=to(),tg=Rn(),Fx=class{static{o(this,"StorageClient")}url;accountName;pipeline;credential;storageClientContext;isHttps;constructor(e,r){this.url=(0,tg.escapeURLPath)(e),this.accountName=(0,tg.getAccountNameFromUrl)(e),this.pipeline=r,this.storageClientContext=new ZOe.StorageContextClient(this.url,(0,E3.getCoreClientOptions)(r)),this.isHttps=(0,tg.iEqual)((0,tg.getURLScheme)(this.url)||"","https"),this.credential=(0,E3.getCredentialFromPipeline)(r);let n=this.storageClientContext;n.requestContentType=void 0}};rg.StorageClient=Fx});var ia=g(ig=>{"use strict";Object.defineProperty(ig,"__esModule",{value:!0});ig.tracingClient=void 0;var eMe=qN(),tMe=en();ig.tracingClient=(0,eMe.createTracingClient)({packageName:"@azure/storage-blob",packageVersion:tMe.SDK_VERSION,namespace:"Microsoft.Storage"})});var Hx=g(sg=>{"use strict";Object.defineProperty(sg,"__esModule",{value:!0});sg.BlobSASPermissions=void 0;var qx=class t{static{o(this,"BlobSASPermissions")}static parse(e){let r=new t;for(let n of e)switch(n){case"r":r.read=!0;break;case"a":r.add=!0;break;case"c":r.create=!0;break;case"w":r.write=!0;break;case"d":r.delete=!0;break;case"x":r.deleteVersion=!0;break;case"t":r.tag=!0;break;case"m":r.move=!0;break;case"e":r.execute=!0;break;case"i":r.setImmutabilityPolicy=!0;break;case"y":r.permanentDelete=!0;break;default:throw new RangeError(`Invalid permission: ${n}`)}return r}static from(e){let r=new t;return e.read&&(r.read=!0),e.add&&(r.add=!0),e.create&&(r.create=!0),e.write&&(r.write=!0),e.delete&&(r.delete=!0),e.deleteVersion&&(r.deleteVersion=!0),e.tag&&(r.tag=!0),e.move&&(r.move=!0),e.execute&&(r.execute=!0),e.setImmutabilityPolicy&&(r.setImmutabilityPolicy=!0),e.permanentDelete&&(r.permanentDelete=!0),r}read=!1;add=!1;create=!1;write=!1;delete=!1;deleteVersion=!1;tag=!1;move=!1;execute=!1;setImmutabilityPolicy=!1;permanentDelete=!1;toString(){let e=[];return this.read&&e.push("r"),this.add&&e.push("a"),this.create&&e.push("c"),this.write&&e.push("w"),this.delete&&e.push("d"),this.deleteVersion&&e.push("x"),this.tag&&e.push("t"),this.move&&e.push("m"),this.execute&&e.push("e"),this.setImmutabilityPolicy&&e.push("i"),this.permanentDelete&&e.push("y"),e.join("")}};sg.BlobSASPermissions=qx});var jx=g(og=>{"use strict";Object.defineProperty(og,"__esModule",{value:!0});og.ContainerSASPermissions=void 0;var zx=class t{static{o(this,"ContainerSASPermissions")}static parse(e){let r=new t;for(let n of e)switch(n){case"r":r.read=!0;break;case"a":r.add=!0;break;case"c":r.create=!0;break;case"w":r.write=!0;break;case"d":r.delete=!0;break;case"l":r.list=!0;break;case"t":r.tag=!0;break;case"x":r.deleteVersion=!0;break;case"m":r.move=!0;break;case"e":r.execute=!0;break;case"i":r.setImmutabilityPolicy=!0;break;case"y":r.permanentDelete=!0;break;case"f":r.filterByTags=!0;break;default:throw new RangeError(`Invalid permission ${n}`)}return r}static from(e){let r=new t;return e.read&&(r.read=!0),e.add&&(r.add=!0),e.create&&(r.create=!0),e.write&&(r.write=!0),e.delete&&(r.delete=!0),e.list&&(r.list=!0),e.deleteVersion&&(r.deleteVersion=!0),e.tag&&(r.tag=!0),e.move&&(r.move=!0),e.execute&&(r.execute=!0),e.setImmutabilityPolicy&&(r.setImmutabilityPolicy=!0),e.permanentDelete&&(r.permanentDelete=!0),e.filterByTags&&(r.filterByTags=!0),r}read=!1;add=!1;create=!1;write=!1;delete=!1;deleteVersion=!1;list=!1;tag=!1;move=!1;execute=!1;setImmutabilityPolicy=!1;permanentDelete=!1;filterByTags=!1;toString(){let e=[];return this.read&&e.push("r"),this.add&&e.push("a"),this.create&&e.push("c"),this.write&&e.push("w"),this.delete&&e.push("d"),this.deleteVersion&&e.push("x"),this.list&&e.push("l"),this.tag&&e.push("t"),this.move&&e.push("m"),this.execute&&e.push("e"),this.setImmutabilityPolicy&&e.push("i"),this.permanentDelete&&e.push("y"),this.filterByTags&&e.push("f"),e.join("")}};og.ContainerSASPermissions=zx});var ag=g(Gx=>{"use strict";Object.defineProperty(Gx,"__esModule",{value:!0});Gx.ipRangeToString=rMe;function rMe(t){return t.end?`${t.start}-${t.end}`:t.start}o(rMe,"ipRangeToString")});var lg=g(Cl=>{"use strict";Object.defineProperty(Cl,"__esModule",{value:!0});Cl.SASQueryParameters=Cl.SASProtocol=void 0;var nMe=ag(),cg=Rn(),B3;(function(t){t.Https="https",t.HttpsAndHttp="https,http"})(B3||(Cl.SASProtocol=B3={}));var Yx=class{static{o(this,"SASQueryParameters")}version;protocol;startsOn;expiresOn;permissions;services;resourceTypes;identifier;delegatedUserObjectId;encryptionScope;resource;signature;cacheControl;contentDisposition;contentEncoding;contentLanguage;contentType;ipRangeInner;signedOid;signedTenantId;signedStartsOn;signedExpiresOn;signedService;signedVersion;preauthorizedAgentObjectId;correlationId;get ipRange(){if(this.ipRangeInner)return{end:this.ipRangeInner.end,start:this.ipRangeInner.start}}constructor(e,r,n,i,s,a,c,l,A,u,d,f,m,C,Q,S,w,R,T,L,W){this.version=e,this.signature=r,n!==void 0&&typeof n!="string"?(this.permissions=n.permissions,this.services=n.services,this.resourceTypes=n.resourceTypes,this.protocol=n.protocol,this.startsOn=n.startsOn,this.expiresOn=n.expiresOn,this.ipRangeInner=n.ipRange,this.identifier=n.identifier,this.delegatedUserObjectId=n.delegatedUserObjectId,this.encryptionScope=n.encryptionScope,this.resource=n.resource,this.cacheControl=n.cacheControl,this.contentDisposition=n.contentDisposition,this.contentEncoding=n.contentEncoding,this.contentLanguage=n.contentLanguage,this.contentType=n.contentType,n.userDelegationKey&&(this.signedOid=n.userDelegationKey.signedObjectId,this.signedTenantId=n.userDelegationKey.signedTenantId,this.signedStartsOn=n.userDelegationKey.signedStartsOn,this.signedExpiresOn=n.userDelegationKey.signedExpiresOn,this.signedService=n.userDelegationKey.signedService,this.signedVersion=n.userDelegationKey.signedVersion,this.preauthorizedAgentObjectId=n.preauthorizedAgentObjectId,this.correlationId=n.correlationId)):(this.services=i,this.resourceTypes=s,this.expiresOn=l,this.permissions=n,this.protocol=a,this.startsOn=c,this.ipRangeInner=A,this.delegatedUserObjectId=W,this.encryptionScope=L,this.identifier=u,this.resource=d,this.cacheControl=f,this.contentDisposition=m,this.contentEncoding=C,this.contentLanguage=Q,this.contentType=S,w&&(this.signedOid=w.signedObjectId,this.signedTenantId=w.signedTenantId,this.signedStartsOn=w.signedStartsOn,this.signedExpiresOn=w.signedExpiresOn,this.signedService=w.signedService,this.signedVersion=w.signedVersion,this.preauthorizedAgentObjectId=R,this.correlationId=T))}toString(){let e=["sv","ss","srt","spr","st","se","sip","si","ses","skoid","sktid","skt","ske","sks","skv","sr","sp","sig","rscc","rscd","rsce","rscl","rsct","saoid","scid","sduoid"],r=[];for(let n of e)switch(n){case"sv":this.tryAppendQueryParameter(r,n,this.version);break;case"ss":this.tryAppendQueryParameter(r,n,this.services);break;case"srt":this.tryAppendQueryParameter(r,n,this.resourceTypes);break;case"spr":this.tryAppendQueryParameter(r,n,this.protocol);break;case"st":this.tryAppendQueryParameter(r,n,this.startsOn?(0,cg.truncatedISO8061Date)(this.startsOn,!1):void 0);break;case"se":this.tryAppendQueryParameter(r,n,this.expiresOn?(0,cg.truncatedISO8061Date)(this.expiresOn,!1):void 0);break;case"sip":this.tryAppendQueryParameter(r,n,this.ipRange?(0,nMe.ipRangeToString)(this.ipRange):void 0);break;case"si":this.tryAppendQueryParameter(r,n,this.identifier);break;case"ses":this.tryAppendQueryParameter(r,n,this.encryptionScope);break;case"skoid":this.tryAppendQueryParameter(r,n,this.signedOid);break;case"sktid":this.tryAppendQueryParameter(r,n,this.signedTenantId);break;case"skt":this.tryAppendQueryParameter(r,n,this.signedStartsOn?(0,cg.truncatedISO8061Date)(this.signedStartsOn,!1):void 0);break;case"ske":this.tryAppendQueryParameter(r,n,this.signedExpiresOn?(0,cg.truncatedISO8061Date)(this.signedExpiresOn,!1):void 0);break;case"sks":this.tryAppendQueryParameter(r,n,this.signedService);break;case"skv":this.tryAppendQueryParameter(r,n,this.signedVersion);break;case"sr":this.tryAppendQueryParameter(r,n,this.resource);break;case"sp":this.tryAppendQueryParameter(r,n,this.permissions);break;case"sig":this.tryAppendQueryParameter(r,n,this.signature);break;case"rscc":this.tryAppendQueryParameter(r,n,this.cacheControl);break;case"rscd":this.tryAppendQueryParameter(r,n,this.contentDisposition);break;case"rsce":this.tryAppendQueryParameter(r,n,this.contentEncoding);break;case"rscl":this.tryAppendQueryParameter(r,n,this.contentLanguage);break;case"rsct":this.tryAppendQueryParameter(r,n,this.contentType);break;case"saoid":this.tryAppendQueryParameter(r,n,this.preauthorizedAgentObjectId);break;case"scid":this.tryAppendQueryParameter(r,n,this.correlationId);break;case"sduoid":this.tryAppendQueryParameter(r,n,this.delegatedUserObjectId);break}return r.join("&")}tryAppendQueryParameter(e,r,n){n&&(r=encodeURIComponent(r),n=encodeURIComponent(n),r.length>0&&n.length>0&&e.push(`${r}=${n}`))}};Cl.SASQueryParameters=Yx});var ug=g(Ag=>{"use strict";Object.defineProperty(Ag,"__esModule",{value:!0});Ag.generateBlobSASQueryParameters=oMe;Ag.generateBlobSASQueryParametersInternal=b3;var sa=Hx(),oa=jx(),iMe=ei(),aa=ag(),ca=lg(),I3=en(),yt=Rn(),sMe=ei();function oMe(t,e,r){return b3(t,e,r).sasQueryParameters}o(oMe,"generateBlobSASQueryParameters");function b3(t,e,r){let n=t.version?t.version:I3.SERVICE_VERSION,i=e instanceof iMe.StorageSharedKeyCredential?e:void 0,s;if(i===void 0&&r!==void 0&&(s=new sMe.UserDelegationKeyCredential(r,e)),i===void 0&&s===void 0)throw TypeError("Invalid sharedKeyCredential, userDelegationKey or accountName.");if(n>="2020-12-06")return i!==void 0?lMe(t,i):n>="2025-07-05"?pMe(t,s):dMe(t,s);if(n>="2018-11-09")return i!==void 0?cMe(t,i):n>="2020-02-10"?uMe(t,s):AMe(t,s);if(n>="2015-04-05"){if(i!==void 0)return aMe(t,i);throw new RangeError("'version' must be >= '2018-11-09' when generating user delegation SAS using user delegation key.")}throw new RangeError("'version' must be >= '2015-04-05'.")}o(b3,"generateBlobSASQueryParametersInternal");function aMe(t,e){if(t=Aa(t),!t.identifier&&!(t.permissions&&t.expiresOn))throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c";t.blobName&&(r="b");let n;t.permissions&&(t.blobName?n=sa.BlobSASPermissions.parse(t.permissions.toString()).toString():n=oa.ContainerSASPermissions.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?(0,yt.truncatedISO8061Date)(t.startsOn,!1):"",t.expiresOn?(0,yt.truncatedISO8061Date)(t.expiresOn,!1):"",la(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?(0,aa.ipRangeToString)(t.ipRange):"",t.protocol?t.protocol:"",t.version,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(` -`),s=e.computeHMACSHA256(i);return{sasQueryParameters:new ca.SASQueryParameters(t.version,s,n,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType),stringToSign:i}}o(aMe,"generateBlobSASQueryParameters20150405");function cMe(t,e){if(t=Aa(t),!t.identifier&&!(t.permissions&&t.expiresOn))throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let i;t.permissions&&(t.blobName?i=sa.BlobSASPermissions.parse(t.permissions.toString()).toString():i=oa.ContainerSASPermissions.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?(0,yt.truncatedISO8061Date)(t.startsOn,!1):"",t.expiresOn?(0,yt.truncatedISO8061Date)(t.expiresOn,!1):"",la(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?(0,aa.ipRangeToString)(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(` -`),a=e.computeHMACSHA256(s);return{sasQueryParameters:new ca.SASQueryParameters(t.version,a,i,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType),stringToSign:s}}o(cMe,"generateBlobSASQueryParameters20181109");function lMe(t,e){if(t=Aa(t),!t.identifier&&!(t.permissions&&t.expiresOn))throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let i;t.permissions&&(t.blobName?i=sa.BlobSASPermissions.parse(t.permissions.toString()).toString():i=oa.ContainerSASPermissions.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?(0,yt.truncatedISO8061Date)(t.startsOn,!1):"",t.expiresOn?(0,yt.truncatedISO8061Date)(t.expiresOn,!1):"",la(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?(0,aa.ipRangeToString)(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.encryptionScope,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(` -`),a=e.computeHMACSHA256(s);return{sasQueryParameters:new ca.SASQueryParameters(t.version,a,i,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,void 0,void 0,void 0,t.encryptionScope),stringToSign:s}}o(lMe,"generateBlobSASQueryParameters20201206");function AMe(t,e){if(t=Aa(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let i;t.permissions&&(t.blobName?i=sa.BlobSASPermissions.parse(t.permissions.toString()).toString():i=oa.ContainerSASPermissions.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?(0,yt.truncatedISO8061Date)(t.startsOn,!1):"",t.expiresOn?(0,yt.truncatedISO8061Date)(t.expiresOn,!1):"",la(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?(0,yt.truncatedISO8061Date)(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?(0,yt.truncatedISO8061Date)(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.ipRange?(0,aa.ipRangeToString)(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(` -`),a=e.computeHMACSHA256(s);return{sasQueryParameters:new ca.SASQueryParameters(t.version,a,i,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey),stringToSign:s}}o(AMe,"generateBlobSASQueryParametersUDK20181109");function uMe(t,e){if(t=Aa(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let i;t.permissions&&(t.blobName?i=sa.BlobSASPermissions.parse(t.permissions.toString()).toString():i=oa.ContainerSASPermissions.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?(0,yt.truncatedISO8061Date)(t.startsOn,!1):"",t.expiresOn?(0,yt.truncatedISO8061Date)(t.expiresOn,!1):"",la(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?(0,yt.truncatedISO8061Date)(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?(0,yt.truncatedISO8061Date)(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?(0,aa.ipRangeToString)(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(` -`),a=e.computeHMACSHA256(s);return{sasQueryParameters:new ca.SASQueryParameters(t.version,a,i,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId),stringToSign:s}}o(uMe,"generateBlobSASQueryParametersUDK20200210");function dMe(t,e){if(t=Aa(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let i;t.permissions&&(t.blobName?i=sa.BlobSASPermissions.parse(t.permissions.toString()).toString():i=oa.ContainerSASPermissions.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?(0,yt.truncatedISO8061Date)(t.startsOn,!1):"",t.expiresOn?(0,yt.truncatedISO8061Date)(t.expiresOn,!1):"",la(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?(0,yt.truncatedISO8061Date)(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?(0,yt.truncatedISO8061Date)(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?(0,aa.ipRangeToString)(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(` -`),a=e.computeHMACSHA256(s);return{sasQueryParameters:new ca.SASQueryParameters(t.version,a,i,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId,t.encryptionScope),stringToSign:s}}o(dMe,"generateBlobSASQueryParametersUDK20201206");function pMe(t,e){if(t=Aa(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let i;t.permissions&&(t.blobName?i=sa.BlobSASPermissions.parse(t.permissions.toString()).toString():i=oa.ContainerSASPermissions.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?(0,yt.truncatedISO8061Date)(t.startsOn,!1):"",t.expiresOn?(0,yt.truncatedISO8061Date)(t.expiresOn,!1):"",la(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?(0,yt.truncatedISO8061Date)(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?(0,yt.truncatedISO8061Date)(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,void 0,t.delegatedUserObjectId,t.ipRange?(0,aa.ipRangeToString)(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(` -`),a=e.computeHMACSHA256(s);return{sasQueryParameters:new ca.SASQueryParameters(t.version,a,i,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId,t.encryptionScope,t.delegatedUserObjectId),stringToSign:s}}o(pMe,"generateBlobSASQueryParametersUDK20250705");function la(t,e,r){let n=[`/blob/${t}/${e}`];return r&&n.push(`/${r}`),n.join("")}o(la,"getCanonicalName");function Aa(t){let e=t.version?t.version:I3.SERVICE_VERSION;if(t.snapshotTime&&e<"2018-11-09")throw RangeError("'version' must be >= '2018-11-09' when providing 'snapshotTime'.");if(t.blobName===void 0&&t.snapshotTime)throw RangeError("Must provide 'blobName' when providing 'snapshotTime'.");if(t.versionId&&e<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'versionId'.");if(t.blobName===void 0&&t.versionId)throw RangeError("Must provide 'blobName' when providing 'versionId'.");if(t.permissions&&t.permissions.setImmutabilityPolicy&&e<"2020-08-04")throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.");if(t.permissions&&t.permissions.deleteVersion&&e<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'x' permission.");if(t.permissions&&t.permissions.permanentDelete&&e<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'y' permission.");if(t.permissions&&t.permissions.tag&&e<"2019-12-12")throw RangeError("'version' must be >= '2019-12-12' when providing 't' permission.");if(e<"2020-02-10"&&t.permissions&&(t.permissions.move||t.permissions.execute))throw RangeError("'version' must be >= '2020-02-10' when providing the 'm' or 'e' permission.");if(e<"2021-04-10"&&t.permissions&&t.permissions.filterByTags)throw RangeError("'version' must be >= '2021-04-10' when providing the 'f' permission.");if(e<"2020-02-10"&&(t.preauthorizedAgentObjectId||t.correlationId))throw RangeError("'version' must be >= '2020-02-10' when providing 'preauthorizedAgentObjectId' or 'correlationId'.");if(t.encryptionScope&&e<"2020-12-06")throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.");return t.version=e,t}o(Aa,"SASSignatureValuesSanityCheckAndAutofill")});var hg=g(pg=>{"use strict";Object.defineProperty(pg,"__esModule",{value:!0});pg.BlobLeaseClient=void 0;var hMe=pt(),vi=en(),Wu=ia(),dg=Rn(),Jx=class{static{o(this,"BlobLeaseClient")}_leaseId;_url;_containerOrBlobOperation;_isContainer;get leaseId(){return this._leaseId}get url(){return this._url}constructor(e,r){let n=e.storageClientContext;this._url=e.url,e.name===void 0?(this._isContainer=!0,this._containerOrBlobOperation=n.container):(this._isContainer=!1,this._containerOrBlobOperation=n.blob),r||(r=(0,hMe.randomUUID)()),this._leaseId=r}async acquireLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==vi.ETagNone||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==vi.ETagNone||r.conditions?.tagConditions))throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return Wu.tracingClient.withSpan("BlobLeaseClient-acquireLease",r,async n=>(0,dg.assertResponse)(await this._containerOrBlobOperation.acquireLease({abortSignal:r.abortSignal,duration:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},proposedLeaseId:this._leaseId,tracingOptions:n.tracingOptions})))}async changeLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==vi.ETagNone||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==vi.ETagNone||r.conditions?.tagConditions))throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return Wu.tracingClient.withSpan("BlobLeaseClient-changeLease",r,async n=>{let i=(0,dg.assertResponse)(await this._containerOrBlobOperation.changeLease(this._leaseId,e,{abortSignal:r.abortSignal,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions}));return this._leaseId=e,i})}async releaseLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==vi.ETagNone||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==vi.ETagNone||e.conditions?.tagConditions))throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return Wu.tracingClient.withSpan("BlobLeaseClient-releaseLease",e,async r=>(0,dg.assertResponse)(await this._containerOrBlobOperation.releaseLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}async renewLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==vi.ETagNone||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==vi.ETagNone||e.conditions?.tagConditions))throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return Wu.tracingClient.withSpan("BlobLeaseClient-renewLease",e,async r=>this._containerOrBlobOperation.renewLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:r.tracingOptions}))}async breakLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==vi.ETagNone||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==vi.ETagNone||r.conditions?.tagConditions))throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return Wu.tracingClient.withSpan("BlobLeaseClient-breakLease",r,async n=>{let i={abortSignal:r.abortSignal,breakPeriod:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions};return(0,dg.assertResponse)(await this._containerOrBlobOperation.breakLease(i))})}};pg.BlobLeaseClient=Jx});var Q3=g(fg=>{"use strict";Object.defineProperty(fg,"__esModule",{value:!0});fg.AbortError=void 0;var Vx=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};fg.AbortError=Vx});var Wx=g(mg=>{"use strict";Object.defineProperty(mg,"__esModule",{value:!0});mg.AbortError=void 0;var fMe=Q3();Object.defineProperty(mg,"AbortError",{enumerable:!0,get:function(){return fMe.AbortError}})});var w3=g(gg=>{"use strict";Object.defineProperty(gg,"__esModule",{value:!0});gg.RetriableReadableStream=void 0;var mMe=Wx(),gMe=require("node:stream"),$x=class extends gMe.Readable{static{o(this,"RetriableReadableStream")}start;offset;end;getter;source;retries=0;maxRetryRequests;onProgress;options;constructor(e,r,n,i,s={}){super({highWaterMark:s.highWaterMark}),this.getter=r,this.source=e,this.start=n,this.offset=n,this.end=n+i-1,this.maxRetryRequests=s.maxRetryRequests&&s.maxRetryRequests>=0?s.maxRetryRequests:0,this.onProgress=s.onProgress,this.options=s,this.setSourceEventHandlers()}_read(){this.source.resume()}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler),this.source.on("end",this.sourceErrorOrEndHandler),this.source.on("error",this.sourceErrorOrEndHandler),this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler),this.source.removeListener("end",this.sourceErrorOrEndHandler),this.source.removeListener("error",this.sourceErrorOrEndHandler),this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=e=>{if(this.options.doInjectErrorOnce){this.options.doInjectErrorOnce=void 0,this.source.pause(),this.sourceErrorOrEndHandler(),this.source.destroy();return}this.offset+=e.length,this.onProgress&&this.onProgress({loadedBytes:this.offset-this.start}),this.push(e)||this.source.pause()};sourceAbortedHandler=()=>{let e=new mMe.AbortError("The operation was aborted.");this.destroy(e)};sourceErrorOrEndHandler=e=>{if(e&&e.name==="AbortError"){this.destroy(e);return}this.removeSourceEventHandlers(),this.offset-1===this.end?this.push(null):this.offset<=this.end?this.retries{this.source=r,this.setSourceEventHandlers()}).catch(r=>{this.destroy(r)})):this.destroy(new Error(`Data corruption failure: received less data than required and reached maxRetires limitation. Received data offset: ${this.offset-1}, data needed offset: ${this.end}, retries: ${this.retries}, max retries: ${this.maxRetryRequests}`)):this.destroy(new Error(`Data corruption failure: Received more data than original request, data needed offset is ${this.end}, received offset: ${this.offset-1}`))};_destroy(e,r){this.removeSourceEventHandlers(),this.source.destroy(),r(e===null?void 0:e)}};gg.RetriableReadableStream=$x});var N3=g(yg=>{"use strict";Object.defineProperty(yg,"__esModule",{value:!0});yg.BlobDownloadResponse=void 0;var yMe=pt(),CMe=w3(),Kx=class{static{o(this,"BlobDownloadResponse")}get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){return this.originalResponse.copyCompletedOn}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get tagCount(){return this.originalResponse.tagCount}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get lastAccessed(){return this.originalResponse.lastAccessed}get createdOn(){return this.originalResponse.createdOn}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get versionId(){return this.originalResponse.versionId}get isCurrentVersion(){return this.originalResponse.isCurrentVersion}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get objectReplicationDestinationPolicyId(){return this.originalResponse.objectReplicationDestinationPolicyId}get objectReplicationSourceProperties(){return this.originalResponse.objectReplicationSourceProperties}get isSealed(){return this.originalResponse.isSealed}get immutabilityPolicyExpiresOn(){return this.originalResponse.immutabilityPolicyExpiresOn}get immutabilityPolicyMode(){return this.originalResponse.immutabilityPolicyMode}get legalHold(){return this.originalResponse.legalHold}get contentAsBlob(){return this.originalResponse.blobBody}get readableStreamBody(){return yMe.isNodeLike?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,r,n,i,s={}){this.originalResponse=e,this.blobDownloadStream=new CMe.RetriableReadableStream(this.originalResponse.readableStreamBody,r,n,i,s)}};yg.BlobDownloadResponse=Kx});var x3=g(Pi=>{"use strict";Object.defineProperty(Pi,"__esModule",{value:!0});Pi.AVRO_SCHEMA_KEY=Pi.AVRO_CODEC_KEY=Pi.AVRO_INIT_BYTES=Pi.AVRO_SYNC_MARKER_SIZE=void 0;Pi.AVRO_SYNC_MARKER_SIZE=16;Pi.AVRO_INIT_BYTES=new Uint8Array([79,98,106,1]);Pi.AVRO_CODEC_KEY="avro.codec";Pi.AVRO_SCHEMA_KEY="avro.schema"});var S3=g(El=>{"use strict";Object.defineProperty(El,"__esModule",{value:!0});El.AvroType=El.AvroParser=void 0;var Pr=class t{static{o(this,"AvroParser")}static async readFixedBytes(e,r,n={}){let i=await e.read(r,{abortSignal:n.abortSignal});if(i.length!==r)throw new Error("Hit stream end.");return i}static async readByte(e,r={}){return(await t.readFixedBytes(e,1,r))[0]}static async readZigZagLong(e,r={}){let n=0,i=0,s,a,c;do s=await t.readByte(e,r),a=s&128,n|=(s&127)<Number.MAX_SAFE_INTEGER)throw new Error("Integer overflow.");return l}return n>>1^-(n&1)}static async readLong(e,r={}){return t.readZigZagLong(e,r)}static async readInt(e,r={}){return t.readZigZagLong(e,r)}static async readNull(){return null}static async readBoolean(e,r={}){let n=await t.readByte(e,r);if(n===1)return!0;if(n===0)return!1;throw new Error("Byte was not a boolean.")}static async readFloat(e,r={}){let n=await t.readFixedBytes(e,4,r);return new DataView(n.buffer,n.byteOffset,n.byteLength).getFloat32(0,!0)}static async readDouble(e,r={}){let n=await t.readFixedBytes(e,8,r);return new DataView(n.buffer,n.byteOffset,n.byteLength).getFloat64(0,!0)}static async readBytes(e,r={}){let n=await t.readLong(e,r);if(n<0)throw new Error("Bytes size was negative.");return e.read(n,{abortSignal:r.abortSignal})}static async readString(e,r={}){let n=await t.readBytes(e,r);return new TextDecoder().decode(n)}static async readMapPair(e,r,n={}){let i=await t.readString(e,n),s=await r(e,n);return{key:i,value:s}}static async readMap(e,r,n={}){let i=o((c,l={})=>t.readMapPair(c,r,l),"readPairMethod"),s=await t.readArray(e,i,n),a={};for(let c of s)a[c.key]=c.value;return a}static async readArray(e,r,n={}){let i=[];for(let s=await t.readLong(e,n);s!==0;s=await t.readLong(e,n))for(s<0&&(await t.readLong(e,n),s=-s);s--;){let a=await r(e,n);i.push(a)}return i}};El.AvroParser=Pr;var ua;(function(t){t.RECORD="record",t.ENUM="enum",t.ARRAY="array",t.MAP="map",t.UNION="union",t.FIXED="fixed"})(ua||(ua={}));var Yt;(function(t){t.NULL="null",t.BOOLEAN="boolean",t.INT="int",t.LONG="long",t.FLOAT="float",t.DOUBLE="double",t.BYTES="bytes",t.STRING="string"})(Yt||(Yt={}));var ao=class t{static{o(this,"AvroType")}static fromSchema(e){return typeof e=="string"?t.fromStringSchema(e):Array.isArray(e)?t.fromArraySchema(e):t.fromObjectSchema(e)}static fromStringSchema(e){switch(e){case Yt.NULL:case Yt.BOOLEAN:case Yt.INT:case Yt.LONG:case Yt.FLOAT:case Yt.DOUBLE:case Yt.BYTES:case Yt.STRING:return new Xx(e);default:throw new Error(`Unexpected Avro type ${e}`)}}static fromArraySchema(e){return new eS(e.map(t.fromSchema))}static fromObjectSchema(e){let r=e.type;try{return t.fromStringSchema(r)}catch{}switch(r){case ua.RECORD:if(e.aliases)throw new Error(`aliases currently is not supported, schema: ${e}`);if(!e.name)throw new Error(`Required attribute 'name' doesn't exist on schema: ${e}`);let n={};if(!e.fields)throw new Error(`Required attribute 'fields' doesn't exist on schema: ${e}`);for(let i of e.fields)n[i.name]=t.fromSchema(i.type);return new rS(n,e.name);case ua.ENUM:if(e.aliases)throw new Error(`aliases currently is not supported, schema: ${e}`);if(!e.symbols)throw new Error(`Required attribute 'symbols' doesn't exist on schema: ${e}`);return new Zx(e.symbols);case ua.MAP:if(!e.values)throw new Error(`Required attribute 'values' doesn't exist on schema: ${e}`);return new tS(t.fromSchema(e.values));case ua.ARRAY:case ua.FIXED:default:throw new Error(`Unexpected Avro type ${r} in ${e}`)}}};El.AvroType=ao;var Xx=class extends ao{static{o(this,"AvroPrimitiveType")}_primitive;constructor(e){super(),this._primitive=e}read(e,r={}){switch(this._primitive){case Yt.NULL:return Pr.readNull();case Yt.BOOLEAN:return Pr.readBoolean(e,r);case Yt.INT:return Pr.readInt(e,r);case Yt.LONG:return Pr.readLong(e,r);case Yt.FLOAT:return Pr.readFloat(e,r);case Yt.DOUBLE:return Pr.readDouble(e,r);case Yt.BYTES:return Pr.readBytes(e,r);case Yt.STRING:return Pr.readString(e,r);default:throw new Error("Unknown Avro Primitive")}}},Zx=class extends ao{static{o(this,"AvroEnumType")}_symbols;constructor(e){super(),this._symbols=e}async read(e,r={}){let n=await Pr.readInt(e,r);return this._symbols[n]}},eS=class extends ao{static{o(this,"AvroUnionType")}_types;constructor(e){super(),this._types=e}async read(e,r={}){let n=await Pr.readInt(e,r);return this._types[n].read(e,r)}},tS=class extends ao{static{o(this,"AvroMapType")}_itemType;constructor(e){super(),this._itemType=e}read(e,r={}){let n=o((i,s)=>this._itemType.read(i,s),"readItemMethod");return Pr.readMap(e,n,r)}},rS=class extends ao{static{o(this,"AvroRecordType")}_name;_fields;constructor(e,r){super(),this._fields=e,this._name=r}async read(e,r={}){let n={};n.$schema=this._name;for(let i in this._fields)Object.prototype.hasOwnProperty.call(this._fields,i)&&(n[i]=await this._fields[i].read(e,r));return n}}});var R3=g(nS=>{"use strict";Object.defineProperty(nS,"__esModule",{value:!0});nS.arraysEqual=EMe;function EMe(t,e){if(t===e)return!0;if(t==null||e==null||t.length!==e.length)return!1;for(let r=0;r{"use strict";Object.defineProperty(Cg,"__esModule",{value:!0});Cg.AvroReader=void 0;var Bl=x3(),Di=S3(),_3=R3(),iS=class{static{o(this,"AvroReader")}_dataStream;_headerStream;_syncMarker;_metadata;_itemType;_itemsRemainingInBlock;_initialBlockOffset;_blockOffset;get blockOffset(){return this._blockOffset}_objectIndex;get objectIndex(){return this._objectIndex}_initialized;constructor(e,r,n,i){this._dataStream=e,this._headerStream=r||e,this._initialized=!1,this._blockOffset=n||0,this._objectIndex=i||0,this._initialBlockOffset=n||0}async initialize(e={}){let r=await Di.AvroParser.readFixedBytes(this._headerStream,Bl.AVRO_INIT_BYTES.length,{abortSignal:e.abortSignal});if(!(0,_3.arraysEqual)(r,Bl.AVRO_INIT_BYTES))throw new Error("Stream is not an Avro file.");this._metadata=await Di.AvroParser.readMap(this._headerStream,Di.AvroParser.readString,{abortSignal:e.abortSignal});let n=this._metadata[Bl.AVRO_CODEC_KEY];if(!(n==null||n==="null"))throw new Error("Codecs are not supported");this._syncMarker=await Di.AvroParser.readFixedBytes(this._headerStream,Bl.AVRO_SYNC_MARKER_SIZE,{abortSignal:e.abortSignal});let i=JSON.parse(this._metadata[Bl.AVRO_SCHEMA_KEY]);if(this._itemType=Di.AvroType.fromSchema(i),this._blockOffset===0&&(this._blockOffset=this._initialBlockOffset+this._dataStream.position),this._itemsRemainingInBlock=await Di.AvroParser.readLong(this._dataStream,{abortSignal:e.abortSignal}),await Di.AvroParser.readLong(this._dataStream,{abortSignal:e.abortSignal}),this._initialized=!0,this._objectIndex&&this._objectIndex>0)for(let s=0;s0}async*parseObjects(e={}){for(this._initialized||await this.initialize(e);this.hasNext();){let r=await this._itemType.read(this._dataStream,{abortSignal:e.abortSignal});if(this._itemsRemainingInBlock--,this._objectIndex++,this._itemsRemainingInBlock===0){let n=await Di.AvroParser.readFixedBytes(this._dataStream,Bl.AVRO_SYNC_MARKER_SIZE,{abortSignal:e.abortSignal});if(this._blockOffset=this._initialBlockOffset+this._dataStream.position,this._objectIndex=0,!(0,_3.arraysEqual)(this._syncMarker,n))throw new Error("Stream is not a valid Avro file.");try{this._itemsRemainingInBlock=await Di.AvroParser.readLong(this._dataStream,{abortSignal:e.abortSignal})}catch{this._itemsRemainingInBlock=0}this._itemsRemainingInBlock>0&&await Di.AvroParser.readLong(this._dataStream,{abortSignal:e.abortSignal})}yield r}}};Cg.AvroReader=iS});var oS=g(Eg=>{"use strict";Object.defineProperty(Eg,"__esModule",{value:!0});Eg.AvroReadable=void 0;var sS=class{static{o(this,"AvroReadable")}};Eg.AvroReadable=sS});var D3=g(Bg=>{"use strict";Object.defineProperty(Bg,"__esModule",{value:!0});Bg.AvroReadableFromStream=void 0;var BMe=oS(),IMe=Wx(),bMe=require("buffer"),P3=new IMe.AbortError("Reading from the avro stream was aborted."),aS=class extends BMe.AvroReadable{static{o(this,"AvroReadableFromStream")}_position;_readable;toUint8Array(e){return typeof e=="string"?bMe.Buffer.from(e):e}constructor(e){super(),this._readable=e,this._position=0}get position(){return this._position}async read(e,r={}){if(r.abortSignal?.aborted)throw P3;if(e<0)throw new Error(`size parameter should be positive: ${e}`);if(e===0)return new Uint8Array;if(!this._readable.readable)throw new Error("Stream no longer readable.");let n=this._readable.read(e);return n?(this._position+=n.length,this.toUint8Array(n)):new Promise((i,s)=>{let a=o(()=>{this._readable.removeListener("readable",c),this._readable.removeListener("error",l),this._readable.removeListener("end",l),this._readable.removeListener("close",l),r.abortSignal&&r.abortSignal.removeEventListener("abort",A)},"cleanUp"),c=o(()=>{let u=this._readable.read(e);u&&(this._position+=u.length,a(),i(this.toUint8Array(u)))},"readableCallback"),l=o(()=>{a(),s()},"rejectCallback"),A=o(()=>{a(),s(P3)},"abortHandler");this._readable.on("readable",c),this._readable.once("error",l),this._readable.once("end",l),this._readable.once("close",l),r.abortSignal&&r.abortSignal.addEventListener("abort",A)})}};Bg.AvroReadableFromStream=aS});var T3=g(co=>{"use strict";Object.defineProperty(co,"__esModule",{value:!0});co.AvroReadableFromStream=co.AvroReadable=co.AvroReader=void 0;var QMe=v3();Object.defineProperty(co,"AvroReader",{enumerable:!0,get:function(){return QMe.AvroReader}});var wMe=oS();Object.defineProperty(co,"AvroReadable",{enumerable:!0,get:function(){return wMe.AvroReadable}});var NMe=D3();Object.defineProperty(co,"AvroReadableFromStream",{enumerable:!0,get:function(){return NMe.AvroReadableFromStream}})});var M3=g(Ig=>{"use strict";Object.defineProperty(Ig,"__esModule",{value:!0});Ig.BlobQuickQueryStream=void 0;var xMe=require("node:stream"),O3=T3(),cS=class extends xMe.Readable{static{o(this,"BlobQuickQueryStream")}source;avroReader;avroIter;avroPaused=!0;onProgress;onError;constructor(e,r={}){super(),this.source=e,this.onProgress=r.onProgress,this.onError=r.onError,this.avroReader=new O3.AvroReader(new O3.AvroReadableFromStream(this.source)),this.avroIter=this.avroReader.parseObjects({abortSignal:r.abortSignal})}_read(){this.avroPaused&&this.readInternal().catch(e=>{this.emit("error",e)})}async readInternal(){this.avroPaused=!1;let e;do{if(e=await this.avroIter.next(),e.done)break;let r=e.value,n=r.$schema;if(typeof n!="string")throw Error("Missing schema in avro record.");switch(n){case"com.microsoft.azure.storage.queryBlobContents.resultData":{let i=r.data;if(!(i instanceof Uint8Array))throw Error("Invalid data in avro result record.");this.push(Buffer.from(i))||(this.avroPaused=!0)}break;case"com.microsoft.azure.storage.queryBlobContents.progress":{let i=r.bytesScanned;if(typeof i!="number")throw Error("Invalid bytesScanned in avro progress record.");this.onProgress&&this.onProgress({loadedBytes:i})}break;case"com.microsoft.azure.storage.queryBlobContents.end":if(this.onProgress){let i=r.totalBytes;if(typeof i!="number")throw Error("Invalid totalBytes in avro end record.");this.onProgress({loadedBytes:i})}this.push(null);break;case"com.microsoft.azure.storage.queryBlobContents.error":if(this.onError){let i=r.fatal;if(typeof i!="boolean")throw Error("Invalid fatal in avro error record.");let s=r.name;if(typeof s!="string")throw Error("Invalid name in avro error record.");let a=r.description;if(typeof a!="string")throw Error("Invalid description in avro error record.");let c=r.position;if(typeof c!="number")throw Error("Invalid position in avro error record.");this.onError({position:c,name:s,isFatal:i,description:a})}break;default:throw Error(`Unknown schema ${n} in avro progress record.`)}}while(!e.done&&!this.avroPaused)}};Ig.BlobQuickQueryStream=cS});var k3=g(bg=>{"use strict";Object.defineProperty(bg,"__esModule",{value:!0});bg.BlobQueryResponse=void 0;var SMe=pt(),RMe=M3(),lS=class{static{o(this,"BlobQueryResponse")}get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get blobBody(){}get readableStreamBody(){return SMe.isNodeLike?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,r={}){this.originalResponse=e,this.blobDownloadStream=new RMe.BlobQuickQueryStream(this.originalResponse.readableStreamBody,r)}};bg.BlobQueryResponse=lS});var AS=g(ti=>{"use strict";Object.defineProperty(ti,"__esModule",{value:!0});ti.StorageBlobAudience=ti.PremiumPageBlobTier=ti.BlockBlobTier=void 0;ti.toAccessTier=vMe;ti.ensureCpkIfSpecified=PMe;ti.getBlobServiceAccountAudience=DMe;var _Me=en(),L3;(function(t){t.Hot="Hot",t.Cool="Cool",t.Cold="Cold",t.Archive="Archive"})(L3||(ti.BlockBlobTier=L3={}));var U3;(function(t){t.P4="P4",t.P6="P6",t.P10="P10",t.P15="P15",t.P20="P20",t.P30="P30",t.P40="P40",t.P50="P50",t.P60="P60",t.P70="P70",t.P80="P80"})(U3||(ti.PremiumPageBlobTier=U3={}));function vMe(t){if(t!==void 0)return t}o(vMe,"toAccessTier");function PMe(t,e){if(t&&!e)throw new RangeError("Customer-provided encryption key must be used over HTTPS.");t&&!t.encryptionAlgorithm&&(t.encryptionAlgorithm=_Me.EncryptionAlgorithmAES25)}o(PMe,"ensureCpkIfSpecified");var F3;(function(t){t.StorageOAuthScopes="https://storage.azure.com/.default",t.DiskComputeOAuthScopes="https://disk.compute.azure.com/.default"})(F3||(ti.StorageBlobAudience=F3={}));function DMe(t){return`https://${t}.blob.core.windows.net/.default`}o(DMe,"getBlobServiceAccountAudience")});var q3=g(uS=>{"use strict";Object.defineProperty(uS,"__esModule",{value:!0});uS.rangeResponseFromModel=TMe;function TMe(t){let e=(t._response.parsedBody.pageRange||[]).map(n=>({offset:n.start,count:n.end-n.start})),r=(t._response.parsedBody.clearRange||[]).map(n=>({offset:n.start,count:n.end-n.start}));return{...t,pageRange:e,clearRange:r,_response:{...t._response,parsedBody:{pageRange:e,clearRange:r}}}}o(TMe,"rangeResponseFromModel")});var X3=g(Il=>{"use strict";Object.defineProperty(Il,"__esModule",{value:!0});var OMe=require("os"),MMe=require("util");function kMe(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}o(kMe,"_interopDefaultLegacy");var LMe=kMe(MMe);function UMe(t,...e){process.stderr.write(`${LMe.default.format(t,...e)}${OMe.EOL}`)}o(UMe,"log");var H3=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,j3,dS=[],pS=[],Ng=[];H3&&hS(H3);var G3=Object.assign(t=>Y3(t),{enable:hS,enabled:fS,disable:FMe,log:UMe});function hS(t){j3=t,dS=[],pS=[];let e=/\*/g,r=t.split(",").map(n=>n.trim().replace(e,".*?"));for(let n of r)n.startsWith("-")?pS.push(new RegExp(`^${n.substr(1)}$`)):dS.push(new RegExp(`^${n}$`));for(let n of Ng)n.enabled=fS(n.namespace)}o(hS,"enable");function fS(t){if(t.endsWith("*"))return!0;for(let e of pS)if(e.test(t))return!1;for(let e of dS)if(e.test(t))return!0;return!1}o(fS,"enabled");function FMe(){let t=j3||"";return hS(""),t}o(FMe,"disable");function Y3(t){let e=Object.assign(r,{enabled:fS(t),destroy:qMe,log:G3.log,namespace:t,extend:HMe});function r(...n){e.enabled&&(n.length>0&&(n[0]=`${t} ${n[0]}`),e.log(...n))}return o(r,"debug"),Ng.push(e),e}o(Y3,"createDebugger");function qMe(){let t=Ng.indexOf(this);return t>=0?(Ng.splice(t,1),!0):!1}o(qMe,"destroy");function HMe(t){let e=Y3(`${this.namespace}:${t}`);return e.log=this.log,e}o(HMe,"extend");var $u=G3,J3=new Set,Qg=typeof process<"u"&&process.env&&process.env.AZURE_LOG_LEVEL||void 0,xg,Sg=$u("azure");Sg.log=(...t)=>{$u.log(...t)};var mS=["verbose","info","warning","error"];Qg&&(K3(Qg)?V3(Qg):console.error(`AZURE_LOG_LEVEL set to unknown log level '${Qg}'; logging is not enabled. Acceptable values: ${mS.join(", ")}.`));function V3(t){if(t&&!K3(t))throw new Error(`Unknown log level '${t}'. Acceptable values: ${mS.join(",")}`);xg=t;let e=[];for(let r of J3)$3(r)&&e.push(r.namespace);$u.enable(e.join(","))}o(V3,"setLogLevel");function zMe(){return xg}o(zMe,"getLogLevel");var z3={verbose:400,info:300,warning:200,error:100};function jMe(t){let e=Sg.extend(t);return W3(Sg,e),{error:wg(e,"error"),warning:wg(e,"warning"),info:wg(e,"info"),verbose:wg(e,"verbose")}}o(jMe,"createClientLogger");function W3(t,e){e.log=(...r)=>{t.log(...r)}}o(W3,"patchLogMethod");function wg(t,e){let r=Object.assign(t.extend(e),{level:e});if(W3(t,r),$3(r)){let n=$u.disable();$u.enable(n+","+r.namespace)}return J3.add(r),r}o(wg,"createLogger");function $3(t){return!!(xg&&z3[t.level]<=z3[xg])}o($3,"shouldEnable");function K3(t){return mS.includes(t)}o(K3,"isAzureLogLevel");Il.AzureLogger=Sg;Il.createClientLogger=jMe;Il.getLogLevel=zMe;Il.setLogLevel=V3});var _g=g(Xu=>{"use strict";Object.defineProperty(Xu,"__esModule",{value:!0});var bl=new WeakMap,Rg=new WeakMap,Ku=class t{static{o(this,"AbortSignal")}constructor(){this.onabort=null,bl.set(this,[]),Rg.set(this,!1)}get aborted(){if(!Rg.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");return Rg.get(this)}static get none(){return new t}addEventListener(e,r){if(!bl.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");bl.get(this).push(r)}removeEventListener(e,r){if(!bl.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");let n=bl.get(this),i=n.indexOf(r);i>-1&&n.splice(i,1)}dispatchEvent(e){throw new Error("This is a stub dispatchEvent implementation that should not be used. It only exists for type-checking purposes.")}};function Z3(t){if(t.aborted)return;t.onabort&&t.onabort.call(t);let e=bl.get(t);e&&e.slice().forEach(r=>{r.call(t,{type:"abort"})}),Rg.set(t,!0)}o(Z3,"abortSignal");var gS=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}},yS=class{static{o(this,"AbortController")}constructor(e){if(this._signal=new Ku,!!e){Array.isArray(e)||(e=arguments);for(let r of e)r.aborted?this.abort():r.addEventListener("abort",()=>{this.abort()})}}get signal(){return this._signal}abort(){Z3(this._signal)}static timeout(e){let r=new Ku,n=setTimeout(Z3,e,r);return typeof n.unref=="function"&&n.unref(),r}};Xu.AbortController=yS;Xu.AbortError=gS;Xu.AbortSignal=Ku});var iK=g(Ct=>{"use strict";Object.defineProperty(Ct,"__esModule",{value:!0});var GMe=_g(),wS=require("crypto");function eK(t,e){let{cleanupBeforeAbort:r,abortSignal:n,abortErrorMsg:i}=e??{};return new Promise((s,a)=>{function c(){a(new GMe.AbortError(i??"The operation was aborted."))}o(c,"rejectOnAbort");function l(){n?.removeEventListener("abort",A)}o(l,"removeListeners");function A(){r?.(),l(),c()}if(o(A,"onAbort"),n?.aborted)return c();try{t(u=>{l(),s(u)},u=>{l(),a(u)})}catch(u){a(u)}n?.addEventListener("abort",A)})}o(eK,"createAbortablePromise");var YMe="The delay was aborted.";function JMe(t,e){let r,{abortSignal:n,abortErrorMsg:i}=e??{};return eK(s=>{r=setTimeout(s,t)},{cleanupBeforeAbort:()=>clearTimeout(r),abortSignal:n,abortErrorMsg:i??YMe})}o(JMe,"delay");function VMe(t,e){return t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t+1))+t}o(VMe,"getRandomIntegerInclusive");function tK(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}o(tK,"isObject");function rK(t){if(tK(t)){let e=typeof t.name=="string",r=typeof t.message=="string";return e&&r}return!1}o(rK,"isError");function WMe(t){if(rK(t))return t.message;{let e;try{typeof t=="object"&&t?e=JSON.stringify(t):e=String(t)}catch{e="[unable to stringify input]"}return`Unknown error ${e}`}}o(WMe,"getErrorMessage");async function $Me(t,e,r){let n=Buffer.from(t,"base64");return wS.createHmac("sha256",n).update(e).digest(r)}o($Me,"computeSha256Hmac");async function KMe(t,e){return wS.createHash("sha256").update(t).digest(e)}o(KMe,"computeSha256Hash");function NS(t){return typeof t<"u"&&t!==null}o(NS,"isDefined");function XMe(t,e){if(!NS(t)||typeof t!="object")return!1;for(let r of e)if(!nK(t,r))return!1;return!0}o(XMe,"isObjectWithProperties");function nK(t,e){return NS(t)&&typeof t=="object"&&e in t}o(nK,"objectHasProperty");function ZMe(){let t="";for(let e=0;e<32;e++){let r=Math.floor(Math.random()*16);e===12?t+="4":e===16?t+=r&3|8:t+=r.toString(16),(e===7||e===11||e===15||e===19)&&(t+="-")}return t}o(ZMe,"generateUUID");var CS,QS=typeof((CS=globalThis?.crypto)===null||CS===void 0?void 0:CS.randomUUID)=="function"?globalThis.crypto.randomUUID.bind(globalThis.crypto):wS.randomUUID;QS||(QS=ZMe);function eke(){return QS()}o(eke,"randomUUID");var ES,BS,IS,bS,tke=typeof window<"u"&&typeof window.document<"u",rke=typeof self=="object"&&typeof self?.importScripts=="function"&&(((ES=self.constructor)===null||ES===void 0?void 0:ES.name)==="DedicatedWorkerGlobalScope"||((BS=self.constructor)===null||BS===void 0?void 0:BS.name)==="ServiceWorkerGlobalScope"||((IS=self.constructor)===null||IS===void 0?void 0:IS.name)==="SharedWorkerGlobalScope"),nke=typeof process<"u"&&!!process.version&&!!(!((bS=process.versions)===null||bS===void 0)&&bS.node),ike=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",ske=typeof Bun<"u"&&typeof Bun.version<"u",oke=typeof navigator<"u"&&navigator?.product==="ReactNative";function ake(t,e){switch(e){case"utf-8":return uke(t);case"base64":return lke(t);case"base64url":return Ake(t)}}o(ake,"uint8ArrayToString");function cke(t,e){switch(e){case"utf-8":return dke(t);case"base64":return pke(t);case"base64url":return hke(t)}}o(cke,"stringToUint8Array");function lke(t){return Buffer.from(t).toString("base64")}o(lke,"uint8ArrayToBase64");function Ake(t){return Buffer.from(t).toString("base64url")}o(Ake,"uint8ArrayToBase64Url");function uke(t){return Buffer.from(t).toString("utf-8")}o(uke,"uint8ArrayToUtf8String");function dke(t){return Buffer.from(t)}o(dke,"utf8StringToUint8Array");function pke(t){return Buffer.from(t,"base64")}o(pke,"base64ToUint8Array");function hke(t){return Buffer.from(t,"base64url")}o(hke,"base64UrlToUint8Array");Ct.computeSha256Hash=KMe;Ct.computeSha256Hmac=$Me;Ct.createAbortablePromise=eK;Ct.delay=JMe;Ct.getErrorMessage=WMe;Ct.getRandomIntegerInclusive=VMe;Ct.isBrowser=tke;Ct.isBun=ske;Ct.isDefined=NS;Ct.isDeno=ike;Ct.isError=rK;Ct.isNode=nke;Ct.isObject=tK;Ct.isObjectWithProperties=XMe;Ct.isReactNative=oke;Ct.isWebWorker=rke;Ct.objectHasProperty=nK;Ct.randomUUID=eke;Ct.stringToUint8Array=cke;Ct.uint8ArrayToString=ake});var wK=g(pa=>{"use strict";Object.defineProperty(pa,"__esModule",{value:!0});var fke=X3(),sK=_g(),mke=iK(),da=fke.createClientLogger("core-lro"),aK=2e3,cK=["succeeded","canceled","failed"];function lK(t){try{return JSON.parse(t).state}catch{throw new Error(`Unable to deserialize input state: ${t}`)}}o(lK,"deserializeState");function oK(t){let{state:e,stateProxy:r,isOperationError:n}=t;return i=>{throw n(i)&&(r.setError(e,i),r.setFailed(e)),i}}o(oK,"setStateError");function gke(t,e){let r=t;return r.slice(-1)!=="."&&(r=r+"."),r+" "+e}o(gke,"appendReadableErrorMessage");function yke(t){let e=t.message,r=t.code,n=t;for(;n.innererror;)n=n.innererror,r=n.code,e=gke(e,n.message);return{code:r,message:e}}o(yke,"simplifyError");function AK(t){let{state:e,stateProxy:r,status:n,isDone:i,processResult:s,getError:a,response:c,setErrorAsResult:l}=t;switch(n){case"succeeded":{r.setSucceeded(e);break}case"failed":{let A=a?.(c),u="";if(A){let{code:f,message:m}=yke(A);u=`. ${f}. ${m}`}let d=`The long-running operation has failed${u}`;r.setError(e,new Error(d)),r.setFailed(e),da.warning(d);break}case"canceled":{r.setCanceled(e);break}}(i?.(c,e)||i===void 0&&["succeeded","canceled"].concat(l?[]:["failed"]).includes(n))&&r.setResult(e,Cke({response:c,state:e,processResult:s}))}o(AK,"processOperationStatus");function Cke(t){let{processResult:e,response:r,state:n}=t;return e?e(r,n):r}o(Cke,"buildResult");async function uK(t){let{init:e,stateProxy:r,processResult:n,getOperationStatus:i,withOperationLocation:s,setErrorAsResult:a}=t,{operationLocation:c,resourceLocation:l,metadata:A,response:u}=await e();c&&s?.(c,!1);let d={metadata:A,operationLocation:c,resourceLocation:l};da.verbose("LRO: Operation description:",d);let f=r.initState(d),m=i({response:u,state:f,operationLocation:c});return AK({state:f,status:m,stateProxy:r,response:u,setErrorAsResult:a,processResult:n}),f}o(uK,"initOperation");async function Eke(t){let{poll:e,state:r,stateProxy:n,operationLocation:i,getOperationStatus:s,getResourceLocation:a,isOperationError:c,options:l}=t,A=await e(i,l).catch(oK({state:r,stateProxy:n,isOperationError:c})),u=s(A,r);if(da.verbose(`LRO: Status: +`+n(s)+i(s),c=(0,_8e.createHmac)("sha256",t.accountKey).update(a,"utf8").digest("base64");s.headers.set(xn.HeaderConstants.AUTHORIZATION,`SharedKey ${t.accountName}:${c}`)}o(e,"signRequest");function r(s,a){let c=s.headers.get(a);return!c||a===xn.HeaderConstants.CONTENT_LENGTH&&c==="0"?"":c}o(r,"getHeaderValueToSign");function n(s){let a=[];for(let[l,u]of s.headers)l.toLowerCase().startsWith(xn.HeaderConstants.PREFIX_FOR_STORAGE)&&a.push({name:l,value:u});a.sort((l,u)=>(0,D8e.compareHeader)(l.name.toLowerCase(),u.name.toLowerCase())),a=a.filter((l,u,A)=>!(u>0&&l.name.toLowerCase()===A[u-1].name.toLowerCase()));let c="";return a.forEach(l=>{c+=`${l.name.toLowerCase().trimRight()}:${l.value.trimLeft()} +`}),c}o(n,"getCanonicalizedHeadersString");function i(s){let a=(0,LW.getURLPath)(s.url)||"/",c="";c+=`/${t.accountName}${a}`;let l=(0,LW.getURLQueries)(s.url),u={};if(l){let A=[];for(let d in l)if(Object.prototype.hasOwnProperty.call(l,d)){let f=d.toLowerCase();u[f]=l[d],A.push(f)}A.sort();for(let d of A)c+=` +${d}:${decodeURIComponent(u[d])}`}return c}return o(i,"getCanonicalizedResourceString"),{name:Fd.storageSharedKeyCredentialPolicyName,async sendRequest(s,a){return e(s),a(s)}}}o(k8e,"storageSharedKeyCredentialPolicy")});var FW=x(Hd=>{"use strict";Object.defineProperty(Hd,"__esModule",{value:!0});Hd.storageRequestFailureDetailsParserPolicyName=void 0;Hd.storageRequestFailureDetailsParserPolicy=T8e;Hd.storageRequestFailureDetailsParserPolicyName="storageRequestFailureDetailsParserPolicy";function T8e(){return{name:Hd.storageRequestFailureDetailsParserPolicyName,async sendRequest(t,e){try{return await e(t)}catch(r){throw typeof r=="object"&&r!==null&&r.response&&r.response.parsedBody&&r.response.parsedBody.code==="InvalidHeaderValue"&&r.response.parsedBody.HeaderName==="x-ms-version"&&(r.message=`The provided service version is not enabled on this storage account. Please see https://learn.microsoft.com/rest/api/storageservices/versioning-for-the-azure-storage-services for additional information. +`),r}}}}o(T8e,"storageRequestFailureDetailsParserPolicy")});var HW=x(wb=>{"use strict";Object.defineProperty(wb,"__esModule",{value:!0});wb.UserDelegationKeyCredential=void 0;var O8e=require("node:crypto"),GP=class{static{o(this,"UserDelegationKeyCredential")}accountName;userDelegationKey;key;constructor(e,r){this.accountName=e,this.userDelegationKey=r,this.key=Buffer.from(r.value,"base64")}computeHMACSHA256(e){return(0,O8e.createHmac)("sha256",this.key).update(e,"utf8").digest("base64")}};wb.UserDelegationKeyCredential=GP});var zs=x(Ar=>{"use strict";Object.defineProperty(Ar,"__esModule",{value:!0});Ar.BaseRequestPolicy=Ar.getCachedDefaultHttpClient=void 0;var In=(Wr(),cn(Vr));In.__exportStar(AW(),Ar);var M8e=dW();Object.defineProperty(Ar,"getCachedDefaultHttpClient",{enumerable:!0,get:o(function(){return M8e.getCachedDefaultHttpClient},"get")});In.__exportStar(hW(),Ar);In.__exportStar(wW(),Ar);In.__exportStar(QW(),Ar);In.__exportStar(gb(),Ar);In.__exportStar(NW(),Ar);In.__exportStar(FP(),Ar);var L8e=Xp();Object.defineProperty(Ar,"BaseRequestPolicy",{enumerable:!0,get:o(function(){return L8e.BaseRequestPolicy},"get")});In.__exportStar(BP(),Ar);In.__exportStar(fb(),Ar);In.__exportStar(DW(),Ar);In.__exportStar(kW(),Ar);In.__exportStar(MW(),Ar);In.__exportStar(RP(),Ar);In.__exportStar(UW(),Ar);In.__exportStar(FW(),Ar);In.__exportStar(HW(),Ar)});var Oi=x(ve=>{"use strict";Object.defineProperty(ve,"__esModule",{value:!0});ve.PathStylePorts=ve.BlobDoesNotUseCustomerSpecifiedEncryption=ve.BlobUsesCustomerSpecifiedEncryptionMsg=ve.StorageBlobLoggingAllowedQueryParameters=ve.StorageBlobLoggingAllowedHeaderNames=ve.DevelopmentConnectionString=ve.EncryptionAlgorithmAES25=ve.HTTP_VERSION_1_1=ve.HTTP_LINE_ENDING=ve.BATCH_MAX_PAYLOAD_IN_BYTES=ve.BATCH_MAX_REQUEST=ve.SIZE_1_MB=ve.ETagAny=ve.ETagNone=ve.HeaderConstants=ve.HTTPURLConnection=ve.URLConstants=ve.StorageOAuthScopes=ve.REQUEST_TIMEOUT=ve.DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS=ve.DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES=ve.DEFAULT_BLOCK_BUFFER_SIZE_BYTES=ve.BLOCK_BLOB_MAX_BLOCKS=ve.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES=ve.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES=ve.SERVICE_VERSION=ve.SDK_VERSION=void 0;ve.SDK_VERSION="12.31.0";ve.SERVICE_VERSION="2026-02-06";ve.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES=256*1024*1024;ve.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES=4e3*1024*1024;ve.BLOCK_BLOB_MAX_BLOCKS=5e4;ve.DEFAULT_BLOCK_BUFFER_SIZE_BYTES=8*1024*1024;ve.DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES=4*1024*1024;ve.DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS=5;ve.REQUEST_TIMEOUT=100*1e3;ve.StorageOAuthScopes="https://storage.azure.com/.default";ve.URLConstants={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};ve.HTTPURLConnection={HTTP_ACCEPTED:202,HTTP_CONFLICT:409,HTTP_NOT_FOUND:404,HTTP_PRECON_FAILED:412,HTTP_RANGE_NOT_SATISFIABLE:416};ve.HeaderConstants={AUTHORIZATION:"Authorization",AUTHORIZATION_SCHEME:"Bearer",CONTENT_ENCODING:"Content-Encoding",CONTENT_ID:"Content-ID",CONTENT_LANGUAGE:"Content-Language",CONTENT_LENGTH:"Content-Length",CONTENT_MD5:"Content-Md5",CONTENT_TRANSFER_ENCODING:"Content-Transfer-Encoding",CONTENT_TYPE:"Content-Type",COOKIE:"Cookie",DATE:"date",IF_MATCH:"if-match",IF_MODIFIED_SINCE:"if-modified-since",IF_NONE_MATCH:"if-none-match",IF_UNMODIFIED_SINCE:"if-unmodified-since",PREFIX_FOR_STORAGE:"x-ms-",RANGE:"Range",USER_AGENT:"User-Agent",X_MS_CLIENT_REQUEST_ID:"x-ms-client-request-id",X_MS_COPY_SOURCE:"x-ms-copy-source",X_MS_DATE:"x-ms-date",X_MS_ERROR_CODE:"x-ms-error-code",X_MS_VERSION:"x-ms-version",X_MS_CopySourceErrorCode:"x-ms-copy-source-error-code"};ve.ETagNone="";ve.ETagAny="*";ve.SIZE_1_MB=1*1024*1024;ve.BATCH_MAX_REQUEST=256;ve.BATCH_MAX_PAYLOAD_IN_BYTES=4*ve.SIZE_1_MB;ve.HTTP_LINE_ENDING=`\r +`;ve.HTTP_VERSION_1_1="HTTP/1.1";ve.EncryptionAlgorithmAES25="AES256";ve.DevelopmentConnectionString="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;";ve.StorageBlobLoggingAllowedHeaderNames=["Access-Control-Allow-Origin","Cache-Control","Content-Length","Content-Type","Date","Request-Id","traceparent","Transfer-Encoding","User-Agent","x-ms-client-request-id","x-ms-date","x-ms-error-code","x-ms-request-id","x-ms-return-client-request-id","x-ms-version","Accept-Ranges","Content-Disposition","Content-Encoding","Content-Language","Content-MD5","Content-Range","ETag","Last-Modified","Server","Vary","x-ms-content-crc64","x-ms-copy-action","x-ms-copy-completion-time","x-ms-copy-id","x-ms-copy-progress","x-ms-copy-status","x-ms-has-immutability-policy","x-ms-has-legal-hold","x-ms-lease-state","x-ms-lease-status","x-ms-range","x-ms-request-server-encrypted","x-ms-server-encrypted","x-ms-snapshot","x-ms-source-range","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","x-ms-access-tier","x-ms-access-tier-change-time","x-ms-access-tier-inferred","x-ms-account-kind","x-ms-archive-status","x-ms-blob-append-offset","x-ms-blob-cache-control","x-ms-blob-committed-block-count","x-ms-blob-condition-appendpos","x-ms-blob-condition-maxsize","x-ms-blob-content-disposition","x-ms-blob-content-encoding","x-ms-blob-content-language","x-ms-blob-content-length","x-ms-blob-content-md5","x-ms-blob-content-type","x-ms-blob-public-access","x-ms-blob-sequence-number","x-ms-blob-type","x-ms-copy-destination-snapshot","x-ms-creation-time","x-ms-default-encryption-scope","x-ms-delete-snapshots","x-ms-delete-type-permanent","x-ms-deny-encryption-scope-override","x-ms-encryption-algorithm","x-ms-if-sequence-number-eq","x-ms-if-sequence-number-le","x-ms-if-sequence-number-lt","x-ms-incremental-copy","x-ms-lease-action","x-ms-lease-break-period","x-ms-lease-duration","x-ms-lease-id","x-ms-lease-time","x-ms-page-write","x-ms-proposed-lease-id","x-ms-range-get-content-md5","x-ms-rehydrate-priority","x-ms-sequence-number-action","x-ms-sku-name","x-ms-source-content-md5","x-ms-source-if-match","x-ms-source-if-modified-since","x-ms-source-if-none-match","x-ms-source-if-unmodified-since","x-ms-tag-count","x-ms-encryption-key-sha256","x-ms-copy-source-error-code","x-ms-copy-source-status-code","x-ms-if-tags","x-ms-source-if-tags"];ve.StorageBlobLoggingAllowedQueryParameters=["comp","maxresults","rscc","rscd","rsce","rscl","rsct","se","si","sip","sp","spr","sr","srt","ss","st","sv","include","marker","prefix","copyid","restype","blockid","blocklisttype","delimiter","prevsnapshot","ske","skoid","sks","skt","sktid","skv","snapshot"];ve.BlobUsesCustomerSpecifiedEncryptionMsg="BlobUsesCustomerSpecifiedEncryption";ve.BlobDoesNotUseCustomerSpecifiedEncryption="BlobDoesNotUseCustomerSpecifiedEncryption";ve.PathStylePorts=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"]});var Lc=x(So=>{"use strict";Object.defineProperty(So,"__esModule",{value:!0});So.Pipeline=So.StorageOAuthScopes=void 0;So.isPipelineLike=F8e;So.newPipeline=H8e;So.getCoreClientOptions=z8e;So.getCredentialFromPipeline=YW;var jW=rb(),qW=Lr(),zW=Bo(),GW=dP(),jP=Nd(),U8e=sb(),Mi=zs(),eg=Oi();Object.defineProperty(So,"StorageOAuthScopes",{enumerable:!0,get:o(function(){return eg.StorageOAuthScopes},"get")});function F8e(t){if(!t||typeof t!="object")return!1;let e=t;return Array.isArray(e.factories)&&typeof e.options=="object"&&typeof e.toServiceClientOptions=="function"}o(F8e,"isPipelineLike");var Qb=class{static{o(this,"Pipeline")}factories;options;constructor(e,r={}){this.factories=e,this.options=r}toServiceClientOptions(){return{httpClient:this.options.httpClient,requestPolicyFactories:this.factories}}};So.Pipeline=Qb;function H8e(t,e={}){t||(t=new Mi.AnonymousCredential);let r=new Qb([],e);return r._credential=t,r}o(H8e,"newPipeline");function q8e(t){let e=[G8e,KW,j8e,Y8e,K8e,J8e,W8e];if(t.factories.length){let r=t.factories.filter(n=>!e.some(i=>i(n)));if(r.length){let n=r.some(i=>V8e(i));return{wrappedPolicies:(0,jW.createRequestPolicyFactoryPolicy)(r),afterRetry:n}}}}o(q8e,"processDownlevelPipeline");function z8e(t){let{httpClient:e,...r}=t.options,n=t._coreHttpClient;n||(n=e?(0,jW.convertHttpClient)(e):(0,Mi.getCachedDefaultHttpClient)(),t._coreHttpClient=n);let i=t._corePipeline;if(!i){let s=`azsdk-js-azure-storage-blob/${eg.SDK_VERSION}`,a=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${s}`:`${s}`;i=(0,zW.createClientPipeline)({...r,loggingOptions:{additionalAllowedHeaderNames:eg.StorageBlobLoggingAllowedHeaderNames,additionalAllowedQueryParameters:eg.StorageBlobLoggingAllowedQueryParameters,logger:U8e.logger.info},userAgentOptions:{userAgentPrefix:a},serializationOptions:{stringifyXML:GW.stringifyXML,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:GW.parseXML,serializerOptions:{xml:{xmlCharKey:"#"}}}}),i.removePolicy({phase:"Retry"}),i.removePolicy({name:qW.decompressResponsePolicyName}),i.addPolicy((0,Mi.storageCorrectContentLengthPolicy)()),i.addPolicy((0,Mi.storageRetryPolicy)(r.retryOptions),{phase:"Retry"}),i.addPolicy((0,Mi.storageRequestFailureDetailsParserPolicy)()),i.addPolicy((0,Mi.storageBrowserPolicy)());let c=q8e(t);c&&i.addPolicy(c.wrappedPolicies,c.afterRetry?{afterPhase:"Retry"}:void 0);let l=YW(t);(0,jP.isTokenCredential)(l)?i.addPolicy((0,qW.bearerTokenAuthenticationPolicy)({credential:l,scopes:r.audience??eg.StorageOAuthScopes,challengeCallbacks:{authorizeRequestOnChallenge:zW.authorizeRequestOnTenantChallenge}}),{phase:"Sign"}):l instanceof Mi.StorageSharedKeyCredential&&i.addPolicy((0,Mi.storageSharedKeyCredentialPolicy)({accountName:l.accountName,accountKey:l.accountKey}),{phase:"Sign"}),t._corePipeline=i}return{...r,allowInsecureConnection:!0,httpClient:n,pipeline:i}}o(z8e,"getCoreClientOptions");function YW(t){if(t._credential)return t._credential;let e=new Mi.AnonymousCredential;for(let r of t.factories)if((0,jP.isTokenCredential)(r.credential))e=r.credential;else if(KW(r))return r;return e}o(YW,"getCredentialFromPipeline");function KW(t){return t instanceof Mi.StorageSharedKeyCredential?!0:t.constructor.name==="StorageSharedKeyCredential"}o(KW,"isStorageSharedKeyCredential");function G8e(t){return t instanceof Mi.AnonymousCredential?!0:t.constructor.name==="AnonymousCredential"}o(G8e,"isAnonymousCredential");function j8e(t){return(0,jP.isTokenCredential)(t.credential)}o(j8e,"isCoreHttpBearerTokenFactory");function Y8e(t){return t instanceof Mi.StorageBrowserPolicyFactory?!0:t.constructor.name==="StorageBrowserPolicyFactory"}o(Y8e,"isStorageBrowserPolicyFactory");function K8e(t){return t instanceof Mi.StorageRetryPolicyFactory?!0:t.constructor.name==="StorageRetryPolicyFactory"}o(K8e,"isStorageRetryPolicyFactory");function J8e(t){return t.constructor.name==="TelemetryPolicyFactory"}o(J8e,"isStorageTelemetryPolicyFactory");function V8e(t){return t.constructor.name==="InjectorPolicyFactory"}o(V8e,"isInjectorPolicyFactory");function W8e(t){let e=["GenerateClientRequestIdPolicy","TracingPolicy","LogPolicy","ProxyPolicy","DisableResponseDecompressionPolicy","KeepAlivePolicy","DeserializationPolicy"],r={sendRequest:o(async a=>({request:a,headers:a.headers.clone(),status:500}),"sendRequest")},n={log(a,c){},shouldLog(a){return!1}},s=t.create(r,n).constructor.name;return e.some(a=>s.startsWith(a))}o(W8e,"isCoreHttpPolicyFactory")});var XW=x(No=>{"use strict";Object.defineProperty(No,"__esModule",{value:!0});No.KnownStorageErrorCode=No.KnownBlobExpiryOptions=No.KnownFileShareTokenIntent=No.KnownEncryptionAlgorithmType=void 0;var JW;(function(t){t.AES256="AES256"})(JW||(No.KnownEncryptionAlgorithmType=JW={}));var VW;(function(t){t.Backup="backup"})(VW||(No.KnownFileShareTokenIntent=VW={}));var WW;(function(t){t.NeverExpire="NeverExpire",t.RelativeToCreation="RelativeToCreation",t.RelativeToNow="RelativeToNow",t.Absolute="Absolute"})(WW||(No.KnownBlobExpiryOptions=WW={}));var $W;(function(t){t.AccountAlreadyExists="AccountAlreadyExists",t.AccountBeingCreated="AccountBeingCreated",t.AccountIsDisabled="AccountIsDisabled",t.AuthenticationFailed="AuthenticationFailed",t.AuthorizationFailure="AuthorizationFailure",t.ConditionHeadersNotSupported="ConditionHeadersNotSupported",t.ConditionNotMet="ConditionNotMet",t.EmptyMetadataKey="EmptyMetadataKey",t.InsufficientAccountPermissions="InsufficientAccountPermissions",t.InternalError="InternalError",t.InvalidAuthenticationInfo="InvalidAuthenticationInfo",t.InvalidHeaderValue="InvalidHeaderValue",t.InvalidHttpVerb="InvalidHttpVerb",t.InvalidInput="InvalidInput",t.InvalidMd5="InvalidMd5",t.InvalidMetadata="InvalidMetadata",t.InvalidQueryParameterValue="InvalidQueryParameterValue",t.InvalidRange="InvalidRange",t.InvalidResourceName="InvalidResourceName",t.InvalidUri="InvalidUri",t.InvalidXmlDocument="InvalidXmlDocument",t.InvalidXmlNodeValue="InvalidXmlNodeValue",t.Md5Mismatch="Md5Mismatch",t.MetadataTooLarge="MetadataTooLarge",t.MissingContentLengthHeader="MissingContentLengthHeader",t.MissingRequiredQueryParameter="MissingRequiredQueryParameter",t.MissingRequiredHeader="MissingRequiredHeader",t.MissingRequiredXmlNode="MissingRequiredXmlNode",t.MultipleConditionHeadersNotSupported="MultipleConditionHeadersNotSupported",t.OperationTimedOut="OperationTimedOut",t.OutOfRangeInput="OutOfRangeInput",t.OutOfRangeQueryParameterValue="OutOfRangeQueryParameterValue",t.RequestBodyTooLarge="RequestBodyTooLarge",t.ResourceTypeMismatch="ResourceTypeMismatch",t.RequestUrlFailedToParse="RequestUrlFailedToParse",t.ResourceAlreadyExists="ResourceAlreadyExists",t.ResourceNotFound="ResourceNotFound",t.ServerBusy="ServerBusy",t.UnsupportedHeader="UnsupportedHeader",t.UnsupportedXmlNode="UnsupportedXmlNode",t.UnsupportedQueryParameter="UnsupportedQueryParameter",t.UnsupportedHttpVerb="UnsupportedHttpVerb",t.AppendPositionConditionNotMet="AppendPositionConditionNotMet",t.BlobAlreadyExists="BlobAlreadyExists",t.BlobImmutableDueToPolicy="BlobImmutableDueToPolicy",t.BlobNotFound="BlobNotFound",t.BlobOverwritten="BlobOverwritten",t.BlobTierInadequateForContentLength="BlobTierInadequateForContentLength",t.BlobUsesCustomerSpecifiedEncryption="BlobUsesCustomerSpecifiedEncryption",t.BlockCountExceedsLimit="BlockCountExceedsLimit",t.BlockListTooLong="BlockListTooLong",t.CannotChangeToLowerTier="CannotChangeToLowerTier",t.CannotVerifyCopySource="CannotVerifyCopySource",t.ContainerAlreadyExists="ContainerAlreadyExists",t.ContainerBeingDeleted="ContainerBeingDeleted",t.ContainerDisabled="ContainerDisabled",t.ContainerNotFound="ContainerNotFound",t.ContentLengthLargerThanTierLimit="ContentLengthLargerThanTierLimit",t.CopyAcrossAccountsNotSupported="CopyAcrossAccountsNotSupported",t.CopyIdMismatch="CopyIdMismatch",t.FeatureVersionMismatch="FeatureVersionMismatch",t.IncrementalCopyBlobMismatch="IncrementalCopyBlobMismatch",t.IncrementalCopyOfEarlierVersionSnapshotNotAllowed="IncrementalCopyOfEarlierVersionSnapshotNotAllowed",t.IncrementalCopySourceMustBeSnapshot="IncrementalCopySourceMustBeSnapshot",t.InfiniteLeaseDurationRequired="InfiniteLeaseDurationRequired",t.InvalidBlobOrBlock="InvalidBlobOrBlock",t.InvalidBlobTier="InvalidBlobTier",t.InvalidBlobType="InvalidBlobType",t.InvalidBlockId="InvalidBlockId",t.InvalidBlockList="InvalidBlockList",t.InvalidOperation="InvalidOperation",t.InvalidPageRange="InvalidPageRange",t.InvalidSourceBlobType="InvalidSourceBlobType",t.InvalidSourceBlobUrl="InvalidSourceBlobUrl",t.InvalidVersionForPageBlobOperation="InvalidVersionForPageBlobOperation",t.LeaseAlreadyPresent="LeaseAlreadyPresent",t.LeaseAlreadyBroken="LeaseAlreadyBroken",t.LeaseIdMismatchWithBlobOperation="LeaseIdMismatchWithBlobOperation",t.LeaseIdMismatchWithContainerOperation="LeaseIdMismatchWithContainerOperation",t.LeaseIdMismatchWithLeaseOperation="LeaseIdMismatchWithLeaseOperation",t.LeaseIdMissing="LeaseIdMissing",t.LeaseIsBreakingAndCannotBeAcquired="LeaseIsBreakingAndCannotBeAcquired",t.LeaseIsBreakingAndCannotBeChanged="LeaseIsBreakingAndCannotBeChanged",t.LeaseIsBrokenAndCannotBeRenewed="LeaseIsBrokenAndCannotBeRenewed",t.LeaseLost="LeaseLost",t.LeaseNotPresentWithBlobOperation="LeaseNotPresentWithBlobOperation",t.LeaseNotPresentWithContainerOperation="LeaseNotPresentWithContainerOperation",t.LeaseNotPresentWithLeaseOperation="LeaseNotPresentWithLeaseOperation",t.MaxBlobSizeConditionNotMet="MaxBlobSizeConditionNotMet",t.NoAuthenticationInformation="NoAuthenticationInformation",t.NoPendingCopyOperation="NoPendingCopyOperation",t.OperationNotAllowedOnIncrementalCopyBlob="OperationNotAllowedOnIncrementalCopyBlob",t.PendingCopyOperation="PendingCopyOperation",t.PreviousSnapshotCannotBeNewer="PreviousSnapshotCannotBeNewer",t.PreviousSnapshotNotFound="PreviousSnapshotNotFound",t.PreviousSnapshotOperationNotSupported="PreviousSnapshotOperationNotSupported",t.SequenceNumberConditionNotMet="SequenceNumberConditionNotMet",t.SequenceNumberIncrementTooLarge="SequenceNumberIncrementTooLarge",t.SnapshotCountExceeded="SnapshotCountExceeded",t.SnapshotOperationRateExceeded="SnapshotOperationRateExceeded",t.SnapshotsPresent="SnapshotsPresent",t.SourceConditionNotMet="SourceConditionNotMet",t.SystemInUse="SystemInUse",t.TargetConditionNotMet="TargetConditionNotMet",t.UnauthorizedBlobOverwrite="UnauthorizedBlobOverwrite",t.BlobBeingRehydrated="BlobBeingRehydrated",t.BlobArchived="BlobArchived",t.BlobNotArchived="BlobNotArchived",t.AuthorizationSourceIPMismatch="AuthorizationSourceIPMismatch",t.AuthorizationProtocolMismatch="AuthorizationProtocolMismatch",t.AuthorizationPermissionMismatch="AuthorizationPermissionMismatch",t.AuthorizationServiceMismatch="AuthorizationServiceMismatch",t.AuthorizationResourceTypeMismatch="AuthorizationResourceTypeMismatch",t.BlobAccessTierNotSupportedForAccountType="BlobAccessTierNotSupportedForAccountType"})($W||(No.KnownStorageErrorCode=$W={}))});var Uc=x(S=>{"use strict";Object.defineProperty(S,"__esModule",{value:!0});S.ServiceGetUserDelegationKeyHeaders=S.ServiceListContainersSegmentExceptionHeaders=S.ServiceListContainersSegmentHeaders=S.ServiceGetStatisticsExceptionHeaders=S.ServiceGetStatisticsHeaders=S.ServiceGetPropertiesExceptionHeaders=S.ServiceGetPropertiesHeaders=S.ServiceSetPropertiesExceptionHeaders=S.ServiceSetPropertiesHeaders=S.ArrowField=S.ArrowConfiguration=S.JsonTextConfiguration=S.DelimitedTextConfiguration=S.QueryFormat=S.QuerySerialization=S.QueryRequest=S.ClearRange=S.PageRange=S.PageList=S.Block=S.BlockList=S.BlockLookupList=S.BlobPrefix=S.BlobHierarchyListSegment=S.ListBlobsHierarchySegmentResponse=S.BlobPropertiesInternal=S.BlobName=S.BlobItemInternal=S.BlobFlatListSegment=S.ListBlobsFlatSegmentResponse=S.AccessPolicy=S.SignedIdentifier=S.BlobTag=S.BlobTags=S.FilterBlobItem=S.FilterBlobSegment=S.UserDelegationKey=S.KeyInfo=S.ContainerProperties=S.ContainerItem=S.ListContainersSegmentResponse=S.GeoReplication=S.BlobServiceStatistics=S.StorageError=S.StaticWebsite=S.CorsRule=S.Metrics=S.RetentionPolicy=S.Logging=S.BlobServiceProperties=void 0;S.BlobUndeleteHeaders=S.BlobDeleteExceptionHeaders=S.BlobDeleteHeaders=S.BlobGetPropertiesExceptionHeaders=S.BlobGetPropertiesHeaders=S.BlobDownloadExceptionHeaders=S.BlobDownloadHeaders=S.ContainerGetAccountInfoExceptionHeaders=S.ContainerGetAccountInfoHeaders=S.ContainerListBlobHierarchySegmentExceptionHeaders=S.ContainerListBlobHierarchySegmentHeaders=S.ContainerListBlobFlatSegmentExceptionHeaders=S.ContainerListBlobFlatSegmentHeaders=S.ContainerChangeLeaseExceptionHeaders=S.ContainerChangeLeaseHeaders=S.ContainerBreakLeaseExceptionHeaders=S.ContainerBreakLeaseHeaders=S.ContainerRenewLeaseExceptionHeaders=S.ContainerRenewLeaseHeaders=S.ContainerReleaseLeaseExceptionHeaders=S.ContainerReleaseLeaseHeaders=S.ContainerAcquireLeaseExceptionHeaders=S.ContainerAcquireLeaseHeaders=S.ContainerFilterBlobsExceptionHeaders=S.ContainerFilterBlobsHeaders=S.ContainerSubmitBatchExceptionHeaders=S.ContainerSubmitBatchHeaders=S.ContainerRenameExceptionHeaders=S.ContainerRenameHeaders=S.ContainerRestoreExceptionHeaders=S.ContainerRestoreHeaders=S.ContainerSetAccessPolicyExceptionHeaders=S.ContainerSetAccessPolicyHeaders=S.ContainerGetAccessPolicyExceptionHeaders=S.ContainerGetAccessPolicyHeaders=S.ContainerSetMetadataExceptionHeaders=S.ContainerSetMetadataHeaders=S.ContainerDeleteExceptionHeaders=S.ContainerDeleteHeaders=S.ContainerGetPropertiesExceptionHeaders=S.ContainerGetPropertiesHeaders=S.ContainerCreateExceptionHeaders=S.ContainerCreateHeaders=S.ServiceFilterBlobsExceptionHeaders=S.ServiceFilterBlobsHeaders=S.ServiceSubmitBatchExceptionHeaders=S.ServiceSubmitBatchHeaders=S.ServiceGetAccountInfoExceptionHeaders=S.ServiceGetAccountInfoHeaders=S.ServiceGetUserDelegationKeyExceptionHeaders=void 0;S.PageBlobGetPageRangesHeaders=S.PageBlobUploadPagesFromURLExceptionHeaders=S.PageBlobUploadPagesFromURLHeaders=S.PageBlobClearPagesExceptionHeaders=S.PageBlobClearPagesHeaders=S.PageBlobUploadPagesExceptionHeaders=S.PageBlobUploadPagesHeaders=S.PageBlobCreateExceptionHeaders=S.PageBlobCreateHeaders=S.BlobSetTagsExceptionHeaders=S.BlobSetTagsHeaders=S.BlobGetTagsExceptionHeaders=S.BlobGetTagsHeaders=S.BlobQueryExceptionHeaders=S.BlobQueryHeaders=S.BlobGetAccountInfoExceptionHeaders=S.BlobGetAccountInfoHeaders=S.BlobSetTierExceptionHeaders=S.BlobSetTierHeaders=S.BlobAbortCopyFromURLExceptionHeaders=S.BlobAbortCopyFromURLHeaders=S.BlobCopyFromURLExceptionHeaders=S.BlobCopyFromURLHeaders=S.BlobStartCopyFromURLExceptionHeaders=S.BlobStartCopyFromURLHeaders=S.BlobCreateSnapshotExceptionHeaders=S.BlobCreateSnapshotHeaders=S.BlobBreakLeaseExceptionHeaders=S.BlobBreakLeaseHeaders=S.BlobChangeLeaseExceptionHeaders=S.BlobChangeLeaseHeaders=S.BlobRenewLeaseExceptionHeaders=S.BlobRenewLeaseHeaders=S.BlobReleaseLeaseExceptionHeaders=S.BlobReleaseLeaseHeaders=S.BlobAcquireLeaseExceptionHeaders=S.BlobAcquireLeaseHeaders=S.BlobSetMetadataExceptionHeaders=S.BlobSetMetadataHeaders=S.BlobSetLegalHoldExceptionHeaders=S.BlobSetLegalHoldHeaders=S.BlobDeleteImmutabilityPolicyExceptionHeaders=S.BlobDeleteImmutabilityPolicyHeaders=S.BlobSetImmutabilityPolicyExceptionHeaders=S.BlobSetImmutabilityPolicyHeaders=S.BlobSetHttpHeadersExceptionHeaders=S.BlobSetHttpHeadersHeaders=S.BlobSetExpiryExceptionHeaders=S.BlobSetExpiryHeaders=S.BlobUndeleteExceptionHeaders=void 0;S.BlockBlobGetBlockListExceptionHeaders=S.BlockBlobGetBlockListHeaders=S.BlockBlobCommitBlockListExceptionHeaders=S.BlockBlobCommitBlockListHeaders=S.BlockBlobStageBlockFromURLExceptionHeaders=S.BlockBlobStageBlockFromURLHeaders=S.BlockBlobStageBlockExceptionHeaders=S.BlockBlobStageBlockHeaders=S.BlockBlobPutBlobFromUrlExceptionHeaders=S.BlockBlobPutBlobFromUrlHeaders=S.BlockBlobUploadExceptionHeaders=S.BlockBlobUploadHeaders=S.AppendBlobSealExceptionHeaders=S.AppendBlobSealHeaders=S.AppendBlobAppendBlockFromUrlExceptionHeaders=S.AppendBlobAppendBlockFromUrlHeaders=S.AppendBlobAppendBlockExceptionHeaders=S.AppendBlobAppendBlockHeaders=S.AppendBlobCreateExceptionHeaders=S.AppendBlobCreateHeaders=S.PageBlobCopyIncrementalExceptionHeaders=S.PageBlobCopyIncrementalHeaders=S.PageBlobUpdateSequenceNumberExceptionHeaders=S.PageBlobUpdateSequenceNumberHeaders=S.PageBlobResizeExceptionHeaders=S.PageBlobResizeHeaders=S.PageBlobGetPageRangesDiffExceptionHeaders=S.PageBlobGetPageRangesDiffHeaders=S.PageBlobGetPageRangesExceptionHeaders=void 0;S.BlobServiceProperties={serializedName:"BlobServiceProperties",xmlName:"StorageServiceProperties",type:{name:"Composite",className:"BlobServiceProperties",modelProperties:{blobAnalyticsLogging:{serializedName:"Logging",xmlName:"Logging",type:{name:"Composite",className:"Logging"}},hourMetrics:{serializedName:"HourMetrics",xmlName:"HourMetrics",type:{name:"Composite",className:"Metrics"}},minuteMetrics:{serializedName:"MinuteMetrics",xmlName:"MinuteMetrics",type:{name:"Composite",className:"Metrics"}},cors:{serializedName:"Cors",xmlName:"Cors",xmlIsWrapped:!0,xmlElementName:"CorsRule",type:{name:"Sequence",element:{type:{name:"Composite",className:"CorsRule"}}}},defaultServiceVersion:{serializedName:"DefaultServiceVersion",xmlName:"DefaultServiceVersion",type:{name:"String"}},deleteRetentionPolicy:{serializedName:"DeleteRetentionPolicy",xmlName:"DeleteRetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}},staticWebsite:{serializedName:"StaticWebsite",xmlName:"StaticWebsite",type:{name:"Composite",className:"StaticWebsite"}}}}};S.Logging={serializedName:"Logging",type:{name:"Composite",className:"Logging",modelProperties:{version:{serializedName:"Version",required:!0,xmlName:"Version",type:{name:"String"}},deleteProperty:{serializedName:"Delete",required:!0,xmlName:"Delete",type:{name:"Boolean"}},read:{serializedName:"Read",required:!0,xmlName:"Read",type:{name:"Boolean"}},write:{serializedName:"Write",required:!0,xmlName:"Write",type:{name:"Boolean"}},retentionPolicy:{serializedName:"RetentionPolicy",xmlName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}}}}};S.RetentionPolicy={serializedName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy",modelProperties:{enabled:{serializedName:"Enabled",required:!0,xmlName:"Enabled",type:{name:"Boolean"}},days:{constraints:{InclusiveMinimum:1},serializedName:"Days",xmlName:"Days",type:{name:"Number"}}}}};S.Metrics={serializedName:"Metrics",type:{name:"Composite",className:"Metrics",modelProperties:{version:{serializedName:"Version",xmlName:"Version",type:{name:"String"}},enabled:{serializedName:"Enabled",required:!0,xmlName:"Enabled",type:{name:"Boolean"}},includeAPIs:{serializedName:"IncludeAPIs",xmlName:"IncludeAPIs",type:{name:"Boolean"}},retentionPolicy:{serializedName:"RetentionPolicy",xmlName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}}}}};S.CorsRule={serializedName:"CorsRule",type:{name:"Composite",className:"CorsRule",modelProperties:{allowedOrigins:{serializedName:"AllowedOrigins",required:!0,xmlName:"AllowedOrigins",type:{name:"String"}},allowedMethods:{serializedName:"AllowedMethods",required:!0,xmlName:"AllowedMethods",type:{name:"String"}},allowedHeaders:{serializedName:"AllowedHeaders",required:!0,xmlName:"AllowedHeaders",type:{name:"String"}},exposedHeaders:{serializedName:"ExposedHeaders",required:!0,xmlName:"ExposedHeaders",type:{name:"String"}},maxAgeInSeconds:{constraints:{InclusiveMinimum:0},serializedName:"MaxAgeInSeconds",required:!0,xmlName:"MaxAgeInSeconds",type:{name:"Number"}}}}};S.StaticWebsite={serializedName:"StaticWebsite",type:{name:"Composite",className:"StaticWebsite",modelProperties:{enabled:{serializedName:"Enabled",required:!0,xmlName:"Enabled",type:{name:"Boolean"}},indexDocument:{serializedName:"IndexDocument",xmlName:"IndexDocument",type:{name:"String"}},errorDocument404Path:{serializedName:"ErrorDocument404Path",xmlName:"ErrorDocument404Path",type:{name:"String"}},defaultIndexDocumentPath:{serializedName:"DefaultIndexDocumentPath",xmlName:"DefaultIndexDocumentPath",type:{name:"String"}}}}};S.StorageError={serializedName:"StorageError",type:{name:"Composite",className:"StorageError",modelProperties:{message:{serializedName:"Message",xmlName:"Message",type:{name:"String"}},copySourceStatusCode:{serializedName:"CopySourceStatusCode",xmlName:"CopySourceStatusCode",type:{name:"Number"}},copySourceErrorCode:{serializedName:"CopySourceErrorCode",xmlName:"CopySourceErrorCode",type:{name:"String"}},copySourceErrorMessage:{serializedName:"CopySourceErrorMessage",xmlName:"CopySourceErrorMessage",type:{name:"String"}},code:{serializedName:"Code",xmlName:"Code",type:{name:"String"}},authenticationErrorDetail:{serializedName:"AuthenticationErrorDetail",xmlName:"AuthenticationErrorDetail",type:{name:"String"}}}}};S.BlobServiceStatistics={serializedName:"BlobServiceStatistics",xmlName:"StorageServiceStats",type:{name:"Composite",className:"BlobServiceStatistics",modelProperties:{geoReplication:{serializedName:"GeoReplication",xmlName:"GeoReplication",type:{name:"Composite",className:"GeoReplication"}}}}};S.GeoReplication={serializedName:"GeoReplication",type:{name:"Composite",className:"GeoReplication",modelProperties:{status:{serializedName:"Status",required:!0,xmlName:"Status",type:{name:"Enum",allowedValues:["live","bootstrap","unavailable"]}},lastSyncOn:{serializedName:"LastSyncTime",required:!0,xmlName:"LastSyncTime",type:{name:"DateTimeRfc1123"}}}}};S.ListContainersSegmentResponse={serializedName:"ListContainersSegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListContainersSegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},containerItems:{serializedName:"ContainerItems",required:!0,xmlName:"Containers",xmlIsWrapped:!0,xmlElementName:"Container",type:{name:"Sequence",element:{type:{name:"Composite",className:"ContainerItem"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};S.ContainerItem={serializedName:"ContainerItem",xmlName:"Container",type:{name:"Composite",className:"ContainerItem",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},deleted:{serializedName:"Deleted",xmlName:"Deleted",type:{name:"Boolean"}},version:{serializedName:"Version",xmlName:"Version",type:{name:"String"}},properties:{serializedName:"Properties",xmlName:"Properties",type:{name:"Composite",className:"ContainerProperties"}},metadata:{serializedName:"Metadata",xmlName:"Metadata",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}};S.ContainerProperties={serializedName:"ContainerProperties",type:{name:"Composite",className:"ContainerProperties",modelProperties:{lastModified:{serializedName:"Last-Modified",required:!0,xmlName:"Last-Modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"Etag",required:!0,xmlName:"Etag",type:{name:"String"}},leaseStatus:{serializedName:"LeaseStatus",xmlName:"LeaseStatus",type:{name:"Enum",allowedValues:["locked","unlocked"]}},leaseState:{serializedName:"LeaseState",xmlName:"LeaseState",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseDuration:{serializedName:"LeaseDuration",xmlName:"LeaseDuration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},publicAccess:{serializedName:"PublicAccess",xmlName:"PublicAccess",type:{name:"Enum",allowedValues:["container","blob"]}},hasImmutabilityPolicy:{serializedName:"HasImmutabilityPolicy",xmlName:"HasImmutabilityPolicy",type:{name:"Boolean"}},hasLegalHold:{serializedName:"HasLegalHold",xmlName:"HasLegalHold",type:{name:"Boolean"}},defaultEncryptionScope:{serializedName:"DefaultEncryptionScope",xmlName:"DefaultEncryptionScope",type:{name:"String"}},preventEncryptionScopeOverride:{serializedName:"DenyEncryptionScopeOverride",xmlName:"DenyEncryptionScopeOverride",type:{name:"Boolean"}},deletedOn:{serializedName:"DeletedTime",xmlName:"DeletedTime",type:{name:"DateTimeRfc1123"}},remainingRetentionDays:{serializedName:"RemainingRetentionDays",xmlName:"RemainingRetentionDays",type:{name:"Number"}},isImmutableStorageWithVersioningEnabled:{serializedName:"ImmutableStorageWithVersioningEnabled",xmlName:"ImmutableStorageWithVersioningEnabled",type:{name:"Boolean"}}}}};S.KeyInfo={serializedName:"KeyInfo",type:{name:"Composite",className:"KeyInfo",modelProperties:{startsOn:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"String"}},expiresOn:{serializedName:"Expiry",required:!0,xmlName:"Expiry",type:{name:"String"}}}}};S.UserDelegationKey={serializedName:"UserDelegationKey",type:{name:"Composite",className:"UserDelegationKey",modelProperties:{signedObjectId:{serializedName:"SignedOid",required:!0,xmlName:"SignedOid",type:{name:"String"}},signedTenantId:{serializedName:"SignedTid",required:!0,xmlName:"SignedTid",type:{name:"String"}},signedStartsOn:{serializedName:"SignedStart",required:!0,xmlName:"SignedStart",type:{name:"String"}},signedExpiresOn:{serializedName:"SignedExpiry",required:!0,xmlName:"SignedExpiry",type:{name:"String"}},signedService:{serializedName:"SignedService",required:!0,xmlName:"SignedService",type:{name:"String"}},signedVersion:{serializedName:"SignedVersion",required:!0,xmlName:"SignedVersion",type:{name:"String"}},value:{serializedName:"Value",required:!0,xmlName:"Value",type:{name:"String"}}}}};S.FilterBlobSegment={serializedName:"FilterBlobSegment",xmlName:"EnumerationResults",type:{name:"Composite",className:"FilterBlobSegment",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},where:{serializedName:"Where",required:!0,xmlName:"Where",type:{name:"String"}},blobs:{serializedName:"Blobs",required:!0,xmlName:"Blobs",xmlIsWrapped:!0,xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"FilterBlobItem"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};S.FilterBlobItem={serializedName:"FilterBlobItem",xmlName:"Blob",type:{name:"Composite",className:"FilterBlobItem",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",type:{name:"String"}},tags:{serializedName:"Tags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags"}}}}};S.BlobTags={serializedName:"BlobTags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags",modelProperties:{blobTagSet:{serializedName:"BlobTagSet",required:!0,xmlName:"TagSet",xmlIsWrapped:!0,xmlElementName:"Tag",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobTag"}}}}}}};S.BlobTag={serializedName:"BlobTag",xmlName:"Tag",type:{name:"Composite",className:"BlobTag",modelProperties:{key:{serializedName:"Key",required:!0,xmlName:"Key",type:{name:"String"}},value:{serializedName:"Value",required:!0,xmlName:"Value",type:{name:"String"}}}}};S.SignedIdentifier={serializedName:"SignedIdentifier",xmlName:"SignedIdentifier",type:{name:"Composite",className:"SignedIdentifier",modelProperties:{id:{serializedName:"Id",required:!0,xmlName:"Id",type:{name:"String"}},accessPolicy:{serializedName:"AccessPolicy",xmlName:"AccessPolicy",type:{name:"Composite",className:"AccessPolicy"}}}}};S.AccessPolicy={serializedName:"AccessPolicy",type:{name:"Composite",className:"AccessPolicy",modelProperties:{startsOn:{serializedName:"Start",xmlName:"Start",type:{name:"String"}},expiresOn:{serializedName:"Expiry",xmlName:"Expiry",type:{name:"String"}},permissions:{serializedName:"Permission",xmlName:"Permission",type:{name:"String"}}}}};S.ListBlobsFlatSegmentResponse={serializedName:"ListBlobsFlatSegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListBlobsFlatSegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",xmlIsAttribute:!0,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},segment:{serializedName:"Segment",xmlName:"Blobs",type:{name:"Composite",className:"BlobFlatListSegment"}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};S.BlobFlatListSegment={serializedName:"BlobFlatListSegment",xmlName:"Blobs",type:{name:"Composite",className:"BlobFlatListSegment",modelProperties:{blobItems:{serializedName:"BlobItems",required:!0,xmlName:"BlobItems",xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobItemInternal"}}}}}}};S.BlobItemInternal={serializedName:"BlobItemInternal",xmlName:"Blob",type:{name:"Composite",className:"BlobItemInternal",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}},deleted:{serializedName:"Deleted",required:!0,xmlName:"Deleted",type:{name:"Boolean"}},snapshot:{serializedName:"Snapshot",required:!0,xmlName:"Snapshot",type:{name:"String"}},versionId:{serializedName:"VersionId",xmlName:"VersionId",type:{name:"String"}},isCurrentVersion:{serializedName:"IsCurrentVersion",xmlName:"IsCurrentVersion",type:{name:"Boolean"}},properties:{serializedName:"Properties",xmlName:"Properties",type:{name:"Composite",className:"BlobPropertiesInternal"}},metadata:{serializedName:"Metadata",xmlName:"Metadata",type:{name:"Dictionary",value:{type:{name:"String"}}}},blobTags:{serializedName:"BlobTags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags"}},objectReplicationMetadata:{serializedName:"ObjectReplicationMetadata",xmlName:"OrMetadata",type:{name:"Dictionary",value:{type:{name:"String"}}}},hasVersionsOnly:{serializedName:"HasVersionsOnly",xmlName:"HasVersionsOnly",type:{name:"Boolean"}}}}};S.BlobName={serializedName:"BlobName",type:{name:"Composite",className:"BlobName",modelProperties:{encoded:{serializedName:"Encoded",xmlName:"Encoded",xmlIsAttribute:!0,type:{name:"Boolean"}},content:{serializedName:"content",xmlName:"content",xmlIsMsText:!0,type:{name:"String"}}}}};S.BlobPropertiesInternal={serializedName:"BlobPropertiesInternal",xmlName:"Properties",type:{name:"Composite",className:"BlobPropertiesInternal",modelProperties:{createdOn:{serializedName:"Creation-Time",xmlName:"Creation-Time",type:{name:"DateTimeRfc1123"}},lastModified:{serializedName:"Last-Modified",required:!0,xmlName:"Last-Modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"Etag",required:!0,xmlName:"Etag",type:{name:"String"}},contentLength:{serializedName:"Content-Length",xmlName:"Content-Length",type:{name:"Number"}},contentType:{serializedName:"Content-Type",xmlName:"Content-Type",type:{name:"String"}},contentEncoding:{serializedName:"Content-Encoding",xmlName:"Content-Encoding",type:{name:"String"}},contentLanguage:{serializedName:"Content-Language",xmlName:"Content-Language",type:{name:"String"}},contentMD5:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}},contentDisposition:{serializedName:"Content-Disposition",xmlName:"Content-Disposition",type:{name:"String"}},cacheControl:{serializedName:"Cache-Control",xmlName:"Cache-Control",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"BlobType",xmlName:"BlobType",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},leaseStatus:{serializedName:"LeaseStatus",xmlName:"LeaseStatus",type:{name:"Enum",allowedValues:["locked","unlocked"]}},leaseState:{serializedName:"LeaseState",xmlName:"LeaseState",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseDuration:{serializedName:"LeaseDuration",xmlName:"LeaseDuration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},copyId:{serializedName:"CopyId",xmlName:"CopyId",type:{name:"String"}},copyStatus:{serializedName:"CopyStatus",xmlName:"CopyStatus",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},copySource:{serializedName:"CopySource",xmlName:"CopySource",type:{name:"String"}},copyProgress:{serializedName:"CopyProgress",xmlName:"CopyProgress",type:{name:"String"}},copyCompletedOn:{serializedName:"CopyCompletionTime",xmlName:"CopyCompletionTime",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"CopyStatusDescription",xmlName:"CopyStatusDescription",type:{name:"String"}},serverEncrypted:{serializedName:"ServerEncrypted",xmlName:"ServerEncrypted",type:{name:"Boolean"}},incrementalCopy:{serializedName:"IncrementalCopy",xmlName:"IncrementalCopy",type:{name:"Boolean"}},destinationSnapshot:{serializedName:"DestinationSnapshot",xmlName:"DestinationSnapshot",type:{name:"String"}},deletedOn:{serializedName:"DeletedTime",xmlName:"DeletedTime",type:{name:"DateTimeRfc1123"}},remainingRetentionDays:{serializedName:"RemainingRetentionDays",xmlName:"RemainingRetentionDays",type:{name:"Number"}},accessTier:{serializedName:"AccessTier",xmlName:"AccessTier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold"]}},accessTierInferred:{serializedName:"AccessTierInferred",xmlName:"AccessTierInferred",type:{name:"Boolean"}},archiveStatus:{serializedName:"ArchiveStatus",xmlName:"ArchiveStatus",type:{name:"Enum",allowedValues:["rehydrate-pending-to-hot","rehydrate-pending-to-cool","rehydrate-pending-to-cold"]}},customerProvidedKeySha256:{serializedName:"CustomerProvidedKeySha256",xmlName:"CustomerProvidedKeySha256",type:{name:"String"}},encryptionScope:{serializedName:"EncryptionScope",xmlName:"EncryptionScope",type:{name:"String"}},accessTierChangedOn:{serializedName:"AccessTierChangeTime",xmlName:"AccessTierChangeTime",type:{name:"DateTimeRfc1123"}},tagCount:{serializedName:"TagCount",xmlName:"TagCount",type:{name:"Number"}},expiresOn:{serializedName:"Expiry-Time",xmlName:"Expiry-Time",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"Sealed",xmlName:"Sealed",type:{name:"Boolean"}},rehydratePriority:{serializedName:"RehydratePriority",xmlName:"RehydratePriority",type:{name:"Enum",allowedValues:["High","Standard"]}},lastAccessedOn:{serializedName:"LastAccessTime",xmlName:"LastAccessTime",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"ImmutabilityPolicyUntilDate",xmlName:"ImmutabilityPolicyUntilDate",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"ImmutabilityPolicyMode",xmlName:"ImmutabilityPolicyMode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"LegalHold",xmlName:"LegalHold",type:{name:"Boolean"}}}}};S.ListBlobsHierarchySegmentResponse={serializedName:"ListBlobsHierarchySegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListBlobsHierarchySegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",xmlIsAttribute:!0,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},delimiter:{serializedName:"Delimiter",xmlName:"Delimiter",type:{name:"String"}},segment:{serializedName:"Segment",xmlName:"Blobs",type:{name:"Composite",className:"BlobHierarchyListSegment"}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};S.BlobHierarchyListSegment={serializedName:"BlobHierarchyListSegment",xmlName:"Blobs",type:{name:"Composite",className:"BlobHierarchyListSegment",modelProperties:{blobPrefixes:{serializedName:"BlobPrefixes",xmlName:"BlobPrefixes",xmlElementName:"BlobPrefix",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobPrefix"}}}},blobItems:{serializedName:"BlobItems",required:!0,xmlName:"BlobItems",xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobItemInternal"}}}}}}};S.BlobPrefix={serializedName:"BlobPrefix",type:{name:"Composite",className:"BlobPrefix",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}}}}};S.BlockLookupList={serializedName:"BlockLookupList",xmlName:"BlockList",type:{name:"Composite",className:"BlockLookupList",modelProperties:{committed:{serializedName:"Committed",xmlName:"Committed",xmlElementName:"Committed",type:{name:"Sequence",element:{type:{name:"String"}}}},uncommitted:{serializedName:"Uncommitted",xmlName:"Uncommitted",xmlElementName:"Uncommitted",type:{name:"Sequence",element:{type:{name:"String"}}}},latest:{serializedName:"Latest",xmlName:"Latest",xmlElementName:"Latest",type:{name:"Sequence",element:{type:{name:"String"}}}}}}};S.BlockList={serializedName:"BlockList",type:{name:"Composite",className:"BlockList",modelProperties:{committedBlocks:{serializedName:"CommittedBlocks",xmlName:"CommittedBlocks",xmlIsWrapped:!0,xmlElementName:"Block",type:{name:"Sequence",element:{type:{name:"Composite",className:"Block"}}}},uncommittedBlocks:{serializedName:"UncommittedBlocks",xmlName:"UncommittedBlocks",xmlIsWrapped:!0,xmlElementName:"Block",type:{name:"Sequence",element:{type:{name:"Composite",className:"Block"}}}}}}};S.Block={serializedName:"Block",type:{name:"Composite",className:"Block",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},size:{serializedName:"Size",required:!0,xmlName:"Size",type:{name:"Number"}}}}};S.PageList={serializedName:"PageList",type:{name:"Composite",className:"PageList",modelProperties:{pageRange:{serializedName:"PageRange",xmlName:"PageRange",xmlElementName:"PageRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"PageRange"}}}},clearRange:{serializedName:"ClearRange",xmlName:"ClearRange",xmlElementName:"ClearRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"ClearRange"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};S.PageRange={serializedName:"PageRange",xmlName:"PageRange",type:{name:"Composite",className:"PageRange",modelProperties:{start:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:!0,xmlName:"End",type:{name:"Number"}}}}};S.ClearRange={serializedName:"ClearRange",xmlName:"ClearRange",type:{name:"Composite",className:"ClearRange",modelProperties:{start:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:!0,xmlName:"End",type:{name:"Number"}}}}};S.QueryRequest={serializedName:"QueryRequest",xmlName:"QueryRequest",type:{name:"Composite",className:"QueryRequest",modelProperties:{queryType:{serializedName:"QueryType",required:!0,xmlName:"QueryType",type:{name:"String"}},expression:{serializedName:"Expression",required:!0,xmlName:"Expression",type:{name:"String"}},inputSerialization:{serializedName:"InputSerialization",xmlName:"InputSerialization",type:{name:"Composite",className:"QuerySerialization"}},outputSerialization:{serializedName:"OutputSerialization",xmlName:"OutputSerialization",type:{name:"Composite",className:"QuerySerialization"}}}}};S.QuerySerialization={serializedName:"QuerySerialization",type:{name:"Composite",className:"QuerySerialization",modelProperties:{format:{serializedName:"Format",xmlName:"Format",type:{name:"Composite",className:"QueryFormat"}}}}};S.QueryFormat={serializedName:"QueryFormat",type:{name:"Composite",className:"QueryFormat",modelProperties:{type:{serializedName:"Type",required:!0,xmlName:"Type",type:{name:"Enum",allowedValues:["delimited","json","arrow","parquet"]}},delimitedTextConfiguration:{serializedName:"DelimitedTextConfiguration",xmlName:"DelimitedTextConfiguration",type:{name:"Composite",className:"DelimitedTextConfiguration"}},jsonTextConfiguration:{serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration"}},arrowConfiguration:{serializedName:"ArrowConfiguration",xmlName:"ArrowConfiguration",type:{name:"Composite",className:"ArrowConfiguration"}},parquetTextConfiguration:{serializedName:"ParquetTextConfiguration",xmlName:"ParquetTextConfiguration",type:{name:"Dictionary",value:{type:{name:"any"}}}}}}};S.DelimitedTextConfiguration={serializedName:"DelimitedTextConfiguration",xmlName:"DelimitedTextConfiguration",type:{name:"Composite",className:"DelimitedTextConfiguration",modelProperties:{columnSeparator:{serializedName:"ColumnSeparator",xmlName:"ColumnSeparator",type:{name:"String"}},fieldQuote:{serializedName:"FieldQuote",xmlName:"FieldQuote",type:{name:"String"}},recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}},escapeChar:{serializedName:"EscapeChar",xmlName:"EscapeChar",type:{name:"String"}},headersPresent:{serializedName:"HeadersPresent",xmlName:"HasHeaders",type:{name:"Boolean"}}}}};S.JsonTextConfiguration={serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration",modelProperties:{recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}}}}};S.ArrowConfiguration={serializedName:"ArrowConfiguration",xmlName:"ArrowConfiguration",type:{name:"Composite",className:"ArrowConfiguration",modelProperties:{schema:{serializedName:"Schema",required:!0,xmlName:"Schema",xmlIsWrapped:!0,xmlElementName:"Field",type:{name:"Sequence",element:{type:{name:"Composite",className:"ArrowField"}}}}}}};S.ArrowField={serializedName:"ArrowField",xmlName:"Field",type:{name:"Composite",className:"ArrowField",modelProperties:{type:{serializedName:"Type",required:!0,xmlName:"Type",type:{name:"String"}},name:{serializedName:"Name",xmlName:"Name",type:{name:"String"}},precision:{serializedName:"Precision",xmlName:"Precision",type:{name:"Number"}},scale:{serializedName:"Scale",xmlName:"Scale",type:{name:"Number"}}}}};S.ServiceSetPropertiesHeaders={serializedName:"Service_setPropertiesHeaders",type:{name:"Composite",className:"ServiceSetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.ServiceSetPropertiesExceptionHeaders={serializedName:"Service_setPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceSetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.ServiceGetPropertiesHeaders={serializedName:"Service_getPropertiesHeaders",type:{name:"Composite",className:"ServiceGetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.ServiceGetPropertiesExceptionHeaders={serializedName:"Service_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.ServiceGetStatisticsHeaders={serializedName:"Service_getStatisticsHeaders",type:{name:"Composite",className:"ServiceGetStatisticsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.ServiceGetStatisticsExceptionHeaders={serializedName:"Service_getStatisticsExceptionHeaders",type:{name:"Composite",className:"ServiceGetStatisticsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.ServiceListContainersSegmentHeaders={serializedName:"Service_listContainersSegmentHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.ServiceListContainersSegmentExceptionHeaders={serializedName:"Service_listContainersSegmentExceptionHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.ServiceGetUserDelegationKeyHeaders={serializedName:"Service_getUserDelegationKeyHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.ServiceGetUserDelegationKeyExceptionHeaders={serializedName:"Service_getUserDelegationKeyExceptionHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.ServiceGetAccountInfoHeaders={serializedName:"Service_getAccountInfoHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.ServiceGetAccountInfoExceptionHeaders={serializedName:"Service_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.ServiceSubmitBatchHeaders={serializedName:"Service_submitBatchHeaders",type:{name:"Composite",className:"ServiceSubmitBatchHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.ServiceSubmitBatchExceptionHeaders={serializedName:"Service_submitBatchExceptionHeaders",type:{name:"Composite",className:"ServiceSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.ServiceFilterBlobsHeaders={serializedName:"Service_filterBlobsHeaders",type:{name:"Composite",className:"ServiceFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.ServiceFilterBlobsExceptionHeaders={serializedName:"Service_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ServiceFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.ContainerCreateHeaders={serializedName:"Container_createHeaders",type:{name:"Composite",className:"ContainerCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.ContainerCreateExceptionHeaders={serializedName:"Container_createExceptionHeaders",type:{name:"Composite",className:"ContainerCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.ContainerGetPropertiesHeaders={serializedName:"Container_getPropertiesHeaders",type:{name:"Composite",className:"ContainerGetPropertiesHeaders",modelProperties:{metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobPublicAccess:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}},hasImmutabilityPolicy:{serializedName:"x-ms-has-immutability-policy",xmlName:"x-ms-has-immutability-policy",type:{name:"Boolean"}},hasLegalHold:{serializedName:"x-ms-has-legal-hold",xmlName:"x-ms-has-legal-hold",type:{name:"Boolean"}},defaultEncryptionScope:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}},denyEncryptionScopeOverride:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}},isImmutableStorageWithVersioningEnabled:{serializedName:"x-ms-immutable-storage-with-versioning-enabled",xmlName:"x-ms-immutable-storage-with-versioning-enabled",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.ContainerGetPropertiesExceptionHeaders={serializedName:"Container_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ContainerGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.ContainerDeleteHeaders={serializedName:"Container_deleteHeaders",type:{name:"Composite",className:"ContainerDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.ContainerDeleteExceptionHeaders={serializedName:"Container_deleteExceptionHeaders",type:{name:"Composite",className:"ContainerDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.ContainerSetMetadataHeaders={serializedName:"Container_setMetadataHeaders",type:{name:"Composite",className:"ContainerSetMetadataHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.ContainerSetMetadataExceptionHeaders={serializedName:"Container_setMetadataExceptionHeaders",type:{name:"Composite",className:"ContainerSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.ContainerGetAccessPolicyHeaders={serializedName:"Container_getAccessPolicyHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyHeaders",modelProperties:{blobPublicAccess:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.ContainerGetAccessPolicyExceptionHeaders={serializedName:"Container_getAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.ContainerSetAccessPolicyHeaders={serializedName:"Container_setAccessPolicyHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.ContainerSetAccessPolicyExceptionHeaders={serializedName:"Container_setAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.ContainerRestoreHeaders={serializedName:"Container_restoreHeaders",type:{name:"Composite",className:"ContainerRestoreHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.ContainerRestoreExceptionHeaders={serializedName:"Container_restoreExceptionHeaders",type:{name:"Composite",className:"ContainerRestoreExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.ContainerRenameHeaders={serializedName:"Container_renameHeaders",type:{name:"Composite",className:"ContainerRenameHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.ContainerRenameExceptionHeaders={serializedName:"Container_renameExceptionHeaders",type:{name:"Composite",className:"ContainerRenameExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.ContainerSubmitBatchHeaders={serializedName:"Container_submitBatchHeaders",type:{name:"Composite",className:"ContainerSubmitBatchHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}}}}};S.ContainerSubmitBatchExceptionHeaders={serializedName:"Container_submitBatchExceptionHeaders",type:{name:"Composite",className:"ContainerSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.ContainerFilterBlobsHeaders={serializedName:"Container_filterBlobsHeaders",type:{name:"Composite",className:"ContainerFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};S.ContainerFilterBlobsExceptionHeaders={serializedName:"Container_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ContainerFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.ContainerAcquireLeaseHeaders={serializedName:"Container_acquireLeaseHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};S.ContainerAcquireLeaseExceptionHeaders={serializedName:"Container_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.ContainerReleaseLeaseHeaders={serializedName:"Container_releaseLeaseHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};S.ContainerReleaseLeaseExceptionHeaders={serializedName:"Container_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.ContainerRenewLeaseHeaders={serializedName:"Container_renewLeaseHeaders",type:{name:"Composite",className:"ContainerRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};S.ContainerRenewLeaseExceptionHeaders={serializedName:"Container_renewLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.ContainerBreakLeaseHeaders={serializedName:"Container_breakLeaseHeaders",type:{name:"Composite",className:"ContainerBreakLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseTime:{serializedName:"x-ms-lease-time",xmlName:"x-ms-lease-time",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};S.ContainerBreakLeaseExceptionHeaders={serializedName:"Container_breakLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.ContainerChangeLeaseHeaders={serializedName:"Container_changeLeaseHeaders",type:{name:"Composite",className:"ContainerChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};S.ContainerChangeLeaseExceptionHeaders={serializedName:"Container_changeLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.ContainerListBlobFlatSegmentHeaders={serializedName:"Container_listBlobFlatSegmentHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.ContainerListBlobFlatSegmentExceptionHeaders={serializedName:"Container_listBlobFlatSegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.ContainerListBlobHierarchySegmentHeaders={serializedName:"Container_listBlobHierarchySegmentHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.ContainerListBlobHierarchySegmentExceptionHeaders={serializedName:"Container_listBlobHierarchySegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.ContainerGetAccountInfoHeaders={serializedName:"Container_getAccountInfoHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}}}}};S.ContainerGetAccountInfoExceptionHeaders={serializedName:"Container_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.BlobDownloadHeaders={serializedName:"Blob_downloadHeaders",type:{name:"Composite",className:"BlobDownloadHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",headerCollectionPrefix:"x-ms-or-",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}};S.BlobDownloadExceptionHeaders={serializedName:"Blob_downloadExceptionHeaders",type:{name:"Composite",className:"BlobDownloadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.BlobGetPropertiesHeaders={serializedName:"Blob_getPropertiesHeaders",type:{name:"Composite",className:"BlobGetPropertiesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",headerCollectionPrefix:"x-ms-or-",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},isIncrementalCopy:{serializedName:"x-ms-incremental-copy",xmlName:"x-ms-incremental-copy",type:{name:"Boolean"}},destinationSnapshot:{serializedName:"x-ms-copy-destination-snapshot",xmlName:"x-ms-copy-destination-snapshot",type:{name:"String"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},accessTier:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"String"}},accessTierInferred:{serializedName:"x-ms-access-tier-inferred",xmlName:"x-ms-access-tier-inferred",type:{name:"Boolean"}},archiveStatus:{serializedName:"x-ms-archive-status",xmlName:"x-ms-archive-status",type:{name:"String"}},accessTierChangedOn:{serializedName:"x-ms-access-tier-change-time",xmlName:"x-ms-access-tier-change-time",type:{name:"DateTimeRfc1123"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},expiresOn:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},rehydratePriority:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.BlobGetPropertiesExceptionHeaders={serializedName:"Blob_getPropertiesExceptionHeaders",type:{name:"Composite",className:"BlobGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.BlobDeleteHeaders={serializedName:"Blob_deleteHeaders",type:{name:"Composite",className:"BlobDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.BlobDeleteExceptionHeaders={serializedName:"Blob_deleteExceptionHeaders",type:{name:"Composite",className:"BlobDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.BlobUndeleteHeaders={serializedName:"Blob_undeleteHeaders",type:{name:"Composite",className:"BlobUndeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.BlobUndeleteExceptionHeaders={serializedName:"Blob_undeleteExceptionHeaders",type:{name:"Composite",className:"BlobUndeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.BlobSetExpiryHeaders={serializedName:"Blob_setExpiryHeaders",type:{name:"Composite",className:"BlobSetExpiryHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};S.BlobSetExpiryExceptionHeaders={serializedName:"Blob_setExpiryExceptionHeaders",type:{name:"Composite",className:"BlobSetExpiryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.BlobSetHttpHeadersHeaders={serializedName:"Blob_setHttpHeadersHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.BlobSetHttpHeadersExceptionHeaders={serializedName:"Blob_setHttpHeadersExceptionHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.BlobSetImmutabilityPolicyHeaders={serializedName:"Blob_setImmutabilityPolicyHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiry:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}}}};S.BlobSetImmutabilityPolicyExceptionHeaders={serializedName:"Blob_setImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.BlobDeleteImmutabilityPolicyHeaders={serializedName:"Blob_deleteImmutabilityPolicyHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};S.BlobDeleteImmutabilityPolicyExceptionHeaders={serializedName:"Blob_deleteImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.BlobSetLegalHoldHeaders={serializedName:"Blob_setLegalHoldHeaders",type:{name:"Composite",className:"BlobSetLegalHoldHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}}}};S.BlobSetLegalHoldExceptionHeaders={serializedName:"Blob_setLegalHoldExceptionHeaders",type:{name:"Composite",className:"BlobSetLegalHoldExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.BlobSetMetadataHeaders={serializedName:"Blob_setMetadataHeaders",type:{name:"Composite",className:"BlobSetMetadataHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.BlobSetMetadataExceptionHeaders={serializedName:"Blob_setMetadataExceptionHeaders",type:{name:"Composite",className:"BlobSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.BlobAcquireLeaseHeaders={serializedName:"Blob_acquireLeaseHeaders",type:{name:"Composite",className:"BlobAcquireLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};S.BlobAcquireLeaseExceptionHeaders={serializedName:"Blob_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"BlobAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.BlobReleaseLeaseHeaders={serializedName:"Blob_releaseLeaseHeaders",type:{name:"Composite",className:"BlobReleaseLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};S.BlobReleaseLeaseExceptionHeaders={serializedName:"Blob_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"BlobReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.BlobRenewLeaseHeaders={serializedName:"Blob_renewLeaseHeaders",type:{name:"Composite",className:"BlobRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};S.BlobRenewLeaseExceptionHeaders={serializedName:"Blob_renewLeaseExceptionHeaders",type:{name:"Composite",className:"BlobRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.BlobChangeLeaseHeaders={serializedName:"Blob_changeLeaseHeaders",type:{name:"Composite",className:"BlobChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};S.BlobChangeLeaseExceptionHeaders={serializedName:"Blob_changeLeaseExceptionHeaders",type:{name:"Composite",className:"BlobChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.BlobBreakLeaseHeaders={serializedName:"Blob_breakLeaseHeaders",type:{name:"Composite",className:"BlobBreakLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseTime:{serializedName:"x-ms-lease-time",xmlName:"x-ms-lease-time",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};S.BlobBreakLeaseExceptionHeaders={serializedName:"Blob_breakLeaseExceptionHeaders",type:{name:"Composite",className:"BlobBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.BlobCreateSnapshotHeaders={serializedName:"Blob_createSnapshotHeaders",type:{name:"Composite",className:"BlobCreateSnapshotHeaders",modelProperties:{snapshot:{serializedName:"x-ms-snapshot",xmlName:"x-ms-snapshot",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.BlobCreateSnapshotExceptionHeaders={serializedName:"Blob_createSnapshotExceptionHeaders",type:{name:"Composite",className:"BlobCreateSnapshotExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.BlobStartCopyFromURLHeaders={serializedName:"Blob_startCopyFromURLHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.BlobStartCopyFromURLExceptionHeaders={serializedName:"Blob_startCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};S.BlobCopyFromURLHeaders={serializedName:"Blob_copyFromURLHeaders",type:{name:"Composite",className:"BlobCopyFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{defaultValue:"success",isConstant:!0,serializedName:"x-ms-copy-status",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.BlobCopyFromURLExceptionHeaders={serializedName:"Blob_copyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};S.BlobAbortCopyFromURLHeaders={serializedName:"Blob_abortCopyFromURLHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.BlobAbortCopyFromURLExceptionHeaders={serializedName:"Blob_abortCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.BlobSetTierHeaders={serializedName:"Blob_setTierHeaders",type:{name:"Composite",className:"BlobSetTierHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.BlobSetTierExceptionHeaders={serializedName:"Blob_setTierExceptionHeaders",type:{name:"Composite",className:"BlobSetTierExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.BlobGetAccountInfoHeaders={serializedName:"Blob_getAccountInfoHeaders",type:{name:"Composite",className:"BlobGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}}}}};S.BlobGetAccountInfoExceptionHeaders={serializedName:"Blob_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"BlobGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.BlobQueryHeaders={serializedName:"Blob_queryHeaders",type:{name:"Composite",className:"BlobQueryHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletionTime:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}};S.BlobQueryExceptionHeaders={serializedName:"Blob_queryExceptionHeaders",type:{name:"Composite",className:"BlobQueryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.BlobGetTagsHeaders={serializedName:"Blob_getTagsHeaders",type:{name:"Composite",className:"BlobGetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.BlobGetTagsExceptionHeaders={serializedName:"Blob_getTagsExceptionHeaders",type:{name:"Composite",className:"BlobGetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.BlobSetTagsHeaders={serializedName:"Blob_setTagsHeaders",type:{name:"Composite",className:"BlobSetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.BlobSetTagsExceptionHeaders={serializedName:"Blob_setTagsExceptionHeaders",type:{name:"Composite",className:"BlobSetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.PageBlobCreateHeaders={serializedName:"PageBlob_createHeaders",type:{name:"Composite",className:"PageBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.PageBlobCreateExceptionHeaders={serializedName:"PageBlob_createExceptionHeaders",type:{name:"Composite",className:"PageBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.PageBlobUploadPagesHeaders={serializedName:"PageBlob_uploadPagesHeaders",type:{name:"Composite",className:"PageBlobUploadPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.PageBlobUploadPagesExceptionHeaders={serializedName:"PageBlob_uploadPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.PageBlobClearPagesHeaders={serializedName:"PageBlob_clearPagesHeaders",type:{name:"Composite",className:"PageBlobClearPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.PageBlobClearPagesExceptionHeaders={serializedName:"PageBlob_clearPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobClearPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.PageBlobUploadPagesFromURLHeaders={serializedName:"PageBlob_uploadPagesFromURLHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.PageBlobUploadPagesFromURLExceptionHeaders={serializedName:"PageBlob_uploadPagesFromURLExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};S.PageBlobGetPageRangesHeaders={serializedName:"PageBlob_getPageRangesHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.PageBlobGetPageRangesExceptionHeaders={serializedName:"PageBlob_getPageRangesExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.PageBlobGetPageRangesDiffHeaders={serializedName:"PageBlob_getPageRangesDiffHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.PageBlobGetPageRangesDiffExceptionHeaders={serializedName:"PageBlob_getPageRangesDiffExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.PageBlobResizeHeaders={serializedName:"PageBlob_resizeHeaders",type:{name:"Composite",className:"PageBlobResizeHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.PageBlobResizeExceptionHeaders={serializedName:"PageBlob_resizeExceptionHeaders",type:{name:"Composite",className:"PageBlobResizeExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.PageBlobUpdateSequenceNumberHeaders={serializedName:"PageBlob_updateSequenceNumberHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.PageBlobUpdateSequenceNumberExceptionHeaders={serializedName:"PageBlob_updateSequenceNumberExceptionHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.PageBlobCopyIncrementalHeaders={serializedName:"PageBlob_copyIncrementalHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.PageBlobCopyIncrementalExceptionHeaders={serializedName:"PageBlob_copyIncrementalExceptionHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.AppendBlobCreateHeaders={serializedName:"AppendBlob_createHeaders",type:{name:"Composite",className:"AppendBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.AppendBlobCreateExceptionHeaders={serializedName:"AppendBlob_createExceptionHeaders",type:{name:"Composite",className:"AppendBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.AppendBlobAppendBlockHeaders={serializedName:"AppendBlob_appendBlockHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.AppendBlobAppendBlockExceptionHeaders={serializedName:"AppendBlob_appendBlockExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.AppendBlobAppendBlockFromUrlHeaders={serializedName:"AppendBlob_appendBlockFromUrlHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.AppendBlobAppendBlockFromUrlExceptionHeaders={serializedName:"AppendBlob_appendBlockFromUrlExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};S.AppendBlobSealHeaders={serializedName:"AppendBlob_sealHeaders",type:{name:"Composite",className:"AppendBlobSealHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}}}}};S.AppendBlobSealExceptionHeaders={serializedName:"AppendBlob_sealExceptionHeaders",type:{name:"Composite",className:"AppendBlobSealExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.BlockBlobUploadHeaders={serializedName:"BlockBlob_uploadHeaders",type:{name:"Composite",className:"BlockBlobUploadHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.BlockBlobUploadExceptionHeaders={serializedName:"BlockBlob_uploadExceptionHeaders",type:{name:"Composite",className:"BlockBlobUploadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.BlockBlobPutBlobFromUrlHeaders={serializedName:"BlockBlob_putBlobFromUrlHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.BlockBlobPutBlobFromUrlExceptionHeaders={serializedName:"BlockBlob_putBlobFromUrlExceptionHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};S.BlockBlobStageBlockHeaders={serializedName:"BlockBlob_stageBlockHeaders",type:{name:"Composite",className:"BlockBlobStageBlockHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.BlockBlobStageBlockExceptionHeaders={serializedName:"BlockBlob_stageBlockExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.BlockBlobStageBlockFromURLHeaders={serializedName:"BlockBlob_stageBlockFromURLHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.BlockBlobStageBlockFromURLExceptionHeaders={serializedName:"BlockBlob_stageBlockFromURLExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};S.BlockBlobCommitBlockListHeaders={serializedName:"BlockBlob_commitBlockListHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.BlockBlobCommitBlockListExceptionHeaders={serializedName:"BlockBlob_commitBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.BlockBlobGetBlockListHeaders={serializedName:"BlockBlob_getBlockListHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};S.BlockBlobGetBlockListExceptionHeaders={serializedName:"BlockBlob_getBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}}});var du=x(P=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0});P.action3=P.action2=P.leaseId1=P.action1=P.proposedLeaseId=P.duration=P.action=P.comp10=P.sourceLeaseId=P.sourceContainerName=P.comp9=P.deletedContainerVersion=P.deletedContainerName=P.comp8=P.containerAcl=P.comp7=P.comp6=P.ifUnmodifiedSince=P.ifModifiedSince=P.leaseId=P.preventEncryptionScopeOverride=P.defaultEncryptionScope=P.access=P.metadata=P.restype2=P.where=P.comp5=P.multipartContentType=P.contentLength=P.comp4=P.body=P.restype1=P.comp3=P.keyInfo=P.include=P.maxPageSize=P.marker=P.prefix=P.comp2=P.comp1=P.accept1=P.requestId=P.version=P.timeoutInSeconds=P.comp=P.restype=P.url=P.accept=P.blobServiceProperties=P.contentType=void 0;P.copySourceTags=P.copySourceAuthorization=P.sourceContentMD5=P.xMsRequiresSync=P.legalHold1=P.sealBlob=P.blobTagsString=P.copySource=P.sourceIfTags=P.sourceIfNoneMatch=P.sourceIfMatch=P.sourceIfUnmodifiedSince=P.sourceIfModifiedSince=P.rehydratePriority=P.tier=P.comp14=P.encryptionScope=P.legalHold=P.comp13=P.immutabilityPolicyMode=P.immutabilityPolicyExpiry=P.comp12=P.blobContentDisposition=P.blobContentLanguage=P.blobContentEncoding=P.blobContentMD5=P.blobContentType=P.blobCacheControl=P.expiresOn=P.expiryOptions=P.comp11=P.blobDeleteType=P.deleteSnapshots=P.ifTags=P.ifNoneMatch=P.ifMatch=P.encryptionAlgorithm=P.encryptionKeySha256=P.encryptionKey=P.rangeGetContentCRC64=P.rangeGetContentMD5=P.range=P.versionId=P.snapshot=P.delimiter=P.startFrom=P.include1=P.proposedLeaseId1=P.action4=P.breakPeriod=void 0;P.listType=P.comp25=P.blocks=P.blockId=P.comp24=P.copySourceBlobProperties=P.blobType2=P.comp23=P.sourceRange1=P.appendPosition=P.maxSize=P.comp22=P.blobType1=P.comp21=P.sequenceNumberAction=P.prevSnapshotUrl=P.prevsnapshot=P.comp20=P.range1=P.sourceContentCrc64=P.sourceRange=P.sourceUrl=P.pageWrite1=P.ifSequenceNumberEqualTo=P.ifSequenceNumberLessThan=P.ifSequenceNumberLessThanOrEqualTo=P.pageWrite=P.comp19=P.accept2=P.body1=P.contentType1=P.blobSequenceNumber=P.blobContentLength=P.blobType=P.transactionalContentCrc64=P.transactionalContentMD5=P.tags=P.ifNoneMatch1=P.ifMatch1=P.ifUnmodifiedSince1=P.ifModifiedSince1=P.comp18=P.comp17=P.queryRequest=P.tier1=P.comp16=P.copyId=P.copyActionAbortConstant=P.comp15=P.fileRequestIntent=void 0;var tg=Uc();P.contentType={parameterPath:["options","contentType"],mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}};P.blobServiceProperties={parameterPath:"blobServiceProperties",mapper:tg.BlobServiceProperties};P.accept={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}};P.url={parameterPath:"url",mapper:{serializedName:"url",required:!0,xmlName:"url",type:{name:"String"}},skipEncoding:!0};P.restype={parameterPath:"restype",mapper:{defaultValue:"service",isConstant:!0,serializedName:"restype",type:{name:"String"}}};P.comp={parameterPath:"comp",mapper:{defaultValue:"properties",isConstant:!0,serializedName:"comp",type:{name:"String"}}};P.timeoutInSeconds={parameterPath:["options","timeoutInSeconds"],mapper:{constraints:{InclusiveMinimum:0},serializedName:"timeout",xmlName:"timeout",type:{name:"Number"}}};P.version={parameterPath:"version",mapper:{defaultValue:"2026-02-06",isConstant:!0,serializedName:"x-ms-version",type:{name:"String"}}};P.requestId={parameterPath:["options","requestId"],mapper:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}}};P.accept1={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}};P.comp1={parameterPath:"comp",mapper:{defaultValue:"stats",isConstant:!0,serializedName:"comp",type:{name:"String"}}};P.comp2={parameterPath:"comp",mapper:{defaultValue:"list",isConstant:!0,serializedName:"comp",type:{name:"String"}}};P.prefix={parameterPath:["options","prefix"],mapper:{serializedName:"prefix",xmlName:"prefix",type:{name:"String"}}};P.marker={parameterPath:["options","marker"],mapper:{serializedName:"marker",xmlName:"marker",type:{name:"String"}}};P.maxPageSize={parameterPath:["options","maxPageSize"],mapper:{constraints:{InclusiveMinimum:1},serializedName:"maxresults",xmlName:"maxresults",type:{name:"Number"}}};P.include={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListContainersIncludeType",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["metadata","deleted","system"]}}}},collectionFormat:"CSV"};P.keyInfo={parameterPath:"keyInfo",mapper:tg.KeyInfo};P.comp3={parameterPath:"comp",mapper:{defaultValue:"userdelegationkey",isConstant:!0,serializedName:"comp",type:{name:"String"}}};P.restype1={parameterPath:"restype",mapper:{defaultValue:"account",isConstant:!0,serializedName:"restype",type:{name:"String"}}};P.body={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}};P.comp4={parameterPath:"comp",mapper:{defaultValue:"batch",isConstant:!0,serializedName:"comp",type:{name:"String"}}};P.contentLength={parameterPath:"contentLength",mapper:{serializedName:"Content-Length",required:!0,xmlName:"Content-Length",type:{name:"Number"}}};P.multipartContentType={parameterPath:"multipartContentType",mapper:{serializedName:"Content-Type",required:!0,xmlName:"Content-Type",type:{name:"String"}}};P.comp5={parameterPath:"comp",mapper:{defaultValue:"blobs",isConstant:!0,serializedName:"comp",type:{name:"String"}}};P.where={parameterPath:["options","where"],mapper:{serializedName:"where",xmlName:"where",type:{name:"String"}}};P.restype2={parameterPath:"restype",mapper:{defaultValue:"container",isConstant:!0,serializedName:"restype",type:{name:"String"}}};P.metadata={parameterPath:["options","metadata"],mapper:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",type:{name:"Dictionary",value:{type:{name:"String"}}}}};P.access={parameterPath:["options","access"],mapper:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}}};P.defaultEncryptionScope={parameterPath:["options","containerEncryptionScope","defaultEncryptionScope"],mapper:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}}};P.preventEncryptionScopeOverride={parameterPath:["options","containerEncryptionScope","preventEncryptionScopeOverride"],mapper:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}}};P.leaseId={parameterPath:["options","leaseAccessConditions","leaseId"],mapper:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}}};P.ifModifiedSince={parameterPath:["options","modifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"If-Modified-Since",xmlName:"If-Modified-Since",type:{name:"DateTimeRfc1123"}}};P.ifUnmodifiedSince={parameterPath:["options","modifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"If-Unmodified-Since",xmlName:"If-Unmodified-Since",type:{name:"DateTimeRfc1123"}}};P.comp6={parameterPath:"comp",mapper:{defaultValue:"metadata",isConstant:!0,serializedName:"comp",type:{name:"String"}}};P.comp7={parameterPath:"comp",mapper:{defaultValue:"acl",isConstant:!0,serializedName:"comp",type:{name:"String"}}};P.containerAcl={parameterPath:["options","containerAcl"],mapper:{serializedName:"containerAcl",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier",type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}}}};P.comp8={parameterPath:"comp",mapper:{defaultValue:"undelete",isConstant:!0,serializedName:"comp",type:{name:"String"}}};P.deletedContainerName={parameterPath:["options","deletedContainerName"],mapper:{serializedName:"x-ms-deleted-container-name",xmlName:"x-ms-deleted-container-name",type:{name:"String"}}};P.deletedContainerVersion={parameterPath:["options","deletedContainerVersion"],mapper:{serializedName:"x-ms-deleted-container-version",xmlName:"x-ms-deleted-container-version",type:{name:"String"}}};P.comp9={parameterPath:"comp",mapper:{defaultValue:"rename",isConstant:!0,serializedName:"comp",type:{name:"String"}}};P.sourceContainerName={parameterPath:"sourceContainerName",mapper:{serializedName:"x-ms-source-container-name",required:!0,xmlName:"x-ms-source-container-name",type:{name:"String"}}};P.sourceLeaseId={parameterPath:["options","sourceLeaseId"],mapper:{serializedName:"x-ms-source-lease-id",xmlName:"x-ms-source-lease-id",type:{name:"String"}}};P.comp10={parameterPath:"comp",mapper:{defaultValue:"lease",isConstant:!0,serializedName:"comp",type:{name:"String"}}};P.action={parameterPath:"action",mapper:{defaultValue:"acquire",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}};P.duration={parameterPath:["options","duration"],mapper:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Number"}}};P.proposedLeaseId={parameterPath:["options","proposedLeaseId"],mapper:{serializedName:"x-ms-proposed-lease-id",xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}};P.action1={parameterPath:"action",mapper:{defaultValue:"release",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}};P.leaseId1={parameterPath:"leaseId",mapper:{serializedName:"x-ms-lease-id",required:!0,xmlName:"x-ms-lease-id",type:{name:"String"}}};P.action2={parameterPath:"action",mapper:{defaultValue:"renew",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}};P.action3={parameterPath:"action",mapper:{defaultValue:"break",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}};P.breakPeriod={parameterPath:["options","breakPeriod"],mapper:{serializedName:"x-ms-lease-break-period",xmlName:"x-ms-lease-break-period",type:{name:"Number"}}};P.action4={parameterPath:"action",mapper:{defaultValue:"change",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}};P.proposedLeaseId1={parameterPath:"proposedLeaseId",mapper:{serializedName:"x-ms-proposed-lease-id",required:!0,xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}};P.include1={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListBlobsIncludeItem",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["copy","deleted","metadata","snapshots","uncommittedblobs","versions","tags","immutabilitypolicy","legalhold","deletedwithversions"]}}}},collectionFormat:"CSV"};P.startFrom={parameterPath:["options","startFrom"],mapper:{serializedName:"startFrom",xmlName:"startFrom",type:{name:"String"}}};P.delimiter={parameterPath:"delimiter",mapper:{serializedName:"delimiter",required:!0,xmlName:"delimiter",type:{name:"String"}}};P.snapshot={parameterPath:["options","snapshot"],mapper:{serializedName:"snapshot",xmlName:"snapshot",type:{name:"String"}}};P.versionId={parameterPath:["options","versionId"],mapper:{serializedName:"versionid",xmlName:"versionid",type:{name:"String"}}};P.range={parameterPath:["options","range"],mapper:{serializedName:"x-ms-range",xmlName:"x-ms-range",type:{name:"String"}}};P.rangeGetContentMD5={parameterPath:["options","rangeGetContentMD5"],mapper:{serializedName:"x-ms-range-get-content-md5",xmlName:"x-ms-range-get-content-md5",type:{name:"Boolean"}}};P.rangeGetContentCRC64={parameterPath:["options","rangeGetContentCRC64"],mapper:{serializedName:"x-ms-range-get-content-crc64",xmlName:"x-ms-range-get-content-crc64",type:{name:"Boolean"}}};P.encryptionKey={parameterPath:["options","cpkInfo","encryptionKey"],mapper:{serializedName:"x-ms-encryption-key",xmlName:"x-ms-encryption-key",type:{name:"String"}}};P.encryptionKeySha256={parameterPath:["options","cpkInfo","encryptionKeySha256"],mapper:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}}};P.encryptionAlgorithm={parameterPath:["options","cpkInfo","encryptionAlgorithm"],mapper:{serializedName:"x-ms-encryption-algorithm",xmlName:"x-ms-encryption-algorithm",type:{name:"String"}}};P.ifMatch={parameterPath:["options","modifiedAccessConditions","ifMatch"],mapper:{serializedName:"If-Match",xmlName:"If-Match",type:{name:"String"}}};P.ifNoneMatch={parameterPath:["options","modifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"If-None-Match",xmlName:"If-None-Match",type:{name:"String"}}};P.ifTags={parameterPath:["options","modifiedAccessConditions","ifTags"],mapper:{serializedName:"x-ms-if-tags",xmlName:"x-ms-if-tags",type:{name:"String"}}};P.deleteSnapshots={parameterPath:["options","deleteSnapshots"],mapper:{serializedName:"x-ms-delete-snapshots",xmlName:"x-ms-delete-snapshots",type:{name:"Enum",allowedValues:["include","only"]}}};P.blobDeleteType={parameterPath:["options","blobDeleteType"],mapper:{serializedName:"deletetype",xmlName:"deletetype",type:{name:"String"}}};P.comp11={parameterPath:"comp",mapper:{defaultValue:"expiry",isConstant:!0,serializedName:"comp",type:{name:"String"}}};P.expiryOptions={parameterPath:"expiryOptions",mapper:{serializedName:"x-ms-expiry-option",required:!0,xmlName:"x-ms-expiry-option",type:{name:"String"}}};P.expiresOn={parameterPath:["options","expiresOn"],mapper:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"String"}}};P.blobCacheControl={parameterPath:["options","blobHttpHeaders","blobCacheControl"],mapper:{serializedName:"x-ms-blob-cache-control",xmlName:"x-ms-blob-cache-control",type:{name:"String"}}};P.blobContentType={parameterPath:["options","blobHttpHeaders","blobContentType"],mapper:{serializedName:"x-ms-blob-content-type",xmlName:"x-ms-blob-content-type",type:{name:"String"}}};P.blobContentMD5={parameterPath:["options","blobHttpHeaders","blobContentMD5"],mapper:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}}};P.blobContentEncoding={parameterPath:["options","blobHttpHeaders","blobContentEncoding"],mapper:{serializedName:"x-ms-blob-content-encoding",xmlName:"x-ms-blob-content-encoding",type:{name:"String"}}};P.blobContentLanguage={parameterPath:["options","blobHttpHeaders","blobContentLanguage"],mapper:{serializedName:"x-ms-blob-content-language",xmlName:"x-ms-blob-content-language",type:{name:"String"}}};P.blobContentDisposition={parameterPath:["options","blobHttpHeaders","blobContentDisposition"],mapper:{serializedName:"x-ms-blob-content-disposition",xmlName:"x-ms-blob-content-disposition",type:{name:"String"}}};P.comp12={parameterPath:"comp",mapper:{defaultValue:"immutabilityPolicies",isConstant:!0,serializedName:"comp",type:{name:"String"}}};P.immutabilityPolicyExpiry={parameterPath:["options","immutabilityPolicyExpiry"],mapper:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}}};P.immutabilityPolicyMode={parameterPath:["options","immutabilityPolicyMode"],mapper:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}};P.comp13={parameterPath:"comp",mapper:{defaultValue:"legalhold",isConstant:!0,serializedName:"comp",type:{name:"String"}}};P.legalHold={parameterPath:"legalHold",mapper:{serializedName:"x-ms-legal-hold",required:!0,xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}};P.encryptionScope={parameterPath:["options","encryptionScope"],mapper:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}}};P.comp14={parameterPath:"comp",mapper:{defaultValue:"snapshot",isConstant:!0,serializedName:"comp",type:{name:"String"}}};P.tier={parameterPath:["options","tier"],mapper:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold"]}}};P.rehydratePriority={parameterPath:["options","rehydratePriority"],mapper:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}}};P.sourceIfModifiedSince={parameterPath:["options","sourceModifiedAccessConditions","sourceIfModifiedSince"],mapper:{serializedName:"x-ms-source-if-modified-since",xmlName:"x-ms-source-if-modified-since",type:{name:"DateTimeRfc1123"}}};P.sourceIfUnmodifiedSince={parameterPath:["options","sourceModifiedAccessConditions","sourceIfUnmodifiedSince"],mapper:{serializedName:"x-ms-source-if-unmodified-since",xmlName:"x-ms-source-if-unmodified-since",type:{name:"DateTimeRfc1123"}}};P.sourceIfMatch={parameterPath:["options","sourceModifiedAccessConditions","sourceIfMatch"],mapper:{serializedName:"x-ms-source-if-match",xmlName:"x-ms-source-if-match",type:{name:"String"}}};P.sourceIfNoneMatch={parameterPath:["options","sourceModifiedAccessConditions","sourceIfNoneMatch"],mapper:{serializedName:"x-ms-source-if-none-match",xmlName:"x-ms-source-if-none-match",type:{name:"String"}}};P.sourceIfTags={parameterPath:["options","sourceModifiedAccessConditions","sourceIfTags"],mapper:{serializedName:"x-ms-source-if-tags",xmlName:"x-ms-source-if-tags",type:{name:"String"}}};P.copySource={parameterPath:"copySource",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}};P.blobTagsString={parameterPath:["options","blobTagsString"],mapper:{serializedName:"x-ms-tags",xmlName:"x-ms-tags",type:{name:"String"}}};P.sealBlob={parameterPath:["options","sealBlob"],mapper:{serializedName:"x-ms-seal-blob",xmlName:"x-ms-seal-blob",type:{name:"Boolean"}}};P.legalHold1={parameterPath:["options","legalHold"],mapper:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}};P.xMsRequiresSync={parameterPath:"xMsRequiresSync",mapper:{defaultValue:"true",isConstant:!0,serializedName:"x-ms-requires-sync",type:{name:"String"}}};P.sourceContentMD5={parameterPath:["options","sourceContentMD5"],mapper:{serializedName:"x-ms-source-content-md5",xmlName:"x-ms-source-content-md5",type:{name:"ByteArray"}}};P.copySourceAuthorization={parameterPath:["options","copySourceAuthorization"],mapper:{serializedName:"x-ms-copy-source-authorization",xmlName:"x-ms-copy-source-authorization",type:{name:"String"}}};P.copySourceTags={parameterPath:["options","copySourceTags"],mapper:{serializedName:"x-ms-copy-source-tag-option",xmlName:"x-ms-copy-source-tag-option",type:{name:"Enum",allowedValues:["REPLACE","COPY"]}}};P.fileRequestIntent={parameterPath:["options","fileRequestIntent"],mapper:{serializedName:"x-ms-file-request-intent",xmlName:"x-ms-file-request-intent",type:{name:"String"}}};P.comp15={parameterPath:"comp",mapper:{defaultValue:"copy",isConstant:!0,serializedName:"comp",type:{name:"String"}}};P.copyActionAbortConstant={parameterPath:"copyActionAbortConstant",mapper:{defaultValue:"abort",isConstant:!0,serializedName:"x-ms-copy-action",type:{name:"String"}}};P.copyId={parameterPath:"copyId",mapper:{serializedName:"copyid",required:!0,xmlName:"copyid",type:{name:"String"}}};P.comp16={parameterPath:"comp",mapper:{defaultValue:"tier",isConstant:!0,serializedName:"comp",type:{name:"String"}}};P.tier1={parameterPath:"tier",mapper:{serializedName:"x-ms-access-tier",required:!0,xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold"]}}};P.queryRequest={parameterPath:["options","queryRequest"],mapper:tg.QueryRequest};P.comp17={parameterPath:"comp",mapper:{defaultValue:"query",isConstant:!0,serializedName:"comp",type:{name:"String"}}};P.comp18={parameterPath:"comp",mapper:{defaultValue:"tags",isConstant:!0,serializedName:"comp",type:{name:"String"}}};P.ifModifiedSince1={parameterPath:["options","blobModifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"x-ms-blob-if-modified-since",xmlName:"x-ms-blob-if-modified-since",type:{name:"DateTimeRfc1123"}}};P.ifUnmodifiedSince1={parameterPath:["options","blobModifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"x-ms-blob-if-unmodified-since",xmlName:"x-ms-blob-if-unmodified-since",type:{name:"DateTimeRfc1123"}}};P.ifMatch1={parameterPath:["options","blobModifiedAccessConditions","ifMatch"],mapper:{serializedName:"x-ms-blob-if-match",xmlName:"x-ms-blob-if-match",type:{name:"String"}}};P.ifNoneMatch1={parameterPath:["options","blobModifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"x-ms-blob-if-none-match",xmlName:"x-ms-blob-if-none-match",type:{name:"String"}}};P.tags={parameterPath:["options","tags"],mapper:tg.BlobTags};P.transactionalContentMD5={parameterPath:["options","transactionalContentMD5"],mapper:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}}};P.transactionalContentCrc64={parameterPath:["options","transactionalContentCrc64"],mapper:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}};P.blobType={parameterPath:"blobType",mapper:{defaultValue:"PageBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}};P.blobContentLength={parameterPath:"blobContentLength",mapper:{serializedName:"x-ms-blob-content-length",required:!0,xmlName:"x-ms-blob-content-length",type:{name:"Number"}}};P.blobSequenceNumber={parameterPath:["options","blobSequenceNumber"],mapper:{defaultValue:0,serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}}};P.contentType1={parameterPath:["options","contentType"],mapper:{defaultValue:"application/octet-stream",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}};P.body1={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}};P.accept2={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}};P.comp19={parameterPath:"comp",mapper:{defaultValue:"page",isConstant:!0,serializedName:"comp",type:{name:"String"}}};P.pageWrite={parameterPath:"pageWrite",mapper:{defaultValue:"update",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}};P.ifSequenceNumberLessThanOrEqualTo={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThanOrEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-le",xmlName:"x-ms-if-sequence-number-le",type:{name:"Number"}}};P.ifSequenceNumberLessThan={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThan"],mapper:{serializedName:"x-ms-if-sequence-number-lt",xmlName:"x-ms-if-sequence-number-lt",type:{name:"Number"}}};P.ifSequenceNumberEqualTo={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-eq",xmlName:"x-ms-if-sequence-number-eq",type:{name:"Number"}}};P.pageWrite1={parameterPath:"pageWrite",mapper:{defaultValue:"clear",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}};P.sourceUrl={parameterPath:"sourceUrl",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}};P.sourceRange={parameterPath:"sourceRange",mapper:{serializedName:"x-ms-source-range",required:!0,xmlName:"x-ms-source-range",type:{name:"String"}}};P.sourceContentCrc64={parameterPath:["options","sourceContentCrc64"],mapper:{serializedName:"x-ms-source-content-crc64",xmlName:"x-ms-source-content-crc64",type:{name:"ByteArray"}}};P.range1={parameterPath:"range",mapper:{serializedName:"x-ms-range",required:!0,xmlName:"x-ms-range",type:{name:"String"}}};P.comp20={parameterPath:"comp",mapper:{defaultValue:"pagelist",isConstant:!0,serializedName:"comp",type:{name:"String"}}};P.prevsnapshot={parameterPath:["options","prevsnapshot"],mapper:{serializedName:"prevsnapshot",xmlName:"prevsnapshot",type:{name:"String"}}};P.prevSnapshotUrl={parameterPath:["options","prevSnapshotUrl"],mapper:{serializedName:"x-ms-previous-snapshot-url",xmlName:"x-ms-previous-snapshot-url",type:{name:"String"}}};P.sequenceNumberAction={parameterPath:"sequenceNumberAction",mapper:{serializedName:"x-ms-sequence-number-action",required:!0,xmlName:"x-ms-sequence-number-action",type:{name:"Enum",allowedValues:["max","update","increment"]}}};P.comp21={parameterPath:"comp",mapper:{defaultValue:"incrementalcopy",isConstant:!0,serializedName:"comp",type:{name:"String"}}};P.blobType1={parameterPath:"blobType",mapper:{defaultValue:"AppendBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}};P.comp22={parameterPath:"comp",mapper:{defaultValue:"appendblock",isConstant:!0,serializedName:"comp",type:{name:"String"}}};P.maxSize={parameterPath:["options","appendPositionAccessConditions","maxSize"],mapper:{serializedName:"x-ms-blob-condition-maxsize",xmlName:"x-ms-blob-condition-maxsize",type:{name:"Number"}}};P.appendPosition={parameterPath:["options","appendPositionAccessConditions","appendPosition"],mapper:{serializedName:"x-ms-blob-condition-appendpos",xmlName:"x-ms-blob-condition-appendpos",type:{name:"Number"}}};P.sourceRange1={parameterPath:["options","sourceRange"],mapper:{serializedName:"x-ms-source-range",xmlName:"x-ms-source-range",type:{name:"String"}}};P.comp23={parameterPath:"comp",mapper:{defaultValue:"seal",isConstant:!0,serializedName:"comp",type:{name:"String"}}};P.blobType2={parameterPath:"blobType",mapper:{defaultValue:"BlockBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}};P.copySourceBlobProperties={parameterPath:["options","copySourceBlobProperties"],mapper:{serializedName:"x-ms-copy-source-blob-properties",xmlName:"x-ms-copy-source-blob-properties",type:{name:"Boolean"}}};P.comp24={parameterPath:"comp",mapper:{defaultValue:"block",isConstant:!0,serializedName:"comp",type:{name:"String"}}};P.blockId={parameterPath:"blockId",mapper:{serializedName:"blockid",required:!0,xmlName:"blockid",type:{name:"String"}}};P.blocks={parameterPath:"blocks",mapper:tg.BlockLookupList};P.comp25={parameterPath:"comp",mapper:{defaultValue:"blocklist",isConstant:!0,serializedName:"comp",type:{name:"String"}}};P.listType={parameterPath:"listType",mapper:{defaultValue:"committed",serializedName:"blocklisttype",required:!0,xmlName:"blocklisttype",type:{name:"Enum",allowedValues:["committed","uncommitted","all"]}}}});var ZW=x(Sb=>{"use strict";Object.defineProperty(Sb,"__esModule",{value:!0});Sb.ServiceImpl=void 0;var KP=(Wr(),cn(Vr)),$8e=KP.__importStar(Bo()),It=KP.__importStar(Uc()),Ie=KP.__importStar(du()),YP=class{static{o(this,"ServiceImpl")}client;constructor(e){this.client=e}setProperties(e,r){return this.client.sendOperationRequest({blobServiceProperties:e,options:r},X8e)}getProperties(e){return this.client.sendOperationRequest({options:e},Z8e)}getStatistics(e){return this.client.sendOperationRequest({options:e},e4e)}listContainersSegment(e){return this.client.sendOperationRequest({options:e},t4e)}getUserDelegationKey(e,r){return this.client.sendOperationRequest({keyInfo:e,options:r},r4e)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},n4e)}submitBatch(e,r,n,i){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:n,options:i},i4e)}filterBlobs(e){return this.client.sendOperationRequest({options:e},s4e)}};Sb.ServiceImpl=YP;var Fc=$8e.createSerializer(It,!0),X8e={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:It.ServiceSetPropertiesHeaders},default:{bodyMapper:It.StorageError,headersMapper:It.ServiceSetPropertiesExceptionHeaders}},requestBody:Ie.blobServiceProperties,queryParameters:[Ie.restype,Ie.comp,Ie.timeoutInSeconds],urlParameters:[Ie.url],headerParameters:[Ie.contentType,Ie.accept,Ie.version,Ie.requestId],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Fc},Z8e={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:It.BlobServiceProperties,headersMapper:It.ServiceGetPropertiesHeaders},default:{bodyMapper:It.StorageError,headersMapper:It.ServiceGetPropertiesExceptionHeaders}},queryParameters:[Ie.restype,Ie.comp,Ie.timeoutInSeconds],urlParameters:[Ie.url],headerParameters:[Ie.version,Ie.requestId,Ie.accept1],isXML:!0,serializer:Fc},e4e={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:It.BlobServiceStatistics,headersMapper:It.ServiceGetStatisticsHeaders},default:{bodyMapper:It.StorageError,headersMapper:It.ServiceGetStatisticsExceptionHeaders}},queryParameters:[Ie.restype,Ie.timeoutInSeconds,Ie.comp1],urlParameters:[Ie.url],headerParameters:[Ie.version,Ie.requestId,Ie.accept1],isXML:!0,serializer:Fc},t4e={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:It.ListContainersSegmentResponse,headersMapper:It.ServiceListContainersSegmentHeaders},default:{bodyMapper:It.StorageError,headersMapper:It.ServiceListContainersSegmentExceptionHeaders}},queryParameters:[Ie.timeoutInSeconds,Ie.comp2,Ie.prefix,Ie.marker,Ie.maxPageSize,Ie.include],urlParameters:[Ie.url],headerParameters:[Ie.version,Ie.requestId,Ie.accept1],isXML:!0,serializer:Fc},r4e={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:It.UserDelegationKey,headersMapper:It.ServiceGetUserDelegationKeyHeaders},default:{bodyMapper:It.StorageError,headersMapper:It.ServiceGetUserDelegationKeyExceptionHeaders}},requestBody:Ie.keyInfo,queryParameters:[Ie.restype,Ie.timeoutInSeconds,Ie.comp3],urlParameters:[Ie.url],headerParameters:[Ie.contentType,Ie.accept,Ie.version,Ie.requestId],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Fc},n4e={path:"/",httpMethod:"GET",responses:{200:{headersMapper:It.ServiceGetAccountInfoHeaders},default:{bodyMapper:It.StorageError,headersMapper:It.ServiceGetAccountInfoExceptionHeaders}},queryParameters:[Ie.comp,Ie.timeoutInSeconds,Ie.restype1],urlParameters:[Ie.url],headerParameters:[Ie.version,Ie.requestId,Ie.accept1],isXML:!0,serializer:Fc},i4e={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:It.ServiceSubmitBatchHeaders},default:{bodyMapper:It.StorageError,headersMapper:It.ServiceSubmitBatchExceptionHeaders}},requestBody:Ie.body,queryParameters:[Ie.timeoutInSeconds,Ie.comp4],urlParameters:[Ie.url],headerParameters:[Ie.accept,Ie.version,Ie.requestId,Ie.contentLength,Ie.multipartContentType],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Fc},s4e={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:It.FilterBlobSegment,headersMapper:It.ServiceFilterBlobsHeaders},default:{bodyMapper:It.StorageError,headersMapper:It.ServiceFilterBlobsExceptionHeaders}},queryParameters:[Ie.timeoutInSeconds,Ie.marker,Ie.maxPageSize,Ie.comp5,Ie.where],urlParameters:[Ie.url],headerParameters:[Ie.version,Ie.requestId,Ie.accept1],isXML:!0,serializer:Fc}});var e$=x(Nb=>{"use strict";Object.defineProperty(Nb,"__esModule",{value:!0});Nb.ContainerImpl=void 0;var VP=(Wr(),cn(Vr)),o4e=VP.__importStar(Bo()),Se=VP.__importStar(Uc()),Y=VP.__importStar(du()),JP=class{static{o(this,"ContainerImpl")}client;constructor(e){this.client=e}create(e){return this.client.sendOperationRequest({options:e},a4e)}getProperties(e){return this.client.sendOperationRequest({options:e},c4e)}delete(e){return this.client.sendOperationRequest({options:e},l4e)}setMetadata(e){return this.client.sendOperationRequest({options:e},u4e)}getAccessPolicy(e){return this.client.sendOperationRequest({options:e},A4e)}setAccessPolicy(e){return this.client.sendOperationRequest({options:e},d4e)}restore(e){return this.client.sendOperationRequest({options:e},f4e)}rename(e,r){return this.client.sendOperationRequest({sourceContainerName:e,options:r},h4e)}submitBatch(e,r,n,i){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:n,options:i},p4e)}filterBlobs(e){return this.client.sendOperationRequest({options:e},g4e)}acquireLease(e){return this.client.sendOperationRequest({options:e},m4e)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},y4e)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},E4e)}breakLease(e){return this.client.sendOperationRequest({options:e},b4e)}changeLease(e,r,n){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:n},C4e)}listBlobFlatSegment(e){return this.client.sendOperationRequest({options:e},x4e)}listBlobHierarchySegment(e,r){return this.client.sendOperationRequest({delimiter:e,options:r},I4e)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},B4e)}};Nb.ContainerImpl=JP;var en=o4e.createSerializer(Se,!0),a4e={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:Se.ContainerCreateHeaders},default:{bodyMapper:Se.StorageError,headersMapper:Se.ContainerCreateExceptionHeaders}},queryParameters:[Y.timeoutInSeconds,Y.restype2],urlParameters:[Y.url],headerParameters:[Y.version,Y.requestId,Y.accept1,Y.metadata,Y.access,Y.defaultEncryptionScope,Y.preventEncryptionScopeOverride],isXML:!0,serializer:en},c4e={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:Se.ContainerGetPropertiesHeaders},default:{bodyMapper:Se.StorageError,headersMapper:Se.ContainerGetPropertiesExceptionHeaders}},queryParameters:[Y.timeoutInSeconds,Y.restype2],urlParameters:[Y.url],headerParameters:[Y.version,Y.requestId,Y.accept1,Y.leaseId],isXML:!0,serializer:en},l4e={path:"/{containerName}",httpMethod:"DELETE",responses:{202:{headersMapper:Se.ContainerDeleteHeaders},default:{bodyMapper:Se.StorageError,headersMapper:Se.ContainerDeleteExceptionHeaders}},queryParameters:[Y.timeoutInSeconds,Y.restype2],urlParameters:[Y.url],headerParameters:[Y.version,Y.requestId,Y.accept1,Y.leaseId,Y.ifModifiedSince,Y.ifUnmodifiedSince],isXML:!0,serializer:en},u4e={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:Se.ContainerSetMetadataHeaders},default:{bodyMapper:Se.StorageError,headersMapper:Se.ContainerSetMetadataExceptionHeaders}},queryParameters:[Y.timeoutInSeconds,Y.restype2,Y.comp6],urlParameters:[Y.url],headerParameters:[Y.version,Y.requestId,Y.accept1,Y.metadata,Y.leaseId,Y.ifModifiedSince],isXML:!0,serializer:en},A4e={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}},serializedName:"SignedIdentifiers",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier"},headersMapper:Se.ContainerGetAccessPolicyHeaders},default:{bodyMapper:Se.StorageError,headersMapper:Se.ContainerGetAccessPolicyExceptionHeaders}},queryParameters:[Y.timeoutInSeconds,Y.restype2,Y.comp7],urlParameters:[Y.url],headerParameters:[Y.version,Y.requestId,Y.accept1,Y.leaseId],isXML:!0,serializer:en},d4e={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:Se.ContainerSetAccessPolicyHeaders},default:{bodyMapper:Se.StorageError,headersMapper:Se.ContainerSetAccessPolicyExceptionHeaders}},requestBody:Y.containerAcl,queryParameters:[Y.timeoutInSeconds,Y.restype2,Y.comp7],urlParameters:[Y.url],headerParameters:[Y.contentType,Y.accept,Y.version,Y.requestId,Y.access,Y.leaseId,Y.ifModifiedSince,Y.ifUnmodifiedSince],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:en},f4e={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:Se.ContainerRestoreHeaders},default:{bodyMapper:Se.StorageError,headersMapper:Se.ContainerRestoreExceptionHeaders}},queryParameters:[Y.timeoutInSeconds,Y.restype2,Y.comp8],urlParameters:[Y.url],headerParameters:[Y.version,Y.requestId,Y.accept1,Y.deletedContainerName,Y.deletedContainerVersion],isXML:!0,serializer:en},h4e={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:Se.ContainerRenameHeaders},default:{bodyMapper:Se.StorageError,headersMapper:Se.ContainerRenameExceptionHeaders}},queryParameters:[Y.timeoutInSeconds,Y.restype2,Y.comp9],urlParameters:[Y.url],headerParameters:[Y.version,Y.requestId,Y.accept1,Y.sourceContainerName,Y.sourceLeaseId],isXML:!0,serializer:en},p4e={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Se.ContainerSubmitBatchHeaders},default:{bodyMapper:Se.StorageError,headersMapper:Se.ContainerSubmitBatchExceptionHeaders}},requestBody:Y.body,queryParameters:[Y.timeoutInSeconds,Y.comp4,Y.restype2],urlParameters:[Y.url],headerParameters:[Y.accept,Y.version,Y.requestId,Y.contentLength,Y.multipartContentType],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:en},g4e={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:Se.FilterBlobSegment,headersMapper:Se.ContainerFilterBlobsHeaders},default:{bodyMapper:Se.StorageError,headersMapper:Se.ContainerFilterBlobsExceptionHeaders}},queryParameters:[Y.timeoutInSeconds,Y.marker,Y.maxPageSize,Y.comp5,Y.where,Y.restype2],urlParameters:[Y.url],headerParameters:[Y.version,Y.requestId,Y.accept1],isXML:!0,serializer:en},m4e={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:Se.ContainerAcquireLeaseHeaders},default:{bodyMapper:Se.StorageError,headersMapper:Se.ContainerAcquireLeaseExceptionHeaders}},queryParameters:[Y.timeoutInSeconds,Y.restype2,Y.comp10],urlParameters:[Y.url],headerParameters:[Y.version,Y.requestId,Y.accept1,Y.ifModifiedSince,Y.ifUnmodifiedSince,Y.action,Y.duration,Y.proposedLeaseId],isXML:!0,serializer:en},y4e={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:Se.ContainerReleaseLeaseHeaders},default:{bodyMapper:Se.StorageError,headersMapper:Se.ContainerReleaseLeaseExceptionHeaders}},queryParameters:[Y.timeoutInSeconds,Y.restype2,Y.comp10],urlParameters:[Y.url],headerParameters:[Y.version,Y.requestId,Y.accept1,Y.ifModifiedSince,Y.ifUnmodifiedSince,Y.action1,Y.leaseId1],isXML:!0,serializer:en},E4e={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:Se.ContainerRenewLeaseHeaders},default:{bodyMapper:Se.StorageError,headersMapper:Se.ContainerRenewLeaseExceptionHeaders}},queryParameters:[Y.timeoutInSeconds,Y.restype2,Y.comp10],urlParameters:[Y.url],headerParameters:[Y.version,Y.requestId,Y.accept1,Y.ifModifiedSince,Y.ifUnmodifiedSince,Y.leaseId1,Y.action2],isXML:!0,serializer:en},b4e={path:"/{containerName}",httpMethod:"PUT",responses:{202:{headersMapper:Se.ContainerBreakLeaseHeaders},default:{bodyMapper:Se.StorageError,headersMapper:Se.ContainerBreakLeaseExceptionHeaders}},queryParameters:[Y.timeoutInSeconds,Y.restype2,Y.comp10],urlParameters:[Y.url],headerParameters:[Y.version,Y.requestId,Y.accept1,Y.ifModifiedSince,Y.ifUnmodifiedSince,Y.action3,Y.breakPeriod],isXML:!0,serializer:en},C4e={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:Se.ContainerChangeLeaseHeaders},default:{bodyMapper:Se.StorageError,headersMapper:Se.ContainerChangeLeaseExceptionHeaders}},queryParameters:[Y.timeoutInSeconds,Y.restype2,Y.comp10],urlParameters:[Y.url],headerParameters:[Y.version,Y.requestId,Y.accept1,Y.ifModifiedSince,Y.ifUnmodifiedSince,Y.leaseId1,Y.action4,Y.proposedLeaseId1],isXML:!0,serializer:en},x4e={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:Se.ListBlobsFlatSegmentResponse,headersMapper:Se.ContainerListBlobFlatSegmentHeaders},default:{bodyMapper:Se.StorageError,headersMapper:Se.ContainerListBlobFlatSegmentExceptionHeaders}},queryParameters:[Y.timeoutInSeconds,Y.comp2,Y.prefix,Y.marker,Y.maxPageSize,Y.restype2,Y.include1,Y.startFrom],urlParameters:[Y.url],headerParameters:[Y.version,Y.requestId,Y.accept1],isXML:!0,serializer:en},I4e={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:Se.ListBlobsHierarchySegmentResponse,headersMapper:Se.ContainerListBlobHierarchySegmentHeaders},default:{bodyMapper:Se.StorageError,headersMapper:Se.ContainerListBlobHierarchySegmentExceptionHeaders}},queryParameters:[Y.timeoutInSeconds,Y.comp2,Y.prefix,Y.marker,Y.maxPageSize,Y.restype2,Y.include1,Y.startFrom,Y.delimiter],urlParameters:[Y.url],headerParameters:[Y.version,Y.requestId,Y.accept1],isXML:!0,serializer:en},B4e={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:Se.ContainerGetAccountInfoHeaders},default:{bodyMapper:Se.StorageError,headersMapper:Se.ContainerGetAccountInfoExceptionHeaders}},queryParameters:[Y.comp,Y.timeoutInSeconds,Y.restype1],urlParameters:[Y.url],headerParameters:[Y.version,Y.requestId,Y.accept1],isXML:!0,serializer:en}});var t$=x(vb=>{"use strict";Object.defineProperty(vb,"__esModule",{value:!0});vb.BlobImpl=void 0;var $P=(Wr(),cn(Vr)),w4e=$P.__importStar(Bo()),be=$P.__importStar(Uc()),N=$P.__importStar(du()),WP=class{static{o(this,"BlobImpl")}client;constructor(e){this.client=e}download(e){return this.client.sendOperationRequest({options:e},Q4e)}getProperties(e){return this.client.sendOperationRequest({options:e},S4e)}delete(e){return this.client.sendOperationRequest({options:e},N4e)}undelete(e){return this.client.sendOperationRequest({options:e},v4e)}setExpiry(e,r){return this.client.sendOperationRequest({expiryOptions:e,options:r},R4e)}setHttpHeaders(e){return this.client.sendOperationRequest({options:e},P4e)}setImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},_4e)}deleteImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},D4e)}setLegalHold(e,r){return this.client.sendOperationRequest({legalHold:e,options:r},k4e)}setMetadata(e){return this.client.sendOperationRequest({options:e},T4e)}acquireLease(e){return this.client.sendOperationRequest({options:e},O4e)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},M4e)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},L4e)}changeLease(e,r,n){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:n},U4e)}breakLease(e){return this.client.sendOperationRequest({options:e},F4e)}createSnapshot(e){return this.client.sendOperationRequest({options:e},H4e)}startCopyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},q4e)}copyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},z4e)}abortCopyFromURL(e,r){return this.client.sendOperationRequest({copyId:e,options:r},G4e)}setTier(e,r){return this.client.sendOperationRequest({tier:e,options:r},j4e)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},Y4e)}query(e){return this.client.sendOperationRequest({options:e},K4e)}getTags(e){return this.client.sendOperationRequest({options:e},J4e)}setTags(e){return this.client.sendOperationRequest({options:e},V4e)}};vb.BlobImpl=WP;var Zt=w4e.createSerializer(be,!0),Q4e={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:be.BlobDownloadHeaders},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:be.BlobDownloadHeaders},default:{bodyMapper:be.StorageError,headersMapper:be.BlobDownloadExceptionHeaders}},queryParameters:[N.timeoutInSeconds,N.snapshot,N.versionId],urlParameters:[N.url],headerParameters:[N.version,N.requestId,N.accept1,N.leaseId,N.ifModifiedSince,N.ifUnmodifiedSince,N.range,N.rangeGetContentMD5,N.rangeGetContentCRC64,N.encryptionKey,N.encryptionKeySha256,N.encryptionAlgorithm,N.ifMatch,N.ifNoneMatch,N.ifTags],isXML:!0,serializer:Zt},S4e={path:"/{containerName}/{blob}",httpMethod:"HEAD",responses:{200:{headersMapper:be.BlobGetPropertiesHeaders},default:{bodyMapper:be.StorageError,headersMapper:be.BlobGetPropertiesExceptionHeaders}},queryParameters:[N.timeoutInSeconds,N.snapshot,N.versionId],urlParameters:[N.url],headerParameters:[N.version,N.requestId,N.accept1,N.leaseId,N.ifModifiedSince,N.ifUnmodifiedSince,N.encryptionKey,N.encryptionKeySha256,N.encryptionAlgorithm,N.ifMatch,N.ifNoneMatch,N.ifTags],isXML:!0,serializer:Zt},N4e={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{202:{headersMapper:be.BlobDeleteHeaders},default:{bodyMapper:be.StorageError,headersMapper:be.BlobDeleteExceptionHeaders}},queryParameters:[N.timeoutInSeconds,N.snapshot,N.versionId,N.blobDeleteType],urlParameters:[N.url],headerParameters:[N.version,N.requestId,N.accept1,N.leaseId,N.ifModifiedSince,N.ifUnmodifiedSince,N.ifMatch,N.ifNoneMatch,N.ifTags,N.deleteSnapshots],isXML:!0,serializer:Zt},v4e={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:be.BlobUndeleteHeaders},default:{bodyMapper:be.StorageError,headersMapper:be.BlobUndeleteExceptionHeaders}},queryParameters:[N.timeoutInSeconds,N.comp8],urlParameters:[N.url],headerParameters:[N.version,N.requestId,N.accept1],isXML:!0,serializer:Zt},R4e={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:be.BlobSetExpiryHeaders},default:{bodyMapper:be.StorageError,headersMapper:be.BlobSetExpiryExceptionHeaders}},queryParameters:[N.timeoutInSeconds,N.comp11],urlParameters:[N.url],headerParameters:[N.version,N.requestId,N.accept1,N.expiryOptions,N.expiresOn],isXML:!0,serializer:Zt},P4e={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:be.BlobSetHttpHeadersHeaders},default:{bodyMapper:be.StorageError,headersMapper:be.BlobSetHttpHeadersExceptionHeaders}},queryParameters:[N.comp,N.timeoutInSeconds],urlParameters:[N.url],headerParameters:[N.version,N.requestId,N.accept1,N.leaseId,N.ifModifiedSince,N.ifUnmodifiedSince,N.ifMatch,N.ifNoneMatch,N.ifTags,N.blobCacheControl,N.blobContentType,N.blobContentMD5,N.blobContentEncoding,N.blobContentLanguage,N.blobContentDisposition],isXML:!0,serializer:Zt},_4e={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:be.BlobSetImmutabilityPolicyHeaders},default:{bodyMapper:be.StorageError,headersMapper:be.BlobSetImmutabilityPolicyExceptionHeaders}},queryParameters:[N.timeoutInSeconds,N.snapshot,N.versionId,N.comp12],urlParameters:[N.url],headerParameters:[N.version,N.requestId,N.accept1,N.ifUnmodifiedSince,N.immutabilityPolicyExpiry,N.immutabilityPolicyMode],isXML:!0,serializer:Zt},D4e={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{200:{headersMapper:be.BlobDeleteImmutabilityPolicyHeaders},default:{bodyMapper:be.StorageError,headersMapper:be.BlobDeleteImmutabilityPolicyExceptionHeaders}},queryParameters:[N.timeoutInSeconds,N.snapshot,N.versionId,N.comp12],urlParameters:[N.url],headerParameters:[N.version,N.requestId,N.accept1],isXML:!0,serializer:Zt},k4e={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:be.BlobSetLegalHoldHeaders},default:{bodyMapper:be.StorageError,headersMapper:be.BlobSetLegalHoldExceptionHeaders}},queryParameters:[N.timeoutInSeconds,N.snapshot,N.versionId,N.comp13],urlParameters:[N.url],headerParameters:[N.version,N.requestId,N.accept1,N.legalHold],isXML:!0,serializer:Zt},T4e={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:be.BlobSetMetadataHeaders},default:{bodyMapper:be.StorageError,headersMapper:be.BlobSetMetadataExceptionHeaders}},queryParameters:[N.timeoutInSeconds,N.comp6],urlParameters:[N.url],headerParameters:[N.version,N.requestId,N.accept1,N.metadata,N.leaseId,N.ifModifiedSince,N.ifUnmodifiedSince,N.encryptionKey,N.encryptionKeySha256,N.encryptionAlgorithm,N.ifMatch,N.ifNoneMatch,N.ifTags,N.encryptionScope],isXML:!0,serializer:Zt},O4e={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:be.BlobAcquireLeaseHeaders},default:{bodyMapper:be.StorageError,headersMapper:be.BlobAcquireLeaseExceptionHeaders}},queryParameters:[N.timeoutInSeconds,N.comp10],urlParameters:[N.url],headerParameters:[N.version,N.requestId,N.accept1,N.ifModifiedSince,N.ifUnmodifiedSince,N.action,N.duration,N.proposedLeaseId,N.ifMatch,N.ifNoneMatch,N.ifTags],isXML:!0,serializer:Zt},M4e={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:be.BlobReleaseLeaseHeaders},default:{bodyMapper:be.StorageError,headersMapper:be.BlobReleaseLeaseExceptionHeaders}},queryParameters:[N.timeoutInSeconds,N.comp10],urlParameters:[N.url],headerParameters:[N.version,N.requestId,N.accept1,N.ifModifiedSince,N.ifUnmodifiedSince,N.action1,N.leaseId1,N.ifMatch,N.ifNoneMatch,N.ifTags],isXML:!0,serializer:Zt},L4e={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:be.BlobRenewLeaseHeaders},default:{bodyMapper:be.StorageError,headersMapper:be.BlobRenewLeaseExceptionHeaders}},queryParameters:[N.timeoutInSeconds,N.comp10],urlParameters:[N.url],headerParameters:[N.version,N.requestId,N.accept1,N.ifModifiedSince,N.ifUnmodifiedSince,N.leaseId1,N.action2,N.ifMatch,N.ifNoneMatch,N.ifTags],isXML:!0,serializer:Zt},U4e={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:be.BlobChangeLeaseHeaders},default:{bodyMapper:be.StorageError,headersMapper:be.BlobChangeLeaseExceptionHeaders}},queryParameters:[N.timeoutInSeconds,N.comp10],urlParameters:[N.url],headerParameters:[N.version,N.requestId,N.accept1,N.ifModifiedSince,N.ifUnmodifiedSince,N.leaseId1,N.action4,N.proposedLeaseId1,N.ifMatch,N.ifNoneMatch,N.ifTags],isXML:!0,serializer:Zt},F4e={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:be.BlobBreakLeaseHeaders},default:{bodyMapper:be.StorageError,headersMapper:be.BlobBreakLeaseExceptionHeaders}},queryParameters:[N.timeoutInSeconds,N.comp10],urlParameters:[N.url],headerParameters:[N.version,N.requestId,N.accept1,N.ifModifiedSince,N.ifUnmodifiedSince,N.action3,N.breakPeriod,N.ifMatch,N.ifNoneMatch,N.ifTags],isXML:!0,serializer:Zt},H4e={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:be.BlobCreateSnapshotHeaders},default:{bodyMapper:be.StorageError,headersMapper:be.BlobCreateSnapshotExceptionHeaders}},queryParameters:[N.timeoutInSeconds,N.comp14],urlParameters:[N.url],headerParameters:[N.version,N.requestId,N.accept1,N.metadata,N.leaseId,N.ifModifiedSince,N.ifUnmodifiedSince,N.encryptionKey,N.encryptionKeySha256,N.encryptionAlgorithm,N.ifMatch,N.ifNoneMatch,N.ifTags,N.encryptionScope],isXML:!0,serializer:Zt},q4e={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:be.BlobStartCopyFromURLHeaders},default:{bodyMapper:be.StorageError,headersMapper:be.BlobStartCopyFromURLExceptionHeaders}},queryParameters:[N.timeoutInSeconds],urlParameters:[N.url],headerParameters:[N.version,N.requestId,N.accept1,N.metadata,N.leaseId,N.ifModifiedSince,N.ifUnmodifiedSince,N.ifMatch,N.ifNoneMatch,N.ifTags,N.immutabilityPolicyExpiry,N.immutabilityPolicyMode,N.tier,N.rehydratePriority,N.sourceIfModifiedSince,N.sourceIfUnmodifiedSince,N.sourceIfMatch,N.sourceIfNoneMatch,N.sourceIfTags,N.copySource,N.blobTagsString,N.sealBlob,N.legalHold1],isXML:!0,serializer:Zt},z4e={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:be.BlobCopyFromURLHeaders},default:{bodyMapper:be.StorageError,headersMapper:be.BlobCopyFromURLExceptionHeaders}},queryParameters:[N.timeoutInSeconds],urlParameters:[N.url],headerParameters:[N.version,N.requestId,N.accept1,N.metadata,N.leaseId,N.ifModifiedSince,N.ifUnmodifiedSince,N.ifMatch,N.ifNoneMatch,N.ifTags,N.immutabilityPolicyExpiry,N.immutabilityPolicyMode,N.encryptionScope,N.tier,N.sourceIfModifiedSince,N.sourceIfUnmodifiedSince,N.sourceIfMatch,N.sourceIfNoneMatch,N.copySource,N.blobTagsString,N.legalHold1,N.xMsRequiresSync,N.sourceContentMD5,N.copySourceAuthorization,N.copySourceTags,N.fileRequestIntent],isXML:!0,serializer:Zt},G4e={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:be.BlobAbortCopyFromURLHeaders},default:{bodyMapper:be.StorageError,headersMapper:be.BlobAbortCopyFromURLExceptionHeaders}},queryParameters:[N.timeoutInSeconds,N.comp15,N.copyId],urlParameters:[N.url],headerParameters:[N.version,N.requestId,N.accept1,N.leaseId,N.copyActionAbortConstant],isXML:!0,serializer:Zt},j4e={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:be.BlobSetTierHeaders},202:{headersMapper:be.BlobSetTierHeaders},default:{bodyMapper:be.StorageError,headersMapper:be.BlobSetTierExceptionHeaders}},queryParameters:[N.timeoutInSeconds,N.snapshot,N.versionId,N.comp16],urlParameters:[N.url],headerParameters:[N.version,N.requestId,N.accept1,N.leaseId,N.ifTags,N.rehydratePriority,N.tier1],isXML:!0,serializer:Zt},Y4e={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{headersMapper:be.BlobGetAccountInfoHeaders},default:{bodyMapper:be.StorageError,headersMapper:be.BlobGetAccountInfoExceptionHeaders}},queryParameters:[N.comp,N.timeoutInSeconds,N.restype1],urlParameters:[N.url],headerParameters:[N.version,N.requestId,N.accept1],isXML:!0,serializer:Zt},K4e={path:"/{containerName}/{blob}",httpMethod:"POST",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:be.BlobQueryHeaders},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:be.BlobQueryHeaders},default:{bodyMapper:be.StorageError,headersMapper:be.BlobQueryExceptionHeaders}},requestBody:N.queryRequest,queryParameters:[N.timeoutInSeconds,N.snapshot,N.comp17],urlParameters:[N.url],headerParameters:[N.contentType,N.accept,N.version,N.requestId,N.leaseId,N.ifModifiedSince,N.ifUnmodifiedSince,N.encryptionKey,N.encryptionKeySha256,N.encryptionAlgorithm,N.ifMatch,N.ifNoneMatch,N.ifTags],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Zt},J4e={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:be.BlobTags,headersMapper:be.BlobGetTagsHeaders},default:{bodyMapper:be.StorageError,headersMapper:be.BlobGetTagsExceptionHeaders}},queryParameters:[N.timeoutInSeconds,N.snapshot,N.versionId,N.comp18],urlParameters:[N.url],headerParameters:[N.version,N.requestId,N.accept1,N.leaseId,N.ifTags,N.ifModifiedSince1,N.ifUnmodifiedSince1,N.ifMatch1,N.ifNoneMatch1],isXML:!0,serializer:Zt},V4e={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:be.BlobSetTagsHeaders},default:{bodyMapper:be.StorageError,headersMapper:be.BlobSetTagsExceptionHeaders}},requestBody:N.tags,queryParameters:[N.timeoutInSeconds,N.versionId,N.comp18],urlParameters:[N.url],headerParameters:[N.contentType,N.accept,N.version,N.requestId,N.leaseId,N.ifTags,N.ifModifiedSince1,N.ifUnmodifiedSince1,N.ifMatch1,N.ifNoneMatch1,N.transactionalContentMD5,N.transactionalContentCrc64],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Zt}});var r$=x(Rb=>{"use strict";Object.defineProperty(Rb,"__esModule",{value:!0});Rb.PageBlobImpl=void 0;var ZP=(Wr(),cn(Vr)),W4e=ZP.__importStar(Bo()),Bt=ZP.__importStar(Uc()),j=ZP.__importStar(du()),XP=class{static{o(this,"PageBlobImpl")}client;constructor(e){this.client=e}create(e,r,n){return this.client.sendOperationRequest({contentLength:e,blobContentLength:r,options:n},$4e)}uploadPages(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},X4e)}clearPages(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},Z4e)}uploadPagesFromURL(e,r,n,i,s){return this.client.sendOperationRequest({sourceUrl:e,sourceRange:r,contentLength:n,range:i,options:s},e5e)}getPageRanges(e){return this.client.sendOperationRequest({options:e},t5e)}getPageRangesDiff(e){return this.client.sendOperationRequest({options:e},r5e)}resize(e,r){return this.client.sendOperationRequest({blobContentLength:e,options:r},n5e)}updateSequenceNumber(e,r){return this.client.sendOperationRequest({sequenceNumberAction:e,options:r},i5e)}copyIncremental(e,r){return this.client.sendOperationRequest({copySource:e,options:r},s5e)}};Rb.PageBlobImpl=XP;var Sa=W4e.createSerializer(Bt,!0),$4e={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Bt.PageBlobCreateHeaders},default:{bodyMapper:Bt.StorageError,headersMapper:Bt.PageBlobCreateExceptionHeaders}},queryParameters:[j.timeoutInSeconds],urlParameters:[j.url],headerParameters:[j.version,j.requestId,j.accept1,j.contentLength,j.metadata,j.leaseId,j.ifModifiedSince,j.ifUnmodifiedSince,j.encryptionKey,j.encryptionKeySha256,j.encryptionAlgorithm,j.ifMatch,j.ifNoneMatch,j.ifTags,j.blobCacheControl,j.blobContentType,j.blobContentMD5,j.blobContentEncoding,j.blobContentLanguage,j.blobContentDisposition,j.immutabilityPolicyExpiry,j.immutabilityPolicyMode,j.encryptionScope,j.tier,j.blobTagsString,j.legalHold1,j.blobType,j.blobContentLength,j.blobSequenceNumber],isXML:!0,serializer:Sa},X4e={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Bt.PageBlobUploadPagesHeaders},default:{bodyMapper:Bt.StorageError,headersMapper:Bt.PageBlobUploadPagesExceptionHeaders}},requestBody:j.body1,queryParameters:[j.timeoutInSeconds,j.comp19],urlParameters:[j.url],headerParameters:[j.version,j.requestId,j.contentLength,j.leaseId,j.ifModifiedSince,j.ifUnmodifiedSince,j.range,j.encryptionKey,j.encryptionKeySha256,j.encryptionAlgorithm,j.ifMatch,j.ifNoneMatch,j.ifTags,j.encryptionScope,j.transactionalContentMD5,j.transactionalContentCrc64,j.contentType1,j.accept2,j.pageWrite,j.ifSequenceNumberLessThanOrEqualTo,j.ifSequenceNumberLessThan,j.ifSequenceNumberEqualTo],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Sa},Z4e={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Bt.PageBlobClearPagesHeaders},default:{bodyMapper:Bt.StorageError,headersMapper:Bt.PageBlobClearPagesExceptionHeaders}},queryParameters:[j.timeoutInSeconds,j.comp19],urlParameters:[j.url],headerParameters:[j.version,j.requestId,j.accept1,j.contentLength,j.leaseId,j.ifModifiedSince,j.ifUnmodifiedSince,j.range,j.encryptionKey,j.encryptionKeySha256,j.encryptionAlgorithm,j.ifMatch,j.ifNoneMatch,j.ifTags,j.encryptionScope,j.ifSequenceNumberLessThanOrEqualTo,j.ifSequenceNumberLessThan,j.ifSequenceNumberEqualTo,j.pageWrite1],isXML:!0,serializer:Sa},e5e={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Bt.PageBlobUploadPagesFromURLHeaders},default:{bodyMapper:Bt.StorageError,headersMapper:Bt.PageBlobUploadPagesFromURLExceptionHeaders}},queryParameters:[j.timeoutInSeconds,j.comp19],urlParameters:[j.url],headerParameters:[j.version,j.requestId,j.accept1,j.contentLength,j.leaseId,j.ifModifiedSince,j.ifUnmodifiedSince,j.encryptionKey,j.encryptionKeySha256,j.encryptionAlgorithm,j.ifMatch,j.ifNoneMatch,j.ifTags,j.encryptionScope,j.sourceIfModifiedSince,j.sourceIfUnmodifiedSince,j.sourceIfMatch,j.sourceIfNoneMatch,j.sourceContentMD5,j.copySourceAuthorization,j.fileRequestIntent,j.pageWrite,j.ifSequenceNumberLessThanOrEqualTo,j.ifSequenceNumberLessThan,j.ifSequenceNumberEqualTo,j.sourceUrl,j.sourceRange,j.sourceContentCrc64,j.range1],isXML:!0,serializer:Sa},t5e={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:Bt.PageList,headersMapper:Bt.PageBlobGetPageRangesHeaders},default:{bodyMapper:Bt.StorageError,headersMapper:Bt.PageBlobGetPageRangesExceptionHeaders}},queryParameters:[j.timeoutInSeconds,j.marker,j.maxPageSize,j.snapshot,j.comp20],urlParameters:[j.url],headerParameters:[j.version,j.requestId,j.accept1,j.leaseId,j.ifModifiedSince,j.ifUnmodifiedSince,j.range,j.ifMatch,j.ifNoneMatch,j.ifTags],isXML:!0,serializer:Sa},r5e={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:Bt.PageList,headersMapper:Bt.PageBlobGetPageRangesDiffHeaders},default:{bodyMapper:Bt.StorageError,headersMapper:Bt.PageBlobGetPageRangesDiffExceptionHeaders}},queryParameters:[j.timeoutInSeconds,j.marker,j.maxPageSize,j.snapshot,j.comp20,j.prevsnapshot],urlParameters:[j.url],headerParameters:[j.version,j.requestId,j.accept1,j.leaseId,j.ifModifiedSince,j.ifUnmodifiedSince,j.range,j.ifMatch,j.ifNoneMatch,j.ifTags,j.prevSnapshotUrl],isXML:!0,serializer:Sa},n5e={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Bt.PageBlobResizeHeaders},default:{bodyMapper:Bt.StorageError,headersMapper:Bt.PageBlobResizeExceptionHeaders}},queryParameters:[j.comp,j.timeoutInSeconds],urlParameters:[j.url],headerParameters:[j.version,j.requestId,j.accept1,j.leaseId,j.ifModifiedSince,j.ifUnmodifiedSince,j.encryptionKey,j.encryptionKeySha256,j.encryptionAlgorithm,j.ifMatch,j.ifNoneMatch,j.ifTags,j.encryptionScope,j.blobContentLength],isXML:!0,serializer:Sa},i5e={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Bt.PageBlobUpdateSequenceNumberHeaders},default:{bodyMapper:Bt.StorageError,headersMapper:Bt.PageBlobUpdateSequenceNumberExceptionHeaders}},queryParameters:[j.comp,j.timeoutInSeconds],urlParameters:[j.url],headerParameters:[j.version,j.requestId,j.accept1,j.leaseId,j.ifModifiedSince,j.ifUnmodifiedSince,j.ifMatch,j.ifNoneMatch,j.ifTags,j.blobSequenceNumber,j.sequenceNumberAction],isXML:!0,serializer:Sa},s5e={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:Bt.PageBlobCopyIncrementalHeaders},default:{bodyMapper:Bt.StorageError,headersMapper:Bt.PageBlobCopyIncrementalExceptionHeaders}},queryParameters:[j.timeoutInSeconds,j.comp21],urlParameters:[j.url],headerParameters:[j.version,j.requestId,j.accept1,j.ifModifiedSince,j.ifUnmodifiedSince,j.ifMatch,j.ifNoneMatch,j.ifTags,j.copySource],isXML:!0,serializer:Sa}});var n$=x(_b=>{"use strict";Object.defineProperty(_b,"__esModule",{value:!0});_b.AppendBlobImpl=void 0;var t_=(Wr(),cn(Vr)),o5e=t_.__importStar(Bo()),Li=t_.__importStar(Uc()),de=t_.__importStar(du()),e_=class{static{o(this,"AppendBlobImpl")}client;constructor(e){this.client=e}create(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},a5e)}appendBlock(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},c5e)}appendBlockFromUrl(e,r,n){return this.client.sendOperationRequest({sourceUrl:e,contentLength:r,options:n},l5e)}seal(e){return this.client.sendOperationRequest({options:e},u5e)}};_b.AppendBlobImpl=e_;var Pb=o5e.createSerializer(Li,!0),a5e={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Li.AppendBlobCreateHeaders},default:{bodyMapper:Li.StorageError,headersMapper:Li.AppendBlobCreateExceptionHeaders}},queryParameters:[de.timeoutInSeconds],urlParameters:[de.url],headerParameters:[de.version,de.requestId,de.accept1,de.contentLength,de.metadata,de.leaseId,de.ifModifiedSince,de.ifUnmodifiedSince,de.encryptionKey,de.encryptionKeySha256,de.encryptionAlgorithm,de.ifMatch,de.ifNoneMatch,de.ifTags,de.blobCacheControl,de.blobContentType,de.blobContentMD5,de.blobContentEncoding,de.blobContentLanguage,de.blobContentDisposition,de.immutabilityPolicyExpiry,de.immutabilityPolicyMode,de.encryptionScope,de.blobTagsString,de.legalHold1,de.blobType1],isXML:!0,serializer:Pb},c5e={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Li.AppendBlobAppendBlockHeaders},default:{bodyMapper:Li.StorageError,headersMapper:Li.AppendBlobAppendBlockExceptionHeaders}},requestBody:de.body1,queryParameters:[de.timeoutInSeconds,de.comp22],urlParameters:[de.url],headerParameters:[de.version,de.requestId,de.contentLength,de.leaseId,de.ifModifiedSince,de.ifUnmodifiedSince,de.encryptionKey,de.encryptionKeySha256,de.encryptionAlgorithm,de.ifMatch,de.ifNoneMatch,de.ifTags,de.encryptionScope,de.transactionalContentMD5,de.transactionalContentCrc64,de.contentType1,de.accept2,de.maxSize,de.appendPosition],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Pb},l5e={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Li.AppendBlobAppendBlockFromUrlHeaders},default:{bodyMapper:Li.StorageError,headersMapper:Li.AppendBlobAppendBlockFromUrlExceptionHeaders}},queryParameters:[de.timeoutInSeconds,de.comp22],urlParameters:[de.url],headerParameters:[de.version,de.requestId,de.accept1,de.contentLength,de.leaseId,de.ifModifiedSince,de.ifUnmodifiedSince,de.encryptionKey,de.encryptionKeySha256,de.encryptionAlgorithm,de.ifMatch,de.ifNoneMatch,de.ifTags,de.encryptionScope,de.sourceIfModifiedSince,de.sourceIfUnmodifiedSince,de.sourceIfMatch,de.sourceIfNoneMatch,de.sourceContentMD5,de.copySourceAuthorization,de.fileRequestIntent,de.transactionalContentMD5,de.sourceUrl,de.sourceContentCrc64,de.maxSize,de.appendPosition,de.sourceRange1],isXML:!0,serializer:Pb},u5e={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Li.AppendBlobSealHeaders},default:{bodyMapper:Li.StorageError,headersMapper:Li.AppendBlobSealExceptionHeaders}},queryParameters:[de.timeoutInSeconds,de.comp23],urlParameters:[de.url],headerParameters:[de.version,de.requestId,de.accept1,de.leaseId,de.ifModifiedSince,de.ifUnmodifiedSince,de.ifMatch,de.ifNoneMatch,de.appendPosition],isXML:!0,serializer:Pb}});var i$=x(Db=>{"use strict";Object.defineProperty(Db,"__esModule",{value:!0});Db.BlockBlobImpl=void 0;var n_=(Wr(),cn(Vr)),A5e=n_.__importStar(Bo()),Rr=n_.__importStar(Uc()),V=n_.__importStar(du()),r_=class{static{o(this,"BlockBlobImpl")}client;constructor(e){this.client=e}upload(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},d5e)}putBlobFromUrl(e,r,n){return this.client.sendOperationRequest({contentLength:e,copySource:r,options:n},f5e)}stageBlock(e,r,n,i){return this.client.sendOperationRequest({blockId:e,contentLength:r,body:n,options:i},h5e)}stageBlockFromURL(e,r,n,i){return this.client.sendOperationRequest({blockId:e,contentLength:r,sourceUrl:n,options:i},p5e)}commitBlockList(e,r){return this.client.sendOperationRequest({blocks:e,options:r},g5e)}getBlockList(e,r){return this.client.sendOperationRequest({listType:e,options:r},m5e)}};Db.BlockBlobImpl=r_;var qd=A5e.createSerializer(Rr,!0),d5e={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Rr.BlockBlobUploadHeaders},default:{bodyMapper:Rr.StorageError,headersMapper:Rr.BlockBlobUploadExceptionHeaders}},requestBody:V.body1,queryParameters:[V.timeoutInSeconds],urlParameters:[V.url],headerParameters:[V.version,V.requestId,V.contentLength,V.metadata,V.leaseId,V.ifModifiedSince,V.ifUnmodifiedSince,V.encryptionKey,V.encryptionKeySha256,V.encryptionAlgorithm,V.ifMatch,V.ifNoneMatch,V.ifTags,V.blobCacheControl,V.blobContentType,V.blobContentMD5,V.blobContentEncoding,V.blobContentLanguage,V.blobContentDisposition,V.immutabilityPolicyExpiry,V.immutabilityPolicyMode,V.encryptionScope,V.tier,V.blobTagsString,V.legalHold1,V.transactionalContentMD5,V.transactionalContentCrc64,V.contentType1,V.accept2,V.blobType2],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:qd},f5e={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Rr.BlockBlobPutBlobFromUrlHeaders},default:{bodyMapper:Rr.StorageError,headersMapper:Rr.BlockBlobPutBlobFromUrlExceptionHeaders}},queryParameters:[V.timeoutInSeconds],urlParameters:[V.url],headerParameters:[V.version,V.requestId,V.accept1,V.contentLength,V.metadata,V.leaseId,V.ifModifiedSince,V.ifUnmodifiedSince,V.encryptionKey,V.encryptionKeySha256,V.encryptionAlgorithm,V.ifMatch,V.ifNoneMatch,V.ifTags,V.blobCacheControl,V.blobContentType,V.blobContentMD5,V.blobContentEncoding,V.blobContentLanguage,V.blobContentDisposition,V.encryptionScope,V.tier,V.sourceIfModifiedSince,V.sourceIfUnmodifiedSince,V.sourceIfMatch,V.sourceIfNoneMatch,V.sourceIfTags,V.copySource,V.blobTagsString,V.sourceContentMD5,V.copySourceAuthorization,V.copySourceTags,V.fileRequestIntent,V.transactionalContentMD5,V.blobType2,V.copySourceBlobProperties],isXML:!0,serializer:qd},h5e={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Rr.BlockBlobStageBlockHeaders},default:{bodyMapper:Rr.StorageError,headersMapper:Rr.BlockBlobStageBlockExceptionHeaders}},requestBody:V.body1,queryParameters:[V.timeoutInSeconds,V.comp24,V.blockId],urlParameters:[V.url],headerParameters:[V.version,V.requestId,V.contentLength,V.leaseId,V.encryptionKey,V.encryptionKeySha256,V.encryptionAlgorithm,V.encryptionScope,V.transactionalContentMD5,V.transactionalContentCrc64,V.contentType1,V.accept2],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:qd},p5e={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Rr.BlockBlobStageBlockFromURLHeaders},default:{bodyMapper:Rr.StorageError,headersMapper:Rr.BlockBlobStageBlockFromURLExceptionHeaders}},queryParameters:[V.timeoutInSeconds,V.comp24,V.blockId],urlParameters:[V.url],headerParameters:[V.version,V.requestId,V.accept1,V.contentLength,V.leaseId,V.encryptionKey,V.encryptionKeySha256,V.encryptionAlgorithm,V.encryptionScope,V.sourceIfModifiedSince,V.sourceIfUnmodifiedSince,V.sourceIfMatch,V.sourceIfNoneMatch,V.sourceContentMD5,V.copySourceAuthorization,V.fileRequestIntent,V.sourceUrl,V.sourceContentCrc64,V.sourceRange1],isXML:!0,serializer:qd},g5e={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Rr.BlockBlobCommitBlockListHeaders},default:{bodyMapper:Rr.StorageError,headersMapper:Rr.BlockBlobCommitBlockListExceptionHeaders}},requestBody:V.blocks,queryParameters:[V.timeoutInSeconds,V.comp25],urlParameters:[V.url],headerParameters:[V.contentType,V.accept,V.version,V.requestId,V.metadata,V.leaseId,V.ifModifiedSince,V.ifUnmodifiedSince,V.encryptionKey,V.encryptionKeySha256,V.encryptionAlgorithm,V.ifMatch,V.ifNoneMatch,V.ifTags,V.blobCacheControl,V.blobContentType,V.blobContentMD5,V.blobContentEncoding,V.blobContentLanguage,V.blobContentDisposition,V.immutabilityPolicyExpiry,V.immutabilityPolicyMode,V.encryptionScope,V.tier,V.blobTagsString,V.legalHold1,V.transactionalContentMD5,V.transactionalContentCrc64],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:qd},m5e={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:Rr.BlockList,headersMapper:Rr.BlockBlobGetBlockListHeaders},default:{bodyMapper:Rr.StorageError,headersMapper:Rr.BlockBlobGetBlockListExceptionHeaders}},queryParameters:[V.timeoutInSeconds,V.snapshot,V.comp25,V.listType],urlParameters:[V.url],headerParameters:[V.version,V.requestId,V.accept1,V.leaseId,V.ifTags],isXML:!0,serializer:qd}});var s$=x(Hc=>{"use strict";Object.defineProperty(Hc,"__esModule",{value:!0});var zd=(Wr(),cn(Vr));zd.__exportStar(ZW(),Hc);zd.__exportStar(e$(),Hc);zd.__exportStar(t$(),Hc);zd.__exportStar(r$(),Hc);zd.__exportStar(n$(),Hc);zd.__exportStar(i$(),Hc)});var o$=x(kb=>{"use strict";Object.defineProperty(kb,"__esModule",{value:!0});kb.StorageClient=void 0;var y5e=(Wr(),cn(Vr)),E5e=y5e.__importStar(rb()),Gd=s$(),i_=class extends E5e.ExtendedServiceClient{static{o(this,"StorageClient")}url;version;constructor(e,r){if(e===void 0)throw new Error("'url' cannot be null");r||(r={});let n={requestContentType:"application/json; charset=utf-8"},i="azsdk-js-azure-storage-blob/12.30.0",s=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${i}`:`${i}`,a={...n,...r,userAgentOptions:{userAgentPrefix:s},endpoint:r.endpoint??r.baseUri??"{url}"};super(a),this.url=e,this.version=r.version||"2026-02-06",this.service=new Gd.ServiceImpl(this),this.container=new Gd.ContainerImpl(this),this.blob=new Gd.BlobImpl(this),this.pageBlob=new Gd.PageBlobImpl(this),this.appendBlob=new Gd.AppendBlobImpl(this),this.blockBlob=new Gd.BlockBlobImpl(this)}service;container;blob;pageBlob;appendBlob;blockBlob};kb.StorageClient=i_});var c$=x(a$=>{"use strict";Object.defineProperty(a$,"__esModule",{value:!0})});var u$=x(l$=>{"use strict";Object.defineProperty(l$,"__esModule",{value:!0})});var d$=x(A$=>{"use strict";Object.defineProperty(A$,"__esModule",{value:!0})});var h$=x(f$=>{"use strict";Object.defineProperty(f$,"__esModule",{value:!0})});var g$=x(p$=>{"use strict";Object.defineProperty(p$,"__esModule",{value:!0})});var y$=x(m$=>{"use strict";Object.defineProperty(m$,"__esModule",{value:!0})});var E$=x(qc=>{"use strict";Object.defineProperty(qc,"__esModule",{value:!0});var jd=(Wr(),cn(Vr));jd.__exportStar(c$(),qc);jd.__exportStar(u$(),qc);jd.__exportStar(d$(),qc);jd.__exportStar(h$(),qc);jd.__exportStar(g$(),qc);jd.__exportStar(y$(),qc)});var C$=x(Yd=>{"use strict";Object.defineProperty(Yd,"__esModule",{value:!0});Yd.StorageClient=void 0;var b$=(Wr(),cn(Vr));b$.__exportStar(XW(),Yd);var b5e=o$();Object.defineProperty(Yd,"StorageClient",{enumerable:!0,get:o(function(){return b5e.StorageClient},"get")});b$.__exportStar(E$(),Yd)});var o_=x(Tb=>{"use strict";Object.defineProperty(Tb,"__esModule",{value:!0});Tb.StorageContextClient=void 0;var C5e=C$(),s_=class extends C5e.StorageClient{static{o(this,"StorageContextClient")}async sendOperationRequest(e,r){let n={...r};return(n.path==="/{containerName}"||n.path==="/{containerName}/{blob}")&&(n.path=""),super.sendOperationRequest(e,n)}};Tb.StorageContextClient=s_});var fs=x(et=>{"use strict";Object.defineProperty(et,"__esModule",{value:!0});et.escapeURLPath=I5e;et.getValueInConnString=zc;et.extractConnectionStringParts=w5e;et.appendToURLPath=S5e;et.setURLParameter=I$;et.getURLParameter=B$;et.setURLHost=N5e;et.getURLPath=v5e;et.getURLScheme=R5e;et.getURLPathAndQuery=P5e;et.getURLQueries=_5e;et.appendToURLQuery=D5e;et.truncatedISO8061Date=k5e;et.base64encode=w$;et.base64decode=T5e;et.generateBlockID=O5e;et.delay=M5e;et.padStart=Q$;et.sanitizeURL=S$;et.sanitizeHeaders=L5e;et.iEqual=U5e;et.getAccountNameFromUrl=N$;et.isIpEndpointStyle=v$;et.toBlobTagsString=F5e;et.toBlobTags=H5e;et.toTags=q5e;et.toQuerySerialization=z5e;et.parseObjectReplicationRecord=G5e;et.attachCredential=j5e;et.httpAuthorizationToString=Y5e;et.BlobNameToString=Ob;et.ConvertInternalResponseOfListBlobFlat=K5e;et.ConvertInternalResponseOfListBlobHierarchy=J5e;et.ExtractPageRangeInfoItems=V5e;et.EscapePath=W5e;et.assertResponse=$5e;var x5e=Lr(),x$=Xt(),Kd=Oi();function I5e(t){let e=new URL(t),r=e.pathname;return r=r||"/",r=Q5e(r),e.pathname=r,e.toString()}o(I5e,"escapeURLPath");function B5e(t){let e="";if(t.search("DevelopmentStorageProxyUri=")!==-1){let r=t.split(";");for(let n of r)n.trim().startsWith("DevelopmentStorageProxyUri=")&&(e=n.trim().match("DevelopmentStorageProxyUri=(.*)")[1])}return e}o(B5e,"getProxyUriFromDevConnString");function zc(t,e){let r=t.split(";");for(let n of r)if(n.trim().startsWith(e))return n.trim().match(e+"=(.*)")[1];return""}o(zc,"getValueInConnString");function w5e(t){let e="";t.startsWith("UseDevelopmentStorage=true")&&(e=B5e(t),t=Kd.DevelopmentConnectionString);let r=zc(t,"BlobEndpoint");if(r=r.endsWith("/")?r.slice(0,-1):r,t.search("DefaultEndpointsProtocol=")!==-1&&t.search("AccountKey=")!==-1){let n="",i="",s=Buffer.from("accountKey","base64"),a="";if(i=zc(t,"AccountName"),s=Buffer.from(zc(t,"AccountKey"),"base64"),!r){n=zc(t,"DefaultEndpointsProtocol");let c=n.toLowerCase();if(c!=="https"&&c!=="http")throw new Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'");if(a=zc(t,"EndpointSuffix"),!a)throw new Error("Invalid EndpointSuffix in the provided Connection String");r=`${n}://${i}.blob.${a}`}if(i){if(s.length===0)throw new Error("Invalid AccountKey in the provided Connection String")}else throw new Error("Invalid AccountName in the provided Connection String");return{kind:"AccountConnString",url:r,accountName:i,accountKey:s,proxyUri:e}}else{let n=zc(t,"SharedAccessSignature"),i=zc(t,"AccountName");if(i||(i=N$(r)),r){if(!n)throw new Error("Invalid SharedAccessSignature in the provided SAS Connection String")}else throw new Error("Invalid BlobEndpoint in the provided SAS Connection String");return n.startsWith("?")&&(n=n.substring(1)),{kind:"SASConnString",url:r,accountName:i,accountSas:n}}}o(w5e,"extractConnectionStringParts");function Q5e(t){return encodeURIComponent(t).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}o(Q5e,"escape");function S5e(t,e){let r=new URL(t),n=r.pathname;return n=n?n.endsWith("/")?`${n}${e}`:`${n}/${e}`:e,r.pathname=n,r.toString()}o(S5e,"appendToURLPath");function I$(t,e,r){let n=new URL(t),i=encodeURIComponent(e),s=r?encodeURIComponent(r):void 0,a=n.search===""?"?":n.search,c=[];for(let l of a.slice(1).split("&"))if(l){let[u]=l.split("=",2);u!==i&&c.push(l)}return s&&c.push(`${i}=${s}`),n.search=c.length?`?${c.join("&")}`:"",n.toString()}o(I$,"setURLParameter");function B$(t,e){return new URL(t).searchParams.get(e)??void 0}o(B$,"getURLParameter");function N5e(t,e){let r=new URL(t);return r.hostname=e,r.toString()}o(N5e,"setURLHost");function v5e(t){try{return new URL(t).pathname}catch{return}}o(v5e,"getURLPath");function R5e(t){try{let e=new URL(t);return e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol}catch{return}}o(R5e,"getURLScheme");function P5e(t){let e=new URL(t),r=e.pathname;if(!r)throw new RangeError("Invalid url without valid path.");let n=e.search||"";return n=n.trim(),n!==""&&(n=n.startsWith("?")?n:`?${n}`),`${r}${n}`}o(P5e,"getURLPathAndQuery");function _5e(t){let e=new URL(t).search;if(!e)return{};e=e.trim(),e=e.startsWith("?")?e.substring(1):e;let r=e.split("&");r=r.filter(i=>{let s=i.indexOf("="),a=i.lastIndexOf("=");return s>0&&s===a&&a42&&(t=t.slice(0,42));let s=t+Q$(e.toString(),48-t.length,"0");return w$(s)}o(O5e,"generateBlockID");async function M5e(t,e,r){return new Promise((n,i)=>{let s,a=o(()=>{s!==void 0&&clearTimeout(s),i(r)},"abortHandler");s=setTimeout(o(()=>{e!==void 0&&e.removeEventListener("abort",a),n()},"resolveHandler"),t),e!==void 0&&e.addEventListener("abort",a)})}o(M5e,"delay");function Q$(t,e,r=" "){return String.prototype.padStart?t.padStart(e,r):(r=r||" ",t.length>e?t:(e=e-t.length,e>r.length&&(r+=r.repeat(e/r.length)),r.slice(0,e)+t))}o(Q$,"padStart");function S$(t){let e=t;return B$(e,Kd.URLConstants.Parameters.SIGNATURE)&&(e=I$(e,Kd.URLConstants.Parameters.SIGNATURE,"*****")),e}o(S$,"sanitizeURL");function L5e(t){let e=(0,x5e.createHttpHeaders)();for(let[r,n]of t)r.toLowerCase()===Kd.HeaderConstants.AUTHORIZATION.toLowerCase()?e.set(r,"*****"):r.toLowerCase()===Kd.HeaderConstants.X_MS_COPY_SOURCE?e.set(r,S$(n)):e.set(r,n);return e}o(L5e,"sanitizeHeaders");function U5e(t,e){return t.toLocaleLowerCase()===e.toLocaleLowerCase()}o(U5e,"iEqual");function N$(t){let e=new URL(t),r;try{return e.hostname.split(".")[1]==="blob"?r=e.hostname.split(".")[0]:v$(e)?r=e.pathname.split("/")[1]:r="",r}catch{throw new Error("Unable to extract accountName with provided information.")}}o(N$,"getAccountNameFromUrl");function v$(t){let e=t.host;return/^.*:.*:.*$|^(localhost|host.docker.internal)(:[0-9]+)?$|^(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])(\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])){3}(:[0-9]+)?$/.test(e)||!!t.port&&Kd.PathStylePorts.includes(t.port)}o(v$,"isIpEndpointStyle");function F5e(t){if(t===void 0)return;let e=[];for(let r in t)if(Object.prototype.hasOwnProperty.call(t,r)){let n=t[r];e.push(`${encodeURIComponent(r)}=${encodeURIComponent(n)}`)}return e.join("&")}o(F5e,"toBlobTagsString");function H5e(t){if(t===void 0)return;let e={blobTagSet:[]};for(let r in t)if(Object.prototype.hasOwnProperty.call(t,r)){let n=t[r];e.blobTagSet.push({key:r,value:n})}return e}o(H5e,"toBlobTags");function q5e(t){if(t===void 0)return;let e={};for(let r of t.blobTagSet)e[r.key]=r.value;return e}o(q5e,"toTags");function z5e(t){if(t!==void 0)switch(t.kind){case"csv":return{format:{type:"delimited",delimitedTextConfiguration:{columnSeparator:t.columnSeparator||",",fieldQuote:t.fieldQuote||"",recordSeparator:t.recordSeparator,escapeChar:t.escapeCharacter||"",headersPresent:t.hasHeaders||!1}}};case"json":return{format:{type:"json",jsonTextConfiguration:{recordSeparator:t.recordSeparator}}};case"arrow":return{format:{type:"arrow",arrowConfiguration:{schema:t.schema}}};case"parquet":return{format:{type:"parquet"}};default:throw Error("Invalid BlobQueryTextConfiguration.")}}o(z5e,"toQuerySerialization");function G5e(t){if(!t||"policy-id"in t)return;let e=[];for(let r in t){let n=r.split("_"),i="or-";n[0].startsWith(i)&&(n[0]=n[0].substring(i.length));let s={ruleId:n[1],replicationStatus:t[r]},a=e.findIndex(c=>c.policyId===n[0]);a>-1?e[a].rules.push(s):e.push({policyId:n[0],rules:[s]})}return e}o(G5e,"parseObjectReplicationRecord");function j5e(t,e){return t.credential=e,t}o(j5e,"attachCredential");function Y5e(t){return t?t.scheme+" "+t.value:void 0}o(Y5e,"httpAuthorizationToString");function Ob(t){return t.encoded?decodeURIComponent(t.content):t.content}o(Ob,"BlobNameToString");function K5e(t){return{...t,segment:{blobItems:t.segment.blobItems.map(e=>({...e,name:Ob(e.name)}))}}}o(K5e,"ConvertInternalResponseOfListBlobFlat");function J5e(t){return{...t,segment:{blobPrefixes:t.segment.blobPrefixes?.map(e=>({...e,name:Ob(e.name)})),blobItems:t.segment.blobItems.map(e=>({...e,name:Ob(e.name)}))}}}o(J5e,"ConvertInternalResponseOfListBlobHierarchy");function*V5e(t){let e=[],r=[];t.pageRange&&(e=t.pageRange),t.clearRange&&(r=t.clearRange);let n=0,i=0;for(;n{"use strict";Object.defineProperty(Lb,"__esModule",{value:!0});Lb.StorageClient=void 0;var X5e=o_(),R$=Lc(),Mb=fs(),a_=class{static{o(this,"StorageClient")}url;accountName;pipeline;credential;storageClientContext;isHttps;constructor(e,r){this.url=(0,Mb.escapeURLPath)(e),this.accountName=(0,Mb.getAccountNameFromUrl)(e),this.pipeline=r,this.storageClientContext=new X5e.StorageContextClient(this.url,(0,R$.getCoreClientOptions)(r)),this.isHttps=(0,Mb.iEqual)((0,Mb.getURLScheme)(this.url)||"","https"),this.credential=(0,R$.getCredentialFromPipeline)(r);let n=this.storageClientContext;n.requestContentType=void 0}};Lb.StorageClient=a_});var fu=x(Fb=>{"use strict";Object.defineProperty(Fb,"__esModule",{value:!0});Fb.tracingClient=void 0;var Z5e=g2(),e6e=Oi();Fb.tracingClient=(0,Z5e.createTracingClient)({packageName:"@azure/storage-blob",packageVersion:e6e.SDK_VERSION,namespace:"Microsoft.Storage"})});var l_=x(Hb=>{"use strict";Object.defineProperty(Hb,"__esModule",{value:!0});Hb.BlobSASPermissions=void 0;var c_=class t{static{o(this,"BlobSASPermissions")}static parse(e){let r=new t;for(let n of e)switch(n){case"r":r.read=!0;break;case"a":r.add=!0;break;case"c":r.create=!0;break;case"w":r.write=!0;break;case"d":r.delete=!0;break;case"x":r.deleteVersion=!0;break;case"t":r.tag=!0;break;case"m":r.move=!0;break;case"e":r.execute=!0;break;case"i":r.setImmutabilityPolicy=!0;break;case"y":r.permanentDelete=!0;break;default:throw new RangeError(`Invalid permission: ${n}`)}return r}static from(e){let r=new t;return e.read&&(r.read=!0),e.add&&(r.add=!0),e.create&&(r.create=!0),e.write&&(r.write=!0),e.delete&&(r.delete=!0),e.deleteVersion&&(r.deleteVersion=!0),e.tag&&(r.tag=!0),e.move&&(r.move=!0),e.execute&&(r.execute=!0),e.setImmutabilityPolicy&&(r.setImmutabilityPolicy=!0),e.permanentDelete&&(r.permanentDelete=!0),r}read=!1;add=!1;create=!1;write=!1;delete=!1;deleteVersion=!1;tag=!1;move=!1;execute=!1;setImmutabilityPolicy=!1;permanentDelete=!1;toString(){let e=[];return this.read&&e.push("r"),this.add&&e.push("a"),this.create&&e.push("c"),this.write&&e.push("w"),this.delete&&e.push("d"),this.deleteVersion&&e.push("x"),this.tag&&e.push("t"),this.move&&e.push("m"),this.execute&&e.push("e"),this.setImmutabilityPolicy&&e.push("i"),this.permanentDelete&&e.push("y"),e.join("")}};Hb.BlobSASPermissions=c_});var A_=x(qb=>{"use strict";Object.defineProperty(qb,"__esModule",{value:!0});qb.ContainerSASPermissions=void 0;var u_=class t{static{o(this,"ContainerSASPermissions")}static parse(e){let r=new t;for(let n of e)switch(n){case"r":r.read=!0;break;case"a":r.add=!0;break;case"c":r.create=!0;break;case"w":r.write=!0;break;case"d":r.delete=!0;break;case"l":r.list=!0;break;case"t":r.tag=!0;break;case"x":r.deleteVersion=!0;break;case"m":r.move=!0;break;case"e":r.execute=!0;break;case"i":r.setImmutabilityPolicy=!0;break;case"y":r.permanentDelete=!0;break;case"f":r.filterByTags=!0;break;default:throw new RangeError(`Invalid permission ${n}`)}return r}static from(e){let r=new t;return e.read&&(r.read=!0),e.add&&(r.add=!0),e.create&&(r.create=!0),e.write&&(r.write=!0),e.delete&&(r.delete=!0),e.list&&(r.list=!0),e.deleteVersion&&(r.deleteVersion=!0),e.tag&&(r.tag=!0),e.move&&(r.move=!0),e.execute&&(r.execute=!0),e.setImmutabilityPolicy&&(r.setImmutabilityPolicy=!0),e.permanentDelete&&(r.permanentDelete=!0),e.filterByTags&&(r.filterByTags=!0),r}read=!1;add=!1;create=!1;write=!1;delete=!1;deleteVersion=!1;list=!1;tag=!1;move=!1;execute=!1;setImmutabilityPolicy=!1;permanentDelete=!1;filterByTags=!1;toString(){let e=[];return this.read&&e.push("r"),this.add&&e.push("a"),this.create&&e.push("c"),this.write&&e.push("w"),this.delete&&e.push("d"),this.deleteVersion&&e.push("x"),this.list&&e.push("l"),this.tag&&e.push("t"),this.move&&e.push("m"),this.execute&&e.push("e"),this.setImmutabilityPolicy&&e.push("i"),this.permanentDelete&&e.push("y"),this.filterByTags&&e.push("f"),e.join("")}};qb.ContainerSASPermissions=u_});var zb=x(d_=>{"use strict";Object.defineProperty(d_,"__esModule",{value:!0});d_.ipRangeToString=t6e;function t6e(t){return t.end?`${t.start}-${t.end}`:t.start}o(t6e,"ipRangeToString")});var jb=x(Jd=>{"use strict";Object.defineProperty(Jd,"__esModule",{value:!0});Jd.SASQueryParameters=Jd.SASProtocol=void 0;var r6e=zb(),Gb=fs(),P$;(function(t){t.Https="https",t.HttpsAndHttp="https,http"})(P$||(Jd.SASProtocol=P$={}));var f_=class{static{o(this,"SASQueryParameters")}version;protocol;startsOn;expiresOn;permissions;services;resourceTypes;identifier;delegatedUserObjectId;encryptionScope;resource;signature;cacheControl;contentDisposition;contentEncoding;contentLanguage;contentType;ipRangeInner;signedOid;signedTenantId;signedStartsOn;signedExpiresOn;signedService;signedVersion;preauthorizedAgentObjectId;correlationId;get ipRange(){if(this.ipRangeInner)return{end:this.ipRangeInner.end,start:this.ipRangeInner.start}}constructor(e,r,n,i,s,a,c,l,u,A,d,f,h,g,m,b,y,I,w,v,U){this.version=e,this.signature=r,n!==void 0&&typeof n!="string"?(this.permissions=n.permissions,this.services=n.services,this.resourceTypes=n.resourceTypes,this.protocol=n.protocol,this.startsOn=n.startsOn,this.expiresOn=n.expiresOn,this.ipRangeInner=n.ipRange,this.identifier=n.identifier,this.delegatedUserObjectId=n.delegatedUserObjectId,this.encryptionScope=n.encryptionScope,this.resource=n.resource,this.cacheControl=n.cacheControl,this.contentDisposition=n.contentDisposition,this.contentEncoding=n.contentEncoding,this.contentLanguage=n.contentLanguage,this.contentType=n.contentType,n.userDelegationKey&&(this.signedOid=n.userDelegationKey.signedObjectId,this.signedTenantId=n.userDelegationKey.signedTenantId,this.signedStartsOn=n.userDelegationKey.signedStartsOn,this.signedExpiresOn=n.userDelegationKey.signedExpiresOn,this.signedService=n.userDelegationKey.signedService,this.signedVersion=n.userDelegationKey.signedVersion,this.preauthorizedAgentObjectId=n.preauthorizedAgentObjectId,this.correlationId=n.correlationId)):(this.services=i,this.resourceTypes=s,this.expiresOn=l,this.permissions=n,this.protocol=a,this.startsOn=c,this.ipRangeInner=u,this.delegatedUserObjectId=U,this.encryptionScope=v,this.identifier=A,this.resource=d,this.cacheControl=f,this.contentDisposition=h,this.contentEncoding=g,this.contentLanguage=m,this.contentType=b,y&&(this.signedOid=y.signedObjectId,this.signedTenantId=y.signedTenantId,this.signedStartsOn=y.signedStartsOn,this.signedExpiresOn=y.signedExpiresOn,this.signedService=y.signedService,this.signedVersion=y.signedVersion,this.preauthorizedAgentObjectId=I,this.correlationId=w))}toString(){let e=["sv","ss","srt","spr","st","se","sip","si","ses","skoid","sktid","skt","ske","sks","skv","sr","sp","sig","rscc","rscd","rsce","rscl","rsct","saoid","scid","sduoid"],r=[];for(let n of e)switch(n){case"sv":this.tryAppendQueryParameter(r,n,this.version);break;case"ss":this.tryAppendQueryParameter(r,n,this.services);break;case"srt":this.tryAppendQueryParameter(r,n,this.resourceTypes);break;case"spr":this.tryAppendQueryParameter(r,n,this.protocol);break;case"st":this.tryAppendQueryParameter(r,n,this.startsOn?(0,Gb.truncatedISO8061Date)(this.startsOn,!1):void 0);break;case"se":this.tryAppendQueryParameter(r,n,this.expiresOn?(0,Gb.truncatedISO8061Date)(this.expiresOn,!1):void 0);break;case"sip":this.tryAppendQueryParameter(r,n,this.ipRange?(0,r6e.ipRangeToString)(this.ipRange):void 0);break;case"si":this.tryAppendQueryParameter(r,n,this.identifier);break;case"ses":this.tryAppendQueryParameter(r,n,this.encryptionScope);break;case"skoid":this.tryAppendQueryParameter(r,n,this.signedOid);break;case"sktid":this.tryAppendQueryParameter(r,n,this.signedTenantId);break;case"skt":this.tryAppendQueryParameter(r,n,this.signedStartsOn?(0,Gb.truncatedISO8061Date)(this.signedStartsOn,!1):void 0);break;case"ske":this.tryAppendQueryParameter(r,n,this.signedExpiresOn?(0,Gb.truncatedISO8061Date)(this.signedExpiresOn,!1):void 0);break;case"sks":this.tryAppendQueryParameter(r,n,this.signedService);break;case"skv":this.tryAppendQueryParameter(r,n,this.signedVersion);break;case"sr":this.tryAppendQueryParameter(r,n,this.resource);break;case"sp":this.tryAppendQueryParameter(r,n,this.permissions);break;case"sig":this.tryAppendQueryParameter(r,n,this.signature);break;case"rscc":this.tryAppendQueryParameter(r,n,this.cacheControl);break;case"rscd":this.tryAppendQueryParameter(r,n,this.contentDisposition);break;case"rsce":this.tryAppendQueryParameter(r,n,this.contentEncoding);break;case"rscl":this.tryAppendQueryParameter(r,n,this.contentLanguage);break;case"rsct":this.tryAppendQueryParameter(r,n,this.contentType);break;case"saoid":this.tryAppendQueryParameter(r,n,this.preauthorizedAgentObjectId);break;case"scid":this.tryAppendQueryParameter(r,n,this.correlationId);break;case"sduoid":this.tryAppendQueryParameter(r,n,this.delegatedUserObjectId);break}return r.join("&")}tryAppendQueryParameter(e,r,n){n&&(r=encodeURIComponent(r),n=encodeURIComponent(n),r.length>0&&n.length>0&&e.push(`${r}=${n}`))}};Jd.SASQueryParameters=f_});var Kb=x(Yb=>{"use strict";Object.defineProperty(Yb,"__esModule",{value:!0});Yb.generateBlobSASQueryParameters=s6e;Yb.generateBlobSASQueryParametersInternal=D$;var hu=l_(),pu=A_(),n6e=zs(),gu=zb(),mu=jb(),_$=Oi(),dr=fs(),i6e=zs();function s6e(t,e,r){return D$(t,e,r).sasQueryParameters}o(s6e,"generateBlobSASQueryParameters");function D$(t,e,r){let n=t.version?t.version:_$.SERVICE_VERSION,i=e instanceof n6e.StorageSharedKeyCredential?e:void 0,s;if(i===void 0&&r!==void 0&&(s=new i6e.UserDelegationKeyCredential(r,e)),i===void 0&&s===void 0)throw TypeError("Invalid sharedKeyCredential, userDelegationKey or accountName.");if(n>="2020-12-06")return i!==void 0?c6e(t,i):n>="2025-07-05"?d6e(t,s):A6e(t,s);if(n>="2018-11-09")return i!==void 0?a6e(t,i):n>="2020-02-10"?u6e(t,s):l6e(t,s);if(n>="2015-04-05"){if(i!==void 0)return o6e(t,i);throw new RangeError("'version' must be >= '2018-11-09' when generating user delegation SAS using user delegation key.")}throw new RangeError("'version' must be >= '2015-04-05'.")}o(D$,"generateBlobSASQueryParametersInternal");function o6e(t,e){if(t=Eu(t),!t.identifier&&!(t.permissions&&t.expiresOn))throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c";t.blobName&&(r="b");let n;t.permissions&&(t.blobName?n=hu.BlobSASPermissions.parse(t.permissions.toString()).toString():n=pu.ContainerSASPermissions.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?(0,dr.truncatedISO8061Date)(t.startsOn,!1):"",t.expiresOn?(0,dr.truncatedISO8061Date)(t.expiresOn,!1):"",yu(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?(0,gu.ipRangeToString)(t.ipRange):"",t.protocol?t.protocol:"",t.version,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(` +`),s=e.computeHMACSHA256(i);return{sasQueryParameters:new mu.SASQueryParameters(t.version,s,n,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType),stringToSign:i}}o(o6e,"generateBlobSASQueryParameters20150405");function a6e(t,e){if(t=Eu(t),!t.identifier&&!(t.permissions&&t.expiresOn))throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let i;t.permissions&&(t.blobName?i=hu.BlobSASPermissions.parse(t.permissions.toString()).toString():i=pu.ContainerSASPermissions.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?(0,dr.truncatedISO8061Date)(t.startsOn,!1):"",t.expiresOn?(0,dr.truncatedISO8061Date)(t.expiresOn,!1):"",yu(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?(0,gu.ipRangeToString)(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(` +`),a=e.computeHMACSHA256(s);return{sasQueryParameters:new mu.SASQueryParameters(t.version,a,i,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType),stringToSign:s}}o(a6e,"generateBlobSASQueryParameters20181109");function c6e(t,e){if(t=Eu(t),!t.identifier&&!(t.permissions&&t.expiresOn))throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let i;t.permissions&&(t.blobName?i=hu.BlobSASPermissions.parse(t.permissions.toString()).toString():i=pu.ContainerSASPermissions.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?(0,dr.truncatedISO8061Date)(t.startsOn,!1):"",t.expiresOn?(0,dr.truncatedISO8061Date)(t.expiresOn,!1):"",yu(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?(0,gu.ipRangeToString)(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.encryptionScope,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(` +`),a=e.computeHMACSHA256(s);return{sasQueryParameters:new mu.SASQueryParameters(t.version,a,i,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,void 0,void 0,void 0,t.encryptionScope),stringToSign:s}}o(c6e,"generateBlobSASQueryParameters20201206");function l6e(t,e){if(t=Eu(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let i;t.permissions&&(t.blobName?i=hu.BlobSASPermissions.parse(t.permissions.toString()).toString():i=pu.ContainerSASPermissions.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?(0,dr.truncatedISO8061Date)(t.startsOn,!1):"",t.expiresOn?(0,dr.truncatedISO8061Date)(t.expiresOn,!1):"",yu(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?(0,dr.truncatedISO8061Date)(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?(0,dr.truncatedISO8061Date)(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.ipRange?(0,gu.ipRangeToString)(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(` +`),a=e.computeHMACSHA256(s);return{sasQueryParameters:new mu.SASQueryParameters(t.version,a,i,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey),stringToSign:s}}o(l6e,"generateBlobSASQueryParametersUDK20181109");function u6e(t,e){if(t=Eu(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let i;t.permissions&&(t.blobName?i=hu.BlobSASPermissions.parse(t.permissions.toString()).toString():i=pu.ContainerSASPermissions.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?(0,dr.truncatedISO8061Date)(t.startsOn,!1):"",t.expiresOn?(0,dr.truncatedISO8061Date)(t.expiresOn,!1):"",yu(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?(0,dr.truncatedISO8061Date)(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?(0,dr.truncatedISO8061Date)(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?(0,gu.ipRangeToString)(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(` +`),a=e.computeHMACSHA256(s);return{sasQueryParameters:new mu.SASQueryParameters(t.version,a,i,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId),stringToSign:s}}o(u6e,"generateBlobSASQueryParametersUDK20200210");function A6e(t,e){if(t=Eu(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let i;t.permissions&&(t.blobName?i=hu.BlobSASPermissions.parse(t.permissions.toString()).toString():i=pu.ContainerSASPermissions.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?(0,dr.truncatedISO8061Date)(t.startsOn,!1):"",t.expiresOn?(0,dr.truncatedISO8061Date)(t.expiresOn,!1):"",yu(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?(0,dr.truncatedISO8061Date)(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?(0,dr.truncatedISO8061Date)(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?(0,gu.ipRangeToString)(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(` +`),a=e.computeHMACSHA256(s);return{sasQueryParameters:new mu.SASQueryParameters(t.version,a,i,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId,t.encryptionScope),stringToSign:s}}o(A6e,"generateBlobSASQueryParametersUDK20201206");function d6e(t,e){if(t=Eu(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let i;t.permissions&&(t.blobName?i=hu.BlobSASPermissions.parse(t.permissions.toString()).toString():i=pu.ContainerSASPermissions.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?(0,dr.truncatedISO8061Date)(t.startsOn,!1):"",t.expiresOn?(0,dr.truncatedISO8061Date)(t.expiresOn,!1):"",yu(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?(0,dr.truncatedISO8061Date)(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?(0,dr.truncatedISO8061Date)(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,void 0,t.delegatedUserObjectId,t.ipRange?(0,gu.ipRangeToString)(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(` +`),a=e.computeHMACSHA256(s);return{sasQueryParameters:new mu.SASQueryParameters(t.version,a,i,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId,t.encryptionScope,t.delegatedUserObjectId),stringToSign:s}}o(d6e,"generateBlobSASQueryParametersUDK20250705");function yu(t,e,r){let n=[`/blob/${t}/${e}`];return r&&n.push(`/${r}`),n.join("")}o(yu,"getCanonicalName");function Eu(t){let e=t.version?t.version:_$.SERVICE_VERSION;if(t.snapshotTime&&e<"2018-11-09")throw RangeError("'version' must be >= '2018-11-09' when providing 'snapshotTime'.");if(t.blobName===void 0&&t.snapshotTime)throw RangeError("Must provide 'blobName' when providing 'snapshotTime'.");if(t.versionId&&e<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'versionId'.");if(t.blobName===void 0&&t.versionId)throw RangeError("Must provide 'blobName' when providing 'versionId'.");if(t.permissions&&t.permissions.setImmutabilityPolicy&&e<"2020-08-04")throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.");if(t.permissions&&t.permissions.deleteVersion&&e<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'x' permission.");if(t.permissions&&t.permissions.permanentDelete&&e<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'y' permission.");if(t.permissions&&t.permissions.tag&&e<"2019-12-12")throw RangeError("'version' must be >= '2019-12-12' when providing 't' permission.");if(e<"2020-02-10"&&t.permissions&&(t.permissions.move||t.permissions.execute))throw RangeError("'version' must be >= '2020-02-10' when providing the 'm' or 'e' permission.");if(e<"2021-04-10"&&t.permissions&&t.permissions.filterByTags)throw RangeError("'version' must be >= '2021-04-10' when providing the 'f' permission.");if(e<"2020-02-10"&&(t.preauthorizedAgentObjectId||t.correlationId))throw RangeError("'version' must be >= '2020-02-10' when providing 'preauthorizedAgentObjectId' or 'correlationId'.");if(t.encryptionScope&&e<"2020-12-06")throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.");return t.version=e,t}o(Eu,"SASSignatureValuesSanityCheckAndAutofill")});var Wb=x(Vb=>{"use strict";Object.defineProperty(Vb,"__esModule",{value:!0});Vb.BlobLeaseClient=void 0;var f6e=Xt(),vo=Oi(),rg=fu(),Jb=fs(),h_=class{static{o(this,"BlobLeaseClient")}_leaseId;_url;_containerOrBlobOperation;_isContainer;get leaseId(){return this._leaseId}get url(){return this._url}constructor(e,r){let n=e.storageClientContext;this._url=e.url,e.name===void 0?(this._isContainer=!0,this._containerOrBlobOperation=n.container):(this._isContainer=!1,this._containerOrBlobOperation=n.blob),r||(r=(0,f6e.randomUUID)()),this._leaseId=r}async acquireLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==vo.ETagNone||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==vo.ETagNone||r.conditions?.tagConditions))throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return rg.tracingClient.withSpan("BlobLeaseClient-acquireLease",r,async n=>(0,Jb.assertResponse)(await this._containerOrBlobOperation.acquireLease({abortSignal:r.abortSignal,duration:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},proposedLeaseId:this._leaseId,tracingOptions:n.tracingOptions})))}async changeLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==vo.ETagNone||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==vo.ETagNone||r.conditions?.tagConditions))throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return rg.tracingClient.withSpan("BlobLeaseClient-changeLease",r,async n=>{let i=(0,Jb.assertResponse)(await this._containerOrBlobOperation.changeLease(this._leaseId,e,{abortSignal:r.abortSignal,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions}));return this._leaseId=e,i})}async releaseLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==vo.ETagNone||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==vo.ETagNone||e.conditions?.tagConditions))throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return rg.tracingClient.withSpan("BlobLeaseClient-releaseLease",e,async r=>(0,Jb.assertResponse)(await this._containerOrBlobOperation.releaseLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}async renewLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==vo.ETagNone||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==vo.ETagNone||e.conditions?.tagConditions))throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return rg.tracingClient.withSpan("BlobLeaseClient-renewLease",e,async r=>this._containerOrBlobOperation.renewLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:r.tracingOptions}))}async breakLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==vo.ETagNone||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==vo.ETagNone||r.conditions?.tagConditions))throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return rg.tracingClient.withSpan("BlobLeaseClient-breakLease",r,async n=>{let i={abortSignal:r.abortSignal,breakPeriod:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions};return(0,Jb.assertResponse)(await this._containerOrBlobOperation.breakLease(i))})}};Vb.BlobLeaseClient=h_});var k$=x($b=>{"use strict";Object.defineProperty($b,"__esModule",{value:!0});$b.AbortError=void 0;var p_=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};$b.AbortError=p_});var g_=x(Xb=>{"use strict";Object.defineProperty(Xb,"__esModule",{value:!0});Xb.AbortError=void 0;var h6e=k$();Object.defineProperty(Xb,"AbortError",{enumerable:!0,get:o(function(){return h6e.AbortError},"get")})});var T$=x(Zb=>{"use strict";Object.defineProperty(Zb,"__esModule",{value:!0});Zb.RetriableReadableStream=void 0;var p6e=g_(),g6e=require("node:stream"),m_=class extends g6e.Readable{static{o(this,"RetriableReadableStream")}start;offset;end;getter;source;retries=0;maxRetryRequests;onProgress;options;constructor(e,r,n,i,s={}){super({highWaterMark:s.highWaterMark}),this.getter=r,this.source=e,this.start=n,this.offset=n,this.end=n+i-1,this.maxRetryRequests=s.maxRetryRequests&&s.maxRetryRequests>=0?s.maxRetryRequests:0,this.onProgress=s.onProgress,this.options=s,this.setSourceEventHandlers()}_read(){this.source.resume()}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler),this.source.on("end",this.sourceErrorOrEndHandler),this.source.on("error",this.sourceErrorOrEndHandler),this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler),this.source.removeListener("end",this.sourceErrorOrEndHandler),this.source.removeListener("error",this.sourceErrorOrEndHandler),this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=o(e=>{if(this.options.doInjectErrorOnce){this.options.doInjectErrorOnce=void 0,this.source.pause(),this.sourceErrorOrEndHandler(),this.source.destroy();return}this.offset+=e.length,this.onProgress&&this.onProgress({loadedBytes:this.offset-this.start}),this.push(e)||this.source.pause()},"sourceDataHandler");sourceAbortedHandler=o(()=>{let e=new p6e.AbortError("The operation was aborted.");this.destroy(e)},"sourceAbortedHandler");sourceErrorOrEndHandler=o(e=>{if(e&&e.name==="AbortError"){this.destroy(e);return}this.removeSourceEventHandlers(),this.offset-1===this.end?this.push(null):this.offset<=this.end?this.retries{this.source=r,this.setSourceEventHandlers()}).catch(r=>{this.destroy(r)})):this.destroy(new Error(`Data corruption failure: received less data than required and reached maxRetires limitation. Received data offset: ${this.offset-1}, data needed offset: ${this.end}, retries: ${this.retries}, max retries: ${this.maxRetryRequests}`)):this.destroy(new Error(`Data corruption failure: Received more data than original request, data needed offset is ${this.end}, received offset: ${this.offset-1}`))},"sourceErrorOrEndHandler");_destroy(e,r){this.removeSourceEventHandlers(),this.source.destroy(),r(e===null?void 0:e)}};Zb.RetriableReadableStream=m_});var O$=x(eC=>{"use strict";Object.defineProperty(eC,"__esModule",{value:!0});eC.BlobDownloadResponse=void 0;var m6e=Xt(),y6e=T$(),y_=class{static{o(this,"BlobDownloadResponse")}get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){return this.originalResponse.copyCompletedOn}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get tagCount(){return this.originalResponse.tagCount}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get lastAccessed(){return this.originalResponse.lastAccessed}get createdOn(){return this.originalResponse.createdOn}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get versionId(){return this.originalResponse.versionId}get isCurrentVersion(){return this.originalResponse.isCurrentVersion}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get objectReplicationDestinationPolicyId(){return this.originalResponse.objectReplicationDestinationPolicyId}get objectReplicationSourceProperties(){return this.originalResponse.objectReplicationSourceProperties}get isSealed(){return this.originalResponse.isSealed}get immutabilityPolicyExpiresOn(){return this.originalResponse.immutabilityPolicyExpiresOn}get immutabilityPolicyMode(){return this.originalResponse.immutabilityPolicyMode}get legalHold(){return this.originalResponse.legalHold}get contentAsBlob(){return this.originalResponse.blobBody}get readableStreamBody(){return m6e.isNodeLike?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,r,n,i,s={}){this.originalResponse=e,this.blobDownloadStream=new y6e.RetriableReadableStream(this.originalResponse.readableStreamBody,r,n,i,s)}};eC.BlobDownloadResponse=y_});var M$=x(Ro=>{"use strict";Object.defineProperty(Ro,"__esModule",{value:!0});Ro.AVRO_SCHEMA_KEY=Ro.AVRO_CODEC_KEY=Ro.AVRO_INIT_BYTES=Ro.AVRO_SYNC_MARKER_SIZE=void 0;Ro.AVRO_SYNC_MARKER_SIZE=16;Ro.AVRO_INIT_BYTES=new Uint8Array([79,98,106,1]);Ro.AVRO_CODEC_KEY="avro.codec";Ro.AVRO_SCHEMA_KEY="avro.schema"});var L$=x(Vd=>{"use strict";Object.defineProperty(Vd,"__esModule",{value:!0});Vd.AvroType=Vd.AvroParser=void 0;var ni=class t{static{o(this,"AvroParser")}static async readFixedBytes(e,r,n={}){let i=await e.read(r,{abortSignal:n.abortSignal});if(i.length!==r)throw new Error("Hit stream end.");return i}static async readByte(e,r={}){return(await t.readFixedBytes(e,1,r))[0]}static async readZigZagLong(e,r={}){let n=0,i=0,s,a,c;do s=await t.readByte(e,r),a=s&128,n|=(s&127)<Number.MAX_SAFE_INTEGER)throw new Error("Integer overflow.");return l}return n>>1^-(n&1)}static async readLong(e,r={}){return t.readZigZagLong(e,r)}static async readInt(e,r={}){return t.readZigZagLong(e,r)}static async readNull(){return null}static async readBoolean(e,r={}){let n=await t.readByte(e,r);if(n===1)return!0;if(n===0)return!1;throw new Error("Byte was not a boolean.")}static async readFloat(e,r={}){let n=await t.readFixedBytes(e,4,r);return new DataView(n.buffer,n.byteOffset,n.byteLength).getFloat32(0,!0)}static async readDouble(e,r={}){let n=await t.readFixedBytes(e,8,r);return new DataView(n.buffer,n.byteOffset,n.byteLength).getFloat64(0,!0)}static async readBytes(e,r={}){let n=await t.readLong(e,r);if(n<0)throw new Error("Bytes size was negative.");return e.read(n,{abortSignal:r.abortSignal})}static async readString(e,r={}){let n=await t.readBytes(e,r);return new TextDecoder().decode(n)}static async readMapPair(e,r,n={}){let i=await t.readString(e,n),s=await r(e,n);return{key:i,value:s}}static async readMap(e,r,n={}){let i=o((c,l={})=>t.readMapPair(c,r,l),"readPairMethod"),s=await t.readArray(e,i,n),a={};for(let c of s)a[c.key]=c.value;return a}static async readArray(e,r,n={}){let i=[];for(let s=await t.readLong(e,n);s!==0;s=await t.readLong(e,n))for(s<0&&(await t.readLong(e,n),s=-s);s--;){let a=await r(e,n);i.push(a)}return i}};Vd.AvroParser=ni;var bu;(function(t){t.RECORD="record",t.ENUM="enum",t.ARRAY="array",t.MAP="map",t.UNION="union",t.FIXED="fixed"})(bu||(bu={}));var tn;(function(t){t.NULL="null",t.BOOLEAN="boolean",t.INT="int",t.LONG="long",t.FLOAT="float",t.DOUBLE="double",t.BYTES="bytes",t.STRING="string"})(tn||(tn={}));var Gc=class t{static{o(this,"AvroType")}static fromSchema(e){return typeof e=="string"?t.fromStringSchema(e):Array.isArray(e)?t.fromArraySchema(e):t.fromObjectSchema(e)}static fromStringSchema(e){switch(e){case tn.NULL:case tn.BOOLEAN:case tn.INT:case tn.LONG:case tn.FLOAT:case tn.DOUBLE:case tn.BYTES:case tn.STRING:return new E_(e);default:throw new Error(`Unexpected Avro type ${e}`)}}static fromArraySchema(e){return new C_(e.map(t.fromSchema))}static fromObjectSchema(e){let r=e.type;try{return t.fromStringSchema(r)}catch{}switch(r){case bu.RECORD:if(e.aliases)throw new Error(`aliases currently is not supported, schema: ${e}`);if(!e.name)throw new Error(`Required attribute 'name' doesn't exist on schema: ${e}`);let n={};if(!e.fields)throw new Error(`Required attribute 'fields' doesn't exist on schema: ${e}`);for(let i of e.fields)n[i.name]=t.fromSchema(i.type);return new I_(n,e.name);case bu.ENUM:if(e.aliases)throw new Error(`aliases currently is not supported, schema: ${e}`);if(!e.symbols)throw new Error(`Required attribute 'symbols' doesn't exist on schema: ${e}`);return new b_(e.symbols);case bu.MAP:if(!e.values)throw new Error(`Required attribute 'values' doesn't exist on schema: ${e}`);return new x_(t.fromSchema(e.values));case bu.ARRAY:case bu.FIXED:default:throw new Error(`Unexpected Avro type ${r} in ${e}`)}}};Vd.AvroType=Gc;var E_=class extends Gc{static{o(this,"AvroPrimitiveType")}_primitive;constructor(e){super(),this._primitive=e}read(e,r={}){switch(this._primitive){case tn.NULL:return ni.readNull();case tn.BOOLEAN:return ni.readBoolean(e,r);case tn.INT:return ni.readInt(e,r);case tn.LONG:return ni.readLong(e,r);case tn.FLOAT:return ni.readFloat(e,r);case tn.DOUBLE:return ni.readDouble(e,r);case tn.BYTES:return ni.readBytes(e,r);case tn.STRING:return ni.readString(e,r);default:throw new Error("Unknown Avro Primitive")}}},b_=class extends Gc{static{o(this,"AvroEnumType")}_symbols;constructor(e){super(),this._symbols=e}async read(e,r={}){let n=await ni.readInt(e,r);return this._symbols[n]}},C_=class extends Gc{static{o(this,"AvroUnionType")}_types;constructor(e){super(),this._types=e}async read(e,r={}){let n=await ni.readInt(e,r);return this._types[n].read(e,r)}},x_=class extends Gc{static{o(this,"AvroMapType")}_itemType;constructor(e){super(),this._itemType=e}read(e,r={}){let n=o((i,s)=>this._itemType.read(i,s),"readItemMethod");return ni.readMap(e,n,r)}},I_=class extends Gc{static{o(this,"AvroRecordType")}_name;_fields;constructor(e,r){super(),this._fields=e,this._name=r}async read(e,r={}){let n={};n.$schema=this._name;for(let i in this._fields)Object.prototype.hasOwnProperty.call(this._fields,i)&&(n[i]=await this._fields[i].read(e,r));return n}}});var U$=x(B_=>{"use strict";Object.defineProperty(B_,"__esModule",{value:!0});B_.arraysEqual=E6e;function E6e(t,e){if(t===e)return!0;if(t==null||e==null||t.length!==e.length)return!1;for(let r=0;r{"use strict";Object.defineProperty(tC,"__esModule",{value:!0});tC.AvroReader=void 0;var Wd=M$(),Po=L$(),F$=U$(),w_=class{static{o(this,"AvroReader")}_dataStream;_headerStream;_syncMarker;_metadata;_itemType;_itemsRemainingInBlock;_initialBlockOffset;_blockOffset;get blockOffset(){return this._blockOffset}_objectIndex;get objectIndex(){return this._objectIndex}_initialized;constructor(e,r,n,i){this._dataStream=e,this._headerStream=r||e,this._initialized=!1,this._blockOffset=n||0,this._objectIndex=i||0,this._initialBlockOffset=n||0}async initialize(e={}){let r=await Po.AvroParser.readFixedBytes(this._headerStream,Wd.AVRO_INIT_BYTES.length,{abortSignal:e.abortSignal});if(!(0,F$.arraysEqual)(r,Wd.AVRO_INIT_BYTES))throw new Error("Stream is not an Avro file.");this._metadata=await Po.AvroParser.readMap(this._headerStream,Po.AvroParser.readString,{abortSignal:e.abortSignal});let n=this._metadata[Wd.AVRO_CODEC_KEY];if(!(n==null||n==="null"))throw new Error("Codecs are not supported");this._syncMarker=await Po.AvroParser.readFixedBytes(this._headerStream,Wd.AVRO_SYNC_MARKER_SIZE,{abortSignal:e.abortSignal});let i=JSON.parse(this._metadata[Wd.AVRO_SCHEMA_KEY]);if(this._itemType=Po.AvroType.fromSchema(i),this._blockOffset===0&&(this._blockOffset=this._initialBlockOffset+this._dataStream.position),this._itemsRemainingInBlock=await Po.AvroParser.readLong(this._dataStream,{abortSignal:e.abortSignal}),await Po.AvroParser.readLong(this._dataStream,{abortSignal:e.abortSignal}),this._initialized=!0,this._objectIndex&&this._objectIndex>0)for(let s=0;s0}async*parseObjects(e={}){for(this._initialized||await this.initialize(e);this.hasNext();){let r=await this._itemType.read(this._dataStream,{abortSignal:e.abortSignal});if(this._itemsRemainingInBlock--,this._objectIndex++,this._itemsRemainingInBlock===0){let n=await Po.AvroParser.readFixedBytes(this._dataStream,Wd.AVRO_SYNC_MARKER_SIZE,{abortSignal:e.abortSignal});if(this._blockOffset=this._initialBlockOffset+this._dataStream.position,this._objectIndex=0,!(0,F$.arraysEqual)(this._syncMarker,n))throw new Error("Stream is not a valid Avro file.");try{this._itemsRemainingInBlock=await Po.AvroParser.readLong(this._dataStream,{abortSignal:e.abortSignal})}catch{this._itemsRemainingInBlock=0}this._itemsRemainingInBlock>0&&await Po.AvroParser.readLong(this._dataStream,{abortSignal:e.abortSignal})}yield r}}};tC.AvroReader=w_});var S_=x(rC=>{"use strict";Object.defineProperty(rC,"__esModule",{value:!0});rC.AvroReadable=void 0;var Q_=class{static{o(this,"AvroReadable")}};rC.AvroReadable=Q_});var z$=x(nC=>{"use strict";Object.defineProperty(nC,"__esModule",{value:!0});nC.AvroReadableFromStream=void 0;var b6e=S_(),C6e=g_(),x6e=require("buffer"),q$=new C6e.AbortError("Reading from the avro stream was aborted."),N_=class extends b6e.AvroReadable{static{o(this,"AvroReadableFromStream")}_position;_readable;toUint8Array(e){return typeof e=="string"?x6e.Buffer.from(e):e}constructor(e){super(),this._readable=e,this._position=0}get position(){return this._position}async read(e,r={}){if(r.abortSignal?.aborted)throw q$;if(e<0)throw new Error(`size parameter should be positive: ${e}`);if(e===0)return new Uint8Array;if(!this._readable.readable)throw new Error("Stream no longer readable.");let n=this._readable.read(e);return n?(this._position+=n.length,this.toUint8Array(n)):new Promise((i,s)=>{let a=o(()=>{this._readable.removeListener("readable",c),this._readable.removeListener("error",l),this._readable.removeListener("end",l),this._readable.removeListener("close",l),r.abortSignal&&r.abortSignal.removeEventListener("abort",u)},"cleanUp"),c=o(()=>{let A=this._readable.read(e);A&&(this._position+=A.length,a(),i(this.toUint8Array(A)))},"readableCallback"),l=o(()=>{a(),s()},"rejectCallback"),u=o(()=>{a(),s(q$)},"abortHandler");this._readable.on("readable",c),this._readable.once("error",l),this._readable.once("end",l),this._readable.once("close",l),r.abortSignal&&r.abortSignal.addEventListener("abort",u)})}};nC.AvroReadableFromStream=N_});var G$=x(jc=>{"use strict";Object.defineProperty(jc,"__esModule",{value:!0});jc.AvroReadableFromStream=jc.AvroReadable=jc.AvroReader=void 0;var I6e=H$();Object.defineProperty(jc,"AvroReader",{enumerable:!0,get:o(function(){return I6e.AvroReader},"get")});var B6e=S_();Object.defineProperty(jc,"AvroReadable",{enumerable:!0,get:o(function(){return B6e.AvroReadable},"get")});var w6e=z$();Object.defineProperty(jc,"AvroReadableFromStream",{enumerable:!0,get:o(function(){return w6e.AvroReadableFromStream},"get")})});var Y$=x(iC=>{"use strict";Object.defineProperty(iC,"__esModule",{value:!0});iC.BlobQuickQueryStream=void 0;var Q6e=require("node:stream"),j$=G$(),v_=class extends Q6e.Readable{static{o(this,"BlobQuickQueryStream")}source;avroReader;avroIter;avroPaused=!0;onProgress;onError;constructor(e,r={}){super(),this.source=e,this.onProgress=r.onProgress,this.onError=r.onError,this.avroReader=new j$.AvroReader(new j$.AvroReadableFromStream(this.source)),this.avroIter=this.avroReader.parseObjects({abortSignal:r.abortSignal})}_read(){this.avroPaused&&this.readInternal().catch(e=>{this.emit("error",e)})}async readInternal(){this.avroPaused=!1;let e;do{if(e=await this.avroIter.next(),e.done)break;let r=e.value,n=r.$schema;if(typeof n!="string")throw Error("Missing schema in avro record.");switch(n){case"com.microsoft.azure.storage.queryBlobContents.resultData":{let i=r.data;if(!(i instanceof Uint8Array))throw Error("Invalid data in avro result record.");this.push(Buffer.from(i))||(this.avroPaused=!0)}break;case"com.microsoft.azure.storage.queryBlobContents.progress":{let i=r.bytesScanned;if(typeof i!="number")throw Error("Invalid bytesScanned in avro progress record.");this.onProgress&&this.onProgress({loadedBytes:i})}break;case"com.microsoft.azure.storage.queryBlobContents.end":if(this.onProgress){let i=r.totalBytes;if(typeof i!="number")throw Error("Invalid totalBytes in avro end record.");this.onProgress({loadedBytes:i})}this.push(null);break;case"com.microsoft.azure.storage.queryBlobContents.error":if(this.onError){let i=r.fatal;if(typeof i!="boolean")throw Error("Invalid fatal in avro error record.");let s=r.name;if(typeof s!="string")throw Error("Invalid name in avro error record.");let a=r.description;if(typeof a!="string")throw Error("Invalid description in avro error record.");let c=r.position;if(typeof c!="number")throw Error("Invalid position in avro error record.");this.onError({position:c,name:s,isFatal:i,description:a})}break;default:throw Error(`Unknown schema ${n} in avro progress record.`)}}while(!e.done&&!this.avroPaused)}};iC.BlobQuickQueryStream=v_});var K$=x(sC=>{"use strict";Object.defineProperty(sC,"__esModule",{value:!0});sC.BlobQueryResponse=void 0;var S6e=Xt(),N6e=Y$(),R_=class{static{o(this,"BlobQueryResponse")}get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get blobBody(){}get readableStreamBody(){return S6e.isNodeLike?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,r={}){this.originalResponse=e,this.blobDownloadStream=new N6e.BlobQuickQueryStream(this.originalResponse.readableStreamBody,r)}};sC.BlobQueryResponse=R_});var P_=x(Gs=>{"use strict";Object.defineProperty(Gs,"__esModule",{value:!0});Gs.StorageBlobAudience=Gs.PremiumPageBlobTier=Gs.BlockBlobTier=void 0;Gs.toAccessTier=R6e;Gs.ensureCpkIfSpecified=P6e;Gs.getBlobServiceAccountAudience=_6e;var v6e=Oi(),J$;(function(t){t.Hot="Hot",t.Cool="Cool",t.Cold="Cold",t.Archive="Archive"})(J$||(Gs.BlockBlobTier=J$={}));var V$;(function(t){t.P4="P4",t.P6="P6",t.P10="P10",t.P15="P15",t.P20="P20",t.P30="P30",t.P40="P40",t.P50="P50",t.P60="P60",t.P70="P70",t.P80="P80"})(V$||(Gs.PremiumPageBlobTier=V$={}));function R6e(t){if(t!==void 0)return t}o(R6e,"toAccessTier");function P6e(t,e){if(t&&!e)throw new RangeError("Customer-provided encryption key must be used over HTTPS.");t&&!t.encryptionAlgorithm&&(t.encryptionAlgorithm=v6e.EncryptionAlgorithmAES25)}o(P6e,"ensureCpkIfSpecified");var W$;(function(t){t.StorageOAuthScopes="https://storage.azure.com/.default",t.DiskComputeOAuthScopes="https://disk.compute.azure.com/.default"})(W$||(Gs.StorageBlobAudience=W$={}));function _6e(t){return`https://${t}.blob.core.windows.net/.default`}o(_6e,"getBlobServiceAccountAudience")});var $$=x(__=>{"use strict";Object.defineProperty(__,"__esModule",{value:!0});__.rangeResponseFromModel=D6e;function D6e(t){let e=(t._response.parsedBody.pageRange||[]).map(n=>({offset:n.start,count:n.end-n.start})),r=(t._response.parsedBody.clearRange||[]).map(n=>({offset:n.start,count:n.end-n.start}));return{...t,pageRange:e,clearRange:r,_response:{...t._response,parsedBody:{pageRange:e,clearRange:r}}}}o(D6e,"rangeResponseFromModel")});var aC=x(oC=>{"use strict";Object.defineProperty(oC,"__esModule",{value:!0});oC.logger=void 0;var k6e=cu();oC.logger=(0,k6e.createClientLogger)("core-lro")});var cC=x($d=>{"use strict";Object.defineProperty($d,"__esModule",{value:!0});$d.terminalStates=$d.POLL_INTERVAL_IN_MS=void 0;$d.POLL_INTERVAL_IN_MS=2e3;$d.terminalStates=["succeeded","canceled","failed"]});var lC=x(Yc=>{"use strict";Object.defineProperty(Yc,"__esModule",{value:!0});Yc.pollOperation=Yc.initOperation=Yc.deserializeState=void 0;var D_=aC(),Z$=cC();function T6e(t){try{return JSON.parse(t).state}catch{throw new Error(`Unable to deserialize input state: ${t}`)}}o(T6e,"deserializeState");Yc.deserializeState=T6e;function X$(t){let{state:e,stateProxy:r,isOperationError:n}=t;return i=>{throw n(i)&&(r.setError(e,i),r.setFailed(e)),i}}o(X$,"setStateError");function O6e(t,e){let r=t;return r.slice(-1)!=="."&&(r=r+"."),r+" "+e}o(O6e,"appendReadableErrorMessage");function M6e(t){let e=t.message,r=t.code,n=t;for(;n.innererror;)n=n.innererror,r=n.code,e=O6e(e,n.message);return{code:r,message:e}}o(M6e,"simplifyError");function eX(t){let{state:e,stateProxy:r,status:n,isDone:i,processResult:s,getError:a,response:c,setErrorAsResult:l}=t;switch(n){case"succeeded":{r.setSucceeded(e);break}case"failed":{let u=a?.(c),A="";if(u){let{code:f,message:h}=M6e(u);A=`. ${f}. ${h}`}let d=`The long-running operation has failed${A}`;r.setError(e,new Error(d)),r.setFailed(e),D_.logger.warning(d);break}case"canceled":{r.setCanceled(e);break}}(i?.(c,e)||i===void 0&&["succeeded","canceled"].concat(l?[]:["failed"]).includes(n))&&r.setResult(e,L6e({response:c,state:e,processResult:s}))}o(eX,"processOperationStatus");function L6e(t){let{processResult:e,response:r,state:n}=t;return e?e(r,n):r}o(L6e,"buildResult");async function U6e(t){let{init:e,stateProxy:r,processResult:n,getOperationStatus:i,withOperationLocation:s,setErrorAsResult:a}=t,{operationLocation:c,resourceLocation:l,metadata:u,response:A}=await e();c&&s?.(c,!1);let d={metadata:u,operationLocation:c,resourceLocation:l};D_.logger.verbose("LRO: Operation description:",d);let f=r.initState(d),h=i({response:A,state:f,operationLocation:c});return eX({state:f,status:h,stateProxy:r,response:A,setErrorAsResult:a,processResult:n}),f}o(U6e,"initOperation");Yc.initOperation=U6e;async function F6e(t){let{poll:e,state:r,stateProxy:n,operationLocation:i,getOperationStatus:s,getResourceLocation:a,isOperationError:c,options:l}=t,u=await e(i,l).catch(X$({state:r,stateProxy:n,isOperationError:c})),A=s(u,r);if(D_.logger.verbose(`LRO: Status: Polling from: ${r.config.operationLocation} - Operation status: ${u} - Polling status: ${cK.includes(u)?"Stopped":"Running"}`),u==="succeeded"){let d=a(A,r);if(d!==void 0)return{response:await e(d).catch(oK({state:r,stateProxy:n,isOperationError:c})),status:u}}return{response:A,status:u}}o(Eke,"pollOperationHelper");async function dK(t){let{poll:e,state:r,stateProxy:n,options:i,getOperationStatus:s,getResourceLocation:a,getOperationLocation:c,isOperationError:l,withOperationLocation:A,getPollingInterval:u,processResult:d,getError:f,updateState:m,setDelay:C,isDone:Q,setErrorAsResult:S}=t,{operationLocation:w}=r.config;if(w!==void 0){let{response:R,status:T}=await Eke({poll:e,getOperationStatus:s,state:r,stateProxy:n,operationLocation:w,getResourceLocation:a,isOperationError:l,options:i});if(AK({status:T,response:R,state:r,stateProxy:n,isDone:Q,processResult:d,getError:f,setErrorAsResult:S}),!cK.includes(T)){let L=u?.(R);L&&C(L);let W=c?.(R,r);if(W!==void 0){let de=w!==W;r.config.operationLocation=W,A?.(W,de)}else A?.(w,!1)}m?.(r,R)}}o(dK,"pollOperation");function pK(t){let{azureAsyncOperation:e,operationLocation:r}=t;return r??e}o(pK,"getOperationLocationPollingUrl");function hK(t){return t.headers.location}o(hK,"getLocationHeader");function fK(t){return t.headers["operation-location"]}o(fK,"getOperationLocationHeader");function mK(t){return t.headers["azure-asyncoperation"]}o(mK,"getAzureAsyncOperationHeader");function Bke(t){var e;let{location:r,requestMethod:n,requestPath:i,resourceLocationConfig:s}=t;switch(n){case"PUT":return i;case"DELETE":return;case"PATCH":return(e=a())!==null&&e!==void 0?e:i;default:return a()}function a(){switch(s){case"azure-async-operation":return;case"original-uri":return i;case"location":default:return r}}o(a,"getDefault")}o(Bke,"findResourceLocation");function gK(t){let{rawResponse:e,requestMethod:r,requestPath:n,resourceLocationConfig:i}=t,s=fK(e),a=mK(e),c=pK({operationLocation:s,azureAsyncOperation:a}),l=hK(e),A=r?.toLocaleUpperCase();return c!==void 0?{mode:"OperationLocation",operationLocation:c,resourceLocation:Bke({requestMethod:A,location:l,requestPath:n,resourceLocationConfig:i})}:l!==void 0?{mode:"ResourceLocation",operationLocation:l}:A==="PUT"&&n?{mode:"Body",operationLocation:n}:void 0}o(gK,"inferLroMode");function yK(t){let{status:e,statusCode:r}=t;if(typeof e!="string"&&e!==void 0)throw new Error(`Polling was unsuccessful. Expected status to have a string value or no value but it has instead: ${e}. This doesn't necessarily indicate the operation has failed. Check your Azure subscription or resource status for more information.`);switch(e?.toLocaleLowerCase()){case void 0:return RS(r);case"succeeded":return"succeeded";case"failed":return"failed";case"running":case"accepted":case"started":case"canceling":case"cancelling":return"running";case"canceled":case"cancelled":return"canceled";default:return da.verbose(`LRO: unrecognized operation status: ${e}`),e}}o(yK,"transformStatus");function Ike(t){var e;let{status:r}=(e=t.body)!==null&&e!==void 0?e:{};return yK({status:r,statusCode:t.statusCode})}o(Ike,"getStatus");function bke(t){var e,r;let{properties:n,provisioningState:i}=(e=t.body)!==null&&e!==void 0?e:{},s=(r=n?.provisioningState)!==null&&r!==void 0?r:i;return yK({status:s,statusCode:t.statusCode})}o(bke,"getProvisioningState");function RS(t){return t===202?"running":t<300?"succeeded":"failed"}o(RS,"toOperationStatus");function CK({rawResponse:t}){let e=t.headers["retry-after"];if(e!==void 0){let r=parseInt(e);return isNaN(r)?Qke(new Date(e)):r*1e3}}o(CK,"parseRetryAfter");function EK(t){let e=t.flatResponse.error;if(!e){da.warning("The long-running operation failed but there is no error property in the response's body");return}if(!e.code||!e.message){da.warning("The long-running operation failed but the error property in the response's body doesn't contain code or message");return}return e}o(EK,"getErrorFromResponse");function Qke(t){let e=Math.floor(new Date().getTime()),r=t.getTime();if(e{let a=await i.sendInitialRequest(),c=gK({rawResponse:a.rawResponse,requestPath:i.requestPath,requestMethod:i.requestMethod,resourceLocationConfig:r});return Object.assign({response:a,operationLocation:c?.operationLocation,resourceLocation:c?.resourceLocation},c?.mode?{metadata:{mode:c.mode}}:{})},stateProxy:e,processResult:n?({flatResponse:a},c)=>n(a,c):({flatResponse:a})=>a,getOperationStatus:BK,setErrorAsResult:s})}o(wke,"initHttpOperation");function IK({rawResponse:t},e){var r;switch((r=e.config.metadata)===null||r===void 0?void 0:r.mode){case"OperationLocation":return pK({operationLocation:fK(t),azureAsyncOperation:mK(t)});case"ResourceLocation":return hK(t);case"Body":default:return}}o(IK,"getOperationLocation");function _S({rawResponse:t},e){var r;let n=(r=e.config.metadata)===null||r===void 0?void 0:r.mode;switch(n){case"OperationLocation":return Ike(t);case"ResourceLocation":return RS(t.statusCode);case"Body":return bke(t);default:throw new Error(`Internal error: Unexpected operation mode: ${n}`)}}o(_S,"getOperationStatus");function bK({flatResponse:t},e){if(typeof t=="object"){let r=t.resourceLocation;r!==void 0&&(e.config.resourceLocation=r)}return e.config.resourceLocation}o(bK,"getResourceLocation");function QK(t){return t.name==="RestError"}o(QK,"isOperationError");async function Nke(t){let{lro:e,stateProxy:r,options:n,processResult:i,updateState:s,setDelay:a,state:c,setErrorAsResult:l}=t;return dK({state:c,stateProxy:r,setDelay:a,processResult:i?({flatResponse:A},u)=>i(A,u):({flatResponse:A})=>A,getError:EK,updateState:s,getPollingInterval:CK,getOperationLocation:IK,getOperationStatus:_S,isOperationError:QK,getResourceLocation:bK,options:n,poll:async(A,u)=>e.sendPollRequest(A,u),setErrorAsResult:l})}o(Nke,"pollHttpOperation");var xke=o(()=>({initState:t=>({status:"running",config:t}),setCanceled:t=>t.status="canceled",setError:(t,e)=>t.error=e,setResult:(t,e)=>t.result=e,setRunning:t=>t.status="running",setSucceeded:t=>t.status="succeeded",setFailed:t=>t.status="failed",getError:t=>t.error,getResult:t=>t.result,isCanceled:t=>t.status==="canceled",isFailed:t=>t.status==="failed",isRunning:t=>t.status==="running",isSucceeded:t=>t.status==="succeeded"}),"createStateProxy$1");function Ske(t){let{getOperationLocation:e,getStatusFromInitialResponse:r,getStatusFromPollResponse:n,isOperationError:i,getResourceLocation:s,getPollingInterval:a,getError:c,resolveOnUnsuccessful:l}=t;return async({init:A,poll:u},d)=>{let{processResult:f,updateState:m,withOperationLocation:C,intervalInMs:Q=aK,restoreFrom:S}=d||{},w=xke(),R=C?(()=>{let Xe=!1;return(fe,Ge)=>{Ge?C(fe):Xe||C(fe),Xe=!0}})():void 0,T=S?lK(S):await uK({init:A,stateProxy:w,processResult:f,getOperationStatus:r,withOperationLocation:R,setErrorAsResult:!l}),L,W=new sK.AbortController,de=new Map,le=o(async()=>de.forEach(Xe=>Xe(T)),"handleProgressEvents"),Te="Operation was canceled",Oe=Q,He={getOperationState:()=>T,getResult:()=>T.result,isDone:()=>["succeeded","failed","canceled"].includes(T.status),isStopped:()=>L===void 0,stopPolling:()=>{W.abort()},toString:()=>JSON.stringify({state:T}),onProgress:Xe=>{let fe=Symbol();return de.set(fe,Xe),()=>de.delete(fe)},pollUntilDone:Xe=>L??(L=(async()=>{let{abortSignal:fe}=Xe||{},{signal:Ge}=fe?new sK.AbortController([fe,W.signal]):W;if(!He.isDone())for(await He.poll({abortSignal:Ge});!He.isDone();)await mke.delay(Oe,{abortSignal:Ge}),await He.poll({abortSignal:Ge});if(l)return He.getResult();switch(T.status){case"succeeded":return He.getResult();case"canceled":throw new Error(Te);case"failed":throw T.error;case"notStarted":case"running":throw new Error("Polling completed without succeeding or failing")}})().finally(()=>{L=void 0})),async poll(Xe){if(l){if(He.isDone())return}else switch(T.status){case"succeeded":return;case"canceled":throw new Error(Te);case"failed":throw T.error}if(await dK({poll:u,state:T,stateProxy:w,getOperationLocation:e,isOperationError:i,withOperationLocation:R,getPollingInterval:a,getOperationStatus:n,getResourceLocation:s,processResult:f,getError:c,updateState:m,options:Xe,setDelay:fe=>{Oe=fe},setErrorAsResult:!l}),await le(),!l)switch(T.status){case"canceled":throw new Error(Te);case"failed":throw T.error}}};return He}}o(Ske,"buildCreatePoller");async function Rke(t,e){let{resourceLocationConfig:r,intervalInMs:n,processResult:i,restoreFrom:s,updateState:a,withOperationLocation:c,resolveOnUnsuccessful:l=!1}=e||{};return Ske({getStatusFromInitialResponse:BK,getStatusFromPollResponse:_S,isOperationError:QK,getOperationLocation:IK,getResourceLocation:bK,getPollingInterval:CK,getError:EK,resolveOnUnsuccessful:l})({init:async()=>{let A=await t.sendInitialRequest(),u=gK({rawResponse:A.rawResponse,requestPath:t.requestPath,requestMethod:t.requestMethod,resourceLocationConfig:r});return Object.assign({response:A,operationLocation:u?.operationLocation,resourceLocation:u?.resourceLocation},u?.mode?{metadata:{mode:u.mode}}:{})},poll:t.sendPollRequest},{intervalInMs:n,withOperationLocation:c,restoreFrom:s,updateState:a,processResult:i?({flatResponse:A},u)=>i(A,u):({flatResponse:A})=>A})}o(Rke,"createHttpPoller");var _ke=o(()=>({initState:t=>({config:t,isStarted:!0}),setCanceled:t=>t.isCancelled=!0,setError:(t,e)=>t.error=e,setResult:(t,e)=>t.result=e,setRunning:t=>t.isStarted=!0,setSucceeded:t=>t.isCompleted=!0,setFailed:()=>{},getError:t=>t.error,getResult:t=>t.result,isCanceled:t=>!!t.isCancelled,isFailed:t=>!!t.error,isRunning:t=>!!t.isStarted,isSucceeded:t=>!!(t.isCompleted&&!t.isCancelled&&!t.error)}),"createStateProxy"),xS=class{static{o(this,"GenericPollOperation")}constructor(e,r,n,i,s,a,c){this.state=e,this.lro=r,this.setErrorAsResult=n,this.lroResourceLocationConfig=i,this.processResult=s,this.updateState=a,this.isDone=c}setPollerConfig(e){this.pollerConfig=e}async update(e){var r;let n=_ke();this.state.isStarted||(this.state=Object.assign(Object.assign({},this.state),await wke({lro:this.lro,stateProxy:n,resourceLocationConfig:this.lroResourceLocationConfig,processResult:this.processResult,setErrorAsResult:this.setErrorAsResult})));let i=this.updateState,s=this.isDone;return!this.state.isCompleted&&this.state.error===void 0&&await Nke({lro:this.lro,state:this.state,stateProxy:n,processResult:this.processResult,updateState:i?(a,{rawResponse:c})=>i(a,c):void 0,isDone:s?({flatResponse:a},c)=>s(a,c):void 0,options:e,setDelay:a=>{this.pollerConfig.intervalInMs=a},setErrorAsResult:this.setErrorAsResult}),(r=e?.fireProgress)===null||r===void 0||r.call(e,this.state),this}async cancel(){return da.error("`cancelOperation` is deprecated because it wasn't implemented"),this}toString(){return JSON.stringify({state:this.state})}},vg=class t extends Error{static{o(this,"PollerStoppedError")}constructor(e){super(e),this.name="PollerStoppedError",Object.setPrototypeOf(this,t.prototype)}},Pg=class t extends Error{static{o(this,"PollerCancelledError")}constructor(e){super(e),this.name="PollerCancelledError",Object.setPrototypeOf(this,t.prototype)}},Dg=class{static{o(this,"Poller")}constructor(e){this.resolveOnUnsuccessful=!1,this.stopped=!0,this.pollProgressCallbacks=[],this.operation=e,this.promise=new Promise((r,n)=>{this.resolve=r,this.reject=n}),this.promise.catch(()=>{})}async startPolling(e={}){for(this.stopped&&(this.stopped=!1);!this.isStopped()&&!this.isDone();)await this.poll(e),await this.delay()}async pollOnce(e={}){this.isDone()||(this.operation=await this.operation.update({abortSignal:e.abortSignal,fireProgress:this.fireProgress.bind(this)})),this.processUpdatedState()}fireProgress(e){for(let r of this.pollProgressCallbacks)r(e)}async cancelOnce(e={}){this.operation=await this.operation.cancel(e)}poll(e={}){if(!this.pollOncePromise){this.pollOncePromise=this.pollOnce(e);let r=o(()=>{this.pollOncePromise=void 0},"clearPollOncePromise");this.pollOncePromise.then(r,r).catch(this.reject)}return this.pollOncePromise}processUpdatedState(){if(this.operation.state.error&&(this.stopped=!0,!this.resolveOnUnsuccessful))throw this.reject(this.operation.state.error),this.operation.state.error;if(this.operation.state.isCancelled&&(this.stopped=!0,!this.resolveOnUnsuccessful)){let e=new Pg("Operation was canceled");throw this.reject(e),e}this.isDone()&&this.resolve&&this.resolve(this.getResult())}async pollUntilDone(e={}){return this.stopped&&this.startPolling(e).catch(this.reject),this.processUpdatedState(),this.promise}onProgress(e){return this.pollProgressCallbacks.push(e),()=>{this.pollProgressCallbacks=this.pollProgressCallbacks.filter(r=>r!==e)}}isDone(){let e=this.operation.state;return!!(e.isCompleted||e.isCancelled||e.error)}stopPolling(){this.stopped||(this.stopped=!0,this.reject&&this.reject(new vg("This poller is already stopped")))}isStopped(){return this.stopped}cancelOperation(e={}){if(!this.cancelPromise)this.cancelPromise=this.cancelOnce(e);else if(e.abortSignal)throw new Error("A cancel request is currently pending");return this.cancelPromise}getOperationState(){return this.operation.state}getResult(){return this.operation.state.result}toString(){return this.operation.toString()}},SS=class extends Dg{static{o(this,"LroEngine")}constructor(e,r){let{intervalInMs:n=aK,resumeFrom:i,resolveOnUnsuccessful:s=!1,isDone:a,lroResourceLocationConfig:c,processResult:l,updateState:A}=r||{},u=i?lK(i):{},d=new xS(u,e,!s,c,l,A,a);super(d),this.resolveOnUnsuccessful=s,this.config={intervalInMs:n},d.setPollerConfig(this.config)}delay(){return new Promise(e=>setTimeout(()=>e(),this.config.intervalInMs))}};pa.LroEngine=SS;pa.Poller=Dg;pa.PollerCancelledError=Pg;pa.PollerStoppedError=vg;pa.createHttpPoller=Rke});var NK=g(Tg=>{"use strict";Object.defineProperty(Tg,"__esModule",{value:!0});Tg.BlobBeginCopyFromUrlPoller=void 0;var vke=pt(),Pke=wK(),vS=class extends Pke.Poller{static{o(this,"BlobBeginCopyFromUrlPoller")}intervalInMs;constructor(e){let{blobClient:r,copySource:n,intervalInMs:i=15e3,onProgress:s,resumeFrom:a,startCopyFromURLOptions:c}=e,l;a&&(l=JSON.parse(a).state);let A=Zu({...l,blobClient:r,copySource:n,startCopyFromURLOptions:c});super(A),typeof s=="function"&&this.onProgress(s),this.intervalInMs=i}delay(){return(0,vke.delay)(this.intervalInMs)}};Tg.BlobBeginCopyFromUrlPoller=vS;var Dke=o(async function(e={}){let r=this.state,{copyId:n}=r;return r.isCompleted?Zu(r):n?(await r.blobClient.abortCopyFromURL(n,{abortSignal:e.abortSignal}),r.isCancelled=!0,Zu(r)):(r.isCancelled=!0,Zu(r))},"cancel"),Tke=o(async function(e={}){let r=this.state,{blobClient:n,copySource:i,startCopyFromURLOptions:s}=r;if(r.isStarted){if(!r.isCompleted)try{let a=await r.blobClient.getProperties({abortSignal:e.abortSignal}),{copyStatus:c,copyProgress:l}=a,A=r.copyProgress;l&&(r.copyProgress=l),c==="pending"&&l!==A&&typeof e.fireProgress=="function"?e.fireProgress(r):c==="success"?(r.result=a,r.isCompleted=!0):c==="failed"&&(r.error=new Error(`Blob copy failed with reason: "${a.copyStatusDescription||"unknown"}"`),r.isCompleted=!0)}catch(a){r.error=a,r.isCompleted=!0}}else{r.isStarted=!0;let a=await n.startCopyFromURL(i,s);r.copyId=a.copyId,a.copyStatus==="success"&&(r.result=a,r.isCompleted=!0)}return Zu(r)},"update"),Oke=o(function(){return JSON.stringify({state:this.state},(e,r)=>{if(e!=="blobClient")return r})},"toString");function Zu(t){return{state:{...t},cancel:Dke,toString:Oke,update:Tke}}o(Zu,"makeBlobBeginCopyFromURLPollOperation")});var xK=g(PS=>{"use strict";Object.defineProperty(PS,"__esModule",{value:!0});PS.rangeToString=Mke;function Mke(t){if(t.offset<0)throw new RangeError("Range.offset cannot be smaller than 0.");if(t.count&&t.count<=0)throw new RangeError("Range.count must be larger than 0. Leave it undefined if you want a range from offset to the end.");return t.count?`bytes=${t.offset}-${t.offset+t.count-1}`:`bytes=${t.offset}-`}o(Mke,"rangeToString")});var SK=g(Og=>{"use strict";Object.defineProperty(Og,"__esModule",{value:!0});Og.Batch=void 0;var kke=require("events"),ed;(function(t){t[t.Good=0]="Good",t[t.Error=1]="Error"})(ed||(ed={}));var DS=class{static{o(this,"Batch")}concurrency;actives=0;completed=0;offset=0;operations=[];state=ed.Good;emitter;constructor(e=5){if(e<1)throw new RangeError("concurrency must be larger than 0");this.concurrency=e,this.emitter=new kke.EventEmitter}addOperation(e){this.operations.push(async()=>{try{this.actives++,await e(),this.actives--,this.completed++,this.parallelExecute()}catch(r){this.emitter.emit("error",r)}})}async do(){return this.operations.length===0?Promise.resolve():(this.parallelExecute(),new Promise((e,r)=>{this.emitter.on("finish",e),this.emitter.on("error",n=>{this.state=ed.Error,r(n)})}))}nextOperation(){return this.offset=this.operations.length){this.emitter.emit("finish");return}for(;this.actives{"use strict";Object.defineProperty(Ti,"__esModule",{value:!0});Ti.fsCreateReadStream=Ti.fsStat=void 0;Ti.streamToBuffer=Fke;Ti.streamToBuffer2=qke;Ti.streamToBuffer3=Hke;Ti.readStreamToLocalFile=zke;var RK=(Xr(),Zt(Kr)),TS=RK.__importDefault(require("node:fs")),Lke=RK.__importDefault(require("node:util")),Uke=en();async function Fke(t,e,r,n,i){let s=0,a=n-r;return new Promise((c,l)=>{let A=setTimeout(()=>l(new Error("The operation cannot be completed in timeout.")),Uke.REQUEST_TIMEOUT);t.on("readable",()=>{if(s>=a){clearTimeout(A),c();return}let u=t.read();if(!u)return;typeof u=="string"&&(u=Buffer.from(u,i));let d=s+u.length>a?a-s:u.length;e.fill(u.slice(0,d),r+s,r+s+d),s+=d}),t.on("end",()=>{clearTimeout(A),s{clearTimeout(A),l(u)})})}o(Fke,"streamToBuffer");async function qke(t,e,r){let n=0,i=e.length;return new Promise((s,a)=>{t.on("readable",()=>{let c=t.read();if(c){if(typeof c=="string"&&(c=Buffer.from(c,r)),n+c.length>i){a(new Error(`Stream exceeds buffer size. Buffer size: ${i}`));return}e.fill(c,n,n+c.length),n+=c.length}}),t.on("end",()=>{s(n)}),t.on("error",a)})}o(qke,"streamToBuffer2");async function Hke(t,e){return new Promise((r,n)=>{let i=[];t.on("data",s=>{i.push(typeof s=="string"?Buffer.from(s,e):s)}),t.on("end",()=>{r(Buffer.concat(i))}),t.on("error",n)})}o(Hke,"streamToBuffer3");async function zke(t,e){return new Promise((r,n)=>{let i=TS.default.createWriteStream(e);t.on("error",s=>{n(s)}),i.on("error",s=>{n(s)}),i.on("close",r),t.pipe(i)})}o(zke,"readStreamToLocalFile");Ti.fsStat=Lke.default.promisify(TS.default.stat);Ti.fsCreateReadStream=TS.default.createReadStream});var zg=g(Oi=>{"use strict";Object.defineProperty(Oi,"__esModule",{value:!0});Oi.PageBlobClient=Oi.BlockBlobClient=Oi.AppendBlobClient=Oi.BlobClient=void 0;var qg=Ot(),Hg=Kc(),_n=pt(),_K=pt(),jke=N3(),Gke=k3(),Et=ei(),et=AS(),MS=q3(),Pt=to(),Yke=NK(),nn=xK(),Jke=ng(),vK=SK(),Vke=ei(),$e=en(),se=ia(),F=Rn(),kg=OS(),Mg=ug(),Wke=hg(),Ql=class t extends Jke.StorageClient{static{o(this,"BlobClient")}blobContext;_name;_containerName;_versionId;_snapshot;get name(){return this._name}get containerName(){return this._containerName}constructor(e,r,n,i){i=i||{};let s,a;if((0,Pt.isPipelineLike)(r))a=e,s=r;else if(_n.isNodeLike&&r instanceof Et.StorageSharedKeyCredential||r instanceof Et.AnonymousCredential||(0,Hg.isTokenCredential)(r))a=e,i=n,s=(0,Pt.newPipeline)(r,i);else if(!r&&typeof r!="string")a=e,n&&typeof n!="string"&&(i=n),s=(0,Pt.newPipeline)(new Et.AnonymousCredential,i);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,A=(0,F.extractConnectionStringParts)(e);if(A.kind==="AccountConnString")if(_n.isNodeLike){let u=new Et.StorageSharedKeyCredential(A.accountName,A.accountKey);a=(0,F.appendToURLPath)((0,F.appendToURLPath)(A.url,encodeURIComponent(c)),encodeURIComponent(l)),i.proxyOptions||(i.proxyOptions=(0,qg.getDefaultProxySettings)(A.proxyUri)),s=(0,Pt.newPipeline)(u,i)}else throw new Error("Account connection string is only supported in Node.js environment");else if(A.kind==="SASConnString")a=(0,F.appendToURLPath)((0,F.appendToURLPath)(A.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+A.accountSas,s=(0,Pt.newPipeline)(new Et.AnonymousCredential,i);else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}else throw new Error("Expecting non-empty strings for containerName and blobName parameters");super(a,s),{blobName:this._name,containerName:this._containerName}=this.getBlobAndContainerNamesFromUrl(),this.blobContext=this.storageClientContext.blob,this._snapshot=(0,F.getURLParameter)(this.url,$e.URLConstants.Parameters.SNAPSHOT),this._versionId=(0,F.getURLParameter)(this.url,$e.URLConstants.Parameters.VERSIONID)}withSnapshot(e){return new t((0,F.setURLParameter)(this.url,$e.URLConstants.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}withVersion(e){return new t((0,F.setURLParameter)(this.url,$e.URLConstants.Parameters.VERSIONID,e.length===0?void 0:e),this.pipeline)}getAppendBlobClient(){return new Lg(this.url,this.pipeline)}getBlockBlobClient(){return new Ug(this.url,this.pipeline)}getPageBlobClient(){return new Fg(this.url,this.pipeline)}async download(e=0,r,n={}){return n.conditions=n.conditions||{},n.conditions=n.conditions||{},(0,et.ensureCpkIfSpecified)(n.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("BlobClient-download",n,async i=>{let s=(0,F.assertResponse)(await this.blobContext.download({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onDownloadProgress:_n.isNodeLike?void 0:n.onProgress},range:e===0&&!r?void 0:(0,nn.rangeToString)({offset:e,count:r}),rangeGetContentMD5:n.rangeGetContentMD5,rangeGetContentCRC64:n.rangeGetContentCrc64,snapshot:n.snapshot,cpkInfo:n.customerProvidedKey,tracingOptions:i.tracingOptions})),a={...s,_response:s._response,objectReplicationDestinationPolicyId:s.objectReplicationPolicyId,objectReplicationSourceProperties:(0,F.parseObjectReplicationRecord)(s.objectReplicationRules)};if(!_n.isNodeLike)return a;if((n.maxRetryRequests===void 0||n.maxRetryRequests<0)&&(n.maxRetryRequests=$e.DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS),s.contentLength===void 0)throw new RangeError("File download response doesn't contain valid content length header");if(!s.etag)throw new RangeError("File download response doesn't contain valid etag header");return new jke.BlobDownloadResponse(a,async c=>{let l={leaseAccessConditions:n.conditions,modifiedAccessConditions:{ifMatch:n.conditions.ifMatch||s.etag,ifModifiedSince:n.conditions.ifModifiedSince,ifNoneMatch:n.conditions.ifNoneMatch,ifUnmodifiedSince:n.conditions.ifUnmodifiedSince,ifTags:n.conditions?.tagConditions},range:(0,nn.rangeToString)({count:e+s.contentLength-c,offset:c}),rangeGetContentMD5:n.rangeGetContentMD5,rangeGetContentCRC64:n.rangeGetContentCrc64,snapshot:n.snapshot,cpkInfo:n.customerProvidedKey};return(await this.blobContext.download({abortSignal:n.abortSignal,...l})).readableStreamBody},e,s.contentLength,{maxRetryRequests:n.maxRetryRequests,onProgress:n.onProgress})})}async exists(e={}){return se.tracingClient.withSpan("BlobClient-exists",e,async r=>{try{return(0,et.ensureCpkIfSpecified)(e.customerProvidedKey,this.isHttps),await this.getProperties({abortSignal:e.abortSignal,customerProvidedKey:e.customerProvidedKey,conditions:e.conditions,tracingOptions:r.tracingOptions}),!0}catch(n){if(n.statusCode===404)return!1;if(n.statusCode===409&&(n.details.errorCode===$e.BlobUsesCustomerSpecifiedEncryptionMsg||n.details.errorCode===$e.BlobDoesNotUseCustomerSpecifiedEncryption))return!0;throw n}})}async getProperties(e={}){return e.conditions=e.conditions||{},(0,et.ensureCpkIfSpecified)(e.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("BlobClient-getProperties",e,async r=>{let n=(0,F.assertResponse)(await this.blobContext.getProperties({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,tracingOptions:r.tracingOptions}));return{...n,_response:n._response,objectReplicationDestinationPolicyId:n.objectReplicationPolicyId,objectReplicationSourceProperties:(0,F.parseObjectReplicationRecord)(n.objectReplicationRules)}})}async delete(e={}){return e.conditions=e.conditions||{},se.tracingClient.withSpan("BlobClient-delete",e,async r=>(0,F.assertResponse)(await this.blobContext.delete({abortSignal:e.abortSignal,deleteSnapshots:e.deleteSnapshots,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}async deleteIfExists(e={}){return se.tracingClient.withSpan("BlobClient-deleteIfExists",e,async r=>{try{let n=(0,F.assertResponse)(await this.delete(r));return{succeeded:!0,...n,_response:n._response}}catch(n){if(n.details?.errorCode==="BlobNotFound")return{succeeded:!1,...n.response?.parsedHeaders,_response:n.response};throw n}})}async undelete(e={}){return se.tracingClient.withSpan("BlobClient-undelete",e,async r=>(0,F.assertResponse)(await this.blobContext.undelete({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}async setHTTPHeaders(e,r={}){return r.conditions=r.conditions||{},(0,et.ensureCpkIfSpecified)(r.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("BlobClient-setHTTPHeaders",r,async n=>(0,F.assertResponse)(await this.blobContext.setHttpHeaders({abortSignal:r.abortSignal,blobHttpHeaders:e,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions})))}async setMetadata(e,r={}){return r.conditions=r.conditions||{},(0,et.ensureCpkIfSpecified)(r.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("BlobClient-setMetadata",r,async n=>(0,F.assertResponse)(await this.blobContext.setMetadata({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,metadata:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,tracingOptions:n.tracingOptions})))}async setTags(e,r={}){return se.tracingClient.withSpan("BlobClient-setTags",r,async n=>(0,F.assertResponse)(await this.blobContext.setTags({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},blobModifiedAccessConditions:r.conditions,tracingOptions:n.tracingOptions,tags:(0,F.toBlobTags)(e)})))}async getTags(e={}){return se.tracingClient.withSpan("BlobClient-getTags",e,async r=>{let n=(0,F.assertResponse)(await this.blobContext.getTags({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},blobModifiedAccessConditions:e.conditions,tracingOptions:r.tracingOptions}));return{...n,_response:n._response,tags:(0,F.toTags)({blobTagSet:n.blobTagSet})||{}}})}getBlobLeaseClient(e){return new Wke.BlobLeaseClient(this,e)}async createSnapshot(e={}){return e.conditions=e.conditions||{},(0,et.ensureCpkIfSpecified)(e.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("BlobClient-createSnapshot",e,async r=>(0,F.assertResponse)(await this.blobContext.createSnapshot({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,tracingOptions:r.tracingOptions})))}async beginCopyFromURL(e,r={}){let n={abortCopyFromURL:(...s)=>this.abortCopyFromURL(...s),getProperties:(...s)=>this.getProperties(...s),startCopyFromURL:(...s)=>this.startCopyFromURL(...s)},i=new Yke.BlobBeginCopyFromUrlPoller({blobClient:n,copySource:e,intervalInMs:r.intervalInMs,onProgress:r.onProgress,resumeFrom:r.resumeFrom,startCopyFromURLOptions:r});return await i.poll(),i}async abortCopyFromURL(e,r={}){return se.tracingClient.withSpan("BlobClient-abortCopyFromURL",r,async n=>(0,F.assertResponse)(await this.blobContext.abortCopyFromURL(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,tracingOptions:n.tracingOptions})))}async syncCopyFromURL(e,r={}){return r.conditions=r.conditions||{},r.sourceConditions=r.sourceConditions||{},se.tracingClient.withSpan("BlobClient-syncCopyFromURL",r,async n=>(0,F.assertResponse)(await this.blobContext.copyFromURL(e,{abortSignal:r.abortSignal,metadata:r.metadata,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:r.sourceConditions?.ifMatch,sourceIfModifiedSince:r.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:r.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:r.sourceConditions?.ifUnmodifiedSince},sourceContentMD5:r.sourceContentMD5,copySourceAuthorization:(0,F.httpAuthorizationToString)(r.sourceAuthorization),tier:(0,et.toAccessTier)(r.tier),blobTagsString:(0,F.toBlobTagsString)(r.tags),immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,encryptionScope:r.encryptionScope,copySourceTags:r.copySourceTags,fileRequestIntent:r.sourceShareTokenIntent,tracingOptions:n.tracingOptions})))}async setAccessTier(e,r={}){return se.tracingClient.withSpan("BlobClient-setAccessTier",r,async n=>(0,F.assertResponse)(await this.blobContext.setTier((0,et.toAccessTier)(e),{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},rehydratePriority:r.rehydratePriority,tracingOptions:n.tracingOptions})))}async downloadToBuffer(e,r,n,i={}){let s,a=0,c=0,l=i;e instanceof Buffer?(s=e,a=r||0,c=typeof n=="number"?n:0):(a=typeof e=="number"?e:0,c=typeof r=="number"?r:0,l=n||{});let A=l.blockSize??0;if(A<0)throw new RangeError("blockSize option must be >= 0");if(A===0&&(A=$e.DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES),a<0)throw new RangeError("offset option must be >= 0");if(c&&c<=0)throw new RangeError("count option must be greater than 0");return l.conditions||(l.conditions={}),se.tracingClient.withSpan("BlobClient-downloadToBuffer",l,async u=>{if(!c){let m=await this.getProperties({...l,tracingOptions:u.tracingOptions});if(c=m.contentLength-a,c<0)throw new RangeError(`offset ${a} shouldn't be larger than blob size ${m.contentLength}`)}if(!s)try{s=Buffer.alloc(c)}catch(m){throw new Error(`Unable to allocate the buffer of size: ${c}(in bytes). Please try passing your own buffer to the "downloadToBuffer" method or try using other methods like "download" or "downloadToFile". ${m.message}`)}if(s.length{let C=a+c;m+A{let a=await this.download(r,n,{...i,tracingOptions:s.tracingOptions});return a.readableStreamBody&&await(0,kg.readStreamToLocalFile)(a.readableStreamBody,e),a.blobDownloadStream=void 0,a})}getBlobAndContainerNamesFromUrl(){let e,r;try{let n=new URL(this.url);if(n.host.split(".")[1]==="blob"){let i=n.pathname.match("/([^/]*)(/(.*))?");e=i[1],r=i[3]}else if((0,F.isIpEndpointStyle)(n)){let i=n.pathname.match("/([^/]*)/([^/]*)(/(.*))?");e=i[2],r=i[4]}else{let i=n.pathname.match("/([^/]*)(/(.*))?");e=i[1],r=i[3]}if(e=decodeURIComponent(e),r=decodeURIComponent(r),r=r.replace(/\\/g,"/"),!e)throw new Error("Provided containerName is invalid.");return{blobName:r,containerName:e}}catch{throw new Error("Unable to extract blobName and containerName with provided information.")}}async startCopyFromURL(e,r={}){return se.tracingClient.withSpan("BlobClient-startCopyFromURL",r,async n=>(r.conditions=r.conditions||{},r.sourceConditions=r.sourceConditions||{},(0,F.assertResponse)(await this.blobContext.startCopyFromURL(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,metadata:r.metadata,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:r.sourceConditions.ifMatch,sourceIfModifiedSince:r.sourceConditions.ifModifiedSince,sourceIfNoneMatch:r.sourceConditions.ifNoneMatch,sourceIfUnmodifiedSince:r.sourceConditions.ifUnmodifiedSince,sourceIfTags:r.sourceConditions.tagConditions},immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,rehydratePriority:r.rehydratePriority,tier:(0,et.toAccessTier)(r.tier),blobTagsString:(0,F.toBlobTagsString)(r.tags),sealBlob:r.sealBlob,tracingOptions:n.tracingOptions}))))}generateSasUrl(e){return new Promise(r=>{if(!(this.credential instanceof Et.StorageSharedKeyCredential))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");let n=(0,Mg.generateBlobSASQueryParameters)({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).toString();r((0,F.appendToURLQuery)(this.url,n))})}generateSasStringToSign(e){if(!(this.credential instanceof Et.StorageSharedKeyCredential))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");return(0,Mg.generateBlobSASQueryParametersInternal)({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).stringToSign}generateUserDelegationSasUrl(e,r){return new Promise(n=>{let i=(0,Mg.generateBlobSASQueryParameters)({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},r,this.accountName).toString();n((0,F.appendToURLQuery)(this.url,i))})}generateUserDelegationSasStringToSign(e,r){return(0,Mg.generateBlobSASQueryParametersInternal)({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},r,this.accountName).stringToSign}async deleteImmutabilityPolicy(e={}){return se.tracingClient.withSpan("BlobClient-deleteImmutabilityPolicy",e,async r=>(0,F.assertResponse)(await this.blobContext.deleteImmutabilityPolicy({tracingOptions:r.tracingOptions})))}async setImmutabilityPolicy(e,r={}){return se.tracingClient.withSpan("BlobClient-setImmutabilityPolicy",r,async n=>(0,F.assertResponse)(await this.blobContext.setImmutabilityPolicy({immutabilityPolicyExpiry:e.expiriesOn,immutabilityPolicyMode:e.policyMode,tracingOptions:n.tracingOptions})))}async setLegalHold(e,r={}){return se.tracingClient.withSpan("BlobClient-setLegalHold",r,async n=>(0,F.assertResponse)(await this.blobContext.setLegalHold(e,{tracingOptions:n.tracingOptions})))}async getAccountInfo(e={}){return se.tracingClient.withSpan("BlobClient-getAccountInfo",e,async r=>(0,F.assertResponse)(await this.blobContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}};Oi.BlobClient=Ql;var Lg=class t extends Ql{static{o(this,"AppendBlobClient")}appendBlobContext;constructor(e,r,n,i){let s,a;if(i=i||{},(0,Pt.isPipelineLike)(r))a=e,s=r;else if(_n.isNodeLike&&r instanceof Et.StorageSharedKeyCredential||r instanceof Et.AnonymousCredential||(0,Hg.isTokenCredential)(r))a=e,i=n,s=(0,Pt.newPipeline)(r,i);else if(!r&&typeof r!="string")a=e,s=(0,Pt.newPipeline)(new Et.AnonymousCredential,i);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,A=(0,F.extractConnectionStringParts)(e);if(A.kind==="AccountConnString")if(_n.isNodeLike){let u=new Et.StorageSharedKeyCredential(A.accountName,A.accountKey);a=(0,F.appendToURLPath)((0,F.appendToURLPath)(A.url,encodeURIComponent(c)),encodeURIComponent(l)),i.proxyOptions||(i.proxyOptions=(0,qg.getDefaultProxySettings)(A.proxyUri)),s=(0,Pt.newPipeline)(u,i)}else throw new Error("Account connection string is only supported in Node.js environment");else if(A.kind==="SASConnString")a=(0,F.appendToURLPath)((0,F.appendToURLPath)(A.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+A.accountSas,s=(0,Pt.newPipeline)(new Et.AnonymousCredential,i);else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}else throw new Error("Expecting non-empty strings for containerName and blobName parameters");super(a,s),this.appendBlobContext=this.storageClientContext.appendBlob}withSnapshot(e){return new t((0,F.setURLParameter)(this.url,$e.URLConstants.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async create(e={}){return e.conditions=e.conditions||{},(0,et.ensureCpkIfSpecified)(e.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("AppendBlobClient-create",e,async r=>(0,F.assertResponse)(await this.appendBlobContext.create(0,{abortSignal:e.abortSignal,blobHttpHeaders:e.blobHTTPHeaders,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,immutabilityPolicyExpiry:e.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:e.immutabilityPolicy?.policyMode,legalHold:e.legalHold,blobTagsString:(0,F.toBlobTagsString)(e.tags),tracingOptions:r.tracingOptions})))}async createIfNotExists(e={}){let r={ifNoneMatch:$e.ETagAny};return se.tracingClient.withSpan("AppendBlobClient-createIfNotExists",e,async n=>{try{let i=(0,F.assertResponse)(await this.create({...n,conditions:r}));return{succeeded:!0,...i,_response:i._response}}catch(i){if(i.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...i.response?.parsedHeaders,_response:i.response};throw i}})}async seal(e={}){return e.conditions=e.conditions||{},se.tracingClient.withSpan("AppendBlobClient-seal",e,async r=>(0,F.assertResponse)(await this.appendBlobContext.seal({abortSignal:e.abortSignal,appendPositionAccessConditions:e.conditions,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}async appendBlock(e,r,n={}){return n.conditions=n.conditions||{},(0,et.ensureCpkIfSpecified)(n.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("AppendBlobClient-appendBlock",n,async i=>(0,F.assertResponse)(await this.appendBlobContext.appendBlock(r,e,{abortSignal:n.abortSignal,appendPositionAccessConditions:n.conditions,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onUploadProgress:n.onProgress},transactionalContentMD5:n.transactionalContentMD5,transactionalContentCrc64:n.transactionalContentCrc64,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,tracingOptions:i.tracingOptions})))}async appendBlockFromURL(e,r,n,i={}){return i.conditions=i.conditions||{},i.sourceConditions=i.sourceConditions||{},(0,et.ensureCpkIfSpecified)(i.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("AppendBlobClient-appendBlockFromURL",i,async s=>(0,F.assertResponse)(await this.appendBlobContext.appendBlockFromUrl(e,0,{abortSignal:i.abortSignal,sourceRange:(0,nn.rangeToString)({offset:r,count:n}),sourceContentMD5:i.sourceContentMD5,sourceContentCrc64:i.sourceContentCrc64,leaseAccessConditions:i.conditions,appendPositionAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:i.sourceConditions?.ifMatch,sourceIfModifiedSince:i.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:i.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:i.sourceConditions?.ifUnmodifiedSince},copySourceAuthorization:(0,F.httpAuthorizationToString)(i.sourceAuthorization),cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:s.tracingOptions})))}};Oi.AppendBlobClient=Lg;var Ug=class t extends Ql{static{o(this,"BlockBlobClient")}_blobContext;blockBlobContext;constructor(e,r,n,i){let s,a;if(i=i||{},(0,Pt.isPipelineLike)(r))a=e,s=r;else if(_n.isNodeLike&&r instanceof Et.StorageSharedKeyCredential||r instanceof Et.AnonymousCredential||(0,Hg.isTokenCredential)(r))a=e,i=n,s=(0,Pt.newPipeline)(r,i);else if(!r&&typeof r!="string")a=e,n&&typeof n!="string"&&(i=n),s=(0,Pt.newPipeline)(new Et.AnonymousCredential,i);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,A=(0,F.extractConnectionStringParts)(e);if(A.kind==="AccountConnString")if(_n.isNodeLike){let u=new Et.StorageSharedKeyCredential(A.accountName,A.accountKey);a=(0,F.appendToURLPath)((0,F.appendToURLPath)(A.url,encodeURIComponent(c)),encodeURIComponent(l)),i.proxyOptions||(i.proxyOptions=(0,qg.getDefaultProxySettings)(A.proxyUri)),s=(0,Pt.newPipeline)(u,i)}else throw new Error("Account connection string is only supported in Node.js environment");else if(A.kind==="SASConnString")a=(0,F.appendToURLPath)((0,F.appendToURLPath)(A.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+A.accountSas,s=(0,Pt.newPipeline)(new Et.AnonymousCredential,i);else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}else throw new Error("Expecting non-empty strings for containerName and blobName parameters");super(a,s),this.blockBlobContext=this.storageClientContext.blockBlob,this._blobContext=this.storageClientContext.blob}withSnapshot(e){return new t((0,F.setURLParameter)(this.url,$e.URLConstants.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async query(e,r={}){if((0,et.ensureCpkIfSpecified)(r.customerProvidedKey,this.isHttps),!_n.isNodeLike)throw new Error("This operation currently is only supported in Node.js.");return se.tracingClient.withSpan("BlockBlobClient-query",r,async n=>{let i=(0,F.assertResponse)(await this._blobContext.query({abortSignal:r.abortSignal,queryRequest:{queryType:"SQL",expression:e,inputSerialization:(0,F.toQuerySerialization)(r.inputTextConfiguration),outputSerialization:(0,F.toQuerySerialization)(r.outputTextConfiguration)},leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,tracingOptions:n.tracingOptions}));return new Gke.BlobQueryResponse(i,{abortSignal:r.abortSignal,onProgress:r.onProgress,onError:r.onError})})}async upload(e,r,n={}){return n.conditions=n.conditions||{},(0,et.ensureCpkIfSpecified)(n.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("BlockBlobClient-upload",n,async i=>(0,F.assertResponse)(await this.blockBlobContext.upload(r,e,{abortSignal:n.abortSignal,blobHttpHeaders:n.blobHTTPHeaders,leaseAccessConditions:n.conditions,metadata:n.metadata,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onUploadProgress:n.onProgress},cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,immutabilityPolicyExpiry:n.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:n.immutabilityPolicy?.policyMode,legalHold:n.legalHold,tier:(0,et.toAccessTier)(n.tier),blobTagsString:(0,F.toBlobTagsString)(n.tags),tracingOptions:i.tracingOptions})))}async syncUploadFromURL(e,r={}){return r.conditions=r.conditions||{},(0,et.ensureCpkIfSpecified)(r.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("BlockBlobClient-syncUploadFromURL",r,async n=>(0,F.assertResponse)(await this.blockBlobContext.putBlobFromUrl(0,e,{...r,blobHttpHeaders:r.blobHTTPHeaders,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:r.sourceConditions?.ifMatch,sourceIfModifiedSince:r.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:r.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:r.sourceConditions?.ifUnmodifiedSince,sourceIfTags:r.sourceConditions?.tagConditions},cpkInfo:r.customerProvidedKey,copySourceAuthorization:(0,F.httpAuthorizationToString)(r.sourceAuthorization),tier:(0,et.toAccessTier)(r.tier),blobTagsString:(0,F.toBlobTagsString)(r.tags),copySourceTags:r.copySourceTags,fileRequestIntent:r.sourceShareTokenIntent,tracingOptions:n.tracingOptions})))}async stageBlock(e,r,n,i={}){return(0,et.ensureCpkIfSpecified)(i.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("BlockBlobClient-stageBlock",i,async s=>(0,F.assertResponse)(await this.blockBlobContext.stageBlock(e,n,r,{abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,requestOptions:{onUploadProgress:i.onProgress},transactionalContentMD5:i.transactionalContentMD5,transactionalContentCrc64:i.transactionalContentCrc64,cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,tracingOptions:s.tracingOptions})))}async stageBlockFromURL(e,r,n=0,i,s={}){return(0,et.ensureCpkIfSpecified)(s.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("BlockBlobClient-stageBlockFromURL",s,async a=>(0,F.assertResponse)(await this.blockBlobContext.stageBlockFromURL(e,0,r,{abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,sourceContentMD5:s.sourceContentMD5,sourceContentCrc64:s.sourceContentCrc64,sourceRange:n===0&&!i?void 0:(0,nn.rangeToString)({offset:n,count:i}),cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,copySourceAuthorization:(0,F.httpAuthorizationToString)(s.sourceAuthorization),fileRequestIntent:s.sourceShareTokenIntent,tracingOptions:a.tracingOptions})))}async commitBlockList(e,r={}){return r.conditions=r.conditions||{},(0,et.ensureCpkIfSpecified)(r.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("BlockBlobClient-commitBlockList",r,async n=>(0,F.assertResponse)(await this.blockBlobContext.commitBlockList({latest:e},{abortSignal:r.abortSignal,blobHttpHeaders:r.blobHTTPHeaders,leaseAccessConditions:r.conditions,metadata:r.metadata,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,tier:(0,et.toAccessTier)(r.tier),blobTagsString:(0,F.toBlobTagsString)(r.tags),tracingOptions:n.tracingOptions})))}async getBlockList(e,r={}){return se.tracingClient.withSpan("BlockBlobClient-getBlockList",r,async n=>{let i=(0,F.assertResponse)(await this.blockBlobContext.getBlockList(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions}));return i.committedBlocks||(i.committedBlocks=[]),i.uncommittedBlocks||(i.uncommittedBlocks=[]),i})}async uploadData(e,r={}){return se.tracingClient.withSpan("BlockBlobClient-uploadData",r,async n=>{if(_n.isNodeLike){let i;return e instanceof Buffer?i=e:e instanceof ArrayBuffer?i=Buffer.from(e):(e=e,i=Buffer.from(e.buffer,e.byteOffset,e.byteLength)),this.uploadSeekableInternal((s,a)=>i.slice(s,s+a),i.byteLength,n)}else{let i=new Blob([e]);return this.uploadSeekableInternal((s,a)=>i.slice(s,s+a),i.size,n)}})}async uploadBrowserData(e,r={}){return se.tracingClient.withSpan("BlockBlobClient-uploadBrowserData",r,async n=>{let i=new Blob([e]);return this.uploadSeekableInternal((s,a)=>i.slice(s,s+a),i.size,n)})}async uploadSeekableInternal(e,r,n={}){let i=n.blockSize??0;if(i<0||i>$e.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES)throw new RangeError(`blockSize option must be >= 0 and <= ${$e.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES}`);let s=n.maxSingleShotSize??$e.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES;if(s<0||s>$e.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES)throw new RangeError(`maxSingleShotSize option must be >= 0 and <= ${$e.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES}`);if(i===0){if(r>$e.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES*$e.BLOCK_BLOB_MAX_BLOCKS)throw new RangeError(`${r} is too larger to upload to a block blob.`);r>s&&(i=Math.ceil(r/$e.BLOCK_BLOB_MAX_BLOCKS),i<$e.DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES&&(i=$e.DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES))}return n.blobHTTPHeaders||(n.blobHTTPHeaders={}),n.conditions||(n.conditions={}),se.tracingClient.withSpan("BlockBlobClient-uploadSeekableInternal",n,async a=>{if(r<=s)return(0,F.assertResponse)(await this.upload(e(0,r),r,a));let c=Math.floor((r-1)/i)+1;if(c>$e.BLOCK_BLOB_MAX_BLOCKS)throw new RangeError(`The buffer's size is too big or the BlockSize is too small;the number of blocks must be <= ${$e.BLOCK_BLOB_MAX_BLOCKS}`);let l=[],A=(0,_K.randomUUID)(),u=0,d=new vK.Batch(n.concurrency);for(let f=0;f{let m=(0,F.generateBlockID)(A,f),C=i*f,S=(f===c-1?r:C+i)-C;l.push(m),await this.stageBlock(m,e(C,S),S,{abortSignal:n.abortSignal,conditions:n.conditions,encryptionScope:n.encryptionScope,tracingOptions:a.tracingOptions}),u+=S,n.onProgress&&n.onProgress({loadedBytes:u})});return await d.do(),this.commitBlockList(l,a)})}async uploadFile(e,r={}){return se.tracingClient.withSpan("BlockBlobClient-uploadFile",r,async n=>{let i=(await(0,kg.fsStat)(e)).size;return this.uploadSeekableInternal((s,a)=>()=>(0,kg.fsCreateReadStream)(e,{autoClose:!0,end:a?s+a-1:1/0,start:s}),i,{...r,tracingOptions:n.tracingOptions})})}async uploadStream(e,r=$e.DEFAULT_BLOCK_BUFFER_SIZE_BYTES,n=5,i={}){return i.blobHTTPHeaders||(i.blobHTTPHeaders={}),i.conditions||(i.conditions={}),se.tracingClient.withSpan("BlockBlobClient-uploadStream",i,async s=>{let a=0,c=(0,_K.randomUUID)(),l=0,A=[];return await new Vke.BufferScheduler(e,r,n,async(d,f)=>{let m=(0,F.generateBlockID)(c,a);A.push(m),a++,await this.stageBlock(m,d,f,{customerProvidedKey:i.customerProvidedKey,conditions:i.conditions,encryptionScope:i.encryptionScope,tracingOptions:s.tracingOptions}),l+=f,i.onProgress&&i.onProgress({loadedBytes:l})},Math.ceil(n/4*3)).do(),(0,F.assertResponse)(await this.commitBlockList(A,{...i,tracingOptions:s.tracingOptions}))})}};Oi.BlockBlobClient=Ug;var Fg=class t extends Ql{static{o(this,"PageBlobClient")}pageBlobContext;constructor(e,r,n,i){let s,a;if(i=i||{},(0,Pt.isPipelineLike)(r))a=e,s=r;else if(_n.isNodeLike&&r instanceof Et.StorageSharedKeyCredential||r instanceof Et.AnonymousCredential||(0,Hg.isTokenCredential)(r))a=e,i=n,s=(0,Pt.newPipeline)(r,i);else if(!r&&typeof r!="string")a=e,s=(0,Pt.newPipeline)(new Et.AnonymousCredential,i);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,A=(0,F.extractConnectionStringParts)(e);if(A.kind==="AccountConnString")if(_n.isNodeLike){let u=new Et.StorageSharedKeyCredential(A.accountName,A.accountKey);a=(0,F.appendToURLPath)((0,F.appendToURLPath)(A.url,encodeURIComponent(c)),encodeURIComponent(l)),i.proxyOptions||(i.proxyOptions=(0,qg.getDefaultProxySettings)(A.proxyUri)),s=(0,Pt.newPipeline)(u,i)}else throw new Error("Account connection string is only supported in Node.js environment");else if(A.kind==="SASConnString")a=(0,F.appendToURLPath)((0,F.appendToURLPath)(A.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+A.accountSas,s=(0,Pt.newPipeline)(new Et.AnonymousCredential,i);else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}else throw new Error("Expecting non-empty strings for containerName and blobName parameters");super(a,s),this.pageBlobContext=this.storageClientContext.pageBlob}withSnapshot(e){return new t((0,F.setURLParameter)(this.url,$e.URLConstants.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async create(e,r={}){return r.conditions=r.conditions||{},(0,et.ensureCpkIfSpecified)(r.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("PageBlobClient-create",r,async n=>(0,F.assertResponse)(await this.pageBlobContext.create(0,e,{abortSignal:r.abortSignal,blobHttpHeaders:r.blobHTTPHeaders,blobSequenceNumber:r.blobSequenceNumber,leaseAccessConditions:r.conditions,metadata:r.metadata,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,tier:(0,et.toAccessTier)(r.tier),blobTagsString:(0,F.toBlobTagsString)(r.tags),tracingOptions:n.tracingOptions})))}async createIfNotExists(e,r={}){return se.tracingClient.withSpan("PageBlobClient-createIfNotExists",r,async n=>{try{let i={ifNoneMatch:$e.ETagAny},s=(0,F.assertResponse)(await this.create(e,{...r,conditions:i,tracingOptions:n.tracingOptions}));return{succeeded:!0,...s,_response:s._response}}catch(i){if(i.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...i.response?.parsedHeaders,_response:i.response};throw i}})}async uploadPages(e,r,n,i={}){return i.conditions=i.conditions||{},(0,et.ensureCpkIfSpecified)(i.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("PageBlobClient-uploadPages",i,async s=>(0,F.assertResponse)(await this.pageBlobContext.uploadPages(n,e,{abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},requestOptions:{onUploadProgress:i.onProgress},range:(0,nn.rangeToString)({offset:r,count:n}),sequenceNumberAccessConditions:i.conditions,transactionalContentMD5:i.transactionalContentMD5,transactionalContentCrc64:i.transactionalContentCrc64,cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,tracingOptions:s.tracingOptions})))}async uploadPagesFromURL(e,r,n,i,s={}){return s.conditions=s.conditions||{},s.sourceConditions=s.sourceConditions||{},(0,et.ensureCpkIfSpecified)(s.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("PageBlobClient-uploadPagesFromURL",s,async a=>(0,F.assertResponse)(await this.pageBlobContext.uploadPagesFromURL(e,(0,nn.rangeToString)({offset:r,count:i}),0,(0,nn.rangeToString)({offset:n,count:i}),{abortSignal:s.abortSignal,sourceContentMD5:s.sourceContentMD5,sourceContentCrc64:s.sourceContentCrc64,leaseAccessConditions:s.conditions,sequenceNumberAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:s.sourceConditions?.ifMatch,sourceIfModifiedSince:s.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:s.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:s.sourceConditions?.ifUnmodifiedSince},cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,copySourceAuthorization:(0,F.httpAuthorizationToString)(s.sourceAuthorization),fileRequestIntent:s.sourceShareTokenIntent,tracingOptions:a.tracingOptions})))}async clearPages(e=0,r,n={}){return n.conditions=n.conditions||{},se.tracingClient.withSpan("PageBlobClient-clearPages",n,async i=>(0,F.assertResponse)(await this.pageBlobContext.clearPages(0,{abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},range:(0,nn.rangeToString)({offset:e,count:r}),sequenceNumberAccessConditions:n.conditions,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,tracingOptions:i.tracingOptions})))}async getPageRanges(e=0,r,n={}){return n.conditions=n.conditions||{},se.tracingClient.withSpan("PageBlobClient-getPageRanges",n,async i=>{let s=(0,F.assertResponse)(await this.pageBlobContext.getPageRanges({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},range:(0,nn.rangeToString)({offset:e,count:r}),tracingOptions:i.tracingOptions}));return(0,MS.rangeResponseFromModel)(s)})}async listPageRangesSegment(e=0,r,n,i={}){return se.tracingClient.withSpan("PageBlobClient-getPageRangesSegment",i,async s=>(0,F.assertResponse)(await this.pageBlobContext.getPageRanges({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},range:(0,nn.rangeToString)({offset:e,count:r}),marker:n,maxPageSize:i.maxPageSize,tracingOptions:s.tracingOptions})))}async*listPageRangeItemSegments(e=0,r,n,i={}){let s;if(n||n===void 0)do s=await this.listPageRangesSegment(e,r,n,i),n=s.continuationToken,yield await s;while(n)}async*listPageRangeItems(e=0,r,n={}){let i;for await(let s of this.listPageRangeItemSegments(e,r,i,n))yield*(0,F.ExtractPageRangeInfoItems)(s)}listPageRanges(e=0,r,n={}){n.conditions=n.conditions||{};let i=this.listPageRangeItems(e,r,n);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:(s={})=>this.listPageRangeItemSegments(e,r,s.continuationToken,{maxPageSize:s.maxPageSize,...n})}}async getPageRangesDiff(e,r,n,i={}){return i.conditions=i.conditions||{},se.tracingClient.withSpan("PageBlobClient-getPageRangesDiff",i,async s=>{let a=(0,F.assertResponse)(await this.pageBlobContext.getPageRangesDiff({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},prevsnapshot:n,range:(0,nn.rangeToString)({offset:e,count:r}),tracingOptions:s.tracingOptions}));return(0,MS.rangeResponseFromModel)(a)})}async listPageRangesDiffSegment(e,r,n,i,s={}){return se.tracingClient.withSpan("PageBlobClient-getPageRangesDiffSegment",s,async a=>(0,F.assertResponse)(await this.pageBlobContext.getPageRangesDiff({abortSignal:s?.abortSignal,leaseAccessConditions:s?.conditions,modifiedAccessConditions:{...s?.conditions,ifTags:s?.conditions?.tagConditions},prevsnapshot:n,range:(0,nn.rangeToString)({offset:e,count:r}),marker:i,maxPageSize:s?.maxPageSize,tracingOptions:a.tracingOptions})))}async*listPageRangeDiffItemSegments(e,r,n,i,s){let a;if(i||i===void 0)do a=await this.listPageRangesDiffSegment(e,r,n,i,s),i=a.continuationToken,yield await a;while(i)}async*listPageRangeDiffItems(e,r,n,i){let s;for await(let a of this.listPageRangeDiffItemSegments(e,r,n,s,i))yield*(0,F.ExtractPageRangeInfoItems)(a)}listPageRangesDiff(e,r,n,i={}){i.conditions=i.conditions||{};let s=this.listPageRangeDiffItems(e,r,n,{...i});return{next(){return s.next()},[Symbol.asyncIterator](){return this},byPage:(a={})=>this.listPageRangeDiffItemSegments(e,r,n,a.continuationToken,{maxPageSize:a.maxPageSize,...i})}}async getPageRangesDiffForManagedDisks(e,r,n,i={}){return i.conditions=i.conditions||{},se.tracingClient.withSpan("PageBlobClient-GetPageRangesDiffForManagedDisks",i,async s=>{let a=(0,F.assertResponse)(await this.pageBlobContext.getPageRangesDiff({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},prevSnapshotUrl:n,range:(0,nn.rangeToString)({offset:e,count:r}),tracingOptions:s.tracingOptions}));return(0,MS.rangeResponseFromModel)(a)})}async resize(e,r={}){return r.conditions=r.conditions||{},se.tracingClient.withSpan("PageBlobClient-resize",r,async n=>(0,F.assertResponse)(await this.pageBlobContext.resize(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},encryptionScope:r.encryptionScope,tracingOptions:n.tracingOptions})))}async updateSequenceNumber(e,r,n={}){return n.conditions=n.conditions||{},se.tracingClient.withSpan("PageBlobClient-updateSequenceNumber",n,async i=>(0,F.assertResponse)(await this.pageBlobContext.updateSequenceNumber(e,{abortSignal:n.abortSignal,blobSequenceNumber:r,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},tracingOptions:i.tracingOptions})))}async startCopyIncremental(e,r={}){return se.tracingClient.withSpan("PageBlobClient-startCopyIncremental",r,async n=>(0,F.assertResponse)(await this.pageBlobContext.copyIncremental(e,{abortSignal:r.abortSignal,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions})))}};Oi.PageBlobClient=Fg});var kS=g(jg=>{"use strict";Object.defineProperty(jg,"__esModule",{value:!0});jg.getBodyAsText=Xke;jg.utf8ByteLength=Zke;var $ke=OS(),Kke=en();async function Xke(t){let e=Buffer.alloc(Kke.BATCH_MAX_PAYLOAD_IN_BYTES),r=await(0,$ke.streamToBuffer2)(t.readableStreamBody,e);return e=e.slice(0,r),e.toString()}o(Xke,"getBodyAsText");function Zke(t){return Buffer.byteLength(t)}o(Zke,"utf8ByteLength")});var TK=g(Yg=>{"use strict";Object.defineProperty(Yg,"__esModule",{value:!0});Yg.BatchResponseParser=void 0;var eLe=Ot(),tLe=gm(),wl=en(),rLe=kS(),nLe=Em(),Gg=": ",PK=" ",DK=-1,LS=class{static{o(this,"BatchResponseParser")}batchResponse;responseBatchBoundary;perResponsePrefix;batchResponseEnding;subRequests;constructor(e,r){if(!e||!e.contentType)throw new RangeError("batchResponse is malformed or doesn't contain valid content-type.");if(!r||r.size===0)throw new RangeError("Invalid state: subRequests is not provided or size is 0.");this.batchResponse=e,this.subRequests=r,this.responseBatchBoundary=this.batchResponse.contentType.split("=")[1],this.perResponsePrefix=`--${this.responseBatchBoundary}${wl.HTTP_LINE_ENDING}`,this.batchResponseEnding=`--${this.responseBatchBoundary}--`}async parseBatchResponse(){if(this.batchResponse._response.status!==wl.HTTPURLConnection.HTTP_ACCEPTED)throw new Error(`Invalid state: batch request failed with status: '${this.batchResponse._response.status}'.`);let r=(await(0,rLe.getBodyAsText)(this.batchResponse)).split(this.batchResponseEnding)[0].split(this.perResponsePrefix).slice(1),n=r.length;if(n!==this.subRequests.size&&n!==1)throw new Error("Invalid state: sub responses' count is not equal to sub requests' count.");let i=new Array(n),s=0,a=0;for(let c=0;c=0&&C{"use strict";Object.defineProperty(Jg,"__esModule",{value:!0});Jg.Mutex=void 0;var Nl;(function(t){t[t.LOCKED=0]="LOCKED",t[t.UNLOCKED=1]="UNLOCKED"})(Nl||(Nl={}));var US=class{static{o(this,"Mutex")}static async lock(e){return new Promise(r=>{this.keys[e]===void 0||this.keys[e]===Nl.UNLOCKED?(this.keys[e]=Nl.LOCKED,r()):this.onUnlockEvent(e,()=>{this.keys[e]=Nl.LOCKED,r()})})}static async unlock(e){return new Promise(r=>{this.keys[e]===Nl.LOCKED&&this.emitUnlockEvent(e),delete this.keys[e],r()})}static keys={};static listeners={};static onUnlockEvent(e,r){this.listeners[e]===void 0?this.listeners[e]=[r]:this.listeners[e].push(r)}static emitUnlockEvent(e){if(this.listeners[e]!==void 0&&this.listeners[e].length>0){let r=this.listeners[e].shift();setImmediate(()=>{r.call(this)})}}};Jg.Mutex=US});var GS=g(Wg=>{"use strict";Object.defineProperty(Wg,"__esModule",{value:!0});Wg.BlobBatch=void 0;var iLe=pt(),FS=Kc(),qS=Ot(),MK=pt(),xl=ei(),Vg=zg(),kK=OK(),sLe=to(),HS=Rn(),oLe=F0(),mr=en(),LK=ia(),UK=Ni(),zS=class{static{o(this,"BlobBatch")}batchRequest;batch="batch";batchType;constructor(){this.batchRequest=new jS}getMultiPartContentType(){return this.batchRequest.getMultipartContentType()}getHttpRequestBody(){return this.batchRequest.getHttpRequestBody()}getSubRequests(){return this.batchRequest.getSubRequests()}async addSubRequestInternal(e,r){await kK.Mutex.lock(this.batch);try{this.batchRequest.preAddSubRequest(e),await r(),this.batchRequest.postAddSubRequest(e)}finally{await kK.Mutex.unlock(this.batch)}}setBatchType(e){if(this.batchType||(this.batchType=e),this.batchType!==e)throw new RangeError(`BlobBatch only supports one operation type per batch and it already is being used for ${this.batchType} operations.`)}async deleteBlob(e,r,n){let i,s;if(typeof e=="string"&&(MK.isNodeLike&&r instanceof xl.StorageSharedKeyCredential||r instanceof xl.AnonymousCredential||(0,FS.isTokenCredential)(r)))i=e,s=r;else if(e instanceof Vg.BlobClient)i=e.url,s=e.credential,n=r;else throw new RangeError("Invalid arguments. Either url and credential, or BlobClient need be provided.");return n||(n={}),LK.tracingClient.withSpan("BatchDeleteRequest-addSubRequest",n,async a=>{this.setBatchType("delete"),await this.addSubRequestInternal({url:i,credential:s},async()=>{await new Vg.BlobClient(i,this.batchRequest.createPipeline(s)).delete(a)})})}async setBlobAccessTier(e,r,n,i){let s,a,c;if(typeof e=="string"&&(MK.isNodeLike&&r instanceof xl.StorageSharedKeyCredential||r instanceof xl.AnonymousCredential||(0,FS.isTokenCredential)(r)))s=e,a=r,c=n;else if(e instanceof Vg.BlobClient)s=e.url,a=e.credential,c=r,i=n;else throw new RangeError("Invalid arguments. Either url and credential, or BlobClient need be provided.");return i||(i={}),LK.tracingClient.withSpan("BatchSetTierRequest-addSubRequest",i,async l=>{this.setBatchType("setAccessTier"),await this.addSubRequestInternal({url:s,credential:a},async()=>{await new Vg.BlobClient(s,this.batchRequest.createPipeline(a)).setAccessTier(c,l)})})}};Wg.BlobBatch=zS;var jS=class{static{o(this,"InnerBatchRequest")}operationCount;body;subRequests;boundary;subRequestPrefix;multipartContentType;batchRequestEnding;constructor(){this.operationCount=0,this.body="";let e=(0,iLe.randomUUID)();this.boundary=`batch_${e}`,this.subRequestPrefix=`--${this.boundary}${mr.HTTP_LINE_ENDING}${mr.HeaderConstants.CONTENT_TYPE}: application/http${mr.HTTP_LINE_ENDING}${mr.HeaderConstants.CONTENT_TRANSFER_ENCODING}: binary`,this.multipartContentType=`multipart/mixed; boundary=${this.boundary}`,this.batchRequestEnding=`--${this.boundary}--`,this.subRequests=new Map}createPipeline(e){let r=(0,qS.createEmptyPipeline)();r.addPolicy((0,UK.serializationPolicy)({stringifyXML:oLe.stringifyXML,serializerOptions:{xml:{xmlCharKey:"#"}}}),{phase:"Serialize"}),r.addPolicy(cLe()),r.addPolicy(aLe(this),{afterPhase:"Sign"}),(0,FS.isTokenCredential)(e)?r.addPolicy((0,qS.bearerTokenAuthenticationPolicy)({credential:e,scopes:mr.StorageOAuthScopes,challengeCallbacks:{authorizeRequestOnChallenge:UK.authorizeRequestOnTenantChallenge}}),{phase:"Sign"}):e instanceof xl.StorageSharedKeyCredential&&r.addPolicy((0,xl.storageSharedKeyCredentialPolicy)({accountName:e.accountName,accountKey:e.accountKey}),{phase:"Sign"});let n=new sLe.Pipeline([]);return n._credential=e,n._corePipeline=r,n}appendSubRequestToBody(e){this.body+=[this.subRequestPrefix,`${mr.HeaderConstants.CONTENT_ID}: ${this.operationCount}`,"",`${e.method.toString()} ${(0,HS.getURLPathAndQuery)(e.url)} ${mr.HTTP_VERSION_1_1}${mr.HTTP_LINE_ENDING}`].join(mr.HTTP_LINE_ENDING);for(let[r,n]of e.headers)this.body+=`${r}: ${n}${mr.HTTP_LINE_ENDING}`;this.body+=mr.HTTP_LINE_ENDING}preAddSubRequest(e){if(this.operationCount>=mr.BATCH_MAX_REQUEST)throw new RangeError(`Cannot exceed ${mr.BATCH_MAX_REQUEST} sub requests in a single batch`);let r=(0,HS.getURLPath)(e.url);if(!r||r==="")throw new RangeError(`Invalid url for sub request: '${e.url}'`)}postAddSubRequest(e){this.subRequests.set(this.operationCount,e),this.operationCount++}getHttpRequestBody(){return`${this.body}${this.batchRequestEnding}${mr.HTTP_LINE_ENDING}`}getMultipartContentType(){return this.multipartContentType}getSubRequests(){return this.subRequests}};function aLe(t){return{name:"batchRequestAssemblePolicy",async sendRequest(e){return t.appendSubRequestToBody(e),{request:e,status:200,headers:(0,qS.createHttpHeaders)()}}}}o(aLe,"batchRequestAssemblePolicy");function cLe(){return{name:"batchHeaderFilterPolicy",async sendRequest(t,e){let r="";for(let[n]of t.headers)(0,HS.iEqual)(n,mr.HeaderConstants.X_MS_VERSION)&&(r=n);return r!==""&&t.headers.delete(r),e(t)}}}o(cLe,"batchHeaderFilterPolicy")});var Xg=g(Kg=>{"use strict";Object.defineProperty(Kg,"__esModule",{value:!0});Kg.BlobBatchClient=void 0;var lLe=TK(),ALe=kS(),YS=GS(),uLe=ia(),dLe=ei(),pLe=Ux(),$g=to(),FK=Rn(),JS=class{static{o(this,"BlobBatchClient")}serviceOrContainerContext;constructor(e,r,n){let i;(0,$g.isPipelineLike)(r)?i=r:r?i=(0,$g.newPipeline)(r,n):i=(0,$g.newPipeline)(new dLe.AnonymousCredential,n);let s=new pLe.StorageContextClient(e,(0,$g.getCoreClientOptions)(i)),a=(0,FK.getURLPath)(e);a&&a!=="/"?this.serviceOrContainerContext=s.container:this.serviceOrContainerContext=s.service}createBatch(){return new YS.BlobBatch}async deleteBlobs(e,r,n){let i=new YS.BlobBatch;for(let s of e)typeof s=="string"?await i.deleteBlob(s,r,n):await i.deleteBlob(s,r);return this.submitBatch(i)}async setBlobsAccessTier(e,r,n,i){let s=new YS.BlobBatch;for(let a of e)typeof a=="string"?await s.setBlobAccessTier(a,r,n,i):await s.setBlobAccessTier(a,r,n);return this.submitBatch(s)}async submitBatch(e,r={}){if(!e||e.getSubRequests().size===0)throw new RangeError("Batch request should contain one or more sub requests.");return uLe.tracingClient.withSpan("BlobBatchClient-submitBatch",r,async n=>{let i=e.getHttpRequestBody(),s=(0,FK.assertResponse)(await this.serviceOrContainerContext.submitBatch((0,ALe.utf8ByteLength)(i),e.getMultiPartContentType(),i,{...n})),c=await new lLe.BatchResponseParser(s,e.getSubRequests()).parseBatchResponse();return{_response:s._response,contentType:s.contentType,errorCode:s.errorCode,requestId:s.requestId,clientRequestId:s.clientRequestId,version:s.version,subResponses:c.subResponses,subResponsesSucceededCount:c.subResponsesSucceededCount,subResponsesFailedCount:c.subResponsesFailedCount}})}};Kg.BlobBatchClient=JS});var WS=g(ty=>{"use strict";Object.defineProperty(ty,"__esModule",{value:!0});ty.ContainerClient=void 0;var hLe=Ot(),qK=pt(),fLe=Kc(),ha=ei(),td=to(),mLe=ng(),gr=ia(),xe=Rn(),Zg=ug(),gLe=hg(),ey=zg(),yLe=Xg(),VS=class extends mLe.StorageClient{static{o(this,"ContainerClient")}containerContext;_containerName;get containerName(){return this._containerName}constructor(e,r,n){let i,s;if(n=n||{},(0,td.isPipelineLike)(r))s=e,i=r;else if(qK.isNodeLike&&r instanceof ha.StorageSharedKeyCredential||r instanceof ha.AnonymousCredential||(0,fLe.isTokenCredential)(r))s=e,i=(0,td.newPipeline)(r,n);else if(!r&&typeof r!="string")s=e,i=(0,td.newPipeline)(new ha.AnonymousCredential,n);else if(r&&typeof r=="string"){let a=r,c=(0,xe.extractConnectionStringParts)(e);if(c.kind==="AccountConnString")if(qK.isNodeLike){let l=new ha.StorageSharedKeyCredential(c.accountName,c.accountKey);s=(0,xe.appendToURLPath)(c.url,encodeURIComponent(a)),n.proxyOptions||(n.proxyOptions=(0,hLe.getDefaultProxySettings)(c.proxyUri)),i=(0,td.newPipeline)(l,n)}else throw new Error("Account connection string is only supported in Node.js environment");else if(c.kind==="SASConnString")s=(0,xe.appendToURLPath)(c.url,encodeURIComponent(a))+"?"+c.accountSas,i=(0,td.newPipeline)(new ha.AnonymousCredential,n);else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}else throw new Error("Expecting non-empty strings for containerName parameter");super(s,i),this._containerName=this.getContainerNameFromUrl(),this.containerContext=this.storageClientContext.container}async create(e={}){return gr.tracingClient.withSpan("ContainerClient-create",e,async r=>(0,xe.assertResponse)(await this.containerContext.create(r)))}async createIfNotExists(e={}){return gr.tracingClient.withSpan("ContainerClient-createIfNotExists",e,async r=>{try{let n=await this.create(r);return{succeeded:!0,...n,_response:n._response}}catch(n){if(n.details?.errorCode==="ContainerAlreadyExists")return{succeeded:!1,...n.response?.parsedHeaders,_response:n.response};throw n}})}async exists(e={}){return gr.tracingClient.withSpan("ContainerClient-exists",e,async r=>{try{return await this.getProperties({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions}),!0}catch(n){if(n.statusCode===404)return!1;throw n}})}getBlobClient(e){return new ey.BlobClient((0,xe.appendToURLPath)(this.url,(0,xe.EscapePath)(e)),this.pipeline)}getAppendBlobClient(e){return new ey.AppendBlobClient((0,xe.appendToURLPath)(this.url,(0,xe.EscapePath)(e)),this.pipeline)}getBlockBlobClient(e){return new ey.BlockBlobClient((0,xe.appendToURLPath)(this.url,(0,xe.EscapePath)(e)),this.pipeline)}getPageBlobClient(e){return new ey.PageBlobClient((0,xe.appendToURLPath)(this.url,(0,xe.EscapePath)(e)),this.pipeline)}async getProperties(e={}){return e.conditions||(e.conditions={}),gr.tracingClient.withSpan("ContainerClient-getProperties",e,async r=>(0,xe.assertResponse)(await this.containerContext.getProperties({abortSignal:e.abortSignal,...e.conditions,tracingOptions:r.tracingOptions})))}async delete(e={}){return e.conditions||(e.conditions={}),gr.tracingClient.withSpan("ContainerClient-delete",e,async r=>(0,xe.assertResponse)(await this.containerContext.delete({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:e.conditions,tracingOptions:r.tracingOptions})))}async deleteIfExists(e={}){return gr.tracingClient.withSpan("ContainerClient-deleteIfExists",e,async r=>{try{let n=await this.delete(r);return{succeeded:!0,...n,_response:n._response}}catch(n){if(n.details?.errorCode==="ContainerNotFound")return{succeeded:!1,...n.response?.parsedHeaders,_response:n.response};throw n}})}async setMetadata(e,r={}){if(r.conditions||(r.conditions={}),r.conditions.ifUnmodifiedSince)throw new RangeError("the IfUnmodifiedSince must have their default values because they are ignored by the blob service");return gr.tracingClient.withSpan("ContainerClient-setMetadata",r,async n=>(0,xe.assertResponse)(await this.containerContext.setMetadata({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,metadata:e,modifiedAccessConditions:r.conditions,tracingOptions:n.tracingOptions})))}async getAccessPolicy(e={}){return e.conditions||(e.conditions={}),gr.tracingClient.withSpan("ContainerClient-getAccessPolicy",e,async r=>{let n=(0,xe.assertResponse)(await this.containerContext.getAccessPolicy({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,tracingOptions:r.tracingOptions})),i={_response:n._response,blobPublicAccess:n.blobPublicAccess,date:n.date,etag:n.etag,errorCode:n.errorCode,lastModified:n.lastModified,requestId:n.requestId,clientRequestId:n.clientRequestId,signedIdentifiers:[],version:n.version};for(let s of n){let a;s.accessPolicy&&(a={permissions:s.accessPolicy.permissions},s.accessPolicy.expiresOn&&(a.expiresOn=new Date(s.accessPolicy.expiresOn)),s.accessPolicy.startsOn&&(a.startsOn=new Date(s.accessPolicy.startsOn))),i.signedIdentifiers.push({accessPolicy:a,id:s.id})}return i})}async setAccessPolicy(e,r,n={}){return n.conditions=n.conditions||{},gr.tracingClient.withSpan("ContainerClient-setAccessPolicy",n,async i=>{let s=[];for(let a of r||[])s.push({accessPolicy:{expiresOn:a.accessPolicy.expiresOn?(0,xe.truncatedISO8061Date)(a.accessPolicy.expiresOn):"",permissions:a.accessPolicy.permissions,startsOn:a.accessPolicy.startsOn?(0,xe.truncatedISO8061Date)(a.accessPolicy.startsOn):""},id:a.id});return(0,xe.assertResponse)(await this.containerContext.setAccessPolicy({abortSignal:n.abortSignal,access:e,containerAcl:s,leaseAccessConditions:n.conditions,modifiedAccessConditions:n.conditions,tracingOptions:i.tracingOptions}))})}getBlobLeaseClient(e){return new gLe.BlobLeaseClient(this,e)}async uploadBlockBlob(e,r,n,i={}){return gr.tracingClient.withSpan("ContainerClient-uploadBlockBlob",i,async s=>{let a=this.getBlockBlobClient(e),c=await a.upload(r,n,s);return{blockBlobClient:a,response:c}})}async deleteBlob(e,r={}){return gr.tracingClient.withSpan("ContainerClient-deleteBlob",r,async n=>{let i=this.getBlobClient(e);return r.versionId&&(i=i.withVersion(r.versionId)),i.delete(n)})}async listBlobFlatSegment(e,r={}){return gr.tracingClient.withSpan("ContainerClient-listBlobFlatSegment",r,async n=>{let i=(0,xe.assertResponse)(await this.containerContext.listBlobFlatSegment({marker:e,...r,tracingOptions:n.tracingOptions}));return{...i,_response:{...i._response,parsedBody:(0,xe.ConvertInternalResponseOfListBlobFlat)(i._response.parsedBody)},segment:{...i.segment,blobItems:i.segment.blobItems.map(a=>({...a,name:(0,xe.BlobNameToString)(a.name),tags:(0,xe.toTags)(a.blobTags),objectReplicationSourceProperties:(0,xe.parseObjectReplicationRecord)(a.objectReplicationMetadata)}))}}})}async listBlobHierarchySegment(e,r,n={}){return gr.tracingClient.withSpan("ContainerClient-listBlobHierarchySegment",n,async i=>{let s=(0,xe.assertResponse)(await this.containerContext.listBlobHierarchySegment(e,{marker:r,...n,tracingOptions:i.tracingOptions}));return{...s,_response:{...s._response,parsedBody:(0,xe.ConvertInternalResponseOfListBlobHierarchy)(s._response.parsedBody)},segment:{...s.segment,blobItems:s.segment.blobItems.map(c=>({...c,name:(0,xe.BlobNameToString)(c.name),tags:(0,xe.toTags)(c.blobTags),objectReplicationSourceProperties:(0,xe.parseObjectReplicationRecord)(c.objectReplicationMetadata)})),blobPrefixes:s.segment.blobPrefixes?.map(c=>({...c,name:(0,xe.BlobNameToString)(c.name)}))}}})}async*listSegments(e,r={}){let n;if(e||e===void 0)do n=await this.listBlobFlatSegment(e,r),e=n.continuationToken,yield await n;while(e)}async*listItems(e={}){let r;for await(let n of this.listSegments(r,e))yield*n.segment.blobItems}listBlobsFlat(e={}){let r=[];e.includeCopy&&r.push("copy"),e.includeDeleted&&r.push("deleted"),e.includeMetadata&&r.push("metadata"),e.includeSnapshots&&r.push("snapshots"),e.includeVersions&&r.push("versions"),e.includeUncommitedBlobs&&r.push("uncommittedblobs"),e.includeTags&&r.push("tags"),e.includeDeletedWithVersions&&r.push("deletedwithversions"),e.includeImmutabilityPolicy&&r.push("immutabilitypolicy"),e.includeLegalHold&&r.push("legalhold"),e.prefix===""&&(e.prefix=void 0);let n={...e,...r.length>0?{include:r}:{}},i=this.listItems(n);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:(s={})=>this.listSegments(s.continuationToken,{maxPageSize:s.maxPageSize,...n})}}async*listHierarchySegments(e,r,n={}){let i;if(r||r===void 0)do i=await this.listBlobHierarchySegment(e,r,n),r=i.continuationToken,yield await i;while(r)}async*listItemsByHierarchy(e,r={}){let n;for await(let i of this.listHierarchySegments(e,n,r)){let s=i.segment;if(s.blobPrefixes)for(let a of s.blobPrefixes)yield{kind:"prefix",...a};for(let a of s.blobItems)yield{kind:"blob",...a}}}listBlobsByHierarchy(e,r={}){if(e==="")throw new RangeError("delimiter should contain one or more characters");let n=[];r.includeCopy&&n.push("copy"),r.includeDeleted&&n.push("deleted"),r.includeMetadata&&n.push("metadata"),r.includeSnapshots&&n.push("snapshots"),r.includeVersions&&n.push("versions"),r.includeUncommitedBlobs&&n.push("uncommittedblobs"),r.includeTags&&n.push("tags"),r.includeDeletedWithVersions&&n.push("deletedwithversions"),r.includeImmutabilityPolicy&&n.push("immutabilitypolicy"),r.includeLegalHold&&n.push("legalhold"),r.prefix===""&&(r.prefix=void 0);let i={...r,...n.length>0?{include:n}:{}},s=this.listItemsByHierarchy(e,i);return{async next(){return s.next()},[Symbol.asyncIterator](){return this},byPage:(a={})=>this.listHierarchySegments(e,a.continuationToken,{maxPageSize:a.maxPageSize,...i})}}async findBlobsByTagsSegment(e,r,n={}){return gr.tracingClient.withSpan("ContainerClient-findBlobsByTagsSegment",n,async i=>{let s=(0,xe.assertResponse)(await this.containerContext.filterBlobs({abortSignal:n.abortSignal,where:e,marker:r,maxPageSize:n.maxPageSize,tracingOptions:i.tracingOptions}));return{...s,_response:s._response,blobs:s.blobs.map(c=>{let l="";return c.tags?.blobTagSet.length===1&&(l=c.tags.blobTagSet[0].value),{...c,tags:(0,xe.toTags)(c.tags),tagValue:l}})}})}async*findBlobsByTagsSegments(e,r,n={}){let i;if(r||r===void 0)do i=await this.findBlobsByTagsSegment(e,r,n),i.blobs=i.blobs||[],r=i.continuationToken,yield i;while(r)}async*findBlobsByTagsItems(e,r={}){let n;for await(let i of this.findBlobsByTagsSegments(e,n,r))yield*i.blobs}findBlobsByTags(e,r={}){let n={...r},i=this.findBlobsByTagsItems(e,n);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:(s={})=>this.findBlobsByTagsSegments(e,s.continuationToken,{maxPageSize:s.maxPageSize,...n})}}async getAccountInfo(e={}){return gr.tracingClient.withSpan("ContainerClient-getAccountInfo",e,async r=>(0,xe.assertResponse)(await this.containerContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}getContainerNameFromUrl(){let e;try{let r=new URL(this.url);if(r.hostname.split(".")[1]==="blob"?e=r.pathname.split("/")[1]:(0,xe.isIpEndpointStyle)(r)?e=r.pathname.split("/")[2]:e=r.pathname.split("/")[1],e=decodeURIComponent(e),!e)throw new Error("Provided containerName is invalid.");return e}catch{throw new Error("Unable to extract containerName with provided information.")}}generateSasUrl(e){return new Promise(r=>{if(!(this.credential instanceof ha.StorageSharedKeyCredential))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");let n=(0,Zg.generateBlobSASQueryParameters)({containerName:this._containerName,...e},this.credential).toString();r((0,xe.appendToURLQuery)(this.url,n))})}generateSasStringToSign(e){if(!(this.credential instanceof ha.StorageSharedKeyCredential))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");return(0,Zg.generateBlobSASQueryParametersInternal)({containerName:this._containerName,...e},this.credential).stringToSign}generateUserDelegationSasUrl(e,r){return new Promise(n=>{let i=(0,Zg.generateBlobSASQueryParameters)({containerName:this._containerName,...e},r,this.accountName).toString();n((0,xe.appendToURLQuery)(this.url,i))})}generateUserDelegationSasStringToSign(e,r){return(0,Zg.generateBlobSASQueryParametersInternal)({containerName:this._containerName,...e},r,this.accountName).stringToSign}getBlobBatchClient(){return new yLe.BlobBatchClient(this.url,this.pipeline)}};ty.ContainerClient=VS});var ny=g(ry=>{"use strict";Object.defineProperty(ry,"__esModule",{value:!0});ry.AccountSASPermissions=void 0;var $S=class t{static{o(this,"AccountSASPermissions")}static parse(e){let r=new t;for(let n of e)switch(n){case"r":r.read=!0;break;case"w":r.write=!0;break;case"d":r.delete=!0;break;case"x":r.deleteVersion=!0;break;case"l":r.list=!0;break;case"a":r.add=!0;break;case"c":r.create=!0;break;case"u":r.update=!0;break;case"p":r.process=!0;break;case"t":r.tag=!0;break;case"f":r.filter=!0;break;case"i":r.setImmutabilityPolicy=!0;break;case"y":r.permanentDelete=!0;break;default:throw new RangeError(`Invalid permission character: ${n}`)}return r}static from(e){let r=new t;return e.read&&(r.read=!0),e.write&&(r.write=!0),e.delete&&(r.delete=!0),e.deleteVersion&&(r.deleteVersion=!0),e.filter&&(r.filter=!0),e.tag&&(r.tag=!0),e.list&&(r.list=!0),e.add&&(r.add=!0),e.create&&(r.create=!0),e.update&&(r.update=!0),e.process&&(r.process=!0),e.setImmutabilityPolicy&&(r.setImmutabilityPolicy=!0),e.permanentDelete&&(r.permanentDelete=!0),r}read=!1;write=!1;delete=!1;deleteVersion=!1;list=!1;add=!1;create=!1;update=!1;process=!1;tag=!1;filter=!1;setImmutabilityPolicy=!1;permanentDelete=!1;toString(){let e=[];return this.read&&e.push("r"),this.write&&e.push("w"),this.delete&&e.push("d"),this.deleteVersion&&e.push("x"),this.filter&&e.push("f"),this.tag&&e.push("t"),this.list&&e.push("l"),this.add&&e.push("a"),this.create&&e.push("c"),this.update&&e.push("u"),this.process&&e.push("p"),this.setImmutabilityPolicy&&e.push("i"),this.permanentDelete&&e.push("y"),e.join("")}};ry.AccountSASPermissions=$S});var XS=g(iy=>{"use strict";Object.defineProperty(iy,"__esModule",{value:!0});iy.AccountSASResourceTypes=void 0;var KS=class t{static{o(this,"AccountSASResourceTypes")}static parse(e){let r=new t;for(let n of e)switch(n){case"s":r.service=!0;break;case"c":r.container=!0;break;case"o":r.object=!0;break;default:throw new RangeError(`Invalid resource type: ${n}`)}return r}service=!1;container=!1;object=!1;toString(){let e=[];return this.service&&e.push("s"),this.container&&e.push("c"),this.object&&e.push("o"),e.join("")}};iy.AccountSASResourceTypes=KS});var oy=g(sy=>{"use strict";Object.defineProperty(sy,"__esModule",{value:!0});sy.AccountSASServices=void 0;var ZS=class t{static{o(this,"AccountSASServices")}static parse(e){let r=new t;for(let n of e)switch(n){case"b":r.blob=!0;break;case"f":r.file=!0;break;case"q":r.queue=!0;break;case"t":r.table=!0;break;default:throw new RangeError(`Invalid service character: ${n}`)}return r}blob=!1;file=!1;queue=!1;table=!1;toString(){let e=[];return this.blob&&e.push("b"),this.table&&e.push("t"),this.queue&&e.push("q"),this.file&&e.push("f"),e.join("")}};sy.AccountSASServices=ZS});var eR=g(cy=>{"use strict";Object.defineProperty(cy,"__esModule",{value:!0});cy.generateAccountSASQueryParameters=QLe;cy.generateAccountSASQueryParametersInternal=zK;var CLe=ny(),ELe=XS(),BLe=oy(),HK=ag(),ILe=lg(),bLe=en(),ay=Rn();function QLe(t,e){return zK(t,e).sasQueryParameters}o(QLe,"generateAccountSASQueryParameters");function zK(t,e){let r=t.version?t.version:bLe.SERVICE_VERSION;if(t.permissions&&t.permissions.setImmutabilityPolicy&&r<"2020-08-04")throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.");if(t.permissions&&t.permissions.deleteVersion&&r<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when provided 'x' permission.");if(t.permissions&&t.permissions.permanentDelete&&r<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when provided 'y' permission.");if(t.permissions&&t.permissions.tag&&r<"2019-12-12")throw RangeError("'version' must be >= '2019-12-12' when provided 't' permission.");if(t.permissions&&t.permissions.filter&&r<"2019-12-12")throw RangeError("'version' must be >= '2019-12-12' when provided 'f' permission.");if(t.encryptionScope&&r<"2020-12-06")throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.");let n=CLe.AccountSASPermissions.parse(t.permissions.toString()),i=BLe.AccountSASServices.parse(t.services).toString(),s=ELe.AccountSASResourceTypes.parse(t.resourceTypes).toString(),a;r>="2020-12-06"?a=[e.accountName,n,i,s,t.startsOn?(0,ay.truncatedISO8061Date)(t.startsOn,!1):"",(0,ay.truncatedISO8061Date)(t.expiresOn,!1),t.ipRange?(0,HK.ipRangeToString)(t.ipRange):"",t.protocol?t.protocol:"",r,t.encryptionScope?t.encryptionScope:"",""].join(` -`):a=[e.accountName,n,i,s,t.startsOn?(0,ay.truncatedISO8061Date)(t.startsOn,!1):"",(0,ay.truncatedISO8061Date)(t.expiresOn,!1),t.ipRange?(0,HK.ipRangeToString)(t.ipRange):"",t.protocol?t.protocol:"",r,""].join(` -`);let c=e.computeHMACSHA256(a);return{sasQueryParameters:new ILe.SASQueryParameters(r,c,n.toString(),i,s,t.protocol,t.startsOn,t.expiresOn,t.ipRange,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,t.encryptionScope),stringToSign:a}}o(zK,"generateAccountSASQueryParametersInternal")});var VK=g(Ay=>{"use strict";Object.defineProperty(Ay,"__esModule",{value:!0});Ay.BlobServiceClient=void 0;var wLe=Kc(),NLe=Ot(),jK=pt(),rd=to(),xLe=WS(),ly=Rn(),fa=ei(),Mi=Rn(),ki=ia(),SLe=Xg(),RLe=ng(),GK=ny(),YK=eR(),JK=oy(),tR=class t extends RLe.StorageClient{static{o(this,"BlobServiceClient")}serviceContext;static fromConnectionString(e,r){r=r||{};let n=(0,ly.extractConnectionStringParts)(e);if(n.kind==="AccountConnString")if(jK.isNodeLike){let i=new fa.StorageSharedKeyCredential(n.accountName,n.accountKey);r.proxyOptions||(r.proxyOptions=(0,NLe.getDefaultProxySettings)(n.proxyUri));let s=(0,rd.newPipeline)(i,r);return new t(n.url,s)}else throw new Error("Account connection string is only supported in Node.js environment");else if(n.kind==="SASConnString"){let i=(0,rd.newPipeline)(new fa.AnonymousCredential,r);return new t(n.url+"?"+n.accountSas,i)}else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}constructor(e,r,n){let i;(0,rd.isPipelineLike)(r)?i=r:jK.isNodeLike&&r instanceof fa.StorageSharedKeyCredential||r instanceof fa.AnonymousCredential||(0,wLe.isTokenCredential)(r)?i=(0,rd.newPipeline)(r,n):i=(0,rd.newPipeline)(new fa.AnonymousCredential,n),super(e,i),this.serviceContext=this.storageClientContext.service}getContainerClient(e){return new xLe.ContainerClient((0,ly.appendToURLPath)(this.url,encodeURIComponent(e)),this.pipeline)}async createContainer(e,r={}){return ki.tracingClient.withSpan("BlobServiceClient-createContainer",r,async n=>{let i=this.getContainerClient(e),s=await i.create(n);return{containerClient:i,containerCreateResponse:s}})}async deleteContainer(e,r={}){return ki.tracingClient.withSpan("BlobServiceClient-deleteContainer",r,async n=>this.getContainerClient(e).delete(n))}async undeleteContainer(e,r,n={}){return ki.tracingClient.withSpan("BlobServiceClient-undeleteContainer",n,async i=>{let s=this.getContainerClient(n.destinationContainerName||e),a=s.storageClientContext.container,c=(0,Mi.assertResponse)(await a.restore({deletedContainerName:e,deletedContainerVersion:r,tracingOptions:i.tracingOptions}));return{containerClient:s,containerUndeleteResponse:c}})}async getProperties(e={}){return ki.tracingClient.withSpan("BlobServiceClient-getProperties",e,async r=>(0,Mi.assertResponse)(await this.serviceContext.getProperties({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}async setProperties(e,r={}){return ki.tracingClient.withSpan("BlobServiceClient-setProperties",r,async n=>(0,Mi.assertResponse)(await this.serviceContext.setProperties(e,{abortSignal:r.abortSignal,tracingOptions:n.tracingOptions})))}async getStatistics(e={}){return ki.tracingClient.withSpan("BlobServiceClient-getStatistics",e,async r=>(0,Mi.assertResponse)(await this.serviceContext.getStatistics({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}async getAccountInfo(e={}){return ki.tracingClient.withSpan("BlobServiceClient-getAccountInfo",e,async r=>(0,Mi.assertResponse)(await this.serviceContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}async listContainersSegment(e,r={}){return ki.tracingClient.withSpan("BlobServiceClient-listContainersSegment",r,async n=>(0,Mi.assertResponse)(await this.serviceContext.listContainersSegment({abortSignal:r.abortSignal,marker:e,...r,include:typeof r.include=="string"?[r.include]:r.include,tracingOptions:n.tracingOptions})))}async findBlobsByTagsSegment(e,r,n={}){return ki.tracingClient.withSpan("BlobServiceClient-findBlobsByTagsSegment",n,async i=>{let s=(0,Mi.assertResponse)(await this.serviceContext.filterBlobs({abortSignal:n.abortSignal,where:e,marker:r,maxPageSize:n.maxPageSize,tracingOptions:i.tracingOptions}));return{...s,_response:s._response,blobs:s.blobs.map(c=>{let l="";return c.tags?.blobTagSet.length===1&&(l=c.tags.blobTagSet[0].value),{...c,tags:(0,ly.toTags)(c.tags),tagValue:l}})}})}async*findBlobsByTagsSegments(e,r,n={}){let i;if(r||r===void 0)do i=await this.findBlobsByTagsSegment(e,r,n),i.blobs=i.blobs||[],r=i.continuationToken,yield i;while(r)}async*findBlobsByTagsItems(e,r={}){let n;for await(let i of this.findBlobsByTagsSegments(e,n,r))yield*i.blobs}findBlobsByTags(e,r={}){let n={...r},i=this.findBlobsByTagsItems(e,n);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:(s={})=>this.findBlobsByTagsSegments(e,s.continuationToken,{maxPageSize:s.maxPageSize,...n})}}async*listSegments(e,r={}){let n;if(e||e===void 0)do n=await this.listContainersSegment(e,r),n.containerItems=n.containerItems||[],e=n.continuationToken,yield await n;while(e)}async*listItems(e={}){let r;for await(let n of this.listSegments(r,e))yield*n.containerItems}listContainers(e={}){e.prefix===""&&(e.prefix=void 0);let r=[];e.includeDeleted&&r.push("deleted"),e.includeMetadata&&r.push("metadata"),e.includeSystem&&r.push("system");let n={...e,...r.length>0?{include:r}:{}},i=this.listItems(n);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:(s={})=>this.listSegments(s.continuationToken,{maxPageSize:s.maxPageSize,...n})}}async getUserDelegationKey(e,r,n={}){return ki.tracingClient.withSpan("BlobServiceClient-getUserDelegationKey",n,async i=>{let s=(0,Mi.assertResponse)(await this.serviceContext.getUserDelegationKey({startsOn:(0,Mi.truncatedISO8061Date)(e,!1),expiresOn:(0,Mi.truncatedISO8061Date)(r,!1)},{abortSignal:n.abortSignal,tracingOptions:i.tracingOptions})),a={signedObjectId:s.signedObjectId,signedTenantId:s.signedTenantId,signedStartsOn:new Date(s.signedStartsOn),signedExpiresOn:new Date(s.signedExpiresOn),signedService:s.signedService,signedVersion:s.signedVersion,value:s.value};return{_response:s._response,requestId:s.requestId,clientRequestId:s.clientRequestId,version:s.version,date:s.date,errorCode:s.errorCode,...a}})}getBlobBatchClient(){return new SLe.BlobBatchClient(this.url,this.pipeline)}generateAccountSasUrl(e,r=GK.AccountSASPermissions.parse("r"),n="sco",i={}){if(!(this.credential instanceof fa.StorageSharedKeyCredential))throw RangeError("Can only generate the account SAS when the client is initialized with a shared key credential");if(e===void 0){let a=new Date;e=new Date(a.getTime()+3600*1e3)}let s=(0,YK.generateAccountSASQueryParameters)({permissions:r,expiresOn:e,resourceTypes:n,services:JK.AccountSASServices.parse("b").toString(),...i},this.credential).toString();return(0,ly.appendToURLQuery)(this.url,s)}generateSasStringToSign(e,r=GK.AccountSASPermissions.parse("r"),n="sco",i={}){if(!(this.credential instanceof fa.StorageSharedKeyCredential))throw RangeError("Can only generate the account SAS when the client is initialized with a shared key credential");if(e===void 0){let s=new Date;e=new Date(s.getTime()+3600*1e3)}return(0,YK.generateAccountSASQueryParametersInternal)({permissions:r,expiresOn:e,resourceTypes:n,services:JK.AccountSASServices.parse("b").toString(),...i},this.credential).stringToSign}};Ay.BlobServiceClient=tR});var $K=g(WK=>{"use strict";Object.defineProperty(WK,"__esModule",{value:!0})});var XK=g(uy=>{"use strict";Object.defineProperty(uy,"__esModule",{value:!0});uy.KnownEncryptionAlgorithmType=void 0;var KK;(function(t){t.AES256="AES256"})(KK||(uy.KnownEncryptionAlgorithmType=KK={}))});var rR=g(V=>{"use strict";Object.defineProperty(V,"__esModule",{value:!0});V.logger=V.RestError=V.StorageBrowserPolicyFactory=V.StorageBrowserPolicy=V.StorageSharedKeyCredentialPolicy=V.StorageSharedKeyCredential=V.StorageRetryPolicyFactory=V.StorageRetryPolicy=V.StorageRetryPolicyType=V.Credential=V.CredentialPolicy=V.BaseRequestPolicy=V.AnonymousCredentialPolicy=V.AnonymousCredential=V.StorageOAuthScopes=V.newPipeline=V.isPipelineLike=V.Pipeline=V.getBlobServiceAccountAudience=V.StorageBlobAudience=V.PremiumPageBlobTier=V.BlockBlobTier=V.generateBlobSASQueryParameters=V.generateAccountSASQueryParameters=void 0;var Dr=(Xr(),Zt(Kr)),_Le=Ot();Object.defineProperty(V,"RestError",{enumerable:!0,get:function(){return _Le.RestError}});Dr.__exportStar(VK(),V);Dr.__exportStar(zg(),V);Dr.__exportStar(WS(),V);Dr.__exportStar(hg(),V);Dr.__exportStar(ny(),V);Dr.__exportStar(XS(),V);Dr.__exportStar(oy(),V);var vLe=eR();Object.defineProperty(V,"generateAccountSASQueryParameters",{enumerable:!0,get:function(){return vLe.generateAccountSASQueryParameters}});Dr.__exportStar(GS(),V);Dr.__exportStar(Xg(),V);Dr.__exportStar($K(),V);Dr.__exportStar(Hx(),V);var PLe=ug();Object.defineProperty(V,"generateBlobSASQueryParameters",{enumerable:!0,get:function(){return PLe.generateBlobSASQueryParameters}});Dr.__exportStar(jx(),V);var dy=AS();Object.defineProperty(V,"BlockBlobTier",{enumerable:!0,get:function(){return dy.BlockBlobTier}});Object.defineProperty(V,"PremiumPageBlobTier",{enumerable:!0,get:function(){return dy.PremiumPageBlobTier}});Object.defineProperty(V,"StorageBlobAudience",{enumerable:!0,get:function(){return dy.StorageBlobAudience}});Object.defineProperty(V,"getBlobServiceAccountAudience",{enumerable:!0,get:function(){return dy.getBlobServiceAccountAudience}});var py=to();Object.defineProperty(V,"Pipeline",{enumerable:!0,get:function(){return py.Pipeline}});Object.defineProperty(V,"isPipelineLike",{enumerable:!0,get:function(){return py.isPipelineLike}});Object.defineProperty(V,"newPipeline",{enumerable:!0,get:function(){return py.newPipeline}});Object.defineProperty(V,"StorageOAuthScopes",{enumerable:!0,get:function(){return py.StorageOAuthScopes}});var vn=ei();Object.defineProperty(V,"AnonymousCredential",{enumerable:!0,get:function(){return vn.AnonymousCredential}});Object.defineProperty(V,"AnonymousCredentialPolicy",{enumerable:!0,get:function(){return vn.AnonymousCredentialPolicy}});Object.defineProperty(V,"BaseRequestPolicy",{enumerable:!0,get:function(){return vn.BaseRequestPolicy}});Object.defineProperty(V,"CredentialPolicy",{enumerable:!0,get:function(){return vn.CredentialPolicy}});Object.defineProperty(V,"Credential",{enumerable:!0,get:function(){return vn.Credential}});Object.defineProperty(V,"StorageRetryPolicyType",{enumerable:!0,get:function(){return vn.StorageRetryPolicyType}});Object.defineProperty(V,"StorageRetryPolicy",{enumerable:!0,get:function(){return vn.StorageRetryPolicy}});Object.defineProperty(V,"StorageRetryPolicyFactory",{enumerable:!0,get:function(){return vn.StorageRetryPolicyFactory}});Object.defineProperty(V,"StorageSharedKeyCredential",{enumerable:!0,get:function(){return vn.StorageSharedKeyCredential}});Object.defineProperty(V,"StorageSharedKeyCredentialPolicy",{enumerable:!0,get:function(){return vn.StorageSharedKeyCredentialPolicy}});Object.defineProperty(V,"StorageBrowserPolicy",{enumerable:!0,get:function(){return vn.StorageBrowserPolicy}});Object.defineProperty(V,"StorageBrowserPolicyFactory",{enumerable:!0,get:function(){return vn.StorageBrowserPolicyFactory}});Dr.__exportStar(lg(),V);Dr.__exportStar(XK(),V);var DLe=Em();Object.defineProperty(V,"logger",{enumerable:!0,get:function(){return DLe.logger}})});var cR=g(Ar=>{"use strict";Object.defineProperty(Ar,"__esModule",{value:!0});Ar.RateLimitError=Ar.UsageError=Ar.NetworkError=Ar.GHESNotSupportedError=Ar.CacheNotFoundError=Ar.InvalidResponseError=Ar.FilesNotFoundError=void 0;var nR=class extends Error{static{o(this,"FilesNotFoundError")}constructor(e=[]){let r="No files were found to upload";e.length>0&&(r+=`: ${e.join(", ")}`),super(r),this.files=e,this.name="FilesNotFoundError"}};Ar.FilesNotFoundError=nR;var iR=class extends Error{static{o(this,"InvalidResponseError")}constructor(e){super(e),this.name="InvalidResponseError"}};Ar.InvalidResponseError=iR;var sR=class extends Error{static{o(this,"CacheNotFoundError")}constructor(e="Cache not found"){super(e),this.name="CacheNotFoundError"}};Ar.CacheNotFoundError=sR;var oR=class extends Error{static{o(this,"GHESNotSupportedError")}constructor(e="@actions/cache v4.1.4+, actions/cache/save@v4+ and actions/cache/restore@v4+ are not currently supported on GHES."){super(e),this.name="GHESNotSupportedError"}};Ar.GHESNotSupportedError=oR;var hy=class extends Error{static{o(this,"NetworkError")}constructor(e){let r=`Unable to make request: ${e} -If you are using self-hosted runners, please make sure your runner has access to all GitHub endpoints: https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners#communication-between-self-hosted-runners-and-github`;super(r),this.code=e,this.name="NetworkError"}};Ar.NetworkError=hy;hy.isNetworkErrorCode=t=>t?["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(t):!1;var fy=class extends Error{static{o(this,"UsageError")}constructor(){super(`Cache storage quota has been hit. Unable to upload any new cache entries. Usage is recalculated every 6-12 hours. -More info on storage limits: https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions#calculating-minute-and-storage-spending`),this.name="UsageError"}};Ar.UsageError=fy;fy.isUsageErrorMessage=t=>t?t.includes("insufficient usage"):!1;var aR=class extends Error{static{o(this,"RateLimitError")}constructor(e){super(e),this.name="RateLimitError"}};Ar.RateLimitError=aR});var ZK=g(sn=>{"use strict";var TLe=sn&&sn.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),OLe=sn&&sn.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),MLe=sn&&sn.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i{this.setSentBytes(e.loadedBytes)}}startDisplayTimer(e=1e3){let r=o(()=>{this.display(),this.isDone()||(this.timeoutHandle=setTimeout(r,e))},"displayCallback");this.timeoutHandle=setTimeout(r,e)}stopDisplayTimer(){this.timeoutHandle&&(clearTimeout(this.timeoutHandle),this.timeoutHandle=void 0),this.display()}};sn.UploadProgress=my;function FLe(t,e,r){return kLe(this,void 0,void 0,function*(){var n;let i=new LLe.BlobClient(t),s=i.getBlockBlobClient(),a=new my((n=r?.archiveSizeBytes)!==null&&n!==void 0?n:0),c={blockSize:r?.uploadChunkSize,concurrency:r?.uploadConcurrency,maxSingleShotSize:128*1024*1024,onProgress:a.onProgress()};try{a.startDisplayTimer(),lR.debug(`BlobClient: ${i.name}:${i.accountName}:${i.containerName}`);let l=yield s.uploadFile(e,c);if(l._response.status>=400)throw new ULe.InvalidResponseError(`uploadCacheArchiveSDK: upload failed with status code ${l._response.status}`);return l}catch(l){throw lR.warning(`uploadCacheArchiveSDK: internal error uploading cache archive: ${l.message}`),l}finally{a.stopDisplayTimer()}})}o(FLe,"uploadCacheArchiveSDK")});var uR=g(ur=>{"use strict";var qLe=ur&&ur.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),HLe=ur&&ur.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),zLe=ur&&ur.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i=200&&t<300:!1}o(jLe,"isSuccessStatusCode");function t4(t){return t?t>=500:!0}o(t4,"isServerErrorStatusCode");function r4(t){return t?[gy.HttpCodes.BadGateway,gy.HttpCodes.ServiceUnavailable,gy.HttpCodes.GatewayTimeout].includes(t):!1}o(r4,"isRetryableStatusCode");function GLe(t){return yy(this,void 0,void 0,function*(){return new Promise(e=>setTimeout(e,t))})}o(GLe,"sleep");function AR(t,e,r){return yy(this,arguments,void 0,function*(n,i,s,a=Sl.DefaultRetryAttempts,c=Sl.DefaultRetryDelay,l=void 0){let A="",u=1;for(;u<=a;){let d,f,m=!1;try{d=yield i()}catch(C){l&&(d=l(C)),m=!0,A=C.message}if(d&&(f=s(d),!t4(f)))return d;if(f&&(m=r4(f),A=`Cache service responded with ${f}`),e4.debug(`${n} - Attempt ${u} of ${a} failed with error: ${A}`),!m){e4.debug(`${n} - Error is not retryable`);break}yield GLe(c),u++}throw Error(`${n} failed: ${A}`)})}o(AR,"retry");function YLe(t,e){return yy(this,arguments,void 0,function*(r,n,i=Sl.DefaultRetryAttempts,s=Sl.DefaultRetryDelay){return yield AR(r,n,a=>a.statusCode,i,s,a=>{if(a instanceof gy.HttpClientError)return{statusCode:a.statusCode,result:null,headers:{},error:a}})})}o(YLe,"retryTypedResponse");function JLe(t,e){return yy(this,arguments,void 0,function*(r,n,i=Sl.DefaultRetryAttempts,s=Sl.DefaultRetryDelay){return yield AR(r,n,a=>a.message.statusCode,i,s)})}o(JLe,"retryHttpClientResponse")});var a4=g(yr=>{"use strict";var VLe=yr&&yr.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),WLe=yr&&yr.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),Rl=yr&&yr.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i{this.setReceivedBytes(e.loadedBytes)}}startDisplayTimer(e=1e3){let r=o(()=>{this.display(),this.isDone()||(this.timeoutHandle=setTimeout(r,e))},"displayCallback");this.timeoutHandle=setTimeout(r,e)}stopDisplayTimer(){this.timeoutHandle&&(clearTimeout(this.timeoutHandle),this.timeoutHandle=void 0),this.display()}};yr.DownloadProgress=sd;function s4(t,e){return Pn(this,void 0,void 0,function*(){let r=nd.createWriteStream(e),n=new i4.HttpClient("actions/cache"),i=yield(0,dR.retryHttpClientResponse)("downloadCache",()=>Pn(this,void 0,void 0,function*(){return n.get(t)}));i.message.socket.setTimeout(n4.SocketTimeout,()=>{i.message.destroy(),id.debug(`Aborting download, socket timed out after ${n4.SocketTimeout} ms`)}),yield rUe(i,r);let s=i.message.headers["content-length"];if(s){let a=parseInt(s),c=eUe.getArchiveFileSizeInBytes(e);if(c!==a)throw new Error(`Incomplete download. Expected file size: ${a}, actual file size: ${c}`)}else id.debug("Unable to validate download, no Content-Length header")})}o(s4,"downloadCacheHttpClient");function nUe(t,e,r){return Pn(this,void 0,void 0,function*(){var n;let i=yield nd.promises.open(e,"w"),s=new i4.HttpClient("actions/cache",void 0,{socketTimeout:r.timeoutInMs,keepAlive:!0});try{let c=(yield(0,dR.retryHttpClientResponse)("downloadCacheMetadata",()=>Pn(this,void 0,void 0,function*(){return yield s.request("HEAD",t,null,{})}))).message.headers["content-length"];if(c==null)throw new Error("Content-Length not found on blob response");let l=parseInt(c);if(Number.isNaN(l))throw new Error(`Could not interpret Content-Length: ${l}`);let A=[],u=4*1024*1024;for(let R=0;RPn(this,void 0,void 0,function*(){return yield iUe(s,t,R,T)})})}A.reverse();let d=0,f=0,m=new sd(l);m.startDisplayTimer();let C=m.onProgress(),Q=[],S,w=o(()=>Pn(this,void 0,void 0,function*(){let R=yield Promise.race(Object.values(Q));yield i.write(R.buffer,0,R.count,R.offset),d--,delete Q[R.offset],f+=R.count,C({loadedBytes:f})}),"waitAndWrite");for(;S=A.pop();)Q[S.offset]=S.promiseGetter(),d++,d>=((n=r.downloadConcurrency)!==null&&n!==void 0?n:10)&&(yield w());for(;d>0;)yield w()}finally{s.dispose(),yield i.close()}})}o(nUe,"downloadCacheHttpClientConcurrent");function iUe(t,e,r,n){return Pn(this,void 0,void 0,function*(){let s=0;for(;;)try{let c=yield o4(3e4,sUe(t,e,r,n));if(typeof c=="string")throw new Error("downloadSegmentRetry failed due to timeout");return c}catch(a){if(s>=5)throw a;s++}})}o(iUe,"downloadSegmentRetry");function sUe(t,e,r,n){return Pn(this,void 0,void 0,function*(){let i=yield(0,dR.retryHttpClientResponse)("downloadCachePart",()=>Pn(this,void 0,void 0,function*(){return yield t.get(e,{Range:`bytes=${r}-${r+n-1}`})}));if(!i.readBodyBuffer)throw new Error("Expected HttpClientResponse to implement readBodyBuffer");return{offset:r,count:n,buffer:yield i.readBodyBuffer()}})}o(sUe,"downloadSegment");function oUe(t,e,r){return Pn(this,void 0,void 0,function*(){var n;let i=new $Le.BlockBlobClient(t,void 0,{retryOptions:{tryTimeoutInMs:r.timeoutInMs}}),a=(n=(yield i.getProperties()).contentLength)!==null&&n!==void 0?n:-1;if(a<0)id.debug("Unable to determine content length, downloading file with http-client..."),yield s4(t,e);else{let c=Math.min(134217728,KLe.constants.MAX_LENGTH),l=new sd(a),A=nd.openSync(e,"w");try{l.startDisplayTimer();let u=new tUe.AbortController,d=u.signal;for(;!l.isDone();){let f=l.segmentOffset+l.segmentSize,m=Math.min(c,a-f);l.nextSegment(m);let C=yield o4(r.segmentTimeoutInMs||36e5,i.downloadToBuffer(f,m,{abortSignal:d,concurrency:r.downloadConcurrency,onProgress:l.onProgress()}));if(C==="timeout")throw u.abort(),new Error("Aborting cache download as the download time exceeded the timeout.");Buffer.isBuffer(C)&&nd.writeFileSync(A,C)}}finally{l.stopDisplayTimer(),nd.closeSync(A)}}})}o(oUe,"downloadCacheStorageSDK");var o4=o((t,e)=>Pn(void 0,void 0,void 0,function*(){let r,n=new Promise(i=>{r=setTimeout(()=>i("timeout"),t)});return Promise.race([e,n]).then(i=>(clearTimeout(r),i))}),"promiseWithTimeout")});var c4=g(Li=>{"use strict";var aUe=Li&&Li.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),cUe=Li&&Li.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),lUe=Li&&Li.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i{"use strict";Object.defineProperty(od,"__esModule",{value:!0});od.isGhes=l4;od.getCacheServiceVersion=A4;od.getCacheServiceURL=dUe;function l4(){let e=new URL(process.env.GITHUB_SERVER_URL||"https://github.com").hostname.trimEnd().toUpperCase(),r=e==="GITHUB.COM",n=e.endsWith(".GHE.COM"),i=e.endsWith(".LOCALHOST");return!r&&!n&&!i}o(l4,"isGhes");function A4(){return l4()?"v1":process.env.ACTIONS_CACHE_SERVICE_V2?"v2":"v1"}o(A4,"getCacheServiceVersion");function dUe(){let t=A4();switch(t){case"v1":return process.env.ACTIONS_CACHE_URL||process.env.ACTIONS_RESULTS_URL||"";case"v2":return process.env.ACTIONS_RESULTS_URL||"";default:throw new Error(`Unsupported cache service version: ${t}`)}}o(dUe,"getCacheServiceURL")});var u4=g((p5e,pUe)=>{pUe.exports={name:"@actions/cache",version:"5.0.5",preview:!0,description:"Actions cache lib",keywords:["github","actions","cache"],homepage:"https://github.com/actions/toolkit/tree/main/packages/cache",license:"MIT",main:"lib/cache.js",types:"lib/cache.d.ts",directories:{lib:"lib",test:"__tests__"},files:["lib","!.DS_Store"],publishConfig:{access:"public"},repository:{type:"git",url:"git+https://github.com/actions/toolkit.git",directory:"packages/cache"},scripts:{"audit-moderate":"npm install && npm audit --json --audit-level=moderate > audit.json",test:'echo "Error: run tests from root" && exit 1',tsc:"tsc"},bugs:{url:"https://github.com/actions/toolkit/issues"},dependencies:{"@actions/core":"^2.0.0","@actions/exec":"^2.0.0","@actions/glob":"^0.5.1","@protobuf-ts/runtime-rpc":"^2.11.1","@actions/http-client":"^3.0.2","@actions/io":"^2.0.0","@azure/abort-controller":"^1.1.0","@azure/core-rest-pipeline":"^1.22.0","@azure/storage-blob":"^12.29.1",semver:"^6.3.1"},devDependencies:{"@types/node":"^24.1.0","@types/semver":"^6.0.0","@protobuf-ts/plugin":"^2.9.4",typescript:"^5.2.2"},overrides:{"uri-js":"npm:uri-js-replace@^1.0.1","node-fetch":"^3.3.2"}}});var hR=g(pR=>{"use strict";Object.defineProperty(pR,"__esModule",{value:!0});pR.getUserAgentString=fUe;var hUe=u4();function fUe(){return`@actions/cache-${hUe.version}`}o(fUe,"getUserAgentString")});var p4=g(Or=>{"use strict";var mUe=Or&&Or.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),gUe=Or&&Or.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),mR=Or&&Or.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;iTr(this,void 0,void 0,function*(){return n.getJson(ad(s))}));if(a.statusCode===204)return on.isDebug()&&(yield xUe(t[0],n,i)),null;if(!(0,lo.isSuccessStatusCode)(a.statusCode))throw new Error(`Cache service responded with ${a.statusCode}`);let c=a.result,l=c?.archiveLocation;if(!l)throw new Error("Cache not found.");return on.setSecret(l),on.debug("Cache Result:"),on.debug(JSON.stringify(c)),c})}o(NUe,"getCacheEntry");function xUe(t,e,r){return Tr(this,void 0,void 0,function*(){let n=`caches?key=${encodeURIComponent(t)}`,i=yield(0,lo.retryTypedResponse)("listCache",()=>Tr(this,void 0,void 0,function*(){return e.getJson(ad(n))}));if(i.statusCode===200){let s=i.result,a=s?.totalCount;if(a&&a>0){on.debug(`No matching cache found for cache key '${t}', version '${r} and scope ${process.env.GITHUB_REF}. There exist one or more cache(s) with similar key but they have different version or scope. See more info on cache matching here: https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#matching-a-cache-key -Other caches with similar key:`);for(let c of s?.artifactCaches||[])on.debug(`Cache Key: ${c?.cacheKey}, Cache Version: ${c?.cacheVersion}, Cache Scope: ${c?.scope}, Cache Created: ${c?.creationTime}`)}}})}o(xUe,"printCachesListForDiagnostics");function SUe(t,e,r){return Tr(this,void 0,void 0,function*(){let n=new EUe.URL(t),i=(0,gR.getDownloadOptions)(r);n.hostname.endsWith(".blob.core.windows.net")?i.useAzureSdk?yield(0,Ey.downloadCacheStorageSDK)(t,e,i):i.concurrentBlobDownloads?yield(0,Ey.downloadCacheHttpClientConcurrent)(t,e,i):yield(0,Ey.downloadCacheHttpClient)(t,e):yield(0,Ey.downloadCacheHttpClient)(t,e)})}o(SUe,"downloadCache");function RUe(t,e,r){return Tr(this,void 0,void 0,function*(){let n=yR(),i=_l.getCacheVersion(e,r?.compressionMethod,r?.enableCrossOsArchive),s={key:t,version:i,cacheSize:r?.cacheSize};return yield(0,lo.retryTypedResponse)("reserveCache",()=>Tr(this,void 0,void 0,function*(){return n.postJson(ad("caches"),s)}))})}o(RUe,"reserveCache");function d4(t,e){return`bytes ${t}-${e}/*`}o(d4,"getContentRange");function _Ue(t,e,r,n,i){return Tr(this,void 0,void 0,function*(){on.debug(`Uploading chunk of size ${i-n+1} bytes at offset ${n} with content range: ${d4(n,i)}`);let s={"Content-Type":"application/octet-stream","Content-Range":d4(n,i)},a=yield(0,lo.retryHttpClientResponse)(`uploadChunk (start: ${n}, end: ${i})`,()=>Tr(this,void 0,void 0,function*(){return t.sendStream("PATCH",e,r(),s)}));if(!(0,lo.isSuccessStatusCode)(a.message.statusCode))throw new Error(`Cache service responded with ${a.message.statusCode} during upload chunk.`)})}o(_Ue,"uploadChunk");function vUe(t,e,r,n){return Tr(this,void 0,void 0,function*(){let i=_l.getArchiveFileSizeInBytes(r),s=ad(`caches/${e.toString()}`),a=fR.openSync(r,"r"),c=(0,gR.getUploadOptions)(n),l=_l.assertDefined("uploadConcurrency",c.uploadConcurrency),A=_l.assertDefined("uploadChunkSize",c.uploadChunkSize),u=[...new Array(l).keys()];on.debug("Awaiting all uploads");let d=0;try{yield Promise.all(u.map(()=>Tr(this,void 0,void 0,function*(){for(;dfR.createReadStream(r,{fd:a,start:m,end:C,autoClose:!1}).on("error",Q=>{throw new Error(`Cache upload failed because file read failed with ${Q.message}`)}),m,C)}})))}finally{fR.closeSync(a)}})}o(vUe,"uploadFile");function PUe(t,e,r){return Tr(this,void 0,void 0,function*(){let n={size:r};return yield(0,lo.retryTypedResponse)("commitCache",()=>Tr(this,void 0,void 0,function*(){return t.postJson(ad(`caches/${e.toString()}`),n)}))})}o(PUe,"commitCache");function DUe(t,e,r,n){return Tr(this,void 0,void 0,function*(){if((0,gR.getUploadOptions)(n).useAzureSdk){if(!r)throw new Error("Azure Storage SDK can only be used when a signed URL is provided.");yield(0,BUe.uploadCacheArchiveSDK)(r,e,n)}else{let s=yR();on.debug("Upload cache"),yield vUe(s,t,e,n),on.debug("Commiting cache");let a=_l.getArchiveFileSizeInBytes(e);on.info(`Cache Size: ~${Math.round(a/(1024*1024))} MB (${a} B)`);let c=yield PUe(s,t,a);if(!(0,lo.isSuccessStatusCode)(c.statusCode))throw new Error(`Cache service responded with ${c.statusCode} during commit cache.`);on.info("Cache saved successfully")}})}o(DUe,"saveCache")});var By=g(vl=>{"use strict";Object.defineProperty(vl,"__esModule",{value:!0});vl.isJsonObject=vl.typeofJsonValue=void 0;function TUe(t){let e=typeof t;if(e=="object"){if(Array.isArray(t))return"array";if(t===null)return"null"}return e}o(TUe,"typeofJsonValue");vl.typeofJsonValue=TUe;function OUe(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}o(OUe,"isJsonObject");vl.isJsonObject=OUe});var by=g(Pl=>{"use strict";Object.defineProperty(Pl,"__esModule",{value:!0});Pl.base64encode=Pl.base64decode=void 0;var ys="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),Iy=[];for(let t=0;t>4,a=s,i=2;break;case 2:r[n++]=(a&15)<<4|(s&60)>>2,a=s,i=3;break;case 3:r[n++]=(a&3)<<6|s,i=0;break}}if(i==1)throw Error("invalid base64 string.");return r.subarray(0,n)}o(MUe,"base64decode");Pl.base64decode=MUe;function kUe(t){let e="",r=0,n,i=0;for(let s=0;s>2],i=(n&3)<<4,r=1;break;case 1:e+=ys[i|n>>4],i=(n&15)<<2,r=2;break;case 2:e+=ys[i|n>>6],e+=ys[n&63],r=0;break}return r&&(e+=ys[i],e+="=",r==1&&(e+="=")),e}o(kUe,"base64encode");Pl.base64encode=kUe});var h4=g(Qy=>{"use strict";Object.defineProperty(Qy,"__esModule",{value:!0});Qy.utf8read=void 0;var CR=o(t=>String.fromCharCode.apply(String,t),"fromCharCodes");function LUe(t){if(t.length<1)return"";let e=0,r=[],n=[],i=0,s,a=t.length;for(;e191&&s<224?n[i++]=(s&31)<<6|t[e++]&63:s>239&&s<365?(s=((s&7)<<18|(t[e++]&63)<<12|(t[e++]&63)<<6|t[e++]&63)-65536,n[i++]=55296+(s>>10),n[i++]=56320+(s&1023)):n[i++]=(s&15)<<12|(t[e++]&63)<<6|t[e++]&63,i>8191&&(r.push(CR(n)),i=0);return r.length?(i&&r.push(CR(n.slice(0,i))),r.join("")):CR(n.slice(0,i))}o(LUe,"utf8read");Qy.utf8read=LUe});var cd=g(Ui=>{"use strict";Object.defineProperty(Ui,"__esModule",{value:!0});Ui.WireType=Ui.mergeBinaryOptions=Ui.UnknownFieldHandler=void 0;var UUe;(function(t){t.symbol=Symbol.for("protobuf-ts/unknown"),t.onRead=(r,n,i,s,a)=>{(e(n)?n[t.symbol]:n[t.symbol]=[]).push({no:i,wireType:s,data:a})},t.onWrite=(r,n,i)=>{for(let{no:s,wireType:a,data:c}of t.list(n))i.tag(s,a).raw(c)},t.list=(r,n)=>{if(e(r)){let i=r[t.symbol];return n?i.filter(s=>s.no==n):i}return[]},t.last=(r,n)=>t.list(r,n).slice(-1)[0];let e=o(r=>r&&Array.isArray(r[t.symbol]),"is")})(UUe=Ui.UnknownFieldHandler||(Ui.UnknownFieldHandler={}));function FUe(t,e){return Object.assign(Object.assign({},t),e)}o(FUe,"mergeBinaryOptions");Ui.mergeBinaryOptions=FUe;var qUe;(function(t){t[t.Varint=0]="Varint",t[t.Bit64=1]="Bit64",t[t.LengthDelimited=2]="LengthDelimited",t[t.StartGroup=3]="StartGroup",t[t.EndGroup=4]="EndGroup",t[t.Bit32=5]="Bit32"})(qUe=Ui.WireType||(Ui.WireType={}))});var Ny=g(Mr=>{"use strict";Object.defineProperty(Mr,"__esModule",{value:!0});Mr.varint32read=Mr.varint32write=Mr.int64toString=Mr.int64fromString=Mr.varint64write=Mr.varint64read=void 0;function HUe(){let t=0,e=0;for(let n=0;n<28;n+=7){let i=this.buf[this.pos++];if(t|=(i&127)<>4,!(r&128))return this.assertBounds(),[t,e];for(let n=3;n<=31;n+=7){let i=this.buf[this.pos++];if(e|=(i&127)<>>s,c=!(!(a>>>7)&&e==0),l=(c?a|128:a)&255;if(r.push(l),!c)return}let n=t>>>28&15|(e&7)<<4,i=!!(e>>3);if(r.push((i?n|128:n)&255),!!i){for(let s=3;s<31;s=s+7){let a=e>>>s,c=!!(a>>>7),l=(c?a|128:a)&255;if(r.push(l),!c)return}r.push(e>>>31&1)}}o(zUe,"varint64write");Mr.varint64write=zUe;var wy=65536*65536;function jUe(t){let e=t[0]=="-";e&&(t=t.slice(1));let r=1e6,n=0,i=0;function s(a,c){let l=Number(t.slice(a,c));i*=r,n=n*r+l,n>=wy&&(i=i+(n/wy|0),n=n%wy)}return o(s,"add1e6digit"),s(-24,-18),s(-18,-12),s(-12,-6),s(-6),[e,n,i]}o(jUe,"int64fromString");Mr.int64fromString=jUe;function GUe(t,e){if(e>>>0<=2097151)return""+(wy*e+(t>>>0));let r=t&16777215,n=(t>>>24|e<<8)>>>0&16777215,i=e>>16&65535,s=r+n*6777216+i*6710656,a=n+i*8147497,c=i*2,l=1e7;s>=l&&(a+=Math.floor(s/l),s%=l),a>=l&&(c+=Math.floor(a/l),a%=l);function A(u,d){let f=u?String(u):"";return d?"0000000".slice(f.length)+f:f}return o(A,"decimalFrom1e7"),A(c,0)+A(a,c)+A(s,1)}o(GUe,"int64toString");Mr.int64toString=GUe;function YUe(t,e){if(t>=0){for(;t>127;)e.push(t&127|128),t=t>>>7;e.push(t)}else{for(let r=0;r<9;r++)e.push(t&127|128),t=t>>7;e.push(1)}}o(YUe,"varint32write");Mr.varint32write=YUe;function JUe(){let t=this.buf[this.pos++],e=t&127;if(!(t&128))return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<7,!(t&128))return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<14,!(t&128))return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<21,!(t&128))return this.assertBounds(),e;t=this.buf[this.pos++],e|=(t&15)<<28;for(let r=5;t&128&&r<10;r++)t=this.buf[this.pos++];if(t&128)throw new Error("invalid varint");return this.assertBounds(),e>>>0}o(JUe,"varint32read");Mr.varint32read=JUe});var uo=g(Ao=>{"use strict";Object.defineProperty(Ao,"__esModule",{value:!0});Ao.PbLong=Ao.PbULong=Ao.detectBi=void 0;var ld=Ny(),Je;function f4(){let t=new DataView(new ArrayBuffer(8));Je=globalThis.BigInt!==void 0&&typeof t.getBigInt64=="function"&&typeof t.getBigUint64=="function"&&typeof t.setBigInt64=="function"&&typeof t.setBigUint64=="function"?{MIN:BigInt("-9223372036854775808"),MAX:BigInt("9223372036854775807"),UMIN:BigInt("0"),UMAX:BigInt("18446744073709551615"),C:BigInt,V:t}:void 0}o(f4,"detectBi");Ao.detectBi=f4;f4();function m4(t){if(!t)throw new Error("BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support")}o(m4,"assertBi");var g4=/^-?[0-9]+$/,Sy=4294967296,xy=2147483648,Ry=class{static{o(this,"SharedPbLong")}constructor(e,r){this.lo=e|0,this.hi=r|0}isZero(){return this.lo==0&&this.hi==0}toNumber(){let e=this.hi*Sy+(this.lo>>>0);if(!Number.isSafeInteger(e))throw new Error("cannot convert to safe number");return e}},Ad=class t extends Ry{static{o(this,"PbULong")}static from(e){if(Je)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=Je.C(e);case"number":if(e===0)return this.ZERO;e=Je.C(e);case"bigint":if(!e)return this.ZERO;if(eJe.UMAX)throw new Error("ulong too large");return Je.V.setBigUint64(0,e,!0),new t(Je.V.getInt32(0,!0),Je.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!g4.test(e))throw new Error("string is no integer");let[r,n,i]=ld.int64fromString(e);if(r)throw new Error("signed value for ulong");return new t(n,i);case"number":if(e==0)return this.ZERO;if(!Number.isSafeInteger(e))throw new Error("number is no integer");if(e<0)throw new Error("signed value for ulong");return new t(e,e/Sy)}throw new Error("unknown value "+typeof e)}toString(){return Je?this.toBigInt().toString():ld.int64toString(this.lo,this.hi)}toBigInt(){return m4(Je),Je.V.setInt32(0,this.lo,!0),Je.V.setInt32(4,this.hi,!0),Je.V.getBigUint64(0,!0)}};Ao.PbULong=Ad;Ad.ZERO=new Ad(0,0);var ud=class t extends Ry{static{o(this,"PbLong")}static from(e){if(Je)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=Je.C(e);case"number":if(e===0)return this.ZERO;e=Je.C(e);case"bigint":if(!e)return this.ZERO;if(eJe.MAX)throw new Error("signed long too large");return Je.V.setBigInt64(0,e,!0),new t(Je.V.getInt32(0,!0),Je.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!g4.test(e))throw new Error("string is no integer");let[r,n,i]=ld.int64fromString(e);if(r){if(i>xy||i==xy&&n!=0)throw new Error("signed long too small")}else if(i>=xy)throw new Error("signed long too large");let s=new t(n,i);return r?s.negate():s;case"number":if(e==0)return this.ZERO;if(!Number.isSafeInteger(e))throw new Error("number is no integer");return e>0?new t(e,e/Sy):new t(-e,-e/Sy).negate()}throw new Error("unknown value "+typeof e)}isNegative(){return(this.hi&xy)!==0}negate(){let e=~this.hi,r=this.lo;return r?r=~r+1:e+=1,new t(r,e)}toString(){if(Je)return this.toBigInt().toString();if(this.isNegative()){let e=this.negate();return"-"+ld.int64toString(e.lo,e.hi)}return ld.int64toString(this.lo,this.hi)}toBigInt(){return m4(Je),Je.V.setInt32(0,this.lo,!0),Je.V.setInt32(4,this.hi,!0),Je.V.getBigInt64(0,!0)}};Ao.PbLong=ud;ud.ZERO=new ud(0,0)});var ER=g(Tl=>{"use strict";Object.defineProperty(Tl,"__esModule",{value:!0});Tl.BinaryReader=Tl.binaryReadOptions=void 0;var Dl=cd(),dd=uo(),y4=Ny(),C4={readUnknownField:!0,readerFactory:t=>new _y(t)};function VUe(t){return t?Object.assign(Object.assign({},C4),t):C4}o(VUe,"binaryReadOptions");Tl.binaryReadOptions=VUe;var _y=class{static{o(this,"BinaryReader")}constructor(e,r){this.varint64=y4.varint64read,this.uint32=y4.varint32read,this.buf=e,this.len=e.length,this.pos=0,this.view=new DataView(e.buffer,e.byteOffset,e.byteLength),this.textDecoder=r??new TextDecoder("utf-8",{fatal:!0,ignoreBOM:!0})}tag(){let e=this.uint32(),r=e>>>3,n=e&7;if(r<=0||n<0||n>5)throw new Error("illegal tag: field no "+r+" wire type "+n);return[r,n]}skip(e){let r=this.pos;switch(e){case Dl.WireType.Varint:for(;this.buf[this.pos++]&128;);break;case Dl.WireType.Bit64:this.pos+=4;case Dl.WireType.Bit32:this.pos+=4;break;case Dl.WireType.LengthDelimited:let n=this.uint32();this.pos+=n;break;case Dl.WireType.StartGroup:let i;for(;(i=this.tag()[1])!==Dl.WireType.EndGroup;)this.skip(i);break;default:throw new Error("cant skip wire type "+e)}return this.assertBounds(),this.buf.subarray(r,this.pos)}assertBounds(){if(this.pos>this.len)throw new RangeError("premature EOF")}int32(){return this.uint32()|0}sint32(){let e=this.uint32();return e>>>1^-(e&1)}int64(){return new dd.PbLong(...this.varint64())}uint64(){return new dd.PbULong(...this.varint64())}sint64(){let[e,r]=this.varint64(),n=-(e&1);return e=(e>>>1|(r&1)<<31)^n,r=r>>>1^n,new dd.PbLong(e,r)}bool(){let[e,r]=this.varint64();return e!==0||r!==0}fixed32(){return this.view.getUint32((this.pos+=4)-4,!0)}sfixed32(){return this.view.getInt32((this.pos+=4)-4,!0)}fixed64(){return new dd.PbULong(this.sfixed32(),this.sfixed32())}sfixed64(){return new dd.PbLong(this.sfixed32(),this.sfixed32())}float(){return this.view.getFloat32((this.pos+=4)-4,!0)}double(){return this.view.getFloat64((this.pos+=8)-8,!0)}bytes(){let e=this.uint32(),r=this.pos;return this.pos+=e,this.assertBounds(),this.buf.subarray(r,r+e)}string(){return this.textDecoder.decode(this.bytes())}};Tl.BinaryReader=_y});var Ol=g(Dn=>{"use strict";Object.defineProperty(Dn,"__esModule",{value:!0});Dn.assertFloat32=Dn.assertUInt32=Dn.assertInt32=Dn.assertNever=Dn.assert=void 0;function WUe(t,e){if(!t)throw new Error(e)}o(WUe,"assert");Dn.assert=WUe;function $Ue(t,e){throw new Error(e??"Unexpected object: "+t)}o($Ue,"assertNever");Dn.assertNever=$Ue;var KUe=34028234663852886e22,XUe=-34028234663852886e22,ZUe=4294967295,eFe=2147483647,tFe=-2147483648;function rFe(t){if(typeof t!="number")throw new Error("invalid int 32: "+typeof t);if(!Number.isInteger(t)||t>eFe||tZUe||t<0)throw new Error("invalid uint 32: "+t)}o(nFe,"assertUInt32");Dn.assertUInt32=nFe;function iFe(t){if(typeof t!="number")throw new Error("invalid float 32: "+typeof t);if(Number.isFinite(t)&&(t>KUe||t{"use strict";Object.defineProperty(kl,"__esModule",{value:!0});kl.BinaryWriter=kl.binaryWriteOptions=void 0;var pd=uo(),hd=Ny(),Ml=Ol(),E4={writeUnknownFields:!0,writerFactory:()=>new vy};function sFe(t){return t?Object.assign(Object.assign({},E4),t):E4}o(sFe,"binaryWriteOptions");kl.binaryWriteOptions=sFe;var vy=class{static{o(this,"BinaryWriter")}constructor(e){this.stack=[],this.textEncoder=e??new TextEncoder,this.chunks=[],this.buf=[]}finish(){this.chunks.push(new Uint8Array(this.buf));let e=0;for(let i=0;i>>0)}raw(e){return this.buf.length&&(this.chunks.push(new Uint8Array(this.buf)),this.buf=[]),this.chunks.push(e),this}uint32(e){for(Ml.assertUInt32(e);e>127;)this.buf.push(e&127|128),e=e>>>7;return this.buf.push(e),this}int32(e){return Ml.assertInt32(e),hd.varint32write(e,this.buf),this}bool(e){return this.buf.push(e?1:0),this}bytes(e){return this.uint32(e.byteLength),this.raw(e)}string(e){let r=this.textEncoder.encode(e);return this.uint32(r.byteLength),this.raw(r)}float(e){Ml.assertFloat32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setFloat32(0,e,!0),this.raw(r)}double(e){let r=new Uint8Array(8);return new DataView(r.buffer).setFloat64(0,e,!0),this.raw(r)}fixed32(e){Ml.assertUInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setUint32(0,e,!0),this.raw(r)}sfixed32(e){Ml.assertInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setInt32(0,e,!0),this.raw(r)}sint32(e){return Ml.assertInt32(e),e=(e<<1^e>>31)>>>0,hd.varint32write(e,this.buf),this}sfixed64(e){let r=new Uint8Array(8),n=new DataView(r.buffer),i=pd.PbLong.from(e);return n.setInt32(0,i.lo,!0),n.setInt32(4,i.hi,!0),this.raw(r)}fixed64(e){let r=new Uint8Array(8),n=new DataView(r.buffer),i=pd.PbULong.from(e);return n.setInt32(0,i.lo,!0),n.setInt32(4,i.hi,!0),this.raw(r)}int64(e){let r=pd.PbLong.from(e);return hd.varint64write(r.lo,r.hi,this.buf),this}sint64(e){let r=pd.PbLong.from(e),n=r.hi>>31,i=r.lo<<1^n,s=(r.hi<<1|r.lo>>>31)^n;return hd.varint64write(i,s,this.buf),this}uint64(e){let r=pd.PbULong.from(e);return hd.varint64write(r.lo,r.hi,this.buf),this}};kl.BinaryWriter=vy});var IR=g(po=>{"use strict";Object.defineProperty(po,"__esModule",{value:!0});po.mergeJsonOptions=po.jsonWriteOptions=po.jsonReadOptions=void 0;var B4={emitDefaultValues:!1,enumAsInteger:!1,useProtoFieldName:!1,prettySpaces:0},I4={ignoreUnknownFields:!1};function oFe(t){return t?Object.assign(Object.assign({},I4),t):I4}o(oFe,"jsonReadOptions");po.jsonReadOptions=oFe;function aFe(t){return t?Object.assign(Object.assign({},B4),t):B4}o(aFe,"jsonWriteOptions");po.jsonWriteOptions=aFe;function cFe(t,e){var r,n;let i=Object.assign(Object.assign({},t),e);return i.typeRegistry=[...(r=t?.typeRegistry)!==null&&r!==void 0?r:[],...(n=e?.typeRegistry)!==null&&n!==void 0?n:[]],i}o(cFe,"mergeJsonOptions");po.mergeJsonOptions=cFe});var fd=g(Py=>{"use strict";Object.defineProperty(Py,"__esModule",{value:!0});Py.MESSAGE_TYPE=void 0;Py.MESSAGE_TYPE=Symbol.for("protobuf-ts/message-type")});var bR=g(Dy=>{"use strict";Object.defineProperty(Dy,"__esModule",{value:!0});Dy.lowerCamelCase=void 0;function lFe(t){let e=!1,r=[];for(let n=0;n{"use strict";Object.defineProperty(Mt,"__esModule",{value:!0});Mt.readMessageOption=Mt.readFieldOption=Mt.readFieldOptions=Mt.normalizeFieldInfo=Mt.RepeatType=Mt.LongType=Mt.ScalarType=void 0;var b4=bR(),AFe;(function(t){t[t.DOUBLE=1]="DOUBLE",t[t.FLOAT=2]="FLOAT",t[t.INT64=3]="INT64",t[t.UINT64=4]="UINT64",t[t.INT32=5]="INT32",t[t.FIXED64=6]="FIXED64",t[t.FIXED32=7]="FIXED32",t[t.BOOL=8]="BOOL",t[t.STRING=9]="STRING",t[t.BYTES=12]="BYTES",t[t.UINT32=13]="UINT32",t[t.SFIXED32=15]="SFIXED32",t[t.SFIXED64=16]="SFIXED64",t[t.SINT32=17]="SINT32",t[t.SINT64=18]="SINT64"})(AFe=Mt.ScalarType||(Mt.ScalarType={}));var uFe;(function(t){t[t.BIGINT=0]="BIGINT",t[t.STRING=1]="STRING",t[t.NUMBER=2]="NUMBER"})(uFe=Mt.LongType||(Mt.LongType={}));var Q4;(function(t){t[t.NO=0]="NO",t[t.PACKED=1]="PACKED",t[t.UNPACKED=2]="UNPACKED"})(Q4=Mt.RepeatType||(Mt.RepeatType={}));function dFe(t){var e,r,n,i;return t.localName=(e=t.localName)!==null&&e!==void 0?e:b4.lowerCamelCase(t.name),t.jsonName=(r=t.jsonName)!==null&&r!==void 0?r:b4.lowerCamelCase(t.name),t.repeat=(n=t.repeat)!==null&&n!==void 0?n:Q4.NO,t.opt=(i=t.opt)!==null&&i!==void 0?i:t.repeat||t.oneof?!1:t.kind=="message",t}o(dFe,"normalizeFieldInfo");Mt.normalizeFieldInfo=dFe;function pFe(t,e,r,n){var i;let s=(i=t.fields.find((a,c)=>a.localName==e||c==e))===null||i===void 0?void 0:i.options;return s&&s[r]?n.fromJson(s[r]):void 0}o(pFe,"readFieldOptions");Mt.readFieldOptions=pFe;function hFe(t,e,r,n){var i;let s=(i=t.fields.find((c,l)=>c.localName==e||l==e))===null||i===void 0?void 0:i.options;if(!s)return;let a=s[r];return a===void 0?a:n?n.fromJson(a):a}o(hFe,"readFieldOption");Mt.readFieldOption=hFe;function fFe(t,e,r){let i=t.options[e];return i===void 0?i:r?r.fromJson(i):i}o(fFe,"readMessageOption");Mt.readMessageOption=fFe});var QR=g(kr=>{"use strict";Object.defineProperty(kr,"__esModule",{value:!0});kr.getSelectedOneofValue=kr.clearOneofValue=kr.setUnknownOneofValue=kr.setOneofValue=kr.getOneofValue=kr.isOneofGroup=void 0;function mFe(t){if(typeof t!="object"||t===null||!t.hasOwnProperty("oneofKind"))return!1;switch(typeof t.oneofKind){case"string":return t[t.oneofKind]===void 0?!1:Object.keys(t).length==2;case"undefined":return Object.keys(t).length==1;default:return!1}}o(mFe,"isOneofGroup");kr.isOneofGroup=mFe;function gFe(t,e){return t[e]}o(gFe,"getOneofValue");kr.getOneofValue=gFe;function yFe(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&(t[e]=r)}o(yFe,"setOneofValue");kr.setOneofValue=yFe;function CFe(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&e!==void 0&&(t[e]=r)}o(CFe,"setUnknownOneofValue");kr.setUnknownOneofValue=CFe;function EFe(t){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=void 0}o(EFe,"clearOneofValue");kr.clearOneofValue=EFe;function BFe(t){if(t.oneofKind!==void 0)return t[t.oneofKind]}o(BFe,"getSelectedOneofValue");kr.getSelectedOneofValue=BFe});var NR=g(Ty=>{"use strict";Object.defineProperty(Ty,"__esModule",{value:!0});Ty.ReflectionTypeCheck=void 0;var Bt=ri(),IFe=QR(),wR=class{static{o(this,"ReflectionTypeCheck")}constructor(e){var r;this.fields=(r=e.fields)!==null&&r!==void 0?r:[]}prepare(){if(this.data)return;let e=[],r=[],n=[];for(let i of this.fields)if(i.oneof)n.includes(i.oneof)||(n.push(i.oneof),e.push(i.oneof),r.push(i.oneof));else switch(r.push(i.localName),i.kind){case"scalar":case"enum":(!i.opt||i.repeat)&&e.push(i.localName);break;case"message":i.repeat&&e.push(i.localName);break;case"map":e.push(i.localName);break}this.data={req:e,known:r,oneofs:Object.values(n)}}is(e,r,n=!1){if(r<0)return!0;if(e==null||typeof e!="object")return!1;this.prepare();let i=Object.keys(e),s=this.data;if(i.length!i.includes(a))||!n&&i.some(a=>!s.known.includes(a)))return!1;if(r<1)return!0;for(let a of s.oneofs){let c=e[a];if(!IFe.isOneofGroup(c))return!1;if(c.oneofKind===void 0)continue;let l=this.fields.find(A=>A.localName===c.oneofKind);if(!l||!this.field(c[c.oneofKind],l,n,r))return!1}for(let a of this.fields)if(a.oneof===void 0&&!this.field(e[a.localName],a,n,r))return!1;return!0}field(e,r,n,i){let s=r.repeat;switch(r.kind){case"scalar":return e===void 0?r.opt:s?this.scalars(e,r.T,i,r.L):this.scalar(e,r.T,r.L);case"enum":return e===void 0?r.opt:s?this.scalars(e,Bt.ScalarType.INT32,i):this.scalar(e,Bt.ScalarType.INT32);case"message":return e===void 0?!0:s?this.messages(e,r.T(),n,i):this.message(e,r.T(),n,i);case"map":if(typeof e!="object"||e===null)return!1;if(i<2)return!0;if(!this.mapKeys(e,r.K,i))return!1;switch(r.V.kind){case"scalar":return this.scalars(Object.values(e),r.V.T,i,r.V.L);case"enum":return this.scalars(Object.values(e),Bt.ScalarType.INT32,i);case"message":return this.messages(Object.values(e),r.V.T(),n,i)}break}return!0}message(e,r,n,i){return n?r.isAssignable(e,i):r.is(e,i)}messages(e,r,n,i){if(!Array.isArray(e))return!1;if(i<2)return!0;if(n){for(let s=0;sparseInt(s)),r,n);case Bt.ScalarType.BOOL:return this.scalars(i.slice(0,n).map(s=>s=="true"?!0:s=="false"?!1:s),r,n);default:return this.scalars(i,r,n,Bt.LongType.STRING)}}};Ty.ReflectionTypeCheck=wR});var My=g(Oy=>{"use strict";Object.defineProperty(Oy,"__esModule",{value:!0});Oy.reflectionLongConvert=void 0;var w4=ri();function bFe(t,e){switch(e){case w4.LongType.BIGINT:return t.toBigInt();case w4.LongType.NUMBER:return t.toNumber();default:return t.toString()}}o(bFe,"reflectionLongConvert");Oy.reflectionLongConvert=bFe});var SR=g(Uy=>{"use strict";Object.defineProperty(Uy,"__esModule",{value:!0});Uy.ReflectionJsonReader=void 0;var N4=By(),QFe=by(),kt=ri(),ky=uo(),ma=Ol(),Ly=My(),xR=class{static{o(this,"ReflectionJsonReader")}constructor(e){this.info=e}prepare(){var e;if(this.fMap===void 0){this.fMap={};let r=(e=this.info.fields)!==null&&e!==void 0?e:[];for(let n of r)this.fMap[n.name]=n,this.fMap[n.jsonName]=n,this.fMap[n.localName]=n}}assert(e,r,n){if(!e){let i=N4.typeofJsonValue(n);throw(i=="number"||i=="boolean")&&(i=n.toString()),new Error(`Cannot parse JSON ${i} for ${this.info.typeName}#${r}`)}}read(e,r,n){this.prepare();let i=[];for(let[s,a]of Object.entries(e)){let c=this.fMap[s];if(!c){if(!n.ignoreUnknownFields)throw new Error(`Found unknown field while reading ${this.info.typeName} from JSON format. JSON key: ${s}`);continue}let l=c.localName,A;if(c.oneof){if(a===null&&(c.kind!=="enum"||c.T()[0]!=="google.protobuf.NullValue"))continue;if(i.includes(c.oneof))throw new Error(`Multiple members of the oneof group "${c.oneof}" of ${this.info.typeName} are present in JSON.`);i.push(c.oneof),A=r[c.oneof]={oneofKind:l}}else A=r;if(c.kind=="map"){if(a===null)continue;this.assert(N4.isJsonObject(a),c.name,a);let u=A[l];for(let[d,f]of Object.entries(a)){this.assert(f!==null,c.name+" map value",null);let m;switch(c.V.kind){case"message":m=c.V.T().internalJsonRead(f,n);break;case"enum":if(m=this.enum(c.V.T(),f,c.name,n.ignoreUnknownFields),m===!1)continue;break;case"scalar":m=this.scalar(f,c.V.T,c.V.L,c.name);break}this.assert(m!==void 0,c.name+" map value",f);let C=d;c.K==kt.ScalarType.BOOL&&(C=C=="true"?!0:C=="false"?!1:C),C=this.scalar(C,c.K,kt.LongType.STRING,c.name).toString(),u[C]=m}}else if(c.repeat){if(a===null)continue;this.assert(Array.isArray(a),c.name,a);let u=A[l];for(let d of a){this.assert(d!==null,c.name,null);let f;switch(c.kind){case"message":f=c.T().internalJsonRead(d,n);break;case"enum":if(f=this.enum(c.T(),d,c.name,n.ignoreUnknownFields),f===!1)continue;break;case"scalar":f=this.scalar(d,c.T,c.L,c.name);break}this.assert(f!==void 0,c.name,a),u.push(f)}}else switch(c.kind){case"message":if(a===null&&c.T().typeName!="google.protobuf.Value"){this.assert(c.oneof===void 0,c.name+" (oneof member)",null);continue}A[l]=c.T().internalJsonRead(a,n,A[l]);break;case"enum":if(a===null)continue;let u=this.enum(c.T(),a,c.name,n.ignoreUnknownFields);if(u===!1)continue;A[l]=u;break;case"scalar":if(a===null)continue;A[l]=this.scalar(a,c.T,c.L,c.name);break}}}enum(e,r,n,i){if(e[0]=="google.protobuf.NullValue"&&ma.assert(r===null||r==="NULL_VALUE",`Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} only accepts null.`),r===null)return 0;switch(typeof r){case"number":return ma.assert(Number.isInteger(r),`Unable to parse field ${this.info.typeName}#${n}, enum can only be integral number, got ${r}.`),r;case"string":let s=r;e[2]&&r.substring(0,e[2].length)===e[2]&&(s=r.substring(e[2].length));let a=e[1][s];return typeof a>"u"&&i?!1:(ma.assert(typeof a=="number",`Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} has no value for "${r}".`),a)}ma.assert(!1,`Unable to parse field ${this.info.typeName}#${n}, cannot parse enum value from ${typeof r}".`)}scalar(e,r,n,i){let s;try{switch(r){case kt.ScalarType.DOUBLE:case kt.ScalarType.FLOAT:if(e===null)return 0;if(e==="NaN")return Number.NaN;if(e==="Infinity")return Number.POSITIVE_INFINITY;if(e==="-Infinity")return Number.NEGATIVE_INFINITY;if(e===""){s="empty string";break}if(typeof e=="string"&&e.trim().length!==e.length){s="extra whitespace";break}if(typeof e!="string"&&typeof e!="number")break;let a=Number(e);if(Number.isNaN(a)){s="not a number";break}if(!Number.isFinite(a)){s="too large or small";break}return r==kt.ScalarType.FLOAT&&ma.assertFloat32(a),a;case kt.ScalarType.INT32:case kt.ScalarType.FIXED32:case kt.ScalarType.SFIXED32:case kt.ScalarType.SINT32:case kt.ScalarType.UINT32:if(e===null)return 0;let c;if(typeof e=="number"?c=e:e===""?s="empty string":typeof e=="string"&&(e.trim().length!==e.length?s="extra whitespace":c=Number(e)),c===void 0)break;return r==kt.ScalarType.UINT32?ma.assertUInt32(c):ma.assertInt32(c),c;case kt.ScalarType.INT64:case kt.ScalarType.SFIXED64:case kt.ScalarType.SINT64:if(e===null)return Ly.reflectionLongConvert(ky.PbLong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return Ly.reflectionLongConvert(ky.PbLong.from(e),n);case kt.ScalarType.FIXED64:case kt.ScalarType.UINT64:if(e===null)return Ly.reflectionLongConvert(ky.PbULong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return Ly.reflectionLongConvert(ky.PbULong.from(e),n);case kt.ScalarType.BOOL:if(e===null)return!1;if(typeof e!="boolean")break;return e;case kt.ScalarType.STRING:if(e===null)return"";if(typeof e!="string"){s="extra whitespace";break}try{encodeURIComponent(e)}catch(l){l="invalid UTF8";break}return e;case kt.ScalarType.BYTES:if(e===null||e==="")return new Uint8Array(0);if(typeof e!="string")break;return QFe.base64decode(e)}}catch(a){s=a.message}this.assert(!1,i+(s?" - "+s:""),e)}};Uy.ReflectionJsonReader=xR});var _R=g(Fy=>{"use strict";Object.defineProperty(Fy,"__esModule",{value:!0});Fy.ReflectionJsonWriter=void 0;var wFe=by(),x4=uo(),Cr=ri(),ct=Ol(),RR=class{static{o(this,"ReflectionJsonWriter")}constructor(e){var r;this.fields=(r=e.fields)!==null&&r!==void 0?r:[]}write(e,r){let n={},i=e;for(let s of this.fields){if(!s.oneof){let A=this.field(s,i[s.localName],r);A!==void 0&&(n[r.useProtoFieldName?s.name:s.jsonName]=A);continue}let a=i[s.oneof];if(a.oneofKind!==s.localName)continue;let c=s.kind=="scalar"||s.kind=="enum"?Object.assign(Object.assign({},r),{emitDefaultValues:!0}):r,l=this.field(s,a[s.localName],c);ct.assert(l!==void 0),n[r.useProtoFieldName?s.name:s.jsonName]=l}return n}field(e,r,n){let i;if(e.kind=="map"){ct.assert(typeof r=="object"&&r!==null);let s={};switch(e.V.kind){case"scalar":for(let[l,A]of Object.entries(r)){let u=this.scalar(e.V.T,A,e.name,!1,!0);ct.assert(u!==void 0),s[l.toString()]=u}break;case"message":let a=e.V.T();for(let[l,A]of Object.entries(r)){let u=this.message(a,A,e.name,n);ct.assert(u!==void 0),s[l.toString()]=u}break;case"enum":let c=e.V.T();for(let[l,A]of Object.entries(r)){ct.assert(A===void 0||typeof A=="number");let u=this.enum(c,A,e.name,!1,!0,n.enumAsInteger);ct.assert(u!==void 0),s[l.toString()]=u}break}(n.emitDefaultValues||Object.keys(s).length>0)&&(i=s)}else if(e.repeat){ct.assert(Array.isArray(r));let s=[];switch(e.kind){case"scalar":for(let l=0;l0||n.emitDefaultValues)&&(i=s)}else switch(e.kind){case"scalar":i=this.scalar(e.T,r,e.name,e.opt,n.emitDefaultValues);break;case"enum":i=this.enum(e.T(),r,e.name,e.opt,n.emitDefaultValues,n.enumAsInteger);break;case"message":i=this.message(e.T(),r,e.name,n);break}return i}enum(e,r,n,i,s,a){if(e[0]=="google.protobuf.NullValue")return!s&&!i?void 0:null;if(r===void 0){ct.assert(i);return}if(!(r===0&&!s&&!i))return ct.assert(typeof r=="number"),ct.assert(Number.isInteger(r)),a||!e[1].hasOwnProperty(r)?r:e[2]?e[2]+e[1][r]:e[1][r]}message(e,r,n,i){return r===void 0?i.emitDefaultValues?null:void 0:e.internalJsonWrite(r,i)}scalar(e,r,n,i,s){if(r===void 0){ct.assert(i);return}let a=s||i;switch(e){case Cr.ScalarType.INT32:case Cr.ScalarType.SFIXED32:case Cr.ScalarType.SINT32:return r===0?a?0:void 0:(ct.assertInt32(r),r);case Cr.ScalarType.FIXED32:case Cr.ScalarType.UINT32:return r===0?a?0:void 0:(ct.assertUInt32(r),r);case Cr.ScalarType.FLOAT:ct.assertFloat32(r);case Cr.ScalarType.DOUBLE:return r===0?a?0:void 0:(ct.assert(typeof r=="number"),Number.isNaN(r)?"NaN":r===Number.POSITIVE_INFINITY?"Infinity":r===Number.NEGATIVE_INFINITY?"-Infinity":r);case Cr.ScalarType.STRING:return r===""?a?"":void 0:(ct.assert(typeof r=="string"),r);case Cr.ScalarType.BOOL:return r===!1?a?!1:void 0:(ct.assert(typeof r=="boolean"),r);case Cr.ScalarType.UINT64:case Cr.ScalarType.FIXED64:ct.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let c=x4.PbULong.from(r);return c.isZero()&&!a?void 0:c.toString();case Cr.ScalarType.INT64:case Cr.ScalarType.SFIXED64:case Cr.ScalarType.SINT64:ct.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let l=x4.PbLong.from(r);return l.isZero()&&!a?void 0:l.toString();case Cr.ScalarType.BYTES:return ct.assert(r instanceof Uint8Array),r.byteLength?wFe.base64encode(r):a?"":void 0}}};Fy.ReflectionJsonWriter=RR});var Hy=g(qy=>{"use strict";Object.defineProperty(qy,"__esModule",{value:!0});qy.reflectionScalarDefault=void 0;var ni=ri(),S4=My(),R4=uo();function NFe(t,e=ni.LongType.STRING){switch(t){case ni.ScalarType.BOOL:return!1;case ni.ScalarType.UINT64:case ni.ScalarType.FIXED64:return S4.reflectionLongConvert(R4.PbULong.ZERO,e);case ni.ScalarType.INT64:case ni.ScalarType.SFIXED64:case ni.ScalarType.SINT64:return S4.reflectionLongConvert(R4.PbLong.ZERO,e);case ni.ScalarType.DOUBLE:case ni.ScalarType.FLOAT:return 0;case ni.ScalarType.BYTES:return new Uint8Array(0);case ni.ScalarType.STRING:return"";default:return 0}}o(NFe,"reflectionScalarDefault");qy.reflectionScalarDefault=NFe});var PR=g(zy=>{"use strict";Object.defineProperty(zy,"__esModule",{value:!0});zy.ReflectionBinaryReader=void 0;var _4=cd(),xt=ri(),md=My(),v4=Hy(),vR=class{static{o(this,"ReflectionBinaryReader")}constructor(e){this.info=e}prepare(){var e;if(!this.fieldNoToField){let r=(e=this.info.fields)!==null&&e!==void 0?e:[];this.fieldNoToField=new Map(r.map(n=>[n.no,n]))}}read(e,r,n,i){this.prepare();let s=i===void 0?e.len:e.pos+i;for(;e.pos{"use strict";Object.defineProperty(jy,"__esModule",{value:!0});jy.ReflectionBinaryWriter=void 0;var an=cd(),Ke=ri(),Ll=Ol(),gd=uo(),DR=class{static{o(this,"ReflectionBinaryWriter")}constructor(e){this.info=e}prepare(){if(!this.fields){let e=this.info.fields?this.info.fields.concat():[];this.fields=e.sort((r,n)=>r.no-n.no)}}write(e,r,n){this.prepare();for(let s of this.fields){let a,c,l=s.repeat,A=s.localName;if(s.oneof){let u=e[s.oneof];if(u.oneofKind!==A)continue;a=u[A],c=!0}else a=e[A],c=!1;switch(s.kind){case"scalar":case"enum":let u=s.kind=="enum"?Ke.ScalarType.INT32:s.T;if(l)if(Ll.assert(Array.isArray(a)),l==Ke.RepeatType.PACKED)this.packed(r,u,s.no,a);else for(let d of a)this.scalar(r,u,s.no,d,!0);else a===void 0?Ll.assert(s.opt):this.scalar(r,u,s.no,a,c||s.opt);break;case"message":if(l){Ll.assert(Array.isArray(a));for(let d of a)this.message(r,n,s.T(),s.no,d)}else this.message(r,n,s.T(),s.no,a);break;case"map":Ll.assert(typeof a=="object"&&a!==null);for(let[d,f]of Object.entries(a))this.mapEntry(r,n,s,d,f);break}}let i=n.writeUnknownFields;i!==!1&&(i===!0?an.UnknownFieldHandler.onWrite:i)(this.info.typeName,e,r)}mapEntry(e,r,n,i,s){e.tag(n.no,an.WireType.LengthDelimited),e.fork();let a=i;switch(n.K){case Ke.ScalarType.INT32:case Ke.ScalarType.FIXED32:case Ke.ScalarType.UINT32:case Ke.ScalarType.SFIXED32:case Ke.ScalarType.SINT32:a=Number.parseInt(i);break;case Ke.ScalarType.BOOL:Ll.assert(i=="true"||i=="false"),a=i=="true";break}switch(this.scalar(e,n.K,1,a,!0),n.V.kind){case"scalar":this.scalar(e,n.V.T,2,s,!0);break;case"enum":this.scalar(e,Ke.ScalarType.INT32,2,s,!0);break;case"message":this.message(e,r,n.V.T(),2,s);break}e.join()}message(e,r,n,i,s){s!==void 0&&(n.internalBinaryWrite(s,e.tag(i,an.WireType.LengthDelimited).fork(),r),e.join())}scalar(e,r,n,i,s){let[a,c,l]=this.scalarInfo(r,i);(!l||s)&&(e.tag(n,a),e[c](i))}packed(e,r,n,i){if(!i.length)return;Ll.assert(r!==Ke.ScalarType.BYTES&&r!==Ke.ScalarType.STRING),e.tag(n,an.WireType.LengthDelimited),e.fork();let[,s]=this.scalarInfo(r);for(let a=0;a{"use strict";Object.defineProperty(Gy,"__esModule",{value:!0});Gy.reflectionCreate=void 0;var xFe=Hy(),SFe=fd();function RFe(t){let e=t.messagePrototype?Object.create(t.messagePrototype):Object.defineProperty({},SFe.MESSAGE_TYPE,{value:t});for(let r of t.fields){let n=r.localName;if(!r.opt)if(r.oneof)e[r.oneof]={oneofKind:void 0};else if(r.repeat)e[n]=[];else switch(r.kind){case"scalar":e[n]=xFe.reflectionScalarDefault(r.T,r.L);break;case"enum":e[n]=0;break;case"map":e[n]={};break}}return e}o(RFe,"reflectionCreate");Gy.reflectionCreate=RFe});var MR=g(Yy=>{"use strict";Object.defineProperty(Yy,"__esModule",{value:!0});Yy.reflectionMergePartial=void 0;function _Fe(t,e,r){let n,i=r,s;for(let a of t.fields){let c=a.localName;if(a.oneof){let l=i[a.oneof];if(l?.oneofKind==null)continue;if(n=l[c],s=e[a.oneof],s.oneofKind=l.oneofKind,n==null){delete s[c];continue}}else if(n=i[c],s=e,n==null)continue;switch(a.repeat&&(s[c].length=n.length),a.kind){case"scalar":case"enum":if(a.repeat)for(let A=0;A{"use strict";Object.defineProperty(Vy,"__esModule",{value:!0});Vy.reflectionEquals=void 0;var kR=ri();function vFe(t,e,r){if(e===r)return!0;if(!e||!r)return!1;for(let n of t.fields){let i=n.localName,s=n.oneof?e[n.oneof][i]:e[i],a=n.oneof?r[n.oneof][i]:r[i];switch(n.kind){case"enum":case"scalar":let c=n.kind=="enum"?kR.ScalarType.INT32:n.T;if(!(n.repeat?P4(c,s,a):T4(c,s,a)))return!1;break;case"map":if(!(n.V.kind=="message"?D4(n.V.T(),Jy(s),Jy(a)):P4(n.V.kind=="enum"?kR.ScalarType.INT32:n.V.T,Jy(s),Jy(a))))return!1;break;case"message":let l=n.T();if(!(n.repeat?D4(l,s,a):l.equals(s,a)))return!1;break}}return!0}o(vFe,"reflectionEquals");Vy.reflectionEquals=vFe;var Jy=Object.values;function T4(t,e,r){if(e===r)return!0;if(t!==kR.ScalarType.BYTES)return!1;let n=e,i=r;if(n.length!==i.length)return!1;for(let s=0;s{"use strict";Object.defineProperty(Wy,"__esModule",{value:!0});Wy.MessageType=void 0;var PFe=fd(),DFe=ri(),TFe=NR(),OFe=SR(),MFe=_R(),kFe=PR(),LFe=TR(),UFe=OR(),UR=MR(),FFe=By(),O4=IR(),qFe=LR(),HFe=BR(),zFe=ER(),M4=Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})),jFe=M4[PFe.MESSAGE_TYPE]={},FR=class{static{o(this,"MessageType")}constructor(e,r,n){this.defaultCheckDepth=16,this.typeName=e,this.fields=r.map(DFe.normalizeFieldInfo),this.options=n??{},jFe.value=this,this.messagePrototype=Object.create(null,M4),this.refTypeCheck=new TFe.ReflectionTypeCheck(this),this.refJsonReader=new OFe.ReflectionJsonReader(this),this.refJsonWriter=new MFe.ReflectionJsonWriter(this),this.refBinReader=new kFe.ReflectionBinaryReader(this),this.refBinWriter=new LFe.ReflectionBinaryWriter(this)}create(e){let r=UFe.reflectionCreate(this);return e!==void 0&&UR.reflectionMergePartial(this,r,e),r}clone(e){let r=this.create();return UR.reflectionMergePartial(this,r,e),r}equals(e,r){return qFe.reflectionEquals(this,e,r)}is(e,r=this.defaultCheckDepth){return this.refTypeCheck.is(e,r,!1)}isAssignable(e,r=this.defaultCheckDepth){return this.refTypeCheck.is(e,r,!0)}mergePartial(e,r){UR.reflectionMergePartial(this,e,r)}fromBinary(e,r){let n=zFe.binaryReadOptions(r);return this.internalBinaryRead(n.readerFactory(e),e.byteLength,n)}fromJson(e,r){return this.internalJsonRead(e,O4.jsonReadOptions(r))}fromJsonString(e,r){let n=JSON.parse(e);return this.fromJson(n,r)}toJson(e,r){return this.internalJsonWrite(e,O4.jsonWriteOptions(r))}toJsonString(e,r){var n;let i=this.toJson(e,r);return JSON.stringify(i,null,(n=r?.prettySpaces)!==null&&n!==void 0?n:0)}toBinary(e,r){let n=HFe.binaryWriteOptions(r);return this.internalBinaryWrite(e,n.writerFactory(),n).finish()}internalJsonRead(e,r,n){if(e!==null&&typeof e=="object"&&!Array.isArray(e)){let i=n??this.create();return this.refJsonReader.read(e,i,r),i}throw new Error(`Unable to parse message ${this.typeName} from JSON ${FFe.typeofJsonValue(e)}.`)}internalJsonWrite(e,r){return this.refJsonWriter.write(e,r)}internalBinaryWrite(e,r,n){return this.refBinWriter.write(e,r,n),r}internalBinaryRead(e,r,n,i){let s=i??this.create();return this.refBinReader.read(e,s,n,r),s}};Wy.MessageType=FR});var L4=g($y=>{"use strict";Object.defineProperty($y,"__esModule",{value:!0});$y.containsMessageType=void 0;var GFe=fd();function YFe(t){return t[GFe.MESSAGE_TYPE]!=null}o(YFe,"containsMessageType");$y.containsMessageType=YFe});var F4=g(Fi=>{"use strict";Object.defineProperty(Fi,"__esModule",{value:!0});Fi.listEnumNumbers=Fi.listEnumNames=Fi.listEnumValues=Fi.isEnumObject=void 0;function U4(t){if(typeof t!="object"||t===null||!t.hasOwnProperty(0))return!1;for(let e of Object.keys(t)){let r=parseInt(e);if(Number.isNaN(r)){let n=t[e];if(n===void 0||typeof n!="number"||t[n]===void 0)return!1}else{let n=t[r];if(n===void 0||t[n]!==r)return!1}}return!0}o(U4,"isEnumObject");Fi.isEnumObject=U4;function qR(t){if(!U4(t))throw new Error("not a typescript enum object");let e=[];for(let[r,n]of Object.entries(t))typeof n=="number"&&e.push({name:r,number:n});return e}o(qR,"listEnumValues");Fi.listEnumValues=qR;function JFe(t){return qR(t).map(e=>e.name)}o(JFe,"listEnumNames");Fi.listEnumNames=JFe;function VFe(t){return qR(t).map(e=>e.number).filter((e,r,n)=>n.indexOf(e)==r)}o(VFe,"listEnumNumbers");Fi.listEnumNumbers=VFe});var St=g(re=>{"use strict";Object.defineProperty(re,"__esModule",{value:!0});var q4=By();Object.defineProperty(re,"typeofJsonValue",{enumerable:!0,get:function(){return q4.typeofJsonValue}});Object.defineProperty(re,"isJsonObject",{enumerable:!0,get:function(){return q4.isJsonObject}});var H4=by();Object.defineProperty(re,"base64decode",{enumerable:!0,get:function(){return H4.base64decode}});Object.defineProperty(re,"base64encode",{enumerable:!0,get:function(){return H4.base64encode}});var WFe=h4();Object.defineProperty(re,"utf8read",{enumerable:!0,get:function(){return WFe.utf8read}});var HR=cd();Object.defineProperty(re,"WireType",{enumerable:!0,get:function(){return HR.WireType}});Object.defineProperty(re,"mergeBinaryOptions",{enumerable:!0,get:function(){return HR.mergeBinaryOptions}});Object.defineProperty(re,"UnknownFieldHandler",{enumerable:!0,get:function(){return HR.UnknownFieldHandler}});var z4=ER();Object.defineProperty(re,"BinaryReader",{enumerable:!0,get:function(){return z4.BinaryReader}});Object.defineProperty(re,"binaryReadOptions",{enumerable:!0,get:function(){return z4.binaryReadOptions}});var j4=BR();Object.defineProperty(re,"BinaryWriter",{enumerable:!0,get:function(){return j4.BinaryWriter}});Object.defineProperty(re,"binaryWriteOptions",{enumerable:!0,get:function(){return j4.binaryWriteOptions}});var G4=uo();Object.defineProperty(re,"PbLong",{enumerable:!0,get:function(){return G4.PbLong}});Object.defineProperty(re,"PbULong",{enumerable:!0,get:function(){return G4.PbULong}});var zR=IR();Object.defineProperty(re,"jsonReadOptions",{enumerable:!0,get:function(){return zR.jsonReadOptions}});Object.defineProperty(re,"jsonWriteOptions",{enumerable:!0,get:function(){return zR.jsonWriteOptions}});Object.defineProperty(re,"mergeJsonOptions",{enumerable:!0,get:function(){return zR.mergeJsonOptions}});var $Fe=fd();Object.defineProperty(re,"MESSAGE_TYPE",{enumerable:!0,get:function(){return $Fe.MESSAGE_TYPE}});var KFe=k4();Object.defineProperty(re,"MessageType",{enumerable:!0,get:function(){return KFe.MessageType}});var ga=ri();Object.defineProperty(re,"ScalarType",{enumerable:!0,get:function(){return ga.ScalarType}});Object.defineProperty(re,"LongType",{enumerable:!0,get:function(){return ga.LongType}});Object.defineProperty(re,"RepeatType",{enumerable:!0,get:function(){return ga.RepeatType}});Object.defineProperty(re,"normalizeFieldInfo",{enumerable:!0,get:function(){return ga.normalizeFieldInfo}});Object.defineProperty(re,"readFieldOptions",{enumerable:!0,get:function(){return ga.readFieldOptions}});Object.defineProperty(re,"readFieldOption",{enumerable:!0,get:function(){return ga.readFieldOption}});Object.defineProperty(re,"readMessageOption",{enumerable:!0,get:function(){return ga.readMessageOption}});var XFe=NR();Object.defineProperty(re,"ReflectionTypeCheck",{enumerable:!0,get:function(){return XFe.ReflectionTypeCheck}});var ZFe=OR();Object.defineProperty(re,"reflectionCreate",{enumerable:!0,get:function(){return ZFe.reflectionCreate}});var eqe=Hy();Object.defineProperty(re,"reflectionScalarDefault",{enumerable:!0,get:function(){return eqe.reflectionScalarDefault}});var tqe=MR();Object.defineProperty(re,"reflectionMergePartial",{enumerable:!0,get:function(){return tqe.reflectionMergePartial}});var rqe=LR();Object.defineProperty(re,"reflectionEquals",{enumerable:!0,get:function(){return rqe.reflectionEquals}});var nqe=PR();Object.defineProperty(re,"ReflectionBinaryReader",{enumerable:!0,get:function(){return nqe.ReflectionBinaryReader}});var iqe=TR();Object.defineProperty(re,"ReflectionBinaryWriter",{enumerable:!0,get:function(){return iqe.ReflectionBinaryWriter}});var sqe=SR();Object.defineProperty(re,"ReflectionJsonReader",{enumerable:!0,get:function(){return sqe.ReflectionJsonReader}});var oqe=_R();Object.defineProperty(re,"ReflectionJsonWriter",{enumerable:!0,get:function(){return oqe.ReflectionJsonWriter}});var aqe=L4();Object.defineProperty(re,"containsMessageType",{enumerable:!0,get:function(){return aqe.containsMessageType}});var yd=QR();Object.defineProperty(re,"isOneofGroup",{enumerable:!0,get:function(){return yd.isOneofGroup}});Object.defineProperty(re,"setOneofValue",{enumerable:!0,get:function(){return yd.setOneofValue}});Object.defineProperty(re,"getOneofValue",{enumerable:!0,get:function(){return yd.getOneofValue}});Object.defineProperty(re,"clearOneofValue",{enumerable:!0,get:function(){return yd.clearOneofValue}});Object.defineProperty(re,"getSelectedOneofValue",{enumerable:!0,get:function(){return yd.getSelectedOneofValue}});var Ky=F4();Object.defineProperty(re,"listEnumValues",{enumerable:!0,get:function(){return Ky.listEnumValues}});Object.defineProperty(re,"listEnumNames",{enumerable:!0,get:function(){return Ky.listEnumNames}});Object.defineProperty(re,"listEnumNumbers",{enumerable:!0,get:function(){return Ky.listEnumNumbers}});Object.defineProperty(re,"isEnumObject",{enumerable:!0,get:function(){return Ky.isEnumObject}});var cqe=bR();Object.defineProperty(re,"lowerCamelCase",{enumerable:!0,get:function(){return cqe.lowerCamelCase}});var Cd=Ol();Object.defineProperty(re,"assert",{enumerable:!0,get:function(){return Cd.assert}});Object.defineProperty(re,"assertNever",{enumerable:!0,get:function(){return Cd.assertNever}});Object.defineProperty(re,"assertInt32",{enumerable:!0,get:function(){return Cd.assertInt32}});Object.defineProperty(re,"assertUInt32",{enumerable:!0,get:function(){return Cd.assertUInt32}});Object.defineProperty(re,"assertFloat32",{enumerable:!0,get:function(){return Cd.assertFloat32}})});var jR=g(qi=>{"use strict";Object.defineProperty(qi,"__esModule",{value:!0});qi.readServiceOption=qi.readMethodOption=qi.readMethodOptions=qi.normalizeMethodInfo=void 0;var lqe=St();function Aqe(t,e){var r,n,i;let s=t;return s.service=e,s.localName=(r=s.localName)!==null&&r!==void 0?r:lqe.lowerCamelCase(s.name),s.serverStreaming=!!s.serverStreaming,s.clientStreaming=!!s.clientStreaming,s.options=(n=s.options)!==null&&n!==void 0?n:{},s.idempotency=(i=s.idempotency)!==null&&i!==void 0?i:void 0,s}o(Aqe,"normalizeMethodInfo");qi.normalizeMethodInfo=Aqe;function uqe(t,e,r,n){var i;let s=(i=t.methods.find((a,c)=>a.localName===e||c===e))===null||i===void 0?void 0:i.options;return s&&s[r]?n.fromJson(s[r]):void 0}o(uqe,"readMethodOptions");qi.readMethodOptions=uqe;function dqe(t,e,r,n){var i;let s=(i=t.methods.find((c,l)=>c.localName===e||l===e))===null||i===void 0?void 0:i.options;if(!s)return;let a=s[r];return a===void 0?a:n?n.fromJson(a):a}o(dqe,"readMethodOption");qi.readMethodOption=dqe;function pqe(t,e,r){let n=t.options;if(!n)return;let i=n[e];return i===void 0?i:r?r.fromJson(i):i}o(pqe,"readServiceOption");qi.readServiceOption=pqe});var Y4=g(Xy=>{"use strict";Object.defineProperty(Xy,"__esModule",{value:!0});Xy.ServiceType=void 0;var hqe=jR(),GR=class{static{o(this,"ServiceType")}constructor(e,r,n){this.typeName=e,this.methods=r.map(i=>hqe.normalizeMethodInfo(i,this)),this.options=n??{}}};Xy.ServiceType=GR});var JR=g(Zy=>{"use strict";Object.defineProperty(Zy,"__esModule",{value:!0});Zy.RpcError=void 0;var YR=class extends Error{static{o(this,"RpcError")}constructor(e,r="UNKNOWN",n){super(e),this.name="RpcError",Object.setPrototypeOf(this,new.target.prototype),this.code=r,this.meta=n??{}}toString(){let e=[this.name+": "+this.message];this.code&&(e.push(""),e.push("Code: "+this.code)),this.serviceName&&this.methodName&&e.push("Method: "+this.serviceName+"/"+this.methodName);let r=Object.entries(this.meta);if(r.length){e.push(""),e.push("Meta:");for(let[n,i]of r)e.push(` ${n}: ${i}`)}return e.join(` -`)}};Zy.RpcError=YR});var VR=g(tC=>{"use strict";Object.defineProperty(tC,"__esModule",{value:!0});tC.mergeRpcOptions=void 0;var J4=St();function fqe(t,e){if(!e)return t;let r={};eC(t,r),eC(e,r);for(let n of Object.keys(e)){let i=e[n];switch(n){case"jsonOptions":r.jsonOptions=J4.mergeJsonOptions(t.jsonOptions,r.jsonOptions);break;case"binaryOptions":r.binaryOptions=J4.mergeBinaryOptions(t.binaryOptions,r.binaryOptions);break;case"meta":r.meta={},eC(t.meta,r.meta),eC(e.meta,r.meta);break;case"interceptors":r.interceptors=t.interceptors?t.interceptors.concat(i):i.concat();break}}return r}o(fqe,"mergeRpcOptions");tC.mergeRpcOptions=fqe;function eC(t,e){if(!t)return;let r=e;for(let[n,i]of Object.entries(t))i instanceof Date?r[n]=new Date(i.getTime()):Array.isArray(i)?r[n]=i.concat():r[n]=i}o(eC,"copy")});var $R=g(ya=>{"use strict";Object.defineProperty(ya,"__esModule",{value:!0});ya.Deferred=ya.DeferredState=void 0;var Hi;(function(t){t[t.PENDING=0]="PENDING",t[t.REJECTED=1]="REJECTED",t[t.RESOLVED=2]="RESOLVED"})(Hi=ya.DeferredState||(ya.DeferredState={}));var WR=class{static{o(this,"Deferred")}constructor(e=!0){this._state=Hi.PENDING,this._promise=new Promise((r,n)=>{this._resolve=r,this._reject=n}),e&&this._promise.catch(r=>{})}get state(){return this._state}get promise(){return this._promise}resolve(e){if(this.state!==Hi.PENDING)throw new Error(`cannot resolve ${Hi[this.state].toLowerCase()}`);this._resolve(e),this._state=Hi.RESOLVED}reject(e){if(this.state!==Hi.PENDING)throw new Error(`cannot reject ${Hi[this.state].toLowerCase()}`);this._reject(e),this._state=Hi.REJECTED}resolvePending(e){this._state===Hi.PENDING&&this.resolve(e)}rejectPending(e){this._state===Hi.PENDING&&this.reject(e)}};ya.Deferred=WR});var XR=g(rC=>{"use strict";Object.defineProperty(rC,"__esModule",{value:!0});rC.RpcOutputStreamController=void 0;var V4=$R(),Ca=St(),KR=class{static{o(this,"RpcOutputStreamController")}constructor(){this._lis={nxt:[],msg:[],err:[],cmp:[]},this._closed=!1,this._itState={q:[]}}onNext(e){return this.addLis(e,this._lis.nxt)}onMessage(e){return this.addLis(e,this._lis.msg)}onError(e){return this.addLis(e,this._lis.err)}onComplete(e){return this.addLis(e,this._lis.cmp)}addLis(e,r){return r.push(e),()=>{let n=r.indexOf(e);n>=0&&r.splice(n,1)}}clearLis(){for(let e of Object.values(this._lis))e.splice(0,e.length)}get closed(){return this._closed!==!1}notifyNext(e,r,n){Ca.assert((e?1:0)+(r?1:0)+(n?1:0)<=1,"only one emission at a time"),e&&this.notifyMessage(e),r&&this.notifyError(r),n&&this.notifyComplete()}notifyMessage(e){Ca.assert(!this.closed,"stream is closed"),this.pushIt({value:e,done:!1}),this._lis.msg.forEach(r=>r(e)),this._lis.nxt.forEach(r=>r(e,void 0,!1))}notifyError(e){Ca.assert(!this.closed,"stream is closed"),this._closed=e,this.pushIt(e),this._lis.err.forEach(r=>r(e)),this._lis.nxt.forEach(r=>r(void 0,e,!1)),this.clearLis()}notifyComplete(){Ca.assert(!this.closed,"stream is closed"),this._closed=!0,this.pushIt({value:null,done:!0}),this._lis.cmp.forEach(e=>e()),this._lis.nxt.forEach(e=>e(void 0,void 0,!0)),this.clearLis()}[Symbol.asyncIterator](){return this._closed===!0?this.pushIt({value:null,done:!0}):this._closed!==!1&&this.pushIt(this._closed),{next:()=>{let e=this._itState;Ca.assert(e,"bad state"),Ca.assert(!e.p,"iterator contract broken");let r=e.q.shift();return r?"value"in r?Promise.resolve(r):Promise.reject(r):(e.p=new V4.Deferred,e.p.promise)}}}pushIt(e){let r=this._itState;if(r.p){let n=r.p;Ca.assert(n.state==V4.DeferredState.PENDING,"iterator contract broken"),"value"in e?n.resolve(e):n.reject(e),delete r.p}else r.q.push(e)}};rC.RpcOutputStreamController=KR});var e_=g(Ul=>{"use strict";var mqe=Ul&&Ul.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(Ul,"__esModule",{value:!0});Ul.UnaryCall=void 0;var ZR=class{static{o(this,"UnaryCall")}constructor(e,r,n,i,s,a,c){this.method=e,this.requestHeaders=r,this.request=n,this.headers=i,this.response=s,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return mqe(this,void 0,void 0,function*(){let[e,r,n,i]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:e,response:r,status:n,trailers:i}})}};Ul.UnaryCall=ZR});var r_=g(Fl=>{"use strict";var gqe=Fl&&Fl.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(Fl,"__esModule",{value:!0});Fl.ServerStreamingCall=void 0;var t_=class{static{o(this,"ServerStreamingCall")}constructor(e,r,n,i,s,a,c){this.method=e,this.requestHeaders=r,this.request=n,this.headers=i,this.responses=s,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return gqe(this,void 0,void 0,function*(){let[e,r,n]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:e,status:r,trailers:n}})}};Fl.ServerStreamingCall=t_});var i_=g(ql=>{"use strict";var yqe=ql&&ql.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(ql,"__esModule",{value:!0});ql.ClientStreamingCall=void 0;var n_=class{static{o(this,"ClientStreamingCall")}constructor(e,r,n,i,s,a,c){this.method=e,this.requestHeaders=r,this.requests=n,this.headers=i,this.response=s,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return yqe(this,void 0,void 0,function*(){let[e,r,n,i]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:e,response:r,status:n,trailers:i}})}};ql.ClientStreamingCall=n_});var o_=g(Hl=>{"use strict";var Cqe=Hl&&Hl.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(Hl,"__esModule",{value:!0});Hl.DuplexStreamingCall=void 0;var s_=class{static{o(this,"DuplexStreamingCall")}constructor(e,r,n,i,s,a,c){this.method=e,this.requestHeaders=r,this.requests=n,this.headers=i,this.responses=s,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return Cqe(this,void 0,void 0,function*(){let[e,r,n]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:e,status:r,trailers:n}})}};Hl.DuplexStreamingCall=s_});var $4=g(Gl=>{"use strict";var Eqe=Gl&&Gl.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(Gl,"__esModule",{value:!0});Gl.TestTransport=void 0;var Tn=JR(),nC=St(),W4=XR(),Bqe=VR(),Iqe=e_(),bqe=r_(),Qqe=i_(),wqe=o_(),jl=class t{static{o(this,"TestTransport")}constructor(e){this.suppressUncaughtRejections=!0,this.headerDelay=10,this.responseDelay=50,this.betweenResponseDelay=10,this.afterResponseDelay=10,this.data=e??{}}get sentMessages(){return this.lastInput instanceof zl?this.lastInput.sent:typeof this.lastInput=="object"?[this.lastInput.single]:[]}get sendComplete(){return this.lastInput instanceof zl?this.lastInput.completed:typeof this.lastInput=="object"}promiseHeaders(){var e;let r=(e=this.data.headers)!==null&&e!==void 0?e:t.defaultHeaders;return r instanceof Tn.RpcError?Promise.reject(r):Promise.resolve(r)}promiseSingleResponse(e){if(this.data.response instanceof Tn.RpcError)return Promise.reject(this.data.response);let r;return Array.isArray(this.data.response)?(nC.assert(this.data.response.length>0),r=this.data.response[0]):this.data.response!==void 0?r=this.data.response:r=e.O.create(),nC.assert(e.O.is(r)),Promise.resolve(r)}streamResponses(e,r,n){return Eqe(this,void 0,void 0,function*(){let i=[];if(this.data.response===void 0)i.push(e.O.create());else if(Array.isArray(this.data.response))for(let s of this.data.response)nC.assert(e.O.is(s)),i.push(s);else this.data.response instanceof Tn.RpcError||(nC.assert(e.O.is(this.data.response)),i.push(this.data.response));try{yield Jt(this.responseDelay,n)(void 0)}catch(s){r.notifyError(s);return}if(this.data.response instanceof Tn.RpcError){r.notifyError(this.data.response);return}for(let s of i){r.notifyMessage(s);try{yield Jt(this.betweenResponseDelay,n)(void 0)}catch(a){r.notifyError(a);return}}if(this.data.status instanceof Tn.RpcError){r.notifyError(this.data.status);return}if(this.data.trailers instanceof Tn.RpcError){r.notifyError(this.data.trailers);return}r.notifyComplete()})}promiseStatus(){var e;let r=(e=this.data.status)!==null&&e!==void 0?e:t.defaultStatus;return r instanceof Tn.RpcError?Promise.reject(r):Promise.resolve(r)}promiseTrailers(){var e;let r=(e=this.data.trailers)!==null&&e!==void 0?e:t.defaultTrailers;return r instanceof Tn.RpcError?Promise.reject(r):Promise.resolve(r)}maybeSuppressUncaught(...e){if(this.suppressUncaughtRejections)for(let r of e)r.catch(()=>{})}mergeOptions(e){return Bqe.mergeRpcOptions({},e)}unary(e,r,n){var i;let s=(i=n.meta)!==null&&i!==void 0?i:{},a=this.promiseHeaders().then(Jt(this.headerDelay,n.abort)),c=a.catch(u=>{}).then(Jt(this.responseDelay,n.abort)).then(u=>this.promiseSingleResponse(e)),l=c.catch(u=>{}).then(Jt(this.afterResponseDelay,n.abort)).then(u=>this.promiseStatus()),A=c.catch(u=>{}).then(Jt(this.afterResponseDelay,n.abort)).then(u=>this.promiseTrailers());return this.maybeSuppressUncaught(l,A),this.lastInput={single:r},new Iqe.UnaryCall(e,s,r,a,c,l,A)}serverStreaming(e,r,n){var i;let s=(i=n.meta)!==null&&i!==void 0?i:{},a=this.promiseHeaders().then(Jt(this.headerDelay,n.abort)),c=new W4.RpcOutputStreamController,l=a.then(Jt(this.responseDelay,n.abort)).catch(()=>{}).then(()=>this.streamResponses(e,c,n.abort)).then(Jt(this.afterResponseDelay,n.abort)),A=l.then(()=>this.promiseStatus()),u=l.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(A,u),this.lastInput={single:r},new bqe.ServerStreamingCall(e,s,r,a,c,A,u)}clientStreaming(e,r){var n;let i=(n=r.meta)!==null&&n!==void 0?n:{},s=this.promiseHeaders().then(Jt(this.headerDelay,r.abort)),a=s.catch(A=>{}).then(Jt(this.responseDelay,r.abort)).then(A=>this.promiseSingleResponse(e)),c=a.catch(A=>{}).then(Jt(this.afterResponseDelay,r.abort)).then(A=>this.promiseStatus()),l=a.catch(A=>{}).then(Jt(this.afterResponseDelay,r.abort)).then(A=>this.promiseTrailers());return this.maybeSuppressUncaught(c,l),this.lastInput=new zl(this.data,r.abort),new Qqe.ClientStreamingCall(e,i,this.lastInput,s,a,c,l)}duplex(e,r){var n;let i=(n=r.meta)!==null&&n!==void 0?n:{},s=this.promiseHeaders().then(Jt(this.headerDelay,r.abort)),a=new W4.RpcOutputStreamController,c=s.then(Jt(this.responseDelay,r.abort)).catch(()=>{}).then(()=>this.streamResponses(e,a,r.abort)).then(Jt(this.afterResponseDelay,r.abort)),l=c.then(()=>this.promiseStatus()),A=c.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(l,A),this.lastInput=new zl(this.data,r.abort),new wqe.DuplexStreamingCall(e,i,this.lastInput,s,a,l,A)}};Gl.TestTransport=jl;jl.defaultHeaders={responseHeader:"test"};jl.defaultStatus={code:"OK",detail:"all good"};jl.defaultTrailers={responseTrailer:"test"};function Jt(t,e){return r=>new Promise((n,i)=>{if(e?.aborted)i(new Tn.RpcError("user cancel","CANCELLED"));else{let s=setTimeout(()=>n(r),t);e&&e.addEventListener("abort",a=>{clearTimeout(s),i(new Tn.RpcError("user cancel","CANCELLED"))})}})}o(Jt,"delay");var zl=class{static{o(this,"TestInputStream")}constructor(e,r){this._completed=!1,this._sent=[],this.data=e,this.abort=r}get sent(){return this._sent}get completed(){return this._completed}send(e){if(this.data.inputMessage instanceof Tn.RpcError)return Promise.reject(this.data.inputMessage);let r=this.data.inputMessage===void 0?10:this.data.inputMessage;return Promise.resolve(void 0).then(()=>{this._sent.push(e)}).then(Jt(r,this.abort))}complete(){if(this.data.inputComplete instanceof Tn.RpcError)return Promise.reject(this.data.inputComplete);let e=this.data.inputComplete===void 0?10:this.data.inputComplete;return Promise.resolve(void 0).then(()=>{this._completed=!0}).then(Jt(e,this.abort))}}});var K4=g(On=>{"use strict";Object.defineProperty(On,"__esModule",{value:!0});On.stackDuplexStreamingInterceptors=On.stackClientStreamingInterceptors=On.stackServerStreamingInterceptors=On.stackUnaryInterceptors=On.stackIntercept=void 0;var Nqe=St();function Ed(t,e,r,n,i){var s,a,c,l;if(t=="unary"){let A=o((u,d,f)=>e.unary(u,d,f),"tail");for(let u of((s=n.interceptors)!==null&&s!==void 0?s:[]).filter(d=>d.interceptUnary).reverse()){let d=A;A=o((f,m,C)=>u.interceptUnary(d,f,m,C),"tail")}return A(r,i,n)}if(t=="serverStreaming"){let A=o((u,d,f)=>e.serverStreaming(u,d,f),"tail");for(let u of((a=n.interceptors)!==null&&a!==void 0?a:[]).filter(d=>d.interceptServerStreaming).reverse()){let d=A;A=o((f,m,C)=>u.interceptServerStreaming(d,f,m,C),"tail")}return A(r,i,n)}if(t=="clientStreaming"){let A=o((u,d)=>e.clientStreaming(u,d),"tail");for(let u of((c=n.interceptors)!==null&&c!==void 0?c:[]).filter(d=>d.interceptClientStreaming).reverse()){let d=A;A=o((f,m)=>u.interceptClientStreaming(d,f,m),"tail")}return A(r,n)}if(t=="duplex"){let A=o((u,d)=>e.duplex(u,d),"tail");for(let u of((l=n.interceptors)!==null&&l!==void 0?l:[]).filter(d=>d.interceptDuplex).reverse()){let d=A;A=o((f,m)=>u.interceptDuplex(d,f,m),"tail")}return A(r,n)}Nqe.assertNever(t)}o(Ed,"stackIntercept");On.stackIntercept=Ed;function xqe(t,e,r,n){return Ed("unary",t,e,n,r)}o(xqe,"stackUnaryInterceptors");On.stackUnaryInterceptors=xqe;function Sqe(t,e,r,n){return Ed("serverStreaming",t,e,n,r)}o(Sqe,"stackServerStreamingInterceptors");On.stackServerStreamingInterceptors=Sqe;function Rqe(t,e,r){return Ed("clientStreaming",t,e,r)}o(Rqe,"stackClientStreamingInterceptors");On.stackClientStreamingInterceptors=Rqe;function _qe(t,e,r){return Ed("duplex",t,e,r)}o(_qe,"stackDuplexStreamingInterceptors");On.stackDuplexStreamingInterceptors=_qe});var X4=g(iC=>{"use strict";Object.defineProperty(iC,"__esModule",{value:!0});iC.ServerCallContextController=void 0;var a_=class{static{o(this,"ServerCallContextController")}constructor(e,r,n,i,s={code:"OK",detail:""}){this._cancelled=!1,this._listeners=[],this.method=e,this.headers=r,this.deadline=n,this.trailers={},this._sendRH=i,this.status=s}notifyCancelled(){if(!this._cancelled){this._cancelled=!0;for(let e of this._listeners)e()}}sendResponseHeaders(e){this._sendRH(e)}get cancelled(){return this._cancelled}onCancel(e){let r=this._listeners;return r.push(e),()=>{let n=r.indexOf(e);n>=0&&r.splice(n,1)}}};iC.ServerCallContextController=a_});var e8=g(It=>{"use strict";Object.defineProperty(It,"__esModule",{value:!0});var vqe=Y4();Object.defineProperty(It,"ServiceType",{enumerable:!0,get:function(){return vqe.ServiceType}});var c_=jR();Object.defineProperty(It,"readMethodOptions",{enumerable:!0,get:function(){return c_.readMethodOptions}});Object.defineProperty(It,"readMethodOption",{enumerable:!0,get:function(){return c_.readMethodOption}});Object.defineProperty(It,"readServiceOption",{enumerable:!0,get:function(){return c_.readServiceOption}});var Pqe=JR();Object.defineProperty(It,"RpcError",{enumerable:!0,get:function(){return Pqe.RpcError}});var Dqe=VR();Object.defineProperty(It,"mergeRpcOptions",{enumerable:!0,get:function(){return Dqe.mergeRpcOptions}});var Tqe=XR();Object.defineProperty(It,"RpcOutputStreamController",{enumerable:!0,get:function(){return Tqe.RpcOutputStreamController}});var Oqe=$4();Object.defineProperty(It,"TestTransport",{enumerable:!0,get:function(){return Oqe.TestTransport}});var Z4=$R();Object.defineProperty(It,"Deferred",{enumerable:!0,get:function(){return Z4.Deferred}});Object.defineProperty(It,"DeferredState",{enumerable:!0,get:function(){return Z4.DeferredState}});var Mqe=o_();Object.defineProperty(It,"DuplexStreamingCall",{enumerable:!0,get:function(){return Mqe.DuplexStreamingCall}});var kqe=i_();Object.defineProperty(It,"ClientStreamingCall",{enumerable:!0,get:function(){return kqe.ClientStreamingCall}});var Lqe=r_();Object.defineProperty(It,"ServerStreamingCall",{enumerable:!0,get:function(){return Lqe.ServerStreamingCall}});var Uqe=e_();Object.defineProperty(It,"UnaryCall",{enumerable:!0,get:function(){return Uqe.UnaryCall}});var Bd=K4();Object.defineProperty(It,"stackIntercept",{enumerable:!0,get:function(){return Bd.stackIntercept}});Object.defineProperty(It,"stackDuplexStreamingInterceptors",{enumerable:!0,get:function(){return Bd.stackDuplexStreamingInterceptors}});Object.defineProperty(It,"stackClientStreamingInterceptors",{enumerable:!0,get:function(){return Bd.stackClientStreamingInterceptors}});Object.defineProperty(It,"stackServerStreamingInterceptors",{enumerable:!0,get:function(){return Bd.stackServerStreamingInterceptors}});Object.defineProperty(It,"stackUnaryInterceptors",{enumerable:!0,get:function(){return Bd.stackUnaryInterceptors}});var Fqe=X4();Object.defineProperty(It,"ServerCallContextController",{enumerable:!0,get:function(){return Fqe.ServerCallContextController}})});var n8=g(sC=>{"use strict";Object.defineProperty(sC,"__esModule",{value:!0});sC.CacheScope=void 0;var t8=St(),r8=St(),qqe=St(),Hqe=St(),zqe=St(),l_=class extends zqe.MessageType{static{o(this,"CacheScope$Type")}constructor(){super("github.actions.results.entities.v1.CacheScope",[{no:1,name:"scope",kind:"scalar",T:9},{no:2,name:"permission",kind:"scalar",T:3}])}create(e){let r={scope:"",permission:"0"};return globalThis.Object.defineProperty(r,Hqe.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,qqe.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos{"use strict";Object.defineProperty(oC,"__esModule",{value:!0});oC.CacheMetadata=void 0;var i8=St(),s8=St(),jqe=St(),Gqe=St(),Yqe=St(),A_=n8(),u_=class extends Yqe.MessageType{static{o(this,"CacheMetadata$Type")}constructor(){super("github.actions.results.entities.v1.CacheMetadata",[{no:1,name:"repository_id",kind:"scalar",T:3},{no:2,name:"scope",kind:"message",repeat:1,T:()=>A_.CacheScope}])}create(e){let r={repositoryId:"0",scope:[]};return globalThis.Object.defineProperty(r,Gqe.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,jqe.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos{"use strict";Object.defineProperty(bt,"__esModule",{value:!0});bt.CacheService=bt.GetCacheEntryDownloadURLResponse=bt.GetCacheEntryDownloadURLRequest=bt.FinalizeCacheEntryUploadResponse=bt.FinalizeCacheEntryUploadRequest=bt.CreateCacheEntryResponse=bt.CreateCacheEntryRequest=void 0;var Jqe=e8(),Dt=St(),Mn=St(),Yl=St(),Jl=St(),Vl=St(),Cs=o8(),d_=class extends Vl.MessageType{static{o(this,"CreateCacheEntryRequest$Type")}constructor(){super("github.actions.results.api.v1.CreateCacheEntryRequest",[{no:1,name:"metadata",kind:"message",T:()=>Cs.CacheMetadata},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"version",kind:"scalar",T:9}])}create(e){let r={key:"",version:""};return globalThis.Object.defineProperty(r,Jl.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Yl.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.posCs.CacheMetadata},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"size_bytes",kind:"scalar",T:3},{no:4,name:"version",kind:"scalar",T:9}])}create(e){let r={key:"",sizeBytes:"0",version:""};return globalThis.Object.defineProperty(r,Jl.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Yl.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.posCs.CacheMetadata},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"restore_keys",kind:"scalar",repeat:2,T:9},{no:4,name:"version",kind:"scalar",T:9}])}create(e){let r={key:"",restoreKeys:[],version:""};return globalThis.Object.defineProperty(r,Jl.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Yl.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos{"use strict";Object.defineProperty(Wl,"__esModule",{value:!0});Wl.CacheServiceClientProtobuf=Wl.CacheServiceClientJSON=void 0;var kn=a8(),y_=class{static{o(this,"CacheServiceClientJSON")}constructor(e){this.rpc=e,this.CreateCacheEntry.bind(this),this.FinalizeCacheEntryUpload.bind(this),this.GetCacheEntryDownloadURL.bind(this)}CreateCacheEntry(e){let r=kn.CreateCacheEntryRequest.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","CreateCacheEntry","application/json",r).then(i=>kn.CreateCacheEntryResponse.fromJson(i,{ignoreUnknownFields:!0}))}FinalizeCacheEntryUpload(e){let r=kn.FinalizeCacheEntryUploadRequest.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/json",r).then(i=>kn.FinalizeCacheEntryUploadResponse.fromJson(i,{ignoreUnknownFields:!0}))}GetCacheEntryDownloadURL(e){let r=kn.GetCacheEntryDownloadURLRequest.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/json",r).then(i=>kn.GetCacheEntryDownloadURLResponse.fromJson(i,{ignoreUnknownFields:!0}))}};Wl.CacheServiceClientJSON=y_;var C_=class{static{o(this,"CacheServiceClientProtobuf")}constructor(e){this.rpc=e,this.CreateCacheEntry.bind(this),this.FinalizeCacheEntryUpload.bind(this),this.GetCacheEntryDownloadURL.bind(this)}CreateCacheEntry(e){let r=kn.CreateCacheEntryRequest.toBinary(e);return this.rpc.request("github.actions.results.api.v1.CacheService","CreateCacheEntry","application/protobuf",r).then(i=>kn.CreateCacheEntryResponse.fromBinary(i))}FinalizeCacheEntryUpload(e){let r=kn.FinalizeCacheEntryUploadRequest.toBinary(e);return this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/protobuf",r).then(i=>kn.FinalizeCacheEntryUploadResponse.fromBinary(i))}GetCacheEntryDownloadURL(e){let r=kn.GetCacheEntryDownloadURLRequest.toBinary(e);return this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/protobuf",r).then(i=>kn.GetCacheEntryDownloadURLResponse.fromBinary(i))}};Wl.CacheServiceClientProtobuf=C_});var l8=g(cC=>{"use strict";Object.defineProperty(cC,"__esModule",{value:!0});cC.maskSigUrl=E_;cC.maskSecretUrls=Vqe;var aC=ft();function E_(t){if(t)try{let r=new URL(t).searchParams.get("sig");r&&((0,aC.setSecret)(r),(0,aC.setSecret)(encodeURIComponent(r)))}catch(e){(0,aC.debug)(`Failed to parse URL: ${t} ${e instanceof Error?e.message:String(e)}`)}}o(E_,"maskSigUrl");function Vqe(t){if(typeof t!="object"||t===null){(0,aC.debug)("body is not an object or is null");return}"signed_upload_url"in t&&typeof t.signed_upload_url=="string"&&E_(t.signed_upload_url),"signed_download_url"in t&&typeof t.signed_download_url=="string"&&E_(t.signed_download_url)}o(Vqe,"maskSecretUrls")});var A8=g(Id=>{"use strict";var lC=Id&&Id.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(Id,"__esModule",{value:!0});Id.internalCacheTwirpClient=t1e;var Ea=ft(),Wqe=hR(),Ba=cR(),$qe=Cy(),Kqe=Tc(),Xqe=Mh(),$l=qs(),Zqe=c8(),e1e=l8(),B_=class{static{o(this,"CacheServiceClient")}constructor(e,r,n,i){this.maxAttempts=5,this.baseRetryIntervalMilliseconds=3e3,this.retryMultiplier=1.5;let s=(0,Kqe.getRuntimeToken)();this.baseUrl=(0,$qe.getCacheServiceURL)(),r&&(this.maxAttempts=r),n&&(this.baseRetryIntervalMilliseconds=n),i&&(this.retryMultiplier=i),this.httpClient=new $l.HttpClient(e,[new Xqe.BearerCredentialHandler(s)])}request(e,r,n,i){return lC(this,void 0,void 0,function*(){let s=new URL(`/twirp/${e}/${r}`,this.baseUrl).href;(0,Ea.debug)(`[Request] ${r} ${s}`);let a={"Content-Type":n};try{let{body:c}=yield this.retryableRequest(()=>lC(this,void 0,void 0,function*(){return this.httpClient.post(s,JSON.stringify(i),a)}));return c}catch(c){throw new Error(`Failed to ${r}: ${c.message}`)}})}retryableRequest(e){return lC(this,void 0,void 0,function*(){let r=0,n="",i="";for(;r0&&(0,Ea.warning)(`You've hit a rate limit, your rate limit will reset in ${d} seconds`)}throw new Ba.RateLimitError(`Rate limited: ${n}`)}}catch(c){if(c instanceof SyntaxError&&(0,Ea.debug)(`Raw Body: ${i}`),c instanceof Ba.UsageError||c instanceof Ba.RateLimitError)throw c;if(Ba.NetworkError.isNetworkErrorCode(c?.code))throw new Ba.NetworkError(c?.code);s=!0,n=c.message}if(!s)throw new Error(`Received non-retryable error: ${n}`);if(r+1===this.maxAttempts)throw new Error(`Failed to make request after ${this.maxAttempts} attempts: ${n}`);let a=this.getExponentialRetryTimeMilliseconds(r);(0,Ea.info)(`Attempt ${r+1} of ${this.maxAttempts} failed with error: ${n}. Retrying request in ${a} ms...`),yield this.sleep(a),r++}throw new Error("Request failed")})}isSuccessStatusCode(e){return e?e>=200&&e<300:!1}isRetryableHttpStatusCode(e){return e?[$l.HttpCodes.BadGateway,$l.HttpCodes.GatewayTimeout,$l.HttpCodes.InternalServerError,$l.HttpCodes.ServiceUnavailable].includes(e):!1}sleep(e){return lC(this,void 0,void 0,function*(){return new Promise(r=>setTimeout(r,e))})}getExponentialRetryTimeMilliseconds(e){if(e<0)throw new Error("attempt should be a positive integer");if(e===0)return this.baseRetryIntervalMilliseconds;let r=this.baseRetryIntervalMilliseconds*Math.pow(this.retryMultiplier,e),n=r*this.retryMultiplier;return Math.trunc(Math.random()*(n-r)+r)}};function t1e(t){let e=new B_((0,Wqe.getUserAgentString)(),t?.maxAttempts,t?.retryIntervalMs,t?.retryMultiplier);return new Zqe.CacheServiceClientJSON(e)}o(t1e,"internalCacheTwirpClient")});var p8=g(cn=>{"use strict";var r1e=cn&&cn.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),n1e=cn&&cn.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),I_=cn&&cn.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i{"use strict";var d1e=Lt&&Lt.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),p1e=Lt&&Lt.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),Qd=Lt&&Lt.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i512)throw new Ln(`Key Validation Error: ${t} cannot be larger than 512 characters.`);if(!/^[^,]*$/.test(t))throw new Ln(`Key Validation Error: ${t} cannot contain commas.`)}o(N_,"checkKey");function h1e(){switch((0,dC.getCacheServiceVersion)()){case"v2":return!!process.env.ACTIONS_RESULTS_URL;case"v1":default:return!!process.env.ACTIONS_CACHE_URL}}o(h1e,"isFeatureAvailable");function f1e(t,e,r,n){return Xl(this,arguments,void 0,function*(i,s,a,c,l=!1){let A=(0,dC.getCacheServiceVersion)();switch(ie.debug(`Cache service version: ${A}`),f8(i),A){case"v2":return yield g1e(i,s,a,c,l);case"v1":default:return yield m1e(i,s,a,c,l)}})}o(f1e,"restoreCache");function m1e(t,e,r,n){return Xl(this,arguments,void 0,function*(i,s,a,c,l=!1){a=a||[];let A=[s,...a];if(ie.debug("Resolved Keys:"),ie.debug(JSON.stringify(A)),A.length>10)throw new Ln("Key Validation Error: Keys are limited to a maximum of 10.");for(let f of A)N_(f);let u=yield lt.getCompressionMethod(),d="";try{let f=yield Kl.getCacheEntry(A,i,{compressionMethod:u,enableCrossOsArchive:l});if(!f?.archiveLocation)return;if(c?.lookupOnly)return ie.info("Lookup only - skipping download"),f.cacheKey;d=uC.join(yield lt.createTempDirectory(),lt.getCacheFileName(u)),ie.debug(`Archive Path: ${d}`),yield Kl.downloadCache(f.archiveLocation,d,c),ie.isDebug()&&(yield(0,fo.listTar)(d,u));let m=lt.getArchiveFileSizeInBytes(d);return ie.info(`Cache Size: ~${Math.round(m/(1024*1024))} MB (${m} B)`),yield(0,fo.extractTar)(d,u),ie.info("Cache restored successfully"),f.cacheKey}catch(f){let m=f;if(m.name===Ln.name)throw f;m instanceof pC.HttpClientError&&typeof m.statusCode=="number"&&m.statusCode>=500?ie.error(`Failed to restore: ${f.message}`):ie.warning(`Failed to restore: ${f.message}`)}finally{try{yield lt.unlinkFile(d)}catch(f){ie.debug(`Failed to delete archive: ${f}`)}}})}o(m1e,"restoreCacheV1");function g1e(t,e,r,n){return Xl(this,arguments,void 0,function*(i,s,a,c,l=!1){c=Object.assign(Object.assign({},c),{useAzureSdk:!0}),a=a||[];let A=[s,...a];if(ie.debug("Resolved Keys:"),ie.debug(JSON.stringify(A)),A.length>10)throw new Ln("Key Validation Error: Keys are limited to a maximum of 10.");for(let d of A)N_(d);let u="";try{let d=h8.internalCacheTwirpClient(),f=yield lt.getCompressionMethod(),m={key:s,restoreKeys:a,version:lt.getCacheVersion(i,f,l)},C=yield d.GetCacheEntryDownloadURL(m);if(!C.ok){ie.debug(`Cache not found for version ${m.version} of keys: ${A.join(", ")}`);return}if(m.key!==C.matchedKey?ie.info(`Cache hit for restore-key: ${C.matchedKey}`):ie.info(`Cache hit for: ${C.matchedKey}`),c?.lookupOnly)return ie.info("Lookup only - skipping download"),C.matchedKey;u=uC.join(yield lt.createTempDirectory(),lt.getCacheFileName(f)),ie.debug(`Archive path: ${u}`),ie.debug(`Starting download of archive to: ${u}`),yield Kl.downloadCache(C.signedDownloadUrl,u,c);let S=lt.getArchiveFileSizeInBytes(u);return ie.info(`Cache Size: ~${Math.round(S/(1024*1024))} MB (${S} B)`),ie.isDebug()&&(yield(0,fo.listTar)(u,f)),yield(0,fo.extractTar)(u,f),ie.info("Cache restored successfully"),C.matchedKey}catch(d){let f=d;if(f.name===Ln.name)throw d;f instanceof pC.HttpClientError&&typeof f.statusCode=="number"&&f.statusCode>=500?ie.error(`Failed to restore: ${d.message}`):ie.warning(`Failed to restore: ${d.message}`)}finally{try{u&&(yield lt.unlinkFile(u))}catch(d){ie.debug(`Failed to delete archive: ${d}`)}}})}o(g1e,"restoreCacheV2");function y1e(t,e,r){return Xl(this,arguments,void 0,function*(n,i,s,a=!1){let c=(0,dC.getCacheServiceVersion)();switch(ie.debug(`Cache service version: ${c}`),f8(n),N_(i),c){case"v2":return yield E1e(n,i,s,a);case"v1":default:return yield C1e(n,i,s,a)}})}o(y1e,"saveCache");function C1e(t,e,r){return Xl(this,arguments,void 0,function*(n,i,s,a=!1){var c,l,A,u,d;let f=yield lt.getCompressionMethod(),m=-1,C=yield lt.resolvePaths(n);if(ie.debug("Cache Paths:"),ie.debug(`${JSON.stringify(C)}`),C.length===0)throw new Error("Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.");let Q=yield lt.createTempDirectory(),S=uC.join(Q,lt.getCacheFileName(f));ie.debug(`Archive Path: ${S}`);try{yield(0,fo.createTar)(Q,C,f),ie.isDebug()&&(yield(0,fo.listTar)(S,f));let w=10*1024*1024*1024,R=lt.getArchiveFileSizeInBytes(S);if(ie.debug(`File Size: ${R}`),R>w&&!(0,dC.isGhes)())throw new Error(`Cache size of ~${Math.round(R/(1024*1024))} MB (${R} B) is over the 10GB limit, not saving cache.`);ie.debug("Reserving Cache");let T=yield Kl.reserveCache(i,n,{compressionMethod:f,enableCrossOsArchive:a,cacheSize:R});if(!((c=T?.result)===null||c===void 0)&&c.cacheId)m=(l=T?.result)===null||l===void 0?void 0:l.cacheId;else throw T?.statusCode===400?new Error((u=(A=T?.error)===null||A===void 0?void 0:A.message)!==null&&u!==void 0?u:`Cache size of ~${Math.round(R/(1024*1024))} MB (${R} B) is over the data cap limit, not saving cache.`):new Ia(`Unable to reserve cache with key ${i}, another job may be creating this cache. More details: ${(d=T?.error)===null||d===void 0?void 0:d.message}`);ie.debug(`Saving Cache (ID: ${m})`),yield Kl.saveCache(m,S,"",s)}catch(w){let R=w;if(R.name===Ln.name)throw w;R.name===Ia.name?ie.info(`Failed to save: ${R.message}`):R instanceof pC.HttpClientError&&typeof R.statusCode=="number"&&R.statusCode>=500?ie.error(`Failed to save: ${R.message}`):ie.warning(`Failed to save: ${R.message}`)}finally{try{yield lt.unlinkFile(S)}catch(w){ie.debug(`Failed to delete archive: ${w}`)}}return m})}o(C1e,"saveCacheV1");function E1e(t,e,r){return Xl(this,arguments,void 0,function*(n,i,s,a=!1){s=Object.assign(Object.assign({},s),{uploadChunkSize:64*1024*1024,uploadConcurrency:8,useAzureSdk:!0});let c=yield lt.getCompressionMethod(),l=h8.internalCacheTwirpClient(),A=-1,u=yield lt.resolvePaths(n);if(ie.debug("Cache Paths:"),ie.debug(`${JSON.stringify(u)}`),u.length===0)throw new Error("Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.");let d=yield lt.createTempDirectory(),f=uC.join(d,lt.getCacheFileName(c));ie.debug(`Archive Path: ${f}`);try{yield(0,fo.createTar)(d,u,c),ie.isDebug()&&(yield(0,fo.listTar)(f,c));let m=lt.getArchiveFileSizeInBytes(f);ie.debug(`File Size: ${m}`),s.archiveSizeBytes=m,ie.debug("Reserving Cache");let C=lt.getCacheVersion(n,c,a),Q={key:i,version:C},S;try{let T=yield l.CreateCacheEntry(Q);if(!T.ok)throw T.message&&ie.warning(`Cache reservation failed: ${T.message}`),new Error(T.message||"Response was not ok");S=T.signedUploadUrl}catch(T){throw ie.debug(`Failed to reserve cache: ${T}`),new Ia(`Unable to reserve cache with key ${i}, another job may be creating this cache.`)}ie.debug(`Attempting to upload cache located at: ${f}`),yield Kl.saveCache(A,f,S,s);let w={key:i,version:C,sizeBytes:`${m}`},R=yield l.FinalizeCacheEntryUpload(w);if(ie.debug(`FinalizeCacheEntryUploadResponse: ${R.ok}`),!R.ok)throw R.message?new bd(R.message):new Error(`Unable to finalize cache with key ${i}, another job may be finalizing this cache.`);A=parseInt(R.entryId)}catch(m){let C=m;if(C.name===Ln.name)throw m;C.name===Ia.name?ie.info(`Failed to save: ${C.message}`):C.name===bd.name?ie.warning(C.message):C instanceof pC.HttpClientError&&typeof C.statusCode=="number"&&C.statusCode>=500?ie.error(`Failed to save: ${C.message}`):ie.warning(`Failed to save: ${C.message}`)}finally{try{yield lt.unlinkFile(f)}catch(m){ie.debug(`Failed to delete archive: ${m}`)}}return A})}o(E1e,"saveCacheV2")});var C8=g((ln,S_)=>{"use strict";var B1e=ln&&ln.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),I1e=ln&&ln.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),b1e=ln&&ln.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i{(0,x_.debug)(`${u.arch}===${n} && ${u.platform}===${i}`);let d=u.arch===n&&u.platform===i;if(d&&u.platform_version){let f=S_.exports._getOsVersion();f===u.platform_version?d=!0:d=g8.satisfies(f,u.platform_version)}return d}),c)){(0,x_.debug)(`matched ${l.version}`),a=l;break}}return a&&c&&(s=Object.assign({},a),s.files=[c]),s})}o(N1e,"_findMatch");function x1e(){let t=y8.platform(),e="";if(t==="darwin")e=w1e.execSync("sw_vers -productVersion").toString();else if(t==="linux"){let r=S_.exports._readLinuxVersionFile();if(r){let n=r.split(` -`);for(let i of n){let s=i.split("=");if(s.length===2&&(s[0].trim()==="VERSION_ID"||s[0].trim()==="DISTRIB_RELEASE")){e=s[1].trim().replace(/^"/,"").replace(/"$/,"");break}}}}return e}o(x1e,"_getOsVersion");function S1e(){let t="/etc/lsb-release",e="/etc/os-release",r="";return hC.existsSync(t)?r=hC.readFileSync(t).toString():hC.existsSync(e)&&(r=hC.readFileSync(e).toString()),r}o(S1e,"_readLinuxVersionFile")});var I8=g(Un=>{"use strict";var R1e=Un&&Un.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),_1e=Un&&Un.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),v1e=Un&&Un.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;ithis.maxSeconds)throw new Error("min seconds should be less than or equal to max seconds")}execute(e,r){return E8(this,void 0,void 0,function*(){let n=1;for(;nsetTimeout(r,e*1e3))})}};Un.RetryHelper=R_});var _8=g(rt=>{"use strict";var P1e=rt&&rt.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),D1e=rt&&rt.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),oi=rt&&rt.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;iEr(this,void 0,void 0,function*(){return yield q1e(t,e||"",r,n)}),l=>!(l instanceof wd&&l.httpStatusCode&&l.httpStatusCode<500&&l.httpStatusCode!==408&&l.httpStatusCode!==429))})}o(F1e,"downloadTool");function q1e(t,e,r,n){return Er(this,void 0,void 0,function*(){if(Fn.existsSync(e))throw new Error(`Destination file path ${e} already exists`);let i=new Q8.HttpClient(U1e,[],{allowRetries:!1});r&&(_e.debug("set auth"),n===void 0&&(n={}),n.authorization=r);let s=yield i.get(t,n);if(s.message.statusCode!==200){let u=new wd(s.message.statusCode);throw _e.debug(`Failed to download from "${t}". Code(${s.message.statusCode}) Message(${s.message.statusMessage})`),u}let a=M1e.promisify(O1e.pipeline),l=__("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",()=>s.message)(),A=!1;try{return yield a(l,Fn.createWriteStream(e)),_e.debug("download complete"),A=!0,e}finally{if(!A){_e.debug("download failed");try{yield An.rmRF(e)}catch(u){_e.debug(`Failed to delete '${e}'. ${u.message}`)}}}})}o(q1e,"downloadToolAttempt");function H1e(t,e,r){return Er(this,void 0,void 0,function*(){(0,Zl.ok)(v_,"extract7z() not supported on current OS"),(0,Zl.ok)(t,'parameter "file" is required'),e=yield fC(e);let n=process.cwd();if(process.chdir(e),r)try{let s=["x",_e.isDebug()?"-bb1":"-bb0","-bd","-sccUTF-8",t],a={silent:!0};yield(0,mo.exec)(`"${r}"`,s,a)}finally{process.chdir(n)}else{let i=si.join(__dirname,"..","scripts","Invoke-7zdec.ps1").replace(/'/g,"''").replace(/"|\n|\r/g,""),s=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),a=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),l=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",`& '${i}' -Source '${s}' -Target '${a}'`],A={silent:!0};try{let u=yield An.which("powershell",!0);yield(0,mo.exec)(`"${u}"`,l,A)}finally{process.chdir(n)}}return e})}o(H1e,"extract7z");function z1e(t,e){return Er(this,arguments,void 0,function*(r,n,i="xz"){if(!r)throw new Error("parameter 'file' is required");n=yield fC(n),_e.debug("Checking tar --version");let s="";yield(0,mo.exec)("tar --version",[],{ignoreReturnCode:!0,silent:!0,listeners:{stdout:u=>s+=u.toString(),stderr:u=>s+=u.toString()}}),_e.debug(s.trim());let a=s.toUpperCase().includes("GNU TAR"),c;i instanceof Array?c=i:c=[i],_e.isDebug()&&!i.includes("v")&&c.push("-v");let l=n,A=r;return v_&&a&&(c.push("--force-local"),l=n.replace(/\\/g,"/"),A=r.replace(/\\/g,"/")),a&&(c.push("--warning=no-unknown-keyword"),c.push("--overwrite")),c.push("-C",l,"-f",A),yield(0,mo.exec)("tar",c),n})}o(z1e,"extractTar");function j1e(t,e){return Er(this,arguments,void 0,function*(r,n,i=[]){(0,Zl.ok)(L1e,"extractXar() not supported on current OS"),(0,Zl.ok)(r,'parameter "file" is required'),n=yield fC(n);let s;i instanceof Array?s=i:s=[i],s.push("-x","-C",n,"-f",r),_e.isDebug()&&s.push("-v");let a=yield An.which("xar",!0);return yield(0,mo.exec)(`"${a}"`,Z1e(s)),n})}o(j1e,"extractXar");function G1e(t,e){return Er(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'file' is required");return e=yield fC(e),v_?yield Y1e(t,e):yield J1e(t,e),e})}o(G1e,"extractZip");function Y1e(t,e){return Er(this,void 0,void 0,function*(){let r=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),n=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),i=yield An.which("pwsh",!1);if(i){let a=["-NoLogo","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",["$ErrorActionPreference = 'Stop' ;","try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ;",`try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${n}', $true) }`,`catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${r}' -DestinationPath '${n}' -Force } else { throw $_ } } ;`].join(" ")];_e.debug(`Using pwsh at path: ${i}`),yield(0,mo.exec)(`"${i}"`,a)}else{let a=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",["$ErrorActionPreference = 'Stop' ;","try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ;",`if ((Get-Command -Name Expand-Archive -Module Microsoft.PowerShell.Archive -ErrorAction Ignore)) { Expand-Archive -LiteralPath '${r}' -DestinationPath '${n}' -Force }`,`else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${n}', $true) }`].join(" ")],c=yield An.which("powershell",!0);_e.debug(`Using powershell at path: ${c}`),yield(0,mo.exec)(`"${c}"`,a)}})}o(Y1e,"extractZipWin");function J1e(t,e){return Er(this,void 0,void 0,function*(){let r=yield An.which("unzip",!0),n=[t];_e.isDebug()||n.unshift("-q"),n.unshift("-o"),yield(0,mo.exec)(`"${r}"`,n,{cwd:e})})}o(J1e,"extractZipNix");function V1e(t,e,r,n){return Er(this,void 0,void 0,function*(){if(r=Bs.clean(r)||r,n=n||Nd.arch(),_e.debug(`Caching tool ${e} ${r} ${n}`),_e.debug(`source dir: ${t}`),!Fn.statSync(t).isDirectory())throw new Error("sourceDir is not a directory");let i=yield N8(e,r,n);for(let s of Fn.readdirSync(t)){let a=si.join(t,s);yield An.cp(a,i,{recursive:!0})}return x8(e,r,n),i})}o(V1e,"cacheDir");function W1e(t,e,r,n,i){return Er(this,void 0,void 0,function*(){if(n=Bs.clean(n)||n,i=i||Nd.arch(),_e.debug(`Caching tool ${r} ${n} ${i}`),_e.debug(`source file: ${t}`),!Fn.statSync(t).isFile())throw new Error("sourceFile is not a file");let s=yield N8(r,n,i),a=si.join(s,e);return _e.debug(`destination file ${a}`),yield An.cp(t,a),x8(r,n,i),s})}o(W1e,"cacheFile");function $1e(t,e,r){if(!t)throw new Error("toolName parameter is required");if(!e)throw new Error("versionSpec parameter is required");if(r=r||Nd.arch(),!P_(e)){let i=w8(t,r);e=S8(i,e)}let n="";if(e){e=Bs.clean(e)||"";let i=si.join(mC(),t,e,r);_e.debug(`checking cache: ${i}`),Fn.existsSync(i)&&Fn.existsSync(`${i}.complete`)?(_e.debug(`Found tool in cache ${t} ${e} ${r}`),n=i):_e.debug("not found")}return n}o($1e,"find");function w8(t,e){let r=[];e=e||Nd.arch();let n=si.join(mC(),t);if(Fn.existsSync(n)){let i=Fn.readdirSync(n);for(let s of i)if(P_(s)){let a=si.join(n,s,e||"");Fn.existsSync(a)&&Fn.existsSync(`${a}.complete`)&&r.push(s)}}return r}o(w8,"findAllVersions");function K1e(t,e,r){return Er(this,arguments,void 0,function*(n,i,s,a="master"){let c=[],l=`https://api.github.com/repos/${n}/${i}/git/trees/${a}`,A=new Q8.HttpClient("tool-cache"),u={};s&&(_e.debug("set auth"),u.authorization=s);let d=yield A.getJson(l,u);if(!d.result)return c;let f="";for(let C of d.result.tree)if(C.path==="versions-manifest.json"){f=C.url;break}u.accept="application/vnd.github.VERSION.raw";let m=yield(yield A.get(f,u)).readBody();if(m){m=m.replace(/^\uFEFF/,"");try{c=JSON.parse(m)}catch{_e.debug("Invalid json")}}return c})}o(K1e,"getManifestFromRepo");function X1e(t,e,r){return Er(this,arguments,void 0,function*(n,i,s,a=Nd.arch()){return yield T1e._findMatch(n,i,s,a)})}o(X1e,"findFromManifest");function fC(t){return Er(this,void 0,void 0,function*(){return t||(t=si.join(R8(),b8.randomUUID())),yield An.mkdirP(t),t})}o(fC,"_createExtractFolder");function N8(t,e,r){return Er(this,void 0,void 0,function*(){let n=si.join(mC(),t,Bs.clean(e)||e,r||"");_e.debug(`destination ${n}`);let i=`${n}.complete`;return yield An.rmRF(n),yield An.rmRF(i),yield An.mkdirP(n),n})}o(N8,"_createToolPath");function x8(t,e,r){let i=`${si.join(mC(),t,Bs.clean(e)||e,r||"")}.complete`;Fn.writeFileSync(i,""),_e.debug("finished caching tool")}o(x8,"_completeToolPath");function P_(t){let e=Bs.clean(t)||"";_e.debug(`isExplicit: ${e}`);let r=Bs.valid(e)!=null;return _e.debug(`explicit? ${r}`),r}o(P_,"isExplicitVersion");function S8(t,e){let r="";_e.debug(`evaluating ${t.length} versions`),t=t.sort((n,i)=>Bs.gt(n,i)?1:-1);for(let n=t.length-1;n>=0;n--){let i=t[n];if(Bs.satisfies(i,e)){r=i;break}}return r?_e.debug(`matched: ${r}`):_e.debug("match not found"),r}o(S8,"evaluateVersions");function mC(){let t=process.env.RUNNER_TOOL_CACHE||"";return(0,Zl.ok)(t,"Expected RUNNER_TOOL_CACHE to be defined"),t}o(mC,"_getCacheDirectory");function R8(){let t=process.env.RUNNER_TEMP||"";return(0,Zl.ok)(t,"Expected RUNNER_TEMP to be defined"),t}o(R8,"_getTempDirectory");function __(t,e){let r=global[t];return r!==void 0?r:e}o(__,"_getGlobal");function Z1e(t){return Array.from(new Set(t))}o(Z1e,"_unique")});var P8=g((dXe,v8)=>{"use strict";var ba=class t extends Error{static{o(this,"ParserError")}constructor(e,r,n){super("[ParserError] "+e,r,n),this.name="ParserError",this.code="ParserError",Error.captureStackTrace&&Error.captureStackTrace(this,t)}},gC=class{static{o(this,"State")}constructor(e){this.parser=e,this.buf="",this.returned=null,this.result=null,this.resultTable=null,this.resultArr=null}},xd=class{static{o(this,"Parser")}constructor(){this.pos=0,this.col=0,this.line=0,this.obj={},this.ctx=this.obj,this.stack=[],this._buf="",this.char=null,this.ii=0,this.state=new gC(this.parseStart)}parse(e){if(e.length===0||e.length==null)return;this._buf=String(e),this.ii=-1,this.char=-1;let r;for(;r===!1||this.nextChar();)r=this.runOne();this._buf=null}nextChar(){return this.char===10&&(++this.line,this.col=-1),++this.ii,this.char=this._buf.codePointAt(this.ii),++this.pos,++this.col,this.haveBuffer()}haveBuffer(){return this.ii{"use strict";D8.exports=t=>{let e=new Date(t);if(isNaN(e))throw new TypeError("Invalid Datetime");return e}});var yC=g((fXe,O8)=>{"use strict";O8.exports=(t,e)=>{for(e=String(e);e.length{"use strict";var eA=yC(),D_=class extends Date{static{o(this,"FloatingDateTime")}constructor(e){super(e+"Z"),this.isFloating=!0}toISOString(){let e=`${this.getUTCFullYear()}-${eA(2,this.getUTCMonth()+1)}-${eA(2,this.getUTCDate())}`,r=`${eA(2,this.getUTCHours())}:${eA(2,this.getUTCMinutes())}:${eA(2,this.getUTCSeconds())}.${eA(3,this.getUTCMilliseconds())}`;return`${e}T${r}`}};M8.exports=t=>{let e=new D_(t);if(isNaN(e))throw new TypeError("Invalid Datetime");return e}});var F8=g((yXe,U8)=>{"use strict";var L8=yC(),eHe=global.Date,T_=class extends eHe{static{o(this,"Date")}constructor(e){super(e),this.isDate=!0}toISOString(){return`${this.getUTCFullYear()}-${L8(2,this.getUTCMonth()+1)}-${L8(2,this.getUTCDate())}`}};U8.exports=t=>{let e=new T_(t);if(isNaN(e))throw new TypeError("Invalid Datetime");return e}});var H8=g((EXe,q8)=>{"use strict";var CC=yC(),O_=class extends Date{static{o(this,"Time")}constructor(e){super(`0000-01-01T${e}Z`),this.isTime=!0}toISOString(){return`${CC(2,this.getUTCHours())}:${CC(2,this.getUTCMinutes())}:${CC(2,this.getUTCSeconds())}.${CC(3,this.getUTCMilliseconds())}`}};q8.exports=t=>{let e=new O_(t);if(isNaN(e))throw new TypeError("Invalid Datetime");return e}});var EC=g((exports,module)=>{"use strict";module.exports=makeParserClass(P8());module.exports.makeParserClass=makeParserClass;var TomlError=class t extends Error{static{o(this,"TomlError")}constructor(e){super(e),this.name="TomlError",Error.captureStackTrace&&Error.captureStackTrace(this,t),this.fromTOML=!0,this.wrapped=null}};TomlError.wrap=t=>{let e=new TomlError(t.message);return e.code=t.code,e.wrapped=t,e};module.exports.TomlError=TomlError;var createDateTime=T8(),createDateTimeFloat=k8(),createDate=F8(),createTime=H8(),CTRL_I=9,CTRL_J=10,CTRL_M=13,CTRL_CHAR_BOUNDARY=31,CHAR_SP=32,CHAR_QUOT=34,CHAR_NUM=35,CHAR_APOS=39,CHAR_PLUS=43,CHAR_COMMA=44,CHAR_HYPHEN=45,CHAR_PERIOD=46,CHAR_0=48,CHAR_1=49,CHAR_7=55,CHAR_9=57,CHAR_COLON=58,CHAR_EQUALS=61,CHAR_A=65,CHAR_E=69,CHAR_F=70,CHAR_T=84,CHAR_U=85,CHAR_Z=90,CHAR_LOWBAR=95,CHAR_a=97,CHAR_b=98,CHAR_e=101,CHAR_f=102,CHAR_i=105,CHAR_l=108,CHAR_n=110,CHAR_o=111,CHAR_r=114,CHAR_s=115,CHAR_t=116,CHAR_u=117,CHAR_x=120,CHAR_z=122,CHAR_LCUB=123,CHAR_RCUB=125,CHAR_LSQB=91,CHAR_BSOL=92,CHAR_RSQB=93,CHAR_DEL=127,SURROGATE_FIRST=55296,SURROGATE_LAST=57343,escapes={[CHAR_b]:"\b",[CHAR_t]:" ",[CHAR_n]:` -`,[CHAR_f]:"\f",[CHAR_r]:"\r",[CHAR_QUOT]:'"',[CHAR_BSOL]:"\\"};function isDigit(t){return t>=CHAR_0&&t<=CHAR_9}o(isDigit,"isDigit");function isHexit(t){return t>=CHAR_A&&t<=CHAR_F||t>=CHAR_a&&t<=CHAR_f||t>=CHAR_0&&t<=CHAR_9}o(isHexit,"isHexit");function isBit(t){return t===CHAR_1||t===CHAR_0}o(isBit,"isBit");function isOctit(t){return t>=CHAR_0&&t<=CHAR_7}o(isOctit,"isOctit");function isAlphaNumQuoteHyphen(t){return t>=CHAR_A&&t<=CHAR_Z||t>=CHAR_a&&t<=CHAR_z||t>=CHAR_0&&t<=CHAR_9||t===CHAR_APOS||t===CHAR_QUOT||t===CHAR_LOWBAR||t===CHAR_HYPHEN}o(isAlphaNumQuoteHyphen,"isAlphaNumQuoteHyphen");function isAlphaNumHyphen(t){return t>=CHAR_A&&t<=CHAR_Z||t>=CHAR_a&&t<=CHAR_z||t>=CHAR_0&&t<=CHAR_9||t===CHAR_LOWBAR||t===CHAR_HYPHEN}o(isAlphaNumHyphen,"isAlphaNumHyphen");var _type=Symbol("type"),_declared=Symbol("declared"),hasOwnProperty=Object.prototype.hasOwnProperty,defineProperty=Object.defineProperty,descriptor={configurable:!0,enumerable:!0,writable:!0,value:void 0};function hasKey(t,e){return hasOwnProperty.call(t,e)?!0:(e==="__proto__"&&defineProperty(t,"__proto__",descriptor),!1)}o(hasKey,"hasKey");var INLINE_TABLE=Symbol("inline-table");function InlineTable(){return Object.defineProperties({},{[_type]:{value:INLINE_TABLE}})}o(InlineTable,"InlineTable");function isInlineTable(t){return t===null||typeof t!="object"?!1:t[_type]===INLINE_TABLE}o(isInlineTable,"isInlineTable");var TABLE=Symbol("table");function Table(){return Object.defineProperties({},{[_type]:{value:TABLE},[_declared]:{value:!1,writable:!0}})}o(Table,"Table");function isTable(t){return t===null||typeof t!="object"?!1:t[_type]===TABLE}o(isTable,"isTable");var _contentType=Symbol("content-type"),INLINE_LIST=Symbol("inline-list");function InlineList(t){return Object.defineProperties([],{[_type]:{value:INLINE_LIST},[_contentType]:{value:t}})}o(InlineList,"InlineList");function isInlineList(t){return t===null||typeof t!="object"?!1:t[_type]===INLINE_LIST}o(isInlineList,"isInlineList");var LIST=Symbol("list");function List(){return Object.defineProperties([],{[_type]:{value:LIST}})}o(List,"List");function isList(t){return t===null||typeof t!="object"?!1:t[_type]===LIST}o(isList,"isList");var _custom;try{let utilInspect=eval("require('util').inspect");_custom=utilInspect.custom}catch(t){}var _inspect=_custom||"inspect",BoxedBigInt=class{static{o(this,"BoxedBigInt")}constructor(e){try{this.value=global.BigInt.asIntN(64,e)}catch{this.value=null}Object.defineProperty(this,_type,{value:INTEGER})}isNaN(){return this.value===null}toString(){return String(this.value)}[_inspect](){return`[BigInt: ${this.toString()}]}`}valueOf(){return this.value}},INTEGER=Symbol("integer");function Integer(t){let e=Number(t);return Object.is(e,-0)&&(e=0),global.BigInt&&!Number.isSafeInteger(e)?new BoxedBigInt(t):Object.defineProperties(new Number(e),{isNaN:{value:function(){return isNaN(this)}},[_type]:{value:INTEGER},[_inspect]:{value:()=>`[Integer: ${t}]`}})}o(Integer,"Integer");function isInteger(t){return t===null||typeof t!="object"?!1:t[_type]===INTEGER}o(isInteger,"isInteger");var FLOAT=Symbol("float");function Float(t){return Object.defineProperties(new Number(t),{[_type]:{value:FLOAT},[_inspect]:{value:()=>`[Float: ${t}]`}})}o(Float,"Float");function isFloat(t){return t===null||typeof t!="object"?!1:t[_type]===FLOAT}o(isFloat,"isFloat");function tomlType(t){let e=typeof t;if(e==="object"){if(t===null)return"null";if(t instanceof Date)return"datetime";if(_type in t)switch(t[_type]){case INLINE_TABLE:return"inline-table";case INLINE_LIST:return"inline-list";case TABLE:return"table";case LIST:return"list";case FLOAT:return"float";case INTEGER:return"integer"}}return e}o(tomlType,"tomlType");function makeParserClass(t){class e extends t{static{o(this,"TOMLParser")}constructor(){super(),this.ctx=this.obj=Table()}atEndOfWord(){return this.char===CHAR_NUM||this.char===CTRL_I||this.char===CHAR_SP||this.atEndOfLine()}atEndOfLine(){return this.char===t.END||this.char===CTRL_J||this.char===CTRL_M}parseStart(){if(this.char===t.END)return null;if(this.char===CHAR_LSQB)return this.call(this.parseTableOrList);if(this.char===CHAR_NUM)return this.call(this.parseComment);if(this.char===CTRL_J||this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M)return null;if(isAlphaNumQuoteHyphen(this.char))return this.callNow(this.parseAssignStatement);throw this.error(new TomlError(`Unknown character "${this.char}"`))}parseWhitespaceToEOL(){if(this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M)return null;if(this.char===CHAR_NUM)return this.goto(this.parseComment);if(this.char===t.END||this.char===CTRL_J)return this.return();throw this.error(new TomlError("Unexpected character, expected only whitespace or comments till end of line"))}parseAssignStatement(){return this.callNow(this.parseAssign,this.recordAssignStatement)}recordAssignStatement(n){let i=this.ctx,s=n.key.pop();for(let a of n.key){if(hasKey(i,a)&&(!isTable(i[a])||i[a][_declared]))throw this.error(new TomlError("Can't redefine existing key"));i=i[a]=i[a]||Table()}if(hasKey(i,s))throw this.error(new TomlError("Can't redefine existing key"));return isInteger(n.value)||isFloat(n.value)?i[s]=n.value.valueOf():i[s]=n.value,this.goto(this.parseWhitespaceToEOL)}parseAssign(){return this.callNow(this.parseKeyword,this.recordAssignKeyword)}recordAssignKeyword(n){return this.state.resultTable?this.state.resultTable.push(n):this.state.resultTable=[n],this.goto(this.parseAssignKeywordPreDot)}parseAssignKeywordPreDot(){if(this.char===CHAR_PERIOD)return this.next(this.parseAssignKeywordPostDot);if(this.char!==CHAR_SP&&this.char!==CTRL_I)return this.goto(this.parseAssignEqual)}parseAssignKeywordPostDot(){if(this.char!==CHAR_SP&&this.char!==CTRL_I)return this.callNow(this.parseKeyword,this.recordAssignKeyword)}parseAssignEqual(){if(this.char===CHAR_EQUALS)return this.next(this.parseAssignPreValue);throw this.error(new TomlError('Invalid character, expected "="'))}parseAssignPreValue(){return this.char===CHAR_SP||this.char===CTRL_I?null:this.callNow(this.parseValue,this.recordAssignValue)}recordAssignValue(n){return this.returnNow({key:this.state.resultTable,value:n})}parseComment(){do if(this.char===t.END||this.char===CTRL_J)return this.return();while(this.nextChar())}parseTableOrList(){if(this.char===CHAR_LSQB)this.next(this.parseList);else return this.goto(this.parseTable)}parseTable(){return this.ctx=this.obj,this.goto(this.parseTableNext)}parseTableNext(){return this.char===CHAR_SP||this.char===CTRL_I?null:this.callNow(this.parseKeyword,this.parseTableMore)}parseTableMore(n){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===CHAR_RSQB){if(hasKey(this.ctx,n)&&(!isTable(this.ctx[n])||this.ctx[n][_declared]))throw this.error(new TomlError("Can't redefine existing key"));return this.ctx=this.ctx[n]=this.ctx[n]||Table(),this.ctx[_declared]=!0,this.next(this.parseWhitespaceToEOL)}else if(this.char===CHAR_PERIOD){if(!hasKey(this.ctx,n))this.ctx=this.ctx[n]=Table();else if(isTable(this.ctx[n]))this.ctx=this.ctx[n];else if(isList(this.ctx[n]))this.ctx=this.ctx[n][this.ctx[n].length-1];else throw this.error(new TomlError("Can't redefine existing key"));return this.next(this.parseTableNext)}else throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]"))}parseList(){return this.ctx=this.obj,this.goto(this.parseListNext)}parseListNext(){return this.char===CHAR_SP||this.char===CTRL_I?null:this.callNow(this.parseKeyword,this.parseListMore)}parseListMore(n){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===CHAR_RSQB){if(hasKey(this.ctx,n)||(this.ctx[n]=List()),isInlineList(this.ctx[n]))throw this.error(new TomlError("Can't extend an inline array"));if(isList(this.ctx[n])){let i=Table();this.ctx[n].push(i),this.ctx=i}else throw this.error(new TomlError("Can't redefine an existing key"));return this.next(this.parseListEnd)}else if(this.char===CHAR_PERIOD){if(!hasKey(this.ctx,n))this.ctx=this.ctx[n]=Table();else{if(isInlineList(this.ctx[n]))throw this.error(new TomlError("Can't extend an inline array"));if(isInlineTable(this.ctx[n]))throw this.error(new TomlError("Can't extend an inline table"));if(isList(this.ctx[n]))this.ctx=this.ctx[n][this.ctx[n].length-1];else if(isTable(this.ctx[n]))this.ctx=this.ctx[n];else throw this.error(new TomlError("Can't redefine an existing key"))}return this.next(this.parseListNext)}else throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]"))}parseListEnd(n){if(this.char===CHAR_RSQB)return this.next(this.parseWhitespaceToEOL);throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]"))}parseValue(){if(this.char===t.END)throw this.error(new TomlError("Key without value"));if(this.char===CHAR_QUOT)return this.next(this.parseDoubleString);if(this.char===CHAR_APOS)return this.next(this.parseSingleString);if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)return this.goto(this.parseNumberSign);if(this.char===CHAR_i)return this.next(this.parseInf);if(this.char===CHAR_n)return this.next(this.parseNan);if(isDigit(this.char))return this.goto(this.parseNumberOrDateTime);if(this.char===CHAR_t||this.char===CHAR_f)return this.goto(this.parseBoolean);if(this.char===CHAR_LSQB)return this.call(this.parseInlineList,this.recordValue);if(this.char===CHAR_LCUB)return this.call(this.parseInlineTable,this.recordValue);throw this.error(new TomlError("Unexpected character, expecting string, number, datetime, boolean, inline array or inline table"))}recordValue(n){return this.returnNow(n)}parseInf(){if(this.char===CHAR_n)return this.next(this.parseInf2);throw this.error(new TomlError('Unexpected character, expected "inf", "+inf" or "-inf"'))}parseInf2(){if(this.char===CHAR_f)return this.state.buf==="-"?this.return(-1/0):this.return(1/0);throw this.error(new TomlError('Unexpected character, expected "inf", "+inf" or "-inf"'))}parseNan(){if(this.char===CHAR_a)return this.next(this.parseNan2);throw this.error(new TomlError('Unexpected character, expected "nan"'))}parseNan2(){if(this.char===CHAR_n)return this.return(NaN);throw this.error(new TomlError('Unexpected character, expected "nan"'))}parseKeyword(){return this.char===CHAR_QUOT?this.next(this.parseBasicString):this.char===CHAR_APOS?this.next(this.parseLiteralString):this.goto(this.parseBareKey)}parseBareKey(){do{if(this.char===t.END)throw this.error(new TomlError("Key ended without value"));if(isAlphaNumHyphen(this.char))this.consume();else{if(this.state.buf.length===0)throw this.error(new TomlError("Empty bare keys are not allowed"));return this.returnNow()}}while(this.nextChar())}parseSingleString(){return this.char===CHAR_APOS?this.next(this.parseLiteralMultiStringMaybe):this.goto(this.parseLiteralString)}parseLiteralString(){do{if(this.char===CHAR_APOS)return this.return();if(this.atEndOfLine())throw this.error(new TomlError("Unterminated string"));if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I)throw this.errorControlCharInString();this.consume()}while(this.nextChar())}parseLiteralMultiStringMaybe(){return this.char===CHAR_APOS?this.next(this.parseLiteralMultiString):this.returnNow()}parseLiteralMultiString(){return this.char===CTRL_M?null:this.char===CTRL_J?this.next(this.parseLiteralMultiStringContent):this.goto(this.parseLiteralMultiStringContent)}parseLiteralMultiStringContent(){do{if(this.char===CHAR_APOS)return this.next(this.parseLiteralMultiEnd);if(this.char===t.END)throw this.error(new TomlError("Unterminated multi-line string"));if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I&&this.char!==CTRL_J&&this.char!==CTRL_M)throw this.errorControlCharInString();this.consume()}while(this.nextChar())}parseLiteralMultiEnd(){return this.char===CHAR_APOS?this.next(this.parseLiteralMultiEnd2):(this.state.buf+="'",this.goto(this.parseLiteralMultiStringContent))}parseLiteralMultiEnd2(){return this.char===CHAR_APOS?this.return():(this.state.buf+="''",this.goto(this.parseLiteralMultiStringContent))}parseDoubleString(){return this.char===CHAR_QUOT?this.next(this.parseMultiStringMaybe):this.goto(this.parseBasicString)}parseBasicString(){do{if(this.char===CHAR_BSOL)return this.call(this.parseEscape,this.recordEscapeReplacement);if(this.char===CHAR_QUOT)return this.return();if(this.atEndOfLine())throw this.error(new TomlError("Unterminated string"));if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I)throw this.errorControlCharInString();this.consume()}while(this.nextChar())}recordEscapeReplacement(n){return this.state.buf+=n,this.goto(this.parseBasicString)}parseMultiStringMaybe(){return this.char===CHAR_QUOT?this.next(this.parseMultiString):this.returnNow()}parseMultiString(){return this.char===CTRL_M?null:this.char===CTRL_J?this.next(this.parseMultiStringContent):this.goto(this.parseMultiStringContent)}parseMultiStringContent(){do{if(this.char===CHAR_BSOL)return this.call(this.parseMultiEscape,this.recordMultiEscapeReplacement);if(this.char===CHAR_QUOT)return this.next(this.parseMultiEnd);if(this.char===t.END)throw this.error(new TomlError("Unterminated multi-line string"));if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I&&this.char!==CTRL_J&&this.char!==CTRL_M)throw this.errorControlCharInString();this.consume()}while(this.nextChar())}errorControlCharInString(){let n="\\u00";return this.char<16&&(n+="0"),n+=this.char.toString(16),this.error(new TomlError(`Control characters (codes < 0x1f and 0x7f) are not allowed in strings, use ${n} instead`))}recordMultiEscapeReplacement(n){return this.state.buf+=n,this.goto(this.parseMultiStringContent)}parseMultiEnd(){return this.char===CHAR_QUOT?this.next(this.parseMultiEnd2):(this.state.buf+='"',this.goto(this.parseMultiStringContent))}parseMultiEnd2(){return this.char===CHAR_QUOT?this.return():(this.state.buf+='""',this.goto(this.parseMultiStringContent))}parseMultiEscape(){return this.char===CTRL_M||this.char===CTRL_J?this.next(this.parseMultiTrim):this.char===CHAR_SP||this.char===CTRL_I?this.next(this.parsePreMultiTrim):this.goto(this.parseEscape)}parsePreMultiTrim(){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===CTRL_M||this.char===CTRL_J)return this.next(this.parseMultiTrim);throw this.error(new TomlError("Can't escape whitespace"))}parseMultiTrim(){return this.char===CTRL_J||this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M?null:this.returnNow()}parseEscape(){if(this.char in escapes)return this.return(escapes[this.char]);if(this.char===CHAR_u)return this.call(this.parseSmallUnicode,this.parseUnicodeReturn);if(this.char===CHAR_U)return this.call(this.parseLargeUnicode,this.parseUnicodeReturn);throw this.error(new TomlError("Unknown escape character: "+this.char))}parseUnicodeReturn(n){try{let i=parseInt(n,16);if(i>=SURROGATE_FIRST&&i<=SURROGATE_LAST)throw this.error(new TomlError("Invalid unicode, character in range 0xD800 - 0xDFFF is reserved"));return this.returnNow(String.fromCodePoint(i))}catch(i){throw this.error(TomlError.wrap(i))}}parseSmallUnicode(){if(isHexit(this.char)){if(this.consume(),this.state.buf.length>=4)return this.return()}else throw this.error(new TomlError("Invalid character in unicode sequence, expected hex"))}parseLargeUnicode(){if(isHexit(this.char)){if(this.consume(),this.state.buf.length>=8)return this.return()}else throw this.error(new TomlError("Invalid character in unicode sequence, expected hex"))}parseNumberSign(){return this.consume(),this.next(this.parseMaybeSignedInfOrNan)}parseMaybeSignedInfOrNan(){return this.char===CHAR_i?this.next(this.parseInf):this.char===CHAR_n?this.next(this.parseNan):this.callNow(this.parseNoUnder,this.parseNumberIntegerStart)}parseNumberIntegerStart(){return this.char===CHAR_0?(this.consume(),this.next(this.parseNumberIntegerExponentOrDecimal)):this.goto(this.parseNumberInteger)}parseNumberIntegerExponentOrDecimal(){return this.char===CHAR_PERIOD?(this.consume(),this.call(this.parseNoUnder,this.parseNumberFloat)):this.char===CHAR_E||this.char===CHAR_e?(this.consume(),this.next(this.parseNumberExponentSign)):this.returnNow(Integer(this.state.buf))}parseNumberInteger(){if(isDigit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnder);if(this.char===CHAR_E||this.char===CHAR_e)return this.consume(),this.next(this.parseNumberExponentSign);if(this.char===CHAR_PERIOD)return this.consume(),this.call(this.parseNoUnder,this.parseNumberFloat);{let n=Integer(this.state.buf);if(n.isNaN())throw this.error(new TomlError("Invalid number"));return this.returnNow(n)}}}parseNoUnder(){if(this.char===CHAR_LOWBAR||this.char===CHAR_PERIOD||this.char===CHAR_E||this.char===CHAR_e)throw this.error(new TomlError("Unexpected character, expected digit"));if(this.atEndOfWord())throw this.error(new TomlError("Incomplete number"));return this.returnNow()}parseNoUnderHexOctBinLiteral(){if(this.char===CHAR_LOWBAR||this.char===CHAR_PERIOD)throw this.error(new TomlError("Unexpected character, expected digit"));if(this.atEndOfWord())throw this.error(new TomlError("Incomplete number"));return this.returnNow()}parseNumberFloat(){if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnder,this.parseNumberFloat);if(isDigit(this.char))this.consume();else return this.char===CHAR_E||this.char===CHAR_e?(this.consume(),this.next(this.parseNumberExponentSign)):this.returnNow(Float(this.state.buf))}parseNumberExponentSign(){if(isDigit(this.char))return this.goto(this.parseNumberExponent);if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)this.consume(),this.call(this.parseNoUnder,this.parseNumberExponent);else throw this.error(new TomlError("Unexpected character, expected -, + or digit"))}parseNumberExponent(){if(isDigit(this.char))this.consume();else return this.char===CHAR_LOWBAR?this.call(this.parseNoUnder):this.returnNow(Float(this.state.buf))}parseNumberOrDateTime(){return this.char===CHAR_0?(this.consume(),this.next(this.parseNumberBaseOrDateTime)):this.goto(this.parseNumberOrDateTimeOnly)}parseNumberOrDateTimeOnly(){if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnder,this.parseNumberInteger);if(isDigit(this.char))this.consume(),this.state.buf.length>4&&this.next(this.parseNumberInteger);else return this.char===CHAR_E||this.char===CHAR_e?(this.consume(),this.next(this.parseNumberExponentSign)):this.char===CHAR_PERIOD?(this.consume(),this.call(this.parseNoUnder,this.parseNumberFloat)):this.char===CHAR_HYPHEN?this.goto(this.parseDateTime):this.char===CHAR_COLON?this.goto(this.parseOnlyTimeHour):this.returnNow(Integer(this.state.buf))}parseDateTimeOnly(){if(this.state.buf.length<4){if(isDigit(this.char))return this.consume();if(this.char===CHAR_COLON)return this.goto(this.parseOnlyTimeHour);throw this.error(new TomlError("Expected digit while parsing year part of a date"))}else{if(this.char===CHAR_HYPHEN)return this.goto(this.parseDateTime);throw this.error(new TomlError("Expected hyphen (-) while parsing year part of date"))}}parseNumberBaseOrDateTime(){return this.char===CHAR_b?(this.consume(),this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerBin)):this.char===CHAR_o?(this.consume(),this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerOct)):this.char===CHAR_x?(this.consume(),this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerHex)):this.char===CHAR_PERIOD?this.goto(this.parseNumberInteger):isDigit(this.char)?this.goto(this.parseDateTimeOnly):this.returnNow(Integer(this.state.buf))}parseIntegerHex(){if(isHexit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnderHexOctBinLiteral);{let n=Integer(this.state.buf);if(n.isNaN())throw this.error(new TomlError("Invalid number"));return this.returnNow(n)}}}parseIntegerOct(){if(isOctit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnderHexOctBinLiteral);{let n=Integer(this.state.buf);if(n.isNaN())throw this.error(new TomlError("Invalid number"));return this.returnNow(n)}}}parseIntegerBin(){if(isBit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnderHexOctBinLiteral);{let n=Integer(this.state.buf);if(n.isNaN())throw this.error(new TomlError("Invalid number"));return this.returnNow(n)}}}parseDateTime(){if(this.state.buf.length<4)throw this.error(new TomlError("Years less than 1000 must be zero padded to four characters"));return this.state.result=this.state.buf,this.state.buf="",this.next(this.parseDateMonth)}parseDateMonth(){if(this.char===CHAR_HYPHEN){if(this.state.buf.length<2)throw this.error(new TomlError("Months less than 10 must be zero padded to two characters"));return this.state.result+="-"+this.state.buf,this.state.buf="",this.next(this.parseDateDay)}else if(isDigit(this.char))this.consume();else throw this.error(new TomlError("Incomplete datetime"))}parseDateDay(){if(this.char===CHAR_T||this.char===CHAR_SP){if(this.state.buf.length<2)throw this.error(new TomlError("Days less than 10 must be zero padded to two characters"));return this.state.result+="-"+this.state.buf,this.state.buf="",this.next(this.parseStartTimeHour)}else{if(this.atEndOfWord())return this.returnNow(createDate(this.state.result+"-"+this.state.buf));if(isDigit(this.char))this.consume();else throw this.error(new TomlError("Incomplete datetime"))}}parseStartTimeHour(){return this.atEndOfWord()?this.returnNow(createDate(this.state.result)):this.goto(this.parseTimeHour)}parseTimeHour(){if(this.char===CHAR_COLON){if(this.state.buf.length<2)throw this.error(new TomlError("Hours less than 10 must be zero padded to two characters"));return this.state.result+="T"+this.state.buf,this.state.buf="",this.next(this.parseTimeMin)}else if(isDigit(this.char))this.consume();else throw this.error(new TomlError("Incomplete datetime"))}parseTimeMin(){if(this.state.buf.length<2&&isDigit(this.char))this.consume();else{if(this.state.buf.length===2&&this.char===CHAR_COLON)return this.state.result+=":"+this.state.buf,this.state.buf="",this.next(this.parseTimeSec);throw this.error(new TomlError("Incomplete datetime"))}}parseTimeSec(){if(isDigit(this.char)){if(this.consume(),this.state.buf.length===2)return this.state.result+=":"+this.state.buf,this.state.buf="",this.next(this.parseTimeZoneOrFraction)}else throw this.error(new TomlError("Incomplete datetime"))}parseOnlyTimeHour(){if(this.char===CHAR_COLON){if(this.state.buf.length<2)throw this.error(new TomlError("Hours less than 10 must be zero padded to two characters"));return this.state.result=this.state.buf,this.state.buf="",this.next(this.parseOnlyTimeMin)}else throw this.error(new TomlError("Incomplete time"))}parseOnlyTimeMin(){if(this.state.buf.length<2&&isDigit(this.char))this.consume();else{if(this.state.buf.length===2&&this.char===CHAR_COLON)return this.state.result+=":"+this.state.buf,this.state.buf="",this.next(this.parseOnlyTimeSec);throw this.error(new TomlError("Incomplete time"))}}parseOnlyTimeSec(){if(isDigit(this.char)){if(this.consume(),this.state.buf.length===2)return this.next(this.parseOnlyTimeFractionMaybe)}else throw this.error(new TomlError("Incomplete time"))}parseOnlyTimeFractionMaybe(){if(this.state.result+=":"+this.state.buf,this.char===CHAR_PERIOD)this.state.buf="",this.next(this.parseOnlyTimeFraction);else return this.return(createTime(this.state.result))}parseOnlyTimeFraction(){if(isDigit(this.char))this.consume();else if(this.atEndOfWord()){if(this.state.buf.length===0)throw this.error(new TomlError("Expected digit in milliseconds"));return this.returnNow(createTime(this.state.result+"."+this.state.buf))}else throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"))}parseTimeZoneOrFraction(){if(this.char===CHAR_PERIOD)this.consume(),this.next(this.parseDateTimeFraction);else if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)this.consume(),this.next(this.parseTimeZoneHour);else{if(this.char===CHAR_Z)return this.consume(),this.return(createDateTime(this.state.result+this.state.buf));if(this.atEndOfWord())return this.returnNow(createDateTimeFloat(this.state.result+this.state.buf));throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"))}}parseDateTimeFraction(){if(isDigit(this.char))this.consume();else{if(this.state.buf.length===1)throw this.error(new TomlError("Expected digit in milliseconds"));if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)this.consume(),this.next(this.parseTimeZoneHour);else{if(this.char===CHAR_Z)return this.consume(),this.return(createDateTime(this.state.result+this.state.buf));if(this.atEndOfWord())return this.returnNow(createDateTimeFloat(this.state.result+this.state.buf));throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"))}}}parseTimeZoneHour(){if(isDigit(this.char)){if(this.consume(),/\d\d$/.test(this.state.buf))return this.next(this.parseTimeZoneSep)}else throw this.error(new TomlError("Unexpected character in datetime, expected digit"))}parseTimeZoneSep(){if(this.char===CHAR_COLON)this.consume(),this.next(this.parseTimeZoneMin);else throw this.error(new TomlError("Unexpected character in datetime, expected colon"))}parseTimeZoneMin(){if(isDigit(this.char)){if(this.consume(),/\d\d$/.test(this.state.buf))return this.return(createDateTime(this.state.result+this.state.buf))}else throw this.error(new TomlError("Unexpected character in datetime, expected digit"))}parseBoolean(){if(this.char===CHAR_t)return this.consume(),this.next(this.parseTrue_r);if(this.char===CHAR_f)return this.consume(),this.next(this.parseFalse_a)}parseTrue_r(){if(this.char===CHAR_r)return this.consume(),this.next(this.parseTrue_u);throw this.error(new TomlError("Invalid boolean, expected true or false"))}parseTrue_u(){if(this.char===CHAR_u)return this.consume(),this.next(this.parseTrue_e);throw this.error(new TomlError("Invalid boolean, expected true or false"))}parseTrue_e(){if(this.char===CHAR_e)return this.return(!0);throw this.error(new TomlError("Invalid boolean, expected true or false"))}parseFalse_a(){if(this.char===CHAR_a)return this.consume(),this.next(this.parseFalse_l);throw this.error(new TomlError("Invalid boolean, expected true or false"))}parseFalse_l(){if(this.char===CHAR_l)return this.consume(),this.next(this.parseFalse_s);throw this.error(new TomlError("Invalid boolean, expected true or false"))}parseFalse_s(){if(this.char===CHAR_s)return this.consume(),this.next(this.parseFalse_e);throw this.error(new TomlError("Invalid boolean, expected true or false"))}parseFalse_e(){if(this.char===CHAR_e)return this.return(!1);throw this.error(new TomlError("Invalid boolean, expected true or false"))}parseInlineList(){if(this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M||this.char===CTRL_J)return null;if(this.char===t.END)throw this.error(new TomlError("Unterminated inline array"));return this.char===CHAR_NUM?this.call(this.parseComment):this.char===CHAR_RSQB?this.return(this.state.resultArr||InlineList()):this.callNow(this.parseValue,this.recordInlineListValue)}recordInlineListValue(n){if(this.state.resultArr){let i=this.state.resultArr[_contentType],s=tomlType(n);if(i!==s)throw this.error(new TomlError(`Inline lists must be a single type, not a mix of ${i} and ${s}`))}else this.state.resultArr=InlineList(tomlType(n));return isFloat(n)||isInteger(n)?this.state.resultArr.push(n.valueOf()):this.state.resultArr.push(n),this.goto(this.parseInlineListNext)}parseInlineListNext(){if(this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M||this.char===CTRL_J)return null;if(this.char===CHAR_NUM)return this.call(this.parseComment);if(this.char===CHAR_COMMA)return this.next(this.parseInlineList);if(this.char===CHAR_RSQB)return this.goto(this.parseInlineList);throw this.error(new TomlError("Invalid character, expected whitespace, comma (,) or close bracket (])"))}parseInlineTable(){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===t.END||this.char===CHAR_NUM||this.char===CTRL_J||this.char===CTRL_M)throw this.error(new TomlError("Unterminated inline array"));return this.char===CHAR_RCUB?this.return(this.state.resultTable||InlineTable()):(this.state.resultTable||(this.state.resultTable=InlineTable()),this.callNow(this.parseAssign,this.recordInlineTableValue))}recordInlineTableValue(n){let i=this.state.resultTable,s=n.key.pop();for(let a of n.key){if(hasKey(i,a)&&(!isTable(i[a])||i[a][_declared]))throw this.error(new TomlError("Can't redefine existing key"));i=i[a]=i[a]||Table()}if(hasKey(i,s))throw this.error(new TomlError("Can't redefine existing key"));return isInteger(n.value)||isFloat(n.value)?i[s]=n.value.valueOf():i[s]=n.value,this.goto(this.parseInlineTableNext)}parseInlineTableNext(){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===t.END||this.char===CHAR_NUM||this.char===CTRL_J||this.char===CTRL_M)throw this.error(new TomlError("Unterminated inline array"));if(this.char===CHAR_COMMA)return this.next(this.parseInlineTable);if(this.char===CHAR_RCUB)return this.goto(this.parseInlineTable);throw this.error(new TomlError("Invalid character, expected whitespace, comma (,) or close bracket (])"))}}return e}o(makeParserClass,"makeParserClass")});var BC=g((bXe,z8)=>{"use strict";z8.exports=tHe;function tHe(t,e){if(t.pos==null||t.line==null)return t;let r=t.message;if(r+=` at row ${t.line+1}, col ${t.col+1}, pos ${t.pos}: + Operation status: ${A} + Polling status: ${Z$.terminalStates.includes(A)?"Stopped":"Running"}`),A==="succeeded"){let d=a(u,r);if(d!==void 0)return{response:await e(d).catch(X$({state:r,stateProxy:n,isOperationError:c})),status:A}}return{response:u,status:A}}o(F6e,"pollOperationHelper");async function H6e(t){let{poll:e,state:r,stateProxy:n,options:i,getOperationStatus:s,getResourceLocation:a,getOperationLocation:c,isOperationError:l,withOperationLocation:u,getPollingInterval:A,processResult:d,getError:f,updateState:h,setDelay:g,isDone:m,setErrorAsResult:b}=t,{operationLocation:y}=r.config;if(y!==void 0){let{response:I,status:w}=await F6e({poll:e,getOperationStatus:s,state:r,stateProxy:n,operationLocation:y,getResourceLocation:a,isOperationError:l,options:i});if(eX({status:w,response:I,state:r,stateProxy:n,isDone:m,processResult:d,getError:f,setErrorAsResult:b}),!Z$.terminalStates.includes(w)){let v=A?.(I);v&&g(v);let U=c?.(I,r);if(U!==void 0){let H=y!==U;r.config.operationLocation=U,u?.(U,H)}else u?.(y,!1)}h?.(r,I)}}o(H6e,"pollOperation");Yc.pollOperation=H6e});var M_=x(fr=>{"use strict";Object.defineProperty(fr,"__esModule",{value:!0});fr.pollHttpOperation=fr.isOperationError=fr.getResourceLocation=fr.getOperationStatus=fr.getOperationLocation=fr.initHttpOperation=fr.getStatusFromInitialResponse=fr.getErrorFromResponse=fr.parseRetryAfter=fr.inferLroMode=void 0;var tX=lC(),k_=aC();function rX(t){let{azureAsyncOperation:e,operationLocation:r}=t;return r??e}o(rX,"getOperationLocationPollingUrl");function nX(t){return t.headers.location}o(nX,"getLocationHeader");function iX(t){return t.headers["operation-location"]}o(iX,"getOperationLocationHeader");function sX(t){return t.headers["azure-asyncoperation"]}o(sX,"getAzureAsyncOperationHeader");function q6e(t){var e;let{location:r,requestMethod:n,requestPath:i,resourceLocationConfig:s}=t;switch(n){case"PUT":return i;case"DELETE":return;case"PATCH":return(e=a())!==null&&e!==void 0?e:i;default:return a()}function a(){switch(s){case"azure-async-operation":return;case"original-uri":return i;default:return r}}o(a,"getDefault")}o(q6e,"findResourceLocation");function oX(t){let{rawResponse:e,requestMethod:r,requestPath:n,resourceLocationConfig:i}=t,s=iX(e),a=sX(e),c=rX({operationLocation:s,azureAsyncOperation:a}),l=nX(e),u=r?.toLocaleUpperCase();return c!==void 0?{mode:"OperationLocation",operationLocation:c,resourceLocation:q6e({requestMethod:u,location:l,requestPath:n,resourceLocationConfig:i})}:l!==void 0?{mode:"ResourceLocation",operationLocation:l}:u==="PUT"&&n?{mode:"Body",operationLocation:n}:void 0}o(oX,"inferLroMode");fr.inferLroMode=oX;function aX(t){let{status:e,statusCode:r}=t;if(typeof e!="string"&&e!==void 0)throw new Error(`Polling was unsuccessful. Expected status to have a string value or no value but it has instead: ${e}. This doesn't necessarily indicate the operation has failed. Check your Azure subscription or resource status for more information.`);switch(e?.toLocaleLowerCase()){case void 0:return T_(r);case"succeeded":return"succeeded";case"failed":return"failed";case"running":case"accepted":case"started":case"canceling":case"cancelling":return"running";case"canceled":case"cancelled":return"canceled";default:return k_.logger.verbose(`LRO: unrecognized operation status: ${e}`),e}}o(aX,"transformStatus");function z6e(t){var e;let{status:r}=(e=t.body)!==null&&e!==void 0?e:{};return aX({status:r,statusCode:t.statusCode})}o(z6e,"getStatus");function G6e(t){var e,r;let{properties:n,provisioningState:i}=(e=t.body)!==null&&e!==void 0?e:{},s=(r=n?.provisioningState)!==null&&r!==void 0?r:i;return aX({status:s,statusCode:t.statusCode})}o(G6e,"getProvisioningState");function T_(t){return t===202?"running":t<300?"succeeded":"failed"}o(T_,"toOperationStatus");function cX({rawResponse:t}){let e=t.headers["retry-after"];if(e!==void 0){let r=parseInt(e);return isNaN(r)?j6e(new Date(e)):r*1e3}}o(cX,"parseRetryAfter");fr.parseRetryAfter=cX;function lX(t){let e=dX(t,"error");if(!e){k_.logger.warning("The long-running operation failed but there is no error property in the response's body");return}if(!e.code||!e.message){k_.logger.warning("The long-running operation failed but the error property in the response's body doesn't contain code or message");return}return e}o(lX,"getErrorFromResponse");fr.getErrorFromResponse=lX;function j6e(t){let e=Math.floor(new Date().getTime()),r=t.getTime();if(e{let a=await i.sendInitialRequest(),c=oX({rawResponse:a.rawResponse,requestPath:i.requestPath,requestMethod:i.requestMethod,resourceLocationConfig:r});return Object.assign({response:a,operationLocation:c?.operationLocation,resourceLocation:c?.resourceLocation},c?.mode?{metadata:{mode:c.mode}}:{})},"init"),stateProxy:e,processResult:n?({flatResponse:a},c)=>n(a,c):({flatResponse:a})=>a,getOperationStatus:uX,setErrorAsResult:s})}o(Y6e,"initHttpOperation");fr.initHttpOperation=Y6e;function AX({rawResponse:t},e){var r;switch((r=e.config.metadata)===null||r===void 0?void 0:r.mode){case"OperationLocation":return rX({operationLocation:iX(t),azureAsyncOperation:sX(t)});case"ResourceLocation":return nX(t);default:return}}o(AX,"getOperationLocation");fr.getOperationLocation=AX;function O_({rawResponse:t},e){var r;let n=(r=e.config.metadata)===null||r===void 0?void 0:r.mode;switch(n){case"OperationLocation":return z6e(t);case"ResourceLocation":return T_(t.statusCode);case"Body":return G6e(t);default:throw new Error(`Internal error: Unexpected operation mode: ${n}`)}}o(O_,"getOperationStatus");fr.getOperationStatus=O_;function dX({flatResponse:t,rawResponse:e},r){var n,i;return(n=t?.[r])!==null&&n!==void 0?n:(i=e.body)===null||i===void 0?void 0:i[r]}o(dX,"accessBodyProperty");function fX(t,e){let r=dX(t,"resourceLocation");return r&&typeof r=="string"&&(e.config.resourceLocation=r),e.config.resourceLocation}o(fX,"getResourceLocation");fr.getResourceLocation=fX;function hX(t){return t.name==="RestError"}o(hX,"isOperationError");fr.isOperationError=hX;async function K6e(t){let{lro:e,stateProxy:r,options:n,processResult:i,updateState:s,setDelay:a,state:c,setErrorAsResult:l}=t;return(0,tX.pollOperation)({state:c,stateProxy:r,setDelay:a,processResult:i?({flatResponse:u},A)=>i(u,A):({flatResponse:u})=>u,getError:lX,updateState:s,getPollingInterval:cX,getOperationLocation:AX,getOperationStatus:O_,isOperationError:hX,getResourceLocation:fX,options:n,poll:o(async(u,A)=>e.sendPollRequest(u,A),"poll"),setErrorAsResult:l})}o(K6e,"pollHttpOperation");fr.pollHttpOperation=K6e});var pX=x(uC=>{"use strict";Object.defineProperty(uC,"__esModule",{value:!0});uC.buildCreatePoller=void 0;var L_=lC(),J6e=cC(),V6e=Xt(),W6e=o(()=>({initState:o(t=>({status:"running",config:t}),"initState"),setCanceled:o(t=>t.status="canceled","setCanceled"),setError:o((t,e)=>t.error=e,"setError"),setResult:o((t,e)=>t.result=e,"setResult"),setRunning:o(t=>t.status="running","setRunning"),setSucceeded:o(t=>t.status="succeeded","setSucceeded"),setFailed:o(t=>t.status="failed","setFailed"),getError:o(t=>t.error,"getError"),getResult:o(t=>t.result,"getResult"),isCanceled:o(t=>t.status==="canceled","isCanceled"),isFailed:o(t=>t.status==="failed","isFailed"),isRunning:o(t=>t.status==="running","isRunning"),isSucceeded:o(t=>t.status==="succeeded","isSucceeded")}),"createStateProxy");function $6e(t){let{getOperationLocation:e,getStatusFromInitialResponse:r,getStatusFromPollResponse:n,isOperationError:i,getResourceLocation:s,getPollingInterval:a,getError:c,resolveOnUnsuccessful:l}=t;return async({init:u,poll:A},d)=>{let{processResult:f,updateState:h,withOperationLocation:g,intervalInMs:m=J6e.POLL_INTERVAL_IN_MS,restoreFrom:b}=d||{},y=W6e(),I=g?(()=>{let L=!1;return(z,_)=>{_?g(z):L||g(z),L=!0}})():void 0,w=b?(0,L_.deserializeState)(b):await(0,L_.initOperation)({init:u,stateProxy:y,processResult:f,getOperationStatus:r,withOperationLocation:I,setErrorAsResult:!l}),v,U=new AbortController,H=new Map,J=o(async()=>H.forEach(L=>L(w)),"handleProgressEvents"),q="Operation was canceled",D=m,T={getOperationState:o(()=>w,"getOperationState"),getResult:o(()=>w.result,"getResult"),isDone:o(()=>["succeeded","failed","canceled"].includes(w.status),"isDone"),isStopped:o(()=>v===void 0,"isStopped"),stopPolling:o(()=>{U.abort()},"stopPolling"),toString:o(()=>JSON.stringify({state:w}),"toString"),onProgress:o(L=>{let z=Symbol();return H.set(z,L),()=>H.delete(z)},"onProgress"),pollUntilDone:o(L=>v??(v=(async()=>{let{abortSignal:z}=L||{};function _(){U.abort()}o(_,"abortListener");let k=U.signal;z?.aborted?U.abort():k.aborted||z?.addEventListener("abort",_,{once:!0});try{if(!T.isDone())for(await T.poll({abortSignal:k});!T.isDone();)await(0,V6e.delay)(D,{abortSignal:k}),await T.poll({abortSignal:k})}finally{z?.removeEventListener("abort",_)}if(l)return T.getResult();switch(w.status){case"succeeded":return T.getResult();case"canceled":throw new Error(q);case"failed":throw w.error;case"notStarted":case"running":throw new Error("Polling completed without succeeding or failing")}})().finally(()=>{v=void 0})),"pollUntilDone"),async poll(L){if(l){if(T.isDone())return}else switch(w.status){case"succeeded":return;case"canceled":throw new Error(q);case"failed":throw w.error}if(await(0,L_.pollOperation)({poll:A,state:w,stateProxy:y,getOperationLocation:e,isOperationError:i,withOperationLocation:I,getPollingInterval:a,getOperationStatus:n,getResourceLocation:s,processResult:f,getError:c,updateState:h,options:L,setDelay:o(z=>{D=z},"setDelay"),setErrorAsResult:!l}),await J(),!l)switch(w.status){case"canceled":throw new Error(q);case"failed":throw w.error}}};return T}}o($6e,"buildCreatePoller");uC.buildCreatePoller=$6e});var gX=x(AC=>{"use strict";Object.defineProperty(AC,"__esModule",{value:!0});AC.createHttpPoller=void 0;var Kc=M_(),X6e=pX();async function Z6e(t,e){let{resourceLocationConfig:r,intervalInMs:n,processResult:i,restoreFrom:s,updateState:a,withOperationLocation:c,resolveOnUnsuccessful:l=!1}=e||{};return(0,X6e.buildCreatePoller)({getStatusFromInitialResponse:Kc.getStatusFromInitialResponse,getStatusFromPollResponse:Kc.getOperationStatus,isOperationError:Kc.isOperationError,getOperationLocation:Kc.getOperationLocation,getResourceLocation:Kc.getResourceLocation,getPollingInterval:Kc.parseRetryAfter,getError:Kc.getErrorFromResponse,resolveOnUnsuccessful:l})({init:o(async()=>{let u=await t.sendInitialRequest(),A=(0,Kc.inferLroMode)({rawResponse:u.rawResponse,requestPath:t.requestPath,requestMethod:t.requestMethod,resourceLocationConfig:r});return Object.assign({response:u,operationLocation:A?.operationLocation,resourceLocation:A?.resourceLocation},A?.mode?{metadata:{mode:A.mode}}:{})},"init"),poll:t.sendPollRequest},{intervalInMs:n,withOperationLocation:c,restoreFrom:s,updateState:a,processResult:i?({flatResponse:u},A)=>i(u,A):({flatResponse:u})=>u})}o(Z6e,"createHttpPoller");AC.createHttpPoller=Z6e});var yX=x(dC=>{"use strict";Object.defineProperty(dC,"__esModule",{value:!0});dC.GenericPollOperation=void 0;var mX=M_(),eHe=aC(),tHe=o(()=>({initState:o(t=>({config:t,isStarted:!0}),"initState"),setCanceled:o(t=>t.isCancelled=!0,"setCanceled"),setError:o((t,e)=>t.error=e,"setError"),setResult:o((t,e)=>t.result=e,"setResult"),setRunning:o(t=>t.isStarted=!0,"setRunning"),setSucceeded:o(t=>t.isCompleted=!0,"setSucceeded"),setFailed:o(()=>{},"setFailed"),getError:o(t=>t.error,"getError"),getResult:o(t=>t.result,"getResult"),isCanceled:o(t=>!!t.isCancelled,"isCanceled"),isFailed:o(t=>!!t.error,"isFailed"),isRunning:o(t=>!!t.isStarted,"isRunning"),isSucceeded:o(t=>!!(t.isCompleted&&!t.isCancelled&&!t.error),"isSucceeded")}),"createStateProxy"),U_=class{static{o(this,"GenericPollOperation")}constructor(e,r,n,i,s,a,c){this.state=e,this.lro=r,this.setErrorAsResult=n,this.lroResourceLocationConfig=i,this.processResult=s,this.updateState=a,this.isDone=c}setPollerConfig(e){this.pollerConfig=e}async update(e){var r;let n=tHe();this.state.isStarted||(this.state=Object.assign(Object.assign({},this.state),await(0,mX.initHttpOperation)({lro:this.lro,stateProxy:n,resourceLocationConfig:this.lroResourceLocationConfig,processResult:this.processResult,setErrorAsResult:this.setErrorAsResult})));let i=this.updateState,s=this.isDone;return!this.state.isCompleted&&this.state.error===void 0&&await(0,mX.pollHttpOperation)({lro:this.lro,state:this.state,stateProxy:n,processResult:this.processResult,updateState:i?(a,{rawResponse:c})=>i(a,c):void 0,isDone:s?({flatResponse:a},c)=>s(a,c):void 0,options:e,setDelay:o(a=>{this.pollerConfig.intervalInMs=a},"setDelay"),setErrorAsResult:this.setErrorAsResult}),(r=e?.fireProgress)===null||r===void 0||r.call(e,this.state),this}async cancel(){return eHe.logger.error("`cancelOperation` is deprecated because it wasn't implemented"),this}toString(){return JSON.stringify({state:this.state})}};dC.GenericPollOperation=U_});var H_=x(Jc=>{"use strict";Object.defineProperty(Jc,"__esModule",{value:!0});Jc.Poller=Jc.PollerCancelledError=Jc.PollerStoppedError=void 0;var fC=class t extends Error{static{o(this,"PollerStoppedError")}constructor(e){super(e),this.name="PollerStoppedError",Object.setPrototypeOf(this,t.prototype)}};Jc.PollerStoppedError=fC;var hC=class t extends Error{static{o(this,"PollerCancelledError")}constructor(e){super(e),this.name="PollerCancelledError",Object.setPrototypeOf(this,t.prototype)}};Jc.PollerCancelledError=hC;var F_=class{static{o(this,"Poller")}constructor(e){this.resolveOnUnsuccessful=!1,this.stopped=!0,this.pollProgressCallbacks=[],this.operation=e,this.promise=new Promise((r,n)=>{this.resolve=r,this.reject=n}),this.promise.catch(()=>{})}async startPolling(e={}){for(this.stopped&&(this.stopped=!1);!this.isStopped()&&!this.isDone();)await this.poll(e),await this.delay()}async pollOnce(e={}){this.isDone()||(this.operation=await this.operation.update({abortSignal:e.abortSignal,fireProgress:this.fireProgress.bind(this)})),this.processUpdatedState()}fireProgress(e){for(let r of this.pollProgressCallbacks)r(e)}async cancelOnce(e={}){this.operation=await this.operation.cancel(e)}poll(e={}){if(!this.pollOncePromise){this.pollOncePromise=this.pollOnce(e);let r=o(()=>{this.pollOncePromise=void 0},"clearPollOncePromise");this.pollOncePromise.then(r,r).catch(this.reject)}return this.pollOncePromise}processUpdatedState(){if(this.operation.state.error&&(this.stopped=!0,!this.resolveOnUnsuccessful))throw this.reject(this.operation.state.error),this.operation.state.error;if(this.operation.state.isCancelled&&(this.stopped=!0,!this.resolveOnUnsuccessful)){let e=new hC("Operation was canceled");throw this.reject(e),e}this.isDone()&&this.resolve&&this.resolve(this.getResult())}async pollUntilDone(e={}){return this.stopped&&this.startPolling(e).catch(this.reject),this.processUpdatedState(),this.promise}onProgress(e){return this.pollProgressCallbacks.push(e),()=>{this.pollProgressCallbacks=this.pollProgressCallbacks.filter(r=>r!==e)}}isDone(){let e=this.operation.state;return!!(e.isCompleted||e.isCancelled||e.error)}stopPolling(){this.stopped||(this.stopped=!0,this.reject&&this.reject(new fC("This poller is already stopped")))}isStopped(){return this.stopped}cancelOperation(e={}){if(!this.cancelPromise)this.cancelPromise=this.cancelOnce(e);else if(e.abortSignal)throw new Error("A cancel request is currently pending");return this.cancelPromise}getOperationState(){return this.operation.state}getResult(){return this.operation.state.result}toString(){return this.operation.toString()}};Jc.Poller=F_});var EX=x(pC=>{"use strict";Object.defineProperty(pC,"__esModule",{value:!0});pC.LroEngine=void 0;var rHe=yX(),nHe=cC(),iHe=H_(),sHe=lC(),q_=class extends iHe.Poller{static{o(this,"LroEngine")}constructor(e,r){let{intervalInMs:n=nHe.POLL_INTERVAL_IN_MS,resumeFrom:i,resolveOnUnsuccessful:s=!1,isDone:a,lroResourceLocationConfig:c,processResult:l,updateState:u}=r||{},A=i?(0,sHe.deserializeState)(i):{},d=new rHe.GenericPollOperation(A,e,!s,c,l,u,a);super(d),this.resolveOnUnsuccessful=s,this.config={intervalInMs:n},d.setPollerConfig(this.config)}delay(){return new Promise(e=>setTimeout(()=>e(),this.config.intervalInMs))}};pC.LroEngine=q_});var bX=x(gC=>{"use strict";Object.defineProperty(gC,"__esModule",{value:!0});gC.LroEngine=void 0;var oHe=EX();Object.defineProperty(gC,"LroEngine",{enumerable:!0,get:o(function(){return oHe.LroEngine},"get")})});var xX=x(CX=>{"use strict";Object.defineProperty(CX,"__esModule",{value:!0})});var IX=x(Cu=>{"use strict";Object.defineProperty(Cu,"__esModule",{value:!0});Cu.createHttpPoller=void 0;var z_=(Wr(),cn(Vr)),aHe=gX();Object.defineProperty(Cu,"createHttpPoller",{enumerable:!0,get:o(function(){return aHe.createHttpPoller},"get")});z_.__exportStar(bX(),Cu);z_.__exportStar(H_(),Cu);z_.__exportStar(xX(),Cu)});var BX=x(mC=>{"use strict";Object.defineProperty(mC,"__esModule",{value:!0});mC.BlobBeginCopyFromUrlPoller=void 0;var cHe=Xt(),lHe=IX(),G_=class extends lHe.Poller{static{o(this,"BlobBeginCopyFromUrlPoller")}intervalInMs;constructor(e){let{blobClient:r,copySource:n,intervalInMs:i=15e3,onProgress:s,resumeFrom:a,startCopyFromURLOptions:c}=e,l;a&&(l=JSON.parse(a).state);let u=ng({...l,blobClient:r,copySource:n,startCopyFromURLOptions:c});super(u),typeof s=="function"&&this.onProgress(s),this.intervalInMs=i}delay(){return(0,cHe.delay)(this.intervalInMs)}};mC.BlobBeginCopyFromUrlPoller=G_;var uHe=o(async function(e={}){let r=this.state,{copyId:n}=r;return r.isCompleted?ng(r):n?(await r.blobClient.abortCopyFromURL(n,{abortSignal:e.abortSignal}),r.isCancelled=!0,ng(r)):(r.isCancelled=!0,ng(r))},"cancel"),AHe=o(async function(e={}){let r=this.state,{blobClient:n,copySource:i,startCopyFromURLOptions:s}=r;if(r.isStarted){if(!r.isCompleted)try{let a=await r.blobClient.getProperties({abortSignal:e.abortSignal}),{copyStatus:c,copyProgress:l}=a,u=r.copyProgress;l&&(r.copyProgress=l),c==="pending"&&l!==u&&typeof e.fireProgress=="function"?e.fireProgress(r):c==="success"?(r.result=a,r.isCompleted=!0):c==="failed"&&(r.error=new Error(`Blob copy failed with reason: "${a.copyStatusDescription||"unknown"}"`),r.isCompleted=!0)}catch(a){r.error=a,r.isCompleted=!0}}else{r.isStarted=!0;let a=await n.startCopyFromURL(i,s);r.copyId=a.copyId,a.copyStatus==="success"&&(r.result=a,r.isCompleted=!0)}return ng(r)},"update"),dHe=o(function(){return JSON.stringify({state:this.state},(e,r)=>{if(e!=="blobClient")return r})},"toString");function ng(t){return{state:{...t},cancel:uHe,toString:dHe,update:AHe}}o(ng,"makeBlobBeginCopyFromURLPollOperation")});var wX=x(j_=>{"use strict";Object.defineProperty(j_,"__esModule",{value:!0});j_.rangeToString=fHe;function fHe(t){if(t.offset<0)throw new RangeError("Range.offset cannot be smaller than 0.");if(t.count&&t.count<=0)throw new RangeError("Range.count must be larger than 0. Leave it undefined if you want a range from offset to the end.");return t.count?`bytes=${t.offset}-${t.offset+t.count-1}`:`bytes=${t.offset}-`}o(fHe,"rangeToString")});var QX=x(yC=>{"use strict";Object.defineProperty(yC,"__esModule",{value:!0});yC.Batch=void 0;var hHe=require("events"),ig;(function(t){t[t.Good=0]="Good",t[t.Error=1]="Error"})(ig||(ig={}));var Y_=class{static{o(this,"Batch")}concurrency;actives=0;completed=0;offset=0;operations=[];state=ig.Good;emitter;constructor(e=5){if(e<1)throw new RangeError("concurrency must be larger than 0");this.concurrency=e,this.emitter=new hHe.EventEmitter}addOperation(e){this.operations.push(async()=>{try{this.actives++,await e(),this.actives--,this.completed++,this.parallelExecute()}catch(r){this.emitter.emit("error",r)}})}async do(){return this.operations.length===0?Promise.resolve():(this.parallelExecute(),new Promise((e,r)=>{this.emitter.on("finish",e),this.emitter.on("error",n=>{this.state=ig.Error,r(n)})}))}nextOperation(){return this.offset=this.operations.length){this.emitter.emit("finish");return}for(;this.actives{"use strict";Object.defineProperty(_o,"__esModule",{value:!0});_o.fsCreateReadStream=_o.fsStat=void 0;_o.streamToBuffer=mHe;_o.streamToBuffer2=yHe;_o.streamToBuffer3=EHe;_o.readStreamToLocalFile=bHe;var SX=(Wr(),cn(Vr)),K_=SX.__importDefault(require("node:fs")),pHe=SX.__importDefault(require("node:util")),gHe=Oi();async function mHe(t,e,r,n,i){let s=0,a=n-r;return new Promise((c,l)=>{let u=setTimeout(()=>l(new Error("The operation cannot be completed in timeout.")),gHe.REQUEST_TIMEOUT);t.on("readable",()=>{if(s>=a){clearTimeout(u),c();return}let A=t.read();if(!A)return;typeof A=="string"&&(A=Buffer.from(A,i));let d=s+A.length>a?a-s:A.length;e.fill(A.slice(0,d),r+s,r+s+d),s+=d}),t.on("end",()=>{clearTimeout(u),s{clearTimeout(u),l(A)})})}o(mHe,"streamToBuffer");async function yHe(t,e,r){let n=0,i=e.length;return new Promise((s,a)=>{t.on("readable",()=>{let c=t.read();if(c){if(typeof c=="string"&&(c=Buffer.from(c,r)),n+c.length>i){a(new Error(`Stream exceeds buffer size. Buffer size: ${i}`));return}e.fill(c,n,n+c.length),n+=c.length}}),t.on("end",()=>{s(n)}),t.on("error",a)})}o(yHe,"streamToBuffer2");async function EHe(t,e){return new Promise((r,n)=>{let i=[];t.on("data",s=>{i.push(typeof s=="string"?Buffer.from(s,e):s)}),t.on("end",()=>{r(Buffer.concat(i))}),t.on("error",n)})}o(EHe,"streamToBuffer3");async function bHe(t,e){return new Promise((r,n)=>{let i=K_.default.createWriteStream(e);t.on("error",s=>{n(s)}),i.on("error",s=>{n(s)}),i.on("close",r),t.pipe(i)})}o(bHe,"readStreamToLocalFile");_o.fsStat=pHe.default.promisify(K_.default.stat);_o.fsCreateReadStream=K_.default.createReadStream});var QC=x(Do=>{"use strict";Object.defineProperty(Do,"__esModule",{value:!0});Do.PageBlobClient=Do.BlockBlobClient=Do.AppendBlobClient=Do.BlobClient=void 0;var BC=Lr(),wC=Nd(),hs=Xt(),NX=Xt(),CHe=O$(),xHe=K$(),hr=zs(),zt=P_(),V_=$$(),Pr=Lc(),IHe=BX(),Ui=wX(),BHe=Ub(),vX=QX(),wHe=zs(),Mt=Oi(),Me=fu(),ce=fs(),bC=J_(),EC=Kb(),QHe=Wb(),Xd=class t extends BHe.StorageClient{static{o(this,"BlobClient")}blobContext;_name;_containerName;_versionId;_snapshot;get name(){return this._name}get containerName(){return this._containerName}constructor(e,r,n,i){i=i||{};let s,a;if((0,Pr.isPipelineLike)(r))a=e,s=r;else if(hs.isNodeLike&&r instanceof hr.StorageSharedKeyCredential||r instanceof hr.AnonymousCredential||(0,wC.isTokenCredential)(r))a=e,i=n,s=(0,Pr.newPipeline)(r,i);else if(!r&&typeof r!="string")a=e,n&&typeof n!="string"&&(i=n),s=(0,Pr.newPipeline)(new hr.AnonymousCredential,i);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,u=(0,ce.extractConnectionStringParts)(e);if(u.kind==="AccountConnString")if(hs.isNodeLike){let A=new hr.StorageSharedKeyCredential(u.accountName,u.accountKey);a=(0,ce.appendToURLPath)((0,ce.appendToURLPath)(u.url,encodeURIComponent(c)),encodeURIComponent(l)),i.proxyOptions||(i.proxyOptions=(0,BC.getDefaultProxySettings)(u.proxyUri)),s=(0,Pr.newPipeline)(A,i)}else throw new Error("Account connection string is only supported in Node.js environment");else if(u.kind==="SASConnString")a=(0,ce.appendToURLPath)((0,ce.appendToURLPath)(u.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+u.accountSas,s=(0,Pr.newPipeline)(new hr.AnonymousCredential,i);else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}else throw new Error("Expecting non-empty strings for containerName and blobName parameters");super(a,s),{blobName:this._name,containerName:this._containerName}=this.getBlobAndContainerNamesFromUrl(),this.blobContext=this.storageClientContext.blob,this._snapshot=(0,ce.getURLParameter)(this.url,Mt.URLConstants.Parameters.SNAPSHOT),this._versionId=(0,ce.getURLParameter)(this.url,Mt.URLConstants.Parameters.VERSIONID)}withSnapshot(e){return new t((0,ce.setURLParameter)(this.url,Mt.URLConstants.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}withVersion(e){return new t((0,ce.setURLParameter)(this.url,Mt.URLConstants.Parameters.VERSIONID,e.length===0?void 0:e),this.pipeline)}getAppendBlobClient(){return new CC(this.url,this.pipeline)}getBlockBlobClient(){return new xC(this.url,this.pipeline)}getPageBlobClient(){return new IC(this.url,this.pipeline)}async download(e=0,r,n={}){return n.conditions=n.conditions||{},n.conditions=n.conditions||{},(0,zt.ensureCpkIfSpecified)(n.customerProvidedKey,this.isHttps),Me.tracingClient.withSpan("BlobClient-download",n,async i=>{let s=(0,ce.assertResponse)(await this.blobContext.download({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onDownloadProgress:hs.isNodeLike?void 0:n.onProgress},range:e===0&&!r?void 0:(0,Ui.rangeToString)({offset:e,count:r}),rangeGetContentMD5:n.rangeGetContentMD5,rangeGetContentCRC64:n.rangeGetContentCrc64,snapshot:n.snapshot,cpkInfo:n.customerProvidedKey,tracingOptions:i.tracingOptions})),a={...s,_response:s._response,objectReplicationDestinationPolicyId:s.objectReplicationPolicyId,objectReplicationSourceProperties:(0,ce.parseObjectReplicationRecord)(s.objectReplicationRules)};if(!hs.isNodeLike)return a;if((n.maxRetryRequests===void 0||n.maxRetryRequests<0)&&(n.maxRetryRequests=Mt.DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS),s.contentLength===void 0)throw new RangeError("File download response doesn't contain valid content length header");if(!s.etag)throw new RangeError("File download response doesn't contain valid etag header");return new CHe.BlobDownloadResponse(a,async c=>{let l={leaseAccessConditions:n.conditions,modifiedAccessConditions:{ifMatch:n.conditions.ifMatch||s.etag,ifModifiedSince:n.conditions.ifModifiedSince,ifNoneMatch:n.conditions.ifNoneMatch,ifUnmodifiedSince:n.conditions.ifUnmodifiedSince,ifTags:n.conditions?.tagConditions},range:(0,Ui.rangeToString)({count:e+s.contentLength-c,offset:c}),rangeGetContentMD5:n.rangeGetContentMD5,rangeGetContentCRC64:n.rangeGetContentCrc64,snapshot:n.snapshot,cpkInfo:n.customerProvidedKey};return(await this.blobContext.download({abortSignal:n.abortSignal,...l})).readableStreamBody},e,s.contentLength,{maxRetryRequests:n.maxRetryRequests,onProgress:n.onProgress})})}async exists(e={}){return Me.tracingClient.withSpan("BlobClient-exists",e,async r=>{try{return(0,zt.ensureCpkIfSpecified)(e.customerProvidedKey,this.isHttps),await this.getProperties({abortSignal:e.abortSignal,customerProvidedKey:e.customerProvidedKey,conditions:e.conditions,tracingOptions:r.tracingOptions}),!0}catch(n){if(n.statusCode===404)return!1;if(n.statusCode===409&&(n.details.errorCode===Mt.BlobUsesCustomerSpecifiedEncryptionMsg||n.details.errorCode===Mt.BlobDoesNotUseCustomerSpecifiedEncryption))return!0;throw n}})}async getProperties(e={}){return e.conditions=e.conditions||{},(0,zt.ensureCpkIfSpecified)(e.customerProvidedKey,this.isHttps),Me.tracingClient.withSpan("BlobClient-getProperties",e,async r=>{let n=(0,ce.assertResponse)(await this.blobContext.getProperties({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,tracingOptions:r.tracingOptions}));return{...n,_response:n._response,objectReplicationDestinationPolicyId:n.objectReplicationPolicyId,objectReplicationSourceProperties:(0,ce.parseObjectReplicationRecord)(n.objectReplicationRules)}})}async delete(e={}){return e.conditions=e.conditions||{},Me.tracingClient.withSpan("BlobClient-delete",e,async r=>(0,ce.assertResponse)(await this.blobContext.delete({abortSignal:e.abortSignal,deleteSnapshots:e.deleteSnapshots,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}async deleteIfExists(e={}){return Me.tracingClient.withSpan("BlobClient-deleteIfExists",e,async r=>{try{let n=(0,ce.assertResponse)(await this.delete(r));return{succeeded:!0,...n,_response:n._response}}catch(n){if(n.details?.errorCode==="BlobNotFound")return{succeeded:!1,...n.response?.parsedHeaders,_response:n.response};throw n}})}async undelete(e={}){return Me.tracingClient.withSpan("BlobClient-undelete",e,async r=>(0,ce.assertResponse)(await this.blobContext.undelete({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}async setHTTPHeaders(e,r={}){return r.conditions=r.conditions||{},(0,zt.ensureCpkIfSpecified)(r.customerProvidedKey,this.isHttps),Me.tracingClient.withSpan("BlobClient-setHTTPHeaders",r,async n=>(0,ce.assertResponse)(await this.blobContext.setHttpHeaders({abortSignal:r.abortSignal,blobHttpHeaders:e,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions})))}async setMetadata(e,r={}){return r.conditions=r.conditions||{},(0,zt.ensureCpkIfSpecified)(r.customerProvidedKey,this.isHttps),Me.tracingClient.withSpan("BlobClient-setMetadata",r,async n=>(0,ce.assertResponse)(await this.blobContext.setMetadata({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,metadata:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,tracingOptions:n.tracingOptions})))}async setTags(e,r={}){return Me.tracingClient.withSpan("BlobClient-setTags",r,async n=>(0,ce.assertResponse)(await this.blobContext.setTags({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},blobModifiedAccessConditions:r.conditions,tracingOptions:n.tracingOptions,tags:(0,ce.toBlobTags)(e)})))}async getTags(e={}){return Me.tracingClient.withSpan("BlobClient-getTags",e,async r=>{let n=(0,ce.assertResponse)(await this.blobContext.getTags({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},blobModifiedAccessConditions:e.conditions,tracingOptions:r.tracingOptions}));return{...n,_response:n._response,tags:(0,ce.toTags)({blobTagSet:n.blobTagSet})||{}}})}getBlobLeaseClient(e){return new QHe.BlobLeaseClient(this,e)}async createSnapshot(e={}){return e.conditions=e.conditions||{},(0,zt.ensureCpkIfSpecified)(e.customerProvidedKey,this.isHttps),Me.tracingClient.withSpan("BlobClient-createSnapshot",e,async r=>(0,ce.assertResponse)(await this.blobContext.createSnapshot({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,tracingOptions:r.tracingOptions})))}async beginCopyFromURL(e,r={}){let n={abortCopyFromURL:o((...s)=>this.abortCopyFromURL(...s),"abortCopyFromURL"),getProperties:o((...s)=>this.getProperties(...s),"getProperties"),startCopyFromURL:o((...s)=>this.startCopyFromURL(...s),"startCopyFromURL")},i=new IHe.BlobBeginCopyFromUrlPoller({blobClient:n,copySource:e,intervalInMs:r.intervalInMs,onProgress:r.onProgress,resumeFrom:r.resumeFrom,startCopyFromURLOptions:r});return await i.poll(),i}async abortCopyFromURL(e,r={}){return Me.tracingClient.withSpan("BlobClient-abortCopyFromURL",r,async n=>(0,ce.assertResponse)(await this.blobContext.abortCopyFromURL(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,tracingOptions:n.tracingOptions})))}async syncCopyFromURL(e,r={}){return r.conditions=r.conditions||{},r.sourceConditions=r.sourceConditions||{},Me.tracingClient.withSpan("BlobClient-syncCopyFromURL",r,async n=>(0,ce.assertResponse)(await this.blobContext.copyFromURL(e,{abortSignal:r.abortSignal,metadata:r.metadata,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:r.sourceConditions?.ifMatch,sourceIfModifiedSince:r.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:r.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:r.sourceConditions?.ifUnmodifiedSince},sourceContentMD5:r.sourceContentMD5,copySourceAuthorization:(0,ce.httpAuthorizationToString)(r.sourceAuthorization),tier:(0,zt.toAccessTier)(r.tier),blobTagsString:(0,ce.toBlobTagsString)(r.tags),immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,encryptionScope:r.encryptionScope,copySourceTags:r.copySourceTags,fileRequestIntent:r.sourceShareTokenIntent,tracingOptions:n.tracingOptions})))}async setAccessTier(e,r={}){return Me.tracingClient.withSpan("BlobClient-setAccessTier",r,async n=>(0,ce.assertResponse)(await this.blobContext.setTier((0,zt.toAccessTier)(e),{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},rehydratePriority:r.rehydratePriority,tracingOptions:n.tracingOptions})))}async downloadToBuffer(e,r,n,i={}){let s,a=0,c=0,l=i;e instanceof Buffer?(s=e,a=r||0,c=typeof n=="number"?n:0):(a=typeof e=="number"?e:0,c=typeof r=="number"?r:0,l=n||{});let u=l.blockSize??0;if(u<0)throw new RangeError("blockSize option must be >= 0");if(u===0&&(u=Mt.DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES),a<0)throw new RangeError("offset option must be >= 0");if(c&&c<=0)throw new RangeError("count option must be greater than 0");return l.conditions||(l.conditions={}),Me.tracingClient.withSpan("BlobClient-downloadToBuffer",l,async A=>{if(!c){let h=await this.getProperties({...l,tracingOptions:A.tracingOptions});if(c=h.contentLength-a,c<0)throw new RangeError(`offset ${a} shouldn't be larger than blob size ${h.contentLength}`)}if(!s)try{s=Buffer.alloc(c)}catch(h){throw new Error(`Unable to allocate the buffer of size: ${c}(in bytes). Please try passing your own buffer to the "downloadToBuffer" method or try using other methods like "download" or "downloadToFile". ${h.message}`)}if(s.length{let g=a+c;h+u{let a=await this.download(r,n,{...i,tracingOptions:s.tracingOptions});return a.readableStreamBody&&await(0,bC.readStreamToLocalFile)(a.readableStreamBody,e),a.blobDownloadStream=void 0,a})}getBlobAndContainerNamesFromUrl(){let e,r;try{let n=new URL(this.url);if(n.host.split(".")[1]==="blob"){let i=n.pathname.match("/([^/]*)(/(.*))?");e=i[1],r=i[3]}else if((0,ce.isIpEndpointStyle)(n)){let i=n.pathname.match("/([^/]*)/([^/]*)(/(.*))?");e=i[2],r=i[4]}else{let i=n.pathname.match("/([^/]*)(/(.*))?");e=i[1],r=i[3]}if(e=decodeURIComponent(e),r=decodeURIComponent(r),r=r.replace(/\\/g,"/"),!e)throw new Error("Provided containerName is invalid.");return{blobName:r,containerName:e}}catch{throw new Error("Unable to extract blobName and containerName with provided information.")}}async startCopyFromURL(e,r={}){return Me.tracingClient.withSpan("BlobClient-startCopyFromURL",r,async n=>(r.conditions=r.conditions||{},r.sourceConditions=r.sourceConditions||{},(0,ce.assertResponse)(await this.blobContext.startCopyFromURL(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,metadata:r.metadata,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:r.sourceConditions.ifMatch,sourceIfModifiedSince:r.sourceConditions.ifModifiedSince,sourceIfNoneMatch:r.sourceConditions.ifNoneMatch,sourceIfUnmodifiedSince:r.sourceConditions.ifUnmodifiedSince,sourceIfTags:r.sourceConditions.tagConditions},immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,rehydratePriority:r.rehydratePriority,tier:(0,zt.toAccessTier)(r.tier),blobTagsString:(0,ce.toBlobTagsString)(r.tags),sealBlob:r.sealBlob,tracingOptions:n.tracingOptions}))))}generateSasUrl(e){return new Promise(r=>{if(!(this.credential instanceof hr.StorageSharedKeyCredential))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");let n=(0,EC.generateBlobSASQueryParameters)({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).toString();r((0,ce.appendToURLQuery)(this.url,n))})}generateSasStringToSign(e){if(!(this.credential instanceof hr.StorageSharedKeyCredential))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");return(0,EC.generateBlobSASQueryParametersInternal)({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).stringToSign}generateUserDelegationSasUrl(e,r){return new Promise(n=>{let i=(0,EC.generateBlobSASQueryParameters)({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},r,this.accountName).toString();n((0,ce.appendToURLQuery)(this.url,i))})}generateUserDelegationSasStringToSign(e,r){return(0,EC.generateBlobSASQueryParametersInternal)({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},r,this.accountName).stringToSign}async deleteImmutabilityPolicy(e={}){return Me.tracingClient.withSpan("BlobClient-deleteImmutabilityPolicy",e,async r=>(0,ce.assertResponse)(await this.blobContext.deleteImmutabilityPolicy({tracingOptions:r.tracingOptions})))}async setImmutabilityPolicy(e,r={}){return Me.tracingClient.withSpan("BlobClient-setImmutabilityPolicy",r,async n=>(0,ce.assertResponse)(await this.blobContext.setImmutabilityPolicy({immutabilityPolicyExpiry:e.expiriesOn,immutabilityPolicyMode:e.policyMode,tracingOptions:n.tracingOptions})))}async setLegalHold(e,r={}){return Me.tracingClient.withSpan("BlobClient-setLegalHold",r,async n=>(0,ce.assertResponse)(await this.blobContext.setLegalHold(e,{tracingOptions:n.tracingOptions})))}async getAccountInfo(e={}){return Me.tracingClient.withSpan("BlobClient-getAccountInfo",e,async r=>(0,ce.assertResponse)(await this.blobContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}};Do.BlobClient=Xd;var CC=class t extends Xd{static{o(this,"AppendBlobClient")}appendBlobContext;constructor(e,r,n,i){let s,a;if(i=i||{},(0,Pr.isPipelineLike)(r))a=e,s=r;else if(hs.isNodeLike&&r instanceof hr.StorageSharedKeyCredential||r instanceof hr.AnonymousCredential||(0,wC.isTokenCredential)(r))a=e,i=n,s=(0,Pr.newPipeline)(r,i);else if(!r&&typeof r!="string")a=e,s=(0,Pr.newPipeline)(new hr.AnonymousCredential,i);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,u=(0,ce.extractConnectionStringParts)(e);if(u.kind==="AccountConnString")if(hs.isNodeLike){let A=new hr.StorageSharedKeyCredential(u.accountName,u.accountKey);a=(0,ce.appendToURLPath)((0,ce.appendToURLPath)(u.url,encodeURIComponent(c)),encodeURIComponent(l)),i.proxyOptions||(i.proxyOptions=(0,BC.getDefaultProxySettings)(u.proxyUri)),s=(0,Pr.newPipeline)(A,i)}else throw new Error("Account connection string is only supported in Node.js environment");else if(u.kind==="SASConnString")a=(0,ce.appendToURLPath)((0,ce.appendToURLPath)(u.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+u.accountSas,s=(0,Pr.newPipeline)(new hr.AnonymousCredential,i);else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}else throw new Error("Expecting non-empty strings for containerName and blobName parameters");super(a,s),this.appendBlobContext=this.storageClientContext.appendBlob}withSnapshot(e){return new t((0,ce.setURLParameter)(this.url,Mt.URLConstants.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async create(e={}){return e.conditions=e.conditions||{},(0,zt.ensureCpkIfSpecified)(e.customerProvidedKey,this.isHttps),Me.tracingClient.withSpan("AppendBlobClient-create",e,async r=>(0,ce.assertResponse)(await this.appendBlobContext.create(0,{abortSignal:e.abortSignal,blobHttpHeaders:e.blobHTTPHeaders,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,immutabilityPolicyExpiry:e.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:e.immutabilityPolicy?.policyMode,legalHold:e.legalHold,blobTagsString:(0,ce.toBlobTagsString)(e.tags),tracingOptions:r.tracingOptions})))}async createIfNotExists(e={}){let r={ifNoneMatch:Mt.ETagAny};return Me.tracingClient.withSpan("AppendBlobClient-createIfNotExists",e,async n=>{try{let i=(0,ce.assertResponse)(await this.create({...n,conditions:r}));return{succeeded:!0,...i,_response:i._response}}catch(i){if(i.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...i.response?.parsedHeaders,_response:i.response};throw i}})}async seal(e={}){return e.conditions=e.conditions||{},Me.tracingClient.withSpan("AppendBlobClient-seal",e,async r=>(0,ce.assertResponse)(await this.appendBlobContext.seal({abortSignal:e.abortSignal,appendPositionAccessConditions:e.conditions,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}async appendBlock(e,r,n={}){return n.conditions=n.conditions||{},(0,zt.ensureCpkIfSpecified)(n.customerProvidedKey,this.isHttps),Me.tracingClient.withSpan("AppendBlobClient-appendBlock",n,async i=>(0,ce.assertResponse)(await this.appendBlobContext.appendBlock(r,e,{abortSignal:n.abortSignal,appendPositionAccessConditions:n.conditions,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onUploadProgress:n.onProgress},transactionalContentMD5:n.transactionalContentMD5,transactionalContentCrc64:n.transactionalContentCrc64,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,tracingOptions:i.tracingOptions})))}async appendBlockFromURL(e,r,n,i={}){return i.conditions=i.conditions||{},i.sourceConditions=i.sourceConditions||{},(0,zt.ensureCpkIfSpecified)(i.customerProvidedKey,this.isHttps),Me.tracingClient.withSpan("AppendBlobClient-appendBlockFromURL",i,async s=>(0,ce.assertResponse)(await this.appendBlobContext.appendBlockFromUrl(e,0,{abortSignal:i.abortSignal,sourceRange:(0,Ui.rangeToString)({offset:r,count:n}),sourceContentMD5:i.sourceContentMD5,sourceContentCrc64:i.sourceContentCrc64,leaseAccessConditions:i.conditions,appendPositionAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:i.sourceConditions?.ifMatch,sourceIfModifiedSince:i.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:i.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:i.sourceConditions?.ifUnmodifiedSince},copySourceAuthorization:(0,ce.httpAuthorizationToString)(i.sourceAuthorization),cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:s.tracingOptions})))}};Do.AppendBlobClient=CC;var xC=class t extends Xd{static{o(this,"BlockBlobClient")}_blobContext;blockBlobContext;constructor(e,r,n,i){let s,a;if(i=i||{},(0,Pr.isPipelineLike)(r))a=e,s=r;else if(hs.isNodeLike&&r instanceof hr.StorageSharedKeyCredential||r instanceof hr.AnonymousCredential||(0,wC.isTokenCredential)(r))a=e,i=n,s=(0,Pr.newPipeline)(r,i);else if(!r&&typeof r!="string")a=e,n&&typeof n!="string"&&(i=n),s=(0,Pr.newPipeline)(new hr.AnonymousCredential,i);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,u=(0,ce.extractConnectionStringParts)(e);if(u.kind==="AccountConnString")if(hs.isNodeLike){let A=new hr.StorageSharedKeyCredential(u.accountName,u.accountKey);a=(0,ce.appendToURLPath)((0,ce.appendToURLPath)(u.url,encodeURIComponent(c)),encodeURIComponent(l)),i.proxyOptions||(i.proxyOptions=(0,BC.getDefaultProxySettings)(u.proxyUri)),s=(0,Pr.newPipeline)(A,i)}else throw new Error("Account connection string is only supported in Node.js environment");else if(u.kind==="SASConnString")a=(0,ce.appendToURLPath)((0,ce.appendToURLPath)(u.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+u.accountSas,s=(0,Pr.newPipeline)(new hr.AnonymousCredential,i);else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}else throw new Error("Expecting non-empty strings for containerName and blobName parameters");super(a,s),this.blockBlobContext=this.storageClientContext.blockBlob,this._blobContext=this.storageClientContext.blob}withSnapshot(e){return new t((0,ce.setURLParameter)(this.url,Mt.URLConstants.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async query(e,r={}){if((0,zt.ensureCpkIfSpecified)(r.customerProvidedKey,this.isHttps),!hs.isNodeLike)throw new Error("This operation currently is only supported in Node.js.");return Me.tracingClient.withSpan("BlockBlobClient-query",r,async n=>{let i=(0,ce.assertResponse)(await this._blobContext.query({abortSignal:r.abortSignal,queryRequest:{queryType:"SQL",expression:e,inputSerialization:(0,ce.toQuerySerialization)(r.inputTextConfiguration),outputSerialization:(0,ce.toQuerySerialization)(r.outputTextConfiguration)},leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,tracingOptions:n.tracingOptions}));return new xHe.BlobQueryResponse(i,{abortSignal:r.abortSignal,onProgress:r.onProgress,onError:r.onError})})}async upload(e,r,n={}){return n.conditions=n.conditions||{},(0,zt.ensureCpkIfSpecified)(n.customerProvidedKey,this.isHttps),Me.tracingClient.withSpan("BlockBlobClient-upload",n,async i=>(0,ce.assertResponse)(await this.blockBlobContext.upload(r,e,{abortSignal:n.abortSignal,blobHttpHeaders:n.blobHTTPHeaders,leaseAccessConditions:n.conditions,metadata:n.metadata,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onUploadProgress:n.onProgress},cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,immutabilityPolicyExpiry:n.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:n.immutabilityPolicy?.policyMode,legalHold:n.legalHold,tier:(0,zt.toAccessTier)(n.tier),blobTagsString:(0,ce.toBlobTagsString)(n.tags),tracingOptions:i.tracingOptions})))}async syncUploadFromURL(e,r={}){return r.conditions=r.conditions||{},(0,zt.ensureCpkIfSpecified)(r.customerProvidedKey,this.isHttps),Me.tracingClient.withSpan("BlockBlobClient-syncUploadFromURL",r,async n=>(0,ce.assertResponse)(await this.blockBlobContext.putBlobFromUrl(0,e,{...r,blobHttpHeaders:r.blobHTTPHeaders,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:r.sourceConditions?.ifMatch,sourceIfModifiedSince:r.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:r.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:r.sourceConditions?.ifUnmodifiedSince,sourceIfTags:r.sourceConditions?.tagConditions},cpkInfo:r.customerProvidedKey,copySourceAuthorization:(0,ce.httpAuthorizationToString)(r.sourceAuthorization),tier:(0,zt.toAccessTier)(r.tier),blobTagsString:(0,ce.toBlobTagsString)(r.tags),copySourceTags:r.copySourceTags,fileRequestIntent:r.sourceShareTokenIntent,tracingOptions:n.tracingOptions})))}async stageBlock(e,r,n,i={}){return(0,zt.ensureCpkIfSpecified)(i.customerProvidedKey,this.isHttps),Me.tracingClient.withSpan("BlockBlobClient-stageBlock",i,async s=>(0,ce.assertResponse)(await this.blockBlobContext.stageBlock(e,n,r,{abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,requestOptions:{onUploadProgress:i.onProgress},transactionalContentMD5:i.transactionalContentMD5,transactionalContentCrc64:i.transactionalContentCrc64,cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,tracingOptions:s.tracingOptions})))}async stageBlockFromURL(e,r,n=0,i,s={}){return(0,zt.ensureCpkIfSpecified)(s.customerProvidedKey,this.isHttps),Me.tracingClient.withSpan("BlockBlobClient-stageBlockFromURL",s,async a=>(0,ce.assertResponse)(await this.blockBlobContext.stageBlockFromURL(e,0,r,{abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,sourceContentMD5:s.sourceContentMD5,sourceContentCrc64:s.sourceContentCrc64,sourceRange:n===0&&!i?void 0:(0,Ui.rangeToString)({offset:n,count:i}),cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,copySourceAuthorization:(0,ce.httpAuthorizationToString)(s.sourceAuthorization),fileRequestIntent:s.sourceShareTokenIntent,tracingOptions:a.tracingOptions})))}async commitBlockList(e,r={}){return r.conditions=r.conditions||{},(0,zt.ensureCpkIfSpecified)(r.customerProvidedKey,this.isHttps),Me.tracingClient.withSpan("BlockBlobClient-commitBlockList",r,async n=>(0,ce.assertResponse)(await this.blockBlobContext.commitBlockList({latest:e},{abortSignal:r.abortSignal,blobHttpHeaders:r.blobHTTPHeaders,leaseAccessConditions:r.conditions,metadata:r.metadata,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,tier:(0,zt.toAccessTier)(r.tier),blobTagsString:(0,ce.toBlobTagsString)(r.tags),tracingOptions:n.tracingOptions})))}async getBlockList(e,r={}){return Me.tracingClient.withSpan("BlockBlobClient-getBlockList",r,async n=>{let i=(0,ce.assertResponse)(await this.blockBlobContext.getBlockList(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions}));return i.committedBlocks||(i.committedBlocks=[]),i.uncommittedBlocks||(i.uncommittedBlocks=[]),i})}async uploadData(e,r={}){return Me.tracingClient.withSpan("BlockBlobClient-uploadData",r,async n=>{if(hs.isNodeLike){let i;return e instanceof Buffer?i=e:e instanceof ArrayBuffer?i=Buffer.from(e):(e=e,i=Buffer.from(e.buffer,e.byteOffset,e.byteLength)),this.uploadSeekableInternal((s,a)=>i.slice(s,s+a),i.byteLength,n)}else{let i=new Blob([e]);return this.uploadSeekableInternal((s,a)=>i.slice(s,s+a),i.size,n)}})}async uploadBrowserData(e,r={}){return Me.tracingClient.withSpan("BlockBlobClient-uploadBrowserData",r,async n=>{let i=new Blob([e]);return this.uploadSeekableInternal((s,a)=>i.slice(s,s+a),i.size,n)})}async uploadSeekableInternal(e,r,n={}){let i=n.blockSize??0;if(i<0||i>Mt.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES)throw new RangeError(`blockSize option must be >= 0 and <= ${Mt.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES}`);let s=n.maxSingleShotSize??Mt.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES;if(s<0||s>Mt.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES)throw new RangeError(`maxSingleShotSize option must be >= 0 and <= ${Mt.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES}`);if(i===0){if(r>Mt.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES*Mt.BLOCK_BLOB_MAX_BLOCKS)throw new RangeError(`${r} is too larger to upload to a block blob.`);r>s&&(i=Math.ceil(r/Mt.BLOCK_BLOB_MAX_BLOCKS),i{if(r<=s)return(0,ce.assertResponse)(await this.upload(e(0,r),r,a));let c=Math.floor((r-1)/i)+1;if(c>Mt.BLOCK_BLOB_MAX_BLOCKS)throw new RangeError(`The buffer's size is too big or the BlockSize is too small;the number of blocks must be <= ${Mt.BLOCK_BLOB_MAX_BLOCKS}`);let l=[],u=(0,NX.randomUUID)(),A=0,d=new vX.Batch(n.concurrency);for(let f=0;f{let h=(0,ce.generateBlockID)(u,f),g=i*f,b=(f===c-1?r:g+i)-g;l.push(h),await this.stageBlock(h,e(g,b),b,{abortSignal:n.abortSignal,conditions:n.conditions,encryptionScope:n.encryptionScope,tracingOptions:a.tracingOptions}),A+=b,n.onProgress&&n.onProgress({loadedBytes:A})});return await d.do(),this.commitBlockList(l,a)})}async uploadFile(e,r={}){return Me.tracingClient.withSpan("BlockBlobClient-uploadFile",r,async n=>{let i=(await(0,bC.fsStat)(e)).size;return this.uploadSeekableInternal((s,a)=>()=>(0,bC.fsCreateReadStream)(e,{autoClose:!0,end:a?s+a-1:1/0,start:s}),i,{...r,tracingOptions:n.tracingOptions})})}async uploadStream(e,r=Mt.DEFAULT_BLOCK_BUFFER_SIZE_BYTES,n=5,i={}){return i.blobHTTPHeaders||(i.blobHTTPHeaders={}),i.conditions||(i.conditions={}),Me.tracingClient.withSpan("BlockBlobClient-uploadStream",i,async s=>{let a=0,c=(0,NX.randomUUID)(),l=0,u=[];return await new wHe.BufferScheduler(e,r,n,async(d,f)=>{let h=(0,ce.generateBlockID)(c,a);u.push(h),a++,await this.stageBlock(h,d,f,{customerProvidedKey:i.customerProvidedKey,conditions:i.conditions,encryptionScope:i.encryptionScope,tracingOptions:s.tracingOptions}),l+=f,i.onProgress&&i.onProgress({loadedBytes:l})},Math.ceil(n/4*3)).do(),(0,ce.assertResponse)(await this.commitBlockList(u,{...i,tracingOptions:s.tracingOptions}))})}};Do.BlockBlobClient=xC;var IC=class t extends Xd{static{o(this,"PageBlobClient")}pageBlobContext;constructor(e,r,n,i){let s,a;if(i=i||{},(0,Pr.isPipelineLike)(r))a=e,s=r;else if(hs.isNodeLike&&r instanceof hr.StorageSharedKeyCredential||r instanceof hr.AnonymousCredential||(0,wC.isTokenCredential)(r))a=e,i=n,s=(0,Pr.newPipeline)(r,i);else if(!r&&typeof r!="string")a=e,s=(0,Pr.newPipeline)(new hr.AnonymousCredential,i);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,u=(0,ce.extractConnectionStringParts)(e);if(u.kind==="AccountConnString")if(hs.isNodeLike){let A=new hr.StorageSharedKeyCredential(u.accountName,u.accountKey);a=(0,ce.appendToURLPath)((0,ce.appendToURLPath)(u.url,encodeURIComponent(c)),encodeURIComponent(l)),i.proxyOptions||(i.proxyOptions=(0,BC.getDefaultProxySettings)(u.proxyUri)),s=(0,Pr.newPipeline)(A,i)}else throw new Error("Account connection string is only supported in Node.js environment");else if(u.kind==="SASConnString")a=(0,ce.appendToURLPath)((0,ce.appendToURLPath)(u.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+u.accountSas,s=(0,Pr.newPipeline)(new hr.AnonymousCredential,i);else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}else throw new Error("Expecting non-empty strings for containerName and blobName parameters");super(a,s),this.pageBlobContext=this.storageClientContext.pageBlob}withSnapshot(e){return new t((0,ce.setURLParameter)(this.url,Mt.URLConstants.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async create(e,r={}){return r.conditions=r.conditions||{},(0,zt.ensureCpkIfSpecified)(r.customerProvidedKey,this.isHttps),Me.tracingClient.withSpan("PageBlobClient-create",r,async n=>(0,ce.assertResponse)(await this.pageBlobContext.create(0,e,{abortSignal:r.abortSignal,blobHttpHeaders:r.blobHTTPHeaders,blobSequenceNumber:r.blobSequenceNumber,leaseAccessConditions:r.conditions,metadata:r.metadata,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,tier:(0,zt.toAccessTier)(r.tier),blobTagsString:(0,ce.toBlobTagsString)(r.tags),tracingOptions:n.tracingOptions})))}async createIfNotExists(e,r={}){return Me.tracingClient.withSpan("PageBlobClient-createIfNotExists",r,async n=>{try{let i={ifNoneMatch:Mt.ETagAny},s=(0,ce.assertResponse)(await this.create(e,{...r,conditions:i,tracingOptions:n.tracingOptions}));return{succeeded:!0,...s,_response:s._response}}catch(i){if(i.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...i.response?.parsedHeaders,_response:i.response};throw i}})}async uploadPages(e,r,n,i={}){return i.conditions=i.conditions||{},(0,zt.ensureCpkIfSpecified)(i.customerProvidedKey,this.isHttps),Me.tracingClient.withSpan("PageBlobClient-uploadPages",i,async s=>(0,ce.assertResponse)(await this.pageBlobContext.uploadPages(n,e,{abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},requestOptions:{onUploadProgress:i.onProgress},range:(0,Ui.rangeToString)({offset:r,count:n}),sequenceNumberAccessConditions:i.conditions,transactionalContentMD5:i.transactionalContentMD5,transactionalContentCrc64:i.transactionalContentCrc64,cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,tracingOptions:s.tracingOptions})))}async uploadPagesFromURL(e,r,n,i,s={}){return s.conditions=s.conditions||{},s.sourceConditions=s.sourceConditions||{},(0,zt.ensureCpkIfSpecified)(s.customerProvidedKey,this.isHttps),Me.tracingClient.withSpan("PageBlobClient-uploadPagesFromURL",s,async a=>(0,ce.assertResponse)(await this.pageBlobContext.uploadPagesFromURL(e,(0,Ui.rangeToString)({offset:r,count:i}),0,(0,Ui.rangeToString)({offset:n,count:i}),{abortSignal:s.abortSignal,sourceContentMD5:s.sourceContentMD5,sourceContentCrc64:s.sourceContentCrc64,leaseAccessConditions:s.conditions,sequenceNumberAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:s.sourceConditions?.ifMatch,sourceIfModifiedSince:s.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:s.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:s.sourceConditions?.ifUnmodifiedSince},cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,copySourceAuthorization:(0,ce.httpAuthorizationToString)(s.sourceAuthorization),fileRequestIntent:s.sourceShareTokenIntent,tracingOptions:a.tracingOptions})))}async clearPages(e=0,r,n={}){return n.conditions=n.conditions||{},Me.tracingClient.withSpan("PageBlobClient-clearPages",n,async i=>(0,ce.assertResponse)(await this.pageBlobContext.clearPages(0,{abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},range:(0,Ui.rangeToString)({offset:e,count:r}),sequenceNumberAccessConditions:n.conditions,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,tracingOptions:i.tracingOptions})))}async getPageRanges(e=0,r,n={}){return n.conditions=n.conditions||{},Me.tracingClient.withSpan("PageBlobClient-getPageRanges",n,async i=>{let s=(0,ce.assertResponse)(await this.pageBlobContext.getPageRanges({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},range:(0,Ui.rangeToString)({offset:e,count:r}),tracingOptions:i.tracingOptions}));return(0,V_.rangeResponseFromModel)(s)})}async listPageRangesSegment(e=0,r,n,i={}){return Me.tracingClient.withSpan("PageBlobClient-getPageRangesSegment",i,async s=>(0,ce.assertResponse)(await this.pageBlobContext.getPageRanges({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},range:(0,Ui.rangeToString)({offset:e,count:r}),marker:n,maxPageSize:i.maxPageSize,tracingOptions:s.tracingOptions})))}async*listPageRangeItemSegments(e=0,r,n,i={}){let s;if(n||n===void 0)do s=await this.listPageRangesSegment(e,r,n,i),n=s.continuationToken,yield await s;while(n)}async*listPageRangeItems(e=0,r,n={}){let i;for await(let s of this.listPageRangeItemSegments(e,r,i,n))yield*(0,ce.ExtractPageRangeInfoItems)(s)}listPageRanges(e=0,r,n={}){n.conditions=n.conditions||{};let i=this.listPageRangeItems(e,r,n);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:o((s={})=>this.listPageRangeItemSegments(e,r,s.continuationToken,{maxPageSize:s.maxPageSize,...n}),"byPage")}}async getPageRangesDiff(e,r,n,i={}){return i.conditions=i.conditions||{},Me.tracingClient.withSpan("PageBlobClient-getPageRangesDiff",i,async s=>{let a=(0,ce.assertResponse)(await this.pageBlobContext.getPageRangesDiff({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},prevsnapshot:n,range:(0,Ui.rangeToString)({offset:e,count:r}),tracingOptions:s.tracingOptions}));return(0,V_.rangeResponseFromModel)(a)})}async listPageRangesDiffSegment(e,r,n,i,s={}){return Me.tracingClient.withSpan("PageBlobClient-getPageRangesDiffSegment",s,async a=>(0,ce.assertResponse)(await this.pageBlobContext.getPageRangesDiff({abortSignal:s?.abortSignal,leaseAccessConditions:s?.conditions,modifiedAccessConditions:{...s?.conditions,ifTags:s?.conditions?.tagConditions},prevsnapshot:n,range:(0,Ui.rangeToString)({offset:e,count:r}),marker:i,maxPageSize:s?.maxPageSize,tracingOptions:a.tracingOptions})))}async*listPageRangeDiffItemSegments(e,r,n,i,s){let a;if(i||i===void 0)do a=await this.listPageRangesDiffSegment(e,r,n,i,s),i=a.continuationToken,yield await a;while(i)}async*listPageRangeDiffItems(e,r,n,i){let s;for await(let a of this.listPageRangeDiffItemSegments(e,r,n,s,i))yield*(0,ce.ExtractPageRangeInfoItems)(a)}listPageRangesDiff(e,r,n,i={}){i.conditions=i.conditions||{};let s=this.listPageRangeDiffItems(e,r,n,{...i});return{next(){return s.next()},[Symbol.asyncIterator](){return this},byPage:o((a={})=>this.listPageRangeDiffItemSegments(e,r,n,a.continuationToken,{maxPageSize:a.maxPageSize,...i}),"byPage")}}async getPageRangesDiffForManagedDisks(e,r,n,i={}){return i.conditions=i.conditions||{},Me.tracingClient.withSpan("PageBlobClient-GetPageRangesDiffForManagedDisks",i,async s=>{let a=(0,ce.assertResponse)(await this.pageBlobContext.getPageRangesDiff({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},prevSnapshotUrl:n,range:(0,Ui.rangeToString)({offset:e,count:r}),tracingOptions:s.tracingOptions}));return(0,V_.rangeResponseFromModel)(a)})}async resize(e,r={}){return r.conditions=r.conditions||{},Me.tracingClient.withSpan("PageBlobClient-resize",r,async n=>(0,ce.assertResponse)(await this.pageBlobContext.resize(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},encryptionScope:r.encryptionScope,tracingOptions:n.tracingOptions})))}async updateSequenceNumber(e,r,n={}){return n.conditions=n.conditions||{},Me.tracingClient.withSpan("PageBlobClient-updateSequenceNumber",n,async i=>(0,ce.assertResponse)(await this.pageBlobContext.updateSequenceNumber(e,{abortSignal:n.abortSignal,blobSequenceNumber:r,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},tracingOptions:i.tracingOptions})))}async startCopyIncremental(e,r={}){return Me.tracingClient.withSpan("PageBlobClient-startCopyIncremental",r,async n=>(0,ce.assertResponse)(await this.pageBlobContext.copyIncremental(e,{abortSignal:r.abortSignal,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions})))}};Do.PageBlobClient=IC});var W_=x(SC=>{"use strict";Object.defineProperty(SC,"__esModule",{value:!0});SC.getBodyAsText=vHe;SC.utf8ByteLength=RHe;var SHe=J_(),NHe=Oi();async function vHe(t){let e=Buffer.alloc(NHe.BATCH_MAX_PAYLOAD_IN_BYTES),r=await(0,SHe.streamToBuffer2)(t.readableStreamBody,e);return e=e.slice(0,r),e.toString()}o(vHe,"getBodyAsText");function RHe(t){return Buffer.byteLength(t)}o(RHe,"utf8ByteLength")});var _X=x(vC=>{"use strict";Object.defineProperty(vC,"__esModule",{value:!0});vC.BatchResponseParser=void 0;var PHe=Lr(),_He=rb(),Zd=Oi(),DHe=W_(),kHe=sb(),NC=": ",RX=" ",PX=-1,$_=class{static{o(this,"BatchResponseParser")}batchResponse;responseBatchBoundary;perResponsePrefix;batchResponseEnding;subRequests;constructor(e,r){if(!e||!e.contentType)throw new RangeError("batchResponse is malformed or doesn't contain valid content-type.");if(!r||r.size===0)throw new RangeError("Invalid state: subRequests is not provided or size is 0.");this.batchResponse=e,this.subRequests=r,this.responseBatchBoundary=this.batchResponse.contentType.split("=")[1],this.perResponsePrefix=`--${this.responseBatchBoundary}${Zd.HTTP_LINE_ENDING}`,this.batchResponseEnding=`--${this.responseBatchBoundary}--`}async parseBatchResponse(){if(this.batchResponse._response.status!==Zd.HTTPURLConnection.HTTP_ACCEPTED)throw new Error(`Invalid state: batch request failed with status: '${this.batchResponse._response.status}'.`);let r=(await(0,DHe.getBodyAsText)(this.batchResponse)).split(this.batchResponseEnding)[0].split(this.perResponsePrefix).slice(1),n=r.length;if(n!==this.subRequests.size&&n!==1)throw new Error("Invalid state: sub responses' count is not equal to sub requests' count.");let i=new Array(n),s=0,a=0;for(let c=0;c=0&&g{"use strict";Object.defineProperty(RC,"__esModule",{value:!0});RC.Mutex=void 0;var ef;(function(t){t[t.LOCKED=0]="LOCKED",t[t.UNLOCKED=1]="UNLOCKED"})(ef||(ef={}));var X_=class{static{o(this,"Mutex")}static async lock(e){return new Promise(r=>{this.keys[e]===void 0||this.keys[e]===ef.UNLOCKED?(this.keys[e]=ef.LOCKED,r()):this.onUnlockEvent(e,()=>{this.keys[e]=ef.LOCKED,r()})})}static async unlock(e){return new Promise(r=>{this.keys[e]===ef.LOCKED&&this.emitUnlockEvent(e),delete this.keys[e],r()})}static keys={};static listeners={};static onUnlockEvent(e,r){this.listeners[e]===void 0?this.listeners[e]=[r]:this.listeners[e].push(r)}static emitUnlockEvent(e){if(this.listeners[e]!==void 0&&this.listeners[e].length>0){let r=this.listeners[e].shift();setImmediate(()=>{r.call(this)})}}};RC.Mutex=X_});var iD=x(_C=>{"use strict";Object.defineProperty(_C,"__esModule",{value:!0});_C.BlobBatch=void 0;var THe=Xt(),Z_=Nd(),eD=Lr(),kX=Xt(),tf=zs(),PC=QC(),TX=DX(),OHe=Lc(),tD=fs(),MHe=dP(),Tn=Oi(),OX=fu(),MX=Bo(),rD=class{static{o(this,"BlobBatch")}batchRequest;batch="batch";batchType;constructor(){this.batchRequest=new nD}getMultiPartContentType(){return this.batchRequest.getMultipartContentType()}getHttpRequestBody(){return this.batchRequest.getHttpRequestBody()}getSubRequests(){return this.batchRequest.getSubRequests()}async addSubRequestInternal(e,r){await TX.Mutex.lock(this.batch);try{this.batchRequest.preAddSubRequest(e),await r(),this.batchRequest.postAddSubRequest(e)}finally{await TX.Mutex.unlock(this.batch)}}setBatchType(e){if(this.batchType||(this.batchType=e),this.batchType!==e)throw new RangeError(`BlobBatch only supports one operation type per batch and it already is being used for ${this.batchType} operations.`)}async deleteBlob(e,r,n){let i,s;if(typeof e=="string"&&(kX.isNodeLike&&r instanceof tf.StorageSharedKeyCredential||r instanceof tf.AnonymousCredential||(0,Z_.isTokenCredential)(r)))i=e,s=r;else if(e instanceof PC.BlobClient)i=e.url,s=e.credential,n=r;else throw new RangeError("Invalid arguments. Either url and credential, or BlobClient need be provided.");return n||(n={}),OX.tracingClient.withSpan("BatchDeleteRequest-addSubRequest",n,async a=>{this.setBatchType("delete"),await this.addSubRequestInternal({url:i,credential:s},async()=>{await new PC.BlobClient(i,this.batchRequest.createPipeline(s)).delete(a)})})}async setBlobAccessTier(e,r,n,i){let s,a,c;if(typeof e=="string"&&(kX.isNodeLike&&r instanceof tf.StorageSharedKeyCredential||r instanceof tf.AnonymousCredential||(0,Z_.isTokenCredential)(r)))s=e,a=r,c=n;else if(e instanceof PC.BlobClient)s=e.url,a=e.credential,c=r,i=n;else throw new RangeError("Invalid arguments. Either url and credential, or BlobClient need be provided.");return i||(i={}),OX.tracingClient.withSpan("BatchSetTierRequest-addSubRequest",i,async l=>{this.setBatchType("setAccessTier"),await this.addSubRequestInternal({url:s,credential:a},async()=>{await new PC.BlobClient(s,this.batchRequest.createPipeline(a)).setAccessTier(c,l)})})}};_C.BlobBatch=rD;var nD=class{static{o(this,"InnerBatchRequest")}operationCount;body;subRequests;boundary;subRequestPrefix;multipartContentType;batchRequestEnding;constructor(){this.operationCount=0,this.body="";let e=(0,THe.randomUUID)();this.boundary=`batch_${e}`,this.subRequestPrefix=`--${this.boundary}${Tn.HTTP_LINE_ENDING}${Tn.HeaderConstants.CONTENT_TYPE}: application/http${Tn.HTTP_LINE_ENDING}${Tn.HeaderConstants.CONTENT_TRANSFER_ENCODING}: binary`,this.multipartContentType=`multipart/mixed; boundary=${this.boundary}`,this.batchRequestEnding=`--${this.boundary}--`,this.subRequests=new Map}createPipeline(e){let r=(0,eD.createEmptyPipeline)();r.addPolicy((0,MX.serializationPolicy)({stringifyXML:MHe.stringifyXML,serializerOptions:{xml:{xmlCharKey:"#"}}}),{phase:"Serialize"}),r.addPolicy(UHe()),r.addPolicy(LHe(this),{afterPhase:"Sign"}),(0,Z_.isTokenCredential)(e)?r.addPolicy((0,eD.bearerTokenAuthenticationPolicy)({credential:e,scopes:Tn.StorageOAuthScopes,challengeCallbacks:{authorizeRequestOnChallenge:MX.authorizeRequestOnTenantChallenge}}),{phase:"Sign"}):e instanceof tf.StorageSharedKeyCredential&&r.addPolicy((0,tf.storageSharedKeyCredentialPolicy)({accountName:e.accountName,accountKey:e.accountKey}),{phase:"Sign"});let n=new OHe.Pipeline([]);return n._credential=e,n._corePipeline=r,n}appendSubRequestToBody(e){this.body+=[this.subRequestPrefix,`${Tn.HeaderConstants.CONTENT_ID}: ${this.operationCount}`,"",`${e.method.toString()} ${(0,tD.getURLPathAndQuery)(e.url)} ${Tn.HTTP_VERSION_1_1}${Tn.HTTP_LINE_ENDING}`].join(Tn.HTTP_LINE_ENDING);for(let[r,n]of e.headers)this.body+=`${r}: ${n}${Tn.HTTP_LINE_ENDING}`;this.body+=Tn.HTTP_LINE_ENDING}preAddSubRequest(e){if(this.operationCount>=Tn.BATCH_MAX_REQUEST)throw new RangeError(`Cannot exceed ${Tn.BATCH_MAX_REQUEST} sub requests in a single batch`);let r=(0,tD.getURLPath)(e.url);if(!r||r==="")throw new RangeError(`Invalid url for sub request: '${e.url}'`)}postAddSubRequest(e){this.subRequests.set(this.operationCount,e),this.operationCount++}getHttpRequestBody(){return`${this.body}${this.batchRequestEnding}${Tn.HTTP_LINE_ENDING}`}getMultipartContentType(){return this.multipartContentType}getSubRequests(){return this.subRequests}};function LHe(t){return{name:"batchRequestAssemblePolicy",async sendRequest(e){return t.appendSubRequestToBody(e),{request:e,status:200,headers:(0,eD.createHttpHeaders)()}}}}o(LHe,"batchRequestAssemblePolicy");function UHe(){return{name:"batchHeaderFilterPolicy",async sendRequest(t,e){let r="";for(let[n]of t.headers)(0,tD.iEqual)(n,Tn.HeaderConstants.X_MS_VERSION)&&(r=n);return r!==""&&t.headers.delete(r),e(t)}}}o(UHe,"batchHeaderFilterPolicy")});var TC=x(kC=>{"use strict";Object.defineProperty(kC,"__esModule",{value:!0});kC.BlobBatchClient=void 0;var FHe=_X(),HHe=W_(),sD=iD(),qHe=fu(),zHe=zs(),GHe=o_(),DC=Lc(),LX=fs(),oD=class{static{o(this,"BlobBatchClient")}serviceOrContainerContext;constructor(e,r,n){let i;(0,DC.isPipelineLike)(r)?i=r:r?i=(0,DC.newPipeline)(r,n):i=(0,DC.newPipeline)(new zHe.AnonymousCredential,n);let s=new GHe.StorageContextClient(e,(0,DC.getCoreClientOptions)(i)),a=(0,LX.getURLPath)(e);a&&a!=="/"?this.serviceOrContainerContext=s.container:this.serviceOrContainerContext=s.service}createBatch(){return new sD.BlobBatch}async deleteBlobs(e,r,n){let i=new sD.BlobBatch;for(let s of e)typeof s=="string"?await i.deleteBlob(s,r,n):await i.deleteBlob(s,r);return this.submitBatch(i)}async setBlobsAccessTier(e,r,n,i){let s=new sD.BlobBatch;for(let a of e)typeof a=="string"?await s.setBlobAccessTier(a,r,n,i):await s.setBlobAccessTier(a,r,n);return this.submitBatch(s)}async submitBatch(e,r={}){if(!e||e.getSubRequests().size===0)throw new RangeError("Batch request should contain one or more sub requests.");return qHe.tracingClient.withSpan("BlobBatchClient-submitBatch",r,async n=>{let i=e.getHttpRequestBody(),s=(0,LX.assertResponse)(await this.serviceOrContainerContext.submitBatch((0,HHe.utf8ByteLength)(i),e.getMultiPartContentType(),i,{...n})),c=await new FHe.BatchResponseParser(s,e.getSubRequests()).parseBatchResponse();return{_response:s._response,contentType:s.contentType,errorCode:s.errorCode,requestId:s.requestId,clientRequestId:s.clientRequestId,version:s.version,subResponses:c.subResponses,subResponsesSucceededCount:c.subResponsesSucceededCount,subResponsesFailedCount:c.subResponsesFailedCount}})}};kC.BlobBatchClient=oD});var cD=x(LC=>{"use strict";Object.defineProperty(LC,"__esModule",{value:!0});LC.ContainerClient=void 0;var jHe=Lr(),UX=Xt(),YHe=Nd(),xu=zs(),sg=Lc(),KHe=Ub(),On=fu(),at=fs(),OC=Kb(),JHe=Wb(),MC=QC(),VHe=TC(),aD=class extends KHe.StorageClient{static{o(this,"ContainerClient")}containerContext;_containerName;get containerName(){return this._containerName}constructor(e,r,n){let i,s;if(n=n||{},(0,sg.isPipelineLike)(r))s=e,i=r;else if(UX.isNodeLike&&r instanceof xu.StorageSharedKeyCredential||r instanceof xu.AnonymousCredential||(0,YHe.isTokenCredential)(r))s=e,i=(0,sg.newPipeline)(r,n);else if(!r&&typeof r!="string")s=e,i=(0,sg.newPipeline)(new xu.AnonymousCredential,n);else if(r&&typeof r=="string"){let a=r,c=(0,at.extractConnectionStringParts)(e);if(c.kind==="AccountConnString")if(UX.isNodeLike){let l=new xu.StorageSharedKeyCredential(c.accountName,c.accountKey);s=(0,at.appendToURLPath)(c.url,encodeURIComponent(a)),n.proxyOptions||(n.proxyOptions=(0,jHe.getDefaultProxySettings)(c.proxyUri)),i=(0,sg.newPipeline)(l,n)}else throw new Error("Account connection string is only supported in Node.js environment");else if(c.kind==="SASConnString")s=(0,at.appendToURLPath)(c.url,encodeURIComponent(a))+"?"+c.accountSas,i=(0,sg.newPipeline)(new xu.AnonymousCredential,n);else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}else throw new Error("Expecting non-empty strings for containerName parameter");super(s,i),this._containerName=this.getContainerNameFromUrl(),this.containerContext=this.storageClientContext.container}async create(e={}){return On.tracingClient.withSpan("ContainerClient-create",e,async r=>(0,at.assertResponse)(await this.containerContext.create(r)))}async createIfNotExists(e={}){return On.tracingClient.withSpan("ContainerClient-createIfNotExists",e,async r=>{try{let n=await this.create(r);return{succeeded:!0,...n,_response:n._response}}catch(n){if(n.details?.errorCode==="ContainerAlreadyExists")return{succeeded:!1,...n.response?.parsedHeaders,_response:n.response};throw n}})}async exists(e={}){return On.tracingClient.withSpan("ContainerClient-exists",e,async r=>{try{return await this.getProperties({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions}),!0}catch(n){if(n.statusCode===404)return!1;throw n}})}getBlobClient(e){return new MC.BlobClient((0,at.appendToURLPath)(this.url,(0,at.EscapePath)(e)),this.pipeline)}getAppendBlobClient(e){return new MC.AppendBlobClient((0,at.appendToURLPath)(this.url,(0,at.EscapePath)(e)),this.pipeline)}getBlockBlobClient(e){return new MC.BlockBlobClient((0,at.appendToURLPath)(this.url,(0,at.EscapePath)(e)),this.pipeline)}getPageBlobClient(e){return new MC.PageBlobClient((0,at.appendToURLPath)(this.url,(0,at.EscapePath)(e)),this.pipeline)}async getProperties(e={}){return e.conditions||(e.conditions={}),On.tracingClient.withSpan("ContainerClient-getProperties",e,async r=>(0,at.assertResponse)(await this.containerContext.getProperties({abortSignal:e.abortSignal,...e.conditions,tracingOptions:r.tracingOptions})))}async delete(e={}){return e.conditions||(e.conditions={}),On.tracingClient.withSpan("ContainerClient-delete",e,async r=>(0,at.assertResponse)(await this.containerContext.delete({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:e.conditions,tracingOptions:r.tracingOptions})))}async deleteIfExists(e={}){return On.tracingClient.withSpan("ContainerClient-deleteIfExists",e,async r=>{try{let n=await this.delete(r);return{succeeded:!0,...n,_response:n._response}}catch(n){if(n.details?.errorCode==="ContainerNotFound")return{succeeded:!1,...n.response?.parsedHeaders,_response:n.response};throw n}})}async setMetadata(e,r={}){if(r.conditions||(r.conditions={}),r.conditions.ifUnmodifiedSince)throw new RangeError("the IfUnmodifiedSince must have their default values because they are ignored by the blob service");return On.tracingClient.withSpan("ContainerClient-setMetadata",r,async n=>(0,at.assertResponse)(await this.containerContext.setMetadata({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,metadata:e,modifiedAccessConditions:r.conditions,tracingOptions:n.tracingOptions})))}async getAccessPolicy(e={}){return e.conditions||(e.conditions={}),On.tracingClient.withSpan("ContainerClient-getAccessPolicy",e,async r=>{let n=(0,at.assertResponse)(await this.containerContext.getAccessPolicy({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,tracingOptions:r.tracingOptions})),i={_response:n._response,blobPublicAccess:n.blobPublicAccess,date:n.date,etag:n.etag,errorCode:n.errorCode,lastModified:n.lastModified,requestId:n.requestId,clientRequestId:n.clientRequestId,signedIdentifiers:[],version:n.version};for(let s of n){let a;s.accessPolicy&&(a={permissions:s.accessPolicy.permissions},s.accessPolicy.expiresOn&&(a.expiresOn=new Date(s.accessPolicy.expiresOn)),s.accessPolicy.startsOn&&(a.startsOn=new Date(s.accessPolicy.startsOn))),i.signedIdentifiers.push({accessPolicy:a,id:s.id})}return i})}async setAccessPolicy(e,r,n={}){return n.conditions=n.conditions||{},On.tracingClient.withSpan("ContainerClient-setAccessPolicy",n,async i=>{let s=[];for(let a of r||[])s.push({accessPolicy:{expiresOn:a.accessPolicy.expiresOn?(0,at.truncatedISO8061Date)(a.accessPolicy.expiresOn):"",permissions:a.accessPolicy.permissions,startsOn:a.accessPolicy.startsOn?(0,at.truncatedISO8061Date)(a.accessPolicy.startsOn):""},id:a.id});return(0,at.assertResponse)(await this.containerContext.setAccessPolicy({abortSignal:n.abortSignal,access:e,containerAcl:s,leaseAccessConditions:n.conditions,modifiedAccessConditions:n.conditions,tracingOptions:i.tracingOptions}))})}getBlobLeaseClient(e){return new JHe.BlobLeaseClient(this,e)}async uploadBlockBlob(e,r,n,i={}){return On.tracingClient.withSpan("ContainerClient-uploadBlockBlob",i,async s=>{let a=this.getBlockBlobClient(e),c=await a.upload(r,n,s);return{blockBlobClient:a,response:c}})}async deleteBlob(e,r={}){return On.tracingClient.withSpan("ContainerClient-deleteBlob",r,async n=>{let i=this.getBlobClient(e);return r.versionId&&(i=i.withVersion(r.versionId)),i.delete(n)})}async listBlobFlatSegment(e,r={}){return On.tracingClient.withSpan("ContainerClient-listBlobFlatSegment",r,async n=>{let i=(0,at.assertResponse)(await this.containerContext.listBlobFlatSegment({marker:e,...r,tracingOptions:n.tracingOptions}));return{...i,_response:{...i._response,parsedBody:(0,at.ConvertInternalResponseOfListBlobFlat)(i._response.parsedBody)},segment:{...i.segment,blobItems:i.segment.blobItems.map(a=>({...a,name:(0,at.BlobNameToString)(a.name),tags:(0,at.toTags)(a.blobTags),objectReplicationSourceProperties:(0,at.parseObjectReplicationRecord)(a.objectReplicationMetadata)}))}}})}async listBlobHierarchySegment(e,r,n={}){return On.tracingClient.withSpan("ContainerClient-listBlobHierarchySegment",n,async i=>{let s=(0,at.assertResponse)(await this.containerContext.listBlobHierarchySegment(e,{marker:r,...n,tracingOptions:i.tracingOptions}));return{...s,_response:{...s._response,parsedBody:(0,at.ConvertInternalResponseOfListBlobHierarchy)(s._response.parsedBody)},segment:{...s.segment,blobItems:s.segment.blobItems.map(c=>({...c,name:(0,at.BlobNameToString)(c.name),tags:(0,at.toTags)(c.blobTags),objectReplicationSourceProperties:(0,at.parseObjectReplicationRecord)(c.objectReplicationMetadata)})),blobPrefixes:s.segment.blobPrefixes?.map(c=>({...c,name:(0,at.BlobNameToString)(c.name)}))}}})}async*listSegments(e,r={}){let n;if(e||e===void 0)do n=await this.listBlobFlatSegment(e,r),e=n.continuationToken,yield await n;while(e)}async*listItems(e={}){let r;for await(let n of this.listSegments(r,e))yield*n.segment.blobItems}listBlobsFlat(e={}){let r=[];e.includeCopy&&r.push("copy"),e.includeDeleted&&r.push("deleted"),e.includeMetadata&&r.push("metadata"),e.includeSnapshots&&r.push("snapshots"),e.includeVersions&&r.push("versions"),e.includeUncommitedBlobs&&r.push("uncommittedblobs"),e.includeTags&&r.push("tags"),e.includeDeletedWithVersions&&r.push("deletedwithversions"),e.includeImmutabilityPolicy&&r.push("immutabilitypolicy"),e.includeLegalHold&&r.push("legalhold"),e.prefix===""&&(e.prefix=void 0);let n={...e,...r.length>0?{include:r}:{}},i=this.listItems(n);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:o((s={})=>this.listSegments(s.continuationToken,{maxPageSize:s.maxPageSize,...n}),"byPage")}}async*listHierarchySegments(e,r,n={}){let i;if(r||r===void 0)do i=await this.listBlobHierarchySegment(e,r,n),r=i.continuationToken,yield await i;while(r)}async*listItemsByHierarchy(e,r={}){let n;for await(let i of this.listHierarchySegments(e,n,r)){let s=i.segment;if(s.blobPrefixes)for(let a of s.blobPrefixes)yield{kind:"prefix",...a};for(let a of s.blobItems)yield{kind:"blob",...a}}}listBlobsByHierarchy(e,r={}){if(e==="")throw new RangeError("delimiter should contain one or more characters");let n=[];r.includeCopy&&n.push("copy"),r.includeDeleted&&n.push("deleted"),r.includeMetadata&&n.push("metadata"),r.includeSnapshots&&n.push("snapshots"),r.includeVersions&&n.push("versions"),r.includeUncommitedBlobs&&n.push("uncommittedblobs"),r.includeTags&&n.push("tags"),r.includeDeletedWithVersions&&n.push("deletedwithversions"),r.includeImmutabilityPolicy&&n.push("immutabilitypolicy"),r.includeLegalHold&&n.push("legalhold"),r.prefix===""&&(r.prefix=void 0);let i={...r,...n.length>0?{include:n}:{}},s=this.listItemsByHierarchy(e,i);return{async next(){return s.next()},[Symbol.asyncIterator](){return this},byPage:o((a={})=>this.listHierarchySegments(e,a.continuationToken,{maxPageSize:a.maxPageSize,...i}),"byPage")}}async findBlobsByTagsSegment(e,r,n={}){return On.tracingClient.withSpan("ContainerClient-findBlobsByTagsSegment",n,async i=>{let s=(0,at.assertResponse)(await this.containerContext.filterBlobs({abortSignal:n.abortSignal,where:e,marker:r,maxPageSize:n.maxPageSize,tracingOptions:i.tracingOptions}));return{...s,_response:s._response,blobs:s.blobs.map(c=>{let l="";return c.tags?.blobTagSet.length===1&&(l=c.tags.blobTagSet[0].value),{...c,tags:(0,at.toTags)(c.tags),tagValue:l}})}})}async*findBlobsByTagsSegments(e,r,n={}){let i;if(r||r===void 0)do i=await this.findBlobsByTagsSegment(e,r,n),i.blobs=i.blobs||[],r=i.continuationToken,yield i;while(r)}async*findBlobsByTagsItems(e,r={}){let n;for await(let i of this.findBlobsByTagsSegments(e,n,r))yield*i.blobs}findBlobsByTags(e,r={}){let n={...r},i=this.findBlobsByTagsItems(e,n);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:o((s={})=>this.findBlobsByTagsSegments(e,s.continuationToken,{maxPageSize:s.maxPageSize,...n}),"byPage")}}async getAccountInfo(e={}){return On.tracingClient.withSpan("ContainerClient-getAccountInfo",e,async r=>(0,at.assertResponse)(await this.containerContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}getContainerNameFromUrl(){let e;try{let r=new URL(this.url);if(r.hostname.split(".")[1]==="blob"?e=r.pathname.split("/")[1]:(0,at.isIpEndpointStyle)(r)?e=r.pathname.split("/")[2]:e=r.pathname.split("/")[1],e=decodeURIComponent(e),!e)throw new Error("Provided containerName is invalid.");return e}catch{throw new Error("Unable to extract containerName with provided information.")}}generateSasUrl(e){return new Promise(r=>{if(!(this.credential instanceof xu.StorageSharedKeyCredential))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");let n=(0,OC.generateBlobSASQueryParameters)({containerName:this._containerName,...e},this.credential).toString();r((0,at.appendToURLQuery)(this.url,n))})}generateSasStringToSign(e){if(!(this.credential instanceof xu.StorageSharedKeyCredential))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");return(0,OC.generateBlobSASQueryParametersInternal)({containerName:this._containerName,...e},this.credential).stringToSign}generateUserDelegationSasUrl(e,r){return new Promise(n=>{let i=(0,OC.generateBlobSASQueryParameters)({containerName:this._containerName,...e},r,this.accountName).toString();n((0,at.appendToURLQuery)(this.url,i))})}generateUserDelegationSasStringToSign(e,r){return(0,OC.generateBlobSASQueryParametersInternal)({containerName:this._containerName,...e},r,this.accountName).stringToSign}getBlobBatchClient(){return new VHe.BlobBatchClient(this.url,this.pipeline)}};LC.ContainerClient=aD});var FC=x(UC=>{"use strict";Object.defineProperty(UC,"__esModule",{value:!0});UC.AccountSASPermissions=void 0;var lD=class t{static{o(this,"AccountSASPermissions")}static parse(e){let r=new t;for(let n of e)switch(n){case"r":r.read=!0;break;case"w":r.write=!0;break;case"d":r.delete=!0;break;case"x":r.deleteVersion=!0;break;case"l":r.list=!0;break;case"a":r.add=!0;break;case"c":r.create=!0;break;case"u":r.update=!0;break;case"p":r.process=!0;break;case"t":r.tag=!0;break;case"f":r.filter=!0;break;case"i":r.setImmutabilityPolicy=!0;break;case"y":r.permanentDelete=!0;break;default:throw new RangeError(`Invalid permission character: ${n}`)}return r}static from(e){let r=new t;return e.read&&(r.read=!0),e.write&&(r.write=!0),e.delete&&(r.delete=!0),e.deleteVersion&&(r.deleteVersion=!0),e.filter&&(r.filter=!0),e.tag&&(r.tag=!0),e.list&&(r.list=!0),e.add&&(r.add=!0),e.create&&(r.create=!0),e.update&&(r.update=!0),e.process&&(r.process=!0),e.setImmutabilityPolicy&&(r.setImmutabilityPolicy=!0),e.permanentDelete&&(r.permanentDelete=!0),r}read=!1;write=!1;delete=!1;deleteVersion=!1;list=!1;add=!1;create=!1;update=!1;process=!1;tag=!1;filter=!1;setImmutabilityPolicy=!1;permanentDelete=!1;toString(){let e=[];return this.read&&e.push("r"),this.write&&e.push("w"),this.delete&&e.push("d"),this.deleteVersion&&e.push("x"),this.filter&&e.push("f"),this.tag&&e.push("t"),this.list&&e.push("l"),this.add&&e.push("a"),this.create&&e.push("c"),this.update&&e.push("u"),this.process&&e.push("p"),this.setImmutabilityPolicy&&e.push("i"),this.permanentDelete&&e.push("y"),e.join("")}};UC.AccountSASPermissions=lD});var AD=x(HC=>{"use strict";Object.defineProperty(HC,"__esModule",{value:!0});HC.AccountSASResourceTypes=void 0;var uD=class t{static{o(this,"AccountSASResourceTypes")}static parse(e){let r=new t;for(let n of e)switch(n){case"s":r.service=!0;break;case"c":r.container=!0;break;case"o":r.object=!0;break;default:throw new RangeError(`Invalid resource type: ${n}`)}return r}service=!1;container=!1;object=!1;toString(){let e=[];return this.service&&e.push("s"),this.container&&e.push("c"),this.object&&e.push("o"),e.join("")}};HC.AccountSASResourceTypes=uD});var zC=x(qC=>{"use strict";Object.defineProperty(qC,"__esModule",{value:!0});qC.AccountSASServices=void 0;var dD=class t{static{o(this,"AccountSASServices")}static parse(e){let r=new t;for(let n of e)switch(n){case"b":r.blob=!0;break;case"f":r.file=!0;break;case"q":r.queue=!0;break;case"t":r.table=!0;break;default:throw new RangeError(`Invalid service character: ${n}`)}return r}blob=!1;file=!1;queue=!1;table=!1;toString(){let e=[];return this.blob&&e.push("b"),this.table&&e.push("t"),this.queue&&e.push("q"),this.file&&e.push("f"),e.join("")}};qC.AccountSASServices=dD});var fD=x(jC=>{"use strict";Object.defineProperty(jC,"__esModule",{value:!0});jC.generateAccountSASQueryParameters=tqe;jC.generateAccountSASQueryParametersInternal=HX;var WHe=FC(),$He=AD(),XHe=zC(),FX=zb(),ZHe=jb(),eqe=Oi(),GC=fs();function tqe(t,e){return HX(t,e).sasQueryParameters}o(tqe,"generateAccountSASQueryParameters");function HX(t,e){let r=t.version?t.version:eqe.SERVICE_VERSION;if(t.permissions&&t.permissions.setImmutabilityPolicy&&r<"2020-08-04")throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.");if(t.permissions&&t.permissions.deleteVersion&&r<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when provided 'x' permission.");if(t.permissions&&t.permissions.permanentDelete&&r<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when provided 'y' permission.");if(t.permissions&&t.permissions.tag&&r<"2019-12-12")throw RangeError("'version' must be >= '2019-12-12' when provided 't' permission.");if(t.permissions&&t.permissions.filter&&r<"2019-12-12")throw RangeError("'version' must be >= '2019-12-12' when provided 'f' permission.");if(t.encryptionScope&&r<"2020-12-06")throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.");let n=WHe.AccountSASPermissions.parse(t.permissions.toString()),i=XHe.AccountSASServices.parse(t.services).toString(),s=$He.AccountSASResourceTypes.parse(t.resourceTypes).toString(),a;r>="2020-12-06"?a=[e.accountName,n,i,s,t.startsOn?(0,GC.truncatedISO8061Date)(t.startsOn,!1):"",(0,GC.truncatedISO8061Date)(t.expiresOn,!1),t.ipRange?(0,FX.ipRangeToString)(t.ipRange):"",t.protocol?t.protocol:"",r,t.encryptionScope?t.encryptionScope:"",""].join(` +`):a=[e.accountName,n,i,s,t.startsOn?(0,GC.truncatedISO8061Date)(t.startsOn,!1):"",(0,GC.truncatedISO8061Date)(t.expiresOn,!1),t.ipRange?(0,FX.ipRangeToString)(t.ipRange):"",t.protocol?t.protocol:"",r,""].join(` +`);let c=e.computeHMACSHA256(a);return{sasQueryParameters:new ZHe.SASQueryParameters(r,c,n.toString(),i,s,t.protocol,t.startsOn,t.expiresOn,t.ipRange,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,t.encryptionScope),stringToSign:a}}o(HX,"generateAccountSASQueryParametersInternal")});var YX=x(KC=>{"use strict";Object.defineProperty(KC,"__esModule",{value:!0});KC.BlobServiceClient=void 0;var rqe=Nd(),nqe=Lr(),qX=Xt(),og=Lc(),iqe=cD(),YC=fs(),Iu=zs(),ko=fs(),To=fu(),sqe=TC(),oqe=Ub(),zX=FC(),GX=fD(),jX=zC(),hD=class t extends oqe.StorageClient{static{o(this,"BlobServiceClient")}serviceContext;static fromConnectionString(e,r){r=r||{};let n=(0,YC.extractConnectionStringParts)(e);if(n.kind==="AccountConnString")if(qX.isNodeLike){let i=new Iu.StorageSharedKeyCredential(n.accountName,n.accountKey);r.proxyOptions||(r.proxyOptions=(0,nqe.getDefaultProxySettings)(n.proxyUri));let s=(0,og.newPipeline)(i,r);return new t(n.url,s)}else throw new Error("Account connection string is only supported in Node.js environment");else if(n.kind==="SASConnString"){let i=(0,og.newPipeline)(new Iu.AnonymousCredential,r);return new t(n.url+"?"+n.accountSas,i)}else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}constructor(e,r,n){let i;(0,og.isPipelineLike)(r)?i=r:qX.isNodeLike&&r instanceof Iu.StorageSharedKeyCredential||r instanceof Iu.AnonymousCredential||(0,rqe.isTokenCredential)(r)?i=(0,og.newPipeline)(r,n):i=(0,og.newPipeline)(new Iu.AnonymousCredential,n),super(e,i),this.serviceContext=this.storageClientContext.service}getContainerClient(e){return new iqe.ContainerClient((0,YC.appendToURLPath)(this.url,encodeURIComponent(e)),this.pipeline)}async createContainer(e,r={}){return To.tracingClient.withSpan("BlobServiceClient-createContainer",r,async n=>{let i=this.getContainerClient(e),s=await i.create(n);return{containerClient:i,containerCreateResponse:s}})}async deleteContainer(e,r={}){return To.tracingClient.withSpan("BlobServiceClient-deleteContainer",r,async n=>this.getContainerClient(e).delete(n))}async undeleteContainer(e,r,n={}){return To.tracingClient.withSpan("BlobServiceClient-undeleteContainer",n,async i=>{let s=this.getContainerClient(n.destinationContainerName||e),a=s.storageClientContext.container,c=(0,ko.assertResponse)(await a.restore({deletedContainerName:e,deletedContainerVersion:r,tracingOptions:i.tracingOptions}));return{containerClient:s,containerUndeleteResponse:c}})}async getProperties(e={}){return To.tracingClient.withSpan("BlobServiceClient-getProperties",e,async r=>(0,ko.assertResponse)(await this.serviceContext.getProperties({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}async setProperties(e,r={}){return To.tracingClient.withSpan("BlobServiceClient-setProperties",r,async n=>(0,ko.assertResponse)(await this.serviceContext.setProperties(e,{abortSignal:r.abortSignal,tracingOptions:n.tracingOptions})))}async getStatistics(e={}){return To.tracingClient.withSpan("BlobServiceClient-getStatistics",e,async r=>(0,ko.assertResponse)(await this.serviceContext.getStatistics({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}async getAccountInfo(e={}){return To.tracingClient.withSpan("BlobServiceClient-getAccountInfo",e,async r=>(0,ko.assertResponse)(await this.serviceContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}async listContainersSegment(e,r={}){return To.tracingClient.withSpan("BlobServiceClient-listContainersSegment",r,async n=>(0,ko.assertResponse)(await this.serviceContext.listContainersSegment({abortSignal:r.abortSignal,marker:e,...r,include:typeof r.include=="string"?[r.include]:r.include,tracingOptions:n.tracingOptions})))}async findBlobsByTagsSegment(e,r,n={}){return To.tracingClient.withSpan("BlobServiceClient-findBlobsByTagsSegment",n,async i=>{let s=(0,ko.assertResponse)(await this.serviceContext.filterBlobs({abortSignal:n.abortSignal,where:e,marker:r,maxPageSize:n.maxPageSize,tracingOptions:i.tracingOptions}));return{...s,_response:s._response,blobs:s.blobs.map(c=>{let l="";return c.tags?.blobTagSet.length===1&&(l=c.tags.blobTagSet[0].value),{...c,tags:(0,YC.toTags)(c.tags),tagValue:l}})}})}async*findBlobsByTagsSegments(e,r,n={}){let i;if(r||r===void 0)do i=await this.findBlobsByTagsSegment(e,r,n),i.blobs=i.blobs||[],r=i.continuationToken,yield i;while(r)}async*findBlobsByTagsItems(e,r={}){let n;for await(let i of this.findBlobsByTagsSegments(e,n,r))yield*i.blobs}findBlobsByTags(e,r={}){let n={...r},i=this.findBlobsByTagsItems(e,n);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:o((s={})=>this.findBlobsByTagsSegments(e,s.continuationToken,{maxPageSize:s.maxPageSize,...n}),"byPage")}}async*listSegments(e,r={}){let n;if(e||e===void 0)do n=await this.listContainersSegment(e,r),n.containerItems=n.containerItems||[],e=n.continuationToken,yield await n;while(e)}async*listItems(e={}){let r;for await(let n of this.listSegments(r,e))yield*n.containerItems}listContainers(e={}){e.prefix===""&&(e.prefix=void 0);let r=[];e.includeDeleted&&r.push("deleted"),e.includeMetadata&&r.push("metadata"),e.includeSystem&&r.push("system");let n={...e,...r.length>0?{include:r}:{}},i=this.listItems(n);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:o((s={})=>this.listSegments(s.continuationToken,{maxPageSize:s.maxPageSize,...n}),"byPage")}}async getUserDelegationKey(e,r,n={}){return To.tracingClient.withSpan("BlobServiceClient-getUserDelegationKey",n,async i=>{let s=(0,ko.assertResponse)(await this.serviceContext.getUserDelegationKey({startsOn:(0,ko.truncatedISO8061Date)(e,!1),expiresOn:(0,ko.truncatedISO8061Date)(r,!1)},{abortSignal:n.abortSignal,tracingOptions:i.tracingOptions})),a={signedObjectId:s.signedObjectId,signedTenantId:s.signedTenantId,signedStartsOn:new Date(s.signedStartsOn),signedExpiresOn:new Date(s.signedExpiresOn),signedService:s.signedService,signedVersion:s.signedVersion,value:s.value};return{_response:s._response,requestId:s.requestId,clientRequestId:s.clientRequestId,version:s.version,date:s.date,errorCode:s.errorCode,...a}})}getBlobBatchClient(){return new sqe.BlobBatchClient(this.url,this.pipeline)}generateAccountSasUrl(e,r=zX.AccountSASPermissions.parse("r"),n="sco",i={}){if(!(this.credential instanceof Iu.StorageSharedKeyCredential))throw RangeError("Can only generate the account SAS when the client is initialized with a shared key credential");if(e===void 0){let a=new Date;e=new Date(a.getTime()+3600*1e3)}let s=(0,GX.generateAccountSASQueryParameters)({permissions:r,expiresOn:e,resourceTypes:n,services:jX.AccountSASServices.parse("b").toString(),...i},this.credential).toString();return(0,YC.appendToURLQuery)(this.url,s)}generateSasStringToSign(e,r=zX.AccountSASPermissions.parse("r"),n="sco",i={}){if(!(this.credential instanceof Iu.StorageSharedKeyCredential))throw RangeError("Can only generate the account SAS when the client is initialized with a shared key credential");if(e===void 0){let s=new Date;e=new Date(s.getTime()+3600*1e3)}return(0,GX.generateAccountSASQueryParametersInternal)({permissions:r,expiresOn:e,resourceTypes:n,services:jX.AccountSASServices.parse("b").toString(),...i},this.credential).stringToSign}};KC.BlobServiceClient=hD});var JX=x(KX=>{"use strict";Object.defineProperty(KX,"__esModule",{value:!0})});var WX=x(JC=>{"use strict";Object.defineProperty(JC,"__esModule",{value:!0});JC.KnownEncryptionAlgorithmType=void 0;var VX;(function(t){t.AES256="AES256"})(VX||(JC.KnownEncryptionAlgorithmType=VX={}))});var pD=x(Be=>{"use strict";Object.defineProperty(Be,"__esModule",{value:!0});Be.logger=Be.RestError=Be.StorageBrowserPolicyFactory=Be.StorageBrowserPolicy=Be.StorageSharedKeyCredentialPolicy=Be.StorageSharedKeyCredential=Be.StorageRetryPolicyFactory=Be.StorageRetryPolicy=Be.StorageRetryPolicyType=Be.Credential=Be.CredentialPolicy=Be.BaseRequestPolicy=Be.AnonymousCredentialPolicy=Be.AnonymousCredential=Be.StorageOAuthScopes=Be.newPipeline=Be.isPipelineLike=Be.Pipeline=Be.getBlobServiceAccountAudience=Be.StorageBlobAudience=Be.PremiumPageBlobTier=Be.BlockBlobTier=Be.generateBlobSASQueryParameters=Be.generateAccountSASQueryParameters=void 0;var ii=(Wr(),cn(Vr)),aqe=Lr();Object.defineProperty(Be,"RestError",{enumerable:!0,get:o(function(){return aqe.RestError},"get")});ii.__exportStar(YX(),Be);ii.__exportStar(QC(),Be);ii.__exportStar(cD(),Be);ii.__exportStar(Wb(),Be);ii.__exportStar(FC(),Be);ii.__exportStar(AD(),Be);ii.__exportStar(zC(),Be);var cqe=fD();Object.defineProperty(Be,"generateAccountSASQueryParameters",{enumerable:!0,get:o(function(){return cqe.generateAccountSASQueryParameters},"get")});ii.__exportStar(iD(),Be);ii.__exportStar(TC(),Be);ii.__exportStar(JX(),Be);ii.__exportStar(l_(),Be);var lqe=Kb();Object.defineProperty(Be,"generateBlobSASQueryParameters",{enumerable:!0,get:o(function(){return lqe.generateBlobSASQueryParameters},"get")});ii.__exportStar(A_(),Be);var VC=P_();Object.defineProperty(Be,"BlockBlobTier",{enumerable:!0,get:o(function(){return VC.BlockBlobTier},"get")});Object.defineProperty(Be,"PremiumPageBlobTier",{enumerable:!0,get:o(function(){return VC.PremiumPageBlobTier},"get")});Object.defineProperty(Be,"StorageBlobAudience",{enumerable:!0,get:o(function(){return VC.StorageBlobAudience},"get")});Object.defineProperty(Be,"getBlobServiceAccountAudience",{enumerable:!0,get:o(function(){return VC.getBlobServiceAccountAudience},"get")});var WC=Lc();Object.defineProperty(Be,"Pipeline",{enumerable:!0,get:o(function(){return WC.Pipeline},"get")});Object.defineProperty(Be,"isPipelineLike",{enumerable:!0,get:o(function(){return WC.isPipelineLike},"get")});Object.defineProperty(Be,"newPipeline",{enumerable:!0,get:o(function(){return WC.newPipeline},"get")});Object.defineProperty(Be,"StorageOAuthScopes",{enumerable:!0,get:o(function(){return WC.StorageOAuthScopes},"get")});var ps=zs();Object.defineProperty(Be,"AnonymousCredential",{enumerable:!0,get:o(function(){return ps.AnonymousCredential},"get")});Object.defineProperty(Be,"AnonymousCredentialPolicy",{enumerable:!0,get:o(function(){return ps.AnonymousCredentialPolicy},"get")});Object.defineProperty(Be,"BaseRequestPolicy",{enumerable:!0,get:o(function(){return ps.BaseRequestPolicy},"get")});Object.defineProperty(Be,"CredentialPolicy",{enumerable:!0,get:o(function(){return ps.CredentialPolicy},"get")});Object.defineProperty(Be,"Credential",{enumerable:!0,get:o(function(){return ps.Credential},"get")});Object.defineProperty(Be,"StorageRetryPolicyType",{enumerable:!0,get:o(function(){return ps.StorageRetryPolicyType},"get")});Object.defineProperty(Be,"StorageRetryPolicy",{enumerable:!0,get:o(function(){return ps.StorageRetryPolicy},"get")});Object.defineProperty(Be,"StorageRetryPolicyFactory",{enumerable:!0,get:o(function(){return ps.StorageRetryPolicyFactory},"get")});Object.defineProperty(Be,"StorageSharedKeyCredential",{enumerable:!0,get:o(function(){return ps.StorageSharedKeyCredential},"get")});Object.defineProperty(Be,"StorageSharedKeyCredentialPolicy",{enumerable:!0,get:o(function(){return ps.StorageSharedKeyCredentialPolicy},"get")});Object.defineProperty(Be,"StorageBrowserPolicy",{enumerable:!0,get:o(function(){return ps.StorageBrowserPolicy},"get")});Object.defineProperty(Be,"StorageBrowserPolicyFactory",{enumerable:!0,get:o(function(){return ps.StorageBrowserPolicyFactory},"get")});ii.__exportStar(jb(),Be);ii.__exportStar(WX(),Be);var uqe=sb();Object.defineProperty(Be,"logger",{enumerable:!0,get:o(function(){return uqe.logger},"get")})});var CD=x(Bn=>{"use strict";Object.defineProperty(Bn,"__esModule",{value:!0});Bn.RateLimitError=Bn.UsageError=Bn.NetworkError=Bn.GHESNotSupportedError=Bn.CacheNotFoundError=Bn.InvalidResponseError=Bn.FilesNotFoundError=void 0;var gD=class extends Error{static{o(this,"FilesNotFoundError")}constructor(e=[]){let r="No files were found to upload";e.length>0&&(r+=`: ${e.join(", ")}`),super(r),this.files=e,this.name="FilesNotFoundError"}};Bn.FilesNotFoundError=gD;var mD=class extends Error{static{o(this,"InvalidResponseError")}constructor(e){super(e),this.name="InvalidResponseError"}};Bn.InvalidResponseError=mD;var yD=class extends Error{static{o(this,"CacheNotFoundError")}constructor(e="Cache not found"){super(e),this.name="CacheNotFoundError"}};Bn.CacheNotFoundError=yD;var ED=class extends Error{static{o(this,"GHESNotSupportedError")}constructor(e="@actions/cache v4.1.4+, actions/cache/save@v4+ and actions/cache/restore@v4+ are not currently supported on GHES."){super(e),this.name="GHESNotSupportedError"}};Bn.GHESNotSupportedError=ED;var $C=class extends Error{static{o(this,"NetworkError")}constructor(e){let r=`Unable to make request: ${e} +If you are using self-hosted runners, please make sure your runner has access to all GitHub endpoints: https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners#communication-between-self-hosted-runners-and-github`;super(r),this.code=e,this.name="NetworkError"}};Bn.NetworkError=$C;$C.isNetworkErrorCode=t=>t?["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(t):!1;var XC=class extends Error{static{o(this,"UsageError")}constructor(){super(`Cache storage quota has been hit. Unable to upload any new cache entries. Usage is recalculated every 6-12 hours. +More info on storage limits: https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions#calculating-minute-and-storage-spending`),this.name="UsageError"}};Bn.UsageError=XC;XC.isUsageErrorMessage=t=>t?t.includes("insufficient usage"):!1;var bD=class extends Error{static{o(this,"RateLimitError")}constructor(e){super(e),this.name="RateLimitError"}};Bn.RateLimitError=bD});var $X=x(Fi=>{"use strict";var Aqe=Fi&&Fi.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),dqe=Fi&&Fi.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),fqe=Fi&&Fi.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i{this.setSentBytes(e.loadedBytes)}}startDisplayTimer(e=1e3){let r=o(()=>{this.display(),this.isDone()||(this.timeoutHandle=setTimeout(r,e))},"displayCallback");this.timeoutHandle=setTimeout(r,e)}stopDisplayTimer(){this.timeoutHandle&&(clearTimeout(this.timeoutHandle),this.timeoutHandle=void 0),this.display()}};Fi.UploadProgress=ZC;function mqe(t,e,r){return hqe(this,void 0,void 0,function*(){var n;let i=new pqe.BlobClient(t),s=i.getBlockBlobClient(),a=new ZC((n=r?.archiveSizeBytes)!==null&&n!==void 0?n:0),c={blockSize:r?.uploadChunkSize,concurrency:r?.uploadConcurrency,maxSingleShotSize:128*1024*1024,onProgress:a.onProgress()};try{a.startDisplayTimer(),xD.debug(`BlobClient: ${i.name}:${i.accountName}:${i.containerName}`);let l=yield s.uploadFile(e,c);if(l._response.status>=400)throw new gqe.InvalidResponseError(`uploadCacheArchiveSDK: upload failed with status code ${l._response.status}`);return l}catch(l){throw xD.warning(`uploadCacheArchiveSDK: internal error uploading cache archive: ${l.message}`),l}finally{a.stopDisplayTimer()}})}o(mqe,"uploadCacheArchiveSDK")});var BD=x(wn=>{"use strict";var yqe=wn&&wn.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Eqe=wn&&wn.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),bqe=wn&&wn.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i=200&&t<300:!1}o(Cqe,"isSuccessStatusCode");function ZX(t){return t?t>=500:!0}o(ZX,"isServerErrorStatusCode");function eZ(t){return t?[ex.HttpCodes.BadGateway,ex.HttpCodes.ServiceUnavailable,ex.HttpCodes.GatewayTimeout].includes(t):!1}o(eZ,"isRetryableStatusCode");function xqe(t){return tx(this,void 0,void 0,function*(){return new Promise(e=>setTimeout(e,t))})}o(xqe,"sleep");function ID(t,e,r){return tx(this,arguments,void 0,function*(n,i,s,a=rf.DefaultRetryAttempts,c=rf.DefaultRetryDelay,l=void 0){let u="",A=1;for(;A<=a;){let d,f,h=!1;try{d=yield i()}catch(g){l&&(d=l(g)),h=!0,u=g.message}if(d&&(f=s(d),!ZX(f)))return d;if(f&&(h=eZ(f),u=`Cache service responded with ${f}`),XX.debug(`${n} - Attempt ${A} of ${a} failed with error: ${u}`),!h){XX.debug(`${n} - Error is not retryable`);break}yield xqe(c),A++}throw Error(`${n} failed: ${u}`)})}o(ID,"retry");function Iqe(t,e){return tx(this,arguments,void 0,function*(r,n,i=rf.DefaultRetryAttempts,s=rf.DefaultRetryDelay){return yield ID(r,n,a=>a.statusCode,i,s,a=>{if(a instanceof ex.HttpClientError)return{statusCode:a.statusCode,result:null,headers:{},error:a}})})}o(Iqe,"retryTypedResponse");function Bqe(t,e){return tx(this,arguments,void 0,function*(r,n,i=rf.DefaultRetryAttempts,s=rf.DefaultRetryDelay){return yield ID(r,n,a=>a.message.statusCode,i,s)})}o(Bqe,"retryHttpClientResponse")});var rZ=x(cg=>{"use strict";Object.defineProperty(cg,"__esModule",{value:!0});var nf=new WeakMap,rx=new WeakMap,ag=class t{static{o(this,"AbortSignal")}constructor(){this.onabort=null,nf.set(this,[]),rx.set(this,!1)}get aborted(){if(!rx.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");return rx.get(this)}static get none(){return new t}addEventListener(e,r){if(!nf.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");nf.get(this).push(r)}removeEventListener(e,r){if(!nf.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");let n=nf.get(this),i=n.indexOf(r);i>-1&&n.splice(i,1)}dispatchEvent(e){throw new Error("This is a stub dispatchEvent implementation that should not be used. It only exists for type-checking purposes.")}};function tZ(t){if(t.aborted)return;t.onabort&&t.onabort.call(t);let e=nf.get(t);e&&e.slice().forEach(r=>{r.call(t,{type:"abort"})}),rx.set(t,!0)}o(tZ,"abortSignal");var wD=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}},QD=class{static{o(this,"AbortController")}constructor(e){if(this._signal=new ag,!!e){Array.isArray(e)||(e=arguments);for(let r of e)r.aborted?this.abort():r.addEventListener("abort",()=>{this.abort()})}}get signal(){return this._signal}abort(){tZ(this._signal)}static timeout(e){let r=new ag,n=setTimeout(tZ,e,r);return typeof n.unref=="function"&&n.unref(),r}};cg.AbortController=QD;cg.AbortError=wD;cg.AbortSignal=ag});var aZ=x(Mn=>{"use strict";var wqe=Mn&&Mn.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Qqe=Mn&&Mn.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),sf=Mn&&Mn.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i{this.setReceivedBytes(e.loadedBytes)}}startDisplayTimer(e=1e3){let r=o(()=>{this.display(),this.isDone()||(this.timeoutHandle=setTimeout(r,e))},"displayCallback");this.timeoutHandle=setTimeout(r,e)}stopDisplayTimer(){this.timeoutHandle&&(clearTimeout(this.timeoutHandle),this.timeoutHandle=void 0),this.display()}};Mn.DownloadProgress=Ag;function sZ(t,e){return gs(this,void 0,void 0,function*(){let r=lg.createWriteStream(e),n=new iZ.HttpClient("actions/cache"),i=yield(0,SD.retryHttpClientResponse)("downloadCache",()=>gs(this,void 0,void 0,function*(){return n.get(t)}));i.message.socket.setTimeout(nZ.SocketTimeout,()=>{i.message.destroy(),ug.debug(`Aborting download, socket timed out after ${nZ.SocketTimeout} ms`)}),yield Dqe(i,r);let s=i.message.headers["content-length"];if(s){let a=parseInt(s),c=Pqe.getArchiveFileSizeInBytes(e);if(c!==a)throw new Error(`Incomplete download. Expected file size: ${a}, actual file size: ${c}`)}else ug.debug("Unable to validate download, no Content-Length header")})}o(sZ,"downloadCacheHttpClient");function kqe(t,e,r){return gs(this,void 0,void 0,function*(){var n;let i=yield lg.promises.open(e,"w"),s=new iZ.HttpClient("actions/cache",void 0,{socketTimeout:r.timeoutInMs,keepAlive:!0});try{let c=(yield(0,SD.retryHttpClientResponse)("downloadCacheMetadata",()=>gs(this,void 0,void 0,function*(){return yield s.request("HEAD",t,null,{})}))).message.headers["content-length"];if(c==null)throw new Error("Content-Length not found on blob response");let l=parseInt(c);if(Number.isNaN(l))throw new Error(`Could not interpret Content-Length: ${l}`);let u=[],A=4*1024*1024;for(let I=0;Igs(this,void 0,void 0,function*(){return yield Tqe(s,t,I,w)}),"promiseGetter")})}u.reverse();let d=0,f=0,h=new Ag(l);h.startDisplayTimer();let g=h.onProgress(),m=[],b,y=o(()=>gs(this,void 0,void 0,function*(){let I=yield Promise.race(Object.values(m));yield i.write(I.buffer,0,I.count,I.offset),d--,delete m[I.offset],f+=I.count,g({loadedBytes:f})}),"waitAndWrite");for(;b=u.pop();)m[b.offset]=b.promiseGetter(),d++,d>=((n=r.downloadConcurrency)!==null&&n!==void 0?n:10)&&(yield y());for(;d>0;)yield y()}finally{s.dispose(),yield i.close()}})}o(kqe,"downloadCacheHttpClientConcurrent");function Tqe(t,e,r,n){return gs(this,void 0,void 0,function*(){let s=0;for(;;)try{let c=yield oZ(3e4,Oqe(t,e,r,n));if(typeof c=="string")throw new Error("downloadSegmentRetry failed due to timeout");return c}catch(a){if(s>=5)throw a;s++}})}o(Tqe,"downloadSegmentRetry");function Oqe(t,e,r,n){return gs(this,void 0,void 0,function*(){let i=yield(0,SD.retryHttpClientResponse)("downloadCachePart",()=>gs(this,void 0,void 0,function*(){return yield t.get(e,{Range:`bytes=${r}-${r+n-1}`})}));if(!i.readBodyBuffer)throw new Error("Expected HttpClientResponse to implement readBodyBuffer");return{offset:r,count:n,buffer:yield i.readBodyBuffer()}})}o(Oqe,"downloadSegment");function Mqe(t,e,r){return gs(this,void 0,void 0,function*(){var n;let i=new Sqe.BlockBlobClient(t,void 0,{retryOptions:{tryTimeoutInMs:r.timeoutInMs}}),a=(n=(yield i.getProperties()).contentLength)!==null&&n!==void 0?n:-1;if(a<0)ug.debug("Unable to determine content length, downloading file with http-client..."),yield sZ(t,e);else{let c=Math.min(134217728,Nqe.constants.MAX_LENGTH),l=new Ag(a),u=lg.openSync(e,"w");try{l.startDisplayTimer();let A=new _qe.AbortController,d=A.signal;for(;!l.isDone();){let f=l.segmentOffset+l.segmentSize,h=Math.min(c,a-f);l.nextSegment(h);let g=yield oZ(r.segmentTimeoutInMs||36e5,i.downloadToBuffer(f,h,{abortSignal:d,concurrency:r.downloadConcurrency,onProgress:l.onProgress()}));if(g==="timeout")throw A.abort(),new Error("Aborting cache download as the download time exceeded the timeout.");Buffer.isBuffer(g)&&lg.writeFileSync(u,g)}}finally{l.stopDisplayTimer(),lg.closeSync(u)}}})}o(Mqe,"downloadCacheStorageSDK");var oZ=o((t,e)=>gs(void 0,void 0,void 0,function*(){let r,n=new Promise(i=>{r=setTimeout(()=>i("timeout"),t)});return Promise.race([e,n]).then(i=>(clearTimeout(r),i))}),"promiseWithTimeout")});var cZ=x(Oo=>{"use strict";var Lqe=Oo&&Oo.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Uqe=Oo&&Oo.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),Fqe=Oo&&Oo.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i{"use strict";Object.defineProperty(dg,"__esModule",{value:!0});dg.isGhes=lZ;dg.getCacheServiceVersion=uZ;dg.getCacheServiceURL=zqe;function lZ(){let e=new URL(process.env.GITHUB_SERVER_URL||"https://github.com").hostname.trimEnd().toUpperCase(),r=e==="GITHUB.COM",n=e.endsWith(".GHE.COM"),i=e.endsWith(".LOCALHOST");return!r&&!n&&!i}o(lZ,"isGhes");function uZ(){return lZ()?"v1":process.env.ACTIONS_CACHE_SERVICE_V2?"v2":"v1"}o(uZ,"getCacheServiceVersion");function zqe(){let t=uZ();switch(t){case"v1":return process.env.ACTIONS_CACHE_URL||process.env.ACTIONS_RESULTS_URL||"";case"v2":return process.env.ACTIONS_RESULTS_URL||"";default:throw new Error(`Unsupported cache service version: ${t}`)}}o(zqe,"getCacheServiceURL")});var AZ=x((Sdt,Gqe)=>{Gqe.exports={name:"@actions/cache",version:"5.0.5",preview:!0,description:"Actions cache lib",keywords:["github","actions","cache"],homepage:"https://github.com/actions/toolkit/tree/main/packages/cache",license:"MIT",main:"lib/cache.js",types:"lib/cache.d.ts",directories:{lib:"lib",test:"__tests__"},files:["lib","!.DS_Store"],publishConfig:{access:"public"},repository:{type:"git",url:"git+https://github.com/actions/toolkit.git",directory:"packages/cache"},scripts:{"audit-moderate":"npm install && npm audit --json --audit-level=moderate > audit.json",test:'echo "Error: run tests from root" && exit 1',tsc:"tsc"},bugs:{url:"https://github.com/actions/toolkit/issues"},dependencies:{"@actions/core":"^2.0.0","@actions/exec":"^2.0.0","@actions/glob":"^0.5.1","@protobuf-ts/runtime-rpc":"^2.11.1","@actions/http-client":"^3.0.2","@actions/io":"^2.0.0","@azure/abort-controller":"^1.1.0","@azure/core-rest-pipeline":"^1.22.0","@azure/storage-blob":"^12.29.1",semver:"^6.3.1"},devDependencies:{"@types/node":"^24.1.0","@types/semver":"^6.0.0","@protobuf-ts/plugin":"^2.9.4",typescript:"^5.2.2"},overrides:{"uri-js":"npm:uri-js-replace@^1.0.1","node-fetch":"^3.3.2"}}});var vD=x(ND=>{"use strict";Object.defineProperty(ND,"__esModule",{value:!0});ND.getUserAgentString=Yqe;var jqe=AZ();function Yqe(){return`@actions/cache-${jqe.version}`}o(Yqe,"getUserAgentString")});var fZ=x(oi=>{"use strict";var Kqe=oi&&oi.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Jqe=oi&&oi.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),PD=oi&&oi.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;isi(this,void 0,void 0,function*(){return n.getJson(fg(s))}));if(a.statusCode===204)return Hi.isDebug()&&(yield i9e(t[0],n,i)),null;if(!(0,Vc.isSuccessStatusCode)(a.statusCode))throw new Error(`Cache service responded with ${a.statusCode}`);let c=a.result,l=c?.archiveLocation;if(!l)throw new Error("Cache not found.");return Hi.setSecret(l),Hi.debug("Cache Result:"),Hi.debug(JSON.stringify(c)),c})}o(n9e,"getCacheEntry");function i9e(t,e,r){return si(this,void 0,void 0,function*(){let n=`caches?key=${encodeURIComponent(t)}`,i=yield(0,Vc.retryTypedResponse)("listCache",()=>si(this,void 0,void 0,function*(){return e.getJson(fg(n))}));if(i.statusCode===200){let s=i.result,a=s?.totalCount;if(a&&a>0){Hi.debug(`No matching cache found for cache key '${t}', version '${r} and scope ${process.env.GITHUB_REF}. There exist one or more cache(s) with similar key but they have different version or scope. See more info on cache matching here: https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#matching-a-cache-key +Other caches with similar key:`);for(let c of s?.artifactCaches||[])Hi.debug(`Cache Key: ${c?.cacheKey}, Cache Version: ${c?.cacheVersion}, Cache Scope: ${c?.scope}, Cache Created: ${c?.creationTime}`)}}})}o(i9e,"printCachesListForDiagnostics");function s9e(t,e,r){return si(this,void 0,void 0,function*(){let n=new $qe.URL(t),i=(0,_D.getDownloadOptions)(r);n.hostname.endsWith(".blob.core.windows.net")?i.useAzureSdk?yield(0,ix.downloadCacheStorageSDK)(t,e,i):i.concurrentBlobDownloads?yield(0,ix.downloadCacheHttpClientConcurrent)(t,e,i):yield(0,ix.downloadCacheHttpClient)(t,e):yield(0,ix.downloadCacheHttpClient)(t,e)})}o(s9e,"downloadCache");function o9e(t,e,r){return si(this,void 0,void 0,function*(){let n=DD(),i=of.getCacheVersion(e,r?.compressionMethod,r?.enableCrossOsArchive),s={key:t,version:i,cacheSize:r?.cacheSize};return yield(0,Vc.retryTypedResponse)("reserveCache",()=>si(this,void 0,void 0,function*(){return n.postJson(fg("caches"),s)}))})}o(o9e,"reserveCache");function dZ(t,e){return`bytes ${t}-${e}/*`}o(dZ,"getContentRange");function a9e(t,e,r,n,i){return si(this,void 0,void 0,function*(){Hi.debug(`Uploading chunk of size ${i-n+1} bytes at offset ${n} with content range: ${dZ(n,i)}`);let s={"Content-Type":"application/octet-stream","Content-Range":dZ(n,i)},a=yield(0,Vc.retryHttpClientResponse)(`uploadChunk (start: ${n}, end: ${i})`,()=>si(this,void 0,void 0,function*(){return t.sendStream("PATCH",e,r(),s)}));if(!(0,Vc.isSuccessStatusCode)(a.message.statusCode))throw new Error(`Cache service responded with ${a.message.statusCode} during upload chunk.`)})}o(a9e,"uploadChunk");function c9e(t,e,r,n){return si(this,void 0,void 0,function*(){let i=of.getArchiveFileSizeInBytes(r),s=fg(`caches/${e.toString()}`),a=RD.openSync(r,"r"),c=(0,_D.getUploadOptions)(n),l=of.assertDefined("uploadConcurrency",c.uploadConcurrency),u=of.assertDefined("uploadChunkSize",c.uploadChunkSize),A=[...new Array(l).keys()];Hi.debug("Awaiting all uploads");let d=0;try{yield Promise.all(A.map(()=>si(this,void 0,void 0,function*(){for(;dRD.createReadStream(r,{fd:a,start:h,end:g,autoClose:!1}).on("error",m=>{throw new Error(`Cache upload failed because file read failed with ${m.message}`)}),h,g)}})))}finally{RD.closeSync(a)}})}o(c9e,"uploadFile");function l9e(t,e,r){return si(this,void 0,void 0,function*(){let n={size:r};return yield(0,Vc.retryTypedResponse)("commitCache",()=>si(this,void 0,void 0,function*(){return t.postJson(fg(`caches/${e.toString()}`),n)}))})}o(l9e,"commitCache");function u9e(t,e,r,n){return si(this,void 0,void 0,function*(){if((0,_D.getUploadOptions)(n).useAzureSdk){if(!r)throw new Error("Azure Storage SDK can only be used when a signed URL is provided.");yield(0,Xqe.uploadCacheArchiveSDK)(r,e,n)}else{let s=DD();Hi.debug("Upload cache"),yield c9e(s,t,e,n),Hi.debug("Commiting cache");let a=of.getArchiveFileSizeInBytes(e);Hi.info(`Cache Size: ~${Math.round(a/(1024*1024))} MB (${a} B)`);let c=yield l9e(s,t,a);if(!(0,Vc.isSuccessStatusCode)(c.statusCode))throw new Error(`Cache service responded with ${c.statusCode} during commit cache.`);Hi.info("Cache saved successfully")}})}o(u9e,"saveCache")});var sx=x(af=>{"use strict";Object.defineProperty(af,"__esModule",{value:!0});af.isJsonObject=af.typeofJsonValue=void 0;function A9e(t){let e=typeof t;if(e=="object"){if(Array.isArray(t))return"array";if(t===null)return"null"}return e}o(A9e,"typeofJsonValue");af.typeofJsonValue=A9e;function d9e(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}o(d9e,"isJsonObject");af.isJsonObject=d9e});var ax=x(cf=>{"use strict";Object.defineProperty(cf,"__esModule",{value:!0});cf.base64encode=cf.base64decode=void 0;var va="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),ox=[];for(let t=0;t>4,a=s,i=2;break;case 2:r[n++]=(a&15)<<4|(s&60)>>2,a=s,i=3;break;case 3:r[n++]=(a&3)<<6|s,i=0;break}}if(i==1)throw Error("invalid base64 string.");return r.subarray(0,n)}o(f9e,"base64decode");cf.base64decode=f9e;function h9e(t){let e="",r=0,n,i=0;for(let s=0;s>2],i=(n&3)<<4,r=1;break;case 1:e+=va[i|n>>4],i=(n&15)<<2,r=2;break;case 2:e+=va[i|n>>6],e+=va[n&63],r=0;break}return r&&(e+=va[i],e+="=",r==1&&(e+="=")),e}o(h9e,"base64encode");cf.base64encode=h9e});var hZ=x(cx=>{"use strict";Object.defineProperty(cx,"__esModule",{value:!0});cx.utf8read=void 0;var kD=o(t=>String.fromCharCode.apply(String,t),"fromCharCodes");function p9e(t){if(t.length<1)return"";let e=0,r=[],n=[],i=0,s,a=t.length;for(;e191&&s<224?n[i++]=(s&31)<<6|t[e++]&63:s>239&&s<365?(s=((s&7)<<18|(t[e++]&63)<<12|(t[e++]&63)<<6|t[e++]&63)-65536,n[i++]=55296+(s>>10),n[i++]=56320+(s&1023)):n[i++]=(s&15)<<12|(t[e++]&63)<<6|t[e++]&63,i>8191&&(r.push(kD(n)),i=0);return r.length?(i&&r.push(kD(n.slice(0,i))),r.join("")):kD(n.slice(0,i))}o(p9e,"utf8read");cx.utf8read=p9e});var hg=x(Mo=>{"use strict";Object.defineProperty(Mo,"__esModule",{value:!0});Mo.WireType=Mo.mergeBinaryOptions=Mo.UnknownFieldHandler=void 0;var g9e;(function(t){t.symbol=Symbol.for("protobuf-ts/unknown"),t.onRead=(r,n,i,s,a)=>{(e(n)?n[t.symbol]:n[t.symbol]=[]).push({no:i,wireType:s,data:a})},t.onWrite=(r,n,i)=>{for(let{no:s,wireType:a,data:c}of t.list(n))i.tag(s,a).raw(c)},t.list=(r,n)=>{if(e(r)){let i=r[t.symbol];return n?i.filter(s=>s.no==n):i}return[]},t.last=(r,n)=>t.list(r,n).slice(-1)[0];let e=o(r=>r&&Array.isArray(r[t.symbol]),"is")})(g9e=Mo.UnknownFieldHandler||(Mo.UnknownFieldHandler={}));function m9e(t,e){return Object.assign(Object.assign({},t),e)}o(m9e,"mergeBinaryOptions");Mo.mergeBinaryOptions=m9e;var y9e;(function(t){t[t.Varint=0]="Varint",t[t.Bit64=1]="Bit64",t[t.LengthDelimited=2]="LengthDelimited",t[t.StartGroup=3]="StartGroup",t[t.EndGroup=4]="EndGroup",t[t.Bit32=5]="Bit32"})(y9e=Mo.WireType||(Mo.WireType={}))});var ux=x(ai=>{"use strict";Object.defineProperty(ai,"__esModule",{value:!0});ai.varint32read=ai.varint32write=ai.int64toString=ai.int64fromString=ai.varint64write=ai.varint64read=void 0;function E9e(){let t=0,e=0;for(let n=0;n<28;n+=7){let i=this.buf[this.pos++];if(t|=(i&127)<>4,(r&128)==0)return this.assertBounds(),[t,e];for(let n=3;n<=31;n+=7){let i=this.buf[this.pos++];if(e|=(i&127)<>>s,c=!(!(a>>>7)&&e==0),l=(c?a|128:a)&255;if(r.push(l),!c)return}let n=t>>>28&15|(e&7)<<4,i=e>>3!=0;if(r.push((i?n|128:n)&255),!!i){for(let s=3;s<31;s=s+7){let a=e>>>s,c=!!(a>>>7),l=(c?a|128:a)&255;if(r.push(l),!c)return}r.push(e>>>31&1)}}o(b9e,"varint64write");ai.varint64write=b9e;var lx=65536*65536;function C9e(t){let e=t[0]=="-";e&&(t=t.slice(1));let r=1e6,n=0,i=0;function s(a,c){let l=Number(t.slice(a,c));i*=r,n=n*r+l,n>=lx&&(i=i+(n/lx|0),n=n%lx)}return o(s,"add1e6digit"),s(-24,-18),s(-18,-12),s(-12,-6),s(-6),[e,n,i]}o(C9e,"int64fromString");ai.int64fromString=C9e;function x9e(t,e){if(e>>>0<=2097151)return""+(lx*e+(t>>>0));let r=t&16777215,n=(t>>>24|e<<8)>>>0&16777215,i=e>>16&65535,s=r+n*6777216+i*6710656,a=n+i*8147497,c=i*2,l=1e7;s>=l&&(a+=Math.floor(s/l),s%=l),a>=l&&(c+=Math.floor(a/l),a%=l);function u(A,d){let f=A?String(A):"";return d?"0000000".slice(f.length)+f:f}return o(u,"decimalFrom1e7"),u(c,0)+u(a,c)+u(s,1)}o(x9e,"int64toString");ai.int64toString=x9e;function I9e(t,e){if(t>=0){for(;t>127;)e.push(t&127|128),t=t>>>7;e.push(t)}else{for(let r=0;r<9;r++)e.push(t&127|128),t=t>>7;e.push(1)}}o(I9e,"varint32write");ai.varint32write=I9e;function B9e(){let t=this.buf[this.pos++],e=t&127;if((t&128)==0)return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<7,(t&128)==0)return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<14,(t&128)==0)return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<21,(t&128)==0)return this.assertBounds(),e;t=this.buf[this.pos++],e|=(t&15)<<28;for(let r=5;(t&128)!==0&&r<10;r++)t=this.buf[this.pos++];if((t&128)!=0)throw new Error("invalid varint");return this.assertBounds(),e>>>0}o(B9e,"varint32read");ai.varint32read=B9e});var $c=x(Wc=>{"use strict";Object.defineProperty(Wc,"__esModule",{value:!0});Wc.PbLong=Wc.PbULong=Wc.detectBi=void 0;var pg=ux(),_t;function pZ(){let t=new DataView(new ArrayBuffer(8));_t=globalThis.BigInt!==void 0&&typeof t.getBigInt64=="function"&&typeof t.getBigUint64=="function"&&typeof t.setBigInt64=="function"&&typeof t.setBigUint64=="function"?{MIN:BigInt("-9223372036854775808"),MAX:BigInt("9223372036854775807"),UMIN:BigInt("0"),UMAX:BigInt("18446744073709551615"),C:BigInt,V:t}:void 0}o(pZ,"detectBi");Wc.detectBi=pZ;pZ();function gZ(t){if(!t)throw new Error("BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support")}o(gZ,"assertBi");var mZ=/^-?[0-9]+$/,dx=4294967296,Ax=2147483648,fx=class{static{o(this,"SharedPbLong")}constructor(e,r){this.lo=e|0,this.hi=r|0}isZero(){return this.lo==0&&this.hi==0}toNumber(){let e=this.hi*dx+(this.lo>>>0);if(!Number.isSafeInteger(e))throw new Error("cannot convert to safe number");return e}},gg=class t extends fx{static{o(this,"PbULong")}static from(e){if(_t)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=_t.C(e);case"number":if(e===0)return this.ZERO;e=_t.C(e);case"bigint":if(!e)return this.ZERO;if(e<_t.UMIN)throw new Error("signed value for ulong");if(e>_t.UMAX)throw new Error("ulong too large");return _t.V.setBigUint64(0,e,!0),new t(_t.V.getInt32(0,!0),_t.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!mZ.test(e))throw new Error("string is no integer");let[r,n,i]=pg.int64fromString(e);if(r)throw new Error("signed value for ulong");return new t(n,i);case"number":if(e==0)return this.ZERO;if(!Number.isSafeInteger(e))throw new Error("number is no integer");if(e<0)throw new Error("signed value for ulong");return new t(e,e/dx)}throw new Error("unknown value "+typeof e)}toString(){return _t?this.toBigInt().toString():pg.int64toString(this.lo,this.hi)}toBigInt(){return gZ(_t),_t.V.setInt32(0,this.lo,!0),_t.V.setInt32(4,this.hi,!0),_t.V.getBigUint64(0,!0)}};Wc.PbULong=gg;gg.ZERO=new gg(0,0);var mg=class t extends fx{static{o(this,"PbLong")}static from(e){if(_t)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=_t.C(e);case"number":if(e===0)return this.ZERO;e=_t.C(e);case"bigint":if(!e)return this.ZERO;if(e<_t.MIN)throw new Error("signed long too small");if(e>_t.MAX)throw new Error("signed long too large");return _t.V.setBigInt64(0,e,!0),new t(_t.V.getInt32(0,!0),_t.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!mZ.test(e))throw new Error("string is no integer");let[r,n,i]=pg.int64fromString(e);if(r){if(i>Ax||i==Ax&&n!=0)throw new Error("signed long too small")}else if(i>=Ax)throw new Error("signed long too large");let s=new t(n,i);return r?s.negate():s;case"number":if(e==0)return this.ZERO;if(!Number.isSafeInteger(e))throw new Error("number is no integer");return e>0?new t(e,e/dx):new t(-e,-e/dx).negate()}throw new Error("unknown value "+typeof e)}isNegative(){return(this.hi&Ax)!==0}negate(){let e=~this.hi,r=this.lo;return r?r=~r+1:e+=1,new t(r,e)}toString(){if(_t)return this.toBigInt().toString();if(this.isNegative()){let e=this.negate();return"-"+pg.int64toString(e.lo,e.hi)}return pg.int64toString(this.lo,this.hi)}toBigInt(){return gZ(_t),_t.V.setInt32(0,this.lo,!0),_t.V.setInt32(4,this.hi,!0),_t.V.getBigInt64(0,!0)}};Wc.PbLong=mg;mg.ZERO=new mg(0,0)});var TD=x(uf=>{"use strict";Object.defineProperty(uf,"__esModule",{value:!0});uf.BinaryReader=uf.binaryReadOptions=void 0;var lf=hg(),yg=$c(),yZ=ux(),EZ={readUnknownField:!0,readerFactory:o(t=>new hx(t),"readerFactory")};function w9e(t){return t?Object.assign(Object.assign({},EZ),t):EZ}o(w9e,"binaryReadOptions");uf.binaryReadOptions=w9e;var hx=class{static{o(this,"BinaryReader")}constructor(e,r){this.varint64=yZ.varint64read,this.uint32=yZ.varint32read,this.buf=e,this.len=e.length,this.pos=0,this.view=new DataView(e.buffer,e.byteOffset,e.byteLength),this.textDecoder=r??new TextDecoder("utf-8",{fatal:!0,ignoreBOM:!0})}tag(){let e=this.uint32(),r=e>>>3,n=e&7;if(r<=0||n<0||n>5)throw new Error("illegal tag: field no "+r+" wire type "+n);return[r,n]}skip(e){let r=this.pos;switch(e){case lf.WireType.Varint:for(;this.buf[this.pos++]&128;);break;case lf.WireType.Bit64:this.pos+=4;case lf.WireType.Bit32:this.pos+=4;break;case lf.WireType.LengthDelimited:let n=this.uint32();this.pos+=n;break;case lf.WireType.StartGroup:let i;for(;(i=this.tag()[1])!==lf.WireType.EndGroup;)this.skip(i);break;default:throw new Error("cant skip wire type "+e)}return this.assertBounds(),this.buf.subarray(r,this.pos)}assertBounds(){if(this.pos>this.len)throw new RangeError("premature EOF")}int32(){return this.uint32()|0}sint32(){let e=this.uint32();return e>>>1^-(e&1)}int64(){return new yg.PbLong(...this.varint64())}uint64(){return new yg.PbULong(...this.varint64())}sint64(){let[e,r]=this.varint64(),n=-(e&1);return e=(e>>>1|(r&1)<<31)^n,r=r>>>1^n,new yg.PbLong(e,r)}bool(){let[e,r]=this.varint64();return e!==0||r!==0}fixed32(){return this.view.getUint32((this.pos+=4)-4,!0)}sfixed32(){return this.view.getInt32((this.pos+=4)-4,!0)}fixed64(){return new yg.PbULong(this.sfixed32(),this.sfixed32())}sfixed64(){return new yg.PbLong(this.sfixed32(),this.sfixed32())}float(){return this.view.getFloat32((this.pos+=4)-4,!0)}double(){return this.view.getFloat64((this.pos+=8)-8,!0)}bytes(){let e=this.uint32(),r=this.pos;return this.pos+=e,this.assertBounds(),this.buf.subarray(r,r+e)}string(){return this.textDecoder.decode(this.bytes())}};uf.BinaryReader=hx});var Af=x(ms=>{"use strict";Object.defineProperty(ms,"__esModule",{value:!0});ms.assertFloat32=ms.assertUInt32=ms.assertInt32=ms.assertNever=ms.assert=void 0;function Q9e(t,e){if(!t)throw new Error(e)}o(Q9e,"assert");ms.assert=Q9e;function S9e(t,e){throw new Error(e??"Unexpected object: "+t)}o(S9e,"assertNever");ms.assertNever=S9e;var N9e=34028234663852886e22,v9e=-34028234663852886e22,R9e=4294967295,P9e=2147483647,_9e=-2147483648;function D9e(t){if(typeof t!="number")throw new Error("invalid int 32: "+typeof t);if(!Number.isInteger(t)||t>P9e||t<_9e)throw new Error("invalid int 32: "+t)}o(D9e,"assertInt32");ms.assertInt32=D9e;function k9e(t){if(typeof t!="number")throw new Error("invalid uint 32: "+typeof t);if(!Number.isInteger(t)||t>R9e||t<0)throw new Error("invalid uint 32: "+t)}o(k9e,"assertUInt32");ms.assertUInt32=k9e;function T9e(t){if(typeof t!="number")throw new Error("invalid float 32: "+typeof t);if(Number.isFinite(t)&&(t>N9e||t{"use strict";Object.defineProperty(ff,"__esModule",{value:!0});ff.BinaryWriter=ff.binaryWriteOptions=void 0;var Eg=$c(),bg=ux(),df=Af(),bZ={writeUnknownFields:!0,writerFactory:o(()=>new px,"writerFactory")};function O9e(t){return t?Object.assign(Object.assign({},bZ),t):bZ}o(O9e,"binaryWriteOptions");ff.binaryWriteOptions=O9e;var px=class{static{o(this,"BinaryWriter")}constructor(e){this.stack=[],this.textEncoder=e??new TextEncoder,this.chunks=[],this.buf=[]}finish(){this.chunks.push(new Uint8Array(this.buf));let e=0;for(let i=0;i>>0)}raw(e){return this.buf.length&&(this.chunks.push(new Uint8Array(this.buf)),this.buf=[]),this.chunks.push(e),this}uint32(e){for(df.assertUInt32(e);e>127;)this.buf.push(e&127|128),e=e>>>7;return this.buf.push(e),this}int32(e){return df.assertInt32(e),bg.varint32write(e,this.buf),this}bool(e){return this.buf.push(e?1:0),this}bytes(e){return this.uint32(e.byteLength),this.raw(e)}string(e){let r=this.textEncoder.encode(e);return this.uint32(r.byteLength),this.raw(r)}float(e){df.assertFloat32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setFloat32(0,e,!0),this.raw(r)}double(e){let r=new Uint8Array(8);return new DataView(r.buffer).setFloat64(0,e,!0),this.raw(r)}fixed32(e){df.assertUInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setUint32(0,e,!0),this.raw(r)}sfixed32(e){df.assertInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setInt32(0,e,!0),this.raw(r)}sint32(e){return df.assertInt32(e),e=(e<<1^e>>31)>>>0,bg.varint32write(e,this.buf),this}sfixed64(e){let r=new Uint8Array(8),n=new DataView(r.buffer),i=Eg.PbLong.from(e);return n.setInt32(0,i.lo,!0),n.setInt32(4,i.hi,!0),this.raw(r)}fixed64(e){let r=new Uint8Array(8),n=new DataView(r.buffer),i=Eg.PbULong.from(e);return n.setInt32(0,i.lo,!0),n.setInt32(4,i.hi,!0),this.raw(r)}int64(e){let r=Eg.PbLong.from(e);return bg.varint64write(r.lo,r.hi,this.buf),this}sint64(e){let r=Eg.PbLong.from(e),n=r.hi>>31,i=r.lo<<1^n,s=(r.hi<<1|r.lo>>>31)^n;return bg.varint64write(i,s,this.buf),this}uint64(e){let r=Eg.PbULong.from(e);return bg.varint64write(r.lo,r.hi,this.buf),this}};ff.BinaryWriter=px});var MD=x(Xc=>{"use strict";Object.defineProperty(Xc,"__esModule",{value:!0});Xc.mergeJsonOptions=Xc.jsonWriteOptions=Xc.jsonReadOptions=void 0;var CZ={emitDefaultValues:!1,enumAsInteger:!1,useProtoFieldName:!1,prettySpaces:0},xZ={ignoreUnknownFields:!1};function M9e(t){return t?Object.assign(Object.assign({},xZ),t):xZ}o(M9e,"jsonReadOptions");Xc.jsonReadOptions=M9e;function L9e(t){return t?Object.assign(Object.assign({},CZ),t):CZ}o(L9e,"jsonWriteOptions");Xc.jsonWriteOptions=L9e;function U9e(t,e){var r,n;let i=Object.assign(Object.assign({},t),e);return i.typeRegistry=[...(r=t?.typeRegistry)!==null&&r!==void 0?r:[],...(n=e?.typeRegistry)!==null&&n!==void 0?n:[]],i}o(U9e,"mergeJsonOptions");Xc.mergeJsonOptions=U9e});var Cg=x(gx=>{"use strict";Object.defineProperty(gx,"__esModule",{value:!0});gx.MESSAGE_TYPE=void 0;gx.MESSAGE_TYPE=Symbol.for("protobuf-ts/message-type")});var LD=x(mx=>{"use strict";Object.defineProperty(mx,"__esModule",{value:!0});mx.lowerCamelCase=void 0;function F9e(t){let e=!1,r=[];for(let n=0;n{"use strict";Object.defineProperty(Ur,"__esModule",{value:!0});Ur.readMessageOption=Ur.readFieldOption=Ur.readFieldOptions=Ur.normalizeFieldInfo=Ur.RepeatType=Ur.LongType=Ur.ScalarType=void 0;var IZ=LD(),H9e;(function(t){t[t.DOUBLE=1]="DOUBLE",t[t.FLOAT=2]="FLOAT",t[t.INT64=3]="INT64",t[t.UINT64=4]="UINT64",t[t.INT32=5]="INT32",t[t.FIXED64=6]="FIXED64",t[t.FIXED32=7]="FIXED32",t[t.BOOL=8]="BOOL",t[t.STRING=9]="STRING",t[t.BYTES=12]="BYTES",t[t.UINT32=13]="UINT32",t[t.SFIXED32=15]="SFIXED32",t[t.SFIXED64=16]="SFIXED64",t[t.SINT32=17]="SINT32",t[t.SINT64=18]="SINT64"})(H9e=Ur.ScalarType||(Ur.ScalarType={}));var q9e;(function(t){t[t.BIGINT=0]="BIGINT",t[t.STRING=1]="STRING",t[t.NUMBER=2]="NUMBER"})(q9e=Ur.LongType||(Ur.LongType={}));var BZ;(function(t){t[t.NO=0]="NO",t[t.PACKED=1]="PACKED",t[t.UNPACKED=2]="UNPACKED"})(BZ=Ur.RepeatType||(Ur.RepeatType={}));function z9e(t){var e,r,n,i;return t.localName=(e=t.localName)!==null&&e!==void 0?e:IZ.lowerCamelCase(t.name),t.jsonName=(r=t.jsonName)!==null&&r!==void 0?r:IZ.lowerCamelCase(t.name),t.repeat=(n=t.repeat)!==null&&n!==void 0?n:BZ.NO,t.opt=(i=t.opt)!==null&&i!==void 0?i:t.repeat||t.oneof?!1:t.kind=="message",t}o(z9e,"normalizeFieldInfo");Ur.normalizeFieldInfo=z9e;function G9e(t,e,r,n){var i;let s=(i=t.fields.find((a,c)=>a.localName==e||c==e))===null||i===void 0?void 0:i.options;return s&&s[r]?n.fromJson(s[r]):void 0}o(G9e,"readFieldOptions");Ur.readFieldOptions=G9e;function j9e(t,e,r,n){var i;let s=(i=t.fields.find((c,l)=>c.localName==e||l==e))===null||i===void 0?void 0:i.options;if(!s)return;let a=s[r];return a===void 0?a:n?n.fromJson(a):a}o(j9e,"readFieldOption");Ur.readFieldOption=j9e;function Y9e(t,e,r){let i=t.options[e];return i===void 0?i:r?r.fromJson(i):i}o(Y9e,"readMessageOption");Ur.readMessageOption=Y9e});var UD=x(ci=>{"use strict";Object.defineProperty(ci,"__esModule",{value:!0});ci.getSelectedOneofValue=ci.clearOneofValue=ci.setUnknownOneofValue=ci.setOneofValue=ci.getOneofValue=ci.isOneofGroup=void 0;function K9e(t){if(typeof t!="object"||t===null||!t.hasOwnProperty("oneofKind"))return!1;switch(typeof t.oneofKind){case"string":return t[t.oneofKind]===void 0?!1:Object.keys(t).length==2;case"undefined":return Object.keys(t).length==1;default:return!1}}o(K9e,"isOneofGroup");ci.isOneofGroup=K9e;function J9e(t,e){return t[e]}o(J9e,"getOneofValue");ci.getOneofValue=J9e;function V9e(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&(t[e]=r)}o(V9e,"setOneofValue");ci.setOneofValue=V9e;function W9e(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&e!==void 0&&(t[e]=r)}o(W9e,"setUnknownOneofValue");ci.setUnknownOneofValue=W9e;function $9e(t){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=void 0}o($9e,"clearOneofValue");ci.clearOneofValue=$9e;function X9e(t){if(t.oneofKind!==void 0)return t[t.oneofKind]}o(X9e,"getSelectedOneofValue");ci.getSelectedOneofValue=X9e});var HD=x(yx=>{"use strict";Object.defineProperty(yx,"__esModule",{value:!0});yx.ReflectionTypeCheck=void 0;var pr=js(),Z9e=UD(),FD=class{static{o(this,"ReflectionTypeCheck")}constructor(e){var r;this.fields=(r=e.fields)!==null&&r!==void 0?r:[]}prepare(){if(this.data)return;let e=[],r=[],n=[];for(let i of this.fields)if(i.oneof)n.includes(i.oneof)||(n.push(i.oneof),e.push(i.oneof),r.push(i.oneof));else switch(r.push(i.localName),i.kind){case"scalar":case"enum":(!i.opt||i.repeat)&&e.push(i.localName);break;case"message":i.repeat&&e.push(i.localName);break;case"map":e.push(i.localName);break}this.data={req:e,known:r,oneofs:Object.values(n)}}is(e,r,n=!1){if(r<0)return!0;if(e==null||typeof e!="object")return!1;this.prepare();let i=Object.keys(e),s=this.data;if(i.length!i.includes(a))||!n&&i.some(a=>!s.known.includes(a)))return!1;if(r<1)return!0;for(let a of s.oneofs){let c=e[a];if(!Z9e.isOneofGroup(c))return!1;if(c.oneofKind===void 0)continue;let l=this.fields.find(u=>u.localName===c.oneofKind);if(!l||!this.field(c[c.oneofKind],l,n,r))return!1}for(let a of this.fields)if(a.oneof===void 0&&!this.field(e[a.localName],a,n,r))return!1;return!0}field(e,r,n,i){let s=r.repeat;switch(r.kind){case"scalar":return e===void 0?r.opt:s?this.scalars(e,r.T,i,r.L):this.scalar(e,r.T,r.L);case"enum":return e===void 0?r.opt:s?this.scalars(e,pr.ScalarType.INT32,i):this.scalar(e,pr.ScalarType.INT32);case"message":return e===void 0?!0:s?this.messages(e,r.T(),n,i):this.message(e,r.T(),n,i);case"map":if(typeof e!="object"||e===null)return!1;if(i<2)return!0;if(!this.mapKeys(e,r.K,i))return!1;switch(r.V.kind){case"scalar":return this.scalars(Object.values(e),r.V.T,i,r.V.L);case"enum":return this.scalars(Object.values(e),pr.ScalarType.INT32,i);case"message":return this.messages(Object.values(e),r.V.T(),n,i)}break}return!0}message(e,r,n,i){return n?r.isAssignable(e,i):r.is(e,i)}messages(e,r,n,i){if(!Array.isArray(e))return!1;if(i<2)return!0;if(n){for(let s=0;sparseInt(s)),r,n);case pr.ScalarType.BOOL:return this.scalars(i.slice(0,n).map(s=>s=="true"?!0:s=="false"?!1:s),r,n);default:return this.scalars(i,r,n,pr.LongType.STRING)}}};yx.ReflectionTypeCheck=FD});var bx=x(Ex=>{"use strict";Object.defineProperty(Ex,"__esModule",{value:!0});Ex.reflectionLongConvert=void 0;var wZ=js();function eze(t,e){switch(e){case wZ.LongType.BIGINT:return t.toBigInt();case wZ.LongType.NUMBER:return t.toNumber();default:return t.toString()}}o(eze,"reflectionLongConvert");Ex.reflectionLongConvert=eze});var zD=x(Ix=>{"use strict";Object.defineProperty(Ix,"__esModule",{value:!0});Ix.ReflectionJsonReader=void 0;var QZ=sx(),tze=ax(),Fr=js(),Cx=$c(),Bu=Af(),xx=bx(),qD=class{static{o(this,"ReflectionJsonReader")}constructor(e){this.info=e}prepare(){var e;if(this.fMap===void 0){this.fMap={};let r=(e=this.info.fields)!==null&&e!==void 0?e:[];for(let n of r)this.fMap[n.name]=n,this.fMap[n.jsonName]=n,this.fMap[n.localName]=n}}assert(e,r,n){if(!e){let i=QZ.typeofJsonValue(n);throw(i=="number"||i=="boolean")&&(i=n.toString()),new Error(`Cannot parse JSON ${i} for ${this.info.typeName}#${r}`)}}read(e,r,n){this.prepare();let i=[];for(let[s,a]of Object.entries(e)){let c=this.fMap[s];if(!c){if(!n.ignoreUnknownFields)throw new Error(`Found unknown field while reading ${this.info.typeName} from JSON format. JSON key: ${s}`);continue}let l=c.localName,u;if(c.oneof){if(a===null&&(c.kind!=="enum"||c.T()[0]!=="google.protobuf.NullValue"))continue;if(i.includes(c.oneof))throw new Error(`Multiple members of the oneof group "${c.oneof}" of ${this.info.typeName} are present in JSON.`);i.push(c.oneof),u=r[c.oneof]={oneofKind:l}}else u=r;if(c.kind=="map"){if(a===null)continue;this.assert(QZ.isJsonObject(a),c.name,a);let A=u[l];for(let[d,f]of Object.entries(a)){this.assert(f!==null,c.name+" map value",null);let h;switch(c.V.kind){case"message":h=c.V.T().internalJsonRead(f,n);break;case"enum":if(h=this.enum(c.V.T(),f,c.name,n.ignoreUnknownFields),h===!1)continue;break;case"scalar":h=this.scalar(f,c.V.T,c.V.L,c.name);break}this.assert(h!==void 0,c.name+" map value",f);let g=d;c.K==Fr.ScalarType.BOOL&&(g=g=="true"?!0:g=="false"?!1:g),g=this.scalar(g,c.K,Fr.LongType.STRING,c.name).toString(),A[g]=h}}else if(c.repeat){if(a===null)continue;this.assert(Array.isArray(a),c.name,a);let A=u[l];for(let d of a){this.assert(d!==null,c.name,null);let f;switch(c.kind){case"message":f=c.T().internalJsonRead(d,n);break;case"enum":if(f=this.enum(c.T(),d,c.name,n.ignoreUnknownFields),f===!1)continue;break;case"scalar":f=this.scalar(d,c.T,c.L,c.name);break}this.assert(f!==void 0,c.name,a),A.push(f)}}else switch(c.kind){case"message":if(a===null&&c.T().typeName!="google.protobuf.Value"){this.assert(c.oneof===void 0,c.name+" (oneof member)",null);continue}u[l]=c.T().internalJsonRead(a,n,u[l]);break;case"enum":if(a===null)continue;let A=this.enum(c.T(),a,c.name,n.ignoreUnknownFields);if(A===!1)continue;u[l]=A;break;case"scalar":if(a===null)continue;u[l]=this.scalar(a,c.T,c.L,c.name);break}}}enum(e,r,n,i){if(e[0]=="google.protobuf.NullValue"&&Bu.assert(r===null||r==="NULL_VALUE",`Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} only accepts null.`),r===null)return 0;switch(typeof r){case"number":return Bu.assert(Number.isInteger(r),`Unable to parse field ${this.info.typeName}#${n}, enum can only be integral number, got ${r}.`),r;case"string":let s=r;e[2]&&r.substring(0,e[2].length)===e[2]&&(s=r.substring(e[2].length));let a=e[1][s];return typeof a>"u"&&i?!1:(Bu.assert(typeof a=="number",`Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} has no value for "${r}".`),a)}Bu.assert(!1,`Unable to parse field ${this.info.typeName}#${n}, cannot parse enum value from ${typeof r}".`)}scalar(e,r,n,i){let s;try{switch(r){case Fr.ScalarType.DOUBLE:case Fr.ScalarType.FLOAT:if(e===null)return 0;if(e==="NaN")return Number.NaN;if(e==="Infinity")return Number.POSITIVE_INFINITY;if(e==="-Infinity")return Number.NEGATIVE_INFINITY;if(e===""){s="empty string";break}if(typeof e=="string"&&e.trim().length!==e.length){s="extra whitespace";break}if(typeof e!="string"&&typeof e!="number")break;let a=Number(e);if(Number.isNaN(a)){s="not a number";break}if(!Number.isFinite(a)){s="too large or small";break}return r==Fr.ScalarType.FLOAT&&Bu.assertFloat32(a),a;case Fr.ScalarType.INT32:case Fr.ScalarType.FIXED32:case Fr.ScalarType.SFIXED32:case Fr.ScalarType.SINT32:case Fr.ScalarType.UINT32:if(e===null)return 0;let c;if(typeof e=="number"?c=e:e===""?s="empty string":typeof e=="string"&&(e.trim().length!==e.length?s="extra whitespace":c=Number(e)),c===void 0)break;return r==Fr.ScalarType.UINT32?Bu.assertUInt32(c):Bu.assertInt32(c),c;case Fr.ScalarType.INT64:case Fr.ScalarType.SFIXED64:case Fr.ScalarType.SINT64:if(e===null)return xx.reflectionLongConvert(Cx.PbLong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return xx.reflectionLongConvert(Cx.PbLong.from(e),n);case Fr.ScalarType.FIXED64:case Fr.ScalarType.UINT64:if(e===null)return xx.reflectionLongConvert(Cx.PbULong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return xx.reflectionLongConvert(Cx.PbULong.from(e),n);case Fr.ScalarType.BOOL:if(e===null)return!1;if(typeof e!="boolean")break;return e;case Fr.ScalarType.STRING:if(e===null)return"";if(typeof e!="string"){s="extra whitespace";break}try{encodeURIComponent(e)}catch(l){l="invalid UTF8";break}return e;case Fr.ScalarType.BYTES:if(e===null||e==="")return new Uint8Array(0);if(typeof e!="string")break;return tze.base64decode(e)}}catch(a){s=a.message}this.assert(!1,i+(s?" - "+s:""),e)}};Ix.ReflectionJsonReader=qD});var jD=x(Bx=>{"use strict";Object.defineProperty(Bx,"__esModule",{value:!0});Bx.ReflectionJsonWriter=void 0;var rze=ax(),SZ=$c(),Ln=js(),er=Af(),GD=class{static{o(this,"ReflectionJsonWriter")}constructor(e){var r;this.fields=(r=e.fields)!==null&&r!==void 0?r:[]}write(e,r){let n={},i=e;for(let s of this.fields){if(!s.oneof){let u=this.field(s,i[s.localName],r);u!==void 0&&(n[r.useProtoFieldName?s.name:s.jsonName]=u);continue}let a=i[s.oneof];if(a.oneofKind!==s.localName)continue;let c=s.kind=="scalar"||s.kind=="enum"?Object.assign(Object.assign({},r),{emitDefaultValues:!0}):r,l=this.field(s,a[s.localName],c);er.assert(l!==void 0),n[r.useProtoFieldName?s.name:s.jsonName]=l}return n}field(e,r,n){let i;if(e.kind=="map"){er.assert(typeof r=="object"&&r!==null);let s={};switch(e.V.kind){case"scalar":for(let[l,u]of Object.entries(r)){let A=this.scalar(e.V.T,u,e.name,!1,!0);er.assert(A!==void 0),s[l.toString()]=A}break;case"message":let a=e.V.T();for(let[l,u]of Object.entries(r)){let A=this.message(a,u,e.name,n);er.assert(A!==void 0),s[l.toString()]=A}break;case"enum":let c=e.V.T();for(let[l,u]of Object.entries(r)){er.assert(u===void 0||typeof u=="number");let A=this.enum(c,u,e.name,!1,!0,n.enumAsInteger);er.assert(A!==void 0),s[l.toString()]=A}break}(n.emitDefaultValues||Object.keys(s).length>0)&&(i=s)}else if(e.repeat){er.assert(Array.isArray(r));let s=[];switch(e.kind){case"scalar":for(let l=0;l0||n.emitDefaultValues)&&(i=s)}else switch(e.kind){case"scalar":i=this.scalar(e.T,r,e.name,e.opt,n.emitDefaultValues);break;case"enum":i=this.enum(e.T(),r,e.name,e.opt,n.emitDefaultValues,n.enumAsInteger);break;case"message":i=this.message(e.T(),r,e.name,n);break}return i}enum(e,r,n,i,s,a){if(e[0]=="google.protobuf.NullValue")return!s&&!i?void 0:null;if(r===void 0){er.assert(i);return}if(!(r===0&&!s&&!i))return er.assert(typeof r=="number"),er.assert(Number.isInteger(r)),a||!e[1].hasOwnProperty(r)?r:e[2]?e[2]+e[1][r]:e[1][r]}message(e,r,n,i){return r===void 0?i.emitDefaultValues?null:void 0:e.internalJsonWrite(r,i)}scalar(e,r,n,i,s){if(r===void 0){er.assert(i);return}let a=s||i;switch(e){case Ln.ScalarType.INT32:case Ln.ScalarType.SFIXED32:case Ln.ScalarType.SINT32:return r===0?a?0:void 0:(er.assertInt32(r),r);case Ln.ScalarType.FIXED32:case Ln.ScalarType.UINT32:return r===0?a?0:void 0:(er.assertUInt32(r),r);case Ln.ScalarType.FLOAT:er.assertFloat32(r);case Ln.ScalarType.DOUBLE:return r===0?a?0:void 0:(er.assert(typeof r=="number"),Number.isNaN(r)?"NaN":r===Number.POSITIVE_INFINITY?"Infinity":r===Number.NEGATIVE_INFINITY?"-Infinity":r);case Ln.ScalarType.STRING:return r===""?a?"":void 0:(er.assert(typeof r=="string"),r);case Ln.ScalarType.BOOL:return r===!1?a?!1:void 0:(er.assert(typeof r=="boolean"),r);case Ln.ScalarType.UINT64:case Ln.ScalarType.FIXED64:er.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let c=SZ.PbULong.from(r);return c.isZero()&&!a?void 0:c.toString();case Ln.ScalarType.INT64:case Ln.ScalarType.SFIXED64:case Ln.ScalarType.SINT64:er.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let l=SZ.PbLong.from(r);return l.isZero()&&!a?void 0:l.toString();case Ln.ScalarType.BYTES:return er.assert(r instanceof Uint8Array),r.byteLength?rze.base64encode(r):a?"":void 0}}};Bx.ReflectionJsonWriter=GD});var Qx=x(wx=>{"use strict";Object.defineProperty(wx,"__esModule",{value:!0});wx.reflectionScalarDefault=void 0;var Ys=js(),NZ=bx(),vZ=$c();function nze(t,e=Ys.LongType.STRING){switch(t){case Ys.ScalarType.BOOL:return!1;case Ys.ScalarType.UINT64:case Ys.ScalarType.FIXED64:return NZ.reflectionLongConvert(vZ.PbULong.ZERO,e);case Ys.ScalarType.INT64:case Ys.ScalarType.SFIXED64:case Ys.ScalarType.SINT64:return NZ.reflectionLongConvert(vZ.PbLong.ZERO,e);case Ys.ScalarType.DOUBLE:case Ys.ScalarType.FLOAT:return 0;case Ys.ScalarType.BYTES:return new Uint8Array(0);case Ys.ScalarType.STRING:return"";default:return 0}}o(nze,"reflectionScalarDefault");wx.reflectionScalarDefault=nze});var KD=x(Sx=>{"use strict";Object.defineProperty(Sx,"__esModule",{value:!0});Sx.ReflectionBinaryReader=void 0;var RZ=hg(),Ir=js(),xg=bx(),PZ=Qx(),YD=class{static{o(this,"ReflectionBinaryReader")}constructor(e){this.info=e}prepare(){var e;if(!this.fieldNoToField){let r=(e=this.info.fields)!==null&&e!==void 0?e:[];this.fieldNoToField=new Map(r.map(n=>[n.no,n]))}}read(e,r,n,i){this.prepare();let s=i===void 0?e.len:e.pos+i;for(;e.pos{"use strict";Object.defineProperty(Nx,"__esModule",{value:!0});Nx.ReflectionBinaryWriter=void 0;var qi=hg(),Lt=js(),hf=Af(),Ig=$c(),JD=class{static{o(this,"ReflectionBinaryWriter")}constructor(e){this.info=e}prepare(){if(!this.fields){let e=this.info.fields?this.info.fields.concat():[];this.fields=e.sort((r,n)=>r.no-n.no)}}write(e,r,n){this.prepare();for(let s of this.fields){let a,c,l=s.repeat,u=s.localName;if(s.oneof){let A=e[s.oneof];if(A.oneofKind!==u)continue;a=A[u],c=!0}else a=e[u],c=!1;switch(s.kind){case"scalar":case"enum":let A=s.kind=="enum"?Lt.ScalarType.INT32:s.T;if(l)if(hf.assert(Array.isArray(a)),l==Lt.RepeatType.PACKED)this.packed(r,A,s.no,a);else for(let d of a)this.scalar(r,A,s.no,d,!0);else a===void 0?hf.assert(s.opt):this.scalar(r,A,s.no,a,c||s.opt);break;case"message":if(l){hf.assert(Array.isArray(a));for(let d of a)this.message(r,n,s.T(),s.no,d)}else this.message(r,n,s.T(),s.no,a);break;case"map":hf.assert(typeof a=="object"&&a!==null);for(let[d,f]of Object.entries(a))this.mapEntry(r,n,s,d,f);break}}let i=n.writeUnknownFields;i!==!1&&(i===!0?qi.UnknownFieldHandler.onWrite:i)(this.info.typeName,e,r)}mapEntry(e,r,n,i,s){e.tag(n.no,qi.WireType.LengthDelimited),e.fork();let a=i;switch(n.K){case Lt.ScalarType.INT32:case Lt.ScalarType.FIXED32:case Lt.ScalarType.UINT32:case Lt.ScalarType.SFIXED32:case Lt.ScalarType.SINT32:a=Number.parseInt(i);break;case Lt.ScalarType.BOOL:hf.assert(i=="true"||i=="false"),a=i=="true";break}switch(this.scalar(e,n.K,1,a,!0),n.V.kind){case"scalar":this.scalar(e,n.V.T,2,s,!0);break;case"enum":this.scalar(e,Lt.ScalarType.INT32,2,s,!0);break;case"message":this.message(e,r,n.V.T(),2,s);break}e.join()}message(e,r,n,i,s){s!==void 0&&(n.internalBinaryWrite(s,e.tag(i,qi.WireType.LengthDelimited).fork(),r),e.join())}scalar(e,r,n,i,s){let[a,c,l]=this.scalarInfo(r,i);(!l||s)&&(e.tag(n,a),e[c](i))}packed(e,r,n,i){if(!i.length)return;hf.assert(r!==Lt.ScalarType.BYTES&&r!==Lt.ScalarType.STRING),e.tag(n,qi.WireType.LengthDelimited),e.fork();let[,s]=this.scalarInfo(r);for(let a=0;a{"use strict";Object.defineProperty(vx,"__esModule",{value:!0});vx.reflectionCreate=void 0;var ize=Qx(),sze=Cg();function oze(t){let e=t.messagePrototype?Object.create(t.messagePrototype):Object.defineProperty({},sze.MESSAGE_TYPE,{value:t});for(let r of t.fields){let n=r.localName;if(!r.opt)if(r.oneof)e[r.oneof]={oneofKind:void 0};else if(r.repeat)e[n]=[];else switch(r.kind){case"scalar":e[n]=ize.reflectionScalarDefault(r.T,r.L);break;case"enum":e[n]=0;break;case"map":e[n]={};break}}return e}o(oze,"reflectionCreate");vx.reflectionCreate=oze});var $D=x(Rx=>{"use strict";Object.defineProperty(Rx,"__esModule",{value:!0});Rx.reflectionMergePartial=void 0;function aze(t,e,r){let n,i=r,s;for(let a of t.fields){let c=a.localName;if(a.oneof){let l=i[a.oneof];if(l?.oneofKind==null)continue;if(n=l[c],s=e[a.oneof],s.oneofKind=l.oneofKind,n==null){delete s[c];continue}}else if(n=i[c],s=e,n==null)continue;switch(a.repeat&&(s[c].length=n.length),a.kind){case"scalar":case"enum":if(a.repeat)for(let u=0;u{"use strict";Object.defineProperty(_x,"__esModule",{value:!0});_x.reflectionEquals=void 0;var XD=js();function cze(t,e,r){if(e===r)return!0;if(!e||!r)return!1;for(let n of t.fields){let i=n.localName,s=n.oneof?e[n.oneof][i]:e[i],a=n.oneof?r[n.oneof][i]:r[i];switch(n.kind){case"enum":case"scalar":let c=n.kind=="enum"?XD.ScalarType.INT32:n.T;if(!(n.repeat?_Z(c,s,a):kZ(c,s,a)))return!1;break;case"map":if(!(n.V.kind=="message"?DZ(n.V.T(),Px(s),Px(a)):_Z(n.V.kind=="enum"?XD.ScalarType.INT32:n.V.T,Px(s),Px(a))))return!1;break;case"message":let l=n.T();if(!(n.repeat?DZ(l,s,a):l.equals(s,a)))return!1;break}}return!0}o(cze,"reflectionEquals");_x.reflectionEquals=cze;var Px=Object.values;function kZ(t,e,r){if(e===r)return!0;if(t!==XD.ScalarType.BYTES)return!1;let n=e,i=r;if(n.length!==i.length)return!1;for(let s=0;s{"use strict";Object.defineProperty(Dx,"__esModule",{value:!0});Dx.MessageType=void 0;var lze=Cg(),uze=js(),Aze=HD(),dze=zD(),fze=jD(),hze=KD(),pze=VD(),gze=WD(),ek=$D(),mze=sx(),TZ=MD(),yze=ZD(),Eze=OD(),bze=TD(),OZ=Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})),Cze=OZ[lze.MESSAGE_TYPE]={},tk=class{static{o(this,"MessageType")}constructor(e,r,n){this.defaultCheckDepth=16,this.typeName=e,this.fields=r.map(uze.normalizeFieldInfo),this.options=n??{},Cze.value=this,this.messagePrototype=Object.create(null,OZ),this.refTypeCheck=new Aze.ReflectionTypeCheck(this),this.refJsonReader=new dze.ReflectionJsonReader(this),this.refJsonWriter=new fze.ReflectionJsonWriter(this),this.refBinReader=new hze.ReflectionBinaryReader(this),this.refBinWriter=new pze.ReflectionBinaryWriter(this)}create(e){let r=gze.reflectionCreate(this);return e!==void 0&&ek.reflectionMergePartial(this,r,e),r}clone(e){let r=this.create();return ek.reflectionMergePartial(this,r,e),r}equals(e,r){return yze.reflectionEquals(this,e,r)}is(e,r=this.defaultCheckDepth){return this.refTypeCheck.is(e,r,!1)}isAssignable(e,r=this.defaultCheckDepth){return this.refTypeCheck.is(e,r,!0)}mergePartial(e,r){ek.reflectionMergePartial(this,e,r)}fromBinary(e,r){let n=bze.binaryReadOptions(r);return this.internalBinaryRead(n.readerFactory(e),e.byteLength,n)}fromJson(e,r){return this.internalJsonRead(e,TZ.jsonReadOptions(r))}fromJsonString(e,r){let n=JSON.parse(e);return this.fromJson(n,r)}toJson(e,r){return this.internalJsonWrite(e,TZ.jsonWriteOptions(r))}toJsonString(e,r){var n;let i=this.toJson(e,r);return JSON.stringify(i,null,(n=r?.prettySpaces)!==null&&n!==void 0?n:0)}toBinary(e,r){let n=Eze.binaryWriteOptions(r);return this.internalBinaryWrite(e,n.writerFactory(),n).finish()}internalJsonRead(e,r,n){if(e!==null&&typeof e=="object"&&!Array.isArray(e)){let i=n??this.create();return this.refJsonReader.read(e,i,r),i}throw new Error(`Unable to parse message ${this.typeName} from JSON ${mze.typeofJsonValue(e)}.`)}internalJsonWrite(e,r){return this.refJsonWriter.write(e,r)}internalBinaryWrite(e,r,n){return this.refBinWriter.write(e,r,n),r}internalBinaryRead(e,r,n,i){let s=i??this.create();return this.refBinReader.read(e,s,n,r),s}};Dx.MessageType=tk});var LZ=x(kx=>{"use strict";Object.defineProperty(kx,"__esModule",{value:!0});kx.containsMessageType=void 0;var xze=Cg();function Ize(t){return t[xze.MESSAGE_TYPE]!=null}o(Ize,"containsMessageType");kx.containsMessageType=Ize});var FZ=x(Lo=>{"use strict";Object.defineProperty(Lo,"__esModule",{value:!0});Lo.listEnumNumbers=Lo.listEnumNames=Lo.listEnumValues=Lo.isEnumObject=void 0;function UZ(t){if(typeof t!="object"||t===null||!t.hasOwnProperty(0))return!1;for(let e of Object.keys(t)){let r=parseInt(e);if(Number.isNaN(r)){let n=t[e];if(n===void 0||typeof n!="number"||t[n]===void 0)return!1}else{let n=t[r];if(n===void 0||t[n]!==r)return!1}}return!0}o(UZ,"isEnumObject");Lo.isEnumObject=UZ;function rk(t){if(!UZ(t))throw new Error("not a typescript enum object");let e=[];for(let[r,n]of Object.entries(t))typeof n=="number"&&e.push({name:r,number:n});return e}o(rk,"listEnumValues");Lo.listEnumValues=rk;function Bze(t){return rk(t).map(e=>e.name)}o(Bze,"listEnumNames");Lo.listEnumNames=Bze;function wze(t){return rk(t).map(e=>e.number).filter((e,r,n)=>n.indexOf(e)==r)}o(wze,"listEnumNumbers");Lo.listEnumNumbers=wze});var Br=x(ke=>{"use strict";Object.defineProperty(ke,"__esModule",{value:!0});var HZ=sx();Object.defineProperty(ke,"typeofJsonValue",{enumerable:!0,get:o(function(){return HZ.typeofJsonValue},"get")});Object.defineProperty(ke,"isJsonObject",{enumerable:!0,get:o(function(){return HZ.isJsonObject},"get")});var qZ=ax();Object.defineProperty(ke,"base64decode",{enumerable:!0,get:o(function(){return qZ.base64decode},"get")});Object.defineProperty(ke,"base64encode",{enumerable:!0,get:o(function(){return qZ.base64encode},"get")});var Qze=hZ();Object.defineProperty(ke,"utf8read",{enumerable:!0,get:o(function(){return Qze.utf8read},"get")});var nk=hg();Object.defineProperty(ke,"WireType",{enumerable:!0,get:o(function(){return nk.WireType},"get")});Object.defineProperty(ke,"mergeBinaryOptions",{enumerable:!0,get:o(function(){return nk.mergeBinaryOptions},"get")});Object.defineProperty(ke,"UnknownFieldHandler",{enumerable:!0,get:o(function(){return nk.UnknownFieldHandler},"get")});var zZ=TD();Object.defineProperty(ke,"BinaryReader",{enumerable:!0,get:o(function(){return zZ.BinaryReader},"get")});Object.defineProperty(ke,"binaryReadOptions",{enumerable:!0,get:o(function(){return zZ.binaryReadOptions},"get")});var GZ=OD();Object.defineProperty(ke,"BinaryWriter",{enumerable:!0,get:o(function(){return GZ.BinaryWriter},"get")});Object.defineProperty(ke,"binaryWriteOptions",{enumerable:!0,get:o(function(){return GZ.binaryWriteOptions},"get")});var jZ=$c();Object.defineProperty(ke,"PbLong",{enumerable:!0,get:o(function(){return jZ.PbLong},"get")});Object.defineProperty(ke,"PbULong",{enumerable:!0,get:o(function(){return jZ.PbULong},"get")});var ik=MD();Object.defineProperty(ke,"jsonReadOptions",{enumerable:!0,get:o(function(){return ik.jsonReadOptions},"get")});Object.defineProperty(ke,"jsonWriteOptions",{enumerable:!0,get:o(function(){return ik.jsonWriteOptions},"get")});Object.defineProperty(ke,"mergeJsonOptions",{enumerable:!0,get:o(function(){return ik.mergeJsonOptions},"get")});var Sze=Cg();Object.defineProperty(ke,"MESSAGE_TYPE",{enumerable:!0,get:o(function(){return Sze.MESSAGE_TYPE},"get")});var Nze=MZ();Object.defineProperty(ke,"MessageType",{enumerable:!0,get:o(function(){return Nze.MessageType},"get")});var wu=js();Object.defineProperty(ke,"ScalarType",{enumerable:!0,get:o(function(){return wu.ScalarType},"get")});Object.defineProperty(ke,"LongType",{enumerable:!0,get:o(function(){return wu.LongType},"get")});Object.defineProperty(ke,"RepeatType",{enumerable:!0,get:o(function(){return wu.RepeatType},"get")});Object.defineProperty(ke,"normalizeFieldInfo",{enumerable:!0,get:o(function(){return wu.normalizeFieldInfo},"get")});Object.defineProperty(ke,"readFieldOptions",{enumerable:!0,get:o(function(){return wu.readFieldOptions},"get")});Object.defineProperty(ke,"readFieldOption",{enumerable:!0,get:o(function(){return wu.readFieldOption},"get")});Object.defineProperty(ke,"readMessageOption",{enumerable:!0,get:o(function(){return wu.readMessageOption},"get")});var vze=HD();Object.defineProperty(ke,"ReflectionTypeCheck",{enumerable:!0,get:o(function(){return vze.ReflectionTypeCheck},"get")});var Rze=WD();Object.defineProperty(ke,"reflectionCreate",{enumerable:!0,get:o(function(){return Rze.reflectionCreate},"get")});var Pze=Qx();Object.defineProperty(ke,"reflectionScalarDefault",{enumerable:!0,get:o(function(){return Pze.reflectionScalarDefault},"get")});var _ze=$D();Object.defineProperty(ke,"reflectionMergePartial",{enumerable:!0,get:o(function(){return _ze.reflectionMergePartial},"get")});var Dze=ZD();Object.defineProperty(ke,"reflectionEquals",{enumerable:!0,get:o(function(){return Dze.reflectionEquals},"get")});var kze=KD();Object.defineProperty(ke,"ReflectionBinaryReader",{enumerable:!0,get:o(function(){return kze.ReflectionBinaryReader},"get")});var Tze=VD();Object.defineProperty(ke,"ReflectionBinaryWriter",{enumerable:!0,get:o(function(){return Tze.ReflectionBinaryWriter},"get")});var Oze=zD();Object.defineProperty(ke,"ReflectionJsonReader",{enumerable:!0,get:o(function(){return Oze.ReflectionJsonReader},"get")});var Mze=jD();Object.defineProperty(ke,"ReflectionJsonWriter",{enumerable:!0,get:o(function(){return Mze.ReflectionJsonWriter},"get")});var Lze=LZ();Object.defineProperty(ke,"containsMessageType",{enumerable:!0,get:o(function(){return Lze.containsMessageType},"get")});var Bg=UD();Object.defineProperty(ke,"isOneofGroup",{enumerable:!0,get:o(function(){return Bg.isOneofGroup},"get")});Object.defineProperty(ke,"setOneofValue",{enumerable:!0,get:o(function(){return Bg.setOneofValue},"get")});Object.defineProperty(ke,"getOneofValue",{enumerable:!0,get:o(function(){return Bg.getOneofValue},"get")});Object.defineProperty(ke,"clearOneofValue",{enumerable:!0,get:o(function(){return Bg.clearOneofValue},"get")});Object.defineProperty(ke,"getSelectedOneofValue",{enumerable:!0,get:o(function(){return Bg.getSelectedOneofValue},"get")});var Tx=FZ();Object.defineProperty(ke,"listEnumValues",{enumerable:!0,get:o(function(){return Tx.listEnumValues},"get")});Object.defineProperty(ke,"listEnumNames",{enumerable:!0,get:o(function(){return Tx.listEnumNames},"get")});Object.defineProperty(ke,"listEnumNumbers",{enumerable:!0,get:o(function(){return Tx.listEnumNumbers},"get")});Object.defineProperty(ke,"isEnumObject",{enumerable:!0,get:o(function(){return Tx.isEnumObject},"get")});var Uze=LD();Object.defineProperty(ke,"lowerCamelCase",{enumerable:!0,get:o(function(){return Uze.lowerCamelCase},"get")});var wg=Af();Object.defineProperty(ke,"assert",{enumerable:!0,get:o(function(){return wg.assert},"get")});Object.defineProperty(ke,"assertNever",{enumerable:!0,get:o(function(){return wg.assertNever},"get")});Object.defineProperty(ke,"assertInt32",{enumerable:!0,get:o(function(){return wg.assertInt32},"get")});Object.defineProperty(ke,"assertUInt32",{enumerable:!0,get:o(function(){return wg.assertUInt32},"get")});Object.defineProperty(ke,"assertFloat32",{enumerable:!0,get:o(function(){return wg.assertFloat32},"get")})});var sk=x(Uo=>{"use strict";Object.defineProperty(Uo,"__esModule",{value:!0});Uo.readServiceOption=Uo.readMethodOption=Uo.readMethodOptions=Uo.normalizeMethodInfo=void 0;var Fze=Br();function Hze(t,e){var r,n,i;let s=t;return s.service=e,s.localName=(r=s.localName)!==null&&r!==void 0?r:Fze.lowerCamelCase(s.name),s.serverStreaming=!!s.serverStreaming,s.clientStreaming=!!s.clientStreaming,s.options=(n=s.options)!==null&&n!==void 0?n:{},s.idempotency=(i=s.idempotency)!==null&&i!==void 0?i:void 0,s}o(Hze,"normalizeMethodInfo");Uo.normalizeMethodInfo=Hze;function qze(t,e,r,n){var i;let s=(i=t.methods.find((a,c)=>a.localName===e||c===e))===null||i===void 0?void 0:i.options;return s&&s[r]?n.fromJson(s[r]):void 0}o(qze,"readMethodOptions");Uo.readMethodOptions=qze;function zze(t,e,r,n){var i;let s=(i=t.methods.find((c,l)=>c.localName===e||l===e))===null||i===void 0?void 0:i.options;if(!s)return;let a=s[r];return a===void 0?a:n?n.fromJson(a):a}o(zze,"readMethodOption");Uo.readMethodOption=zze;function Gze(t,e,r){let n=t.options;if(!n)return;let i=n[e];return i===void 0?i:r?r.fromJson(i):i}o(Gze,"readServiceOption");Uo.readServiceOption=Gze});var YZ=x(Ox=>{"use strict";Object.defineProperty(Ox,"__esModule",{value:!0});Ox.ServiceType=void 0;var jze=sk(),ok=class{static{o(this,"ServiceType")}constructor(e,r,n){this.typeName=e,this.methods=r.map(i=>jze.normalizeMethodInfo(i,this)),this.options=n??{}}};Ox.ServiceType=ok});var ck=x(Mx=>{"use strict";Object.defineProperty(Mx,"__esModule",{value:!0});Mx.RpcError=void 0;var ak=class extends Error{static{o(this,"RpcError")}constructor(e,r="UNKNOWN",n){super(e),this.name="RpcError",Object.setPrototypeOf(this,new.target.prototype),this.code=r,this.meta=n??{}}toString(){let e=[this.name+": "+this.message];this.code&&(e.push(""),e.push("Code: "+this.code)),this.serviceName&&this.methodName&&e.push("Method: "+this.serviceName+"/"+this.methodName);let r=Object.entries(this.meta);if(r.length){e.push(""),e.push("Meta:");for(let[n,i]of r)e.push(` ${n}: ${i}`)}return e.join(` +`)}};Mx.RpcError=ak});var lk=x(Ux=>{"use strict";Object.defineProperty(Ux,"__esModule",{value:!0});Ux.mergeRpcOptions=void 0;var KZ=Br();function Yze(t,e){if(!e)return t;let r={};Lx(t,r),Lx(e,r);for(let n of Object.keys(e)){let i=e[n];switch(n){case"jsonOptions":r.jsonOptions=KZ.mergeJsonOptions(t.jsonOptions,r.jsonOptions);break;case"binaryOptions":r.binaryOptions=KZ.mergeBinaryOptions(t.binaryOptions,r.binaryOptions);break;case"meta":r.meta={},Lx(t.meta,r.meta),Lx(e.meta,r.meta);break;case"interceptors":r.interceptors=t.interceptors?t.interceptors.concat(i):i.concat();break}}return r}o(Yze,"mergeRpcOptions");Ux.mergeRpcOptions=Yze;function Lx(t,e){if(!t)return;let r=e;for(let[n,i]of Object.entries(t))i instanceof Date?r[n]=new Date(i.getTime()):Array.isArray(i)?r[n]=i.concat():r[n]=i}o(Lx,"copy")});var Ak=x(Qu=>{"use strict";Object.defineProperty(Qu,"__esModule",{value:!0});Qu.Deferred=Qu.DeferredState=void 0;var Fo;(function(t){t[t.PENDING=0]="PENDING",t[t.REJECTED=1]="REJECTED",t[t.RESOLVED=2]="RESOLVED"})(Fo=Qu.DeferredState||(Qu.DeferredState={}));var uk=class{static{o(this,"Deferred")}constructor(e=!0){this._state=Fo.PENDING,this._promise=new Promise((r,n)=>{this._resolve=r,this._reject=n}),e&&this._promise.catch(r=>{})}get state(){return this._state}get promise(){return this._promise}resolve(e){if(this.state!==Fo.PENDING)throw new Error(`cannot resolve ${Fo[this.state].toLowerCase()}`);this._resolve(e),this._state=Fo.RESOLVED}reject(e){if(this.state!==Fo.PENDING)throw new Error(`cannot reject ${Fo[this.state].toLowerCase()}`);this._reject(e),this._state=Fo.REJECTED}resolvePending(e){this._state===Fo.PENDING&&this.resolve(e)}rejectPending(e){this._state===Fo.PENDING&&this.reject(e)}};Qu.Deferred=uk});var fk=x(Fx=>{"use strict";Object.defineProperty(Fx,"__esModule",{value:!0});Fx.RpcOutputStreamController=void 0;var JZ=Ak(),Su=Br(),dk=class{static{o(this,"RpcOutputStreamController")}constructor(){this._lis={nxt:[],msg:[],err:[],cmp:[]},this._closed=!1,this._itState={q:[]}}onNext(e){return this.addLis(e,this._lis.nxt)}onMessage(e){return this.addLis(e,this._lis.msg)}onError(e){return this.addLis(e,this._lis.err)}onComplete(e){return this.addLis(e,this._lis.cmp)}addLis(e,r){return r.push(e),()=>{let n=r.indexOf(e);n>=0&&r.splice(n,1)}}clearLis(){for(let e of Object.values(this._lis))e.splice(0,e.length)}get closed(){return this._closed!==!1}notifyNext(e,r,n){Su.assert((e?1:0)+(r?1:0)+(n?1:0)<=1,"only one emission at a time"),e&&this.notifyMessage(e),r&&this.notifyError(r),n&&this.notifyComplete()}notifyMessage(e){Su.assert(!this.closed,"stream is closed"),this.pushIt({value:e,done:!1}),this._lis.msg.forEach(r=>r(e)),this._lis.nxt.forEach(r=>r(e,void 0,!1))}notifyError(e){Su.assert(!this.closed,"stream is closed"),this._closed=e,this.pushIt(e),this._lis.err.forEach(r=>r(e)),this._lis.nxt.forEach(r=>r(void 0,e,!1)),this.clearLis()}notifyComplete(){Su.assert(!this.closed,"stream is closed"),this._closed=!0,this.pushIt({value:null,done:!0}),this._lis.cmp.forEach(e=>e()),this._lis.nxt.forEach(e=>e(void 0,void 0,!0)),this.clearLis()}[Symbol.asyncIterator](){return this._closed===!0?this.pushIt({value:null,done:!0}):this._closed!==!1&&this.pushIt(this._closed),{next:o(()=>{let e=this._itState;Su.assert(e,"bad state"),Su.assert(!e.p,"iterator contract broken");let r=e.q.shift();return r?"value"in r?Promise.resolve(r):Promise.reject(r):(e.p=new JZ.Deferred,e.p.promise)},"next")}}pushIt(e){let r=this._itState;if(r.p){let n=r.p;Su.assert(n.state==JZ.DeferredState.PENDING,"iterator contract broken"),"value"in e?n.resolve(e):n.reject(e),delete r.p}else r.q.push(e)}};Fx.RpcOutputStreamController=dk});var pk=x(pf=>{"use strict";var Kze=pf&&pf.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(A){try{u(n.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(n.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?s(A.value):i(A.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};Object.defineProperty(pf,"__esModule",{value:!0});pf.UnaryCall=void 0;var hk=class{static{o(this,"UnaryCall")}constructor(e,r,n,i,s,a,c){this.method=e,this.requestHeaders=r,this.request=n,this.headers=i,this.response=s,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return Kze(this,void 0,void 0,function*(){let[e,r,n,i]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:e,response:r,status:n,trailers:i}})}};pf.UnaryCall=hk});var mk=x(gf=>{"use strict";var Jze=gf&&gf.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(A){try{u(n.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(n.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?s(A.value):i(A.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};Object.defineProperty(gf,"__esModule",{value:!0});gf.ServerStreamingCall=void 0;var gk=class{static{o(this,"ServerStreamingCall")}constructor(e,r,n,i,s,a,c){this.method=e,this.requestHeaders=r,this.request=n,this.headers=i,this.responses=s,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return Jze(this,void 0,void 0,function*(){let[e,r,n]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:e,status:r,trailers:n}})}};gf.ServerStreamingCall=gk});var Ek=x(mf=>{"use strict";var Vze=mf&&mf.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(A){try{u(n.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(n.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?s(A.value):i(A.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};Object.defineProperty(mf,"__esModule",{value:!0});mf.ClientStreamingCall=void 0;var yk=class{static{o(this,"ClientStreamingCall")}constructor(e,r,n,i,s,a,c){this.method=e,this.requestHeaders=r,this.requests=n,this.headers=i,this.response=s,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return Vze(this,void 0,void 0,function*(){let[e,r,n,i]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:e,response:r,status:n,trailers:i}})}};mf.ClientStreamingCall=yk});var Ck=x(yf=>{"use strict";var Wze=yf&&yf.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(A){try{u(n.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(n.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?s(A.value):i(A.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};Object.defineProperty(yf,"__esModule",{value:!0});yf.DuplexStreamingCall=void 0;var bk=class{static{o(this,"DuplexStreamingCall")}constructor(e,r,n,i,s,a,c){this.method=e,this.requestHeaders=r,this.requests=n,this.headers=i,this.responses=s,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return Wze(this,void 0,void 0,function*(){let[e,r,n]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:e,status:r,trailers:n}})}};yf.DuplexStreamingCall=bk});var WZ=x(Cf=>{"use strict";var $ze=Cf&&Cf.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(A){try{u(n.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(n.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?s(A.value):i(A.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};Object.defineProperty(Cf,"__esModule",{value:!0});Cf.TestTransport=void 0;var ys=ck(),Hx=Br(),VZ=fk(),Xze=lk(),Zze=pk(),e7e=mk(),t7e=Ek(),r7e=Ck(),bf=class t{static{o(this,"TestTransport")}constructor(e){this.suppressUncaughtRejections=!0,this.headerDelay=10,this.responseDelay=50,this.betweenResponseDelay=10,this.afterResponseDelay=10,this.data=e??{}}get sentMessages(){return this.lastInput instanceof Ef?this.lastInput.sent:typeof this.lastInput=="object"?[this.lastInput.single]:[]}get sendComplete(){return this.lastInput instanceof Ef?this.lastInput.completed:typeof this.lastInput=="object"}promiseHeaders(){var e;let r=(e=this.data.headers)!==null&&e!==void 0?e:t.defaultHeaders;return r instanceof ys.RpcError?Promise.reject(r):Promise.resolve(r)}promiseSingleResponse(e){if(this.data.response instanceof ys.RpcError)return Promise.reject(this.data.response);let r;return Array.isArray(this.data.response)?(Hx.assert(this.data.response.length>0),r=this.data.response[0]):this.data.response!==void 0?r=this.data.response:r=e.O.create(),Hx.assert(e.O.is(r)),Promise.resolve(r)}streamResponses(e,r,n){return $ze(this,void 0,void 0,function*(){let i=[];if(this.data.response===void 0)i.push(e.O.create());else if(Array.isArray(this.data.response))for(let s of this.data.response)Hx.assert(e.O.is(s)),i.push(s);else this.data.response instanceof ys.RpcError||(Hx.assert(e.O.is(this.data.response)),i.push(this.data.response));try{yield rn(this.responseDelay,n)(void 0)}catch(s){r.notifyError(s);return}if(this.data.response instanceof ys.RpcError){r.notifyError(this.data.response);return}for(let s of i){r.notifyMessage(s);try{yield rn(this.betweenResponseDelay,n)(void 0)}catch(a){r.notifyError(a);return}}if(this.data.status instanceof ys.RpcError){r.notifyError(this.data.status);return}if(this.data.trailers instanceof ys.RpcError){r.notifyError(this.data.trailers);return}r.notifyComplete()})}promiseStatus(){var e;let r=(e=this.data.status)!==null&&e!==void 0?e:t.defaultStatus;return r instanceof ys.RpcError?Promise.reject(r):Promise.resolve(r)}promiseTrailers(){var e;let r=(e=this.data.trailers)!==null&&e!==void 0?e:t.defaultTrailers;return r instanceof ys.RpcError?Promise.reject(r):Promise.resolve(r)}maybeSuppressUncaught(...e){if(this.suppressUncaughtRejections)for(let r of e)r.catch(()=>{})}mergeOptions(e){return Xze.mergeRpcOptions({},e)}unary(e,r,n){var i;let s=(i=n.meta)!==null&&i!==void 0?i:{},a=this.promiseHeaders().then(rn(this.headerDelay,n.abort)),c=a.catch(A=>{}).then(rn(this.responseDelay,n.abort)).then(A=>this.promiseSingleResponse(e)),l=c.catch(A=>{}).then(rn(this.afterResponseDelay,n.abort)).then(A=>this.promiseStatus()),u=c.catch(A=>{}).then(rn(this.afterResponseDelay,n.abort)).then(A=>this.promiseTrailers());return this.maybeSuppressUncaught(l,u),this.lastInput={single:r},new Zze.UnaryCall(e,s,r,a,c,l,u)}serverStreaming(e,r,n){var i;let s=(i=n.meta)!==null&&i!==void 0?i:{},a=this.promiseHeaders().then(rn(this.headerDelay,n.abort)),c=new VZ.RpcOutputStreamController,l=a.then(rn(this.responseDelay,n.abort)).catch(()=>{}).then(()=>this.streamResponses(e,c,n.abort)).then(rn(this.afterResponseDelay,n.abort)),u=l.then(()=>this.promiseStatus()),A=l.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(u,A),this.lastInput={single:r},new e7e.ServerStreamingCall(e,s,r,a,c,u,A)}clientStreaming(e,r){var n;let i=(n=r.meta)!==null&&n!==void 0?n:{},s=this.promiseHeaders().then(rn(this.headerDelay,r.abort)),a=s.catch(u=>{}).then(rn(this.responseDelay,r.abort)).then(u=>this.promiseSingleResponse(e)),c=a.catch(u=>{}).then(rn(this.afterResponseDelay,r.abort)).then(u=>this.promiseStatus()),l=a.catch(u=>{}).then(rn(this.afterResponseDelay,r.abort)).then(u=>this.promiseTrailers());return this.maybeSuppressUncaught(c,l),this.lastInput=new Ef(this.data,r.abort),new t7e.ClientStreamingCall(e,i,this.lastInput,s,a,c,l)}duplex(e,r){var n;let i=(n=r.meta)!==null&&n!==void 0?n:{},s=this.promiseHeaders().then(rn(this.headerDelay,r.abort)),a=new VZ.RpcOutputStreamController,c=s.then(rn(this.responseDelay,r.abort)).catch(()=>{}).then(()=>this.streamResponses(e,a,r.abort)).then(rn(this.afterResponseDelay,r.abort)),l=c.then(()=>this.promiseStatus()),u=c.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(l,u),this.lastInput=new Ef(this.data,r.abort),new r7e.DuplexStreamingCall(e,i,this.lastInput,s,a,l,u)}};Cf.TestTransport=bf;bf.defaultHeaders={responseHeader:"test"};bf.defaultStatus={code:"OK",detail:"all good"};bf.defaultTrailers={responseTrailer:"test"};function rn(t,e){return r=>new Promise((n,i)=>{if(e?.aborted)i(new ys.RpcError("user cancel","CANCELLED"));else{let s=setTimeout(()=>n(r),t);e&&e.addEventListener("abort",a=>{clearTimeout(s),i(new ys.RpcError("user cancel","CANCELLED"))})}})}o(rn,"delay");var Ef=class{static{o(this,"TestInputStream")}constructor(e,r){this._completed=!1,this._sent=[],this.data=e,this.abort=r}get sent(){return this._sent}get completed(){return this._completed}send(e){if(this.data.inputMessage instanceof ys.RpcError)return Promise.reject(this.data.inputMessage);let r=this.data.inputMessage===void 0?10:this.data.inputMessage;return Promise.resolve(void 0).then(()=>{this._sent.push(e)}).then(rn(r,this.abort))}complete(){if(this.data.inputComplete instanceof ys.RpcError)return Promise.reject(this.data.inputComplete);let e=this.data.inputComplete===void 0?10:this.data.inputComplete;return Promise.resolve(void 0).then(()=>{this._completed=!0}).then(rn(e,this.abort))}}});var $Z=x(Es=>{"use strict";Object.defineProperty(Es,"__esModule",{value:!0});Es.stackDuplexStreamingInterceptors=Es.stackClientStreamingInterceptors=Es.stackServerStreamingInterceptors=Es.stackUnaryInterceptors=Es.stackIntercept=void 0;var n7e=Br();function Qg(t,e,r,n,i){var s,a,c,l;if(t=="unary"){let u=o((A,d,f)=>e.unary(A,d,f),"tail");for(let A of((s=n.interceptors)!==null&&s!==void 0?s:[]).filter(d=>d.interceptUnary).reverse()){let d=u;u=o((f,h,g)=>A.interceptUnary(d,f,h,g),"tail")}return u(r,i,n)}if(t=="serverStreaming"){let u=o((A,d,f)=>e.serverStreaming(A,d,f),"tail");for(let A of((a=n.interceptors)!==null&&a!==void 0?a:[]).filter(d=>d.interceptServerStreaming).reverse()){let d=u;u=o((f,h,g)=>A.interceptServerStreaming(d,f,h,g),"tail")}return u(r,i,n)}if(t=="clientStreaming"){let u=o((A,d)=>e.clientStreaming(A,d),"tail");for(let A of((c=n.interceptors)!==null&&c!==void 0?c:[]).filter(d=>d.interceptClientStreaming).reverse()){let d=u;u=o((f,h)=>A.interceptClientStreaming(d,f,h),"tail")}return u(r,n)}if(t=="duplex"){let u=o((A,d)=>e.duplex(A,d),"tail");for(let A of((l=n.interceptors)!==null&&l!==void 0?l:[]).filter(d=>d.interceptDuplex).reverse()){let d=u;u=o((f,h)=>A.interceptDuplex(d,f,h),"tail")}return u(r,n)}n7e.assertNever(t)}o(Qg,"stackIntercept");Es.stackIntercept=Qg;function i7e(t,e,r,n){return Qg("unary",t,e,n,r)}o(i7e,"stackUnaryInterceptors");Es.stackUnaryInterceptors=i7e;function s7e(t,e,r,n){return Qg("serverStreaming",t,e,n,r)}o(s7e,"stackServerStreamingInterceptors");Es.stackServerStreamingInterceptors=s7e;function o7e(t,e,r){return Qg("clientStreaming",t,e,r)}o(o7e,"stackClientStreamingInterceptors");Es.stackClientStreamingInterceptors=o7e;function a7e(t,e,r){return Qg("duplex",t,e,r)}o(a7e,"stackDuplexStreamingInterceptors");Es.stackDuplexStreamingInterceptors=a7e});var XZ=x(qx=>{"use strict";Object.defineProperty(qx,"__esModule",{value:!0});qx.ServerCallContextController=void 0;var xk=class{static{o(this,"ServerCallContextController")}constructor(e,r,n,i,s={code:"OK",detail:""}){this._cancelled=!1,this._listeners=[],this.method=e,this.headers=r,this.deadline=n,this.trailers={},this._sendRH=i,this.status=s}notifyCancelled(){if(!this._cancelled){this._cancelled=!0;for(let e of this._listeners)e()}}sendResponseHeaders(e){this._sendRH(e)}get cancelled(){return this._cancelled}onCancel(e){let r=this._listeners;return r.push(e),()=>{let n=r.indexOf(e);n>=0&&r.splice(n,1)}}};qx.ServerCallContextController=xk});var eee=x(gr=>{"use strict";Object.defineProperty(gr,"__esModule",{value:!0});var c7e=YZ();Object.defineProperty(gr,"ServiceType",{enumerable:!0,get:o(function(){return c7e.ServiceType},"get")});var Ik=sk();Object.defineProperty(gr,"readMethodOptions",{enumerable:!0,get:o(function(){return Ik.readMethodOptions},"get")});Object.defineProperty(gr,"readMethodOption",{enumerable:!0,get:o(function(){return Ik.readMethodOption},"get")});Object.defineProperty(gr,"readServiceOption",{enumerable:!0,get:o(function(){return Ik.readServiceOption},"get")});var l7e=ck();Object.defineProperty(gr,"RpcError",{enumerable:!0,get:o(function(){return l7e.RpcError},"get")});var u7e=lk();Object.defineProperty(gr,"mergeRpcOptions",{enumerable:!0,get:o(function(){return u7e.mergeRpcOptions},"get")});var A7e=fk();Object.defineProperty(gr,"RpcOutputStreamController",{enumerable:!0,get:o(function(){return A7e.RpcOutputStreamController},"get")});var d7e=WZ();Object.defineProperty(gr,"TestTransport",{enumerable:!0,get:o(function(){return d7e.TestTransport},"get")});var ZZ=Ak();Object.defineProperty(gr,"Deferred",{enumerable:!0,get:o(function(){return ZZ.Deferred},"get")});Object.defineProperty(gr,"DeferredState",{enumerable:!0,get:o(function(){return ZZ.DeferredState},"get")});var f7e=Ck();Object.defineProperty(gr,"DuplexStreamingCall",{enumerable:!0,get:o(function(){return f7e.DuplexStreamingCall},"get")});var h7e=Ek();Object.defineProperty(gr,"ClientStreamingCall",{enumerable:!0,get:o(function(){return h7e.ClientStreamingCall},"get")});var p7e=mk();Object.defineProperty(gr,"ServerStreamingCall",{enumerable:!0,get:o(function(){return p7e.ServerStreamingCall},"get")});var g7e=pk();Object.defineProperty(gr,"UnaryCall",{enumerable:!0,get:o(function(){return g7e.UnaryCall},"get")});var Sg=$Z();Object.defineProperty(gr,"stackIntercept",{enumerable:!0,get:o(function(){return Sg.stackIntercept},"get")});Object.defineProperty(gr,"stackDuplexStreamingInterceptors",{enumerable:!0,get:o(function(){return Sg.stackDuplexStreamingInterceptors},"get")});Object.defineProperty(gr,"stackClientStreamingInterceptors",{enumerable:!0,get:o(function(){return Sg.stackClientStreamingInterceptors},"get")});Object.defineProperty(gr,"stackServerStreamingInterceptors",{enumerable:!0,get:o(function(){return Sg.stackServerStreamingInterceptors},"get")});Object.defineProperty(gr,"stackUnaryInterceptors",{enumerable:!0,get:o(function(){return Sg.stackUnaryInterceptors},"get")});var m7e=XZ();Object.defineProperty(gr,"ServerCallContextController",{enumerable:!0,get:o(function(){return m7e.ServerCallContextController},"get")})});var nee=x(zx=>{"use strict";Object.defineProperty(zx,"__esModule",{value:!0});zx.CacheScope=void 0;var tee=Br(),ree=Br(),y7e=Br(),E7e=Br(),b7e=Br(),Bk=class extends b7e.MessageType{static{o(this,"CacheScope$Type")}constructor(){super("github.actions.results.entities.v1.CacheScope",[{no:1,name:"scope",kind:"scalar",T:9},{no:2,name:"permission",kind:"scalar",T:3}])}create(e){let r={scope:"",permission:"0"};return globalThis.Object.defineProperty(r,E7e.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,y7e.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos{"use strict";Object.defineProperty(Gx,"__esModule",{value:!0});Gx.CacheMetadata=void 0;var iee=Br(),see=Br(),C7e=Br(),x7e=Br(),I7e=Br(),wk=nee(),Qk=class extends I7e.MessageType{static{o(this,"CacheMetadata$Type")}constructor(){super("github.actions.results.entities.v1.CacheMetadata",[{no:1,name:"repository_id",kind:"scalar",T:3},{no:2,name:"scope",kind:"message",repeat:1,T:o(()=>wk.CacheScope,"T")}])}create(e){let r={repositoryId:"0",scope:[]};return globalThis.Object.defineProperty(r,x7e.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,C7e.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos{"use strict";Object.defineProperty(mr,"__esModule",{value:!0});mr.CacheService=mr.GetCacheEntryDownloadURLResponse=mr.GetCacheEntryDownloadURLRequest=mr.FinalizeCacheEntryUploadResponse=mr.FinalizeCacheEntryUploadRequest=mr.CreateCacheEntryResponse=mr.CreateCacheEntryRequest=void 0;var B7e=eee(),_r=Br(),bs=Br(),xf=Br(),If=Br(),Bf=Br(),Ra=oee(),Sk=class extends Bf.MessageType{static{o(this,"CreateCacheEntryRequest$Type")}constructor(){super("github.actions.results.api.v1.CreateCacheEntryRequest",[{no:1,name:"metadata",kind:"message",T:o(()=>Ra.CacheMetadata,"T")},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"version",kind:"scalar",T:9}])}create(e){let r={key:"",version:""};return globalThis.Object.defineProperty(r,If.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,xf.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.posRa.CacheMetadata,"T")},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"size_bytes",kind:"scalar",T:3},{no:4,name:"version",kind:"scalar",T:9}])}create(e){let r={key:"",sizeBytes:"0",version:""};return globalThis.Object.defineProperty(r,If.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,xf.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.posRa.CacheMetadata,"T")},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"restore_keys",kind:"scalar",repeat:2,T:9},{no:4,name:"version",kind:"scalar",T:9}])}create(e){let r={key:"",restoreKeys:[],version:""};return globalThis.Object.defineProperty(r,If.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,xf.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos{"use strict";Object.defineProperty(wf,"__esModule",{value:!0});wf.CacheServiceClientProtobuf=wf.CacheServiceClientJSON=void 0;var Cs=aee(),Dk=class{static{o(this,"CacheServiceClientJSON")}constructor(e){this.rpc=e,this.CreateCacheEntry.bind(this),this.FinalizeCacheEntryUpload.bind(this),this.GetCacheEntryDownloadURL.bind(this)}CreateCacheEntry(e){let r=Cs.CreateCacheEntryRequest.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","CreateCacheEntry","application/json",r).then(i=>Cs.CreateCacheEntryResponse.fromJson(i,{ignoreUnknownFields:!0}))}FinalizeCacheEntryUpload(e){let r=Cs.FinalizeCacheEntryUploadRequest.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/json",r).then(i=>Cs.FinalizeCacheEntryUploadResponse.fromJson(i,{ignoreUnknownFields:!0}))}GetCacheEntryDownloadURL(e){let r=Cs.GetCacheEntryDownloadURLRequest.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/json",r).then(i=>Cs.GetCacheEntryDownloadURLResponse.fromJson(i,{ignoreUnknownFields:!0}))}};wf.CacheServiceClientJSON=Dk;var kk=class{static{o(this,"CacheServiceClientProtobuf")}constructor(e){this.rpc=e,this.CreateCacheEntry.bind(this),this.FinalizeCacheEntryUpload.bind(this),this.GetCacheEntryDownloadURL.bind(this)}CreateCacheEntry(e){let r=Cs.CreateCacheEntryRequest.toBinary(e);return this.rpc.request("github.actions.results.api.v1.CacheService","CreateCacheEntry","application/protobuf",r).then(i=>Cs.CreateCacheEntryResponse.fromBinary(i))}FinalizeCacheEntryUpload(e){let r=Cs.FinalizeCacheEntryUploadRequest.toBinary(e);return this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/protobuf",r).then(i=>Cs.FinalizeCacheEntryUploadResponse.fromBinary(i))}GetCacheEntryDownloadURL(e){let r=Cs.GetCacheEntryDownloadURLRequest.toBinary(e);return this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/protobuf",r).then(i=>Cs.GetCacheEntryDownloadURLResponse.fromBinary(i))}};wf.CacheServiceClientProtobuf=kk});var lee=x(Yx=>{"use strict";Object.defineProperty(Yx,"__esModule",{value:!0});Yx.maskSigUrl=Tk;Yx.maskSecretUrls=w7e;var jx=Pt();function Tk(t){if(t)try{let r=new URL(t).searchParams.get("sig");r&&((0,jx.setSecret)(r),(0,jx.setSecret)(encodeURIComponent(r)))}catch(e){(0,jx.debug)(`Failed to parse URL: ${t} ${e instanceof Error?e.message:String(e)}`)}}o(Tk,"maskSigUrl");function w7e(t){if(typeof t!="object"||t===null){(0,jx.debug)("body is not an object or is null");return}"signed_upload_url"in t&&typeof t.signed_upload_url=="string"&&Tk(t.signed_upload_url),"signed_download_url"in t&&typeof t.signed_download_url=="string"&&Tk(t.signed_download_url)}o(w7e,"maskSecretUrls")});var uee=x(Ng=>{"use strict";var Kx=Ng&&Ng.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(A){try{u(n.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(n.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?s(A.value):i(A.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};Object.defineProperty(Ng,"__esModule",{value:!0});Ng.internalCacheTwirpClient=_7e;var Nu=Pt(),Q7e=vD(),vu=CD(),S7e=nx(),N7e=fd(),v7e=vy(),Qf=Ic(),R7e=cee(),P7e=lee(),Ok=class{static{o(this,"CacheServiceClient")}constructor(e,r,n,i){this.maxAttempts=5,this.baseRetryIntervalMilliseconds=3e3,this.retryMultiplier=1.5;let s=(0,N7e.getRuntimeToken)();this.baseUrl=(0,S7e.getCacheServiceURL)(),r&&(this.maxAttempts=r),n&&(this.baseRetryIntervalMilliseconds=n),i&&(this.retryMultiplier=i),this.httpClient=new Qf.HttpClient(e,[new v7e.BearerCredentialHandler(s)])}request(e,r,n,i){return Kx(this,void 0,void 0,function*(){let s=new URL(`/twirp/${e}/${r}`,this.baseUrl).href;(0,Nu.debug)(`[Request] ${r} ${s}`);let a={"Content-Type":n};try{let{body:c}=yield this.retryableRequest(()=>Kx(this,void 0,void 0,function*(){return this.httpClient.post(s,JSON.stringify(i),a)}));return c}catch(c){throw new Error(`Failed to ${r}: ${c.message}`)}})}retryableRequest(e){return Kx(this,void 0,void 0,function*(){let r=0,n="",i="";for(;r0&&(0,Nu.warning)(`You've hit a rate limit, your rate limit will reset in ${d} seconds`)}throw new vu.RateLimitError(`Rate limited: ${n}`)}}catch(c){if(c instanceof SyntaxError&&(0,Nu.debug)(`Raw Body: ${i}`),c instanceof vu.UsageError||c instanceof vu.RateLimitError)throw c;if(vu.NetworkError.isNetworkErrorCode(c?.code))throw new vu.NetworkError(c?.code);s=!0,n=c.message}if(!s)throw new Error(`Received non-retryable error: ${n}`);if(r+1===this.maxAttempts)throw new Error(`Failed to make request after ${this.maxAttempts} attempts: ${n}`);let a=this.getExponentialRetryTimeMilliseconds(r);(0,Nu.info)(`Attempt ${r+1} of ${this.maxAttempts} failed with error: ${n}. Retrying request in ${a} ms...`),yield this.sleep(a),r++}throw new Error("Request failed")})}isSuccessStatusCode(e){return e?e>=200&&e<300:!1}isRetryableHttpStatusCode(e){return e?[Qf.HttpCodes.BadGateway,Qf.HttpCodes.GatewayTimeout,Qf.HttpCodes.InternalServerError,Qf.HttpCodes.ServiceUnavailable].includes(e):!1}sleep(e){return Kx(this,void 0,void 0,function*(){return new Promise(r=>setTimeout(r,e))})}getExponentialRetryTimeMilliseconds(e){if(e<0)throw new Error("attempt should be a positive integer");if(e===0)return this.baseRetryIntervalMilliseconds;let r=this.baseRetryIntervalMilliseconds*Math.pow(this.retryMultiplier,e),n=r*this.retryMultiplier;return Math.trunc(Math.random()*(n-r)+r)}};function _7e(t){let e=new Ok((0,Q7e.getUserAgentString)(),t?.maxAttempts,t?.retryIntervalMs,t?.retryMultiplier);return new R7e.CacheServiceClientJSON(e)}o(_7e,"internalCacheTwirpClient")});var fee=x(zi=>{"use strict";var D7e=zi&&zi.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),k7e=zi&&zi.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),Mk=zi&&zi.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i{"use strict";var z7e=Hr&&Hr.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),G7e=Hr&&Hr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),Rg=Hr&&Hr.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i512)throw new xs(`Key Validation Error: ${t} cannot be larger than 512 characters.`);if(!/^[^,]*$/.test(t))throw new xs(`Key Validation Error: ${t} cannot contain commas.`)}o(Hk,"checkKey");function j7e(){return(0,Wx.getCacheServiceVersion)()==="v2"?!!process.env.ACTIONS_RESULTS_URL:!!process.env.ACTIONS_CACHE_URL}o(j7e,"isFeatureAvailable");function Y7e(t,e,r,n){return Nf(this,arguments,void 0,function*(i,s,a,c,l=!1){let u=(0,Wx.getCacheServiceVersion)();return Oe.debug(`Cache service version: ${u}`),pee(i),u==="v2"?yield J7e(i,s,a,c,l):yield K7e(i,s,a,c,l)})}o(Y7e,"restoreCache");function K7e(t,e,r,n){return Nf(this,arguments,void 0,function*(i,s,a,c,l=!1){a=a||[];let u=[s,...a];if(Oe.debug("Resolved Keys:"),Oe.debug(JSON.stringify(u)),u.length>10)throw new xs("Key Validation Error: Keys are limited to a maximum of 10.");for(let f of u)Hk(f);let A=yield tr.getCompressionMethod(),d="";try{let f=yield Sf.getCacheEntry(u,i,{compressionMethod:A,enableCrossOsArchive:l});if(!f?.archiveLocation)return;if(c?.lookupOnly)return Oe.info("Lookup only - skipping download"),f.cacheKey;d=Vx.join(yield tr.createTempDirectory(),tr.getCacheFileName(A)),Oe.debug(`Archive Path: ${d}`),yield Sf.downloadCache(f.archiveLocation,d,c),Oe.isDebug()&&(yield(0,el.listTar)(d,A));let h=tr.getArchiveFileSizeInBytes(d);return Oe.info(`Cache Size: ~${Math.round(h/(1024*1024))} MB (${h} B)`),yield(0,el.extractTar)(d,A),Oe.info("Cache restored successfully"),f.cacheKey}catch(f){let h=f;if(h.name===xs.name)throw f;h instanceof $x.HttpClientError&&typeof h.statusCode=="number"&&h.statusCode>=500?Oe.error(`Failed to restore: ${f.message}`):Oe.warning(`Failed to restore: ${f.message}`)}finally{try{yield tr.unlinkFile(d)}catch(f){Oe.debug(`Failed to delete archive: ${f}`)}}})}o(K7e,"restoreCacheV1");function J7e(t,e,r,n){return Nf(this,arguments,void 0,function*(i,s,a,c,l=!1){c=Object.assign(Object.assign({},c),{useAzureSdk:!0}),a=a||[];let u=[s,...a];if(Oe.debug("Resolved Keys:"),Oe.debug(JSON.stringify(u)),u.length>10)throw new xs("Key Validation Error: Keys are limited to a maximum of 10.");for(let d of u)Hk(d);let A="";try{let d=hee.internalCacheTwirpClient(),f=yield tr.getCompressionMethod(),h={key:s,restoreKeys:a,version:tr.getCacheVersion(i,f,l)},g=yield d.GetCacheEntryDownloadURL(h);if(!g.ok){Oe.debug(`Cache not found for version ${h.version} of keys: ${u.join(", ")}`);return}if(h.key!==g.matchedKey?Oe.info(`Cache hit for restore-key: ${g.matchedKey}`):Oe.info(`Cache hit for: ${g.matchedKey}`),c?.lookupOnly)return Oe.info("Lookup only - skipping download"),g.matchedKey;A=Vx.join(yield tr.createTempDirectory(),tr.getCacheFileName(f)),Oe.debug(`Archive path: ${A}`),Oe.debug(`Starting download of archive to: ${A}`),yield Sf.downloadCache(g.signedDownloadUrl,A,c);let b=tr.getArchiveFileSizeInBytes(A);return Oe.info(`Cache Size: ~${Math.round(b/(1024*1024))} MB (${b} B)`),Oe.isDebug()&&(yield(0,el.listTar)(A,f)),yield(0,el.extractTar)(A,f),Oe.info("Cache restored successfully"),g.matchedKey}catch(d){let f=d;if(f.name===xs.name)throw d;f instanceof $x.HttpClientError&&typeof f.statusCode=="number"&&f.statusCode>=500?Oe.error(`Failed to restore: ${d.message}`):Oe.warning(`Failed to restore: ${d.message}`)}finally{try{A&&(yield tr.unlinkFile(A))}catch(d){Oe.debug(`Failed to delete archive: ${d}`)}}})}o(J7e,"restoreCacheV2");function V7e(t,e,r){return Nf(this,arguments,void 0,function*(n,i,s,a=!1){let c=(0,Wx.getCacheServiceVersion)();return Oe.debug(`Cache service version: ${c}`),pee(n),Hk(i),c==="v2"?yield $7e(n,i,s,a):yield W7e(n,i,s,a)})}o(V7e,"saveCache");function W7e(t,e,r){return Nf(this,arguments,void 0,function*(n,i,s,a=!1){var c,l,u,A,d;let f=yield tr.getCompressionMethod(),h=-1,g=yield tr.resolvePaths(n);if(Oe.debug("Cache Paths:"),Oe.debug(`${JSON.stringify(g)}`),g.length===0)throw new Error("Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.");let m=yield tr.createTempDirectory(),b=Vx.join(m,tr.getCacheFileName(f));Oe.debug(`Archive Path: ${b}`);try{yield(0,el.createTar)(m,g,f),Oe.isDebug()&&(yield(0,el.listTar)(b,f));let y=10*1024*1024*1024,I=tr.getArchiveFileSizeInBytes(b);if(Oe.debug(`File Size: ${I}`),I>y&&!(0,Wx.isGhes)())throw new Error(`Cache size of ~${Math.round(I/(1024*1024))} MB (${I} B) is over the 10GB limit, not saving cache.`);Oe.debug("Reserving Cache");let w=yield Sf.reserveCache(i,n,{compressionMethod:f,enableCrossOsArchive:a,cacheSize:I});if(!((c=w?.result)===null||c===void 0)&&c.cacheId)h=(l=w?.result)===null||l===void 0?void 0:l.cacheId;else throw w?.statusCode===400?new Error((A=(u=w?.error)===null||u===void 0?void 0:u.message)!==null&&A!==void 0?A:`Cache size of ~${Math.round(I/(1024*1024))} MB (${I} B) is over the data cap limit, not saving cache.`):new Ru(`Unable to reserve cache with key ${i}, another job may be creating this cache. More details: ${(d=w?.error)===null||d===void 0?void 0:d.message}`);Oe.debug(`Saving Cache (ID: ${h})`),yield Sf.saveCache(h,b,"",s)}catch(y){let I=y;if(I.name===xs.name)throw y;I.name===Ru.name?Oe.info(`Failed to save: ${I.message}`):I instanceof $x.HttpClientError&&typeof I.statusCode=="number"&&I.statusCode>=500?Oe.error(`Failed to save: ${I.message}`):Oe.warning(`Failed to save: ${I.message}`)}finally{try{yield tr.unlinkFile(b)}catch(y){Oe.debug(`Failed to delete archive: ${y}`)}}return h})}o(W7e,"saveCacheV1");function $7e(t,e,r){return Nf(this,arguments,void 0,function*(n,i,s,a=!1){s=Object.assign(Object.assign({},s),{uploadChunkSize:64*1024*1024,uploadConcurrency:8,useAzureSdk:!0});let c=yield tr.getCompressionMethod(),l=hee.internalCacheTwirpClient(),u=-1,A=yield tr.resolvePaths(n);if(Oe.debug("Cache Paths:"),Oe.debug(`${JSON.stringify(A)}`),A.length===0)throw new Error("Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.");let d=yield tr.createTempDirectory(),f=Vx.join(d,tr.getCacheFileName(c));Oe.debug(`Archive Path: ${f}`);try{yield(0,el.createTar)(d,A,c),Oe.isDebug()&&(yield(0,el.listTar)(f,c));let h=tr.getArchiveFileSizeInBytes(f);Oe.debug(`File Size: ${h}`),s.archiveSizeBytes=h,Oe.debug("Reserving Cache");let g=tr.getCacheVersion(n,c,a),m={key:i,version:g},b;try{let w=yield l.CreateCacheEntry(m);if(!w.ok)throw w.message&&Oe.warning(`Cache reservation failed: ${w.message}`),new Error(w.message||"Response was not ok");b=w.signedUploadUrl}catch(w){throw Oe.debug(`Failed to reserve cache: ${w}`),new Ru(`Unable to reserve cache with key ${i}, another job may be creating this cache.`)}Oe.debug(`Attempting to upload cache located at: ${f}`),yield Sf.saveCache(u,f,b,s);let y={key:i,version:g,sizeBytes:`${h}`},I=yield l.FinalizeCacheEntryUpload(y);if(Oe.debug(`FinalizeCacheEntryUploadResponse: ${I.ok}`),!I.ok)throw I.message?new vg(I.message):new Error(`Unable to finalize cache with key ${i}, another job may be finalizing this cache.`);u=parseInt(I.entryId)}catch(h){let g=h;if(g.name===xs.name)throw h;g.name===Ru.name?Oe.info(`Failed to save: ${g.message}`):g.name===vg.name?Oe.warning(g.message):g instanceof $x.HttpClientError&&typeof g.statusCode=="number"&&g.statusCode>=500?Oe.error(`Failed to save: ${g.message}`):Oe.warning(`Failed to save: ${g.message}`)}finally{try{yield tr.unlinkFile(f)}catch(h){Oe.debug(`Failed to delete archive: ${h}`)}}return u})}o($7e,"saveCacheV2")});var Cee=x((wht,bee)=>{"use strict";var _u=class t extends Error{static{o(this,"ParserError")}constructor(e,r,n){super("[ParserError] "+e,r,n),this.name="ParserError",this.code="ParserError",Error.captureStackTrace&&Error.captureStackTrace(this,t)}},Xx=class{static{o(this,"State")}constructor(e){this.parser=e,this.buf="",this.returned=null,this.result=null,this.resultTable=null,this.resultArr=null}},Pg=class{static{o(this,"Parser")}constructor(){this.pos=0,this.col=0,this.line=0,this.obj={},this.ctx=this.obj,this.stack=[],this._buf="",this.char=null,this.ii=0,this.state=new Xx(this.parseStart)}parse(e){if(e.length===0||e.length==null)return;this._buf=String(e),this.ii=-1,this.char=-1;let r;for(;r===!1||this.nextChar();)r=this.runOne();this._buf=null}nextChar(){return this.char===10&&(++this.line,this.col=-1),++this.ii,this.char=this._buf.codePointAt(this.ii),++this.pos,++this.col,this.haveBuffer()}haveBuffer(){return this.ii{"use strict";xee.exports=t=>{let e=new Date(t);if(isNaN(e))throw new TypeError("Invalid Datetime");return e}});var Zx=x((Nht,Bee)=>{"use strict";Bee.exports=(t,e)=>{for(e=String(e);e.length{"use strict";var vf=Zx(),qk=class extends Date{static{o(this,"FloatingDateTime")}constructor(e){super(e+"Z"),this.isFloating=!0}toISOString(){let e=`${this.getUTCFullYear()}-${vf(2,this.getUTCMonth()+1)}-${vf(2,this.getUTCDate())}`,r=`${vf(2,this.getUTCHours())}:${vf(2,this.getUTCMinutes())}:${vf(2,this.getUTCSeconds())}.${vf(3,this.getUTCMilliseconds())}`;return`${e}T${r}`}};wee.exports=t=>{let e=new qk(t);if(isNaN(e))throw new TypeError("Invalid Datetime");return e}});var vee=x((Pht,Nee)=>{"use strict";var See=Zx(),eGe=global.Date,zk=class extends eGe{static{o(this,"Date")}constructor(e){super(e),this.isDate=!0}toISOString(){return`${this.getUTCFullYear()}-${See(2,this.getUTCMonth()+1)}-${See(2,this.getUTCDate())}`}};Nee.exports=t=>{let e=new zk(t);if(isNaN(e))throw new TypeError("Invalid Datetime");return e}});var Pee=x((Dht,Ree)=>{"use strict";var eI=Zx(),Gk=class extends Date{static{o(this,"Time")}constructor(e){super(`0000-01-01T${e}Z`),this.isTime=!0}toISOString(){return`${eI(2,this.getUTCHours())}:${eI(2,this.getUTCMinutes())}:${eI(2,this.getUTCSeconds())}.${eI(3,this.getUTCMilliseconds())}`}};Ree.exports=t=>{let e=new Gk(t);if(isNaN(e))throw new TypeError("Invalid Datetime");return e}});var tI=x((exports,module)=>{"use strict";module.exports=makeParserClass(Cee());module.exports.makeParserClass=makeParserClass;var TomlError=class t extends Error{static{o(this,"TomlError")}constructor(e){super(e),this.name="TomlError",Error.captureStackTrace&&Error.captureStackTrace(this,t),this.fromTOML=!0,this.wrapped=null}};TomlError.wrap=t=>{let e=new TomlError(t.message);return e.code=t.code,e.wrapped=t,e};module.exports.TomlError=TomlError;var createDateTime=Iee(),createDateTimeFloat=Qee(),createDate=vee(),createTime=Pee(),CTRL_I=9,CTRL_J=10,CTRL_M=13,CTRL_CHAR_BOUNDARY=31,CHAR_SP=32,CHAR_QUOT=34,CHAR_NUM=35,CHAR_APOS=39,CHAR_PLUS=43,CHAR_COMMA=44,CHAR_HYPHEN=45,CHAR_PERIOD=46,CHAR_0=48,CHAR_1=49,CHAR_7=55,CHAR_9=57,CHAR_COLON=58,CHAR_EQUALS=61,CHAR_A=65,CHAR_E=69,CHAR_F=70,CHAR_T=84,CHAR_U=85,CHAR_Z=90,CHAR_LOWBAR=95,CHAR_a=97,CHAR_b=98,CHAR_e=101,CHAR_f=102,CHAR_i=105,CHAR_l=108,CHAR_n=110,CHAR_o=111,CHAR_r=114,CHAR_s=115,CHAR_t=116,CHAR_u=117,CHAR_x=120,CHAR_z=122,CHAR_LCUB=123,CHAR_RCUB=125,CHAR_LSQB=91,CHAR_BSOL=92,CHAR_RSQB=93,CHAR_DEL=127,SURROGATE_FIRST=55296,SURROGATE_LAST=57343,escapes={[CHAR_b]:"\b",[CHAR_t]:" ",[CHAR_n]:` +`,[CHAR_f]:"\f",[CHAR_r]:"\r",[CHAR_QUOT]:'"',[CHAR_BSOL]:"\\"};function isDigit(t){return t>=CHAR_0&&t<=CHAR_9}o(isDigit,"isDigit");function isHexit(t){return t>=CHAR_A&&t<=CHAR_F||t>=CHAR_a&&t<=CHAR_f||t>=CHAR_0&&t<=CHAR_9}o(isHexit,"isHexit");function isBit(t){return t===CHAR_1||t===CHAR_0}o(isBit,"isBit");function isOctit(t){return t>=CHAR_0&&t<=CHAR_7}o(isOctit,"isOctit");function isAlphaNumQuoteHyphen(t){return t>=CHAR_A&&t<=CHAR_Z||t>=CHAR_a&&t<=CHAR_z||t>=CHAR_0&&t<=CHAR_9||t===CHAR_APOS||t===CHAR_QUOT||t===CHAR_LOWBAR||t===CHAR_HYPHEN}o(isAlphaNumQuoteHyphen,"isAlphaNumQuoteHyphen");function isAlphaNumHyphen(t){return t>=CHAR_A&&t<=CHAR_Z||t>=CHAR_a&&t<=CHAR_z||t>=CHAR_0&&t<=CHAR_9||t===CHAR_LOWBAR||t===CHAR_HYPHEN}o(isAlphaNumHyphen,"isAlphaNumHyphen");var _type=Symbol("type"),_declared=Symbol("declared"),hasOwnProperty=Object.prototype.hasOwnProperty,defineProperty=Object.defineProperty,descriptor={configurable:!0,enumerable:!0,writable:!0,value:void 0};function hasKey(t,e){return hasOwnProperty.call(t,e)?!0:(e==="__proto__"&&defineProperty(t,"__proto__",descriptor),!1)}o(hasKey,"hasKey");var INLINE_TABLE=Symbol("inline-table");function InlineTable(){return Object.defineProperties({},{[_type]:{value:INLINE_TABLE}})}o(InlineTable,"InlineTable");function isInlineTable(t){return t===null||typeof t!="object"?!1:t[_type]===INLINE_TABLE}o(isInlineTable,"isInlineTable");var TABLE=Symbol("table");function Table(){return Object.defineProperties({},{[_type]:{value:TABLE},[_declared]:{value:!1,writable:!0}})}o(Table,"Table");function isTable(t){return t===null||typeof t!="object"?!1:t[_type]===TABLE}o(isTable,"isTable");var _contentType=Symbol("content-type"),INLINE_LIST=Symbol("inline-list");function InlineList(t){return Object.defineProperties([],{[_type]:{value:INLINE_LIST},[_contentType]:{value:t}})}o(InlineList,"InlineList");function isInlineList(t){return t===null||typeof t!="object"?!1:t[_type]===INLINE_LIST}o(isInlineList,"isInlineList");var LIST=Symbol("list");function List(){return Object.defineProperties([],{[_type]:{value:LIST}})}o(List,"List");function isList(t){return t===null||typeof t!="object"?!1:t[_type]===LIST}o(isList,"isList");var _custom;try{let utilInspect=eval("require('util').inspect");_custom=utilInspect.custom}catch(t){}var _inspect=_custom||"inspect",BoxedBigInt=class{static{o(this,"BoxedBigInt")}constructor(e){try{this.value=global.BigInt.asIntN(64,e)}catch{this.value=null}Object.defineProperty(this,_type,{value:INTEGER})}isNaN(){return this.value===null}toString(){return String(this.value)}[_inspect](){return`[BigInt: ${this.toString()}]}`}valueOf(){return this.value}},INTEGER=Symbol("integer");function Integer(t){let e=Number(t);return Object.is(e,-0)&&(e=0),global.BigInt&&!Number.isSafeInteger(e)?new BoxedBigInt(t):Object.defineProperties(new Number(e),{isNaN:{value:o(function(){return isNaN(this)},"value")},[_type]:{value:INTEGER},[_inspect]:{value:o(()=>`[Integer: ${t}]`,"value")}})}o(Integer,"Integer");function isInteger(t){return t===null||typeof t!="object"?!1:t[_type]===INTEGER}o(isInteger,"isInteger");var FLOAT=Symbol("float");function Float(t){return Object.defineProperties(new Number(t),{[_type]:{value:FLOAT},[_inspect]:{value:o(()=>`[Float: ${t}]`,"value")}})}o(Float,"Float");function isFloat(t){return t===null||typeof t!="object"?!1:t[_type]===FLOAT}o(isFloat,"isFloat");function tomlType(t){let e=typeof t;if(e==="object"){if(t===null)return"null";if(t instanceof Date)return"datetime";if(_type in t)switch(t[_type]){case INLINE_TABLE:return"inline-table";case INLINE_LIST:return"inline-list";case TABLE:return"table";case LIST:return"list";case FLOAT:return"float";case INTEGER:return"integer"}}return e}o(tomlType,"tomlType");function makeParserClass(t){class e extends t{static{o(this,"TOMLParser")}constructor(){super(),this.ctx=this.obj=Table()}atEndOfWord(){return this.char===CHAR_NUM||this.char===CTRL_I||this.char===CHAR_SP||this.atEndOfLine()}atEndOfLine(){return this.char===t.END||this.char===CTRL_J||this.char===CTRL_M}parseStart(){if(this.char===t.END)return null;if(this.char===CHAR_LSQB)return this.call(this.parseTableOrList);if(this.char===CHAR_NUM)return this.call(this.parseComment);if(this.char===CTRL_J||this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M)return null;if(isAlphaNumQuoteHyphen(this.char))return this.callNow(this.parseAssignStatement);throw this.error(new TomlError(`Unknown character "${this.char}"`))}parseWhitespaceToEOL(){if(this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M)return null;if(this.char===CHAR_NUM)return this.goto(this.parseComment);if(this.char===t.END||this.char===CTRL_J)return this.return();throw this.error(new TomlError("Unexpected character, expected only whitespace or comments till end of line"))}parseAssignStatement(){return this.callNow(this.parseAssign,this.recordAssignStatement)}recordAssignStatement(n){let i=this.ctx,s=n.key.pop();for(let a of n.key){if(hasKey(i,a)&&(!isTable(i[a])||i[a][_declared]))throw this.error(new TomlError("Can't redefine existing key"));i=i[a]=i[a]||Table()}if(hasKey(i,s))throw this.error(new TomlError("Can't redefine existing key"));return isInteger(n.value)||isFloat(n.value)?i[s]=n.value.valueOf():i[s]=n.value,this.goto(this.parseWhitespaceToEOL)}parseAssign(){return this.callNow(this.parseKeyword,this.recordAssignKeyword)}recordAssignKeyword(n){return this.state.resultTable?this.state.resultTable.push(n):this.state.resultTable=[n],this.goto(this.parseAssignKeywordPreDot)}parseAssignKeywordPreDot(){if(this.char===CHAR_PERIOD)return this.next(this.parseAssignKeywordPostDot);if(this.char!==CHAR_SP&&this.char!==CTRL_I)return this.goto(this.parseAssignEqual)}parseAssignKeywordPostDot(){if(this.char!==CHAR_SP&&this.char!==CTRL_I)return this.callNow(this.parseKeyword,this.recordAssignKeyword)}parseAssignEqual(){if(this.char===CHAR_EQUALS)return this.next(this.parseAssignPreValue);throw this.error(new TomlError('Invalid character, expected "="'))}parseAssignPreValue(){return this.char===CHAR_SP||this.char===CTRL_I?null:this.callNow(this.parseValue,this.recordAssignValue)}recordAssignValue(n){return this.returnNow({key:this.state.resultTable,value:n})}parseComment(){do if(this.char===t.END||this.char===CTRL_J)return this.return();while(this.nextChar())}parseTableOrList(){if(this.char===CHAR_LSQB)this.next(this.parseList);else return this.goto(this.parseTable)}parseTable(){return this.ctx=this.obj,this.goto(this.parseTableNext)}parseTableNext(){return this.char===CHAR_SP||this.char===CTRL_I?null:this.callNow(this.parseKeyword,this.parseTableMore)}parseTableMore(n){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===CHAR_RSQB){if(hasKey(this.ctx,n)&&(!isTable(this.ctx[n])||this.ctx[n][_declared]))throw this.error(new TomlError("Can't redefine existing key"));return this.ctx=this.ctx[n]=this.ctx[n]||Table(),this.ctx[_declared]=!0,this.next(this.parseWhitespaceToEOL)}else if(this.char===CHAR_PERIOD){if(!hasKey(this.ctx,n))this.ctx=this.ctx[n]=Table();else if(isTable(this.ctx[n]))this.ctx=this.ctx[n];else if(isList(this.ctx[n]))this.ctx=this.ctx[n][this.ctx[n].length-1];else throw this.error(new TomlError("Can't redefine existing key"));return this.next(this.parseTableNext)}else throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]"))}parseList(){return this.ctx=this.obj,this.goto(this.parseListNext)}parseListNext(){return this.char===CHAR_SP||this.char===CTRL_I?null:this.callNow(this.parseKeyword,this.parseListMore)}parseListMore(n){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===CHAR_RSQB){if(hasKey(this.ctx,n)||(this.ctx[n]=List()),isInlineList(this.ctx[n]))throw this.error(new TomlError("Can't extend an inline array"));if(isList(this.ctx[n])){let i=Table();this.ctx[n].push(i),this.ctx=i}else throw this.error(new TomlError("Can't redefine an existing key"));return this.next(this.parseListEnd)}else if(this.char===CHAR_PERIOD){if(!hasKey(this.ctx,n))this.ctx=this.ctx[n]=Table();else{if(isInlineList(this.ctx[n]))throw this.error(new TomlError("Can't extend an inline array"));if(isInlineTable(this.ctx[n]))throw this.error(new TomlError("Can't extend an inline table"));if(isList(this.ctx[n]))this.ctx=this.ctx[n][this.ctx[n].length-1];else if(isTable(this.ctx[n]))this.ctx=this.ctx[n];else throw this.error(new TomlError("Can't redefine an existing key"))}return this.next(this.parseListNext)}else throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]"))}parseListEnd(n){if(this.char===CHAR_RSQB)return this.next(this.parseWhitespaceToEOL);throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]"))}parseValue(){if(this.char===t.END)throw this.error(new TomlError("Key without value"));if(this.char===CHAR_QUOT)return this.next(this.parseDoubleString);if(this.char===CHAR_APOS)return this.next(this.parseSingleString);if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)return this.goto(this.parseNumberSign);if(this.char===CHAR_i)return this.next(this.parseInf);if(this.char===CHAR_n)return this.next(this.parseNan);if(isDigit(this.char))return this.goto(this.parseNumberOrDateTime);if(this.char===CHAR_t||this.char===CHAR_f)return this.goto(this.parseBoolean);if(this.char===CHAR_LSQB)return this.call(this.parseInlineList,this.recordValue);if(this.char===CHAR_LCUB)return this.call(this.parseInlineTable,this.recordValue);throw this.error(new TomlError("Unexpected character, expecting string, number, datetime, boolean, inline array or inline table"))}recordValue(n){return this.returnNow(n)}parseInf(){if(this.char===CHAR_n)return this.next(this.parseInf2);throw this.error(new TomlError('Unexpected character, expected "inf", "+inf" or "-inf"'))}parseInf2(){if(this.char===CHAR_f)return this.state.buf==="-"?this.return(-1/0):this.return(1/0);throw this.error(new TomlError('Unexpected character, expected "inf", "+inf" or "-inf"'))}parseNan(){if(this.char===CHAR_a)return this.next(this.parseNan2);throw this.error(new TomlError('Unexpected character, expected "nan"'))}parseNan2(){if(this.char===CHAR_n)return this.return(NaN);throw this.error(new TomlError('Unexpected character, expected "nan"'))}parseKeyword(){return this.char===CHAR_QUOT?this.next(this.parseBasicString):this.char===CHAR_APOS?this.next(this.parseLiteralString):this.goto(this.parseBareKey)}parseBareKey(){do{if(this.char===t.END)throw this.error(new TomlError("Key ended without value"));if(isAlphaNumHyphen(this.char))this.consume();else{if(this.state.buf.length===0)throw this.error(new TomlError("Empty bare keys are not allowed"));return this.returnNow()}}while(this.nextChar())}parseSingleString(){return this.char===CHAR_APOS?this.next(this.parseLiteralMultiStringMaybe):this.goto(this.parseLiteralString)}parseLiteralString(){do{if(this.char===CHAR_APOS)return this.return();if(this.atEndOfLine())throw this.error(new TomlError("Unterminated string"));if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I)throw this.errorControlCharInString();this.consume()}while(this.nextChar())}parseLiteralMultiStringMaybe(){return this.char===CHAR_APOS?this.next(this.parseLiteralMultiString):this.returnNow()}parseLiteralMultiString(){return this.char===CTRL_M?null:this.char===CTRL_J?this.next(this.parseLiteralMultiStringContent):this.goto(this.parseLiteralMultiStringContent)}parseLiteralMultiStringContent(){do{if(this.char===CHAR_APOS)return this.next(this.parseLiteralMultiEnd);if(this.char===t.END)throw this.error(new TomlError("Unterminated multi-line string"));if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I&&this.char!==CTRL_J&&this.char!==CTRL_M)throw this.errorControlCharInString();this.consume()}while(this.nextChar())}parseLiteralMultiEnd(){return this.char===CHAR_APOS?this.next(this.parseLiteralMultiEnd2):(this.state.buf+="'",this.goto(this.parseLiteralMultiStringContent))}parseLiteralMultiEnd2(){return this.char===CHAR_APOS?this.return():(this.state.buf+="''",this.goto(this.parseLiteralMultiStringContent))}parseDoubleString(){return this.char===CHAR_QUOT?this.next(this.parseMultiStringMaybe):this.goto(this.parseBasicString)}parseBasicString(){do{if(this.char===CHAR_BSOL)return this.call(this.parseEscape,this.recordEscapeReplacement);if(this.char===CHAR_QUOT)return this.return();if(this.atEndOfLine())throw this.error(new TomlError("Unterminated string"));if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I)throw this.errorControlCharInString();this.consume()}while(this.nextChar())}recordEscapeReplacement(n){return this.state.buf+=n,this.goto(this.parseBasicString)}parseMultiStringMaybe(){return this.char===CHAR_QUOT?this.next(this.parseMultiString):this.returnNow()}parseMultiString(){return this.char===CTRL_M?null:this.char===CTRL_J?this.next(this.parseMultiStringContent):this.goto(this.parseMultiStringContent)}parseMultiStringContent(){do{if(this.char===CHAR_BSOL)return this.call(this.parseMultiEscape,this.recordMultiEscapeReplacement);if(this.char===CHAR_QUOT)return this.next(this.parseMultiEnd);if(this.char===t.END)throw this.error(new TomlError("Unterminated multi-line string"));if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I&&this.char!==CTRL_J&&this.char!==CTRL_M)throw this.errorControlCharInString();this.consume()}while(this.nextChar())}errorControlCharInString(){let n="\\u00";return this.char<16&&(n+="0"),n+=this.char.toString(16),this.error(new TomlError(`Control characters (codes < 0x1f and 0x7f) are not allowed in strings, use ${n} instead`))}recordMultiEscapeReplacement(n){return this.state.buf+=n,this.goto(this.parseMultiStringContent)}parseMultiEnd(){return this.char===CHAR_QUOT?this.next(this.parseMultiEnd2):(this.state.buf+='"',this.goto(this.parseMultiStringContent))}parseMultiEnd2(){return this.char===CHAR_QUOT?this.return():(this.state.buf+='""',this.goto(this.parseMultiStringContent))}parseMultiEscape(){return this.char===CTRL_M||this.char===CTRL_J?this.next(this.parseMultiTrim):this.char===CHAR_SP||this.char===CTRL_I?this.next(this.parsePreMultiTrim):this.goto(this.parseEscape)}parsePreMultiTrim(){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===CTRL_M||this.char===CTRL_J)return this.next(this.parseMultiTrim);throw this.error(new TomlError("Can't escape whitespace"))}parseMultiTrim(){return this.char===CTRL_J||this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M?null:this.returnNow()}parseEscape(){if(this.char in escapes)return this.return(escapes[this.char]);if(this.char===CHAR_u)return this.call(this.parseSmallUnicode,this.parseUnicodeReturn);if(this.char===CHAR_U)return this.call(this.parseLargeUnicode,this.parseUnicodeReturn);throw this.error(new TomlError("Unknown escape character: "+this.char))}parseUnicodeReturn(n){try{let i=parseInt(n,16);if(i>=SURROGATE_FIRST&&i<=SURROGATE_LAST)throw this.error(new TomlError("Invalid unicode, character in range 0xD800 - 0xDFFF is reserved"));return this.returnNow(String.fromCodePoint(i))}catch(i){throw this.error(TomlError.wrap(i))}}parseSmallUnicode(){if(isHexit(this.char)){if(this.consume(),this.state.buf.length>=4)return this.return()}else throw this.error(new TomlError("Invalid character in unicode sequence, expected hex"))}parseLargeUnicode(){if(isHexit(this.char)){if(this.consume(),this.state.buf.length>=8)return this.return()}else throw this.error(new TomlError("Invalid character in unicode sequence, expected hex"))}parseNumberSign(){return this.consume(),this.next(this.parseMaybeSignedInfOrNan)}parseMaybeSignedInfOrNan(){return this.char===CHAR_i?this.next(this.parseInf):this.char===CHAR_n?this.next(this.parseNan):this.callNow(this.parseNoUnder,this.parseNumberIntegerStart)}parseNumberIntegerStart(){return this.char===CHAR_0?(this.consume(),this.next(this.parseNumberIntegerExponentOrDecimal)):this.goto(this.parseNumberInteger)}parseNumberIntegerExponentOrDecimal(){return this.char===CHAR_PERIOD?(this.consume(),this.call(this.parseNoUnder,this.parseNumberFloat)):this.char===CHAR_E||this.char===CHAR_e?(this.consume(),this.next(this.parseNumberExponentSign)):this.returnNow(Integer(this.state.buf))}parseNumberInteger(){if(isDigit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnder);if(this.char===CHAR_E||this.char===CHAR_e)return this.consume(),this.next(this.parseNumberExponentSign);if(this.char===CHAR_PERIOD)return this.consume(),this.call(this.parseNoUnder,this.parseNumberFloat);{let n=Integer(this.state.buf);if(n.isNaN())throw this.error(new TomlError("Invalid number"));return this.returnNow(n)}}}parseNoUnder(){if(this.char===CHAR_LOWBAR||this.char===CHAR_PERIOD||this.char===CHAR_E||this.char===CHAR_e)throw this.error(new TomlError("Unexpected character, expected digit"));if(this.atEndOfWord())throw this.error(new TomlError("Incomplete number"));return this.returnNow()}parseNoUnderHexOctBinLiteral(){if(this.char===CHAR_LOWBAR||this.char===CHAR_PERIOD)throw this.error(new TomlError("Unexpected character, expected digit"));if(this.atEndOfWord())throw this.error(new TomlError("Incomplete number"));return this.returnNow()}parseNumberFloat(){if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnder,this.parseNumberFloat);if(isDigit(this.char))this.consume();else return this.char===CHAR_E||this.char===CHAR_e?(this.consume(),this.next(this.parseNumberExponentSign)):this.returnNow(Float(this.state.buf))}parseNumberExponentSign(){if(isDigit(this.char))return this.goto(this.parseNumberExponent);if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)this.consume(),this.call(this.parseNoUnder,this.parseNumberExponent);else throw this.error(new TomlError("Unexpected character, expected -, + or digit"))}parseNumberExponent(){if(isDigit(this.char))this.consume();else return this.char===CHAR_LOWBAR?this.call(this.parseNoUnder):this.returnNow(Float(this.state.buf))}parseNumberOrDateTime(){return this.char===CHAR_0?(this.consume(),this.next(this.parseNumberBaseOrDateTime)):this.goto(this.parseNumberOrDateTimeOnly)}parseNumberOrDateTimeOnly(){if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnder,this.parseNumberInteger);if(isDigit(this.char))this.consume(),this.state.buf.length>4&&this.next(this.parseNumberInteger);else return this.char===CHAR_E||this.char===CHAR_e?(this.consume(),this.next(this.parseNumberExponentSign)):this.char===CHAR_PERIOD?(this.consume(),this.call(this.parseNoUnder,this.parseNumberFloat)):this.char===CHAR_HYPHEN?this.goto(this.parseDateTime):this.char===CHAR_COLON?this.goto(this.parseOnlyTimeHour):this.returnNow(Integer(this.state.buf))}parseDateTimeOnly(){if(this.state.buf.length<4){if(isDigit(this.char))return this.consume();if(this.char===CHAR_COLON)return this.goto(this.parseOnlyTimeHour);throw this.error(new TomlError("Expected digit while parsing year part of a date"))}else{if(this.char===CHAR_HYPHEN)return this.goto(this.parseDateTime);throw this.error(new TomlError("Expected hyphen (-) while parsing year part of date"))}}parseNumberBaseOrDateTime(){return this.char===CHAR_b?(this.consume(),this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerBin)):this.char===CHAR_o?(this.consume(),this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerOct)):this.char===CHAR_x?(this.consume(),this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerHex)):this.char===CHAR_PERIOD?this.goto(this.parseNumberInteger):isDigit(this.char)?this.goto(this.parseDateTimeOnly):this.returnNow(Integer(this.state.buf))}parseIntegerHex(){if(isHexit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnderHexOctBinLiteral);{let n=Integer(this.state.buf);if(n.isNaN())throw this.error(new TomlError("Invalid number"));return this.returnNow(n)}}}parseIntegerOct(){if(isOctit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnderHexOctBinLiteral);{let n=Integer(this.state.buf);if(n.isNaN())throw this.error(new TomlError("Invalid number"));return this.returnNow(n)}}}parseIntegerBin(){if(isBit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnderHexOctBinLiteral);{let n=Integer(this.state.buf);if(n.isNaN())throw this.error(new TomlError("Invalid number"));return this.returnNow(n)}}}parseDateTime(){if(this.state.buf.length<4)throw this.error(new TomlError("Years less than 1000 must be zero padded to four characters"));return this.state.result=this.state.buf,this.state.buf="",this.next(this.parseDateMonth)}parseDateMonth(){if(this.char===CHAR_HYPHEN){if(this.state.buf.length<2)throw this.error(new TomlError("Months less than 10 must be zero padded to two characters"));return this.state.result+="-"+this.state.buf,this.state.buf="",this.next(this.parseDateDay)}else if(isDigit(this.char))this.consume();else throw this.error(new TomlError("Incomplete datetime"))}parseDateDay(){if(this.char===CHAR_T||this.char===CHAR_SP){if(this.state.buf.length<2)throw this.error(new TomlError("Days less than 10 must be zero padded to two characters"));return this.state.result+="-"+this.state.buf,this.state.buf="",this.next(this.parseStartTimeHour)}else{if(this.atEndOfWord())return this.returnNow(createDate(this.state.result+"-"+this.state.buf));if(isDigit(this.char))this.consume();else throw this.error(new TomlError("Incomplete datetime"))}}parseStartTimeHour(){return this.atEndOfWord()?this.returnNow(createDate(this.state.result)):this.goto(this.parseTimeHour)}parseTimeHour(){if(this.char===CHAR_COLON){if(this.state.buf.length<2)throw this.error(new TomlError("Hours less than 10 must be zero padded to two characters"));return this.state.result+="T"+this.state.buf,this.state.buf="",this.next(this.parseTimeMin)}else if(isDigit(this.char))this.consume();else throw this.error(new TomlError("Incomplete datetime"))}parseTimeMin(){if(this.state.buf.length<2&&isDigit(this.char))this.consume();else{if(this.state.buf.length===2&&this.char===CHAR_COLON)return this.state.result+=":"+this.state.buf,this.state.buf="",this.next(this.parseTimeSec);throw this.error(new TomlError("Incomplete datetime"))}}parseTimeSec(){if(isDigit(this.char)){if(this.consume(),this.state.buf.length===2)return this.state.result+=":"+this.state.buf,this.state.buf="",this.next(this.parseTimeZoneOrFraction)}else throw this.error(new TomlError("Incomplete datetime"))}parseOnlyTimeHour(){if(this.char===CHAR_COLON){if(this.state.buf.length<2)throw this.error(new TomlError("Hours less than 10 must be zero padded to two characters"));return this.state.result=this.state.buf,this.state.buf="",this.next(this.parseOnlyTimeMin)}else throw this.error(new TomlError("Incomplete time"))}parseOnlyTimeMin(){if(this.state.buf.length<2&&isDigit(this.char))this.consume();else{if(this.state.buf.length===2&&this.char===CHAR_COLON)return this.state.result+=":"+this.state.buf,this.state.buf="",this.next(this.parseOnlyTimeSec);throw this.error(new TomlError("Incomplete time"))}}parseOnlyTimeSec(){if(isDigit(this.char)){if(this.consume(),this.state.buf.length===2)return this.next(this.parseOnlyTimeFractionMaybe)}else throw this.error(new TomlError("Incomplete time"))}parseOnlyTimeFractionMaybe(){if(this.state.result+=":"+this.state.buf,this.char===CHAR_PERIOD)this.state.buf="",this.next(this.parseOnlyTimeFraction);else return this.return(createTime(this.state.result))}parseOnlyTimeFraction(){if(isDigit(this.char))this.consume();else if(this.atEndOfWord()){if(this.state.buf.length===0)throw this.error(new TomlError("Expected digit in milliseconds"));return this.returnNow(createTime(this.state.result+"."+this.state.buf))}else throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"))}parseTimeZoneOrFraction(){if(this.char===CHAR_PERIOD)this.consume(),this.next(this.parseDateTimeFraction);else if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)this.consume(),this.next(this.parseTimeZoneHour);else{if(this.char===CHAR_Z)return this.consume(),this.return(createDateTime(this.state.result+this.state.buf));if(this.atEndOfWord())return this.returnNow(createDateTimeFloat(this.state.result+this.state.buf));throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"))}}parseDateTimeFraction(){if(isDigit(this.char))this.consume();else{if(this.state.buf.length===1)throw this.error(new TomlError("Expected digit in milliseconds"));if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)this.consume(),this.next(this.parseTimeZoneHour);else{if(this.char===CHAR_Z)return this.consume(),this.return(createDateTime(this.state.result+this.state.buf));if(this.atEndOfWord())return this.returnNow(createDateTimeFloat(this.state.result+this.state.buf));throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"))}}}parseTimeZoneHour(){if(isDigit(this.char)){if(this.consume(),/\d\d$/.test(this.state.buf))return this.next(this.parseTimeZoneSep)}else throw this.error(new TomlError("Unexpected character in datetime, expected digit"))}parseTimeZoneSep(){if(this.char===CHAR_COLON)this.consume(),this.next(this.parseTimeZoneMin);else throw this.error(new TomlError("Unexpected character in datetime, expected colon"))}parseTimeZoneMin(){if(isDigit(this.char)){if(this.consume(),/\d\d$/.test(this.state.buf))return this.return(createDateTime(this.state.result+this.state.buf))}else throw this.error(new TomlError("Unexpected character in datetime, expected digit"))}parseBoolean(){if(this.char===CHAR_t)return this.consume(),this.next(this.parseTrue_r);if(this.char===CHAR_f)return this.consume(),this.next(this.parseFalse_a)}parseTrue_r(){if(this.char===CHAR_r)return this.consume(),this.next(this.parseTrue_u);throw this.error(new TomlError("Invalid boolean, expected true or false"))}parseTrue_u(){if(this.char===CHAR_u)return this.consume(),this.next(this.parseTrue_e);throw this.error(new TomlError("Invalid boolean, expected true or false"))}parseTrue_e(){if(this.char===CHAR_e)return this.return(!0);throw this.error(new TomlError("Invalid boolean, expected true or false"))}parseFalse_a(){if(this.char===CHAR_a)return this.consume(),this.next(this.parseFalse_l);throw this.error(new TomlError("Invalid boolean, expected true or false"))}parseFalse_l(){if(this.char===CHAR_l)return this.consume(),this.next(this.parseFalse_s);throw this.error(new TomlError("Invalid boolean, expected true or false"))}parseFalse_s(){if(this.char===CHAR_s)return this.consume(),this.next(this.parseFalse_e);throw this.error(new TomlError("Invalid boolean, expected true or false"))}parseFalse_e(){if(this.char===CHAR_e)return this.return(!1);throw this.error(new TomlError("Invalid boolean, expected true or false"))}parseInlineList(){if(this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M||this.char===CTRL_J)return null;if(this.char===t.END)throw this.error(new TomlError("Unterminated inline array"));return this.char===CHAR_NUM?this.call(this.parseComment):this.char===CHAR_RSQB?this.return(this.state.resultArr||InlineList()):this.callNow(this.parseValue,this.recordInlineListValue)}recordInlineListValue(n){if(this.state.resultArr){let i=this.state.resultArr[_contentType],s=tomlType(n);if(i!==s)throw this.error(new TomlError(`Inline lists must be a single type, not a mix of ${i} and ${s}`))}else this.state.resultArr=InlineList(tomlType(n));return isFloat(n)||isInteger(n)?this.state.resultArr.push(n.valueOf()):this.state.resultArr.push(n),this.goto(this.parseInlineListNext)}parseInlineListNext(){if(this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M||this.char===CTRL_J)return null;if(this.char===CHAR_NUM)return this.call(this.parseComment);if(this.char===CHAR_COMMA)return this.next(this.parseInlineList);if(this.char===CHAR_RSQB)return this.goto(this.parseInlineList);throw this.error(new TomlError("Invalid character, expected whitespace, comma (,) or close bracket (])"))}parseInlineTable(){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===t.END||this.char===CHAR_NUM||this.char===CTRL_J||this.char===CTRL_M)throw this.error(new TomlError("Unterminated inline array"));return this.char===CHAR_RCUB?this.return(this.state.resultTable||InlineTable()):(this.state.resultTable||(this.state.resultTable=InlineTable()),this.callNow(this.parseAssign,this.recordInlineTableValue))}recordInlineTableValue(n){let i=this.state.resultTable,s=n.key.pop();for(let a of n.key){if(hasKey(i,a)&&(!isTable(i[a])||i[a][_declared]))throw this.error(new TomlError("Can't redefine existing key"));i=i[a]=i[a]||Table()}if(hasKey(i,s))throw this.error(new TomlError("Can't redefine existing key"));return isInteger(n.value)||isFloat(n.value)?i[s]=n.value.valueOf():i[s]=n.value,this.goto(this.parseInlineTableNext)}parseInlineTableNext(){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===t.END||this.char===CHAR_NUM||this.char===CTRL_J||this.char===CTRL_M)throw this.error(new TomlError("Unterminated inline array"));if(this.char===CHAR_COMMA)return this.next(this.parseInlineTable);if(this.char===CHAR_RCUB)return this.goto(this.parseInlineTable);throw this.error(new TomlError("Invalid character, expected whitespace, comma (,) or close bracket (])"))}}return e}o(makeParserClass,"makeParserClass")});var rI=x((Oht,_ee)=>{"use strict";_ee.exports=tGe;function tGe(t,e){if(t.pos==null||t.line==null)return t;let r=t.message;if(r+=` at row ${t.line+1}, col ${t.col+1}, pos ${t.pos}: `,e&&e.split){let n=e.split(/\n/),i=String(Math.min(n.length,t.line+3)).length,s=" ";for(;s.length "+n[a]+` `,r+=s+" ";for(let l=0;l{"use strict";j8.exports=iHe;var rHe=EC(),nHe=BC();function iHe(t){global.Buffer&&global.Buffer.isBuffer(t)&&(t=t.toString("utf8"));let e=new rHe;try{return e.parse(t),e.finish()}catch(r){throw nHe(r,t)}}o(iHe,"parseString")});var V8=g((xXe,J8)=>{"use strict";J8.exports=oHe;var sHe=EC(),Y8=BC();function oHe(t,e){e||(e={});let r=0,n=e.blocksize||40960,i=new sHe;return new Promise((a,c)=>{setImmediate(s,r,n,a,c)});function s(a,c,l,A){if(a>=t.length)try{return l(i.finish())}catch(u){return A(Y8(u,t))}try{i.parse(t.slice(a,a+c)),setImmediate(s,a+c,c,l,A)}catch(u){A(Y8(u,t))}}}o(oHe,"parseAsync")});var K8=g((RXe,$8)=>{"use strict";$8.exports=cHe;var aHe=require("stream"),W8=EC();function cHe(t){return t?lHe(t):AHe(t)}o(cHe,"parseStream");function lHe(t){let e=new W8;return t.setEncoding("utf8"),new Promise((r,n)=>{let i,s=!1,a=!1;function c(){if(s=!0,!i)try{r(e.finish())}catch(u){n(u)}}o(c,"finish");function l(u){a=!0,n(u)}o(l,"error"),t.once("end",c),t.once("error",l),A();function A(){i=!0;let u;for(;(u=t.read())!==null;)try{e.parse(u)}catch(d){return l(d)}if(i=!1,s)return c();a||t.once("readable",A)}o(A,"readNext")})}o(lHe,"parseReadable");function AHe(){let t=new W8;return new aHe.Transform({objectMode:!0,transform(e,r,n){try{t.parse(e.toString(r))}catch(i){this.emit("error",i)}n()},flush(e){try{this.push(t.finish())}catch(r){this.emit("error",r)}e()}})}o(AHe,"parseTransform")});var X8=g((vXe,Sd)=>{"use strict";Sd.exports=G8();Sd.exports.async=V8();Sd.exports.stream=K8();Sd.exports.prettyError=BC()});var o5=g((PXe,L_)=>{"use strict";L_.exports=uHe;L_.exports.value=k_;function uHe(t){if(t===null)throw Qa("null");if(t===void 0)throw Qa("undefined");if(typeof t!="object")throw Qa(typeof t);if(typeof t.toJSON=="function"&&(t=t.toJSON()),t==null)return null;let e=Lr(t);if(e!=="table")throw Qa(e);return M_("","",t)}o(uHe,"stringify");function Qa(t){return new Error("Can only stringify objects, not "+t)}o(Qa,"typeError");function dHe(){return new Error("Array values can't have mixed types")}o(dHe,"arrayOneTypeError");function Z8(t){return Object.keys(t).filter(e=>e5(t[e]))}o(Z8,"getInlineKeys");function pHe(t){return Object.keys(t).filter(e=>!e5(t[e]))}o(pHe,"getComplexKeys");function IC(t){let e=Array.isArray(t)?[]:Object.prototype.hasOwnProperty.call(t,"__proto__")?{["__proto__"]:void 0}:{};for(let r of Object.keys(t))t[r]&&typeof t[r].toJSON=="function"&&!("toISOString"in t[r])?e[r]=t[r].toJSON():e[r]=t[r];return e}o(IC,"toJSON");function M_(t,e,r){r=IC(r);var n,i;n=Z8(r),i=pHe(r);var s=[],a=e||"";n.forEach(l=>{var A=Lr(r[l]);A!=="undefined"&&A!=="null"&&s.push(a+bC(l)+" = "+n5(r[l],!0))}),s.length>0&&s.push("");var c=t&&n.length>0?e+" ":"";return i.forEach(l=>{s.push(QHe(t,c,l,r[l]))}),s.join(` -`)}o(M_,"stringifyObject");function e5(t){switch(Lr(t)){case"undefined":case"null":case"integer":case"nan":case"float":case"boolean":case"string":case"datetime":return!0;case"array":return t.length===0||Lr(t[0])!=="table";case"table":return Object.keys(t).length===0;default:return!1}}o(e5,"isInline");function Lr(t){return t===void 0?"undefined":t===null?"null":typeof t=="bigint"||Number.isInteger(t)&&!Object.is(t,-0)?"integer":typeof t=="number"?"float":typeof t=="boolean"?"boolean":typeof t=="string"?"string":"toISOString"in t?isNaN(t)?"undefined":"datetime":Array.isArray(t)?"array":"table"}o(Lr,"tomlType");function bC(t){var e=String(t);return/^[-A-Za-z0-9_]+$/.test(e)?e:t5(e)}o(bC,"stringifyKey");function t5(t){return'"'+r5(t).replace(/"/g,'\\"')+'"'}o(t5,"stringifyBasicString");function hHe(t){return"'"+t+"'"}o(hHe,"stringifyLiteralString");function fHe(t,e){for(;e.length"\\u"+fHe(4,e.codePointAt(0).toString(16)))}o(r5,"escapeString");function mHe(t){let e=t.split(/\n/).map(r=>r5(r).replace(/"(?="")/g,'\\"')).join(` +`,t}o(tGe,"prettyError")});var kee=x((Lht,Dee)=>{"use strict";Dee.exports=iGe;var rGe=tI(),nGe=rI();function iGe(t){global.Buffer&&global.Buffer.isBuffer(t)&&(t=t.toString("utf8"));let e=new rGe;try{return e.parse(t),e.finish()}catch(r){throw nGe(r,t)}}o(iGe,"parseString")});var Mee=x((Fht,Oee)=>{"use strict";Oee.exports=oGe;var sGe=tI(),Tee=rI();function oGe(t,e){e||(e={});let r=0,n=e.blocksize||40960,i=new sGe;return new Promise((a,c)=>{setImmediate(s,r,n,a,c)});function s(a,c,l,u){if(a>=t.length)try{return l(i.finish())}catch(A){return u(Tee(A,t))}try{i.parse(t.slice(a,a+c)),setImmediate(s,a+c,c,l,u)}catch(A){u(Tee(A,t))}}}o(oGe,"parseAsync")});var Fee=x((qht,Uee)=>{"use strict";Uee.exports=cGe;var aGe=require("stream"),Lee=tI();function cGe(t){return t?lGe(t):uGe(t)}o(cGe,"parseStream");function lGe(t){let e=new Lee;return t.setEncoding("utf8"),new Promise((r,n)=>{let i,s=!1,a=!1;function c(){if(s=!0,!i)try{r(e.finish())}catch(A){n(A)}}o(c,"finish");function l(A){a=!0,n(A)}o(l,"error"),t.once("end",c),t.once("error",l),u();function u(){i=!0;let A;for(;(A=t.read())!==null;)try{e.parse(A)}catch(d){return l(d)}if(i=!1,s)return c();a||t.once("readable",u)}o(u,"readNext")})}o(lGe,"parseReadable");function uGe(){let t=new Lee;return new aGe.Transform({objectMode:!0,transform(e,r,n){try{t.parse(e.toString(r))}catch(i){this.emit("error",i)}n()},flush(e){try{this.push(t.finish())}catch(r){this.emit("error",r)}e()}})}o(uGe,"parseTransform")});var Hee=x((Ght,_g)=>{"use strict";_g.exports=kee();_g.exports.async=Mee();_g.exports.stream=Fee();_g.exports.prettyError=rI()});var Vee=x((jht,Kk)=>{"use strict";Kk.exports=AGe;Kk.exports.value=Yk;function AGe(t){if(t===null)throw Du("null");if(t===void 0)throw Du("undefined");if(typeof t!="object")throw Du(typeof t);if(typeof t.toJSON=="function"&&(t=t.toJSON()),t==null)return null;let e=li(t);if(e!=="table")throw Du(e);return jk("","",t)}o(AGe,"stringify");function Du(t){return new Error("Can only stringify objects, not "+t)}o(Du,"typeError");function dGe(){return new Error("Array values can't have mixed types")}o(dGe,"arrayOneTypeError");function qee(t){return Object.keys(t).filter(e=>zee(t[e]))}o(qee,"getInlineKeys");function fGe(t){return Object.keys(t).filter(e=>!zee(t[e]))}o(fGe,"getComplexKeys");function nI(t){let e=Array.isArray(t)?[]:Object.prototype.hasOwnProperty.call(t,"__proto__")?{["__proto__"]:void 0}:{};for(let r of Object.keys(t))t[r]&&typeof t[r].toJSON=="function"&&!("toISOString"in t[r])?e[r]=t[r].toJSON():e[r]=t[r];return e}o(nI,"toJSON");function jk(t,e,r){r=nI(r);var n,i;n=qee(r),i=fGe(r);var s=[],a=e||"";n.forEach(l=>{var u=li(r[l]);u!=="undefined"&&u!=="null"&&s.push(a+iI(l)+" = "+Yee(r[l],!0))}),s.length>0&&s.push("");var c=t&&n.length>0?e+" ":"";return i.forEach(l=>{s.push(BGe(t,c,l,r[l]))}),s.join(` +`)}o(jk,"stringifyObject");function zee(t){switch(li(t)){case"undefined":case"null":case"integer":case"nan":case"float":case"boolean":case"string":case"datetime":return!0;case"array":return t.length===0||li(t[0])!=="table";case"table":return Object.keys(t).length===0;default:return!1}}o(zee,"isInline");function li(t){return t===void 0?"undefined":t===null?"null":typeof t=="bigint"||Number.isInteger(t)&&!Object.is(t,-0)?"integer":typeof t=="number"?"float":typeof t=="boolean"?"boolean":typeof t=="string"?"string":"toISOString"in t?isNaN(t)?"undefined":"datetime":Array.isArray(t)?"array":"table"}o(li,"tomlType");function iI(t){var e=String(t);return/^[-A-Za-z0-9_]+$/.test(e)?e:Gee(e)}o(iI,"stringifyKey");function Gee(t){return'"'+jee(t).replace(/"/g,'\\"')+'"'}o(Gee,"stringifyBasicString");function hGe(t){return"'"+t+"'"}o(hGe,"stringifyLiteralString");function pGe(t,e){for(;e.length"\\u"+pGe(4,e.codePointAt(0).toString(16)))}o(jee,"escapeString");function gGe(t){let e=t.split(/\n/).map(r=>jee(r).replace(/"(?="")/g,'\\"')).join(` `);return e.slice(-1)==='"'&&(e+=`\\ `),`""" -`+e+'"""'}o(mHe,"stringifyMultilineString");function n5(t,e){let r=Lr(t);return r==="string"&&(e&&/\n/.test(t)?r="string-multiline":!/[\b\t\n\f\r']/.test(t)&&/"/.test(t)&&(r="string-literal")),k_(t,r)}o(n5,"stringifyAnyInline");function k_(t,e){switch(e||(e=Lr(t)),e){case"string-multiline":return mHe(t);case"string":return t5(t);case"string-literal":return hHe(t);case"integer":return i5(t);case"float":return gHe(t);case"boolean":return yHe(t);case"datetime":return CHe(t);case"array":return IHe(t.filter(r=>Lr(r)!=="null"&&Lr(r)!=="undefined"&&Lr(r)!=="nan"));case"table":return bHe(t);default:throw Qa(e)}}o(k_,"stringifyInline");function i5(t){return String(t).replace(/\B(?=(\d{3})+(?!\d))/g,"_")}o(i5,"stringifyInteger");function gHe(t){if(t===1/0)return"inf";if(t===-1/0)return"-inf";if(Object.is(t,NaN))return"nan";if(Object.is(t,-0))return"-0.0";var e=String(t).split("."),r=e[0],n=e[1]||0;return i5(r)+"."+n}o(gHe,"stringifyFloat");function yHe(t){return String(t)}o(yHe,"stringifyBoolean");function CHe(t){return t.toISOString()}o(CHe,"stringifyDatetime");function EHe(t){return t==="float"||t==="integer"}o(EHe,"isNumber");function BHe(t){var e=Lr(t[0]);return t.every(r=>Lr(r)===e)?e:t.every(r=>EHe(Lr(r)))?"float":"mixed"}o(BHe,"arrayType");function s5(t){let e=BHe(t);if(e==="mixed")throw dHe();return e}o(s5,"validateArray");function IHe(t){t=IC(t);let e=s5(t);var r="[",n=t.map(i=>k_(i,e));return n.join(", ").length>60||/\n/.test(n)?r+=` +`+e+'"""'}o(gGe,"stringifyMultilineString");function Yee(t,e){let r=li(t);return r==="string"&&(e&&/\n/.test(t)?r="string-multiline":!/[\b\t\n\f\r']/.test(t)&&/"/.test(t)&&(r="string-literal")),Yk(t,r)}o(Yee,"stringifyAnyInline");function Yk(t,e){switch(e||(e=li(t)),e){case"string-multiline":return gGe(t);case"string":return Gee(t);case"string-literal":return hGe(t);case"integer":return Kee(t);case"float":return mGe(t);case"boolean":return yGe(t);case"datetime":return EGe(t);case"array":return xGe(t.filter(r=>li(r)!=="null"&&li(r)!=="undefined"&&li(r)!=="nan"));case"table":return IGe(t);default:throw Du(e)}}o(Yk,"stringifyInline");function Kee(t){return String(t).replace(/\B(?=(\d{3})+(?!\d))/g,"_")}o(Kee,"stringifyInteger");function mGe(t){if(t===1/0)return"inf";if(t===-1/0)return"-inf";if(Object.is(t,NaN))return"nan";if(Object.is(t,-0))return"-0.0";var e=String(t).split("."),r=e[0],n=e[1]||0;return Kee(r)+"."+n}o(mGe,"stringifyFloat");function yGe(t){return String(t)}o(yGe,"stringifyBoolean");function EGe(t){return t.toISOString()}o(EGe,"stringifyDatetime");function bGe(t){return t==="float"||t==="integer"}o(bGe,"isNumber");function CGe(t){var e=li(t[0]);return t.every(r=>li(r)===e)?e:t.every(r=>bGe(li(r)))?"float":"mixed"}o(CGe,"arrayType");function Jee(t){let e=CGe(t);if(e==="mixed")throw dGe();return e}o(Jee,"validateArray");function xGe(t){t=nI(t);let e=Jee(t);var r="[",n=t.map(i=>Yk(i,e));return n.join(", ").length>60||/\n/.test(n)?r+=` `+n.join(`, `)+` -`:r+=" "+n.join(", ")+(n.length>0?" ":""),r+"]"}o(IHe,"stringifyInlineArray");function bHe(t){t=IC(t);var e=[];return Object.keys(t).forEach(r=>{e.push(bC(r)+" = "+n5(t[r],!1))}),"{ "+e.join(", ")+(e.length>0?" ":"")+"}"}o(bHe,"stringifyInlineTable");function QHe(t,e,r,n){var i=Lr(n);if(i==="array")return wHe(t,e,r,n);if(i==="table")return NHe(t,e,r,n);throw Qa(i)}o(QHe,"stringifyComplex");function wHe(t,e,r,n){n=IC(n),s5(n);var i=Lr(n[0]);if(i!=="table")throw Qa(i);var s=t+bC(r),a="";return n.forEach(c=>{a.length>0&&(a+=` +`:r+=" "+n.join(", ")+(n.length>0?" ":""),r+"]"}o(xGe,"stringifyInlineArray");function IGe(t){t=nI(t);var e=[];return Object.keys(t).forEach(r=>{e.push(iI(r)+" = "+Yee(t[r],!1))}),"{ "+e.join(", ")+(e.length>0?" ":"")+"}"}o(IGe,"stringifyInlineTable");function BGe(t,e,r,n){var i=li(n);if(i==="array")return wGe(t,e,r,n);if(i==="table")return QGe(t,e,r,n);throw Du(i)}o(BGe,"stringifyComplex");function wGe(t,e,r,n){n=nI(n),Jee(n);var i=li(n[0]);if(i!=="table")throw Du(i);var s=t+iI(r),a="";return n.forEach(c=>{a.length>0&&(a+=` `),a+=e+"[["+s+`]] -`,a+=M_(s+".",e,c)}),a}o(wHe,"stringifyArrayOfTables");function NHe(t,e,r,n){var i=t+bC(r),s="";return Z8(n).length>0&&(s+=e+"["+i+`] -`),s+M_(i+".",e,n)}o(NHe,"stringifyComplexTable")});var a5=g(U_=>{"use strict";U_.parse=X8();U_.stringify=o5()});var _5=require("node:os"),Vt=Ji(ft());var Q5=require("node:os"),sA=require("node:path"),qn=require("node:fs"),zi=Ji(ft()),xC=Ji(m8()),Rd=Ji(_8()),j_=Ji(Nc());var tA=require("node:fs"),F_=Ji(ft()),QC=Ji(a5());function c5(t,e){if(!e.length)return;let r=0;if(e.forEach(s=>{try{new URL(s.url)}catch{throw new Error(`Invalid registry URL: ${s.url}`)}s.scope||r++}),r>1)throw new Error("You can't have more than one global registry.");(0,F_.info)(`Writing bunfig.toml to '${t}'.`);let n={};if((0,tA.existsSync)(t))try{let s=(0,tA.readFileSync)(t,{encoding:"utf-8"});n=(0,QC.parse)(s)}catch(s){(0,F_.info)(`Error reading existing bunfig: ${s.message}`),n={}}n.install=n?.install||{},n.install.scopes=n?.install.scopes||{};let i=e.find(s=>!s.scope);i&&(n.install.registry={url:i.url,...i.token?{token:i.token}:{}});for(let s of e)if(s.scope){let a=s.scope.startsWith("@")?s.scope.toLowerCase():`@${s.scope.toLowerCase()}`;n.install.scopes[a]={url:s.url,...s.token?{token:s.token}:{}}}Object.keys(n.install.scopes).length===0&&delete n.install.scopes,(0,tA.writeFileSync)(t,(0,QC.stringify)(n),{encoding:"utf8"})}o(c5,"writeBunfig");var w5=Ji(ft());var yo=Ji(ft()),h5=require("node:console"),f5=require("node:crypto"),Na=require("node:fs"),wC=require("node:path");var q_=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,rA=o(t=>{if(typeof t!="string")throw new TypeError("Invalid argument expected string");let e=t.match(q_);if(!e)throw new Error(`Invalid argument not valid semver ('${t}' received)`);return e.shift(),e},"validateAndParse"),l5=o(t=>t==="*"||t==="x"||t==="X","isWildcard"),A5=o(t=>{let e=parseInt(t,10);return isNaN(e)?t:e},"tryParse"),xHe=o((t,e)=>typeof t!=typeof e?[String(t),String(e)]:[t,e],"forceType"),SHe=o((t,e)=>{if(l5(t)||l5(e))return 0;let[r,n]=xHe(A5(t),A5(e));return r>n?1:r{for(let r=0;r{let r=rA(t),n=rA(e),i=r.pop(),s=n.pop(),a=go(r,n);return a!==0?a:i&&s?go(i.split("."),s.split(".")):i||s?i?-1:1:0},"compareVersions");var d5=o((t,e,r)=>{RHe(r);let n=wa(t,e);return p5[r].includes(n)},"compare"),p5={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1],"!=":[-1,1]},u5=Object.keys(p5),RHe=o(t=>{if(typeof t!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof t}`);if(u5.indexOf(t)===-1)throw new Error(`Invalid operator, expected one of ${u5.join("|")}`)},"assertValidOperator");var nA=o((t,e)=>{if(e=e.replace(/([><=]+)\s+/g,"$1"),e.includes("||"))return e.split("||").some(S=>nA(t,S));if(e.includes(" - ")){let[S,w]=e.split(" - ",2);return nA(t,`>=${S} <=${w}`)}else if(e.includes(" "))return e.trim().replace(/\s{2,}/g," ").split(" ").every(S=>nA(t,S));let r=e.match(/^([<>=~^]+)/),n=r?r[1]:"=";if(n!=="^"&&n!=="~")return d5(t,e,n);let[i,s,a,,c]=rA(t),[l,A,u,,d]=rA(e),f=[i,s??"x",a??"x"],m=[l,A??"x",u??"x"];if(d&&(!c||go(f,m)!==0||go(c.split("."),d.split("."))===-1))return!1;let C=m.findIndex(S=>S!=="0")+1,Q=n==="~"?2:C>1?C:1;return!(go(f.slice(0,Q),m.slice(0,Q))!==0||go(f.slice(Q),m.slice(Q))===-1)},"satisfies");var iA=o(t=>typeof t=="string"&&/^[v\d]/.test(t)&&q_.test(t),"validate"),H_=o(t=>typeof t=="string"&&/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/.test(t),"validateStrict");var _He="1.3.10";function m5(t){return`bun-${(0,f5.createHash)("sha1").update(t).digest("base64")}`}o(m5,"getCacheKey");function g5(t){return t.match(/\/bun-v([^/]+)\//)?.[1]}o(g5,"extractVersionFromUrl");async function y5(t,e){let r=new Headers(e?.headers);r.has("User-Agent")||r.set("User-Agent","@oven-sh/setup-bun");let n=await fetch(t,{...e,headers:r});if(!n.ok){let i=await n.text().catch(()=>"");throw new Error(`Failed to fetch url ${t}. (status code: ${n.status}, status text: ${n.statusText})${i?` -${i}`:""}`)}return n}o(y5,"request");function C5(t,e){return t.endsWith(e)?t:((0,Na.renameSync)(t,t+e),t+e)}o(C5,"addExtension");function NC(){let t=process.platform;return t==="win32"?"windows":t}o(NC,"getPlatform");function E5(t){if(!t)return!1;let e=t.replace(/^bun-v/,"");return iA(e)?wa(e,_He)>=0:!0}o(E5,"hasNativeWindowsArm64");function B5(t,e,r){return t==="windows"&&(e==="aarch64"||e==="arm64")&&!E5(r)?((0,yo.warning)(["\u26A0\uFE0F This version of Bun does not provide native arm64 builds for Windows.","Using x64 baseline build which will run through Microsoft's x64 emulation layer.","This may result in reduced performance and potential compatibility issues.","\u{1F4A1} For best performance, consider using Bun >= 1.3.10, x64 Windows runners, or other platforms with native support."].join(` -`)),"x64"):e==="arm64"?"aarch64":e}o(B5,"getArchitecture");function I5(t,e,r,n){if(t==="windows"&&(e==="aarch64"||e==="arm64"))return!!E5(n);if(t==="linux"&&e==="x64"&&r===void 0)try{return(0,Na.readFileSync)("/proc/cpuinfo","utf8").includes("avx2")}catch{return(0,yo.warning)("Failed to detect AVX2 support."),!1}return r??!0}o(I5,"getAvx2");var vHe={"package.json":t=>{let e=JSON.parse(t);return e.packageManager?.split("bun@")?.[1]??e.engines?.bun},".tool-versions":t=>t.match(/^bun\s*(?.*?)$/m)?.groups?.version,".bumrc":t=>t,".bun-version":t=>t};function z_(t,e=!1){let r=process.env.GITHUB_WORKSPACE;if(!r||!t)return;(0,yo.debug)(`Reading version from ${t}`);let n=(0,wC.resolve)(r,t),i=(0,wC.basename)(t);if(!(0,Na.existsSync)(n)){e||(0,yo.warning)(`File ${n} not found`);return}let s=vHe[i]??(()=>{}),a;try{if(a=s((0,Na.readFileSync)(n,"utf8"))?.trim(),!a){e||(0,yo.warning)(`Failed to read version from ${t}`);return}}catch(c){let{message:l}=c;e||(0,yo.warning)(`Failed to read ${t}: ${l}`)}finally{if(a)return(0,h5.info)(`Obtained version ${a} from ${t}`),a}}o(z_,"readVersionFromFile");async function b5(t){let{customUrl:e}=t;return e||await PHe(t)}o(b5,"getDownloadUrl");async function PHe(t){let{version:e,os:r,arch:n,avx2:i,profile:s}=t,a;if(H_(e)&&(a=`bun-v${e}`),!a){let Q=(await(await y5("https://api.github.com/repos/oven-sh/bun/git/refs/tags",{headers:t.token?{Authorization:`Bearer ${t.token}`}:{}})).json()).filter(S=>S.ref.startsWith("refs/tags/bun-v")||S.ref==="refs/tags/canary").map(S=>S.ref.replace(/refs\/tags\/(bun-v)?/g,"")).filter(Boolean);if(a=Q.find(S=>S===e),a)iA(a)&&(a=`bun-v${a}`);else{Q=Q.filter(w=>iA(w)).sort(wa);let S=e==="latest"||!e?Q.at(-1):Q.filter(w=>nA(w,e)).at(-1);if(!S)throw new Error(`No Bun release found matching version '${e}'`);a=`bun-v${S}`}}let c=a??e,l=encodeURIComponent(c),A=encodeURIComponent(r??NC()),u=encodeURIComponent(B5(r??NC(),n??process.arch,c)),d=encodeURIComponent(I5(r??NC(),n??process.arch,i,c)===!1?"-baseline":""),f=encodeURIComponent(s===!0?"-profile":""),{href:m}=new URL(`${l}/bun-${A}-${u}${d}${f}.zip`,"https://github.com/oven-sh/bun/releases/download/");return m}o(PHe,"getSemverDownloadUrl");var N5=require("node:process");var x5=o(async t=>{let e=(0,sA.join)((0,N5.cwd)(),"bunfig.toml");c5(e,t.registries);let r=await b5(t),n=OHe(t),i=(0,sA.join)((0,Q5.homedir)(),".bun","bin");try{(0,qn.mkdirSync)(i,{recursive:!0})}catch(d){if(d.code!=="EEXIST")throw d}(0,zi.addPath)(i);let s=o(d=>process.platform==="win32"?`${d}.exe`:d,"exe"),a=(0,sA.join)(i,s("bun"));try{(0,qn.symlinkSync)(a,(0,sA.join)(i,s("bunx")))}catch(d){if(d.code!=="EEXIST")throw d}let c,l=!1;if(!t.customUrl&&(0,qn.existsSync)(a)){let d=await Y_(a);d&&DHe(d,t.version)&&(c=d,l=!0,(0,zi.info)(`Using existing Bun installation: ${c}`))}if(!c){if(n){let d=m5(r);if(await(0,xC.restoreCache)([a],d))if(c=await Y_(a),c){let m=g5(r),[C]=c.split("+");m?C!==m?((0,zi.warning)(`Cached Bun version ${c} does not match expected version ${m}. Re-downloading.`),c=void 0):(l=!0,(0,zi.info)(`Using a cached version of Bun: ${c}`)):((0,zi.warning)(`Could not parse expected version from URL: ${r}. Ignoring cache.`),c=void 0)}else(0,zi.warning)(`Found a cached version of Bun: ${c} (but it appears to be corrupted?)`)}l||((0,zi.info)(`Downloading a new version of Bun: ${r}`),c=await THe(r,a))}if(!c)throw new Error("Downloaded a new version of Bun, but failed to check its version? Try again.");let[A]=c.split("+");return(0,w5.saveState)("cache",JSON.stringify({cacheEnabled:n,cacheHit:l,bunPath:a,url:r})),{version:A,revision:c,bunPath:a,url:r,cacheHit:l}},"default");function DHe(t,e){if(!e||/^(latest|canary|action)$/i.test(e))return!1;let[r]=t.split("+"),n=o(i=>i.replace(/^v/i,""),"normalizeVersion");return n(r)===n(e)}o(DHe,"isVersionMatch");async function THe(t,e){let r=C5(await(0,Rd.downloadTool)(t),".zip"),n=await(0,Rd.extractZip)(r),i=await G_(n);try{(0,qn.renameSync)(i,e)}catch{(0,qn.copyFileSync)(i,e)}return await Y_(e)}o(THe,"downloadBun");function OHe(t){let{customUrl:e,version:r,noCache:n}=t;return n||e||!r||/latest|canary|action/i.test(r)?!1:(0,xC.isFeatureAvailable)()}o(OHe,"isCacheEnabled");async function G_(t){for(let e of(0,qn.readdirSync)(t,{withFileTypes:!0})){let{name:r}=e,n=(0,sA.join)(t,r);if(e.isFile()){if(r==="bun"||r==="bun.exe")return n;if(/^bun.*\.zip/.test(r)){let i=await(0,Rd.extractZip)(n);return G_(i)}}if(/^bun/.test(r)&&e.isDirectory())return G_(n)}throw new Error("Could not find executable: bun")}o(G_,"extractBun");async function Y_(t){let e=await(0,j_.getExecOutput)(t,["--revision"],{ignoreReturnCode:!0});if(e.exitCode===0&&/^\d+\.\d+\.\d+/.test(e.stdout))return e.stdout.trim();let r=await(0,j_.getExecOutput)(t,["--version"],{ignoreReturnCode:!0});if(r.exitCode===0&&/^\d+\.\d+\.\d+/.test(r.stdout))return r.stdout.trim()}o(Y_,"getRevision");function S5(t){return t?.trim()?t.split(` -`).map(e=>e.trim()).filter(Boolean).map(MHe).filter(Boolean):[]}o(S5,"parseRegistries");function MHe(t){let e=t.match(/^(@[a-z0-9-_.]+|[a-z0-9-_.]+(?=:[a-z]+:\/\/)):(.+)$/i);if(e){let r=e[1],n=e[2].trim(),[i,s]=n.split("|",2).map(a=>a?.trim());try{return new URL(i),{url:i,scope:r,...s&&{token:s}}}catch{throw new Error(`Invalid URL in registry configuration: ${i}`)}}else{let[r,n]=t.split("|",2).map(i=>i?.trim());try{return new URL(r),{url:r,scope:"",...n&&{token:n}}}catch{throw new Error(`Invalid URL in registry configuration: ${r}`)}}}o(MHe,"parseLine");process.env.RUNNER_TEMP||(process.env.RUNNER_TEMP=(0,_5.tmpdir)());var v5=S5((0,Vt.getInput)("registries")),R5=(0,Vt.getInput)("registry-url"),kHe=(0,Vt.getInput)("scope");R5&&v5.push({url:R5,scope:kHe,token:"$BUN_AUTH_TOKEN"});x5({version:(0,Vt.getInput)("bun-version")||z_((0,Vt.getInput)("bun-version-file"))||z_("package.json",!0)||void 0,customUrl:(0,Vt.getInput)("bun-download-url")||void 0,registries:v5,noCache:(0,Vt.getBooleanInput)("no-cache")||!1,token:(0,Vt.getInput)("token")}).then(({version:t,revision:e,bunPath:r,url:n,cacheHit:i})=>{(0,Vt.setOutput)("bun-version",t),(0,Vt.setOutput)("bun-revision",e),(0,Vt.setOutput)("bun-path",r),(0,Vt.setOutput)("bun-download-url",n),(0,Vt.setOutput)("cache-hit",i),process.exit(0)}).catch(t=>{(0,Vt.setFailed)(t),process.exit(1)}); +`,a+=jk(s+".",e,c)}),a}o(wGe,"stringifyArrayOfTables");function QGe(t,e,r,n){var i=t+iI(r),s="";return qee(n).length>0&&(s+=e+"["+i+`] +`),s+jk(i+".",e,n)}o(QGe,"stringifyComplexTable")});var Wee=x(Jk=>{"use strict";Jk.parse=Hee();Jk.stringify=Vee()});var nT=x((ze,rte)=>{ze=rte.exports=$e;var Qt;typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?Qt=o(function(){var t=Array.prototype.slice.call(arguments,0);t.unshift("SEMVER"),console.log.apply(console,t)},"debug"):Qt=o(function(){},"debug");ze.SEMVER_SPEC_VERSION="2.0.0";var Dg=256,aI=Number.MAX_SAFE_INTEGER||9007199254740991,Wk=16,SGe=Dg-6,Rf=ze.re=[],wt=ze.safeRe=[],oe=ze.src=[],X=ze.tokens={},ete=0;function tt(t){X[t]=ete++}o(tt,"tok");var Xk="[a-zA-Z0-9-]",$k=[["\\s",1],["\\d",Dg],[Xk,SGe]];function Tg(t){for(var e=0;e<$k.length;e++){var r=$k[e][0],n=$k[e][1];t=t.split(r+"*").join(r+"{0,"+n+"}").split(r+"+").join(r+"{1,"+n+"}")}return t}o(Tg,"makeSafeRe");tt("NUMERICIDENTIFIER");oe[X.NUMERICIDENTIFIER]="0|[1-9]\\d*";tt("NUMERICIDENTIFIERLOOSE");oe[X.NUMERICIDENTIFIERLOOSE]="\\d+";tt("NONNUMERICIDENTIFIER");oe[X.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-]"+Xk+"*";tt("MAINVERSION");oe[X.MAINVERSION]="("+oe[X.NUMERICIDENTIFIER]+")\\.("+oe[X.NUMERICIDENTIFIER]+")\\.("+oe[X.NUMERICIDENTIFIER]+")";tt("MAINVERSIONLOOSE");oe[X.MAINVERSIONLOOSE]="("+oe[X.NUMERICIDENTIFIERLOOSE]+")\\.("+oe[X.NUMERICIDENTIFIERLOOSE]+")\\.("+oe[X.NUMERICIDENTIFIERLOOSE]+")";tt("PRERELEASEIDENTIFIER");oe[X.PRERELEASEIDENTIFIER]="(?:"+oe[X.NUMERICIDENTIFIER]+"|"+oe[X.NONNUMERICIDENTIFIER]+")";tt("PRERELEASEIDENTIFIERLOOSE");oe[X.PRERELEASEIDENTIFIERLOOSE]="(?:"+oe[X.NUMERICIDENTIFIERLOOSE]+"|"+oe[X.NONNUMERICIDENTIFIER]+")";tt("PRERELEASE");oe[X.PRERELEASE]="(?:-("+oe[X.PRERELEASEIDENTIFIER]+"(?:\\."+oe[X.PRERELEASEIDENTIFIER]+")*))";tt("PRERELEASELOOSE");oe[X.PRERELEASELOOSE]="(?:-?("+oe[X.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+oe[X.PRERELEASEIDENTIFIERLOOSE]+")*))";tt("BUILDIDENTIFIER");oe[X.BUILDIDENTIFIER]=Xk+"+";tt("BUILD");oe[X.BUILD]="(?:\\+("+oe[X.BUILDIDENTIFIER]+"(?:\\."+oe[X.BUILDIDENTIFIER]+")*))";tt("FULL");tt("FULLPLAIN");oe[X.FULLPLAIN]="v?"+oe[X.MAINVERSION]+oe[X.PRERELEASE]+"?"+oe[X.BUILD]+"?";oe[X.FULL]="^"+oe[X.FULLPLAIN]+"$";tt("LOOSEPLAIN");oe[X.LOOSEPLAIN]="[v=\\s]*"+oe[X.MAINVERSIONLOOSE]+oe[X.PRERELEASELOOSE]+"?"+oe[X.BUILD]+"?";tt("LOOSE");oe[X.LOOSE]="^"+oe[X.LOOSEPLAIN]+"$";tt("GTLT");oe[X.GTLT]="((?:<|>)?=?)";tt("XRANGEIDENTIFIERLOOSE");oe[X.XRANGEIDENTIFIERLOOSE]=oe[X.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*";tt("XRANGEIDENTIFIER");oe[X.XRANGEIDENTIFIER]=oe[X.NUMERICIDENTIFIER]+"|x|X|\\*";tt("XRANGEPLAIN");oe[X.XRANGEPLAIN]="[v=\\s]*("+oe[X.XRANGEIDENTIFIER]+")(?:\\.("+oe[X.XRANGEIDENTIFIER]+")(?:\\.("+oe[X.XRANGEIDENTIFIER]+")(?:"+oe[X.PRERELEASE]+")?"+oe[X.BUILD]+"?)?)?";tt("XRANGEPLAINLOOSE");oe[X.XRANGEPLAINLOOSE]="[v=\\s]*("+oe[X.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+oe[X.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+oe[X.XRANGEIDENTIFIERLOOSE]+")(?:"+oe[X.PRERELEASELOOSE]+")?"+oe[X.BUILD]+"?)?)?";tt("XRANGE");oe[X.XRANGE]="^"+oe[X.GTLT]+"\\s*"+oe[X.XRANGEPLAIN]+"$";tt("XRANGELOOSE");oe[X.XRANGELOOSE]="^"+oe[X.GTLT]+"\\s*"+oe[X.XRANGEPLAINLOOSE]+"$";tt("COERCE");oe[X.COERCE]="(^|[^\\d])(\\d{1,"+Wk+"})(?:\\.(\\d{1,"+Wk+"}))?(?:\\.(\\d{1,"+Wk+"}))?(?:$|[^\\d])";tt("COERCERTL");Rf[X.COERCERTL]=new RegExp(oe[X.COERCE],"g");wt[X.COERCERTL]=new RegExp(Tg(oe[X.COERCE]),"g");tt("LONETILDE");oe[X.LONETILDE]="(?:~>?)";tt("TILDETRIM");oe[X.TILDETRIM]="(\\s*)"+oe[X.LONETILDE]+"\\s+";Rf[X.TILDETRIM]=new RegExp(oe[X.TILDETRIM],"g");wt[X.TILDETRIM]=new RegExp(Tg(oe[X.TILDETRIM]),"g");var NGe="$1~";tt("TILDE");oe[X.TILDE]="^"+oe[X.LONETILDE]+oe[X.XRANGEPLAIN]+"$";tt("TILDELOOSE");oe[X.TILDELOOSE]="^"+oe[X.LONETILDE]+oe[X.XRANGEPLAINLOOSE]+"$";tt("LONECARET");oe[X.LONECARET]="(?:\\^)";tt("CARETTRIM");oe[X.CARETTRIM]="(\\s*)"+oe[X.LONECARET]+"\\s+";Rf[X.CARETTRIM]=new RegExp(oe[X.CARETTRIM],"g");wt[X.CARETTRIM]=new RegExp(Tg(oe[X.CARETTRIM]),"g");var vGe="$1^";tt("CARET");oe[X.CARET]="^"+oe[X.LONECARET]+oe[X.XRANGEPLAIN]+"$";tt("CARETLOOSE");oe[X.CARETLOOSE]="^"+oe[X.LONECARET]+oe[X.XRANGEPLAINLOOSE]+"$";tt("COMPARATORLOOSE");oe[X.COMPARATORLOOSE]="^"+oe[X.GTLT]+"\\s*("+oe[X.LOOSEPLAIN]+")$|^$";tt("COMPARATOR");oe[X.COMPARATOR]="^"+oe[X.GTLT]+"\\s*("+oe[X.FULLPLAIN]+")$|^$";tt("COMPARATORTRIM");oe[X.COMPARATORTRIM]="(\\s*)"+oe[X.GTLT]+"\\s*("+oe[X.LOOSEPLAIN]+"|"+oe[X.XRANGEPLAIN]+")";Rf[X.COMPARATORTRIM]=new RegExp(oe[X.COMPARATORTRIM],"g");wt[X.COMPARATORTRIM]=new RegExp(Tg(oe[X.COMPARATORTRIM]),"g");var RGe="$1$2$3";tt("HYPHENRANGE");oe[X.HYPHENRANGE]="^\\s*("+oe[X.XRANGEPLAIN]+")\\s+-\\s+("+oe[X.XRANGEPLAIN]+")\\s*$";tt("HYPHENRANGELOOSE");oe[X.HYPHENRANGELOOSE]="^\\s*("+oe[X.XRANGEPLAINLOOSE]+")\\s+-\\s+("+oe[X.XRANGEPLAINLOOSE]+")\\s*$";tt("STAR");oe[X.STAR]="(<|>)?=?\\s*\\*";for(Ho=0;HoDg)return null;var r=e.loose?wt[X.LOOSE]:wt[X.FULL];if(!r.test(t))return null;try{return new $e(t,e)}catch{return null}}o(Tu,"parse");ze.valid=PGe;function PGe(t,e){var r=Tu(t,e);return r?r.version:null}o(PGe,"valid");ze.clean=_Ge;function _Ge(t,e){var r=Tu(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null}o(_Ge,"clean");ze.SemVer=$e;function $e(t,e){if((!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1}),t instanceof $e){if(t.loose===e.loose)return t;t=t.version}else if(typeof t!="string")throw new TypeError("Invalid Version: "+t);if(t.length>Dg)throw new TypeError("version is longer than "+Dg+" characters");if(!(this instanceof $e))return new $e(t,e);Qt("SemVer",t,e),this.options=e,this.loose=!!e.loose;var r=t.trim().match(e.loose?wt[X.LOOSE]:wt[X.FULL]);if(!r)throw new TypeError("Invalid Version: "+t);if(this.raw=t,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>aI||this.major<0)throw new TypeError("Invalid major version");if(this.minor>aI||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>aI||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(function(n){if(/^[0-9]+$/.test(n)){var i=+n;if(i>=0&&i=0;)typeof this.prerelease[r]=="number"&&(this.prerelease[r]++,r=-2);r===-1&&this.prerelease.push(0)}e&&(this.prerelease[0]===e?isNaN(this.prerelease[1])&&(this.prerelease=[e,0]):this.prerelease=[e,0]);break;default:throw new Error("invalid increment argument: "+t)}return this.format(),this.raw=this.version,this};ze.inc=DGe;function DGe(t,e,r,n){typeof r=="string"&&(n=r,r=void 0);try{return new $e(t,r).inc(e,n).version}catch{return null}}o(DGe,"inc");ze.diff=kGe;function kGe(t,e){if(Zk(t,e))return null;var r=Tu(t),n=Tu(e),i="";if(r.prerelease.length||n.prerelease.length){i="pre";var s="prerelease"}for(var a in r)if((a==="major"||a==="minor"||a==="patch")&&r[a]!==n[a])return i+a;return s}o(kGe,"diff");ze.compareIdentifiers=ku;var Xee=/^[0-9]+$/;function ku(t,e){var r=Xee.test(t),n=Xee.test(e);return r&&n&&(t=+t,e=+e),t===e?0:r&&!n?-1:n&&!r?1:t0}o(kg,"gt");ze.lt=cI;function cI(t,e,r){return _a(t,e,r)<0}o(cI,"lt");ze.eq=Zk;function Zk(t,e,r){return _a(t,e,r)===0}o(Zk,"eq");ze.neq=tte;function tte(t,e,r){return _a(t,e,r)!==0}o(tte,"neq");ze.gte=eT;function eT(t,e,r){return _a(t,e,r)>=0}o(eT,"gte");ze.lte=tT;function tT(t,e,r){return _a(t,e,r)<=0}o(tT,"lte");ze.cmp=lI;function lI(t,e,r,n){switch(e){case"===":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t===r;case"!==":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t!==r;case"":case"=":case"==":return Zk(t,r,n);case"!=":return tte(t,r,n);case">":return kg(t,r,n);case">=":return eT(t,r,n);case"<":return cI(t,r,n);case"<=":return tT(t,r,n);default:throw new TypeError("Invalid operator: "+e)}}o(lI,"cmp");ze.Comparator=Is;function Is(t,e){if((!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1}),t instanceof Is){if(t.loose===!!e.loose)return t;t=t.value}if(!(this instanceof Is))return new Is(t,e);t=t.trim().split(/\s+/).join(" "),Qt("comparator",t,e),this.options=e,this.loose=!!e.loose,this.parse(t),this.semver===Pf?this.value="":this.value=this.operator+this.semver.version,Qt("comp",this)}o(Is,"Comparator");var Pf={};Is.prototype.parse=function(t){var e=this.options.loose?wt[X.COMPARATORLOOSE]:wt[X.COMPARATOR],r=t.match(e);if(!r)throw new TypeError("Invalid comparator: "+t);this.operator=r[1]!==void 0?r[1]:"",this.operator==="="&&(this.operator=""),r[2]?this.semver=new $e(r[2],this.options.loose):this.semver=Pf};Is.prototype.toString=function(){return this.value};Is.prototype.test=function(t){if(Qt("Comparator.test",t,this.options.loose),this.semver===Pf||t===Pf)return!0;if(typeof t=="string")try{t=new $e(t,this.options)}catch{return!1}return lI(t,this.operator,this.semver,this.options)};Is.prototype.intersects=function(t,e){if(!(t instanceof Is))throw new TypeError("a Comparator is required");(!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1});var r;if(this.operator==="")return this.value===""?!0:(r=new ar(t.value,e),uI(this.value,r,e));if(t.operator==="")return t.value===""?!0:(r=new ar(this.value,e),uI(t.semver,r,e));var n=(this.operator===">="||this.operator===">")&&(t.operator===">="||t.operator===">"),i=(this.operator==="<="||this.operator==="<")&&(t.operator==="<="||t.operator==="<"),s=this.semver.version===t.semver.version,a=(this.operator===">="||this.operator==="<=")&&(t.operator===">="||t.operator==="<="),c=lI(this.semver,"<",t.semver,e)&&(this.operator===">="||this.operator===">")&&(t.operator==="<="||t.operator==="<"),l=lI(this.semver,">",t.semver,e)&&(this.operator==="<="||this.operator==="<")&&(t.operator===">="||t.operator===">");return n||i||s&&a||c||l};ze.Range=ar;function ar(t,e){if((!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1}),t instanceof ar)return t.loose===!!e.loose&&t.includePrerelease===!!e.includePrerelease?t:new ar(t.raw,e);if(t instanceof Is)return new ar(t.value,e);if(!(this instanceof ar))return new ar(t,e);if(this.options=e,this.loose=!!e.loose,this.includePrerelease=!!e.includePrerelease,this.raw=t.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(function(r){return this.parseRange(r.trim())},this).filter(function(r){return r.length}),!this.set.length)throw new TypeError("Invalid SemVer Range: "+this.raw);this.format()}o(ar,"Range");ar.prototype.format=function(){return this.range=this.set.map(function(t){return t.join(" ").trim()}).join("||").trim(),this.range};ar.prototype.toString=function(){return this.range};ar.prototype.parseRange=function(t){var e=this.options.loose,r=e?wt[X.HYPHENRANGELOOSE]:wt[X.HYPHENRANGE];t=t.replace(r,ZGe),Qt("hyphen replace",t),t=t.replace(wt[X.COMPARATORTRIM],RGe),Qt("comparator trim",t,wt[X.COMPARATORTRIM]),t=t.replace(wt[X.TILDETRIM],NGe),t=t.replace(wt[X.CARETTRIM],vGe),t=t.split(/\s+/).join(" ");var n=e?wt[X.COMPARATORLOOSE]:wt[X.COMPARATOR],i=t.split(" ").map(function(s){return jGe(s,this.options)},this).join(" ").split(/\s+/);return this.options.loose&&(i=i.filter(function(s){return!!s.match(n)})),i=i.map(function(s){return new Is(s,this.options)},this),i};ar.prototype.intersects=function(t,e){if(!(t instanceof ar))throw new TypeError("a Range is required");return this.set.some(function(r){return Zee(r,e)&&t.set.some(function(n){return Zee(n,e)&&r.every(function(i){return n.every(function(s){return i.intersects(s,e)})})})})};function Zee(t,e){for(var r=!0,n=t.slice(),i=n.pop();r&&n.length;)r=n.every(function(s){return i.intersects(s,e)}),i=n.pop();return r}o(Zee,"isSatisfiable");ze.toComparators=GGe;function GGe(t,e){return new ar(t,e).set.map(function(r){return r.map(function(n){return n.value}).join(" ").trim().split(" ")})}o(GGe,"toComparators");function jGe(t,e){return Qt("comp",t,e),t=JGe(t,e),Qt("caret",t),t=YGe(t,e),Qt("tildes",t),t=WGe(t,e),Qt("xrange",t),t=XGe(t,e),Qt("stars",t),t}o(jGe,"parseComparator");function Un(t){return!t||t.toLowerCase()==="x"||t==="*"}o(Un,"isX");function YGe(t,e){return t.trim().split(/\s+/).map(function(r){return KGe(r,e)}).join(" ")}o(YGe,"replaceTildes");function KGe(t,e){var r=e.loose?wt[X.TILDELOOSE]:wt[X.TILDE];return t.replace(r,function(n,i,s,a,c){Qt("tilde",t,n,i,s,a,c);var l;return Un(i)?l="":Un(s)?l=">="+i+".0.0 <"+(+i+1)+".0.0":Un(a)?l=">="+i+"."+s+".0 <"+i+"."+(+s+1)+".0":c?(Qt("replaceTilde pr",c),l=">="+i+"."+s+"."+a+"-"+c+" <"+i+"."+(+s+1)+".0"):l=">="+i+"."+s+"."+a+" <"+i+"."+(+s+1)+".0",Qt("tilde return",l),l})}o(KGe,"replaceTilde");function JGe(t,e){return t.trim().split(/\s+/).map(function(r){return VGe(r,e)}).join(" ")}o(JGe,"replaceCarets");function VGe(t,e){Qt("caret",t,e);var r=e.loose?wt[X.CARETLOOSE]:wt[X.CARET];return t.replace(r,function(n,i,s,a,c){Qt("caret",t,n,i,s,a,c);var l;return Un(i)?l="":Un(s)?l=">="+i+".0.0 <"+(+i+1)+".0.0":Un(a)?i==="0"?l=">="+i+"."+s+".0 <"+i+"."+(+s+1)+".0":l=">="+i+"."+s+".0 <"+(+i+1)+".0.0":c?(Qt("replaceCaret pr",c),i==="0"?s==="0"?l=">="+i+"."+s+"."+a+"-"+c+" <"+i+"."+s+"."+(+a+1):l=">="+i+"."+s+"."+a+"-"+c+" <"+i+"."+(+s+1)+".0":l=">="+i+"."+s+"."+a+"-"+c+" <"+(+i+1)+".0.0"):(Qt("no pr"),i==="0"?s==="0"?l=">="+i+"."+s+"."+a+" <"+i+"."+s+"."+(+a+1):l=">="+i+"."+s+"."+a+" <"+i+"."+(+s+1)+".0":l=">="+i+"."+s+"."+a+" <"+(+i+1)+".0.0"),Qt("caret return",l),l})}o(VGe,"replaceCaret");function WGe(t,e){return Qt("replaceXRanges",t,e),t.split(/\s+/).map(function(r){return $Ge(r,e)}).join(" ")}o(WGe,"replaceXRanges");function $Ge(t,e){t=t.trim();var r=e.loose?wt[X.XRANGELOOSE]:wt[X.XRANGE];return t.replace(r,function(n,i,s,a,c,l){Qt("xRange",t,n,i,s,a,c,l);var u=Un(s),A=u||Un(a),d=A||Un(c),f=d;return i==="="&&f&&(i=""),l=e.includePrerelease?"-0":"",u?i===">"||i==="<"?n="<0.0.0-0":n="*":i&&f?(A&&(a=0),c=0,i===">"?(i=">=",A?(s=+s+1,a=0,c=0):(a=+a+1,c=0)):i==="<="&&(i="<",A?s=+s+1:a=+a+1),n=i+s+"."+a+"."+c+l):A?n=">="+s+".0.0"+l+" <"+(+s+1)+".0.0"+l:d&&(n=">="+s+"."+a+".0"+l+" <"+s+"."+(+a+1)+".0"+l),Qt("xRange return",n),n})}o($Ge,"replaceXRange");function XGe(t,e){return Qt("replaceStars",t,e),t.trim().replace(wt[X.STAR],"")}o(XGe,"replaceStars");function ZGe(t,e,r,n,i,s,a,c,l,u,A,d,f){return Un(r)?e="":Un(n)?e=">="+r+".0.0":Un(i)?e=">="+r+"."+n+".0":e=">="+e,Un(l)?c="":Un(u)?c="<"+(+l+1)+".0.0":Un(A)?c="<"+l+"."+(+u+1)+".0":d?c="<="+l+"."+u+"."+A+"-"+d:c="<="+c,(e+" "+c).trim()}o(ZGe,"hyphenReplace");ar.prototype.test=function(t){if(!t)return!1;if(typeof t=="string")try{t=new $e(t,this.options)}catch{return!1}for(var e=0;e0){var i=t[n].semver;if(i.major===e.major&&i.minor===e.minor&&i.patch===e.patch)return!0}return!1}return!0}o(eje,"testSet");ze.satisfies=uI;function uI(t,e,r){try{e=new ar(e,r)}catch{return!1}return e.test(t)}o(uI,"satisfies");ze.maxSatisfying=tje;function tje(t,e,r){var n=null,i=null;try{var s=new ar(e,r)}catch{return null}return t.forEach(function(a){s.test(a)&&(!n||i.compare(a)===-1)&&(n=a,i=new $e(n,r))}),n}o(tje,"maxSatisfying");ze.minSatisfying=rje;function rje(t,e,r){var n=null,i=null;try{var s=new ar(e,r)}catch{return null}return t.forEach(function(a){s.test(a)&&(!n||i.compare(a)===1)&&(n=a,i=new $e(n,r))}),n}o(rje,"minSatisfying");ze.minVersion=nje;function nje(t,e){t=new ar(t,e);var r=new $e("0.0.0");if(t.test(r)||(r=new $e("0.0.0-0"),t.test(r)))return r;r=null;for(var n=0;n":a.prerelease.length===0?a.patch++:a.prerelease.push(0),a.raw=a.format();case"":case">=":(!r||kg(r,a))&&(r=a);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+s.operator)}})}return r&&t.test(r)?r:null}o(nje,"minVersion");ze.validRange=ije;function ije(t,e){try{return new ar(t,e).range||"*"}catch{return null}}o(ije,"validRange");ze.ltr=sje;function sje(t,e,r){return rT(t,e,"<",r)}o(sje,"ltr");ze.gtr=oje;function oje(t,e,r){return rT(t,e,">",r)}o(oje,"gtr");ze.outside=rT;function rT(t,e,r,n){t=new $e(t,n),e=new ar(e,n);var i,s,a,c,l;switch(r){case">":i=kg,s=tT,a=cI,c=">",l=">=";break;case"<":i=cI,s=eT,a=kg,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(uI(t,e,n))return!1;for(var u=0;u=0.0.0")),d=d||h,f=f||h,i(h.semver,d.semver,n)?d=h:a(h.semver,f.semver,n)&&(f=h)}),d.operator===c||d.operator===l||(!f.operator||f.operator===c)&&s(t,f.semver))return!1;if(f.operator===l&&a(t,f.semver))return!1}return!0}o(rT,"outside");ze.prerelease=aje;function aje(t,e){var r=Tu(t,e);return r&&r.prerelease.length?r.prerelease:null}o(aje,"prerelease");ze.intersects=cje;function cje(t,e,r){return t=new ar(t,r),e=new ar(e,r),t.intersects(e)}o(cje,"intersects");ze.coerce=lje;function lje(t,e){if(t instanceof $e)return t;if(typeof t=="number"&&(t=String(t)),typeof t!="string")return null;e=e||{};var r=null;if(!e.rtl)r=t.match(wt[X.COERCE]);else{for(var n;(n=wt[X.COERCERTL].exec(t))&&(!r||r.index+r[0].length!==t.length);)(!r||n.index+n[0].length!==r.index+r[0].length)&&(r=n),wt[X.COERCERTL].lastIndex=n.index+n[1].length+n[2].length;wt[X.COERCERTL].lastIndex=-1}return r===null?null:Tu(r[2]+"."+(r[3]||"0")+"."+(r[4]||"0"),e)}o(lje,"coerce")});var ste=x((Gi,sT)=>{"use strict";var uje=Gi&&Gi.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Aje=Gi&&Gi.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),dje=Gi&&Gi.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i{(0,iT.debug)(`${A.arch}===${n} && ${A.platform}===${i}`);let d=A.arch===n&&A.platform===i;if(d&&A.platform_version){let f=sT.exports._getOsVersion();f===A.platform_version?d=!0:d=nte.satisfies(f,A.platform_version)}return d}),c)){(0,iT.debug)(`matched ${l.version}`),a=l;break}}return a&&c&&(s=Object.assign({},a),s.files=[c]),s})}o(pje,"_findMatch");function gje(){let t=ite.platform(),e="";if(t==="darwin")e=hje.execSync("sw_vers -productVersion").toString();else if(t==="linux"){let r=sT.exports._readLinuxVersionFile();if(r){let n=r.split(` +`);for(let i of n){let s=i.split("=");if(s.length===2&&(s[0].trim()==="VERSION_ID"||s[0].trim()==="DISTRIB_RELEASE")){e=s[1].trim().replace(/^"/,"").replace(/"$/,"");break}}}}return e}o(gje,"_getOsVersion");function mje(){let t="/etc/lsb-release",e="/etc/os-release",r="";return AI.existsSync(t)?r=AI.readFileSync(t).toString():AI.existsSync(e)&&(r=AI.readFileSync(e).toString()),r}o(mje,"_readLinuxVersionFile")});var cte=x(Bs=>{"use strict";var yje=Bs&&Bs.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Eje=Bs&&Bs.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),bje=Bs&&Bs.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;ithis.maxSeconds)throw new Error("min seconds should be less than or equal to max seconds")}execute(e,r){return ote(this,void 0,void 0,function*(){let n=1;for(;nsetTimeout(r,e*1e3))})}};Bs.RetryHelper=oT});var uT=x(jt=>{"use strict";var Cje=jt&&jt.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),xje=jt&&jt.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),Vs=jt&&jt.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;iFn(this,void 0,void 0,function*(){return yield Rje(t,e||"",r,n)}),l=>!(l instanceof Og&&l.httpStatusCode&&l.httpStatusCode<500&&l.httpStatusCode!==408&&l.httpStatusCode!==429))})}o(vje,"downloadTool");function Rje(t,e,r,n){return Fn(this,void 0,void 0,function*(){if(ws.existsSync(e))throw new Error(`Destination file path ${e} already exists`);let i=new ute.HttpClient(Nje,[],{allowRetries:!1});r&&(ht.debug("set auth"),n===void 0&&(n={}),n.authorization=r);let s=yield i.get(t,n);if(s.message.statusCode!==200){let A=new Og(s.message.statusCode);throw ht.debug(`Failed to download from "${t}". Code(${s.message.statusCode}) Message(${s.message.statusMessage})`),A}let a=wje.promisify(Bje.pipeline),l=aT("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",()=>s.message)(),u=!1;try{return yield a(l,ws.createWriteStream(e)),ht.debug("download complete"),u=!0,e}finally{if(!u){ht.debug("download failed");try{yield ji.rmRF(e)}catch(A){ht.debug(`Failed to delete '${e}'. ${A.message}`)}}}})}o(Rje,"downloadToolAttempt");function Pje(t,e,r){return Fn(this,void 0,void 0,function*(){(0,_f.ok)(cT,"extract7z() not supported on current OS"),(0,_f.ok)(t,'parameter "file" is required'),e=yield dI(e);let n=process.cwd();if(process.chdir(e),r)try{let s=["x",ht.isDebug()?"-bb1":"-bb0","-bd","-sccUTF-8",t],a={silent:!0};yield(0,rl.exec)(`"${r}"`,s,a)}finally{process.chdir(n)}else{let i=Js.join(__dirname,"..","scripts","Invoke-7zdec.ps1").replace(/'/g,"''").replace(/"|\n|\r/g,""),s=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),a=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),l=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",`& '${i}' -Source '${s}' -Target '${a}'`],u={silent:!0};try{let A=yield ji.which("powershell",!0);yield(0,rl.exec)(`"${A}"`,l,u)}finally{process.chdir(n)}}return e})}o(Pje,"extract7z");function _je(t,e){return Fn(this,arguments,void 0,function*(r,n,i="xz"){if(!r)throw new Error("parameter 'file' is required");n=yield dI(n),ht.debug("Checking tar --version");let s="";yield(0,rl.exec)("tar --version",[],{ignoreReturnCode:!0,silent:!0,listeners:{stdout:o(A=>s+=A.toString(),"stdout"),stderr:o(A=>s+=A.toString(),"stderr")}}),ht.debug(s.trim());let a=s.toUpperCase().includes("GNU TAR"),c;i instanceof Array?c=i:c=[i],ht.isDebug()&&!i.includes("v")&&c.push("-v");let l=n,u=r;return cT&&a&&(c.push("--force-local"),l=n.replace(/\\/g,"/"),u=r.replace(/\\/g,"/")),a&&(c.push("--warning=no-unknown-keyword"),c.push("--overwrite")),c.push("-C",l,"-f",u),yield(0,rl.exec)("tar",c),n})}o(_je,"extractTar");function Dje(t,e){return Fn(this,arguments,void 0,function*(r,n,i=[]){(0,_f.ok)(Sje,"extractXar() not supported on current OS"),(0,_f.ok)(r,'parameter "file" is required'),n=yield dI(n);let s;i instanceof Array?s=i:s=[i],s.push("-x","-C",n,"-f",r),ht.isDebug()&&s.push("-v");let a=yield ji.which("xar",!0);return yield(0,rl.exec)(`"${a}"`,qje(s)),n})}o(Dje,"extractXar");function kje(t,e){return Fn(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'file' is required");return e=yield dI(e),cT?yield Tje(t,e):yield Oje(t,e),e})}o(kje,"extractZip");function Tje(t,e){return Fn(this,void 0,void 0,function*(){let r=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),n=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),i=yield ji.which("pwsh",!1);if(i){let a=["-NoLogo","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",["$ErrorActionPreference = 'Stop' ;","try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ;",`try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${n}', $true) }`,`catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${r}' -DestinationPath '${n}' -Force } else { throw $_ } } ;`].join(" ")];ht.debug(`Using pwsh at path: ${i}`),yield(0,rl.exec)(`"${i}"`,a)}else{let a=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",["$ErrorActionPreference = 'Stop' ;","try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ;",`if ((Get-Command -Name Expand-Archive -Module Microsoft.PowerShell.Archive -ErrorAction Ignore)) { Expand-Archive -LiteralPath '${r}' -DestinationPath '${n}' -Force }`,`else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${n}', $true) }`].join(" ")],c=yield ji.which("powershell",!0);ht.debug(`Using powershell at path: ${c}`),yield(0,rl.exec)(`"${c}"`,a)}})}o(Tje,"extractZipWin");function Oje(t,e){return Fn(this,void 0,void 0,function*(){let r=yield ji.which("unzip",!0),n=[t];ht.isDebug()||n.unshift("-q"),n.unshift("-o"),yield(0,rl.exec)(`"${r}"`,n,{cwd:e})})}o(Oje,"extractZipNix");function Mje(t,e,r,n){return Fn(this,void 0,void 0,function*(){if(r=Da.clean(r)||r,n=n||Mg.arch(),ht.debug(`Caching tool ${e} ${r} ${n}`),ht.debug(`source dir: ${t}`),!ws.statSync(t).isDirectory())throw new Error("sourceDir is not a directory");let i=yield dte(e,r,n);for(let s of ws.readdirSync(t)){let a=Js.join(t,s);yield ji.cp(a,i,{recursive:!0})}return fte(e,r,n),i})}o(Mje,"cacheDir");function Lje(t,e,r,n,i){return Fn(this,void 0,void 0,function*(){if(n=Da.clean(n)||n,i=i||Mg.arch(),ht.debug(`Caching tool ${r} ${n} ${i}`),ht.debug(`source file: ${t}`),!ws.statSync(t).isFile())throw new Error("sourceFile is not a file");let s=yield dte(r,n,i),a=Js.join(s,e);return ht.debug(`destination file ${a}`),yield ji.cp(t,a),fte(r,n,i),s})}o(Lje,"cacheFile");function Uje(t,e,r){if(!t)throw new Error("toolName parameter is required");if(!e)throw new Error("versionSpec parameter is required");if(r=r||Mg.arch(),!lT(e)){let i=Ate(t,r);e=hte(i,e)}let n="";if(e){e=Da.clean(e)||"";let i=Js.join(fI(),t,e,r);ht.debug(`checking cache: ${i}`),ws.existsSync(i)&&ws.existsSync(`${i}.complete`)?(ht.debug(`Found tool in cache ${t} ${e} ${r}`),n=i):ht.debug("not found")}return n}o(Uje,"find");function Ate(t,e){let r=[];e=e||Mg.arch();let n=Js.join(fI(),t);if(ws.existsSync(n)){let i=ws.readdirSync(n);for(let s of i)if(lT(s)){let a=Js.join(n,s,e||"");ws.existsSync(a)&&ws.existsSync(`${a}.complete`)&&r.push(s)}}return r}o(Ate,"findAllVersions");function Fje(t,e,r){return Fn(this,arguments,void 0,function*(n,i,s,a="master"){let c=[],l=`https://api.github.com/repos/${n}/${i}/git/trees/${a}`,u=new ute.HttpClient("tool-cache"),A={};s&&(ht.debug("set auth"),A.authorization=s);let d=yield u.getJson(l,A);if(!d.result)return c;let f="";for(let g of d.result.tree)if(g.path==="versions-manifest.json"){f=g.url;break}A.accept="application/vnd.github.VERSION.raw";let h=yield(yield u.get(f,A)).readBody();if(h){h=h.replace(/^\uFEFF/,"");try{c=JSON.parse(h)}catch{ht.debug("Invalid json")}}return c})}o(Fje,"getManifestFromRepo");function Hje(t,e,r){return Fn(this,arguments,void 0,function*(n,i,s,a=Mg.arch()){return yield Ije._findMatch(n,i,s,a)})}o(Hje,"findFromManifest");function dI(t){return Fn(this,void 0,void 0,function*(){return t||(t=Js.join(pte(),lte.randomUUID())),yield ji.mkdirP(t),t})}o(dI,"_createExtractFolder");function dte(t,e,r){return Fn(this,void 0,void 0,function*(){let n=Js.join(fI(),t,Da.clean(e)||e,r||"");ht.debug(`destination ${n}`);let i=`${n}.complete`;return yield ji.rmRF(n),yield ji.rmRF(i),yield ji.mkdirP(n),n})}o(dte,"_createToolPath");function fte(t,e,r){let i=`${Js.join(fI(),t,Da.clean(e)||e,r||"")}.complete`;ws.writeFileSync(i,""),ht.debug("finished caching tool")}o(fte,"_completeToolPath");function lT(t){let e=Da.clean(t)||"";ht.debug(`isExplicit: ${e}`);let r=Da.valid(e)!=null;return ht.debug(`explicit? ${r}`),r}o(lT,"isExplicitVersion");function hte(t,e){let r="";ht.debug(`evaluating ${t.length} versions`),t=t.sort((n,i)=>Da.gt(n,i)?1:-1);for(let n=t.length-1;n>=0;n--){let i=t[n];if(Da.satisfies(i,e)){r=i;break}}return r?ht.debug(`matched: ${r}`):ht.debug("match not found"),r}o(hte,"evaluateVersions");function fI(){let t=process.env.RUNNER_TOOL_CACHE||"";return(0,_f.ok)(t,"Expected RUNNER_TOOL_CACHE to be defined"),t}o(fI,"_getCacheDirectory");function pte(){let t=process.env.RUNNER_TEMP||"";return(0,_f.ok)(t,"Expected RUNNER_TEMP to be defined"),t}o(pte,"_getTempDirectory");function aT(t,e){let r=global[t];return r!==void 0?r:e}o(aT,"_getGlobal");function qje(t){return Array.from(new Set(t))}o(qje,"_unique")});var AT=x((pI,Ete)=>{(function(t,e){typeof pI=="object"&&typeof Ete<"u"?e(pI):typeof define=="function"&&define.amd?define(["exports"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t.compareVersions={}))})(pI,(function(t){"use strict";let e=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,r=o(b=>{if(typeof b!="string")throw new TypeError("Invalid argument expected string");let y=b.match(e);if(!y)throw new Error(`Invalid argument not valid semver ('${b}' received)`);return y.shift(),y},"validateAndParse"),n=o(b=>b==="*"||b==="x"||b==="X","isWildcard"),i=o(b=>{let y=parseInt(b,10);return isNaN(y)?b:y},"tryParse"),s=o((b,y)=>typeof b!=typeof y?[String(b),String(y)]:[b,y],"forceType"),a=o((b,y)=>{if(n(b)||n(y))return 0;let[I,w]=s(i(b),i(y));if(I!==void 0&&w!==void 0){if(I>w)return 1;if(I{for(let I=0;I{let I=r(b),w=r(y),v=I.pop(),U=w.pop(),H=c(I,w);return H!==0?H:v&&U?c(v.split("."),U.split(".")):v||U?v?-1:1:0},"compareVersions"),u=o((b,y,I)=>{f(I);let w=l(b,y);return A[I].includes(w)},"compare"),A={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1],"!=":[-1,1]},d=Object.keys(A),f=o(b=>{if(typeof b!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof b}`);if(d.indexOf(b)===-1)throw new Error(`Invalid operator, expected one of ${d.join("|")}`)},"assertValidOperator"),h=o((b,y)=>{if(y=y.replace(/([><=]+)\s+/g,"$1"),y.includes("||"))return y.split("||").some(K=>h(b,K));if(y.includes(" - ")){let[K,Z]=y.split(" - ",2);return h(b,`>=${K} <=${Z}`)}else if(y.includes(" "))return y.trim().replace(/\s{2,}/g," ").split(" ").every(K=>h(b,K));let I=y.match(/^([<>=~^]+)/),w=I?I[1]:"=";if(w!=="^"&&w!=="~")return u(b,y,w);let[v,U,H,,J]=r(b),[q,D,T,,L]=r(y),z=[v,U??"x",H??"x"],_=[q,D??"x",T??"x"];if(L&&(!J||c(z,_)!==0||c(J.split("."),L.split("."))===-1))return!1;let k=_.findIndex(K=>K!=="0")+1,F=w==="~"?2:k>1?k:1;return!(c(z.slice(0,F),_.slice(0,F))!==0||c(z.slice(F),_.slice(F))===-1)},"satisfies"),g=o(b=>typeof b=="string"&&/^[v\d]/.test(b)&&e.test(b),"validate"),m=o(b=>typeof b=="string"&&/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/.test(b),"validateStrict");t.compare=u,t.compareVersions=l,t.satisfies=h,t.validate=g,t.validateStrict=m}))});var Hse=require("node:os"),Gr=Or(Pt());var io=require("node:fs"),QM=require("node:os"),Ql=require("node:path"),Mse=require("node:process"),rw=Or(gee()),fn=Or(Pt());var mee=require("node:crypto"),tl=require("node:fs"),yee=require("node:path"),Eee=Or(Pt());var X7e=o(()=>{let t=(0,mee.randomBytes)(6);return`.${BigInt(`0x${t.toString("hex")}`).toString(36).slice(0,8)}.tmp`},"getTempExt");function Z7e(t,e,r){let n=r instanceof Error?r.message:String(r);(0,Eee.debug)(`atomic-write: ${t} failed for key "${e}": ${n}`)}o(Z7e,"writeDebug");function Pu(t,e,r){let n=typeof r=="string"?{encoding:r}:r??{},i={...n,encoding:n?.encoding??"utf8",flag:"wx",flush:!0,mode:n?.mode??438},s=`${t}${X7e()}`,a=(0,yee.basename)(s);try{let c=511&(0,tl.statSync)(t).mode;c&&(i.mode=c)}catch{}try{(0,tl.writeFileSync)(s,e,i),(0,tl.renameSync)(s,t)}catch(c){if(!(c instanceof Error&&"code"in c&&c.code==="EEXIST"))try{(0,tl.rmSync)(s,{force:!0})}catch(l){Z7e("cleanup",a,l)}throw c}}o(Pu,"atomicWriteFileSync");var sI=require("node:fs"),Vk=Or(Pt()),oI=Or(Wee());function $ee(t,e){if(!e.length)return;let r=0;if(e.forEach(s=>{try{new URL(s.url)}catch{throw new Error(`Invalid registry URL: ${s.url}`)}s.scope||r++}),r>1)throw new Error("You can't have more than one global registry.");(0,Vk.info)(`Writing bunfig.toml to '${t}'.`);let n={};if((0,sI.existsSync)(t))try{let s=(0,sI.readFileSync)(t,{encoding:"utf-8"});n=(0,oI.parse)(s)}catch(s){(0,Vk.info)(`Error reading existing bunfig: ${s.message}`),n={}}n.install=n?.install||{},n.install.scopes=n?.install.scopes||{};let i=e.find(s=>!s.scope);i&&(n.install.registry={url:i.url,...i.token?{token:i.token}:{}});for(let s of e)if(s.scope){let a=s.scope.startsWith("@")?s.scope.toLowerCase():`@${s.scope.toLowerCase()}`;n.install.scopes[a]={url:s.url,...s.token?{token:s.token}:{}}}Object.keys(n.install.scopes).length===0&&delete n.install.scopes,Pu(t,(0,oI.stringify)(n),{mode:384})}o($ee,"writeBunfig");var XB=require("node:fs"),tc=require("node:path"),dh=Or(Pt()),ZB=Or(uT());var gte=require("node:fs"),mte=require("node:path"),yte=Or(uT());async function hI(t){for(let e of(0,gte.readdirSync)(t,{withFileTypes:!0})){let{name:r}=e,n=(0,mte.join)(t,r);if(e.isFile()){if(r==="bun"||r==="bun.exe")return n;if(/^bun.*\.zip/.test(r)){let i=await(0,yte.extractZip)(n);try{return await hI(i)}catch{}}}if(/^bun/.test(r)&&e.isDirectory())try{return await hI(n)}catch{}}throw new Error("Could not find executable: bun")}o(hI,"extractBun");var vte=require("node:console"),Rte=require("node:crypto"),Mu=require("node:fs"),EI=require("node:path"),nl=Or(Pt()),xT=Or(sd()),bI=Or(AT());var mT=Or(require("node:path")),ET=require("node:crypto"),bT=require("node:url");var Ou=require("node:path"),Cte=require("node:os"),ui=require("node:fs"),xte=require("node:crypto"),Ite=Or(Pt());var bte=process.env.RUNNER_TEMP||(0,Cte.tmpdir)(),dT=(0,Ou.join)((()=>{try{return(0,ui.realpathSync)(bte)}catch{return bte}})(),"setup-bun"),fT=1024*1024*512,zje=1e3*60*60*24*2;function gI(){return process.env.FS_CACHE_FORCE_STALE?1e3*60*1:zje}o(gI,"getCacheTtl");function hT(t,e,r){let n=r instanceof Error?r.message:String(r);(0,Ite.debug)(`filesystem-cache: ${t} failed for key "${e}": ${n}`)}o(hT,"cacheDebug");var pT=o((t=new Date().getMonth())=>{let e=o(r=>(1+r).toString().padStart(3,"0"),"pad");return{previousMonthDir:e((11+t)%12),monthDir:e(t),nextMonthDir:e((1+t)%12)}},"getCacheDirs"),Gje=o((t=dT)=>{let{nextMonthDir:e}=pT(),r=(0,Ou.join)(t,e);try{(0,ui.existsSync)(r)&&(0,ui.rmSync)(r,{recursive:!0,force:!0})}catch(n){hT("cleanupFutureCache",e,n)}},"cleanupFutureCache"),jje=o((t,e=dT)=>{let{monthDir:r,previousMonthDir:n}=pT(),i=(0,Ou.join)(e,r,t);if((0,ui.existsSync)(i))return i;let s=(0,Ou.join)(e,n,t);if((0,ui.existsSync)(s))return s},"findInCache");function Bte(t){return`${(0,xte.createHash)("sha1").update(t).digest("hex")}.json`}o(Bte,"getCacheFileName");function Yje(t){let{monthDir:e}=pT(),r=(0,Ou.join)(dT,e);return(0,ui.mkdirSync)(r,{recursive:!0}),(0,Ou.join)(r,Bte(t))}o(Yje,"getWriteCachePath");function mI(t){try{let e=jje(Bte(t));if(e){let r=(0,ui.statSync)(e);if(gI()>Date.now()-r.mtimeMs)return(0,ui.readFileSync)(e,"utf8")}}catch(e){hT("getCache",t,e)}return null}o(mI,"getCache");function yI(t,e){try{if(Buffer.byteLength(e,"utf8")>fT)throw new Error("cache entry exceeds CACHE_MAX_SIZE");Pu(Yje(t),e),Gje()}catch(r){hT("setCache",t,r)}}o(yI,"setCache");var yT="__envelope",Kje=1024*1024*256,gT=Math.min(fT,Kje);function wte(t,e,r){return(0,ET.createHash)("sha1").update(JSON.stringify({method:t,url:e,status:r})).digest("hex")}o(wte,"makeEnvelopeValue");function Qte(t){let e=new bT.URL(t),{pathname:r}=e,n=mT.default.parse(r),i=e.protocol==="https:",s=e.hostname==="github.com",a=e.hostname==="api.github.com",c=n.ext;return c===".asc"&&(c=mT.default.parse(n.name).ext),i&&a||i&&s&&c===".txt"}o(Qte,"isMetadata");function Ste(t){if(!Qte(t))return;let e=mI(t);if(e!==null){try{let s=JSON.parse(e);if(s&&typeof s=="object"&&yT in s){if(s[yT]!==wte(s.method,t,s.status))return;let a=new Response(s.encoding==="base64"?Buffer.from(s.body,"base64"):s.body,{status:s.status,headers:{...s.headers,"X-Storage-Hit":"true"}}),c=typeof s.storedAt=="number"?s.storedAt:new Date(a.headers.get("Date")||0).getTime(),l=!1;if(!isNaN(c)){let u=Date.now()-c,A=gI()/100*25;l=u>A}return{isRevivalNeeded:l,response:a}}}catch{}let n=new bT.URL(t).hostname==="api.github.com"?"application/json":"text/plain; charset=utf-8",i=new Date(Date.now()-gI()).toUTCString();return{isRevivalNeeded:!0,response:new Response(e,{status:200,headers:{"Content-Type":n,"Last-Modified":i,"X-Storage-Hit":"true"}})}}}o(Ste,"getStoredResponse");async function CT(t,e,r="GET"){if(!(r.toUpperCase()!=="GET"||!Qte(t)||!e.ok||e.bodyUsed||parseInt(e.headers.get("content-length")||"0",10)>gT))try{let i=e.clone(),s=e.headers.get("x-ms-blob-content-md5"),a,c;if(s){c="base64";let A=await i.arrayBuffer();if(A.byteLength>gT)return;let d=Buffer.from(A);if((0,ET.createHash)("md5").update(d).digest("base64")!==s)return;a=d.toString(c)}else if(c="utf8",a=await i.text(),Buffer.byteLength(a,"utf8")>gT)return;let l=Object.fromEntries(e.headers.entries()),u=JSON.stringify({[yT]:wte(r,t,e.status),body:a,headers:l,ok:e.ok,method:r,status:e.status,statusText:e.statusText,url:e.url,encoding:c,storedAt:e.storedAt??Date.now()});yI(t,u)}catch{}}o(CT,"setStoredResponse");var Jje="1.3.10",IT=o(t=>BT()==="windows"?`${t}.exe`:t,"exe"),Nte=o(t=>t.replace(/^v/i,""),"normalizeVersion"),Pte=o((t,e)=>t==="windows"&&(e==="aarch64"||e==="arm64"),"windows_arm");function CI(t){return`bun-${(0,Rte.createHash)("sha1").update(t).digest("base64")}`}o(CI,"getCacheKey");function _te(t){return t.match(/\/bun-v([^/]+)\//)?.[1]}o(_te,"extractVersionFromUrl");async function il(t,e){let r=new Headers(e?.headers);r.has("User-Agent")||r.set("User-Agent","@oven-sh/setup-bun");let n=(e?.method??"GET").toUpperCase(),i=n==="GET",s=Ste(t);if(i&&s)if(s.isRevivalNeeded){let c=s.response.headers.get("ETag");c&&r.set("If-None-Match",c);let l=s.response.headers.get("Last-Modified");l&&r.set("If-Modified-Since",l)}else return s.response;let a=await fetch(t,{...e,headers:r});if(a.status===304&&i&&s)return await CT(t,s.response,n),s.response;if(!a.ok){let c=await a.text().catch(()=>"");throw new Error(`Failed to fetch url ${t}. (status code: ${a.status}, status text: ${a.statusText})${c?` +${c}`:""}`)}return i&&await CT(t,a,n),a}o(il,"request");function Dte(t,e){return t.endsWith(e)?t:((0,Mu.renameSync)(t,t+e),t+e)}o(Dte,"addExtension");function BT(){let t=process.platform;return t==="win32"?"windows":t}o(BT,"getPlatform");function kte(t){if(!t)return!1;let e=t.replace(/^bun-v/,"");return(0,bI.validate)(e)?(0,bI.compareVersions)(e,Jje)>=0:!0}o(kte,"hasNativeWindowsArm64");function Tte(t,e,r){return Pte(t,e)&&!kte(r)?((0,nl.warning)(["\u26A0\uFE0F This version of Bun does not provide native arm64 builds for Windows.","Using x64 baseline build which will run through Microsoft's x64 emulation layer.","This may result in reduced performance and potential compatibility issues.","\u{1F4A1} For best performance, consider using Bun >= 1.3.10, x64 Windows runners, or other platforms with native support."].join(` +`)),"x64"):e==="arm64"?"aarch64":e}o(Tte,"getArchitecture");function Ote(t,e,r,n){if(Pte(t,e))return!!kte(n);if(t==="linux"&&e==="x64"&&r===void 0)try{return(0,Mu.readFileSync)("/proc/cpuinfo","utf8").includes("avx2")}catch{return(0,nl.warning)("Failed to detect AVX2 support."),!1}return r??!0}o(Ote,"getAvx2");var Vje={"package.json":o(t=>{let e=JSON.parse(t);return e.packageManager?.split("bun@")?.[1]??e.engines?.bun},"package.json"),".tool-versions":o(t=>t.match(/^bun\s*(?.*?)$/m)?.groups?.version,".tool-versions"),".bumrc":o(t=>t,".bumrc"),".bun-version":o(t=>t,".bun-version")};function wT(t,e=!1){let r=process.env.GITHUB_WORKSPACE;if(!r||!t)return;(0,nl.debug)(`Reading version from ${t}`);let n=(0,EI.resolve)(r,t),i=(0,EI.basename)(t);if(!(0,Mu.existsSync)(n)){e||(0,nl.warning)(`File ${n} not found`);return}let s=Vje[i]??(()=>{}),a;try{if(a=s((0,Mu.readFileSync)(n,"utf8"))?.trim(),!a){e||(0,nl.warning)(`Failed to read version from ${t}`);return}}catch(c){let{message:l}=c;e||(0,nl.warning)(`Failed to read ${t}: ${l}`)}finally{if(a)return(0,vte.info)(`Obtained version ${a} from ${t}`),a}}o(wT,"readVersionFromFile");function Mte(t,e){if(!e||/^(latest|canary|action)$/i.test(e))return!1;let[r]=t.split("+");return Nte(r)===Nte(e)}o(Mte,"isVersionMatch");async function Lte(t){let e=await(0,xT.getExecOutput)(t,["--revision"],{ignoreReturnCode:!0});if(e.exitCode===0&&/^\d+\.\d+\.\d+/.test(e.stdout))return e.stdout.trim();let r=await(0,xT.getExecOutput)(t,["--version"],{ignoreReturnCode:!0});if(r.exitCode===0&&/^\d+\.\d+\.\d+/.test(r.stdout))return r.stdout.trim()}o(Lte,"getRevision");function Ute(t,e){let r=t.headers.get("Last-Modified");if(!r)return;let n=new Date(r),i=n.getTime();return!isNaN(i)&&i>e.getTime()&&isl(t,`/vks/v1/by-fingerprint/${e.replace(/\s/g,"").toUpperCase()}`),"getVksUrl"),jte=o((t,e,r)=>sl(t,"/pks/lookup",r===11371?"http":"https",r,{op:"get",options:"mr",search:`0x${e.replace(/\s/g,"").toLowerCase()}`}),"getHkpUrl"),Yte=o(t=>sl("github.com",`/${t.replace(/^@/,"")}.gpg`),"getGitHubGpgUrl");var $je={sha256:64,sha512:128};function Jte(t){let e=t.toLowerCase().split(":");if(e.length!==2||!e[0]||!e[1])throw new Error(`Invalid digest format: ${t}`);let[r,n]=e,i=$je[r];if(!i)throw new Error(`Unsupported digest algorithm: ${r}`);if(n.length!==i||!/^[a-f0-9]+$/.test(n))throw new Error(`Invalid ${r} hex format. Expected ${i} chars, got ${n.length}`);return n}o(Jte,"getHexFromDigest");function Xje(t){let e=new Kte.URL(t);if(e.hostname!=="github.com")throw new Error(`Expected a github.com URL, got: ${e.hostname}`);let r=e.pathname.slice(1).split("/").map(decodeURIComponent);if(r.length!==6)throw new Error(`Unsupported GitHub asset URL format: ${t}`);let n=r[2]==="releases"&&(r[3]==="latest"&&r[4]==="download"||r[3]==="download"),i=r[0],s=r[1],a=r[4],c=r[5];if(!n||!i||!s||!a||!c)throw new Error(`Failed to parse GitHub asset metadata from: ${t}`);let l=r[3]==="latest"&&a==="download";return l&&(a=""),{owner:i,repo:s,tag:a,name:c,latest:l}}o(Xje,"parseAssetUrl");async function Vte(t,e){let r=Xje(t),n=r.latest?"latest":`tags/${encodeURIComponent(r.tag)}`,i=sl("api.github.com",`/repos/${r.owner}/${r.repo}/releases/${n}`),s=Df(i,{},e),c=await(await il(i,{headers:s})).json();c&&r.latest&&(r.tag=c.tag_name);let l=c.assets?.find(u=>u.name===r.name);if(!l)throw new Error(`Asset ${r.name} not found in release ${r.tag}`);return{...r,digest:l.digest,updated_at:new Date(l.updated_at)}}o(Vte,"fetchAssetMetadata");var zO=require("module"),Yi=Or(require("node:crypto"),1);var Ga=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Vf=Symbol("doneWritingPromise"),dne=Symbol("doneWritingResolve"),fne=Symbol("doneWritingReject"),Jg=Symbol("readingIndex"),vs=class t extends Array{static{o(this,"ArrayStream")}constructor(){super(),Object.setPrototypeOf(this,t.prototype),this[Vf]=new Promise((e,r)=>{this[dne]=e,this[fne]=r}),this[Vf].catch(()=>{})}};vs.prototype.getReader=function(){return this[Jg]===void 0&&(this[Jg]=0),{read:o(async()=>(await this[Vf],this[Jg]===this.length?{value:void 0,done:!0}:{value:this[this[Jg]++],done:!1}),"read")}};vs.prototype.readToEnd=async function(t){await this[Vf];let e=t(this.slice(this[Jg]));return this.length=0,e};vs.prototype.clone=function(){let t=new vs;return t[Vf]=this[Vf].then(()=>{t.push(...this)}),t};function sr(t){return t&&t.getReader&&Array.isArray(t)}o(sr,"isArrayStream");function mm(t){if(!sr(t)){let e=t.getWriter(),r=e.releaseLock;return e.releaseLock=()=>{e.closed.catch(function(){}),r.call(e)},e}this.stream=t}o(mm,"Writer");mm.prototype.write=async function(t){this.stream.push(t)};mm.prototype.close=async function(){this.stream[dne]()};mm.prototype.abort=async function(t){return this.stream[fne](t),t};mm.prototype.releaseLock=function(){};typeof Ga.process=="object"&&Ga.process.versions;function Tr(t){if(sr(t))return"array";if(Ga.ReadableStream&&Ga.ReadableStream.prototype.isPrototypeOf(t))return"web";if(t&&!(Ga.ReadableStream&&t instanceof Ga.ReadableStream)&&typeof t._read=="function"&&typeof t._readableState=="object")throw new Error("Native Node streams are no longer supported: please manually convert the stream to a WebStream, using e.g. `stream.Readable.toWeb`");return t&&t.getReader?"web-like":!1}o(Tr,"isStream");function vB(t){return Uint8Array.prototype.isPrototypeOf(t)}o(vB,"isUint8Array");function hne(t){if(t.length===1)return t[0];let e=0;for(let i=0;i{},this._cancel=()=>{};return}if(Tr(t)){let n=t.getReader();this._read=n.read.bind(n),this._releaseLock=()=>{n.closed.catch(function(){}),n.releaseLock()},this._cancel=n.cancel.bind(n);return}let r=!1;this._read=async()=>r||Wte.has(t)?{value:void 0,done:!0}:(r=!0,{value:t,done:!1}),this._releaseLock=()=>{if(r)try{Wte.add(t)}catch{}}}o(na,"Reader");na.prototype.read=async function(){return this[Ut]&&this[Ut].length?{done:!1,value:this[Ut].shift()}:this._read()};na.prototype.releaseLock=function(){this[Ut]&&(this.stream[Ut]=this[Ut]),this._releaseLock()};na.prototype.cancel=function(t){return this._cancel(t)};na.prototype.readLine=async function(){let t=[],e;for(;!e;){let{done:r,value:n}=await this.read();if(n+="",r)return t.length?qn(t):void 0;let i=n.indexOf(` +`)+1;i&&(e=qn(t.concat(n.substr(0,i))),t=[]),i!==n.length&&t.push(n.substr(i))}return this.unshift(...t),e};na.prototype.readByte=async function(){let{done:t,value:e}=await this.read();if(t)return;let r=e[0];return this.unshift(dn(e,1)),r};na.prototype.readBytes=async function(t){let e=[],r=0;for(;;){let{done:n,value:i}=await this.read();if(n)return e.length?qn(e):void 0;if(e.push(i),r+=i.length,r>=t){let s=qn(e);return this.unshift(dn(s,t)),dn(s,0,t)}}};na.prototype.peekBytes=async function(t){let e=await this.readBytes(t);return this.unshift(e),e};na.prototype.unshift=function(...t){if(this[Ut]||(this[Ut]=[]),t.length===1&&vB(t[0])&&this[Ut].length&&t[0].length&&this[Ut][0].byteOffset>=t[0].length){this[Ut][0]=new Uint8Array(this[Ut][0].buffer,this[Ut][0].byteOffset-t[0].length,this[Ut][0].byteLength+t[0].length);return}this[Ut].unshift(...t.filter(e=>e&&e.length))};na.prototype.readToEnd=async function(t=qn){let e=[];for(;;){let{done:r,value:n}=await this.read();if(r)break;e.push(n)}return t(e)};function ym(t){return Tr(t)?t:new ReadableStream({start(e){e.enqueue(t),e.close()}})}o(ym,"toStream");function pne(t){let e=Tr(t);if(e){if(e!=="array")throw new Error("Can't convert Stream to ArrayStream here, call `readToEnd` first");return t}let r=new vs;return(async()=>{let n=Ji(r);await n.write(t),await n.close()})(),r}o(pne,"toArrayStream");function qn(t){return t.some(e=>Tr(e)&&!sr(e))?Zje(t):t.some(e=>sr(e))?eYe(t):typeof t[0]=="string"?t.join(""):hne(t)}o(qn,"concat");function Zje(t){t=t.map(ym);let e=gne(async function(i){await Promise.all(n.map(s=>iO(s,i)))}),r=Promise.resolve(),n=t.map((i,s)=>Bl(i,(a,c)=>(r=r.then(()=>sh(a,e.writable,{preventClose:s!==t.length-1})),r)));return e.readable}o(Zje,"concatStream");function eYe(t){let e=new vs,r=Promise.resolve();return t.forEach((n,i)=>(r=r.then(()=>sh(n,e,{preventClose:i!==t.length-1})),r)),e}o(eYe,"concatArrayStream");async function sh(t,e,{preventClose:r=!1,preventAbort:n=!1,preventCancel:i=!1}={}){if(Tr(t)&&!sr(t)&&!sr(e)){t=ym(t);try{if(t[Ut]){let c=Ji(e);for(let l=0;l{n=c,i=l}),n=null,i=null)},"write"),close:s.close.bind(s),abort:s.error.bind(s)})}}o(gne,"transformWithCancel");function Dr(t,e=()=>{},r=()=>{},n={highWaterMark:0}){if(Tr(t))return mne(t,e,r,n);let i=e(t),s=r();return i!==void 0&&s!==void 0?qn([i,s]):i!==void 0?i:s}o(Dr,"transform");async function nO(t,e=async()=>{},r=async()=>{},n={highWaterMark:1}){if(Tr(t))return mne(t,e,r,n);let i=await e(t),s=await r();return i!==void 0&&s!==void 0?qn([i,s]):i!==void 0?i:s}o(nO,"transformAsync");function mne(t,e,r,n){if(sr(t)){let i=new vs;return(async()=>{let s=Ji(i);try{let a=await kr(t),c=await e(a),l=await r(),u;c!==void 0&&l!==void 0?u=qn([c,l]):u=c!==void 0?c:l,await s.write(u),await s.close()}catch(a){await s.abort(a)}})(),i}if(Tr(t)){let i,s=!1;return new ReadableStream({start(){i=t.getReader()},async pull(a){if(s){a.close(),t.releaseLock();return}try{for(;;){let{value:c,done:l}=await i.read();s=l;let u=await(l?r:e)(c);if(u!==void 0){a.enqueue(u);return}if(l){a.close(),t.releaseLock();return}}}catch(c){a.error(c)}},async cancel(a){await i.cancel(a)}},n)}throw new Error("Unreachable")}o(mne,"_transformStream");function Bl(t,e){if(Tr(t)&&!sr(t)){let n,i=new TransformStream({start(c){n=c}}),s=sh(t,i.writable),a=gne(async function(c){n.error(c),await s,await new Promise(l=>setTimeout(l))});return e(i.readable,a.writable),a.readable}t=pne(t);let r=new vs;return e(t,r),r}o(Bl,"transformPair");function GO(t,e){let r,n=Bl(t,(i,s)=>{let a=to(i);a.remainder=()=>(a.releaseLock(),sh(i,s),n),r=e(a)});return r}o(GO,"parse");function tYe(t){if(sr(t))throw new Error("ArrayStream cannot be tee()d, use clone() instead");if(Tr(t)){let e=ym(t).tee();return e[0][Ut]=e[1][Ut]=t[Ut],e}return[dn(t),dn(t)]}o(tYe,"tee");function tm(t){if(sr(t))return t.clone();if(Tr(t)){let e=tYe(t);return yne(t,e[0]),e[1]}return dn(t)}o(tm,"clone");function $g(t){return sr(t)?tm(t):Tr(t)?new ReadableStream({start(e){let r=Bl(t,async(n,i)=>{let s=to(n),a=Ji(i);try{for(;;){await a.ready;let{done:c,value:l}=await s.read();if(c){try{e.close()}catch{}await a.close();return}try{e.enqueue(l)}catch{}await a.write(l)}}catch(c){e.error(c),await a.abort(c)}});yne(t,r)}}):dn(t)}o($g,"passiveClone");function yne(t,e){Object.entries(Object.getOwnPropertyDescriptors(t.constructor.prototype)).forEach(([r,n])=>{r!=="constructor"&&(n.value?n.value=n.value.bind(e):n.get=n.get.bind(e),Object.defineProperty(t,r,n))})}o(yne,"overwrite");function dn(t,e=0,r=1/0){if(sr(t))throw new Error("Not implemented");if(Tr(t)){if(e>=0&&r>=0){let n,i=0;return new ReadableStream({start(){n=t.getReader()},async pull(s){try{for(;;)if(i=e&&(l=dn(a,Math.max(e-i,0),r-i)),i+=a.length,l){s.enqueue(l);return}}else{s.close(),t.releaseLock();return}}catch(a){s.error(a)}},async cancel(s){await n.cancel(s)}},{highWaterMark:0})}if(e<0&&(r<0||r===1/0)){let n=[];return Dr(t,i=>{i.length>=-e?n=[i]:n.push(i)},()=>dn(qn(n),e,r))}if(e===0&&r<0){let n;return Dr(t,i=>{let s=n?qn([n,i]):i;if(s.length>=-r)return n=dn(s,r),dn(s,e,r);n=s})}return console.warn(`stream.slice(input, ${e}, ${r}) not implemented efficiently.`),rA(async()=>dn(await kr(t),e,r))}return t[Ut]&&(t=qn(t[Ut].concat([t]))),vB(t)?t.subarray(e,r===1/0?t.length:r):t.slice(e,r)}o(dn,"slice");async function kr(t,e=qn){return sr(t)?t.readToEnd(e):Tr(t)?to(t).readToEnd(e):t}o(kr,"readToEnd");async function iO(t,e){if(Tr(t)){if(t.cancel){let r=await t.cancel(e);return await new Promise(n=>setTimeout(n)),r}if(t.destroy)return t.destroy(e),await new Promise(r=>setTimeout(r)),e}}o(iO,"cancel");function rA(t){let e=new vs;return(async()=>{let r=Ji(e);try{await r.write(await t()),await r.close()}catch(n){await r.abort(n)}})(),e}o(rA,"fromAsync");function to(t){return new na(t)}o(to,"getReader");function Ji(t){return new mm(t)}o(Ji,"getWriter");var Lg=Symbol("byValue"),p={curve:{nistP256:"nistP256",p256:"nistP256",nistP384:"nistP384",p384:"nistP384",nistP521:"nistP521",p521:"nistP521",secp256k1:"secp256k1",ed25519Legacy:"ed25519Legacy",ed25519:"ed25519Legacy",curve25519Legacy:"curve25519Legacy",curve25519:"curve25519Legacy",brainpoolP256r1:"brainpoolP256r1",brainpoolP384r1:"brainpoolP384r1",brainpoolP512r1:"brainpoolP512r1"},s2k:{simple:0,salted:1,iterated:3,argon2:4,gnu:101},publicKey:{rsaEncryptSign:1,rsaEncrypt:2,rsaSign:3,elgamal:16,dsa:17,ecdh:18,ecdsa:19,eddsaLegacy:22,aedh:23,aedsa:24,x25519:25,x448:26,ed25519:27,ed448:28},symmetric:{idea:1,tripledes:2,cast5:3,blowfish:4,aes128:7,aes192:8,aes256:9,twofish:10},compression:{uncompressed:0,zip:1,zlib:2,bzip2:3},hash:{md5:1,sha1:2,ripemd:3,sha256:8,sha384:9,sha512:10,sha224:11,sha3_256:12,sha3_512:14},webHash:{"SHA-1":2,"SHA-256":8,"SHA-384":9,"SHA-512":10},aead:{eax:1,ocb:2,gcm:3,experimentalGCM:100},packet:{publicKeyEncryptedSessionKey:1,signature:2,symEncryptedSessionKey:3,onePassSignature:4,secretKey:5,publicKey:6,secretSubkey:7,compressedData:8,symmetricallyEncryptedData:9,marker:10,literalData:11,trust:12,userID:13,publicSubkey:14,userAttribute:17,symEncryptedIntegrityProtectedData:18,modificationDetectionCode:19,aeadEncryptedData:20,padding:21},literal:{binary:98,text:116,utf8:117,mime:109},signature:{binary:0,text:1,standalone:2,certGeneric:16,certPersona:17,certCasual:18,certPositive:19,certRevocation:48,subkeyBinding:24,keyBinding:25,key:31,keyRevocation:32,subkeyRevocation:40,timestamp:64,thirdParty:80},signatureSubpacket:{signatureCreationTime:2,signatureExpirationTime:3,exportableCertification:4,trustSignature:5,regularExpression:6,revocable:7,keyExpirationTime:9,placeholderBackwardsCompatibility:10,preferredSymmetricAlgorithms:11,revocationKey:12,issuerKeyID:16,notationData:20,preferredHashAlgorithms:21,preferredCompressionAlgorithms:22,keyServerPreferences:23,preferredKeyServer:24,primaryUserID:25,policyURI:26,keyFlags:27,signersUserID:28,reasonForRevocation:29,features:30,signatureTarget:31,embeddedSignature:32,issuerFingerprint:33,preferredAEADAlgorithms:34,preferredCipherSuites:39},keyFlags:{certifyKeys:1,signData:2,encryptCommunication:4,encryptStorage:8,splitPrivateKey:16,authentication:32,sharedPrivateKey:128},armor:{multipartSection:0,multipartLast:1,signed:2,message:3,publicKey:4,privateKey:5,signature:6},reasonForRevocation:{noReason:0,keySuperseded:1,keyCompromised:2,keyRetired:3,userIDInvalid:32},features:{modificationDetection:1,aead:2,v5Keys:4,seipdv2:8},write:o(function(t,e){if(typeof e=="number"&&(e=this.read(t,e)),t[e]!==void 0)return t[e];throw new Error("Invalid enum value.")},"write"),read:o(function(t,e){if(t[Lg]||(t[Lg]=[],Object.entries(t).forEach(([r,n])=>{t[Lg][n]=r})),t[Lg][e]!==void 0)return t[Lg][e];throw new Error("Invalid enum value.")},"read")},Ce={preferredHashAlgorithm:p.hash.sha512,preferredSymmetricAlgorithm:p.symmetric.aes256,preferredCompressionAlgorithm:p.compression.uncompressed,aeadProtect:!1,parseAEADEncryptedV4KeysAsLegacy:!1,preferredAEADAlgorithm:p.aead.gcm,aeadChunkSizeByte:12,v6Keys:!1,enableParsingV5Entities:!1,s2kType:p.s2k.iterated,s2kIterationCountByte:224,s2kArgon2Params:{passes:3,parallelism:4,memoryExponent:16},allowUnauthenticatedMessages:!1,allowUnauthenticatedStream:!1,minRSABits:2047,passwordCollisionCheck:!1,allowInsecureDecryptionWithSigningKeys:!1,allowInsecureVerificationWithReformattedKeys:!1,allowMissingKeyFlags:!1,constantTimePKCS1Decryption:!1,constantTimePKCS1DecryptionSupportedSymmetricAlgorithms:new Set([p.symmetric.aes128,p.symmetric.aes192,p.symmetric.aes256]),ignoreUnsupportedPackets:!0,ignoreMalformedPackets:!1,enforceGrammar:!0,additionalAllowedPackets:[],showVersion:!1,showComment:!1,versionString:"OpenPGP.js 6.3.0",commentString:"https://openpgpjs.org",maxUserIDLength:1024*5,maxDecompressedMessageSize:1/0,knownNotations:[],nonDeterministicSignaturesViaNotation:!0,useEllipticFallback:!0,rejectHashAlgorithms:new Set([p.hash.md5,p.hash.ripemd]),rejectMessageHashAlgorithms:new Set([p.hash.md5,p.hash.ripemd,p.hash.sha1]),rejectPublicKeyAlgorithms:new Set([p.publicKey.elgamal,p.publicKey.dsa]),rejectCurves:new Set([p.curve.secp256k1])},$te=(()=>{try{return process.env.NODE_ENV==="development"}catch{}return!1})(),Q={isString:o(function(t){return typeof t=="string"||t instanceof String},"isString"),nodeRequire:(0,zO.createRequire)(import_meta_url),isArray:o(function(t){return t instanceof Array},"isArray"),isUint8Array:vB,isStream:Tr,getNobleCurve:o(async(t,e)=>{if(!Ce.useEllipticFallback)throw new Error("This curve is only supported in the full build of OpenPGP.js");let{nobleCurves:r}=await Promise.resolve().then(function(){return s$e});switch(t){case p.publicKey.ecdh:case p.publicKey.ecdsa:{let n=r.get(e);if(!n)throw new Error("Unsupported curve");return n}case p.publicKey.x448:return r.get("x448");case p.publicKey.ed448:return r.get("ed448");default:throw new Error("Unsupported curve")}},"getNobleCurve"),readNumber:o(function(t){let e=0;for(let r=0;r>8*(e-n-1)&255;return r},"writeNumber"),readDate:o(function(t){let e=Q.readNumber(t);return new Date(e*1e3)},"readDate"),writeDate:o(function(t){let e=Math.floor(t.getTime()/1e3);return Q.writeNumber(e,4)},"writeDate"),normalizeDate:o(function(t=Date.now()){return t===null||t===1/0?t:new Date(Math.floor(+t/1e3)*1e3)},"normalizeDate"),readMPI:o(function(t){let r=(t[0]<<8|t[1])+7>>>3;return Q.readExactSubarray(t,2,2+r)},"readMPI"),readExactSubarray:o(function(t,e,r){if(t.lengthe)throw new Error("Input array too long");let r=new Uint8Array(e),n=e-t.length;return r.set(t,n),r},uint8ArrayToMPI:o(function(t){let e=Q.uint8ArrayBitLength(t);if(e===0)throw new Error("Zero MPI");let r=t.subarray(t.length-Math.ceil(e/8)),n=new Uint8Array([(e&65280)>>8,e&255]);return Q.concatUint8Array([n,r])},"uint8ArrayToMPI"),uint8ArrayBitLength:o(function(t){let e;for(e=0;e>1);for(let r=0;r>1;r++)e[r]=parseInt(t.substr(r<<1,2),16);return e},"hexToUint8Array"),uint8ArrayToHex:o(function(t){let e="0123456789abcdef",r="";return t.forEach(n=>{r+=e[n>>4]+e[n&15]}),r},"uint8ArrayToHex"),stringToUint8Array:o(function(t){return Dr(t,e=>{if(!Q.isString(e))throw new Error("stringToUint8Array: Data must be in the form of a string");let r=new Uint8Array(e.length);for(let n=0;nr("",!0))},"encodeUTF8"),decodeUTF8:o(function(t){let e=new TextDecoder("utf-8");function r(n,i=!1){return e.decode(n,{stream:!i})}return o(r,"process"),Dr(t,r,()=>r(new Uint8Array,!0))},"decodeUTF8"),concat:qn,concatUint8Array:hne,equalsUint8Array:o(function(t,e){if(!Q.isUint8Array(t)||!Q.isUint8Array(e))throw new Error("Data must be in the form of a Uint8Array");if(t.length!==e.length)return!1;for(let r=0;r=0;r--)if(e(t[r],r,t))return r;return-1},"findLastIndex"),writeChecksum:o(function(t){let e=0;for(let r=0;r>>16;return r!==0&&(t=r,e+=16),r=t>>8,r!==0&&(t=r,e+=8),r=t>>4,r!==0&&(t=r,e+=4),r=t>>2,r!==0&&(t=r,e+=2),r=t>>1,r!==0&&(t=r,e+=1),e},"nbits"),double:o(function(t){let e=new Uint8Array(t.length),r=t.length-1;for(let n=0;n>7;return e[r]=t[r]<<1^(t[0]>>7)*135,e},"double"),shiftRight:o(function(t,e){if(e)for(let r=t.length-1;r>=0;r--)t[r]>>=e,r>0&&(t[r]|=t[r-1]<<8-e);return t},"shiftRight"),getWebCrypto:o(function(){let e=typeof Ga<"u"&&Ga.crypto&&Ga.crypto.subtle||this.getNodeCrypto()?.webcrypto.subtle;if(!e)throw new Error("The WebCrypto API is not available");return e},"getWebCrypto"),getNodeCrypto:o(function(){return this.nodeRequire("crypto")},"getNodeCrypto"),getNodeZlib:o(function(){return this.nodeRequire("zlib")},"getNodeZlib"),getNodeBuffer:o(function(){return(this.nodeRequire("buffer")||{}).Buffer},"getNodeBuffer"),getHardwareConcurrency:o(function(){return typeof navigator<"u"?navigator.hardwareConcurrency||1:this.nodeRequire("os").cpus().length},"getHardwareConcurrency"),isEmailAddress:o(function(t){return Q.isString(t)?/^[^\p{C}\p{Z}@<>\\]+@[^\p{C}\p{Z}@<>\\]+[^\p{C}\p{Z}\p{P}]$/u.test(t):!1},"isEmailAddress"),canonicalizeEOL:o(function(t){let n=!1;return Dr(t,i=>{n&&(i=Q.concatUint8Array([new Uint8Array([13]),i])),i[i.length-1]===13?(n=!0,i=i.subarray(0,-1)):n=!1;let s,a=[];for(let u=0;s=i.indexOf(10,u)+1,s;u=s)i[s-2]!==13&&a.push(s);if(!a.length)return i;let c=new Uint8Array(i.length+a.length),l=0;for(let u=0;un?new Uint8Array([13]):void 0)},"canonicalizeEOL"),nativeEOL:o(function(t){let n=!1;return Dr(t,i=>{n&&i[0]!==10?i=Q.concatUint8Array([new Uint8Array([13]),i]):i=new Uint8Array(i),i[i.length-1]===13?(n=!0,i=i.subarray(0,-1)):n=!1;let s,a=0;for(let c=0;c!==i.length;c=s){s=i.indexOf(13,c)+1,s||(s=i.length);let l=s-(i[s]===10?1:0);c&&i.copyWithin(a,c,l),a+=l-c}return i.subarray(0,a)},()=>n?new Uint8Array([13]):void 0)},"nativeEOL"),removeTrailingSpaces:o(function(t){return t.split(` +`).map(e=>{let r=e.length-1;for(;r>=0&&(e[r]===" "||e[r]===" "||e[r]==="\r");r--);return e.substr(0,r+1)}).join(` +`)},"removeTrailingSpaces"),wrapError:o(function(t,e){if(!e)return t instanceof Error?t:new Error(t);if(t instanceof Error){try{t.message+=": "+e.message,t.cause=e}catch{}return t}return new Error(t+": "+e.message,{cause:e})},"wrapError"),constructAllowedPackets:o(function(t){let e={};return t.forEach(r=>{if(!r.tag)throw new Error("Invalid input: expected a packet class");e[r.tag]=r}),e},"constructAllowedPackets"),anyPromise:o(function(t){return new Promise((e,r)=>{let n;Promise.all(t.map(async i=>{try{e(await i)}catch(s){n=s}})).then(()=>{r(n)})})},"anyPromise"),selectUint8Array:o(function(t,e,r){let n=Math.max(e.length,r.length),i=new Uint8Array(n),s=0;for(let a=0;aNT.from(t).toString("base64"),"encodeChunk"),KI=o(t=>{let e=NT.from(t,"base64");return new Uint8Array(e.buffer,e.byteOffset,e.byteLength)},"decodeChunk")):(YI=o(t=>btoa(Q.uint8ArrayToString(t)),"encodeChunk"),KI=o(t=>Q.stringToUint8Array(atob(t)),"decodeChunk"));function Ha(t){let e=new Uint8Array;return Dr(t,r=>{e=Q.concatUint8Array([e,r]);let n=[],i=45,s=Math.floor(e.length/i),a=s*i,c=YI(e.subarray(0,a));for(let l=0;le.length?YI(e)+` +`:"")}o(Ha,"encode$1");function Ene(t){let e="";return Dr(t,r=>{e+=r;let n=0,i=[" "," ","\r",` +`];for(let c=0;c0&&(s-n)%4!==0;s--)i.includes(e[s])&&n--;let a=KI(e.substr(0,s));return e=e.substr(s),a},()=>KI(e))}o(Ene,"decode$1");function fi(t){return Ene(t.replace(/-/g,"+").replace(/_/g,"/"))}o(fi,"b64ToUint8Array");function An(t,e){let r=Ha(t).replace(/[\r\n]/g,"");return r=r.replace(/[+]/g,"-").replace(/[/]/g,"_").replace(/[=]/g,""),r}o(An,"uint8ArrayToB64");function rYe(t){let e=/^-----BEGIN PGP (MESSAGE, PART \d+\/\d+|MESSAGE, PART \d+|SIGNED MESSAGE|MESSAGE|PUBLIC KEY BLOCK|PRIVATE KEY BLOCK|SIGNATURE)-----$/m,r=t.match(e);if(!r)throw new Error("Unknown ASCII armor type");if(/MESSAGE, PART \d+\/\d+/.test(r[1]))return p.armor.multipartSection;if(/MESSAGE, PART \d+/.test(r[1]))return p.armor.multipartLast;if(/SIGNED MESSAGE/.test(r[1]))return p.armor.signed;if(/MESSAGE/.test(r[1]))return p.armor.message;if(/PUBLIC KEY BLOCK/.test(r[1]))return p.armor.publicKey;if(/PRIVATE KEY BLOCK/.test(r[1]))return p.armor.privateKey;if(/SIGNATURE/.test(r[1]))return p.armor.signature}o(rYe,"getType");function Lu(t,e){let r="";return e.showVersion&&(r+="Version: "+e.versionString+` +`),e.showComment&&(r+="Comment: "+e.commentString+` +`),t&&(r+="Comment: "+t+` +`),r+=` +`,r}o(Lu,"addheader");function Uu(t){let e=iYe(t);return Ha(e)}o(Uu,"getCheckSum");var on=[new Array(255),new Array(255),new Array(255),new Array(255)];for(let t=0;t<=255;t++){let e=t<<16;for(let r=0;r<8;r++)e=e<<1^((e&8388608)!==0?8801531:0);on[0][t]=(e&16711680)>>16|e&65280|(e&255)<<16}for(let t=0;t<=255;t++)on[1][t]=on[0][t]>>8^on[0][on[0][t]&255];for(let t=0;t<=255;t++)on[2][t]=on[1][t]>>8^on[0][on[1][t]&255];for(let t=0;t<=255;t++)on[3][t]=on[2][t]>>8^on[0][on[2][t]&255];var nYe=(function(){let t=new ArrayBuffer(2);return new DataView(t).setInt16(0,255,!0),new Int16Array(t)[0]===255})();function iYe(t){let e=13501623;return Dr(t,r=>{let n=nYe?Math.floor(r.length/4):0,i=new Uint32Array(r.buffer,r.byteOffset,n);for(let s=0;s>24&255]^on[1][e>>16&255]^on[2][e>>8&255]^on[3][e>>0&255];for(let s=n*4;s>8^on[0][e&255^r[s]]},()=>new Uint8Array([e,e>>8,e>>16]))}o(iYe,"createcrc24");function Xte(t){for(let e=0;e=0&&r!==t.length-1&&(e=t.slice(0,r)),e}o(sYe,"removeChecksum");function RB(t){return new Promise((e,r)=>{try{let n=/^-----[^-]+-----$/m,i=/^[ \f\r\t\u00a0\u2000-\u200a\u202f\u205f\u3000]*$/,s,a=[],c=a,l,u=[],A,d=Ene(Bl(t,async(f,h)=>{let g=to(f);try{for(;;){let b=await g.readLine();if(b===void 0)throw new Error("Misformed armored text");if(b=Q.removeTrailingSpaces(b.replace(/[\r\n]/g,"")),!s)n.test(b)&&(s=rYe(b));else if(l)!A&&s===p.armor.signed&&(n.test(b)?(u=u.join(`\r +`),A=!0,Xte(c),c=[],l=!1):u.push(b.replace(/^- /,"")));else if(n.test(b)&&r(new Error("Mandatory blank line missing between armor headers and armor data")),!i.test(b))c.push(b);else if(Xte(c),l=!0,A||s!==p.armor.signed){e({text:u,data:d,headers:a,type:s});break}}}catch(b){r(b);return}let m=Ji(h);try{for(;;){await m.ready;let{done:b,value:y}=await g.read();if(b)throw new Error("Misformed armored text");let I=y+"";if(I.indexOf("=")===-1&&I.indexOf("-")===-1)await m.write(I);else{let w=await g.readToEnd();w.length||(w=""),w=I+w,w=Q.removeTrailingSpaces(w.replace(/\r/g,""));let v=w.split(n);if(v.length===1)throw new Error("Misformed armored text");let U=sYe(v[0].slice(0,-1));await m.write(U);break}}await m.ready,await m.close()}catch(b){await m.abort(b)}}))}catch(n){r(n)}}).then(async e=>(sr(e.data)&&(e.data=await kr(e.data)),e))}o(RB,"unarmor");function oh(t,e,r,n,i,s=!1,a=Ce){let c,l;t===p.armor.signed&&(c=e.text,l=e.hash,e=e.data);let u=s&&$g(e),A=[];switch(t){case p.armor.multipartSection:A.push("-----BEGIN PGP MESSAGE, PART "+r+"/"+n+`----- +`),A.push(Lu(i,a)),A.push(Ha(e)),u&&A.push("=",Uu(u)),A.push("-----END PGP MESSAGE, PART "+r+"/"+n+`----- +`);break;case p.armor.multipartLast:A.push("-----BEGIN PGP MESSAGE, PART "+r+`----- +`),A.push(Lu(i,a)),A.push(Ha(e)),u&&A.push("=",Uu(u)),A.push("-----END PGP MESSAGE, PART "+r+`----- +`);break;case p.armor.signed:A.push(`-----BEGIN PGP SIGNED MESSAGE----- +`),A.push(l?`Hash: ${l} + +`:` +`),A.push(c.replace(/^-/mg,"- -")),A.push(` +-----BEGIN PGP SIGNATURE----- +`),A.push(Lu(i,a)),A.push(Ha(e)),u&&A.push("=",Uu(u)),A.push(`-----END PGP SIGNATURE----- +`);break;case p.armor.message:A.push(`-----BEGIN PGP MESSAGE----- +`),A.push(Lu(i,a)),A.push(Ha(e)),u&&A.push("=",Uu(u)),A.push(`-----END PGP MESSAGE----- +`);break;case p.armor.publicKey:A.push(`-----BEGIN PGP PUBLIC KEY BLOCK----- +`),A.push(Lu(i,a)),A.push(Ha(e)),u&&A.push("=",Uu(u)),A.push(`-----END PGP PUBLIC KEY BLOCK----- +`);break;case p.armor.privateKey:A.push(`-----BEGIN PGP PRIVATE KEY BLOCK----- +`),A.push(Lu(i,a)),A.push(Ha(e)),u&&A.push("=",Uu(u)),A.push(`-----END PGP PRIVATE KEY BLOCK----- +`);break;case p.armor.signature:A.push(`-----BEGIN PGP SIGNATURE----- +`),A.push(Lu(i,a)),A.push(Ha(e)),u&&A.push("=",Uu(u)),A.push(`-----END PGP SIGNATURE----- +`);break}return Q.concat(A)}o(oh,"armor");var pi=BigInt(0),jf=BigInt(1);function _e(t){let e="0123456789ABCDEF",r="";return t.forEach(n=>{r+=e[n>>4]+e[n&15]}),BigInt("0x0"+r)}o(_e,"uint8ArrayToBigInt");function ct(t,e){let r=t%e;return rpi;){let a=n&jf;n>>=jf;let c=s*i%r;s=a?c:s,i=i*i%r}return s}o(an,"modExp");function Zte(t){return t>=pi?t:-t}o(Zte,"abs");function oYe(t,e){let r=BigInt(0),n=BigInt(1),i=BigInt(1),s=BigInt(0),a=Zte(t),c=Zte(e),l=tNumber.MAX_SAFE_INTEGER)throw new Error("Number can only safely store up to 53 bits");return e}o(sO,"bigIntToNumber");function cYe(t,e){return(t>>BigInt(e)&jf)===pi?0:1}o(cYe,"getBit");function ah(t){let e=t>=jf)!==e;)r++;return r}o(ah,"bitLength");function gi(t){let e=t>=r)!==e;)n++;return n}o(gi,"byteLength");function wr(t,e="be",r){let n=t.toString(16);n.length%2===1&&(n="0"+n);let i=n.length/2,s=new Uint8Array(r||i),a=r?r-i:0,c=0;for(;ct&&(a=ct(a,i<ct(t,r)!==e)}o(AYe,"divisionTest");var dYe=[7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997,1009,1013,1019,1021,1031,1033,1039,1049,1051,1061,1063,1069,1087,1091,1093,1097,1103,1109,1117,1123,1129,1151,1153,1163,1171,1181,1187,1193,1201,1213,1217,1223,1229,1231,1237,1249,1259,1277,1279,1283,1289,1291,1297,1301,1303,1307,1319,1321,1327,1361,1367,1373,1381,1399,1409,1423,1427,1429,1433,1439,1447,1451,1453,1459,1471,1481,1483,1487,1489,1493,1499,1511,1523,1531,1543,1549,1553,1559,1567,1571,1579,1583,1597,1601,1607,1609,1613,1619,1621,1627,1637,1657,1663,1667,1669,1693,1697,1699,1709,1721,1723,1733,1741,1747,1753,1759,1777,1783,1787,1789,1801,1811,1823,1831,1847,1861,1867,1871,1873,1877,1879,1889,1901,1907,1913,1931,1933,1949,1951,1973,1979,1987,1993,1997,1999,2003,2011,2017,2027,2029,2039,2053,2063,2069,2081,2083,2087,2089,2099,2111,2113,2129,2131,2137,2141,2143,2153,2161,2179,2203,2207,2213,2221,2237,2239,2243,2251,2267,2269,2273,2281,2287,2293,2297,2309,2311,2333,2339,2341,2347,2351,2357,2371,2377,2381,2383,2389,2393,2399,2411,2417,2423,2437,2441,2447,2459,2467,2473,2477,2503,2521,2531,2539,2543,2549,2551,2557,2579,2591,2593,2609,2617,2621,2633,2647,2657,2659,2663,2671,2677,2683,2687,2689,2693,2699,2707,2711,2713,2719,2729,2731,2741,2749,2753,2767,2777,2789,2791,2797,2801,2803,2819,2833,2837,2843,2851,2857,2861,2879,2887,2897,2903,2909,2917,2927,2939,2953,2957,2963,2969,2971,2999,3001,3011,3019,3023,3037,3041,3049,3061,3067,3079,3083,3089,3109,3119,3121,3137,3163,3167,3169,3181,3187,3191,3203,3209,3217,3221,3229,3251,3253,3257,3259,3271,3299,3301,3307,3313,3319,3323,3329,3331,3343,3347,3359,3361,3371,3373,3389,3391,3407,3413,3433,3449,3457,3461,3463,3467,3469,3491,3499,3511,3517,3527,3529,3533,3539,3541,3547,3557,3559,3571,3581,3583,3593,3607,3613,3617,3623,3631,3637,3643,3659,3671,3673,3677,3691,3697,3701,3709,3719,3727,3733,3739,3761,3767,3769,3779,3793,3797,3803,3821,3823,3833,3847,3851,3853,3863,3877,3881,3889,3907,3911,3917,3919,3923,3929,3931,3943,3947,3967,3989,4001,4003,4007,4013,4019,4021,4027,4049,4051,4057,4073,4079,4091,4093,4099,4111,4127,4129,4133,4139,4153,4157,4159,4177,4201,4211,4217,4219,4229,4231,4241,4243,4253,4259,4261,4271,4273,4283,4289,4297,4327,4337,4339,4349,4357,4363,4373,4391,4397,4409,4421,4423,4441,4447,4451,4457,4463,4481,4483,4493,4507,4513,4517,4519,4523,4547,4549,4561,4567,4583,4591,4597,4603,4621,4637,4639,4643,4649,4651,4657,4663,4673,4679,4691,4703,4721,4723,4729,4733,4751,4759,4783,4787,4789,4793,4799,4801,4813,4817,4831,4861,4871,4877,4889,4903,4909,4919,4931,4933,4937,4943,4951,4957,4967,4969,4973,4987,4993,4999].map(t=>BigInt(t));function fYe(t,e,r){let n=ah(t);e||(e=Math.max(1,n/48|0));let i=t-Wo,s=0;for(;!cYe(i,s);)s++;let a=t>>BigInt(s);for(;e>0;e--){let c=wl(BigInt(2),i),l=an(c,a,t);if(l===Wo||l===i)continue;let u;for(u=1;u{r.update(n)},()=>new Uint8Array(r.digest()))}}o(Wa,"nodeHash");function $a(t,e){let r=o(async()=>{let{nobleHashes:n}=await Promise.resolve().then(function(){return E$e}),i=n.get(t);if(!i)throw new Error("Unsupported hash");return i},"getNobleHash");return async function(n){if(sr(n)&&(n=await kr(n)),Q.isStream(n)){let s=(await r()).create();return Dr(n,a=>{s.update(a)},()=>s.digest())}else return tre&&e?new Uint8Array(await tre.digest(e,n)):(await r())(n)}}o($a,"nobleHash");var pYe=Wa("md5")||$a("md5"),gYe=Wa("sha1")||$a("sha1","SHA-1"),mYe=Wa("sha224")||$a("sha224"),yYe=Wa("sha256")||$a("sha256","SHA-256"),EYe=Wa("sha384")||$a("sha384","SHA-384"),bYe=Wa("sha512")||$a("sha512","SHA-512"),CYe=Wa("ripemd160")||$a("ripemd160"),xYe=Wa("sha3-256")||$a("sha3_256"),IYe=Wa("sha3-512")||$a("sha3_512");function ea(t,e){switch(t){case p.hash.md5:return pYe(e);case p.hash.sha1:return gYe(e);case p.hash.ripemd:return CYe(e);case p.hash.sha256:return yYe(e);case p.hash.sha384:return EYe(e);case p.hash.sha512:return bYe(e);case p.hash.sha224:return mYe(e);case p.hash.sha3_256:return xYe(e);case p.hash.sha3_512:return IYe(e);default:throw new Error("Unsupported hash function")}}o(ea,"computeDigest");function qr(t){switch(t){case p.hash.md5:return 16;case p.hash.sha1:case p.hash.ripemd:return 20;case p.hash.sha256:return 32;case p.hash.sha384:return 48;case p.hash.sha512:return 64;case p.hash.sha224:return 28;case p.hash.sha3_256:return 32;case p.hash.sha3_512:return 64;default:throw new Error("Invalid hash algorithm.")}}o(qr,"getHashByteLength");var $o=[];$o[1]=[48,32,48,12,6,8,42,134,72,134,247,13,2,5,5,0,4,16];$o[2]=[48,33,48,9,6,5,43,14,3,2,26,5,0,4,20];$o[3]=[48,33,48,9,6,5,43,36,3,2,1,5,0,4,20];$o[8]=[48,49,48,13,6,9,96,134,72,1,101,3,4,2,1,5,0,4,32];$o[9]=[48,65,48,13,6,9,96,134,72,1,101,3,4,2,2,5,0,4,48];$o[10]=[48,81,48,13,6,9,96,134,72,1,101,3,4,2,3,5,0,4,64];$o[11]=[48,45,48,13,6,9,96,134,72,1,101,3,4,2,4,5,0,4,28];function BYe(t){let e=new Uint8Array(t),r=0;for(;re-11)throw new Error("Message too long");let n=BYe(e-r-3),i=new Uint8Array(e);return i[1]=2,i.set(n,2),i.set(t,e-r),i}o(Cne,"emeEncode");function xne(t,e){let r=2,n=1;for(let c=r;c=8&!n;if(e)return Q.selectUint8Array(a,s,e);if(a)return s;throw new Error("Decryption error")}o(xne,"emeDecode");function Ine(t,e,r){let n;if(e.length!==qr(t))throw new Error("Invalid hash length");let i=new Uint8Array($o[t].length);for(n=0;n<$o[t].length;n++)i[n]=$o[t][n];let s=i.length+e.length;if(r=r.length)throw new Error("Digest size cannot exceed key modulus size");if(e&&!Q.isStream(e)){if(Q.getWebCrypto())try{return await _Ye(p.read(p.webHash,t),e,r,n,i,s,a,c)}catch(u){Q.printDebugError(u)}else if(Q.getNodeCrypto())return DYe(t,e,r,n,i,s,a,c)}return PYe(t,r,i,l)}o(wYe,"sign$6");async function QYe(t,e,r,n,i,s){if(e&&!Q.isStream(e)){if(Q.getWebCrypto())try{return await TYe(p.read(p.webHash,t),e,r,n,i)}catch(a){Q.printDebugError(a)}else if(Q.getNodeCrypto())return OYe(t,e,r,n,i)}return kYe(t,r,n,i,s)}o(QYe,"verify$6");async function SYe(t,e,r){return Q.getNodeCrypto()?MYe(t,e,r):LYe(t,e,r)}o(SYe,"encrypt$6");async function NYe(t,e,r,n,i,s,a,c){if(Q.getNodeCrypto()&&!c)try{return UYe(t,e,r,n,i,s,a)}catch(l){Q.printDebugError(l)}return FYe(t,e,r,n,i,s,a,c)}o(NYe,"decrypt$6");async function vYe(t,e){if(e=BigInt(e),Q.getWebCrypto()){let a={name:"RSASSA-PKCS1-v1_5",modulusLength:t,publicExponent:wr(e),hash:{name:"SHA-1"}},c=await $f.generateKey(a,!0,["sign","verify"]),l=await $f.exportKey("jwk",c.privateKey);return rre(l,e)}else if(Q.getNodeCrypto()){let a={modulusLength:t,publicExponent:sO(e),publicKeyEncoding:{type:"pkcs1",format:"jwk"},privateKeyEncoding:{type:"pkcs1",format:"jwk"}},c=await new Promise((l,u)=>{Wu.generateKeyPair("rsa",a,(A,d,f)=>{A?u(A):l(f)})});return rre(c,e)}let r,n,i;do n=ere(t-(t>>1),e,40),r=ere(t>>1,e,40),i=r*n;while(ah(i)!==t);let s=(r-Cl)*(n-Cl);return n=r)throw new Error("Signature size cannot exceed modulus size");let s=wr(an(e,n,r),"be",gi(r)),a=Ine(t,i,gi(r));return Q.equalsUint8Array(s,a)}o(kYe,"bnVerify");async function TYe(t,e,r,n,i){let s=YO(n,i),a=await $f.importKey("jwk",s,{name:"RSASSA-PKCS1-v1_5",hash:{name:t}},!1,["verify"]);return $f.verify("RSASSA-PKCS1-v1_5",a,r,e)}o(TYe,"webVerify$1");function OYe(t,e,r,n,i){let a={key:YO(n,i),format:"jwk",type:"pkcs1"},c=Wu.createVerify(p.read(p.hash,t));c.write(e),c.end();try{return c.verify(a,r)}catch{return!1}}o(OYe,"nodeVerify$1");function MYe(t,e,r){let i={key:YO(e,r),format:"jwk",type:"pkcs1",padding:Wu.constants.RSA_PKCS1_PADDING};return new Uint8Array(Wu.publicEncrypt(i,t))}o(MYe,"nodeEncrypt$1");function LYe(t,e,r){if(e=_e(e),t=_e(Cne(t,gi(e))),r=_e(r),t>=e)throw new Error("Message size cannot exceed modulus size");return wr(an(t,r,e),"be",gi(e))}o(LYe,"bnEncrypt");function UYe(t,e,r,n,i,s,a){let l={key:jO(e,r,n,i,s,a),format:"jwk",type:"pkcs1",padding:Wu.constants.RSA_PKCS1_PADDING};try{return new Uint8Array(Wu.privateDecrypt(l,t))}catch{throw new Error("Decryption error")}}o(UYe,"nodeDecrypt$1");function FYe(t,e,r,n,i,s,a,c){if(t=_e(t),e=_e(e),r=_e(r),n=_e(n),i=_e(i),s=_e(s),a=_e(a),t>=e)throw new Error("Data too large.");let l=ct(n,s-Cl),u=ct(n,i-Cl),A=wl(BigInt(2),e),d=an(Wf(A,e),r,e);t=ct(t*d,e);let f=an(t,u,i),h=an(t,l,s),m=ct(a*(h-f),s)*i+f;return m=ct(m*A,e),xne(wr(m,"be",gi(e)),c)}o(FYe,"bnDecrypt");function jO(t,e,r,n,i,s){let a=_e(n),c=_e(i),l=_e(r),u=ct(l,c-Cl),A=ct(l,a-Cl);return A=wr(A),u=wr(u),{kty:"RSA",n:An(t),e:An(e),d:An(r),p:An(i),q:An(n),dp:An(u),dq:An(A),qi:An(s),ext:!0}}o(jO,"privateToJWK$1");function YO(t,e){return{kty:"RSA",n:An(t),e:An(e),ext:!0}}o(YO,"publicToJWK");function rre(t,e){return{n:fi(t.n),e:wr(e),d:fi(t.d),p:fi(t.q),q:fi(t.p),u:fi(t.qi)}}o(rre,"jwkToPrivate");var gl=BigInt(1);async function HYe(t,e,r,n){e=_e(e),r=_e(r),n=_e(n);let i=Cne(t,gi(e)),s=_e(i),a=wl(gl,e-gl);return{c1:wr(an(r,a,e)),c2:wr(ct(an(n,a,e)*s,e))}}o(HYe,"encrypt$5");async function qYe(t,e,r,n,i){t=_e(t),e=_e(e),r=_e(r),n=_e(n);let s=ct(Wf(an(t,n,r),r)*e,r);return xne(wr(s,"be",gi(r)),i)}o(qYe,"decrypt$5");async function zYe(t,e,r,n){let i=_e(t),s=_e(e),a=_e(r);if(s<=gl||s>=i)return!1;let c=BigInt(ah(i)),l=BigInt(1023);if(c=1){let r=e[0];if(e.length>=1+r)return this.oid=e.subarray(1,1+r),1+this.oid.length}throw new Error("Invalid oid")}write(){return Q.concatUint8Array([new Uint8Array([this.oid.length]),this.oid])}toHex(){return Q.uint8ArrayToHex(this.oid)}getName(){let e=GYe[this.toHex()];if(!e)throw new Error("Unknown curve object identifier.");return e}};function Bne(t){let e=0,r,n=t[0];return n<192?([e]=t,r=1):n<255?(e=(t[0]-192<<8)+t[1]+192,r=2):n===255&&(e=Q.readNumber(t.subarray(1,5)),r=5),{len:e,offset:r}}o(Bne,"readSimpleLength");function PB(t){return t<192?new Uint8Array([t]):t>191&&t<8384?new Uint8Array([(t-192>>8)+192,t-192&255]):Q.concatUint8Array([new Uint8Array([255]),Q.writeNumber(t,4)])}o(PB,"writeSimpleLength");function jYe(t){if(t<0||t>30)throw new Error("Partial Length power must be between 1 and 30");return new Uint8Array([224+t])}o(jYe,"writePartialLength");function VI(t){return new Uint8Array([192|t])}o(VI,"writeTag");function nre(t,e){return Q.concatUint8Array([VI(t),PB(e)])}o(nre,"writeHeader");function MI(t){return[p.packet.literalData,p.packet.compressedData,p.packet.symmetricallyEncryptedData,p.packet.symEncryptedIntegrityProtectedData,p.packet.aeadEncryptedData].includes(t)}o(MI,"supportsStreaming");async function YYe(t,e,r){let n,i;try{let s=await t.peekBytes(2);if(!s||s.length<2||(s[0]&128)===0)throw new Error("Error during parsing. This message / key probably does not conform to a valid OpenPGP format.");let a=await t.readByte(),c=-1,l=-1,u;l=0,(a&64)!==0&&(l=1);let A;l?c=a&63:(c=(a&63)>>2,A=a&3);let d=MI(c),f=null;if(e&&d){if(e==="array"){let g=new vs;n=Ji(g),f=g}else{let g=new TransformStream;n=Ji(g.writable),f=g.readable}i=r({tag:c,packet:f})}else f=[];let h;do{if(l){let g=await t.readByte();if(h=!1,g<192)u=g;else if(g>=192&&g<224)u=(g-192<<8)+await t.readByte()+192;else if(g>223&&g<255){if(u=1<<(g&31),h=!0,!d)throw new TypeError("This packet type does not support partial lengths.")}else u=await t.readByte()<<24|await t.readByte()<<16|await t.readByte()<<8|await t.readByte()}else switch(A){case 0:u=await t.readByte();break;case 1:u=await t.readByte()<<8|await t.readByte();break;case 2:u=await t.readByte()<<24|await t.readByte()<<16|await t.readByte()<<8|await t.readByte();break;default:u=1/0;break}if(u>0){let g=0;for(;;){n&&await n.ready;let{done:m,value:b}=await t.read();if(m){if(u===1/0)break;throw new Error("Unexpected end of packet")}let y=u===1/0?b:b.subarray(0,u-g);if(n?await n.write(y):f.push(y),g+=b.length,g>=u){t.unshift(b.subarray(u-g+b.length));break}}}}while(h);n?(await n.ready,await n.close()):(f=Q.concatUint8Array(f),await r({tag:c,packet:f}))}catch(s){if(n)return await n.abort(s),!0;throw s}finally{n&&await i}}o(YYe,"readPacket");var vt=class t extends Error{static{o(this,"UnsupportedError")}constructor(...e){super(...e),Error.captureStackTrace&&Error.captureStackTrace(this,t),this.name="UnsupportedError"}},Yf=class extends vt{static{o(this,"UnknownPacketError")}constructor(...e){super(...e),Error.captureStackTrace&&Error.captureStackTrace(this,vt),this.name="UnknownPacketError"}},Xg=class extends vt{static{o(this,"MalformedPacketError")}constructor(...e){super(...e),Error.captureStackTrace&&Error.captureStackTrace(this,vt),this.name="MalformedPacketError"}},rm=class{static{o(this,"UnparseablePacket")}constructor(e,r){this.tag=e,this.rawContent=r}write(){return this.rawContent}};async function KO(t){switch(t){case p.publicKey.ed25519:try{let e=Q.getWebCrypto(),r=await e.generateKey("Ed25519",!0,["sign","verify"]).catch(s=>{if(s.name==="OperationError"){let a=new Error("Unexpected key generation issue");throw a.name="NotSupportedError",a}throw s}),n=await e.exportKey("jwk",r.privateKey),i=await e.exportKey("jwk",r.publicKey);return{A:new Uint8Array(fi(i.x)),seed:fi(n.d,!0)}}catch(e){if(e.name!=="NotSupportedError")throw e;let{default:r}=await Promise.resolve().then(function(){return oA}),n=vn(_B(t)),{publicKey:i}=r.sign.keyPair.fromSeed(n);return{A:i,seed:n}}case p.publicKey.ed448:{let e=await Q.getNobleCurve(p.publicKey.ed448),{secretKey:r,publicKey:n}=e.keygen();return{A:n,seed:r}}default:throw new Error("Unsupported EdDSA algorithm")}}o(KO,"generate$3");async function JO(t,e,r,n,i,s){if(qr(e){if(t===p.publicKey.ed25519)return{kty:"OKP",crv:"Ed25519",x:An(e),ext:!0};throw new Error("Unsupported EdDSA algorithm")},"publicKeyToJWK$1"),wne=o((t,e,r)=>{if(t===p.publicKey.ed25519){let n=$O(t,e);return n.d=An(r),n}else throw new Error("Unsupported EdDSA algorithm")},"privateKeyToJWK$1"),KYe=Object.freeze({__proto__:null,generate:KO,getPayloadSize:_B,getPreferredHashAlgo:DB,sign:JO,validateParams:WO,verify:VO});function Qne(t){return t instanceof Uint8Array||ArrayBuffer.isView(t)&&t.constructor.name==="Uint8Array"}o(Qne,"isBytes$1");function ir(t,...e){if(!Qne(t))throw new Error("Uint8Array expected");if(e.length>0&&!e.includes(t.length))throw new Error("Uint8Array expected of length "+e+", got length="+t.length)}o(ir,"abytes$1");function WI(t,e=!0){if(t.destroyed)throw new Error("Hash instance has been destroyed");if(e&&t.finished)throw new Error("Hash#digest() has already been called")}o(WI,"aexists$1");function Sne(t,e){ir(t);let r=e.outputLen;if(t.length{function r(n,...i){if(ir(n),!JYe)throw new Error("Non little-endian hardware is not yet supported");if(t.nonceLength!==void 0){let A=i[0];if(!A)throw new Error("nonce / iv required");t.varSizeNonce?ir(A):ir(A,t.nonceLength)}let s=t.tagLength;s&&i[1]!==void 0&&ir(i[1]);let a=e(n,...i),c=o((A,d)=>{if(d!==void 0){if(A!==2)throw new Error("cipher output not supported");ir(d)}},"checkOutput"),l=!1;return{encrypt(A,d){if(l)throw new Error("cannot encrypt() twice with same key + nonce");return l=!0,ir(A),c(a.encrypt.length,d),a.encrypt(A,d)},decrypt(A,d){if(ir(A),s&&A.length>i&s),c=Number(r&s),l=0,u=4;t.setUint32(e+l,a,n),t.setUint32(e+u,c,n)}o(oO,"setBigUint64$1");function $Ye(t,e,r){let n=new Uint8Array(16),i=kB(n);return oO(i,0,BigInt(e),r),oO(i,8,BigInt(t),r),n}o($Ye,"u64Lengths");function Ns(t){return t.byteOffset%4===0}o(Ns,"isAligned32");function mi(t){return Uint8Array.from(t)}o(mi,"copyBytes$1");var qa=16,eM=new Uint8Array(16),Yo=Ft(eM),XYe=225,ZYe=o((t,e,r,n)=>{let i=n&1;return{s3:r<<31|n>>>1,s2:e<<31|r>>>1,s1:t<<31|e>>>1,s0:t>>>1^XYe<<24&-(i&1)}},"mul2$1"),Ss=o(t=>(t>>>0&255)<<24|(t>>>8&255)<<16|(t>>>16&255)<<8|t>>>24&255|0,"swapLE");function eKe(t){t.reverse();let e=t[15]&1,r=0;for(let n=0;n>>1|r,r=(i&1)<<7}return t[0]^=-e&225,t}o(eKe,"_toGHASHKey");var tKe=o(t=>t>64*1024?8:t>1024?4:2,"estimateWindow"),$I=class{static{o(this,"GHASH")}constructor(e,r){this.blockLen=qa,this.outputLen=qa,this.s0=0,this.s1=0,this.s2=0,this.s3=0,this.finished=!1,e=nm(e),ir(e,16);let n=kB(e),i=n.getUint32(0,!1),s=n.getUint32(4,!1),a=n.getUint32(8,!1),c=n.getUint32(12,!1),l=[];for(let g=0;g<128;g++)l.push({s0:Ss(i),s1:Ss(s),s2:Ss(a),s3:Ss(c)}),{s0:i,s1:s,s2:a,s3:c}=ZYe(i,s,a,c);let u=tKe(r||1024);if(![1,2,4,8].includes(u))throw new Error("ghash: invalid window size, expected 2, 4 or 8");this.W=u;let d=128/u,f=this.windowSize=2**u,h=[];for(let g=0;g>>u-v-1&1))continue;let{s0:H,s1:J,s2:q,s3:D}=l[u*g+v];b^=H,y^=J,I^=q,w^=D}h.push({s0:b,s1:y,s2:I,s3:w})}this.t=h}_updateBlock(e,r,n,i){e^=this.s0,r^=this.s1,n^=this.s2,i^=this.s3;let{W:s,t:a,windowSize:c}=this,l=0,u=0,A=0,d=0,f=(1<>>8*m&255;for(let y=8/s-1;y>=0;y--){let I=b>>>s*y&f,{s0:w,s1:v,s2:U,s3:H}=a[h*c+I];l^=w,u^=v,A^=U,d^=H,h+=1}}this.s0=l,this.s1=u,this.s2=A,this.s3=d}update(e){WI(this),e=nm(e),ir(e);let r=Ft(e),n=Math.floor(e.length/qa),i=e.length%qa;for(let s=0;st(i,n.length).update(nm(n)).digest(),"hashC"),r=t(new Uint8Array(16),0);return e.outputLen=r.outputLen,e.blockLen=r.blockLen,e.create=(n,i)=>t(n,i),e}o(Rne,"wrapConstructorWithKey");var ire=Rne((t,e)=>new $I(t,e));Rne((t,e)=>new aO(t,e));var yi=16,tM=4,II=new Uint8Array(yi),rKe=283;function rM(t){return t<<1^rKe&-(t>>7)}o(rM,"mul2");function Hf(t,e){let r=0;for(;e>0;e>>=1)r^=t&-(e&1),t=rM(t);return r}o(Hf,"mul");var cO=(()=>{let t=new Uint8Array(256);for(let r=0,n=1;r<256;r++,n^=rM(n))t[r]=n;let e=new Uint8Array(256);e[0]=99;for(let r=0;r<255;r++){let n=t[255-r];n|=n<<8,e[t[r]]=(n^n>>4^n>>5^n>>6^n>>7^99)&255}return Rn(t),e})(),nKe=cO.map((t,e)=>cO.indexOf(e)),iKe=o(t=>t<<24|t>>>8,"rotr32_8"),vT=o(t=>t<<8|t>>>24,"rotl32_8"),sre=o(t=>t<<24&4278190080|t<<8&16711680|t>>>8&65280|t>>>24&255,"byteSwap$1");function Pne(t,e){if(t.length!==256)throw new Error("Wrong sbox length");let r=new Uint32Array(256).map((u,A)=>e(t[A])),n=r.map(vT),i=n.map(vT),s=i.map(vT),a=new Uint32Array(256*256),c=new Uint32Array(256*256),l=new Uint16Array(256*256);for(let u=0;u<256;u++)for(let A=0;A<256;A++){let d=u*256+A;a[d]=r[u]^n[A],c[d]=i[u]^s[A],l[d]=t[u]<<8|t[A]}return{sbox:t,sbox2:l,T0:r,T1:n,T2:i,T3:s,T01:a,T23:c}}o(Pne,"genTtable");var nM=Pne(cO,t=>Hf(t,3)<<24|t<<16|t<<8|Hf(t,2)),_ne=Pne(nKe,t=>Hf(t,11)<<24|Hf(t,13)<<16|Hf(t,9)<<8|Hf(t,14)),sKe=(()=>{let t=new Uint8Array(16);for(let e=0,r=1;e<16;e++,r=rM(r))t[e]=r;return t})();function nA(t){ir(t);let e=t.length;if(![16,24,32].includes(e))throw new Error("aes: invalid key size, should be 16, 24 or 32, got "+e);let{sbox2:r}=nM,n=[];Ns(t)||n.push(t=mi(t));let i=Ft(t),s=i.length,a=o(l=>Jo(r,l,l,l,l),"subByte"),c=new Uint32Array(e+28);c.set(i);for(let l=s;l6&&l%s===4&&(u=a(u)),c[l]=c[l-s]^u}return Rn(...n),c}o(nA,"expandKeyLE");function iM(t){let e=nA(t),r=e.slice(),n=e.length,{sbox2:i}=nM,{T0:s,T1:a,T2:c,T3:l}=_ne;for(let u=0;u>>8&255]^c[d>>>16&255]^l[d>>>24]}return r}o(iM,"expandKeyDecLE");function ml(t,e,r,n,i,s){return t[r<<8&65280|n>>>8&255]^e[i>>>8&65280|s>>>24&255]}o(ml,"apply0123");function Jo(t,e,r,n,i){return t[e&255|r&65280]|t[n>>>16&255|i>>>16&65280]<<16}o(Jo,"applySbox");function ro(t,e,r,n,i){let{sbox2:s,T01:a,T23:c}=nM,l=0;e^=t[l++],r^=t[l++],n^=t[l++],i^=t[l++];let u=t.length/4-2;for(let g=0;g=0;b--)m=m+(s[b]&255)|0,s[b]=m&255,m>>>=8;({s0:c,s1:l,s2:u,s3:A}=ro(t,a[0],a[1],a[2],a[3]))}let h=yi*Math.floor(d.length/tM);if(h>>0,c.setUint32(A,f,e),{s0:h,s1:g,s2:m,s3:b}=ro(t,a[0],a[1],a[2],a[3]);let y=yi*Math.floor(l.length/tM);if(yn(i,s),"encrypt"),decrypt:o((i,s)=>n(i,s),"decrypt")}},"aesctr"));function aKe(t){if(ir(t),t.length%yi!==0)throw new Error("aes-(cbc/ecb).decrypt ciphertext should consist of blocks with size "+yi)}o(aKe,"validateBlockDecrypt");function cKe(t,e,r){ir(t);let n=t.length,i=n%yi;if(!e&&i!==0)throw new Error("aec/(cbc-ecb): unpadded plaintext with disabled padding");Ns(t)||(t=mi(t));let s=Ft(t);if(e){let c=yi-i;c||(c=yi),n=n+c}r=bm(n,r),ZO(t,r);let a=Ft(r);return{b:s,o:a,out:r}}o(cKe,"validateBlockEncrypt");function lKe(t,e){if(!e)return t;let r=t.length;if(!r)throw new Error("aes/pcks5: empty ciphertext not allowed");let n=t[r-1];if(n<=0||n>16)throw new Error("aes/pcks5: wrong padding");let i=t.subarray(0,-n);for(let s=0;sn(i,!0,s),"encrypt"),decrypt:o((i,s)=>n(i,!1,s),"decrypt")}},"aescfb"));function AKe(t,e,r,n,i){let s=i?i.length:0,a=t.create(r,n.length+s);i&&a.update(i);let c=$Ye(8*n.length,8*s,e);a.update(n),a.update(c);let l=a.digest();return Rn(c),l}o(AKe,"computeTag");var BI=Em({blockSize:16,nonceLength:12,tagLength:16,varSizeNonce:!0},o(function(e,r,n){if(r.length<8)throw new Error("aes/gcm: invalid nonce length");let i=16;function s(c,l,u){let A=AKe(ire,!1,c,u,n);for(let d=0;d=2**32)throw new Error("plaintext should be less than 4gb");let r=nA(t);if(e.length===16)One(r,e);else{let n=Ft(e),i=n[0],s=n[1];for(let a=0,c=1;a<6;a++)for(let l=2;l=2**32)throw new Error("ciphertext should be less than 4gb");let r=iM(t),n=e.length/8-1;if(n===1)Mne(r,e);else{let i=Ft(e),s=i[0],a=i[1];for(let c=0,l=n*6;c<6;c++)for(let u=n*2;u>=1;u-=2,l--){a^=sre(l);let{s0:A,s1:d,s2:f,s3:h}=TB(r,s,a,i[u],i[u+1]);s=A,a=d,i[u]=f,i[u+1]=h}i[0]=s,i[1]=a}r.fill(0)}},are=new Uint8Array(8).fill(166),Lne=Em({blockSize:8},t=>({encrypt(e){if(!e.length||e.length%8!==0)throw new Error("invalid plaintext length");if(e.length===8)throw new Error("8-byte keys not allowed in AESKW, use AESKWP instead");let r=WYe(are,e);return ore.encrypt(t,r),r},decrypt(e){if(e.length%8!==0||e.length<24)throw new Error("invalid ciphertext length");let r=mi(e);if(ore.decrypt(t,r),!vne(r.subarray(0,8),are))throw new Error("integrity check failed");return r.subarray(0,8).fill(0),r.subarray(8)}})),cre={expandKeyLE:nA,expandKeyDecLE:iM,encrypt:ro,decrypt:TB,encryptBlock:One,decryptBlock:Mne,ctrCounter:Dne,ctr32:Vg};async function Une(t){switch(t){case p.symmetric.aes128:case p.symmetric.aes192:case p.symmetric.aes256:throw new Error("Not a legacy cipher");case p.symmetric.cast5:case p.symmetric.blowfish:case p.symmetric.twofish:case p.symmetric.tripledes:{let{legacyCiphers:e}=await Promise.resolve().then(function(){return L$e}),r=p.read(p.symmetric,t),n=e.get(r);if(!n)throw new Error("Unsupported cipher algorithm");return n}default:throw new Error("Unsupported cipher algorithm")}}o(Une,"getLegacyCipher");function dKe(t){switch(t){case p.symmetric.aes128:case p.symmetric.aes192:case p.symmetric.aes256:case p.symmetric.twofish:return 16;case p.symmetric.blowfish:case p.symmetric.cast5:case p.symmetric.tripledes:return 8;default:throw new Error("Unsupported cipher")}}o(dKe,"getCipherBlockSize");function fKe(t){switch(t){case p.symmetric.aes128:case p.symmetric.blowfish:case p.symmetric.cast5:return 16;case p.symmetric.aes192:case p.symmetric.tripledes:return 24;case p.symmetric.aes256:case p.symmetric.twofish:return 32;default:throw new Error("Unsupported cipher")}}o(fKe,"getCipherKeySize");function Yt(t){return{keySize:fKe(t),blockSize:dKe(t)}}o(Yt,"getCipherParams");var Kf=Q.getWebCrypto();async function uO(t,e,r){let{keySize:n}=Yt(t);if(!Q.isAES(t)||e.length!==n)throw new Error("Unexpected algorithm or key size");try{let i=await Kf.importKey("raw",e,{name:"AES-KW"},!1,["wrapKey"]),s=await Kf.importKey("raw",r,{name:"HMAC",hash:"SHA-256"},!0,["sign"]),a=await Kf.wrapKey("raw",s,i,{name:"AES-KW"});return new Uint8Array(a)}catch(i){if(i.name!=="NotSupportedError"&&!(e.length===24&&i.name==="OperationError"))throw i;Q.printDebugError("Browser did not support operation: "+i.message)}return Lne(e).encrypt(r)}o(uO,"wrap");async function AO(t,e,r){let{keySize:n}=Yt(t);if(!Q.isAES(t)||e.length!==n)throw new Error("Unexpected algorithm or key size");let i;try{i=await Kf.importKey("raw",e,{name:"AES-KW"},!1,["unwrapKey"])}catch(s){if(s.name!=="NotSupportedError"&&!(e.length===24&&s.name==="OperationError"))throw s;return Q.printDebugError("Browser did not support operation: "+s.message),Lne(e).decrypt(r)}try{let s=await Kf.unwrapKey("raw",r,i,{name:"AES-KW"},{name:"HMAC",hash:"SHA-256"},!0,["sign"]);return new Uint8Array(await Kf.exportKey("raw",s))}catch(s){throw s.name==="OperationError"?new Error("Key Data Integrity failed"):s}}o(AO,"unwrap");async function xl(t,e,r,n,i){let s=Q.getWebCrypto(),a=p.read(p.webHash,t);if(!a)throw new Error("Hash algo not supported with HKDF");let c=await s.importKey("raw",e,"HKDF",!1,["deriveBits"]),l=await s.deriveBits({name:"HKDF",hash:a,salt:r,info:n},c,i*8);return new Uint8Array(l)}o(xl,"computeHKDF");var XI={x25519:Q.encodeUTF8("OpenPGP X25519"),x448:Q.encodeUTF8("OpenPGP X448")};async function sM(t){switch(t){case p.publicKey.x25519:try{let e=Q.getWebCrypto(),r=await e.generateKey("X25519",!0,["deriveKey","deriveBits"]).catch(s=>{if(s.name==="OperationError"){let a=new Error("Unexpected key generation issue");throw a.name="NotSupportedError",a}throw s}),n=await e.exportKey("jwk",r.privateKey),i=await e.exportKey("jwk",r.publicKey);if(n.x!==i.x){let s=new Error("Unexpected mismatching public point");throw s.name="NotSupportedError",s}return{A:new Uint8Array(fi(i.x)),k:fi(n.d)}}catch(e){if(e.name!=="NotSupportedError")throw e;let{default:r}=await Promise.resolve().then(function(){return oA}),{secretKey:n,publicKey:i}=r.box.keyPair();return{A:i,k:n}}case p.publicKey.x448:{let e=await Q.getNobleCurve(p.publicKey.x448),{secretKey:r,publicKey:n}=e.keygen();return{A:n,k:r}}default:throw new Error("Unsupported ECDH algorithm")}}o(sM,"generate$2");async function oM(t,e,r){switch(t){case p.publicKey.x25519:try{let{ephemeralPublicKey:n,sharedSecret:i}=await MB(t,e),s=await LB(t,n,e,r);return Q.equalsUint8Array(i,s)}catch{return!1}case p.publicKey.x448:{let i=(await Q.getNobleCurve(p.publicKey.x448)).getPublicKey(r);return Q.equalsUint8Array(e,i)}default:return!1}}o(oM,"validateParams$6");async function Fne(t,e,r){let{ephemeralPublicKey:n,sharedSecret:i}=await MB(t,r),s=Q.concatUint8Array([n,r,i]);switch(t){case p.publicKey.x25519:{let a=p.symmetric.aes128,{keySize:c}=Yt(a),l=await xl(p.hash.sha256,s,new Uint8Array,XI.x25519,c),u=await uO(a,l,e);return{ephemeralPublicKey:n,wrappedKey:u}}case p.publicKey.x448:{let a=p.symmetric.aes256,{keySize:c}=Yt(p.symmetric.aes256),l=await xl(p.hash.sha512,s,new Uint8Array,XI.x448,c),u=await uO(a,l,e);return{ephemeralPublicKey:n,wrappedKey:u}}default:throw new Error("Unsupported ECDH algorithm")}}o(Fne,"encrypt$3");async function Hne(t,e,r,n,i){let s=await LB(t,e,n,i),a=Q.concatUint8Array([e,n,s]);switch(t){case p.publicKey.x25519:{let c=p.symmetric.aes128,{keySize:l}=Yt(c),u=await xl(p.hash.sha256,a,new Uint8Array,XI.x25519,l);return AO(c,u,r)}case p.publicKey.x448:{let c=p.symmetric.aes256,{keySize:l}=Yt(p.symmetric.aes256),u=await xl(p.hash.sha512,a,new Uint8Array,XI.x448,l);return AO(c,u,r)}default:throw new Error("Unsupported ECDH algorithm")}}o(Hne,"decrypt$3");function OB(t){switch(t){case p.publicKey.x25519:return 32;case p.publicKey.x448:return 56;default:throw new Error("Unsupported ECDH algorithm")}}o(OB,"getPayloadSize");async function MB(t,e){switch(t){case p.publicKey.x25519:try{let r=Q.getWebCrypto(),n=await r.generateKey("X25519",!0,["deriveKey","deriveBits"]).catch(u=>{if(u.name==="OperationError"){let A=new Error("Unexpected key generation issue");throw A.name="NotSupportedError",A}throw u}),i=await r.exportKey("jwk",n.publicKey);if((await r.exportKey("jwk",n.privateKey)).x!==i.x){let u=new Error("Unexpected mismatching public point");throw u.name="NotSupportedError",u}let a=aM(t,e),c=await r.importKey("jwk",a,"X25519",!1,[]),l=await r.deriveBits({name:"X25519",public:c},n.privateKey,OB(t)*8);return{sharedSecret:new Uint8Array(l),ephemeralPublicKey:new Uint8Array(fi(i.x))}}catch(r){if(r.name!=="NotSupportedError")throw r;let{default:n}=await Promise.resolve().then(function(){return oA}),{secretKey:i,publicKey:s}=n.box.keyPair(),a=n.scalarMult(i,e);return ZI(a),{ephemeralPublicKey:s,sharedSecret:a}}case p.publicKey.x448:{let r=await Q.getNobleCurve(p.publicKey.x448),{secretKey:n,publicKey:i}=r.keygen(),s=r.getSharedSecret(n,e);return ZI(s),{ephemeralPublicKey:i,sharedSecret:s}}default:throw new Error("Unsupported ECDH algorithm")}}o(MB,"generateEphemeralEncryptionMaterial");async function LB(t,e,r,n){switch(t){case p.publicKey.x25519:try{let i=Q.getWebCrypto(),s=hKe(t,r,n),a=aM(t,e),c=await i.importKey("jwk",s,"X25519",!1,["deriveKey","deriveBits"]),l=await i.importKey("jwk",a,"X25519",!1,[]),u=await i.deriveBits({name:"X25519",public:l},c,OB(t)*8);return new Uint8Array(u)}catch(i){if(i.name!=="NotSupportedError")throw i;let{default:s}=await Promise.resolve().then(function(){return oA}),a=s.scalarMult(n,e);return ZI(a),a}case p.publicKey.x448:{let s=(await Q.getNobleCurve(p.publicKey.x448)).getSharedSecret(n,e);return ZI(s),s}default:throw new Error("Unsupported ECDH algorithm")}}o(LB,"recomputeSharedSecret");function ZI(t){let e=0;for(let r=0;rs[0]===0?ure(a,r,s.subarray(1),i):!1,"tryFallbackVerificationForOldBug");if(n&&!Q.isStream(n))switch(a.type){case"web":try{return await bKe(a,e,r,n,i)||c()}catch(u){if(a.name!=="nistP521"&&(u.name==="DataError"||u.name==="OperationError"))throw u;Q.printDebugError("Browser did not support verifying: "+u.message)}break;case"node":return xKe(a,e,r,n,i)||c()}return await ure(a,r,s,i)||c()}o(lM,"verify$4");async function yKe(t,e,r){let n=new Ei(t);if(n.keyType!==p.publicKey.ecdsa)return!1;switch(n.type){case"web":case"node":{let i=vn(8),s=p.hash.sha256,a=await ea(s,i);try{let c=await cM(t,s,i,e,r,a);return await lM(t,s,c,i,e,a)}catch{return!1}}default:return Gne(p.publicKey.ecdsa,t,e,r)}}o(yKe,"validateParams$5");async function ure(t,e,r,n){return(await Q.getNobleCurve(p.publicKey.ecdsa,t.name)).verify(Q.concatUint8Array([e.r,e.s]),r,n,{lowS:!1})}o(ure,"jsVerify");async function EKe(t,e,r,n){let i=t.payloadSize,s=Yne(t.payloadSize,Xo[t.name],n.publicKey,n.privateKey),a=await tB.importKey("jwk",s,{name:"ECDSA",namedCurve:Xo[t.name],hash:{name:p.read(p.webHash,t.hash)}},!1,["sign"]),c=new Uint8Array(await tB.sign({name:"ECDSA",namedCurve:Xo[t.name],hash:{name:p.read(p.webHash,e)}},a,r));return{r:c.slice(0,i),s:c.slice(i,i<<1)}}o(EKe,"webSign");async function bKe(t,e,{r,s:n},i,s){let a=UB(t.payloadSize,Xo[t.name],s),c=await tB.importKey("jwk",a,{name:"ECDSA",namedCurve:Xo[t.name],hash:{name:p.read(p.webHash,t.hash)}},!1,["verify"]),l=Q.concatUint8Array([r,n]).buffer;return tB.verify({name:"ECDSA",namedCurve:Xo[t.name],hash:{name:p.read(p.webHash,e)}},c,l,i)}o(bKe,"webVerify");function CKe(t,e,r,n){let i=Q.nodeRequire("eckey-utils"),s=Q.getNodeBuffer(),{privateKey:a}=i.generateDer({curveName:jo[t.name],privateKey:s.from(n)}),c=Kne.createSign(p.read(p.hash,e));c.write(r),c.end();let l=new Uint8Array(c.sign({key:a,format:"der",type:"sec1",dsaEncoding:"ieee-p1363"})),u=t.payloadSize;return{r:l.subarray(0,u),s:l.subarray(u,u<<1)}}o(CKe,"nodeSign");function xKe(t,e,{r,s:n},i,s){let a=Q.nodeRequire("eckey-utils"),c=Q.getNodeBuffer(),{publicKey:l}=a.generateDer({curveName:jo[t.name],publicKey:c.from(s)}),u=Kne.createVerify(p.read(p.hash,e));u.write(i),u.end();let A=Q.concatUint8Array([r,n]);try{return u.verify({key:l,format:"der",type:"spki",dsaEncoding:"ieee-p1363"},A)}catch{return!1}}o(xKe,"nodeVerify");var IKe=Object.freeze({__proto__:null,sign:cM,validateParams:yKe,verify:lM});async function Jne(t,e,r,n,i,s){let a=new Ei(t);if($u(a,n),qr(e)0){let r=t[e-1];if(r>=1){let n=t.subarray(e-r),i=new Uint8Array(r).fill(r);if(Q.equalsUint8Array(n,i))return t.subarray(0,e-r)}}throw new Error("Invalid padding")}o(QKe,"decode");async function SKe(t,e,r){return Gne(p.publicKey.ecdh,t,e,r)}o(SKe,"validateParams$3");function $ne(t,e,r,n){return Q.concatUint8Array([e.write(),new Uint8Array([t]),r.write(),Q.stringToUint8Array("Anonymous Sender "),n])}o($ne,"buildEcdhParam");async function Xne(t,e,r,n,i=!1,s=!1){let a;if(i){for(a=0;a=0&&e[a]===0;a--);e=e.subarray(0,a+1)}return(await ea(t,Q.concatUint8Array([new Uint8Array([0,0,0,1]),e,n]))).subarray(0,r)}o(Xne,"kdf");async function NKe(t,e){switch(t.type){case"curve25519Legacy":{let{sharedSecret:r,ephemeralPublicKey:n}=await MB(p.publicKey.x25519,e.subarray(1));return{publicKey:Q.concatUint8Array([new Uint8Array([t.wireFormatLeadingByte]),n]),sharedKey:r}}case"web":if(t.web&&Q.getWebCrypto())try{return await PKe(t,e)}catch(r){return Q.printDebugError(r),dre(t,e)}break;case"node":return DKe(t,e);default:return dre(t,e)}}o(NKe,"genPublicEphemeralKey");async function Zne(t,e,r,n,i){let s=wKe(r),a=new Ei(t);$u(a,n);let{publicKey:c,sharedKey:l}=await NKe(a,n),u=$ne(p.publicKey.ecdh,t,e,i),{keySize:A}=Yt(e.cipher),d=await Xne(e.hash,l,A,u),f=await uO(e.cipher,d,s);return{publicKey:c,wrappedKey:f}}o(Zne,"encrypt$2");async function vKe(t,e,r,n){if(n.length!==t.payloadSize){let i=new Uint8Array(t.payloadSize);i.set(n,t.payloadSize-n.length),n=i}switch(t.type){case"curve25519Legacy":{let i=n.slice().reverse(),s=await LB(p.publicKey.x25519,e.subarray(1),r.subarray(1),i);return{secretKey:i,sharedKey:s}}case"web":if(t.web&&Q.getWebCrypto())try{return await RKe(t,e,r,n)}catch(i){return Q.printDebugError(i),Are(t,e,n)}break;case"node":return _Ke(t,e,n);default:return Are(t,e,n)}}o(vKe,"genPrivateEphemeralKey");async function eie(t,e,r,n,i,s,a){let c=new Ei(t);$u(c,i),$u(c,r);let{sharedKey:l}=await vKe(c,r,i,s),u=$ne(p.publicKey.ecdh,t,e,a),{keySize:A}=Yt(e.cipher),d;for(let f=0;f<3;f++)try{let h=await Xne(e.hash,l,A,u,f===1,f===2);return QKe(await AO(e.cipher,h,n))}catch(h){d=h}throw d}o(eie,"decrypt$2");async function Are(t,e,r){let s=(await Q.getNobleCurve(p.publicKey.ecdh,t.name)).getSharedSecret(r,e).subarray(1);return{secretKey:r,sharedKey:s}}o(Are,"jsPrivateEphemeralKey");async function dre(t,e){let r=await Q.getNobleCurve(p.publicKey.ecdh,t.name),{publicKey:n,privateKey:i}=await t.genKeyPair(),a=r.getSharedSecret(i,e).subarray(1);return{publicKey:n,sharedKey:a}}o(dre,"jsPublicEphemeralKey");async function RKe(t,e,r,n){let i=Q.getWebCrypto(),s=Yne(t.payloadSize,t.web,r,n),a=i.importKey("jwk",s,{name:"ECDH",namedCurve:t.web},!0,["deriveKey","deriveBits"]),c=UB(t.payloadSize,t.web,e),l=i.importKey("jwk",c,{name:"ECDH",namedCurve:t.web},!0,[]);[a,l]=await Promise.all([a,l]);let u=i.deriveBits({name:"ECDH",namedCurve:t.web,public:l},a,t.sharedSize),A=i.exportKey("jwk",a);[u,A]=await Promise.all([u,A]);let d=new Uint8Array(u);return{secretKey:fi(A.d),sharedKey:d}}o(RKe,"webPrivateEphemeralKey");async function PKe(t,e){let r=Q.getWebCrypto(),n=UB(t.payloadSize,t.web,e),i=r.generateKey({name:"ECDH",namedCurve:t.web},!0,["deriveKey","deriveBits"]),s=r.importKey("jwk",n,{name:"ECDH",namedCurve:t.web},!1,[]);[i,s]=await Promise.all([i,s]);let a=r.deriveBits({name:"ECDH",namedCurve:t.web,public:s},i.privateKey,t.sharedSize),c=r.exportKey("jwk",i.publicKey);[a,c]=await Promise.all([a,c]);let l=new Uint8Array(a);return{publicKey:new Uint8Array(jne(c,t.wireFormatLeadingByte)),sharedKey:l}}o(PKe,"webPublicEphemeralKey");function _Ke(t,e,r){let i=Q.getNodeCrypto().createECDH(t.node);i.setPrivateKey(r);let s=new Uint8Array(i.computeSecret(e));return{secretKey:new Uint8Array(i.getPrivateKey()),sharedKey:s}}o(_Ke,"nodePrivateEphemeralKey");function DKe(t,e){let n=Q.getNodeCrypto().createECDH(t.node);n.generateKeys();let i=new Uint8Array(n.computeSecret(e));return{publicKey:new Uint8Array(n.getPublicKey()),sharedKey:i}}o(DKe,"nodePublicEphemeralKey");var kKe=Object.freeze({__proto__:null,decrypt:eie,encrypt:Zne,validateParams:SKe}),TKe=Object.freeze({__proto__:null,CurveWithOID:Ei,ecdh:kKe,ecdhX:pKe,ecdsa:IKe,eddsa:KYe,eddsaLegacy:BKe,generate:LI,getPreferredHashAlgo:zne}),UI=BigInt(0),Wg=BigInt(1);async function OKe(t,e,r,n,i,s){let a=BigInt(0);n=_e(n),i=_e(i),r=_e(r),s=_e(s);let c,l,u,A;r=ct(r,n),s=ct(s,i);let d=ct(_e(e.subarray(0,gi(i))),i);for(;;){if(c=wl(Wg,i),l=ct(an(r,c,n),i),l===a)continue;let f=ct(s*l,i);if(A=ct(d+f,i),u=ct(Wf(c,i)*A,i),u!==a)break}return{r:wr(l,"be",gi(n)),s:wr(u,"be",gi(n))}}o(OKe,"sign$2");async function MKe(t,e,r,n,i,s,a,c){if(e=_e(e),r=_e(r),s=_e(s),a=_e(a),i=_e(i),c=_e(c),e<=UI||e>=a||r<=UI||r>=a)return Q.printDebug("invalid DSA Signature"),!1;let l=ct(_e(n.subarray(0,gi(a))),a),u=Wf(r,a);if(u===UI)return Q.printDebug("invalid DSA Signature"),!1;i=ct(i,s),c=ct(c,s);let A=ct(l*u,a),d=ct(e*u,a),f=an(i,A,s),h=an(c,d,s);return ct(ct(f*h,s),a)===e}o(MKe,"verify$2");async function LKe(t,e,r,n,i){let s=_e(t),a=_e(e),c=_e(r),l=_e(n);if(c<=Wg||c>=s||ct(s-Wg,a)!==UI||an(c,a,s)!==Wg)return!1;let u=BigInt(ah(a)),A=BigInt(150);if(u=1){let r=e[0];if(e.length>=1+r)return this.data=e.subarray(1,1+r),1+this.data.length}throw new Error("Invalid symmetric key")}write(){return Q.concatUint8Array([new Uint8Array([this.data.length]),this.data])}},nB=class{static{o(this,"KDFParams")}constructor(e){if(e){let{hash:r,cipher:n}=e;this.hash=r,this.cipher=n}else this.hash=null,this.cipher=null}read(e){if(e.length<4||e[0]!==3||e[1]!==1)throw new vt("Cannot read KDFParams");return this.hash=e[2],this.cipher=e[3],4}write(){return new Uint8Array([3,1,this.hash,this.cipher])}},iB=class t{static{o(this,"ECDHXSymmetricKey")}static fromObject({wrappedKey:e,algorithm:r}){let n=new t;return n.wrappedKey=e,n.algorithm=r,n}read(e){let r=0,n=e[r++];this.algorithm=n%2?e[r++]:null,n-=n%2,this.wrappedKey=Q.readExactSubarray(e,r,r+n),r+=n}write(){return Q.concatUint8Array([this.algorithm?new Uint8Array([this.wrappedKey.length+1,this.algorithm]):new Uint8Array([this.wrappedKey.length]),this.wrappedKey])}};async function UKe(t,e,r,n,i){switch(t){case p.publicKey.rsaEncrypt:case p.publicKey.rsaEncryptSign:{let{n:s,e:a}=r;return{c:await SYe(n,s,a)}}case p.publicKey.elgamal:{let{p:s,g:a,y:c}=r;return HYe(n,s,a,c)}case p.publicKey.ecdh:{let{oid:s,Q:a,kdfParams:c}=r,{publicKey:l,wrappedKey:u}=await Zne(s,c,n,a,i);return{V:l,C:new rB(u)}}case p.publicKey.x25519:case p.publicKey.x448:{if(e&&!Q.isAES(e))throw new Error("X25519 and X448 keys can only encrypt AES session keys");let{A:s}=r,{ephemeralPublicKey:a,wrappedKey:c}=await Fne(t,n,s),l=iB.fromObject({algorithm:e,wrappedKey:c});return{ephemeralPublicKey:a,C:l}}default:return[]}}o(UKe,"publicKeyEncrypt");async function FKe(t,e,r,n,i,s){switch(t){case p.publicKey.rsaEncryptSign:case p.publicKey.rsaEncrypt:{let{c:a}=n,{n:c,e:l}=e,{d:u,p:A,q:d,u:f}=r;return NYe(a,c,l,u,A,d,f,s)}case p.publicKey.elgamal:{let{c1:a,c2:c}=n,l=e.p,u=r.x;return qYe(a,c,l,u,s)}case p.publicKey.ecdh:{let{oid:a,Q:c,kdfParams:l}=e,{d:u}=r,{V:A,C:d}=n;return eie(a,l,A,d.data,c,u,i)}case p.publicKey.x25519:case p.publicKey.x448:{let{A:a}=e,{k:c}=r,{ephemeralPublicKey:l,C:u}=n;if(u.algorithm!==null&&!Q.isAES(u.algorithm))throw new Error("AES session key expected");return Hne(t,l,u.wrappedKey,a,c)}default:throw new Error("Unknown public key encryption algorithm.")}}o(FKe,"publicKeyDecrypt");function HKe(t,e){let r=0;switch(t){case p.publicKey.rsaEncrypt:case p.publicKey.rsaEncryptSign:case p.publicKey.rsaSign:{let n=Q.readMPI(e.subarray(r));r+=n.length+2;let i=Q.readMPI(e.subarray(r));return r+=i.length+2,{read:r,publicParams:{n,e:i}}}case p.publicKey.dsa:{let n=Q.readMPI(e.subarray(r));r+=n.length+2;let i=Q.readMPI(e.subarray(r));r+=i.length+2;let s=Q.readMPI(e.subarray(r));r+=s.length+2;let a=Q.readMPI(e.subarray(r));return r+=a.length+2,{read:r,publicParams:{p:n,q:i,g:s,y:a}}}case p.publicKey.elgamal:{let n=Q.readMPI(e.subarray(r));r+=n.length+2;let i=Q.readMPI(e.subarray(r));r+=i.length+2;let s=Q.readMPI(e.subarray(r));return r+=s.length+2,{read:r,publicParams:{p:n,g:i,y:s}}}case p.publicKey.ecdsa:{let n=new Ya;r+=n.read(e),PT(n);let i=Q.readMPI(e.subarray(r));return r+=i.length+2,{read:r,publicParams:{oid:n,Q:i}}}case p.publicKey.eddsaLegacy:{let n=new Ya;if(r+=n.read(e),PT(n),n.getName()!==p.curve.ed25519Legacy)throw new Error("Unexpected OID for eddsaLegacy");let i=Q.readMPI(e.subarray(r));return r+=i.length+2,i=Q.leftPad(i,33),{read:r,publicParams:{oid:n,Q:i}}}case p.publicKey.ecdh:{let n=new Ya;r+=n.read(e),PT(n);let i=Q.readMPI(e.subarray(r));r+=i.length+2;let s=new nB;return r+=s.read(e.subarray(r)),{read:r,publicParams:{oid:n,Q:i,kdfParams:s}}}case p.publicKey.ed25519:case p.publicKey.ed448:case p.publicKey.x25519:case p.publicKey.x448:{let n=Q.readExactSubarray(e,r,r+qf(t));return r+=n.length,{read:r,publicParams:{A:n}}}default:throw new vt("Unknown public key encryption algorithm.")}}o(HKe,"parsePublicKeyParams");function fre(t,e,r){let n=0;switch(t){case p.publicKey.rsaEncrypt:case p.publicKey.rsaEncryptSign:case p.publicKey.rsaSign:{let i=Q.readMPI(e.subarray(n));n+=i.length+2;let s=Q.readMPI(e.subarray(n));n+=s.length+2;let a=Q.readMPI(e.subarray(n));n+=a.length+2;let c=Q.readMPI(e.subarray(n));return n+=c.length+2,{read:n,privateParams:{d:i,p:s,q:a,u:c}}}case p.publicKey.dsa:case p.publicKey.elgamal:{let i=Q.readMPI(e.subarray(n));return n+=i.length+2,{read:n,privateParams:{x:i}}}case p.publicKey.ecdsa:case p.publicKey.ecdh:{let i=qf(t,r.oid),s=Q.readMPI(e.subarray(n));return n+=s.length+2,s=Q.leftPad(s,i),{read:n,privateParams:{d:s}}}case p.publicKey.eddsaLegacy:{let i=qf(t,r.oid);if(r.oid.getName()!==p.curve.ed25519Legacy)throw new Error("Unexpected OID for eddsaLegacy");let s=Q.readMPI(e.subarray(n));return n+=s.length+2,s=Q.leftPad(s,i),{read:n,privateParams:{seed:s}}}case p.publicKey.ed25519:case p.publicKey.ed448:{let i=qf(t),s=Q.readExactSubarray(e,n,n+i);return n+=s.length,{read:n,privateParams:{seed:s}}}case p.publicKey.x25519:case p.publicKey.x448:{let i=qf(t),s=Q.readExactSubarray(e,n,n+i);return n+=s.length,{read:n,privateParams:{k:s}}}default:throw new vt("Unknown public key encryption algorithm.")}}o(fre,"parsePrivateKeyParams");function qKe(t,e){let r=0;switch(t){case p.publicKey.rsaEncrypt:case p.publicKey.rsaEncryptSign:return{c:Q.readMPI(e.subarray(r))};case p.publicKey.elgamal:{let n=Q.readMPI(e.subarray(r));r+=n.length+2;let i=Q.readMPI(e.subarray(r));return{c1:n,c2:i}}case p.publicKey.ecdh:{let n=Q.readMPI(e.subarray(r));r+=n.length+2;let i=new rB;return i.read(e.subarray(r)),{V:n,C:i}}case p.publicKey.x25519:case p.publicKey.x448:{let n=qf(t),i=Q.readExactSubarray(e,r,r+n);r+=i.length;let s=new iB;return s.read(e.subarray(r)),{ephemeralPublicKey:i,C:s}}default:throw new vt("Unknown public key encryption algorithm.")}}o(qKe,"parseEncSessionKeyParams");function Xf(t,e){let r=new Set([p.publicKey.ed25519,p.publicKey.x25519,p.publicKey.ed448,p.publicKey.x448]),n=Object.keys(e).map(i=>{let s=e[i];return Q.isUint8Array(s)?r.has(t)?s:Q.uint8ArrayToMPI(s):s.write()});return Q.concatUint8Array(n)}o(Xf,"serializeParams");function zKe(t,e,r){switch(t){case p.publicKey.rsaEncrypt:case p.publicKey.rsaEncryptSign:case p.publicKey.rsaSign:return vYe(e,65537).then(({n,e:i,d:s,p:a,q:c,u:l})=>({privateParams:{d:s,p:a,q:c,u:l},publicParams:{n,e:i}}));case p.publicKey.ecdsa:return LI(r).then(({oid:n,Q:i,secret:s})=>({privateParams:{d:s},publicParams:{oid:new Ya(n),Q:i}}));case p.publicKey.eddsaLegacy:return LI(r).then(({oid:n,Q:i,secret:s})=>({privateParams:{seed:s},publicParams:{oid:new Ya(n),Q:i}}));case p.publicKey.ecdh:return LI(r).then(({oid:n,Q:i,secret:s,hash:a,cipher:c})=>({privateParams:{d:s},publicParams:{oid:new Ya(n),Q:i,kdfParams:new nB({hash:a,cipher:c})}}));case p.publicKey.ed25519:case p.publicKey.ed448:return KO(t).then(({A:n,seed:i})=>({privateParams:{seed:i},publicParams:{A:n}}));case p.publicKey.x25519:case p.publicKey.x448:return sM(t).then(({A:n,k:i})=>({privateParams:{k:i},publicParams:{A:n}}));case p.publicKey.dsa:case p.publicKey.elgamal:throw new Error("Unsupported algorithm for key generation.");default:throw new Error("Unknown public key algorithm.")}}o(zKe,"generateParams");async function GKe(t,e,r){if(!e||!r)throw new Error("Missing key parameters");switch(t){case p.publicKey.rsaEncrypt:case p.publicKey.rsaEncryptSign:case p.publicKey.rsaSign:{let{n,e:i}=e,{d:s,p:a,q:c,u:l}=r;return RYe(n,i,s,a,c,l)}case p.publicKey.dsa:{let{p:n,q:i,g:s,y:a}=e,{x:c}=r;return LKe(n,i,s,a,c)}case p.publicKey.elgamal:{let{p:n,g:i,y:s}=e,{x:a}=r;return zYe(n,i,s,a)}case p.publicKey.ecdsa:case p.publicKey.ecdh:{let n=TKe[p.read(p.publicKey,t)],{oid:i,Q:s}=e,{d:a}=r;return n.validateParams(i,s,a)}case p.publicKey.eddsaLegacy:{let{Q:n,oid:i}=e,{seed:s}=r;return Wne(i,n,s)}case p.publicKey.ed25519:case p.publicKey.ed448:{let{A:n}=e,{seed:i}=r;return WO(t,n,i)}case p.publicKey.x25519:case p.publicKey.x448:{let{A:n}=e,{k:i}=r;return oM(t,n,i)}default:throw new Error("Unknown public key algorithm.")}}o(GKe,"validateParams$1");function dO(t){let{keySize:e}=Yt(t);return vn(e)}o(dO,"generateSessionKey$1");function PT(t){try{t.getName()}catch{throw new vt("Unknown curve OID")}}o(PT,"checkSupportedCurve");function qf(t,e){switch(t){case p.publicKey.ecdsa:case p.publicKey.ecdh:case p.publicKey.eddsaLegacy:return new Ei(e).payloadSize;case p.publicKey.ed25519:case p.publicKey.ed448:return _B(t);case p.publicKey.x25519:case p.publicKey.x448:return OB(t);default:throw new Error("Unknown elliptic algo")}}o(qf,"getCurvePayloadSize");function jKe(t,e){switch(t){case p.publicKey.ecdsa:case p.publicKey.eddsaLegacy:return zne(e);case p.publicKey.ed25519:case p.publicKey.ed448:return DB(t);default:throw new Error("Unknown elliptic signing algo")}}o(jKe,"getPreferredCurveHashAlgo");var FI=Q.getWebCrypto(),im=Q.getNodeCrypto(),Fu=im?im.getCiphers():[],FB={idea:Fu.includes("idea-cfb")?"idea-cfb":void 0,tripledes:Fu.includes("des-ede3-cfb")?"des-ede3-cfb":void 0,cast5:Fu.includes("cast5-cfb")?"cast5-cfb":void 0,blowfish:Fu.includes("bf-cfb")?"bf-cfb":void 0,aes128:Fu.includes("aes-128-cfb")?"aes-128-cfb":void 0,aes192:Fu.includes("aes-192-cfb")?"aes-192-cfb":void 0,aes256:Fu.includes("aes-256-cfb")?"aes-256-cfb":void 0};function YKe(t){let{blockSize:e}=Yt(t),r=vn(e),n=new Uint8Array([r[r.length-2],r[r.length-1]]);return Q.concat([r,n])}o(YKe,"getPrefixRandom");async function uM(t,e,r,n,i){let s=p.read(p.symmetric,t);if(Q.getNodeCrypto()&&FB[s])return VKe(t,e,r,n);if(Q.isAES(t))return KKe(t,e,r,n);let a=await Une(t),c=new a(e),l=c.blockSize,u=n.slice(),A=new Uint8Array,d=o(f=>{f&&(A=Q.concatUint8Array([A,f]));let h=new Uint8Array(A.length),g,m=0;for(;f?A.length>=l:A.length;){let b=c.encrypt(u);for(g=0;g{d&&(u=Q.concatUint8Array([u,d]));let f=new Uint8Array(u.length),h,g=0;for(;d?u.length>=c:u.length;){let m=a.encrypt(l);for(l=u.subarray(0,c),h=0;h!0,()=>!1)}async _runCBC(e,r){let n="AES-CBC";this.keyRef=this.keyRef||await FI.importKey("raw",this.key,n,!1,["encrypt"]);let i=await FI.encrypt({name:n,iv:r||this.zeroBlock},this.keyRef,e);return new Uint8Array(i).subarray(0,e.length)}async encryptChunk(e){let r=this.nextBlock.length-this.i,n=e.subarray(0,r);if(this.nextBlock.set(n,this.i),this.i+e.length>=2*this.blockSize){let s=(e.length-r)%this.blockSize,a=Q.concatUint8Array([this.nextBlock,e.subarray(r,e.length-s)]),c=Q.concatUint8Array([this.prevBlock,a.subarray(0,a.length-this.blockSize)]),l=await this._runCBC(c);return wI(l,a),this.prevBlock=l.slice(-this.blockSize),s>0&&this.nextBlock.set(e.subarray(-s)),this.i=s,l}this.i+=n.length;let i;if(this.i===this.nextBlock.length){let s=this.nextBlock;i=await this._runCBC(this.prevBlock),wI(i,s),this.prevBlock=i.slice(),this.i=0;let a=e.subarray(n.length);this.nextBlock.set(a,this.i),this.i+=a.length}else i=new Uint8Array;return i}async finish(){let e;if(this.i===0)e=new Uint8Array;else{this.nextBlock=this.nextBlock.subarray(0,this.i);let r=this.nextBlock,n=await this._runCBC(this.prevBlock);wI(n,r),e=n.subarray(0,r.length)}return this.clearSensitiveData(),e}clearSensitiveData(){this.nextBlock.fill(0),this.prevBlock.fill(0),this.keyRef=null,this.key=null}async encrypt(e){let n=(await this._runCBC(Q.concatUint8Array([new Uint8Array(this.blockSize),e]),this.iv)).subarray(0,e.length);return wI(n,e),this.clearSensitiveData(),n}},oB=class{static{o(this,"NobleStreamProcessor")}constructor(e,r,n,i){this.forEncryption=e;let{blockSize:s}=Yt(r);this.key=cre.expandKeyLE(n),i.byteOffset%4!==0&&(i=i.slice()),this.prevBlock=_T(i),this.nextBlock=new Uint8Array(s),this.i=0,this.blockSize=s}_runCFB(e){let r=_T(e),n=new Uint8Array(e.length),i=_T(n);for(let s=0;s+4<=i.length;s+=4){let{s0:a,s1:c,s2:l,s3:u}=cre.encrypt(this.key,this.prevBlock[0],this.prevBlock[1],this.prevBlock[2],this.prevBlock[3]);i[s+0]=r[s+0]^a,i[s+1]=r[s+1]^c,i[s+2]=r[s+2]^l,i[s+3]=r[s+3]^u,this.prevBlock=(this.forEncryption?i:r).slice(s,s+4)}return n}async processChunk(e){let r=this.nextBlock.length-this.i,n=e.subarray(0,r);if(this.nextBlock.set(n,this.i),this.i+e.length>=2*this.blockSize){let s=(e.length-r)%this.blockSize,a=Q.concatUint8Array([this.nextBlock,e.subarray(r,e.length-s)]),c=this._runCFB(a);return s>0&&this.nextBlock.set(e.subarray(-s)),this.i=s,c}this.i+=n.length;let i;if(this.i===this.nextBlock.length){i=this._runCFB(this.nextBlock),this.i=0;let s=e.subarray(n.length);this.nextBlock.set(s,this.i),this.i+=s.length}else i=new Uint8Array;return i}async finish(){let e;return this.i===0?e=new Uint8Array:e=this._runCFB(this.nextBlock).subarray(0,this.i),this.clearSensitiveData(),e}clearSensitiveData(){this.nextBlock.fill(0),this.prevBlock.fill(0),this.key.fill(0)}};async function KKe(t,e,r,n){if(FI&&await sB.isSupported(t)){let i=new sB(t,e,n);return Q.isStream(r)?nO(r,s=>i.encryptChunk(s),()=>i.finish()):i.encrypt(r)}else if(Q.isStream(r)){let i=new oB(!0,t,e,n);return nO(r,s=>i.processChunk(s),()=>i.finish())}return kne(e,n).encrypt(r)}o(KKe,"aesEncrypt");function JKe(t,e,r,n){if(Q.isStream(r)){let i=new oB(!1,t,e,n);return nO(r,s=>i.processChunk(s),()=>i.finish())}return kne(e,n).decrypt(r)}o(JKe,"aesDecrypt");function wI(t,e){let r=Math.min(t.length,e.length);for(let n=0;nnew Uint32Array(t.buffer,t.byteOffset,Math.floor(t.byteLength/4)),"getUint32Array");function VKe(t,e,r,n){let i=p.read(p.symmetric,t),s=new im.createCipheriv(FB[i],e,n);return Dr(r,a=>new Uint8Array(s.update(a)))}o(VKe,"nodeEncrypt");function WKe(t,e,r,n){let i=p.read(p.symmetric,t),s=new im.createDecipheriv(FB[i],e,n);return Dr(r,a=>new Uint8Array(s.update(a)))}o(WKe,"nodeDecrypt");var hre=Q.getWebCrypto(),$Ke=Q.getNodeCrypto(),Ka=16;function pre(t,e){let r=t.length-Ka;for(let n=0;nlO(e,Ug,{disablePadding:!0}).encrypt(d),"encipher"),s=o(d=>lO(e,Ug,{disablePadding:!0}).decrypt(d),"decipher"),a;c();function c(){let d=i(Ug),f=Q.double(d);a=[],a[0]=Q.double(f),a.x=d,a.$=f}o(c,"constructKeyVariables");function l(d,f){let h=Q.nbits(Math.max(d.length,f.length)/Hn|0)-1;for(let g=n+1;g<=h;g++)a[g]=Q.double(a[g-1]);n=h}o(l,"extendKeyVariables");function u(d){if(!d.length)return Ug;let f=d.length/Hn|0,h=new Uint8Array(Hn),g=new Uint8Array(Hn);for(let m=0;m>3),17+(y>>3)),8-(y&7)).subarray(1),U=new Uint8Array(Hn),H=new Uint8Array(f.length+pl),J,q=0;for(J=0;JpJe&&(Fg=SI(),Fg.catch(()=>{})),a}catch(i){throw i.message&&(i.message.includes("Unable to grow instance memory")||i.message.includes("failed to grow memory")||i.message.includes("WebAssembly.Memory.grow")||i.message.includes("Out of memory"))?new aB("Could not allocate required memory for Argon2"):i}}},gO=class{static{o(this,"GenericS2K")}constructor(e,r=Ce){this.algorithm=p.hash.sha256,this.type=p.read(p.s2k,e),this.c=r.s2kIterationCountByte,this.salt=null}generateSalt(){switch(this.type){case"salted":case"iterated":this.salt=vn(8)}}getCount(){return 16+(this.c&15)<<(this.c>>4)+6}read(e){let r=0;switch(this.algorithm=e[r++],this.type){case"simple":break;case"salted":this.salt=e.subarray(r,r+8),r+=8;break;case"iterated":this.salt=e.subarray(r,r+8),r+=8,this.c=e[r++];break;case"gnu":if(Q.uint8ArrayToString(e.subarray(r,r+3))==="GNU")if(r+=3,1e3+e[r++]===1001)this.type="gnu-dummy";else throw new vt("Unknown s2k gnu protection mode.");else throw new vt("Unknown s2k type.");break;default:throw new vt("Unknown s2k type.")}return r}write(){if(this.type==="gnu-dummy")return new Uint8Array([101,0,...Q.stringToUint8Array("GNU"),1]);let e=[new Uint8Array([p.write(p.s2k,this.type),this.algorithm])];switch(this.type){case"simple":break;case"salted":e.push(this.salt);break;case"iterated":e.push(this.salt),e.push(new Uint8Array([this.c]));break;case"gnu":throw new Error("GNU s2k type not supported.");default:throw new Error("Unknown s2k type.")}return Q.concatUint8Array(e)}async produceKey(e,r){e=Q.encodeUTF8(e);let n=[],i=0,s=0;for(;i>1|(yt&21845)<<1,Ta=(Ta&52428)>>2|(Ta&13107)<<2,Ta=(Ta&61680)>>4|(Ta&3855)<<4,EO[yt]=((Ta&65280)>>8|(Ta&255)<<8)>>1;var Ta,yt,Zo=o((function(t,e,r){for(var n=t.length,i=0,s=new Ki(e);i>l]=u}else for(c=new Ki(n),i=0;i>15-t[i]);return c}),"hMap"),Il=new Qr(288);for(yt=0;yt<144;++yt)Il[yt]=8;var yt;for(yt=144;yt<256;++yt)Il[yt]=9;var yt;for(yt=256;yt<280;++yt)Il[yt]=7;var yt;for(yt=280;yt<288;++yt)Il[yt]=8;var yt,sm=new Qr(32);for(yt=0;yt<32;++yt)sm[yt]=5;var yt,bJe=Zo(Il,9,0),CJe=Zo(Il,9,1),xJe=Zo(sm,5,0),IJe=Zo(sm,5,1),TT=o(function(t){for(var e=t[0],r=1;re&&(e=t[r]);return e},"max"),Ws=o(function(t,e,r){var n=e/8|0;return(t[n]|t[n+1]<<8)>>(e&7)&r},"bits"),OT=o(function(t,e){var r=e/8|0;return(t[r]|t[r+1]<<8|t[r+2]<<16)>>(e&7)},"bits16"),fM=o(function(t){return(t+7)/8|0},"shft"),Zg=o(function(t,e,r){return(e==null||e<0)&&(e=0),(r==null||r>t.length)&&(r=t.length),new Qr(t.subarray(e,r))},"slc"),BJe=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],sn=o(function(t,e,r){var n=new Error(e||BJe[t]);if(n.code=t,Error.captureStackTrace&&Error.captureStackTrace(n,sn),!r)throw n;return n},"err"),wJe=o(function(t,e,r,n){var i=t.length,s=0;if(!i||e.f&&!e.l)return r||new Qr(0);var a=!r,c=a||e.i!=2,l=e.i;a&&(r=new Qr(i*3));var u=o(function(rt){var At=r.length;if(rt>At){var pt=new Qr(Math.max(At*2,rt));pt.set(r),r=pt}},"cbuf"),A=e.f||0,d=e.p||0,f=e.b||0,h=e.l,g=e.d,m=e.m,b=e.n,y=i*8;do{if(!h){A=Ws(t,d,1);var I=Ws(t,d+1,3);if(d+=3,I)if(I==1)h=CJe,g=IJe,m=9,b=5;else if(I==2){var H=Ws(t,d,31)+257,J=Ws(t,d+10,15)+4,q=H+Ws(t,d+5,31)+1;d+=14;for(var D=new Qr(q),T=new Qr(19),L=0;L>4;if(w<16)D[L++]=w;else{var K=0,Z=0;for(w==16?(Z=3+Ws(t,d,3),d+=2,K=D[L-1]):w==17?(Z=3+Ws(t,d,7),d+=3):w==18&&(Z=11+Ws(t,d,127),d+=7);Z--;)D[L++]=K}}var W=D.subarray(0,H),te=D.subarray(H);m=TT(W),b=TT(te),h=Zo(W,m,1),g=Zo(te,b,1)}else sn(1);else{var w=fM(d)+4,v=t[w-4]|t[w-3]<<8,U=w+v;if(U>i){l&&sn(0);break}c&&u(f+v),r.set(t.subarray(w,U),f),e.b=f+=v,e.p=d=U*8,e.f=A;continue}if(d>y){l&&sn(0);break}}c&&u(f+131072);for(var ne=(1<>4;if(d+=K&15,d>y){l&&sn(0);break}if(K||sn(2),le<256)r[f++]=le;else if(le==256){fe=d,h=null;break}else{var he=le-254;if(le>264){var L=le-257,ie=HB[L];he=Ws(t,d,(1<>4;Ae||sn(3),d+=Ae&15;var te=EJe[xe];if(xe>3){var ie=qB[xe];te+=OT(t,d)&(1<y){l&&sn(0);break}c&&u(f+131072);var ye=f+he;if(f>8},"wbits"),Hg=o(function(t,e,r){r<<=e&7;var n=e/8|0;t[n]|=r,t[n+1]|=r>>8,t[n+2]|=r>>16},"wbits16"),MT=o(function(t,e){for(var r=[],n=0;nf&&(f=s[n].s);var h=new Ki(f+1),g=bO(r[A-1],h,0);if(g>e){var n=0,m=0,b=g-e,y=1<e)m+=y-(1<>=b;m>0;){var w=s[n].s;h[w]=0&&m;--n){var v=s[n].s;h[v]==e&&(--h[v],++m)}g=e}return{t:new Qr(h),l:g}},"hTree"),bO=o(function(t,e,r){return t.s==-1?Math.max(bO(t.l,e,r+1),bO(t.r,e,r+1)):e[t.s]=r},"ln"),xre=o(function(t){for(var e=t.length;e&&!t[--e];);for(var r=new Ki(++e),n=0,i=t[0],s=1,a=o(function(l){r[n++]=l},"w"),c=1;c<=e;++c)if(t[c]==i&&c!=e)++s;else{if(!i&&s>2){for(;s>138;s-=138)a(32754);s>2&&(a(s>10?s-11<<5|28690:s-3<<5|12305),s=0)}else if(s>3){for(a(i),--s;s>6;s-=6)a(8304);s>2&&(a(s-3<<5|8208),s=0)}for(;s--;)a(i);s=1,i=t[c]}return{c:r.subarray(0,n),n:e}},"lc"),qg=o(function(t,e){for(var r=0,n=0;n>8,t[i+2]=t[i]^255,t[i+3]=t[i+1]^255;for(var s=0;s4&&!T[mO[z-1]];--z);var _=u+5<<3,k=qg(i,Il)+qg(s,sm)+a,F=qg(i,f)+qg(s,m)+a+14+3*z+qg(J,T)+2*J[16]+3*J[17]+7*J[18];if(l>=0&&_<=k&&_<=F)return aie(e,A,t.subarray(l,l+u));var K,Z,W,te;if(Oa(e,A,1+(F15&&(Oa(e,A,le[q]>>5&127),A+=le[q]>>12)}}else K=bJe,Z=Il,W=xJe,te=sm;for(var q=0;q255){var he=ie>>18&31;Hg(e,A,K[he+257]),A+=Z[he+257],he>7&&(Oa(e,A,ie>>23&31),A+=HB[he]);var Ae=ie&31;Hg(e,A,W[Ae]),A+=te[Ae],Ae>3&&(Hg(e,A,ie>>5&8191),A+=qB[Ae])}else Hg(e,A,K[ie]),A+=Z[ie]}return Hg(e,A,K[256]),A+Z[256]},"wblk"),QJe=new dM([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),cie=new Qr(0),SJe=o(function(t,e,r,n,i,s){var a=s.z||t.length,c=new Qr(n+a+5*(1+Math.ceil(a/7e3))+i),l=c.subarray(n,c.length-i),u=s.l,A=(s.r||0)&7;if(e){A&&(l[0]=s.r>>3);for(var d=QJe[e-1],f=d>>13,h=d&8191,g=(1<7e3||T>24576)&&(K>423||!u)){A=Ire(t,l,0,v,U,H,q,T,z,D-z,A),T=J=q=0,z=D;for(var Z=0;Z<286;++Z)U[Z]=0;for(var Z=0;Z<30;++Z)H[Z]=0}var W=2,te=0,ne=h,ae=k-F&32767;if(K>2&&_==w(D-ae))for(var fe=Math.min(f,K)-1,le=Math.min(32767,D),he=Math.min(258,K);ae<=le&&--ne&&k!=F;){if(t[D+W]==t[D+W-ae]){for(var ie=0;ieW){if(W=ie,te=ae,ie>fe)break;for(var Ae=Math.min(ae,ie-2),xe=0,Z=0;Zxe&&(xe=Qe,F=ye)}}}k=F,F=m[k],ae+=k-F&32767}if(te){v[T++]=268435456|yO[W]<<18|Cre[te];var rt=yO[W]&31,At=Cre[te]&31;q+=HB[rt]+qB[At],++U[257+rt],++H[At],L=D+W,++J}else v[T++]=t[D],++U[t[D]]}}for(D=Math.max(D,L);D=a&&(l[A/8|0]=u,pt=a),A=aie(l,A+1,t.subarray(D,pt))}s.i=a}return Zg(c,0,n+fM(A)+i)},"dflt"),lie=o(function(){var t=1,e=0;return{p:o(function(r){for(var n=t,i=e,s=r.length|0,a=0;a!=s;){for(var c=Math.min(a+2655,s);a>16),i=(i&65535)+15*(i>>16)}t=n,e=i},"p"),d:o(function(){return t%=65521,e%=65521,(t&255)<<24|(t&65280)<<8|(e&255)<<8|e>>8},"d")}},"adler"),uie=o(function(t,e,r,n,i){if(!i&&(i={l:1},e.dictionary)){var s=e.dictionary.subarray(-32768),a=new Qr(s.length+t.length);a.set(s),a.set(t,s.length),t=a,i.w=s.length}return SJe(t,e.level==null?6:e.level,e.mem==null?i.l?Math.ceil(Math.max(8,Math.min(13,Math.log(t.length)))*1.5):20:12+e.mem,r,n,i)},"dopt"),Aie=o(function(t,e,r){for(;r;++e)t[e]=r,r>>>=8},"wbytes"),NJe=o(function(t,e){var r=e.level,n=r==0?0:r<6?1:r==9?3:2;if(t[0]=120,t[1]=n<<6|(e.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,e.dictionary){var i=lie();i.p(e.dictionary),Aie(t,2,i.d())}},"zlh"),vJe=o(function(t,e){return((t[0]&15)!=8||t[0]>>4>7||(t[0]<<8|t[1])%31)&&sn(6,"invalid zlib data"),(t[1]>>5&1)==+!e&&sn(6,"invalid zlib data: "+(t[1]&32?"need":"unexpected")+" dictionary"),(t[1]>>3&4)+2},"zls"),qI=(function(){function t(e,r){if(typeof e=="function"&&(r=e,e={}),this.ondata=r,this.o=e||{},this.s={l:0,i:32768,w:32768,z:32768},this.b=new Qr(98304),this.o.dictionary){var n=this.o.dictionary.subarray(-32768);this.b.set(n,32768-n.length),this.s.i=32768-n.length}}return o(t,"Deflate"),t.prototype.p=function(e,r){this.ondata(uie(e,this.o,0,0,this.s),r)},t.prototype.push=function(e,r){this.ondata||sn(5),this.s.l&&sn(4);var n=e.length+this.s.z;if(n>this.b.length){if(n>2*this.b.length-32768){var i=new Qr(n&-32768);i.set(this.b.subarray(0,this.s.z)),this.b=i}var s=this.b.length-this.s.z;this.b.set(e.subarray(0,s),this.s.z),this.s.z=this.b.length,this.p(this.b,!1),this.b.set(this.b.subarray(-32768)),this.b.set(e.subarray(s),32768),this.s.z=e.length-s+32768,this.s.i=32766,this.s.w=32768}else this.b.set(e,this.s.z),this.s.z+=e.length;this.s.l=r&1,(this.s.z>this.s.w+8191||r)&&(this.p(this.b,r||!1),this.s.w=this.s.i,this.s.i-=2)},t.prototype.flush=function(){this.ondata||sn(5),this.s.l&&sn(4),this.p(this.b,!1),this.s.w=this.s.i,this.s.i-=2},t})(),zI=(function(){function t(e,r){typeof e=="function"&&(r=e,e={}),this.ondata=r;var n=e&&e.dictionary&&e.dictionary.subarray(-32768);this.s={i:0,b:n?n.length:0},this.o=new Qr(32768),this.p=new Qr(0),n&&this.o.set(n)}return o(t,"Inflate"),t.prototype.e=function(e){if(this.ondata||sn(5),this.d&&sn(4),!this.p.length)this.p=e;else if(e.length){var r=new Qr(this.p.length+e.length);r.set(this.p),r.set(e,this.p.length),this.p=r}},t.prototype.c=function(e){this.s.i=+(this.d=e||!1);var r=this.s.b,n=wJe(this.p,this.s,this.o);this.ondata(Zg(n,r,this.s.b),this.d),this.o=Zg(n,this.s.b-32768),this.s.b=this.o.length,this.p=Zg(this.p,this.s.p/8|0),this.s.p&=7},t.prototype.push=function(e,r){this.e(e),this.c(r)},t})(),RJe=(function(){function t(e,r){this.c=lie(),this.v=1,qI.call(this,e,r)}return o(t,"Zlib"),t.prototype.push=function(e,r){this.c.p(e),qI.prototype.push.call(this,e,r)},t.prototype.p=function(e,r){var n=uie(e,this.o,this.v&&(this.o.dictionary?6:2),r&&4,this.s);this.v&&(NJe(n,this.o),this.v=0),r&&Aie(n,n.length-4,this.c.d()),this.ondata(n,r)},t.prototype.flush=function(){qI.prototype.flush.call(this)},t})(),PJe=(function(){function t(e,r){zI.call(this,e,r),this.v=e&&e.dictionary?2:1}return o(t,"Unzlib"),t.prototype.push=function(e,r){if(zI.prototype.e.call(this,e),this.v){if(this.p.length<6&&!r)return;this.p=this.p.subarray(vJe(this.p,this.v-1)),this.v=0}r&&(this.p.length<4&&sn(6,"invalid zlib data"),this.p=this.p.subarray(0,-4)),zI.prototype.c.call(this,r)},t})(),_Je=typeof TextDecoder<"u"&&new TextDecoder,DJe=0;try{_Je.decode(cie,{stream:!0}),DJe=1}catch{}var eh=class{static{o(this,"LiteralDataPacket")}static get tag(){return p.packet.literalData}constructor(e=new Date){this.format=p.literal.utf8,this.date=Q.normalizeDate(e),this.text=null,this.data=null,this.filename=""}setText(e,r=p.literal.utf8){this.format=r,this.text=e,this.data=null}getText(e=!1){return(this.text===null||Q.isStream(this.text))&&(this.text=Q.decodeUTF8(Q.nativeEOL(this.getBytes(e)))),this.text}setBytes(e,r){this.format=r,this.data=e,this.text=null}getBytes(e=!1){return this.data===null&&(this.data=Q.canonicalizeEOL(Q.encodeUTF8(this.text))),e?$g(this.data):this.data}setFilename(e){this.filename=e}getFilename(){return this.filename}async read(e){await GO(e,async r=>{let n=await r.readByte(),i=await r.readByte();this.filename=Q.decodeUTF8(await r.readBytes(i)),this.date=Q.readDate(await r.readBytes(4));let s=r.remainder();sr(s)&&(s=await kr(s)),this.setBytes(s,n)})}writeHeader(){let e=Q.encodeUTF8(this.filename),r=new Uint8Array([e.length]),n=new Uint8Array([this.format]),i=Q.writeDate(this.date);return Q.concatUint8Array([n,r,e,i])}write(){let e=this.writeHeader(),r=this.getBytes();return Q.concat([e,r])}},Ja=class t{static{o(this,"KeyID")}constructor(){this.bytes=""}read(e){return this.bytes=Q.uint8ArrayToString(e.subarray(0,8)),this.bytes.length}write(){return Q.stringToUint8Array(this.bytes)}toHex(){return Q.uint8ArrayToHex(Q.stringToUint8Array(this.bytes))}equals(e,r=!1){return r&&(e.isWildcard()||this.isWildcard())||this.bytes===e.bytes}isNull(){return this.bytes===""}isWildcard(){return/^0+$/.test(this.toHex())}static mapToHex(e){return e.toHex()}static fromID(e){let r=new t;return r.read(Q.hexToUint8Array(e)),r}static wildcard(){let e=new t;return e.read(new Uint8Array(8)),e}},zg=Symbol("verified"),Bre="salt@notations.openpgpjs.org",kJe=new Set([p.signatureSubpacket.issuerKeyID,p.signatureSubpacket.issuerFingerprint,p.signatureSubpacket.embeddedSignature]),Gn=class t{static{o(this,"SignaturePacket")}static get tag(){return p.packet.signature}constructor(){this.version=null,this.signatureType=null,this.hashAlgorithm=null,this.publicKeyAlgorithm=null,this.signatureData=null,this.unhashedSubpackets=[],this.unknownSubpackets=[],this.signedHashValue=null,this.salt=null,this.created=null,this.signatureExpirationTime=null,this.signatureNeverExpires=!0,this.exportable=null,this.trustLevel=null,this.trustAmount=null,this.regularExpression=null,this.revocable=null,this.keyExpirationTime=null,this.keyNeverExpires=null,this.preferredSymmetricAlgorithms=null,this.revocationKeyClass=null,this.revocationKeyAlgorithm=null,this.revocationKeyFingerprint=null,this.issuerKeyID=new Ja,this.rawNotations=[],this.notations={},this.preferredHashAlgorithms=null,this.preferredCompressionAlgorithms=null,this.keyServerPreferences=null,this.preferredKeyServer=null,this.isPrimaryUserID=null,this.policyURI=null,this.keyFlags=null,this.signersUserID=null,this.reasonForRevocationFlag=null,this.reasonForRevocationString=null,this.features=null,this.signatureTargetPublicKeyAlgorithm=null,this.signatureTargetHashAlgorithm=null,this.signatureTargetHash=null,this.embeddedSignature=null,this.issuerKeyVersion=null,this.issuerFingerprint=null,this.preferredAEADAlgorithms=null,this.preferredCipherSuites=null,this.revoked=null,this[zg]=null}read(e,r=Ce){let n=0;if(this.version=e[n++],this.version===5&&!r.enableParsingV5Entities)throw new vt("Support for v5 entities is disabled; turn on `config.enableParsingV5Entities` if needed");if(this.version!==4&&this.version!==5&&this.version!==6)throw new vt(`Version ${this.version} of the signature packet is unsupported.`);if(this.signatureType=e[n++],this.publicKeyAlgorithm=e[n++],this.hashAlgorithm=e[n++],n+=this.readSubPackets(e.subarray(n,e.length),!0),!this.created)throw new Error("Missing signature creation time subpacket.");if(this.signatureData=e.subarray(0,n),n+=this.readSubPackets(e.subarray(n,e.length),!1),this.signedHashValue=e.subarray(n,n+2),n+=2,this.version===6){let c=e[n++];this.salt=e.subarray(n,n+c),n+=c}let i=e.subarray(n,e.length),{read:s,signatureParams:a}=lJe(this.publicKeyAlgorithm,i);if(sXf(this.publicKeyAlgorithm,await this.params)):Xf(this.publicKeyAlgorithm,this.params)}write(){let e=[];return e.push(this.signatureData),e.push(this.writeUnhashedSubPackets()),e.push(this.signedHashValue),this.version===6&&(e.push(new Uint8Array([this.salt.length])),e.push(this.salt)),e.push(this.writeParams()),Q.concat(e)}async sign(e,r,n=new Date,i=!1,s){this.version=e.version,this.created=Q.normalizeDate(n),this.issuerKeyVersion=e.version,this.issuerFingerprint=e.getFingerprintBytes(),this.issuerKeyID=e.getKeyID();let a=[new Uint8Array([this.version,this.signatureType,this.publicKeyAlgorithm,this.hashAlgorithm])];if(this.version===6){let A=LT(this.hashAlgorithm);if(this.salt===null)this.salt=vn(A);else if(A!==this.salt.length)throw new Error("Provided salt does not have the required length")}else if(s.nonDeterministicSignaturesViaNotation)if(this.rawNotations.filter(({name:d})=>d===Bre).length===0){let d=vn(LT(this.hashAlgorithm));this.rawNotations.push({name:Bre,value:d,humanReadable:!1,critical:!1})}else throw new Error("Unexpected existing salt notation");a.push(this.writeHashedSubPackets()),this.unhashedSubpackets=[],this.signatureData=Q.concat(a);let c=this.toHash(this.signatureType,r,i),l=await this.hash(this.signatureType,r,c,i);this.signedHashValue=dn(tm(l),0,2);let u=o(async()=>AJe(this.publicKeyAlgorithm,this.hashAlgorithm,e.publicParams,e.privateParams,c,await kr(l)),"signed");Q.isStream(l)?this.params=u():(this.params=await u(),this[zg]=!0)}writeHashedSubPackets(){let e=p.signatureSubpacket,r=[],n;if(this.created===null)throw new Error("Missing signature creation time");r.push(Dt(e.signatureCreationTime,!0,Q.writeDate(this.created))),this.signatureExpirationTime!==null&&r.push(Dt(e.signatureExpirationTime,!0,Q.writeNumber(this.signatureExpirationTime,4))),this.exportable!==null&&r.push(Dt(e.exportableCertification,!0,new Uint8Array([this.exportable?1:0]))),this.trustLevel!==null&&(n=new Uint8Array([this.trustLevel,this.trustAmount]),r.push(Dt(e.trustSignature,!0,n))),this.regularExpression!==null&&r.push(Dt(e.regularExpression,!0,this.regularExpression)),this.revocable!==null&&r.push(Dt(e.revocable,!0,new Uint8Array([this.revocable?1:0]))),this.keyExpirationTime!==null&&r.push(Dt(e.keyExpirationTime,!0,Q.writeNumber(this.keyExpirationTime,4))),this.preferredSymmetricAlgorithms!==null&&(n=Q.stringToUint8Array(Q.uint8ArrayToString(this.preferredSymmetricAlgorithms)),r.push(Dt(e.preferredSymmetricAlgorithms,!1,n))),this.revocationKeyClass!==null&&(n=new Uint8Array([this.revocationKeyClass,this.revocationKeyAlgorithm]),n=Q.concat([n,this.revocationKeyFingerprint]),r.push(Dt(e.revocationKey,!1,n))),!this.issuerKeyID.isNull()&&this.issuerKeyVersion<5&&r.push(Dt(e.issuerKeyID,!1,this.issuerKeyID.write())),this.rawNotations.forEach(({name:a,value:c,humanReadable:l,critical:u})=>{n=[new Uint8Array([l?128:0,0,0,0])];let A=Q.encodeUTF8(a);n.push(Q.writeNumber(A.length,2)),n.push(Q.writeNumber(c.length,2)),n.push(A),n.push(c),n=Q.concat(n),r.push(Dt(e.notationData,u,n))}),this.preferredHashAlgorithms!==null&&(n=Q.stringToUint8Array(Q.uint8ArrayToString(this.preferredHashAlgorithms)),r.push(Dt(e.preferredHashAlgorithms,!1,n))),this.preferredCompressionAlgorithms!==null&&(n=Q.stringToUint8Array(Q.uint8ArrayToString(this.preferredCompressionAlgorithms)),r.push(Dt(e.preferredCompressionAlgorithms,!1,n))),this.keyServerPreferences!==null&&(n=Q.stringToUint8Array(Q.uint8ArrayToString(this.keyServerPreferences)),r.push(Dt(e.keyServerPreferences,!1,n))),this.preferredKeyServer!==null&&r.push(Dt(e.preferredKeyServer,!1,Q.encodeUTF8(this.preferredKeyServer))),this.isPrimaryUserID!==null&&r.push(Dt(e.primaryUserID,!1,new Uint8Array([this.isPrimaryUserID?1:0]))),this.policyURI!==null&&r.push(Dt(e.policyURI,!1,Q.encodeUTF8(this.policyURI))),this.keyFlags!==null&&(n=Q.stringToUint8Array(Q.uint8ArrayToString(this.keyFlags)),r.push(Dt(e.keyFlags,!0,n))),this.signersUserID!==null&&r.push(Dt(e.signersUserID,!1,Q.encodeUTF8(this.signersUserID))),this.reasonForRevocationFlag!==null&&(n=Q.stringToUint8Array(String.fromCharCode(this.reasonForRevocationFlag)+this.reasonForRevocationString),r.push(Dt(e.reasonForRevocation,!0,n))),this.features!==null&&(n=Q.stringToUint8Array(Q.uint8ArrayToString(this.features)),r.push(Dt(e.features,!1,n))),this.signatureTargetPublicKeyAlgorithm!==null&&(n=[new Uint8Array([this.signatureTargetPublicKeyAlgorithm,this.signatureTargetHashAlgorithm])],n.push(Q.stringToUint8Array(this.signatureTargetHash)),n=Q.concat(n),r.push(Dt(e.signatureTarget,!0,n))),this.embeddedSignature!==null&&r.push(Dt(e.embeddedSignature,!0,this.embeddedSignature.write())),this.issuerFingerprint!==null&&(n=[new Uint8Array([this.issuerKeyVersion]),this.issuerFingerprint],n=Q.concat(n),r.push(Dt(e.issuerFingerprint,this.version>=5,n))),this.preferredAEADAlgorithms!==null&&(n=Q.stringToUint8Array(Q.uint8ArrayToString(this.preferredAEADAlgorithms)),r.push(Dt(e.preferredAEADAlgorithms,!1,n))),this.preferredCipherSuites!==null&&(n=new Uint8Array([].concat(...this.preferredCipherSuites)),r.push(Dt(e.preferredCipherSuites,!1,n)));let i=Q.concat(r),s=Q.writeNumber(i.length,this.version===6?4:2);return Q.concat([s,i])}writeUnhashedSubPackets(){let e=this.unhashedSubpackets.map(({type:i,critical:s,body:a})=>Dt(i,s,a)),r=Q.concat(e),n=Q.writeNumber(r.length,this.version===6?4:2);return Q.concat([n,r])}readSubPacket(e,r=!0){let n=0,i=!!(e[n]&128),s=e[n]&127;if(n++,!(!r&&(this.unhashedSubpackets.push({type:s,critical:i,body:e.subarray(n,e.length)}),!kJe.has(s))))switch(s){case p.signatureSubpacket.signatureCreationTime:this.created=Q.readDate(e.subarray(n,e.length));break;case p.signatureSubpacket.signatureExpirationTime:{let a=Q.readNumber(e.subarray(n,e.length));this.signatureNeverExpires=a===0,this.signatureExpirationTime=a;break}case p.signatureSubpacket.exportableCertification:this.exportable=e[n++]===1;break;case p.signatureSubpacket.trustSignature:this.trustLevel=e[n++],this.trustAmount=e[n++];break;case p.signatureSubpacket.regularExpression:this.regularExpression=e[n];break;case p.signatureSubpacket.revocable:this.revocable=e[n++]===1;break;case p.signatureSubpacket.keyExpirationTime:{let a=Q.readNumber(e.subarray(n,e.length));this.keyExpirationTime=a,this.keyNeverExpires=a===0;break}case p.signatureSubpacket.preferredSymmetricAlgorithms:this.preferredSymmetricAlgorithms=[...e.subarray(n,e.length)];break;case p.signatureSubpacket.revocationKey:this.revocationKeyClass=e[n++],this.revocationKeyAlgorithm=e[n++],this.revocationKeyFingerprint=e.subarray(n,n+20);break;case p.signatureSubpacket.issuerKeyID:if(this.version===4)this.issuerKeyID.read(e.subarray(n,e.length));else if(r)throw new Error("Unexpected Issuer Key ID subpacket");break;case p.signatureSubpacket.notationData:{let a=!!(e[n]&128);n+=4;let c=Q.readNumber(e.subarray(n,n+2));n+=2;let l=Q.readNumber(e.subarray(n,n+2));n+=2;let u=Q.decodeUTF8(e.subarray(n,n+c)),A=e.subarray(n+c,n+c+l);this.rawNotations.push({name:u,humanReadable:a,value:A,critical:i}),a&&(this.notations[u]=Q.decodeUTF8(A));break}case p.signatureSubpacket.preferredHashAlgorithms:this.preferredHashAlgorithms=[...e.subarray(n,e.length)];break;case p.signatureSubpacket.preferredCompressionAlgorithms:this.preferredCompressionAlgorithms=[...e.subarray(n,e.length)];break;case p.signatureSubpacket.keyServerPreferences:this.keyServerPreferences=[...e.subarray(n,e.length)];break;case p.signatureSubpacket.preferredKeyServer:this.preferredKeyServer=Q.decodeUTF8(e.subarray(n,e.length));break;case p.signatureSubpacket.primaryUserID:this.isPrimaryUserID=e[n++]!==0;break;case p.signatureSubpacket.policyURI:this.policyURI=Q.decodeUTF8(e.subarray(n,e.length));break;case p.signatureSubpacket.keyFlags:this.keyFlags=[...e.subarray(n,e.length)];break;case p.signatureSubpacket.signersUserID:this.signersUserID=Q.decodeUTF8(e.subarray(n,e.length));break;case p.signatureSubpacket.reasonForRevocation:this.reasonForRevocationFlag=e[n++],this.reasonForRevocationString=Q.decodeUTF8(e.subarray(n,e.length));break;case p.signatureSubpacket.features:this.features=[...e.subarray(n,e.length)];break;case p.signatureSubpacket.signatureTarget:{this.signatureTargetPublicKeyAlgorithm=e[n++],this.signatureTargetHashAlgorithm=e[n++];let a=qr(this.signatureTargetHashAlgorithm);this.signatureTargetHash=Q.uint8ArrayToString(e.subarray(n,n+a));break}case p.signatureSubpacket.embeddedSignature:this.embeddedSignature=new t,this.embeddedSignature.read(e.subarray(n,e.length));break;case p.signatureSubpacket.issuerFingerprint:this.issuerKeyVersion=e[n++],this.issuerFingerprint=e.subarray(n,e.length),this.issuerKeyVersion>=5?this.issuerKeyID.read(this.issuerFingerprint):this.issuerKeyID.read(this.issuerFingerprint.subarray(-8));break;case p.signatureSubpacket.preferredAEADAlgorithms:this.preferredAEADAlgorithms=[...e.subarray(n,e.length)];break;case p.signatureSubpacket.preferredCipherSuites:this.preferredCipherSuites=[];for(let a=n;a{n+=i.length},()=>{let i=[];return this.version===5&&(this.signatureType===p.signature.binary||this.signatureType===p.signature.text)&&(r?i.push(new Uint8Array(6)):i.push(e.writeHeader())),i.push(new Uint8Array([this.version,255])),this.version===5&&i.push(new Uint8Array(4)),i.push(Q.writeNumber(n,4)),Q.concat(i)})}toHash(e,r,n=!1){let i=this.toSign(e,r);return Q.concat([this.salt||new Uint8Array,i,this.signatureData,this.calculateTrailer(r,n)])}async hash(e,r,n,i=!1){if(this.version===6&&this.salt.length!==LT(this.hashAlgorithm))throw new Error("Signature salt does not have the expected length");return n||(n=this.toHash(e,r,i)),ea(this.hashAlgorithm,n)}async verify(e,r,n,i=new Date,s=!1,a=Ce){if(!this.issuerKeyID.equals(e.getKeyID()))throw new Error("Signature was not issued by the given public key");if(this.publicKeyAlgorithm!==e.algorithm)throw new Error("Public key algorithm used to sign signature does not match issuer key algorithm.");let c=r===p.signature.binary||r===p.signature.text;if(!(this[zg]&&!c)){let A,d;if(this.hashed?d=await this.hashed:(A=this.toHash(r,n,s),d=await this.hash(r,n,A)),d=await kr(d),this.signedHashValue[0]!==d[0]||this.signedHashValue[1]!==d[1])throw new Error("Signed digest did not match");if(this.params=await this.params,this[zg]=await uJe(this.publicKeyAlgorithm,this.hashAlgorithm,this.params,e.publicParams,A,d),!this[zg])throw new Error("Signature verification failed")}let u=Q.normalizeDate(i);if(u&&this.created>u)throw new Error("Signature creation time is in the future");if(u&&u>=this.getExpirationTime())throw new Error("Signature is expired");if(a.rejectHashAlgorithms.has(this.hashAlgorithm))throw new Error("Insecure hash algorithm: "+p.read(p.hash,this.hashAlgorithm).toUpperCase());if(a.rejectMessageHashAlgorithms.has(this.hashAlgorithm)&&[p.signature.binary,p.signature.text].includes(this.signatureType))throw new Error("Insecure message hash algorithm: "+p.read(p.hash,this.hashAlgorithm).toUpperCase());if(this.unknownSubpackets.forEach(({type:A,critical:d})=>{if(d)throw new Error(`Unknown critical signature subpacket type ${A}`)}),this.rawNotations.forEach(({name:A,critical:d})=>{if(d&&a.knownNotations.indexOf(A)<0)throw new Error(`Unknown critical notation: ${A}`)}),this.revocationKeyClass!==null)throw new Error("This key is intended to be revoked with an authorized key, which OpenPGP.js does not support.")}isExpired(e=new Date){let r=Q.normalizeDate(e);return r!==null?!(this.created<=r&&rGn.prototype.calculateTrailer.apply(await this.correspondingSig,e))}async verify(){let e=await this.correspondingSig;if(!e||e.constructor.tag!==p.packet.signature)throw new Error("Corresponding signature packet missing");if(e.signatureType!==this.signatureType||e.hashAlgorithm!==this.hashAlgorithm||e.publicKeyAlgorithm!==this.publicKeyAlgorithm||!e.issuerKeyID.equals(this.issuerKeyID)||this.version===3&&e.version===6||this.version===6&&e.version!==6||this.version===6&&!Q.equalsUint8Array(e.issuerFingerprint,this.issuerFingerprint)||this.version===6&&!Q.equalsUint8Array(e.salt,this.salt))throw new Error("Corresponding signature packet does not match one-pass signature packet");return e.hashed=this.hashed,e.verify.apply(e,arguments)}};Va.prototype.hash=Gn.prototype.hash;Va.prototype.toHash=Gn.prototype.toHash;Va.prototype.toSign=Gn.prototype.toSign;function TJe(t,e){if(!e[t]){let r;try{r=p.read(p.packet,t)}catch{throw new Yf(`Unknown packet type with tag: ${t}`)}throw new Error(`Packet not allowed in this context: ${r}`)}return new e[t]}o(TJe,"newPacketFromTag");var cr=class t extends Array{static{o(this,"PacketList")}static async fromBinary(e,r,n=Ce,i=null,s=!1){let a=new t;return await a.read(e,r,n,i,s),a}async read(e,r,n=Ce,i=null,s=!1){let a;n.additionalAllowedPackets.length&&(a=Q.constructAllowedPackets(n.additionalAllowedPackets),r={...r,...a}),this.stream=Bl(e,async(l,u)=>{let A=to(l),d=Ji(u);try{let f=Q.isStream(l);for(;;){await d.ready;let h,g;if(await YYe(A,f,async y=>{try{if(y.tag===p.packet.marker||y.tag===p.packet.trust||y.tag===p.packet.padding)return;let I=TJe(y.tag,r);try{i?.recordPacket(y.tag,a)}catch(w){if(n.enforceGrammar)throw w;Q.printDebugError(w)}I.packets=new t,I.fromStream=Q.isStream(y.packet),g=I.fromStream;try{await I.read(y.packet,n)}catch(w){throw w instanceof vt?w:Q.wrapError(new Xg(`Parsing ${I.constructor.name} failed`),w)}await d.write(I)}catch(I){let w=I instanceof Yf&&y.tag<=39,v=I instanceof vt&&!(I instanceof Yf)&&!n.ignoreUnsupportedPackets,U=I instanceof Xg&&!n.ignoreMalformedPackets,H=MI(y.tag),J=!(I instanceof Yf||I instanceof vt||I instanceof Xg);if(w||v||U||H||J)s?h=I:await d.abort(I);else{let q=new rm(y.tag,y.packet);await d.write(q)}Q.printDebugError(I)}}),g&&(f=null),h)throw await A.readToEnd(),h;let m=await A.peekBytes(2);if(!m||!m.length){try{i?.recordEnd()}catch(y){if(n.enforceGrammar)throw y;Q.printDebugError(y)}await d.ready,await d.close();return}}}catch(f){await d.abort(f)}});let c=to(this.stream);for(;;){let{done:l,value:u}=await c.read();if(l?this.stream=null:this.push(u),l||MI(u.constructor.tag))break}c.releaseLock()}write(){let e=[];for(let r=0;r{if(s.push(l),a+=l.length,a>=c){let u=Math.min(Math.log(a)/Math.LN2|0,30),A=2**u,d=Q.concat([jYe(u)].concat(s));return s=[d.subarray(1+A)],a=s[0].length,d.subarray(0,1+A)}},()=>Q.concat([PB(a)].concat(s))))}else{if(Q.isStream(i)){let s=0;e.push(Dr(tm(i),a=>{s+=a.length},()=>nre(n,s)))}else e.push(nre(n,i.length));e.push(i)}}return Q.concat(e)}filterByTag(...e){let r=new t,n=o(i=>s=>i===s,"handle");for(let i=0;ir.constructor.tag===e)}indexOfTag(...e){let r=[],n=this,i=o(s=>a=>s===a,"handle");for(let s=0;s0)throw new Go("Missing trailing signature packets")}}},OJe=Q.constructAllowedPackets([eh,Va,Gn]),uB=class{static{o(this,"CompressedDataPacket")}static get tag(){return p.packet.compressedData}constructor(e=Ce){this.packets=null,this.algorithm=e.preferredCompressionAlgorithm,this.compressed=null}async read(e,r=Ce){await GO(e,async n=>{this.algorithm=await n.readByte(),this.compressed=n.remainder(),await this.decompress(r)})}write(){return this.compressed===null&&this.compress(),Q.concat([new Uint8Array([this.algorithm]),this.compressed])}async decompress(e=Ce){let r=p.read(p.compression,this.algorithm),n=FJe[r];if(!n)throw new Error(`${r} decompression not supported`);let i=await n(this.compressed);if(e.maxDecompressedMessageSize!==1/0){let s=0;i=Dr(i,a=>{if(s+=a.length,s>e.maxDecompressedMessageSize)throw new Error("Maximum decompressed message size exceeded");return a})}(!Tr(this.compressed)||sr(this.compressed))&&(i=await kr(i)),this.packets=await cr.fromBinary(i,OJe,e,new lB)}compress(){let e=p.read(p.compression,this.algorithm),r=UJe[e];if(!r)throw new Error(`${e} compression not supported`);let n=this.packets.write(),i=r(n);(!Tr(n)||sr(n))&&(i=rA(()=>kr(i))),this.compressed=i}};function MJe(t){let r=to(t);return new ReadableStream({async pull(n){try{let{value:i,done:s}=await r.read();if(s){n.close();return}for(let a=0;a<=i.length;a+=65536)(!a||a{let n;if(sr(r)?n=new ReadableStream({async start(l){try{l.enqueue(await kr(r)),l.close()}catch(u){l.error(u)}}}):Tr(r)?n=r:n=ym(r),n=MJe(n),t)try{let l=t();return n.pipeThrough(l)}catch(l){if(l.name!=="TypeError")throw l}let i=to(n),s=new e,a=!1,c=!1;return new ReadableStream({start(l){s.ondata=(u,A)=>{l.enqueue(u),a=!0,A&&(l.close(),c=!0)}},async pull(){for(a=!1;!a&&!c;){let{done:l,value:u}=await i.read();if(l){s.push(new Uint8Array,!0);return}else u.length&&s.push(u)}}},{highWaterMark:0})}}o(AB,"zlib");function LJe(){return async function(t){let{default:e}=await Promise.resolve().then(function(){return gXe});return e(ym(t))}}o(LJe,"bzip2Decompress");var dB=o(t=>({compressor:typeof CompressionStream<"u"&&(()=>new CompressionStream(t)),decompressor:typeof DecompressionStream<"u"&&(()=>new DecompressionStream(t))}),"getCompressionStreamInstantiators"),UJe={zip:AB(dB("deflate-raw").compressor,qI),zlib:AB(dB("deflate").compressor,RJe)},FJe={uncompressed:o(t=>t,"uncompressed"),zip:AB(dB("deflate-raw").decompressor,zI),zlib:AB(dB("deflate").decompressor,PJe),bzip2:LJe()},HJe=Q.constructAllowedPackets([eh,uB,Va,Gn]),om=class t{static{o(this,"SymEncryptedIntegrityProtectedDataPacket")}static get tag(){return p.packet.symEncryptedIntegrityProtectedData}static fromObject({version:e,aeadAlgorithm:r}){if(e!==1&&e!==2)throw new Error("Unsupported SEIPD version");let n=new t;return n.version=e,e===2&&(n.aeadAlgorithm=r),n}constructor(){this.version=null,this.cipherAlgorithm=null,this.aeadAlgorithm=null,this.chunkSizeByte=null,this.salt=null,this.encrypted=null,this.packets=null}async read(e){await GO(e,async r=>{if(this.version=await r.readByte(),this.version!==1&&this.version!==2)throw new vt(`Version ${this.version} of the SEIP packet is unsupported.`);this.version===2&&(this.cipherAlgorithm=await r.readByte(),this.aeadAlgorithm=await r.readByte(),this.chunkSizeByte=await r.readByte(),this.salt=await r.readBytes(32)),this.encrypted=r.remainder()})}write(){return this.version===2?Q.concat([new Uint8Array([this.version,this.cipherAlgorithm,this.aeadAlgorithm,this.chunkSizeByte]),this.salt,this.encrypted]):Q.concat([new Uint8Array([this.version]),this.encrypted])}async encrypt(e,r,n=Ce){let{blockSize:i,keySize:s}=Yt(e);if(r.length!==s)throw new Error("Unexpected session key size");let a=this.packets.write();if(sr(a)&&(a=await kr(a)),this.version===2)this.cipherAlgorithm=e,this.salt=vn(32),this.chunkSizeByte=n.aeadChunkSizeByte,this.encrypted=await wre(this,"encrypt",r,a);else{let c=await YKe(e),l=new Uint8Array([211,20]),u=Q.concat([c,a,l]),A=await ea(p.hash.sha1,$g(u)),d=Q.concat([u,A]);this.encrypted=await uM(e,r,d,new Uint8Array(i))}return!0}async decrypt(e,r,n=Ce){if(r.length!==Yt(e).keySize)throw new Error("Unexpected session key size");let i=tm(this.encrypted);sr(i)&&(i=await kr(i));let s,a=!1;if(this.version===2){if(this.cipherAlgorithm!==e)throw new Error("Unexpected session key algorithm");s=await wre(this,"decrypt",r,i)}else{let{blockSize:c}=Yt(e),l=await AM(e,r,i,new Uint8Array(c)),u=dn($g(l),-20),A=dn(l,0,-20),d=Promise.all([kr(await ea(p.hash.sha1,$g(A))),kr(u)]).then(([h,g])=>{if(!Q.equalsUint8Array(h,g))throw new Error("Modification detected.");return new Uint8Array}),f=dn(A,c+2);s=dn(f,0,-2),s=qn([s,rA(()=>d)]),Q.isStream(i)&&n.allowUnauthenticatedStream?a=!0:s=await kr(s)}return this.packets=await cr.fromBinary(s,HJe,n,new lB,a),!0}};async function wre(t,e,r,n){let i=t instanceof om&&t.version===2,s=!i&&t.constructor.tag===p.packet.aeadEncryptedData;if(!i&&!s)throw new Error("Unexpected packet type");let a=Ku(t.aeadAlgorithm,s),c=e==="decrypt"?a.tagLength:0,l=e==="encrypt"?a.tagLength:0,u=2**(t.chunkSizeByte+6)+c,A=s?8:0,d=new ArrayBuffer(13+A),f=new Uint8Array(d,0,5+A),h=new Uint8Array(d),g=new DataView(d),m=new Uint8Array(d,5,8);f.set([192|t.constructor.tag,t.version,t.cipherAlgorithm,t.aeadAlgorithm,t.chunkSizeByte],0);let b=0,y=Promise.resolve(),I=0,w=0,v,U;if(i){let{keySize:J}=Yt(t.cipherAlgorithm),{ivLength:q}=a,D=new Uint8Array(d,0,5),T=await xl(p.hash.sha256,r,t.salt,D,J+q);r=T.subarray(0,J),v=T.subarray(J),v.fill(0,v.length-8),U=new DataView(v.buffer,v.byteOffset,v.byteLength)}else v=t.iv;let H=await a(t.cipherAlgorithm,r);return Bl(n,async(J,q)=>{if(Q.isStream(J)!=="array"){let L=new TransformStream({},{highWaterMark:Q.getHardwareConcurrency()*2**(t.chunkSizeByte+6),size:o(z=>z.length,"size")});sh(L.readable,q),q=L.writable}let D=to(J),T=Ji(q);try{for(;;){let L=await D.readBytes(u+c)||new Uint8Array,z=L.subarray(L.length-c);L=L.subarray(0,L.length-c);let _,k,F;if(i)F=v;else{F=v.slice();for(let K=0;K<8;K++)F[v.length-8+K]^=m[K]}if(!b||L.length?(D.unshift(z),_=H[e](L,F,f),_.catch(()=>{}),w+=L.length-c+l):(g.setInt32(5+A+4,I),_=H[e](z,F,h),_.catch(()=>{}),w+=l,k=!0),I+=L.length-c,y=y.then(()=>_).then(async K=>{await T.ready,await T.write(K),w-=K.length}).catch(K=>T.abort(K)),(k||w>T.desiredSize)&&await y,!k)i?U.setInt32(v.length-4,++b):g.setInt32(9,++b);else{await T.close();break}}}catch(L){await T.ready.catch(()=>{}),await T.abort(L)}})}o(wre,"runAEAD");var fB=class t{static{o(this,"PublicKeyEncryptedSessionKeyPacket")}static get tag(){return p.packet.publicKeyEncryptedSessionKey}constructor(){this.version=null,this.publicKeyID=new Ja,this.publicKeyVersion=null,this.publicKeyFingerprint=null,this.publicKeyAlgorithm=null,this.sessionKey=null,this.sessionKeyAlgorithm=null,this.encrypted={}}static fromObject({version:e,encryptionKeyPacket:r,anonymousRecipient:n,sessionKey:i,sessionKeyAlgorithm:s}){let a=new t;if(e!==3&&e!==6)throw new Error("Unsupported PKESK version");return a.version=e,e===6&&(a.publicKeyVersion=n?null:r.version,a.publicKeyFingerprint=n?null:r.getFingerprintBytes()),a.publicKeyID=n?Ja.wildcard():r.getKeyID(),a.publicKeyAlgorithm=r.algorithm,a.sessionKey=i,a.sessionKeyAlgorithm=s,a}read(e){let r=0;if(this.version=e[r++],this.version!==3&&this.version!==6)throw new vt(`Version ${this.version} of the PKESK packet is unsupported.`);if(this.version===6){let n=e[r++];if(n){this.publicKeyVersion=e[r++];let i=n-1;this.publicKeyFingerprint=e.subarray(r,r+i),r+=i,this.publicKeyVersion>=5?this.publicKeyID.read(this.publicKeyFingerprint):this.publicKeyID.read(this.publicKeyFingerprint.subarray(-8))}else this.publicKeyID=Ja.wildcard()}else r+=this.publicKeyID.read(e.subarray(r,r+8));if(this.publicKeyAlgorithm=e[r++],this.encrypted=qKe(this.publicKeyAlgorithm,e.subarray(r)),this.publicKeyAlgorithm===p.publicKey.x25519||this.publicKeyAlgorithm===p.publicKey.x448){if(this.version===3)this.sessionKeyAlgorithm=p.write(p.symmetric,this.encrypted.C.algorithm);else if(this.encrypted.C.algorithm!==null)throw new Error("Unexpected cleartext symmetric algorithm")}}write(){let e=[new Uint8Array([this.version])];return this.version===6?this.publicKeyFingerprint!==null?(e.push(new Uint8Array([this.publicKeyFingerprint.length+1,this.publicKeyVersion])),e.push(this.publicKeyFingerprint)):e.push(new Uint8Array([0])):e.push(this.publicKeyID.write()),e.push(new Uint8Array([this.publicKeyAlgorithm]),Xf(this.publicKeyAlgorithm,this.encrypted)),Q.concatUint8Array(e)}async encrypt(e){let r=p.write(p.publicKey,this.publicKeyAlgorithm),n=this.version===3?this.sessionKeyAlgorithm:null,i=e.version===5?e.getFingerprintBytes().subarray(0,20):e.getFingerprintBytes(),s=Qre(this.version,r,n,this.sessionKey);this.encrypted=await UKe(r,n,e.publicParams,s,i)}async decrypt(e,r){if(this.publicKeyAlgorithm!==e.algorithm)throw new Error("Decryption error");let n=r?Qre(this.version,this.publicKeyAlgorithm,r.sessionKeyAlgorithm,r.sessionKey):null,i=e.version===5?e.getFingerprintBytes().subarray(0,20):e.getFingerprintBytes(),s=await FKe(this.publicKeyAlgorithm,e.publicParams,e.privateParams,this.encrypted,i,n),{sessionKey:a,sessionKeyAlgorithm:c}=qJe(this.version,this.publicKeyAlgorithm,s,r);if(this.version===3){let l=this.publicKeyAlgorithm!==p.publicKey.x25519&&this.publicKeyAlgorithm!==p.publicKey.x448;if(this.sessionKeyAlgorithm=l?c:this.sessionKeyAlgorithm,a.length!==Yt(this.sessionKeyAlgorithm).keySize)throw new Error("Unexpected session key size")}this.sessionKey=a}};function Qre(t,e,r,n){switch(e){case p.publicKey.rsaEncrypt:case p.publicKey.rsaEncryptSign:case p.publicKey.elgamal:case p.publicKey.ecdh:return Q.concatUint8Array([new Uint8Array(t===6?[]:[r]),n,Q.writeChecksum(n.subarray(n.length%8))]);case p.publicKey.x25519:case p.publicKey.x448:return n;default:throw new Error("Unsupported public key algorithm")}}o(Qre,"encodeSessionKey");function qJe(t,e,r,n){switch(e){case p.publicKey.rsaEncrypt:case p.publicKey.rsaEncryptSign:case p.publicKey.elgamal:case p.publicKey.ecdh:{let i=r.subarray(0,r.length-2),s=r.subarray(r.length-2),a=Q.writeChecksum(i.subarray(i.length%8)),c=a[0]===s[0]&a[1]===s[1],l=t===6?{sessionKeyAlgorithm:null,sessionKey:i}:{sessionKeyAlgorithm:i[0],sessionKey:i.subarray(1)};if(n){let u=c&l.sessionKeyAlgorithm===n.sessionKeyAlgorithm&l.sessionKey.length===n.sessionKey.length;return{sessionKey:Q.selectUint8Array(u,l.sessionKey,n.sessionKey),sessionKeyAlgorithm:t===6?null:Q.selectUint8(u,l.sessionKeyAlgorithm,n.sessionKeyAlgorithm)}}else{if(c&&(t===6||p.read(p.symmetric,l.sessionKeyAlgorithm)))return l;throw new Error("Decryption error")}}case p.publicKey.x25519:case p.publicKey.x448:return{sessionKeyAlgorithm:null,sessionKey:r};default:throw new Error("Unsupported public key algorithm")}}o(qJe,"decodeSessionKey");var hB=class t{static{o(this,"SymEncryptedSessionKeyPacket")}static get tag(){return p.packet.symEncryptedSessionKey}constructor(e=Ce){this.version=e.aeadProtect?6:4,this.sessionKey=null,this.sessionKeyEncryptionAlgorithm=null,this.sessionKeyAlgorithm=null,this.aeadAlgorithm=p.write(p.aead,e.preferredAEADAlgorithm),this.encrypted=null,this.s2k=null,this.iv=null}read(e){let r=0;if(this.version=e[r++],this.version!==4&&this.version!==5&&this.version!==6)throw new vt(`Version ${this.version} of the SKESK packet is unsupported.`);this.version===6&&r++;let n=e[r++];this.version>=5&&(this.aeadAlgorithm=e[r++],this.version===6&&r++);let i=e[r++];if(this.s2k=cB(i),r+=this.s2k.read(e.subarray(r,e.length)),this.version>=5){let s=Ku(this.aeadAlgorithm,!0);this.iv=e.subarray(r,r+=s.ivLength)}this.version>=5||r=5){let a=Ku(this.aeadAlgorithm,!0),c=new Uint8Array([192|t.tag,this.version,this.sessionKeyEncryptionAlgorithm,this.aeadAlgorithm]),l=this.version===6?await xl(p.hash.sha256,s,new Uint8Array,c,i):s,u=await a(r,l);this.sessionKey=await u.decrypt(this.encrypted,this.iv,c)}else if(this.encrypted!==null){let a=await AM(r,s,this.encrypted,new Uint8Array(n));if(this.sessionKeyAlgorithm=p.write(p.symmetric,a[0]),this.sessionKey=a.subarray(1,a.length),this.sessionKey.length!==Yt(this.sessionKeyAlgorithm).keySize)throw new Error("Unexpected session key size")}else this.sessionKey=s}async encrypt(e,r=Ce){let n=this.sessionKeyEncryptionAlgorithm!==null?this.sessionKeyEncryptionAlgorithm:this.sessionKeyAlgorithm;this.sessionKeyEncryptionAlgorithm=n,this.s2k=rie(r),this.s2k.generateSalt();let{blockSize:i,keySize:s}=Yt(n),a=await this.s2k.produceKey(e,s);if(this.sessionKey===null&&(this.sessionKey=dO(this.sessionKeyAlgorithm)),this.version>=5){let c=Ku(this.aeadAlgorithm);this.iv=vn(c.ivLength);let l=new Uint8Array([192|t.tag,this.version,this.sessionKeyEncryptionAlgorithm,this.aeadAlgorithm]),u=this.version===6?await xl(p.hash.sha256,a,new Uint8Array,l,s):a,A=await c(n,u);this.encrypted=await A.encrypt(this.sessionKey,this.iv,l)}else{let c=Q.concatUint8Array([new Uint8Array([this.sessionKeyAlgorithm]),this.sessionKey]);this.encrypted=await uM(n,a,c,new Uint8Array(i))}}},ta=class t{static{o(this,"PublicKeyPacket")}static get tag(){return p.packet.publicKey}constructor(e=new Date,r=Ce){this.version=r.v6Keys?6:4,this.created=Q.normalizeDate(e),this.algorithm=null,this.publicParams=null,this.expirationTimeV3=0,this.fingerprint=null,this.keyID=null}static fromSecretKeyPacket(e){let r=new t,{version:n,created:i,algorithm:s,publicParams:a,keyID:c,fingerprint:l}=e;return r.version=n,r.created=i,r.algorithm=s,r.publicParams=a,r.keyID=c,r.fingerprint=l,r}async read(e,r=Ce){let n=0;if(this.version=e[n++],this.version===5&&!r.enableParsingV5Entities)throw new vt("Support for parsing v5 entities is disabled; turn on `config.enableParsingV5Entities` if needed");if(this.version===4||this.version===5||this.version===6){this.created=Q.readDate(e.subarray(n,n+4)),n+=4,this.algorithm=e[n++],this.version>=5&&(n+=4);let{read:i,publicParams:s}=HKe(this.algorithm,e.subarray(n));if(this.version===6&&s.oid&&(s.oid.getName()===p.curve.curve25519Legacy||s.oid.getName()===p.curve.ed25519Legacy))throw new Error("Legacy curve25519 cannot be used with v6 keys");return this.publicParams=s,n+=i,await this.computeFingerprintAndKeyID(),n}throw new vt(`Version ${this.version} of the key packet is unsupported.`)}write(){let e=[];e.push(new Uint8Array([this.version])),e.push(Q.writeDate(this.created)),e.push(new Uint8Array([this.algorithm]));let r=Xf(this.algorithm,this.publicParams);return this.version>=5&&e.push(Q.writeNumber(r.length,4)),e.push(r),Q.concatUint8Array(e)}writeForHash(e){let r=this.writePublicKey(),n=149+e,i=e>=5?4:2;return Q.concatUint8Array([new Uint8Array([n]),Q.writeNumber(r.length,i),r])}isDecrypted(){return null}getCreationTime(){return this.created}getKeyID(){return this.keyID}async computeFingerprintAndKeyID(){if(await this.computeFingerprint(),this.keyID=new Ja,this.version>=5)this.keyID.read(this.fingerprint.subarray(0,8));else if(this.version===4)this.keyID.read(this.fingerprint.subarray(12,20));else throw new Error("Unsupported key version")}async computeFingerprint(){let e=this.writeForHash(this.version);if(this.version>=5)this.fingerprint=await ea(p.hash.sha256,e);else if(this.version===4)this.fingerprint=await ea(p.hash.sha1,e);else throw new Error("Unsupported key version")}getFingerprintBytes(){return this.fingerprint}getFingerprint(){return Q.uint8ArrayToHex(this.getFingerprintBytes())}hasSameFingerprintAs(e){return this.version===e.version&&Q.equalsUint8Array(this.writePublicKey(),e.writePublicKey())}getAlgorithmInfo(){let e={};e.algorithm=p.read(p.publicKey,this.algorithm);let r=this.publicParams.n||this.publicParams.p;return r?e.bits=Q.uint8ArrayBitLength(r):this.publicParams.oid&&(e.curve=this.publicParams.oid.getName()),e}};ta.prototype.readPublicKey=ta.prototype.read;ta.prototype.writePublicKey=ta.prototype.write;var pB=class t extends ta{static{o(this,"PublicSubkeyPacket")}static get tag(){return p.packet.publicSubkey}constructor(e,r){super(e,r)}static fromSecretSubkeyPacket(e){let r=new t,{version:n,created:i,algorithm:s,publicParams:a,keyID:c,fingerprint:l}=e;return r.version=n,r.created=i,r.algorithm=s,r.publicParams=a,r.keyID=c,r.fingerprint=l,r}},CO=class t{static{o(this,"UserAttributePacket")}static get tag(){return p.packet.userAttribute}constructor(){this.attributes=[]}read(e){let r=0;for(;r{this.privateParams[e].fill(0),delete this.privateParams[e]}),this.privateParams=null,this.isEncrypted=!0)}};async function UT(t,e,r,n,i,s,a){if(e.type==="argon2"&&!i)throw new Error("Using Argon2 S2K without AEAD is not allowed");if(e.type==="simple"&&t===6)throw new Error("Using Simple S2K with version 6 keys is not allowed");let{keySize:c}=Yt(n),l=await e.produceKey(r,c);if(!i||t===5||a)return l;let u=Q.concatUint8Array([s,new Uint8Array([t,n,i])]);return xl(p.hash.sha256,l,new Uint8Array,u,c)}o(UT,"produceEncryptionKey");var xO=class t{static{o(this,"UserIDPacket")}static get tag(){return p.packet.userID}constructor(){this.userID="",this.name="",this.email="",this.comment=""}static fromObject(e){if(Q.isString(e)||e.name&&!Q.isString(e.name)||e.email&&!Q.isEmailAddress(e.email)||e.comment&&!Q.isString(e.comment))throw new Error("Invalid user ID format");let r=new t;Object.assign(r,e);let n=[];return r.name&&n.push(r.name),r.comment&&n.push(`(${r.comment})`),r.email&&n.push(`<${r.email}>`),r.userID=n.join(" "),r}read(e,r=Ce){let n=Q.decodeUTF8(e);if(n.length>r.maxUserIDLength)throw new Error("User ID string is too long");let i=o(c=>/^[^\s@]+@[^\s@]+$/.test(c),"isValidEmail"),s=n.indexOf("<"),a=n.lastIndexOf(">");if(s!==-1&&a!==-1&&a>s){let c=n.substring(s+1,a);if(i(c)){this.email=c;let l=n.substring(0,s).trim(),u=l.indexOf("("),A=l.lastIndexOf(")");u!==-1&&A!==-1&&A>u?(this.comment=l.substring(u+1,A).trim(),this.name=l.substring(0,u).trim()):(this.name=l,this.comment="")}}else i(n.trim())&&(this.email=n.trim(),this.name="",this.comment="");this.userID=n}write(){return Q.encodeUTF8(this.userID)}equals(e){return e&&e.userID===this.userID}},mB=class extends gB{static{o(this,"SecretSubkeyPacket")}static get tag(){return p.packet.secretSubkey}constructor(e=new Date,r=Ce){super(e,r)}};var bl=class{static{o(this,"Signature")}constructor(e){this.packets=e||new cr}write(){return this.packets.write()}armor(e=Ce){let r=this.packets.some(n=>n.constructor.tag===Gn.tag&&n.version!==6);return oh(p.armor.signature,this.write(),void 0,void 0,void 0,r,e)}getSigningKeyIDs(){return this.packets.map(e=>e.issuerKeyID)}};async function zJe(t,e){let r=new mB(t.date,e);return r.packets=null,r.algorithm=p.write(p.publicKey,t.algorithm),await r.generate(t.rsaBits,t.curve),await r.computeFingerprintAndKeyID(),r}o(zJe,"generateSecretSubkey");async function $s(t,e,r,n,i=new Date,s){let a,c;for(let l=t.length-1;l>=0;l--)try{(!a||t[l].created>=a.created)&&(await t[l].verify(e,r,n,i,void 0,s),a=t[l])}catch(u){c=u}if(!a)throw Q.wrapError(`Could not find valid ${p.read(p.signature,r)} signature in key ${e.getKeyID().toHex()}`.replace("certGeneric ","self-").replace(/([a-z])([A-Z])/g,(l,u,A)=>u+" "+A.toLowerCase()),c);return a}o($s,"getLatestValidSignature");function IO(t,e,r=new Date){let n=Q.normalizeDate(r);if(n!==null){let i=yB(t,e);return!(t.created<=n&&n0&&(s.keyExpirationTime=r.keyExpirationTime,s.keyNeverExpires=!1),await Xu(i,[],e,s,r.date,void 0,void 0,void 0,n)}o(GJe,"createBindingSignature");async function jJe(t,e,r=new Date,n=[],i){let s=p.hash.sha256,a=i.preferredHashAlgorithm,c=await Promise.all(t.map(async(f,h)=>(await f.getPrimarySelfSignature(r,n[h],i)).preferredHashAlgorithms||[])),l=new Map;for(let f of c)for(let h of f)try{let g=p.write(p.hash,h);l.set(g,l.has(g)?l.get(g)+1:1)}catch{}let u=o(f=>t.length===0||l.get(f)===t.length||f===s,"isSupportedHashAlgo"),A=o(()=>{if(l.size===0)return s;let h=Array.from(l.keys()).filter(g=>u(g)).sort((g,m)=>qr(g)-qr(m))[0];return qr(h)>=qr(s)?h:s},"getStrongestSupportedHashAlgo");if(new Set([p.publicKey.ecdsa,p.publicKey.eddsaLegacy,p.publicKey.ed25519,p.publicKey.ed448]).has(e.algorithm)){let f=jKe(e.algorithm,e.publicParams.oid),h=u(a),g=qr(a)>=qr(f);if(h&&g)return a;{let m=A();return qr(m)>=qr(f)?m:f}}return u(a)?a:A()}o(jJe,"getPreferredHashAlgo");async function YJe(t=[],e=new Date,r=[],n=Ce){let i=await Promise.all(t.map((l,u)=>l.getPrimarySelfSignature(e,r[u],n)));if(t.length?i.every(l=>l.features&&l.features[0]&p.features.seipdv2):n.aeadProtect){let l={symmetricAlgo:p.symmetric.aes128,aeadAlgo:p.aead.ocb},u=[{symmetricAlgo:n.preferredSymmetricAlgorithm,aeadAlgo:n.preferredAEADAlgorithm},{symmetricAlgo:n.preferredSymmetricAlgorithm,aeadAlgo:p.aead.ocb},{symmetricAlgo:p.symmetric.aes128,aeadAlgo:n.preferredAEADAlgorithm}];for(let A of u)if(i.every(d=>d.preferredCipherSuites&&d.preferredCipherSuites.some(f=>f[0]===A.symmetricAlgo&&f[1]===A.aeadAlgo)))return A;return l}let a=p.symmetric.aes128,c=n.preferredSymmetricAlgorithm;return{symmetricAlgo:i.every(l=>l.preferredSymmetricAlgorithms&&l.preferredSymmetricAlgorithms.includes(c))?c:a,aeadAlgo:void 0}}o(YJe,"getPreferredCipherSuite");async function Xu(t,e,r,n,i,s,a=[],c=!1,l){if(r.isDummy())throw new Error("Cannot sign with a gnu-dummy key.");if(!r.isDecrypted())throw new Error("Signing key is not decrypted.");let u=new Gn;return Object.assign(u,n),u.publicKeyAlgorithm=r.algorithm,u.hashAlgorithm=await jJe(e,r,i,s,l),u.rawNotations=[...a],await u.sign(r,t,i,c,l),u}o(Xu,"createSignaturePacket");async function Ju(t,e,r,n=new Date,i){t=t[r],t&&(e[r].length?await Promise.all(t.map(async function(s){!s.isExpired(n)&&(!i||await i(s))&&!e[r].some(function(a){return Q.equalsUint8Array(a.writeParams(),s.writeParams())})&&e[r].push(s)})):e[r]=t)}o(Ju,"mergeSignatures");async function th(t,e,r,n,i,s,a=new Date,c){s=s||t;let l=[];return await Promise.all(n.map(async function(u){try{if(!i||u.issuerKeyID.equals(i.issuerKeyID)){let A=![p.reasonForRevocation.keyRetired,p.reasonForRevocation.keySuperseded,p.reasonForRevocation.userIDInvalid].includes(u.reasonForRevocationFlag);await u.verify(s,e,r,A?null:a,!1,c),l.push(u.issuerKeyID)}}catch{}})),i?(i.revoked=l.some(u=>u.equals(i.issuerKeyID))?!0:i.revoked||!1,i.revoked):l.length>0}o(th,"isDataRevoked");function yB(t,e){let r;return e.keyNeverExpires===!1&&(r=t.created.getTime()+e.keyExpirationTime*1e3),r?new Date(r):1/0}o(yB,"getKeyExpirationTime");function KJe(t,e={}){switch(t.type=t.type||e.type,t.curve=t.curve||e.curve,t.rsaBits=t.rsaBits||e.rsaBits,t.keyExpirationTime=t.keyExpirationTime!==void 0?t.keyExpirationTime:e.keyExpirationTime,t.passphrase=Q.isString(t.passphrase)?t.passphrase:e.passphrase,t.date=t.date||e.date,t.sign=t.sign||!1,t.type){case"ecc":try{t.curve=p.write(p.curve,t.curve)}catch{throw new Error("Unknown curve")}(t.curve===p.curve.ed25519Legacy||t.curve===p.curve.curve25519Legacy||t.curve==="ed25519"||t.curve==="curve25519")&&(t.curve=t.sign?p.curve.ed25519Legacy:p.curve.curve25519Legacy),t.sign?t.algorithm=t.curve===p.curve.ed25519Legacy?p.publicKey.eddsaLegacy:p.publicKey.ecdsa:t.algorithm=p.publicKey.ecdh;break;case"curve25519":t.algorithm=t.sign?p.publicKey.ed25519:p.publicKey.x25519;break;case"curve448":t.algorithm=t.sign?p.publicKey.ed448:p.publicKey.x448;break;case"rsa":t.algorithm=p.publicKey.rsaEncryptSign;break;default:throw new Error(`Unsupported key type ${t.type}`)}return t}o(KJe,"sanitizeKeyOptions");function Sre(t,e,r){switch(t.algorithm){case p.publicKey.rsaEncryptSign:case p.publicKey.rsaSign:case p.publicKey.dsa:case p.publicKey.ecdsa:case p.publicKey.eddsaLegacy:case p.publicKey.ed25519:case p.publicKey.ed448:if(!e.keyFlags&&!r.allowMissingKeyFlags)throw new Error("None of the key flags is set: consider passing `config.allowMissingKeyFlags`");return!e.keyFlags||(e.keyFlags[0]&p.keyFlags.signData)!==0;default:return!1}}o(Sre,"validateSigningKeyPacket");function Nre(t,e,r){switch(t.algorithm){case p.publicKey.rsaEncryptSign:case p.publicKey.rsaEncrypt:case p.publicKey.elgamal:case p.publicKey.ecdh:case p.publicKey.x25519:case p.publicKey.x448:if(!e.keyFlags&&!r.allowMissingKeyFlags)throw new Error("None of the key flags is set: consider passing `config.allowMissingKeyFlags`");return!e.keyFlags||(e.keyFlags[0]&p.keyFlags.encryptCommunication)!==0||(e.keyFlags[0]&p.keyFlags.encryptStorage)!==0;default:return!1}}o(Nre,"validateEncryptionKeyPacket");function vre(t,e,r){if(!e.keyFlags&&!r.allowMissingKeyFlags)throw new Error("None of the key flags is set: consider passing `config.allowMissingKeyFlags`");switch(t.algorithm){case p.publicKey.rsaEncryptSign:case p.publicKey.rsaEncrypt:case p.publicKey.elgamal:case p.publicKey.ecdh:case p.publicKey.x25519:case p.publicKey.x448:return(!e.keyFlags||(e.keyFlags[0]&p.keyFlags.signData)!==0)&&r.allowInsecureDecryptionWithSigningKeys?!0:!e.keyFlags||(e.keyFlags[0]&p.keyFlags.encryptCommunication)!==0||(e.keyFlags[0]&p.keyFlags.encryptStorage)!==0;default:return!1}}o(vre,"validateDecryptionKeyPacket");function qu(t,e){let r=p.write(p.publicKey,t.algorithm),n=t.getAlgorithmInfo();if(e.rejectPublicKeyAlgorithms.has(r))throw new Error(`${n.algorithm} keys are considered too weak.`);switch(r){case p.publicKey.rsaEncryptSign:case p.publicKey.rsaSign:case p.publicKey.rsaEncrypt:if(n.bitsA.getKeys(l).length>0);return u.length===0?null:(await Promise.all(u.map(async A=>{let d=await A.getSigningKey(l,e.created,void 0,i);if(e.revoked||await s.isRevoked(e,d.keyPacket,n,i))throw new Error("User certificate is revoked");try{await e.verify(d.keyPacket,p.signature.certGeneric,c,n,void 0,i)}catch(f){throw Q.wrapError("User certificate is invalid",f)}})),!0)}async verifyAllCertifications(e,r=new Date,n){let i=this,s=this.selfCertifications.concat(this.otherCertifications);return Promise.all(s.map(async a=>({keyID:a.issuerKeyID,valid:await i.verifyCertificate(a,e,r,n).catch(()=>!1)})))}async verify(e=new Date,r){if(!this.selfCertifications.length)throw new Error("No self-certifications found");let n=this,i=this.mainKey.keyPacket,s={userID:this.userID,userAttribute:this.userAttribute,key:i},a;for(let c=this.selfCertifications.length-1;c>=0;c--)try{let l=this.selfCertifications[c];if(l.revoked||await n.isRevoked(l,void 0,e,r))throw new Error("Self-certification is revoked");try{await l.verify(i,p.signature.certGeneric,s,e,void 0,r)}catch(u){throw Q.wrapError("Self-certification is invalid",u)}return!0}catch(l){a=l}throw a}async update(e,r,n){let i=this.mainKey.keyPacket,s={userID:this.userID,userAttribute:this.userAttribute,key:i};await Ju(e,this,"selfCertifications",r,async function(a){try{return await a.verify(i,p.signature.certGeneric,s,r,!1,n),!0}catch{return!1}}),await Ju(e,this,"otherCertifications",r),await Ju(e,this,"revocationSignatures",r,function(a){return th(i,p.signature.certRevocation,s,[a],void 0,void 0,r,n)})}async revoke(e,{flag:r=p.reasonForRevocation.noReason,string:n=""}={},i=new Date,s=Ce){let a={userID:this.userID,userAttribute:this.userAttribute,key:e},c=new t(a.userID||a.userAttribute,this.mainKey);return c.revocationSignatures.push(await Xu(a,[],e,{signatureType:p.signature.certRevocation,reasonForRevocationFlag:p.write(p.reasonForRevocation,r),reasonForRevocationString:n},i,void 0,void 0,!1,s)),await c.update(this),c}},am=class t{static{o(this,"Subkey")}constructor(e,r){this.keyPacket=e,this.bindingSignatures=[],this.revocationSignatures=[],this.mainKey=r}toPacketList(){let e=new cr;return e.push(this.keyPacket),e.push(...this.revocationSignatures),e.push(...this.bindingSignatures),e}clone(){let e=new t(this.keyPacket,this.mainKey);return e.bindingSignatures=[...this.bindingSignatures],e.revocationSignatures=[...this.revocationSignatures],e}async isRevoked(e,r,n=new Date,i=Ce){let s=this.mainKey.keyPacket;return th(s,p.signature.subkeyRevocation,{key:s,bind:this.keyPacket},this.revocationSignatures,e,r,n,i)}async verify(e=new Date,r=Ce){let n=this.mainKey.keyPacket,i={key:n,bind:this.keyPacket},s=await $s(this.bindingSignatures,n,p.signature.subkeyBinding,i,e,r);if(s.revoked||await this.isRevoked(s,null,e,r))throw new Error("Subkey is revoked");if(IO(this.keyPacket,s,e))throw new Error("Subkey is expired");return s}async getExpirationTime(e=new Date,r=Ce){let n=this.mainKey.keyPacket,i={key:n,bind:this.keyPacket},s;try{s=await $s(this.bindingSignatures,n,p.signature.subkeyBinding,i,e,r)}catch{return null}let a=yB(this.keyPacket,s),c=s.getExpirationTime();return as.bindingSignatures[l].created&&(s.bindingSignatures[l]=c),!1;try{return await c.verify(i,p.signature.subkeyBinding,a,r,void 0,n),!0}catch{return!1}}),await Ju(e,this,"revocationSignatures",r,function(c){return th(i,p.signature.subkeyRevocation,a,[c],void 0,void 0,r,n)})}async revoke(e,{flag:r=p.reasonForRevocation.noReason,string:n=""}={},i=new Date,s=Ce){let a={key:e,bind:this.keyPacket},c=new t(this.keyPacket,this.mainKey);return c.revocationSignatures.push(await Xu(a,[],e,{signatureType:p.signature.subkeyRevocation,reasonForRevocationFlag:p.write(p.reasonForRevocation,r),reasonForRevocationString:n},i,void 0,void 0,!1,s)),await c.update(this),c}hasSameFingerprintAs(e){return this.keyPacket.hasSameFingerprintAs(e.keyPacket||e)}};["getKeyID","getFingerprint","getAlgorithmInfo","getCreationTime","isDecrypted"].forEach(t=>{am.prototype[t]=function(){return this.keyPacket[t]()}});var JJe=Q.constructAllowedPackets([Gn]),Rre=new Set([p.packet.publicKey,p.packet.privateKey]),Pre=new Set([p.packet.publicKey,p.packet.privateKey,p.packet.publicSubkey,p.packet.privateSubkey]),EB=class{static{o(this,"Key")}packetListToStructure(e,r=new Set){let n,i,s,a;for(let c of e){if(c instanceof rm){Pre.has(c.tag)&&!a&&(Rre.has(c.tag)?a=Rre:a=Pre);continue}let l=c.constructor.tag;if(a){if(!a.has(l))continue;a=null}if(r.has(l))throw new Error(`Unexpected packet type: ${l}`);switch(l){case p.packet.publicKey:case p.packet.secretKey:if(this.keyPacket)throw new Error("Key block contains multiple keys");if(this.keyPacket=c,i=this.getKeyID(),!i)throw new Error("Missing Key ID");break;case p.packet.userID:case p.packet.userAttribute:n=new BO(c,this),this.users.push(n);break;case p.packet.publicSubkey:case p.packet.secretSubkey:n=null,s=new am(c,this),this.subkeys.push(s);break;case p.packet.signature:switch(c.signatureType){case p.signature.certGeneric:case p.signature.certPersona:case p.signature.certCasual:case p.signature.certPositive:if(!n){Q.printDebug("Dropping certification signatures without preceding user packet");continue}c.issuerKeyID.equals(i)?n.selfCertifications.push(c):n.otherCertifications.push(c);break;case p.signature.certRevocation:n?n.revocationSignatures.push(c):this.directSignatures.push(c);break;case p.signature.key:this.directSignatures.push(c);break;case p.signature.subkeyBinding:if(!s){Q.printDebug("Dropping subkey binding signature without preceding subkey packet");continue}s.bindingSignatures.push(c);break;case p.signature.keyRevocation:this.revocationSignatures.push(c);break;case p.signature.subkeyRevocation:if(!s){Q.printDebug("Dropping subkey revocation signature without preceding subkey packet");continue}s.revocationSignatures.push(c);break}break}}}toPacketList(){let e=new cr;return e.push(this.keyPacket),e.push(...this.revocationSignatures),e.push(...this.directSignatures),this.users.map(r=>e.push(...r.toPacketList())),this.subkeys.map(r=>e.push(...r.toPacketList())),e}clone(e=!1){let r=new this.constructor(this.toPacketList());return e&&r.getKeys().forEach(n=>{if(n.keyPacket=Object.create(Object.getPrototypeOf(n.keyPacket),Object.getOwnPropertyDescriptors(n.keyPacket)),!n.keyPacket.isDecrypted())return;let i={};Object.keys(n.keyPacket.privateParams).forEach(s=>{i[s]=new Uint8Array(n.keyPacket.privateParams[s])}),n.keyPacket.privateParams=i}),r}getSubkeys(e=null){return this.subkeys.filter(n=>!e||n.getKeyID().equals(e,!0))}getKeys(e=null){let r=[];return(!e||this.getKeyID().equals(e,!0))&&r.push(this),r.concat(this.getSubkeys(e))}getKeyIDs(){return this.getKeys().map(e=>e.getKeyID())}getUserIDs(){return this.users.map(e=>e.userID?e.userID.userID:null).filter(e=>e!==null)}write(){return this.toPacketList().write()}async getSigningKey(e=null,r=new Date,n={},i=Ce){await this.verifyPrimaryKey(r,n,i);let s=this.keyPacket;try{qu(s,i)}catch(l){throw Q.wrapError("Could not verify primary key",l)}let a=this.subkeys.slice().sort((l,u)=>u.keyPacket.created-l.keyPacket.created||u.keyPacket.algorithm-l.keyPacket.algorithm),c;for(let l of a)if(!e||l.getKeyID().equals(e))try{await l.verify(r,i);let u={key:s,bind:l.keyPacket},A=await $s(l.bindingSignatures,s,p.signature.subkeyBinding,u,r,i);if(!Sre(l.keyPacket,A,i))continue;if(!A.embeddedSignature)throw new Error("Missing embedded signature");return await $s([A.embeddedSignature],l.keyPacket,p.signature.keyBinding,u,r,i),qu(l.keyPacket,i),l}catch(u){c=u}try{let l=await this.getPrimarySelfSignature(r,n,i);if((!e||s.getKeyID().equals(e))&&Sre(s,l,i))return qu(s,i),this}catch(l){c=l}throw Q.wrapError("Could not find valid signing key packet in key "+this.getKeyID().toHex(),c)}async getEncryptionKey(e,r=new Date,n={},i=Ce){await this.verifyPrimaryKey(r,n,i);let s=this.keyPacket;try{qu(s,i)}catch(l){throw Q.wrapError("Could not verify primary key",l)}let a=this.subkeys.slice().sort((l,u)=>u.keyPacket.created-l.keyPacket.created||u.keyPacket.algorithm-l.keyPacket.algorithm),c;for(let l of a)if(!e||l.getKeyID().equals(e))try{await l.verify(r,i);let u={key:s,bind:l.keyPacket},A=await $s(l.bindingSignatures,s,p.signature.subkeyBinding,u,r,i);if(Nre(l.keyPacket,A,i))return qu(l.keyPacket,i),l}catch(u){c=u}try{let l=await this.getPrimarySelfSignature(r,n,i);if((!e||s.getKeyID().equals(e))&&Nre(s,l,i))return qu(s,i),this}catch(l){c=l}throw Q.wrapError("Could not find valid encryption key packet in key "+this.getKeyID().toHex(),c)}async isRevoked(e,r,n=new Date,i=Ce){return th(this.keyPacket,p.signature.keyRevocation,{key:this.keyPacket},this.revocationSignatures,e,r,n,i)}async verifyPrimaryKey(e=new Date,r={},n=Ce){let i=this.keyPacket;if(await this.isRevoked(null,null,e,n))throw new Error("Primary key is revoked");let s=await this.getPrimarySelfSignature(e,r,n);if(IO(i,s,e))throw new Error("Primary key is expired");if(i.version!==6){let a=await $s(this.directSignatures,i,p.signature.key,{key:i},e,n).catch(()=>{});if(a&&IO(i,a,e))throw new Error("Primary key is expired")}}async getExpirationTime(e,r=Ce){let n;try{let i=await this.getPrimarySelfSignature(null,e,r),s=yB(this.keyPacket,i),a=i.getExpirationTime(),c=this.keyPacket.version!==6&&await $s(this.directSignatures,this.keyPacket,p.signature.key,{key:this.keyPacket},null,r).catch(()=>{});if(c){let l=yB(this.keyPacket,c);n=Math.min(s,a,l)}else n=s{A.selfCertification.revoked||await A.user.isRevoked(A.selfCertification,null,e,n)}));let c=s.sort(function(A,d){let f=A.selfCertification,h=d.selfCertification;return h.revoked-f.revoked||f.isPrimaryUserID-h.isPrimaryUserID||f.created-h.created}).pop(),{user:l,selfCertification:u}=c;if(u.revoked||await l.isRevoked(u,null,e,n))throw new Error("Primary user is revoked");return c}async update(e,r=new Date,n=Ce){if(!this.hasSameFingerprintAs(e))throw new Error("Primary key fingerprints must be equal to update the key");if(!this.isPrivate()&&e.isPrivate()){if(!(this.subkeys.length===e.subkeys.length&&this.subkeys.every(a=>e.subkeys.some(c=>a.hasSameFingerprintAs(c)))))throw new Error("Cannot update public key with private key if subkeys mismatch");return e.update(this,n)}let i=this.clone();return await Ju(e,i,"revocationSignatures",r,s=>th(i.keyPacket,p.signature.keyRevocation,i,[s],null,e.keyPacket,r,n)),await Ju(e,i,"directSignatures",r),await Promise.all(e.users.map(async s=>{let a=i.users.filter(c=>s.userID&&s.userID.equals(c.userID)||s.userAttribute&&s.userAttribute.equals(c.userAttribute));if(a.length>0)await Promise.all(a.map(c=>c.update(s,r,n)));else{let c=s.clone();c.mainKey=i,i.users.push(c)}})),await Promise.all(e.subkeys.map(async s=>{let a=i.subkeys.filter(c=>c.hasSameFingerprintAs(s));if(a.length>0)await Promise.all(a.map(c=>c.update(s,r,n)));else{let c=s.clone();c.mainKey=i,i.subkeys.push(c)}})),i}async getRevocationCertificate(e=new Date,r=Ce){let n={key:this.keyPacket},i=await $s(this.revocationSignatures,this.keyPacket,p.signature.keyRevocation,n,e,r),s=new cr;s.push(i);let a=this.keyPacket.version!==6;return oh(p.armor.publicKey,s.write(),null,null,"This is a revocation certificate",a,r)}async applyRevocationCertificate(e,r=new Date,n=Ce){let i=await RB(e),a=(await cr.fromBinary(i.data,JJe,n)).findPacket(p.packet.signature);if(!a||a.signatureType!==p.signature.keyRevocation)throw new Error("Could not find revocation signature packet");if(!a.issuerKeyID.equals(this.getKeyID()))throw new Error("Revocation signature does not match key");try{await a.verify(this.keyPacket,p.signature.keyRevocation,{key:this.keyPacket},r,void 0,n)}catch(l){throw Q.wrapError("Could not verify revocation signature",l)}let c=this.clone();return c.revocationSignatures.push(a),c}async signPrimaryUser(e,r,n,i=Ce){let{index:s,user:a}=await this.getPrimaryUser(r,n,i),c=await a.certify(e,r,i),l=this.clone();return l.users[s]=c,l}async signAllUsers(e,r=new Date,n=Ce){let i=this.clone();return i.users=await Promise.all(this.users.map(function(s){return s.certify(e,r,n)})),i}async verifyPrimaryUser(e,r=new Date,n,i=Ce){let s=this.keyPacket,{user:a}=await this.getPrimaryUser(r,n,i);return e?await a.verifyAllCertifications(e,r,i):[{keyID:s.getKeyID(),valid:await a.verify(r,i).catch(()=>!1)}]}async verifyAllUsers(e,r=new Date,n=Ce){let i=this.keyPacket,s=[];return await Promise.all(this.users.map(async a=>{let c=e?await a.verifyAllCertifications(e,r,n):[{keyID:i.getKeyID(),valid:await a.verify(r,n).catch(()=>!1)}];s.push(...c.map(l=>({userID:a.userID?a.userID.userID:null,userAttribute:a.userAttribute,keyID:l.keyID,valid:l.valid})))})),s}};["getKeyID","getFingerprint","getAlgorithmInfo","getCreationTime","hasSameFingerprintAs"].forEach(t=>{EB.prototype[t]=am.prototype[t]});var cm=class extends EB{static{o(this,"PublicKey")}constructor(e){if(super(),this.keyPacket=null,this.revocationSignatures=[],this.directSignatures=[],this.users=[],this.subkeys=[],e&&(this.packetListToStructure(e,new Set([p.packet.secretKey,p.packet.secretSubkey])),!this.keyPacket))throw new Error("Invalid key: missing public-key packet")}isPrivate(){return!1}toPublic(){return this}armor(e=Ce){let r=this.keyPacket.version!==6;return oh(p.armor.publicKey,this.toPacketList().write(),void 0,void 0,void 0,r,e)}},wO=class t extends cm{static{o(this,"PrivateKey")}constructor(e){if(super(),this.packetListToStructure(e,new Set([p.packet.publicKey,p.packet.publicSubkey])),!this.keyPacket)throw new Error("Invalid key: missing private-key packet")}isPrivate(){return!0}toPublic(){let e=new cr,r=this.toPacketList();for(let n of r)switch(n.constructor.tag){case p.packet.secretKey:{let i=ta.fromSecretKeyPacket(n);e.push(i);break}case p.packet.secretSubkey:{let i=pB.fromSecretSubkeyPacket(n);e.push(i);break}default:e.push(n)}return new cm(e)}armor(e=Ce){let r=this.keyPacket.version!==6;return oh(p.armor.privateKey,this.toPacketList().write(),void 0,void 0,void 0,r,e)}async getDecryptionKeys(e,r=new Date,n={},i=Ce){let s=this.keyPacket,a=[],c=null;for(let u=0;ue.isDecrypted())}async validate(e=Ce){if(!this.isPrivate())throw new Error("Cannot validate a public key");let r;if(!this.keyPacket.isDummy())r=this.keyPacket;else{let n=await this.getSigningKey(null,null,void 0,{...e,rejectPublicKeyAlgorithms:new Set,minRSABits:0});n&&!n.keyPacket.isDummy()&&(r=n.keyPacket)}if(r)return r.validate();{let n=this.getKeys();if(n.map(s=>s.keyPacket.isDummy()).every(Boolean))throw new Error("Cannot validate an all-gnu-dummy key");return Promise.all(n.map(s=>s.keyPacket.validate()))}}clearPrivateParams(){this.getKeys().forEach(({keyPacket:e})=>{e.isDecrypted()&&e.clearPrivateParams()})}async revoke({flag:e=p.reasonForRevocation.noReason,string:r=""}={},n=new Date,i=Ce){if(!this.isPrivate())throw new Error("Need private key for revoking");let s={key:this.keyPacket},a=this.clone();return a.revocationSignatures.push(await Xu(s,[],this.keyPacket,{signatureType:p.signature.keyRevocation,reasonForRevocationFlag:p.write(p.reasonForRevocation,e),reasonForRevocationString:r},n,void 0,void 0,void 0,i)),a}async addSubkey(e={}){let r={...Ce,...e.config};if(e.passphrase)throw new Error("Subkey could not be encrypted here, please encrypt whole key");if(e.rsaBits0)throw new Error(`Unknown option: ${i.join(", ")}`);let s;if(t){let{type:u,data:A}=await RB(t);if(!(u===p.armor.publicKey||u===p.armor.privateKey))throw new Error("Armored text not of type key");s=A}else s=e;let a=await cr.fromBinary(s,WJe,r),c=a.indexOfTag(p.packet.publicKey,p.packet.secretKey);if(c.length===0)throw new Error("No key packet found");let l=a.slice(c[0],c[1]);return $Je(l)}o(zB,"readKey");var XJe=Q.constructAllowedPackets([hB]),ZJe=Q.constructAllowedPackets([Gn]),QO=class t{static{o(this,"Message")}constructor(e){this.packets=e||new cr}getEncryptionKeyIDs(){let e=[];return this.packets.filterByTag(p.packet.publicKeyEncryptedSessionKey).forEach(function(n){e.push(n.publicKeyID)}),e}getSigningKeyIDs(){let e=this.unwrapCompressed(),r=e.packets.filterByTag(p.packet.onePassSignature);return r.length>0?r.map(i=>i.issuerKeyID):e.packets.filterByTag(p.packet.signature).map(i=>i.issuerKeyID)}async decrypt(e,r,n,i=new Date,s=Ce){let a=this.packets.filterByTag(p.packet.symmetricallyEncryptedData,p.packet.symEncryptedIntegrityProtectedData,p.packet.aeadEncryptedData);if(a.length===0)throw new Error("No encrypted data found");let c=a[0],l=c.cipherAlgorithm,u=n||await this.decryptSessionKeys(e,r,l,i,s),A=null,d=Promise.all(u.map(async({algorithm:h,data:g})=>{if(!Q.isUint8Array(g)||!c.cipherAlgorithm&&!Q.isString(h))throw new Error("Invalid session key for decryption.");try{let m=c.cipherAlgorithm||p.write(p.symmetric,h);await c.decrypt(m,g,s)}catch(m){Q.printDebugError(m),A=m}}));if(iO(c.encrypted),c.encrypted=null,await d,!c.packets||!c.packets.length)throw A||new Error("Decryption failed.");let f=new t(c.packets);return c.packets=new cr,f}async decryptSessionKeys(e,r,n,i=new Date,s=Ce){let a=[],c;if(r){let l=this.packets.filterByTag(p.packet.symEncryptedSessionKey);if(l.length===0)throw new Error("No symmetrically encrypted session key packet found.");await Promise.all(r.map(async function(u,A){let d;A?d=await cr.fromBinary(l.write(),XJe,s):d=l,await Promise.all(d.map(async function(f){try{await f.decrypt(u),a.push(f)}catch(h){Q.printDebugError(h),h instanceof aB&&(c=h)}}))}))}else if(e){let l=this.packets.filterByTag(p.packet.publicKeyEncryptedSessionKey);if(l.length===0)throw new Error("No public key encrypted session key packet found.");await Promise.all(l.map(async function(u){await Promise.all(e.map(async function(A){let d;try{d=(await A.getDecryptionKeys(u.publicKeyID,null,void 0,s)).map(h=>h.keyPacket)}catch(h){c=h;return}let f=[p.symmetric.aes256,p.symmetric.aes128,p.symmetric.tripledes,p.symmetric.cast5];try{let h=await A.getPrimarySelfSignature(i,void 0,s);h.preferredSymmetricAlgorithms&&(f=f.concat(h.preferredSymmetricAlgorithms))}catch{}await Promise.all(d.map(async function(h){if(!h.isDecrypted())throw new Error("Decryption key is not decrypted.");if(s.constantTimePKCS1Decryption&&(u.publicKeyAlgorithm===p.publicKey.rsaEncrypt||u.publicKeyAlgorithm===p.publicKey.rsaEncryptSign||u.publicKeyAlgorithm===p.publicKey.rsaSign||u.publicKeyAlgorithm===p.publicKey.elgamal)){let m=u.write();await Promise.all((n?[n]:Array.from(s.constantTimePKCS1DecryptionSupportedSymmetricAlgorithms)).map(async b=>{let y=new fB;y.read(m);let I={sessionKeyAlgorithm:b,sessionKey:dO(b)};try{await y.decrypt(h,I),a.push(y)}catch(w){Q.printDebugError(w),c=w}}))}else try{await u.decrypt(h);let m=n||u.sessionKeyAlgorithm;if(m&&!f.includes(p.write(p.symmetric,m)))throw new Error("A non-preferred symmetric algorithm was used.");a.push(u)}catch(m){Q.printDebugError(m),c=m}}))})),iO(u.encrypted),u.encrypted=null}))}else throw new Error("No key or password specified.");if(a.length>0){if(a.length>1){let l=new Set;a=a.filter(u=>{let A=u.sessionKeyAlgorithm+Q.uint8ArrayToString(u.sessionKey);return l.has(A)?!1:(l.add(A),!0)})}return a.map(l=>({data:l.sessionKey,algorithm:l.sessionKeyAlgorithm&&p.read(p.symmetric,l.sessionKeyAlgorithm)}))}throw c||new Error("Session key decryption failed.")}getLiteralData(){let r=this.unwrapCompressed().packets.findPacket(p.packet.literalData);return r&&r.getBytes()||null}getFilename(){let r=this.unwrapCompressed().packets.findPacket(p.packet.literalData);return r&&r.getFilename()||null}getText(){let r=this.unwrapCompressed().packets.findPacket(p.packet.literalData);return r?r.getText():null}static async generateSessionKey(e=[],r=new Date,n=[],i=Ce){let{symmetricAlgo:s,aeadAlgo:a}=await YJe(e,r,n,i),c=p.read(p.symmetric,s),l=a?p.read(p.aead,a):void 0;return await Promise.all(e.map(A=>A.getEncryptionKey().catch(()=>null).then(d=>{if(d&&(d.keyPacket.algorithm===p.publicKey.x25519||d.keyPacket.algorithm===p.publicKey.x448)&&!l&&!Q.isAES(s))throw new Error("Could not generate a session key compatible with the given `encryptionKeys`: X22519 and X448 keys can only be used to encrypt AES session keys; change `config.preferredSymmetricAlgorithm` accordingly.")}))),{data:dO(s),algorithm:c,aeadAlgorithm:l}}async encrypt(e,r,n,i=!1,s=[],a=new Date,c=[],l=Ce){if(n){if(!Q.isUint8Array(n.data)||!Q.isString(n.algorithm))throw new Error("Invalid session key for encryption.")}else if(e&&e.length)n=await t.generateSessionKey(e,a,c,l);else if(r&&r.length)n=await t.generateSessionKey(void 0,void 0,void 0,l);else throw new Error("No keys, passwords, or session key provided.");let{data:u,algorithm:A,aeadAlgorithm:d}=n,f=await t.encryptSessionKey(u,A,d,e,r,i,s,a,c,l),h=om.fromObject({version:d?2:1,aeadAlgorithm:d?p.write(p.aead,d):null});h.packets=this.packets;let g=p.write(p.symmetric,A);return await h.encrypt(g,u,l),f.packets.push(h),h.packets=new cr,f}static async encryptSessionKey(e,r,n,i,s,a=!1,c=[],l=new Date,u=[],A=Ce){let d=new cr,f=p.write(p.symmetric,r),h=n&&p.write(p.aead,n);if(i){let g=await Promise.all(i.map(async function(m,b){let y=await m.getEncryptionKey(c[b],l,u,A),I=fB.fromObject({version:h?6:3,encryptionKeyPacket:y.keyPacket,anonymousRecipient:a,sessionKey:e,sessionKeyAlgorithm:f});return await I.encrypt(y.keyPacket),delete I.sessionKey,I}));d.push(...g)}if(s){let g=o(async function(I,w){try{return await I.decrypt(w),1}catch{return 0}},"testDecrypt"),m=o((I,w)=>I+w,"sum"),b=o(async function(I,w,v,U){let H=new hB(A);return H.sessionKey=I,H.sessionKeyAlgorithm=w,v&&(H.aeadAlgorithm=v),await H.encrypt(U,A),A.passwordCollisionCheck&&(await Promise.all(s.map(q=>g(H,q)))).reduce(m)!==1?b(I,w,U):(delete H.sessionKey,H)},"encryptPassword"),y=await Promise.all(s.map(I=>b(e,f,h,I)));d.push(...y)}return new t(d)}async sign(e=[],r=[],n=null,i=[],s=new Date,a=[],c=[],l=[],u=Ce){let A=new cr,d=this.packets.findPacket(p.packet.literalData);if(!d)throw new Error("No literal data packet to sign.");let f=await SO(d,e,r,n,i,s,a,c,l,!1,u),h=f.map((g,m)=>Va.fromSignaturePacket(g,m===0)).reverse();return A.push(...h),A.push(d),A.push(...f),new t(A)}compress(e,r=Ce){if(e===p.compression.uncompressed)return this;let n=new uB(r);n.algorithm=e,n.packets=this.packets;let i=new cr;return i.push(n),new t(i)}async signDetached(e=[],r=[],n=null,i=[],s=[],a=new Date,c=[],l=[],u=Ce){let A=this.packets.findPacket(p.packet.literalData);if(!A)throw new Error("No literal data packet to sign.");return new bl(await SO(A,e,r,n,i,s,a,c,l,!0,u))}async verify(e,r=new Date,n=Ce){let i=this.unwrapCompressed(),s=i.packets.filterByTag(p.packet.literalData);if(s.length!==1)throw new Error("Can only verify message with one literal data packet.");let a=i.packets;sr(a.stream)&&(a=a.concat(await kr(a.stream,u=>u||[])));let c=a.filterByTag(p.packet.onePassSignature).reverse(),l=a.filterByTag(p.packet.signature);return c.length&&!l.length&&Q.isStream(a.stream)&&!sr(a.stream)?(await Promise.all(c.map(async u=>{u.correspondingSig=new Promise((A,d)=>{u.correspondingSigResolve=A,u.correspondingSigReject=d}),u.signatureData=rA(async()=>(await u.correspondingSig).signatureData),u.hashed=kr(await u.hash(u.signatureType,s[0],void 0,!1)),u.hashed.catch(()=>{})})),a.stream=Bl(a.stream,async(u,A)=>{let d=to(u),f=Ji(A);try{for(let h=0;h{g.correspondingSigReject(h)}),await f.abort(h)}}),GI(c,s,e,r,!1,n)):GI(l,s,e,r,!1,n)}async verifyDetached(e,r,n=new Date,i=Ce){let a=this.unwrapCompressed().packets.filterByTag(p.packet.literalData);if(a.length!==1)throw new Error("Can only verify message with one literal data packet.");let c=e.packets.filterByTag(p.packet.signature);return GI(c,a,r,n,!0,i)}unwrapCompressed(){let e=this.packets.filterByTag(p.packet.compressedData);return e.length?new t(e[0].packets):this}async appendSignature(e,r=Ce){await this.packets.read(Q.isUint8Array(e)?e:(await RB(e)).data,ZJe,r)}write(){return this.packets.write()}armor(e=Ce){let r=this.packets[this.packets.length-1],n=r.constructor.tag===om.tag?r.version!==2:this.packets.some(i=>i.constructor.tag===Gn.tag&&i.version!==6);return oh(p.armor.message,this.write(),null,null,null,n,e)}};async function SO(t,e,r=[],n=null,i=[],s=new Date,a=[],c=[],l=[],u=!1,A=Ce){let d=new cr,f=t.text===null?p.signature.binary:p.signature.text;if(await Promise.all(e.map(async(h,g)=>{let m=a[g];if(!h.isPrivate())throw new Error("Need private key for signing");let b=await h.getSigningKey(i[g],s,m,A);return Xu(t,r.length?r:[h],b.keyPacket,{signatureType:f},s,c,l,u,A)})).then(h=>{d.push(...h)}),n){let h=n.packets.filterByTag(p.packet.signature);d.push(...h)}return d}o(SO,"createSignaturePackets");function eVe(t,e,r,n=new Date,i=!1,s=Ce){let a,c;for(let d of r){let f=d.getKeys(t.issuerKeyID);if(f.length>0){a=d,c=f[0];break}}let u=t instanceof Va?t.correspondingSig:t,A={keyID:t.issuerKeyID,verified:(async()=>{if(!c)throw new Error(`Could not find signing key with key ID ${t.issuerKeyID.toHex()}`);await t.verify(c.keyPacket,t.signatureType,e[0],n,i,s);let d=await u;if(c.getCreationTime()>d.created)throw new Error("Key is newer than the signature");try{await a.getSigningKey(c.getKeyID(),d.created,void 0,s)}catch(f){if(s.allowInsecureVerificationWithReformattedKeys&&f.message.match(/Signature creation time is in the future/))await a.getSigningKey(c.getKeyID(),n,void 0,s);else throw f}return!0})(),signature:(async()=>{let d=await u,f=new cr;return d&&f.push(d),new bl(f)})()};return A.signature.catch(()=>{}),A.verified.catch(()=>{}),A}o(eVe,"createVerificationObject");function GI(t,e,r,n=new Date,i=!1,s=Ce){return t.filter(a=>["text","binary"].includes(p.read(p.signature,a.signatureType))).map(a=>eVe(a,e,r,n,i,s))}o(GI,"createVerificationObjects");var tVe=Q.constructAllowedPackets([Gn]),rh=class t{static{o(this,"CleartextMessage")}constructor(e,r){if(this.text=Q.removeTrailingSpaces(e).replace(/\r?\n/g,`\r +`),r&&!(r instanceof bl))throw new Error("Invalid signature input");this.signature=r||new bl(new cr)}getSigningKeyIDs(){let e=[];return this.signature.packets.forEach(function(n){e.push(n.issuerKeyID)}),e}async sign(e,r=[],n=null,i=[],s=new Date,a=[],c=[],l=[],u=Ce){let A=new eh;A.setText(this.text);let d=new bl(await SO(A,e,r,n,i,s,a,c,l,!0,u));return new t(this.text,d)}verify(e,r=new Date,n=Ce){let i=this.signature.packets.filterByTag(p.packet.signature),s=new eh;return s.setText(this.text),GI(i,[s],e,r,!0,n)}getText(){return this.text.replace(/\r\n/g,` +`)}armor(e=Ce){let r=this.signature.packets.some(s=>s.version!==6),i={hash:r?Array.from(new Set(this.signature.packets.map(s=>p.read(p.hash,s.hashAlgorithm).toUpperCase()))).join():null,text:this.text,data:this.signature.packets.write()};return oh(p.armor.signed,i,void 0,void 0,void 0,r,e)}};async function die({cleartextMessage:t,config:e,...r}){if(e={...Ce,...e},!t)throw new Error("readCleartextMessage: must pass options object containing `cleartextMessage`");if(!Q.isString(t))throw new Error("readCleartextMessage: options.cleartextMessage must be a string");let n=Object.keys(r);if(n.length>0)throw new Error(`Unknown option: ${n.join(", ")}`);let i=await RB(t);if(i.type!==p.armor.signed)throw new Error("No cleartext signed message.");let s=await cr.fromBinary(i.data,tVe,e);rVe(i.headers,s);let a=new bl(s);return new rh(i.text,a)}o(die,"readCleartextMessage");function rVe(t,e){let r=o(function(i){let s=o(a=>c=>a.hashAlgorithm===c,"check");for(let a=0;a{let s=i.match(/^Hash: (.+)$/);if(s){let a=s[1].replace(/\s/g,"").split(",").map(c=>{try{return p.write(p.hash,c.toLowerCase())}catch{throw new Error("Unknown hash algorithm in armor header: "+c.toLowerCase())}});n.push(...a)}else throw new Error('Only "Hash" header allowed in cleartext signed message')}),n.length&&!r(n))throw new Error("Hash algorithm mismatch in armor header and signature")}o(rVe,"verifyHeaders");async function fie({message:t,verificationKeys:e,expectSigned:r=!1,format:n="utf8",signature:i=null,date:s=new Date,config:a,...c}){if(a={...Ce,...a},sVe(a),nVe(t),e=oVe(e),c.publicKeys)throw new Error("The `publicKeys` option has been removed from openpgp.verify, pass `verificationKeys` instead");let l=Object.keys(c);if(l.length>0)throw new Error(`Unknown option: ${l.join(", ")}`);if(t instanceof rh&&n==="binary")throw new Error("Can't return cleartext message data as binary");if(t instanceof rh&&i)throw new Error("Can't verify detached cleartext signature");try{let u={};if(i?u.signatures=await t.verifyDetached(i,e,s,a):u.signatures=await t.verify(e,s,a),u.data=n==="binary"?t.getLiteralData():t.getText(),t.fromStream&&!i&&cVe(u,...new Set([t,t.unwrapCompressed()])),r){if(u.signatures.length===0)throw new Error("Message is not signed");u.data=qn([u.data,rA(async()=>(await Q.anyPromise(u.signatures.map(A=>A.verified)),n==="binary"?new Uint8Array:""))])}return u.data=await aVe(u.data),u}catch(u){throw Q.wrapError("Error verifying signed message",u)}}o(fie,"verify");function nVe(t){if(!(t instanceof rh)&&!(t instanceof QO))throw new Error("Parameter [message] needs to be of type Message or CleartextMessage")}o(nVe,"checkCleartextOrMessage");var iVe=Object.keys(Ce).length;function sVe(t){let e=Object.keys(t);if(e.length!==iVe){for(let r of e)if(Ce[r]===void 0)throw new Error(`Unknown config property: ${r}`)}}o(sVe,"checkConfig");function oVe(t){return t&&!Q.isArray(t)&&(t=[t]),t}o(oVe,"toArray");async function aVe(t){return Q.isStream(t)==="array"?kr(t):t}o(aVe,"convertStream");function cVe(t,e,...r){t.data=Bl(e.packets.stream,async(n,i)=>{await sh(t.data,i,{preventClose:!0});let s=Ji(i);try{await kr(n,a=>a),await Promise.all(r.map(a=>kr(a.packets.stream,c=>c))),await s.close()}catch(a){await s.abort(a)}})}o(cVe,"linkStreams");var kf=Yi&&typeof Yi=="object"&&"webcrypto"in Yi?Yi.webcrypto:Yi&&typeof Yi=="object"&&"randomBytes"in Yi?Yi:void 0;function Im(t){return t instanceof Uint8Array||ArrayBuffer.isView(t)&&t.constructor.name==="Uint8Array"}o(Im,"isBytes");function lm(t){if(!Number.isSafeInteger(t)||t<0)throw new Error("positive integer expected, got "+t)}o(lm,"anumber");function ra(t,...e){if(!Im(t))throw new Error("Uint8Array expected");if(e.length>0&&!e.includes(t.length))throw new Error("Uint8Array expected of length "+e+", got length="+t.length)}o(ra,"abytes");function hie(t){if(typeof t!="function"||typeof t.create!="function")throw new Error("Hash should be wrapped by utils.createHasher");lm(t.outputLen),lm(t.blockLen)}o(hie,"ahash");function nh(t,e=!0){if(t.destroyed)throw new Error("Hash instance has been destroyed");if(e&&t.finished)throw new Error("Hash#digest() has already been called")}o(nh,"aexists");function pie(t,e){ra(t);let r=e.outputLen;if(t.length>>e}o(qo,"rotr");function yl(t,e){return t<>>32-e>>>0}o(yl,"rotl");var uVe=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68;function AVe(t){return t<<24&4278190080|t<<8&16711680|t>>>8&65280|t>>>24&255}o(AVe,"byteSwap");function dVe(t){for(let e=0;et:dVe,gie=typeof Uint8Array.from([]).toHex=="function"&&typeof Uint8Array.fromHex=="function",fVe=Array.from({length:256},(t,e)=>e.toString(16).padStart(2,"0"));function Vu(t){if(ra(t),gie)return t.toHex();let e="";for(let r=0;r=Ma._0&&t<=Ma._9)return t-Ma._0;if(t>=Ma.A&&t<=Ma.F)return t-(Ma.A-10);if(t>=Ma.a&&t<=Ma.f)return t-(Ma.a-10)}o(Dre,"asciiToBase16");function bB(t){if(typeof t!="string")throw new Error("hex string expected, got "+typeof t);if(gie)return Uint8Array.fromHex(t);let e=t.length,r=e/2;if(e%2)throw new Error("hex string expected, got unpadded hex of length "+e);let n=new Uint8Array(r);for(let i=0,s=0;it().update(Bm(n)).digest(),"hashC"),r=t();return e.outputLen=r.outputLen,e.blockLen=r.blockLen,e.create=()=>t(),e}o(Za,"createHasher");function pVe(t){let e=o((n,i)=>t(i).update(Bm(n)).digest(),"hashC"),r=t({});return e.outputLen=r.outputLen,e.blockLen=r.blockLen,e.create=n=>t(n),e}o(pVe,"createXOFer");var gVe=Za;function GB(t=32){if(kf&&typeof kf.getRandomValues=="function")return kf.getRandomValues(new Uint8Array(t));if(kf&&typeof kf.randomBytes=="function")return Uint8Array.from(kf.randomBytes(t));throw new Error("crypto.getRandomValues must be defined")}o(GB,"randomBytes");var hM=BigInt(0),NO=BigInt(1);function Zu(t,e=""){if(typeof t!="boolean"){let r=e&&`"${e}"`;throw new Error(r+"expected boolean, got type="+typeof t)}return t}o(Zu,"_abool2");function eo(t,e,r=""){let n=Im(t),i=t?.length,s=e!==void 0;if(!n||s&&i!==e){let a=r&&`"${r}" `,c=s?` of length ${e}`:"",l=n?`length=${i}`:`type=${typeof t}`;throw new Error(a+"expected Uint8Array"+c+", got "+l)}return t}o(eo,"_abytes2");function NI(t){let e=t.toString(16);return e.length&1?"0"+e:e}o(NI,"numberToHexUnpadded");function mie(t){if(typeof t!="string")throw new Error("hex string expected, got "+typeof t);return t===""?hM:BigInt("0x"+t)}o(mie,"hexToNumber");function jB(t){return mie(Vu(t))}o(jB,"bytesToNumberBE");function eA(t){return ra(t),mie(Vu(Uint8Array.from(t).reverse()))}o(eA,"bytesToNumberLE");function pM(t,e){return bB(t.toString(16).padStart(e*2,"0"))}o(pM,"numberToBytesBE");function gM(t,e){return pM(t,e).reverse()}o(gM,"numberToBytesLE");function nr(t,e,r){let n;if(typeof e=="string")try{n=bB(e)}catch(s){throw new Error(t+" must be hex string or Uint8Array, cause: "+s)}else if(Im(e))n=Uint8Array.from(e);else throw new Error(t+" must be hex string or Uint8Array");let i=n.length;if(typeof r=="number"&&i!==r)throw new Error(t+" of length "+r+" expected, got "+i);return n}o(nr,"ensureBytes");function kre(t){return Uint8Array.from(t)}o(kre,"copyBytes");function mVe(t){return Uint8Array.from(t,(e,r)=>{let n=e.charCodeAt(0);if(e.length!==1||n>127)throw new Error(`string contains non-ASCII character "${t[r]}" with code ${n} at position ${r}`);return n})}o(mVe,"asciiToBytes");var HT=o(t=>typeof t=="bigint"&&hM<=t,"isPosBig");function yVe(t,e,r){return HT(t)&&HT(e)&&HT(r)&&e<=t&&thM;t>>=NO,e+=1);return e}o(yie,"bitLen");var wm=o(t=>(NO<new Uint8Array(h),"u8n"),i=o(h=>Uint8Array.of(h),"u8of"),s=n(t),a=n(t),c=0,l=o(()=>{s.fill(1),a.fill(0),c=0},"reset"),u=o((...h)=>r(a,s,...h),"h"),A=o((h=n(0))=>{a=u(i(0),h),s=u(),h.length!==0&&(a=u(i(1),h),s=u())},"reseed"),d=o(()=>{if(c++>=1e3)throw new Error("drbg: tried 1000 values");let h=0,g=[];for(;h{l(),A(h);let m;for(;!(m=g(d()));)A();return l(),m},"genUntil")}o(EVe,"createHmacDrbg");function ch(t,e,r={}){if(!t||typeof t!="object")throw new Error("expected valid options object");function n(i,s,a){let c=t[i];if(a&&c===void 0)return;let l=typeof c;if(l!==s||c===null)throw new Error(`param "${i}" is invalid: expected ${s}, got ${l}`)}o(n,"checkField"),Object.entries(e).forEach(([i,s])=>n(i,s,!1)),Object.entries(r).forEach(([i,s])=>n(i,s,!0))}o(ch,"_validateObject");function CB(t){let e=new WeakMap;return(r,...n)=>{let i=e.get(r);if(i!==void 0)return i;let s=t(r,...n);return e.set(r,s),s}}o(CB,"memoized");var hi=BigInt(0),zn=BigInt(1),Gu=BigInt(2),Eie=BigInt(3),bie=BigInt(4),Cie=BigInt(5),bVe=BigInt(7),xie=BigInt(8),CVe=BigInt(9),Iie=BigInt(16);function zr(t,e){let r=t%e;return r>=hi?r:e+r}o(zr,"mod");function rr(t,e,r){let n=t;for(;e-- >hi;)n*=n,n%=r;return n}o(rr,"pow2");function Tre(t,e){if(t===hi)throw new Error("invert: expected non-zero number");if(e<=hi)throw new Error("invert: expected positive modulus, got "+e);let r=zr(t,e),n=e,i=hi,s=zn;for(;r!==hi;){let c=n/r,l=n%r,u=i-s*c;n=r,r=l,i=s,s=u}if(n!==zn)throw new Error("invert: does not exist");return zr(i,e)}o(Tre,"invert");function mM(t,e,r){if(!t.eql(t.sqr(e),r))throw new Error("Cannot find square root")}o(mM,"assertIsSquare");function Bie(t,e){let r=(t.ORDER+zn)/bie,n=t.pow(e,r);return mM(t,n,e),n}o(Bie,"sqrt3mod4");function xVe(t,e){let r=(t.ORDER-Cie)/xie,n=t.mul(e,Gu),i=t.pow(n,r),s=t.mul(e,i),a=t.mul(t.mul(s,Gu),i),c=t.mul(s,t.sub(a,t.ONE));return mM(t,c,e),c}o(xVe,"sqrt5mod8");function IVe(t){let e=Ci(t),r=wie(t),n=r(e,e.neg(e.ONE)),i=r(e,n),s=r(e,e.neg(n)),a=(t+bVe)/Iie;return(c,l)=>{let u=c.pow(l,a),A=c.mul(u,n),d=c.mul(u,i),f=c.mul(u,s),h=c.eql(c.sqr(A),l),g=c.eql(c.sqr(d),l);u=c.cmov(u,A,h),A=c.cmov(f,d,g);let m=c.eql(c.sqr(A),l),b=c.cmov(u,A,m);return mM(c,b,l),b}}o(IVe,"sqrt9mod16");function wie(t){if(t1e3)throw new Error("Cannot find square root: probably non-prime P");if(r===1)return Bie;let s=i.pow(n,e),a=(e+zn)/Gu;return o(function(l,u){if(l.is0(u))return u;if(Ore(l,u)!==1)throw new Error("Cannot find square root");let A=r,d=l.mul(l.ONE,s),f=l.pow(u,e),h=l.pow(u,a);for(;!l.eql(f,l.ONE);){if(l.is0(f))return l.ZERO;let g=1,m=l.sqr(f);for(;!l.eql(m,l.ONE);)if(g++,m=l.sqr(m),g===A)throw new Error("Cannot find square root");let b=zn<(n[i]="function",n),e);return ch(t,r),t}o(QVe,"validateField");function SVe(t,e,r){if(rhi;)r&zn&&(n=t.mul(n,i)),i=t.sqr(i),r>>=zn;return n}o(SVe,"FpPow");function Qie(t,e,r=!1){let n=new Array(e.length).fill(r?t.ZERO:void 0),i=e.reduce((a,c,l)=>t.is0(c)?a:(n[l]=a,t.mul(a,c)),t.ONE),s=t.inv(i);return e.reduceRight((a,c,l)=>t.is0(c)?a:(n[l]=t.mul(a,n[l]),t.mul(a,c)),s),n}o(Qie,"FpInvertBatch");function Ore(t,e){let r=(t.ORDER-zn)/Gu,n=t.pow(e,r),i=t.eql(n,t.ONE),s=t.eql(n,t.ZERO),a=t.eql(n,t.neg(t.ONE));if(!i&&!s&&!a)throw new Error("invalid Legendre symbol result");return i?1:s?0:-1}o(Ore,"FpLegendre");function Sie(t,e){e!==void 0&&lm(e);let r=e!==void 0?e:t.toString(2).length,n=Math.ceil(r/8);return{nBitLength:r,nByteLength:n}}o(Sie,"nLength");function Ci(t,e,r=!1,n={}){if(t<=hi)throw new Error("invalid field: expected ORDER > 0, got "+t);let i,s,a=!1,c;if(typeof e=="object"&&e!=null){if(n.sqrt||r)throw new Error("cannot specify opts in two arguments");let f=e;f.BITS&&(i=f.BITS),f.sqrt&&(s=f.sqrt),typeof f.isLE=="boolean"&&(r=f.isLE),typeof f.modFromBytes=="boolean"&&(a=f.modFromBytes),c=f.allowedLengths}else typeof e=="number"&&(i=e),n.sqrt&&(s=n.sqrt);let{nBitLength:l,nByteLength:u}=Sie(t,i);if(u>2048)throw new Error("invalid field: expected ORDER of <= 2048 bytes");let A,d=Object.freeze({ORDER:t,isLE:r,BITS:l,BYTES:u,MASK:wm(l),ZERO:hi,ONE:zn,allowedLengths:c,create:o(f=>zr(f,t),"create"),isValid:o(f=>{if(typeof f!="bigint")throw new Error("invalid field element: expected bigint, got "+typeof f);return hi<=f&&ff===hi,"is0"),isValidNot0:o(f=>!d.is0(f)&&d.isValid(f),"isValidNot0"),isOdd:o(f=>(f&zn)===zn,"isOdd"),neg:o(f=>zr(-f,t),"neg"),eql:o((f,h)=>f===h,"eql"),sqr:o(f=>zr(f*f,t),"sqr"),add:o((f,h)=>zr(f+h,t),"add"),sub:o((f,h)=>zr(f-h,t),"sub"),mul:o((f,h)=>zr(f*h,t),"mul"),pow:o((f,h)=>SVe(d,f,h),"pow"),div:o((f,h)=>zr(f*Tre(h,t),t),"div"),sqrN:o(f=>f*f,"sqrN"),addN:o((f,h)=>f+h,"addN"),subN:o((f,h)=>f-h,"subN"),mulN:o((f,h)=>f*h,"mulN"),inv:o(f=>Tre(f,t),"inv"),sqrt:s||(f=>(A||(A=BVe(t)),A(d,f))),toBytes:o(f=>r?gM(f,u):pM(f,u),"toBytes"),fromBytes:o((f,h=!0)=>{if(c){if(!c.includes(f.length)||f.length>u)throw new Error("Field.fromBytes: expected "+c+" bytes, got "+f.length);let m=new Uint8Array(u);m.set(f,r?0:m.length-f.length),f=m}if(f.length!==u)throw new Error("Field.fromBytes: expected "+u+" bytes, got "+f.length);let g=r?eA(f):jB(f);if(a&&(g=zr(g,t)),!h&&!d.isValid(g))throw new Error("invalid field element: outside of range 0..ORDER");return g},"fromBytes"),invertBatch:o(f=>Qie(d,f),"invertBatch"),cmov:o((f,h,g)=>g?h:f,"cmov")});return Object.freeze(d)}o(Ci,"Field");function Nie(t){if(typeof t!="bigint")throw new Error("field order must be bigint");let e=t.toString(2).length;return Math.ceil(e/8)}o(Nie,"getFieldBytesLength");function vie(t){let e=Nie(t);return e+Math.ceil(e/2)}o(vie,"getMinHashLength");function NVe(t,e,r=!1){let n=t.length,i=Nie(e),s=vie(e);if(n<16||n1024)throw new Error("expected "+s+"-1024 bytes of input, got "+n);let a=r?eA(t):jB(t),c=zr(a,e-zn)+zn;return r?gM(c,i):pM(c,i)}o(NVe,"mapHashToField");function vVe(t,e,r,n){if(typeof t.setBigUint64=="function")return t.setBigUint64(e,r,n);let i=BigInt(32),s=BigInt(4294967295),a=Number(r>>i&s),c=Number(r&s),l=n?4:0,u=n?0:4;t.setUint32(e+l,a,n),t.setUint32(e+u,c,n)}o(vVe,"setBigUint64");function Rie(t,e,r){return t&e^~t&r}o(Rie,"Chi$1");function Pie(t,e,r){return t&e^t&r^e&r}o(Pie,"Maj");var tA=class extends um{static{o(this,"HashMD")}constructor(e,r,n,i){super(),this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.blockLen=e,this.outputLen=r,this.padOffset=n,this.isLE=i,this.buffer=new Uint8Array(e),this.view=FT(this.buffer)}update(e){nh(this),e=Bm(e),ra(e);let{view:r,buffer:n,blockLen:i}=this,s=e.length;for(let a=0;ai-a&&(this.process(n,0),a=0);for(let d=a;dA.length)throw new Error("_sha2: outputLen bigger than state");for(let d=0;d>Mre&vI)}:{h:Number(t>>Mre&vI)|0,l:Number(t&vI)|0}}o(RVe,"fromBig");function _ie(t,e=!1){let r=t.length,n=new Uint32Array(r),i=new Uint32Array(r);for(let s=0;st>>>r,"shrSH"),Ure=o((t,e,r)=>t<<32-r|e>>>r,"shrSL"),Tf=o((t,e,r)=>t>>>r|e<<32-r,"rotrSH"),Of=o((t,e,r)=>t<<32-r|e>>>r,"rotrSL"),RI=o((t,e,r)=>t<<64-r|e>>>r-32,"rotrBH"),PI=o((t,e,r)=>t>>>r-32|e<<64-r,"rotrBL"),PVe=o((t,e,r)=>t<>>32-r,"rotlSH"),_Ve=o((t,e,r)=>e<>>32-r,"rotlSL"),DVe=o((t,e,r)=>e<>>64-r,"rotlBH"),kVe=o((t,e,r)=>t<>>64-r,"rotlBL");function La(t,e,r,n){let i=(e>>>0)+(n>>>0);return{h:t+r+(i/2**32|0)|0,l:i|0}}o(La,"add$1");var TVe=o((t,e,r)=>(t>>>0)+(e>>>0)+(r>>>0),"add3L"),OVe=o((t,e,r,n)=>e+r+n+(t/2**32|0)|0,"add3H"),MVe=o((t,e,r,n)=>(t>>>0)+(e>>>0)+(r>>>0)+(n>>>0),"add4L"),LVe=o((t,e,r,n,i)=>e+r+n+i+(t/2**32|0)|0,"add4H"),UVe=o((t,e,r,n,i)=>(t>>>0)+(e>>>0)+(r>>>0)+(n>>>0)+(i>>>0),"add5L"),FVe=o((t,e,r,n,i,s)=>e+r+n+i+s+(t/2**32|0)|0,"add5H"),HVe=Uint32Array.from([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),cl=new Uint32Array(64),xB=class extends tA{static{o(this,"SHA256")}constructor(e=32){super(64,e,8,!1),this.A=ol[0]|0,this.B=ol[1]|0,this.C=ol[2]|0,this.D=ol[3]|0,this.E=ol[4]|0,this.F=ol[5]|0,this.G=ol[6]|0,this.H=ol[7]|0}get(){let{A:e,B:r,C:n,D:i,E:s,F:a,G:c,H:l}=this;return[e,r,n,i,s,a,c,l]}set(e,r,n,i,s,a,c,l){this.A=e|0,this.B=r|0,this.C=n|0,this.D=i|0,this.E=s|0,this.F=a|0,this.G=c|0,this.H=l|0}process(e,r){for(let d=0;d<16;d++,r+=4)cl[d]=e.getUint32(r,!1);for(let d=16;d<64;d++){let f=cl[d-15],h=cl[d-2],g=qo(f,7)^qo(f,18)^f>>>3,m=qo(h,17)^qo(h,19)^h>>>10;cl[d]=m+cl[d-7]+g+cl[d-16]|0}let{A:n,B:i,C:s,D:a,E:c,F:l,G:u,H:A}=this;for(let d=0;d<64;d++){let f=qo(c,6)^qo(c,11)^qo(c,25),h=A+f+Rie(c,l,u)+HVe[d]+cl[d]|0,m=(qo(n,2)^qo(n,13)^qo(n,22))+Pie(n,i,s)|0;A=u,u=l,l=c,c=a+h|0,a=s,s=i,i=n,n=h+m|0}n=n+this.A|0,i=i+this.B|0,s=s+this.C|0,a=a+this.D|0,c=c+this.E|0,l=l+this.F|0,u=u+this.G|0,A=A+this.H|0,this.set(n,i,s,a,c,l,u,A)}roundClean(){Rs(cl)}destroy(){this.set(0,0,0,0,0,0,0,0),Rs(this.buffer)}},vO=class extends xB{static{o(this,"SHA224")}constructor(){super(28),this.A=al[0]|0,this.B=al[1]|0,this.C=al[2]|0,this.D=al[3]|0,this.E=al[4]|0,this.F=al[5]|0,this.G=al[6]|0,this.H=al[7]|0}},Die=_ie(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(t=>BigInt(t))),qVe=Die[0],zVe=Die[1],ll=new Uint32Array(80),ul=new Uint32Array(80),IB=class extends tA{static{o(this,"SHA512")}constructor(e=64){super(128,e,16,!1),this.Ah=Sn[0]|0,this.Al=Sn[1]|0,this.Bh=Sn[2]|0,this.Bl=Sn[3]|0,this.Ch=Sn[4]|0,this.Cl=Sn[5]|0,this.Dh=Sn[6]|0,this.Dl=Sn[7]|0,this.Eh=Sn[8]|0,this.El=Sn[9]|0,this.Fh=Sn[10]|0,this.Fl=Sn[11]|0,this.Gh=Sn[12]|0,this.Gl=Sn[13]|0,this.Hh=Sn[14]|0,this.Hl=Sn[15]|0}get(){let{Ah:e,Al:r,Bh:n,Bl:i,Ch:s,Cl:a,Dh:c,Dl:l,Eh:u,El:A,Fh:d,Fl:f,Gh:h,Gl:g,Hh:m,Hl:b}=this;return[e,r,n,i,s,a,c,l,u,A,d,f,h,g,m,b]}set(e,r,n,i,s,a,c,l,u,A,d,f,h,g,m,b){this.Ah=e|0,this.Al=r|0,this.Bh=n|0,this.Bl=i|0,this.Ch=s|0,this.Cl=a|0,this.Dh=c|0,this.Dl=l|0,this.Eh=u|0,this.El=A|0,this.Fh=d|0,this.Fl=f|0,this.Gh=h|0,this.Gl=g|0,this.Hh=m|0,this.Hl=b|0}process(e,r){for(let w=0;w<16;w++,r+=4)ll[w]=e.getUint32(r),ul[w]=e.getUint32(r+=4);for(let w=16;w<80;w++){let v=ll[w-15]|0,U=ul[w-15]|0,H=Tf(v,U,1)^Tf(v,U,8)^Lre(v,U,7),J=Of(v,U,1)^Of(v,U,8)^Ure(v,U,7),q=ll[w-2]|0,D=ul[w-2]|0,T=Tf(q,D,19)^RI(q,D,61)^Lre(q,D,6),L=Of(q,D,19)^PI(q,D,61)^Ure(q,D,6),z=MVe(J,L,ul[w-7],ul[w-16]),_=LVe(z,H,T,ll[w-7],ll[w-16]);ll[w]=_|0,ul[w]=z|0}let{Ah:n,Al:i,Bh:s,Bl:a,Ch:c,Cl:l,Dh:u,Dl:A,Eh:d,El:f,Fh:h,Fl:g,Gh:m,Gl:b,Hh:y,Hl:I}=this;for(let w=0;w<80;w++){let v=Tf(d,f,14)^Tf(d,f,18)^RI(d,f,41),U=Of(d,f,14)^Of(d,f,18)^PI(d,f,41),H=d&h^~d&m,J=f&g^~f&b,q=UVe(I,U,J,zVe[w],ul[w]),D=FVe(q,y,v,H,qVe[w],ll[w]),T=q|0,L=Tf(n,i,28)^RI(n,i,34)^RI(n,i,39),z=Of(n,i,28)^PI(n,i,34)^PI(n,i,39),_=n&s^n&c^s&c,k=i&a^i&l^a&l;y=m|0,I=b|0,m=h|0,b=g|0,h=d|0,g=f|0,{h:d,l:f}=La(u|0,A|0,D|0,T|0),u=c|0,A=l|0,c=s|0,l=a|0,s=n|0,a=i|0;let F=TVe(T,z,k);n=OVe(F,D,L,_),i=F|0}({h:n,l:i}=La(this.Ah|0,this.Al|0,n|0,i|0)),{h:s,l:a}=La(this.Bh|0,this.Bl|0,s|0,a|0),{h:c,l}=La(this.Ch|0,this.Cl|0,c|0,l|0),{h:u,l:A}=La(this.Dh|0,this.Dl|0,u|0,A|0),{h:d,l:f}=La(this.Eh|0,this.El|0,d|0,f|0),{h,l:g}=La(this.Fh|0,this.Fl|0,h|0,g|0),{h:m,l:b}=La(this.Gh|0,this.Gl|0,m|0,b|0),{h:y,l:I}=La(this.Hh|0,this.Hl|0,y|0,I|0),this.set(n,i,s,a,c,l,u,A,d,f,h,g,m,b,y,I)}roundClean(){Rs(ll,ul)}destroy(){Rs(this.buffer),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}},RO=class extends IB{static{o(this,"SHA384")}constructor(){super(48),this.Ah=Qn[0]|0,this.Al=Qn[1]|0,this.Bh=Qn[2]|0,this.Bl=Qn[3]|0,this.Ch=Qn[4]|0,this.Cl=Qn[5]|0,this.Dh=Qn[6]|0,this.Dl=Qn[7]|0,this.Eh=Qn[8]|0,this.El=Qn[9]|0,this.Fh=Qn[10]|0,this.Fl=Qn[11]|0,this.Gh=Qn[12]|0,this.Gl=Qn[13]|0,this.Hh=Qn[14]|0,this.Hl=Qn[15]|0}},yM=Za(()=>new xB),GVe=Za(()=>new vO),kie=Za(()=>new IB),Tie=Za(()=>new RO),BB=class extends um{static{o(this,"HMAC")}constructor(e,r){super(),this.finished=!1,this.destroyed=!1,hie(e);let n=Bm(r);if(this.iHash=e.create(),typeof this.iHash.update!="function")throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;let i=this.blockLen,s=new Uint8Array(i);s.set(n.length>i?e.create().update(n).digest():n);for(let a=0;anew BB(t,e).update(r).digest(),"hmac");Oie.create=(t,e)=>new BB(t,e);var ih=BigInt(0),ju=BigInt(1);function wB(t,e){let r=e.negate();return t?r:e}o(wB,"negateCt");function Yu(t,e){let r=Qie(t.Fp,e.map(n=>n.Z));return e.map((n,i)=>t.fromAffine(n.toAffine(r[i])))}o(Yu,"normalizeZ");function Mie(t,e){if(!Number.isSafeInteger(t)||t<=0||t>e)throw new Error("invalid window size, expected [1.."+e+"], got W="+t)}o(Mie,"validateW");function qT(t,e){Mie(t,e);let r=Math.ceil(e/t)+1,n=2**(t-1),i=2**t,s=wm(t),a=BigInt(t);return{windows:r,windowSize:n,mask:s,maxNumber:i,shiftBy:a}}o(qT,"calcWOpts");function Fre(t,e,r){let{windowSize:n,mask:i,maxNumber:s,shiftBy:a}=r,c=Number(t&i),l=t>>a;c>n&&(c-=s,l+=ju);let u=e*n,A=u+Math.abs(c)-1,d=c===0,f=c<0,h=e%2!==0;return{nextN:l,offset:A,isZero:d,isNeg:f,isNegF:h,offsetF:u}}o(Fre,"calcOffsets");function jVe(t,e){if(!Array.isArray(t))throw new Error("array expected");t.forEach((r,n)=>{if(!(r instanceof e))throw new Error("invalid point at index "+n)})}o(jVe,"validateMSMPoints");function YVe(t,e){if(!Array.isArray(t))throw new Error("array of scalars expected");t.forEach((r,n)=>{if(!e.isValid(r))throw new Error("invalid scalar at index "+n)})}o(YVe,"validateMSMScalars");var zT=new WeakMap,Lie=new WeakMap;function GT(t){return Lie.get(t)||1}o(GT,"getW$1");function Hre(t){if(t!==ih)throw new Error("invalid wNAF")}o(Hre,"assert0");var QB=class{static{o(this,"wNAF")}constructor(e,r){this.BASE=e.BASE,this.ZERO=e.ZERO,this.Fn=e.Fn,this.bits=r}_unsafeLadder(e,r,n=this.ZERO){let i=e;for(;r>ih;)r&ju&&(n=n.add(i)),i=i.double(),r>>=ju;return n}precomputeWindow(e,r){let{windows:n,windowSize:i}=qT(r,this.bits),s=[],a=e,c=a;for(let l=0;lih||n>ih;)r&ju&&(s=s.add(i)),n&ju&&(a=a.add(i)),i=i.double(),r>>=ju,n>>=ju;return{p1:s,p2:a}}o(KVe,"mulEndoUnsafe");function Uie(t,e,r,n){jVe(r,t),YVe(n,e);let i=r.length,s=n.length;if(i!==s)throw new Error("arrays of points and scalars must have equal length");let a=t.ZERO,c=yie(BigInt(i)),l=1;c>12?l=c-3:c>4?l=c-2:c>0&&(l=2);let u=wm(l),A=new Array(Number(u)+1).fill(a),d=Math.floor((e.BITS-1)/l)*l,f=a;for(let h=d;h>=0;h-=l){A.fill(a);for(let m=0;m>BigInt(h)&u);A[y]=A[y].add(r[m])}let g=a;for(let m=A.length-1,b=a;m>0;m--)b=b.add(A[m]),g=g.add(b);if(f=f.add(g),h!==0)for(let m=0;mih))throw new Error(`CURVE.${l} must be positive bigint`)}let i=qre(e.p,r.Fp,n),s=qre(e.n,r.Fn,n),c=["Gx","Gy","a",t==="weierstrass"?"b":"d"];for(let l of c)if(!i.isValid(e[l]))throw new Error(`CURVE.${l} must be valid field element of CURVE.Fp`);return e=Object.freeze(Object.assign({},e)),{CURVE:e,Fp:i,Fn:s}}o(Fie,"_createCurveFields");var zre=o((t,e)=>(t+(t>=0?e:-e)/Hie)/e,"divNearest");function JVe(t,e,r){let[[n,i],[s,a]]=e,c=zre(a*t,r),l=zre(-i*t,r),u=t-c*n-l*s,A=-c*i-l*a,d=u=h||A=h)throw new Error("splitScalar (endomorphism): failed, k="+t);return{k1neg:d,k1:u,k2neg:f,k2:A}}o(JVe,"_splitEndoScalar");function PO(t){if(!["compact","recovered","der"].includes(t))throw new Error('Signature format must be "compact", "recovered", or "der"');return t}o(PO,"validateSigFormat");function jT(t,e){let r={};for(let n of Object.keys(e))r[n]=t[n]===void 0?e[n]:t[n];return Zu(r.lowS,"lowS"),Zu(r.prehash,"prehash"),r.format!==void 0&&PO(r.format),r}o(jT,"validateSigOpts");var _O=class extends Error{static{o(this,"DERErr")}constructor(e=""){super(e)}},za={Err:_O,_tlv:{encode:o((t,e)=>{let{Err:r}=za;if(t<0||t>256)throw new r("tlv.encode: wrong tag");if(e.length&1)throw new r("tlv.encode: unpadded data");let n=e.length/2,i=NI(n);if(i.length/2&128)throw new r("tlv.encode: long form length too big");let s=n>127?NI(i.length/2|128):"";return NI(t)+s+i+e},"encode"),decode(t,e){let{Err:r}=za,n=0;if(t<0||t>256)throw new r("tlv.encode: wrong tag");if(e.length<2||e[n++]!==t)throw new r("tlv.decode: wrong tlv");let i=e[n++],s=!!(i&128),a=0;if(!s)a=i;else{let l=i&127;if(!l)throw new r("tlv.decode(long): indefinite length not supported");if(l>4)throw new r("tlv.decode(long): byte length is too big");let u=e.subarray(n,n+l);if(u.length!==l)throw new r("tlv.decode: length bytes not complete");if(u[0]===0)throw new r("tlv.decode(long): zero leftmost byte");for(let A of u)a=a<<8|A;if(n+=l,a<128)throw new r("tlv.decode(long): not minimal encoding")}let c=e.subarray(n,n+a);if(c.length!==a)throw new r("tlv.decode: wrong value length");return{v:c,l:e.subarray(n+a)}}},_int:{encode(t){let{Err:e}=za;if(t{let{X:k,Y:F,Z:K}=z;if(n.eql(K,n.ONE))return{x:k,y:F};let Z=z.is0();_==null&&(_=Z?n.ONE:n.inv(K));let W=n.mul(k,_),te=n.mul(F,_),ne=n.mul(K,_);if(Z)return{x:n.ZERO,y:n.ZERO};if(!n.eql(ne,n.ONE))throw new Error("invZ was invalid");return{x:W,y:te}}),J=CB(z=>{if(z.is0()){if(e.allowInfinityPoint&&!n.is0(z.Y))return;throw new Error("bad point: ZERO")}let{x:_,y:k}=z.toAffine();if(!n.isValid(_)||!n.isValid(k))throw new Error("bad point: x or y not field elements");if(!b(_,k))throw new Error("bad point: equation left != right");if(!z.isTorsionFree())throw new Error("bad point: not in prime-order subgroup");return!0});function q(z,_,k,F,K){return k=new D(n.mul(k.X,z),k.Y,k.Z),_=wB(F,_),k=wB(K,k),_.add(k)}o(q,"finishEndo");class D{static{o(this,"Point")}constructor(_,k,F){this.X=w("x",_),this.Y=w("y",k,!0),this.Z=w("z",F),Object.freeze(this)}static CURVE(){return s}static fromAffine(_){let{x:k,y:F}=_||{};if(!_||!n.isValid(k)||!n.isValid(F))throw new Error("invalid affine point");if(_ instanceof D)throw new Error("projective point not allowed");return n.is0(k)&&n.is0(F)?D.ZERO:new D(k,F,n.ONE)}static fromBytes(_){let k=D.fromAffine(g(eo(_,void 0,"point")));return k.assertValidity(),k}static fromHex(_){return D.fromBytes(nr("pointHex",_))}get x(){return this.toAffine().x}get y(){return this.toAffine().y}precompute(_=8,k=!0){return L.createCache(this,_),k||this.multiply(_I),this}assertValidity(){J(this)}hasEvenY(){let{y:_}=this.toAffine();if(!n.isOdd)throw new Error("Field doesn't support isOdd");return!n.isOdd(_)}equals(_){v(_);let{X:k,Y:F,Z:K}=this,{X:Z,Y:W,Z:te}=_,ne=n.eql(n.mul(k,te),n.mul(Z,K)),ae=n.eql(n.mul(F,te),n.mul(W,K));return ne&&ae}negate(){return new D(this.X,n.neg(this.Y),this.Z)}double(){let{a:_,b:k}=s,F=n.mul(k,_I),{X:K,Y:Z,Z:W}=this,te=n.ZERO,ne=n.ZERO,ae=n.ZERO,fe=n.mul(K,K),le=n.mul(Z,Z),he=n.mul(W,W),ie=n.mul(K,Z);return ie=n.add(ie,ie),ae=n.mul(K,W),ae=n.add(ae,ae),te=n.mul(_,ae),ne=n.mul(F,he),ne=n.add(te,ne),te=n.sub(le,ne),ne=n.add(le,ne),ne=n.mul(te,ne),te=n.mul(ie,te),ae=n.mul(F,ae),he=n.mul(_,he),ie=n.sub(fe,he),ie=n.mul(_,ie),ie=n.add(ie,ae),ae=n.add(fe,fe),fe=n.add(ae,fe),fe=n.add(fe,he),fe=n.mul(fe,ie),ne=n.add(ne,fe),he=n.mul(Z,W),he=n.add(he,he),fe=n.mul(he,ie),te=n.sub(te,fe),ae=n.mul(he,le),ae=n.add(ae,ae),ae=n.add(ae,ae),new D(te,ne,ae)}add(_){v(_);let{X:k,Y:F,Z:K}=this,{X:Z,Y:W,Z:te}=_,ne=n.ZERO,ae=n.ZERO,fe=n.ZERO,le=s.a,he=n.mul(s.b,_I),ie=n.mul(k,Z),Ae=n.mul(F,W),xe=n.mul(K,te),ye=n.add(k,F),me=n.add(Z,W);ye=n.mul(ye,me),me=n.add(ie,Ae),ye=n.sub(ye,me),me=n.add(k,K);let Qe=n.add(Z,te);return me=n.mul(me,Qe),Qe=n.add(ie,xe),me=n.sub(me,Qe),Qe=n.add(F,K),ne=n.add(W,te),Qe=n.mul(Qe,ne),ne=n.add(Ae,xe),Qe=n.sub(Qe,ne),fe=n.mul(le,me),ne=n.mul(he,xe),fe=n.add(ne,fe),ne=n.sub(Ae,fe),fe=n.add(Ae,fe),ae=n.mul(ne,fe),Ae=n.add(ie,ie),Ae=n.add(Ae,ie),xe=n.mul(le,xe),me=n.mul(he,me),Ae=n.add(Ae,xe),xe=n.sub(ie,xe),xe=n.mul(le,xe),me=n.add(me,xe),ie=n.mul(Ae,me),ae=n.add(ae,ie),ie=n.mul(Qe,me),ne=n.mul(ye,ne),ne=n.sub(ne,ie),ie=n.mul(ye,Ae),fe=n.mul(Qe,fe),fe=n.add(fe,ie),new D(ne,ae,fe)}subtract(_){return this.add(_.negate())}is0(){return this.equals(D.ZERO)}multiply(_){let{endo:k}=e;if(!i.isValidNot0(_))throw new Error("invalid scalar: out of range");let F,K,Z=o(W=>L.cached(this,W,te=>Yu(D,te)),"mul");if(k){let{k1neg:W,k1:te,k2neg:ne,k2:ae}=U(_),{p:fe,f:le}=Z(te),{p:he,f:ie}=Z(ae);K=le.add(ie),F=q(k.beta,fe,he,W,ne)}else{let{p:W,f:te}=Z(_);F=W,K=te}return Yu(D,[F,K])[0]}multiplyUnsafe(_){let{endo:k}=e,F=this;if(!i.isValid(_))throw new Error("invalid scalar: out of range");if(_===ja||F.is0())return D.ZERO;if(_===Jf)return F;if(L.hasCache(this))return this.multiply(_);if(k){let{k1neg:K,k1:Z,k2neg:W,k2:te}=U(_),{p1:ne,p2:ae}=KVe(D,F,Z,te);return q(k.beta,ne,ae,K,W)}else return L.unsafe(F,_)}multiplyAndAddUnsafe(_,k,F){let K=this.multiplyUnsafe(k).add(_.multiplyUnsafe(F));return K.is0()?void 0:K}toAffine(_){return H(this,_)}isTorsionFree(){let{isTorsionFree:_}=e;return a===Jf?!0:_?_(D,this):L.unsafe(this,c).is0()}clearCofactor(){let{clearCofactor:_}=e;return a===Jf?this:_?_(D,this):this.multiplyUnsafe(a)}isSmallOrder(){return this.multiplyUnsafe(a).is0()}toBytes(_=!0){return Zu(_,"isCompressed"),this.assertValidity(),h(D,this,_)}toHex(_=!0){return Vu(this.toBytes(_))}toString(){return``}get px(){return this.X}get py(){return this.X}get pz(){return this.Z}toRawBytes(_=!0){return this.toBytes(_)}_setWindowSize(_){this.precompute(_)}static normalizeZ(_){return Yu(D,_)}static msm(_,k){return Uie(D,i,_,k)}static fromPrivateKey(_){return D.BASE.multiply(zf(i,_))}}D.BASE=new D(s.Gx,s.Gy,n.ONE),D.ZERO=new D(n.ZERO,n.ONE,n.ZERO),D.Fp=n,D.Fn=i;let T=i.BITS,L=new QB(D,e.endo?Math.ceil(T/2):T);return D.BASE.precompute(8),D}o(WVe,"weierstrassN");function qie(t){return Uint8Array.of(t?2:3)}o(qie,"pprefix");function zie(t,e){return{secretKey:e.BYTES,publicKey:1+t.BYTES,publicKeyUncompressed:1+2*t.BYTES,publicKeyHasPrefix:!0,signature:2*e.BYTES}}o(zie,"getWLengths");function $Ve(t,e={}){let{Fn:r}=t,n=e.randomBytes||GB,i=Object.assign(zie(t.Fp,r),{seed:vie(r.ORDER)});function s(h){try{return!!zf(r,h)}catch{return!1}}o(s,"isValidSecretKey");function a(h,g){let{publicKey:m,publicKeyUncompressed:b}=i;try{let y=h.length;return g===!0&&y!==m||g===!1&&y!==b?!1:!!t.fromBytes(h)}catch{return!1}}o(a,"isValidPublicKey");function c(h=n(i.seed)){return NVe(eo(h,i.seed,"seed"),r.ORDER)}o(c,"randomSecretKey");function l(h,g=!0){return t.BASE.multiply(zf(r,h)).toBytes(g)}o(l,"getPublicKey");function u(h){let g=c(h);return{secretKey:g,publicKey:l(g)}}o(u,"keygen");function A(h){if(typeof h=="bigint")return!1;if(h instanceof t)return!0;let{secretKey:g,publicKey:m,publicKeyUncompressed:b}=i;if(r.allowedLengths||g===m)return;let y=nr("key",h).length;return y===m||y===b}o(A,"isProbPub");function d(h,g,m=!0){if(A(h)===!0)throw new Error("first arg must be private key");if(A(g)===!1)throw new Error("second arg must be public key");let b=zf(r,h);return t.fromHex(g).multiply(b).toBytes(m)}return o(d,"getSharedSecret"),Object.freeze({getPublicKey:l,getSharedSecret:d,keygen:u,Point:t,utils:{isValidSecretKey:s,isValidPublicKey:a,randomSecretKey:c,isValidPrivateKey:s,randomPrivateKey:c,normPrivateKeyToScalar:o(h=>zf(r,h),"normPrivateKeyToScalar"),precompute(h=8,g=t.BASE){return g.precompute(h,!1)}},lengths:i})}o($Ve,"ecdh");function XVe(t,e,r={}){hie(e),ch(r,{},{hmac:"function",lowS:"boolean",randomBytes:"function",bits2int:"function",bits2int_modN:"function"});let n=r.randomBytes||GB,i=r.hmac||((k,...F)=>Oie(e,k,Xs(...F))),{Fp:s,Fn:a}=t,{ORDER:c,BITS:l}=a,{keygen:u,getPublicKey:A,getSharedSecret:d,utils:f,lengths:h}=$Ve(t,r),g={prehash:!1,lowS:typeof r.lowS=="boolean"?r.lowS:!1,format:void 0,extraEntropy:!1},m="compact";function b(k){let F=c>>Jf;return k>F}o(b,"isBiggerThanHalfOrder");function y(k,F){if(!a.isValidNot0(F))throw new Error(`invalid signature ${k}: out of range 1..Point.Fn.ORDER`);return F}o(y,"validateRS");function I(k,F){PO(F);let K=h.signature,Z=F==="compact"?K:F==="recovered"?K+1:void 0;return eo(k,Z,`${F} signature`)}o(I,"validateSigLength");class w{static{o(this,"Signature")}constructor(F,K,Z){this.r=y("r",F),this.s=y("s",K),Z!=null&&(this.recovery=Z),Object.freeze(this)}static fromBytes(F,K=m){I(F,K);let Z;if(K==="der"){let{r:ae,s:fe}=za.toSig(eo(F));return new w(ae,fe)}K==="recovered"&&(Z=F[0],K="compact",F=F.subarray(1));let W=a.BYTES,te=F.subarray(0,W),ne=F.subarray(W,W*2);return new w(a.fromBytes(te),a.fromBytes(ne),Z)}static fromHex(F,K){return this.fromBytes(bB(F),K)}addRecoveryBit(F){return new w(this.r,this.s,F)}recoverPublicKey(F){let K=s.ORDER,{r:Z,s:W,recovery:te}=this;if(te==null||![0,1,2,3].includes(te))throw new Error("recovery id invalid");if(c*Hie1)throw new Error("recovery id is ambiguous for h>1 curve");let ae=te===2||te===3?Z+c:Z;if(!s.isValid(ae))throw new Error("recovery id 2 or 3 invalid");let fe=s.toBytes(ae),le=t.fromBytes(Xs(qie((te&1)===0),fe)),he=a.inv(ae),ie=U(nr("msgHash",F)),Ae=a.create(-ie*he),xe=a.create(W*he),ye=t.BASE.multiplyUnsafe(Ae).add(le.multiplyUnsafe(xe));if(ye.is0())throw new Error("point at infinify");return ye.assertValidity(),ye}hasHighS(){return b(this.s)}toBytes(F=m){if(PO(F),F==="der")return bB(za.hexFromSig(this));let K=a.toBytes(this.r),Z=a.toBytes(this.s);if(F==="recovered"){if(this.recovery==null)throw new Error("recovery bit must be present");return Xs(Uint8Array.of(this.recovery),K,Z)}return Xs(K,Z)}toHex(F){return Vu(this.toBytes(F))}assertValidity(){}static fromCompact(F){return w.fromBytes(nr("sig",F),"compact")}static fromDER(F){return w.fromBytes(nr("sig",F),"der")}normalizeS(){return this.hasHighS()?new w(this.r,a.neg(this.s),this.recovery):this}toDERRawBytes(){return this.toBytes("der")}toDERHex(){return Vu(this.toBytes("der"))}toCompactRawBytes(){return this.toBytes("compact")}toCompactHex(){return Vu(this.toBytes("compact"))}}let v=r.bits2int||o(function(F){if(F.length>8192)throw new Error("input is too large");let K=jB(F),Z=F.length*8-l;return Z>0?K>>BigInt(Z):K},"bits2int_def"),U=r.bits2int_modN||o(function(F){return a.create(v(F))},"bits2int_modN_def"),H=wm(l);function J(k){return Am("num < 2^"+l,k,ja,H),a.toBytes(k)}o(J,"int2octets");function q(k,F){return eo(k,void 0,"message"),F?eo(e(k),void 0,"prehashed message"):k}o(q,"validateMsgAndHash");function D(k,F,K){if(["recovered","canonical"].some(Ae=>Ae in K))throw new Error("sign() legacy options not supported");let{lowS:Z,prehash:W,extraEntropy:te}=jT(K,g);k=q(k,W);let ne=U(k),ae=zf(a,F),fe=[J(ae),J(ne)];if(te!=null&&te!==!1){let Ae=te===!0?n(h.secretKey):te;fe.push(nr("extraEntropy",Ae))}let le=Xs(...fe),he=ne;function ie(Ae){let xe=v(Ae);if(!a.isValidNot0(xe))return;let ye=a.inv(xe),me=t.BASE.multiply(xe).toAffine(),Qe=a.create(me.x);if(Qe===ja)return;let rt=a.create(ye*a.create(he+Qe*ae));if(rt===ja)return;let At=(me.x===Qe?0:2)|Number(me.y&Jf),pt=rt;return Z&&b(rt)&&(pt=a.neg(rt),At^=1),new w(Qe,pt,At)}return o(ie,"k2sig"),{seed:le,k2sig:ie}}o(D,"prepSig");function T(k,F,K={}){k=nr("message",k);let{seed:Z,k2sig:W}=D(k,F,K);return EVe(e.outputLen,a.BYTES,i)(Z,W)}o(T,"sign");function L(k){let F,K=typeof k=="string"||Im(k),Z=!K&&k!==null&&typeof k=="object"&&typeof k.r=="bigint"&&typeof k.s=="bigint";if(!K&&!Z)throw new Error("invalid signature, expected Uint8Array, hex string or Signature instance");if(Z)F=new w(k.r,k.s);else if(K){try{F=w.fromBytes(nr("sig",k),"der")}catch(W){if(!(W instanceof za.Err))throw W}if(!F)try{F=w.fromBytes(nr("sig",k),"compact")}catch{return!1}}return F||!1}o(L,"tryParsingSig");function z(k,F,K,Z={}){let{lowS:W,prehash:te,format:ne}=jT(Z,g);if(K=nr("publicKey",K),F=q(nr("message",F),te),"strict"in Z)throw new Error("options.strict was renamed to lowS");let ae=ne===void 0?L(k):w.fromBytes(nr("sig",k),ne);if(ae===!1)return!1;try{let fe=t.fromBytes(K);if(W&&ae.hasHighS())return!1;let{r:le,s:he}=ae,ie=U(F),Ae=a.inv(he),xe=a.create(ie*Ae),ye=a.create(le*Ae),me=t.BASE.multiplyUnsafe(xe).add(fe.multiplyUnsafe(ye));return me.is0()?!1:a.create(me.x)===le}catch{return!1}}o(z,"verify");function _(k,F,K={}){let{prehash:Z}=jT(K,g);return F=q(F,Z),w.fromBytes(k,"recovered").recoverPublicKey(F).toBytes()}return o(_,"recoverPublicKey"),Object.freeze({keygen:u,getPublicKey:A,getSharedSecret:d,utils:f,lengths:h,Point:t,sign:T,verify:z,recoverPublicKey:_,Signature:w,hash:e})}o(XVe,"ecdsa");function ZVe(t){let e={a:t.a,b:t.b,p:t.Fp.ORDER,n:t.n,h:t.h,Gx:t.Gx,Gy:t.Gy},r=t.Fp,n=t.allowedPrivateKeyLengths?Array.from(new Set(t.allowedPrivateKeyLengths.map(a=>Math.ceil(a/2)))):void 0,i=Ci(e.n,{BITS:t.nBitLength,allowedLengths:n,modFromBytes:t.wrapPrivateKey}),s={Fp:r,Fn:i,allowInfinityPoint:t.allowInfinityPoint,endo:t.endo,isTorsionFree:t.isTorsionFree,clearCofactor:t.clearCofactor,fromBytes:t.fromBytes,toBytes:t.toBytes};return{CURVE:e,curveOpts:s}}o(ZVe,"_weierstrass_legacy_opts_to_new");function eWe(t){let{CURVE:e,curveOpts:r}=ZVe(t),n={hmac:t.hmac,randomBytes:t.randomBytes,lowS:t.lowS,bits2int:t.bits2int,bits2int_modN:t.bits2int_modN};return{CURVE:e,curveOpts:r,hash:t.hash,ecdsaOpts:n}}o(eWe,"_ecdsa_legacy_opts_to_new");function tWe(t,e){let r=e.Point;return Object.assign({},e,{ProjectivePoint:r,CURVE:Object.assign({},t,Sie(r.Fn.ORDER,r.Fn.BITS))})}o(tWe,"_ecdsa_new_output_to_legacy");function rWe(t){let{CURVE:e,curveOpts:r,hash:n,ecdsaOpts:i}=eWe(t),s=WVe(e,r),a=XVe(s,n,i);return tWe(t,a)}o(rWe,"weierstrass");function iA(t,e){let r=o(n=>rWe({...t,hash:n}),"create");return{...r(e),create:r}}o(iA,"createCurve");var Gie={p:BigInt("0xffffffff00000001000000000000000000000000ffffffffffffffffffffffff"),n:BigInt("0xffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551"),h:BigInt(1),a:BigInt("0xffffffff00000001000000000000000000000000fffffffffffffffffffffffc"),b:BigInt("0x5ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b"),Gx:BigInt("0x6b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296"),Gy:BigInt("0x4fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5")},jie={p:BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff"),n:BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52973"),h:BigInt(1),a:BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000fffffffc"),b:BigInt("0xb3312fa7e23ee7e4988e056be3f82d19181d9c6efe8141120314088f5013875ac656398d8a2ed19d2a85c8edd3ec2aef"),Gx:BigInt("0xaa87ca22be8b05378eb1c71ef320ad746e1d3b628ba79b9859f741e082542a385502f25dbf55296c3a545e3872760ab7"),Gy:BigInt("0x3617de4a96262c6f5d9e98bf9292dc29f8f41dbd289a147ce9da3113b5f0b8c00a60b1ce1d7e819d7a431d7c90ea0e5f")},Yie={p:BigInt("0x1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),n:BigInt("0x01fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa51868783bf2f966b7fcc0148f709a5d03bb5c9b8899c47aebb6fb71e91386409"),h:BigInt(1),a:BigInt("0x1fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc"),b:BigInt("0x0051953eb9618e1c9a1f929a21a0b68540eea2da725b99b315f3b8b489918ef109e156193951ec7e937b1652c0bd3bb1bf073573df883d2c34f1ef451fd46b503f00"),Gx:BigInt("0x00c6858e06b70404e9cd9e3ecb662395b4429c648139053fb521f828af606b4d3dbaa14b5e77efe75928fe1dc127a2ffa8de3348b3c1856a429bf97e7e31c2e5bd66"),Gy:BigInt("0x011839296a789a3bc0045c8a5fb42c7d1bd998f54449579b446817afbd17273e662c97ee72995ef42640c550b9013fad0761353c7086a272c24088be94769fd16650")},nWe=Ci(Gie.p),iWe=Ci(jie.p),sWe=Ci(Yie.p),oWe=iA({...Gie,Fp:nWe,lowS:!1},yM),aWe=iA({...jie,Fp:iWe,lowS:!1},Tie),cWe=iA({...Yie,Fp:sWe,lowS:!1,allowedPrivateKeyLengths:[130,131,132]},kie);var lWe=oWe;var uWe=aWe;var AWe=cWe,dWe=BigInt(0),Gg=BigInt(1),fWe=BigInt(2),hWe=BigInt(7),pWe=BigInt(256),gWe=BigInt(113),Kie=[],Jie=[],Vie=[];for(let t=0,e=Gg,r=1,n=0;t<24;t++){[r,n]=[n,(2*r+3*n)%5],Kie.push(2*(5*n+r)),Jie.push((t+1)*(t+2)/2%64);let i=dWe;for(let s=0;s<7;s++)e=(e<>hWe)*gWe)%pWe,e&fWe&&(i^=Gg<<(Gg<r>32?DVe(t,e,r):PVe(t,e,r),"rotlH"),jre=o((t,e,r)=>r>32?kVe(t,e,r):_Ve(t,e,r),"rotlL");function EWe(t,e=24){let r=new Uint32Array(10);for(let n=24-e;n<24;n++){for(let a=0;a<10;a++)r[a]=t[a]^t[a+10]^t[a+20]^t[a+30]^t[a+40];for(let a=0;a<10;a+=2){let c=(a+8)%10,l=(a+2)%10,u=r[l],A=r[l+1],d=Gre(u,A,1)^r[c],f=jre(u,A,1)^r[c+1];for(let h=0;h<50;h+=10)t[a+h]^=d,t[a+h+1]^=f}let i=t[2],s=t[3];for(let a=0;a<24;a++){let c=Jie[a],l=Gre(i,s,c),u=jre(i,s,c),A=Kie[a];i=t[A],s=t[A+1],t[A]=l,t[A+1]=u}for(let a=0;a<50;a+=10){for(let c=0;c<10;c++)r[c]=t[a+c];for(let c=0;c<10;c++)t[a+c]^=~r[(c+2)%10]&r[(c+4)%10]}t[0]^=mWe[n],t[1]^=yWe[n]}Rs(r)}o(EWe,"keccakP");var SB=class t extends um{static{o(this,"Keccak")}constructor(e,r,n,i=!1,s=24){if(super(),this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,this.enableXOF=!1,this.blockLen=e,this.suffix=r,this.outputLen=n,this.enableXOF=i,this.rounds=s,lm(n),!(0=n&&this.keccak();let a=Math.min(n-this.posOut,s-i);e.set(r.subarray(this.posOut,this.posOut+a),i),this.posOut+=a,i+=a}return e}xofInto(e){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(e)}xof(e){return lm(e),this.xofInto(new Uint8Array(e))}digestInto(e){if(pie(e,this),this.finished)throw new Error("digest() was already called");return this.writeInto(e),this.destroy(),e}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,Rs(this.state)}_cloneInto(e){let{blockLen:r,suffix:n,outputLen:i,rounds:s,enableXOF:a}=this;return e||(e=new t(r,n,i,a,s)),e.state32.set(this.state32),e.pos=this.pos,e.posOut=this.posOut,e.finished=this.finished,e.rounds=s,e.suffix=n,e.outputLen=i,e.enableXOF=a,e.destroyed=this.destroyed,e}},$ie=o((t,e,r)=>Za(()=>new SB(e,t,r)),"gen"),bWe=$ie(6,136,256/8),CWe=$ie(6,72,512/8),xWe=o((t,e,r)=>pVe((n={})=>new SB(e,t,n.dkLen===void 0?r:n.dkLen,!0)),"genShake"),IWe=xWe(31,136,256/8);var Al=BigInt(0),nn=BigInt(1),YT=BigInt(2),BWe=BigInt(8);function wWe(t,e,r,n){let i=t.sqr(r),s=t.sqr(n),a=t.add(t.mul(e.a,i),s),c=t.add(t.ONE,t.mul(e.d,t.mul(i,s)));return t.eql(a,c)}o(wWe,"isEdValidXY");function Xie(t,e={}){let r=Fie("edwards",t,e,e.FpFnLE),{Fp:n,Fn:i}=r,s=r.CURVE,{h:a}=s;ch(e,{},{uvRatio:"function"});let c=YT<n.create(b),"modP"),u=e.uvRatio||((b,y)=>{try{return{isValid:!0,value:n.sqrt(n.div(b,y))}}catch{return{isValid:!1,value:Al}}});if(!wWe(n,s,s.Gx,s.Gy))throw new Error("bad curve params: generator point");function A(b,y,I=!1){let w=I?nn:Al;return Am("coordinate "+b,y,w,c),y}o(A,"acoord");function d(b){if(!(b instanceof g))throw new Error("ExtendedPoint expected")}o(d,"aextpoint");let f=CB((b,y)=>{let{X:I,Y:w,Z:v}=b,U=b.is0();y==null&&(y=U?BWe:n.inv(v));let H=l(I*y),J=l(w*y),q=n.mul(v,y);if(U)return{x:Al,y:nn};if(q!==nn)throw new Error("invZ was invalid");return{x:H,y:J}}),h=CB(b=>{let{a:y,d:I}=s;if(b.is0())throw new Error("bad point: ZERO");let{X:w,Y:v,Z:U,T:H}=b,J=l(w*w),q=l(v*v),D=l(U*U),T=l(D*D),L=l(J*y),z=l(D*l(L+q)),_=l(T+l(I*l(J*q)));if(z!==_)throw new Error("bad point: equation left != right (1)");let k=l(w*v),F=l(U*H);if(k!==F)throw new Error("bad point: equation left != right (2)");return!0});class g{static{o(this,"Point")}constructor(y,I,w,v){this.X=A("x",y),this.Y=A("y",I),this.Z=A("z",w,!0),this.T=A("t",v),Object.freeze(this)}static CURVE(){return s}static fromAffine(y){if(y instanceof g)throw new Error("extended point not allowed");let{x:I,y:w}=y||{};return A("x",I),A("y",w),new g(I,w,nn,l(I*w))}static fromBytes(y,I=!1){let w=n.BYTES,{a:v,d:U}=s;y=kre(eo(y,w,"point")),Zu(I,"zip215");let H=kre(y),J=y[w-1];H[w-1]=J&-129;let q=eA(H),D=I?c:n.ORDER;Am("point.y",q,Al,D);let T=l(q*q),L=l(T-nn),z=l(U*T-v),{isValid:_,value:k}=u(L,z);if(!_)throw new Error("bad point: invalid y coordinate");let F=(k&nn)===nn,K=(J&128)!==0;if(!I&&k===Al&&K)throw new Error("bad point: x=0 and x_0=1");return K!==F&&(k=l(-k)),g.fromAffine({x:k,y:q})}static fromHex(y,I=!1){return g.fromBytes(nr("point",y),I)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}precompute(y=8,I=!0){return m.createCache(this,y),I||this.multiply(YT),this}assertValidity(){h(this)}equals(y){d(y);let{X:I,Y:w,Z:v}=this,{X:U,Y:H,Z:J}=y,q=l(I*J),D=l(U*v),T=l(w*J),L=l(H*v);return q===D&&T===L}is0(){return this.equals(g.ZERO)}negate(){return new g(l(-this.X),this.Y,this.Z,l(-this.T))}double(){let{a:y}=s,{X:I,Y:w,Z:v}=this,U=l(I*I),H=l(w*w),J=l(YT*l(v*v)),q=l(y*U),D=I+w,T=l(l(D*D)-U-H),L=q+H,z=L-J,_=q-H,k=l(T*z),F=l(L*_),K=l(T*_),Z=l(z*L);return new g(k,F,Z,K)}add(y){d(y);let{a:I,d:w}=s,{X:v,Y:U,Z:H,T:J}=this,{X:q,Y:D,Z:T,T:L}=y,z=l(v*q),_=l(U*D),k=l(J*w*L),F=l(H*T),K=l((v+U)*(q+D)-z-_),Z=F-k,W=F+k,te=l(_-I*z),ne=l(K*Z),ae=l(W*te),fe=l(K*te),le=l(Z*W);return new g(ne,ae,le,fe)}subtract(y){return this.add(y.negate())}multiply(y){if(!i.isValidNot0(y))throw new Error("invalid scalar: expected 1 <= sc < curve.n");let{p:I,f:w}=m.cached(this,y,v=>Yu(g,v));return Yu(g,[I,w])[0]}multiplyUnsafe(y,I=g.ZERO){if(!i.isValid(y))throw new Error("invalid scalar: expected 0 <= sc < curve.n");return y===Al?g.ZERO:this.is0()||y===nn?this:m.unsafe(this,y,w=>Yu(g,w),I)}isSmallOrder(){return this.multiplyUnsafe(a).is0()}isTorsionFree(){return m.unsafe(this,s.n).is0()}toAffine(y){return f(this,y)}clearCofactor(){return a===nn?this:this.multiplyUnsafe(a)}toBytes(){let{x:y,y:I}=this.toAffine(),w=n.toBytes(I);return w[w.length-1]|=y&nn?128:0,w}toHex(){return Vu(this.toBytes())}toString(){return``}get ex(){return this.X}get ey(){return this.Y}get ez(){return this.Z}get et(){return this.T}static normalizeZ(y){return Yu(g,y)}static msm(y,I){return Uie(g,i,y,I)}_setWindowSize(y){this.precompute(y)}toRawBytes(){return this.toBytes()}}g.BASE=new g(s.Gx,s.Gy,nn,l(s.Gx*s.Gy)),g.ZERO=new g(Al,nn,nn,Al),g.Fp=n,g.Fn=i;let m=new QB(g,i.BITS);return g.BASE.precompute(8),g}o(Xie,"edwards");function QWe(t,e,r={}){if(typeof e!="function")throw new Error('"hash" function param is required');ch(r,{},{adjustScalarBytes:"function",randomBytes:"function",domain:"function",prehash:"function",mapToCurve:"function"});let{prehash:n}=r,{BASE:i,Fp:s,Fn:a}=t,c=r.randomBytes||GB,l=r.adjustScalarBytes||(D=>D),u=r.domain||((D,T,L)=>{if(Zu(L,"phflag"),T.length||L)throw new Error("Contexts/pre-hash are not supported");return D});function A(D){return a.create(eA(D))}o(A,"modN_LE");function d(D){let T=w.secretKey;D=nr("private key",D,T);let L=nr("hashed private key",e(D),2*T),z=l(L.slice(0,T)),_=L.slice(T,2*T),k=A(z);return{head:z,prefix:_,scalar:k}}o(d,"getPrivateScalar");function f(D){let{head:T,prefix:L,scalar:z}=d(D),_=i.multiply(z),k=_.toBytes();return{head:T,prefix:L,scalar:z,point:_,pointBytes:k}}o(f,"getExtendedPublicKey");function h(D){return f(D).pointBytes}o(h,"getPublicKey");function g(D=Uint8Array.of(),...T){let L=Xs(...T);return A(e(u(L,nr("context",D),!!n)))}o(g,"hashDomainToScalar");function m(D,T,L={}){D=nr("message",D),n&&(D=n(D));let{prefix:z,scalar:_,pointBytes:k}=f(T),F=g(L.context,z,D),K=i.multiply(F).toBytes(),Z=g(L.context,K,k,D),W=a.create(F+Z*_);if(!a.isValid(W))throw new Error("sign failed: invalid s");let te=Xs(K,a.toBytes(W));return eo(te,w.signature,"result")}o(m,"sign");let b={zip215:!0};function y(D,T,L,z=b){let{context:_,zip215:k}=z,F=w.signature;D=nr("signature",D,F),T=nr("message",T),L=nr("publicKey",L,w.publicKey),k!==void 0&&Zu(k,"zip215"),n&&(T=n(T));let K=F/2,Z=D.subarray(0,K),W=eA(D.subarray(K,F)),te,ne,ae;try{te=t.fromBytes(L,k),ne=t.fromBytes(Z,k),ae=i.multiplyUnsafe(W)}catch{return!1}if(!k&&te.isSmallOrder())return!1;let fe=g(_,ne.toBytes(),te.toBytes(),T);return ne.add(te.multiplyUnsafe(fe)).subtract(ae).clearCofactor().is0()}o(y,"verify");let I=s.BYTES,w={secretKey:I,publicKey:I,signature:2*I,seed:I};function v(D=c(w.seed)){return eo(D,w.seed,"seed")}o(v,"randomSecretKey");function U(D){let T=q.randomSecretKey(D);return{secretKey:T,publicKey:h(T)}}o(U,"keygen");function H(D){return Im(D)&&D.length===a.BYTES}o(H,"isValidSecretKey");function J(D,T){try{return!!t.fromBytes(D,T)}catch{return!1}}o(J,"isValidPublicKey");let q={getExtendedPublicKey:f,randomSecretKey:v,isValidSecretKey:H,isValidPublicKey:J,toMontgomery(D){let{y:T}=t.fromBytes(D),L=w.publicKey,z=L===32;if(!z&&L!==57)throw new Error("only defined for 25519 and 448");let _=z?s.div(nn+T,nn-T):s.div(T-nn,T+nn);return s.toBytes(_)},toMontgomerySecret(D){let T=w.secretKey;eo(D,T);let L=e(D.subarray(0,T));return l(L).subarray(0,T)},randomPrivateKey:v,precompute(D=8,T=t.BASE){return T.precompute(D,!1)}};return Object.freeze({keygen:U,getPublicKey:h,sign:m,verify:y,utils:q,Point:t,lengths:w})}o(QWe,"eddsa");function SWe(t){let e={a:t.a,d:t.d,p:t.Fp.ORDER,n:t.n,h:t.h,Gx:t.Gx,Gy:t.Gy},r=t.Fp,n=Ci(e.n,t.nBitLength,!0),i={Fp:r,Fn:n,uvRatio:t.uvRatio},s={randomBytes:t.randomBytes,adjustScalarBytes:t.adjustScalarBytes,domain:t.domain,prehash:t.prehash,mapToCurve:t.mapToCurve};return{CURVE:e,curveOpts:i,hash:t.hash,eddsaOpts:s}}o(SWe,"_eddsa_legacy_opts_to_new");function NWe(t,e){let r=e.Point;return Object.assign({},e,{ExtendedPoint:r,CURVE:t,nBitLength:r.Fn.BITS,nByteLength:r.Fn.BYTES})}o(NWe,"_eddsa_new_output_to_legacy");function vWe(t){let{CURVE:e,curveOpts:r,hash:n,eddsaOpts:i}=SWe(t),s=Xie(e,r),a=QWe(s,n,i);return NWe(t,a)}o(vWe,"twistedEdwards");var jg=BigInt(0),Mf=BigInt(1),DI=BigInt(2);function RWe(t){return ch(t,{adjustScalarBytes:"function",powPminus2:"function"}),Object.freeze({...t})}o(RWe,"validateOpts");function PWe(t){let e=RWe(t),{P:r,type:n,adjustScalarBytes:i,powPminus2:s,randomBytes:a}=e,c=n==="x25519";if(!c&&n!=="x448")throw new Error("invalid type");let l=a||GB,u=c?255:448,A=c?32:56,d=BigInt(c?9:5),f=BigInt(c?121665:39081),h=c?DI**BigInt(254):DI**BigInt(447),g=c?BigInt(8)*DI**BigInt(251)-Mf:BigInt(4)*DI**BigInt(445)-Mf,m=h+g+Mf,b=o(_=>zr(_,r),"modP"),y=I(d);function I(_){return gM(b(_),A)}o(I,"encodeU");function w(_){let k=nr("u coordinate",_,A);return c&&(k[31]&=127),b(eA(k))}o(w,"decodeU");function v(_){return eA(i(nr("scalar",_,A)))}o(v,"decodeScalar");function U(_,k){let F=q(w(k),v(_));if(F===jg)throw new Error("invalid private or public key received");return I(F)}o(U,"scalarMult");function H(_){return U(_,y)}o(H,"scalarMultBase");function J(_,k,F){let K=b(_*(k-F));return k=b(k-K),F=b(F+K),{x_2:k,x_3:F}}o(J,"cswap");function q(_,k){Am("u",_,jg,r),Am("scalar",k,h,m);let F=k,K=_,Z=Mf,W=jg,te=_,ne=Mf,ae=jg;for(let le=BigInt(u-1);le>=jg;le--){let he=F>>le&Mf;ae^=he,{x_2:Z,x_3:te}=J(ae,Z,te),{x_2:W,x_3:ne}=J(ae,W,ne),ae=he;let ie=Z+W,Ae=b(ie*ie),xe=Z-W,ye=b(xe*xe),me=Ae-ye,Qe=te+ne,rt=te-ne,At=b(rt*ie),pt=b(Qe*xe),Ht=At+pt,Er=At-pt;te=b(Ht*Ht),ne=b(K*b(Er*Er)),Z=b(Ae*ye),W=b(me*(Ae+b(f*me)))}({x_2:Z,x_3:te}=J(ae,Z,te)),{x_2:W,x_3:ne}=J(ae,W,ne);let fe=s(W);return b(Z*fe)}o(q,"montgomeryLadder");let D={secretKey:A,publicKey:A,seed:A},T=o((_=l(A))=>(ra(_,D.seed),_),"randomSecretKey");function L(_){let k=T(_);return{secretKey:k,publicKey:H(k)}}return o(L,"keygen"),{keygen:L,getSharedSecret:o((_,k)=>U(_,k),"getSharedSecret"),getPublicKey:o(_=>H(_),"getPublicKey"),scalarMult:U,scalarMultBase:H,utils:{randomSecretKey:T,randomPrivateKey:T},GuBytes:y.slice(),lengths:D}}o(PWe,"montgomery");var sA={p:BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),n:BigInt("0x3fffffffffffffffffffffffffffffffffffffffffffffffffffffff7cca23e9c44edb49aed63690216cc2728dc58f552378c292ab5844f3"),h:BigInt(4),a:BigInt(1),d:BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffff6756"),Gx:BigInt("0x4f1970c66bed0ded221d15a622bf36da9e146570470f1767ea6de324a3d3a46412ae1af72ab66511433b80e18b00938e2626a82bc70cc05e"),Gy:BigInt("0x693f46716eb6bc248876203756c9c7624bea73736ca3984087789c1e05a0c2d73ad3ff1ce67c39c4fdbd132c4ed7c8ad9808795bf230fa14")},_We=Object.assign({},sA,{d:BigInt("0xd78b4bdc7f0daf19f24f38c29373a2ccad46157242a50f37809b1da3412a12e79ccc9c81264cfe9ad080997058fb61c4243cc32dbaa156b9"),Gx:BigInt("0x79a70b2b70400553ae7c9df416c792c61128751ac92969240c25a07d728bdc93e21f7787ed6972249de732f38496cd11698713093e9c04fc"),Gy:BigInt("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffff80000000000000000000000000000000000000000000000000000001")}),DWe=Za(()=>IWe.create({dkLen:114})),kWe=BigInt(1),DO=BigInt(2),Yre=BigInt(3);BigInt(4);var TWe=BigInt(11),OWe=BigInt(22),Kre=BigInt(44),MWe=BigInt(88),LWe=BigInt(223);function Zie(t){let e=sA.p,r=t*t*t%e,n=r*r*t%e,i=rr(n,Yre,e)*n%e,s=rr(i,Yre,e)*n%e,a=rr(s,DO,e)*r%e,c=rr(a,TWe,e)*a%e,l=rr(c,OWe,e)*c%e,u=rr(l,Kre,e)*l%e,A=rr(u,MWe,e)*u%e,d=rr(A,Kre,e)*l%e,f=rr(d,DO,e)*r%e,h=rr(f,kWe,e)*t%e;return rr(h,LWe,e)*f%e}o(Zie,"ed448_pow_Pminus3div4");function ese(t){return t[0]&=252,t[55]|=128,t[56]=0,t}o(ese,"adjustScalarBytes");function UWe(t,e){let r=sA.p,n=zr(t*t*e,r),i=zr(n*t,r),s=zr(i*n*e,r),a=Zie(s),c=zr(i*a,r),l=zr(c*c,r);return{isValid:zr(l*e,r)===t,value:c}}o(UWe,"uvRatio");var FWe=Ci(sA.p,{BITS:456,isLE:!0}),Jre=Ci(sA.n,{BITS:456,isLE:!0});function HWe(t,e,r){if(e.length>255)throw new Error("context must be smaller than 255, got: "+e.length);return Xs(mVe("SigEd448"),new Uint8Array([r?1:0,e.length]),e,t)}o(HWe,"dom4");var qWe={...sA,Fp:FWe,Fn:Jre,nBitLength:Jre.BITS,hash:DWe,adjustScalarBytes:ese,domain:HWe,uvRatio:UWe},zWe=vWe(qWe);Xie(_We);var GWe=(()=>{let t=sA.p;return PWe({P:t,type:"x448",powPminus2:o(e=>{let r=Zie(e),n=rr(r,DO,t);return zr(n*e,t)},"powPminus2"),adjustScalarBytes:ese})})();var EM={p:BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),n:BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),h:BigInt(1),a:BigInt(0),b:BigInt(7),Gx:BigInt("0x79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"),Gy:BigInt("0x483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8")},jWe={beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),basises:[[BigInt("0x3086d221a7d46bcde86c90e49284eb15"),-BigInt("0xe4437ed6010e88286f547fa90abfe4c3")],[BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),BigInt("0x3086d221a7d46bcde86c90e49284eb15")]]},Vre=BigInt(2);function YWe(t){let e=EM.p,r=BigInt(3),n=BigInt(6),i=BigInt(11),s=BigInt(22),a=BigInt(23),c=BigInt(44),l=BigInt(88),u=t*t*t%e,A=u*u*t%e,d=rr(A,r,e)*A%e,f=rr(d,r,e)*A%e,h=rr(f,Vre,e)*u%e,g=rr(h,i,e)*h%e,m=rr(g,s,e)*g%e,b=rr(m,c,e)*m%e,y=rr(b,l,e)*b%e,I=rr(y,c,e)*m%e,w=rr(I,r,e)*A%e,v=rr(w,a,e)*g%e,U=rr(v,n,e)*u%e,H=rr(U,Vre,e);if(!kO.eql(kO.sqr(H),t))throw new Error("Cannot find square root");return H}o(YWe,"sqrtMod");var kO=Ci(EM.p,{sqrt:YWe}),KWe=iA({...EM,Fp:kO,lowS:!0,endo:jWe},yM),tse=yM,JWe=GVe,rse=Ci(BigInt("0xa9fb57dba1eea9bc3e660a909d838d726e3bf623d52620282013481d1f6e5377")),VWe=rse.create(BigInt("0x7d5a0975fc2c3057eef67530417affe7fb8055c126dc5c6ce94a4b44f330b5d9")),WWe=BigInt("0x26dc5c6ce94a4b44f330b5d9bbd77cbf958416295cf7e1ce6bccdc18ff8c07b6"),$We=iA({a:VWe,b:WWe,Fp:rse,n:BigInt("0xa9fb57dba1eea9bc3e660a909d838d718c397aa3b561a6f7901e0e82974856a7"),Gx:BigInt("0x8bd2aeb9cb7e57cb2c4b482ffc81b7afb9de27e1e3bd23c23a4453bd9ace3262"),Gy:BigInt("0x547ef835c3dac4fd97f8461a14611dc9c27745132ded8e545c1d54c72f046997"),h:BigInt(1),lowS:!1},tse),nse=kie,ise=Tie,sse=Ci(BigInt("0x8cb91e82a3386d280f5d6f7e50e641df152f7109ed5456b412b1da197fb71123acd3a729901d1a71874700133107ec53")),XWe=sse.create(BigInt("0x7bc382c63d8c150c3c72080ace05afa0c2bea28e4fb22787139165efba91f90f8aa5814a503ad4eb04a8c7dd22ce2826")),ZWe=BigInt("0x04a8c7dd22ce28268b39b55416f0447c2fb77de107dcd2a62e880ea53eeb62d57cb4390295dbc9943ab78696fa504c11"),e$e=iA({a:XWe,b:ZWe,Fp:sse,n:BigInt("0x8cb91e82a3386d280f5d6f7e50e641df152f7109ed5456b31f166e6cac0425a7cf3ab6af6b7fc3103b883202e9046565"),Gx:BigInt("0x1d1c64f068cf45ffa2a63a81b7c13f6b8847a3e77ef14fe3db7fcafe0cbd10e8e826e03436d646aaef87b2e247d4af1e"),Gy:BigInt("0x8abe1d7520f9c2a45cb1eb8e95cfd55262b70b29feec5864e19c054ff99129280e4646217791811142820341263c5315"),h:BigInt(1),lowS:!1},ise),ose=Ci(BigInt("0xaadd9db8dbe9c48b3fd4e6ae33c9fc07cb308db3b3c9d20ed6639cca703308717d4d9b009bc66842aecda12ae6a380e62881ff2f2d82c68528aa6056583a48f3")),t$e=ose.create(BigInt("0x7830a3318b603b89e2327145ac234cc594cbdd8d3df91610a83441caea9863bc2ded5d5aa8253aa10a2ef1c98b9ac8b57f1117a72bf2c7b9e7c1ac4d77fc94ca")),r$e=BigInt("0x3df91610a83441caea9863bc2ded5d5aa8253aa10a2ef1c98b9ac8b57f1117a72bf2c7b9e7c1ac4d77fc94cadc083e67984050b75ebae5dd2809bd638016f723"),n$e=iA({a:t$e,b:r$e,Fp:ose,n:BigInt("0xaadd9db8dbe9c48b3fd4e6ae33c9fc07cb308db3b3c9d20ed6639cca70330870553e5c414ca92619418661197fac10471db1d381085ddaddb58796829ca90069"),Gx:BigInt("0x81aee4bdd82ed9645a21322e9c4c6a9385ed9f70b5d916c1b43b62eef4d0098eff3b1f78e2d0d48d50d1687b93b97d5f7c6d5047406a5e688b352209bcb9f822"),Gy:BigInt("0x7dde385d566332ecc0eabfa9cf7822fdf209f70024a57b1aa000c55b881f8111b2dcde494a5f485e5bca4bd88a2763aed1ca2b2fa8f0540678cd1e0f3ad80892"),h:BigInt(1),lowS:!1},nse),i$e=new Map(Object.entries({nistP256:lWe,nistP384:uWe,nistP521:AWe,brainpoolP256r1:$We,brainpoolP384r1:e$e,brainpoolP512r1:n$e,secp256k1:KWe,x448:GWe,ed448:zWe})),s$e=Object.freeze({__proto__:null,nobleCurves:i$e}),Yg=Uint32Array.from([1732584193,4023233417,2562383102,271733878,3285377520]),dl=new Uint32Array(80),TO=class extends tA{static{o(this,"SHA1")}constructor(){super(64,20,8,!1),this.A=Yg[0]|0,this.B=Yg[1]|0,this.C=Yg[2]|0,this.D=Yg[3]|0,this.E=Yg[4]|0}get(){let{A:e,B:r,C:n,D:i,E:s}=this;return[e,r,n,i,s]}set(e,r,n,i,s){this.A=e|0,this.B=r|0,this.C=n|0,this.D=i|0,this.E=s|0}process(e,r){for(let l=0;l<16;l++,r+=4)dl[l]=e.getUint32(r,!1);for(let l=16;l<80;l++)dl[l]=yl(dl[l-3]^dl[l-8]^dl[l-14]^dl[l-16],1);let{A:n,B:i,C:s,D:a,E:c}=this;for(let l=0;l<80;l++){let u,A;l<20?(u=Rie(i,s,a),A=1518500249):l<40?(u=i^s^a,A=1859775393):l<60?(u=Pie(i,s,a),A=2400959708):(u=i^s^a,A=3395469782);let d=yl(n,5)+u+c+A+dl[l]|0;c=a,a=s,s=yl(i,30),i=n,n=d}n=n+this.A|0,i=i+this.B|0,s=s+this.C|0,a=a+this.D|0,c=c+this.E|0,this.set(n,i,s,a,c)}roundClean(){Rs(dl)}destroy(){this.set(0,0,0,0,0),Rs(this.buffer)}},o$e=Za(()=>new TO),a$e=Uint8Array.from([7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8]),ase=Uint8Array.from(new Array(16).fill(0).map((t,e)=>e)),c$e=ase.map(t=>(9*t+5)%16),cse=(()=>{let r=[[ase],[c$e]];for(let n=0;n<4;n++)for(let i of r)i.push(i[n].map(s=>a$e[s]));return r})(),lse=cse[0],use=cse[1],Ase=[[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8],[12,13,11,15,6,9,9,7,12,15,11,13,7,8,7,7],[13,15,14,11,7,7,6,8,13,14,13,12,5,5,6,9],[14,11,12,14,8,6,5,5,15,12,15,14,9,9,8,6],[15,12,13,13,9,5,8,6,14,11,12,11,8,6,5,5]].map(t=>Uint8Array.from(t)),l$e=lse.map((t,e)=>t.map(r=>Ase[e][r])),u$e=use.map((t,e)=>t.map(r=>Ase[e][r])),A$e=Uint32Array.from([0,1518500249,1859775393,2400959708,2840853838]),d$e=Uint32Array.from([1352829926,1548603684,1836072691,2053994217,0]);function Wre(t,e,r,n){return t===0?e^r^n:t===1?e&r|~e&n:t===2?(e|~r)^n:t===3?e&n|r&~n:e^(r|~n)}o(Wre,"ripemd_f");var kI=new Uint32Array(16),OO=class extends tA{static{o(this,"RIPEMD160")}constructor(){super(64,20,8,!0),this.h0=1732584193,this.h1=-271733879,this.h2=-1732584194,this.h3=271733878,this.h4=-1009589776}get(){let{h0:e,h1:r,h2:n,h3:i,h4:s}=this;return[e,r,n,i,s]}set(e,r,n,i,s){this.h0=e|0,this.h1=r|0,this.h2=n|0,this.h3=i|0,this.h4=s|0}process(e,r){for(let h=0;h<16;h++,r+=4)kI[h]=e.getUint32(r,!0);let n=this.h0|0,i=n,s=this.h1|0,a=s,c=this.h2|0,l=c,u=this.h3|0,A=u,d=this.h4|0,f=d;for(let h=0;h<5;h++){let g=4-h,m=A$e[h],b=d$e[h],y=lse[h],I=use[h],w=l$e[h],v=u$e[h];for(let U=0;U<16;U++){let H=yl(n+Wre(h,s,c,u)+kI[y[U]]+m,w[U])+d|0;n=d,d=u,u=yl(c,10)|0,c=s,s=H}for(let U=0;U<16;U++){let H=yl(i+Wre(g,a,l,A)+kI[I[U]]+b,v[U])+f|0;i=f,f=A,A=yl(l,10)|0,l=a,a=H}}this.set(this.h1+c+A|0,this.h2+u+f|0,this.h3+d+i|0,this.h4+n+a|0,this.h0+s+l|0)}roundClean(){Rs(kI)}destroy(){this.destroyed=!0,Rs(this.buffer),this.set(0,0,0,0,0)}},f$e=Za(()=>new OO),h$e=o$e,p$e=f$e,g$e=Array.from({length:64},(t,e)=>Math.floor(2**32*Math.abs(Math.sin(e+1)))),$re=o((t,e,r)=>t&e^~t&r,"Chi"),TI=new Uint32Array([1732584193,4023233417,2562383102,271733878]),KT=new Uint32Array(16),MO=class extends tA{static{o(this,"MD5")}constructor(){super(64,16,8,!0),this.A=TI[0]|0,this.B=TI[1]|0,this.C=TI[2]|0,this.D=TI[3]|0}get(){let{A:e,B:r,C:n,D:i}=this;return[e,r,n,i]}set(e,r,n,i){this.A=e|0,this.B=r|0,this.C=n|0,this.D=i|0}process(e,r){for(let c=0;c<16;c++,r+=4)KT[c]=e.getUint32(r,!0);let{A:n,B:i,C:s,D:a}=this;for(let c=0;c<64;c++){let l,u,A;c<16?(l=$re(i,s,a),u=c,A=[7,12,17,22]):c<32?(l=$re(a,i,s),u=(5*c+1)%16,A=[5,9,14,20]):c<48?(l=i^s^a,u=(3*c+5)%16,A=[4,11,16,23]):(l=s^(i|~a),u=7*c%16,A=[6,10,15,21]),l=l+n+g$e[c]+KT[u],n=a,a=s,s=i,i=i+yl(l,A[c%4])}n=n+this.A|0,i=i+this.B|0,s=s+this.C|0,a=a+this.D|0,this.set(n,i,s,a)}roundClean(){KT.fill(0)}destroy(){this.set(0,0,0,0),this.buffer.fill(0)}},m$e=gVe(()=>new MO),y$e=new Map(Object.entries({md5:m$e,sha1:h$e,sha224:JWe,sha256:tse,sha384:ise,sha512:nse,sha3_256:bWe,sha3_512:CWe,ripemd160:p$e})),E$e=Object.freeze({__proto__:null,nobleHashes:y$e}),JT=Yi&&typeof Yi=="object"&&"webcrypto"in Yi?Yi.webcrypto:void 0,bi={},Re=o(function(t){var e,r=new Float64Array(16);if(t)for(e=0;e>24&255,t[e+1]=r>>16&255,t[e+2]=r>>8&255,t[e+3]=r&255,t[e+4]=n>>24&255,t[e+5]=n>>16&255,t[e+6]=n>>8&255,t[e+7]=n&255}o(ene,"ts64");function B$e(t,e,r,n,i){var s,a=0;for(s=0;s>>8)-1}o(B$e,"vn");function fse(t,e,r,n){return B$e(t,e,r,n,32)}o(fse,"crypto_verify_32");function El(t,e){var r;for(r=0;r<16;r++)t[r]=e[r]|0}o(El,"set25519");function VT(t){var e,r,n=1;for(e=0;e<16;e++)r=t[e]+n+65535,n=Math.floor(r/65536),t[e]=r-n*65536;t[0]+=n-1+37*(n-1)}o(VT,"car25519");function Gf(t,e,r){for(var n,i=~(r-1),s=0;s<16;s++)n=i&(t[s]^e[s]),t[s]^=n,e[s]^=n}o(Gf,"sel25519");function dm(t,e){var r,n,i,s=Re(),a=Re();for(r=0;r<16;r++)a[r]=e[r];for(VT(a),VT(a),VT(a),n=0;n<2;n++){for(s[0]=a[0]-65517,r=1;r<15;r++)s[r]=a[r]-65535-(s[r-1]>>16&1),s[r-1]&=65535;s[15]=a[15]-32767-(s[14]>>16&1),i=s[15]>>16&1,s[14]&=65535,Gf(a,s,1-i)}for(r=0;r<16;r++)t[2*r]=a[r]&255,t[2*r+1]=a[r]>>8}o(dm,"pack25519");function tne(t,e){var r=new Uint8Array(32),n=new Uint8Array(32);return dm(r,t),dm(n,e),fse(r,0,n,0)}o(tne,"neq25519");function hse(t){var e=new Uint8Array(32);return dm(e,t),e[0]&1}o(hse,"par25519");function pse(t,e){var r;for(r=0;r<16;r++)t[r]=e[2*r]+(e[2*r+1]<<8);t[15]&=32767}o(pse,"unpack25519");function Ko(t,e,r){for(var n=0;n<16;n++)t[n]=e[n]+r[n]}o(Ko,"A");function Vo(t,e,r){for(var n=0;n<16;n++)t[n]=e[n]-r[n]}o(Vo,"Z");function ut(t,e,r){var n,i,s=0,a=0,c=0,l=0,u=0,A=0,d=0,f=0,h=0,g=0,m=0,b=0,y=0,I=0,w=0,v=0,U=0,H=0,J=0,q=0,D=0,T=0,L=0,z=0,_=0,k=0,F=0,K=0,Z=0,W=0,te=0,ne=r[0],ae=r[1],fe=r[2],le=r[3],he=r[4],ie=r[5],Ae=r[6],xe=r[7],ye=r[8],me=r[9],Qe=r[10],rt=r[11],At=r[12],pt=r[13],Ht=r[14],Er=r[15];n=e[0],s+=n*ne,a+=n*ae,c+=n*fe,l+=n*le,u+=n*he,A+=n*ie,d+=n*Ae,f+=n*xe,h+=n*ye,g+=n*me,m+=n*Qe,b+=n*rt,y+=n*At,I+=n*pt,w+=n*Ht,v+=n*Er,n=e[1],a+=n*ne,c+=n*ae,l+=n*fe,u+=n*le,A+=n*he,d+=n*ie,f+=n*Ae,h+=n*xe,g+=n*ye,m+=n*me,b+=n*Qe,y+=n*rt,I+=n*At,w+=n*pt,v+=n*Ht,U+=n*Er,n=e[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or(n/65536),c=n-i*65536,n=l+i+65535,i=Math.floor(n/65536),l=n-i*65536,n=u+i+65535,i=Math.floor(n/65536),u=n-i*65536,n=A+i+65535,i=Math.floor(n/65536),A=n-i*65536,n=d+i+65535,i=Math.floor(n/65536),d=n-i*65536,n=f+i+65535,i=Math.floor(n/65536),f=n-i*65536,n=h+i+65535,i=Math.floor(n/65536),h=n-i*65536,n=g+i+65535,i=Math.floor(n/65536),g=n-i*65536,n=m+i+65535,i=Math.floor(n/65536),m=n-i*65536,n=b+i+65535,i=Math.floor(n/65536),b=n-i*65536,n=y+i+65535,i=Math.floor(n/65536),y=n-i*65536,n=I+i+65535,i=Math.floor(n/65536),I=n-i*65536,n=w+i+65535,i=Math.floor(n/65536),w=n-i*65536,n=v+i+65535,i=Math.floor(n/65536),v=n-i*65536,s+=i-1+37*(i-1),i=1,n=s+i+65535,i=Math.floor(n/65536),s=n-i*65536,n=a+i+65535,i=Math.floor(n/65536),a=n-i*65536,n=c+i+65535,i=Math.floor(n/65536),c=n-i*65536,n=l+i+65535,i=Math.floor(n/65536),l=n-i*65536,n=u+i+65535,i=Math.floor(n/65536),u=n-i*65536,n=A+i+65535,i=Math.floor(n/65536),A=n-i*65536,n=d+i+65535,i=Math.floor(n/65536),d=n-i*65536,n=f+i+65535,i=Math.floor(n/65536),f=n-i*65536,n=h+i+65535,i=Math.floor(n/65536),h=n-i*65536,n=g+i+65535,i=Math.floor(n/65536),g=n-i*65536,n=m+i+65535,i=Math.floor(n/65536),m=n-i*65536,n=b+i+65535,i=Math.floor(n/65536),b=n-i*65536,n=y+i+65535,i=Math.floor(n/65536),y=n-i*65536,n=I+i+65535,i=Math.floor(n/65536),I=n-i*65536,n=w+i+65535,i=Math.floor(n/65536),w=n-i*65536,n=v+i+65535,i=Math.floor(n/65536),v=n-i*65536,s+=i-1+37*(i-1),t[0]=s,t[1]=a,t[2]=c,t[3]=l,t[4]=u,t[5]=A,t[6]=d,t[7]=f,t[8]=h,t[9]=g,t[10]=m,t[11]=b,t[12]=y,t[13]=I,t[14]=w,t[15]=v}o(ut,"M");function Zs(t,e){ut(t,e,e)}o(Zs,"S");function gse(t,e){var r=Re(),n;for(n=0;n<16;n++)r[n]=e[n];for(n=253;n>=0;n--)Zs(r,r),n!==2&&n!==4&&ut(r,r,e);for(n=0;n<16;n++)t[n]=r[n]}o(gse,"inv25519");function w$e(t,e){var r=Re(),n;for(n=0;n<16;n++)r[n]=e[n];for(n=250;n>=0;n--)Zs(r,r),n!==1&&ut(r,r,e);for(n=0;n<16;n++)t[n]=r[n]}o(w$e,"pow2523");function mse(t,e,r){var n=new Uint8Array(32),i=new Float64Array(80),s,a,c=Re(),l=Re(),u=Re(),A=Re(),d=Re(),f=Re();for(a=0;a<31;a++)n[a]=e[a];for(n[31]=e[31]&127|64,n[0]&=248,pse(i,r),a=0;a<16;a++)l[a]=i[a],A[a]=c[a]=u[a]=0;for(c[0]=A[0]=1,a=254;a>=0;--a)s=n[a>>>3]>>>(a&7)&1,Gf(c,l,s),Gf(u,A,s),Ko(d,c,u),Vo(c,c,u),Ko(u,l,A),Vo(l,l,A),Zs(A,d),Zs(f,c),ut(c,u,c),ut(u,l,d),Ko(d,c,u),Vo(c,c,u),Zs(l,c),Vo(u,A,f),ut(c,u,b$e),Ko(c,c,A),ut(u,u,c),ut(c,A,f),ut(A,l,i),Zs(l,d),Gf(c,l,s),Gf(u,A,s);for(a=0;a<16;a++)i[a+16]=c[a],i[a+32]=u[a],i[a+48]=l[a],i[a+64]=A[a];var h=i.subarray(32),g=i.subarray(16);return gse(h,h),ut(g,g,h),dm(t,g),0}o(mse,"crypto_scalarmult");function yse(t,e){return mse(t,e,dse)}o(yse,"crypto_scalarmult_base");function Q$e(t,e){return bM(e,32),yse(t,e)}o(Q$e,"crypto_box_keypair");var rne=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function nne(t,e,r,n){for(var i=new Int32Array(16),s=new Int32Array(16),a,c,l,u,A,d,f,h,g,m,b,y,I,w,v,U,H,J,q,D,T,L,z,_,k,F,K=t[0],Z=t[1],W=t[2],te=t[3],ne=t[4],ae=t[5],fe=t[6],le=t[7],he=e[0],ie=e[1],Ae=e[2],xe=e[3],ye=e[4],me=e[5],Qe=e[6],rt=e[7],At=0;n>=128;){for(q=0;q<16;q++)D=8*q+At,i[q]=r[D+0]<<24|r[D+1]<<16|r[D+2]<<8|r[D+3],s[q]=r[D+4]<<24|r[D+5]<<16|r[D+6]<<8|r[D+7];for(q=0;q<80;q++)if(a=K,c=Z,l=W,u=te,A=ne,d=ae,f=fe,h=le,g=he,m=ie,b=Ae,y=xe,I=ye,w=me,v=Qe,U=rt,T=le,L=rt,z=L&65535,_=L>>>16,k=T&65535,F=T>>>16,T=(ne>>>14|ye<<18)^(ne>>>18|ye<<14)^(ye>>>9|ne<<23),L=(ye>>>14|ne<<18)^(ye>>>18|ne<<14)^(ne>>>9|ye<<23),z+=L&65535,_+=L>>>16,k+=T&65535,F+=T>>>16,T=ne&ae^~ne&fe,L=ye&me^~ye&Qe,z+=L&65535,_+=L>>>16,k+=T&65535,F+=T>>>16,T=rne[q*2],L=rne[q*2+1],z+=L&65535,_+=L>>>16,k+=T&65535,F+=T>>>16,T=i[q%16],L=s[q%16],z+=L&65535,_+=L>>>16,k+=T&65535,F+=T>>>16,_+=z>>>16,k+=_>>>16,F+=k>>>16,H=k&65535|F<<16,J=z&65535|_<<16,T=H,L=J,z=L&65535,_=L>>>16,k=T&65535,F=T>>>16,T=(K>>>28|he<<4)^(he>>>2|K<<30)^(he>>>7|K<<25),L=(he>>>28|K<<4)^(K>>>2|he<<30)^(K>>>7|he<<25),z+=L&65535,_+=L>>>16,k+=T&65535,F+=T>>>16,T=K&Z^K&W^Z&W,L=he&ie^he&Ae^ie&Ae,z+=L&65535,_+=L>>>16,k+=T&65535,F+=T>>>16,_+=z>>>16,k+=_>>>16,F+=k>>>16,h=k&65535|F<<16,U=z&65535|_<<16,T=u,L=y,z=L&65535,_=L>>>16,k=T&65535,F=T>>>16,T=H,L=J,z+=L&65535,_+=L>>>16,k+=T&65535,F+=T>>>16,_+=z>>>16,k+=_>>>16,F+=k>>>16,u=k&65535|F<<16,y=z&65535|_<<16,Z=a,W=c,te=l,ne=u,ae=A,fe=d,le=f,K=h,ie=g,Ae=m,xe=b,ye=y,me=I,Qe=w,rt=v,he=U,q%16===15)for(D=0;D<16;D++)T=i[D],L=s[D],z=L&65535,_=L>>>16,k=T&65535,F=T>>>16,T=i[(D+9)%16],L=s[(D+9)%16],z+=L&65535,_+=L>>>16,k+=T&65535,F+=T>>>16,H=i[(D+1)%16],J=s[(D+1)%16],T=(H>>>1|J<<31)^(H>>>8|J<<24)^H>>>7,L=(J>>>1|H<<31)^(J>>>8|H<<24)^(J>>>7|H<<25),z+=L&65535,_+=L>>>16,k+=T&65535,F+=T>>>16,H=i[(D+14)%16],J=s[(D+14)%16],T=(H>>>19|J<<13)^(J>>>29|H<<3)^H>>>6,L=(J>>>19|H<<13)^(H>>>29|J<<3)^(J>>>6|H<<26),z+=L&65535,_+=L>>>16,k+=T&65535,F+=T>>>16,_+=z>>>16,k+=_>>>16,F+=k>>>16,i[D]=k&65535|F<<16,s[D]=z&65535|_<<16;T=K,L=he,z=L&65535,_=L>>>16,k=T&65535,F=T>>>16,T=t[0],L=e[0],z+=L&65535,_+=L>>>16,k+=T&65535,F+=T>>>16,_+=z>>>16,k+=_>>>16,F+=k>>>16,t[0]=K=k&65535|F<<16,e[0]=he=z&65535|_<<16,T=Z,L=ie,z=L&65535,_=L>>>16,k=T&65535,F=T>>>16,T=t[1],L=e[1],z+=L&65535,_+=L>>>16,k+=T&65535,F+=T>>>16,_+=z>>>16,k+=_>>>16,F+=k>>>16,t[1]=Z=k&65535|F<<16,e[1]=ie=z&65535|_<<16,T=W,L=Ae,z=L&65535,_=L>>>16,k=T&65535,F=T>>>16,T=t[2],L=e[2],z+=L&65535,_+=L>>>16,k+=T&65535,F+=T>>>16,_+=z>>>16,k+=_>>>16,F+=k>>>16,t[2]=W=k&65535|F<<16,e[2]=Ae=z&65535|_<<16,T=te,L=xe,z=L&65535,_=L>>>16,k=T&65535,F=T>>>16,T=t[3],L=e[3],z+=L&65535,_+=L>>>16,k+=T&65535,F+=T>>>16,_+=z>>>16,k+=_>>>16,F+=k>>>16,t[3]=te=k&65535|F<<16,e[3]=xe=z&65535|_<<16,T=ne,L=ye,z=L&65535,_=L>>>16,k=T&65535,F=T>>>16,T=t[4],L=e[4],z+=L&65535,_+=L>>>16,k+=T&65535,F+=T>>>16,_+=z>>>16,k+=_>>>16,F+=k>>>16,t[4]=ne=k&65535|F<<16,e[4]=ye=z&65535|_<<16,T=ae,L=me,z=L&65535,_=L>>>16,k=T&65535,F=T>>>16,T=t[5],L=e[5],z+=L&65535,_+=L>>>16,k+=T&65535,F+=T>>>16,_+=z>>>16,k+=_>>>16,F+=k>>>16,t[5]=ae=k&65535|F<<16,e[5]=me=z&65535|_<<16,T=fe,L=Qe,z=L&65535,_=L>>>16,k=T&65535,F=T>>>16,T=t[6],L=e[6],z+=L&65535,_+=L>>>16,k+=T&65535,F+=T>>>16,_+=z>>>16,k+=_>>>16,F+=k>>>16,t[6]=fe=k&65535|F<<16,e[6]=Qe=z&65535|_<<16,T=le,L=rt,z=L&65535,_=L>>>16,k=T&65535,F=T>>>16,T=t[7],L=e[7],z+=L&65535,_+=L>>>16,k+=T&65535,F+=T>>>16,_+=z>>>16,k+=_>>>16,F+=k>>>16,t[7]=le=k&65535|F<<16,e[7]=rt=z&65535|_<<16,At+=128,n-=128}return n}o(nne,"crypto_hashblocks_hl");function em(t,e,r){var n=new Int32Array(8),i=new Int32Array(8),s=new Uint8Array(256),a,c=r;for(n[0]=1779033703,n[1]=3144134277,n[2]=1013904242,n[3]=2773480762,n[4]=1359893119,n[5]=2600822924,n[6]=528734635,n[7]=1541459225,i[0]=4089235720,i[1]=2227873595,i[2]=4271175723,i[3]=1595750129,i[4]=2917565137,i[5]=725511199,i[6]=4215389547,i[7]=327033209,nne(n,i,e,r),r%=128,a=0;a=0;--i)n=r[i/8|0]>>(i&7)&1,ine(t,e,n),UO(e,t),UO(t,t),ine(t,e,n)}o(Ese,"scalarmult");function xM(t,e){var r=[Re(),Re(),Re(),Re()];El(r[0],Xre),El(r[1],Zre),El(r[2],NB),ut(r[3],Xre,Zre),Ese(t,r,e)}o(xM,"scalarbase");function bse(t,e,r){var n=new Uint8Array(64),i=[Re(),Re(),Re(),Re()],s;for(r||bM(e,32),em(n,e,32),n[0]&=248,n[31]&=127,n[31]|=64,xM(i,n),CM(t,i),s=0;s<32;s++)e[s+32]=t[s];return 0}o(bse,"crypto_sign_keypair");var WT=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function Cse(t,e){var r,n,i,s;for(n=63;n>=32;--n){for(r=0,i=n-32,s=n-12;i>4)*WT[i],r=e[i]>>8,e[i]&=255;for(i=0;i<32;i++)e[i]-=r*WT[i];for(n=0;n<32;n++)e[n+1]+=e[n]>>8,t[n]=e[n]&255}o(Cse,"modL");function FO(t){var e=new Float64Array(64),r;for(r=0;r<64;r++)e[r]=t[r];for(r=0;r<64;r++)t[r]=0;Cse(t,e)}o(FO,"reduce");function S$e(t,e,r,n){var i=new Uint8Array(64),s=new Uint8Array(64),a=new Uint8Array(64),c,l,u=new Float64Array(64),A=[Re(),Re(),Re(),Re()];em(i,n,32),i[0]&=248,i[31]&=127,i[31]|=64;var d=r+64;for(c=0;c>7&&Vo(t[0],LO,t[0]),ut(t[3],t[0],t[1]),0)}o(N$e,"unpackneg");function v$e(t,e,r,n){var i,s=new Uint8Array(32),a=new Uint8Array(64),c=[Re(),Re(),Re(),Re()],l=[Re(),Re(),Re(),Re()];if(r<64||N$e(l,n))return-1;for(i=0;i=0};bi.sign.keyPair=function(){var t=new Uint8Array(YB),e=new Uint8Array(KB);return bse(t,e),{publicKey:t,secretKey:e}};bi.sign.keyPair.fromSecretKey=function(t){if(lh(t),t.length!==KB)throw new Error("bad secret key size");for(var e=new Uint8Array(YB),r=0;r>>4^U)&252645135,U^=y,v^=y<<4,y=(v>>>16^U)&65535,U^=y,v^=y<<16,y=(U>>>2^v)&858993459,v^=y,U^=y<<2,y=(U>>>8^v)&16711935,v^=y,U^=y<<8,y=(v>>>1^U)&1431655765,U^=y,v^=y<<1,v=v<<1|v>>>31,U=U<<1|U>>>31,b=0;b>>4|U<<28)^t[m+1],y=v,v=U,U=y^(c[I>>>24&63]|u[I>>>16&63]|d[I>>>8&63]|h[I&63]|a[w>>>24&63]|l[w>>>16&63]|A[w>>>8&63]|f[w&63]);y=v,v=U,U=y}v=v>>>1|v<<31,U=U>>>1|U<<31,y=(v>>>1^U)&1431655765,U^=y,v^=y<<1,y=(U>>>8^v)&16711935,v^=y,U^=y<<8,y=(U>>>2^v)&858993459,v^=y,U^=y<<2,y=(v>>>16^U)&65535,U^=y,v^=y<<16,y=(v>>>4^U)&252645135,U^=y,v^=y<<4,L[z++]=v>>>24,L[z++]=v>>>16&255,L[z++]=v>>>8&255,L[z++]=v&255,L[z++]=U>>>24,L[z++]=U>>>16&255,L[z++]=U>>>8&255,L[z++]=U&255}return r||(L=k$e(L)),L}o($T,"des");function XT(t){let e=[0,4,536870912,536870916,65536,65540,536936448,536936452,512,516,536871424,536871428,66048,66052,536936960,536936964],r=[0,1,1048576,1048577,67108864,67108865,68157440,68157441,256,257,1048832,1048833,67109120,67109121,68157696,68157697],n=[0,8,2048,2056,16777216,16777224,16779264,16779272,0,8,2048,2056,16777216,16777224,16779264,16779272],i=[0,2097152,134217728,136314880,8192,2105344,134225920,136323072,131072,2228224,134348800,136445952,139264,2236416,134356992,136454144],s=[0,262144,16,262160,0,262144,16,262160,4096,266240,4112,266256,4096,266240,4112,266256],a=[0,1024,32,1056,0,1024,32,1056,33554432,33555456,33554464,33555488,33554432,33555456,33554464,33555488],c=[0,268435456,524288,268959744,2,268435458,524290,268959746,0,268435456,524288,268959744,2,268435458,524290,268959746],l=[0,65536,2048,67584,536870912,536936448,536872960,536938496,131072,196608,133120,198656,537001984,537067520,537004032,537069568],u=[0,262144,0,262144,2,262146,2,262146,33554432,33816576,33554432,33816576,33554434,33816578,33554434,33816578],A=[0,268435456,8,268435464,0,268435456,8,268435464,1024,268436480,1032,268436488,1024,268436480,1032,268436488],d=[0,32,0,32,1048576,1048608,1048576,1048608,8192,8224,8192,8224,1056768,1056800,1056768,1056800],f=[0,16777216,512,16777728,2097152,18874368,2097664,18874880,67108864,83886080,67109376,83886592,69206016,85983232,69206528,85983744],h=[0,4096,134217728,134221824,524288,528384,134742016,134746112,16,4112,134217744,134221840,524304,528400,134742032,134746128],g=[0,4,256,260,0,4,256,260,1,5,257,261,1,5,257,261],m=t.length>8?3:1,b=new Array(32*m),y=[0,0,1,1,1,1,1,1,0,1,1,1,1,1,1,0],I,w,v=0,U=0,H;for(let J=0;J>>4^D)&252645135,D^=H,q^=H<<4,H=(D>>>-16^q)&65535,q^=H,D^=H<<-16,H=(q>>>2^D)&858993459,D^=H,q^=H<<2,H=(D>>>-16^q)&65535,q^=H,D^=H<<-16,H=(q>>>1^D)&1431655765,D^=H,q^=H<<1,H=(D>>>8^q)&16711935,q^=H,D^=H<<8,H=(q>>>1^D)&1431655765,D^=H,q^=H<<1,H=q<<8|D>>>20&240,q=D<<24|D<<8&16711680|D>>>8&65280|D>>>24&240,D=H;for(let T=0;T>>26,D=D<<2|D>>>26):(q=q<<1|q>>>27,D=D<<1|D>>>27),q&=-15,D&=-15,I=e[q>>>28]|r[q>>>24&15]|n[q>>>20&15]|i[q>>>16&15]|s[q>>>12&15]|a[q>>>8&15]|c[q>>>4&15],w=l[D>>>28]|u[D>>>24&15]|A[D>>>20&15]|d[D>>>16&15]|f[D>>>12&15]|h[D>>>8&15]|g[D>>>4&15],H=(w>>>16^I)&65535,b[U++]=I^H,b[U++]=w^H<<16}return b}o(XT,"desCreateKeys");function D$e(t,e){let r=8-t.length%8,n;if(r<8)n=0;else{if(r===8)return t;throw new Error("des: invalid padding")}let i=new Uint8Array(t.length+r);for(let s=0;s>>24&255,c[l+1]=A>>>16&255,c[l+2]=A>>>8&255,c[l+3]=A&255,c[l+4]=u>>>24&255,c[l+5]=u>>>16&255,c[l+6]=u>>>8&255,c[l+7]=u&255}return c},this.decrypt=function(a){let c=new Array(a.length);for(let l=0;l>>24&255,c[l+1]=A>>>16&255,c[l+2]=A>>>8&255,c[l+3]=A&255,c[l+4]=u>>>24&255,c[l+5]=u>>16&255,c[l+6]=u>>8&255,c[l+7]=u&255}return c};let t=new Array(4);t[0]=new Array(4),t[0][0]=[4,0,13,15,12,14,8],t[0][1]=[5,2,16,18,17,19,10],t[0][2]=[6,3,23,22,21,20,9],t[0][3]=[7,1,26,25,27,24,11],t[1]=new Array(4),t[1][0]=[0,6,21,23,20,22,16],t[1][1]=[1,4,0,2,1,3,18],t[1][2]=[2,5,7,6,5,4,17],t[1][3]=[3,7,10,9,11,8,19],t[2]=new Array(4),t[2][0]=[4,0,13,15,12,14,8],t[2][1]=[5,2,16,18,17,19,10],t[2][2]=[6,3,23,22,21,20,9],t[2][3]=[7,1,26,25,27,24,11],t[3]=new Array(4),t[3][0]=[0,6,21,23,20,22,16],t[3][1]=[1,4,0,2,1,3,18],t[3][2]=[2,5,7,6,5,4,17],t[3][3]=[3,7,10,9,11,8,19];let e=new Array(4);e[0]=new Array(4),e[0][0]=[24,25,23,22,18],e[0][1]=[26,27,21,20,22],e[0][2]=[28,29,19,18,25],e[0][3]=[30,31,17,16,28],e[1]=new Array(4),e[1][0]=[3,2,12,13,8],e[1][1]=[1,0,14,15,13],e[1][2]=[7,6,8,9,3],e[1][3]=[5,4,10,11,7],e[2]=new Array(4),e[2][0]=[19,18,28,29,25],e[2][1]=[17,16,30,31,28],e[2][2]=[23,22,24,25,18],e[2][3]=[21,20,26,27,22],e[3]=new Array(4),e[3][0]=[8,9,7,6,3],e[3][1]=[10,11,5,4,7],e[3][2]=[12,13,3,2,8],e[3][3]=[14,15,1,0,13],this.keySchedule=function(a){let c=new Array(8),l=new Array(32),u;for(let h=0;h<4;h++)u=h*4,c[h]=a[u]<<24|a[u+1]<<16|a[u+2]<<8|a[u+3];let A=[6,7,4,5],d=0,f;for(let h=0;h<2;h++)for(let g=0;g<4;g++){for(u=0;u<4;u++){let m=t[g][u];f=c[m[1]],f^=s[4][c[m[2]>>>2]>>>24-8*(m[2]&3)&255],f^=s[5][c[m[3]>>>2]>>>24-8*(m[3]&3)&255],f^=s[6][c[m[4]>>>2]>>>24-8*(m[4]&3)&255],f^=s[7][c[m[5]>>>2]>>>24-8*(m[5]&3)&255],f^=s[A[u]][c[m[6]>>>2]>>>24-8*(m[6]&3)&255],c[m[0]]=f}for(u=0;u<4;u++){let m=e[g][u];f=s[4][c[m[0]>>>2]>>>24-8*(m[0]&3)&255],f^=s[5][c[m[1]>>>2]>>>24-8*(m[1]&3)&255],f^=s[6][c[m[2]>>>2]>>>24-8*(m[2]&3)&255],f^=s[7][c[m[3]>>>2]>>>24-8*(m[3]&3)&255],f^=s[4+u][c[m[4]>>>2]>>>24-8*(m[4]&3)&255],l[d]=f,d++}}for(let h=0;h<16;h++)this.masking[h]=l[h],this.rotate[h]=l[16+h]&31};function r(a,c,l){let u=c+a,A=u<>>32-l;return(s[0][A>>>24]^s[1][A>>>16&255])-s[2][A>>>8&255]+s[3][A&255]}o(r,"f1");function n(a,c,l){let u=c^a,A=u<>>32-l;return s[0][A>>>24]-s[1][A>>>16&255]+s[2][A>>>8&255]^s[3][A&255]}o(n,"f2");function i(a,c,l){let u=c-a,A=u<>>32-l;return(s[0][A>>>24]+s[1][A>>>16&255]^s[2][A>>>8&255])-s[3][A&255]}o(i,"f3");let s=new Array(8);s[0]=[821772500,2678128395,1810681135,1059425402,505495343,2617265619,1610868032,3483355465,3218386727,2294005173,3791863952,2563806837,1852023008,365126098,3269944861,584384398,677919599,3229601881,4280515016,2002735330,1136869587,3744433750,2289869850,2731719981,2714362070,879511577,1639411079,575934255,717107937,2857637483,576097850,2731753936,1725645e3,2810460463,5111599,767152862,2543075244,1251459544,1383482551,3052681127,3089939183,3612463449,1878520045,1510570527,2189125840,2431448366,582008916,3163445557,1265446783,1354458274,3529918736,3202711853,3073581712,3912963487,3029263377,1275016285,4249207360,2905708351,3304509486,1442611557,3585198765,2712415662,2731849581,3248163920,2283946226,208555832,2766454743,1331405426,1447828783,3315356441,3108627284,2957404670,2981538698,3339933917,1669711173,286233437,1465092821,1782121619,3862771680,710211251,980974943,1651941557,430374111,2051154026,704238805,4128970897,3144820574,2857402727,948965521,3333752299,2227686284,718756367,2269778983,2731643755,718440111,2857816721,3616097120,1113355533,2478022182,410092745,1811985197,1944238868,2696854588,1415722873,1682284203,1060277122,1998114690,1503841958,82706478,2315155686,1068173648,845149890,2167947013,1768146376,1993038550,3566826697,3390574031,940016341,3355073782,2328040721,904371731,1205506512,4094660742,2816623006,825647681,85914773,2857843460,1249926541,1417871568,3287612,3211054559,3126306446,1975924523,1353700161,2814456437,2438597621,1800716203,722146342,2873936343,1151126914,4160483941,2877670899,458611604,2866078500,3483680063,770352098,2652916994,3367839148,3940505011,3585973912,3809620402,718646636,2504206814,2914927912,3631288169,2857486607,2860018678,575749918,2857478043,718488780,2069512688,3548183469,453416197,1106044049,3032691430,52586708,3378514636,3459808877,3211506028,1785789304,218356169,3571399134,3759170522,1194783844,1523787992,3007827094,1975193539,2555452411,1341901877,3045838698,3776907964,3217423946,2802510864,2889438986,1057244207,1636348243,3761863214,1462225785,2632663439,481089165,718503062,24497053,3332243209,3344655856,3655024856,3960371065,1195698900,2971415156,3710176158,2115785917,4027663609,3525578417,2524296189,2745972565,3564906415,1372086093,1452307862,2780501478,1476592880,3389271281,18495466,2378148571,901398090,891748256,3279637769,3157290713,2560960102,1447622437,4284372637,216884176,2086908623,1879786977,3588903153,2242455666,2938092967,3559082096,2810645491,758861177,1121993112,215018983,642190776,4169236812,1196255959,2081185372,3508738393,941322904,4124243163,2877523539,1848581667,2205260958,3180453958,2589345134,3694731276,550028657,2519456284,3789985535,2973870856,2093648313,443148163,46942275,2734146937,1117713533,1115362972,1523183689,3717140224,1551984063],s[1]=[522195092,4010518363,1776537470,960447360,4267822970,4005896314,1435016340,1929119313,2913464185,1310552629,3579470798,3724818106,2579771631,1594623892,417127293,2715217907,2696228731,1508390405,3994398868,3925858569,3695444102,4019471449,3129199795,3770928635,3520741761,990456497,4187484609,2783367035,21106139,3840405339,631373633,3783325702,532942976,396095098,3548038825,4267192484,2564721535,2011709262,2039648873,620404603,3776170075,2898526339,3612357925,4159332703,1645490516,223693667,1567101217,3362177881,1029951347,3470931136,3570957959,1550265121,119497089,972513919,907948164,3840628539,1613718692,3594177948,465323573,2659255085,654439692,2575596212,2699288441,3127702412,277098644,624404830,4100943870,2717858591,546110314,2403699828,3655377447,1321679412,4236791657,1045293279,4010672264,895050893,2319792268,494945126,1914543101,2777056443,3894764339,2219737618,311263384,4275257268,3458730721,669096869,3584475730,3835122877,3319158237,3949359204,2005142349,2713102337,2228954793,3769984788,569394103,3855636576,1425027204,108000370,2736431443,3671869269,3043122623,1750473702,2211081108,762237499,3972989403,2798899386,3061857628,2943854345,867476300,964413654,1591880597,1594774276,2179821409,552026980,3026064248,3726140315,2283577634,3110545105,2152310760,582474363,1582640421,1383256631,2043843868,3322775884,1217180674,463797851,2763038571,480777679,2718707717,2289164131,3118346187,214354409,200212307,3810608407,3025414197,2674075964,3997296425,1847405948,1342460550,510035443,4080271814,815934613,833030224,1620250387,1945732119,2703661145,3966000196,1388869545,3456054182,2687178561,2092620194,562037615,1356438536,3409922145,3261847397,1688467115,2150901366,631725691,3840332284,549916902,3455104640,394546491,837744717,2114462948,751520235,2221554606,2415360136,3999097078,2063029875,803036379,2702586305,821456707,3019566164,360699898,4018502092,3511869016,3677355358,2402471449,812317050,49299192,2570164949,3259169295,2816732080,3331213574,3101303564,2156015656,3705598920,3546263921,143268808,3200304480,1638124008,3165189453,3341807610,578956953,2193977524,3638120073,2333881532,807278310,658237817,2969561766,1641658566,11683945,3086995007,148645947,1138423386,4158756760,1981396783,2401016740,3699783584,380097457,2680394679,2803068651,3334260286,441530178,4016580796,1375954390,761952171,891809099,2183123478,157052462,3683840763,1592404427,341349109,2438483839,1417898363,644327628,2233032776,2353769706,2201510100,220455161,1815641738,182899273,2995019788,3627381533,3702638151,2890684138,1052606899,588164016,1681439879,4038439418,2405343923,4229449282,167996282,1336969661,1688053129,2739224926,1543734051,1046297529,1138201970,2121126012,115334942,1819067631,1902159161,1941945968,2206692869,1159982321],s[2]=[2381300288,637164959,3952098751,3893414151,1197506559,916448331,2350892612,2932787856,3199334847,4009478890,3905886544,1373570990,2450425862,4037870920,3778841987,2456817877,286293407,124026297,3001279700,1028597854,3115296800,4208886496,2691114635,2188540206,1430237888,1218109995,3572471700,308166588,570424558,2187009021,2455094765,307733056,1310360322,3135275007,1384269543,2388071438,863238079,2359263624,2801553128,3380786597,2831162807,1470087780,1728663345,4072488799,1090516929,532123132,2389430977,1132193179,2578464191,3051079243,1670234342,1434557849,2711078940,1241591150,3314043432,3435360113,3091448339,1812415473,2198440252,267246943,796911696,3619716990,38830015,1526438404,2806502096,374413614,2943401790,1489179520,1603809326,1920779204,168801282,260042626,2358705581,1563175598,2397674057,1356499128,2217211040,514611088,2037363785,2186468373,4022173083,2792511869,2913485016,1173701892,4200428547,3896427269,1334932762,2455136706,602925377,2835607854,1613172210,41346230,2499634548,2457437618,2188827595,41386358,4172255629,1313404830,2405527007,3801973774,2217704835,873260488,2528884354,2478092616,4012915883,2555359016,2006953883,2463913485,575479328,2218240648,2099895446,660001756,2341502190,3038761536,3888151779,3848713377,3286851934,1022894237,1620365795,3449594689,1551255054,15374395,3570825345,4249311020,4151111129,3181912732,310226346,1133119310,530038928,136043402,2476768958,3107506709,2544909567,1036173560,2367337196,1681395281,1758231547,3641649032,306774401,1575354324,3716085866,1990386196,3114533736,2455606671,1262092282,3124342505,2768229131,4210529083,1833535011,423410938,660763973,2187129978,1639812e3,3508421329,3467445492,310289298,272797111,2188552562,2456863912,310240523,677093832,1013118031,901835429,3892695601,1116285435,3036471170,1337354835,243122523,520626091,277223598,4244441197,4194248841,1766575121,594173102,316590669,742362309,3536858622,4176435350,3838792410,2501204839,1229605004,3115755532,1552908988,2312334149,979407927,3959474601,1148277331,176638793,3614686272,2083809052,40992502,1340822838,2731552767,3535757508,3560899520,1354035053,122129617,7215240,2732932949,3118912700,2718203926,2539075635,3609230695,3725561661,1928887091,2882293555,1988674909,2063640240,2491088897,1459647954,4189817080,2302804382,1113892351,2237858528,1927010603,4002880361,1856122846,1594404395,2944033133,3855189863,3474975698,1643104450,4054590833,3431086530,1730235576,2984608721,3084664418,2131803598,4178205752,267404349,1617849798,1616132681,1462223176,736725533,2327058232,551665188,2945899023,1749386277,2575514597,1611482493,674206544,2201269090,3642560800,728599968,1680547377,2620414464,1388111496,453204106,4156223445,1094905244,2754698257,2201108165,3757000246,2704524545,3922940700,3996465027],s[3]=[2645754912,532081118,2814278639,3530793624,1246723035,1689095255,2236679235,4194438865,2116582143,3859789411,157234593,2045505824,4245003587,1687664561,4083425123,605965023,672431967,1336064205,3376611392,214114848,4258466608,3232053071,489488601,605322005,3998028058,264917351,1912574028,756637694,436560991,202637054,135989450,85393697,2152923392,3896401662,2895836408,2145855233,3535335007,115294817,3147733898,1922296357,3464822751,4117858305,1037454084,2725193275,2127856640,1417604070,1148013728,1827919605,642362335,2929772533,909348033,1346338451,3547799649,297154785,1917849091,4161712827,2883604526,3968694238,1469521537,3780077382,3375584256,1763717519,136166297,4290970789,1295325189,2134727907,2798151366,1566297257,3672928234,2677174161,2672173615,965822077,2780786062,289653839,1133871874,3491843819,35685304,1068898316,418943774,672553190,642281022,2346158704,1954014401,3037126780,4079815205,2030668546,3840588673,672283427,1776201016,359975446,3750173538,555499703,2769985273,1324923,69110472,152125443,3176785106,3822147285,1340634837,798073664,1434183902,15393959,216384236,1303690150,3881221631,3711134124,3960975413,106373927,2578434224,1455997841,1801814300,1578393881,1854262133,3188178946,3258078583,2302670060,1539295533,3505142565,3078625975,2372746020,549938159,3278284284,2620926080,181285381,2865321098,3970029511,68876850,488006234,1728155692,2608167508,836007927,2435231793,919367643,3339422534,3655756360,1457871481,40520939,1380155135,797931188,234455205,2255801827,3990488299,397000196,739833055,3077865373,2871719860,4022553888,772369276,390177364,3853951029,557662966,740064294,1640166671,1699928825,3535942136,622006121,3625353122,68743880,1742502,219489963,1664179233,1577743084,1236991741,410585305,2366487942,823226535,1050371084,3426619607,3586839478,212779912,4147118561,1819446015,1911218849,530248558,3486241071,3252585495,2886188651,3410272728,2342195030,20547779,2982490058,3032363469,3631753222,312714466,1870521650,1493008054,3491686656,615382978,4103671749,2534517445,1932181,2196105170,278426614,6369430,3274544417,2913018367,697336853,2143000447,2946413531,701099306,1558357093,2805003052,3500818408,2321334417,3567135975,216290473,3591032198,23009561,1996984579,3735042806,2024298078,3739440863,569400510,2339758983,3016033873,3097871343,3639523026,3844324983,3256173865,795471839,2951117563,4101031090,4091603803,3603732598,971261452,534414648,428311343,3389027175,2844869880,694888862,1227866773,2456207019,3043454569,2614353370,3749578031,3676663836,459166190,4132644070,1794958188,51825668,2252611902,3084671440,2036672799,3436641603,1099053433,2469121526,3059204941,1323291266,2061838604,1018778475,2233344254,2553501054,334295216,3556750194,1065731521,183467730],s[4]=[2127105028,745436345,2601412319,2788391185,3093987327,500390133,1155374404,389092991,150729210,3891597772,3523549952,1935325696,716645080,946045387,2901812282,1774124410,3869435775,4039581901,3293136918,3438657920,948246080,363898952,3867875531,1286266623,1598556673,68334250,630723836,1104211938,1312863373,613332731,2377784574,1101634306,441780740,3129959883,1917973735,2510624549,3238456535,2544211978,3308894634,1299840618,4076074851,1756332096,3977027158,297047435,3790297736,2265573040,3621810518,1311375015,1667687725,47300608,3299642885,2474112369,201668394,1468347890,576830978,3594690761,3742605952,1958042578,1747032512,3558991340,1408974056,3366841779,682131401,1033214337,1545599232,4265137049,206503691,103024618,2855227313,1337551222,2428998917,2963842932,4015366655,3852247746,2796956967,3865723491,3747938335,247794022,3755824572,702416469,2434691994,397379957,851939612,2314769512,218229120,1380406772,62274761,214451378,3170103466,2276210409,3845813286,28563499,446592073,1693330814,3453727194,29968656,3093872512,220656637,2470637031,77972100,1667708854,1358280214,4064765667,2395616961,325977563,4277240721,4220025399,3605526484,3355147721,811859167,3069544926,3962126810,652502677,3075892249,4132761541,3498924215,1217549313,3250244479,3858715919,3053989961,1538642152,2279026266,2875879137,574252750,3324769229,2651358713,1758150215,141295887,2719868960,3515574750,4093007735,4194485238,1082055363,3417560400,395511885,2966884026,179534037,3646028556,3738688086,1092926436,2496269142,257381841,3772900718,1636087230,1477059743,2499234752,3811018894,2675660129,3285975680,90732309,1684827095,1150307763,1723134115,3237045386,1769919919,1240018934,815675215,750138730,2239792499,1234303040,1995484674,138143821,675421338,1145607174,1936608440,3238603024,2345230278,2105974004,323969391,779555213,3004902369,2861610098,1017501463,2098600890,2628620304,2940611490,2682542546,1171473753,3656571411,3687208071,4091869518,393037935,159126506,1662887367,1147106178,391545844,3452332695,1891500680,3016609650,1851642611,546529401,1167818917,3194020571,2848076033,3953471836,575554290,475796850,4134673196,450035699,2351251534,844027695,1080539133,86184846,1554234488,3692025454,1972511363,2018339607,1491841390,1141460869,1061690759,4244549243,2008416118,2351104703,2868147542,1598468138,722020353,1027143159,212344630,1387219594,1725294528,3745187956,2500153616,458938280,4129215917,1828119673,544571780,3503225445,2297937496,1241802790,267843827,2694610800,1397140384,1558801448,3782667683,1806446719,929573330,2234912681,400817706,616011623,4121520928,3603768725,1761550015,1968522284,4053731006,4192232858,4005120285,872482584,3140537016,3894607381,2287405443,1963876937,3663887957,1584857e3,2975024454,1833426440,4025083860],s[5]=[4143615901,749497569,1285769319,3795025788,2514159847,23610292,3974978748,844452780,3214870880,3751928557,2213566365,1676510905,448177848,3730751033,4086298418,2307502392,871450977,3222878141,4110862042,3831651966,2735270553,1310974780,2043402188,1218528103,2736035353,4274605013,2702448458,3936360550,2693061421,162023535,2827510090,687910808,23484817,3784910947,3371371616,779677500,3503626546,3473927188,4157212626,3500679282,4248902014,2466621104,3899384794,1958663117,925738300,1283408968,3669349440,1840910019,137959847,2679828185,1239142320,1315376211,1547541505,1690155329,739140458,3128809933,3933172616,3876308834,905091803,1548541325,4040461708,3095483362,144808038,451078856,676114313,2861728291,2469707347,993665471,373509091,2599041286,4025009006,4170239449,2149739950,3275793571,3749616649,2794760199,1534877388,572371878,2590613551,1753320020,3467782511,1405125690,4270405205,633333386,3026356924,3475123903,632057672,2846462855,1404951397,3882875879,3915906424,195638627,2385783745,3902872553,1233155085,3355999740,2380578713,2702246304,2144565621,3663341248,3894384975,2502479241,4248018925,3094885567,1594115437,572884632,3385116731,767645374,1331858858,1475698373,3793881790,3532746431,1321687957,619889600,1121017241,3440213920,2070816767,2833025776,1933951238,4095615791,890643334,3874130214,859025556,360630002,925594799,1764062180,3920222280,4078305929,979562269,2810700344,4087740022,1949714515,546639971,1165388173,3069891591,1495988560,922170659,1291546247,2107952832,1813327274,3406010024,3306028637,4241950635,153207855,2313154747,1608695416,1150242611,1967526857,721801357,1220138373,3691287617,3356069787,2112743302,3281662835,1111556101,1778980689,250857638,2298507990,673216130,2846488510,3207751581,3562756981,3008625920,3417367384,2198807050,529510932,3547516680,3426503187,2364944742,102533054,2294910856,1617093527,1204784762,3066581635,1019391227,1069574518,1317995090,1691889997,3661132003,510022745,3238594800,1362108837,1817929911,2184153760,805817662,1953603311,3699844737,120799444,2118332377,207536705,2282301548,4120041617,145305846,2508124933,3086745533,3261524335,1877257368,2977164480,3160454186,2503252186,4221677074,759945014,254147243,2767453419,3801518371,629083197,2471014217,907280572,3900796746,940896768,2751021123,2625262786,3161476951,3661752313,3260732218,1425318020,2977912069,1496677566,3988592072,2140652971,3126511541,3069632175,977771578,1392695845,1698528874,1411812681,1369733098,1343739227,3620887944,1142123638,67414216,3102056737,3088749194,1626167401,2546293654,3941374235,697522451,33404913,143560186,2595682037,994885535,1247667115,3859094837,2699155541,3547024625,4114935275,2968073508,3199963069,2732024527,1237921620,951448369,1898488916,1211705605,2790989240,2233243581,3598044975],s[6]=[2246066201,858518887,1714274303,3485882003,713916271,2879113490,3730835617,539548191,36158695,1298409750,419087104,1358007170,749914897,2989680476,1261868530,2995193822,2690628854,3443622377,3780124940,3796824509,2976433025,4259637129,1551479e3,512490819,1296650241,951993153,2436689437,2460458047,144139966,3136204276,310820559,3068840729,643875328,1969602020,1680088954,2185813161,3283332454,672358534,198762408,896343282,276269502,3014846926,84060815,197145886,376173866,3943890818,3813173521,3545068822,1316698879,1598252827,2633424951,1233235075,859989710,2358460855,3503838400,3409603720,1203513385,1193654839,2792018475,2060853022,207403770,1144516871,3068631394,1121114134,177607304,3785736302,326409831,1929119770,2983279095,4183308101,3474579288,3200513878,3228482096,119610148,1170376745,3378393471,3163473169,951863017,3337026068,3135789130,2907618374,1183797387,2015970143,4045674555,2182986399,2952138740,3928772205,384012900,2454997643,10178499,2879818989,2596892536,111523738,2995089006,451689641,3196290696,235406569,1441906262,3890558523,3013735005,4158569349,1644036924,376726067,1006849064,3664579700,2041234796,1021632941,1374734338,2566452058,371631263,4007144233,490221539,206551450,3140638584,1053219195,1853335209,3412429660,3562156231,735133835,1623211703,3104214392,2738312436,4096837757,3366392578,3110964274,3956598718,3196820781,2038037254,3877786376,2339753847,300912036,3766732888,2372630639,1516443558,4200396704,1574567987,4069441456,4122592016,2699739776,146372218,2748961456,2043888151,35287437,2596680554,655490400,1132482787,110692520,1031794116,2188192751,1324057718,1217253157,919197030,686247489,3261139658,1028237775,3135486431,3059715558,2460921700,986174950,2661811465,4062904701,2752986992,3709736643,367056889,1353824391,731860949,1650113154,1778481506,784341916,357075625,3608602432,1074092588,2480052770,3811426202,92751289,877911070,3600361838,1231880047,480201094,3756190983,3094495953,434011822,87971354,363687820,1717726236,1901380172,3926403882,2481662265,400339184,1490350766,2661455099,1389319756,2558787174,784598401,1983468483,30828846,3550527752,2716276238,3841122214,1765724805,1955612312,1277890269,1333098070,1564029816,2704417615,1026694237,3287671188,1260819201,3349086767,1016692350,1582273796,1073413053,1995943182,694588404,1025494639,3323872702,3551898420,4146854327,453260480,1316140391,1435673405,3038941953,3486689407,1622062951,403978347,817677117,950059133,4246079218,3278066075,1486738320,1417279718,481875527,2549965225,3933690356,760697757,1452955855,3897451437,1177426808,1702951038,4085348628,2447005172,1084371187,3516436277,3068336338,1073369276,1027665953,3284188590,1230553676,1368340146,2226246512,267243139,2274220762,4070734279,2497715176,2423353163,2504755875],s[7]=[3793104909,3151888380,2817252029,895778965,2005530807,3871412763,237245952,86829237,296341424,3851759377,3974600970,2475086196,709006108,1994621201,2972577594,937287164,3734691505,168608556,3189338153,2225080640,3139713551,3033610191,3025041904,77524477,185966941,1208824168,2344345178,1721625922,3354191921,1066374631,1927223579,1971335949,2483503697,1551748602,2881383779,2856329572,3003241482,48746954,1398218158,2050065058,313056748,4255789917,393167848,1912293076,940740642,3465845460,3091687853,2522601570,2197016661,1727764327,364383054,492521376,1291706479,3264136376,1474851438,1685747964,2575719748,1619776915,1814040067,970743798,1561002147,2925768690,2123093554,1880132620,3151188041,697884420,2550985770,2607674513,2659114323,110200136,1489731079,997519150,1378877361,3527870668,478029773,2766872923,1022481122,431258168,1112503832,897933369,2635587303,669726182,3383752315,918222264,163866573,3246985393,3776823163,114105080,1903216136,761148244,3571337562,1690750982,3166750252,1037045171,1888456500,2010454850,642736655,616092351,365016990,1185228132,4174898510,1043824992,2023083429,2241598885,3863320456,3279669087,3674716684,108438443,2132974366,830746235,606445527,4173263986,2204105912,1844756978,2532684181,4245352700,2969441100,3796921661,1335562986,4061524517,2720232303,2679424040,634407289,885462008,3294724487,3933892248,2094100220,339117932,4048830727,3202280980,1458155303,2689246273,1022871705,2464987878,3714515309,353796843,2822958815,4256850100,4052777845,551748367,618185374,3778635579,4020649912,1904685140,3069366075,2670879810,3407193292,2954511620,4058283405,2219449317,3135758300,1120655984,3447565834,1474845562,3577699062,550456716,3466908712,2043752612,881257467,869518812,2005220179,938474677,3305539448,3850417126,1315485940,3318264702,226533026,965733244,321539988,1136104718,804158748,573969341,3708209826,937399083,3290727049,2901666755,1461057207,4013193437,4066861423,3242773476,2421326174,1581322155,3028952165,786071460,3900391652,3918438532,1485433313,4023619836,3708277595,3678951060,953673138,1467089153,1930354364,1533292819,2492563023,1346121658,1685000834,1965281866,3765933717,4190206607,2052792609,3515332758,690371149,3125873887,2180283551,2903598061,3933952357,436236910,289419410,14314871,1242357089,2904507907,1616633776,2666382180,585885352,3471299210,2699507360,1432659641,277164553,3354103607,770115018,2303809295,3741942315,3177781868,2853364978,2269453327,3774259834,987383833,1290892879,225909803,1741533526,890078084,1496906255,1111072499,916028167,243534141,1252605537,2204162171,531204876,290011180,3916834213,102027703,237315147,209093447,1486785922,220223953,2758195998,4175039106,82940208,3127791296,2569425252,518464269,1353887104,3941492737,2377294467,3935040926]}o(T$e,"OpenPGPSymEncCAST5");function hm(t){this.cast5=new T$e,this.cast5.setKey(t),this.encrypt=function(e){return this.cast5.encrypt(e)}}o(hm,"CAST5");hm.blockSize=hm.prototype.blockSize=8;hm.keySize=hm.prototype.keySize=16;var Qs=4294967295;function zo(t,e){return(t<>>32-e)&Qs}o(zo,"rotw");function Ua(t,e){return t[e]|t[e+1]<<8|t[e+2]<<16|t[e+3]<<24}o(Ua,"getW");function fl(t,e,r){t.splice(e,4,r&255,r>>>8&255,r>>>16&255,r>>>24&255)}o(fl,"setW");function Ye(t,e){return t>>>e*8&255}o(Ye,"getB");function O$e(){let t=null,e=null,r=-1,n=[],i=[[],[],[],[]];function s(g){t=g;let m,b,y,I,w,v=[],U=[],H=[],J,q=[],D,T,L,z=[[8,1,7,13,6,15,3,2,0,11,5,9,14,12,10,4],[2,8,11,13,15,7,6,14,3,1,9,4,0,10,12,5]],_=[[14,12,11,8,1,2,3,5,15,4,10,6,7,0,9,13],[1,14,2,11,4,12,3,7,6,13,10,5,15,9,0,8]],k=[[11,10,5,14,6,13,9,0,12,8,15,3,2,4,7,1],[4,12,7,5,1,6,9,10,0,14,13,8,2,11,3,15]],F=[[13,7,15,4,1,2,6,14,9,11,3,0,8,5,12,10],[11,9,5,1,12,3,13,14,6,4,7,15,2,0,8,10]],K=[0,8,1,9,2,10,3,11,4,12,5,13,6,14,7,15],Z=[0,9,2,11,4,13,6,15,8,1,10,3,12,5,14,7],W=[[],[]],te=[[],[],[],[]];function ne(ie){return ie^ie>>2^[0,90,180,238][ie&3]}o(ne,"ffm5b");function ae(ie){return ie^ie>>1^ie>>2^[0,238,180,90][ie&3]}o(ae,"ffmEf");function fe(ie,Ae){let xe,ye,me;for(xe=0;xe<8;xe++)ye=Ae>>>24,Ae=Ae<<8&Qs|ie>>>24,ie=ie<<8&Qs,me=ye<<1,ye&128&&(me^=333),Ae^=ye^me<<16,me^=ye>>>1,ye&1&&(me^=166),Ae^=me<<24|me<<8;return Ae}o(fe,"mdsRem");function le(ie,Ae){let xe=Ae>>4,ye=Ae&15,me=z[ie][xe^ye],Qe=_[ie][K[ye]^Z[xe]];return F[ie][K[Qe]^Z[me]]<<4|k[ie][me^Qe]}o(le,"qp");function he(ie,Ae){let xe=Ye(ie,0),ye=Ye(ie,1),me=Ye(ie,2),Qe=Ye(ie,3);switch(J){case 4:xe=W[1][xe]^Ye(Ae[3],0),ye=W[0][ye]^Ye(Ae[3],1),me=W[0][me]^Ye(Ae[3],2),Qe=W[1][Qe]^Ye(Ae[3],3);case 3:xe=W[1][xe]^Ye(Ae[2],0),ye=W[1][ye]^Ye(Ae[2],1),me=W[0][me]^Ye(Ae[2],2),Qe=W[0][Qe]^Ye(Ae[2],3);case 2:xe=W[0][W[0][xe]^Ye(Ae[1],0)]^Ye(Ae[0],0),ye=W[0][W[1][ye]^Ye(Ae[1],1)]^Ye(Ae[0],1),me=W[1][W[0][me]^Ye(Ae[1],2)]^Ye(Ae[0],2),Qe=W[1][W[1][Qe]^Ye(Ae[1],3)]^Ye(Ae[0],3)}return te[0][xe]^te[1][ye]^te[2][me]^te[3][Qe]}for(o(he,"hFun"),t=t.slice(0,32),m=t.length;m!==16&&m!==24&&m!==32;)t[m++]=0;for(m=0;m>2]=Ua(t,m);for(m=0;m<256;m++)W[0][m]=le(0,m),W[1][m]=le(1,m);for(m=0;m<256;m++)D=W[1][m],T=ne(D),L=ae(D),te[0][m]=D+(T<<8)+(L<<16)+(L<<24),te[2][m]=T+(L<<8)+(D<<16)+(L<<24),D=W[0][m],T=ne(D),L=ae(D),te[1][m]=L+(L<<8)+(T<<16)+(D<<24),te[3][m]=T+(D<<8)+(L<<16)+(T<<24);for(J=H.length/2,m=0;m=0;y--)u(y,b);fl(e,r,b[2]^n[0]),fl(e,r+4,b[3]^n[1]),fl(e,r+8,b[0]^n[2]),fl(e,r+12,b[1]^n[3]),r+=16}o(f,"tfsDecrypt");function h(){return e}return o(h,"tfsFinal"),{name:"twofish",blocksize:128/8,open:s,close:A,encrypt:d,decrypt:f,finalize:h}}o(O$e,"createTwofish");function pm(t){this.tf=O$e(),this.tf.open(Array.from(t),0),this.encrypt=function(e){return this.tf.encrypt(Array.from(e),0)}}o(pm,"TF");pm.keySize=pm.prototype.keySize=32;pm.blockSize=pm.prototype.blockSize=16;function no(){}o(no,"Blowfish");no.prototype.BLOCKSIZE=8;no.prototype.SBOXES=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];no.prototype.PARRAY=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731];no.prototype.NN=16;no.prototype._clean=function(t){return t<0&&(t=(t&2147483647)+2147483648),t};no.prototype._F=function(t){let e,r=t&255;t>>>=8;let n=t&255;t>>>=8;let i=t&255;t>>>=8;let s=t&255;return e=this.sboxes[0][s]+this.sboxes[1][i],e^=this.sboxes[2][n],e+=this.sboxes[3][r],e};no.prototype._encryptBlock=function(t){let e=t[0],r=t[1],n;for(n=0;n>>24-8*e&255,i[e+n]=r[1]>>>24-8*e&255;return i};no.prototype._decryptBlock=function(t){let e=t[0],r=t[1],n;for(n=this.NN+1;n>1;--n){e^=this.parray[n],r=this._F(e)^r;let i=e;e=r,r=i}e^=this.parray[1],r^=this.parray[0],t[0]=this._clean(r),t[1]=this._clean(e)};no.prototype.init=function(t){let e,r=0;for(this.parray=[],e=0;e=t.length&&(r=0);this.parray[e]=this.PARRAY[e]^i}for(this.sboxes=[],e=0;e<4;++e)for(this.sboxes[e]=[],r=0;r<256;++r)this.sboxes[e][r]=this.SBOXES[e][r];let n=[0,0];for(e=0;e>>24^u<<8,t[n+1]=u>>>24^l<<8,Lf(t,r,t,n),Lf(t,r,e,c),l=t[s]^t[r],u=t[s+1]^t[r+1],t[s]=l>>>16^u<<16,t[s+1]=u>>>16^l<<16,Lf(t,i,t,s),l=t[n]^t[i],u=t[n+1]^t[i+1],t[n]=u>>>31^l<<1,t[n+1]=l>>>31^u<<1}o(hl,"G$1");var Bse=new Uint32Array([4089235720,1779033703,2227873595,3144134277,4271175723,1013904242,1595750129,2773480762,2917565137,1359893119,725511199,2600822924,4215389547,528734635,327033209,1541459225]),Nn=new Uint8Array([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3,11,8,12,0,5,2,15,13,10,14,3,6,7,1,9,4,7,9,3,1,13,12,11,14,2,6,5,10,4,0,15,8,9,0,5,7,2,4,10,15,14,1,11,12,6,8,3,13,2,12,6,10,0,11,8,3,4,13,7,5,15,14,1,9,12,5,1,15,14,13,4,10,0,7,6,3,9,2,8,11,13,11,7,14,12,1,3,9,5,0,15,4,8,6,2,10,6,15,14,9,11,3,0,8,12,2,13,7,1,4,10,5,10,2,8,4,7,6,1,5,15,11,9,14,3,12,13,0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3].map(t=>t*2));function ane(t,e){let r=new Uint32Array(32),n=new Uint32Array(t.b.buffer,t.b.byteOffset,32);for(let s=0;s<16;s++)r[s]=t.h[s],r[s+16]=Bse[s];r[24]^=t.t0[0],r[25]^=t.t0[1];let i=e?4294967295:0;r[28]^=i,r[29]^=i;for(let s=0;s<12;s++){let a=s<<4;hl(r,n,0,8,16,24,Nn[a+0],Nn[a+1]),hl(r,n,2,10,18,26,Nn[a+2],Nn[a+3]),hl(r,n,4,12,20,28,Nn[a+4],Nn[a+5]),hl(r,n,6,14,22,30,Nn[a+6],Nn[a+7]),hl(r,n,0,10,20,30,Nn[a+8],Nn[a+9]),hl(r,n,2,12,22,24,Nn[a+10],Nn[a+11]),hl(r,n,4,14,16,26,Nn[a+12],Nn[a+13]),hl(r,n,6,8,18,28,Nn[a+14],Nn[a+15])}for(let s=0;s<16;s++)t.h[s]^=r[s]^r[s+16]}o(ane,"compress");var HO=class{static{o(this,"Blake2b")}constructor(e,r,n,i){let s=new Uint8Array(64);this.S={b:new Uint8Array(Kg),h:new Uint32Array(qO/4),t0:new Uint32Array(2),c:0,outlen:e},s[0]=e,r&&(s[1]=r.length),s[2]=1,s[3]=1,n&&s.set(n,32),i&&s.set(i,48);let a=new Uint32Array(s.buffer,s.byteOffset,s.length/Uint32Array.BYTES_PER_ELEMENT);for(let c=0;c<16;c++)this.S.h[c]=Bse[c]^a[c];if(r){let c=new Uint8Array(Kg);c.set(r),this.update(c)}}update(e){if(!(e instanceof Uint8Array))throw new Error("Input must be Uint8Array or Buffer");let r=0;for(;r>2]>>8*(n&3);return this.S.h=null,r.buffer}};function jI(t,e,r,n){if(t>qO)throw new Error(`outlen must be at most ${qO} (given: ${t})`);return new HO(t,e,r,n)}o(jI,"createHash");var qO=64,Kg=128,IM=2,wse=19,U$e=4294967295,F$e=4,H$e=4294967295,q$e=8,z$e=4294967295,G$e=8,j$e=4294967295,Y$e=4294967295,K$e=32,Fa=1024,J$e=64,V$e=new Uint8Array(new Uint16Array([43981]).buffer)[0]===205;function di(t,e,r){return t[r+0]=e,t[r+1]=e>>8,t[r+2]=e>>16,t[r+3]=e>>24,t}o(di,"LE32");function Hu(t,e,r){if(e>Number.MAX_SAFE_INTEGER)throw new Error("LE64: large numbers unsupported");let n=e;for(let i=r;i{if(fg)throw new Error(`${d} size should be between ${h} and ${g} bytes`)},"assertLength");if(t!==IM||e!==wse)throw new Error("Unsupported type or version");return A("password",n,G$e,z$e),A("salt",i,q$e,H$e),A("tag",r,F$e,U$e),A("memory",l,8*c,j$e),s&&A("associated data",s,0,Y$e),a&&A("secret",a,0,K$e),{type:t,version:e,tagLength:r,password:n,salt:i,ad:s,secret:a,lanes:c,memorySize:l,passes:u}}o(Z$e,"validateParams");var Qse=1024,eXe=64*Qse;function tXe(t,{memory:e,instance:r}){if(!V$e)throw new Error("BigEndian system not supported");let n=Z$e({type:IM,version:wse,...t}),{G:i,G2:s,xor:a,getLZ:c}=r.exports,l={},u={};u.G=i,u.G2=s,u.XOR=a;let A=4*n.lanes*Math.floor(n.memorySize/(4*n.lanes)),d=A*Fa+10*Qse;if(e.buffer.byteLengthnew Array(w)),U=o((T,L)=>(v[T][L]=b.subarray(T*w*1024+L*1024,T*w*1024+L*1024+Fa),v[T][L]),"initBlock");for(let T=0;T0?v[_][K-1]:v[_][w-1],W=z?F.next().value:Z;c(h.byteOffset,W.byteOffset,_,n.lanes,T,L,k,H,J);let te=h[0],ne=h[1];T===0&&U(_,K),W$e(g,Z,v[te][ne],T>0?m:v[_][K]),T>0&&cne(g,v[_][K],m,v[_][K])}}}let q=v[0][w-1];for(let T=1;T{r.set(i,n),n+=i.length}),r}o(nXe,"concatArrays");var OI;async function iXe(t,e,r){let n={env:{memory:t}};if(OI===void 0)try{let s=await e(n);return OI=!0,s}catch{OI=!1}return(OI?e:r)(n)}o(iXe,"wasmLoader");async function sXe(t,e){let r=new WebAssembly.Memory({initial:1040,maximum:65536}),n=await iXe(r,t,e);return o(s=>tXe(s,{instance:n.instance,memory:r}),"computeHash")}o(sXe,"setupWasm");function Sse(t,e,r,n){function i(a,c,l){var u=l?WebAssembly.instantiateStreaming:WebAssembly.instantiate,A=l?WebAssembly.compileStreaming:WebAssembly.compile;return c?u(a,c):A(a)}o(i,"_instantiateOrCompile");var s=null;return s=Buffer.from(r,"base64"),i(s,n,!1)}o(Sse,"_loadWasmModule");function oXe(t){return Sse(0,null,"AGFzbQEAAAABKwdgBH9/f38AYAABf2AAAGADf39/AGAJf39/f39/f39/AX9gAX8AYAF/AX8CEwEDZW52Bm1lbW9yeQIBkAiAgAQDCgkCAwAABAEFBgEEBQFwAQICBgkBfwFBkIjAAgsHfQoDeG9yAAEBRwACAkcyAAMFZ2V0TFoABBlfX2luZGlyZWN0X2Z1bmN0aW9uX3RhYmxlAQALX2luaXRpYWxpemUAABBfX2Vycm5vX2xvY2F0aW9uAAgJc3RhY2tTYXZlAAUMc3RhY2tSZXN0b3JlAAYKc3RhY2tBbGxvYwAHCQcBAEEBCwEACs0gCQMAAQtYAQJ/A0AgACAEQQR0IgNqIAIgA2r9AAQAIAEgA2r9AAQA/VH9CwQAIAAgA0EQciIDaiACIANq/QAEACABIANq/QAEAP1R/QsEACAEQQJqIgRBwABHDQALC7ceAgt7A38D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(oXe,"wasmSIMD");function aXe(t){return Sse(0,null,"AGFzbQEAAAABPwhgBH9/f38AYAABf2AAAGADf39/AGARf39/f39/f39/f39/f39/f38AYAl/f39/f39/f38Bf2ABfwBgAX8BfwITAQNlbnYGbWVtb3J5AgGQCICABAMLCgIDBAAABQEGBwEEBQFwAQICBgkBfwFBkIjAAgsHfQoDeG9yAAEBRwADAkcyAAQFZ2V0TFoABRlfX2luZGlyZWN0X2Z1bmN0aW9uX3RhYmxlAQALX2luaXRpYWxpemUAABBfX2Vycm5vX2xvY2F0aW9uAAkJc3RhY2tTYXZlAAYMc3RhY2tSZXN0b3JlAAcKc3RhY2tBbGxvYwAICQcBAEEBCwEACssaCgMAAQtQAQJ/A0AgACAEQQN0IgNqIAIgA2opAwAgASADaikDAIU3AwAgACADQQhyIgNqIAIgA2opAwAgASADaikDAIU3AwAgBEECaiIEQYABRw0ACwveDwICfgF/IAAgAUEDdGoiEyATKQMAIhEgACAFQQN0aiIBKQMAIhJ8IBFCAYZC/v///x+DIBJC/////w+DfnwiETcDACAAIA1BA3RqIgUgESAFKQMAhUIgiSIRNwMAIAAgCUEDdGoiCSARIAkpAwAiEnwgEUL/////D4MgEkIBhkL+////H4N+fCIRNwMAIAEgESABKQMAhUIoiSIRNwMAIBMgESATKQMAIhJ8IBFC/////w+DIBJCAYZC/v///x+DfnwiETcDACAFIBEgBSkDAIVCMIkiETcDACAJIBEgCSkDACISfCARQv////8PgyASQgGGQv7///8fg358IhE3AwAgASARIAEpAwCFQgGJNwMAIAAgAkEDdGoiDSANKQMAIhEgACAGQQN0aiICKQMAIhJ8IBFCAYZC/v///x+DIBJC/////w+DfnwiETcDACAAIA5BA3RqIgYgESAGKQMAhUIgiSIRNwMAIAAgCkEDdGoiCiARIAopAwAiEnwgEUL/////D4MgEkIBhkL+////H4N+fCIRNwMAIAIgESACKQMAhUIoiSIRNwMAIA0gESANKQMAIhJ8IBFC/////w+DIBJCAYZC/v///x+DfnwiETcDACAGIBEgBikDAIVCMIkiETcDACAKIBEgCikDACISfCARQv////8PgyASQgGGQv7///8fg358IhE3AwAgAiARIAIpAwCFQgGJNwMAIAAgA0EDdGoiDiAOKQMAIhEgACAHQQN0aiIDKQMAIhJ8IBFCAYZC/v///x+DIBJC/////w+DfnwiETcDACAAIA9BA3RqIgcgESAHKQMAhUIgiSIRNwMAIAAgC0EDdGoiCyARIAspAwAiEnwgEUL/////D4MgEkIBhkL+////H4N+fCIRNwMAIAMgESADKQMAhUIoiSIRNwMAIA4gESAOKQMAIhJ8IBFC/////w+DIBJCAYZC/v///x+DfnwiETcDACAHIBEgBykDAIVCMIkiETcDACALIBEgCykDACISfCARQv////8PgyASQgGGQv7///8fg358IhE3AwAgAyARIAMpAwCFQgGJNwMAIAAgBEEDdGoiDyAPKQMAIhEgACAIQQN0aiIEKQMAIhJ8IBFCAYZC/v///x+DIBJC/////w+DfnwiETcDACAAIBBBA3RqIgggESAIKQMAhUIgiSIRNwMAIAAgDEEDdGoiACARIAApAwAiEnwgEUL/////D4MgEkIBhkL+////H4N+fCIRNwMAIAQgESAEKQMAhUIoiSIRNwMAIA8gESAPKQMAIhJ8IBFC/////w+DIBJCAYZC/v///x+DfnwiETcDACAIIBEgCCkDAIVCMIkiETcDACAAIBEgACkDACISfCARQv////8PgyASQgGGQv7///8fg358IhE3AwAgBCARIAQpAwCFQgGJNwMAIBMgEykDACIRIAIpAwAiEnwgEUIBhkL+////H4MgEkL/////D4N+fCIRNwMAIAggESAIKQMAhUIgiSIRNwMAIAsgESALKQMAIhJ8IBFC/////w+DIBJCAYZC/v///x+DfnwiETcDACACIBEgAikDAIVCKIkiETcDACATIBEgEykDACISfCARQv////8PgyASQgGGQv7///8fg358IhE3AwAgCCARIAgpAwCFQjCJIhE3AwAgCyARIAspAwAiEnwgEUL/////D4MgEkIBhkL+////H4N+fCIRNwMAIAIgESACKQMAhUIBiTcDACANIA0pAwAiESADKQMAIhJ8IBFCAYZC/v///x+DIBJC/////w+DfnwiETcDACAFIBEgBSkDAIVCIIkiETcDACAAIBEgACkDACISfCARQv////8PgyASQgGGQv7///8fg358IhE3AwAgAyARIAMpAwCFQiiJIhE3AwAgDSARIA0pAwAiEnwgEUL/////D4MgEkIBhkL+////H4N+fCIRNwMAIAUgESAFKQMAhUIwiSIRNwMAIAAgESAAKQMAIhJ8IBFC/////w+DIBJCAYZC/v///x+DfnwiETcDACADIBEgAykDAIVCAYk3AwAgDiAOKQMAIhEgBCkDACISfCARQgGGQv7///8fgyASQv////8Pg358IhE3AwAgBiARIAYpAwCFQiCJIhE3AwAgCSARIAkpAwAiEnwgEUL/////D4MgEkIBhkL+////H4N+fCIRNwMAIAQgESAEKQMAhUIoiSIRNwMAIA4gESAOKQMAIhJ8IBFC/////w+DIBJCAYZC/v///x+DfnwiETcDACAGIBEgBikDAIVCMIkiETcDACAJIBEgCSkDACISfCARQv////8PgyASQgGGQv7///8fg358IhE3AwAgBCARIAQpAwCFQgGJNwMAIA8gDykDACIRIAEpAwAiEnwgEUIBhkL+////H4MgEkL/////D4N+fCIRNwMAIAcgESAHKQMAhUIgiSIRNwMAIAogESAKKQMAIhJ8IBFC/////w+DIBJCAYZC/v///x+DfnwiETcDACABIBEgASkDAIVCKIkiETcDACAPIBEgDykDACISfCARQv////8PgyASQgGGQv7///8fg358IhE3AwAgByARIAcpAwCFQjCJIhE3AwAgCiARIAopAwAiEnwgEUL/////D4MgEkIBhkL+////H4N+fCIRNwMAIAEgESABKQMAhUIBiTcDAAvdCAEPfwNAIAIgBUEDdCIGaiABIAZqKQMAIAAgBmopAwCFNwMAIAIgBkEIciIGaiABIAZqKQMAIAAgBmopAwCFNwMAIAVBAmoiBUGAAUcNAAsDQCADIARBA3QiAGogACACaikDADcDACADIARBAXIiAEEDdCIBaiABIAJqKQMANwMAIAMgBEECciIBQQN0IgVqIAIgBWopAwA3AwAgAyAEQQNyIgVBA3QiBmogAiAGaikDADcDACADIARBBHIiBkEDdCIHaiACIAdqKQMANwMAIAMgBEEFciIHQQN0IghqIA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oiBSADIARqKQMAIAUpAwCFNwMAIAIgAEEYciIAaiIEIAAgA2opAwAgBCkDAIU3AwAgAUEEaiIBQYABRw0ACwsWACAAIAEgAiADEAMgACACIAIgAxADC3sCAX8BfiACIQkgATUCACEKIAQgBXIEQCABKAIEIANwIQkLIAAgCTYCACAAIAdBAWsgBSAEGyAIbCAGQQFrQQBBfyAGGyACIAlGG2oiASAFQQFqIAhsQQAgBBtqIAGtIAogCn5CIIh+QiCIp0F/c2ogByAIbHA2AgQgAAsEACMACwYAIAAkAAsQACMAIABrQXBxIgAkACAACwUAQYAICw==",t)}o(aXe,"wasmNonSIMD");var cXe=o(async()=>sXe(t=>oXe(t),t=>aXe(t)),"loadWasm"),lXe=Object.freeze({__proto__:null,default:cXe});function uXe(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}o(uXe,"getDefaultExportFromCjs");var eO,lne;function AXe(){if(lne)return eO;lne=1;function t(n){this.name="Bzip2Error",this.message=n,this.stack=new Error().stack}o(t,"Bzip2Error"),t.prototype=new Error;var e={Error:o(function(n){throw new t(n)},"Error")},r={};return r.Bzip2Error=t,r.crcTable=[0,79764919,159529838,222504665,319059676,398814059,445009330,507990021,638119352,583659535,797628118,726387553,890018660,835552979,1015980042,944750013,1276238704,1221641927,1167319070,1095957929,1595256236,1540665371,1452775106,1381403509,1780037320,1859660671,1671105958,1733955601,2031960084,2111593891,1889500026,1952343757,2552477408,2632100695,2443283854,2506133561,2334638140,2414271883,2191915858,2254759653,3190512472,3135915759,3081330742,3009969537,2905550212,2850959411,2762807018,2691435357,3560074640,3505614887,3719321342,3648080713,3342211916,3287746299,3467911202,3396681109,4063920168,4143685023,4223187782,4286162673,3779000052,3858754371,3904687514,3967668269,881225847,809987520,1023691545,969234094,662832811,591600412,771767749,717299826,311336399,374308984,453813921,533576470,25881363,88864420,134795389,214552010,2023205639,2086057648,1897238633,1976864222,1804852699,1867694188,1645340341,1724971778,1587496639,1516133128,1461550545,1406951526,1302016099,1230646740,1142491917,1087903418,2896545431,2825181984,2770861561,2716262478,3215044683,3143675388,3055782693,3001194130,2326604591,2389456536,2200899649,2280525302,2578013683,2640855108,2418763421,2498394922,3769900519,3832873040,3912640137,3992402750,4088425275,4151408268,4197601365,4277358050,3334271071,3263032808,3476998961,3422541446,3585640067,3514407732,3694837229,3640369242,1762451694,1842216281,1619975040,1682949687,2047383090,2127137669,1938468188,2001449195,1325665622,1271206113,1183200824,1111960463,1543535498,1489069629,1434599652,1363369299,622672798,568075817,748617968,677256519,907627842,853037301,1067152940,995781531,51762726,131386257,177728840,240578815,269590778,349224269,429104020,491947555,4046411278,4126034873,4172115296,4234965207,3794477266,3874110821,3953728444,4016571915,3609705398,3555108353,3735388376,3664026991,3290680682,3236090077,3449943556,3378572211,3174993278,3120533705,3032266256,2961025959,2923101090,2868635157,2813903052,2742672763,2604032198,2683796849,2461293480,2524268063,2284983834,2364738477,2175806836,2238787779,1569362073,1498123566,1409854455,1355396672,1317987909,1246755826,1192025387,1137557660,2072149281,2135122070,1912620623,1992383480,1753615357,1816598090,1627664531,1707420964,295390185,358241886,404320391,483945776,43990325,106832002,186451547,266083308,932423249,861060070,1041341759,986742920,613929101,542559546,756411363,701822548,3316196985,3244833742,3425377559,3370778784,3601682597,3530312978,3744426955,3689838204,3819031489,3881883254,3928223919,4007849240,4037393693,4100235434,4180117107,4259748804,2310601993,2373574846,2151335527,2231098320,2596047829,2659030626,2470359227,2550115596,2947551409,2876312838,2788305887,2733848168,3165939309,3094707162,3040238851,2985771188],r.array=function(n){var i=0,s=0,a=[0,1,3,7,15,31,63,127,255];return function(c){for(var l=0;c>0;){var u=8-i;c>=u?(l<<=u,l|=a[u]&n[s++],i=0,c-=u):(l<<=c,l|=(n[s]&a[c]<<8-c-i)>>8-c-i,i+=c,c=0)}return l}},r.simple=function(n,i){var s=r.array(n),a=r.header(s),c=!1,l=1e5*a,u=new Int32Array(l);do c=r.decompress(s,i,u,l);while(!c)},r.header=function(n){this.byteCount=new Int32Array(256),this.symToByte=new Uint8Array(256),this.mtfSymbol=new Int32Array(256),this.selectors=new Uint8Array(32768),n(24)!=4348520&&e.Error("No magic number found");var i=n(8)-48;return(i<1||i>9)&&e.Error("Not a BZIP archive"),i},r.decompress=function(n,i,s,a,c){for(var l=20,u=258,A=0,d=1,f=50,h=-1,g="",m=0;m<6;m++)g+=n(8).toString(16);if(g=="177245385090"){var b=n(32)|0;return b!==c&&e.Error("Error in bzip2: crc32 do not match"),n(null),null}g!="314159265359"&&e.Error("Invalid bzip data");var y=n(32)|0;n(1)&&e.Error("unsupported obsolete version");var I=n(24);I>a&&e.Error("Initial position larger than buffer size");var w=n(16),v=0;for(m=0;m<16;m++)if(w&1<<15-m){var U=n(16);for(le=0;le<16;le++)U&1<<15-le&&(this.symToByte[v++]=16*m+le)}var H=n(3);(H<2||H>6)&&e.Error("Invalid bzip data");var J=n(15);J==0&&e.Error("Invalid bzip data");for(var m=0;m=H&&e.Error("Invalid bzip data");for(var q=this.mtfSymbol[le],U=le-1;U>=0;U--)this.mtfSymbol[U+1]=this.mtfSymbol[U];this.mtfSymbol[0]=q,this.selectors[m]=q}for(var ne=v+2,D=[],T=new Uint8Array(u),L=new Uint16Array(l+1),z,le=0;lel)&&e.Error("Invalid bzip data"),!!n(1);)n(1)?w--:w++;T[m]=w}var _,k;_=k=T[0];for(var m=1;mk?k=T[m]:T[m]<_&&(_=T[m]);z=D[le]={},z.permute=new Int32Array(u),z.limit=new Int32Array(l+1),z.base=new Int32Array(l+1),z.minLen=_,z.maxLen=k;for(var F=z.base,K=z.limit,Z=0,m=_;m<=k;m++)for(var w=0;w=J&&e.Error("Invalid bzip data"),z=D[this.selectors[ae++]],F=z.base,K=z.limit),m=z.minLen,le=n(m);m>z.maxLen&&e.Error("Invalid bzip data"),!(le<=K[m]);)m++,le=le<<1|n(1);le-=F[m],(le<0||le>=u)&&e.Error("Invalid bzip data");var fe=z.permute[le];if(fe==A||fe==d){W||(W=1,w=0),fe==A?w+=W:w+=2*W,W<<=1;continue}if(W)for(W=0,te+w>a&&e.Error("Invalid bzip data"),q=this.symToByte[this.mtfSymbol[0]],this.byteCount[q]+=w;w--;)s[te++]=q;if(fe>v)break;te>=a&&e.Error("Invalid bzip data"),m=fe-1,q=this.mtfSymbol[m];for(var U=m-1;U>=0;U--)this.mtfSymbol[U+1]=this.mtfSymbol[U];this.mtfSymbol[0]=q,q=this.symToByte[q],this.byteCount[q]++,s[te++]=q}(I<0||I>=te)&&e.Error("Invalid bzip data");for(var le=0,m=0;m<256;m++)U=le+this.byteCount[m],this.byteCount[m]=le,le=U;for(var m=0;m>=8,Ae=-1),te=te;for(var xe,ye,me;te;){for(te--,ye=ie,he=s[he],ie=he&255,he>>=8,Ae++==3?(xe=ie,me=ye,ie=-1):(xe=1,me=ie);xe--;)h=(h<<8^this.crcTable[(h>>24^me)&255])&4294967295,i(me);ie!=ye&&(Ae=0)}return h=(h^-1)>>>0,(h|0)!=(y|0)&&e.Error("Error in bzip2: crc32 do not match"),c=(h^(c<<1|c>>>31))&4294967295,c},eO=r,eO}o(AXe,"requireBzip2");var tO,une;function dXe(){if(une)return tO;une=1;var t=[0,1,3,7,15,31,63,127,255];return tO=o(function(r){var n=0,i=0,s=r(),a=o(function(c){if(c===null&&n!=0){n=0,i++;return}for(var l=0;c>0;){i>=s.length&&(i=0,s=r());var u=8-n;n===0&&c>0&&a.bytesRead++,c>=u?(l<<=u,l|=t[u]&s[i++],n=0,c-=u):(l<<=c,l|=(s[i]&t[c]<<8-c-n)>>8-c-n,n+=c,c=0)}return l},"f");return a.bytesRead=0,a},"bitIterator"),tO}o(dXe,"requireBit_iterator");var rO,Ane;function fXe(){if(Ane)return rO;Ane=1;let t=AXe(),e=dXe();rO=r;function r(n){let i=[],s=0,a=0,c=!1,l=!1,u=null,A=null;function d(m){if(a){let b=1e5*a,y=new Int32Array(b),I=[],w=o(function(v){I.push(v)},"f");return A=t.decompress(u,w,y,b,A),A===null?(a=0,!1):(m(new Uint8Array(I)),!0)}else return a=t.header(u),A=0,!1}o(d,"decompressBlock");let f=0;function h(m){if(!c)try{return d(function(b){m.enqueue(b),b!==null&&(f+=b.length)})}catch(b){return m.error(b),c=!0,!0}}o(h,"decompressAndQueue");let g;return new ReadableStream({start(){g=n.getReader()},async pull(m){try{for(;;){for(;!(l||u&&s-u.bytesRead+1>=25e3+1e5*(a||4));){let{value:b,done:y}=await g.read();y?l=!0:(i.push(b),s+=b.length,u===null&&(u=e(function(){return i.shift()})))}for(;l?u&&s>u.bytesRead:u&&s-u.bytesRead+1>=25e3+1e5*(a||4);)if(h(m))return;if(l&&!c&&(!u||s<=u.bytesRead)){A===null?m.close():m.error(new Error("input stream ended prematurely"));return}}}catch(b){m.error(b)}},async cancel(m){await g.abort(m)}},{highWaterMark:0})}return o(r,"unbzip2Stream"),rO}o(fXe,"requireUnbzip2Stream");var hXe=fXe(),pXe=uXe(hXe),gXe=Object.freeze({__proto__:null,default:pXe});var ia=Or(Pt());var Ah=Or(Pt());var uh="F3DCC08A8572C0749B3E18888EAB4D40A7B22B59",BM=`gpg-public-key-${uh}`;async function vse(t){let e=await zB({armoredKey:t}),r=e.getFingerprint().toUpperCase();if(r!==uh)throw new Error(`Fingerprint mismatch: expected ${uh}, got ${r}`);return e.armor()}o(vse,"getCleanArmoredKey");async function Rse(t){let e=mI(BM);if(e)try{let n=await vse(e);return(0,Ah.info)("Retrieved verified public key from filesystem storage."),await zB({armoredKey:n})}catch(n){(0,Ah.debug)(`Failed to parse cached signing key [${BM}]: ${n instanceof Error?n.message:String(n)}`)}let r=[Gte("keys.openpgp.org",uh),jte("keyserver.ubuntu.com",uh),Yte("robobun")];for(let n of r)try{let i=new URL(n),s=Df(n,{},t),c=await(await il(n,{headers:s})).text();if(c.includes("-----BEGIN PGP PUBLIC KEY BLOCK-----")){let l=await vse(c);return yI(BM,l),(0,Ah.info)(`Retrieved verified public key from ${i.hostname}.`),await zB({armoredKey:l})}}catch(i){(0,Ah.debug)(`Failed to fetch signing key from ${n}: ${i instanceof Error?i.message:String(i)}`);continue}throw new Error(`Failed to retrieve verified public key for ${uh} from all sources.`)}o(Rse,"getSigningKey");async function Pse(t,e){let r=new URL(t);r.pathname=`${r.pathname}.asc`;let n=r.href,i=r.hostname==="github.com"&&r.protocol==="https:",s=await il(n,{headers:i&&e?{Authorization:`Bearer ${e}`}:{}}),[a,c]=await Promise.all([s.text(),Rse(e)]),l=await die({cleartextMessage:a}),u=c.getCreationTime(),A=c.getFingerprint().toUpperCase(),d=c.getKeyID().toHex().toLowerCase();(0,ia.info)(`Trusted Key ID: ${d}`),(0,ia.info)(`Trusted Fingerprint: ${A}`);let f=await fie({message:l,verificationKeys:c,date:Ute(s,u)??new Date,expectSigned:!0,format:"utf8"}),h=f.signatures.find(m=>{let b=c.getKeys(m.keyID)[0];if(b&&c.hasSameFingerprintAs(b))return!0;let y=c.getSubkeys(m.keyID);for(let I of y)if(I.mainKey.hasSameFingerprintAs(c))return!0;return!1});if(!h)throw new Error(`No PGP signatures from ${A} found in ${n}`);(0,ia.info)("Checking PGP signature..."),(0,ia.info)(` - Key ID : ${h.keyID.toHex().toLowerCase()}`);let g=c.getKeys(h.keyID)[0];(0,ia.info)(` - Fingerprint : ${g.getFingerprint().toUpperCase()}`);try{let[m,b]=await Promise.all([h.verified,h.signature]),y=b.packets[0]?.created;(0,ia.info)(` - Signed On : ${y instanceof Date?y.toISOString():"Unknown"}`),m===!0&&(0,ia.info)(` +Signature verified successfully.`)}catch(m){let b=m.message;throw(0,ia.error)(`PGP Signature verification failed: ${b}`),new Error(`PGP Signature verification failed for ${n}: ${b}`)}if(!f.data)throw new Error("Verified manifest text is empty or undefined.");return f.data}o(Pse,"getVerifiedManifest");var VB=class extends Error{static{o(this,"DigestVerificationError")}},wM=class extends Error{static{o(this,"UnsupportedAlgorithmError")}},Dse={sha256:{manifestFile:"SHASUMS256.txt"}};function mXe(t){return t in Dse}o(mXe,"isSupportedAlgorithm");function yXe(t){if(mXe(t))return Dse[t].manifestFile;throw new wM(`Unsupported algorithm: ${t}`)}o(yXe,"getManifest");async function kse(t,e,r,n="sha256"){let i=yXe(n),s=Fte(e),c=new URL(e).pathname.split("/").pop();if(!c)throw new Error(`Could not determine asset filename from URL: ${s}`);let l=c,u=(0,WB.readFileSync)(t),A=(0,_se.createHash)(n).update(u).digest("hex").toLowerCase(),d;try{d=await Vte(e,r)}catch(b){let y=b instanceof Error?b.message:String(b);(0,ec.warning)(`Skipping GitHub API digest check for: ${s} (${y})`)}let f="";if(d){if(l=d.name,f=xI(d.owner,d.repo,d.tag,i),Number.isNaN(d.updated_at.getTime()))throw JB(t),new VB(`Invalid updated_at for asset ${l}`);if(d.updated_at>=qte)if((0,ec.info)(`Verifying via asset metadata: ${l}`),d.digest){let b=Jte(d.digest);if(b!==A)throw JB(t),new VB(`Security Mismatch: GitHub API digest (${b}) differs from local hash (${A})!`);(0,ec.info)(`GitHub API digest matched! (${d.digest})`),(0,ec.setOutput)("bun-download-checksum",`${d.digest}`)}else(0,ec.warning)(`GitHub digest missing for asset updated on ${d.updated_at.toISOString()}`)}if(!f){let b=new URL(e),y=b.pathname.split("/"),I=y[y.length-1]??"";if(!I.startsWith("bun-")||!I.endsWith(".zip"))throw new Error(`Cannot derive manifest URL: "${s}" does not appear to be a direct Bun archive URL. The path was expected to end with a filename matching "bun-*.zip".`);y[y.length-1]=i,b.pathname=y.join("/"),f=b.href}let g=(await Pse(f,r)).split(/\r?\n/).map(b=>b.match(/^([A-Fa-f0-9]+) [* ](.+)$/)).find(b=>!!b&&b[2].trim()===l);if(!g)throw JB(t),new Error(`No verified hash found for ${l} in the signed manifest.`);let m=g[1].toLowerCase();if(A!==m)throw JB(t),new Error(`Integrity Failure: Local hash (${A}) does not match manifest (${m})`);return(0,ec.info)(`Successfully verified ${l} (PGP + ${i})`),`${n}:${m}`}o(kse,"verifyAsset");function JB(t){try{(0,WB.unlinkSync)(t)}catch{}}o(JB,"silentUnlink");function $B(t,e,r,n="download-bun"){if(r instanceof Error){let i=new Error(`${n}: ${e}: ${r.message}`,{cause:r});i.stack=r.stack,t(i)}else t(`${n}: ${e}: ${String(r)}`)}o($B,"downloadLog");async function Tse(t,e,r){let n={},i=Dte(await(0,ZB.downloadTool)(t),".zip"),s=await kse(i,t,r),a=(0,tc.resolve)((0,tc.dirname)(e)),c=(0,tc.join)(a,`${CI(t).replace(/[^A-Za-z0-9-]/g,"")}.tmp`),l=process.env.RUNNER_TEMP||"";try{process.env.RUNNER_TEMP=c;try{n.zipPath=await(0,ZB.extractZip)(i)}catch(u){throw $B(dh.error,`could not unzip: ${(0,tc.basename)(i)}`,u,"downloadBun"),u}try{n.bunPath=await hI(n.zipPath)}catch(u){throw $B(dh.error,`could not extract bun from: ${n.zipPath}`,u,"downloadBun"),u}try{(0,XB.renameSync)(n.bunPath,e)}catch(u){throw $B(dh.error,`could not rename: ${n.bunPath} => ${e}`,u,"downloadBun"),u}}finally{process.env.RUNNER_TEMP=l;try{(0,XB.rmSync)(c,{force:!0,recursive:!0})}catch(u){$B(dh.warning,`failed to remove: ${(0,tc.basename)(c)}`,u,"downloadBun")}}return{binPath:e,checksum:s,url:t}}o(Tse,"downloadBun");var rc=Or(AT());async function Ose(t){let{customUrl:e}=t;return e||await EXe(t)}o(Ose,"getDownloadUrl");async function EXe(t){let{version:e,os:r,arch:n,avx2:i,profile:s}=t,a;if((0,rc.validateStrict)(e)&&(a=`bun-v${e}`),!a){let g=sl("api.github.com","repos/oven-sh/bun/git/refs/tags","https"),m=Df(g,{},t.token),y=(await(await il(g,{headers:m})).json()).filter(I=>I.ref.startsWith("refs/tags/bun-v")||I.ref==="refs/tags/canary").map(I=>I.ref.replace(/refs\/tags\/(bun-v)?/g,"")).filter(Boolean);if(a=y.find(I=>I===e),a)(0,rc.validate)(a)&&(a=`bun-v${a}`);else{y=y.filter(w=>(0,rc.validate)(w)).sort(rc.compareVersions);let I=e==="latest"||!e?y.at(-1):y.filter(w=>(0,rc.satisfies)(w,e)).at(-1);if(!I)throw new Error(`No Bun release found matching version '${e}'`);a=`bun-v${I}`}}let c=a??e,l=n??process.arch,u=r??BT(),A=Tte(u,l,c),d=Ote(u,l,i,c),h=["bun",u,A,d?"":"baseline",s?"profile":""].filter(g=>g!=="").join("-")+".zip";return xI("oven-sh","bun",c,h)}o(EXe,"getSemverDownloadUrl");var nc=require("node:fs"),ew=require("node:crypto");var Qm=1024*256;function tw(t){let{size:e,mtimeMs:r,ino:n}=(0,nc.statSync)(t),i=Buffer.alloc(Qm),s=Buffer.alloc(Qm),a=(0,nc.openSync)(t,"r"),c,l;try{c=(0,nc.readSync)(a,i,0,Qm,0);let f=Math.max(0,e-Qm);l=(0,nc.readSync)(a,s,0,Qm,f)}finally{(0,nc.closeSync)(a)}let u=(0,ew.createHash)("sha512").update(i.subarray(0,c)).digest("hex"),A=(0,ew.createHash)("sha512").update(s.subarray(0,l)).digest("hex"),d=`size:${e}|mtimeMs:${r}|ino:${n}|head:${u}|tail:${A}`;return"sha512:"+(0,ew.createHash)("sha512").update(d).digest("hex")}o(tw,"quickFingerprint");var Lse=o(async t=>{let e=(0,Ql.join)((0,Mse.cwd)(),"bunfig.toml");$ee(e,t.registries);let r=bXe(t),n=await Ose(t),i=zte(n)?n:QT(n),s=(0,Ql.join)((0,QM.homedir)(),".bun","bin");try{(0,io.mkdirSync)(s,{recursive:!0})}catch(b){if(b.code!=="EEXIST")throw b}let a=(0,Ql.join)(s,IT("bun"));try{(0,io.symlinkSync)(a,(0,Ql.join)(s,IT("bunx")))}catch(b){if(b.code!=="EEXIST")throw b}let c,l,u=!1,A={cacheEnabled:r,cacheHit:u,bunPath:a,url:i,checksum:c,revision:l},d=CI(n),f=(0,Ql.join)((0,QM.homedir)(),".bun","bun.json");if(r&&(0,io.existsSync)(f)){try{let b=JSON.parse((0,io.readFileSync)(f,"utf8"));if(b.url!==i)throw new Error("The URL did not match.");typeof b.checksum=="string"&&(c=b.checksum),typeof b.binaryFingerprint=="string"&&(A.binaryFingerprint=b.binaryFingerprint),typeof b.bunPath=="string"&&(A.bunPath=b.bunPath),typeof b.revision=="string"&&(A.revision=b.revision)}catch{(0,fn.warning)(`Ignoring metadata from: ${f}`)}c&&(A.cacheHit=!0,A.checksum=c)}if(!t.customUrl&&A.revision&&(0,io.existsSync)(A.bunPath)&&Mte(A.revision,t.version)&&A.binaryFingerprint)try{tw(A.bunPath)===A.binaryFingerprint?(l=A.revision,u=A.cacheHit,(0,fn.info)(`Using existing Bun installation: ${l}`)):(0,fn.info)(`Binary at ${A.bunPath} does not match stored fingerprint; re-downloading.`)}catch{(0,fn.info)(`Could not verify binary at ${A.bunPath}; re-downloading.`)}let h=[A.bunPath,f];if(!l&&r&&await(0,rw.restoreCache)(h,d)){if((0,io.existsSync)(f))try{let y=JSON.parse((0,io.readFileSync)(f,"utf8"));if(y.url!==i)throw new Error("The URL did not match.");typeof y.checksum=="string"&&(c=y.checksum,A.checksum=c),typeof y.binaryFingerprint=="string"&&(A.binaryFingerprint="restored"),typeof y.bunPath=="string"&&(A.bunPath=y.bunPath),typeof y.revision=="string"&&(l=y.revision,A.revision=l)}catch{(0,fn.warning)(`Ignoring cached metadata from: ${f}`)}if(l){let y=_te(n),[I]=l.split("+");if(!y)(0,fn.warning)(`Could not parse expected version from URL: ${n}. Ignoring cache.`),l=void 0;else if(I!==y)(0,fn.warning)(`Cached Bun version ${l} does not match expected version ${y}. Re-downloading.`),l=void 0;else if(A.checksum){u=!0,A.cacheHit=u;try{A.binaryFingerprint==="restored"&&(A.binaryFingerprint=tw(A.bunPath),Pu(f,JSON.stringify(A)))}catch{}(0,fn.info)(`Using a cached version of Bun: ${l}`)}}else(0,fn.warning)(`Found a Bun binary (with an unknown version) at: ${A.bunPath}`)}if(!u){A.cacheHit=!1,(0,fn.info)(`Downloading a new version of Bun: ${n}`);let b=await Tse(n,a,t.token);c=b.checksum,A.bunPath=b.binPath,A.checksum=c,A.url=b.url;try{A.binaryFingerprint=tw(b.binPath)}catch{(0,fn.warning)(`Could not fingerprint: ${b.binPath}`)}l=await Lte(b.binPath),A.revision=l}if(!l)throw new Error("Downloaded a new version of Bun, but failed to check its version? Try again.");let[g]=l.split("+");A.cacheHit=u,A.checksum=c,A.revision=l;let m=JSON.stringify({...A,url:QT(A.url)});return r&&!u&&Pu(f,m),(0,fn.saveState)("cache",m),(0,fn.addPath)((0,Ql.dirname)(A.bunPath)),{version:g,revision:l,bunPath:A.bunPath,url:A.url,checksum:c,cacheHit:u}},"default");function bXe(t){let{customUrl:e,version:r,noCache:n}=t;return n?(process.env.FS_CACHE_FORCE_STALE="1",!1):e||!r||/latest|canary|action/i.test(r)?!1:(0,rw.isFeatureAvailable)()}o(bXe,"isCacheEnabled");function Use(t){return t?.trim()?t.split(` +`).map(e=>e.trim()).filter(Boolean).map(CXe).filter(Boolean):[]}o(Use,"parseRegistries");function CXe(t){let e=t.match(/^(@[a-z0-9-_.]+|[a-z0-9-_.]+(?=:[a-z]+:\/\/)):(.+)$/i);if(e){let r=e[1],n=e[2].trim(),[i,s]=n.split("|",2).map(a=>a?.trim());try{return new URL(i),{url:i,scope:r,...s&&{token:s}}}catch{throw new Error(`Invalid URL in registry configuration: ${i}`)}}else{let[r,n]=t.split("|",2).map(i=>i?.trim());try{return new URL(r),{url:r,scope:"",...n&&{token:n}}}catch{throw new Error(`Invalid URL in registry configuration: ${r}`)}}}o(CXe,"parseLine");process.env.RUNNER_TEMP||(process.env.RUNNER_TEMP=(0,Hse.tmpdir)());var qse=Use((0,Gr.getInput)("registries")),Fse=(0,Gr.getInput)("registry-url"),xXe=(0,Gr.getInput)("scope");Fse&&qse.push({url:Fse,scope:xXe,token:"$BUN_AUTH_TOKEN"});Lse({version:(0,Gr.getInput)("bun-version")||wT((0,Gr.getInput)("bun-version-file"))||wT("package.json",!0)||void 0,customUrl:(0,Gr.getInput)("bun-download-url")||void 0,registries:qse,noCache:(0,Gr.getBooleanInput)("no-cache")||!1,token:(0,Gr.getInput)("token")}).then(({version:t,revision:e,bunPath:r,url:n,checksum:i,cacheHit:s})=>{(0,Gr.setOutput)("bun-version",t),(0,Gr.setOutput)("bun-revision",e),(0,Gr.setOutput)("bun-path",r),(0,Gr.setOutput)("bun-download-url",n),(0,Gr.setOutput)("bun-download-checksum",i??""),(0,Gr.setOutput)("cache-hit",s),process.exit(0)}).catch(t=>{(0,Gr.setFailed)(t),process.exit(1)}); /*! Bundled license information: undici/lib/web/fetch/body.js: @@ -140,4 +172,12 @@ undici/lib/web/fetch/body.js: undici/lib/web/websocket/frame.js: (*! ws. MIT License. Einar Otto Stangvik *) + +openpgp/dist/node/openpgp.mjs: + (*! OpenPGP.js v6.3.0 - 2025-12-09 - this is LGPL licensed code, see LICENSE/our website https://openpgpjs.org/ for more information. *) + (*! noble-ciphers - MIT License (c) 2023 Paul Miller (paulmillr.com) *) + +openpgp/dist/node/openpgp.mjs: + (*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) *) + (*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *) */ From bdae7abe4527ccf2e58a7525f80bb4b984fd6418 Mon Sep 17 00:00:00 2001 From: tcely Date: Sat, 14 Mar 2026 20:45:41 -0400 Subject: [PATCH 48/48] Update .github/workflows/test.yml Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ced72050..8b4c8c59 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -300,7 +300,7 @@ jobs: echo "Successfully installed from default registry" else echo "${output}" - echo "Return code: ${status}" + echo "Return code: ${status}" echo "Failed to install from default registry" exit 1 fi