Webseite:Blazingly Fast, Low Cost, & Eco-Friendly ‘1244Dapp PlatformInhalt
alanche:CreateWithoutLimits|dAppPlatformwindow.TERMLY_CUSTOM_BLOCKING_MAP={"assets-global.website-files.com":"essential","cdn.prod.website-files.com":"essential","cdn.prod.website-files.com/":"essential","widget.intercom.io":"essential","js.intercomcdn.com":"essential"}(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':newDate().getTime(),event:'gtm.js'});varf=d.getElementsByTName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-P73TK8P');window.intercomSettings={api_base:"api-iam.intercom.io",app_id:"aegcj3j9"};//Wepre-filledyourappIDinthewidgetURL:'widget.intercom.io/widget/aegcj3j9'(function(){varw=window;varic=w.Intercom;if(typeofic==="function"){ic('reattach_activator');ic('update',w.intercomSettings);}else{vard=document;vari=function(){i.c(arguments);};i.q=[];i.c=function(args){i.q.push(args);};w.Intercom=i;varl=function(){vars=d.createElement('script');s.type='text/jascript';s.async=true;s.src='widget.intercom.io/widget/aegcj3j9';varx=d.getElementsByTName('script')[0];x.parentNode.insertBefore(s,x);};if(document.readyState==='complete'){l();}elseif(w.attachEvent){w.attachEvent('onload',l);}else{w.addEventListener('load',l,false);}}})();/*Maketextlookcrisperandmorelegibleinallbrowsers*/body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-smoothing:antialiased;text-rendering:optimizeLegibility;}/*Focusstatestyleforkeyboardnigationforthefocusableelements*/*[tabindex]:focus-visible,input[type="file"]:focus-visible{outline:0.125remsolid#4d65ff;outline-offset:0.125rem;}/*Getridoftopmarginonfirstelementinanyrichtextelement*/.w-richtext>:not(div):first-child,.w-richtext>div:first-child>:first-child{margin-top:0!important;}/*Getridofbottommarginonlastelementinanyrichtextelement*/.w-richtext>:last-child,.w-richtextolli:last-child,.w-richtextulli:last-child{margin-bottom:0!important;}/*Preventallclickandhoverinteractionwithanelement*/.pointer-events-off{pointer-events:none;}/*Enablesallclickandhoverinteractionwithanelement*/.pointer-events-on{pointer-events:auto;}/*Createaclassof.div-squarewhichmaintainsa1:1dimensionofadiv*/.div-square::after{content:"";display:block;padding-bottom:100%;}/*Makesurecontainersneverlosetheircenteralignment*/.container-medium,.container-small,.container-large{margin-right:auto!important;margin-left:auto!important;}/*Makethefollowingelementsinherittypographystylesfromtheparentandnothehardcodedvalues.Important:Youwillnotbeabletostyleforexample"AllLinks"inDesignerwiththisCSSapplied.UncommentthisCSStouseitintheproject.Leethismesseforfuturehand-off.*//*a,.w-input,.w-select,.w-tab-link,.w-n-link,.w-dropdown-btn,.w-dropdown-toggle,.w-dropdown-link{color:inherit;text-decoration:inherit;font-size:inherit;}*//*Apply"..."after3linesoftext*/.text-style-3lines{display:-webkit-box;overflow:hidden;-webkit-line-clamp:3;-webkit-box-orient:vertical;}/*Apply"..."after2linesoftext*/.text-style-2lines{display:-webkit-box;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;}/*Addsinlineflexdisplay*/.display-inlineflex{display:inline-flex;}/*Theseclassesareneveroverwritten*/.hide{display:none!important;}@mediascreenand(max-width:991px),@mediascreenand(max-width:767px),@mediascreenand(max-width:479px){.hide,.hide-tablet{display:none!important;}}@mediascreenand(max-width:767px).hide-mobile-landscape{display:none!important;}}@mediascreenand(max-width:479px).hide-mobile{display:none!important;}}.margin-0{margin:0rem!important;}.padding-0{padding:0rem!important;}.spacing-clean{padding:0rem!important;margin:0rem!important;}.margin-top{margin-right:0rem!important;margin-bottom:0rem!important;margin-left:0rem!important;}.padding-top{padding-right:0rem!important;padding-bottom:0rem!important;padding-left:0rem!important;}.margin-right{margin-top:0rem!important;margin-bottom:0rem!important;margin-left:0rem!important;}.padding-right{padding-top:0rem!important;padding-bottom:0rem!important;padding-left:0rem!important;}.margin-bottom{margin-top:0rem!important;margin-right:0rem!important;margin-left:0rem!important;}.padding-bottom{padding-top:0rem!important;padding-right:0rem!important;padding-left:0rem!important;}.margin-left{margin-top:0rem!important;margin-right:0rem!important;margin-bottom:0rem!important;}.padding-left{padding-top:0rem!important;padding-right:0rem!important;padding-bottom:0rem!important;}.margin-horizontal{margin-top:0rem!important;margin-bottom:0rem!important;}.padding-horizontal{padding-top:0rem!important;padding-bottom:0rem!important;}.margin-vertical{margin-right:0rem!important;margin-left:0rem!important;}.padding-vertical{padding-right:0rem!important;padding-left:0rem!important;}/*ProjectSpecificStyles*/@mediascreenand(max-width:991px){.nbar-dropdown_dropdown-toggle{display:inline-flex;}}.footer_social-list{color:inherit;}.footer_social-link{color:inherit;}@mediascreenand(max-width:1100px){.content_text-wrap.home-header-large-overlap{margin-top:1rem;}}@mediascreenand(max-width:991px){.content_text-wrap.home-header-large-overlap{margin-top:2rem;}}@mediascreenand(max-width:1100px){.content_text-wrap.custom-overlap-1{margin-top:1rem;}}@mediascreenand(max-width:1050px){.content_text-wrap.custom-overlap-2{margin-top:1rem;}}@mediascreenand(max-width:1050px){.content_text-parent.dev-header{flex-direction:column;}.content_text-parent.dev-header.content_text-spacing{display:none;}.content_text-wrap.dev-header-overlap{margin-top:1rem;}}/*SwiperStyles*/.dev-swiper{user-select:none;box-sizing:border-box;}.dev-swiper.swiper-slide{display:flex;align-items:center;justify-content:center;width:100%;height:auto;overflow:hidden;box-sizing:border-box;}@mediascreenand(max-width:1160px){.content_component.subnets-scaling{flex-direction:column;}.content_text-wrap.subnets-scaling-overlap{margin-top:2rem;}}@mediascreenand(max-width:663px){.container-medium.is-dev-tools{max-width:25rem;}.container-medium.content_small-heading{text-align:center;}}@mediascreenand(max-width:1150px){.content_component.enterprise-grade{flex-direction:column;}.content_text-wrap.enterprise-grade{margin-top:2rem;}.content_component.enterprise-grade.content_text-spacing{display:none;}}@mediascreenand(max-width:1030px){.content_component.users-header{flex-direction:column;}.content_text-wrap.users-header{margin-top:2rem;}.content_component.users-header.content_text-spacing{display:none;}}@mediascreenand(max-width:1050px){.content_component.users-ecosystem{flex-direction:column;}.content_text-wrap.ecosystem-text{margin-top:2rem;}.content_component.users-ecosystem.content_text-spacing{display:none;}}@mediascreenand(max-width:1124px){.content_component.users-control{flex-direction:column;}.content_text-wrap.control-overlap{margin-top:2rem;}.content_component.users-control.content_text-spacing{display:none;}}.stats-combined_component.is-dark.statistic_component:nth-child(1){ color:#9A5D98;}.stats-combined_component.is-dark.statistic_component:nth-child(2){ color:#B34C76;}.stats-combined_component.is-dark.statistic_component:nth-child(3){ color:#C;}.stats-combined_component.is-dark.statistic_compoBlazingly Fast, Low Cost, & Eco-Friendly ‘1244Dapp Platformnent:nth-child(4){ color:#D73D4E;}.stats_text.is-gradient-text{ color:inherit;}.splide__pination{top:105%!important}.stake-stats_card{box-shadow:0px12px16px-4pxrgba(27,27,27,0.08),0px4px6px-2pxrgba(27,27,27,0.03);}.stake-stats_content-card{box-shadow:0px12px16px-4pxrgba(27,27,27,0.08),0px4px6px-2pxrgba(27,27,27,0.03);}.stake-stats_content-block{box-shadow:0px12px16px-4pxrgba(27,27,27,0.08),0px4px6px-2pxrgba(27,27,27,0.03);}.n-brand.w--current{padding-bottom:8px;}DevelopersGetStartedalancheAcademyVideoTutorialsValidatorsDocumentationalancheForumRetro9000BlizzardBlogBugBountySupportINDIVIDUALSGetStartedalancheWalletalancheExplorerSupportEnterpriseGetStartedEvergreenEnterpriseCaseStudyTheSnowReportSupportApplicationsArtandCultureGamingCommunitySocialMediaEcosystemAmbassadorDAOMerchStoreEcosystemJobsalancheSummitCommunityHubTOOLSalancheStatsalancheStatusBurnedAXSnowTraceStakingMetricsValidatorHealthCheckSupportFoundationBloginfraBUIDL()infraBUIDL(AI)Retro9000Review2024CareersPressPressKitContactUsGetStartedCREATEWITHOUTLIMITSBuildanythingyouwant,anywayyouwantonthelightningfast,scalableblockchainthatwon’tletyoudown.ChoosingthewrongblockchaincankillyourdAppbeforeiteverhasachancetosucceed,butitdoesn’thetobethisway.Launchwithconfidenceonalanche.GetStartedNewtoWeb3?ArrowRightExploreRetro9000ArrowRightgTransactionFinalityTime.79SECActiveValidators1,375ActiveAddresses8MTotalValueLocked$1.75BAnnualEnergyConsumption46USHouseholdsBUILDITYOURWAYalanchehastheadvancedtoolingyouneedtoacceleratefromideatolaunch.Don’tmissoutbecauseittooktoolongtodeployonMainnet.Takeadvanteofthelow-codetoolingandconfigurabilitythatmakesiteasytolaunchyourWeb3innovationinlessthan60seconds.GetStarted“alancheconsensusiswellsuitedforbuildingDeFiapplicationsduetoitsscalabilityfeatures,particularlyitshighthroughputandnear-instantfinality.”StaniKulechovFounderofAE"High-speedfinancialapplicationsarethenormforWeb2,andforWeb3tocompeteandheparitywithWeb2,youdoneedahigh-speedchain.alanchegetsuscloserandcloserandpossiblyarrivingatparitywiththespeedofWeb2systems."sergeynazarovCo-Founder,ChainlinkLabsTHE BLOCKCHAINBUILT TOSCALESubnetssetanewbarforscalability,withoutsacrificingspeed,reliability,andsecurity.Usershatewaiting.Scalingatthecostofperformanceorsecurityisnotanoption.alanche’snovelarchitectureallowsforauniverseofindependent,butinterconnected,blockchainsthatareallvalidatedandkeptsecurebydynamicsubsetsofvalidators.LearnAboutSubnets"Itishugelyrewardingforustoworkwithalanche,tounderpinthesecurityofanetworkthatwillfacilitatetradeacrossdifferentfinancialassetsatspeed"DmitryTokarevCEOofCopper“TheLemonadeCryptoClimateCoalitionisbuiltend-to-endontheblockchain,itutilizesstrategiesthatwouldbeimpossiblewithregulartechnology.Justbecauseit’son-chaindoesn’tmeanit’scomplicated.Buildingonalanchewasseamless.”RoyconfinoHeadofStrategyandOperations,LemonadeFoundationJOINWEB3x27;sMOSTVIBRANTCOMMUNITYFindtheanswers,connections,andinfoyouneedtoaccelerateyourWeb3aspirations.Overthelastyear,tensofthousandsofpeoplecametogetheratalancheeventsworldwide.Asoneoftheindustry’smostdiverseandsupportivecommunities,alancheboastsmembersfromallwalksoflife,withover18languessupportedacrossthe1M+strongonlinecommunity.JointheDiscordSOMETIMES REDIS ALSO GREEN.Technologythatisn’tsustainablehasnoclaimonthefuture.Whenitcomestotheenergyrequiredtorun,nootherblockchaincomesclose.AccordingtotheCryptoCarbonRatingsInstitute,alancheconsumesthesameenergyasonly46UShouseholdseachyear.LearnAboutSustainabilityJointhecommunityhbspt.forms.create({region:"na1",portalId:"",formId:"4428d3bb-dea1-493f-98e9-d144e"});EN KRDevelopersGet StartedalancheAcademyVideoTutorialsValidatorsDocumentationRoadmapBlogSupportINDIVIDUALSGetStartedalancheWalletalancheExplorerSupportENTERPRISEGetStartedEvergreenEnterpriseCaseStudyTheSnowReportSupportApplicationsArtandCultureGamingCOMMUNBlazingly Fast, Low Cost, & Eco-Friendly ‘1244Dapp PlatformITYStatusalancheEcosystemMerchStorealancheSummitAmbassadorDAOCommunityHubToolsStatusalancheStatsalancheStatusSnowTraceStakingMetricsValidatorHealthCheckSupportDiscoverLogisticsBlogPressPressKitLegalContactvarformatter=newIntl.NumberFormat('en-US',{style:'currency',currency:'USD'});functionvideo(){letv=$('.section-hero.home-sectionhero-videoiframe');v.attr('src','player.vimeo.com/video/5?api=1&background=1&autoplay=1&loop=1&muted=1');v.attr('webkitallowfullscreenmozallowfullscreenallowfullscreen');iframe=$('.section-hero.home-sectionhero-videoiframe')[0];iframe=$(iframe);}if($('.section-hero.home-sectionhero-videoiframe').length){video();}functionheader(){leth='header';letw=$('header+div').hasClass('style-white-header');if(w)$(h).addClass('style-white');$(window).scroll(function(){if($(this).scrollTop()>=1){$(h).addClass('style-scroll');if(w)$(h).removeClass('style-white');}else{if(!$(h).hasClass('style-open')){$(h).removeClass('style-scroll');if(w)$(h).addClass('style-white');}}});$('header.header-action').click(function(){if($(h).hasClass('style-open')){$(h).removeClass('style-open')}else{$(h).addClass('style-open');$(h).addClass('style-scroll');if(w)$(h).removeClass('style-white')}})}functionfooter(){letf='footer.footer-containerfoot-containerlang';$(`${f}-lang`).click(function(){if($(f).hasClass('style-show')){$(f).removeClass('style-show')}else{$(f).addClass('style-show')}})}functionsliderDevelopersPe(){lets='.section-quote.wrapper.section-quote_containerslider.section-quote_el';letsqn='.section-quote.wrapper.section-quote_containerslider.section-quote_containern.section-quote_n';letindex=-1;letnbMax=$(s).length;letinterval;letline=$('',{class:'section-quote_ellineprogress'});$(s+'.section-quote_elcontainertext.section-quote_elcontainerinfos.section-quote_elprogress').append(line);$(s).addClass('style-hide');$(s+':nth-child(1)').addClass('style-show');$(s+':nth-child(1)').removeClass('style-hide');$(sqn+'.section-quote_btnnext').click(function(){clearInterval(interval);$(s+':nth-child('+(index+1)+')').addClass('style-hide');index--;if(indexnbMax-1)index=0;setTimeout(function(){$(s).removeClass('style-show');$(s+':nth-child('+(index+1)+')').addClass('style-show');setTimeout(function(){$(s+':nth-child('+(index+1)+')').removeClass('style-hide');},50)},500);startInterval();});functionstartInterval(){interval=setInterval(function(){$(sqn+'.section-quote_btnnext').click()},7500)}startInterval();}functionsliderSolutionsPe(){letsss='.section-solutions_solutioncontainer';lete1=sss+'.section-solutions_containerel.section-solutions_el';letss=sss+'.section-solutions_solutioncontainern.section-solutions_solutioncontainerstep.section-solutions_solutionstep';letnv=sss+'.section-solutions_solutioncontainern';letsquare=$('',{class:'section-solutions_solutionstep'});$('.section-solutions.wrapper.section-solutions_containersection.section-solutions_solution').each(function(){letsection=$(this);letindex=1;letnbMax=Math.ceil(section.find(e1).length/4);letinterval;$(e1).addClass('style-hide');setTimeout(function(){for(leti=1;i=1){section.find(ss).remove();for(leti=1;i0){lettCopy=t.clone();tCopy.find(".styleparraphtiny").text(val);letadd=!0;$(elt).each(function(){if($(this).find(".styleparraphtiny").text().toLowerCase()==val.toLowerCase()){add=!1}});if(add){$(celt).append(tCopy);$(celt+".section-ecosystem_elt.section-ecosystem_tcross").click(function(){$(this).parent().remove();updateEcosystemEl()});updateEcosystemEl()}}})}functionpressHomePe(){if(window.matchMedia('(min-width:700px)').matches){$('.section-press_elimg').click(function(){$('.section-press_el').removeClass('section-press_elactive');$(this).parent().addClass('section-press_elactive');})}else{$('.section-press_el').addClass('section-press_elactive')}}functionformContactPe(){lets='.section-contactform.section-contactform_containertextform.section-contactform_containerinput';$(s).focusin(function(){$(this).addClass('style-focus')});$(s).focusout(function(){$(this).removeClass('style-focus')});}functionformalanchecontactPe(){lets='.section-applicationform.section-applicationform_containerformform.section-applicationform_input';$(s).focusin(function(){$(this).addClass('style-focus')});$(s).focusout(function(){$(this).removeClass('style-focus')});}functiongetPriceAndStakes(){constpriceURL='api.coingecko.com/api/v3/coins/markets?vs_currency=usd&ids=alanche-2&order=market_cap_desc&per_pe=100&pe=1&sparkline=false',url='api.ax.network/ext/P',ct='application/json',p='LpoYY',AX=Math.pow(10,9);lettotalS=0,currSupply=0,price=0;/*GETPRICE*/fetch(priceURL).then((res)=>res.json()).then((data)=>{price=data[0].current_price;$('#price').html(`$${data[0].current_price}`);$('#mcap').html(`$${data[0].market_cap.toLocaleString()}`);$('#vol').html(`$${data[0].total_volume.toLocaleString()}`);/*GETCURRENTVALIDATORS*/$.ajax({url:url,type:'POST',data:JSON.stringify({jsonrpc:'2.0',method:'platform.getCurrentValidators',params:{subnetID:p},id:1,}),contentType:ct,dataType:'json',success:function(d,s){letv=d.result.validators;/*CALCTOTALSTAKE&DELEGATIONS*/letdCount=0,totalVS=0,totalDS=0;v.forEach(v=>{d=v.delegators;const[s,ds]=calcStake(d,v.stakeAmount);totalVS+=parseInt(s);totalDS+=ds;if(d)dCount+=d.length;});totalS=parseFloat(((totalVS+totalDS)/AX).toFixed(2));/*BINDDATATOVALIDATORSTATS*/$('#tVal').html(v.length.toLocaleString());$('#tDel').html(dCount.toLocaleString());$('#sTotal').html(totalS.toLocaleString());$('#sVal').html(parseFloat((totalVS/AX).toFixed(0)).toLocaleString());$('#sDel').html(parseFloat((totalDS/AX).toFixed(0)).toLocaleString());/*GETCURRENTSUPPLY*/$.ajax({url:url,type:'POST',data:JSON.stringify({jsonrpc:'2.0',method:'platform.getCurrentSupply',params:{},id:1,}),contentType:ct,dataType:'json',success:function(d,s){/*CALCSTAKINGRATIO&APY*/currSupply=(parseInt(d.result.supply)/AX).toFixed(2);constapy=(calcReward(currSupply,,currSupply)/currSupply)*100;$('#ratio').html(`${((totalS/currSupply)*100).toFixed(2)}%`);$('#stakep').html(`${((totalS/currSupply)*100).toFixed(2)}%`);$('#apy').html(`${apy.toFixed(2)}%`);$('#yourAPY').html(`${apy.toFixed(2)}%`);setRewards(100,currSupply,price);letdoInput=(event)=>handleStakingCalc(event,[currSupply,price]);$('#calcu').on('propertychangeinput',doInput);$('#calcu').focusin(function(){$(this).addClass('style-focus')});$('#calcu').focusout(function(){$(this).removeClass('style-focus')});},})}})});/*PENDING*/$.ajax({url:url,type:'POST',data:JSON.stringify({jsonrpc:'2.0',method:'platform.getPendingValidators',params:{subnetID:p},id:1,}),contentType:ct,dataType:'json',success:function(d,s){$('#pVal').html(`${d.result.validators.length.toLocaleString()}pending`);$('#pDel').html(`${d.result.delegators.length.toLocaleString()}pending`)},})}functionindividuals(){fetch('api.ax.network/ext/bc/C/rpc',{method:'POST',mode:'cors',cache:'no-cache',credentials:'same-origin',headers:{'Content-Type':'application/json'},redirect:'follow',referrerPolicy:'no-referrer',body:JSON.stringify({jsonrpc:'2.0',method:'eth_getBalance',params:['0x','latest'],id:1,}),}).then((res)=>res.json()).then((data)=>{burnBlazingly Fast, Low Cost, & Eco-Friendly ‘1244Dapp Platformed=parseInt(data.result)/Math.pow(10,18);str=parseFloat(burned.toFixed(2)).toLocaleString();$('#burned').html(`${str}AX`);});fetch('explorerapi.ax.network/v2/cacheaddresscounts').then((res)=>res.json()).then((data)=>{letwallets=parseInt(data[0].total)+parseInt(data[1].total);$('#wals').html(wallets.toLocaleString())});}$(window).on('load',function(){if(window.location.href.indexOf('validators')>-1){getPriceAndStakes()}if(window.location.href.indexOf('individuals')>-1){getPriceAndStakes();individuals();}sliderDevelopersPe();sliderSolutionsPe();searchEcosystemPe();pressHomePe();formContactPe();formalanchecontactPe();footer();$('.buttontop').click(()=>$('html,body').animate({scrollTop:0},'slow'))});header();//HELPERSfunctioncalcStake(d,amt){letdS=0;if(d)d.forEach(d=>dS+=parseInt(d.stakeAmount));return[parseInt(amt),dS];}functioncalcReward(amt,dur,currSup){constmaxC=0.12,minC=0.1,diff=maxC-minC,maxSup=0,remSup=maxSup-currSup,ratioSup=amt/currSup,maxDur=/*1yrinsec*/,ratioDur=dur/maxDur,mintingRate=minC+diff*ratioDur;letreward=remSup*ratioSup*(mintingRate*ratioDur);returnreward;}functionhandleStakingCalc(e,arg){letvalueChanged=false;valueChanged=(e.type=='propertychange')?e.originalEvent.propertyName=='value':true;if(valueChanged)setRewards(e.target.value,arg[0],arg[1]);}functionsetRewards(stake,currSupply,price){$('#yourStake').html(stake);letyearly=parseFloat(calcReward(stake,,currSupply).toFixed(2)),monthly=parseFloat((yearly/12).toFixed(2)),daily=parseFloat((yearly/365).toFixed(2));$('#yearly').html(`${yearly.toLocaleString()}AX`);$('#monthly').html(`${monthly.toLocaleString()}AX`);$('#daily').html(`${daily.toLocaleString()}AX`);$('#yUSD').html(`${formatter.format(yearly*price)}`);$('#mUSD').html(`${formatter.format(monthly*price)}`);$('#dUSD').html(`${formatter.format(daily*price)}`);}lettoggle=document.querySelector('.langue-toggle');letdomain=window.location;letslug=domain.pathname;letspanish='kr.ax.network';toggle.addEventListener('click',switchSite);functionswitchSite(){window.location.href=spanish+slug;}particlesJS("particles-js",{particles:{number:{value:80,density:{enable:true,value_area:800}},color:{value:"#ffffff"},shape:{type:"circle",stroke:{width:0,color:"#ffffff"},polygon:{nb_sides:3},ime:{src:"img/github.svg",width:100,height:100}},opacity:{value:0.5,random:false,anim:{enable:false,speed:1,opacity_min:0.1,sync:false}},size:{value:3,random:true,anim:{enable:false,speed:40,size_min:0.1,sync:false}},line_linked:{enable:false,distance:50,color:"#ffffff",opacity:1,width:2},move:{enable:true,speed:3,direction:"none",random:false,straight:false,out_mode:"out",bounce:false,attract:{enable:false,rotateX:600,rotateY:1200}}},interactivity:{detect_on:"canvas",events:{onhover:{enable:true,mode:"repulse"},onclick:{enable:true,mode:"push"},resize:true},modes:{grab:{distance:400,line_linked:{opacity:1}},bubble:{distance:400,size:40,duration:2,opacity:8,speed:3},repulse:{distance:200,duration:0.4},push:{particles_nb:4},remove:{particles_nb:2}}},retina_detect:true});varcount_particles,stats,update;stats=newStats();stats.setMode(0);stats.domElement.style.position="absolute";stats.domElement.style.left="0px";stats.domElement.style.top="0px";document.body.appendChild(stats.domElement);count_particles=document.querySelector(".js-count-particles");update=function(){stats.begin();stats.end();if(window.pJSDom[0].pJS.particles&&window.pJSDom[0].pJS.particles.array){count_particles.innerText=window.pJSDom[0].pJS.particles.array.length;}requestAnimationFrame(update);};requestAnimationFrame(update);