<commit_before>window.customElements=function(){function t(){}var e={registrants:{}};return t.define=function(t,e){console.log("Snuggsi definition")("loading"===document.readyState)&&document.addEventListener("DOMContentLoaded",this.register(t,e))},e.registrants.get=function(){return registrants},t.register=function(t,e){var n=this;return this.registrants[t]=e,function(e){var o=document.body.querySelectorAll(t);[].slice.call(o).map(n.upgrade)}},t.upgrade=function(t){console.log("ugrading element",t.localName)},Object.defineProperties(t,e),t}()&&null;var HTMLCustomElement=function(){return new String("snuggsi HTMLCustomElement")},Foo=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(HTMLElement),HTMLLinkElement=function(t){var e=new Event("load"),n=document.querySelector("link[href*="+t+"][rel=import]");return(e.target=n)&&window.HTMLImports&&!window.HTMLImports.useNative&&HTMLImports.whenReady(function(t){return n.dispatchEvent(e)}),n},TokenList=function(t){this.sift(t).map(this.tokenize,this)};TokenList.prototype.tokenize=function(t){var e=this;(t.text=t.textContent).match(/([^{]*?)(\w|#)(?=\})/g).map(function(t){return function(n){return(e[n]=e[n]||[]).push(t)}}(t))},TokenList.prototype.sift=function(t){for(var e=[],n=/{(\w+|#)}/,o=function(t){return n.test(t.textContent)&&e.push(t)},r=function(t){return Array.from(t).map(function(t){return n.test(t.value)&&e.push(t)})},i=document.createNodeIterator(t,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,function(t){return t.nodeType===Node.TEXT_NODE?o(t):r(t.attributes)&&NodeFilter.FILTER_REJECT});i.nextNode(););return e},TokenList.prototype.bind=function(t){var e=this;Object.keys(this).map(function(t){return e[t].map(function(e){return(e.textContent=e.text)&&t})});for(var n in e)e[n].map(function(e,n){return void 0===n&&(n="{"+e+"}"),function(o){return o.textContent=o.textContent.replace(n,t[e])}}(n))};var Template=HTMLTemplateElement=function(t){return t="string"==typeof t?document.querySelector("template[name="+t+"]"):t,Object.assign(t,{bind:function(t){var e="",n=this.innerHTML,o=(u=[]).concat.apply(u,[t]),r=Object.keys(o[0]||[]).concat(["#","self"]),i=r.map(function(t){return"{"+t+"}"}),c=document.createElement("template");(this.dependents||[]).map(function(t){return t.remove()});for(var p=0;p<o.length;p++)e+=function(t,e){var o=n;(t="object"==typeof t?t:{self:t})["#"]=e;for(var c=0;c<i.length;c++)o=o.split(i[c]).join(t[r[c]]);return o}(o[p],p);c.innerHTML=e,this.dependents=Array.from(c.content.childNodes)(s=this).after.apply(s,this.dependents);var u,s}})},EventTarget=function(t){return function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.on=function(t,e){this.addEventListener(t,this.renderable(e))},e.prototype.renderable=function(t){var e=this;return function(n,o){return void 0===o&&(o=!0),(n.prevent=function(t){return(o=!1)&&n.preventDefault()})&&!1!==t.call(e,n)&&o&&e.render()}},e}(t)},ParentNode=function(t){return function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.selectAll=function(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];t=(o=[]).concat.apply(o,[t]);return Array.from(this.querySelectorAll(e.reduce(function(e,n){return e+n+t.shift()},t.shift())));var o},e.prototype.select=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return(n=this).selectAll.apply(n,t)[0];var n},e}(t)},GlobalEventHandlers=function(t){return function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.onconnect=function(e,n){(n=e.target)&&this.mirror(n.import.querySelector("template")),t.prototype.onconnect&&t.prototype.onconnect.call(this),this.tokens=new TokenList(this),this.render()},e.prototype.reflect=function(t,e){(e=(t.match(/^on(.+)$/)||[])[1])&&Object.keys(HTMLElement.prototype).includes(t)&&this.on(e,this[t])},e.prototype.register=function(t){var e=this;Array.from(t.attributes).map(function(t){return t.name}).filter(function(t){return/^on/.test(t)}).map(function(n,o){return(o=/{\s*(\w+)\s*}/.exec(t[n]))&&(o=e[(o||[])[1]])&&(t[n]=e.renderable(o))})},e}(t)},Custom=function(t){return function(e){function n(){var n=this;e.call(this);var o=Object.getOwnPropertyDescriptors(t.prototype);Object.keys(o).map(function(t){return"function"==typeof o[t].value&&(n[t]=n[t].bind(n))}),Object.getOwnPropertyNames(t.prototype).map(this.reflect,this),this.context={},this.initialize&&this.initialize()}return e&&(n.__proto__=e),n.prototype=Object.create(e&&e.prototype),n.prototype.constructor=n,n.prototype.connectedCallback=function(t){(t=HTMLLinkElement(this.tagName.toLowerCase()))?t.addEventListener("load",this.onconnect.bind(this)):this.onconnect(new Event("load"))},n.prototype.render=function(){var t=this;this.tokens.bind(this),Array.from(this.selectAll("template[name]")).map(function(t){return t.getAttribute("name")}).map(function(e){return new Template(e).bind(t[e])}),Array.from(this.selectAll("*")).concat([this]).map(this.register,this),e.prototype.onidle&&e.prototype.onidle.call(this)},n.prototype.mirror=function(t,e){var n=this;t=t.cloneNode(!0),e=function(e,n,o){return(n=e.getAttribute("slot"))&&(o=t.content.querySelector("slot[name="+n+"]")).parentNode.replaceChild(e,o)};for(var o=0,r=n.selectAll("[slot]");o<r.length;o+=1)e(r[o]);Array.from(t.attributes).filter(function(t){return!n.attributes[t.name]}).map(function(t){return n.setAttribute(t.name,t.value)}),this.innerHTML=t.innerHTML},n}(EventTarget(ParentNode(GlobalEventHandlers(t))))},ElementPrototype=window.Element.prototype,Element=function(t){var e="string"==typeof t?HTMLCustomElement:HTMLElement;return function(n){console.warn("tag",t),console.warn("Element",n),console.warn("Element.prototype",n.prototype),console.warn("Element.prototype.constructor",n.prototype.constructor),n.prototype.constructor=e,console.warn("Element.prototype.constructor",n.prototype.constructor),console.warn("Element.constructor",n.constructor),console.warn("constructor",e),console.warn("constructor.prototype",e.prototype)(o=window.customElements).define.apply(o,(r=[]).concat.apply(r,[t]).concat([Custom(n)]));var o,r}};Element.prototype=ElementPrototype;<commit_msg>:muscle: bump MINIFIED distribution dist/snuggsi.min.js<commit_after>!function(t,e){void 0===e&&(e=t.define.bind(t));var n=function(){};n.define=function(t,e,n){console.warn("Snuggsi",t,n,e),"loading"===document.readyState&&document.addEventListener("DOMContentLoaded",this.register(t,e))},n.register=function(t,n){var o=this;return this[t]=n,e&&e(t,this[t]),function(e){var n=document.body.querySelectorAll(t);[].slice.call(n).map(o.upgrade)}},n.upgrade=function(t){console.log("ugrading element",t.localName)},t.define=n.define.bind(n)}(window.customElements=window.customElements||{});var HTMLCustomElement=function(){return new String("snuggsi HTMLCustomElement")},HTMLLinkElement=function(t){var e=new Event("load"),n=document.querySelector("link[href*="+t+"][rel=import]");return(e.target=n)&&window.HTMLImports&&!window.HTMLImports.useNative&&HTMLImports.whenReady(function(t){return n.dispatchEvent(e)}),n},TokenList=function(t){this.sift(t).map(this.tokenize,this)};TokenList.prototype.tokenize=function(t){var e=this;(t.text=t.textContent).match(/([^{]*?)(\w|#)(?=\})/g).map(function(t){return function(n){return(e[n]=e[n]||[]).push(t)}}(t))},TokenList.prototype.sift=function(t){for(var e=[],n=/{(\w+|#)}/,o=function(t){return n.test(t.textContent)&&e.push(t)},r=function(t){return Array.from(t).map(function(t){return n.test(t.value)&&e.push(t)})},i=document.createNodeIterator(t,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,function(t){return t.nodeType===Node.TEXT_NODE?o(t):r(t.attributes)&&NodeFilter.FILTER_REJECT});i.nextNode(););return e},TokenList.prototype.bind=function(t){var e=this;Object.keys(this).map(function(t){return e[t].map(function(e){return(e.textContent=e.text)&&t})});for(var n in e)e[n].map(function(e,n){return void 0===n&&(n="{"+e+"}"),function(o){return o.textContent=o.textContent.replace(n,t[e])}}(n))};var Template=HTMLTemplateElement=function(t){return t="string"==typeof t?document.querySelector("template[name="+t+"]"):t,Object.assign(t,{bind:function(t){var e="",n=this.innerHTML,o=(a=[]).concat.apply(a,[t]),r=Object.keys(o[0]||[]).concat(["#","self"]),i=r.map(function(t){return"{"+t+"}"}),c=document.createElement("template");(this.dependents||[]).map(function(t){return t.remove()});for(var u=0;u<o.length;u++)e+=function(t,e){var o=n;(t="object"==typeof t?t:{self:t})["#"]=e;for(var c=0;c<i.length;c++)o=o.split(i[c]).join(t[r[c]]);return o}(o[u],u);c.innerHTML=e,this.dependents=Array.from(c.content.childNodes)(p=this).after.apply(p,this.dependents);var a,p}})},EventTarget=function(t){return function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.on=function(t,e){this.addEventListener(t,this.renderable(e))},e.prototype.renderable=function(t){var e=this;return function(n,o){return void 0===o&&(o=!0),(n.prevent=function(t){return(o=!1)&&n.preventDefault()})&&!1!==t.call(e,n)&&o&&e.render()}},e}(t)},ParentNode=function(t){return function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.selectAll=function(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];t=(o=[]).concat.apply(o,[t]);return Array.from(this.querySelectorAll(e.reduce(function(e,n){return e+n+t.shift()},t.shift())));var o},e.prototype.select=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return(n=this).selectAll.apply(n,t)[0];var n},e}(t)},GlobalEventHandlers=function(t){return function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.onconnect=function(e,n){(n=e.target)&&this.mirror(n.import.querySelector("template")),t.prototype.onconnect&&t.prototype.onconnect.call(this),this.tokens=new TokenList(this),this.render()},e.prototype.reflect=function(t,e){(e=(t.match(/^on(.+)$/)||[])[1])&&Object.keys(HTMLElement.prototype).includes(t)&&this.on(e,this[t])},e.prototype.register=function(t){var e=this;Array.from(t.attributes).map(function(t){return t.name}).filter(function(t){return/^on/.test(t)}).map(function(n,o){return(o=/{\s*(\w+)\s*}/.exec(t[n]))&&(o=e[(o||[])[1]])&&(t[n]=e.renderable(o))})},e}(t)},Custom=function(t){return function(e){function n(){var n=this;e.call(this);var o=Object.getOwnPropertyDescriptors(t.prototype);Object.keys(o).map(function(t){return"function"==typeof o[t].value&&(n[t]=n[t].bind(n))}),Object.getOwnPropertyNames(t.prototype).map(this.reflect,this),this.context={},this.initialize&&this.initialize()}return e&&(n.__proto__=e),n.prototype=Object.create(e&&e.prototype),n.prototype.constructor=n,n.prototype.connectedCallback=function(t){(t=HTMLLinkElement(this.tagName.toLowerCase()))?t.addEventListener("load",this.onconnect.bind(this)):this.onconnect(new Event("load"))},n.prototype.render=function(){var t=this;this.tokens.bind(this),Array.from(this.selectAll("template[name]")).map(function(t){return t.getAttribute("name")}).map(function(e){return new Template(e).bind(t[e])}),Array.from(this.selectAll("*")).concat([this]).map(this.register,this),e.prototype.onidle&&e.prototype.onidle.call(this)},n.prototype.mirror=function(t,e){var n=this;t=t.cloneNode(!0),e=function(e,n,o){return(n=e.getAttribute("slot"))&&(o=t.content.querySelector("slot[name="+n+"]")).parentNode.replaceChild(e,o)};for(var o=0,r=n.selectAll("[slot]");o<r.length;o+=1)e(r[o]);Array.from(t.attributes).filter(function(t){return!n.attributes[t.name]}).map(function(t){return n.setAttribute(t.name,t.value)}),this.innerHTML=t.innerHTML},n}(EventTarget(ParentNode(GlobalEventHandlers(t))))},ElementPrototype=window.Element.prototype,Element=function(t){var e="string"==typeof t?HTMLCustomElement:HTMLElement;return function(n){console.warn("tag",t),console.warn("Element",n),console.warn("Element.prototype",n.prototype),console.warn("Element.prototype.constructor",n.prototype.constructor),console.warn("Element.constructor",n.constructor),console.warn("constructor",e),console.warn("constructor.prototype",e.prototype),(o=window.customElements).define.apply(o,(r=[]).concat.apply(r,[t]).concat([Custom(n)],[e]));var o,r}};Element.prototype=ElementPrototype;
{'fraction_non_alphanumeric': 0.2550007875255946, 'fraction_numerical': 0.0027563395810363835, 'mean_word_length': 15.731225296442688, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 5, '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': '2838130', 'n_tokens_mistral': 4605, 'n_tokens_neox': 4636, 'n_words': 172}