PageSourceSearch

https://pn-bengkalis.go.id/css_baru/js_composer_front.js

js pn-bengkalis.go.id collected 2026-10-03 00:11:40 UTC 23,760 bytes, 707 lines download raw bytes

1document.documentElement.className += ' js_active ';
2document.documentElement.className += 'ontouchstart' in document.documentElement ? ' vc_mobile ' : ' vc_desktop ';
3(function () {
4  var prefix = ['-webkit-', '-o-', '-moz-', '-ms-', ""];
5  for (var i in prefix) {
6    if (prefix[i] + 'transform' in document.documentElement.style) document.documentElement.className += " vc_transform ";
7  }
8})();
9/*
10 On document ready jQuery will fire set of functions.
11 If you want to override function behavior then copy it to your theme js file
12 with the same name.
13 */
14
15jQuery(window).load(function () {
16
17
18});
19var vc_js = function () {
20  vc_twitterBehaviour();
21  vc_toggleBehaviour();
22  vc_tabsBehaviour();
23  vc_accordionBehaviour();
24  vc_teaserGrid();
25  vc_carouselBehaviour();
26  vc_slidersBehaviour();
27  vc_prettyPhoto();
28  vc_googleplus();
29  vc_pinterest();
30  vc_progress_bar();
31  vc_plugin_flexslider();
32  window.setTimeout(vc_waypoints, 1500);
33};
34jQuery(document).ready(function ($) {
35  window.vc_js();
36}); // END jQuery(document).ready
37
38if (typeof window['vc_plugin_flexslider'] !== 'function') {
39  function vc_plugin_flexslider($parent) {
40    var $slider = $parent ? $parent.find('.wpb_flexslider') : jQuery('.wpb_flexslider');
41    $slider.each(function () {
42      var this_element = jQuery(this);
43      var sliderSpeed = 800,
44        sliderTimeout = parseInt(this_element.attr('data-interval')) * 1000,
45        sliderFx = this_element.attr('data-flex_fx'),
46        slideshow = true;
47      if (sliderTimeout == 0) slideshow = false;
48
49      this_element.is(':visible') && this_element.flexslider({
50        animation:sliderFx,
51        slideshow:slideshow,
52        slideshowSpeed:sliderTimeout,
53        sliderSpeed:sliderSpeed,
54        smoothHeight:true
55      });
56    });
57  }
58}
59
60/* Twitter
61 ---------------------------------------------------------- */
62if (typeof window['vc_twitterBehaviour'] !== 'function') {
63  function vc_twitterBehaviour() {
64    jQuery('.wpb_twitter_widget .tweets').each(function (index) {
65      var this_element = jQuery(this),
66        tw_name = this_element.attr('data-tw_name');
67      tw_count = this_element.attr('data-tw_count');
68
69      this_element.tweet({
70        username:tw_name,
71        join_text:"auto",
72        avatar_size:0,
73        count:tw_count,
74        template:"{avatar}{join}{text}{time}",
75        auto_join_text_default:"",
76        auto_join_text_ed:"",
77        auto_join_text_ing:"",
78        auto_join_text_reply:"",
79        auto_join_text_url:"",
80        loading_text:'<span class="loading_tweets">loading tweets...</span>'
81      });
82    });
83  }
84}
85
86/* Google plus
87 ---------------------------------------------------------- */
88if (typeof window['vc_googleplus'] !== 'function') {
89  function vc_googleplus() {
90    if (jQuery('.wpb_googleplus').length > 0) {
91      (function () {
92        var po = document.createElement('script');
93        po.type = 'text/javascript';
94        po.async = true;
95        po.src = 'https://apis.google.com/js/plusone.js';
96        var s = document.getElementsByTagName('script')[0];
97        s.parentNode.insertBefore(po, s);
98      })();
99    }
100  }
101}
102
103/* Pinterest
104 ---------------------------------------------------------- */
105if (typeof window['vc_pinterest'] !== 'function') {
106  function vc_pinterest() {
107    if (jQuery('.wpb_pinterest').length > 0) {
108      (function () {
109        var po = document.createElement('script');
110        po.type = 'text/javascript';
111        po.async = true;
112        po.src = 'http://assets.pinterest.com/js/pinit.js';
113        var s = document.getElementsByTagName('script')[0];
114        s.parentNode.insertBefore(po, s);
115        //<script type="text/javascript" src="//assets.pinterest.com/js/pinit.js"></script>
116      })();
117    }
118  }
119}
120
121/* Progress bar
122 ---------------------------------------------------------- */
123if (typeof window['vc_progress_bar'] !== 'function') {
124  function vc_progress_bar() {
125    if (typeof jQuery.fn.waypoint !== 'undefined') {
126
127      jQuery('.vc_progress_bar').waypoint(function () {
128        jQuery(this).find('.vc_single_bar').each(function (index) {
129          var $this = jQuery(this),
130            bar = $this.find('.vc_bar'),
131            val = bar.data('percentage-value');
132
133          setTimeout(function () {
134            bar.css({"width":val + '%'});
135          }, index * 200);
136        });
137      }, { offset:'85%' });
138    }
139  }
140}
141
142/* Waypoints magic
143 ---------------------------------------------------------- */
144if (typeof window['vc_waypoints'] !== 'function') {
145  function vc_waypoints() {
146    if (typeof jQuery.fn.waypoint !== 'undefined') {
147      jQuery('.wpb_animate_when_almost_visible:not(.wpb_start_animation)').waypoint(function () {
148        jQuery(this).addClass('wpb_start_animation');
149      }, { offset:'85%' });
150    }
151  }
152}
153
154/* Toggle
155 ---------------------------------------------------------- */
156if (typeof window['vc_toggleBehaviour'] !== 'function') {
157  function vc_toggleBehaviour() {
158    jQuery(".wpb_toggle").unbind('click').click(function (e) {
159      if (jQuery(this).next().is(':animated')) {
160        return false;
161      }
162      if (jQuery(this).hasClass('wpb_toggle_title_active')) {
163        jQuery(this).removeClass('wpb_toggle_title_active').next().slideUp(500);
164      } else {
165        jQuery(this).addClass('wpb_toggle_title_active').next().slideDown(500);
166      }
167    });
168    jQuery('.wpb_toggle_content').each(function (index) {
169      if (jQuery(this).next().is('h4.wpb_toggle') == false) {
170        jQuery('<div class="last_toggle_el_margin"></div>').insertAfter(this);
171      }
172    });
173  }
174}
175
176/* Tabs + Tours
177 ---------------------------------------------------------- */
178if (typeof window['vc_tabsBehaviour'] !== 'function') {
179  function vc_tabsBehaviour($tab) {
180    jQuery(function ($) {
181      $(document.body).off('click.preview', 'a')
182    });
183    var $call = $tab || jQuery('.wpb_tabs, .wpb_tour'),
184      ver = jQuery.ui ? jQuery.ui.version.split('.') : '1.10',
185      old_version = parseInt(ver[0]) == 1 && parseInt(ver[1]) < 9;
186    // if($call.hasClass('ui-widget')) $call.tabs('destroy');
187    $call.each(function (index) {
188      var $tabs,
189        interval = jQuery(this).attr("data-interval"),
190        tabs_array = [];
191      //
192      $tabs = jQuery(this).find('.wpb_tour_tabs_wrapper').tabs({
193        show:function (event, ui) {
194          wpb_prepare_tab_content(event, ui);
195        },
196        beforeActivate: function(event, ui) {
197          ui.newPanel.index() !== 1 && ui.newPanel.find('.vc_pie_chart:not(.vc-ready)');
198        },
199        activate:function (event, ui) {
200          wpb_prepare_tab_content(event, ui);
201        }
202      }).tabs('rotate', interval * 1000);
203
204      jQuery(this).find('.wpb_tab').each(function () {
205        tabs_array.push(this.id);
206      });
207
208      jQuery(this).find('.wpb_tabs_nav a').click(function (e) {
209        e.preventDefault();
210        if (jQuery.inArray(jQuery(this).attr('href'), tabs_array)) {
211          if (old_version) {
212            $tabs.tabs("select", jQuery(this).attr('href'));
213          } else {
214            $tabs.tabs("option", "active", jQuery(jQuery(this).attr('href')).index() - 1);
215          }
216          return false;
217        }
218      });
219
220      jQuery(this).find('.wpb_prev_slide a, .wpb_next_slide a').click(function (e) {
221        e.preventDefault();
222        if (old_version) {
223          var index = $tabs.tabs('option', 'selected');
224          if (jQuery(this).parent().hasClass('wpb_next_slide')) {
225            index++;
226          }
227          else {
228            index--;
229          }
230          if (index < 0) {
231            index = $tabs.tabs("length") - 1;
232          }
233          else if (index >= $tabs.tabs("length")) {
234            index = 0;
235          }
236          $tabs.tabs("select", index);
237        } else {
238          var index = $tabs.tabs("option", "active"),
239            length = $tabs.find('.wpb_tab').length;
240
241          if (jQuery(this).parent().hasClass('wpb_next_slide')) {
242            index = (index + 1) >= length ? 0 : index + 1;
243          } else {
244            index = index - 1 < 0 ? length - 1 : index - 1;
245          }
246
247          $tabs.tabs("option", "active", index);
248        }
249
250      });
251
252    });
253  }
254}
255
256/* Tabs + Tours
257 ---------------------------------------------------------- */
258if (typeof window['vc_accordionBehaviour'] !== 'function') {
259  function vc_accordionBehaviour() {
260    jQuery('.wpb_accordion').each(function (index) {
261      var $tabs,
262        interval = jQuery(this).attr("data-interval"),
263        active_tab = !isNaN(jQuery(this).data('active-tab')) && parseInt(j
263Query(this).data('active-tab')) > 0 ? parseInt(jQuery(this).data('active-tab')) - 1 : false,
264        collapsible = active_tab === false || jQuery(this).data('collapsible') === 'yes';
265      //
266      $tabs = jQuery(this).find('.wpb_accordion_wrapper').accordion({
267        header:"> div > h3",
268        autoHeight:false,
269        heightStyle:"content",
270        active:active_tab,
271        collapsible:collapsible,
272        navigation:true,
273        activate: vc_accordionActivate,
274        change:function (event, ui) {
275          if (jQuery.fn.isotope != undefined) {
276            ui.newContent.find('.isotope').isotope("reLayout");
277          }
278          vc_carouselBehaviour(ui.newPanel);
279        }
280      });
281      //.tabs().tabs('rotate', interval*1000, true);
282    });
283  }
284}
285
286/* Teaser grid: isotope
287 ---------------------------------------------------------- */
288if (typeof window['vc_teaserGrid'] !== 'function') {
289  function vc_teaserGrid() {
290    var layout_modes = {
291      fitrows:'fitRows',
292      masonry:'masonry'
293    }
294    jQuery('.wpb_grid .teaser_grid_container:not(.wpb_carousel), .wpb_filtered_grid .teaser_grid_container:not(.wpb_carousel)').each(function () {
295      var $container = jQuery(this);
296      var $thumbs = $container.find('.wpb_thumbnails');
297      var layout_mode = $thumbs.attr('data-layout-mode');
298      $thumbs.isotope({
299        // options
300        itemSelector:'.isotope-item',
301        layoutMode:(layout_modes[layout_mode] == undefined ? 'fitRows' : layout_modes[layout_mode])
302      });
303      $container.find('.categories_filter a').data('isotope', $thumbs).click(function (e) {
304        e.preventDefault();
305        var $thumbs = jQuery(this).data('isotope');
306        jQuery(this).parent().parent().find('.active').removeClass('active');
307        jQuery(this).parent().addClass('active');
308        $thumbs.isotope({filter:jQuery(this).attr('data-filter')});
309      });
310      jQuery(window).bind('load resize', function () {
311        $thumbs.isotope("reLayout");
312      });
313    });
314
315    /*
316     var isotope = jQuery('.wpb_grid ul.thumbnails');
317     if ( isotope.length > 0 ) {
318     isotope.isotope({
319     // options
320     itemSelector : '.isotope-item',
321     layoutMode : 'fitRows'
322     });
323     jQuery(window).load(function() {
324     isotope.isotope("reLayout");
325     });
326     }
327     */
328  }
329}
330
331if (typeof window['vc_carouselBehaviour'] !== 'function') {
332  function vc_carouselBehaviour($parent) {
333    var $carousel = $parent ? $parent.find(".wpb_carousel") : jQuery(".wpb_carousel");
334    $carousel.each(function () {
335      var $this = jQuery(this);
336      if ($this.data('carousel_enabled') !== true && $this.is(':visible')) {
337        $this.data('carousel_enabled', true);
338        var carousel_width = jQuery(this).width(),
339          visible_count = getColumnsCount(jQuery(this)),
340          carousel_speed = 500;
341        if (jQuery(this).hasClass('columns_count_1')) {
342          carousel_speed = 900;
343        }
344        /* Get margin-left value from the css grid and apply it to the carousele li items (margin-right), before carousele initialization */
345        var carousele_li = jQuery(this).find('.wpb_thumbnails-fluid li');
346        carousele_li.css({"margin-right":carousele_li.css("margin-left"), "margin-left":0 });
347
348        jQuery(this).find('.wpb_wrapper:eq(0)').jCarouselLite({
349          btnNext:jQuery(this).find('.next'),
350          btnPrev:jQuery(this).find('.prev'),
351          visible:visible_count,
352          speed:carousel_speed
353        })
354          .width('100%');//carousel_width
355
356        var fluid_ul = jQuery(this).find('ul.wpb_thumbnails-fluid');
357        fluid_ul.width(fluid_ul.width() + 300);
358
359        jQuery(window).resize(function () {
360          var before_resize = screen_size;
361          screen_size = getSizeName();
362          if (before_resize != screen_size) {
363            window.setTimeout('location.reload()', 20);
364          }
365        });
366      }
367
368    });
369    /*
370     if(jQuery.fn.bxSlider !== undefined ) {
371     jQuery('.bxslider').each(function(){
372     var $slider = jQuery(this);
373     $slider.bxSlider($slider.data('settings'));
374     });
375     }
376     */
377    if (window.Swiper !== undefined) {
378
379      jQuery('.swiper-container').each(function () {
380        var $this = jQuery(this),
381          my_swiper,
382          max_slide_size = 0,
383          options = jQuery(this).data('settings');
384
385        if (options.mode === 'vertical') {
386          $this.find('.swiper-slide').each(function () {
387            var height = jQuery(this).outerHeight(true);
388            if (height > max_slide_size) max_slide_size = height;
389          });
390          $this.height(max_slide_size);
391          $this.css('overflow', 'hidden');
392        }
393        jQuery(window).resize(function () {
394          $this.find('.swiper-slide').each(function () {
395            var height = jQuery(this).outerHeight(true);
396            if (height > max_slide_size) max_slide_size = height;
397          });
398          $this.height(max_slide_size);
399        });
400        my_swiper = jQuery(this).swiper(jQuery.extend(options, {
401          onFirstInit:function (swiper) {
402            if (swiper.slides.length < 2) {
403              $this.find('.vc-arrow-left,.vc-arrow-right').hide();
404            } else if (swiper.activeIndex === 0 && swiper.params.loop !== true) {
405              $this.find('.vc-arrow-left').hide();
406            } else {
407              $this.find('.vc-arrow-left').show();
408            }
409          },
410          onSlideChangeStart:function (swiper) {
411            if (swiper.slides.length > 1 && swiper.params.loop !== true) {
412              if (swiper.activeIndex === 0) {
413                $this.find('.vc-arrow-left').hide();
414              } else {
415                $this.find('.vc-arrow-left').show();
416              }
417              if (swiper.slides.length - 1 === swiper.activeIndex) {
418                $this.find('.vc-arrow-right').hide();
419              } else {
420                $this.find('.vc-arrow-right').show();
421              }
422            }
423          }
424        }));
425        $this.find('.vc-arrow-left').click(function (e) {
426          e.preventDefault();
427          my_swiper.swipePrev();
428        });
429        $this.find('.vc-arrow-right').click(function (e) {
430          e.preventDefault();
431          my_swiper.swipeNext();
432        });
433        my_swiper.reInit();
434      });
435
436    }
437
438  }
439}
440
441if (typeof window['vc_slidersBehaviour'] !== 'function') {
442  function vc_slidersBehaviour() {
443    //var sliders_count = 0;
444    jQuery('.wpb_gallery_slides').each(function (index) {
445      var this_element = jQuery(this);
446      var ss_count = 0;
447
448      /*if ( this_element.hasClass('wpb_slider_fading') ) {
449       var sliderSpeed = 500, sliderTimeout = this_element.attr('data-interval')*1000, slider_fx = 'fade';
450       var current_ss;
451
452       function slideshowOnBefore(currSlideElement, nextSlideElement, options) {
453       jQuery(nextSlideElement).css({"position" : "absolute" });
454       jQuery(nextSlideElement).find("div.description").animate({"opacity": 0}, 0);
455       }
456
457       function slideshowOnAfter(currSlideElement, nextSlideElement, options) {
458       jQuery(nextSlideElement).find("div.description").animate({"opacity": 1}, 2000);
459
460       jQuery(nextSlideElement).css({"position" : "static" });
461       var new_h = jQuery(nextSlideElement).find('img').height();
462       if ( jQuery.isNumeric(new_h) ) {
463       //this_element.animate({ "height" : new_h }, sliderSpeed );
464       }
465       }
466
467       this_element.find('ul')
468       .before('<div class="ss_nav ss_nav_'+ss_count+'"></div><div class="wpb_fading_nav"><a id="next_'+ss_count+'" href="#next"></a> <a id="prev_'+ss_count+'" href="#prev"></a></div>')
469       .cycle({
470       fx: slider_fx, // choose your transition type, ex: fade, scrollUp, shuffle, etc...
471       pause: 1,
472       speed: sliderSpeed,
473       timeout: sliderTimeout,
474       delay: -ss_count * 1000,
475       before: slideshowOnBefore,
476       after:slideshowOnAfter,
477       pager:  '.ss_nav_'+ss_count
478       });
479       //.find('.description').width(jQuery(this).width() - 20);
480       ss_count++;
481       }
482       else*/
483      if (this_element.hasClass('wpb_slider_nivo')) {
484        var sliderSpeed = 800,
485          sliderTimeout = this_element.attr('data-interval') * 1000;
486
487        if (sliderTimeout == 0) sliderTimeout = 9999999999;
488
489        this_element.find('.nivoSlider').nivoSlider({
490          effect:'boxRainGrow,boxRain,boxRainReverse,boxRainGrowReverse', // Specify sets like: 'fold,fade,sliceDown'
491          slices:15, // For slice animations
492          boxCols:8, // For box animations
493          boxRows:4, // For box animations
494          animSpeed:sliderSpeed, // Slide transition speed
495          pauseTime:sliderTimeout, // How long each slide will show
496          startSlide:0, // Set starting Slide (0 index)
497          directionNav:true, // Next & Prev navigation
498          directionNavHide:true, // Only show on hover
499          controlNav:true, // 1,2,3... navigation
500          keyboardNav:false, // Use left & right arrows
501          pauseOnHover:true, // Stop animation while hovering
502          manualAdvance:false, // Force manual transitions
503          prevText:'Prev', // Prev directionNav text
504          nextText:'Next' // Next directionNav text
505        });
506      }
507      else if (this_element.hasClass('wpb_flexslider') && 1 == 2) { /* TODO: remove this */
508        /*
509         var sliderSpeed = 800,
510         sliderTimeout = this_element.attr('data-interval')*1000,
511         sliderFx = this_element.attr('data-flex_fx'),
512         slideshow = true;
513         if ( sliderTimeout == 0 ) slideshow = false;
514
515         this_element.flexslider({
516         animation: sliderFx,
517         slideshow: slideshow,
518         slideshowSpeed: sliderTimeout,
519         sliderSpeed: sliderSpeed,
520         smoothHeight: true
521
522         });
523         */
524
525        /*
526         var $first_object = this_element.find('li:first').show().find('*:not(a)');
527
528         $first_object.bind('load', function() {
529         if(!this_element.find('.flex-control-nav').is('ol')) {
530         this_element.flexslider({
531         animation: sliderFx,
532         slideshow: slideshow,
533         slideshowSpeed: sliderTimeout,
534         sliderSpeed: sliderSpeed,
535         smoothHeight: true
536         });
537         }
538         });
539
540         window.setTimeout(function(){
541         if(!this_element.find('.flex-control-nav').is('ol')) {
542         this_element.flexslider({
543         animation: sliderFx,
544         slideshow: slideshow,
545         slideshowSpeed: sliderTimeout,
546         sliderSpeed: sliderSpeed,
547         smoothHeight: true
548         });
549         }
550         }, 5000);
551         */
552      }
553      else if (this_element.hasClass('wpb_image_grid')) {
554        var isotope = this_element.find('.wpb_image_grid_ul');
555        isotope.isotope({
556          // options
557          itemSelector:'.isotope-item',
558          layoutMode:'fitRows'
559        });
560        jQuery(window).load(function () {
561          isotope.isotope("reLayout");
562        });
563      }
564    });
565  }
566}
567
568if (typeof window['vc_prettyPhoto'] !== 'function') {
569  function vc_prettyPhoto() {
570    try {
571      // just in case. maybe prettyphoto isnt loaded on this site
572      jQuery('a.prettyphoto, .gallery-icon a[href*=".jpg"]').prettyPhoto({
573        animationSpeed:'normal', /* fast/slow/normal */
574        padding:15, /* padding for each side of the picture */
575        opacity:0.7, /* Value betwee 0 and 1 */
576        showTitle:true, /* true/false */
577        allowresize:true, /* true/false */
578        counter_separator_label:'/', /* The separator for the gallery counter 1 "of" 2 */
579        //theme: 'light_square', /* light_rounded / dark_rounded / light_square / dark_square */
580        hideflash:false, /* Hides all the flash object on a page, set to TRUE if flash appears over prettyPhoto */
581        deeplinking:false, /* Allow prettyPhoto to update the url to enable deeplinking. */
582        modal:false, /* If set to true, only the close button will close the window */
583        callback:function () {
584          var url = location.href;
585          var hashtag = (url.indexOf('#!prettyPhoto')) ? true : false;
586          if (hashtag) location.hash = "!";
587        } /* Called when prettyPhoto is closed */,
588        social_tools:''
589      });
590    } catch (err) {
591    }
592  }
593}
594/* Helper
595 ---------------------------------------------------------- */
596function getColumnsCount(el) {
597  var find = false,
598    i = 1;
599
600  while (find == false) {
601    if (el.hasClass('columns_count_' + i)) {
602      find = true;
603      return i;
604    }
605    i++;
606  }
607}
608
609var screen_size = getSizeName();
610function getSizeName() {
611  var screen_size = '',
612    screen_w = jQuery(window).width();
613
614  if (screen_w > 1170) {
615    screen_size = "desktop_wide";
616  }
617  else if (screen_w > 960 && screen_w < 1169) {
618    screen_size = "desktop";
619  }
620  else if (screen_w > 768 && screen_w < 959) {
621    screen_size = "tablet";
622  }
623  else if (screen_w > 300 && screen_w < 767) {
624    screen_size = "mobile";
625  }
626  else if (screen_w < 300) {
627    screen_size = "mobile_portrait";
628  }
629  return screen_size;
630}
631
632
633function loadScript(url, $obj, callback) {
634
635  var script = document.createElement("script")
636  script.type = "text/javascript";
637
638  if (script.readyState) {  //IE
639    script.onreadystatechange = function () {
640      if (script.readyState == "loaded" ||
641        script.readyState == "complete") {
642        script.onreadystatechange = null;
643        callback();
644      }
645    };
646  } else {  //Others
647    /*
648     script.onload = function(){
649
650     callback();
651     };
652     */
653  }
654
655  script.src = url;
656  $obj.get(0).appendChild(script);
657}
658
659/**
660 * Prepare html to correctly display inside tab container
661 *
662 * @param event - ui tab event 'show'
663 * @param ui - jquery ui tabs object
664 */
665
666function wpb_prepare_tab_content(event, ui) {
667  var panel = ui.panel || ui.newPanel,
668      $pie_charts = panel.find('.vc_pie_chart:not(.vc-ready)'),
669      $carousel = panel.find('[data-ride="vc-carousel"]'),
670      $ui_panel, $google_maps;
671  vc_carouselBehaviour();
672  vc_plugin_flexslider(panel);
673  $pie_charts.length && jQuery.fn.vcChat && $pie_charts.vcChat();
674  $carousel.length && jQuery.fn.carousel && $carousel.carousel('resizeAction');
675  $ui_panel = panel.find('.isotope');
676  $google_maps = panel.find('.wpb_gmaps_widget');
677  if ($ui_panel.length > 0) {
678    $ui_panel.isotope("reLayout");
679  }
680  if ($google_maps.length && !$google_maps.is('.map_ready')) {
681    var $frame = $google_maps.find('iframe');
682    $frame.attr('src', $frame.attr('src'));
683    $google_maps.addClass('map_ready');
684  }
685  if(panel.parents('.isotope').length) {
686    panel.parents('.isotope').each(function(){
687      jQuery(this).isotope("reLayout");
688    });
689  }
690}
691var vc_accordionActivate = function(event, ui) {
692  var $pie_charts = ui.newPanel.find('.vc_pie_chart:not(.vc-ready)'),
693    $carousel = ui.newPanel.find('[data-ride="vc-carousel"]');
694  if (jQuery.fn.isotope != undefined) {
695    ui.newPanel.find('.isotope').isotope("reLayout");
696  }
697  vc_carouselBehaviour(ui.newPanel);
698  vc_plugin_flexslider(ui.newPanel);
699  $pie_charts.length && jQuery.fn.vcChat && $pie_charts.vcChat();
700  $carousel.length && jQuery.fn.carousel && $carousel.carousel('resizeAction');
701  if(ui.newPanel.parents('.isotope').length) {
702    ui.newPanel.parents('.isotope').each(function(){
703      jQuery(this).isotope("reLayout");
704    });
705  }
706}
707

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.