idmission-web-sdk 2.2.164 → 2.2.165
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/contexts/AuthStateContext.d.ts.map +1 -1
- package/dist/lib/locales/de.d.ts +3 -1
- package/dist/lib/locales/de.d.ts.map +1 -1
- package/dist/lib/locales/es.d.ts +1 -1
- package/dist/lib/locales/fr.d.ts +3 -1
- package/dist/lib/locales/fr.d.ts.map +1 -1
- package/dist/lib/locales/index.d.ts +21 -7
- package/dist/lib/locales/index.d.ts.map +1 -1
- package/dist/lib/locales/it.d.ts +3 -1
- package/dist/lib/locales/it.d.ts.map +1 -1
- package/dist/lib/locales/ja.d.ts +3 -1
- package/dist/lib/locales/ja.d.ts.map +1 -1
- package/dist/lib/locales/pt.d.ts +3 -1
- package/dist/lib/locales/pt.d.ts.map +1 -1
- package/dist/lib/locales/ru.d.ts +2 -0
- package/dist/lib/locales/ru.d.ts.map +1 -1
- package/dist/lib/locales/zh.d.ts +3 -1
- package/dist/lib/locales/zh.d.ts.map +1 -1
- package/dist/sdk2.cjs.development.js +218 -151
- package/dist/sdk2.cjs.development.js.map +1 -1
- package/dist/sdk2.cjs.production.js +1 -1
- package/dist/sdk2.cjs.production.js.map +1 -1
- package/dist/sdk2.esm.js +218 -151
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +218 -151
- package/dist/sdk2.umd.development.js.map +1 -1
- package/dist/sdk2.umd.production.js +1 -1
- package/dist/sdk2.umd.production.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -211,7 +211,7 @@
|
|
|
211
211
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
212
212
|
};
|
|
213
213
|
|
|
214
|
-
var webSdkVersion = '2.2.
|
|
214
|
+
var webSdkVersion = '2.2.165';
|
|
215
215
|
|
|
216
216
|
function getPlatform() {
|
|
217
217
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -1099,6 +1099,61 @@
|
|
|
1099
1099
|
}, dualRingSpinnerAnimation);
|
|
1100
1100
|
var templateObject_1$J;
|
|
1101
1101
|
|
|
1102
|
+
var LogLevel;
|
|
1103
|
+
(function (LogLevel) {
|
|
1104
|
+
LogLevel[LogLevel["Off"] = 0] = "Off";
|
|
1105
|
+
LogLevel[LogLevel["Error"] = 1] = "Error";
|
|
1106
|
+
LogLevel[LogLevel["Warn"] = 2] = "Warn";
|
|
1107
|
+
LogLevel[LogLevel["Info"] = 3] = "Info";
|
|
1108
|
+
LogLevel[LogLevel["Debug"] = 4] = "Debug";
|
|
1109
|
+
})(LogLevel || (LogLevel = {}));
|
|
1110
|
+
var logLevel = LogLevel.Warn;
|
|
1111
|
+
function useLogLevel(newLogLevel) {
|
|
1112
|
+
React.useEffect(function () {
|
|
1113
|
+
var oldLogLevel = logLevel;
|
|
1114
|
+
if (newLogLevel === oldLogLevel) return;
|
|
1115
|
+
logLevel = newLogLevel;
|
|
1116
|
+
return function () {
|
|
1117
|
+
logLevel = oldLogLevel;
|
|
1118
|
+
};
|
|
1119
|
+
}, [newLogLevel]);
|
|
1120
|
+
}
|
|
1121
|
+
function useDebugLogging(enabled) {
|
|
1122
|
+
useLogLevel(enabled ? LogLevel.Debug : logLevel);
|
|
1123
|
+
}
|
|
1124
|
+
function debug() {
|
|
1125
|
+
var parts = [];
|
|
1126
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
1127
|
+
parts[_i] = arguments[_i];
|
|
1128
|
+
}
|
|
1129
|
+
if (logLevel < LogLevel.Debug) return;
|
|
1130
|
+
console.debug.apply(console, parts); // eslint-disable-line no-console
|
|
1131
|
+
}
|
|
1132
|
+
function log() {
|
|
1133
|
+
var parts = [];
|
|
1134
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
1135
|
+
parts[_i] = arguments[_i];
|
|
1136
|
+
}
|
|
1137
|
+
if (logLevel < LogLevel.Info) return;
|
|
1138
|
+
console.log.apply(console, parts); // eslint-disable-line no-console
|
|
1139
|
+
}
|
|
1140
|
+
function warn() {
|
|
1141
|
+
var parts = [];
|
|
1142
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
1143
|
+
parts[_i] = arguments[_i];
|
|
1144
|
+
}
|
|
1145
|
+
if (logLevel < LogLevel.Warn) return;
|
|
1146
|
+
console.warn.apply(console, parts); // eslint-disable-line no-console
|
|
1147
|
+
}
|
|
1148
|
+
function error() {
|
|
1149
|
+
var parts = [];
|
|
1150
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
1151
|
+
parts[_i] = arguments[_i];
|
|
1152
|
+
}
|
|
1153
|
+
if (logLevel < LogLevel.Error) return;
|
|
1154
|
+
console.error.apply(console, parts); // eslint-disable-line no-console
|
|
1155
|
+
}
|
|
1156
|
+
|
|
1102
1157
|
exports.defaultAuthUrl = 'https://portal-api.idmission.com';
|
|
1103
1158
|
var allowedAuthUrls = ['https://portal-api.idmission.com', 'https://portal-api-uat.idmission.com', 'https://portal-api-demo.idmission.com', 'https://portal-api-dev.idmission.com', 'http://localhost:10000'];
|
|
1104
1159
|
function setDefaultAuthUrl(url) {
|
|
@@ -1136,8 +1191,95 @@
|
|
|
1136
1191
|
return state;
|
|
1137
1192
|
}
|
|
1138
1193
|
};
|
|
1194
|
+
function makeValidateSessionRequest(authUrl_1, sessionId_1) {
|
|
1195
|
+
return __awaiter(this, arguments, void 0, function (authUrl, sessionId, retryCount) {
|
|
1196
|
+
var maxRetries, baseDelay, response, delay_1, error_1, delay_2;
|
|
1197
|
+
if (retryCount === void 0) {
|
|
1198
|
+
retryCount = 0;
|
|
1199
|
+
}
|
|
1200
|
+
return __generator(this, function (_a) {
|
|
1201
|
+
switch (_a.label) {
|
|
1202
|
+
case 0:
|
|
1203
|
+
maxRetries = 10;
|
|
1204
|
+
baseDelay = 1000 // 1 second
|
|
1205
|
+
;
|
|
1206
|
+
_a.label = 1;
|
|
1207
|
+
case 1:
|
|
1208
|
+
_a.trys.push([1, 4,, 6]);
|
|
1209
|
+
return [4 /*yield*/, fetch("".concat(authUrl, "/portal.sessions.v1.SessionsService/ValidateSession"), {
|
|
1210
|
+
method: 'POST',
|
|
1211
|
+
headers: {
|
|
1212
|
+
'Content-Type': 'application/json'
|
|
1213
|
+
},
|
|
1214
|
+
body: JSON.stringify({
|
|
1215
|
+
id: sessionId
|
|
1216
|
+
})
|
|
1217
|
+
})
|
|
1218
|
+
// If the request was successful or we've hit max retries, return the response
|
|
1219
|
+
];
|
|
1220
|
+
case 2:
|
|
1221
|
+
response = _a.sent();
|
|
1222
|
+
// If the request was successful or we've hit max retries, return the response
|
|
1223
|
+
if (response.ok || retryCount >= maxRetries) {
|
|
1224
|
+
return [2 /*return*/, response];
|
|
1225
|
+
}
|
|
1226
|
+
delay_1 = baseDelay * Math.pow(2, retryCount) // Exponential backoff
|
|
1227
|
+
;
|
|
1228
|
+
return [4 /*yield*/, new Promise(function (resolve) {
|
|
1229
|
+
return setTimeout(resolve, delay_1);
|
|
1230
|
+
})];
|
|
1231
|
+
case 3:
|
|
1232
|
+
_a.sent();
|
|
1233
|
+
return [2 /*return*/, makeValidateSessionRequest(authUrl, sessionId, retryCount + 1)];
|
|
1234
|
+
case 4:
|
|
1235
|
+
error_1 = _a.sent();
|
|
1236
|
+
// If we've hit max retries, throw the error
|
|
1237
|
+
if (retryCount >= maxRetries) {
|
|
1238
|
+
throw error_1;
|
|
1239
|
+
}
|
|
1240
|
+
delay_2 = baseDelay * Math.pow(2, retryCount);
|
|
1241
|
+
return [4 /*yield*/, new Promise(function (resolve) {
|
|
1242
|
+
return setTimeout(resolve, delay_2);
|
|
1243
|
+
})];
|
|
1244
|
+
case 5:
|
|
1245
|
+
_a.sent();
|
|
1246
|
+
return [2 /*return*/, makeValidateSessionRequest(authUrl, sessionId, retryCount + 1)];
|
|
1247
|
+
case 6:
|
|
1248
|
+
return [2 /*return*/];
|
|
1249
|
+
}
|
|
1250
|
+
});
|
|
1251
|
+
});
|
|
1252
|
+
}
|
|
1253
|
+
function validateSession(authUrl, sessionId) {
|
|
1254
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1255
|
+
var resp, respText, message, valid, respJson;
|
|
1256
|
+
return __generator(this, function (_a) {
|
|
1257
|
+
switch (_a.label) {
|
|
1258
|
+
case 0:
|
|
1259
|
+
return [4 /*yield*/, makeValidateSessionRequest(authUrl, sessionId)];
|
|
1260
|
+
case 1:
|
|
1261
|
+
resp = _a.sent();
|
|
1262
|
+
return [4 /*yield*/, resp.text()];
|
|
1263
|
+
case 2:
|
|
1264
|
+
respText = _a.sent();
|
|
1265
|
+
message = respText;
|
|
1266
|
+
valid = false;
|
|
1267
|
+
try {
|
|
1268
|
+
respJson = JSON.parse(respText);
|
|
1269
|
+
message = respJson.message;
|
|
1270
|
+
valid = respJson.valid;
|
|
1271
|
+
} catch (e) {
|
|
1272
|
+
warn('Failed to parse session validation response', e);
|
|
1273
|
+
}
|
|
1274
|
+
if (!resp.ok) {
|
|
1275
|
+
throw new SessionValidationFailedError(new Error(message), authUrl);
|
|
1276
|
+
}
|
|
1277
|
+
return [2 /*return*/, valid];
|
|
1278
|
+
}
|
|
1279
|
+
});
|
|
1280
|
+
});
|
|
1281
|
+
}
|
|
1139
1282
|
function useAuthReducer(authUrl, sessionId) {
|
|
1140
|
-
var _this = this;
|
|
1141
1283
|
if (authUrl === void 0) {
|
|
1142
1284
|
authUrl = exports.defaultAuthUrl;
|
|
1143
1285
|
}
|
|
@@ -1183,51 +1325,17 @@
|
|
|
1183
1325
|
type: 'setCheckState',
|
|
1184
1326
|
payload: 'RUNNING'
|
|
1185
1327
|
});
|
|
1186
|
-
(function () {
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
switch (_b.label) {
|
|
1191
|
-
case 0:
|
|
1192
|
-
_b.trys.push([0, 3,, 4]);
|
|
1193
|
-
return [4 /*yield*/, fetch("".concat(authUrl, "/portal.sessions.v1.SessionsService/ValidateSession"), {
|
|
1194
|
-
method: 'POST',
|
|
1195
|
-
headers: {
|
|
1196
|
-
'Content-Type': 'application/json'
|
|
1197
|
-
},
|
|
1198
|
-
body: JSON.stringify({
|
|
1199
|
-
id: resolvedSessionId
|
|
1200
|
-
})
|
|
1201
|
-
})];
|
|
1202
|
-
case 1:
|
|
1203
|
-
resp = _b.sent();
|
|
1204
|
-
return [4 /*yield*/, resp.json()];
|
|
1205
|
-
case 2:
|
|
1206
|
-
_a = _b.sent(), valid = _a.valid, message = _a.message;
|
|
1207
|
-
if (!resp.ok) {
|
|
1208
|
-
dispatch({
|
|
1209
|
-
type: 'setError',
|
|
1210
|
-
payload: new SessionValidationFailedError(new Error(message), authUrl)
|
|
1211
|
-
});
|
|
1212
|
-
}
|
|
1213
|
-
dispatch({
|
|
1214
|
-
type: 'setCheckState',
|
|
1215
|
-
payload: valid ? 'PASSED' : 'FAILED'
|
|
1216
|
-
});
|
|
1217
|
-
return [3 /*break*/, 4];
|
|
1218
|
-
case 3:
|
|
1219
|
-
e_1 = _b.sent();
|
|
1220
|
-
dispatch({
|
|
1221
|
-
type: 'setError',
|
|
1222
|
-
payload: new SessionValidationFailedError(e_1, authUrl)
|
|
1223
|
-
});
|
|
1224
|
-
return [3 /*break*/, 4];
|
|
1225
|
-
case 4:
|
|
1226
|
-
return [2 /*return*/];
|
|
1227
|
-
}
|
|
1228
|
-
});
|
|
1328
|
+
validateSession(authUrl, resolvedSessionId).then(function (valid) {
|
|
1329
|
+
dispatch({
|
|
1330
|
+
type: 'setCheckState',
|
|
1331
|
+
payload: valid ? 'PASSED' : 'FAILED'
|
|
1229
1332
|
});
|
|
1230
|
-
})()
|
|
1333
|
+
})["catch"](function (e) {
|
|
1334
|
+
dispatch({
|
|
1335
|
+
type: 'setError',
|
|
1336
|
+
payload: new SessionValidationFailedError(e, authUrl)
|
|
1337
|
+
});
|
|
1338
|
+
});
|
|
1231
1339
|
}
|
|
1232
1340
|
}, [authUrl, sessionCheckState, resolvedSessionId, sessionId]);
|
|
1233
1341
|
return [state, dispatch];
|
|
@@ -1278,61 +1386,6 @@
|
|
|
1278
1386
|
}, children));
|
|
1279
1387
|
}
|
|
1280
1388
|
|
|
1281
|
-
var LogLevel;
|
|
1282
|
-
(function (LogLevel) {
|
|
1283
|
-
LogLevel[LogLevel["Off"] = 0] = "Off";
|
|
1284
|
-
LogLevel[LogLevel["Error"] = 1] = "Error";
|
|
1285
|
-
LogLevel[LogLevel["Warn"] = 2] = "Warn";
|
|
1286
|
-
LogLevel[LogLevel["Info"] = 3] = "Info";
|
|
1287
|
-
LogLevel[LogLevel["Debug"] = 4] = "Debug";
|
|
1288
|
-
})(LogLevel || (LogLevel = {}));
|
|
1289
|
-
var logLevel = LogLevel.Warn;
|
|
1290
|
-
function useLogLevel(newLogLevel) {
|
|
1291
|
-
React.useEffect(function () {
|
|
1292
|
-
var oldLogLevel = logLevel;
|
|
1293
|
-
if (newLogLevel === oldLogLevel) return;
|
|
1294
|
-
logLevel = newLogLevel;
|
|
1295
|
-
return function () {
|
|
1296
|
-
logLevel = oldLogLevel;
|
|
1297
|
-
};
|
|
1298
|
-
}, [newLogLevel]);
|
|
1299
|
-
}
|
|
1300
|
-
function useDebugLogging(enabled) {
|
|
1301
|
-
useLogLevel(enabled ? LogLevel.Debug : logLevel);
|
|
1302
|
-
}
|
|
1303
|
-
function debug() {
|
|
1304
|
-
var parts = [];
|
|
1305
|
-
for (var _i = 0; _i < arguments.length; _i++) {
|
|
1306
|
-
parts[_i] = arguments[_i];
|
|
1307
|
-
}
|
|
1308
|
-
if (logLevel < LogLevel.Debug) return;
|
|
1309
|
-
console.debug.apply(console, parts); // eslint-disable-line no-console
|
|
1310
|
-
}
|
|
1311
|
-
function log() {
|
|
1312
|
-
var parts = [];
|
|
1313
|
-
for (var _i = 0; _i < arguments.length; _i++) {
|
|
1314
|
-
parts[_i] = arguments[_i];
|
|
1315
|
-
}
|
|
1316
|
-
if (logLevel < LogLevel.Info) return;
|
|
1317
|
-
console.log.apply(console, parts); // eslint-disable-line no-console
|
|
1318
|
-
}
|
|
1319
|
-
function warn() {
|
|
1320
|
-
var parts = [];
|
|
1321
|
-
for (var _i = 0; _i < arguments.length; _i++) {
|
|
1322
|
-
parts[_i] = arguments[_i];
|
|
1323
|
-
}
|
|
1324
|
-
if (logLevel < LogLevel.Warn) return;
|
|
1325
|
-
console.warn.apply(console, parts); // eslint-disable-line no-console
|
|
1326
|
-
}
|
|
1327
|
-
function error() {
|
|
1328
|
-
var parts = [];
|
|
1329
|
-
for (var _i = 0; _i < arguments.length; _i++) {
|
|
1330
|
-
parts[_i] = arguments[_i];
|
|
1331
|
-
}
|
|
1332
|
-
if (logLevel < LogLevel.Error) return;
|
|
1333
|
-
console.error.apply(console, parts); // eslint-disable-line no-console
|
|
1334
|
-
}
|
|
1335
|
-
|
|
1336
1389
|
var sparkMd5 = {exports: {}};
|
|
1337
1390
|
|
|
1338
1391
|
(function (module, exports) {
|
|
@@ -12294,7 +12347,7 @@
|
|
|
12294
12347
|
'Document is not centered': 'Documento no centrado',
|
|
12295
12348
|
'Document too close please back up': 'Documento muy cerca, favor de alejarse',
|
|
12296
12349
|
'Please hold your ID document steady': 'Por favor, hay que mantener firme su identificación',
|
|
12297
|
-
'Document out of focus
|
|
12350
|
+
'Document out of focus - try improving the lighting': 'Documento no enfocado, hay que tratar de mejorar la iluminación',
|
|
12298
12351
|
'ID card front detected - please flip your ID card': 'Frente de la ID detectado, por favor hay que voltearla',
|
|
12299
12352
|
'ID card back detected - please flip your ID card': 'Reverso de la ID detectado, por favor hay que voltearla',
|
|
12300
12353
|
'ID card detected please scan a passport instead': 'Se ha detectado una credencial, por favor hay que escanear un pasaporte',
|
|
@@ -12421,7 +12474,7 @@
|
|
|
12421
12474
|
'Document is not centered': 'Dokument ist nicht zentriert',
|
|
12422
12475
|
'Document too close please back up': 'Dokument ist zu nah, bitte Abstand vergrößern',
|
|
12423
12476
|
'Please hold your ID document steady': 'Ihr Ausweisdokument ruhig halten',
|
|
12424
|
-
'Document out of focus
|
|
12477
|
+
'Document out of focus - try improving the lighting': 'Dokument unscharf - versuchen Sie, die Beleuchtung zu verbessern',
|
|
12425
12478
|
'ID card front detected - please flip your ID card': 'Vorderseite des Ausweises erkannt - bitte Ihren Ausweis umdrehen',
|
|
12426
12479
|
'ID card back detected - please flip your ID card': 'Rückseite des Ausweises erkannt - bitte Ihren Ausweis umdrehen',
|
|
12427
12480
|
'ID card detected please scan a passport instead': 'Ausweis erkannt, bitte stattdessen einen Pass scannen',
|
|
@@ -12504,7 +12557,7 @@
|
|
|
12504
12557
|
'Camera ready': 'Kamera bereit',
|
|
12505
12558
|
'Loading guided capture experience...': 'Geführte Erfassung wird geladen...',
|
|
12506
12559
|
'Guided capture experience ready': 'Geführte Erfassung bereit',
|
|
12507
|
-
"Let's Go!":
|
|
12560
|
+
"Let's Go!": "Los geht's!",
|
|
12508
12561
|
'We are having trouble identifying the correct side of your id do you want to continue with capture anyway?': 'Wir haben Probleme, die richtige Seite Ihres Ausweises zu erkennen. Möchten Sie dennoch mit der Erfassung fortfahren?',
|
|
12509
12562
|
OK: 'OK',
|
|
12510
12563
|
'Capture with Camera': 'Mit der Kamera aufnehmen',
|
|
@@ -12516,7 +12569,9 @@
|
|
|
12516
12569
|
'Upload ID Front': 'Vorderseite der ID hochladen',
|
|
12517
12570
|
'Upload ID Back': 'Rückseite der ID hochladen',
|
|
12518
12571
|
Cancel: 'Abbrechen',
|
|
12519
|
-
'Upload the back of the ID if it is not included in the front image.': 'Laden Sie die Rückseite des Ausweises hoch, wenn diese nicht im Bild der Vorderseite enthalten ist
|
|
12572
|
+
'Upload the back of the ID if it is not included in the front image.': 'Laden Sie die Rückseite des Ausweises hoch, wenn diese nicht im Bild der Vorderseite enthalten ist.',
|
|
12573
|
+
'Camera tampering detected': 'Kamera manipuliert',
|
|
12574
|
+
"We're sorry, but it looks like the camera is being tampered with. Please check your device and try again by reloading the page.": 'Leider scheint die Kamera manipuliert zu werden. Bitte prüfen Sie Ihr Gerät und laden Sie die Seite neu.'
|
|
12520
12575
|
};
|
|
12521
12576
|
|
|
12522
12577
|
var fr = {
|
|
@@ -12546,7 +12601,7 @@
|
|
|
12546
12601
|
'Document is not centered': "Le document n'est pas centré",
|
|
12547
12602
|
'Document too close please back up': 'Document trop proche, veuillez sauvegarder',
|
|
12548
12603
|
'Please hold your ID document steady': "Veuillez maintenir fermement votre pièce d'identité",
|
|
12549
|
-
'Document out of focus
|
|
12604
|
+
'Document out of focus - try improving the lighting': "Document flou - essayez d'améliorer l'éclairage",
|
|
12550
12605
|
'ID card front detected - please flip your ID card': "Recto de la carte d'identité détecté - veuillez retourner votre carte d'identité",
|
|
12551
12606
|
'ID card back detected - please flip your ID card': "Verso de la carte d'identité détectée - veuillez retourner votre carte d'identité",
|
|
12552
12607
|
'ID card detected please scan a passport instead': "Carte d'identité détectée, veuillez scanner plutôt un passeport",
|
|
@@ -12561,7 +12616,7 @@
|
|
|
12561
12616
|
'ID card front captured.': "Recto de la carte d'identité capturé.",
|
|
12562
12617
|
'ID card back captured.': "Verso de la carte d'identité capturé.",
|
|
12563
12618
|
'ID Capture Successful': "Capture d'identité réussie",
|
|
12564
|
-
'Verify the entire ID was captured clearly with no glare.': "Vérifiez que l'intégralité de la pièce d
|
|
12619
|
+
'Verify the entire ID was captured clearly with no glare.': "Vérifiez que l'intégralité de la pièce d'identité a été capturée clairement, sans reflet.",
|
|
12565
12620
|
Submit: 'Soumettre',
|
|
12566
12621
|
'Submitting...': 'Soumission en cours...',
|
|
12567
12622
|
'Use your device camera to capture your face': 'Utilisez la caméra de votre appareil pour capturer votre visage',
|
|
@@ -12605,20 +12660,20 @@
|
|
|
12605
12660
|
'Display the back of your ID card...': "Affichez le verso de votre carte d'identité...",
|
|
12606
12661
|
'Display the ID page of your passport...': "Montrez la page d'identité de votre passeport...",
|
|
12607
12662
|
'Please move your face to the center...': 'Veuillez déplacer votre visage vers le centre...',
|
|
12608
|
-
'Searching for ID card...': "Recherche d
|
|
12663
|
+
'Searching for ID card...': "Recherche d'une carte d'identité...",
|
|
12609
12664
|
'Please read the following text aloud': 'Veuillez lire le texte suivant à voix haute',
|
|
12610
|
-
'Video ID has been successfully captured!': '
|
|
12611
|
-
'ID Front Image':
|
|
12612
|
-
'ID Back Image':
|
|
12665
|
+
'Video ID has been successfully captured!': "L'ID vidéo a été capturé avec succès!",
|
|
12666
|
+
'ID Front Image': "Image recto de la pièce d'identité",
|
|
12667
|
+
'ID Back Image': "Image verso de la pièce d'identité",
|
|
12613
12668
|
"We're having some trouble.": 'Nous rencontrons quelques problèmes.',
|
|
12614
12669
|
'On-device capture guidance failed please capture a selfie manually.': "Le guidage de capture sur l'appareil a échoué, veuillez capturer un selfie manuellement.",
|
|
12615
12670
|
'Verifying...': 'Vérification en cours...',
|
|
12616
12671
|
'Please capture the front of your ID card.': "Veuillez capturer le recto de votre carte d'identité.",
|
|
12617
12672
|
'Please capture the back of your ID card.': "Veuillez capturer le verso de votre carte d'identité.",
|
|
12618
|
-
'Please capture the front of your ID card, or the ID page of your passport.':
|
|
12619
|
-
'Please capture the back of your ID card, or click Done if submitting a passport.':
|
|
12673
|
+
'Please capture the front of your ID card, or the ID page of your passport.': "Veuillez capturer le recto de votre carte d'identité ou la page d'identité de votre passeport.",
|
|
12674
|
+
'Please capture the back of your ID card, or click Done if submitting a passport.': "Veuillez capturer le verso de votre carte d'identité ou cliquer sur Terminé si vous soumettez un passeport.",
|
|
12620
12675
|
'Please capture the ID page of your passport.': "Veuillez capturer la page d'identité de votre passeport.",
|
|
12621
|
-
'On-device capture guidance failed please capture a photo of your ID card manually.': "Le guidage de capture sur l'appareil a échoué, veuillez capturer une photo de votre pièce d
|
|
12676
|
+
'On-device capture guidance failed please capture a photo of your ID card manually.': "Le guidage de capture sur l'appareil a échoué, veuillez capturer une photo de votre pièce d'identité manuellement.",
|
|
12622
12677
|
'On-device capture guidance failed please capture a photo of your passport manually.': "Le guidage de capture sur l'appareil a échoué, veuillez capturer une photo de votre passeport manuellement.",
|
|
12623
12678
|
'On-device capture guidance failed please capture photos of your ID card and passport manually.': "Le guidage de capture sur l'appareil a échoué, veuillez capturer manuellement des photos de votre carte d'identité et de votre passeport.",
|
|
12624
12679
|
'On-device capture guidance failed please capture photos of your ID card or passport manually.': "Le guidage de capture sur l'appareil a échoué, veuillez capturer manuellement des photos de votre carte d'identité ou de votre passeport.",
|
|
@@ -12641,7 +12696,9 @@
|
|
|
12641
12696
|
'Upload ID Front': "Télécharger le recto de la pièce d'identité",
|
|
12642
12697
|
'Upload ID Back': "Télécharger le verso de la pièce d'identité",
|
|
12643
12698
|
Cancel: 'Annuler',
|
|
12644
|
-
'Upload the back of the ID if it is not included in the front image.': "Téléchargez le verso de la pièce d'identité si ce n'est pas inclus dans l'image du recto."
|
|
12699
|
+
'Upload the back of the ID if it is not included in the front image.': "Téléchargez le verso de la pièce d'identité si ce n'est pas inclus dans l'image du recto.",
|
|
12700
|
+
'Camera tampering detected': 'Manipulation de la caméra détectée',
|
|
12701
|
+
"We're sorry, but it looks like the camera is being tampered with. Please check your device and try again by reloading the page.": 'Nous sommes désolés, mais il semble que la caméra soit manipulée. Veuillez vérifier votre appareil et réessayer en rechargeant la page.'
|
|
12645
12702
|
};
|
|
12646
12703
|
|
|
12647
12704
|
var it = {
|
|
@@ -12664,27 +12721,27 @@
|
|
|
12664
12721
|
'Scan the front of ID': 'Scansiona il fronte del documento',
|
|
12665
12722
|
'Scan the back of ID': 'Scansiona il retro del documento',
|
|
12666
12723
|
'Scan the ID page of passport': 'Scansione la pagina identificativa del passaporto',
|
|
12667
|
-
'ID Card Front':
|
|
12668
|
-
'ID Card Back':
|
|
12724
|
+
'ID Card Front': "Fronte documento d'identità",
|
|
12725
|
+
'ID Card Back': "Retro documento d'identità",
|
|
12669
12726
|
Passport: 'Passaporto',
|
|
12670
12727
|
'Document not detected': 'Documento non rilevato',
|
|
12671
12728
|
'Document is not centered': 'Documento non centrato',
|
|
12672
12729
|
'Document too close please back up': 'Documento troppo vicino, allontanarlo',
|
|
12673
|
-
'Please hold your ID document steady':
|
|
12674
|
-
'Document out of focus
|
|
12675
|
-
'ID card front detected - please flip your ID card':
|
|
12676
|
-
'ID card back detected - please flip your ID card':
|
|
12677
|
-
'ID card detected please scan a passport instead':
|
|
12678
|
-
'Passport detected please scan an ID card instead':
|
|
12730
|
+
'Please hold your ID document steady': "Tenere il documento d'identità fermo",
|
|
12731
|
+
'Document out of focus - try improving the lighting': "Documento fuori fuoco - provare a migliorare l'illuminazione",
|
|
12732
|
+
'ID card front detected - please flip your ID card': "Fronte del documento d'identità rilevato - Girare il documento d'identità",
|
|
12733
|
+
'ID card back detected - please flip your ID card': "Retro del documento d'identità rilevato - Girare il documento d'identità",
|
|
12734
|
+
'ID card detected please scan a passport instead': "Documento d'identità rilevato, scansionare un passaporto al suo posto",
|
|
12735
|
+
'Passport detected please scan an ID card instead': "Passaporto rilevato, scansionare una documento d'identità al suo posto",
|
|
12679
12736
|
'Document detected, hold still...': 'Documento rilevato, tenere fermo...',
|
|
12680
|
-
'ID card front detected, hold still...':
|
|
12681
|
-
'ID card back detected, hold still...':
|
|
12737
|
+
'ID card front detected, hold still...': "Fronte documento d'identità rilevato, tenere fermo...",
|
|
12738
|
+
'ID card back detected, hold still...': "Retro documento d'identità rilevato, tenere fermo...",
|
|
12682
12739
|
'Passport detected, hold still...': 'Passaporto rilevato, tenere fermo...',
|
|
12683
12740
|
'Capturing...': 'Acquisizione...',
|
|
12684
12741
|
'Capture failed!': 'Acquisizione non riuscita!',
|
|
12685
|
-
'Please flip your ID card...':
|
|
12686
|
-
'ID card front captured.':
|
|
12687
|
-
'ID card back captured.':
|
|
12742
|
+
'Please flip your ID card...': "Capovolgere il documento d'identità",
|
|
12743
|
+
'ID card front captured.': "Fronte documento d'identità acquisito.",
|
|
12744
|
+
'ID card back captured.': "Retro documento d'identità acquisito.",
|
|
12688
12745
|
'ID Capture Successful': 'Acquisizione documento riuscita',
|
|
12689
12746
|
'Verify the entire ID was captured clearly with no glare.': 'Verificare che tutto il documento sia acquisito chiaramente e senza riflessi.',
|
|
12690
12747
|
Submit: 'Invia',
|
|
@@ -12726,29 +12783,29 @@
|
|
|
12726
12783
|
'Uploading...': 'Caricamento...',
|
|
12727
12784
|
'Upload succeeded!': 'Caricamento riuscito!',
|
|
12728
12785
|
'Performing facial recognition, please hold still...': 'Riconoscimento volto in corso, tenere fermo...',
|
|
12729
|
-
'Display the front of your ID card...':
|
|
12730
|
-
'Display the back of your ID card...':
|
|
12786
|
+
'Display the front of your ID card...': "Mostrare il fronte del documento d'identità...",
|
|
12787
|
+
'Display the back of your ID card...': "Mostrare il retro della documento d'identità...",
|
|
12731
12788
|
'Display the ID page of your passport...': 'Mostrare la pagina identificativa del passaporto...',
|
|
12732
12789
|
'Please move your face to the center...': 'Spostare il volto al centro...',
|
|
12733
|
-
'Searching for ID card...':
|
|
12790
|
+
'Searching for ID card...': "Ricerca documento d'identità in corso...",
|
|
12734
12791
|
'Please read the following text aloud': 'Leggere il testo seguente a voce alta',
|
|
12735
|
-
'Video ID has been successfully captured!': '
|
|
12736
|
-
'ID Front Image':
|
|
12737
|
-
'ID Back Image':
|
|
12792
|
+
'Video ID has been successfully captured!': "L'ID video è stato acquisito correttamente!",
|
|
12793
|
+
'ID Front Image': "Immagine fronte documento d'identità",
|
|
12794
|
+
'ID Back Image': "Immagine retro documento d'identità",
|
|
12738
12795
|
"We're having some trouble.": 'Si è verificato un problema.',
|
|
12739
12796
|
'On-device capture guidance failed please capture a selfie manually.': "La guida all'acquisizione sul dispositivo non è riuscita. Scattare un selfie manualmente.",
|
|
12740
12797
|
'Verifying...': 'Verifica...',
|
|
12741
|
-
'Please capture the front of your ID card.':
|
|
12742
|
-
'Please capture the back of your ID card.':
|
|
12743
|
-
'Please capture the front of your ID card, or the ID page of your passport.':
|
|
12744
|
-
'Please capture the back of your ID card, or click Done if submitting a passport.':
|
|
12798
|
+
'Please capture the front of your ID card.': "Acquisire il fronte del documento d'identità.",
|
|
12799
|
+
'Please capture the back of your ID card.': "Acquisire il retro del documento d'identità.",
|
|
12800
|
+
'Please capture the front of your ID card, or the ID page of your passport.': "Acquisire il fronte del documento d'identità o la pagina identificativa del passaporto.",
|
|
12801
|
+
'Please capture the back of your ID card, or click Done if submitting a passport.': "Acquisire il retro del documento d'identità o fare clic su Fatto se si invia un passaporto.",
|
|
12745
12802
|
'Please capture the ID page of your passport.': 'Acquisire la pagina identificativa del passaporto.',
|
|
12746
|
-
'On-device capture guidance failed please capture a photo of your ID card manually.': "La guida all'acquisizione sul dispositivo non è riuscita. Acquisire una foto del documento d
|
|
12803
|
+
'On-device capture guidance failed please capture a photo of your ID card manually.': "La guida all'acquisizione sul dispositivo non è riuscita. Acquisire una foto del documento d'identità manualmente.",
|
|
12747
12804
|
'On-device capture guidance failed please capture a photo of your passport manually.': "La guida all'acquisizione sul dispositivo non è riuscita. Acquisire una foto del passaporto manualmente.",
|
|
12748
|
-
'On-device capture guidance failed please capture photos of your ID card and passport manually.': "La guida all'acquisizione sul dispositivo non è riuscita. Acquisire delle foto del documento d
|
|
12749
|
-
'On-device capture guidance failed please capture photos of your ID card or passport manually.': "La guida all'acquisizione sul dispositivo non è riuscita. Acquisire delle foto del documento d
|
|
12805
|
+
'On-device capture guidance failed please capture photos of your ID card and passport manually.': "La guida all'acquisizione sul dispositivo non è riuscita. Acquisire delle foto del documento d'identità e del passaporto manualmente.",
|
|
12806
|
+
'On-device capture guidance failed please capture photos of your ID card or passport manually.': "La guida all'acquisizione sul dispositivo non è riuscita. Acquisire delle foto del documento d'identità o del passaporto manualmente.",
|
|
12750
12807
|
'Capture ID page of passport': 'Acquisisci pagina identificativa del passaporto',
|
|
12751
|
-
'Capture back of ID card':
|
|
12808
|
+
'Capture back of ID card': "Acquisisci retro del documento d'identità",
|
|
12752
12809
|
'Downloading...': 'Download in corso...',
|
|
12753
12810
|
'Accessing camera...': 'Accesso alla fotocamera...',
|
|
12754
12811
|
'Camera ready': 'Fotocamera pronta',
|
|
@@ -12766,7 +12823,9 @@
|
|
|
12766
12823
|
'Upload ID Front': "Carica il fronte dell'ID",
|
|
12767
12824
|
'Upload ID Back': "Carica il retro dell'ID",
|
|
12768
12825
|
Cancel: 'Annulla',
|
|
12769
|
-
'Upload the back of the ID if it is not included in the front image.': "Carica il retro dell'ID se non è incluso nell'immagine del fronte
|
|
12826
|
+
'Upload the back of the ID if it is not included in the front image.': "Carica il retro dell'ID se non è incluso nell'immagine del fronte.",
|
|
12827
|
+
'Camera tampering detected': 'Manipolazione della fotocamera rilevata',
|
|
12828
|
+
"We're sorry, but it looks like the camera is being tampered with. Please check your device and try again by reloading the page.": 'Siamo spiacenti, ma sembra che la fotocamera stia venendo manipolata. Controlla il tuo dispositivo e riprova ricaricando la pagina.'
|
|
12770
12829
|
};
|
|
12771
12830
|
|
|
12772
12831
|
var ja = {
|
|
@@ -12796,7 +12855,7 @@
|
|
|
12796
12855
|
'Document is not centered': 'ドキュメントが中央に合っていません',
|
|
12797
12856
|
'Document too close please back up': 'ドキュメントが近すぎます。遠ざけてください',
|
|
12798
12857
|
'Please hold your ID document steady': '身分証が動かないように押さえてください',
|
|
12799
|
-
'Document out of focus
|
|
12858
|
+
'Document out of focus - try improving the lighting': 'ドキュメントの焦点がぼやけています。照明を調節してください',
|
|
12800
12859
|
'ID card front detected - please flip your ID card': '身分証の正面が検出されました。身分証を裏返してください',
|
|
12801
12860
|
'ID card back detected - please flip your ID card': '身分証の背面が検出されました。身分証を裏返してください',
|
|
12802
12861
|
'ID card detected please scan a passport instead': '身分証が検出されました。パスポートをスキャンしてください',
|
|
@@ -12891,7 +12950,9 @@
|
|
|
12891
12950
|
'Upload ID Front': '身分証明書の表面をアップロード',
|
|
12892
12951
|
'Upload ID Back': '身分証明書の裏面をアップロード',
|
|
12893
12952
|
Cancel: 'キャンセル',
|
|
12894
|
-
'Upload the back of the ID if it is not included in the front image.': '表面画像に裏面が含まれていない場合は、裏面をアップロードしてください。'
|
|
12953
|
+
'Upload the back of the ID if it is not included in the front image.': '表面画像に裏面が含まれていない場合は、裏面をアップロードしてください。',
|
|
12954
|
+
'Camera tampering detected': 'カメラの操作が検出されました',
|
|
12955
|
+
"We're sorry, but it looks like the camera is being tampered with. Please check your device and try again by reloading the page.": 'カメラの操作が検出されました。デバイスを確認し、ページを再読み込みしてください。'
|
|
12895
12956
|
};
|
|
12896
12957
|
|
|
12897
12958
|
var pt = {
|
|
@@ -12921,7 +12982,7 @@
|
|
|
12921
12982
|
'Document is not centered': 'Documento não está centralizado',
|
|
12922
12983
|
'Document too close please back up': 'Documento muito próximo, recue',
|
|
12923
12984
|
'Please hold your ID document steady': 'Segure seu documento de identificação com firmeza',
|
|
12924
|
-
'Document out of focus
|
|
12985
|
+
'Document out of focus - try improving the lighting': 'Documento fora de foco - tente melhorar a iluminação',
|
|
12925
12986
|
'ID card front detected - please flip your ID card': 'Detectada a frente da carteira de identidade - vire a carteira de identidade',
|
|
12926
12987
|
'ID card back detected - please flip your ID card': 'Detectado o verso da carteira de identidade - vire a carteira de identidade',
|
|
12927
12988
|
'ID card detected please scan a passport instead': 'Detectada a carteira de identidade - escaneie um passaporte em seu lugar',
|
|
@@ -13016,7 +13077,9 @@
|
|
|
13016
13077
|
'Upload ID Front': 'Carregar frente do ID',
|
|
13017
13078
|
'Upload ID Back': 'Carregar verso do ID',
|
|
13018
13079
|
Cancel: 'Cancelar',
|
|
13019
|
-
'Upload the back of the ID if it is not included in the front image.': 'Carregue o verso do ID se não estiver incluído na imagem da frente.'
|
|
13080
|
+
'Upload the back of the ID if it is not included in the front image.': 'Carregue o verso do ID se não estiver incluído na imagem da frente.',
|
|
13081
|
+
'Camera tampering detected': 'Manipulação da câmera detectada',
|
|
13082
|
+
"We're sorry, but it looks like the camera is being tampered with. Please check your device and try again by reloading the page.": 'Lamentamos, mas parece que a câmera está sendo manipulada. Verifique seu dispositivo e tente novamente recarregando a página.'
|
|
13020
13083
|
};
|
|
13021
13084
|
|
|
13022
13085
|
var ru = {
|
|
@@ -13141,7 +13204,9 @@
|
|
|
13141
13204
|
'Upload ID Front': 'Загрузить переднюю сторону удостоверения личности',
|
|
13142
13205
|
'Upload ID Back': 'Загрузить заднюю сторону удостоверения личности',
|
|
13143
13206
|
Cancel: 'Отменить',
|
|
13144
|
-
'Upload the back of the ID if it is not included in the front image.': 'Загрузите заднюю сторону удостоверения, если она не включена в изображение передней
|
|
13207
|
+
'Upload the back of the ID if it is not included in the front image.': 'Загрузите заднюю сторону удостоверения, если она не включена в изображение передней стороны.',
|
|
13208
|
+
'Camera tampering detected': 'Обнаружена манипуляция с камерой',
|
|
13209
|
+
"We're sorry, but it looks like the camera is being tampered with. Please check your device and try again by reloading the page.": 'К сожалению, кажется, что камера подвергается манипуляциям. Пожалуйста, проверьте свое устройство и попробуйте снова, перезагрузив страницу.'
|
|
13145
13210
|
};
|
|
13146
13211
|
|
|
13147
13212
|
var zh = {
|
|
@@ -13171,7 +13236,7 @@
|
|
|
13171
13236
|
'Document is not centered': '文件未置中',
|
|
13172
13237
|
'Document too close please back up': '文件太近,請後退',
|
|
13173
13238
|
'Please hold your ID document steady': '請拿穩證件',
|
|
13174
|
-
'Document out of focus
|
|
13239
|
+
'Document out of focus - try improving the lighting': '文件失焦 - 請嘗試改善燈光',
|
|
13175
13240
|
'ID card front detected - please flip your ID card': '偵測到證件正面 - 請將證件翻面',
|
|
13176
13241
|
'ID card back detected - please flip your ID card': '偵測到證件背面 - 請將證件翻面',
|
|
13177
13242
|
'ID card detected please scan a passport instead': '偵測到證件,請掃描護照',
|
|
@@ -13232,7 +13297,7 @@
|
|
|
13232
13297
|
'Please move your face to the center...': '請將臉部移至中心...',
|
|
13233
13298
|
'Searching for ID card...': '正在搜尋證件...',
|
|
13234
13299
|
'Please read the following text aloud': '請大聲讀出以下文字',
|
|
13235
|
-
'Video ID has been successfully captured!': '已成功拍攝影片 ID
|
|
13300
|
+
'Video ID has been successfully captured!': '已成功拍攝影片 ID!',
|
|
13236
13301
|
'ID Front Image': '證件正面影像',
|
|
13237
13302
|
'ID Back Image': '證件背面影像',
|
|
13238
13303
|
"We're having some trouble.": '發生一些問題。',
|
|
@@ -13266,7 +13331,9 @@
|
|
|
13266
13331
|
'Upload ID Front': '上传身份证正面',
|
|
13267
13332
|
'Upload ID Back': '上传身份证背面',
|
|
13268
13333
|
Cancel: '取消',
|
|
13269
|
-
'Upload the back of the ID if it is not included in the front image.': '如果正面照片没有包含身份证背面,请上传背面照片。'
|
|
13334
|
+
'Upload the back of the ID if it is not included in the front image.': '如果正面照片没有包含身份证背面,请上传背面照片。',
|
|
13335
|
+
'Camera tampering detected': '檢測到相機被篡改',
|
|
13336
|
+
"We're sorry, but it looks like the camera is being tampered with. Please check your device and try again by reloading the page.": '很抱歉,看起來相機被篡改了。請檢查您的設備並重新載入頁面。'
|
|
13270
13337
|
};
|
|
13271
13338
|
|
|
13272
13339
|
var resources = {
|