@aws-amplify/interactions 4.1.4-custom-pk.1 → 4.1.4-ds-allow-applicable-data.6
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.
|
@@ -8584,7 +8584,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
8584
8584
|
exports.Sha256 = void 0;
|
|
8585
8585
|
var isEmptyData_1 = __webpack_require__(/*! ./isEmptyData */ "../../node_modules/@aws-sdk/client-lex-runtime-v2/node_modules/@aws-crypto/sha256-browser/build/isEmptyData.js");
|
|
8586
8586
|
var constants_1 = __webpack_require__(/*! ./constants */ "../../node_modules/@aws-sdk/client-lex-runtime-v2/node_modules/@aws-crypto/sha256-browser/build/constants.js");
|
|
8587
|
-
var util_utf8_browser_1 = __webpack_require__(/*! @aws-sdk/util-utf8-browser */ "../../node_modules/@aws-sdk/client-lex-runtime-v2/node_modules/@aws-sdk/util-utf8-browser/dist-es/index.js");
|
|
8587
|
+
var util_utf8_browser_1 = __webpack_require__(/*! @aws-sdk/util-utf8-browser */ "../../node_modules/@aws-sdk/client-lex-runtime-v2/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-sdk/util-utf8-browser/dist-es/index.js");
|
|
8588
8588
|
var util_locate_window_1 = __webpack_require__(/*! @aws-sdk/util-locate-window */ "../../node_modules/@aws-sdk/util-locate-window/dist-es/index.js");
|
|
8589
8589
|
var Sha256 = /** @class */ (function () {
|
|
8590
8590
|
function Sha256(secret) {
|
|
@@ -9111,6 +9111,109 @@ function bufferFromSecret(secret) {
|
|
|
9111
9111
|
}
|
|
9112
9112
|
//# sourceMappingURL=jsSha256.js.map
|
|
9113
9113
|
|
|
9114
|
+
/***/ }),
|
|
9115
|
+
|
|
9116
|
+
/***/ "../../node_modules/@aws-sdk/client-lex-runtime-v2/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-sdk/util-utf8-browser/dist-es/index.js":
|
|
9117
|
+
/*!*********************************************************************************************************************************************************************!*\
|
|
9118
|
+
!*** /root/amplify-js/node_modules/@aws-sdk/client-lex-runtime-v2/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-sdk/util-utf8-browser/dist-es/index.js ***!
|
|
9119
|
+
\*********************************************************************************************************************************************************************/
|
|
9120
|
+
/*! exports provided: fromUtf8, toUtf8 */
|
|
9121
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9122
|
+
|
|
9123
|
+
"use strict";
|
|
9124
|
+
__webpack_require__.r(__webpack_exports__);
|
|
9125
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fromUtf8", function() { return fromUtf8; });
|
|
9126
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "toUtf8", function() { return toUtf8; });
|
|
9127
|
+
/* harmony import */ var _pureJs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./pureJs */ "../../node_modules/@aws-sdk/client-lex-runtime-v2/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-sdk/util-utf8-browser/dist-es/pureJs.js");
|
|
9128
|
+
/* harmony import */ var _whatwgEncodingApi__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./whatwgEncodingApi */ "../../node_modules/@aws-sdk/client-lex-runtime-v2/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-sdk/util-utf8-browser/dist-es/whatwgEncodingApi.js");
|
|
9129
|
+
|
|
9130
|
+
|
|
9131
|
+
var fromUtf8 = function (input) {
|
|
9132
|
+
return typeof TextEncoder === "function" ? Object(_whatwgEncodingApi__WEBPACK_IMPORTED_MODULE_1__["fromUtf8"])(input) : Object(_pureJs__WEBPACK_IMPORTED_MODULE_0__["fromUtf8"])(input);
|
|
9133
|
+
};
|
|
9134
|
+
var toUtf8 = function (input) {
|
|
9135
|
+
return typeof TextDecoder === "function" ? Object(_whatwgEncodingApi__WEBPACK_IMPORTED_MODULE_1__["toUtf8"])(input) : Object(_pureJs__WEBPACK_IMPORTED_MODULE_0__["toUtf8"])(input);
|
|
9136
|
+
};
|
|
9137
|
+
|
|
9138
|
+
|
|
9139
|
+
/***/ }),
|
|
9140
|
+
|
|
9141
|
+
/***/ "../../node_modules/@aws-sdk/client-lex-runtime-v2/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-sdk/util-utf8-browser/dist-es/pureJs.js":
|
|
9142
|
+
/*!**********************************************************************************************************************************************************************!*\
|
|
9143
|
+
!*** /root/amplify-js/node_modules/@aws-sdk/client-lex-runtime-v2/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-sdk/util-utf8-browser/dist-es/pureJs.js ***!
|
|
9144
|
+
\**********************************************************************************************************************************************************************/
|
|
9145
|
+
/*! exports provided: fromUtf8, toUtf8 */
|
|
9146
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9147
|
+
|
|
9148
|
+
"use strict";
|
|
9149
|
+
__webpack_require__.r(__webpack_exports__);
|
|
9150
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fromUtf8", function() { return fromUtf8; });
|
|
9151
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "toUtf8", function() { return toUtf8; });
|
|
9152
|
+
var fromUtf8 = function (input) {
|
|
9153
|
+
var bytes = [];
|
|
9154
|
+
for (var i = 0, len = input.length; i < len; i++) {
|
|
9155
|
+
var value = input.charCodeAt(i);
|
|
9156
|
+
if (value < 0x80) {
|
|
9157
|
+
bytes.push(value);
|
|
9158
|
+
}
|
|
9159
|
+
else if (value < 0x800) {
|
|
9160
|
+
bytes.push((value >> 6) | 192, (value & 63) | 128);
|
|
9161
|
+
}
|
|
9162
|
+
else if (i + 1 < input.length && (value & 0xfc00) === 0xd800 && (input.charCodeAt(i + 1) & 0xfc00) === 0xdc00) {
|
|
9163
|
+
var surrogatePair = 0x10000 + ((value & 1023) << 10) + (input.charCodeAt(++i) & 1023);
|
|
9164
|
+
bytes.push((surrogatePair >> 18) | 240, ((surrogatePair >> 12) & 63) | 128, ((surrogatePair >> 6) & 63) | 128, (surrogatePair & 63) | 128);
|
|
9165
|
+
}
|
|
9166
|
+
else {
|
|
9167
|
+
bytes.push((value >> 12) | 224, ((value >> 6) & 63) | 128, (value & 63) | 128);
|
|
9168
|
+
}
|
|
9169
|
+
}
|
|
9170
|
+
return Uint8Array.from(bytes);
|
|
9171
|
+
};
|
|
9172
|
+
var toUtf8 = function (input) {
|
|
9173
|
+
var decoded = "";
|
|
9174
|
+
for (var i = 0, len = input.length; i < len; i++) {
|
|
9175
|
+
var byte = input[i];
|
|
9176
|
+
if (byte < 0x80) {
|
|
9177
|
+
decoded += String.fromCharCode(byte);
|
|
9178
|
+
}
|
|
9179
|
+
else if (192 <= byte && byte < 224) {
|
|
9180
|
+
var nextByte = input[++i];
|
|
9181
|
+
decoded += String.fromCharCode(((byte & 31) << 6) | (nextByte & 63));
|
|
9182
|
+
}
|
|
9183
|
+
else if (240 <= byte && byte < 365) {
|
|
9184
|
+
var surrogatePair = [byte, input[++i], input[++i], input[++i]];
|
|
9185
|
+
var encoded = "%" + surrogatePair.map(function (byteValue) { return byteValue.toString(16); }).join("%");
|
|
9186
|
+
decoded += decodeURIComponent(encoded);
|
|
9187
|
+
}
|
|
9188
|
+
else {
|
|
9189
|
+
decoded += String.fromCharCode(((byte & 15) << 12) | ((input[++i] & 63) << 6) | (input[++i] & 63));
|
|
9190
|
+
}
|
|
9191
|
+
}
|
|
9192
|
+
return decoded;
|
|
9193
|
+
};
|
|
9194
|
+
|
|
9195
|
+
|
|
9196
|
+
/***/ }),
|
|
9197
|
+
|
|
9198
|
+
/***/ "../../node_modules/@aws-sdk/client-lex-runtime-v2/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-sdk/util-utf8-browser/dist-es/whatwgEncodingApi.js":
|
|
9199
|
+
/*!*********************************************************************************************************************************************************************************!*\
|
|
9200
|
+
!*** /root/amplify-js/node_modules/@aws-sdk/client-lex-runtime-v2/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-sdk/util-utf8-browser/dist-es/whatwgEncodingApi.js ***!
|
|
9201
|
+
\*********************************************************************************************************************************************************************************/
|
|
9202
|
+
/*! exports provided: fromUtf8, toUtf8 */
|
|
9203
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9204
|
+
|
|
9205
|
+
"use strict";
|
|
9206
|
+
__webpack_require__.r(__webpack_exports__);
|
|
9207
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fromUtf8", function() { return fromUtf8; });
|
|
9208
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "toUtf8", function() { return toUtf8; });
|
|
9209
|
+
function fromUtf8(input) {
|
|
9210
|
+
return new TextEncoder().encode(input);
|
|
9211
|
+
}
|
|
9212
|
+
function toUtf8(input) {
|
|
9213
|
+
return new TextDecoder("utf-8").decode(input);
|
|
9214
|
+
}
|
|
9215
|
+
|
|
9216
|
+
|
|
9114
9217
|
/***/ }),
|
|
9115
9218
|
|
|
9116
9219
|
/***/ "../../node_modules/@aws-sdk/client-lex-runtime-v2/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/tslib.es6.js":
|