PageSourceSearch

https://desangosse.com.br/site/views/_assets/js/core/functions.min.js

js desangosse.com.br collected 2026-10-04 16:07:52 UTC 3,005 bytes, 1 lines download raw bytes

1function isJson(e){try{JSON.parse(e)}catch(e){return!1}return!0}function createErrorText(e,t){var n=document.createElement("div");n.className="invalid-feedback",n.appendChild(document.createTextNode(t)),e.parentNode.appendChild(n)}function serialize(e){if(e&&"FORM"===e.nodeName){var t,n,o=[];for(t=e.elements.length-1;t>=0;t-=1)if(""!==e.elements[t].name)switch(e.elements[t].nodeName){case"INPUT":["text","tel","email","hidden","password","button","reset","submit"].includes(e.elements[t].type)?o.push(e.elements[t].name+"="+encodeURIComponent(e.elements[t].value)):["checkbox","radio"].includes(e.elements[t].type)&&e.elements[t].checked&&o.push(e.elements[t].name+"="+encodeURIComponent(e.elements[t].value));break;case"TEXTAREA":o.push(e.elements[t].name+"="+encodeURIComponent(e.elements[t].value));break;case"SELECT":if("select-one"==e.elements[t].type)o.push(e.elements[t].name+"="+encodeURIComponent(e.elements[t].value));else if("select-multiple"==e.elements[t].type)for(n=e.elements[t].options.length-1;n>=0;n-=1)e.elements[t].options[n].selected&&o.push(e.elements[t].name+"="+encodeURIComponent(e.elements[t].options[n].value));break;case"BUTTON":["reset","submit","button","hidden","password","button","reset","submit"].includes(e.elements[t].type)&&o.push(e.elements[t].name+"="+encodeURIComponent(e.elements[t].value))}return o.join("&")}}function onlynumbers(e){string=e.value;var t=string.replace(/[^0-9]/g,"");e.value=t}function closest(e,t){var n,o,s=["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"];for(s.some(function(e){return"function"==typeof document.body[e]&&(n=e,!0)});e;){if(o=e.parentElement,o&&o[n](t))return o;e=o}return null}function strip_tags(e,t){t=(((t||"")+"").toLowerCase().match(/<[a-z][a-z0-9]*>/g)||[]).join("");var n=/<\/?([a-z][a-z0-9]*)\b[^>]*>/gi,o=/<!--[\s\S]*?-->|<\?(?:php)?[\s\S]*?\?>/gi;return e.replace(o,"").replace(n,function(e,n){return t.indexOf("<"+n.toLowerCase()+">")>-1?e:""})}function ScrollTo(e){let t=document.getElementById(e);t&&(ScrollToResolver(t),mobile&&slideout.toggle())}function ScrollToResolver(e){var t=parseInt(.3*e.getBoundingClientRect().top)-15;document.body.scrollTop+=t,document.documentElement.scrollTop+=t,!e.lastjump||e.lastjump>Math.abs(t)?(e.lastjump=Math.abs(t),setTimeout(function(){ScrollToResolver(e)},"30")):e.lastjump=null}function showToast(e,t,n=3e3){if(!e)return;var o=document.createElement("div");o.id="toast",o.classList.add("toast","show-bottom","bg-transparent","end-0","position-absolute","m-4","rounded-3","fadeIn","z-3","show","px-0","position-fixed"),o.style.top="100px";let s=document.createElement("div");s.classList.add("toast-content"),s.classList.add(t+"-toast"),s.innerHTML=e,o.appendChild(s),document.body.appendChild(o),setTimeout(function(){o&&(o.classList.remove("fadeIn"),o.classList.add("hide","fadeOut"),setTimeout(()=>o.remove(),1e3))},n)}var mobile=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.