1function vc_js() { 2 /* nectar addition */ 3/* 4vc_toggleBehaviour(), vc_tabsBehaviour(), vc_accordionBehaviour(), vc_teaserGrid(), vc_carouselBehaviour(), vc_slidersBehaviour(), vc_prettyPhoto(), vc_googleplus(), vc_pinterest(), vc_progress_bar(), vc_plugin_flexslider(), vc_google_fonts(), vc_gridBehaviour(), vc_rowBehaviour(), vc_googleMapsPointer(), vc_ttaActivation(); 5jQuery(document).trigger("vc_js"), window.setTimeout(vc_waypoints, 500)*/ 6 /* nectar addition end */ 7 8} 9 10function getSizeName() { 11 var screen_w = jQuery(window).width(); 12 return 1170 < screen_w ? "desktop_wide" : 960 < screen_w && 1169 > screen_w ? "desktop" : 768 < screen_w && 959 > screen_w ? "tablet" : 300 < screen_w && 767 > screen_w ? "mobile" : 300 > screen_w ? "mobile_portrait" : "" 13} 14 15function loadScript(url, $obj, callback) { 16 var script = document.createElement("script"); 17 script.type = "text/javascript", script.readyState && (script.onreadystatechange = function() { 18 "loaded" !== script.readyState && "complete" !== script.readyState || (script.onreadystatechange = null, callback()) 19 }), script.src = url, $obj.get(0).appendChild(script) 20} 21 22function vc_ttaActivation() { 23 jQuery("[data-vc-accordion]").on("show.vc.accordion", function(e) { 24 var $ = window.jQuery, 25 ui = {}; 26 ui.newPanel = $(this).data("vc.accordion").getTarget(), window.wpb_prepare_tab_content(e, ui) 27 }) 28} 29 30function vc_accordionActivate(event, ui) { 31 if (ui.newPanel.length && ui.newHeader.length) { 32 var $pie_charts = ui.newPanel.find(".vc_pie_chart:not(.vc_ready)"), 33 $round_charts = ui.newPanel.find(".vc_round-chart"), 34 $line_charts = ui.newPanel.find(".vc_line-chart"), 35 $carousel = ui.newPanel.find('[data-ride="vc_carousel"]'); 36 void 0 !== jQuery.fn.isotope && ui.newPanel.find(".isotope, .wpb_image_grid_ul").isotope("layout"), ui.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").length && ui.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").each(function() { 37 var grid = jQuery(this).data("vcGrid"); 38 grid && grid.gridBuilder && grid.gridBuilder.setMasonry && grid.gridBuilder.setMasonry() 39 }), vc_carouselBehaviour(ui.newPanel), vc_plugin_flexslider(ui.newPanel), $pie_charts.length && jQuery.fn.vcChat && $pie_charts.vcChat(), $round_charts.length && jQuery.fn.vcRoundChart && $round_charts.vcRoundChart({ 40 reload: !1 41 }), $line_charts.length && jQuery.fn.vcLineChart && $line_charts.vcLineChart({ 42 reload: !1 43 }), $carousel.length && jQuery.fn.carousel && $carousel.carousel("resizeAction"), ui.newPanel.parents(".isotope").length && ui.newPanel.parents(".isotope").each(function() { 44 jQuery(this).isotope("layout") 45 }) 46 } 47} 48 49function initVideoBackgrounds() { 50 return window.console && window.console.warn && window.console.warn("this function is deprecated use vc_initVideoBackgrounds"), vc_initVideoBackgrounds() 51} 52 53function vc_initVideoBackgrounds() { 54 jQuery("[data-vc-video-bg]").each(function() { 55 var youtubeUrl, youtubeId, $element = jQuery(this); 56 $element.data("vcVideoBg") ? (youtubeUrl = $element.data("vcVideoBg"), youtubeId = vcExtractYoutubeId(youtubeUrl), youtubeId && ($element.find(".vc_video-bg").remove(), insertYoutubeVideoAsBackground($element, youtubeId)), jQuery(window).on("grid:items:added", function(event, $grid) { 57 $element.has($grid).length && vcResizeVideoBackground($element) 58 })) : $element.find(".vc_video-bg").remove() 59 }) 60} 61 62function insertYoutubeVideoAsBackground($element, youtubeId, counter) { 63 if ("undefined" == typeof YT || void 0 === YT.Player) return 100 < (counter = void 0 === counter ? 0 : counter) ? void console.warn("Too many attempts to load YouTube api") : void setTimeout(function() { 64 insertYoutubeVideoAsBackground($element, youtubeId, counter++) 65 }, 100); 66 var $container = $element.prepend('<div class="vc_video-bg vc_hidden-xs"><div class="inner"></div></div>').find(".inner"); 67 new YT.Player($container[0], { 68 width: "100%", 69 height: "100%", 70 videoId: youtubeId, 71 playerVars: { 72 playlist: youtubeId, 73 iv_load_policy: 3, 74 enablejsapi: 1, 75 disablekb: 1, 76 autoplay: 1, 77 controls: 0, 78 showinfo: 0, 79 rel: 0, 80 loop: 1, 81 wmode: "transparent" 82 }, 83 events: { 84 onReady: function(event) { 85 event.target.mute().setLoop(!0) 86 } 87 } 88 }
88), vcResizeVideoBackground($element), jQuery(window).bind("resize", function() { 89 vcResizeVideoBackground($element) 90 }) 91} 92 93function vcResizeVideoBackground($element) { 94 var iframeW, iframeH, marginLeft, marginTop, containerW = $element.innerWidth(), 95 containerH = $element.innerHeight(); 96 containerW / containerH < 16 / 9 ? (iframeW = containerH * (16 / 9), iframeH = containerH, marginLeft = -Math.round((iframeW - containerW) / 2) + "px", marginTop = -Math.round((iframeH - containerH) / 2) + "px", iframeW += "px", iframeH += "px") : (iframeW = containerW, iframeH = containerW * (9 / 16), marginTop = -Math.round((iframeH - containerH) / 2) + "px", marginLeft = -Math.round((iframeW - containerW) / 2) + "px", iframeW += "px", iframeH += "px"), $element.find(".vc_video-bg iframe").css({ 97 maxWidth: "1000%", 98 marginLeft: marginLeft, 99 marginTop: marginTop, 100 width: iframeW, 101 height: iframeH 102 }) 103} 104 105function vcExtractYoutubeId(url) { 106 if (void 0 === url) return !1; 107 var id = url.match(/(?:https?:\/{2})?(?:w{3}\.)?youtu(?:be)?\.(?:com|be)(?:\/watch\?v=|\/)([^\s&]+)/); 108 return null !== id && id[1] 109} 110 111function vc_googleMapsPointer() { 112 var $ = window.jQuery, 113 $wpbGmapsWidget = $(".wpb_gmaps_widget"); 114 $wpbGmapsWidget.click(function() { 115 $("iframe", this).css("pointer-events", "auto") 116 }), $wpbGmapsWidget.mouseleave(function() { 117 $("iframe", this).css("pointer-events", "none") 118 }), $(".wpb_gmaps_widget iframe").css("pointer-events", "none") 119} 120 121function vc_setHoverBoxPerspective(hoverBox) { 122 hoverBox.each(function() { 123 var $this = jQuery(this), 124 width = $this.width(), 125 perspective = 4 * width + "px"; 126 $this.css("perspective", perspective) 127 }) 128} 129 130function vc_setHoverBoxHeight(hoverBox) { 131 hoverBox.each(function() { 132 var $this = jQuery(this), 133 hoverBoxInner = $this.find(".vc-hoverbox-inner"); 134 hoverBoxInner.css("min-height", 0); 135 var frontHeight = $this.find(".vc-hoverbox-front-inner").outerHeight(), 136 backHeight = $this.find(".vc-hoverbox-back-inner").outerHeight(), 137 hoverBoxHeight = frontHeight > backHeight ? frontHeight : backHeight; 138 hoverBoxHeight < 250 && (hoverBoxHeight = 250), hoverBoxInner.css("min-height", hoverBoxHeight + "px") 139 }) 140} 141 142function vc_prepareHoverBox() { 143 var hoverBox = jQuery(".vc-hoverbox"); 144 vc_setHoverBoxHeight(hoverBox), vc_setHoverBoxPerspective(hoverBox) 145} 146document.documentElement.className += " js_active ", document.documentElement.className += "ontouchstart" in document.documentElement ? " vc_mobile " : " vc_desktop ", 147 function() { 148 for (var prefix = ["-webkit-", "-moz-", "-ms-", "-o-", ""], i = 0; i < prefix.length; i++) prefix[i] + "transform" in document.documentElement.style && (document.documentElement.className += " vc_transform ") 149 }(), "function" != typeof window.vc_plugin_flexslider && (window.vc_plugin_flexslider = function($parent) { 150 ($parent ? $parent.find(".wpb_flexslider") : jQuery(".wpb_flexslider")).each(function() { 151 var this_element = jQuery(this), 152 sliderTimeout = 1e3 * parseInt(this_element.attr("data-interval")), 153 sliderFx = this_element.attr("data-flex_fx"), 154 slideshow = !0; 155 0 === sliderTimeout && (slideshow = !1), this_element.is(":visible") && this_element.flexslider({ 156 animation: sliderFx, 157 slideshow: slideshow, 158 slideshowSpeed: sliderTimeout, 159 sliderSpeed: 800, 160 smoothHeight: !0 161 }) 162 }) 163 }), "function" != typeof window.vc_googleplus && (window.vc_googleplus = function() { 164 0 < jQuery(".wpb_googleplus").length && function() { 165 var po = document.createElement("script"); 166 po.type = "text/javascript", po.async = !0, po.src = "//apis.google.com/js/plusone.js"; 167 var s = document.getElementsByTagName("script")[0]; 168 s.parentNode.insertBefore(po, s) 169 }() 170 }), "function" != typeof window.vc_pinterest && (window.vc_pinterest = function() { 171 0 < jQuery(".wpb_pinterest").length && function() { 172 var po = document.createElement("script"); 173 po.type = "text/javascript", po.async = !0, po.src = "//assets.pinterest.com/js/pinit.js"; 174 var s = document.getElementsByTagName("script")[0]; 175 s.parentNode.insertBefore(po, s) 176 }() 177 }), "function" != typeof window.vc_progress_bar && (window.vc_progress_bar = function() { 178 void 0 !== jQuery.fn.waypoint && jQuery(".vc_progress_bar").waypoint(function() { 179 jQuery(this).find(".vc_single_bar").each(function(index) { 180 var $this = jQuery(this), 181 bar = $this.find(".vc_bar"), 182 val = bar.data("percentage-value"); 183 setTimeout(function() { 184 bar.css({ 185 width: val + "%" 186 }) 187 }, 200 * index) 188 }) 189 }, { 190 offset: "85%" 191 }) 192 }), "function" != typeof window.vc_waypoints && (window.vc_waypoints = function() { 193 void 0 !== jQuery.fn.waypoint && jQuery(".wpb_animate_when_almost_visible:not(.wpb_start_animation)").waypoint(function() { 194 jQuery(this).addClass("wpb_start_animation animated") 195 }, { 196 offset: "85%" 197 }) 198 }), "function" != typeof window.vc_toggleBehaviour && (window.vc_toggleBehaviour = function($el) { 199 function event(e) { 200 e && e.preventDefault && e.preventDefault(); 201 var title = jQuery(this), 202 element = title.closest(".vc_toggle"), 203 content = element.find(".vc_toggle_content"); 204 element.hasClass("vc_toggle_active") ? content.slideUp({ 205 duration: 300, 206 complete: function() { 207 element.removeClass("vc_toggle_active") 208 } 209 }) : content.slideDown({ 210 duration: 300, 211 complete: function() { 212 element.addClass("vc_toggle_active") 213 } 214 }) 215 } 216 $el ? $el.hasClass("vc_toggle_title") ? $el.unbind("click").click(event) : $el.find(".vc_toggle_title").unbind("click").click(event) : jQuery(".vc_toggle_title").unbind("click").on("click", event) 217 }), "function" != typeof window.vc_tabsBehaviour && (window.vc_tabsBehaviour = function($tab) { 218 if (jQuery.ui) { 219 var $call = $tab || jQuery(".wpb_tabs, .wpb_tour"), 220 ver = jQuery.ui && jQuery.ui.version ? jQuery.ui.version.split(".") : "1.10", 221 old_version = 1 === parseInt(ver[0]) && 9 > parseInt(ver[1]); 222 $call.each(function(index) { 223 var $tabs, interval = jQuery(this).attr("data-interval"), 224 tabs_array = []; 225 if ($tabs = jQuery(this).find(".wpb_tour_tabs_wrapper").tabs({ 226 show: function(event, ui) { 227 wpb_prepare_tab_content(event, ui) 228 }, 229 beforeActivate: function(event, ui) { 230 1 !== ui.newPanel.index() && ui.newPanel.find(".vc_pie_chart:not(.vc_ready)") 231 }, 232 activate: function(event, ui) { 233 wpb_prepare_tab_content(event, ui) 234 } 235 }), interval && 0 < interval) try { 236 $tabs.tabs("rotate", 1e3 * interval) 237 } catch (e) { 238 window.console && window.console.log && console.log(e) 239 } 240 jQuery(this).find(".wpb_tab").each(function() { 241 tabs_array.push(this.id) 242 }), jQuery(this).find(".wpb_tabs_nav li").click(function(e) { 243 return e.preventDefault(), old_version ? $tabs.tabs("select", jQuery("a", this).attr("href")) : $tabs.tabs("option", "active", jQuery(this).index()), !1 244 }), jQuery(this).find(".wpb_prev_slide a, .wpb_next_slide a").click(function(e) { 245 if (e.preventDefault(), old_version) { 246 var index = $tabs.tabs("option", "selected"); 247 jQuery(this).parent().hasClass("wpb_next_slide") ? index++ : index--, 0 > index ? index = $tabs.tabs("length") - 1 : index >= $tabs.tabs("length") && (index = 0), $tabs.tabs("select", index) 248 } else { 249 var index = $tabs.tabs("option", "active"), 250 length = $tabs.find(".wpb_tab").length; 251 index = jQuery(this).parent().hasClass("wpb_next_slide") ? index + 1 >= length ? 0 : index + 1 : 0 > index - 1 ? length - 1 : index - 1, $tabs.tabs("option", "active", index) 252 } 253 }) 254 }) 255 } 256 }), "function" != typeof window.vc_accordionBehaviour && (window.vc_accordionBehaviour = function() { 257 jQuery(".wpb_accordion").each(function(index) { 258 var $tabs, $this = jQuery(this), 259 active_tab = ($this.attr("data-interval"), !isNaN(jQuery(this).data("active-tab")) && 0 < parseInt($this.data("active-tab")) && parseInt($this.data("active-tab")) - 1), 260 collapsible = !1 === active_tab || "yes" === $this.data("c
260ollapsible"); 261 $tabs = $this.find(".wpb_accordion_wrapper").accordion({ 262 header: "> div > h3", 263 autoHeight: !1, 264 heightStyle: "content", 265 active: active_tab, 266 collapsible: collapsible, 267 navigation: !0, 268 activate: vc_accordionActivate, 269 change: function(event, ui) { 270 void 0 !== jQuery.fn.isotope && ui.newContent.find(".isotope").isotope("layout"), vc_carouselBehaviour(ui.newPanel) 271 } 272 }), !0 === $this.data("vcDisableKeydown") && ($tabs.data("uiAccordion")._keydown = function() {}) 273 }) 274 }), "function" != typeof window.vc_teaserGrid && (window.vc_teaserGrid = function() { 275 var layout_modes = { 276 fitrows: "fitRows", 277 masonry: "masonry" 278 }; 279 jQuery(".wpb_grid .teaser_grid_container:not(.wpb_carousel), .wpb_filtered_grid .teaser_grid_container:not(.wpb_carousel)").each(function() { 280 var $container = jQuery(this), 281 $thumbs = $container.find(".wpb_thumbnails"), 282 layout_mode = $thumbs.attr("data-layout-mode"); 283 $thumbs.isotope({ 284 itemSelector: ".isotope-item", 285 layoutMode: void 0 === layout_modes[layout_mode] ? "fitRows" : layout_modes[layout_mode] 286 }), $container.find(".categories_filter a").data("isotope", $thumbs).click(function(e) { 287 e.preventDefault(); 288 var $thumbs = jQuery(this).data("isotope"); 289 jQuery(this).parent().parent().find(".active").removeClass("active"), jQuery(this).parent().addClass("active"), $thumbs.isotope({ 290 filter: jQuery(this).attr("data-filter") 291 }) 292 }), jQuery(window).bind("load resize", function() { 293 $thumbs.isotope("layout") 294 }) 295 }) 296 }), "function" != typeof window.vc_carouselBehaviour && (window.vc_carouselBehaviour = function($parent) { 297 ($parent ? $parent.find(".wpb_carousel") : jQuery(".wpb_carousel")).each(function() { 298 var $this = jQuery(this); 299 if (!0 !== $this.data("carousel_enabled") && $this.is(":visible")) { 300 $this.data("carousel_enabled", !0), getColumnsCount(jQuery(this)), jQuery(this).hasClass("columns_count_1"); 301 var carousele_li = jQuery(this).find(".wpb_thumbnails-fluid li"); 302 carousele_li.css({ 303 "margin-right": carousele_li.css("margin-left"), 304 "margin-left": 0 305 }); 306 var fluid_ul = jQuery(this).find("ul.wpb_thumbnails-fluid"); 307 fluid_ul.width(fluid_ul.width() + 300), jQuery(window).resize(function() { 308 var before_resize = screen_size; 309 screen_size = getSizeName(), before_resize != screen_size && window.setTimeout("location.reload()", 20) 310 }) 311 } 312 }) 313 }), "function" != typeof window.vc_slidersBehaviour && (window.vc_slidersBehaviour = function() { 314 jQuery(".wpb_gallery_slides").each(function(index) { 315 var $imagesGrid, this_element = jQuery(this); 316 if (this_element.hasClass("wpb_slider_nivo")) { 317 var sliderTimeout = 1e3 * this_element.attr("data-interval"); 318 0 === sliderTimeout && (sliderTimeout = 9999999999), this_element.find(".nivoSlider").nivoSlider({ 319 effect: "boxRainGrow,boxRain,boxRainReverse,boxRainGrowReverse", 320 slices: 15, 321 boxCols: 8, 322 boxRows: 4, 323 animSpeed: 800, 324 pauseTime: sliderTimeout, 325 startSlide: 0, 326 directionNav: !0, 327 directionNavHide: !0, 328 controlNav: !0, 329 keyboardNav: !1, 330 pauseOnHover: !0, 331 manualAdvance: !1, 332 prevText: "Prev", 333 nextText: "Next" 334 }) 335 } else this_element.hasClass("wpb_image_grid") && (jQuery.fn.imagesLoaded ? $imagesGrid = this_element.find(".wpb_image_grid_ul").imagesLoaded(function() { 336 $imagesGrid.isotope({ 337 itemSelector: ".isotope-item", 338 layoutMode: "fitRows" 339 }) 340 }) : this_element.find(".wpb_image_grid_ul").isotope({ 341 itemSelector: ".isotope-item", 342 layoutMode: "fitRows" 343 })) 344 }) 345 }), "function" != typeof window.vc_prettyPhoto && (window.vc_prettyPhoto = function() { 346 try { 347 jQuery && jQuery.fn && jQuery.fn.prettyPhoto && jQuery('a.prettyphoto, .gallery-icon a[href*=".jpg"]').prettyPhoto({
348 animationSpeed: "normal", 349 hook: "data-rel", 350 padding: 15, 351 opacity: .7, 352 showTitle: !0, 353 allowresize: !0, 354 counter_separator_label: "/", 355 hideflash: !1, 356 deeplinking: !1, 357 modal: !1, 358 callback: function() { 359 location.href.indexOf("#!prettyPhoto") > -1 && (location.hash = "") 360 }, 361 social_tools: "" 362 }) 363 } catch (err) { 364 window.console && window.console.log && console.log(err) 365 } 366 }), "function" != typeof window.vc_google_fonts && (window.vc_google_fonts = function() { 367 return !1 368 }), window.vcParallaxSkroll = !1, "function" != typeof window.vc_rowBehaviour && (window.vc_rowBehaviour = function() { 369 function fullWidthRow() { 370 var $elements = $('[data-vc-full-width="true"]'); 371 $.each($elements, function(key, item) { 372 var $el = $(this); 373 $el.addClass("vc_hidden"); 374 var $el_full = $el.next(".vc_row-full-width"); 375 if ($el_full.length || ($el_full = $el.parent().next(".vc_row-full-width")), $el_full.length) { 376 var el_margin_left = parseInt($el.css("margin-left"), 10), 377 el_margin_right = parseInt($el.css("margin-right"), 10), 378 offset = 0 - $el_full.offset().left - el_margin_left, 379 width = $(window).width(); 380 if ($el.css({ 381 position: "relative", 382 left: offset, 383 "box-sizing": "border-box", 384 width: $(window).width() 385 }), !$el.data("vcStretchContent")) { 386 var padding = -1 * offset; 387 0 > padding && (padding = 0); 388 var paddingRight = width - padding - $el_full.width() + el_margin_left + el_margin_right; 389 0 > paddingRight && (paddingRight = 0), $el.css({ 390 "padding-left": padding + "px", 391 "padding-right": paddingRight + "px" 392 }) 393 } 394 $el.attr("data-vc-full-width-init", "true"), $el.removeClass("vc_hidden"), $(document).trigger("vc-full-width-row-single", { 395 el: $el, 396 offset: offset, 397 marginLeft: el_margin_left, 398 marginRight: el_margin_right, 399 elFull: $el_full, 400 width: width 401 }) 402 } 403 }), $(document).trigger("vc-full-width-row", $elements) 404 } 405 406 function fullHeightRow() { 407 var $element = $(".vc_row-o-full-height:first"); 408 if ($element.length) { 409 var $window, windowHeight, offsetTop, fullHeight; 410 $window = $(window), windowHeight = $window.height(), offsetTop = $element.offset().top, offsetTop < windowHeight && (fullHeight = 100 - offsetTop / (windowHeight / 100), $element.css("min-height", fullHeight + "vh")) 411 } 412 $(document).trigger("vc-full-height-row", $element) 413 } 414 var $ = window.jQuery; 415 $(window).off("resize.vcRowBehaviour").on("resize.vcRowBehaviour", fullWidthRow).on("resize.vcRowBehaviour", fullHeightRow), fullWidthRow(), fullHeightRow(), 416 function() { 417 (window.navigator.userAgent.indexOf("MSIE ") > 0 || navigator.userAgent.match(/Trident.*rv\:11\./)) && $(".vc_row-o-full-height").each(function() { 418 "flex" === $(this).css("display") && $(this).wrap('<div class="vc_ie-flexbox-fixer"></div>') 419 }) 420 }(), vc_initVideoBackgrounds(), 421 function() { 422 var vcSkrollrOptions, callSkrollInit = !1; 423 window.vcParallaxSkroll && window.vcParallaxSkroll.destroy(), $(".vc_parallax-inner").remove(), $("[data-5p-top-bottom]").removeAttr("data-5p-top-bottom data-30p-top-bottom"), $("[data-vc-parallax]").each(function() { 424 var skrollrSpeed, skrollrSize, skrollrStart, skrollrEnd, $parallaxElement, parallaxImage, youtubeId; 425 callSkrollInit = !0, "on" === $(this).data("vcParallaxOFade") && $(this).children().attr("data-5p-top-bottom", "opacity:0;").attr("data-30p-top-bottom", "opacity:1;"), skrollrSize = 100 * $(this).data("vcParallax"), $parallaxElement = $("<div />").addClass("vc_parallax-inner").appendTo($(this)), $parallaxElement.height(skrollrSize + "%"), parallaxImage = $(this).data("vcParallaxImage"), youtubeId = vcExtractYoutubeId(parallaxImage), youtubeId ? insertYoutubeVideoAsBackgroun
425d($parallaxElement, youtubeId) : void 0 !== parallaxImage && $parallaxElement.css("background-image", "url(" + parallaxImage + ")"), skrollrSpeed = skrollrSize - 100, skrollrStart = -skrollrSpeed, skrollrEnd = 0, $parallaxElement.attr("data-bottom-top", "top: " + skrollrStart + "%;").attr("data-top-bottom", "top: " + skrollrEnd + "%;") 426 }), !(!callSkrollInit || !window.skrollr) && (vcSkrollrOptions = { 427 forceHeight: !1, 428 smoothScrolling: !1, 429 mobileCheck: function() { 430 return !1 431 } 432 }, window.vcParallaxSkroll = skrollr.init(vcSkrollrOptions), window.vcParallaxSkroll) 433 }() 434 }), "function" != typeof window.vc_gridBehaviour && (window.vc_gridBehaviour = function() { 435 jQuery.fn.vcGrid && jQuery("[data-vc-grid]").vcGrid() 436 }), "function" != typeof window.getColumnsCount && (window.getColumnsCount = function(el) { 437 for (var find = !1, i = 1; !1 === find;) { 438 if (el.hasClass("columns_count_" + i)) return find = !0, i;
439 i++ 440 } 441 }); 442var screen_size = getSizeName(); 443"function" != typeof window.wpb_prepare_tab_content && (window.wpb_prepare_tab_content = function(event, ui) { 444 var $ui_panel, $google_maps, panel = ui.panel || ui.newPanel, 445 $pie_charts = panel.find(".vc_pie_chart:not(.vc_ready)"), 446 $round_charts = panel.find(".vc_round-chart"), 447 $line_charts = panel.find(".vc_line-chart"), 448 $carousel = panel.find('[data-ride="vc_carousel"]'); 449 if (vc_carouselBehaviour(), vc_plugin_flexslider(panel), ui.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").length && ui.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").each(function() { 450 var grid = jQuery(this).data("vcGrid"); 451 grid && grid.gridBuilder && grid.gridBuilder.setMasonry && grid.gridBuilder.setMasonry() 452 }), panel.find(".vc_masonry_media_grid, .vc_masonry_grid").length && panel.find(".vc_masonry_media_grid, .vc_masonry_grid").each(function() { 453 var grid = jQuery(this).data("vcGrid"); 454 grid && grid.gridBuilder && grid.gridBuilder.setMasonry && grid.gridBuilder.setMasonry() 455 }), $pie_charts.length && jQuery.fn.vcChat && $pie_charts.vcChat(), $round_charts.length && jQuery.fn.vcRoundChart && $round_charts.vcRoundChart({ 456 reload: !1 457 }), $line_charts.length && jQuery.fn.vcLineChart && $line_charts.vcLineChart({ 458 reload: !1 459 }), $carousel.length && jQuery.fn.carousel && $carousel.carousel("resizeAction"), $ui_panel = panel.find(".isotope, .wpb_image_grid_ul"), $google_maps = panel.find(".wpb_gmaps_widget"), 0 < $ui_panel.length && $ui_panel.isotope("layout"), $google_maps.length && !$google_maps.is(".map_ready")) { 460 var $frame = $google_maps.find("iframe"); 461 $frame.attr("src", $frame.attr("src")), $google_maps.addClass("map_ready") 462 } 463 panel.parents(".isotope").length && panel.parents(".isotope").each(function() { 464 jQuery(this).isotope("layout") 465 }) 466}), window.vc_googleMapsPointer, jQuery(document).ready(vc_prepareHoverBox), jQuery(window).resize(vc_prepareHoverBox), jQuery(document).ready(function($) { 467 window.vc_js() 468});
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.