<commit_before>window.HTMLElement=function(t){var e=function(){};return e.prototype=t.prototype,e.prototype.constructor=t,e}(HTMLElement),!window.customElements&&(window.customElements={}),new(function(){function t(t){void 0===t&&(t=customElements);var e=t.define;t.get,t.whenDefined;window.customElements.define=this._define(e).bind(this)}return t.prototype._define=function(t){var e=this;return void 0===t&&(t=function(t){}),this.running=void 0,function(t,n,o){console.warn("Definining",t,n,o),function(t){}.apply(window.customElements,e.register(t,n))}},t.prototype.register=function(t,e){return(this[t]=e).localName=t,"loading"===document.readyState&&document.addEventListener("DOMContentLoaded",(n=this).queue.apply(n,arguments)),arguments;var n},t.prototype.queue=function(t,e,n){var o=this;return function(n){var r=document.body.querySelectorAll(t);[].slice.call(r).map(o.upgrade(e))}},t.prototype.upgrade=function(t){return function(e){(e=Object.setPrototypeOf(e,t.prototype)).connectedCallback&&e.connectedCallback()}},t.swizzle=function(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];return definition},t}());var 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[].slice.call(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},null);i.nextNode(););return e},TokenList.prototype.bind=function(t){var e=this;Object.keys(this).map(function(t){return e[t].map(function(t){return t.textContent=t.text})&&[t,e[t]]}).map(function(e){var n=e[0];return e[1].map(function(e){return e.textContent=(o=e.textContent).replace.apply(o,["{"+n+"}",t[n]]);var o})})};var Template=HTMLTemplateElement=function(t){return t="string"==typeof t?document.querySelector("template[name="+t+"]"):t,t=this===HTMLTemplateElement?t.cloneNode(!0):t,t.name=t.getAttribute("name"),t.comment=document.createComment(t.name),t.parentNode.replaceChild(t.comment,t),Object.defineProperty(t,"bind",{value:function(t){var e=this,n="",o=this.innerHTML,r=(l=[]).concat.apply(l,[t]),i="object"==typeof r[0]?Object.keys(r[0]):[].concat(["#","self"]),c=i.map(function(t){return"{"+t+"}"}),p=document.createElement("template");(this.dependents||[]).map(function(t){return t.parentNode.removeChild(t)});for(var a=0;a<r.length;a++)n+=function(t,e){var n=o;(t="object"==typeof t?t:{self:t})["#"]=e;for(var r=0;r<c.length;r++)n=n.split(c[r]).join(t[i[r]]);return n}(r[a],a);p.innerHTML=n;var u=(p.content||p).childNodes;this.dependents=Array.apply(null,u),this.comment.after&&(s=this.comment).after.apply(s,this.dependents),!this.comment.after&&this.dependents.reverse().map(function(t){return e.comment.parentNode.insertBefore(t,e.comment.nextSibling)});var l,s},writable:!0,configurable:!0}),t},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=(r=[]).concat.apply(r,[t]);var o=e.reduce(function(e,n){return e+n+t.shift()},t.shift());return[].slice.call(this.querySelectorAll(o));var r},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){return this.templates=[].slice.call(this.selectAll("template[name]")).map(function(t){return new Template(t)}),this.tokens=new TokenList(this),t.prototype.onconnect&&t.prototype.onconnect.call(this),this},e.prototype.reflect=function(t){/^on/.test(t)&&t in HTMLElement.prototype&&this.on(t.substr(2),this[t])},e.prototype.register=function(t){var e=this;[].slice.call(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(){e.apply(this,arguments)}return e&&(n.__proto__=e),n.prototype=Object.create(e&&e.prototype),n.prototype.constructor=n,n.prototype.connectedCallback=function(){this.context={},e.prototype.initialize&&e.prototype.initialize.call(this),e.prototype.connectedCallback&&e.prototype.connectedCallback.call(this),Object.getOwnPropertyNames(t.prototype).map(this.reflect,this),this.onconnect().render()},n.prototype.render=function(){var t=this;this.tokens.bind(this),this.templates.map(function(e){return e.bind(t[e.name])}),(n=[this]).concat.apply(n,this.selectAll("*")).map(this.register,this),e.prototype.onidle&&e.prototype.onidle.call(this);var n},n}(EventTarget(ParentNode(GlobalEventHandlers(t))))},ElementPrototype=window.Element.prototype,Element=function(t){var e="string"==typeof t;return function(n){(o=window.customElements).define.apply(o,(r=[]).concat.apply(r,[t]).concat([Custom(n)],[{prototype:e}]));var o,r}};Element.prototype=ElementPrototype;<commit_msg>:muscle: bump MINIFIED distribution dist/snuggsi.min.js<commit_after>window.HTMLElement=function(t){var e=function(){};return e.prototype=t.prototype,e.prototype.constructor=t,e}(HTMLElement),!window.customElements&&(window.customElements={}),new(function(){function t(t){void 0===t&&(t=customElements);var e=t.define;t.get,t.whenDefined;window.customElements.define=this._define(e).bind(this)}return t.prototype._define=function(t){var e=this;return void 0===t&&(t=function(t){}),this.running=void 0,function(t,n,o){console.warn("Definining",t,n,o),function(t){}.apply(window.customElements,e.register(t,n))}},t.prototype.register=function(t,e){return(this[t]=e).localName=t,"loading"===document.readyState&&document.addEventListener("DOMContentLoaded",(n=this).queue.apply(n,arguments)),arguments;var n},t.prototype.queue=function(t,e,n){var o=this;return function(n){var r=document.body.querySelectorAll(t);[].slice.call(r).map(o.upgrade(e))}},t.prototype.upgrade=function(t){return function(e){(e=Object.setPrototypeOf(e,t.prototype)).connectedCallback&&e.connectedCallback()}},t.swizzle=function(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];return definition},t}());var 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[].slice.call(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},null);i.nextNode(););return e},TokenList.prototype.bind=function(t){var e=this;Object.keys(this).map(function(t){return e[t].map(function(t){return t.textContent=t.text})&&[t,e[t]]}).map(function(e){var n=e[0];return e[1].map(function(e){return e.textContent=(o=e.textContent).replace.apply(o,["{"+n+"}",t[n]]);var o})})};var Template=HTMLTemplateElement=function(t){return t="string"==typeof t?document.querySelector("template[name="+t+"]"):t,t=this===HTMLTemplateElement?t.cloneNode(!0):t,t.name=t.getAttribute("name"),t.comment=document.createComment(t.name),t.parentNode.replaceChild(t.comment,t),Object.defineProperty(t,"bind",{value:function(t){var e=this,n="",o=this.innerHTML,r=(l=[]).concat.apply(l,[t]),i="object"==typeof r[0]?Object.keys(r[0]):[].concat(["#","self"]),c=i.map(function(t){return"{"+t+"}"}),p=document.createElement("template");(this.dependents||[]).map(function(t){return t.parentNode.removeChild(t)});for(var a=0;a<r.length;a++)n+=function(t,e){var n=o;(t="object"==typeof t?t:{self:t})["#"]=e;for(var r=0;r<c.length;r++)n=n.split(c[r]).join(t[i[r]]);return n}(r[a],a);p.innerHTML=n;var u=(p.content||p).childNodes;this.dependents=Array.apply(null,u),this.comment.after&&(s=this.comment).after.apply(s,this.dependents),!this.comment.after&&this.dependents.reverse().map(function(t){return e.comment.parentNode.insertBefore(t,e.comment.nextSibling)});var l,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=(r=[]).concat.apply(r,[t]);var o=e.reduce(function(e,n){return e+n+t.shift()},t.shift());return[].slice.call(this.querySelectorAll(o));var r},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){return this.templates=[].slice.call(this.selectAll("template[name]")).map(function(t){return new Template(t)}),this.tokens=new TokenList(this),t.prototype.onconnect&&t.prototype.onconnect.call(this),this},e.prototype.reflect=function(t){/^on/.test(t)&&t in HTMLElement.prototype&&this.on(t.substr(2),this[t])},e.prototype.register=function(t){var e=this;[].slice.call(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(){e.apply(this,arguments)}return e&&(n.__proto__=e),n.prototype=Object.create(e&&e.prototype),n.prototype.constructor=n,n.prototype.connectedCallback=function(){this.context={},e.prototype.initialize&&e.prototype.initialize.call(this),e.prototype.connectedCallback&&e.prototype.connectedCallback.call(this),Object.getOwnPropertyNames(t.prototype).map(this.reflect,this),this.onconnect().render()},n.prototype.render=function(){var t=this;this.tokens.bind(this),this.templates.map(function(e){return e.bind(t[e.name])}),(n=[this]).concat.apply(n,this.selectAll("*")).map(this.register,this),e.prototype.onidle&&e.prototype.onidle.call(this);var n},n}(EventTarget(ParentNode(GlobalEventHandlers(t))))},ElementPrototype=window.Element.prototype,Element=function(t){var e="string"==typeof t;return function(n){(o=window.customElements).define.apply(o,(r=[]).concat.apply(r,[t]).concat([Custom(n)],[{prototype:e}]));var o,r}};Element.prototype=ElementPrototype;
{'fraction_non_alphanumeric': 0.2531793842034806, 'fraction_numerical': 0.004016064257028112, 'mean_word_length': 14.852785145888594, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '3698794', 'n_tokens_mistral': 4367, 'n_tokens_neox': 4373, 'n_words': 175}