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