光磁力。 3.3 级地震 – 印度洋,楠榜,印度尼西亚万丹省西朗西北 46 公里,2024 年 10 月 17 日星期四上午 08:13(雅加达时间)
“)}e.setAttribute(“data-distAdded”,1)}}异步filterEQ(e){if(document,this.magFilter=e,this.currMag){var s=Math.max(e,this.currMag .getAttribute(“data-baseVal”));if(this.currMag.innerText=s.toString(),this.magFilterBtns){let a=this.magFilterBtns.getElementsByClassName(“magFilter”);for(i=0; isetTimeout(e,1e3))),e!=this.distFilter){if(this.distFilter=e,this.currDistInfoKm&&(this.currDistInfoKm.innerText=e),this.currDistInfoMi&&(this.currDistInfoMi.innerText=Math. round(.62137*e)),e>this.currentMaxDist)return this.loadNewQuakes(500);this.applyFilters()}}async filterByAge(e){if(this.ageFilter=e,this.ageFilterBtns){let s=this.ageFilterBtns.getElementsByClassName(“ageFilter”);for(var a=0;a0&&(e.getAttribute(“data-mag”)&&parseFloat(e.getAttribute(“data-mag”))3&&e.getAttribute(” data-mag”)&&parseInt(e.getAttribute(“data-ea”))>0))return!1;if(this.ageFilter>0){if(this.referenceTime){if(e.getAttribute(“data -time”)&&this.referenceTime-parseInt(e.getAttribute(“data-time”))>this.ageFilter)return!1}else if(e.getAttribute(“data-time”)&&s-parseInt(e.getAttribute (“data-time”))>this.ageFilter)return!1}if(this.statusFilter&&e.getAttribute(“data-ea”)&&parseInt(e.getAttribute(“data-ea”))>0)return!1 ;if(this.distFilter>0){if(e.getAttribute(“data-dist”)&&parseFloat(e.getAttribute(“data-dist”))>this.distFilter)return!1;if(500==this .distFilter&&e.getAttribute(“data-dist”)&&e.getAttribute(“data-mag”)){let a=parseFloat(e.getAttribute(“data-mag”)),l=parseFloat(e.getAttribute(“data”) -dist”));如果(a25||一个50||一个100||一个200||一个250||一个300||l>500)return!1}}return!(“time”!=this.sortBy&&e.classList.contains(“tSpc”))}async applyFilters(e){var e=e||0;e| |!this.loadMoreUrl||this.hasLoadedAll||(this.loadMoreRows(),await new Promise(e=>setTimeout(e,500)));let s=document,a=this.table.rows,l= 0,r=Math.floor(Date.now()/1e3);for(let n=1;nsetTimeout(e,20)))}}let h=a.getElementsByClassName(“aStr”);nowUTC=Math.楼层(Date.now()/1e3);for(让u=0;u”+writeRelAge(g,this.referenceTime)+” “)}}async sortTable(e){if(this.isSorting)return;this.isSorting=1,this.table.rows[0].style.opacity=.5,(“mag”==e||”dep”==e)&&this.isMainTable&&!this.hasLoadedAll&&”function”==typeof loadMoreRows&&(this.hasLoadedAll=1,this.isSorting=0 ,this.loadMoreRows(),等待新的 Promise(e=>setTimeout(e,1e3))),等待新的 Promise(e=>setTimeout(e,200));let s=this.table,a=Array.from (s.querySelectorAll(“:scope > tbody > tr”));a.shift();let l=”desc”,r=e==this.sortBy;for(let n of(r&&”desc”== this.sortDir&&(l=”asc”),this.sortBy=e,this.sortDir=l,a.sort((s,a)=>{if(“time”==e){let r=parseInt( s.getAttribute(“data-time”)),n=parseInt(a.getAttribute(“data-time”));return”asc”==l?rn:nr}if(“dep”==e){ let o=parseInt(s.getAttribute(“data-dep”)),d=parseInt(a.getAttribute(“data-dep”));return”asc”==l?od:do}let h=parseFloat( s.getAttribute(“data-mag”));isNaN(h)&&(h=0);let u=parseFloat(a.getAttribute(“data-mag”));return isNaN(u)&&(u=0 ),”asc”==l?hu:uh}),a))(“tSpc”==n.className||1==n.getAttribute(“data-ea”))&&(“时间”== e?n.style.display=””:n.style.display=”none”),s.tBodies[0].appendChild(n);this.table.rows[0].style.opacity=1,this.isSorting=0,this.applyFilters()}insertNewRows(qRecords,markThem){let d=document,rows=this.table.rows;var markThem=markThem||!1;let […]
