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