(self["webpackChunkingenium"] = self["webpackChunkingenium"] || []).push([["main"],{

/***/ 8255:
/*!*******************************************************!*\
  !*** ./$_lazy_route_resources/ lazy namespace object ***!
  \*******************************************************/
/***/ ((module) => {

function webpackEmptyAsyncContext(req) {
	// Here Promise.resolve().then() is used instead of new Promise() to prevent
	// uncaught exception popping up in devtools
	return Promise.resolve().then(() => {
		var e = new Error("Cannot find module '" + req + "'");
		e.code = 'MODULE_NOT_FOUND';
		throw e;
	});
}
webpackEmptyAsyncContext.keys = () => ([]);
webpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;
webpackEmptyAsyncContext.id = 8255;
module.exports = webpackEmptyAsyncContext;

/***/ }),

/***/ 5385:
/*!**********************************************!*\
  !*** ./src/app/animations/nav-animations.ts ***!
  \**********************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "enterAnimation": () => (/* binding */ enterAnimation)
/* harmony export */ });
/* harmony import */ var _ionic_angular__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ionic/angular */ 476);

const enterAnimation = (baseEl, opts) => {
    const duration = 500;
    const animationCtrl = new _ionic_angular__WEBPACK_IMPORTED_MODULE_0__.AnimationController();
    if (opts.direction == "forward") {
        return animationCtrl.create()
            .addElement(opts.enteringEl)
            .duration(duration)
            .easing("ease-in")
            .fromTo('opacity', 0, 1);
    }
    else {
        const rootAnimation = animationCtrl.create()
            .addElement(opts.enteringEl)
            .duration(duration)
            .easing("ease-in")
            .fromTo('opacity', 0, 1);
        const leavingAnimation = animationCtrl.create()
            .addElement(opts.enteringEl)
            .duration(duration)
            .easing("ease-out")
            .fromTo('opacity', 1, 0);
        return animationCtrl.create().addAnimation([rootAnimation, leavingAnimation]);
    }
};


/***/ }),

/***/ 158:
/*!***************************************!*\
  !*** ./src/app/app-routing.module.ts ***!
  \***************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "AppRoutingModule": () => (/* binding */ AppRoutingModule)
/* harmony export */ });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! tslib */ 4762);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 7716);
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/router */ 9895);
/* harmony import */ var _auth_auth_guard_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./auth/auth-guard.service */ 1110);




const routes = [
    {
        path: '',
        loadChildren: () => Promise.resolve(/*! import() */).then(__webpack_require__.bind(__webpack_require__, /*! ./login/login.module */ 107)).then(m => m.LoginPageModule)
    },
    {
        path: 'politica-datos',
        loadChildren: () => Promise.resolve(/*! import() */).then(__webpack_require__.bind(__webpack_require__, /*! ./politica-datos/politica-datos.module */ 3167)).then(m => m.PoliticaDatosPageModule),
        canActivate: [_auth_auth_guard_service__WEBPACK_IMPORTED_MODULE_0__.AuthGuardService]
    },
    {
        path: 'instrucciones',
        loadChildren: () => Promise.resolve(/*! import() */).then(__webpack_require__.bind(__webpack_require__, /*! ./instrucciones/instrucciones.module */ 7462)).then(m => m.InstruccionesPageModule),
        canActivate: [_auth_auth_guard_service__WEBPACK_IMPORTED_MODULE_0__.AuthGuardService]
    },
    {
        path: 'enmarcar',
        loadChildren: () => Promise.resolve(/*! import() */).then(__webpack_require__.bind(__webpack_require__, /*! ./enmarcar/enmarcar.module */ 6654)).then(m => m.EnmarcarPageModule),
        canActivate: [_auth_auth_guard_service__WEBPACK_IMPORTED_MODULE_0__.AuthGuardService]
    },
    {
        path: 'memoriza-contrasena',
        loadChildren: () => Promise.resolve(/*! import() */).then(__webpack_require__.bind(__webpack_require__, /*! ./memoriza-contrasena/memoriza-contrasena.module */ 2665)).then(m => m.MemorizaContrasenaPageModule),
        canActivate: [_auth_auth_guard_service__WEBPACK_IMPORTED_MODULE_0__.AuthGuardService]
    },
    {
        path: 'memoriza-simbolo',
        loadChildren: () => Promise.resolve(/*! import() */).then(__webpack_require__.bind(__webpack_require__, /*! ./memoriza-simbolo/memoriza-simbolo.module */ 3304)).then(m => m.MemorizaSimboloPageModule),
        canActivate: [_auth_auth_guard_service__WEBPACK_IMPORTED_MODULE_0__.AuthGuardService]
    },
    {
        path: 'instrucciones-rapidez-mental',
        loadChildren: () => __webpack_require__.e(/*! import() */ "src_app_instrucciones-rapidez-mental_instrucciones-rapidez-mental_module_ts").then(__webpack_require__.bind(__webpack_require__, /*! ./instrucciones-rapidez-mental/instrucciones-rapidez-mental.module */ 9600)).then(m => m.InstruccionesRapidezMentalPageModule),
        canActivate: [_auth_auth_guard_service__WEBPACK_IMPORTED_MODULE_0__.AuthGuardService]
    },
    {
        path: 'rapidez-mental',
        loadChildren: () => __webpack_require__.e(/*! import() */ "src_app_rapidez-mental_rapidez-mental_module_ts").then(__webpack_require__.bind(__webpack_require__, /*! ./rapidez-mental/rapidez-mental.module */ 9607)).then(m => m.RapidezMentalPageModule),
        canActivate: [_auth_auth_guard_service__WEBPACK_IMPORTED_MODULE_0__.AuthGuardService]
    },
    {
        path: 'instrucciones-calculo-mental',
        loadChildren: () => Promise.resolve(/*! import() */).then(__webpack_require__.bind(__webpack_require__, /*! ./instrucciones-calculo-mental/instrucciones-calculo-mental.module */ 7512)).then(m => m.InstruccionesCalculoMentalPageModule),
        canActivate: [_auth_auth_guard_service__WEBPACK_IMPORTED_MODULE_0__.AuthGuardService]
    },
    {
        path: 'calculo-mental',
        loadChildren: () => __webpack_require__.e(/*! import() */ "src_app_calculo-mental_calculo-mental_module_ts").then(__webpack_require__.bind(__webpack_require__, /*! ./calculo-mental/calculo-mental.module */ 1659)).then(m => m.CalculoMentalPageModule),
        canActivate: [_auth_auth_guard_service__WEBPACK_IMPORTED_MODULE_0__.AuthGuardService]
    },
    {
        path: 'instrucciones-juego-palabras',
        loadChildren: () => __webpack_require__.e(/*! import() */ "src_app_instrucciones-juego-palabras_instrucciones-juego-palabras_module_ts").then(__webpack_require__.bind(__webpack_require__, /*! ./instrucciones-juego-palabras/instrucciones-juego-palabras.module */ 1199)).then(m => m.InstruccionesJuegoPalabrasPageModule),
        canActivate: [_auth_auth_guard_service__WEBPACK_IMPORTED_MODULE_0__.AuthGuardService]
    },
    {
        path: 'juego-palabras',
        loadChildren: () => __webpack_require__.e(/*! import() */ "src_app_juego-palabras_juego-palabras_module_ts").then(__webpack_require__.bind(__webpack_require__, /*! ./juego-palabras/juego-palabras.module */ 1951)).then(m => m.JuegoPalabrasPageModule)
    },
    {
        path: 'ingresa-contrasena',
        loadChildren: () => __webpack_require__.e(/*! import() */ "src_app_ingresa-contrasena_ingresa-contrasena_module_ts").then(__webpack_require__.bind(__webpack_require__, /*! ./ingresa-contrasena/ingresa-contrasena.module */ 2014)).then(m => m.IngresaContrasenaPageModule)
    },
    {
        path: 'exit',
        loadChildren: () => __webpack_require__.e(/*! import() */ "src_app_exit_exit_module_ts").then(__webpack_require__.bind(__webpack_require__, /*! ./exit/exit.module */ 9498)).then(m => m.ExitPageModule)
    }
];
let AppRoutingModule = class AppRoutingModule {
};
AppRoutingModule = (0,tslib__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
    (0,_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgModule)({
        imports: [
            _angular_router__WEBPACK_IMPORTED_MODULE_3__.RouterModule.forRoot(routes, { preloadingStrategy: _angular_router__WEBPACK_IMPORTED_MODULE_3__.PreloadAllModules })
        ],
        exports: [_angular_router__WEBPACK_IMPORTED_MODULE_3__.RouterModule]
    })
], AppRoutingModule);



/***/ }),

/***/ 5041:
/*!**********************************!*\
  !*** ./src/app/app.component.ts ***!
  \**********************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "AppComponent": () => (/* binding */ AppComponent)
/* harmony export */ });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! tslib */ 4762);
/* harmony import */ var _raw_loader_app_component_html__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !raw-loader!./app.component.html */ 1106);
/* harmony import */ var _app_component_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./app.component.scss */ 3069);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/core */ 7716);
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @ngx-translate/core */ 9790);
/* harmony import */ var _services_login_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./services/login.service */ 4120);
/* harmony import */ var _ionic_angular__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @ionic/angular */ 476);
/* harmony import */ var _utils_preload_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./utils/preload.service */ 4835);








let AppComponent = class AppComponent {
    constructor(loginService, translate, platform, preloadService) {
        this.loginService = loginService;
        this.translate = translate;
        this.platform = platform;
        this.preloadService = preloadService;
        this.initializeApp();
    }
    initializeApp() {
        return (0,tslib__WEBPACK_IMPORTED_MODULE_4__.__awaiter)(this, void 0, void 0, function* () {
            try {
                // Esperar a que la plataforma esté lista
                yield this.platform.ready();
                // Ejecutar la precarga para evitar pantallas en blanco
                yield this.preloadService.preload();
                // Inicializar sistema de traducción
                yield this.initTranslate();
                // Configurar manejo de errores para prevenir pantallas en blanco
                this.setupErrorHandling();
                // Registro de estado de inicialización exitoso
                console.log('Aplicación inicializada correctamente');
            }
            catch (error) {
                console.error('Error initializing app:', error);
                // Intentar reinicializar componentes críticos si hay error
                this.recoverFromError();
            }
        });
    }
    /**
     * Configurar manejo de errores global para evitar pantallas en blanco
     */
    setupErrorHandling() {
        window.addEventListener('error', (event) => {
            console.error('Error no capturado:', event.error);
            // Evitar que los errores no manejados causen pantalla en blanco
            event.preventDefault();
            return true;
        });
        window.addEventListener('unhandledrejection', (event) => {
            console.error('Promesa rechazada no manejada:', event.reason);
            // Evitar que las promesas rechazadas no manejadas causen pantalla en blanco
            event.preventDefault();
        });
    }
    /**
     * Intenta recuperarse de errores graves que podrían causar pantallas en blanco
     */
    recoverFromError() {
        try {
            // Forzar la reinicialización de componentes críticos
            this.initTranslate().catch(err => console.error('Error en recuperación de traducción:', err));
            // Notificar al usuario que hubo un problema (opcional)
            console.log('Recuperación de error iniciada');
        }
        catch (secondError) {
            console.error('Error en recuperación de error:', secondError);
        }
    }
    initTranslate() {
        return (0,tslib__WEBPACK_IMPORTED_MODULE_4__.__awaiter)(this, void 0, void 0, function* () {
            // Establecer español como idioma por defecto
            this.translate.setDefaultLang('es');
            // Asegurarse de que las traducciones se carguen
            try {
                yield this.translate.use('es').toPromise();
            }
            catch (error) {
                console.error('Error loading translations:', error);
            }
        });
    }
    ngOnInit() {
        // Asegurarse de que las traducciones estén disponibles
        if (!this.translate.currentLang) {
            this.translate.use('es');
        }
    }
};
AppComponent.ctorParameters = () => [
    { type: _services_login_service__WEBPACK_IMPORTED_MODULE_2__.LoginService },
    { type: _ngx_translate_core__WEBPACK_IMPORTED_MODULE_5__.TranslateService },
    { type: _ionic_angular__WEBPACK_IMPORTED_MODULE_6__.Platform },
    { type: _utils_preload_service__WEBPACK_IMPORTED_MODULE_3__.PreloadService }
];
AppComponent = (0,tslib__WEBPACK_IMPORTED_MODULE_4__.__decorate)([
    (0,_angular_core__WEBPACK_IMPORTED_MODULE_7__.Component)({
        selector: 'app-root',
        template: _raw_loader_app_component_html__WEBPACK_IMPORTED_MODULE_0__.default,
        styles: [_app_component_scss__WEBPACK_IMPORTED_MODULE_1__.default]
    })
], AppComponent);



/***/ }),

/***/ 6747:
/*!*******************************!*\
  !*** ./src/app/app.module.ts ***!
  \*******************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "createTranslateLoader": () => (/* binding */ createTranslateLoader),
/* harmony export */   "AppModule": () => (/* binding */ AppModule)
/* harmony export */ });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! tslib */ 4762);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @angular/core */ 7716);
/* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @angular/platform-browser */ 9075);
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! @angular/router */ 9895);
/* harmony import */ var _ionic_angular__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @ionic/angular */ 476);
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @angular/common/http */ 1841);
/* harmony import */ var _app_routing_module__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./app-routing.module */ 158);
/* harmony import */ var _app_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./app.component */ 5041);
/* harmony import */ var _login_login_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./login/login.module */ 107);
/* harmony import */ var _enmarcar_enmarcar_module__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./enmarcar/enmarcar.module */ 6654);
/* harmony import */ var _instrucciones_instrucciones_module__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./instrucciones/instrucciones.module */ 7462);
/* harmony import */ var _instrucciones_calculo_mental_instrucciones_calculo_mental_module__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./instrucciones-calculo-mental/instrucciones-calculo-mental.module */ 7512);
/* harmony import */ var _politica_datos_politica_datos_module__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./politica-datos/politica-datos.module */ 3167);
/* harmony import */ var _memoriza_contrasena_memoriza_contrasena_module__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./memoriza-contrasena/memoriza-contrasena.module */ 2665);
/* harmony import */ var _memoriza_simbolo_memoriza_simbolo_module__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./memoriza-simbolo/memoriza-simbolo.module */ 3304);
/* harmony import */ var _auth_auth_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./auth/auth.service */ 384);
/* harmony import */ var _auth_auth_guard_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./auth/auth-guard.service */ 1110);
/* harmony import */ var _animations_nav_animations__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./animations/nav-animations */ 5385);
/* harmony import */ var _modal_figuras_modal_figuras_module__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./modal-figuras/modal-figuras.module */ 5436);
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @ngx-translate/core */ 9790);
/* harmony import */ var _ngx_translate_http_loader__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @ngx-translate/http-loader */ 2472);





















// Factory function para el TranslateLoader
function createTranslateLoader(http) {
    return new _ngx_translate_http_loader__WEBPACK_IMPORTED_MODULE_13__.TranslateHttpLoader(http, './assets/i18n/', '.json');
}
let AppModule = class AppModule {
};
AppModule = (0,tslib__WEBPACK_IMPORTED_MODULE_14__.__decorate)([
    (0,_angular_core__WEBPACK_IMPORTED_MODULE_15__.NgModule)({
        declarations: [_app_component__WEBPACK_IMPORTED_MODULE_1__.AppComponent],
        entryComponents: [],
        imports: [
            _angular_platform_browser__WEBPACK_IMPORTED_MODULE_16__.BrowserModule,
            _ionic_angular__WEBPACK_IMPORTED_MODULE_17__.IonicModule.forRoot({
                navAnimation: _animations_nav_animations__WEBPACK_IMPORTED_MODULE_11__.enterAnimation,
                mode: 'md'
            }),
            _app_routing_module__WEBPACK_IMPORTED_MODULE_0__.AppRoutingModule,
            _angular_common_http__WEBPACK_IMPORTED_MODULE_18__.HttpClientModule,
            _ngx_translate_core__WEBPACK_IMPORTED_MODULE_19__.TranslateModule.forRoot({
                defaultLanguage: 'es',
                loader: {
                    provide: _ngx_translate_core__WEBPACK_IMPORTED_MODULE_19__.TranslateLoader,
                    useFactory: createTranslateLoader,
                    deps: [_angular_common_http__WEBPACK_IMPORTED_MODULE_18__.HttpClient]
                },
                isolate: false
            }),
            _login_login_module__WEBPACK_IMPORTED_MODULE_2__.LoginPageModule,
            _enmarcar_enmarcar_module__WEBPACK_IMPORTED_MODULE_3__.EnmarcarPageModule,
            _instrucciones_instrucciones_module__WEBPACK_IMPORTED_MODULE_4__.InstruccionesPageModule,
            _politica_datos_politica_datos_module__WEBPACK_IMPORTED_MODULE_6__.PoliticaDatosPageModule,
            _memoriza_contrasena_memoriza_contrasena_module__WEBPACK_IMPORTED_MODULE_7__.MemorizaContrasenaPageModule,
            _memoriza_simbolo_memoriza_simbolo_module__WEBPACK_IMPORTED_MODULE_8__.MemorizaSimboloPageModule,
            _instrucciones_calculo_mental_instrucciones_calculo_mental_module__WEBPACK_IMPORTED_MODULE_5__.InstruccionesCalculoMentalPageModule,
            _modal_figuras_modal_figuras_module__WEBPACK_IMPORTED_MODULE_12__.ModalFigurasModule
        ],
        providers: [{ provide: _angular_router__WEBPACK_IMPORTED_MODULE_20__.RouteReuseStrategy, useClass: _ionic_angular__WEBPACK_IMPORTED_MODULE_17__.IonicRouteStrategy }, _angular_common_http__WEBPACK_IMPORTED_MODULE_18__.HttpClientModule, _auth_auth_service__WEBPACK_IMPORTED_MODULE_9__.AuthService, _auth_auth_guard_service__WEBPACK_IMPORTED_MODULE_10__.AuthGuardService],
        bootstrap: [_app_component__WEBPACK_IMPORTED_MODULE_1__.AppComponent],
    })
], AppModule);



/***/ }),

/***/ 1110:
/*!********************************************!*\
  !*** ./src/app/auth/auth-guard.service.ts ***!
  \********************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "AuthGuardService": () => (/* binding */ AuthGuardService)
/* harmony export */ });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! tslib */ 4762);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/core */ 7716);
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/router */ 9895);
/* harmony import */ var _auth_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./auth.service */ 384);

// src/app/auth/auth-guard.service.ts



let AuthGuardService = class AuthGuardService {
    constructor(auth, router) {
        this.auth = auth;
        this.router = router;
    }
    canActivate() {
        if (!this.auth.isAuthenticated()) {
            this.router.navigate(['/']);
            return false;
        }
        return true;
    }
};
AuthGuardService.ctorParameters = () => [
    { type: _auth_service__WEBPACK_IMPORTED_MODULE_0__.AuthService },
    { type: _angular_router__WEBPACK_IMPORTED_MODULE_1__.Router }
];
AuthGuardService = (0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
    (0,_angular_core__WEBPACK_IMPORTED_MODULE_3__.Injectable)()
], AuthGuardService);



/***/ }),

/***/ 384:
/*!**************************************!*\
  !*** ./src/app/auth/auth.service.ts ***!
  \**************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "AuthService": () => (/* binding */ AuthService)
/* harmony export */ });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ 4762);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 7716);

// src/app/auth/auth.service.ts

let AuthService = class AuthService {
    constructor() { }
    // ...
    isAuthenticated() {
        const user = localStorage.hasOwnProperty('user');
        // Check whether the token is expired and return
        // true or false
        return user;
    }
};
AuthService.ctorParameters = () => [];
AuthService = (0,tslib__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
    (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__.Injectable)()
], AuthService);



/***/ }),

/***/ 8447:
/*!********************************************************!*\
  !*** ./src/app/camera-video/camera-video.component.ts ***!
  \********************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "CameraVideoComponent": () => (/* binding */ CameraVideoComponent)
/* harmony export */ });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! tslib */ 4762);
/* harmony import */ var _raw_loader_camera_video_component_html__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !raw-loader!./camera-video.component.html */ 8514);
/* harmony import */ var _camera_video_component_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./camera-video.component.scss */ 228);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/core */ 7716);
/* harmony import */ var _services_video_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../services/video.service */ 8472);
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/router */ 9895);
/* harmony import */ var _capacitor_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @capacitor/core */ 8384);







const { CapacitorVideoPlayer } = _capacitor_core__WEBPACK_IMPORTED_MODULE_3__.Plugins;
let CameraVideoComponent = class CameraVideoComponent {
    constructor(videoSevice, changeDetector, router) {
        this.videoSevice = videoSevice;
        this.changeDetector = changeDetector;
        this.router = router;
        this.isRecording = false;
        this.videos = [];
        this.display_name = "";
    }
    ngOnInit() {
        let user = JSON.parse(localStorage.getItem('user'));
        if (user) {
            this.display_name = user.first_name + " " + user.last_name;
        }
        else {
            this.router.navigate(['/']);
            localStorage.clear();
        }
    }
    ngAfterViewInit() {
        return (0,tslib__WEBPACK_IMPORTED_MODULE_4__.__awaiter)(this, void 0, void 0, function* () {
            this.videos = yield this.videoSevice.loadVideos();
            if (_capacitor_core__WEBPACK_IMPORTED_MODULE_3__.Capacitor.isNative) {
                this.videoPlayer = CapacitorVideoPlayer;
            }
            else {
                // this.videoPlayer = WebVPPlugin.CapacitorVideoPlayer
            }
            this.recordVideo();
            this.router.events.subscribe((event) => {
                if (event instanceof _angular_router__WEBPACK_IMPORTED_MODULE_5__.NavigationStart) {
                    this.stopRecord();
                }
            });
        });
    }
    recordVideo() {
        return (0,tslib__WEBPACK_IMPORTED_MODULE_4__.__awaiter)(this, void 0, void 0, function* () {
            let mimeType = 'video/webm;codecs=h265';
            const types = [
                "video/webm;codecs=h265",
                "video/webm;codecs=h264",
                "video/webm;codecs=vp8",
                "video/webm;codecs=vp9",
                "video/webm;codecs=daala",
                "video/mp4",
                "video/webm",
                "video/mpeg",
            ];
            for (const type of types) {
                if (MediaRecorder.isTypeSupported(type)) {
                    console.log('Supported ' + type);
                    mimeType = type;
                    break;
                }
                else {
                    console.log('NO Supported ' + type);
                }
            }
            const stream = yield navigator.mediaDevices.getUserMedia({
                video: {
                    facingMode: 'user'
                },
                audio: false
            });
            this.captureElement.nativeElement.srcObject = stream;
            this.isRecording = true;
            const options = { mimeType: mimeType };
            this.mediaRecorder = new MediaRecorder(stream, options);
            let chunks = [];
            this.mediaRecorder.ondataavailable = (event) => {
                if (event.data && event.data.size > 0) {
                    chunks.push(event.data);
                }
            };
            this.mediaRecorder.onstop = (event) => (0,tslib__WEBPACK_IMPORTED_MODULE_4__.__awaiter)(this, void 0, void 0, function* () {
                let mimeType = 'video/webm;codecs=h265';
                const types = [
                    "video/webm;codecs=h265",
                    "video/webm;codecs=h264",
                    "video/webm;codecs=vp8",
                    "video/webm;codecs=vp9",
                    "video/webm;codecs=daala",
                    "video/mp4",
                    "video/webm",
                    "video/mpeg",
                    "video/mp4",
                ];
                for (const type of types) {
                    if (MediaRecorder.isTypeSupported(type)) {
                        console.log('Supported ' + type);
                        mimeType = type;
                        break;
                    }
                    else {
                        console.log('NO Supported ' + type);
                    }
                }
                const videoBuffer = new Blob(chunks, { type: mimeType });
                // Store the video
                yield this.videoSevice.storeVideo(videoBuffer);
                // reload the list
                this.videos = this.videoSevice.videos;
                this.changeDetector.detectChanges;
            });
            this.mediaRecorder.start();
        });
    }
    stopRecord() {
        this.mediaRecorder.stop();
        this.mediaRecorder = null;
        this.captureElement.nativeElement.srcObject = null;
        this.isRecording = false;
    }
    play(video) {
        return (0,tslib__WEBPACK_IMPORTED_MODULE_4__.__awaiter)(this, void 0, void 0, function* () {
            const base64Data = yield this.videoSevice.getVideoUrl(video);
            yield this.videoPlayer.initPlayer({
                mode: 'fullscreen',
                url: base64Data,
                playerId: 'fullscreen',
                componentTag: 'app-enmarcar'
            });
        });
    }
};
CameraVideoComponent.ctorParameters = () => [
    { type: _services_video_service__WEBPACK_IMPORTED_MODULE_2__.VideoService },
    { type: _angular_core__WEBPACK_IMPORTED_MODULE_6__.ChangeDetectorRef },
    { type: _angular_router__WEBPACK_IMPORTED_MODULE_5__.Router }
];
CameraVideoComponent.propDecorators = {
    page: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__.Input }],
    captureElement: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__.ViewChild, args: ['video',] }]
};
CameraVideoComponent = (0,tslib__WEBPACK_IMPORTED_MODULE_4__.__decorate)([
    (0,_angular_core__WEBPACK_IMPORTED_MODULE_6__.Component)({
        selector: 'app-camera-video',
        template: _raw_loader_camera_video_component_html__WEBPACK_IMPORTED_MODULE_0__.default,
        styles: [_camera_video_component_scss__WEBPACK_IMPORTED_MODULE_1__.default]
    })
], CameraVideoComponent);



