PageSourceSearch

https://blazingstar.ru/templates/odessa/javascript/animatedModal.min.js

js blazingstar.ru collected 2026-09-27 15:06:12 UTC 2,622 bytes, 60 lines download raw bytes

vendor: 2,622 bytes, lines 1-60
1! function(a) {
2    a.fn.animatedModal = function(o) {
3        function n() {
4            l.css({
5                "z-index": i.zIndexOut
6            }), i.afterClose()
7        }
8
9        function t() {
10            i.afterOpen()
11        }
12        var e = a(this),
13            i = a.extend({
14                modalTarget: "animatedModal",
15                position: "fixed",
16                width: "100%",
17                height: "100%",
18                top: "0px",
19                left: "0px",
20                zIndexIn: "9999",
21                zIndexOut: "-9999",
22                color: "#39BEB9",
23                opacityIn: "1",
24                opacityOut: "0",
25                animatedIn: "zoomIn",
26                animatedOut: "zoomOut",
27                animationDuration: ".6s",
28                overflow: "auto",
29                beforeOpen: function() {},
30                afterOpen: function() {},
31                beforeClose: function() {},
32                afterClose: function() {}
33            }, o),
34            d = a(".close-" + i.modalTarget),
35            s = a(e).attr("href"),
36            l = a("body").find("#" + i.modalTarget),
37            m = "#" + l.attr("id");
38        l.addClass("animated"), l.addClass(i.modalTarget + "-off");
39        var r = {
40            position: i.position,
41            width: i.width,
42            height: i.height,
43            top: i.top,
44            left: i.left,
45            "background-color": i.color,
46            "overflow-y": i.overflow,
47            "z-index": i.zIndexOut,
48            opacity: i.opacityOut,
49            "-webkit-animation-duration": i.animationDuration
50        };
51        l.css(r), e.click(function(o) {
52            o.preventDefault(), a("body, html").addClass('overFlowHidden'), s == m && (l.hasClass(i.modalTarget + "-off") && (l.removeClass(i.animatedOut), l.removeClass(i.modalTarget + "-off"), l.addClass(i.modalTarget + "-on")), l.hasClass(i.modalTarget + "-on") && (i.beforeOpen(), l.css({
53                opacity: i.opacityIn,
54                "z-index": i.zIndexIn
55            }), l.addClass(i.animatedIn), l.one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend", t)))
56        }), d.click(function(o) {
57            o.preventDefault(), a("body, html").removeClass('overFlowHidden'), i.beforeClose(), l.hasClass(i.modalTarget + "-on") && (l.removeClass(i.modalTarget + "-on"), l.addClass(i.modalTarget + "-off")), l.hasClass(i.modalTarget + "-off") && (l.removeClass(i.animatedIn), l.addClass(i.animatedOut), l.one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend", n))
58        })
59    }
60}(jQuery);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.