idmission-web-sdk 2.2.137 → 2.2.139

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.
@@ -52,6 +52,7 @@ declare const _default: {
52
52
  'Move back...': string;
53
53
  'Move forward...': string;
54
54
  'Move to the center...': string;
55
+ 'Waiting for face to be detected...': string;
55
56
  'Please remove your eye coverings (sunglasses eye patch etc.)...': string;
56
57
  'Please remove your head coverings (hat scarf etc.)...': string;
57
58
  'Please remove your mask...': string;
@@ -1 +1 @@
1
- {"version":3,"file":"de.d.ts","sourceRoot":"","sources":["../../../src/lib/locales/de.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAsKC"}
1
+ {"version":3,"file":"de.d.ts","sourceRoot":"","sources":["../../../src/lib/locales/de.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAuKC"}
@@ -52,6 +52,7 @@ declare const _default: {
52
52
  'Move back...': string;
53
53
  'Move forward...': string;
54
54
  'Move to the center...': string;
55
+ 'Waiting for face to be detected...': string;
55
56
  'Please remove your eye coverings (sunglasses eye patch etc.)...': string;
56
57
  'Please remove your head coverings (hat scarf etc.)...': string;
57
58
  'Please remove your mask...': string;
@@ -1 +1 @@
1
- {"version":3,"file":"es.d.ts","sourceRoot":"","sources":["../../../src/lib/locales/es.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBA2KC"}
1
+ {"version":3,"file":"es.d.ts","sourceRoot":"","sources":["../../../src/lib/locales/es.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBA4KC"}
@@ -52,6 +52,7 @@ declare const _default: {
52
52
  'Move back...': string;
53
53
  'Move forward...': string;
54
54
  'Move to the center...': string;
55
+ 'Waiting for face to be detected...': string;
55
56
  'Please remove your eye coverings (sunglasses eye patch etc.)...': string;
56
57
  'Please remove your head coverings (hat scarf etc.)...': string;
57
58
  'Please remove your mask...': string;
@@ -1 +1 @@
1
- {"version":3,"file":"fr.d.ts","sourceRoot":"","sources":["../../../src/lib/locales/fr.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAyKC"}
1
+ {"version":3,"file":"fr.d.ts","sourceRoot":"","sources":["../../../src/lib/locales/fr.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBA0KC"}
@@ -60,6 +60,7 @@ export declare const resources: {
60
60
  'Move back...': string;
61
61
  'Move forward...': string;
62
62
  'Move to the center...': string;
63
+ 'Waiting for face to be detected...': string;
63
64
  'Please remove your eye coverings (sunglasses eye patch etc.)...': string;
64
65
  'Please remove your head coverings (hat scarf etc.)...': string;
65
66
  'Please remove your mask...': string;
@@ -185,6 +186,7 @@ export declare const resources: {
185
186
  'Move back...': string;
186
187
  'Move forward...': string;
187
188
  'Move to the center...': string;
189
+ 'Waiting for face to be detected...': string;
188
190
  'Please remove your eye coverings (sunglasses eye patch etc.)...': string;
189
191
  'Please remove your head coverings (hat scarf etc.)...': string;
190
192
  'Please remove your mask...': string;
@@ -310,6 +312,7 @@ export declare const resources: {
310
312
  'Move back...': string;
311
313
  'Move forward...': string;
312
314
  'Move to the center...': string;
315
+ 'Waiting for face to be detected...': string;
313
316
  'Please remove your eye coverings (sunglasses eye patch etc.)...': string;
314
317
  'Please remove your head coverings (hat scarf etc.)...': string;
315
318
  'Please remove your mask...': string;
@@ -435,6 +438,7 @@ export declare const resources: {
435
438
  'Move back...': string;
436
439
  'Move forward...': string;
437
440
  'Move to the center...': string;
441
+ 'Waiting for face to be detected...': string;
438
442
  'Please remove your eye coverings (sunglasses eye patch etc.)...': string;
439
443
  'Please remove your head coverings (hat scarf etc.)...': string;
440
444
  'Please remove your mask...': string;
@@ -560,6 +564,7 @@ export declare const resources: {
560
564
  'Move back...': string;
561
565
  'Move forward...': string;
562
566
  'Move to the center...': string;
567
+ 'Waiting for face to be detected...': string;
563
568
  'Please remove your eye coverings (sunglasses eye patch etc.)...': string;
564
569
  'Please remove your head coverings (hat scarf etc.)...': string;
565
570
  'Please remove your mask...': string;
@@ -685,6 +690,7 @@ export declare const resources: {
685
690
  'Move back...': string;
686
691
  'Move forward...': string;
687
692
  'Move to the center...': string;
693
+ 'Waiting for face to be detected...': string;
688
694
  'Please remove your eye coverings (sunglasses eye patch etc.)...': string;
689
695
  'Please remove your head coverings (hat scarf etc.)...': string;
690
696
  'Please remove your mask...': string;
@@ -810,6 +816,7 @@ export declare const resources: {
810
816
  'Move back...': string;
811
817
  'Move forward...': string;
812
818
  'Move to the center...': string;
819
+ 'Waiting for face to be detected...': string;
813
820
  'Please remove your eye coverings (sunglasses eye patch etc.)...': string;
814
821
  'Please remove your head coverings (hat scarf etc.)...': string;
815
822
  'Please remove your mask...': string;
@@ -935,6 +942,7 @@ export declare const resources: {
935
942
  'Move back...': string;
936
943
  'Move forward...': string;
937
944
  'Move to the center...': string;
945
+ 'Waiting for face to be detected...': string;
938
946
  'Please remove your eye coverings (sunglasses eye patch etc.)...': string;
939
947
  'Please remove your head coverings (hat scarf etc.)...': string;
940
948
  'Please remove your mask...': string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/locales/index.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,aAAa,yEAWhB,CAAA;AACV,MAAM,MAAM,WAAW,GAAG,OAAO,aAAa,CAAA;AAC9C,MAAM,MAAM,UAAU,GAAG,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,CAAA;AAErD,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUrB,CAAA;AAED,wBAAgB,cAAc,SAW7B;AAED,eAAO,MAAM,WAAW,SAAU,UAAU,KAAG,IAS9C,CAAA;AAED,MAAM,MAAM,4BAA4B,GAAG;IAAE,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,CAAA;AACrE,MAAM,MAAM,wBAAwB,GAChC,MAAM,GACN,4BAA4B,GAC5B,SAAS,CAAA;AACb,MAAM,MAAM,uBAAuB,GAC/B,wBAAwB,GACxB;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,uBAAuB,CAAA;CAAE,CAAA;AAqB9C,wBAAgB,WAAW,CACzB,QAAQ,EAAE,wBAAwB,EAClC,QAAQ,EAAE,MAAM,GACf,MAAM,CAOR;AAED,wBAAgB,eAAe,CAC7B,CAAC,SAAS;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,uBAAuB,CAAA;CAAE,EAEpD,QAAQ,EAAE,CAAC,GAAG,SAAS,EACvB,SAAS,EAAE;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,MAAM;CAAE,GACpC;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,MAAM;CAAE,CAqB5B"}
@@ -52,6 +52,7 @@ declare const _default: {
52
52
  'Move back...': string;
53
53
  'Move forward...': string;
54
54
  'Move to the center...': string;
55
+ 'Waiting for face to be detected...': string;
55
56
  'Please remove your eye coverings (sunglasses eye patch etc.)...': string;
56
57
  'Please remove your head coverings (hat scarf etc.)...': string;
57
58
  'Please remove your mask...': string;
@@ -1 +1 @@
1
- {"version":3,"file":"it.d.ts","sourceRoot":"","sources":["../../../src/lib/locales/it.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAuKC"}
1
+ {"version":3,"file":"it.d.ts","sourceRoot":"","sources":["../../../src/lib/locales/it.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAyKC"}
@@ -52,6 +52,7 @@ declare const _default: {
52
52
  'Move back...': string;
53
53
  'Move forward...': string;
54
54
  'Move to the center...': string;
55
+ 'Waiting for face to be detected...': string;
55
56
  'Please remove your eye coverings (sunglasses eye patch etc.)...': string;
56
57
  'Please remove your head coverings (hat scarf etc.)...': string;
57
58
  'Please remove your mask...': string;
@@ -1 +1 @@
1
- {"version":3,"file":"ja.d.ts","sourceRoot":"","sources":["../../../src/lib/locales/ja.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAgKC"}
1
+ {"version":3,"file":"ja.d.ts","sourceRoot":"","sources":["../../../src/lib/locales/ja.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAiKC"}
@@ -52,6 +52,7 @@ declare const _default: {
52
52
  'Move back...': string;
53
53
  'Move forward...': string;
54
54
  'Move to the center...': string;
55
+ 'Waiting for face to be detected...': string;
55
56
  'Please remove your eye coverings (sunglasses eye patch etc.)...': string;
56
57
  'Please remove your head coverings (hat scarf etc.)...': string;
57
58
  'Please remove your mask...': string;
@@ -1 +1 @@
1
- {"version":3,"file":"pt.d.ts","sourceRoot":"","sources":["../../../src/lib/locales/pt.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAuKC"}
1
+ {"version":3,"file":"pt.d.ts","sourceRoot":"","sources":["../../../src/lib/locales/pt.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAwKC"}
@@ -52,6 +52,7 @@ declare const _default: {
52
52
  'Move back...': string;
53
53
  'Move forward...': string;
54
54
  'Move to the center...': string;
55
+ 'Waiting for face to be detected...': string;
55
56
  'Please remove your eye coverings (sunglasses eye patch etc.)...': string;
56
57
  'Please remove your head coverings (hat scarf etc.)...': string;
57
58
  'Please remove your mask...': string;
@@ -1 +1 @@
1
- {"version":3,"file":"ru.d.ts","sourceRoot":"","sources":["../../../src/lib/locales/ru.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAsKC"}
1
+ {"version":3,"file":"ru.d.ts","sourceRoot":"","sources":["../../../src/lib/locales/ru.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAuKC"}
@@ -52,6 +52,7 @@ declare const _default: {
52
52
  'Move back...': string;
53
53
  'Move forward...': string;
54
54
  'Move to the center...': string;
55
+ 'Waiting for face to be detected...': string;
55
56
  'Please remove your eye coverings (sunglasses eye patch etc.)...': string;
56
57
  'Please remove your head coverings (hat scarf etc.)...': string;
57
58
  'Please remove your mask...': string;
@@ -1 +1 @@
1
- {"version":3,"file":"zh.d.ts","sourceRoot":"","sources":["../../../src/lib/locales/zh.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBA8IC"}
1
+ {"version":3,"file":"zh.d.ts","sourceRoot":"","sources":["../../../src/lib/locales/zh.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBA+IC"}
@@ -233,7 +233,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
233
233
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
234
234
  };
235
235
 
236
- var webSdkVersion = '2.2.137';
236
+ var webSdkVersion = '2.2.139';
237
237
 
238
238
  function getPlatform() {
239
239
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -1917,11 +1917,18 @@ function convertBase64ToBlob(base64Image) {
1917
1917
  function calculateMd5(blob) {
1918
1918
  return new Promise(function (resolve, reject) {
1919
1919
  var reader = new FileReader();
1920
- reader.readAsArrayBuffer(blob);
1920
+ var spark = new SparkMD5__default.default.ArrayBuffer();
1921
+ reader.onload = function (e) {
1922
+ var _a;
1923
+ if (e.target) spark.append((_a = e.target) === null || _a === void 0 ? void 0 : _a.result);
1924
+ };
1921
1925
  reader.onloadend = function () {
1922
- if (!reader.result) return reject(new Error('Failed to read file'));
1923
- resolve(SparkMD5__default.default.ArrayBuffer.hash(reader.result));
1926
+ return resolve(spark.end());
1924
1927
  };
1928
+ reader.onerror = function (e) {
1929
+ return reject(e);
1930
+ };
1931
+ reader.readAsArrayBuffer(blob);
1925
1932
  });
1926
1933
  }
1927
1934
  function getEnvFromUrl(url) {
@@ -5089,6 +5096,7 @@ var es = {
5089
5096
  'Move back...': 'Hay que moverse hacia atrás...',
5090
5097
  'Move forward...': 'Hay que moverse hacia adelante...',
5091
5098
  'Move to the center...': 'Hay que moverse hacia el centro...',
5099
+ 'Waiting for face to be detected...': 'Esperando que se detecte la cara...',
5092
5100
  'Please remove your eye coverings (sunglasses eye patch etc.)...': 'Hay que quitarse lo que cubre los ojos (lentes, parche, etc.)...',
5093
5101
  'Please remove your head coverings (hat scarf etc.)...': 'Hay que quitarse lo que cubre la cabeza (gorra, mascada, etc.)...',
5094
5102
  'Please remove your mask...': 'Hay que quitarse el cubrebocas...',
@@ -5213,6 +5221,7 @@ var de = {
5213
5221
  'Move back...': 'Nach hinten bewegen...',
5214
5222
  'Move forward...': 'Nach vorne bewegen...',
5215
5223
  'Move to the center...': 'In die Mitte bewegen...',
5224
+ 'Waiting for face to be detected...': 'Warte auf die Gesichtserkennung...',
5216
5225
  'Please remove your eye coverings (sunglasses eye patch etc.)...': 'Bitte Augenbedeckung entfernen (Sonnenbrille, Augenklappe usw.)...',
5217
5226
  'Please remove your head coverings (hat scarf etc.)...': 'Bitte Kopfbedeckung abnehmen (Mütze, Schal usw.)...',
5218
5227
  'Please remove your mask...': 'Bitte Maske ablegen...',
@@ -5337,6 +5346,7 @@ var fr = {
5337
5346
  'Move back...': 'Reculez...',
5338
5347
  'Move forward...': 'Avancez...',
5339
5348
  'Move to the center...': 'Déplacez-vous vers le centre...',
5349
+ 'Waiting for face to be detected...': 'En attente de détection du visage...',
5340
5350
  'Please remove your eye coverings (sunglasses eye patch etc.)...': 'Veuillez retirer ce qui recouvre vos yeux (lunettes de soleil, cache-œil, etc.)...',
5341
5351
  'Please remove your head coverings (hat scarf etc.)...': 'Veuillez retirer vos couvre-chefs (chapeau, foulard, etc.)...',
5342
5352
  'Please remove your mask...': 'Veuillez retirer votre masque...',
@@ -5461,6 +5471,7 @@ var it = {
5461
5471
  'Move back...': 'Spostarsi più lontano...',
5462
5472
  'Move forward...': 'Spostarsi più vicino...',
5463
5473
  'Move to the center...': 'Spostarsi al centro...',
5474
+ 'Waiting for face to be detected...': 'In attesa che venga rilevato il volto...',
5464
5475
  'Please remove your eye coverings (sunglasses eye patch etc.)...': 'Rimuovere tutto ciò che copre gli occhi (occhiali da sole, bende, ecc.)...',
5465
5476
  'Please remove your head coverings (hat scarf etc.)...': 'Rimuovere tutto ciò che ricopre il capo (cappello, sciarpa, ecc.)...',
5466
5477
  'Please remove your mask...': 'Rimuovere la mascherina...',
@@ -5585,6 +5596,7 @@ var ja = {
5585
5596
  'Move back...': '遠ざかってください…',
5586
5597
  'Move forward...': '近づいてください…',
5587
5598
  'Move to the center...': '中央へ移動してください…',
5599
+ 'Waiting for face to be detected...': '顔が検出されるのを待っています…',
5588
5600
  'Please remove your eye coverings (sunglasses eye patch etc.)...': '目を覆うもの(サングラスや眼帯など)を取り外してください…',
5589
5601
  'Please remove your head coverings (hat scarf etc.)...': '頭を覆うもの(帽子やスカーフなど)を取り外してください…',
5590
5602
  'Please remove your mask...': 'マスクを取り外してください…',
@@ -5709,6 +5721,7 @@ var pt = {
5709
5721
  'Move back...': 'Mover para trás...',
5710
5722
  'Move forward...': 'Mover para frente...',
5711
5723
  'Move to the center...': 'Mover para o centro...',
5724
+ 'Waiting for face to be detected...': 'Aguardando a detecção de rosto...',
5712
5725
  'Please remove your eye coverings (sunglasses eye patch etc.)...': 'Por favor, remova as coberturas dos olhos (óculos de sol, tapa-olho, etc.)...',
5713
5726
  'Please remove your head coverings (hat scarf etc.)...': 'Por favor, remova as coberturas da cabeça (chapéu, cachecol, etc.)...',
5714
5727
  'Please remove your mask...': 'Por favor, remova sua máscara...',
@@ -5833,6 +5846,7 @@ var ru = {
5833
5846
  'Move back...': 'Отойдите назад…',
5834
5847
  'Move forward...': 'Подвиньтесь вперед…',
5835
5848
  'Move to the center...': 'Переместите к центру…',
5849
+ 'Waiting for face to be detected...': 'Ожидание обнаружения лица…',
5836
5850
  'Please remove your eye coverings (sunglasses eye patch etc.)...': 'Снимите предметы, закрывающие глаза (солнцезащитные очки, повязку и т.д.)…',
5837
5851
  'Please remove your head coverings (hat scarf etc.)...': 'Снимите предметы, покрывающие голову (шапку, шарф и т.д.)…',
5838
5852
  'Please remove your mask...': 'Снимите маску…',
@@ -5957,6 +5971,7 @@ var zh = {
5957
5971
  'Move back...': '請後退...',
5958
5972
  'Move forward...': '請前進...',
5959
5973
  'Move to the center...': '請移至中心...',
5974
+ 'Waiting for face to be detected...': '正在等待臉部辨識...',
5960
5975
  'Please remove your eye coverings (sunglasses eye patch etc.)...': '請取下眼睛遮蓋物(太陽眼鏡、眼罩等)...',
5961
5976
  'Please remove your head coverings (hat scarf etc.)...': '請取下頭部遮蓋物(帽子、圍巾等)...',
5962
5977
  'Please remove your mask...': '請脫下口罩...',