/***/ }),

/***/ 4467:
/*!*****************************************************!*\
  !*** ./src/app/camera-video/camera-video.module.ts ***!
  \*****************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "CameraVideoModule": () => (/* binding */ CameraVideoModule)
/* harmony export */ });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! tslib */ 4762);
/* harmony import */ var _ionic_angular__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ionic/angular */ 476);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 7716);
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ 8583);
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/forms */ 3679);
/* harmony import */ var _camera_video_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./camera-video.component */ 8447);






let CameraVideoModule = class CameraVideoModule {
};
CameraVideoModule = (0,tslib__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
    (0,_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgModule)({
        imports: [
            _ionic_angular__WEBPACK_IMPORTED_MODULE_3__.IonicModule,
            _angular_common__WEBPACK_IMPORTED_MODULE_4__.CommonModule,
            _angular_forms__WEBPACK_IMPORTED_MODULE_5__.FormsModule,
        ],
        declarations: [_camera_video_component__WEBPACK_IMPORTED_MODULE_0__.CameraVideoComponent],
        exports: [
            _camera_video_component__WEBPACK_IMPORTED_MODULE_0__.CameraVideoComponent
        ]
    })
], CameraVideoModule);



/***/ }),

/***/ 1981:
/*!*****************************************************!*\
  !*** ./src/app/enmarcar/enmarcar-routing.module.ts ***!
  \*****************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "EnmarcarPageRoutingModule": () => (/* binding */ EnmarcarPageRoutingModule)
/* harmony export */ });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! tslib */ 4762);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 7716);
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/router */ 9895);
/* harmony import */ var _enmarcar_page__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./enmarcar.page */ 259);




const routes = [
    {
        path: '',
        component: _enmarcar_page__WEBPACK_IMPORTED_MODULE_0__.EnmarcarPage,
    }
];
let EnmarcarPageRoutingModule = class EnmarcarPageRoutingModule {
};
EnmarcarPageRoutingModule = (0,tslib__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
    (0,_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgModule)({
        imports: [_angular_router__WEBPACK_IMPORTED_MODULE_3__.RouterModule.forChild(routes)],
        exports: [_angular_router__WEBPACK_IMPORTED_MODULE_3__.RouterModule]
    })
], EnmarcarPageRoutingModule);



/***/ }),

/***/ 6654:
/*!*********************************************!*\
  !*** ./src/app/enmarcar/enmarcar.module.ts ***!
  \*********************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "EnmarcarPageModule": () => (/* binding */ EnmarcarPageModule)
/* harmony export */ });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! tslib */ 4762);
/* harmony import */ var _ionic_angular__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @ionic/angular */ 476);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/core */ 7716);
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/common */ 8583);
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/forms */ 3679);
/* harmony import */ var _enmarcar_page__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./enmarcar.page */ 259);
/* harmony import */ var _enmarcar_routing_module__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./enmarcar-routing.module */ 1981);
/* harmony import */ var _camera_video_camera_video_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../camera-video/camera-video.module */ 4467);
/* harmony import */ var _modal_figuras_modal_figuras_module__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../modal-figuras/modal-figuras.module */ 5436);
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @ngx-translate/core */ 9790);










let EnmarcarPageModule = class EnmarcarPageModule {
};
EnmarcarPageModule = (0,tslib__WEBPACK_IMPORTED_MODULE_4__.__decorate)([
    (0,_angular_core__WEBPACK_IMPORTED_MODULE_5__.NgModule)({
        imports: [
            _ionic_angular__WEBPACK_IMPORTED_MODULE_6__.IonicModule,
            _angular_common__WEBPACK_IMPORTED_MODULE_7__.CommonModule,
            _angular_forms__WEBPACK_IMPORTED_MODULE_8__.FormsModule,
            _enmarcar_routing_module__WEBPACK_IMPORTED_MODULE_1__.EnmarcarPageRoutingModule,
            _camera_video_camera_video_module__WEBPACK_IMPORTED_MODULE_2__.CameraVideoModule,
            _modal_figuras_modal_figuras_module__WEBPACK_IMPORTED_MODULE_3__.ModalFigurasModule,
            _ngx_translate_core__WEBPACK_IMPORTED_MODULE_9__.TranslateModule
        ],
        declarations: [_enmarcar_page__WEBPACK_IMPORTED_MODULE_0__.EnmarcarPage],
        exports: [
            _enmarcar_page__WEBPACK_IMPORTED_MODULE_0__.EnmarcarPage
        ]
    })
], EnmarcarPageModule);



/***/ }),

/***/ 259:
/*!*******************************************!*\
  !*** ./src/app/enmarcar/enmarcar.page.ts ***!
  \*******************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "EnmarcarPage": () => (/* binding */ EnmarcarPage)
/* harmony export */ });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! tslib */ 4762);
/* harmony import */ var _raw_loader_enmarcar_page_html__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !raw-loader!./enmarcar.page.html */ 8838);
/* harmony import */ var _enmarcar_page_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./enmarcar.page.scss */ 937);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/core */ 7716);
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/router */ 9895);
/* harmony import */ var _capacitor_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @capacitor/core */ 8384);






const { CapacitorVideoPlayer } = _capacitor_core__WEBPACK_IMPORTED_MODULE_2__.Plugins;
let EnmarcarPage = class EnmarcarPage {
    constructor(router) {
        this.router = router;
        this.displayName = 'test';
        this.shouldDisable = true;
    }
    ngAfterContentInit() {
        setTimeout(x => {
            this.shouldDisable = false;
        }, 5000); //5 seconds
    }
    ngOnInit() {
        this.startTimer();
        localStorage.setItem('view_set_finish', '0');
        const user = JSON.parse(localStorage.getItem('user'));
        if (user) {
            this.displayName = user.first_name + ' ' + user.last_name;
            if (user.data_protection === 1) {
                this.router.navigate(['/enmarcar']);
            }
        }
        else {
            this.router.navigate(['/']);
            localStorage.clear();
        }
    }
    ngOnDestroy() {
        // Asegurarse de limpiar el temporizador cuando el componente se destruya
        clearTimeout(this.timer);
    }
    startTimer() {
        console.log('test56');
        this.timer = setTimeout(() => {
            this.router.navigate(['/instrucciones']);
        }, 10000); // 10 segundos
    }
    onContinue() {
        // Limpiar el temporizador para prevenir la redirección automática
        clearTimeout(this.timer);
        // Navegar manualmente
        this.router.navigate(['/instrucciones']);
    }
};
EnmarcarPage.ctorParameters = () => [
    { type: _angular_router__WEBPACK_IMPORTED_MODULE_3__.Router }
];
EnmarcarPage = (0,tslib__WEBPACK_IMPORTED_MODULE_4__.__decorate)([
    (0,_angular_core__WEBPACK_IMPORTED_MODULE_5__.Component)({
        selector: 'app-enmarcar',
        template: _raw_loader_enmarcar_page_html__WEBPACK_IMPORTED_MODULE_0__.default,
        styles: [_enmarcar_page_scss__WEBPACK_IMPORTED_MODULE_1__.default]
    })
], EnmarcarPage);



/***/ }),

/***/ 2452:
/*!*********************************************************************************************!*\
  !*** ./src/app/instrucciones-calculo-mental/instrucciones-calculo-mental-routing.module.ts ***!
  \*********************************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "InstruccionesCalculoMentalPageRoutingModule": () => (/* binding */ InstruccionesCalculoMentalPageRoutingModule)
/* harmony export */ });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! tslib */ 4762);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 7716);
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/router */ 9895);
/* harmony import */ var _instrucciones_calculo_mental_page__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./instrucciones-calculo-mental.page */ 4222);




const routes = [
    {
        path: '',
        component: _instrucciones_calculo_mental_page__WEBPACK_IMPORTED_MODULE_0__.InstruccionesCalculoMentalPage
    }
];
let InstruccionesCalculoMentalPageRoutingModule = class InstruccionesCalculoMentalPageRoutingModule {
};
InstruccionesCalculoMentalPageRoutingModule = (0,tslib__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
    (0,_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgModule)({
        imports: [_angular_router__WEBPACK_IMPORTED_MODULE_3__.RouterModule.forChild(routes)],
        exports: [_angular_router__WEBPACK_IMPORTED_MODULE_3__.RouterModule],
    })
], InstruccionesCalculoMentalPageRoutingModule);



/***/ }),

/***/ 7512:
/*!*************************************************************************************!*\
  !*** ./src/app/instrucciones-calculo-mental/instrucciones-calculo-mental.module.ts ***!
  \*************************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "InstruccionesCalculoMentalPageModule": () => (/* binding */ InstruccionesCalculoMentalPageModule)
/* harmony export */ });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! tslib */ 4762);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/core */ 7716);
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/common */ 8583);
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/forms */ 3679);
/* harmony import */ var _ionic_angular__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @ionic/angular */ 476);
/* harmony import */ var _instrucciones_calculo_mental_routing_module__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./instrucciones-calculo-mental-routing.module */ 2452);
/* harmony import */ var _instrucciones_calculo_mental_page__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./instrucciones-calculo-mental.page */ 4222);
/* harmony import */ var _camera_video_camera_video_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../camera-video/camera-video.module */ 4467);
/* harmony import */ var _modal_figuras_modal_figuras_module__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../modal-figuras/modal-figuras.module */ 5436);
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @ngx-translate/core */ 9790);










let InstruccionesCalculoMentalPageModule = class InstruccionesCalculoMentalPageModule {
};
InstruccionesCalculoMentalPageModule = (0,tslib__WEBPACK_IMPORTED_MODULE_4__.__decorate)([
    (0,_angular_core__WEBPACK_IMPORTED_MODULE_5__.NgModule)({
        imports: [
            _angular_common__WEBPACK_IMPORTED_MODULE_6__.CommonModule,
            _angular_forms__WEBPACK_IMPORTED_MODULE_7__.FormsModule,
            _ionic_angular__WEBPACK_IMPORTED_MODULE_8__.IonicModule,
            _instrucciones_calculo_mental_routing_module__WEBPACK_IMPORTED_MODULE_0__.InstruccionesCalculoMentalPageRoutingModule,
            _camera_video_camera_video_module__WEBPACK_IMPORTED_MODULE_2__.CameraVideoModule,
            _modal_figuras_modal_figuras_module__WEBPACK_IMPORTED_MODULE_3__.ModalFigurasModule,
            _ngx_translate_core__WEBPACK_IMPORTED_MODULE_9__.TranslateModule
        ],
        declarations: [_instrucciones_calculo_mental_page__WEBPACK_IMPORTED_MODULE_1__.InstruccionesCalculoMentalPage]
    })
], InstruccionesCalculoMentalPageModule);



/***/ }),

/***/ 4222:
/*!***********************************************************************************!*\
  !*** ./src/app/instrucciones-calculo-mental/instrucciones-calculo-mental.page.ts ***!
  \***********************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "InstruccionesCalculoMentalPage": () => (/* binding */ InstruccionesCalculoMentalPage)
/* harmony export */ });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! tslib */ 4762);
/* harmony import */ var _raw_loader_instrucciones_calculo_mental_page_html__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !raw-loader!./instrucciones-calculo-mental.page.html */ 5895);
/* harmony import */ var _instrucciones_calculo_mental_page_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./instrucciones-calculo-mental.page.scss */ 1649);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/core */ 7716);
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/router */ 9895);
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ngx-translate/core */ 9790);






let InstruccionesCalculoMentalPage = class InstruccionesCalculoMentalPage {
    constructor(router, translate) {
        this.router = router;
        this.translate = translate;
    }
    ngOnInit() {
        this.startTimer();
        const user = JSON.parse(localStorage.getItem('user'));
        if (user) {
            // Establecer el idioma según la configuración del usuario
            if (user.language === 'en') {
                this.translate.use('en');
            }
            else {
                this.translate.use('es');
            }
        }
        else {
            this.router.navigate(['/']);
            localStorage.clear();
        }
    }
    ngOnDestroy() {
        this.clearTimer();
    }
    clearTimer() {
        if (this.timer) {
            clearTimeout(this.timer);
            this.timer = null;
        }
    }
    startTimer() {
        this.clearTimer();
        this.timer = setTimeout(() => {
            this.router.navigate(['/calculo-mental']);
        }, 10000); // 10 segundos
    }
    onContinue() {
        this.clearTimer();
        this.router.navigate(['/calculo-mental']);
    }
};
InstruccionesCalculoMentalPage.ctorParameters = () => [
    { type: _angular_router__WEBPACK_IMPORTED_MODULE_2__.Router },
    { type: _ngx_translate_core__WEBPACK_IMPORTED_MODULE_3__.TranslateService }
];
InstruccionesCalculoMentalPage = (0,tslib__WEBPACK_IMPORTED_MODULE_4__.__decorate)([
    (0,_angular_core__WEBPACK_IMPORTED_MODULE_5__.Component)({
        selector: 'app-instrucciones-calculo-mental',
        template: _raw_loader_instrucciones_calculo_mental_page_html__WEBPACK_IMPORTED_MODULE_0__.default,
        styles: [_instrucciones_calculo_mental_page_scss__WEBPACK_IMPORTED_MODULE_1__.default]
    })
], InstruccionesCalculoMentalPage);



/***/ }),

/***/ 3274:
/*!***************************************************************!*\
  !*** ./src/app/instrucciones/instrucciones-routing.module.ts ***!
  \***************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "InstruccionesPageRoutingModule": () => (/* binding */ InstruccionesPageRoutingModule)
/* harmony export */ });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! tslib */ 4762);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 7716);
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/router */ 9895);
/* harmony import */ var _instrucciones_page__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./instrucciones.page */ 4165);




const routes = [
    {
        path: '',
        component: _instrucciones_page__WEBPACK_IMPORTED_MODULE_0__.InstruccionesPage
    }
];
let InstruccionesPageRoutingModule = class InstruccionesPageRoutingModule {
};
InstruccionesPageRoutingModule = (0,tslib__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
    (0,_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgModule)({
        imports: [_angular_router__WEBPACK_IMPORTED_MODULE_3__.RouterModule.forChild(routes)],
        exports: [_angular_router__WEBPACK_IMPORTED_MODULE_3__.RouterModule],
    })
], InstruccionesPageRoutingModule);



/***/ }),

/***/ 7462:
/*!*******************************************************!*\
  !*** ./src/app/instrucciones/instrucciones.module.ts ***!
  \*******************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "InstruccionesPageModule": () => (/* binding */ InstruccionesPageModule)
/* harmony export */ });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! tslib */ 4762);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/core */ 7716);
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/common */ 8583);
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/forms */ 3679);
/* harmony import */ var _ionic_angular__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @ionic/angular */ 476);
/* harmony import */ var _instrucciones_routing_module__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./instrucciones-routing.module */ 3274);
/* harmony import */ var _camera_video_camera_video_module__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../camera-video/camera-video.module */ 4467);
/* harmony import */ var _instrucciones_page__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./instrucciones.page */ 4165);
/* harmony import */ var _modal_figuras_modal_figuras_module__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../modal-figuras/modal-figuras.module */ 5436);
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @ngx-translate/core */ 9790);










let InstruccionesPageModule = class InstruccionesPageModule {
};
InstruccionesPageModule = (0,tslib__WEBPACK_IMPORTED_MODULE_4__.__decorate)([
    (0,_angular_core__WEBPACK_IMPORTED_MODULE_5__.NgModule)({
        imports: [
            _angular_common__WEBPACK_IMPORTED_MODULE_6__.CommonModule,
            _angular_forms__WEBPACK_IMPORTED_MODULE_7__.FormsModule,
            _ionic_angular__WEBPACK_IMPORTED_MODULE_8__.IonicModule,
            _instrucciones_routing_module__WEBPACK_IMPORTED_MODULE_0__.InstruccionesPageRoutingModule,
            _camera_video_camera_video_module__WEBPACK_IMPORTED_MODULE_1__.CameraVideoModule,
            _modal_figuras_modal_figuras_module__WEBPACK_IMPORTED_MODULE_3__.ModalFigurasModule,
            _ngx_translate_core__WEBPACK_IMPORTED_MODULE_9__.TranslateModule
        ],
        declarations: [
            _instrucciones_page__WEBPACK_IMPORTED_MODULE_2__.InstruccionesPage,
        ]
    })
], InstruccionesPageModule);



/***/ }),

/***/ 4165:
/*!*****************************************************!*\
  !*** ./src/app/instrucciones/instrucciones.page.ts ***!
  \*****************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "InstruccionesPage": () => (/* binding */ InstruccionesPage)
/* harmony export */ });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! tslib */ 4762);
/* harmony import */ var _raw_loader_instrucciones_page_html__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !raw-loader!./instrucciones.page.html */ 9799);
/* harmony import */ var _instrucciones_page_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./instrucciones.page.scss */ 5761);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/core */ 7716);
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/router */ 9895);





let InstruccionesPage = class InstruccionesPage {
    constructor(router) {
        this.router = router;
    }
    ngOnInit() {
        this.startTimer();
        let user = JSON.parse(localStorage.getItem('user'));
        if (!user) {
            this.router.navigate(['/']);
            localStorage.clear();
        }
    }
    ngOnDestroy() {
        // Asegurarse de limpiar el temporizador cuando el componente se destruya
        clearTimeout(this.timer);
    }
    startTimer() {
        this.timer = setTimeout(() => {
            // Redirige solo si el componente aún está montado y el usuario no ha navegado manualmente
            this.router.navigate(['/memoriza-contrasena']);
        }, 10000); // 10 segundos
    }
    onContinue() {
        // Limpiar el temporizador para prevenir la redirección automática
        clearTimeout(this.timer);
        // Navegar manualmente
        this.router.navigate(['/memoriza-contrasena']);
    }
};
InstruccionesPage.ctorParameters = () => [
    { type: _angular_router__WEBPACK_IMPORTED_MODULE_2__.Router }
];
InstruccionesPage = (0,tslib__WEBPACK_IMPORTED_MODULE_3__.__decorate)([
    (0,_angular_core__WEBPACK_IMPORTED_MODULE_4__.Component)({
        selector: 'app-instrucciones',
        template: _raw_loader_instrucciones_page_html__WEBPACK_IMPORTED_MODULE_0__.default,
        styles: [_instrucciones_page_scss__WEBPACK_IMPORTED_MODULE_1__.default]
    })
], InstruccionesPage);



/***/ }),

/***/ 5393:
/*!***********************************************!*\
  !*** ./src/app/login/login-routing.module.ts ***!
  \***********************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "LoginPageRoutingModule": () => (/* binding */ LoginPageRoutingModule)
/* harmony export */ });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! tslib */ 4762);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 7716);
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/router */ 9895);
/* harmony import */ var _login_page__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./login.page */ 6825);




const routes = [
    {
        path: '',
        component: _login_page__WEBPACK_IMPORTED_MODULE_0__.LoginPage,
    }
];
let LoginPageRoutingModule = class LoginPageRoutingModule {
};
LoginPageRoutingModule = (0,tslib__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
    (0,_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgModule)({
        imports: [_angular_router__WEBPACK_IMPORTED_MODULE_3__.RouterModule.forChild(routes)],
        exports: [_angular_router__WEBPACK_IMPORTED_MODULE_3__.RouterModule]
    })
], LoginPageRoutingModule);



/***/ }),

/***/ 107:
/*!***************************************!*\
  !*** ./src/app/login/login.module.ts ***!
  \***************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "LoginPageModule": () => (/* binding */ LoginPageModule)
/* harmony export */ });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! tslib */ 4762);
/* harmony import */ var _ionic_angular__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @ionic/angular */ 476);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/core */ 7716);
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/common */ 8583);
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/forms */ 3679);
/* harmony import */ var _login_page__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./login.page */ 6825);
/* harmony import */ var _login_routing_module__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./login-routing.module */ 5393);
/* harmony import */ var _modal_figuras_modal_figuras_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../modal-figuras/modal-figuras.module */ 5436);
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @ngx-translate/core */ 9790);









let LoginPageModule = class LoginPageModule {
};
LoginPageModule = (0,tslib__WEBPACK_IMPORTED_MODULE_3__.__decorate)([
    (0,_angular_core__WEBPACK_IMPORTED_MODULE_4__.NgModule)({
        imports: [
            _ionic_angular__WEBPACK_IMPORTED_MODULE_5__.IonicModule,
            _angular_common__WEBPACK_IMPORTED_MODULE_6__.CommonModule,
            _angular_forms__WEBPACK_IMPORTED_MODULE_7__.FormsModule,
            _login_routing_module__WEBPACK_IMPORTED_MODULE_1__.LoginPageRoutingModule,
            _modal_figuras_modal_figuras_module__WEBPACK_IMPORTED_MODULE_2__.ModalFigurasModule,
            _ngx_translate_core__WEBPACK_IMPORTED_MODULE_8__.TranslateModule
        ],
        declarations: [_login_page__WEBPACK_IMPORTED_MODULE_0__.LoginPage]
    })
], LoginPageModule);



/***/ }),

/***/ 6825:
/*!*************************************!*\
  !*** ./src/app/login/login.page.ts ***!
  \*************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "LoginPage": () => (/* binding */ LoginPage)
/* harmony export */ });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! tslib */ 4762);
/* harmony import */ var _raw_loader_login_page_html__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !raw-loader!./login.page.html */ 6770);
/* harmony import */ var _login_page_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./login.page.scss */ 1339);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/core */ 7716);
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/router */ 9895);
/* harmony import */ var _ionic_angular__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @ionic/angular */ 476);
/* harmony import */ var _services_login_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../services/login.service */ 4120);
/* harmony import */ var _services_games_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../services/games.service */ 1675);
/* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../environments/environment */ 2340);
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! lodash */ 3815);
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_5__);










