File manager - Edit - /home/vblioqus/unfreezetiktok.com/wp-content/plugins/kadence-blocks/includes/assets/js/kb-advanced-heading.min.js
Back
const kbAdvHeadingTypedListener=setInterval(function(){if("undefined"!=typeof Typed){function a(a){const b={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};return a.replace(/[&<>"'/]/gi,a=>b[a])}clearInterval(kbAdvHeadingTypedListener);const b={strings:JSON.stringify([""]),cursorChar:"_",startDelay:0,backDelay:700,typeSpeed:40,backSpeed:30,smartBackspace:!1,loop:!0,loopCount:!1,showCursor:!0,shuffle:!1},c=document.querySelectorAll(".kt-typed-text"),d=window.matchMedia("(prefers-reduced-motion: reduce)").matches;c.forEach(function(c){if(d)return;let e,f=c.getAttribute("data-strings"),g=[];const h={...b};try{f&&(f=JSON.parse(f.replaceAll("&","&")),e=f.map(b=>a(b)))}catch(a){console.log("Could decode typed text strings")}g=e?[...e]:[],g.unshift(c.textContent.replaceAll("&","&")),h.strings=g,c.getAttribute("data-cursor-char")?h.cursorChar=a(c.getAttribute("data-cursor-char")):null,""===c.getAttribute("data-cursor-char")?h.showCursor=!1:null,c.getAttribute("data-start-delay")?h.startDelay=parseInt(c.getAttribute("data-start-delay")):null,c.getAttribute("data-back-delay")?h.backDelay=parseInt(c.getAttribute("data-back-delay")):null,c.getAttribute("data-loop")?h.loop="true"===c.getAttribute("data-loop"):null,c.getAttribute("data-loop-count")?h.loopCount=c.getAttribute("data-loop-count"):null,c.getAttribute("data-shuffle")?h.shuffle=!("true"!==c.getAttribute("data-shuffle")):null,c.getAttribute("data-type-speed")?h.typeSpeed=parseInt(c.getAttribute("data-type-speed")):null,c.getAttribute("data-back-speed")?h.backSpeed=parseInt(c.getAttribute("data-back-speed")):null,c.getAttribute("data-smart-backspace")?h.smartBackspace="true"===c.getAttribute("data-smart-backspace"):null;const i=document.createElement("span");i.className="kt-typed-text-sr-only",i.setAttribute("aria-live","polite"),i.setAttribute("aria-atomic","true"),i.style.cssText="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0;",c.parentNode.insertBefore(i,c.nextSibling);const j=h.cursorChar||"_";h.onStringTyped=function(a,b){const c=b.strings[a];if(c){const a=c.replace(j,"").trim();a&&(i.textContent="",i.textContent=a)}},c.innerHTML="",new Typed(c,h)})}},125);
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings