1 2var GlobalThemeOptions = { 3 accent:"#006182", 4 accent2:"#42c6f3", 5 accent3:"#22cae4", 6 accent4:"#22d3a7", 7}; 8 9var GlobalAriaLabel = { 10 Gotoslide:"Go to slide", 11 Previousslide:"Previous slide", 12 Nextslide:"Next slide", 13 Tabs:"Tabs", 14 Tab:"Tab", 15 Rating:"Rating", 16 17 Previous:"Previous", 18 Next:"Next", 19 Close:"Close", 20 LinkArrow:"Link Arrow", 21 Arrow:"Arrow", 22 23}; 24 25 26 27 28 29/* megamenu.js start*/ 30 31/* megamenu.js start*/ 32 33 34/** custom.js start*/ 35(function($){const image=new Image();image.src='data:image/webp;base64,UklGRiQAAABXRUJQVlA4IBgAAAAwAQCdASoBAAEAAwA0JaQAA3AA/vuUAAA=';image.onerror=function(){if(typeof GetWebpConvertServiceUrl!="undefined"&&$(".d-wrapper").eq(0).data("mid")){let WebpServiceUrl=GetWebpConvertServiceUrl+$(".d-wrapper").eq(0).data("mid")+"&f=png&WebP=";let LocalUrl=window.location.host;$('.content-builder img[src*=".webp"],.content-builder img[data-src*=".webp"],.content-builder [style*=".webp"],.content-builder a[href*=".webp"]').each(function(){let isImg=this.localName.toUpperCase();let url=false;if(isImg=="IMG"){url=$(this).attr("data-src")||$(this).attr("src");}else if(isImg=="A"){url=$(this).attr("href");}else{url=this.style.backgroundImage.split('"')[1];} 36if(url.indexOf(LocalUrl)!=-1){url=url.split(LocalUrl)[1];};if((url.indexOf("http://")!=-1||url.indexOf("https://")!=-1))return;url=WebpServiceUrl+encodeURIComponent(url);if(isImg=="IMG"){$(this).attr("src").indexOf(".webp")!=-1?$(this).attr("src",url):$(this).attr("data-src",url);}else if(isImg=="A"){$(this).attr("href",url);}else{this.style.backgroundImage='url('+url+')';}})}};})(jQuery);var floatingOffset=0;jQuery(".floating-nav .header-bg-box").each(function(){if(jQuery(this).data("height")){floatingOffset+=parseInt($(this).data("height"));}}) 37var defaultfloatingOffset=floatingOffset;if(jQuery(".floating-nav-scrollup").length){floatingOffset=defaultfloatingOffset=0;} 38if(jQuery(window).width()<992){if(jQuery(".mobile-header").css("position")=="fixed"){floatingOffset=$(".mobile-header-replace").height();}else{floatingOffset=0;}} 39jQuery(window).on("resize",function(){if(jQuery(window).width()<992){if(jQuery(".mobile-header").css("position")=="fixed"){floatingOffset=jQuery(".mobile-header-replace").height();}else{floatingOffset=0;}}else{floatingOffset=defaultfloatingOffset;}});jQuery.fn.offsetTopParent=function(parent){return $(this).offset().top+parent.scrollTop();} 40var ImgLoad=function(callback,e){var imgdefereds=[];e.find('img').each(function(){var dfd=jQuery.Deferred();jQuery(this).on('load',function(){dfd.resolve();}).on('error',function(){dfd.resolve();});if(this.complete){setTimeout(function(){dfd.resolve();},1000);} 41imgdefereds.push(dfd);});jQuery.when.apply(null,imgdefereds).done(function(){callback();});};(function($){"use strict";var DNG={};DNG.fixedFooter=function(){$(".fixed_footer").each(function(){var e=$
41(this);e.wrap("<div class=\"fixed_footer_clone\"><div class=\"fixed_footer_bottom\"></div></div>");var wh=$(window).height(),parent=e.parent().parent(),parent2=e.parent();parent.height(e.innerHeight());$(window).on("resize",function(){parent.height(e.innerHeight());e.css("max-height",$(window).height());wh=$(window).height();parent2.height($(window).scrollTop()+wh-parent.offset().top);});$(window).on('load',function(){parent.height(e.innerHeight());e.css("max-height",$(window).height());wh=$(window).height();parent2.height($(window).scrollTop()+wh-parent.offset().top);});e.addClass("active");e.css("max-height",$(window).height());parent2.height($(window).scrollTop()+wh-parent.offset().top);$(window).on("scroll",function(){parent2.height($(window).scrollTop()+wh-parent.offset().top);});});};DNG.pageLoaders=function(){$(".page-loaders").fadeOut();};DNG.floatingNav=function(){$(".header-wrap.floating-nav").each(function(){var e=$(this),top=e.data("top")!==undefined?e.data("top"):Math.max(e.offset().top,1);var floating_nav=function(){if($(window).scrollTop()>=top){if(!e.hasClass("floating-active")){if(e.hasClass("floating-nav-fade")){e.stop().css("opacity","0").animate({"opacity":"1",},500).addClass("floating-active");}else if(e.hasClass("floating-nav-slide")){e.stop().css({"opacity":"0",top:-e.height()+"px"}).animate({"opacity":"1",top:"0"},300).addClass("floating-active");}else if(e.hasClass("floating-nav-sticky")){e.addClass("floating-active");}}}else{if(e.hasClass("floating-active")){if(e.hasClass("floating-nav-fade")||e.hasClass("floating-nav-slide")){e.stop().css({"opacity":1}).removeClass("floating-active");;}} 42if(e.hasClass("floating-nav-sticky")){e.removeClass("floating-active");}}};var minHeight=$("header.header_bg").height();if(minHeight==0){$(window).on("resize",function(){if(!minHeight){minHeight=$("header.header_bg").height();e.parent(".header-replace").css("min-height",minHeight);}})} 43e.parent(".header-replace").css("min-height",minHeight).addClass("sticky-fixed");
43if(e.hasClass("floating-nav-scrollup")){var scroll=e.offset().top;var top2=top;$(window).on("scroll",function(){if($(window).scrollTop()>scroll){if($(window).scrollTop()>=top){e.addClass("floating-active");scroll=$(window).scrollTop();} 44if(e.hasClass("floating-active-down")&&$(window).scrollTop()>=top){e.removeClass("floating-active-down").addClass("floating-active-up");}}else{if($(window).scrollTop()<=top2){e.removeClass("floating-active floating-active-up floating-active-down");scroll=top;return;}else if(scroll-$(window).scrollTop()>10&&$(window).scrollTop()>=top){scroll=$(window).scrollTop();e.removeClass("floating-active-up").addClass("floating-active-down");}}});top=e.height()+100+top;} 45floating_nav();$(window).on("scroll",function(){floating_nav();});});};DNG.backToTop=function(){jQuery('#back-to-top').on("click",function(){jQuery('body,html').stop().animate({scrollTop:0},800);});var backtop=function(){if(Math.max.call(window.scrollTop,document.body.scrollTop,document.documentElement.scrollTop)>245){jQuery('#back-to-top').addClass("active");}else{jQuery('#back-to-top').removeClass("active");}};$(window).on('load',function(){backtop();});$(window).on("scroll",function(){backtop();});var share=jQuery('.fixed-widget-list .share');var shareout="";var shareList=share.nextAll("li:not(.backtop)");var length=shareList.length;share.on("mouseover",function(){if($(window).width()<=767)return false;$(this).addClass("active");shareList.each(function(i){$(this).stop().delay(40*(length-i)).queue(function(){$(this).addClass("active");$(this).dequeue();})})}).on("click",function(){if(share.hasClass("active")){share.removeClass("active");shareList.each(function(i){$(this).stop().delay(40*i).queue(function(){$(this).removeClass("active");$(this).dequeue();})})}else{$(this).addClass("active");shareList.each(function(i){$(this).stop().delay(40*(length-i)).queue(function(){$(this).addClass("active");$(this).dequeue();})})}}).parent().on("mouseleave",function(){if($(window).width()<=767)return false;shareout=setTimeout(function(){share.removeClass("active");shareList.each(function(i){$(this).stop().delay(40*i).queue(function(){$(this).removeClass("active");$(this).dequeue();})})},300)}).on("mouseenter",function(){shareout&&clearInterval(shareout);});};DNG.mobileheadernavbar=function(){$("body > form").append($(".mobile-header-navbar .mega-menu-wrap").addClass("mobile_menu").append("<span class='mobile_menu_close lnr lnr-cross'></span>"));if($("#wpadminbar").length!=0&&$(".mobile-header").css("position")=="fixed"){$(window).on("scroll",function(){$(".mobile-header").css("top",Math.max($("#wpadminbar").height()-$(window).scrollTop(),0));})}};DNG.pageTitle=function(){$("#page-title").each(function(){var e=$
45(this);if(e.data("height")==="full"){e.children(".page-title-container").innerHeight($(window).height()-e.offset().top);$(window).on("resize",function(){e.children(".page-title-container").innerHeight($(window).height()-e.offset().top);});} 46e.find(".page-title-arrow").on("click",function(){jQuery('body,html').stop().animate({scrollTop:e.innerHeight()+e.offset().top-floatingOffset},800);});var center=e.find(".center-v.scrolling-text");if(center.length){var con_height=center.innerHeight();var e_height=e.innerHeight();if($(".page-breadcrumbs.inset").length){e_height=e.innerHeight()-$(".page-breadcrumbs.inset").innerHeight();} 47var offset_bottom=e_height-con_height-center.position().top;var e_top=e.offset().top-floatingOffset;var curr_roll=0;$(window).on("resize",function(){con_height=center.innerHeight();e_height=e.innerHeight();if($(".page-breadcrumbs.inset").length){e_height=e.innerHeight()-$(".page-breadcrumbs.inset").innerHeight();}});$(window).on("scroll",function(){if(e_top<=$(window).scrollTop()){curr_roll=$(window).scrollTop()-e_top;center.css({'transform':'translateY('+Math.min(curr_roll/2,offset_bottom)+'px)','opacity':1-(1/e_height)*(curr_roll)})}else{center.removeAttr("style")}}) 48if(e_top<=$(window).scrollTop()){curr_roll=$(window).scrollTop()-e_top;center.css({'transform':'translateY('+Math.min(curr_roll/2,offset_bottom)+'px)'})}}});};DNG.detailPageTitle=function(){$(".detail-pagetitle").each(function(){var e=$
48(this);if(e.data("height")==="full"){e.innerHeight($(window).height()-e.offset().top);$(window).on("resize",function(){e.innerHeight($(window).height()-e.offset().top);});} 49e.find(".page-title-arrow").on("click",function(){jQuery('body,html').stop().animate({scrollTop:e.innerHeight()+e.offset().top-floatingOffset},800);});});};DNG.pageEndAnimating=function(){if($(".page-loaders").length===0||typeof DNNapplyTypography!="undefined"){return false;} 50var isAnimating=false;$('body').addClass('page-loader-changing');var alinkAnimating=function(event,t){var href=t.attr('href');if(!href){return;} 51if(href.substring(0,1)=="#"){return;} 52if(href.substring(0,4)!=="http"&&href.substring(0,1)!=="/"){return;} 53if(href.split("#")[0]==window.location.href.split("#")[0]){return;} 54if(href.indexOf(".jpg")!==-1||href.indexOf(".png")!==-1||href.indexOf(".gif")!==-1||href.indexOf(".bmp")!==-1){return;} 55if(t.attr("class")){if(t.attr("class").indexOf("LightBox")!==-1||t.attr("class").indexOf("is-lightbox")!==-1){return;}} 56if(t.hasClass("mm-title")){return;} 57if(t.data("nolink")){return;} 58event.preventDefault();var newPage=href;var target=t.attr("target")?t.attr("target"):"_self";if(!isAnimating){isAnimating=true;$('body').addClass('page-is-changing');setTimeout(function(){window.open(newPage,target);if(target!=="_self"){$('body').delay(300).queue(function(){$('body').removeClass('page-is-changing').dequeue();isAnimating=false;});}},300);}} 59$('.dng-megamenu a,.dng-mobilemenu a,.page-breadcrumbs a,.footer-info-box a,.userMenu a,.logo a,.link-animate a').on('click',function(event){alinkAnimating(event,$(this));});$('.link-animate').on('click',function(event){alinkAnimating(event,$(this));});};DNG.sidebarSticky=function(){$('.sidebar_sticky[data-sticky="on"],.sticky_media,.sidebar-sticky').each(function(){if(typeof DNNapplyTypography!="undefined"){return;} 60var wpadminbar=$("#wpadminbar").length==0?0:$("#wpadminbar").height();var e=$(this),parent=e.parent(),parentbox=e.parents(".is-container,[data-sticky=parent]").eq(0),offset=e.data("offset")?e.data("offset"):0,offsetTop=wpadminbar+floatingOffset+offset,stickyEnd=parseInt(parentbox.height())+parentbox.offset().top,parenttop=parent.offset().top-offsetTop,height=e.innerHeight(),addel=0,parentwidth=parent.width(),parentboxwidth=parentbox.width();e.width(e.width());if($(".fixed-top-container").length){if($(".fixed-top-container").offset().top<e.offset().top){addel=$(".fixed-top-container").outerHeight();$(window).on("resize load",function(){addel=$(".fixed-top-container").outerHeight();})}} 61parentbox.css("min-height",height);if($(window).width()<=991){parentbox.css("min-height","auto");e.width("auto");e.css("position","sticky");} 62$(window).on('load resize',function(){height=e.innerHeight();stickyEnd=parseInt(parentbox.height())+parentbox.offset().top;offsetTop=wpadminbar+floatingOffset+offset+addel;parenttop=parent.offset().top-offsetTop;e.width(parent.width());parentbox.css("min-height",height);parentwidth=parent.width();parentboxwidth=parentbox.width();}) 63function stickyposition(){if(parentwidth+30>=parentboxwidth){parentbox.css("min-height","auto");e.removeAttr("style");return false;}else{if($(window).scrollTop()>parenttop){height=e.innerHeight();stickyEnd=parseInt(parentbox.height())+parentbox.offset().top;parenttop=parent.offset().top-offsetTop;if($(window).scrollTop()>stickyEnd-height-offsetTop){e.css({"position":"relative","top":stickyEnd-(height+parenttop)-offsetTop,});}else{e.css({"position":"fixed","top":offsetTop});}}else{e.css({"position":"relative","top":"0"});}}} 64$(window).on("scroll resize",function(){stickyposition();});stickyposition();});$(".fixed-top-container").each(function(){if(typeof DNNapplyTypography!="undefined"){return;} 65var wpadminbar=$("#wpadminbar").length==0?0:$("#wpadminbar").height();var initFloating=floatingOffset;var e=$(this),parent=e.parent(),offset=e.data("offset")?e.data("offset"):0,offsetTop=wpadminbar+initFloating+offset,offsetLfet=e.offset().left,parenttop=parent.offset().top-offsetTop,height=e.outerHeight();e.width(e.width());if($(window).width()<=991){e.width("auto");e.css("position","sticky");}
66$(window).on('load resize',function(){height=e.innerHeight();offsetTop=wpadminbar+initFloating+offset;parenttop=parent.offset().top-offsetTop;e.width(parent.width());parent.css("min-height",height);}) 67parent.css("min-height",height);function fixedBox(){if($(window).scrollTop()>parenttop){height=e.innerHeight();parenttop=parent.offset().top-offsetTop;e.css({"position":"fixed","top":offsetTop,"left":offsetLfet});floatingOffset=initFloating+height;}else{e.css({"position":"relative","top":0,"left":0});floatingOffset=initFloating;}} 68$(window).on("scroll resize",function(){fixedBox();});fixedBox();})};DNG.anchorSmooth=function(){var OnePageOption=DNG.OnePageOption;var urlhref=window.location.pathname;var reg=/[~!@#$%^&*()/\|,.<>?"'();:=\[\]{}]/;var scrollbox=jQuery('body,html');var w=$(window);if($(".dng-main").data("page-type")=="verticalfullpage"){scrollbox=jQuery(".dng-main");w=jQuery(".dng-main");} 69if(OnePageOption.duration){$(".primary_structure >li.current >a,.menu_list.mm-listview > li.current >a,.mobilemenu-main .gomenu>ul>li>a").each(function(){var h=$(this).attr("href");if(h==window.location.href.split("#")[0]||h.substring(0,h.length-1)==window.location.href.split("#")[0]){$(this).on("click",function(e){e.preventDefault();if($(this).parents(".mm-listview").length){$(".dng-mobilemenu .mobile-menu-icon").eq(0).click();} 70scrollbox.stop().animate({scrollTop:0},OnePageOption.duration,OnePageOption.easing);window.history.pushState({},0,h);return false;}).addClass("dng-anchor").attr("href","#Body")}})}else{var OnePageOption={duration:500,easing:"swing"};} 71$('a[href*="#"]:not(.mm-btn):not(.mm-next):not(.mm-title)').each(function(){if(typeof DNNapplyTypography!="undefined"){return;} 72if(!$(this).hasClass("LightBox")&&!$(this).hasClass("is-lightbox")){if(!reg.test(this.hash.trim().substr(1))){var $target=this.hash&&this.hash!="#"?$(this.hash):false;var $hash=this.hash;var url=this.pathname;if($target.length&&url==urlhref){$(this).addClass('dng-anchor').on("click",function(e){e.preventDefault();var t=$target.offset().top;if($(".dng-main").data("page-type")=="verticalfullpage"){t=$target.offsetTopParent(scrollbox);} 73scrollbox.stop().animate({scrollTop:t-floatingOffset},OnePageOption.duration,OnePageOption.easing);if($hash!="#Body"){window.history.pushState(null,null,$hash);}});}}}}) 74function menuAnchorPosition(menu){var $current=menu.find('.dng-anchor').eq(0);var sibling=false;if(menu.hasClass("anchor-nav")){sibling=true} 75if($current.length){sibling?$current.addClass("current"):$current.parent().addClass("current");} 76w.on("scroll",function(){if(parseInt(w.scrollTop())+w.height()==parseInt($(document).height())){$current=menu.find('.dng-anchor').last();}else{menu.find('.dng-anchor').each(function(){var t=$(this.hash).offset().top;if($(".dng-main").data("page-type")=="verticalfullpage"){t=$(this.hash).offsetTopParent(scrollbox);} 77if(w.scrollTop()>=t-floatingOffset-1){$current=$(this);}else{return false;}});} 78if(w.scrollTop()==0){menu.find('.dng-anchor').eq(0);} 79if(sibling){$current.addClass("current").focus().siblings().removeClass("current");}else{$current.parents("ul").find("a[href*=#]").parent().removeClass("current");$current.parent().addClass("current").children("a").focus();}})} 80menuAnchorPosition($(".dng-leftmenu"));menuAnchorPosition($(".dng-megamenu"));menuAnchorPosition($(".dng-sidepanemenu"));menuAnchorPosition($("#anchorNav"));menuAnchorPosition($(".dng-mobilemenu"));menuAnchorPosition($(".mobilemenu-main .gomenu"));if(typeof DNNapplyTypography=="undefined"){menuAnchorPosition($(".anchor-nav"));} 81function AnchorPosition(anchor){var $current=anchor.children('li').eq(0);$current.addClass("active").siblings().removeClass("active");function anchorscroll(){anchor.find('li > a').each(function(){var t=$(this.hash).offset().top;if($(".dng-main").data("page-type")=="verticalfullpage"){t=$(this.hash).offsetTopParent(scrollbox);} 82if(w.scrollTop()>=t-floatingOffset-1){$current=$(this).parent("li");}else{return false;}});$current.addClass("active").siblings().removeClass("active");} 83w.on("scroll",function(){anchorscroll();}) 84anchorscroll();} 85AnchorPosition($(".anchor-link"));};DNG.editMode_panename=function(){$(".addModuleHandler").each(function(){$(this).parent().attr("id")&&$(this).after("<div class=\"edit-panename\">"+$(this).parent().attr("id").split("dnn_")[1]+"</div>")})};DNG.dngparallax=function(){$('[data-parallax="parallax"]').each(function(){if(typeof jQuery.fn.paroller
85=="function"){$(this).paroller();};$(window).trigger("scroll");$(this).addClass("parallax-load");}) 86$('[data-parallax="youtube"],[data-parallax="video"]').each(function(){var e=$(this);e.prepend('<div class="dng-video-wrapper"><div class="dng-video-responsive"></div></div>');var responsive=e.find(".dng-video-responsive");var box=e.find(".dng-video-wrapper");var offsetTop=e.offset().top;var boxheight=parseInt(e.height());if(e.data("parallax")=="youtube"){if(!e.data("url"))return false;var id='playerBox'+e.data("id");responsive.append('<div class="playerBox youtube-playerBox" id="'+id+'" style="width:300px;height:150px;"></div>') 87if(!$("#youtube_iframe_api").length){var iframe=e.find(".playerBox").eq(0);var tag=document.createElement('script');tag.src="https://www.youtube.com/iframe_api";tag.id="youtube_iframe_api";var firstScriptTag=document.getElementsByTagName('script')[0];firstScriptTag.parentNode.insertBefore(tag,firstScriptTag);} 88var player,play=false;window.onYouTubePlayerAPIReady=function(){var playerVars={controls:0,rel:0,showinfo:0,modestbranding:1,version:3,iv_load_policy:3,wmode:"transparent",playsinline:1,fs:0,disablekb:1,loop:0};if(e.data("loop"))playerVars["loop"]=1;if(e.data("muted"))playerVars["mute"]=1;if(e.data("start"))playerVars["start"]=e.data("start");if(e.data("end"))playerVars["end"]=e.data("end");player=new YT.Player(id,{videoId:e.data("url"),playerVars:playerVars,list:false,listType:false,events:{'onReady':onPlayerReady,'onStateChange':onPlayerStateChange,'onPlaybackQualityChange':onPlayerPlaybackQualityChange,}});function onPlayerReady(event){event.target.playVideo();if(e.data("viewport")){if(!play&&$(window).scrollTop()+parseInt($(window).height())>offsetTop&&$(window).scrollTop()<offsetTop+boxheight){event.target.playVideo();play=true;}else{event.target.pauseVideo();} 89$(window).on("scroll",function(){if(!play&&$(window).scrollTop()+parseInt($(window).height())>offsetTop&&$(window).scrollTop()<offsetTop+boxheight){event.target.playVideo();play=true;} 90if(play&&($(window).scrollTop()>offsetTop+boxheight||$(window).scrollTop()+parseInt($(window).height())<offsetTop)){event.target.pauseVideo();play=false;}})} 91iframe=e.find(".playerBox").eq(0);count();} 92function onPlayerStateChange(event){if(e.data("loop")){if(event.data==YT.PlayerState.ENDED){if(e.data("start")){player.seekTo(e.data("start"));}else{player.seekTo(0);} 93player.playVideo();}}} 94function onPlayerPlaybackQualityChange(event){}}}else{var html='<video playsinline class="playerBox"';if(e.data("loop"))html+=' loop';if(e.data("muted"))html+=' muted';if(!e.data("viewport"))html+=' autoplay';html+='>';if(e.data("mp4"))html+=' <source src="'+e.data("mp4")+'" type="video/mp4">';if(e.data("ogg"))html+=' <source src="'+e.data("ogg")+'" type="video/ogg">';if(e.data("webm"))html+=' <source src="'+e.data("webm")+'" type="video/webm">';html+='</video>';responsive.append(html) 95var iframe=e.find(".playerBox").eq(0);iframe[0].addEventListener("loadedmetadata",function(){count();var play=false;if(e.data("viewport")){if(!play&&$(window).scrollTop()+parseInt($(window).height())>offsetTop&&$(window).scrollTop()<offsetTop+boxheight){iframe[0].play();play=true;} 96$(window).on("scroll",function(){if(!play&&$(window).scrollTop()+parseInt($(window).height())>offsetTop&&$(window).scrollTop()<offsetTop+boxheight){iframe[0].play();play=true;} 97if(play&&($(window).scrollTop()>offsetTop+boxheight||$(window).scrollTop()+parseInt($(window).height())<offsetTop)){iframe[0].pause();play=false;}})}else{iframe[0].play();}});} 98function count(){iframe.attr({"width":iframe.width(),"height":iframe.height()}).css({"width":"100%","height":"100%"}) 99responsive.css("padding-bottom",(parseInt(iframe.attr("height"))/parseInt(iframe.attr("width"))*100+"%")) 100var width=(parseInt(e.innerHeight())/parseInt(box.innerHeight()))*(parseInt(box.innerWidth())/parseInt(e.innerWidth()))*parseInt(e.innerWidth());box.innerWidth(width+2);$(window).on("resize",function(){width=(parseInt(e.innerHeight())/parseInt(box.innerHeight()))*(parseInt(box.innerWidth())/parseInt(e.innerWidth()))*parseInt(e.innerWidth());box.innerWidth(width+2);offsetTop=e.offset().top;boxheight=parseInt(e.height());})
101$(window).load(function(){width=(parseInt(e.innerHeight())/parseInt(box.innerHeight()))*(parseInt(box.innerWidth())/parseInt(e.innerWidth()))*parseInt(e.innerWidth());box.innerWidth(width+2);offsetTop=e.offset().top;boxheight=parseInt(e.height());$(window).trigger("scroll");})} 102$(this).addClass("parallax-load");})};DNG.sicoSVG=function(){$("i.sico").each(function(){if(!$(this).find("svg").length){var name=$(this).attr("class").split("sico ")[1].split(" ")[0];$(this).append('<svg><use xlink:href="#'+name+'"></use></svg>')}})} 103$(function(){DNG.OnePageOption=typeof OnePageOption!="undefined"?OnePageOption:{};DNG.fixedFooter();DNG.floatingNav();DNG.backToTop();DNG.pageTitle();DNG.detailPageTitle();DNG.pageEndAnimating();DNG.sidebarSticky();DNG.editMode_panename();DNG.dngparallax();DNG.sicoSVG();});$(function(){$(window).on("load",function(){if($("body").hasClass("body-side-static-left")||$("body").hasClass("body-side-static-right")){setTimeout(function(){DNG.pageLoaders();},3000);}else{DNG.pageLoaders();} 104if(typeof Main!="undefined"&&typeof Main.LightBoxPatch!="undefined")Main.LightBoxPatch();});});if(typeof ImgLoad!="undefined"){$(function(){ImgLoad(function(){DNG.pageLoaders();},$("body"))});}})(jQuery);$('link[mediatitle="noneall"],link[media="none"]').each(function(){$(this).attr("media","all")})
105$(".html5-video").each(function(){var e=$(this),btn=e.find(".video-play"),video=e.find("video")[0];btn.show().on("click",function(){video.play();}) 106video.addEventListener('play',function(){btn.hide();});video.addEventListener('pause',function(){btn.show();});video.addEventListener('ended',function(){btn.show();});}) 107$(".Login .userName > a").on("click",function(){$(this).siblings("ul").css("display")=="none"?$(this).siblings("ul").slideDown(200):$(this).siblings("ul").slideUp(200);return false;}) 108if($("body").hasClass("dnnEditState")){$(".BannerPane").before($(".overlay-panel-content"));$(function(){$(".BannerPane").after($(".side-panel-box"));});} 109$(function(){$(".btn-plugin-import").on("click",function(){history.replaceState(null,'',location.pathname+location.search);})}) 110$(function(e){$('.is-arrow-down a').on('click',function(e){$('html,body').animate({scrollTop:$(this).parents(".is-section").offset().top+parseInt($(this).parents(".is-section").height())},800);e.preventDefault();e.stopImmediatePropagation();return false;});$('.d-wrapper > div:first-child').find('.is-scale-animated').addClass('is-appeared');$('.is-scale-animated').appear();$('.is-scale-animated').on('appear',function(){$(this).addClass('is-appeared');});$('.is-scale-animated').on('disappear',function(){$(this).removeClass('is-appeared');});$('.is-animated').each(function(){$(this).addClass('animated');$(this).addClass('fadeOut');});});(function($){var selectors=[];var check_binded=false;var check_lock=false;var defaults={interval:250,force_process:false};var $window=$(window);var $prior_appeared=[];function process(){check_lock=false;for(var index=0,selectorsLength=selectors.length;index<selectorsLength;index++){var $appeared=$(selectors[index]).filter(function(){return $(this).is(':appeared');});$appeared.trigger('appear',[$appeared]);if($prior_appeared[index]){var $disappeared=$prior_appeared[index].not($appeared);$disappeared.trigger('disappear',[$disappeared]);} 111$prior_appeared[index]=$appeared;}};function add_selector(selector){selectors.push(selector);$prior_appeared.push();} 112$.expr.pseudos['appeared']=function(element){var $element=$(element);if(!$element.is(':visible')){return false;} 113var window_left=$window.scrollLeft();var window_top=$window.scrollTop();var offset=$element.offset();var left=offset.left;var top=offset.top;if(top+$element.height()>=window_top&&top-($element.data('appear-top-offset')||0)<=window_top+$window.height()-200&&left+$element.width()>=window_left&&left-($element.data('appear-left-offset')||0)<=window_left+$window.width()){return true;}else{return false;}};$.fn.extend({appear:function(options){var opts=$.extend({},defaults,options||{});var selector=this.selector||this;if(!check_binded){var on_check=function(){if(check_lock){return;} 114check_lock=true;setTimeout(process,opts.interval);};$(window).on('scroll',on_check).on('resize',on_check);check_binded=true;} 115if(opts.force_process){setTimeout(process,opts.interval);} 116add_selector(selector);return $(selector);}});$.extend({force_appear:function(){if(check_binded){process();return true;} 117return false;}});})(function(){if(typeof module!=='undefined'){return require('jquery');}else{return jQuery;}}());function loadScript(url,callback){var script=document.createElement("script") 118script.type="text/javascript";if(script.readyState){script.onreadystatechange=function(){if(script.readyState=="loaded"||script.readyState=="complete"){script.onreadystatechange=null;callback();}};}else{script.onload=function(){callback();};} 119script.src=url;document.body.appendChild(script);} 120$(function(){var tabsAnimation=false;function tabs(event){event.preventDefault();if(!tabsAnimation&&!$(this).hasClass("active")){$(this).addClass("active").attr("aria-selected","true").attr("tabindex","0").siblings().removeClass("active").attr("aria-selected","false").attr("tabindex","-1");var index=$(this).index();var box=$(this).parents(".section-tabs-list,.section-tabs-indexed").siblings(".section-tabs-container").find(".is-container").eq(index).attr("tabindex","0");if(box.parent(".section-tabs-container").data("effect")=="slide"){tabsAnimation=true;box.addClass("active in");box.siblings(".is-container.active").addClass("out").delay(300).queue(function(){$(this).hide().removeClass("active out in");$(this).dequeue();box.show().removeClass("in").delay(300).queue(function(){tabsAnimation=false;$(this).dequeue();});});box.parent(".section-tabs-container").animate({"height":box.innerHeight()},function(){$(this).height("");})}else{box.fadeIn().addClass("active").siblings(".is-container").hide().removeClass("active");} 121$(window).trigger("scroll");
121if($(window).width()<768){jQuery('body,html').stop().animate({scrollTop:$(this).parent().offset().top-floatingOffset-30},800);}}} 122if(typeof DNNapplyTypography=="undefined"){$(".section-tabs-list .item,.section-tabs-indexed .item").on("click",tabs)}else{$(".d-wrapper").on("click",".section-tabs-list .item,.section-tabs-indexed .item",tabs)} 123$(".section-tabs-list").on("keydown",function(event){var ev=event||window.event||arguments.callee.caller.arguments[0];var keyCode=ev.keyCode;if(keyCode==37){if($(this).find(":focus").prev().length){$(this).find(":focus").prev().trigger("focus").trigger("click");}else{$(this).find(".item").last().trigger("focus").trigger("click");}}else if(keyCode==39){if($(this).find(":focus").next().length){$(this).find(":focus").next().trigger("focus").trigger("click");}else{$(this).find(".item").first().trigger("focus").trigger("click");}}})}) 124$(window).on('load',function(){setTimeout(function(){$("html").scrollLeft(0);},100)}) 125$(function(){$("header.header_bg").append($(".btn-plugin.btn-plugin-headerlayout"))}) 126$(function(){$('.is-section[id][data-title]').each(function(){if($(this).attr("id")&&$(this).data("title")){$("#skip-menu ul").append('<li><a href="#'+$(this).attr("id")+'">'+$(this).data("title")+'</a></li>');$(this).attr("tabindex","-1");}}) 127var menulink=$("#skip-menu .menulink a");if(!$(menulink.attr("href")).length){menulink.parent(".menulink").remove();}else{$("#skip-menu .menulink").on("click",function(){jQuery('body,html').stop().animate({scrollTop:0},0);})}}) 128$(function(){if(typeof DNNapplyTypography=="undefined"){$(".builder-tab-title").each(function(){var id="tab-title-"+Math.ceil(Math.random()*1000000);var id2="tab-cont-"+Math.ceil(Math.random()*1000000);$(this).parents(".is-container").find(".builder-tab-cont").eq($(this).index()).attr("id",id2).attr("aria-controls",id).attr("role","tabpanel").before($(this).clone().addClass("mobile-show"));$(this).attr("aria-selected","false").attr("tabindex","-1").attr("id",id).attr("aria-controls",id2).attr("role","tab");if($(this).hasClass("active")){$(this).attr("aria-selected","true").attr("tabindex","0");}})} 129if(typeof DNNapplyTypography!="undefined"||$(".builder-tab-title").length){$(".builder-tab-title:not(.mobile-show)").on("click",function(){var curbox=$(this).parents(".is-container").find(".builder-tab-cont").eq($(this).index());curbox.siblings(".builder-tab-cont").stop().fadeOut(100,function(){curbox.siblings(".builder-tab-cont").hide();curbox.stop().fadeIn();});$(this).addClass("active").attr("aria-selected","true").attr("tabindex","0").siblings(".builder-tab-title").removeClass("active").attr("aria-selected","false").attr("tabindex","-1");}) 130$(".builder-tab-title.mobile-show").on("click",function(){$(this).next(".builder-tab-cont").slideDown().siblings(".builder-tab-cont").slideUp();$(this).addClass("active").attr("aria-selected","true").attr("tabindex","0").siblings(".builder-tab-title").removeClass("active").attr("tabindex","0").attr("aria-selected","false");}) 131$(".builder-tab-title").parent().on("keydown",function(event){var ev=event||window.event||arguments.callee.caller.arguments[0];var keyCode=ev.keyCode;if(keyCode==38||keyCode==37){if($(this).find(":focus").prev().length){$(this).find(":focus").prev().trigger("focus").trigger("click");}else{$(this).find(".builder-tab-title").last().trigger("focus").trigger("click");}}else if(keyCode==40||keyCode==39){if($(this).find(":focus").next().length){$(this).find(":focus").next().trigger("focus").trigger("click");}else{$(this).find(".builder-tab-title").first().trigger("focus").trigger("click");}}})}})
132$(function(){$(".languageBox").each(function(){var e=$(this);e.find(".language-current").on("click",function(event){event.preventDefault();var b=$(this);b.attr("aria-expanded",b.attr("aria-expanded")=="true"?"false":"true");e.find(".language-list").stop().slideToggle(function(){if(b.attr("aria-expanded")=="true"){e.find(".language-list a").eq(0).trigger("focus");}});}) 133$(document).on("click",function(event){if(!e.is(event.target)&&e.has(event.target).length===0){e.find(".language-list").slideUp(function(){e.find(".language-current").attr("aria-expanded","false");});}}) 134e.find("button,input,a").on("blur",function(){if(!e.is(":focus-within")){e.find(".language-list").slideUp(function(){e.find(".language-current").attr("aria-expanded","false");});}}) 135if(!e.find(".language-list").find("a").length){e.addClass("no-list");}})}) 136$(function(){$(".search-popup-box").each(function(){var e=$(this);e.find('.NormalTextBox').attr('placeholder',e.data("placeholder")) 137e.find(".icon").on("click",function(event){event.preventDefault();var b=$(this);b.toggleClass('active');b.attr("aria-expanded",b.attr("aria-expanded")=="true"?"false":"true");b.siblings('.popup-content').stop().fadeToggle(function(){if(b.attr("aria-expanded")=="true"){b.siblings('.popup-content').find("input").trigger("focus");}});}) 138$(document).on("click",function(event){if(!e.is(event.target)&&e.has(event.target).length===0){e.find(".icon").removeClass('active');e.find(".popup-content").stop().fadeOut(function(){e.find(".icon").attr("aria-expanded","false");});}}) 139e.find("button,input,a").on("blur",function(){if(!e.is(":focus-within")){e.find(".icon").removeClass('active');e.find(".popup-content").stop().fadeOut(function(){e.find(".icon").attr("aria-expanded","false");});}})})}) 140/** custom.js end*/ 141
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.