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