PageSourceSearch

https://dvbi.ru/Portals/_default/skins/chronos/javascripts/scripts.js?V=67

js dvbi.ru collected 2026-10-04 15:49:37 UTC 27,138 bytes, 889 lines download raw bytes

1jQuery(document).ready(function() {
2
3    $(window).resize(function() {
4        if ($(window).width() > 767) {
5
6            $('.eqHeightContainer').each(function() {
7                var eqHeight = 0;
8                $(this).children().each(function() {
9                    if ($(this).height() > eqHeight) {
10
11                        eqHeight = $(this).height();
12                        $(this).siblings().height(eqHeight);
13
14                    }
15                });
16            });
17
18            $('.spd-vCenter-inner').each(function() {
19
20
21                $(this).css({
22                    'padding-top': ($(this).parents('.spd-vCenter-outer').height() - $(this).height()) / 2
23                });
24
25
26            });
27        }
28
29    });
30
31    // call `resize` to center elements
32    $(window).resize();
33
34
35
36    //Logged in
37
38    //if($(window).width()>767) {
39    //  if ($('#dnn_SliderFullPane').hasClass('DNNEmptyPane') == false) {
40    //    $('.Chronos-header-bottom').css({position: "absolute", left: 0, top:0, "width": "100%", "z-index": "999"});
41    //  }
42    //  else {
43    //    $('.Chronos-header-bottom').css({'position': "absolute", "z-index": "999"})
44    //  }
45    //
46    //
47    //  if (($('.dnnActionMenu').length > 0) || $('.actionMenu').length > 0) {
48    //    $('.Chronos-header-bottom').css({position: "static"});
49    //  }
50    //}
51
52
53
54    /************ Start Fixed Header ****************/
55    jQuery('.spd-header-fixed').wrap("<div class='fixedHeader'></div>");
56    jQuery(window).bind('scroll', function() {
57        ActivateFixedHeader(350);
58    });
59
60    jQuery(document).ready(function() {
61        ActivateFixedHeader(350);
62    });
63
64    function ActivateFixedHeader(scrollTop) {
65        if (jQuery(this).scrollTop() > scrollTop) {
66            jQuery('.fixedHeader').addClass('fixed');
67        } else {
68            jQuery('.fixedHeader').removeClass('fixed');
69        }
70    }
71
72    /************* End Back to Fixed Header *********/
73
74
75    /* owl-carousel */
76
77    if ($.fn.owlCarousel) {
78        if ($('.owl-carousel').length >= 0) {
79            $('.owl-carousel').owlCarousel({
80                loop: true,
81                items: 5,
82                itemsDesktop: [1199, 5],
83                itemsDesktopSmall: [979, 5],
84                itemsTablet: [768, 3],
85                itemsMobile: [479, 2],
86                navigation: false,
87                navigationText: ["<", ">"],
88                pagination: false,
89                autoPlay: true
90            });
91        };
92
93
94        if ($('.owl-carousel-con_006').length >= 0) {
95            $('.owl-carousel-con_006').owlCarousel({
96                loop: true,
97                items: 1,
98                itemsDesktop: [1199, 1],
99                itemsDesktopSmall: [979, 1],
100                itemsTablet: [768, 1],
101                itemsMobile: [479, 1],
102                navigation: false,
103                navigationText: ["<", ">"],
104                pagination: true,
105                autoPlay: true
106            });
107        };
108
109        if ($('.owl-con_r032').length >= 0) {
110            $('.owl-con_r032').owlCarousel({
111                items: 4,
112                itemsDesktopSmall: [1100, 3],
113                itemsTablet: [768, 3],
114                itemsMobile: [479, 2],
115                lazyLoad: true,
116                loop: true,
117                margin: 30,
118                navigation: false,
119                navigationText: ["<", ">"],
120                rewindNav: true,
121                autoPlay: true
122            });
123        };
124
125
126        if ($('.owl-con_r034').length >= 0) {
127            $(".owl-con_r034").owlCarousel({
128                navigation: false, // Show next and prev buttons
129                slideSpeed: 300,
130                paginationSpeed: 400,
131                singleItem: true,
132                loop: true,
133                autoPlay: true,
134                lazyLoad: false,
135                lazyFollow: true,
136                lazyEffect: "fade",
137                dragBeforeAnimFinish: true,
138                mouseDrag: true,
139                Pagination: false,
140                touchDrag: false,
141            });
142        }
143        //owlCarousel
144        if ($('#owl-demo').length >= 0) {
145            $("#owl-demo").owlCarousel({
146                items: 4,
147                itemsCustom: false,
148                itemsDesktop: [1199, 4],
149                itemsDesktopSmall: [980, 3],
150                itemsTablet: [768, 2],
151                itemsTabletSmall: false,
152                itemsMobile: [479, 1],
153                singleItem: false,
154                itemsScaleUp: false,
155
156                //Basic Speeds
157                slideSpeed: 200,
158                paginationSpeed: 800,
159                rewindSpeed: 1000,
160
161                // Navigation
162                navigation: false,
163                navigationText: ["prev", "next"],
164                rewindNav: true,
165                scrollPerPage: false,
166
167                //Pagination
168                pagination: true,
169                paginationNumbers: false,
170
171                // Responsive
172                responsive: true,
173                responsiveRefreshRate: 200,
174                responsiveBaseWidth: window,
175
176                // CSS Styles
177                baseClass: "owl-carousel",
178                theme: "owl-theme",
179
180            });
181        }
182    }
183
184    // search button toggle
185    $(".search-button").click(function(e) {
186        if ($(".search-form").is(":visible") == true &&
187            ($(e.target).hasClass('search-button') ||
188                $(e.target).hasClass('fa-search'))) {
189            $(".search-form").fadeOut(100);
190        } else {
191            $(".search-form").fadeIn(100);
192            $('.search-form input').focus();
193            e.stopPropagation();
194        }
195    });
196
197    $(document).click(function() {
198        $(".search-form").fadeOut(100);
199    });
200
201
202
203    /*********** Start Search box text code ************/
204
205    jQuery('.SearchBorder input').attr('placeholder', 'Type to Search...');
206
207
208
209
210    /*********** End Search Box Text Code ************/
211
212
213    // lightbox
214    if ($.fn.prettyPhoto) {
215        $('a[data-rel]').each(function() {
216            $(this).attr('rel', $(this).data('rel'));
217        });
218
219        jQuery("a[rel^='prettyPhoto'], a[rel^='lightbox']").prettyPhoto({
220            deeplinking: false,
221            overlay_gallery: true,
222            social_tools: ''
223        });
224    }
225
226
227
228    /*********** Back to Top Button ******************/
229
230    jQuery(window).scroll(function() {
231        if (jQuery(this).scrollTop() > 300) {
232            jQuery('#backtotop:hidden').stop(true, true).fadeIn();
233        } else {
234            jQuery('#backtotop').stop(true, true).fadeOut();
235        }
236    });
237
238    jQuery('#backtotop a').click(function() {
239        jQuery('html, body').animate({
240            scrollTop: 0
241        }, 'slow');
242        return false;
243    });
244
245    //image hover zoom icon effect
246
247
248    if (Modernizr.touch) {
249        // show the close overlay button
250        $(".close-overlay").removeClass("hidden");
251        // handle the adding of hover class when clicked
252        $(".img").click(function(e) {
253            if (!$(this).hasClass("image-hover")) {
254                $(this).addClass("image-hover");
255            }
256        });
257        // handle the closing of the overlay
258        $(".close-overlay").click(function(e) {
259            e.preventDefault();
260            e.stopPropagation();
261            if ($(this).closest(".img").hasClass("image-hover")) {
262                $(this).closest(".img").removeClass("image-hover");
263            }
264        });
265    } else {
266        // handle the mouseenter functionality
267        $(".img").mouseenter(function() {
268                $(this).addClass("image-hover");
269            })
270            // handle the mouseleave functionality
271            .mouseleave(function() {
272                $(this).removeClass("image-hover");
273            });
274    }
275
276
277
278
279    /************ End Back to Top Button ************/
280
281    /************Start COUNTER-UP JQUERY PLUGIN ************/
282    if ($.fn.counterUp) {
283        if ($('.counter').length >= 0) {
284            $('.counter').counterUp({
285                delay: 10,
286                time: 1000
287            });
288        };
289
290        if ($('.spd-counter').length > 0) {
291            $('.spd-counter').counterUp({
292                delay: 10,
293                time: 1000
294            });
295        }
296    }
297
298    /*******************  progressbar start/ Content No - con-a001 *******************/
299    if ($.fn.progressBar) {
300        if ($('.progressbar1').length >= 0) {
301            $('.progressbar1').progressBar({
302                shadow: true,
303                percentage: false,
304                animation: true,
305            });
306        };
307
308        if ($('.progressbar2').length >= 0) {
309            $('.progressbar2').progressBar({
310                shadow: true,
311                percentage: false,
312                animation: true,
313                barColor: "#527AF9",
314            });
315        };
316
317        if ($('.progressbarPhp').length >= 0) {
318            $('.progressbarPhp').progressBar({
319                shadow: true,
320                percentage: false,
321                animation: true,
322                animateTarget: true,
323                barColor: "#52ADF9",
324            });
325        };
326
327        if ($('.progressbarGit').length >= 0) {
328            $('.progressbarGit').progressBar({
329                shadow: true,
330                percentage: false,
331                animation: true,
332                barColor: "#52ADF9",
333            });
334        };
335
336        if ($('.progressbar3').length >= 0) {
337            $('.progressbar3').progressBar({
338                shadow: true,
339                percentage: false,
340                animation: true,
341                animateTarget: true,
342                barColor: "#C3B238",
343            });
344        };
345
346        if ($('.progressbar4').length >= 0) {
347            $('.progressbar4').progressBar({
348                shadow: true,
349                percentage: false,
350                animation: true,
351                animateTarget: true,
352                barColor: 'green',
353            });
354        };
355
356        if ($('.progressbar5').length >= 0) {
357            $('.progressbar5').progressBar({
358                shadow: true,
359                percentage: false,
360                animation: true,
361                animateTarget: true,
362                barColor: '#117ec3',
363            });
364        };
365
366        if ($('.progressbar6').length >= 0) {
367            $('.progressbar6').progressBar({
368                shadow: true,
369                percentage: false,
370                animation: true,
371                animateTarget: true,
372                barColor: '#1491e1',
373            });
374        };
375
376        if ($('.progressbar7').length >= 0) {
377            $('.progressbar7').progressBar({
378                shadow: true,
379                percentage: false,
380                animation: true,
381                animateTarget: true,
382                barColor: '#2ba1eb',
383            });
384        };
385
386        if ($('.progressbar8').length >= 0) {
387            $('.progressbar8').progressBar({
388                shadow: true,
389                percentage: false,
390                animation: true,
391                animateTarget: true,
392                barColor: '#49afef',
393            });
394        };
395    }
396    /*******************  progressbar end/ Content No - con-a001   *******************/
397
398
399
400
401    //flat progress bar
402    if ($('.skillbar').length >= 0) {
403        jQuery('.skillbar').each(function() {
404            jQuery(this).find('.skillbar-bar').animate({
405                width: jQuery(this).attr('data-percent')
406            }, 6000);
407        });
408    };
409
410    if ($('.skillbar2').length >= 0) {
411        jQuery('.skillbar2').each(function() {
412            jQuery(this).find('.skillbar-bar2').animate({
413                width: jQuery(this).attr('data-percent')
414            }, 6000);
415        });
416    };
417
418    if ($('.skillbar').length >= 0) {
419        jQuery('.skillbar').each(function() {
420            jQuery(this).find('.skillbar-bar-style').animate({
421                width: jQuery(this).attr('data-percent')
422            }, 6000);
423        });
424    };
425
426
427
428
429    /***************************  boxslider start******************************/
430    if ($.fn.bxSlider) {
431        if ($('.bxslider').length >= 0) {
432            $('.bxslider').bxSlider();
433        };
434
435        // Testimonila Slider
436        if (jQuery('.spdn-n-testimonials-area').length > 0) {
437            jQuery('.spdn-n-testimonials-area').bxSlider({
438                slideWidth: 1140,
439                minSlides: 1,
440                maxSlides: 1,
441                slideMargin: 0,
442                auto: true,
443                rewindSpeed: 1000,
444                pagerCustom: '#bx-pager',
445                autoControls: false,
446                nextSelector: '#slider-next',
447                prevSelector: '#slider-prev'
448            });
449        }
450        
451        // Testimonila Slider-parallax area
452        if (jQuery('.spdn-n-testimonials-parallax').length > 0) {
453            jQuery('.spdn-n-testimonials-parallax').bxSlider({
454                slideWidth: 1140,
455                minSlides: 1,
456                maxSlides: 1,
457                slideMargin: 32,
458                auto: true,
459                rewindSpeed: 3000,
460                autoControls: false,
461                nextSelector: '#slider-next',
462                prevSelector: '#slider-prev'
463            });
464        }
465    }
466
467    if ($.fn.flexslider) {
468        if ($('.flexslider').length >= 0) {
469            $('.flexslider').flexslider({
470                animation: "slide",
471                pagination: "true"
472            });
473        };
474
475        if ($('.text-rotate').length >= 0) {
476            $('.text-rotate').flexslider({
477                animation: "slide",
478                pagination: "true"
479            });
480        };
481
482        if ($('.flexslider2').length >= 0) {
483            $('.flexslider2').flexslider({
484                animation: "fade", //String: Select your animation type, "fade" or "slide"
485                slideDirection: "horizontal", //String: Select the sliding direction, "horizontal" or "vertical"
486                slideshow: true, //Boolean: Animate slider automatically
487                slideshowSpeed: 7000, //Integer: Set the speed of the slideshow cycling, in milliseconds
488                animationDuration: 600, //Integer: Set the speed of animations, in milliseconds
489                directionNav: true, //Boolean: Create navigation for previous/next navigation? (true/false)
490                controlNav: true, //Boolean: Create navigation for paging control of each clide? Note: Leave true for manualControls usage
491                keyboardNav: true, //Boolean: Allow slider navigating via keyboard left/right keys
492                mousewheel: false, //Boolean: Allow slider navigating via mousewheel
493                prevText: "Previous", //String: Set the text for the "previous" directionNav item
494                nextText: "Next", //String: Set the text for the "next" directionNav item
495            });
496        }
497    }
498
499    /***************************  boxslider end******************************/
500
501
502    //easy pie chart
503
504
505    if ($.fn.easyPieChart) {
506        if ($('.spd-n-chart1').length > 0) {
507            $('.spd-n-chart1').easyPieChart({
508                animate: 2000,
509                scaleLength: 5,
510                trackColor: "#eeeeee",
511                scaleColor: "#05cafb",
512                barColor: "#05cafb",
513                size: 170,
514                lineWidth: 9,
515                lineCap: 'square',
516                scaleColor: false
517            });
518        }
519
520        if ($('.spd-n-chart-pie2').length > 0) {
521            $('.spd-n-chart-pie2').easyPieChart({
522                animate: 2000,
523                scaleLength: 5,
524                trackColor: "#eeeeee",
525                scaleColor: "#1B72AC",
526                barColor: "#1B72AC",
527                size: 170,
528                lineWidth: 9,
529                lineCap: 'square',
530                scaleColor: false
531            });
532        }
533
534
535        if ($('.chart').length > 0) {
536            $('.chart').easyPieChart({
537                animate: 2000,
538                scaleLength: 5,
539                trackColor: "#eeeeee",
540                scaleColor: "#dfe0e0",
541                barColor: "#2ECC71",
542                size: 170,
543                lineWidth: 9,
544                lineCap: 'square',
545                scaleColor: false
546            });
547        }
548
549
550        if ($('.chart2').length > 0) {
551            $('.chart2').easyPieChart({
552                animate: 2000,
553                scaleLength: 5,
554                trackColor: "#eeeeee",
555                scaleColor: "#dfe0e0",
556                barColor: "#2ECC71",
557                rotate: 180,
558                size: 170,
559                lineWidth: 3,
560                lineCap: 'square',
561                scaleColor: false
562            });
563        }
564        /***************************  easyPieChart start/ con-a022 ******************************/
565
566        //create instance
567        if ($('.con-a022chart1').length >= 0) {
568            $('.con-a022chart1').easyPieChart({
569                barColor: '#ef1e25',
570                trackColor: '#f9f9f9',
571                scaleColor: '#ffffff',
572                scaleLength: 5,
573                lineCap: 'round',
574                lineWidth: 3,
575                trackWidth: undefined,
576                size: 140,
577                rotate: 0,
578                animate: {
579                    duration: 1000,
580                    enabled: true
581                },
582            });
583        };
584
585        if ($('.con-a022chart2').length >= 0) {
586            $('.con-a022chart2').easyPieChart({
587                barColor: '#005c99',
588                trackColor: '#f9f9f9',
589                scaleColor: '#ffffff',
590                scaleLength: 5,
591                lineCap: 'round',
592                lineWidth: 3,
593                trackWidth: undefined,
594                size: 140,
595                rotate: 0,
596                animate: {
597                    duration: 1000,
598                    enabled: true
599                },
600            });
601        };
602
603        if ($('.con-a022chart3').length >= 0) {
604            $('.con-a022chart3').easyPieChart({
605                barColor: '#6d8cab',
606                trackColor: '#f9f9f9',
607                scaleColor: '#ffffff',
608                scaleLength: 5,
609                lineCap: 'round',
610                lineWidth: 3,
611                trackWidth: undefined,
612                size: 140,
613                rotate: 0,
614                animate: {
615                    duration: 1000,
616                    enabled: true
617                },
618            });
619        };
620
621        if ($('.con-a022chart4').length >= 0) {
622            $('.con-a022chart4').easyPieChart({
623                barColor: '#4eacb4',
624                trackColor: '#f9f9f9',
625                scaleColor: '#ffffff',
626                scaleLength: 5,
627                lineCap: 'round',
628                lineWidth: 3,
629                trackWidth: undefined,
630                size: 140,
631                rotate: 0,
632                animate: {
633                    duration: 1000,
634                    enabled: true
635                },
636            });
637        };
638
639        /***************************  easyPieChart start/ con-a029 ******************************/
640
641        //create instance
642        if ($('.Design').length >= 0) {
643            $('.Design').easyPieChart({
644                barColor: '#A0CE4E',
645                trackColor: '#E3EDD1',
646                scaleColor: '#ffffff',
647                scaleLength: 5,
648                lineCap: 'round',
649                lineWidth: 10,
650                trackWidth: undefined,
651                size: 220,
652                rotate: 0,
653                animate: {
654                    duration: 1000,
655                    enabled: true
656                },
657            });
658        };
659
660        if ($('.Code').length >= 0) {
661            $('.Code').easyPieChart({
662                barColor: '#A0CE4E',
663                trackColor: '#E3EDD1',
664                scaleColor: '#ffffff',
665                scaleLength: 5,
666                lineCap: 'round',
667                lineWidth: 10,
668                trackWidth: undefined,
669                size: 220,
670                rotate: 0,
671                animate: {
672                    duration: 1000,
673                    enabled: true
674                },
675            });
676        };
677
678        if ($('.Photo').length >= 0) {
679            $('.Photo').easyPieChart({
680                barColor: '#A0CE4E',
681                trackColor: '#E3EDD1',
682                scaleColor: '#ffffff',
683                scaleLength: 5,
684                lineCap: 'round',
685                lineWidth: 10,
686                trackWidth: undefined,
687                size: 220,
688                rotate: 0,
689                animate: {
690                    duration: 1000,
691                    enabled: true
692                },
693            });
694        };
695
696        if ($('.LikeIcon').length >= 0) {
697            $('.LikeIcon').easyPieChart({
698                barColor: '#A0CE4E',
699                trackColor: '#E3EDD1',
700                scaleColor: '#ffffff',
701                scaleLength: 5,
702                lineCap: 'round',
703                lineWidth: 10,
704                trackWidth: undefined,
705                size: 220,
706                rotate: 0,
707                animate: {
708                    duration: 1000,
709                    enabled: true
710                },
711            });
712        };
713
714        /***************************  easyPieChart end ******************************/
715
716    }
717
718    /***************************  easyPieChart end ******************************/
719
720    /*************************** Isotop Portfolio start ************************/
720
721
722    /* ---------------------------------------------
723     portfolio filter set active class
724     --------------------------------------------- */
725
726    $('.portfolio-filter li').click(function(event) {
727        $(this).siblings('.active').removeClass('active');
728        $(this).addClass('active');
729        event.preventDefault();
730    });
731
732
733
734
735    /* ---------------------------------------------
736     portfolio filtering
737     --------------------------------------------- */
738
739    $('.portfolio-filter').on('click', 'a', function() {
740        $('#filters button').removeClass('current');
741        $(this).addClass('current');
742        var filterValue = $(this).attr('data-filter');
743        $(this).parents(".spd-text-center").next().isotope({
744            filter: filterValue
745        });
746    });
747
748
749
750
751    /*************************** Isotop Portfolio end ************************/
752
753
754
755
756
757
758    //Responsive tab
759    if ($.fn.easyResponsiveTabs) {
760        if ($('#horizontalTab').length > 0) {
761            $('#horizontalTab').easyResponsiveTabs({
762                type: 'default', //Types: default, vertical, accordion
763                width: 'auto', //auto or any width like 600px
764                fit: true, // 100% fit in a container
765                closed: 'accordion', // Start closed if in accordion view
766                activate: function(event) { // Callback function if tab is switched
767                    var $tab = $(this);
768                    var $info = $('#tabInfo');
769                    var $name = $('span', $info);
770
771                    $name.text($tab.text());
772
773                    $info.show();
774                }
775            });
776        }
777        if ($('#Spd-tab2').length > 0) {
778            $('#Spd-tab2').easyResponsiveTabs({
779                type: 'default', //Types: default, vertical, accordion
780                width: 'auto', //auto or any width like 600px
781                fit: true, // 100% fit in a container
782                closed: 'accordion' // Start closed if in accordion view
783
784            });
785        }
786
787        if ($('#Spd-tab3').length > 0) {
788            $('#Spd-tab3').easyResponsiveTabs({
789                type: 'default', //Types: default, vertical, accordion
790                width: 'auto', //auto or any width like 600px
791                fit: true, // 100% fit in a container
792                closed: 'accordion' // Start closed if in accordion view
793
794            });
795        }
796
797        //vertical tab
798        if ($('#verticalTab').length > 0) {
799            $('#verticalTab').easyResponsiveTabs({
800                type: 'vertical',
801                width: 'auto',
802                fit: true
803            });
804        }
805
806        if ($('#spd-vertical-tab2').length > 0) {
807            $('#spd-vertical-tab2').easyResponsiveTabs({
808                type: 'vertical',
809                width: 'auto',
810                fit: true
811            });
812        }
813    }
814
815
816    /***************************  Bootstrap Toggle Starts ******************************/
817    if ($.fn.collapse) {
818        $('#myCollapsible').collapse({
819            toggle: false
820        });
821    }
822
823
824    /***************************  Bootstrap Toggle End ******************************/
825
826
827    /***************************  tooltip / con-a029 ******************************/
828    if ($.fn.tooltip) {
829        $('[data-toggle="tooltip"]').tooltip();
830    }
831
832    /***************************  tooltip end******************************/
833
834
835    //animated styles
836
837    wow = new WOW({
838        animateClass: 'animated',
839        offset: 100
840    });
841    wow.init();
842
843
844    //Background Video
845    if ($.fn.mb_YTPlayer) {
846        if ($('.player').length >= 0) {
847            $(".player").mb_YTPlayer();
848        }
849    }
850
851
852});
853
854jQuery(window).load(function() {
855
856    // Takes the gutter width from the bottom margin of .post
857    if ($.fn.masonry) {
858        if ($('.masonry2').length >= 0) {
859            jQuery('.masonry2').masonry({
860                itemSelector: '.post',
861                columnWidth: '.post'
862            });
863        }
864        if ($('.masonry3').length >= 0) {
865            jQuery('.masonry3').masonry({
866                itemSelector: '.post',
867                columnWidth: '.post'
868            });
869        }
870        if ($('.masonry4').length >= 0) {
871            jQuery('.masonry4').masonry({
872                itemSelector: '.post',
873                columnWidth: '.post'
874            });
875        }
876
877
878        /* ---------------------------------------------
879         portfolio masonry
880         --------------------------------------------- */
881        var $c = $('.portfolio-masonry');
882        $c.isotope({
883            itemSelector: '.portfolio-item',
884            masonry: {
885                columnWidth: '.portfolio-item'
886            }
887        });
888    }
889});

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.