let LoginPage = class LoginPage {
    constructor(router, loginSevice, gamesService, toastController, cdr) {
        this.router = router;
        this.loginSevice = loginSevice;
        this.gamesService = gamesService;
        this.toastController = toastController;
        this.cdr = cdr;
        this.errorCodigo = false;
        this.errorApi = false;
        this.errorEnable = false;
        this.numberArray = [];
        this.isLoading = false;
    }
    ngOnInit() {
        try {
            /* if(localStorage.getItem('user') && localStorage.getItem('token')){
              this.router.navigate(['/politica-datos'])
            } */
            localStorage.clear();
            this.version = _environments_environment__WEBPACK_IMPORTED_MODULE_4__.environment.version;
            this.range_time_game = _environments_environment__WEBPACK_IMPORTED_MODULE_4__.environment.range_time_game;
            //for (let index = 0; index < this.range_time_game; index++) {
            for (let index = 0; index < this.range_time_game; index++) {
                this.numberArray.push(index + 1);
            }
        }
        catch (error) {
            console.error('Error en ngOnInit de login:', error);
        }
    }
    ngAfterViewInit() {
        try {
            setTimeout(() => {
                if (this.usernameInput) {
                    this.usernameInput.setFocus();
                }
            }, 1000);
        }
        catch (error) {
            console.error('Error en ngAfterViewInit de login:', error);
        }
    }
    ionViewWillEnter() {
        this.username = '';
        this.isLoading = false;
        if (document.activeElement instanceof HTMLElement) {
            document.activeElement.blur();
        }
    }
    ionViewWillLeave() {
        if (document.activeElement instanceof HTMLElement) {
            document.activeElement.blur();
        }
    }
    onSubmit() {
        return (0,tslib__WEBPACK_IMPORTED_MODULE_6__.__awaiter)(this, void 0, void 0, function* () {
            if (this.isLoading)
                return;
            this.isLoading = true;
            const userName = this.username;
            localStorage.clear();
            try {
                const res = yield this.loginSevice.loginCode(userName).toPromise();
                if (res.success) {
                    this.errorApi = false;
                    this.errorCodigo = false;
                    this.errorEnable = false;
                    const user = res.user;
                    this.saveUserData(res);
                    try {
                        const gameParams = yield this.gamesService.getParameters(res.word_game_id).toPromise();
                        console.log('=== Procesando parámetros del juego ===');
                        console.log('Game ID:', res.word_game_id);
                        console.log('Parámetros completos:', gameParams);
                        console.log('Configuración del juego:', {
                            figuresArray: this.figuresArray2,
                            totalFigures: this.totalFiguresArray,
                            position: this.position
                        });
                        this.processGameParameters(gameParams, res);
                        if (res.user.data_protection === 0) {
                            yield this.router.navigate(['/politica-datos']);
                        }
                        else {
                            yield this.router.navigate(['/enmarcar']);
                        }
                    }
                    catch (err) {
                        this.handleError(err);
                    }
                }
                else {
                    this.errorApi = false;
                    this.errorCodigo = true;
                }
            }
            catch (err) {
                this.handleError(err);
            }
            finally {
                this.isLoading = false;
                this.cdr.detectChanges();
            }
        });
    }
    saveUserData(res) {
        localStorage.setItem('token', res.token);
        localStorage.setItem('user', JSON.stringify(res.user));
        localStorage.setItem('mental_speed_id', res.mental_speed_id);
        localStorage.setItem('game_header_id', res.game_header_id);
        localStorage.setItem('mental_calculation_id', res.mental_calculation_id);
        localStorage.setItem('word_game_id', res.word_game_id);
        console.log('=== LETRA SELECCIONADA PARA EL JUEGO DE PALABRAS ===');
        console.log('Letra:', res.letter);
        localStorage.setItem('letter_selected', res.letter);
        localStorage.setItem('order_rapidez_mental', res.sequence);
        localStorage.setItem('password_game', res.password);
        localStorage.setItem('figure_game', res.figure);
        localStorage.setItem('color_figure_game', res.color);
        localStorage.setItem('memorize_id', res.memorize_id);
        localStorage.setItem('memorize_figure_id', res.memorize_figure_id);
        localStorage.setItem('number_array', JSON.stringify(this.numberArray));
        localStorage.setItem('number_interval_array', '0');
        localStorage.setItem('mental_calculation_array', JSON.stringify(res.mental_calculation_array));
        localStorage.setItem('mental_calculation_result', res.mental_calculation_result);
    }
    processGameParameters(res, loginRes) {
        localStorage.setItem('words_array', JSON.stringify(res.words_array));
        this.position = ['position-figure1', 'position-figure2', 'position-figure3', 'position-figure4', 'position-figure5', 'position-figure6'];
        this.figuresArray2 = res.figures_colors;
        this.totalFiguresArray = this.figuresArray2.length;
        for (let j = 0; j < this.totalFiguresArray; j++) {
            const indexNumber = Math.floor(Math.random() * this.numberArray.length);
            this.figuresArray2[j].position = this.position[Math.floor(Math.random() * this.position.length)];
            this.figuresArray2[j].time = this.numberArray[indexNumber];
            this.numberArray.splice(indexNumber, 1);
        }
        localStorage.setItem('figures_colors_array', JSON.stringify(lodash__WEBPACK_IMPORTED_MODULE_5___default().sortBy(this.figuresArray2, ['time'])));
    }
    handleError(err) {
        switch (err.status) {
            case 401:
                this.errorCodigo = true;
                this.errorApi = false;
                this.errorEnable = false;
                break;
            case 402:
                this.errorEnable = true;
                this.errorCodigo = false;
                this.errorApi = false;
                break;
            case 400:
                this.errorApi = true;
                this.errorEnable = false;
                this.errorCodigo = false;
                break;
        }
    }
};
LoginPage.ctorParameters = () => [
    { type: _angular_router__WEBPACK_IMPORTED_MODULE_7__.Router },
    { type: _services_login_service__WEBPACK_IMPORTED_MODULE_2__.LoginService },
    { type: _services_games_service__WEBPACK_IMPORTED_MODULE_3__.GamesService },
    { type: _ionic_angular__WEBPACK_IMPORTED_MODULE_8__.ToastController },
    { type: _angular_core__WEBPACK_IMPORTED_MODULE_9__.ChangeDetectorRef }
];
LoginPage.propDecorators = {
    usernameInput: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_9__.ViewChild, args: ['inputUsername', { static: false },] }]
};
LoginPage = (0,tslib__WEBPACK_IMPORTED_MODULE_6__.__decorate)([
    (0,_angular_core__WEBPACK_IMPORTED_MODULE_9__.Component)({
        selector: 'app-login',
        template: _raw_loader_login_page_html__WEBPACK_IMPORTED_MODULE_0__.default,
        styles: [_login_page_scss__WEBPACK_IMPORTED_MODULE_1__.default]
    })
], LoginPage);



/***/ }),

/***/ 2789:
/*!***************************************************************************!*\
  !*** ./src/app/memoriza-contrasena/memoriza-contrasena-routing.module.ts ***!
  \***************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "MemorizaContrasenaPageRoutingModule": () => (/* binding */ MemorizaContrasenaPageRoutingModule)
/* harmony export */ });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! tslib */ 4762);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 7716);
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/router */ 9895);
/* harmony import */ var _memoriza_contrasena_page__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./memoriza-contrasena.page */ 730);




const routes = [
    {
        path: '',
        component: _memoriza_contrasena_page__WEBPACK_IMPORTED_MODULE_0__.MemorizaContrasenaPage
    }
];
let MemorizaContrasenaPageRoutingModule = class MemorizaContrasenaPageRoutingModule {
};
MemorizaContrasenaPageRoutingModule = (0,tslib__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
    (0,_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgModule)({
        imports: [_angular_router__WEBPACK_IMPORTED_MODULE_3__.RouterModule.forChild(routes)],
        exports: [_angular_router__WEBPACK_IMPORTED_MODULE_3__.RouterModule],
    })
], MemorizaContrasenaPageRoutingModule);



/***/ }),

/***/ 2665:
/*!*******************************************************************!*\
  !*** ./src/app/memoriza-contrasena/memoriza-contrasena.module.ts ***!
  \*******************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "MemorizaContrasenaPageModule": () => (/* binding */ MemorizaContrasenaPageModule)
/* harmony export */ });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! tslib */ 4762);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/core */ 7716);
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/common */ 8583);
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/forms */ 3679);
/* harmony import */ var _ionic_angular__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @ionic/angular */ 476);
/* harmony import */ var _memoriza_contrasena_routing_module__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./memoriza-contrasena-routing.module */ 2789);
/* harmony import */ var _memoriza_contrasena_page__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./memoriza-contrasena.page */ 730);
/* harmony import */ var _camera_video_camera_video_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../camera-video/camera-video.module */ 4467);
/* harmony import */ var _modal_figuras_modal_figuras_module__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../modal-figuras/modal-figuras.module */ 5436);
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @ngx-translate/core */ 9790);










let MemorizaContrasenaPageModule = class MemorizaContrasenaPageModule {
};
MemorizaContrasenaPageModule = (0,tslib__WEBPACK_IMPORTED_MODULE_4__.__decorate)([
    (0,_angular_core__WEBPACK_IMPORTED_MODULE_5__.NgModule)({
        imports: [
            _angular_common__WEBPACK_IMPORTED_MODULE_6__.CommonModule,
            _angular_forms__WEBPACK_IMPORTED_MODULE_7__.FormsModule,
            _ionic_angular__WEBPACK_IMPORTED_MODULE_8__.IonicModule,
            _memoriza_contrasena_routing_module__WEBPACK_IMPORTED_MODULE_0__.MemorizaContrasenaPageRoutingModule,
            _camera_video_camera_video_module__WEBPACK_IMPORTED_MODULE_2__.CameraVideoModule,
            _modal_figuras_modal_figuras_module__WEBPACK_IMPORTED_MODULE_3__.ModalFigurasModule,
            _ngx_translate_core__WEBPACK_IMPORTED_MODULE_9__.TranslateModule
        ],
        declarations: [_memoriza_contrasena_page__WEBPACK_IMPORTED_MODULE_1__.MemorizaContrasenaPage]
    })
], MemorizaContrasenaPageModule);



/***/ }),

/***/ 730:
/*!*****************************************************************!*\
  !*** ./src/app/memoriza-contrasena/memoriza-contrasena.page.ts ***!
  \*****************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "MemorizaContrasenaPage": () => (/* binding */ MemorizaContrasenaPage)
/* harmony export */ });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! tslib */ 4762);
/* harmony import */ var _raw_loader_memoriza_contrasena_page_html__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !raw-loader!./memoriza-contrasena.page.html */ 9029);
/* harmony import */ var _memoriza_contrasena_page_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./memoriza-contrasena.page.scss */ 2300);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/core */ 7716);
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/router */ 9895);





let MemorizaContrasenaPage = class MemorizaContrasenaPage {
    constructor(router) {
        this.router = router;
    }
    ngOnInit() {
        this.startTimer();
        let user = JSON.parse(localStorage.getItem('user'));
        if (user) {
            this.password = localStorage.getItem("password_game");
        }
        else {
            this.router.navigate(['/']);
            localStorage.clear();
        }
    }
    /* makeid(level) {
      var result = '';
      if(level == 1){
        var characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';
        var length = 5;
      }
      if(level == 2){
        var characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789';
        var length = 7;
      }
      if(level == 3){
        var characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%&*()_-+=,.[]:';
        var length = 10;
      }
      var charactersLength = characters.length;
      for ( var i = 0; i < length; i++ ) {
        result += characters.charAt(Math.floor(Math.random() * charactersLength));
      }
      return result;
    } */
    ngOnDestroy() {
        // Asegurarse de limpiar el temporizador cuando el componente se destruya
        clearTimeout(this.timer);
    }
    startTimer() {
        this.timer = setTimeout(() => {
            // Redirige solo si el componente aún está montado y el usuario no ha navegado manualmente
            this.router.navigate(['/memoriza-simbolo']);
        }, 10000); // 10 segundos
    }
    onContinue() {
        // Limpiar el temporizador para prevenir la redirección automática
        clearTimeout(this.timer);
        // Navegar manualmente
        this.router.navigate(['/memoriza-simbolo']);
    }
};
MemorizaContrasenaPage.ctorParameters = () => [
    { type: _angular_router__WEBPACK_IMPORTED_MODULE_2__.Router }
];
MemorizaContrasenaPage = (0,tslib__WEBPACK_IMPORTED_MODULE_3__.__decorate)([
    (0,_angular_core__WEBPACK_IMPORTED_MODULE_4__.Component)({
        selector: 'app-memoriza-contrasena',
        template: _raw_loader_memoriza_contrasena_page_html__WEBPACK_IMPORTED_MODULE_0__.default,
        styles: [_memoriza_contrasena_page_scss__WEBPACK_IMPORTED_MODULE_1__.default]
    })
], MemorizaContrasenaPage);



/***/ }),

/***/ 111:
/*!*********************************************************************!*\
  !*** ./src/app/memoriza-simbolo/memoriza-simbolo-routing.module.ts ***!
  \*********************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "MemorizaSimboloPageRoutingModule": () => (/* binding */ MemorizaSimboloPageRoutingModule)
/* harmony export */ });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! tslib */ 4762);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 7716);
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/router */ 9895);
/* harmony import */ var _memoriza_simbolo_page__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./memoriza-simbolo.page */ 1996);




const routes = [
    {
        path: '',
        component: _memoriza_simbolo_page__WEBPACK_IMPORTED_MODULE_0__.MemorizaSimboloPage
    }
];
let MemorizaSimboloPageRoutingModule = class MemorizaSimboloPageRoutingModule {
};
MemorizaSimboloPageRoutingModule = (0,tslib__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
    (0,_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgModule)({
        imports: [_angular_router__WEBPACK_IMPORTED_MODULE_3__.RouterModule.forChild(routes)],
        exports: [_angular_router__WEBPACK_IMPORTED_MODULE_3__.RouterModule],
    })
], MemorizaSimboloPageRoutingModule);



/***/ }),

/***/ 3304:
/*!*************************************************************!*\
  !*** ./src/app/memoriza-simbolo/memoriza-simbolo.module.ts ***!
  \*************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "MemorizaSimboloPageModule": () => (/* binding */ MemorizaSimboloPageModule)
/* harmony export */ });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! tslib */ 4762);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/core */ 7716);
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/common */ 8583);
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/forms */ 3679);
/* harmony import */ var _ionic_angular__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @ionic/angular */ 476);
/* harmony import */ var _memoriza_simbolo_routing_module__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./memoriza-simbolo-routing.module */ 111);
/* harmony import */ var _memoriza_simbolo_page__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./memoriza-simbolo.page */ 1996);
/* harmony import */ var _camera_video_camera_video_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../camera-video/camera-video.module */ 4467);
/* harmony import */ var _modal_figuras_modal_figuras_module__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../modal-figuras/modal-figuras.module */ 5436);
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @ngx-translate/core */ 9790);










let MemorizaSimboloPageModule = class MemorizaSimboloPageModule {
};
MemorizaSimboloPageModule = (0,tslib__WEBPACK_IMPORTED_MODULE_4__.__decorate)([
    (0,_angular_core__WEBPACK_IMPORTED_MODULE_5__.NgModule)({
        imports: [
            _angular_common__WEBPACK_IMPORTED_MODULE_6__.CommonModule,
            _angular_forms__WEBPACK_IMPORTED_MODULE_7__.FormsModule,
            _ionic_angular__WEBPACK_IMPORTED_MODULE_8__.IonicModule,
            _memoriza_simbolo_routing_module__WEBPACK_IMPORTED_MODULE_0__.MemorizaSimboloPageRoutingModule,
            _camera_video_camera_video_module__WEBPACK_IMPORTED_MODULE_2__.CameraVideoModule,
            _modal_figuras_modal_figuras_module__WEBPACK_IMPORTED_MODULE_3__.ModalFigurasModule,
            _ngx_translate_core__WEBPACK_IMPORTED_MODULE_9__.TranslateModule
        ],
        declarations: [_memoriza_simbolo_page__WEBPACK_IMPORTED_MODULE_1__.MemorizaSimboloPage]
    })
], MemorizaSimboloPageModule);



/***/ }),

/***/ 1996:
/*!***********************************************************!*\
  !*** ./src/app/memoriza-simbolo/memoriza-simbolo.page.ts ***!
  \***********************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "MemorizaSimboloPage": () => (/* binding */ MemorizaSimboloPage)
/* harmony export */ });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! tslib */ 4762);
/* harmony import */ var _raw_loader_memoriza_simbolo_page_html__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !raw-loader!./memoriza-simbolo.page.html */ 2993);
/* harmony import */ var _memoriza_simbolo_page_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./memoriza-simbolo.page.scss */ 2510);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/core */ 7716);
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/router */ 9895);
/* harmony import */ var _ionic_angular__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @ionic/angular */ 476);
/* harmony import */ var _services_games_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../services/games.service */ 1675);
/* harmony import */ var _services_video_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../services/video.service */ 8472);








let MemorizaSimboloPage = class MemorizaSimboloPage {
    constructor(router, gamesService, videoService, toastController) {
        this.router = router;
        this.gamesService = gamesService;
        this.videoService = videoService;
        this.toastController = toastController;
    }
    ngOnInit() {
        this.startTimer();
        let user = JSON.parse(localStorage.getItem('user'));
        if (user) {
            this.figure = localStorage.getItem('figure_game');
            this.color = localStorage.getItem("color_figure_game");
            this.password = localStorage.getItem('password_game');
            this.user_id = user.id;
            // Lógica de traducción según el idioma del usuario
            if (user.language === 'es') {
                // Traducción de figuras al español
                if (this.figure == 'circle') {
                    this.figure_translate = 'círculos';
                }
                if (this.figure == 'triangle') {
                    this.figure_translate = 'triángulos';
                }
                if (this.figure == 'square') {
                    this.figure_translate = 'cuadrados';
                }
                if (this.figure == 'cross') {
                    this.text1 = "todas las";
                    this.figure_translate = 'cruces';
                }
                // Traducción de colores al español
                if (this.color == 'blue') {
                    this.color_translate = 'azules';
                }
                if (this.color == 'red') {
                    if (this.figure == 'cross') {
                        this.color_translate = 'rojas';
                    }
                    else {
                        this.color_translate = 'rojos';
                    }
                }
                if (this.color == 'white') {
                    if (this.figure == 'cross') {
                        this.color_translate = 'blancas';
                    }
                    else {
                        this.color_translate = 'blancos';
                    }
                }
                if (this.color == 'lilac') {
                    if (this.figure == 'cross') {
                        this.color_translate = 'lilas';
                    }
                    else {
                        this.color_translate = 'lilas';
                    }
                }
                if (!this.text1) {
                    this.text1 = "solo";
                }
            }
            else {
                // Traducción de figuras al inglés
                if (this.figure == 'circle') {
                    this.figure_translate = 'circles';
                }
                if (this.figure == 'triangle') {
                    this.figure_translate = 'triangles';
                }
                if (this.figure == 'square') {
                    this.figure_translate = 'squares';
                }
                if (this.figure == 'cross') {
                    this.text1 = "all";
                    this.figure_translate = 'crosses';
                }
                // Traducción de colores al inglés
                if (this.color == 'blue') {
                    this.color_translate = 'blue';
                }
                if (this.color == 'red') {
                    this.color_translate = 'red';
                }
                if (this.color == 'white') {
                    this.color_translate = 'white';
                }
                if (this.color == 'lilac') {
                    this.color_translate = 'lilac';
                }
                if (!this.text1) {
                    this.text1 = "only";
                }
            }
        }
        else {
            this.router.navigate(['/']);
            localStorage.clear();
        }
    }
    presentToast(message) {
        return (0,tslib__WEBPACK_IMPORTED_MODULE_4__.__awaiter)(this, void 0, void 0, function* () {
            const toast = yield this.toastController.create({
                message: message,
                duration: 2000,
                position: 'bottom',
                color: "danger"
            });
            toast.present();
        });
    }
    ngOnDestroy() {
        clearTimeout(this.timer);
    }
    startTimer() {
        this.timer = setTimeout(() => {
            this.router.navigate(['/instrucciones-rapidez-mental']);
        }, 10000);
    }
    onContinue() {
        clearTimeout(this.timer);
        this.router.navigate(['/instrucciones-rapidez-mental']);
    }
};
MemorizaSimboloPage.ctorParameters = () => [
    { type: _angular_router__WEBPACK_IMPORTED_MODULE_5__.Router },
    { type: _services_games_service__WEBPACK_IMPORTED_MODULE_2__.GamesService },
    { type: _services_video_service__WEBPACK_IMPORTED_MODULE_3__.VideoService },
    { type: _ionic_angular__WEBPACK_IMPORTED_MODULE_6__.ToastController }
];
MemorizaSimboloPage = (0,tslib__WEBPACK_IMPORTED_MODULE_4__.__decorate)([
    (0,_angular_core__WEBPACK_IMPORTED_MODULE_7__.Component)({
        selector: 'app-memoriza-simbolo',
        template: _raw_loader_memoriza_simbolo_page_html__WEBPACK_IMPORTED_MODULE_0__.default,
        styles: [_memoriza_simbolo_page_scss__WEBPACK_IMPORTED_MODULE_1__.default]
    })
], MemorizaSimboloPage);



/***/ }),

/***/ 6143:
/*!**********************************************************!*\
  !*** ./src/app/modal-figuras/modal-figuras.component.ts ***!
  \**********************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "ModalFigurasComponent": () => (/* binding */ ModalFigurasComponent)
/* harmony export */ });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! tslib */ 4762);
/* harmony import */ var _raw_loader_modal_figuras_component_html__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !raw-loader!./modal-figuras.component.html */ 9779);
/* harmony import */ var _modal_figuras_component_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./modal-figuras.component.scss */ 7558);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/core */ 7716);
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/router */ 9895);
/* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/environments/environment */ 2340);
/* harmony import */ var _services_games_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../services/games.service */ 1675);
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @ngx-translate/core */ 9790);








