@layerzerolabs/vm-tooling 0.0.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (262) hide show
  1. package/bin/lz-tool.cjs +18 -0
  2. package/dist/2TPNSECS.cjs +274 -0
  3. package/dist/2TPNSECS.cjs.map +1 -0
  4. package/dist/33GUXAT7.js +67 -0
  5. package/dist/33GUXAT7.js.map +1 -0
  6. package/dist/3AX3IZXK.cjs +79 -0
  7. package/dist/3AX3IZXK.cjs.map +1 -0
  8. package/dist/3BKFBGX3.cjs +17 -0
  9. package/dist/3BKFBGX3.cjs.map +1 -0
  10. package/dist/3EOFF6NK.cjs +51 -0
  11. package/dist/3EOFF6NK.cjs.map +1 -0
  12. package/dist/4NINFZK7.cjs +38 -0
  13. package/dist/4NINFZK7.cjs.map +1 -0
  14. package/dist/4XKJ5GJB.js +793 -0
  15. package/dist/4XKJ5GJB.js.map +1 -0
  16. package/dist/5EKZTTNT.js +82 -0
  17. package/dist/5EKZTTNT.js.map +1 -0
  18. package/dist/5MIIPWV7.cjs +75 -0
  19. package/dist/5MIIPWV7.cjs.map +1 -0
  20. package/dist/5N3Q6FCT.cjs +4 -0
  21. package/dist/5N3Q6FCT.cjs.map +1 -0
  22. package/dist/63H5FLN6.cjs +216 -0
  23. package/dist/63H5FLN6.cjs.map +1 -0
  24. package/dist/6A3MRQDI.js +3164 -0
  25. package/dist/6A3MRQDI.js.map +1 -0
  26. package/dist/6NLXVH5R.cjs +1089 -0
  27. package/dist/6NLXVH5R.cjs.map +1 -0
  28. package/dist/6UWCX7SA.js +60 -0
  29. package/dist/6UWCX7SA.js.map +1 -0
  30. package/dist/7EXYTS34.js +125 -0
  31. package/dist/7EXYTS34.js.map +1 -0
  32. package/dist/7LKSKL4C.cjs +64 -0
  33. package/dist/7LKSKL4C.cjs.map +1 -0
  34. package/dist/7PKC46XS.js +244 -0
  35. package/dist/7PKC46XS.js.map +1 -0
  36. package/dist/7SRULFYS.cjs +55 -0
  37. package/dist/7SRULFYS.cjs.map +1 -0
  38. package/dist/AH2UQL5E.js +6 -0
  39. package/dist/AH2UQL5E.js.map +1 -0
  40. package/dist/AOG2M3LV.cjs +122 -0
  41. package/dist/AOG2M3LV.cjs.map +1 -0
  42. package/dist/BA2LAHMY.js +43 -0
  43. package/dist/BA2LAHMY.js.map +1 -0
  44. package/dist/BHBC6Q3Y.js +47 -0
  45. package/dist/BHBC6Q3Y.js.map +1 -0
  46. package/dist/CQHBPXZ2.cjs +94 -0
  47. package/dist/CQHBPXZ2.cjs.map +1 -0
  48. package/dist/CSNPKKTO.js +125 -0
  49. package/dist/CSNPKKTO.js.map +1 -0
  50. package/dist/E75FXJNJ.js +393 -0
  51. package/dist/E75FXJNJ.js.map +1 -0
  52. package/dist/EASTPCLB.js +195 -0
  53. package/dist/EASTPCLB.js.map +1 -0
  54. package/dist/EJCGU7LP.cjs +252 -0
  55. package/dist/EJCGU7LP.cjs.map +1 -0
  56. package/dist/EKUFNO5X.js +3 -0
  57. package/dist/EKUFNO5X.js.map +1 -0
  58. package/dist/EQPMZDRH.js +63 -0
  59. package/dist/EQPMZDRH.js.map +1 -0
  60. package/dist/F5UPK5ZZ.js +2445 -0
  61. package/dist/F5UPK5ZZ.js.map +1 -0
  62. package/dist/GAZMRBLT.js +36 -0
  63. package/dist/GAZMRBLT.js.map +1 -0
  64. package/dist/JBULQDMK.js +1064 -0
  65. package/dist/JBULQDMK.js.map +1 -0
  66. package/dist/JY6PMFYV.js +60 -0
  67. package/dist/JY6PMFYV.js.map +1 -0
  68. package/dist/KTOZRP5U.cjs +404 -0
  69. package/dist/KTOZRP5U.cjs.map +1 -0
  70. package/dist/L3BNN3KF.cjs +2490 -0
  71. package/dist/L3BNN3KF.cjs.map +1 -0
  72. package/dist/L75NPWJX.cjs +204 -0
  73. package/dist/L75NPWJX.cjs.map +1 -0
  74. package/dist/LBQPL6VK.cjs +46 -0
  75. package/dist/LBQPL6VK.cjs.map +1 -0
  76. package/dist/LUG7USNZ.js +120 -0
  77. package/dist/LUG7USNZ.js.map +1 -0
  78. package/dist/LXXIBLJQ.js +15 -0
  79. package/dist/LXXIBLJQ.js.map +1 -0
  80. package/dist/MBTHP667.cjs +39 -0
  81. package/dist/MBTHP667.cjs.map +1 -0
  82. package/dist/NMC54VEB.cjs +128 -0
  83. package/dist/NMC54VEB.cjs.map +1 -0
  84. package/dist/NX4KBEWA.cjs +13 -0
  85. package/dist/NX4KBEWA.cjs.map +1 -0
  86. package/dist/OU33HN4T.js +92 -0
  87. package/dist/OU33HN4T.js.map +1 -0
  88. package/dist/OVH4V3F6.js +77 -0
  89. package/dist/OVH4V3F6.js.map +1 -0
  90. package/dist/OWJM6QQP.js +233 -0
  91. package/dist/OWJM6QQP.js.map +1 -0
  92. package/dist/PC55ZLZD.cjs +66 -0
  93. package/dist/PC55ZLZD.cjs.map +1 -0
  94. package/dist/PGRNZALP.cjs +3427 -0
  95. package/dist/PGRNZALP.cjs.map +1 -0
  96. package/dist/PXT4MQYT.cjs +3191 -0
  97. package/dist/PXT4MQYT.cjs.map +1 -0
  98. package/dist/QMIU5HY3.cjs +174 -0
  99. package/dist/QMIU5HY3.cjs.map +1 -0
  100. package/dist/QNKHVJNZ.js +43 -0
  101. package/dist/QNKHVJNZ.js.map +1 -0
  102. package/dist/QSKQ7BQT.cjs +111 -0
  103. package/dist/QSKQ7BQT.cjs.map +1 -0
  104. package/dist/QWROCDWJ.cjs +315 -0
  105. package/dist/QWROCDWJ.cjs.map +1 -0
  106. package/dist/RAIK357L.js +214 -0
  107. package/dist/RAIK357L.js.map +1 -0
  108. package/dist/RLUL6JFM.cjs +4 -0
  109. package/dist/RLUL6JFM.cjs.map +1 -0
  110. package/dist/RVOOJEDH.js +3385 -0
  111. package/dist/RVOOJEDH.js.map +1 -0
  112. package/dist/RVTTXEXB.cjs +235 -0
  113. package/dist/RVTTXEXB.cjs.map +1 -0
  114. package/dist/SKAV3OJX.js +118 -0
  115. package/dist/SKAV3OJX.js.map +1 -0
  116. package/dist/TA2DABDY.cjs +126 -0
  117. package/dist/TA2DABDY.cjs.map +1 -0
  118. package/dist/THMQMWYA.cjs +17 -0
  119. package/dist/THMQMWYA.cjs.map +1 -0
  120. package/dist/TPVIFJX4.js +236 -0
  121. package/dist/TPVIFJX4.js.map +1 -0
  122. package/dist/VDH76SF6.cjs +132 -0
  123. package/dist/VDH76SF6.cjs.map +1 -0
  124. package/dist/VUOMXK5T.js +6 -0
  125. package/dist/VUOMXK5T.js.map +1 -0
  126. package/dist/W3KWDJYA.cjs +85 -0
  127. package/dist/W3KWDJYA.cjs.map +1 -0
  128. package/dist/WAGFMHUT.js +311 -0
  129. package/dist/WAGFMHUT.js.map +1 -0
  130. package/dist/WBKUP4MX.js +168 -0
  131. package/dist/WBKUP4MX.js.map +1 -0
  132. package/dist/XH4FQTBY.cjs +62 -0
  133. package/dist/XH4FQTBY.cjs.map +1 -0
  134. package/dist/YTUEW27V.js +109 -0
  135. package/dist/YTUEW27V.js.map +1 -0
  136. package/dist/YVV5I7A5.js +15 -0
  137. package/dist/YVV5I7A5.js.map +1 -0
  138. package/dist/Z5NOJAAG.cjs +796 -0
  139. package/dist/Z5NOJAAG.cjs.map +1 -0
  140. package/dist/ZEW74YLA.js +3 -0
  141. package/dist/ZEW74YLA.js.map +1 -0
  142. package/dist/config/index.cjs +27 -0
  143. package/dist/config/index.cjs.map +1 -0
  144. package/dist/config/index.d.ts +5 -0
  145. package/dist/config/index.d.ts.map +1 -0
  146. package/dist/config/index.js +6 -0
  147. package/dist/config/index.js.map +1 -0
  148. package/dist/config/tools.cjs +15 -0
  149. package/dist/config/tools.cjs.map +1 -0
  150. package/dist/config/tools.d.ts +6 -0
  151. package/dist/config/tools.d.ts.map +1 -0
  152. package/dist/config/tools.js +6 -0
  153. package/dist/config/tools.js.map +1 -0
  154. package/dist/config/version-matrices.cjs +13 -0
  155. package/dist/config/version-matrices.cjs.map +1 -0
  156. package/dist/config/version-matrices.d.ts +7 -0
  157. package/dist/config/version-matrices.d.ts.map +1 -0
  158. package/dist/config/version-matrices.js +4 -0
  159. package/dist/config/version-matrices.js.map +1 -0
  160. package/dist/core/compatibility.cjs +13 -0
  161. package/dist/core/compatibility.cjs.map +1 -0
  162. package/dist/core/compatibility.d.ts +8 -0
  163. package/dist/core/compatibility.d.ts.map +1 -0
  164. package/dist/core/compatibility.js +4 -0
  165. package/dist/core/compatibility.js.map +1 -0
  166. package/dist/core/index.cjs +35 -0
  167. package/dist/core/index.cjs.map +1 -0
  168. package/dist/core/index.d.ts +4 -0
  169. package/dist/core/index.d.ts.map +1 -0
  170. package/dist/core/index.js +10 -0
  171. package/dist/core/index.js.map +1 -0
  172. package/dist/core/tool-executor.cjs +18 -0
  173. package/dist/core/tool-executor.cjs.map +1 -0
  174. package/dist/core/tool-executor.d.ts +12 -0
  175. package/dist/core/tool-executor.d.ts.map +1 -0
  176. package/dist/core/tool-executor.js +9 -0
  177. package/dist/core/tool-executor.js.map +1 -0
  178. package/dist/core/version-resolver.cjs +25 -0
  179. package/dist/core/version-resolver.cjs.map +1 -0
  180. package/dist/core/version-resolver.d.ts +30 -0
  181. package/dist/core/version-resolver.d.ts.map +1 -0
  182. package/dist/core/version-resolver.js +8 -0
  183. package/dist/core/version-resolver.js.map +1 -0
  184. package/dist/display/formatters.cjs +17 -0
  185. package/dist/display/formatters.cjs.map +1 -0
  186. package/dist/display/formatters.d.ts +15 -0
  187. package/dist/display/formatters.d.ts.map +1 -0
  188. package/dist/display/formatters.js +4 -0
  189. package/dist/display/formatters.js.map +1 -0
  190. package/dist/display/index.cjs +30 -0
  191. package/dist/display/index.cjs.map +1 -0
  192. package/dist/display/index.d.ts +3 -0
  193. package/dist/display/index.d.ts.map +1 -0
  194. package/dist/display/index.js +9 -0
  195. package/dist/display/index.js.map +1 -0
  196. package/dist/display/version-display.cjs +21 -0
  197. package/dist/display/version-display.cjs.map +1 -0
  198. package/dist/display/version-display.d.ts +9 -0
  199. package/dist/display/version-display.d.ts.map +1 -0
  200. package/dist/display/version-display.js +8 -0
  201. package/dist/display/version-display.js.map +1 -0
  202. package/dist/index.cjs +111 -0
  203. package/dist/index.cjs.map +1 -0
  204. package/dist/index.d.ts +2 -0
  205. package/dist/index.d.ts.map +1 -0
  206. package/dist/index.js +103 -0
  207. package/dist/index.js.map +1 -0
  208. package/dist/scripts/generate-github-matrix.cjs +1946 -0
  209. package/dist/scripts/generate-github-matrix.cjs.map +1 -0
  210. package/dist/scripts/generate-github-matrix.d.ts +2 -0
  211. package/dist/scripts/generate-github-matrix.d.ts.map +1 -0
  212. package/dist/scripts/generate-github-matrix.js +1944 -0
  213. package/dist/scripts/generate-github-matrix.js.map +1 -0
  214. package/dist/types/docker.cjs +6 -0
  215. package/dist/types/docker.cjs.map +1 -0
  216. package/dist/types/docker.d.ts +10 -0
  217. package/dist/types/docker.d.ts.map +1 -0
  218. package/dist/types/docker.js +3 -0
  219. package/dist/types/docker.js.map +1 -0
  220. package/dist/types/index.cjs +6 -0
  221. package/dist/types/index.cjs.map +1 -0
  222. package/dist/types/index.d.ts +4 -0
  223. package/dist/types/index.d.ts.map +1 -0
  224. package/dist/types/index.js +3 -0
  225. package/dist/types/index.js.map +1 -0
  226. package/dist/types/tool.cjs +6 -0
  227. package/dist/types/tool.cjs.map +1 -0
  228. package/dist/types/tool.d.ts +27 -0
  229. package/dist/types/tool.d.ts.map +1 -0
  230. package/dist/types/tool.js +3 -0
  231. package/dist/types/tool.js.map +1 -0
  232. package/dist/types/version.cjs +6 -0
  233. package/dist/types/version.cjs.map +1 -0
  234. package/dist/types/version.d.ts +33 -0
  235. package/dist/types/version.d.ts.map +1 -0
  236. package/dist/types/version.js +3 -0
  237. package/dist/types/version.js.map +1 -0
  238. package/dist/utils/finder-utils.cjs +39 -0
  239. package/dist/utils/finder-utils.cjs.map +1 -0
  240. package/dist/utils/finder-utils.d.ts +31 -0
  241. package/dist/utils/finder-utils.d.ts.map +1 -0
  242. package/dist/utils/finder-utils.js +6 -0
  243. package/dist/utils/finder-utils.js.map +1 -0
  244. package/dist/utils/index.cjs +55 -0
  245. package/dist/utils/index.cjs.map +1 -0
  246. package/dist/utils/index.d.ts +3 -0
  247. package/dist/utils/index.d.ts.map +1 -0
  248. package/dist/utils/index.js +6 -0
  249. package/dist/utils/index.js.map +1 -0
  250. package/dist/utils/version-utils.cjs +27 -0
  251. package/dist/utils/version-utils.cjs.map +1 -0
  252. package/dist/utils/version-utils.d.ts +18 -0
  253. package/dist/utils/version-utils.d.ts.map +1 -0
  254. package/dist/utils/version-utils.js +6 -0
  255. package/dist/utils/version-utils.js.map +1 -0
  256. package/dist/utils.cjs +17 -0
  257. package/dist/utils.cjs.map +1 -0
  258. package/dist/utils.d.ts +9 -0
  259. package/dist/utils.d.ts.map +1 -0
  260. package/dist/utils.js +4 -0
  261. package/dist/utils.js.map +1 -0
  262. package/package.json +57 -0
