metag-sdk-ionic 1.2.7-native-0.104 → 1.2.7-native-0.106
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.
|
@@ -10,7 +10,7 @@ import * as i1 from "@ionic/angular";
|
|
|
10
10
|
import * as i2 from "../../services/modal-services/modal-dpi-services";
|
|
11
11
|
import * as i3 from "@angular/common";
|
|
12
12
|
function NativeVideoSelfiePreviewComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
13
|
-
i0.ɵɵelementStart(0, "div",
|
|
13
|
+
i0.ɵɵelementStart(0, "div", 10)(1, "div", 11);
|
|
14
14
|
i0.ɵɵtext(2);
|
|
15
15
|
i0.ɵɵelementEnd()();
|
|
16
16
|
} if (rf & 2) {
|
|
@@ -19,7 +19,7 @@ function NativeVideoSelfiePreviewComponent_div_2_Template(rf, ctx) { if (rf & 1)
|
|
|
19
19
|
i0.ɵɵtextInterpolate(ctx_r0.countdown);
|
|
20
20
|
} }
|
|
21
21
|
function NativeVideoSelfiePreviewComponent_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
22
|
-
i0.ɵɵelementStart(0, "div",
|
|
22
|
+
i0.ɵɵelementStart(0, "div", 12)(1, "ion-label", 13);
|
|
23
23
|
i0.ɵɵtext(2);
|
|
24
24
|
i0.ɵɵelementEnd()();
|
|
25
25
|
} if (rf & 2) {
|
|
@@ -29,13 +29,13 @@ function NativeVideoSelfiePreviewComponent_div_4_Template(rf, ctx) { if (rf & 1)
|
|
|
29
29
|
} }
|
|
30
30
|
function NativeVideoSelfiePreviewComponent_ion_button_7_Template(rf, ctx) { if (rf & 1) {
|
|
31
31
|
const _r2 = i0.ɵɵgetCurrentView();
|
|
32
|
-
i0.ɵɵelementStart(0, "ion-button",
|
|
32
|
+
i0.ɵɵelementStart(0, "ion-button", 14);
|
|
33
33
|
i0.ɵɵlistener("click", function NativeVideoSelfiePreviewComponent_ion_button_7_Template_ion_button_click_0_listener() { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.recordVideo()); });
|
|
34
34
|
i0.ɵɵtext(1, " Iniciar Grabaci\u00F3n ");
|
|
35
35
|
i0.ɵɵelementEnd();
|
|
36
36
|
} }
|
|
37
37
|
function NativeVideoSelfiePreviewComponent_ion_spinner_8_Template(rf, ctx) { if (rf & 1) {
|
|
38
|
-
i0.ɵɵelement(0, "ion-spinner",
|
|
38
|
+
i0.ɵɵelement(0, "ion-spinner", 15);
|
|
39
39
|
} }
|
|
40
40
|
export class NativeVideoSelfiePreviewComponent {
|
|
41
41
|
constructor(platform, modalController, alertController, changeDetector, modalDpiServices) {
|
|
@@ -84,13 +84,16 @@ export class NativeVideoSelfiePreviewComponent {
|
|
|
84
84
|
try {
|
|
85
85
|
const cameraPreviewOptions = {
|
|
86
86
|
position: 'front',
|
|
87
|
-
toBack:
|
|
87
|
+
toBack: true, // Preview DETRÁS del HTML para que el overlay sea visible
|
|
88
88
|
x: 0,
|
|
89
89
|
y: 0,
|
|
90
|
-
width: window.screen.width,
|
|
91
|
-
height: window.screen.height,
|
|
92
|
-
disableAudio: false
|
|
90
|
+
width: Math.floor(window.screen.width),
|
|
91
|
+
height: Math.floor(window.screen.height),
|
|
92
|
+
disableAudio: false,
|
|
93
|
+
enableZoom: false,
|
|
94
|
+
lockAndroidOrientation: true
|
|
93
95
|
};
|
|
96
|
+
console.log('[NativeVideoSelfiePreview] Iniciando preview con dimensiones:', cameraPreviewOptions.width, 'x', cameraPreviewOptions.height);
|
|
94
97
|
await CameraPreview.start(cameraPreviewOptions);
|
|
95
98
|
console.log('[NativeVideoSelfiePreview] CameraPreview iniciado correctamente');
|
|
96
99
|
}
|
|
@@ -154,7 +157,10 @@ export class NativeVideoSelfiePreviewComponent {
|
|
|
154
157
|
console.log('[NativeVideoSelfiePreview] Deteniendo grabación...');
|
|
155
158
|
// Detener grabación
|
|
156
159
|
await CameraPreview.stopRecordVideo();
|
|
157
|
-
console.log('[NativeVideoSelfiePreview] Video grabado,
|
|
160
|
+
console.log('[NativeVideoSelfiePreview] Video grabado, esperando 1 segundo antes de obtener...');
|
|
161
|
+
// Esperar 1 segundo para que el archivo se escriba completamente
|
|
162
|
+
await new Promise(resolve => setTimeout(resolve, 1000));
|
|
163
|
+
console.log('[NativeVideoSelfiePreview] Obteniendo video del almacenamiento...');
|
|
158
164
|
// El video se guarda automáticamente en el directorio de la app
|
|
159
165
|
// Necesitamos obtener la lista de videos y tomar el más reciente
|
|
160
166
|
const videoFile = await this.getLatestVideoFile();
|
|
@@ -174,28 +180,32 @@ export class NativeVideoSelfiePreviewComponent {
|
|
|
174
180
|
catch (error) {
|
|
175
181
|
console.error('[NativeVideoSelfiePreview] Error deteniendo grabación:', error);
|
|
176
182
|
this.isRecording = false;
|
|
177
|
-
await this.showError('No se pudo procesar el video.
|
|
183
|
+
await this.showError('No se pudo procesar el video: ' + error.message);
|
|
178
184
|
}
|
|
179
185
|
}
|
|
180
186
|
async getLatestVideoFile() {
|
|
181
187
|
try {
|
|
188
|
+
console.log('[NativeVideoSelfiePreview] Obteniendo videos de la galería...');
|
|
182
189
|
// Obtener videos de la galería usando Media plugin
|
|
183
|
-
const
|
|
190
|
+
const result = await Media.getMedias({
|
|
184
191
|
types: 'videos',
|
|
185
192
|
sort: [{
|
|
186
193
|
key: 'creationDate',
|
|
187
194
|
ascending: false
|
|
188
195
|
}],
|
|
189
|
-
quantity:
|
|
196
|
+
quantity: 5 // Obtener los últimos 5 videos para debug
|
|
190
197
|
});
|
|
191
|
-
|
|
192
|
-
|
|
198
|
+
console.log('[NativeVideoSelfiePreview] Videos encontrados:', result.medias?.length || 0);
|
|
199
|
+
if (result.medias && result.medias.length > 0) {
|
|
200
|
+
console.log('[NativeVideoSelfiePreview] Usando video más reciente:', result.medias[0].identifier);
|
|
201
|
+
return result.medias[0].identifier;
|
|
193
202
|
}
|
|
194
|
-
throw new Error('No se
|
|
203
|
+
throw new Error('No se encontraron videos en la galería');
|
|
195
204
|
}
|
|
196
205
|
catch (error) {
|
|
197
206
|
console.error('[NativeVideoSelfiePreview] Error obteniendo video:', error);
|
|
198
|
-
|
|
207
|
+
console.error('[NativeVideoSelfiePreview] Error details:', JSON.stringify(error));
|
|
208
|
+
throw new Error('No se pudo obtener el video: ' + error.message);
|
|
199
209
|
}
|
|
200
210
|
}
|
|
201
211
|
async pathToFile(videoPath) {
|
|
@@ -261,21 +271,22 @@ export class NativeVideoSelfiePreviewComponent {
|
|
|
261
271
|
await alert.present();
|
|
262
272
|
}
|
|
263
273
|
static { this.ɵfac = function NativeVideoSelfiePreviewComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NativeVideoSelfiePreviewComponent)(i0.ɵɵdirectiveInject(i1.Platform), i0.ɵɵdirectiveInject(i1.ModalController), i0.ɵɵdirectiveInject(i1.AlertController), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i2.ModalDpiServices)); }; }
|
|
264
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NativeVideoSelfiePreviewComponent, selectors: [["app-native-video-selfie-preview"]], inputs: { text1: "text1", text2: "text2", backFunction: "backFunction" }, outputs: { closeRequested: "closeRequested" }, standalone: true, features: [i0.ɵɵStandaloneFeature], decls: 11, vars:
|
|
265
|
-
i0.ɵɵelementStart(0, "ion-content")(1, "div",
|
|
266
|
-
i0.ɵɵtemplate(2, NativeVideoSelfiePreviewComponent_div_2_Template, 3, 1, "div",
|
|
267
|
-
i0.ɵɵelement(3, "div",
|
|
268
|
-
i0.ɵɵtemplate(4, NativeVideoSelfiePreviewComponent_div_4_Template, 3, 1, "div",
|
|
269
|
-
i0.ɵɵelementStart(5, "p",
|
|
274
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NativeVideoSelfiePreviewComponent, selectors: [["app-native-video-selfie-preview"]], inputs: { text1: "text1", text2: "text2", backFunction: "backFunction" }, outputs: { closeRequested: "closeRequested" }, standalone: true, features: [i0.ɵɵStandaloneFeature], decls: 11, vars: 6, consts: [[3, "fullscreen"], [1, "overlay-container"], ["class", "countdown-overlay", 4, "ngIf"], [1, "circle-overlay"], ["class", "timer", 4, "ngIf"], [1, "instruction"], ["expand", "block", "class", "start-button", 3, "click", 4, "ngIf"], ["name", "crescent", 4, "ngIf"], ["fill", "clear", 1, "close-btn", 3, "click"], ["name", "close"], [1, "countdown-overlay"], [1, "countdown"], [1, "timer"], [1, "timer-label"], ["expand", "block", 1, "start-button", 3, "click"], ["name", "crescent"]], template: function NativeVideoSelfiePreviewComponent_Template(rf, ctx) { if (rf & 1) {
|
|
275
|
+
i0.ɵɵelementStart(0, "ion-content", 0)(1, "div", 1);
|
|
276
|
+
i0.ɵɵtemplate(2, NativeVideoSelfiePreviewComponent_div_2_Template, 3, 1, "div", 2);
|
|
277
|
+
i0.ɵɵelement(3, "div", 3);
|
|
278
|
+
i0.ɵɵtemplate(4, NativeVideoSelfiePreviewComponent_div_4_Template, 3, 1, "div", 4);
|
|
279
|
+
i0.ɵɵelementStart(5, "p", 5);
|
|
270
280
|
i0.ɵɵtext(6);
|
|
271
281
|
i0.ɵɵelementEnd();
|
|
272
|
-
i0.ɵɵtemplate(7, NativeVideoSelfiePreviewComponent_ion_button_7_Template, 2, 0, "ion-button",
|
|
282
|
+
i0.ɵɵtemplate(7, NativeVideoSelfiePreviewComponent_ion_button_7_Template, 2, 0, "ion-button", 6)(8, NativeVideoSelfiePreviewComponent_ion_spinner_8_Template, 1, 0, "ion-spinner", 7);
|
|
273
283
|
i0.ɵɵelementEnd();
|
|
274
|
-
i0.ɵɵelementStart(9, "ion-button",
|
|
284
|
+
i0.ɵɵelementStart(9, "ion-button", 8);
|
|
275
285
|
i0.ɵɵlistener("click", function NativeVideoSelfiePreviewComponent_Template_ion_button_click_9_listener() { return ctx.closeRequestedFunction(); });
|
|
276
|
-
i0.ɵɵelement(10, "ion-icon",
|
|
286
|
+
i0.ɵɵelement(10, "ion-icon", 9);
|
|
277
287
|
i0.ɵɵelementEnd()();
|
|
278
288
|
} if (rf & 2) {
|
|
289
|
+
i0.ɵɵproperty("fullscreen", true);
|
|
279
290
|
i0.ɵɵadvance(2);
|
|
280
291
|
i0.ɵɵproperty("ngIf", ctx.countdown > 0);
|
|
281
292
|
i0.ɵɵadvance(2);
|
|
@@ -286,13 +297,13 @@ export class NativeVideoSelfiePreviewComponent {
|
|
|
286
297
|
i0.ɵɵproperty("ngIf", !ctx.isRecording && !ctx.isLoading);
|
|
287
298
|
i0.ɵɵadvance();
|
|
288
299
|
i0.ɵɵproperty("ngIf", ctx.isLoading);
|
|
289
|
-
} }, dependencies: [IonicModule, i1.IonButton, i1.IonContent, i1.IonIcon, i1.IonLabel, i1.IonSpinner, CommonModule, i3.NgIf], styles: ["ion-content[_ngcontent-%COMP%] {\n --background: transparent;\n }\n \n .overlay-container[_ngcontent-%COMP%] {\n position:
|
|
300
|
+
} }, dependencies: [IonicModule, i1.IonButton, i1.IonContent, i1.IonIcon, i1.IonLabel, i1.IonSpinner, CommonModule, i3.NgIf], styles: ["[_nghost-%COMP%] {\n display: block;\n width: 100%;\n height: 100%;\n }\n\n ion-content[_ngcontent-%COMP%] {\n --background: transparent;\n --ion-background-color: transparent;\n background: transparent !important;\n }\n\n ion-content[_ngcontent-%COMP%]::part(background) {\n background: transparent;\n }\n\n ion-content[_ngcontent-%COMP%]::part(scroll) {\n background: transparent;\n }\n \n .overlay-container[_ngcontent-%COMP%] {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n z-index: 999;\n pointer-events: none;\n }\n\n .overlay-container[_ngcontent-%COMP%] ion-button[_ngcontent-%COMP%], \n .overlay-container[_ngcontent-%COMP%] ion-spinner[_ngcontent-%COMP%] {\n pointer-events: all;\n }\n\n .countdown-overlay[_ngcontent-%COMP%] {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background: rgba(0, 0, 0, 0.7);\n display: flex;\n justify-content: center;\n align-items: center;\n z-index: 20;\n }\n\n .countdown[_ngcontent-%COMP%] {\n font-size: 120px;\n color: white;\n font-weight: bold;\n animation: _ngcontent-%COMP%_pulse 1s ease-in-out;\n }\n\n @keyframes _ngcontent-%COMP%_pulse {\n 0%, 100% { opacity: 1; transform: scale(1); }\n 50% { opacity: 0.8; transform: scale(0.95); }\n }\n \n .circle-overlay[_ngcontent-%COMP%] {\n position: absolute;\n width: 300px;\n height: 300px;\n border: 4px solid #9c27b0;\n border-radius: 50%;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n box-shadow: 0 0 20px rgba(156, 39, 176, 0.5);\n animation: _ngcontent-%COMP%_pulse-border 2s ease-in-out infinite;\n }\n\n @keyframes _ngcontent-%COMP%_pulse-border {\n 0%, 100% { border-color: #9c27b0; box-shadow: 0 0 20px rgba(156, 39, 176, 0.5); }\n 50% { border-color: #7b1fa2; box-shadow: 0 0 30px rgba(123, 31, 162, 0.8); }\n }\n \n .timer[_ngcontent-%COMP%] {\n position: absolute;\n top: 15%;\n z-index: 15;\n }\n\n .timer-label[_ngcontent-%COMP%] {\n color: #f44336;\n font-size: 32px;\n font-weight: bold;\n text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);\n }\n \n .instruction[_ngcontent-%COMP%] {\n position: absolute;\n bottom: 150px;\n color: white;\n text-align: center;\n padding: 0 30px;\n font-size: 16px;\n text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);\n background: rgba(0, 0, 0, 0.5);\n border-radius: 10px;\n padding: 15px 20px;\n }\n \n .start-button[_ngcontent-%COMP%] {\n position: absolute;\n bottom: 50px;\n left: 50%;\n transform: translateX(-50%);\n width: 80%;\n max-width: 300px;\n --background: #9c27b0;\n --background-hover: #7b1fa2;\n --border-radius: 25px;\n font-weight: bold;\n }\n\n ion-spinner[_ngcontent-%COMP%] {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n --color: white;\n width: 60px;\n height: 60px;\n }\n \n .close-btn[_ngcontent-%COMP%] {\n position: fixed;\n top: 20px;\n right: 20px;\n z-index: 1000;\n --color: white;\n --background: rgba(0, 0, 0, 0.5);\n --border-radius: 50%;\n width: 50px;\n height: 50px;\n pointer-events: all;\n }"] }); }
|
|
290
301
|
}
|
|
291
302
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NativeVideoSelfiePreviewComponent, [{
|
|
292
303
|
type: Component,
|
|
293
304
|
args: [{ selector: 'app-native-video-selfie-preview', standalone: true, imports: [IonicModule, CommonModule], template: `
|
|
294
|
-
<ion-content>
|
|
295
|
-
<!-- Preview nativo se renderiza aquí automáticamente -->
|
|
305
|
+
<ion-content [fullscreen]="true">
|
|
306
|
+
<!-- Preview nativo se renderiza aquí automáticamente detrás del HTML -->
|
|
296
307
|
|
|
297
308
|
<!-- Overlay HTML personalizado encima del preview -->
|
|
298
309
|
<div class="overlay-container">
|
|
@@ -337,7 +348,7 @@ export class NativeVideoSelfiePreviewComponent {
|
|
|
337
348
|
<ion-icon name="close"></ion-icon>
|
|
338
349
|
</ion-button>
|
|
339
350
|
</ion-content>
|
|
340
|
-
`, encapsulation: ViewEncapsulation.Emulated, styles: ["\n ion-content {\n --background: transparent;\n }\n \n .overlay-container {\n position:
|
|
351
|
+
`, encapsulation: ViewEncapsulation.Emulated, styles: ["\n :host {\n display: block;\n width: 100%;\n height: 100%;\n }\n\n ion-content {\n --background: transparent;\n --ion-background-color: transparent;\n background: transparent !important;\n }\n\n ion-content::part(background) {\n background: transparent;\n }\n\n ion-content::part(scroll) {\n background: transparent;\n }\n \n .overlay-container {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n z-index: 999;\n pointer-events: none;\n }\n\n .overlay-container ion-button,\n .overlay-container ion-spinner {\n pointer-events: all;\n }\n\n .countdown-overlay {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background: rgba(0, 0, 0, 0.7);\n display: flex;\n justify-content: center;\n align-items: center;\n z-index: 20;\n }\n\n .countdown {\n font-size: 120px;\n color: white;\n font-weight: bold;\n animation: pulse 1s ease-in-out;\n }\n\n @keyframes pulse {\n 0%, 100% { opacity: 1; transform: scale(1); }\n 50% { opacity: 0.8; transform: scale(0.95); }\n }\n \n .circle-overlay {\n position: absolute;\n width: 300px;\n height: 300px;\n border: 4px solid #9c27b0;\n border-radius: 50%;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n box-shadow: 0 0 20px rgba(156, 39, 176, 0.5);\n animation: pulse-border 2s ease-in-out infinite;\n }\n\n @keyframes pulse-border {\n 0%, 100% { border-color: #9c27b0; box-shadow: 0 0 20px rgba(156, 39, 176, 0.5); }\n 50% { border-color: #7b1fa2; box-shadow: 0 0 30px rgba(123, 31, 162, 0.8); }\n }\n \n .timer {\n position: absolute;\n top: 15%;\n z-index: 15;\n }\n\n .timer-label {\n color: #f44336;\n font-size: 32px;\n font-weight: bold;\n text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);\n }\n \n .instruction {\n position: absolute;\n bottom: 150px;\n color: white;\n text-align: center;\n padding: 0 30px;\n font-size: 16px;\n text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);\n background: rgba(0, 0, 0, 0.5);\n border-radius: 10px;\n padding: 15px 20px;\n }\n \n .start-button {\n position: absolute;\n bottom: 50px;\n left: 50%;\n transform: translateX(-50%);\n width: 80%;\n max-width: 300px;\n --background: #9c27b0;\n --background-hover: #7b1fa2;\n --border-radius: 25px;\n font-weight: bold;\n }\n\n ion-spinner {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n --color: white;\n width: 60px;\n height: 60px;\n }\n \n .close-btn {\n position: fixed;\n top: 20px;\n right: 20px;\n z-index: 1000;\n --color: white;\n --background: rgba(0, 0, 0, 0.5);\n --border-radius: 50%;\n width: 50px;\n height: 50px;\n pointer-events: all;\n }\n "] }]
|
|
341
352
|
}], () => [{ type: i1.Platform }, { type: i1.ModalController }, { type: i1.AlertController }, { type: i0.ChangeDetectorRef }, { type: i2.ModalDpiServices }], { text1: [{
|
|
342
353
|
type: Input
|
|
343
354
|
}], text2: [{
|
|
@@ -347,5 +358,5 @@ export class NativeVideoSelfiePreviewComponent {
|
|
|
347
358
|
}], closeRequested: [{
|
|
348
359
|
type: Output
|
|
349
360
|
}] }); })();
|
|
350
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(NativeVideoSelfiePreviewComponent, { className: "NativeVideoSelfiePreviewComponent", filePath: "src\\app\\pages\\id-vision\\components\\native-video-selfie-preview\\native-video-selfie-preview.component.ts", lineNumber:
|
|
361
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(NativeVideoSelfiePreviewComponent, { className: "NativeVideoSelfiePreviewComponent", filePath: "src\\app\\pages\\id-vision\\components\\native-video-selfie-preview\\native-video-selfie-preview.component.ts", lineNumber: 212 }); })();
|
|
351
362
|
//# sourceMappingURL=native-video-selfie-preview.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"native-video-selfie-preview.component.js","sourceRoot":"","sources":["../../../../../../../src/app/pages/id-vision/components/native-video-selfie-preview/native-video-selfie-preview.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAC6B,SAAS,EAAE,YAAY,EACzD,KAAK,EAAa,MAAM,EAAE,iBAAiB,EAC5C,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAA8C,MAAM,gBAAgB,CAAC;AACzF,OAAO,EAAE,aAAa,EAAwB,MAAM,qCAAqC,CAAC;AAC1F,OAAO,EAAE,KAAK,EAAoB,MAAM,4BAA4B,CAAC;AACrE,OAAO,EAAE,UAAU,EAAa,MAAM,uBAAuB,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;;;;;;IAehE,AADF,
|
|
1
|
+
{"version":3,"file":"native-video-selfie-preview.component.js","sourceRoot":"","sources":["../../../../../../../src/app/pages/id-vision/components/native-video-selfie-preview/native-video-selfie-preview.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAC6B,SAAS,EAAE,YAAY,EACzD,KAAK,EAAa,MAAM,EAAE,iBAAiB,EAC5C,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAA8C,MAAM,gBAAgB,CAAC;AACzF,OAAO,EAAE,aAAa,EAAwB,MAAM,qCAAqC,CAAC;AAC1F,OAAO,EAAE,KAAK,EAAoB,MAAM,4BAA4B,CAAC;AACrE,OAAO,EAAE,UAAU,EAAa,MAAM,uBAAuB,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;;;;;;IAehE,AADF,+BAAqD,cAC5B;IAAA,YAAe;IACxC,AADwC,iBAAM,EACxC;;;IADmB,eAAe;IAAf,sCAAe;;;IAQtC,AADF,+BAAuC,oBACN;IAC7B,YACF;IACF,AADE,iBAAY,EACR;;;IAFF,eACF;IADE,iHACF;;;;IASF,sCAIuB;IAFrB,wMAAS,oBAAa,KAAC;IAGvB,wCACF;IAAA,iBAAa;;;IAGb,kCAA6D;;AA+JrE,MAAM,OAAO,iCAAiC;IAgB5C,YACU,QAAkB,EAClB,eAAgC,EAChC,eAAgC,EAChC,cAAiC,EACjC,gBAAkC;QAJlC,aAAQ,GAAR,QAAQ,CAAU;QAClB,oBAAe,GAAf,eAAe,CAAiB;QAChC,oBAAe,GAAf,eAAe,CAAiB;QAChC,mBAAc,GAAd,cAAc,CAAmB;QACjC,qBAAgB,GAAhB,gBAAgB,CAAkB;QApBnC,UAAK,GAAW,EAAE,CAAC;QACnB,UAAK,GAAW,EAAE,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