let ModalFigurasComponent = class ModalFigurasComponent {
    constructor(router, gamesService, translate) {
        this.router = router;
        this.gamesService = gamesService;
        this.translate = translate;
        this.indexfiguresArray = 0;
        this.stopFiguresArray = false;
        this.figures_clicks = [];
        this.clickingGame = -1;
        this.hasClick = false;
        this.stopCounting = false;
        this.indexEach = -1;
        this.range_time_game = 0;
    }
    getFigureAriaLabel(figure, color) {
        const figureKey = `MEMORIZE_SYMBOL.FIGURES.${figure.toUpperCase()}`;
        const colorKey = `MEMORIZE_SYMBOL.COLORS.${color.toUpperCase()}`;
        return this.translate.instant('MODAL_FIGURES.ARIA_LABELS.FIGURE', {
            figure: this.translate.instant(figureKey),
            color: this.translate.instant(colorKey)
        });
    }
    getOverlayAriaLabel() {
        return this.translate.instant('MODAL_FIGURES.ARIA_LABELS.OVERLAY');
    }
    ngOnInit() {
        try {
            this.last_time = Date.now();
            // Inicialización de arrays vacíos para evitar errores null
            this.figures_clicks = this.figures_clicks || [];
            this.figuresArray = this.figuresArray || [];
            this.figuresArray2 = this.figuresArray2 || [];
            this.router.events.subscribe((event) => {
                if (event instanceof _angular_router__WEBPACK_IMPORTED_MODULE_4__.NavigationStart) {
                    localStorage.setItem('figures_clicks', JSON.stringify(this.figures_clicks));
                    localStorage.setItem('clicking_game_figure', this.clickingGame.toString());
                    localStorage.setItem('has_click_figure', this.hasClick.toString());
                    if (event.url === '/instrucciones-rapidez-mental' || event.url === '/rapidez-mental') {
                        this.game_stay = '1';
                    }
                    if (event.url === '/instrucciones-calculo-mental' || event.url === '/calculo-mental') {
                        this.game_stay = '2';
                    }
                    if (event.url === '/instrucciones-juego-palabras' || event.url === '/juego-palabras') {
                        this.game_stay = '3';
                    }
                    if (event.url === '/ingresa-contrasena') {
                        this.game_stay = '4';
                    }
                    if (event.url === '/exit') {
                        this.game_stay = '5';
                    }
                    if (event.url === '/instrucciones-rapidez-mental') {
                        this.memorize_figure_id = localStorage.getItem('memorize_figure_id');
                        this.game_header_id = localStorage.getItem('game_header_id');
                        this.memorize_id = localStorage.getItem('memorize_id');
                        this.figuresArray = JSON.parse(localStorage.getItem('figures_colors_array'));
                        this.figuresArray2 = JSON.parse(localStorage.getItem('figures_colors_array'));
                        this.numberIntervalArray = parseInt(localStorage.getItem('number_interval_array'), 10);
                        if (localStorage.getItem('clicking_game_figure')) {
                            this.clickingGame = parseInt(localStorage.getItem('clicking_game_figure'), 10);
                        }
                        if (localStorage.getItem('figures_clicks')) {
                            this.figures_clicks = JSON.parse(localStorage.getItem('figures_clicks'));
                        }
                        this.indexEach = this.figures_clicks.length - 1;
                        const user = JSON.parse(localStorage.getItem('user'));
                        this.level = user.level;
                        if (this.level === 1) {
                            this.times_level = src_environments_environment__WEBPACK_IMPORTED_MODULE_2__.environment.interval_show_figure[0];
                        }
                        else if (this.level === 2) {
                            this.times_level = src_environments_environment__WEBPACK_IMPORTED_MODULE_2__.environment.interval_show_figure[1];
                        }
                        else if (this.level === 3) {
                            this.times_level = src_environments_environment__WEBPACK_IMPORTED_MODULE_2__.environment.interval_show_figure[2];
                        }
                        this.times_total_level = src_environments_environment__WEBPACK_IMPORTED_MODULE_2__.environment.range_time_game;
                        if (this.game_stay === '5') {
                            clearInterval(this.intervalFigures);
                            this.gamesService.memoriceFigureStop(this.game_header_id, this.memorize_figure_id, this.memorize_id, JSON.stringify(this.figures_clicks)).subscribe((res) => {
                                this.stopFiguresArray = false;
                            }, (err) => {
                                this.stopFiguresArray = false;
                            });
                        }
                        else {
                            this.intervalFigures = setInterval(() => {
                                let timestamp_now = Date.now();
                                if (parseInt(localStorage.getItem('number_interval_array'), 10) < this.times_total_level) {
                                    if (!this.hasClick) {
                                        this.stopFiguresArray = false;
                                        this.numberIntervalArray = this.numberIntervalArray + 1;
                                        localStorage.setItem('number_interval_array', this.numberIntervalArray.toString());
                                        this.totalFiguresArray = this.figuresArray2.length;
                                        for (let j = 0; j < this.totalFiguresArray; j++) {
                                            if (this.figuresArray2[j].time === this.numberIntervalArray) {
                                                this.indexEach = this.indexEach + 1;
                                                this.clickingGame = this.clickingGame + 1;
                                                let difference = timestamp_now - this.last_time;
                                                this.last_time = Date.now();
                                                this.figures_clicks[this.indexEach] = {
                                                    figure: this.figuresArray2[this.clickingGame].figure,
                                                    color: this.figuresArray2[this.clickingGame].color,
                                                    pulsation: 0,
                                                    time: difference,
                                                    time_pulsation: timestamp_now,
                                                    game_stay: this.game_stay
                                                };
                                                this.stopFiguresArray = true;
                                            }
                                        }
                                    }
                                    else {
                                        this.hasClick = false;
                                    }
                                }
                                else {
                                    this.stopFiguresArray = false;
                                    clearInterval(this.intervalFigures);
                                    try {
                                        this.gamesService.memoriceFigureStop(this.game_header_id, this.memorize_figure_id, this.memorize_id, JSON.stringify(this.figures_clicks)).subscribe((res) => {
                                            // console.log(res);
                                        }, (err) => {
                                            console.error('Error al detener el juego de figuras:', err);
                                        });
                                    }
                                    catch (error) {
                                        console.error('Error al llamar memoriceFigureStop:', error);
                                    }
                                    localStorage.removeItem('figures_clicks');
                                    localStorage.removeItem('clicking_game_figure');
                                    localStorage.removeItem('has_click_figure');
                                    this.figures_clicks = [];
                                    this.clickingGame = 1;
                                    this.hasClick = false;
                                }
                            }, 1000);
                        }
                    }
                }
            });
        }
        catch (error) {
            console.error('Error en ngOnInit de modal-figuras:', error);
        }
    }
    selectOverlay() {
        try {
            let timestamp_now = Date.now();
            this.indexEach = this.indexEach + 1;
            // Verificar que existen las propiedades necesarias
            if (this.figuresArray2 && this.clickingGame >= 0 && this.clickingGame < this.figuresArray2.length) {
                this.figures_clicks[this.indexEach] = {
                    figure: this.figuresArray2[this.clickingGame].figure,
                    color: this.figuresArray2[this.clickingGame].color,
                    pulsation: -1,
                    time_pulsation: timestamp_now,
                    time: 0,
                    game_stay: this.game_stay
                };
            }
            else {
                console.error('Error en selectOverlay: figuresArray2 o clickingGame no válidos');
            }
        }
        catch (error) {
            console.error('Error en selectOverlay:', error);
        }
    }
    selectFiguras() {
        try {
            if (parseInt(localStorage.getItem('number_interval_array'), 10) < this.times_total_level) {
                clearInterval(this.intervalFigures);
                let timestamp_now = Date.now();
                let difference = timestamp_now - this.last_time;
                this.last_time = Date.now();
                this.stopFiguresArray = false;
                this.figures_clicks[this.indexEach] = {
                    figure: this.figuresArray2[this.clickingGame].figure,
                    color: this.figuresArray2[this.clickingGame].color,
                    pulsation: 1,
                    time_pulsation: timestamp_now,
                    time: difference,
                    game_stay: this.game_stay
                };
                this.hasClick = true;
                this.numberIntervalArray = this.numberIntervalArray + 1;
                this.intervalFigures = setInterval(() => {
                    let timestamp_now = Date.now();
                    if (parseInt(localStorage.getItem('number_interval_array'), 10) < this.times_total_level) {
                        if (!this.hasClick) {
                            this.stopFiguresArray = false;
                            this.numberIntervalArray = this.numberIntervalArray + 1;
                            localStorage.setItem('number_interval_array', this.numberIntervalArray.toString());
                            this.totalFiguresArray = this.figuresArray2.length;
                            for (let j = 0; j < this.totalFiguresArray; j++) {
                                if (this.figuresArray2[j].time === this.numberIntervalArray) {
                                    this.indexEach = this.indexEach + 1;
                                    this.clickingGame = this.clickingGame + 1;
                                    let difference = timestamp_now - this.last_time;
                                    this.last_time = Date.now();
                                    this.figures_clicks[this.indexEach] = {
                                        figure: this.figuresArray2[this.clickingGame].figure,
                                        color: this.figuresArray2[this.clickingGame].color,
                                        pulsation: 0,
                                        time: difference,
                                        time_pulsation: timestamp_now,
                                        game_stay: this.game_stay
                                    };
                                    this.stopFiguresArray = true;
                                }
                            }
                        }
                        else {
                            this.hasClick = false;
                        }
                    }
                    else {
                        this.stopFiguresArray = false;
                        clearInterval(this.intervalFigures);
                        try {
                            this.gamesService.memoriceFigureStop(this.game_header_id, this.memorize_figure_id, this.memorize_id, JSON.stringify(this.figures_clicks)).subscribe((res) => {
                                // console.log(res);
                            }, (err) => {
                                console.error('Error al detener el juego de figuras:', err);
                            });
                        }
                        catch (error) {
                            console.error('Error al llamar memoriceFigureStop:', error);
                        }
                        localStorage.removeItem('figures_clicks');
                        localStorage.removeItem('clicking_game_figure');
                        localStorage.removeItem('has_click_figure');
                        this.figures_clicks = [];
                        this.clickingGame = 1;
                        this.hasClick = false;
                    }
                }, 1000);
            }
            else {
                localStorage.removeItem('figures_clicks');
                localStorage.removeItem('clicking_game_figure');
                localStorage.removeItem('has_click_figure');
                this.figures_clicks = [];
                this.clickingGame = 1;
                this.hasClick = false;
            }
        }
        catch (error) {
            console.error('Error en selectFiguras:', error);
        }
    }
};
ModalFigurasComponent.ctorParameters = () => [
    { type: _angular_router__WEBPACK_IMPORTED_MODULE_4__.Router },
    { type: _services_games_service__WEBPACK_IMPORTED_MODULE_3__.GamesService },
    { type: _ngx_translate_core__WEBPACK_IMPORTED_MODULE_5__.TranslateService }
];
ModalFigurasComponent.propDecorators = {
    game_stay: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_6__.Input }]
};
ModalFigurasComponent = (0,tslib__WEBPACK_IMPORTED_MODULE_7__.__decorate)([
    (0,_angular_core__WEBPACK_IMPORTED_MODULE_6__.Component)({
        selector: 'app-modal-figuras',
        template: _raw_loader_modal_figuras_component_html__WEBPACK_IMPORTED_MODULE_0__.default,
        styles: [_modal_figuras_component_scss__WEBPACK_IMPORTED_MODULE_1__.default]
    })
], ModalFigurasComponent);



/***/ }),

/***/ 5436:
/*!*******************************************************!*\
  !*** ./src/app/modal-figuras/modal-figuras.module.ts ***!
  \*******************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "ModalFigurasModule": () => (/* binding */ ModalFigurasModule)
/* harmony export */ });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! tslib */ 4762);
/* harmony import */ var _ionic_angular__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ionic/angular */ 476);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 7716);
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ 8583);
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/forms */ 3679);
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @ngx-translate/core */ 9790);
/* harmony import */ var _modal_figuras_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./modal-figuras.component */ 6143);







let ModalFigurasModule = class ModalFigurasModule {
};
ModalFigurasModule = (0,tslib__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
    (0,_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgModule)({
        imports: [
            _ionic_angular__WEBPACK_IMPORTED_MODULE_3__.IonicModule,
            _angular_common__WEBPACK_IMPORTED_MODULE_4__.CommonModule,
            _angular_forms__WEBPACK_IMPORTED_MODULE_5__.FormsModule,
            _ngx_translate_core__WEBPACK_IMPORTED_MODULE_6__.TranslateModule
        ],
        declarations: [_modal_figuras_component__WEBPACK_IMPORTED_MODULE_0__.ModalFigurasComponent],
        exports: [
            _modal_figuras_component__WEBPACK_IMPORTED_MODULE_0__.ModalFigurasComponent
        ]
    })
], ModalFigurasModule);



/***/ }),

/***/ 322:
/*!*****************************************************************!*\
  !*** ./src/app/politica-datos/politica-datos-routing.module.ts ***!
  \*****************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "PoliticaDatosPageRoutingModule": () => (/* binding */ PoliticaDatosPageRoutingModule)
/* harmony export */ });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! tslib */ 4762);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 7716);
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/router */ 9895);
/* harmony import */ var _politica_datos_page__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./politica-datos.page */ 9954);




const routes = [
    {
        path: '',
        component: _politica_datos_page__WEBPACK_IMPORTED_MODULE_0__.PoliticaDatosPage,
    }
];
let PoliticaDatosPageRoutingModule = class PoliticaDatosPageRoutingModule {
};
PoliticaDatosPageRoutingModule = (0,tslib__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
    (0,_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgModule)({
        imports: [_angular_router__WEBPACK_IMPORTED_MODULE_3__.RouterModule.forChild(routes)],
        exports: [_angular_router__WEBPACK_IMPORTED_MODULE_3__.RouterModule]
    })
], PoliticaDatosPageRoutingModule);



/***/ }),

/***/ 3167:
/*!*********************************************************!*\
  !*** ./src/app/politica-datos/politica-datos.module.ts ***!
  \*********************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "PoliticaDatosPageModule": () => (/* binding */ PoliticaDatosPageModule)
/* harmony export */ });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! tslib */ 4762);
/* harmony import */ var _ionic_angular__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @ionic/angular */ 476);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/core */ 7716);
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/common */ 8583);
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/forms */ 3679);
/* harmony import */ var _politica_datos_page__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./politica-datos.page */ 9954);
/* harmony import */ var _politica_datos_routing_module__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./politica-datos-routing.module */ 322);
/* harmony import */ var _modal_figuras_modal_figuras_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../modal-figuras/modal-figuras.module */ 5436);
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @ngx-translate/core */ 9790);









let PoliticaDatosPageModule = class PoliticaDatosPageModule {
};
PoliticaDatosPageModule = (0,tslib__WEBPACK_IMPORTED_MODULE_3__.__decorate)([
    (0,_angular_core__WEBPACK_IMPORTED_MODULE_4__.NgModule)({
        imports: [
            _ionic_angular__WEBPACK_IMPORTED_MODULE_5__.IonicModule,
            _angular_common__WEBPACK_IMPORTED_MODULE_6__.CommonModule,
            _angular_forms__WEBPACK_IMPORTED_MODULE_7__.FormsModule,
            _politica_datos_routing_module__WEBPACK_IMPORTED_MODULE_1__.PoliticaDatosPageRoutingModule,
            _modal_figuras_modal_figuras_module__WEBPACK_IMPORTED_MODULE_2__.ModalFigurasModule,
            _ngx_translate_core__WEBPACK_IMPORTED_MODULE_8__.TranslateModule
        ],
        declarations: [_politica_datos_page__WEBPACK_IMPORTED_MODULE_0__.PoliticaDatosPage]
    })
], PoliticaDatosPageModule);



/***/ }),

/***/ 9954:
/*!*******************************************************!*\
  !*** ./src/app/politica-datos/politica-datos.page.ts ***!
  \*******************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "PoliticaDatosPage": () => (/* binding */ PoliticaDatosPage)
/* harmony export */ });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! tslib */ 4762);
/* harmony import */ var _raw_loader_politica_datos_page_html__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !raw-loader!./politica-datos.page.html */ 5754);
/* harmony import */ var _politica_datos_page_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./politica-datos.page.scss */ 6661);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/core */ 7716);
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/router */ 9895);
/* harmony import */ var _services_login_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../services/login.service */ 4120);
/* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../environments/environment */ 2340);







let PoliticaDatosPage = class PoliticaDatosPage {
    constructor(router, loginSevice) {
        this.router = router;
        this.loginSevice = loginSevice;
        this.terms = false;
        this.error = false;
    }
    ngOnInit() {
        let user = JSON.parse(localStorage.getItem('user'));
        this.version = _environments_environment__WEBPACK_IMPORTED_MODULE_3__.environment.version;
        if (user) {
            if (user.data_protection == 1) {
                this.router.navigate(['/enmarcar']);
            }
        }
        else {
            this.router.navigate(['/']);
            localStorage.clear();
        }
    }
    onSubmit() {
        let terms = this.terms;
        if (terms) {
            let token = localStorage.getItem('token');
            let user = JSON.parse(localStorage.getItem('user'));
            this.loginSevice.data_protection(user.id, token).subscribe((res) => {
                if (res.success) {
                    // console.log(res);
                    localStorage.setItem('user', JSON.stringify(res.user));
                    this.router.navigate(['/enmarcar']);
                }
            }, (err) => {
                // console.error(err);
                if (err.status == 401) {
                    this.router.navigate(['/']);
                    localStorage.clear();
                }
            });
        }
        else {
            this.error = true;
        }
    }
    detectChange() {
        if (this.terms) {
            this.error = false;
        }
    }
};
PoliticaDatosPage.ctorParameters = () => [
    { type: _angular_router__WEBPACK_IMPORTED_MODULE_4__.Router },
    { type: _services_login_service__WEBPACK_IMPORTED_MODULE_2__.LoginService }
];
PoliticaDatosPage = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([
    (0,_angular_core__WEBPACK_IMPORTED_MODULE_6__.Component)({
        selector: 'app-politica-datos',
        template: _raw_loader_politica_datos_page_html__WEBPACK_IMPORTED_MODULE_0__.default,
        styles: [_politica_datos_page_scss__WEBPACK_IMPORTED_MODULE_1__.default]
    })
], PoliticaDatosPage);



/***/ }),

/***/ 1675:
/*!*******************************************!*\
  !*** ./src/app/services/games.service.ts ***!
  \*******************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "GamesService": () => (/* binding */ GamesService)
/* harmony export */ });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! tslib */ 4762);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/core */ 7716);
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common/http */ 1841);
/* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../environments/environment */ 2340);




let GamesService = class GamesService {
    constructor(httpClient) {
        this.httpClient = httpClient;
        this.videos = [];
        this.VIDEOS_KEY = 'videos';
    }
    getParameters(word_game_id) {
        const token = localStorage.getItem("token");
        const httpOptions = {
            headers: new _angular_common_http__WEBPACK_IMPORTED_MODULE_1__.HttpHeaders({
                'Content-Type': 'application/json',
                Authorization: "Bearer " + token
            })
        };
        console.log('=== INICIO PETICIÓN DE PALABRAS ===');
        console.log('URL:', `${_environments_environment__WEBPACK_IMPORTED_MODULE_0__.environment.apiUrl}/get-parameters`);
        console.log('Payload:', { word_game_id });
        console.log('Headers:', httpOptions.headers);
        return this.httpClient
            .post(`${_environments_environment__WEBPACK_IMPORTED_MODULE_0__.environment.apiUrl}/get-parameters`, { word_game_id: word_game_id }, httpOptions)
            .pipe(result => {
            console.log('=== RESPUESTA COMPLETA DEL SERVIDOR ===');
            console.log('Datos completos:', result);
            if (result['words_array'] && Array.isArray(result['words_array'])) {
                console.log('=== PALABRAS RECIBIDAS ===');
                console.log('Total palabras:', result['words_array'].length);
                console.log('Todas las palabras:');
                result['words_array'].forEach((word, index) => {
                    console.log(`Palabra ${index + 1}:`, {
                        palabra: word.word,
                        tipografia: word.typography,
                        orientacion: word.orientation,
                        tamano: word.size,
                        datos_completos: word
                    });
                });
            }
            else {
                console.warn('No se encontraron palabras');
            }
            if (result['figures_colors']) {
                console.log('=== CONFIGURACIÓN DE FIGURAS ===');
                console.log('Figuras:', result['figures_colors']);
            }
            console.log('=== OTROS PARÁMETROS ===');
            Object.keys(result).forEach(key => {
                if (key !== 'words_array' && key !== 'figures_colors') {
                    console.log(`${key}:`, result[key]);
                }
            });
            return result;
        });
    }
    setInfoGame1(password, figure, color, user_id) {
        const token = localStorage.getItem("token");
        const httpOptions = {
            headers: new _angular_common_http__WEBPACK_IMPORTED_MODULE_1__.HttpHeaders({
                'Content-Type': 'application/json',
                Authorization: "Bearer " + token
            })
        };
        return this.httpClient
            .post(`${_environments_environment__WEBPACK_IMPORTED_MODULE_0__.environment.apiUrl}/set-memorize`, { password: password, figure: figure, color: color, user_id: user_id }, httpOptions)
            .pipe((result) => {
            return result;
        });
    }
    setGameHeader(user_id, level, sequence, game_stay) {
        const token = localStorage.getItem("token");
        const httpOptions = {
            headers: new _angular_common_http__WEBPACK_IMPORTED_MODULE_1__.HttpHeaders({
                'Content-Type': 'application/json',
                Authorization: "Bearer " + token
            })
        };
        return this.httpClient
            .post(`${_environments_environment__WEBPACK_IMPORTED_MODULE_0__.environment.apiUrl}/set-game-header`, { user_id: user_id, level: level, sequence: sequence, game_stay: game_stay }, httpOptions)
            .pipe((result) => {
            return result;
        });
    }
    mentalSpeedDetails(mental_speed_id, value_expected, value_pressed, time, time_pulsation) {
        const token = localStorage.getItem("token");
        const httpOptions = {
            headers: new _angular_common_http__WEBPACK_IMPORTED_MODULE_1__.HttpHeaders({
                'Content-Type': 'application/json',
                Authorization: "Bearer " + token
            })
        };
        return this.httpClient
            .post(`${_environments_environment__WEBPACK_IMPORTED_MODULE_0__.environment.apiUrl}/mental-speed-details`, { mental_speed_id: mental_speed_id, value_expected: value_expected, value_pressed: value_pressed, time: time, time_pulsation: time_pulsation }, httpOptions)
            .pipe((result) => {
            return result;
        });
    }
    mentalSpeedStop(mental_speed_id, time) {
        const token = localStorage.getItem("token");
        const httpOptions = {
            headers: new _angular_common_http__WEBPACK_IMPORTED_MODULE_1__.HttpHeaders({
                'Content-Type': 'application/json',
                Authorization: "Bearer " + token
            })
        };
        return this.httpClient
            .post(`${_environments_environment__WEBPACK_IMPORTED_MODULE_0__.environment.apiUrl}/mental-speed-stop`, { mental_speed_id: mental_speed_id, time: time }, httpOptions)
            .pipe((result) => {
            return result;
        });
    }
    mentalCalculation(game_header_id) {
        const token = localStorage.getItem("token");
        const httpOptions = {
            headers: new _angular_common_http__WEBPACK_IMPORTED_MODULE_1__.HttpHeaders({
                'Content-Type': 'application/json',
                Authorization: "Bearer " + token
            })
        };
        return this.httpClient
            .post(`${_environments_environment__WEBPACK_IMPORTED_MODULE_0__.environment.apiUrl}/mental-calculation`, { game_header_id: game_header_id }, httpOptions)
            .pipe((result) => {
            return result;
        });
    }
    mentalCalculationDetails(mental_calculation_id, value_expected, value_entered, time) {
        const token = localStorage.getItem("token");
        const httpOptions = {
            headers: new _angular_common_http__WEBPACK_IMPORTED_MODULE_1__.HttpHeaders({
                'Content-Type': 'application/json',
                Authorization: "Bearer " + token
            })
        };
        return this.httpClient
            .post(`${_environments_environment__WEBPACK_IMPORTED_MODULE_0__.environment.apiUrl}/mental-calculation-details`, { mental_calculation_id: mental_calculation_id, value_expected: value_expected, value_entered: value_entered, time: time }, httpOptions)
            .pipe((result) => {
            return result;
        });
    }
    mentalCalculationStop(mental_calculation_id) {
        const token = localStorage.getItem("token");
        const httpOptions = {
            headers: new _angular_common_http__WEBPACK_IMPORTED_MODULE_1__.HttpHeaders({
                'Content-Type': 'application/json',
                Authorization: "Bearer " + token
            })
        };
        let time = Date.now();
        return this.httpClient
            .post(`${_environments_environment__WEBPACK_IMPORTED_MODULE_0__.environment.apiUrl}/mental-calculation-stop`, { mental_calculation_id: mental_calculation_id, time: time }, httpOptions)
            .pipe((result) => {
            return result;
        });
    }
    gameWordsInit(game_header_id) {
        const token = localStorage.getItem("token");
        const httpOptions = {
            headers: new _angular_common_http__WEBPACK_IMPORTED_MODULE_1__.HttpHeaders({
                'Content-Type': 'application/json',
                Authorization: "Bearer " + token
            })
        };
        return this.httpClient
            .post(`${_environments_environment__WEBPACK_IMPORTED_MODULE_0__.environment.apiUrl}/words-game-start`, { game_header_id: game_header_id }, httpOptions)
            .pipe((result) => {
            return result;
        });
    }
    getGameWords(game_header_id, letter, level_time) {
        const token = localStorage.getItem("token");
        const httpOptions = {
            headers: new _angular_common_http__WEBPACK_IMPORTED_MODULE_1__.HttpHeaders({
                'Content-Type': 'application/json',
                Authorization: "Bearer " + token
            })
        };
        return this.httpClient
            .post(`${_environments_environment__WEBPACK_IMPORTED_MODULE_0__.environment.apiUrl}/words-game`, { game_header_id: game_header_id, letter: letter, level_time: level_time }, httpOptions)
            .pipe((result) => {
            return result;
        });
    }
    gameWordsDetails(word_game_id, word, pulsation, time_pulsation) {
        const token = localStorage.getItem("token");
        const httpOptions = {
            headers: new _angular_common_http__WEBPACK_IMPORTED_MODULE_1__.HttpHeaders({
                'Content-Type': 'application/json',
                Authorization: "Bearer " + token
            })
        };
        return this.httpClient
            .post(`${_environments_environment__WEBPACK_IMPORTED_MODULE_0__.environment.apiUrl}/words-game-details`, { word_game_id: word_game_id, word: word, pulsation: pulsation, time_pulsation: time_pulsation }, httpOptions)
            .pipe((result) => {
            return result;
        });
    }
    gameWordsStop(time_total, word_game_id, words_array, time) {
        const token = localStorage.getItem("token");
        const httpOptions = {
            headers: new _angular_common_http__WEBPACK_IMPORTED_MODULE_1__.HttpHeaders({
                'Content-Type': 'application/json',
                Authorization: "Bearer " + token
            })
        };
        return this.httpClient
            .post(`${_environments_environment__WEBPACK_IMPORTED_MODULE_0__.environment.apiUrl}/words-game-stop`, { time_total: time_total, word_game_id: word_game_id, words_array: words_array, time: time }, httpOptions)
            .pipe((result) => {
            return result;
        });
    }
    memoricePasswordDetails(game_header_id, memorize_id, value_expected, value_entered, time) {
        const token = localStorage.getItem("token");
        const httpOptions = {
            headers: new _angular_common_http__WEBPACK_IMPORTED_MODULE_1__.HttpHeaders({
                'Content-Type': 'application/json',
                Authorization: "Bearer " + token
            })
        };
        return this.httpClient
            .post(`${_environments_environment__WEBPACK_IMPORTED_MODULE_0__.environment.apiUrl}/memorize-password-details`, { game_header_id: game_header_id, memorize_id: memorize_id, value_expected: value_expected, value_entered: value_entered, time: time }, httpOptions)
            .pipe((result) => {
            return result;
        });
    }
    memoriceFigureStop(game_header_id, memorize_figure_id, memorize_id, figures_array) {
        const token = localStorage.getItem("token");
        const httpOptions = {
            headers: new _angular_common_http__WEBPACK_IMPORTED_MODULE_1__.HttpHeaders({
                'Content-Type': 'application/json',
                Authorization: "Bearer " + token
            })
        };
        return this.httpClient
            .post(`${_environments_environment__WEBPACK_IMPORTED_MODULE_0__.environment.apiUrl}/memorize-figures-details`, { game_header_id: game_header_id, memorize_id: memorize_id, memorize_figure_id: memorize_figure_id, figures_array: figures_array }, httpOptions)
            .pipe((result) => {
            return result;
        });
    }
    finalizeTest(game_header_id) {
        const token = localStorage.getItem("token");
        const httpOptions = {
            headers: new _angular_common_http__WEBPACK_IMPORTED_MODULE_1__.HttpHeaders({
                'Content-Type': 'application/json',
                Authorization: "Bearer " + token
            })
        };
        return this.httpClient
            .post(`${_environments_environment__WEBPACK_IMPORTED_MODULE_0__.environment.apiUrl}/videos/process`, { game_header_id: game_header_id }, httpOptions)
            .pipe((result) => {
            return result;
        });
    }
};
GamesService.ctorParameters = () => [
    { type: _angular_common_http__WEBPACK_IMPORTED_MODULE_1__.HttpClient }
];
GamesService = (0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
    (0,_angular_core__WEBPACK_IMPORTED_MODULE_3__.Injectable)({
        providedIn: 'root'
    })
], GamesService);



/***/ }),

/***/ 4120:
/*!*******************************************!*\
  !*** ./src/app/services/login.service.ts ***!
  \*******************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "LoginService": () => (/* binding */ LoginService)
