<commit_before>const HTMLElement=(e=>{function t(){}return t.prototype=window.HTMLElement.prototype,t})();class DOMTokenList{constructor(e,t){const n=[],s=/{(\w+|#)}/,o=document.createNodeIterator(e,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,e=>e.localName?[].slice.call(e.attributes).map(e=>s.test(e.value)&&n.push(e)):s.test(e.textContent)&&n.push(e),null);for(;o.nextNode(););for(e of n)(e.text=e.textContent).match(/[^{]+(?=})/g).map(t=>(this[t]||(this[t]=[])).push(e))}bind(e){Object.keys(this).map(e=>this[e].map(e=>e.textContent=e.text)&&e).map(t=>this[t].map(n=>n.textContent=n.textContent.split("{"+t+"}").join(e[t])))}}(e=>{function t(e,t,n){for(n of this.querySelectorAll("[slot]"))(e.content||e).querySelector("slot[name="+n.getAttribute("slot")+"]").outerHTML=n.outerHTML;this.innerHTML=e.innerHTML}const n=new XMLHttpRequest;for(let s of document.querySelectorAll('link[id*="-"]'))n.open("GET",s.href),n.responseType="document",n.onload=function(){const e=this.response.querySelectorAll.bind(this.response),n=this.link,s=n.nextSibling;for(let o of document.querySelectorAll(n.id))t.call(o,e("template")[0].cloneNode(!0));for(let t of e("style,link,script")){let e=t.getAttribute("as"),o=document.createElement(t.localName);["src","href","textContent","rel"].map(((e,t)=>n=>t[n]&&(e[n]=t[n]))(o,t)),"style"==e&&(o.rel="stylesheet"),n.parentNode.insertBefore(o,s),"script"==e&&(n.parentNode.insertBefore(document.createElement("script"),s).src=t.href)}},n.link=s,n.send()})();const Template=e=>{e.length&&(e=document.querySelector("template[name="+e+"]"));let t=e.innerHTML,n=e.nextSibling;return e.innerHTML="",e.bind=function(e){const s=document.createElement("section");for(let t of this.dependents||[])t.parentNode.removeChild(t);s.innerHTML=[].concat(e).reduce((e,n,s)=>{let o=t;"object"!=typeof n&&(n={self:n}),n["#"]=s;for(let t in n)o=o.split("{"+t+"}").join(n[t]);return e+o},"");for(let t of this.dependents=[].slice.call(s.childNodes))this.parentNode.insertBefore(t,n)}.bind(e),e};!window.customElements&&(customElements={}),new class{constructor(){customElements.define=this.define.bind(this,e=>0)}define(e,t,n){e.apply(customElements,this.register(t,n))}register(){return"loading"==document.readyState?addEventListener("DOMContentLoaded",this.queue(...arguments)):this.queue(...arguments)(),arguments}queue(e,t){return n=>[].slice.call(document.getElementsByTagName(e)).map(this.upgrade,t.prototype)}upgrade(e){Object.setPrototypeOf(e,this).connectedCallback&&e.connectedCallback()}swizzle(e){return new Function("class extends HTMLElement {}")}},window.MutationObserver&&new MutationObserver(e=>{for(let t of e);}).observe(document.body,{childList:!0,subtree:!0});const ParentNode=e=>class extends e{select(){return this.selectAll(...arguments)[0]}selectAll(e,...t){return e=[].concat(e),[].slice.call(this.querySelectorAll(t.reduce((t,n)=>t+n+e.shift(),e.shift())))}},EventTarget=e=>class extends e{on(e,t){this.addEventListener(e,this.renderable(t))}renderable(e){return t=>!1!==e.call(this,t)&&t.defaultPrevented||this.render()}},GlobalEventHandlers=e=>class extends e{onconnect(){this.templates=this.selectAll("template[name]").map(Template),this.tokens=new DOMTokenList(this),super.onconnect&&super.onconnect()}reflect(e){/^on/.test(e)&&e in HTMLElement.prototype&&this.on(e.substr(2),this[e])}register(e,t,n){for(let s of[].slice.call(e.attributes))/^on/.test(n=s.name)&&(t=(/{\s*(\w+)/.exec(e[n])||[])[1])&&(e[n]=this.renderable(this[t]))}},Custom=e=>class extends(ParentNode(EventTarget(GlobalEventHandlers(e)))){connectedCallback(){this.context={},super.initialize&&super.initialize(),Object.getOwnPropertyNames(e.prototype).map(this.reflect,this),this.onconnect(),this.render()}render(e){for(e of this.templates)e.bind(this[e.getAttribute("name")]);this.tokens.bind(this),[this].concat(this.selectAll("*")).map(this.register,this),super.onidle&&super.onidle()}},Element=e=>t=>customElements.define(e+"",Custom(t));<commit_msg>:muscle: bump ??? distribution dist/snuggsi.min.es.js<commit_after>const HTMLElement=(e=>{function t(){}return t.prototype=window.HTMLElement.prototype,t})();class DOMTokenList{constructor(e,t){const n=[],s=/{(\w+|#)}/,o=document.createNodeIterator(e,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,e=>e.localName?[].slice.call(e.attributes).map(e=>s.test(e.value)&&n.push(e)):s.test(e.textContent)&&n.push(e),null);for(;o.nextNode(););for(e of n)(e.text=e.textContent).match(/[^{]+(?=})/g).map(t=>(this[t]||(this[t]=[])).push(e))}bind(e){Object.keys(this).map(e=>this[e].map(e=>e.textContent=e.text)&&e).map(t=>this[t].map(n=>n.textContent=n.textContent.split("{"+t+"}").join(e[t])))}}(e=>{function t(e,t,n){for(n of this.querySelectorAll("[slot]"))(e.content||e).querySelector("slot[name="+n.getAttribute("slot")+"]").outerHTML=n.outerHTML;this.innerHTML=e.innerHTML}const n=new XMLHttpRequest;for(let s of document.querySelectorAll('link[id*="-"]'))console.warn("fuck"),s.addEventListener("load",e=>console.log("AddEventListener",e)),s.onload=(e=>console.log("Whatever",e)),n.open("GET",s.href),n.responseType="document",n.onload=function(){const e=this.response.querySelectorAll.bind(this.response),n=this.link,s=n.nextSibling;for(let o of document.querySelectorAll(n.id))t.call(o,e("template")[0].cloneNode(!0));for(let t of e("style,link,script")){let e=t.getAttribute("as"),o=document.createElement(t.localName);["src","href","textContent","rel"].map(((e,t)=>n=>t[n]&&(e[n]=t[n]))(o,t)),"style"==e&&(o.rel="stylesheet"),n.parentNode.insertBefore(o,s),"script"==e&&(n.parentNode.insertBefore(document.createElement("script"),s).src=t.href)}},n.link=s,n.send()})();const Template=e=>{e.length&&(e=document.querySelector("template[name="+e+"]"));let t=e.innerHTML,n=e.nextSibling;return e.innerHTML="",e.bind=function(e){const s=document.createElement("section");for(let t of this.dependents||[])t.parentNode.removeChild(t);s.innerHTML=[].concat(e).reduce((e,n,s)=>{let o=t;"object"!=typeof n&&(n={self:n}),n["#"]=s;for(let t in n)o=o.split("{"+t+"}").join(n[t]);return e+o},"");for(let t of this.dependents=[].slice.call(s.childNodes))this.parentNode.insertBefore(t,n)}.bind(e),e};!window.customElements&&(customElements={}),new class{constructor(){customElements.define=this.define.bind(this,e=>0)}define(e,t,n){e.apply(customElements,this.register(t,n))}register(){return"loading"==document.readyState?addEventListener("DOMContentLoaded",this.queue(...arguments)):this.queue(...arguments)(),arguments}queue(e,t){return n=>[].slice.call(document.getElementsByTagName(e)).map(this.upgrade,t.prototype)}upgrade(e){Object.setPrototypeOf(e,this).connectedCallback&&e.connectedCallback()}swizzle(e){return new Function("class extends HTMLElement {}")}};const ParentNode=e=>class extends e{select(){return this.selectAll(...arguments)[0]}selectAll(e,...t){return e=[].concat(e),[].slice.call(this.querySelectorAll(t.reduce((t,n)=>t+n+e.shift(),e.shift())))}},EventTarget=e=>class extends e{on(e,t){this.addEventListener(e,this.renderable(t))}renderable(e){return t=>!1!==e.call(this,t)&&t.defaultPrevented||this.render()}},GlobalEventHandlers=e=>class extends e{onconnect(){this.templates=this.selectAll("template[name]").map(Template),this.tokens=new DOMTokenList(this),super.onconnect&&super.onconnect()}reflect(e){/^on/.test(e)&&e in HTMLElement.prototype&&this.on(e.substr(2),this[e])}register(e,t,n){for(let s of[].slice.call(e.attributes))/^on/.test(n=s.name)&&(t=(/{\s*(\w+)/.exec(e[n])||[])[1])&&(e[n]=this.renderable(this[t]))}},Custom=e=>class extends(ParentNode(EventTarget(GlobalEventHandlers(e)))){connectedCallback(){this.context={},super.initialize&&super.initialize(),Object.getOwnPropertyNames(e.prototype).map(this.reflect,this),this.onconnect(),this.render()}render(e){for(e of this.templates)e.bind(this[e.getAttribute("name")]);this.tokens.bind(this),[this].concat(this.selectAll("*")).map(this.register,this),super.onidle&&super.onidle()}},Element=e=>t=>customElements.define(e+"",Custom(t));
{'fraction_non_alphanumeric': 0.26432601880877743, 'fraction_numerical': 0.002006269592476489, 'mean_word_length': 14.192380952380953, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 52, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5793911', 'n_tokens_mistral': 2890, 'n_tokens_neox': 2931, 'n_words': 136}