HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux vm8 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: afleverb (1000)
PHP: 7.4.33
Disabled: 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,
Upload Files
File: //var/www/drakkar_site/wp-content/plugins/otter-blocks/build/animation/anim-count.js
!function(){"use strict";const e={none:void 0,"o-count-slower":3,"o-count-slow":2,"o-count-fast":1.5,"o-count-faster":1},t=new Set(Array.from("0123456789,.")),r=new Set(Array.from(","));var n;n=()=>{const n={root:null,rootMargin:"0px",threshold:[.6]},o=new Set("0123456789");setTimeout((()=>{document.querySelectorAll("o-anim-count").forEach((s=>{if(Array.from(s.innerHTML).some((e=>o.has(e)))){const o=new IntersectionObserver((n=>{n.forEach((n=>{n.isIntersecting&&0<n.intersectionRect.height&&(o.unobserve(s),(n=>{const o=n?.innerHTML||"",s=(t=>{let r=t.parentElement;const n=["STRONG","B","EM","I","U","SPAN","CODE","MARK","SMALL","S","DEL","INS","SUP","SUB"];for(;r&&n.includes(r.tagName);)r=r.parentElement;for(let t=0;t<3;++t)if(Array.from(r.classList).some((e=>e.includes("o-count-")))){const t=Array.from(r.classList),n=t.filter((e=>e.includes("o-count-delay-"))).pop(),o=parseInt(n?.split("-")?.[3]||"0"),s=n?.includes("ms"),i=Object.keys(e),a=t?.filter((e=>i.includes(e)))?.pop()||"fast";return{speed:e[a],delay:o*(s?1:1e3)}}})(n),{suffix:i,prefix:a,number:c}=(e=>{const r=Array.from(e),n=[],o=[],s=[];let i=!0,a=!1;for(const e of r)t.has(e)?(i&&(i=!1),a?o.push(e):s.push(e)):i?n.push(e):(a||(a=!0),o.push(e));return{prefix:n.join(""),suffix:o.join(""),number:s}})(o),l=[...c].reverse().map(((e,t)=>r.has(e)?{position:t,character:e}:null)).filter((e=>e)),u=c.join("")?.split(".")?.[1]?.length||0,p=parseFloat(c.filter((e=>","!==e)).join("")),f=o.length-i.length,d=e=>{const t=e.split("").reverse();return l.forEach((e=>{e.position<t.length&&t.splice(e.position,0,e.character)})),((a||"")+t.reverse().join("")).padStart(f," ")+i||""},{start:h,steps:m}=(e=>{let t,r=0;const n=Math.ceil(e/.05)+1||1,o=e=>{clearInterval(t),e?.()};return{steps:n,start:(e,s)=>{t=setInterval((()=>{r<n?(e?.(r),r+=1):o(s)}),50)},stop:o}})(s?.speed||2),y=parseFloat((p/m).toFixed(u||2));if(1e-12>y)return;let S=[0];for(let e=1;e<m;++e)S.push(S[e-1]+y);S=S.map((e=>e.toFixed(u))),0<S.length&&(S[m-1]=p.toFixed(u||0),n.innerHTML=d(S[0]),setTimeout((()=>{n.style.whiteSpace="pre",h((e=>{n.innerHTML=d(S[e])}),(()=>{n.style.whiteSpace="",n.innerHTML=o}))}),s?.delay||0))})(s))}))}),n);o.observe(s)}}))}),300)},"undefined"!=typeof document&&("complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",n):n())}();