@squadx_dev/brix-client-library 1.15.7 → 1.15.9
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.
- package/dist/chunk/B-tN7nvh.es.js +345 -0
- package/dist/chunk/B-tN7nvh.es.js.map +1 -0
- package/dist/chunk/BVABk0Tw.cjs.js +4 -0
- package/dist/chunk/BVABk0Tw.cjs.js.map +1 -0
- package/dist/chunk/Ch7W_T2h.cjs.js +145 -0
- package/dist/chunk/Ch7W_T2h.cjs.js.map +1 -0
- package/dist/chunk/{BU_0iSCd.es.js → DiSJkrZf.es.js} +8772 -9432
- package/dist/chunk/DiSJkrZf.es.js.map +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +1 -1
- package/dist/index.umd.js +44 -70
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -2
- package/dist/chunk/BU_0iSCd.es.js.map +0 -1
- package/dist/chunk/C1yEybxl.es.js +0 -345
- package/dist/chunk/C1yEybxl.es.js.map +0 -1
- package/dist/chunk/CEsmB61H.cjs.js +0 -4
- package/dist/chunk/CEsmB61H.cjs.js.map +0 -1
- package/dist/chunk/DiY6jkTh.cjs.js +0 -171
- package/dist/chunk/DiY6jkTh.cjs.js.map +0 -1
|
@@ -1,345 +0,0 @@
|
|
|
1
|
-
import { F as I, B as C, z as v, K as O, I as i, s as z, D as G, a as D, M as c, k as P, b as k, X as W, m as B } from "./BU_0iSCd.es.js";
|
|
2
|
-
import { O as ht } from "./BU_0iSCd.es.js";
|
|
3
|
-
const N = (t) => {
|
|
4
|
-
if (t != null) {
|
|
5
|
-
if (typeof t == "string") {
|
|
6
|
-
const e = parseFloat(t);
|
|
7
|
-
if (!Number.isNaN(e))
|
|
8
|
-
return String(e) !== String(t) && R.warn(S(`Expected number but observed string: ${t}`)), e;
|
|
9
|
-
}
|
|
10
|
-
if (typeof t == "number")
|
|
11
|
-
return t;
|
|
12
|
-
throw new TypeError(`Expected number, got ${typeof t}: ${t}`);
|
|
13
|
-
}
|
|
14
|
-
}, K = (t, e) => {
|
|
15
|
-
if (t == null)
|
|
16
|
-
throw new TypeError("Expected a non-null value");
|
|
17
|
-
return t;
|
|
18
|
-
}, d = (t) => {
|
|
19
|
-
if (t != null) {
|
|
20
|
-
if (typeof t == "string")
|
|
21
|
-
return t;
|
|
22
|
-
if (["boolean", "number", "bigint"].includes(typeof t))
|
|
23
|
-
return R.warn(S(`Expected string, got ${typeof t}: ${t}`)), String(t);
|
|
24
|
-
throw new TypeError(`Expected string, got ${typeof t}: ${t}`);
|
|
25
|
-
}
|
|
26
|
-
}, L = (t) => N(typeof t == "string" ? J(t) : t), U = /(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g, J = (t) => {
|
|
27
|
-
const e = t.match(U);
|
|
28
|
-
if (e === null || e[0].length !== t.length)
|
|
29
|
-
throw new TypeError("Expected real number, got implicit NaN");
|
|
30
|
-
return parseFloat(t);
|
|
31
|
-
}, S = (t) => String(new TypeError(t).stack || t).split(`
|
|
32
|
-
`).slice(0, 5).filter((e) => !e.includes("stackTraceWarning")).join(`
|
|
33
|
-
`), R = {
|
|
34
|
-
warn: console.warn
|
|
35
|
-
}, X = (t) => {
|
|
36
|
-
if (t == null)
|
|
37
|
-
return;
|
|
38
|
-
let e;
|
|
39
|
-
if (typeof t == "number")
|
|
40
|
-
e = t;
|
|
41
|
-
else if (typeof t == "string")
|
|
42
|
-
e = L(t);
|
|
43
|
-
else
|
|
44
|
-
throw new TypeError("Epoch timestamps must be expressed as floating point numbers or their string representation");
|
|
45
|
-
if (Number.isNaN(e) || e === 1 / 0 || e === -1 / 0)
|
|
46
|
-
throw new TypeError("Epoch timestamps must be valid, non-Infinite, non-NaN numerics");
|
|
47
|
-
return new Date(Math.round(e * 1e3));
|
|
48
|
-
};
|
|
49
|
-
class s extends B {
|
|
50
|
-
constructor(e) {
|
|
51
|
-
super(e), Object.setPrototypeOf(this, s.prototype);
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
class l extends s {
|
|
55
|
-
constructor(e) {
|
|
56
|
-
super({
|
|
57
|
-
name: "InternalErrorException",
|
|
58
|
-
$fault: "server",
|
|
59
|
-
...e
|
|
60
|
-
}), this.name = "InternalErrorException", this.$fault = "server", Object.setPrototypeOf(this, l.prototype);
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
class u extends s {
|
|
64
|
-
constructor(e) {
|
|
65
|
-
super({
|
|
66
|
-
name: "InvalidParameterException",
|
|
67
|
-
$fault: "client",
|
|
68
|
-
...e
|
|
69
|
-
}), this.name = "InvalidParameterException", this.$fault = "client", Object.setPrototypeOf(this, u.prototype);
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
class y extends s {
|
|
73
|
-
constructor(e) {
|
|
74
|
-
super({
|
|
75
|
-
name: "LimitExceededException",
|
|
76
|
-
$fault: "client",
|
|
77
|
-
...e
|
|
78
|
-
}), this.name = "LimitExceededException", this.$fault = "client", Object.setPrototypeOf(this, y.prototype);
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
class m extends s {
|
|
82
|
-
constructor(e) {
|
|
83
|
-
super({
|
|
84
|
-
name: "NotAuthorizedException",
|
|
85
|
-
$fault: "client",
|
|
86
|
-
...e
|
|
87
|
-
}), this.name = "NotAuthorizedException", this.$fault = "client", Object.setPrototypeOf(this, m.prototype);
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
class f extends s {
|
|
91
|
-
constructor(e) {
|
|
92
|
-
super({
|
|
93
|
-
name: "ResourceConflictException",
|
|
94
|
-
$fault: "client",
|
|
95
|
-
...e
|
|
96
|
-
}), this.name = "ResourceConflictException", this.$fault = "client", Object.setPrototypeOf(this, f.prototype);
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
class x extends s {
|
|
100
|
-
constructor(e) {
|
|
101
|
-
super({
|
|
102
|
-
name: "TooManyRequestsException",
|
|
103
|
-
$fault: "client",
|
|
104
|
-
...e
|
|
105
|
-
}), this.name = "TooManyRequestsException", this.$fault = "client", Object.setPrototypeOf(this, x.prototype);
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
class h extends s {
|
|
109
|
-
constructor(e) {
|
|
110
|
-
super({
|
|
111
|
-
name: "ResourceNotFoundException",
|
|
112
|
-
$fault: "client",
|
|
113
|
-
...e
|
|
114
|
-
}), this.name = "ResourceNotFoundException", this.$fault = "client", Object.setPrototypeOf(this, h.prototype);
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
class E extends s {
|
|
118
|
-
constructor(e) {
|
|
119
|
-
super({
|
|
120
|
-
name: "ExternalServiceException",
|
|
121
|
-
$fault: "client",
|
|
122
|
-
...e
|
|
123
|
-
}), this.name = "ExternalServiceException", this.$fault = "client", Object.setPrototypeOf(this, E.prototype);
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
class w extends s {
|
|
127
|
-
constructor(e) {
|
|
128
|
-
super({
|
|
129
|
-
name: "InvalidIdentityPoolConfigurationException",
|
|
130
|
-
$fault: "client",
|
|
131
|
-
...e
|
|
132
|
-
}), this.name = "InvalidIdentityPoolConfigurationException", this.$fault = "client", Object.setPrototypeOf(this, w.prototype);
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
class g extends s {
|
|
136
|
-
constructor(e) {
|
|
137
|
-
super({
|
|
138
|
-
name: "DeveloperUserAlreadyRegisteredException",
|
|
139
|
-
$fault: "client",
|
|
140
|
-
...e
|
|
141
|
-
}), this.name = "DeveloperUserAlreadyRegisteredException", this.$fault = "client", Object.setPrototypeOf(this, g.prototype);
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
class b extends s {
|
|
145
|
-
constructor(e) {
|
|
146
|
-
super({
|
|
147
|
-
name: "ConcurrentModificationException",
|
|
148
|
-
$fault: "client",
|
|
149
|
-
...e
|
|
150
|
-
}), this.name = "ConcurrentModificationException", this.$fault = "client", Object.setPrototypeOf(this, b.prototype);
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
const H = async (t, e) => {
|
|
154
|
-
const n = A("GetCredentialsForIdentity");
|
|
155
|
-
let o;
|
|
156
|
-
return o = JSON.stringify(i(t)), T(e, n, "/", void 0, o);
|
|
157
|
-
}, Q = async (t, e) => {
|
|
158
|
-
const n = A("GetId");
|
|
159
|
-
let o;
|
|
160
|
-
return o = JSON.stringify(i(t)), T(e, n, "/", void 0, o);
|
|
161
|
-
}, V = async (t, e) => {
|
|
162
|
-
if (t.statusCode >= 300)
|
|
163
|
-
return j(t, e);
|
|
164
|
-
const n = await z(t.body, e);
|
|
165
|
-
let o = {};
|
|
166
|
-
return o = pt(n), {
|
|
167
|
-
$metadata: r(t),
|
|
168
|
-
...o
|
|
169
|
-
};
|
|
170
|
-
}, Y = async (t, e) => {
|
|
171
|
-
if (t.statusCode >= 300)
|
|
172
|
-
return j(t, e);
|
|
173
|
-
const n = await z(t.body, e);
|
|
174
|
-
let o = {};
|
|
175
|
-
return o = i(n), {
|
|
176
|
-
$metadata: r(t),
|
|
177
|
-
...o
|
|
178
|
-
};
|
|
179
|
-
}, j = async (t, e) => {
|
|
180
|
-
const n = {
|
|
181
|
-
...t,
|
|
182
|
-
body: await G(t.body, e)
|
|
183
|
-
}, o = D(t, n.body);
|
|
184
|
-
switch (o) {
|
|
185
|
-
case "InternalErrorException":
|
|
186
|
-
case "com.amazonaws.cognitoidentity#InternalErrorException":
|
|
187
|
-
throw await et(n);
|
|
188
|
-
case "InvalidParameterException":
|
|
189
|
-
case "com.amazonaws.cognitoidentity#InvalidParameterException":
|
|
190
|
-
throw await ot(n);
|
|
191
|
-
case "LimitExceededException":
|
|
192
|
-
case "com.amazonaws.cognitoidentity#LimitExceededException":
|
|
193
|
-
throw await at(n);
|
|
194
|
-
case "NotAuthorizedException":
|
|
195
|
-
case "com.amazonaws.cognitoidentity#NotAuthorizedException":
|
|
196
|
-
throw await it(n);
|
|
197
|
-
case "ResourceConflictException":
|
|
198
|
-
case "com.amazonaws.cognitoidentity#ResourceConflictException":
|
|
199
|
-
throw await st(n);
|
|
200
|
-
case "TooManyRequestsException":
|
|
201
|
-
case "com.amazonaws.cognitoidentity#TooManyRequestsException":
|
|
202
|
-
throw await ct(n);
|
|
203
|
-
case "ResourceNotFoundException":
|
|
204
|
-
case "com.amazonaws.cognitoidentity#ResourceNotFoundException":
|
|
205
|
-
throw await rt(n);
|
|
206
|
-
case "ExternalServiceException":
|
|
207
|
-
case "com.amazonaws.cognitoidentity#ExternalServiceException":
|
|
208
|
-
throw await tt(n);
|
|
209
|
-
case "InvalidIdentityPoolConfigurationException":
|
|
210
|
-
case "com.amazonaws.cognitoidentity#InvalidIdentityPoolConfigurationException":
|
|
211
|
-
throw await nt(n);
|
|
212
|
-
case "DeveloperUserAlreadyRegisteredException":
|
|
213
|
-
case "com.amazonaws.cognitoidentity#DeveloperUserAlreadyRegisteredException":
|
|
214
|
-
throw await _(n);
|
|
215
|
-
case "ConcurrentModificationException":
|
|
216
|
-
case "com.amazonaws.cognitoidentity#ConcurrentModificationException":
|
|
217
|
-
throw await Z(n);
|
|
218
|
-
default:
|
|
219
|
-
const a = n.body;
|
|
220
|
-
return lt({
|
|
221
|
-
output: t,
|
|
222
|
-
parsedBody: a,
|
|
223
|
-
errorCode: o
|
|
224
|
-
});
|
|
225
|
-
}
|
|
226
|
-
}, Z = async (t, e) => {
|
|
227
|
-
const n = t.body, o = i(n), a = new b({
|
|
228
|
-
$metadata: r(t),
|
|
229
|
-
...o
|
|
230
|
-
});
|
|
231
|
-
return c(a, n);
|
|
232
|
-
}, _ = async (t, e) => {
|
|
233
|
-
const n = t.body, o = i(n), a = new g({
|
|
234
|
-
$metadata: r(t),
|
|
235
|
-
...o
|
|
236
|
-
});
|
|
237
|
-
return c(a, n);
|
|
238
|
-
}, tt = async (t, e) => {
|
|
239
|
-
const n = t.body, o = i(n), a = new E({
|
|
240
|
-
$metadata: r(t),
|
|
241
|
-
...o
|
|
242
|
-
});
|
|
243
|
-
return c(a, n);
|
|
244
|
-
}, et = async (t, e) => {
|
|
245
|
-
const n = t.body, o = i(n), a = new l({
|
|
246
|
-
$metadata: r(t),
|
|
247
|
-
...o
|
|
248
|
-
});
|
|
249
|
-
return c(a, n);
|
|
250
|
-
}, nt = async (t, e) => {
|
|
251
|
-
const n = t.body, o = i(n), a = new w({
|
|
252
|
-
$metadata: r(t),
|
|
253
|
-
...o
|
|
254
|
-
});
|
|
255
|
-
return c(a, n);
|
|
256
|
-
}, ot = async (t, e) => {
|
|
257
|
-
const n = t.body, o = i(n), a = new u({
|
|
258
|
-
$metadata: r(t),
|
|
259
|
-
...o
|
|
260
|
-
});
|
|
261
|
-
return c(a, n);
|
|
262
|
-
}, at = async (t, e) => {
|
|
263
|
-
const n = t.body, o = i(n), a = new y({
|
|
264
|
-
$metadata: r(t),
|
|
265
|
-
...o
|
|
266
|
-
});
|
|
267
|
-
return c(a, n);
|
|
268
|
-
}, it = async (t, e) => {
|
|
269
|
-
const n = t.body, o = i(n), a = new m({
|
|
270
|
-
$metadata: r(t),
|
|
271
|
-
...o
|
|
272
|
-
});
|
|
273
|
-
return c(a, n);
|
|
274
|
-
}, st = async (t, e) => {
|
|
275
|
-
const n = t.body, o = i(n), a = new f({
|
|
276
|
-
$metadata: r(t),
|
|
277
|
-
...o
|
|
278
|
-
});
|
|
279
|
-
return c(a, n);
|
|
280
|
-
}, rt = async (t, e) => {
|
|
281
|
-
const n = t.body, o = i(n), a = new h({
|
|
282
|
-
$metadata: r(t),
|
|
283
|
-
...o
|
|
284
|
-
});
|
|
285
|
-
return c(a, n);
|
|
286
|
-
}, ct = async (t, e) => {
|
|
287
|
-
const n = t.body, o = i(n), a = new x({
|
|
288
|
-
$metadata: r(t),
|
|
289
|
-
...o
|
|
290
|
-
});
|
|
291
|
-
return c(a, n);
|
|
292
|
-
}, dt = (t, e) => P(t, {
|
|
293
|
-
AccessKeyId: d,
|
|
294
|
-
Expiration: (n) => K(X(N(n))),
|
|
295
|
-
SecretKey: d,
|
|
296
|
-
SessionToken: d
|
|
297
|
-
}), pt = (t, e) => P(t, {
|
|
298
|
-
Credentials: (n) => dt(n),
|
|
299
|
-
IdentityId: d
|
|
300
|
-
}), r = (t) => ({
|
|
301
|
-
httpStatusCode: t.statusCode,
|
|
302
|
-
requestId: t.headers["x-amzn-requestid"] ?? t.headers["x-amzn-request-id"] ?? t.headers["x-amz-request-id"],
|
|
303
|
-
extendedRequestId: t.headers["x-amz-id-2"],
|
|
304
|
-
cfId: t.headers["x-amz-cf-id"]
|
|
305
|
-
}), lt = k(s), T = async (t, e, n, o, a) => {
|
|
306
|
-
const { hostname: F, protocol: M = "https", port: q, path: p } = await t.endpoint(), $ = {
|
|
307
|
-
protocol: M,
|
|
308
|
-
hostname: F,
|
|
309
|
-
port: q,
|
|
310
|
-
method: "POST",
|
|
311
|
-
path: p.endsWith("/") ? p.slice(0, -1) + n : p + n,
|
|
312
|
-
headers: e
|
|
313
|
-
};
|
|
314
|
-
return a !== void 0 && ($.body = a), new W($);
|
|
315
|
-
};
|
|
316
|
-
function A(t) {
|
|
317
|
-
return {
|
|
318
|
-
"content-type": "application/x-amz-json-1.1",
|
|
319
|
-
"x-amz-target": `AWSCognitoIdentityService.${t}`
|
|
320
|
-
};
|
|
321
|
-
}
|
|
322
|
-
class yt extends I.classBuilder().ep({
|
|
323
|
-
...C
|
|
324
|
-
}).m(function(e, n, o, a) {
|
|
325
|
-
return [
|
|
326
|
-
v(o, this.serialize, this.deserialize),
|
|
327
|
-
O(o, e.getEndpointParameterInstructions())
|
|
328
|
-
];
|
|
329
|
-
}).s("AWSCognitoIdentityService", "GetCredentialsForIdentity", {}).n("CognitoIdentityClient", "GetCredentialsForIdentityCommand").f(void 0, void 0).ser(H).de(V).build() {
|
|
330
|
-
}
|
|
331
|
-
class mt extends I.classBuilder().ep({
|
|
332
|
-
...C
|
|
333
|
-
}).m(function(e, n, o, a) {
|
|
334
|
-
return [
|
|
335
|
-
v(o, this.serialize, this.deserialize),
|
|
336
|
-
O(o, e.getEndpointParameterInstructions())
|
|
337
|
-
];
|
|
338
|
-
}).s("AWSCognitoIdentityService", "GetId", {}).n("CognitoIdentityClient", "GetIdCommand").f(void 0, void 0).ser(Q).de(Y).build() {
|
|
339
|
-
}
|
|
340
|
-
export {
|
|
341
|
-
ht as CognitoIdentityClient,
|
|
342
|
-
yt as GetCredentialsForIdentityCommand,
|
|
343
|
-
mt as GetIdCommand
|
|
344
|
-
};
|
|
345
|
-
//# sourceMappingURL=C1yEybxl.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"C1yEybxl.es.js","sources":["../../../library/dist/chunk/BRM5swyz.es.js"],"sourcesContent":["import { S as D, _ as i, p as $, a as _, l as v, d as a, w as B, H as U, t as z, C as R, c as P, g as N, b as S } from \"./CRFfUAt1.es.js\";\nimport { e as Ee } from \"./CRFfUAt1.es.js\";\nconst l = (e) => {\n if (e != null) {\n if (typeof e == \"string\") {\n const t = parseFloat(e);\n if (!Number.isNaN(t))\n return String(t) !== String(e) && T.warn(O(`Expected number but observed string: ${e}`)), t;\n }\n if (typeof e == \"number\")\n return e;\n throw new TypeError(`Expected number, got ${typeof e}: ${e}`);\n }\n}, W = (e, t) => {\n if (e == null)\n throw new TypeError(\"Expected a non-null value\");\n return e;\n}, d = (e) => {\n if (e != null) {\n if (typeof e == \"string\")\n return e;\n if ([\"boolean\", \"number\", \"bigint\"].includes(typeof e))\n return T.warn(O(`Expected string, got ${typeof e}: ${e}`)), String(e);\n throw new TypeError(`Expected string, got ${typeof e}: ${e}`);\n }\n}, k = (e) => l(typeof e == \"string\" ? J(e) : e), H = /(-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)|(-?Infinity)|(NaN)/g, J = (e) => {\n const t = e.match(H);\n if (t === null || t[0].length !== e.length)\n throw new TypeError(\"Expected real number, got implicit NaN\");\n return parseFloat(e);\n}, O = (e) => String(new TypeError(e).stack || e).split(`\n`).slice(0, 5).filter((t) => !t.includes(\"stackTraceWarning\")).join(`\n`), T = {\n warn: console.warn\n}, L = (e) => {\n if (e == null)\n return;\n let t;\n if (typeof e == \"number\")\n t = e;\n else if (typeof e == \"string\")\n t = k(e);\n else\n throw new TypeError(\"Epoch timestamps must be expressed as floating point numbers or their string representation\");\n if (Number.isNaN(t) || t === 1 / 0 || t === -1 / 0)\n throw new TypeError(\"Epoch timestamps must be valid, non-Infinite, non-NaN numerics\");\n return new Date(Math.round(t * 1e3));\n};\nclass r extends D {\n constructor(t) {\n super(t), Object.setPrototypeOf(this, r.prototype);\n }\n}\nclass y extends r {\n constructor(t) {\n super({\n name: \"InternalErrorException\",\n $fault: \"server\",\n ...t\n }), this.name = \"InternalErrorException\", this.$fault = \"server\", Object.setPrototypeOf(this, y.prototype);\n }\n}\nclass m extends r {\n constructor(t) {\n super({\n name: \"InvalidParameterException\",\n $fault: \"client\",\n ...t\n }), this.name = \"InvalidParameterException\", this.$fault = \"client\", Object.setPrototypeOf(this, m.prototype);\n }\n}\nclass x extends r {\n constructor(t) {\n super({\n name: \"LimitExceededException\",\n $fault: \"client\",\n ...t\n }), this.name = \"LimitExceededException\", this.$fault = \"client\", Object.setPrototypeOf(this, x.prototype);\n }\n}\nclass u extends r {\n constructor(t) {\n super({\n name: \"NotAuthorizedException\",\n $fault: \"client\",\n ...t\n }), this.name = \"NotAuthorizedException\", this.$fault = \"client\", Object.setPrototypeOf(this, u.prototype);\n }\n}\nclass f extends r {\n constructor(t) {\n super({\n name: \"ResourceConflictException\",\n $fault: \"client\",\n ...t\n }), this.name = \"ResourceConflictException\", this.$fault = \"client\", Object.setPrototypeOf(this, f.prototype);\n }\n}\nclass E extends r {\n constructor(t) {\n super({\n name: \"TooManyRequestsException\",\n $fault: \"client\",\n ...t\n }), this.name = \"TooManyRequestsException\", this.$fault = \"client\", Object.setPrototypeOf(this, E.prototype);\n }\n}\nclass h extends r {\n constructor(t) {\n super({\n name: \"ResourceNotFoundException\",\n $fault: \"client\",\n ...t\n }), this.name = \"ResourceNotFoundException\", this.$fault = \"client\", Object.setPrototypeOf(this, h.prototype);\n }\n}\nclass w extends r {\n constructor(t) {\n super({\n name: \"ExternalServiceException\",\n $fault: \"client\",\n ...t\n }), this.name = \"ExternalServiceException\", this.$fault = \"client\", Object.setPrototypeOf(this, w.prototype);\n }\n}\nclass b extends r {\n constructor(t) {\n super({\n name: \"InvalidIdentityPoolConfigurationException\",\n $fault: \"client\",\n ...t\n }), this.name = \"InvalidIdentityPoolConfigurationException\", this.$fault = \"client\", Object.setPrototypeOf(this, b.prototype);\n }\n}\nclass g extends r {\n constructor(t) {\n super({\n name: \"DeveloperUserAlreadyRegisteredException\",\n $fault: \"client\",\n ...t\n }), this.name = \"DeveloperUserAlreadyRegisteredException\", this.$fault = \"client\", Object.setPrototypeOf(this, g.prototype);\n }\n}\nclass I extends r {\n constructor(t) {\n super({\n name: \"ConcurrentModificationException\",\n $fault: \"client\",\n ...t\n }), this.name = \"ConcurrentModificationException\", this.$fault = \"client\", Object.setPrototypeOf(this, I.prototype);\n }\n}\nconst K = async (e, t) => {\n const n = F(\"GetCredentialsForIdentity\");\n let o;\n return o = JSON.stringify(i(e)), A(t, n, \"/\", void 0, o);\n}, X = async (e, t) => {\n const n = F(\"GetId\");\n let o;\n return o = JSON.stringify(i(e)), A(t, n, \"/\", void 0, o);\n}, Q = async (e, t) => {\n if (e.statusCode >= 300)\n return j(e, t);\n const n = await $(e.body, t);\n let o = {};\n return o = pe(n), {\n $metadata: c(e),\n ...o\n };\n}, V = async (e, t) => {\n if (e.statusCode >= 300)\n return j(e, t);\n const n = await $(e.body, t);\n let o = {};\n return o = i(n), {\n $metadata: c(e),\n ...o\n };\n}, j = async (e, t) => {\n const n = {\n ...e,\n body: await _(e.body, t)\n }, o = v(e, n.body);\n switch (o) {\n case \"InternalErrorException\":\n case \"com.amazonaws.cognitoidentity#InternalErrorException\":\n throw await te(n);\n case \"InvalidParameterException\":\n case \"com.amazonaws.cognitoidentity#InvalidParameterException\":\n throw await oe(n);\n case \"LimitExceededException\":\n case \"com.amazonaws.cognitoidentity#LimitExceededException\":\n throw await se(n);\n case \"NotAuthorizedException\":\n case \"com.amazonaws.cognitoidentity#NotAuthorizedException\":\n throw await ie(n);\n case \"ResourceConflictException\":\n case \"com.amazonaws.cognitoidentity#ResourceConflictException\":\n throw await re(n);\n case \"TooManyRequestsException\":\n case \"com.amazonaws.cognitoidentity#TooManyRequestsException\":\n throw await ae(n);\n case \"ResourceNotFoundException\":\n case \"com.amazonaws.cognitoidentity#ResourceNotFoundException\":\n throw await ce(n);\n case \"ExternalServiceException\":\n case \"com.amazonaws.cognitoidentity#ExternalServiceException\":\n throw await ee(n);\n case \"InvalidIdentityPoolConfigurationException\":\n case \"com.amazonaws.cognitoidentity#InvalidIdentityPoolConfigurationException\":\n throw await ne(n);\n case \"DeveloperUserAlreadyRegisteredException\":\n case \"com.amazonaws.cognitoidentity#DeveloperUserAlreadyRegisteredException\":\n throw await Z(n);\n case \"ConcurrentModificationException\":\n case \"com.amazonaws.cognitoidentity#ConcurrentModificationException\":\n throw await Y(n);\n default:\n const s = n.body;\n return le({\n output: e,\n parsedBody: s,\n errorCode: o\n });\n }\n}, Y = async (e, t) => {\n const n = e.body, o = i(n), s = new I({\n $metadata: c(e),\n ...o\n });\n return a(s, n);\n}, Z = async (e, t) => {\n const n = e.body, o = i(n), s = new g({\n $metadata: c(e),\n ...o\n });\n return a(s, n);\n}, ee = async (e, t) => {\n const n = e.body, o = i(n), s = new w({\n $metadata: c(e),\n ...o\n });\n return a(s, n);\n}, te = async (e, t) => {\n const n = e.body, o = i(n), s = new y({\n $metadata: c(e),\n ...o\n });\n return a(s, n);\n}, ne = async (e, t) => {\n const n = e.body, o = i(n), s = new b({\n $metadata: c(e),\n ...o\n });\n return a(s, n);\n}, oe = async (e, t) => {\n const n = e.body, o = i(n), s = new m({\n $metadata: c(e),\n ...o\n });\n return a(s, n);\n}, se = async (e, t) => {\n const n = e.body, o = i(n), s = new x({\n $metadata: c(e),\n ...o\n });\n return a(s, n);\n}, ie = async (e, t) => {\n const n = e.body, o = i(n), s = new u({\n $metadata: c(e),\n ...o\n });\n return a(s, n);\n}, re = async (e, t) => {\n const n = e.body, o = i(n), s = new f({\n $metadata: c(e),\n ...o\n });\n return a(s, n);\n}, ce = async (e, t) => {\n const n = e.body, o = i(n), s = new h({\n $metadata: c(e),\n ...o\n });\n return a(s, n);\n}, ae = async (e, t) => {\n const n = e.body, o = i(n), s = new E({\n $metadata: c(e),\n ...o\n });\n return a(s, n);\n}, de = (e, t) => z(e, {\n AccessKeyId: d,\n Expiration: (n) => W(L(l(n))),\n SecretKey: d,\n SessionToken: d\n}), pe = (e, t) => z(e, {\n Credentials: (n) => de(n),\n IdentityId: d\n}), c = (e) => ({\n httpStatusCode: e.statusCode,\n requestId: e.headers[\"x-amzn-requestid\"] ?? e.headers[\"x-amzn-request-id\"] ?? e.headers[\"x-amz-request-id\"],\n extendedRequestId: e.headers[\"x-amz-id-2\"],\n cfId: e.headers[\"x-amz-cf-id\"]\n}), le = B(r), A = async (e, t, n, o, s) => {\n const { hostname: G, protocol: M = \"https\", port: q, path: p } = await e.endpoint(), C = {\n protocol: M,\n hostname: G,\n port: q,\n method: \"POST\",\n path: p.endsWith(\"/\") ? p.slice(0, -1) + n : p + n,\n headers: t\n };\n return s !== void 0 && (C.body = s), new U(C);\n};\nfunction F(e) {\n return {\n \"content-type\": \"application/x-amz-json-1.1\",\n \"x-amz-target\": `AWSCognitoIdentityService.${e}`\n };\n}\nclass me extends R.classBuilder().ep({\n ...P\n}).m(function(t, n, o, s) {\n return [\n N(o, this.serialize, this.deserialize),\n S(o, t.getEndpointParameterInstructions())\n ];\n}).s(\"AWSCognitoIdentityService\", \"GetCredentialsForIdentity\", {}).n(\"CognitoIdentityClient\", \"GetCredentialsForIdentityCommand\").f(void 0, void 0).ser(K).de(Q).build() {\n}\nclass xe extends R.classBuilder().ep({\n ...P\n}).m(function(t, n, o, s) {\n return [\n N(o, this.serialize, this.deserialize),\n S(o, t.getEndpointParameterInstructions())\n ];\n}).s(\"AWSCognitoIdentityService\", \"GetId\", {}).n(\"CognitoIdentityClient\", \"GetIdCommand\").f(void 0, void 0).ser(X).de(V).build() {\n}\nexport {\n Ee as CognitoIdentityClient,\n me as GetCredentialsForIdentityCommand,\n xe as GetIdCommand\n};\n//# sourceMappingURL=BRM5swyz.es.js.map\n"],"names":["l","e","t","T","O","W","k","H","L","r","D","y","m","x","u","E","w","b","I","K","F","i","A","X","Q","$","pe","c","V","_","v","te","oe","se","ie","re","ae","ce","ee","ne","Z","Y","s","le","a","de","z","B","G","C","U","me","R","P","N","S","xe"],"mappings":";;AAEA,MAAMA,IAAI,CAACC,MAAM;AACf,MAAIA,KAAK,MAAM;AACb,QAAI,OAAOA,KAAK,UAAU;AACxB,YAAMC,IAAI,WAAWD,CAAC;AACtB,UAAI,CAAC,OAAO,MAAMC,CAAC;AACjB,eAAO,OAAOA,CAAC,MAAM,OAAOD,CAAC,KAAKE,EAAE,KAAKC,EAAE,wCAAwCH,CAAC,EAAE,CAAC,GAAGC;AAAA,IAC7F;AACD,QAAI,OAAOD,KAAK;AACd,aAAOA;AACT,UAAM,IAAI,UAAU,wBAAwB,OAAOA,CAAC,KAAKA,CAAC,EAAE;AAAA,EAC7D;AACH,GAAGI,IAAI,CAACJ,GAAGC,MAAM;AACf,MAAID,KAAK;AACP,UAAM,IAAI,UAAU,2BAA2B;AACjD,SAAOA;AACT,GAAG,IAAI,CAACA,MAAM;AACZ,MAAIA,KAAK,MAAM;AACb,QAAI,OAAOA,KAAK;AACd,aAAOA;AACT,QAAI,CAAC,WAAW,UAAU,QAAQ,EAAE,SAAS,OAAOA,CAAC;AACnD,aAAOE,EAAE,KAAKC,EAAE,wBAAwB,OAAOH,CAAC,KAAKA,CAAC,EAAE,CAAC,GAAG,OAAOA,CAAC;AACtE,UAAM,IAAI,UAAU,wBAAwB,OAAOA,CAAC,KAAKA,CAAC,EAAE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"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./DiY6jkTh.cjs.js"),b=t=>{if(t!=null){if(typeof t=="string"){const e=parseFloat(t);if(!Number.isNaN(e))return String(e)!==String(t)&&C.warn($(`Expected number but observed string: ${t}`)),e}if(typeof t=="number")return t;throw new TypeError(`Expected number, got ${typeof t}: ${t}`)}},S=(t,e)=>{if(t==null)throw new TypeError("Expected a non-null value");return t},c=t=>{if(t!=null){if(typeof t=="string")return t;if(["boolean","number","bigint"].includes(typeof t))return C.warn($(`Expected string, got ${typeof t}: ${t}`)),String(t);throw new TypeError(`Expected string, got ${typeof t}: ${t}`)}},R=t=>b(typeof t=="string"?T(t):t),j=/(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g,T=t=>{const e=t.match(j);if(e===null||e[0].length!==t.length)throw new TypeError("Expected real number, got implicit NaN");return parseFloat(t)},$=t=>String(new TypeError(t).stack||t).split(`
|
|
2
|
-
`).slice(0,5).filter(e=>!e.includes("stackTraceWarning")).join(`
|
|
3
|
-
`),C={warn:console.warn},A=t=>{if(t==null)return;let e;if(typeof t=="number")e=t;else if(typeof t=="string")e=R(t);else throw new TypeError("Epoch timestamps must be expressed as floating point numbers or their string representation");if(Number.isNaN(e)||e===1/0||e===-1/0)throw new TypeError("Epoch timestamps must be valid, non-Infinite, non-NaN numerics");return new Date(Math.round(e*1e3))};class s extends i.mr{constructor(e){super(e),Object.setPrototypeOf(this,s.prototype)}}class p extends s{constructor(e){super({name:"InternalErrorException",$fault:"server",...e}),this.name="InternalErrorException",this.$fault="server",Object.setPrototypeOf(this,p.prototype)}}class u extends s{constructor(e){super({name:"InvalidParameterException",$fault:"client",...e}),this.name="InvalidParameterException",this.$fault="client",Object.setPrototypeOf(this,u.prototype)}}class l extends s{constructor(e){super({name:"LimitExceededException",$fault:"client",...e}),this.name="LimitExceededException",this.$fault="client",Object.setPrototypeOf(this,l.prototype)}}class y extends s{constructor(e){super({name:"NotAuthorizedException",$fault:"client",...e}),this.name="NotAuthorizedException",this.$fault="client",Object.setPrototypeOf(this,y.prototype)}}class m extends s{constructor(e){super({name:"ResourceConflictException",$fault:"client",...e}),this.name="ResourceConflictException",this.$fault="client",Object.setPrototypeOf(this,m.prototype)}}class f extends s{constructor(e){super({name:"TooManyRequestsException",$fault:"client",...e}),this.name="TooManyRequestsException",this.$fault="client",Object.setPrototypeOf(this,f.prototype)}}class h extends s{constructor(e){super({name:"ResourceNotFoundException",$fault:"client",...e}),this.name="ResourceNotFoundException",this.$fault="client",Object.setPrototypeOf(this,h.prototype)}}class x extends s{constructor(e){super({name:"ExternalServiceException",$fault:"client",...e}),this.name="ExternalServiceException",this.$fault="client",Object.setPrototypeOf(this,x.prototype)}}class E extends s{constructor(e){super({name:"InvalidIdentityPoolConfigurationException",$fault:"client",...e}),this.name="InvalidIdentityPoolConfigurationException",this.$fault="client",Object.setPrototypeOf(this,E.prototype)}}class w extends s{constructor(e){super({name:"DeveloperUserAlreadyRegisteredException",$fault:"client",...e}),this.name="DeveloperUserAlreadyRegisteredException",this.$fault="client",Object.setPrototypeOf(this,w.prototype)}}class I extends s{constructor(e){super({name:"ConcurrentModificationException",$fault:"client",...e}),this.name="ConcurrentModificationException",this.$fault="client",Object.setPrototypeOf(this,I.prototype)}}const F=async(t,e)=>{const n=z("GetCredentialsForIdentity");let o;return o=JSON.stringify(i.I(t)),O(e,n,"/",void 0,o)},q=async(t,e)=>{const n=z("GetId");let o;return o=JSON.stringify(i.I(t)),O(e,n,"/",void 0,o)},G=async(t,e)=>{if(t.statusCode>=300)return v(t,e);const n=await i.si(t.body,e);let o={};return o=Z(n),{$metadata:a(t),...o}},D=async(t,e)=>{if(t.statusCode>=300)return v(t,e);const n=await i.si(t.body,e);let o={};return o=i.I(n),{$metadata:a(t),...o}},v=async(t,e)=>{const n={...t,body:await i.Dc(t.body,e)},o=i.Ic(t,n.body);switch(o){case"InternalErrorException":case"com.amazonaws.cognitoidentity#InternalErrorException":throw await K(n);case"InvalidParameterException":case"com.amazonaws.cognitoidentity#InvalidParameterException":throw await U(n);case"LimitExceededException":case"com.amazonaws.cognitoidentity#LimitExceededException":throw await J(n);case"NotAuthorizedException":case"com.amazonaws.cognitoidentity#NotAuthorizedException":throw await X(n);case"ResourceConflictException":case"com.amazonaws.cognitoidentity#ResourceConflictException":throw await H(n);case"TooManyRequestsException":case"com.amazonaws.cognitoidentity#TooManyRequestsException":throw await V(n);case"ResourceNotFoundException":case"com.amazonaws.cognitoidentity#ResourceNotFoundException":throw await Q(n);case"ExternalServiceException":case"com.amazonaws.cognitoidentity#ExternalServiceException":throw await B(n);case"InvalidIdentityPoolConfigurationException":case"com.amazonaws.cognitoidentity#InvalidIdentityPoolConfigurationException":throw await L(n);case"DeveloperUserAlreadyRegisteredException":case"com.amazonaws.cognitoidentity#DeveloperUserAlreadyRegisteredException":throw await W(n);case"ConcurrentModificationException":case"com.amazonaws.cognitoidentity#ConcurrentModificationException":throw await k(n);default:const r=n.body;return _({output:t,parsedBody:r,errorCode:o})}},k=async(t,e)=>{const n=t.body,o=i.I(n),r=new I({$metadata:a(t),...o});return i.M(r,n)},W=async(t,e)=>{const n=t.body,o=i.I(n),r=new w({$metadata:a(t),...o});return i.M(r,n)},B=async(t,e)=>{const n=t.body,o=i.I(n),r=new x({$metadata:a(t),...o});return i.M(r,n)},K=async(t,e)=>{const n=t.body,o=i.I(n),r=new p({$metadata:a(t),...o});return i.M(r,n)},L=async(t,e)=>{const n=t.body,o=i.I(n),r=new E({$metadata:a(t),...o});return i.M(r,n)},U=async(t,e)=>{const n=t.body,o=i.I(n),r=new u({$metadata:a(t),...o});return i.M(r,n)},J=async(t,e)=>{const n=t.body,o=i.I(n),r=new l({$metadata:a(t),...o});return i.M(r,n)},X=async(t,e)=>{const n=t.body,o=i.I(n),r=new y({$metadata:a(t),...o});return i.M(r,n)},H=async(t,e)=>{const n=t.body,o=i.I(n),r=new m({$metadata:a(t),...o});return i.M(r,n)},Q=async(t,e)=>{const n=t.body,o=i.I(n),r=new h({$metadata:a(t),...o});return i.M(r,n)},V=async(t,e)=>{const n=t.body,o=i.I(n),r=new f({$metadata:a(t),...o});return i.M(r,n)},Y=(t,e)=>i.ka(t,{AccessKeyId:c,Expiration:n=>S(A(b(n))),SecretKey:c,SessionToken:c}),Z=(t,e)=>i.ka(t,{Credentials:n=>Y(n),IdentityId:c}),a=t=>({httpStatusCode:t.statusCode,requestId:t.headers["x-amzn-requestid"]??t.headers["x-amzn-request-id"]??t.headers["x-amz-request-id"],extendedRequestId:t.headers["x-amz-id-2"],cfId:t.headers["x-amz-cf-id"]}),_=i.Da(s),O=async(t,e,n,o,r)=>{const{hostname:P,protocol:M="https",port:N,path:d}=await t.endpoint(),g={protocol:M,hostname:P,port:N,method:"POST",path:d.endsWith("/")?d.slice(0,-1)+n:d+n,headers:e};return r!==void 0&&(g.body=r),new i.X(g)};function z(t){return{"content-type":"application/x-amz-json-1.1","x-amz-target":`AWSCognitoIdentityService.${t}`}}class tt extends i.Fs.classBuilder().ep({...i.Bh}).m(function(e,n,o,r){return[i.zo(o,this.serialize,this.deserialize),i.Ko(o,e.getEndpointParameterInstructions())]}).s("AWSCognitoIdentityService","GetCredentialsForIdentity",{}).n("CognitoIdentityClient","GetCredentialsForIdentityCommand").f(void 0,void 0).ser(F).de(G).build(){}class et extends i.Fs.classBuilder().ep({...i.Bh}).m(function(e,n,o,r){return[i.zo(o,this.serialize,this.deserialize),i.Ko(o,e.getEndpointParameterInstructions())]}).s("AWSCognitoIdentityService","GetId",{}).n("CognitoIdentityClient","GetIdCommand").f(void 0,void 0).ser(q).de(D).build(){}exports.CognitoIdentityClient=i.Oh;exports.GetCredentialsForIdentityCommand=tt;exports.GetIdCommand=et;
|
|
4
|
-
//# sourceMappingURL=CEsmB61H.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CEsmB61H.cjs.js","sources":["../../../library/dist/chunk/BRM5swyz.es.js"],"sourcesContent":["import { S as D, _ as i, p as $, a as _, l as v, d as a, w as B, H as U, t as z, C as R, c as P, g as N, b as S } from \"./CRFfUAt1.es.js\";\nimport { e as Ee } from \"./CRFfUAt1.es.js\";\nconst l = (e) => {\n if (e != null) {\n if (typeof e == \"string\") {\n const t = parseFloat(e);\n if (!Number.isNaN(t))\n return String(t) !== String(e) && T.warn(O(`Expected number but observed string: ${e}`)), t;\n }\n if (typeof e == \"number\")\n return e;\n throw new TypeError(`Expected number, got ${typeof e}: ${e}`);\n }\n}, W = (e, t) => {\n if (e == null)\n throw new TypeError(\"Expected a non-null value\");\n return e;\n}, d = (e) => {\n if (e != null) {\n if (typeof e == \"string\")\n return e;\n if ([\"boolean\", \"number\", \"bigint\"].includes(typeof e))\n return T.warn(O(`Expected string, got ${typeof e}: ${e}`)), String(e);\n throw new TypeError(`Expected string, got ${typeof e}: ${e}`);\n }\n}, k = (e) => l(typeof e == \"string\" ? J(e) : e), H = /(-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)|(-?Infinity)|(NaN)/g, J = (e) => {\n const t = e.match(H);\n if (t === null || t[0].length !== e.length)\n throw new TypeError(\"Expected real number, got implicit NaN\");\n return parseFloat(e);\n}, O = (e) => String(new TypeError(e).stack || e).split(`\n`).slice(0, 5).filter((t) => !t.includes(\"stackTraceWarning\")).join(`\n`), T = {\n warn: console.warn\n}, L = (e) => {\n if (e == null)\n return;\n let t;\n if (typeof e == \"number\")\n t = e;\n else if (typeof e == \"string\")\n t = k(e);\n else\n throw new TypeError(\"Epoch timestamps must be expressed as floating point numbers or their string representation\");\n if (Number.isNaN(t) || t === 1 / 0 || t === -1 / 0)\n throw new TypeError(\"Epoch timestamps must be valid, non-Infinite, non-NaN numerics\");\n return new Date(Math.round(t * 1e3));\n};\nclass r extends D {\n constructor(t) {\n super(t), Object.setPrototypeOf(this, r.prototype);\n }\n}\nclass y extends r {\n constructor(t) {\n super({\n name: \"InternalErrorException\",\n $fault: \"server\",\n ...t\n }), this.name = \"InternalErrorException\", this.$fault = \"server\", Object.setPrototypeOf(this, y.prototype);\n }\n}\nclass m extends r {\n constructor(t) {\n super({\n name: \"InvalidParameterException\",\n $fault: \"client\",\n ...t\n }), this.name = \"InvalidParameterException\", this.$fault = \"client\", Object.setPrototypeOf(this, m.prototype);\n }\n}\nclass x extends r {\n constructor(t) {\n super({\n name: \"LimitExceededException\",\n $fault: \"client\",\n ...t\n }), this.name = \"LimitExceededException\", this.$fault = \"client\", Object.setPrototypeOf(this, x.prototype);\n }\n}\nclass u extends r {\n constructor(t) {\n super({\n name: \"NotAuthorizedException\",\n $fault: \"client\",\n ...t\n }), this.name = \"NotAuthorizedException\", this.$fault = \"client\", Object.setPrototypeOf(this, u.prototype);\n }\n}\nclass f extends r {\n constructor(t) {\n super({\n name: \"ResourceConflictException\",\n $fault: \"client\",\n ...t\n }), this.name = \"ResourceConflictException\", this.$fault = \"client\", Object.setPrototypeOf(this, f.prototype);\n }\n}\nclass E extends r {\n constructor(t) {\n super({\n name: \"TooManyRequestsException\",\n $fault: \"client\",\n ...t\n }), this.name = \"TooManyRequestsException\", this.$fault = \"client\", Object.setPrototypeOf(this, E.prototype);\n }\n}\nclass h extends r {\n constructor(t) {\n super({\n name: \"ResourceNotFoundException\",\n $fault: \"client\",\n ...t\n }), this.name = \"ResourceNotFoundException\", this.$fault = \"client\", Object.setPrototypeOf(this, h.prototype);\n }\n}\nclass w extends r {\n constructor(t) {\n super({\n name: \"ExternalServiceException\",\n $fault: \"client\",\n ...t\n }), this.name = \"ExternalServiceException\", this.$fault = \"client\", Object.setPrototypeOf(this, w.prototype);\n }\n}\nclass b extends r {\n constructor(t) {\n super({\n name: \"InvalidIdentityPoolConfigurationException\",\n $fault: \"client\",\n ...t\n }), this.name = \"InvalidIdentityPoolConfigurationException\", this.$fault = \"client\", Object.setPrototypeOf(this, b.prototype);\n }\n}\nclass g extends r {\n constructor(t) {\n super({\n name: \"DeveloperUserAlreadyRegisteredException\",\n $fault: \"client\",\n ...t\n }), this.name = \"DeveloperUserAlreadyRegisteredException\", this.$fault = \"client\", Object.setPrototypeOf(this, g.prototype);\n }\n}\nclass I extends r {\n constructor(t) {\n super({\n name: \"ConcurrentModificationException\",\n $fault: \"client\",\n ...t\n }), this.name = \"ConcurrentModificationException\", this.$fault = \"client\", Object.setPrototypeOf(this, I.prototype);\n }\n}\nconst K = async (e, t) => {\n const n = F(\"GetCredentialsForIdentity\");\n let o;\n return o = JSON.stringify(i(e)), A(t, n, \"/\", void 0, o);\n}, X = async (e, t) => {\n const n = F(\"GetId\");\n let o;\n return o = JSON.stringify(i(e)), A(t, n, \"/\", void 0, o);\n}, Q = async (e, t) => {\n if (e.statusCode >= 300)\n return j(e, t);\n const n = await $(e.body, t);\n let o = {};\n return o = pe(n), {\n $metadata: c(e),\n ...o\n };\n}, V = async (e, t) => {\n if (e.statusCode >= 300)\n return j(e, t);\n const n = await $(e.body, t);\n let o = {};\n return o = i(n), {\n $metadata: c(e),\n ...o\n };\n}, j = async (e, t) => {\n const n = {\n ...e,\n body: await _(e.body, t)\n }, o = v(e, n.body);\n switch (o) {\n case \"InternalErrorException\":\n case \"com.amazonaws.cognitoidentity#InternalErrorException\":\n throw await te(n);\n case \"InvalidParameterException\":\n case \"com.amazonaws.cognitoidentity#InvalidParameterException\":\n throw await oe(n);\n case \"LimitExceededException\":\n case \"com.amazonaws.cognitoidentity#LimitExceededException\":\n throw await se(n);\n case \"NotAuthorizedException\":\n case \"com.amazonaws.cognitoidentity#NotAuthorizedException\":\n throw await ie(n);\n case \"ResourceConflictException\":\n case \"com.amazonaws.cognitoidentity#ResourceConflictException\":\n throw await re(n);\n case \"TooManyRequestsException\":\n case \"com.amazonaws.cognitoidentity#TooManyRequestsException\":\n throw await ae(n);\n case \"ResourceNotFoundException\":\n case \"com.amazonaws.cognitoidentity#ResourceNotFoundException\":\n throw await ce(n);\n case \"ExternalServiceException\":\n case \"com.amazonaws.cognitoidentity#ExternalServiceException\":\n throw await ee(n);\n case \"InvalidIdentityPoolConfigurationException\":\n case \"com.amazonaws.cognitoidentity#InvalidIdentityPoolConfigurationException\":\n throw await ne(n);\n case \"DeveloperUserAlreadyRegisteredException\":\n case \"com.amazonaws.cognitoidentity#DeveloperUserAlreadyRegisteredException\":\n throw await Z(n);\n case \"ConcurrentModificationException\":\n case \"com.amazonaws.cognitoidentity#ConcurrentModificationException\":\n throw await Y(n);\n default:\n const s = n.body;\n return le({\n output: e,\n parsedBody: s,\n errorCode: o\n });\n }\n}, Y = async (e, t) => {\n const n = e.body, o = i(n), s = new I({\n $metadata: c(e),\n ...o\n });\n return a(s, n);\n}, Z = async (e, t) => {\n const n = e.body, o = i(n), s = new g({\n $metadata: c(e),\n ...o\n });\n return a(s, n);\n}, ee = async (e, t) => {\n const n = e.body, o = i(n), s = new w({\n $metadata: c(e),\n ...o\n });\n return a(s, n);\n}, te = async (e, t) => {\n const n = e.body, o = i(n), s = new y({\n $metadata: c(e),\n ...o\n });\n return a(s, n);\n}, ne = async (e, t) => {\n const n = e.body, o = i(n), s = new b({\n $metadata: c(e),\n ...o\n });\n return a(s, n);\n}, oe = async (e, t) => {\n const n = e.body, o = i(n), s = new m({\n $metadata: c(e),\n ...o\n });\n return a(s, n);\n}, se = async (e, t) => {\n const n = e.body, o = i(n), s = new x({\n $metadata: c(e),\n ...o\n });\n return a(s, n);\n}, ie = async (e, t) => {\n const n = e.body, o = i(n), s = new u({\n $metadata: c(e),\n ...o\n });\n return a(s, n);\n}, re = async (e, t) => {\n const n = e.body, o = i(n), s = new f({\n $metadata: c(e),\n ...o\n });\n return a(s, n);\n}, ce = async (e, t) => {\n const n = e.body, o = i(n), s = new h({\n $metadata: c(e),\n ...o\n });\n return a(s, n);\n}, ae = async (e, t) => {\n const n = e.body, o = i(n), s = new E({\n $metadata: c(e),\n ...o\n });\n return a(s, n);\n}, de = (e, t) => z(e, {\n AccessKeyId: d,\n Expiration: (n) => W(L(l(n))),\n SecretKey: d,\n SessionToken: d\n}), pe = (e, t) => z(e, {\n Credentials: (n) => de(n),\n IdentityId: d\n}), c = (e) => ({\n httpStatusCode: e.statusCode,\n requestId: e.headers[\"x-amzn-requestid\"] ?? e.headers[\"x-amzn-request-id\"] ?? e.headers[\"x-amz-request-id\"],\n extendedRequestId: e.headers[\"x-amz-id-2\"],\n cfId: e.headers[\"x-amz-cf-id\"]\n}), le = B(r), A = async (e, t, n, o, s) => {\n const { hostname: G, protocol: M = \"https\", port: q, path: p } = await e.endpoint(), C = {\n protocol: M,\n hostname: G,\n port: q,\n method: \"POST\",\n path: p.endsWith(\"/\") ? p.slice(0, -1) + n : p + n,\n headers: t\n };\n return s !== void 0 && (C.body = s), new U(C);\n};\nfunction F(e) {\n return {\n \"content-type\": \"application/x-amz-json-1.1\",\n \"x-amz-target\": `AWSCognitoIdentityService.${e}`\n };\n}\nclass me extends R.classBuilder().ep({\n ...P\n}).m(function(t, n, o, s) {\n return [\n N(o, this.serialize, this.deserialize),\n S(o, t.getEndpointParameterInstructions())\n ];\n}).s(\"AWSCognitoIdentityService\", \"GetCredentialsForIdentity\", {}).n(\"CognitoIdentityClient\", \"GetCredentialsForIdentityCommand\").f(void 0, void 0).ser(K).de(Q).build() {\n}\nclass xe extends R.classBuilder().ep({\n ...P\n}).m(function(t, n, o, s) {\n return [\n N(o, this.serialize, this.deserialize),\n S(o, t.getEndpointParameterInstructions())\n ];\n}).s(\"AWSCognitoIdentityService\", \"GetId\", {}).n(\"CognitoIdentityClient\", \"GetIdCommand\").f(void 0, void 0).ser(X).de(V).build() {\n}\nexport {\n Ee as CognitoIdentityClient,\n me as GetCredentialsForIdentityCommand,\n xe as GetIdCommand\n};\n//# sourceMappingURL=BRM5swyz.es.js.map\n"],"names":["l","e","t","T","O","W","d","k","J","H","L","r","D","y","m","x","u","f","E","w","b","g","K","F","i","A","X","Q","j","$","pe","c","V","_","v","te","oe","se","ie","re","ae","ce","ee","ne","Z","Y","s","le","a","de","z","B","G","q","p","C","U","me","R","P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