/* harmony export */ });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! tslib */ 4762);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/core */ 7716);
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common/http */ 1841);
/* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../environments/environment */ 2340);
/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs/operators */ 8307);
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ngx-translate/core */ 9790);






let LoginService = class LoginService {
    constructor(httpClient, translate) {
        this.httpClient = httpClient;
        this.translate = translate;
        this.videos = [];
        this.VIDEOS_KEY = 'videos';
    }
    getToken() {
        return this.httpClient
            .post(`${_environments_environment__WEBPACK_IMPORTED_MODULE_0__.environment.apiUrl}/login_check`, { username: "asotillo", password: "12345678" })
            .pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_1__.tap)(result => {
            console.log('=== Llamada a login_check ===');
            console.log('URL:', `${_environments_environment__WEBPACK_IMPORTED_MODULE_0__.environment.apiUrl}/login_check`);
            console.log('Response:', result);
        }));
    }
    loginCode(code) {
        const httpOptions = {
            headers: new _angular_common_http__WEBPACK_IMPORTED_MODULE_2__.HttpHeaders({
                'Content-Type': 'application/json'
            })
        };
        console.log('=== Llamada a auth/login ===');
        console.log('URL:', `${_environments_environment__WEBPACK_IMPORTED_MODULE_0__.environment.apiUrl}/auth/login`);
        console.log('Payload:', { code });
        return this.httpClient
            .post(`${_environments_environment__WEBPACK_IMPORTED_MODULE_0__.environment.apiUrl}/auth/login`, { code: code }, httpOptions)
            .pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_1__.tap)(result => {
            var _a;
            console.log('Response:', result);
            if (result.success && ((_a = result.user) === null || _a === void 0 ? void 0 : _a.language)) {
                const userLanguage = result.user.language;
                if (userLanguage.match(/^(es|en)$/)) {
                    this.translate.use(userLanguage);
                    localStorage.setItem('user_language', userLanguage);
                }
                else {
                    this.translate.use('es');
                    localStorage.setItem('user_language', 'es');
                }
            }
        }));
    }
    data_protection(user_id, token) {
        const httpOptions = {
            headers: new _angular_common_http__WEBPACK_IMPORTED_MODULE_2__.HttpHeaders({
                'Content-Type': 'application/json',
                Authorization: "Bearer " + token
            })
        };
        console.log('=== Llamada a set-data-protection ===');
        console.log('URL:', `${_environments_environment__WEBPACK_IMPORTED_MODULE_0__.environment.apiUrl}/set-data-protection`);
        console.log('Payload:', { user_id });
        return this.httpClient
            .post(`${_environments_environment__WEBPACK_IMPORTED_MODULE_0__.environment.apiUrl}/set-data-protection`, { user_id: user_id }, httpOptions)
            .pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_1__.tap)(result => {
            console.log('Response:', result);
        }));
    }
};
LoginService.ctorParameters = () => [
    { type: _angular_common_http__WEBPACK_IMPORTED_MODULE_2__.HttpClient },
    { type: _ngx_translate_core__WEBPACK_IMPORTED_MODULE_3__.TranslateService }
];
LoginService = (0,tslib__WEBPACK_IMPORTED_MODULE_4__.__decorate)([
    (0,_angular_core__WEBPACK_IMPORTED_MODULE_5__.Injectable)({
        providedIn: 'root'
    })
], LoginService);



/***/ }),

/***/ 8472:
/*!*******************************************!*\
  !*** ./src/app/services/video.service.ts ***!
  \*******************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "VideoService": () => (/* binding */ VideoService)
/* harmony export */ });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! tslib */ 4762);
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common/http */ 1841);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/core */ 7716);
/* harmony import */ var _capacitor_filesystem__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @capacitor/filesystem */ 1977);
/* harmony import */ var _capacitor_storage__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @capacitor/storage */ 6628);
/* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/environments/environment */ 2340);






let VideoService = class VideoService {
    constructor(httpClient) {
        this.httpClient = httpClient;
        this.videos = [];
        this.VIDEOS_KEY = 'videos';
        // Helper function
        this.convertBlobToBase64 = (blob) => new Promise((resolve, reject) => {
            const reader = new FileReader;
            reader.onerror = reject;
            reader.onload = () => {
                resolve(reader.result);
            };
            reader.readAsDataURL(blob);
        });
    }
    loadVideos() {
        return (0,tslib__WEBPACK_IMPORTED_MODULE_3__.__awaiter)(this, void 0, void 0, function* () {
            const videoList = yield _capacitor_storage__WEBPACK_IMPORTED_MODULE_1__.Storage.get({ key: this.VIDEOS_KEY });
            this.videos = JSON.parse(videoList.value) || [];
            return this.videos;
        });
    }
    storeVideo(blob) {
        return (0,tslib__WEBPACK_IMPORTED_MODULE_3__.__awaiter)(this, void 0, void 0, function* () {
            const fileName = new Date().getTime() + '.mp4';
            const base64Data = yield this.convertBlobToBase64(blob);
            const savedFile = yield _capacitor_filesystem__WEBPACK_IMPORTED_MODULE_0__.Filesystem.writeFile({
                path: fileName,
                data: base64Data,
                directory: _capacitor_filesystem__WEBPACK_IMPORTED_MODULE_0__.Directory.Data
            });
            // Add file to local array
            this.videos.unshift(savedFile.uri);
            // Write information to storage
            return _capacitor_storage__WEBPACK_IMPORTED_MODULE_1__.Storage.set({
                key: this.VIDEOS_KEY,
                value: JSON.stringify(this.videos)
            });
        });
    }
    // Load video as base64 from url
    getVideoUrl(fullPath) {
        return (0,tslib__WEBPACK_IMPORTED_MODULE_3__.__awaiter)(this, void 0, void 0, function* () {
            const path = fullPath.substr(fullPath.lastIndexOf('/') + 1);
            const file = yield _capacitor_filesystem__WEBPACK_IMPORTED_MODULE_0__.Filesystem.readFile({
                path: path,
                directory: _capacitor_filesystem__WEBPACK_IMPORTED_MODULE_0__.Directory.Data
            });
            return `data:video/mp4;base64,${file.data}`;
        });
    }
    setVideosS3(videos, game_header_id) {
        const token = localStorage.getItem("token");
        const httpOptions = {
            headers: new _angular_common_http__WEBPACK_IMPORTED_MODULE_4__.HttpHeaders({
                'Content-Type': 'application/json',
                Authorization: "Bearer " + token
            })
        };
        return this.httpClient
            .post(`${src_environments_environment__WEBPACK_IMPORTED_MODULE_2__.environment.apiUrl}/videos-store`, { videos: videos, game_header_id: game_header_id }, httpOptions)
            .pipe((result) => {
            return result;
        });
    }
};
VideoService.ctorParameters = () => [
    { type: _angular_common_http__WEBPACK_IMPORTED_MODULE_4__.HttpClient }
];
VideoService = (0,tslib__WEBPACK_IMPORTED_MODULE_3__.__decorate)([
    (0,_angular_core__WEBPACK_IMPORTED_MODULE_5__.Injectable)({
        providedIn: 'root'
    })
], VideoService);



/***/ }),

/***/ 4835:
/*!******************************************!*\
  !*** ./src/app/utils/preload.service.ts ***!
  \******************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "PreloadService": () => (/* binding */ PreloadService)
/* harmony export */ });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ 4762);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 7716);
/* harmony import */ var _ionic_angular__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @ionic/angular */ 476);



let PreloadService = class PreloadService {
    constructor(platform) {
        this.platform = platform;
        this.isAppReady = false;
        this.maxRetries = 3;
        this.retryDelay = 1000; // ms
    }
    /**
     * Método para precargar recursos críticos y evitar pantallas en blanco
     */
    preload() {
        return (0,tslib__WEBPACK_IMPORTED_MODULE_0__.__awaiter)(this, void 0, void 0, function* () {
            try {
                // Esperar a que la plataforma esté lista
                yield this.platform.ready();
                // Inicializar componentes críticos con manejo de errores
                yield this.preloadCriticalComponents();
                // Registrar el estado de precarga exitoso
                this.isAppReady = true;
                console.log('Precarga completada exitosamente');
                return true;
            }
            catch (error) {
                console.error('Error durante la precarga:', error);
                return this.handlePreloadError();
            }
        });
    }
    /**
     * Gestionar errores durante la precarga para evitar pantallas en blanco
     */
    handlePreloadError() {
        return (0,tslib__WEBPACK_IMPORTED_MODULE_0__.__awaiter)(this, void 0, void 0, function* () {
            let retries = 0;
            while (retries < this.maxRetries) {
                console.log(`Reintentando precarga (${retries + 1}/${this.maxRetries})...`);
                try {
                    // Esperar antes de reintentar
                    yield new Promise(resolve => setTimeout(resolve, this.retryDelay));
                    // Intentar precargar de nuevo
                    yield this.preloadCriticalComponents();
                    // Si llegamos aquí, la precarga fue exitosa
                    this.isAppReady = true;
                    console.log('Precarga completada con éxito después de reintentos');
                    return true;
                }
                catch (retryError) {
                    console.error(`Error en reintento ${retries + 1}:`, retryError);
                    retries++;
                }
            }
            // Si llegamos aquí, todos los reintentos fallaron
            console.error('Precarga fallida después de múltiples intentos');
            // Inicializar en modo de recuperación mínimo para evitar pantalla en blanco
            this.initializeMinimalMode();
            return false;
        });
    }
    /**
     * Precargar componentes críticos para la aplicación
     */
    preloadCriticalComponents() {
        return (0,tslib__WEBPACK_IMPORTED_MODULE_0__.__awaiter)(this, void 0, void 0, function* () {
            // Verificar conexión y estado del dispositivo
            this.checkDeviceStatus();
            // Aquí podrías añadir precarga de otros recursos críticos
            // como imágenes, traducciones, datos de configuración, etc.
        });
    }
    /**
     * Verificar el estado del dispositivo
     */
    checkDeviceStatus() {
        // Verificar conexión a internet
        if (navigator.onLine) {
            console.log('Dispositivo conectado a internet');
        }
        else {
            console.warn('Dispositivo sin conexión a internet');
        }
        // Verificar si el navegador proporciona información de memoria (solo Chrome/Chromium)
        try {
            // Usamos tipado any ya que esta propiedad solo existe en Chrome/Chromium
            const performance = window.performance;
            if (performance && performance.memory) {
                console.log('Memoria disponible:', performance.memory.jsHeapSizeLimit);
            }
        }
        catch (e) {
            console.log('Información de memoria no disponible en este navegador');
        }
    }
    /**
     * Inicializar en modo mínimo para garantizar al menos una UI básica
     * en lugar de una pantalla en blanco
     */
    initializeMinimalMode() {
        console.log('Inicializando modo mínimo para prevenir pantalla en blanco');
        // Implementar lógica de modo mínimo aquí
    }
    /**
     * Verificar si la aplicación está lista
     */
    isReady() {
        return this.isAppReady;
    }
};
PreloadService.ctorParameters = () => [
    { type: _ionic_angular__WEBPACK_IMPORTED_MODULE_1__.Platform }
];
PreloadService = (0,tslib__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
    (0,_angular_core__WEBPACK_IMPORTED_MODULE_2__.Injectable)({
        providedIn: 'root'
    })
], PreloadService);



/***/ }),

/***/ 2340:
/*!*****************************************!*\
  !*** ./src/environments/environment.ts ***!
  \*****************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "environment": () => (/* binding */ environment)
/* harmony export */ });
// This file can be replaced during build by using the `fileReplacements` array.
// `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.
// The list of file replacements can be found in `angular.json`.
const environment = {
    production: false,
    apiUrl: 'https://qa-admin.kapsciti.com/api',
    //apiUrl: 'https://team-kapsciti.davidtovar.dev/api',
    version: 'v0.1.8-qa',
    // Los tiempos corresponden a los niveles, el primer valor es el basico, segundo el avanzado y el tercero superior
    time: [
        800,
        700,
        600
    ],
    // Juego Figuras
    range_time_game: 60,
    interval_show_figure: [
        500,
        350,
        250
    ]
};


/***/ }),

/***/ 4431:
/*!*********************!*\
  !*** ./src/main.ts ***!
  \*********************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/core */ 7716);
/* harmony import */ var _angular_platform_browser_dynamic__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/platform-browser-dynamic */ 4608);
/* harmony import */ var _app_app_module__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./app/app.module */ 6747);
/* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./environments/environment */ 2340);
/* harmony import */ var _ionic_pwa_elements_loader__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @ionic/pwa-elements/loader */ 2404);
/* harmony import */ var _teamhive_capacitor_video_recorder__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @teamhive/capacitor-video-recorder */ 7913);






if (_environments_environment__WEBPACK_IMPORTED_MODULE_1__.environment.production) {
    (0,_angular_core__WEBPACK_IMPORTED_MODULE_4__.enableProdMode)();
}
(0,_angular_platform_browser_dynamic__WEBPACK_IMPORTED_MODULE_5__.platformBrowserDynamic)().bootstrapModule(_app_app_module__WEBPACK_IMPORTED_MODULE_0__.AppModule)
    .catch(err => console.log(err));
(0,_ionic_pwa_elements_loader__WEBPACK_IMPORTED_MODULE_2__.defineCustomElements)(window);


/***/ }),

/***/ 863:
/*!******************************************************************************************************************************************!*\
  !*** ./node_modules/@ionic/core/dist/esm/ lazy ^\.\/.*\.entry\.js$ include: \.entry\.js$ exclude: \.system\.entry\.js$ namespace object ***!
  \******************************************************************************************************************************************/
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {

var map = {
	"./ion-action-sheet.entry.js": [
		7321,
		"common",
		"node_modules_ionic_core_dist_esm_ion-action-sheet_entry_js"
	],
	"./ion-alert.entry.js": [
		6108,
		"common",
		"node_modules_ionic_core_dist_esm_ion-alert_entry_js"
	],
	"./ion-app_8.entry.js": [
		1489,
		"common",
		"node_modules_ionic_core_dist_esm_ion-app_8_entry_js"
	],
	"./ion-avatar_3.entry.js": [
		305,
		"common",
		"node_modules_ionic_core_dist_esm_ion-avatar_3_entry_js"
	],
	"./ion-back-button.entry.js": [
		5830,
		"common",
		"node_modules_ionic_core_dist_esm_ion-back-button_entry_js"
	],
	"./ion-backdrop.entry.js": [
		7757,
		"node_modules_ionic_core_dist_esm_ion-backdrop_entry_js"
	],
	"./ion-button_2.entry.js": [
		392,
		"common",
		"node_modules_ionic_core_dist_esm_ion-button_2_entry_js"
	],
	"./ion-card_5.entry.js": [
		6911,
		"common",
		"node_modules_ionic_core_dist_esm_ion-card_5_entry_js"
	],
	"./ion-checkbox.entry.js": [
		5360,
		"common",
		"node_modules_ionic_core_dist_esm_ion-checkbox_entry_js"
	],
	"./ion-chip.entry.js": [
		8695,
		"common",
		"node_modules_ionic_core_dist_esm_ion-chip_entry_js"
	],
	"./ion-col_3.entry.js": [
		6034,
		"node_modules_ionic_core_dist_esm_ion-col_3_entry_js"
	],
	"./ion-datetime_3.entry.js": [
		8837,
		"common",
		"node_modules_ionic_core_dist_esm_ion-datetime_3_entry_js"
	],
	"./ion-fab_3.entry.js": [
		4195,
		"common",
		"node_modules_ionic_core_dist_esm_ion-fab_3_entry_js"
	],
	"./ion-img.entry.js": [
		1709,
		"node_modules_ionic_core_dist_esm_ion-img_entry_js"
	],
	"./ion-infinite-scroll_2.entry.js": [
		5931,
		"node_modules_ionic_core_dist_esm_ion-infinite-scroll_2_entry_js"
	],
	"./ion-input.entry.js": [
		4513,
		"common",
		"node_modules_ionic_core_dist_esm_ion-input_entry_js"
	],
	"./ion-item-option_3.entry.js": [
		8056,
		"common",
		"node_modules_ionic_core_dist_esm_ion-item-option_3_entry_js"
	],
	"./ion-item_8.entry.js": [
		862,
		"common",
		"node_modules_ionic_core_dist_esm_ion-item_8_entry_js"
	],
	"./ion-loading.entry.js": [
		7509,
		"common",
		"node_modules_ionic_core_dist_esm_ion-loading_entry_js"
	],
	"./ion-menu_3.entry.js": [
		6272,
		"common",
		"node_modules_ionic_core_dist_esm_ion-menu_3_entry_js"
	],
	"./ion-modal.entry.js": [
		1855,
		"common",
		"node_modules_ionic_core_dist_esm_ion-modal_entry_js"
	],
	"./ion-nav_2.entry.js": [
		8708,
		"common",
		"node_modules_ionic_core_dist_esm_ion-nav_2_entry_js"
	],
	"./ion-popover.entry.js": [
		3527,
		"common",
		"node_modules_ionic_core_dist_esm_ion-popover_entry_js"
	],
	"./ion-progress-bar.entry.js": [
		4694,
		"common",
		"node_modules_ionic_core_dist_esm_ion-progress-bar_entry_js"
	],
	"./ion-radio_2.entry.js": [
		9222,
		"common",
		"node_modules_ionic_core_dist_esm_ion-radio_2_entry_js"
	],
	"./ion-range.entry.js": [
		5277,
		"common",
		"node_modules_ionic_core_dist_esm_ion-range_entry_js"
	],
	"./ion-refresher_2.entry.js": [
		9921,
		"common",
		"node_modules_ionic_core_dist_esm_ion-refresher_2_entry_js"
	],
	"./ion-reorder_2.entry.js": [
		3122,
		"common",
		"node_modules_ionic_core_dist_esm_ion-reorder_2_entry_js"
	],
	"./ion-ripple-effect.entry.js": [
		1602,
		"node_modules_ionic_core_dist_esm_ion-ripple-effect_entry_js"
	],
	"./ion-route_4.entry.js": [
		5174,
		"common",
		"node_modules_ionic_core_dist_esm_ion-route_4_entry_js"
	],
	"./ion-searchbar.entry.js": [
		7895,
		"common",
		"node_modules_ionic_core_dist_esm_ion-searchbar_entry_js"
	],
	"./ion-segment_2.entry.js": [
		6164,
		"common",
		"node_modules_ionic_core_dist_esm_ion-segment_2_entry_js"
	],
	"./ion-select_3.entry.js": [
		592,
		"common",
		"node_modules_ionic_core_dist_esm_ion-select_3_entry_js"
	],
	"./ion-slide_2.entry.js": [
		7162,
		"node_modules_ionic_core_dist_esm_ion-slide_2_entry_js"
	],
	"./ion-spinner.entry.js": [
		1374,
		"common",
		"node_modules_ionic_core_dist_esm_ion-spinner_entry_js"
	],
	"./ion-split-pane.entry.js": [
		7896,
		"node_modules_ionic_core_dist_esm_ion-split-pane_entry_js"
	],
	"./ion-tab-bar_2.entry.js": [
		5043,
		"common",
		"node_modules_ionic_core_dist_esm_ion-tab-bar_2_entry_js"
	],
	"./ion-tab_2.entry.js": [
		7802,
		"common",
		"node_modules_ionic_core_dist_esm_ion-tab_2_entry_js"
	],
	"./ion-text.entry.js": [
		9072,
		"common",
		"node_modules_ionic_core_dist_esm_ion-text_entry_js"
	],
	"./ion-textarea.entry.js": [
		2191,
		"common",
		"node_modules_ionic_core_dist_esm_ion-textarea_entry_js"
	],
	"./ion-toast.entry.js": [
		801,
		"common",
		"node_modules_ionic_core_dist_esm_ion-toast_entry_js"
	],
	"./ion-toggle.entry.js": [
		7110,
		"common",
		"node_modules_ionic_core_dist_esm_ion-toggle_entry_js"
	],
	"./ion-virtual-scroll.entry.js": [
		431,
		"node_modules_ionic_core_dist_esm_ion-virtual-scroll_entry_js"
	]
};
function webpackAsyncContext(req) {
	if(!__webpack_require__.o(map, req)) {
		return Promise.resolve().then(() => {
			var e = new Error("Cannot find module '" + req + "'");
			e.code = 'MODULE_NOT_FOUND';
			throw e;
		});
	}

	var ids = map[req], id = ids[0];
	return Promise.all(ids.slice(1).map(__webpack_require__.e)).then(() => {
		return __webpack_require__(id);
	});
}
webpackAsyncContext.keys = () => (Object.keys(map));
webpackAsyncContext.id = 863;
module.exports = webpackAsyncContext;

/***/ }),

/***/ 5899:
/*!**************************************************************************************************************************************************!*\
  !*** ./node_modules/@ionic/pwa-elements/dist/esm/ lazy ^\.\/.*\.entry\.js$ include: \.entry\.js$ exclude: \.system\.entry\.js$ namespace object ***!
  \**************************************************************************************************************************************************/
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {

var map = {
	"./pwa-action-sheet.entry.js": [
		9437,
		"node_modules_ionic_pwa-elements_dist_esm_pwa-action-sheet_entry_js"
	],
	"./pwa-camera-modal-instance.entry.js": [
		8025,
		"node_modules_ionic_pwa-elements_dist_esm_pwa-camera-modal-instance_entry_js"
	],
	"./pwa-camera-modal.entry.js": [
		4262,
		"node_modules_ionic_pwa-elements_dist_esm_pwa-camera-modal_entry_js"
	],
	"./pwa-camera.entry.js": [
		8206,
		"node_modules_ionic_pwa-elements_dist_esm_pwa-camera_entry_js"
	],
	"./pwa-toast.entry.js": [
		4297,
		"node_modules_ionic_pwa-elements_dist_esm_pwa-toast_entry_js"
	]
};
function webpackAsyncContext(req) {
	if(!__webpack_require__.o(map, req)) {
		return Promise.resolve().then(() => {
			var e = new Error("Cannot find module '" + req + "'");
			e.code = 'MODULE_NOT_FOUND';
			throw e;
		});
	}

	var ids = map[req], id = ids[0];
	return __webpack_require__.e(ids[1]).then(() => {
		return __webpack_require__(id);
	});
}
webpackAsyncContext.keys = () => (Object.keys(map));
webpackAsyncContext.id = 5899;
module.exports = webpackAsyncContext;

/***/ }),

/***/ 3069:
/*!************************************!*\
  !*** ./src/app/app.component.scss ***!
  \************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ("\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJhcHAuY29tcG9uZW50LnNjc3MifQ== */");

/***/ }),

