release: v2.1.3 (#170)

* release: v2.1.3

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
Jozef Steinhüblandautofix-ci[bot] authored and GitHub committed 2026-03-04 16:32:45 +01:00
1 parent 95edc153a3
commit ecf28ddc73
5 files changed
+143 -1365

No files matched your search

+48 -56
View File
@@ -5,20 +5,20 @@
"": {
"name": "setup-bun",
"dependencies": {
"@actions/cache": "^4.0.0",
"@actions/core": "^1.11.0",
"@actions/cache": "^4.1.0",
"@actions/core": "^1.11.1",
"@actions/exec": "^1.1.1",
"@actions/glob": "^0.4.0",
"@actions/io": "^1.1.2",
"@actions/tool-cache": "^2.0.1",
"@actions/io": "^1.1.3",
"@actions/tool-cache": "^2.0.2",
"@iarna/toml": "^2.2.5",
"compare-versions": "^6.1.1",
},
"devDependencies": {
"@types/bun": "^1.1.13",
"@types/node": "^20.8.2",
"esbuild": "^0.19.2",
"prettier": "^3.4.2",
"@types/bun": "^1.3.10",
"@types/node": "^20.19.35",
"esbuild": "^0.19.12",
"prettier": "^3.8.1",
"typescript": "^4.9.5",
},
},
@@ -30,7 +30,7 @@
"form-data": "^4.0.4",
},
"packages": {
"@actions/cache": ["@actions/cache@4.0.3", "", { "dependencies": { "@actions/core": "^1.11.1", "@actions/exec": "^1.0.1", "@actions/glob": "^0.1.0", "@actions/http-client": "^2.1.1", "@actions/io": "^1.0.1", "@azure/abort-controller": "^1.1.0", "@azure/ms-rest-js": "^2.6.0", "@azure/storage-blob": "^12.13.0", "@protobuf-ts/plugin": "^2.9.4", "semver": "^6.3.1" } }, "sha512-SvrqFtYJ7I48A/uXNkoJrnukx5weQv1fGquhs3+4nkByZThBH109KTIqj5x/cGV7JGNvb8dLPVywUOqX1fjiXg=="],
"@actions/cache": ["@actions/cache@4.1.0", "", { "dependencies": { "@actions/core": "^1.11.1", "@actions/exec": "^1.0.1", "@actions/glob": "^0.1.0", "@actions/http-client": "^2.1.1", "@actions/io": "^1.0.1", "@azure/abort-controller": "^1.1.0", "@azure/ms-rest-js": "^2.6.0", "@azure/storage-blob": "^12.13.0", "@protobuf-ts/runtime-rpc": "^2.11.1", "semver": "^6.3.1" } }, "sha512-z3Opg+P4Y7baq+g1dODXgdtsvPLSewr3ZKpp3U0HQR1A/vWCoJFS52XSezjdngo4SIOdR5oHtyK3a3Arar+X9A=="],
"@actions/core": ["@actions/core@1.11.1", "", { "dependencies": { "@actions/exec": "^1.1.1", "@actions/http-client": "^2.0.1" } }, "sha512-hXJCSrkwfA46Vd9Z3q4cpEpHB1rL5NG04+/rbqW9d3+CSvtB1tYe8UTpAlixa1vj0m/ULglfEK2UKxMGxCxv5A=="],
@@ -42,7 +42,7 @@
"@actions/io": ["@actions/io@1.1.3", "", {}, ""],
"@actions/tool-cache": ["@actions/tool-cache@2.0.1", "", { "dependencies": { "@actions/core": "^1.2.6", "@actions/exec": "^1.0.0", "@actions/http-client": "^2.0.1", "@actions/io": "^1.1.1", "semver": "^6.1.0", "uuid": "^3.3.2" } }, ""],
"@actions/tool-cache": ["@actions/tool-cache@2.0.2", "", { "dependencies": { "@actions/core": "^1.11.1", "@actions/exec": "^1.0.0", "@actions/http-client": "^2.0.1", "@actions/io": "^1.1.1", "semver": "^6.1.0" } }, "sha512-fBhNNOWxuoLxztQebpOaWu6WeVmuwa77Z+DxIZ1B+OYvGkGQon6kTVg6Z32Cb13WCuw0szqonK+hh03mJV7Z6w=="],
"@azure/abort-controller": ["@azure/abort-controller@1.1.0", "", { "dependencies": { "tslib": "^2.2.0" } }, ""],
@@ -64,72 +64,66 @@
"@azure/storage-blob": ["@azure/storage-blob@12.15.0", "", { "dependencies": { "@azure/abort-controller": "^1.0.0", "@azure/core-http": "^3.0.0", "@azure/core-lro": "^2.2.0", "@azure/core-paging": "^1.1.1", "@azure/core-tracing": "1.0.0-preview.13", "@azure/logger": "^1.0.0", "events": "^3.0.0", "tslib": "^2.2.0" } }, ""],
"@esbuild/android-arm": ["@esbuild/android-arm@0.19.2", "", { "os": "android", "cpu": "arm" }, "sha512-tM8yLeYVe7pRyAu9VMi/Q7aunpLwD139EY1S99xbQkT4/q2qa6eA4ige/WJQYdJ8GBL1K33pPFhPfPdJ/WzT8Q=="],
"@esbuild/aix-ppc64": ["@esbuild/aix-ppc64@0.19.12", "", { "os": "aix", "cpu": "ppc64" }, "sha512-bmoCYyWdEL3wDQIVbcyzRyeKLgk2WtWLTWz1ZIAZF/EGbNOwSA6ew3PftJ1PqMiOOGu0OyFMzG53L0zqIpPeNA=="],
"@esbuild/android-arm64": ["@esbuild/android-arm64@0.19.2", "", { "os": "android", "cpu": "arm64" }, "sha512-lsB65vAbe90I/Qe10OjkmrdxSX4UJDjosDgb8sZUKcg3oefEuW2OT2Vozz8ef7wrJbMcmhvCC+hciF8jY/uAkw=="],
"@esbuild/android-arm": ["@esbuild/android-arm@0.19.12", "", { "os": "android", "cpu": "arm" }, "sha512-qg/Lj1mu3CdQlDEEiWrlC4eaPZ1KztwGJ9B6J+/6G+/4ewxJg7gqj8eVYWvao1bXrqGiW2rsBZFSX3q2lcW05w=="],
"@esbuild/android-x64": ["@esbuild/android-x64@0.19.2", "", { "os": "android", "cpu": "x64" }, "sha512-qK/TpmHt2M/Hg82WXHRc/W/2SGo/l1thtDHZWqFq7oi24AjZ4O/CpPSu6ZuYKFkEgmZlFoa7CooAyYmuvnaG8w=="],
"@esbuild/android-arm64": ["@esbuild/android-arm64@0.19.12", "", { "os": "android", "cpu": "arm64" }, "sha512-P0UVNGIienjZv3f5zq0DP3Nt2IE/3plFzuaS96vihvD0Hd6H/q4WXUGpCxD/E8YrSXfNyRPbpTq+T8ZQioSuPA=="],
"@esbuild/darwin-arm64": ["@esbuild/darwin-arm64@0.19.2", "", { "os": "darwin", "cpu": "arm64" }, ""],
"@esbuild/android-x64": ["@esbuild/android-x64@0.19.12", "", { "os": "android", "cpu": "x64" }, "sha512-3k7ZoUW6Q6YqhdhIaq/WZ7HwBpnFBlW905Fa4s4qWJyiNOgT1dOqDiVAQFwBH7gBRZr17gLrlFCRzF6jFh7Kew=="],
"@esbuild/darwin-x64": ["@esbuild/darwin-x64@0.19.2", "", { "os": "darwin", "cpu": "x64" }, "sha512-tP+B5UuIbbFMj2hQaUr6EALlHOIOmlLM2FK7jeFBobPy2ERdohI4Ka6ZFjZ1ZYsrHE/hZimGuU90jusRE0pwDw=="],
"@esbuild/darwin-arm64": ["@esbuild/darwin-arm64@0.19.12", "", { "os": "darwin", "cpu": "arm64" }, "sha512-B6IeSgZgtEzGC42jsI+YYu9Z3HKRxp8ZT3cqhvliEHovq8HSX2YX8lNocDn79gCKJXOSaEot9MVYky7AKjCs8g=="],
"@esbuild/freebsd-arm64": ["@esbuild/freebsd-arm64@0.19.2", "", { "os": "freebsd", "cpu": "arm64" }, "sha512-YbPY2kc0acfzL1VPVK6EnAlig4f+l8xmq36OZkU0jzBVHcOTyQDhnKQaLzZudNJQyymd9OqQezeaBgkTGdTGeQ=="],
"@esbuild/darwin-x64": ["@esbuild/darwin-x64@0.19.12", "", { "os": "darwin", "cpu": "x64" }, "sha512-hKoVkKzFiToTgn+41qGhsUJXFlIjxI/jSYeZf3ugemDYZldIXIxhvwN6erJGlX4t5h417iFuheZ7l+YVn05N3A=="],
"@esbuild/freebsd-x64": ["@esbuild/freebsd-x64@0.19.2", "", { "os": "freebsd", "cpu": "x64" }, "sha512-nSO5uZT2clM6hosjWHAsS15hLrwCvIWx+b2e3lZ3MwbYSaXwvfO528OF+dLjas1g3bZonciivI8qKR/Hm7IWGw=="],
"@esbuild/freebsd-arm64": ["@esbuild/freebsd-arm64@0.19.12", "", { "os": "freebsd", "cpu": "arm64" }, "sha512-4aRvFIXmwAcDBw9AueDQ2YnGmz5L6obe5kmPT8Vd+/+x/JMVKCgdcRwH6APrbpNXsPz+K653Qg8HB/oXvXVukA=="],
"@esbuild/linux-arm": ["@esbuild/linux-arm@0.19.2", "", { "os": "linux", "cpu": "arm" }, "sha512-Odalh8hICg7SOD7XCj0YLpYCEc+6mkoq63UnExDCiRA2wXEmGlK5JVrW50vZR9Qz4qkvqnHcpH+OFEggO3PgTg=="],
"@esbuild/freebsd-x64": ["@esbuild/freebsd-x64@0.19.12", "", { "os": "freebsd", "cpu": "x64" }, "sha512-EYoXZ4d8xtBoVN7CEwWY2IN4ho76xjYXqSXMNccFSx2lgqOG/1TBPW0yPx1bJZk94qu3tX0fycJeeQsKovA8gg=="],
"@esbuild/linux-arm64": ["@esbuild/linux-arm64@0.19.2", "", { "os": "linux", "cpu": "arm64" }, "sha512-ig2P7GeG//zWlU0AggA3pV1h5gdix0MA3wgB+NsnBXViwiGgY77fuN9Wr5uoCrs2YzaYfogXgsWZbm+HGr09xg=="],
"@esbuild/linux-arm": ["@esbuild/linux-arm@0.19.12", "", { "os": "linux", "cpu": "arm" }, "sha512-J5jPms//KhSNv+LO1S1TX1UWp1ucM6N6XuL6ITdKWElCu8wXP72l9MM0zDTzzeikVyqFE6U8YAV9/tFyj0ti+w=="],
"@esbuild/linux-ia32": ["@esbuild/linux-ia32@0.19.2", "", { "os": "linux", "cpu": "ia32" }, "sha512-mLfp0ziRPOLSTek0Gd9T5B8AtzKAkoZE70fneiiyPlSnUKKI4lp+mGEnQXcQEHLJAcIYDPSyBvsUbKUG2ri/XQ=="],
"@esbuild/linux-arm64": ["@esbuild/linux-arm64@0.19.12", "", { "os": "linux", "cpu": "arm64" }, "sha512-EoTjyYyLuVPfdPLsGVVVC8a0p1BFFvtpQDB/YLEhaXyf/5bczaGeN15QkR+O4S5LeJ92Tqotve7i1jn35qwvdA=="],
"@esbuild/linux-loong64": ["@esbuild/linux-loong64@0.19.2", "", { "os": "linux", "cpu": "none" }, "sha512-hn28+JNDTxxCpnYjdDYVMNTR3SKavyLlCHHkufHV91fkewpIyQchS1d8wSbmXhs1fiYDpNww8KTFlJ1dHsxeSw=="],
"@esbuild/linux-ia32": ["@esbuild/linux-ia32@0.19.12", "", { "os": "linux", "cpu": "ia32" }, "sha512-Thsa42rrP1+UIGaWz47uydHSBOgTUnwBwNq59khgIwktK6x60Hivfbux9iNR0eHCHzOLjLMLfUMLCypBkZXMHA=="],
"@esbuild/linux-mips64el": ["@esbuild/linux-mips64el@0.19.2", "", { "os": "linux", "cpu": "none" }, "sha512-KbXaC0Sejt7vD2fEgPoIKb6nxkfYW9OmFUK9XQE4//PvGIxNIfPk1NmlHmMg6f25x57rpmEFrn1OotASYIAaTg=="],
"@esbuild/linux-loong64": ["@esbuild/linux-loong64@0.19.12", "", { "os": "linux", "cpu": "none" }, "sha512-LiXdXA0s3IqRRjm6rV6XaWATScKAXjI4R4LoDlvO7+yQqFdlr1Bax62sRwkVvRIrwXxvtYEHHI4dm50jAXkuAA=="],
"@esbuild/linux-ppc64": ["@esbuild/linux-ppc64@0.19.2", "", { "os": "linux", "cpu": "ppc64" }, "sha512-dJ0kE8KTqbiHtA3Fc/zn7lCd7pqVr4JcT0JqOnbj4LLzYnp+7h8Qi4yjfq42ZlHfhOCM42rBh0EwHYLL6LEzcw=="],
"@esbuild/linux-mips64el": ["@esbuild/linux-mips64el@0.19.12", "", { "os": "linux", "cpu": "none" }, "sha512-fEnAuj5VGTanfJ07ff0gOA6IPsvrVHLVb6Lyd1g2/ed67oU1eFzL0r9WL7ZzscD+/N6i3dWumGE1Un4f7Amf+w=="],
"@esbuild/linux-riscv64": ["@esbuild/linux-riscv64@0.19.2", "", { "os": "linux", "cpu": "none" }, "sha512-7Z/jKNFufZ/bbu4INqqCN6DDlrmOTmdw6D0gH+6Y7auok2r02Ur661qPuXidPOJ+FSgbEeQnnAGgsVynfLuOEw=="],
"@esbuild/linux-ppc64": ["@esbuild/linux-ppc64@0.19.12", "", { "os": "linux", "cpu": "ppc64" }, "sha512-nYJA2/QPimDQOh1rKWedNOe3Gfc8PabU7HT3iXWtNUbRzXS9+vgB0Fjaqr//XNbd82mCxHzik2qotuI89cfixg=="],
"@esbuild/linux-s390x": ["@esbuild/linux-s390x@0.19.2", "", { "os": "linux", "cpu": "s390x" }, "sha512-U+RinR6aXXABFCcAY4gSlv4CL1oOVvSSCdseQmGO66H+XyuQGZIUdhG56SZaDJQcLmrSfRmx5XZOWyCJPRqS7g=="],
"@esbuild/linux-riscv64": ["@esbuild/linux-riscv64@0.19.12", "", { "os": "linux", "cpu": "none" }, "sha512-2MueBrlPQCw5dVJJpQdUYgeqIzDQgw3QtiAHUC4RBz9FXPrskyyU3VI1hw7C0BSKB9OduwSJ79FTCqtGMWqJHg=="],
"@esbuild/linux-x64": ["@esbuild/linux-x64@0.19.2", "", { "os": "linux", "cpu": "x64" }, "sha512-oxzHTEv6VPm3XXNaHPyUTTte+3wGv7qVQtqaZCrgstI16gCuhNOtBXLEBkBREP57YTd68P0VgDgG73jSD8bwXQ=="],
"@esbuild/linux-s390x": ["@esbuild/linux-s390x@0.19.12", "", { "os": "linux", "cpu": "s390x" }, "sha512-+Pil1Nv3Umes4m3AZKqA2anfhJiVmNCYkPchwFJNEJN5QxmTs1uzyy4TvmDrCRNT2ApwSari7ZIgrPeUx4UZDg=="],
"@esbuild/netbsd-x64": ["@esbuild/netbsd-x64@0.19.2", "", { "os": "none", "cpu": "x64" }, "sha512-WNa5zZk1XpTTwMDompZmvQLHszDDDN7lYjEHCUmAGB83Bgs20EMs7ICD+oKeT6xt4phV4NDdSi/8OfjPbSbZfQ=="],
"@esbuild/linux-x64": ["@esbuild/linux-x64@0.19.12", "", { "os": "linux", "cpu": "x64" }, "sha512-B71g1QpxfwBvNrfyJdVDexenDIt1CiDN1TIXLbhOw0KhJzE78KIFGX6OJ9MrtC0oOqMWf+0xop4qEU8JrJTwCg=="],
"@esbuild/openbsd-x64": ["@esbuild/openbsd-x64@0.19.2", "", { "os": "openbsd", "cpu": "x64" }, "sha512-S6kI1aT3S++Dedb7vxIuUOb3oAxqxk2Rh5rOXOTYnzN8JzW1VzBd+IqPiSpgitu45042SYD3HCoEyhLKQcDFDw=="],
"@esbuild/netbsd-x64": ["@esbuild/netbsd-x64@0.19.12", "", { "os": "none", "cpu": "x64" }, "sha512-3ltjQ7n1owJgFbuC61Oj++XhtzmymoCihNFgT84UAmJnxJfm4sYCiSLTXZtE00VWYpPMYc+ZQmB6xbSdVh0JWA=="],
"@esbuild/sunos-x64": ["@esbuild/sunos-x64@0.19.2", "", { "os": "sunos", "cpu": "x64" }, "sha512-VXSSMsmb+Z8LbsQGcBMiM+fYObDNRm8p7tkUDMPG/g4fhFX5DEFmjxIEa3N8Zr96SjsJ1woAhF0DUnS3MF3ARw=="],
"@esbuild/openbsd-x64": ["@esbuild/openbsd-x64@0.19.12", "", { "os": "openbsd", "cpu": "x64" }, "sha512-RbrfTB9SWsr0kWmb9srfF+L933uMDdu9BIzdA7os2t0TXhCRjrQyCeOt6wVxr79CKD4c+p+YhCj31HBkYcXebw=="],
"@esbuild/win32-arm64": ["@esbuild/win32-arm64@0.19.2", "", { "os": "win32", "cpu": "arm64" }, "sha512-5NayUlSAyb5PQYFAU9x3bHdsqB88RC3aM9lKDAz4X1mo/EchMIT1Q+pSeBXNgkfNmRecLXA0O8xP+x8V+g/LKg=="],
"@esbuild/sunos-x64": ["@esbuild/sunos-x64@0.19.12", "", { "os": "sunos", "cpu": "x64" }, "sha512-HKjJwRrW8uWtCQnQOz9qcU3mUZhTUQvi56Q8DPTLLB+DawoiQdjsYq+j+D3s9I8VFtDr+F9CjgXKKC4ss89IeA=="],
"@esbuild/win32-ia32": ["@esbuild/win32-ia32@0.19.2", "", { "os": "win32", "cpu": "ia32" }, "sha512-47gL/ek1v36iN0wL9L4Q2MFdujR0poLZMJwhO2/N3gA89jgHp4MR8DKCmwYtGNksbfJb9JoTtbkoe6sDhg2QTA=="],
"@esbuild/win32-arm64": ["@esbuild/win32-arm64@0.19.12", "", { "os": "win32", "cpu": "arm64" }, "sha512-URgtR1dJnmGvX864pn1B2YUYNzjmXkuJOIqG2HdU62MVS4EHpU2946OZoTMnRUHklGtJdJZ33QfzdjGACXhn1A=="],
"@esbuild/win32-x64": ["@esbuild/win32-x64@0.19.2", "", { "os": "win32", "cpu": "x64" }, "sha512-tcuhV7ncXBqbt/Ybf0IyrMcwVOAPDckMK9rXNHtF17UTK18OKLpg08glminN06pt2WCoALhXdLfSPbVvK/6fxw=="],
"@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=="],
"@opentelemetry/api": ["@opentelemetry/api@1.5.0", "", {}, ""],
"@protobuf-ts/plugin": ["@protobuf-ts/plugin@2.9.6", "", { "dependencies": { "@protobuf-ts/plugin-framework": "^2.9.6", "@protobuf-ts/protoc": "^2.9.6", "@protobuf-ts/runtime": "^2.9.6", "@protobuf-ts/runtime-rpc": "^2.9.6", "typescript": "^3.9" }, "bin": { "protoc-gen-dump": "bin/protoc-gen-dump", "protoc-gen-ts": "bin/protoc-gen-ts" } }, "sha512-Wpv5rkXeu6E5Y4r0TjWE0bzRGddiTYl/RM+tLgVlS0r8CqOBqNAmlWv+s8ltf/F75rVrahUal0cpyhFwha9GRA=="],
"@protobuf-ts/runtime": ["@protobuf-ts/runtime@2.11.1", "", {}, "sha512-KuDaT1IfHkugM2pyz+FwiY80ejWrkH1pAtOBOZFuR6SXEFTsnb/jiQWQ1rCIrcKx2BtyxnxW6BWwsVSA/Ie+WQ=="],
"@protobuf-ts/plugin-framework": ["@protobuf-ts/plugin-framework@2.9.6", "", { "dependencies": { "@protobuf-ts/runtime": "^2.9.6", "typescript": "^3.9" } }, "sha512-w7A1RXrDCiVzcaRE6YJP7FCARuAFe/Vc4SNQnHAi4CF0V6mEtyjAYEIC5BNYgIRaJEqB26zzsBQjIem3R02SCA=="],
"@protobuf-ts/runtime-rpc": ["@protobuf-ts/runtime-rpc@2.11.1", "", { "dependencies": { "@protobuf-ts/runtime": "^2.11.1" } }, "sha512-4CqqUmNA+/uMz00+d3CYKgElXO9VrEbucjnBFEjqI4GuDrEQ32MaI3q+9qPBvIGOlL4PmHXrzM32vBPWRhQKWQ=="],
"@protobuf-ts/protoc": ["@protobuf-ts/protoc@2.9.6", "", { "bin": { "protoc": "protoc.js" } }, "sha512-c0XvAPDIBAovH9HxV8gBv8gzOTreQIqibcusrB1+DxvFiSvy+2V1tjbUmG5gJEbjk3aAOaoj0a3+QuE+P28xUw=="],
"@types/bun": ["@types/bun@1.3.10", "", { "dependencies": { "bun-types": "1.3.10" } }, "sha512-0+rlrUrOrTSskibryHbvQkDOWRJwJZqZlxrUs1u4oOoTln8+WIXBPmAuCF35SWB2z4Zl3E84Nl/D0P7803nigQ=="],
"@protobuf-ts/runtime": ["@protobuf-ts/runtime@2.9.6", "", {}, "sha512-C0CfpKx4n4LBbUrajOdRj2BTbd3qBoK0SiKWLq7RgCoU6xiN4wesBMFHUOBp3fFzKeZwgU8Q2KtzaqzIvPLRXg=="],
"@protobuf-ts/runtime-rpc": ["@protobuf-ts/runtime-rpc@2.9.6", "", { "dependencies": { "@protobuf-ts/runtime": "^2.9.6" } }, "sha512-0UeqDRzNxgsh08lY5eWzFJNfD3gZ8Xf+WG1HzbIAbVAigzigwjwsYNNhTeas5H3gco1U5owTzCg177aambKOOw=="],
"@types/bun": ["@types/bun@1.2.18", "", { "dependencies": { "bun-types": "1.2.18" } }, "sha512-Xf6RaWVheyemaThV0kUfaAUvCNokFr+bH8Jxp+tTZfx7dAPA8z9ePnP9S9+Vspzuxxx9JRAXhnyccRj3GyCMdQ=="],
"@types/node": ["@types/node@20.9.1", "", { "dependencies": { "undici-types": "~5.26.4" } }, "sha512-HhmzZh5LSJNS5O8jQKpJ/3ZcrrlG6L70hpGqMIAoM9YVD0YBRNWYsfwcXq8VnSjlNpCpgLzMXdiPo+dxcvSmiA=="],
"@types/node": ["@types/node@20.19.35", "", { "dependencies": { "undici-types": "~6.21.0" } }, "sha512-Uarfe6J91b9HAUXxjvSOdiO2UPOKLm07Q1oh0JHxoZ1y8HoqxDAu3gVrsrOHeiio0kSsoVBt4wFrKOm0dKxVPQ=="],
"@types/node-fetch": ["@types/node-fetch@2.6.4", "", { "dependencies": { "@types/node": "*", "form-data": "^3.0.0" } }, ""],
"@types/react": ["@types/react@19.1.8", "", { "dependencies": { "csstype": "^3.0.2" } }, "sha512-AwAfQ2Wa5bCx9WP8nZL2uMZWod7J7/JSplxbTmBQ5ms6QpqNYm672H0Vu9ZVKVngQ+ii4R/byguVEUZQyeg44g=="],
"@types/tunnel": ["@types/tunnel@0.0.3", "", { "dependencies": { "@types/node": "*" } }, ""],
"abort-controller": ["abort-controller@3.0.0", "", { "dependencies": { "event-target-shim": "^5.0.0" } }, ""],
@@ -140,7 +134,7 @@
"brace-expansion": ["brace-expansion@1.1.11", "", { "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" } }, ""],
"bun-types": ["bun-types@1.2.18", "", { "dependencies": { "@types/node": "*" }, "peerDependencies": { "@types/react": "^19" } }, "sha512-04+Eha5NP7Z0A9YgDAzMk5PHR16ZuLVa83b26kH5+cp1qZW4F6FmAURngE7INf4tKOvCE69vYvDEwoNl1tGiWw=="],
"bun-types": ["bun-types@1.3.10", "", { "dependencies": { "@types/node": "*" } }, "sha512-tcpfCCl6XWo6nCVnpcVrxQ+9AYN1iqMIzgrSKYMB/fjLtV2eyAVEg7AxQJuCq/26R6HpKWykQXuSOq/21RYcbg=="],
"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=="],
@@ -150,8 +144,6 @@
"concat-map": ["concat-map@0.0.1", "", {}, ""],
"csstype": ["csstype@3.1.3", "", {}, "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw=="],
"delayed-stream": ["delayed-stream@1.0.0", "", {}, ""],
"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=="],
@@ -164,7 +156,7 @@
"es-set-tostringtag": ["es-set-tostringtag@2.1.0", "", { "dependencies": { "es-errors": "^1.3.0", "get-intrinsic": "^1.2.6", "has-tostringtag": "^1.0.2", "hasown": "^2.0.2" } }, "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA=="],
"esbuild": ["esbuild@0.19.2", "", { "optionalDependencies": { "@esbuild/android-arm": "0.19.2", "@esbuild/android-arm64": "0.19.2", "@esbuild/android-x64": "0.19.2", "@esbuild/darwin-arm64": "0.19.2", "@esbuild/darwin-x64": "0.19.2", "@esbuild/freebsd-arm64": "0.19.2", "@esbuild/freebsd-x64": "0.19.2", "@esbuild/linux-arm": "0.19.2", "@esbuild/linux-arm64": "0.19.2", "@esbuild/linux-ia32": "0.19.2", "@esbuild/linux-loong64": "0.19.2", "@esbuild/linux-mips64el": "0.19.2", "@esbuild/linux-ppc64": "0.19.2", "@esbuild/linux-riscv64": "0.19.2", "@esbuild/linux-s390x": "0.19.2", "@esbuild/linux-x64": "0.19.2", "@esbuild/netbsd-x64": "0.19.2", "@esbuild/openbsd-x64": "0.19.2", "@esbuild/sunos-x64": "0.19.2", "@esbuild/win32-arm64": "0.19.2", "@esbuild/win32-ia32": "0.19.2", "@esbuild/win32-x64": "0.19.2" }, "bin": "bin/esbuild" }, ""],
"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=="],
"event-target-shim": ["event-target-shim@5.0.1", "", {}, ""],
@@ -196,7 +188,7 @@
"node-fetch": ["node-fetch@2.7.0", "", { "dependencies": { "whatwg-url": "^5.0.0" }, "peerDependencies": { "encoding": "^0.1.0" }, "optionalPeers": ["encoding"] }, ""],
"prettier": ["prettier@3.4.2", "", { "bin": "bin/prettier.cjs" }, "sha512-e9MewbtFo+Fevyuxn/4rrcDAaq0IYxPGLvObpQjiZBMAzB9IGmzlnG9RZy3FFas+eBMu2vA0CszMeduow5dIuQ=="],
"prettier": ["prettier@3.8.1", "", { "bin": { "prettier": "bin/prettier.cjs" } }, "sha512-UOnG6LftzbdaHZcKoPFtOcCKztrQ57WkHDeRD9t/PTQtmT0NHSeWWepj6pS0z/N7+08BHFDQVUrfmfMRcZwbMg=="],
"process": ["process@0.11.10", "", {}, ""],
@@ -212,9 +204,9 @@
"typescript": ["typescript@4.9.5", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, ""],
"undici-types": ["undici-types@5.26.5", "", {}, "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA=="],
"undici-types": ["undici-types@6.21.0", "", {}, "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ=="],
"uuid": ["uuid@3.4.0", "", { "bin": "bin/uuid" }, ""],
"uuid": ["uuid@8.3.2", "", { "bin": "dist/bin/uuid" }, ""],
"webidl-conversions": ["webidl-conversions@3.0.1", "", {}, ""],
@@ -226,14 +218,14 @@
"@actions/cache/@actions/glob": ["@actions/glob@0.1.2", "", { "dependencies": { "@actions/core": "^1.2.6", "minimatch": "^3.0.4" } }, ""],
"@azure/core-http/uuid": ["uuid@8.3.2", "", { "bin": "dist/bin/uuid" }, ""],
"@azure/ms-rest-js/tslib": ["tslib@1.14.1", "", {}, ""],
"@azure/ms-rest-js/uuid": ["uuid@8.3.2", "", { "bin": "dist/bin/uuid" }, ""],
"@types/node-fetch/@types/node": ["@types/node@20.9.1", "", { "dependencies": { "undici-types": "~5.26.4" } }, "sha512-HhmzZh5LSJNS5O8jQKpJ/3ZcrrlG6L70hpGqMIAoM9YVD0YBRNWYsfwcXq8VnSjlNpCpgLzMXdiPo+dxcvSmiA=="],
"@protobuf-ts/plugin/typescript": ["typescript@3.9.10", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-w6fIxVE/H1PkLKcCPsFqKE7Kv7QUwhU8qQY2MueZXWx5cPZdwFupLgKK3vntcK98BtNHZtAF4LA/yl2a7k8R6Q=="],
"@types/tunnel/@types/node": ["@types/node@20.9.1", "", { "dependencies": { "undici-types": "~5.26.4" } }, "sha512-HhmzZh5LSJNS5O8jQKpJ/3ZcrrlG6L70hpGqMIAoM9YVD0YBRNWYsfwcXq8VnSjlNpCpgLzMXdiPo+dxcvSmiA=="],
"@protobuf-ts/plugin-framework/typescript": ["typescript@3.9.10", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-w6fIxVE/H1PkLKcCPsFqKE7Kv7QUwhU8qQY2MueZXWx5cPZdwFupLgKK3vntcK98BtNHZtAF4LA/yl2a7k8R6Q=="],
"@types/node-fetch/@types/node/undici-types": ["undici-types@5.26.5", "", {}, "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA=="],
"@types/tunnel/@types/node/undici-types": ["undici-types@5.26.5", "", {}, "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA=="],
}
}
Generated Vendored
+37 -37
View File
@@ -1,55 +1,55 @@
var B_=Object.create;var js=Object.defineProperty;var A_=Object.getOwnPropertyDescriptor;var q_=Object.getOwnPropertyNames;var M_=Object.getPrototypeOf,z_=Object.prototype.hasOwnProperty;var o=(t,e)=>js(t,"name",{value:e,configurable:!0});var qt=(t,e)=>()=>(t&&(e=t(t=0)),e);var S=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Wh=(t,e)=>{for(var a in e)js(t,a,{get:e[a],enumerable:!0})},Kh=(t,e,a,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of q_(e))!z_.call(t,r)&&r!==a&&js(t,r,{get:()=>e[r],enumerable:!(i=A_(e,r))||i.enumerable});return t};var an=(t,e,a)=>(a=t!=null?B_(M_(t)):{},Kh(e||!t||!t.__esModule?js(a,"default",{value:t,enumerable:!0}):a,t)),_p=t=>Kh(js({},"__esModule",{value:!0}),t);var Sp=S(rn=>{"use strict";Object.defineProperty(rn,"__esModule",{value:!0});rn.toCommandProperties=rn.toCommandValue=void 0;function L_(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(L_,"toCommandValue");rn.toCommandValue=L_;function k_(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(k_,"toCommandProperties");rn.toCommandProperties=k_});var Zh=S(ma=>{"use strict";var j_=ma&&ma.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a);var r=Object.getOwnPropertyDescriptor(e,a);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[a]}}),Object.defineProperty(t,i,r)}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),U_=ma&&ma.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),F_=ma&&ma.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.prototype.hasOwnProperty.call(t,a)&&j_(e,t,a);return U_(e,t),e};Object.defineProperty(ma,"__esModule",{value:!0});ma.issue=ma.issueCommand=void 0;var H_=F_(require("os")),Qh=Sp();function Jh(t,e,a){let i=new xm(t,e,a);process.stdout.write(i.toString()+H_.EOL)}o(Jh,"issueCommand");ma.issueCommand=Jh;function V_(t,e=""){Jh(t,{},e)}o(V_,"issue");ma.issue=V_;var Yh="::",xm=class{static{o(this,"Command")}constructor(e,a,i){e||(e="missing.command"),this.command=e,this.properties=a,this.message=i}toString(){let e=Yh+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let a=!0;for(let i in this.properties)if(this.properties.hasOwnProperty(i)){let r=this.properties[i];r&&(a?a=!1:e+=",",e+=`${i}=${G_(r)}`)}}return e+=`${Yh}${$_(this.message)}`,e}};function $_(t){return(0,Qh.toCommandValue)(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o($_,"escapeData");function G_(t){return(0,Qh.toCommandValue)(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(G_,"escapeProperty")});var a6=S(ua=>{"use strict";var X_=ua&&ua.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a);var r=Object.getOwnPropertyDescriptor(e,a);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[a]}}),Object.defineProperty(t,i,r)}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),W_=ua&&ua.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),Nm=ua&&ua.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.prototype.hasOwnProperty.call(t,a)&&X_(e,t,a);return W_(e,t),e};Object.defineProperty(ua,"__esModule",{value:!0});ua.prepareKeyValueMessage=ua.issueFileCommand=void 0;var K_=Nm(require("crypto")),e6=Nm(require("fs")),wm=Nm(require("os")),t6=Sp();function Y_(t,e){let a=process.env[`GITHUB_${t}`];if(!a)throw new Error(`Unable to find environment variable for file command ${t}`);if(!e6.existsSync(a))throw new Error(`Missing file at path: ${a}`);e6.appendFileSync(a,`${(0,t6.toCommandValue)(e)}${wm.EOL}`,{encoding:"utf8"})}o(Y_,"issueFileCommand");ua.issueFileCommand=Y_;function Q_(t,e){let a=`ghadelimiter_${K_.randomUUID()}`,i=(0,t6.toCommandValue)(e);if(t.includes(a))throw new Error(`Unexpected input: name should not contain the delimiter "${a}"`);if(i.includes(a))throw new Error(`Unexpected input: value should not contain the delimiter "${a}"`);return`${t}<<${a}${wm.EOL}${i}${wm.EOL}${a}`}o(Q_,"prepareKeyValueMessage");ua.prepareKeyValueMessage=Q_});var r6=S(nn=>{"use strict";Object.defineProperty(nn,"__esModule",{value:!0});nn.checkBypass=nn.getProxyUrl=void 0;function J_(t){let e=t.protocol==="https:";if(i6(t))return;let a=(()=>e?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY)();if(a)try{return new URL(a)}catch{if(!a.startsWith("http://")&&!a.startsWith("https://"))return new URL(`http://${a}`)}else return}o(J_,"getProxyUrl");nn.getProxyUrl=J_;function i6(t){if(!t.hostname)return!1;let e=t.hostname;if(Z_(e))return!0;let a=process.env.no_proxy||proLine truncated
`,m.message,m.stack);var u=new Error("tunneling socket could not be established, cause="+m.message);u.code="ECONNRESET",e.request.emit("error",u),i.removeSocket(r)}o(c,"onError")},"createSocket");ci.prototype.removeSocket=o(function(e){var a=this.sockets.indexOf(e);if(a!==-1){this.sockets.splice(a,1);var i=this.requests.shift();i&&this.createSocket(i,function(r){i.request.onSocket(r)})}},"removeSocket");function s6(t,e){var a=this;ci.prototype.createSocket.call(a,t,function(i){var r=t.request.getHeader("host"),n=Sm({},a.options,{socket:i,servername:r?r.replace(/:.*$/,""):t.host}),s=eS.connect(0,n);a.sockets[a.sockets.indexOf(i)]=s,e(s)})}o(s6,"createSecureSocket");function o6(t,e,a){return typeof t=="string"?{host:t,port:e,localAddress:a}:t}o(o6,"toOptions");function Sm(t){for(var e=1,a=arguments.length;e<a;++e){var i=arguments[e];if(typeof i=="object")for(var r=Object.keys(i),n=0,s=r.length;n<s;++n){var p=r[n];i[p]!==void 0&&(t[p]=i[p])}}return t}o(Sm,"mergeOptions");var qi;process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)?qi=o(function(){var t=Array.prototype.slice.call(arguments);typeof t[0]=="string"?t[0]="TUNNEL: "+t[0]:t.unshift("TUNNEL:"),console.error.apply(console,t)},"debug"):qi=o(function(){},"debug");sn.debug=qi});var Em=S((mH,d6)=>{d6.exports=p6()});var on=S(Oe=>{"use strict";var oS=Oe&&Oe.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[a]}})}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),pS=Oe&&Oe.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),Rp=Oe&&Oe.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.hasOwnProperty.call(t,a)&&oS(e,t,a);return pS(e,t),e},at=Oe&&Oe.__awaiter||function(t,e,a,i){function r(n){return n instanceof a?n:new a(function(s){s(n)})}return o(r,"adopt"),new(a||(a=Promise))(function(n,s){function p(c){try{l(i.next(c))}catch(m){s(m)}}o(p,"fulfilled");function d(c){try{l(i.throw(c))}catch(m){s(m)}}o(d,"rejected");function l(c){c.done?n(c.value):r(c.value).then(p,d)}o(l,"step"),l((i=i.apply(t,e||[])).next())})};Object.defineProperty(Oe,"__esModule",{value:!0});Oe.HttpClient=Oe.isHttps=Oe.HttpClientResponse=Oe.HttpClientError=Oe.getProxyUrl=Oe.MediaTypes=Oe.Headers=Oe.HttpCodes=void 0;var Ep=Rp(require("http")),Cm=Rp(require("https")),l6=Rp(r6()),Cp=Rp(Em()),Ia;(function(t){t[t.OK=200]="OK",t[t.MultipleChoices=300]="MultipleChoices",t[t.MovedPermanently=301]="MovedPermanently",t[t.ResourceMoved=302]="ResourceMoved",t[t.SeeOther=303]="SeeOther",t[t.NotModified=304]="NotModified",t[t.UseProxy=305]="UseProxy",t[t.SwitchProxy=306]="SwitchProxy",t[t.TemporaryRedirect=307]="TemporaryRedirect",t[t.PermanentRedirect=308]="PermanentRedirect",t[t.BadRequest=400]="BadRequest",t[t.Unauthorized=401]="Unauthorized",t[t.PaymentRequired=402]="PaymentRequired",t[t.Forbidden=403]="Forbidden",t[t.NotFound=404]="NotFound",t[t.MethodNotAllowed=405]="MethodNotAllowed",t[t.NotAcceptable=406]="NotAcceptable",t[t.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",t[t.RequestTimeout=408]="RequestTimeout",t[t.Conflict=409]="Conflict",t[t.Gone=410]="Gone",t[t.TooManyRequests=429]="TooManyRequests",t[t.InternalServerError=500]="InternalServerError",t[t.NotImplemented=501]="NotImplemented",t[t.BadGateway=502]="BadGateway",t[t.ServiceUnavailable=503]="ServiceUnavailable",t[t.GatewayTimeout=504]="GatewayTimeout"})(Ia=Oe.HttpCodes||(Oe.HttpCodes={}));var Lt;(function(t){t.Accept="accept",t.ContentType="content-type"})(Lt=Oe.Headers||(Oe.Headers={}));var Mi;(function(t){t.ApplicationJson="application/json"})(Mi=Oe.MediaTypes||(Oe.MediaTypes={}));function dS(t){let e=l6.getProxyUrl(new URL(t));return e?e.href:""}o(dS,"getProxyUrl");Oe.getProxyUrl=dS;var lS=[Ia.MovedPermanently,Ia.ResourceMoved,Ia.SeeOther,Ia.TemporaryRedirect,Ia.PermanentRedirect],cS=[Ia.BadGateway,Ia.ServiceUnavailable,Ia.GatewayTimeout],mS=["OPTIONS","GET","DELETE","HEAD"],uS=10,fS=5,Op=class t extends Error{static{o(this,"HttpClientError")}constructor(e,a){super(e),this.name="HttpClientError",this.statusCode=a,Object.setPrototypeOf(this,t.prototype)}};Oe.HttpClientError=Op;var Pp=class{static{o(this,"HttpClientResponse")}constructor(e){this.message=e}readBody(){return at(this,void 0,void 0,function*(){return new Promise(e=>at(this,void 0,void 0,function*(){let a=Buffer.alloc(0);this.message.on("data",i=>{a=Buffer.concat([a,i])}),this.message.on("end",()=>{e(a.toString())})}))})}readBodyBuffer(){return at(this,void 0,void 0,function*(){return new Promise(e=>at(this,void 0,void 0,function*(){let a=[];this.message.on("data",i=>{a.push(i)}),this.message.on("end",()=>{e(Buffer.concat(a))})}))})}};Oe.HttpClientResponse=Pp;function hS(t){return new URL(t).protocol==="https:"}o(hS,"isHttps");Oe.isHttps=hS;var Tm=class{static{o(this,"HttpClient")}constructor(e,a,i){this._ignoreSslError=!1 Line truncated
var M_=Object.create;var ks=Object.defineProperty;var L_=Object.getOwnPropertyDescriptor;var z_=Object.getOwnPropertyNames;var k_=Object.getPrototypeOf,j_=Object.prototype.hasOwnProperty;var o=(t,e)=>ks(t,"name",{value:e,configurable:!0});var qt=(t,e)=>()=>(t&&(e=t(t=0)),e);var S=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Yh=(t,e)=>{for(var a in e)ks(t,a,{get:e[a],enumerable:!0})},Qh=(t,e,a,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of z_(e))!j_.call(t,r)&&r!==a&&ks(t,r,{get:()=>e[r],enumerable:!(i=L_(e,r))||i.enumerable});return t};var rn=(t,e,a)=>(a=t!=null?M_(k_(t)):{},Qh(e||!t||!t.__esModule?ks(a,"default",{value:t,enumerable:!0}):a,t)),Sp=t=>Qh(ks({},"__esModule",{value:!0}),t);var Ep=S(nn=>{"use strict";Object.defineProperty(nn,"__esModule",{value:!0});nn.toCommandProperties=nn.toCommandValue=void 0;function U_(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(U_,"toCommandValue");nn.toCommandValue=U_;function F_(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(F_,"toCommandProperties");nn.toCommandProperties=F_});var t6=S(ma=>{"use strict";var H_=ma&&ma.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a);var r=Object.getOwnPropertyDescriptor(e,a);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[a]}}),Object.defineProperty(t,i,r)}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),V_=ma&&ma.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),$_=ma&&ma.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.prototype.hasOwnProperty.call(t,a)&&H_(e,t,a);return V_(e,t),e};Object.defineProperty(ma,"__esModule",{value:!0});ma.issue=ma.issueCommand=void 0;var G_=$_(require("os")),Zh=Ep();function e6(t,e,a){let i=new Nm(t,e,a);process.stdout.write(i.toString()+G_.EOL)}o(e6,"issueCommand");ma.issueCommand=e6;function X_(t,e=""){e6(t,{},e)}o(X_,"issue");ma.issue=X_;var Jh="::",Nm=class{static{o(this,"Command")}constructor(e,a,i){e||(e="missing.command"),this.command=e,this.properties=a,this.message=i}toString(){let e=Jh+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let a=!0;for(let i in this.properties)if(this.properties.hasOwnProperty(i)){let r=this.properties[i];r&&(a?a=!1:e+=",",e+=`${i}=${K_(r)}`)}}return e+=`${Jh}${W_(this.message)}`,e}};function W_(t){return(0,Zh.toCommandValue)(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(W_,"escapeData");function K_(t){return(0,Zh.toCommandValue)(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(K_,"escapeProperty")});var r6=S(ua=>{"use strict";var Y_=ua&&ua.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a);var r=Object.getOwnPropertyDescriptor(e,a);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[a]}}),Object.defineProperty(t,i,r)}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),Q_=ua&&ua.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),Sm=ua&&ua.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.prototype.hasOwnProperty.call(t,a)&&Y_(e,t,a);return Q_(e,t),e};Object.defineProperty(ua,"__esModule",{value:!0});ua.prepareKeyValueMessage=ua.issueFileCommand=void 0;var J_=Sm(require("crypto")),a6=Sm(require("fs")),_m=Sm(require("os")),i6=Ep();function Z_(t,e){let a=process.env[`GITHUB_${t}`];if(!a)throw new Error(`Unable to find environment variable for file command ${t}`);if(!a6.existsSync(a))throw new Error(`Missing file at path: ${a}`);a6.appendFileSync(a,`${(0,i6.toCommandValue)(e)}${_m.EOL}`,{encoding:"utf8"})}o(Z_,"issueFileCommand");ua.issueFileCommand=Z_;function eS(t,e){let a=`ghadelimiter_${J_.randomUUID()}`,i=(0,i6.toCommandValue)(e);if(t.includes(a))throw new Error(`Unexpected input: name should not contain the delimiter "${a}"`);if(i.includes(a))throw new Error(`Unexpected input: value should not contain the delimiter "${a}"`);return`${t}<<${a}${_m.EOL}${i}${_m.EOL}${a}`}o(eS,"prepareKeyValueMessage");ua.prepareKeyValueMessage=eS});var s6=S(sn=>{"use strict";Object.defineProperty(sn,"__esModule",{value:!0});sn.checkBypass=sn.getProxyUrl=void 0;function tS(t){let e=t.protocol==="https:";if(n6(t))return;let a=e?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY;if(a)try{return new URL(a)}catch{if(!a.startsWith("http://")&&!a.startsWith("https://"))return new URL(`http://${a}`)}else return}o(tS,"getProxyUrl");sn.getProxyUrl=tS;function n6(t){if(!t.hostname)return!1;let e=t.hostname;if(aS(e))return!0;let a=process.env.no_proxy||process.envLine truncated
`,m.message,m.stack);var u=new Error("tunneling socket could not be established, cause="+m.message);u.code="ECONNRESET",e.request.emit("error",u),i.removeSocket(r)}o(c,"onError")},"createSocket");ci.prototype.removeSocket=o(function(e){var a=this.sockets.indexOf(e);if(a!==-1){this.sockets.splice(a,1);var i=this.requests.shift();i&&this.createSocket(i,function(r){i.request.onSocket(r)})}},"removeSocket");function p6(t,e){var a=this;ci.prototype.createSocket.call(a,t,function(i){var r=t.request.getHeader("host"),n=Cm({},a.options,{socket:i,servername:r?r.replace(/:.*$/,""):t.host}),s=iS.connect(0,n);a.sockets[a.sockets.indexOf(i)]=s,e(s)})}o(p6,"createSecureSocket");function d6(t,e,a){return typeof t=="string"?{host:t,port:e,localAddress:a}:t}o(d6,"toOptions");function Cm(t){for(var e=1,a=arguments.length;e<a;++e){var i=arguments[e];if(typeof i=="object")for(var r=Object.keys(i),n=0,s=r.length;n<s;++n){var p=r[n];i[p]!==void 0&&(t[p]=i[p])}}return t}o(Cm,"mergeOptions");var qi;process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)?qi=o(function(){var t=Array.prototype.slice.call(arguments);typeof t[0]=="string"?t[0]="TUNNEL: "+t[0]:t.unshift("TUNNEL:"),console.error.apply(console,t)},"debug"):qi=o(function(){},"debug");on.debug=qi});var Tm=S((fH,c6)=>{c6.exports=l6()});var br=S(Oe=>{"use strict";var lS=Oe&&Oe.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[a]}})}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),cS=Oe&&Oe.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),Ip=Oe&&Oe.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.hasOwnProperty.call(t,a)&&lS(e,t,a);return cS(e,t),e},it=Oe&&Oe.__awaiter||function(t,e,a,i){function r(n){return n instanceof a?n:new a(function(s){s(n)})}return o(r,"adopt"),new(a||(a=Promise))(function(n,s){function p(c){try{l(i.next(c))}catch(m){s(m)}}o(p,"fulfilled");function d(c){try{l(i.throw(c))}catch(m){s(m)}}o(d,"rejected");function l(c){c.done?n(c.value):r(c.value).then(p,d)}o(l,"step"),l((i=i.apply(t,e||[])).next())})};Object.defineProperty(Oe,"__esModule",{value:!0});Oe.HttpClient=Oe.isHttps=Oe.HttpClientResponse=Oe.HttpClientError=Oe.getProxyUrl=Oe.MediaTypes=Oe.Headers=Oe.HttpCodes=void 0;var Cp=Ip(require("http")),Om=Ip(require("https")),m6=Ip(s6()),Tp=Ip(Tm()),Ia;(function(t){t[t.OK=200]="OK",t[t.MultipleChoices=300]="MultipleChoices",t[t.MovedPermanently=301]="MovedPermanently",t[t.ResourceMoved=302]="ResourceMoved",t[t.SeeOther=303]="SeeOther",t[t.NotModified=304]="NotModified",t[t.UseProxy=305]="UseProxy",t[t.SwitchProxy=306]="SwitchProxy",t[t.TemporaryRedirect=307]="TemporaryRedirect",t[t.PermanentRedirect=308]="PermanentRedirect",t[t.BadRequest=400]="BadRequest",t[t.Unauthorized=401]="Unauthorized",t[t.PaymentRequired=402]="PaymentRequired",t[t.Forbidden=403]="Forbidden",t[t.NotFound=404]="NotFound",t[t.MethodNotAllowed=405]="MethodNotAllowed",t[t.NotAcceptable=406]="NotAcceptable",t[t.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",t[t.RequestTimeout=408]="RequestTimeout",t[t.Conflict=409]="Conflict",t[t.Gone=410]="Gone",t[t.TooManyRequests=429]="TooManyRequests",t[t.InternalServerError=500]="InternalServerError",t[t.NotImplemented=501]="NotImplemented",t[t.BadGateway=502]="BadGateway",t[t.ServiceUnavailable=503]="ServiceUnavailable",t[t.GatewayTimeout=504]="GatewayTimeout"})(Ia=Oe.HttpCodes||(Oe.HttpCodes={}));var zt;(function(t){t.Accept="accept",t.ContentType="content-type"})(zt=Oe.Headers||(Oe.Headers={}));var Mi;(function(t){t.ApplicationJson="application/json"})(Mi=Oe.MediaTypes||(Oe.MediaTypes={}));function mS(t){let e=m6.getProxyUrl(new URL(t));return e?e.href:""}o(mS,"getProxyUrl");Oe.getProxyUrl=mS;var uS=[Ia.MovedPermanently,Ia.ResourceMoved,Ia.SeeOther,Ia.TemporaryRedirect,Ia.PermanentRedirect],fS=[Ia.BadGateway,Ia.ServiceUnavailable,Ia.GatewayTimeout],hS=["OPTIONS","GET","DELETE","HEAD"],gS=10,yS=5,Pp=class t extends Error{static{o(this,"HttpClientError")}constructor(e,a){super(e),this.name="HttpClientError",this.statusCode=a,Object.setPrototypeOf(this,t.prototype)}};Oe.HttpClientError=Pp;var Rp=class{static{o(this,"HttpClientResponse")}constructor(e){this.message=e}readBody(){return it(this,void 0,void 0,function*(){return new Promise(e=>it(this,void 0,void 0,function*(){let a=Buffer.alloc(0);this.message.on("data",i=>{a=Buffer.concat([a,i])}),this.message.on("end",()=>{e(a.toString())})}))})}readBodyBuffer(){return it(this,void 0,void 0,function*(){return new Promise(e=>it(this,void 0,void 0,function*(){let a=[];this.message.on("data",i=>{a.push(i)}),this.message.on("end",()=>{e(Buffer.concat(a))})}))})}};Oe.HttpClientResponse=Rp;function vS(t){return new URL(t).protocol==="https:"}o(vS,"isHttps");Oe.isHttps=vS;var Pm=class{static{o(this,"HttpClient")}constructor(e,a,i){this._ignoreSslError=!1 Line truncated
Error Code : ${s.statusCode}
Error Message: ${s.message}`)})).result)===null||a===void 0?void 0:a.value;if(!n)throw new Error("Response json body do not have ID Token field");return n})}static getIDToken(e){return c6(this,void 0,void 0,function*(){try{let a=t.getIDTokenUrl();if(e){let r=encodeURIComponent(e);a=`${a}&audience=${r}`}(0,m6.debug)(`ID token url is ${a}`);let i=yield t.getCall(a);return(0,m6.setSecret)(i),i}catch(a){throw new Error(`Error message: ${a.message}`)}})}};pn.OidcClient=Dm});var Mm=S(Vt=>{"use strict";var Bm=Vt&&Vt.__awaiter||function(t,e,a,i){function r(n){return n instanceof a?n:new a(function(s){s(n)})}return o(r,"adopt"),new(a||(a=Promise))(function(n,s){function p(c){try{l(i.next(c))}catch(m){s(m)}}o(p,"fulfilled");function d(c){try{l(i.throw(c))}catch(m){s(m)}}o(d,"rejected");function l(c){c.done?n(c.value):r(c.value).then(p,d)}o(l,"step"),l((i=i.apply(t,e||[])).next())})};Object.defineProperty(Vt,"__esModule",{value:!0});Vt.summary=Vt.markdownSummary=Vt.SUMMARY_DOCS_URL=Vt.SUMMARY_ENV_VAR=void 0;var vS=require("os"),Am=require("fs"),{access:bS,appendFile:xS,writeFile:wS}=Am.promises;Vt.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";Vt.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";var qm=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return Bm(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[Vt.SUMMARY_ENV_VAR];if(!e)throw new Error(`Unable to find environment variable for $${Vt.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);try{yield bS(e,Am.constants.R_OK|Am.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,a,i={}){let r=Object.entries(i).map(([n,s])=>` ${n}="${s}"`).join("");return a?`<${e}${r}>${a}</${e}>`:`<${e}${r}>`}write(e){return Bm(this,void 0,void 0,function*(){let a=!!e?.overwrite,i=yield this.filePath();return yield(a?wS:xS)(i,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return Bm(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,a=!1){return this._buffer+=e,a?this.addEOL():this}addEOL(){return this.addRaw(vS.EOL)}addCodeBlock(e,a){let i=Object.assign({},a&&{lang:a}),r=this.wrap("pre",this.wrap("code",e),i);return this.addRaw(r).addEOL()}addList(e,a=!1){let i=a?"ol":"ul",r=e.map(s=>this.wrap("li",s)).join(""),n=this.wrap(i,r);return this.addRaw(n).addEOL()}addTable(e){let a=e.map(r=>{let n=r.map(s=>{if(typeof s=="string")return this.wrap("td",s);let{header:p,data:d,colspan:l,rowspan:c}=s,m=p?"th":"td",u=Object.assign(Object.assign({},l&&{colspan:l}),c&&{rowspan:c});return this.wrap(m,d,u)}).join("");return this.wrap("tr",n)}).join(""),i=this.wrap("table",a);return this.addRaw(i).addEOL()}addDetails(e,a){let i=this.wrap("details",this.wrap("summary",e)+a);return this.addRaw(i).addEOL()}addImage(e,a,i){let{width:r,height:n}=i||{},s=Object.assign(Object.assign({},r&&{width:r}),n&&{height:n}),p=this.wrap("img",null,Object.assign({src:e,alt:a},s));return this.addRaw(p).addEOL()}addHeading(e,a){let i=`h${a}`,r=["h1","h2","h3","h4","h5","h6"].includes(i)?i:"h1",n=this.wrap(r,e);return this.addRaw(n).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,a){let i=Object.assign({},a&&{cite:a}),r=this.wrap("blockquote",e,i);return this.addRaw(r).addEOL()}addLink(e,a){let i=this.wrap("a",e,{href:a});return this.addRaw(i).addEOL()}},f6=new qm;Vt.markdownSummary=f6;Vt.summary=f6});var h6=S($t=>{"use strict";var NS=$t&&$t.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a);var r=Object.getOwnPropertyDescriptor(e,a);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[a]}}),Object.defineProperty(t,i,r)}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),_S=$t&&$t.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),SS=$t&&$t.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.prototype.hasOwnProperty.call(t,a)&&NS(e,t,a);return _S(e,t),e};Object.defineProperty($t,"__esModule",{value:!0});$t.toPlatformPath=$t.toWin32Path=$t.toPosixPath=void 0;var ES=SS(require("path"));function CS(t){return t.replace(/[\\]/g,"/")}o(CS,"toPosixPath");$t.toPosixPath=CS;function TS(t){return t.replace(/[/]/g,"\\")}o(TS,"toWin32Path");$t.toWin32Path=TS;function OS(t){return t.replace(/[/\\]/g,ES.sep)}o(OS,"toPlatformPath");$t.toPlatformPath=OS});var Lm=S(J=>{"use strict";var PS=J&&J.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a),Line truncated
`);return{name:e,version:a}}),"getLinuxInfo");he.platform=B6.default.platform();he.arch=B6.default.arch();he.isWindows=he.platform==="win32";he.isMacOS=he.platform==="darwin";he.isLinux=he.platform==="linux";function oE(){return Lp(this,void 0,void 0,function*(){return Object.assign(Object.assign({},yield he.isWindows?rE():he.isMacOS?nE():sE()),{platform:he.platform,arch:he.arch,isWindows:he.isWindows,isMacOS:he.isMacOS,isLinux:he.isLinux})})}o(oE,"getDetails");he.getDetails=oE});var kt=S(X=>{"use strict";var pE=X&&X.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a);var r=Object.getOwnPropertyDescriptor(e,a);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[a]}}),Object.defineProperty(t,i,r)}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),dE=X&&X.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),Hm=X&&X.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.prototype.hasOwnProperty.call(t,a)&&pE(e,t,a);return dE(e,t),e},q6=X&&X.__awaiter||function(t,e,a,i){function r(n){return n instanceof a?n:new a(function(s){s(n)})}return o(r,"adopt"),new(a||(a=Promise))(function(n,s){function p(c){try{l(i.next(c))}catch(m){s(m)}}o(p,"fulfilled");function d(c){try{l(i.throw(c))}catch(m){s(m)}}o(d,"rejected");function l(c){c.done?n(c.value):r(c.value).then(p,d)}o(l,"step"),l((i=i.apply(t,e||[])).next())})};Object.defineProperty(X,"__esModule",{value:!0});X.platform=X.toPlatformPath=X.toWin32Path=X.toPosixPath=X.markdownSummary=X.summary=X.getIDToken=X.getState=X.saveState=X.group=X.endGroup=X.startGroup=X.info=X.notice=X.warning=X.error=X.debug=X.isDebug=X.setFailed=X.setCommandEcho=X.setOutput=X.getBooleanInput=X.getMultilineInput=X.getInput=X.addPath=X.setSecret=X.exportVariable=X.ExitCode=void 0;var fa=Zh(),br=a6(),ln=Sp(),M6=Hm(require("os")),lE=Hm(require("path")),cE=u6(),Fm;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(Fm||(X.ExitCode=Fm={}));function mE(t,e){let a=(0,ln.toCommandValue)(e);if(process.env[t]=a,process.env.GITHUB_ENV||"")return(0,br.issueFileCommand)("ENV",(0,br.prepareKeyValueMessage)(t,e));(0,fa.issueCommand)("set-env",{name:t},a)}o(mE,"exportVariable");X.exportVariable=mE;function uE(t){(0,fa.issueCommand)("add-mask",{},t)}o(uE,"setSecret");X.setSecret=uE;function fE(t){process.env.GITHUB_PATH||""?(0,br.issueFileCommand)("PATH",t):(0,fa.issueCommand)("add-path",{},t),process.env.PATH=`${t}${lE.delimiter}${process.env.PATH}`}o(fE,"addPath");X.addPath=fE;function Vm(t,e){let a=process.env[`INPUT_${t.replace(/ /g,"_").toUpperCase()}`]||"";if(e&&e.required&&!a)throw new Error(`Input required and not supplied: ${t}`);return e&&e.trimWhitespace===!1?a:a.trim()}o(Vm,"getInput");X.getInput=Vm;function hE(t,e){let a=Vm(t,e).split(`
`).filter(i=>i!=="");return e&&e.trimWhitespace===!1?a:a.map(i=>i.trim())}o(hE,"getMultilineInput");X.getMultilineInput=hE;function gE(t,e){let a=["true","True","TRUE"],i=["false","False","FALSE"],r=Vm(t,e);if(a.includes(r))return!0;if(i.includes(r))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(gE,"getBooleanInput");X.getBooleanInput=gE;function yE(t,e){if(process.env.GITHUB_OUTPUT||"")return(0,br.issueFileCommand)("OUTPUT",(0,br.prepareKeyValueMessage)(t,e));process.stdout.write(M6.EOL),(0,fa.issueCommand)("set-output",{name:t},(0,ln.toCommandValue)(e))}o(yE,"setOutput");X.setOutput=yE;function vE(t){(0,fa.issue)("echo",t?"on":"off")}o(vE,"setCommandEcho");X.setCommandEcho=vE;function bE(t){process.exitCode=Fm.Failure,z6(t)}o(bE,"setFailed");X.setFailed=bE;function xE(){return process.env.RUNNER_DEBUG==="1"}o(xE,"isDebug");X.isDebug=xE;function wE(t){(0,fa.issueCommand)("debug",{},t)}o(wE,"debug");X.debug=wE;function z6(t,e={}){(0,fa.issueCommand)("error",(0,ln.toCommandProperties)(e),t instanceof Error?t.toString():t)}o(z6,"error");X.error=z6;function NE(t,e={}){(0,fa.issueCommand)("warning",(0,ln.toCommandProperties)(e),t instanceof Error?t.toString():t)}o(NE,"warning");X.warning=NE;function _E(t,e={}){(0,fa.issueCommand)("notice",(0,ln.toCommandProperties)(e),t instanceof Error?t.toString():t)}o(_E,"notice");X.notice=_E;function SE(t){process.stdout.write(t+M6.EOL)}o(SE,"info");X.info=SE;function L6(t){(0,fa.issue)("group",t)}o(L6,"startGroup");X.startGroup=L6;function k6(){(0,fa.issue)("endgroup")}o(k6,"endGroup");X.endGroup=k6;function EE(t,e){return q6(this,void 0,void 0,function*(){L6(t);let a;try{a=yield e()}finally{k6()}return a})}o(EE,"group");X.group=EE;function CE(t,e){if(process.env.GITHUB_STATE||"")return(0,br.issueFileCommand)("STATE",(0,br.prepareKeyValueMessage)(t,e));(0,fa.issueCommand)("save-state",{name:t},(0,ln.toCommandValue)(e))}o(CE,"saveState");X.saveState=CE;function TE(t){return process.env[`STATE_${t}`]||""}o(TE,"getState");X.getState=TE;function OE(t){return q6(this,void 0,void 0,function*(){return yield cE.OidcClient.getIDToken(t)})}o(OE,"getIDToken");X.getIDToken=OE;var PE=Mm();Object.defineProperty(X,"summary",{enumerable:!0,get:function(){return PE.summary}});var RE=Mm();Object.defineProperty(X,"markdownSummary",{enumerable:!0,get:function(){return RE.markdownSummary}});var $m=h6();Object.defineProperty(X,"toPosixPath",{enumerable:!0,get:function(){return $m.toPosixPath}});Object.defineProperty(X,"toWin32Path",{enumerable:!0,get:function(){return $m.toWin32Path}});Object.defineProperty(X,"toPlatformPath",{enumerable:!0,get:function(){return $m.toPlatformPath}});X.platform=Hm(A6())});var j6=S(Xa=>{"use strict";var IE=Xa&&Xa.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[a]}})}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),DE=Xa&&Xa.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),BE=Xa&&Xa.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.hasOwnProperty.call(t,a)&&IE(e,t,a);return DE(e,t),e};Object.defineProperty(Xa,"__esModule",{value:!0});Xa.getOptions=void 0;var Gm=BE(kt());function AE(t){let e={followSymbolicLinks:!0,implicitDescendants:!0,omitBrokenSymbolicLinks:!0};return t&&(typeof t.followSymbolicLinks=="boolean"&&(e.followSymbolicLinks=t.followSymbolicLinks,Gm.debug(`followSymbolicLinks '${e.followSymbolicLinks}'`)),typeof t.implicitDescendants=="boolean"&&(e.implicitDescendants=t.implicitDescendants,Gm.debug(`implicitDescendants '${e.implicitDescendants}'`)),typeof t.omitBrokenSymbolicLinks=="boolean"&&(e.omitBrokenSymbolicLinks=t.omitBrokenSymbolicLinks,Gm.debug(`omitBrokenSymbolicLinks '${e.omitBrokenSymbolicLinks}'`))),e}o(AE,"getOptions");Xa.getOptions=AE});var jp=S(He=>{"use strict";var qE=He&&He.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[a]}})}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),ME=He&&He.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),zE=He&&He.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.hasOwnProperty.call(t,a)&&qE(e,t,a);return ME(e,t),e},LE=He&&He.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(He,"__esModule",{value:!0});He.safeTrimTrailingSeparator=He.normalizeSeparators=He.hasRoot=He.hasAbsoluteRoot=He.ensureAbsoluteRoot=He.dirname=void 0;var kp=zE(require("path")),xr=LE(require("assert")),Li=process.platform==="win32";function kE(t){if(t=Wm(t),Li&&/^\\\\[^\\]+(\\[^\\]+)?$/.test(t))return t;let e=kp.dirname(t);return Li&&/^\\\\[^\\]+\\[^\\]+\\$/.test(e)&&(e=Wm(e)),e}o(kE,"dirname");He.dirname=kE;function jE(t,e){if(xr.default(t,"ensureAbsoluteRoot parameter 'root' must not be empty"),xr.default(e,"ensureAbsoluteRoot parameter 'itemPath' must not be empty"),Xm(e))return e;if(Li){if(e.match(/^[A-Z]:[^\\/]|^[A-Z]:$/i)){let a=process.cwd();rLine truncated
%s`,g,g,I,i);var _=I.type==="*"?Jm:I.type==="?"?Qm:"\\"+I.type;r=!0,i=i.slice(0,I.reStart)+_+"\\("+g}h(),n&&(i+="\\\\");var O=!1;switch(i.charAt(0)){case"[":case".":case"(":O=!0}for(var N=p.length-1;N>-1;N--){var D=p[N],C=i.slice(0,D.reStart),R=i.slice(D.reStart,D.reEnd-8),A=i.slice(D.reEnd-8,D.reEnd),j=i.slice(D.reEnd);A+=j;var oe=C.split("(").length-1,ye=j;for(b=0;b<oe;b++)ye=ye.replace(/\)[+*?]?/,"");j=ye;var Q="";j===""&&e!==Fp&&(Q="$");var tt=C+R+j+Q+A;i=tt}if(i!==""&&r&&(i="(?=.)"+i),O&&(i=u+i),e===Fp)return[i,r];if(!r)return hC(t);var fe=a.nocase?"i":"";try{var Ra=new RegExp("^"+i+"$",fe)}catch{return new RegExp("$.")}return Ra._glob=t,Ra._src=i,Ra}o(uC,"parse");ra.makeRe=function(t,e){return new Rt(t,e||{}).makeRe()};Rt.prototype.makeRe=fC;function fC(){if(this.regexp||this.regexp===!1)return this.regexp;var t=this.set;if(!t.length)return this.regexp=!1,this.regexp;var e=this.options,a=e.noglobstar?Jm:e.dot?sC:oC,i=e.nocase?"i":"",r=t.map(function(n){return n.map(function(s){return s===Zm?a:typeof s=="string"?gC(s):s._src}).join("\\/")}).join("|");r="^(?:"+r+")$",this.negate&&(r="^(?!"+r+").*$");try{this.regexp=new RegExp(r,i)}catch{this.regexp=!1}return this.regexp}o(fC,"makeRe");ra.match=function(t,e,a){a=a||{};var i=new Rt(e,a);return t=t.filter(function(r){return i.match(r)}),i.options.nonull&&!t.length&&t.push(e),t};Rt.prototype.match=o(function(e,a){if(typeof a>"u"&&(a=this.partial),this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return e==="";if(e==="/"&&a)return!0;var i=this.options;Hs.sep!=="/"&&(e=e.split(Hs.sep).join("/")),e=e.split(o4),this.debug(this.pattern,"split",e);var r=this.set;this.debug(this.pattern,"set",r);var n,s;for(s=e.length-1;s>=0&&(n=e[s],!n);s--);for(s=0;s<r.length;s++){var p=r[s],d=e;i.matchBase&&p.length===1&&(d=[n]);var l=this.matchOne(d,p,a);if(l)return i.flipNegate?!0:!this.negate}return i.flipNegate?!1:this.negate},"match");Rt.prototype.matchOne=function(t,e,a){var i=this.options;this.debug("matchOne",{this:this,file:t,pattern:e}),this.debug("matchOne",t.length,e.length);for(var r=0,n=0,s=t.length,p=e.length;r<s&&n<p;r++,n++){this.debug("matchOne loop");var d=e[n],l=t[r];if(this.debug(e,d,l),d===!1)return!1;if(d===Zm){this.debug("GLOBSTAR",[e,d,l]);var c=r,m=n+1;if(m===p){for(this.debug("** at the end");r<s;r++)if(t[r]==="."||t[r]===".."||!i.dot&&t[r].charAt(0)===".")return!1;return!0}for(;c<s;){var u=t[c];if(this.debug(`
Error Message: ${s.message}`)})).result)===null||a===void 0?void 0:a.value;if(!n)throw new Error("Response json body do not have ID Token field");return n})}static getIDToken(e){return u6(this,void 0,void 0,function*(){try{let a=t.getIDTokenUrl();if(e){let r=encodeURIComponent(e);a=`${a}&audience=${r}`}(0,f6.debug)(`ID token url is ${a}`);let i=yield t.getCall(a);return(0,f6.setSecret)(i),i}catch(a){throw new Error(`Error message: ${a.message}`)}})}};pn.OidcClient=Am});var zm=S(Vt=>{"use strict";var qm=Vt&&Vt.__awaiter||function(t,e,a,i){function r(n){return n instanceof a?n:new a(function(s){s(n)})}return o(r,"adopt"),new(a||(a=Promise))(function(n,s){function p(c){try{l(i.next(c))}catch(m){s(m)}}o(p,"fulfilled");function d(c){try{l(i.throw(c))}catch(m){s(m)}}o(d,"rejected");function l(c){c.done?n(c.value):r(c.value).then(p,d)}o(l,"step"),l((i=i.apply(t,e||[])).next())})};Object.defineProperty(Vt,"__esModule",{value:!0});Vt.summary=Vt.markdownSummary=Vt.SUMMARY_DOCS_URL=Vt.SUMMARY_ENV_VAR=void 0;var wS=require("os"),Mm=require("fs"),{access:NS,appendFile:_S,writeFile:SS}=Mm.promises;Vt.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";Vt.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";var Lm=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return qm(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[Vt.SUMMARY_ENV_VAR];if(!e)throw new Error(`Unable to find environment variable for $${Vt.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);try{yield NS(e,Mm.constants.R_OK|Mm.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,a,i={}){let r=Object.entries(i).map(([n,s])=>` ${n}="${s}"`).join("");return a?`<${e}${r}>${a}</${e}>`:`<${e}${r}>`}write(e){return qm(this,void 0,void 0,function*(){let a=!!e?.overwrite,i=yield this.filePath();return yield(a?SS:_S)(i,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return qm(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,a=!1){return this._buffer+=e,a?this.addEOL():this}addEOL(){return this.addRaw(wS.EOL)}addCodeBlock(e,a){let i=Object.assign({},a&&{lang:a}),r=this.wrap("pre",this.wrap("code",e),i);return this.addRaw(r).addEOL()}addList(e,a=!1){let i=a?"ol":"ul",r=e.map(s=>this.wrap("li",s)).join(""),n=this.wrap(i,r);return this.addRaw(n).addEOL()}addTable(e){let a=e.map(r=>{let n=r.map(s=>{if(typeof s=="string")return this.wrap("td",s);let{header:p,data:d,colspan:l,rowspan:c}=s,m=p?"th":"td",u=Object.assign(Object.assign({},l&&{colspan:l}),c&&{rowspan:c});return this.wrap(m,d,u)}).join("");return this.wrap("tr",n)}).join(""),i=this.wrap("table",a);return this.addRaw(i).addEOL()}addDetails(e,a){let i=this.wrap("details",this.wrap("summary",e)+a);return this.addRaw(i).addEOL()}addImage(e,a,i){let{width:r,height:n}=i||{},s=Object.assign(Object.assign({},r&&{width:r}),n&&{height:n}),p=this.wrap("img",null,Object.assign({src:e,alt:a},s));return this.addRaw(p).addEOL()}addHeading(e,a){let i=`h${a}`,r=["h1","h2","h3","h4","h5","h6"].includes(i)?i:"h1",n=this.wrap(r,e);return this.addRaw(n).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,a){let i=Object.assign({},a&&{cite:a}),r=this.wrap("blockquote",e,i);return this.addRaw(r).addEOL()}addLink(e,a){let i=this.wrap("a",e,{href:a});return this.addRaw(i).addEOL()}},g6=new Lm;Vt.markdownSummary=g6;Vt.summary=g6});var y6=S($t=>{"use strict";var ES=$t&&$t.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a);var r=Object.getOwnPropertyDescriptor(e,a);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[a]}}),Object.defineProperty(t,i,r)}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),CS=$t&&$t.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),TS=$t&&$t.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.prototype.hasOwnProperty.call(t,a)&&ES(e,t,a);return CS(e,t),e};Object.defineProperty($t,"__esModule",{value:!0});$t.toPlatformPath=$t.toWin32Path=$t.toPosixPath=void 0;var OS=TS(require("path"));function PS(t){return t.replace(/[\\]/g,"/")}o(PS,"toPosixPath");$t.toPosixPath=PS;function RS(t){return t.replace(/[/]/g,"\\")}o(RS,"toWin32Path");$t.toWin32Path=RS;function IS(t){return t.replace(/[/\\]/g,OS.sep)}o(IS,"toPlatformPath");$t.toPlatformPath=IS});var jm=S(J=>{"use strict";var DS=J&&J.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a),Line truncated
`);return{name:e,version:a}}),"getLinuxInfo");he.platform=q6.default.platform();he.arch=q6.default.arch();he.isWindows=he.platform==="win32";he.isMacOS=he.platform==="darwin";he.isLinux=he.platform==="linux";function lE(){return kp(this,void 0,void 0,function*(){return Object.assign(Object.assign({},yield he.isWindows?oE():he.isMacOS?pE():dE()),{platform:he.platform,arch:he.arch,isWindows:he.isWindows,isMacOS:he.isMacOS,isLinux:he.isLinux})})}o(lE,"getDetails");he.getDetails=lE});var kt=S(X=>{"use strict";var cE=X&&X.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a);var r=Object.getOwnPropertyDescriptor(e,a);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[a]}}),Object.defineProperty(t,i,r)}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),mE=X&&X.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),$m=X&&X.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.prototype.hasOwnProperty.call(t,a)&&cE(e,t,a);return mE(e,t),e},L6=X&&X.__awaiter||function(t,e,a,i){function r(n){return n instanceof a?n:new a(function(s){s(n)})}return o(r,"adopt"),new(a||(a=Promise))(function(n,s){function p(c){try{l(i.next(c))}catch(m){s(m)}}o(p,"fulfilled");function d(c){try{l(i.throw(c))}catch(m){s(m)}}o(d,"rejected");function l(c){c.done?n(c.value):r(c.value).then(p,d)}o(l,"step"),l((i=i.apply(t,e||[])).next())})};Object.defineProperty(X,"__esModule",{value:!0});X.platform=X.toPlatformPath=X.toWin32Path=X.toPosixPath=X.markdownSummary=X.summary=X.getIDToken=X.getState=X.saveState=X.group=X.endGroup=X.startGroup=X.info=X.notice=X.warning=X.error=X.debug=X.isDebug=X.setFailed=X.setCommandEcho=X.setOutput=X.getBooleanInput=X.getMultilineInput=X.getInput=X.addPath=X.setSecret=X.exportVariable=X.ExitCode=void 0;var fa=t6(),xr=r6(),ln=Ep(),z6=$m(require("os")),uE=$m(require("path")),fE=h6(),Vm;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(Vm||(X.ExitCode=Vm={}));function hE(t,e){let a=(0,ln.toCommandValue)(e);if(process.env[t]=a,process.env.GITHUB_ENV||"")return(0,xr.issueFileCommand)("ENV",(0,xr.prepareKeyValueMessage)(t,e));(0,fa.issueCommand)("set-env",{name:t},a)}o(hE,"exportVariable");X.exportVariable=hE;function gE(t){(0,fa.issueCommand)("add-mask",{},t)}o(gE,"setSecret");X.setSecret=gE;function yE(t){process.env.GITHUB_PATH||""?(0,xr.issueFileCommand)("PATH",t):(0,fa.issueCommand)("add-path",{},t),process.env.PATH=`${t}${uE.delimiter}${process.env.PATH}`}o(yE,"addPath");X.addPath=yE;function Gm(t,e){let a=process.env[`INPUT_${t.replace(/ /g,"_").toUpperCase()}`]||"";if(e&&e.required&&!a)throw new Error(`Input required and not supplied: ${t}`);return e&&e.trimWhitespace===!1?a:a.trim()}o(Gm,"getInput");X.getInput=Gm;function vE(t,e){let a=Gm(t,e).split(`
`).filter(i=>i!=="");return e&&e.trimWhitespace===!1?a:a.map(i=>i.trim())}o(vE,"getMultilineInput");X.getMultilineInput=vE;function bE(t,e){let a=["true","True","TRUE"],i=["false","False","FALSE"],r=Gm(t,e);if(a.includes(r))return!0;if(i.includes(r))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(bE,"getBooleanInput");X.getBooleanInput=bE;function xE(t,e){if(process.env.GITHUB_OUTPUT||"")return(0,xr.issueFileCommand)("OUTPUT",(0,xr.prepareKeyValueMessage)(t,e));process.stdout.write(z6.EOL),(0,fa.issueCommand)("set-output",{name:t},(0,ln.toCommandValue)(e))}o(xE,"setOutput");X.setOutput=xE;function wE(t){(0,fa.issue)("echo",t?"on":"off")}o(wE,"setCommandEcho");X.setCommandEcho=wE;function NE(t){process.exitCode=Vm.Failure,k6(t)}o(NE,"setFailed");X.setFailed=NE;function _E(){return process.env.RUNNER_DEBUG==="1"}o(_E,"isDebug");X.isDebug=_E;function SE(t){(0,fa.issueCommand)("debug",{},t)}o(SE,"debug");X.debug=SE;function k6(t,e={}){(0,fa.issueCommand)("error",(0,ln.toCommandProperties)(e),t instanceof Error?t.toString():t)}o(k6,"error");X.error=k6;function EE(t,e={}){(0,fa.issueCommand)("warning",(0,ln.toCommandProperties)(e),t instanceof Error?t.toString():t)}o(EE,"warning");X.warning=EE;function CE(t,e={}){(0,fa.issueCommand)("notice",(0,ln.toCommandProperties)(e),t instanceof Error?t.toString():t)}o(CE,"notice");X.notice=CE;function TE(t){process.stdout.write(t+z6.EOL)}o(TE,"info");X.info=TE;function j6(t){(0,fa.issue)("group",t)}o(j6,"startGroup");X.startGroup=j6;function U6(){(0,fa.issue)("endgroup")}o(U6,"endGroup");X.endGroup=U6;function OE(t,e){return L6(this,void 0,void 0,function*(){j6(t);let a;try{a=yield e()}finally{U6()}return a})}o(OE,"group");X.group=OE;function PE(t,e){if(process.env.GITHUB_STATE||"")return(0,xr.issueFileCommand)("STATE",(0,xr.prepareKeyValueMessage)(t,e));(0,fa.issueCommand)("save-state",{name:t},(0,ln.toCommandValue)(e))}o(PE,"saveState");X.saveState=PE;function RE(t){return process.env[`STATE_${t}`]||""}o(RE,"getState");X.getState=RE;function IE(t){return L6(this,void 0,void 0,function*(){return yield fE.OidcClient.getIDToken(t)})}o(IE,"getIDToken");X.getIDToken=IE;var DE=zm();Object.defineProperty(X,"summary",{enumerable:!0,get:function(){return DE.summary}});var BE=zm();Object.defineProperty(X,"markdownSummary",{enumerable:!0,get:function(){return BE.markdownSummary}});var Xm=y6();Object.defineProperty(X,"toPosixPath",{enumerable:!0,get:function(){return Xm.toPosixPath}});Object.defineProperty(X,"toWin32Path",{enumerable:!0,get:function(){return Xm.toWin32Path}});Object.defineProperty(X,"toPlatformPath",{enumerable:!0,get:function(){return Xm.toPlatformPath}});X.platform=$m(M6())});var F6=S(Xa=>{"use strict";var AE=Xa&&Xa.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[a]}})}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),qE=Xa&&Xa.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),ME=Xa&&Xa.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.hasOwnProperty.call(t,a)&&AE(e,t,a);return qE(e,t),e};Object.defineProperty(Xa,"__esModule",{value:!0});Xa.getOptions=void 0;var Wm=ME(kt());function LE(t){let e={followSymbolicLinks:!0,implicitDescendants:!0,omitBrokenSymbolicLinks:!0};return t&&(typeof t.followSymbolicLinks=="boolean"&&(e.followSymbolicLinks=t.followSymbolicLinks,Wm.debug(`followSymbolicLinks '${e.followSymbolicLinks}'`)),typeof t.implicitDescendants=="boolean"&&(e.implicitDescendants=t.implicitDescendants,Wm.debug(`implicitDescendants '${e.implicitDescendants}'`)),typeof t.omitBrokenSymbolicLinks=="boolean"&&(e.omitBrokenSymbolicLinks=t.omitBrokenSymbolicLinks,Wm.debug(`omitBrokenSymbolicLinks '${e.omitBrokenSymbolicLinks}'`))),e}o(LE,"getOptions");Xa.getOptions=LE});var Up=S(He=>{"use strict";var zE=He&&He.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[a]}})}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),kE=He&&He.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),jE=He&&He.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.hasOwnProperty.call(t,a)&&zE(e,t,a);return kE(e,t),e},UE=He&&He.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(He,"__esModule",{value:!0});He.safeTrimTrailingSeparator=He.normalizeSeparators=He.hasRoot=He.hasAbsoluteRoot=He.ensureAbsoluteRoot=He.dirname=void 0;var jp=jE(require("path")),wr=UE(require("assert")),zi=process.platform==="win32";function FE(t){if(t=Ym(t),zi&&/^\\\\[^\\]+(\\[^\\]+)?$/.test(t))return t;let e=jp.dirname(t);return zi&&/^\\\\[^\\]+\\[^\\]+\\$/.test(e)&&(e=Ym(e)),e}o(FE,"dirname");He.dirname=FE;function HE(t,e){if(wr.default(t,"ensureAbsoluteRoot parameter 'root' must not be empty"),wr.default(e,"ensureAbsoluteRoot parameter 'itemPath' must not be empty"),Km(e))return e;if(zi){if(e.match(/^[A-Z]:[^\\/]|^[A-Z]:$/i)){let a=process.cwd();rLine truncated
%s`,g,g,I,i);var _=I.type==="*"?eu:I.type==="?"?Zm:"\\"+I.type;r=!0,i=i.slice(0,I.reStart)+_+"\\("+g}h(),n&&(i+="\\\\");var O=!1;switch(i.charAt(0)){case"[":case".":case"(":O=!0}for(var N=p.length-1;N>-1;N--){var D=p[N],C=i.slice(0,D.reStart),R=i.slice(D.reStart,D.reEnd-8),A=i.slice(D.reEnd-8,D.reEnd),j=i.slice(D.reEnd);A+=j;var oe=C.split("(").length-1,ye=j;for(b=0;b<oe;b++)ye=ye.replace(/\)[+*?]?/,"");j=ye;var Q="";j===""&&e!==Hp&&(Q="$");var at=C+R+j+Q+A;i=at}if(i!==""&&r&&(i="(?=.)"+i),O&&(i=u+i),e===Hp)return[i,r];if(!r)return vC(t);var fe=a.nocase?"i":"";try{var Ra=new RegExp("^"+i+"$",fe)}catch{return new RegExp("$.")}return Ra._glob=t,Ra._src=i,Ra}o(gC,"parse");ra.makeRe=function(t,e){return new Rt(t,e||{}).makeRe()};Rt.prototype.makeRe=yC;function yC(){if(this.regexp||this.regexp===!1)return this.regexp;var t=this.set;if(!t.length)return this.regexp=!1,this.regexp;var e=this.options,a=e.noglobstar?eu:e.dot?dC:lC,i=e.nocase?"i":"",r=t.map(function(n){return n.map(function(s){return s===tu?a:typeof s=="string"?bC(s):s._src}).join("\\/")}).join("|");r="^(?:"+r+")$",this.negate&&(r="^(?!"+r+").*$");try{this.regexp=new RegExp(r,i)}catch{this.regexp=!1}return this.regexp}o(yC,"makeRe");ra.match=function(t,e,a){a=a||{};var i=new Rt(e,a);return t=t.filter(function(r){return i.match(r)}),i.options.nonull&&!t.length&&t.push(e),t};Rt.prototype.match=o(function(e,a){if(typeof a>"u"&&(a=this.partial),this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return e==="";if(e==="/"&&a)return!0;var i=this.options;Fs.sep!=="/"&&(e=e.split(Fs.sep).join("/")),e=e.split(d4),this.debug(this.pattern,"split",e);var r=this.set;this.debug(this.pattern,"set",r);var n,s;for(s=e.length-1;s>=0&&(n=e[s],!n);s--);for(s=0;s<r.length;s++){var p=r[s],d=e;i.matchBase&&p.length===1&&(d=[n]);var l=this.matchOne(d,p,a);if(l)return i.flipNegate?!0:!this.negate}return i.flipNegate?!1:this.negate},"match");Rt.prototype.matchOne=function(t,e,a){var i=this.options;this.debug("matchOne",{this:this,file:t,pattern:e}),this.debug("matchOne",t.length,e.length);for(var r=0,n=0,s=t.length,p=e.length;r<s&&n<p;r++,n++){this.debug("matchOne loop");var d=e[n],l=t[r];if(this.debug(e,d,l),d===!1)return!1;if(d===tu){this.debug("GLOBSTAR",[e,d,l]);var c=r,m=n+1;if(m===p){for(this.debug("** at the end");r<s;r++)if(t[r]==="."||t[r]===".."||!i.dot&&t[r].charAt(0)===".")return!1;return!0}for(;c<s;){var u=t[c];if(this.debug(`
globstar while`,t,c,e,m,u),this.matchOne(t.slice(c),e.slice(m),a))return this.debug("globstar found match!",c,s,u),!0;if(u==="."||u===".."||!i.dot&&u.charAt(0)==="."){this.debug("dot detected!",t,c,e,m);break}this.debug("globstar swallow a segment, and continue"),c++}return!!(a&&(this.debug(`
>>> no match, partial?`,t,c,e,m),c===s))}var f;if(typeof d=="string"?(f=l===d,this.debug("string match",d,l,f)):(f=l.match(d),this.debug("pattern match",d,l,f)),!f)return!1}if(r===s&&n===p)return!0;if(r===s)return a;if(n===p)return r===s-1&&t[r]==="";throw new Error("wtf?")};function hC(t){return t.replace(/\\(.)/g,"$1")}o(hC,"globUnescape");function gC(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}o(gC,"regExpEscape")});var m4=S(ha=>{"use strict";var yC=ha&&ha.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[a]}})}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),vC=ha&&ha.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),c4=ha&&ha.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.hasOwnProperty.call(t,a)&&yC(e,t,a);return vC(e,t),e},bC=ha&&ha.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(ha,"__esModule",{value:!0});ha.Path=void 0;var Vs=c4(require("path")),ji=c4(jp()),$s=bC(require("assert")),xC=process.platform==="win32",eu=class{static{o(this,"Path")}constructor(e){if(this.segments=[],typeof e=="string")if($s.default(e,"Parameter 'itemPath' must not be empty"),e=ji.safeTrimTrailingSeparator(e),!ji.hasRoot(e))this.segments=e.split(Vs.sep);else{let a=e,i=ji.dirname(a);for(;i!==a;){let r=Vs.basename(a);this.segments.unshift(r),a=i,i=ji.dirname(a)}this.segments.unshift(a)}else{$s.default(e.length>0,"Parameter 'itemPath' must not be an empty array");for(let a=0;a<e.length;a++){let i=e[a];$s.default(i,"Parameter 'itemPath' must not contain any empty segments"),i=ji.normalizeSeparators(e[a]),a===0&&ji.hasRoot(i)?(i=ji.safeTrimTrailingSeparator(i),$s.default(i===ji.dirname(i),"Parameter 'itemPath' root segment contains information for multiple segments"),this.segments.push(i)):($s.default(!i.includes(Vs.sep),"Parameter 'itemPath' contains unexpected path separators"),this.segments.push(i))}}}toString(){let e=this.segments[0],a=e.endsWith(Vs.sep)||xC&&/^[A-Z]:$/i.test(e);for(let i=1;i<this.segments.length;i++)a?a=!1:e+=Vs.sep,e+=this.segments[i];return e}};ha.Path=eu});var u4=S(ga=>{"use strict";var wC=ga&&ga.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[a]}})}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),NC=ga&&ga.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),iu=ga&&ga.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.hasOwnProperty.call(t,a)&&wC(e,t,a);return NC(e,t),e},_C=ga&&ga.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(ga,"__esModule",{value:!0});ga.Pattern=void 0;var SC=iu(require("os")),Gs=iu(require("path")),Yt=iu(jp()),wr=_C(require("assert")),EC=l4(),tu=Up(),Vp=m4(),mi=process.platform==="win32",au=class t{static{o(this,"Pattern")}constructor(e,a=!1,i,r){this.negate=!1;let n;if(typeof e=="string")n=e.trim();else{i=i||[],wr.default(i.length,"Parameter 'segments' must not empty");let l=t.getLiteral(i[0]);wr.default(l&&Yt.hasAbsoluteRoot(l),"Parameter 'segments' first element must be a root path"),n=new Vp.Path(i).toString().trim(),e&&(n=`!${n}`)}for(;n.startsWith("!");)this.negate=!this.negate,n=n.substr(1).trim();n=t.fixupPattern(n,r),this.segments=new Vp.Path(n).segments,this.trailingSeparator=Yt.normalizeSeparators(n).endsWith(Gs.sep),n=Yt.safeTrimTrailingSeparator(n);let s=!1,p=this.segments.map(l=>t.getLiteral(l)).filter(l=>!s&&!(s=l===""));this.searchPath=new Vp.Path(p).toString(),this.rootRegExp=new RegExp(t.regExpEscape(p[0]),mi?"i":""),this.isImplicitPattern=a;let d={dot:!0,nobrace:!0,nocase:mi,nocomment:!0,noext:!0,nonegate:!0};n=mi?n.replace(/\\/g,"/"):n,this.minimatch=new EC.Minimatch(n,d)}match(e){return this.segments[this.segments.length-1]==="**"?(e=Yt.normalizeSeparators(e),!e.endsWith(Gs.sep)&&this.isImplicitPattern===!1&&(e=`${e}${Gs.sep}`)):e=Yt.safeTrimTrailingSeparator(e),this.minimatch.match(e)?this.trailingSeparator?tu.MatchKind.Directory:tu.MatchKind.All:tu.MatchKind.None}partialMatch(e){return e=Yt.safeTrimTrailingSeparator(e),Yt.dirname(e)===e?this.rootRegExp.test(e):this.minimatch.matchOne(e.split(mi?/\\+/:/\/+/),this.minimatch.set[0],!0)}static globEscape(e){return(mi?e:e.replace(/\\/g,"\\\\")).replace(/(\[)(?=[^/]+\])/g,"[[]").replace(/\?/g,"[?]").replace(/\*/g,"[*]")}static fixupPattern(e,a){wr.default(e,"pattern cannot be empty");let i=new Vp.Path(e).segments.map(r=>t.getLiteral(r));if(wr.default(i.every((r,n)=>(r!=="."||n===0)&&r!==".."),`Invalid pattern '${e}'. Relative pathing '.' and '..' is not allowed.`),wr.default(!Yt.hasRoot(e)||i[0],`Invalid pattern '${e}'. Root segment must not contain globs.`),e=Yt.nor Line truncated
>>> no match, partial?`,t,c,e,m),c===s))}var f;if(typeof d=="string"?(f=l===d,this.debug("string match",d,l,f)):(f=l.match(d),this.debug("pattern match",d,l,f)),!f)return!1}if(r===s&&n===p)return!0;if(r===s)return a;if(n===p)return r===s-1&&t[r]==="";throw new Error("wtf?")};function vC(t){return t.replace(/\\(.)/g,"$1")}o(vC,"globUnescape");function bC(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}o(bC,"regExpEscape")});var f4=S(ha=>{"use strict";var xC=ha&&ha.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[a]}})}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),wC=ha&&ha.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),u4=ha&&ha.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.hasOwnProperty.call(t,a)&&xC(e,t,a);return wC(e,t),e},NC=ha&&ha.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(ha,"__esModule",{value:!0});ha.Path=void 0;var Hs=u4(require("path")),ji=u4(Up()),Vs=NC(require("assert")),_C=process.platform==="win32",au=class{static{o(this,"Path")}constructor(e){if(this.segments=[],typeof e=="string")if(Vs.default(e,"Parameter 'itemPath' must not be empty"),e=ji.safeTrimTrailingSeparator(e),!ji.hasRoot(e))this.segments=e.split(Hs.sep);else{let a=e,i=ji.dirname(a);for(;i!==a;){let r=Hs.basename(a);this.segments.unshift(r),a=i,i=ji.dirname(a)}this.segments.unshift(a)}else{Vs.default(e.length>0,"Parameter 'itemPath' must not be an empty array");for(let a=0;a<e.length;a++){let i=e[a];Vs.default(i,"Parameter 'itemPath' must not contain any empty segments"),i=ji.normalizeSeparators(e[a]),a===0&&ji.hasRoot(i)?(i=ji.safeTrimTrailingSeparator(i),Vs.default(i===ji.dirname(i),"Parameter 'itemPath' root segment contains information for multiple segments"),this.segments.push(i)):(Vs.default(!i.includes(Hs.sep),"Parameter 'itemPath' contains unexpected path separators"),this.segments.push(i))}}}toString(){let e=this.segments[0],a=e.endsWith(Hs.sep)||_C&&/^[A-Z]:$/i.test(e);for(let i=1;i<this.segments.length;i++)a?a=!1:e+=Hs.sep,e+=this.segments[i];return e}};ha.Path=au});var h4=S(ga=>{"use strict";var SC=ga&&ga.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[a]}})}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),EC=ga&&ga.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),nu=ga&&ga.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.hasOwnProperty.call(t,a)&&SC(e,t,a);return EC(e,t),e},CC=ga&&ga.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(ga,"__esModule",{value:!0});ga.Pattern=void 0;var TC=nu(require("os")),$s=nu(require("path")),Yt=nu(Up()),Nr=CC(require("assert")),OC=m4(),iu=Fp(),$p=f4(),mi=process.platform==="win32",ru=class t{static{o(this,"Pattern")}constructor(e,a=!1,i,r){this.negate=!1;let n;if(typeof e=="string")n=e.trim();else{i=i||[],Nr.default(i.length,"Parameter 'segments' must not empty");let l=t.getLiteral(i[0]);Nr.default(l&&Yt.hasAbsoluteRoot(l),"Parameter 'segments' first element must be a root path"),n=new $p.Path(i).toString().trim(),e&&(n=`!${n}`)}for(;n.startsWith("!");)this.negate=!this.negate,n=n.substr(1).trim();n=t.fixupPattern(n,r),this.segments=new $p.Path(n).segments,this.trailingSeparator=Yt.normalizeSeparators(n).endsWith($s.sep),n=Yt.safeTrimTrailingSeparator(n);let s=!1,p=this.segments.map(l=>t.getLiteral(l)).filter(l=>!s&&!(s=l===""));this.searchPath=new $p.Path(p).toString(),this.rootRegExp=new RegExp(t.regExpEscape(p[0]),mi?"i":""),this.isImplicitPattern=a;let d={dot:!0,nobrace:!0,nocase:mi,nocomment:!0,noext:!0,nonegate:!0};n=mi?n.replace(/\\/g,"/"):n,this.minimatch=new OC.Minimatch(n,d)}match(e){return this.segments[this.segments.length-1]==="**"?(e=Yt.normalizeSeparators(e),!e.endsWith($s.sep)&&this.isImplicitPattern===!1&&(e=`${e}${$s.sep}`)):e=Yt.safeTrimTrailingSeparator(e),this.minimatch.match(e)?this.trailingSeparator?iu.MatchKind.Directory:iu.MatchKind.All:iu.MatchKind.None}partialMatch(e){return e=Yt.safeTrimTrailingSeparator(e),Yt.dirname(e)===e?this.rootRegExp.test(e):this.minimatch.matchOne(e.split(mi?/\\+/:/\/+/),this.minimatch.set[0],!0)}static globEscape(e){return(mi?e:e.replace(/\\/g,"\\\\")).replace(/(\[)(?=[^/]+\])/g,"[[]").replace(/\?/g,"[?]").replace(/\*/g,"[*]")}static fixupPattern(e,a){Nr.default(e,"pattern cannot be empty");let i=new $p.Path(e).segments.map(r=>t.getLiteral(r));if(Nr.default(i.every((r,n)=>(r!=="."||n===0)&&r!==".."),`Invalid pattern '${e}'. Relative pathing '.' and '..' is not allowed.`),Nr.default(!Yt.hasRoot(e)||i[0],`Invalid pattern '${e}'. Root segment must not contain globs.`),e=Yt.nor Line truncated
`),e=e.replace(/\r/g,`
`));let r=e.split(`
`).map(n=>n.trim());for(let n of r)!n||n.startsWith("#")||i.patterns.push(new y4.Pattern(n));return i.searchPaths.push(...Gp.getSearchPaths(i.patterns)),i})}static stat(e,a,i){return nu(this,void 0,void 0,function*(){let r;if(a.followSymbolicLinks)try{r=yield Xs.promises.stat(e.path)}catch(n){if(n.code==="ENOENT"){if(a.omitBrokenSymbolicLinks){su.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 n}else r=yield Xs.promises.lstat(e.path);if(r.isDirectory()&&a.followSymbolicLinks){let n=yield Xs.promises.realpath(e.path);for(;i.length>=e.level;)i.pop();if(i.some(s=>s===n)){su.debug(`Symlink cycle detected for path '${e.path}' and realpath '${n}'`);return}i.push(n)}return r})}};gt.DefaultGlobber=ou});var x4=S(mn=>{"use strict";var DC=mn&&mn.__awaiter||function(t,e,a,i){function r(n){return n instanceof a?n:new a(function(s){s(n)})}return o(r,"adopt"),new(a||(a=Promise))(function(n,s){function p(c){try{l(i.next(c))}catch(m){s(m)}}o(p,"fulfilled");function d(c){try{l(i.throw(c))}catch(m){s(m)}}o(d,"rejected");function l(c){c.done?n(c.value):r(c.value).then(p,d)}o(l,"step"),l((i=i.apply(t,e||[])).next())})};Object.defineProperty(mn,"__esModule",{value:!0});mn.create=void 0;var BC=b4();function AC(t,e){return DC(this,void 0,void 0,function*(){return yield BC.DefaultGlobber.create(t,e)})}o(AC,"create");mn.create=AC});var C4=S((ie,E4)=>{ie=E4.exports=se;var _e;typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?_e=o(function(){var t=Array.prototype.slice.call(arguments,0);t.unshift("SEMVER"),console.log.apply(console,t)},"debug"):_e=o(function(){},"debug");ie.SEMVER_SPEC_VERSION="2.0.0";var Ks=256,Xp=Number.MAX_SAFE_INTEGER||9007199254740991,pu=16,qC=Ks-6,un=ie.re=[],Ne=ie.safeRe=[],q=ie.src=[],B=ie.tokens={},_4=0;function pe(t){B[t]=_4++}o(pe,"tok");var lu="[a-zA-Z0-9-]",du=[["\\s",1],["\\d",Ks],[lu,qC]];function Qs(t){for(var e=0;e<du.length;e++){var a=du[e][0],i=du[e][1];t=t.split(a+"*").join(a+"{0,"+i+"}").split(a+"+").join(a+"{1,"+i+"}")}return t}o(Qs,"makeSafeRe");pe("NUMERICIDENTIFIER");q[B.NUMERICIDENTIFIER]="0|[1-9]\\d*";pe("NUMERICIDENTIFIERLOOSE");q[B.NUMERICIDENTIFIERLOOSE]="\\d+";pe("NONNUMERICIDENTIFIER");q[B.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-]"+lu+"*";pe("MAINVERSION");q[B.MAINVERSION]="("+q[B.NUMERICIDENTIFIER]+")\\.("+q[B.NUMERICIDENTIFIER]+")\\.("+q[B.NUMERICIDENTIFIER]+")";pe("MAINVERSIONLOOSE");q[B.MAINVERSIONLOOSE]="("+q[B.NUMERICIDENTIFIERLOOSE]+")\\.("+q[B.NUMERICIDENTIFIERLOOSE]+")\\.("+q[B.NUMERICIDENTIFIERLOOSE]+")";pe("PRERELEASEIDENTIFIER");q[B.PRERELEASEIDENTIFIER]="(?:"+q[B.NUMERICIDENTIFIER]+"|"+q[B.NONNUMERICIDENTIFIER]+")";pe("PRERELEASEIDENTIFIERLOOSE");q[B.PRERELEASEIDENTIFIERLOOSE]="(?:"+q[B.NUMERICIDENTIFIERLOOSE]+"|"+q[B.NONNUMERICIDENTIFIER]+")";pe("PRERELEASE");q[B.PRERELEASE]="(?:-("+q[B.PRERELEASEIDENTIFIER]+"(?:\\."+q[B.PRERELEASEIDENTIFIER]+")*))";pe("PRERELEASELOOSE");q[B.PRERELEASELOOSE]="(?:-?("+q[B.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+q[B.PRERELEASEIDENTIFIERLOOSE]+")*))";pe("BUILDIDENTIFIER");q[B.BUILDIDENTIFIER]=lu+"+";pe("BUILD");q[B.BUILD]="(?:\\+("+q[B.BUILDIDENTIFIER]+"(?:\\."+q[B.BUILDIDENTIFIER]+")*))";pe("FULL");pe("FULLPLAIN");q[B.FULLPLAIN]="v?"+q[B.MAINVERSION]+q[B.PRERELEASE]+"?"+q[B.BUILD]+"?";q[B.FULL]="^"+q[B.FULLPLAIN]+"$";pe("LOOSEPLAIN");q[B.LOOSEPLAIN]="[v=\\s]*"+q[B.MAINVERSIONLOOSE]+q[B.PRERELEASELOOSE]+"?"+q[B.BUILD]+"?";pe("LOOSE");q[B.LOOSE]="^"+q[B.LOOSEPLAIN]+"$";pe("GTLT");q[B.GTLT]="((?:<|>)?=?)";pe("XRANGEIDENTIFIERLOOSE");q[B.XRANGEIDENTIFIERLOOSE]=q[B.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*";pe("XRANGEIDENTIFIER");q[B.XRANGEIDENTIFIER]=q[B.NUMERICIDENTIFIER]+"|x|X|\\*";pe("XRANGEPLAIN");q[B.XRANGEPLAIN]="[v=\\s]*("+q[B.XRANGEIDENTIFIER]+")(?:\\.("+q[B.XRANGEIDENTIFIER]+")(?:\\.("+q[B.XRANGEIDENTIFIER]+")(?:"+q[B.PRERELEASE]+")?"+q[B.BUILD]+"?)?)?";pe("XRANGEPLAINLOOSE");q[B.XRANGEPLAINLOOSE]="[v=\\s]*("+q[B.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+q[B.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+q[B.XRANGEIDENTIFIERLOOSE]+")(?:"+q[B.PRERELEASELOOSE]+")?"+q[B.BUILD]+"?)?)?";pe("XRANGE");q[B.XRANGE]="^"+q[B.GTLT]+"\\s*"+q[B.XRANGEPLAIN]+"$";pe("XRANGELOOSE");q[B.XRANGELOOSE]="^"+q[B.GTLT]+"\\s*"+q[B.XRANGEPLAINLOOSE]+"$";pe("COERCE");q[B.COERCE]="(^|[^\\d])(\\d{1,"+pu+"})(?:\\.(\\d{1,"+pu+"}))?(?:\\.(\\d{1,"+pu+"}))?(?:$|[^\\d])";pe("COERCERTL");un[B.COERCERTL]=new RegExp(q[B.COERCE],"g");Ne[B.COERCERTL]=new RegExp(Qs(q[B.COERCE]),"g");pe("LONETILDE");q[B.LONETILDE]="(?:~>?)";pe("TILDETRIM");q[B.TILDETRIM]="(\\s*)"+q[B.LONETILDE]+"\\s+";un[B.TILDETRIM]=new RegExp(q[B.TILDETRIM],"g");Ne[B.TILDETRIM]=new RegExp(Qs(q[B.TILDETRIM]),"g");var MC="$1~";pe("TILDE");q[B.TILDE]="^"+q[B.LONETILDE]+q[B.XRANGEPLAIN]+"$";pe("TILDELOOSE");q[B.TILDELOOSE]="^"+q[B.LONETILDE]+q[B.XRANGEPLAINLOOSE]+"$";pe("LONECARET");q[B.LONECARET]="(?:\\^)";pe("CARETTRIM");q[B.CARETTRIM]="(\\s*)"+q[B.LONECARET]+"\\s+";un[B.CARETTRIM]=new Line truncated
`),{implicitDescendants:!1});try{for(var l=!0,c=xT(d.globGenerator()),m;m=yield c.next(),e=m.done,!e;l=!0){r=m.value,l=!1;let u=r,f=Qp.relative(p,u).replace(new RegExp(`\\${Qp.sep}`,"g"),"/");Js.debug(`Matched: ${f}`),f===""?s.push("."):s.push(`${f}`)}}catch(u){a={error:u}}finally{try{!l&&!e&&(i=c.return)&&(yield i.call(c))}finally{if(a)throw a.error}}return s})}o(OT,"resolvePaths");be.resolvePaths=OT;function PT(t){return gn(this,void 0,void 0,function*(){return ST.promisify(hu.unlink)(t)})}o(PT,"unlinkFile");be.unlinkFile=PT;function D4(t,e=[]){return gn(this,void 0,void 0,function*(){let a="";e.push("--version"),Js.debug(`Checking ${t} ${e.join(" ")}`);try{yield wT.exec(`${t}`,e,{ignoreReturnCode:!0,silent:!0,listeners:{stdout:i=>a+=i.toString(),stderr:i=>a+=i.toString()}})}catch(i){Js.debug(i.message)}return a=a.trim(),Js.debug(a),a})}o(D4,"getVersion");function RT(){return gn(this,void 0,void 0,function*(){let t=yield D4("zstd",["--quiet"]),e=_T.clean(t);return Js.debug(`zstd version: ${e}`),t===""?Sr.CompressionMethod.Gzip:Sr.CompressionMethod.ZstdWithoutLong})}o(RT,"getCompressionMethod");be.getCompressionMethod=RT;function IT(t){return t===Sr.CompressionMethod.Gzip?Sr.CacheFilename.Gzip:Sr.CacheFilename.Zstd}o(IT,"getCacheFileName");be.getCacheFileName=IT;function DT(){return gn(this,void 0,void 0,function*(){return hu.existsSync(Sr.GnuTarPathOnWindows)?Sr.GnuTarPathOnWindows:(yield D4("tar")).toLowerCase().includes("gnu tar")?R4.which("tar"):""})}o(DT,"getGnuTarPathOnWindows");be.getGnuTarPathOnWindows=DT;function BT(t,e){if(e===void 0)throw Error(`Expected ${t} but value was undefiend`);return e}o(BT,"assertDefined");be.assertDefined=BT;function AT(t,e,a=!1){let i=t.slice();return e&&i.push(e),process.platform==="win32"&&!a&&i.push("windows-only"),i.push(ET),I4.createHash("sha256").update(i.join("|")).digest("hex")}o(AT,"getCacheVersion");be.getCacheVersion=AT;function qT(){let t=process.env.ACTIONS_RUNTIME_TOKEN;if(!t)throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable");return t}o(qT,"getRuntimeToken");be.getRuntimeToken=qT});function Zs(){return Jp>Zp.length-16&&(B4.default.randomFillSync(Zp),Jp=0),Zp.slice(Jp,Jp+=16)}var B4,Zp,Jp,gu=qt(()=>{B4=an(require("crypto")),Zp=new Uint8Array(256),Jp=Zp.length;o(Zs,"rng")});var A4,q4=qt(()=>{A4=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i});function MT(t){return typeof t=="string"&&A4.test(t)}var Fi,eo=qt(()=>{q4();o(MT,"validate");Fi=MT});function zT(t,e=0){let a=(It[t[e+0]]+It[t[e+1]]+It[t[e+2]]+It[t[e+3]]+"-"+It[t[e+4]]+It[t[e+5]]+"-"+It[t[e+6]]+It[t[e+7]]+"-"+It[t[e+8]]+It[t[e+9]]+"-"+It[t[e+10]]+It[t[e+11]]+It[t[e+12]]+It[t[e+13]]+It[t[e+14]]+It[t[e+15]]).toLowerCase();if(!Fi(a))throw TypeError("Stringified UUID is invalid");return a}var It,Hi,to=qt(()=>{eo();It=[];for(let t=0;t<256;++t)It.push((t+256).toString(16).substr(1));o(zT,"stringify");Hi=zT});function LT(t,e,a){let i=e&&a||0,r=e||new Array(16);t=t||{};let n=t.node||M4,s=t.clockseq!==void 0?t.clockseq:yu;if(n==null||s==null){let u=t.random||(t.rng||Zs)();n==null&&(n=M4=[u[0]|1,u[1],u[2],u[3],u[4],u[5]]),s==null&&(s=yu=(u[6]<<8|u[7])&16383)}let p=t.msecs!==void 0?t.msecs:Date.now(),d=t.nsecs!==void 0?t.nsecs:bu+1,l=p-vu+(d-bu)/1e4;if(l<0&&t.clockseq===void 0&&(s=s+1&16383),(l<0||p>vu)&&t.nsecs===void 0&&(d=0),d>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");vu=p,bu=d,yu=s,p+=122192928e5;let c=((p&268435455)*1e4+d)%4294967296;r[i++]=c>>>24&255,r[i++]=c>>>16&255,r[i++]=c>>>8&255,r[i++]=c&255;let m=p/4294967296*1e4&268435455;r[i++]=m>>>8&255,r[i++]=m&255,r[i++]=m>>>24&15|16,r[i++]=m>>>16&255,r[i++]=s>>>8|128,r[i++]=s&255;for(let u=0;u<6;++u)r[i+u]=n[u];return e||Hi(r)}var M4,yu,vu,bu,z4,L4=qt(()=>{gu();to();vu=0,bu=0;o(LT,"v1");z4=LT});function kT(t){if(!Fi(t))throw TypeError("Invalid UUID");let e,a=new Uint8Array(16);return a[0]=(e=parseInt(t.slice(0,8),16))>>>24,a[1]=e>>>16&255,a[2]=e>>>8&255,a[3]=e&255,a[4]=(e=parseInt(t.slice(9,13),16))>>>8,a[5]=e&255,a[6]=(e=parseInt(t.slice(14,18),16))>>>8,a[7]=e&255,a[8]=(e=parseInt(t.slice(19,23),16))>>>8,a[9]=e&255,a[10]=(e=parseInt(t.slice(24,36),16))/1099511627776&255,a[11]=e/4294967296&255,a[12]=e>>>24&255,a[13]=e>>>16&255,a[14]=e>>>8&255,a[15]=e&255,a}var ed,xu=qt(()=>{eo();o(kT,"parse");ed=kT});function jT(t){t=unescape(encodeURIComponent(t));let e=[];for(let a=0;a<t.length;++a)e.push(t.charCodeAt(a));return e}function ao(t,e,a){function i(r,n,s,p){if(typeof r=="string"&&(r=jT(r)),typeof n=="string"&&(n=ed(n)),n.length!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let d=new Uint8Array(16+r.length);if(d.set(n),d.set(r,n.length),d=a(d),d[6]=d[6]&15|e,d[8]=d[8]&63|128,s){p=p||0;for(let l=0;l<16;++l)s[p+l]=d[l];return s}return Hi(d)}o(i,"generateUUID");try{i.name=t}catch{}return i.DNS=UT,i.URL=FT,i}var UT,FT,wu=qt(()=>{to();xu();o(jT,"stringToBytes");UT="6ba7b810-9dad-11d1-80b4-00c04fd430c8",FT Line truncated
`},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(Su)});var Ka=S((E3,Vi)=>{(function(){var t,e,a,i,r,n,s,p=[].slice,d={}.hasOwnProperty;t=o(function(){var l,c,m,u,f,h;if(h=arguments[0],f=2<=arguments.length?p.call(arguments,1):[],r(Object.assign))Object.assign.apply(null,arguments);else for(l=0,m=f.length;l<m;l++)if(u=f[l],u!=null)for(c in u)d.call(u,c)&&(h[c]=u[c]);return h},"assign"),r=o(function(l){return!!l&&Object.prototype.toString.call(l)==="[object Function]"},"isFunction"),n=o(function(l){var c;return!!l&&((c=typeof l)=="function"||c==="object")},"isObject"),a=o(function(l){return r(Array.isArray)?Array.isArray(l):Object.prototype.toString.call(l)==="[object Array]"},"isArray"),i=o(function(l){var c;if(a(l))return!l.length;for(c in l)if(d.call(l,c))return!1;return!0},"isEmpty"),s=o(function(l){var c,m;return n(l)&&(m=Object.getPrototypeOf(l))&&(c=m.constructor)&&typeof c=="function"&&c instanceof c&&Function.prototype.toString.call(c)===Function.prototype.toString.call(Object)},"isPlainObject"),e=o(function(l){return r(l.valueOf)?l.valueOf():l},"getValue"),Vi.exports.assign=t,Vi.exports.isFunction=r,Vi.exports.isObject=n,Vi.exports.isArray=a,Vi.exports.isEmpty=i,Vi.exports.isPlainObject=s,Vi.exports.getValue=e}).call(E3)});var Eu=S((C3,T3)=>{(function(){var t;T3.exports=t=function(){function e(){}return o(e,"XMLDOMImplementation"),e.prototype.hasFeature=function(a,i){return!0},e.prototype.createDocumentType=function(a,i,r){throw new Error("This DOM method is not implemented.")},e.prototype.createDocument=function(a,i,r){throw new Error("This DOM method is not implemented.")},e.prototype.createHTMLDocument=function(a){throw new Error("This DOM method is not implemented.")},e.prototype.getFeature=function(a,i){throw new Error("This DOM method is not implemented.")},e}()}).call(C3)});var R3=S((O3,P3)=>{(function(){var t;P3.exports=t=function(){function e(){}return o(e,"XMLDOMErrorHandler"),e.prototype.handleError=function(a){throw new Error(a)},e}()}).call(O3)});var B3=S((I3,D3)=>{(function(){var t;D3.exports=t=function(){function e(a){this.arr=a||[]}return o(e,"XMLDOMStringList"),Object.defineProperty(e.prototype,"length",{get:function(){return this.arr.length}}),e.prototype.item=function(a){return this.arr[a]||null},e.prototype.contains=function(a){return this.arr.indexOf(a)!==-1},e}()}).call(I3)});var M3=S((A3,q3)=>{(function(){var t,e,a;e=R3(),a=B3(),q3.exports=t=function(){function i(){var r;this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new e,infoset:!0,"validate-if-schema":!1,namespaces:!0,"namespace-declarations":!0,"normalize-characters":!1,"schema-location":"","schema-type":"","split-cdata-sections":!0,validate:!1,"well-formed":!0},this.params=r=Object.create(this.defaultParams)}return o(i,"XMLDOMConfiguration"),Object.defineProperty(i.prototype,"parameterNames",{get:function(){return new a(Object.keys(this.defaultParams))}}),i.prototype.getParameter=function(r){return this.params.hasOwnProperty(r)?this.params[r]:null},i.prototype.canSetParameter=function(r,n){return!0},i.prototype.setParameter=function(r,n){return n!=null?this.params[r]=n:delete this.params[r]},i}()}).call(A3)});var it=S((z3,L3)=>{(function(){L3.exports={Element:1,Attribute:2,Text:3,CData:4,EntityReference:5,EntityDeclaration:6,ProcessingInstruction:7,Comment:8,Document:9,DocType:10,DocumentFragment:11,NotationDeclaration:12,Declaration:201,Raw:202,AttributeDeclaration:203,ElementDeclaration:204,Dummy:205}}).call(z3)});var Cu=S((k3,j3)=>{(function(){var t,e,a;t=it(),a=na(),j3.exports=e=function(){function i(r,n,s){if(this.parent=r,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),n==null)throw new Error("Missing attribute name. "+this.debugInfo(n));this.name=this.stringify.name(n),this.value=this.stringify.attValue(s),this.type=t.Attribute,this.isId=!1,this.schemaTypeInfo=null}return o(i,"XMLAttribute"),Object.defineProperty(i.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(i.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(i.prototype,"textContent",{get:function(){return this.value},set:function(r){return this.value=r||""}}),Object.defineProperty(i.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(i.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(i.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(i.prototype,"specified",{get:function(){return!0}}),i.prototype.clone=function(){return Object.create(this)},i.prototype.toString=function(r){return this.options.writer.attribute(this,this.options.writer.filterOptions(r))},i.prototype.debugInfo=function(r){return r=r||this.name,r==null?"parent: <"+this.parent.name+">":"attribute: {"+r+"}, parent: <"+this.parent.name+">"},i.prototype.isEqualNode=function(r){return!(r.namespaceURI!==thi Line truncated
`,y.offset=(O=w.offset)!=null?O:0,y.dontPrettyTextNodes=(N=(D=w.dontPrettyTextNodes)!=null?D:w.dontprettytextnodes)!=null?N:0,y.spaceBeforeSlash=(C=(R=w.spaceBeforeSlash)!=null?R:w.spacebeforeslash)!=null?C:"",y.spaceBeforeSlash===!0&&(y.spaceBeforeSlash=" "),y.suppressPrettyCount=0,y.user={},y.state=e.None,y},I.prototype.indent=function(w,y,g){var _;return!y.pretty||y.suppressPrettyCount?"":y.pretty&&(_=(g||0)+y.offset+1,_>0)?new Array(_).join(y.indent):""},I.prototype.endline=function(w,y,g){return!y.pretty||y.suppressPrettyCount?"":y.newline},I.prototype.attribute=function(w,y,g){var _;return this.openAttribute(w,y,g),_=" "+w.name+'="'+w.value+'"',this.closeAttribute(w,y,g),_},I.prototype.cdata=function(w,y,g){var _;return this.openNode(w,y,g),y.state=e.OpenTag,_=this.indent(w,y,g)+"<![CDATA[",y.state=e.InsideTag,_+=w.value,y.state=e.CloseTag,_+="]]>"+this.endline(w,y,g),y.state=e.None,this.closeNode(w,y,g),_},I.prototype.comment=function(w,y,g){var _;return this.openNode(w,y,g),y.state=e.OpenTag,_=this.indent(w,y,g)+"<!-- ",y.state=e.InsideTag,_+=w.value,y.state=e.CloseTag,_+=" -->"+this.endline(w,y,g),y.state=e.None,this.closeNode(w,y,g),_},I.prototype.declaration=function(w,y,g){var _;return this.openNode(w,y,g),y.state=e.OpenTag,_=this.indent(w,y,g)+"<?xml",y.state=e.InsideTag,_+=' version="'+w.version+'"',w.encoding!=null&&(_+=' encoding="'+w.encoding+'"'),w.standalone!=null&&(_+=' standalone="'+w.standalone+'"'),y.state=e.CloseTag,_+=y.spaceBeforeSlash+"?>",_+=this.endline(w,y,g),y.state=e.None,this.closeNode(w,y,g),_},I.prototype.docType=function(w,y,g){var _,O,N,D,C;if(g||(g=0),this.openNode(w,y,g),y.state=e.OpenTag,D=this.indent(w,y,g),D+="<!DOCTYPE "+w.root().name,w.pubID&&w.sysID?D+=' PUBLIC "'+w.pubID+'" "'+w.sysID+'"':w.sysID&&(D+=' SYSTEM "'+w.sysID+'"'),w.children.length>0){for(D+=" [",D+=this.endline(w,y,g),y.state=e.InsideTag,C=w.children,O=0,N=C.length;O<N;O++)_=C[O],D+=this.writeChildNode(_,y,g+1);y.state=e.CloseTag,D+="]"}return y.state=e.CloseTag,D+=y.spaceBeforeSlash+">",D+=this.endline(w,y,g),y.state=e.None,this.closeNode(w,y,g),D},I.prototype.element=function(w,y,g){var _,O,N,D,C,R,A,j,oe,ye,Q,tt,fe,Ra;g||(g=0),ye=!1,Q="",this.openNode(w,y,g),y.state=e.OpenTag,Q+=this.indent(w,y,g)+"<"+w.name,tt=w.attribs;for(oe in tt)E.call(tt,oe)&&(_=tt[oe],Q+=this.attribute(_,y,g));if(N=w.children.length,D=N===0?null:w.children[0],N===0||w.children.every(function(Ft){return(Ft.type===t.Text||Ft.type===t.Raw)&&Ft.value===""}))y.allowEmpty?(Q+=">",y.state=e.CloseTag,Q+="</"+w.name+">"+this.endline(w,y,g)):(y.state=e.CloseTag,Q+=y.spaceBeforeSlash+"/>"+this.endline(w,y,g));else if(y.pretty&&N===1&&(D.type===t.Text||D.type===t.Raw)&&D.value!=null)Q+=">",y.state=e.InsideTag,y.suppressPrettyCount++,ye=!0,Q+=this.writeChildNode(D,y,g+1),y.suppressPrettyCount--,ye=!1,y.state=e.CloseTag,Q+="</"+w.name+">"+this.endline(w,y,g);else{if(y.dontPrettyTextNodes){for(fe=w.children,C=0,A=fe.length;C<A;C++)if(O=fe[C],(O.type===t.Text||O.type===t.Raw)&&O.value!=null){y.suppressPrettyCount++,ye=!0;break}}for(Q+=">"+this.endline(w,y,g),y.state=e.InsideTag,Ra=w.children,R=0,j=Ra.length;R<j;R++)O=Ra[R],Q+=this.writeChildNode(O,y,g+1);y.state=e.CloseTag,Q+=this.indent(w,y,g)+"</"+w.name+">",ye&&y.suppressPrettyCount--,Q+=this.endline(w,y,g),y.state=e.None}return this.closeNode(w,y,g),Q},I.prototype.writeChildNode=function(w,y,g){switch(w.type){case t.CData:return this.cdata(w,y,g);case t.Comment:return this.comment(w,y,g);case t.Element:return this.element(w,y,g);case t.Raw:return this.raw(w,y,g);case t.Text:return this.text(w,y,g);case t.ProcessingInstruction:return this.processingInstruction(w,y,g);case t.Dummy:return"";case t.Declaration:return this.declaration(w,y,g);case t.DocType:return this.docType(w,y,g);case t.AttributeDeclaration:return this.dtdAttList(w,y,g);case t.ElementDeclaration:return this.dtdElement(w,y,g);case t.EntityDeclaration:return this.dtdEntity(w,y,g);case t.NotationDeclaration:return this.dtdNotation(w,y,g);default:throw new Error("Unknown XML node type: "+w.constructor.name)}},I.prototype.processingInstruction=function(w,y,g){var _;return this.openNode(w,y,g),y.state=e.OpenTag,_=this.indent(w,y,g)+"<?",y.state=e.InsideTag,_+=w.target,w.value&&(_+=" "+w.value),y.state=e.CloseTag,_+=y.spaceBeforeSlash+"?>",_+=this.endline(w,y,g),y.state=e.None,this.closeNode(w,y,g),_},I.prototype.raw=function(w,y,g){var _;return this.openNode(w,y,g),y.state=e.OpenTag,_=this.indent(w,y,g),y.state=e.InsideTag,_+=w.value,y.state=e.CloseTag,_+=this.endline(w,y,g),y.state=e.None,this.closeNode(w,y,g),_},I.prototype.text=function(w,y,g){var _;return this.openNode(w,y,g),y.state=e.OpenTag,_=this.indent(w,y,g),y.state=e.InsideTag,_+=w.value,y.state=e.CloseTag,_+=this.endline(w,y,g),y.state=e.None,this.closeNode(w,y,g),_},I.prototype.dtdAttList=function(w,y,g){var _;return this.openNode(w,y,g),y.state=e.OpenTag,_=this.indent(w,y,g)+"<!ATTLIST",y.state=e.InsideTag,_+=" "+w.elementName+" "+w.attributeName+" "+w.attribut Line truncated
`).map(n=>n.trim());for(let n of r)!n||n.startsWith("#")||i.patterns.push(new b4.Pattern(n));return i.searchPaths.push(...Xp.getSearchPaths(i.patterns)),i})}static stat(e,a,i){return ou(this,void 0,void 0,function*(){let r;if(a.followSymbolicLinks)try{r=yield Gs.promises.stat(e.path)}catch(n){if(n.code==="ENOENT"){if(a.omitBrokenSymbolicLinks){pu.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 n}else r=yield Gs.promises.lstat(e.path);if(r.isDirectory()&&a.followSymbolicLinks){let n=yield Gs.promises.realpath(e.path);for(;i.length>=e.level;)i.pop();if(i.some(s=>s===n)){pu.debug(`Symlink cycle detected for path '${e.path}' and realpath '${n}'`);return}i.push(n)}return r})}};yt.DefaultGlobber=du});var N4=S(mn=>{"use strict";var qC=mn&&mn.__awaiter||function(t,e,a,i){function r(n){return n instanceof a?n:new a(function(s){s(n)})}return o(r,"adopt"),new(a||(a=Promise))(function(n,s){function p(c){try{l(i.next(c))}catch(m){s(m)}}o(p,"fulfilled");function d(c){try{l(i.throw(c))}catch(m){s(m)}}o(d,"rejected");function l(c){c.done?n(c.value):r(c.value).then(p,d)}o(l,"step"),l((i=i.apply(t,e||[])).next())})};Object.defineProperty(mn,"__esModule",{value:!0});mn.create=void 0;var MC=w4();function LC(t,e){return qC(this,void 0,void 0,function*(){return yield MC.DefaultGlobber.create(t,e)})}o(LC,"create");mn.create=LC});var O4=S((re,T4)=>{re=T4.exports=se;var _e;typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?_e=o(function(){var t=Array.prototype.slice.call(arguments,0);t.unshift("SEMVER"),console.log.apply(console,t)},"debug"):_e=o(function(){},"debug");re.SEMVER_SPEC_VERSION="2.0.0";var Ws=256,Wp=Number.MAX_SAFE_INTEGER||9007199254740991,lu=16,zC=Ws-6,un=re.re=[],Ne=re.safeRe=[],q=re.src=[],B=re.tokens={},E4=0;function pe(t){B[t]=E4++}o(pe,"tok");var mu="[a-zA-Z0-9-]",cu=[["\\s",1],["\\d",Ws],[mu,zC]];function Ys(t){for(var e=0;e<cu.length;e++){var a=cu[e][0],i=cu[e][1];t=t.split(a+"*").join(a+"{0,"+i+"}").split(a+"+").join(a+"{1,"+i+"}")}return t}o(Ys,"makeSafeRe");pe("NUMERICIDENTIFIER");q[B.NUMERICIDENTIFIER]="0|[1-9]\\d*";pe("NUMERICIDENTIFIERLOOSE");q[B.NUMERICIDENTIFIERLOOSE]="\\d+";pe("NONNUMERICIDENTIFIER");q[B.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-]"+mu+"*";pe("MAINVERSION");q[B.MAINVERSION]="("+q[B.NUMERICIDENTIFIER]+")\\.("+q[B.NUMERICIDENTIFIER]+")\\.("+q[B.NUMERICIDENTIFIER]+")";pe("MAINVERSIONLOOSE");q[B.MAINVERSIONLOOSE]="("+q[B.NUMERICIDENTIFIERLOOSE]+")\\.("+q[B.NUMERICIDENTIFIERLOOSE]+")\\.("+q[B.NUMERICIDENTIFIERLOOSE]+")";pe("PRERELEASEIDENTIFIER");q[B.PRERELEASEIDENTIFIER]="(?:"+q[B.NUMERICIDENTIFIER]+"|"+q[B.NONNUMERICIDENTIFIER]+")";pe("PRERELEASEIDENTIFIERLOOSE");q[B.PRERELEASEIDENTIFIERLOOSE]="(?:"+q[B.NUMERICIDENTIFIERLOOSE]+"|"+q[B.NONNUMERICIDENTIFIER]+")";pe("PRERELEASE");q[B.PRERELEASE]="(?:-("+q[B.PRERELEASEIDENTIFIER]+"(?:\\."+q[B.PRERELEASEIDENTIFIER]+")*))";pe("PRERELEASELOOSE");q[B.PRERELEASELOOSE]="(?:-?("+q[B.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+q[B.PRERELEASEIDENTIFIERLOOSE]+")*))";pe("BUILDIDENTIFIER");q[B.BUILDIDENTIFIER]=mu+"+";pe("BUILD");q[B.BUILD]="(?:\\+("+q[B.BUILDIDENTIFIER]+"(?:\\."+q[B.BUILDIDENTIFIER]+")*))";pe("FULL");pe("FULLPLAIN");q[B.FULLPLAIN]="v?"+q[B.MAINVERSION]+q[B.PRERELEASE]+"?"+q[B.BUILD]+"?";q[B.FULL]="^"+q[B.FULLPLAIN]+"$";pe("LOOSEPLAIN");q[B.LOOSEPLAIN]="[v=\\s]*"+q[B.MAINVERSIONLOOSE]+q[B.PRERELEASELOOSE]+"?"+q[B.BUILD]+"?";pe("LOOSE");q[B.LOOSE]="^"+q[B.LOOSEPLAIN]+"$";pe("GTLT");q[B.GTLT]="((?:<|>)?=?)";pe("XRANGEIDENTIFIERLOOSE");q[B.XRANGEIDENTIFIERLOOSE]=q[B.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*";pe("XRANGEIDENTIFIER");q[B.XRANGEIDENTIFIER]=q[B.NUMERICIDENTIFIER]+"|x|X|\\*";pe("XRANGEPLAIN");q[B.XRANGEPLAIN]="[v=\\s]*("+q[B.XRANGEIDENTIFIER]+")(?:\\.("+q[B.XRANGEIDENTIFIER]+")(?:\\.("+q[B.XRANGEIDENTIFIER]+")(?:"+q[B.PRERELEASE]+")?"+q[B.BUILD]+"?)?)?";pe("XRANGEPLAINLOOSE");q[B.XRANGEPLAINLOOSE]="[v=\\s]*("+q[B.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+q[B.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+q[B.XRANGEIDENTIFIERLOOSE]+")(?:"+q[B.PRERELEASELOOSE]+")?"+q[B.BUILD]+"?)?)?";pe("XRANGE");q[B.XRANGE]="^"+q[B.GTLT]+"\\s*"+q[B.XRANGEPLAIN]+"$";pe("XRANGELOOSE");q[B.XRANGELOOSE]="^"+q[B.GTLT]+"\\s*"+q[B.XRANGEPLAINLOOSE]+"$";pe("COERCE");q[B.COERCE]="(^|[^\\d])(\\d{1,"+lu+"})(?:\\.(\\d{1,"+lu+"}))?(?:\\.(\\d{1,"+lu+"}))?(?:$|[^\\d])";pe("COERCERTL");un[B.COERCERTL]=new RegExp(q[B.COERCE],"g");Ne[B.COERCERTL]=new RegExp(Ys(q[B.COERCE]),"g");pe("LONETILDE");q[B.LONETILDE]="(?:~>?)";pe("TILDETRIM");q[B.TILDETRIM]="(\\s*)"+q[B.LONETILDE]+"\\s+";un[B.TILDETRIM]=new RegExp(q[B.TILDETRIM],"g");Ne[B.TILDETRIM]=new RegExp(Ys(q[B.TILDETRIM]),"g");var kC="$1~";pe("TILDE");q[B.TILDE]="^"+q[B.LONETILDE]+q[B.XRANGEPLAIN]+"$";pe("TILDELOOSE");q[B.TILDELOOSE]="^"+q[B.LONETILDE]+q[B.XRANGEPLAINLOOSE]+"$";pe("LONECARET");q[B.LONECARET]="(?:\\^)";pe("CARETTRIM");q[B.CARETTRIM]="(\\s*)"+q[B.LONECARET]+"\\s+";un[B.CARETTRIM]=new Line truncated
`),{implicitDescendants:!1});try{for(var l=!0,c=_T(d.globGenerator()),m;m=yield c.next(),e=m.done,!e;l=!0){r=m.value,l=!1;let u=r,f=Jp.relative(p,u).replace(new RegExp(`\\${Jp.sep}`,"g"),"/");Js.debug(`Matched: ${f}`),f===""?s.push("."):s.push(`${f}`)}}catch(u){a={error:u}}finally{try{!l&&!e&&(i=c.return)&&(yield i.call(c))}finally{if(a)throw a.error}}return s})}o(IT,"resolvePaths");be.resolvePaths=IT;function DT(t){return hn(this,void 0,void 0,function*(){return TT.promisify(yu.unlink)(t)})}o(DT,"unlinkFile");be.unlinkFile=DT;function A4(t,e=[]){return hn(this,void 0,void 0,function*(){let a="";e.push("--version"),Js.debug(`Checking ${t} ${e.join(" ")}`);try{yield ST.exec(`${t}`,e,{ignoreReturnCode:!0,silent:!0,listeners:{stdout:i=>a+=i.toString(),stderr:i=>a+=i.toString()}})}catch(i){Js.debug(i.message)}return a=a.trim(),Js.debug(a),a})}o(A4,"getVersion");function BT(){return hn(this,void 0,void 0,function*(){let t=yield A4("zstd",["--quiet"]),e=CT.clean(t);return Js.debug(`zstd version: ${e}`),t===""?Er.CompressionMethod.Gzip:Er.CompressionMethod.ZstdWithoutLong})}o(BT,"getCompressionMethod");be.getCompressionMethod=BT;function AT(t){return t===Er.CompressionMethod.Gzip?Er.CacheFilename.Gzip:Er.CacheFilename.Zstd}o(AT,"getCacheFileName");be.getCacheFileName=AT;function qT(){return hn(this,void 0,void 0,function*(){return yu.existsSync(Er.GnuTarPathOnWindows)?Er.GnuTarPathOnWindows:(yield A4("tar")).toLowerCase().includes("gnu tar")?D4.which("tar"):""})}o(qT,"getGnuTarPathOnWindows");be.getGnuTarPathOnWindows=qT;function MT(t,e){if(e===void 0)throw Error(`Expected ${t} but value was undefiend`);return e}o(MT,"assertDefined");be.assertDefined=MT;function LT(t,e,a=!1){let i=t.slice();return e&&i.push(e),process.platform==="win32"&&!a&&i.push("windows-only"),i.push(OT),B4.createHash("sha256").update(i.join("|")).digest("hex")}o(LT,"getCacheVersion");be.getCacheVersion=LT;function zT(){let t=process.env.ACTIONS_RUNTIME_TOKEN;if(!t)throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable");return t}o(zT,"getRuntimeToken");be.getRuntimeToken=zT});function Zs(){return Zp>ed.length-16&&(q4.default.randomFillSync(ed),Zp=0),ed.slice(Zp,Zp+=16)}var q4,ed,Zp,vu=qt(()=>{q4=rn(require("crypto")),ed=new Uint8Array(256),Zp=ed.length;o(Zs,"rng")});var M4,L4=qt(()=>{M4=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i});function kT(t){return typeof t=="string"&&M4.test(t)}var Fi,eo=qt(()=>{L4();o(kT,"validate");Fi=kT});function jT(t,e=0){let a=(It[t[e+0]]+It[t[e+1]]+It[t[e+2]]+It[t[e+3]]+"-"+It[t[e+4]]+It[t[e+5]]+"-"+It[t[e+6]]+It[t[e+7]]+"-"+It[t[e+8]]+It[t[e+9]]+"-"+It[t[e+10]]+It[t[e+11]]+It[t[e+12]]+It[t[e+13]]+It[t[e+14]]+It[t[e+15]]).toLowerCase();if(!Fi(a))throw TypeError("Stringified UUID is invalid");return a}var It,Hi,to=qt(()=>{eo();It=[];for(let t=0;t<256;++t)It.push((t+256).toString(16).substr(1));o(jT,"stringify");Hi=jT});function UT(t,e,a){let i=e&&a||0,r=e||new Array(16);t=t||{};let n=t.node||z4,s=t.clockseq!==void 0?t.clockseq:bu;if(n==null||s==null){let u=t.random||(t.rng||Zs)();n==null&&(n=z4=[u[0]|1,u[1],u[2],u[3],u[4],u[5]]),s==null&&(s=bu=(u[6]<<8|u[7])&16383)}let p=t.msecs!==void 0?t.msecs:Date.now(),d=t.nsecs!==void 0?t.nsecs:wu+1,l=p-xu+(d-wu)/1e4;if(l<0&&t.clockseq===void 0&&(s=s+1&16383),(l<0||p>xu)&&t.nsecs===void 0&&(d=0),d>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");xu=p,wu=d,bu=s,p+=122192928e5;let c=((p&268435455)*1e4+d)%4294967296;r[i++]=c>>>24&255,r[i++]=c>>>16&255,r[i++]=c>>>8&255,r[i++]=c&255;let m=p/4294967296*1e4&268435455;r[i++]=m>>>8&255,r[i++]=m&255,r[i++]=m>>>24&15|16,r[i++]=m>>>16&255,r[i++]=s>>>8|128,r[i++]=s&255;for(let u=0;u<6;++u)r[i+u]=n[u];return e||Hi(r)}var z4,bu,xu,wu,k4,j4=qt(()=>{vu();to();xu=0,wu=0;o(UT,"v1");k4=UT});function FT(t){if(!Fi(t))throw TypeError("Invalid UUID");let e,a=new Uint8Array(16);return a[0]=(e=parseInt(t.slice(0,8),16))>>>24,a[1]=e>>>16&255,a[2]=e>>>8&255,a[3]=e&255,a[4]=(e=parseInt(t.slice(9,13),16))>>>8,a[5]=e&255,a[6]=(e=parseInt(t.slice(14,18),16))>>>8,a[7]=e&255,a[8]=(e=parseInt(t.slice(19,23),16))>>>8,a[9]=e&255,a[10]=(e=parseInt(t.slice(24,36),16))/1099511627776&255,a[11]=e/4294967296&255,a[12]=e>>>24&255,a[13]=e>>>16&255,a[14]=e>>>8&255,a[15]=e&255,a}var td,Nu=qt(()=>{eo();o(FT,"parse");td=FT});function HT(t){t=unescape(encodeURIComponent(t));let e=[];for(let a=0;a<t.length;++a)e.push(t.charCodeAt(a));return e}function ao(t,e,a){function i(r,n,s,p){if(typeof r=="string"&&(r=HT(r)),typeof n=="string"&&(n=td(n)),n.length!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let d=new Uint8Array(16+r.length);if(d.set(n),d.set(r,n.length),d=a(d),d[6]=d[6]&15|e,d[8]=d[8]&63|128,s){p=p||0;for(let l=0;l<16;++l)s[p+l]=d[l];return s}return Hi(d)}o(i,"generateUUID");try{i.name=t}catch{}return i.DNS=VT,i.URL=$T,i}var VT,$T,_u=qt(()=>{to();Nu();o(HT,"stringToBytes");VT="6ba7b810-9dad-11d1-80b4-00c04fd430c8",$T Line truncated
`},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(Cu)});var Ka=S((T3,Vi)=>{(function(){var t,e,a,i,r,n,s,p=[].slice,d={}.hasOwnProperty;t=o(function(){var l,c,m,u,f,h;if(h=arguments[0],f=2<=arguments.length?p.call(arguments,1):[],r(Object.assign))Object.assign.apply(null,arguments);else for(l=0,m=f.length;l<m;l++)if(u=f[l],u!=null)for(c in u)d.call(u,c)&&(h[c]=u[c]);return h},"assign"),r=o(function(l){return!!l&&Object.prototype.toString.call(l)==="[object Function]"},"isFunction"),n=o(function(l){var c;return!!l&&((c=typeof l)=="function"||c==="object")},"isObject"),a=o(function(l){return r(Array.isArray)?Array.isArray(l):Object.prototype.toString.call(l)==="[object Array]"},"isArray"),i=o(function(l){var c;if(a(l))return!l.length;for(c in l)if(d.call(l,c))return!1;return!0},"isEmpty"),s=o(function(l){var c,m;return n(l)&&(m=Object.getPrototypeOf(l))&&(c=m.constructor)&&typeof c=="function"&&c instanceof c&&Function.prototype.toString.call(c)===Function.prototype.toString.call(Object)},"isPlainObject"),e=o(function(l){return r(l.valueOf)?l.valueOf():l},"getValue"),Vi.exports.assign=t,Vi.exports.isFunction=r,Vi.exports.isObject=n,Vi.exports.isArray=a,Vi.exports.isEmpty=i,Vi.exports.isPlainObject=s,Vi.exports.getValue=e}).call(T3)});var Tu=S((O3,P3)=>{(function(){var t;P3.exports=t=function(){function e(){}return o(e,"XMLDOMImplementation"),e.prototype.hasFeature=function(a,i){return!0},e.prototype.createDocumentType=function(a,i,r){throw new Error("This DOM method is not implemented.")},e.prototype.createDocument=function(a,i,r){throw new Error("This DOM method is not implemented.")},e.prototype.createHTMLDocument=function(a){throw new Error("This DOM method is not implemented.")},e.prototype.getFeature=function(a,i){throw new Error("This DOM method is not implemented.")},e}()}).call(O3)});var D3=S((R3,I3)=>{(function(){var t;I3.exports=t=function(){function e(){}return o(e,"XMLDOMErrorHandler"),e.prototype.handleError=function(a){throw new Error(a)},e}()}).call(R3)});var q3=S((B3,A3)=>{(function(){var t;A3.exports=t=function(){function e(a){this.arr=a||[]}return o(e,"XMLDOMStringList"),Object.defineProperty(e.prototype,"length",{get:function(){return this.arr.length}}),e.prototype.item=function(a){return this.arr[a]||null},e.prototype.contains=function(a){return this.arr.indexOf(a)!==-1},e}()}).call(B3)});var z3=S((M3,L3)=>{(function(){var t,e,a;e=D3(),a=q3(),L3.exports=t=function(){function i(){var r;this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new e,infoset:!0,"validate-if-schema":!1,namespaces:!0,"namespace-declarations":!0,"normalize-characters":!1,"schema-location":"","schema-type":"","split-cdata-sections":!0,validate:!1,"well-formed":!0},this.params=r=Object.create(this.defaultParams)}return o(i,"XMLDOMConfiguration"),Object.defineProperty(i.prototype,"parameterNames",{get:function(){return new a(Object.keys(this.defaultParams))}}),i.prototype.getParameter=function(r){return this.params.hasOwnProperty(r)?this.params[r]:null},i.prototype.canSetParameter=function(r,n){return!0},i.prototype.setParameter=function(r,n){return n!=null?this.params[r]=n:delete this.params[r]},i}()}).call(M3)});var rt=S((k3,j3)=>{(function(){j3.exports={Element:1,Attribute:2,Text:3,CData:4,EntityReference:5,EntityDeclaration:6,ProcessingInstruction:7,Comment:8,Document:9,DocType:10,DocumentFragment:11,NotationDeclaration:12,Declaration:201,Raw:202,AttributeDeclaration:203,ElementDeclaration:204,Dummy:205}}).call(k3)});var Ou=S((U3,F3)=>{(function(){var t,e,a;t=rt(),a=na(),F3.exports=e=function(){function i(r,n,s){if(this.parent=r,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),n==null)throw new Error("Missing attribute name. "+this.debugInfo(n));this.name=this.stringify.name(n),this.value=this.stringify.attValue(s),this.type=t.Attribute,this.isId=!1,this.schemaTypeInfo=null}return o(i,"XMLAttribute"),Object.defineProperty(i.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(i.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(i.prototype,"textContent",{get:function(){return this.value},set:function(r){return this.value=r||""}}),Object.defineProperty(i.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(i.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(i.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(i.prototype,"specified",{get:function(){return!0}}),i.prototype.clone=function(){return Object.create(this)},i.prototype.toString=function(r){return this.options.writer.attribute(this,this.options.writer.filterOptions(r))},i.prototype.debugInfo=function(r){return r=r||this.name,r==null?"parent: <"+this.parent.name+">":"attribute: {"+r+"}, parent: <"+this.parent.name+">"},i.prototype.isEqualNode=function(r){return!(r.namespaceURI!==thi Line truncated
`,y.offset=(O=w.offset)!=null?O:0,y.dontPrettyTextNodes=(N=(D=w.dontPrettyTextNodes)!=null?D:w.dontprettytextnodes)!=null?N:0,y.spaceBeforeSlash=(C=(R=w.spaceBeforeSlash)!=null?R:w.spacebeforeslash)!=null?C:"",y.spaceBeforeSlash===!0&&(y.spaceBeforeSlash=" "),y.suppressPrettyCount=0,y.user={},y.state=e.None,y},I.prototype.indent=function(w,y,g){var _;return!y.pretty||y.suppressPrettyCount?"":y.pretty&&(_=(g||0)+y.offset+1,_>0)?new Array(_).join(y.indent):""},I.prototype.endline=function(w,y,g){return!y.pretty||y.suppressPrettyCount?"":y.newline},I.prototype.attribute=function(w,y,g){var _;return this.openAttribute(w,y,g),_=" "+w.name+'="'+w.value+'"',this.closeAttribute(w,y,g),_},I.prototype.cdata=function(w,y,g){var _;return this.openNode(w,y,g),y.state=e.OpenTag,_=this.indent(w,y,g)+"<![CDATA[",y.state=e.InsideTag,_+=w.value,y.state=e.CloseTag,_+="]]>"+this.endline(w,y,g),y.state=e.None,this.closeNode(w,y,g),_},I.prototype.comment=function(w,y,g){var _;return this.openNode(w,y,g),y.state=e.OpenTag,_=this.indent(w,y,g)+"<!-- ",y.state=e.InsideTag,_+=w.value,y.state=e.CloseTag,_+=" -->"+this.endline(w,y,g),y.state=e.None,this.closeNode(w,y,g),_},I.prototype.declaration=function(w,y,g){var _;return this.openNode(w,y,g),y.state=e.OpenTag,_=this.indent(w,y,g)+"<?xml",y.state=e.InsideTag,_+=' version="'+w.version+'"',w.encoding!=null&&(_+=' encoding="'+w.encoding+'"'),w.standalone!=null&&(_+=' standalone="'+w.standalone+'"'),y.state=e.CloseTag,_+=y.spaceBeforeSlash+"?>",_+=this.endline(w,y,g),y.state=e.None,this.closeNode(w,y,g),_},I.prototype.docType=function(w,y,g){var _,O,N,D,C;if(g||(g=0),this.openNode(w,y,g),y.state=e.OpenTag,D=this.indent(w,y,g),D+="<!DOCTYPE "+w.root().name,w.pubID&&w.sysID?D+=' PUBLIC "'+w.pubID+'" "'+w.sysID+'"':w.sysID&&(D+=' SYSTEM "'+w.sysID+'"'),w.children.length>0){for(D+=" [",D+=this.endline(w,y,g),y.state=e.InsideTag,C=w.children,O=0,N=C.length;O<N;O++)_=C[O],D+=this.writeChildNode(_,y,g+1);y.state=e.CloseTag,D+="]"}return y.state=e.CloseTag,D+=y.spaceBeforeSlash+">",D+=this.endline(w,y,g),y.state=e.None,this.closeNode(w,y,g),D},I.prototype.element=function(w,y,g){var _,O,N,D,C,R,A,j,oe,ye,Q,at,fe,Ra;g||(g=0),ye=!1,Q="",this.openNode(w,y,g),y.state=e.OpenTag,Q+=this.indent(w,y,g)+"<"+w.name,at=w.attribs;for(oe in at)E.call(at,oe)&&(_=at[oe],Q+=this.attribute(_,y,g));if(N=w.children.length,D=N===0?null:w.children[0],N===0||w.children.every(function(Ft){return(Ft.type===t.Text||Ft.type===t.Raw)&&Ft.value===""}))y.allowEmpty?(Q+=">",y.state=e.CloseTag,Q+="</"+w.name+">"+this.endline(w,y,g)):(y.state=e.CloseTag,Q+=y.spaceBeforeSlash+"/>"+this.endline(w,y,g));else if(y.pretty&&N===1&&(D.type===t.Text||D.type===t.Raw)&&D.value!=null)Q+=">",y.state=e.InsideTag,y.suppressPrettyCount++,ye=!0,Q+=this.writeChildNode(D,y,g+1),y.suppressPrettyCount--,ye=!1,y.state=e.CloseTag,Q+="</"+w.name+">"+this.endline(w,y,g);else{if(y.dontPrettyTextNodes){for(fe=w.children,C=0,A=fe.length;C<A;C++)if(O=fe[C],(O.type===t.Text||O.type===t.Raw)&&O.value!=null){y.suppressPrettyCount++,ye=!0;break}}for(Q+=">"+this.endline(w,y,g),y.state=e.InsideTag,Ra=w.children,R=0,j=Ra.length;R<j;R++)O=Ra[R],Q+=this.writeChildNode(O,y,g+1);y.state=e.CloseTag,Q+=this.indent(w,y,g)+"</"+w.name+">",ye&&y.suppressPrettyCount--,Q+=this.endline(w,y,g),y.state=e.None}return this.closeNode(w,y,g),Q},I.prototype.writeChildNode=function(w,y,g){switch(w.type){case t.CData:return this.cdata(w,y,g);case t.Comment:return this.comment(w,y,g);case t.Element:return this.element(w,y,g);case t.Raw:return this.raw(w,y,g);case t.Text:return this.text(w,y,g);case t.ProcessingInstruction:return this.processingInstruction(w,y,g);case t.Dummy:return"";case t.Declaration:return this.declaration(w,y,g);case t.DocType:return this.docType(w,y,g);case t.AttributeDeclaration:return this.dtdAttList(w,y,g);case t.ElementDeclaration:return this.dtdElement(w,y,g);case t.EntityDeclaration:return this.dtdEntity(w,y,g);case t.NotationDeclaration:return this.dtdNotation(w,y,g);default:throw new Error("Unknown XML node type: "+w.constructor.name)}},I.prototype.processingInstruction=function(w,y,g){var _;return this.openNode(w,y,g),y.state=e.OpenTag,_=this.indent(w,y,g)+"<?",y.state=e.InsideTag,_+=w.target,w.value&&(_+=" "+w.value),y.state=e.CloseTag,_+=y.spaceBeforeSlash+"?>",_+=this.endline(w,y,g),y.state=e.None,this.closeNode(w,y,g),_},I.prototype.raw=function(w,y,g){var _;return this.openNode(w,y,g),y.state=e.OpenTag,_=this.indent(w,y,g),y.state=e.InsideTag,_+=w.value,y.state=e.CloseTag,_+=this.endline(w,y,g),y.state=e.None,this.closeNode(w,y,g),_},I.prototype.text=function(w,y,g){var _;return this.openNode(w,y,g),y.state=e.OpenTag,_=this.indent(w,y,g),y.state=e.InsideTag,_+=w.value,y.state=e.CloseTag,_+=this.endline(w,y,g),y.state=e.None,this.closeNode(w,y,g),_},I.prototype.dtdAttList=function(w,y,g){var _;return this.openNode(w,y,g),y.state=e.OpenTag,_=this.indent(w,y,g)+"<!ATTLIST",y.state=e.InsideTag,_+=" "+w.elementName+" "+w.attributeName+" "+w.attribut Line truncated
`||x==="\r"||x===" "}o(w,"isWhitespace");function y(x){return x==='"'||x==="'"}o(y,"isQuote");function g(x){return x===">"||w(x)}o(g,"isAttribEnd");function _(x,v){return x.test(v)}o(_,"isMatch");function O(x,v){return!_(x,v)}o(O,"notMatch");var N=0;t.STATE={BEGIN:N++,BEGIN_WHITESPACE:N++,TEXT:N++,TEXT_ENTITY:N++,OPEN_WAKA:N++,SGML_DECL:N++,SGML_DECL_QUOTED:N++,DOCTYPE:N++,DOCTYPE_QUOTED:N++,DOCTYPE_DTD:N++,DOCTYPE_DTD_QUOTED:N++,COMMENT_STARTING:N++,COMMENT:N++,COMMENT_ENDING:N++,COMMENT_ENDED:N++,CDATA:N++,CDATA_ENDING:N++,CDATA_ENDING_2:N++,PROC_INST:N++,PROC_INST_BODY:N++,PROC_INST_ENDING:N++,OPEN_TAG:N++,OPEN_TAG_SLASH:N++,ATTRIB:N++,ATTRIB_NAME:N++,ATTRIB_NAME_SAW_WHITE:N++,ATTRIB_VALUE:N++,ATTRIB_VALUE_QUOTED:N++,ATTRIB_VALUE_CLOSED:N++,ATTRIB_VALUE_UNQUOTED:N++,ATTRIB_VALUE_ENTITY_Q:N++,ATTRIB_VALUE_ENTITY_U:N++,CLOSE_TAG:N++,CLOSE_TAG_SAW_WHITE:N++,SCRIPT:N++,SCRIPT_ENDING:N++},t.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},t.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(t.ENTITIES).forEach(function(x){var v=t.ENTITIES[x],M=typeof v=="number"?String.fromCharCode(v):v;t.ENTITIES[x]=M});for(var D in t.STATE)t.STATE[t.STATE[D]]=D;N=t.STATE;function C(x,v,M){x[v]&&x[v](M)}o(C,"emit");function R(x,v,M){x.textNode&&A(x),C(x,v,M)}o(R,"emitNode");function A(x){x.textNode=j(x.opt,x.textNode),x.textNode&&C(x,"ontext",x.textNode),x.textNode=""}o(A,"closeText");function j(x,v){return x.trim&&(v=v.trim()),x.normalize&&(v=v.replace(/\s+/g," ")),v}o(j,"textopts");function oe(x,v){return A(x),x.trackPosition&&(v+=`
Line: `+x.line+`
Column: `+x.column+`
Char: `+x.c),v=new Error(v),x.error=v,C(x,"onerror",v),x}o(oe,"error");function ye(x){return x.sawRoot&&!x.closedRoot&&Q(x,"Unclosed root tag"),x.state!==N.BEGIN&&x.state!==N.BEGIN_WHITESPACE&&x.state!==N.TEXT&&oe(x,"Unexpected end"),A(x),x.c="",x.closed=!0,C(x,"onend"),a.call(x,x.strict,x.opt),x}o(ye,"end");function Q(x,v){if(typeof x!="object"||!(x instanceof a))throw new Error("bad call to strictFail");x.strict&&oe(x,v)}o(Q,"strictFail");function tt(x){x.strict||(x.tagName=x.tagName[x.looseCase]());var v=x.tags[x.tags.length-1]||x,M=x.tag={name:x.tagName,attributes:{}};x.opt.xmlns&&(M.ns=v.ns),x.attribList.length=0,R(x,"onopentagstart",M)}o(tt,"newTag");function fe(x,v){var M=x.indexOf(":"),P=M<0?["",x]:x.split(":"),Te=P[0],pt=P[1];return v&&x==="xmlns"&&(Te="xmlns",pt=""),{prefix:Te,local:pt}}o(fe,"qname");function Ra(x){if(x.strict||(x.attribName=x.attribName[x.looseCase]()),x.attribList.indexOf(x.attribName)!==-1||x.tag.attributes.hasOwnProperty(x.attribName)){x.attribName=x.attribValue="";return}if(x.opt.xmlns){var v=fe(x.attribName,!0),M=v.prefix,P=v.local;if(M==="xmlns")if(P==="xml"&&x.attribValue!==u)Q(x,"xml: prefix must be bound to "+u+`
Char: `+x.c),v=new Error(v),x.error=v,C(x,"onerror",v),x}o(oe,"error");function ye(x){return x.sawRoot&&!x.closedRoot&&Q(x,"Unclosed root tag"),x.state!==N.BEGIN&&x.state!==N.BEGIN_WHITESPACE&&x.state!==N.TEXT&&oe(x,"Unexpected end"),A(x),x.c="",x.closed=!0,C(x,"onend"),a.call(x,x.strict,x.opt),x}o(ye,"end");function Q(x,v){if(typeof x!="object"||!(x instanceof a))throw new Error("bad call to strictFail");x.strict&&oe(x,v)}o(Q,"strictFail");function at(x){x.strict||(x.tagName=x.tagName[x.looseCase]());var v=x.tags[x.tags.length-1]||x,M=x.tag={name:x.tagName,attributes:{}};x.opt.xmlns&&(M.ns=v.ns),x.attribList.length=0,R(x,"onopentagstart",M)}o(at,"newTag");function fe(x,v){var M=x.indexOf(":"),P=M<0?["",x]:x.split(":"),Te=P[0],dt=P[1];return v&&x==="xmlns"&&(Te="xmlns",dt=""),{prefix:Te,local:dt}}o(fe,"qname");function Ra(x){if(x.strict||(x.attribName=x.attribName[x.looseCase]()),x.attribList.indexOf(x.attribName)!==-1||x.tag.attributes.hasOwnProperty(x.attribName)){x.attribName=x.attribValue="";return}if(x.opt.xmlns){var v=fe(x.attribName,!0),M=v.prefix,P=v.local;if(M==="xmlns")if(P==="xml"&&x.attribValue!==u)Q(x,"xml: prefix must be bound to "+u+`
Actual: `+x.attribValue);else if(P==="xmlns"&&x.attribValue!==f)Q(x,"xmlns: prefix must be bound to "+f+`
Actual: `+x.attribValue);else{var Te=x.tag,pt=x.tags[x.tags.length-1]||x;Te.ns===pt.ns&&(Te.ns=Object.create(pt.ns)),Te.ns[P]=x.attribValue}x.attribList.push([x.attribName,x.attribValue])}else x.tag.attributes[x.attribName]=x.attribValue,R(x,"onattribute",{name:x.attribName,value:x.attribValue});x.attribName=x.attribValue=""}o(Ra,"attrib");function Ft(x,v){if(x.opt.xmlns){var M=x.tag,P=fe(x.tagName);M.prefix=P.prefix,M.local=P.local,M.uri=M.ns[P.prefix]||"",M.prefix&&!M.uri&&(Q(x,"Unbound namespace prefix: "+JSON.stringify(x.tagName)),M.uri=P.prefix);var Te=x.tags[x.tags.length-1]||x;M.ns&&Te.ns!==M.ns&&Object.keys(M.ns).forEach(function(Xh){R(x,"onopennamespace",{prefix:Xh,uri:M.ns[Xh]})});for(var pt=0,ht=x.attribList.length;pt<ht;pt++){var Ht=x.attribList[pt],Va=Ht[0],tn=Ht[1],Pt=fe(Va,!0),li=Pt.prefix,D_=Pt.local,Gh=li===""?"":M.ns[li]||"",bm={name:Va,value:tn,prefix:li,local:D_,uri:Gh};li&&li!=="xmlns"&&!Gh&&(Q(x,"Unbound namespace prefix: "+JSON.stringify(li)),bm.uri=li),x.tag.attributes[Va]=bm,R(x,"onattribute",bm)}x.attribList.length=0}x.tag.isSelfClosing=!!v,x.sawRoot=!0,x.tags.push(x.tag),R(x,"onopentag",x.tag),v||(!x.noscript&&x.tagName.toLowerCase()==="script"?x.state=N.SCRIPT:x.state=N.TEXT,x.tag=null,x.tagName=""),x.attribName=x.attribValue="",x.attribList.length=0}o(Ft,"openTag");function en(x){if(!x.tagName){Q(x,"Weird empty close tag."),x.textNode+="</>",x.state=N.TEXT;return}if(x.script){if(x.tagName!=="script"){x.script+="</"+x.tagName+">",x.tagName="",x.state=N.SCRIPT;return}R(x,"onscript",x.script),x.script=""}var v=x.tags.length,M=x.tagName;x.strict||(M=M[x.looseCase]());for(var P=M;v--;){var Te=x.tags[v];if(Te.name!==P)Q(x,"Unexpected close tag");else break}if(v<0){Q(x,"Unmatched closing tag: "+x.tagName),x.textNode+="</"+x.tagName+">",x.state=N.TEXT;return}x.tagName=M;for(var pt=x.tags.length;pt-- >v;){var ht=x.tag=x.tags.pop();x.tagName=x.tag.name,R(x,"onclosetag",x.tagName);var Ht={};for(var Va in ht.ns)Ht[Va]=ht.ns[Va];var tn=x.tags[x.tags.length-1]||x;x.opt.xmlns&&ht.ns!==tn.ns&&Object.keys(ht.ns).forEach(function(Pt){var li=ht.ns[Pt];R(x,"onclosenamespace",{prefix:Pt,uri:li})})}v===0&&(x.closedRoot=!0),x.tagName=x.attribValue=x.attribName="",x.attribList.length=0,x.state=N.TEXT}o(en,"closeTag");function ks(x){var v=x.entity,M=v.toLowerCase(),P,Te="";return x.ENTITIES[v]?x.ENTITIES[v]:x.ENTITIES[M]?x.ENTITIES[M]:(v=M,v.charAt(0)==="#"&&(v.charAt(1)==="x"?(v=v.slice(2),P=parseInt(v,16),Te=P.toString(16)):(v=v.slice(1),P=parseInt(v,10),Te=P.toString(10))),v=v.replace(/^0+/,""),isNaN(P)||Te.toLowerCase()!==v?(Q(x,"Invalid character entity"),"&"+x.entity+";"):String.fromCodePoint(P))}o(ks,"parseEntity");function Vh(x,v){v==="<"?(x.state=N.OPEN_WAKA,x.startTagPosition=x.position):w(v)||(Q(x,"Non-whitespace before first tag."),x.textNode=v,x.state=N.TEXT)}o(Vh,"beginWhiteSpace");function $h(x,v){var M="";return v<x.length&&(M=x.charAt(v)),M}o($h,"charAt");function I_(x){var v=this;if(this.error)throw this.error;if(v.closed)return oe(v,"Cannot write after close. Assign an onready handler.");if(x===null)return ye(v);typeof x=="object"&&(x=x.toString());for(var M=0,P="";P=$h(x,M++),v.c=P,!!P;)switch(v.trackPosition&&(v.position++,P===`
`?(v.line++,v.column=0):v.column++),v.state){case N.BEGIN:if(v.state=N.BEGIN_WHITESPACE,P==="\uFEFF")continue;Vh(v,P);continue;case N.BEGIN_WHITESPACE:Vh(v,P);continue;case N.TEXT:if(v.sawRoot&&!v.closedRoot){for(var Te=M-1;P&&P!=="<"&&P!=="&";)P=$h(x,M++),P&&v.trackPosition&&(v.position++,P===`
`?(v.line++,v.column=0):v.column++);v.textNode+=x.substring(Te,M-1)}P==="<"&&!(v.sawRoot&&v.closedRoot&&!v.strict)?(v.state=N.OPEN_WAKA,v.startTagPosition=v.position):(!w(P)&&(!v.sawRoot||v.closedRoot)&&Q(v,"Text data outside of root node."),P==="&"?v.state=N.TEXT_ENTITY:v.textNode+=P);continue;case N.SCRIPT:P==="<"?v.state=N.SCRIPT_ENDING:v.script+=P;continue;case N.SCRIPT_ENDING:P==="/"?v.state=N.CLOSE_TAG:(v.script+="<"+P,v.state=N.SCRIPT);continue;case N.OPEN_WAKA:if(P==="!")v.state=N.SGML_DECL,v.sgmlDecl="";else if(!w(P))if(_(b,P))v.state=N.OPEN_TAG,v.tagName=P;else if(P==="/")v.state=N.CLOSE_TAG,v.tagName="";else if(P==="?")v.state=N.PROC_INST,v.procInstName=v.procInstBody="";else{if(Q(v,"Unencoded <"),v.startTagPosition+1<v.position){var pt=v.position-v.startTagPosition;P=new Array(pt).join(" ")+P}v.textNode+="<"+P,v.state=N.TEXT}continue;case N.SGML_DECL:(v.sgmlDecl+P).toUpperCase()===c?(R(v,"onopencdata"),v.state=N.CDATA,v.sgmlDecl="",v.cdata=""):v.sgmlDecl+P==="--"?(v.state=N.COMMENT,v.comment="",v.sgmlDecl=""):(v.sgmlDecl+P).toUpperCase()===m?(v.state=N.DOCTYPE,(v.doctype||v.sawRoot)&&Q(v,"Inappropriately located doctype declaration"),v.doctype="",v.sgmlDecl=""):P===">"?(R(v,"onsgmldeclaration",v.sgmlDecl),v.sgmlDecl="",v.state=N.TEXT):(y(P)&&(v.state=N.SGML_DECL_QUOTED),v.sgmlDecl+=P);continue;case N.SGML_DECL_QUOTED:P===v.q&&(v.state=N.SGML_DECL,v.q=""),v.sgmlDecl+=P;continue;case N.DOCTYPE:P===">"?(v.state=N.TEXT,R(v,"ondoctype",v.doctype),v.doctype=!0):(v.doctype+=P,P==="["?v.state=N.DOCTYPE_DTD:y(P)&&(v.state=N.DOCTYPE_QUOTED,v.q=P));continue;case N.DOCTYPE_QUOTED:v.doctype+=P,P===v.q&&(v.q="",v.state=N.DOCTYPE);continue;case N.DOCTYPE_DTD:v.doctype+=P,P==="]"?v.state=N.DOCTYPE:y(P)&&(v.state=N.DOCTYPE_DTD_QUOTED,v.q=P);continue;case N.DOCTYPE_DTD_QUOTED:v.doctype+=P,P===v.q&&(v.state=N.DOCTYPE_DTD,v.q="");continue;case N.COMMENT:P==="-"?v.state=N.COMMENT_ENDING:v.comment+=P;continue;case N.COMMENT_ENDING:P==="-"?(v.state=N.COMMENT_ENDED,v.comment=j(v.opt,v.comment),v.comment&&R(v,"oncomment",v.comment),v.comment=""):(v.comment+="-"+P,v.state=N.COMMENT);continue;case N.COMMENT_ENDED:P!==">"?(Q(v,"Malformed comment"),v.comment+="--"+P,v.state=N.COMMENT):v.state=N.TEXT;continue;case N.CDATA:P==="]"?v.state=N.CDATA_ENDING:v.cdata+=P;continue;case N.CDATA_ENDING:P==="]"?v.state=N.CDATA_ENDING_2:(v.cdata+="]"+P,v.state=N.CDATA);continue;case N.CDATA_ENDING_2:P===">"?(v.cdata&&R(v,"oncdata",v.cdata),R(v,"onclosecdata"),v.cdata="",v.state=N.TEXT):P==="]"?v.cdata+="]":(v.cdata+="]]"+P,v.state=N.CDATA);continue;case N.PROC_INST:P==="?"?v.state=N.PROC_INST_ENDING:w(P)?v.state=N.PROC_INST_BODY:v.procInstName+=P;continue;case N.PROC_INST_BODY:if(!v.procInstBody&&w(P))continue;P==="?"?v.state=N.PROC_INST_ENDING:v.procInstBody+=P;continue;case N.PROC_INST_ENDING:P===">"?(R(v,"onprocessinginstruction",{name:v.procInstName,body:v.procInstBody}),v.procInstName=v.procInstBody="",v.state=N.TEXT):(v.procInstBody+="?"+P,v.state=N.PROC_INST_BODY);continue;case N.OPEN_TAG:_(T,P)?v.tagName+=P:(tt(v),P===">"?Ft(v):P==="/"?v.state=N.OPEN_TAG_SLASH:(w(P)||Q(v,"Invalid character in tag name"),v.state=N.ATTRIB));continue;case N.OPEN_TAG_SLASH:P===">"?(Ft(v,!0),en(v)):(Q(v,"Forward-slash in opening tag not followed by >"),v.state=N.ATTRIB);continue;case N.ATTRIB:if(w(P))continue;P===">"?Ft(v):P==="/"?v.state=N.OPEN_TAG_SLASH:_(b,P)?(v.attribName=P,v.attribValue="",v.state=N.ATTRIB_NAME):Q(v,"Invalid attribute name");continue;case N.ATTRIB_NAME:P==="="?v.state=N.ATTRIB_VALUE:P===">"?(Q(v,"Attribute without value"),v.attribValue=v.attribName,Ra(v),Ft(v)):w(P)?v.state=N.ATTRIB_NAME_SAW_WHITE:_(T,P)?v.attribName+=P:Q(v,"Invalid attribute name");continue;case N.ATTRIB_NAME_SAW_WHITE:if(P==="=")v.state=N.ATTRIB_VALUE;else{if(w(P))continue;Q(v,"Attribute without value"),v.tag.attributes[v.attribName]="",v.attribValue="",R(v,"onattribute",{name:v.attribName,value:""}),v.attribName="",P===">"?Ft(v):_(b,P)?(v.attribName=P,v.state=N.ATTRIB_NAME):(Q(v,"Invalid attribute name"),v.state=N.ATTRIB)}continue;case N.ATTRIB_VALUE:if(w(P))continue;y(P)?(v.q=P,v.state=N.ATTRIB_VALUE_QUOTED):(Q(v,"Unquoted attribute value"),v.state=N.ATTRIB_VALUE_UNQUOTED,v.attribValue=P);continue;case N.ATTRIB_VALUE_QUOTED:if(P!==v.q){P==="&"?v.state=N.ATTRIB_VALUE_ENTITY_Q:v.attribValue+=P;continue}Ra(v),v.q="",v.state=N.ATTRIB_VALUE_CLOSED;continue;case N.ATTRIB_VALUE_CLOSED:w(P)?v.state=N.ATTRIB:P===">"?Ft(v):P==="/"?v.state=N.OPEN_TAG_SLASH:_(b,P)?(Q(v,"No whitespace between attributes"),v.attribName=P,v.attribValue="",v.state=N.ATTRIB_NAME):Q(v,"Invalid attribute name");continue;case N.ATTRIB_VALUE_UNQUOTED:if(!g(P)){P==="&"?v.state=N.ATTRIB_VALUE_ENTITY_U:v.attribValue+=P;continue}Ra(v),P===">"?Ft(v):v.state=N.ATTRIB;continue;case N.CLOSE_TAG:if(v.tagName)P===">"?en(v):_(T,P)?v.tagName+=P:v.script?(v.script+="</"+v.tagName,v.tagName="",v.state=N.SCRIPT):(w(P)||Q(v,"Invalid tagname in closing tag"),v.state=N.CLOSE_TAG_SAW_WHITE);else{if(w(P))continue;O Line truncated
`;ge.DEFAULT_CONTENT_TYPE="application/octet-stream";ge.prototype.append=function(t,e,a){a=a||{},typeof a=="string"&&(a={filename:a});var i=g1.prototype.append.bind(this);if((typeof e=="number"||e==null)&&(e=String(e)),Array.isArray(e)){this._error(new Error("Arrays are not supported."));return}var r=this._multiPartHeader(t,e,a),n=this._multiPartFooter();i(r),i(e),i(n),this._trackLength(r,e,a)};ge.prototype._trackLength=function(t,e,a){var i=0;a.knownLength!=null?i+=Number(a.knownLength):Buffer.isBuffer(e)?i=e.length:typeof e=="string"&&(i=Buffer.byteLength(e)),this._valueLength+=i,this._overheadLength+=Buffer.byteLength(t)+ge.LINE_BREAK.length,!(!e||!e.path&&!(e.readable&&Xi(e,"httpVersion"))&&!(e instanceof bR))&&(a.knownLength||this._valuesToMeasure.push(e))};ge.prototype._lengthRetriever=function(t,e){Xi(t,"fd")?t.end!=null&&t.end!=1/0&&t.start!=null?e(null,t.end+1-(t.start?t.start:0)):vR.stat(t.path,function(a,i){if(a){e(a);return}var r=i.size-(t.start?t.start:0);e(null,r)}):Xi(t,"httpVersion")?e(null,Number(t.headers["content-length"])):Xi(t,"httpModule")?(t.on("response",function(a){t.pause(),e(null,Number(a.headers["content-length"]))}),t.resume()):e("Unknown stream")};ge.prototype._multiPartHeader=function(t,e,a){if(typeof a.header=="string")return a.header;var i=this._getContentDisposition(e,a),r=this._getContentType(e,a),n="",s={"Content-Disposition":["form-data",'name="'+t+'"'].concat(i||[]),"Content-Type":[].concat(r||[])};typeof a.header=="object"&&h1(s,a.header);var p;for(var d in s)if(Xi(s,d)){if(p=s[d],p==null)continue;Array.isArray(p)||(p=[p]),p.length&&(n+=d+": "+p.join("; ")+ge.LINE_BREAK)}return"--"+this.getBoundary()+ge.LINE_BREAK+n+ge.LINE_BREAK};ge.prototype._getContentDisposition=function(t,e){var a;if(typeof e.filepath=="string"?a=u1.normalize(e.filepath).replace(/\\/g,"/"):e.filename||t&&(t.name||t.path)?a=u1.basename(e.filename||t&&(t.name||t.path)):t&&t.readable&&Xi(t,"httpVersion")&&(a=u1.basename(t.client._httpMessage.path||"")),a)return'filename="'+a+'"'};ge.prototype._getContentType=function(t,e){var a=e.contentType;return!a&&t&&t.name&&(a=f1.lookup(t.name)),!a&&t&&t.path&&(a=f1.lookup(t.path)),!a&&t&&t.readable&&Xi(t,"httpVersion")&&(a=t.headers["content-type"]),!a&&(e.filepath||e.filename)&&(a=f1.lookup(e.filepath||e.filename)),!a&&t&&typeof t=="object"&&(a=ge.DEFAULT_CONTENT_TYPE),a};ge.prototype._multiPartFooter=function(){return function(t){var e=ge.LINE_BREAK,a=this._streams.length===0;a&&(e+=this._lastBoundary()),t(e)}.bind(this)};ge.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+ge.LINE_BREAK};ge.prototype.getHeaders=function(t){var e,a={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(e in t)Xi(t,e)&&(a[e.toLowerCase()]=t[e]);return a};ge.prototype.setBoundary=function(t){if(typeof t!="string")throw new TypeError("FormData boundary must be a string");this._boundary=t};ge.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary};ge.prototype.getBuffer=function(){for(var t=new Buffer.alloc(0),e=this.getBoundary(),a=0,i=this._streams.length;a<i;a++)typeof this._streams[a]!="function"&&(Buffer.isBuffer(this._streams[a])?t=Buffer.concat([t,this._streams[a]]):t=Buffer.concat([t,Buffer.from(this._streams[a])]),(typeof this._streams[a]!="string"||this._streams[a].substring(2,e.length+2)!==e)&&(t=Buffer.concat([t,Buffer.from(ge.LINE_BREAK)])));return Buffer.concat([t,Buffer.from(this._lastBoundary())])};ge.prototype._generateBoundary=function(){this._boundary="--------------------------"+xR.randomBytes(12).toString("hex")};ge.prototype.getLengthSync=function(){var t=this._overheadLength+this._valueLength;return this._streams.length&&(t+=this._lastBoundary().length),this.hasKnownLength()||this._error(new Error("Cannot calculate proper length in synchronous way.")),t};ge.prototype.hasKnownLength=function(){var t=!0;return this._valuesToMeasure.length&&(t=!1),t};ge.prototype.getLength=function(t){var e=this._overheadLength+this._valueLength;if(this._streams.length&&(e+=this._lastBoundary().length),!this._valuesToMeasure.length){process.nextTick(t.bind(this,null,e));return}wR.parallel(this._valuesToMeasure,this._lengthRetriever,function(a,i){if(a){t(a);return}i.forEach(function(r){e+=r}),t(null,e)})};ge.prototype.submit=function(t,e){var a,i,r={method:"post"};return typeof t=="string"?(t=yR(t),i=h1({port:t.port,path:t.pathname,host:t.hostname,protocol:t.protocol},r)):(i=h1(t,r),i.port||(i.port=i.protocol==="https:"?443:80)),i.headers=this.getHeaders(t.headers),i.protocol==="https:"?a=gR.request(i):a=hR.request(i),this.getLength(function(n,s){if(n&&n!=="Unknown stream"){this._error(n);return}if(s&&a.setHeader("Content-Length",s),this.pipe(a),e){var p,d=o(function(l,c){return a.removeListener("error",d),a.removeListener("response",p),e.call(this,l,c)},"callback");p=d.bind(this,null),a.on("error",d),a.on("response",p)}}.bind(this)),a};ge.prototype._error=function(t){this.error||(this.error=t,this. Line truncated
${hA.sanitize(this)}`}};oa.REQUEST_SEND_ERROR="REQUEST_SEND_ERROR";oa.PARSE_ERROR="PARSE_ERROR";var za=uB.createClientLogger("core-http");function m7(t,e){return t?e.httpsAgent:e.httpAgent}o(m7,"getCachedAgent");var kl=class extends vB.Transform{static{o(this,"ReportTransform")}constructor(e){super(),this.progressCallback=e,this.loadedBytes=0}_transform(e,a,i){this.push(e),this.loadedBytes+=e.length,this.progressCallback({loadedBytes:this.loadedBytes}),i(void 0)}};function Dl(t){return t&&typeof t.pipe=="function"}o(Dl,"isReadableStream");function u7(t,e){return new Promise(a=>{t.once("close",()=>{e?.abort(),a()}),t.once("end",a),t.once("error",a)})}o(u7,"isStreamComplete");function gA(t){let e=new er;return t.forEach((a,i)=>{e.set(i,a)}),e}o(gA,"parseHeaders");var jl=class{static{o(this,"NodeFetchHttpClient")}constructor(){this.proxyAgentMap=new Map,this.keepAliveAgents={}}async sendRequest(e){var a;if(!e&&typeof e!="object")throw new Error("'httpRequest' (WebResourceLike) cannot be null or undefined and must be of type object.");let i=new Bl.AbortController,r;if(e.abortSignal){if(e.abortSignal.aborted)throw new Bl.AbortError("The operation was aborted.");r=o(l=>{l.type==="abort"&&i.abort()},"abortListener"),e.abortSignal.addEventListener("abort",r)}if(e.timeout&&setTimeout(()=>{i.abort()},e.timeout),e.formData){let l=e.formData,c=new wB.default,m=o((f,h)=>{typeof h=="function"&&(h=h()),h&&Object.prototype.hasOwnProperty.call(h,"value")&&Object.prototype.hasOwnProperty.call(h,"options")?c.append(f,h.value,h.options):c.append(f,h)},"appendFormValue");for(let f of Object.keys(l)){let h=l[f];if(Array.isArray(h))for(let b=0;b<h.length;b++)m(f,h[b]);else m(f,h)}e.body=c,e.formData=void 0;let u=e.headers.get("Content-Type");u&&u.indexOf("multipart/form-data")!==-1&&(typeof c.getBoundary=="function"?e.headers.set("Content-Type",`multipart/form-data; boundary=${c.getBoundary()}`):e.headers.remove("Content-Type"))}let n=e.body?typeof e.body=="function"?e.body():e.body:void 0;if(e.onUploadProgress&&e.body){let l=e.onUploadProgress,c=new kl(l);Dl(n)?n.pipe(c):c.end(n),n=c}let s=await this.prepareRequest(e),p=Object.assign({body:n,headers:e.headers.rawHeaders(),method:e.method,signal:i.signal,redirect:"manual"},s),d;try{let l=await this.fetch(e.url,p),c=gA(l.headers),m=((a=e.streamResponseStatusCodes)===null||a===void 0?void 0:a.has(l.status))||e.streamResponseBody;d={headers:c,request:e,status:l.status,readableStreamBody:m?l.body:void 0,bodyAsText:m?void 0:await l.text()};let u=e.onDownloadProgress;if(u){let f=l.body||void 0;if(Dl(f)){let h=new kl(u);f.pipe(h),d.readableStreamBody=h}else{let h=parseInt(c.get("Content-Length"))||void 0;h&&u({loadedBytes:h})}}return await this.processRequest(d),d}catch(l){let c=l;throw c.code==="ENOTFOUND"?new oa(c.message,oa.REQUEST_SEND_ERROR,void 0,e):c.type==="aborted"?new Bl.AbortError("The operation was aborted."):c}finally{if(e.abortSignal&&r){let l=Promise.resolve();Dl(n)&&(l=u7(n));let c=Promise.resolve();Dl(d?.readableStreamBody)&&(c=u7(d.readableStreamBody,i)),Promise.all([l,c]).then(()=>{var m;(m=e.abortSignal)===null||m===void 0||m.removeEventListener("abort",r)}).catch(m=>{za.warning("Error when cleaning up abortListener on httpRequest",m)})}}}getOrCreateAgent(e){var a;let i=Cf(e.url);if(e.proxySettings){let{host:r,port:n,username:s,password:p}=e.proxySettings,d=`${r}:${n}:${s}:${p}`,l=(a=this.proxyAgentMap.get(d))!==null&&a!==void 0?a:{},c=m7(i,l);if(c)return c;let m=cA(e.url,e.proxySettings,e.headers);return c=m.agent,m.isHttps?l.httpsAgent=m.agent:l.httpAgent=m.agent,this.proxyAgentMap.set(d,l),c}else if(e.keepAlive){let r=m7(i,this.keepAliveAgents);if(r)return r;let n={keepAlive:e.keepAlive};return i?r=this.keepAliveAgents.httpsAgent=new o7.Agent(n):r=this.keepAliveAgents.httpAgent=new s7.Agent(n),r}else return i?o7.globalAgent:s7.globalAgent}async fetch(e,a){return NB.default(e,a)}async prepareRequest(e){let a={};return a.agent=this.getOrCreateAgent(e),a.compress=e.decompressResponse,a}async processRequest(e){}};H.HttpPipelineLogLevel=void 0;(function(t){t[t.OFF=0]="OFF",t[t.ERROR=1]="ERROR",t[t.WARNING=2]="WARNING",t[t.INFO=3]="INFO"})(H.HttpPipelineLogLevel||(H.HttpPipelineLogLevel={}));function yA(t){let{requestOptions:e,tracingOptions:a}=t,r=cB.__rest(t,["requestOptions","tracingOptions"]);return e&&(r=Object.assign(Object.assign({},r),e)),a&&(r.tracingContext=a.tracingContext,r.spanOptions=a?.spanOptions),r}o(yA,"operationOptionsToRequestOptionsBase");var ct=class{static{o(this,"BaseRequestPolicy")}constructor(e,a){this._nextPolicy=e,this._options=a}shouldLog(e){return this._options.shouldLog(e)}log(e,a){this._options.log(e,a)}},Ul=class{static{o(this,"RequestPolicyOptions")}constructor(e){this._logger=e}shouldLog(e){return!!this._logger&&e!==H.HttpPipelineLogLevel.OFF&&e<=this._logger.minimumLogLevel}log(e,a){this._logger&&this.shouldLog(e)&&this._logger.log(e,a)}},B7={explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:lt,explicitArray:!0,ignore Line truncated
`},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1},ql=Object.assign({},B7);ql.explicitArray=!1;var Bo=Object.assign({},B7);Bo.explicitArray=!1;Bo.renderOpts={pretty:!1};function Tf(t,e={}){var a;return Bo.rootName=e.rootName,Bo.charkey=(a=e.xmlCharKey)!==null&&a!==void 0?a:_i,new N7.Builder(Bo).buildObject(t)}o(Tf,"stringifyXML");function A7(t,e={}){var a;ql.explicitRoot=!!e.includeRoot,ql.charkey=(a=e.xmlCharKey)!==null&&a!==void 0?a:_i;let i=new N7.Parser(ql);return new Promise((r,n)=>{t?i.parseString(t,(s,p)=>{s?n(s):r(p)}):n(new Error("Document is empty"))})}o(A7,"parseXML");function Qf(t,e){return{create:(a,i)=>new Of(a,i,t,e)}}o(Qf,"deserializationPolicy");var q7=["application/json","text/json"],M7=["application/xml","application/atom+xml"],vA={expectedContentTypes:{json:q7,xml:M7}},Of=class extends ct{static{o(this,"DeserializationPolicy")}constructor(e,a,i,r={}){var n;super(e,a),this.jsonContentTypes=i&&i.json||q7,this.xmlContentTypes=i&&i.xml||M7,this.xmlCharKey=(n=r.xmlCharKey)!==null&&n!==void 0?n:_i}async sendRequest(e){return this._nextPolicy.sendRequest(e).then(a=>z7(this.jsonContentTypes,this.xmlContentTypes,a,{xmlCharKey:this.xmlCharKey}))}};function bA(t){let e,a=t.request,i=a.operationSpec;if(i){let r=a.operationResponseGetter;r?e=r(i,t):e=i.responses[t.status]}return e}o(bA,"getOperationResponse");function xA(t){let e=t.request.shouldDeserialize,a;return e===void 0?a=!0:typeof e=="boolean"?a=e:a=e(t),a}o(xA,"shouldDeserializeResponse");function z7(t,e,a,i={}){var r,n,s;let p={rootName:(r=i.rootName)!==null&&r!==void 0?r:"",includeRoot:(n=i.includeRoot)!==null&&n!==void 0?n:!1,xmlCharKey:(s=i.xmlCharKey)!==null&&s!==void 0?s:_i};return _A(t,e,a,p).then(d=>{if(!xA(d))return d;let l=d.request.operationSpec;if(!l||!l.responses)return d;let c=bA(d),{error:m,shouldReturnResponse:u}=NA(d,l,c);if(m)throw m;if(u)return d;if(c){if(c.bodyMapper){let f=d.parsedBody;l.isXML&&c.bodyMapper.type.name===qr.Sequence&&(f=typeof f=="object"?f[c.bodyMapper.xmlElementName]:[]);try{d.parsedBody=l.serializer.deserialize(c.bodyMapper,f,"operationRes.parsedBody",i)}catch(h){throw new oa(`Error ${h} occurred in deserializing the responseBody - ${d.bodyAsText}`,void 0,d.status,d.request,d)}}else l.httpMethod==="HEAD"&&(d.parsedBody=a.status>=200&&a.status<300);c.headersMapper&&(d.parsedHeaders=l.serializer.deserialize(c.headersMapper,d.headers.toJson(),"operationRes.parsedHeaders",i))}return d})}o(z7,"deserializeResponseBody");function wA(t){let e=Object.keys(t.responses);return e.length===0||e.length===1&&e[0]==="default"}o(wA,"isOperationSpecEmpty");function NA(t,e,a){var i;let r=200<=t.status&&t.status<300;if(wA(e)?r:!!a)if(a){if(!a.isError)return{error:null,shouldReturnResponse:!1}}else return{error:null,shouldReturnResponse:!1};let s=a??e.responses.default,d=((i=t.request.streamResponseStatusCodes)===null||i===void 0?void 0:i.has(t.status))||t.request.streamResponseBody?`Unexpected status code: ${t.status}`:t.bodyAsText,l=new oa(d,void 0,t.status,t.request,t);if(!s)throw l;let c=s.bodyMapper,m=s.headersMapper;try{if(t.parsedBody){let u=t.parsedBody,f;if(c){let b=u;e.isXML&&c.type.name===qr.Sequence&&(b=typeof u=="object"?u[c.xmlElementName]:[]),f=e.serializer.deserialize(c,b,"error.response.parsedBody")}let h=u.error||f||u;l.code=h.code,h.message&&(l.message=h.message),c&&(l.response.parsedBody=f)}t.headers&&m&&(l.response.parsedHeaders=e.serializer.deserialize(m,t.headers.toJson(),"operationRes.parsedHeaders"))}catch(u){l.message=`Error "${u.message}" occurred in deserializing the responseBody - "${t.bodyAsText}" for the default response.`}return{error:l,shouldReturnResponse:!1}}o(NA,"handleErrorResponse");function _A(t,e,a,i){var r;let n=o(p=>{let d=`Error "${p}" occurred while parsing the response body - ${a.bodyAsText}.`,l=p.code||oa.PARSE_ERROR,c=new oa(d,l,a.status,a.request,a);return Promise.reject(c)},"errorHandler");if(!(((r=a.request.streamResponseStatusCodes)===null||r===void 0?void 0:r.has(a.status))||a.request.streamResponseBody)&&a.bodyAsText){let p=a.bodyAsText,d=a.headers.get("Content-Type")||"",l=d?d.split(";").map(c=>c.toLowerCase()):[];if(l.length===0||l.some(c=>t.indexOf(c)!==-1))return new Promise(c=>{a.parsedBody=JSON.parse(p),c(a)}).catch(n);if(l.some(c=>e.indexOf(c)!==-1))return A7(p,i).then(c=>(a.parsedBody=c,a)).catch(n)}return Promise.resolve(a)}o(_A,"parse");var L7={enable:!0};function k7(t){return{create:(e,a)=>new Pf(e,a,t||L7)}}o(k7,"keepAlivePolicy");var Pf=class extends ct{static{o(this,"KeepAlivePolicy")}constructor(e,a,i){super(e,a),this.keepAliveOptions=i}async sendRequest(e){return e.keepAlive=this.keepAliveOptions.enable,this._nextPolicy.sendRequest(e)}},f7=["GET","HEAD"],SA={handleRedirects:!0,maxRetries:20};function Jf(t=20){return{create:(e,a)=>new Rf(e,a,t)}}o(Jf,"redirectPolicy");var Rf=class extends ct{static{o(this,"RedirectPolicy")}constructor(e,a,i=20){super(e,a),this.maxRetries=i}sendRequest(e){return this._nextPolicy.sendRequest(e).then(a=>j7(this,a,0))}};functi Line truncated
`).join(""))}return this._nextPolicy.sendRequest(e)}},G7=[],X7=!1,zA=new Map;function LA(){if(!process)return;let t=Al(wa.HTTPS_PROXY),e=Al(wa.ALL_PROXY),a=Al(wa.HTTP_PROXY);return t||e||a}o(LA,"loadEnvironmentProxyValue");function kA(t,e,a){if(e.length===0)return!1;let i=ai.parse(t).getHost();if(a?.has(i))return a.get(i);let r=!1;for(let n of e)n[0]==="."?(i.endsWith(n)||i.length===n.length-1&&i===n.slice(1))&&(r=!0):i===n&&(r=!0);return a?.set(i,r),r}o(kA,"isBypassed");function jA(){let t=Al(wa.NO_PROXY);return X7=!0,t?t.split(",").map(e=>e.trim()).filter(e=>e.length):[]}o(jA,"loadNoProxy");function W7(t){if(!t&&(t=LA(),!t))return;let{username:e,password:a,urlWithoutAuth:i}=UA(t),r=ai.parse(i);return{host:(r.getScheme()?r.getScheme()+"://":"")+r.getHost(),port:Number.parseInt(r.getPort()||"80"),username:e,password:a}}o(W7,"getDefaultProxySettings");function s0(t,e){return t||(t=W7()),X7||G7.push(...jA()),{create:(a,i)=>new Lf(a,i,t,e?.customNoProxyList)}}o(s0,"proxyPolicy");function UA(t){let e=t.indexOf("@");if(e===-1)return{urlWithoutAuth:t};let a=t.indexOf("://"),i=a!==-1?a+3:0,r=t.substring(i,e),n=r.indexOf(":"),s=n!==-1,p=s?r.substring(0,n):r,d=s?r.substring(n+1):void 0,l=t.substring(0,i)+t.substring(e+1);return{username:p,password:d,urlWithoutAuth:l}}o(UA,"extractAuthFromUrl");var Lf=class extends ct{static{o(this,"ProxyPolicy")}constructor(e,a,i,r){super(e,a),this.proxySettings=i,this.customNoProxyList=r}sendRequest(e){var a;return!e.proxySettings&&!kA(e.url,(a=this.customNoProxyList)!==null&&a!==void 0?a:G7,this.customNoProxyList?void 0:zA)&&(e.proxySettings=this.proxySettings),this._nextPolicy.sendRequest(e)}};function FA(t=30){return{create:(e,a)=>new kf(e,a,t)}}o(FA,"rpRegistrationPolicy");var kf=class extends ct{static{o(this,"RPRegistrationPolicy")}constructor(e,a,i=30){super(e,a),this._retryTimeout=i}sendRequest(e){return this._nextPolicy.sendRequest(e.clone()).then(a=>HA(this,e,a))}};function HA(t,e,a){if(a.status===409){let i=VA(a.bodyAsText);if(i){let r=$A(e.url);return GA(t,r,i,e).catch(()=>!1).then(n=>n?(e.headers.set("x-ms-client-request-id",Vl()),t._nextPolicy.sendRequest(e.clone())):a)}}return Promise.resolve(a)}o(HA,"registerIfNeeded");function K7(t,e=!1){let a=t.clone();return e&&(a.url=t.url),a.headers.set("x-ms-client-request-id",Vl()),a.headers.set("Content-Type","application/json; charset=utf-8"),a}o(K7,"getRequestEssentials");function VA(t){let e,a;if(t){try{a=JSON.parse(t)}catch{}if(a&&a.error&&a.error.message&&a.error.code&&a.error.code==="MissingSubscriptionRegistration"){let i=a.error.message.match(/.*'(.*)'/i);i&&(e=i.pop())}}return e}o(VA,"checkRPNotRegisteredError");function $A(t){let e,a=t.match(/.*\/subscriptions\/[a-f0-9-]+\//gi);if(a&&a[0])e=a[0];else throw new Error(`Unable to extract subscriptionId from the given url - ${t}.`);return e}o($A,"extractSubscriptionUrl");async function GA(t,e,a,i){let r=`${e}providers/${a}/register?api-version=2016-02-01`,n=`${e}providers/${a}?api-version=2016-02-01`,s=K7(i);if(s.method="POST",s.url=r,(await t._nextPolicy.sendRequest(s)).status!==200)throw new Error(`Autoregistration of ${a} failed. Please try registering manually.`);return Y7(t,n,i)}o(GA,"registerRP");async function Y7(t,e,a){let i=K7(a);i.url=e,i.method="GET";let r=await t._nextPolicy.sendRequest(i),n=r.parsedBody;return r.parsedBody&&n.registrationState&&n.registrationState==="Registered"?!0:(await ti.delay(t._retryTimeout*1e3),Y7(t,e,a))}o(Y7,"getRegistrationStatus");function Q7(t){return{create:(e,a)=>new jf(e,a,t)}}o(Q7,"signingPolicy");var jf=class extends ct{static{o(this,"SigningPolicy")}constructor(e,a,i){super(e,a),this.authenticationProvider=i}signRequest(e){return this.authenticationProvider.signRequest(e)}sendRequest(e){return this.signRequest(e).then(a=>this._nextPolicy.sendRequest(a))}};function o0(t,e,a,i){return{create:(r,n)=>new Uf(r,n,t,e,a,i)}}o(o0,"systemErrorRetryPolicy");var Uf=class extends ct{static{o(this,"SystemErrorRetryPolicy")}constructor(e,a,i,r,n,s){super(e,a),this.retryCount=Ar(i)?i:Zf,this.retryInterval=Ar(r)?r:e0,this.minRetryInterval=Ar(n)?n:EA,this.maxRetryInterval=Ar(s)?s:t0}sendRequest(e){return this._nextPolicy.sendRequest(e.clone()).catch(a=>J7(this,e,a.response,a))}};async function J7(t,e,a,i,r){r=F7(t,r,i);function n(s,p){return!!(p&&p.code&&(p.code==="ETIMEDOUT"||p.code==="ESOCKETTIMEDOUT"||p.code==="ECONNREFUSED"||p.code==="ECONNRESET"||p.code==="ENOENT"))}if(o(n,"shouldPolicyRetry"),U7(t.retryCount,n,r,a,i))try{return await ti.delay(r.retryInterval),t._nextPolicy.sendRequest(e.clone())}catch(s){return J7(t,e,a,s,r)}else return i?Promise.reject(r.error):a}o(J7,"retry");var XA=3,h7=wa.HttpConstants.StatusCodes;function p0(){return{create:(t,e)=>new Ff(t,e)}}o(p0,"throttlingRetryPolicy");var g7="The operation was aborted.",Ff=class t extends ct{static{o(this,"ThrottlingRetryPolicy")}constructor(e,a,i){super(e,a),this.numberOfRetries=0,this._handleResponse=i||this._defaultResponseHandler}async sendRequest(e){let a=await this. Line truncated
Actual: `+x.attribValue);else{var Te=x.tag,dt=x.tags[x.tags.length-1]||x;Te.ns===dt.ns&&(Te.ns=Object.create(dt.ns)),Te.ns[P]=x.attribValue}x.attribList.push([x.attribName,x.attribValue])}else x.tag.attributes[x.attribName]=x.attribValue,R(x,"onattribute",{name:x.attribName,value:x.attribValue});x.attribName=x.attribValue=""}o(Ra,"attrib");function Ft(x,v){if(x.opt.xmlns){var M=x.tag,P=fe(x.tagName);M.prefix=P.prefix,M.local=P.local,M.uri=M.ns[P.prefix]||"",M.prefix&&!M.uri&&(Q(x,"Unbound namespace prefix: "+JSON.stringify(x.tagName)),M.uri=P.prefix);var Te=x.tags[x.tags.length-1]||x;M.ns&&Te.ns!==M.ns&&Object.keys(M.ns).forEach(function(Kh){R(x,"onopennamespace",{prefix:Kh,uri:M.ns[Kh]})});for(var dt=0,gt=x.attribList.length;dt<gt;dt++){var Ht=x.attribList[dt],Va=Ht[0],an=Ht[1],Pt=fe(Va,!0),li=Pt.prefix,q_=Pt.local,Wh=li===""?"":M.ns[li]||"",wm={name:Va,value:an,prefix:li,local:q_,uri:Wh};li&&li!=="xmlns"&&!Wh&&(Q(x,"Unbound namespace prefix: "+JSON.stringify(li)),wm.uri=li),x.tag.attributes[Va]=wm,R(x,"onattribute",wm)}x.attribList.length=0}x.tag.isSelfClosing=!!v,x.sawRoot=!0,x.tags.push(x.tag),R(x,"onopentag",x.tag),v||(!x.noscript&&x.tagName.toLowerCase()==="script"?x.state=N.SCRIPT:x.state=N.TEXT,x.tag=null,x.tagName=""),x.attribName=x.attribValue="",x.attribList.length=0}o(Ft,"openTag");function tn(x){if(!x.tagName){Q(x,"Weird empty close tag."),x.textNode+="</>",x.state=N.TEXT;return}if(x.script){if(x.tagName!=="script"){x.script+="</"+x.tagName+">",x.tagName="",x.state=N.SCRIPT;return}R(x,"onscript",x.script),x.script=""}var v=x.tags.length,M=x.tagName;x.strict||(M=M[x.looseCase]());for(var P=M;v--;){var Te=x.tags[v];if(Te.name!==P)Q(x,"Unexpected close tag");else break}if(v<0){Q(x,"Unmatched closing tag: "+x.tagName),x.textNode+="</"+x.tagName+">",x.state=N.TEXT;return}x.tagName=M;for(var dt=x.tags.length;dt-- >v;){var gt=x.tag=x.tags.pop();x.tagName=x.tag.name,R(x,"onclosetag",x.tagName);var Ht={};for(var Va in gt.ns)Ht[Va]=gt.ns[Va];var an=x.tags[x.tags.length-1]||x;x.opt.xmlns&&gt.ns!==an.ns&&Object.keys(gt.ns).forEach(function(Pt){var li=gt.ns[Pt];R(x,"onclosenamespace",{prefix:Pt,uri:li})})}v===0&&(x.closedRoot=!0),x.tagName=x.attribValue=x.attribName="",x.attribList.length=0,x.state=N.TEXT}o(tn,"closeTag");function zs(x){var v=x.entity,M=v.toLowerCase(),P,Te="";return x.ENTITIES[v]?x.ENTITIES[v]:x.ENTITIES[M]?x.ENTITIES[M]:(v=M,v.charAt(0)==="#"&&(v.charAt(1)==="x"?(v=v.slice(2),P=parseInt(v,16),Te=P.toString(16)):(v=v.slice(1),P=parseInt(v,10),Te=P.toString(10))),v=v.replace(/^0+/,""),isNaN(P)||Te.toLowerCase()!==v?(Q(x,"Invalid character entity"),"&"+x.entity+";"):String.fromCodePoint(P))}o(zs,"parseEntity");function Gh(x,v){v==="<"?(x.state=N.OPEN_WAKA,x.startTagPosition=x.position):w(v)||(Q(x,"Non-whitespace before first tag."),x.textNode=v,x.state=N.TEXT)}o(Gh,"beginWhiteSpace");function Xh(x,v){var M="";return v<x.length&&(M=x.charAt(v)),M}o(Xh,"charAt");function A_(x){var v=this;if(this.error)throw this.error;if(v.closed)return oe(v,"Cannot write after close. Assign an onready handler.");if(x===null)return ye(v);typeof x=="object"&&(x=x.toString());for(var M=0,P="";P=Xh(x,M++),v.c=P,!!P;)switch(v.trackPosition&&(v.position++,P===`
`?(v.line++,v.column=0):v.column++),v.state){case N.BEGIN:if(v.state=N.BEGIN_WHITESPACE,P==="\uFEFF")continue;Gh(v,P);continue;case N.BEGIN_WHITESPACE:Gh(v,P);continue;case N.TEXT:if(v.sawRoot&&!v.closedRoot){for(var Te=M-1;P&&P!=="<"&&P!=="&";)P=Xh(x,M++),P&&v.trackPosition&&(v.position++,P===`
`?(v.line++,v.column=0):v.column++);v.textNode+=x.substring(Te,M-1)}P==="<"&&!(v.sawRoot&&v.closedRoot&&!v.strict)?(v.state=N.OPEN_WAKA,v.startTagPosition=v.position):(!w(P)&&(!v.sawRoot||v.closedRoot)&&Q(v,"Text data outside of root node."),P==="&"?v.state=N.TEXT_ENTITY:v.textNode+=P);continue;case N.SCRIPT:P==="<"?v.state=N.SCRIPT_ENDING:v.script+=P;continue;case N.SCRIPT_ENDING:P==="/"?v.state=N.CLOSE_TAG:(v.script+="<"+P,v.state=N.SCRIPT);continue;case N.OPEN_WAKA:if(P==="!")v.state=N.SGML_DECL,v.sgmlDecl="";else if(!w(P))if(_(b,P))v.state=N.OPEN_TAG,v.tagName=P;else if(P==="/")v.state=N.CLOSE_TAG,v.tagName="";else if(P==="?")v.state=N.PROC_INST,v.procInstName=v.procInstBody="";else{if(Q(v,"Unencoded <"),v.startTagPosition+1<v.position){var dt=v.position-v.startTagPosition;P=new Array(dt).join(" ")+P}v.textNode+="<"+P,v.state=N.TEXT}continue;case N.SGML_DECL:(v.sgmlDecl+P).toUpperCase()===c?(R(v,"onopencdata"),v.state=N.CDATA,v.sgmlDecl="",v.cdata=""):v.sgmlDecl+P==="--"?(v.state=N.COMMENT,v.comment="",v.sgmlDecl=""):(v.sgmlDecl+P).toUpperCase()===m?(v.state=N.DOCTYPE,(v.doctype||v.sawRoot)&&Q(v,"Inappropriately located doctype declaration"),v.doctype="",v.sgmlDecl=""):P===">"?(R(v,"onsgmldeclaration",v.sgmlDecl),v.sgmlDecl="",v.state=N.TEXT):(y(P)&&(v.state=N.SGML_DECL_QUOTED),v.sgmlDecl+=P);continue;case N.SGML_DECL_QUOTED:P===v.q&&(v.state=N.SGML_DECL,v.q=""),v.sgmlDecl+=P;continue;case N.DOCTYPE:P===">"?(v.state=N.TEXT,R(v,"ondoctype",v.doctype),v.doctype=!0):(v.doctype+=P,P==="["?v.state=N.DOCTYPE_DTD:y(P)&&(v.state=N.DOCTYPE_QUOTED,v.q=P));continue;case N.DOCTYPE_QUOTED:v.doctype+=P,P===v.q&&(v.q="",v.state=N.DOCTYPE);continue;case N.DOCTYPE_DTD:v.doctype+=P,P==="]"?v.state=N.DOCTYPE:y(P)&&(v.state=N.DOCTYPE_DTD_QUOTED,v.q=P);continue;case N.DOCTYPE_DTD_QUOTED:v.doctype+=P,P===v.q&&(v.state=N.DOCTYPE_DTD,v.q="");continue;case N.COMMENT:P==="-"?v.state=N.COMMENT_ENDING:v.comment+=P;continue;case N.COMMENT_ENDING:P==="-"?(v.state=N.COMMENT_ENDED,v.comment=j(v.opt,v.comment),v.comment&&R(v,"oncomment",v.comment),v.comment=""):(v.comment+="-"+P,v.state=N.COMMENT);continue;case N.COMMENT_ENDED:P!==">"?(Q(v,"Malformed comment"),v.comment+="--"+P,v.state=N.COMMENT):v.state=N.TEXT;continue;case N.CDATA:P==="]"?v.state=N.CDATA_ENDING:v.cdata+=P;continue;case N.CDATA_ENDING:P==="]"?v.state=N.CDATA_ENDING_2:(v.cdata+="]"+P,v.state=N.CDATA);continue;case N.CDATA_ENDING_2:P===">"?(v.cdata&&R(v,"oncdata",v.cdata),R(v,"onclosecdata"),v.cdata="",v.state=N.TEXT):P==="]"?v.cdata+="]":(v.cdata+="]]"+P,v.state=N.CDATA);continue;case N.PROC_INST:P==="?"?v.state=N.PROC_INST_ENDING:w(P)?v.state=N.PROC_INST_BODY:v.procInstName+=P;continue;case N.PROC_INST_BODY:if(!v.procInstBody&&w(P))continue;P==="?"?v.state=N.PROC_INST_ENDING:v.procInstBody+=P;continue;case N.PROC_INST_ENDING:P===">"?(R(v,"onprocessinginstruction",{name:v.procInstName,body:v.procInstBody}),v.procInstName=v.procInstBody="",v.state=N.TEXT):(v.procInstBody+="?"+P,v.state=N.PROC_INST_BODY);continue;case N.OPEN_TAG:_(T,P)?v.tagName+=P:(at(v),P===">"?Ft(v):P==="/"?v.state=N.OPEN_TAG_SLASH:(w(P)||Q(v,"Invalid character in tag name"),v.state=N.ATTRIB));continue;case N.OPEN_TAG_SLASH:P===">"?(Ft(v,!0),tn(v)):(Q(v,"Forward-slash in opening tag not followed by >"),v.state=N.ATTRIB);continue;case N.ATTRIB:if(w(P))continue;P===">"?Ft(v):P==="/"?v.state=N.OPEN_TAG_SLASH:_(b,P)?(v.attribName=P,v.attribValue="",v.state=N.ATTRIB_NAME):Q(v,"Invalid attribute name");continue;case N.ATTRIB_NAME:P==="="?v.state=N.ATTRIB_VALUE:P===">"?(Q(v,"Attribute without value"),v.attribValue=v.attribName,Ra(v),Ft(v)):w(P)?v.state=N.ATTRIB_NAME_SAW_WHITE:_(T,P)?v.attribName+=P:Q(v,"Invalid attribute name");continue;case N.ATTRIB_NAME_SAW_WHITE:if(P==="=")v.state=N.ATTRIB_VALUE;else{if(w(P))continue;Q(v,"Attribute without value"),v.tag.attributes[v.attribName]="",v.attribValue="",R(v,"onattribute",{name:v.attribName,value:""}),v.attribName="",P===">"?Ft(v):_(b,P)?(v.attribName=P,v.state=N.ATTRIB_NAME):(Q(v,"Invalid attribute name"),v.state=N.ATTRIB)}continue;case N.ATTRIB_VALUE:if(w(P))continue;y(P)?(v.q=P,v.state=N.ATTRIB_VALUE_QUOTED):(Q(v,"Unquoted attribute value"),v.state=N.ATTRIB_VALUE_UNQUOTED,v.attribValue=P);continue;case N.ATTRIB_VALUE_QUOTED:if(P!==v.q){P==="&"?v.state=N.ATTRIB_VALUE_ENTITY_Q:v.attribValue+=P;continue}Ra(v),v.q="",v.state=N.ATTRIB_VALUE_CLOSED;continue;case N.ATTRIB_VALUE_CLOSED:w(P)?v.state=N.ATTRIB:P===">"?Ft(v):P==="/"?v.state=N.OPEN_TAG_SLASH:_(b,P)?(Q(v,"No whitespace between attributes"),v.attribName=P,v.attribValue="",v.state=N.ATTRIB_NAME):Q(v,"Invalid attribute name");continue;case N.ATTRIB_VALUE_UNQUOTED:if(!g(P)){P==="&"?v.state=N.ATTRIB_VALUE_ENTITY_U:v.attribValue+=P;continue}Ra(v),P===">"?Ft(v):v.state=N.ATTRIB;continue;case N.CLOSE_TAG:if(v.tagName)P===">"?tn(v):_(T,P)?v.tagName+=P:v.script?(v.script+="</"+v.tagName,v.tagName="",v.state=N.SCRIPT):(w(P)||Q(v,"Invalid tagname in closing tag"),v.state=N.CLOSE_TAG_SAW_WHITE);else{if(w(P))continue;O Line truncated
`;ge.DEFAULT_CONTENT_TYPE="application/octet-stream";ge.prototype.append=function(t,e,a){a=a||{},typeof a=="string"&&(a={filename:a});var i=v1.prototype.append.bind(this);if((typeof e=="number"||e==null)&&(e=String(e)),Array.isArray(e)){this._error(new Error("Arrays are not supported."));return}var r=this._multiPartHeader(t,e,a),n=this._multiPartFooter();i(r),i(e),i(n),this._trackLength(r,e,a)};ge.prototype._trackLength=function(t,e,a){var i=0;a.knownLength!=null?i+=Number(a.knownLength):Buffer.isBuffer(e)?i=e.length:typeof e=="string"&&(i=Buffer.byteLength(e)),this._valueLength+=i,this._overheadLength+=Buffer.byteLength(t)+ge.LINE_BREAK.length,!(!e||!e.path&&!(e.readable&&Xi(e,"httpVersion"))&&!(e instanceof NR))&&(a.knownLength||this._valuesToMeasure.push(e))};ge.prototype._lengthRetriever=function(t,e){Xi(t,"fd")?t.end!=null&&t.end!=1/0&&t.start!=null?e(null,t.end+1-(t.start?t.start:0)):wR.stat(t.path,function(a,i){if(a){e(a);return}var r=i.size-(t.start?t.start:0);e(null,r)}):Xi(t,"httpVersion")?e(null,Number(t.headers["content-length"])):Xi(t,"httpModule")?(t.on("response",function(a){t.pause(),e(null,Number(a.headers["content-length"]))}),t.resume()):e("Unknown stream")};ge.prototype._multiPartHeader=function(t,e,a){if(typeof a.header=="string")return a.header;var i=this._getContentDisposition(e,a),r=this._getContentType(e,a),n="",s={"Content-Disposition":["form-data",'name="'+t+'"'].concat(i||[]),"Content-Type":[].concat(r||[])};typeof a.header=="object"&&y1(s,a.header);var p;for(var d in s)if(Xi(s,d)){if(p=s[d],p==null)continue;Array.isArray(p)||(p=[p]),p.length&&(n+=d+": "+p.join("; ")+ge.LINE_BREAK)}return"--"+this.getBoundary()+ge.LINE_BREAK+n+ge.LINE_BREAK};ge.prototype._getContentDisposition=function(t,e){var a;if(typeof e.filepath=="string"?a=h1.normalize(e.filepath).replace(/\\/g,"/"):e.filename||t&&(t.name||t.path)?a=h1.basename(e.filename||t&&(t.name||t.path)):t&&t.readable&&Xi(t,"httpVersion")&&(a=h1.basename(t.client._httpMessage.path||"")),a)return'filename="'+a+'"'};ge.prototype._getContentType=function(t,e){var a=e.contentType;return!a&&t&&t.name&&(a=g1.lookup(t.name)),!a&&t&&t.path&&(a=g1.lookup(t.path)),!a&&t&&t.readable&&Xi(t,"httpVersion")&&(a=t.headers["content-type"]),!a&&(e.filepath||e.filename)&&(a=g1.lookup(e.filepath||e.filename)),!a&&t&&typeof t=="object"&&(a=ge.DEFAULT_CONTENT_TYPE),a};ge.prototype._multiPartFooter=function(){return function(t){var e=ge.LINE_BREAK,a=this._streams.length===0;a&&(e+=this._lastBoundary()),t(e)}.bind(this)};ge.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+ge.LINE_BREAK};ge.prototype.getHeaders=function(t){var e,a={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(e in t)Xi(t,e)&&(a[e.toLowerCase()]=t[e]);return a};ge.prototype.setBoundary=function(t){if(typeof t!="string")throw new TypeError("FormData boundary must be a string");this._boundary=t};ge.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary};ge.prototype.getBuffer=function(){for(var t=new Buffer.alloc(0),e=this.getBoundary(),a=0,i=this._streams.length;a<i;a++)typeof this._streams[a]!="function"&&(Buffer.isBuffer(this._streams[a])?t=Buffer.concat([t,this._streams[a]]):t=Buffer.concat([t,Buffer.from(this._streams[a])]),(typeof this._streams[a]!="string"||this._streams[a].substring(2,e.length+2)!==e)&&(t=Buffer.concat([t,Buffer.from(ge.LINE_BREAK)])));return Buffer.concat([t,Buffer.from(this._lastBoundary())])};ge.prototype._generateBoundary=function(){this._boundary="--------------------------"+_R.randomBytes(12).toString("hex")};ge.prototype.getLengthSync=function(){var t=this._overheadLength+this._valueLength;return this._streams.length&&(t+=this._lastBoundary().length),this.hasKnownLength()||this._error(new Error("Cannot calculate proper length in synchronous way.")),t};ge.prototype.hasKnownLength=function(){var t=!0;return this._valuesToMeasure.length&&(t=!1),t};ge.prototype.getLength=function(t){var e=this._overheadLength+this._valueLength;if(this._streams.length&&(e+=this._lastBoundary().length),!this._valuesToMeasure.length){process.nextTick(t.bind(this,null,e));return}SR.parallel(this._valuesToMeasure,this._lengthRetriever,function(a,i){if(a){t(a);return}i.forEach(function(r){e+=r}),t(null,e)})};ge.prototype.submit=function(t,e){var a,i,r={method:"post"};return typeof t=="string"?(t=xR(t),i=y1({port:t.port,path:t.pathname,host:t.hostname,protocol:t.protocol},r)):(i=y1(t,r),i.port||(i.port=i.protocol==="https:"?443:80)),i.headers=this.getHeaders(t.headers),i.protocol==="https:"?a=bR.request(i):a=vR.request(i),this.getLength(function(n,s){if(n&&n!=="Unknown stream"){this._error(n);return}if(s&&a.setHeader("Content-Length",s),this.pipe(a),e){var p,d=o(function(l,c){return a.removeListener("error",d),a.removeListener("response",p),e.call(this,l,c)},"callback");p=d.bind(this,null),a.on("error",d),a.on("response",p)}}.bind(this)),a};ge.prototype._error=function(t){this.error||(this.error=t,this. Line truncated
${vA.sanitize(this)}`}};oa.REQUEST_SEND_ERROR="REQUEST_SEND_ERROR";oa.PARSE_ERROR="PARSE_ERROR";var La=gB.createClientLogger("core-http");function f7(t,e){return t?e.httpsAgent:e.httpAgent}o(f7,"getCachedAgent");var jl=class extends wB.Transform{static{o(this,"ReportTransform")}constructor(e){super(),this.progressCallback=e,this.loadedBytes=0}_transform(e,a,i){this.push(e),this.loadedBytes+=e.length,this.progressCallback({loadedBytes:this.loadedBytes}),i(void 0)}};function Bl(t){return t&&typeof t.pipe=="function"}o(Bl,"isReadableStream");function h7(t,e){return new Promise(a=>{t.once("close",()=>{e?.abort(),a()}),t.once("end",a),t.once("error",a)})}o(h7,"isStreamComplete");function bA(t){let e=new er;return t.forEach((a,i)=>{e.set(i,a)}),e}o(bA,"parseHeaders");var Ul=class{static{o(this,"NodeFetchHttpClient")}constructor(){this.proxyAgentMap=new Map,this.keepAliveAgents={}}async sendRequest(e){var a;if(!e&&typeof e!="object")throw new Error("'httpRequest' (WebResourceLike) cannot be null or undefined and must be of type object.");let i=new Al.AbortController,r;if(e.abortSignal){if(e.abortSignal.aborted)throw new Al.AbortError("The operation was aborted.");r=o(l=>{l.type==="abort"&&i.abort()},"abortListener"),e.abortSignal.addEventListener("abort",r)}if(e.timeout&&setTimeout(()=>{i.abort()},e.timeout),e.formData){let l=e.formData,c=new SB.default,m=o((f,h)=>{typeof h=="function"&&(h=h()),h&&Object.prototype.hasOwnProperty.call(h,"value")&&Object.prototype.hasOwnProperty.call(h,"options")?c.append(f,h.value,h.options):c.append(f,h)},"appendFormValue");for(let f of Object.keys(l)){let h=l[f];if(Array.isArray(h))for(let b=0;b<h.length;b++)m(f,h[b]);else m(f,h)}e.body=c,e.formData=void 0;let u=e.headers.get("Content-Type");u&&u.indexOf("multipart/form-data")!==-1&&(typeof c.getBoundary=="function"?e.headers.set("Content-Type",`multipart/form-data; boundary=${c.getBoundary()}`):e.headers.remove("Content-Type"))}let n=e.body?typeof e.body=="function"?e.body():e.body:void 0;if(e.onUploadProgress&&e.body){let l=e.onUploadProgress,c=new jl(l);Bl(n)?n.pipe(c):c.end(n),n=c}let s=await this.prepareRequest(e),p=Object.assign({body:n,headers:e.headers.rawHeaders(),method:e.method,signal:i.signal,redirect:"manual"},s),d;try{let l=await this.fetch(e.url,p),c=bA(l.headers),m=((a=e.streamResponseStatusCodes)===null||a===void 0?void 0:a.has(l.status))||e.streamResponseBody;d={headers:c,request:e,status:l.status,readableStreamBody:m?l.body:void 0,bodyAsText:m?void 0:await l.text()};let u=e.onDownloadProgress;if(u){let f=l.body||void 0;if(Bl(f)){let h=new jl(u);f.pipe(h),d.readableStreamBody=h}else{let h=parseInt(c.get("Content-Length"))||void 0;h&&u({loadedBytes:h})}}return await this.processRequest(d),d}catch(l){let c=l;throw c.code==="ENOTFOUND"?new oa(c.message,oa.REQUEST_SEND_ERROR,void 0,e):c.type==="aborted"?new Al.AbortError("The operation was aborted."):c}finally{if(e.abortSignal&&r){let l=Promise.resolve();Bl(n)&&(l=h7(n));let c=Promise.resolve();Bl(d?.readableStreamBody)&&(c=h7(d.readableStreamBody,i)),Promise.all([l,c]).then(()=>{var m;(m=e.abortSignal)===null||m===void 0||m.removeEventListener("abort",r)}).catch(m=>{La.warning("Error when cleaning up abortListener on httpRequest",m)})}}}getOrCreateAgent(e){var a;let i=Of(e.url);if(e.proxySettings){let{host:r,port:n,username:s,password:p}=e.proxySettings,d=`${r}:${n}:${s}:${p}`,l=(a=this.proxyAgentMap.get(d))!==null&&a!==void 0?a:{},c=f7(i,l);if(c)return c;let m=fA(e.url,e.proxySettings,e.headers);return c=m.agent,m.isHttps?l.httpsAgent=m.agent:l.httpAgent=m.agent,this.proxyAgentMap.set(d,l),c}else if(e.keepAlive){let r=f7(i,this.keepAliveAgents);if(r)return r;let n={keepAlive:e.keepAlive};return i?r=this.keepAliveAgents.httpsAgent=new d7.Agent(n):r=this.keepAliveAgents.httpAgent=new p7.Agent(n),r}else return i?d7.globalAgent:p7.globalAgent}async fetch(e,a){return EB.default(e,a)}async prepareRequest(e){let a={};return a.agent=this.getOrCreateAgent(e),a.compress=e.decompressResponse,a}async processRequest(e){}};H.HttpPipelineLogLevel=void 0;(function(t){t[t.OFF=0]="OFF",t[t.ERROR=1]="ERROR",t[t.WARNING=2]="WARNING",t[t.INFO=3]="INFO"})(H.HttpPipelineLogLevel||(H.HttpPipelineLogLevel={}));function xA(t){let{requestOptions:e,tracingOptions:a}=t,r=fB.__rest(t,["requestOptions","tracingOptions"]);return e&&(r=Object.assign(Object.assign({},r),e)),a&&(r.tracingContext=a.tracingContext,r.spanOptions=a?.spanOptions),r}o(xA,"operationOptionsToRequestOptionsBase");var mt=class{static{o(this,"BaseRequestPolicy")}constructor(e,a){this._nextPolicy=e,this._options=a}shouldLog(e){return this._options.shouldLog(e)}log(e,a){this._options.log(e,a)}},Fl=class{static{o(this,"RequestPolicyOptions")}constructor(e){this._logger=e}shouldLog(e){return!!this._logger&&e!==H.HttpPipelineLogLevel.OFF&&e<=this._logger.minimumLogLevel}log(e,a){this._logger&&this.shouldLog(e)&&this._logger.log(e,a)}},q7={explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:ct,explicitArray:!0,ignore Line truncated
`},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1},Ml=Object.assign({},q7);Ml.explicitArray=!1;var Bo=Object.assign({},q7);Bo.explicitArray=!1;Bo.renderOpts={pretty:!1};function Pf(t,e={}){var a;return Bo.rootName=e.rootName,Bo.charkey=(a=e.xmlCharKey)!==null&&a!==void 0?a:_i,new S7.Builder(Bo).buildObject(t)}o(Pf,"stringifyXML");function M7(t,e={}){var a;Ml.explicitRoot=!!e.includeRoot,Ml.charkey=(a=e.xmlCharKey)!==null&&a!==void 0?a:_i;let i=new S7.Parser(Ml);return new Promise((r,n)=>{t?i.parseString(t,(s,p)=>{s?n(s):r(p)}):n(new Error("Document is empty"))})}o(M7,"parseXML");function Zf(t,e){return{create:(a,i)=>new Rf(a,i,t,e)}}o(Zf,"deserializationPolicy");var L7=["application/json","text/json"],z7=["application/xml","application/atom+xml"],wA={expectedContentTypes:{json:L7,xml:z7}},Rf=class extends mt{static{o(this,"DeserializationPolicy")}constructor(e,a,i,r={}){var n;super(e,a),this.jsonContentTypes=i&&i.json||L7,this.xmlContentTypes=i&&i.xml||z7,this.xmlCharKey=(n=r.xmlCharKey)!==null&&n!==void 0?n:_i}async sendRequest(e){return this._nextPolicy.sendRequest(e).then(a=>k7(this.jsonContentTypes,this.xmlContentTypes,a,{xmlCharKey:this.xmlCharKey}))}};function NA(t){let e,a=t.request,i=a.operationSpec;if(i){let r=a.operationResponseGetter;r?e=r(i,t):e=i.responses[t.status]}return e}o(NA,"getOperationResponse");function _A(t){let e=t.request.shouldDeserialize,a;return e===void 0?a=!0:typeof e=="boolean"?a=e:a=e(t),a}o(_A,"shouldDeserializeResponse");function k7(t,e,a,i={}){var r,n,s;let p={rootName:(r=i.rootName)!==null&&r!==void 0?r:"",includeRoot:(n=i.includeRoot)!==null&&n!==void 0?n:!1,xmlCharKey:(s=i.xmlCharKey)!==null&&s!==void 0?s:_i};return CA(t,e,a,p).then(d=>{if(!_A(d))return d;let l=d.request.operationSpec;if(!l||!l.responses)return d;let c=NA(d),{error:m,shouldReturnResponse:u}=EA(d,l,c);if(m)throw m;if(u)return d;if(c){if(c.bodyMapper){let f=d.parsedBody;l.isXML&&c.bodyMapper.type.name===Mr.Sequence&&(f=typeof f=="object"?f[c.bodyMapper.xmlElementName]:[]);try{d.parsedBody=l.serializer.deserialize(c.bodyMapper,f,"operationRes.parsedBody",i)}catch(h){throw new oa(`Error ${h} occurred in deserializing the responseBody - ${d.bodyAsText}`,void 0,d.status,d.request,d)}}else l.httpMethod==="HEAD"&&(d.parsedBody=a.status>=200&&a.status<300);c.headersMapper&&(d.parsedHeaders=l.serializer.deserialize(c.headersMapper,d.headers.toJson(),"operationRes.parsedHeaders",i))}return d})}o(k7,"deserializeResponseBody");function SA(t){let e=Object.keys(t.responses);return e.length===0||e.length===1&&e[0]==="default"}o(SA,"isOperationSpecEmpty");function EA(t,e,a){var i;let r=200<=t.status&&t.status<300;if(SA(e)?r:!!a)if(a){if(!a.isError)return{error:null,shouldReturnResponse:!1}}else return{error:null,shouldReturnResponse:!1};let s=a??e.responses.default,d=((i=t.request.streamResponseStatusCodes)===null||i===void 0?void 0:i.has(t.status))||t.request.streamResponseBody?`Unexpected status code: ${t.status}`:t.bodyAsText,l=new oa(d,void 0,t.status,t.request,t);if(!s)throw l;let c=s.bodyMapper,m=s.headersMapper;try{if(t.parsedBody){let u=t.parsedBody,f;if(c){let b=u;e.isXML&&c.type.name===Mr.Sequence&&(b=typeof u=="object"?u[c.xmlElementName]:[]),f=e.serializer.deserialize(c,b,"error.response.parsedBody")}let h=u.error||f||u;l.code=h.code,h.message&&(l.message=h.message),c&&(l.response.parsedBody=f)}t.headers&&m&&(l.response.parsedHeaders=e.serializer.deserialize(m,t.headers.toJson(),"operationRes.parsedHeaders"))}catch(u){l.message=`Error "${u.message}" occurred in deserializing the responseBody - "${t.bodyAsText}" for the default response.`}return{error:l,shouldReturnResponse:!1}}o(EA,"handleErrorResponse");function CA(t,e,a,i){var r;let n=o(p=>{let d=`Error "${p}" occurred while parsing the response body - ${a.bodyAsText}.`,l=p.code||oa.PARSE_ERROR,c=new oa(d,l,a.status,a.request,a);return Promise.reject(c)},"errorHandler");if(!(((r=a.request.streamResponseStatusCodes)===null||r===void 0?void 0:r.has(a.status))||a.request.streamResponseBody)&&a.bodyAsText){let p=a.bodyAsText,d=a.headers.get("Content-Type")||"",l=d?d.split(";").map(c=>c.toLowerCase()):[];if(l.length===0||l.some(c=>t.indexOf(c)!==-1))return new Promise(c=>{a.parsedBody=JSON.parse(p),c(a)}).catch(n);if(l.some(c=>e.indexOf(c)!==-1))return M7(p,i).then(c=>(a.parsedBody=c,a)).catch(n)}return Promise.resolve(a)}o(CA,"parse");var j7={enable:!0};function U7(t){return{create:(e,a)=>new If(e,a,t||j7)}}o(U7,"keepAlivePolicy");var If=class extends mt{static{o(this,"KeepAlivePolicy")}constructor(e,a,i){super(e,a),this.keepAliveOptions=i}async sendRequest(e){return e.keepAlive=this.keepAliveOptions.enable,this._nextPolicy.sendRequest(e)}},g7=["GET","HEAD"],TA={handleRedirects:!0,maxRetries:20};function e0(t=20){return{create:(e,a)=>new Df(e,a,t)}}o(e0,"redirectPolicy");var Df=class extends mt{static{o(this,"RedirectPolicy")}constructor(e,a,i=20){super(e,a),this.maxRetries=i}sendRequest(e){return this._nextPolicy.sendRequest(e).then(a=>F7(this,a,0))}};functi Line truncated
`).join(""))}return this._nextPolicy.sendRequest(e)}},W7=[],K7=!1,jA=new Map;function UA(){if(!process)return;let t=ql(wa.HTTPS_PROXY),e=ql(wa.ALL_PROXY),a=ql(wa.HTTP_PROXY);return t||e||a}o(UA,"loadEnvironmentProxyValue");function FA(t,e,a){if(e.length===0)return!1;let i=ai.parse(t).getHost();if(a?.has(i))return a.get(i);let r=!1;for(let n of e)n[0]==="."?(i.endsWith(n)||i.length===n.length-1&&i===n.slice(1))&&(r=!0):i===n&&(r=!0);return a?.set(i,r),r}o(FA,"isBypassed");function HA(){let t=ql(wa.NO_PROXY);return K7=!0,t?t.split(",").map(e=>e.trim()).filter(e=>e.length):[]}o(HA,"loadNoProxy");function Y7(t){if(!t&&(t=UA(),!t))return;let{username:e,password:a,urlWithoutAuth:i}=VA(t),r=ai.parse(i);return{host:(r.getScheme()?r.getScheme()+"://":"")+r.getHost(),port:Number.parseInt(r.getPort()||"80"),username:e,password:a}}o(Y7,"getDefaultProxySettings");function p0(t,e){return t||(t=Y7()),K7||W7.push(...HA()),{create:(a,i)=>new jf(a,i,t,e?.customNoProxyList)}}o(p0,"proxyPolicy");function VA(t){let e=t.indexOf("@");if(e===-1)return{urlWithoutAuth:t};let a=t.indexOf("://"),i=a!==-1?a+3:0,r=t.substring(i,e),n=r.indexOf(":"),s=n!==-1,p=s?r.substring(0,n):r,d=s?r.substring(n+1):void 0,l=t.substring(0,i)+t.substring(e+1);return{username:p,password:d,urlWithoutAuth:l}}o(VA,"extractAuthFromUrl");var jf=class extends mt{static{o(this,"ProxyPolicy")}constructor(e,a,i,r){super(e,a),this.proxySettings=i,this.customNoProxyList=r}sendRequest(e){var a;return!e.proxySettings&&!FA(e.url,(a=this.customNoProxyList)!==null&&a!==void 0?a:W7,this.customNoProxyList?void 0:jA)&&(e.proxySettings=this.proxySettings),this._nextPolicy.sendRequest(e)}};function $A(t=30){return{create:(e,a)=>new Uf(e,a,t)}}o($A,"rpRegistrationPolicy");var Uf=class extends mt{static{o(this,"RPRegistrationPolicy")}constructor(e,a,i=30){super(e,a),this._retryTimeout=i}sendRequest(e){return this._nextPolicy.sendRequest(e.clone()).then(a=>GA(this,e,a))}};function GA(t,e,a){if(a.status===409){let i=XA(a.bodyAsText);if(i){let r=WA(e.url);return KA(t,r,i,e).catch(()=>!1).then(n=>n?(e.headers.set("x-ms-client-request-id",$l()),t._nextPolicy.sendRequest(e.clone())):a)}}return Promise.resolve(a)}o(GA,"registerIfNeeded");function Q7(t,e=!1){let a=t.clone();return e&&(a.url=t.url),a.headers.set("x-ms-client-request-id",$l()),a.headers.set("Content-Type","application/json; charset=utf-8"),a}o(Q7,"getRequestEssentials");function XA(t){let e,a;if(t){try{a=JSON.parse(t)}catch{}if(a&&a.error&&a.error.message&&a.error.code&&a.error.code==="MissingSubscriptionRegistration"){let i=a.error.message.match(/.*'(.*)'/i);i&&(e=i.pop())}}return e}o(XA,"checkRPNotRegisteredError");function WA(t){let e,a=t.match(/.*\/subscriptions\/[a-f0-9-]+\//gi);if(a&&a[0])e=a[0];else throw new Error(`Unable to extract subscriptionId from the given url - ${t}.`);return e}o(WA,"extractSubscriptionUrl");async function KA(t,e,a,i){let r=`${e}providers/${a}/register?api-version=2016-02-01`,n=`${e}providers/${a}?api-version=2016-02-01`,s=Q7(i);if(s.method="POST",s.url=r,(await t._nextPolicy.sendRequest(s)).status!==200)throw new Error(`Autoregistration of ${a} failed. Please try registering manually.`);return J7(t,n,i)}o(KA,"registerRP");async function J7(t,e,a){let i=Q7(a);i.url=e,i.method="GET";let r=await t._nextPolicy.sendRequest(i),n=r.parsedBody;return r.parsedBody&&n.registrationState&&n.registrationState==="Registered"?!0:(await ti.delay(t._retryTimeout*1e3),J7(t,e,a))}o(J7,"getRegistrationStatus");function Z7(t){return{create:(e,a)=>new Ff(e,a,t)}}o(Z7,"signingPolicy");var Ff=class extends mt{static{o(this,"SigningPolicy")}constructor(e,a,i){super(e,a),this.authenticationProvider=i}signRequest(e){return this.authenticationProvider.signRequest(e)}sendRequest(e){return this.signRequest(e).then(a=>this._nextPolicy.sendRequest(a))}};function d0(t,e,a,i){return{create:(r,n)=>new Hf(r,n,t,e,a,i)}}o(d0,"systemErrorRetryPolicy");var Hf=class extends mt{static{o(this,"SystemErrorRetryPolicy")}constructor(e,a,i,r,n,s){super(e,a),this.retryCount=qr(i)?i:t0,this.retryInterval=qr(r)?r:a0,this.minRetryInterval=qr(n)?n:OA,this.maxRetryInterval=qr(s)?s:i0}sendRequest(e){return this._nextPolicy.sendRequest(e.clone()).catch(a=>ev(this,e,a.response,a))}};async function ev(t,e,a,i,r){r=V7(t,r,i);function n(s,p){return!!(p&&p.code&&(p.code==="ETIMEDOUT"||p.code==="ESOCKETTIMEDOUT"||p.code==="ECONNREFUSED"||p.code==="ECONNRESET"||p.code==="ENOENT"))}if(o(n,"shouldPolicyRetry"),H7(t.retryCount,n,r,a,i))try{return await ti.delay(r.retryInterval),t._nextPolicy.sendRequest(e.clone())}catch(s){return ev(t,e,a,s,r)}else return i?Promise.reject(r.error):a}o(ev,"retry");var YA=3,y7=wa.HttpConstants.StatusCodes;function l0(){return{create:(t,e)=>new Vf(t,e)}}o(l0,"throttlingRetryPolicy");var v7="The operation was aborted.",Vf=class t extends mt{static{o(this,"ThrottlingRetryPolicy")}constructor(e,a,i){super(e,a),this.numberOfRetries=0,this._handleResponse=i||this._defaultResponseHandler}async sendRequest(e){let a=await this. Line truncated
Polling from: ${a.config.operationLocation}
Operation status: ${c}
Polling status: ${ov.includes(c)?"Stopped":"Running"}`),c==="succeeded"){let m=s(l,a);if(m!==void 0)return{response:await e(m).catch(nv({state:a,stateProxy:i,isOperationError:p})),status:c}}return{response:l,status:c}}o(lq,"pollOperationHelper");async function cv(t){let{poll:e,state:a,stateProxy:i,options:r,getOperationStatus:n,getResourceLocation:s,getOperationLocation:p,isOperationError:d,withOperationLocation:l,getPollingInterval:c,processResult:m,getError:u,updateState:f,setDelay:h,isDone:b,setErrorAsResult:T}=t,{operationLocation:E}=a.config;if(E!==void 0){let{response:I,status:w}=await lq({poll:e,getOperationStatus:n,state:a,stateProxy:i,operationLocation:E,getResourceLocation:s,isOperationError:d,options:r});if(dv({status:w,response:I,state:a,stateProxy:i,isDone:b,processResult:m,getError:u,setErrorAsResult:T}),!ov.includes(w)){let y=c?.(I);y&&h(y);let g=p?.(I,a);if(g!==void 0){let _=E!==g;a.config.operationLocation=g,l?.(g,_)}else l?.(E,!1)}f?.(a,I)}}o(cv,"pollOperation");function mv(t){let{azureAsyncOperation:e,operationLocation:a}=t;return a??e}o(mv,"getOperationLocationPollingUrl");function uv(t){return t.headers.location}o(uv,"getLocationHeader");function fv(t){return t.headers["operation-location"]}o(fv,"getOperationLocationHeader");function hv(t){return t.headers["azure-asyncoperation"]}o(hv,"getAzureAsyncOperationHeader");function cq(t){var e;let{location:a,requestMethod:i,requestPath:r,resourceLocationConfig:n}=t;switch(i){case"PUT":return r;case"DELETE":return;case"PATCH":return(e=s())!==null&&e!==void 0?e:r;default:return s()}function s(){switch(n){case"azure-async-operation":return;case"original-uri":return r;case"location":default:return a}}o(s,"getDefault")}o(cq,"findResourceLocation");function gv(t){let{rawResponse:e,requestMethod:a,requestPath:i,resourceLocationConfig:r}=t,n=fv(e),s=hv(e),p=mv({operationLocation:n,azureAsyncOperation:s}),d=uv(e),l=a?.toLocaleUpperCase();return p!==void 0?{mode:"OperationLocation",operationLocation:p,resourceLocation:cq({requestMethod:l,location:d,requestPath:i,resourceLocationConfig:r})}:d!==void 0?{mode:"ResourceLocation",operationLocation:d}:l==="PUT"&&i?{mode:"Body",operationLocation:i}:void 0}o(gv,"inferLroMode");function yv(t){let{status:e,statusCode:a}=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 m0(a);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 zr.verbose(`LRO: unrecognized operation status: ${e}`),e}}o(yv,"transformStatus");function mq(t){var e;let{status:a}=(e=t.body)!==null&&e!==void 0?e:{};return yv({status:a,statusCode:t.statusCode})}o(mq,"getStatus");function uq(t){var e,a;let{properties:i,provisioningState:r}=(e=t.body)!==null&&e!==void 0?e:{},n=(a=i?.provisioningState)!==null&&a!==void 0?a:r;return yv({status:n,statusCode:t.statusCode})}o(uq,"getProvisioningState");function m0(t){return t===202?"running":t<300?"succeeded":"failed"}o(m0,"toOperationStatus");function vv({rawResponse:t}){let e=t.headers["retry-after"];if(e!==void 0){let a=parseInt(e);return isNaN(a)?fq(new Date(e)):a*1e3}}o(vv,"parseRetryAfter");function bv(t){let e=t.flatResponse.error;if(!e){zr.warning("The long-running operation failed but there is no error property in the response's body");return}if(!e.code||!e.message){zr.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(bv,"getErrorFromResponse");function fq(t){let e=Math.floor(new Date().getTime()),a=t.getTime();if(e<a)return a-e}o(fq,"calculatePollingIntervalFromDate");function xv(t){let{response:e,state:a,operationLocation:i}=t;function r(){var s;switch((s=a.config.metadata)===null||s===void 0?void 0:s.mode){case void 0:return m0(e.rawResponse.statusCode);case"Body":return u0(e,a);default:return"running"}}o(r,"helper");let n=r();return n==="running"&&i===void 0?"succeeded":n}o(xv,"getStatusFromInitialResponse");async function hq(t){let{stateProxy:e,resourceLocationConfig:a,processResult:i,lro:r,setErrorAsResult:n}=t;return lv({init:async()=>{let s=await r.sendInitialRequest(),p=gv({rawResponse:s.rawResponse,requestPath:r.requestPath,requestMethod:r.requestMethod,resourceLocationConfig:a});return Object.assign({response:s,operationLocation:p?.operationLocation,resourceLocation:p?.resourceLocation},p?.mode?{metadata:{mode:p.mode}}:{})},stateProxy:e,processResult:i?({flatResponse:s},p)=>i(s,p):({flatResponse:s})=>s,getOperationStatus:xv,setErrorAsResult:n})}o(hq,"initHttpOperation");function wv({rawResponse:t},e){var a;switch((a=e.config.metadata)===null||a===void 0?vLine truncated
`,nN="HTTP/1.1",yL="AES256",vL="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;",bL=["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-if-tags","x-ms-source-if-tags"],xL=["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"],wL="BlobUsesCustomerSpecifiedEncryption",NL="BlobDoesNotUseCustomerSpecifiedEncryption",_L=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];function SL(t){let e=z.URLBuilder.parse(t),a=e.getPath();return a=a||"/",a=CL(a),e.setPath(a),e.toString()}o(SL,"escapeURLPath");function EL(t){let e="";if(t.search("DevelopmentStorageProxyUri=")!==-1){let a=t.split(";");for(let i of a)i.trim().startsWith("DevelopmentStorageProxyUri=")&&(e=i.trim().match("DevelopmentStorageProxyUri=(.*)")[1])}return e}o(EL,"getProxyUriFromDevConnString");function Fn(t,e){let a=t.split(";");for(let i of a)if(i.trim().startsWith(e))return i.trim().match(e+"=(.*)")[1];return""}o(Fn,"getValueInConnString");function ps(t){let e="";t.startsWith("UseDevelopmentStorage=true")&&(e=EL(t),t=vL);let a=Fn(t,"BlobEndpoint");if(a=a.endsWith("/")?a.slice(0,-1):a,t.search("DefaultEndpointsProtocol=")!==-1&&t.search("AccountKey=")!==-1){let i="",r="",n=Buffer.from("accountKey","base64"),s="";if(r=Fn(t,"AccountName"),n=Buffer.from(Fn(t,"AccountKey"),"base64"),!a){i=Fn(t,"DefaultEndpointsProtocol");let p=i.toLowerCase();if(p!=="https"&&p!=="http")throw new Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'");if(s=Fn(t,"EndpointSuffix"),!s)throw new Error("Invalid EndpointSuffix in the provided Connection String");a=`${i}://${r}.blob.${s}`}if(r){if(n.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:a,accountName:r,accountKey:n,proxyUri:e}}else{let i=Fn(t,"SharedAccessSignature"),r=oN(a);if(a){if(!i)throw new Error("Invalid SharedAccessSignature in the provided SAS Connection String")}else throw new Error("Invalid BlobEndpoint in the provided SAS Connection String");return{kind:"SASConnString",url:a,accountName:r,accountSas:i}}}o(ps,"extractConnectionStringParts");function CL(t){return encodeURIComponent(t).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}o(CL,"escape");function Ue(t,e){let a=z.URLBuilder.parse(t),i=a.getPath();return i=i?i.endsWith("/")?`${i}${e}`:`${i}/${e}`:e,a.setPath(i),new URL(a.toString()).toString()}o(Ue,"appendToURLPath");function Hr(t,e Line truncated
Polling status: ${dv.includes(c)?"Stopped":"Running"}`),c==="succeeded"){let m=s(l,a);if(m!==void 0)return{response:await e(m).catch(ov({state:a,stateProxy:i,isOperationError:p})),status:c}}return{response:l,status:c}}o(uq,"pollOperationHelper");async function uv(t){let{poll:e,state:a,stateProxy:i,options:r,getOperationStatus:n,getResourceLocation:s,getOperationLocation:p,isOperationError:d,withOperationLocation:l,getPollingInterval:c,processResult:m,getError:u,updateState:f,setDelay:h,isDone:b,setErrorAsResult:T}=t,{operationLocation:E}=a.config;if(E!==void 0){let{response:I,status:w}=await uq({poll:e,getOperationStatus:n,state:a,stateProxy:i,operationLocation:E,getResourceLocation:s,isOperationError:d,options:r});if(cv({status:w,response:I,state:a,stateProxy:i,isDone:b,processResult:m,getError:u,setErrorAsResult:T}),!dv.includes(w)){let y=c?.(I);y&&h(y);let g=p?.(I,a);if(g!==void 0){let _=E!==g;a.config.operationLocation=g,l?.(g,_)}else l?.(E,!1)}f?.(a,I)}}o(uv,"pollOperation");function fv(t){let{azureAsyncOperation:e,operationLocation:a}=t;return a??e}o(fv,"getOperationLocationPollingUrl");function hv(t){return t.headers.location}o(hv,"getLocationHeader");function gv(t){return t.headers["operation-location"]}o(gv,"getOperationLocationHeader");function yv(t){return t.headers["azure-asyncoperation"]}o(yv,"getAzureAsyncOperationHeader");function fq(t){var e;let{location:a,requestMethod:i,requestPath:r,resourceLocationConfig:n}=t;switch(i){case"PUT":return r;case"DELETE":return;case"PATCH":return(e=s())!==null&&e!==void 0?e:r;default:return s()}function s(){switch(n){case"azure-async-operation":return;case"original-uri":return r;case"location":default:return a}}o(s,"getDefault")}o(fq,"findResourceLocation");function vv(t){let{rawResponse:e,requestMethod:a,requestPath:i,resourceLocationConfig:r}=t,n=gv(e),s=yv(e),p=fv({operationLocation:n,azureAsyncOperation:s}),d=hv(e),l=a?.toLocaleUpperCase();return p!==void 0?{mode:"OperationLocation",operationLocation:p,resourceLocation:fq({requestMethod:l,location:d,requestPath:i,resourceLocationConfig:r})}:d!==void 0?{mode:"ResourceLocation",operationLocation:d}:l==="PUT"&&i?{mode:"Body",operationLocation:i}:void 0}o(vv,"inferLroMode");function bv(t){let{status:e,statusCode:a}=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 f0(a);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 zr.verbose(`LRO: unrecognized operation status: ${e}`),e}}o(bv,"transformStatus");function hq(t){var e;let{status:a}=(e=t.body)!==null&&e!==void 0?e:{};return bv({status:a,statusCode:t.statusCode})}o(hq,"getStatus");function gq(t){var e,a;let{properties:i,provisioningState:r}=(e=t.body)!==null&&e!==void 0?e:{},n=(a=i?.provisioningState)!==null&&a!==void 0?a:r;return bv({status:n,statusCode:t.statusCode})}o(gq,"getProvisioningState");function f0(t){return t===202?"running":t<300?"succeeded":"failed"}o(f0,"toOperationStatus");function xv({rawResponse:t}){let e=t.headers["retry-after"];if(e!==void 0){let a=parseInt(e);return isNaN(a)?yq(new Date(e)):a*1e3}}o(xv,"parseRetryAfter");function wv(t){let e=t.flatResponse.error;if(!e){zr.warning("The long-running operation failed but there is no error property in the response's body");return}if(!e.code||!e.message){zr.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(wv,"getErrorFromResponse");function yq(t){let e=Math.floor(new Date().getTime()),a=t.getTime();if(e<a)return a-e}o(yq,"calculatePollingIntervalFromDate");function Nv(t){let{response:e,state:a,operationLocation:i}=t;function r(){var s;switch((s=a.config.metadata)===null||s===void 0?void 0:s.mode){case void 0:return f0(e.rawResponse.statusCode);case"Body":return h0(e,a);default:return"running"}}o(r,"helper");let n=r();return n==="running"&&i===void 0?"succeeded":n}o(Nv,"getStatusFromInitialResponse");async function vq(t){let{stateProxy:e,resourceLocationConfig:a,processResult:i,lro:r,setErrorAsResult:n}=t;return mv({init:async()=>{let s=await r.sendInitialRequest(),p=vv({rawResponse:s.rawResponse,requestPath:r.requestPath,requestMethod:r.requestMethod,resourceLocationConfig:a});return Object.assign({response:s,operationLocation:p?.operationLocation,resourceLocation:p?.resourceLocation},p?.mode?{metadata:{mode:p.mode}}:{})},stateProxy:e,processResult:i?({flatResponse:s},p)=>i(s,p):({flatResponse:s})=>s,getOperationStatus:Nv,setErrorAsResult:n})}o(vq,"initHttpOperation");function _v({rawResponse:t},e){var a;switch((a=e.config.metadata)===null||a===void 0?vLine truncated
`,oN="HTTP/1.1",xz="AES256",wz="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;",Nz=["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-if-tags","x-ms-source-if-tags"],_z=["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"],Sz="BlobUsesCustomerSpecifiedEncryption",Ez="BlobDoesNotUseCustomerSpecifiedEncryption",Cz=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];function Tz(t){let e=L.URLBuilder.parse(t),a=e.getPath();return a=a||"/",a=Pz(a),e.setPath(a),e.toString()}o(Tz,"escapeURLPath");function Oz(t){let e="";if(t.search("DevelopmentStorageProxyUri=")!==-1){let a=t.split(";");for(let i of a)i.trim().startsWith("DevelopmentStorageProxyUri=")&&(e=i.trim().match("DevelopmentStorageProxyUri=(.*)")[1])}return e}o(Oz,"getProxyUriFromDevConnString");function Un(t,e){let a=t.split(";");for(let i of a)if(i.trim().startsWith(e))return i.trim().match(e+"=(.*)")[1];return""}o(Un,"getValueInConnString");function os(t){let e="";t.startsWith("UseDevelopmentStorage=true")&&(e=Oz(t),t=wz);let a=Un(t,"BlobEndpoint");if(a=a.endsWith("/")?a.slice(0,-1):a,t.search("DefaultEndpointsProtocol=")!==-1&&t.search("AccountKey=")!==-1){let i="",r="",n=Buffer.from("accountKey","base64"),s="";if(r=Un(t,"AccountName"),n=Buffer.from(Un(t,"AccountKey"),"base64"),!a){i=Un(t,"DefaultEndpointsProtocol");let p=i.toLowerCase();if(p!=="https"&&p!=="http")throw new Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'");if(s=Un(t,"EndpointSuffix"),!s)throw new Error("Invalid EndpointSuffix in the provided Connection String");a=`${i}://${r}.blob.${s}`}if(r){if(n.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:a,accountName:r,accountKey:n,proxyUri:e}}else{let i=Un(t,"SharedAccessSignature"),r=dN(a);if(a){if(!i)throw new Error("Invalid SharedAccessSignature in the provided SAS Connection String")}else throw new Error("Invalid BlobEndpoint in the provided SAS Connection String");return{kind:"SASConnString",url:a,accountName:r,accountSas:i}}}o(os,"extractConnectionStringParts");function Pz(t){return encodeURIComponent(t).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}o(Pz,"escape");function Ue(t,e){let a=L.URLBuilder.parse(t),i=a.getPath();return i=i?i.endsWith("/")?`${i}${e}`:`${i}/${e}`:e,a.setPath(i),new URL(a.toString()).toString()}o(Ue,"appendToURLPath");function Vr(t,e Line truncated
`)+`
`+this.getCanonicalizedHeadersString(e)+this.getCanonicalizedResourceString(e),i=this.factory.computeHMACSHA256(a);return e.headers.set(Be.AUTHORIZATION,`SharedKey ${this.factory.accountName}:${i}`),e}getHeaderValueToSign(e,a){let i=e.headers.get(a);return!i||a===Be.CONTENT_LENGTH&&i==="0"?"":i}getCanonicalizedHeadersString(e){let a=e.headers.headersArray().filter(r=>r.name.toLowerCase().startsWith(Be.PREFIX_FOR_STORAGE));a.sort((r,n)=>r.name.toLowerCase().localeCompare(n.name.toLowerCase())),a=a.filter((r,n,s)=>!(n>0&&r.name.toLowerCase()===s[n-1].name.toLowerCase()));let i="";return a.forEach(r=>{i+=`${r.name.toLowerCase().trimRight()}:${r.value.trimLeft()}
`}),i}getCanonicalizedResourceString(e){let a=y2(e.url)||"/",i="";i+=`/${this.factory.accountName}${a}`;let r=RL(e.url),n={};if(r){let s=[];for(let p in r)if(Object.prototype.hasOwnProperty.call(r,p)){let d=p.toLowerCase();n[d]=r[p],s.push(d)}s.sort();for(let p of s)i+=`
${p}:${decodeURIComponent(n[p])}`}return i}},Ye=class extends Ho{static{o(this,"StorageSharedKeyCredential")}constructor(e,a){super(),this.accountName=e,this.accountKey=Buffer.from(a,"base64")}create(e,a){return new pc(e,a,this)}computeHMACSHA256(e){return Lv.createHmac("sha256",this.accountKey).update(e,"utf8").digest("base64")}},$L="azure-storage-blob",GL="12.15.0",$o=class extends F.ServiceClient{static{o(this,"StorageClientContext")}constructor(e,a){if(e===void 0)throw new Error("'url' cannot be null");if(a||(a={}),!a.userAgent){let i=F.getDefaultUserAgentValue();a.userAgent=`${$L}/${GL} ${i}`}super(void 0,a),this.requestContentType="application/json; charset=utf-8",this.baseUri=a.endpoint||"{url}",this.url=e,this.version=a.version||"2023-01-03"}},Go=class{static{o(this,"StorageClient")}constructor(e,a){this.url=SL(e),this.accountName=oN(e),this.pipeline=a,this.storageClientContext=new $o(this.url,a.toServiceClientOptions()),this.isHttps=sN(OL(this.url)||"","https"),this.credential=new Pe;for(let r of this.pipeline.factories)z.isNode&&r instanceof Ye||r instanceof Pe?this.credential=r:z.isTokenCredential(r.credential)&&(this.credential=r.credential);let i=this.storageClientContext;i.requestContentType=void 0}},k=L.createSpanFunction({packagePrefix:"Azure.Storage.Blob",namespace:"Microsoft.Storage"});function W(t){var e,a;return{spanOptions:(e=t?.tracingOptions)===null||e===void 0?void 0:e.spanOptions,tracingContext:(a=t?.tracingOptions)===null||a===void 0?void 0:a.tracingContext}}o(W,"convertTracingToRequestOptionsBase");var Ci=class t{static{o(this,"BlobSASPermissions")}constructor(){this.read=!1,this.add=!1,this.create=!1,this.write=!1,this.delete=!1,this.deleteVersion=!1,this.tag=!1,this.move=!1,this.execute=!1,this.setImmutabilityPolicy=!1,this.permanentDelete=!1}static parse(e){let a=new t;for(let i of e)switch(i){case"r":a.read=!0;break;case"a":a.add=!0;break;case"c":a.create=!0;break;case"w":a.write=!0;break;case"d":a.delete=!0;break;case"x":a.deleteVersion=!0;break;case"t":a.tag=!0;break;case"m":a.move=!0;break;case"e":a.execute=!0;break;case"i":a.setImmutabilityPolicy=!0;break;case"y":a.permanentDelete=!0;break;default:throw new RangeError(`Invalid permission: ${i}`)}return a}static from(e){let a=new t;return e.read&&(a.read=!0),e.add&&(a.add=!0),e.create&&(a.create=!0),e.write&&(a.write=!0),e.delete&&(a.delete=!0),e.deleteVersion&&(a.deleteVersion=!0),e.tag&&(a.tag=!0),e.move&&(a.move=!0),e.execute&&(a.execute=!0),e.setImmutabilityPolicy&&(a.setImmutabilityPolicy=!0),e.permanentDelete&&(a.permanentDelete=!0),a}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("")}},Ti=class t{static{o(this,"ContainerSASPermissions")}constructor(){this.read=!1,this.add=!1,this.create=!1,this.write=!1,this.delete=!1,this.deleteVersion=!1,this.list=!1,this.tag=!1,this.move=!1,this.execute=!1,this.setImmutabilityPolicy=!1,this.permanentDelete=!1,this.filterByTags=!1}static parse(e){let a=new t;for(let i of e)switch(i){case"r":a.read=!0;break;case"a":a.add=!0;break;case"c":a.create=!0;break;case"w":a.write=!0;break;case"d":a.delete=!0;break;case"l":a.list=!0;break;case"t":a.tag=!0;break;case"x":a.deleteVersion=!0;break;case"m":a.move=!0;break;case"e":a.execute=!0;break;case"i":a.setImmutabilityPolicy=!0;break;case"y":a.permanentDelete=!0;break;case"f":a.filterByTags=!0;break;default:throw new RangeError(`Invalid permission ${i}`)}return a}static from(e){let a=new t;return e.read&&(a.read=!0),e.add&&(a.add=!0),e.create&&(a.create=!0),e.write&&(a.write=!0),e.delete&&(a.delete=!0),e.list&&(a.list=!0),e.deleteVersion&&(a.deleteVersion=!0),e.tag&&(a.tag=!0),e.move&&(a.move=!0),e.execute&&(a.execute=!0),e.setImmutabilityPolicy&&(a.setImmutabilityPolicy=!0),e.permanentDelete&&(a.permanentDelete=!0),e.filterByTags&&(a.filterByTags=!0),a}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("")}},O0=class{static{o(this,"UserDelegationKeyCredential")}constructor(e,a){this.accountName=e,this.userDelegationKey=a,this.key=Buffer.from(a.value,"base64")}computeHMACSHA256(e){return Lv.createHmac("sha256",this.key).update(e,"utf8").digest("base64")}};function Oi(t){return t.end?`${t.start}-${t.end}`:t.start}o(Oi,"ipRangeToString");Z.SASProtocol=void 0;(function(t){t.Https="https",t.HttpsAndHttp="https,http"})(Z.SASProtocol||(Z.SASProtocol={}));var ri=class{static{o(this,"SASQueryParameters")}constructor(e,a,i,r,n,s,p,d,l,c,m,u,f,h,b Line truncated
`),n=e.computeHMACSHA256(r);return new ri(t.version,n,i,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,a,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType)}o(XL,"generateBlobSASQueryParameters20150405");function WL(t,e){if(t=ls(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 a="c",i=t.snapshotTime;t.blobName&&(a="b",t.snapshotTime?a="bs":t.versionId&&(a="bv",i=t.versionId));let r;t.permissions&&(t.blobName?r=Ci.parse(t.permissions.toString()).toString():r=Ti.parse(t.permissions.toString()).toString());let n=[r||"",t.startsOn?Se(t.startsOn,!1):"",t.expiresOn?Se(t.expiresOn,!1):"",ds(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?Oi(t.ipRange):"",t.protocol?t.protocol:"",t.version,a,i,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(`
`),s=e.computeHMACSHA256(n);return new ri(t.version,s,r,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,a,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType)}o(WL,"generateBlobSASQueryParameters20181109");function KL(t,e){if(t=ls(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 a="c",i=t.snapshotTime;t.blobName&&(a="b",t.snapshotTime?a="bs":t.versionId&&(a="bv",i=t.versionId));let r;t.permissions&&(t.blobName?r=Ci.parse(t.permissions.toString()).toString():r=Ti.parse(t.permissions.toString()).toString());let n=[r||"",t.startsOn?Se(t.startsOn,!1):"",t.expiresOn?Se(t.expiresOn,!1):"",ds(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?Oi(t.ipRange):"",t.protocol?t.protocol:"",t.version,a,i,t.encryptionScope,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(`
`),s=e.computeHMACSHA256(n);return new ri(t.version,s,r,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,a,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,void 0,void 0,void 0,t.encryptionScope)}o(KL,"generateBlobSASQueryParameters20201206");function YL(t,e){if(t=ls(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let a="c",i=t.snapshotTime;t.blobName&&(a="b",t.snapshotTime?a="bs":t.versionId&&(a="bv",i=t.versionId));let r;t.permissions&&(t.blobName?r=Ci.parse(t.permissions.toString()).toString():r=Ti.parse(t.permissions.toString()).toString());let n=[r||"",t.startsOn?Se(t.startsOn,!1):"",t.expiresOn?Se(t.expiresOn,!1):"",ds(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Se(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Se(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.ipRange?Oi(t.ipRange):"",t.protocol?t.protocol:"",t.version,a,i,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),s=e.computeHMACSHA256(n);return new ri(t.version,s,r,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,a,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey)}o(YL,"generateBlobSASQueryParametersUDK20181109");function QL(t,e){if(t=ls(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let a="c",i=t.snapshotTime;t.blobName&&(a="b",t.snapshotTime?a="bs":t.versionId&&(a="bv",i=t.versionId));let r;t.permissions&&(t.blobName?r=Ci.parse(t.permissions.toString()).toString():r=Ti.parse(t.permissions.toString()).toString());let n=[r||"",t.startsOn?Se(t.startsOn,!1):"",t.expiresOn?Se(t.expiresOn,!1):"",ds(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Se(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Se(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?Oi(t.ipRange):"",t.protocol?t.protocol:"",t.version,a,i,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),s=e.computeHMACSHA256(n);return new ri(t.version,s,r,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,a,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId)}o(QL,"generateBlobSASQueryParametersUDK20200210");function JL(t,e){if(t=ls(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let a="c",i=t.snapshotTime;t.blobName&&(a="b",t.snapshotTime?a="bs":t.versionId&&(a="bv",i=t.versionId));let r;t.permissions&&(t.blobName?r=Ci.parse(t.permissions.toString()).toString():r=Ti.parse(t.permissions.toString()).toString());let n=[r||"",t.startsOn?Se(t.startsOn,!1):"",t.expiresOn?Se(t.expiresOn,!1):"",ds(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Se(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Se(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?Oi(t.ipRange):"",t.protocol?t.protocol:"",t.version,a,i,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),s=e.computeHMACSHA256(n);return new ri(t.version,s,r,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,a,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId,t.encryptionScope)}o(JL,"generateBlobSASQueryParametersUDK20201206");function ds(t,e,a){let i=[`/blob/${t}/${e}`];return a&&i.push(`/${a}`),i.join("")}o(ds,"getCanonicalName");function ls(t){let e=t.version?t.version:h2;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(ls,"SASSignatureValuesSanityCheckAndAutofill");var Xo=class{static{o(this,"BlobLeaseClient")}constructor(e,a){let i=new $o(e.url,e.pipeline.toServiceClientOptions());this._url=e.url,e.name===void 0?(this._isContainer=!0,this._containerOrBlobOperation=new Fr(i)):(this._isContainer=!1,this._containerOrBlobOperation=new jo(i)),a||(a=z.generateUuid()),this._leaseId=a}get leaseId(){return this._leaseId}get url(){return this._url}async acquireLease(e,a={}){var i,r,n,s,p,d;let{span:l,updatedOptions:c}=k("BlobLeaseClient-acquireLease",a);if(this._isContainer&&(!((i=a.conditions)===null||i===void 0)&&i.ifMatch&&((r=a.conditions)===null||r===void 0?void 0:r.ifMatch)!==ii||!((n=a.conditions)===null||n===void 0)&&n.ifNoneMatch&&((s=a.conditions)===null||s===void 0?void 0:s.ifNoneMatch)!==ii||!((p=a.conditions)===null||p===void 0)&&p.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.");try{return await this._containerOrBlobOperation.acquireLease(Object.assign({abortSignal:a.abortSignal,duration:e,modifiedAccessConditions:Object.assign(Object.assign({},a.conditions),{ifTags:(d=a.conditions)===null||d===void 0?void 0:d.tagConditions}),proposedLeaseId:this._leaseId},W(c)))}catch(m){throw l.setStatus({code:L.SpanStatusCode.ERROR,message:m.message}),m}finally{l.end()}}async changeLease(e,a={}){var i,r,n,s,p,d;let{span:l,updatedOptions:c}=k("BlobLeaseClient-changeLease",a);if(this._isContainer&&(!((i=a.conditions)===null||i===void 0)&&i.ifMatch&&((r=a.conditions)===null||r===void 0?void 0:r.ifMatch)!==ii||!((n=a.conditions)===null||n===void 0)&&n.ifNoneMatch&&((s=a.conditions)===null||s===void 0?void 0:s.ifNoneMatch)!==ii||!((p=a.conditions)===null||p===void 0)&&p.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.");try{let m=await this._containerOrBlobOperation.changeLease(this._leaseId,e,Object.assign({abortSignal:a.abortSignal,modifiedAccessConditions:Object.assign(Object.assign({},a.conditions),{ifTags:(d=a.conditions)===null||d===void 0?void 0:d.tagConditions})},W(c)));return this._leaseId=e,m}catch(m){throw l.setStatus({code:L.SpanStatusCode.ERROR,message:m.message}),m}finally{l.end()}}async releaseLease(e={}){var a,i,r,n,s,p;let{span:d,updatedOptions:l}=k("BlobLeaseClient-releaseLease",e);if(this._isContainer&&(!((a=e.conditions)===null||a===void 0)&&a.ifMatch&&((i=e.conditions)===null||i===void 0?void 0:i.ifMatch)!==ii||!((r=e.conditions)===null||r===void 0)&&r.ifNoneMatch&&((n=e.conditions)===null||n===void 0?void 0:n.ifNoneMatch)!==ii||!((s=e.conditions)===null||s===void 0)&&s.tagCon Line truncated
`}),i}getCanonicalizedResourceString(e){let a=b2(e.url)||"/",i="";i+=`/${this.factory.accountName}${a}`;let r=Bz(e.url),n={};if(r){let s=[];for(let p in r)if(Object.prototype.hasOwnProperty.call(r,p)){let d=p.toLowerCase();n[d]=r[p],s.push(d)}s.sort();for(let p of s)i+=`
${p}:${decodeURIComponent(n[p])}`}return i}},Ye=class extends Ho{static{o(this,"StorageSharedKeyCredential")}constructor(e,a){super(),this.accountName=e,this.accountKey=Buffer.from(a,"base64")}create(e,a){return new dc(e,a,this)}computeHMACSHA256(e){return jv.createHmac("sha256",this.accountKey).update(e,"utf8").digest("base64")}},Wz="azure-storage-blob",Kz="12.15.0",$o=class extends F.ServiceClient{static{o(this,"StorageClientContext")}constructor(e,a){if(e===void 0)throw new Error("'url' cannot be null");if(a||(a={}),!a.userAgent){let i=F.getDefaultUserAgentValue();a.userAgent=`${Wz}/${Kz} ${i}`}super(void 0,a),this.requestContentType="application/json; charset=utf-8",this.baseUri=a.endpoint||"{url}",this.url=e,this.version=a.version||"2023-01-03"}},Go=class{static{o(this,"StorageClient")}constructor(e,a){this.url=Tz(e),this.accountName=dN(e),this.pipeline=a,this.storageClientContext=new $o(this.url,a.toServiceClientOptions()),this.isHttps=pN(Iz(this.url)||"","https"),this.credential=new Pe;for(let r of this.pipeline.factories)L.isNode&&r instanceof Ye||r instanceof Pe?this.credential=r:L.isTokenCredential(r.credential)&&(this.credential=r.credential);let i=this.storageClientContext;i.requestContentType=void 0}},k=z.createSpanFunction({packagePrefix:"Azure.Storage.Blob",namespace:"Microsoft.Storage"});function W(t){var e,a;return{spanOptions:(e=t?.tracingOptions)===null||e===void 0?void 0:e.spanOptions,tracingContext:(a=t?.tracingOptions)===null||a===void 0?void 0:a.tracingContext}}o(W,"convertTracingToRequestOptionsBase");var Ci=class t{static{o(this,"BlobSASPermissions")}constructor(){this.read=!1,this.add=!1,this.create=!1,this.write=!1,this.delete=!1,this.deleteVersion=!1,this.tag=!1,this.move=!1,this.execute=!1,this.setImmutabilityPolicy=!1,this.permanentDelete=!1}static parse(e){let a=new t;for(let i of e)switch(i){case"r":a.read=!0;break;case"a":a.add=!0;break;case"c":a.create=!0;break;case"w":a.write=!0;break;case"d":a.delete=!0;break;case"x":a.deleteVersion=!0;break;case"t":a.tag=!0;break;case"m":a.move=!0;break;case"e":a.execute=!0;break;case"i":a.setImmutabilityPolicy=!0;break;case"y":a.permanentDelete=!0;break;default:throw new RangeError(`Invalid permission: ${i}`)}return a}static from(e){let a=new t;return e.read&&(a.read=!0),e.add&&(a.add=!0),e.create&&(a.create=!0),e.write&&(a.write=!0),e.delete&&(a.delete=!0),e.deleteVersion&&(a.deleteVersion=!0),e.tag&&(a.tag=!0),e.move&&(a.move=!0),e.execute&&(a.execute=!0),e.setImmutabilityPolicy&&(a.setImmutabilityPolicy=!0),e.permanentDelete&&(a.permanentDelete=!0),a}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("")}},Ti=class t{static{o(this,"ContainerSASPermissions")}constructor(){this.read=!1,this.add=!1,this.create=!1,this.write=!1,this.delete=!1,this.deleteVersion=!1,this.list=!1,this.tag=!1,this.move=!1,this.execute=!1,this.setImmutabilityPolicy=!1,this.permanentDelete=!1,this.filterByTags=!1}static parse(e){let a=new t;for(let i of e)switch(i){case"r":a.read=!0;break;case"a":a.add=!0;break;case"c":a.create=!0;break;case"w":a.write=!0;break;case"d":a.delete=!0;break;case"l":a.list=!0;break;case"t":a.tag=!0;break;case"x":a.deleteVersion=!0;break;case"m":a.move=!0;break;case"e":a.execute=!0;break;case"i":a.setImmutabilityPolicy=!0;break;case"y":a.permanentDelete=!0;break;case"f":a.filterByTags=!0;break;default:throw new RangeError(`Invalid permission ${i}`)}return a}static from(e){let a=new t;return e.read&&(a.read=!0),e.add&&(a.add=!0),e.create&&(a.create=!0),e.write&&(a.write=!0),e.delete&&(a.delete=!0),e.list&&(a.list=!0),e.deleteVersion&&(a.deleteVersion=!0),e.tag&&(a.tag=!0),e.move&&(a.move=!0),e.execute&&(a.execute=!0),e.setImmutabilityPolicy&&(a.setImmutabilityPolicy=!0),e.permanentDelete&&(a.permanentDelete=!0),e.filterByTags&&(a.filterByTags=!0),a}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("")}},R0=class{static{o(this,"UserDelegationKeyCredential")}constructor(e,a){this.accountName=e,this.userDelegationKey=a,this.key=Buffer.from(a.value,"base64")}computeHMACSHA256(e){return jv.createHmac("sha256",this.key).update(e,"utf8").digest("base64")}};function Oi(t){return t.end?`${t.start}-${t.end}`:t.start}o(Oi,"ipRangeToString");Z.SASProtocol=void 0;(function(t){t.Https="https",t.HttpsAndHttp="https,http"})(Z.SASProtocol||(Z.SASProtocol={}));var ri=class{static{o(this,"SASQueryParameters")}constructor(e,a,i,r,n,s,p,d,l,c,m,u,f,h,b Line truncated
`),n=e.computeHMACSHA256(r);return new ri(t.version,n,i,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,a,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType)}o(Yz,"generateBlobSASQueryParameters20150405");function Qz(t,e){if(t=ds(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 a="c",i=t.snapshotTime;t.blobName&&(a="b",t.snapshotTime?a="bs":t.versionId&&(a="bv",i=t.versionId));let r;t.permissions&&(t.blobName?r=Ci.parse(t.permissions.toString()).toString():r=Ti.parse(t.permissions.toString()).toString());let n=[r||"",t.startsOn?Se(t.startsOn,!1):"",t.expiresOn?Se(t.expiresOn,!1):"",ps(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?Oi(t.ipRange):"",t.protocol?t.protocol:"",t.version,a,i,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(`
`),s=e.computeHMACSHA256(n);return new ri(t.version,s,r,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,a,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType)}o(Qz,"generateBlobSASQueryParameters20181109");function Jz(t,e){if(t=ds(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 a="c",i=t.snapshotTime;t.blobName&&(a="b",t.snapshotTime?a="bs":t.versionId&&(a="bv",i=t.versionId));let r;t.permissions&&(t.blobName?r=Ci.parse(t.permissions.toString()).toString():r=Ti.parse(t.permissions.toString()).toString());let n=[r||"",t.startsOn?Se(t.startsOn,!1):"",t.expiresOn?Se(t.expiresOn,!1):"",ps(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?Oi(t.ipRange):"",t.protocol?t.protocol:"",t.version,a,i,t.encryptionScope,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(`
`),s=e.computeHMACSHA256(n);return new ri(t.version,s,r,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,a,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,void 0,void 0,void 0,t.encryptionScope)}o(Jz,"generateBlobSASQueryParameters20201206");function Zz(t,e){if(t=ds(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let a="c",i=t.snapshotTime;t.blobName&&(a="b",t.snapshotTime?a="bs":t.versionId&&(a="bv",i=t.versionId));let r;t.permissions&&(t.blobName?r=Ci.parse(t.permissions.toString()).toString():r=Ti.parse(t.permissions.toString()).toString());let n=[r||"",t.startsOn?Se(t.startsOn,!1):"",t.expiresOn?Se(t.expiresOn,!1):"",ps(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Se(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Se(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.ipRange?Oi(t.ipRange):"",t.protocol?t.protocol:"",t.version,a,i,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),s=e.computeHMACSHA256(n);return new ri(t.version,s,r,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,a,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey)}o(Zz,"generateBlobSASQueryParametersUDK20181109");function ek(t,e){if(t=ds(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let a="c",i=t.snapshotTime;t.blobName&&(a="b",t.snapshotTime?a="bs":t.versionId&&(a="bv",i=t.versionId));let r;t.permissions&&(t.blobName?r=Ci.parse(t.permissions.toString()).toString():r=Ti.parse(t.permissions.toString()).toString());let n=[r||"",t.startsOn?Se(t.startsOn,!1):"",t.expiresOn?Se(t.expiresOn,!1):"",ps(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Se(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Se(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?Oi(t.ipRange):"",t.protocol?t.protocol:"",t.version,a,i,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),s=e.computeHMACSHA256(n);return new ri(t.version,s,r,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,a,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId)}o(ek,"generateBlobSASQueryParametersUDK20200210");function tk(t,e){if(t=ds(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let a="c",i=t.snapshotTime;t.blobName&&(a="b",t.snapshotTime?a="bs":t.versionId&&(a="bv",i=t.versionId));let r;t.permissions&&(t.blobName?r=Ci.parse(t.permissions.toString()).toString():r=Ti.parse(t.permissions.toString()).toString());let n=[r||"",t.startsOn?Se(t.startsOn,!1):"",t.expiresOn?Se(t.expiresOn,!1):"",ps(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Se(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Se(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?Oi(t.ipRange):"",t.protocol?t.protocol:"",t.version,a,i,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),s=e.computeHMACSHA256(n);return new ri(t.version,s,r,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,a,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId,t.encryptionScope)}o(tk,"generateBlobSASQueryParametersUDK20201206");function ps(t,e,a){let i=[`/blob/${t}/${e}`];return a&&i.push(`/${a}`),i.join("")}o(ps,"getCanonicalName");function ds(t){let e=t.version?t.version:y2;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(ds,"SASSignatureValuesSanityCheckAndAutofill");var Xo=class{static{o(this,"BlobLeaseClient")}constructor(e,a){let i=new $o(e.url,e.pipeline.toServiceClientOptions());this._url=e.url,e.name===void 0?(this._isContainer=!0,this._containerOrBlobOperation=new Hr(i)):(this._isContainer=!1,this._containerOrBlobOperation=new jo(i)),a||(a=L.generateUuid()),this._leaseId=a}get leaseId(){return this._leaseId}get url(){return this._url}async acquireLease(e,a={}){var i,r,n,s,p,d;let{span:l,updatedOptions:c}=k("BlobLeaseClient-acquireLease",a);if(this._isContainer&&(!((i=a.conditions)===null||i===void 0)&&i.ifMatch&&((r=a.conditions)===null||r===void 0?void 0:r.ifMatch)!==ii||!((n=a.conditions)===null||n===void 0)&&n.ifNoneMatch&&((s=a.conditions)===null||s===void 0?void 0:s.ifNoneMatch)!==ii||!((p=a.conditions)===null||p===void 0)&&p.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.");try{return await this._containerOrBlobOperation.acquireLease(Object.assign({abortSignal:a.abortSignal,duration:e,modifiedAccessConditions:Object.assign(Object.assign({},a.conditions),{ifTags:(d=a.conditions)===null||d===void 0?void 0:d.tagConditions}),proposedLeaseId:this._leaseId},W(c)))}catch(m){throw l.setStatus({code:z.SpanStatusCode.ERROR,message:m.message}),m}finally{l.end()}}async changeLease(e,a={}){var i,r,n,s,p,d;let{span:l,updatedOptions:c}=k("BlobLeaseClient-changeLease",a);if(this._isContainer&&(!((i=a.conditions)===null||i===void 0)&&i.ifMatch&&((r=a.conditions)===null||r===void 0?void 0:r.ifMatch)!==ii||!((n=a.conditions)===null||n===void 0)&&n.ifNoneMatch&&((s=a.conditions)===null||s===void 0?void 0:s.ifNoneMatch)!==ii||!((p=a.conditions)===null||p===void 0)&&p.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.");try{let m=await this._containerOrBlobOperation.changeLease(this._leaseId,e,Object.assign({abortSignal:a.abortSignal,modifiedAccessConditions:Object.assign(Object.assign({},a.conditions),{ifTags:(d=a.conditions)===null||d===void 0?void 0:d.tagConditions})},W(c)));return this._leaseId=e,m}catch(m){throw l.setStatus({code:z.SpanStatusCode.ERROR,message:m.message}),m}finally{l.end()}}async releaseLease(e={}){var a,i,r,n,s,p;let{span:d,updatedOptions:l}=k("BlobLeaseClient-releaseLease",e);if(this._isContainer&&(!((a=e.conditions)===null||a===void 0)&&a.ifMatch&&((i=e.conditions)===null||i===void 0?void 0:i.ifMatch)!==ii||!((r=e.conditions)===null||r===void 0)&&r.ifNoneMatch&&((n=e.conditions)===null||n===void 0?void 0:n.ifNoneMatch)!==ii||!((s=e.conditions)===null||s===void 0)&&s.tagCon Line truncated
`):s=[e.accountName,i,r,n,t.startsOn?Se(t.startsOn,!1):"",Se(t.expiresOn,!1),t.ipRange?Oi(t.ipRange):"",t.protocol?t.protocol:"",a,""].join(`
`);let p=e.computeHMACSHA256(s);return new ri(a,p,i.toString(),r,n,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)}o(dN,"generateAccountSASQueryParameters");var Q0=class t extends Go{static{o(this,"BlobServiceClient")}constructor(e,a,i){let r;cr(a)?r=a:z.isNode&&a instanceof Ye||a instanceof Pe||z.isTokenCredential(a)?r=Ie(a,i):r=Ie(new Pe,i),super(e,r),this.serviceContext=new tc(this.storageClientContext)}static fromConnectionString(e,a){a=a||{};let i=ps(e);if(i.kind==="AccountConnString")if(z.isNode){let r=new Ye(i.accountName,i.accountKey);a.proxyOptions||(a.proxyOptions=z.getDefaultProxySettings(i.proxyUri));let n=Ie(r,a);return new t(i.url,n)}else throw new Error("Account connection string is only supported in Node.js environment");else if(i.kind==="SASConnString"){let r=Ie(new Pe,a);return new t(i.url+"?"+i.accountSas,r)}else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}getContainerClient(e){return new lc(Ue(this.url,encodeURIComponent(e)),this.pipeline)}async createContainer(e,a={}){let{span:i,updatedOptions:r}=k("BlobServiceClient-createContainer",a);try{let n=this.getContainerClient(e),s=await n.create(r);return{containerClient:n,containerCreateResponse:s}}catch(n){throw i.setStatus({code:L.SpanStatusCode.ERROR,message:n.message}),n}finally{i.end()}}async deleteContainer(e,a={}){let{span:i,updatedOptions:r}=k("BlobServiceClient-deleteContainer",a);try{return await this.getContainerClient(e).delete(r)}catch(n){throw i.setStatus({code:L.SpanStatusCode.ERROR,message:n.message}),n}finally{i.end()}}async undeleteContainer(e,a,i={}){let{span:r,updatedOptions:n}=k("BlobServiceClient-undeleteContainer",i);try{let s=this.getContainerClient(i.destinationContainerName||e),d=await new Fr(s.storageClientContext).restore(Object.assign({deletedContainerName:e,deletedContainerVersion:a},n));return{containerClient:s,containerUndeleteResponse:d}}catch(s){throw r.setStatus({code:L.SpanStatusCode.ERROR,message:s.message}),s}finally{r.end()}}async renameContainer(e,a,i={}){var r;let{span:n,updatedOptions:s}=k("BlobServiceClient-renameContainer",i);try{let p=this.getContainerClient(a),l=await new Fr(p.storageClientContext).rename(e,Object.assign(Object.assign({},s),{sourceLeaseId:(r=i.sourceCondition)===null||r===void 0?void 0:r.leaseId}));return{containerClient:p,containerRenameResponse:l}}catch(p){throw n.setStatus({code:L.SpanStatusCode.ERROR,message:p.message}),p}finally{n.end()}}async getProperties(e={}){let{span:a,updatedOptions:i}=k("BlobServiceClient-getProperties",e);try{return await this.serviceContext.getProperties(Object.assign({abortSignal:e.abortSignal},W(i)))}catch(r){throw a.setStatus({code:L.SpanStatusCode.ERROR,message:r.message}),r}finally{a.end()}}async setProperties(e,a={}){let{span:i,updatedOptions:r}=k("BlobServiceClient-setProperties",a);try{return await this.serviceContext.setProperties(e,Object.assign({abortSignal:a.abortSignal},W(r)))}catch(n){throw i.setStatus({code:L.SpanStatusCode.ERROR,message:n.message}),n}finally{i.end()}}async getStatistics(e={}){let{span:a,updatedOptions:i}=k("BlobServiceClient-getStatistics",e);try{return await this.serviceContext.getStatistics(Object.assign({abortSignal:e.abortSignal},W(i)))}catch(r){throw a.setStatus({code:L.SpanStatusCode.ERROR,message:r.message}),r}finally{a.end()}}async getAccountInfo(e={}){let{span:a,updatedOptions:i}=k("BlobServiceClient-getAccountInfo",e);try{return await this.serviceContext.getAccountInfo(Object.assign({abortSignal:e.abortSignal},W(i)))}catch(r){throw a.setStatus({code:L.SpanStatusCode.ERROR,message:r.message}),r}finally{a.end()}}async listContainersSegment(e,a={}){let{span:i,updatedOptions:r}=k("BlobServiceClient-listContainersSegment",a);try{return await this.serviceContext.listContainersSegment(Object.assign(Object.assign(Object.assign({abortSignal:a.abortSignal,marker:e},a),{include:typeof a.include=="string"?[a.include]:a.include}),W(r)))}catch(n){throw i.setStatus({code:L.SpanStatusCode.ERROR,message:n.message}),n}finally{i.end()}}async findBlobsByTagsSegment(e,a,i={}){let{span:r,updatedOptions:n}=k("BlobServiceClient-findBlobsByTagsSegment",i);try{let s=await this.serviceContext.filterBlobs(Object.assign({abortSignal:i.abortSignal,where:e,marker:a,maxPageSize:i.maxPageSize},W(n)));return Object.assign(Object.assign({},s),{_response:s._response,blobs:s.blobs.map(d=>{var l;let c="";return((l=d.tags)===null||l===void 0?void 0:l.blobTagSet.length)===1&&(c=d.tags.blobTagSet[0].value),Object.assign(Object.assign({},d),{tags:zo(d.tags),tagValue:c})})})}catch(s){throw r.setStatus({code:L.SpanStatusCode.ERROR,message:s.message}),s}finally{r.end()}}findBlobsByTagsSegments(e,a,i={}){return U.__asyncGenerator(this,arguments,o(function*(){let n;if(a||a===void 0)do n=yield U.__await(this.findBlobsByTagsSegment(e,a,i)),n.blobs=n.blobs||[],a=n.continuationToken,yield yield U.__await(n);wh Line truncated
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(a),this.code=e,this.name="NetworkError"}};Zt.NetworkError=bc;bc.isNetworkErrorCode=t=>t?["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(t):!1;var xc=class extends Error{static{o(this,"UsageError")}constructor(){let e=`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`;super(e),this.name="UsageError"}};Zt.UsageError=xc;xc.isUsageErrorMessage=t=>t?t.includes("insufficient usage"):!1});var lN=S(ea=>{"use strict";var ck=ea&&ea.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a);var r=Object.getOwnPropertyDescriptor(e,a);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[a]}}),Object.defineProperty(t,i,r)}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),mk=ea&&ea.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),uk=ea&&ea.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.prototype.hasOwnProperty.call(t,a)&&ck(e,t,a);return mk(e,t),e},fk=ea&&ea.__awaiter||function(t,e,a,i){function r(n){return n instanceof a?n:new a(function(s){s(n)})}return o(r,"adopt"),new(a||(a=Promise))(function(n,s){function p(c){try{l(i.next(c))}catch(m){s(m)}}o(p,"fulfilled");function d(c){try{l(i.throw(c))}catch(m){s(m)}}o(d,"rejected");function l(c){c.done?n(c.value):r(c.value).then(p,d)}o(l,"step"),l((i=i.apply(t,e||[])).next())})};Object.defineProperty(ea,"__esModule",{value:!0});ea.uploadCacheArchiveSDK=ea.UploadProgress=void 0;var T2=uk(kt()),hk=w2(),gk=C2(),wc=class{static{o(this,"UploadProgress")}constructor(e){this.contentLength=e,this.sentBytes=0,this.displayedComplete=!1,this.startTime=Date.now()}setSentBytes(e){this.sentBytes=e}getTransferredBytes(){return this.sentBytes}isDone(){return this.getTransferredBytes()===this.contentLength}display(){if(this.displayedComplete)return;let e=this.sentBytes,a=(100*(e/this.contentLength)).toFixed(1),i=Date.now()-this.startTime,r=(e/(1024*1024)/(i/1e3)).toFixed(1);T2.info(`Sent ${e} of ${this.contentLength} (${a}%), ${r} MBs/sec`),this.isDone()&&(this.displayedComplete=!0)}onProgress(){return e=>{this.setSentBytes(e.loadedBytes)}}startDisplayTimer(e=1e3){let a=o(()=>{this.display(),this.isDone()||(this.timeoutHandle=setTimeout(a,e))},"displayCallback");this.timeoutHandle=setTimeout(a,e)}stopDisplayTimer(){this.timeoutHandle&&(clearTimeout(this.timeoutHandle),this.timeoutHandle=void 0),this.display()}};ea.UploadProgress=wc;function yk(t,e,a){var i;return fk(this,void 0,void 0,function*(){let r=new hk.BlobClient(t),n=r.getBlockBlobClient(),s=new wc((i=a?.archiveSizeBytes)!==null&&i!==void 0?i:0),p={blockSize:a?.uploadChunkSize,concurrency:a?.uploadConcurrency,maxSingleShotSize:128*1024*1024,onProgress:s.onProgress()};try{s.startDisplayTimer(),T2.debug(`BlobClient: ${r.name}:${r.accountName}:${r.containerName}`);let d=yield n.uploadFile(e,p);if(d._response.status>=400)throw new gk.InvalidResponseError(`uploadCacheArchiveSDK: upload failed with status code ${d._response.status}`);return d}catch(d){throw T2.warning(`uploadCacheArchiveSDK: internal error uploading cache archive: ${d.message}`),d}finally{s.stopDisplayTimer()}})}o(yk,"uploadCacheArchiveSDK");ea.uploadCacheArchiveSDK=yk});var P2=S(Qe=>{"use strict";var vk=Qe&&Qe.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a);var r=Object.getOwnPropertyDescriptor(e,a);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[a]}}),Object.defineProperty(t,i,r)}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),bk=Qe&&Qe.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),xk=Qe&&Qe.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.prototype.hasOwnProperty.call(t,a)&&vk(e,t,a);return bk(e,t),e},_c=Qe&&Qe.__awaiter||function(t,e,a,i){function r(n){return n instanceof a?n:new a(function(s){s(n)})}return o(r,"adopt"),new(a||(a=Promise))(function(n,s){function p(c){try{l(i.next(c))}catch(m){s(m)}}o(p,"fulfilled");function d(c){try{l(i.throw(c))}catch(m){s(m)}}o(d,"rejected");function l(c){c.done?n(c.value):r(c.value).then(p,d)}o(l,"step"),l((i=i.apply(t,e||[])).next())})};Object.defineProperty(Qe,"__esModule",{value:!0});Qe.retryHttpClientResponse=Qe.retryTypedResponse=Qe.retry=Qe.isRetryableStatusCode=Qe.isServerErrorStatusCode=Qe.isSuccessStatusCode=void 0;var cN=xk(kt()),Nc=on(),cs=hn();function wk(t){return t?t>=200&&t<300:!1}o(wk,"isSuccessStatusCode");Qe.isSuccessStatusCode=wk;function mN(t){return t?t>=500:!0}o(mN,"isServerErrorStatusCode");Qe.isServerErrorStatusCode=mN;function uN(t){return t?[Nc.HttpCodes.BadGateway,Nc.HttpCodes.ServiceUnavailable,Nc.HttpCodes.GatewayTimeout].includes(t):!1}o(uN,"isRetryableStatusCode");Qe.isRetryableStatusCode=uN;function Nk(t){return _c(this,void 0,void 0,function*(){return new Promise(e=>setTimeout(e,t))})}o(Nk,"sleep");function O2(t,e,a,i=cs.DefaultRetryAttempts,r=cs.DefaultRetryDelay,n= Line truncated
Other caches with similar key:`);for(let p of n?.artifactCaches||[])la.debug(`Cache Key: ${p?.cacheKey}, Cache Version: ${p?.cacheVersion}, Cache Scope: ${p?.scope}, Cache Created: ${p?.creationTime}`)}}})}o(rj,"printCachesListForDiagnostics");function nj(t,e,a){return ta(this,void 0,void 0,function*(){let i=new Qk.URL(t),r=(0,A2.getDownloadOptions)(a);i.hostname.endsWith(".blob.core.windows.net")?r.useAzureSdk?yield(0,Cc.downloadCacheStorageSDK)(t,e,r):r.concurrentBlobDownloads?yield(0,Cc.downloadCacheHttpClientConcurrent)(t,e,r):yield(0,Cc.downloadCacheHttpClient)(t,e):yield(0,Cc.downloadCacheHttpClient)(t,e)})}o(nj,"downloadCache");Ct.downloadCache=nj;function sj(t,e,a){return ta(this,void 0,void 0,function*(){let i=q2(),r=us.getCacheVersion(e,a?.compressionMethod,a?.enableCrossOsArchive),n={key:t,version:r,cacheSize:a?.cacheSize};return yield(0,ur.retryTypedResponse)("reserveCache",()=>ta(this,void 0,void 0,function*(){return i.postJson(sp("caches"),n)}))})}o(sj,"reserveCache");Ct.reserveCache=sj;function _N(t,e){return`bytes ${t}-${e}/*`}o(_N,"getContentRange");function oj(t,e,a,i,r){return ta(this,void 0,void 0,function*(){la.debug(`Uploading chunk of size ${r-i+1} bytes at offset ${i} with content range: ${_N(i,r)}`);let n={"Content-Type":"application/octet-stream","Content-Range":_N(i,r)},s=yield(0,ur.retryHttpClientResponse)(`uploadChunk (start: ${i}, end: ${r})`,()=>ta(this,void 0,void 0,function*(){return t.sendStream("PATCH",e,a(),n)}));if(!(0,ur.isSuccessStatusCode)(s.message.statusCode))throw new Error(`Cache service responded with ${s.message.statusCode} during upload chunk.`)})}o(oj,"uploadChunk");function pj(t,e,a,i){return ta(this,void 0,void 0,function*(){let r=us.getArchiveFileSizeInBytes(a),n=sp(`caches/${e.toString()}`),s=D2.openSync(a,"r"),p=(0,A2.getUploadOptions)(i),d=us.assertDefined("uploadConcurrency",p.uploadConcurrency),l=us.assertDefined("uploadChunkSize",p.uploadChunkSize),c=[...new Array(d).keys()];la.debug("Awaiting all uploads");let m=0;try{yield Promise.all(c.map(()=>ta(this,void 0,void 0,function*(){for(;m<r;){let u=Math.min(r-m,l),f=m,h=m+u-1;m+=l,yield oj(t,n,()=>D2.createReadStream(a,{fd:s,start:f,end:h,autoClose:!1}).on("error",b=>{throw new Error(`Cache upload failed because file read failed with ${b.message}`)}),f,h)}})))}finally{D2.closeSync(s)}})}o(pj,"uploadFile");function dj(t,e,a){return ta(this,void 0,void 0,function*(){let i={size:a};return yield(0,ur.retryTypedResponse)("commitCache",()=>ta(this,void 0,void 0,function*(){return t.postJson(sp(`caches/${e.toString()}`),i)}))})}o(dj,"commitCache");function lj(t,e,a,i){return ta(this,void 0,void 0,function*(){if((0,A2.getUploadOptions)(i).useAzureSdk){if(!a)throw new Error("Azure Storage SDK can only be used when a signed URL is provided.");yield(0,Jk.uploadCacheArchiveSDK)(a,e,i)}else{let n=q2();la.debug("Upload cache"),yield pj(n,t,e,i),la.debug("Commiting cache");let s=us.getArchiveFileSizeInBytes(e);la.info(`Cache Size: ~${Math.round(s/(1024*1024))} MB (${s} B)`);let p=yield dj(n,t,s);if(!(0,ur.isSuccessStatusCode)(p.statusCode))throw new Error(`Cache service responded with ${p.statusCode} during commit cache.`);la.info("Cache saved successfully")}})}o(lj,"saveCache");Ct.saveCache=lj});var Tc=S(fs=>{"use strict";Object.defineProperty(fs,"__esModule",{value:!0});fs.isJsonObject=fs.typeofJsonValue=void 0;function cj(t){let e=typeof t;if(e=="object"){if(Array.isArray(t))return"array";if(t===null)return"null"}return e}o(cj,"typeofJsonValue");fs.typeofJsonValue=cj;function mj(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}o(mj,"isJsonObject");fs.isJsonObject=mj});var Pc=S(hs=>{"use strict";Object.defineProperty(hs,"__esModule",{value:!0});hs.base64encode=hs.base64decode=void 0;var Di="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),Oc=[];for(let t=0;t<Di.length;t++)Oc[Di[t].charCodeAt(0)]=t;Oc["-".charCodeAt(0)]=Di.indexOf("+");Oc["_".charCodeAt(0)]=Di.indexOf("/");function uj(t){let e=t.length*3/4;t[t.length-2]=="="?e-=2:t[t.length-1]=="="&&(e-=1);let a=new Uint8Array(e),i=0,r=0,n,s=0;for(let p=0;p<t.length;p++){if(n=Oc[t.charCodeAt(p)],n===void 0)switch(t[p]){case"=":r=0;case`
`:case"\r":case" ":case" ":continue;default:throw Error("invalid base64 string.")}switch(r){case 0:s=n,r=1;break;case 1:a[i++]=s<<2|(n&48)>>4,s=n,r=2;break;case 2:a[i++]=(s&15)<<4|(n&60)>>2,s=n,r=3;break;case 3:a[i++]=(s&3)<<6|n,r=0;break}}if(r==1)throw Error("invalid base64 string.");return a.subarray(0,i)}o(uj,"base64decode");hs.base64decode=uj;function fj(t){let e="",a=0,i,r=0;for(let n=0;n<t.length;n++)switch(i=t[n],a){case 0:e+=Di[i>>2],r=(i&3)<<4,a=1;break;case 1:e+=Di[r|i>>4],r=(i&15)<<2,a=2;break;case 2:e+=Di[r|i>>6],e+=Di[i&63],a=0;break}return a&&(e+=Di[r],e+="=",a==1&&(e+="=")),e}o(fj,"base64encode");hs.base64encode=fj});var EN=S(Rc=>{"use strict";Object.defineProperty(Rc,"__esModule",{value:!0});Rc.utf8read=void 0;var M2=o(t=>String.fromCharCode.apply(String,t),"fromCharCodes");function hj(t){if(t.length<1)return"";let e=0,a=[],i=[],r=0,n,s=t.length;for(;e<s;)n=t[e++],n<128?i[r++]=n:n>191&&n<224?i[r++]=(n&31)<<6|t[e++]&63:n>239&&n<365?(n=((n&7)<<18|(t[e++]&63)<<12|(t[e++]&63)<<6|t[e++]&63)-65536,i[r++]=55296+(n>>10),i[r++]=56320+(n&1023)):i[r++]=(n&15)<<12|(t[e++]&63)<<6|t[e++]&63,r>8191&&(a.push(M2(i)),r=0);return a.length?(r&&a.push(M2(i.slice(0,r))),a.join("")):M2(i.slice(0,r))}o(hj,"utf8read");Rc.utf8read=hj});var op=S(si=>{"use strict";Object.defineProperty(si,"__esModule",{value:!0});si.WireType=si.mergeBinaryOptions=si.UnknownFieldHandler=void 0;var gj;(function(t){t.symbol=Symbol.for("protobuf-ts/unknown"),t.onRead=(a,i,r,n,s)=>{(e(i)?i[t.symbol]:i[t.symbol]=[]).push({no:r,wireType:n,data:s})},t.onWrite=(a,i,r)=>{for(let{no:n,wireType:s,data:p}of t.list(i))r.tag(n,s).raw(p)},t.list=(a,i)=>{if(e(a)){let r=a[t.symbol];return i?r.filter(n=>n.no==i):r}return[]},t.last=(a,i)=>t.list(a,i).slice(-1)[0];let e=o(a=>a&&Array.isArray(a[t.symbol]),"is")})(gj=si.UnknownFieldHandler||(si.UnknownFieldHandler={}));function yj(t,e){return Object.assign(Object.assign({},t),e)}o(yj,"mergeBinaryOptions");si.mergeBinaryOptions=yj;var vj;(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"})(vj=si.WireType||(si.WireType={}))});var Dc=S(aa=>{"use strict";Object.defineProperty(aa,"__esModule",{value:!0});aa.varint32read=aa.varint32write=aa.int64toString=aa.int64fromString=aa.varint64write=aa.varint64read=void 0;function bj(){let t=0,e=0;for(let i=0;i<28;i+=7){let r=this.buf[this.pos++];if(t|=(r&127)<<i,!(r&128))return this.assertBounds(),[t,e]}let a=this.buf[this.pos++];if(t|=(a&15)<<28,e=(a&112)>>4,!(a&128))return this.assertBounds(),[t,e];for(let i=3;i<=31;i+=7){let r=this.buf[this.pos++];if(e|=(r&127)<<i,!(r&128))return this.assertBounds(),[t,e]}throw new Error("invalid varint")}o(bj,"varint64read");aa.varint64read=bj;function xj(t,e,a){for(let n=0;n<28;n=n+7){let s=t>>>n,p=!(!(s>>>7)&&e==0),d=(p?s|128:s)&255;if(a.push(d),!p)return}let i=t>>>28&15|(e&7)<<4,r=!!(e>>3);if(a.push((r?i|128:i)&255),!!r){for(let n=3;n<31;n=n+7){let s=e>>>n,p=!!(s>>>7),d=(p?s|128:s)&255;if(a.push(d),!p)return}a.push(e>>>31&1)}}o(xj,"varint64write");aa.varint64write=xj;var Ic=65536*65536;function wj(t){let e=t[0]=="-";e&&(t=t.slice(1));let a=1e6,i=0,r=0;function n(s,p){let d=Number(t.slice(s,p));r*=a,i=i*a+d,i>=Ic&&(r=r+(i/Ic|0),i=i%Ic)}return o(n,"add1e6digit"),n(-24,-18),n(-18,-12),n(-12,-6),n(-6),[e,i,r]}o(wj,"int64fromString");aa.int64fromString=wj;function Nj(t,e){if(e>>>0<=2097151)return""+(Ic*e+(t>>>0));let a=t&16777215,i=(t>>>24|e<<8)>>>0&16777215,r=e>>16&65535,n=a+i*6777216+r*6710656,s=i+r*8147497,p=r*2,d=1e7;n>=d&&(s+=Math.floor(n/d),n%=d),s>=d&&(p+=Math.floor(s/d),s%=d);function l(c,m){let u=c?String(c):"";return m?"0000000".slice(u.length)+u:u}return o(l,"decimalFrom1e7"),l(p,0)+l(s,p)+l(n,1)}o(Nj,"int64toString");aa.int64toString=Nj;function _j(t,e){if(t>=0){for(;t>127;)e.push(t&127|128),t=t>>>7;e.push(t)}else{for(let a=0;a<9;a++)e.push(t&127|128),t=t>>7;e.push(1)}}o(_j,"varint32write");aa.varint32write=_j;function Sj(){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 a=5;t&128&&a<10;a++)t=this.buf[this.pos++];if(t&128)throw new Error("invalid varint");return this.assertBounds(),e>>>0}o(Sj,"varint32read");aa.varint32read=Sj});var hr=S(fr=>{"use strict";Object.defineProperty(fr,"__esModule",{value:!0});fr.PbLong=fr.PbULong=fr.detectBi=void 0;var pp=Dc(),De;function CN(){let t=new DataView(new ArrayBuffer(8));De=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: Line truncated
`)}};nm.RpcError=dh});var ch=S(om=>{"use strict";Object.defineProperty(om,"__esModule",{value:!0});om.mergeRpcOptions=void 0;var i_=st();function GU(t,e){if(!e)return t;let a={};sm(t,a),sm(e,a);for(let i of Object.keys(e)){let r=e[i];switch(i){case"jsonOptions":a.jsonOptions=i_.mergeJsonOptions(t.jsonOptions,a.jsonOptions);break;case"binaryOptions":a.binaryOptions=i_.mergeBinaryOptions(t.binaryOptions,a.binaryOptions);break;case"meta":a.meta={},sm(t.meta,a.meta),sm(e.meta,a.meta);break;case"interceptors":a.interceptors=t.interceptors?t.interceptors.concat(r):r.concat();break}}return a}o(GU,"mergeRpcOptions");om.mergeRpcOptions=GU;function sm(t,e){if(!t)return;let a=e;for(let[i,r]of Object.entries(t))r instanceof Date?a[i]=new Date(r.getTime()):Array.isArray(r)?a[i]=r.concat():a[i]=r}o(sm,"copy")});var uh=S(Qr=>{"use strict";Object.defineProperty(Qr,"__esModule",{value:!0});Qr.Deferred=Qr.DeferredState=void 0;var di;(function(t){t[t.PENDING=0]="PENDING",t[t.REJECTED=1]="REJECTED",t[t.RESOLVED=2]="RESOLVED"})(di=Qr.DeferredState||(Qr.DeferredState={}));var mh=class{static{o(this,"Deferred")}constructor(e=!0){this._state=di.PENDING,this._promise=new Promise((a,i)=>{this._resolve=a,this._reject=i}),e&&this._promise.catch(a=>{})}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)}};Qr.Deferred=mh});var hh=S(pm=>{"use strict";Object.defineProperty(pm,"__esModule",{value:!0});pm.RpcOutputStreamController=void 0;var r_=uh(),Jr=st(),fh=class{static{o(this,"RpcOutputStreamController")}constructor(){this._lis={nxt:[],msg:[],err:[],cmp:[]},this._closed=!1}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,a){return a.push(e),()=>{let i=a.indexOf(e);i>=0&&a.splice(i,1)}}clearLis(){for(let e of Object.values(this._lis))e.splice(0,e.length)}get closed(){return this._closed!==!1}notifyNext(e,a,i){Jr.assert((e?1:0)+(a?1:0)+(i?1:0)<=1,"only one emission at a time"),e&&this.notifyMessage(e),a&&this.notifyError(a),i&&this.notifyComplete()}notifyMessage(e){Jr.assert(!this.closed,"stream is closed"),this.pushIt({value:e,done:!1}),this._lis.msg.forEach(a=>a(e)),this._lis.nxt.forEach(a=>a(e,void 0,!1))}notifyError(e){Jr.assert(!this.closed,"stream is closed"),this._closed=e,this.pushIt(e),this._lis.err.forEach(a=>a(e)),this._lis.nxt.forEach(a=>a(void 0,e,!1)),this.clearLis()}notifyComplete(){Jr.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._itState||(this._itState={q:[]}),this._closed===!0?this.pushIt({value:null,done:!0}):this._closed!==!1&&this.pushIt(this._closed),{next:()=>{let e=this._itState;Jr.assert(e,"bad state"),Jr.assert(!e.p,"iterator contract broken");let a=e.q.shift();return a?"value"in a?Promise.resolve(a):Promise.reject(a):(e.p=new r_.Deferred,e.p.promise)}}}pushIt(e){let a=this._itState;if(a)if(a.p){let i=a.p;Jr.assert(i.state==r_.DeferredState.PENDING,"iterator contract broken"),"value"in e?i.resolve(e):i.reject(e),delete a.p}else a.q.push(e)}};pm.RpcOutputStreamController=fh});var yh=S(Ns=>{"use strict";var XU=Ns&&Ns.__awaiter||function(t,e,a,i){function r(n){return n instanceof a?n:new a(function(s){s(n)})}return o(r,"adopt"),new(a||(a=Promise))(function(n,s){function p(c){try{l(i.next(c))}catch(m){s(m)}}o(p,"fulfilled");function d(c){try{l(i.throw(c))}catch(m){s(m)}}o(d,"rejected");function l(c){c.done?n(c.value):r(c.value).then(p,d)}o(l,"step"),l((i=i.apply(t,e||[])).next())})};Object.defineProperty(Ns,"__esModule",{value:!0});Ns.UnaryCall=void 0;var gh=class{static{o(this,"UnaryCall")}constructor(e,a,i,r,n,s,p){this.method=e,this.requestHeaders=a,this.request=i,this.headers=r,this.response=n,this.status=s,this.trailers=p}then(e,a){return this.promiseFinished().then(i=>e?Promise.resolve(e(i)):i,i=>a?Promise.resolve(a(i)):Promise.reject(i))}promiseFinished(){return XU(this,void 0,void 0,function*(){let[e,a,i,r]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:e,response:a,status:i,trailers:r}})}};Ns.UnaryCall=gh});var bh=S(_s=>{"use strict";var WU=_s&&_s.__awaiter||function(t,e,a,i){function r(n){return n instanceof a?n:new a(function(s){s(n)})}return o(r,"adopt"),new(a||(a=Promise))(function(n,s){function p(c){try{l(i.next(c))}catch(m){s(m)}}o(p,"fulfilled");function Line truncated
`));let i=yield Uh(a,"create");yield Fh(i,t)})}o(FF,"createTar");zt.createTar=FF});var C_=S(ot=>{"use strict";var HF=ot&&ot.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a);var r=Object.getOwnPropertyDescriptor(e,a);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[a]}}),Object.defineProperty(t,i,r)}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),VF=ot&&ot.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),Np=ot&&ot.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.prototype.hasOwnProperty.call(t,a)&&HF(e,t,a);return VF(e,t),e},Ls=ot&&ot.__awaiter||function(t,e,a,i){function r(n){return n instanceof a?n:new a(function(s){s(n)})}return o(r,"adopt"),new(a||(a=Promise))(function(n,s){function p(c){try{l(i.next(c))}catch(m){s(m)}}o(p,"fulfilled");function d(c){try{l(i.throw(c))}catch(m){s(m)}}o(d,"rejected");function l(c){c.done?n(c.value):r(c.value).then(p,d)}o(l,"step"),l((i=i.apply(t,e||[])).next())})};Object.defineProperty(ot,"__esModule",{value:!0});ot.saveCache=ot.restoreCache=ot.isFeatureAvailable=ot.ReserveCacheError=ot.ValidationError=void 0;var re=Np(kt()),gm=Np(require("path")),ke=Np(yn()),zs=Np(SN()),S_=Np(x_()),ym=Sc(),vr=__(),$F=hn(),Pa=class t extends Error{static{o(this,"ValidationError")}constructor(e){super(e),this.name="ValidationError",Object.setPrototypeOf(this,t.prototype)}};ot.ValidationError=Pa;var Zr=class t extends Error{static{o(this,"ReserveCacheError")}constructor(e){super(e),this.name="ReserveCacheError",Object.setPrototypeOf(this,t.prototype)}};ot.ReserveCacheError=Zr;function E_(t){if(!t||t.length===0)throw new Pa("Path Validation Error: At least one directory or file path is required")}o(E_,"checkPaths");function Hh(t){if(t.length>512)throw new Pa(`Key Validation Error: ${t} cannot be larger than 512 characters.`);if(!/^[^,]*$/.test(t))throw new Pa(`Key Validation Error: ${t} cannot contain commas.`)}o(Hh,"checkKey");function GF(){return!!process.env.ACTIONS_CACHE_URL}o(GF,"isFeatureAvailable");ot.isFeatureAvailable=GF;function XF(t,e,a,i,r=!1){return Ls(this,void 0,void 0,function*(){let n=(0,ym.getCacheServiceVersion)();switch(re.debug(`Cache service version: ${n}`),E_(t),n){case"v2":return yield KF(t,e,a,i,r);case"v1":default:return yield WF(t,e,a,i,r)}})}o(XF,"restoreCache");ot.restoreCache=XF;function WF(t,e,a,i,r=!1){return Ls(this,void 0,void 0,function*(){a=a||[];let n=[e,...a];if(re.debug("Resolved Keys:"),re.debug(JSON.stringify(n)),n.length>10)throw new Pa("Key Validation Error: Keys are limited to a maximum of 10.");for(let d of n)Hh(d);let s=yield ke.getCompressionMethod(),p="";try{let d=yield zs.getCacheEntry(n,t,{compressionMethod:s,enableCrossOsArchive:r});if(!d?.archiveLocation)return;if(i?.lookupOnly)return re.info("Lookup only - skipping download"),d.cacheKey;p=gm.join(yield ke.createTempDirectory(),ke.getCacheFileName(s)),re.debug(`Archive Path: ${p}`),yield zs.downloadCache(d.archiveLocation,p,i),re.isDebug()&&(yield(0,vr.listTar)(p,s));let l=ke.getArchiveFileSizeInBytes(p);return re.info(`Cache Size: ~${Math.round(l/(1024*1024))} MB (${l} B)`),yield(0,vr.extractTar)(p,s),re.info("Cache restored successfully"),d.cacheKey}catch(d){if(d.name===Pa.name)throw d;re.warning(`Failed to restore: ${d.message}`)}finally{try{yield ke.unlinkFile(p)}catch(d){re.debug(`Failed to delete archive: ${d}`)}}})}o(WF,"restoreCacheV1");function KF(t,e,a,i,r=!1){return Ls(this,void 0,void 0,function*(){i=Object.assign(Object.assign({},i),{useAzureSdk:!0}),a=a||[];let n=[e,...a];if(re.debug("Resolved Keys:"),re.debug(JSON.stringify(n)),n.length>10)throw new Pa("Key Validation Error: Keys are limited to a maximum of 10.");for(let p of n)Hh(p);let s="";try{let p=S_.internalCacheTwirpClient(),d=yield ke.getCompressionMethod(),l={key:e,restoreKeys:a,version:ke.getCacheVersion(t,d,r)},c=yield p.GetCacheEntryDownloadURL(l);if(!c.ok){re.debug(`Cache not found for version ${l.version} of keys: ${n.join(", ")}`);return}if(re.info(`Cache hit for: ${l.key}`),i?.lookupOnly)return re.info("Lookup only - skipping download"),c.matchedKey;s=gm.join(yield ke.createTempDirectory(),ke.getCacheFileName(d)),re.debug(`Archive path: ${s}`),re.debug(`Starting download of archive to: ${s}`),yield zs.downloadCache(c.signedDownloadUrl,s,i);let m=ke.getArchiveFileSizeInBytes(s);return re.info(`Cache Size: ~${Math.round(m/(1024*1024))} MB (${m} B)`),re.isDebug()&&(yield(0,vr.listTar)(s,d)),yield(0,vr.extractTar)(s,d),re.info("Cache restored successfully"),c.matchedKey}catch(p){if(p.name===Pa.name)throw p;re.warning(`Failed to restore: ${p.message}`)}finally{try{s&&(yield ke.unlinkFile(s))}catch(p){re.debug(`Failed to delete archive: ${p}`)}}})}o(KF,"restoreCacheV2");function YF(t,e,a,i=!1){return Ls(this,void 0,void 0,function*(){let r=(0,ym.getCacheServiceVersion)();switch(re.debug(`Cache servLine truncated
`);let p=e.computeHMACSHA256(s);return new ri(a,p,i.toString(),r,n,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)}o(cN,"generateAccountSASQueryParameters");var Z0=class t extends Go{static{o(this,"BlobServiceClient")}constructor(e,a,i){let r;cr(a)?r=a:L.isNode&&a instanceof Ye||a instanceof Pe||L.isTokenCredential(a)?r=Ie(a,i):r=Ie(new Pe,i),super(e,r),this.serviceContext=new ac(this.storageClientContext)}static fromConnectionString(e,a){a=a||{};let i=os(e);if(i.kind==="AccountConnString")if(L.isNode){let r=new Ye(i.accountName,i.accountKey);a.proxyOptions||(a.proxyOptions=L.getDefaultProxySettings(i.proxyUri));let n=Ie(r,a);return new t(i.url,n)}else throw new Error("Account connection string is only supported in Node.js environment");else if(i.kind==="SASConnString"){let r=Ie(new Pe,a);return new t(i.url+"?"+i.accountSas,r)}else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}getContainerClient(e){return new cc(Ue(this.url,encodeURIComponent(e)),this.pipeline)}async createContainer(e,a={}){let{span:i,updatedOptions:r}=k("BlobServiceClient-createContainer",a);try{let n=this.getContainerClient(e),s=await n.create(r);return{containerClient:n,containerCreateResponse:s}}catch(n){throw i.setStatus({code:z.SpanStatusCode.ERROR,message:n.message}),n}finally{i.end()}}async deleteContainer(e,a={}){let{span:i,updatedOptions:r}=k("BlobServiceClient-deleteContainer",a);try{return await this.getContainerClient(e).delete(r)}catch(n){throw i.setStatus({code:z.SpanStatusCode.ERROR,message:n.message}),n}finally{i.end()}}async undeleteContainer(e,a,i={}){let{span:r,updatedOptions:n}=k("BlobServiceClient-undeleteContainer",i);try{let s=this.getContainerClient(i.destinationContainerName||e),d=await new Hr(s.storageClientContext).restore(Object.assign({deletedContainerName:e,deletedContainerVersion:a},n));return{containerClient:s,containerUndeleteResponse:d}}catch(s){throw r.setStatus({code:z.SpanStatusCode.ERROR,message:s.message}),s}finally{r.end()}}async renameContainer(e,a,i={}){var r;let{span:n,updatedOptions:s}=k("BlobServiceClient-renameContainer",i);try{let p=this.getContainerClient(a),l=await new Hr(p.storageClientContext).rename(e,Object.assign(Object.assign({},s),{sourceLeaseId:(r=i.sourceCondition)===null||r===void 0?void 0:r.leaseId}));return{containerClient:p,containerRenameResponse:l}}catch(p){throw n.setStatus({code:z.SpanStatusCode.ERROR,message:p.message}),p}finally{n.end()}}async getProperties(e={}){let{span:a,updatedOptions:i}=k("BlobServiceClient-getProperties",e);try{return await this.serviceContext.getProperties(Object.assign({abortSignal:e.abortSignal},W(i)))}catch(r){throw a.setStatus({code:z.SpanStatusCode.ERROR,message:r.message}),r}finally{a.end()}}async setProperties(e,a={}){let{span:i,updatedOptions:r}=k("BlobServiceClient-setProperties",a);try{return await this.serviceContext.setProperties(e,Object.assign({abortSignal:a.abortSignal},W(r)))}catch(n){throw i.setStatus({code:z.SpanStatusCode.ERROR,message:n.message}),n}finally{i.end()}}async getStatistics(e={}){let{span:a,updatedOptions:i}=k("BlobServiceClient-getStatistics",e);try{return await this.serviceContext.getStatistics(Object.assign({abortSignal:e.abortSignal},W(i)))}catch(r){throw a.setStatus({code:z.SpanStatusCode.ERROR,message:r.message}),r}finally{a.end()}}async getAccountInfo(e={}){let{span:a,updatedOptions:i}=k("BlobServiceClient-getAccountInfo",e);try{return await this.serviceContext.getAccountInfo(Object.assign({abortSignal:e.abortSignal},W(i)))}catch(r){throw a.setStatus({code:z.SpanStatusCode.ERROR,message:r.message}),r}finally{a.end()}}async listContainersSegment(e,a={}){let{span:i,updatedOptions:r}=k("BlobServiceClient-listContainersSegment",a);try{return await this.serviceContext.listContainersSegment(Object.assign(Object.assign(Object.assign({abortSignal:a.abortSignal,marker:e},a),{include:typeof a.include=="string"?[a.include]:a.include}),W(r)))}catch(n){throw i.setStatus({code:z.SpanStatusCode.ERROR,message:n.message}),n}finally{i.end()}}async findBlobsByTagsSegment(e,a,i={}){let{span:r,updatedOptions:n}=k("BlobServiceClient-findBlobsByTagsSegment",i);try{let s=await this.serviceContext.filterBlobs(Object.assign({abortSignal:i.abortSignal,where:e,marker:a,maxPageSize:i.maxPageSize},W(n)));return Object.assign(Object.assign({},s),{_response:s._response,blobs:s.blobs.map(d=>{var l;let c="";return((l=d.tags)===null||l===void 0?void 0:l.blobTagSet.length)===1&&(c=d.tags.blobTagSet[0].value),Object.assign(Object.assign({},d),{tags:Lo(d.tags),tagValue:c})})})}catch(s){throw r.setStatus({code:z.SpanStatusCode.ERROR,message:s.message}),s}finally{r.end()}}findBlobsByTagsSegments(e,a,i={}){return U.__asyncGenerator(this,arguments,o(function*(){let n;if(a||a===void 0)do n=yield U.__await(this.findBlobsByTagsSegment(e,a,i)),n.blobs=n.blobs||[],a=n.continuationToken,yield yield U.__await(n);wh Line truncated
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(a),this.code=e,this.name="NetworkError"}};Zt.NetworkError=xc;xc.isNetworkErrorCode=t=>t?["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(t):!1;var wc=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"}};Zt.UsageError=wc;wc.isUsageErrorMessage=t=>t?t.includes("insufficient usage"):!1});var mN=S(ea=>{"use strict";var fk=ea&&ea.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a);var r=Object.getOwnPropertyDescriptor(e,a);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[a]}}),Object.defineProperty(t,i,r)}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),hk=ea&&ea.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),gk=ea&&ea.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.prototype.hasOwnProperty.call(t,a)&&fk(e,t,a);return hk(e,t),e},yk=ea&&ea.__awaiter||function(t,e,a,i){function r(n){return n instanceof a?n:new a(function(s){s(n)})}return o(r,"adopt"),new(a||(a=Promise))(function(n,s){function p(c){try{l(i.next(c))}catch(m){s(m)}}o(p,"fulfilled");function d(c){try{l(i.throw(c))}catch(m){s(m)}}o(d,"rejected");function l(c){c.done?n(c.value):r(c.value).then(p,d)}o(l,"step"),l((i=i.apply(t,e||[])).next())})};Object.defineProperty(ea,"__esModule",{value:!0});ea.uploadCacheArchiveSDK=ea.UploadProgress=void 0;var P2=gk(kt()),vk=_2(),bk=O2(),Nc=class{static{o(this,"UploadProgress")}constructor(e){this.contentLength=e,this.sentBytes=0,this.displayedComplete=!1,this.startTime=Date.now()}setSentBytes(e){this.sentBytes=e}getTransferredBytes(){return this.sentBytes}isDone(){return this.getTransferredBytes()===this.contentLength}display(){if(this.displayedComplete)return;let e=this.sentBytes,a=(100*(e/this.contentLength)).toFixed(1),i=Date.now()-this.startTime,r=(e/(1024*1024)/(i/1e3)).toFixed(1);P2.info(`Sent ${e} of ${this.contentLength} (${a}%), ${r} MBs/sec`),this.isDone()&&(this.displayedComplete=!0)}onProgress(){return e=>{this.setSentBytes(e.loadedBytes)}}startDisplayTimer(e=1e3){let a=o(()=>{this.display(),this.isDone()||(this.timeoutHandle=setTimeout(a,e))},"displayCallback");this.timeoutHandle=setTimeout(a,e)}stopDisplayTimer(){this.timeoutHandle&&(clearTimeout(this.timeoutHandle),this.timeoutHandle=void 0),this.display()}};ea.UploadProgress=Nc;function xk(t,e,a){var i;return yk(this,void 0,void 0,function*(){let r=new vk.BlobClient(t),n=r.getBlockBlobClient(),s=new Nc((i=a?.archiveSizeBytes)!==null&&i!==void 0?i:0),p={blockSize:a?.uploadChunkSize,concurrency:a?.uploadConcurrency,maxSingleShotSize:128*1024*1024,onProgress:s.onProgress()};try{s.startDisplayTimer(),P2.debug(`BlobClient: ${r.name}:${r.accountName}:${r.containerName}`);let d=yield n.uploadFile(e,p);if(d._response.status>=400)throw new bk.InvalidResponseError(`uploadCacheArchiveSDK: upload failed with status code ${d._response.status}`);return d}catch(d){throw P2.warning(`uploadCacheArchiveSDK: internal error uploading cache archive: ${d.message}`),d}finally{s.stopDisplayTimer()}})}o(xk,"uploadCacheArchiveSDK");ea.uploadCacheArchiveSDK=xk});var I2=S(Qe=>{"use strict";var wk=Qe&&Qe.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a);var r=Object.getOwnPropertyDescriptor(e,a);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[a]}}),Object.defineProperty(t,i,r)}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),Nk=Qe&&Qe.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),_k=Qe&&Qe.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.prototype.hasOwnProperty.call(t,a)&&wk(e,t,a);return Nk(e,t),e},Sc=Qe&&Qe.__awaiter||function(t,e,a,i){function r(n){return n instanceof a?n:new a(function(s){s(n)})}return o(r,"adopt"),new(a||(a=Promise))(function(n,s){function p(c){try{l(i.next(c))}catch(m){s(m)}}o(p,"fulfilled");function d(c){try{l(i.throw(c))}catch(m){s(m)}}o(d,"rejected");function l(c){c.done?n(c.value):r(c.value).then(p,d)}o(l,"step"),l((i=i.apply(t,e||[])).next())})};Object.defineProperty(Qe,"__esModule",{value:!0});Qe.retryHttpClientResponse=Qe.retryTypedResponse=Qe.retry=Qe.isRetryableStatusCode=Qe.isServerErrorStatusCode=Qe.isSuccessStatusCode=void 0;var uN=_k(kt()),_c=br(),ls=Qs();function Sk(t){return t?t>=200&&t<300:!1}o(Sk,"isSuccessStatusCode");Qe.isSuccessStatusCode=Sk;function fN(t){return t?t>=500:!0}o(fN,"isServerErrorStatusCode");Qe.isServerErrorStatusCode=fN;function hN(t){return t?[_c.HttpCodes.BadGateway,_c.HttpCodes.ServiceUnavailable,_c.HttpCodes.GatewayTimeout].includes(t):!1}o(hN,"isRetryableStatusCode");Qe.isRetryableStatusCode=hN;function Ek(t){return Sc(this,void 0,void 0,function*(){return new Promise(e=>setTimeout(e,t))})}o(Ek,"sleep");function R2(t,e,a,i=ls.DefaultRetryAttempts,r=ls.DefaultRetryDelay,n=void 0){ Line truncated
Other caches with similar key:`);for(let p of n?.artifactCaches||[])la.debug(`Cache Key: ${p?.cacheKey}, Cache Version: ${p?.cacheVersion}, Cache Scope: ${p?.scope}, Cache Created: ${p?.creationTime}`)}}})}o(oj,"printCachesListForDiagnostics");function pj(t,e,a){return ta(this,void 0,void 0,function*(){let i=new ej.URL(t),r=(0,M2.getDownloadOptions)(a);i.hostname.endsWith(".blob.core.windows.net")?r.useAzureSdk?yield(0,Tc.downloadCacheStorageSDK)(t,e,r):r.concurrentBlobDownloads?yield(0,Tc.downloadCacheHttpClientConcurrent)(t,e,r):yield(0,Tc.downloadCacheHttpClient)(t,e):yield(0,Tc.downloadCacheHttpClient)(t,e)})}o(pj,"downloadCache");Tt.downloadCache=pj;function dj(t,e,a){return ta(this,void 0,void 0,function*(){let i=L2(),r=ms.getCacheVersion(e,a?.compressionMethod,a?.enableCrossOsArchive),n={key:t,version:r,cacheSize:a?.cacheSize};return yield(0,ur.retryTypedResponse)("reserveCache",()=>ta(this,void 0,void 0,function*(){return i.postJson(sp("caches"),n)}))})}o(dj,"reserveCache");Tt.reserveCache=dj;function EN(t,e){return`bytes ${t}-${e}/*`}o(EN,"getContentRange");function lj(t,e,a,i,r){return ta(this,void 0,void 0,function*(){la.debug(`Uploading chunk of size ${r-i+1} bytes at offset ${i} with content range: ${EN(i,r)}`);let n={"Content-Type":"application/octet-stream","Content-Range":EN(i,r)},s=yield(0,ur.retryHttpClientResponse)(`uploadChunk (start: ${i}, end: ${r})`,()=>ta(this,void 0,void 0,function*(){return t.sendStream("PATCH",e,a(),n)}));if(!(0,ur.isSuccessStatusCode)(s.message.statusCode))throw new Error(`Cache service responded with ${s.message.statusCode} during upload chunk.`)})}o(lj,"uploadChunk");function cj(t,e,a,i){return ta(this,void 0,void 0,function*(){let r=ms.getArchiveFileSizeInBytes(a),n=sp(`caches/${e.toString()}`),s=A2.openSync(a,"r"),p=(0,M2.getUploadOptions)(i),d=ms.assertDefined("uploadConcurrency",p.uploadConcurrency),l=ms.assertDefined("uploadChunkSize",p.uploadChunkSize),c=[...new Array(d).keys()];la.debug("Awaiting all uploads");let m=0;try{yield Promise.all(c.map(()=>ta(this,void 0,void 0,function*(){for(;m<r;){let u=Math.min(r-m,l),f=m,h=m+u-1;m+=l,yield lj(t,n,()=>A2.createReadStream(a,{fd:s,start:f,end:h,autoClose:!1}).on("error",b=>{throw new Error(`Cache upload failed because file read failed with ${b.message}`)}),f,h)}})))}finally{A2.closeSync(s)}})}o(cj,"uploadFile");function mj(t,e,a){return ta(this,void 0,void 0,function*(){let i={size:a};return yield(0,ur.retryTypedResponse)("commitCache",()=>ta(this,void 0,void 0,function*(){return t.postJson(sp(`caches/${e.toString()}`),i)}))})}o(mj,"commitCache");function uj(t,e,a,i){return ta(this,void 0,void 0,function*(){if((0,M2.getUploadOptions)(i).useAzureSdk){if(!a)throw new Error("Azure Storage SDK can only be used when a signed URL is provided.");yield(0,tj.uploadCacheArchiveSDK)(a,e,i)}else{let n=L2();la.debug("Upload cache"),yield cj(n,t,e,i),la.debug("Commiting cache");let s=ms.getArchiveFileSizeInBytes(e);la.info(`Cache Size: ~${Math.round(s/(1024*1024))} MB (${s} B)`);let p=yield mj(n,t,s);if(!(0,ur.isSuccessStatusCode)(p.statusCode))throw new Error(`Cache service responded with ${p.statusCode} during commit cache.`);la.info("Cache saved successfully")}})}o(uj,"saveCache");Tt.saveCache=uj});var Oc=S(us=>{"use strict";Object.defineProperty(us,"__esModule",{value:!0});us.isJsonObject=us.typeofJsonValue=void 0;function fj(t){let e=typeof t;if(e=="object"){if(Array.isArray(t))return"array";if(t===null)return"null"}return e}o(fj,"typeofJsonValue");us.typeofJsonValue=fj;function hj(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}o(hj,"isJsonObject");us.isJsonObject=hj});var Rc=S(fs=>{"use strict";Object.defineProperty(fs,"__esModule",{value:!0});fs.base64encode=fs.base64decode=void 0;var Di="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),Pc=[];for(let t=0;t<Di.length;t++)Pc[Di[t].charCodeAt(0)]=t;Pc[45]=Di.indexOf("+");Pc[95]=Di.indexOf("/");function gj(t){let e=t.length*3/4;t[t.length-2]=="="?e-=2:t[t.length-1]=="="&&(e-=1);let a=new Uint8Array(e),i=0,r=0,n,s=0;for(let p=0;p<t.length;p++){if(n=Pc[t.charCodeAt(p)],n===void 0)switch(t[p]){case"=":r=0;case`
`:case"\r":case" ":case" ":continue;default:throw Error("invalid base64 string.")}switch(r){case 0:s=n,r=1;break;case 1:a[i++]=s<<2|(n&48)>>4,s=n,r=2;break;case 2:a[i++]=(s&15)<<4|(n&60)>>2,s=n,r=3;break;case 3:a[i++]=(s&3)<<6|n,r=0;break}}if(r==1)throw Error("invalid base64 string.");return a.subarray(0,i)}o(gj,"base64decode");fs.base64decode=gj;function yj(t){let e="",a=0,i,r=0;for(let n=0;n<t.length;n++)switch(i=t[n],a){case 0:e+=Di[i>>2],r=(i&3)<<4,a=1;break;case 1:e+=Di[r|i>>4],r=(i&15)<<2,a=2;break;case 2:e+=Di[r|i>>6],e+=Di[i&63],a=0;break}return a&&(e+=Di[r],e+="=",a==1&&(e+="=")),e}o(yj,"base64encode");fs.base64encode=yj});var TN=S(Ic=>{"use strict";Object.defineProperty(Ic,"__esModule",{value:!0});Ic.utf8read=void 0;var z2=o(t=>String.fromCharCode.apply(String,t),"fromCharCodes");function vj(t){if(t.length<1)return"";let e=0,a=[],i=[],r=0,n,s=t.length;for(;e<s;)n=t[e++],n<128?i[r++]=n:n>191&&n<224?i[r++]=(n&31)<<6|t[e++]&63:n>239&&n<365?(n=((n&7)<<18|(t[e++]&63)<<12|(t[e++]&63)<<6|t[e++]&63)-65536,i[r++]=55296+(n>>10),i[r++]=56320+(n&1023)):i[r++]=(n&15)<<12|(t[e++]&63)<<6|t[e++]&63,r>8191&&(a.push(z2(i)),r=0);return a.length?(r&&a.push(z2(i.slice(0,r))),a.join("")):z2(i.slice(0,r))}o(vj,"utf8read");Ic.utf8read=vj});var op=S(si=>{"use strict";Object.defineProperty(si,"__esModule",{value:!0});si.WireType=si.mergeBinaryOptions=si.UnknownFieldHandler=void 0;var bj;(function(t){t.symbol=Symbol.for("protobuf-ts/unknown"),t.onRead=(a,i,r,n,s)=>{(e(i)?i[t.symbol]:i[t.symbol]=[]).push({no:r,wireType:n,data:s})},t.onWrite=(a,i,r)=>{for(let{no:n,wireType:s,data:p}of t.list(i))r.tag(n,s).raw(p)},t.list=(a,i)=>{if(e(a)){let r=a[t.symbol];return i?r.filter(n=>n.no==i):r}return[]},t.last=(a,i)=>t.list(a,i).slice(-1)[0];let e=o(a=>a&&Array.isArray(a[t.symbol]),"is")})(bj=si.UnknownFieldHandler||(si.UnknownFieldHandler={}));function xj(t,e){return Object.assign(Object.assign({},t),e)}o(xj,"mergeBinaryOptions");si.mergeBinaryOptions=xj;var wj;(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"})(wj=si.WireType||(si.WireType={}))});var Bc=S(aa=>{"use strict";Object.defineProperty(aa,"__esModule",{value:!0});aa.varint32read=aa.varint32write=aa.int64toString=aa.int64fromString=aa.varint64write=aa.varint64read=void 0;function Nj(){let t=0,e=0;for(let i=0;i<28;i+=7){let r=this.buf[this.pos++];if(t|=(r&127)<<i,!(r&128))return this.assertBounds(),[t,e]}let a=this.buf[this.pos++];if(t|=(a&15)<<28,e=(a&112)>>4,!(a&128))return this.assertBounds(),[t,e];for(let i=3;i<=31;i+=7){let r=this.buf[this.pos++];if(e|=(r&127)<<i,!(r&128))return this.assertBounds(),[t,e]}throw new Error("invalid varint")}o(Nj,"varint64read");aa.varint64read=Nj;function _j(t,e,a){for(let n=0;n<28;n=n+7){let s=t>>>n,p=!(!(s>>>7)&&e==0),d=(p?s|128:s)&255;if(a.push(d),!p)return}let i=t>>>28&15|(e&7)<<4,r=!!(e>>3);if(a.push((r?i|128:i)&255),!!r){for(let n=3;n<31;n=n+7){let s=e>>>n,p=!!(s>>>7),d=(p?s|128:s)&255;if(a.push(d),!p)return}a.push(e>>>31&1)}}o(_j,"varint64write");aa.varint64write=_j;var Dc=65536*65536;function Sj(t){let e=t[0]=="-";e&&(t=t.slice(1));let a=1e6,i=0,r=0;function n(s,p){let d=Number(t.slice(s,p));r*=a,i=i*a+d,i>=Dc&&(r=r+(i/Dc|0),i=i%Dc)}return o(n,"add1e6digit"),n(-24,-18),n(-18,-12),n(-12,-6),n(-6),[e,i,r]}o(Sj,"int64fromString");aa.int64fromString=Sj;function Ej(t,e){if(e>>>0<=2097151)return""+(Dc*e+(t>>>0));let a=t&16777215,i=(t>>>24|e<<8)>>>0&16777215,r=e>>16&65535,n=a+i*6777216+r*6710656,s=i+r*8147497,p=r*2,d=1e7;n>=d&&(s+=Math.floor(n/d),n%=d),s>=d&&(p+=Math.floor(s/d),s%=d);function l(c,m){let u=c?String(c):"";return m?"0000000".slice(u.length)+u:u}return o(l,"decimalFrom1e7"),l(p,0)+l(s,p)+l(n,1)}o(Ej,"int64toString");aa.int64toString=Ej;function Cj(t,e){if(t>=0){for(;t>127;)e.push(t&127|128),t=t>>>7;e.push(t)}else{for(let a=0;a<9;a++)e.push(t&127|128),t=t>>7;e.push(1)}}o(Cj,"varint32write");aa.varint32write=Cj;function Tj(){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 a=5;t&128&&a<10;a++)t=this.buf[this.pos++];if(t&128)throw new Error("invalid varint");return this.assertBounds(),e>>>0}o(Tj,"varint32read");aa.varint32read=Tj});var hr=S(fr=>{"use strict";Object.defineProperty(fr,"__esModule",{value:!0});fr.PbLong=fr.PbULong=fr.detectBi=void 0;var pp=Bc(),De;function ON(){let t=new DataView(new ArrayBuffer(8));De=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: Line truncated
`)}};sm.RpcError=ch});var uh=S(pm=>{"use strict";Object.defineProperty(pm,"__esModule",{value:!0});pm.mergeRpcOptions=void 0;var s_=ot();function KU(t,e){if(!e)return t;let a={};om(t,a),om(e,a);for(let i of Object.keys(e)){let r=e[i];switch(i){case"jsonOptions":a.jsonOptions=s_.mergeJsonOptions(t.jsonOptions,a.jsonOptions);break;case"binaryOptions":a.binaryOptions=s_.mergeBinaryOptions(t.binaryOptions,a.binaryOptions);break;case"meta":a.meta={},om(t.meta,a.meta),om(e.meta,a.meta);break;case"interceptors":a.interceptors=t.interceptors?t.interceptors.concat(r):r.concat();break}}return a}o(KU,"mergeRpcOptions");pm.mergeRpcOptions=KU;function om(t,e){if(!t)return;let a=e;for(let[i,r]of Object.entries(t))r instanceof Date?a[i]=new Date(r.getTime()):Array.isArray(r)?a[i]=r.concat():a[i]=r}o(om,"copy")});var hh=S(Jr=>{"use strict";Object.defineProperty(Jr,"__esModule",{value:!0});Jr.Deferred=Jr.DeferredState=void 0;var di;(function(t){t[t.PENDING=0]="PENDING",t[t.REJECTED=1]="REJECTED",t[t.RESOLVED=2]="RESOLVED"})(di=Jr.DeferredState||(Jr.DeferredState={}));var fh=class{static{o(this,"Deferred")}constructor(e=!0){this._state=di.PENDING,this._promise=new Promise((a,i)=>{this._resolve=a,this._reject=i}),e&&this._promise.catch(a=>{})}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)}};Jr.Deferred=fh});var yh=S(dm=>{"use strict";Object.defineProperty(dm,"__esModule",{value:!0});dm.RpcOutputStreamController=void 0;var o_=hh(),Zr=ot(),gh=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,a){return a.push(e),()=>{let i=a.indexOf(e);i>=0&&a.splice(i,1)}}clearLis(){for(let e of Object.values(this._lis))e.splice(0,e.length)}get closed(){return this._closed!==!1}notifyNext(e,a,i){Zr.assert((e?1:0)+(a?1:0)+(i?1:0)<=1,"only one emission at a time"),e&&this.notifyMessage(e),a&&this.notifyError(a),i&&this.notifyComplete()}notifyMessage(e){Zr.assert(!this.closed,"stream is closed"),this.pushIt({value:e,done:!1}),this._lis.msg.forEach(a=>a(e)),this._lis.nxt.forEach(a=>a(e,void 0,!1))}notifyError(e){Zr.assert(!this.closed,"stream is closed"),this._closed=e,this.pushIt(e),this._lis.err.forEach(a=>a(e)),this._lis.nxt.forEach(a=>a(void 0,e,!1)),this.clearLis()}notifyComplete(){Zr.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;Zr.assert(e,"bad state"),Zr.assert(!e.p,"iterator contract broken");let a=e.q.shift();return a?"value"in a?Promise.resolve(a):Promise.reject(a):(e.p=new o_.Deferred,e.p.promise)}}}pushIt(e){let a=this._itState;if(a.p){let i=a.p;Zr.assert(i.state==o_.DeferredState.PENDING,"iterator contract broken"),"value"in e?i.resolve(e):i.reject(e),delete a.p}else a.q.push(e)}};dm.RpcOutputStreamController=gh});var bh=S(ws=>{"use strict";var YU=ws&&ws.__awaiter||function(t,e,a,i){function r(n){return n instanceof a?n:new a(function(s){s(n)})}return o(r,"adopt"),new(a||(a=Promise))(function(n,s){function p(c){try{l(i.next(c))}catch(m){s(m)}}o(p,"fulfilled");function d(c){try{l(i.throw(c))}catch(m){s(m)}}o(d,"rejected");function l(c){c.done?n(c.value):r(c.value).then(p,d)}o(l,"step"),l((i=i.apply(t,e||[])).next())})};Object.defineProperty(ws,"__esModule",{value:!0});ws.UnaryCall=void 0;var vh=class{static{o(this,"UnaryCall")}constructor(e,a,i,r,n,s,p){this.method=e,this.requestHeaders=a,this.request=i,this.headers=r,this.response=n,this.status=s,this.trailers=p}then(e,a){return this.promiseFinished().then(i=>e?Promise.resolve(e(i)):i,i=>a?Promise.resolve(a(i)):Promise.reject(i))}promiseFinished(){return YU(this,void 0,void 0,function*(){let[e,a,i,r]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:e,response:a,status:i,trailers:r}})}};ws.UnaryCall=vh});var wh=S(Ns=>{"use strict";var QU=Ns&&Ns.__awaiter||function(t,e,a,i){function r(n){return n instanceof a?n:new a(function(s){s(n)})}return o(r,"adopt"),new(a||(a=Promise))(function(n,s){function p(c){try{l(i.next(c))}catch(m){s(m)}}o(p,"fulfilled");function d(c){try{l(i.throw(c)) Line truncated
`));let i=yield Hh(a,"create");yield Vh(i,t)})}o($F,"createTar");Lt.createTar=$F});var P_=S(tt=>{"use strict";var GF=tt&&tt.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a);var r=Object.getOwnPropertyDescriptor(e,a);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[a]}}),Object.defineProperty(t,i,r)}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),XF=tt&&tt.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),_p=tt&&tt.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.prototype.hasOwnProperty.call(t,a)&&GF(e,t,a);return XF(e,t),e},Ls=tt&&tt.__awaiter||function(t,e,a,i){function r(n){return n instanceof a?n:new a(function(s){s(n)})}return o(r,"adopt"),new(a||(a=Promise))(function(n,s){function p(c){try{l(i.next(c))}catch(m){s(m)}}o(p,"fulfilled");function d(c){try{l(i.throw(c))}catch(m){s(m)}}o(d,"rejected");function l(c){c.done?n(c.value):r(c.value).then(p,d)}o(l,"step"),l((i=i.apply(t,e||[])).next())})};Object.defineProperty(tt,"__esModule",{value:!0});tt.saveCache=tt.restoreCache=tt.isFeatureAvailable=tt.FinalizeCacheError=tt.ReserveCacheError=tt.ValidationError=void 0;var ie=_p(kt()),ym=_p(require("path")),ke=_p(gn()),Ms=_p(CN()),T_=_p(__()),vm=Ec(),vr=C_(),bm=br(),Pa=class t extends Error{static{o(this,"ValidationError")}constructor(e){super(e),this.name="ValidationError",Object.setPrototypeOf(this,t.prototype)}};tt.ValidationError=Pa;var en=class t extends Error{static{o(this,"ReserveCacheError")}constructor(e){super(e),this.name="ReserveCacheError",Object.setPrototypeOf(this,t.prototype)}};tt.ReserveCacheError=en;var Np=class t extends Error{static{o(this,"FinalizeCacheError")}constructor(e){super(e),this.name="FinalizeCacheError",Object.setPrototypeOf(this,t.prototype)}};tt.FinalizeCacheError=Np;function O_(t){if(!t||t.length===0)throw new Pa("Path Validation Error: At least one directory or file path is required")}o(O_,"checkPaths");function $h(t){if(t.length>512)throw new Pa(`Key Validation Error: ${t} cannot be larger than 512 characters.`);if(!/^[^,]*$/.test(t))throw new Pa(`Key Validation Error: ${t} cannot contain commas.`)}o($h,"checkKey");function WF(){switch((0,vm.getCacheServiceVersion)()){case"v2":return!!process.env.ACTIONS_RESULTS_URL;case"v1":default:return!!process.env.ACTIONS_CACHE_URL}}o(WF,"isFeatureAvailable");tt.isFeatureAvailable=WF;function KF(t,e,a,i,r=!1){return Ls(this,void 0,void 0,function*(){let n=(0,vm.getCacheServiceVersion)();switch(ie.debug(`Cache service version: ${n}`),O_(t),n){case"v2":return yield QF(t,e,a,i,r);case"v1":default:return yield YF(t,e,a,i,r)}})}o(KF,"restoreCache");tt.restoreCache=KF;function YF(t,e,a,i,r=!1){return Ls(this,void 0,void 0,function*(){a=a||[];let n=[e,...a];if(ie.debug("Resolved Keys:"),ie.debug(JSON.stringify(n)),n.length>10)throw new Pa("Key Validation Error: Keys are limited to a maximum of 10.");for(let d of n)$h(d);let s=yield ke.getCompressionMethod(),p="";try{let d=yield Ms.getCacheEntry(n,t,{compressionMethod:s,enableCrossOsArchive:r});if(!d?.archiveLocation)return;if(i?.lookupOnly)return ie.info("Lookup only - skipping download"),d.cacheKey;p=ym.join(yield ke.createTempDirectory(),ke.getCacheFileName(s)),ie.debug(`Archive Path: ${p}`),yield Ms.downloadCache(d.archiveLocation,p,i),ie.isDebug()&&(yield(0,vr.listTar)(p,s));let l=ke.getArchiveFileSizeInBytes(p);return ie.info(`Cache Size: ~${Math.round(l/(1024*1024))} MB (${l} B)`),yield(0,vr.extractTar)(p,s),ie.info("Cache restored successfully"),d.cacheKey}catch(d){let l=d;if(l.name===Pa.name)throw d;l instanceof bm.HttpClientError&&typeof l.statusCode=="number"&&l.statusCode>=500?ie.error(`Failed to restore: ${d.message}`):ie.warning(`Failed to restore: ${d.message}`)}finally{try{yield ke.unlinkFile(p)}catch(d){ie.debug(`Failed to delete archive: ${d}`)}}})}o(YF,"restoreCacheV1");function QF(t,e,a,i,r=!1){return Ls(this,void 0,void 0,function*(){i=Object.assign(Object.assign({},i),{useAzureSdk:!0}),a=a||[];let n=[e,...a];if(ie.debug("Resolved Keys:"),ie.debug(JSON.stringify(n)),n.length>10)throw new Pa("Key Validation Error: Keys are limited to a maximum of 10.");for(let p of n)$h(p);let s="";try{let p=T_.internalCacheTwirpClient(),d=yield ke.getCompressionMethod(),l={key:e,restoreKeys:a,version:ke.getCacheVersion(t,d,r)},c=yield p.GetCacheEntryDownloadURL(l);if(!c.ok){ie.debug(`Cache not found for version ${l.version} of keys: ${n.join(", ")}`);return}if(l.key!==c.matchedKey?ie.info(`Cache hit for restore-key: ${c.matchedKey}`):ie.info(`Cache hit for: ${c.matchedKey}`),i?.lookupOnly)return ie.info("Lookup only - skipping download"),c.matchedKey;s=ym.join(yield ke.createTempDirectory(),ke.getCacheFileName(d)),ie.debug(`Archive path: ${s}`),ie.debug(`Starting download of archive to: ${s}`),yield Ms.downloadCache(c.signedDownloadUrl,s,i);let u=ke.getArchiveFileSizeInBy Line truncated
/*! Bundled license information:
sax/lib/sax.js:
Generated Vendored
+49 -49
View File
@@ -1,75 +1,75 @@
var dC=Object.create;var go=Object.defineProperty;var cC=Object.getOwnPropertyDescriptor;var uC=Object.getOwnPropertyNames;var mC=Object.getPrototypeOf,fC=Object.prototype.hasOwnProperty;var o=(t,e)=>go(t,"name",{value:e,configurable:!0});var jt=(t,e)=>()=>(t&&(e=t(t=0)),e);var N=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),p4=(t,e)=>{for(var a in e)go(t,a,{get:e[a],enumerable:!0})},l4=(t,e,a,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of uC(e))!fC.call(t,r)&&r!==a&&go(t,r,{get:()=>e[r],enumerable:!(i=cC(e,r))||i.enumerable});return t};var ba=(t,e,a)=>(a=t!=null?dC(mC(t)):{},l4(e||!t||!t.__esModule?go(a,"default",{value:t,enumerable:!0}):a,t)),nl=t=>l4(go({},"__esModule",{value:!0}),t);var sl=N(Cn=>{"use strict";Object.defineProperty(Cn,"__esModule",{value:!0});Cn.toCommandProperties=Cn.toCommandValue=void 0;function hC(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(hC,"toCommandValue");Cn.toCommandValue=hC;function gC(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(gC,"toCommandProperties");Cn.toCommandProperties=gC});var m4=N(xa=>{"use strict";var yC=xa&&xa.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a);var r=Object.getOwnPropertyDescriptor(e,a);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[a]}}),Object.defineProperty(t,i,r)}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),vC=xa&&xa.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),bC=xa&&xa.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.prototype.hasOwnProperty.call(t,a)&&yC(e,t,a);return vC(e,t),e};Object.defineProperty(xa,"__esModule",{value:!0});xa.issue=xa.issueCommand=void 0;var xC=bC(require("os")),c4=sl();function u4(t,e,a){let i=new fm(t,e,a);process.stdout.write(i.toString()+xC.EOL)}o(u4,"issueCommand");xa.issueCommand=u4;function wC(t,e=""){u4(t,{},e)}o(wC,"issue");xa.issue=wC;var d4="::",fm=class{static{o(this,"Command")}constructor(e,a,i){e||(e="missing.command"),this.command=e,this.properties=a,this.message=i}toString(){let e=d4+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let a=!0;for(let i in this.properties)if(this.properties.hasOwnProperty(i)){let r=this.properties[i];r&&(a?a=!1:e+=",",e+=`${i}=${_C(r)}`)}}return e+=`${d4}${NC(this.message)}`,e}};function NC(t){return(0,c4.toCommandValue)(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(NC,"escapeData");function _C(t){return(0,c4.toCommandValue)(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(_C,"escapeProperty")});var g4=N(wa=>{"use strict";var SC=wa&&wa.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a);var r=Object.getOwnPropertyDescriptor(e,a);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[a]}}),Object.defineProperty(t,i,r)}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),EC=wa&&wa.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),gm=wa&&wa.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.prototype.hasOwnProperty.call(t,a)&&SC(e,t,a);return EC(e,t),e};Object.defineProperty(wa,"__esModule",{value:!0});wa.prepareKeyValueMessage=wa.issueFileCommand=void 0;var CC=gm(require("crypto")),f4=gm(require("fs")),hm=gm(require("os")),h4=sl();function TC(t,e){let a=process.env[`GITHUB_${t}`];if(!a)throw new Error(`Unable to find environment variable for file command ${t}`);if(!f4.existsSync(a))throw new Error(`Missing file at path: ${a}`);f4.appendFileSync(a,`${(0,h4.toCommandValue)(e)}${hm.EOL}`,{encoding:"utf8"})}o(TC,"issueFileCommand");wa.issueFileCommand=TC;function OC(t,e){let a=`ghadelimiter_${CC.randomUUID()}`,i=(0,h4.toCommandValue)(e);if(t.includes(a))throw new Error(`Unexpected input: name should not contain the delimiter "${a}"`);if(i.includes(a))throw new Error(`Unexpected input: value should not contain the delimiter "${a}"`);return`${t}<<${a}${hm.EOL}${i}${hm.EOL}${a}`}o(OC,"prepareKeyValueMessage");wa.prepareKeyValueMessage=OC});var v4=N(Tn=>{"use strict";Object.defineProperty(Tn,"__esModule",{value:!0});Tn.checkBypass=Tn.getProxyUrl=void 0;function RC(t){let e=t.protocol==="https:";if(y4(t))return;let a=(()=>e?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY)();if(a)try{return new URL(a)}catch{if(!a.startsWith("http://")&&!a.startsWith("https://"))return new URL(`http://${a}`)}else return}o(RC,"getProxyUrl");Tn.getProxyUrl=RC;function y4(t){if(!t.hostname)return!1;let e=t.hostname;if(PC(e))return!0;let a=process.env.no_proxy||proLine truncated
`,u.message,u.stack);var m=new Error("tunneling socket could not be established, cause="+u.message);m.code="ECONNRESET",e.request.emit("error",m),i.removeSocket(r)}o(c,"onError")},"createSocket");Ei.prototype.removeSocket=o(function(e){var a=this.sockets.indexOf(e);if(a!==-1){this.sockets.splice(a,1);var i=this.requests.shift();i&&this.createSocket(i,function(r){i.request.onSocket(r)})}},"removeSocket");function x4(t,e){var a=this;Ei.prototype.createSocket.call(a,t,function(i){var r=t.request.getHeader("host"),n=vm({},a.options,{socket:i,servername:r?r.replace(/:.*$/,""):t.host}),s=IC.connect(0,n);a.sockets[a.sockets.indexOf(i)]=s,e(s)})}o(x4,"createSecureSocket");function w4(t,e,a){return typeof t=="string"?{host:t,port:e,localAddress:a}:t}o(w4,"toOptions");function vm(t){for(var e=1,a=arguments.length;e<a;++e){var i=arguments[e];if(typeof i=="object")for(var r=Object.keys(i),n=0,s=r.length;n<s;++n){var p=r[n];i[p]!==void 0&&(t[p]=i[p])}}return t}o(vm,"mergeOptions");var Yi;process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)?Yi=o(function(){var t=Array.prototype.slice.call(arguments);typeof t[0]=="string"?t[0]="TUNNEL: "+t[0]:t.unshift("TUNNEL:"),console.error.apply(console,t)},"debug"):Yi=o(function(){},"debug");On.debug=Yi});var bm=N((uW,_4)=>{_4.exports=N4()});var qr=N(Pe=>{"use strict";var zC=Pe&&Pe.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[a]}})}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),jC=Pe&&Pe.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),ul=Pe&&Pe.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.hasOwnProperty.call(t,a)&&zC(e,t,a);return jC(e,t),e},rt=Pe&&Pe.__awaiter||function(t,e,a,i){function r(n){return n instanceof a?n:new a(function(s){s(n)})}return o(r,"adopt"),new(a||(a=Promise))(function(n,s){function p(c){try{d(i.next(c))}catch(u){s(u)}}o(p,"fulfilled");function l(c){try{d(i.throw(c))}catch(u){s(u)}}o(l,"rejected");function d(c){c.done?n(c.value):r(c.value).then(p,l)}o(d,"step"),d((i=i.apply(t,e||[])).next())})};Object.defineProperty(Pe,"__esModule",{value:!0});Pe.HttpClient=Pe.isHttps=Pe.HttpClientResponse=Pe.HttpClientError=Pe.getProxyUrl=Pe.MediaTypes=Pe.Headers=Pe.HttpCodes=void 0;var ol=ul(require("http")),xm=ul(require("https")),S4=ul(v4()),pl=ul(bm()),Ha;(function(t){t[t.OK=200]="OK",t[t.MultipleChoices=300]="MultipleChoices",t[t.MovedPermanently=301]="MovedPermanently",t[t.ResourceMoved=302]="ResourceMoved",t[t.SeeOther=303]="SeeOther",t[t.NotModified=304]="NotModified",t[t.UseProxy=305]="UseProxy",t[t.SwitchProxy=306]="SwitchProxy",t[t.TemporaryRedirect=307]="TemporaryRedirect",t[t.PermanentRedirect=308]="PermanentRedirect",t[t.BadRequest=400]="BadRequest",t[t.Unauthorized=401]="Unauthorized",t[t.PaymentRequired=402]="PaymentRequired",t[t.Forbidden=403]="Forbidden",t[t.NotFound=404]="NotFound",t[t.MethodNotAllowed=405]="MethodNotAllowed",t[t.NotAcceptable=406]="NotAcceptable",t[t.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",t[t.RequestTimeout=408]="RequestTimeout",t[t.Conflict=409]="Conflict",t[t.Gone=410]="Gone",t[t.TooManyRequests=429]="TooManyRequests",t[t.InternalServerError=500]="InternalServerError",t[t.NotImplemented=501]="NotImplemented",t[t.BadGateway=502]="BadGateway",t[t.ServiceUnavailable=503]="ServiceUnavailable",t[t.GatewayTimeout=504]="GatewayTimeout"})(Ha=Pe.HttpCodes||(Pe.HttpCodes={}));var Ft;(function(t){t.Accept="accept",t.ContentType="content-type"})(Ft=Pe.Headers||(Pe.Headers={}));var Qi;(function(t){t.ApplicationJson="application/json"})(Qi=Pe.MediaTypes||(Pe.MediaTypes={}));function kC(t){let e=S4.getProxyUrl(new URL(t));return e?e.href:""}o(kC,"getProxyUrl");Pe.getProxyUrl=kC;var UC=[Ha.MovedPermanently,Ha.ResourceMoved,Ha.SeeOther,Ha.TemporaryRedirect,Ha.PermanentRedirect],HC=[Ha.BadGateway,Ha.ServiceUnavailable,Ha.GatewayTimeout],FC=["OPTIONS","GET","DELETE","HEAD"],VC=10,$C=5,dl=class t extends Error{static{o(this,"HttpClientError")}constructor(e,a){super(e),this.name="HttpClientError",this.statusCode=a,Object.setPrototypeOf(this,t.prototype)}};Pe.HttpClientError=dl;var cl=class{static{o(this,"HttpClientResponse")}constructor(e){this.message=e}readBody(){return rt(this,void 0,void 0,function*(){return new Promise(e=>rt(this,void 0,void 0,function*(){let a=Buffer.alloc(0);this.message.on("data",i=>{a=Buffer.concat([a,i])}),this.message.on("end",()=>{e(a.toString())})}))})}readBodyBuffer(){return rt(this,void 0,void 0,function*(){return new Promise(e=>rt(this,void 0,void 0,function*(){let a=[];this.message.on("data",i=>{a.push(i)}),this.message.on("end",()=>{e(Buffer.concat(a))})}))})}};Pe.HttpClientResponse=cl;function GC(t){return new URL(t).protocol==="https:"}o(GC,"isHttps");Pe.isHttps=GC;var wm=class{static{o(this,"HttpClient")}constructor(e,a,i){this._ignoreSslError=!1 Line truncated
var nC=Object.create;var ho=Object.defineProperty;var sC=Object.getOwnPropertyDescriptor;var oC=Object.getOwnPropertyNames;var pC=Object.getPrototypeOf,lC=Object.prototype.hasOwnProperty;var o=(t,e)=>ho(t,"name",{value:e,configurable:!0});var jt=(t,e)=>()=>(t&&(e=t(t=0)),e);var N=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),l4=(t,e)=>{for(var a in e)ho(t,a,{get:e[a],enumerable:!0})},d4=(t,e,a,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of oC(e))!lC.call(t,r)&&r!==a&&ho(t,r,{get:()=>e[r],enumerable:!(i=sC(e,r))||i.enumerable});return t};var ba=(t,e,a)=>(a=t!=null?nC(pC(t)):{},d4(e||!t||!t.__esModule?ho(a,"default",{value:t,enumerable:!0}):a,t)),nl=t=>d4(ho({},"__esModule",{value:!0}),t);var sl=N(Cn=>{"use strict";Object.defineProperty(Cn,"__esModule",{value:!0});Cn.toCommandProperties=Cn.toCommandValue=void 0;function dC(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(dC,"toCommandValue");Cn.toCommandValue=dC;function cC(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(cC,"toCommandProperties");Cn.toCommandProperties=cC});var f4=N(xa=>{"use strict";var uC=xa&&xa.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a);var r=Object.getOwnPropertyDescriptor(e,a);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[a]}}),Object.defineProperty(t,i,r)}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),mC=xa&&xa.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),fC=xa&&xa.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.prototype.hasOwnProperty.call(t,a)&&uC(e,t,a);return mC(e,t),e};Object.defineProperty(xa,"__esModule",{value:!0});xa.issue=xa.issueCommand=void 0;var hC=fC(require("os")),u4=sl();function m4(t,e,a){let i=new hm(t,e,a);process.stdout.write(i.toString()+hC.EOL)}o(m4,"issueCommand");xa.issueCommand=m4;function gC(t,e=""){m4(t,{},e)}o(gC,"issue");xa.issue=gC;var c4="::",hm=class{static{o(this,"Command")}constructor(e,a,i){e||(e="missing.command"),this.command=e,this.properties=a,this.message=i}toString(){let e=c4+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let a=!0;for(let i in this.properties)if(this.properties.hasOwnProperty(i)){let r=this.properties[i];r&&(a?a=!1:e+=",",e+=`${i}=${vC(r)}`)}}return e+=`${c4}${yC(this.message)}`,e}};function yC(t){return(0,u4.toCommandValue)(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(yC,"escapeData");function vC(t){return(0,u4.toCommandValue)(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(vC,"escapeProperty")});var y4=N(wa=>{"use strict";var bC=wa&&wa.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a);var r=Object.getOwnPropertyDescriptor(e,a);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[a]}}),Object.defineProperty(t,i,r)}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),xC=wa&&wa.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),ym=wa&&wa.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.prototype.hasOwnProperty.call(t,a)&&bC(e,t,a);return xC(e,t),e};Object.defineProperty(wa,"__esModule",{value:!0});wa.prepareKeyValueMessage=wa.issueFileCommand=void 0;var wC=ym(require("crypto")),h4=ym(require("fs")),gm=ym(require("os")),g4=sl();function NC(t,e){let a=process.env[`GITHUB_${t}`];if(!a)throw new Error(`Unable to find environment variable for file command ${t}`);if(!h4.existsSync(a))throw new Error(`Missing file at path: ${a}`);h4.appendFileSync(a,`${(0,g4.toCommandValue)(e)}${gm.EOL}`,{encoding:"utf8"})}o(NC,"issueFileCommand");wa.issueFileCommand=NC;function _C(t,e){let a=`ghadelimiter_${wC.randomUUID()}`,i=(0,g4.toCommandValue)(e);if(t.includes(a))throw new Error(`Unexpected input: name should not contain the delimiter "${a}"`);if(i.includes(a))throw new Error(`Unexpected input: value should not contain the delimiter "${a}"`);return`${t}<<${a}${gm.EOL}${i}${gm.EOL}${a}`}o(_C,"prepareKeyValueMessage");wa.prepareKeyValueMessage=_C});var b4=N(Tn=>{"use strict";Object.defineProperty(Tn,"__esModule",{value:!0});Tn.checkBypass=Tn.getProxyUrl=void 0;function SC(t){let e=t.protocol==="https:";if(v4(t))return;let a=e?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY;if(a)try{return new URL(a)}catch{if(!a.startsWith("http://")&&!a.startsWith("https://"))return new URL(`http://${a}`)}else return}o(SC,"getProxyUrl");Tn.getProxyUrl=SC;function v4(t){if(!t.hostname)return!1;let e=t.hostname;if(EC(e))return!0;let a=process.env.no_proxy||process.envLine truncated
`,u.message,u.stack);var m=new Error("tunneling socket could not be established, cause="+u.message);m.code="ECONNRESET",e.request.emit("error",m),i.removeSocket(r)}o(c,"onError")},"createSocket");Ei.prototype.removeSocket=o(function(e){var a=this.sockets.indexOf(e);if(a!==-1){this.sockets.splice(a,1);var i=this.requests.shift();i&&this.createSocket(i,function(r){i.request.onSocket(r)})}},"removeSocket");function w4(t,e){var a=this;Ei.prototype.createSocket.call(a,t,function(i){var r=t.request.getHeader("host"),n=bm({},a.options,{socket:i,servername:r?r.replace(/:.*$/,""):t.host}),s=CC.connect(0,n);a.sockets[a.sockets.indexOf(i)]=s,e(s)})}o(w4,"createSecureSocket");function N4(t,e,a){return typeof t=="string"?{host:t,port:e,localAddress:a}:t}o(N4,"toOptions");function bm(t){for(var e=1,a=arguments.length;e<a;++e){var i=arguments[e];if(typeof i=="object")for(var r=Object.keys(i),n=0,s=r.length;n<s;++n){var p=r[n];i[p]!==void 0&&(t[p]=i[p])}}return t}o(bm,"mergeOptions");var Yi;process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)?Yi=o(function(){var t=Array.prototype.slice.call(arguments);typeof t[0]=="string"?t[0]="TUNNEL: "+t[0]:t.unshift("TUNNEL:"),console.error.apply(console,t)},"debug"):Yi=o(function(){},"debug");On.debug=Yi});var xm=N((eW,S4)=>{S4.exports=_4()});var Ji=N(Pe=>{"use strict";var AC=Pe&&Pe.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[a]}})}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),BC=Pe&&Pe.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),ul=Pe&&Pe.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.hasOwnProperty.call(t,a)&&AC(e,t,a);return BC(e,t),e},nt=Pe&&Pe.__awaiter||function(t,e,a,i){function r(n){return n instanceof a?n:new a(function(s){s(n)})}return o(r,"adopt"),new(a||(a=Promise))(function(n,s){function p(c){try{d(i.next(c))}catch(u){s(u)}}o(p,"fulfilled");function l(c){try{d(i.throw(c))}catch(u){s(u)}}o(l,"rejected");function d(c){c.done?n(c.value):r(c.value).then(p,l)}o(d,"step"),d((i=i.apply(t,e||[])).next())})};Object.defineProperty(Pe,"__esModule",{value:!0});Pe.HttpClient=Pe.isHttps=Pe.HttpClientResponse=Pe.HttpClientError=Pe.getProxyUrl=Pe.MediaTypes=Pe.Headers=Pe.HttpCodes=void 0;var ol=ul(require("http")),wm=ul(require("https")),E4=ul(b4()),pl=ul(xm()),Ha;(function(t){t[t.OK=200]="OK",t[t.MultipleChoices=300]="MultipleChoices",t[t.MovedPermanently=301]="MovedPermanently",t[t.ResourceMoved=302]="ResourceMoved",t[t.SeeOther=303]="SeeOther",t[t.NotModified=304]="NotModified",t[t.UseProxy=305]="UseProxy",t[t.SwitchProxy=306]="SwitchProxy",t[t.TemporaryRedirect=307]="TemporaryRedirect",t[t.PermanentRedirect=308]="PermanentRedirect",t[t.BadRequest=400]="BadRequest",t[t.Unauthorized=401]="Unauthorized",t[t.PaymentRequired=402]="PaymentRequired",t[t.Forbidden=403]="Forbidden",t[t.NotFound=404]="NotFound",t[t.MethodNotAllowed=405]="MethodNotAllowed",t[t.NotAcceptable=406]="NotAcceptable",t[t.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",t[t.RequestTimeout=408]="RequestTimeout",t[t.Conflict=409]="Conflict",t[t.Gone=410]="Gone",t[t.TooManyRequests=429]="TooManyRequests",t[t.InternalServerError=500]="InternalServerError",t[t.NotImplemented=501]="NotImplemented",t[t.BadGateway=502]="BadGateway",t[t.ServiceUnavailable=503]="ServiceUnavailable",t[t.GatewayTimeout=504]="GatewayTimeout"})(Ha=Pe.HttpCodes||(Pe.HttpCodes={}));var Ft;(function(t){t.Accept="accept",t.ContentType="content-type"})(Ft=Pe.Headers||(Pe.Headers={}));var Qi;(function(t){t.ApplicationJson="application/json"})(Qi=Pe.MediaTypes||(Pe.MediaTypes={}));function MC(t){let e=E4.getProxyUrl(new URL(t));return e?e.href:""}o(MC,"getProxyUrl");Pe.getProxyUrl=MC;var LC=[Ha.MovedPermanently,Ha.ResourceMoved,Ha.SeeOther,Ha.TemporaryRedirect,Ha.PermanentRedirect],qC=[Ha.BadGateway,Ha.ServiceUnavailable,Ha.GatewayTimeout],zC=["OPTIONS","GET","DELETE","HEAD"],jC=10,kC=5,dl=class t extends Error{static{o(this,"HttpClientError")}constructor(e,a){super(e),this.name="HttpClientError",this.statusCode=a,Object.setPrototypeOf(this,t.prototype)}};Pe.HttpClientError=dl;var cl=class{static{o(this,"HttpClientResponse")}constructor(e){this.message=e}readBody(){return nt(this,void 0,void 0,function*(){return new Promise(e=>nt(this,void 0,void 0,function*(){let a=Buffer.alloc(0);this.message.on("data",i=>{a=Buffer.concat([a,i])}),this.message.on("end",()=>{e(a.toString())})}))})}readBodyBuffer(){return nt(this,void 0,void 0,function*(){return new Promise(e=>nt(this,void 0,void 0,function*(){let a=[];this.message.on("data",i=>{a.push(i)}),this.message.on("end",()=>{e(Buffer.concat(a))})}))})}};Pe.HttpClientResponse=cl;function UC(t){return new URL(t).protocol==="https:"}o(UC,"isHttps");Pe.isHttps=UC;var Nm=class{static{o(this,"HttpClient")}constructor(e,a,i){this._ignoreSslError=!1 Line truncated
Error Code : ${s.statusCode}
Error Message: ${s.message}`)})).result)===null||a===void 0?void 0:a.value;if(!n)throw new Error("Response json body do not have ID Token field");return n})}static getIDToken(e){return E4(this,void 0,void 0,function*(){try{let a=t.getIDTokenUrl();if(e){let r=encodeURIComponent(e);a=`${a}&audience=${r}`}(0,C4.debug)(`ID token url is ${a}`);let i=yield t.getCall(a);return(0,C4.setSecret)(i),i}catch(a){throw new Error(`Error message: ${a.message}`)}})}};Rn.OidcClient=Cm});var Pm=N(Kt=>{"use strict";var Tm=Kt&&Kt.__awaiter||function(t,e,a,i){function r(n){return n instanceof a?n:new a(function(s){s(n)})}return o(r,"adopt"),new(a||(a=Promise))(function(n,s){function p(c){try{d(i.next(c))}catch(u){s(u)}}o(p,"fulfilled");function l(c){try{d(i.throw(c))}catch(u){s(u)}}o(l,"rejected");function d(c){c.done?n(c.value):r(c.value).then(p,l)}o(d,"step"),d((i=i.apply(t,e||[])).next())})};Object.defineProperty(Kt,"__esModule",{value:!0});Kt.summary=Kt.markdownSummary=Kt.SUMMARY_DOCS_URL=Kt.SUMMARY_ENV_VAR=void 0;var KC=require("os"),Om=require("fs"),{access:YC,appendFile:QC,writeFile:JC}=Om.promises;Kt.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";Kt.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";var Rm=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return Tm(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[Kt.SUMMARY_ENV_VAR];if(!e)throw new Error(`Unable to find environment variable for $${Kt.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);try{yield YC(e,Om.constants.R_OK|Om.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,a,i={}){let r=Object.entries(i).map(([n,s])=>` ${n}="${s}"`).join("");return a?`<${e}${r}>${a}</${e}>`:`<${e}${r}>`}write(e){return Tm(this,void 0,void 0,function*(){let a=!!e?.overwrite,i=yield this.filePath();return yield(a?JC:QC)(i,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return Tm(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,a=!1){return this._buffer+=e,a?this.addEOL():this}addEOL(){return this.addRaw(KC.EOL)}addCodeBlock(e,a){let i=Object.assign({},a&&{lang:a}),r=this.wrap("pre",this.wrap("code",e),i);return this.addRaw(r).addEOL()}addList(e,a=!1){let i=a?"ol":"ul",r=e.map(s=>this.wrap("li",s)).join(""),n=this.wrap(i,r);return this.addRaw(n).addEOL()}addTable(e){let a=e.map(r=>{let n=r.map(s=>{if(typeof s=="string")return this.wrap("td",s);let{header:p,data:l,colspan:d,rowspan:c}=s,u=p?"th":"td",m=Object.assign(Object.assign({},d&&{colspan:d}),c&&{rowspan:c});return this.wrap(u,l,m)}).join("");return this.wrap("tr",n)}).join(""),i=this.wrap("table",a);return this.addRaw(i).addEOL()}addDetails(e,a){let i=this.wrap("details",this.wrap("summary",e)+a);return this.addRaw(i).addEOL()}addImage(e,a,i){let{width:r,height:n}=i||{},s=Object.assign(Object.assign({},r&&{width:r}),n&&{height:n}),p=this.wrap("img",null,Object.assign({src:e,alt:a},s));return this.addRaw(p).addEOL()}addHeading(e,a){let i=`h${a}`,r=["h1","h2","h3","h4","h5","h6"].includes(i)?i:"h1",n=this.wrap(r,e);return this.addRaw(n).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,a){let i=Object.assign({},a&&{cite:a}),r=this.wrap("blockquote",e,i);return this.addRaw(r).addEOL()}addLink(e,a){let i=this.wrap("a",e,{href:a});return this.addRaw(i).addEOL()}},O4=new Rm;Kt.markdownSummary=O4;Kt.summary=O4});var R4=N(Yt=>{"use strict";var ZC=Yt&&Yt.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a);var r=Object.getOwnPropertyDescriptor(e,a);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[a]}}),Object.defineProperty(t,i,r)}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),eT=Yt&&Yt.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),tT=Yt&&Yt.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.prototype.hasOwnProperty.call(t,a)&&ZC(e,t,a);return eT(e,t),e};Object.defineProperty(Yt,"__esModule",{value:!0});Yt.toPlatformPath=Yt.toWin32Path=Yt.toPosixPath=void 0;var aT=tT(require("path"));function iT(t){return t.replace(/[\\]/g,"/")}o(iT,"toPosixPath");Yt.toPosixPath=iT;function rT(t){return t.replace(/[/]/g,"\\")}o(rT,"toWin32Path");Yt.toWin32Path=rT;function nT(t){return t.replace(/[/\\]/g,aT.sep)}o(nT,"toPlatformPath");Yt.toPlatformPath=nT});var Dm=N(J=>{"use strict";var sT=J&&J.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a),Line truncated
`);return{name:e,version:a}}),"getLinuxInfo");ge.platform=W4.default.platform();ge.arch=W4.default.arch();ge.isWindows=ge.platform==="win32";ge.isMacOS=ge.platform==="darwin";ge.isLinux=ge.platform==="linux";function zT(){return vl(this,void 0,void 0,function*(){return Object.assign(Object.assign({},yield ge.isWindows?MT():ge.isMacOS?LT():qT()),{platform:ge.platform,arch:ge.arch,isWindows:ge.isWindows,isMacOS:ge.isMacOS,isLinux:ge.isLinux})})}o(zT,"getDetails");ge.getDetails=zT});var nt=N(W=>{"use strict";var jT=W&&W.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a);var r=Object.getOwnPropertyDescriptor(e,a);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[a]}}),Object.defineProperty(t,i,r)}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),kT=W&&W.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),qm=W&&W.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.prototype.hasOwnProperty.call(t,a)&&jT(e,t,a);return kT(e,t),e},K4=W&&W.__awaiter||function(t,e,a,i){function r(n){return n instanceof a?n:new a(function(s){s(n)})}return o(r,"adopt"),new(a||(a=Promise))(function(n,s){function p(c){try{d(i.next(c))}catch(u){s(u)}}o(p,"fulfilled");function l(c){try{d(i.throw(c))}catch(u){s(u)}}o(l,"rejected");function d(c){c.done?n(c.value):r(c.value).then(p,l)}o(d,"step"),d((i=i.apply(t,e||[])).next())})};Object.defineProperty(W,"__esModule",{value:!0});W.platform=W.toPlatformPath=W.toWin32Path=W.toPosixPath=W.markdownSummary=W.summary=W.getIDToken=W.getState=W.saveState=W.group=W.endGroup=W.startGroup=W.info=W.notice=W.warning=W.error=W.debug=W.isDebug=W.setFailed=W.setCommandEcho=W.setOutput=W.getBooleanInput=W.getMultilineInput=W.getInput=W.addPath=W.setSecret=W.exportVariable=W.ExitCode=void 0;var Na=m4(),zr=g4(),Dn=sl(),Y4=qm(require("os")),UT=qm(require("path")),HT=T4(),Lm;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(Lm||(W.ExitCode=Lm={}));function FT(t,e){let a=(0,Dn.toCommandValue)(e);if(process.env[t]=a,process.env.GITHUB_ENV||"")return(0,zr.issueFileCommand)("ENV",(0,zr.prepareKeyValueMessage)(t,e));(0,Na.issueCommand)("set-env",{name:t},a)}o(FT,"exportVariable");W.exportVariable=FT;function VT(t){(0,Na.issueCommand)("add-mask",{},t)}o(VT,"setSecret");W.setSecret=VT;function $T(t){process.env.GITHUB_PATH||""?(0,zr.issueFileCommand)("PATH",t):(0,Na.issueCommand)("add-path",{},t),process.env.PATH=`${t}${UT.delimiter}${process.env.PATH}`}o($T,"addPath");W.addPath=$T;function zm(t,e){let a=process.env[`INPUT_${t.replace(/ /g,"_").toUpperCase()}`]||"";if(e&&e.required&&!a)throw new Error(`Input required and not supplied: ${t}`);return e&&e.trimWhitespace===!1?a:a.trim()}o(zm,"getInput");W.getInput=zm;function GT(t,e){let a=zm(t,e).split(`
`).filter(i=>i!=="");return e&&e.trimWhitespace===!1?a:a.map(i=>i.trim())}o(GT,"getMultilineInput");W.getMultilineInput=GT;function WT(t,e){let a=["true","True","TRUE"],i=["false","False","FALSE"],r=zm(t,e);if(a.includes(r))return!0;if(i.includes(r))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(WT,"getBooleanInput");W.getBooleanInput=WT;function XT(t,e){if(process.env.GITHUB_OUTPUT||"")return(0,zr.issueFileCommand)("OUTPUT",(0,zr.prepareKeyValueMessage)(t,e));process.stdout.write(Y4.EOL),(0,Na.issueCommand)("set-output",{name:t},(0,Dn.toCommandValue)(e))}o(XT,"setOutput");W.setOutput=XT;function KT(t){(0,Na.issue)("echo",t?"on":"off")}o(KT,"setCommandEcho");W.setCommandEcho=KT;function YT(t){process.exitCode=Lm.Failure,Q4(t)}o(YT,"setFailed");W.setFailed=YT;function QT(){return process.env.RUNNER_DEBUG==="1"}o(QT,"isDebug");W.isDebug=QT;function JT(t){(0,Na.issueCommand)("debug",{},t)}o(JT,"debug");W.debug=JT;function Q4(t,e={}){(0,Na.issueCommand)("error",(0,Dn.toCommandProperties)(e),t instanceof Error?t.toString():t)}o(Q4,"error");W.error=Q4;function ZT(t,e={}){(0,Na.issueCommand)("warning",(0,Dn.toCommandProperties)(e),t instanceof Error?t.toString():t)}o(ZT,"warning");W.warning=ZT;function eO(t,e={}){(0,Na.issueCommand)("notice",(0,Dn.toCommandProperties)(e),t instanceof Error?t.toString():t)}o(eO,"notice");W.notice=eO;function tO(t){process.stdout.write(t+Y4.EOL)}o(tO,"info");W.info=tO;function J4(t){(0,Na.issue)("group",t)}o(J4,"startGroup");W.startGroup=J4;function Z4(){(0,Na.issue)("endgroup")}o(Z4,"endGroup");W.endGroup=Z4;function aO(t,e){return K4(this,void 0,void 0,function*(){J4(t);let a;try{a=yield e()}finally{Z4()}return a})}o(aO,"group");W.group=aO;function iO(t,e){if(process.env.GITHUB_STATE||"")return(0,zr.issueFileCommand)("STATE",(0,zr.prepareKeyValueMessage)(t,e));(0,Na.issueCommand)("save-state",{name:t},(0,Dn.toCommandValue)(e))}o(iO,"saveState");W.saveState=iO;function rO(t){return process.env[`STATE_${t}`]||""}o(rO,"getState");W.getState=rO;function nO(t){return K4(this,void 0,void 0,function*(){return yield HT.OidcClient.getIDToken(t)})}o(nO,"getIDToken");W.getIDToken=nO;var sO=Pm();Object.defineProperty(W,"summary",{enumerable:!0,get:function(){return sO.summary}});var oO=Pm();Object.defineProperty(W,"markdownSummary",{enumerable:!0,get:function(){return oO.markdownSummary}});var jm=R4();Object.defineProperty(W,"toPosixPath",{enumerable:!0,get:function(){return jm.toPosixPath}});Object.defineProperty(W,"toWin32Path",{enumerable:!0,get:function(){return jm.toWin32Path}});Object.defineProperty(W,"toPlatformPath",{enumerable:!0,get:function(){return jm.toPlatformPath}});W.platform=qm(X4())});var e3=N(ni=>{"use strict";var pO=ni&&ni.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[a]}})}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),lO=ni&&ni.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),dO=ni&&ni.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.hasOwnProperty.call(t,a)&&pO(e,t,a);return lO(e,t),e};Object.defineProperty(ni,"__esModule",{value:!0});ni.getOptions=void 0;var km=dO(nt());function cO(t){let e={followSymbolicLinks:!0,implicitDescendants:!0,omitBrokenSymbolicLinks:!0};return t&&(typeof t.followSymbolicLinks=="boolean"&&(e.followSymbolicLinks=t.followSymbolicLinks,km.debug(`followSymbolicLinks '${e.followSymbolicLinks}'`)),typeof t.implicitDescendants=="boolean"&&(e.implicitDescendants=t.implicitDescendants,km.debug(`implicitDescendants '${e.implicitDescendants}'`)),typeof t.omitBrokenSymbolicLinks=="boolean"&&(e.omitBrokenSymbolicLinks=t.omitBrokenSymbolicLinks,km.debug(`omitBrokenSymbolicLinks '${e.omitBrokenSymbolicLinks}'`))),e}o(cO,"getOptions");ni.getOptions=cO});var xl=N($e=>{"use strict";var uO=$e&&$e.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[a]}})}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),mO=$e&&$e.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),fO=$e&&$e.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.hasOwnProperty.call(t,a)&&uO(e,t,a);return mO(e,t),e},hO=$e&&$e.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty($e,"__esModule",{value:!0});$e.safeTrimTrailingSeparator=$e.normalizeSeparators=$e.hasRoot=$e.hasAbsoluteRoot=$e.ensureAbsoluteRoot=$e.dirname=void 0;var bl=fO(require("path")),jr=hO(require("assert")),Zi=process.platform==="win32";function gO(t){if(t=Hm(t),Zi&&/^\\\\[^\\]+(\\[^\\]+)?$/.test(t))return t;let e=bl.dirname(t);return Zi&&/^\\\\[^\\]+\\[^\\]+\\$/.test(e)&&(e=Hm(e)),e}o(gO,"dirname");$e.dirname=gO;function yO(t,e){if(jr.default(t,"ensureAbsoluteRoot parameter 'root' must not be empty"),jr.default(e,"ensureAbsoluteRoot parameter 'itemPath' must not be empty"),Um(e))return e;if(Zi){if(e.match(/^[A-Z]:[^\\/]|^[A-Z]:$/i)){let a=process.cwd();rLine truncated
%s`,g,g,I,i);var S=I.type==="*"?Gm:I.type==="?"?$m:"\\"+I.type;r=!0,i=i.slice(0,I.reStart)+S+"\\("+g}h(),n&&(i+="\\\\");var O=!1;switch(i.charAt(0)){case"[":case".":case"(":O=!0}for(var _=p.length-1;_>-1;_--){var D=p[_],T=i.slice(0,D.reStart),P=i.slice(D.reStart,D.reEnd-8),B=i.slice(D.reEnd-8,D.reEnd),k=i.slice(D.reEnd);B+=k;var pe=T.split("(").length-1,ve=k;for(b=0;b<pe;b++)ve=ve.replace(/\)[+*?]?/,"");k=ve;var Q="";k===""&&e!==Nl&&(Q="$");var it=T+P+k+Q+B;i=it}if(i!==""&&r&&(i="(?=.)"+i),O&&(i=m+i),e===Nl)return[i,r];if(!r)return GO(t);var he=a.nocase?"i":"";try{var Ua=new RegExp("^"+i+"$",he)}catch{return new RegExp("$.")}return Ua._glob=t,Ua._src=i,Ua}o(VO,"parse");da.makeRe=function(t,e){return new Bt(t,e||{}).makeRe()};Bt.prototype.makeRe=$O;function $O(){if(this.regexp||this.regexp===!1)return this.regexp;var t=this.set;if(!t.length)return this.regexp=!1,this.regexp;var e=this.options,a=e.noglobstar?Gm:e.dot?qO:zO,i=e.nocase?"i":"",r=t.map(function(n){return n.map(function(s){return s===Wm?a:typeof s=="string"?WO(s):s._src}).join("\\/")}).join("|");r="^(?:"+r+")$",this.negate&&(r="^(?!"+r+").*$");try{this.regexp=new RegExp(r,i)}catch{this.regexp=!1}return this.regexp}o($O,"makeRe");da.match=function(t,e,a){a=a||{};var i=new Bt(e,a);return t=t.filter(function(r){return i.match(r)}),i.options.nonull&&!t.length&&t.push(e),t};Bt.prototype.match=o(function(e,a){if(typeof a>"u"&&(a=this.partial),this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return e==="";if(e==="/"&&a)return!0;var i=this.options;xo.sep!=="/"&&(e=e.split(xo.sep).join("/")),e=e.split(w3),this.debug(this.pattern,"split",e);var r=this.set;this.debug(this.pattern,"set",r);var n,s;for(s=e.length-1;s>=0&&(n=e[s],!n);s--);for(s=0;s<r.length;s++){var p=r[s],l=e;i.matchBase&&p.length===1&&(l=[n]);var d=this.matchOne(l,p,a);if(d)return i.flipNegate?!0:!this.negate}return i.flipNegate?!1:this.negate},"match");Bt.prototype.matchOne=function(t,e,a){var i=this.options;this.debug("matchOne",{this:this,file:t,pattern:e}),this.debug("matchOne",t.length,e.length);for(var r=0,n=0,s=t.length,p=e.length;r<s&&n<p;r++,n++){this.debug("matchOne loop");var l=e[n],d=t[r];if(this.debug(e,l,d),l===!1)return!1;if(l===Wm){this.debug("GLOBSTAR",[e,l,d]);var c=r,u=n+1;if(u===p){for(this.debug("** at the end");r<s;r++)if(t[r]==="."||t[r]===".."||!i.dot&&t[r].charAt(0)===".")return!1;return!0}for(;c<s;){var m=t[c];if(this.debug(`
Error Message: ${s.message}`)})).result)===null||a===void 0?void 0:a.value;if(!n)throw new Error("Response json body do not have ID Token field");return n})}static getIDToken(e){return C4(this,void 0,void 0,function*(){try{let a=t.getIDTokenUrl();if(e){let r=encodeURIComponent(e);a=`${a}&audience=${r}`}(0,T4.debug)(`ID token url is ${a}`);let i=yield t.getCall(a);return(0,T4.setSecret)(i),i}catch(a){throw new Error(`Error message: ${a.message}`)}})}};Rn.OidcClient=Tm});var Im=N(Kt=>{"use strict";var Om=Kt&&Kt.__awaiter||function(t,e,a,i){function r(n){return n instanceof a?n:new a(function(s){s(n)})}return o(r,"adopt"),new(a||(a=Promise))(function(n,s){function p(c){try{d(i.next(c))}catch(u){s(u)}}o(p,"fulfilled");function l(c){try{d(i.throw(c))}catch(u){s(u)}}o(l,"rejected");function d(c){c.done?n(c.value):r(c.value).then(p,l)}o(d,"step"),d((i=i.apply(t,e||[])).next())})};Object.defineProperty(Kt,"__esModule",{value:!0});Kt.summary=Kt.markdownSummary=Kt.SUMMARY_DOCS_URL=Kt.SUMMARY_ENV_VAR=void 0;var VC=require("os"),Rm=require("fs"),{access:$C,appendFile:GC,writeFile:WC}=Rm.promises;Kt.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";Kt.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";var Pm=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return Om(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[Kt.SUMMARY_ENV_VAR];if(!e)throw new Error(`Unable to find environment variable for $${Kt.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);try{yield $C(e,Rm.constants.R_OK|Rm.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,a,i={}){let r=Object.entries(i).map(([n,s])=>` ${n}="${s}"`).join("");return a?`<${e}${r}>${a}</${e}>`:`<${e}${r}>`}write(e){return Om(this,void 0,void 0,function*(){let a=!!e?.overwrite,i=yield this.filePath();return yield(a?WC:GC)(i,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return Om(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,a=!1){return this._buffer+=e,a?this.addEOL():this}addEOL(){return this.addRaw(VC.EOL)}addCodeBlock(e,a){let i=Object.assign({},a&&{lang:a}),r=this.wrap("pre",this.wrap("code",e),i);return this.addRaw(r).addEOL()}addList(e,a=!1){let i=a?"ol":"ul",r=e.map(s=>this.wrap("li",s)).join(""),n=this.wrap(i,r);return this.addRaw(n).addEOL()}addTable(e){let a=e.map(r=>{let n=r.map(s=>{if(typeof s=="string")return this.wrap("td",s);let{header:p,data:l,colspan:d,rowspan:c}=s,u=p?"th":"td",m=Object.assign(Object.assign({},d&&{colspan:d}),c&&{rowspan:c});return this.wrap(u,l,m)}).join("");return this.wrap("tr",n)}).join(""),i=this.wrap("table",a);return this.addRaw(i).addEOL()}addDetails(e,a){let i=this.wrap("details",this.wrap("summary",e)+a);return this.addRaw(i).addEOL()}addImage(e,a,i){let{width:r,height:n}=i||{},s=Object.assign(Object.assign({},r&&{width:r}),n&&{height:n}),p=this.wrap("img",null,Object.assign({src:e,alt:a},s));return this.addRaw(p).addEOL()}addHeading(e,a){let i=`h${a}`,r=["h1","h2","h3","h4","h5","h6"].includes(i)?i:"h1",n=this.wrap(r,e);return this.addRaw(n).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,a){let i=Object.assign({},a&&{cite:a}),r=this.wrap("blockquote",e,i);return this.addRaw(r).addEOL()}addLink(e,a){let i=this.wrap("a",e,{href:a});return this.addRaw(i).addEOL()}},R4=new Pm;Kt.markdownSummary=R4;Kt.summary=R4});var P4=N(Yt=>{"use strict";var XC=Yt&&Yt.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a);var r=Object.getOwnPropertyDescriptor(e,a);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[a]}}),Object.defineProperty(t,i,r)}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),KC=Yt&&Yt.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),YC=Yt&&Yt.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.prototype.hasOwnProperty.call(t,a)&&XC(e,t,a);return KC(e,t),e};Object.defineProperty(Yt,"__esModule",{value:!0});Yt.toPlatformPath=Yt.toWin32Path=Yt.toPosixPath=void 0;var QC=YC(require("path"));function JC(t){return t.replace(/[\\]/g,"/")}o(JC,"toPosixPath");Yt.toPosixPath=JC;function ZC(t){return t.replace(/[/]/g,"\\")}o(ZC,"toWin32Path");Yt.toWin32Path=ZC;function eT(t){return t.replace(/[/\\]/g,QC.sep)}o(eT,"toPlatformPath");Yt.toPlatformPath=eT});var Am=N(J=>{"use strict";var tT=J&&J.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a),Line truncated
`);return{name:e,version:a}}),"getLinuxInfo");ge.platform=X4.default.platform();ge.arch=X4.default.arch();ge.isWindows=ge.platform==="win32";ge.isMacOS=ge.platform==="darwin";ge.isLinux=ge.platform==="linux";function AT(){return vl(this,void 0,void 0,function*(){return Object.assign(Object.assign({},yield ge.isWindows?PT():ge.isMacOS?IT():DT()),{platform:ge.platform,arch:ge.arch,isWindows:ge.isWindows,isMacOS:ge.isMacOS,isLinux:ge.isLinux})})}o(AT,"getDetails");ge.getDetails=AT});var st=N(W=>{"use strict";var BT=W&&W.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a);var r=Object.getOwnPropertyDescriptor(e,a);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[a]}}),Object.defineProperty(t,i,r)}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),MT=W&&W.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),zm=W&&W.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.prototype.hasOwnProperty.call(t,a)&&BT(e,t,a);return MT(e,t),e},Y4=W&&W.__awaiter||function(t,e,a,i){function r(n){return n instanceof a?n:new a(function(s){s(n)})}return o(r,"adopt"),new(a||(a=Promise))(function(n,s){function p(c){try{d(i.next(c))}catch(u){s(u)}}o(p,"fulfilled");function l(c){try{d(i.throw(c))}catch(u){s(u)}}o(l,"rejected");function d(c){c.done?n(c.value):r(c.value).then(p,l)}o(d,"step"),d((i=i.apply(t,e||[])).next())})};Object.defineProperty(W,"__esModule",{value:!0});W.platform=W.toPlatformPath=W.toWin32Path=W.toPosixPath=W.markdownSummary=W.summary=W.getIDToken=W.getState=W.saveState=W.group=W.endGroup=W.startGroup=W.info=W.notice=W.warning=W.error=W.debug=W.isDebug=W.setFailed=W.setCommandEcho=W.setOutput=W.getBooleanInput=W.getMultilineInput=W.getInput=W.addPath=W.setSecret=W.exportVariable=W.ExitCode=void 0;var Na=f4(),zr=y4(),Dn=sl(),Q4=zm(require("os")),LT=zm(require("path")),qT=O4(),qm;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(qm||(W.ExitCode=qm={}));function zT(t,e){let a=(0,Dn.toCommandValue)(e);if(process.env[t]=a,process.env.GITHUB_ENV||"")return(0,zr.issueFileCommand)("ENV",(0,zr.prepareKeyValueMessage)(t,e));(0,Na.issueCommand)("set-env",{name:t},a)}o(zT,"exportVariable");W.exportVariable=zT;function jT(t){(0,Na.issueCommand)("add-mask",{},t)}o(jT,"setSecret");W.setSecret=jT;function kT(t){process.env.GITHUB_PATH||""?(0,zr.issueFileCommand)("PATH",t):(0,Na.issueCommand)("add-path",{},t),process.env.PATH=`${t}${LT.delimiter}${process.env.PATH}`}o(kT,"addPath");W.addPath=kT;function jm(t,e){let a=process.env[`INPUT_${t.replace(/ /g,"_").toUpperCase()}`]||"";if(e&&e.required&&!a)throw new Error(`Input required and not supplied: ${t}`);return e&&e.trimWhitespace===!1?a:a.trim()}o(jm,"getInput");W.getInput=jm;function UT(t,e){let a=jm(t,e).split(`
`).filter(i=>i!=="");return e&&e.trimWhitespace===!1?a:a.map(i=>i.trim())}o(UT,"getMultilineInput");W.getMultilineInput=UT;function HT(t,e){let a=["true","True","TRUE"],i=["false","False","FALSE"],r=jm(t,e);if(a.includes(r))return!0;if(i.includes(r))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(HT,"getBooleanInput");W.getBooleanInput=HT;function FT(t,e){if(process.env.GITHUB_OUTPUT||"")return(0,zr.issueFileCommand)("OUTPUT",(0,zr.prepareKeyValueMessage)(t,e));process.stdout.write(Q4.EOL),(0,Na.issueCommand)("set-output",{name:t},(0,Dn.toCommandValue)(e))}o(FT,"setOutput");W.setOutput=FT;function VT(t){(0,Na.issue)("echo",t?"on":"off")}o(VT,"setCommandEcho");W.setCommandEcho=VT;function $T(t){process.exitCode=qm.Failure,J4(t)}o($T,"setFailed");W.setFailed=$T;function GT(){return process.env.RUNNER_DEBUG==="1"}o(GT,"isDebug");W.isDebug=GT;function WT(t){(0,Na.issueCommand)("debug",{},t)}o(WT,"debug");W.debug=WT;function J4(t,e={}){(0,Na.issueCommand)("error",(0,Dn.toCommandProperties)(e),t instanceof Error?t.toString():t)}o(J4,"error");W.error=J4;function XT(t,e={}){(0,Na.issueCommand)("warning",(0,Dn.toCommandProperties)(e),t instanceof Error?t.toString():t)}o(XT,"warning");W.warning=XT;function KT(t,e={}){(0,Na.issueCommand)("notice",(0,Dn.toCommandProperties)(e),t instanceof Error?t.toString():t)}o(KT,"notice");W.notice=KT;function YT(t){process.stdout.write(t+Q4.EOL)}o(YT,"info");W.info=YT;function Z4(t){(0,Na.issue)("group",t)}o(Z4,"startGroup");W.startGroup=Z4;function e3(){(0,Na.issue)("endgroup")}o(e3,"endGroup");W.endGroup=e3;function QT(t,e){return Y4(this,void 0,void 0,function*(){Z4(t);let a;try{a=yield e()}finally{e3()}return a})}o(QT,"group");W.group=QT;function JT(t,e){if(process.env.GITHUB_STATE||"")return(0,zr.issueFileCommand)("STATE",(0,zr.prepareKeyValueMessage)(t,e));(0,Na.issueCommand)("save-state",{name:t},(0,Dn.toCommandValue)(e))}o(JT,"saveState");W.saveState=JT;function ZT(t){return process.env[`STATE_${t}`]||""}o(ZT,"getState");W.getState=ZT;function eO(t){return Y4(this,void 0,void 0,function*(){return yield qT.OidcClient.getIDToken(t)})}o(eO,"getIDToken");W.getIDToken=eO;var tO=Im();Object.defineProperty(W,"summary",{enumerable:!0,get:function(){return tO.summary}});var aO=Im();Object.defineProperty(W,"markdownSummary",{enumerable:!0,get:function(){return aO.markdownSummary}});var km=P4();Object.defineProperty(W,"toPosixPath",{enumerable:!0,get:function(){return km.toPosixPath}});Object.defineProperty(W,"toWin32Path",{enumerable:!0,get:function(){return km.toWin32Path}});Object.defineProperty(W,"toPlatformPath",{enumerable:!0,get:function(){return km.toPlatformPath}});W.platform=zm(K4())});var t3=N(si=>{"use strict";var iO=si&&si.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[a]}})}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),rO=si&&si.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),nO=si&&si.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.hasOwnProperty.call(t,a)&&iO(e,t,a);return rO(e,t),e};Object.defineProperty(si,"__esModule",{value:!0});si.getOptions=void 0;var Um=nO(st());function sO(t){let e={followSymbolicLinks:!0,implicitDescendants:!0,omitBrokenSymbolicLinks:!0};return t&&(typeof t.followSymbolicLinks=="boolean"&&(e.followSymbolicLinks=t.followSymbolicLinks,Um.debug(`followSymbolicLinks '${e.followSymbolicLinks}'`)),typeof t.implicitDescendants=="boolean"&&(e.implicitDescendants=t.implicitDescendants,Um.debug(`implicitDescendants '${e.implicitDescendants}'`)),typeof t.omitBrokenSymbolicLinks=="boolean"&&(e.omitBrokenSymbolicLinks=t.omitBrokenSymbolicLinks,Um.debug(`omitBrokenSymbolicLinks '${e.omitBrokenSymbolicLinks}'`))),e}o(sO,"getOptions");si.getOptions=sO});var xl=N($e=>{"use strict";var oO=$e&&$e.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[a]}})}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),pO=$e&&$e.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),lO=$e&&$e.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.hasOwnProperty.call(t,a)&&oO(e,t,a);return pO(e,t),e},dO=$e&&$e.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty($e,"__esModule",{value:!0});$e.safeTrimTrailingSeparator=$e.normalizeSeparators=$e.hasRoot=$e.hasAbsoluteRoot=$e.ensureAbsoluteRoot=$e.dirname=void 0;var bl=lO(require("path")),jr=dO(require("assert")),er=process.platform==="win32";function cO(t){if(t=Fm(t),er&&/^\\\\[^\\]+(\\[^\\]+)?$/.test(t))return t;let e=bl.dirname(t);return er&&/^\\\\[^\\]+\\[^\\]+\\$/.test(e)&&(e=Fm(e)),e}o(cO,"dirname");$e.dirname=cO;function uO(t,e){if(jr.default(t,"ensureAbsoluteRoot parameter 'root' must not be empty"),jr.default(e,"ensureAbsoluteRoot parameter 'itemPath' must not be empty"),Hm(e))return e;if(er){if(e.match(/^[A-Z]:[^\\/]|^[A-Z]:$/i)){let a=process.cwd();rLine truncated
%s`,g,g,I,i);var S=I.type==="*"?Wm:I.type==="?"?Gm:"\\"+I.type;r=!0,i=i.slice(0,I.reStart)+S+"\\("+g}h(),n&&(i+="\\\\");var O=!1;switch(i.charAt(0)){case"[":case".":case"(":O=!0}for(var _=p.length-1;_>-1;_--){var D=p[_],T=i.slice(0,D.reStart),P=i.slice(D.reStart,D.reEnd-8),B=i.slice(D.reEnd-8,D.reEnd),k=i.slice(D.reEnd);B+=k;var oe=T.split("(").length-1,ve=k;for(b=0;b<oe;b++)ve=ve.replace(/\)[+*?]?/,"");k=ve;var Q="";k===""&&e!==Nl&&(Q="$");var rt=T+P+k+Q+B;i=rt}if(i!==""&&r&&(i="(?=.)"+i),O&&(i=m+i),e===Nl)return[i,r];if(!r)return UO(t);var he=a.nocase?"i":"";try{var Ua=new RegExp("^"+i+"$",he)}catch{return new RegExp("$.")}return Ua._glob=t,Ua._src=i,Ua}o(jO,"parse");da.makeRe=function(t,e){return new Bt(t,e||{}).makeRe()};Bt.prototype.makeRe=kO;function kO(){if(this.regexp||this.regexp===!1)return this.regexp;var t=this.set;if(!t.length)return this.regexp=!1,this.regexp;var e=this.options,a=e.noglobstar?Wm:e.dot?DO:AO,i=e.nocase?"i":"",r=t.map(function(n){return n.map(function(s){return s===Xm?a:typeof s=="string"?HO(s):s._src}).join("\\/")}).join("|");r="^(?:"+r+")$",this.negate&&(r="^(?!"+r+").*$");try{this.regexp=new RegExp(r,i)}catch{this.regexp=!1}return this.regexp}o(kO,"makeRe");da.match=function(t,e,a){a=a||{};var i=new Bt(e,a);return t=t.filter(function(r){return i.match(r)}),i.options.nonull&&!t.length&&t.push(e),t};Bt.prototype.match=o(function(e,a){if(typeof a>"u"&&(a=this.partial),this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return e==="";if(e==="/"&&a)return!0;var i=this.options;bo.sep!=="/"&&(e=e.split(bo.sep).join("/")),e=e.split(N3),this.debug(this.pattern,"split",e);var r=this.set;this.debug(this.pattern,"set",r);var n,s;for(s=e.length-1;s>=0&&(n=e[s],!n);s--);for(s=0;s<r.length;s++){var p=r[s],l=e;i.matchBase&&p.length===1&&(l=[n]);var d=this.matchOne(l,p,a);if(d)return i.flipNegate?!0:!this.negate}return i.flipNegate?!1:this.negate},"match");Bt.prototype.matchOne=function(t,e,a){var i=this.options;this.debug("matchOne",{this:this,file:t,pattern:e}),this.debug("matchOne",t.length,e.length);for(var r=0,n=0,s=t.length,p=e.length;r<s&&n<p;r++,n++){this.debug("matchOne loop");var l=e[n],d=t[r];if(this.debug(e,l,d),l===!1)return!1;if(l===Xm){this.debug("GLOBSTAR",[e,l,d]);var c=r,u=n+1;if(u===p){for(this.debug("** at the end");r<s;r++)if(t[r]==="."||t[r]===".."||!i.dot&&t[r].charAt(0)===".")return!1;return!0}for(;c<s;){var m=t[c];if(this.debug(`
globstar while`,t,c,e,u,m),this.matchOne(t.slice(c),e.slice(u),a))return this.debug("globstar found match!",c,s,m),!0;if(m==="."||m===".."||!i.dot&&m.charAt(0)==="."){this.debug("dot detected!",t,c,e,u);break}this.debug("globstar swallow a segment, and continue"),c++}return!!(a&&(this.debug(`
>>> no match, partial?`,t,c,e,u),c===s))}var f;if(typeof l=="string"?(f=d===l,this.debug("string match",l,d,f)):(f=d.match(l),this.debug("pattern match",l,d,f)),!f)return!1}if(r===s&&n===p)return!0;if(r===s)return a;if(n===p)return r===s-1&&t[r]==="";throw new Error("wtf?")};function GO(t){return t.replace(/\\(.)/g,"$1")}o(GO,"globUnescape");function WO(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}o(WO,"regExpEscape")});var C3=N(_a=>{"use strict";var XO=_a&&_a.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[a]}})}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),KO=_a&&_a.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),E3=_a&&_a.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.hasOwnProperty.call(t,a)&&XO(e,t,a);return KO(e,t),e},YO=_a&&_a.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(_a,"__esModule",{value:!0});_a.Path=void 0;var wo=E3(require("path")),tr=E3(xl()),No=YO(require("assert")),QO=process.platform==="win32",Xm=class{static{o(this,"Path")}constructor(e){if(this.segments=[],typeof e=="string")if(No.default(e,"Parameter 'itemPath' must not be empty"),e=tr.safeTrimTrailingSeparator(e),!tr.hasRoot(e))this.segments=e.split(wo.sep);else{let a=e,i=tr.dirname(a);for(;i!==a;){let r=wo.basename(a);this.segments.unshift(r),a=i,i=tr.dirname(a)}this.segments.unshift(a)}else{No.default(e.length>0,"Parameter 'itemPath' must not be an empty array");for(let a=0;a<e.length;a++){let i=e[a];No.default(i,"Parameter 'itemPath' must not contain any empty segments"),i=tr.normalizeSeparators(e[a]),a===0&&tr.hasRoot(i)?(i=tr.safeTrimTrailingSeparator(i),No.default(i===tr.dirname(i),"Parameter 'itemPath' root segment contains information for multiple segments"),this.segments.push(i)):(No.default(!i.includes(wo.sep),"Parameter 'itemPath' contains unexpected path separators"),this.segments.push(i))}}}toString(){let e=this.segments[0],a=e.endsWith(wo.sep)||QO&&/^[A-Z]:$/i.test(e);for(let i=1;i<this.segments.length;i++)a?a=!1:e+=wo.sep,e+=this.segments[i];return e}};_a.Path=Xm});var T3=N(Sa=>{"use strict";var JO=Sa&&Sa.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[a]}})}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),ZO=Sa&&Sa.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),Qm=Sa&&Sa.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.hasOwnProperty.call(t,a)&&JO(e,t,a);return ZO(e,t),e},eR=Sa&&Sa.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Sa,"__esModule",{value:!0});Sa.Pattern=void 0;var tR=Qm(require("os")),_o=Qm(require("path")),ta=Qm(xl()),kr=eR(require("assert")),aR=S3(),Km=wl(),Sl=C3(),Ci=process.platform==="win32",Ym=class t{static{o(this,"Pattern")}constructor(e,a=!1,i,r){this.negate=!1;let n;if(typeof e=="string")n=e.trim();else{i=i||[],kr.default(i.length,"Parameter 'segments' must not empty");let d=t.getLiteral(i[0]);kr.default(d&&ta.hasAbsoluteRoot(d),"Parameter 'segments' first element must be a root path"),n=new Sl.Path(i).toString().trim(),e&&(n=`!${n}`)}for(;n.startsWith("!");)this.negate=!this.negate,n=n.substr(1).trim();n=t.fixupPattern(n,r),this.segments=new Sl.Path(n).segments,this.trailingSeparator=ta.normalizeSeparators(n).endsWith(_o.sep),n=ta.safeTrimTrailingSeparator(n);let s=!1,p=this.segments.map(d=>t.getLiteral(d)).filter(d=>!s&&!(s=d===""));this.searchPath=new Sl.Path(p).toString(),this.rootRegExp=new RegExp(t.regExpEscape(p[0]),Ci?"i":""),this.isImplicitPattern=a;let l={dot:!0,nobrace:!0,nocase:Ci,nocomment:!0,noext:!0,nonegate:!0};n=Ci?n.replace(/\\/g,"/"):n,this.minimatch=new aR.Minimatch(n,l)}match(e){return this.segments[this.segments.length-1]==="**"?(e=ta.normalizeSeparators(e),!e.endsWith(_o.sep)&&this.isImplicitPattern===!1&&(e=`${e}${_o.sep}`)):e=ta.safeTrimTrailingSeparator(e),this.minimatch.match(e)?this.trailingSeparator?Km.MatchKind.Directory:Km.MatchKind.All:Km.MatchKind.None}partialMatch(e){return e=ta.safeTrimTrailingSeparator(e),ta.dirname(e)===e?this.rootRegExp.test(e):this.minimatch.matchOne(e.split(Ci?/\\+/:/\/+/),this.minimatch.set[0],!0)}static globEscape(e){return(Ci?e:e.replace(/\\/g,"\\\\")).replace(/(\[)(?=[^/]+\])/g,"[[]").replace(/\?/g,"[?]").replace(/\*/g,"[*]")}static fixupPattern(e,a){kr.default(e,"pattern cannot be empty");let i=new Sl.Path(e).segments.map(r=>t.getLiteral(r));if(kr.default(i.every((r,n)=>(r!=="."||n===0)&&r!==".."),`Invalid pattern '${e}'. Relative pathing '.' and '..' is not allowed.`),kr.default(!ta.hasRoot(e)||i[0],`Invalid pattern '${e}'. Root segment must not contain globs.`),e=ta.nor Line truncated
>>> no match, partial?`,t,c,e,u),c===s))}var f;if(typeof l=="string"?(f=d===l,this.debug("string match",l,d,f)):(f=d.match(l),this.debug("pattern match",l,d,f)),!f)return!1}if(r===s&&n===p)return!0;if(r===s)return a;if(n===p)return r===s-1&&t[r]==="";throw new Error("wtf?")};function UO(t){return t.replace(/\\(.)/g,"$1")}o(UO,"globUnescape");function HO(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}o(HO,"regExpEscape")});var T3=N(_a=>{"use strict";var FO=_a&&_a.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[a]}})}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),VO=_a&&_a.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),C3=_a&&_a.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.hasOwnProperty.call(t,a)&&FO(e,t,a);return VO(e,t),e},$O=_a&&_a.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(_a,"__esModule",{value:!0});_a.Path=void 0;var xo=C3(require("path")),ar=C3(xl()),wo=$O(require("assert")),GO=process.platform==="win32",Km=class{static{o(this,"Path")}constructor(e){if(this.segments=[],typeof e=="string")if(wo.default(e,"Parameter 'itemPath' must not be empty"),e=ar.safeTrimTrailingSeparator(e),!ar.hasRoot(e))this.segments=e.split(xo.sep);else{let a=e,i=ar.dirname(a);for(;i!==a;){let r=xo.basename(a);this.segments.unshift(r),a=i,i=ar.dirname(a)}this.segments.unshift(a)}else{wo.default(e.length>0,"Parameter 'itemPath' must not be an empty array");for(let a=0;a<e.length;a++){let i=e[a];wo.default(i,"Parameter 'itemPath' must not contain any empty segments"),i=ar.normalizeSeparators(e[a]),a===0&&ar.hasRoot(i)?(i=ar.safeTrimTrailingSeparator(i),wo.default(i===ar.dirname(i),"Parameter 'itemPath' root segment contains information for multiple segments"),this.segments.push(i)):(wo.default(!i.includes(xo.sep),"Parameter 'itemPath' contains unexpected path separators"),this.segments.push(i))}}}toString(){let e=this.segments[0],a=e.endsWith(xo.sep)||GO&&/^[A-Z]:$/i.test(e);for(let i=1;i<this.segments.length;i++)a?a=!1:e+=xo.sep,e+=this.segments[i];return e}};_a.Path=Km});var O3=N(Sa=>{"use strict";var WO=Sa&&Sa.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[a]}})}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),XO=Sa&&Sa.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),Jm=Sa&&Sa.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.hasOwnProperty.call(t,a)&&WO(e,t,a);return XO(e,t),e},KO=Sa&&Sa.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Sa,"__esModule",{value:!0});Sa.Pattern=void 0;var YO=Jm(require("os")),No=Jm(require("path")),ta=Jm(xl()),kr=KO(require("assert")),QO=E3(),Ym=wl(),Sl=T3(),Ci=process.platform==="win32",Qm=class t{static{o(this,"Pattern")}constructor(e,a=!1,i,r){this.negate=!1;let n;if(typeof e=="string")n=e.trim();else{i=i||[],kr.default(i.length,"Parameter 'segments' must not empty");let d=t.getLiteral(i[0]);kr.default(d&&ta.hasAbsoluteRoot(d),"Parameter 'segments' first element must be a root path"),n=new Sl.Path(i).toString().trim(),e&&(n=`!${n}`)}for(;n.startsWith("!");)this.negate=!this.negate,n=n.substr(1).trim();n=t.fixupPattern(n,r),this.segments=new Sl.Path(n).segments,this.trailingSeparator=ta.normalizeSeparators(n).endsWith(No.sep),n=ta.safeTrimTrailingSeparator(n);let s=!1,p=this.segments.map(d=>t.getLiteral(d)).filter(d=>!s&&!(s=d===""));this.searchPath=new Sl.Path(p).toString(),this.rootRegExp=new RegExp(t.regExpEscape(p[0]),Ci?"i":""),this.isImplicitPattern=a;let l={dot:!0,nobrace:!0,nocase:Ci,nocomment:!0,noext:!0,nonegate:!0};n=Ci?n.replace(/\\/g,"/"):n,this.minimatch=new QO.Minimatch(n,l)}match(e){return this.segments[this.segments.length-1]==="**"?(e=ta.normalizeSeparators(e),!e.endsWith(No.sep)&&this.isImplicitPattern===!1&&(e=`${e}${No.sep}`)):e=ta.safeTrimTrailingSeparator(e),this.minimatch.match(e)?this.trailingSeparator?Ym.MatchKind.Directory:Ym.MatchKind.All:Ym.MatchKind.None}partialMatch(e){return e=ta.safeTrimTrailingSeparator(e),ta.dirname(e)===e?this.rootRegExp.test(e):this.minimatch.matchOne(e.split(Ci?/\\+/:/\/+/),this.minimatch.set[0],!0)}static globEscape(e){return(Ci?e:e.replace(/\\/g,"\\\\")).replace(/(\[)(?=[^/]+\])/g,"[[]").replace(/\?/g,"[?]").replace(/\*/g,"[*]")}static fixupPattern(e,a){kr.default(e,"pattern cannot be empty");let i=new Sl.Path(e).segments.map(r=>t.getLiteral(r));if(kr.default(i.every((r,n)=>(r!=="."||n===0)&&r!==".."),`Invalid pattern '${e}'. Relative pathing '.' and '..' is not allowed.`),kr.default(!ta.hasRoot(e)||i[0],`Invalid pattern '${e}'. Root segment must not contain globs.`),e=ta.nor Line truncated
`),e=e.replace(/\r/g,`
`));let r=e.split(`
`).map(n=>n.trim());for(let n of r)!n||n.startsWith("#")||i.patterns.push(new I3.Pattern(n));return i.searchPaths.push(...Cl.getSearchPaths(i.patterns)),i})}static stat(e,a,i){return Zm(this,void 0,void 0,function*(){let r;if(a.followSymbolicLinks)try{r=yield So.promises.stat(e.path)}catch(n){if(n.code==="ENOENT"){if(a.omitBrokenSymbolicLinks){e1.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 n}else r=yield So.promises.lstat(e.path);if(r.isDirectory()&&a.followSymbolicLinks){let n=yield So.promises.realpath(e.path);for(;i.length>=e.level;)i.pop();if(i.some(s=>s===n)){e1.debug(`Symlink cycle detected for path '${e.path}' and realpath '${n}'`);return}i.push(n)}return r})}};bt.DefaultGlobber=t1});var B3=N(Bn=>{"use strict";var lR=Bn&&Bn.__awaiter||function(t,e,a,i){function r(n){return n instanceof a?n:new a(function(s){s(n)})}return o(r,"adopt"),new(a||(a=Promise))(function(n,s){function p(c){try{d(i.next(c))}catch(u){s(u)}}o(p,"fulfilled");function l(c){try{d(i.throw(c))}catch(u){s(u)}}o(l,"rejected");function d(c){c.done?n(c.value):r(c.value).then(p,l)}o(d,"step"),d((i=i.apply(t,e||[])).next())})};Object.defineProperty(Bn,"__esModule",{value:!0});Bn.create=void 0;var dR=A3();function cR(t,e){return lR(this,void 0,void 0,function*(){return yield dR.DefaultGlobber.create(t,e)})}o(cR,"create");Bn.create=cR});var Il=N((ie,j3)=>{ie=j3.exports=se;var Ee;typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?Ee=o(function(){var t=Array.prototype.slice.call(arguments,0);t.unshift("SEMVER"),console.log.apply(console,t)},"debug"):Ee=o(function(){},"debug");ie.SEMVER_SPEC_VERSION="2.0.0";var Co=256,Tl=Number.MAX_SAFE_INTEGER||9007199254740991,a1=16,uR=Co-6,Mn=ie.re=[],Se=ie.safeRe=[],M=ie.src=[],A=ie.tokens={},q3=0;function le(t){A[t]=q3++}o(le,"tok");var r1="[a-zA-Z0-9-]",i1=[["\\s",1],["\\d",Co],[r1,uR]];function Oo(t){for(var e=0;e<i1.length;e++){var a=i1[e][0],i=i1[e][1];t=t.split(a+"*").join(a+"{0,"+i+"}").split(a+"+").join(a+"{1,"+i+"}")}return t}o(Oo,"makeSafeRe");le("NUMERICIDENTIFIER");M[A.NUMERICIDENTIFIER]="0|[1-9]\\d*";le("NUMERICIDENTIFIERLOOSE");M[A.NUMERICIDENTIFIERLOOSE]="\\d+";le("NONNUMERICIDENTIFIER");M[A.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-]"+r1+"*";le("MAINVERSION");M[A.MAINVERSION]="("+M[A.NUMERICIDENTIFIER]+")\\.("+M[A.NUMERICIDENTIFIER]+")\\.("+M[A.NUMERICIDENTIFIER]+")";le("MAINVERSIONLOOSE");M[A.MAINVERSIONLOOSE]="("+M[A.NUMERICIDENTIFIERLOOSE]+")\\.("+M[A.NUMERICIDENTIFIERLOOSE]+")\\.("+M[A.NUMERICIDENTIFIERLOOSE]+")";le("PRERELEASEIDENTIFIER");M[A.PRERELEASEIDENTIFIER]="(?:"+M[A.NUMERICIDENTIFIER]+"|"+M[A.NONNUMERICIDENTIFIER]+")";le("PRERELEASEIDENTIFIERLOOSE");M[A.PRERELEASEIDENTIFIERLOOSE]="(?:"+M[A.NUMERICIDENTIFIERLOOSE]+"|"+M[A.NONNUMERICIDENTIFIER]+")";le("PRERELEASE");M[A.PRERELEASE]="(?:-("+M[A.PRERELEASEIDENTIFIER]+"(?:\\."+M[A.PRERELEASEIDENTIFIER]+")*))";le("PRERELEASELOOSE");M[A.PRERELEASELOOSE]="(?:-?("+M[A.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+M[A.PRERELEASEIDENTIFIERLOOSE]+")*))";le("BUILDIDENTIFIER");M[A.BUILDIDENTIFIER]=r1+"+";le("BUILD");M[A.BUILD]="(?:\\+("+M[A.BUILDIDENTIFIER]+"(?:\\."+M[A.BUILDIDENTIFIER]+")*))";le("FULL");le("FULLPLAIN");M[A.FULLPLAIN]="v?"+M[A.MAINVERSION]+M[A.PRERELEASE]+"?"+M[A.BUILD]+"?";M[A.FULL]="^"+M[A.FULLPLAIN]+"$";le("LOOSEPLAIN");M[A.LOOSEPLAIN]="[v=\\s]*"+M[A.MAINVERSIONLOOSE]+M[A.PRERELEASELOOSE]+"?"+M[A.BUILD]+"?";le("LOOSE");M[A.LOOSE]="^"+M[A.LOOSEPLAIN]+"$";le("GTLT");M[A.GTLT]="((?:<|>)?=?)";le("XRANGEIDENTIFIERLOOSE");M[A.XRANGEIDENTIFIERLOOSE]=M[A.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*";le("XRANGEIDENTIFIER");M[A.XRANGEIDENTIFIER]=M[A.NUMERICIDENTIFIER]+"|x|X|\\*";le("XRANGEPLAIN");M[A.XRANGEPLAIN]="[v=\\s]*("+M[A.XRANGEIDENTIFIER]+")(?:\\.("+M[A.XRANGEIDENTIFIER]+")(?:\\.("+M[A.XRANGEIDENTIFIER]+")(?:"+M[A.PRERELEASE]+")?"+M[A.BUILD]+"?)?)?";le("XRANGEPLAINLOOSE");M[A.XRANGEPLAINLOOSE]="[v=\\s]*("+M[A.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+M[A.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+M[A.XRANGEIDENTIFIERLOOSE]+")(?:"+M[A.PRERELEASELOOSE]+")?"+M[A.BUILD]+"?)?)?";le("XRANGE");M[A.XRANGE]="^"+M[A.GTLT]+"\\s*"+M[A.XRANGEPLAIN]+"$";le("XRANGELOOSE");M[A.XRANGELOOSE]="^"+M[A.GTLT]+"\\s*"+M[A.XRANGEPLAINLOOSE]+"$";le("COERCE");M[A.COERCE]="(^|[^\\d])(\\d{1,"+a1+"})(?:\\.(\\d{1,"+a1+"}))?(?:\\.(\\d{1,"+a1+"}))?(?:$|[^\\d])";le("COERCERTL");Mn[A.COERCERTL]=new RegExp(M[A.COERCE],"g");Se[A.COERCERTL]=new RegExp(Oo(M[A.COERCE]),"g");le("LONETILDE");M[A.LONETILDE]="(?:~>?)";le("TILDETRIM");M[A.TILDETRIM]="(\\s*)"+M[A.LONETILDE]+"\\s+";Mn[A.TILDETRIM]=new RegExp(M[A.TILDETRIM],"g");Se[A.TILDETRIM]=new RegExp(Oo(M[A.TILDETRIM]),"g");var mR="$1~";le("TILDE");M[A.TILDE]="^"+M[A.LONETILDE]+M[A.XRANGEPLAIN]+"$";le("TILDELOOSE");M[A.TILDELOOSE]="^"+M[A.LONETILDE]+M[A.XRANGEPLAINLOOSE]+"$";le("LONECARET");M[A.LONECARET]="(?:\\^)";le("CARETTRIM");M[A.CARETTRIM]="(\\s*)"+M[A.LONECARET]+"\\s+";Mn[A.CARETTRIM]=new Line truncated
`),{implicitDescendants:!1});try{for(var d=!0,c=QR(l.globGenerator()),u;u=yield c.next(),e=u.done,!e;d=!0){r=u.value,d=!1;let m=r,f=Dl.relative(p,m).replace(new RegExp(`\\${Dl.sep}`,"g"),"/");Ro.debug(`Matched: ${f}`),f===""?s.push("."):s.push(`${f}`)}}catch(m){a={error:m}}finally{try{!d&&!e&&(i=c.return)&&(yield i.call(c))}finally{if(a)throw a.error}}return s})}o(nP,"resolvePaths");xe.resolvePaths=nP;function sP(t){return zn(this,void 0,void 0,function*(){return tP.promisify(l1.unlink)(t)})}o(sP,"unlinkFile");xe.unlinkFile=sP;function $3(t,e=[]){return zn(this,void 0,void 0,function*(){let a="";e.push("--version"),Ro.debug(`Checking ${t} ${e.join(" ")}`);try{yield JR.exec(`${t}`,e,{ignoreReturnCode:!0,silent:!0,listeners:{stdout:i=>a+=i.toString(),stderr:i=>a+=i.toString()}})}catch(i){Ro.debug(i.message)}return a=a.trim(),Ro.debug(a),a})}o($3,"getVersion");function oP(){return zn(this,void 0,void 0,function*(){let t=yield $3("zstd",["--quiet"]),e=eP.clean(t);return Ro.debug(`zstd version: ${e}`),t===""?Fr.CompressionMethod.Gzip:Fr.CompressionMethod.ZstdWithoutLong})}o(oP,"getCompressionMethod");xe.getCompressionMethod=oP;function pP(t){return t===Fr.CompressionMethod.Gzip?Fr.CacheFilename.Gzip:Fr.CacheFilename.Zstd}o(pP,"getCacheFileName");xe.getCacheFileName=pP;function lP(){return zn(this,void 0,void 0,function*(){return l1.existsSync(Fr.GnuTarPathOnWindows)?Fr.GnuTarPathOnWindows:(yield $3("tar")).toLowerCase().includes("gnu tar")?F3.which("tar"):""})}o(lP,"getGnuTarPathOnWindows");xe.getGnuTarPathOnWindows=lP;function dP(t,e){if(e===void 0)throw Error(`Expected ${t} but value was undefiend`);return e}o(dP,"assertDefined");xe.assertDefined=dP;function cP(t,e,a=!1){let i=t.slice();return e&&i.push(e),process.platform==="win32"&&!a&&i.push("windows-only"),i.push(aP),V3.createHash("sha256").update(i.join("|")).digest("hex")}o(cP,"getCacheVersion");xe.getCacheVersion=cP;function uP(){let t=process.env.ACTIONS_RUNTIME_TOKEN;if(!t)throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable");return t}o(uP,"getRuntimeToken");xe.getRuntimeToken=uP});function Po(){return Al>Bl.length-16&&(G3.default.randomFillSync(Bl),Al=0),Bl.slice(Al,Al+=16)}var G3,Bl,Al,d1=jt(()=>{G3=ba(require("crypto")),Bl=new Uint8Array(256),Al=Bl.length;o(Po,"rng")});var W3,X3=jt(()=>{W3=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i});function mP(t){return typeof t=="string"&&W3.test(t)}var ir,Io=jt(()=>{X3();o(mP,"validate");ir=mP});function fP(t,e=0){let a=(Mt[t[e+0]]+Mt[t[e+1]]+Mt[t[e+2]]+Mt[t[e+3]]+"-"+Mt[t[e+4]]+Mt[t[e+5]]+"-"+Mt[t[e+6]]+Mt[t[e+7]]+"-"+Mt[t[e+8]]+Mt[t[e+9]]+"-"+Mt[t[e+10]]+Mt[t[e+11]]+Mt[t[e+12]]+Mt[t[e+13]]+Mt[t[e+14]]+Mt[t[e+15]]).toLowerCase();if(!ir(a))throw TypeError("Stringified UUID is invalid");return a}var Mt,rr,Do=jt(()=>{Io();Mt=[];for(let t=0;t<256;++t)Mt.push((t+256).toString(16).substr(1));o(fP,"stringify");rr=fP});function hP(t,e,a){let i=e&&a||0,r=e||new Array(16);t=t||{};let n=t.node||K3,s=t.clockseq!==void 0?t.clockseq:c1;if(n==null||s==null){let m=t.random||(t.rng||Po)();n==null&&(n=K3=[m[0]|1,m[1],m[2],m[3],m[4],m[5]]),s==null&&(s=c1=(m[6]<<8|m[7])&16383)}let p=t.msecs!==void 0?t.msecs:Date.now(),l=t.nsecs!==void 0?t.nsecs:m1+1,d=p-u1+(l-m1)/1e4;if(d<0&&t.clockseq===void 0&&(s=s+1&16383),(d<0||p>u1)&&t.nsecs===void 0&&(l=0),l>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");u1=p,m1=l,c1=s,p+=122192928e5;let c=((p&268435455)*1e4+l)%4294967296;r[i++]=c>>>24&255,r[i++]=c>>>16&255,r[i++]=c>>>8&255,r[i++]=c&255;let u=p/4294967296*1e4&268435455;r[i++]=u>>>8&255,r[i++]=u&255,r[i++]=u>>>24&15|16,r[i++]=u>>>16&255,r[i++]=s>>>8|128,r[i++]=s&255;for(let m=0;m<6;++m)r[i+m]=n[m];return e||rr(r)}var K3,c1,u1,m1,Y3,Q3=jt(()=>{d1();Do();u1=0,m1=0;o(hP,"v1");Y3=hP});function gP(t){if(!ir(t))throw TypeError("Invalid UUID");let e,a=new Uint8Array(16);return a[0]=(e=parseInt(t.slice(0,8),16))>>>24,a[1]=e>>>16&255,a[2]=e>>>8&255,a[3]=e&255,a[4]=(e=parseInt(t.slice(9,13),16))>>>8,a[5]=e&255,a[6]=(e=parseInt(t.slice(14,18),16))>>>8,a[7]=e&255,a[8]=(e=parseInt(t.slice(19,23),16))>>>8,a[9]=e&255,a[10]=(e=parseInt(t.slice(24,36),16))/1099511627776&255,a[11]=e/4294967296&255,a[12]=e>>>24&255,a[13]=e>>>16&255,a[14]=e>>>8&255,a[15]=e&255,a}var Ml,f1=jt(()=>{Io();o(gP,"parse");Ml=gP});function yP(t){t=unescape(encodeURIComponent(t));let e=[];for(let a=0;a<t.length;++a)e.push(t.charCodeAt(a));return e}function Ao(t,e,a){function i(r,n,s,p){if(typeof r=="string"&&(r=yP(r)),typeof n=="string"&&(n=Ml(n)),n.length!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let l=new Uint8Array(16+r.length);if(l.set(n),l.set(r,n.length),l=a(l),l[6]=l[6]&15|e,l[8]=l[8]&63|128,s){p=p||0;for(let d=0;d<16;++d)s[p+d]=l[d];return s}return rr(l)}o(i,"generateUUID");try{i.name=t}catch{}return i.DNS=vP,i.URL=bP,i}var vP,bP,h1=jt(()=>{Do();f1();o(yP,"stringToBytes");vP="6ba7b810-9dad-11d1-80b4-00c04fd430c8",bP Line truncated
`},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(v1)});var oi=N((zg,nr)=>{(function(){var t,e,a,i,r,n,s,p=[].slice,l={}.hasOwnProperty;t=o(function(){var d,c,u,m,f,h;if(h=arguments[0],f=2<=arguments.length?p.call(arguments,1):[],r(Object.assign))Object.assign.apply(null,arguments);else for(d=0,u=f.length;d<u;d++)if(m=f[d],m!=null)for(c in m)l.call(m,c)&&(h[c]=m[c]);return h},"assign"),r=o(function(d){return!!d&&Object.prototype.toString.call(d)==="[object Function]"},"isFunction"),n=o(function(d){var c;return!!d&&((c=typeof d)=="function"||c==="object")},"isObject"),a=o(function(d){return r(Array.isArray)?Array.isArray(d):Object.prototype.toString.call(d)==="[object Array]"},"isArray"),i=o(function(d){var c;if(a(d))return!d.length;for(c in d)if(l.call(d,c))return!1;return!0},"isEmpty"),s=o(function(d){var c,u;return n(d)&&(u=Object.getPrototypeOf(d))&&(c=u.constructor)&&typeof c=="function"&&c instanceof c&&Function.prototype.toString.call(c)===Function.prototype.toString.call(Object)},"isPlainObject"),e=o(function(d){return r(d.valueOf)?d.valueOf():d},"getValue"),nr.exports.assign=t,nr.exports.isFunction=r,nr.exports.isObject=n,nr.exports.isArray=a,nr.exports.isEmpty=i,nr.exports.isPlainObject=s,nr.exports.getValue=e}).call(zg)});var b1=N((jg,kg)=>{(function(){var t;kg.exports=t=function(){function e(){}return o(e,"XMLDOMImplementation"),e.prototype.hasFeature=function(a,i){return!0},e.prototype.createDocumentType=function(a,i,r){throw new Error("This DOM method is not implemented.")},e.prototype.createDocument=function(a,i,r){throw new Error("This DOM method is not implemented.")},e.prototype.createHTMLDocument=function(a){throw new Error("This DOM method is not implemented.")},e.prototype.getFeature=function(a,i){throw new Error("This DOM method is not implemented.")},e}()}).call(jg)});var Fg=N((Ug,Hg)=>{(function(){var t;Hg.exports=t=function(){function e(){}return o(e,"XMLDOMErrorHandler"),e.prototype.handleError=function(a){throw new Error(a)},e}()}).call(Ug)});var Gg=N((Vg,$g)=>{(function(){var t;$g.exports=t=function(){function e(a){this.arr=a||[]}return o(e,"XMLDOMStringList"),Object.defineProperty(e.prototype,"length",{get:function(){return this.arr.length}}),e.prototype.item=function(a){return this.arr[a]||null},e.prototype.contains=function(a){return this.arr.indexOf(a)!==-1},e}()}).call(Vg)});var Kg=N((Wg,Xg)=>{(function(){var t,e,a;e=Fg(),a=Gg(),Xg.exports=t=function(){function i(){var r;this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new e,infoset:!0,"validate-if-schema":!1,namespaces:!0,"namespace-declarations":!0,"normalize-characters":!1,"schema-location":"","schema-type":"","split-cdata-sections":!0,validate:!1,"well-formed":!0},this.params=r=Object.create(this.defaultParams)}return o(i,"XMLDOMConfiguration"),Object.defineProperty(i.prototype,"parameterNames",{get:function(){return new a(Object.keys(this.defaultParams))}}),i.prototype.getParameter=function(r){return this.params.hasOwnProperty(r)?this.params[r]:null},i.prototype.canSetParameter=function(r,n){return!0},i.prototype.setParameter=function(r,n){return n!=null?this.params[r]=n:delete this.params[r]},i}()}).call(Wg)});var st=N((Yg,Qg)=>{(function(){Qg.exports={Element:1,Attribute:2,Text:3,CData:4,EntityReference:5,EntityDeclaration:6,ProcessingInstruction:7,Comment:8,Document:9,DocType:10,DocumentFragment:11,NotationDeclaration:12,Declaration:201,Raw:202,AttributeDeclaration:203,ElementDeclaration:204,Dummy:205}}).call(Yg)});var x1=N((Jg,Zg)=>{(function(){var t,e,a;t=st(),a=ca(),Zg.exports=e=function(){function i(r,n,s){if(this.parent=r,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),n==null)throw new Error("Missing attribute name. "+this.debugInfo(n));this.name=this.stringify.name(n),this.value=this.stringify.attValue(s),this.type=t.Attribute,this.isId=!1,this.schemaTypeInfo=null}return o(i,"XMLAttribute"),Object.defineProperty(i.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(i.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(i.prototype,"textContent",{get:function(){return this.value},set:function(r){return this.value=r||""}}),Object.defineProperty(i.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(i.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(i.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(i.prototype,"specified",{get:function(){return!0}}),i.prototype.clone=function(){return Object.create(this)},i.prototype.toString=function(r){return this.options.writer.attribute(this,this.options.writer.filterOptions(r))},i.prototype.debugInfo=function(r){return r=r||this.name,r==null?"parent: <"+this.parent.name+">":"attribute: {"+r+"}, parent: <"+this.parent.name+">"},i.prototype.isEqualNode=function(r){return!(r.namespaceURI!==thi Line truncated
`,y.offset=(O=w.offset)!=null?O:0,y.dontPrettyTextNodes=(_=(D=w.dontPrettyTextNodes)!=null?D:w.dontprettytextnodes)!=null?_:0,y.spaceBeforeSlash=(T=(P=w.spaceBeforeSlash)!=null?P:w.spacebeforeslash)!=null?T:"",y.spaceBeforeSlash===!0&&(y.spaceBeforeSlash=" "),y.suppressPrettyCount=0,y.user={},y.state=e.None,y},I.prototype.indent=function(w,y,g){var S;return!y.pretty||y.suppressPrettyCount?"":y.pretty&&(S=(g||0)+y.offset+1,S>0)?new Array(S).join(y.indent):""},I.prototype.endline=function(w,y,g){return!y.pretty||y.suppressPrettyCount?"":y.newline},I.prototype.attribute=function(w,y,g){var S;return this.openAttribute(w,y,g),S=" "+w.name+'="'+w.value+'"',this.closeAttribute(w,y,g),S},I.prototype.cdata=function(w,y,g){var S;return this.openNode(w,y,g),y.state=e.OpenTag,S=this.indent(w,y,g)+"<![CDATA[",y.state=e.InsideTag,S+=w.value,y.state=e.CloseTag,S+="]]>"+this.endline(w,y,g),y.state=e.None,this.closeNode(w,y,g),S},I.prototype.comment=function(w,y,g){var S;return this.openNode(w,y,g),y.state=e.OpenTag,S=this.indent(w,y,g)+"<!-- ",y.state=e.InsideTag,S+=w.value,y.state=e.CloseTag,S+=" -->"+this.endline(w,y,g),y.state=e.None,this.closeNode(w,y,g),S},I.prototype.declaration=function(w,y,g){var S;return this.openNode(w,y,g),y.state=e.OpenTag,S=this.indent(w,y,g)+"<?xml",y.state=e.InsideTag,S+=' version="'+w.version+'"',w.encoding!=null&&(S+=' encoding="'+w.encoding+'"'),w.standalone!=null&&(S+=' standalone="'+w.standalone+'"'),y.state=e.CloseTag,S+=y.spaceBeforeSlash+"?>",S+=this.endline(w,y,g),y.state=e.None,this.closeNode(w,y,g),S},I.prototype.docType=function(w,y,g){var S,O,_,D,T;if(g||(g=0),this.openNode(w,y,g),y.state=e.OpenTag,D=this.indent(w,y,g),D+="<!DOCTYPE "+w.root().name,w.pubID&&w.sysID?D+=' PUBLIC "'+w.pubID+'" "'+w.sysID+'"':w.sysID&&(D+=' SYSTEM "'+w.sysID+'"'),w.children.length>0){for(D+=" [",D+=this.endline(w,y,g),y.state=e.InsideTag,T=w.children,O=0,_=T.length;O<_;O++)S=T[O],D+=this.writeChildNode(S,y,g+1);y.state=e.CloseTag,D+="]"}return y.state=e.CloseTag,D+=y.spaceBeforeSlash+">",D+=this.endline(w,y,g),y.state=e.None,this.closeNode(w,y,g),D},I.prototype.element=function(w,y,g){var S,O,_,D,T,P,B,k,pe,ve,Q,it,he,Ua;g||(g=0),ve=!1,Q="",this.openNode(w,y,g),y.state=e.OpenTag,Q+=this.indent(w,y,g)+"<"+w.name,it=w.attribs;for(pe in it)C.call(it,pe)&&(S=it[pe],Q+=this.attribute(S,y,g));if(_=w.children.length,D=_===0?null:w.children[0],_===0||w.children.every(function(Wt){return(Wt.type===t.Text||Wt.type===t.Raw)&&Wt.value===""}))y.allowEmpty?(Q+=">",y.state=e.CloseTag,Q+="</"+w.name+">"+this.endline(w,y,g)):(y.state=e.CloseTag,Q+=y.spaceBeforeSlash+"/>"+this.endline(w,y,g));else if(y.pretty&&_===1&&(D.type===t.Text||D.type===t.Raw)&&D.value!=null)Q+=">",y.state=e.InsideTag,y.suppressPrettyCount++,ve=!0,Q+=this.writeChildNode(D,y,g+1),y.suppressPrettyCount--,ve=!1,y.state=e.CloseTag,Q+="</"+w.name+">"+this.endline(w,y,g);else{if(y.dontPrettyTextNodes){for(he=w.children,T=0,B=he.length;T<B;T++)if(O=he[T],(O.type===t.Text||O.type===t.Raw)&&O.value!=null){y.suppressPrettyCount++,ve=!0;break}}for(Q+=">"+this.endline(w,y,g),y.state=e.InsideTag,Ua=w.children,P=0,k=Ua.length;P<k;P++)O=Ua[P],Q+=this.writeChildNode(O,y,g+1);y.state=e.CloseTag,Q+=this.indent(w,y,g)+"</"+w.name+">",ve&&y.suppressPrettyCount--,Q+=this.endline(w,y,g),y.state=e.None}return this.closeNode(w,y,g),Q},I.prototype.writeChildNode=function(w,y,g){switch(w.type){case t.CData:return this.cdata(w,y,g);case t.Comment:return this.comment(w,y,g);case t.Element:return this.element(w,y,g);case t.Raw:return this.raw(w,y,g);case t.Text:return this.text(w,y,g);case t.ProcessingInstruction:return this.processingInstruction(w,y,g);case t.Dummy:return"";case t.Declaration:return this.declaration(w,y,g);case t.DocType:return this.docType(w,y,g);case t.AttributeDeclaration:return this.dtdAttList(w,y,g);case t.ElementDeclaration:return this.dtdElement(w,y,g);case t.EntityDeclaration:return this.dtdEntity(w,y,g);case t.NotationDeclaration:return this.dtdNotation(w,y,g);default:throw new Error("Unknown XML node type: "+w.constructor.name)}},I.prototype.processingInstruction=function(w,y,g){var S;return this.openNode(w,y,g),y.state=e.OpenTag,S=this.indent(w,y,g)+"<?",y.state=e.InsideTag,S+=w.target,w.value&&(S+=" "+w.value),y.state=e.CloseTag,S+=y.spaceBeforeSlash+"?>",S+=this.endline(w,y,g),y.state=e.None,this.closeNode(w,y,g),S},I.prototype.raw=function(w,y,g){var S;return this.openNode(w,y,g),y.state=e.OpenTag,S=this.indent(w,y,g),y.state=e.InsideTag,S+=w.value,y.state=e.CloseTag,S+=this.endline(w,y,g),y.state=e.None,this.closeNode(w,y,g),S},I.prototype.text=function(w,y,g){var S;return this.openNode(w,y,g),y.state=e.OpenTag,S=this.indent(w,y,g),y.state=e.InsideTag,S+=w.value,y.state=e.CloseTag,S+=this.endline(w,y,g),y.state=e.None,this.closeNode(w,y,g),S},I.prototype.dtdAttList=function(w,y,g){var S;return this.openNode(w,y,g),y.state=e.OpenTag,S=this.indent(w,y,g)+"<!ATTLIST",y.state=e.InsideTag,S+=" "+w.elementName+" "+w.attributeName+" "+w.attribut Line truncated
`||x==="\r"||x===" "}o(w,"isWhitespace");function y(x){return x==='"'||x==="'"}o(y,"isQuote");function g(x){return x===">"||w(x)}o(g,"isAttribEnd");function S(x,v){return x.test(v)}o(S,"isMatch");function O(x,v){return!S(x,v)}o(O,"notMatch");var _=0;t.STATE={BEGIN:_++,BEGIN_WHITESPACE:_++,TEXT:_++,TEXT_ENTITY:_++,OPEN_WAKA:_++,SGML_DECL:_++,SGML_DECL_QUOTED:_++,DOCTYPE:_++,DOCTYPE_QUOTED:_++,DOCTYPE_DTD:_++,DOCTYPE_DTD_QUOTED:_++,COMMENT_STARTING:_++,COMMENT:_++,COMMENT_ENDING:_++,COMMENT_ENDED:_++,CDATA:_++,CDATA_ENDING:_++,CDATA_ENDING_2:_++,PROC_INST:_++,PROC_INST_BODY:_++,PROC_INST_ENDING:_++,OPEN_TAG:_++,OPEN_TAG_SLASH:_++,ATTRIB:_++,ATTRIB_NAME:_++,ATTRIB_NAME_SAW_WHITE:_++,ATTRIB_VALUE:_++,ATTRIB_VALUE_QUOTED:_++,ATTRIB_VALUE_CLOSED:_++,ATTRIB_VALUE_UNQUOTED:_++,ATTRIB_VALUE_ENTITY_Q:_++,ATTRIB_VALUE_ENTITY_U:_++,CLOSE_TAG:_++,CLOSE_TAG_SAW_WHITE:_++,SCRIPT:_++,SCRIPT_ENDING:_++},t.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},t.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(t.ENTITIES).forEach(function(x){var v=t.ENTITIES[x],L=typeof v=="number"?String.fromCharCode(v):v;t.ENTITIES[x]=L});for(var D in t.STATE)t.STATE[t.STATE[D]]=D;_=t.STATE;function T(x,v,L){x[v]&&x[v](L)}o(T,"emit");function P(x,v,L){x.textNode&&B(x),T(x,v,L)}o(P,"emitNode");function B(x){x.textNode=k(x.opt,x.textNode),x.textNode&&T(x,"ontext",x.textNode),x.textNode=""}o(B,"closeText");function k(x,v){return x.trim&&(v=v.trim()),x.normalize&&(v=v.replace(/\s+/g," ")),v}o(k,"textopts");function pe(x,v){return B(x),x.trackPosition&&(v+=`
`).map(n=>n.trim());for(let n of r)!n||n.startsWith("#")||i.patterns.push(new D3.Pattern(n));return i.searchPaths.push(...Cl.getSearchPaths(i.patterns)),i})}static stat(e,a,i){return e1(this,void 0,void 0,function*(){let r;if(a.followSymbolicLinks)try{r=yield _o.promises.stat(e.path)}catch(n){if(n.code==="ENOENT"){if(a.omitBrokenSymbolicLinks){t1.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 n}else r=yield _o.promises.lstat(e.path);if(r.isDirectory()&&a.followSymbolicLinks){let n=yield _o.promises.realpath(e.path);for(;i.length>=e.level;)i.pop();if(i.some(s=>s===n)){t1.debug(`Symlink cycle detected for path '${e.path}' and realpath '${n}'`);return}i.push(n)}return r})}};xt.DefaultGlobber=a1});var M3=N(Bn=>{"use strict";var rR=Bn&&Bn.__awaiter||function(t,e,a,i){function r(n){return n instanceof a?n:new a(function(s){s(n)})}return o(r,"adopt"),new(a||(a=Promise))(function(n,s){function p(c){try{d(i.next(c))}catch(u){s(u)}}o(p,"fulfilled");function l(c){try{d(i.throw(c))}catch(u){s(u)}}o(l,"rejected");function d(c){c.done?n(c.value):r(c.value).then(p,l)}o(d,"step"),d((i=i.apply(t,e||[])).next())})};Object.defineProperty(Bn,"__esModule",{value:!0});Bn.create=void 0;var nR=B3();function sR(t,e){return rR(this,void 0,void 0,function*(){return yield nR.DefaultGlobber.create(t,e)})}o(sR,"create");Bn.create=sR});var Il=N((re,k3)=>{re=k3.exports=se;var Ee;typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?Ee=o(function(){var t=Array.prototype.slice.call(arguments,0);t.unshift("SEMVER"),console.log.apply(console,t)},"debug"):Ee=o(function(){},"debug");re.SEMVER_SPEC_VERSION="2.0.0";var Eo=256,Tl=Number.MAX_SAFE_INTEGER||9007199254740991,i1=16,oR=Eo-6,Mn=re.re=[],Se=re.safeRe=[],M=re.src=[],A=re.tokens={},z3=0;function pe(t){A[t]=z3++}o(pe,"tok");var n1="[a-zA-Z0-9-]",r1=[["\\s",1],["\\d",Eo],[n1,oR]];function To(t){for(var e=0;e<r1.length;e++){var a=r1[e][0],i=r1[e][1];t=t.split(a+"*").join(a+"{0,"+i+"}").split(a+"+").join(a+"{1,"+i+"}")}return t}o(To,"makeSafeRe");pe("NUMERICIDENTIFIER");M[A.NUMERICIDENTIFIER]="0|[1-9]\\d*";pe("NUMERICIDENTIFIERLOOSE");M[A.NUMERICIDENTIFIERLOOSE]="\\d+";pe("NONNUMERICIDENTIFIER");M[A.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-]"+n1+"*";pe("MAINVERSION");M[A.MAINVERSION]="("+M[A.NUMERICIDENTIFIER]+")\\.("+M[A.NUMERICIDENTIFIER]+")\\.("+M[A.NUMERICIDENTIFIER]+")";pe("MAINVERSIONLOOSE");M[A.MAINVERSIONLOOSE]="("+M[A.NUMERICIDENTIFIERLOOSE]+")\\.("+M[A.NUMERICIDENTIFIERLOOSE]+")\\.("+M[A.NUMERICIDENTIFIERLOOSE]+")";pe("PRERELEASEIDENTIFIER");M[A.PRERELEASEIDENTIFIER]="(?:"+M[A.NUMERICIDENTIFIER]+"|"+M[A.NONNUMERICIDENTIFIER]+")";pe("PRERELEASEIDENTIFIERLOOSE");M[A.PRERELEASEIDENTIFIERLOOSE]="(?:"+M[A.NUMERICIDENTIFIERLOOSE]+"|"+M[A.NONNUMERICIDENTIFIER]+")";pe("PRERELEASE");M[A.PRERELEASE]="(?:-("+M[A.PRERELEASEIDENTIFIER]+"(?:\\."+M[A.PRERELEASEIDENTIFIER]+")*))";pe("PRERELEASELOOSE");M[A.PRERELEASELOOSE]="(?:-?("+M[A.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+M[A.PRERELEASEIDENTIFIERLOOSE]+")*))";pe("BUILDIDENTIFIER");M[A.BUILDIDENTIFIER]=n1+"+";pe("BUILD");M[A.BUILD]="(?:\\+("+M[A.BUILDIDENTIFIER]+"(?:\\."+M[A.BUILDIDENTIFIER]+")*))";pe("FULL");pe("FULLPLAIN");M[A.FULLPLAIN]="v?"+M[A.MAINVERSION]+M[A.PRERELEASE]+"?"+M[A.BUILD]+"?";M[A.FULL]="^"+M[A.FULLPLAIN]+"$";pe("LOOSEPLAIN");M[A.LOOSEPLAIN]="[v=\\s]*"+M[A.MAINVERSIONLOOSE]+M[A.PRERELEASELOOSE]+"?"+M[A.BUILD]+"?";pe("LOOSE");M[A.LOOSE]="^"+M[A.LOOSEPLAIN]+"$";pe("GTLT");M[A.GTLT]="((?:<|>)?=?)";pe("XRANGEIDENTIFIERLOOSE");M[A.XRANGEIDENTIFIERLOOSE]=M[A.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*";pe("XRANGEIDENTIFIER");M[A.XRANGEIDENTIFIER]=M[A.NUMERICIDENTIFIER]+"|x|X|\\*";pe("XRANGEPLAIN");M[A.XRANGEPLAIN]="[v=\\s]*("+M[A.XRANGEIDENTIFIER]+")(?:\\.("+M[A.XRANGEIDENTIFIER]+")(?:\\.("+M[A.XRANGEIDENTIFIER]+")(?:"+M[A.PRERELEASE]+")?"+M[A.BUILD]+"?)?)?";pe("XRANGEPLAINLOOSE");M[A.XRANGEPLAINLOOSE]="[v=\\s]*("+M[A.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+M[A.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+M[A.XRANGEIDENTIFIERLOOSE]+")(?:"+M[A.PRERELEASELOOSE]+")?"+M[A.BUILD]+"?)?)?";pe("XRANGE");M[A.XRANGE]="^"+M[A.GTLT]+"\\s*"+M[A.XRANGEPLAIN]+"$";pe("XRANGELOOSE");M[A.XRANGELOOSE]="^"+M[A.GTLT]+"\\s*"+M[A.XRANGEPLAINLOOSE]+"$";pe("COERCE");M[A.COERCE]="(^|[^\\d])(\\d{1,"+i1+"})(?:\\.(\\d{1,"+i1+"}))?(?:\\.(\\d{1,"+i1+"}))?(?:$|[^\\d])";pe("COERCERTL");Mn[A.COERCERTL]=new RegExp(M[A.COERCE],"g");Se[A.COERCERTL]=new RegExp(To(M[A.COERCE]),"g");pe("LONETILDE");M[A.LONETILDE]="(?:~>?)";pe("TILDETRIM");M[A.TILDETRIM]="(\\s*)"+M[A.LONETILDE]+"\\s+";Mn[A.TILDETRIM]=new RegExp(M[A.TILDETRIM],"g");Se[A.TILDETRIM]=new RegExp(To(M[A.TILDETRIM]),"g");var pR="$1~";pe("TILDE");M[A.TILDE]="^"+M[A.LONETILDE]+M[A.XRANGEPLAIN]+"$";pe("TILDELOOSE");M[A.TILDELOOSE]="^"+M[A.LONETILDE]+M[A.XRANGEPLAINLOOSE]+"$";pe("LONECARET");M[A.LONECARET]="(?:\\^)";pe("CARETTRIM");M[A.CARETTRIM]="(\\s*)"+M[A.LONECARET]+"\\s+";Mn[A.CARETTRIM]=new Line truncated
`),{implicitDescendants:!1});try{for(var d=!0,c=GR(l.globGenerator()),u;u=yield c.next(),e=u.done,!e;d=!0){r=u.value,d=!1;let m=r,f=Dl.relative(p,m).replace(new RegExp(`\\${Dl.sep}`,"g"),"/");Ro.debug(`Matched: ${f}`),f===""?s.push("."):s.push(`${f}`)}}catch(m){a={error:m}}finally{try{!d&&!e&&(i=c.return)&&(yield i.call(c))}finally{if(a)throw a.error}}return s})}o(eP,"resolvePaths");xe.resolvePaths=eP;function tP(t){return qn(this,void 0,void 0,function*(){return YR.promisify(d1.unlink)(t)})}o(tP,"unlinkFile");xe.unlinkFile=tP;function G3(t,e=[]){return qn(this,void 0,void 0,function*(){let a="";e.push("--version"),Ro.debug(`Checking ${t} ${e.join(" ")}`);try{yield WR.exec(`${t}`,e,{ignoreReturnCode:!0,silent:!0,listeners:{stdout:i=>a+=i.toString(),stderr:i=>a+=i.toString()}})}catch(i){Ro.debug(i.message)}return a=a.trim(),Ro.debug(a),a})}o(G3,"getVersion");function aP(){return qn(this,void 0,void 0,function*(){let t=yield G3("zstd",["--quiet"]),e=KR.clean(t);return Ro.debug(`zstd version: ${e}`),t===""?Fr.CompressionMethod.Gzip:Fr.CompressionMethod.ZstdWithoutLong})}o(aP,"getCompressionMethod");xe.getCompressionMethod=aP;function iP(t){return t===Fr.CompressionMethod.Gzip?Fr.CacheFilename.Gzip:Fr.CacheFilename.Zstd}o(iP,"getCacheFileName");xe.getCacheFileName=iP;function rP(){return qn(this,void 0,void 0,function*(){return d1.existsSync(Fr.GnuTarPathOnWindows)?Fr.GnuTarPathOnWindows:(yield G3("tar")).toLowerCase().includes("gnu tar")?V3.which("tar"):""})}o(rP,"getGnuTarPathOnWindows");xe.getGnuTarPathOnWindows=rP;function nP(t,e){if(e===void 0)throw Error(`Expected ${t} but value was undefiend`);return e}o(nP,"assertDefined");xe.assertDefined=nP;function sP(t,e,a=!1){let i=t.slice();return e&&i.push(e),process.platform==="win32"&&!a&&i.push("windows-only"),i.push(QR),$3.createHash("sha256").update(i.join("|")).digest("hex")}o(sP,"getCacheVersion");xe.getCacheVersion=sP;function oP(){let t=process.env.ACTIONS_RUNTIME_TOKEN;if(!t)throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable");return t}o(oP,"getRuntimeToken");xe.getRuntimeToken=oP});function Po(){return Al>Bl.length-16&&(W3.default.randomFillSync(Bl),Al=0),Bl.slice(Al,Al+=16)}var W3,Bl,Al,c1=jt(()=>{W3=ba(require("crypto")),Bl=new Uint8Array(256),Al=Bl.length;o(Po,"rng")});var X3,K3=jt(()=>{X3=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i});function pP(t){return typeof t=="string"&&X3.test(t)}var rr,Io=jt(()=>{K3();o(pP,"validate");rr=pP});function lP(t,e=0){let a=(Mt[t[e+0]]+Mt[t[e+1]]+Mt[t[e+2]]+Mt[t[e+3]]+"-"+Mt[t[e+4]]+Mt[t[e+5]]+"-"+Mt[t[e+6]]+Mt[t[e+7]]+"-"+Mt[t[e+8]]+Mt[t[e+9]]+"-"+Mt[t[e+10]]+Mt[t[e+11]]+Mt[t[e+12]]+Mt[t[e+13]]+Mt[t[e+14]]+Mt[t[e+15]]).toLowerCase();if(!rr(a))throw TypeError("Stringified UUID is invalid");return a}var Mt,nr,Do=jt(()=>{Io();Mt=[];for(let t=0;t<256;++t)Mt.push((t+256).toString(16).substr(1));o(lP,"stringify");nr=lP});function dP(t,e,a){let i=e&&a||0,r=e||new Array(16);t=t||{};let n=t.node||Y3,s=t.clockseq!==void 0?t.clockseq:u1;if(n==null||s==null){let m=t.random||(t.rng||Po)();n==null&&(n=Y3=[m[0]|1,m[1],m[2],m[3],m[4],m[5]]),s==null&&(s=u1=(m[6]<<8|m[7])&16383)}let p=t.msecs!==void 0?t.msecs:Date.now(),l=t.nsecs!==void 0?t.nsecs:f1+1,d=p-m1+(l-f1)/1e4;if(d<0&&t.clockseq===void 0&&(s=s+1&16383),(d<0||p>m1)&&t.nsecs===void 0&&(l=0),l>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");m1=p,f1=l,u1=s,p+=122192928e5;let c=((p&268435455)*1e4+l)%4294967296;r[i++]=c>>>24&255,r[i++]=c>>>16&255,r[i++]=c>>>8&255,r[i++]=c&255;let u=p/4294967296*1e4&268435455;r[i++]=u>>>8&255,r[i++]=u&255,r[i++]=u>>>24&15|16,r[i++]=u>>>16&255,r[i++]=s>>>8|128,r[i++]=s&255;for(let m=0;m<6;++m)r[i+m]=n[m];return e||nr(r)}var Y3,u1,m1,f1,Q3,J3=jt(()=>{c1();Do();m1=0,f1=0;o(dP,"v1");Q3=dP});function cP(t){if(!rr(t))throw TypeError("Invalid UUID");let e,a=new Uint8Array(16);return a[0]=(e=parseInt(t.slice(0,8),16))>>>24,a[1]=e>>>16&255,a[2]=e>>>8&255,a[3]=e&255,a[4]=(e=parseInt(t.slice(9,13),16))>>>8,a[5]=e&255,a[6]=(e=parseInt(t.slice(14,18),16))>>>8,a[7]=e&255,a[8]=(e=parseInt(t.slice(19,23),16))>>>8,a[9]=e&255,a[10]=(e=parseInt(t.slice(24,36),16))/1099511627776&255,a[11]=e/4294967296&255,a[12]=e>>>24&255,a[13]=e>>>16&255,a[14]=e>>>8&255,a[15]=e&255,a}var Ml,h1=jt(()=>{Io();o(cP,"parse");Ml=cP});function uP(t){t=unescape(encodeURIComponent(t));let e=[];for(let a=0;a<t.length;++a)e.push(t.charCodeAt(a));return e}function Ao(t,e,a){function i(r,n,s,p){if(typeof r=="string"&&(r=uP(r)),typeof n=="string"&&(n=Ml(n)),n.length!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let l=new Uint8Array(16+r.length);if(l.set(n),l.set(r,n.length),l=a(l),l[6]=l[6]&15|e,l[8]=l[8]&63|128,s){p=p||0;for(let d=0;d<16;++d)s[p+d]=l[d];return s}return nr(l)}o(i,"generateUUID");try{i.name=t}catch{}return i.DNS=mP,i.URL=fP,i}var mP,fP,g1=jt(()=>{Do();h1();o(uP,"stringToBytes");mP="6ba7b810-9dad-11d1-80b4-00c04fd430c8",fP Line truncated
`},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(b1)});var pi=N((jg,sr)=>{(function(){var t,e,a,i,r,n,s,p=[].slice,l={}.hasOwnProperty;t=o(function(){var d,c,u,m,f,h;if(h=arguments[0],f=2<=arguments.length?p.call(arguments,1):[],r(Object.assign))Object.assign.apply(null,arguments);else for(d=0,u=f.length;d<u;d++)if(m=f[d],m!=null)for(c in m)l.call(m,c)&&(h[c]=m[c]);return h},"assign"),r=o(function(d){return!!d&&Object.prototype.toString.call(d)==="[object Function]"},"isFunction"),n=o(function(d){var c;return!!d&&((c=typeof d)=="function"||c==="object")},"isObject"),a=o(function(d){return r(Array.isArray)?Array.isArray(d):Object.prototype.toString.call(d)==="[object Array]"},"isArray"),i=o(function(d){var c;if(a(d))return!d.length;for(c in d)if(l.call(d,c))return!1;return!0},"isEmpty"),s=o(function(d){var c,u;return n(d)&&(u=Object.getPrototypeOf(d))&&(c=u.constructor)&&typeof c=="function"&&c instanceof c&&Function.prototype.toString.call(c)===Function.prototype.toString.call(Object)},"isPlainObject"),e=o(function(d){return r(d.valueOf)?d.valueOf():d},"getValue"),sr.exports.assign=t,sr.exports.isFunction=r,sr.exports.isObject=n,sr.exports.isArray=a,sr.exports.isEmpty=i,sr.exports.isPlainObject=s,sr.exports.getValue=e}).call(jg)});var x1=N((kg,Ug)=>{(function(){var t;Ug.exports=t=function(){function e(){}return o(e,"XMLDOMImplementation"),e.prototype.hasFeature=function(a,i){return!0},e.prototype.createDocumentType=function(a,i,r){throw new Error("This DOM method is not implemented.")},e.prototype.createDocument=function(a,i,r){throw new Error("This DOM method is not implemented.")},e.prototype.createHTMLDocument=function(a){throw new Error("This DOM method is not implemented.")},e.prototype.getFeature=function(a,i){throw new Error("This DOM method is not implemented.")},e}()}).call(kg)});var Vg=N((Hg,Fg)=>{(function(){var t;Fg.exports=t=function(){function e(){}return o(e,"XMLDOMErrorHandler"),e.prototype.handleError=function(a){throw new Error(a)},e}()}).call(Hg)});var Wg=N(($g,Gg)=>{(function(){var t;Gg.exports=t=function(){function e(a){this.arr=a||[]}return o(e,"XMLDOMStringList"),Object.defineProperty(e.prototype,"length",{get:function(){return this.arr.length}}),e.prototype.item=function(a){return this.arr[a]||null},e.prototype.contains=function(a){return this.arr.indexOf(a)!==-1},e}()}).call($g)});var Yg=N((Xg,Kg)=>{(function(){var t,e,a;e=Vg(),a=Wg(),Kg.exports=t=function(){function i(){var r;this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new e,infoset:!0,"validate-if-schema":!1,namespaces:!0,"namespace-declarations":!0,"normalize-characters":!1,"schema-location":"","schema-type":"","split-cdata-sections":!0,validate:!1,"well-formed":!0},this.params=r=Object.create(this.defaultParams)}return o(i,"XMLDOMConfiguration"),Object.defineProperty(i.prototype,"parameterNames",{get:function(){return new a(Object.keys(this.defaultParams))}}),i.prototype.getParameter=function(r){return this.params.hasOwnProperty(r)?this.params[r]:null},i.prototype.canSetParameter=function(r,n){return!0},i.prototype.setParameter=function(r,n){return n!=null?this.params[r]=n:delete this.params[r]},i}()}).call(Xg)});var ot=N((Qg,Jg)=>{(function(){Jg.exports={Element:1,Attribute:2,Text:3,CData:4,EntityReference:5,EntityDeclaration:6,ProcessingInstruction:7,Comment:8,Document:9,DocType:10,DocumentFragment:11,NotationDeclaration:12,Declaration:201,Raw:202,AttributeDeclaration:203,ElementDeclaration:204,Dummy:205}}).call(Qg)});var w1=N((Zg,ey)=>{(function(){var t,e,a;t=ot(),a=ca(),ey.exports=e=function(){function i(r,n,s){if(this.parent=r,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),n==null)throw new Error("Missing attribute name. "+this.debugInfo(n));this.name=this.stringify.name(n),this.value=this.stringify.attValue(s),this.type=t.Attribute,this.isId=!1,this.schemaTypeInfo=null}return o(i,"XMLAttribute"),Object.defineProperty(i.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(i.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(i.prototype,"textContent",{get:function(){return this.value},set:function(r){return this.value=r||""}}),Object.defineProperty(i.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(i.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(i.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(i.prototype,"specified",{get:function(){return!0}}),i.prototype.clone=function(){return Object.create(this)},i.prototype.toString=function(r){return this.options.writer.attribute(this,this.options.writer.filterOptions(r))},i.prototype.debugInfo=function(r){return r=r||this.name,r==null?"parent: <"+this.parent.name+">":"attribute: {"+r+"}, parent: <"+this.parent.name+">"},i.prototype.isEqualNode=function(r){return!(r.namespaceURI!==thi Line truncated
`,y.offset=(O=w.offset)!=null?O:0,y.dontPrettyTextNodes=(_=(D=w.dontPrettyTextNodes)!=null?D:w.dontprettytextnodes)!=null?_:0,y.spaceBeforeSlash=(T=(P=w.spaceBeforeSlash)!=null?P:w.spacebeforeslash)!=null?T:"",y.spaceBeforeSlash===!0&&(y.spaceBeforeSlash=" "),y.suppressPrettyCount=0,y.user={},y.state=e.None,y},I.prototype.indent=function(w,y,g){var S;return!y.pretty||y.suppressPrettyCount?"":y.pretty&&(S=(g||0)+y.offset+1,S>0)?new Array(S).join(y.indent):""},I.prototype.endline=function(w,y,g){return!y.pretty||y.suppressPrettyCount?"":y.newline},I.prototype.attribute=function(w,y,g){var S;return this.openAttribute(w,y,g),S=" "+w.name+'="'+w.value+'"',this.closeAttribute(w,y,g),S},I.prototype.cdata=function(w,y,g){var S;return this.openNode(w,y,g),y.state=e.OpenTag,S=this.indent(w,y,g)+"<![CDATA[",y.state=e.InsideTag,S+=w.value,y.state=e.CloseTag,S+="]]>"+this.endline(w,y,g),y.state=e.None,this.closeNode(w,y,g),S},I.prototype.comment=function(w,y,g){var S;return this.openNode(w,y,g),y.state=e.OpenTag,S=this.indent(w,y,g)+"<!-- ",y.state=e.InsideTag,S+=w.value,y.state=e.CloseTag,S+=" -->"+this.endline(w,y,g),y.state=e.None,this.closeNode(w,y,g),S},I.prototype.declaration=function(w,y,g){var S;return this.openNode(w,y,g),y.state=e.OpenTag,S=this.indent(w,y,g)+"<?xml",y.state=e.InsideTag,S+=' version="'+w.version+'"',w.encoding!=null&&(S+=' encoding="'+w.encoding+'"'),w.standalone!=null&&(S+=' standalone="'+w.standalone+'"'),y.state=e.CloseTag,S+=y.spaceBeforeSlash+"?>",S+=this.endline(w,y,g),y.state=e.None,this.closeNode(w,y,g),S},I.prototype.docType=function(w,y,g){var S,O,_,D,T;if(g||(g=0),this.openNode(w,y,g),y.state=e.OpenTag,D=this.indent(w,y,g),D+="<!DOCTYPE "+w.root().name,w.pubID&&w.sysID?D+=' PUBLIC "'+w.pubID+'" "'+w.sysID+'"':w.sysID&&(D+=' SYSTEM "'+w.sysID+'"'),w.children.length>0){for(D+=" [",D+=this.endline(w,y,g),y.state=e.InsideTag,T=w.children,O=0,_=T.length;O<_;O++)S=T[O],D+=this.writeChildNode(S,y,g+1);y.state=e.CloseTag,D+="]"}return y.state=e.CloseTag,D+=y.spaceBeforeSlash+">",D+=this.endline(w,y,g),y.state=e.None,this.closeNode(w,y,g),D},I.prototype.element=function(w,y,g){var S,O,_,D,T,P,B,k,oe,ve,Q,rt,he,Ua;g||(g=0),ve=!1,Q="",this.openNode(w,y,g),y.state=e.OpenTag,Q+=this.indent(w,y,g)+"<"+w.name,rt=w.attribs;for(oe in rt)C.call(rt,oe)&&(S=rt[oe],Q+=this.attribute(S,y,g));if(_=w.children.length,D=_===0?null:w.children[0],_===0||w.children.every(function(Wt){return(Wt.type===t.Text||Wt.type===t.Raw)&&Wt.value===""}))y.allowEmpty?(Q+=">",y.state=e.CloseTag,Q+="</"+w.name+">"+this.endline(w,y,g)):(y.state=e.CloseTag,Q+=y.spaceBeforeSlash+"/>"+this.endline(w,y,g));else if(y.pretty&&_===1&&(D.type===t.Text||D.type===t.Raw)&&D.value!=null)Q+=">",y.state=e.InsideTag,y.suppressPrettyCount++,ve=!0,Q+=this.writeChildNode(D,y,g+1),y.suppressPrettyCount--,ve=!1,y.state=e.CloseTag,Q+="</"+w.name+">"+this.endline(w,y,g);else{if(y.dontPrettyTextNodes){for(he=w.children,T=0,B=he.length;T<B;T++)if(O=he[T],(O.type===t.Text||O.type===t.Raw)&&O.value!=null){y.suppressPrettyCount++,ve=!0;break}}for(Q+=">"+this.endline(w,y,g),y.state=e.InsideTag,Ua=w.children,P=0,k=Ua.length;P<k;P++)O=Ua[P],Q+=this.writeChildNode(O,y,g+1);y.state=e.CloseTag,Q+=this.indent(w,y,g)+"</"+w.name+">",ve&&y.suppressPrettyCount--,Q+=this.endline(w,y,g),y.state=e.None}return this.closeNode(w,y,g),Q},I.prototype.writeChildNode=function(w,y,g){switch(w.type){case t.CData:return this.cdata(w,y,g);case t.Comment:return this.comment(w,y,g);case t.Element:return this.element(w,y,g);case t.Raw:return this.raw(w,y,g);case t.Text:return this.text(w,y,g);case t.ProcessingInstruction:return this.processingInstruction(w,y,g);case t.Dummy:return"";case t.Declaration:return this.declaration(w,y,g);case t.DocType:return this.docType(w,y,g);case t.AttributeDeclaration:return this.dtdAttList(w,y,g);case t.ElementDeclaration:return this.dtdElement(w,y,g);case t.EntityDeclaration:return this.dtdEntity(w,y,g);case t.NotationDeclaration:return this.dtdNotation(w,y,g);default:throw new Error("Unknown XML node type: "+w.constructor.name)}},I.prototype.processingInstruction=function(w,y,g){var S;return this.openNode(w,y,g),y.state=e.OpenTag,S=this.indent(w,y,g)+"<?",y.state=e.InsideTag,S+=w.target,w.value&&(S+=" "+w.value),y.state=e.CloseTag,S+=y.spaceBeforeSlash+"?>",S+=this.endline(w,y,g),y.state=e.None,this.closeNode(w,y,g),S},I.prototype.raw=function(w,y,g){var S;return this.openNode(w,y,g),y.state=e.OpenTag,S=this.indent(w,y,g),y.state=e.InsideTag,S+=w.value,y.state=e.CloseTag,S+=this.endline(w,y,g),y.state=e.None,this.closeNode(w,y,g),S},I.prototype.text=function(w,y,g){var S;return this.openNode(w,y,g),y.state=e.OpenTag,S=this.indent(w,y,g),y.state=e.InsideTag,S+=w.value,y.state=e.CloseTag,S+=this.endline(w,y,g),y.state=e.None,this.closeNode(w,y,g),S},I.prototype.dtdAttList=function(w,y,g){var S;return this.openNode(w,y,g),y.state=e.OpenTag,S=this.indent(w,y,g)+"<!ATTLIST",y.state=e.InsideTag,S+=" "+w.elementName+" "+w.attributeName+" "+w.attribut Line truncated
`||x==="\r"||x===" "}o(w,"isWhitespace");function y(x){return x==='"'||x==="'"}o(y,"isQuote");function g(x){return x===">"||w(x)}o(g,"isAttribEnd");function S(x,v){return x.test(v)}o(S,"isMatch");function O(x,v){return!S(x,v)}o(O,"notMatch");var _=0;t.STATE={BEGIN:_++,BEGIN_WHITESPACE:_++,TEXT:_++,TEXT_ENTITY:_++,OPEN_WAKA:_++,SGML_DECL:_++,SGML_DECL_QUOTED:_++,DOCTYPE:_++,DOCTYPE_QUOTED:_++,DOCTYPE_DTD:_++,DOCTYPE_DTD_QUOTED:_++,COMMENT_STARTING:_++,COMMENT:_++,COMMENT_ENDING:_++,COMMENT_ENDED:_++,CDATA:_++,CDATA_ENDING:_++,CDATA_ENDING_2:_++,PROC_INST:_++,PROC_INST_BODY:_++,PROC_INST_ENDING:_++,OPEN_TAG:_++,OPEN_TAG_SLASH:_++,ATTRIB:_++,ATTRIB_NAME:_++,ATTRIB_NAME_SAW_WHITE:_++,ATTRIB_VALUE:_++,ATTRIB_VALUE_QUOTED:_++,ATTRIB_VALUE_CLOSED:_++,ATTRIB_VALUE_UNQUOTED:_++,ATTRIB_VALUE_ENTITY_Q:_++,ATTRIB_VALUE_ENTITY_U:_++,CLOSE_TAG:_++,CLOSE_TAG_SAW_WHITE:_++,SCRIPT:_++,SCRIPT_ENDING:_++},t.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},t.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(t.ENTITIES).forEach(function(x){var v=t.ENTITIES[x],L=typeof v=="number"?String.fromCharCode(v):v;t.ENTITIES[x]=L});for(var D in t.STATE)t.STATE[t.STATE[D]]=D;_=t.STATE;function T(x,v,L){x[v]&&x[v](L)}o(T,"emit");function P(x,v,L){x.textNode&&B(x),T(x,v,L)}o(P,"emitNode");function B(x){x.textNode=k(x.opt,x.textNode),x.textNode&&T(x,"ontext",x.textNode),x.textNode=""}o(B,"closeText");function k(x,v){return x.trim&&(v=v.trim()),x.normalize&&(v=v.replace(/\s+/g," ")),v}o(k,"textopts");function oe(x,v){return B(x),x.trackPosition&&(v+=`
Line: `+x.line+`
Column: `+x.column+`
Char: `+x.c),v=new Error(v),x.error=v,T(x,"onerror",v),x}o(pe,"error");function ve(x){return x.sawRoot&&!x.closedRoot&&Q(x,"Unclosed root tag"),x.state!==_.BEGIN&&x.state!==_.BEGIN_WHITESPACE&&x.state!==_.TEXT&&pe(x,"Unexpected end"),B(x),x.c="",x.closed=!0,T(x,"onend"),a.call(x,x.strict,x.opt),x}o(ve,"end");function Q(x,v){if(typeof x!="object"||!(x instanceof a))throw new Error("bad call to strictFail");x.strict&&pe(x,v)}o(Q,"strictFail");function it(x){x.strict||(x.tagName=x.tagName[x.looseCase]());var v=x.tags[x.tags.length-1]||x,L=x.tag={name:x.tagName,attributes:{}};x.opt.xmlns&&(L.ns=v.ns),x.attribList.length=0,P(x,"onopentagstart",L)}o(it,"newTag");function he(x,v){var L=x.indexOf(":"),R=L<0?["",x]:x.split(":"),Re=R[0],ct=R[1];return v&&x==="xmlns"&&(Re="xmlns",ct=""),{prefix:Re,local:ct}}o(he,"qname");function Ua(x){if(x.strict||(x.attribName=x.attribName[x.looseCase]()),x.attribList.indexOf(x.attribName)!==-1||x.tag.attributes.hasOwnProperty(x.attribName)){x.attribName=x.attribValue="";return}if(x.opt.xmlns){var v=he(x.attribName,!0),L=v.prefix,R=v.local;if(L==="xmlns")if(R==="xml"&&x.attribValue!==m)Q(x,"xml: prefix must be bound to "+m+`
Char: `+x.c),v=new Error(v),x.error=v,T(x,"onerror",v),x}o(oe,"error");function ve(x){return x.sawRoot&&!x.closedRoot&&Q(x,"Unclosed root tag"),x.state!==_.BEGIN&&x.state!==_.BEGIN_WHITESPACE&&x.state!==_.TEXT&&oe(x,"Unexpected end"),B(x),x.c="",x.closed=!0,T(x,"onend"),a.call(x,x.strict,x.opt),x}o(ve,"end");function Q(x,v){if(typeof x!="object"||!(x instanceof a))throw new Error("bad call to strictFail");x.strict&&oe(x,v)}o(Q,"strictFail");function rt(x){x.strict||(x.tagName=x.tagName[x.looseCase]());var v=x.tags[x.tags.length-1]||x,L=x.tag={name:x.tagName,attributes:{}};x.opt.xmlns&&(L.ns=v.ns),x.attribList.length=0,P(x,"onopentagstart",L)}o(rt,"newTag");function he(x,v){var L=x.indexOf(":"),R=L<0?["",x]:x.split(":"),Re=R[0],ut=R[1];return v&&x==="xmlns"&&(Re="xmlns",ut=""),{prefix:Re,local:ut}}o(he,"qname");function Ua(x){if(x.strict||(x.attribName=x.attribName[x.looseCase]()),x.attribList.indexOf(x.attribName)!==-1||x.tag.attributes.hasOwnProperty(x.attribName)){x.attribName=x.attribValue="";return}if(x.opt.xmlns){var v=he(x.attribName,!0),L=v.prefix,R=v.local;if(L==="xmlns")if(R==="xml"&&x.attribValue!==m)Q(x,"xml: prefix must be bound to "+m+`
Actual: `+x.attribValue);else if(R==="xmlns"&&x.attribValue!==f)Q(x,"xmlns: prefix must be bound to "+f+`
Actual: `+x.attribValue);else{var Re=x.tag,ct=x.tags[x.tags.length-1]||x;Re.ns===ct.ns&&(Re.ns=Object.create(ct.ns)),Re.ns[R]=x.attribValue}x.attribList.push([x.attribName,x.attribValue])}else x.tag.attributes[x.attribName]=x.attribValue,P(x,"onattribute",{name:x.attribName,value:x.attribValue});x.attribName=x.attribValue=""}o(Ua,"attrib");function Wt(x,v){if(x.opt.xmlns){var L=x.tag,R=he(x.tagName);L.prefix=R.prefix,L.local=R.local,L.uri=L.ns[R.prefix]||"",L.prefix&&!L.uri&&(Q(x,"Unbound namespace prefix: "+JSON.stringify(x.tagName)),L.uri=R.prefix);var Re=x.tags[x.tags.length-1]||x;L.ns&&Re.ns!==L.ns&&Object.keys(L.ns).forEach(function(o4){P(x,"onopennamespace",{prefix:o4,uri:L.ns[o4]})});for(var ct=0,vt=x.attribList.length;ct<vt;ct++){var Xt=x.attribList[ct],ai=Xt[0],En=Xt[1],At=he(ai,!0),Si=At.prefix,lC=At.local,s4=Si===""?"":L.ns[Si]||"",mm={name:ai,value:En,prefix:Si,local:lC,uri:s4};Si&&Si!=="xmlns"&&!s4&&(Q(x,"Unbound namespace prefix: "+JSON.stringify(Si)),mm.uri=Si),x.tag.attributes[ai]=mm,P(x,"onattribute",mm)}x.attribList.length=0}x.tag.isSelfClosing=!!v,x.sawRoot=!0,x.tags.push(x.tag),P(x,"onopentag",x.tag),v||(!x.noscript&&x.tagName.toLowerCase()==="script"?x.state=_.SCRIPT:x.state=_.TEXT,x.tag=null,x.tagName=""),x.attribName=x.attribValue="",x.attribList.length=0}o(Wt,"openTag");function Sn(x){if(!x.tagName){Q(x,"Weird empty close tag."),x.textNode+="</>",x.state=_.TEXT;return}if(x.script){if(x.tagName!=="script"){x.script+="</"+x.tagName+">",x.tagName="",x.state=_.SCRIPT;return}P(x,"onscript",x.script),x.script=""}var v=x.tags.length,L=x.tagName;x.strict||(L=L[x.looseCase]());for(var R=L;v--;){var Re=x.tags[v];if(Re.name!==R)Q(x,"Unexpected close tag");else break}if(v<0){Q(x,"Unmatched closing tag: "+x.tagName),x.textNode+="</"+x.tagName+">",x.state=_.TEXT;return}x.tagName=L;for(var ct=x.tags.length;ct-- >v;){var vt=x.tag=x.tags.pop();x.tagName=x.tag.name,P(x,"onclosetag",x.tagName);var Xt={};for(var ai in vt.ns)Xt[ai]=vt.ns[ai];var En=x.tags[x.tags.length-1]||x;x.opt.xmlns&&vt.ns!==En.ns&&Object.keys(vt.ns).forEach(function(At){var Si=vt.ns[At];P(x,"onclosenamespace",{prefix:At,uri:Si})})}v===0&&(x.closedRoot=!0),x.tagName=x.attribValue=x.attribName="",x.attribList.length=0,x.state=_.TEXT}o(Sn,"closeTag");function ho(x){var v=x.entity,L=v.toLowerCase(),R,Re="";return x.ENTITIES[v]?x.ENTITIES[v]:x.ENTITIES[L]?x.ENTITIES[L]:(v=L,v.charAt(0)==="#"&&(v.charAt(1)==="x"?(v=v.slice(2),R=parseInt(v,16),Re=R.toString(16)):(v=v.slice(1),R=parseInt(v,10),Re=R.toString(10))),v=v.replace(/^0+/,""),isNaN(R)||Re.toLowerCase()!==v?(Q(x,"Invalid character entity"),"&"+x.entity+";"):String.fromCodePoint(R))}o(ho,"parseEntity");function r4(x,v){v==="<"?(x.state=_.OPEN_WAKA,x.startTagPosition=x.position):w(v)||(Q(x,"Non-whitespace before first tag."),x.textNode=v,x.state=_.TEXT)}o(r4,"beginWhiteSpace");function n4(x,v){var L="";return v<x.length&&(L=x.charAt(v)),L}o(n4,"charAt");function pC(x){var v=this;if(this.error)throw this.error;if(v.closed)return pe(v,"Cannot write after close. Assign an onready handler.");if(x===null)return ve(v);typeof x=="object"&&(x=x.toString());for(var L=0,R="";R=n4(x,L++),v.c=R,!!R;)switch(v.trackPosition&&(v.position++,R===`
`?(v.line++,v.column=0):v.column++),v.state){case _.BEGIN:if(v.state=_.BEGIN_WHITESPACE,R==="\uFEFF")continue;r4(v,R);continue;case _.BEGIN_WHITESPACE:r4(v,R);continue;case _.TEXT:if(v.sawRoot&&!v.closedRoot){for(var Re=L-1;R&&R!=="<"&&R!=="&";)R=n4(x,L++),R&&v.trackPosition&&(v.position++,R===`
`?(v.line++,v.column=0):v.column++);v.textNode+=x.substring(Re,L-1)}R==="<"&&!(v.sawRoot&&v.closedRoot&&!v.strict)?(v.state=_.OPEN_WAKA,v.startTagPosition=v.position):(!w(R)&&(!v.sawRoot||v.closedRoot)&&Q(v,"Text data outside of root node."),R==="&"?v.state=_.TEXT_ENTITY:v.textNode+=R);continue;case _.SCRIPT:R==="<"?v.state=_.SCRIPT_ENDING:v.script+=R;continue;case _.SCRIPT_ENDING:R==="/"?v.state=_.CLOSE_TAG:(v.script+="<"+R,v.state=_.SCRIPT);continue;case _.OPEN_WAKA:if(R==="!")v.state=_.SGML_DECL,v.sgmlDecl="";else if(!w(R))if(S(b,R))v.state=_.OPEN_TAG,v.tagName=R;else if(R==="/")v.state=_.CLOSE_TAG,v.tagName="";else if(R==="?")v.state=_.PROC_INST,v.procInstName=v.procInstBody="";else{if(Q(v,"Unencoded <"),v.startTagPosition+1<v.position){var ct=v.position-v.startTagPosition;R=new Array(ct).join(" ")+R}v.textNode+="<"+R,v.state=_.TEXT}continue;case _.SGML_DECL:(v.sgmlDecl+R).toUpperCase()===c?(P(v,"onopencdata"),v.state=_.CDATA,v.sgmlDecl="",v.cdata=""):v.sgmlDecl+R==="--"?(v.state=_.COMMENT,v.comment="",v.sgmlDecl=""):(v.sgmlDecl+R).toUpperCase()===u?(v.state=_.DOCTYPE,(v.doctype||v.sawRoot)&&Q(v,"Inappropriately located doctype declaration"),v.doctype="",v.sgmlDecl=""):R===">"?(P(v,"onsgmldeclaration",v.sgmlDecl),v.sgmlDecl="",v.state=_.TEXT):(y(R)&&(v.state=_.SGML_DECL_QUOTED),v.sgmlDecl+=R);continue;case _.SGML_DECL_QUOTED:R===v.q&&(v.state=_.SGML_DECL,v.q=""),v.sgmlDecl+=R;continue;case _.DOCTYPE:R===">"?(v.state=_.TEXT,P(v,"ondoctype",v.doctype),v.doctype=!0):(v.doctype+=R,R==="["?v.state=_.DOCTYPE_DTD:y(R)&&(v.state=_.DOCTYPE_QUOTED,v.q=R));continue;case _.DOCTYPE_QUOTED:v.doctype+=R,R===v.q&&(v.q="",v.state=_.DOCTYPE);continue;case _.DOCTYPE_DTD:v.doctype+=R,R==="]"?v.state=_.DOCTYPE:y(R)&&(v.state=_.DOCTYPE_DTD_QUOTED,v.q=R);continue;case _.DOCTYPE_DTD_QUOTED:v.doctype+=R,R===v.q&&(v.state=_.DOCTYPE_DTD,v.q="");continue;case _.COMMENT:R==="-"?v.state=_.COMMENT_ENDING:v.comment+=R;continue;case _.COMMENT_ENDING:R==="-"?(v.state=_.COMMENT_ENDED,v.comment=k(v.opt,v.comment),v.comment&&P(v,"oncomment",v.comment),v.comment=""):(v.comment+="-"+R,v.state=_.COMMENT);continue;case _.COMMENT_ENDED:R!==">"?(Q(v,"Malformed comment"),v.comment+="--"+R,v.state=_.COMMENT):v.state=_.TEXT;continue;case _.CDATA:R==="]"?v.state=_.CDATA_ENDING:v.cdata+=R;continue;case _.CDATA_ENDING:R==="]"?v.state=_.CDATA_ENDING_2:(v.cdata+="]"+R,v.state=_.CDATA);continue;case _.CDATA_ENDING_2:R===">"?(v.cdata&&P(v,"oncdata",v.cdata),P(v,"onclosecdata"),v.cdata="",v.state=_.TEXT):R==="]"?v.cdata+="]":(v.cdata+="]]"+R,v.state=_.CDATA);continue;case _.PROC_INST:R==="?"?v.state=_.PROC_INST_ENDING:w(R)?v.state=_.PROC_INST_BODY:v.procInstName+=R;continue;case _.PROC_INST_BODY:if(!v.procInstBody&&w(R))continue;R==="?"?v.state=_.PROC_INST_ENDING:v.procInstBody+=R;continue;case _.PROC_INST_ENDING:R===">"?(P(v,"onprocessinginstruction",{name:v.procInstName,body:v.procInstBody}),v.procInstName=v.procInstBody="",v.state=_.TEXT):(v.procInstBody+="?"+R,v.state=_.PROC_INST_BODY);continue;case _.OPEN_TAG:S(E,R)?v.tagName+=R:(it(v),R===">"?Wt(v):R==="/"?v.state=_.OPEN_TAG_SLASH:(w(R)||Q(v,"Invalid character in tag name"),v.state=_.ATTRIB));continue;case _.OPEN_TAG_SLASH:R===">"?(Wt(v,!0),Sn(v)):(Q(v,"Forward-slash in opening tag not followed by >"),v.state=_.ATTRIB);continue;case _.ATTRIB:if(w(R))continue;R===">"?Wt(v):R==="/"?v.state=_.OPEN_TAG_SLASH:S(b,R)?(v.attribName=R,v.attribValue="",v.state=_.ATTRIB_NAME):Q(v,"Invalid attribute name");continue;case _.ATTRIB_NAME:R==="="?v.state=_.ATTRIB_VALUE:R===">"?(Q(v,"Attribute without value"),v.attribValue=v.attribName,Ua(v),Wt(v)):w(R)?v.state=_.ATTRIB_NAME_SAW_WHITE:S(E,R)?v.attribName+=R:Q(v,"Invalid attribute name");continue;case _.ATTRIB_NAME_SAW_WHITE:if(R==="=")v.state=_.ATTRIB_VALUE;else{if(w(R))continue;Q(v,"Attribute without value"),v.tag.attributes[v.attribName]="",v.attribValue="",P(v,"onattribute",{name:v.attribName,value:""}),v.attribName="",R===">"?Wt(v):S(b,R)?(v.attribName=R,v.state=_.ATTRIB_NAME):(Q(v,"Invalid attribute name"),v.state=_.ATTRIB)}continue;case _.ATTRIB_VALUE:if(w(R))continue;y(R)?(v.q=R,v.state=_.ATTRIB_VALUE_QUOTED):(Q(v,"Unquoted attribute value"),v.state=_.ATTRIB_VALUE_UNQUOTED,v.attribValue=R);continue;case _.ATTRIB_VALUE_QUOTED:if(R!==v.q){R==="&"?v.state=_.ATTRIB_VALUE_ENTITY_Q:v.attribValue+=R;continue}Ua(v),v.q="",v.state=_.ATTRIB_VALUE_CLOSED;continue;case _.ATTRIB_VALUE_CLOSED:w(R)?v.state=_.ATTRIB:R===">"?Wt(v):R==="/"?v.state=_.OPEN_TAG_SLASH:S(b,R)?(Q(v,"No whitespace between attributes"),v.attribName=R,v.attribValue="",v.state=_.ATTRIB_NAME):Q(v,"Invalid attribute name");continue;case _.ATTRIB_VALUE_UNQUOTED:if(!g(R)){R==="&"?v.state=_.ATTRIB_VALUE_ENTITY_U:v.attribValue+=R;continue}Ua(v),R===">"?Wt(v):v.state=_.ATTRIB;continue;case _.CLOSE_TAG:if(v.tagName)R===">"?Sn(v):S(E,R)?v.tagName+=R:v.script?(v.script+="</"+v.tagName,v.tagName="",v.state=_.SCRIPT):(w(R)||Q(v,"Invalid tagname in closing tag"),v.state=_.CLOSE_TAG_SAW_WHITE);else{if(w(R))continue;O Line truncated
`;ye.DEFAULT_CONTENT_TYPE="application/octet-stream";ye.prototype.append=function(t,e,a){a=a||{},typeof a=="string"&&(a={filename:a});var i=cf.prototype.append.bind(this);if((typeof e=="number"||e==null)&&(e=String(e)),Array.isArray(e)){this._error(new Error("Arrays are not supported."));return}var r=this._multiPartHeader(t,e,a),n=this._multiPartFooter();i(r),i(e),i(n),this._trackLength(r,e,a)};ye.prototype._trackLength=function(t,e,a){var i=0;a.knownLength!=null?i+=Number(a.knownLength):Buffer.isBuffer(e)?i=e.length:typeof e=="string"&&(i=Buffer.byteLength(e)),this._valueLength+=i,this._overheadLength+=Buffer.byteLength(t)+ye.LINE_BREAK.length,!(!e||!e.path&&!(e.readable&&pr(e,"httpVersion"))&&!(e instanceof YD))&&(a.knownLength||this._valuesToMeasure.push(e))};ye.prototype._lengthRetriever=function(t,e){pr(t,"fd")?t.end!=null&&t.end!=1/0&&t.start!=null?e(null,t.end+1-(t.start?t.start:0)):KD.stat(t.path,function(a,i){if(a){e(a);return}var r=i.size-(t.start?t.start:0);e(null,r)}):pr(t,"httpVersion")?e(null,Number(t.headers["content-length"])):pr(t,"httpModule")?(t.on("response",function(a){t.pause(),e(null,Number(a.headers["content-length"]))}),t.resume()):e("Unknown stream")};ye.prototype._multiPartHeader=function(t,e,a){if(typeof a.header=="string")return a.header;var i=this._getContentDisposition(e,a),r=this._getContentType(e,a),n="",s={"Content-Disposition":["form-data",'name="'+t+'"'].concat(i||[]),"Content-Type":[].concat(r||[])};typeof a.header=="object"&&df(s,a.header);var p;for(var l in s)if(pr(s,l)){if(p=s[l],p==null)continue;Array.isArray(p)||(p=[p]),p.length&&(n+=l+": "+p.join("; ")+ye.LINE_BREAK)}return"--"+this.getBoundary()+ye.LINE_BREAK+n+ye.LINE_BREAK};ye.prototype._getContentDisposition=function(t,e){var a;if(typeof e.filepath=="string"?a=pf.normalize(e.filepath).replace(/\\/g,"/"):e.filename||t&&(t.name||t.path)?a=pf.basename(e.filename||t&&(t.name||t.path)):t&&t.readable&&pr(t,"httpVersion")&&(a=pf.basename(t.client._httpMessage.path||"")),a)return'filename="'+a+'"'};ye.prototype._getContentType=function(t,e){var a=e.contentType;return!a&&t&&t.name&&(a=lf.lookup(t.name)),!a&&t&&t.path&&(a=lf.lookup(t.path)),!a&&t&&t.readable&&pr(t,"httpVersion")&&(a=t.headers["content-type"]),!a&&(e.filepath||e.filename)&&(a=lf.lookup(e.filepath||e.filename)),!a&&t&&typeof t=="object"&&(a=ye.DEFAULT_CONTENT_TYPE),a};ye.prototype._multiPartFooter=function(){return function(t){var e=ye.LINE_BREAK,a=this._streams.length===0;a&&(e+=this._lastBoundary()),t(e)}.bind(this)};ye.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+ye.LINE_BREAK};ye.prototype.getHeaders=function(t){var e,a={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(e in t)pr(t,e)&&(a[e.toLowerCase()]=t[e]);return a};ye.prototype.setBoundary=function(t){if(typeof t!="string")throw new TypeError("FormData boundary must be a string");this._boundary=t};ye.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary};ye.prototype.getBuffer=function(){for(var t=new Buffer.alloc(0),e=this.getBoundary(),a=0,i=this._streams.length;a<i;a++)typeof this._streams[a]!="function"&&(Buffer.isBuffer(this._streams[a])?t=Buffer.concat([t,this._streams[a]]):t=Buffer.concat([t,Buffer.from(this._streams[a])]),(typeof this._streams[a]!="string"||this._streams[a].substring(2,e.length+2)!==e)&&(t=Buffer.concat([t,Buffer.from(ye.LINE_BREAK)])));return Buffer.concat([t,Buffer.from(this._lastBoundary())])};ye.prototype._generateBoundary=function(){this._boundary="--------------------------"+QD.randomBytes(12).toString("hex")};ye.prototype.getLengthSync=function(){var t=this._overheadLength+this._valueLength;return this._streams.length&&(t+=this._lastBoundary().length),this.hasKnownLength()||this._error(new Error("Cannot calculate proper length in synchronous way.")),t};ye.prototype.hasKnownLength=function(){var t=!0;return this._valuesToMeasure.length&&(t=!1),t};ye.prototype.getLength=function(t){var e=this._overheadLength+this._valueLength;if(this._streams.length&&(e+=this._lastBoundary().length),!this._valuesToMeasure.length){process.nextTick(t.bind(this,null,e));return}JD.parallel(this._valuesToMeasure,this._lengthRetriever,function(a,i){if(a){t(a);return}i.forEach(function(r){e+=r}),t(null,e)})};ye.prototype.submit=function(t,e){var a,i,r={method:"post"};return typeof t=="string"?(t=XD(t),i=df({port:t.port,path:t.pathname,host:t.hostname,protocol:t.protocol},r)):(i=df(t,r),i.port||(i.port=i.protocol==="https:"?443:80)),i.headers=this.getHeaders(t.headers),i.protocol==="https:"?a=WD.request(i):a=GD.request(i),this.getLength(function(n,s){if(n&&n!=="Unknown stream"){this._error(n);return}if(s&&a.setHeader("Content-Length",s),this.pipe(a),e){var p,l=o(function(d,c){return a.removeListener("error",l),a.removeListener("response",p),e.call(this,d,c)},"callback");p=l.bind(this,null),a.on("error",l),a.on("response",p)}}.bind(this)),a};ye.prototype._error=function(t){this.error||(this.error=t,this. Line truncated
${GL.sanitize(this)}`}};ma.REQUEST_SEND_ERROR="REQUEST_SEND_ERROR";ma.PARSE_ERROR="PARSE_ERROR";var Xa=VM.createClientLogger("core-http");function Ev(t,e){return t?e.httpsAgent:e.httpAgent}o(Ev,"getCachedAgent");var xc=class extends KM.Transform{static{o(this,"ReportTransform")}constructor(e){super(),this.progressCallback=e,this.loadedBytes=0}_transform(e,a,i){this.push(e),this.loadedBytes+=e.length,this.progressCallback({loadedBytes:this.loadedBytes}),i(void 0)}};function mc(t){return t&&typeof t.pipe=="function"}o(mc,"isReadableStream");function Cv(t,e){return new Promise(a=>{t.once("close",()=>{e?.abort(),a()}),t.once("end",a),t.once("error",a)})}o(Cv,"isStreamComplete");function WL(t){let e=new hr;return t.forEach((a,i)=>{e.set(i,a)}),e}o(WL,"parseHeaders");var wc=class{static{o(this,"NodeFetchHttpClient")}constructor(){this.proxyAgentMap=new Map,this.keepAliveAgents={}}async sendRequest(e){var a;if(!e&&typeof e!="object")throw new Error("'httpRequest' (WebResourceLike) cannot be null or undefined and must be of type object.");let i=new fc.AbortController,r;if(e.abortSignal){if(e.abortSignal.aborted)throw new fc.AbortError("The operation was aborted.");r=o(d=>{d.type==="abort"&&i.abort()},"abortListener"),e.abortSignal.addEventListener("abort",r)}if(e.timeout&&setTimeout(()=>{i.abort()},e.timeout),e.formData){let d=e.formData,c=new JM.default,u=o((f,h)=>{typeof h=="function"&&(h=h()),h&&Object.prototype.hasOwnProperty.call(h,"value")&&Object.prototype.hasOwnProperty.call(h,"options")?c.append(f,h.value,h.options):c.append(f,h)},"appendFormValue");for(let f of Object.keys(d)){let h=d[f];if(Array.isArray(h))for(let b=0;b<h.length;b++)u(f,h[b]);else u(f,h)}e.body=c,e.formData=void 0;let m=e.headers.get("Content-Type");m&&m.indexOf("multipart/form-data")!==-1&&(typeof c.getBoundary=="function"?e.headers.set("Content-Type",`multipart/form-data; boundary=${c.getBoundary()}`):e.headers.remove("Content-Type"))}let n=e.body?typeof e.body=="function"?e.body():e.body:void 0;if(e.onUploadProgress&&e.body){let d=e.onUploadProgress,c=new xc(d);mc(n)?n.pipe(c):c.end(n),n=c}let s=await this.prepareRequest(e),p=Object.assign({body:n,headers:e.headers.rawHeaders(),method:e.method,signal:i.signal,redirect:"manual"},s),l;try{let d=await this.fetch(e.url,p),c=WL(d.headers),u=((a=e.streamResponseStatusCodes)===null||a===void 0?void 0:a.has(d.status))||e.streamResponseBody;l={headers:c,request:e,status:d.status,readableStreamBody:u?d.body:void 0,bodyAsText:u?void 0:await d.text()};let m=e.onDownloadProgress;if(m){let f=d.body||void 0;if(mc(f)){let h=new xc(m);f.pipe(h),l.readableStreamBody=h}else{let h=parseInt(c.get("Content-Length"))||void 0;h&&m({loadedBytes:h})}}return await this.processRequest(l),l}catch(d){let c=d;throw c.code==="ENOTFOUND"?new ma(c.message,ma.REQUEST_SEND_ERROR,void 0,e):c.type==="aborted"?new fc.AbortError("The operation was aborted."):c}finally{if(e.abortSignal&&r){let d=Promise.resolve();mc(n)&&(d=Cv(n));let c=Promise.resolve();mc(l?.readableStreamBody)&&(c=Cv(l.readableStreamBody,i)),Promise.all([d,c]).then(()=>{var u;(u=e.abortSignal)===null||u===void 0||u.removeEventListener("abort",r)}).catch(u=>{Xa.warning("Error when cleaning up abortListener on httpRequest",u)})}}}getOrCreateAgent(e){var a;let i=xh(e.url);if(e.proxySettings){let{host:r,port:n,username:s,password:p}=e.proxySettings,l=`${r}:${n}:${s}:${p}`,d=(a=this.proxyAgentMap.get(l))!==null&&a!==void 0?a:{},c=Ev(i,d);if(c)return c;let u=HL(e.url,e.proxySettings,e.headers);return c=u.agent,u.isHttps?d.httpsAgent=u.agent:d.httpAgent=u.agent,this.proxyAgentMap.set(l,d),c}else if(e.keepAlive){let r=Ev(i,this.keepAliveAgents);if(r)return r;let n={keepAlive:e.keepAlive};return i?r=this.keepAliveAgents.httpsAgent=new xv.Agent(n):r=this.keepAliveAgents.httpAgent=new bv.Agent(n),r}else return i?xv.globalAgent:bv.globalAgent}async fetch(e,a){return ZM.default(e,a)}async prepareRequest(e){let a={};return a.agent=this.getOrCreateAgent(e),a.compress=e.decompressResponse,a}async processRequest(e){}};F.HttpPipelineLogLevel=void 0;(function(t){t[t.OFF=0]="OFF",t[t.ERROR=1]="ERROR",t[t.WARNING=2]="WARNING",t[t.INFO=3]="INFO"})(F.HttpPipelineLogLevel||(F.HttpPipelineLogLevel={}));function XL(t){let{requestOptions:e,tracingOptions:a}=t,r=HM.__rest(t,["requestOptions","tracingOptions"]);return e&&(r=Object.assign(Object.assign({},r),e)),a&&(r.tracingContext=a.tracingContext,r.spanOptions=a?.spanOptions),r}o(XL,"operationOptionsToRequestOptionsBase");var ft=class{static{o(this,"BaseRequestPolicy")}constructor(e,a){this._nextPolicy=e,this._options=a}shouldLog(e){return this._options.shouldLog(e)}log(e,a){this._options.log(e,a)}},Nc=class{static{o(this,"RequestPolicyOptions")}constructor(e){this._logger=e}shouldLog(e){return!!this._logger&&e!==F.HttpPipelineLogLevel.OFF&&e<=this._logger.minimumLogLevel}log(e,a){this._logger&&this.shouldLog(e)&&this._logger.log(e,a)}},Gv={explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:mt,explicitArray:!0,ignore Line truncated
`},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1},gc=Object.assign({},Gv);gc.explicitArray=!1;var lp=Object.assign({},Gv);lp.explicitArray=!1;lp.renderOpts={pretty:!1};function wh(t,e={}){var a;return lp.rootName=e.rootName,lp.charkey=(a=e.xmlCharKey)!==null&&a!==void 0?a:qi,new Mv.Builder(lp).buildObject(t)}o(wh,"stringifyXML");function Wv(t,e={}){var a;gc.explicitRoot=!!e.includeRoot,gc.charkey=(a=e.xmlCharKey)!==null&&a!==void 0?a:qi;let i=new Mv.Parser(gc);return new Promise((r,n)=>{t?i.parseString(t,(s,p)=>{s?n(s):r(p)}):n(new Error("Document is empty"))})}o(Wv,"parseXML");function $h(t,e){return{create:(a,i)=>new Nh(a,i,t,e)}}o($h,"deserializationPolicy");var Xv=["application/json","text/json"],Kv=["application/xml","application/atom+xml"],KL={expectedContentTypes:{json:Xv,xml:Kv}},Nh=class extends ft{static{o(this,"DeserializationPolicy")}constructor(e,a,i,r={}){var n;super(e,a),this.jsonContentTypes=i&&i.json||Xv,this.xmlContentTypes=i&&i.xml||Kv,this.xmlCharKey=(n=r.xmlCharKey)!==null&&n!==void 0?n:qi}async sendRequest(e){return this._nextPolicy.sendRequest(e).then(a=>Yv(this.jsonContentTypes,this.xmlContentTypes,a,{xmlCharKey:this.xmlCharKey}))}};function YL(t){let e,a=t.request,i=a.operationSpec;if(i){let r=a.operationResponseGetter;r?e=r(i,t):e=i.responses[t.status]}return e}o(YL,"getOperationResponse");function QL(t){let e=t.request.shouldDeserialize,a;return e===void 0?a=!0:typeof e=="boolean"?a=e:a=e(t),a}o(QL,"shouldDeserializeResponse");function Yv(t,e,a,i={}){var r,n,s;let p={rootName:(r=i.rootName)!==null&&r!==void 0?r:"",includeRoot:(n=i.includeRoot)!==null&&n!==void 0?n:!1,xmlCharKey:(s=i.xmlCharKey)!==null&&s!==void 0?s:qi};return eq(t,e,a,p).then(l=>{if(!QL(l))return l;let d=l.request.operationSpec;if(!d||!d.responses)return l;let c=YL(l),{error:u,shouldReturnResponse:m}=ZL(l,d,c);if(u)throw u;if(m)return l;if(c){if(c.bodyMapper){let f=l.parsedBody;d.isXML&&c.bodyMapper.type.name===en.Sequence&&(f=typeof f=="object"?f[c.bodyMapper.xmlElementName]:[]);try{l.parsedBody=d.serializer.deserialize(c.bodyMapper,f,"operationRes.parsedBody",i)}catch(h){throw new ma(`Error ${h} occurred in deserializing the responseBody - ${l.bodyAsText}`,void 0,l.status,l.request,l)}}else d.httpMethod==="HEAD"&&(l.parsedBody=a.status>=200&&a.status<300);c.headersMapper&&(l.parsedHeaders=d.serializer.deserialize(c.headersMapper,l.headers.toJson(),"operationRes.parsedHeaders",i))}return l})}o(Yv,"deserializeResponseBody");function JL(t){let e=Object.keys(t.responses);return e.length===0||e.length===1&&e[0]==="default"}o(JL,"isOperationSpecEmpty");function ZL(t,e,a){var i;let r=200<=t.status&&t.status<300;if(JL(e)?r:!!a)if(a){if(!a.isError)return{error:null,shouldReturnResponse:!1}}else return{error:null,shouldReturnResponse:!1};let s=a??e.responses.default,l=((i=t.request.streamResponseStatusCodes)===null||i===void 0?void 0:i.has(t.status))||t.request.streamResponseBody?`Unexpected status code: ${t.status}`:t.bodyAsText,d=new ma(l,void 0,t.status,t.request,t);if(!s)throw d;let c=s.bodyMapper,u=s.headersMapper;try{if(t.parsedBody){let m=t.parsedBody,f;if(c){let b=m;e.isXML&&c.type.name===en.Sequence&&(b=typeof m=="object"?m[c.xmlElementName]:[]),f=e.serializer.deserialize(c,b,"error.response.parsedBody")}let h=m.error||f||m;d.code=h.code,h.message&&(d.message=h.message),c&&(d.response.parsedBody=f)}t.headers&&u&&(d.response.parsedHeaders=e.serializer.deserialize(u,t.headers.toJson(),"operationRes.parsedHeaders"))}catch(m){d.message=`Error "${m.message}" occurred in deserializing the responseBody - "${t.bodyAsText}" for the default response.`}return{error:d,shouldReturnResponse:!1}}o(ZL,"handleErrorResponse");function eq(t,e,a,i){var r;let n=o(p=>{let l=`Error "${p}" occurred while parsing the response body - ${a.bodyAsText}.`,d=p.code||ma.PARSE_ERROR,c=new ma(l,d,a.status,a.request,a);return Promise.reject(c)},"errorHandler");if(!(((r=a.request.streamResponseStatusCodes)===null||r===void 0?void 0:r.has(a.status))||a.request.streamResponseBody)&&a.bodyAsText){let p=a.bodyAsText,l=a.headers.get("Content-Type")||"",d=l?l.split(";").map(c=>c.toLowerCase()):[];if(d.length===0||d.some(c=>t.indexOf(c)!==-1))return new Promise(c=>{a.parsedBody=JSON.parse(p),c(a)}).catch(n);if(d.some(c=>e.indexOf(c)!==-1))return Wv(p,i).then(c=>(a.parsedBody=c,a)).catch(n)}return Promise.resolve(a)}o(eq,"parse");var Qv={enable:!0};function Jv(t){return{create:(e,a)=>new _h(e,a,t||Qv)}}o(Jv,"keepAlivePolicy");var _h=class extends ft{static{o(this,"KeepAlivePolicy")}constructor(e,a,i){super(e,a),this.keepAliveOptions=i}async sendRequest(e){return e.keepAlive=this.keepAliveOptions.enable,this._nextPolicy.sendRequest(e)}},Tv=["GET","HEAD"],tq={handleRedirects:!0,maxRetries:20};function Gh(t=20){return{create:(e,a)=>new Sh(e,a,t)}}o(Gh,"redirectPolicy");var Sh=class extends ft{static{o(this,"RedirectPolicy")}constructor(e,a,i=20){super(e,a),this.maxRetries=i}sendRequest(e){return this._nextPolicy.sendRequest(e).then(a=>Zv(this,a,0))}};functi Line truncated
`).join(""))}return this._nextPolicy.sendRequest(e)}},nb=[],sb=!1,fq=new Map;function hq(){if(!process)return;let t=hc(Ra.HTTPS_PROXY),e=hc(Ra.ALL_PROXY),a=hc(Ra.HTTP_PROXY);return t||e||a}o(hq,"loadEnvironmentProxyValue");function gq(t,e,a){if(e.length===0)return!1;let i=fi.parse(t).getHost();if(a?.has(i))return a.get(i);let r=!1;for(let n of e)n[0]==="."?(i.endsWith(n)||i.length===n.length-1&&i===n.slice(1))&&(r=!0):i===n&&(r=!0);return a?.set(i,r),r}o(gq,"isBypassed");function yq(){let t=hc(Ra.NO_PROXY);return sb=!0,t?t.split(",").map(e=>e.trim()).filter(e=>e.length):[]}o(yq,"loadNoProxy");function ob(t){if(!t&&(t=hq(),!t))return;let{username:e,password:a,urlWithoutAuth:i}=vq(t),r=fi.parse(i);return{host:(r.getScheme()?r.getScheme()+"://":"")+r.getHost(),port:Number.parseInt(r.getPort()||"80"),username:e,password:a}}o(ob,"getDefaultProxySettings");function e0(t,e){return t||(t=ob()),sb||nb.push(...yq()),{create:(a,i)=>new Dh(a,i,t,e?.customNoProxyList)}}o(e0,"proxyPolicy");function vq(t){let e=t.indexOf("@");if(e===-1)return{urlWithoutAuth:t};let a=t.indexOf("://"),i=a!==-1?a+3:0,r=t.substring(i,e),n=r.indexOf(":"),s=n!==-1,p=s?r.substring(0,n):r,l=s?r.substring(n+1):void 0,d=t.substring(0,i)+t.substring(e+1);return{username:p,password:l,urlWithoutAuth:d}}o(vq,"extractAuthFromUrl");var Dh=class extends ft{static{o(this,"ProxyPolicy")}constructor(e,a,i,r){super(e,a),this.proxySettings=i,this.customNoProxyList=r}sendRequest(e){var a;return!e.proxySettings&&!gq(e.url,(a=this.customNoProxyList)!==null&&a!==void 0?a:nb,this.customNoProxyList?void 0:fq)&&(e.proxySettings=this.proxySettings),this._nextPolicy.sendRequest(e)}};function bq(t=30){return{create:(e,a)=>new Ah(e,a,t)}}o(bq,"rpRegistrationPolicy");var Ah=class extends ft{static{o(this,"RPRegistrationPolicy")}constructor(e,a,i=30){super(e,a),this._retryTimeout=i}sendRequest(e){return this._nextPolicy.sendRequest(e.clone()).then(a=>xq(this,e,a))}};function xq(t,e,a){if(a.status===409){let i=wq(a.bodyAsText);if(i){let r=Nq(e.url);return _q(t,r,i,e).catch(()=>!1).then(n=>n?(e.headers.set("x-ms-client-request-id",Ec()),t._nextPolicy.sendRequest(e.clone())):a)}}return Promise.resolve(a)}o(xq,"registerIfNeeded");function pb(t,e=!1){let a=t.clone();return e&&(a.url=t.url),a.headers.set("x-ms-client-request-id",Ec()),a.headers.set("Content-Type","application/json; charset=utf-8"),a}o(pb,"getRequestEssentials");function wq(t){let e,a;if(t){try{a=JSON.parse(t)}catch{}if(a&&a.error&&a.error.message&&a.error.code&&a.error.code==="MissingSubscriptionRegistration"){let i=a.error.message.match(/.*'(.*)'/i);i&&(e=i.pop())}}return e}o(wq,"checkRPNotRegisteredError");function Nq(t){let e,a=t.match(/.*\/subscriptions\/[a-f0-9-]+\//gi);if(a&&a[0])e=a[0];else throw new Error(`Unable to extract subscriptionId from the given url - ${t}.`);return e}o(Nq,"extractSubscriptionUrl");async function _q(t,e,a,i){let r=`${e}providers/${a}/register?api-version=2016-02-01`,n=`${e}providers/${a}?api-version=2016-02-01`,s=pb(i);if(s.method="POST",s.url=r,(await t._nextPolicy.sendRequest(s)).status!==200)throw new Error(`Autoregistration of ${a} failed. Please try registering manually.`);return lb(t,n,i)}o(_q,"registerRP");async function lb(t,e,a){let i=pb(a);i.url=e,i.method="GET";let r=await t._nextPolicy.sendRequest(i),n=r.parsedBody;return r.parsedBody&&n.registrationState&&n.registrationState==="Registered"?!0:(await mi.delay(t._retryTimeout*1e3),lb(t,e,a))}o(lb,"getRegistrationStatus");function db(t){return{create:(e,a)=>new Bh(e,a,t)}}o(db,"signingPolicy");var Bh=class extends ft{static{o(this,"SigningPolicy")}constructor(e,a,i){super(e,a),this.authenticationProvider=i}signRequest(e){return this.authenticationProvider.signRequest(e)}sendRequest(e){return this.signRequest(e).then(a=>this._nextPolicy.sendRequest(a))}};function t0(t,e,a,i){return{create:(r,n)=>new Mh(r,n,t,e,a,i)}}o(t0,"systemErrorRetryPolicy");var Mh=class extends ft{static{o(this,"SystemErrorRetryPolicy")}constructor(e,a,i,r,n,s){super(e,a),this.retryCount=Zr(i)?i:Wh,this.retryInterval=Zr(r)?r:Xh,this.minRetryInterval=Zr(n)?n:aq,this.maxRetryInterval=Zr(s)?s:Kh}sendRequest(e){return this._nextPolicy.sendRequest(e.clone()).catch(a=>cb(this,e,a.response,a))}};async function cb(t,e,a,i,r){r=tb(t,r,i);function n(s,p){return!!(p&&p.code&&(p.code==="ETIMEDOUT"||p.code==="ESOCKETTIMEDOUT"||p.code==="ECONNREFUSED"||p.code==="ECONNRESET"||p.code==="ENOENT"))}if(o(n,"shouldPolicyRetry"),eb(t.retryCount,n,r,a,i))try{return await mi.delay(r.retryInterval),t._nextPolicy.sendRequest(e.clone())}catch(s){return cb(t,e,a,s,r)}else return i?Promise.reject(r.error):a}o(cb,"retry");var Sq=3,Ov=Ra.HttpConstants.StatusCodes;function a0(){return{create:(t,e)=>new Lh(t,e)}}o(a0,"throttlingRetryPolicy");var Rv="The operation was aborted.",Lh=class t extends ft{static{o(this,"ThrottlingRetryPolicy")}constructor(e,a,i){super(e,a),this.numberOfRetries=0,this._handleResponse=i||this._defaultResponseHandler}async sendRequest(e){let a=await this. Line truncated
Actual: `+x.attribValue);else{var Re=x.tag,ut=x.tags[x.tags.length-1]||x;Re.ns===ut.ns&&(Re.ns=Object.create(ut.ns)),Re.ns[R]=x.attribValue}x.attribList.push([x.attribName,x.attribValue])}else x.tag.attributes[x.attribName]=x.attribValue,P(x,"onattribute",{name:x.attribName,value:x.attribValue});x.attribName=x.attribValue=""}o(Ua,"attrib");function Wt(x,v){if(x.opt.xmlns){var L=x.tag,R=he(x.tagName);L.prefix=R.prefix,L.local=R.local,L.uri=L.ns[R.prefix]||"",L.prefix&&!L.uri&&(Q(x,"Unbound namespace prefix: "+JSON.stringify(x.tagName)),L.uri=R.prefix);var Re=x.tags[x.tags.length-1]||x;L.ns&&Re.ns!==L.ns&&Object.keys(L.ns).forEach(function(p4){P(x,"onopennamespace",{prefix:p4,uri:L.ns[p4]})});for(var ut=0,bt=x.attribList.length;ut<bt;ut++){var Xt=x.attribList[ut],ii=Xt[0],En=Xt[1],At=he(ii,!0),Si=At.prefix,rC=At.local,o4=Si===""?"":L.ns[Si]||"",fm={name:ii,value:En,prefix:Si,local:rC,uri:o4};Si&&Si!=="xmlns"&&!o4&&(Q(x,"Unbound namespace prefix: "+JSON.stringify(Si)),fm.uri=Si),x.tag.attributes[ii]=fm,P(x,"onattribute",fm)}x.attribList.length=0}x.tag.isSelfClosing=!!v,x.sawRoot=!0,x.tags.push(x.tag),P(x,"onopentag",x.tag),v||(!x.noscript&&x.tagName.toLowerCase()==="script"?x.state=_.SCRIPT:x.state=_.TEXT,x.tag=null,x.tagName=""),x.attribName=x.attribValue="",x.attribList.length=0}o(Wt,"openTag");function Sn(x){if(!x.tagName){Q(x,"Weird empty close tag."),x.textNode+="</>",x.state=_.TEXT;return}if(x.script){if(x.tagName!=="script"){x.script+="</"+x.tagName+">",x.tagName="",x.state=_.SCRIPT;return}P(x,"onscript",x.script),x.script=""}var v=x.tags.length,L=x.tagName;x.strict||(L=L[x.looseCase]());for(var R=L;v--;){var Re=x.tags[v];if(Re.name!==R)Q(x,"Unexpected close tag");else break}if(v<0){Q(x,"Unmatched closing tag: "+x.tagName),x.textNode+="</"+x.tagName+">",x.state=_.TEXT;return}x.tagName=L;for(var ut=x.tags.length;ut-- >v;){var bt=x.tag=x.tags.pop();x.tagName=x.tag.name,P(x,"onclosetag",x.tagName);var Xt={};for(var ii in bt.ns)Xt[ii]=bt.ns[ii];var En=x.tags[x.tags.length-1]||x;x.opt.xmlns&&bt.ns!==En.ns&&Object.keys(bt.ns).forEach(function(At){var Si=bt.ns[At];P(x,"onclosenamespace",{prefix:At,uri:Si})})}v===0&&(x.closedRoot=!0),x.tagName=x.attribValue=x.attribName="",x.attribList.length=0,x.state=_.TEXT}o(Sn,"closeTag");function fo(x){var v=x.entity,L=v.toLowerCase(),R,Re="";return x.ENTITIES[v]?x.ENTITIES[v]:x.ENTITIES[L]?x.ENTITIES[L]:(v=L,v.charAt(0)==="#"&&(v.charAt(1)==="x"?(v=v.slice(2),R=parseInt(v,16),Re=R.toString(16)):(v=v.slice(1),R=parseInt(v,10),Re=R.toString(10))),v=v.replace(/^0+/,""),isNaN(R)||Re.toLowerCase()!==v?(Q(x,"Invalid character entity"),"&"+x.entity+";"):String.fromCodePoint(R))}o(fo,"parseEntity");function n4(x,v){v==="<"?(x.state=_.OPEN_WAKA,x.startTagPosition=x.position):w(v)||(Q(x,"Non-whitespace before first tag."),x.textNode=v,x.state=_.TEXT)}o(n4,"beginWhiteSpace");function s4(x,v){var L="";return v<x.length&&(L=x.charAt(v)),L}o(s4,"charAt");function iC(x){var v=this;if(this.error)throw this.error;if(v.closed)return oe(v,"Cannot write after close. Assign an onready handler.");if(x===null)return ve(v);typeof x=="object"&&(x=x.toString());for(var L=0,R="";R=s4(x,L++),v.c=R,!!R;)switch(v.trackPosition&&(v.position++,R===`
`?(v.line++,v.column=0):v.column++),v.state){case _.BEGIN:if(v.state=_.BEGIN_WHITESPACE,R==="\uFEFF")continue;n4(v,R);continue;case _.BEGIN_WHITESPACE:n4(v,R);continue;case _.TEXT:if(v.sawRoot&&!v.closedRoot){for(var Re=L-1;R&&R!=="<"&&R!=="&";)R=s4(x,L++),R&&v.trackPosition&&(v.position++,R===`
`?(v.line++,v.column=0):v.column++);v.textNode+=x.substring(Re,L-1)}R==="<"&&!(v.sawRoot&&v.closedRoot&&!v.strict)?(v.state=_.OPEN_WAKA,v.startTagPosition=v.position):(!w(R)&&(!v.sawRoot||v.closedRoot)&&Q(v,"Text data outside of root node."),R==="&"?v.state=_.TEXT_ENTITY:v.textNode+=R);continue;case _.SCRIPT:R==="<"?v.state=_.SCRIPT_ENDING:v.script+=R;continue;case _.SCRIPT_ENDING:R==="/"?v.state=_.CLOSE_TAG:(v.script+="<"+R,v.state=_.SCRIPT);continue;case _.OPEN_WAKA:if(R==="!")v.state=_.SGML_DECL,v.sgmlDecl="";else if(!w(R))if(S(b,R))v.state=_.OPEN_TAG,v.tagName=R;else if(R==="/")v.state=_.CLOSE_TAG,v.tagName="";else if(R==="?")v.state=_.PROC_INST,v.procInstName=v.procInstBody="";else{if(Q(v,"Unencoded <"),v.startTagPosition+1<v.position){var ut=v.position-v.startTagPosition;R=new Array(ut).join(" ")+R}v.textNode+="<"+R,v.state=_.TEXT}continue;case _.SGML_DECL:(v.sgmlDecl+R).toUpperCase()===c?(P(v,"onopencdata"),v.state=_.CDATA,v.sgmlDecl="",v.cdata=""):v.sgmlDecl+R==="--"?(v.state=_.COMMENT,v.comment="",v.sgmlDecl=""):(v.sgmlDecl+R).toUpperCase()===u?(v.state=_.DOCTYPE,(v.doctype||v.sawRoot)&&Q(v,"Inappropriately located doctype declaration"),v.doctype="",v.sgmlDecl=""):R===">"?(P(v,"onsgmldeclaration",v.sgmlDecl),v.sgmlDecl="",v.state=_.TEXT):(y(R)&&(v.state=_.SGML_DECL_QUOTED),v.sgmlDecl+=R);continue;case _.SGML_DECL_QUOTED:R===v.q&&(v.state=_.SGML_DECL,v.q=""),v.sgmlDecl+=R;continue;case _.DOCTYPE:R===">"?(v.state=_.TEXT,P(v,"ondoctype",v.doctype),v.doctype=!0):(v.doctype+=R,R==="["?v.state=_.DOCTYPE_DTD:y(R)&&(v.state=_.DOCTYPE_QUOTED,v.q=R));continue;case _.DOCTYPE_QUOTED:v.doctype+=R,R===v.q&&(v.q="",v.state=_.DOCTYPE);continue;case _.DOCTYPE_DTD:v.doctype+=R,R==="]"?v.state=_.DOCTYPE:y(R)&&(v.state=_.DOCTYPE_DTD_QUOTED,v.q=R);continue;case _.DOCTYPE_DTD_QUOTED:v.doctype+=R,R===v.q&&(v.state=_.DOCTYPE_DTD,v.q="");continue;case _.COMMENT:R==="-"?v.state=_.COMMENT_ENDING:v.comment+=R;continue;case _.COMMENT_ENDING:R==="-"?(v.state=_.COMMENT_ENDED,v.comment=k(v.opt,v.comment),v.comment&&P(v,"oncomment",v.comment),v.comment=""):(v.comment+="-"+R,v.state=_.COMMENT);continue;case _.COMMENT_ENDED:R!==">"?(Q(v,"Malformed comment"),v.comment+="--"+R,v.state=_.COMMENT):v.state=_.TEXT;continue;case _.CDATA:R==="]"?v.state=_.CDATA_ENDING:v.cdata+=R;continue;case _.CDATA_ENDING:R==="]"?v.state=_.CDATA_ENDING_2:(v.cdata+="]"+R,v.state=_.CDATA);continue;case _.CDATA_ENDING_2:R===">"?(v.cdata&&P(v,"oncdata",v.cdata),P(v,"onclosecdata"),v.cdata="",v.state=_.TEXT):R==="]"?v.cdata+="]":(v.cdata+="]]"+R,v.state=_.CDATA);continue;case _.PROC_INST:R==="?"?v.state=_.PROC_INST_ENDING:w(R)?v.state=_.PROC_INST_BODY:v.procInstName+=R;continue;case _.PROC_INST_BODY:if(!v.procInstBody&&w(R))continue;R==="?"?v.state=_.PROC_INST_ENDING:v.procInstBody+=R;continue;case _.PROC_INST_ENDING:R===">"?(P(v,"onprocessinginstruction",{name:v.procInstName,body:v.procInstBody}),v.procInstName=v.procInstBody="",v.state=_.TEXT):(v.procInstBody+="?"+R,v.state=_.PROC_INST_BODY);continue;case _.OPEN_TAG:S(E,R)?v.tagName+=R:(rt(v),R===">"?Wt(v):R==="/"?v.state=_.OPEN_TAG_SLASH:(w(R)||Q(v,"Invalid character in tag name"),v.state=_.ATTRIB));continue;case _.OPEN_TAG_SLASH:R===">"?(Wt(v,!0),Sn(v)):(Q(v,"Forward-slash in opening tag not followed by >"),v.state=_.ATTRIB);continue;case _.ATTRIB:if(w(R))continue;R===">"?Wt(v):R==="/"?v.state=_.OPEN_TAG_SLASH:S(b,R)?(v.attribName=R,v.attribValue="",v.state=_.ATTRIB_NAME):Q(v,"Invalid attribute name");continue;case _.ATTRIB_NAME:R==="="?v.state=_.ATTRIB_VALUE:R===">"?(Q(v,"Attribute without value"),v.attribValue=v.attribName,Ua(v),Wt(v)):w(R)?v.state=_.ATTRIB_NAME_SAW_WHITE:S(E,R)?v.attribName+=R:Q(v,"Invalid attribute name");continue;case _.ATTRIB_NAME_SAW_WHITE:if(R==="=")v.state=_.ATTRIB_VALUE;else{if(w(R))continue;Q(v,"Attribute without value"),v.tag.attributes[v.attribName]="",v.attribValue="",P(v,"onattribute",{name:v.attribName,value:""}),v.attribName="",R===">"?Wt(v):S(b,R)?(v.attribName=R,v.state=_.ATTRIB_NAME):(Q(v,"Invalid attribute name"),v.state=_.ATTRIB)}continue;case _.ATTRIB_VALUE:if(w(R))continue;y(R)?(v.q=R,v.state=_.ATTRIB_VALUE_QUOTED):(Q(v,"Unquoted attribute value"),v.state=_.ATTRIB_VALUE_UNQUOTED,v.attribValue=R);continue;case _.ATTRIB_VALUE_QUOTED:if(R!==v.q){R==="&"?v.state=_.ATTRIB_VALUE_ENTITY_Q:v.attribValue+=R;continue}Ua(v),v.q="",v.state=_.ATTRIB_VALUE_CLOSED;continue;case _.ATTRIB_VALUE_CLOSED:w(R)?v.state=_.ATTRIB:R===">"?Wt(v):R==="/"?v.state=_.OPEN_TAG_SLASH:S(b,R)?(Q(v,"No whitespace between attributes"),v.attribName=R,v.attribValue="",v.state=_.ATTRIB_NAME):Q(v,"Invalid attribute name");continue;case _.ATTRIB_VALUE_UNQUOTED:if(!g(R)){R==="&"?v.state=_.ATTRIB_VALUE_ENTITY_U:v.attribValue+=R;continue}Ua(v),R===">"?Wt(v):v.state=_.ATTRIB;continue;case _.CLOSE_TAG:if(v.tagName)R===">"?Sn(v):S(E,R)?v.tagName+=R:v.script?(v.script+="</"+v.tagName,v.tagName="",v.state=_.SCRIPT):(w(R)||Q(v,"Invalid tagname in closing tag"),v.state=_.CLOSE_TAG_SAW_WHITE);else{if(w(R))continue;O Line truncated
`;ye.DEFAULT_CONTENT_TYPE="application/octet-stream";ye.prototype.append=function(t,e,a){a=a||{},typeof a=="string"&&(a={filename:a});var i=uf.prototype.append.bind(this);if((typeof e=="number"||e==null)&&(e=String(e)),Array.isArray(e)){this._error(new Error("Arrays are not supported."));return}var r=this._multiPartHeader(t,e,a),n=this._multiPartFooter();i(r),i(e),i(n),this._trackLength(r,e,a)};ye.prototype._trackLength=function(t,e,a){var i=0;a.knownLength!=null?i+=Number(a.knownLength):Buffer.isBuffer(e)?i=e.length:typeof e=="string"&&(i=Buffer.byteLength(e)),this._valueLength+=i,this._overheadLength+=Buffer.byteLength(t)+ye.LINE_BREAK.length,!(!e||!e.path&&!(e.readable&&lr(e,"httpVersion"))&&!(e instanceof $D))&&(a.knownLength||this._valuesToMeasure.push(e))};ye.prototype._lengthRetriever=function(t,e){lr(t,"fd")?t.end!=null&&t.end!=1/0&&t.start!=null?e(null,t.end+1-(t.start?t.start:0)):VD.stat(t.path,function(a,i){if(a){e(a);return}var r=i.size-(t.start?t.start:0);e(null,r)}):lr(t,"httpVersion")?e(null,Number(t.headers["content-length"])):lr(t,"httpModule")?(t.on("response",function(a){t.pause(),e(null,Number(a.headers["content-length"]))}),t.resume()):e("Unknown stream")};ye.prototype._multiPartHeader=function(t,e,a){if(typeof a.header=="string")return a.header;var i=this._getContentDisposition(e,a),r=this._getContentType(e,a),n="",s={"Content-Disposition":["form-data",'name="'+t+'"'].concat(i||[]),"Content-Type":[].concat(r||[])};typeof a.header=="object"&&cf(s,a.header);var p;for(var l in s)if(lr(s,l)){if(p=s[l],p==null)continue;Array.isArray(p)||(p=[p]),p.length&&(n+=l+": "+p.join("; ")+ye.LINE_BREAK)}return"--"+this.getBoundary()+ye.LINE_BREAK+n+ye.LINE_BREAK};ye.prototype._getContentDisposition=function(t,e){var a;if(typeof e.filepath=="string"?a=lf.normalize(e.filepath).replace(/\\/g,"/"):e.filename||t&&(t.name||t.path)?a=lf.basename(e.filename||t&&(t.name||t.path)):t&&t.readable&&lr(t,"httpVersion")&&(a=lf.basename(t.client._httpMessage.path||"")),a)return'filename="'+a+'"'};ye.prototype._getContentType=function(t,e){var a=e.contentType;return!a&&t&&t.name&&(a=df.lookup(t.name)),!a&&t&&t.path&&(a=df.lookup(t.path)),!a&&t&&t.readable&&lr(t,"httpVersion")&&(a=t.headers["content-type"]),!a&&(e.filepath||e.filename)&&(a=df.lookup(e.filepath||e.filename)),!a&&t&&typeof t=="object"&&(a=ye.DEFAULT_CONTENT_TYPE),a};ye.prototype._multiPartFooter=function(){return function(t){var e=ye.LINE_BREAK,a=this._streams.length===0;a&&(e+=this._lastBoundary()),t(e)}.bind(this)};ye.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+ye.LINE_BREAK};ye.prototype.getHeaders=function(t){var e,a={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(e in t)lr(t,e)&&(a[e.toLowerCase()]=t[e]);return a};ye.prototype.setBoundary=function(t){if(typeof t!="string")throw new TypeError("FormData boundary must be a string");this._boundary=t};ye.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary};ye.prototype.getBuffer=function(){for(var t=new Buffer.alloc(0),e=this.getBoundary(),a=0,i=this._streams.length;a<i;a++)typeof this._streams[a]!="function"&&(Buffer.isBuffer(this._streams[a])?t=Buffer.concat([t,this._streams[a]]):t=Buffer.concat([t,Buffer.from(this._streams[a])]),(typeof this._streams[a]!="string"||this._streams[a].substring(2,e.length+2)!==e)&&(t=Buffer.concat([t,Buffer.from(ye.LINE_BREAK)])));return Buffer.concat([t,Buffer.from(this._lastBoundary())])};ye.prototype._generateBoundary=function(){this._boundary="--------------------------"+GD.randomBytes(12).toString("hex")};ye.prototype.getLengthSync=function(){var t=this._overheadLength+this._valueLength;return this._streams.length&&(t+=this._lastBoundary().length),this.hasKnownLength()||this._error(new Error("Cannot calculate proper length in synchronous way.")),t};ye.prototype.hasKnownLength=function(){var t=!0;return this._valuesToMeasure.length&&(t=!1),t};ye.prototype.getLength=function(t){var e=this._overheadLength+this._valueLength;if(this._streams.length&&(e+=this._lastBoundary().length),!this._valuesToMeasure.length){process.nextTick(t.bind(this,null,e));return}WD.parallel(this._valuesToMeasure,this._lengthRetriever,function(a,i){if(a){t(a);return}i.forEach(function(r){e+=r}),t(null,e)})};ye.prototype.submit=function(t,e){var a,i,r={method:"post"};return typeof t=="string"?(t=FD(t),i=cf({port:t.port,path:t.pathname,host:t.hostname,protocol:t.protocol},r)):(i=cf(t,r),i.port||(i.port=i.protocol==="https:"?443:80)),i.headers=this.getHeaders(t.headers),i.protocol==="https:"?a=HD.request(i):a=UD.request(i),this.getLength(function(n,s){if(n&&n!=="Unknown stream"){this._error(n);return}if(s&&a.setHeader("Content-Length",s),this.pipe(a),e){var p,l=o(function(d,c){return a.removeListener("error",l),a.removeListener("response",p),e.call(this,d,c)},"callback");p=l.bind(this,null),a.on("error",l),a.on("response",p)}}.bind(this)),a};ye.prototype._error=function(t){this.error||(this.error=t,this. Line truncated
${UL.sanitize(this)}`}};ma.REQUEST_SEND_ERROR="REQUEST_SEND_ERROR";ma.PARSE_ERROR="PARSE_ERROR";var Xa=jM.createClientLogger("core-http");function Cv(t,e){return t?e.httpsAgent:e.httpAgent}o(Cv,"getCachedAgent");var xc=class extends VM.Transform{static{o(this,"ReportTransform")}constructor(e){super(),this.progressCallback=e,this.loadedBytes=0}_transform(e,a,i){this.push(e),this.loadedBytes+=e.length,this.progressCallback({loadedBytes:this.loadedBytes}),i(void 0)}};function mc(t){return t&&typeof t.pipe=="function"}o(mc,"isReadableStream");function Tv(t,e){return new Promise(a=>{t.once("close",()=>{e?.abort(),a()}),t.once("end",a),t.once("error",a)})}o(Tv,"isStreamComplete");function HL(t){let e=new gr;return t.forEach((a,i)=>{e.set(i,a)}),e}o(HL,"parseHeaders");var wc=class{static{o(this,"NodeFetchHttpClient")}constructor(){this.proxyAgentMap=new Map,this.keepAliveAgents={}}async sendRequest(e){var a;if(!e&&typeof e!="object")throw new Error("'httpRequest' (WebResourceLike) cannot be null or undefined and must be of type object.");let i=new fc.AbortController,r;if(e.abortSignal){if(e.abortSignal.aborted)throw new fc.AbortError("The operation was aborted.");r=o(d=>{d.type==="abort"&&i.abort()},"abortListener"),e.abortSignal.addEventListener("abort",r)}if(e.timeout&&setTimeout(()=>{i.abort()},e.timeout),e.formData){let d=e.formData,c=new WM.default,u=o((f,h)=>{typeof h=="function"&&(h=h()),h&&Object.prototype.hasOwnProperty.call(h,"value")&&Object.prototype.hasOwnProperty.call(h,"options")?c.append(f,h.value,h.options):c.append(f,h)},"appendFormValue");for(let f of Object.keys(d)){let h=d[f];if(Array.isArray(h))for(let b=0;b<h.length;b++)u(f,h[b]);else u(f,h)}e.body=c,e.formData=void 0;let m=e.headers.get("Content-Type");m&&m.indexOf("multipart/form-data")!==-1&&(typeof c.getBoundary=="function"?e.headers.set("Content-Type",`multipart/form-data; boundary=${c.getBoundary()}`):e.headers.remove("Content-Type"))}let n=e.body?typeof e.body=="function"?e.body():e.body:void 0;if(e.onUploadProgress&&e.body){let d=e.onUploadProgress,c=new xc(d);mc(n)?n.pipe(c):c.end(n),n=c}let s=await this.prepareRequest(e),p=Object.assign({body:n,headers:e.headers.rawHeaders(),method:e.method,signal:i.signal,redirect:"manual"},s),l;try{let d=await this.fetch(e.url,p),c=HL(d.headers),u=((a=e.streamResponseStatusCodes)===null||a===void 0?void 0:a.has(d.status))||e.streamResponseBody;l={headers:c,request:e,status:d.status,readableStreamBody:u?d.body:void 0,bodyAsText:u?void 0:await d.text()};let m=e.onDownloadProgress;if(m){let f=d.body||void 0;if(mc(f)){let h=new xc(m);f.pipe(h),l.readableStreamBody=h}else{let h=parseInt(c.get("Content-Length"))||void 0;h&&m({loadedBytes:h})}}return await this.processRequest(l),l}catch(d){let c=d;throw c.code==="ENOTFOUND"?new ma(c.message,ma.REQUEST_SEND_ERROR,void 0,e):c.type==="aborted"?new fc.AbortError("The operation was aborted."):c}finally{if(e.abortSignal&&r){let d=Promise.resolve();mc(n)&&(d=Tv(n));let c=Promise.resolve();mc(l?.readableStreamBody)&&(c=Tv(l.readableStreamBody,i)),Promise.all([d,c]).then(()=>{var u;(u=e.abortSignal)===null||u===void 0||u.removeEventListener("abort",r)}).catch(u=>{Xa.warning("Error when cleaning up abortListener on httpRequest",u)})}}}getOrCreateAgent(e){var a;let i=wh(e.url);if(e.proxySettings){let{host:r,port:n,username:s,password:p}=e.proxySettings,l=`${r}:${n}:${s}:${p}`,d=(a=this.proxyAgentMap.get(l))!==null&&a!==void 0?a:{},c=Cv(i,d);if(c)return c;let u=qL(e.url,e.proxySettings,e.headers);return c=u.agent,u.isHttps?d.httpsAgent=u.agent:d.httpAgent=u.agent,this.proxyAgentMap.set(l,d),c}else if(e.keepAlive){let r=Cv(i,this.keepAliveAgents);if(r)return r;let n={keepAlive:e.keepAlive};return i?r=this.keepAliveAgents.httpsAgent=new wv.Agent(n):r=this.keepAliveAgents.httpAgent=new xv.Agent(n),r}else return i?wv.globalAgent:xv.globalAgent}async fetch(e,a){return XM.default(e,a)}async prepareRequest(e){let a={};return a.agent=this.getOrCreateAgent(e),a.compress=e.decompressResponse,a}async processRequest(e){}};F.HttpPipelineLogLevel=void 0;(function(t){t[t.OFF=0]="OFF",t[t.ERROR=1]="ERROR",t[t.WARNING=2]="WARNING",t[t.INFO=3]="INFO"})(F.HttpPipelineLogLevel||(F.HttpPipelineLogLevel={}));function FL(t){let{requestOptions:e,tracingOptions:a}=t,r=qM.__rest(t,["requestOptions","tracingOptions"]);return e&&(r=Object.assign(Object.assign({},r),e)),a&&(r.tracingContext=a.tracingContext,r.spanOptions=a?.spanOptions),r}o(FL,"operationOptionsToRequestOptionsBase");var ht=class{static{o(this,"BaseRequestPolicy")}constructor(e,a){this._nextPolicy=e,this._options=a}shouldLog(e){return this._options.shouldLog(e)}log(e,a){this._options.log(e,a)}},Nc=class{static{o(this,"RequestPolicyOptions")}constructor(e){this._logger=e}shouldLog(e){return!!this._logger&&e!==F.HttpPipelineLogLevel.OFF&&e<=this._logger.minimumLogLevel}log(e,a){this._logger&&this.shouldLog(e)&&this._logger.log(e,a)}},Wv={explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:ft,explicitArray:!0,ignore Line truncated
`},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1},gc=Object.assign({},Wv);gc.explicitArray=!1;var lp=Object.assign({},Wv);lp.explicitArray=!1;lp.renderOpts={pretty:!1};function Nh(t,e={}){var a;return lp.rootName=e.rootName,lp.charkey=(a=e.xmlCharKey)!==null&&a!==void 0?a:qi,new Lv.Builder(lp).buildObject(t)}o(Nh,"stringifyXML");function Xv(t,e={}){var a;gc.explicitRoot=!!e.includeRoot,gc.charkey=(a=e.xmlCharKey)!==null&&a!==void 0?a:qi;let i=new Lv.Parser(gc);return new Promise((r,n)=>{t?i.parseString(t,(s,p)=>{s?n(s):r(p)}):n(new Error("Document is empty"))})}o(Xv,"parseXML");function Gh(t,e){return{create:(a,i)=>new _h(a,i,t,e)}}o(Gh,"deserializationPolicy");var Kv=["application/json","text/json"],Yv=["application/xml","application/atom+xml"],VL={expectedContentTypes:{json:Kv,xml:Yv}},_h=class extends ht{static{o(this,"DeserializationPolicy")}constructor(e,a,i,r={}){var n;super(e,a),this.jsonContentTypes=i&&i.json||Kv,this.xmlContentTypes=i&&i.xml||Yv,this.xmlCharKey=(n=r.xmlCharKey)!==null&&n!==void 0?n:qi}async sendRequest(e){return this._nextPolicy.sendRequest(e).then(a=>Qv(this.jsonContentTypes,this.xmlContentTypes,a,{xmlCharKey:this.xmlCharKey}))}};function $L(t){let e,a=t.request,i=a.operationSpec;if(i){let r=a.operationResponseGetter;r?e=r(i,t):e=i.responses[t.status]}return e}o($L,"getOperationResponse");function GL(t){let e=t.request.shouldDeserialize,a;return e===void 0?a=!0:typeof e=="boolean"?a=e:a=e(t),a}o(GL,"shouldDeserializeResponse");function Qv(t,e,a,i={}){var r,n,s;let p={rootName:(r=i.rootName)!==null&&r!==void 0?r:"",includeRoot:(n=i.includeRoot)!==null&&n!==void 0?n:!1,xmlCharKey:(s=i.xmlCharKey)!==null&&s!==void 0?s:qi};return KL(t,e,a,p).then(l=>{if(!GL(l))return l;let d=l.request.operationSpec;if(!d||!d.responses)return l;let c=$L(l),{error:u,shouldReturnResponse:m}=XL(l,d,c);if(u)throw u;if(m)return l;if(c){if(c.bodyMapper){let f=l.parsedBody;d.isXML&&c.bodyMapper.type.name===en.Sequence&&(f=typeof f=="object"?f[c.bodyMapper.xmlElementName]:[]);try{l.parsedBody=d.serializer.deserialize(c.bodyMapper,f,"operationRes.parsedBody",i)}catch(h){throw new ma(`Error ${h} occurred in deserializing the responseBody - ${l.bodyAsText}`,void 0,l.status,l.request,l)}}else d.httpMethod==="HEAD"&&(l.parsedBody=a.status>=200&&a.status<300);c.headersMapper&&(l.parsedHeaders=d.serializer.deserialize(c.headersMapper,l.headers.toJson(),"operationRes.parsedHeaders",i))}return l})}o(Qv,"deserializeResponseBody");function WL(t){let e=Object.keys(t.responses);return e.length===0||e.length===1&&e[0]==="default"}o(WL,"isOperationSpecEmpty");function XL(t,e,a){var i;let r=200<=t.status&&t.status<300;if(WL(e)?r:!!a)if(a){if(!a.isError)return{error:null,shouldReturnResponse:!1}}else return{error:null,shouldReturnResponse:!1};let s=a??e.responses.default,l=((i=t.request.streamResponseStatusCodes)===null||i===void 0?void 0:i.has(t.status))||t.request.streamResponseBody?`Unexpected status code: ${t.status}`:t.bodyAsText,d=new ma(l,void 0,t.status,t.request,t);if(!s)throw d;let c=s.bodyMapper,u=s.headersMapper;try{if(t.parsedBody){let m=t.parsedBody,f;if(c){let b=m;e.isXML&&c.type.name===en.Sequence&&(b=typeof m=="object"?m[c.xmlElementName]:[]),f=e.serializer.deserialize(c,b,"error.response.parsedBody")}let h=m.error||f||m;d.code=h.code,h.message&&(d.message=h.message),c&&(d.response.parsedBody=f)}t.headers&&u&&(d.response.parsedHeaders=e.serializer.deserialize(u,t.headers.toJson(),"operationRes.parsedHeaders"))}catch(m){d.message=`Error "${m.message}" occurred in deserializing the responseBody - "${t.bodyAsText}" for the default response.`}return{error:d,shouldReturnResponse:!1}}o(XL,"handleErrorResponse");function KL(t,e,a,i){var r;let n=o(p=>{let l=`Error "${p}" occurred while parsing the response body - ${a.bodyAsText}.`,d=p.code||ma.PARSE_ERROR,c=new ma(l,d,a.status,a.request,a);return Promise.reject(c)},"errorHandler");if(!(((r=a.request.streamResponseStatusCodes)===null||r===void 0?void 0:r.has(a.status))||a.request.streamResponseBody)&&a.bodyAsText){let p=a.bodyAsText,l=a.headers.get("Content-Type")||"",d=l?l.split(";").map(c=>c.toLowerCase()):[];if(d.length===0||d.some(c=>t.indexOf(c)!==-1))return new Promise(c=>{a.parsedBody=JSON.parse(p),c(a)}).catch(n);if(d.some(c=>e.indexOf(c)!==-1))return Xv(p,i).then(c=>(a.parsedBody=c,a)).catch(n)}return Promise.resolve(a)}o(KL,"parse");var Jv={enable:!0};function Zv(t){return{create:(e,a)=>new Sh(e,a,t||Jv)}}o(Zv,"keepAlivePolicy");var Sh=class extends ht{static{o(this,"KeepAlivePolicy")}constructor(e,a,i){super(e,a),this.keepAliveOptions=i}async sendRequest(e){return e.keepAlive=this.keepAliveOptions.enable,this._nextPolicy.sendRequest(e)}},Ov=["GET","HEAD"],YL={handleRedirects:!0,maxRetries:20};function Wh(t=20){return{create:(e,a)=>new Eh(e,a,t)}}o(Wh,"redirectPolicy");var Eh=class extends ht{static{o(this,"RedirectPolicy")}constructor(e,a,i=20){super(e,a),this.maxRetries=i}sendRequest(e){return this._nextPolicy.sendRequest(e).then(a=>eb(this,a,0))}};functi Line truncated
`).join(""))}return this._nextPolicy.sendRequest(e)}},sb=[],ob=!1,lq=new Map;function dq(){if(!process)return;let t=hc(Ra.HTTPS_PROXY),e=hc(Ra.ALL_PROXY),a=hc(Ra.HTTP_PROXY);return t||e||a}o(dq,"loadEnvironmentProxyValue");function cq(t,e,a){if(e.length===0)return!1;let i=hi.parse(t).getHost();if(a?.has(i))return a.get(i);let r=!1;for(let n of e)n[0]==="."?(i.endsWith(n)||i.length===n.length-1&&i===n.slice(1))&&(r=!0):i===n&&(r=!0);return a?.set(i,r),r}o(cq,"isBypassed");function uq(){let t=hc(Ra.NO_PROXY);return ob=!0,t?t.split(",").map(e=>e.trim()).filter(e=>e.length):[]}o(uq,"loadNoProxy");function pb(t){if(!t&&(t=dq(),!t))return;let{username:e,password:a,urlWithoutAuth:i}=mq(t),r=hi.parse(i);return{host:(r.getScheme()?r.getScheme()+"://":"")+r.getHost(),port:Number.parseInt(r.getPort()||"80"),username:e,password:a}}o(pb,"getDefaultProxySettings");function t0(t,e){return t||(t=pb()),ob||sb.push(...uq()),{create:(a,i)=>new Ah(a,i,t,e?.customNoProxyList)}}o(t0,"proxyPolicy");function mq(t){let e=t.indexOf("@");if(e===-1)return{urlWithoutAuth:t};let a=t.indexOf("://"),i=a!==-1?a+3:0,r=t.substring(i,e),n=r.indexOf(":"),s=n!==-1,p=s?r.substring(0,n):r,l=s?r.substring(n+1):void 0,d=t.substring(0,i)+t.substring(e+1);return{username:p,password:l,urlWithoutAuth:d}}o(mq,"extractAuthFromUrl");var Ah=class extends ht{static{o(this,"ProxyPolicy")}constructor(e,a,i,r){super(e,a),this.proxySettings=i,this.customNoProxyList=r}sendRequest(e){var a;return!e.proxySettings&&!cq(e.url,(a=this.customNoProxyList)!==null&&a!==void 0?a:sb,this.customNoProxyList?void 0:lq)&&(e.proxySettings=this.proxySettings),this._nextPolicy.sendRequest(e)}};function fq(t=30){return{create:(e,a)=>new Bh(e,a,t)}}o(fq,"rpRegistrationPolicy");var Bh=class extends ht{static{o(this,"RPRegistrationPolicy")}constructor(e,a,i=30){super(e,a),this._retryTimeout=i}sendRequest(e){return this._nextPolicy.sendRequest(e.clone()).then(a=>hq(this,e,a))}};function hq(t,e,a){if(a.status===409){let i=gq(a.bodyAsText);if(i){let r=yq(e.url);return vq(t,r,i,e).catch(()=>!1).then(n=>n?(e.headers.set("x-ms-client-request-id",Ec()),t._nextPolicy.sendRequest(e.clone())):a)}}return Promise.resolve(a)}o(hq,"registerIfNeeded");function lb(t,e=!1){let a=t.clone();return e&&(a.url=t.url),a.headers.set("x-ms-client-request-id",Ec()),a.headers.set("Content-Type","application/json; charset=utf-8"),a}o(lb,"getRequestEssentials");function gq(t){let e,a;if(t){try{a=JSON.parse(t)}catch{}if(a&&a.error&&a.error.message&&a.error.code&&a.error.code==="MissingSubscriptionRegistration"){let i=a.error.message.match(/.*'(.*)'/i);i&&(e=i.pop())}}return e}o(gq,"checkRPNotRegisteredError");function yq(t){let e,a=t.match(/.*\/subscriptions\/[a-f0-9-]+\//gi);if(a&&a[0])e=a[0];else throw new Error(`Unable to extract subscriptionId from the given url - ${t}.`);return e}o(yq,"extractSubscriptionUrl");async function vq(t,e,a,i){let r=`${e}providers/${a}/register?api-version=2016-02-01`,n=`${e}providers/${a}?api-version=2016-02-01`,s=lb(i);if(s.method="POST",s.url=r,(await t._nextPolicy.sendRequest(s)).status!==200)throw new Error(`Autoregistration of ${a} failed. Please try registering manually.`);return db(t,n,i)}o(vq,"registerRP");async function db(t,e,a){let i=lb(a);i.url=e,i.method="GET";let r=await t._nextPolicy.sendRequest(i),n=r.parsedBody;return r.parsedBody&&n.registrationState&&n.registrationState==="Registered"?!0:(await fi.delay(t._retryTimeout*1e3),db(t,e,a))}o(db,"getRegistrationStatus");function cb(t){return{create:(e,a)=>new Mh(e,a,t)}}o(cb,"signingPolicy");var Mh=class extends ht{static{o(this,"SigningPolicy")}constructor(e,a,i){super(e,a),this.authenticationProvider=i}signRequest(e){return this.authenticationProvider.signRequest(e)}sendRequest(e){return this.signRequest(e).then(a=>this._nextPolicy.sendRequest(a))}};function a0(t,e,a,i){return{create:(r,n)=>new Lh(r,n,t,e,a,i)}}o(a0,"systemErrorRetryPolicy");var Lh=class extends ht{static{o(this,"SystemErrorRetryPolicy")}constructor(e,a,i,r,n,s){super(e,a),this.retryCount=Zr(i)?i:Xh,this.retryInterval=Zr(r)?r:Kh,this.minRetryInterval=Zr(n)?n:QL,this.maxRetryInterval=Zr(s)?s:Yh}sendRequest(e){return this._nextPolicy.sendRequest(e.clone()).catch(a=>ub(this,e,a.response,a))}};async function ub(t,e,a,i,r){r=ab(t,r,i);function n(s,p){return!!(p&&p.code&&(p.code==="ETIMEDOUT"||p.code==="ESOCKETTIMEDOUT"||p.code==="ECONNREFUSED"||p.code==="ECONNRESET"||p.code==="ENOENT"))}if(o(n,"shouldPolicyRetry"),tb(t.retryCount,n,r,a,i))try{return await fi.delay(r.retryInterval),t._nextPolicy.sendRequest(e.clone())}catch(s){return ub(t,e,a,s,r)}else return i?Promise.reject(r.error):a}o(ub,"retry");var bq=3,Rv=Ra.HttpConstants.StatusCodes;function i0(){return{create:(t,e)=>new qh(t,e)}}o(i0,"throttlingRetryPolicy");var Pv="The operation was aborted.",qh=class t extends ht{static{o(this,"ThrottlingRetryPolicy")}constructor(e,a,i){super(e,a),this.numberOfRetries=0,this._handleResponse=i||this._defaultResponseHandler}async sendRequest(e){let a=await this. Line truncated
Polling from: ${a.config.operationLocation}
Operation status: ${c}
Polling status: ${xb.includes(c)?"Stopped":"Running"}`),c==="succeeded"){let u=s(d,a);if(u!==void 0)return{response:await e(u).catch(vb({state:a,stateProxy:i,isOperationError:p})),status:c}}return{response:d,status:c}}o(Uq,"pollOperationHelper");async function Sb(t){let{poll:e,state:a,stateProxy:i,options:r,getOperationStatus:n,getResourceLocation:s,getOperationLocation:p,isOperationError:l,withOperationLocation:d,getPollingInterval:c,processResult:u,getError:m,updateState:f,setDelay:h,isDone:b,setErrorAsResult:E}=t,{operationLocation:C}=a.config;if(C!==void 0){let{response:I,status:w}=await Uq({poll:e,getOperationStatus:n,state:a,stateProxy:i,operationLocation:C,getResourceLocation:s,isOperationError:l,options:r});if(Nb({status:w,response:I,state:a,stateProxy:i,isDone:b,processResult:u,getError:m,setErrorAsResult:E}),!xb.includes(w)){let y=c?.(I);y&&h(y);let g=p?.(I,a);if(g!==void 0){let S=C!==g;a.config.operationLocation=g,d?.(g,S)}else d?.(C,!1)}f?.(a,I)}}o(Sb,"pollOperation");function Eb(t){let{azureAsyncOperation:e,operationLocation:a}=t;return a??e}o(Eb,"getOperationLocationPollingUrl");function Cb(t){return t.headers.location}o(Cb,"getLocationHeader");function Tb(t){return t.headers["operation-location"]}o(Tb,"getOperationLocationHeader");function Ob(t){return t.headers["azure-asyncoperation"]}o(Ob,"getAzureAsyncOperationHeader");function Hq(t){var e;let{location:a,requestMethod:i,requestPath:r,resourceLocationConfig:n}=t;switch(i){case"PUT":return r;case"DELETE":return;case"PATCH":return(e=s())!==null&&e!==void 0?e:r;default:return s()}function s(){switch(n){case"azure-async-operation":return;case"original-uri":return r;case"location":default:return a}}o(s,"getDefault")}o(Hq,"findResourceLocation");function Rb(t){let{rawResponse:e,requestMethod:a,requestPath:i,resourceLocationConfig:r}=t,n=Tb(e),s=Ob(e),p=Eb({operationLocation:n,azureAsyncOperation:s}),l=Cb(e),d=a?.toLocaleUpperCase();return p!==void 0?{mode:"OperationLocation",operationLocation:p,resourceLocation:Hq({requestMethod:d,location:l,requestPath:i,resourceLocationConfig:r})}:l!==void 0?{mode:"ResourceLocation",operationLocation:l}:d==="PUT"&&i?{mode:"Body",operationLocation:i}:void 0}o(Rb,"inferLroMode");function Pb(t){let{status:e,statusCode:a}=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 s0(a);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 an.verbose(`LRO: unrecognized operation status: ${e}`),e}}o(Pb,"transformStatus");function Fq(t){var e;let{status:a}=(e=t.body)!==null&&e!==void 0?e:{};return Pb({status:a,statusCode:t.statusCode})}o(Fq,"getStatus");function Vq(t){var e,a;let{properties:i,provisioningState:r}=(e=t.body)!==null&&e!==void 0?e:{},n=(a=i?.provisioningState)!==null&&a!==void 0?a:r;return Pb({status:n,statusCode:t.statusCode})}o(Vq,"getProvisioningState");function s0(t){return t===202?"running":t<300?"succeeded":"failed"}o(s0,"toOperationStatus");function Ib({rawResponse:t}){let e=t.headers["retry-after"];if(e!==void 0){let a=parseInt(e);return isNaN(a)?$q(new Date(e)):a*1e3}}o(Ib,"parseRetryAfter");function Db(t){let e=t.flatResponse.error;if(!e){an.warning("The long-running operation failed but there is no error property in the response's body");return}if(!e.code||!e.message){an.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(Db,"getErrorFromResponse");function $q(t){let e=Math.floor(new Date().getTime()),a=t.getTime();if(e<a)return a-e}o($q,"calculatePollingIntervalFromDate");function Ab(t){let{response:e,state:a,operationLocation:i}=t;function r(){var s;switch((s=a.config.metadata)===null||s===void 0?void 0:s.mode){case void 0:return s0(e.rawResponse.statusCode);case"Body":return o0(e,a);default:return"running"}}o(r,"helper");let n=r();return n==="running"&&i===void 0?"succeeded":n}o(Ab,"getStatusFromInitialResponse");async function Gq(t){let{stateProxy:e,resourceLocationConfig:a,processResult:i,lro:r,setErrorAsResult:n}=t;return _b({init:async()=>{let s=await r.sendInitialRequest(),p=Rb({rawResponse:s.rawResponse,requestPath:r.requestPath,requestMethod:r.requestMethod,resourceLocationConfig:a});return Object.assign({response:s,operationLocation:p?.operationLocation,resourceLocation:p?.resourceLocation},p?.mode?{metadata:{mode:p.mode}}:{})},stateProxy:e,processResult:i?({flatResponse:s},p)=>i(s,p):({flatResponse:s})=>s,getOperationStatus:Ab,setErrorAsResult:n})}o(Gq,"initHttpOperation");function Bb({rawResponse:t},e){var a;switch((a=e.config.metadata)===null||a===void 0?vLine truncated
`,v_="HTTP/1.1",Xk="AES256",Kk="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;",Yk=["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-if-tags","x-ms-source-if-tags"],Qk=["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"],Jk="BlobUsesCustomerSpecifiedEncryption",Zk="BlobDoesNotUseCustomerSpecifiedEncryption",eU=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];function tU(t){let e=q.URLBuilder.parse(t),a=e.getPath();return a=a||"/",a=iU(a),e.setPath(a),e.toString()}o(tU,"escapeURLPath");function aU(t){let e="";if(t.search("DevelopmentStorageProxyUri=")!==-1){let a=t.split(";");for(let i of a)i.trim().startsWith("DevelopmentStorageProxyUri=")&&(e=i.trim().match("DevelopmentStorageProxyUri=(.*)")[1])}return e}o(aU,"getProxyUriFromDevConnString");function ds(t,e){let a=t.split(";");for(let i of a)if(i.trim().startsWith(e))return i.trim().match(e+"=(.*)")[1];return""}o(ds,"getValueInConnString");function Ps(t){let e="";t.startsWith("UseDevelopmentStorage=true")&&(e=aU(t),t=Kk);let a=ds(t,"BlobEndpoint");if(a=a.endsWith("/")?a.slice(0,-1):a,t.search("DefaultEndpointsProtocol=")!==-1&&t.search("AccountKey=")!==-1){let i="",r="",n=Buffer.from("accountKey","base64"),s="";if(r=ds(t,"AccountName"),n=Buffer.from(ds(t,"AccountKey"),"base64"),!a){i=ds(t,"DefaultEndpointsProtocol");let p=i.toLowerCase();if(p!=="https"&&p!=="http")throw new Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'");if(s=ds(t,"EndpointSuffix"),!s)throw new Error("Invalid EndpointSuffix in the provided Connection String");a=`${i}://${r}.blob.${s}`}if(r){if(n.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:a,accountName:r,accountKey:n,proxyUri:e}}else{let i=ds(t,"SharedAccessSignature"),r=x_(a);if(a){if(!i)throw new Error("Invalid SharedAccessSignature in the provided SAS Connection String")}else throw new Error("Invalid BlobEndpoint in the provided SAS Connection String");return{kind:"SASConnString",url:a,accountName:r,accountSas:i}}}o(Ps,"extractConnectionStringParts");function iU(t){return encodeURIComponent(t).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}o(iU,"escape");function Fe(t,e){let a=q.URLBuilder.parse(t),i=a.getPath();return i=i?i.endsWith("/")?`${i}${e}`:`${i}/${e}`:e,a.setPath(i),new URL(a.toString()).toString()}o(Fe,"appendToURLPath");function ln(t,e Line truncated
Polling status: ${wb.includes(c)?"Stopped":"Running"}`),c==="succeeded"){let u=s(d,a);if(u!==void 0)return{response:await e(u).catch(bb({state:a,stateProxy:i,isOperationError:p})),status:c}}return{response:d,status:c}}o(Lq,"pollOperationHelper");async function Eb(t){let{poll:e,state:a,stateProxy:i,options:r,getOperationStatus:n,getResourceLocation:s,getOperationLocation:p,isOperationError:l,withOperationLocation:d,getPollingInterval:c,processResult:u,getError:m,updateState:f,setDelay:h,isDone:b,setErrorAsResult:E}=t,{operationLocation:C}=a.config;if(C!==void 0){let{response:I,status:w}=await Lq({poll:e,getOperationStatus:n,state:a,stateProxy:i,operationLocation:C,getResourceLocation:s,isOperationError:l,options:r});if(_b({status:w,response:I,state:a,stateProxy:i,isDone:b,processResult:u,getError:m,setErrorAsResult:E}),!wb.includes(w)){let y=c?.(I);y&&h(y);let g=p?.(I,a);if(g!==void 0){let S=C!==g;a.config.operationLocation=g,d?.(g,S)}else d?.(C,!1)}f?.(a,I)}}o(Eb,"pollOperation");function Cb(t){let{azureAsyncOperation:e,operationLocation:a}=t;return a??e}o(Cb,"getOperationLocationPollingUrl");function Tb(t){return t.headers.location}o(Tb,"getLocationHeader");function Ob(t){return t.headers["operation-location"]}o(Ob,"getOperationLocationHeader");function Rb(t){return t.headers["azure-asyncoperation"]}o(Rb,"getAzureAsyncOperationHeader");function qq(t){var e;let{location:a,requestMethod:i,requestPath:r,resourceLocationConfig:n}=t;switch(i){case"PUT":return r;case"DELETE":return;case"PATCH":return(e=s())!==null&&e!==void 0?e:r;default:return s()}function s(){switch(n){case"azure-async-operation":return;case"original-uri":return r;case"location":default:return a}}o(s,"getDefault")}o(qq,"findResourceLocation");function Pb(t){let{rawResponse:e,requestMethod:a,requestPath:i,resourceLocationConfig:r}=t,n=Ob(e),s=Rb(e),p=Cb({operationLocation:n,azureAsyncOperation:s}),l=Tb(e),d=a?.toLocaleUpperCase();return p!==void 0?{mode:"OperationLocation",operationLocation:p,resourceLocation:qq({requestMethod:d,location:l,requestPath:i,resourceLocationConfig:r})}:l!==void 0?{mode:"ResourceLocation",operationLocation:l}:d==="PUT"&&i?{mode:"Body",operationLocation:i}:void 0}o(Pb,"inferLroMode");function Ib(t){let{status:e,statusCode:a}=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 o0(a);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 an.verbose(`LRO: unrecognized operation status: ${e}`),e}}o(Ib,"transformStatus");function zq(t){var e;let{status:a}=(e=t.body)!==null&&e!==void 0?e:{};return Ib({status:a,statusCode:t.statusCode})}o(zq,"getStatus");function jq(t){var e,a;let{properties:i,provisioningState:r}=(e=t.body)!==null&&e!==void 0?e:{},n=(a=i?.provisioningState)!==null&&a!==void 0?a:r;return Ib({status:n,statusCode:t.statusCode})}o(jq,"getProvisioningState");function o0(t){return t===202?"running":t<300?"succeeded":"failed"}o(o0,"toOperationStatus");function Db({rawResponse:t}){let e=t.headers["retry-after"];if(e!==void 0){let a=parseInt(e);return isNaN(a)?kq(new Date(e)):a*1e3}}o(Db,"parseRetryAfter");function Ab(t){let e=t.flatResponse.error;if(!e){an.warning("The long-running operation failed but there is no error property in the response's body");return}if(!e.code||!e.message){an.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(Ab,"getErrorFromResponse");function kq(t){let e=Math.floor(new Date().getTime()),a=t.getTime();if(e<a)return a-e}o(kq,"calculatePollingIntervalFromDate");function Bb(t){let{response:e,state:a,operationLocation:i}=t;function r(){var s;switch((s=a.config.metadata)===null||s===void 0?void 0:s.mode){case void 0:return o0(e.rawResponse.statusCode);case"Body":return p0(e,a);default:return"running"}}o(r,"helper");let n=r();return n==="running"&&i===void 0?"succeeded":n}o(Bb,"getStatusFromInitialResponse");async function Uq(t){let{stateProxy:e,resourceLocationConfig:a,processResult:i,lro:r,setErrorAsResult:n}=t;return Sb({init:async()=>{let s=await r.sendInitialRequest(),p=Pb({rawResponse:s.rawResponse,requestPath:r.requestPath,requestMethod:r.requestMethod,resourceLocationConfig:a});return Object.assign({response:s,operationLocation:p?.operationLocation,resourceLocation:p?.resourceLocation},p?.mode?{metadata:{mode:p.mode}}:{})},stateProxy:e,processResult:i?({flatResponse:s},p)=>i(s,p):({flatResponse:s})=>s,getOperationStatus:Bb,setErrorAsResult:n})}o(Uq,"initHttpOperation");function Mb({rawResponse:t},e){var a;switch((a=e.config.metadata)===null||a===void 0?vLine truncated
`,b_="HTTP/1.1",Fk="AES256",Vk="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;",$k=["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-if-tags","x-ms-source-if-tags"],Gk=["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"],Wk="BlobUsesCustomerSpecifiedEncryption",Xk="BlobDoesNotUseCustomerSpecifiedEncryption",Kk=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];function Yk(t){let e=q.URLBuilder.parse(t),a=e.getPath();return a=a||"/",a=Jk(a),e.setPath(a),e.toString()}o(Yk,"escapeURLPath");function Qk(t){let e="";if(t.search("DevelopmentStorageProxyUri=")!==-1){let a=t.split(";");for(let i of a)i.trim().startsWith("DevelopmentStorageProxyUri=")&&(e=i.trim().match("DevelopmentStorageProxyUri=(.*)")[1])}return e}o(Qk,"getProxyUriFromDevConnString");function ls(t,e){let a=t.split(";");for(let i of a)if(i.trim().startsWith(e))return i.trim().match(e+"=(.*)")[1];return""}o(ls,"getValueInConnString");function Rs(t){let e="";t.startsWith("UseDevelopmentStorage=true")&&(e=Qk(t),t=Vk);let a=ls(t,"BlobEndpoint");if(a=a.endsWith("/")?a.slice(0,-1):a,t.search("DefaultEndpointsProtocol=")!==-1&&t.search("AccountKey=")!==-1){let i="",r="",n=Buffer.from("accountKey","base64"),s="";if(r=ls(t,"AccountName"),n=Buffer.from(ls(t,"AccountKey"),"base64"),!a){i=ls(t,"DefaultEndpointsProtocol");let p=i.toLowerCase();if(p!=="https"&&p!=="http")throw new Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'");if(s=ls(t,"EndpointSuffix"),!s)throw new Error("Invalid EndpointSuffix in the provided Connection String");a=`${i}://${r}.blob.${s}`}if(r){if(n.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:a,accountName:r,accountKey:n,proxyUri:e}}else{let i=ls(t,"SharedAccessSignature"),r=w_(a);if(a){if(!i)throw new Error("Invalid SharedAccessSignature in the provided SAS Connection String")}else throw new Error("Invalid BlobEndpoint in the provided SAS Connection String");return{kind:"SASConnString",url:a,accountName:r,accountSas:i}}}o(Rs,"extractConnectionStringParts");function Jk(t){return encodeURIComponent(t).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}o(Jk,"escape");function Fe(t,e){let a=q.URLBuilder.parse(t),i=a.getPath();return i=i?i.endsWith("/")?`${i}${e}`:`${i}/${e}`:e,a.setPath(i),new URL(a.toString()).toString()}o(Fe,"appendToURLPath");function ln(t,e Line truncated
`)+`
`+this.getCanonicalizedHeadersString(e)+this.getCanonicalizedResourceString(e),i=this.factory.computeHMACSHA256(a);return e.headers.set(Me.AUTHORIZATION,`SharedKey ${this.factory.accountName}:${i}`),e}getHeaderValueToSign(e,a){let i=e.headers.get(a);return!i||a===Me.CONTENT_LENGTH&&i==="0"?"":i}getCanonicalizedHeadersString(e){let a=e.headers.headersArray().filter(r=>r.name.toLowerCase().startsWith(Me.PREFIX_FOR_STORAGE));a.sort((r,n)=>r.name.toLowerCase().localeCompare(n.name.toLowerCase())),a=a.filter((r,n,s)=>!(n>0&&r.name.toLowerCase()===s[n-1].name.toLowerCase()));let i="";return a.forEach(r=>{i+=`${r.name.toLowerCase().trimRight()}:${r.value.trimLeft()}
`}),i}getCanonicalizedResourceString(e){let a=c2(e.url)||"/",i="";i+=`/${this.factory.accountName}${a}`;let r=oU(e.url),n={};if(r){let s=[];for(let p in r)if(Object.prototype.hasOwnProperty.call(r,p)){let l=p.toLowerCase();n[l]=r[p],s.push(l)}s.sort();for(let p of s)i+=`
${p}:${decodeURIComponent(n[p])}`}return i}},Je=class extends bp{static{o(this,"StorageSharedKeyCredential")}constructor(e,a){super(),this.accountName=e,this.accountKey=Buffer.from(a,"base64")}create(e,a){return new Fc(e,a,this)}computeHMACSHA256(e){return Qb.createHmac("sha256",this.accountKey).update(e,"utf8").digest("base64")}},NU="azure-storage-blob",_U="12.15.0",wp=class extends H.ServiceClient{static{o(this,"StorageClientContext")}constructor(e,a){if(e===void 0)throw new Error("'url' cannot be null");if(a||(a={}),!a.userAgent){let i=H.getDefaultUserAgentValue();a.userAgent=`${NU}/${_U} ${i}`}super(void 0,a),this.requestContentType="application/json; charset=utf-8",this.baseUri=a.endpoint||"{url}",this.url=e,this.version=a.version||"2023-01-03"}},Np=class{static{o(this,"StorageClient")}constructor(e,a){this.url=tU(e),this.accountName=x_(e),this.pipeline=a,this.storageClientContext=new wp(this.url,a.toServiceClientOptions()),this.isHttps=b_(nU(this.url)||"","https"),this.credential=new Ie;for(let r of this.pipeline.factories)q.isNode&&r instanceof Je||r instanceof Ie?this.credential=r:q.isTokenCredential(r.credential)&&(this.credential=r.credential);let i=this.storageClientContext;i.requestContentType=void 0}},j=z.createSpanFunction({packagePrefix:"Azure.Storage.Blob",namespace:"Microsoft.Storage"});function X(t){var e,a;return{spanOptions:(e=t?.tracingOptions)===null||e===void 0?void 0:e.spanOptions,tracingContext:(a=t?.tracingOptions)===null||a===void 0?void 0:a.tracingContext}}o(X,"convertTracingToRequestOptionsBase");var ki=class t{static{o(this,"BlobSASPermissions")}constructor(){this.read=!1,this.add=!1,this.create=!1,this.write=!1,this.delete=!1,this.deleteVersion=!1,this.tag=!1,this.move=!1,this.execute=!1,this.setImmutabilityPolicy=!1,this.permanentDelete=!1}static parse(e){let a=new t;for(let i of e)switch(i){case"r":a.read=!0;break;case"a":a.add=!0;break;case"c":a.create=!0;break;case"w":a.write=!0;break;case"d":a.delete=!0;break;case"x":a.deleteVersion=!0;break;case"t":a.tag=!0;break;case"m":a.move=!0;break;case"e":a.execute=!0;break;case"i":a.setImmutabilityPolicy=!0;break;case"y":a.permanentDelete=!0;break;default:throw new RangeError(`Invalid permission: ${i}`)}return a}static from(e){let a=new t;return e.read&&(a.read=!0),e.add&&(a.add=!0),e.create&&(a.create=!0),e.write&&(a.write=!0),e.delete&&(a.delete=!0),e.deleteVersion&&(a.deleteVersion=!0),e.tag&&(a.tag=!0),e.move&&(a.move=!0),e.execute&&(a.execute=!0),e.setImmutabilityPolicy&&(a.setImmutabilityPolicy=!0),e.permanentDelete&&(a.permanentDelete=!0),a}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("")}},Ui=class t{static{o(this,"ContainerSASPermissions")}constructor(){this.read=!1,this.add=!1,this.create=!1,this.write=!1,this.delete=!1,this.deleteVersion=!1,this.list=!1,this.tag=!1,this.move=!1,this.execute=!1,this.setImmutabilityPolicy=!1,this.permanentDelete=!1,this.filterByTags=!1}static parse(e){let a=new t;for(let i of e)switch(i){case"r":a.read=!0;break;case"a":a.add=!0;break;case"c":a.create=!0;break;case"w":a.write=!0;break;case"d":a.delete=!0;break;case"l":a.list=!0;break;case"t":a.tag=!0;break;case"x":a.deleteVersion=!0;break;case"m":a.move=!0;break;case"e":a.execute=!0;break;case"i":a.setImmutabilityPolicy=!0;break;case"y":a.permanentDelete=!0;break;case"f":a.filterByTags=!0;break;default:throw new RangeError(`Invalid permission ${i}`)}return a}static from(e){let a=new t;return e.read&&(a.read=!0),e.add&&(a.add=!0),e.create&&(a.create=!0),e.write&&(a.write=!0),e.delete&&(a.delete=!0),e.list&&(a.list=!0),e.deleteVersion&&(a.deleteVersion=!0),e.tag&&(a.tag=!0),e.move&&(a.move=!0),e.execute&&(a.execute=!0),e.setImmutabilityPolicy&&(a.setImmutabilityPolicy=!0),e.permanentDelete&&(a.permanentDelete=!0),e.filterByTags&&(a.filterByTags=!0),a}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("")}},N0=class{static{o(this,"UserDelegationKeyCredential")}constructor(e,a){this.accountName=e,this.userDelegationKey=a,this.key=Buffer.from(a.value,"base64")}computeHMACSHA256(e){return Qb.createHmac("sha256",this.key).update(e,"utf8").digest("base64")}};function Hi(t){return t.end?`${t.start}-${t.end}`:t.start}o(Hi,"ipRangeToString");Z.SASProtocol=void 0;(function(t){t.Https="https",t.HttpsAndHttp="https,http"})(Z.SASProtocol||(Z.SASProtocol={}));var gi=class{static{o(this,"SASQueryParameters")}constructor(e,a,i,r,n,s,p,l,d,c,u,m,f,h,b Line truncated
`),n=e.computeHMACSHA256(r);return new gi(t.version,n,i,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,a,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType)}o(SU,"generateBlobSASQueryParameters20150405");function EU(t,e){if(t=Ds(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 a="c",i=t.snapshotTime;t.blobName&&(a="b",t.snapshotTime?a="bs":t.versionId&&(a="bv",i=t.versionId));let r;t.permissions&&(t.blobName?r=ki.parse(t.permissions.toString()).toString():r=Ui.parse(t.permissions.toString()).toString());let n=[r||"",t.startsOn?Ce(t.startsOn,!1):"",t.expiresOn?Ce(t.expiresOn,!1):"",Is(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?Hi(t.ipRange):"",t.protocol?t.protocol:"",t.version,a,i,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(`
`),s=e.computeHMACSHA256(n);return new gi(t.version,s,r,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,a,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType)}o(EU,"generateBlobSASQueryParameters20181109");function CU(t,e){if(t=Ds(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 a="c",i=t.snapshotTime;t.blobName&&(a="b",t.snapshotTime?a="bs":t.versionId&&(a="bv",i=t.versionId));let r;t.permissions&&(t.blobName?r=ki.parse(t.permissions.toString()).toString():r=Ui.parse(t.permissions.toString()).toString());let n=[r||"",t.startsOn?Ce(t.startsOn,!1):"",t.expiresOn?Ce(t.expiresOn,!1):"",Is(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?Hi(t.ipRange):"",t.protocol?t.protocol:"",t.version,a,i,t.encryptionScope,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(`
`),s=e.computeHMACSHA256(n);return new gi(t.version,s,r,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,a,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,void 0,void 0,void 0,t.encryptionScope)}o(CU,"generateBlobSASQueryParameters20201206");function TU(t,e){if(t=Ds(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let a="c",i=t.snapshotTime;t.blobName&&(a="b",t.snapshotTime?a="bs":t.versionId&&(a="bv",i=t.versionId));let r;t.permissions&&(t.blobName?r=ki.parse(t.permissions.toString()).toString():r=Ui.parse(t.permissions.toString()).toString());let n=[r||"",t.startsOn?Ce(t.startsOn,!1):"",t.expiresOn?Ce(t.expiresOn,!1):"",Is(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Ce(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Ce(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.ipRange?Hi(t.ipRange):"",t.protocol?t.protocol:"",t.version,a,i,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),s=e.computeHMACSHA256(n);return new gi(t.version,s,r,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,a,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey)}o(TU,"generateBlobSASQueryParametersUDK20181109");function OU(t,e){if(t=Ds(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let a="c",i=t.snapshotTime;t.blobName&&(a="b",t.snapshotTime?a="bs":t.versionId&&(a="bv",i=t.versionId));let r;t.permissions&&(t.blobName?r=ki.parse(t.permissions.toString()).toString():r=Ui.parse(t.permissions.toString()).toString());let n=[r||"",t.startsOn?Ce(t.startsOn,!1):"",t.expiresOn?Ce(t.expiresOn,!1):"",Is(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Ce(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Ce(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?Hi(t.ipRange):"",t.protocol?t.protocol:"",t.version,a,i,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),s=e.computeHMACSHA256(n);return new gi(t.version,s,r,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,a,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId)}o(OU,"generateBlobSASQueryParametersUDK20200210");function RU(t,e){if(t=Ds(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let a="c",i=t.snapshotTime;t.blobName&&(a="b",t.snapshotTime?a="bs":t.versionId&&(a="bv",i=t.versionId));let r;t.permissions&&(t.blobName?r=ki.parse(t.permissions.toString()).toString():r=Ui.parse(t.permissions.toString()).toString());let n=[r||"",t.startsOn?Ce(t.startsOn,!1):"",t.expiresOn?Ce(t.expiresOn,!1):"",Is(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Ce(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Ce(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?Hi(t.ipRange):"",t.protocol?t.protocol:"",t.version,a,i,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),s=e.computeHMACSHA256(n);return new gi(t.version,s,r,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,a,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId,t.encryptionScope)}o(RU,"generateBlobSASQueryParametersUDK20201206");function Is(t,e,a){let i=[`/blob/${t}/${e}`];return a&&i.push(`/${a}`),i.join("")}o(Is,"getCanonicalName");function Ds(t){let e=t.version?t.version:l2;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(Ds,"SASSignatureValuesSanityCheckAndAutofill");var _p=class{static{o(this,"BlobLeaseClient")}constructor(e,a){let i=new wp(e.url,e.pipeline.toServiceClientOptions());this._url=e.url,e.name===void 0?(this._isContainer=!0,this._containerOrBlobOperation=new pn(i)):(this._isContainer=!1,this._containerOrBlobOperation=new gp(i)),a||(a=q.generateUuid()),this._leaseId=a}get leaseId(){return this._leaseId}get url(){return this._url}async acquireLease(e,a={}){var i,r,n,s,p,l;let{span:d,updatedOptions:c}=j("BlobLeaseClient-acquireLease",a);if(this._isContainer&&(!((i=a.conditions)===null||i===void 0)&&i.ifMatch&&((r=a.conditions)===null||r===void 0?void 0:r.ifMatch)!==hi||!((n=a.conditions)===null||n===void 0)&&n.ifNoneMatch&&((s=a.conditions)===null||s===void 0?void 0:s.ifNoneMatch)!==hi||!((p=a.conditions)===null||p===void 0)&&p.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.");try{return await this._containerOrBlobOperation.acquireLease(Object.assign({abortSignal:a.abortSignal,duration:e,modifiedAccessConditions:Object.assign(Object.assign({},a.conditions),{ifTags:(l=a.conditions)===null||l===void 0?void 0:l.tagConditions}),proposedLeaseId:this._leaseId},X(c)))}catch(u){throw d.setStatus({code:z.SpanStatusCode.ERROR,message:u.message}),u}finally{d.end()}}async changeLease(e,a={}){var i,r,n,s,p,l;let{span:d,updatedOptions:c}=j("BlobLeaseClient-changeLease",a);if(this._isContainer&&(!((i=a.conditions)===null||i===void 0)&&i.ifMatch&&((r=a.conditions)===null||r===void 0?void 0:r.ifMatch)!==hi||!((n=a.conditions)===null||n===void 0)&&n.ifNoneMatch&&((s=a.conditions)===null||s===void 0?void 0:s.ifNoneMatch)!==hi||!((p=a.conditions)===null||p===void 0)&&p.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.");try{let u=await this._containerOrBlobOperation.changeLease(this._leaseId,e,Object.assign({abortSignal:a.abortSignal,modifiedAccessConditions:Object.assign(Object.assign({},a.conditions),{ifTags:(l=a.conditions)===null||l===void 0?void 0:l.tagConditions})},X(c)));return this._leaseId=e,u}catch(u){throw d.setStatus({code:z.SpanStatusCode.ERROR,message:u.message}),u}finally{d.end()}}async releaseLease(e={}){var a,i,r,n,s,p;let{span:l,updatedOptions:d}=j("BlobLeaseClient-releaseLease",e);if(this._isContainer&&(!((a=e.conditions)===null||a===void 0)&&a.ifMatch&&((i=e.conditions)===null||i===void 0?void 0:i.ifMatch)!==hi||!((r=e.conditions)===null||r===void 0)&&r.ifNoneMatch&&((n=e.conditions)===null||n===void 0?void 0:n.ifNoneMatch)!==hi||!((s=e.conditions)===null||s===void 0)&&s.tagCon Line truncated
`}),i}getCanonicalizedResourceString(e){let a=u2(e.url)||"/",i="";i+=`/${this.factory.accountName}${a}`;let r=aU(e.url),n={};if(r){let s=[];for(let p in r)if(Object.prototype.hasOwnProperty.call(r,p)){let l=p.toLowerCase();n[l]=r[p],s.push(l)}s.sort();for(let p of s)i+=`
${p}:${decodeURIComponent(n[p])}`}return i}},Je=class extends bp{static{o(this,"StorageSharedKeyCredential")}constructor(e,a){super(),this.accountName=e,this.accountKey=Buffer.from(a,"base64")}create(e,a){return new Fc(e,a,this)}computeHMACSHA256(e){return Jb.createHmac("sha256",this.accountKey).update(e,"utf8").digest("base64")}},yU="azure-storage-blob",vU="12.15.0",wp=class extends H.ServiceClient{static{o(this,"StorageClientContext")}constructor(e,a){if(e===void 0)throw new Error("'url' cannot be null");if(a||(a={}),!a.userAgent){let i=H.getDefaultUserAgentValue();a.userAgent=`${yU}/${vU} ${i}`}super(void 0,a),this.requestContentType="application/json; charset=utf-8",this.baseUri=a.endpoint||"{url}",this.url=e,this.version=a.version||"2023-01-03"}},Np=class{static{o(this,"StorageClient")}constructor(e,a){this.url=Yk(e),this.accountName=w_(e),this.pipeline=a,this.storageClientContext=new wp(this.url,a.toServiceClientOptions()),this.isHttps=x_(eU(this.url)||"","https"),this.credential=new Ie;for(let r of this.pipeline.factories)q.isNode&&r instanceof Je||r instanceof Ie?this.credential=r:q.isTokenCredential(r.credential)&&(this.credential=r.credential);let i=this.storageClientContext;i.requestContentType=void 0}},j=z.createSpanFunction({packagePrefix:"Azure.Storage.Blob",namespace:"Microsoft.Storage"});function X(t){var e,a;return{spanOptions:(e=t?.tracingOptions)===null||e===void 0?void 0:e.spanOptions,tracingContext:(a=t?.tracingOptions)===null||a===void 0?void 0:a.tracingContext}}o(X,"convertTracingToRequestOptionsBase");var ki=class t{static{o(this,"BlobSASPermissions")}constructor(){this.read=!1,this.add=!1,this.create=!1,this.write=!1,this.delete=!1,this.deleteVersion=!1,this.tag=!1,this.move=!1,this.execute=!1,this.setImmutabilityPolicy=!1,this.permanentDelete=!1}static parse(e){let a=new t;for(let i of e)switch(i){case"r":a.read=!0;break;case"a":a.add=!0;break;case"c":a.create=!0;break;case"w":a.write=!0;break;case"d":a.delete=!0;break;case"x":a.deleteVersion=!0;break;case"t":a.tag=!0;break;case"m":a.move=!0;break;case"e":a.execute=!0;break;case"i":a.setImmutabilityPolicy=!0;break;case"y":a.permanentDelete=!0;break;default:throw new RangeError(`Invalid permission: ${i}`)}return a}static from(e){let a=new t;return e.read&&(a.read=!0),e.add&&(a.add=!0),e.create&&(a.create=!0),e.write&&(a.write=!0),e.delete&&(a.delete=!0),e.deleteVersion&&(a.deleteVersion=!0),e.tag&&(a.tag=!0),e.move&&(a.move=!0),e.execute&&(a.execute=!0),e.setImmutabilityPolicy&&(a.setImmutabilityPolicy=!0),e.permanentDelete&&(a.permanentDelete=!0),a}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("")}},Ui=class t{static{o(this,"ContainerSASPermissions")}constructor(){this.read=!1,this.add=!1,this.create=!1,this.write=!1,this.delete=!1,this.deleteVersion=!1,this.list=!1,this.tag=!1,this.move=!1,this.execute=!1,this.setImmutabilityPolicy=!1,this.permanentDelete=!1,this.filterByTags=!1}static parse(e){let a=new t;for(let i of e)switch(i){case"r":a.read=!0;break;case"a":a.add=!0;break;case"c":a.create=!0;break;case"w":a.write=!0;break;case"d":a.delete=!0;break;case"l":a.list=!0;break;case"t":a.tag=!0;break;case"x":a.deleteVersion=!0;break;case"m":a.move=!0;break;case"e":a.execute=!0;break;case"i":a.setImmutabilityPolicy=!0;break;case"y":a.permanentDelete=!0;break;case"f":a.filterByTags=!0;break;default:throw new RangeError(`Invalid permission ${i}`)}return a}static from(e){let a=new t;return e.read&&(a.read=!0),e.add&&(a.add=!0),e.create&&(a.create=!0),e.write&&(a.write=!0),e.delete&&(a.delete=!0),e.list&&(a.list=!0),e.deleteVersion&&(a.deleteVersion=!0),e.tag&&(a.tag=!0),e.move&&(a.move=!0),e.execute&&(a.execute=!0),e.setImmutabilityPolicy&&(a.setImmutabilityPolicy=!0),e.permanentDelete&&(a.permanentDelete=!0),e.filterByTags&&(a.filterByTags=!0),a}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("")}},_0=class{static{o(this,"UserDelegationKeyCredential")}constructor(e,a){this.accountName=e,this.userDelegationKey=a,this.key=Buffer.from(a.value,"base64")}computeHMACSHA256(e){return Jb.createHmac("sha256",this.key).update(e,"utf8").digest("base64")}};function Hi(t){return t.end?`${t.start}-${t.end}`:t.start}o(Hi,"ipRangeToString");Z.SASProtocol=void 0;(function(t){t.Https="https",t.HttpsAndHttp="https,http"})(Z.SASProtocol||(Z.SASProtocol={}));var yi=class{static{o(this,"SASQueryParameters")}constructor(e,a,i,r,n,s,p,l,d,c,u,m,f,h,b Line truncated
`),n=e.computeHMACSHA256(r);return new yi(t.version,n,i,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,a,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType)}o(bU,"generateBlobSASQueryParameters20150405");function xU(t,e){if(t=Is(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 a="c",i=t.snapshotTime;t.blobName&&(a="b",t.snapshotTime?a="bs":t.versionId&&(a="bv",i=t.versionId));let r;t.permissions&&(t.blobName?r=ki.parse(t.permissions.toString()).toString():r=Ui.parse(t.permissions.toString()).toString());let n=[r||"",t.startsOn?Ce(t.startsOn,!1):"",t.expiresOn?Ce(t.expiresOn,!1):"",Ps(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?Hi(t.ipRange):"",t.protocol?t.protocol:"",t.version,a,i,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(`
`),s=e.computeHMACSHA256(n);return new yi(t.version,s,r,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,a,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType)}o(xU,"generateBlobSASQueryParameters20181109");function wU(t,e){if(t=Is(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 a="c",i=t.snapshotTime;t.blobName&&(a="b",t.snapshotTime?a="bs":t.versionId&&(a="bv",i=t.versionId));let r;t.permissions&&(t.blobName?r=ki.parse(t.permissions.toString()).toString():r=Ui.parse(t.permissions.toString()).toString());let n=[r||"",t.startsOn?Ce(t.startsOn,!1):"",t.expiresOn?Ce(t.expiresOn,!1):"",Ps(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?Hi(t.ipRange):"",t.protocol?t.protocol:"",t.version,a,i,t.encryptionScope,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(`
`),s=e.computeHMACSHA256(n);return new yi(t.version,s,r,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,a,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,void 0,void 0,void 0,t.encryptionScope)}o(wU,"generateBlobSASQueryParameters20201206");function NU(t,e){if(t=Is(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let a="c",i=t.snapshotTime;t.blobName&&(a="b",t.snapshotTime?a="bs":t.versionId&&(a="bv",i=t.versionId));let r;t.permissions&&(t.blobName?r=ki.parse(t.permissions.toString()).toString():r=Ui.parse(t.permissions.toString()).toString());let n=[r||"",t.startsOn?Ce(t.startsOn,!1):"",t.expiresOn?Ce(t.expiresOn,!1):"",Ps(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Ce(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Ce(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.ipRange?Hi(t.ipRange):"",t.protocol?t.protocol:"",t.version,a,i,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),s=e.computeHMACSHA256(n);return new yi(t.version,s,r,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,a,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey)}o(NU,"generateBlobSASQueryParametersUDK20181109");function _U(t,e){if(t=Is(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let a="c",i=t.snapshotTime;t.blobName&&(a="b",t.snapshotTime?a="bs":t.versionId&&(a="bv",i=t.versionId));let r;t.permissions&&(t.blobName?r=ki.parse(t.permissions.toString()).toString():r=Ui.parse(t.permissions.toString()).toString());let n=[r||"",t.startsOn?Ce(t.startsOn,!1):"",t.expiresOn?Ce(t.expiresOn,!1):"",Ps(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Ce(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Ce(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?Hi(t.ipRange):"",t.protocol?t.protocol:"",t.version,a,i,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),s=e.computeHMACSHA256(n);return new yi(t.version,s,r,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,a,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId)}o(_U,"generateBlobSASQueryParametersUDK20200210");function SU(t,e){if(t=Is(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let a="c",i=t.snapshotTime;t.blobName&&(a="b",t.snapshotTime?a="bs":t.versionId&&(a="bv",i=t.versionId));let r;t.permissions&&(t.blobName?r=ki.parse(t.permissions.toString()).toString():r=Ui.parse(t.permissions.toString()).toString());let n=[r||"",t.startsOn?Ce(t.startsOn,!1):"",t.expiresOn?Ce(t.expiresOn,!1):"",Ps(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Ce(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Ce(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?Hi(t.ipRange):"",t.protocol?t.protocol:"",t.version,a,i,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),s=e.computeHMACSHA256(n);return new yi(t.version,s,r,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,a,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId,t.encryptionScope)}o(SU,"generateBlobSASQueryParametersUDK20201206");function Ps(t,e,a){let i=[`/blob/${t}/${e}`];return a&&i.push(`/${a}`),i.join("")}o(Ps,"getCanonicalName");function Is(t){let e=t.version?t.version:d2;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(Is,"SASSignatureValuesSanityCheckAndAutofill");var _p=class{static{o(this,"BlobLeaseClient")}constructor(e,a){let i=new wp(e.url,e.pipeline.toServiceClientOptions());this._url=e.url,e.name===void 0?(this._isContainer=!0,this._containerOrBlobOperation=new pn(i)):(this._isContainer=!1,this._containerOrBlobOperation=new gp(i)),a||(a=q.generateUuid()),this._leaseId=a}get leaseId(){return this._leaseId}get url(){return this._url}async acquireLease(e,a={}){var i,r,n,s,p,l;let{span:d,updatedOptions:c}=j("BlobLeaseClient-acquireLease",a);if(this._isContainer&&(!((i=a.conditions)===null||i===void 0)&&i.ifMatch&&((r=a.conditions)===null||r===void 0?void 0:r.ifMatch)!==gi||!((n=a.conditions)===null||n===void 0)&&n.ifNoneMatch&&((s=a.conditions)===null||s===void 0?void 0:s.ifNoneMatch)!==gi||!((p=a.conditions)===null||p===void 0)&&p.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.");try{return await this._containerOrBlobOperation.acquireLease(Object.assign({abortSignal:a.abortSignal,duration:e,modifiedAccessConditions:Object.assign(Object.assign({},a.conditions),{ifTags:(l=a.conditions)===null||l===void 0?void 0:l.tagConditions}),proposedLeaseId:this._leaseId},X(c)))}catch(u){throw d.setStatus({code:z.SpanStatusCode.ERROR,message:u.message}),u}finally{d.end()}}async changeLease(e,a={}){var i,r,n,s,p,l;let{span:d,updatedOptions:c}=j("BlobLeaseClient-changeLease",a);if(this._isContainer&&(!((i=a.conditions)===null||i===void 0)&&i.ifMatch&&((r=a.conditions)===null||r===void 0?void 0:r.ifMatch)!==gi||!((n=a.conditions)===null||n===void 0)&&n.ifNoneMatch&&((s=a.conditions)===null||s===void 0?void 0:s.ifNoneMatch)!==gi||!((p=a.conditions)===null||p===void 0)&&p.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.");try{let u=await this._containerOrBlobOperation.changeLease(this._leaseId,e,Object.assign({abortSignal:a.abortSignal,modifiedAccessConditions:Object.assign(Object.assign({},a.conditions),{ifTags:(l=a.conditions)===null||l===void 0?void 0:l.tagConditions})},X(c)));return this._leaseId=e,u}catch(u){throw d.setStatus({code:z.SpanStatusCode.ERROR,message:u.message}),u}finally{d.end()}}async releaseLease(e={}){var a,i,r,n,s,p;let{span:l,updatedOptions:d}=j("BlobLeaseClient-releaseLease",e);if(this._isContainer&&(!((a=e.conditions)===null||a===void 0)&&a.ifMatch&&((i=e.conditions)===null||i===void 0?void 0:i.ifMatch)!==gi||!((r=e.conditions)===null||r===void 0)&&r.ifNoneMatch&&((n=e.conditions)===null||n===void 0?void 0:n.ifNoneMatch)!==gi||!((s=e.conditions)===null||s===void 0)&&s.tagCon Line truncated
`):s=[e.accountName,i,r,n,t.startsOn?Ce(t.startsOn,!1):"",Ce(t.expiresOn,!1),t.ipRange?Hi(t.ipRange):"",t.protocol?t.protocol:"",a,""].join(`
`);let p=e.computeHMACSHA256(s);return new gi(a,p,i.toString(),r,n,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)}o(N_,"generateAccountSASQueryParameters");var $0=class t extends Np{static{o(this,"BlobServiceClient")}constructor(e,a,i){let r;Cr(a)?r=a:q.isNode&&a instanceof Je||a instanceof Ie||q.isTokenCredential(a)?r=Ae(a,i):r=Ae(new Ie,i),super(e,r),this.serviceContext=new Lc(this.storageClientContext)}static fromConnectionString(e,a){a=a||{};let i=Ps(e);if(i.kind==="AccountConnString")if(q.isNode){let r=new Je(i.accountName,i.accountKey);a.proxyOptions||(a.proxyOptions=q.getDefaultProxySettings(i.proxyUri));let n=Ae(r,a);return new t(i.url,n)}else throw new Error("Account connection string is only supported in Node.js environment");else if(i.kind==="SASConnString"){let r=Ae(new Ie,a);return new t(i.url+"?"+i.accountSas,r)}else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}getContainerClient(e){return new $c(Fe(this.url,encodeURIComponent(e)),this.pipeline)}async createContainer(e,a={}){let{span:i,updatedOptions:r}=j("BlobServiceClient-createContainer",a);try{let n=this.getContainerClient(e),s=await n.create(r);return{containerClient:n,containerCreateResponse:s}}catch(n){throw i.setStatus({code:z.SpanStatusCode.ERROR,message:n.message}),n}finally{i.end()}}async deleteContainer(e,a={}){let{span:i,updatedOptions:r}=j("BlobServiceClient-deleteContainer",a);try{return await this.getContainerClient(e).delete(r)}catch(n){throw i.setStatus({code:z.SpanStatusCode.ERROR,message:n.message}),n}finally{i.end()}}async undeleteContainer(e,a,i={}){let{span:r,updatedOptions:n}=j("BlobServiceClient-undeleteContainer",i);try{let s=this.getContainerClient(i.destinationContainerName||e),l=await new pn(s.storageClientContext).restore(Object.assign({deletedContainerName:e,deletedContainerVersion:a},n));return{containerClient:s,containerUndeleteResponse:l}}catch(s){throw r.setStatus({code:z.SpanStatusCode.ERROR,message:s.message}),s}finally{r.end()}}async renameContainer(e,a,i={}){var r;let{span:n,updatedOptions:s}=j("BlobServiceClient-renameContainer",i);try{let p=this.getContainerClient(a),d=await new pn(p.storageClientContext).rename(e,Object.assign(Object.assign({},s),{sourceLeaseId:(r=i.sourceCondition)===null||r===void 0?void 0:r.leaseId}));return{containerClient:p,containerRenameResponse:d}}catch(p){throw n.setStatus({code:z.SpanStatusCode.ERROR,message:p.message}),p}finally{n.end()}}async getProperties(e={}){let{span:a,updatedOptions:i}=j("BlobServiceClient-getProperties",e);try{return await this.serviceContext.getProperties(Object.assign({abortSignal:e.abortSignal},X(i)))}catch(r){throw a.setStatus({code:z.SpanStatusCode.ERROR,message:r.message}),r}finally{a.end()}}async setProperties(e,a={}){let{span:i,updatedOptions:r}=j("BlobServiceClient-setProperties",a);try{return await this.serviceContext.setProperties(e,Object.assign({abortSignal:a.abortSignal},X(r)))}catch(n){throw i.setStatus({code:z.SpanStatusCode.ERROR,message:n.message}),n}finally{i.end()}}async getStatistics(e={}){let{span:a,updatedOptions:i}=j("BlobServiceClient-getStatistics",e);try{return await this.serviceContext.getStatistics(Object.assign({abortSignal:e.abortSignal},X(i)))}catch(r){throw a.setStatus({code:z.SpanStatusCode.ERROR,message:r.message}),r}finally{a.end()}}async getAccountInfo(e={}){let{span:a,updatedOptions:i}=j("BlobServiceClient-getAccountInfo",e);try{return await this.serviceContext.getAccountInfo(Object.assign({abortSignal:e.abortSignal},X(i)))}catch(r){throw a.setStatus({code:z.SpanStatusCode.ERROR,message:r.message}),r}finally{a.end()}}async listContainersSegment(e,a={}){let{span:i,updatedOptions:r}=j("BlobServiceClient-listContainersSegment",a);try{return await this.serviceContext.listContainersSegment(Object.assign(Object.assign(Object.assign({abortSignal:a.abortSignal,marker:e},a),{include:typeof a.include=="string"?[a.include]:a.include}),X(r)))}catch(n){throw i.setStatus({code:z.SpanStatusCode.ERROR,message:n.message}),n}finally{i.end()}}async findBlobsByTagsSegment(e,a,i={}){let{span:r,updatedOptions:n}=j("BlobServiceClient-findBlobsByTagsSegment",i);try{let s=await this.serviceContext.filterBlobs(Object.assign({abortSignal:i.abortSignal,where:e,marker:a,maxPageSize:i.maxPageSize},X(n)));return Object.assign(Object.assign({},s),{_response:s._response,blobs:s.blobs.map(l=>{var d;let c="";return((d=l.tags)===null||d===void 0?void 0:d.blobTagSet.length)===1&&(c=l.tags.blobTagSet[0].value),Object.assign(Object.assign({},l),{tags:mp(l.tags),tagValue:c})})})}catch(s){throw r.setStatus({code:z.SpanStatusCode.ERROR,message:s.message}),s}finally{r.end()}}findBlobsByTagsSegments(e,a,i={}){return U.__asyncGenerator(this,arguments,o(function*(){let n;if(a||a===void 0)do n=yield U.__await(this.findBlobsByTagsSegment(e,a,i)),n.blobs=n.blobs||[],a=n.continuationToken,yield yield U.__await(n);wh Line truncated
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(a),this.code=e,this.name="NetworkError"}};ra.NetworkError=eu;eu.isNetworkErrorCode=t=>t?["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(t):!1;var tu=class extends Error{static{o(this,"UsageError")}constructor(){let e=`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`;super(e),this.name="UsageError"}};ra.UsageError=tu;tu.isUsageErrorMessage=t=>t?t.includes("insufficient usage"):!1});var __=N(na=>{"use strict";var HU=na&&na.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a);var r=Object.getOwnPropertyDescriptor(e,a);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[a]}}),Object.defineProperty(t,i,r)}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),FU=na&&na.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),VU=na&&na.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.prototype.hasOwnProperty.call(t,a)&&HU(e,t,a);return FU(e,t),e},$U=na&&na.__awaiter||function(t,e,a,i){function r(n){return n instanceof a?n:new a(function(s){s(n)})}return o(r,"adopt"),new(a||(a=Promise))(function(n,s){function p(c){try{d(i.next(c))}catch(u){s(u)}}o(p,"fulfilled");function l(c){try{d(i.throw(c))}catch(u){s(u)}}o(l,"rejected");function d(c){c.done?n(c.value):r(c.value).then(p,l)}o(d,"step"),d((i=i.apply(t,e||[])).next())})};Object.defineProperty(na,"__esModule",{value:!0});na.uploadCacheArchiveSDK=na.UploadProgress=void 0;var w2=VU(nt()),GU=h2(),WU=x2(),au=class{static{o(this,"UploadProgress")}constructor(e){this.contentLength=e,this.sentBytes=0,this.displayedComplete=!1,this.startTime=Date.now()}setSentBytes(e){this.sentBytes=e}getTransferredBytes(){return this.sentBytes}isDone(){return this.getTransferredBytes()===this.contentLength}display(){if(this.displayedComplete)return;let e=this.sentBytes,a=(100*(e/this.contentLength)).toFixed(1),i=Date.now()-this.startTime,r=(e/(1024*1024)/(i/1e3)).toFixed(1);w2.info(`Sent ${e} of ${this.contentLength} (${a}%), ${r} MBs/sec`),this.isDone()&&(this.displayedComplete=!0)}onProgress(){return e=>{this.setSentBytes(e.loadedBytes)}}startDisplayTimer(e=1e3){let a=o(()=>{this.display(),this.isDone()||(this.timeoutHandle=setTimeout(a,e))},"displayCallback");this.timeoutHandle=setTimeout(a,e)}stopDisplayTimer(){this.timeoutHandle&&(clearTimeout(this.timeoutHandle),this.timeoutHandle=void 0),this.display()}};na.UploadProgress=au;function XU(t,e,a){var i;return $U(this,void 0,void 0,function*(){let r=new GU.BlobClient(t),n=r.getBlockBlobClient(),s=new au((i=a?.archiveSizeBytes)!==null&&i!==void 0?i:0),p={blockSize:a?.uploadChunkSize,concurrency:a?.uploadConcurrency,maxSingleShotSize:128*1024*1024,onProgress:s.onProgress()};try{s.startDisplayTimer(),w2.debug(`BlobClient: ${r.name}:${r.accountName}:${r.containerName}`);let l=yield n.uploadFile(e,p);if(l._response.status>=400)throw new WU.InvalidResponseError(`uploadCacheArchiveSDK: upload failed with status code ${l._response.status}`);return l}catch(l){throw w2.warning(`uploadCacheArchiveSDK: internal error uploading cache archive: ${l.message}`),l}finally{s.stopDisplayTimer()}})}o(XU,"uploadCacheArchiveSDK");na.uploadCacheArchiveSDK=XU});var _2=N(Ze=>{"use strict";var KU=Ze&&Ze.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a);var r=Object.getOwnPropertyDescriptor(e,a);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[a]}}),Object.defineProperty(t,i,r)}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),YU=Ze&&Ze.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),QU=Ze&&Ze.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.prototype.hasOwnProperty.call(t,a)&&KU(e,t,a);return YU(e,t),e},ru=Ze&&Ze.__awaiter||function(t,e,a,i){function r(n){return n instanceof a?n:new a(function(s){s(n)})}return o(r,"adopt"),new(a||(a=Promise))(function(n,s){function p(c){try{d(i.next(c))}catch(u){s(u)}}o(p,"fulfilled");function l(c){try{d(i.throw(c))}catch(u){s(u)}}o(l,"rejected");function d(c){c.done?n(c.value):r(c.value).then(p,l)}o(d,"step"),d((i=i.apply(t,e||[])).next())})};Object.defineProperty(Ze,"__esModule",{value:!0});Ze.retryHttpClientResponse=Ze.retryTypedResponse=Ze.retry=Ze.isRetryableStatusCode=Ze.isServerErrorStatusCode=Ze.isSuccessStatusCode=void 0;var S_=QU(nt()),iu=qr(),As=qn();function JU(t){return t?t>=200&&t<300:!1}o(JU,"isSuccessStatusCode");Ze.isSuccessStatusCode=JU;function E_(t){return t?t>=500:!0}o(E_,"isServerErrorStatusCode");Ze.isServerErrorStatusCode=E_;function C_(t){return t?[iu.HttpCodes.BadGateway,iu.HttpCodes.ServiceUnavailable,iu.HttpCodes.GatewayTimeout].includes(t):!1}o(C_,"isRetryableStatusCode");Ze.isRetryableStatusCode=C_;function ZU(t){return ru(this,void 0,void 0,function*(){return new Promise(e=>setTimeout(e,t))})}o(ZU,"sleep");function N2(t,e,a,i=As.DefaultRetryAttempts,r=As.DefaultRetryDelay,n= Line truncated
Other caches with similar key:`);for(let p of n?.artifactCaches||[])ga.debug(`Cache Key: ${p?.cacheKey}, Cache Version: ${p?.cacheVersion}, Cache Scope: ${p?.scope}, Cache Created: ${p?.creationTime}`)}}})}o(MH,"printCachesListForDiagnostics");function LH(t,e,a){return sa(this,void 0,void 0,function*(){let i=new OH.URL(t),r=(0,O2.getDownloadOptions)(a);i.hostname.endsWith(".blob.core.windows.net")?r.useAzureSdk?yield(0,ou.downloadCacheStorageSDK)(t,e,r):r.concurrentBlobDownloads?yield(0,ou.downloadCacheHttpClientConcurrent)(t,e,r):yield(0,ou.downloadCacheHttpClient)(t,e):yield(0,ou.downloadCacheHttpClient)(t,e)})}o(LH,"downloadCache");Rt.downloadCache=LH;function qH(t,e,a){return sa(this,void 0,void 0,function*(){let i=R2(),r=Ms.getCacheVersion(e,a?.compressionMethod,a?.enableCrossOsArchive),n={key:t,version:r,cacheSize:a?.cacheSize};return yield(0,Or.retryTypedResponse)("reserveCache",()=>sa(this,void 0,void 0,function*(){return i.postJson(Lp("caches"),n)}))})}o(qH,"reserveCache");Rt.reserveCache=qH;function L_(t,e){return`bytes ${t}-${e}/*`}o(L_,"getContentRange");function zH(t,e,a,i,r){return sa(this,void 0,void 0,function*(){ga.debug(`Uploading chunk of size ${r-i+1} bytes at offset ${i} with content range: ${L_(i,r)}`);let n={"Content-Type":"application/octet-stream","Content-Range":L_(i,r)},s=yield(0,Or.retryHttpClientResponse)(`uploadChunk (start: ${i}, end: ${r})`,()=>sa(this,void 0,void 0,function*(){return t.sendStream("PATCH",e,a(),n)}));if(!(0,Or.isSuccessStatusCode)(s.message.statusCode))throw new Error(`Cache service responded with ${s.message.statusCode} during upload chunk.`)})}o(zH,"uploadChunk");function jH(t,e,a,i){return sa(this,void 0,void 0,function*(){let r=Ms.getArchiveFileSizeInBytes(a),n=Lp(`caches/${e.toString()}`),s=C2.openSync(a,"r"),p=(0,O2.getUploadOptions)(i),l=Ms.assertDefined("uploadConcurrency",p.uploadConcurrency),d=Ms.assertDefined("uploadChunkSize",p.uploadChunkSize),c=[...new Array(l).keys()];ga.debug("Awaiting all uploads");let u=0;try{yield Promise.all(c.map(()=>sa(this,void 0,void 0,function*(){for(;u<r;){let m=Math.min(r-u,d),f=u,h=u+m-1;u+=d,yield zH(t,n,()=>C2.createReadStream(a,{fd:s,start:f,end:h,autoClose:!1}).on("error",b=>{throw new Error(`Cache upload failed because file read failed with ${b.message}`)}),f,h)}})))}finally{C2.closeSync(s)}})}o(jH,"uploadFile");function kH(t,e,a){return sa(this,void 0,void 0,function*(){let i={size:a};return yield(0,Or.retryTypedResponse)("commitCache",()=>sa(this,void 0,void 0,function*(){return t.postJson(Lp(`caches/${e.toString()}`),i)}))})}o(kH,"commitCache");function UH(t,e,a,i){return sa(this,void 0,void 0,function*(){if((0,O2.getUploadOptions)(i).useAzureSdk){if(!a)throw new Error("Azure Storage SDK can only be used when a signed URL is provided.");yield(0,RH.uploadCacheArchiveSDK)(a,e,i)}else{let n=R2();ga.debug("Upload cache"),yield jH(n,t,e,i),ga.debug("Commiting cache");let s=Ms.getArchiveFileSizeInBytes(e);ga.info(`Cache Size: ~${Math.round(s/(1024*1024))} MB (${s} B)`);let p=yield kH(n,t,s);if(!(0,Or.isSuccessStatusCode)(p.statusCode))throw new Error(`Cache service responded with ${p.statusCode} during commit cache.`);ga.info("Cache saved successfully")}})}o(UH,"saveCache");Rt.saveCache=UH});var pu=N(Ls=>{"use strict";Object.defineProperty(Ls,"__esModule",{value:!0});Ls.isJsonObject=Ls.typeofJsonValue=void 0;function HH(t){let e=typeof t;if(e=="object"){if(Array.isArray(t))return"array";if(t===null)return"null"}return e}o(HH,"typeofJsonValue");Ls.typeofJsonValue=HH;function FH(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}o(FH,"isJsonObject");Ls.isJsonObject=FH});var du=N(qs=>{"use strict";Object.defineProperty(qs,"__esModule",{value:!0});qs.base64encode=qs.base64decode=void 0;var Gi="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),lu=[];for(let t=0;t<Gi.length;t++)lu[Gi[t].charCodeAt(0)]=t;lu["-".charCodeAt(0)]=Gi.indexOf("+");lu["_".charCodeAt(0)]=Gi.indexOf("/");function VH(t){let e=t.length*3/4;t[t.length-2]=="="?e-=2:t[t.length-1]=="="&&(e-=1);let a=new Uint8Array(e),i=0,r=0,n,s=0;for(let p=0;p<t.length;p++){if(n=lu[t.charCodeAt(p)],n===void 0)switch(t[p]){case"=":r=0;case`
`:case"\r":case" ":case" ":continue;default:throw Error("invalid base64 string.")}switch(r){case 0:s=n,r=1;break;case 1:a[i++]=s<<2|(n&48)>>4,s=n,r=2;break;case 2:a[i++]=(s&15)<<4|(n&60)>>2,s=n,r=3;break;case 3:a[i++]=(s&3)<<6|n,r=0;break}}if(r==1)throw Error("invalid base64 string.");return a.subarray(0,i)}o(VH,"base64decode");qs.base64decode=VH;function $H(t){let e="",a=0,i,r=0;for(let n=0;n<t.length;n++)switch(i=t[n],a){case 0:e+=Gi[i>>2],r=(i&3)<<4,a=1;break;case 1:e+=Gi[r|i>>4],r=(i&15)<<2,a=2;break;case 2:e+=Gi[r|i>>6],e+=Gi[i&63],a=0;break}return a&&(e+=Gi[r],e+="=",a==1&&(e+="=")),e}o($H,"base64encode");qs.base64encode=$H});var z_=N(cu=>{"use strict";Object.defineProperty(cu,"__esModule",{value:!0});cu.utf8read=void 0;var P2=o(t=>String.fromCharCode.apply(String,t),"fromCharCodes");function GH(t){if(t.length<1)return"";let e=0,a=[],i=[],r=0,n,s=t.length;for(;e<s;)n=t[e++],n<128?i[r++]=n:n>191&&n<224?i[r++]=(n&31)<<6|t[e++]&63:n>239&&n<365?(n=((n&7)<<18|(t[e++]&63)<<12|(t[e++]&63)<<6|t[e++]&63)-65536,i[r++]=55296+(n>>10),i[r++]=56320+(n&1023)):i[r++]=(n&15)<<12|(t[e++]&63)<<6|t[e++]&63,r>8191&&(a.push(P2(i)),r=0);return a.length?(r&&a.push(P2(i.slice(0,r))),a.join("")):P2(i.slice(0,r))}o(GH,"utf8read");cu.utf8read=GH});var qp=N(vi=>{"use strict";Object.defineProperty(vi,"__esModule",{value:!0});vi.WireType=vi.mergeBinaryOptions=vi.UnknownFieldHandler=void 0;var WH;(function(t){t.symbol=Symbol.for("protobuf-ts/unknown"),t.onRead=(a,i,r,n,s)=>{(e(i)?i[t.symbol]:i[t.symbol]=[]).push({no:r,wireType:n,data:s})},t.onWrite=(a,i,r)=>{for(let{no:n,wireType:s,data:p}of t.list(i))r.tag(n,s).raw(p)},t.list=(a,i)=>{if(e(a)){let r=a[t.symbol];return i?r.filter(n=>n.no==i):r}return[]},t.last=(a,i)=>t.list(a,i).slice(-1)[0];let e=o(a=>a&&Array.isArray(a[t.symbol]),"is")})(WH=vi.UnknownFieldHandler||(vi.UnknownFieldHandler={}));function XH(t,e){return Object.assign(Object.assign({},t),e)}o(XH,"mergeBinaryOptions");vi.mergeBinaryOptions=XH;var KH;(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"})(KH=vi.WireType||(vi.WireType={}))});var mu=N(oa=>{"use strict";Object.defineProperty(oa,"__esModule",{value:!0});oa.varint32read=oa.varint32write=oa.int64toString=oa.int64fromString=oa.varint64write=oa.varint64read=void 0;function YH(){let t=0,e=0;for(let i=0;i<28;i+=7){let r=this.buf[this.pos++];if(t|=(r&127)<<i,!(r&128))return this.assertBounds(),[t,e]}let a=this.buf[this.pos++];if(t|=(a&15)<<28,e=(a&112)>>4,!(a&128))return this.assertBounds(),[t,e];for(let i=3;i<=31;i+=7){let r=this.buf[this.pos++];if(e|=(r&127)<<i,!(r&128))return this.assertBounds(),[t,e]}throw new Error("invalid varint")}o(YH,"varint64read");oa.varint64read=YH;function QH(t,e,a){for(let n=0;n<28;n=n+7){let s=t>>>n,p=!(!(s>>>7)&&e==0),l=(p?s|128:s)&255;if(a.push(l),!p)return}let i=t>>>28&15|(e&7)<<4,r=!!(e>>3);if(a.push((r?i|128:i)&255),!!r){for(let n=3;n<31;n=n+7){let s=e>>>n,p=!!(s>>>7),l=(p?s|128:s)&255;if(a.push(l),!p)return}a.push(e>>>31&1)}}o(QH,"varint64write");oa.varint64write=QH;var uu=65536*65536;function JH(t){let e=t[0]=="-";e&&(t=t.slice(1));let a=1e6,i=0,r=0;function n(s,p){let l=Number(t.slice(s,p));r*=a,i=i*a+l,i>=uu&&(r=r+(i/uu|0),i=i%uu)}return o(n,"add1e6digit"),n(-24,-18),n(-18,-12),n(-12,-6),n(-6),[e,i,r]}o(JH,"int64fromString");oa.int64fromString=JH;function ZH(t,e){if(e>>>0<=2097151)return""+(uu*e+(t>>>0));let a=t&16777215,i=(t>>>24|e<<8)>>>0&16777215,r=e>>16&65535,n=a+i*6777216+r*6710656,s=i+r*8147497,p=r*2,l=1e7;n>=l&&(s+=Math.floor(n/l),n%=l),s>=l&&(p+=Math.floor(s/l),s%=l);function d(c,u){let m=c?String(c):"";return u?"0000000".slice(m.length)+m:m}return o(d,"decimalFrom1e7"),d(p,0)+d(s,p)+d(n,1)}o(ZH,"int64toString");oa.int64toString=ZH;function eF(t,e){if(t>=0){for(;t>127;)e.push(t&127|128),t=t>>>7;e.push(t)}else{for(let a=0;a<9;a++)e.push(t&127|128),t=t>>7;e.push(1)}}o(eF,"varint32write");oa.varint32write=eF;function tF(){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 a=5;t&128&&a<10;a++)t=this.buf[this.pos++];if(t&128)throw new Error("invalid varint");return this.assertBounds(),e>>>0}o(tF,"varint32read");oa.varint32read=tF});var Pr=N(Rr=>{"use strict";Object.defineProperty(Rr,"__esModule",{value:!0});Rr.PbLong=Rr.PbULong=Rr.detectBi=void 0;var zp=mu(),Be;function j_(){let t=new DataView(new ArrayBuffer(8));Be=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: Line truncated
`)}};ku.RpcError=i6});var n6=N(Hu=>{"use strict";Object.defineProperty(Hu,"__esModule",{value:!0});Hu.mergeRpcOptions=void 0;var gS=lt();function _V(t,e){if(!e)return t;let a={};Uu(t,a),Uu(e,a);for(let i of Object.keys(e)){let r=e[i];switch(i){case"jsonOptions":a.jsonOptions=gS.mergeJsonOptions(t.jsonOptions,a.jsonOptions);break;case"binaryOptions":a.binaryOptions=gS.mergeBinaryOptions(t.binaryOptions,a.binaryOptions);break;case"meta":a.meta={},Uu(t.meta,a.meta),Uu(e.meta,a.meta);break;case"interceptors":a.interceptors=t.interceptors?t.interceptors.concat(r):r.concat();break}}return a}o(_V,"mergeRpcOptions");Hu.mergeRpcOptions=_V;function Uu(t,e){if(!t)return;let a=e;for(let[i,r]of Object.entries(t))r instanceof Date?a[i]=new Date(r.getTime()):Array.isArray(r)?a[i]=r.concat():a[i]=r}o(Uu,"copy")});var o6=N(yn=>{"use strict";Object.defineProperty(yn,"__esModule",{value:!0});yn.Deferred=yn.DeferredState=void 0;var wi;(function(t){t[t.PENDING=0]="PENDING",t[t.REJECTED=1]="REJECTED",t[t.RESOLVED=2]="RESOLVED"})(wi=yn.DeferredState||(yn.DeferredState={}));var s6=class{static{o(this,"Deferred")}constructor(e=!0){this._state=wi.PENDING,this._promise=new Promise((a,i)=>{this._resolve=a,this._reject=i}),e&&this._promise.catch(a=>{})}get state(){return this._state}get promise(){return this._promise}resolve(e){if(this.state!==wi.PENDING)throw new Error(`cannot resolve ${wi[this.state].toLowerCase()}`);this._resolve(e),this._state=wi.RESOLVED}reject(e){if(this.state!==wi.PENDING)throw new Error(`cannot reject ${wi[this.state].toLowerCase()}`);this._reject(e),this._state=wi.REJECTED}resolvePending(e){this._state===wi.PENDING&&this.resolve(e)}rejectPending(e){this._state===wi.PENDING&&this.reject(e)}};yn.Deferred=s6});var l6=N(Fu=>{"use strict";Object.defineProperty(Fu,"__esModule",{value:!0});Fu.RpcOutputStreamController=void 0;var yS=o6(),vn=lt(),p6=class{static{o(this,"RpcOutputStreamController")}constructor(){this._lis={nxt:[],msg:[],err:[],cmp:[]},this._closed=!1}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,a){return a.push(e),()=>{let i=a.indexOf(e);i>=0&&a.splice(i,1)}}clearLis(){for(let e of Object.values(this._lis))e.splice(0,e.length)}get closed(){return this._closed!==!1}notifyNext(e,a,i){vn.assert((e?1:0)+(a?1:0)+(i?1:0)<=1,"only one emission at a time"),e&&this.notifyMessage(e),a&&this.notifyError(a),i&&this.notifyComplete()}notifyMessage(e){vn.assert(!this.closed,"stream is closed"),this.pushIt({value:e,done:!1}),this._lis.msg.forEach(a=>a(e)),this._lis.nxt.forEach(a=>a(e,void 0,!1))}notifyError(e){vn.assert(!this.closed,"stream is closed"),this._closed=e,this.pushIt(e),this._lis.err.forEach(a=>a(e)),this._lis.nxt.forEach(a=>a(void 0,e,!1)),this.clearLis()}notifyComplete(){vn.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._itState||(this._itState={q:[]}),this._closed===!0?this.pushIt({value:null,done:!0}):this._closed!==!1&&this.pushIt(this._closed),{next:()=>{let e=this._itState;vn.assert(e,"bad state"),vn.assert(!e.p,"iterator contract broken");let a=e.q.shift();return a?"value"in a?Promise.resolve(a):Promise.reject(a):(e.p=new yS.Deferred,e.p.promise)}}}pushIt(e){let a=this._itState;if(a)if(a.p){let i=a.p;vn.assert(i.state==yS.DeferredState.PENDING,"iterator contract broken"),"value"in e?i.resolve(e):i.reject(e),delete a.p}else a.q.push(e)}};Fu.RpcOutputStreamController=p6});var c6=N(Vs=>{"use strict";var SV=Vs&&Vs.__awaiter||function(t,e,a,i){function r(n){return n instanceof a?n:new a(function(s){s(n)})}return o(r,"adopt"),new(a||(a=Promise))(function(n,s){function p(c){try{d(i.next(c))}catch(u){s(u)}}o(p,"fulfilled");function l(c){try{d(i.throw(c))}catch(u){s(u)}}o(l,"rejected");function d(c){c.done?n(c.value):r(c.value).then(p,l)}o(d,"step"),d((i=i.apply(t,e||[])).next())})};Object.defineProperty(Vs,"__esModule",{value:!0});Vs.UnaryCall=void 0;var d6=class{static{o(this,"UnaryCall")}constructor(e,a,i,r,n,s,p){this.method=e,this.requestHeaders=a,this.request=i,this.headers=r,this.response=n,this.status=s,this.trailers=p}then(e,a){return this.promiseFinished().then(i=>e?Promise.resolve(e(i)):i,i=>a?Promise.resolve(a(i)):Promise.reject(i))}promiseFinished(){return SV(this,void 0,void 0,function*(){let[e,a,i,r]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:e,response:a,status:i,trailers:r}})}};Vs.UnaryCall=d6});var m6=N($s=>{"use strict";var EV=$s&&$s.__awaiter||function(t,e,a,i){function r(n){return n instanceof a?n:new a(function(s){s(n)})}return o(r,"adopt"),new(a||(a=Promise))(function(n,s){function p(c){try{d(i.next(c))}catch(u){s(u)}}o(p,"fulfilled");function Line truncated
`));let i=yield M6(a,"create");yield L6(i,t)})}o(b$,"createTar");Ut.createTar=b$});var jS=N(dt=>{"use strict";var x$=dt&&dt.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a);var r=Object.getOwnPropertyDescriptor(e,a);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[a]}}),Object.defineProperty(t,i,r)}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),w$=dt&&dt.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),Jp=dt&&dt.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.prototype.hasOwnProperty.call(t,a)&&x$(e,t,a);return w$(e,t),e},so=dt&&dt.__awaiter||function(t,e,a,i){function r(n){return n instanceof a?n:new a(function(s){s(n)})}return o(r,"adopt"),new(a||(a=Promise))(function(n,s){function p(c){try{d(i.next(c))}catch(u){s(u)}}o(p,"fulfilled");function l(c){try{d(i.throw(c))}catch(u){s(u)}}o(l,"rejected");function d(c){c.done?n(c.value):r(c.value).then(p,l)}o(d,"step"),d((i=i.apply(t,e||[])).next())})};Object.defineProperty(dt,"__esModule",{value:!0});dt.saveCache=dt.restoreCache=dt.isFeatureAvailable=dt.ReserveCacheError=dt.ValidationError=void 0;var re=Jp(nt()),Qu=Jp(require("path")),Ue=Jp(jn()),no=Jp(q_()),qS=Jp(AS()),Ju=nu(),Ar=LS(),N$=qn(),qa=class t extends Error{static{o(this,"ValidationError")}constructor(e){super(e),this.name="ValidationError",Object.setPrototypeOf(this,t.prototype)}};dt.ValidationError=qa;var bn=class t extends Error{static{o(this,"ReserveCacheError")}constructor(e){super(e),this.name="ReserveCacheError",Object.setPrototypeOf(this,t.prototype)}};dt.ReserveCacheError=bn;function zS(t){if(!t||t.length===0)throw new qa("Path Validation Error: At least one directory or file path is required")}o(zS,"checkPaths");function q6(t){if(t.length>512)throw new qa(`Key Validation Error: ${t} cannot be larger than 512 characters.`);if(!/^[^,]*$/.test(t))throw new qa(`Key Validation Error: ${t} cannot contain commas.`)}o(q6,"checkKey");function _$(){return!!process.env.ACTIONS_CACHE_URL}o(_$,"isFeatureAvailable");dt.isFeatureAvailable=_$;function S$(t,e,a,i,r=!1){return so(this,void 0,void 0,function*(){let n=(0,Ju.getCacheServiceVersion)();switch(re.debug(`Cache service version: ${n}`),zS(t),n){case"v2":return yield C$(t,e,a,i,r);case"v1":default:return yield E$(t,e,a,i,r)}})}o(S$,"restoreCache");dt.restoreCache=S$;function E$(t,e,a,i,r=!1){return so(this,void 0,void 0,function*(){a=a||[];let n=[e,...a];if(re.debug("Resolved Keys:"),re.debug(JSON.stringify(n)),n.length>10)throw new qa("Key Validation Error: Keys are limited to a maximum of 10.");for(let l of n)q6(l);let s=yield Ue.getCompressionMethod(),p="";try{let l=yield no.getCacheEntry(n,t,{compressionMethod:s,enableCrossOsArchive:r});if(!l?.archiveLocation)return;if(i?.lookupOnly)return re.info("Lookup only - skipping download"),l.cacheKey;p=Qu.join(yield Ue.createTempDirectory(),Ue.getCacheFileName(s)),re.debug(`Archive Path: ${p}`),yield no.downloadCache(l.archiveLocation,p,i),re.isDebug()&&(yield(0,Ar.listTar)(p,s));let d=Ue.getArchiveFileSizeInBytes(p);return re.info(`Cache Size: ~${Math.round(d/(1024*1024))} MB (${d} B)`),yield(0,Ar.extractTar)(p,s),re.info("Cache restored successfully"),l.cacheKey}catch(l){if(l.name===qa.name)throw l;re.warning(`Failed to restore: ${l.message}`)}finally{try{yield Ue.unlinkFile(p)}catch(l){re.debug(`Failed to delete archive: ${l}`)}}})}o(E$,"restoreCacheV1");function C$(t,e,a,i,r=!1){return so(this,void 0,void 0,function*(){i=Object.assign(Object.assign({},i),{useAzureSdk:!0}),a=a||[];let n=[e,...a];if(re.debug("Resolved Keys:"),re.debug(JSON.stringify(n)),n.length>10)throw new qa("Key Validation Error: Keys are limited to a maximum of 10.");for(let p of n)q6(p);let s="";try{let p=qS.internalCacheTwirpClient(),l=yield Ue.getCompressionMethod(),d={key:e,restoreKeys:a,version:Ue.getCacheVersion(t,l,r)},c=yield p.GetCacheEntryDownloadURL(d);if(!c.ok){re.debug(`Cache not found for version ${d.version} of keys: ${n.join(", ")}`);return}if(re.info(`Cache hit for: ${d.key}`),i?.lookupOnly)return re.info("Lookup only - skipping download"),c.matchedKey;s=Qu.join(yield Ue.createTempDirectory(),Ue.getCacheFileName(l)),re.debug(`Archive path: ${s}`),re.debug(`Starting download of archive to: ${s}`),yield no.downloadCache(c.signedDownloadUrl,s,i);let u=Ue.getArchiveFileSizeInBytes(s);return re.info(`Cache Size: ~${Math.round(u/(1024*1024))} MB (${u} B)`),re.isDebug()&&(yield(0,Ar.listTar)(s,l)),yield(0,Ar.extractTar)(s,l),re.info("Cache restored successfully"),c.matchedKey}catch(p){if(p.name===qa.name)throw p;re.warning(`Failed to restore: ${p.message}`)}finally{try{s&&(yield Ue.unlinkFile(s))}catch(p){re.debug(`Failed to delete archive: ${p}`)}}})}o(C$,"restoreCacheV2");function T$(t,e,a,i=!1){return so(this,void 0,void 0,function*(){let r=(0,Ju.getCacheServiceVersion)();switch(re.debug(`Cache servLine truncated
`);for(let r of i){let n=r.split("=");if(n.length===2&&(n[0].trim()==="VERSION_ID"||n[0].trim()==="DISTRIB_RELEASE")){e=n[1].trim().replace(/^"/,"").replace(/"$/,"");break}}}}return e}o(L$,"_getOsVersion");Ht._getOsVersion=L$;function q$(){let t="/etc/lsb-release",e="/etc/os-release",a="";return Zu.existsSync(t)?a=Zu.readFileSync(t).toString():Zu.existsSync(e)&&(a=Zu.readFileSync(e).toString()),a}o(q$,"_readLinuxVersionFile");Ht._readLinuxVersionFile=q$});var VS=N((xte,FS)=>{var z$=require("crypto");FS.exports=o(function(){return z$.randomBytes(16)},"nodeRNG")});var WS=N((Nte,GS)=>{var $S=[];for(Zp=0;Zp<256;++Zp)$S[Zp]=(Zp+256).toString(16).substr(1);var Zp;function j$(t,e){var a=e||0,i=$S;return[i[t[a++]],i[t[a++]],i[t[a++]],i[t[a++]],"-",i[t[a++]],i[t[a++]],"-",i[t[a++]],i[t[a++]],"-",i[t[a++]],i[t[a++]],"-",i[t[a++]],i[t[a++]],i[t[a++]],i[t[a++]],i[t[a++]],i[t[a++]]].join("")}o(j$,"bytesToUuid");GS.exports=j$});var KS=N((Ste,XS)=>{var k$=VS(),U$=WS();function H$(t,e,a){var i=e&&a||0;typeof t=="string"&&(e=t==="binary"?new Array(16):null,t=null),t=t||{};var r=t.random||(t.rng||k$)();if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,e)for(var n=0;n<16;++n)e[i+n]=r[n];return e||U$(r)}o(H$,"v4");XS.exports=H$});var JS=N(za=>{"use strict";var F$=za&&za.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[a]}})}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),V$=za&&za.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),$$=za&&za.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.hasOwnProperty.call(t,a)&&F$(e,t,a);return V$(e,t),e},YS=za&&za.__awaiter||function(t,e,a,i){function r(n){return n instanceof a?n:new a(function(s){s(n)})}return o(r,"adopt"),new(a||(a=Promise))(function(n,s){function p(c){try{d(i.next(c))}catch(u){s(u)}}o(p,"fulfilled");function l(c){try{d(i.throw(c))}catch(u){s(u)}}o(l,"rejected");function d(c){c.done?n(c.value):r(c.value).then(p,l)}o(d,"step"),d((i=i.apply(t,e||[])).next())})};Object.defineProperty(za,"__esModule",{value:!0});za.RetryHelper=void 0;var QS=$$(nt()),k6=class{static{o(this,"RetryHelper")}constructor(e,a,i){if(e<1)throw new Error("max attempts should be greater than or equal to 1");if(this.maxAttempts=e,this.minSeconds=Math.floor(a),this.maxSeconds=Math.floor(i),this.minSeconds>this.maxSeconds)throw new Error("min seconds should be less than or equal to max seconds")}execute(e,a){return YS(this,void 0,void 0,function*(){let i=1;for(;i<this.maxAttempts;){try{return yield e()}catch(n){if(a&&!a(n))throw n;QS.info(n.message)}let r=this.getSleepAmount();QS.info(`Waiting ${r} seconds before trying again`),yield this.sleep(r),i++}return yield e()})}getSleepAmount(){return Math.floor(Math.random()*(this.maxSeconds-this.minSeconds+1))+this.minSeconds}sleep(e){return YS(this,void 0,void 0,function*(){return new Promise(a=>setTimeout(a,e*1e3))})}};za.RetryHelper=k6});var sE=N(oe=>{"use strict";var G$=oe&&oe.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[a]}})}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),W$=oe&&oe.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),Ni=oe&&oe.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.hasOwnProperty.call(t,a)&&G$(e,t,a);return W$(e,t),e},Gt=oe&&oe.__awaiter||function(t,e,a,i){function r(n){return n instanceof a?n:new a(function(s){s(n)})}return o(r,"adopt"),new(a||(a=Promise))(function(n,s){function p(c){try{d(i.next(c))}catch(u){s(u)}}o(p,"fulfilled");function l(c){try{d(i.throw(c))}catch(u){s(u)}}o(l,"rejected");function d(c){c.done?n(c.value):r(c.value).then(p,l)}o(d,"step"),d((i=i.apply(t,e||[])).next())})},X$=oe&&oe.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(oe,"__esModule",{value:!0});oe.evaluateVersions=oe.isExplicitVersion=oe.findFromManifest=oe.getManifestFromRepo=oe.findAllVersions=oe.find=oe.cacheFile=oe.cacheDir=oe.extractZip=oe.extractXar=oe.extractTar=oe.extract7z=oe.downloadTool=oe.HTTPError=void 0;var we=Ni(nt()),va=Ni(yo()),ja=Ni(require("fs")),K$=Ni(HS()),tl=Ni(require("os")),ti=Ni(require("path")),ZS=Ni(qr()),Ki=Ni(Il()),Y$=Ni(require("stream")),Q$=Ni(require("util")),oo=require("assert"),eE=X$(KS()),Br=In(),J$=JS(),el=class extends Error{static{o(this,"HTTPError")}constructor(e){super(`Unexpected HTTP response: ${e}`),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype)}};oe.HTTPError=el;var H6=process.platform==="win32",Z$=process.platform==="darwin",eG="actions/tool-cache";function tG(t,e,a,i){return Gt(this,void 0,void 0,function*(){e=e||ti.join(nE(),eE.default()),yield va.mkdirP(ti.dirname(e)),we.debug(`Downloading Line truncated
`,[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(i){let r=this.ctx,n=i.key.pop();for(let s of i.key){if(hasKey(r,s)&&(!isTable(r[s])||r[s][_declared]))throw this.error(new TomlError("Can' Line truncated
`);let p=e.computeHMACSHA256(s);return new yi(a,p,i.toString(),r,n,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)}o(__,"generateAccountSASQueryParameters");var G0=class t extends Np{static{o(this,"BlobServiceClient")}constructor(e,a,i){let r;Tr(a)?r=a:q.isNode&&a instanceof Je||a instanceof Ie||q.isTokenCredential(a)?r=Ae(a,i):r=Ae(new Ie,i),super(e,r),this.serviceContext=new Lc(this.storageClientContext)}static fromConnectionString(e,a){a=a||{};let i=Rs(e);if(i.kind==="AccountConnString")if(q.isNode){let r=new Je(i.accountName,i.accountKey);a.proxyOptions||(a.proxyOptions=q.getDefaultProxySettings(i.proxyUri));let n=Ae(r,a);return new t(i.url,n)}else throw new Error("Account connection string is only supported in Node.js environment");else if(i.kind==="SASConnString"){let r=Ae(new Ie,a);return new t(i.url+"?"+i.accountSas,r)}else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}getContainerClient(e){return new $c(Fe(this.url,encodeURIComponent(e)),this.pipeline)}async createContainer(e,a={}){let{span:i,updatedOptions:r}=j("BlobServiceClient-createContainer",a);try{let n=this.getContainerClient(e),s=await n.create(r);return{containerClient:n,containerCreateResponse:s}}catch(n){throw i.setStatus({code:z.SpanStatusCode.ERROR,message:n.message}),n}finally{i.end()}}async deleteContainer(e,a={}){let{span:i,updatedOptions:r}=j("BlobServiceClient-deleteContainer",a);try{return await this.getContainerClient(e).delete(r)}catch(n){throw i.setStatus({code:z.SpanStatusCode.ERROR,message:n.message}),n}finally{i.end()}}async undeleteContainer(e,a,i={}){let{span:r,updatedOptions:n}=j("BlobServiceClient-undeleteContainer",i);try{let s=this.getContainerClient(i.destinationContainerName||e),l=await new pn(s.storageClientContext).restore(Object.assign({deletedContainerName:e,deletedContainerVersion:a},n));return{containerClient:s,containerUndeleteResponse:l}}catch(s){throw r.setStatus({code:z.SpanStatusCode.ERROR,message:s.message}),s}finally{r.end()}}async renameContainer(e,a,i={}){var r;let{span:n,updatedOptions:s}=j("BlobServiceClient-renameContainer",i);try{let p=this.getContainerClient(a),d=await new pn(p.storageClientContext).rename(e,Object.assign(Object.assign({},s),{sourceLeaseId:(r=i.sourceCondition)===null||r===void 0?void 0:r.leaseId}));return{containerClient:p,containerRenameResponse:d}}catch(p){throw n.setStatus({code:z.SpanStatusCode.ERROR,message:p.message}),p}finally{n.end()}}async getProperties(e={}){let{span:a,updatedOptions:i}=j("BlobServiceClient-getProperties",e);try{return await this.serviceContext.getProperties(Object.assign({abortSignal:e.abortSignal},X(i)))}catch(r){throw a.setStatus({code:z.SpanStatusCode.ERROR,message:r.message}),r}finally{a.end()}}async setProperties(e,a={}){let{span:i,updatedOptions:r}=j("BlobServiceClient-setProperties",a);try{return await this.serviceContext.setProperties(e,Object.assign({abortSignal:a.abortSignal},X(r)))}catch(n){throw i.setStatus({code:z.SpanStatusCode.ERROR,message:n.message}),n}finally{i.end()}}async getStatistics(e={}){let{span:a,updatedOptions:i}=j("BlobServiceClient-getStatistics",e);try{return await this.serviceContext.getStatistics(Object.assign({abortSignal:e.abortSignal},X(i)))}catch(r){throw a.setStatus({code:z.SpanStatusCode.ERROR,message:r.message}),r}finally{a.end()}}async getAccountInfo(e={}){let{span:a,updatedOptions:i}=j("BlobServiceClient-getAccountInfo",e);try{return await this.serviceContext.getAccountInfo(Object.assign({abortSignal:e.abortSignal},X(i)))}catch(r){throw a.setStatus({code:z.SpanStatusCode.ERROR,message:r.message}),r}finally{a.end()}}async listContainersSegment(e,a={}){let{span:i,updatedOptions:r}=j("BlobServiceClient-listContainersSegment",a);try{return await this.serviceContext.listContainersSegment(Object.assign(Object.assign(Object.assign({abortSignal:a.abortSignal,marker:e},a),{include:typeof a.include=="string"?[a.include]:a.include}),X(r)))}catch(n){throw i.setStatus({code:z.SpanStatusCode.ERROR,message:n.message}),n}finally{i.end()}}async findBlobsByTagsSegment(e,a,i={}){let{span:r,updatedOptions:n}=j("BlobServiceClient-findBlobsByTagsSegment",i);try{let s=await this.serviceContext.filterBlobs(Object.assign({abortSignal:i.abortSignal,where:e,marker:a,maxPageSize:i.maxPageSize},X(n)));return Object.assign(Object.assign({},s),{_response:s._response,blobs:s.blobs.map(l=>{var d;let c="";return((d=l.tags)===null||d===void 0?void 0:d.blobTagSet.length)===1&&(c=l.tags.blobTagSet[0].value),Object.assign(Object.assign({},l),{tags:mp(l.tags),tagValue:c})})})}catch(s){throw r.setStatus({code:z.SpanStatusCode.ERROR,message:s.message}),s}finally{r.end()}}findBlobsByTagsSegments(e,a,i={}){return U.__asyncGenerator(this,arguments,o(function*(){let n;if(a||a===void 0)do n=yield U.__await(this.findBlobsByTagsSegment(e,a,i)),n.blobs=n.blobs||[],a=n.continuationToken,yield yield U.__await(n);wh Line truncated
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(a),this.code=e,this.name="NetworkError"}};ra.NetworkError=eu;eu.isNetworkErrorCode=t=>t?["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(t):!1;var tu=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"}};ra.UsageError=tu;tu.isUsageErrorMessage=t=>t?t.includes("insufficient usage"):!1});var S_=N(na=>{"use strict";var qU=na&&na.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a);var r=Object.getOwnPropertyDescriptor(e,a);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[a]}}),Object.defineProperty(t,i,r)}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),zU=na&&na.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),jU=na&&na.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.prototype.hasOwnProperty.call(t,a)&&qU(e,t,a);return zU(e,t),e},kU=na&&na.__awaiter||function(t,e,a,i){function r(n){return n instanceof a?n:new a(function(s){s(n)})}return o(r,"adopt"),new(a||(a=Promise))(function(n,s){function p(c){try{d(i.next(c))}catch(u){s(u)}}o(p,"fulfilled");function l(c){try{d(i.throw(c))}catch(u){s(u)}}o(l,"rejected");function d(c){c.done?n(c.value):r(c.value).then(p,l)}o(d,"step"),d((i=i.apply(t,e||[])).next())})};Object.defineProperty(na,"__esModule",{value:!0});na.uploadCacheArchiveSDK=na.UploadProgress=void 0;var N2=jU(st()),UU=g2(),HU=w2(),au=class{static{o(this,"UploadProgress")}constructor(e){this.contentLength=e,this.sentBytes=0,this.displayedComplete=!1,this.startTime=Date.now()}setSentBytes(e){this.sentBytes=e}getTransferredBytes(){return this.sentBytes}isDone(){return this.getTransferredBytes()===this.contentLength}display(){if(this.displayedComplete)return;let e=this.sentBytes,a=(100*(e/this.contentLength)).toFixed(1),i=Date.now()-this.startTime,r=(e/(1024*1024)/(i/1e3)).toFixed(1);N2.info(`Sent ${e} of ${this.contentLength} (${a}%), ${r} MBs/sec`),this.isDone()&&(this.displayedComplete=!0)}onProgress(){return e=>{this.setSentBytes(e.loadedBytes)}}startDisplayTimer(e=1e3){let a=o(()=>{this.display(),this.isDone()||(this.timeoutHandle=setTimeout(a,e))},"displayCallback");this.timeoutHandle=setTimeout(a,e)}stopDisplayTimer(){this.timeoutHandle&&(clearTimeout(this.timeoutHandle),this.timeoutHandle=void 0),this.display()}};na.UploadProgress=au;function FU(t,e,a){var i;return kU(this,void 0,void 0,function*(){let r=new UU.BlobClient(t),n=r.getBlockBlobClient(),s=new au((i=a?.archiveSizeBytes)!==null&&i!==void 0?i:0),p={blockSize:a?.uploadChunkSize,concurrency:a?.uploadConcurrency,maxSingleShotSize:128*1024*1024,onProgress:s.onProgress()};try{s.startDisplayTimer(),N2.debug(`BlobClient: ${r.name}:${r.accountName}:${r.containerName}`);let l=yield n.uploadFile(e,p);if(l._response.status>=400)throw new HU.InvalidResponseError(`uploadCacheArchiveSDK: upload failed with status code ${l._response.status}`);return l}catch(l){throw N2.warning(`uploadCacheArchiveSDK: internal error uploading cache archive: ${l.message}`),l}finally{s.stopDisplayTimer()}})}o(FU,"uploadCacheArchiveSDK");na.uploadCacheArchiveSDK=FU});var S2=N(Ze=>{"use strict";var VU=Ze&&Ze.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a);var r=Object.getOwnPropertyDescriptor(e,a);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[a]}}),Object.defineProperty(t,i,r)}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),$U=Ze&&Ze.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),GU=Ze&&Ze.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.prototype.hasOwnProperty.call(t,a)&&VU(e,t,a);return $U(e,t),e},ru=Ze&&Ze.__awaiter||function(t,e,a,i){function r(n){return n instanceof a?n:new a(function(s){s(n)})}return o(r,"adopt"),new(a||(a=Promise))(function(n,s){function p(c){try{d(i.next(c))}catch(u){s(u)}}o(p,"fulfilled");function l(c){try{d(i.throw(c))}catch(u){s(u)}}o(l,"rejected");function d(c){c.done?n(c.value):r(c.value).then(p,l)}o(d,"step"),d((i=i.apply(t,e||[])).next())})};Object.defineProperty(Ze,"__esModule",{value:!0});Ze.retryHttpClientResponse=Ze.retryTypedResponse=Ze.retry=Ze.isRetryableStatusCode=Ze.isServerErrorStatusCode=Ze.isSuccessStatusCode=void 0;var E_=GU(st()),iu=Ji(),Ds=Oo();function WU(t){return t?t>=200&&t<300:!1}o(WU,"isSuccessStatusCode");Ze.isSuccessStatusCode=WU;function C_(t){return t?t>=500:!0}o(C_,"isServerErrorStatusCode");Ze.isServerErrorStatusCode=C_;function T_(t){return t?[iu.HttpCodes.BadGateway,iu.HttpCodes.ServiceUnavailable,iu.HttpCodes.GatewayTimeout].includes(t):!1}o(T_,"isRetryableStatusCode");Ze.isRetryableStatusCode=T_;function XU(t){return ru(this,void 0,void 0,function*(){return new Promise(e=>setTimeout(e,t))})}o(XU,"sleep");function _2(t,e,a,i=Ds.DefaultRetryAttempts,r=Ds.DefaultRetryDelay,n=void 0){ Line truncated
Other caches with similar key:`);for(let p of n?.artifactCaches||[])ga.debug(`Cache Key: ${p?.cacheKey}, Cache Version: ${p?.cacheVersion}, Cache Scope: ${p?.scope}, Cache Created: ${p?.creationTime}`)}}})}o(PH,"printCachesListForDiagnostics");function IH(t,e,a){return sa(this,void 0,void 0,function*(){let i=new _H.URL(t),r=(0,R2.getDownloadOptions)(a);i.hostname.endsWith(".blob.core.windows.net")?r.useAzureSdk?yield(0,ou.downloadCacheStorageSDK)(t,e,r):r.concurrentBlobDownloads?yield(0,ou.downloadCacheHttpClientConcurrent)(t,e,r):yield(0,ou.downloadCacheHttpClient)(t,e):yield(0,ou.downloadCacheHttpClient)(t,e)})}o(IH,"downloadCache");Pt.downloadCache=IH;function DH(t,e,a){return sa(this,void 0,void 0,function*(){let i=P2(),r=Bs.getCacheVersion(e,a?.compressionMethod,a?.enableCrossOsArchive),n={key:t,version:r,cacheSize:a?.cacheSize};return yield(0,Rr.retryTypedResponse)("reserveCache",()=>sa(this,void 0,void 0,function*(){return i.postJson(Lp("caches"),n)}))})}o(DH,"reserveCache");Pt.reserveCache=DH;function q_(t,e){return`bytes ${t}-${e}/*`}o(q_,"getContentRange");function AH(t,e,a,i,r){return sa(this,void 0,void 0,function*(){ga.debug(`Uploading chunk of size ${r-i+1} bytes at offset ${i} with content range: ${q_(i,r)}`);let n={"Content-Type":"application/octet-stream","Content-Range":q_(i,r)},s=yield(0,Rr.retryHttpClientResponse)(`uploadChunk (start: ${i}, end: ${r})`,()=>sa(this,void 0,void 0,function*(){return t.sendStream("PATCH",e,a(),n)}));if(!(0,Rr.isSuccessStatusCode)(s.message.statusCode))throw new Error(`Cache service responded with ${s.message.statusCode} during upload chunk.`)})}o(AH,"uploadChunk");function BH(t,e,a,i){return sa(this,void 0,void 0,function*(){let r=Bs.getArchiveFileSizeInBytes(a),n=Lp(`caches/${e.toString()}`),s=T2.openSync(a,"r"),p=(0,R2.getUploadOptions)(i),l=Bs.assertDefined("uploadConcurrency",p.uploadConcurrency),d=Bs.assertDefined("uploadChunkSize",p.uploadChunkSize),c=[...new Array(l).keys()];ga.debug("Awaiting all uploads");let u=0;try{yield Promise.all(c.map(()=>sa(this,void 0,void 0,function*(){for(;u<r;){let m=Math.min(r-u,d),f=u,h=u+m-1;u+=d,yield AH(t,n,()=>T2.createReadStream(a,{fd:s,start:f,end:h,autoClose:!1}).on("error",b=>{throw new Error(`Cache upload failed because file read failed with ${b.message}`)}),f,h)}})))}finally{T2.closeSync(s)}})}o(BH,"uploadFile");function MH(t,e,a){return sa(this,void 0,void 0,function*(){let i={size:a};return yield(0,Rr.retryTypedResponse)("commitCache",()=>sa(this,void 0,void 0,function*(){return t.postJson(Lp(`caches/${e.toString()}`),i)}))})}o(MH,"commitCache");function LH(t,e,a,i){return sa(this,void 0,void 0,function*(){if((0,R2.getUploadOptions)(i).useAzureSdk){if(!a)throw new Error("Azure Storage SDK can only be used when a signed URL is provided.");yield(0,SH.uploadCacheArchiveSDK)(a,e,i)}else{let n=P2();ga.debug("Upload cache"),yield BH(n,t,e,i),ga.debug("Commiting cache");let s=Bs.getArchiveFileSizeInBytes(e);ga.info(`Cache Size: ~${Math.round(s/(1024*1024))} MB (${s} B)`);let p=yield MH(n,t,s);if(!(0,Rr.isSuccessStatusCode)(p.statusCode))throw new Error(`Cache service responded with ${p.statusCode} during commit cache.`);ga.info("Cache saved successfully")}})}o(LH,"saveCache");Pt.saveCache=LH});var pu=N(Ms=>{"use strict";Object.defineProperty(Ms,"__esModule",{value:!0});Ms.isJsonObject=Ms.typeofJsonValue=void 0;function qH(t){let e=typeof t;if(e=="object"){if(Array.isArray(t))return"array";if(t===null)return"null"}return e}o(qH,"typeofJsonValue");Ms.typeofJsonValue=qH;function zH(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}o(zH,"isJsonObject");Ms.isJsonObject=zH});var du=N(Ls=>{"use strict";Object.defineProperty(Ls,"__esModule",{value:!0});Ls.base64encode=Ls.base64decode=void 0;var Gi="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),lu=[];for(let t=0;t<Gi.length;t++)lu[Gi[t].charCodeAt(0)]=t;lu[45]=Gi.indexOf("+");lu[95]=Gi.indexOf("/");function jH(t){let e=t.length*3/4;t[t.length-2]=="="?e-=2:t[t.length-1]=="="&&(e-=1);let a=new Uint8Array(e),i=0,r=0,n,s=0;for(let p=0;p<t.length;p++){if(n=lu[t.charCodeAt(p)],n===void 0)switch(t[p]){case"=":r=0;case`
`:case"\r":case" ":case" ":continue;default:throw Error("invalid base64 string.")}switch(r){case 0:s=n,r=1;break;case 1:a[i++]=s<<2|(n&48)>>4,s=n,r=2;break;case 2:a[i++]=(s&15)<<4|(n&60)>>2,s=n,r=3;break;case 3:a[i++]=(s&3)<<6|n,r=0;break}}if(r==1)throw Error("invalid base64 string.");return a.subarray(0,i)}o(jH,"base64decode");Ls.base64decode=jH;function kH(t){let e="",a=0,i,r=0;for(let n=0;n<t.length;n++)switch(i=t[n],a){case 0:e+=Gi[i>>2],r=(i&3)<<4,a=1;break;case 1:e+=Gi[r|i>>4],r=(i&15)<<2,a=2;break;case 2:e+=Gi[r|i>>6],e+=Gi[i&63],a=0;break}return a&&(e+=Gi[r],e+="=",a==1&&(e+="=")),e}o(kH,"base64encode");Ls.base64encode=kH});var j_=N(cu=>{"use strict";Object.defineProperty(cu,"__esModule",{value:!0});cu.utf8read=void 0;var I2=o(t=>String.fromCharCode.apply(String,t),"fromCharCodes");function UH(t){if(t.length<1)return"";let e=0,a=[],i=[],r=0,n,s=t.length;for(;e<s;)n=t[e++],n<128?i[r++]=n:n>191&&n<224?i[r++]=(n&31)<<6|t[e++]&63:n>239&&n<365?(n=((n&7)<<18|(t[e++]&63)<<12|(t[e++]&63)<<6|t[e++]&63)-65536,i[r++]=55296+(n>>10),i[r++]=56320+(n&1023)):i[r++]=(n&15)<<12|(t[e++]&63)<<6|t[e++]&63,r>8191&&(a.push(I2(i)),r=0);return a.length?(r&&a.push(I2(i.slice(0,r))),a.join("")):I2(i.slice(0,r))}o(UH,"utf8read");cu.utf8read=UH});var qp=N(bi=>{"use strict";Object.defineProperty(bi,"__esModule",{value:!0});bi.WireType=bi.mergeBinaryOptions=bi.UnknownFieldHandler=void 0;var HH;(function(t){t.symbol=Symbol.for("protobuf-ts/unknown"),t.onRead=(a,i,r,n,s)=>{(e(i)?i[t.symbol]:i[t.symbol]=[]).push({no:r,wireType:n,data:s})},t.onWrite=(a,i,r)=>{for(let{no:n,wireType:s,data:p}of t.list(i))r.tag(n,s).raw(p)},t.list=(a,i)=>{if(e(a)){let r=a[t.symbol];return i?r.filter(n=>n.no==i):r}return[]},t.last=(a,i)=>t.list(a,i).slice(-1)[0];let e=o(a=>a&&Array.isArray(a[t.symbol]),"is")})(HH=bi.UnknownFieldHandler||(bi.UnknownFieldHandler={}));function FH(t,e){return Object.assign(Object.assign({},t),e)}o(FH,"mergeBinaryOptions");bi.mergeBinaryOptions=FH;var VH;(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"})(VH=bi.WireType||(bi.WireType={}))});var mu=N(oa=>{"use strict";Object.defineProperty(oa,"__esModule",{value:!0});oa.varint32read=oa.varint32write=oa.int64toString=oa.int64fromString=oa.varint64write=oa.varint64read=void 0;function $H(){let t=0,e=0;for(let i=0;i<28;i+=7){let r=this.buf[this.pos++];if(t|=(r&127)<<i,!(r&128))return this.assertBounds(),[t,e]}let a=this.buf[this.pos++];if(t|=(a&15)<<28,e=(a&112)>>4,!(a&128))return this.assertBounds(),[t,e];for(let i=3;i<=31;i+=7){let r=this.buf[this.pos++];if(e|=(r&127)<<i,!(r&128))return this.assertBounds(),[t,e]}throw new Error("invalid varint")}o($H,"varint64read");oa.varint64read=$H;function GH(t,e,a){for(let n=0;n<28;n=n+7){let s=t>>>n,p=!(!(s>>>7)&&e==0),l=(p?s|128:s)&255;if(a.push(l),!p)return}let i=t>>>28&15|(e&7)<<4,r=!!(e>>3);if(a.push((r?i|128:i)&255),!!r){for(let n=3;n<31;n=n+7){let s=e>>>n,p=!!(s>>>7),l=(p?s|128:s)&255;if(a.push(l),!p)return}a.push(e>>>31&1)}}o(GH,"varint64write");oa.varint64write=GH;var uu=65536*65536;function WH(t){let e=t[0]=="-";e&&(t=t.slice(1));let a=1e6,i=0,r=0;function n(s,p){let l=Number(t.slice(s,p));r*=a,i=i*a+l,i>=uu&&(r=r+(i/uu|0),i=i%uu)}return o(n,"add1e6digit"),n(-24,-18),n(-18,-12),n(-12,-6),n(-6),[e,i,r]}o(WH,"int64fromString");oa.int64fromString=WH;function XH(t,e){if(e>>>0<=2097151)return""+(uu*e+(t>>>0));let a=t&16777215,i=(t>>>24|e<<8)>>>0&16777215,r=e>>16&65535,n=a+i*6777216+r*6710656,s=i+r*8147497,p=r*2,l=1e7;n>=l&&(s+=Math.floor(n/l),n%=l),s>=l&&(p+=Math.floor(s/l),s%=l);function d(c,u){let m=c?String(c):"";return u?"0000000".slice(m.length)+m:m}return o(d,"decimalFrom1e7"),d(p,0)+d(s,p)+d(n,1)}o(XH,"int64toString");oa.int64toString=XH;function KH(t,e){if(t>=0){for(;t>127;)e.push(t&127|128),t=t>>>7;e.push(t)}else{for(let a=0;a<9;a++)e.push(t&127|128),t=t>>7;e.push(1)}}o(KH,"varint32write");oa.varint32write=KH;function YH(){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 a=5;t&128&&a<10;a++)t=this.buf[this.pos++];if(t&128)throw new Error("invalid varint");return this.assertBounds(),e>>>0}o(YH,"varint32read");oa.varint32read=YH});var Ir=N(Pr=>{"use strict";Object.defineProperty(Pr,"__esModule",{value:!0});Pr.PbLong=Pr.PbULong=Pr.detectBi=void 0;var zp=mu(),Be;function k_(){let t=new DataView(new ArrayBuffer(8));Be=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: Line truncated
`)}};ku.RpcError=r6});var s6=N(Hu=>{"use strict";Object.defineProperty(Hu,"__esModule",{value:!0});Hu.mergeRpcOptions=void 0;var vS=dt();function vV(t,e){if(!e)return t;let a={};Uu(t,a),Uu(e,a);for(let i of Object.keys(e)){let r=e[i];switch(i){case"jsonOptions":a.jsonOptions=vS.mergeJsonOptions(t.jsonOptions,a.jsonOptions);break;case"binaryOptions":a.binaryOptions=vS.mergeBinaryOptions(t.binaryOptions,a.binaryOptions);break;case"meta":a.meta={},Uu(t.meta,a.meta),Uu(e.meta,a.meta);break;case"interceptors":a.interceptors=t.interceptors?t.interceptors.concat(r):r.concat();break}}return a}o(vV,"mergeRpcOptions");Hu.mergeRpcOptions=vV;function Uu(t,e){if(!t)return;let a=e;for(let[i,r]of Object.entries(t))r instanceof Date?a[i]=new Date(r.getTime()):Array.isArray(r)?a[i]=r.concat():a[i]=r}o(Uu,"copy")});var p6=N(yn=>{"use strict";Object.defineProperty(yn,"__esModule",{value:!0});yn.Deferred=yn.DeferredState=void 0;var Ni;(function(t){t[t.PENDING=0]="PENDING",t[t.REJECTED=1]="REJECTED",t[t.RESOLVED=2]="RESOLVED"})(Ni=yn.DeferredState||(yn.DeferredState={}));var o6=class{static{o(this,"Deferred")}constructor(e=!0){this._state=Ni.PENDING,this._promise=new Promise((a,i)=>{this._resolve=a,this._reject=i}),e&&this._promise.catch(a=>{})}get state(){return this._state}get promise(){return this._promise}resolve(e){if(this.state!==Ni.PENDING)throw new Error(`cannot resolve ${Ni[this.state].toLowerCase()}`);this._resolve(e),this._state=Ni.RESOLVED}reject(e){if(this.state!==Ni.PENDING)throw new Error(`cannot reject ${Ni[this.state].toLowerCase()}`);this._reject(e),this._state=Ni.REJECTED}resolvePending(e){this._state===Ni.PENDING&&this.resolve(e)}rejectPending(e){this._state===Ni.PENDING&&this.reject(e)}};yn.Deferred=o6});var d6=N(Fu=>{"use strict";Object.defineProperty(Fu,"__esModule",{value:!0});Fu.RpcOutputStreamController=void 0;var bS=p6(),vn=dt(),l6=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,a){return a.push(e),()=>{let i=a.indexOf(e);i>=0&&a.splice(i,1)}}clearLis(){for(let e of Object.values(this._lis))e.splice(0,e.length)}get closed(){return this._closed!==!1}notifyNext(e,a,i){vn.assert((e?1:0)+(a?1:0)+(i?1:0)<=1,"only one emission at a time"),e&&this.notifyMessage(e),a&&this.notifyError(a),i&&this.notifyComplete()}notifyMessage(e){vn.assert(!this.closed,"stream is closed"),this.pushIt({value:e,done:!1}),this._lis.msg.forEach(a=>a(e)),this._lis.nxt.forEach(a=>a(e,void 0,!1))}notifyError(e){vn.assert(!this.closed,"stream is closed"),this._closed=e,this.pushIt(e),this._lis.err.forEach(a=>a(e)),this._lis.nxt.forEach(a=>a(void 0,e,!1)),this.clearLis()}notifyComplete(){vn.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;vn.assert(e,"bad state"),vn.assert(!e.p,"iterator contract broken");let a=e.q.shift();return a?"value"in a?Promise.resolve(a):Promise.reject(a):(e.p=new bS.Deferred,e.p.promise)}}}pushIt(e){let a=this._itState;if(a.p){let i=a.p;vn.assert(i.state==bS.DeferredState.PENDING,"iterator contract broken"),"value"in e?i.resolve(e):i.reject(e),delete a.p}else a.q.push(e)}};Fu.RpcOutputStreamController=l6});var u6=N(Fs=>{"use strict";var bV=Fs&&Fs.__awaiter||function(t,e,a,i){function r(n){return n instanceof a?n:new a(function(s){s(n)})}return o(r,"adopt"),new(a||(a=Promise))(function(n,s){function p(c){try{d(i.next(c))}catch(u){s(u)}}o(p,"fulfilled");function l(c){try{d(i.throw(c))}catch(u){s(u)}}o(l,"rejected");function d(c){c.done?n(c.value):r(c.value).then(p,l)}o(d,"step"),d((i=i.apply(t,e||[])).next())})};Object.defineProperty(Fs,"__esModule",{value:!0});Fs.UnaryCall=void 0;var c6=class{static{o(this,"UnaryCall")}constructor(e,a,i,r,n,s,p){this.method=e,this.requestHeaders=a,this.request=i,this.headers=r,this.response=n,this.status=s,this.trailers=p}then(e,a){return this.promiseFinished().then(i=>e?Promise.resolve(e(i)):i,i=>a?Promise.resolve(a(i)):Promise.reject(i))}promiseFinished(){return bV(this,void 0,void 0,function*(){let[e,a,i,r]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:e,response:a,status:i,trailers:r}})}};Fs.UnaryCall=c6});var f6=N(Vs=>{"use strict";var xV=Vs&&Vs.__awaiter||function(t,e,a,i){function r(n){return n instanceof a?n:new a(function(s){s(n)})}return o(r,"adopt"),new(a||(a=Promise))(function(n,s){function p(c){try{d(i.next(c))}catch(u){s(u)}}o(p,"fulfilled");function l(c){try{d(i.throw(c)) Line truncated
`));let i=yield L6(a,"create");yield q6(i,t)})}o(f$,"createTar");Ut.createTar=f$});var US=N(it=>{"use strict";var h$=it&&it.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a);var r=Object.getOwnPropertyDescriptor(e,a);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[a]}}),Object.defineProperty(t,i,r)}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),g$=it&&it.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),Zp=it&&it.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.prototype.hasOwnProperty.call(t,a)&&h$(e,t,a);return g$(e,t),e},no=it&&it.__awaiter||function(t,e,a,i){function r(n){return n instanceof a?n:new a(function(s){s(n)})}return o(r,"adopt"),new(a||(a=Promise))(function(n,s){function p(c){try{d(i.next(c))}catch(u){s(u)}}o(p,"fulfilled");function l(c){try{d(i.throw(c))}catch(u){s(u)}}o(l,"rejected");function d(c){c.done?n(c.value):r(c.value).then(p,l)}o(d,"step"),d((i=i.apply(t,e||[])).next())})};Object.defineProperty(it,"__esModule",{value:!0});it.saveCache=it.restoreCache=it.isFeatureAvailable=it.FinalizeCacheError=it.ReserveCacheError=it.ValidationError=void 0;var ie=Zp(st()),Qu=Zp(require("path")),Ue=Zp(zn()),ro=Zp(z_()),jS=Zp(MS()),Ju=nu(),Br=zS(),Zu=Ji(),qa=class t extends Error{static{o(this,"ValidationError")}constructor(e){super(e),this.name="ValidationError",Object.setPrototypeOf(this,t.prototype)}};it.ValidationError=qa;var bn=class t extends Error{static{o(this,"ReserveCacheError")}constructor(e){super(e),this.name="ReserveCacheError",Object.setPrototypeOf(this,t.prototype)}};it.ReserveCacheError=bn;var Jp=class t extends Error{static{o(this,"FinalizeCacheError")}constructor(e){super(e),this.name="FinalizeCacheError",Object.setPrototypeOf(this,t.prototype)}};it.FinalizeCacheError=Jp;function kS(t){if(!t||t.length===0)throw new qa("Path Validation Error: At least one directory or file path is required")}o(kS,"checkPaths");function z6(t){if(t.length>512)throw new qa(`Key Validation Error: ${t} cannot be larger than 512 characters.`);if(!/^[^,]*$/.test(t))throw new qa(`Key Validation Error: ${t} cannot contain commas.`)}o(z6,"checkKey");function y$(){switch((0,Ju.getCacheServiceVersion)()){case"v2":return!!process.env.ACTIONS_RESULTS_URL;case"v1":default:return!!process.env.ACTIONS_CACHE_URL}}o(y$,"isFeatureAvailable");it.isFeatureAvailable=y$;function v$(t,e,a,i,r=!1){return no(this,void 0,void 0,function*(){let n=(0,Ju.getCacheServiceVersion)();switch(ie.debug(`Cache service version: ${n}`),kS(t),n){case"v2":return yield x$(t,e,a,i,r);case"v1":default:return yield b$(t,e,a,i,r)}})}o(v$,"restoreCache");it.restoreCache=v$;function b$(t,e,a,i,r=!1){return no(this,void 0,void 0,function*(){a=a||[];let n=[e,...a];if(ie.debug("Resolved Keys:"),ie.debug(JSON.stringify(n)),n.length>10)throw new qa("Key Validation Error: Keys are limited to a maximum of 10.");for(let l of n)z6(l);let s=yield Ue.getCompressionMethod(),p="";try{let l=yield ro.getCacheEntry(n,t,{compressionMethod:s,enableCrossOsArchive:r});if(!l?.archiveLocation)return;if(i?.lookupOnly)return ie.info("Lookup only - skipping download"),l.cacheKey;p=Qu.join(yield Ue.createTempDirectory(),Ue.getCacheFileName(s)),ie.debug(`Archive Path: ${p}`),yield ro.downloadCache(l.archiveLocation,p,i),ie.isDebug()&&(yield(0,Br.listTar)(p,s));let d=Ue.getArchiveFileSizeInBytes(p);return ie.info(`Cache Size: ~${Math.round(d/(1024*1024))} MB (${d} B)`),yield(0,Br.extractTar)(p,s),ie.info("Cache restored successfully"),l.cacheKey}catch(l){let d=l;if(d.name===qa.name)throw l;d instanceof Zu.HttpClientError&&typeof d.statusCode=="number"&&d.statusCode>=500?ie.error(`Failed to restore: ${l.message}`):ie.warning(`Failed to restore: ${l.message}`)}finally{try{yield Ue.unlinkFile(p)}catch(l){ie.debug(`Failed to delete archive: ${l}`)}}})}o(b$,"restoreCacheV1");function x$(t,e,a,i,r=!1){return no(this,void 0,void 0,function*(){i=Object.assign(Object.assign({},i),{useAzureSdk:!0}),a=a||[];let n=[e,...a];if(ie.debug("Resolved Keys:"),ie.debug(JSON.stringify(n)),n.length>10)throw new qa("Key Validation Error: Keys are limited to a maximum of 10.");for(let p of n)z6(p);let s="";try{let p=jS.internalCacheTwirpClient(),l=yield Ue.getCompressionMethod(),d={key:e,restoreKeys:a,version:Ue.getCacheVersion(t,l,r)},c=yield p.GetCacheEntryDownloadURL(d);if(!c.ok){ie.debug(`Cache not found for version ${d.version} of keys: ${n.join(", ")}`);return}if(d.key!==c.matchedKey?ie.info(`Cache hit for restore-key: ${c.matchedKey}`):ie.info(`Cache hit for: ${c.matchedKey}`),i?.lookupOnly)return ie.info("Lookup only - skipping download"),c.matchedKey;s=Qu.join(yield Ue.createTempDirectory(),Ue.getCacheFileName(l)),ie.debug(`Archive path: ${s}`),ie.debug(`Starting download of archive to: ${s}`),yield ro.downloadCache(c.signedDownloadUrl,s,i);let m=Ue.getArchiveFileSizeInBy Line truncated
`);for(let r of i){let n=r.split("=");if(n.length===2&&(n[0].trim()==="VERSION_ID"||n[0].trim()==="DISTRIB_RELEASE")){e=n[1].trim().replace(/^"/,"").replace(/"$/,"");break}}}}return e}o(P$,"_getOsVersion");Ht._getOsVersion=P$;function I$(){let t="/etc/lsb-release",e="/etc/os-release",a="";return em.existsSync(t)?a=em.readFileSync(t).toString():em.existsSync(e)&&(a=em.readFileSync(e).toString()),a}o(I$,"_readLinuxVersionFile");Ht._readLinuxVersionFile=I$});var WS=N(za=>{"use strict";var D$=za&&za.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a);var r=Object.getOwnPropertyDescriptor(e,a);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[a]}}),Object.defineProperty(t,i,r)}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),A$=za&&za.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),B$=za&&za.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.prototype.hasOwnProperty.call(t,a)&&D$(e,t,a);return A$(e,t),e},$S=za&&za.__awaiter||function(t,e,a,i){function r(n){return n instanceof a?n:new a(function(s){s(n)})}return o(r,"adopt"),new(a||(a=Promise))(function(n,s){function p(c){try{d(i.next(c))}catch(u){s(u)}}o(p,"fulfilled");function l(c){try{d(i.throw(c))}catch(u){s(u)}}o(l,"rejected");function d(c){c.done?n(c.value):r(c.value).then(p,l)}o(d,"step"),d((i=i.apply(t,e||[])).next())})};Object.defineProperty(za,"__esModule",{value:!0});za.RetryHelper=void 0;var GS=B$(st()),U6=class{static{o(this,"RetryHelper")}constructor(e,a,i){if(e<1)throw new Error("max attempts should be greater than or equal to 1");if(this.maxAttempts=e,this.minSeconds=Math.floor(a),this.maxSeconds=Math.floor(i),this.minSeconds>this.maxSeconds)throw new Error("min seconds should be less than or equal to max seconds")}execute(e,a){return $S(this,void 0,void 0,function*(){let i=1;for(;i<this.maxAttempts;){try{return yield e()}catch(n){if(a&&!a(n))throw n;GS.info(n.message)}let r=this.getSleepAmount();GS.info(`Waiting ${r} seconds before trying again`),yield this.sleep(r),i++}return yield e()})}getSleepAmount(){return Math.floor(Math.random()*(this.maxSeconds-this.minSeconds+1))+this.minSeconds}sleep(e){return $S(this,void 0,void 0,function*(){return new Promise(a=>setTimeout(a,e*1e3))})}};za.RetryHelper=U6});var tE=N(ce=>{"use strict";var M$=ce&&ce.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a);var r=Object.getOwnPropertyDescriptor(e,a);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[a]}}),Object.defineProperty(t,i,r)}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),L$=ce&&ce.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),ai=ce&&ce.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.prototype.hasOwnProperty.call(t,a)&&M$(e,t,a);return L$(e,t),e},Gt=ce&&ce.__awaiter||function(t,e,a,i){function r(n){return n instanceof a?n:new a(function(s){s(n)})}return o(r,"adopt"),new(a||(a=Promise))(function(n,s){function p(c){try{d(i.next(c))}catch(u){s(u)}}o(p,"fulfilled");function l(c){try{d(i.throw(c))}catch(u){s(u)}}o(l,"rejected");function d(c){c.done?n(c.value):r(c.value).then(p,l)}o(d,"step"),d((i=i.apply(t,e||[])).next())})};Object.defineProperty(ce,"__esModule",{value:!0});ce.evaluateVersions=ce.isExplicitVersion=ce.findFromManifest=ce.getManifestFromRepo=ce.findAllVersions=ce.find=ce.cacheFile=ce.cacheDir=ce.extractZip=ce.extractXar=ce.extractTar=ce.extract7z=ce.downloadTool=ce.HTTPError=void 0;var we=ai(st()),va=ai(go()),XS=ai(require("crypto")),ja=ai(require("fs")),q$=ai(VS()),tl=ai(require("os")),ti=ai(require("path")),KS=ai(Ji()),Ki=ai(Il()),z$=ai(require("stream")),j$=ai(require("util")),so=require("assert"),Mr=In(),k$=WS(),el=class extends Error{static{o(this,"HTTPError")}constructor(e){super(`Unexpected HTTP response: ${e}`),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype)}};ce.HTTPError=el;var F6=process.platform==="win32",U$=process.platform==="darwin",H$="actions/tool-cache";function F$(t,e,a,i){return Gt(this,void 0,void 0,function*(){e=e||ti.join(eE(),XS.randomUUID()),yield va.mkdirP(ti.dirname(e)),we.debug(`Downloading ${t}`),we.debug(`Destination ${e}`);let r=3,n=H6("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10),s=H6("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20);return yield new k$.RetryHelper(r,n,s).execute(()=>Gt(this,void 0,void 0,function*(){return yield V$(t,e||"",a,i)}),l=>!(l instanceof el&&l.httpStatusCode&&l.httpStatusCode<500&&l.httpStatusCode!==408&&l.httpStatusCode!==429))})}o(F$,"downloadTool");ce.downloadTool=F$;function V$(t,e,a,i){return Gt(this,void 0,void 0,function*(){if(ja.existsSync(e))throw new Error(`Destination file path ${e} already exists`);let r=new KS.HttpClient(H$, Line truncated
`,[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(i){let r=this.ctx,n=i.key.pop();for(let s of i.key){if(hasKey(r,s)&&(!isTable(r[s])||r[s][_declared]))throw this.error(new TomlError("Can' Line truncated
`,e&&e.split){let i=e.split(/\n/),r=String(Math.min(i.length,t.line+3)).length,n=" ";for(;n.length<r;)n+=" ";for(let s=Math.max(0,t.line-1);s<Math.min(i.length,t.line+2);++s){let p=String(s+1);if(p.length<r&&(p=" "+p),t.line===s){a+=p+"> "+i[s]+`
`,a+=n+" ";for(let l=0;l<t.col;++l)a+=" ";a+=`^
`}else a+=p+": "+i[s]+`
`}}return t.message=a+`
`,t}o(gG,"prettyError")});var wE=N((Fte,xE)=>{"use strict";xE.exports=bG;var yG=nm(),vG=sm();function bG(t){global.Buffer&&global.Buffer.isBuffer(t)&&(t=t.toString("utf8"));let e=new yG;try{return e.parse(t),e.finish()}catch(a){throw vG(a,t)}}o(bG,"parseString")});var SE=N(($te,_E)=>{"use strict";_E.exports=wG;var xG=nm(),NE=sm();function wG(t,e){e||(e={});let a=0,i=e.blocksize||40960,r=new xG;return new Promise((s,p)=>{setImmediate(n,a,i,s,p)});function n(s,p,l,d){if(s>=t.length)try{return l(r.finish())}catch(c){return d(NE(c,t))}try{r.parse(t.slice(s,s+p)),setImmediate(n,s+p,p,l,d)}catch(c){d(NE(c,t))}}}o(wG,"parseAsync")});var TE=N((Wte,CE)=>{"use strict";CE.exports=_G;var NG=require("stream"),EE=nm();function _G(t){return t?SG(t):EG(t)}o(_G,"parseStream");function SG(t){let e=new EE;return t.setEncoding("utf8"),new Promise((a,i)=>{let r,n=!1,s=!1;function p(){if(n=!0,!r)try{a(e.finish())}catch(c){i(c)}}o(p,"finish");function l(c){s=!0,i(c)}o(l,"error"),t.once("end",p),t.once("error",l),d();function d(){r=!0;let c;for(;(c=t.read())!==null;)try{e.parse(c)}catch(u){return l(u)}if(r=!1,n)return p();s||t.once("readable",d)}o(d,"readNext")})}o(SG,"parseReadable");function EG(){let t=new EE;return new NG.Transform({objectMode:!0,transform(e,a,i){try{t.parse(e.toString(a))}catch(r){this.emit("error",r)}i()},flush(e){try{this.push(t.finish())}catch(a){this.emit("error",a)}e()}})}o(EG,"parseTransform")});var OE=N((Kte,il)=>{"use strict";il.exports=wE();il.exports.async=SE();il.exports.stream=TE();il.exports.prettyError=sm()});var LE=N((Yte,K6)=>{"use strict";K6.exports=CG;K6.exports.value=X6;function CG(t){if(t===null)throw wn("null");if(t===void 0)throw wn("undefined");if(typeof t!="object")throw wn(typeof t);if(typeof t.toJSON=="function"&&(t=t.toJSON()),t==null)return null;let e=la(t);if(e!=="table")throw wn(e);return W6("","",t)}o(CG,"stringify");function wn(t){return new Error("Can only stringify objects, not "+t)}o(wn,"typeError");function TG(){return new Error("Array values can't have mixed types")}o(TG,"arrayOneTypeError");function RE(t){return Object.keys(t).filter(e=>PE(t[e]))}o(RE,"getInlineKeys");function OG(t){return Object.keys(t).filter(e=>!PE(t[e]))}o(OG,"getComplexKeys");function om(t){let e=Array.isArray(t)?[]:Object.prototype.hasOwnProperty.call(t,"__proto__")?{["__proto__"]:void 0}:{};for(let a of Object.keys(t))t[a]&&typeof t[a].toJSON=="function"&&!("toISOString"in t[a])?e[a]=t[a].toJSON():e[a]=t[a];return e}o(om,"toJSON");function W6(t,e,a){a=om(a);var i,r;i=RE(a),r=OG(a);var n=[],s=e||"";i.forEach(l=>{var d=la(a[l]);d!=="undefined"&&d!=="null"&&n.push(s+pm(l)+" = "+AE(a[l],!0))}),n.length>0&&n.push("");var p=t&&i.length>0?e+" ":"";return r.forEach(l=>{n.push(jG(t,p,l,a[l]))}),n.join(`
`)}o(W6,"stringifyObject");function PE(t){switch(la(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||la(t[0])!=="table";case"table":return Object.keys(t).length===0;default:return!1}}o(PE,"isInline");function la(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(la,"tomlType");function pm(t){var e=String(t);return/^[-A-Za-z0-9_]+$/.test(e)?e:IE(e)}o(pm,"stringifyKey");function IE(t){return'"'+DE(t).replace(/"/g,'\\"')+'"'}o(IE,"stringifyBasicString");function RG(t){return"'"+t+"'"}o(RG,"stringifyLiteralString");function PG(t,e){for(;e.length<t;)e="0"+e;return e}o(PG,"numpad");function DE(t){return t.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\f/g,"\\f").replace(/\r/g,"\\r").replace(/([\u0000-\u001f\u007f])/,e=>"\\u"+PG(4,e.codePointAt(0).toString(16)))}o(DE,"escapeString");function IG(t){let e=t.split(/\n/).map(a=>DE(a).replace(/"(?="")/g,'\\"')).join(`
`,t}o(rG,"prettyError")});var gE=N((Ete,hE)=>{"use strict";hE.exports=oG;var nG=sm(),sG=om();function oG(t){global.Buffer&&global.Buffer.isBuffer(t)&&(t=t.toString("utf8"));let e=new nG;try{return e.parse(t),e.finish()}catch(a){throw sG(a,t)}}o(oG,"parseString")});var bE=N((Tte,vE)=>{"use strict";vE.exports=lG;var pG=sm(),yE=om();function lG(t,e){e||(e={});let a=0,i=e.blocksize||40960,r=new pG;return new Promise((s,p)=>{setImmediate(n,a,i,s,p)});function n(s,p,l,d){if(s>=t.length)try{return l(r.finish())}catch(c){return d(yE(c,t))}try{r.parse(t.slice(s,s+p)),setImmediate(n,s+p,p,l,d)}catch(c){d(yE(c,t))}}}o(lG,"parseAsync")});var NE=N((Rte,wE)=>{"use strict";wE.exports=cG;var dG=require("stream"),xE=sm();function cG(t){return t?uG(t):mG(t)}o(cG,"parseStream");function uG(t){let e=new xE;return t.setEncoding("utf8"),new Promise((a,i)=>{let r,n=!1,s=!1;function p(){if(n=!0,!r)try{a(e.finish())}catch(c){i(c)}}o(p,"finish");function l(c){s=!0,i(c)}o(l,"error"),t.once("end",p),t.once("error",l),d();function d(){r=!0;let c;for(;(c=t.read())!==null;)try{e.parse(c)}catch(u){return l(u)}if(r=!1,n)return p();s||t.once("readable",d)}o(d,"readNext")})}o(uG,"parseReadable");function mG(){let t=new xE;return new dG.Transform({objectMode:!0,transform(e,a,i){try{t.parse(e.toString(a))}catch(r){this.emit("error",r)}i()},flush(e){try{this.push(t.finish())}catch(a){this.emit("error",a)}e()}})}o(mG,"parseTransform")});var _E=N((Ite,il)=>{"use strict";il.exports=gE();il.exports.async=bE();il.exports.stream=NE();il.exports.prettyError=om()});var IE=N((Dte,Y6)=>{"use strict";Y6.exports=fG;Y6.exports.value=K6;function fG(t){if(t===null)throw wn("null");if(t===void 0)throw wn("undefined");if(typeof t!="object")throw wn(typeof t);if(typeof t.toJSON=="function"&&(t=t.toJSON()),t==null)return null;let e=la(t);if(e!=="table")throw wn(e);return X6("","",t)}o(fG,"stringify");function wn(t){return new Error("Can only stringify objects, not "+t)}o(wn,"typeError");function hG(){return new Error("Array values can't have mixed types")}o(hG,"arrayOneTypeError");function SE(t){return Object.keys(t).filter(e=>EE(t[e]))}o(SE,"getInlineKeys");function gG(t){return Object.keys(t).filter(e=>!EE(t[e]))}o(gG,"getComplexKeys");function pm(t){let e=Array.isArray(t)?[]:Object.prototype.hasOwnProperty.call(t,"__proto__")?{["__proto__"]:void 0}:{};for(let a of Object.keys(t))t[a]&&typeof t[a].toJSON=="function"&&!("toISOString"in t[a])?e[a]=t[a].toJSON():e[a]=t[a];return e}o(pm,"toJSON");function X6(t,e,a){a=pm(a);var i,r;i=SE(a),r=gG(a);var n=[],s=e||"";i.forEach(l=>{var d=la(a[l]);d!=="undefined"&&d!=="null"&&n.push(s+lm(l)+" = "+OE(a[l],!0))}),n.length>0&&n.push("");var p=t&&i.length>0?e+" ":"";return r.forEach(l=>{n.push(TG(t,p,l,a[l]))}),n.join(`
`)}o(X6,"stringifyObject");function EE(t){switch(la(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||la(t[0])!=="table";case"table":return Object.keys(t).length===0;default:return!1}}o(EE,"isInline");function la(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(la,"tomlType");function lm(t){var e=String(t);return/^[-A-Za-z0-9_]+$/.test(e)?e:CE(e)}o(lm,"stringifyKey");function CE(t){return'"'+TE(t).replace(/"/g,'\\"')+'"'}o(CE,"stringifyBasicString");function yG(t){return"'"+t+"'"}o(yG,"stringifyLiteralString");function vG(t,e){for(;e.length<t;)e="0"+e;return e}o(vG,"numpad");function TE(t){return t.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\f/g,"\\f").replace(/\r/g,"\\r").replace(/([\u0000-\u001f\u007f])/,e=>"\\u"+vG(4,e.codePointAt(0).toString(16)))}o(TE,"escapeString");function bG(t){let e=t.split(/\n/).map(a=>TE(a).replace(/"(?="")/g,'\\"')).join(`
`);return e.slice(-1)==='"'&&(e+=`\\
`),`"""
`+e+'"""'}o(IG,"stringifyMultilineString");function AE(t,e){let a=la(t);return a==="string"&&(e&&/\n/.test(t)?a="string-multiline":!/[\b\t\n\f\r']/.test(t)&&/"/.test(t)&&(a="string-literal")),X6(t,a)}o(AE,"stringifyAnyInline");function X6(t,e){switch(e||(e=la(t)),e){case"string-multiline":return IG(t);case"string":return IE(t);case"string-literal":return RG(t);case"integer":return BE(t);case"float":return DG(t);case"boolean":return AG(t);case"datetime":return BG(t);case"array":return qG(t.filter(a=>la(a)!=="null"&&la(a)!=="undefined"&&la(a)!=="nan"));case"table":return zG(t);default:throw wn(e)}}o(X6,"stringifyInline");function BE(t){return String(t).replace(/\B(?=(\d{3})+(?!\d))/g,"_")}o(BE,"stringifyInteger");function DG(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("."),a=e[0],i=e[1]||0;return BE(a)+"."+i}o(DG,"stringifyFloat");function AG(t){return String(t)}o(AG,"stringifyBoolean");function BG(t){return t.toISOString()}o(BG,"stringifyDatetime");function MG(t){return t==="float"||t==="integer"}o(MG,"isNumber");function LG(t){var e=la(t[0]);return t.every(a=>la(a)===e)?e:t.every(a=>MG(la(a)))?"float":"mixed"}o(LG,"arrayType");function ME(t){let e=LG(t);if(e==="mixed")throw TG();return e}o(ME,"validateArray");function qG(t){t=om(t);let e=ME(t);var a="[",i=t.map(r=>X6(r,e));return i.join(", ").length>60||/\n/.test(i)?a+=`
`+e+'"""'}o(bG,"stringifyMultilineString");function OE(t,e){let a=la(t);return a==="string"&&(e&&/\n/.test(t)?a="string-multiline":!/[\b\t\n\f\r']/.test(t)&&/"/.test(t)&&(a="string-literal")),K6(t,a)}o(OE,"stringifyAnyInline");function K6(t,e){switch(e||(e=la(t)),e){case"string-multiline":return bG(t);case"string":return CE(t);case"string-literal":return yG(t);case"integer":return RE(t);case"float":return xG(t);case"boolean":return wG(t);case"datetime":return NG(t);case"array":return EG(t.filter(a=>la(a)!=="null"&&la(a)!=="undefined"&&la(a)!=="nan"));case"table":return CG(t);default:throw wn(e)}}o(K6,"stringifyInline");function RE(t){return String(t).replace(/\B(?=(\d{3})+(?!\d))/g,"_")}o(RE,"stringifyInteger");function xG(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("."),a=e[0],i=e[1]||0;return RE(a)+"."+i}o(xG,"stringifyFloat");function wG(t){return String(t)}o(wG,"stringifyBoolean");function NG(t){return t.toISOString()}o(NG,"stringifyDatetime");function _G(t){return t==="float"||t==="integer"}o(_G,"isNumber");function SG(t){var e=la(t[0]);return t.every(a=>la(a)===e)?e:t.every(a=>_G(la(a)))?"float":"mixed"}o(SG,"arrayType");function PE(t){let e=SG(t);if(e==="mixed")throw hG();return e}o(PE,"validateArray");function EG(t){t=pm(t);let e=PE(t);var a="[",i=t.map(r=>K6(r,e));return i.join(", ").length>60||/\n/.test(i)?a+=`
`+i.join(`,
`)+`
`:a+=" "+i.join(", ")+(i.length>0?" ":""),a+"]"}o(qG,"stringifyInlineArray");function zG(t){t=om(t);var e=[];return Object.keys(t).forEach(a=>{e.push(pm(a)+" = "+AE(t[a],!1))}),"{ "+e.join(", ")+(e.length>0?" ":"")+"}"}o(zG,"stringifyInlineTable");function jG(t,e,a,i){var r=la(i);if(r==="array")return kG(t,e,a,i);if(r==="table")return UG(t,e,a,i);throw wn(r)}o(jG,"stringifyComplex");function kG(t,e,a,i){i=om(i),ME(i);var r=la(i[0]);if(r!=="table")throw wn(r);var n=t+pm(a),s="";return i.forEach(p=>{s.length>0&&(s+=`
`:a+=" "+i.join(", ")+(i.length>0?" ":""),a+"]"}o(EG,"stringifyInlineArray");function CG(t){t=pm(t);var e=[];return Object.keys(t).forEach(a=>{e.push(lm(a)+" = "+OE(t[a],!1))}),"{ "+e.join(", ")+(e.length>0?" ":"")+"}"}o(CG,"stringifyInlineTable");function TG(t,e,a,i){var r=la(i);if(r==="array")return OG(t,e,a,i);if(r==="table")return RG(t,e,a,i);throw wn(r)}o(TG,"stringifyComplex");function OG(t,e,a,i){i=pm(i),PE(i);var r=la(i[0]);if(r!=="table")throw wn(r);var n=t+lm(a),s="";return i.forEach(p=>{s.length>0&&(s+=`
`),s+=e+"[["+n+`]]
`,s+=W6(n+".",e,p)}),s}o(kG,"stringifyArrayOfTables");function UG(t,e,a,i){var r=t+pm(a),n="";return RE(i).length>0&&(n+=e+"["+r+`]
`),n+W6(r+".",e,i)}o(UG,"stringifyComplexTable")});var qE=N(Y6=>{"use strict";Y6.parse=OE();Y6.stringify=LE()});var sC=require("node:os"),Dt=ba(nt());var eC=require("node:os"),fo=require("node:path"),ka=require("node:fs"),_i=ba(nt()),um=ba(jS()),rl=ba(sE()),t4=ba(In());var lo=require("node:fs"),Q6=ba(nt()),lm=ba(qE());function zE(t,e){if(!e.length)return;let a=0;if(e.forEach(n=>{try{new URL(n.url)}catch{throw new Error(`Invalid registry URL: ${n.url}`)}n.scope||a++}),a>1)throw new Error("You can't have more than one global registry.");(0,Q6.info)(`Writing bunfig.toml to '${t}'.`);let i={};if((0,lo.existsSync)(t))try{let n=(0,lo.readFileSync)(t,{encoding:"utf-8"});i=(0,lm.parse)(n)}catch(n){(0,Q6.info)(`Error reading existing bunfig: ${n.message}`),i={}}i.install=i?.install||{},i.install.scopes=i?.install.scopes||{};let r=e.find(n=>!n.scope);r&&(i.install.registry={url:r.url,...r.token?{token:r.token}:{}});for(let n of e)if(n.scope){let s=n.scope.startsWith("@")?n.scope.toLowerCase():`@${n.scope.toLowerCase()}`;i.install.scopes[s]={url:n.url,...n.token?{token:n.token}:{}}}Object.keys(i.install.scopes).length===0&&delete i.install.scopes,(0,lo.writeFileSync)(t,(0,lm.stringify)(i),{encoding:"utf8"})}o(zE,"writeBunfig");var tC=ba(nt());var Lr=ba(nt()),VE=require("node:console"),$E=require("node:crypto"),_n=require("node:fs"),dm=require("node:path");var J6=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,co=o(t=>{if(typeof t!="string")throw new TypeError("Invalid argument expected string");let e=t.match(J6);if(!e)throw new Error(`Invalid argument not valid semver ('${t}' received)`);return e.shift(),e},"validateAndParse"),jE=o(t=>t==="*"||t==="x"||t==="X","isWildcard"),kE=o(t=>{let e=parseInt(t,10);return isNaN(e)?t:e},"tryParse"),HG=o((t,e)=>typeof t!=typeof e?[String(t),String(e)]:[t,e],"forceType"),FG=o((t,e)=>{if(jE(t)||jE(e))return 0;let[a,i]=HG(kE(t),kE(e));return a>i?1:a<i?-1:0},"compareStrings"),Mr=o((t,e)=>{for(let a=0;a<Math.max(t.length,e.length);a++){let i=FG(t[a]||"x",e[a]||"x");if(i!==0)return i}return 0},"compareSegments");var Nn=o((t,e)=>{let a=co(t),i=co(e),r=a.pop(),n=i.pop(),s=Mr(a,i);return s!==0?s:r&&n?Mr(r.split("."),n.split(".")):r||n?r?-1:1:0},"compareVersions");var HE=o((t,e,a)=>{VG(a);let i=Nn(t,e);return FE[a].includes(i)},"compare"),FE={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1],"!=":[-1,1]},UE=Object.keys(FE),VG=o(t=>{if(typeof t!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof t}`);if(UE.indexOf(t)===-1)throw new Error(`Invalid operator, expected one of ${UE.join("|")}`)},"assertValidOperator");var uo=o((t,e)=>{if(e=e.replace(/([><=]+)\s+/g,"$1"),e.includes("||"))return e.split("||").some(E=>uo(t,E));if(e.includes(" - ")){let[E,C]=e.split(" - ",2);return uo(t,`>=${E} <=${C}`)}else if(e.includes(" "))return e.trim().replace(/\s{2,}/g," ").split(" ").every(E=>uo(t,E));let a=e.match(/^([<>=~^]+)/),i=a?a[1]:"=";if(i!=="^"&&i!=="~")return HE(t,e,i);let[r,n,s,,p]=co(t),[l,d,c,,u]=co(e),m=[r,n??"x",s??"x"],f=[l,d??"x",c??"x"];if(u&&(!p||Mr(m,f)!==0||Mr(p.split("."),u.split("."))===-1))return!1;let h=f.findIndex(E=>E!=="0")+1,b=i==="~"?2:h>1?h:1;return!(Mr(m.slice(0,b),f.slice(0,b))!==0||Mr(m.slice(b),f.slice(b))===-1)},"satisfies");var mo=o(t=>typeof t=="string"&&/^[v\d]/.test(t)&&J6.test(t),"validate"),Z6=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 $G="1.3.10";function GE(t){return`bun-${(0,$E.createHash)("sha1").update(t).digest("base64")}`}o(GE,"getCacheKey");function WE(t){return t.match(/\/bun-v([^/]+)\//)?.[1]}o(WE,"extractVersionFromUrl");async function XE(t,e){let a=new Headers(e?.headers);a.has("User-Agent")||a.set("User-Agent","@oven-sh/setup-bun");let i=await fetch(t,{...e,headers:a});if(!i.ok){let r=await i.text().catch(()=>"");throw new Error(`Failed to fetch url ${t}. (status code: ${i.status}, status text: ${i.statusText})${r?`
${r}`:""}`)}return i}o(XE,"request");function KE(t,e){return t.endsWith(e)?t:((0,_n.renameSync)(t,t+e),t+e)}o(KE,"addExtension");function cm(){let t=process.platform;return t==="win32"?"windows":t}o(cm,"getPlatform");function YE(t){if(!t)return!1;let e=t.replace(/^bun-v/,"");return mo(e)?Nn(e,$G)>=0:!0}o(YE,"hasNativeWindowsArm64");function QE(t,e,a){return t==="windows"&&(e==="aarch64"||e==="arm64")&&!YE(a)?((0,Lr.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(QE,"getArchitecture");function JE(t,e,a,i){if(t==="windows"&&(e==="aarch64"||e==="arm64"))return!!YE(i);if(t==="linux"&&e==="x64"&&a===void 0)try{return(0,_n.readFileSync)("/proc/cpuinfo","utf8").includes("avx2")}catch{return(0,Lr.warning)("Failed to detect AVX2 support."),!1}return a??!0}o(JE,"getAvx2");var GG={"package.json":t=>{let e=JSON.parse(t);return e.packageManager?.split("bun@")?.[1]??e.engines?.bun},".tool-versions":t=>t.match(/^bun\s*(?<version>.*?)$/m)?.groups?.version,".bumrc":t=>t,".bun-version":t=>t};function e4(t,e=!1){let a=process.env.GITHUB_WORKSPACE;if(!a||!t)return;(0,Lr.debug)(`Reading version from ${t}`);let i=(0,dm.resolve)(a,t),r=(0,dm.basename)(t);if(!(0,_n.existsSync)(i)){e||(0,Lr.warning)(`File ${i} not found`);return}let n=GG[r]??(()=>{}),s;try{if(s=n((0,_n.readFileSync)(i,"utf8"))?.trim(),!s){e||(0,Lr.warning)(`Failed to read version from ${t}`);return}}catch(p){let{message:l}=p;e||(0,Lr.warning)(`Failed to read ${t}: ${l}`)}finally{if(s)return(0,VE.info)(`Obtained version ${s} from ${t}`),s}}o(e4,"readVersionFromFile");async function ZE(t){let{customUrl:e}=t;return e||await WG(t)}o(ZE,"getDownloadUrl");async function WG(t){let{version:e,os:a,arch:i,avx2:r,profile:n}=t,s;if(Z6(e)&&(s=`bun-v${e}`),!s){let b=(await(await XE("https://api.github.com/repos/oven-sh/bun/git/refs/tags",{headers:t.token?{Authorization:`Bearer ${t.token}`}:{}})).json()).filter(E=>E.ref.startsWith("refs/tags/bun-v")||E.ref==="refs/tags/canary").map(E=>E.ref.replace(/refs\/tags\/(bun-v)?/g,"")).filter(Boolean);if(s=b.find(E=>E===e),s)mo(s)&&(s=`bun-v${s}`);else{b=b.filter(C=>mo(C)).sort(Nn);let E=e==="latest"||!e?b.at(-1):b.filter(C=>uo(C,e)).at(-1);if(!E)throw new Error(`No Bun release found matching version '${e}'`);s=`bun-v${E}`}}let p=s??e,l=encodeURIComponent(p),d=encodeURIComponent(a??cm()),c=encodeURIComponent(QE(a??cm(),i??process.arch,p)),u=encodeURIComponent(JE(a??cm(),i??process.arch,r,p)===!1?"-baseline":""),m=encodeURIComponent(n===!0?"-profile":""),{href:f}=new URL(`${l}/bun-${d}-${c}${u}${m}.zip`,"https://github.com/oven-sh/bun/releases/download/");return f}o(WG,"getSemverDownloadUrl");var aC=require("node:process");var iC=o(async t=>{let e=(0,fo.join)((0,aC.cwd)(),"bunfig.toml");zE(e,t.registries);let a=await ZE(t),i=YG(t),r=(0,fo.join)((0,eC.homedir)(),".bun","bin");try{(0,ka.mkdirSync)(r,{recursive:!0})}catch(u){if(u.code!=="EEXIST")throw u}(0,_i.addPath)(r);let n=o(u=>process.platform==="win32"?`${u}.exe`:u,"exe"),s=(0,fo.join)(r,n("bun"));try{(0,ka.symlinkSync)(s,(0,fo.join)(r,n("bunx")))}catch(u){if(u.code!=="EEXIST")throw u}let p,l=!1;if(!t.customUrl&&(0,ka.existsSync)(s)){let u=await i4(s);u&&XG(u,t.version)&&(p=u,l=!0,(0,_i.info)(`Using existing Bun installation: ${p}`))}if(!p){if(i){let u=GE(a);if(await(0,um.restoreCache)([s],u))if(p=await i4(s),p){let f=WE(a),[h]=p.split("+");f?h!==f?((0,_i.warning)(`Cached Bun version ${p} does not match expected version ${f}. Re-downloading.`),p=void 0):(l=!0,(0,_i.info)(`Using a cached version of Bun: ${p}`)):((0,_i.warning)(`Could not parse expected version from URL: ${a}. Ignoring cache.`),p=void 0)}else(0,_i.warning)(`Found a cached version of Bun: ${p} (but it appears to be corrupted?)`)}l||((0,_i.info)(`Downloading a new version of Bun: ${a}`),p=await KG(a,s))}if(!p)throw new Error("Downloaded a new version of Bun, but failed to check its version? Try again.");let[d]=p.split("+");return(0,tC.saveState)("cache",JSON.stringify({cacheEnabled:i,cacheHit:l,bunPath:s,url:a})),{version:d,revision:p,bunPath:s,url:a,cacheHit:l}},"default");function XG(t,e){if(!e||/^(latest|canary|action)$/i.test(e))return!1;let[a]=t.split("+"),i=o(r=>r.replace(/^v/i,""),"normalizeVersion");return i(a)===i(e)}o(XG,"isVersionMatch");async function KG(t,e){let a=KE(await(0,rl.downloadTool)(t),".zip"),i=await(0,rl.extractZip)(a),r=await a4(i);try{(0,ka.renameSync)(r,e)}catch{(0,ka.copyFileSync)(r,e)}return await i4(e)}o(KG,"downloadBun");function YG(t){let{customUrl:e,version:a,noCache:i}=t;return i||e||!a||/latest|canary|action/i.test(a)?!1:(0,um.isFeatureAvailable)()}o(YG,"isCacheEnabled");async function a4(t){for(let e of(0,ka.readdirSync)(t,{withFileTypes:!0})){let{name:a}=e,i=(0,fo.join)(t,a);if(e.isFile()){if(a==="bun"||a==="bun.exe")return i;if(/^bun.*\.zip/.test(a)){let r=await(0,rl.extractZip)(i);return a4(r)}}if(/^bun/.test(a)&&e.isDirectory())return a4(i)}throw new Error("Could not find executable: bun")}o(a4,"extractBun");async function i4(t){let e=await(0,t4.getExecOutput)(t,["--revision"],{ignoreReturnCode:!0});if(e.exitCode===0&&/^\d+\.\d+\.\d+/.test(e.stdout))return e.stdout.trim();let a=await(0,t4.getExecOutput)(t,["--version"],{ignoreReturnCode:!0});if(a.exitCode===0&&/^\d+\.\d+\.\d+/.test(a.stdout))return a.stdout.trim()}o(i4,"getRevision");function rC(t){return t?.trim()?t.split(`
`).map(e=>e.trim()).filter(Boolean).map(QG).filter(Boolean):[]}o(rC,"parseRegistries");function QG(t){let e=t.match(/^(@[a-z0-9-_.]+|[a-z0-9-_.]+(?=:[a-z]+:\/\/)):(.+)$/i);if(e){let a=e[1],i=e[2].trim(),[r,n]=i.split("|",2).map(s=>s?.trim());try{return new URL(r),{url:r,scope:a,...n&&{token:n}}}catch{throw new Error(`Invalid URL in registry configuration: ${r}`)}}else{let[a,i]=t.split("|",2).map(r=>r?.trim());try{return new URL(a),{url:a,scope:"",...i&&{token:i}}}catch{throw new Error(`Invalid URL in registry configuration: ${a}`)}}}o(QG,"parseLine");process.env.RUNNER_TEMP||(process.env.RUNNER_TEMP=(0,sC.tmpdir)());var oC=rC((0,Dt.getInput)("registries")),nC=(0,Dt.getInput)("registry-url"),JG=(0,Dt.getInput)("scope");nC&&oC.push({url:nC,scope:JG,token:"$BUN_AUTH_TOKEN"});iC({version:(0,Dt.getInput)("bun-version")||e4((0,Dt.getInput)("bun-version-file"))||e4("package.json",!0)||void 0,customUrl:(0,Dt.getInput)("bun-download-url")||void 0,registries:oC,noCache:(0,Dt.getBooleanInput)("no-cache")||!1,token:(0,Dt.getInput)("token")}).then(({version:t,revision:e,bunPath:a,url:i,cacheHit:r})=>{(0,Dt.setOutput)("bun-version",t),(0,Dt.setOutput)("bun-revision",e),(0,Dt.setOutput)("bun-path",a),(0,Dt.setOutput)("bun-download-url",i),(0,Dt.setOutput)("cache-hit",r),process.exit(0)}).catch(t=>{(0,Dt.setFailed)(t),process.exit(1)});
`,s+=X6(n+".",e,p)}),s}o(OG,"stringifyArrayOfTables");function RG(t,e,a,i){var r=t+lm(a),n="";return SE(i).length>0&&(n+=e+"["+r+`]
`),n+X6(r+".",e,i)}o(RG,"stringifyComplexTable")});var DE=N(Q6=>{"use strict";Q6.parse=_E();Q6.stringify=IE()});var tC=require("node:os"),Dt=ba(st());var KE=require("node:os"),mo=require("node:path"),ka=require("node:fs"),_i=ba(st()),mm=ba(US()),rl=ba(tE()),a4=ba(In());var po=require("node:fs"),J6=ba(st()),dm=ba(DE());function AE(t,e){if(!e.length)return;let a=0;if(e.forEach(n=>{try{new URL(n.url)}catch{throw new Error(`Invalid registry URL: ${n.url}`)}n.scope||a++}),a>1)throw new Error("You can't have more than one global registry.");(0,J6.info)(`Writing bunfig.toml to '${t}'.`);let i={};if((0,po.existsSync)(t))try{let n=(0,po.readFileSync)(t,{encoding:"utf-8"});i=(0,dm.parse)(n)}catch(n){(0,J6.info)(`Error reading existing bunfig: ${n.message}`),i={}}i.install=i?.install||{},i.install.scopes=i?.install.scopes||{};let r=e.find(n=>!n.scope);r&&(i.install.registry={url:r.url,...r.token?{token:r.token}:{}});for(let n of e)if(n.scope){let s=n.scope.startsWith("@")?n.scope.toLowerCase():`@${n.scope.toLowerCase()}`;i.install.scopes[s]={url:n.url,...n.token?{token:n.token}:{}}}Object.keys(i.install.scopes).length===0&&delete i.install.scopes,(0,po.writeFileSync)(t,(0,dm.stringify)(i),{encoding:"utf8"})}o(AE,"writeBunfig");var YE=ba(st());var qr=ba(st()),jE=require("node:console"),kE=require("node:crypto"),_n=require("node:fs"),cm=require("node:path");var Z6=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,lo=o(t=>{if(typeof t!="string")throw new TypeError("Invalid argument expected string");let e=t.match(Z6);if(!e)throw new Error(`Invalid argument not valid semver ('${t}' received)`);return e.shift(),e},"validateAndParse"),BE=o(t=>t==="*"||t==="x"||t==="X","isWildcard"),ME=o(t=>{let e=parseInt(t,10);return isNaN(e)?t:e},"tryParse"),PG=o((t,e)=>typeof t!=typeof e?[String(t),String(e)]:[t,e],"forceType"),IG=o((t,e)=>{if(BE(t)||BE(e))return 0;let[a,i]=PG(ME(t),ME(e));return a>i?1:a<i?-1:0},"compareStrings"),Lr=o((t,e)=>{for(let a=0;a<Math.max(t.length,e.length);a++){let i=IG(t[a]||"x",e[a]||"x");if(i!==0)return i}return 0},"compareSegments");var Nn=o((t,e)=>{let a=lo(t),i=lo(e),r=a.pop(),n=i.pop(),s=Lr(a,i);return s!==0?s:r&&n?Lr(r.split("."),n.split(".")):r||n?r?-1:1:0},"compareVersions");var qE=o((t,e,a)=>{DG(a);let i=Nn(t,e);return zE[a].includes(i)},"compare"),zE={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1],"!=":[-1,1]},LE=Object.keys(zE),DG=o(t=>{if(typeof t!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof t}`);if(LE.indexOf(t)===-1)throw new Error(`Invalid operator, expected one of ${LE.join("|")}`)},"assertValidOperator");var co=o((t,e)=>{if(e=e.replace(/([><=]+)\s+/g,"$1"),e.includes("||"))return e.split("||").some(E=>co(t,E));if(e.includes(" - ")){let[E,C]=e.split(" - ",2);return co(t,`>=${E} <=${C}`)}else if(e.includes(" "))return e.trim().replace(/\s{2,}/g," ").split(" ").every(E=>co(t,E));let a=e.match(/^([<>=~^]+)/),i=a?a[1]:"=";if(i!=="^"&&i!=="~")return qE(t,e,i);let[r,n,s,,p]=lo(t),[l,d,c,,u]=lo(e),m=[r,n??"x",s??"x"],f=[l,d??"x",c??"x"];if(u&&(!p||Lr(m,f)!==0||Lr(p.split("."),u.split("."))===-1))return!1;let h=f.findIndex(E=>E!=="0")+1,b=i==="~"?2:h>1?h:1;return!(Lr(m.slice(0,b),f.slice(0,b))!==0||Lr(m.slice(b),f.slice(b))===-1)},"satisfies");var uo=o(t=>typeof t=="string"&&/^[v\d]/.test(t)&&Z6.test(t),"validate"),e4=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 AG="1.3.10";function UE(t){return`bun-${(0,kE.createHash)("sha1").update(t).digest("base64")}`}o(UE,"getCacheKey");function HE(t){return t.match(/\/bun-v([^/]+)\//)?.[1]}o(HE,"extractVersionFromUrl");async function FE(t,e){let a=new Headers(e?.headers);a.has("User-Agent")||a.set("User-Agent","@oven-sh/setup-bun");let i=await fetch(t,{...e,headers:a});if(!i.ok){let r=await i.text().catch(()=>"");throw new Error(`Failed to fetch url ${t}. (status code: ${i.status}, status text: ${i.statusText})${r?`
${r}`:""}`)}return i}o(FE,"request");function VE(t,e){return t.endsWith(e)?t:((0,_n.renameSync)(t,t+e),t+e)}o(VE,"addExtension");function um(){let t=process.platform;return t==="win32"?"windows":t}o(um,"getPlatform");function $E(t){if(!t)return!1;let e=t.replace(/^bun-v/,"");return uo(e)?Nn(e,AG)>=0:!0}o($E,"hasNativeWindowsArm64");function GE(t,e,a){return t==="windows"&&(e==="aarch64"||e==="arm64")&&!$E(a)?((0,qr.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(GE,"getArchitecture");function WE(t,e,a,i){if(t==="windows"&&(e==="aarch64"||e==="arm64"))return!!$E(i);if(t==="linux"&&e==="x64"&&a===void 0)try{return(0,_n.readFileSync)("/proc/cpuinfo","utf8").includes("avx2")}catch{return(0,qr.warning)("Failed to detect AVX2 support."),!1}return a??!0}o(WE,"getAvx2");var BG={"package.json":t=>{let e=JSON.parse(t);return e.packageManager?.split("bun@")?.[1]??e.engines?.bun},".tool-versions":t=>t.match(/^bun\s*(?<version>.*?)$/m)?.groups?.version,".bumrc":t=>t,".bun-version":t=>t};function t4(t,e=!1){let a=process.env.GITHUB_WORKSPACE;if(!a||!t)return;(0,qr.debug)(`Reading version from ${t}`);let i=(0,cm.resolve)(a,t),r=(0,cm.basename)(t);if(!(0,_n.existsSync)(i)){e||(0,qr.warning)(`File ${i} not found`);return}let n=BG[r]??(()=>{}),s;try{if(s=n((0,_n.readFileSync)(i,"utf8"))?.trim(),!s){e||(0,qr.warning)(`Failed to read version from ${t}`);return}}catch(p){let{message:l}=p;e||(0,qr.warning)(`Failed to read ${t}: ${l}`)}finally{if(s)return(0,jE.info)(`Obtained version ${s} from ${t}`),s}}o(t4,"readVersionFromFile");async function XE(t){let{customUrl:e}=t;return e||await MG(t)}o(XE,"getDownloadUrl");async function MG(t){let{version:e,os:a,arch:i,avx2:r,profile:n}=t,s;if(e4(e)&&(s=`bun-v${e}`),!s){let b=(await(await FE("https://api.github.com/repos/oven-sh/bun/git/refs/tags",{headers:t.token?{Authorization:`Bearer ${t.token}`}:{}})).json()).filter(E=>E.ref.startsWith("refs/tags/bun-v")||E.ref==="refs/tags/canary").map(E=>E.ref.replace(/refs\/tags\/(bun-v)?/g,"")).filter(Boolean);if(s=b.find(E=>E===e),s)uo(s)&&(s=`bun-v${s}`);else{b=b.filter(C=>uo(C)).sort(Nn);let E=e==="latest"||!e?b.at(-1):b.filter(C=>co(C,e)).at(-1);if(!E)throw new Error(`No Bun release found matching version '${e}'`);s=`bun-v${E}`}}let p=s??e,l=encodeURIComponent(p),d=encodeURIComponent(a??um()),c=encodeURIComponent(GE(a??um(),i??process.arch,p)),u=encodeURIComponent(WE(a??um(),i??process.arch,r,p)===!1?"-baseline":""),m=encodeURIComponent(n===!0?"-profile":""),{href:f}=new URL(`${l}/bun-${d}-${c}${u}${m}.zip`,"https://github.com/oven-sh/bun/releases/download/");return f}o(MG,"getSemverDownloadUrl");var QE=require("node:process");var JE=o(async t=>{let e=(0,mo.join)((0,QE.cwd)(),"bunfig.toml");AE(e,t.registries);let a=await XE(t),i=zG(t),r=(0,mo.join)((0,KE.homedir)(),".bun","bin");try{(0,ka.mkdirSync)(r,{recursive:!0})}catch(u){if(u.code!=="EEXIST")throw u}(0,_i.addPath)(r);let n=o(u=>process.platform==="win32"?`${u}.exe`:u,"exe"),s=(0,mo.join)(r,n("bun"));try{(0,ka.symlinkSync)(s,(0,mo.join)(r,n("bunx")))}catch(u){if(u.code!=="EEXIST")throw u}let p,l=!1;if(!t.customUrl&&(0,ka.existsSync)(s)){let u=await r4(s);u&&LG(u,t.version)&&(p=u,l=!0,(0,_i.info)(`Using existing Bun installation: ${p}`))}if(!p){if(i){let u=UE(a);if(await(0,mm.restoreCache)([s],u))if(p=await r4(s),p){let f=HE(a),[h]=p.split("+");f?h!==f?((0,_i.warning)(`Cached Bun version ${p} does not match expected version ${f}. Re-downloading.`),p=void 0):(l=!0,(0,_i.info)(`Using a cached version of Bun: ${p}`)):((0,_i.warning)(`Could not parse expected version from URL: ${a}. Ignoring cache.`),p=void 0)}else(0,_i.warning)(`Found a cached version of Bun: ${p} (but it appears to be corrupted?)`)}l||((0,_i.info)(`Downloading a new version of Bun: ${a}`),p=await qG(a,s))}if(!p)throw new Error("Downloaded a new version of Bun, but failed to check its version? Try again.");let[d]=p.split("+");return(0,YE.saveState)("cache",JSON.stringify({cacheEnabled:i,cacheHit:l,bunPath:s,url:a})),{version:d,revision:p,bunPath:s,url:a,cacheHit:l}},"default");function LG(t,e){if(!e||/^(latest|canary|action)$/i.test(e))return!1;let[a]=t.split("+"),i=o(r=>r.replace(/^v/i,""),"normalizeVersion");return i(a)===i(e)}o(LG,"isVersionMatch");async function qG(t,e){let a=VE(await(0,rl.downloadTool)(t),".zip"),i=await(0,rl.extractZip)(a),r=await i4(i);try{(0,ka.renameSync)(r,e)}catch{(0,ka.copyFileSync)(r,e)}return await r4(e)}o(qG,"downloadBun");function zG(t){let{customUrl:e,version:a,noCache:i}=t;return i||e||!a||/latest|canary|action/i.test(a)?!1:(0,mm.isFeatureAvailable)()}o(zG,"isCacheEnabled");async function i4(t){for(let e of(0,ka.readdirSync)(t,{withFileTypes:!0})){let{name:a}=e,i=(0,mo.join)(t,a);if(e.isFile()){if(a==="bun"||a==="bun.exe")return i;if(/^bun.*\.zip/.test(a)){let r=await(0,rl.extractZip)(i);return i4(r)}}if(/^bun/.test(a)&&e.isDirectory())return i4(i)}throw new Error("Could not find executable: bun")}o(i4,"extractBun");async function r4(t){let e=await(0,a4.getExecOutput)(t,["--revision"],{ignoreReturnCode:!0});if(e.exitCode===0&&/^\d+\.\d+\.\d+/.test(e.stdout))return e.stdout.trim();let a=await(0,a4.getExecOutput)(t,["--version"],{ignoreReturnCode:!0});if(a.exitCode===0&&/^\d+\.\d+\.\d+/.test(a.stdout))return a.stdout.trim()}o(r4,"getRevision");function ZE(t){return t?.trim()?t.split(`
`).map(e=>e.trim()).filter(Boolean).map(jG).filter(Boolean):[]}o(ZE,"parseRegistries");function jG(t){let e=t.match(/^(@[a-z0-9-_.]+|[a-z0-9-_.]+(?=:[a-z]+:\/\/)):(.+)$/i);if(e){let a=e[1],i=e[2].trim(),[r,n]=i.split("|",2).map(s=>s?.trim());try{return new URL(r),{url:r,scope:a,...n&&{token:n}}}catch{throw new Error(`Invalid URL in registry configuration: ${r}`)}}else{let[a,i]=t.split("|",2).map(r=>r?.trim());try{return new URL(a),{url:a,scope:"",...i&&{token:i}}}catch{throw new Error(`Invalid URL in registry configuration: ${a}`)}}}o(jG,"parseLine");process.env.RUNNER_TEMP||(process.env.RUNNER_TEMP=(0,tC.tmpdir)());var aC=ZE((0,Dt.getInput)("registries")),eC=(0,Dt.getInput)("registry-url"),kG=(0,Dt.getInput)("scope");eC&&aC.push({url:eC,scope:kG,token:"$BUN_AUTH_TOKEN"});JE({version:(0,Dt.getInput)("bun-version")||t4((0,Dt.getInput)("bun-version-file"))||t4("package.json",!0)||void 0,customUrl:(0,Dt.getInput)("bun-download-url")||void 0,registries:aC,noCache:(0,Dt.getBooleanInput)("no-cache")||!1,token:(0,Dt.getInput)("token")}).then(({version:t,revision:e,bunPath:a,url:i,cacheHit:r})=>{(0,Dt.setOutput)("bun-version",t),(0,Dt.setOutput)("bun-revision",e),(0,Dt.setOutput)("bun-path",a),(0,Dt.setOutput)("bun-download-url",i),(0,Dt.setOutput)("cache-hit",r),process.exit(0)}).catch(t=>{(0,Dt.setFailed)(t),process.exit(1)});
/*! Bundled license information:
sax/lib/sax.js:
-1214
View File
File diff suppressed because it is too large. Load diff
+9 -9
View File
@@ -1,7 +1,7 @@
{
"private": true,
"name": "setup-bun",
"version": "2.1.0",
"version": "2.1.3",
"description": "Setup Bun on GitHub Actions.",
"keywords": [
"bun",
@@ -22,20 +22,20 @@
"start": "npm run build && node dist/setup/index.js"
},
"dependencies": {
"@actions/cache": "^4.0.0",
"@actions/core": "^1.11.0",
"@actions/cache": "^4.1.0",
"@actions/core": "^1.11.1",
"@actions/exec": "^1.1.1",
"@actions/glob": "^0.4.0",
"@actions/io": "^1.1.2",
"@actions/tool-cache": "^2.0.1",
"@actions/io": "^1.1.3",
"@actions/tool-cache": "^2.0.2",
"@iarna/toml": "^2.2.5",
"compare-versions": "^6.1.1"
},
"devDependencies": {
"@types/bun": "^1.1.13",
"@types/node": "^20.8.2",
"esbuild": "^0.19.2",
"prettier": "^3.4.2",
"@types/bun": "^1.3.10",
"@types/node": "^20.19.35",
"esbuild": "^0.19.12",
"prettier": "^3.8.1",
"typescript": "^4.9.5"
},
"patchedDependencies": {