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