");return[n,t.join("")]},resurrectText=(e,t)=>{for(var n=0;n",t[n]);return e},getStc=o=>{var a=500;if(o.split("").length<=a)return[o];{console.log(encodePunc(o).puncArr);for(var[o,s]=encodePunc(o),c=s.split("<#*/>"),i=0;ia){let e=c[i].split(" "),t="",n=[];for(var m=0;m"),t=(e=(e=e.replaceAll(";<#*/>","<#*/>")).replaceAll("<#*/>;","<#*/>"),console.log(o),[]),n=0,l="",r=(e=(e=resurrectText(e,o)).replaceAll(" "," ")).split("");for(i=0;i{if(l.split("").length<=300)return[l];{let e=(l=l.replaceAll("...","etc")).split(".").filter(e=>""!==e.trim()),t=[],n="";for(var r=0;r""!==e.trim()),e=(0===r.length&&(r=[s]),document.getElementById("output").innerHTML="",13*Math.ceil(s.split("").length/500)),t=startTimer(e,null),n=(showPb(e),document.getElementById("choosen").textContent),l=!0;for(var c=0;ce.text()).then(e=>{let t=JSON.parse(e),n=t[0];n=(n=n.replace(/"+e:l[0][l[0].length-2]+l[0][l[0].length-1]==="\n\n"?document.getElementById("output").innerHTML+="
"+e:document.getElementById("output").textContent+=" "+e}).catch(e=>{console.log(e),alert("Unexpected error! Please retry the current operation by clicking again on the button."),l=!1,clearInterval(t)});hidePb(),clearInterval(t)}}}