/***/ 228:
/*!**********************************************************!*\
  !*** ./src/app/camera-video/camera-video.component.scss ***!
  \**********************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (".box-profile-active video {\n  height: 100px;\n  width: 190px;\n  object-fit: cover;\n}\n\n.box-profile-active {\n  position: relative;\n  height: 100px;\n  width: 190px;\n  margin-left: auto;\n}\n\n.title-profile-active {\n  position: absolute;\n  left: 7px;\n  bottom: 6px;\n  margin: 0;\n  font-size: 15px;\n  color: #fff;\n}\n\n.title-profile-active img {\n  width: 18px;\n  margin-bottom: -3px;\n  margin-right: 5px;\n}\n\n.box-profile-active-enmarcar.box-profile-active {\n  height: 480px;\n  width: 515px;\n  border-radius: 10px;\n  overflow: hidden;\n  border: 25px solid #000;\n  max-width: 100%;\n  margin: auto;\n  box-shadow: 0px 1px 25px -12px #fff;\n  margin-bottom: 20px;\n}\n\n.box-profile-active-enmarcar.box-profile-active .video {\n  height: 100% !important;\n  width: 100% !important;\n}\n\n.box-profile-active-enmarcar.box-profile-active .title-profile-active {\n  display: none;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNhbWVyYS12aWRlby5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNJLGFBQUE7RUFDQSxZQUFBO0VBQ0EsaUJBQUE7QUFDSjs7QUFFQTtFQUNJLGtCQUFBO0VBQ0EsYUFBQTtFQUNBLFlBQUE7RUFDQSxpQkFBQTtBQUNKOztBQUVBO0VBQ0ksa0JBQUE7RUFDQSxTQUFBO0VBQ0EsV0FBQTtFQUNBLFNBQUE7RUFDQSxlQUFBO0VBQ0EsV0FBQTtBQUNKOztBQUVBO0VBQ0ksV0FBQTtFQUNBLG1CQUFBO0VBQ0EsaUJBQUE7QUFDSjs7QUFFQTtFQUNJLGFBQUE7RUFDQSxZQUFBO0VBQ0EsbUJBQUE7RUFDQSxnQkFBQTtFQUNBLHVCQUFBO0VBQ0EsZUFBQTtFQUNBLFlBQUE7RUFDQSxtQ0FBQTtFQUNBLG1CQUFBO0FBQ0o7O0FBRUE7RUFDSSx1QkFBQTtFQUNBLHNCQUFBO0FBQ0o7O0FBRUE7RUFDSSxhQUFBO0FBQ0oiLCJmaWxlIjoiY2FtZXJhLXZpZGVvLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLmJveC1wcm9maWxlLWFjdGl2ZSB2aWRlbyB7XG4gICAgaGVpZ2h0OiAxMDBweDtcbiAgICB3aWR0aDogMTkwcHg7XG4gICAgb2JqZWN0LWZpdDogY292ZXI7XG59XG5cbi5ib3gtcHJvZmlsZS1hY3RpdmUge1xuICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcbiAgICBoZWlnaHQ6IDEwMHB4O1xuICAgIHdpZHRoOiAxOTBweDtcbiAgICBtYXJnaW4tbGVmdDogYXV0bztcbn1cblxuLnRpdGxlLXByb2ZpbGUtYWN0aXZlIHtcbiAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgbGVmdDogN3B4O1xuICAgIGJvdHRvbTogNnB4O1xuICAgIG1hcmdpbjogMDtcbiAgICBmb250LXNpemU6IDE1cHg7XG4gICAgY29sb3I6ICNmZmY7XG59XG5cbi50aXRsZS1wcm9maWxlLWFjdGl2ZSBpbWcge1xuICAgIHdpZHRoOiAxOHB4O1xuICAgIG1hcmdpbi1ib3R0b206IC0zcHg7XG4gICAgbWFyZ2luLXJpZ2h0OiA1cHg7XG59XG5cbi5ib3gtcHJvZmlsZS1hY3RpdmUtZW5tYXJjYXIuYm94LXByb2ZpbGUtYWN0aXZlIHtcbiAgICBoZWlnaHQ6IDQ4MHB4O1xuICAgIHdpZHRoOiA1MTVweDtcbiAgICBib3JkZXItcmFkaXVzOiAxMHB4O1xuICAgIG92ZXJmbG93OiBoaWRkZW47XG4gICAgYm9yZGVyOiAyNXB4IHNvbGlkICMwMDA7XG4gICAgbWF4LXdpZHRoOiAxMDAlO1xuICAgIG1hcmdpbjogYXV0bztcbiAgICBib3gtc2hhZG93OiAwcHggMXB4IDI1cHggLTEycHggI2ZmZjtcbiAgICBtYXJnaW4tYm90dG9tOiAyMHB4O1xufVxuXG4uYm94LXByb2ZpbGUtYWN0aXZlLWVubWFyY2FyLmJveC1wcm9maWxlLWFjdGl2ZSAudmlkZW8ge1xuICAgIGhlaWdodDogMTAwJSAhaW1wb3J0YW50O1xuICAgIHdpZHRoOiAxMDAlICFpbXBvcnRhbnQ7XG59XG5cbi5ib3gtcHJvZmlsZS1hY3RpdmUtZW5tYXJjYXIuYm94LXByb2ZpbGUtYWN0aXZlIC50aXRsZS1wcm9maWxlLWFjdGl2ZSB7XG4gICAgZGlzcGxheTogbm9uZTtcbn0iXX0= */");

/***/ }),

/***/ 937:
/*!*********************************************!*\
  !*** ./src/app/enmarcar/enmarcar.page.scss ***!
  \*********************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ("ion-button.btn-close {\n  --padding-start: 0;\n  --padding-end: 0;\n  --background: transparent;\n  margin-left: auto;\n  --box-shadow: none;\n}\n\nion-title.title-logo {\n  font-size: 35px;\n  padding-left: 0;\n  cursor: pointer;\n  color: #fff;\n}\n\nion-col.col-header-btn-close {\n  text-align: right;\n}\n\n.ion-page {\n  background-color: #1D1F33;\n}\n\n.text-copiright {\n  color: #7A93AC;\n  font-weight: 400;\n  font-size: 14px !important;\n  padding-left: 0;\n}\n\n.col-footer-last {\n  text-align: right;\n}\n\n.text-col-footer-last a {\n  font-size: 14px;\n  text-decoration: none;\n  color: #7A93AC;\n}\n\n.text-col-footer-last span {\n  color: #7A93AC;\n  margin: 0 10px;\n}\n\n.ion-footer-custom1 {\n  padding: 10px 20px;\n}\n\nion-header ion-grid {\n  padding: 15px 30px;\n}\n\n.title1 {\n  font-size: 38px;\n  font-weight: 500;\n  line-height: 1;\n  margin-bottom: 20px;\n}\n\n.box-content-login {\n  width: 400px;\n  margin: auto;\n  text-align: center;\n}\n\n.input-custom ion-input {\n  --background: #D5D5D8;\n  --padding-bottom: 24px;\n  --padding-top: 24px;\n  --padding-end: 15px;\n  --padding-start: 15px;\n  --color: #1D1F35;\n  --placeholder-color: #1D1F35;\n  border: 1px solid #494979;\n  border-radius: 6px;\n  text-align: center;\n  color: #1D1F35;\n}\n\n.box-text-login p {\n  color: #BDBDBD;\n  font-size: 14px;\n}\n\n.box-text-login p a {\n  color: #BDBDBD;\n}\n\n.btn-design2 {\n  --background: #6FCF97;\n  --border-width: 1px;\n  --border-style: solid;\n  --border-radius: 6px;\n  --border-color: #494979;\n  --padding-bottom: 15px;\n  --padding-end: 40px;\n  --padding-start: 40px;\n  --padding-top: 15px;\n  height: auto;\n  --box-shadow: none;\n  font-size: 20px;\n  font-weight: 700;\n}\n\n.btn-design2 img {\n  margin-right: 10px;\n}\n\n.box-content-login#email-login {\n  width: 460px;\n}\n\n.box-content-login#email-login .title1 {\n  width: 311px;\n  margin-left: auto;\n  margin-right: auto;\n}\n\n.box-proteccion-datos {\n  background: linear-gradient(90deg, rgba(34, 39, 61, 0.45) 0%, rgba(66, 81, 115, 0.45) 100%);\n  width: 746px;\n  margin: auto;\n  padding: 30px 30px;\n  border-top: 5px solid #6FCF97;\n  position: relative;\n  top: 50%;\n  transform: translateY(-50%);\n}\n\n.title-proteccion-datos {\n  margin-top: 0;\n  text-align: center;\n  font-size: 24px;\n  margin-bottom: 20px;\n}\n\n.box-bottom-proteccion-datos {\n  display: flex;\n  align-items: center;\n}\n\n.box-bottom-proteccion-datos .btn-design2 {\n  margin-left: auto;\n}\n\n.box-bottom-proteccion-datos .btn-design2 span {\n  padding-bottom: 3px;\n}\n\n.box-checkbox-custom1 {\n  --background: transparent;\n  --padding-start: 0;\n  --padding-end: 0;\n  --border-color: transparent;\n}\n\n.box-checkbox-custom1 ion-label {\n  font-weight: 700;\n  margin: 0;\n}\n\n.box-checkbox-custom1 ion-checkbox {\n  margin: 0;\n  margin-right: 15px;\n  --background: #fff;\n  --border-radius: 0;\n  width: 25px;\n  height: 25px;\n  --border-width: 1px;\n  --border-color: #E0E0E0;\n  --border-style: solid;\n  --background-checked: #6FCF97;\n  --border-color-checked: #6FCF97;\n  --size: 10px;\n}\n\n.box-text-proteccion-datos {\n  padding: 0 30px;\n  overflow-y: scroll;\n  height: 280px;\n  margin-bottom: 37px;\n}\n\n.box-text-proteccion-datos p {\n  font-size: 20px;\n  color: #fff;\n  opacity: 0.75;\n  font-weight: 400;\n  margin-top: 0;\n}\n\n.box-text-proteccion-datos::-webkit-scrollbar {\n  -webkit-appearance: none;\n  width: 3px;\n  background: rgba(255, 254, 254, 0.45);\n  border-radius: 3px;\n}\n\n.box-text-proteccion-datos::-webkit-scrollbar-thumb {\n  border-radius: 3px;\n  background-color: #6FCF97;\n  -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);\n}\n\nion-card-content {\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  flex-direction: column;\n}\n\n.card-enmarcar {\n  --background: transparent;\n  text-align: center;\n  --box-shadow: none;\n  margin: auto;\n  box-shadow: none;\n  margin-top: -30px;\n  margin-bottom: 50px;\n  position: relative;\n  top: 50%;\n  transform: translateY(-50%);\n}\n\n.card-enmarcar ion-card-content {\n  display: flex;\n  align-items: center;\n  text-align: left;\n  padding: 0 16px;\n}\n\n.card-enmarcar ion-card-title {\n  font-size: 23px;\n  font-weight: 400;\n  color: #fff;\n  --color: #fff;\n}\n\n.card-enmarcar ion-card-text {\n  font-size: 15px;\n  font-weight: 400;\n  color: #fff;\n  --color: #fff;\n}\n\n.box-profile-active {\n  display: flex;\n  align-items: center;\n  background: #232541;\n  border: 1px solid #494979;\n  box-sizing: border-box;\n  border-radius: 6px;\n  width: 180px;\n  padding: 10px 17px;\n  line-height: 1;\n  margin-left: auto;\n  justify-content: center;\n  color: #fff;\n}\n\n.box-profile-active img {\n  margin-right: 8px;\n}\n\n.video {\n  width: 100%;\n  height: 400px;\n}\n\n.card-enmarcar ion-text {\n  font-size: 16px;\n  font-weight: 700;\n}\n\n@media screen and (max-height: 700px) {\n  .card-enmarcar > img {\n    width: 475px;\n  }\n\n  .card-enmarcar ion-card-title {\n    font-size: 22px;\n    color: #fff;\n    --color: #fff;\n  }\n\n  .card-enmarcar {\n    width: 540px;\n  }\n\n  .card-enmarcar .btn-design2 {\n    font-size: 18px;\n  }\n}\n/*# sourceMappingURL=data:application/json;base64,  */");

/***/ }),

/***/ 1649:
/*!*************************************************************************************!*\
  !*** ./src/app/instrucciones-calculo-mental/instrucciones-calculo-mental.page.scss ***!
  \*************************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ("ion-button.btn-close {\n  --padding-start: 0;\n  --padding-end: 0;\n  --background: transparent;\n  margin-left: auto;\n  --box-shadow: none;\n}\n\nion-title.title-logo {\n  font-size: 35px;\n  padding-left: 0;\n  cursor: pointer;\n  color: #fff;\n}\n\nion-col.col-header-btn-close {\n  text-align: right;\n}\n\n.ion-page {\n  background-color: #1D1F33;\n}\n\n.text-copiright {\n  color: #7A93AC;\n  font-weight: 400;\n  font-size: 14px !important;\n  padding-left: 0;\n}\n\n.col-footer-last {\n  text-align: right;\n}\n\n.text-col-footer-last a {\n  font-size: 14px;\n  text-decoration: none;\n  color: #7A93AC;\n}\n\n.text-col-footer-last span {\n  color: #7A93AC;\n  margin: 0 10px;\n}\n\n.ion-footer-custom1 {\n  padding: 10px 20px;\n}\n\nion-header ion-grid {\n  padding: 15px 30px;\n}\n\n.title1 {\n  font-size: 38px;\n  font-weight: 500;\n  line-height: 1;\n  margin-bottom: 20px;\n}\n\n.box-content-login {\n  width: 400px;\n  margin: auto;\n  text-align: center;\n}\n\n.input-custom ion-input {\n  --background: #D5D5D8;\n  --padding-bottom: 24px;\n  --padding-top: 24px;\n  --padding-end: 15px;\n  --padding-start: 15px;\n  --color: #1D1F35;\n  --placeholder-color: #1D1F35;\n  border: 1px solid #494979;\n  border-radius: 6px;\n  text-align: center;\n  color: #1D1F35;\n}\n\n.box-text-login p {\n  color: #BDBDBD;\n  font-size: 14px;\n}\n\n.box-text-login p a {\n  color: #BDBDBD;\n}\n\n.btn-design2 {\n  --background: #6FCF97;\n  --border-width: 1px;\n  --border-style: solid;\n  --border-radius: 6px;\n  --border-color: #494979;\n  --padding-bottom: 15px;\n  --padding-end: 40px;\n  --padding-start: 40px;\n  --padding-top: 15px;\n  height: auto;\n  --box-shadow: none;\n  font-size: 20px;\n  font-weight: 700;\n}\n\n.btn-design2 img {\n  margin-right: 10px;\n}\n\n.box-content-login#email-login {\n  width: 460px;\n}\n\n.box-content-login#email-login .title1 {\n  width: 311px;\n  margin-left: auto;\n  margin-right: auto;\n}\n\n.box-content-instrucciones {\n  position: relative;\n  padding-bottom: 50px;\n  margin-top: 0px;\n  transform: translateY(-50%);\n  top: 50%;\n}\n\n.box-text-proteccion-datos p span {\n  color: #fff;\n  font-weight: 600;\n}\n\n.box-proteccion-datos {\n  background: linear-gradient(90deg, rgba(34, 39, 61, 0.45) 0%, rgba(66, 81, 115, 0.45) 100%);\n  margin: auto;\n  padding: 30px 30px;\n  border-top: 5px solid #6FCF97;\n}\n\n.title-proteccion-datos {\n  margin-top: 0;\n  text-align: center;\n  font-size: 24px;\n  margin-bottom: 20px;\n}\n\n.box-bottom-proteccion-datos {\n  display: flex;\n  align-items: center;\n}\n\n.box-bottom-proteccion-datos .btn-design2 {\n  margin-left: auto;\n}\n\n.box-bottom-proteccion-datos .btn-design2 span {\n  padding-bottom: 3px;\n}\n\n.box-checkbox-custom1 {\n  --background: transparent;\n  --padding-start: 0;\n  --padding-end: 0;\n  --border-color: transparent;\n}\n\n.box-checkbox-custom1 ion-label {\n  font-weight: 700;\n  margin: 0;\n}\n\n.box-checkbox-custom1 ion-checkbox {\n  margin: 0;\n  margin-right: 15px;\n  --background: #fff;\n  --border-radius: 0;\n  width: 25px;\n  height: 25px;\n  --border-width: 1px;\n  --border-color: #E0E0E0;\n  --border-style: solid;\n  --background-checked: #6FCF97;\n  --border-color-checked: #6FCF97;\n  --size: 10px;\n}\n\n.title-out-box-proteccion-datos {\n  text-align: center;\n  font-size: 35px;\n  margin-bottom: 30px;\n  margin-top: 0;\n  color: #6FCF97;\n}\n\n.title-proteccion-datos {\n  font-weight: 400;\n  padding: 0 60px;\n  text-align: left;\n  margin-bottom: 46px;\n  color: #fff;\n  text-align: center;\n  margin-bottom: 0;\n  font-weight: 700;\n  opacity: 1;\n}\n\n.box-proteccion-datos {\n  padding: 60px 0 40px;\n}\n\n.box-text-proteccion-datos ul,\n.box-text-proteccion-datos p {\n  padding: 0;\n  list-style: none;\n  margin: 0;\n  font-size: 20px;\n  opacity: 0.6;\n}\n\n.box-text-proteccion-datos p {\n  padding: 13px 60px;\n  color: #fff;\n  text-align: center;\n}\n\n.box-text-proteccion-datos ul li {\n  border-top: 1px solid rgba(73, 73, 121, 0.35);\n  padding: 13px 60px;\n  color: #fff;\n}\n\n.box-bottom-proteccion-datos {\n  justify-content: center;\n}\n\n.box-bottom-proteccion-datos .btn-design2 {\n  margin-right: auto;\n}\n\n.box-text-proteccion-datos {\n  margin-bottom: 40px;\n}\n\n.box-profile-active img {\n  height: 105px;\n}\n\n@media screen and (max-height: 700px) {\n  .title-out-box-proteccion-datos {\n    font-size: 30px;\n    margin-bottom: 20px;\n  }\n\n  .box-proteccion-datos {\n    padding: 40px 0 35px;\n  }\n\n  .title-proteccion-datos {\n    font-size: 22px;\n    margin-bottom: 0px;\n  }\n\n  .box-text-proteccion-datos ul,\n.box-text-proteccion-datos p {\n    font-size: 20px;\n  }\n\n  .box-text-proteccion-datos {\n    margin-bottom: 30px;\n  }\n\n  .btn-design2 {\n    font-size: 18px;\n  }\n\n  .box-content-instrucciones {\n    margin-top: -50px;\n  }\n\n  .box-text-proteccion-datos ul li {\n    padding: 10px 60px;\n  }\n}\n/*# sourceMappingURL=data:application/json;base64,  */");

/***/ }),

/***/ 5761:
/*!*******************************************************!*\
  !*** ./src/app/instrucciones/instrucciones.page.scss ***!
  \*******************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ("ion-button.btn-close {\n  --padding-start: 0;\n  --padding-end: 0;\n  --background: transparent;\n  margin-left: auto;\n  --box-shadow: none;\n}\n\nion-title.title-logo {\n  font-size: 35px;\n  padding-left: 0;\n  cursor: pointer;\n  color: #fff;\n}\n\nion-col.col-header-btn-close {\n  text-align: right;\n}\n\n.ion-page {\n  background-color: #1D1F33;\n}\n\n.text-copiright {\n  color: #7A93AC;\n  font-weight: 400;\n  font-size: 14px !important;\n  padding-left: 0;\n}\n\n.col-footer-last {\n  text-align: right;\n}\n\n.text-col-footer-last a {\n  font-size: 14px;\n  text-decoration: none;\n  color: #7A93AC;\n}\n\n.text-col-footer-last span {\n  color: #7A93AC;\n  margin: 0 10px;\n}\n\n.ion-footer-custom1 {\n  padding: 10px 20px;\n}\n\nion-header ion-grid {\n  padding: 15px 30px;\n}\n\n.title1 {\n  font-size: 38px;\n  font-weight: 500;\n  line-height: 1;\n  margin-bottom: 20px;\n}\n\n.box-content-login {\n  width: 400px;\n  margin: auto;\n  text-align: center;\n}\n\n.input-custom ion-input {\n  --background: #D5D5D8;\n  --padding-bottom: 24px;\n  --padding-top: 24px;\n  --padding-end: 15px;\n  --padding-start: 15px;\n  --color: #1D1F35;\n  --placeholder-color: #1D1F35;\n  border: 1px solid #494979;\n  border-radius: 6px;\n  text-align: center;\n  color: #1D1F35;\n}\n\n.box-text-login p {\n  color: #BDBDBD;\n  font-size: 14px;\n}\n\n.box-text-login p a {\n  color: #BDBDBD;\n}\n\n.btn-design2 {\n  --background: #6FCF97;\n  --border-width: 1px;\n  --border-style: solid;\n  --border-radius: 6px;\n  --border-color: #494979;\n  --padding-bottom: 15px;\n  --padding-end: 40px;\n  --padding-start: 40px;\n  --padding-top: 15px;\n  height: auto;\n  --box-shadow: none;\n  font-size: 20px;\n  font-weight: 700;\n}\n\n.btn-design2 img {\n  margin-right: 10px;\n}\n\n.box-content-login#email-login {\n  width: 460px;\n}\n\n.box-content-login#email-login .title1 {\n  width: 311px;\n  margin-left: auto;\n  margin-right: auto;\n}\n\n.box-content-instrucciones {\n  position: relative;\n  padding-bottom: 50px;\n  margin-top: 0px;\n  position: relative;\n  top: 50%;\n  transform: translateY(-50%);\n}\n\n.box-proteccion-datos {\n  background: linear-gradient(90deg, rgba(34, 39, 61, 0.45) 0%, rgba(66, 81, 115, 0.45) 100%);\n  margin: auto;\n  padding: 30px 30px;\n  border-top: 5px solid #6FCF97;\n}\n\n.title-proteccion-datos {\n  margin-top: 0;\n  text-align: center;\n  font-size: 24px;\n  margin-bottom: 20px;\n}\n\n.box-bottom-proteccion-datos {\n  display: flex;\n  align-items: center;\n}\n\n.box-bottom-proteccion-datos .btn-design2 {\n  margin-left: auto;\n}\n\n.box-bottom-proteccion-datos .btn-design2 span {\n  padding-bottom: 3px;\n}\n\n.box-checkbox-custom1 {\n  --background: transparent;\n  --padding-start: 0;\n  --padding-end: 0;\n  --border-color: transparent;\n}\n\n.box-checkbox-custom1 ion-label {\n  font-weight: 700;\n  margin: 0;\n}\n\n.box-checkbox-custom1 ion-checkbox {\n  margin: 0;\n  margin-right: 15px;\n  --background: #fff;\n  --border-radius: 0;\n  width: 25px;\n  height: 25px;\n  --border-width: 1px;\n  --border-color: #E0E0E0;\n  --border-style: solid;\n  --background-checked: #6FCF97;\n  --border-color-checked: #6FCF97;\n  --size: 10px;\n}\n\n.title-out-box-proteccion-datos {\n  text-align: center;\n  font-size: 35px;\n  margin-bottom: 30px;\n  margin-top: 0;\n  color: #6FCF97;\n}\n\n.title-proteccion-datos {\n  font-weight: 400;\n  padding: 0 60px;\n  opacity: 0.75;\n  text-align: left;\n  margin-bottom: 46px;\n  color: #fff;\n}\n\n.box-proteccion-datos {\n  padding: 0px;\n}\n\n.box-text-proteccion-datos ul {\n  padding: 0;\n  list-style: none;\n  margin: 0;\n  font-size: 19px;\n  opacity: 0.6;\n}\n\n.box-text-proteccion-datos ul li {\n  border-top: 1px solid rgba(73, 73, 121, 0.35);\n  padding: 13px 60px;\n  color: #fff;\n}\n\n.box-bottom-proteccion-datos {\n  justify-content: center;\n}\n\n.box-bottom-proteccion-datos .btn-design2 {\n  margin-right: auto;\n}\n\n.box-text-proteccion-datos {\n  margin-bottom: 40px;\n}\n\n.box-profile-active img {\n  height: 105px;\n}\n\n@media screen and (max-height: 700px) {\n  .title-out-box-proteccion-datos {\n    font-size: 30px;\n    margin-bottom: 20px;\n  }\n\n  .box-proteccion-datos {\n    padding: 40px 0 35px;\n  }\n\n  .title-proteccion-datos {\n    font-size: 22px;\n    margin-bottom: 30px;\n  }\n\n  .box-text-proteccion-datos ul {\n    font-size: 22px;\n  }\n\n  .box-text-proteccion-datos {\n    margin-bottom: 30px;\n  }\n\n  .btn-design2 {\n    font-size: 18px;\n  }\n\n  .box-content-instrucciones {\n    margin-top: -50px;\n  }\n\n  .box-text-proteccion-datos ul li {\n    padding: 10px 60px;\n  }\n}\n/*# sourceMappingURL=data:application/json;base64,  */");

/***/ }),

/***/ 1339:
/*!***************************************!*\
  !*** ./src/app/login/login.page.scss ***!
  \***************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ("ion-button.btn-close {\n  --padding-start: 0;\n  --padding-end: 0;\n  --background: transparent;\n  margin-left: auto;\n  --box-shadow: none;\n}\n\nion-title.title-logo {\n  font-size: 35px;\n  padding-left: 0;\n  cursor: pointer;\n  color: #fff;\n}\n\nion-col.col-header-btn-close {\n  text-align: right;\n}\n\n.ion-page {\n  background-color: #1D1F33;\n}\n\n.text-copiright {\n  color: #7A93AC;\n  font-weight: 400;\n  font-size: 14px !important;\n  padding-left: 0;\n}\n\n.col-footer-last {\n  text-align: right;\n}\n\n.text-col-footer-last a {\n  font-size: 14px;\n  text-decoration: none;\n  color: #7A93AC;\n}\n\n.text-col-footer-last span {\n  color: #7A93AC;\n  margin: 0 10px;\n}\n\n.ion-footer-custom1 {\n  padding: 10px 20px;\n}\n\nion-header ion-grid {\n  padding: 15px 30px;\n}\n\n.title1 {\n  font-size: 38px;\n  font-weight: 500;\n  line-height: 1;\n  margin-bottom: 20px;\n  color: #fff;\n}\n\n.box-content-login {\n  margin: auto;\n  padding: 20px;\n  text-align: center;\n  position: relative;\n  top: 40%;\n  transform: translateY(-50%);\n}\n\n.input-custom ion-input {\n  --background: #D5D5D8;\n  --padding-bottom: 24px;\n  --padding-top: 24px;\n  --padding-end: 15px;\n  --padding-start: 15px;\n  --color: #1D1F35;\n  --placeholder-color: #1D1F35;\n  border: 1px solid #494979;\n  border-radius: 6px;\n  text-align: center;\n  color: #1D1F35;\n}\n\n.box-text-login p {\n  color: #ff3535;\n  font-size: 14px;\n}\n\n.box-text-login p a {\n  color: #BDBDBD;\n}\n\n.btn-design2 {\n  --background: #6FCF97;\n  --border-width: 1px;\n  --border-style: solid;\n  --border-radius: 6px;\n  --border-color: #494979;\n  --padding-bottom: 27px;\n  --padding-end: 40px;\n  --padding-start: 40px;\n  --padding-top: 27px;\n  --color: #fff;\n  height: auto;\n  width: 100%;\n  margin: 0;\n  font-size: 15px;\n  margin-top: 10px;\n}\n\n.box-content-login#email-login {\n  width: 460px;\n}\n\n.box-content-login#email-login .title1 {\n  width: 311px;\n  margin-left: auto;\n  margin-right: auto;\n}\n\n.text-copiright a {\n  color: #7A93AC;\n  text-decoration: none !important;\n}\n/*# sourceMappingURL=data:application/json;base64,  */");