@@ -0,0 +1,1089 @@
1
+ 'use strict';
2
+
3
+ var _3AX3IZXK_cjs = require('./3AX3IZXK.cjs');
4
+ var AOG2M3LV_cjs = require('./AOG2M3LV.cjs');
5
+ var THMQMWYA_cjs = require('./THMQMWYA.cjs');
6
+ var _7LKSKL4C_cjs = require('./7LKSKL4C.cjs');
7
+ var PGRNZALP_cjs = require('./PGRNZALP.cjs');
8
+ var NMC54VEB_cjs = require('./NMC54VEB.cjs');
9
+ require('./L75NPWJX.cjs');
10
+ var L3BNN3KF_cjs = require('./L3BNN3KF.cjs');
11
+ var _5MIIPWV7_cjs = require('./5MIIPWV7.cjs');
12
+ require('./3BKFBGX3.cjs');
13
+ require('./XH4FQTBY.cjs');
14
+ require('./VDH76SF6.cjs');
15
+ var NX4KBEWA_cjs = require('./NX4KBEWA.cjs');
16
+
17
+ // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js
18
+ var defaultSSOOIDCHttpAuthSchemeParametersProvider = /* @__PURE__ */ NX4KBEWA_cjs.__name(async (config, context, input) => {
19
+ return {
20
+ operation: PGRNZALP_cjs.getSmithyContext(context).operation,
21
+ region: await PGRNZALP_cjs.normalizeProvider(config.region)() || (() => {
22
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
23
+ })()
24
+ };
25
+ }, "defaultSSOOIDCHttpAuthSchemeParametersProvider");
26
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
27
+ return {
28
+ schemeId: "aws.auth#sigv4",
29
+ signingProperties: {
30
+ name: "sso-oauth",
31
+ region: authParameters.region
32
+ },
33
+ propertiesExtractor: /* @__PURE__ */ NX4KBEWA_cjs.__name((config, context) => ({
34
+ signingProperties: {
35
+ config,
36
+ context
37
+ }
38
+ }), "propertiesExtractor")
39
+ };
40
+ }
41
+ NX4KBEWA_cjs.__name(createAwsAuthSigv4HttpAuthOption, "createAwsAuthSigv4HttpAuthOption");
42
+ function createSmithyApiNoAuthHttpAuthOption(authParameters) {
43
+ return {
44
+ schemeId: "smithy.api#noAuth"
45
+ };
46
+ }
47
+ NX4KBEWA_cjs.__name(createSmithyApiNoAuthHttpAuthOption, "createSmithyApiNoAuthHttpAuthOption");
48
+ var defaultSSOOIDCHttpAuthSchemeProvider = /* @__PURE__ */ NX4KBEWA_cjs.__name((authParameters) => {
49
+ const options = [];
50
+ switch (authParameters.operation) {
51
+ case "CreateToken": {
52
+ options.push(createSmithyApiNoAuthHttpAuthOption());
53
+ break;
54
+ }
55
+ default: {
56
+ options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
57
+ }
58
+ }
59
+ return options;
60
+ }, "defaultSSOOIDCHttpAuthSchemeProvider");
61
+ var resolveHttpAuthSchemeConfig = /* @__PURE__ */ NX4KBEWA_cjs.__name((config) => {
62
+ const config_0 = PGRNZALP_cjs.resolveAwsSdkSigV4Config(config);
63
+ return Object.assign(config_0, {
64
+ authSchemePreference: PGRNZALP_cjs.normalizeProvider(config.authSchemePreference ?? [])
65
+ });
66
+ }, "resolveHttpAuthSchemeConfig");
67
+
68
+ // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/EndpointParameters.js
69
+ var resolveClientEndpointParameters = /* @__PURE__ */ NX4KBEWA_cjs.__name((options) => {
70
+ return Object.assign(options, {
71
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
72
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
73
+ defaultSigningName: "sso-oauth"
74
+ });
75
+ }, "resolveClientEndpointParameters");
76
+ var commonParams = {
77
+ UseFIPS: {
78
+ type: "builtInParams",
79
+ name: "useFipsEndpoint"
80
+ },
81
+ Endpoint: {
82
+ type: "builtInParams",
83
+ name: "endpoint"
84
+ },
85
+ Region: {
86
+ type: "builtInParams",
87
+ name: "region"
88
+ },
89
+ UseDualStack: {
90
+ type: "builtInParams",
91
+ name: "useDualstackEndpoint"
92
+ }
93
+ };
94
+
95
+ // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/ruleset.js
96
+ var u = "required";
97
+ var v = "fn";
98
+ var w = "argv";
99
+ var x = "ref";
100
+ var a = true;
101
+ var b = "isSet";
102
+ var c = "booleanEquals";
103
+ var d = "error";
104
+ var e = "endpoint";
105
+ var f = "tree";
106
+ var g = "PartitionResult";
107
+ var h = "getAttr";
108
+ var i = {
109
+ [u]: false,
110
+ "type": "String"
111
+ };
112
+ var j = {
113
+ [u]: true,
114
+ "default": false,
115
+ "type": "Boolean"
116
+ };
117
+ var k = {
118
+ [x]: "Endpoint"
119
+ };
120
+ var l = {
121
+ [v]: c,
122
+ [w]: [
123
+ {
124
+ [x]: "UseFIPS"
125
+ },
126
+ true
127
+ ]
128
+ };
129
+ var m = {
130
+ [v]: c,
131
+ [w]: [
132
+ {
133
+ [x]: "UseDualStack"
134
+ },
135
+ true
136
+ ]
137
+ };
138
+ var n = {};
139
+ var o = {
140
+ [v]: h,
141
+ [w]: [
142
+ {
143
+ [x]: g
144
+ },
145
+ "supportsFIPS"
146
+ ]
147
+ };
148
+ var p = {
149
+ [x]: g
150
+ };
151
+ var q = {
152
+ [v]: c,
153
+ [w]: [
154
+ true,
155
+ {
156
+ [v]: h,
157
+ [w]: [
158
+ p,
159
+ "supportsDualStack"
160
+ ]
161
+ }
162
+ ]
163
+ };
164
+ var r = [
165
+ l
166
+ ];
167
+ var s = [
168
+ m
169
+ ];
170
+ var t = [
171
+ {
172
+ [x]: "Region"
173
+ }
174
+ ];
175
+ var _data = {
176
+ version: "1.0",
177
+ parameters: {
178
+ Region: i,
179
+ UseDualStack: j,
180
+ UseFIPS: j,
181
+ Endpoint: i
182
+ },
183
+ rules: [
184
+ {
185
+ conditions: [
186
+ {
187
+ [v]: b,
188
+ [w]: [
189
+ k
190
+ ]
191
+ }
192
+ ],
193
+ rules: [
194
+ {
195
+ conditions: r,
196
+ error: "Invalid Configuration: FIPS and custom endpoint are not supported",
197
+ type: d
198
+ },
199
+ {
200
+ conditions: s,
201
+ error: "Invalid Configuration: Dualstack and custom endpoint are not supported",
202
+ type: d
203
+ },
204
+ {
205
+ endpoint: {
206
+ url: k,
207
+ properties: n,
208
+ headers: n
209
+ },
210
+ type: e
211
+ }
212
+ ],
213
+ type: f
214
+ },
215
+ {
216
+ conditions: [
217
+ {
218
+ [v]: b,
219
+ [w]: t
220
+ }
221
+ ],
222
+ rules: [
223
+ {
224
+ conditions: [
225
+ {
226
+ [v]: "aws.partition",
227
+ [w]: t,
228
+ assign: g
229
+ }
230
+ ],
231
+ rules: [
232
+ {
233
+ conditions: [
234
+ l,
235
+ m
236
+ ],
237
+ rules: [
238
+ {
239
+ conditions: [
240
+ {
241
+ [v]: c,
242
+ [w]: [
243
+ a,
244
+ o
245
+ ]
246
+ },
247
+ q
248
+ ],
249
+ rules: [
250
+ {
251
+ endpoint: {
252
+ url: "https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
253
+ properties: n,
254
+ headers: n
255
+ },
256
+ type: e
257
+ }
258
+ ],
259
+ type: f
260
+ },
261
+ {
262
+ error: "FIPS and DualStack are enabled, but this partition does not support one or both",
263
+ type: d
264
+ }
265
+ ],
266
+ type: f
267
+ },
268
+ {
269
+ conditions: r,
270
+ rules: [
271
+ {
272
+ conditions: [
273
+ {
274
+ [v]: c,
275
+ [w]: [
276
+ o,
277
+ a
278
+ ]
279
+ }
280
+ ],
281
+ rules: [
282
+ {
283
+ conditions: [
284
+ {
285
+ [v]: "stringEquals",
286
+ [w]: [
287
+ {
288
+ [v]: h,
289
+ [w]: [
290
+ p,
291
+ "name"
292
+ ]
293
+ },
294
+ "aws-us-gov"
295
+ ]
296
+ }
297
+ ],
298
+ endpoint: {
299
+ url: "https://oidc.{Region}.amazonaws.com",
300
+ properties: n,
301
+ headers: n
302
+ },
303
+ type: e
304
+ },
305
+ {
306
+ endpoint: {
307
+ url: "https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}",
308
+ properties: n,
309
+ headers: n
310
+ },
311
+ type: e
312
+ }
313
+ ],
314
+ type: f
315
+ },
316
+ {
317
+ error: "FIPS is enabled but this partition does not support FIPS",
318
+ type: d
319
+ }
320
+ ],
321
+ type: f
322
+ },
323
+ {
324
+ conditions: s,
325
+ rules: [
326
+ {
327
+ conditions: [
328
+ q
329
+ ],
330
+ rules: [
331
+ {
332
+ endpoint: {
333
+ url: "https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}",
334
+ properties: n,
335
+ headers: n
336
+ },
337
+ type: e
338
+ }
339
+ ],
340
+ type: f
341
+ },
342
+ {
343
+ error: "DualStack is enabled but this partition does not support DualStack",
344
+ type: d
345
+ }
346
+ ],
347
+ type: f
348
+ },
349
+ {
350
+ endpoint: {
351
+ url: "https://oidc.{Region}.{PartitionResult#dnsSuffix}",
352
+ properties: n,
353
+ headers: n
354
+ },
355
+ type: e
356
+ }
357
+ ],
358
+ type: f
359
+ }
360
+ ],
361
+ type: f
362
+ },
363
+ {
364
+ error: "Invalid Configuration: Missing Region",
365
+ type: d
366
+ }
367
+ ]
368
+ };
369
+ var ruleSet = _data;
370
+
371
+ // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/endpointResolver.js
372
+ var cache = new PGRNZALP_cjs.EndpointCache({
373
+ size: 50,
374
+ params: [
375
+ "Endpoint",
376
+ "Region",
377
+ "UseDualStack",
378
+ "UseFIPS"
379
+ ]
380
+ });
381
+ var defaultEndpointResolver = /* @__PURE__ */ NX4KBEWA_cjs.__name((endpointParams, context = {}) => {
382
+ return cache.get(endpointParams, () => PGRNZALP_cjs.resolveEndpoint(ruleSet, {
383
+ endpointParams,
384
+ logger: context.logger
385
+ }));
386
+ }, "defaultEndpointResolver");
387
+ PGRNZALP_cjs.customEndpointFunctions.aws = PGRNZALP_cjs.awsEndpointFunctions;
388
+
389
+ // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.shared.js
390
+ var getRuntimeConfig = /* @__PURE__ */ NX4KBEWA_cjs.__name((config) => {
391
+ return {
392
+ apiVersion: "2019-06-10",
393
+ base64Decoder: config?.base64Decoder ?? L3BNN3KF_cjs.fromBase64,
394
+ base64Encoder: config?.base64Encoder ?? L3BNN3KF_cjs.toBase64,
395
+ disableHostPrefix: config?.disableHostPrefix ?? false,
396
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
397
+ extensions: config?.extensions ?? [],
398
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultSSOOIDCHttpAuthSchemeProvider,
399
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
400
+ {
401
+ schemeId: "aws.auth#sigv4",
402
+ identityProvider: /* @__PURE__ */ NX4KBEWA_cjs.__name((ipc) => ipc.getIdentityProvider("aws.auth#sigv4"), "identityProvider"),
403
+ signer: new PGRNZALP_cjs.AwsSdkSigV4Signer()
404
+ },
405
+ {
406
+ schemeId: "smithy.api#noAuth",
407
+ identityProvider: /* @__PURE__ */ NX4KBEWA_cjs.__name((ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})), "identityProvider"),
408
+ signer: new THMQMWYA_cjs.NoAuthSigner()
409
+ }
410
+ ],
411
+ logger: config?.logger ?? new L3BNN3KF_cjs.NoOpLogger(),
412
+ serviceId: config?.serviceId ?? "SSO OIDC",
413
+ urlParser: config?.urlParser ?? NMC54VEB_cjs.parseUrl,
414
+ utf8Decoder: config?.utf8Decoder ?? _5MIIPWV7_cjs.fromUtf8,
415
+ utf8Encoder: config?.utf8Encoder ?? _5MIIPWV7_cjs.toUtf8
416
+ };
417
+ }, "getRuntimeConfig");
418
+
419
+ // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js
420
+ var getRuntimeConfig2 = /* @__PURE__ */ NX4KBEWA_cjs.__name((config) => {
421
+ L3BNN3KF_cjs.emitWarningIfUnsupportedVersion(process.version);
422
+ const defaultsMode = PGRNZALP_cjs.resolveDefaultsModeConfig(config);
423
+ const defaultConfigProvider = /* @__PURE__ */ NX4KBEWA_cjs.__name(() => defaultsMode().then(L3BNN3KF_cjs.loadConfigsForDefaultMode), "defaultConfigProvider");
424
+ const clientSharedValues = getRuntimeConfig(config);
425
+ PGRNZALP_cjs.emitWarningIfUnsupportedVersion(process.version);
426
+ const loaderConfig = {
427
+ profile: config?.profile,
428
+ logger: clientSharedValues.logger
429
+ };
430
+ return {
431
+ ...clientSharedValues,
432
+ ...config,
433
+ runtime: "node",
434
+ defaultsMode,
435
+ authSchemePreference: config?.authSchemePreference ?? NMC54VEB_cjs.loadConfig(PGRNZALP_cjs.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
436
+ bodyLengthChecker: config?.bodyLengthChecker ?? PGRNZALP_cjs.calculateBodyLength,
437
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? PGRNZALP_cjs.createDefaultUserAgentProvider({
438
+ serviceId: clientSharedValues.serviceId,
439
+ clientVersion: AOG2M3LV_cjs.package_default.version
440
+ }),
441
+ maxAttempts: config?.maxAttempts ?? NMC54VEB_cjs.loadConfig(PGRNZALP_cjs.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
442
+ region: config?.region ?? NMC54VEB_cjs.loadConfig(PGRNZALP_cjs.NODE_REGION_CONFIG_OPTIONS, {
443
+ ...PGRNZALP_cjs.NODE_REGION_CONFIG_FILE_OPTIONS,
444
+ ...loaderConfig
445
+ }),
446
+ requestHandler: L3BNN3KF_cjs.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
447
+ retryMode: config?.retryMode ?? NMC54VEB_cjs.loadConfig({
448
+ ...PGRNZALP_cjs.NODE_RETRY_MODE_CONFIG_OPTIONS,
449
+ default: /* @__PURE__ */ NX4KBEWA_cjs.__name(async () => (await defaultConfigProvider()).retryMode || PGRNZALP_cjs.DEFAULT_RETRY_MODE, "default")
450
+ }, config),
451
+ sha256: config?.sha256 ?? PGRNZALP_cjs.Hash.bind(null, "sha256"),
452
+ streamCollector: config?.streamCollector ?? L3BNN3KF_cjs.streamCollector,
453
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? NMC54VEB_cjs.loadConfig(PGRNZALP_cjs.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
454
+ useFipsEndpoint: config?.useFipsEndpoint ?? NMC54VEB_cjs.loadConfig(PGRNZALP_cjs.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
455
+ userAgentAppId: config?.userAgentAppId ?? NMC54VEB_cjs.loadConfig(PGRNZALP_cjs.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig)
456
+ };
457
+ }, "getRuntimeConfig");
458
+
459
+ // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.js
460
+ var getHttpAuthExtensionConfiguration = /* @__PURE__ */ NX4KBEWA_cjs.__name((runtimeConfig) => {
461
+ const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
462
+ let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
463
+ let _credentials = runtimeConfig.credentials;
464
+ return {
465
+ setHttpAuthScheme(httpAuthScheme) {
466
+ const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
467
+ if (index === -1) {
468
+ _httpAuthSchemes.push(httpAuthScheme);
469
+ } else {
470
+ _httpAuthSchemes.splice(index, 1, httpAuthScheme);
471
+ }
472
+ },
473
+ httpAuthSchemes() {
474
+ return _httpAuthSchemes;
475
+ },
476
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
477
+ _httpAuthSchemeProvider = httpAuthSchemeProvider;
478
+ },
479
+ httpAuthSchemeProvider() {
480
+ return _httpAuthSchemeProvider;
481
+ },
482
+ setCredentials(credentials) {
483
+ _credentials = credentials;
484
+ },
485
+ credentials() {
486
+ return _credentials;
487
+ }
488
+ };
489
+ }, "getHttpAuthExtensionConfiguration");
490
+ var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ NX4KBEWA_cjs.__name((config) => {
491
+ return {
492
+ httpAuthSchemes: config.httpAuthSchemes(),
493
+ httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
494
+ credentials: config.credentials()
495
+ };
496
+ }, "resolveHttpAuthRuntimeConfig");
497
+
498
+ // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeExtensions.js
499
+ var resolveRuntimeExtensions = /* @__PURE__ */ NX4KBEWA_cjs.__name((runtimeConfig, extensions) => {
500
+ const extensionConfiguration = Object.assign(PGRNZALP_cjs.getAwsRegionExtensionConfiguration(runtimeConfig), L3BNN3KF_cjs.getDefaultExtensionConfiguration(runtimeConfig), L3BNN3KF_cjs.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
501
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
502
+ return Object.assign(runtimeConfig, PGRNZALP_cjs.resolveAwsRegionExtensionConfiguration(extensionConfiguration), L3BNN3KF_cjs.resolveDefaultRuntimeConfig(extensionConfiguration), L3BNN3KF_cjs.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
503
+ }, "resolveRuntimeExtensions");
504
+
505
+ // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js
506
+ var SSOOIDCClient = class extends L3BNN3KF_cjs.Client {
507
+ static {
508
+ NX4KBEWA_cjs.__name(this, "SSOOIDCClient");
509
+ }
510
+ config;
511
+ constructor(...[configuration]) {
512
+ const _config_0 = getRuntimeConfig2(configuration || {});
513
+ super(_config_0);
514
+ this.initConfig = _config_0;
515
+ const _config_1 = resolveClientEndpointParameters(_config_0);
516
+ const _config_2 = PGRNZALP_cjs.resolveUserAgentConfig(_config_1);
517
+ const _config_3 = PGRNZALP_cjs.resolveRetryConfig(_config_2);
518
+ const _config_4 = PGRNZALP_cjs.resolveRegionConfig(_config_3);
519
+ const _config_5 = PGRNZALP_cjs.resolveHostHeaderConfig(_config_4);
520
+ const _config_6 = PGRNZALP_cjs.resolveEndpointConfig(_config_5);
521
+ const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
522
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
523
+ this.config = _config_8;
524
+ this.middlewareStack.use(PGRNZALP_cjs.getUserAgentPlugin(this.config));
525
+ this.middlewareStack.use(PGRNZALP_cjs.getRetryPlugin(this.config));
526
+ this.middlewareStack.use(PGRNZALP_cjs.getContentLengthPlugin(this.config));
527
+ this.middlewareStack.use(PGRNZALP_cjs.getHostHeaderPlugin(this.config));
528
+ this.middlewareStack.use(PGRNZALP_cjs.getLoggerPlugin(this.config));
529
+ this.middlewareStack.use(PGRNZALP_cjs.getRecursionDetectionPlugin(this.config));
530
+ this.middlewareStack.use(PGRNZALP_cjs.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
531
+ httpAuthSchemeParametersProvider: defaultSSOOIDCHttpAuthSchemeParametersProvider,
532
+ identityProviderConfigProvider: /* @__PURE__ */ NX4KBEWA_cjs.__name(async (config) => new PGRNZALP_cjs.DefaultIdentityProviderConfig({
533
+ "aws.auth#sigv4": config.credentials
534
+ }), "identityProviderConfigProvider")
535
+ }));
536
+ this.middlewareStack.use(PGRNZALP_cjs.getHttpSigningPlugin(this.config));
537
+ }
538
+ destroy() {
539
+ super.destroy();
540
+ }
541
+ };
542
+
543
+ // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/SSOOIDCServiceException.js
544
+ var SSOOIDCServiceException = class _SSOOIDCServiceException extends L3BNN3KF_cjs.ServiceException {
545
+ static {
546
+ NX4KBEWA_cjs.__name(this, "SSOOIDCServiceException");
547
+ }
548
+ constructor(options) {
549
+ super(options);
550
+ Object.setPrototypeOf(this, _SSOOIDCServiceException.prototype);
551
+ }
552
+ };
553
+
554
+ // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/models_0.js
555
+ var AccessDeniedException = class _AccessDeniedException extends SSOOIDCServiceException {
556
+ static {
557
+ NX4KBEWA_cjs.__name(this, "AccessDeniedException");
558
+ }
559
+ name = "AccessDeniedException";
560
+ $fault = "client";
561
+ error;
562
+ error_description;
563
+ constructor(opts) {
564
+ super({
565
+ name: "AccessDeniedException",
566
+ $fault: "client",
567
+ ...opts
568
+ });
569
+ Object.setPrototypeOf(this, _AccessDeniedException.prototype);
570
+ this.error = opts.error;
571
+ this.error_description = opts.error_description;
572
+ }
573
+ };
574
+ var AuthorizationPendingException = class _AuthorizationPendingException extends SSOOIDCServiceException {
575
+ static {
576
+ NX4KBEWA_cjs.__name(this, "AuthorizationPendingException");
577
+ }
578
+ name = "AuthorizationPendingException";
579
+ $fault = "client";
580
+ error;
581
+ error_description;
582
+ constructor(opts) {
583
+ super({
584
+ name: "AuthorizationPendingException",
585
+ $fault: "client",
586
+ ...opts
587
+ });
588
+ Object.setPrototypeOf(this, _AuthorizationPendingException.prototype);
589
+ this.error = opts.error;
590
+ this.error_description = opts.error_description;
591
+ }
592
+ };
593
+ var CreateTokenRequestFilterSensitiveLog = /* @__PURE__ */ NX4KBEWA_cjs.__name((obj) => ({
594
+ ...obj,
595
+ ...obj.clientSecret && {
596
+ clientSecret: L3BNN3KF_cjs.SENSITIVE_STRING
597
+ },
598
+ ...obj.refreshToken && {
599
+ refreshToken: L3BNN3KF_cjs.SENSITIVE_STRING
600
+ },
601
+ ...obj.codeVerifier && {
602
+ codeVerifier: L3BNN3KF_cjs.SENSITIVE_STRING
603
+ }
604
+ }), "CreateTokenRequestFilterSensitiveLog");
605
+ var CreateTokenResponseFilterSensitiveLog = /* @__PURE__ */ NX4KBEWA_cjs.__name((obj) => ({
606
+ ...obj,
607
+ ...obj.accessToken && {
608
+ accessToken: L3BNN3KF_cjs.SENSITIVE_STRING
609
+ },
610
+ ...obj.refreshToken && {
611
+ refreshToken: L3BNN3KF_cjs.SENSITIVE_STRING
612
+ },
613
+ ...obj.idToken && {
614
+ idToken: L3BNN3KF_cjs.SENSITIVE_STRING
615
+ }
616
+ }), "CreateTokenResponseFilterSensitiveLog");
617
+ var ExpiredTokenException = class _ExpiredTokenException extends SSOOIDCServiceException {
618
+ static {
619
+ NX4KBEWA_cjs.__name(this, "ExpiredTokenException");
620
+ }
621
+ name = "ExpiredTokenException";
622
+ $fault = "client";
623
+ error;
624
+ error_description;
625
+ constructor(opts) {
626
+ super({
627
+ name: "ExpiredTokenException",
628
+ $fault: "client",
629
+ ...opts
630
+ });
631
+ Object.setPrototypeOf(this, _ExpiredTokenException.prototype);
632
+ this.error = opts.error;
633
+ this.error_description = opts.error_description;
634
+ }
635
+ };
636
+ var InternalServerException = class _InternalServerException extends SSOOIDCServiceException {
637
+ static {
638
+ NX4KBEWA_cjs.__name(this, "InternalServerException");
639
+ }
640
+ name = "InternalServerException";
641
+ $fault = "server";
642
+ error;
643
+ error_description;
644
+ constructor(opts) {
645
+ super({
646
+ name: "InternalServerException",
647
+ $fault: "server",
648
+ ...opts
649
+ });
650
+ Object.setPrototypeOf(this, _InternalServerException.prototype);
651
+ this.error = opts.error;
652
+ this.error_description = opts.error_description;
653
+ }
654
+ };
655
+ var InvalidClientException = class _InvalidClientException extends SSOOIDCServiceException {
656
+ static {
657
+ NX4KBEWA_cjs.__name(this, "InvalidClientException");
658
+ }
659
+ name = "InvalidClientException";
660
+ $fault = "client";
661
+ error;
662
+ error_description;
663
+ constructor(opts) {
664
+ super({
665
+ name: "InvalidClientException",
666
+ $fault: "client",
667
+ ...opts
668
+ });
669
+ Object.setPrototypeOf(this, _InvalidClientException.prototype);
670
+ this.error = opts.error;
671
+ this.error_description = opts.error_description;
672
+ }
673
+ };
674
+ var InvalidGrantException = class _InvalidGrantException extends SSOOIDCServiceException {
675
+ static {
676
+ NX4KBEWA_cjs.__name(this, "InvalidGrantException");
677
+ }
678
+ name = "InvalidGrantException";
679
+ $fault = "client";
680
+ error;
681
+ error_description;
682
+ constructor(opts) {
683
+ super({
684
+ name: "InvalidGrantException",
685
+ $fault: "client",
686
+ ...opts
687
+ });
688
+ Object.setPrototypeOf(this, _InvalidGrantException.prototype);
689
+ this.error = opts.error;
690
+ this.error_description = opts.error_description;
691
+ }
692
+ };
693
+ var InvalidRequestException = class _InvalidRequestException extends SSOOIDCServiceException {
694
+ static {
695
+ NX4KBEWA_cjs.__name(this, "InvalidRequestException");
696
+ }
697
+ name = "InvalidRequestException";
698
+ $fault = "client";
699
+ error;
700
+ error_description;
701
+ constructor(opts) {
702
+ super({
703
+ name: "InvalidRequestException",
704
+ $fault: "client",
705
+ ...opts
706
+ });
707
+ Object.setPrototypeOf(this, _InvalidRequestException.prototype);
708
+ this.error = opts.error;
709
+ this.error_description = opts.error_description;
710
+ }
711
+ };
712
+ var InvalidScopeException = class _InvalidScopeException extends SSOOIDCServiceException {
713
+ static {
714
+ NX4KBEWA_cjs.__name(this, "InvalidScopeException");
715
+ }
716
+ name = "InvalidScopeException";
717
+ $fault = "client";
718
+ error;
719
+ error_description;
720
+ constructor(opts) {
721
+ super({
722
+ name: "InvalidScopeException",
723
+ $fault: "client",
724
+ ...opts
725
+ });
726
+ Object.setPrototypeOf(this, _InvalidScopeException.prototype);
727
+ this.error = opts.error;
728
+ this.error_description = opts.error_description;
729
+ }
730
+ };
731
+ var SlowDownException = class _SlowDownException extends SSOOIDCServiceException {
732
+ static {
733
+ NX4KBEWA_cjs.__name(this, "SlowDownException");
734
+ }
735
+ name = "SlowDownException";
736
+ $fault = "client";
737
+ error;
738
+ error_description;
739
+ constructor(opts) {
740
+ super({
741
+ name: "SlowDownException",
742
+ $fault: "client",
743
+ ...opts
744
+ });
745
+ Object.setPrototypeOf(this, _SlowDownException.prototype);
746
+ this.error = opts.error;
747
+ this.error_description = opts.error_description;
748
+ }
749
+ };
750
+ var UnauthorizedClientException = class _UnauthorizedClientException extends SSOOIDCServiceException {
751
+ static {
752
+ NX4KBEWA_cjs.__name(this, "UnauthorizedClientException");
753
+ }
754
+ name = "UnauthorizedClientException";
755
+ $fault = "client";
756
+ error;
757
+ error_description;
758
+ constructor(opts) {
759
+ super({
760
+ name: "UnauthorizedClientException",
761
+ $fault: "client",
762
+ ...opts
763
+ });
764
+ Object.setPrototypeOf(this, _UnauthorizedClientException.prototype);
765
+ this.error = opts.error;
766
+ this.error_description = opts.error_description;
767
+ }
768
+ };
769
+ var UnsupportedGrantTypeException = class _UnsupportedGrantTypeException extends SSOOIDCServiceException {
770
+ static {
771
+ NX4KBEWA_cjs.__name(this, "UnsupportedGrantTypeException");
772
+ }
773
+ name = "UnsupportedGrantTypeException";
774
+ $fault = "client";
775
+ error;
776
+ error_description;
777
+ constructor(opts) {
778
+ super({
779
+ name: "UnsupportedGrantTypeException",
780
+ $fault: "client",
781
+ ...opts
782
+ });
783
+ Object.setPrototypeOf(this, _UnsupportedGrantTypeException.prototype);
784
+ this.error = opts.error;
785
+ this.error_description = opts.error_description;
786
+ }
787
+ };
788
+
789
+ // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/protocols/Aws_restJson1.js
790
+ var se_CreateTokenCommand = /* @__PURE__ */ NX4KBEWA_cjs.__name(async (input, context) => {
791
+ const b2 = _3AX3IZXK_cjs.requestBuilder(input, context);
792
+ const headers = {
793
+ "content-type": "application/json"
794
+ };
795
+ b2.bp("/token");
796
+ let body;
797
+ body = JSON.stringify(L3BNN3KF_cjs.take(input, {
798
+ clientId: [],
799
+ clientSecret: [],
800
+ code: [],
801
+ codeVerifier: [],
802
+ deviceCode: [],
803
+ grantType: [],
804
+ redirectUri: [],
805
+ refreshToken: [],
806
+ scope: /* @__PURE__ */ NX4KBEWA_cjs.__name((_) => L3BNN3KF_cjs._json(_), "scope")
807
+ }));
808
+ b2.m("POST").h(headers).b(body);
809
+ return b2.build();
810
+ }, "se_CreateTokenCommand");
811
+ var de_CreateTokenCommand = /* @__PURE__ */ NX4KBEWA_cjs.__name(async (output, context) => {
812
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
813
+ return de_CommandError(output, context);
814
+ }
815
+ const contents = L3BNN3KF_cjs.map({
816
+ $metadata: deserializeMetadata(output)
817
+ });
818
+ const data = L3BNN3KF_cjs.expectNonNull(L3BNN3KF_cjs.expectObject(await _7LKSKL4C_cjs.parseJsonBody(output.body, context)), "body");
819
+ const doc = L3BNN3KF_cjs.take(data, {
820
+ accessToken: L3BNN3KF_cjs.expectString,
821
+ expiresIn: L3BNN3KF_cjs.expectInt32,
822
+ idToken: L3BNN3KF_cjs.expectString,
823
+ refreshToken: L3BNN3KF_cjs.expectString,
824
+ tokenType: L3BNN3KF_cjs.expectString
825
+ });
826
+ Object.assign(contents, doc);
827
+ return contents;
828
+ }, "de_CreateTokenCommand");
829
+ var de_CommandError = /* @__PURE__ */ NX4KBEWA_cjs.__name(async (output, context) => {
830
+ const parsedOutput = {
831
+ ...output,
832
+ body: await _7LKSKL4C_cjs.parseJsonErrorBody(output.body, context)
833
+ };
834
+ const errorCode = _7LKSKL4C_cjs.loadRestJsonErrorCode(output, parsedOutput.body);
835
+ switch (errorCode) {
836
+ case "AccessDeniedException":
837
+ case "com.amazonaws.ssooidc#AccessDeniedException":
838
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
839
+ case "AuthorizationPendingException":
840
+ case "com.amazonaws.ssooidc#AuthorizationPendingException":
841
+ throw await de_AuthorizationPendingExceptionRes(parsedOutput, context);
842
+ case "ExpiredTokenException":
843
+ case "com.amazonaws.ssooidc#ExpiredTokenException":
844
+ throw await de_ExpiredTokenExceptionRes(parsedOutput, context);
845
+ case "InternalServerException":
846
+ case "com.amazonaws.ssooidc#InternalServerException":
847
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
848
+ case "InvalidClientException":
849
+ case "com.amazonaws.ssooidc#InvalidClientException":
850
+ throw await de_InvalidClientExceptionRes(parsedOutput, context);
851
+ case "InvalidGrantException":
852
+ case "com.amazonaws.ssooidc#InvalidGrantException":
853
+ throw await de_InvalidGrantExceptionRes(parsedOutput, context);
854
+ case "InvalidRequestException":
855
+ case "com.amazonaws.ssooidc#InvalidRequestException":
856
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
857
+ case "InvalidScopeException":
858
+ case "com.amazonaws.ssooidc#InvalidScopeException":
859
+ throw await de_InvalidScopeExceptionRes(parsedOutput, context);
860
+ case "SlowDownException":
861
+ case "com.amazonaws.ssooidc#SlowDownException":
862
+ throw await de_SlowDownExceptionRes(parsedOutput, context);
863
+ case "UnauthorizedClientException":
864
+ case "com.amazonaws.ssooidc#UnauthorizedClientException":
865
+ throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
866
+ case "UnsupportedGrantTypeException":
867
+ case "com.amazonaws.ssooidc#UnsupportedGrantTypeException":
868
+ throw await de_UnsupportedGrantTypeExceptionRes(parsedOutput, context);
869
+ default:
870
+ const parsedBody = parsedOutput.body;
871
+ return throwDefaultError({
872
+ output,
873
+ parsedBody,
874
+ errorCode
875
+ });
876
+ }
877
+ }, "de_CommandError");
878
+ var throwDefaultError = L3BNN3KF_cjs.withBaseException(SSOOIDCServiceException);
879
+ var de_AccessDeniedExceptionRes = /* @__PURE__ */ NX4KBEWA_cjs.__name(async (parsedOutput, context) => {
880
+ const contents = L3BNN3KF_cjs.map({});
881
+ const data = parsedOutput.body;
882
+ const doc = L3BNN3KF_cjs.take(data, {
883
+ error: L3BNN3KF_cjs.expectString,
884
+ error_description: L3BNN3KF_cjs.expectString
885
+ });
886
+ Object.assign(contents, doc);
887
+ const exception = new AccessDeniedException({
888
+ $metadata: deserializeMetadata(parsedOutput),
889
+ ...contents
890
+ });
891
+ return L3BNN3KF_cjs.decorateServiceException(exception, parsedOutput.body);
892
+ }, "de_AccessDeniedExceptionRes");
893
+ var de_AuthorizationPendingExceptionRes = /* @__PURE__ */ NX4KBEWA_cjs.__name(async (parsedOutput, context) => {
894
+ const contents = L3BNN3KF_cjs.map({});
895
+ const data = parsedOutput.body;
896
+ const doc = L3BNN3KF_cjs.take(data, {
897
+ error: L3BNN3KF_cjs.expectString,
898
+ error_description: L3BNN3KF_cjs.expectString
899
+ });
900
+ Object.assign(contents, doc);
901
+ const exception = new AuthorizationPendingException({
902
+ $metadata: deserializeMetadata(parsedOutput),
903
+ ...contents
904
+ });
905
+ return L3BNN3KF_cjs.decorateServiceException(exception, parsedOutput.body);
906
+ }, "de_AuthorizationPendingExceptionRes");
907
+ var de_ExpiredTokenExceptionRes = /* @__PURE__ */ NX4KBEWA_cjs.__name(async (parsedOutput, context) => {
908
+ const contents = L3BNN3KF_cjs.map({});
909
+ const data = parsedOutput.body;
910
+ const doc = L3BNN3KF_cjs.take(data, {
911
+ error: L3BNN3KF_cjs.expectString,
912
+ error_description: L3BNN3KF_cjs.expectString
913
+ });
914
+ Object.assign(contents, doc);
915
+ const exception = new ExpiredTokenException({
916
+ $metadata: deserializeMetadata(parsedOutput),
917
+ ...contents
918
+ });
919
+ return L3BNN3KF_cjs.decorateServiceException(exception, parsedOutput.body);
920
+ }, "de_ExpiredTokenExceptionRes");
921
+ var de_InternalServerExceptionRes = /* @__PURE__ */ NX4KBEWA_cjs.__name(async (parsedOutput, context) => {
922
+ const contents = L3BNN3KF_cjs.map({});
923
+ const data = parsedOutput.body;
924
+ const doc = L3BNN3KF_cjs.take(data, {
925
+ error: L3BNN3KF_cjs.expectString,
926
+ error_description: L3BNN3KF_cjs.expectString
927
+ });
928
+ Object.assign(contents, doc);
929
+ const exception = new InternalServerException({
930
+ $metadata: deserializeMetadata(parsedOutput),
931
+ ...contents
932
+ });
933
+ return L3BNN3KF_cjs.decorateServiceException(exception, parsedOutput.body);
934
+ }, "de_InternalServerExceptionRes");
935
+ var de_InvalidClientExceptionRes = /* @__PURE__ */ NX4KBEWA_cjs.__name(async (parsedOutput, context) => {
936
+ const contents = L3BNN3KF_cjs.map({});
937
+ const data = parsedOutput.body;
938
+ const doc = L3BNN3KF_cjs.take(data, {
939
+ error: L3BNN3KF_cjs.expectString,
940
+ error_description: L3BNN3KF_cjs.expectString
941
+ });
942
+ Object.assign(contents, doc);
943
+ const exception = new InvalidClientException({
944
+ $metadata: deserializeMetadata(parsedOutput),
945
+ ...contents
946
+ });
947
+ return L3BNN3KF_cjs.decorateServiceException(exception, parsedOutput.body);
948
+ }, "de_InvalidClientExceptionRes");
949
+ var de_InvalidGrantExceptionRes = /* @__PURE__ */ NX4KBEWA_cjs.__name(async (parsedOutput, context) => {
950
+ const contents = L3BNN3KF_cjs.map({});
951
+ const data = parsedOutput.body;
952
+ const doc = L3BNN3KF_cjs.take(data, {
953
+ error: L3BNN3KF_cjs.expectString,
954
+ error_description: L3BNN3KF_cjs.expectString
955
+ });
956
+ Object.assign(contents, doc);
957
+ const exception = new InvalidGrantException({
958
+ $metadata: deserializeMetadata(parsedOutput),
959
+ ...contents
960
+ });
961
+ return L3BNN3KF_cjs.decorateServiceException(exception, parsedOutput.body);
962
+ }, "de_InvalidGrantExceptionRes");
963
+ var de_InvalidRequestExceptionRes = /* @__PURE__ */ NX4KBEWA_cjs.__name(async (parsedOutput, context) => {
964
+ const contents = L3BNN3KF_cjs.map({});
965
+ const data = parsedOutput.body;
966
+ const doc = L3BNN3KF_cjs.take(data, {
967
+ error: L3BNN3KF_cjs.expectString,
968
+ error_description: L3BNN3KF_cjs.expectString
969
+ });
970
+ Object.assign(contents, doc);
971
+ const exception = new InvalidRequestException({
972
+ $metadata: deserializeMetadata(parsedOutput),
973
+ ...contents
974
+ });
975
+ return L3BNN3KF_cjs.decorateServiceException(exception, parsedOutput.body);
976
+ }, "de_InvalidRequestExceptionRes");
977
+ var de_InvalidScopeExceptionRes = /* @__PURE__ */ NX4KBEWA_cjs.__name(async (parsedOutput, context) => {
978
+ const contents = L3BNN3KF_cjs.map({});
979
+ const data = parsedOutput.body;
980
+ const doc = L3BNN3KF_cjs.take(data, {
981
+ error: L3BNN3KF_cjs.expectString,
982
+ error_description: L3BNN3KF_cjs.expectString
983
+ });
984
+ Object.assign(contents, doc);
985
+ const exception = new InvalidScopeException({
986
+ $metadata: deserializeMetadata(parsedOutput),
987
+ ...contents
988
+ });
989
+ return L3BNN3KF_cjs.decorateServiceException(exception, parsedOutput.body);
990
+ }, "de_InvalidScopeExceptionRes");
991
+ var de_SlowDownExceptionRes = /* @__PURE__ */ NX4KBEWA_cjs.__name(async (parsedOutput, context) => {
992
+ const contents = L3BNN3KF_cjs.map({});
993
+ const data = parsedOutput.body;
994
+ const doc = L3BNN3KF_cjs.take(data, {
995
+ error: L3BNN3KF_cjs.expectString,
996
+ error_description: L3BNN3KF_cjs.expectString
997
+ });
998
+ Object.assign(contents, doc);
999
+ const exception = new SlowDownException({
1000
+ $metadata: deserializeMetadata(parsedOutput),
1001
+ ...contents
1002
+ });
1003
+ return L3BNN3KF_cjs.decorateServiceException(exception, parsedOutput.body);
1004
+ }, "de_SlowDownExceptionRes");
1005
+ var de_UnauthorizedClientExceptionRes = /* @__PURE__ */ NX4KBEWA_cjs.__name(async (parsedOutput, context) => {
1006
+ const contents = L3BNN3KF_cjs.map({});
1007
+ const data = parsedOutput.body;
1008
+ const doc = L3BNN3KF_cjs.take(data, {
1009
+ error: L3BNN3KF_cjs.expectString,
1010
+ error_description: L3BNN3KF_cjs.expectString
1011
+ });
1012
+ Object.assign(contents, doc);
1013
+ const exception = new UnauthorizedClientException({
1014
+ $metadata: deserializeMetadata(parsedOutput),
1015
+ ...contents
1016
+ });
1017
+ return L3BNN3KF_cjs.decorateServiceException(exception, parsedOutput.body);
1018
+ }, "de_UnauthorizedClientExceptionRes");
1019
+ var de_UnsupportedGrantTypeExceptionRes = /* @__PURE__ */ NX4KBEWA_cjs.__name(async (parsedOutput, context) => {
1020
+ const contents = L3BNN3KF_cjs.map({});
1021
+ const data = parsedOutput.body;
1022
+ const doc = L3BNN3KF_cjs.take(data, {
1023
+ error: L3BNN3KF_cjs.expectString,
1024
+ error_description: L3BNN3KF_cjs.expectString
1025
+ });
1026
+ Object.assign(contents, doc);
1027
+ const exception = new UnsupportedGrantTypeException({
1028
+ $metadata: deserializeMetadata(parsedOutput),
1029
+ ...contents
1030
+ });
1031
+ return L3BNN3KF_cjs.decorateServiceException(exception, parsedOutput.body);
1032
+ }, "de_UnsupportedGrantTypeExceptionRes");
1033
+ var deserializeMetadata = /* @__PURE__ */ NX4KBEWA_cjs.__name((output) => ({
1034
+ httpStatusCode: output.statusCode,
1035
+ requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1036
+ extendedRequestId: output.headers["x-amz-id-2"],
1037
+ cfId: output.headers["x-amz-cf-id"]
1038
+ }), "deserializeMetadata");
1039
+
1040
+ // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/CreateTokenCommand.js
1041
+ var CreateTokenCommand = class extends L3BNN3KF_cjs.Command.classBuilder().ep(commonParams).m(function(Command2, cs, config, o2) {
1042
+ return [
1043
+ PGRNZALP_cjs.getSerdePlugin(config, this.serialize, this.deserialize),
1044
+ PGRNZALP_cjs.getEndpointPlugin(config, Command2.getEndpointParameterInstructions())
1045
+ ];
1046
+ }).s("AWSSSOOIDCService", "CreateToken", {}).n("SSOOIDCClient", "CreateTokenCommand").f(CreateTokenRequestFilterSensitiveLog, CreateTokenResponseFilterSensitiveLog).ser(se_CreateTokenCommand).de(de_CreateTokenCommand).build() {
1047
+ static {
1048
+ NX4KBEWA_cjs.__name(this, "CreateTokenCommand");
1049
+ }
1050
+ };
1051
+
1052
+ // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDC.js
1053
+ var commands = {
1054
+ CreateTokenCommand
1055
+ };
1056
+ var SSOOIDC = class extends SSOOIDCClient {
1057
+ static {
1058
+ NX4KBEWA_cjs.__name(this, "SSOOIDC");
1059
+ }
1060
+ };
1061
+ L3BNN3KF_cjs.createAggregatedClient(commands, SSOOIDC);
1062
+
1063
+ Object.defineProperty(exports, "$Command", {
1064
+ enumerable: true,
1065
+ get: function () { return L3BNN3KF_cjs.Command; }
1066
+ });
1067
+ Object.defineProperty(exports, "__Client", {
1068
+ enumerable: true,
1069
+ get: function () { return L3BNN3KF_cjs.Client; }
1070
+ });
1071
+ exports.AccessDeniedException = AccessDeniedException;
1072
+ exports.AuthorizationPendingException = AuthorizationPendingException;
1073
+ exports.CreateTokenCommand = CreateTokenCommand;
1074
+ exports.CreateTokenRequestFilterSensitiveLog = CreateTokenRequestFilterSensitiveLog;
1075
+ exports.CreateTokenResponseFilterSensitiveLog = CreateTokenResponseFilterSensitiveLog;
1076
+ exports.ExpiredTokenException = ExpiredTokenException;
1077
+ exports.InternalServerException = InternalServerException;
1078
+ exports.InvalidClientException = InvalidClientException;
1079
+ exports.InvalidGrantException = InvalidGrantException;
1080
+ exports.InvalidRequestException = InvalidRequestException;
1081
+ exports.InvalidScopeException = InvalidScopeException;
1082
+ exports.SSOOIDC = SSOOIDC;
1083
+ exports.SSOOIDCClient = SSOOIDCClient;
1084
+ exports.SSOOIDCServiceException = SSOOIDCServiceException;
1085
+ exports.SlowDownException = SlowDownException;
1086
+ exports.UnauthorizedClientException = UnauthorizedClientException;
1087
+ exports.UnsupportedGrantTypeException = UnsupportedGrantTypeException;
1088
+ //# sourceMappingURL=6NLXVH5R.cjs.map
1089
+ //# sourceMappingURL=6NLXVH5R.cjs.map