403Webshell
Server IP : 150.230.34.123  /  Your IP : 216.73.217.23
Web Server : LiteSpeed
System : Linux amd-instance-20210802-1657 5.15.0-1042-oracle #48~20.04.1-Ubuntu SMP Mon Aug 21 18:27:46 UTC 2023 x86_64
User : ubuntu ( 1001)
PHP Version : 7.4.33
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/local/lsws/aloysius/html/wp-content/plugins/otter-blocks/build/blocks/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/local/lsws/aloysius/html/wp-content/plugins/otter-blocks/build/blocks/circle-counter.js
!function(){"use strict";var e;e=()=>{const e=document.querySelectorAll(".wp-block-themeisle-blocks-circle-counter");Array.from(e).forEach((e=>{const t=1e3*e.dataset.duration,{percentage:r}=e.dataset,s=e.dataset.height,{strokeWidth:o}=e.dataset,n=e.dataset.fontSizePercent,{backgroundStroke:c}=e.dataset,{progressStroke:i}=e.dataset,a=s/2,l=a-o/2,d=2*Math.PI*l;if(0>l)return;const h=e.querySelector(".wp-block-themeisle-blocks-circle-counter__bar");h.style.height=s+"px",h.style.width=s+"px";const p=document.createElementNS("http://www.w3.org/2000/svg","svg");p.classList.add("wp-block-themeisle-blocks-circle-counter-container"),p.setAttribute("height",s),p.setAttribute("width",s);const u=document.createElementNS("http://www.w3.org/2000/svg","circle");u.classList.add("wp-block-themeisle-blocks-circle-counter-bg"),u.setAttribute("cx",a),u.setAttribute("cy",a),u.setAttribute("r",l),u.style.stroke=c,u.style.strokeWidth=o;const y=document.createElementNS("http://www.w3.org/2000/svg","circle");y.classList.add("wp-block-themeisle-blocks-circle-counter-progress"),y.setAttribute("cx",a),y.setAttribute("cy",a),y.setAttribute("r",l),y.style.stroke=i,y.style.strokeWidth=o,y.style.strokeDasharray=d;const f=document.createElementNS("http://www.w3.org/2000/svg","text");if(f.classList.add("wp-block-themeisle-blocks-circle-counter-text"),f.setAttribute("x","50%"),f.setAttribute("y","50%"),f.style.fill=i,f.style.fontSize=n+"px",p.appendChild(u),p.appendChild(y),p.appendChild(f),h.appendChild(p),t){let s;y.style.strokeDashoffset=d,f.innerText="0%";const o=new IntersectionObserver((n=>{n.forEach((n=>{if(n.isIntersecting){if(0>=n.intersectionRect.height)return y.style.strokeDashoffset=(100-r)/100*d,void(f.innerHTML=r+"%");s&&clearInterval(s);const c=20,i=parseInt(r),a=((e,t,r)=>{const s=[],o=typeof e,n=typeof t;if(0===r)throw TypeError("Step cannot be zero.");if(void 0===o||void 0===n)throw TypeError("Must pass start and end arguments.");if(o!==n)throw TypeError("Start and end arguments must be of same type.");if(void 0===typeof r&&(r=1),t<e&&(r=-r),"number"===o)for(;0<r?t>=e:t<=e;)s.push(e),e+=r;else{if("string"!==o)throw TypeError("Only string and number types are supported");if(1!==e.length||1!==t.length)throw TypeError("Only strings with one character are supported.");for(e=e.charCodeAt(0),t=t.charCodeAt(0);0<r?t>=e:t<=e;)s.push(String.fromCharCode(e)),e+=r}return s})(0,t,c).map((e=>e/t*i)).reverse();s=setInterval((()=>{const t=Math.round(a.pop());y.style.strokeDashoffset=(100-t)/100*d,f.innerHTML=t+"%",a.length||(o.unobserve(e),clearInterval(s))}),c)}}))}),{root:null,rootMargin:"0px",threshold:[.6]});setTimeout((()=>o.observe(e)),100)}else y.style.strokeDashoffset=(100-r)/100*d,f.innerHTML=r+"%"}))},"undefined"!=typeof document&&("complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",e):e())}();

Youez - 2016 - github.com/yon3zu
LinuXploit