/***/ }),

/***/ 2300:
/*!*******************************************************************!*\
  !*** ./src/app/memoriza-contrasena/memoriza-contrasena.page.scss ***!
  \*******************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ("ion-button.btn-close {\n  --padding-start: 0;\n  --padding-end: 0;\n  --background: transparent;\n  margin-left: auto;\n  --box-shadow: none;\n}\n\nion-title.title-logo {\n  font-size: 35px;\n  padding-left: 0;\n  cursor: pointer;\n  color: #fff;\n}\n\nion-col.col-header-btn-close {\n  text-align: right;\n}\n\n.ion-page {\n  background-color: #1D1F33;\n}\n\n.text-copiright {\n  color: #7A93AC;\n  font-weight: 400;\n  font-size: 14px !important;\n  padding-left: 0;\n}\n\n.col-footer-last {\n  text-align: right;\n}\n\n.text-col-footer-last a {\n  font-size: 14px;\n  text-decoration: none;\n  color: #7A93AC;\n}\n\n.text-col-footer-last span {\n  color: #7A93AC;\n  margin: 0 10px;\n}\n\n.ion-footer-custom1 {\n  padding: 10px 20px;\n}\n\nion-header ion-grid {\n  padding: 15px 30px;\n}\n\n.title1 {\n  font-size: 38px;\n  font-weight: 500;\n  line-height: 1;\n  margin-bottom: 20px;\n}\n\n.box-content-login {\n  width: 400px;\n  margin: auto;\n  text-align: center;\n}\n\n.input-custom ion-input {\n  --background: #D5D5D8;\n  --padding-bottom: 24px;\n  --padding-top: 24px;\n  --padding-end: 15px;\n  --padding-start: 15px;\n  --color: #1D1F35;\n  --placeholder-color: #1D1F35;\n  border: 1px solid #494979;\n  border-radius: 6px;\n  text-align: center;\n  color: #1D1F35;\n}\n\n.box-text-login p {\n  color: #BDBDBD;\n  font-size: 14px;\n}\n\n.box-text-login p a {\n  color: #BDBDBD;\n}\n\n.btn-design2 {\n  --background: #6FCF97;\n  --border-width: 1px;\n  --border-style: solid;\n  --border-radius: 6px;\n  --border-color: #494979;\n  --padding-bottom: 15px;\n  --padding-end: 40px;\n  --padding-start: 40px;\n  --padding-top: 15px;\n  height: auto;\n  --box-shadow: none;\n  font-size: 20px;\n  font-weight: 700;\n  color: #ffffff;\n}\n\n.btn-design2 img {\n  margin-right: 10px;\n}\n\n.box-content-login#email-login {\n  width: 460px;\n}\n\n.box-content-login#email-login .title1 {\n  width: 311px;\n  margin-left: auto;\n  margin-right: auto;\n}\n\n.box-content-instrucciones {\n  position: relative;\n  padding-bottom: 50px;\n  margin-top: 0px;\n  top: 50%;\n  transform: translateY(-50%);\n}\n\n.box-proteccion-datos {\n  background: linear-gradient(90deg, rgba(34, 39, 61, 0.45) 0%, rgba(66, 81, 115, 0.45) 100%);\n  width: 746px;\n  margin: auto;\n  padding: 30px 30px;\n  border-top: 5px solid #6FCF97;\n}\n\n.title-proteccion-datos {\n  margin-top: 0;\n  text-align: center;\n  font-size: 24px;\n  margin-bottom: 20px;\n}\n\n.box-bottom-proteccion-datos {\n  display: flex;\n  align-items: center;\n}\n\n.box-bottom-proteccion-datos .btn-design2 {\n  margin-left: auto;\n}\n\n.box-bottom-proteccion-datos .btn-design2 span {\n  padding-bottom: 3px;\n}\n\n.box-checkbox-custom1 {\n  --background: transparent;\n  --padding-start: 0;\n  --padding-end: 0;\n  --border-color: transparent;\n}\n\n.box-checkbox-custom1 ion-label {\n  font-weight: 700;\n  margin: 0;\n}\n\n.box-checkbox-custom1 ion-checkbox {\n  margin: 0;\n  margin-right: 15px;\n  --background: #fff;\n  --border-radius: 0;\n  width: 25px;\n  height: 25px;\n  --border-width: 1px;\n  --border-color: #E0E0E0;\n  --border-style: solid;\n  --background-checked: #6FCF97;\n  --border-color-checked: #6FCF97;\n  --size: 10px;\n}\n\n.title-out-box-proteccion-datos {\n  text-align: center;\n  font-size: 35px;\n  margin-bottom: 30px;\n  margin-top: 0;\n  color: #6FCF97;\n}\n\n.title-proteccion-datos {\n  font-weight: 400;\n  padding: 0 60px;\n  opacity: 0.75;\n  text-align: left;\n  margin-bottom: 46px;\n  color: #fff;\n}\n\n.box-proteccion-datos {\n  padding: 20px 0 20px;\n}\n\n.box-text-proteccion-datos ul,\n.box-text-proteccion-datos p {\n  padding: 0;\n  list-style: none;\n  margin: 0;\n  font-size: 20px;\n  opacity: 0.6;\n}\n\n.box-text-proteccion-datos p {\n  padding: 13px 60px;\n  color: #fff;\n}\n\n.box-text-proteccion-datos ul li {\n  border-top: 1px solid rgba(73, 73, 121, 0.35);\n  padding: 13px 60px;\n  color: #fff;\n}\n\n.box-bottom-proteccion-datos {\n  justify-content: center;\n}\n\n.box-bottom-proteccion-datos .btn-design2 {\n  margin-right: auto;\n}\n\n.box-text-proteccion-datos {\n  margin-bottom: 0px;\n}\n\n.box-profile-active img {\n  height: 105px;\n}\n\n.title-box-contrasena {\n  font-size: 16px;\n  font-weight: 400;\n  font-family: \"Baloo 2\", cursive;\n  margin-bottom: 5px;\n  margin-top: 0;\n  color: #ffffff;\n}\n\n.box-contrasena {\n  text-align: center;\n  padding: 20px 0;\n}\n\n.text-box-contrasena {\n  margin-top: 0;\n  font-size: 45px;\n  font-weight: 700;\n  margin-bottom: 0;\n  font-family: \"Baloo 2\", cursive;\n  line-height: 1;\n  color: #ffffff;\n}\n\n@media screen and (max-height: 700px) {\n  .title-out-box-proteccion-datos {\n    font-size: 30px;\n    margin-bottom: 20px;\n  }\n\n  .box-proteccion-datos {\n    padding: 20px 0 25px;\n  }\n\n  .title-proteccion-datos {\n    font-size: 22px;\n    margin-bottom: 30px;\n  }\n\n  .box-text-proteccion-datos ul,\n.box-text-proteccion-datos p {\n    font-size: 20px;\n  }\n\n  .box-text-proteccion-datos {\n    margin-bottom: 0px;\n  }\n\n  .btn-design2 {\n    font-size: 18px;\n  }\n\n  .box-content-instrucciones {\n    margin-top: -50px;\n  }\n\n  .box-text-proteccion-datos ul li {\n    padding: 10px 60px;\n  }\n\n  .title-box-contrasena {\n    font-size: 15px;\n  }\n\n  .text-box-contrasena {\n    font-size: 35px;\n  }\n}\n/*# sourceMappingURL=data:application/json;base64,  */");

/***/ }),

/***/ 2510:
/*!*************************************************************!*\
  !*** ./src/app/memoriza-simbolo/memoriza-simbolo.page.scss ***!
  \*************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ("@charset \"UTF-8\";\nion-button.btn-close {\n  --padding-start: 0;\n  --padding-end: 0;\n  --background: transparent;\n  margin-left: auto;\n  --box-shadow: none;\n}\nion-title.title-logo {\n  font-size: 35px;\n  padding-left: 0;\n  cursor: pointer;\n  color: #fff;\n}\nion-col.col-header-btn-close {\n  text-align: right;\n}\n.ion-page {\n  background-color: #1D1F33;\n}\n.text-copiright {\n  color: #7A93AC;\n  font-weight: 400;\n  font-size: 14px !important;\n  padding-left: 0;\n}\n.col-footer-last {\n  text-align: right;\n}\n.text-col-footer-last a {\n  font-size: 14px;\n  text-decoration: none;\n  color: #7A93AC;\n}\n.text-col-footer-last span {\n  color: #7A93AC;\n  margin: 0 10px;\n}\n.ion-footer-custom1 {\n  padding: 10px 20px;\n}\nion-header ion-grid {\n  padding: 15px 30px;\n}\n.title1 {\n  font-size: 38px;\n  font-weight: 500;\n  line-height: 1;\n  margin-bottom: 20px;\n}\n.box-content-login {\n  width: 400px;\n  margin: auto;\n  text-align: center;\n}\n.input-custom ion-input {\n  --background: #D5D5D8;\n  --padding-bottom: 24px;\n  --padding-top: 24px;\n  --padding-end: 15px;\n  --padding-start: 15px;\n  --color: #1D1F35;\n  --placeholder-color: #1D1F35;\n  border: 1px solid #494979;\n  border-radius: 6px;\n  text-align: center;\n  color: #1D1F35;\n}\n.box-text-login p {\n  color: #BDBDBD;\n  font-size: 14px;\n}\n.box-text-login p a {\n  color: #BDBDBD;\n}\n.btn-design2 {\n  --background: #6FCF97;\n  --border-width: 1px;\n  --border-style: solid;\n  --border-radius: 6px;\n  --border-color: #494979;\n  --padding-bottom: 15px;\n  --padding-end: 40px;\n  --padding-start: 40px;\n  --padding-top: 15px;\n  height: auto;\n  --box-shadow: none;\n  font-size: 20px;\n  font-weight: 700;\n  color: #ffffff;\n}\n.btn-design2 img {\n  margin-right: 10px;\n}\n.box-content-login#email-login {\n  width: 460px;\n}\n.box-content-login#email-login .title1 {\n  width: 311px;\n  margin-left: auto;\n  margin-right: auto;\n}\n.box-content-instrucciones {\n  position: relative;\n  padding-bottom: 50px;\n  margin-top: 0px;\n  top: 50%;\n  transform: translateY(-50%);\n}\n.box-proteccion-datos {\n  background: linear-gradient(90deg, rgba(34, 39, 61, 0.45) 0%, rgba(66, 81, 115, 0.45) 100%);\n  margin: auto;\n  padding: 30px 30px;\n  border-top: 5px solid #6FCF97;\n}\n.title-proteccion-datos {\n  margin-top: 0;\n  text-align: center;\n  font-size: 24px;\n  margin-bottom: 20px;\n}\n.box-bottom-proteccion-datos {\n  display: flex;\n  align-items: center;\n}\n.box-bottom-proteccion-datos .btn-design2 {\n  margin-left: auto;\n}\n.box-bottom-proteccion-datos .btn-design2 span {\n  padding-bottom: 3px;\n}\n.box-checkbox-custom1 {\n  --background: transparent;\n  --padding-start: 0;\n  --padding-end: 0;\n  --border-color: transparent;\n}\n.box-checkbox-custom1 ion-label {\n  font-weight: 700;\n  margin: 0;\n}\n.box-checkbox-custom1 ion-checkbox {\n  margin: 0;\n  margin-right: 15px;\n  --background: #fff;\n  --border-radius: 0;\n  width: 25px;\n  height: 25px;\n  --border-width: 1px;\n  --border-color: #E0E0E0;\n  --border-style: solid;\n  --background-checked: #6FCF97;\n  --border-color-checked: #6FCF97;\n  --size: 10px;\n}\n.title-out-box-proteccion-datos {\n  text-align: center;\n  font-size: 35px;\n  margin-bottom: 30px;\n  margin-top: 0;\n  color: #6FCF97;\n}\n.title-proteccion-datos {\n  font-weight: 400;\n  padding: 0 60px;\n  opacity: 0.75;\n  text-align: left;\n  margin-bottom: 46px;\n  color: #fff;\n}\n.box-proteccion-datos {\n  padding: 20px 0 20px;\n}\n.box-text-proteccion-datos ul,\n.box-text-proteccion-datos p {\n  padding: 0;\n  list-style: none;\n  margin: 0;\n  font-size: 20px;\n  opacity: 0.6;\n}\n.box-text-proteccion-datos p {\n  padding: 13px 60px;\n  color: #fff;\n}\n.box-text-proteccion-datos ul li {\n  border-top: 1px solid rgba(73, 73, 121, 0.35);\n  padding: 13px 60px;\n  color: #fff;\n}\n.box-bottom-proteccion-datos {\n  justify-content: center;\n}\n.box-bottom-proteccion-datos .btn-design2 {\n  margin-right: auto;\n}\n.box-text-proteccion-datos {\n  margin-bottom: 0px;\n}\n.box-profile-active img {\n  height: 105px;\n}\n.title-box-contrasena {\n  font-size: 16px;\n  font-weight: 400;\n  font-family: \"Baloo 2\", cursive;\n  margin-bottom: 5px;\n  margin-top: 0;\n}\n.box-contrasena {\n  text-align: center;\n  padding: 20px 0;\n}\n.text-box-contrasena {\n  margin-top: 0;\n  font-size: 45px;\n  font-weight: 700;\n  margin-bottom: 0;\n  font-family: \"Baloo 2\", cursive;\n  line-height: 1;\n}\n.box-simbolo-memoriza.box-proteccion-datos {\n  margin-top: 30px;\n  border-top: 0;\n  padding-top: 25px;\n}\n.simbolo-memoriza span {\n  border: 26px solid #6FCF97;\n  box-sizing: border-box;\n  filter: drop-shadow(0px 4px 30px #00F5A0);\n  width: 160px;\n  height: 160px;\n  display: block;\n  border-radius: 50%;\n  margin: auto;\n  margin-bottom: 20px;\n}\n.simbolo-memoriza span.figure-cross {\n  border: 0 !important;\n}\n.simbolo-memoriza span.figure-cross:after {\n  content: \"\";\n  height: 160px;\n  display: block;\n  width: 40px;\n  background: #6FCF97;\n  margin: auto;\n}\n.simbolo-memoriza span.figure-cross:before {\n  content: \"\";\n  width: 160px;\n  display: block;\n  height: 40px;\n  background: #6FCF97;\n  margin: auto;\n  position: absolute;\n  top: 0;\n  bottom: 0;\n}\n.simbolo-memoriza span.figure-square {\n  border-radius: 0;\n}\n.simbolo-memoriza span.color-blue {\n  filter: drop-shadow(0px 4px 30px #4d75ff) !important;\n  border-color: #4d75ff;\n}\n.simbolo-memoriza span.color-blue:after,\n.simbolo-memoriza span.color-blue:before {\n  background: #4d75ff;\n}\n.simbolo-memoriza span.color-white {\n  filter: drop-shadow(0px 4px 30px #fff) !important;\n  border-color: #fff;\n}\n.simbolo-memoriza span.color-white:after,\n.simbolo-memoriza span.color-white:before {\n  background: #fff;\n}\n.simbolo-memoriza span.color-lilac {\n  filter: drop-shadow(0px 4px 30px #C8A2C8) !important;\n  border-color: #C8A2C8;\n}\n.simbolo-memoriza span.color-lilac:after,\n.simbolo-memoriza span.color-lilac:before {\n  background: #C8A2C8;\n}\n.simbolo-memoriza span.color-red {\n  filter: drop-shadow(0px 4px 30px #ff2929) !important;\n  border-color: #ff2929;\n}\n.simbolo-memoriza span.color-red:after,\n.simbolo-memoriza span.color-red:before {\n  background: #ff2929;\n}\n.simbolo-memoriza span.figure-triangle {\n  border-bottom: 160px solid #000;\n  border-radius: 0;\n  border-left: 95px solid transparent;\n  border-right: 95px solid transparent;\n  border-top: 0;\n}\n.simbolo-memoriza span.figure-triangle.color-blue {\n  border-bottom-color: #4d75ff;\n}\n.simbolo-memoriza span.figure-triangle.color-white {\n  border-bottom-color: #ffffff;\n}\n.simbolo-memoriza span.figure-triangle.color-red {\n  border-bottom-color: #ff2929;\n}\n.simbolo-memoriza span.figure-triangle.color-lilac {\n  border-bottom-color: #C8A2C8;\n}\n/* ✅ ESTILOS FALTANTES PARA GREEN Y YELLOW */\n.simbolo-memoriza span.color-green {\n  filter: drop-shadow(0px 4px 30px #00ff00) !important;\n  border-color: #00ff00;\n}\n.simbolo-memoriza span.color-green:after,\n.simbolo-memoriza span.color-green:before {\n  background: #00ff00;\n}\n.simbolo-memoriza span.color-yellow {\n  filter: drop-shadow(0px 4px 30px #ffff00) !important;\n  border-color: #ffff00;\n}\n.simbolo-memoriza span.color-yellow:after,\n.simbolo-memoriza span.color-yellow:before {\n  background: #ffff00;\n}\n/* Estilos específicos para triángulos verdes y amarillos */\n.simbolo-memoriza span.figure-triangle.color-green {\n  border-bottom-color: #00ff00;\n}\n.simbolo-memoriza span.figure-triangle.color-yellow {\n  border-bottom-color: #ffff00;\n}\n@media screen and (max-height: 700px) {\n  .title-out-box-proteccion-datos {\n    font-size: 30px;\n    margin-bottom: 20px;\n  }\n\n  .box-proteccion-datos {\n    padding: 20px 0 25px;\n  }\n\n  .title-proteccion-datos {\n    font-size: 22px;\n    margin-bottom: 30px;\n  }\n\n  .box-text-proteccion-datos ul,\n.box-text-proteccion-datos p {\n    font-size: 20px;\n  }\n\n  .box-text-proteccion-datos {\n    margin-bottom: 0px;\n  }\n\n  .btn-design2 {\n    font-size: 18px;\n  }\n\n  .box-content-instrucciones {\n    margin-top: -50px;\n  }\n\n  .box-text-proteccion-datos ul li {\n    padding: 10px 60px;\n  }\n\n  .title-box-contrasena {\n    font-size: 15px;\n  }\n\n  .text-box-contrasena {\n    font-size: 35px;\n  }\n}\n/*# sourceMappingURL=data:application/json;base64,  */");

/***/ }),

/***/ 7558:
/*!************************************************************!*\
  !*** ./src/app/modal-figuras/modal-figuras.component.scss ***!
  \************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ("@charset \"UTF-8\";\n.simbolo-memoriza span {\n  border: 20px solid #6fcf97;\n  box-sizing: border-box;\n  filter: drop-shadow(0px 4px 30px #00f5a0);\n  width: 120px;\n  height: 120px;\n  display: block;\n  border-radius: 50%;\n  margin: auto;\n  margin-bottom: 20px;\n  cursor: pointer;\n}\n.simbolo-memoriza span.figure-cross {\n  border: 0 !important;\n}\n.simbolo-memoriza span.figure-cross:after {\n  content: \"\";\n  height: 120px;\n  display: block;\n  width: 30px;\n  background: #6fcf97;\n  margin: auto;\n}\n.simbolo-memoriza span.figure-cross:before {\n  content: \"\";\n  width: 120px;\n  display: block;\n  height: 30px;\n  background: #6fcf97;\n  margin: auto;\n  position: absolute;\n  top: 0;\n  bottom: 0;\n}\n.simbolo-memoriza span.figure-square {\n  border-radius: 0;\n}\n.simbolo-memoriza span.color-blue {\n  filter: drop-shadow(0px 4px 30px #4d75ff) !important;\n  border-color: #4d75ff;\n}\n.simbolo-memoriza span.color-blue:after,\n.simbolo-memoriza span.color-blue:before {\n  background: #4d75ff;\n}\n.simbolo-memoriza span.color-white {\n  filter: drop-shadow(0px 4px 30px #fff) !important;\n  border-color: #fff;\n}\n.simbolo-memoriza span.color-white:after,\n.simbolo-memoriza span.color-white:before {\n  background: #fff;\n}\n.simbolo-memoriza span.color-lilac {\n  filter: drop-shadow(0px 4px 30px #c8a2c8) !important;\n  border-color: #c8a2c8;\n}\n.simbolo-memoriza span.color-lilac:after,\n.simbolo-memoriza span.color-lilac:before {\n  background: #c8a2c8;\n}\n.simbolo-memoriza span.color-red {\n  filter: drop-shadow(0px 4px 30px #ff2929) !important;\n  border-color: #ff2929;\n}\n.simbolo-memoriza span.color-red:after,\n.simbolo-memoriza span.color-red:before {\n  background: #ff2929;\n}\n.simbolo-memoriza span.figure-triangle {\n  border-bottom: 120px solid #000;\n  border-radius: 0;\n  border-left: 65px solid transparent;\n  border-right: 65px solid transparent;\n  border-top: 0;\n}\n.simbolo-memoriza span.figure-triangle.color-blue {\n  border-bottom-color: #4d75ff;\n}\n.simbolo-memoriza span.figure-triangle.color-white {\n  border-bottom-color: #ffffff;\n}\n.simbolo-memoriza span.figure-triangle.color-red {\n  border-bottom-color: #ff2929;\n}\n.simbolo-memoriza span.figure-triangle.color-lilac {\n  border-bottom-color: #c8a2c8;\n}\n/* ✅ ESTILOS FALTANTES PARA GREEN Y YELLOW */\n.simbolo-memoriza span.color-green {\n  filter: drop-shadow(0px 4px 30px #00ff00) !important;\n  border-color: #00ff00;\n}\n.simbolo-memoriza span.color-green:after,\n.simbolo-memoriza span.color-green:before {\n  background: #00ff00;\n}\n.simbolo-memoriza span.color-yellow {\n  filter: drop-shadow(0px 4px 30px #ffff00) !important;\n  border-color: #ffff00;\n}\n.simbolo-memoriza span.color-yellow:after,\n.simbolo-memoriza span.color-yellow:before {\n  background: #ffff00;\n}\n.simbolo-memoriza span.figure-triangle.color-green {\n  border-bottom-color: #00ff00;\n}\n.simbolo-memoriza span.figure-triangle.color-yellow {\n  border-bottom-color: #ffff00;\n}\n.simbolo-memoriza {\n  position: fixed;\n  left: 0;\n  top: 0;\n  width: 100%;\n  height: 100%;\n  z-index: 9999999;\n  background: rgba(0, 0, 0, 0.1);\n}\n.simbolo-memoriza span {\n  position: absolute;\n  z-index: 99999999;\n}\n.position-figure1 {\n  top: 30%;\n  left: 5%;\n}\n.position-figure2 {\n  top: 20%;\n  right: 5%;\n}\n.position-figure3 {\n  bottom: 10%;\n  left: 30%;\n}\n.position-figure4 {\n  top: 10%;\n  left: 30%;\n}\n.position-figure5 {\n  top: 30%;\n  right: 25%;\n}\n.position-figure6 {\n  bottom: 30%;\n  left: 25%;\n}\n.overlay-simbolo-memoriza {\n  position: absolute;\n  left: 0;\n  bottom: 0;\n  right: 0;\n  top: 0;\n  background: transparent;\n}\n@media screen and (max-width: 900px) {\n  .simbolo-memoriza span {\n    transform: scale(0.6);\n  }\n}\n/*# sourceMappingURL=data:application/json;base64,  */");

/***/ }),

