PageSourceSearch

https://www.gov.kn/wp-content/plugins/ova-team/assets/js/script-elementor.js?ver=7.1.2

js www.gov.kn collected 2026-10-01 10:36:45 UTC 4,619 bytes, 137 lines download raw bytes

1(function($){
2	"use strict";
3
4	$(window).on('elementor/frontend/init', function () {
5
6		
7		/* Form email */
8      elementorFrontend.hooks.addAction('frontend/element_ready/ova_form_mail.default', function(){
9         $('.ova-form-mail input[type="submit"]').on('click', function(e){
10
11            var that = $(this);
12            var flag = true;
13            $('.ova-form-mail .con .input .error').css({'display':'none'});
14            that.closest('.ova-form-mail').find('.field').each(function( index ){
15               if( $(this).hasClass('required') && $(this).val() == '' ){
16                  flag = false;
17                  $(this).parent('.input').children('.error').css({'display':'block'});
18               }
19            });
20
21            if( ! flag ){
22               e.preventDefault();
23               return false;
24            }
25            
26         })
27      });
28      /* end Form email */
29
30      /* team slider */
31      elementorFrontend.hooks.addAction('frontend/element_ready/ova_team_slider.default', function(){
32         $(".slide-team").each(function(){
33              var owlsl = $(this) ;
34              var owlsl_ops = owlsl.data('options') ? owlsl.data('options') : {};
35
36              var responsive_value = {
37                  0:{
38                    items:1,
39                    nav:false
40                  },
41                  576:{
42                    items:1
43
44                  },
45                  992:{
46                    items:2
47                  },
48                  1170:{
49                    items:owlsl_ops.items
50                  }
51              };
52              
53              owlsl.owlCarousel({
54                autoWidth: owlsl_ops.autoWidth,
55                margin: owlsl_ops.margin,
56                items: owlsl_ops.items,
57                loop: owlsl_ops.loop,
58                autoplay: owlsl_ops.autoplay,
59                autoplayTimeout: owlsl_ops.autoplayTimeout,
60                center: owlsl_ops.center,
61                nav: owlsl_ops.nav,
62                dots: owlsl_ops.dots,
63                thumbs: owlsl_ops.thumbs,
64                autoplayHoverPause: owlsl_ops.autoplayHoverPause,
65                slideBy: owlsl_ops.slideBy,
66                smartSpeed: owlsl_ops.smartSpeed,
67                navText:[
68                '<i class="fa fa-angle-left" ></i>',
69                '<i class="fa fa-angle-right" ></i>'
70                ],
71                responsive: responsive_value,
72              });
73
74              /* Fixed WCAG */
75              owlsl.find(".owl-nav button.owl-prev").attr("title", "Previous");
76              owlsl.find(".owl-nav button.owl-next").attr("title", "Next");
77              owlsl.find(".owl-dots button").attr("title", "Dots");
78
79            });
80      });
81      /* end team slider */
82
83      /* team slider 2 */
84      elementorFrontend.hooks.addAction('frontend/element_ready/ova_team_slider_2.default', function(){
85         $(".slide-team").each(function(){
86              var owlsl = $(this) ;
87              var owlsl_ops = owlsl.data('options') ? owlsl.data('options') : {};
88
89              var responsive_value = {
90                  0:{
91                    items:1,
92                    nav:false
93                  },
94                  576:{
95                    items:1
96
97                  },
98                  992:{
99                    items:2
100                  },
101                  1170:{
102                    items:owlsl_ops.items
103                  }
104              };
105              
106              owlsl.owlCarousel({
107                autoWidth: owlsl_ops.autoWidth,
108                margin: owlsl_ops.margin,
109                items: owlsl_ops.items,
110                loop: owlsl_ops.loop,
111                autoplay: owlsl_ops.autoplay,
112                autoplayTimeout: owlsl_ops.autoplayTimeout,
113                center: owlsl_ops.center,
114                nav: owlsl_ops.nav,
115                dots: owlsl_ops.dots,
116                thumbs: owlsl_ops.thumbs,
117                autoplayHoverPause: owlsl_ops.autoplayHoverPause,
118                slideBy: owlsl_ops.slideBy,
119                smartSpeed: owlsl_ops.smartSpeed,
120                navText:[
121                '<i class="fa fa-angle-left" ></i>',
122                '<i class="fa fa-angle-right" ></i>'
123                ],
124                responsive: responsive_value,
125              });
126
127              /* Fixed WCAG */
128              owlsl.find(".owl-nav button.owl-prev").attr("title", "Previous");
129              owlsl.find(".owl-nav button.owl-next").attr("title", "Next");
130              owlsl.find(".owl-dots button").attr("title", "Dots");
131
132            });
133      });
134      /* end team slider 2 */
135
136   });
137})(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.