(function($){let gDocument=$(document),gProgressBarE=$('.gutentor-element-progressbar'),counter_element=$('.gutentor-element-counter'),gWindow=$(window),gBody=$('body'),gWindowWidth=gWindow.width(),gM11Init=false,gFlexInit=false;function gBooleanVal(val){if(typeof val==='boolean'){return val;}
return val==='true';}
function gSlick(gThis){let gss={};if(gThis[0].hasAttribute('data-dots')){gss.dots=gBooleanVal(gThis.data('dots'));}
if(gThis[0].hasAttribute('data-arrows')){gss.arrows=gBooleanVal(gThis.data('arrows'));}
if(gThis[0].hasAttribute('data-infinite')){gss.infinite=gBooleanVal(gThis.data('infinite'));}
if(gThis[0].hasAttribute('data-speed')){gss.speed=parseInt(gThis.data('speed'));}
if(gThis[0].hasAttribute('data-slideitemdesktop')){gss.slidesToShow=parseInt(gThis.data('slideitemdesktop'));}
if(gThis[0].hasAttribute('data-slidescroll-desktop')){gss.slidesToScroll=parseInt(gThis.data('slidescroll-desktop'));}
if(gThis[0].hasAttribute('data-nextarrow')){gss.nextArrow='';}else{gss.nextArrow='';}
if(gThis[0].hasAttribute('data-prevarrow')){gss.prevArrow='';}else{gss.prevArrow='';}
if(gThis[0].hasAttribute('data-autoplay')){gss.autoplay=gBooleanVal(gThis.data('autoplay'));if(gThis[0].hasAttribute('data-autoplayspeed')){gss.autoplaySpeed=parseInt(gThis.data('autoplayspeed'));}
if(gThis[0].hasAttribute('data-pauseonfocus')){gss.pauseOnFocus=gBooleanVal(gThis.data('pauseonfocus'));}
if(gThis[0].hasAttribute('data-pauseonhover')){gss.pauseOnHover=gBooleanVal(gThis.data('pauseonhover'));}}
if(gThis[0].hasAttribute('data-draggable')){gss.draggable=gBooleanVal(gThis.data('draggable'));}
if(gThis[0].hasAttribute('data-fade')){gss.fade=gBooleanVal(gThis.data('fade'));}
if(gThis[0].hasAttribute('data-blockimagesliderfade')){gss.fade=gBooleanVal(gThis.data('blockimagesliderfade'));}
if(gThis[0].hasAttribute('data-cmondesktop')){gss.centerMode=gBooleanVal(gThis.data('cmondesktop'));if(gBooleanVal(gThis.data('cmondesktop'))){if(gThis[0].hasAttribute('data-cmpaddingdesktop')){gss.centerPadding=gThis.data('cmpaddingdesktop');}}}
let rTgss={},rMgss={};if(gThis[0].hasAttribute('data-slideitemtablet')){rTgss.slidesToShow=parseInt(gThis.data('slideitemtablet'));}
if(gThis[0].hasAttribute('data-slidescroll-tablet')){rTgss.slidesToScroll=parseInt(gThis.data('slidescroll-tablet'));}
if(gThis[0].hasAttribute('data-dotstablet')){rTgss.dots=gBooleanVal(gThis.data('dotstablet'));}
if(gThis[0].hasAttribute('data-arrowstablet')){rTgss.arrows=gBooleanVal(gThis.data('arrowstablet'));}
if(gThis[0].hasAttribute('data-cmontablet')){rTgss.centerMode=gBooleanVal(gThis.data('cmontablet'));if(gBooleanVal(gThis.data('cmontablet'))){if(gThis[0].hasAttribute('data-cmpaddingtablet')){rTgss.centerPadding=gThis.data('cmpaddingtablet');}}}
if(gThis[0].hasAttribute('data-slideitemmobile')){rMgss.slidesToShow=parseInt(gThis.data('slideitemmobile'));}
if(gThis[0].hasAttribute('data-slidescroll-mobile')){rMgss.slidesToScroll=parseInt(gThis.data('slidescroll-mobile'));}
if(gThis[0].hasAttribute('data-dotsmobile')){rMgss.dots=gBooleanVal(gThis.data('dotsmobile'));}
if(gThis[0].hasAttribute('data-arrowsmobile')){rMgss.arrows=gBooleanVal(gThis.data('arrowsmobile'));}
if(gThis[0].hasAttribute('data-cmonmobile')){rMgss.centerMode=gBooleanVal(gThis.data('cmonmobile'));if(gBooleanVal(gThis.data('cmonmobile'))){if(gThis[0].hasAttribute('data-cmpaddingmobile')){rMgss.centerPadding=gThis.data('cmpaddingmobile');}}}
let rTSettings={breakpoint:1024,settings:rTgss,},rMSettings={breakpoint:480,settings:rMgss,};gss.responsive=[];gss.responsive.push(rTSettings);gss.responsive.push(rMSettings);if(gThis[0].hasAttribute('data-arrowspositiondesktop')&&'gutentor-slick-a-default-desktop'!==gThis.data('arrowspositiondesktop')){gss.appendArrows=gThis.siblings('.gutentor-slick-arrows');}
if(gBody.hasClass('rtl')){gss.rtl=true;}
if(gThis.hasClass('slick-initialized')){gThis.slick('refresh');}else{gThis.slick(gss);}}
function gMagnificPopup(gThis,isI=false,isG=false){let gma={};if(isI){gma={type:'image',closeBtnInside:false,fixedContentPos:false,};}else{gma={type:'iframe',mainClass:'mfp-fade',removalDelay:160,preloader:false,fixedContentPos:false,};}
if(isG){gma.gallery={enabled:true,navigateByImgClick:true,preload:[0,1],};gma.callbacks={elementParse:function(item){if(item.el[0].getAttribute('data-media-type')==='g-popup-video'){item.type='iframe';}else{item.type='image';}},};}
if(typeof $.fn.magnificPopup!=='undefined'){gThis.magnificPopup(gma);}}
function gEasyPieChart(gThis){let gea={barColor:gThis.data('barcolor'),trackColor:gThis.data('trackcolor'),scaleColor:gThis.data('scalecolor'),size:gThis.data('size'),lineCap:gThis.data('linecap'),animate:gThis.data('animate'),lineWidth:gThis.data('linewidth'),};if(typeof $.fn.easyPieChart==='function'){gThis.easyPieChart(gea);}}
function gCountUp(gThis){let startValue=parseInt(gThis.data('start')),endValue=parseInt(gThis.data('end')),duration=parseInt(gThis.data('duration'));if(typeof CountUp==='function'){let nCountUp=new CountUp(gThis[0],startValue,endValue,0,duration);nCountUp.start();}}
function gIsEleInView(elem){let docViewTop=$(window).scrollTop(),docViewBottom=docViewTop+$(window).height(),elemTop=$(elem).offset().top,elemBottom=elemTop+$(elem).height();return elemBottom<=docViewBottom&&elemTop>=docViewTop;}
function gTriggerCountUp(gThis){if(gIsEleInView(gThis)){if(!gThis.hasClass('g-c-loaded')){gThis.addClass('g-c-loaded');gCountUp(gThis);}}}
function gTriggerPieChart(gThis){if(gIsEleInView(gThis)){if(!gThis.hasClass('g-c-loaded')){gThis.addClass('g-c-loaded');gEasyPieChart(gThis);}}}
function gAddLoaded(gThis){if(gIsEleInView(gThis)){if(!gThis.hasClass('g-c-loaded')){gThis.addClass('g-c-loaded');gThis.css('width',gThis.attr('data-width')+'%');}}}
function gCountAndBar($wrap=null){if($wrap){$wrap.find('.gutentor-single-item-number,.gutentor-counter-number-main').each(function(){gTriggerCountUp($(this));});$wrap.find('.gutentor-progressbar-circular,.gutentor-element-progressbar-circular').each(function(){gTriggerPieChart($(this));});$wrap.find('.gutentor-porgress-bar-item .progressbar,.gutentor-element-progressbar-box .gutentor-element-progressbar-horizontal').each(function(){gAddLoaded($(this));});}else{$('.gutentor-single-item-number,.gutentor-counter-number-main').each(function(){gTriggerCountUp($(this));});$('.gutentor-progressbar-circular,.gutentor-element-progressbar-circular').each(function(){gTriggerPieChart($(this));});$('.gutentor-porgress-bar-item .progressbar,.gutentor-element-progressbar-box .gutentor-element-progressbar-horizontal').each(function(){gAddLoaded($(this));});}}
gCountAndBar();$(window).scroll(function(){gCountAndBar();});function gCountDown(gThis){let gutentor_event_date=gThis.data('eventdate');if(gutentor_event_date===undefined||gutentor_event_date===null){gThis.html('Please set validate Date and time for countdown ');return false;}
let expired_text=gThis.data('expiredtext'),gutentor_day=gThis.find('.day'),gutentor_hour=gThis.find('.hour'),gutentor_min=gThis.find('.min'),gutentor_sec=gThis.find('.sec'),gutentor_date_time=gutentor_event_date.split('T');if(gutentor_date_time.length!==2){return false;}
let date_collection=gutentor_date_time[0],time_collection=gutentor_date_time[1],date_explode=date_collection.split('-');if(date_explode.length!==3){return false;}
let time_explode=time_collection.split(':');if(time_explode.length!==3){return false;}
let gutentor_year_value=parseInt(date_explode[0]),gutentor_month_value=parseInt(date_explode[1])-1,gutentor_day_value=parseInt(date_explode[2]),gutentor_hour_value=parseInt(time_explode[0]),gutentor_minutes_value=parseInt(time_explode[1]),gutentor_second_value=parseInt(time_explode[2]),countDownDate=new Date(gutentor_year_value,gutentor_month_value,gutentor_day_value,gutentor_hour_value,gutentor_minutes_value,gutentor_second_value,0).getTime();let x=setInterval(function(){let now=new Date().getTime();let distance=countDownDate-now;let days=Math.floor(distance/(1000*60*60*24));let hours=Math.floor((distance%(1000*60*60*24))/(1000*60*60));let minutes=Math.floor((distance%(1000*60*60))/(1000*60));let seconds=Math.floor((distance%(1000*60))/1000);gutentor_day.html(days);gutentor_hour.html(hours);gutentor_min.html(minutes);gutentor_sec.html(seconds);if(distance<0){clearInterval(x);gThis.html(''+expired_text+'');}},1000);}
function gTabs(){gDocument.on('click','.gutentor-tabs-list',function(){let thisTabInside=$(this),gutentorSingleItemIndex=thisTabInside.data('index'),gTabsC=thisTabInside.closest('.gutentor-tabs'),gTabsContentWrap=gTabsC.next('.gutentor-tabs-content-wrap'),gTabsSingleContent=gTabsContentWrap.find('.'+gutentorSingleItemIndex);gTabsSingleContent.siblings().removeClass('gutentor-tab-content-active');thisTabInside.siblings().removeClass('gutentor-tab-active');gTabsSingleContent.addClass('gutentor-tab-content-active');thisTabInside.addClass('gutentor-tab-active');});}
function gShowMoreBlock(className){gDocument.on('click',className,function(e){e.preventDefault();if(className==='.gutentor-show-more-button'){$(this).closest('.gutentor-single-item-content').addClass('show-more-content');}else if(className==='.gutentor-show-less-action-button'){$(this).closest('.gutentor-single-item-content').removeClass('show-more-content');}else if(className==='.gutentor-adv-s-m-btn'){$(this).closest('.g-m-advance-show-more').addClass('g-show-more-content');}else if(className==='.gutentor-adv-s-l-btn'){$(this).closest('.g-m-advance-show-more').removeClass('g-show-more-content');}});}
function gP4GetLoader(type){let gP4Loader;switch(type){case'gp4-animation-1':gP4Loader='