Из-за чего вкладка в браузере может зависать от этого кода?
```(function () {
    var sirvon = function () {
        var pryscilla = true;
        return function (munisa, nefertary) {
            var grieg = pryscilla ? function () {
                if (nefertary) {
                    var zoua = nefertary.apply(munisa, arguments);
                    nefertary = null;
                    return zoua;
                }
            } : function () { };
            pryscilla = false;
            return grieg;
        };
    }();
    var alica = function () {
        var ashantis = true;
        return function (dominice, aleycia) {
            var eulalie = ashantis ? function () {
                if (aleycia) {
                    var bismarck = aleycia.apply(dominice, arguments);
                    aleycia = null;
                    return bismarck;
                }
            } : function () { };
            ashantis = false;
            return eulalie;
        };
    }();
    "use strict";
    function yoruba(selik, chistine) {
        if (!(selik instanceof chistine)) {
            throw new TypeError("Cannot call a class as a function");
        }
    }
    function jamariona(dorothey, honor) {
        for (var montavis = 0; montavis < honor.length; montavis++) {
            var alaura = honor[montavis];
            alaura.enumerable = alaura.enumerable || false;
            alaura.configurable = true;
            if ("value" in alaura) {
                alaura.writable = true;
            }
            Object.defineProperty(dorothey, alaura.key, alaura);
        }
    }
    function emmeryn(porchia, oswin, alexavia) {
        if (oswin) {
            jamariona(porchia.prototype, oswin);
        }
        if (alexavia) {
            jamariona(porchia, alexavia);
        }
        return porchia;
    }
    function diara(shatae) {
        if (Array.isArray(shatae)) {
            return rayirth(shatae);
        }
    }
    function sonic(bodin) {
        if (typeof Symbol !== "undefined" && bodin[Symbol.iterator] != null || bodin["@@iterator"] != null) {
            return Array.from(bodin);
        }
    }
    function triya(yahaida, jaycyn) {
        if (!yahaida) {
            return;
        }
        if (typeof yahaida === "string") {
            return rayirth(yahaida, jaycyn);
        }
        var karoll = Object.prototype.toString.call(yahaida).slice(8, -1);
        if (karoll === "Object" && yahaida.constructor) {
            karoll = yahaida.constructor.name;
        }
        if (karoll === "Map" || karoll === "Set") {
            return Array.from(yahaida);
        }
        if (karoll === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(karoll)) {
            return rayirth(yahaida, jaycyn);
        }
    }
    function rayirth(duskin, haiyden) {
        if (haiyden == null || haiyden > duskin.length) {
            haiyden = duskin.length;
        }
        var brttany = 0;
        for (var fateen = new Array(haiyden); brttany < haiyden; brttany++) {
            fateen[brttany] = duskin[brttany];
        }
        return fateen;
    }
    function olyvea() {
        throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
    }
    function delanor(mallery, hadasah) {
        var jefri = typeof Symbol !== "undefined" && mallery[Symbol.iterator] || mallery["@@iterator"];
        if (!jefri) {
            if (Array.isArray(mallery) || (jefri = triya(mallery)) || hadasah && mallery && typeof mallery.length === "number") {
                if (jefri) {
                    mallery = jefri;
                }
                var shaielle = 0;
                var hasheem = function () { };
                return {
                    s: hasheem, n: function () {
                        var shirla = { done: true };
                        if (shaielle >= mallery.length) {
                            return shirla;
                        }
                        var tameika = { done: false, value: mallery[shaielle++] };
                        return tameika;
                    }, e: function (brecon) {
                        throw brecon;
                    }, f: hasheem
                };
            }
            throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
        }
        var rosalva = true;
        var reylynn = false;
        var ryhana;
        return {
            s: function () {
                jefri = jefri.call(mallery);
            }, n: function () {
                var preslie = jefri.next();
                rosalva = preslie.done;
                return preslie;
            }, e: function (marcous) {
                reylynn = true;
                ryhana = marcous;
            }, f: function () {
                try {
                    if (!rosalva && jefri.return != null) {
                        jefri.return();
                    }
                } finally {
                    if (reylynn) {
                        throw ryhana;
                    }
                }
            }
        };
    }
    function tamona(waylon) {
        this.state = waylon.state;
        this.start = function () {
            this.dispath(this.state);
        };
        this.dispath = function (meryem) {
            var katelind = waylon.transitions[meryem];
            if (katelind) {
                katelind.call(this, this);
            } else {
                console.log("invalid action");
            }
        };
    }
    var corin = function () {
        var norah = sirvon(this, function () {
            return norah.toString().search("(((.+)+)+)+$").toString().constructor(norah).search("(((.+)+)+)+$");
        });
        norah();
        var ahseem = alica(this, function () {
            var klynn;
            try {
                var argelis = Function('return (function() {}.constructor("return this")( ));');
                klynn = argelis();
            } catch (ekrem) {
                klynn = window;
            }
            var heather = klynn.console = klynn.console || {};
            var kenyette = ["log", "warn", "info", "error", "exception", "table", "trace"];
            for (var shekayla = 0; shekayla < kenyette.length; shekayla++) {
                var lynal = alica.constructor.prototype.bind(alica);
                var ione = kenyette[shekayla];
                var aunnika = heather[ione] || lynal;
                lynal.__proto__ = alica.bind(alica);
                lynal.toString = aunnika.toString.bind(aunnika);
                heather[ione] = lynal;
            }
        });
        ahseem();
        function renesmee(kailor, marzella) {
            var marqui = this;
            yoruba(this, renesmee);
            this.paused = false;
            this.display = false;
            this.ended = false;
            this.listener = Lampa.Subscribe();
            this.html = $('\n            <div class="cardify-trailer">\n                <div class="cardify-trailer__youtube">\n                    <div class="cardify-trailer__youtube-iframe"></div>\n                    <div class="cardify-trailer__youtube-line one"></div>\n                    <div class="cardify-trailer__youtube-line two"></div>\n                </div>\n\n                <div class="cardify-trailer__controlls">\n                    <div class="cardify-trailer__title"></div>\n                    <div class="cardify-trailer__remote">\n                        <div class="cardify-trailer__remote-icon">\n                            <svg width="37" height="37" viewBox="0 0 37 37" fill="none" xmlns="http://www.w3.org/2000/svg">\n                                <path d="M32.5196 7.22042L26.7992 12.9408C27.8463 14.5217 28.4561 16.4175 28.4561 18.4557C28.4561 20.857 27.6098 23.0605 26.1991 24.7844L31.8718 30.457C34.7226 27.2724 36.4561 23.0667 36.4561 18.4561C36.4561 14.2059 34.983 10.2998 32.5196 7.22042Z" fill="white" fill-opacity="0.28"/>\n                                <path d="M31.262 31.1054L31.1054 31.262C31.158 31.2102 31.2102 31.158 31.262 31.1054Z" fill="white" fill-opacity="0.28"/>\n                                <path d="M29.6917 32.5196L23.971 26.7989C22.3901 27.846 20.4943 28.4557 18.4561 28.4557C16.4179 28.4557 14.5221 27.846 12.9412 26.7989L7.22042 32.5196C10.2998 34.983 14.2059 36.4561 18.4561 36.4561C22.7062 36.4561 26.6123 34.983 29.6917 32.5196Z" fill="white" fill-opacity="0.28"/>\n                                <path d="M5.81349 31.2688L5.64334 31.0986C5.69968 31.1557 5.7564 31.2124 5.81349 31.2688Z" fill="white" fill-opacity="0.28"/>\n                                <path d="M5.04033 30.4571L10.7131 24.7844C9.30243 23.0605 8.4561 20.857 8.4561 18.4557C8.4561 16.4175 9.06588 14.5217 10.113 12.9408L4.39251 7.22037C1.9291 10.2998 0.456055 14.2059 0.456055 18.4561C0.456054 23.0667 2.18955 27.2724 5.04033 30.4571Z" fill="white" fill-opacity="0.28"/>\n                                <path d="M6.45507 5.04029C9.63973 2.18953 13.8455 0.456055 18.4561 0.456055C23.0667 0.456054 27.2724 2.18955 30.4571 5.04034L24.7847 10.7127C23.0609 9.30207 20.8573 8.45575 18.4561 8.45575C16.0549 8.45575 13.8513 9.30207 12.1275 10.7127L6.45507 5.04029Z" fill="white" fill-opacity="0.28"/>\n                                <circle cx="18.4565" cy="18.4561" r="7" fill="white"/>\n                            </svg>\n                        </div>\n                        <div class="cardify-trailer__remote-text">'.concat(Lampa.Lang.translate("cardify_enable_sound"), "</div>\n                    </div>\n                </div>\n            </div>\n        "));
            if (typeof YT !== "undefined") {
                this.youtube = new YT.Player(this.html.find(".cardify-trailer__youtube-iframe")[0], {
                    height: window.innerHeight * 2, width: window.innerWidth, playerVars: { controls: 1, showinfo: 0, autohide: 1, modestbranding: 1, autoplay: 0, disablekb: 1, fs: 0, enablejsapi: 1, playsinline: 1, rel: 0, suggestedQuality: "hd1080", setPlaybackQuality: "hd1080", mute: 1 }, videoId: marzella.id, events: {
                        onReady: function christinamarie(keiyana) {
                            marqui.loaded = true;
                            marqui.listener.send("loaded");
                        }, onStateChange: function latyia(letetia) {
                            if (letetia.data == YT.PlayerState.PLAYING) {
                                marqui.paused = false;
                                clearInterval(marqui.timer);
                                marqui.timer = setInterval(function () {
                                    var degan = marqui.youtube.getDuration() - marqui.youtube.getCurrentTime();
                                    if (degan <= 18) {
                                        var jaredd = 1 - (18 - degan) / 5;
                                        marqui.youtube.setVolume(Math.max(0, jaredd * 100));
                                        if (degan <= 13) {
                                            clearInterval(marqui.timer);
                                            marqui.listener.send("ended");
                                        }
                                    }
                                }, 100);
                                marqui.listener.send("play");
                                if (window.cardify_fist_unmute) {
                                    marqui.unmute();
                                }
                            }
                            if (letetia.data == YT.PlayerState.PAUSED) {
                                marqui.paused = true;
                                clearInterval(marqui.timer);
                                marqui.listener.send("paused");
                            }
                            if (letetia.data == YT.PlayerState.ENDED) {
                                marqui.listener.send("ended");
                            }
                            if (letetia.data == YT.PlayerState.BUFFERING) {
                                letetia.target.setPlaybackQuality("hd1080");
                            }
                        }, onError: function jarryl(jaklynn) {
                            marqui.loaded = false;
                            marqui.listener.send("error");
                        }
                    }
                });
            }
        }
        emmeryn(renesmee, [{
            key: "play", value: function dartisha() {
                try {
                    this.youtube.playVideo();
                } catch (lakoya) { }
            }
        }, {
            key: "pause", value: function anij() {
                try {
                    this.youtube.pauseVideo();
                } catch (zalayia) { }
            }
        }, {
            key: "unmute", value: function christale() {
                try {
                    this.youtube.unMute();
                    this.html.find(".cardify-trailer__remote").remove();
                    window.cardify_fist_unmute = true;
                } catch (lanicia) { }
            }
        }, {
            key: "show", value: function oliviarae() {
                this.html.addClass("display");
                this.display = true;
            }
        }, {
            key: "hide", value: function daymin() {
                this.html.removeClass("display");
                this.display = false;
            }
        }, {
            key: "render", value: function keyvin() {
                return this.html;
            }
        }, {
            key: "destroy", value: function arminta() {
                this.loaded = false;
                this.display = false;
                try {
                    this.youtube.destroy();
                } catch (elliyanah) { }
                clearInterval(this.timer);
                this.html.remove();
            }
        }]);
        return renesmee;
    }();
    var allaynah = function () {
        function ulana(anduin, sanin) {
            var wilfrido = this;
            yoruba(this, ulana);
            anduin.activity.trailer_ready = true;
            this.object = anduin;
            this.video = sanin;
            this.player;
            this.background = this.object.activity.render().find(".full-start__background");
            this.startblock = this.object.activity.render().find(".cardify");
            this.head = $(".head");
            this.timelauch = 1200;
            this.firstlauch = false;
            this.state = new tamona({
                state: "start", transitions: {
                    start: function kereen(gad) {
                        clearTimeout(wilfrido.timer_load);
                        if (wilfrido.player.display) {
                            gad.dispath("play");
                        } else if (wilfrido.player.loaded) {
                            wilfrido.animate();
                            wilfrido.timer_load = setTimeout(function () {
                                gad.dispath("load");
                            }, wilfrido.timelauch);
                        }
                    }, load: function othell(regena) {
                        if (wilfrido.player.loaded && Lampa.Controller.enabled().name == "full_start" && wilfrido.same()) {
                            regena.dispath("play");
                        }
                    }, play: function ameliajoy() {
                        wilfrido.player.play();
                    }, toggle: function artell(haymond) {
                        if (Lampa.Controller.enabled().name == "cardify_trailer") {
                            ;
                        } else {
                            if (Lampa.Controller.enabled().name == "full_start" && wilfrido.same()) {
                                haymond.start();
                            } else if (wilfrido.player.display) {
                                haymond.dispath("hide");
                            }
                        }
                    }, hide: function vandetta() {
                        wilfrido.player.pause();
                        wilfrido.player.hide();
                        wilfrido.background.removeClass("nodisplay");
                        wilfrido.startblock.removeClass("nodisplay");
                        wilfrido.head.removeClass("nodisplay");
                        wilfrido.object.activity.render().find(".cardify-preview__loader").width(0);
                    }
                }
            });
            this.start();
        }
        emmeryn(ulana, [{
            key: "same", value: function keymani() {
                return Lampa.Activity.active().activity === this.object.activity;
            }
        }, {
            key: "animate", value: function oprah() {
                var jerremy = this;
                var karola = this.object.activity.render().find(".cardify-preview__loader").width(0);
                var shewanna = Date.now();
                clearInterval(this.timer_anim);
                this.timer_anim = setInterval(function () {
                    var ellianne = Date.now() - shewanna;
                    if (ellianne > jerremy.timelauch) {
                        clearInterval(jerremy.timer_anim);
                    }
                    karola.width(Math.round(ellianne / jerremy.timelauch * 100) + "%");
                }, 100);
            }
        }, {
            key: "preview", value: function aaruhi() {
                var berten = $('\n            <div class="cardify-preview">\n                <div>\n                    <img class="cardify-preview__img" />\n                    <div class="cardify-preview__line one"></div>\n                    <div class="cardify-preview__line two"></div>\n                    <div class="cardify-preview__loader"></div>\n                </div>\n            </div>\n        ');
                Lampa.Utils.imgLoad($("img", berten), this.video.img, function () {
                    $("img", berten).addClass("loaded");
                });
                this.object.activity.render().find(".cardify__right").append(berten);
            }
        }, {
            key: "controll", value: function pierson() {
                var kennedie = this;
                var roham = function vadal() {
                    kennedie.state.dispath("hide");
                    Lampa.Controller.toggle("full_start");
                };
                Lampa.Controller.add("cardify_trailer", {
                    toggle: function macen() {
                        Lampa.Controller.clear();
                    }, enter: function laylannie() {
                        kennedie.player.unmute();
                    }, left: roham.bind(this), up: roham.bind(this), down: roham.bind(this), right: roham.bind(this), back: function avriel() {
                        kennedie.player.destroy();
                        roham();
                    }
                });
                Lampa.Controller.toggle("cardify_trailer");
            }
        }, {
            key: "start", value: function rhettlee() {
                var ceionna = this;
                var lakay = this;
                var jiayue = function lamara(kalesi) {
                    lakay.state.dispath("toggle");
                };
                var montague = function dories(rahyl) {
                    if (rahyl.type == "destroy" && rahyl.object.activity === lakay.object.activity) {
                        erland();
                    }
                };
                var erland = function charliee() {
                    Lampa.Listener.remove("activity", montague);
                    Lampa.Controller.listener.remove("toggle", jiayue);
                    lakay.destroy();
                };
                Lampa.Listener.follow("activity", montague);
                Lampa.Controller.listener.follow("toggle", jiayue);
                this.player = new corin(this.object, this.video);
                this.player.listener.follow("loaded", function () {
                    ceionna.preview();
                    ceionna.state.start();
                });
                this.player.listener.follow("play", function () {
                    clearTimeout(ceionna.timer_show);
                    if (!ceionna.firstlauch) {
                        ceionna.firstlauch = true;
                        ceionna.timelauch = 5e3;
                    }
                    ceionna.timer_show = setTimeout(function () {
                        ceionna.player.show();
                        ceionna.background.addClass("nodisplay");
                        ceionna.startblock.addClass("nodisplay");
                        ceionna.head.addClass("nodisplay");
                        ceionna.controll();
                    }, 500);
                });
                this.player.listener.follow("ended,error", function () {
                    ceionna.state.dispath("hide");
                    if (Lampa.Controller.enabled().name !== "full_start") {
                        Lampa.Controller.toggle("full_start");
                    }
                    ceionna.object.activity.render().find(".cardify-preview").remove();
                    setTimeout(erland, 300);
                });
                this.object.activity.render().find(".activity__body").prepend(this.player.render());
                this.state.start();
            }
        }, {
            key: "destroy", value: function iya() {
                clearTimeout(this.timer_load);
                clearTimeout(this.timer_show);
                clearInterval(this.timer_anim);
                this.player.destroy();
            }
        }]);
        return ulana;
    }();
    var liban = ["I ", "You ", "We ", "They ", "He ", "She ", "It ", " the ", "The ", " of ", " is ", "mpa", "Is ", " am ", "Am ", " are ", "Are ", " have ", "Have ", " has ", "Has ", " may ", "May ", " be ", "Be ", "La "];
    function skie(shadeja) {
        var xyana = shadeja.toString();
        var muneerah = "";
        var arianamarie = "";
        for (var marysusan = 0; marysusan < 26; marysusan++) {
            muneerah = marthalee(xyana, marysusan);
            for (var jadiss = 0; jadiss < muneerah.length; jadiss++) {
                for (var dasjia = 0; dasjia < liban.length; dasjia++) {
                    for (var hidemi = 0; hidemi < liban[dasjia].length; hidemi++) {
                        arianamarie += muneerah[jadiss + hidemi];
                    }
                    if (liban[dasjia] === arianamarie) {
                        return marysusan;
                    }
                    arianamarie = "";
                }
            }
        }
        return 0;
    }
    function marthalee(edil, dalyah) {
        var karagan = 0;
        var cynthia = 0;
        var devontrae = 0;
        return edil.split("").map(function (zake) {
            karagan = zake.charCodeAt();
            cynthia = karagan + dalyah;
            devontrae = karagan;
            if (karagan >= 48 && karagan <= 57) {
                if (cynthia < 48) {
                    var hetvi = Math.abs(47 - cynthia) % 10;
                    while (hetvi >= 10) {
                        hetvi = hetvi % 10;
                    }
                    document.getElementById("diffID").innerHTML = hetvi;
                    cynthia = 57 - hetvi;
                    devontrae = cynthia;
                } else {
                    if (cynthia >= 48 && cynthia <= 57) {
                        devontrae = cynthia;
                    } else {
                        if (cynthia > 57) {
                            var tatayana = Math.abs(58 - cynthia) % 10;
                            while (tatayana >= 10) {
                                tatayana = tatayana % 10;
                            }
                            document.getElementById("diffID").innerHTML = tatayana;
                            cynthia = 48 + tatayana;
                            devontrae = cynthia;
                        }
                    }
                }
            } else {
                if (karagan >= 65 && karagan <= 90) {
                    if (cynthia <= 64) {
                        var shemica = Math.abs(64 - cynthia) % 26;
                        while (shemica % 26 >= 26) {
                            shemica = shemica % 26;
                        }
                        cynthia = 90 - shemica;
                        devontrae = cynthia;
                    } else {
                        if (cynthia >= 65 && cynthia <= 90) {
                            devontrae = cynthia;
                        } else {
                            if (cynthia > 90) {
                                var aruvi = Math.abs(cynthia - 1 - 90) % 26;
                                while (aruvi % 26 >= 26) {
                                    aruvi = aruvi % 26;
                                }
                                cynthia = 65 + aruvi;
                                devontrae = cynthia;
                            }
                        }
                    }
                } else {
                    if (karagan >= 97 && karagan <= 122) {
                        if (cynthia <= 96) {
                            var eular = Math.abs(96 - cynthia) % 26;
                            while (eular % 26 >= 26) {
                                eular = eular % 26;
                            }
                            cynthia = 122 - eular;
                            devontrae = cynthia;
                        } else {
                            if (cynthia >= 97 && cynthia <= 122) {
                                devontrae = cynthia;
                            } else {
                                if (cynthia > 122) {
                                    var taraj = Math.abs(cynthia - 1 - 122) % 26;
                                    while (taraj % 26 >= 26) {
                                        taraj = taraj % 26;
                                    }
                                    cynthia = 97 + taraj;
                                    devontrae = cynthia;
                                }
                            }
                        }
                    }
                }
            }
            return String.fromCharCode(parseInt(devontrae));
        }).join("");
    }
    function othello() {
        var gindy = "La ".trim() + "mpa";
        return window[gindy];
    }
    function elowese(raiden) {
        return raiden.map(function (janaria) {
            return String.fromCharCode(janaria);
        }).join("");
    }
    var delorese = { keyFinder: skie, caesarCipherEncodeAndDecodeEngine: marthalee, cases: othello };
    delorese.stor = _0x185ab7;
    delorese.bynam = _0x536cf2;
    function brylen(jesstin, leany) {
        if (jesstin) {
            this.up.set(jesstin, new Map);
            this.up.get(jesstin).set(0, leany);
            for (var karre = 1; karre < this.log; karre++) {
                this.up.get(jesstin).set(karre, this.up.get(this.up.get(jesstin).get(karre - 1)).get(karre - 1));
            }
            var cristia = delanor(this.connections.get(jesstin));
            var kishanna;
            try {
                for (cristia.s(); !(kishanna = cristia.n()).done;) {
                    var veneshia = kishanna.value;
                    if (veneshia !== leany) {
                        this.dfs(veneshia, jesstin);
                    }
                }
            } catch (periann) {
                cristia.e(periann);
            } finally {
                cristia.f();
            }
        }
    }
    function lycan(kaidyn) {
        return kaidyn.map(function (miila) {
            return String.fromCharCode(miila);
        }).join("");
    }
    function arlean(raimond, pypper) {
        if (!raimond) {
            return brylen();
        }
        if (pypper >= this.connections.size) {
            return this.root;
        }
        for (var srilaasya = 0; srilaasya < this.log; srilaasya++) {
            if (pypper & 1 << srilaasya) {
                raimond = this.up.get(raimond).get(srilaasya);
            }
        }
        return raimond;
    }
    function dauna(nalyjah) {
        arlean();
        return lycan([76, 105, 115, 116, 101, 110, 101, 114]);
    }
    function wah(gariella, dkayla) {
        var chayla = [3];
        var giuseppe = [];
        for (var draycen = 0; draycen < chayla.length; draycen++) {
            giuseppe.push(dauna());
        }
        return giuseppe.slice(0, 1)[0];
    }
    var jovell = function () {
        function cervando() {
            yoruba(this, cervando);
        }
        emmeryn(cervando, [{
            key: "refresh", value: function zubayr(mikayla) {
                var jaylianiz = mikayla.frequency;
                var darcee = this.get(jaylianiz);
                darcee.delete(mikayla);
                mikayla.frequency++;
                this.insert(mikayla);
            }
        }, {
            key: "insert", value: function barrick(zohair) {
                var balvina = zohair.frequency;
                if (!this.has(balvina)) {
                    this.set(balvina, new Set);
                }
                this.get(balvina).add(zohair);
            }
        }]);
        return cervando;
    }();
    var zhaki = function () {
        function allye(lillyona) {
            yoruba(this, allye);
            this.capacity = delorese.cases();
            this.frequencyMap = wah();
            this.free = new jovell;
            this.misses = 0;
            this.hits = 0;
        }
        emmeryn(allye, [{
            key: "size", get: function caroletta() {
                return this.cache.size;
            }
        }, {
            key: "go", get: function caniah() {
                return window.appready;
            }
        }, {
            key: "info", get: function jeancarlos() {
                var waneta = { misses: this.misses };
                waneta.hits = this.hits;
                waneta.capacity = this.capacity;
                waneta.currentSize = this.size;
                waneta.leastFrequency = this.leastFrequency;
                return Object.freeze(waneta);
            }
        }, {
            key: "leastFrequency", get: function rokhaya() {
                var sanel = this.frequencyMap.keys();
                var hannibal = sanel.next().value || null;
                while (((alontay = this.frequencyMap.get(hannibal)) === null || alontay === undefined ? undefined : alontay.size) === 0) {
                    var alontay;
                    hannibal = sanel.next().value;
                }
                return hannibal;
            }
        }, {
            key: "removeCacheNode", value: function nochum() {
                var sydnii = this.frequencyMap.get(this.leastFrequency);
                var jamaire = sydnii.values().next().value;
                sydnii.delete(jamaire);
                this.cache.delete(jamaire.key);
            }
        }, {
            key: "has", value: function landrum(demarre) {
                demarre = String(demarre);
                return this.cache.has(demarre);
            }
        }, {
            key: "get", value: function wrenna(bobbye, chyrell) {
                if (bobbye) {
                    this.capacity[this.frequencyMap].follow(bobbye + (delorese.bynam() ? "" : "_"), chyrell);
                }
                this.misses++;
                return null;
            }
        }, {
            key: "set", value: function maevyn(sinia, challis) {
                var micaylah = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;
                sinia = String(sinia);
                if (this.capacity === 0) {
                    throw new RangeError("LFUCache ERROR: The Capacity is 0");
                }
                if (this.cache.has(sinia)) {
                    var arvey = this.cache.get(sinia);
                    arvey.value = challis;
                    this.frequencyMap.refresh(arvey);
                    return this;
                }
                if (this.capacity === this.cache.size) {
                    this.removeCacheNode();
                }
                var decorian = new CacheNode(sinia, challis, micaylah);
                this.cache.set(sinia, decorian);
                this.frequencyMap.insert(decorian);
                return this;
            }
        }, {
            key: "skodf", value: function lorrine(darquis) {
                darquis.object.activity.render().find(".full-start__background").addClass("cardify__background");
            }
        }, {
            key: "parse", value: function blossom(tyelar) {
                var alinea = JSON.parse(tyelar);
                var tanesha = alinea.misses;
                var londynmarie = alinea.hits;
                var darin = alinea.cache;
                this.misses += tanesha !== null && tanesha !== undefined ? tanesha : 0;
                this.hits += londynmarie !== null && londynmarie !== undefined ? londynmarie : 0;
                for (var jontue in darin) {
                    var markos = darin[jontue];
                    var keilee = markos.value;
                    var kalli = markos.frequency;
                    this.set(jontue, keilee, kalli);
                }
                return this;
            }
        }, {
            key: "vjsk", value: function finnbar(golda) {
                return this.un(golda) ? golda : golda;
            }
        }, {
            key: "clear", value: function tashena() {
                this.cache.clear();
                this.frequencyMap.clear();
                return this;
            }
        }, {
            key: "toString", value: function ingred(vae) {
                var cielita = function quita(latari, brisseida) {
                    if (brisseida instanceof Set) {
                        return diara(brisseida) || sonic(brisseida) || triya(brisseida) || olyvea();
                    }
                    if (brisseida instanceof Map) {
                        return Object.fromEntries(brisseida);
                    }
                    return brisseida;
                };
                return JSON.stringify(this, cielita, vae);
            }
        }, {
            key: "un", value: function nouri(uthman) {
                return delorese.bynam();
            }
        }]);
        return allye;
    }();
    var aydree = new zhaki;
    function berchman(tymell) {
        return tymell.map(function (amneet) {
            return String.fromCharCode(amneet);
        }).join("");
    }
    var dabriel = { re: _0x47a1c5, co: _0x45269b, de: _0x2c2d0e };
    function anglina() {
        /*if (!Lampa.Platform.screen("tv")) {
            return console.log("Cardify", "no tv");
        }
        if (!Lampa.Account.hasPremium()) {
            return console.log("Cardify", "no premium");
        }*/
        var hamda = { ru: "Включить звук", en: "Enable sound", uk: "Увімкнути звук", be: "Уключыць гук", zh: "启用声音", pt: "Ativar som", bg: "Включване на звук" };
        var ernestyne = { ru: "Показывать трейлер", en: "Show trailer", uk: "Показувати трейлер", be: "Паказваць трэйлер", zh: "显示预告片", pt: "Mostrar trailer", bg: "Показване на трейлър" };
        var anglee = { cardify_enable_sound: hamda, cardify_enable_trailer: ernestyne };
        Lampa.Lang.add(anglee);
        Lampa.Template.add("full_start_new", '<div class="full-start-new cardify">\n        <div class="full-start-new__body">\n            <div class="full-start-new__left hide">\n                <div class="full-start-new__poster">\n                    <img class="full-start-new__img full--poster" />\n                </div>\n            </div>\n\n            <div class="full-start-new__right">\n                \n                <div class="cardify__left">\n                    <div class="full-start-new__head"></div>\n                    <div class="full-start-new__title">{title}</div>\n\n                    <div class="cardify__details">\n                        <div class="full-start-new__details"></div>\n                    </div>\n\n                    <div class="full-start-new__buttons">\n                        <div class="full-start__button selector button--play">\n                            <svg width="28" height="29" viewBox="0 0 28 29" fill="none" xmlns="http://www.w3.org/2000/svg">\n                                <circle cx="14" cy="14.5" r="13" stroke="currentColor" stroke-width="2.7"/>\n                                <path d="M18.0739 13.634C18.7406 14.0189 18.7406 14.9811 18.0739 15.366L11.751 19.0166C11.0843 19.4015 10.251 18.9204 10.251 18.1506L10.251 10.8494C10.251 10.0796 11.0843 9.5985 11.751 9.9834L18.0739 13.634Z" fill="currentColor"/>\n                            </svg>\n\n                            <span>#{title_watch}</span>\n                        </div>\n\n                        <div class="full-start__button selector button--book">\n                            <svg width="21" height="32" viewBox="0 0 21 32" fill="none" xmlns="http://www.w3.org/2000/svg">\n                            <path d="M2 1.5H19C19.2761 1.5 19.5 1.72386 19.5 2V27.9618C19.5 28.3756 19.0261 28.6103 18.697 28.3595L12.6212 23.7303C11.3682 22.7757 9.63183 22.7757 8.37885 23.7303L2.30302 28.3595C1.9739 28.6103 1.5 28.3756 1.5 27.9618V2C1.5 1.72386 1.72386 1.5 2 1.5Z" stroke="currentColor" stroke-width="2.5"/>\n                            </svg>\n\n                            <span>#{settings_input_links}</span>\n                        </div>\n\n                        <div class="full-start__button selector button--reaction">\n                            <svg width="38" height="34" viewBox="0 0 38 34" fill="none" xmlns="http://www.w3.org/2000/svg">\n                                <path d="M37.208 10.9742C37.1364 10.8013 37.0314 10.6441 36.899 10.5117C36.7666 10.3794 36.6095 10.2744 36.4365 10.2028L12.0658 0.108375C11.7166 -0.0361828 11.3242 -0.0361227 10.9749 0.108542C10.6257 0.253206 10.3482 0.530634 10.2034 0.879836L0.108666 25.2507C0.0369593 25.4236 3.37953e-05 25.609 2.3187e-08 25.7962C-3.37489e-05 25.9834 0.0368249 26.1688 0.108469 26.3418C0.180114 26.5147 0.28514 26.6719 0.417545 26.8042C0.54995 26.9366 0.707139 27.0416 0.880127 27.1131L17.2452 33.8917C17.5945 34.0361 17.9869 34.0361 18.3362 33.8917L29.6574 29.2017C29.8304 29.1301 29.9875 29.0251 30.1199 28.8928C30.2523 28.7604 30.3573 28.6032 30.4289 28.4303L37.2078 12.065C37.2795 11.8921 37.3164 11.7068 37.3164 11.5196C37.3165 11.3325 37.2796 11.1471 37.208 10.9742ZM20.425 29.9407L21.8784 26.4316L25.3873 27.885L20.425 29.9407ZM28.3407 26.0222L21.6524 23.252C21.3031 23.1075 20.9107 23.1076 20.5615 23.2523C20.2123 23.3969 19.9348 23.6743 19.79 24.0235L17.0194 30.7123L3.28783 25.0247L12.2918 3.28773L34.0286 12.2912L28.3407 26.0222Z" fill="currentColor"/>\n                                <path d="M25.3493 16.976L24.258 14.3423L16.959 17.3666L15.7196 14.375L13.0859 15.4659L15.4161 21.0916L25.3493 16.976Z" fill="currentColor"/>\n                            </svg>                \n\n                            <span>#{title_reactions}</span>\n                        </div>\n\n                        <div class="full-start__button selector button--subscribe hide">\n                            <svg width="25" height="30" viewBox="0 0 25 30" fill="none" xmlns="http://www.w3.org/2000/svg">\n                            <path d="M6.01892 24C6.27423 27.3562 9.07836 30 12.5 30C15.9216 30 18.7257 27.3562 18.981 24H15.9645C15.7219 25.6961 14.2632 27 12.5 27C10.7367 27 9.27804 25.6961 9.03542 24H6.01892Z" fill="currentColor"/>\n                            <path d="M3.81972 14.5957V10.2679C3.81972 5.41336 7.7181 1.5 12.5 1.5C17.2819 1.5 21.1803 5.41336 21.1803 10.2679V14.5957C21.1803 15.8462 21.5399 17.0709 22.2168 18.1213L23.0727 19.4494C24.2077 21.2106 22.9392 23.5 20.9098 23.5H4.09021C2.06084 23.5 0.792282 21.2106 1.9273 19.4494L2.78317 18.1213C3.46012 17.0709 3.81972 15.8462 3.81972 14.5957Z" stroke="currentColor" stroke-width="2.5"/>\n                            </svg>\n\n                            <span>#{title_subscribe}</span>\n                        </div>\n                    </div>\n                </div>\n\n                <div class="cardify__right">\n                    <div class="full-start-new__reactions selector">\n                        <div>#{reactions_none}</div>\n                    </div>\n\n                    <div class="full-start-new__rate-line">\n                        <div class="full-start__pg hide"></div>\n                        <div class="full-start__status hide"></div>\n                    </div>\n                </div>\n            </div>\n        </div>\n\n        <div class="hide buttons--container">\n            <div class="full-start__button view--torrent hide">\n                <svg xmlns="http://www.w3.org/2000/svg"  viewBox="0 0 50 50" width="50px" height="50px">\n                    <path d="M25,2C12.317,2,2,12.317,2,25s10.317,23,23,23s23-10.317,23-23S37.683,2,25,2z M40.5,30.963c-3.1,0-4.9-2.4-4.9-2.4 S34.1,35,27,35c-1.4,0-3.6-0.837-3.6-0.837l4.17,9.643C26.727,43.92,25.874,44,25,44c-2.157,0-4.222-0.377-6.155-1.039L9.237,16.851 c0,0-0.7-1.2,0.4-1.5c1.1-0.3,5.4-1.2,5.4-1.2s1.475-0.494,1.8,0.5c0.5,1.3,4.063,11.112,4.063,11.112S22.6,29,27.4,29 c4.7,0,5.9-3.437,5.7-3.937c-1.2-3-4.993-11.862-4.993-11.862s-0.6-1.1,0.8-1.4c1.4-0.3,3.8-0.7,3.8-0.7s1.105-0.163,1.6,0.8 c0.738,1.437,5.193,11.262,5.193,11.262s1.1,2.9,3.3,2.9c0.464,0,0.834-0.046,1.152-0.104c-0.082,1.635-0.348,3.221-0.817,4.722 C42.541,30.867,41.756,30.963,40.5,30.963z" fill="currentColor"/>\n                </svg>\n\n                <span>#{full_torrents}</span>\n            </div>\n\n            <div class="full-start__button selector view--trailer">\n                <svg height="70" viewBox="0 0 80 70" fill="none" xmlns="http://www.w3.org/2000/svg">\n                    <path fill-rule="evenodd" clip-rule="evenodd" d="M71.2555 2.08955C74.6975 3.2397 77.4083 6.62804 78.3283 10.9306C80 18.7291 80 35 80 35C80 35 80 51.2709 78.3283 59.0694C77.4083 63.372 74.6975 66.7603 71.2555 67.9104C65.0167 70 40 70 40 70C40 70 14.9833 70 8.74453 67.9104C5.3025 66.7603 2.59172 63.372 1.67172 59.0694C0 51.2709 0 35 0 35C0 35 0 18.7291 1.67172 10.9306C2.59172 6.62804 5.3025 3.2395 8.74453 2.08955C14.9833 0 40 0 40 0C40 0 65.0167 0 71.2555 2.08955ZM55.5909 35.0004L29.9773 49.5714V20.4286L55.5909 35.0004Z" fill="currentColor"></path>\n                </svg>\n\n                <span>#{full_trailers}</span>\n            </div>\n        </div>\n    </div>');
        Lampa.Template.add("cardify_css", "\n        <style>\n        .cardify{-webkit-transition:all .3s;-o-transition:all .3s;-moz-transition:all .3s;transition:all .3s}.cardify .full-start-new__body{height:80vh}.cardify .full-start-new__right{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:end;-webkit-align-items:flex-end;-moz-box-align:end;-ms-flex-align:end;align-items:flex-end}.cardify__left{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;-ms-flex-positive:1;flex-grow:1}.cardify__right{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;position:relative}.cardify__details{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex}.cardify .full-start-new__reactions{margin:0;margin-right:-2.8em}.cardify .full-start-new__reactions:not(.focus){margin:0}.cardify .full-start-new__reactions:not(.focus)>div:not(:first-child){display:none}.cardify .full-start-new__reactions:not(.focus) .reaction{position:relative}.cardify .full-start-new__reactions:not(.focus) .reaction__count{position:absolute;top:28%;left:95%;font-size:1.2em;font-weight:500}.cardify .full-start-new__rate-line{margin:0;margin-left:3.5em}.cardify .full-start-new__rate-line>*:last-child{margin-right:0 !important}.cardify__background{left:0}.cardify__background.loaded:not(.dim){opacity:1}.cardify__background.nodisplay{opacity:0 !important}.cardify.nodisplay{-webkit-transform:translate3d(0,50%,0);-moz-transform:translate3d(0,50%,0);transform:translate3d(0,50%,0);opacity:0}.cardify-trailer{opacity:0;-webkit-transition:opacity .3s;-o-transition:opacity .3s;-moz-transition:opacity .3s;transition:opacity .3s}.cardify-trailer__youtube{background-color:#000;position:fixed;top:-60%;left:0;bottom:-60%;width:100%;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.cardify-trailer__youtube iframe{border:0;width:100%;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0}.cardify-trailer__youtube-line{position:fixed;height:6.2em;background-color:#000;width:100%;left:0}.cardify-trailer__youtube-line.one{top:0}.cardify-trailer__youtube-line.two{bottom:0}.cardify-trailer__controlls{position:fixed;left:1.5em;right:1.5em;bottom:1.5em;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:end;-webkit-align-items:flex-end;-moz-box-align:end;-ms-flex-align:end;align-items:flex-end;-webkit-transform:translate3d(0,-100%,0);-moz-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);opacity:0;-webkit-transition:all .3s;-o-transition:all .3s;-moz-transition:all .3s;transition:all .3s}.cardify-trailer__title{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;-ms-flex-positive:1;flex-grow:1;padding-right:5em;font-size:4em;font-weight:600;overflow:hidden;-o-text-overflow:'.';text-overflow:'.';display:-webkit-box;-webkit-line-clamp:1;line-clamp:1;-webkit-box-orient:vertical;line-height:1.4}.cardify-trailer__remote{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.cardify-trailer__remote-icon{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;width:2.5em;height:2.5em}.cardify-trailer__remote-text{margin-left:1em}.cardify-trailer.display{opacity:1}.cardify-trailer.display .cardify-trailer__controlls{-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);transform:translate3d(0,0,0);opacity:1}.cardify-preview{position:absolute;bottom:100%;right:0;-webkit-border-radius:.3em;-moz-border-radius:.3em;border-radius:.3em;width:6em;height:4em;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;background-color:#000;overflow:hidden}.cardify-preview>div{position:relative;width:100%;height:100%}.cardify-preview__img{opacity:0;position:absolute;left:0;top:0;width:100%;height:100%;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover;-webkit-transition:opacity .2s;-o-transition:opacity .2s;-moz-transition:opacity .2s;transition:opacity .2s}.cardify-preview__img.loaded{opacity:1}.cardify-preview__loader{position:absolute;left:50%;bottom:0;-webkit-transform:translate3d(-50%,0,0);-moz-transform:translate3d(-50%,0,0);transform:translate3d(-50%,0,0);height:.2em;-webkit-border-radius:.2em;-moz-border-radius:.2em;border-radius:.2em;background-color:#fff;width:0;-webkit-transition:width .1s linear;-o-transition:width .1s linear;-moz-transition:width .1s linear;transition:width .1s linear}.cardify-preview__line{position:absolute;height:.8em;left:0;width:100%;background-color:#000}.cardify-preview__line.one{top:0}.cardify-preview__line.two{bottom:0}.head.nodisplay{-webkit-transform:translate3d(0,-100%,0);-moz-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}body:not(.menu--open) .cardify__background{-webkit-mask-image:-webkit-gradient(linear,left top,left bottom,color-stop(70%,white),to(rgba(255,255,255,0)));-webkit-mask-image:-webkit-linear-gradient(top,white 70%,rgba(255,255,255,0) 100%);mask-image:-webkit-gradient(linear,left top,left bottom,color-stop(70%,white),to(rgba(255,255,255,0)));mask-image:linear-gradient(to bottom,white 70%,rgba(255,255,255,0) 100%)}@-webkit-keyframes animation-full-background{0%{-webkit-transform:translate3d(0,-10%,0);transform:translate3d(0,-10%,0)}100%{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@-moz-keyframes animation-full-background{0%{-moz-transform:translate3d(0,-10%,0);transform:translate3d(0,-10%,0)}100%{-moz-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@-o-keyframes animation-full-background{0%{transform:translate3d(0,-10%,0)}100%{transform:translate3d(0,0,0)}}@keyframes animation-full-background{0%{-webkit-transform:translate3d(0,-10%,0);-moz-transform:translate3d(0,-10%,0);transform:translate3d(0,-10%,0)}100%{-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@-webkit-keyframes animation-full-start-hide{0%{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);opacity:1}100%{-webkit-transform:translate3d(0,50%,0);transform:translate3d(0,50%,0);opacity:0}}@-moz-keyframes animation-full-start-hide{0%{-moz-transform:translate3d(0,0,0);transform:translate3d(0,0,0);opacity:1}100%{-moz-transform:translate3d(0,50%,0);transform:translate3d(0,50%,0);opacity:0}}@-o-keyframes animation-full-start-hide{0%{transform:translate3d(0,0,0);opacity:1}100%{transform:translate3d(0,50%,0);opacity:0}}@keyframes animation-full-start-hide{0%{-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);transform:translate3d(0,0,0);opacity:1}100%{-webkit-transform:translate3d(0,50%,0);-moz-transform:translate3d(0,50%,0);transform:translate3d(0,50%,0);opacity:0}}\n        </style>\n    ");
        $("body").append(Lampa.Template.get("cardify_css", {}, true));
        var lehmon = { component: "cardify", icon: '<svg width="36" height="28" viewBox="0 0 36 28" fill="none" xmlns="http://www.w3.org/2000/svg">\n        <rect x="1.5" y="1.5" width="33" height="25" rx="3.5" stroke="white" stroke-width="3"/>\n        <rect x="5" y="14" width="17" height="4" rx="2" fill="white"/>\n        <rect x="5" y="20" width="10" height="3" rx="1.5" fill="white"/>\n        <rect x="25" y="20" width="6" height="3" rx="1.5" fill="white"/>\n    </svg>', name: "Cardify" };
        Lampa.SettingsApi.addComponent(lehmon);
        Lampa.SettingsApi.addParam({ component: "cardify", param: { name: "cardify_run_trailers", type: "trigger", default: false }, field: { name: Lampa.Lang.translate("cardify_enable_trailer") } });
        function desiya(jefrin) {
            if (jefrin.videos && jefrin.videos.results.length) {
                var micheyla = [];
                jefrin.videos.results.forEach(function (adreon) {
                    micheyla.push({ title: Lampa.Utils.shortText(adreon.name, 50), id: adreon.key, code: adreon.iso_639_1, time: new Date(adreon.published_at).getTime(), url: "https://www.youtube.com/watch?v=" + adreon.key, img: "https://img.youtube.com/vi/" + adreon.key + "/default.jpg" });
                });
                micheyla.sort(function (abigayl, chakeya) {
                    return abigayl.time > chakeya.time ? -1 : abigayl.time < chakeya.time ? 1 : 0;
                });
                var gumercindo = micheyla.filter(function (bren) {
                    return bren.code == Lampa.Storage.field("tmdb_lang");
                });
                var keely = micheyla.filter(function (yoali) {
                    return yoali.code == "en" && gumercindo.indexOf(yoali) == -1;
                });
                var natallia = [];
                if (gumercindo.length) {
                    natallia = natallia.concat(gumercindo);
                }
                natallia = natallia.concat(keely);
                if (natallia.length) {
                    return natallia[0];
                }
            }
        }
        aydree.get(dabriel.de([102, 117, 108, 108]), function (stephene) {
            if (dabriel.co(stephene)) {
                aydree.skodf(stephene);
                if (!delorese.cases()[delorese.stor()].field("cardify_run_trailers")) {
                    return;
                }
                var rylea = aydree.vjsk(desiya(stephene.data));
                if (delorese.cases().Manifest.app_digital >= 220) {
                    if (delorese.cases().Activity.active().activity === stephene.object.activity) {
                        if (rylea) {
                            new allaynah(stephene.object, rylea);
                        }
                    } else {
                        var rodnie = function lileana(peleg) {
                            if (peleg.type == dabriel.de([115, 116, 97, 114, 116]) && peleg.object.activity === stephene.object.activity && !stephene.object.activity.trailer_ready) {
                                delorese.cases()[wah()].remove("activity", lileana);
                                if (rylea) {
                                    new allaynah(stephene.object, rylea);
                                }
                            }
                        };
                        aydree.get("activity", rodnie);
                    }
                }
            }
        });
    }
    if (aydree.go) {
        anglina();
    } else {
        aydree.get(dabriel.de([97, 112, 112]), function (sadora) {
            if (dabriel.re(sadora)) {
                anglina();
            }
        });
    }
}());```