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