import { Component, Input, inject } from '@angular/core';
import { FormBuilder, ReactiveFormsModule, Validators } from '@angular/forms';
import { MatDialogRef } from '@angular/material/dialog';
import { BabylonLinkTypeDirective } from '../../../directives/link-type/link-type.directive';
import { getFirstImageByTagFromMultimedia } from '../../../utils/mutimedia.utils';
import * as i0 from "@angular/core";
import * as i1 from "@angular/forms";
export class BabylonNewsletterModalV2Component {
    constructor() {
        this.tagName = 'NewsletterModalV2';
        this.dialogRef = inject((MatDialogRef));
        this.fb = inject(FormBuilder);
        this.form = this.fb.nonNullable.group({
            email: ['', [Validators.required, Validators.email]],
            conditions: [false],
        });
    }
    get emailCtrl() {
        return this.form.controls.email;
    }
    get conditionsCtrl() {
        return this.form.controls.conditions;
    }
    ngOnInit() {
        const initial = this.input?.value;
        if (typeof initial === 'string' && initial.trim()) {
            this.form.patchValue({ email: initial.trim() });
        }
        if (!this.texts?.conditions) {
            this.conditionsCtrl.clearValidators();
            this.conditionsCtrl.updateValueAndValidity({ emitEvent: false });
        }
        else {
            this.conditionsCtrl.setValidators([Validators.requiredTrue]);
            this.conditionsCtrl.updateValueAndValidity({ emitEvent: false });
        }
    }
    close() {
        sessionStorage.setItem('newsletterV2', '1');
        this.dialogRef.close();
    }
    submit() {
        this.form.markAllAsTouched();
        if (this.form.invalid)
            return;
        const email = this.emailCtrl.value.trim().toLowerCase();
        this.submitForm?.emit(email);
        sessionStorage.setItem('newsletterV2', '1');
        this.close();
    }
    getFirstImageByTag(tagName) {
        return getFirstImageByTagFromMultimedia(this.multimedia, tagName);
    }
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BabylonNewsletterModalV2Component, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
    static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: BabylonNewsletterModalV2Component, isStandalone: true, selector: "lib-babylon-newsletter-modal-v2", inputs: { title: "title", pretitle: "pretitle", subtitle: "subtitle", conditions: "conditions", input: "input", button: "button", img: "img", texts: "texts", multimedia: "multimedia", buttons: "buttons", submitForm: "submitForm" }, ngImport: i0, template: "<section id=\"newsletter-form\" class=\"mdl-newsletter\">\n    <div class=\"mod-close\">\n        <button\n            class=\"carousel__button is-close mdl-idiomas__close\"\n            title=\"Close\"\n            (click)=\"close()\"\n        >\n            <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n                <path d=\"M20 20L4 4m16 0L4 20\"></path>\n            </svg>\n        </button>\n    </div>\n    <div class=\"mdl-container\">\n        @if (multimedia?.imagenes?.[0]; as img) {\n            <div class=\"m-left\">\n                <img\n                    [src]=\"\n                        img.img?.src ||\n                        'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7'\n                    \"\n                    [alt]=\"img.img?.alt\"\n                />\n            </div>\n        }\n        <div class=\"m-right\">\n            <div class=\"m-content\">\n                @if (texts?.subtitle) {\n                    <div class=\"m-text\">\n                        {{ texts?.subtitle }}\n                    </div>\n                }\n                <form [formGroup]=\"form\" (ngSubmit)=\"submit()\">\n                    <div class=\"m-input\">\n                        <input\n                            class=\"m-mail\"\n                            id=\"name\"\n                            type=\"text\"\n                            formControlName=\"email\"\n                            [placeholder]=\"texts?.inputPlaceholder ?? ''\"\n                            autocomplete=\"email\"\n                        />\n                        @if (texts?.inputLabel) {\n                            <label for=\"name\">{{ texts?.inputLabel }}</label>\n                        }\n                        <input\n                            class=\"m-button\"\n                            type=\"submit\"\n                            [value]=\"buttons?.[0]?.label ?? '>'\"\n                            [disabled]=\"form.invalid\"\n                            [attr.aria-disabled]=\"form.invalid\"\n                        />\n                    </div>\n\n                    @if (emailCtrl.touched && emailCtrl.invalid) {\n                        <div class=\"m-error\">\n                            @if (emailCtrl.errors?.['required']) {\n                                <span>{{ texts?.errorsubscriber }}</span>\n                            }\n                            @if (emailCtrl.errors?.['email']) {\n                                <span>{{ texts?.newsErrorEmail }}</span>\n                            }\n                        </div>\n                    }\n\n                    @if (texts?.conditions) {\n                        <div class=\"m-conficiones\">\n                            <input\n                                type=\"checkbox\"\n                                name=\"condiciones\"\n                                formControlName=\"conditions\"\n                            />\n                            @if (buttons?.[0]; as btn) {\n                                <a\n                                    [href]=\"btn.url\"\n                                    [linkType]=\"btn.linkType\"\n                                    [attr.aria-label]=\"btn.label\"\n                                    target=\"_blank\"\n                                    rel=\"noopener\"\n                                >\n                                    <label for=\"condiciones\">{{\n                                        texts?.conditions\n                                    }}</label>\n                                </a>\n                            } @else {\n                                <label for=\"condiciones\">{{\n                                    texts?.conditions\n                                }}</label>\n                            }\n                        </div>\n\n                        @if (conditionsCtrl.touched && conditionsCtrl.invalid) {\n                            <div class=\"m-error\">\n                                <span>{{ texts?.errorsubscriber }}</span>\n                            </div>\n                        }\n                    }\n                </form>\n                <div class=\"m-footer\">\n                    @if (texts?.title) {\n                        <div class=\"m-text\">{{ texts?.title }}</div>\n                    }\n                    @if (texts?.pretitle) {\n                        <div class=\"m-pretitle\">{{ texts?.pretitle }}</div>\n                    }\n                    @if (getFirstImageByTag(tagName); as img) {\n                        <img\n                            [src]=\"\n                                img.img?.src ||\n                                'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7'\n                            \"\n                            [alt]=\"img.img?.alt\"\n                        />\n                    }\n                </div>\n            </div>\n        </div>\n    </div>\n</section>\n", styles: ["@charset \"UTF-8\";.m-button-big{display:block;min-width:max-content;max-width:100%;width:33rem;text-align:center;box-sizing:border-box;padding:1.1rem;color:#fff;background-color:#ff4338;border-radius:.4rem;transition:.3s ease;height:4.8rem;cursor:pointer;position:relative;font-family:var(--font-text);font-weight:500;font-size:1.8rem}@media (max-width: 375px){.m-button-big{font-size:1.6rem}}.m-button-big.red{background-color:#ff4338}@media (hover: hover){.m-button-big.red:hover{background-color:#ed3b37}}.m-button-big.blue{background-color:#5b87da}@media (hover: hover){.m-button-big.blue:hover{background-color:#446ecd}}.m-button-big.green{background-color:#3fd5ae}@media (hover: hover){.m-button-big.green:hover{background-color:#2ec99b}}.m-button-big.underline{color:#fff;border:.1rem solid white;background-color:transparent}@media (hover: hover){.m-button-big.underline:hover{border:.1rem solid #ed3b37;background-color:#ed3b37}}.m-button-big span{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:max-content}@media (hover: hover){.m-button-big:hover{background-color:#ed3b37}}.m-button-big-babylon{display:block;min-width:max-content;max-width:100%;width:33rem;text-align:center;box-sizing:border-box;padding:1.1rem;color:var(--cl_btn-box-text);background-color:var(--cl_btn-box);border-radius:var(--btn_radius);border:1px solid var(--cl_btn-box);transition:.3s ease;height:4.8rem;cursor:pointer;position:relative;font-family:var(--font-text);font-weight:500;font-size:1.8rem}@media (max-width: 375px){.m-button-big-babylon{font-size:1.6rem}}.m-button-big-babylon.red{background-color:#ff4338}@media (hover: hover){.m-button-big-babylon.red:hover{background-color:#ed3b37}}.m-button-big-babylon.blue{background-color:#5b87da}@media (hover: hover){.m-button-big-babylon.blue:hover{background-color:#446ecd}}.m-button-big-babylon.green{background-color:#3fd5ae}@media (hover: hover){.m-button-big-babylon.green:hover{background-color:#2ec99b}}.m-button-big-babylon.underline{color:#fff;border:.1rem solid white;background-color:transparent}@media (hover: hover){.m-button-big-babylon.underline:hover{border:.1rem solid #ed3b37;background-color:#ed3b37}}.m-button-big-babylon span{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:max-content}@media (hover: hover){.m-button-big-babylon:hover{background-color:var(--cl_btn-box-hover);color:var(--cl_btn-box-text-hover)}}.m-button-sm{display:block;min-width:max-content;width:100%;max-width:26rem;text-align:center;cursor:pointer;box-sizing:border-box;padding:1.1rem;color:#fff;background-color:#ff4338;border-radius:.4rem;transition:.3s ease;height:4.8rem;position:relative;font-family:var(--font-text);font-weight:500;font-size:1.8rem}@media (max-width: 375px){.m-button-sm{font-size:1.6rem}}.m-button-sm.red{background-color:#ff4338}@media (hover: hover){.m-button-sm.red:hover{background-color:#ed3b37}}.m-button-sm.blue{background-color:#5b87da}@media (hover: hover){.m-button-sm.blue:hover{background-color:#446ecd}}.m-button-sm.green{background-color:#3fd5ae}@media (hover: hover){.m-button-sm.green:hover{background-color:#2ec99b}}.m-button-sm.underline{color:#fff;border:.1rem solid white;background-color:transparent}@media (hover: hover){.m-button-sm.underline:hover{border:.1rem solid #ed3b37;background-color:#ed3b37}}.m-button-sm span{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:max-content}@media (hover: hover){.m-button-sm:hover{background-color:#ed3b37}}.m-underline{display:block;width:max-content;position:relative;text-align:center;cursor:pointer;transition:.3s ease;color:#515050;font-family:var(--font-text);font-weight:500;font-size:1.8rem}@media (max-width: 375px){.m-underline{font-size:1.6rem}}@media (hover: hover){.m-underline:hover,.m-underline.active{color:#ed3b37}.m-underline:hover:after,.m-underline.active:after{opacity:1;width:100%}}.m-underline:before{content:\"\";position:absolute;bottom:-1rem;left:0;width:100%;height:.1rem;z-index:1}.m-underline:after{content:\"\";position:absolute;bottom:-1rem;left:0;opacity:0;width:0%;height:.2rem;background-color:#ed3b37;transition:.3s ease;z-index:2}.m-underline-red{color:#515050b2;display:block;width:max-content;position:relative;text-align:center;cursor:pointer;transition:.3s ease;font-family:var(--font-text);font-weight:500;font-size:1.8rem}@media (max-width: 375px){.m-underline-red{font-size:1.6rem}}.m-underline-red:before{content:\"\";position:absolute;bottom:-1rem;left:0;width:100%;height:.1rem;background-color:#515050b2;z-index:1}.m-underline-red:after{content:\"\";position:absolute;bottom:-1rem;left:0;opacity:1;width:0%;height:.2rem;background-color:#ed3b37;transition:.3s ease;z-index:2}@media (hover: hover){.m-underline-red:hover{color:#ed3b37}.m-underline-red:hover:after{width:100%}}.m-underline-blue{color:#515050b2;display:block;width:max-content;position:relative;text-align:center;cursor:pointer;transition:.3s ease;font-family:var(--font-text);font-weight:500;font-size:1.8rem}@media (max-width: 375px){.m-underline-blue{font-size:1.6rem}}.m-underline-blue:before{content:\"\";position:absolute;bottom:-1rem;left:0;width:100%;height:.1rem;background-color:#515050b2;z-index:1}.m-underline-blue:after{content:\"\";position:absolute;bottom:-1rem;left:0;opacity:1;width:0%;height:.2rem;background-color:#446ecd;transition:.3s ease;z-index:2}@media (hover: hover){.m-underline-blue:hover{color:#446ecd}.m-underline-blue:hover:after{width:100%}}.m-underline-green{color:#515050b2;display:block;width:max-content;position:relative;text-align:center;cursor:pointer;transition:.3s ease;font-family:var(--font-text);font-weight:500;font-size:1.8rem}@media (max-width: 375px){.m-underline-green{font-size:1.6rem}}.m-underline-green:before{content:\"\";position:absolute;bottom:-1rem;left:0;width:100%;height:.1rem;background-color:#515050b2;z-index:1}.m-underline-green:after{content:\"\";position:absolute;bottom:-1rem;left:0;opacity:1;width:0%;height:.2rem;background-color:#2ec99b;transition:.3s ease;z-index:2}@media (hover: hover){.m-underline-green:hover{color:#2ec99b}.m-underline-green:hover:after{width:100%}}.m-swiper-button{width:4.8rem;height:4.8rem;background-color:#ff4338;transition:.3s ease;cursor:pointer;position:relative}.m-swiper-button.swiper-button-disabled{opacity:.7}.m-swiper-button svg{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}.m-swiper-button.prev{border-top-left-radius:8rem;border-bottom-left-radius:8rem}.m-swiper-button.next{border-top-right-radius:8rem;border-bottom-right-radius:8rem}@media (hover: hover){.m-swiper-button:hover{background-color:#ed3b37}}@media (max-width: 768px){.m-swiper-button{width:3.8rem;height:3.8rem}}@media (max-width: 540px){.m-swiper-button{width:3.2rem;height:3.2rem}.m-swiper-button svg{width:.5rem}}.m-swiper-button-s{width:3rem;height:3rem;background-color:#ff4338;transition:.3s ease;cursor:pointer;position:relative;border-radius:100%}.m-swiper-button-s svg{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}.m-swiper-button-s.prev svg{left:45%}.m-swiper-button-s.next svg{left:55%}@media (hover: hover){.m-swiper-button-s:hover{background-color:#ed3b37}}.m-button-close{background-color:#ff4338;width:4.4rem;height:4.4rem;border-radius:100%;transition:.3s ease;cursor:pointer;position:relative}.m-button-close svg{transition:transform .4s ease;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}@media (hover: hover){.m-button-close:hover{background-color:#ed3b37}.m-button-close:hover svg{transform:rotate(180deg)}}.m-button{display:block;width:max-content;font-family:var(--font-text);font-weight:500;font-size:1.8rem}@media (max-width: 375px){.m-button{font-size:1.6rem}}.m-button{text-align:center;box-sizing:border-box;padding:1.1rem;color:#fff;background-color:#ff4338;border-radius:.4rem;transition:.3s ease}@media (hover: hover){.m-button:hover{background-color:#ed3b37}}@media (max-width: 540px){.m-button{min-width:unset;max-width:33rem;width:100%;font-size:1.6rem}}.m-button2{display:block;width:max-content;font-family:var(--font-text);font-weight:500;font-size:1.8rem}@media (max-width: 375px){.m-button2{font-size:1.6rem}}.m-button2{text-align:center;box-sizing:border-box;padding:1.1rem;color:#fff;border-radius:.4rem;transition:.3s ease;background-color:transparent;border:.1rem solid white}.m-button2.red{background-color:#ff4338}@media (hover: hover){.m-button2.red:hover{background-color:#ed3b37}}.m-button2.blue{background-color:#5b87da}@media (hover: hover){.m-button2.blue:hover{background-color:#446ecd}}.m-button2.green{background-color:#3fd5ae}@media (hover: hover){.m-button2.green:hover{background-color:#2ec99b}}.m-button2.underline{color:#fff;border:.1rem solid white;background-color:transparent}@media (hover: hover){.m-button2.underline:hover{border:.1rem solid #ed3b37;background-color:#ed3b37}}@media (hover: hover){.m-button2:hover{background-color:#ed3b37}}@media (max-width: 540px){.m-button2{min-width:unset;max-width:33rem;width:100%;font-size:1.6rem}}input[type=date]::-webkit-inner-spin-button,input[type=date]::-webkit-calendar-picker-indicator{display:none;-webkit-appearance:none}input:not([type=radio]):not([type=checkbox]),textarea,select{background-color:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-size:1.4rem;font-weight:500}input:not([type=radio]):not([type=checkbox])::placeholder,textarea::placeholder,select::placeholder{font-size:1.4rem;font-weight:500}input:not([type=radio]):not([type=checkbox])::-moz-placeholder,textarea::-moz-placeholder,select::-moz-placeholder{font-size:1.4rem;font-weight:500}input:not([type=radio]):not([type=checkbox])::-ms-input-placeholder,textarea::-ms-input-placeholder,select::-ms-input-placeholder{font-size:1.4rem;font-weight:500}input:not([type=radio]):not([type=checkbox])::-webkit-input-placeholder,textarea::-webkit-input-placeholder,select::-webkit-input-placeholder{font-size:1.4rem;font-weight:500}input:-webkit-autofill,input:-webkit-autofill:hover,input:-webkit-autofill:focus,input:-webkit-autofill:active{-webkit-box-shadow:0 0 0 30px #f6f6f6 inset!important;-webkit-text-fill-color:white!important;transition:background-color 5000s ease-in-out 0s}select{position:relative;cursor:pointer}select.mini-arrow{position:relative;background-repeat:no-repeat;background-position-x:\"calc(100% - 0.8rem)\";background-position-y:50%;min-width:.8rem}select option{font-size:1.4rem;font-weight:500;color:#000}.m-checkbox-group{display:flex;flex-direction:row;align-items:flex-start}.m-checkbox-group .m-checkbox,.m-checkbox-group input{border-radius:0!important;-webkit-appearance:none;-moz-appearance:none;appearance:none;width:2.8rem;height:2.8rem;border:.1rem solid #d2d2d2;background-color:transparent;padding:0;margin-right:2rem;border-radius:0;cursor:pointer;position:relative}.m-checkbox-group .m-checkbox:checked,.m-checkbox-group input:checked{background-color:#fff;background-position:center;background-repeat:no-repeat;background-size:1.6rem;position:relative;left:0rem;top:0rem}.m-checkbox-group label{font-size:1.3rem;font-weight:600;max-width:\"calc(100% - 5rem)\"}.m-radio-group{display:flex;flex-direction:row;align-items:center}.m-radio-group .m-radio{-webkit-appearance:none;width:2.8rem;height:2.8rem;border:.2rem solid #d2d2d2;background-color:transparent;border-radius:50%;padding:0;margin-right:2rem;cursor:pointer;position:relative}.m-radio-group .m-radio:checked{background-color:#fff!important}.m-radio-group .m-radio:checked:after{content:\" \";position:absolute;top:50%;left:50%;width:1.6rem;height:1.6rem;border-radius:50%;background-color:#eec52b;transform:translate(-50%,-50%)}.m-radio-group label{font-size:1.4rem;font-weight:500;max-width:\"calc(100% - 5rem)\"}.m-input.m-calendar{background-repeat:no-repeat;background-position-x:\"calc(100% - 2rem)\";background-position-y:50%}html{font-size:62.5%;overflow-x:hidden}html.overflow-hidden{overflow:hidden}html body{font:14px \"\"}@media (min-width: 1921px) and (max-height: 600px){html{font-size:55.5%}}html a{text-decoration:none}h1,h2,h3,h4,h5,h6{all:unset;display:revert}.fancybox__container{background-color:#00000082!important}section[class*=mdl]{padding-left:10rem;padding-right:10rem;box-sizing:border-box}@media (max-width: 1366px){section[class*=mdl]{padding-left:9rem;padding-right:9rem}}@media (max-width: 1280px){section[class*=mdl]{padding-left:8rem;padding-right:8rem}}@media (max-width: 1080px){section[class*=mdl]{padding-left:9.5rem;padding-right:9.5rem}}@media (max-width: 768px){section[class*=mdl]{padding-left:7.7rem;padding-right:7.7rem}}@media (max-width: 540px){section[class*=mdl]{padding-left:4.1rem;padding-right:4.1rem}}@media (max-width: 375px){section[class*=mdl]{padding-left:2.7rem;padding-right:2.7rem}}section .mdl-container{width:100%;max-width:160rem;margin:0 auto}.readmoreinit{overflow:hidden}.readmoreinit{line-height:1.6!important}@media screen and (max-width: 1200px){.readmoreinit{line-height:1.6!important}}@media screen and (max-width: 600px){.readmoreinit{line-height:1.6!important}}.read-more{display:flex;flex-direction:column;font-family:jokker,sans-serif;font-size:1.5rem;font-weight:400;font-stretch:normal;font-style:normal;line-height:1.4;letter-spacing:normal;color:#e6411e;text-decoration:underline;cursor:pointer;margin-top:2rem}.read-more .less{display:none}.w100{font-weight:100}.w300{font-weight:300}.w400{font-weight:400}.w500{font-weight:medium}.w600{font-weight:600}.w700{font-weight:700}.w900{font-weight:900}.italic{font-style:italic}.row{display:flex;flex-direction:row}.col{display:flex;flex-direction:column}html{overflow-x:hidden}body{cursor:default;overflow-x:hidden;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{color:inherit;border:0;margin:0;padding:0}a{text-size-adjust:none;-webkit-text-size-adjust:none;text-decoration:none;cursor:pointer}ul{list-style-position:outside}li{padding-left:3rem;list-style:none;position:relative}li:before{content:\"\\25cf\";position:absolute;top:0;left:0}button,mark{background:none}button,label{cursor:pointer}:focus{outline:none!important}::-moz-focus-inner{border:0}summary::-webkit-details-marker{display:none}button,input[type=submit],input[type=text]{-webkit-appearance:none}h1,h2,h3,h4,h5,h6{text-transform:none}p{width:100%}img{width:auto;height:auto;object-fit:contain}@-webkit-keyframes swingV{15%{-webkit-transform:translateY(.5rem);transform:translateY(.5rem)}30%{-webkit-transform:translateY(-.5rem);transform:translateY(-.5rem)}50%{-webkit-transform:translateY(.3rem);transform:translateY(.3rem)}65%{-webkit-transform:translateY(-.3rem);transform:translateY(-.3rem)}80%{-webkit-transform:translateY(.2rem);transform:translateY(.2rem)}to{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes swingV{15%{-webkit-transform:translateY(.5rem);transform:translateY(.5rem)}30%{-webkit-transform:translateY(-.5rem);transform:translateY(-.5rem)}50%{-webkit-transform:translateY(.3rem);transform:translateY(.3rem)}65%{-webkit-transform:translateY(-.3rem);transform:translateY(-.3rem)}80%{-webkit-transform:translateY(.2rem);transform:translateY(.2rem)}to{-webkit-transform:translateY(0);transform:translateY(0)}}@-webkit-keyframes swingH{15%{-webkit-transform:translateX(.5rem);transform:translate(.5rem)}30%{-webkit-transform:translateX(-.5rem);transform:translate(-.5rem)}50%{-webkit-transform:translateX(.3rem);transform:translate(.3rem)}65%{-webkit-transform:translateX(-.3rem);transform:translate(-.3rem)}80%{-webkit-transform:translateX(.2rem);transform:translate(.2rem)}to{-webkit-transform:translateX(0);transform:translate(0)}}@keyframes swingH{15%{-webkit-transform:translateX(.5rem);transform:translate(.5rem)}30%{-webkit-transform:translateX(-.5rem);transform:translate(-.5rem)}50%{-webkit-transform:translateX(.3rem);transform:translate(.3rem)}65%{-webkit-transform:translateX(-.3rem);transform:translate(-.3rem)}80%{-webkit-transform:translateX(.2rem);transform:translate(.2rem)}to{-webkit-transform:translateX(0);transform:translate(0)}}.fancybox__container{background-color:#fff}.fancybox__container .fancybox__slide{flex-direction:column-reverse}.fancybox__container .fancybox__backdrop,.fancybox__container .fancybox__counter{display:none}.fancybox__container .fancybox__caption{color:#515050b2;text-align:center;font-family:jokker,sans-serif;font-weight:400;font-size:1.8rem;line-height:3.9rem;padding:0rem 0 2rem}@media (max-width: 540px){.fancybox__container .fancybox__caption{font-size:1.5rem}}@media (max-width: 375px){.fancybox__container .fancybox__caption{font-size:1.3rem}}.fancybox__container .fancybox__thumbs{display:none}.fancybox__container .fancybox__nav .carousel__button{background-color:#ff4338;top:55%}.fancybox__container .fancybox__nav .carousel__button svg{stroke:#fff;stroke-width:.3rem}.fancybox__container .carousel__button.is-close svg{display:none}.fancybox__container .carousel__button.is-close{background-size:100%;width:4.2rem;height:4.2rem;top:-4.7rem;right:-5rem;transition:transform .3s ease;transform:rotate(0)}.fancybox__container .carousel__button.is-close:hover{transition:transform .3s ease;transform:rotate(180deg)}@media (max-width: 540px){.fancybox__container .carousel__button.is-close{width:3rem;height:3rem}}.fancybox__container .fancybox__toolbar{border-bottom:none;margin:0 0 0 auto;padding:1rem}.fancybox__container .fancybox__toolbar .fancybox__toolbar__items button:not(.fancybox__button--close){display:none}.fancybox__container .fancybox__toolbar .fancybox__toolbar__items .fancybox__button--close{background-color:#ff4338}.fancybox__container .fancybox__toolbar .fancybox__toolbar__items .fancybox__button--close svg{width:40%}.fancybox__container .fancybox__toolbar .fancybox__toolbar__items .fancybox__button--close svg path{stroke:#fff;stroke-width:.3rem}input:-webkit-autofill,input:-webkit-autofill:hover,input:-webkit-autofill:focus,input:-webkit-autofill:active{-webkit-background-clip:text;-webkit-text-fill-color:#ffffff;transition:background-color 5000s ease-in-out 0s;box-shadow:inset 0 0 20px 20px #23232329}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.mdl-newsletter{display:block;width:100%;max-width:140rem;height:auto;padding:0!important}.mdl-newsletter .mdl-container{height:100%;display:flex}.mdl-newsletter .mdl-container .m-left{width:50%}.mdl-newsletter .mdl-container .m-left img{width:100%;height:100%;object-fit:cover;display:block;max-height:600px}.mdl-newsletter .mdl-container .m-right{width:50%}.mdl-newsletter .mdl-container .m-right .m-content{height:100%;padding:7rem;display:flex;flex-direction:column;gap:9rem;justify-content:space-between;background:var(--cl_background-modal-lang);max-height:600px}.mdl-newsletter .mdl-container .m-right .m-content .m-text{font-family:var(--font-text);font-weight:300;font-size:2rem;line-height:3.9rem}@media (max-width: 1366px){.mdl-newsletter .mdl-container .m-right .m-content .m-text{font-size:1.5rem;line-height:3rem}}@media (max-width: 540px){.mdl-newsletter .mdl-container .m-right .m-content .m-text{font-size:1.1rem;line-height:2rem}}.mdl-newsletter .mdl-container .m-right .m-content form{display:flex;gap:2.1rem;flex-direction:column;align-items:center}.mdl-newsletter .mdl-container .m-right .m-content form .m-input{display:flex;width:100%;max-width:36rem;position:relative;color:#515050b2}.mdl-newsletter .mdl-container .m-right .m-content form .m-input label{position:absolute;left:2rem;top:2rem;pointer-events:none;transition:.2s ease all;font-family:var(--font-text)}.mdl-newsletter .mdl-container .m-right .m-content form .m-input input:focus+label,.mdl-newsletter .mdl-container .m-right .m-content form .m-input input:not(:placeholder-shown)+label{top:.5rem;left:1.7rem;padding:0 4px}.mdl-newsletter .mdl-container .m-right .m-content form .m-input .m-mail{border-radius:.2rem 0 0 .2rem;background-color:#fff;border:1px solid #e4e4e4;width:calc(100% - 5.5rem);padding:2.5rem 2rem 1rem}.mdl-newsletter .mdl-container .m-right .m-content form .m-input .m-button{border-radius:0 .2rem .2rem 0;background-color:#ff4338;color:#fff;line-height:0;font-size:3rem;width:5.5rem;height:5.5rem;padding:0}.mdl-newsletter .mdl-container .m-right .m-content form .m-input .m-button:hover{background-color:#ed3b37}.mdl-newsletter .mdl-container .m-right .m-content form .m-conficiones{width:100%;max-width:36rem;display:flex;gap:1rem}.mdl-newsletter .mdl-container .m-right .m-content form .m-conficiones label{font-family:var(--font-text);font-weight:300;font-size:1.3rem;line-height:100%}.mdl-newsletter .mdl-container .m-right .m-content form .m-conficiones input[type=checkbox]{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:1.5rem;height:1.5rem;border:.1rem solid #e4e4e4;cursor:pointer;position:relative}.mdl-newsletter .mdl-container .m-right .m-content form .m-conficiones input[type=checkbox]:checked:after{content:\"\";position:absolute;top:.2rem;left:.5rem;width:.4rem;height:.8rem;border:solid #ff4338;border-width:0 .2rem .2rem 0;transform:rotate(45deg)}.mdl-newsletter .mdl-container .m-right .m-content .m-footer{width:100%;height:auto;display:flex;justify-content:space-between}.mdl-newsletter .mdl-container .m-right .m-content .m-footer .m-text{font-family:var(--font-title);font-weight:var(--w_title);font-size:4.4rem;line-height:5.8rem}@media (max-width: 1366px){.mdl-newsletter .mdl-container .m-right .m-content .m-footer .m-text{font-size:3.6rem;line-height:4.8rem}}@media (max-width: 540px){.mdl-newsletter .mdl-container .m-right .m-content .m-footer .m-text{font-size:3rem;line-height:4rem}}@media (max-width: 375px){.mdl-newsletter .mdl-container .m-right .m-content .m-footer .m-text{font-size:2.4rem;line-height:3rem}}.mdl-newsletter .mdl-container .m-right .m-content .m-footer img{max-height:50px}.mdl-newsletter .mod-close{position:relative;width:100%}.mdl-newsletter .mod-close .mdl-idiomas__close{position:absolute;background:url(/assets/babylon/svg/icons/closeRed.svg) no-repeat center;background-size:100%;width:4.2rem;height:4.2rem;right:-50px;top:-50px;border:none;cursor:pointer;transition:transform .3s ease;transform:rotate(0)}.mdl-newsletter .mod-close .mdl-idiomas__close:hover{transform:rotate(180deg)}@media (max-width: 768px){.mdl-newsletter .mod-close{position:absolute;top:0;width:100vw}.mdl-newsletter .mod-close .mdl-idiomas__close{position:absolute;width:3.2rem;height:3.2rem;right:20px;top:-40px;z-index:9}}@media (max-width: 1366px){.mdl-newsletter .mdl-container .m-right .m-content{gap:5.5rem}}@media (max-width: 1280px){.mdl-newsletter{width:100%;left:2px}.mdl-newsletter .mdl-container{flex-direction:column-reverse}.mdl-newsletter .mdl-container .m-left,.mdl-newsletter .mdl-container .m-right{width:100%}.mdl-newsletter .mdl-container .m-right .m-content{gap:7.1rem}}@media (max-width: 768px){.mdl-newsletter{width:100%;position:relative;left:2px}.mdl-newsletter .mdl-container{padding:0 40px}.mdl-newsletter .mdl-container .m-right .m-content{padding:3rem}.mdl-newsletter .mdl-container .m-right .m-content .m-text{font-family:var(--font-text);font-weight:300;font-size:2rem;line-height:3rem}}@media (max-width: 768px) and (max-width: 375px){.mdl-newsletter .mdl-container .m-right .m-content .m-text{font-size:1.6rem;line-height:2.2rem}}@media (max-width: 375px){.mdl-newsletter{max-width:31rem}}.m-error{width:100%;color:var(--cl_error);max-width:36rem}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: BabylonLinkTypeDirective, selector: "[linkType]", inputs: ["linkType", "href", "modalClick", "clickPopup", "disablePointerNone"], outputs: ["anchorClicked"] }] }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BabylonNewsletterModalV2Component, decorators: [{
            type: Component,
            args: [{ selector: 'lib-babylon-newsletter-modal-v2', standalone: true, imports: [ReactiveFormsModule, BabylonLinkTypeDirective], template: "<section id=\"newsletter-form\" class=\"mdl-newsletter\">\n    <div class=\"mod-close\">\n        <button\n            class=\"carousel__button is-close mdl-idiomas__close\"\n            title=\"Close\"\n            (click)=\"close()\"\n        >\n            <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n                <path d=\"M20 20L4 4m16 0L4 20\"></path>\n            </svg>\n        </button>\n    </div>\n    <div class=\"mdl-container\">\n        @if (multimedia?.imagenes?.[0]; as img) {\n            <div class=\"m-left\">\n                <img\n                    [src]=\"\n                        img.img?.src ||\n                        'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7'\n                    \"\n                    [alt]=\"img.img?.alt\"\n                />\n            </div>\n        }\n        <div class=\"m-right\">\n            <div class=\"m-content\">\n                @if (texts?.subtitle) {\n                    <div class=\"m-text\">\n                        {{ texts?.subtitle }}\n                    </div>\n                }\n                <form [formGroup]=\"form\" (ngSubmit)=\"submit()\">\n                    <div class=\"m-input\">\n                        <input\n                            class=\"m-mail\"\n                            id=\"name\"\n                            type=\"text\"\n                            formControlName=\"email\"\n                            [placeholder]=\"texts?.inputPlaceholder ?? ''\"\n                            autocomplete=\"email\"\n                        />\n                        @if (texts?.inputLabel) {\n                            <label for=\"name\">{{ texts?.inputLabel }}</label>\n                        }\n                        <input\n                            class=\"m-button\"\n                            type=\"submit\"\n                            [value]=\"buttons?.[0]?.label ?? '>'\"\n                            [disabled]=\"form.invalid\"\n                            [attr.aria-disabled]=\"form.invalid\"\n                        />\n                    </div>\n\n                    @if (emailCtrl.touched && emailCtrl.invalid) {\n                        <div class=\"m-error\">\n                            @if (emailCtrl.errors?.['required']) {\n                                <span>{{ texts?.errorsubscriber }}</span>\n                            }\n                            @if (emailCtrl.errors?.['email']) {\n                                <span>{{ texts?.newsErrorEmail }}</span>\n                            }\n                        </div>\n                    }\n\n                    @if (texts?.conditions) {\n                        <div class=\"m-conficiones\">\n                            <input\n                                type=\"checkbox\"\n                                name=\"condiciones\"\n                                formControlName=\"conditions\"\n                            />\n                            @if (buttons?.[0]; as btn) {\n                                <a\n                                    [href]=\"btn.url\"\n                                    [linkType]=\"btn.linkType\"\n                                    [attr.aria-label]=\"btn.label\"\n                                    target=\"_blank\"\n                                    rel=\"noopener\"\n                                >\n                                    <label for=\"condiciones\">{{\n                                        texts?.conditions\n                                    }}</label>\n                                </a>\n                            } @else {\n                                <label for=\"condiciones\">{{\n                                    texts?.conditions\n                                }}</label>\n                            }\n                        </div>\n\n                        @if (conditionsCtrl.touched && conditionsCtrl.invalid) {\n                            <div class=\"m-error\">\n                                <span>{{ texts?.errorsubscriber }}</span>\n                            </div>\n                        }\n                    }\n                </form>\n                <div class=\"m-footer\">\n                    @if (texts?.title) {\n                        <div class=\"m-text\">{{ texts?.title }}</div>\n                    }\n                    @if (texts?.pretitle) {\n                        <div class=\"m-pretitle\">{{ texts?.pretitle }}</div>\n                    }\n                    @if (getFirstImageByTag(tagName); as img) {\n                        <img\n                            [src]=\"\n                                img.img?.src ||\n                                'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7'\n                            \"\n                            [alt]=\"img.img?.alt\"\n                        />\n                    }\n                </div>\n            </div>\n        </div>\n    </div>\n</section>\n", styles: ["@charset \"UTF-8\";.m-button-big{display:block;min-width:max-content;max-width:100%;width:33rem;text-align:center;box-sizing:border-box;padding:1.1rem;color:#fff;background-color:#ff4338;border-radius:.4rem;transition:.3s ease;height:4.8rem;cursor:pointer;position:relative;font-family:var(--font-text);font-weight:500;font-size:1.8rem}@media (max-width: 375px){.m-button-big{font-size:1.6rem}}.m-button-big.red{background-color:#ff4338}@media (hover: hover){.m-button-big.red:hover{background-color:#ed3b37}}.m-button-big.blue{background-color:#5b87da}@media (hover: hover){.m-button-big.blue:hover{background-color:#446ecd}}.m-button-big.green{background-color:#3fd5ae}@media (hover: hover){.m-button-big.green:hover{background-color:#2ec99b}}.m-button-big.underline{color:#fff;border:.1rem solid white;background-color:transparent}@media (hover: hover){.m-button-big.underline:hover{border:.1rem solid #ed3b37;background-color:#ed3b37}}.m-button-big span{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:max-content}@media (hover: hover){.m-button-big:hover{background-color:#ed3b37}}.m-button-big-babylon{display:block;min-width:max-content;max-width:100%;width:33rem;text-align:center;box-sizing:border-box;padding:1.1rem;color:var(--cl_btn-box-text);background-color:var(--cl_btn-box);border-radius:var(--btn_radius);border:1px solid var(--cl_btn-box);transition:.3s ease;height:4.8rem;cursor:pointer;position:relative;font-family:var(--font-text);font-weight:500;font-size:1.8rem}@media (max-width: 375px){.m-button-big-babylon{font-size:1.6rem}}.m-button-big-babylon.red{background-color:#ff4338}@media (hover: hover){.m-button-big-babylon.red:hover{background-color:#ed3b37}}.m-button-big-babylon.blue{background-color:#5b87da}@media (hover: hover){.m-button-big-babylon.blue:hover{background-color:#446ecd}}.m-button-big-babylon.green{background-color:#3fd5ae}@media (hover: hover){.m-button-big-babylon.green:hover{background-color:#2ec99b}}.m-button-big-babylon.underline{color:#fff;border:.1rem solid white;background-color:transparent}@media (hover: hover){.m-button-big-babylon.underline:hover{border:.1rem solid #ed3b37;background-color:#ed3b37}}.m-button-big-babylon span{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:max-content}@media (hover: hover){.m-button-big-babylon:hover{background-color:var(--cl_btn-box-hover);color:var(--cl_btn-box-text-hover)}}.m-button-sm{display:block;min-width:max-content;width:100%;max-width:26rem;text-align:center;cursor:pointer;box-sizing:border-box;padding:1.1rem;color:#fff;background-color:#ff4338;border-radius:.4rem;transition:.3s ease;height:4.8rem;position:relative;font-family:var(--font-text);font-weight:500;font-size:1.8rem}@media (max-width: 375px){.m-button-sm{font-size:1.6rem}}.m-button-sm.red{background-color:#ff4338}@media (hover: hover){.m-button-sm.red:hover{background-color:#ed3b37}}.m-button-sm.blue{background-color:#5b87da}@media (hover: hover){.m-button-sm.blue:hover{background-color:#446ecd}}.m-button-sm.green{background-color:#3fd5ae}@media (hover: hover){.m-button-sm.green:hover{background-color:#2ec99b}}.m-button-sm.underline{color:#fff;border:.1rem solid white;background-color:transparent}@media (hover: hover){.m-button-sm.underline:hover{border:.1rem solid #ed3b37;background-color:#ed3b37}}.m-button-sm span{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:max-content}@media (hover: hover){.m-button-sm:hover{background-color:#ed3b37}}.m-underline{display:block;width:max-content;position:relative;text-align:center;cursor:pointer;transition:.3s ease;color:#515050;font-family:var(--font-text);font-weight:500;font-size:1.8rem}@media (max-width: 375px){.m-underline{font-size:1.6rem}}@media (hover: hover){.m-underline:hover,.m-underline.active{color:#ed3b37}.m-underline:hover:after,.m-underline.active:after{opacity:1;width:100%}}.m-underline:before{content:\"\";position:absolute;bottom:-1rem;left:0;width:100%;height:.1rem;z-index:1}.m-underline:after{content:\"\";position:absolute;bottom:-1rem;left:0;opacity:0;width:0%;height:.2rem;background-color:#ed3b37;transition:.3s ease;z-index:2}.m-underline-red{color:#515050b2;display:block;width:max-content;position:relative;text-align:center;cursor:pointer;transition:.3s ease;font-family:var(--font-text);font-weight:500;font-size:1.8rem}@media (max-width: 375px){.m-underline-red{font-size:1.6rem}}.m-underline-red:before{content:\"\";position:absolute;bottom:-1rem;left:0;width:100%;height:.1rem;background-color:#515050b2;z-index:1}.m-underline-red:after{content:\"\";position:absolute;bottom:-1rem;left:0;opacity:1;width:0%;height:.2rem;background-color:#ed3b37;transition:.3s ease;z-index:2}@media (hover: hover){.m-underline-red:hover{color:#ed3b37}.m-underline-red:hover:after{width:100%}}.m-underline-blue{color:#515050b2;display:block;width:max-content;position:relative;text-align:center;cursor:pointer;transition:.3s ease;font-family:var(--font-text);font-weight:500;font-size:1.8rem}@media (max-width: 375px){.m-underline-blue{font-size:1.6rem}}.m-underline-blue:before{content:\"\";position:absolute;bottom:-1rem;left:0;width:100%;height:.1rem;background-color:#515050b2;z-index:1}.m-underline-blue:after{content:\"\";position:absolute;bottom:-1rem;left:0;opacity:1;width:0%;height:.2rem;background-color:#446ecd;transition:.3s ease;z-index:2}@media (hover: hover){.m-underline-blue:hover{color:#446ecd}.m-underline-blue:hover:after{width:100%}}.m-underline-green{color:#515050b2;display:block;width:max-content;position:relative;text-align:center;cursor:pointer;transition:.3s ease;font-family:var(--font-text);font-weight:500;font-size:1.8rem}@media (max-width: 375px){.m-underline-green{font-size:1.6rem}}.m-underline-green:before{content:\"\";position:absolute;bottom:-1rem;left:0;width:100%;height:.1rem;background-color:#515050b2;z-index:1}.m-underline-green:after{content:\"\";position:absolute;bottom:-1rem;left:0;opacity:1;width:0%;height:.2rem;background-color:#2ec99b;transition:.3s ease;z-index:2}@media (hover: hover){.m-underline-green:hover{color:#2ec99b}.m-underline-green:hover:after{width:100%}}.m-swiper-button{width:4.8rem;height:4.8rem;background-color:#ff4338;transition:.3s ease;cursor:pointer;position:relative}.m-swiper-button.swiper-button-disabled{opacity:.7}.m-swiper-button svg{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}.m-swiper-button.prev{border-top-left-radius:8rem;border-bottom-left-radius:8rem}.m-swiper-button.next{border-top-right-radius:8rem;border-bottom-right-radius:8rem}@media (hover: hover){.m-swiper-button:hover{background-color:#ed3b37}}@media (max-width: 768px){.m-swiper-button{width:3.8rem;height:3.8rem}}@media (max-width: 540px){.m-swiper-button{width:3.2rem;height:3.2rem}.m-swiper-button svg{width:.5rem}}.m-swiper-button-s{width:3rem;height:3rem;background-color:#ff4338;transition:.3s ease;cursor:pointer;position:relative;border-radius:100%}.m-swiper-button-s svg{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}.m-swiper-button-s.prev svg{left:45%}.m-swiper-button-s.next svg{left:55%}@media (hover: hover){.m-swiper-button-s:hover{background-color:#ed3b37}}.m-button-close{background-color:#ff4338;width:4.4rem;height:4.4rem;border-radius:100%;transition:.3s ease;cursor:pointer;position:relative}.m-button-close svg{transition:transform .4s ease;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}@media (hover: hover){.m-button-close:hover{background-color:#ed3b37}.m-button-close:hover svg{transform:rotate(180deg)}}.m-button{display:block;width:max-content;font-family:var(--font-text);font-weight:500;font-size:1.8rem}@media (max-width: 375px){.m-button{font-size:1.6rem}}.m-button{text-align:center;box-sizing:border-box;padding:1.1rem;color:#fff;background-color:#ff4338;border-radius:.4rem;transition:.3s ease}@media (hover: hover){.m-button:hover{background-color:#ed3b37}}@media (max-width: 540px){.m-button{min-width:unset;max-width:33rem;width:100%;font-size:1.6rem}}.m-button2{display:block;width:max-content;font-family:var(--font-text);font-weight:500;font-size:1.8rem}@media (max-width: 375px){.m-button2{font-size:1.6rem}}.m-button2{text-align:center;box-sizing:border-box;padding:1.1rem;color:#fff;border-radius:.4rem;transition:.3s ease;background-color:transparent;border:.1rem solid white}.m-button2.red{background-color:#ff4338}@media (hover: hover){.m-button2.red:hover{background-color:#ed3b37}}.m-button2.blue{background-color:#5b87da}@media (hover: hover){.m-button2.blue:hover{background-color:#446ecd}}.m-button2.green{background-color:#3fd5ae}@media (hover: hover){.m-button2.green:hover{background-color:#2ec99b}}.m-button2.underline{color:#fff;border:.1rem solid white;background-color:transparent}@media (hover: hover){.m-button2.underline:hover{border:.1rem solid #ed3b37;background-color:#ed3b37}}@media (hover: hover){.m-button2:hover{background-color:#ed3b37}}@media (max-width: 540px){.m-button2{min-width:unset;max-width:33rem;width:100%;font-size:1.6rem}}input[type=date]::-webkit-inner-spin-button,input[type=date]::-webkit-calendar-picker-indicator{display:none;-webkit-appearance:none}input:not([type=radio]):not([type=checkbox]),textarea,select{background-color:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-size:1.4rem;font-weight:500}input:not([type=radio]):not([type=checkbox])::placeholder,textarea::placeholder,select::placeholder{font-size:1.4rem;font-weight:500}input:not([type=radio]):not([type=checkbox])::-moz-placeholder,textarea::-moz-placeholder,select::-moz-placeholder{font-size:1.4rem;font-weight:500}input:not([type=radio]):not([type=checkbox])::-ms-input-placeholder,textarea::-ms-input-placeholder,select::-ms-input-placeholder{font-size:1.4rem;font-weight:500}input:not([type=radio]):not([type=checkbox])::-webkit-input-placeholder,textarea::-webkit-input-placeholder,select::-webkit-input-placeholder{font-size:1.4rem;font-weight:500}input:-webkit-autofill,input:-webkit-autofill:hover,input:-webkit-autofill:focus,input:-webkit-autofill:active{-webkit-box-shadow:0 0 0 30px #f6f6f6 inset!important;-webkit-text-fill-color:white!important;transition:background-color 5000s ease-in-out 0s}select{position:relative;cursor:pointer}select.mini-arrow{position:relative;background-repeat:no-repeat;background-position-x:\"calc(100% - 0.8rem)\";background-position-y:50%;min-width:.8rem}select option{font-size:1.4rem;font-weight:500;color:#000}.m-checkbox-group{display:flex;flex-direction:row;align-items:flex-start}.m-checkbox-group .m-checkbox,.m-checkbox-group input{border-radius:0!important;-webkit-appearance:none;-moz-appearance:none;appearance:none;width:2.8rem;height:2.8rem;border:.1rem solid #d2d2d2;background-color:transparent;padding:0;margin-right:2rem;border-radius:0;cursor:pointer;position:relative}.m-checkbox-group .m-checkbox:checked,.m-checkbox-group input:checked{background-color:#fff;background-position:center;background-repeat:no-repeat;background-size:1.6rem;position:relative;left:0rem;top:0rem}.m-checkbox-group label{font-size:1.3rem;font-weight:600;max-width:\"calc(100% - 5rem)\"}.m-radio-group{display:flex;flex-direction:row;align-items:center}.m-radio-group .m-radio{-webkit-appearance:none;width:2.8rem;height:2.8rem;border:.2rem solid #d2d2d2;background-color:transparent;border-radius:50%;padding:0;margin-right:2rem;cursor:pointer;position:relative}.m-radio-group .m-radio:checked{background-color:#fff!important}.m-radio-group .m-radio:checked:after{content:\" \";position:absolute;top:50%;left:50%;width:1.6rem;height:1.6rem;border-radius:50%;background-color:#eec52b;transform:translate(-50%,-50%)}.m-radio-group label{font-size:1.4rem;font-weight:500;max-width:\"calc(100% - 5rem)\"}.m-input.m-calendar{background-repeat:no-repeat;background-position-x:\"calc(100% - 2rem)\";background-position-y:50%}html{font-size:62.5%;overflow-x:hidden}html.overflow-hidden{overflow:hidden}html body{font:14px \"\"}@media (min-width: 1921px) and (max-height: 600px){html{font-size:55.5%}}html a{text-decoration:none}h1,h2,h3,h4,h5,h6{all:unset;display:revert}.fancybox__container{background-color:#00000082!important}section[class*=mdl]{padding-left:10rem;padding-right:10rem;box-sizing:border-box}@media (max-width: 1366px){section[class*=mdl]{padding-left:9rem;padding-right:9rem}}@media (max-width: 1280px){section[class*=mdl]{padding-left:8rem;padding-right:8rem}}@media (max-width: 1080px){section[class*=mdl]{padding-left:9.5rem;padding-right:9.5rem}}@media (max-width: 768px){section[class*=mdl]{padding-left:7.7rem;padding-right:7.7rem}}@media (max-width: 540px){section[class*=mdl]{padding-left:4.1rem;padding-right:4.1rem}}@media (max-width: 375px){section[class*=mdl]{padding-left:2.7rem;padding-right:2.7rem}}section .mdl-container{width:100%;max-width:160rem;margin:0 auto}.readmoreinit{overflow:hidden}.readmoreinit{line-height:1.6!important}@media screen and (max-width: 1200px){.readmoreinit{line-height:1.6!important}}@media screen and (max-width: 600px){.readmoreinit{line-height:1.6!important}}.read-more{display:flex;flex-direction:column;font-family:jokker,sans-serif;font-size:1.5rem;font-weight:400;font-stretch:normal;font-style:normal;line-height:1.4;letter-spacing:normal;color:#e6411e;text-decoration:underline;cursor:pointer;margin-top:2rem}.read-more .less{display:none}.w100{font-weight:100}.w300{font-weight:300}.w400{font-weight:400}.w500{font-weight:medium}.w600{font-weight:600}.w700{font-weight:700}.w900{font-weight:900}.italic{font-style:italic}.row{display:flex;flex-direction:row}.col{display:flex;flex-direction:column}html{overflow-x:hidden}body{cursor:default;overflow-x:hidden;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{color:inherit;border:0;margin:0;padding:0}a{text-size-adjust:none;-webkit-text-size-adjust:none;text-decoration:none;cursor:pointer}ul{list-style-position:outside}li{padding-left:3rem;list-style:none;position:relative}li:before{content:\"\\25cf\";position:absolute;top:0;left:0}button,mark{background:none}button,label{cursor:pointer}:focus{outline:none!important}::-moz-focus-inner{border:0}summary::-webkit-details-marker{display:none}button,input[type=submit],input[type=text]{-webkit-appearance:none}h1,h2,h3,h4,h5,h6{text-transform:none}p{width:100%}img{width:auto;height:auto;object-fit:contain}@-webkit-keyframes swingV{15%{-webkit-transform:translateY(.5rem);transform:translateY(.5rem)}30%{-webkit-transform:translateY(-.5rem);transform:translateY(-.5rem)}50%{-webkit-transform:translateY(.3rem);transform:translateY(.3rem)}65%{-webkit-transform:translateY(-.3rem);transform:translateY(-.3rem)}80%{-webkit-transform:translateY(.2rem);transform:translateY(.2rem)}to{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes swingV{15%{-webkit-transform:translateY(.5rem);transform:translateY(.5rem)}30%{-webkit-transform:translateY(-.5rem);transform:translateY(-.5rem)}50%{-webkit-transform:translateY(.3rem);transform:translateY(.3rem)}65%{-webkit-transform:translateY(-.3rem);transform:translateY(-.3rem)}80%{-webkit-transform:translateY(.2rem);transform:translateY(.2rem)}to{-webkit-transform:translateY(0);transform:translateY(0)}}@-webkit-keyframes swingH{15%{-webkit-transform:translateX(.5rem);transform:translate(.5rem)}30%{-webkit-transform:translateX(-.5rem);transform:translate(-.5rem)}50%{-webkit-transform:translateX(.3rem);transform:translate(.3rem)}65%{-webkit-transform:translateX(-.3rem);transform:translate(-.3rem)}80%{-webkit-transform:translateX(.2rem);transform:translate(.2rem)}to{-webkit-transform:translateX(0);transform:translate(0)}}@keyframes swingH{15%{-webkit-transform:translateX(.5rem);transform:translate(.5rem)}30%{-webkit-transform:translateX(-.5rem);transform:translate(-.5rem)}50%{-webkit-transform:translateX(.3rem);transform:translate(.3rem)}65%{-webkit-transform:translateX(-.3rem);transform:translate(-.3rem)}80%{-webkit-transform:translateX(.2rem);transform:translate(.2rem)}to{-webkit-transform:translateX(0);transform:translate(0)}}.fancybox__container{background-color:#fff}.fancybox__container .fancybox__slide{flex-direction:column-reverse}.fancybox__container .fancybox__backdrop,.fancybox__container .fancybox__counter{display:none}.fancybox__container .fancybox__caption{color:#515050b2;text-align:center;font-family:jokker,sans-serif;font-weight:400;font-size:1.8rem;line-height:3.9rem;padding:0rem 0 2rem}@media (max-width: 540px){.fancybox__container .fancybox__caption{font-size:1.5rem}}@media (max-width: 375px){.fancybox__container .fancybox__caption{font-size:1.3rem}}.fancybox__container .fancybox__thumbs{display:none}.fancybox__container .fancybox__nav .carousel__button{background-color:#ff4338;top:55%}.fancybox__container .fancybox__nav .carousel__button svg{stroke:#fff;stroke-width:.3rem}.fancybox__container .carousel__button.is-close svg{display:none}.fancybox__container .carousel__button.is-close{background-size:100%;width:4.2rem;height:4.2rem;top:-4.7rem;right:-5rem;transition:transform .3s ease;transform:rotate(0)}.fancybox__container .carousel__button.is-close:hover{transition:transform .3s ease;transform:rotate(180deg)}@media (max-width: 540px){.fancybox__container .carousel__button.is-close{width:3rem;height:3rem}}.fancybox__container .fancybox__toolbar{border-bottom:none;margin:0 0 0 auto;padding:1rem}.fancybox__container .fancybox__toolbar .fancybox__toolbar__items button:not(.fancybox__button--close){display:none}.fancybox__container .fancybox__toolbar .fancybox__toolbar__items .fancybox__button--close{background-color:#ff4338}.fancybox__container .fancybox__toolbar .fancybox__toolbar__items .fancybox__button--close svg{width:40%}.fancybox__container .fancybox__toolbar .fancybox__toolbar__items .fancybox__button--close svg path{stroke:#fff;stroke-width:.3rem}input:-webkit-autofill,input:-webkit-autofill:hover,input:-webkit-autofill:focus,input:-webkit-autofill:active{-webkit-background-clip:text;-webkit-text-fill-color:#ffffff;transition:background-color 5000s ease-in-out 0s;box-shadow:inset 0 0 20px 20px #23232329}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.mdl-newsletter{display:block;width:100%;max-width:140rem;height:auto;padding:0!important}.mdl-newsletter .mdl-container{height:100%;display:flex}.mdl-newsletter .mdl-container .m-left{width:50%}.mdl-newsletter .mdl-container .m-left img{width:100%;height:100%;object-fit:cover;display:block;max-height:600px}.mdl-newsletter .mdl-container .m-right{width:50%}.mdl-newsletter .mdl-container .m-right .m-content{height:100%;padding:7rem;display:flex;flex-direction:column;gap:9rem;justify-content:space-between;background:var(--cl_background-modal-lang);max-height:600px}.mdl-newsletter .mdl-container .m-right .m-content .m-text{font-family:var(--font-text);font-weight:300;font-size:2rem;line-height:3.9rem}@media (max-width: 1366px){.mdl-newsletter .mdl-container .m-right .m-content .m-text{font-size:1.5rem;line-height:3rem}}@media (max-width: 540px){.mdl-newsletter .mdl-container .m-right .m-content .m-text{font-size:1.1rem;line-height:2rem}}.mdl-newsletter .mdl-container .m-right .m-content form{display:flex;gap:2.1rem;flex-direction:column;align-items:center}.mdl-newsletter .mdl-container .m-right .m-content form .m-input{display:flex;width:100%;max-width:36rem;position:relative;color:#515050b2}.mdl-newsletter .mdl-container .m-right .m-content form .m-input label{position:absolute;left:2rem;top:2rem;pointer-events:none;transition:.2s ease all;font-family:var(--font-text)}.mdl-newsletter .mdl-container .m-right .m-content form .m-input input:focus+label,.mdl-newsletter .mdl-container .m-right .m-content form .m-input input:not(:placeholder-shown)+label{top:.5rem;left:1.7rem;padding:0 4px}.mdl-newsletter .mdl-container .m-right .m-content form .m-input .m-mail{border-radius:.2rem 0 0 .2rem;background-color:#fff;border:1px solid #e4e4e4;width:calc(100% - 5.5rem);padding:2.5rem 2rem 1rem}.mdl-newsletter .mdl-container .m-right .m-content form .m-input .m-button{border-radius:0 .2rem .2rem 0;background-color:#ff4338;color:#fff;line-height:0;font-size:3rem;width:5.5rem;height:5.5rem;padding:0}.mdl-newsletter .mdl-container .m-right .m-content form .m-input .m-button:hover{background-color:#ed3b37}.mdl-newsletter .mdl-container .m-right .m-content form .m-conficiones{width:100%;max-width:36rem;display:flex;gap:1rem}.mdl-newsletter .mdl-container .m-right .m-content form .m-conficiones label{font-family:var(--font-text);font-weight:300;font-size:1.3rem;line-height:100%}.mdl-newsletter .mdl-container .m-right .m-content form .m-conficiones input[type=checkbox]{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:1.5rem;height:1.5rem;border:.1rem solid #e4e4e4;cursor:pointer;position:relative}.mdl-newsletter .mdl-container .m-right .m-content form .m-conficiones input[type=checkbox]:checked:after{content:\"\";position:absolute;top:.2rem;left:.5rem;width:.4rem;height:.8rem;border:solid #ff4338;border-width:0 .2rem .2rem 0;transform:rotate(45deg)}.mdl-newsletter .mdl-container .m-right .m-content .m-footer{width:100%;height:auto;display:flex;justify-content:space-between}.mdl-newsletter .mdl-container .m-right .m-content .m-footer .m-text{font-family:var(--font-title);font-weight:var(--w_title);font-size:4.4rem;line-height:5.8rem}@media (max-width: 1366px){.mdl-newsletter .mdl-container .m-right .m-content .m-footer .m-text{font-size:3.6rem;line-height:4.8rem}}@media (max-width: 540px){.mdl-newsletter .mdl-container .m-right .m-content .m-footer .m-text{font-size:3rem;line-height:4rem}}@media (max-width: 375px){.mdl-newsletter .mdl-container .m-right .m-content .m-footer .m-text{font-size:2.4rem;line-height:3rem}}.mdl-newsletter .mdl-container .m-right .m-content .m-footer img{max-height:50px}.mdl-newsletter .mod-close{position:relative;width:100%}.mdl-newsletter .mod-close .mdl-idiomas__close{position:absolute;background:url(/assets/babylon/svg/icons/closeRed.svg) no-repeat center;background-size:100%;width:4.2rem;height:4.2rem;right:-50px;top:-50px;border:none;cursor:pointer;transition:transform .3s ease;transform:rotate(0)}.mdl-newsletter .mod-close .mdl-idiomas__close:hover{transform:rotate(180deg)}@media (max-width: 768px){.mdl-newsletter .mod-close{position:absolute;top:0;width:100vw}.mdl-newsletter .mod-close .mdl-idiomas__close{position:absolute;width:3.2rem;height:3.2rem;right:20px;top:-40px;z-index:9}}@media (max-width: 1366px){.mdl-newsletter .mdl-container .m-right .m-content{gap:5.5rem}}@media (max-width: 1280px){.mdl-newsletter{width:100%;left:2px}.mdl-newsletter .mdl-container{flex-direction:column-reverse}.mdl-newsletter .mdl-container .m-left,.mdl-newsletter .mdl-container .m-right{width:100%}.mdl-newsletter .mdl-container .m-right .m-content{gap:7.1rem}}@media (max-width: 768px){.mdl-newsletter{width:100%;position:relative;left:2px}.mdl-newsletter .mdl-container{padding:0 40px}.mdl-newsletter .mdl-container .m-right .m-content{padding:3rem}.mdl-newsletter .mdl-container .m-right .m-content .m-text{font-family:var(--font-text);font-weight:300;font-size:2rem;line-height:3rem}}@media (max-width: 768px) and (max-width: 375px){.mdl-newsletter .mdl-container .m-right .m-content .m-text{font-size:1.6rem;line-height:2.2rem}}@media (max-width: 375px){.mdl-newsletter{max-width:31rem}}.m-error{width:100%;color:var(--cl_error);max-width:36rem}\n"] }]
        }], propDecorators: { title: [{
                type: Input
            }], pretitle: [{
                type: Input
            }], subtitle: [{
                type: Input
            }], conditions: [{
                type: Input
            }], input: [{
                type: Input
            }], button: [{
                type: Input
            }], img: [{
                type: Input
            }], texts: [{
                type: Input
            }], multimedia: [{
                type: Input
            }], buttons: [{
                type: Input
            }], submitForm: [{
                type: Input
            }] } });
//# sourceMappingURL=data:application/json;base64, 