/***/ 6661:
/*!*********************************************************!*\
  !*** ./src/app/politica-datos/politica-datos.page.scss ***!
  \*********************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ("ion-button.btn-close {\n  --padding-start: 0;\n  --padding-end: 0;\n  --background: transparent;\n  margin-left: auto;\n  --box-shadow: none;\n}\n\nion-title.title-logo {\n  font-size: 35px;\n  padding-left: 0;\n  cursor: pointer;\n  color: #fff;\n}\n\nion-col.col-header-btn-close {\n  text-align: right;\n}\n\n.ion-page {\n  background-color: #1D1F33;\n}\n\n.text-copiright {\n  color: #7A93AC;\n  font-weight: 400;\n  font-size: 14px !important;\n  padding-left: 0;\n}\n\n.col-footer-last {\n  text-align: right;\n}\n\n.text-col-footer-last a {\n  font-size: 14px;\n  text-decoration: none;\n  color: #7A93AC;\n}\n\n.text-col-footer-last span {\n  color: #7A93AC;\n  margin: 0 10px;\n}\n\n.ion-footer-custom1 {\n  padding: 10px 20px;\n}\n\nion-header ion-grid {\n  padding: 15px 30px;\n}\n\n.title1 {\n  font-size: 38px;\n  font-weight: 500;\n  line-height: 1;\n  margin-bottom: 20px;\n}\n\n.box-content-login {\n  width: 400px;\n  margin: auto;\n  text-align: center;\n}\n\n.input-custom ion-input {\n  --background: #D5D5D8;\n  --padding-bottom: 24px;\n  --padding-top: 24px;\n  --padding-end: 15px;\n  --padding-start: 15px;\n  --color: #1D1F35;\n  --placeholder-color: #1D1F35;\n  border: 1px solid #494979;\n  border-radius: 6px;\n  text-align: center;\n  color: #1D1F35;\n}\n\n.box-text-login p {\n  color: #BDBDBD;\n  font-size: 14px;\n}\n\n.box-text-login p a {\n  color: #BDBDBD;\n}\n\n.btn-design2 {\n  --background: #6FCF97;\n  --border-width: 1px;\n  --border-style: solid;\n  --border-radius: 6px;\n  --border-color: #494979;\n  --padding-bottom: 15px;\n  --padding-end: 40px;\n  --padding-start: 40px;\n  --padding-top: 15px;\n  height: auto;\n  --box-shadow: none;\n  font-size: 20px;\n  font-weight: 700;\n  transition: all 0.3s ease;\n}\n\n.btn-design2.inactive-button {\n  opacity: 0.5;\n}\n\n.btn-design2 img {\n  margin-right: 10px;\n}\n\n.box-content-login#email-login {\n  width: 460px;\n}\n\n.box-content-login#email-login .title1 {\n  width: 311px;\n  margin-left: auto;\n  margin-right: auto;\n}\n\n.box-proteccion-datos {\n  background: linear-gradient(90deg, rgba(34, 39, 61, 0.45) 0%, rgba(66, 81, 115, 0.45) 100%);\n  width: 746px;\n  margin: auto;\n  padding: 30px 30px;\n  border-top: 5px solid #6FCF97;\n  position: relative;\n  top: 50%;\n  transform: translateY(-50%);\n}\n\n.title-proteccion-datos {\n  color: #fff;\n  margin-top: 0;\n  text-align: center;\n  font-size: 24px;\n  margin-bottom: 20px;\n}\n\n.box-bottom-proteccion-datos {\n  display: flex;\n  align-items: center;\n  flex-wrap: wrap;\n}\n\n.box-bottom-proteccion-datos .btn-design2 {\n  margin-left: auto;\n}\n\n.box-bottom-proteccion-datos .btn-design2 span {\n  padding-bottom: 3px;\n}\n\n.text-error-checkbox p {\n  margin: 0;\n  color: #ff4343;\n}\n\n.box-checkbox-custom1 {\n  --background: transparent;\n  --padding-start: 0;\n  --padding-end: 0;\n  --border-color: transparent;\n  --color: #fff;\n}\n\n.box-checkbox-custom1 ion-label {\n  font-weight: 700;\n  margin: 0;\n}\n\n.box-checkbox-custom1 ion-checkbox {\n  margin: 0;\n  margin-right: 15px;\n  --background: #fff;\n  --border-radius: 0;\n  width: 25px;\n  height: 25px;\n  --border-width: 1px;\n  --border-color: #E0E0E0;\n  --border-style: solid;\n  --background-checked: #6FCF97;\n  --border-color-checked: #6FCF97;\n  --size: 10px;\n}\n\n.box-text-proteccion-datos {\n  padding: 0 30px;\n  overflow-y: scroll;\n  height: 280px;\n  margin-bottom: 37px;\n}\n\n.box-text-proteccion-datos p {\n  font-size: 20px;\n  color: #fff;\n  opacity: 0.75;\n  font-weight: 400;\n  margin-top: 0;\n}\n\n.box-text-proteccion-datos::-webkit-scrollbar {\n  -webkit-appearance: none;\n  width: 3px;\n  background: rgba(255, 254, 254, 0.45);\n  border-radius: 3px;\n}\n\n.box-text-proteccion-datos::-webkit-scrollbar-thumb {\n  border-radius: 3px;\n  background-color: #6FCF97;\n  -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);\n}\n\n.text-copiright a {\n  color: #7A93AC;\n  text-decoration: none !important;\n}\n/*# sourceMappingURL=data:application/json;base64,  */");

/***/ }),

/***/ 1106:
/*!**************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/app.component.html ***!
  \**************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ("<ion-app>\n  <app-modal-figuras game_stay=\"1\"></app-modal-figuras>\n  <ion-router-outlet></ion-router-outlet>\n</ion-app>\n");

/***/ }),

/***/ 8514:
/*!************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/camera-video/camera-video.component.html ***!
  \************************************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ("<div class=\"box-profile-active box-profile-active-{{page}}\">\n  <video class=\"video\" #video autoplay playsinline muted [hidden]=\"!isRecording\"></video>\n  <h3 class=\"title-profile-active\"><img src=\"assets/icon/icon-user.svg\" alt=\"\" class=\"icon-user-profile-active\">{{display_name}}</h3>\n</div>");

/***/ }),

/***/ 8838:
/*!***********************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/enmarcar/enmarcar.page.html ***!
  \***********************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ("<ion-header [translucent]=\"true\" class=\"ion-no-border\">\n  <ion-grid>\n    <ion-row>\n      <ion-col size=\"4\">\n        <ion-title class=\"title-logo\"  [routerLink]=\"['/']\">\n          <img src=\"assets/img/logo.png\" alt=\"\">\n        </ion-title>\n      </ion-col>\n      <ion-col size=\"8\" class=\"col-header-btn-close\">\n\n      </ion-col>\n    </ion-row>\n  </ion-grid>\n</ion-header>\n\n<ion-content>\n  <ion-card class=\"card-enmarcar\">\n    <div class=\"box-video-card-enmarcar\">\n      <app-camera-video page=\"enmarcar\"></app-camera-video>\n    </div>\n    <ion-card-content>\n      <div class=\"content-enmarcar-design1\">\n        <ion-card-title>{{ 'ENMARCAR.TITLE' | translate }}</ion-card-title>\n        <ion-text>{{ 'ENMARCAR.INSTRUCTIONS' | translate }}</ion-text>\n      </div>\n      <ion-button class=\"btn-design2\" (click)=\"onContinue()\" [disabled]=\"shouldDisable\">\n        <span>{{ 'ENMARCAR.CONTINUE' | translate }}</span>\n      </ion-button>\n    </ion-card-content>\n  </ion-card>\n</ion-content>\n");

/***/ }),

/***/ 5895:
/*!***************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/instrucciones-calculo-mental/instrucciones-calculo-mental.page.html ***!
  \***************************************************************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ("<ion-header [translucent]=\"true\" class=\"ion-no-border\">\n  <ion-grid>\n    <ion-row>\n      <ion-col size=\"4\">\n        <ion-title class=\"title-logo\">\n          <a [routerLink]=\"['/']\" tabindex=\"0\">\n            <img src=\"assets/img/logo.png\" [attr.alt]=\"'MENTAL_CALC.ARIA_LABELS.LOGO' | translate\">\n          </a>\n        </ion-title>\n      </ion-col>\n      <ion-col size=\"8\" class=\"col-header-btn-close\">\n        <app-camera-video></app-camera-video>\n      </ion-col>\n    </ion-row>\n  </ion-grid>\n</ion-header>\n\n<ion-content [fullscreen]=\"true\" role=\"main\">\n  <div class=\"box-content-instrucciones\" role=\"region\" [attr.aria-label]=\"'MENTAL_CALC.ARIA_LABELS.INSTRUCTIONS_SECTION' | translate\">\n    <h1 class=\"title-out-box-proteccion-datos\">{{ 'MENTAL_CALC.TITLE' | translate }}</h1>\n    <div class=\"box-proteccion-datos\">\n      <h2 class=\"title-proteccion-datos\">{{ 'INSTRUCTIONS.TITLE' | translate }}</h2>\n      <div class=\"box-text-proteccion-datos\">\n        <p [innerHTML]=\"'MENTAL_CALC.INSTRUCTIONS' | translate\" tabindex=\"0\"></p>\n      </div>\n      <div class=\"box-bottom-proteccion-datos\">\n        <ion-button class=\"btn-design2\" \n                   (click)=\"onContinue()\" \n                   [attr.aria-label]=\"'MENTAL_CALC.ARIA_LABELS.START_BUTTON' | translate\"\n                   tabindex=\"0\">\n          <span>{{ 'MENTAL_CALC.START' | translate }}</span>\n        </ion-button>\n      </div>\n    </div>\n  </div>\n</ion-content>\n");

/***/ }),

/***/ 9799:
/*!*********************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/instrucciones/instrucciones.page.html ***!
  \*********************************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ("<ion-header [translucent]=\"true\" class=\"ion-no-border\">\n  <ion-grid>\n    <ion-row>\n      <ion-col size=\"4\">\n        <ion-title class=\"title-logo\"  [routerLink]=\"['/']\">\n          <img src=\"assets/img/logo.png\" alt=\"Logo KOR\">\n        </ion-title>\n      </ion-col>\n      <ion-col size=\"8\" class=\"col-header-btn-close\">\n\n        <app-camera-video></app-camera-video>\n\n      </ion-col>\n    </ion-row>\n  </ion-grid>\n</ion-header>\n<ion-content [fullscreen]=\"true\">\n  <div class=\"box-content-instrucciones\">\n    <h3 class=\"title-out-box-proteccion-datos\">{{ 'INSTRUCTIONS.TITLE' | translate }}</h3>\n    <div class=\"box-proteccion-datos\">\n      <!-- <h3 class=\"title-proteccion-datos\">Sigue correctamente estas instrucciones, para poder realizar los ejercicios de Ingenium</h3> -->\n      <div class=\"box-text-proteccion-datos\">\n        <ul>\n          <li>{{ 'INSTRUCTIONS.LIST.ITEM1' | translate }}</li>\n          <li>{{ 'INSTRUCTIONS.LIST.ITEM2' | translate }}</li>\n          <li>{{ 'INSTRUCTIONS.LIST.ITEM3' | translate }}</li>\n          <li>{{ 'INSTRUCTIONS.LIST.ITEM4' | translate }}</li>\n        </ul>\n      </div>\n      <div class=\"box-bottom-proteccion-datos\">\n        <ion-button class=\"btn-design2\" (click)=\"onContinue()\">\n          <span>{{ 'INSTRUCTIONS.UNDERSTOOD' | translate }}</span>\n        </ion-button>\n      </div>\n    </div>\n  </div>\n</ion-content>\n");

/***/ }),

/***/ 6770:
/*!*****************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/login/login.page.html ***!
  \*****************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ("<ion-header [translucent]=\"true\" class=\"ion-no-border\">\n  <ion-grid>\n    <ion-row>\n      <ion-col size=\"4\">\n        <ion-title class=\"title-logo\" [routerLink]=\"['/']\">\n          <img src=\"assets/img/logo.png\" alt=\"Logo KOR\">\n        </ion-title>\n      </ion-col>\n      <ion-col size=\"8\" class=\"col-header-btn-close\">\n\n      </ion-col>\n    </ion-row>\n  </ion-grid>\n</ion-header>\n<!-- <app-modal-figuras></app-modal-figuras> -->\n<ion-content>\n  <div class=\"box-content-login\" id=\"codigo-acceso\" [attr.aria-busy]=\"isLoading\">\n    <h3 class=\"title1\">{{ 'LOGIN.TITLE' | translate }}</h3>\n    <form (ngSubmit)=\"onSubmit()\" #loginForm=\"ngForm\">\n      <div class=\"input-custom\">\n        <ion-input \n          [placeholder]=\"'LOGIN.EMAIL' | translate\" \n          [(ngModel)]=\"username\" \n          #inputUsername \n          name=\"username\" \n          autofocus=\"true\"\n          [attr.aria-label]=\"'LOGIN.EMAIL' | translate\"\n          [attr.aria-required]=\"true\"\n          [disabled]=\"isLoading\">\n        </ion-input>\n        <ion-button \n          class=\"btn-design2\" \n          type=\"submit\"\n          [disabled]=\"isLoading || !username\"\n          [attr.aria-label]=\"'LOGIN.SUBMIT' | translate\">\n          {{ 'LOGIN.SUBMIT' | translate }}\n        </ion-button>\n      </div>\n    </form>\n    <ion-text class=\"box-text-login box-text-login-error\" *ngIf=\"errorApi\" role=\"alert\">\n      <p>{{ 'LOGIN.ERROR.SERVER' | translate }}</p>\n    </ion-text>\n    <ion-text class=\"box-text-login box-text-login-error\" *ngIf=\"errorCodigo\" role=\"alert\">\n      <p>{{ 'LOGIN.ERROR.INVALID_CODE' | translate }}</p>\n    </ion-text>\n    <ion-text class=\"box-text-login box-text-login-error\" *ngIf=\"errorEnable\" role=\"alert\">\n      <p>{{ 'LOGIN.ERROR.DISABLED_USER' | translate }}</p>\n    </ion-text>\n    <!-- <ion-text class=\"box-text-login\">\n      <p>¿No recuerdas tu código? <a href=\"#\">Reenviar</a></p>\n    </ion-text> -->\n  </div>\n  <!-- <div class=\"box-content-login\" id=\"email-login\">\n    <h3 class=\"title1\">Escribe tu email  y te reenviaremos el código</h3>\n    <div class=\"input-custom\">\n      <ion-input placeholder=\"Tu -email\"></ion-input>\n    </div>\n  </div> -->\n  <!-- <div class=\"box-content-login\" id=\"email-send-login\">\n    <h3 class=\"title1\">Hemos enviado el código a tu email</h3>\n    <ion-text class=\"box-text-login\">\n      <p>¿No lo encuentras? Revisa tu bandeja de Spam o pulsa <a href=\"#\">reenviar código</a></p>\n    </ion-text>\n    <div class=\"box-button-content-login\">\n      <ion-button class=\"btn-design2\">\n        OK, CONTINUAR\n      </ion-button>\n    </div>\n  </div> -->\n</ion-content>\n\n<ion-footer class=\"ion-no-border\">\n  <ion-grid>\n    <ion-row class=\"ion-footer-custom1\">\n      <ion-col size=\"4\">\n        <ion-title class=\"text-copiright\">\n          <a href=\"https://gooapps.es/?utm_campaign=kapsciti&utm_medium=referral&utm_source=app\" \n             target=\"_blank\"\n             rel=\"noopener noreferrer\">\n            KOR | {{version}} @ 2021\n          </a>\n        </ion-title>\n      </ion-col>\n      <ion-col size=\"8\" class=\"col-footer-last\">\n        <ion-text color=\"dark\" class=\"text-col-footer-last\">\n          <a target=\"_blank\" \n             href=\"assets/pdf/politica-de-privacidad.pdf\"\n             rel=\"noopener noreferrer\">\n            {{ 'COMMON.PRIVACY_POLICY' | translate }}\n          </a>\n          <span>|</span>\n          <a target=\"_blank\" \n             href=\"assets/pdf/teminos-de-uso.pdf\"\n             rel=\"noopener noreferrer\">\n            {{ 'COMMON.TERMS_OF_USE' | translate }}\n          </a>\n        </ion-text>\n      </ion-col>\n    </ion-row>\n  </ion-grid>\n</ion-footer>\n");

/***/ }),

/***/ 9029:
/*!*********************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/memoriza-contrasena/memoriza-contrasena.page.html ***!
  \*********************************************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ("<ion-header [translucent]=\"true\" class=\"ion-no-border\">\n  <ion-grid>\n    <ion-row>\n      <ion-col size=\"4\">\n        <ion-title class=\"title-logo\"  [routerLink]=\"['/']\">\n          <img src=\"assets/img/logo.png\" alt=\"Logo KOR\">\n        </ion-title>\n      </ion-col>\n      <ion-col size=\"8\" class=\"col-header-btn-close\">\n\n        <app-camera-video></app-camera-video>\n\n      </ion-col>\n    </ion-row>\n  </ion-grid>\n</ion-header>\n\n<ion-content [fullscreen]=\"true\">\n  <div class=\"box-content-instrucciones\">\n    <h3 class=\"title-out-box-proteccion-datos\">{{ 'MEMORIZE_PASSWORD.TITLE' | translate }}</h3>\n    <div class=\"box-proteccion-datos\">\n      <!-- <h3 class=\"title-proteccion-datos\">Sigue correctamente estas instrucciones, para poder realizar los ejercicios de Ingenium</h3> -->\n      <div class=\"box-text-proteccion-datos\">\n        <p>{{ 'MEMORIZE_PASSWORD.INSTRUCTIONS' | translate }}</p>\n      </div>\n    </div>\n    <div class=\"box-contrasena\">\n      <h3 class=\"title-box-contrasena\">{{ 'MEMORIZE_PASSWORD.PASSWORD_LABEL' | translate }}</h3>\n      <p class=\"text-box-contrasena\" [innerHTML]=\"password\">ABC246K</p>\n    </div>\n    <div class=\"box-bottom-proteccion-datos\">\n      <ion-button class=\"btn-design2\" (click)=\"onContinue()\">\n        <span>{{ 'MEMORIZE_PASSWORD.CONTINUE' | translate }}</span>\n      </ion-button>\n    </div>\n  </div>\n</ion-content>\n");

/***/ }),

/***/ 2993:
/*!***************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/memoriza-simbolo/memoriza-simbolo.page.html ***!
  \***************************************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ("<ion-header [translucent]=\"true\" class=\"ion-no-border\">\n  <ion-grid>\n    <ion-row>\n      <ion-col size=\"4\">\n        <ion-title class=\"title-logo\"  [routerLink]=\"['/']\">\n          <img src=\"assets/img/logo.png\" alt=\"Logo KOR\">\n        </ion-title>\n      </ion-col>\n      <ion-col size=\"8\" class=\"col-header-btn-close\">\n\n        <app-camera-video></app-camera-video>\n\n      </ion-col>\n    </ion-row>\n  </ion-grid>\n</ion-header>\n\n<ion-content [fullscreen]=\"true\">\n  <div class=\"box-content-instrucciones\">\n    <h3 class=\"title-out-box-proteccion-datos\">{{ 'MEMORIZE_SYMBOL.TITLE' | translate }}</h3>\n\n    <div class=\"box-proteccion-datos\">\n      <!-- <h3 class=\"title-proteccion-datos\">Sigue correctamente estas instrucciones, para poder realizar los ejercicios de Ingenium</h3> -->\n      <div class=\"box-text-proteccion-datos\">\n        <p>{{ 'MEMORIZE_SYMBOL.INSTRUCTIONS_START' | translate }} {{text1}} {{ 'MEMORIZE_SYMBOL.INSTRUCTIONS_MIDDLE' | translate }} \"<b>{{figure_translate}} {{color_translate}}</b>\" {{ 'MEMORIZE_SYMBOL.INSTRUCTIONS_END' | translate }}</p>\n      </div>\n    </div>\n    <div class=\"box-simbolo-memoriza box-proteccion-datos\">\n      <div class=\"simbolo-memoriza\">\n        <span class=\"figure-{{figure}} color-{{color}}\"></span>\n      </div>\n      <form (ngSubmit)=\"onContinue()\" class=\"box-bottom-proteccion-datos\">\n        <ion-button class=\"btn-design2\" type=\"submit\">\n          <span>{{ 'MEMORIZE_SYMBOL.CONTINUE' | translate }}</span>\n        </ion-button>\n      </form>\n    </div>\n  </div>\n</ion-content>\n");

/***/ }),

/***/ 9779:
/*!**************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/modal-figuras/modal-figuras.component.html ***!
  \**************************************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ("<div class=\"simbolo-memoriza\" *ngIf=\"stopFiguresArray\">\n  <div class=\"overlay-simbolo-memoriza\" \n       (click)=\"selectOverlay()\" \n       [attr.aria-label]=\"getOverlayAriaLabel()\">\n  </div>\n  <div *ngFor=\"let item of figuresArray2; let i = index\" \n       class=\"{{ numberIntervalArray }} {{item.time}}\" \n       (click)=\"selectFiguras()\">\n    <span class=\"figure-{{item.figure}} color-{{item.color}} {{item.position}}\" \n          *ngIf=\"numberIntervalArray == item.time\"\n          [attr.aria-label]=\"getFigureAriaLabel(item.figure, item.color)\"\n          role=\"button\"\n          tabindex=\"0\">\n    </span>\n  </div>\n</div>");

/***/ }),

/***/ 5754:
/*!***********************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/politica-datos/politica-datos.page.html ***!
  \***********************************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ("<ion-header [translucent]=\"true\" class=\"ion-no-border\">\n    <ion-grid>\n        <ion-row>\n            <ion-col size=\"4\">\n                <ion-title class=\"title-logo\" [routerLink]=\"['/']\">\n                    <img src=\"assets/img/logo.png\" alt=\"Logo KOR\">\n                </ion-title>\n            </ion-col>\n            <ion-col size=\"8\" class=\"col-header-btn-close\">\n            </ion-col>\n        </ion-row>\n    </ion-grid>\n</ion-header>\n\n<ion-content [fullscreen]=\"true\">\n    <div class=\"box-proteccion-datos\">\n        <h3 class=\"title-proteccion-datos\">{{ 'DATA_PROTECTION.TITLE' | translate }}</h3>\n        <div class=\"box-text-proteccion-datos\">\n            <p>{{ 'DATA_PROTECTION.CONTENT.PARAGRAPH1' | translate }}</p>\n            <p>{{ 'DATA_PROTECTION.CONTENT.PARAGRAPH2' | translate }}</p>\n        </div>\n        <form (ngSubmit)=\"onSubmit()\" class=\"box-bottom-proteccion-datos\">\n            <ion-item class=\"box-checkbox-custom1\">\n                <ion-label>{{ 'DATA_PROTECTION.CHECKBOX_LABEL' | translate }}</ion-label>\n                <ion-checkbox color=\"primary\" slot=\"start\" [(ngModel)]=\"terms\" name=\"terms\" (ionChange)=\"detectChange()\"></ion-checkbox>\n            </ion-item>\n            <ion-button class=\"btn-design2\" type=\"submit\" [ngClass]=\"terms ? '' : 'inactive-button' \">\n                <img src=\"assets/icon/icon-accept.svg\" alt=\"{{ 'DATA_PROTECTION.ACCEPT_BUTTON' | translate }}\">\n                <span>{{ 'DATA_PROTECTION.ACCEPT_BUTTON' | translate }}</span>\n            </ion-button>\n            <ion-text class=\"text-error-checkbox\" *ngIf=\"error\">\n                <p>{{ 'DATA_PROTECTION.ERROR_MESSAGE' | translate }}</p>\n            </ion-text>\n        </form>\n    </div>\n</ion-content>\n\n<ion-footer class=\"ion-no-border\">\n    <ion-grid>\n        <ion-row class=\"ion-footer-custom1\">\n            <ion-col size=\"4\">\n                <ion-title class=\"text-copiright\">\n                    <a href=\"https://gooapps.es/?utm_campaign=kapsciti&utm_medium=referral&utm_source=app\" target=\"_blank\">\n                        {{ 'DATA_PROTECTION.FOOTER.COPYRIGHT' | translate: { version: version } }}\n                    </a>\n                </ion-title>\n            </ion-col>\n            <ion-col size=\"8\" class=\"col-footer-last\">\n                <ion-text color=\"dark\" class=\"text-col-footer-last\">\n                    <a target=\"_blank\" href=\"assets/pdf/politica-de-privacidad.pdf\">\n                        {{ 'DATA_PROTECTION.FOOTER.PRIVACY_POLICY' | translate }}\n                    </a>\n                    <span>|</span>\n                    <a target=\"_blank\" href=\"assets/pdf/teminos-de-uso.pdf\">\n                        {{ 'DATA_PROTECTION.FOOTER.TERMS_OF_USE' | translate }}\n                    </a>\n                </ion-text>\n            </ion-col>\n        </ion-row>\n    </ion-grid>\n</ion-footer>\n");

/***/ })

},
/******/ __webpack_require__ => { // webpackRuntimeModules
/******/ "use strict";
/******/ 
/******/ var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
/******/ __webpack_require__.O(0, ["vendor"], () => (__webpack_exec__(4431)));
/******/ var __webpack_exports__ = __webpack_require__.O();
/******/ }
]);
//# sourceMappingURL=main.js.map